201 lines
6.2 KiB
SQL
201 lines
6.2 KiB
SQL
prompt --application/pages/page_00000
|
|
begin
|
|
-- Manifest
|
|
-- PAGE: 00000
|
|
-- Manifest End
|
|
wwv_flow_api.component_begin (
|
|
p_version_yyyy_mm_dd=>'2021.04.15'
|
|
,p_release=>'21.1.6'
|
|
,p_default_workspace_id=>9014660246496943
|
|
,p_default_application_id=>770
|
|
,p_default_id_offset=>0
|
|
,p_default_owner=>'CORE'
|
|
);
|
|
wwv_flow_api.create_page(
|
|
p_id=>0
|
|
,p_user_interface_id=>wwv_flow_api.id(9169746885570061)
|
|
,p_name=>'Global Page'
|
|
,p_step_title=>'Global Page'
|
|
,p_autocomplete_on_off=>'OFF'
|
|
,p_page_template_options=>'#DEFAULT#'
|
|
,p_protection_level=>'D'
|
|
,p_last_updated_by=>'DEV'
|
|
,p_last_upd_yyyymmddhh24miss=>'20220116095257'
|
|
);
|
|
wwv_flow_api.create_page_plug(
|
|
p_id=>wwv_flow_api.id(16222516003514114)
|
|
,p_plug_name=>'DEV'
|
|
,p_region_template_options=>'#DEFAULT#'
|
|
,p_plug_template=>wwv_flow_api.id(9049155795569902)
|
|
,p_plug_display_sequence=>10
|
|
,p_include_in_reg_disp_sel_yn=>'Y'
|
|
,p_plug_display_point=>'REGION_POSITION_05'
|
|
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
|
|
,p_plug_required_role=>wwv_flow_api.id(9556407311505078)
|
|
,p_plug_display_condition_type=>'EXPRESSION'
|
|
,p_plug_display_when_condition=>'app.is_debug_on()'
|
|
,p_plug_display_when_cond2=>'PLSQL'
|
|
,p_attribute_01=>'N'
|
|
,p_attribute_02=>'HTML'
|
|
);
|
|
wwv_flow_api.create_report_region(
|
|
p_id=>wwv_flow_api.id(16221637563514105)
|
|
,p_name=>'Page Items'
|
|
,p_parent_plug_id=>wwv_flow_api.id(16222516003514114)
|
|
,p_template=>wwv_flow_api.id(9078290074569925)
|
|
,p_display_sequence=>20
|
|
,p_region_template_options=>'#DEFAULT#'
|
|
,p_component_template_options=>'#DEFAULT#:t-AVPList--fixedLabelMedium:t-AVPList--leftAligned:t-Report--hideNoPagination'
|
|
,p_grid_column_span=>4
|
|
,p_display_point=>'BODY'
|
|
,p_source_type=>'NATIVE_SQL_REPORT'
|
|
,p_query_type=>'SQL'
|
|
,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
|
|
'SELECT',
|
|
' CASE',
|
|
' WHEN (REGEXP_LIKE(app.get_request_url(), ''[:,]'' || i.item_name || ''[,:]'')',
|
|
' OR REGEXP_LIKE(app.get_request_url(), ''[\?&'' || '']'' || LOWER(i.item_name) || ''[=&'' || '']'')',
|
|
' )',
|
|
' THEN app.get_icon(''fa-arrow-right-alt'') || ''&'' || ''nbsp; ''',
|
|
' END || i.item_name AS item_name,',
|
|
' app.get_item(i.item_name) AS item_value',
|
|
'FROM apex_application_page_items i',
|
|
'WHERE i.application_id = app.get_app_id()',
|
|
' AND i.page_id = app.get_page_id()',
|
|
'ORDER BY 1;',
|
|
''))
|
|
,p_ajax_enabled=>'Y'
|
|
,p_lazy_loading=>false
|
|
,p_query_row_template=>wwv_flow_api.id(9115257435569961)
|
|
,p_query_num_rows=>50
|
|
,p_query_options=>'DERIVED_REPORT_COLUMNS'
|
|
,p_csv_output=>'N'
|
|
,p_prn_output=>'N'
|
|
,p_sort_null=>'L'
|
|
,p_plug_query_strip_html=>'N'
|
|
);
|
|
wwv_flow_api.create_report_columns(
|
|
p_id=>wwv_flow_api.id(16221782509514106)
|
|
,p_query_column_id=>1
|
|
,p_column_alias=>'ITEM_NAME'
|
|
,p_column_display_sequence=>10
|
|
,p_column_heading=>'Item Name'
|
|
,p_use_as_row_header=>'N'
|
|
,p_display_as=>'WITHOUT_MODIFICATION'
|
|
,p_derived_column=>'N'
|
|
,p_include_in_export=>'Y'
|
|
);
|
|
wwv_flow_api.create_report_columns(
|
|
p_id=>wwv_flow_api.id(16221810155514107)
|
|
,p_query_column_id=>2
|
|
,p_column_alias=>'ITEM_VALUE'
|
|
,p_column_display_sequence=>20
|
|
,p_column_heading=>'Item Value'
|
|
,p_use_as_row_header=>'N'
|
|
,p_derived_column=>'N'
|
|
,p_include_in_export=>'Y'
|
|
);
|
|
wwv_flow_api.create_report_region(
|
|
p_id=>wwv_flow_api.id(16222122706514110)
|
|
,p_name=>'App/Global Items'
|
|
,p_parent_plug_id=>wwv_flow_api.id(16222516003514114)
|
|
,p_template=>wwv_flow_api.id(9078290074569925)
|
|
,p_display_sequence=>30
|
|
,p_region_template_options=>'#DEFAULT#'
|
|
,p_component_template_options=>'#DEFAULT#:t-AVPList--fixedLabelMedium:t-AVPList--leftAligned:t-Report--hideNoPagination'
|
|
,p_new_grid_row=>false
|
|
,p_grid_column_span=>4
|
|
,p_display_point=>'BODY'
|
|
,p_source_type=>'NATIVE_SQL_REPORT'
|
|
,p_query_type=>'SQL'
|
|
,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
|
|
'SELECT',
|
|
' CASE',
|
|
' WHEN (REGEXP_LIKE(app.get_request_url(), ''[:,]'' || i.item_name || ''[,:]'')',
|
|
' OR REGEXP_LIKE(app.get_request_url(), ''[\?&'' || '']'' || LOWER(i.item_name) || ''[=&'' || '']'')',
|
|
' )',
|
|
' THEN ''* ''',
|
|
' END || i.item_name AS item_name,',
|
|
' i.item_value',
|
|
'FROM (',
|
|
' SELECT',
|
|
' i.item_name,',
|
|
' app.get_item(i.item_name) AS item_value',
|
|
' FROM apex_application_items i',
|
|
' WHERE i.application_id = app.get_app_id()',
|
|
' UNION ALL',
|
|
' SELECT',
|
|
' i.item_name,',
|
|
' app.get_item(i.item_name) AS item_value',
|
|
' FROM apex_application_page_items i',
|
|
' WHERE i.application_id = app.get_app_id()',
|
|
' AND i.page_id = 0',
|
|
') i',
|
|
'ORDER BY 1;',
|
|
''))
|
|
,p_ajax_enabled=>'Y'
|
|
,p_lazy_loading=>false
|
|
,p_query_row_template=>wwv_flow_api.id(9115257435569961)
|
|
,p_query_num_rows=>50
|
|
,p_query_options=>'DERIVED_REPORT_COLUMNS'
|
|
,p_csv_output=>'N'
|
|
,p_prn_output=>'N'
|
|
,p_sort_null=>'L'
|
|
,p_plug_query_strip_html=>'N'
|
|
);
|
|
wwv_flow_api.create_report_columns(
|
|
p_id=>wwv_flow_api.id(16222241084514111)
|
|
,p_query_column_id=>1
|
|
,p_column_alias=>'ITEM_NAME'
|
|
,p_column_display_sequence=>10
|
|
,p_column_heading=>'Item Name'
|
|
,p_use_as_row_header=>'N'
|
|
,p_display_as=>'WITHOUT_MODIFICATION'
|
|
,p_derived_column=>'N'
|
|
,p_include_in_export=>'Y'
|
|
);
|
|
wwv_flow_api.create_report_columns(
|
|
p_id=>wwv_flow_api.id(16222360232514112)
|
|
,p_query_column_id=>2
|
|
,p_column_alias=>'ITEM_VALUE'
|
|
,p_column_display_sequence=>20
|
|
,p_column_heading=>'Item Value'
|
|
,p_use_as_row_header=>'N'
|
|
,p_derived_column=>'N'
|
|
,p_include_in_export=>'Y'
|
|
);
|
|
wwv_flow_api.create_page_plug(
|
|
p_id=>wwv_flow_api.id(16222425620514113)
|
|
,p_plug_name=>'Debug for Developers'
|
|
,p_parent_plug_id=>wwv_flow_api.id(16222516003514114)
|
|
,p_icon_css_classes=>'fa-bug'
|
|
,p_region_template_options=>'#DEFAULT#'
|
|
,p_plug_template=>wwv_flow_api.id(9070356145569920)
|
|
,p_plug_display_sequence=>10
|
|
,p_plug_display_point=>'BODY'
|
|
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
|
|
,p_attribute_01=>'N'
|
|
,p_attribute_02=>'HTML'
|
|
);
|
|
wwv_flow_api.create_page_da_event(
|
|
p_id=>wwv_flow_api.id(11425112951377811)
|
|
,p_name=>'ON_LOAD'
|
|
,p_event_sequence=>10
|
|
,p_bind_type=>'bind'
|
|
,p_bind_event_type=>'ready'
|
|
);
|
|
wwv_flow_api.create_page_da_action(
|
|
p_id=>wwv_flow_api.id(11425241361377812)
|
|
,p_event_id=>wwv_flow_api.id(11425112951377811)
|
|
,p_event_result=>'TRUE'
|
|
,p_action_sequence=>10
|
|
,p_execute_on_page_init=>'Y'
|
|
,p_action=>'NATIVE_JAVASCRIPT_CODE'
|
|
,p_attribute_01=>wwv_flow_string.join(wwv_flow_t_varchar2(
|
|
'apex_page_loaded();',
|
|
''))
|
|
);
|
|
wwv_flow_api.component_end;
|
|
end;
|
|
/
|