From e0586a976595aa460de0c4362d2da50d948f7508 Mon Sep 17 00:00:00 2001
From: Peter Raganitsch Free Plug-in under MIT License
diff --git a/apex/com_fos_message_actions.sql b/apex/com_fos_message_actions.sql
index db45b2f..b6f31af 100644
--- a/apex/com_fos_message_actions.sql
+++ b/apex/com_fos_message_actions.sql
@@ -36,10 +36,12 @@ prompt APPLICATION 102 - FOS Dev - Plugin Master
-- PLUGIN: 134108205512926532
-- PLUGIN: 1039471776506160903
-- PLUGIN: 547902228942303344
+-- PLUGIN: 217651153971039957
-- PLUGIN: 412155278231616931
--- PLUGIN: 1200087692794692554
+-- PLUGIN: 1389837954374630576
-- PLUGIN: 461352325906078083
-- PLUGIN: 13235263798301758
+-- PLUGIN: 216426771609128043
-- PLUGIN: 37441962356114799
-- PLUGIN: 1846579882179407086
-- PLUGIN: 8354320589762683
@@ -47,6 +49,7 @@ prompt APPLICATION 102 - FOS Dev - Plugin Master
-- PLUGIN: 106296184223956059
-- PLUGIN: 35822631205839510
-- PLUGIN: 2674568769566617
+-- PLUGIN: 183507938916453268
-- PLUGIN: 14934236679644451
-- PLUGIN: 2600618193722136
-- PLUGIN: 2657630155025963
@@ -55,6 +58,7 @@ prompt APPLICATION 102 - FOS Dev - Plugin Master
-- PLUGIN: 98648032013264649
-- PLUGIN: 455014954654760331
-- PLUGIN: 98504124924145200
+-- PLUGIN: 212503470416800524
-- Manifest End
-- Version: 19.2.0.00.18
-- Instance ID: 250144500186934
@@ -116,10 +120,16 @@ wwv_flow_api.create_plugin(
' ',
' -- success configuration',
' l_duration p_dynamic_action.attribute_09%type := p_dynamic_action.attribute_09;',
+' ',
+' -- message types to clear',
+' l_clear_success boolean := instr(nvl(p_dynamic_action.attribute_12,'' ''), ''success'') > 0;',
+' l_clear_error boolean := instr(nvl(p_dynamic_action.attribute_12,'' ''), ''error'' ) > 0;',
+' l_hide_after pls_integer := p_dynamic_action.attribute_13;',
+' ',
'',
'begin',
' -- standard debugging intro, but only if necessary',
-' if apex_application.g_debug ',
+' if apex_application.g_debug and substr(:DEBUG,6) >= 6 ',
' then',
' apex_plugin_util.debug_dynamic_action',
' ( p_plugin => p_plugin',
@@ -195,6 +205,11 @@ wwv_flow_api.create_plugin(
' when ''clear-errors'' then',
' apex_json.write(''actionType'' , ''clearErrors'');',
' apex_json.write(''pageItems'' , l_clear_items);',
+' when ''clear-message'' then',
+' apex_json.write(''actionType'' , ''clearMessage'');',
+' apex_json.write(''clearSuccess'', l_clear_success);',
+' apex_json.write(''clearError'' , l_clear_error);',
+' apex_json.write(''hideAfter'' , l_hide_after * 1000); ',
' end case;',
'',
' apex_json.close_object;',
@@ -215,13 +230,13 @@ wwv_flow_api.create_plugin(
||'look the same as regular APEX page notifications. Internally we use the same Javascript API that APEX provides to show these messages.
The message can be a static string with optional page item substitutions, or derived from a Javascript expression or function.
', 'You also have control over how escaping should be performed on the message. Either entirely, or only for certain page items if your message contains HTML markup.
')) -,p_version_identifier=>'21.1.0' +,p_version_identifier=>'21.2.0' ,p_about_url=>'https://fos.world' ,p_plugin_comment=>wwv_flow_string.join(wwv_flow_t_varchar2( '// Settings for the FOS browser extension', '@fos-auto-return-to-page', '@fos-auto-open-files:js/script.js')) -,p_files_version=>180 +,p_files_version=>387 ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(106296321175956059) @@ -274,6 +289,15 @@ wwv_flow_api.create_plugin_attr_value( ,p_return_value=>'clear-errors' ,p_help_text=>'Clears all current error notifications.
' ); +wwv_flow_api.create_plugin_attr_value( + p_id=>wwv_flow_api.id(222011572344365593) +,p_plugin_attribute_id=>wwv_flow_api.id(106296321175956059) +,p_display_sequence=>50 +,p_display_value=>'Auto Dismiss Message(s)' +,p_return_value=>'clear-message' +,p_help_text=>'Select this option (and execute it on Page Load) to automatically dismiss success/error messages after a specified time - set the "hideAfter" property in the JavaScript Initialization Code to the required value in milliseconds. Defau' +||'lt is 3000.
' +); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(106298738074956061) ,p_plugin_id=>wwv_flow_api.id(106296184223956059) @@ -504,6 +528,58 @@ wwv_flow_api.create_plugin_attribute( ,p_depending_on_expression=>'clear-errors' ,p_help_text=>'Enter a list of page item(s) that you would like to clear errors for. Leave this attribute blank if you want to clear all errors.
' ); +wwv_flow_api.create_plugin_attribute( + p_id=>wwv_flow_api.id(222012509919427452) +,p_plugin_id=>wwv_flow_api.id(106296184223956059) +,p_attribute_scope=>'COMPONENT' +,p_attribute_sequence=>12 +,p_display_sequence=>120 +,p_prompt=>'Messages Type' +,p_attribute_type=>'CHECKBOXES' +,p_is_required=>true +,p_default_value=>'success,error' +,p_is_translatable=>false +,p_depending_on_attribute_id=>wwv_flow_api.id(106296321175956059) +,p_depending_on_has_to_exist=>true +,p_depending_on_condition_type=>'EQUALS' +,p_depending_on_expression=>'clear-message' +,p_lov_type=>'STATIC' +,p_help_text=>'Select which type of messages should be dismissed automatically.
' +); +wwv_flow_api.create_plugin_attr_value( + p_id=>wwv_flow_api.id(222012852065430414) +,p_plugin_attribute_id=>wwv_flow_api.id(222012509919427452) +,p_display_sequence=>10 +,p_display_value=>'Success' +,p_return_value=>'success' +,p_help_text=>'Success messages will be automatically removed.
' +); +wwv_flow_api.create_plugin_attr_value( + p_id=>wwv_flow_api.id(222013251552431355) +,p_plugin_attribute_id=>wwv_flow_api.id(222012509919427452) +,p_display_sequence=>20 +,p_display_value=>'Error' +,p_return_value=>'error' +,p_help_text=>'Error messages will be automatically removed.
' +); +wwv_flow_api.create_plugin_attribute( + p_id=>wwv_flow_api.id(225551234662406101) +,p_plugin_id=>wwv_flow_api.id(106296184223956059) +,p_attribute_scope=>'COMPONENT' +,p_attribute_sequence=>13 +,p_display_sequence=>130 +,p_prompt=>'Autodismiss After' +,p_attribute_type=>'INTEGER' +,p_is_required=>true +,p_default_value=>'5' +,p_unit=>'seconds' +,p_is_translatable=>false +,p_depending_on_attribute_id=>wwv_flow_api.id(106296321175956059) +,p_depending_on_has_to_exist=>true +,p_depending_on_condition_type=>'EQUALS' +,p_depending_on_expression=>'clear-message' +,p_help_text=>'Enter the number of seconds to auto dismiss all APEX Notifications.
' +); wwv_flow_api.create_plugin_std_attribute( p_id=>wwv_flow_api.id(106308731252956066) ,p_plugin_id=>wwv_flow_api.id(106296184223956059) @@ -527,67 +603,89 @@ wwv_flow_api.g_varchar2_table(2) := '6F6E2069732073686F77696E67206F7220686964696 wwv_flow_api.g_varchar2_table(3) := '20202020202020202020202020202044796E616D696320416374696F6E20636F6E746578742061732070617373656420696E20627920415045580A202A2040706172616D207B6F626A6563747D202020636F6E6669672020202020202020202020202020'; wwv_flow_api.g_varchar2_table(4) := '2020202020202020202020436F6E66696775726174696F6E206F626A65637420686F6C64696E6720746865206D65737361676520636F6E66696775726174696F6E0A202A2040706172616D207B737472696E677D202020636F6E6669672E6D6573736167'; wwv_flow_api.g_varchar2_table(5) := '652020202020202020202020202020202020537472696E67206F72204A532066756E6374696F6E2072657475726E696E6720746865206D65737361676520746578740A202A2040706172616D207B737472696E677D202020636F6E6669672E616374696F'; -wwv_flow_api.g_varchar2_table(6) := '6E5479706520202020202020202020202020204F6E65206F663A2073686F7750616765537563636573737C6869646550616765537563636573737C73686F774572726F727C636C6561724572726F72730A202A2040706172616D207B626F6F6C65616E7D'; -wwv_flow_api.g_varchar2_table(7) := '20205B636F6E6669672E6573636170655D202020202020202020202020202020205768657468657220746F2065736361706520746865206D65737361676520746578740A202A2040706172616D207B6E756D6265727D2020205B636F6E6669672E636F6E'; -wwv_flow_api.g_varchar2_table(8) := '6669672E6475726174696F6E5D20202020202020416D6F756E74206F66206D696C6C697365636F6E647320616674657220746861742074686520706167652073756363657373206D6573736167652073686F756C64206175746F6D61746963616C6C7920'; -wwv_flow_api.g_varchar2_table(9) := '6265206469736D69737365640A202A2040706172616D207B737472696E677D2020205B636F6E6669672E6C6F636174696F6E5D2020202020202020202020202020576865726520746F20646973706C617920746865206572726F72206D6573736167652C'; -wwv_flow_api.g_varchar2_table(10) := '206F6E20706167652C20696E6C696E652C20626F74680A202A2040706172616D207B737472696E677D2020205B636F6E6669672E706167654974656D5D20202020202020202020202020204E616D65206F66207468652070616765206974656D20776869'; -wwv_flow_api.g_varchar2_table(11) := '636820746865206572726F72206D6573736167652073686F756C64206265206173736F63696174656420776974680A202A2040706172616D207B737472696E677D2020205B636F6E6669672E706167654974656D735D202020202020202020202020204E'; -wwv_flow_api.g_varchar2_table(12) := '616D65206F66207468652070616765206974656D7320776869636820746865206572726F72206D6573736167652073686F756C6420626520636C656172656420666F720A202A2040706172616D207B66756E6374696F6E7D205B696E6974466E5D202020'; -wwv_flow_api.g_varchar2_table(13) := '20202020202020202020202020202020202020204A61766173637269707420496E697469616C697A6174696F6E20436F64652046756E6374696F6E2C2069742063616E20626520756E646566696E65640A2A2F0A464F532E6D6573736167652E61637469'; -wwv_flow_api.g_varchar2_table(14) := '6F6E203D2066756E6374696F6E20286461436F6E746578742C20636F6E6669672C20696E6974466E29207B0A0A2020202076617220706C7567696E4E616D65203D2027464F53202D204D65737361676520416374696F6E73273B0A20202020617065782E'; -wwv_flow_api.g_varchar2_table(15) := '64656275672E696E666F28706C7567696E4E616D652C20636F6E666967293B0A0A202020202F2F20416C6C6F772074686520646576656C6F70657220746F20706572666F726D20616E79206C617374202863656E7472616C697A656429206368616E6765'; -wwv_flow_api.g_varchar2_table(16) := '73207573696E67204A61766173637269707420496E697469616C697A6174696F6E20436F64652073657474696E670A2020202069662028696E6974466E20696E7374616E63656F662046756E6374696F6E29207B0A2020202020202020696E6974466E2E'; -wwv_flow_api.g_varchar2_table(17) := '63616C6C286461436F6E746578742C20636F6E666967293B0A202020207D0A0A20202020766172206D6573736167653B0A0A202020202F2F205265706C6163696E6720737562737469747574696E6720737472696E677320616E64206573636170696E67'; -wwv_flow_api.g_varchar2_table(18) := '20746865206D6573736167650A20202020696620285B2773686F775061676553756363657373272C202773686F774572726F72275D2E696E6465784F6628636F6E6669672E616374696F6E5479706529203E202D3129207B0A0A20202020202020206966'; -wwv_flow_api.g_varchar2_table(19) := '2028636F6E6669672E6D65737361676520696E7374616E63656F662046756E6374696F6E29207B0A2020202020202020202020206D657373616765203D20636F6E6669672E6D6573736167652E63616C6C286461436F6E74657874293B0A202020202020'; -wwv_flow_api.g_varchar2_table(20) := '20207D20656C7365207B0A2020202020202020202020206D657373616765203D20636F6E6669672E6D6573736167653B0A20202020202020207D0A0A20202020202020202F2F20205265706C6163696E6720737562737469747574696F6E20737472696E'; -wwv_flow_api.g_varchar2_table(21) := '67730A20202020202020202F2F2020576520646F6E27742065736361706520746865206D6573736167652062792064656661756C742E205765206C65742074686520646576656C6F70657220646563696465207768657468657220746F20657363617065'; -wwv_flow_api.g_varchar2_table(22) := '0A20202020202020202F2F20207468652077686F6C65206D6573736167652C206F72206A75737420696E76696475616C2070616765206974656D73207669612024504147455F4954454D2148544D4C2E0A2020202020202020696620286D657373616765'; -wwv_flow_api.g_varchar2_table(23) := '29207B0A2020202020202020202020206D657373616765203D20617065782E7574696C2E6170706C7954656D706C617465286D6573736167652C207B0A2020202020202020202020202020202064656661756C7445736361706546696C7465723A206E75'; -wwv_flow_api.g_varchar2_table(24) := '6C6C0A2020202020202020202020207D293B0A20202020202020207D20656C7365207B0A2020202020202020202020202F2F20496E206361736520746865206D65737361676520697320656D7074792C2077652077696C6C2065786974206E6F77206173'; -wwv_flow_api.g_varchar2_table(25) := '207468657265206973206E6F7468696E6720746F2073686F770A2020202020202020202020202F2F2077652077696C6C206C6F672061206465627567206D65737361676520746F20696E64696361746520746865206D65737361676520697320626C616E'; -wwv_flow_api.g_varchar2_table(26) := '6B2E205468697320697320746865200A2020202020202020202020202F2F2073616D65206265686176696F7572206173206F7572204E6F74696669636174696F6E7320706C75672D696E0A202020202020202020202020617065782E64656275672E6C6F'; -wwv_flow_api.g_varchar2_table(27) := '6728636F6E6669672E706C7567696E4E616D65202B20273A20746865206D65737361676520697320656D7074792C20736F206974206973206E6F742073686F776E2127293B0A20202020202020202020202072657475726E3B0A20202020202020207D0A'; -wwv_flow_api.g_varchar2_table(28) := '0A20202020202020202F2F20457363617065205370656369616C2043686172616374657273206174747269627574650A202020202020202069662028636F6E6669672E65736361706529207B0A2020202020202020202020206D657373616765203D2061'; -wwv_flow_api.g_varchar2_table(29) := '7065782E7574696C2E65736361706548544D4C286D657373616765293B0A20202020202020207D0A202020207D0A0A202020207377697463682028636F6E6669672E616374696F6E5479706529207B0A202020202020202063617365202773686F775061'; -wwv_flow_api.g_varchar2_table(30) := '676553756363657373273A0A202020202020202020202020464F532E6D6573736167652E73686F775061676553756363657373286D6573736167652C20636F6E6669672E636F6E666967293B0A202020202020202020202020627265616B3B0A20202020'; -wwv_flow_api.g_varchar2_table(31) := '20202020636173652027686964655061676553756363657373273A0A202020202020202020202020464F532E6D6573736167652E68696465506167655375636365737328293B0A202020202020202020202020627265616B3B0A20202020202020206361'; -wwv_flow_api.g_varchar2_table(32) := '7365202773686F774572726F72273A0A202020202020202020202020464F532E6D6573736167652E73686F774572726F72286D6573736167652C20636F6E6669672E636F6E666967293B0A202020202020202020202020627265616B3B0A202020202020'; -wwv_flow_api.g_varchar2_table(33) := '2020636173652027636C6561724572726F7273273A0A202020202020202020202020464F532E6D6573736167652E636C6561724572726F727328636F6E6669672E706167654974656D73293B0A202020202020202020202020627265616B3B0A20202020'; -wwv_flow_api.g_varchar2_table(34) := '7D0A7D3B0A0A464F532E6D6573736167652E73686F775061676553756363657373203D2066756E6374696F6E20286D6573736167652C20636F6E66696729207B0A0A202020202F2F2073746F7020616E79206C696E676572696E67206175746F20646973'; -wwv_flow_api.g_varchar2_table(35) := '6D697373657320696620616E206578697374696E67206D6573736167652068617320616C7265616479206265656E2073686F776E0A202020207661722063757272656E7454696D656F75744964203D20464F532E6D6573736167652E73686F7750616765'; +wwv_flow_api.g_varchar2_table(6) := '6E5479706520202020202020202020202020204F6E65206F663A2073686F7750616765537563636573737C6869646550616765537563636573737C73686F774572726F727C636C6561724572726F72737C636C6561724572726F720A202A204070617261'; +wwv_flow_api.g_varchar2_table(7) := '6D207B626F6F6C65616E7D20205B636F6E6669672E6573636170655D202020202020202020202020202020205768657468657220746F2065736361706520746865206D65737361676520746578740A202A2040706172616D207B6E756D6265727D202020'; +wwv_flow_api.g_varchar2_table(8) := '5B636F6E6669672E636F6E6669672E6475726174696F6E5D20202020202020416D6F756E74206F66206D696C6C697365636F6E647320616674657220746861742074686520706167652073756363657373206D6573736167652073686F756C6420617574'; +wwv_flow_api.g_varchar2_table(9) := '6F6D61746963616C6C79206265206469736D69737365640A202A2040706172616D207B737472696E677D2020205B636F6E6669672E6C6F636174696F6E5D2020202020202020202020202020576865726520746F20646973706C61792074686520657272'; +wwv_flow_api.g_varchar2_table(10) := '6F72206D6573736167652C206F6E20706167652C20696E6C696E652C20626F74680A202A2040706172616D207B737472696E677D2020205B636F6E6669672E706167654974656D5D20202020202020202020202020204E616D65206F6620746865207061'; +wwv_flow_api.g_varchar2_table(11) := '6765206974656D20776869636820746865206572726F72206D6573736167652073686F756C64206265206173736F63696174656420776974680A202A2040706172616D207B737472696E677D2020205B636F6E6669672E706167654974656D735D202020'; +wwv_flow_api.g_varchar2_table(12) := '202020202020202020204E616D65206F66207468652070616765206974656D7320776869636820746865206572726F72206D6573736167652073686F756C6420626520636C656172656420666F720A202A2040706172616D207B626F6F6C65616E7D2020'; +wwv_flow_api.g_varchar2_table(13) := '636F6E6669672E636C656172537563636573732020202020202020202020205768657468657220746F206175746F2D636C6561722073756363657373206D657373616765730A202A2040706172616D207B626F6F6C65616E7D2020636F6E6669672E636C'; +wwv_flow_api.g_varchar2_table(14) := '6561724572726F7220202020202020202020202020205768657468657220746F206175746F2D636C656172206572726F72206D657373616765730A202A2040706172616D207B66756E6374696F6E7D205B696E6974466E5D202020202020202020202020'; +wwv_flow_api.g_varchar2_table(15) := '20202020202020202020204A61766173637269707420496E697469616C697A6174696F6E20436F64652046756E6374696F6E2C2069742063616E20626520756E646566696E65640A2A2F0A464F532E6D6573736167652E616374696F6E203D2066756E63'; +wwv_flow_api.g_varchar2_table(16) := '74696F6E20286461436F6E746578742C20636F6E6669672C20696E6974466E29207B0A0A2020202076617220706C7567696E4E616D65203D2027464F53202D204D65737361676520416374696F6E73273B0A20202020617065782E64656275672E696E66'; +wwv_flow_api.g_varchar2_table(17) := '6F28706C7567696E4E616D652C20636F6E666967293B0A0A202020202F2F20416C6C6F772074686520646576656C6F70657220746F20706572666F726D20616E79206C617374202863656E7472616C697A656429206368616E676573207573696E67204A'; +wwv_flow_api.g_varchar2_table(18) := '61766173637269707420496E697469616C697A6174696F6E20436F64652073657474696E670A2020202069662028696E6974466E20696E7374616E63656F662046756E6374696F6E29207B0A2020202020202020696E6974466E2E63616C6C286461436F'; +wwv_flow_api.g_varchar2_table(19) := '6E746578742C20636F6E666967293B0A202020207D0A0A20202020766172206D6573736167653B0A0A202020202F2F205265706C6163696E6720737562737469747574696E6720737472696E677320616E64206573636170696E6720746865206D657373'; +wwv_flow_api.g_varchar2_table(20) := '6167650A20202020696620285B2773686F775061676553756363657373272C202773686F774572726F72275D2E696E6465784F6628636F6E6669672E616374696F6E5479706529203E202D3129207B0A0A202020202020202069662028636F6E6669672E'; +wwv_flow_api.g_varchar2_table(21) := '6D65737361676520696E7374616E63656F662046756E6374696F6E29207B0A2020202020202020202020206D657373616765203D20636F6E6669672E6D6573736167652E63616C6C286461436F6E74657874293B0A20202020202020207D20656C736520'; +wwv_flow_api.g_varchar2_table(22) := '7B0A2020202020202020202020206D657373616765203D20636F6E6669672E6D6573736167653B0A20202020202020207D0A0A20202020202020202F2F20205265706C6163696E6720737562737469747574696F6E20737472696E67730A202020202020'; -wwv_flow_api.g_varchar2_table(36) := '537563636573732E74696D656F757449643B0A202020206966202863757272656E7454696D656F7574496429207B0A2020202020202020636C656172496E74657276616C2863757272656E7454696D656F75744964293B0A202020202020202064656C65'; -wwv_flow_api.g_varchar2_table(37) := '746520464F532E6D6573736167652E73686F7750616765537563636573732E74696D656F757449643B0A202020207D0A0A202020202F2F20616E79206573636170696E6720697320617373756D656420746F2068617665206265656E20646F6E65206279'; -wwv_flow_api.g_varchar2_table(38) := '206E6F770A20202020617065782E6D6573736167652E73686F775061676553756363657373286D657373616765293B0A0A202020202F2F207365747570206F75722074696D657220746F206175746F206469736D69737320746865206D65737361676520'; -wwv_flow_api.g_varchar2_table(39) := '61667465722058207365636F6E64730A2020202069662028636F6E6669672E6475726174696F6E29207B0A2020202020202020464F532E6D6573736167652E73686F7750616765537563636573732E74696D656F75744964203D2073657454696D656F75'; -wwv_flow_api.g_varchar2_table(40) := '742866756E6374696F6E202829207B0A202020202020202020202020464F532E6D6573736167652E68696465506167655375636365737328293B0A20202020202020207D2C20636F6E6669672E6475726174696F6E293B0A202020207D0A7D3B0A0A464F'; -wwv_flow_api.g_varchar2_table(41) := '532E6D6573736167652E686964655061676553756363657373203D2066756E6374696F6E202829207B0A20202020617065782E6D6573736167652E68696465506167655375636365737328293B0A7D3B0A0A464F532E6D6573736167652E73686F774572'; -wwv_flow_api.g_varchar2_table(42) := '726F72203D2066756E6374696F6E20286D6573736167652C20636F6E66696729207B0A0A202020202F2F2073746F7020616E79206C696E676572696E67206175746F206469736D697373657320696620616E206578697374696E67206D65737361676520'; -wwv_flow_api.g_varchar2_table(43) := '68617320616C7265616479206265656E2073686F776E0A202020207661722063757272656E7454696D656F75744964203D20464F532E6D6573736167652E73686F774572726F722E74696D656F757449643B0A202020206966202863757272656E745469'; -wwv_flow_api.g_varchar2_table(44) := '6D656F7574496429207B0A2020202020202020636C656172496E74657276616C2863757272656E7454696D656F75744964293B0A202020202020202064656C65746520464F532E6D6573736167652E73686F774572726F722E74696D656F757449643B0A'; -wwv_flow_api.g_varchar2_table(45) := '202020207D0A0A202020202F2F206F7074696F6E616C6C7920636C656172206578697374696E67206572726F7273206265666F72652073686F77696E6720746865206E6577206F6E650A2020202069662028636F6E6669672E636C6561724572726F7273'; -wwv_flow_api.g_varchar2_table(46) := '2920464F532E6D6573736167652E636C6561724572726F727328293B0A0A202020202F2F206966207765206173736F636961746520746865206D657373616765207769746820616E206974656D207468656E207765206D6179206861766520646566696E'; -wwv_flow_api.g_varchar2_table(47) := '6564206D756C7469706C652070616765206974656D730A2020202069662028636F6E6669672E706167654974656D20262620636F6E6669672E6C6F636174696F6E2E696E636C756465732827696E6C696E65272929207B0A20202020202020202F2F2053'; -wwv_flow_api.g_varchar2_table(48) := '686F77206F75722070616765206974656D206572726F72730A2020202020202020636F6E6669672E706167654974656D2E73706C697428272C27292E666F72456163682866756E6374696F6E2028706167654974656D29207B0A20202020202020202020'; -wwv_flow_api.g_varchar2_table(49) := '20202F2F2053686F77206F75722041504558206572726F72206D6573736167650A202020202020202020202020617065782E6D6573736167652E73686F774572726F7273287B0A20202020202020202020202020202020747970653A20276572726F7227'; -wwv_flow_api.g_varchar2_table(50) := '2C0A202020202020202020202020202020206C6F636174696F6E3A205B27696E6C696E65275D2C0A20202020202020202020202020202020706167654974656D3A20706167654974656D2C0A202020202020202020202020202020206D6573736167653A'; -wwv_flow_api.g_varchar2_table(51) := '206D6573736167652C0A202020202020202020202020202020202F2F616E79206573636170696E6720697320617373756D656420746F2068617665206265656E20646F6E65206279206E6F770A20202020202020202020202020202020756E736166653A'; -wwv_flow_api.g_varchar2_table(52) := '2066616C73650A2020202020202020202020207D293B0A20202020202020207D293B0A20202020202020202F2F2073686F77206172652070616765206C6576656C206572726F7220696620646566696E65640A202020202020202069662028636F6E6669'; -wwv_flow_api.g_varchar2_table(53) := '672E6C6F636174696F6E2E696E636C75646573282770616765272929207B0A202020202020202020202020617065782E6D6573736167652E73686F774572726F7273287B0A20202020202020202020202020202020747970653A20276572726F72272C0A'; -wwv_flow_api.g_varchar2_table(54) := '202020202020202020202020202020206C6F636174696F6E3A205B2770616765275D2C0A20202020202020202020202020202020706167654974656D3A20756E646566696E65642C0A202020202020202020202020202020206D6573736167653A206D65'; -wwv_flow_api.g_varchar2_table(55) := '73736167652C0A202020202020202020202020202020202F2F616E79206573636170696E6720697320617373756D656420746F2068617665206265656E20646F6E65206279206E6F770A20202020202020202020202020202020756E736166653A206661'; -wwv_flow_api.g_varchar2_table(56) := '6C73650A2020202020202020202020207D293B0A20202020202020207D0A202020207D20656C7365207B0A20202020202020202F2F2053686F77206F7572206572726F72206D6573736167650A2020202020202020617065782E6D6573736167652E7368'; -wwv_flow_api.g_varchar2_table(57) := '6F774572726F7273287B0A202020202020202020202020747970653A20276572726F72272C0A2020202020202020202020206C6F636174696F6E3A20636F6E6669672E6C6F636174696F6E2C0A202020202020202020202020706167654974656D3A2063'; -wwv_flow_api.g_varchar2_table(58) := '6F6E6669672E706167654974656D2C0A2020202020202020202020206D6573736167653A206D6573736167652C0A2020202020202020202020202F2F616E79206573636170696E6720697320617373756D656420746F2068617665206265656E20646F6E'; -wwv_flow_api.g_varchar2_table(59) := '65206279206E6F770A202020202020202020202020756E736166653A2066616C73650A20202020202020207D293B0A202020207D0A0A202020202F2F207365747570206F75722074696D657220746F206175746F206469736D69737320746865206D6573'; -wwv_flow_api.g_varchar2_table(60) := '736167652061667465722058207365636F6E64730A2020202069662028636F6E6669672E6475726174696F6E29207B0A2020202020202020464F532E6D6573736167652E73686F774572726F722E74696D656F75744964203D2073657454696D656F7574'; -wwv_flow_api.g_varchar2_table(61) := '2866756E6374696F6E202829207B0A202020202020202020202020464F532E6D6573736167652E636C6561724572726F727328293B0A20202020202020207D2C20636F6E6669672E6475726174696F6E293B0A202020207D0A7D3B0A0A464F532E6D6573'; -wwv_flow_api.g_varchar2_table(62) := '736167652E636C6561724572726F7273203D2066756E6374696F6E2028706167654974656D7329207B0A202020202F2F20636865636B2069662077652061726520636C656172696E672031206F72206D6F72652070616765206974656D73206966206E6F'; -wwv_flow_api.g_varchar2_table(63) := '74207765207468656E20636C6561722065766572797468696E670A202020206966202841727261792E6973417272617928706167654974656D732920262620706167654974656D732E6C656E677468203E203029207B0A20202020202020207061676549'; -wwv_flow_api.g_varchar2_table(64) := '74656D732E666F72456163682866756E6374696F6E20286974656D2C20696E64657829207B0A202020202020202020202020696620286974656D2920617065782E6D6573736167652E636C6561724572726F7273286974656D2E7472696D2829293B0A20'; -wwv_flow_api.g_varchar2_table(65) := '202020202020207D290A202020207D20656C7365207B0A2020202020202020617065782E6D6573736167652E636C6561724572726F727328293B0A202020207D0A7D3B0A'; +wwv_flow_api.g_varchar2_table(23) := '20202F2F2020576520646F6E27742065736361706520746865206D6573736167652062792064656661756C742E205765206C65742074686520646576656C6F70657220646563696465207768657468657220746F206573636170650A2020202020202020'; +wwv_flow_api.g_varchar2_table(24) := '2F2F20207468652077686F6C65206D6573736167652C206F72206A75737420696E76696475616C2070616765206974656D73207669612024504147455F4954454D2148544D4C2E0A2020202020202020696620286D65737361676529207B0A2020202020'; +wwv_flow_api.g_varchar2_table(25) := '202020202020206D657373616765203D20617065782E7574696C2E6170706C7954656D706C617465286D6573736167652C207B0A2020202020202020202020202020202064656661756C7445736361706546696C7465723A206E756C6C0A202020202020'; +wwv_flow_api.g_varchar2_table(26) := '2020202020207D293B0A20202020202020207D20656C7365207B0A2020202020202020202020202F2F20496E206361736520746865206D65737361676520697320656D7074792C2077652077696C6C2065786974206E6F77206173207468657265206973'; +wwv_flow_api.g_varchar2_table(27) := '206E6F7468696E6720746F2073686F770A2020202020202020202020202F2F2077652077696C6C206C6F672061206465627567206D65737361676520746F20696E64696361746520746865206D65737361676520697320626C616E6B2E20546869732069'; +wwv_flow_api.g_varchar2_table(28) := '7320746865200A2020202020202020202020202F2F2073616D65206265686176696F7572206173206F7572204E6F74696669636174696F6E7320706C75672D696E0A202020202020202020202020617065782E64656275672E6C6F6728636F6E6669672E'; +wwv_flow_api.g_varchar2_table(29) := '706C7567696E4E616D65202B20273A20746865206D65737361676520697320656D7074792C20736F206974206973206E6F742073686F776E2127293B0A20202020202020202020202072657475726E3B0A20202020202020207D0A0A2020202020202020'; +wwv_flow_api.g_varchar2_table(30) := '2F2F20457363617065205370656369616C2043686172616374657273206174747269627574650A202020202020202069662028636F6E6669672E65736361706529207B0A2020202020202020202020206D657373616765203D20617065782E7574696C2E'; +wwv_flow_api.g_varchar2_table(31) := '65736361706548544D4C286D657373616765293B0A20202020202020207D0A202020207D0A0A202020207377697463682028636F6E6669672E616374696F6E5479706529207B0A202020202020202063617365202773686F775061676553756363657373'; +wwv_flow_api.g_varchar2_table(32) := '273A0A202020202020202020202020464F532E6D6573736167652E73686F775061676553756363657373286D6573736167652C20636F6E6669672E636F6E666967293B0A202020202020202020202020627265616B3B0A20202020202020206361736520'; +wwv_flow_api.g_varchar2_table(33) := '27686964655061676553756363657373273A0A202020202020202020202020464F532E6D6573736167652E68696465506167655375636365737328293B0A202020202020202020202020627265616B3B0A202020202020202063617365202773686F7745'; +wwv_flow_api.g_varchar2_table(34) := '72726F72273A0A202020202020202020202020464F532E6D6573736167652E73686F774572726F72286D6573736167652C20636F6E6669672E636F6E666967293B0A202020202020202020202020627265616B3B0A202020202020202063617365202763'; +wwv_flow_api.g_varchar2_table(35) := '6C6561724572726F7273273A0A202020202020202020202020464F532E6D6573736167652E636C6561724572726F727328636F6E6669672E706167654974656D73293B0A202020202020202020202020627265616B3B0A20202020202020206361736520'; +wwv_flow_api.g_varchar2_table(36) := '27636C6561724D657373616765273A0A202020202020202020202020464F532E6D6573736167652E636C6561724D65737361676528636F6E6669672E636C656172537563636573732C20636F6E6669672E636C6561724572726F722C20636F6E6669672E'; +wwv_flow_api.g_varchar2_table(37) := '686964654166746572293B0A202020202020202020202020627265616B3B0A202020207D0A7D3B0A0A464F532E6D6573736167652E73686F775061676553756363657373203D2066756E6374696F6E20286D6573736167652C20636F6E66696729207B0A'; +wwv_flow_api.g_varchar2_table(38) := '0A202020202F2F2073746F7020616E79206C696E676572696E67206175746F206469736D697373657320696620616E206578697374696E67206D6573736167652068617320616C7265616479206265656E2073686F776E0A202020207661722063757272'; +wwv_flow_api.g_varchar2_table(39) := '656E7454696D656F75744964203D20464F532E6D6573736167652E73686F7750616765537563636573732E74696D656F757449643B0A202020206966202863757272656E7454696D656F7574496429207B0A2020202020202020636C656172496E746572'; +wwv_flow_api.g_varchar2_table(40) := '76616C2863757272656E7454696D656F75744964293B0A202020202020202064656C65746520464F532E6D6573736167652E73686F7750616765537563636573732E74696D656F757449643B0A202020207D0A0A202020202F2F20616E79206573636170'; +wwv_flow_api.g_varchar2_table(41) := '696E6720697320617373756D656420746F2068617665206265656E20646F6E65206279206E6F770A20202020617065782E6D6573736167652E73686F775061676553756363657373286D657373616765293B0A0A202020202F2F207365747570206F7572'; +wwv_flow_api.g_varchar2_table(42) := '2074696D657220746F206175746F206469736D69737320746865206D6573736167652061667465722058207365636F6E64730A2020202069662028636F6E6669672E6475726174696F6E29207B0A2020202020202020464F532E6D6573736167652E7368'; +wwv_flow_api.g_varchar2_table(43) := '6F7750616765537563636573732E74696D656F75744964203D2073657454696D656F75742866756E6374696F6E202829207B0A202020202020202020202020464F532E6D6573736167652E68696465506167655375636365737328293B0A202020202020'; +wwv_flow_api.g_varchar2_table(44) := '20207D2C20636F6E6669672E6475726174696F6E293B0A202020207D0A7D3B0A0A464F532E6D6573736167652E686964655061676553756363657373203D2066756E6374696F6E202829207B0A20202020617065782E6D6573736167652E686964655061'; +wwv_flow_api.g_varchar2_table(45) := '67655375636365737328293B0A7D3B0A0A464F532E6D6573736167652E73686F774572726F72203D2066756E6374696F6E20286D6573736167652C20636F6E66696729207B0A0A202020202F2F2073746F7020616E79206C696E676572696E6720617574'; +wwv_flow_api.g_varchar2_table(46) := '6F206469736D697373657320696620616E206578697374696E67206D6573736167652068617320616C7265616479206265656E2073686F776E0A202020207661722063757272656E7454696D656F75744964203D20464F532E6D6573736167652E73686F'; +wwv_flow_api.g_varchar2_table(47) := '774572726F722E74696D656F757449643B0A202020206966202863757272656E7454696D656F7574496429207B0A2020202020202020636C656172496E74657276616C2863757272656E7454696D656F75744964293B0A202020202020202064656C6574'; +wwv_flow_api.g_varchar2_table(48) := '6520464F532E6D6573736167652E73686F774572726F722E74696D656F757449643B0A202020207D0A0A202020202F2F206F7074696F6E616C6C7920636C656172206578697374696E67206572726F7273206265666F72652073686F77696E6720746865'; +wwv_flow_api.g_varchar2_table(49) := '206E6577206F6E650A2020202069662028636F6E6669672E636C6561724572726F72732920464F532E6D6573736167652E636C6561724572726F727328293B0A0A202020202F2F206966207765206173736F636961746520746865206D65737361676520'; +wwv_flow_api.g_varchar2_table(50) := '7769746820616E206974656D207468656E207765206D6179206861766520646566696E6564206D756C7469706C652070616765206974656D730A2020202069662028636F6E6669672E706167654974656D20262620636F6E6669672E6C6F636174696F6E'; +wwv_flow_api.g_varchar2_table(51) := '2E696E636C756465732827696E6C696E65272929207B0A20202020202020202F2F2053686F77206F75722070616765206974656D206572726F72730A2020202020202020636F6E6669672E706167654974656D2E73706C697428272C27292E666F724561'; +wwv_flow_api.g_varchar2_table(52) := '63682866756E6374696F6E2028706167654974656D29207B0A2020202020202020202020202F2F2053686F77206F75722041504558206572726F72206D6573736167650A202020202020202020202020617065782E6D6573736167652E73686F77457272'; +wwv_flow_api.g_varchar2_table(53) := '6F7273287B0A20202020202020202020202020202020747970653A20276572726F72272C0A202020202020202020202020202020206C6F636174696F6E3A205B27696E6C696E65275D2C0A20202020202020202020202020202020706167654974656D3A'; +wwv_flow_api.g_varchar2_table(54) := '20706167654974656D2C0A202020202020202020202020202020206D6573736167653A206D6573736167652C0A202020202020202020202020202020202F2F616E79206573636170696E6720697320617373756D656420746F2068617665206265656E20'; +wwv_flow_api.g_varchar2_table(55) := '646F6E65206279206E6F770A20202020202020202020202020202020756E736166653A2066616C73650A2020202020202020202020207D293B0A20202020202020207D293B0A20202020202020202F2F2073686F77206172652070616765206C6576656C'; +wwv_flow_api.g_varchar2_table(56) := '206572726F7220696620646566696E65640A202020202020202069662028636F6E6669672E6C6F636174696F6E2E696E636C75646573282770616765272929207B0A202020202020202020202020617065782E6D6573736167652E73686F774572726F72'; +wwv_flow_api.g_varchar2_table(57) := '73287B0A20202020202020202020202020202020747970653A20276572726F72272C0A202020202020202020202020202020206C6F636174696F6E3A205B2770616765275D2C0A20202020202020202020202020202020706167654974656D3A20756E64'; +wwv_flow_api.g_varchar2_table(58) := '6566696E65642C0A202020202020202020202020202020206D6573736167653A206D6573736167652C0A202020202020202020202020202020202F2F616E79206573636170696E6720697320617373756D656420746F2068617665206265656E20646F6E'; +wwv_flow_api.g_varchar2_table(59) := '65206279206E6F770A20202020202020202020202020202020756E736166653A2066616C73650A2020202020202020202020207D293B0A20202020202020207D0A202020207D20656C7365207B0A20202020202020202F2F2053686F77206F7572206572'; +wwv_flow_api.g_varchar2_table(60) := '726F72206D6573736167650A2020202020202020617065782E6D6573736167652E73686F774572726F7273287B0A202020202020202020202020747970653A20276572726F72272C0A2020202020202020202020206C6F636174696F6E3A20636F6E6669'; +wwv_flow_api.g_varchar2_table(61) := '672E6C6F636174696F6E2C0A202020202020202020202020706167654974656D3A20636F6E6669672E706167654974656D2C0A2020202020202020202020206D6573736167653A206D6573736167652C0A2020202020202020202020202F2F616E792065'; +wwv_flow_api.g_varchar2_table(62) := '73636170696E6720697320617373756D656420746F2068617665206265656E20646F6E65206279206E6F770A202020202020202020202020756E736166653A2066616C73650A20202020202020207D293B0A202020207D0A0A202020202F2F2073657475'; +wwv_flow_api.g_varchar2_table(63) := '70206F75722074696D657220746F206175746F206469736D69737320746865206D6573736167652061667465722058207365636F6E64730A2020202069662028636F6E6669672E6475726174696F6E29207B0A2020202020202020464F532E6D65737361'; +wwv_flow_api.g_varchar2_table(64) := '67652E73686F774572726F722E74696D656F75744964203D2073657454696D656F75742866756E6374696F6E202829207B0A202020202020202020202020464F532E6D6573736167652E636C6561724572726F727328293B0A20202020202020207D2C20'; +wwv_flow_api.g_varchar2_table(65) := '636F6E6669672E6475726174696F6E293B0A202020207D0A7D3B0A0A464F532E6D6573736167652E636C6561724572726F7273203D2066756E6374696F6E2028706167654974656D7329207B0A202020202F2F20636865636B2069662077652061726520'; +wwv_flow_api.g_varchar2_table(66) := '636C656172696E672031206F72206D6F72652070616765206974656D73206966206E6F74207765207468656E20636C6561722065766572797468696E670A202020206966202841727261792E6973417272617928706167654974656D7329202626207061'; +wwv_flow_api.g_varchar2_table(67) := '67654974656D732E6C656E677468203E203029207B0A2020202020202020706167654974656D732E666F72456163682866756E6374696F6E20286974656D2C20696E64657829207B0A202020202020202020202020696620286974656D2920617065782E'; +wwv_flow_api.g_varchar2_table(68) := '6D6573736167652E636C6561724572726F7273286974656D2E7472696D2829293B0A20202020202020207D290A202020207D20656C7365207B0A2020202020202020617065782E6D6573736167652E636C6561724572726F727328293B0A202020207D0A'; +wwv_flow_api.g_varchar2_table(69) := '7D3B0A0A464F532E6D6573736167652E636C6561724D657373616765203D2066756E6374696F6E28636C656172537563636573732C20636C6561724572726F722C20686964654166746572297B0A20202020636F6E737420535543434553535F53454C45'; +wwv_flow_api.g_varchar2_table(70) := '43544F52203D2027415045585F535543434553535F4D455353414745273B0A20202020636F6E7374204552524F525F53454C4543544F52203D2027415045585F4552524F525F4D455353414745273B0A0A20202020636F6E73742073756363657373456C'; +wwv_flow_api.g_varchar2_table(71) := '203D20646F63756D656E742E676574456C656D656E744279496428535543434553535F53454C4543544F52293B0A20202020636F6E7374206572726F72456C203D20646F63756D656E742E676574456C656D656E7442794964284552524F525F53454C45'; +wwv_flow_api.g_varchar2_table(72) := '43544F52293B0A0A20202020636F6E73742056495349424C455F434C53203D2027752D76697369626C65273B0A20202020636F6E73742048494444454E5F434C53203D2027752D68696464656E273B0A0A20202020617065782E6D6573736167652E7365'; +wwv_flow_api.g_varchar2_table(73) := '745468656D65486F6F6B73287B0A20202020202020206265666F726553686F773A2066756E6374696F6E286D7367547970652C206D7367456C297B0A202020202020202020202020636F6E736F6C652E6C6F67286D7367456C293B0A2020202020202020'; +wwv_flow_api.g_varchar2_table(74) := '2020202069662828636C65617253756363657373202626206D736754797065203D3D2027737563636573732729207C7C2028636C6561724572726F72202626206D736754797065203D3D3D20276572726F722729297B0A20202020202020202020202020'; +wwv_flow_api.g_varchar2_table(75) := '20202073657454696D656F75742866756E6374696F6E28297B0A20202020202020202020202020202020202020206D7367456C2E72656D6F7665436C6173732856495349424C455F434C53292E616464436C6173732848494444454E5F434C53293B0A20'; +wwv_flow_api.g_varchar2_table(76) := '2020202020202020202020202020207D2C20686964654166746572293B0A2020202020202020202020207D0A20202020202020207D0A202020207D290A0A202020202F2F20636F6E7374206F62736572766572436F6E666967203D207B0A202020202F2F'; +wwv_flow_api.g_varchar2_table(77) := '2020202020617474726962757465733A20747275652C0A202020202F2F202020202061747472696275746546696C7465723A205B27636C617373275D2C0A202020202F2F20202020206368696C644C6973743A20747275652C0A202020202F2F20202020'; +wwv_flow_api.g_varchar2_table(78) := '20737562747265653A2066616C73650A202020202F2F207D3B0A0A202020202F2F20636F6E73742063616C6C6261636B203D2066756E6374696F6E286D75746174696F6E734C6973742C206F62736572766572297B0A202020202F2F2020202020636F6E'; +wwv_flow_api.g_varchar2_table(79) := '736F6C652E6C6F6728276D75746174696F6E4C697374272C206D75746174696F6E734C697374293B0A202020202F2F2020202020666F7228636F6E7374206D75746174696F6E206F66206D75746174696F6E734C697374297B0A202020202F2F20202020'; +wwv_flow_api.g_varchar2_table(80) := '20202020206966286D75746174696F6E2E74797065203D3D3D20276368696C644C69737427297B0A202020202F2F202020202020202020202020206966286D75746174696F6E2E61646465644E6F6465732E6C656E677468203E2030297B0A202020202F'; +wwv_flow_api.g_varchar2_table(81) := '2F2020202020202020202020202020202020636F6E736F6C652E6C6F67282741204E6F646520686173206265656E206164646564272C206D75746174696F6E2E61646465644E6F6465735B305D293B0A202020202F2F2020202020202020202020202020'; +wwv_flow_api.g_varchar2_table(82) := '202020636F6E736F6C652E6C6F67286D75746174696F6E293B0A202020202F2F202020202020202020202020207D0A0A202020202F2F202020202020202020202020206966286D75746174696F6E2E72656D6F7665644E6F6465732E6C656E677468203E'; +wwv_flow_api.g_varchar2_table(83) := '2030297B0A202020202F2F2020202020202020202020202020202020636F6E736F6C652E6C6F67282741204E6F646520686173206265656E2072656D6F766564272C206D75746174696F6E2E72656D6F7665644E6F6465735B305D293B0A202020202F2F'; +wwv_flow_api.g_varchar2_table(84) := '2020202020202020202020202020202020636F6E736F6C652E6C6F67286D75746174696F6E293B0A202020202F2F202020202020202020202020207D0A202020202F2F2020202020202020207D0A202020202F2F20202020207D0A202020202F2F207D0A'; +wwv_flow_api.g_varchar2_table(85) := '0A202020202F2F20636F6E7374206F62736572766572203D206E6577204D75746174696F6E4F627365727665722863616C6C6261636B293B0A0A202020202F2F20696628636C656172537563636573732026262073756363657373456C297B0A20202020'; +wwv_flow_api.g_varchar2_table(86) := '2F2F20202020206F627365727665722E6F6273657276652873756363657373456C2C6F62736572766572436F6E666967293B0A202020202F2F207D0A0A202020202F2F20696628636C6561724572726F72202626206572726F72456C297B0A202020202F'; +wwv_flow_api.g_varchar2_table(87) := '2F20202020206F627365727665722E6F627365727665286572726F72456C2C6F62736572766572436F6E666967293B0A202020202F2F207D0A202020200A7D0A0A'; null; end; / @@ -607,27 +705,32 @@ wwv_flow_api.g_varchar2_table := wwv_flow_api.empty_varchar2_table; wwv_flow_api.g_varchar2_table(1) := '7B2276657273696F6E223A332C22736F7572636573223A5B227363726970742E6A73225D2C226E616D6573223A5B22464F53222C2277696E646F77222C226D657373616765222C22616374696F6E222C226461436F6E74657874222C22636F6E66696722'; wwv_flow_api.g_varchar2_table(2) := '2C22696E6974466E222C2261706578222C226465627567222C22696E666F222C2246756E6374696F6E222C2263616C6C222C22696E6465784F66222C22616374696F6E54797065222C226C6F67222C22706C7567696E4E616D65222C227574696C222C22'; wwv_flow_api.g_varchar2_table(3) := '6170706C7954656D706C617465222C2264656661756C7445736361706546696C746572222C22657363617065222C2265736361706548544D4C222C2273686F775061676553756363657373222C22686964655061676553756363657373222C2273686F77'; -wwv_flow_api.g_varchar2_table(4) := '4572726F72222C22636C6561724572726F7273222C22706167654974656D73222C2263757272656E7454696D656F75744964222C2274696D656F75744964222C22636C656172496E74657276616C222C226475726174696F6E222C2273657454696D656F'; -wwv_flow_api.g_varchar2_table(5) := '7574222C22706167654974656D222C226C6F636174696F6E222C22696E636C75646573222C2273706C6974222C22666F7245616368222C2273686F774572726F7273222C2274797065222C22756E73616665222C22756E646566696E6564222C22417272'; -wwv_flow_api.g_varchar2_table(6) := '6179222C2269734172726179222C226C656E677468222C226974656D222C22696E646578222C227472696D225D2C226D617070696E6773223A22414145412C49414149412C4941414D432C4F41414F442C4B41414F2C4741437842412C49414149452C51'; -wwv_flow_api.g_varchar2_table(7) := '414155462C49414149452C534141572C474167423742462C49414149452C51414151432C4F4141532C53414155432C45414157432C45414151432C47414539432C494151494A2C4541474A2C474156414B2C4B41414B432C4D41414D432C4B41444D2C77'; -wwv_flow_api.g_varchar2_table(8) := '424143574A2C4741477842432C6141416B42492C5541436C424A2C4541414F4B2C4B41414B502C45414157432C47414D76422C434141432C6B4241416D422C614141614F2C51414151502C4541414F512C614141652C454141472C4341576C452C4B4152'; -wwv_flow_api.g_varchar2_table(9) := '49582C45414441472C4541414F482C6D4241416D42512C53414368424C2C4541414F482C51414151532C4B41414B502C4741457042432C4541414F482C5341656A422C594144414B2C4B41414B432C4D41414D4D2C49414149542C4541414F552C574141'; -wwv_flow_api.g_varchar2_table(10) := '612C2B4341506E43622C454141554B2C4B41414B532C4B41414B432C63414163662C454141532C434143764367422C6F42414171422C4F41577A42622C4541414F632C534143506A422C454141554B2C4B41414B532C4B41414B492C574141576C422C49'; -wwv_flow_api.g_varchar2_table(11) := '414976432C4F414151472C4541414F512C594143582C4941414B2C6B42414344622C49414149452C514141516D422C6742414167426E422C45414153472C4541414F412C51414335432C4D41434A2C4941414B2C6B424143444C2C49414149452C514141'; -wwv_flow_api.g_varchar2_table(12) := '516F422C6B4241435A2C4D41434A2C4941414B2C5941434474422C49414149452C5141415171422C5541415572422C45414153472C4541414F412C51414374432C4D41434A2C4941414B2C634143444C2C49414149452C5141415173422C594141596E42'; -wwv_flow_api.g_varchar2_table(13) := '2C4541414F6F422C61414B33437A422C49414149452C514141516D422C674241416B422C534141556E422C45414153472C47414737432C4941414971422C4541416D4231422C49414149452C514141516D422C6742414167424D2C5541432F43442C4941'; -wwv_flow_api.g_varchar2_table(14) := '4341452C63414163462C5541435031422C49414149452C514141516D422C6742414167424D2C574149764370422C4B41414B4C2C514141516D422C6742414167426E422C4741477A42472C4541414F77422C5741435037422C49414149452C514141516D'; -wwv_flow_api.g_varchar2_table(15) := '422C6742414167424D2C55414159472C594141572C5741432F4339422C49414149452C514141516F422C6F424143626A422C4541414F77422C5941496C4237422C49414149452C514141516F422C674241416B422C5741433142662C4B41414B4C2C5141'; -wwv_flow_api.g_varchar2_table(16) := '41516F422C6D4241476A4274422C49414149452C5141415171422C554141592C5341415572422C45414153472C47414776432C4941414971422C4541416D4231422C49414149452C5141415171422C55414155492C5541437A43442C49414341452C6341'; -wwv_flow_api.g_varchar2_table(17) := '4163462C5541435031422C49414149452C5141415171422C55414155492C574149374274422C4541414F6D422C6141416178422C49414149452C5141415173422C63414768436E422C4541414F30422C5541415931422C4541414F32422C53414153432C'; -wwv_flow_api.g_varchar2_table(18) := '534141532C574145354335422C4541414F30422C53414153472C4D41414D2C4B41414B432C534141512C534141554A2C4741457A4378422C4B41414B4C2C514141516B432C574141572C4341437042432C4B41414D2C5141434E4C2C534141552C434141'; -wwv_flow_api.g_varchar2_table(19) := '432C55414358442C53414155412C4541435637422C51414153412C454145546F432C514141512C4F41495A6A432C4541414F32422C53414153432C534141532C5341437A4231422C4B41414B4C2C514141516B432C574141572C4341437042432C4B4141'; -wwv_flow_api.g_varchar2_table(20) := '4D2C5141434E4C2C534141552C434141432C51414358442C63414155512C4541435672432C51414153412C454145546F432C514141512C4B414B68422F422C4B41414B4C2C514141516B432C574141572C4341437042432C4B41414D2C5141434E4C2C53'; -wwv_flow_api.g_varchar2_table(21) := '41415533422C4541414F32422C5341436A42442C5341415531422C4541414F30422C5341436A4237422C51414153412C454145546F432C514141512C49414B5A6A432C4541414F77422C5741435037422C49414149452C5141415171422C55414155492C'; -wwv_flow_api.g_varchar2_table(22) := '55414159472C594141572C5741437A4339422C49414149452C5141415173422C67424143626E422C4541414F77422C5941496C4237422C49414149452C5141415173422C594141632C53414155432C4741453542652C4D41414D432C5141415168422C49'; -wwv_flow_api.g_varchar2_table(23) := '414163412C4541415569422C4F4141532C4541432F436A422C45414155552C534141512C53414155512C4541414D432C4741433142442C4741414D70432C4B41414B4C2C5141415173422C594141596D422C4541414B452C574147354374432C4B41414B'; -wwv_flow_api.g_varchar2_table(24) := '4C2C514141517342222C2266696C65223A227363726970742E6A73227D'; +wwv_flow_api.g_varchar2_table(4) := '4572726F72222C22636C6561724572726F7273222C22706167654974656D73222C22636C6561724D657373616765222C22636C65617253756363657373222C22636C6561724572726F72222C22686964654166746572222C2263757272656E7454696D65'; +wwv_flow_api.g_varchar2_table(5) := '6F75744964222C2274696D656F75744964222C22636C656172496E74657276616C222C226475726174696F6E222C2273657454696D656F7574222C22706167654974656D222C226C6F636174696F6E222C22696E636C75646573222C2273706C6974222C'; +wwv_flow_api.g_varchar2_table(6) := '22666F7245616368222C2273686F774572726F7273222C2274797065222C22756E73616665222C22756E646566696E6564222C224172726179222C2269734172726179222C226C656E677468222C226974656D222C22696E646578222C227472696D222C'; +wwv_flow_api.g_varchar2_table(7) := '22646F63756D656E74222C22676574456C656D656E7442794964222C227365745468656D65486F6F6B73222C226265666F726553686F77222C226D736754797065222C226D7367456C222C22636F6E736F6C65222C2272656D6F7665436C617373222C22'; +wwv_flow_api.g_varchar2_table(8) := '616464436C617373225D2C226D617070696E6773223A22414145412C49414149412C4941414D432C4F41414F442C4B41414F2C4741437842412C49414149452C51414155462C49414149452C534141572C47416B423742462C49414149452C5141415143'; +wwv_flow_api.g_varchar2_table(9) := '2C4F4141532C53414155432C45414157432C45414151432C47414539432C494151494A2C4541474A2C474156414B2C4B41414B432C4D41414D432C4B41444D2C77424143574A2C4741477842432C6141416B42492C5541436C424A2C4541414F4B2C4B41'; +wwv_flow_api.g_varchar2_table(10) := '414B502C45414157432C47414D76422C434141432C6B4241416D422C614141614F2C51414151502C4541414F512C614141652C454141472C4341576C452C4B415249582C45414441472C4541414F482C6D4241416D42512C53414368424C2C4541414F48'; +wwv_flow_api.g_varchar2_table(11) := '2C51414151532C4B41414B502C4741457042432C4541414F482C5341656A422C594144414B2C4B41414B432C4D41414D4D2C49414149542C4541414F552C574141612C2B4341506E43622C454141554B2C4B41414B532C4B41414B432C63414163662C45'; +wwv_flow_api.g_varchar2_table(12) := '4141532C434143764367422C6F42414171422C4F41577A42622C4541414F632C534143506A422C454141554B2C4B41414B532C4B41414B492C574141576C422C49414976432C4F414151472C4541414F512C594143582C4941414B2C6B42414344622C49'; +wwv_flow_api.g_varchar2_table(13) := '414149452C514141516D422C6742414167426E422C45414153472C4541414F412C51414335432C4D41434A2C4941414B2C6B424143444C2C49414149452C514141516F422C6B4241435A2C4D41434A2C4941414B2C5941434474422C49414149452C5141'; +wwv_flow_api.g_varchar2_table(14) := '415171422C5541415572422C45414153472C4541414F412C51414374432C4D41434A2C4941414B2C634143444C2C49414149452C5141415173422C594141596E422C4541414F6F422C5741432F422C4D41434A2C4941414B2C654143447A422C49414149'; +wwv_flow_api.g_varchar2_table(15) := '452C5141415177422C6141416172422C4541414F73422C6141416374422C4541414F75422C5741415976422C4541414F77422C61414B704637422C49414149452C514141516D422C674241416B422C534141556E422C45414153472C47414737432C4941'; +wwv_flow_api.g_varchar2_table(16) := '414979422C4541416D4239422C49414149452C514141516D422C674241416742552C5541432F43442C49414341452C63414163462C5541435039422C49414149452C514141516D422C674241416742552C574149764378422C4B41414B4C2C514141516D'; +wwv_flow_api.g_varchar2_table(17) := '422C6742414167426E422C4741477A42472C4541414F34422C574143506A432C49414149452C514141516D422C674241416742552C55414159472C594141572C5741432F436C432C49414149452C514141516F422C6F424143626A422C4541414F34422C'; +wwv_flow_api.g_varchar2_table(18) := '5941496C426A432C49414149452C514141516F422C674241416B422C5741433142662C4B41414B4C2C514141516F422C6D4241476A4274422C49414149452C5141415171422C554141592C5341415572422C45414153472C47414776432C494141497942'; +wwv_flow_api.g_varchar2_table(19) := '2C4541416D4239422C49414149452C5141415171422C55414155512C5541437A43442C49414341452C63414163462C5541435039422C49414149452C5141415171422C55414155512C574149374231422C4541414F6D422C6141416178422C4941414945'; +wwv_flow_api.g_varchar2_table(20) := '2C5141415173422C63414768436E422C4541414F38422C5541415939422C4541414F2B422C53414153432C534141532C574145354368432C4541414F38422C53414153472C4D41414D2C4B41414B432C534141512C534141554A2C4741457A4335422C4B'; +wwv_flow_api.g_varchar2_table(21) := '41414B4C2C5141415173432C574141572C4341437042432C4B41414D2C5141434E4C2C534141552C434141432C55414358442C53414155412C454143566A432C51414153412C4541455477432C514141512C4F41495A72432C4541414F2B422C53414153'; +wwv_flow_api.g_varchar2_table(22) := '432C534141532C5341437A4239422C4B41414B4C2C5141415173432C574141572C4341437042432C4B41414D2C5141434E4C2C534141552C434141432C51414358442C63414155512C454143567A432C51414153412C4541455477432C514141512C4B41'; +wwv_flow_api.g_varchar2_table(23) := '4B68426E432C4B41414B4C2C5141415173432C574141572C4341437042432C4B41414D2C5141434E4C2C534141552F422C4541414F2B422C5341436A42442C5341415539422C4541414F38422C5341436A426A432C51414153412C4541455477432C5141'; +wwv_flow_api.g_varchar2_table(24) := '41512C49414B5A72432C4541414F34422C574143506A432C49414149452C5141415171422C55414155512C55414159472C594141572C5741437A436C432C49414149452C5141415173422C67424143626E422C4541414F34422C5941496C426A432C4941'; +wwv_flow_api.g_varchar2_table(25) := '4149452C5141415173422C594141632C53414155432C47414535426D422C4D41414D432C5141415170422C49414163412C4541415571422C4F4141532C4541432F4372422C45414155632C534141512C53414155512C4541414D432C4741433142442C47'; +wwv_flow_api.g_varchar2_table(26) := '41414D78432C4B41414B4C2C5141415173422C5941415975422C4541414B452C574147354331432C4B41414B4C2C5141415173422C654149724278422C49414149452C5141415177422C614141652C53414153432C45414163432C45414159432C474149'; +wwv_flow_api.g_varchar2_table(27) := '784371422C53414153432C654148462C7742414954442C53414153432C654148462C73424151764235432C4B41414B4C2C514141516B442C634141632C4341437642432C574141592C53414153432C45414153432C4741433142432C5141415131432C49'; +wwv_flow_api.g_varchar2_table(28) := '41414979432C4941435235422C47414132422C5741415832422C474141304231422C47414130422C5541415A30422C494143784470422C594141572C5741435071422C4541414D452C594152462C6141513242432C53415035422C6341514A3742222C22'; +wwv_flow_api.g_varchar2_table(29) := '66696C65223A227363726970742E6A73227D'; null; end; / @@ -651,19 +754,24 @@ wwv_flow_api.g_varchar2_table(4) := '75726E20766F696420617065782E64656275672E6C6 wwv_flow_api.g_varchar2_table(5) := '7954656D706C61746528722C7B64656661756C7445736361706546696C7465723A6E756C6C7D292C732E657363617065262628723D617065782E7574696C2E65736361706548544D4C287229297D73776974636828732E616374696F6E54797065297B63'; wwv_flow_api.g_varchar2_table(6) := '6173652273686F775061676553756363657373223A464F532E6D6573736167652E73686F77506167655375636365737328722C732E636F6E666967293B627265616B3B6361736522686964655061676553756363657373223A464F532E6D657373616765'; wwv_flow_api.g_varchar2_table(7) := '2E68696465506167655375636365737328293B627265616B3B636173652273686F774572726F72223A464F532E6D6573736167652E73686F774572726F7228722C732E636F6E666967293B627265616B3B6361736522636C6561724572726F7273223A46'; -wwv_flow_api.g_varchar2_table(8) := '4F532E6D6573736167652E636C6561724572726F727328732E706167654974656D73297D7D2C464F532E6D6573736167652E73686F7750616765537563636573733D66756E6374696F6E28652C73297B76617220613D464F532E6D6573736167652E7368'; -wwv_flow_api.g_varchar2_table(9) := '6F7750616765537563636573732E74696D656F757449643B61262628636C656172496E74657276616C2861292C64656C65746520464F532E6D6573736167652E73686F7750616765537563636573732E74696D656F75744964292C617065782E6D657373'; -wwv_flow_api.g_varchar2_table(10) := '6167652E73686F7750616765537563636573732865292C732E6475726174696F6E262628464F532E6D6573736167652E73686F7750616765537563636573732E74696D656F757449643D73657454696D656F7574282866756E6374696F6E28297B464F53'; -wwv_flow_api.g_varchar2_table(11) := '2E6D6573736167652E68696465506167655375636365737328297D292C732E6475726174696F6E29297D2C464F532E6D6573736167652E6869646550616765537563636573733D66756E6374696F6E28297B617065782E6D6573736167652E6869646550'; -wwv_flow_api.g_varchar2_table(12) := '6167655375636365737328297D2C464F532E6D6573736167652E73686F774572726F723D66756E6374696F6E28652C73297B76617220613D464F532E6D6573736167652E73686F774572726F722E74696D656F757449643B61262628636C656172496E74'; -wwv_flow_api.g_varchar2_table(13) := '657276616C2861292C64656C65746520464F532E6D6573736167652E73686F774572726F722E74696D656F75744964292C732E636C6561724572726F72732626464F532E6D6573736167652E636C6561724572726F727328292C732E706167654974656D'; -wwv_flow_api.g_varchar2_table(14) := '2626732E6C6F636174696F6E2E696E636C756465732822696E6C696E6522293F28732E706167654974656D2E73706C697428222C22292E666F7245616368282866756E6374696F6E2873297B617065782E6D6573736167652E73686F774572726F727328'; -wwv_flow_api.g_varchar2_table(15) := '7B747970653A226572726F72222C6C6F636174696F6E3A5B22696E6C696E65225D2C706167654974656D3A732C6D6573736167653A652C756E736166653A21317D297D29292C732E6C6F636174696F6E2E696E636C756465732822706167652229262661'; -wwv_flow_api.g_varchar2_table(16) := '7065782E6D6573736167652E73686F774572726F7273287B747970653A226572726F72222C6C6F636174696F6E3A5B2270616765225D2C706167654974656D3A766F696420302C6D6573736167653A652C756E736166653A21317D29293A617065782E6D'; -wwv_flow_api.g_varchar2_table(17) := '6573736167652E73686F774572726F7273287B747970653A226572726F72222C6C6F636174696F6E3A732E6C6F636174696F6E2C706167654974656D3A732E706167654974656D2C6D6573736167653A652C756E736166653A21317D292C732E64757261'; -wwv_flow_api.g_varchar2_table(18) := '74696F6E262628464F532E6D6573736167652E73686F774572726F722E74696D656F757449643D73657454696D656F7574282866756E6374696F6E28297B464F532E6D6573736167652E636C6561724572726F727328297D292C732E6475726174696F6E'; -wwv_flow_api.g_varchar2_table(19) := '29297D2C464F532E6D6573736167652E636C6561724572726F72733D66756E6374696F6E2865297B41727261792E697341727261792865292626652E6C656E6774683E303F652E666F7245616368282866756E6374696F6E28652C73297B652626617065'; -wwv_flow_api.g_varchar2_table(20) := '782E6D6573736167652E636C6561724572726F727328652E7472696D2829297D29293A617065782E6D6573736167652E636C6561724572726F727328297D3B0A2F2F2320736F757263654D617070696E6755524C3D7363726970742E6A732E6D6170'; +wwv_flow_api.g_varchar2_table(8) := '4F532E6D6573736167652E636C6561724572726F727328732E706167654974656D73293B627265616B3B6361736522636C6561724D657373616765223A464F532E6D6573736167652E636C6561724D65737361676528732E636C65617253756363657373'; +wwv_flow_api.g_varchar2_table(9) := '2C732E636C6561724572726F722C732E686964654166746572297D7D2C464F532E6D6573736167652E73686F7750616765537563636573733D66756E6374696F6E28652C73297B76617220613D464F532E6D6573736167652E73686F7750616765537563'; +wwv_flow_api.g_varchar2_table(10) := '636573732E74696D656F757449643B61262628636C656172496E74657276616C2861292C64656C65746520464F532E6D6573736167652E73686F7750616765537563636573732E74696D656F75744964292C617065782E6D6573736167652E73686F7750'; +wwv_flow_api.g_varchar2_table(11) := '616765537563636573732865292C732E6475726174696F6E262628464F532E6D6573736167652E73686F7750616765537563636573732E74696D656F757449643D73657454696D656F7574282866756E6374696F6E28297B464F532E6D6573736167652E'; +wwv_flow_api.g_varchar2_table(12) := '68696465506167655375636365737328297D292C732E6475726174696F6E29297D2C464F532E6D6573736167652E6869646550616765537563636573733D66756E6374696F6E28297B617065782E6D6573736167652E6869646550616765537563636573'; +wwv_flow_api.g_varchar2_table(13) := '7328297D2C464F532E6D6573736167652E73686F774572726F723D66756E6374696F6E28652C73297B76617220613D464F532E6D6573736167652E73686F774572726F722E74696D656F757449643B61262628636C656172496E74657276616C2861292C'; +wwv_flow_api.g_varchar2_table(14) := '64656C65746520464F532E6D6573736167652E73686F774572726F722E74696D656F75744964292C732E636C6561724572726F72732626464F532E6D6573736167652E636C6561724572726F727328292C732E706167654974656D2626732E6C6F636174'; +wwv_flow_api.g_varchar2_table(15) := '696F6E2E696E636C756465732822696E6C696E6522293F28732E706167654974656D2E73706C697428222C22292E666F7245616368282866756E6374696F6E2873297B617065782E6D6573736167652E73686F774572726F7273287B747970653A226572'; +wwv_flow_api.g_varchar2_table(16) := '726F72222C6C6F636174696F6E3A5B22696E6C696E65225D2C706167654974656D3A732C6D6573736167653A652C756E736166653A21317D297D29292C732E6C6F636174696F6E2E696E636C7564657328227061676522292626617065782E6D65737361'; +wwv_flow_api.g_varchar2_table(17) := '67652E73686F774572726F7273287B747970653A226572726F72222C6C6F636174696F6E3A5B2270616765225D2C706167654974656D3A766F696420302C6D6573736167653A652C756E736166653A21317D29293A617065782E6D6573736167652E7368'; +wwv_flow_api.g_varchar2_table(18) := '6F774572726F7273287B747970653A226572726F72222C6C6F636174696F6E3A732E6C6F636174696F6E2C706167654974656D3A732E706167654974656D2C6D6573736167653A652C756E736166653A21317D292C732E6475726174696F6E262628464F'; +wwv_flow_api.g_varchar2_table(19) := '532E6D6573736167652E73686F774572726F722E74696D656F757449643D73657454696D656F7574282866756E6374696F6E28297B464F532E6D6573736167652E636C6561724572726F727328297D292C732E6475726174696F6E29297D2C464F532E6D'; +wwv_flow_api.g_varchar2_table(20) := '6573736167652E636C6561724572726F72733D66756E6374696F6E2865297B41727261792E697341727261792865292626652E6C656E6774683E303F652E666F7245616368282866756E6374696F6E28652C73297B652626617065782E6D657373616765'; +wwv_flow_api.g_varchar2_table(21) := '2E636C6561724572726F727328652E7472696D2829297D29293A617065782E6D6573736167652E636C6561724572726F727328297D2C464F532E6D6573736167652E636C6561724D6573736167653D66756E6374696F6E28652C732C61297B646F63756D'; +wwv_flow_api.g_varchar2_table(22) := '656E742E676574456C656D656E74427949642822415045585F535543434553535F4D45535341474522292C646F63756D656E742E676574456C656D656E74427949642822415045585F4552524F525F4D45535341474522293B617065782E6D6573736167'; +wwv_flow_api.g_varchar2_table(23) := '652E7365745468656D65486F6F6B73287B6265666F726553686F773A66756E6374696F6E28722C6F297B636F6E736F6C652E6C6F67286F292C286526262273756363657373223D3D727C7C732626226572726F72223D3D3D7229262673657454696D656F'; +wwv_flow_api.g_varchar2_table(24) := '7574282866756E6374696F6E28297B6F2E72656D6F7665436C6173732822752D76697369626C6522292E616464436C6173732822752D68696464656E22297D292C61297D7D297D3B0A2F2F2320736F757263654D617070696E6755524C3D736372697074'; +wwv_flow_api.g_varchar2_table(25) := '2E6A732E6D6170'; null; end; / diff --git a/apexplugin.json b/apexplugin.json index 4c97c2c..b5be0ff 100644 --- a/apexplugin.json +++ b/apexplugin.json @@ -1,6 +1,6 @@ { "name":"FOS - Message Actions" - ,"version":"21.1.0" + ,"version":"21.2.0" ,"description":"Show or hide success and error messages declaratively.\r\n\u003Ch4\u003EFree Plug-in under MIT License\u003C\/h4\u003E\r\n\u003Cp\u003E\r\nAll FOS plug-ins are released under MIT License, which essentially means it is free for everyone to use, no matter if commercial or private use. \r\n\u003C\/p\u003E\r\n\u003Ch4\u003EOverview\u003C\/h4\u003E\r\n\u003Cp\u003EThe \u003Cstrong\u003EFOS - Message Actions\u003C\/strong\u003E dynamic action plug-in is an easy and declarative way to deal with APEX success and error messages. It can show errors inline with fields and in notifications, as well as showing page level messages that look the same as regular APEX page notifications. Internally we use the same Javascript API that APEX provides to show these messages.\u003C\/p\u003E\r\n\u003Cp\u003EThe message can be a static string with optional page item substitutions, or derived from a Javascript expression or function.\u003C\/p\u003E\r\n\u003Cp\u003EYou also have control over how escaping should be performed on the message. Either entirely, or only for certain page items if your message contains HTML markup.\u003C\/p\u003E" ,"keywords":[ "message" @@ -33,12 +33,15 @@ ,"12.2.0.1" ,"18.0.0.0" ,"19.0.0.0" + ,"21.0.0.0" ] ,"apex":{ "versions":[ "19.2.0" ,"20.1.0" ,"20.2.0" + ,"21.1.0" + ,"21.2.0" ] ,"plugin":{ "internalName":"COM.FOS.MESSAGE_ACTIONS" diff --git a/db/com_fos_message_actions.pkb b/db/com_fos_message_actions.pkb index d726406..38dc54d 100644 --- a/db/com_fos_message_actions.pkb +++ b/db/com_fos_message_actions.pkb @@ -42,9 +42,15 @@ as -- success configuration l_duration p_dynamic_action.attribute_09%type := p_dynamic_action.attribute_09; + -- message types to clear + l_clear_success boolean := instr(nvl(p_dynamic_action.attribute_12,' '), 'success') > 0; + l_clear_error boolean := instr(nvl(p_dynamic_action.attribute_12,' '), 'error' ) > 0; + l_hide_after pls_integer := p_dynamic_action.attribute_13; + + begin -- standard debugging intro, but only if necessary - if apex_application.g_debug + if apex_application.g_debug and substr(:DEBUG,6) >= 6 then apex_plugin_util.debug_dynamic_action ( p_plugin => p_plugin @@ -120,6 +126,11 @@ begin when 'clear-errors' then apex_json.write('actionType' , 'clearErrors'); apex_json.write('pageItems' , l_clear_items); + when 'clear-message' then + apex_json.write('actionType' , 'clearMessage'); + apex_json.write('clearSuccess', l_clear_success); + apex_json.write('clearError' , l_clear_error); + apex_json.write('hideAfter' , l_hide_after * 1000); end case; apex_json.close_object; diff --git a/files/js/script.js b/files/js/script.js index 86eb80e..37b038c 100644 --- a/files/js/script.js +++ b/files/js/script.js @@ -9,12 +9,14 @@ FOS.message = FOS.message || {}; * @param {object} daContext Dynamic Action context as passed in by APEX * @param {object} config Configuration object holding the message configuration * @param {string} config.message String or JS function returning the message text - * @param {string} config.actionType One of: showPageSuccess|hidePageSuccess|showError|clearErrors + * @param {string} config.actionType One of: showPageSuccess|hidePageSuccess|showError|clearErrors|clearError * @param {boolean} [config.escape] Whether to escape the message text * @param {number} [config.config.duration] Amount of milliseconds after that the page success message should automatically be dismissed * @param {string} [config.location] Where to display the error message, on page, inline, both * @param {string} [config.pageItem] Name of the page item which the error message should be associated with * @param {string} [config.pageItems] Name of the page items which the error message should be cleared for + * @param {boolean} config.clearSuccess Whether to auto-clear success messages + * @param {boolean} config.clearError Whether to auto-clear error messages * @param {function} [initFn] Javascript Initialization Code Function, it can be undefined */ FOS.message.action = function (daContext, config, initFn) { @@ -72,6 +74,9 @@ FOS.message.action = function (daContext, config, initFn) { case 'clearErrors': FOS.message.clearErrors(config.pageItems); break; + case 'clearMessage': + FOS.message.clearMessage(config.clearSuccess, config.clearError, config.hideAfter); + break; } }; @@ -167,4 +172,62 @@ FOS.message.clearErrors = function (pageItems) { } }; +FOS.message.clearMessage = function(clearSuccess, clearError, hideAfter){ + const SUCCESS_SELECTOR = 'APEX_SUCCESS_MESSAGE'; + const ERROR_SELECTOR = 'APEX_ERROR_MESSAGE'; + + const successEl = document.getElementById(SUCCESS_SELECTOR); + const errorEl = document.getElementById(ERROR_SELECTOR); + + const VISIBLE_CLS = 'u-visible'; + const HIDDEN_CLS = 'u-hidden'; + + apex.message.setThemeHooks({ + beforeShow: function(msgType, msgEl){ + console.log(msgEl); + if((clearSuccess && msgType == 'success') || (clearError && msgType === 'error')){ + setTimeout(function(){ + msgEl.removeClass(VISIBLE_CLS).addClass(HIDDEN_CLS); + }, hideAfter); + } + } + }) + + // const observerConfig = { + // attributes: true, + // attributeFilter: ['class'], + // childList: true, + // subtree: false + // }; + + // const callback = function(mutationsList, observer){ + // console.log('mutationList', mutationsList); + // for(const mutation of mutationsList){ + // if(mutation.type === 'childList'){ + // if(mutation.addedNodes.length > 0){ + // console.log('A Node has been added', mutation.addedNodes[0]); + // console.log(mutation); + // } + + // if(mutation.removedNodes.length > 0){ + // console.log('A Node has been removed', mutation.removedNodes[0]); + // console.log(mutation); + // } + // } + // } + // } + + // const observer = new MutationObserver(callback); + + // if(clearSuccess && successEl){ + // observer.observe(successEl,observerConfig); + // } + + // if(clearError && errorEl){ + // observer.observe(errorEl,observerConfig); + // } + +} + + diff --git a/files/js/script.js.map b/files/js/script.js.map index 3614e4a..30ea2db 100644 --- a/files/js/script.js.map +++ b/files/js/script.js.map @@ -1,2 +1,2 @@ -{"version":3,"sources":["script.js"],"names":["FOS","window","message","action","daContext","config","initFn","apex","debug","info","Function","call","indexOf","actionType","log","pluginName","util","applyTemplate","defaultEscapeFilter","escape","escapeHTML","showPageSuccess","hidePageSuccess","showError","clearErrors","pageItems","currentTimeoutId","timeoutId","clearInterval","duration","setTimeout","pageItem","location","includes","split","forEach","showErrors","type","unsafe","undefined","Array","isArray","length","item","index","trim"],"mappings":"AAEA,IAAIA,IAAMC,OAAOD,KAAO,GACxBA,IAAIE,QAAUF,IAAIE,SAAW,GAgB7BF,IAAIE,QAAQC,OAAS,SAAUC,EAAWC,EAAQC,GAE9C,IAQIJ,EAGJ,GAVAK,KAAKC,MAAMC,KADM,wBACWJ,GAGxBC,aAAkBI,UAClBJ,EAAOK,KAAKP,EAAWC,GAMvB,CAAC,kBAAmB,aAAaO,QAAQP,EAAOQ,aAAe,EAAG,CAWlE,KARIX,EADAG,EAAOH,mBAAmBQ,SAChBL,EAAOH,QAAQS,KAAKP,GAEpBC,EAAOH,SAejB,YADAK,KAAKC,MAAMM,IAAIT,EAAOU,WAAa,+CAPnCb,EAAUK,KAAKS,KAAKC,cAAcf,EAAS,CACvCgB,oBAAqB,OAWzBb,EAAOc,SACPjB,EAAUK,KAAKS,KAAKI,WAAWlB,IAIvC,OAAQG,EAAOQ,YACX,IAAK,kBACDb,IAAIE,QAAQmB,gBAAgBnB,EAASG,EAAOA,QAC5C,MACJ,IAAK,kBACDL,IAAIE,QAAQoB,kBACZ,MACJ,IAAK,YACDtB,IAAIE,QAAQqB,UAAUrB,EAASG,EAAOA,QACtC,MACJ,IAAK,cACDL,IAAIE,QAAQsB,YAAYnB,EAAOoB,aAK3CzB,IAAIE,QAAQmB,gBAAkB,SAAUnB,EAASG,GAG7C,IAAIqB,EAAmB1B,IAAIE,QAAQmB,gBAAgBM,UAC/CD,IACAE,cAAcF,UACP1B,IAAIE,QAAQmB,gBAAgBM,WAIvCpB,KAAKL,QAAQmB,gBAAgBnB,GAGzBG,EAAOwB,WACP7B,IAAIE,QAAQmB,gBAAgBM,UAAYG,YAAW,WAC/C9B,IAAIE,QAAQoB,oBACbjB,EAAOwB,YAIlB7B,IAAIE,QAAQoB,gBAAkB,WAC1Bf,KAAKL,QAAQoB,mBAGjBtB,IAAIE,QAAQqB,UAAY,SAAUrB,EAASG,GAGvC,IAAIqB,EAAmB1B,IAAIE,QAAQqB,UAAUI,UACzCD,IACAE,cAAcF,UACP1B,IAAIE,QAAQqB,UAAUI,WAI7BtB,EAAOmB,aAAaxB,IAAIE,QAAQsB,cAGhCnB,EAAO0B,UAAY1B,EAAO2B,SAASC,SAAS,WAE5C5B,EAAO0B,SAASG,MAAM,KAAKC,SAAQ,SAAUJ,GAEzCxB,KAAKL,QAAQkC,WAAW,CACpBC,KAAM,QACNL,SAAU,CAAC,UACXD,SAAUA,EACV7B,QAASA,EAEToC,QAAQ,OAIZjC,EAAO2B,SAASC,SAAS,SACzB1B,KAAKL,QAAQkC,WAAW,CACpBC,KAAM,QACNL,SAAU,CAAC,QACXD,cAAUQ,EACVrC,QAASA,EAEToC,QAAQ,KAKhB/B,KAAKL,QAAQkC,WAAW,CACpBC,KAAM,QACNL,SAAU3B,EAAO2B,SACjBD,SAAU1B,EAAO0B,SACjB7B,QAASA,EAEToC,QAAQ,IAKZjC,EAAOwB,WACP7B,IAAIE,QAAQqB,UAAUI,UAAYG,YAAW,WACzC9B,IAAIE,QAAQsB,gBACbnB,EAAOwB,YAIlB7B,IAAIE,QAAQsB,YAAc,SAAUC,GAE5Be,MAAMC,QAAQhB,IAAcA,EAAUiB,OAAS,EAC/CjB,EAAUU,SAAQ,SAAUQ,EAAMC,GAC1BD,GAAMpC,KAAKL,QAAQsB,YAAYmB,EAAKE,WAG5CtC,KAAKL,QAAQsB","file":"script.js"} +{"version":3,"sources":["script.js"],"names":["FOS","window","message","action","daContext","config","initFn","apex","debug","info","Function","call","indexOf","actionType","log","pluginName","util","applyTemplate","defaultEscapeFilter","escape","escapeHTML","showPageSuccess","hidePageSuccess","showError","clearErrors","pageItems","clearMessage","clearSuccess","clearError","hideAfter","currentTimeoutId","timeoutId","clearInterval","duration","setTimeout","pageItem","location","includes","split","forEach","showErrors","type","unsafe","undefined","Array","isArray","length","item","index","trim","document","getElementById","setThemeHooks","beforeShow","msgType","msgEl","console","removeClass","addClass"],"mappings":"AAEA,IAAIA,IAAMC,OAAOD,KAAO,GACxBA,IAAIE,QAAUF,IAAIE,SAAW,GAkB7BF,IAAIE,QAAQC,OAAS,SAAUC,EAAWC,EAAQC,GAE9C,IAQIJ,EAGJ,GAVAK,KAAKC,MAAMC,KADM,wBACWJ,GAGxBC,aAAkBI,UAClBJ,EAAOK,KAAKP,EAAWC,GAMvB,CAAC,kBAAmB,aAAaO,QAAQP,EAAOQ,aAAe,EAAG,CAWlE,KARIX,EADAG,EAAOH,mBAAmBQ,SAChBL,EAAOH,QAAQS,KAAKP,GAEpBC,EAAOH,SAejB,YADAK,KAAKC,MAAMM,IAAIT,EAAOU,WAAa,+CAPnCb,EAAUK,KAAKS,KAAKC,cAAcf,EAAS,CACvCgB,oBAAqB,OAWzBb,EAAOc,SACPjB,EAAUK,KAAKS,KAAKI,WAAWlB,IAIvC,OAAQG,EAAOQ,YACX,IAAK,kBACDb,IAAIE,QAAQmB,gBAAgBnB,EAASG,EAAOA,QAC5C,MACJ,IAAK,kBACDL,IAAIE,QAAQoB,kBACZ,MACJ,IAAK,YACDtB,IAAIE,QAAQqB,UAAUrB,EAASG,EAAOA,QACtC,MACJ,IAAK,cACDL,IAAIE,QAAQsB,YAAYnB,EAAOoB,WAC/B,MACJ,IAAK,eACDzB,IAAIE,QAAQwB,aAAarB,EAAOsB,aAActB,EAAOuB,WAAYvB,EAAOwB,aAKpF7B,IAAIE,QAAQmB,gBAAkB,SAAUnB,EAASG,GAG7C,IAAIyB,EAAmB9B,IAAIE,QAAQmB,gBAAgBU,UAC/CD,IACAE,cAAcF,UACP9B,IAAIE,QAAQmB,gBAAgBU,WAIvCxB,KAAKL,QAAQmB,gBAAgBnB,GAGzBG,EAAO4B,WACPjC,IAAIE,QAAQmB,gBAAgBU,UAAYG,YAAW,WAC/ClC,IAAIE,QAAQoB,oBACbjB,EAAO4B,YAIlBjC,IAAIE,QAAQoB,gBAAkB,WAC1Bf,KAAKL,QAAQoB,mBAGjBtB,IAAIE,QAAQqB,UAAY,SAAUrB,EAASG,GAGvC,IAAIyB,EAAmB9B,IAAIE,QAAQqB,UAAUQ,UACzCD,IACAE,cAAcF,UACP9B,IAAIE,QAAQqB,UAAUQ,WAI7B1B,EAAOmB,aAAaxB,IAAIE,QAAQsB,cAGhCnB,EAAO8B,UAAY9B,EAAO+B,SAASC,SAAS,WAE5ChC,EAAO8B,SAASG,MAAM,KAAKC,SAAQ,SAAUJ,GAEzC5B,KAAKL,QAAQsC,WAAW,CACpBC,KAAM,QACNL,SAAU,CAAC,UACXD,SAAUA,EACVjC,QAASA,EAETwC,QAAQ,OAIZrC,EAAO+B,SAASC,SAAS,SACzB9B,KAAKL,QAAQsC,WAAW,CACpBC,KAAM,QACNL,SAAU,CAAC,QACXD,cAAUQ,EACVzC,QAASA,EAETwC,QAAQ,KAKhBnC,KAAKL,QAAQsC,WAAW,CACpBC,KAAM,QACNL,SAAU/B,EAAO+B,SACjBD,SAAU9B,EAAO8B,SACjBjC,QAASA,EAETwC,QAAQ,IAKZrC,EAAO4B,WACPjC,IAAIE,QAAQqB,UAAUQ,UAAYG,YAAW,WACzClC,IAAIE,QAAQsB,gBACbnB,EAAO4B,YAIlBjC,IAAIE,QAAQsB,YAAc,SAAUC,GAE5BmB,MAAMC,QAAQpB,IAAcA,EAAUqB,OAAS,EAC/CrB,EAAUc,SAAQ,SAAUQ,EAAMC,GAC1BD,GAAMxC,KAAKL,QAAQsB,YAAYuB,EAAKE,WAG5C1C,KAAKL,QAAQsB,eAIrBxB,IAAIE,QAAQwB,aAAe,SAASC,EAAcC,EAAYC,GAIxCqB,SAASC,eAHF,wBAITD,SAASC,eAHF,sBAQvB5C,KAAKL,QAAQkD,cAAc,CACvBC,WAAY,SAASC,EAASC,GAC1BC,QAAQ1C,IAAIyC,IACR5B,GAA2B,WAAX2B,GAA0B1B,GAA0B,UAAZ0B,IACxDpB,YAAW,WACPqB,EAAME,YARF,aAQ2BC,SAP5B,cAQJ7B","file":"script.js"} diff --git a/files/js/script.min.js b/files/js/script.min.js index 75dd164..9c9edb6 100644 --- a/files/js/script.min.js +++ b/files/js/script.min.js @@ -1,3 +1,3 @@ -var FOS=window.FOS||{};FOS.message=FOS.message||{},FOS.message.action=function(e,s,a){var r;if(apex.debug.info("FOS - Message Actions",s),a instanceof Function&&a.call(e,s),["showPageSuccess","showError"].indexOf(s.actionType)>-1){if(!(r=s.message instanceof Function?s.message.call(e):s.message))return void apex.debug.log(s.pluginName+": the message is empty, so it is not shown!");r=apex.util.applyTemplate(r,{defaultEscapeFilter:null}),s.escape&&(r=apex.util.escapeHTML(r))}switch(s.actionType){case"showPageSuccess":FOS.message.showPageSuccess(r,s.config);break;case"hidePageSuccess":FOS.message.hidePageSuccess();break;case"showError":FOS.message.showError(r,s.config);break;case"clearErrors":FOS.message.clearErrors(s.pageItems)}},FOS.message.showPageSuccess=function(e,s){var a=FOS.message.showPageSuccess.timeoutId;a&&(clearInterval(a),delete FOS.message.showPageSuccess.timeoutId),apex.message.showPageSuccess(e),s.duration&&(FOS.message.showPageSuccess.timeoutId=setTimeout((function(){FOS.message.hidePageSuccess()}),s.duration))},FOS.message.hidePageSuccess=function(){apex.message.hidePageSuccess()},FOS.message.showError=function(e,s){var a=FOS.message.showError.timeoutId;a&&(clearInterval(a),delete FOS.message.showError.timeoutId),s.clearErrors&&FOS.message.clearErrors(),s.pageItem&&s.location.includes("inline")?(s.pageItem.split(",").forEach((function(s){apex.message.showErrors({type:"error",location:["inline"],pageItem:s,message:e,unsafe:!1})})),s.location.includes("page")&&apex.message.showErrors({type:"error",location:["page"],pageItem:void 0,message:e,unsafe:!1})):apex.message.showErrors({type:"error",location:s.location,pageItem:s.pageItem,message:e,unsafe:!1}),s.duration&&(FOS.message.showError.timeoutId=setTimeout((function(){FOS.message.clearErrors()}),s.duration))},FOS.message.clearErrors=function(e){Array.isArray(e)&&e.length>0?e.forEach((function(e,s){e&&apex.message.clearErrors(e.trim())})):apex.message.clearErrors()}; +var FOS=window.FOS||{};FOS.message=FOS.message||{},FOS.message.action=function(e,s,a){var r;if(apex.debug.info("FOS - Message Actions",s),a instanceof Function&&a.call(e,s),["showPageSuccess","showError"].indexOf(s.actionType)>-1){if(!(r=s.message instanceof Function?s.message.call(e):s.message))return void apex.debug.log(s.pluginName+": the message is empty, so it is not shown!");r=apex.util.applyTemplate(r,{defaultEscapeFilter:null}),s.escape&&(r=apex.util.escapeHTML(r))}switch(s.actionType){case"showPageSuccess":FOS.message.showPageSuccess(r,s.config);break;case"hidePageSuccess":FOS.message.hidePageSuccess();break;case"showError":FOS.message.showError(r,s.config);break;case"clearErrors":FOS.message.clearErrors(s.pageItems);break;case"clearMessage":FOS.message.clearMessage(s.clearSuccess,s.clearError,s.hideAfter)}},FOS.message.showPageSuccess=function(e,s){var a=FOS.message.showPageSuccess.timeoutId;a&&(clearInterval(a),delete FOS.message.showPageSuccess.timeoutId),apex.message.showPageSuccess(e),s.duration&&(FOS.message.showPageSuccess.timeoutId=setTimeout((function(){FOS.message.hidePageSuccess()}),s.duration))},FOS.message.hidePageSuccess=function(){apex.message.hidePageSuccess()},FOS.message.showError=function(e,s){var a=FOS.message.showError.timeoutId;a&&(clearInterval(a),delete FOS.message.showError.timeoutId),s.clearErrors&&FOS.message.clearErrors(),s.pageItem&&s.location.includes("inline")?(s.pageItem.split(",").forEach((function(s){apex.message.showErrors({type:"error",location:["inline"],pageItem:s,message:e,unsafe:!1})})),s.location.includes("page")&&apex.message.showErrors({type:"error",location:["page"],pageItem:void 0,message:e,unsafe:!1})):apex.message.showErrors({type:"error",location:s.location,pageItem:s.pageItem,message:e,unsafe:!1}),s.duration&&(FOS.message.showError.timeoutId=setTimeout((function(){FOS.message.clearErrors()}),s.duration))},FOS.message.clearErrors=function(e){Array.isArray(e)&&e.length>0?e.forEach((function(e,s){e&&apex.message.clearErrors(e.trim())})):apex.message.clearErrors()},FOS.message.clearMessage=function(e,s,a){document.getElementById("APEX_SUCCESS_MESSAGE"),document.getElementById("APEX_ERROR_MESSAGE");apex.message.setThemeHooks({beforeShow:function(r,o){console.log(o),(e&&"success"==r||s&&"error"===r)&&setTimeout((function(){o.removeClass("u-visible").addClass("u-hidden")}),a)}})}; //# sourceMappingURL=script.js.map