',
+''))
+,p_report_placeholder_count=>3
+,p_standard_attributes=>'ROW_SELECTION:REGION_TEMPLATE'
+,p_substitute_attributes=>true
+,p_reference_id=>1564386865908414285
+,p_version_scn=>75159091
+,p_subscribe_plugin_settings=>true
+,p_is_quick_pick=>true
+,p_help_text=>'Display user comments and status updates. Supports avatars. Available for a single row or as a report with multiple rows.'
+);
+wwv_flow_imp_shared.create_plugin_attr_group(
+ p_id=>wwv_flow_imp.id(1823360420505586469)
+,p_plugin_id=>wwv_flow_imp.id(23475010831554750)
+,p_title=>'Avatar'
+,p_display_sequence=>20
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23475459392554757)
+,p_plugin_id=>wwv_flow_imp.id(23475010831554750)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>1
+,p_display_sequence=>10
+,p_static_id=>'COMMENT_TEXT'
+,p_prompt=>'Comment Text'
+,p_attribute_type=>'SESSION STATE VALUE'
+,p_is_required=>true
+,p_demo_value=>'Praesent vel felis rutrum erat elementum viverra sit amet non odio. Cras vel auctor eros, in malesuada dolor. Nulla tellus magna, ornare consectetur purus id, volutpat egestas felis. Proin lobortis risus massa, nec faucibus arcu malesuada a. Nunc sed'
+||' gravida urna. Fusce at ligula sed erat consequat pharetra.'
+,p_escape_mode=>'HTML'
+,p_column_data_types=>'VARCHAR2'
+,p_is_translatable=>false
+,p_help_text=>'Select a source column containing text for user comments.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23475755439554758)
+,p_plugin_id=>wwv_flow_imp.id(23475010831554750)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>2
+,p_display_sequence=>20
+,p_static_id=>'USER_NAME'
+,p_prompt=>'User Name'
+,p_attribute_type=>'SESSION STATE VALUE'
+,p_is_required=>true
+,p_demo_value=>'Joel'
+,p_escape_mode=>'HTML'
+,p_column_data_types=>'VARCHAR2'
+,p_is_translatable=>false
+,p_help_text=>'Select a source column to be displayed as the user name associated with a comment.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23476091011554759)
+,p_plugin_id=>wwv_flow_imp.id(23475010831554750)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>3
+,p_display_sequence=>30
+,p_static_id=>'COMMENT_DATE'
+,p_prompt=>'Date'
+,p_attribute_type=>'SESSION STATE VALUE'
+,p_is_required=>false
+,p_demo_value=>'5 minutes ago'
+,p_escape_mode=>'HTML'
+,p_column_data_types=>'VARCHAR2:DATE'
+,p_is_translatable=>false
+,p_help_text=>'Select a source column containing a date, date range, or time.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23476397241554761)
+,p_plugin_id=>wwv_flow_imp.id(23475010831554750)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>4
+,p_display_sequence=>40
+,p_static_id=>'ATTRIBUTES'
+,p_prompt=>'Attributes'
+,p_attribute_type=>'HTML'
+,p_is_required=>false
+,p_escape_mode=>'RAW'
+,p_is_translatable=>true
+,p_help_text=>'Enter some text and/or column substitution strings to be used as the comment attributes.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23476638094554762)
+,p_plugin_id=>wwv_flow_imp.id(23475010831554750)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>5
+,p_display_sequence=>50
+,p_static_id=>'AVATAR_TYPE'
+,p_prompt=>'Type'
+,p_attribute_type=>'SELECT LIST'
+,p_is_required=>true
+,p_default_value=>'icon'
+,p_demo_value=>'initials'
+,p_escape_mode=>'HTML'
+,p_is_translatable=>false
+,p_depending_on_attribute_id=>wwv_flow_imp.id(23481247985554786)
+,p_depending_on_has_to_exist=>true
+,p_depending_on_condition_type=>'EQUALS'
+,p_depending_on_expression=>'Y'
+,p_lov_type=>'STATIC'
+,p_attribute_group_id=>wwv_flow_imp.id(1823360420505586469)
+,p_help_text=>'Select the type of content that will be displayed in the avatar.'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23476989616554764)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23476638094554762)
+,p_display_sequence=>10
+,p_display_value=>'Image'
+,p_return_value=>'image'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23477429853554765)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23476638094554762)
+,p_display_sequence=>20
+,p_display_value=>'Initials'
+,p_return_value=>'initials'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23477750126554767)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23476638094554762)
+,p_display_sequence=>30
+,p_display_value=>'Icon'
+,p_return_value=>'icon'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23478145327554768)
+,p_plugin_id=>wwv_flow_imp.id(23475010831554750)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>6
+,p_display_sequence=>60
+,p_static_id=>'AVATAR_IMAGE'
+,p_prompt=>'Image'
+,p_attribute_type=>'MEDIA'
+,p_is_required=>true
+,p_escape_mode=>'ATTR'
+,p_is_translatable=>false
+,p_depending_on_attribute_id=>wwv_flow_imp.id(23476638094554762)
+,p_depending_on_has_to_exist=>true
+,p_depending_on_condition_type=>'EQUALS'
+,p_depending_on_expression=>'image'
+,p_attribute_group_id=>wwv_flow_imp.id(1823360420505586469)
+,p_help_text=>wwv_flow_string.join(wwv_flow_t_varchar2(
+'
Use the Media popup dialog to select a source for the avatar image.
',
+'',
+'
Available options include:',
+'
',
+'
URL
',
+'
BLOB Column
',
+'
URL Column
',
+'
',
+''))
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23478444267554769)
+,p_plugin_id=>wwv_flow_imp.id(23475010831554750)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>7
+,p_display_sequence=>95
+,p_static_id=>'AVATAR_DESCRIPTION'
+,p_prompt=>'Description'
+,p_attribute_type=>'TEXT'
+,p_is_required=>false
+,p_escape_mode=>'ATTR'
+,p_is_translatable=>true
+,p_attribute_group_id=>wwv_flow_imp.id(1823360420505586469)
+,p_help_text=>'Enter a short description of the image/icon or select a source column from the quick pick options. This will be used as title & alt text for the avatar image/icon.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23478752703554771)
+,p_plugin_id=>wwv_flow_imp.id(23475010831554750)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>8
+,p_display_sequence=>80
+,p_static_id=>'AVATAR_INITIALS'
+,p_prompt=>'Initials'
+,p_attribute_type=>'SESSION STATE VALUE'
+,p_is_required=>true
+,p_demo_value=>'JK'
+,p_escape_mode=>'STRIPHTML'
+,p_column_data_types=>'VARCHAR2'
+,p_is_translatable=>false
+,p_depending_on_attribute_id=>wwv_flow_imp.id(23476638094554762)
+,p_depending_on_has_to_exist=>true
+,p_depending_on_condition_type=>'EQUALS'
+,p_depending_on_expression=>'initials'
+,p_attribute_group_id=>wwv_flow_imp.id(1823360420505586469)
+,p_help_text=>'Select the source column to be displayed within each avatar. Only varchar2 data types are supported.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23479135258554772)
+,p_plugin_id=>wwv_flow_imp.id(23475010831554750)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>9
+,p_display_sequence=>90
+,p_static_id=>'AVATAR_ICON'
+,p_prompt=>'Icon'
+,p_attribute_type=>'ICON'
+,p_is_required=>true
+,p_default_value=>'fa-user'
+,p_escape_mode=>'ATTR'
+,p_is_translatable=>false
+,p_depending_on_attribute_id=>wwv_flow_imp.id(23476638094554762)
+,p_depending_on_has_to_exist=>true
+,p_depending_on_condition_type=>'EQUALS'
+,p_depending_on_expression=>'icon'
+,p_attribute_group_id=>wwv_flow_imp.id(1823360420505586469)
+,p_help_text=>'Enter an icon class or use the Pick Icon dialog to select the icon you want to add to display in the avatar.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23479402731554773)
+,p_plugin_id=>wwv_flow_imp.id(23475010831554750)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>10
+,p_display_sequence=>100
+,p_static_id=>'AVATAR_SHAPE'
+,p_prompt=>'Shape'
+,p_attribute_type=>'SELECT LIST'
+,p_is_required=>true
+,p_default_value=>'t-Avatar--rounded'
+,p_escape_mode=>'ATTR'
+,p_is_translatable=>false
+,p_depending_on_attribute_id=>wwv_flow_imp.id(23481247985554786)
+,p_depending_on_has_to_exist=>true
+,p_depending_on_condition_type=>'EQUALS'
+,p_depending_on_expression=>'Y'
+,p_lov_type=>'STATIC'
+,p_attribute_group_id=>wwv_flow_imp.id(1823360420505586469)
+,p_help_text=>'Select the shape of the avatar. Default inherits the shape set by the containing template.'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23480894134554785)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23479402731554773)
+,p_display_sequence=>10
+,p_display_value=>'Rounded'
+,p_return_value=>'t-Avatar--rounded'
+,p_help_text=>'Displayed within a square with rounded corners.'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23479697434554781)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23479402731554773)
+,p_display_sequence=>20
+,p_display_value=>'Circular'
+,p_return_value=>'t-Avatar--circle'
+,p_help_text=>'Displayed within a circular shape.'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23480112343554782)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23479402731554773)
+,p_display_sequence=>30
+,p_display_value=>'Square'
+,p_return_value=>'t-Avatar--square'
+,p_help_text=>'Displayed within a square shape.'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23480521743554783)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23479402731554773)
+,p_display_sequence=>40
+,p_display_value=>'No Shape'
+,p_return_value=>'t-Avatar--noShape'
+,p_help_text=>'Displayed inline without a containing shape.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23481247985554786)
+,p_plugin_id=>wwv_flow_imp.id(23475010831554750)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>11
+,p_display_sequence=>110
+,p_static_id=>'DISPLAY_AVATAR'
+,p_prompt=>'Display Avatar'
+,p_attribute_type=>'CHECKBOX'
+,p_is_required=>false
+,p_default_value=>'Y'
+,p_demo_value=>'Y'
+,p_escape_mode=>'ATTR'
+,p_is_translatable=>false
+,p_help_text=>'Specify whether to display or hide the avatar for each row. When set to Yes, an avatar will be displayed with the assigned image, icon, or initials. When set to No, no avatar will be displayed.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23481581470554788)
+,p_plugin_id=>wwv_flow_imp.id(23475010831554750)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>14
+,p_display_sequence=>45
+,p_static_id=>'COMMENT_CLASS'
+,p_prompt=>'Comment Class'
+,p_attribute_type=>'TEXT'
+,p_is_required=>false
+,p_escape_mode=>'ATTR'
+,p_is_translatable=>false
+,p_help_text=>'Allows you to pass a class onto individual comments. Example using is-active will highlight the specific comment with a different shade.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23481922727554789)
+,p_plugin_id=>wwv_flow_imp.id(23475010831554750)
+,p_attribute_scope=>'REPORT'
+,p_attribute_sequence=>12
+,p_display_sequence=>120
+,p_static_id=>'STYLE'
+,p_prompt=>'Style'
+,p_attribute_type=>'SELECT LIST'
+,p_is_required=>true
+,p_default_value=>'t-Comments--basic'
+,p_demo_value=>'t-Comments--chat'
+,p_escape_mode=>'ATTR'
+,p_is_translatable=>false
+,p_lov_type=>'STATIC'
+,p_help_text=>'Set the style of the comments.'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23482139027554790)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23481922727554789)
+,p_display_sequence=>10
+,p_display_value=>'Basic'
+,p_return_value=>'t-Comments--basic'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23482587443554792)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23481922727554789)
+,p_display_sequence=>20
+,p_display_value=>'Chat (Speech Bubbles)'
+,p_return_value=>'t-Comments--chat'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23482960433554793)
+,p_plugin_id=>wwv_flow_imp.id(23475010831554750)
+,p_attribute_scope=>'REPORT'
+,p_attribute_sequence=>13
+,p_display_sequence=>130
+,p_static_id=>'APPLY_THEME_COLORS'
+,p_prompt=>'Apply Theme Colors'
+,p_attribute_type=>'CHECKBOX'
+,p_is_required=>false
+,p_default_value=>'Y'
+,p_escape_mode=>'ATTR'
+,p_is_translatable=>false
+,p_help_text=>'Specify whether to use the Universal Theme colors for avatar and badge row items. When set to Yes, the u-colors class will be applied to each row. When set to No, a default color will be used instead.'
+);
+wwv_flow_imp_shared.create_plugin_act_template(
+ p_id=>wwv_flow_imp.id(1823493087938687972)
+,p_plugin_id=>wwv_flow_imp.id(23475010831554750)
+,p_name=>'Link'
+,p_type=>'BUTTON'
+,p_template=>'{if !IS_DISABLED/}#LABEL#{endif/}'
+);
+wwv_flow_imp_shared.create_plugin_act_position(
+ p_id=>wwv_flow_imp.id(1823492496433680515)
+,p_plugin_id=>wwv_flow_imp.id(23475010831554750)
+,p_name=>'Actions'
+,p_static_id=>'ACTIONS'
+,p_display_sequence=>10
+,p_type=>'TEMPLATE'
+);
+wwv_flow_imp_shared.create_plugin_act_position(
+ p_id=>wwv_flow_imp.id(1823548120103662394)
+,p_plugin_id=>wwv_flow_imp.id(23475010831554750)
+,p_name=>'Avatar Link'
+,p_static_id=>'AVATAR_LINK'
+,p_display_sequence=>20
+,p_type=>'LINK'
+);
+wwv_flow_imp_shared.create_plugin_act_position(
+ p_id=>wwv_flow_imp.id(1823700337816533165)
+,p_plugin_id=>wwv_flow_imp.id(23475010831554750)
+,p_name=>'User Name Link'
+,p_static_id=>'USER_NAME_LINK'
+,p_display_sequence=>30
+,p_type=>'LINK'
+);
+end;
+/
+prompt --application/shared_components/plugins/template_component/theme_42_content_row
+begin
+wwv_flow_imp_shared.create_plugin(
+ p_id=>wwv_flow_imp.id(23485097929554812)
+,p_plugin_type=>'TEMPLATE COMPONENT'
+,p_theme_id=>nvl(wwv_flow_application_install.get_theme_id, '42')
+,p_name=>'THEME_42$CONTENT_ROW'
+,p_display_name=>'Content Row'
+,p_supported_component_types=>'PARTIAL:REPORT'
+,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('TEMPLATE COMPONENT','THEME_42$CONTENT_ROW'),'')
+,p_partial_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
+'{if APEX$IS_LAZY_LOADING/}',
+'
'
+,p_report_placeholder_count=>3
+,p_standard_attributes=>'ROW_SELECTION:REGION_TEMPLATE'
+,p_substitute_attributes=>true
+,p_reference_id=>1568468153344837456
+,p_version_scn=>76107179
+,p_subscribe_plugin_settings=>true
+,p_is_quick_pick=>true
+,p_help_text=>'Display content in a formatted row with a title, description, and more. Supports avatars and badges. Available for a single row or as a report with multiple rows.'
+);
+wwv_flow_imp_shared.create_plugin_attr_group(
+ p_id=>wwv_flow_imp.id(1950722886090626520)
+,p_plugin_id=>wwv_flow_imp.id(23485097929554812)
+,p_title=>'Avatar'
+,p_display_sequence=>10
+);
+wwv_flow_imp_shared.create_plugin_attr_group(
+ p_id=>wwv_flow_imp.id(1950722331078626519)
+,p_plugin_id=>wwv_flow_imp.id(23485097929554812)
+,p_title=>'Badge'
+,p_display_sequence=>20
+);
+wwv_flow_imp_shared.create_plugin_attr_group(
+ p_id=>wwv_flow_imp.id(1693830267348353006)
+,p_plugin_id=>wwv_flow_imp.id(23485097929554812)
+,p_title=>'Appearance'
+,p_display_sequence=>30
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23486024365554829)
+,p_plugin_id=>wwv_flow_imp.id(23485097929554812)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>1
+,p_display_sequence=>10
+,p_static_id=>'OVERLINE'
+,p_prompt=>'Overline'
+,p_attribute_type=>'HTML'
+,p_is_required=>false
+,p_demo_value=>'Category'
+,p_escape_mode=>'RAW'
+,p_is_translatable=>true
+,p_help_text=>'Enter some text and/or column substitution strings to display at the top of each row above the title and description.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23486261360554831)
+,p_plugin_id=>wwv_flow_imp.id(23485097929554812)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>2
+,p_display_sequence=>20
+,p_static_id=>'TITLE'
+,p_prompt=>'Title'
+,p_attribute_type=>'HTML'
+,p_is_required=>false
+,p_demo_value=>'Lorem ipsum dolor sit amet'
+,p_escape_mode=>'RAW'
+,p_is_translatable=>true
+,p_help_text=>'Enter some text and/or column substitution strings to be used as the title in each row.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23486618848554832)
+,p_plugin_id=>wwv_flow_imp.id(23485097929554812)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>3
+,p_display_sequence=>30
+,p_static_id=>'DESCRIPTION'
+,p_prompt=>'Description'
+,p_attribute_type=>'HTML'
+,p_is_required=>false
+,p_demo_value=>'Nunc sit amet nunc quis magna ornare suscipit. Etiam aliquet maximus sapien, at sagittis sem gravida nec.'
+,p_escape_mode=>'RAW'
+,p_is_translatable=>true
+,p_help_text=>'Enter some text and/or column substitution strings to be used as the description in each row.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23486893314554833)
+,p_plugin_id=>wwv_flow_imp.id(23485097929554812)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>4
+,p_display_sequence=>40
+,p_static_id=>'MISC'
+,p_prompt=>'Miscellaneous'
+,p_attribute_type=>'HTML'
+,p_is_required=>false
+,p_escape_mode=>'RAW'
+,p_is_translatable=>true
+,p_help_text=>'Enter miscellaneous content such as additional text and/or column substitution strings to display in each row.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23487138212554834)
+,p_plugin_id=>wwv_flow_imp.id(23485097929554812)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>5
+,p_display_sequence=>50
+,p_static_id=>'DISPLAY_AVATAR'
+,p_prompt=>'Display Avatar'
+,p_attribute_type=>'CHECKBOX'
+,p_is_required=>false
+,p_default_value=>'N'
+,p_escape_mode=>'ATTR'
+,p_is_translatable=>false
+,p_help_text=>'Specify whether to display or hide the avatar for each row. When set to Yes, an avatar will be displayed with the assigned image, icon, or initials. When set to No, no avatar will be displayed.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23487520524554836)
+,p_plugin_id=>wwv_flow_imp.id(23485097929554812)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>6
+,p_display_sequence=>60
+,p_static_id=>'DISPLAY_BADGE'
+,p_prompt=>'Display Badge'
+,p_attribute_type=>'CHECKBOX'
+,p_is_required=>false
+,p_default_value=>'N'
+,p_escape_mode=>'ATTR'
+,p_is_translatable=>false
+,p_help_text=>'Specify whether to display or hide the badge for each row. When set to Yes, a badge will be displayed in each row. When set to No, no badge will be displayed.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23487787588554837)
+,p_plugin_id=>wwv_flow_imp.id(23485097929554812)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>7
+,p_display_sequence=>70
+,p_static_id=>'AVATAR_TYPE'
+,p_prompt=>'Type'
+,p_attribute_type=>'SELECT LIST'
+,p_is_required=>true
+,p_default_value=>'icon'
+,p_demo_value=>'icon'
+,p_escape_mode=>'HTML'
+,p_is_translatable=>false
+,p_depending_on_attribute_id=>wwv_flow_imp.id(23487138212554834)
+,p_depending_on_has_to_exist=>true
+,p_depending_on_condition_type=>'EQUALS'
+,p_depending_on_expression=>'Y'
+,p_lov_type=>'STATIC'
+,p_attribute_group_id=>wwv_flow_imp.id(1950722886090626520)
+,p_help_text=>'Select the type of content that will be displayed in the avatar.'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23488121737554839)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23487787588554837)
+,p_display_sequence=>10
+,p_display_value=>'Image'
+,p_return_value=>'image'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23488466735554840)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23487787588554837)
+,p_display_sequence=>20
+,p_display_value=>'Initials'
+,p_return_value=>'initials'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23488887637554841)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23487787588554837)
+,p_display_sequence=>30
+,p_display_value=>'Icon'
+,p_return_value=>'icon'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23489293786554843)
+,p_plugin_id=>wwv_flow_imp.id(23485097929554812)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>8
+,p_display_sequence=>80
+,p_static_id=>'AVATAR_IMAGE'
+,p_prompt=>'Image'
+,p_attribute_type=>'MEDIA'
+,p_is_required=>true
+,p_escape_mode=>'ATTR'
+,p_is_translatable=>false
+,p_depending_on_attribute_id=>wwv_flow_imp.id(23487787588554837)
+,p_depending_on_has_to_exist=>true
+,p_depending_on_condition_type=>'EQUALS'
+,p_depending_on_expression=>'image'
+,p_attribute_group_id=>wwv_flow_imp.id(1950722886090626520)
+,p_help_text=>wwv_flow_string.join(wwv_flow_t_varchar2(
+'
Use the Media popup dialog to select a source for the avatar image.
',
+'',
+'
Available options include:',
+'
',
+'
URL
',
+'
BLOB Column
',
+'
URL Column
',
+'
',
+''))
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23489595023554844)
+,p_plugin_id=>wwv_flow_imp.id(23485097929554812)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>9
+,p_display_sequence=>115
+,p_static_id=>'AVATAR_DESCRIPTION'
+,p_prompt=>'Description'
+,p_attribute_type=>'TEXT'
+,p_is_required=>false
+,p_escape_mode=>'ATTR'
+,p_is_translatable=>true
+,p_attribute_group_id=>wwv_flow_imp.id(1950722886090626520)
+,p_help_text=>'Enter a short description of the image or select a source column from the quick pick options. This will be used as alt text for the avatar image.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23489867618554846)
+,p_plugin_id=>wwv_flow_imp.id(23485097929554812)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>10
+,p_display_sequence=>100
+,p_static_id=>'AVATAR_INITIALS'
+,p_prompt=>'Initials'
+,p_attribute_type=>'SESSION STATE VALUE'
+,p_is_required=>true
+,p_escape_mode=>'STRIPHTML'
+,p_column_data_types=>'VARCHAR2'
+,p_is_translatable=>false
+,p_depending_on_attribute_id=>wwv_flow_imp.id(23487787588554837)
+,p_depending_on_has_to_exist=>true
+,p_depending_on_condition_type=>'EQUALS'
+,p_depending_on_expression=>'initials'
+,p_attribute_group_id=>wwv_flow_imp.id(1950722886090626520)
+,p_help_text=>'Select the source column to be displayed within each avatar. Only varchar2 data types are supported.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23490156870554847)
+,p_plugin_id=>wwv_flow_imp.id(23485097929554812)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>11
+,p_display_sequence=>110
+,p_static_id=>'AVATAR_ICON'
+,p_prompt=>'Icon'
+,p_attribute_type=>'ICON'
+,p_is_required=>true
+,p_default_value=>'fa-user'
+,p_escape_mode=>'ATTR'
+,p_is_translatable=>false
+,p_depending_on_attribute_id=>wwv_flow_imp.id(23487787588554837)
+,p_depending_on_has_to_exist=>true
+,p_depending_on_condition_type=>'EQUALS'
+,p_depending_on_expression=>'icon'
+,p_attribute_group_id=>wwv_flow_imp.id(1950722886090626520)
+,p_help_text=>'Enter an icon class or use the Pick Icon dialog to select the icon you want to add to display in the avatar.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23490492824554849)
+,p_plugin_id=>wwv_flow_imp.id(23485097929554812)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>12
+,p_display_sequence=>120
+,p_static_id=>'AVATAR_SHAPE'
+,p_prompt=>'Shape'
+,p_attribute_type=>'SELECT LIST'
+,p_is_required=>true
+,p_default_value=>'t-Avatar--rounded'
+,p_escape_mode=>'ATTR'
+,p_is_translatable=>false
+,p_depending_on_attribute_id=>wwv_flow_imp.id(23487138212554834)
+,p_depending_on_has_to_exist=>true
+,p_depending_on_condition_type=>'EQUALS'
+,p_depending_on_expression=>'Y'
+,p_lov_type=>'STATIC'
+,p_attribute_group_id=>wwv_flow_imp.id(1950722886090626520)
+,p_help_text=>'Select the shape of the avatar. Default inherits the shape set by the containing template.'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23490835518554850)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23490492824554849)
+,p_display_sequence=>10
+,p_display_value=>'Rounded'
+,p_return_value=>'t-Avatar--rounded'
+,p_help_text=>'Displayed within a square with rounded corners.'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23491153000554851)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23490492824554849)
+,p_display_sequence=>20
+,p_display_value=>'Circular'
+,p_return_value=>'t-Avatar--circle'
+,p_help_text=>'Displayed within a circular shape.'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23491581879554852)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23490492824554849)
+,p_display_sequence=>30
+,p_display_value=>'Square'
+,p_return_value=>'t-Avatar--square'
+,p_help_text=>'Displayed within a square shape.'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23491955343554854)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23490492824554849)
+,p_display_sequence=>40
+,p_display_value=>'No Shape'
+,p_return_value=>'t-Avatar--noShape'
+,p_help_text=>'Displayed inline without a containing shape.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23492421591554855)
+,p_plugin_id=>wwv_flow_imp.id(23485097929554812)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>13
+,p_display_sequence=>130
+,p_static_id=>'BADGE_LABEL'
+,p_prompt=>'Label'
+,p_attribute_type=>'TEXT'
+,p_is_required=>true
+,p_escape_mode=>'RAW'
+,p_is_translatable=>true
+,p_depending_on_attribute_id=>wwv_flow_imp.id(23487520524554836)
+,p_depending_on_has_to_exist=>true
+,p_depending_on_condition_type=>'EQUALS'
+,p_depending_on_expression=>'Y'
+,p_attribute_group_id=>wwv_flow_imp.id(1950722331078626519)
+,p_help_text=>'Enter a value for the badge label or select a source column from the quick pick options.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23492659737554856)
+,p_plugin_id=>wwv_flow_imp.id(23485097929554812)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>14
+,p_display_sequence=>140
+,p_static_id=>'BADGE_VALUE'
+,p_prompt=>'Value'
+,p_attribute_type=>'SESSION STATE VALUE'
+,p_is_required=>true
+,p_escape_mode=>'STRIPHTML'
+,p_column_data_types=>'VARCHAR2:NUMBER:DATE:INTERVAL_Y2M:INTERVAL_D2S'
+,p_is_translatable=>false
+,p_depending_on_attribute_id=>wwv_flow_imp.id(23487520524554836)
+,p_depending_on_has_to_exist=>true
+,p_depending_on_condition_type=>'EQUALS'
+,p_depending_on_expression=>'Y'
+,p_attribute_group_id=>wwv_flow_imp.id(1950722331078626519)
+,p_help_text=>'Select a source column for the badge value.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23492966676554857)
+,p_plugin_id=>wwv_flow_imp.id(23485097929554812)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>15
+,p_display_sequence=>150
+,p_static_id=>'BADGE_STATE'
+,p_prompt=>'State'
+,p_attribute_type=>'SESSION STATE VALUE'
+,p_is_required=>false
+,p_escape_mode=>'ATTR'
+,p_column_data_types=>'VARCHAR2'
+,p_is_translatable=>false
+,p_depending_on_attribute_id=>wwv_flow_imp.id(23487520524554836)
+,p_depending_on_has_to_exist=>true
+,p_depending_on_condition_type=>'EQUALS'
+,p_depending_on_expression=>'Y'
+,p_attribute_group_id=>wwv_flow_imp.id(1950722331078626519)
+,p_help_text=>'Select the source column for the state of the badge. Substitute column value with "danger", "warning", "success" or "info" for default styling.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23493263473554858)
+,p_plugin_id=>wwv_flow_imp.id(23485097929554812)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>16
+,p_display_sequence=>160
+,p_static_id=>'BADGE_ICON'
+,p_prompt=>'Icon'
+,p_attribute_type=>'ICON'
+,p_is_required=>false
+,p_escape_mode=>'ATTR'
+,p_is_translatable=>false
+,p_depending_on_attribute_id=>wwv_flow_imp.id(23487520524554836)
+,p_depending_on_has_to_exist=>true
+,p_depending_on_condition_type=>'EQUALS'
+,p_depending_on_expression=>'Y'
+,p_attribute_group_id=>wwv_flow_imp.id(1950722331078626519)
+,p_help_text=>'Enter an icon class or use the Pick Icon dialog to select the icon you want to add to display in the badge.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23493545672554860)
+,p_plugin_id=>wwv_flow_imp.id(23485097929554812)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>17
+,p_display_sequence=>170
+,p_static_id=>'BADGE_LABEL_DISPLAY'
+,p_prompt=>'Display Label'
+,p_attribute_type=>'CHECKBOX'
+,p_is_required=>false
+,p_default_value=>'N'
+,p_escape_mode=>'ATTR'
+,p_is_translatable=>false
+,p_depending_on_attribute_id=>wwv_flow_imp.id(23487520524554836)
+,p_depending_on_has_to_exist=>true
+,p_depending_on_condition_type=>'EQUALS'
+,p_depending_on_expression=>'Y'
+,p_attribute_group_id=>wwv_flow_imp.id(1950722331078626519)
+,p_help_text=>'Specify whether to display or hide the badge label. When set to Yes, the badge label will be displayed in addition to the badge value. When set to No, only the badge value will be displayed.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23493870897554861)
+,p_plugin_id=>wwv_flow_imp.id(23485097929554812)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>18
+,p_display_sequence=>180
+,p_static_id=>'BADGE_STYLE'
+,p_prompt=>'Style'
+,p_attribute_type=>'SELECT LIST'
+,p_is_required=>false
+,p_escape_mode=>'ATTR'
+,p_is_translatable=>false
+,p_depending_on_attribute_id=>wwv_flow_imp.id(23487520524554836)
+,p_depending_on_has_to_exist=>true
+,p_depending_on_condition_type=>'EQUALS'
+,p_depending_on_expression=>'Y'
+,p_lov_type=>'STATIC'
+,p_attribute_group_id=>wwv_flow_imp.id(1950722331078626519)
+,p_null_text=>'Default'
+,p_help_text=>'Select the badge style. Default inherits the style set by the containing template.'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23494140001554862)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23493870897554861)
+,p_display_sequence=>10
+,p_display_value=>'Subtle'
+,p_return_value=>'t-Badge--subtle'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23494610492554863)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23493870897554861)
+,p_display_sequence=>20
+,p_display_value=>'Outline'
+,p_return_value=>'t-Badge--outline'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23495021460554864)
+,p_plugin_id=>wwv_flow_imp.id(23485097929554812)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>19
+,p_display_sequence=>190
+,p_static_id=>'BADGE_SHAPE'
+,p_prompt=>'Shape'
+,p_attribute_type=>'SELECT LIST'
+,p_is_required=>false
+,p_escape_mode=>'HTML'
+,p_is_translatable=>false
+,p_depending_on_attribute_id=>wwv_flow_imp.id(23487520524554836)
+,p_depending_on_has_to_exist=>true
+,p_depending_on_condition_type=>'EQUALS'
+,p_depending_on_expression=>'Y'
+,p_lov_type=>'STATIC'
+,p_attribute_group_id=>wwv_flow_imp.id(1950722331078626519)
+,p_null_text=>'Default'
+,p_help_text=>'Select the shape of the badge. Default inherits the shape set by the containing template.'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23495285418554865)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23495021460554864)
+,p_display_sequence=>10
+,p_display_value=>'Rounded'
+,p_return_value=>'t-Badge--rounded'
+,p_help_text=>'Displayed with rounded corners.'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23495699832554867)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23495021460554864)
+,p_display_sequence=>20
+,p_display_value=>'Circular'
+,p_return_value=>'t-Badge--circle'
+,p_help_text=>'Displayed with circular edges.'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23496074750554868)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23495021460554864)
+,p_display_sequence=>30
+,p_display_value=>'Square'
+,p_return_value=>'t-Badge--square'
+,p_help_text=>'Displayed with squared edges.'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23496533875554869)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23495021460554864)
+,p_display_sequence=>40
+,p_display_value=>'No Shape'
+,p_return_value=>'t-Avatar--noShape'
+,p_help_text=>'Displayed inline without a containing shape.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23496922268554871)
+,p_plugin_id=>wwv_flow_imp.id(23485097929554812)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>20
+,p_display_sequence=>200
+,p_static_id=>'AVATAR_SIZE'
+,p_prompt=>'Size'
+,p_attribute_type=>'SELECT LIST'
+,p_is_required=>false
+,p_escape_mode=>'ATTR'
+,p_is_translatable=>false
+,p_depending_on_attribute_id=>wwv_flow_imp.id(23487138212554834)
+,p_depending_on_has_to_exist=>true
+,p_depending_on_condition_type=>'EQUALS'
+,p_depending_on_expression=>'Y'
+,p_lov_type=>'STATIC'
+,p_attribute_group_id=>wwv_flow_imp.id(1950722886090626520)
+,p_null_text=>'Default'
+,p_help_text=>'Set the size of the avatar. The default inherits the sizing set by the containing template.'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23497224307554875)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23496922268554871)
+,p_display_sequence=>10
+,p_display_value=>'Extra Extra Small'
+,p_return_value=>'t-Avatar--xxs'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23497605553554876)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23496922268554871)
+,p_display_sequence=>20
+,p_display_value=>'Extra Small'
+,p_return_value=>'t-Avatar--xs'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23498018969554877)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23496922268554871)
+,p_display_sequence=>30
+,p_display_value=>'Small'
+,p_return_value=>'t-Avatar--sm'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23498417865554879)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23496922268554871)
+,p_display_sequence=>40
+,p_display_value=>'Medium'
+,p_return_value=>'t-Avatar--md'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23498756225554880)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23496922268554871)
+,p_display_sequence=>50
+,p_display_value=>'Large'
+,p_return_value=>'t-Avatar--lg'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23499144622554881)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23496922268554871)
+,p_display_sequence=>60
+,p_display_value=>'Extra Large'
+,p_return_value=>'t-Avatar--xl'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23499580831554882)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23496922268554871)
+,p_display_sequence=>70
+,p_display_value=>'Extra Extra Large'
+,p_return_value=>'t-Avatar--xxl'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23500023235554884)
+,p_plugin_id=>wwv_flow_imp.id(23485097929554812)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>21
+,p_display_sequence=>210
+,p_static_id=>'BADGE_SIZE'
+,p_prompt=>'Size'
+,p_attribute_type=>'SELECT LIST'
+,p_is_required=>false
+,p_escape_mode=>'ATTR'
+,p_is_translatable=>false
+,p_depending_on_attribute_id=>wwv_flow_imp.id(23487520524554836)
+,p_depending_on_has_to_exist=>true
+,p_depending_on_condition_type=>'EQUALS'
+,p_depending_on_expression=>'Y'
+,p_lov_type=>'STATIC'
+,p_attribute_group_id=>wwv_flow_imp.id(1950722331078626519)
+,p_null_text=>'Default'
+,p_help_text=>'Set the size of the badge. The default inherits the sizing set by the containing template.'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23500293447554885)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23500023235554884)
+,p_display_sequence=>10
+,p_display_value=>'Small'
+,p_return_value=>'t-Badge--sm'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23500691678554886)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23500023235554884)
+,p_display_sequence=>20
+,p_display_value=>'Medium'
+,p_return_value=>'t-Badge--md'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23501087091554887)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23500023235554884)
+,p_display_sequence=>30
+,p_display_value=>'Large'
+,p_return_value=>'t-Badge--lg'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23501503158554889)
+,p_plugin_id=>wwv_flow_imp.id(23485097929554812)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>22
+,p_display_sequence=>220
+,p_static_id=>'BADGE_COL_WIDTH'
+,p_prompt=>'Column Width'
+,p_attribute_type=>'SELECT LIST'
+,p_is_required=>true
+,p_default_value=>'t-ContentRow-badge--md'
+,p_escape_mode=>'ATTR'
+,p_is_translatable=>false
+,p_depending_on_attribute_id=>wwv_flow_imp.id(23487520524554836)
+,p_depending_on_has_to_exist=>true
+,p_depending_on_condition_type=>'EQUALS'
+,p_depending_on_expression=>'Y'
+,p_lov_type=>'STATIC'
+,p_attribute_group_id=>wwv_flow_imp.id(1950722331078626519)
+,p_null_text=>'Default'
+,p_help_text=>'Set the width of the content row columns. Default width is medium.'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23501816660554890)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23501503158554889)
+,p_display_sequence=>10
+,p_display_value=>'Small'
+,p_return_value=>'t-ContentRow-badge--sm'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23502196290554891)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23501503158554889)
+,p_display_sequence=>20
+,p_display_value=>'Medium'
+,p_return_value=>'t-ContentRow-badge--md'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23502615839554893)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23501503158554889)
+,p_display_sequence=>30
+,p_display_value=>'Large'
+,p_return_value=>'t-ContentRow-badge--lg'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23503034094554895)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23501503158554889)
+,p_display_sequence=>40
+,p_display_value=>'Auto'
+,p_return_value=>'t-ContentRow-badge--auto'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23503344429554897)
+,p_plugin_id=>wwv_flow_imp.id(23485097929554812)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>24
+,p_display_sequence=>240
+,p_static_id=>'BADGE_POS'
+,p_prompt=>'Position'
+,p_attribute_type=>'SELECT LIST'
+,p_is_required=>false
+,p_escape_mode=>'ATTR'
+,p_is_translatable=>false
+,p_depending_on_attribute_id=>wwv_flow_imp.id(23487520524554836)
+,p_depending_on_has_to_exist=>true
+,p_depending_on_condition_type=>'EQUALS'
+,p_depending_on_expression=>'Y'
+,p_lov_type=>'STATIC'
+,p_attribute_group_id=>wwv_flow_imp.id(1950722331078626519)
+,p_null_text=>'Start'
+,p_help_text=>'Positions the Badge column to either the "Start" or "End" of the row.'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23503722348554898)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23503344429554897)
+,p_display_sequence=>10
+,p_display_value=>'End'
+,p_return_value=>'t-ContentRow-badge--posEnd'
+,p_help_text=>'Positions the Badge column to the "end" of the row.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23504111127554900)
+,p_plugin_id=>wwv_flow_imp.id(23485097929554812)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>25
+,p_display_sequence=>250
+,p_static_id=>'BADGE_ALIGNMENT'
+,p_prompt=>'Alignment'
+,p_attribute_type=>'SELECT LIST'
+,p_is_required=>false
+,p_escape_mode=>'ATTR'
+,p_is_translatable=>false
+,p_depending_on_attribute_id=>wwv_flow_imp.id(23487520524554836)
+,p_depending_on_has_to_exist=>true
+,p_depending_on_condition_type=>'EQUALS'
+,p_depending_on_expression=>'Y'
+,p_lov_type=>'STATIC'
+,p_attribute_group_id=>wwv_flow_imp.id(1950722331078626519)
+,p_null_text=>'Start'
+,p_help_text=>'Changes the alignment of the badge within its column.'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23504388979554901)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23504111127554900)
+,p_display_sequence=>10
+,p_display_value=>'Center'
+,p_return_value=>'t-ContentRow-badge--alignCenter'
+,p_help_text=>'Aligns the badge to the "center" of its column.'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23504782900554902)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23504111127554900)
+,p_display_sequence=>20
+,p_display_value=>'End'
+,p_return_value=>'t-ContentRow-badge--alignEnd'
+,p_help_text=>'Aligns the badge to the "end" of its column.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23505152837554904)
+,p_plugin_id=>wwv_flow_imp.id(23485097929554812)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>31
+,p_display_sequence=>310
+,p_static_id=>'ITEM_CSS_CLASSES'
+,p_prompt=>'Item CSS Classes'
+,p_attribute_type=>'SESSION STATE VALUE'
+,p_is_required=>false
+,p_escape_mode=>'ATTR'
+,p_column_data_types=>'VARCHAR2'
+,p_is_translatable=>false
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23505509474554905)
+,p_plugin_id=>wwv_flow_imp.id(23485097929554812)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>32
+,p_display_sequence=>320
+,p_static_id=>'AVATAR_CSS_CLASSES'
+,p_prompt=>'CSS Classes'
+,p_attribute_type=>'TEXT'
+,p_is_required=>false
+,p_escape_mode=>'ATTR'
+,p_is_translatable=>false
+,p_depending_on_attribute_id=>wwv_flow_imp.id(23487138212554834)
+,p_depending_on_has_to_exist=>true
+,p_depending_on_condition_type=>'EQUALS'
+,p_depending_on_expression=>'Y'
+,p_attribute_group_id=>wwv_flow_imp.id(1950722886090626520)
+,p_help_text=>'Enter CSS classes to add to the visual. You may add multiple classes by separating them with a space.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23505784650554906)
+,p_plugin_id=>wwv_flow_imp.id(23485097929554812)
+,p_attribute_scope=>'REPORT'
+,p_attribute_sequence=>23
+,p_display_sequence=>230
+,p_static_id=>'APPLY_THEME_COLORS'
+,p_prompt=>'Apply Theme Colors'
+,p_attribute_type=>'CHECKBOX'
+,p_is_required=>false
+,p_default_value=>'Y'
+,p_escape_mode=>'ATTR'
+,p_is_translatable=>false
+,p_attribute_group_id=>wwv_flow_imp.id(1693830267348353006)
+,p_help_text=>'Specify whether to use the Universal Theme colors for avatar and badge row items. When set to Yes, the u-colors class will be applied to each row. When set to No, a default color will be used instead.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23506127970554908)
+,p_plugin_id=>wwv_flow_imp.id(23485097929554812)
+,p_attribute_scope=>'REPORT'
+,p_attribute_sequence=>27
+,p_display_sequence=>270
+,p_static_id=>'STYLE'
+,p_prompt=>'Style'
+,p_attribute_type=>'SELECT LIST'
+,p_is_required=>false
+,p_escape_mode=>'HTML'
+,p_is_translatable=>false
+,p_lov_type=>'STATIC'
+,p_attribute_group_id=>wwv_flow_imp.id(1693830267348353006)
+,p_null_text=>'Default'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23506400221554909)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23506127970554908)
+,p_display_sequence=>10
+,p_display_value=>'Compact'
+,p_return_value=>'t-ContentRow--styleCompact'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23506757555554911)
+,p_plugin_id=>wwv_flow_imp.id(23485097929554812)
+,p_attribute_scope=>'REPORT'
+,p_attribute_sequence=>28
+,p_display_sequence=>280
+,p_static_id=>'HIDE_BORDERS'
+,p_prompt=>'Hide Borders'
+,p_attribute_type=>'CHECKBOX'
+,p_is_required=>false
+,p_default_value=>'N'
+,p_escape_mode=>'ATTR'
+,p_is_translatable=>false
+,p_attribute_group_id=>wwv_flow_imp.id(1693830267348353006)
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23507136333554912)
+,p_plugin_id=>wwv_flow_imp.id(23485097929554812)
+,p_attribute_scope=>'REPORT'
+,p_attribute_sequence=>30
+,p_display_sequence=>300
+,p_static_id=>'REMOVE_PADDING'
+,p_prompt=>'Remove Padding'
+,p_attribute_type=>'CHECKBOX'
+,p_is_required=>false
+,p_default_value=>'N'
+,p_escape_mode=>'ATTR'
+,p_is_translatable=>false
+,p_attribute_group_id=>wwv_flow_imp.id(1693830267348353006)
+);
+wwv_flow_imp_shared.create_plugin_act_template(
+ p_id=>wwv_flow_imp.id(1831936776306448134)
+,p_plugin_id=>wwv_flow_imp.id(23485097929554812)
+,p_name=>'Button'
+,p_type=>'BUTTON'
+,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
+'{with/}',
+'LINK_URL:=#LINK_URL#',
+'LINK_ATTR:=#LINK_ATTR#',
+'LABEL:=#LABEL#',
+'ICON_CLASSES:=#ICON_CLASSES#',
+'CSS_CLASSES:=#CSS_CLASSES#',
+'IS_HOT:=#IS_HOT#',
+'IS_ICON_ONLY:=#IS_ICON_ONLY#',
+'IS_DISABLED:=#IS_DISABLED#',
+'{apply THEME$BUTTON/}'))
+);
+wwv_flow_imp_shared.create_plugin_act_template(
+ p_id=>wwv_flow_imp.id(1831938035826452282)
+,p_plugin_id=>wwv_flow_imp.id(23485097929554812)
+,p_name=>'Menu'
+,p_type=>'MENU'
+,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
+'{with/}',
+'MENU_ID:=#MENU_ID#',
+'LABEL:=#LABEL#',
+'ICON_CLASSES:=#ICON_CLASSES#',
+'CSS_CLASSES:=#CSS_CLASSES#',
+'IS_HOT:=#IS_HOT#',
+'IS_DISABLED:=#IS_DISABLED#',
+'IS_ICON_ONLY:=#IS_ICON_ONLY#',
+'{apply THEME$BUTTON/}',
+'#MENU#'))
+);
+wwv_flow_imp_shared.create_plugin_act_position(
+ p_id=>wwv_flow_imp.id(1534985261410689704)
+,p_plugin_id=>wwv_flow_imp.id(23485097929554812)
+,p_name=>'Badge Link'
+,p_static_id=>'BADGE_LINK'
+,p_display_sequence=>50
+,p_type=>'LINK'
+);
+wwv_flow_imp_shared.create_plugin_act_position(
+ p_id=>wwv_flow_imp.id(1818343147632041401)
+,p_plugin_id=>wwv_flow_imp.id(23485097929554812)
+,p_name=>'Title Link'
+,p_static_id=>'TITLE_LINK'
+,p_display_sequence=>30
+,p_type=>'LINK'
+);
+wwv_flow_imp_shared.create_plugin_act_position(
+ p_id=>wwv_flow_imp.id(1819022448362124505)
+,p_plugin_id=>wwv_flow_imp.id(23485097929554812)
+,p_name=>'Full Row Link'
+,p_static_id=>'FULL_ROW_LINK'
+,p_display_sequence=>40
+,p_type=>'LINK'
+);
+wwv_flow_imp_shared.create_plugin_act_position(
+ p_id=>wwv_flow_imp.id(1831934841239403148)
+,p_plugin_id=>wwv_flow_imp.id(23485097929554812)
+,p_name=>'Avatar Link'
+,p_static_id=>'AVATAR_LINK'
+,p_display_sequence=>10
+,p_type=>'LINK'
+);
+wwv_flow_imp_shared.create_plugin_act_position(
+ p_id=>wwv_flow_imp.id(1831936174629417005)
+,p_plugin_id=>wwv_flow_imp.id(23485097929554812)
+,p_name=>'Primary Actions'
+,p_static_id=>'PRIMARY_ACTIONS'
+,p_display_sequence=>20
+,p_type=>'TEMPLATE'
+);
+end;
+/
+prompt --application/shared_components/plugins/template_component/theme_42_media_list
+begin
+wwv_flow_imp_shared.create_plugin(
+ p_id=>wwv_flow_imp.id(23512375091554948)
+,p_plugin_type=>'TEMPLATE COMPONENT'
+,p_theme_id=>nvl(wwv_flow_application_install.get_theme_id, '42')
+,p_name=>'THEME_42$MEDIA_LIST'
+,p_display_name=>'Media List'
+,p_supported_component_types=>'PARTIAL:REPORT'
+,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('TEMPLATE COMPONENT','THEME_42$MEDIA_LIST'),'')
+,p_partial_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
+'{if APEX$IS_LAZY_LOADING/}',
+'
'
+,p_report_placeholder_count=>3
+,p_standard_attributes=>'ROW_SELECTION:REGION_TEMPLATE'
+,p_substitute_attributes=>true
+,p_reference_id=>1564403634518414297
+,p_version_scn=>76083243
+,p_subscribe_plugin_settings=>true
+,p_is_quick_pick=>true
+,p_help_text=>'Display report content in a formatted media list. Supports avatars and badges. Available for a single row or as a report with multiple rows.'
+);
+wwv_flow_imp_shared.create_plugin_attr_group(
+ p_id=>wwv_flow_imp.id(1823530820133438600)
+,p_plugin_id=>wwv_flow_imp.id(23512375091554948)
+,p_title=>'Avatar'
+,p_display_sequence=>10
+);
+wwv_flow_imp_shared.create_plugin_attr_group(
+ p_id=>wwv_flow_imp.id(1823530265121438599)
+,p_plugin_id=>wwv_flow_imp.id(23512375091554948)
+,p_title=>'Badge'
+,p_display_sequence=>20
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23513129011554955)
+,p_plugin_id=>wwv_flow_imp.id(23512375091554948)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>1
+,p_display_sequence=>10
+,p_static_id=>'TITLE'
+,p_prompt=>'Title'
+,p_attribute_type=>'SESSION STATE VALUE'
+,p_is_required=>true
+,p_demo_value=>'Lorem ipsum dolor sit amet'
+,p_escape_mode=>'HTML'
+,p_column_data_types=>'VARCHAR2'
+,p_is_translatable=>false
+,p_help_text=>'Select a source column to be used as the title.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23513381397554956)
+,p_plugin_id=>wwv_flow_imp.id(23512375091554948)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>2
+,p_display_sequence=>20
+,p_static_id=>'DESCRIPTION'
+,p_prompt=>'Description'
+,p_attribute_type=>'SESSION STATE VALUE'
+,p_is_required=>false
+,p_demo_value=>'Nunc sit amet nunc quis magna ornare suscipit. Etiam aliquet maximus sapien, at sagittis sem gravida nec.'
+,p_escape_mode=>'HTML'
+,p_column_data_types=>'VARCHAR2'
+,p_is_translatable=>false
+,p_help_text=>'Select a source column to be used for the row description.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23513650532554957)
+,p_plugin_id=>wwv_flow_imp.id(23512375091554948)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>3
+,p_display_sequence=>30
+,p_static_id=>'DISPLAY_AVATAR'
+,p_prompt=>'Display Avatar'
+,p_attribute_type=>'CHECKBOX'
+,p_is_required=>false
+,p_default_value=>'N'
+,p_escape_mode=>'ATTR'
+,p_is_translatable=>false
+,p_help_text=>'Specify whether to display or hide the avatar for each row. When set to Yes, an avatar will be displayed with the assigned image, icon, or initials. When set to No, no avatar will be displayed.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23513945757554959)
+,p_plugin_id=>wwv_flow_imp.id(23512375091554948)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>4
+,p_display_sequence=>40
+,p_static_id=>'DISPLAY_BADGE'
+,p_prompt=>'Display Badge'
+,p_attribute_type=>'CHECKBOX'
+,p_is_required=>false
+,p_default_value=>'N'
+,p_escape_mode=>'ATTR'
+,p_is_translatable=>false
+,p_help_text=>'Specify whether to display or hide the badge for each row. When set to Yes, a badge will be displayed in each row. When set to No, no badge will be displayed.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23514309193554960)
+,p_plugin_id=>wwv_flow_imp.id(23512375091554948)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>5
+,p_display_sequence=>50
+,p_static_id=>'AVATAR_TYPE'
+,p_prompt=>'Type'
+,p_attribute_type=>'SELECT LIST'
+,p_is_required=>true
+,p_default_value=>'icon'
+,p_demo_value=>'icon'
+,p_escape_mode=>'HTML'
+,p_is_translatable=>false
+,p_depending_on_attribute_id=>wwv_flow_imp.id(23513650532554957)
+,p_depending_on_has_to_exist=>true
+,p_depending_on_condition_type=>'EQUALS'
+,p_depending_on_expression=>'Y'
+,p_lov_type=>'STATIC'
+,p_attribute_group_id=>wwv_flow_imp.id(1823530820133438600)
+,p_help_text=>'Select the type of content that will be displayed in the avatar.'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23514593187554961)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23514309193554960)
+,p_display_sequence=>10
+,p_display_value=>'Image'
+,p_return_value=>'image'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23514972841554963)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23514309193554960)
+,p_display_sequence=>20
+,p_display_value=>'Initials'
+,p_return_value=>'initials'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23515385554554964)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23514309193554960)
+,p_display_sequence=>30
+,p_display_value=>'Icon'
+,p_return_value=>'icon'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23515819417554966)
+,p_plugin_id=>wwv_flow_imp.id(23512375091554948)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>6
+,p_display_sequence=>60
+,p_static_id=>'AVATAR_IMAGE'
+,p_prompt=>'Image'
+,p_attribute_type=>'MEDIA'
+,p_is_required=>true
+,p_escape_mode=>'ATTR'
+,p_is_translatable=>false
+,p_depending_on_attribute_id=>wwv_flow_imp.id(23514309193554960)
+,p_depending_on_has_to_exist=>true
+,p_depending_on_condition_type=>'EQUALS'
+,p_depending_on_expression=>'image'
+,p_attribute_group_id=>wwv_flow_imp.id(1823530820133438600)
+,p_help_text=>wwv_flow_string.join(wwv_flow_t_varchar2(
+'
Use the Media popup dialog to select a source for the avatar image.
',
+'',
+'
Available options include:',
+'
',
+'
URL
',
+'
BLOB Column
',
+'
URL Column
',
+'
',
+''))
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23516065389554967)
+,p_plugin_id=>wwv_flow_imp.id(23512375091554948)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>7
+,p_display_sequence=>95
+,p_static_id=>'AVATAR_DESCRIPTION'
+,p_prompt=>'Description'
+,p_attribute_type=>'TEXT'
+,p_is_required=>false
+,p_escape_mode=>'ATTR'
+,p_is_translatable=>true
+,p_attribute_group_id=>wwv_flow_imp.id(1823530820133438600)
+,p_help_text=>'Enter a short description of the image/icon or select a source column from the quick pick options. This will be used as title & alt text for the avatar image/icon.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23516402040554968)
+,p_plugin_id=>wwv_flow_imp.id(23512375091554948)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>8
+,p_display_sequence=>80
+,p_static_id=>'AVATAR_INITIALS'
+,p_prompt=>'Initials'
+,p_attribute_type=>'SESSION STATE VALUE'
+,p_is_required=>true
+,p_escape_mode=>'STRIPHTML'
+,p_column_data_types=>'VARCHAR2'
+,p_is_translatable=>false
+,p_depending_on_attribute_id=>wwv_flow_imp.id(23514309193554960)
+,p_depending_on_has_to_exist=>true
+,p_depending_on_condition_type=>'EQUALS'
+,p_depending_on_expression=>'initials'
+,p_attribute_group_id=>wwv_flow_imp.id(1823530820133438600)
+,p_help_text=>'Select the source column to be displayed within each avatar. Only varchar2 data types are supported.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23516639097554969)
+,p_plugin_id=>wwv_flow_imp.id(23512375091554948)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>9
+,p_display_sequence=>90
+,p_static_id=>'AVATAR_ICON'
+,p_prompt=>'Icon'
+,p_attribute_type=>'ICON'
+,p_is_required=>true
+,p_default_value=>'fa-user'
+,p_escape_mode=>'ATTR'
+,p_is_translatable=>false
+,p_depending_on_attribute_id=>wwv_flow_imp.id(23514309193554960)
+,p_depending_on_has_to_exist=>true
+,p_depending_on_condition_type=>'EQUALS'
+,p_depending_on_expression=>'icon'
+,p_attribute_group_id=>wwv_flow_imp.id(1823530820133438600)
+,p_help_text=>'Enter an icon class or use the Pick Icon dialog to select the icon you want to add to display in the avatar.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23516978524554971)
+,p_plugin_id=>wwv_flow_imp.id(23512375091554948)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>10
+,p_display_sequence=>100
+,p_static_id=>'AVATAR_SHAPE'
+,p_prompt=>'Shape'
+,p_attribute_type=>'SELECT LIST'
+,p_is_required=>true
+,p_default_value=>'t-Avatar--rounded'
+,p_escape_mode=>'ATTR'
+,p_is_translatable=>false
+,p_depending_on_attribute_id=>wwv_flow_imp.id(23513650532554957)
+,p_depending_on_has_to_exist=>true
+,p_depending_on_condition_type=>'EQUALS'
+,p_depending_on_expression=>'Y'
+,p_lov_type=>'STATIC'
+,p_attribute_group_id=>wwv_flow_imp.id(1823530820133438600)
+,p_help_text=>'Select the shape of the avatar. Default inherits the shape set by the containing template.'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23517267058554972)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23516978524554971)
+,p_display_sequence=>10
+,p_display_value=>'Rounded'
+,p_return_value=>'t-Avatar--rounded'
+,p_help_text=>'Displayed within a square with rounded corners.'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23517658816554973)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23516978524554971)
+,p_display_sequence=>20
+,p_display_value=>'Circular'
+,p_return_value=>'t-Avatar--circle'
+,p_help_text=>'Displayed within a circular shape.'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23518084588554974)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23516978524554971)
+,p_display_sequence=>30
+,p_display_value=>'Square'
+,p_return_value=>'t-Avatar--square'
+,p_help_text=>'Displayed within a square shape.'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23518453312554976)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23516978524554971)
+,p_display_sequence=>40
+,p_display_value=>'No Shape'
+,p_return_value=>'t-Avatar--noShape'
+,p_help_text=>'Displayed inline without a containing shape.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23518860877554977)
+,p_plugin_id=>wwv_flow_imp.id(23512375091554948)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>11
+,p_display_sequence=>110
+,p_static_id=>'BADGE_LABEL'
+,p_prompt=>'Label'
+,p_attribute_type=>'TEXT'
+,p_is_required=>true
+,p_escape_mode=>'RAW'
+,p_is_translatable=>true
+,p_depending_on_attribute_id=>wwv_flow_imp.id(23513945757554959)
+,p_depending_on_has_to_exist=>true
+,p_depending_on_condition_type=>'EQUALS'
+,p_depending_on_expression=>'Y'
+,p_attribute_group_id=>wwv_flow_imp.id(1823530265121438599)
+,p_help_text=>'Enter a value for the badge label or select a source column from the quick pick options.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23519215839554979)
+,p_plugin_id=>wwv_flow_imp.id(23512375091554948)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>12
+,p_display_sequence=>120
+,p_static_id=>'BADGE_VALUE'
+,p_prompt=>'Value'
+,p_attribute_type=>'SESSION STATE VALUE'
+,p_is_required=>true
+,p_escape_mode=>'STRIPHTML'
+,p_column_data_types=>'VARCHAR2:NUMBER:DATE:INTERVAL_Y2M:INTERVAL_D2S'
+,p_is_translatable=>false
+,p_depending_on_attribute_id=>wwv_flow_imp.id(23513945757554959)
+,p_depending_on_has_to_exist=>true
+,p_depending_on_condition_type=>'EQUALS'
+,p_depending_on_expression=>'Y'
+,p_attribute_group_id=>wwv_flow_imp.id(1823530265121438599)
+,p_help_text=>'Select a source column for the badge value.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23519465620554980)
+,p_plugin_id=>wwv_flow_imp.id(23512375091554948)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>13
+,p_display_sequence=>130
+,p_static_id=>'BADGE_STATE'
+,p_prompt=>'State'
+,p_attribute_type=>'SESSION STATE VALUE'
+,p_is_required=>false
+,p_escape_mode=>'ATTR'
+,p_column_data_types=>'VARCHAR2'
+,p_is_translatable=>false
+,p_depending_on_attribute_id=>wwv_flow_imp.id(23513945757554959)
+,p_depending_on_has_to_exist=>true
+,p_depending_on_condition_type=>'EQUALS'
+,p_depending_on_expression=>'Y'
+,p_attribute_group_id=>wwv_flow_imp.id(1823530265121438599)
+,p_help_text=>'Select the source column for the state of the badge. Substitute column value with "danger", "warning", "success" or "info" for default styling.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23519792117554981)
+,p_plugin_id=>wwv_flow_imp.id(23512375091554948)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>14
+,p_display_sequence=>140
+,p_static_id=>'BADGE_ICON'
+,p_prompt=>'Icon'
+,p_attribute_type=>'ICON'
+,p_is_required=>false
+,p_escape_mode=>'ATTR'
+,p_is_translatable=>false
+,p_depending_on_attribute_id=>wwv_flow_imp.id(23513945757554959)
+,p_depending_on_has_to_exist=>true
+,p_depending_on_condition_type=>'EQUALS'
+,p_depending_on_expression=>'Y'
+,p_attribute_group_id=>wwv_flow_imp.id(1823530265121438599)
+,p_help_text=>'Enter an icon class or use the Pick Icon dialog to select the icon you want to add to display in the badge.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23520061096554983)
+,p_plugin_id=>wwv_flow_imp.id(23512375091554948)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>15
+,p_display_sequence=>150
+,p_static_id=>'BADGE_LABEL_DISPLAY'
+,p_prompt=>'Display Label'
+,p_attribute_type=>'CHECKBOX'
+,p_is_required=>false
+,p_default_value=>'N'
+,p_escape_mode=>'ATTR'
+,p_is_translatable=>false
+,p_depending_on_attribute_id=>wwv_flow_imp.id(23513945757554959)
+,p_depending_on_has_to_exist=>true
+,p_depending_on_condition_type=>'EQUALS'
+,p_depending_on_expression=>'Y'
+,p_attribute_group_id=>wwv_flow_imp.id(1823530265121438599)
+,p_help_text=>'Specify whether to display or hide the badge label. When set to Yes, the badge label will be displayed in addition to the badge value. When set to No, only the badge value will be displayed.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23520401661554984)
+,p_plugin_id=>wwv_flow_imp.id(23512375091554948)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>16
+,p_display_sequence=>160
+,p_static_id=>'BADGE_STYLE'
+,p_prompt=>'Style'
+,p_attribute_type=>'SELECT LIST'
+,p_is_required=>false
+,p_escape_mode=>'ATTR'
+,p_is_translatable=>false
+,p_depending_on_attribute_id=>wwv_flow_imp.id(23513945757554959)
+,p_depending_on_has_to_exist=>true
+,p_depending_on_condition_type=>'EQUALS'
+,p_depending_on_expression=>'Y'
+,p_lov_type=>'STATIC'
+,p_attribute_group_id=>wwv_flow_imp.id(1823530265121438599)
+,p_null_text=>'Default'
+,p_help_text=>'Select the badge style. Default inherits the style set by the containing template.'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23520686735554986)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23520401661554984)
+,p_display_sequence=>10
+,p_display_value=>'Subtle'
+,p_return_value=>'t-Badge--subtle'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23521059525554987)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23520401661554984)
+,p_display_sequence=>20
+,p_display_value=>'Outline'
+,p_return_value=>'t-Badge--outline'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23521498630554988)
+,p_plugin_id=>wwv_flow_imp.id(23512375091554948)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>17
+,p_display_sequence=>170
+,p_static_id=>'BADGE_SHAPE'
+,p_prompt=>'Shape'
+,p_attribute_type=>'SELECT LIST'
+,p_is_required=>false
+,p_escape_mode=>'ATTR'
+,p_is_translatable=>false
+,p_depending_on_attribute_id=>wwv_flow_imp.id(23513945757554959)
+,p_depending_on_has_to_exist=>true
+,p_depending_on_condition_type=>'EQUALS'
+,p_depending_on_expression=>'Y'
+,p_lov_type=>'STATIC'
+,p_attribute_group_id=>wwv_flow_imp.id(1823530265121438599)
+,p_null_text=>'Default'
+,p_help_text=>'Select the shape of the badge. Default inherits the shape set by the containing template.'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23521835939554990)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23521498630554988)
+,p_display_sequence=>10
+,p_display_value=>'Rounded'
+,p_return_value=>'t-Badge--rounded'
+,p_help_text=>'Displayed with rounded corners.'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23522162654554991)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23521498630554988)
+,p_display_sequence=>20
+,p_display_value=>'Circular'
+,p_return_value=>'t-Badge--circle'
+,p_help_text=>'Displayed with circular edges.'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23522547538554992)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23521498630554988)
+,p_display_sequence=>30
+,p_display_value=>'Square'
+,p_return_value=>'t-Badge--square'
+,p_help_text=>'Displayed with squared edges.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23522992757554994)
+,p_plugin_id=>wwv_flow_imp.id(23512375091554948)
+,p_attribute_scope=>'REPORT'
+,p_attribute_sequence=>18
+,p_display_sequence=>180
+,p_static_id=>'LAYOUT'
+,p_prompt=>'Layout'
+,p_attribute_type=>'SELECT LIST'
+,p_is_required=>false
+,p_escape_mode=>'ATTR'
+,p_is_translatable=>false
+,p_lov_type=>'STATIC'
+,p_null_text=>'Default'
+,p_help_text=>'Select the number of grid columns the media list content will display in. Horizontal Span will display all columns in a single horizontal row.'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23523302345554995)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23522992757554994)
+,p_display_sequence=>10
+,p_display_value=>'2 Column Grid'
+,p_return_value=>'t-MediaList--cols t-MediaList--2cols'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23523670674554996)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23522992757554994)
+,p_display_sequence=>20
+,p_display_value=>'3 Column Grid'
+,p_return_value=>'t-MediaList--cols t-MediaList--3cols'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23524084529554998)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23522992757554994)
+,p_display_sequence=>30
+,p_display_value=>'4 Column Grid'
+,p_return_value=>'t-MediaList--cols t-MediaList--4cols'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23524486595554999)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23522992757554994)
+,p_display_sequence=>40
+,p_display_value=>'5 Column Grid'
+,p_return_value=>'t-MediaList--cols t-MediaList--5cols'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23524896052555001)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23522992757554994)
+,p_display_sequence=>50
+,p_display_value=>'Horizontal Span'
+,p_return_value=>'t-MediaList--horizontal'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23525252218555002)
+,p_plugin_id=>wwv_flow_imp.id(23512375091554948)
+,p_attribute_scope=>'REPORT'
+,p_attribute_sequence=>19
+,p_display_sequence=>190
+,p_static_id=>'SIZE'
+,p_prompt=>'Size'
+,p_attribute_type=>'SELECT LIST'
+,p_is_required=>false
+,p_escape_mode=>'ATTR'
+,p_is_translatable=>false
+,p_lov_type=>'STATIC'
+,p_null_text=>'Default'
+,p_help_text=>'Set the size of media list items.'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23525584365555004)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23525252218555002)
+,p_display_sequence=>10
+,p_display_value=>'Large'
+,p_return_value=>'t-MediaList--large force-fa-lg'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23525936799555005)
+,p_plugin_id=>wwv_flow_imp.id(23512375091554948)
+,p_attribute_scope=>'REPORT'
+,p_attribute_sequence=>20
+,p_display_sequence=>200
+,p_static_id=>'APPLY_THEME_COLORS'
+,p_prompt=>'Apply Theme Colors'
+,p_attribute_type=>'CHECKBOX'
+,p_is_required=>false
+,p_default_value=>'Y'
+,p_escape_mode=>'ATTR'
+,p_is_translatable=>false
+,p_help_text=>'Specify whether to use the Universal Theme colors for avatar and badge row items. When set to Yes, the u-colors class will be applied to each row. When set to No, a default color will be used instead.'
+);
+wwv_flow_imp_shared.create_plugin_act_position(
+ p_id=>wwv_flow_imp.id(1823733872290585228)
+,p_plugin_id=>wwv_flow_imp.id(23512375091554948)
+,p_name=>'Link'
+,p_static_id=>'LINK'
+,p_display_sequence=>10
+,p_type=>'LINK'
+);
+end;
+/
+prompt --application/shared_components/plugins/template_component/theme_42_timeline
+begin
+wwv_flow_imp_shared.create_plugin(
+ p_id=>wwv_flow_imp.id(23528837770555025)
+,p_plugin_type=>'TEMPLATE COMPONENT'
+,p_theme_id=>nvl(wwv_flow_application_install.get_theme_id, '42')
+,p_name=>'THEME_42$TIMELINE'
+,p_display_name=>'Timeline'
+,p_supported_component_types=>'PARTIAL:REPORT'
+,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('TEMPLATE COMPONENT','THEME_42$TIMELINE'),'')
+,p_partial_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
+'
'
+,p_report_placeholder_count=>3
+,p_standard_attributes=>'ROW_SELECTION:REGION_TEMPLATE'
+,p_substitute_attributes=>true
+,p_reference_id=>1601817836543095628
+,p_version_scn=>76584807
+,p_subscribe_plugin_settings=>true
+,p_is_quick_pick=>true
+,p_help_text=>'Display a series of events. Supports avatars and badges. Available for a single row or as a report with multiple rows.'
+);
+wwv_flow_imp_shared.create_plugin_attr_group(
+ p_id=>wwv_flow_imp.id(2170612402266661979)
+,p_plugin_id=>wwv_flow_imp.id(23528837770555025)
+,p_title=>'Avatar'
+,p_display_sequence=>10
+);
+wwv_flow_imp_shared.create_plugin_attr_group(
+ p_id=>wwv_flow_imp.id(2170611847254661978)
+,p_plugin_id=>wwv_flow_imp.id(23528837770555025)
+,p_title=>'Badge'
+,p_display_sequence=>20
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23529544358555031)
+,p_plugin_id=>wwv_flow_imp.id(23528837770555025)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>1
+,p_display_sequence=>10
+,p_static_id=>'USER_NAME'
+,p_prompt=>'User Name'
+,p_attribute_type=>'SESSION STATE VALUE'
+,p_is_required=>true
+,p_demo_value=>'User'
+,p_escape_mode=>'HTML'
+,p_column_data_types=>'VARCHAR2'
+,p_is_translatable=>false
+,p_help_text=>'Select a source column to be displayed as the user name associated with a timeline event.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23529853799555032)
+,p_plugin_id=>wwv_flow_imp.id(23528837770555025)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>2
+,p_display_sequence=>20
+,p_static_id=>'DATE'
+,p_prompt=>'Date'
+,p_attribute_type=>'SESSION STATE VALUE'
+,p_is_required=>true
+,p_demo_value=>'1 hour ago'
+,p_escape_mode=>'HTML'
+,p_column_data_types=>'VARCHAR2:NUMBER:DATE:INTERVAL_Y2M:INTERVAL_D2S'
+,p_is_translatable=>false
+,p_help_text=>'Select a source column containing a date, date range, or time.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23530145517555034)
+,p_plugin_id=>wwv_flow_imp.id(23528837770555025)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>3
+,p_display_sequence=>30
+,p_static_id=>'TITLE'
+,p_prompt=>'Title'
+,p_attribute_type=>'SESSION STATE VALUE'
+,p_is_required=>true
+,p_demo_value=>'Lorem ipsum dolor sit amet'
+,p_escape_mode=>'HTML'
+,p_column_data_types=>'VARCHAR2'
+,p_is_translatable=>false
+,p_help_text=>'Select a source column to be used as the title.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23530486066555035)
+,p_plugin_id=>wwv_flow_imp.id(23528837770555025)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>4
+,p_display_sequence=>40
+,p_static_id=>'DESCRIPTION'
+,p_prompt=>'Description'
+,p_attribute_type=>'SESSION STATE VALUE'
+,p_is_required=>false
+,p_demo_value=>'Nunc sit amet nunc quis magna ornare suscipit. Etiam aliquet maximus sapien, at sagittis sem gravida nec.'
+,p_escape_mode=>'HTML'
+,p_column_data_types=>'VARCHAR2'
+,p_is_translatable=>false
+,p_help_text=>'Select a source column to be used for the row description.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23530810623555036)
+,p_plugin_id=>wwv_flow_imp.id(23528837770555025)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>5
+,p_display_sequence=>50
+,p_static_id=>'DISPLAY_AVATAR'
+,p_prompt=>'Display Avatar'
+,p_attribute_type=>'CHECKBOX'
+,p_is_required=>false
+,p_default_value=>'N'
+,p_demo_value=>'Y'
+,p_escape_mode=>'ATTR'
+,p_is_translatable=>false
+,p_help_text=>'Specify whether to display or hide the avatar for each row. When set to Yes, an avatar will be displayed with the assigned image, icon, or initials. When set to No, no avatar will be displayed.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23531073667555038)
+,p_plugin_id=>wwv_flow_imp.id(23528837770555025)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>6
+,p_display_sequence=>60
+,p_static_id=>'DISPLAY_BADGE'
+,p_prompt=>'Display Badge'
+,p_attribute_type=>'CHECKBOX'
+,p_is_required=>false
+,p_default_value=>'N'
+,p_demo_value=>'Y'
+,p_escape_mode=>'ATTR'
+,p_is_translatable=>false
+,p_help_text=>'Specify whether to display or hide the badge for each row. When set to Yes, a badge will be displayed in each row. When set to No, no badge will be displayed.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23531431760555039)
+,p_plugin_id=>wwv_flow_imp.id(23528837770555025)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>7
+,p_display_sequence=>70
+,p_static_id=>'AVATAR_TYPE'
+,p_prompt=>'Type'
+,p_attribute_type=>'SELECT LIST'
+,p_is_required=>true
+,p_default_value=>'icon'
+,p_demo_value=>'icon'
+,p_escape_mode=>'HTML'
+,p_is_translatable=>false
+,p_depending_on_attribute_id=>wwv_flow_imp.id(23530810623555036)
+,p_depending_on_has_to_exist=>true
+,p_depending_on_condition_type=>'EQUALS'
+,p_depending_on_expression=>'Y'
+,p_lov_type=>'STATIC'
+,p_attribute_group_id=>wwv_flow_imp.id(2170612402266661979)
+,p_help_text=>'Select the type of content that will be displayed in the avatar.'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23531694876555040)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23531431760555039)
+,p_display_sequence=>10
+,p_display_value=>'Image'
+,p_return_value=>'image'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23532131903555042)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23531431760555039)
+,p_display_sequence=>20
+,p_display_value=>'Initials'
+,p_return_value=>'initials'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23532463997555043)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23531431760555039)
+,p_display_sequence=>30
+,p_display_value=>'Icon'
+,p_return_value=>'icon'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23532869419555045)
+,p_plugin_id=>wwv_flow_imp.id(23528837770555025)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>8
+,p_display_sequence=>80
+,p_static_id=>'AVATAR_IMAGE'
+,p_prompt=>'Image'
+,p_attribute_type=>'MEDIA'
+,p_is_required=>true
+,p_escape_mode=>'ATTR'
+,p_is_translatable=>false
+,p_depending_on_attribute_id=>wwv_flow_imp.id(23531431760555039)
+,p_depending_on_has_to_exist=>true
+,p_depending_on_condition_type=>'EQUALS'
+,p_depending_on_expression=>'image'
+,p_attribute_group_id=>wwv_flow_imp.id(2170612402266661979)
+,p_help_text=>wwv_flow_string.join(wwv_flow_t_varchar2(
+'
Use the Media popup dialog to select a source for the avatar image.
',
+'',
+'
Available options include:',
+'
',
+'
URL
',
+'
BLOB Column
',
+'
URL Column
',
+'
',
+''))
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23533187338555046)
+,p_plugin_id=>wwv_flow_imp.id(23528837770555025)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>9
+,p_display_sequence=>115
+,p_static_id=>'AVATAR_DESCRIPTION'
+,p_prompt=>'Description'
+,p_attribute_type=>'TEXT'
+,p_is_required=>false
+,p_escape_mode=>'ATTR'
+,p_is_translatable=>true
+,p_attribute_group_id=>wwv_flow_imp.id(2170612402266661979)
+,p_help_text=>'Enter a short description of the image/icon or select a source column from the quick pick options. This will be used as title & alt text for the avatar image/icon.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23533504821555048)
+,p_plugin_id=>wwv_flow_imp.id(23528837770555025)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>10
+,p_display_sequence=>100
+,p_static_id=>'AVATAR_INITIALS'
+,p_prompt=>'Initials'
+,p_attribute_type=>'SESSION STATE VALUE'
+,p_is_required=>true
+,p_escape_mode=>'STRIPHTML'
+,p_column_data_types=>'VARCHAR2'
+,p_is_translatable=>false
+,p_depending_on_attribute_id=>wwv_flow_imp.id(23531431760555039)
+,p_depending_on_has_to_exist=>true
+,p_depending_on_condition_type=>'EQUALS'
+,p_depending_on_expression=>'initials'
+,p_attribute_group_id=>wwv_flow_imp.id(2170612402266661979)
+,p_help_text=>'Select the source column to be displayed within each avatar. Only varchar2 data types are supported.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23533817133555049)
+,p_plugin_id=>wwv_flow_imp.id(23528837770555025)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>11
+,p_display_sequence=>110
+,p_static_id=>'AVATAR_ICON'
+,p_prompt=>'Icon'
+,p_attribute_type=>'ICON'
+,p_is_required=>true
+,p_default_value=>'fa-user'
+,p_escape_mode=>'ATTR'
+,p_is_translatable=>false
+,p_depending_on_attribute_id=>wwv_flow_imp.id(23531431760555039)
+,p_depending_on_has_to_exist=>true
+,p_depending_on_condition_type=>'EQUALS'
+,p_depending_on_expression=>'icon'
+,p_attribute_group_id=>wwv_flow_imp.id(2170612402266661979)
+,p_help_text=>'Enter an icon class or use the Pick Icon dialog to select the icon you want to add to display in the avatar.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23534127667555050)
+,p_plugin_id=>wwv_flow_imp.id(23528837770555025)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>12
+,p_display_sequence=>120
+,p_static_id=>'AVATAR_SHAPE'
+,p_prompt=>'Shape'
+,p_attribute_type=>'SELECT LIST'
+,p_is_required=>true
+,p_default_value=>'t-Avatar--circle'
+,p_escape_mode=>'ATTR'
+,p_is_translatable=>false
+,p_depending_on_attribute_id=>wwv_flow_imp.id(23530810623555036)
+,p_depending_on_has_to_exist=>true
+,p_depending_on_condition_type=>'EQUALS'
+,p_depending_on_expression=>'Y'
+,p_lov_type=>'STATIC'
+,p_attribute_group_id=>wwv_flow_imp.id(2170612402266661979)
+,p_help_text=>'Select the shape of the avatar. Default inherits the shape set by the containing template.'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23534377053555052)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23534127667555050)
+,p_display_sequence=>10
+,p_display_value=>'Rounded'
+,p_return_value=>'t-Avatar--rounded'
+,p_help_text=>'Displayed within a square with rounded corners.'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23534763652555053)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23534127667555050)
+,p_display_sequence=>20
+,p_display_value=>'Circular'
+,p_return_value=>'t-Avatar--circle'
+,p_help_text=>'Displayed within a circular shape.'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23535147952555054)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23534127667555050)
+,p_display_sequence=>30
+,p_display_value=>'Square'
+,p_return_value=>'t-Avatar--square'
+,p_help_text=>'Displayed within a square shape.'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23535555164555056)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23534127667555050)
+,p_display_sequence=>40
+,p_display_value=>'No Shape'
+,p_return_value=>'t-Avatar--noShape'
+,p_help_text=>'Displayed inline without a containing shape.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23535983658555058)
+,p_plugin_id=>wwv_flow_imp.id(23528837770555025)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>13
+,p_display_sequence=>130
+,p_static_id=>'BADGE_LABEL'
+,p_prompt=>'Label'
+,p_attribute_type=>'TEXT'
+,p_is_required=>true
+,p_escape_mode=>'RAW'
+,p_is_translatable=>true
+,p_depending_on_attribute_id=>wwv_flow_imp.id(23531073667555038)
+,p_depending_on_has_to_exist=>true
+,p_depending_on_condition_type=>'EQUALS'
+,p_depending_on_expression=>'Y'
+,p_attribute_group_id=>wwv_flow_imp.id(2170611847254661978)
+,p_help_text=>'Enter a value for the badge label or select a source column from the quick pick options.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23536313908555059)
+,p_plugin_id=>wwv_flow_imp.id(23528837770555025)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>14
+,p_display_sequence=>140
+,p_static_id=>'BADGE_VALUE'
+,p_prompt=>'Value'
+,p_attribute_type=>'SESSION STATE VALUE'
+,p_is_required=>true
+,p_demo_value=>'Closed'
+,p_escape_mode=>'STRIPHTML'
+,p_column_data_types=>'VARCHAR2:NUMBER:DATE:INTERVAL_Y2M:INTERVAL_D2S'
+,p_is_translatable=>false
+,p_depending_on_attribute_id=>wwv_flow_imp.id(23531073667555038)
+,p_depending_on_has_to_exist=>true
+,p_depending_on_condition_type=>'EQUALS'
+,p_depending_on_expression=>'Y'
+,p_attribute_group_id=>wwv_flow_imp.id(2170611847254661978)
+,p_help_text=>'Select a source column for the badge value.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23536564664555060)
+,p_plugin_id=>wwv_flow_imp.id(23528837770555025)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>15
+,p_display_sequence=>150
+,p_static_id=>'BADGE_STATE'
+,p_prompt=>'State'
+,p_attribute_type=>'SESSION STATE VALUE'
+,p_is_required=>false
+,p_demo_value=>'is-removed'
+,p_escape_mode=>'ATTR'
+,p_column_data_types=>'VARCHAR2'
+,p_is_translatable=>false
+,p_depending_on_attribute_id=>wwv_flow_imp.id(23531073667555038)
+,p_depending_on_has_to_exist=>true
+,p_depending_on_condition_type=>'EQUALS'
+,p_depending_on_expression=>'Y'
+,p_attribute_group_id=>wwv_flow_imp.id(2170611847254661978)
+,p_help_text=>'Select the source column for the state of the badge. Substitute column value with "danger", "warning", "success" or "info" for default styling.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23536933877555061)
+,p_plugin_id=>wwv_flow_imp.id(23528837770555025)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>16
+,p_display_sequence=>160
+,p_static_id=>'BADGE_ICON'
+,p_prompt=>'Icon'
+,p_attribute_type=>'ICON'
+,p_is_required=>false
+,p_demo_value=>'fa-check-circle-o'
+,p_escape_mode=>'ATTR'
+,p_is_translatable=>false
+,p_depending_on_attribute_id=>wwv_flow_imp.id(23531073667555038)
+,p_depending_on_has_to_exist=>true
+,p_depending_on_condition_type=>'EQUALS'
+,p_depending_on_expression=>'Y'
+,p_attribute_group_id=>wwv_flow_imp.id(2170611847254661978)
+,p_help_text=>'Enter an icon class or use the Pick Icon dialog to select the icon you want to add to display in the badge.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23537229653555063)
+,p_plugin_id=>wwv_flow_imp.id(23528837770555025)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>17
+,p_display_sequence=>170
+,p_static_id=>'BADGE_LABEL_DISPLAY'
+,p_prompt=>'Display Label'
+,p_attribute_type=>'CHECKBOX'
+,p_is_required=>false
+,p_default_value=>'N'
+,p_escape_mode=>'ATTR'
+,p_is_translatable=>false
+,p_depending_on_attribute_id=>wwv_flow_imp.id(23531073667555038)
+,p_depending_on_has_to_exist=>true
+,p_depending_on_condition_type=>'EQUALS'
+,p_depending_on_expression=>'Y'
+,p_attribute_group_id=>wwv_flow_imp.id(2170611847254661978)
+,p_help_text=>'Specify whether to display or hide the badge label. When set to Yes, the badge label will be displayed in addition to the badge value. When set to No, only the badge value will be displayed.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23537514478555065)
+,p_plugin_id=>wwv_flow_imp.id(23528837770555025)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>18
+,p_display_sequence=>180
+,p_static_id=>'BADGE_STYLE'
+,p_prompt=>'Style'
+,p_attribute_type=>'SELECT LIST'
+,p_is_required=>false
+,p_escape_mode=>'ATTR'
+,p_is_translatable=>false
+,p_depending_on_attribute_id=>wwv_flow_imp.id(23531073667555038)
+,p_depending_on_has_to_exist=>true
+,p_depending_on_condition_type=>'EQUALS'
+,p_depending_on_expression=>'Y'
+,p_lov_type=>'STATIC'
+,p_attribute_group_id=>wwv_flow_imp.id(2170611847254661978)
+,p_null_text=>'Default'
+,p_help_text=>'Select the badge style. Default inherits the style set by the containing template.'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23537791136555066)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23537514478555065)
+,p_display_sequence=>10
+,p_display_value=>'Subtle'
+,p_return_value=>'t-Badge--subtle'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23538142133555067)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23537514478555065)
+,p_display_sequence=>20
+,p_display_value=>'Outline'
+,p_return_value=>'t-Badge--outline'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23538561483555069)
+,p_plugin_id=>wwv_flow_imp.id(23528837770555025)
+,p_attribute_scope=>'COMPONENT'
+,p_attribute_sequence=>19
+,p_display_sequence=>190
+,p_static_id=>'BADGE_SHAPE'
+,p_prompt=>'Shape'
+,p_attribute_type=>'SELECT LIST'
+,p_is_required=>false
+,p_escape_mode=>'HTML'
+,p_is_translatable=>false
+,p_depending_on_attribute_id=>wwv_flow_imp.id(23531073667555038)
+,p_depending_on_has_to_exist=>true
+,p_depending_on_condition_type=>'EQUALS'
+,p_depending_on_expression=>'Y'
+,p_lov_type=>'STATIC'
+,p_attribute_group_id=>wwv_flow_imp.id(2170611847254661978)
+,p_null_text=>'Default'
+,p_help_text=>'Select the shape of the badge. Default inherits the shape set by the containing template.'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23538848521555072)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23538561483555069)
+,p_display_sequence=>10
+,p_display_value=>'Rounded'
+,p_return_value=>'t-Badge--rounded'
+,p_help_text=>'Displayed with rounded corners.'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23539305044555074)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23538561483555069)
+,p_display_sequence=>20
+,p_display_value=>'Circular'
+,p_return_value=>'t-Badge--circle'
+,p_help_text=>'Displayed with circular edges.'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23539732748555075)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23538561483555069)
+,p_display_sequence=>30
+,p_display_value=>'Square'
+,p_return_value=>'t-Badge--square'
+,p_help_text=>'Displayed with squared edges.'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23540112966555077)
+,p_plugin_id=>wwv_flow_imp.id(23528837770555025)
+,p_attribute_scope=>'REPORT'
+,p_attribute_sequence=>20
+,p_display_sequence=>200
+,p_static_id=>'STYLE'
+,p_prompt=>'Style'
+,p_attribute_type=>'SELECT LIST'
+,p_is_required=>false
+,p_escape_mode=>'ATTR'
+,p_is_translatable=>false
+,p_lov_type=>'STATIC'
+,p_null_text=>'Default'
+,p_help_text=>'Set the style of timeline items.'
+);
+wwv_flow_imp_shared.create_plugin_attr_value(
+ p_id=>wwv_flow_imp.id(23540388489555078)
+,p_plugin_attribute_id=>wwv_flow_imp.id(23540112966555077)
+,p_display_sequence=>10
+,p_display_value=>'Compact'
+,p_return_value=>'t-Timeline--compact'
+);
+wwv_flow_imp_shared.create_plugin_attribute(
+ p_id=>wwv_flow_imp.id(23540817408555080)
+,p_plugin_id=>wwv_flow_imp.id(23528837770555025)
+,p_attribute_scope=>'REPORT'
+,p_attribute_sequence=>21
+,p_display_sequence=>210
+,p_static_id=>'APPLY_THEME_COLORS'
+,p_prompt=>'Apply Theme Colors'
+,p_attribute_type=>'CHECKBOX'
+,p_is_required=>false
+,p_default_value=>'Y'
+,p_demo_value=>'Y'
+,p_escape_mode=>'ATTR'
+,p_is_translatable=>false
+,p_help_text=>'Specify whether to use the Universal Theme colors for avatar and badge row items. When set to Yes, the u-colors class will be applied to each row. When set to No, a default color will be used instead.'
+);
+wwv_flow_imp_shared.create_plugin_act_position(
+ p_id=>wwv_flow_imp.id(1818381747452870565)
+,p_plugin_id=>wwv_flow_imp.id(23528837770555025)
+,p_name=>'Title Link'
+,p_static_id=>'TITLE_LINK'
+,p_display_sequence=>25
+,p_type=>'LINK'
+);
+wwv_flow_imp_shared.create_plugin_act_position(
+ p_id=>wwv_flow_imp.id(1932793110441134166)
+,p_plugin_id=>wwv_flow_imp.id(23528837770555025)
+,p_name=>'User Name Link'
+,p_static_id=>'USER_NAME_LINK'
+,p_display_sequence=>15
+,p_type=>'LINK'
+);
+wwv_flow_imp_shared.create_plugin_act_position(
+ p_id=>wwv_flow_imp.id(2051824357415438607)
+,p_plugin_id=>wwv_flow_imp.id(23528837770555025)
+,p_name=>'Avatar Link'
+,p_static_id=>'AVATAR_LINK'
+,p_display_sequence=>10
+,p_type=>'LINK'
+);
+end;
+/
+prompt --application/user_interfaces/combined_files
+begin
+null;
+end;
+/
+prompt --application/pages/page_00000
+begin
+wwv_flow_imp_page.create_page(
+ p_id=>0
+,p_name=>'Global Page'
+,p_step_title=>'Global Page'
+,p_autocomplete_on_off=>'OFF'
+,p_page_template_options=>'#DEFAULT#'
+,p_protection_level=>'D'
+,p_page_component_map=>'14'
+);
+end;
+/
+prompt --application/pages/page_00001
+begin
+wwv_flow_imp_page.create_page(
+ p_id=>1
+,p_name=>'Home'
+,p_alias=>'HOME'
+,p_step_title=>'EASY-RAG-IN-A-BOX'
+,p_warn_on_unsaved_changes=>'N'
+,p_autocomplete_on_off=>'OFF'
+,p_inline_css=>wwv_flow_string.join(wwv_flow_t_varchar2(
+'.my-norm-button {',
+' background-color: #007bff; /* Change to desired color */',
+' color: white; /* Text color */',
+' border: none; /* Remove border */',
+' padding: 10px 20px; /* Optional: adjust padding */',
+' border-radius: 5px; /* Optional: rounded corners */',
+' font-size: 14px; /* Optional: adjust font size */',
+' cursor: pointer; /* Add a pointer cursor */',
+'}',
+'',
+'.my-green-button {',
+' background-color: #0dff00; /* Change to desired color */',
+' color: black; /* Text color */',
+' border: none; /* Remove border */',
+' padding: 10px 20px; /* Optional: adjust padding */',
+' border-radius: 5px; /* Optional: rounded corners */',
+' font-size: 14px; /* Optional: adjust font size */',
+' cursor: pointer; /* Add a pointer cursor */',
+'}',
+'',
+'.my-norm-button:hover {',
+' background-color: #0056b3; /* Change hover color */',
+'}',
+'',
+'.my-alarm-button {',
+' background-color: hsl(0, 100%, 50%); /* Change to desired color */',
+' color: white; /* Text color */',
+' border: none; /* Remove border */',
+' padding: 10px 20px; /* Optional: adjust padding */',
+' border-radius: 5px; /* Optional: rounded corners */',
+' font-size: 14px; /* Optional: adjust font size */',
+' cursor: pointer; /* Add a pointer cursor */',
+'}',
+'',
+'.my-alarm-button:hover {',
+' background-color: hsl(0, 100%, 35%); /* Change hover color */',
+'}',
+'',
+'.my-warn-button {',
+' background-color: hsl(49, 100%, 50%); /* Change to desired color */',
+' color: black; /* Text color */',
+' border: none; /* Remove border */',
+' padding: 10px 20px; /* Optional: adjust padding */',
+' border-radius: 5px; /* Optional: rounded corners */',
+' font-size: 14px; /* Optional: adjust font size */',
+' cursor: pointer; /* Add a pointer cursor */',
+'}',
+'',
+'.my-warn-button:hover {',
+' background-color: hsl(49, 100%, 35%); /* Change hover color */',
+'}'))
+,p_page_template_options=>'#DEFAULT#'
+,p_protection_level=>'C'
+,p_page_component_map=>'13'
+);
+wwv_flow_imp_page.create_page_plug(
+ p_id=>wwv_flow_imp.id(8141908291080750)
+,p_plug_name=>'Run SQL Results'
+,p_region_template_options=>'#DEFAULT#:is-collapsed:t-Region--scrollBody'
+,p_plug_template=>wwv_flow_imp.id(23333789309554048)
+,p_plug_display_sequence=>100
+,p_location=>null
+,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
+ 'expand_shortcuts', 'N',
+ 'output_as', 'HTML')).to_clob
+);
+wwv_flow_imp_page.create_page_plug(
+ p_id=>wwv_flow_imp.id(23579173280555436)
+,p_plug_name=>'EASY-RAG-IN-A-BOX'
+,p_region_template_options=>'#DEFAULT#'
+,p_plug_template=>wwv_flow_imp.id(23348222400554101)
+,p_plug_display_sequence=>10
+,p_plug_display_point=>'REGION_POSITION_01'
+,p_location=>null
+,p_plug_query_num_rows=>15
+,p_region_image=>'#APP_FILES#icons/app-icon-512.png'
+,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
+ 'expand_shortcuts', 'N',
+ 'output_as', 'HTML',
+ 'show_line_breaks', 'Y')).to_clob
+);
+wwv_flow_imp_page.create_page_button(
+ p_id=>wwv_flow_imp.id(23583337817975334)
+,p_button_sequence=>60
+,p_button_name=>'P1_GET_ANSWER'
+,p_button_action=>'SUBMIT'
+,p_button_template_options=>'#DEFAULT#:t-Button--iconLeft'
+,p_button_template_id=>wwv_flow_imp.id(23455171610554498)
+,p_button_image_alt=>'Get Answer'
+,p_show_processing=>'Y'
+,p_button_css_classes=>'my-norm-button'
+,p_icon_css_classes=>'fa-ai-prompt'
+,p_grid_new_row=>'Y'
+,p_grid_column_span=>1
+);
+wwv_flow_imp_page.create_page_button(
+ p_id=>wwv_flow_imp.id(24150652272880450)
+,p_button_sequence=>70
+,p_button_name=>'P1_CLEAR'
+,p_button_action=>'SUBMIT'
+,p_button_template_options=>'#DEFAULT#:t-Button--iconLeft'
+,p_button_template_id=>wwv_flow_imp.id(23455171610554498)
+,p_button_is_hot=>'Y'
+,p_button_image_alt=>'Clear'
+,p_button_css_classes=>'my-warn-button'
+,p_icon_css_classes=>'fa-receipt-x'
+,p_grid_new_row=>'N'
+,p_grid_column_span=>2
+,p_grid_column=>5
+);
+wwv_flow_imp_page.create_page_button(
+ p_id=>wwv_flow_imp.id(9910749512248901)
+,p_button_sequence=>80
+,p_button_name=>'P1_SHOWDOC'
+,p_button_action=>'REDIRECT_PAGE'
+,p_button_template_options=>'#DEFAULT#:t-Button--iconLeft'
+,p_button_template_id=>wwv_flow_imp.id(23455171610554498)
+,p_button_image_alt=>'Show Documentation'
+,p_button_redirect_url=>'f?p=&APP_ID.:4:&SESSION.::&DEBUG.:::'
+,p_button_css_classes=>'my-green-button'
+,p_icon_css_classes=>'fa-book'
+,p_grid_new_row=>'N'
+,p_grid_column=>8
+);
+wwv_flow_imp_page.create_page_item(
+ p_id=>wwv_flow_imp.id(8137270058080703)
+,p_name=>'P1_RUNSQL'
+,p_data_type=>'CLOB'
+,p_item_sequence=>10
+,p_item_plug_id=>wwv_flow_imp.id(8141908291080750)
+,p_prompt=>'Run SQL'
+,p_display_as=>'NATIVE_TEXTAREA'
+,p_cSize=>30
+,p_cHeight=>30
+,p_field_template=>wwv_flow_imp.id(23452546216554478)
+,p_item_template_options=>'#DEFAULT#'
+,p_attribute_01=>'Y'
+,p_attribute_02=>'N'
+,p_attribute_03=>'N'
+,p_attribute_04=>'BOTH'
+);
+wwv_flow_imp_page.create_page_item(
+ p_id=>wwv_flow_imp.id(8137397009080704)
+,p_name=>'P1_RUN_RUNSQL'
+,p_item_sequence=>40
+,p_item_default=>'N'
+,p_prompt=>'Show RUNSQL'
+,p_display_as=>'NATIVE_SINGLE_CHECKBOX'
+,p_begin_on_new_line=>'N'
+,p_field_template=>wwv_flow_imp.id(23452546216554478)
+,p_item_template_options=>'#DEFAULT#'
+,p_attribute_01=>'Y'
+);
+wwv_flow_imp_page.create_page_item(
+ p_id=>wwv_flow_imp.id(23582256410975323)
+,p_name=>'P1_ANSWER'
+,p_data_type=>'CLOB'
+,p_item_sequence=>90
+,p_prompt=>'RAG Answer'
+,p_display_as=>'NATIVE_TEXTAREA'
+,p_cSize=>30
+,p_cHeight=>20
+,p_field_template=>wwv_flow_imp.id(23452546216554478)
+,p_item_template_options=>'#DEFAULT#'
+,p_attribute_01=>'Y'
+,p_attribute_02=>'N'
+,p_attribute_03=>'N'
+,p_attribute_04=>'BOTH'
+);
+wwv_flow_imp_page.create_page_item(
+ p_id=>wwv_flow_imp.id(23582337666975324)
+,p_name=>'P1_QUESTION'
+,p_item_sequence=>30
+,p_prompt=>'Your Question'
+,p_display_as=>'NATIVE_TEXT_FIELD'
+,p_cSize=>30
+,p_colspan=>6
+,p_field_template=>wwv_flow_imp.id(23453863294554484)
+,p_item_template_options=>'#DEFAULT#'
+,p_help_text=>'Entert your Query to the system here.'
+,p_attribute_01=>'N'
+,p_attribute_02=>'N'
+,p_attribute_04=>'TEXT'
+,p_attribute_05=>'BOTH'
+);
+wwv_flow_imp_page.create_page_da_event(
+ p_id=>wwv_flow_imp.id(8140615207080737)
+,p_name=>'New'
+,p_event_sequence=>30
+,p_bind_type=>'bind'
+,p_bind_event_type=>'ready'
+);
+wwv_flow_imp_page.create_page_da_action(
+ p_id=>wwv_flow_imp.id(8140748103080738)
+,p_event_id=>wwv_flow_imp.id(8140615207080737)
+,p_event_result=>'TRUE'
+,p_action_sequence=>10
+,p_execute_on_page_init=>'Y'
+,p_action=>'NATIVE_EXECUTE_PLSQL_CODE'
+,p_attribute_01=>wwv_flow_string.join(wwv_flow_t_varchar2(
+'declare',
+' cnt number;',
+'begin',
+' cnt := eriab_check_status();',
+'',
+' if (cnt = 0) then',
+' if ((:P1_ANSWER = '''') or (:P1_ANSWER is NULL)) then',
+' :P1_ANSWER := ''Please ask your question in the field above...'';',
+' end if;',
+' elsif ( cnt = 1) then',
+' :P1_ANSWER := ''**''||chr(10)||''** Please navigate to the setting page, fill in the credentials, and create the index using the appropriate button.''||chr(10)||''**'';',
+' else',
+' :P1_ANSWER := ''**''||chr(10)||''** Please navigate to the setting page and create the index using the appropriate button.''||chr(10)||''**'';',
+' end if;',
+'end;'))
+,p_attribute_03=>'P1_ANSWER'
+,p_attribute_04=>'N'
+,p_attribute_05=>'PLSQL'
+,p_wait_for_result=>'Y'
+);
+wwv_flow_imp_page.create_page_process(
+ p_id=>wwv_flow_imp.id(24151391697880457)
+,p_process_sequence=>10
+,p_process_point=>'ON_SUBMIT_BEFORE_COMPUTATION'
+,p_process_type=>'NATIVE_PLSQL'
+,p_process_name=>'GetAnswer'
+,p_process_sql_clob=>wwv_flow_string.join(wwv_flow_t_varchar2(
+'declare',
+' tc CLOB;',
+'begin',
+' ',
+' if (:P1_QUESTION = '''') then',
+' :P1_ANSWER := ''Empty Question?'';',
+' return;',
+' end if;',
+'',
+' eriab_get_answer(:P1_QUESTION, :P1_ANSWER, ''narrate'');',
+' ',
+' if (:P1_RUN_RUNSQL = ''Y'') then',
+' eriab_get_answer(:P1_QUESTION, TC, ''runsql'');',
+'',
+' SELECT json_serialize( tc returning clob pretty) as json_text',
+' into :P1_RUNSQL',
+' FROM dual;',
+' else',
+' :P1_RUNSQL := '''';',
+' end if;',
+'end;'))
+,p_process_clob_language=>'PLSQL'
+,p_error_display_location=>'INLINE_IN_NOTIFICATION'
+,p_process_when_button_id=>wwv_flow_imp.id(23583337817975334)
+,p_internal_uid=>8744655342471736
+);
+wwv_flow_imp_page.create_page_process(
+ p_id=>wwv_flow_imp.id(24151447251880458)
+,p_process_sequence=>20
+,p_process_point=>'ON_SUBMIT_BEFORE_COMPUTATION'
+,p_process_type=>'NATIVE_PLSQL'
+,p_process_name=>'ClearPage'
+,p_process_sql_clob=>wwv_flow_string.join(wwv_flow_t_varchar2(
+'begin',
+' :p1_question := '''';',
+' :p1_answer := '''';',
+' :P1_RUNSQL := '''';',
+' :p1_run_runsql := ''N'';',
+'end;'))
+,p_process_clob_language=>'PLSQL'
+,p_error_display_location=>'INLINE_IN_NOTIFICATION'
+,p_process_when_button_id=>wwv_flow_imp.id(24150652272880450)
+,p_internal_uid=>8744710896471737
+);
+end;
+/
+prompt --application/pages/page_00002
+begin
+wwv_flow_imp_page.create_page(
+ p_id=>2
+,p_name=>'Settings'
+,p_alias=>'RIAB_SETTINGS'
+,p_step_title=>'Settings'
+,p_warn_on_unsaved_changes=>'N'
+,p_autocomplete_on_off=>'OFF'
+,p_inline_css=>wwv_flow_string.join(wwv_flow_t_varchar2(
+'.my-norm-button {',
+' background-color: #007bff; /* Change to desired color */',
+' color: white; /* Text color */',
+' border: none; /* Remove border */',
+' padding: 10px 20px; /* Optional: adjust padding */',
+' border-radius: 5px; /* Optional: rounded corners */',
+' font-size: 14px; /* Optional: adjust font size */',
+' cursor: pointer; /* Add a pointer cursor */',
+'}',
+'',
+'.my-norm-button:hover {',
+' background-color: #0056b3; /* Change hover color */',
+'}',
+'',
+'.my-alarm-button {',
+' background-color: hsl(0, 100%, 50%); /* Change to desired color */',
+' color: white; /* Text color */',
+' border: none; /* Remove border */',
+' padding: 10px 20px; /* Optional: adjust padding */',
+' border-radius: 5px; /* Optional: rounded corners */',
+' font-size: 14px; /* Optional: adjust font size */',
+' cursor: pointer; /* Add a pointer cursor */',
+'}',
+'',
+'.my-alarm-button:hover {',
+' background-color: hsl(0, 100%, 35%); /* Change hover color */',
+'}',
+'',
+'.my-warn-button {',
+' background-color: hsl(49, 100%, 50%); /* Change to desired color */',
+' color: black; /* Text color */',
+' border: none; /* Remove border */',
+' padding: 10px 20px; /* Optional: adjust padding */',
+' border-radius: 5px; /* Optional: rounded corners */',
+' font-size: 14px; /* Optional: adjust font size */',
+' cursor: pointer; /* Add a pointer cursor */',
+'}',
+'',
+'.my-warn-button:hover {',
+' background-color: hsl(49, 100%, 35%); /* Change hover color */',
+'}',
+'',
+'tt {',
+' font-family: "Lucida Console", "Menlo", "Monaco", "Courier", monospace;',
+'}'))
+,p_page_template_options=>'#DEFAULT#'
+,p_protection_level=>'C'
+,p_page_component_map=>'17'
+);
+wwv_flow_imp_page.create_page_plug(
+ p_id=>wwv_flow_imp.id(23585821711975358)
+,p_plug_name=>'Settings'
+,p_region_template_options=>'#DEFAULT#:t-Region--scrollBody'
+,p_plug_template=>wwv_flow_imp.id(23381448297554209)
+,p_plug_display_sequence=>10
+,p_location=>null
+,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
+ 'expand_shortcuts', 'N',
+ 'output_as', 'HTML')).to_clob
+);
+wwv_flow_imp_page.create_page_plug(
+ p_id=>wwv_flow_imp.id(8138263499080713)
+,p_plug_name=>'Credentials Section'
+,p_parent_plug_id=>wwv_flow_imp.id(23585821711975358)
+,p_region_template_options=>'#DEFAULT#:t-Region--scrollBody'
+,p_plug_template=>wwv_flow_imp.id(23381448297554209)
+,p_plug_display_sequence=>20
+,p_location=>null
+,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
+ 'expand_shortcuts', 'N',
+ 'output_as', 'HTML')).to_clob
+);
+wwv_flow_imp_page.create_page_plug(
+ p_id=>wwv_flow_imp.id(23586031474975360)
+,p_plug_name=>'Chunking Settings'
+,p_parent_plug_id=>wwv_flow_imp.id(23585821711975358)
+,p_region_template_options=>'#DEFAULT#:t-Region--scrollBody'
+,p_plug_template=>wwv_flow_imp.id(23381448297554209)
+,p_plug_display_sequence=>30
+,p_location=>null
+,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
+ 'expand_shortcuts', 'N',
+ 'output_as', 'HTML')).to_clob
+);
+wwv_flow_imp_page.create_page_plug(
+ p_id=>wwv_flow_imp.id(23586234454975362)
+,p_plug_name=>'Index Infos'
+,p_parent_plug_id=>wwv_flow_imp.id(23585821711975358)
+,p_region_template_options=>'#DEFAULT#:t-Region--scrollBody'
+,p_plug_template=>wwv_flow_imp.id(23381448297554209)
+,p_plug_display_sequence=>50
+,p_location=>null
+,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
+ 'expand_shortcuts', 'N',
+ 'output_as', 'HTML')).to_clob
+);
+wwv_flow_imp_page.create_page_plug(
+ p_id=>wwv_flow_imp.id(23586652070975367)
+,p_plug_name=>'Index Actions'
+,p_parent_plug_id=>wwv_flow_imp.id(23585821711975358)
+,p_region_template_options=>'#DEFAULT#:t-Region--scrollBody'
+,p_plug_template=>wwv_flow_imp.id(23381448297554209)
+,p_plug_display_sequence=>40
+,p_location=>null
+,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
+ 'expand_shortcuts', 'N',
+ 'output_as', 'HTML')).to_clob
+);
+wwv_flow_imp_page.create_page_plug(
+ p_id=>wwv_flow_imp.id(24148842284880432)
+,p_plug_name=>'File Actions'
+,p_title=>'File Actions'
+,p_parent_plug_id=>wwv_flow_imp.id(23585821711975358)
+,p_region_template_options=>'#DEFAULT#:t-Region--scrollBody:margin-top-sm'
+,p_plug_template=>wwv_flow_imp.id(23381448297554209)
+,p_plug_display_sequence=>60
+,p_location=>null
+,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
+ 'expand_shortcuts', 'N',
+ 'output_as', 'HTML')).to_clob
+);
+wwv_flow_imp_page.create_page_plug(
+ p_id=>wwv_flow_imp.id(23588986295046114)
+,p_plug_name=>'Breadcrumb'
+,p_region_template_options=>'#DEFAULT#:t-BreadcrumbRegion--useBreadcrumbTitle'
+,p_component_template_options=>'#DEFAULT#'
+,p_plug_template=>wwv_flow_imp.id(23393919873554246)
+,p_plug_display_sequence=>10
+,p_plug_display_point=>'REGION_POSITION_01'
+,p_menu_id=>wwv_flow_imp.id(23278331258553784)
+,p_plug_source_type=>'NATIVE_BREADCRUMB'
+,p_menu_template_id=>wwv_flow_imp.id(23456725981554506)
+);
+wwv_flow_imp_page.create_page_button(
+ p_id=>wwv_flow_imp.id(8137941886080710)
+,p_button_sequence=>10
+,p_button_plug_id=>wwv_flow_imp.id(8138263499080713)
+,p_button_name=>'EnterCredentials'
+,p_button_action=>'REDIRECT_PAGE'
+,p_button_template_options=>'#DEFAULT#:t-Button--iconLeft'
+,p_button_template_id=>wwv_flow_imp.id(23455171610554498)
+,p_button_is_hot=>'Y'
+,p_button_image_alt=>'Enter Credentials'
+,p_button_redirect_url=>'f?p=&APP_ID.:3:&SESSION.::&DEBUG.:::'
+,p_button_css_classes=>'my-norm-button'
+,p_icon_css_classes=>'fa-gears'
+,p_grid_new_row=>'Y'
+);
+wwv_flow_imp_page.create_page_button(
+ p_id=>wwv_flow_imp.id(23582716730975327)
+,p_button_sequence=>10
+,p_button_plug_id=>wwv_flow_imp.id(23586652070975367)
+,p_button_name=>'RECREATE_INDEX'
+,p_button_action=>'DEFINED_BY_DA'
+,p_button_template_options=>'#DEFAULT#:t-Button--iconLeft'
+,p_button_template_id=>wwv_flow_imp.id(23455171610554498)
+,p_button_image_alt=>'Recreate Index'
+,p_warn_on_unsaved_changes=>null
+,p_confirm_message=>'Do you really want to recreate the index?'
+,p_confirm_style=>'warning'
+,p_button_css_classes=>'my-alarm-button'
+,p_icon_css_classes=>'fa-radiation'
+,p_grid_new_row=>'Y'
+,p_grid_column_span=>4
+);
+wwv_flow_imp_page.create_page_button(
+ p_id=>wwv_flow_imp.id(24149095423880434)
+,p_button_sequence=>10
+,p_button_plug_id=>wwv_flow_imp.id(24148842284880432)
+,p_button_name=>'ListSources'
+,p_button_action=>'DEFINED_BY_DA'
+,p_button_template_options=>'#DEFAULT#:t-Button--iconLeft'
+,p_button_template_id=>wwv_flow_imp.id(23455171610554498)
+,p_button_image_alt=>'List Sources'
+,p_warn_on_unsaved_changes=>null
+,p_button_css_classes=>'my-norm-button'
+,p_icon_css_classes=>'fa-files-o'
+,p_grid_new_row=>'Y'
+,p_grid_column_span=>3
+);
+wwv_flow_imp_page.create_page_button(
+ p_id=>wwv_flow_imp.id(23586377755975364)
+,p_button_sequence=>50
+,p_button_plug_id=>wwv_flow_imp.id(23586234454975362)
+,p_button_name=>'IDX_STATUS'
+,p_button_action=>'DEFINED_BY_DA'
+,p_button_template_options=>'#DEFAULT#:t-Button--iconLeft'
+,p_button_template_id=>wwv_flow_imp.id(23455171610554498)
+,p_button_image_alt=>'Idx Status'
+,p_warn_on_unsaved_changes=>null
+,p_button_css_classes=>'my-norm-button'
+,p_icon_css_classes=>'fa-question-square-o'
+,p_grid_new_row=>'N'
+,p_grid_new_column=>'N'
+);
+wwv_flow_imp_page.create_page_button(
+ p_id=>wwv_flow_imp.id(23586878726975369)
+,p_button_sequence=>70
+,p_button_plug_id=>wwv_flow_imp.id(23586234454975362)
+,p_button_name=>'IDX_ACTIVITIES'
+,p_button_static_id=>'idx_errors'
+,p_button_action=>'DEFINED_BY_DA'
+,p_button_template_options=>'#DEFAULT#:t-Button--iconLeft'
+,p_button_template_id=>wwv_flow_imp.id(23455171610554498)
+,p_button_image_alt=>'Show Index Activities'
+,p_warn_on_unsaved_changes=>null
+,p_button_css_classes=>'my-norm-button'
+,p_icon_css_classes=>'fa-medkit'
+,p_grid_new_row=>'N'
+,p_grid_new_column=>'N'
+);
+wwv_flow_imp_page.create_page_button(
+ p_id=>wwv_flow_imp.id(23585038296975351)
+,p_button_sequence=>90
+,p_button_plug_id=>wwv_flow_imp.id(23586031474975360)
+,p_button_name=>'SAVE_PREFS'
+,p_button_action=>'DEFINED_BY_DA'
+,p_button_template_options=>'#DEFAULT#:t-Button--iconLeft'
+,p_button_template_id=>wwv_flow_imp.id(23455171610554498)
+,p_button_image_alt=>'Save All Prefs'
+,p_warn_on_unsaved_changes=>null
+,p_button_css_classes=>'my-norm-button'
+,p_icon_css_classes=>'fa-save-as'
+,p_grid_new_row=>'Y'
+);
+wwv_flow_imp_page.create_page_button(
+ p_id=>wwv_flow_imp.id(24149852351880442)
+,p_button_sequence=>100
+,p_button_plug_id=>wwv_flow_imp.id(23586031474975360)
+,p_button_name=>'RESET_PREFS'
+,p_button_action=>'DEFINED_BY_DA'
+,p_button_template_options=>'#DEFAULT#:t-Button--iconLeft'
+,p_button_template_id=>wwv_flow_imp.id(23455171610554498)
+,p_button_is_hot=>'Y'
+,p_button_image_alt=>'Reset Prefs to DEFAULT'
+,p_warn_on_unsaved_changes=>null
+,p_confirm_message=>'Are you sure you want to reset your Prefs to their default value?'
+,p_confirm_style=>'warning'
+,p_button_css_classes=>'my-warn-button'
+,p_icon_css_classes=>'fa-x-axis'
+,p_grid_new_row=>'N'
+,p_grid_new_column=>'Y'
+);
+wwv_flow_imp_page.create_page_item(
+ p_id=>wwv_flow_imp.id(8137013123080701)
+,p_name=>'P2_REFRESH_RATE'
+,p_is_required=>true
+,p_item_sequence=>20
+,p_item_plug_id=>wwv_flow_imp.id(23586031474975360)
+,p_item_default=>'1440'
+,p_prompt=>'Refresh Rate'
+,p_display_as=>'NATIVE_NUMBER_FIELD'
+,p_cSize=>30
+,p_begin_on_new_line=>'N'
+,p_colspan=>4
+,p_field_template=>wwv_flow_imp.id(23452546216554478)
+,p_item_template_options=>'#DEFAULT#'
+,p_help_text=>'Interval of updating data in the vector store. The unit is minutes.'
+,p_inline_help_text=>'Interval of updating data in the vector store. The unit is minutes.'
+,p_attribute_01=>'10'
+,p_attribute_02=>'1440'
+,p_attribute_03=>'left'
+,p_attribute_04=>'decimal'
+);
+wwv_flow_imp_page.create_page_item(
+ p_id=>wwv_flow_imp.id(8137147167080702)
+,p_name=>'P2_SIM_THR'
+,p_is_required=>true
+,p_item_sequence=>70
+,p_item_plug_id=>wwv_flow_imp.id(23586031474975360)
+,p_item_default=>'0'
+,p_prompt=>'similarity_threshold'
+,p_display_as=>'NATIVE_NUMBER_FIELD'
+,p_cSize=>30
+,p_begin_on_new_line=>'N'
+,p_colspan=>4
+,p_field_template=>wwv_flow_imp.id(23452546216554478)
+,p_item_template_options=>'#DEFAULT#'
+,p_help_text=>wwv_flow_string.join(wwv_flow_t_varchar2(
+'Defines the minimum level of similarity required for two items to be considered a match, useful for filtering results in matching algorithms to ensure relevance.',
+'Default Value: 0'))
+,p_inline_help_text=>'Defines the minimum level of similarity required for two items to be considered a match, useful for filtering results in matching algorithms to ensure relevance.'
+,p_attribute_01=>'0'
+,p_attribute_02=>'1'
+,p_attribute_03=>'left'
+,p_attribute_04=>'decimal'
+);
+wwv_flow_imp_page.create_page_item(
+ p_id=>wwv_flow_imp.id(8140025819080731)
+,p_name=>'P2_OUTPUT'
+,p_data_type=>'CLOB'
+,p_item_sequence=>50
+,p_item_plug_id=>wwv_flow_imp.id(24148842284880432)
+,p_pre_element_text=>''
+,p_post_element_text=>''
+,p_display_as=>'NATIVE_DISPLAY_ONLY'
+,p_colspan=>10
+,p_field_template=>wwv_flow_imp.id(23452470923554478)
+,p_item_template_options=>'#DEFAULT#:t-Form-fieldContainer--normalDisplay'
+,p_attribute_01=>'N'
+,p_attribute_05=>'HTML'
+);
+wwv_flow_imp_page.create_page_item(
+ p_id=>wwv_flow_imp.id(8141378332080744)
+,p_name=>'P2_MATCH_LIMIT'
+,p_item_sequence=>80
+,p_item_plug_id=>wwv_flow_imp.id(23586031474975360)
+,p_prompt=>'match_limit'
+,p_display_as=>'NATIVE_NUMBER_FIELD'
+,p_cSize=>30
+,p_cMaxlength=>2
+,p_colspan=>4
+,p_field_template=>wwv_flow_imp.id(23452546216554478)
+,p_item_template_options=>'#DEFAULT#'
+,p_help_text=>'Specifies the maximum number of results to return in a vector search query, controlling the output size and improving the efficiency of data retrieval operations. Default: 5'
+,p_attribute_03=>'left'
+,p_attribute_04=>'decimal'
+);
+wwv_flow_imp_page.create_page_item(
+ p_id=>wwv_flow_imp.id(23584146351975342)
+,p_name=>'P2_VECTOR_DIM'
+,p_is_required=>true
+,p_item_sequence=>10
+,p_item_plug_id=>wwv_flow_imp.id(23586031474975360)
+,p_item_default=>'1024'
+,p_prompt=>'vector_dimension'
+,p_display_as=>'NATIVE_NUMBER_FIELD'
+,p_cSize=>30
+,p_colspan=>4
+,p_field_template=>wwv_flow_imp.id(23452546216554478)
+,p_item_template_options=>'#DEFAULT#'
+,p_help_text=>'Specifies the number of elements in each vector within the vector store, defining the size and structure of the data representation.'
+,p_inline_help_text=>'Specifies the number of elements in each vector within the vector store, defining the size and structure of the data representation.'
+,p_attribute_03=>'left'
+,p_attribute_04=>'decimal'
+,p_show_quick_picks=>'Y'
+);
+wwv_flow_imp_page.create_page_item(
+ p_id=>wwv_flow_imp.id(23584413050975344)
+,p_name=>'P2_CHUNK_OVERLAP'
+,p_item_sequence=>40
+,p_item_plug_id=>wwv_flow_imp.id(23586031474975360)
+,p_item_default=>'128'
+,p_prompt=>'Chunk Overlap'
+,p_display_as=>'NATIVE_NUMBER_FIELD'
+,p_cSize=>30
+,p_colspan=>4
+,p_field_template=>wwv_flow_imp.id(23452546216554478)
+,p_item_template_options=>'#DEFAULT#'
+,p_help_text=>wwv_flow_string.join(wwv_flow_t_varchar2(
+'Specifies the amount of overlapping characters between adjacent chunks of text. ',
+'This attribute is useful for ensuring contextual continuity and accuracy in text processing by allowing overlaps between segments, which helps prevent loss of contextual information at chunk boundaries.'))
+,p_inline_help_text=>'Specifies the amount of overlapping characters between adjacent chunks of text.'
+,p_attribute_03=>'left'
+,p_attribute_04=>'decimal'
+);
+wwv_flow_imp_page.create_page_item(
+ p_id=>wwv_flow_imp.id(23584438261975345)
+,p_name=>'P2_CHUNK_SIZE'
+,p_item_sequence=>50
+,p_item_plug_id=>wwv_flow_imp.id(23586031474975360)
+,p_item_default=>'1024'
+,p_prompt=>'Chunk Size'
+,p_display_as=>'NATIVE_NUMBER_FIELD'
+,p_cSize=>30
+,p_begin_on_new_line=>'N'
+,p_colspan=>4
+,p_field_template=>wwv_flow_imp.id(23452546216554478)
+,p_item_template_options=>'#DEFAULT#'
+,p_help_text=>wwv_flow_string.join(wwv_flow_t_varchar2(
+'Text size of chunking the input data.',
+'For text data, this means the number of characters. Default value: 1024'))
+,p_inline_help_text=>wwv_flow_string.join(wwv_flow_t_varchar2(
+'Text size of chunking the input data.',
+'For text data, this means the number of characters.'))
+,p_attribute_03=>'left'
+,p_attribute_04=>'decimal'
+);
+wwv_flow_imp_page.create_page_item(
+ p_id=>wwv_flow_imp.id(23584611421975346)
+,p_name=>'P2_VECTOR_DIMM'
+,p_item_sequence=>60
+,p_item_plug_id=>wwv_flow_imp.id(23586031474975360)
+,p_item_default=>'cosine'
+,p_prompt=>'vector_distance_metric'
+,p_display_as=>'NATIVE_POPUP_LOV'
+,p_lov=>'STATIC:cosine;cosine,hamming;hamming,manhattan;manhattan,dot;dot,l2_squared;l2_squared,euclidean;euclidean'
+,p_lov_display_null=>'YES'
+,p_cSize=>30
+,p_colspan=>4
+,p_field_template=>wwv_flow_imp.id(23452546216554478)
+,p_item_template_options=>'#DEFAULT#'
+,p_lov_display_extra=>'YES'
+,p_help_text=>wwv_flow_string.join(wwv_flow_t_varchar2(
+'Measuring distances in a vector space is at the heart of identifying the most relevant results for a given query vector.',
+' That process is very different from the well-known keyword filtering in the relational database world.',
+' When working with vectors, there are several ways you can calculate distances to determine how similar, or dissimilar, two vectors are. Each distance metric is computed using different mathematical formulas.',
+' The time it takes to calculate the distance between two vectors depends on many factors, including the distance metric used as well as the format of the vectors themselves, such as the number of vector dimensions and the vector dimension formats.'
+||' Generally it''s best to match the distance metric you use to the one that was used to train the vector embedding model that generated the vectors.',
+'
',
+'
Euclidean and Euclidean Squared Distances ',
+unistr('Euclidean distance reflects the distance between each of the vectors'' coordinates being compared\2014basically the straight-line distance between two vectors. This is calculated using the Pythagorean theorem applied to the vector''s coordinates (SQRT(SUM(')
+||'(xi-yi)2))).',
+'
',
+'
Cosine Similarity ',
+'One of the most widely used similarity metric, especially in natural language processing (NLP), is cosine similarity, which measures the cosine of the angle between two vectors.',
+'
',
+'
Dot Product Similarity ',
+'The dot product similarity of two vectors can be viewed as multiplying the size of each vector by the cosine of their angle. The corresponding geometrical interpretation of this definition is equivalent to multiplying the size of one of the vectors b'
+||'y the size of the projection of the second vector onto the first one, or vice versa.',
+'
',
+'
Manhattan Distance ',
+'This metric is calculated by summing the distance between the dimensions of the two vectors that you want to compare.',
+'
',
+'
Hamming Distance ',
+'The Hamming distance between two vectors represents the number of dimensions where they differ.',
+'
',
+'
',
+' Default Value: cosine'))
+,p_inline_help_text=>'Specifies the type of distance calculation used to compare vectors in a database, determining how similarity between items is quantified.'
+,p_attribute_01=>'POPUP'
+,p_attribute_02=>'FIRST_ROWSET'
+,p_attribute_04=>'N'
+,p_attribute_05=>'N'
+);
+wwv_flow_imp_page.create_page_item(
+ p_id=>wwv_flow_imp.id(23586302895975363)
+,p_name=>'P2_IDX_STATUS'
+,p_item_sequence=>40
+,p_item_plug_id=>wwv_flow_imp.id(23586234454975362)
+,p_item_default=>'???'
+,p_prompt=>'Index Status'
+,p_display_as=>'NATIVE_DISPLAY_ONLY'
+,p_field_template=>wwv_flow_imp.id(23452546216554478)
+,p_item_template_options=>'#DEFAULT#'
+,p_attribute_01=>'N'
+,p_attribute_02=>'VALUE'
+,p_attribute_04=>'Y'
+,p_attribute_05=>'PLAIN'
+);
+wwv_flow_imp_page.create_page_item(
+ p_id=>wwv_flow_imp.id(23586818433975368)
+,p_name=>'P2_IDX_ERRS'
+,p_data_type=>'CLOB'
+,p_item_sequence=>60
+,p_item_plug_id=>wwv_flow_imp.id(23586234454975362)
+,p_prompt=>'Index Processing Info'
+,p_pre_element_text=>''
+,p_post_element_text=>''
+,p_display_as=>'NATIVE_DISPLAY_ONLY'
+,p_begin_on_new_line=>'N'
+,p_begin_on_new_field=>'N'
+,p_field_template=>wwv_flow_imp.id(23452470923554478)
+,p_item_template_options=>'#DEFAULT#:t-Form-fieldContainer--normalDisplay'
+,p_attribute_01=>'N'
+,p_attribute_05=>'HTML'
+);
+wwv_flow_imp_page.create_page_item(
+ p_id=>wwv_flow_imp.id(24149695540880440)
+,p_name=>'P2_COMMENT'
+,p_item_sequence=>20
+,p_item_plug_id=>wwv_flow_imp.id(23586652070975367)
+,p_prompt=>' Reloading the index will take a few moments, depending on the amount of source files to process and the DB sizing; check the progress of ingesting with the "Index Activities" button below.'
+,p_display_as=>'NATIVE_DISPLAY_ONLY'
+,p_field_template=>wwv_flow_imp.id(23452546216554478)
+,p_item_template_options=>'#DEFAULT#'
+,p_attribute_01=>'N'
+,p_attribute_02=>'VALUE'
+,p_attribute_04=>'Y'
+,p_attribute_05=>'PLAIN'
+);
+wwv_flow_imp_page.create_page_da_event(
+ p_id=>wwv_flow_imp.id(23587011595975370)
+,p_name=>'ShowIdxActs'
+,p_event_sequence=>20
+,p_triggering_element_type=>'BUTTON'
+,p_triggering_button_id=>wwv_flow_imp.id(23586878726975369)
+,p_bind_type=>'bind'
+,p_execution_type=>'IMMEDIATE'
+,p_bind_event_type=>'click'
+);
+wwv_flow_imp_page.create_page_da_action(
+ p_id=>wwv_flow_imp.id(23587075768975371)
+,p_event_id=>wwv_flow_imp.id(23587011595975370)
+,p_event_result=>'TRUE'
+,p_action_sequence=>10
+,p_execute_on_page_init=>'N'
+,p_action=>'NATIVE_SET_VALUE'
+,p_affected_elements_type=>'ITEM'
+,p_affected_elements=>'P2_IDX_ERRS'
+,p_attribute_01=>'FUNCTION_BODY'
+,p_attribute_06=>wwv_flow_string.join(wwv_flow_t_varchar2(
+'declare',
+' t varchar2(256);',
+' s varchar2(256);',
+' cnt number;',
+' tc clob;',
+'begin',
+' execute immediate ''truncate table eriab_err_temp'';',
+' eriab_err_table(''ERIAB_VECTOR_INDEX'', t);',
+'',
+' if (nvl(t,''INVALID'') = ''INVALID'') then',
+' return to_clob('' *** No pipeline table for ERIAB_VECTOR_INDEX found.'');',
+' end if;',
+'',
+' s := ''insert into eriab_err_temp select * from ''||t;',
+' execute immediate s;',
+'',
+' select count(*) into cnt from eriab_err_temp;',
+' if (cnt = 0) then',
+' return to_char(sysdate, ''yyyy/mm/dd hh24:mm:ss'') || '' *** No pipeline info for ERIAB_VECTOR_INDEX found in table '' || t ||''.'';',
+' else',
+' select TO_CLOB( LISTAGG(',
+' to_char(start_time, ''yyyy/mm/dd hh24:mm:ss'') || '', '' ||',
+' name || '', '' ||',
+' status || '', '' ||',
+' error_message || '' ''',
+' ) WITHIN GROUP (ORDER BY start_time)) AS clob_result into tc',
+' from eriab_err_temp;',
+'',
+' tc := ''Pipeline table: '' || t || '' '' || tc;',
+' return tc;',
+' end if;',
+'end;',
+''))
+,p_attribute_08=>'N'
+,p_attribute_09=>'N'
+,p_wait_for_result=>'Y'
+);
+wwv_flow_imp_page.create_page_da_event(
+ p_id=>wwv_flow_imp.id(24148221156880425)
+,p_name=>'ReloadIndex'
+,p_event_sequence=>40
+,p_triggering_element_type=>'BUTTON'
+,p_triggering_button_id=>wwv_flow_imp.id(23582716730975327)
+,p_bind_type=>'bind'
+,p_execution_type=>'IMMEDIATE'
+,p_bind_event_type=>'click'
+);
+wwv_flow_imp_page.create_page_da_action(
+ p_id=>wwv_flow_imp.id(24148258563880426)
+,p_event_id=>wwv_flow_imp.id(24148221156880425)
+,p_event_result=>'TRUE'
+,p_action_sequence=>10
+,p_execute_on_page_init=>'N'
+,p_action=>'NATIVE_SET_VALUE'
+,p_affected_elements_type=>'ITEM'
+,p_affected_elements=>'P2_IDX_ERRS'
+,p_attribute_01=>'FUNCTION_BODY'
+,p_attribute_06=>wwv_flow_string.join(wwv_flow_t_varchar2(
+'declare',
+' cnt number;',
+' locusr varchar2(250);',
+'begin',
+'',
+' -- get the latest query params',
+' select count(x.riab_user) into cnt',
+' from eriab_user_settings x',
+' where x.riab_user = :user;',
+'-- and x.pref_type = ''VECTOR'';',
+'',
+' if (cnt <> 3) then',
+' return to_clob(''Cannot find valid Vector or Credentials preferences for the current user!'');',
+' else',
+' locusr := :user;',
+' end if;',
+'',
+' eriab_create_index( locusr );',
+'',
+' return to_clob(''RECREATING Vector Index...'');',
+'end;'))
+,p_attribute_08=>'Y'
+,p_attribute_09=>'N'
+,p_wait_for_result=>'Y'
+);
+wwv_flow_imp_page.create_page_da_event(
+ p_id=>wwv_flow_imp.id(24148421302880427)
+,p_name=>'GetIdxStatus'
+,p_event_sequence=>50
+,p_triggering_element_type=>'BUTTON'
+,p_triggering_button_id=>wwv_flow_imp.id(23586377755975364)
+,p_bind_type=>'bind'
+,p_execution_type=>'IMMEDIATE'
+,p_bind_event_type=>'click'
+);
+wwv_flow_imp_page.create_page_da_action(
+ p_id=>wwv_flow_imp.id(24148502115880428)
+,p_event_id=>wwv_flow_imp.id(24148421302880427)
+,p_event_result=>'TRUE'
+,p_action_sequence=>10
+,p_execute_on_page_init=>'N'
+,p_action=>'NATIVE_SET_VALUE'
+,p_affected_elements_type=>'ITEM'
+,p_affected_elements=>'P2_IDX_STATUS'
+,p_attribute_01=>'FUNCTION_BODY'
+,p_attribute_06=>wwv_flow_string.join(wwv_flow_t_varchar2(
+'declare',
+' tt varchar2(500);',
+' cnt number;',
+'begin',
+'',
+' select count(*) into cnt from user_indexes where index_name = ''ERIAB_VECTOR_INDEX'';',
+' if (cnt = 0) then',
+' return to_char(sysdate, ''yyyy/mm/dd hh24:mm:ss'') || '' *** Index ERIAB_VECTOR_INDEX does not exist.'';',
+' else',
+' select to_char(sysdate, ''yyyy/mm/dd hh24:mm:ss'') || '' *** '' || status into tt from user_indexes where index_name = ''ERIAB_VECTOR_INDEX'';',
+' return tt;',
+' end if;',
+'end;'))
+,p_attribute_08=>'N'
+,p_attribute_09=>'N'
+,p_wait_for_result=>'Y'
+);
+wwv_flow_imp_page.create_page_da_event(
+ p_id=>wwv_flow_imp.id(24148574661880429)
+,p_name=>'SavePrefs'
+,p_event_sequence=>60
+,p_triggering_element_type=>'BUTTON'
+,p_triggering_button_id=>wwv_flow_imp.id(23585038296975351)
+,p_bind_type=>'bind'
+,p_execution_type=>'IMMEDIATE'
+,p_bind_event_type=>'click'
+);
+wwv_flow_imp_page.create_page_da_action(
+ p_id=>wwv_flow_imp.id(24148669041880430)
+,p_event_id=>wwv_flow_imp.id(24148574661880429)
+,p_event_result=>'TRUE'
+,p_action_sequence=>10
+,p_execute_on_page_init=>'N'
+,p_action=>'NATIVE_EXECUTE_PLSQL_CODE'
+,p_attribute_01=>wwv_flow_string.join(wwv_flow_t_varchar2(
+'declare',
+' cnt number;',
+'begin',
+'',
+' -- validations',
+' if (:P2_VECTOR_DIM < 512) or (:P2_VECTOR_DIM > 2048) then',
+' raise_application_error(-20900, ''vector_dimension has to be between 512 and 2048'');',
+' end if;',
+' --if (:P2_VECTOR_DIMM not in (''EUCLIDEAN'',''L2_SQUARED'',''COSINE'',''DOT'',''MANHATTAN'',''HAMMING'') ) then',
+' -- raise_application_error(-20900, ''Match Limit has to be between 1 and 9'');',
+' --end if;',
+' if (:P2_REFRESH_RATE < 10) or (:P2_REFRESH_RATE > 10080) then',
+' raise_application_error(-20900, ''refresh_rate has to be between 10 and 10080'');',
+' end if;',
+' if (:P2_SIM_THR < 0) or (:P2_SIM_THR > 1) then',
+' raise_application_error(-20900, ''similarity_threshold has to be between 0.0 and 1.0'');',
+' end if;',
+' if (:P2_CHUNK_OVERLAP < 0) or (:P2_CHUNK_OVERLAP > 512) then',
+' raise_application_error(-20900, ''chunk_overlap has to be between 0 and 512'');',
+' end if;',
+' if (:P2_CHUNK_SIZE < 512) or (:P2_CHUNK_SIZE > 5120) then',
+' raise_application_error(-20900, ''chunk_size has to be between 512 and 5120'');',
+' end if;',
+' if (:P2_MATCH_LIMIT < 1) or (:P2_MATCH_LIMIT > 9) then',
+' raise_application_error(-20900, ''match_limit has to be between 1 and 9'');',
+' end if;',
+'',
+' select count(riab_user) into cnt from eriab_user_settings',
+' where riab_user = :user and pref_type = ''VECTOR'';',
+' ',
+' if (cnt = 0) then',
+' INSERT INTO eriab_user_settings VALUES (',
+' :user,',
+' ''VECTOR'',',
+' json(',
+' ''{ "vecdim" : ''||:P2_VECTOR_DIM||'',',
+' "vecdim_m" : "''||:P2_VECTOR_DIMM||''",',
+' "refresh" : ''||:P2_REFRESH_RATE||'',',
+' "simth" : ''||:P2_SIM_THR||'',',
+' "chunk_o" : ''||:P2_CHUNK_OVERLAP||'',',
+' "chunk_s" : ''||:P2_CHUNK_SIZE||'',',
+' "match" : ''||:P2_MATCH_LIMIT||''',
+' }''));',
+' else',
+' update eriab_user_settings t',
+' set t.settings = json(',
+' ''{ "vecdim" : ''||:P2_VECTOR_DIM||'',',
+' "vecdim_m" : "''||:P2_VECTOR_DIMM||''",',
+' "refresh" : ''||:P2_REFRESH_RATE||'',',
+' "simth" : ''||:P2_SIM_THR||'',',
+' "chunk_o" : ''||:P2_CHUNK_OVERLAP||'',',
+' "chunk_s" : ''||:P2_CHUNK_SIZE||'',',
+' "match" : ''||:P2_MATCH_LIMIT||''',
+' }'')',
+' where riab_user = :user',
+' and pref_type = ''VECTOR'';',
+' end if;',
+'end;'))
+,p_attribute_02=>'P2_VECTOR_DIM,P2_CHUNK_OVERLAP,P2_VECTOR_DIMM,P2_CHUNK_SIZE,P2_REFRESH_RATE,P2_SIM_THR,P2_MATCH_LIMIT'
+,p_attribute_05=>'PLSQL'
+,p_wait_for_result=>'Y'
+);
+wwv_flow_imp_page.create_page_da_action(
+ p_id=>wwv_flow_imp.id(24148819311880431)
+,p_event_id=>wwv_flow_imp.id(24148574661880429)
+,p_event_result=>'TRUE'
+,p_action_sequence=>20
+,p_execute_on_page_init=>'N'
+,p_action=>'NATIVE_ALERT'
+,p_attribute_01=>'Preferences saved.'
+,p_attribute_02=>'Prefs Saved'
+,p_attribute_03=>'success'
+,p_attribute_04=>'fa-thumbs-up'
+);
+wwv_flow_imp_page.create_page_da_event(
+ p_id=>wwv_flow_imp.id(24149190389880435)
+,p_name=>'ListFiles'
+,p_event_sequence=>70
+,p_triggering_element_type=>'BUTTON'
+,p_triggering_button_id=>wwv_flow_imp.id(24149095423880434)
+,p_bind_type=>'bind'
+,p_execution_type=>'IMMEDIATE'
+,p_bind_event_type=>'click'
+);
+wwv_flow_imp_page.create_page_da_action(
+ p_id=>wwv_flow_imp.id(24149246081880436)
+,p_event_id=>wwv_flow_imp.id(24149190389880435)
+,p_event_result=>'TRUE'
+,p_action_sequence=>10
+,p_execute_on_page_init=>'N'
+,p_action=>'NATIVE_SET_VALUE'
+,p_affected_elements_type=>'ITEM'
+,p_affected_elements=>'P2_OUTPUT'
+,p_attribute_01=>'FUNCTION_BODY'
+,p_attribute_06=>wwv_flow_string.join(wwv_flow_t_varchar2(
+'declare',
+' cnt number;',
+' tc CLOB;',
+' locusr varchar2(50);',
+' bt varchar2(512);',
+'begin',
+'',
+' -- get the latest query params',
+' select count(riab_user) into cnt',
+' from eriab_user_settings',
+' where riab_user = :user',
+' and pref_type = ''BUCKETCRED'';',
+'',
+' if (cnt = 0) then',
+' locusr := ''DEFAULT'';',
+' else',
+' locusr := :user;',
+' end if;',
+'',
+' -- get bucket from preferences ...',
+' select t.settings."bucket_url"',
+' into bt',
+' from eriab_user_settings t',
+' where riab_user = locusr',
+' and pref_type = ''BUCKETCRED'';',
+'',
+' -- ... minus the quotes at the beginning and end',
+' bt := SUBSTR(bt, 2, LENGTH(bt) - 2);',
+' -- populate visible field',
+' select count(*) into cnt from dbms_cloud.list_objects(''ERIAB_RAG_BUCKET'',bt);',
+' if (cnt = 0) then',
+' return to_char(sysdate, ''yyyy/mm/dd hh24:mm:ss'') || '' *** No files found on object store ('' || bt || '').'';',
+' else',
+' select TO_CLOB( ',
+' LISTAGG( rownum || '' : '' || object_name || '', '' || bytes || '' bytes '' )',
+' ) AS clob_result into tc',
+' from dbms_cloud.list_objects(''ERIAB_RAG_BUCKET'',bt);',
+' -- add header',
+' tc := ''Object store: '' || bt || '' Found '' || cnt || '' files. '' || tc;',
+' return tc;',
+' end if;',
+'end;',
+''))
+,p_attribute_08=>'N'
+,p_attribute_09=>'N'
+,p_wait_for_result=>'Y'
+);
+wwv_flow_imp_page.create_page_da_event(
+ p_id=>wwv_flow_imp.id(24150017845880443)
+,p_name=>'ResetPrefs'
+,p_event_sequence=>90
+,p_triggering_element_type=>'BUTTON'
+,p_triggering_button_id=>wwv_flow_imp.id(24149852351880442)
+,p_bind_type=>'bind'
+,p_execution_type=>'IMMEDIATE'
+,p_bind_event_type=>'click'
+);
+wwv_flow_imp_page.create_page_da_action(
+ p_id=>wwv_flow_imp.id(24150054591880444)
+,p_event_id=>wwv_flow_imp.id(24150017845880443)
+,p_event_result=>'TRUE'
+,p_action_sequence=>10
+,p_execute_on_page_init=>'N'
+,p_action=>'NATIVE_EXECUTE_PLSQL_CODE'
+,p_attribute_01=>wwv_flow_string.join(wwv_flow_t_varchar2(
+'declare',
+' locusr varchar2(50);',
+'begin',
+' -- get default values',
+' locusr := ''DEFAULT'';',
+'',
+' select t.settings."vecdim".number(), ',
+' t.settings."vecdim_m".string(),',
+' t.settings."refresh".number(),',
+' t.settings."simth".number(),',
+' t.settings."chunk_o".number(),',
+' t.settings."chunk_s".number(),',
+' t.settings."match".number()',
+' into :P2_VECTOR_DIM, :P2_VECTOR_DIMM, :P2_REFRESH_RATE, :P2_SIM_THR, :P2_CHUNK_OVERLAP, :P2_CHUNK_SIZE, :P2_MATCH_LIMIT',
+' from eriab_user_settings t',
+' where riab_user = locusr',
+' and pref_type = ''VECTOR'';',
+'end;'))
+,p_attribute_03=>'P2_VECTOR_DIM,P2_CHUNK_OVERLAP,P2_VECTOR_DIMM,P2_CHUNK_SIZE,P2_SIM_THR,P2_REFRESH_RATE,P2_MATCH_LIMIT'
+,p_attribute_04=>'N'
+,p_attribute_05=>'PLSQL'
+,p_wait_for_result=>'Y'
+);
+wwv_flow_imp_page.create_page_da_action(
+ p_id=>wwv_flow_imp.id(24150201171880445)
+,p_event_id=>wwv_flow_imp.id(24150017845880443)
+,p_event_result=>'TRUE'
+,p_action_sequence=>20
+,p_execute_on_page_init=>'N'
+,p_action=>'NATIVE_ALERT'
+,p_attribute_01=>'Preferences reset to default values.'
+,p_attribute_02=>'Prefs Reset'
+,p_attribute_03=>'success'
+,p_attribute_04=>'fa-thumbs-up'
+);
+wwv_flow_imp_page.create_page_process(
+ p_id=>wwv_flow_imp.id(8141578487080746)
+,p_process_sequence=>10
+,p_process_point=>'BEFORE_HEADER'
+,p_process_type=>'NATIVE_PLSQL'
+,p_process_name=>'LoadUserPreferences'
+,p_process_sql_clob=>wwv_flow_string.join(wwv_flow_t_varchar2(
+'declare',
+' cnt number;',
+' locusr varchar2(50);',
+'begin',
+'',
+' -- get the latest query params',
+' select count(riab_user) into cnt',
+' from eriab_user_settings',
+' where riab_user = :user',
+' and pref_type = ''VECTOR'';',
+'',
+' if (cnt = 0) then',
+' locusr := ''DEFAULT'';',
+' else',
+' locusr := :user;',
+' end if;',
+'',
+' select t.settings."vecdim".number(), ',
+' t.settings."vecdim_m".string(),',
+' t.settings."refresh".number(),',
+' t.settings."simth".number(),',
+' t.settings."chunk_o".number(),',
+' t.settings."chunk_s".number(),',
+' t.settings."match".number()',
+' into :P2_VECTOR_DIM, :P2_VECTOR_DIMM, :P2_REFRESH_RATE, :P2_SIM_THR, :P2_CHUNK_OVERLAP, :P2_CHUNK_SIZE, :P2_MATCH_LIMIT',
+' from eriab_user_settings t',
+' where riab_user = locusr',
+' and pref_type = ''VECTOR'';',
+'',
+' :P2_IDX_STATUS := ''***'';',
+' :P2_IDX_ERRS := empty_clob();',
+'end;'))
+,p_process_clob_language=>'PLSQL'
+,p_internal_uid=>8141578487080746
+);
+end;
+/
+prompt --application/pages/page_00003
+begin
+wwv_flow_imp_page.create_page(
+ p_id=>3
+,p_name=>'Credentials Popup'
+,p_alias=>'CREDENTIALS'
+,p_page_mode=>'MODAL'
+,p_step_title=>'Credentials'
+,p_reload_on_submit=>'A'
+,p_autocomplete_on_off=>'OFF'
+,p_inline_css=>wwv_flow_string.join(wwv_flow_t_varchar2(
+'.my-norm-button {',
+' background-color: #007bff; /* Change to desired color */',
+' color: white; /* Text color */',
+' border: none; /* Remove border */',
+' padding: 10px 20px; /* Optional: adjust padding */',
+' border-radius: 5px; /* Optional: rounded corners */',
+' font-size: 14px; /* Optional: adjust font size */',
+' cursor: pointer; /* Add a pointer cursor */',
+'}',
+'',
+'.my-norm-button:hover {',
+' background-color: #0056b3; /* Change hover color */',
+'}',
+'',
+'.my-alarm-button {',
+' background-color: hsl(0, 100%, 50%); /* Change to desired color */',
+' color: white; /* Text color */',
+' border: none; /* Remove border */',
+' padding: 10px 20px; /* Optional: adjust padding */',
+' border-radius: 5px; /* Optional: rounded corners */',
+' font-size: 14px; /* Optional: adjust font size */',
+' cursor: pointer; /* Add a pointer cursor */',
+'}',
+'',
+'.my-alarm-button:hover {',
+' background-color: hsl(0, 100%, 35%); /* Change hover color */',
+'}',
+'',
+'.my-warn-button {',
+' background-color: hsl(49, 100%, 50%); /* Change to desired color */',
+' color: black; /* Text color */',
+' border: none; /* Remove border */',
+' padding: 10px 20px; /* Optional: adjust padding */',
+' border-radius: 5px; /* Optional: rounded corners */',
+' font-size: 14px; /* Optional: adjust font size */',
+' cursor: pointer; /* Add a pointer cursor */',
+'}',
+'',
+'.my-warn-button:hover {',
+' background-color: hsl(49, 100%, 35%); /* Change hover color */',
+'}',
+'',
+'tt {',
+' font-family: "Lucida Console", "Menlo", "Monaco", "Courier", monospace;',
+'}'))
+,p_page_template_options=>'#DEFAULT#'
+,p_dialog_width=>'1000'
+,p_protection_level=>'C'
+,p_page_component_map=>'11'
+);
+wwv_flow_imp_page.create_page_button(
+ p_id=>wwv_flow_imp.id(8137771320080708)
+,p_button_sequence=>110
+,p_button_name=>'SaveCredentials'
+,p_button_action=>'DEFINED_BY_DA'
+,p_button_template_options=>'#DEFAULT#:t-Button--iconLeft'
+,p_button_template_id=>wwv_flow_imp.id(23455171610554498)
+,p_button_is_hot=>'Y'
+,p_button_image_alt=>'Save and Create Credentials'
+,p_warn_on_unsaved_changes=>null
+,p_button_css_classes=>'my-norm-button'
+,p_icon_css_classes=>'fa-save-as'
+,p_grid_new_row=>'Y'
+);
+wwv_flow_imp_page.create_page_button(
+ p_id=>wwv_flow_imp.id(8137851835080709)
+,p_button_sequence=>120
+,p_button_name=>'ResetToDefault'
+,p_button_action=>'DEFINED_BY_DA'
+,p_button_template_options=>'#DEFAULT#:t-Button--iconLeft'
+,p_button_template_id=>wwv_flow_imp.id(23455171610554498)
+,p_button_is_hot=>'Y'
+,p_button_image_alt=>'Reset Credentials to DEFAULT'
+,p_warn_on_unsaved_changes=>null
+,p_confirm_message=>'Are you sure you want to reset the credentials to their Default values?'
+,p_confirm_style=>'warning'
+,p_button_css_classes=>'my-warn-button'
+,p_icon_css_classes=>'fa-x-axis'
+,p_grid_new_row=>'N'
+,p_grid_new_column=>'Y'
+);
+wwv_flow_imp_page.create_page_item(
+ p_id=>wwv_flow_imp.id(8137423014080705)
+,p_name=>'P3_BUCKET_URL'
+,p_is_required=>true
+,p_item_sequence=>30
+,p_prompt=>'Bucket Credentials - URL'
+,p_display_as=>'NATIVE_TEXT_FIELD'
+,p_cSize=>512
+,p_field_template=>wwv_flow_imp.id(23452546216554478)
+,p_item_template_options=>'#DEFAULT#'
+,p_help_text=>'This is the URL of the source buckt where the files will be ingested.'
+,p_attribute_01=>'N'
+,p_attribute_02=>'N'
+,p_attribute_04=>'TEXT'
+,p_attribute_05=>'BOTH'
+);
+wwv_flow_imp_page.create_page_item(
+ p_id=>wwv_flow_imp.id(8137598379080706)
+,p_name=>'P3_BUCKET_CERT'
+,p_is_required=>true
+,p_item_sequence=>40
+,p_prompt=>'Bucket Credentials - Certificate'
+,p_display_as=>'NATIVE_TEXTAREA'
+,p_cSize=>30
+,p_cHeight=>16
+,p_field_template=>wwv_flow_imp.id(23452546216554478)
+,p_item_template_options=>'#DEFAULT#'
+,p_help_text=>'Enter as single line without breaks in the format -----BEGIN PRIVATE KEY-----.......-----END PRIVATE KEY-----'
+,p_attribute_01=>'Y'
+,p_attribute_02=>'N'
+,p_attribute_03=>'N'
+,p_attribute_04=>'BOTH'
+);
+wwv_flow_imp_page.create_page_item(
+ p_id=>wwv_flow_imp.id(8137601838080707)
+,p_name=>'P3_LLM_CERT'
+,p_is_required=>true
+,p_item_sequence=>90
+,p_prompt=>'LLM Credentials - Certificate'
+,p_display_as=>'NATIVE_TEXTAREA'
+,p_cSize=>30
+,p_cHeight=>16
+,p_field_template=>wwv_flow_imp.id(23452546216554478)
+,p_item_template_options=>'#DEFAULT#'
+,p_help_text=>'Enter as single line without breaks in the format -----BEGIN PRIVATE KEY-----.......-----END PRIVATE KEY-----'
+,p_attribute_01=>'Y'
+,p_attribute_02=>'N'
+,p_attribute_03=>'N'
+,p_attribute_04=>'BOTH'
+);
+wwv_flow_imp_page.create_page_item(
+ p_id=>wwv_flow_imp.id(8138305662080714)
+,p_name=>'P3_BUCKET_USER_OCID'
+,p_is_required=>true
+,p_item_sequence=>10
+,p_prompt=>'Bucket Credentials - User OCID'
+,p_display_as=>'NATIVE_TEXT_FIELD'
+,p_cSize=>256
+,p_field_template=>wwv_flow_imp.id(23452546216554478)
+,p_item_template_options=>'#DEFAULT#'
+,p_help_text=>'The User OCID can be found in the OCI console by clicking on the righmost "user icon" and selecting your Email.'
+,p_attribute_01=>'N'
+,p_attribute_02=>'N'
+,p_attribute_04=>'TEXT'
+,p_attribute_05=>'BOTH'
+);
+wwv_flow_imp_page.create_page_item(
+ p_id=>wwv_flow_imp.id(8138412399080715)
+,p_name=>'P3_BUCKET_TENANCY_OCID'
+,p_is_required=>true
+,p_item_sequence=>20
+,p_prompt=>'Bucket Credentials - Tenancy OCID'
+,p_display_as=>'NATIVE_TEXT_FIELD'
+,p_cSize=>256
+,p_field_template=>wwv_flow_imp.id(23452546216554478)
+,p_item_template_options=>'#DEFAULT#'
+,p_help_text=>'The User OCID can be found in the OCI console by clicking on the righmost "user icon" and selecting your Tenancy.'
+,p_attribute_01=>'N'
+,p_attribute_02=>'N'
+,p_attribute_04=>'TEXT'
+,p_attribute_05=>'BOTH'
+);
+wwv_flow_imp_page.create_page_item(
+ p_id=>wwv_flow_imp.id(8138556571080716)
+,p_name=>'P3_BUCKET_FINGERPRINT'
+,p_is_required=>true
+,p_item_sequence=>50
+,p_prompt=>'Bucket Credentials - Fingerprint'
+,p_display_as=>'NATIVE_TEXT_FIELD'
+,p_cSize=>256
+,p_field_template=>wwv_flow_imp.id(23452546216554478)
+,p_item_template_options=>'#DEFAULT#'
+,p_attribute_01=>'N'
+,p_attribute_02=>'N'
+,p_attribute_04=>'TEXT'
+,p_attribute_05=>'BOTH'
+);
+wwv_flow_imp_page.create_page_item(
+ p_id=>wwv_flow_imp.id(8138661882080717)
+,p_name=>'P3_LLM_USER_OCID'
+,p_is_required=>true
+,p_item_sequence=>60
+,p_prompt=>'LLM Credentials - User OCID'
+,p_display_as=>'NATIVE_TEXT_FIELD'
+,p_cSize=>256
+,p_field_template=>wwv_flow_imp.id(23452546216554478)
+,p_item_template_options=>'#DEFAULT#'
+,p_help_text=>'The User OCID can be found in the OCI console by clicking on the righmost "user icon" and selecting your Email.'
+,p_attribute_01=>'N'
+,p_attribute_02=>'N'
+,p_attribute_04=>'TEXT'
+,p_attribute_05=>'BOTH'
+);
+wwv_flow_imp_page.create_page_item(
+ p_id=>wwv_flow_imp.id(8138770806080718)
+,p_name=>'P3_LLM_TENANCY_OCID'
+,p_is_required=>true
+,p_item_sequence=>70
+,p_prompt=>'LLM Credentials - Tenancy OCID'
+,p_display_as=>'NATIVE_TEXT_FIELD'
+,p_cSize=>256
+,p_field_template=>wwv_flow_imp.id(23452546216554478)
+,p_item_template_options=>'#DEFAULT#'
+,p_help_text=>'The User OCID can be found in the OCI console by clicking on the righmost "user icon" and selecting your Tenancy.'
+,p_attribute_01=>'N'
+,p_attribute_02=>'N'
+,p_attribute_04=>'TEXT'
+,p_attribute_05=>'BOTH'
+);
+wwv_flow_imp_page.create_page_item(
+ p_id=>wwv_flow_imp.id(8138820394080719)
+,p_name=>'P3_LLM_COMP_OCID'
+,p_is_required=>true
+,p_item_sequence=>80
+,p_prompt=>'LLM Credentials - Compartment OCID'
+,p_display_as=>'NATIVE_TEXT_FIELD'
+,p_cSize=>256
+,p_field_template=>wwv_flow_imp.id(23452546216554478)
+,p_item_template_options=>'#DEFAULT#'
+,p_help_text=>'The compartment OCID can be found selecting the Identity menu entry, Compartments, and selecting your compartment.'
+,p_attribute_01=>'N'
+,p_attribute_02=>'N'
+,p_attribute_04=>'TEXT'
+,p_attribute_05=>'BOTH'
+);
+wwv_flow_imp_page.create_page_item(
+ p_id=>wwv_flow_imp.id(8138969995080720)
+,p_name=>'P3_LLM_FINGERPRINT'
+,p_is_required=>true
+,p_item_sequence=>100
+,p_prompt=>'LLM Credentials - Fingerprint'
+,p_display_as=>'NATIVE_TEXT_FIELD'
+,p_cSize=>256
+,p_field_template=>wwv_flow_imp.id(23452546216554478)
+,p_item_template_options=>'#DEFAULT#'
+,p_attribute_01=>'N'
+,p_attribute_02=>'N'
+,p_attribute_04=>'TEXT'
+,p_attribute_05=>'BOTH'
+);
+wwv_flow_imp_page.create_page_da_event(
+ p_id=>wwv_flow_imp.id(8139207758080723)
+,p_name=>'LoadDefCertInfo'
+,p_event_sequence=>20
+,p_triggering_element_type=>'BUTTON'
+,p_triggering_button_id=>wwv_flow_imp.id(8137851835080709)
+,p_bind_type=>'bind'
+,p_execution_type=>'IMMEDIATE'
+,p_bind_event_type=>'click'
+);
+wwv_flow_imp_page.create_page_da_action(
+ p_id=>wwv_flow_imp.id(8139323256080724)
+,p_event_id=>wwv_flow_imp.id(8139207758080723)
+,p_event_result=>'TRUE'
+,p_action_sequence=>10
+,p_execute_on_page_init=>'N'
+,p_action=>'NATIVE_EXECUTE_PLSQL_CODE'
+,p_attribute_01=>wwv_flow_string.join(wwv_flow_t_varchar2(
+'declare',
+' locusr varchar2(50);',
+'begin',
+' -- get default values',
+' locusr := ''DEFAULT'';',
+'',
+' -- get vector creation prefs',
+' select SUBSTR(xuocid, 2, LENGTH(xuocid) - 2),',
+' SUBSTR(xtocid, 2, LENGTH(xtocid) - 2),',
+' SUBSTR(xbt, 2, LENGTH(xbt) - 2),',
+' SUBSTR(xpkey, 2, LENGTH(xpkey) - 2),',
+' SUBSTR(xfprint, 2, LENGTH(xfprint) - 2)',
+' into :P3_BUCKET_USER_OCID,:P3_BUCKET_TENANCY_OCID,:P3_BUCKET_URL,:P3_BUCKET_CERT,:P3_BUCKET_FINGERPRINT',
+' from json_table(',
+' (select settings from eriab_user_settings',
+' where riab_user = locusr',
+' and pref_type = ''BUCKETCRED''',
+' ), ''$[*]'' COLUMNS (',
+' xuocid varchar2(256) format json PATH ''$.user_ocid'',',
+' xtocid varchar2(256) format json PATH ''$.tenancy_ocid'',',
+' xbt varchar2(512) format json PATH ''$.bucket_url'',',
+' xpkey varchar2(2000) format json PATH ''$.private_key'',',
+' xfprint varchar2(256) format json PATH ''$.fingerprint''));',
+'',
+' select SUBSTR(xuocid, 2, LENGTH(xuocid) - 2),',
+' SUBSTR(xtocid, 2, LENGTH(xtocid) - 2),',
+' SUBSTR(xcocid, 2, LENGTH(xcocid) - 2),',
+' SUBSTR(xpkey, 2, LENGTH(xpkey) - 2),',
+' SUBSTR(xfprint, 2, LENGTH(xfprint) - 2)',
+' into :P3_LLM_USER_OCID,:P3_LLM_TENANCY_OCID,:P3_LLM_COMP_OCID,:P3_LLM_CERT,:P3_LLM_FINGERPRINT',
+' from json_table(',
+' (select settings from eriab_user_settings',
+' where riab_user = locusr',
+' and pref_type = ''RAGCRED''',
+' ), ''$[*]'' COLUMNS (',
+' xuocid varchar2(256) format json PATH ''$.user_ocid'',',
+' xtocid varchar2(256) format json PATH ''$.tenancy_ocid'',',
+' xcocid varchar2(256) format json PATH ''$.compartment_ocid'',',
+' xpkey varchar2(2000) format json PATH ''$.private_key'',',
+' xfprint varchar2(256) format json PATH ''$.fingerprint''));',
+'',
+'end;'))
+,p_attribute_03=>'P3_BUCKET_USER_OCID,P3_BUCKET_TENANCY_OCID,P3_BUCKET_URL,P3_BUCKET_CERT,P3_BUCKET_FINGERPRINT,P3_LLM_USER_OCID,P3_LLM_TENANCY_OCID,P3_LLM_COMP_OCID,P3_LLM_CERT,P3_LLM_FINGERPRINT'
+,p_attribute_04=>'N'
+,p_attribute_05=>'PLSQL'
+,p_wait_for_result=>'Y'
+);
+wwv_flow_imp_page.create_page_da_event(
+ p_id=>wwv_flow_imp.id(8139443496080725)
+,p_name=>'SaveCertInfo'
+,p_event_sequence=>30
+,p_triggering_element_type=>'BUTTON'
+,p_triggering_button_id=>wwv_flow_imp.id(8137771320080708)
+,p_bind_type=>'bind'
+,p_execution_type=>'IMMEDIATE'
+,p_bind_event_type=>'click'
+);
+wwv_flow_imp_page.create_page_da_action(
+ p_id=>wwv_flow_imp.id(8139574275080726)
+,p_event_id=>wwv_flow_imp.id(8139443496080725)
+,p_event_result=>'TRUE'
+,p_action_sequence=>10
+,p_execute_on_page_init=>'N'
+,p_action=>'NATIVE_EXECUTE_PLSQL_CODE'
+,p_attribute_01=>wwv_flow_string.join(wwv_flow_t_varchar2(
+'declare',
+' cnt number;',
+'begin',
+'',
+' select count(riab_user) into cnt from eriab_user_settings',
+' where riab_user = :user and pref_type = ''BUCKETCRED'';',
+' ',
+' if (cnt = 0) then',
+' INSERT INTO eriab_user_settings VALUES (',
+' :user,',
+' ''BUCKETCRED'',',
+' json(',
+' ''{ "user_ocid" : "''||:P3_BUCKET_USER_OCID||''",',
+' "tenancy_ocid" : "''||:P3_BUCKET_TENANCY_OCID||''",',
+' "bucket_url" : "''||:P3_BUCKET_URL||''",',
+' "private_key" : "''||:P3_BUCKET_CERT||''",',
+' "fingerprint" : "''||:P3_BUCKET_FINGERPRINT||''"',
+' }''));',
+' ',
+' INSERT INTO eriab_user_settings VALUES (',
+' :user,',
+' ''RAGCRED'',',
+' json(',
+' ''{ "user_ocid" : "''||:P3_LLM_USER_OCID||''",',
+' "tenancy_ocid" : "''||:P3_LLM_TENANCY_OCID||''",',
+' "compartment_ocid" : "''||:P3_LLM_COMP_OCID||''",',
+' "private_key" : "''||:P3_LLM_CERT||''",',
+' "fingerprint" : "''||:P3_LLM_FINGERPRINT||''"',
+' }''));',
+' ',
+' else',
+' update eriab_user_settings t',
+' set t.settings = json(',
+' ''{ "user_ocid" : "''||:P3_BUCKET_USER_OCID||''",',
+' "tenancy_ocid" : "''||:P3_BUCKET_TENANCY_OCID||''",',
+' "bucket_url" : "''||:P3_BUCKET_URL||''",',
+' "private_key" : "''||:P3_BUCKET_CERT||''",',
+' "fingerprint" : "''||:P3_BUCKET_FINGERPRINT||''"',
+' }'')',
+' where riab_user = :user',
+' and pref_type = ''BUCKETCRED'';',
+'',
+' update eriab_user_settings t',
+' set t.settings = json(',
+' ''{ "user_ocid" : "''||:P3_LLM_USER_OCID||''",',
+' "tenancy_ocid" : "''||:P3_LLM_TENANCY_OCID||''",',
+' "compartment_ocid" : "''||:P3_LLM_COMP_OCID||''",',
+' "private_key" : "''||:P3_LLM_CERT||''",',
+' "fingerprint" : "''||:P3_LLM_FINGERPRINT||''"',
+' }'')',
+' where riab_user = :user',
+' and pref_type = ''RAGCRED'';',
+'',
+' end if;',
+'',
+' -- create the credentials with the values stored',
+' eriab_create_bucket_cred( :user );',
+' eriab_create_llm_cred( :user );',
+'end;'))
+,p_attribute_02=>'P3_BUCKET_USER_OCID,P3_BUCKET_TENANCY_OCID,P3_BUCKET_URL,P3_BUCKET_CERT,P3_BUCKET_FINGERPRINT,P3_LLM_USER_OCID,P3_LLM_TENANCY_OCID,P3_LLM_COMP_OCID,P3_LLM_CERT,P3_LLM_FINGERPRINT'
+,p_attribute_05=>'PLSQL'
+,p_wait_for_result=>'Y'
+);
+wwv_flow_imp_page.create_page_da_action(
+ p_id=>wwv_flow_imp.id(8139658057080727)
+,p_event_id=>wwv_flow_imp.id(8139443496080725)
+,p_event_result=>'TRUE'
+,p_action_sequence=>20
+,p_execute_on_page_init=>'N'
+,p_action=>'NATIVE_CONFIRM'
+,p_attribute_01=>'Credentials saved and created.'
+,p_attribute_03=>'success'
+,p_attribute_04=>'fa-thumbs-up'
+);
+wwv_flow_imp_page.create_page_da_action(
+ p_id=>wwv_flow_imp.id(8139996636080730)
+,p_event_id=>wwv_flow_imp.id(8139443496080725)
+,p_event_result=>'TRUE'
+,p_action_sequence=>30
+,p_execute_on_page_init=>'N'
+,p_action=>'NATIVE_DIALOG_CLOSE'
+);
+wwv_flow_imp_page.create_page_process(
+ p_id=>wwv_flow_imp.id(8141218338080743)
+,p_process_sequence=>10
+,p_process_point=>'BEFORE_HEADER'
+,p_process_type=>'NATIVE_PLSQL'
+,p_process_name=>'PopulateCredValues'
+,p_process_sql_clob=>wwv_flow_string.join(wwv_flow_t_varchar2(
+'declare',
+' cnt number;',
+' locusr varchar2(50);',
+'begin',
+'',
+' -- get the latest query params',
+' select count(riab_user) into cnt',
+' from eriab_user_settings',
+' where riab_user = :user',
+' and pref_type = ''BUCKETCRED'';',
+'',
+' if (cnt = 0) then',
+' locusr := ''DEFAULT'';',
+' else',
+' locusr := :user;',
+' end if;',
+'',
+'-- get vector creation prefs',
+' select SUBSTR(xuocid, 2, LENGTH(xuocid) - 2),',
+' SUBSTR(xtocid, 2, LENGTH(xtocid) - 2),',
+' SUBSTR(xbt, 2, LENGTH(xbt) - 2),',
+' SUBSTR(xpkey, 2, LENGTH(xpkey) - 2),',
+' SUBSTR(xfprint, 2, LENGTH(xfprint) - 2)',
+' into :P3_BUCKET_USER_OCID,:P3_BUCKET_TENANCY_OCID,:P3_BUCKET_URL,:P3_BUCKET_CERT,:P3_BUCKET_FINGERPRINT',
+' from json_table(',
+' (select settings from eriab_user_settings',
+' where riab_user = locusr',
+' and pref_type = ''BUCKETCRED''',
+' ), ''$[*]'' COLUMNS (',
+' xuocid varchar2(256) format json PATH ''$.user_ocid'',',
+' xtocid varchar2(256) format json PATH ''$.tenancy_ocid'',',
+' xbt varchar2(512) format json PATH ''$.bucket_url'',',
+' xpkey varchar2(2000) format json PATH ''$.private_key'',',
+' xfprint varchar2(256) format json PATH ''$.fingerprint''));',
+'',
+' select SUBSTR(xuocid, 2, LENGTH(xuocid) - 2),',
+' SUBSTR(xtocid, 2, LENGTH(xtocid) - 2),',
+' SUBSTR(xcocid, 2, LENGTH(xcocid) - 2),',
+' SUBSTR(xpkey, 2, LENGTH(xpkey) - 2),',
+' SUBSTR(xfprint, 2, LENGTH(xfprint) - 2)',
+' into :P3_LLM_USER_OCID,:P3_LLM_TENANCY_OCID,:P3_LLM_COMP_OCID,:P3_LLM_CERT,:P3_LLM_FINGERPRINT',
+' from json_table(',
+' (select settings from eriab_user_settings',
+' where riab_user = locusr',
+' and pref_type = ''RAGCRED''',
+' ), ''$[*]'' COLUMNS (',
+' xuocid varchar2(256) format json PATH ''$.user_ocid'',',
+' xtocid varchar2(256) format json PATH ''$.tenancy_ocid'',',
+' xcocid varchar2(256) format json PATH ''$.compartment_ocid'',',
+' xpkey varchar2(2000) format json PATH ''$.private_key'',',
+' xfprint varchar2(256) format json PATH ''$.fingerprint''));',
+'',
+'end;'))
+,p_process_clob_language=>'PLSQL'
+,p_internal_uid=>8141218338080743
+);
+end;
+/
+prompt --application/pages/page_00004
+begin
+wwv_flow_imp_page.create_page(
+ p_id=>4
+,p_name=>'Documentation'
+,p_alias=>'DOCUMENTATION-POPUP'
+,p_page_mode=>'MODAL'
+,p_step_title=>'Documentation Popup'
+,p_reload_on_submit=>'A'
+,p_autocomplete_on_off=>'OFF'
+,p_inline_css=>wwv_flow_string.join(wwv_flow_t_varchar2(
+'.my-norm-button {',
+' background-color: #007bff; /* Change to desired color */',
+' color: white; /* Text color */',
+' border: none; /* Remove border */',
+' padding: 10px 20px; /* Optional: adjust padding */',
+' border-radius: 5px; /* Optional: rounded corners */',
+' font-size: 14px; /* Optional: adjust font size */',
+' cursor: pointer; /* Add a pointer cursor */',
+'}',
+'',
+'.my-norm-button:hover {',
+' background-color: #0056b3; /* Change hover color */',
+'}',
+'',
+'.my-alarm-button {',
+' background-color: hsl(0, 100%, 50%); /* Change to desired color */',
+' color: white; /* Text color */',
+' border: none; /* Remove border */',
+' padding: 10px 20px; /* Optional: adjust padding */',
+' border-radius: 5px; /* Optional: rounded corners */',
+' font-size: 14px; /* Optional: adjust font size */',
+' cursor: pointer; /* Add a pointer cursor */',
+'}',
+'',
+'.my-alarm-button:hover {',
+' background-color: hsl(0, 100%, 35%); /* Change hover color */',
+'}',
+'',
+'.my-warn-button {',
+' background-color: hsl(49, 100%, 50%); /* Change to desired color */',
+' color: black; /* Text color */',
+' border: none; /* Remove border */',
+' padding: 10px 20px; /* Optional: adjust padding */',
+' border-radius: 5px; /* Optional: rounded corners */',
+' font-size: 14px; /* Optional: adjust font size */',
+' cursor: pointer; /* Add a pointer cursor */',
+'}',
+'',
+'.my-warn-button:hover {',
+' background-color: hsl(49, 100%, 35%); /* Change hover color */',
+'}',
+'',
+'tt {',
+' font-family: "Lucida Console", "Menlo", "Monaco", "Courier", monospace;',
+'}',
+'',
+'.t-Region {',
+' background-color: hsl(357, 100%, 50%) !important; /* Change to desired color */',
+'}',
+'.t-Region-body {',
+' background-color: black !important; /* Change to desired color */',
+'}'))
+,p_step_template=>wwv_flow_imp.id(23279014985553813)
+,p_page_template_options=>'#DEFAULT#:js-dialog-class-t-Drawer--pullOutEnd:js-dialog-class-t-Drawer--md'
+,p_dialog_width=>'1000'
+,p_protection_level=>'C'
+,p_page_component_map=>'11'
+);
+wwv_flow_imp_page.create_page_plug(
+ p_id=>wwv_flow_imp.id(9911032094248904)
+,p_plug_name=>'Documentation'
+,p_title=>'Easy Rag In A Box'
+,p_region_template_options=>'#DEFAULT#:t-Region--scrollBody'
+,p_plug_template=>wwv_flow_imp.id(23381448297554209)
+,p_plug_display_sequence=>10
+,p_location=>null
+,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
+'
How to use the "Easy Rag-In-A-Box" application
',
+'',
+'
Terraform version special notes
',
+'If this instance of the "easy RIAB" has been installed using the terraform system, you will be ready to ask your',
+'questions from the start, as the credentials and the index has been created for you already. ',
+'Refer to the next section to learn how to tweak your index to better fit your usage. ',
+'Also, since populating the index is an asynchronous operation and it will take some time to complete, you may want',
+'to refer to the Index Info section to learn how to monitor the ingestion.',
+'',
+'
Using the setting section
',
+'If this instance has not been created through a terraform installation or you just simply want to modify',
+'your source or credential info, you will need to switch to the Settings page. ',
+'In the Settings page you will find five sections:',
+' ',
+'
Credentials
',
+' This section is where you enter the credential for accessing the object store with the source files and the LLM engine used by',
+' Select AI to formulate the answer. If your system was not created using Terraform, you will need to start from here, fill the',
+' credentials info, and save them. The save action will create the necessary profiles. Once this conclues without error you will need',
+' to (re)create the index. Verify first the Chunking Settings in the next section.',
+'',
+'
Chunking Settings
',
+' This fields give you control on the various aspects of the ingestion and results generation process. Please refer to the help field of',
+' each parameter for exact information. Changing any of these values will require you to first save them in your preferences and then',
+' recreate the index using the Index Actions section.',
+'',
+'
Index Actions
',
+' Use this section to recreate the index. Monitor the status and the ingestion process using the next section. ',
+'',
+'
Index Info
',
+' Use this section to show the status of the Vector Index used by Select AI and to verify the ingestion process for all supplied input files. ',
+'',
+'
File Actions
',
+' Use this section to list all files present in the input object store specified in the Credentials section.',
+' ',
+'',
+'