@sankhyalabs/sankhyablocks 0.0.0-bugfix-dev-kb-85616.0 → 0.0.0-bugfix-dev-KB-81596.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{ClientSideExporterProvider-9bd6fa5a.js → ClientSideExporterProvider-5fff8770.js} +20 -25
- package/dist/cjs/{ConfigStorage-6b633b10.js → ConfigStorage-df09fb78.js} +2 -2
- package/dist/cjs/{DataFetcher-875371e9.js → DataFetcher-1afdb18e.js} +14 -2
- package/dist/cjs/{pesquisa-fetcher-30cab386.js → ISave-c76e2c51.js} +35 -3
- package/dist/cjs/{SnkFormConfigManager-d680be08.js → SnkFormConfigManager-45a8d7b7.js} +3 -3
- package/dist/cjs/{auth-fetcher-24ba4135.js → auth-fetcher-1687ac0a.js} +1 -1
- package/dist/cjs/{constants-241934b3.js → constants-77c1b8bd.js} +1 -0
- package/dist/cjs/{dataunit-fetcher-b95768e8.js → dataunit-fetcher-4a5d491a.js} +7 -6
- package/dist/cjs/{form-config-fetcher-e0a512c3.js → form-config-fetcher-40d3f752.js} +15 -1
- package/dist/cjs/index-f9e81701.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/pesquisa-grid_2.cjs.entry.js +6 -7
- package/dist/cjs/sankhyablocks.cjs.js +1 -1
- package/dist/cjs/{snk-actions-button_5.cjs.entry.js → snk-actions-button_7.cjs.entry.js} +68 -7
- package/dist/cjs/snk-application.cjs.entry.js +176 -13
- package/dist/cjs/snk-attach.cjs.entry.js +6 -7
- package/dist/cjs/snk-config-options_3.cjs.entry.js +10 -8
- package/dist/cjs/snk-configurator.cjs.entry.js +9 -2
- package/dist/cjs/snk-crud.cjs.entry.js +8 -8
- package/dist/cjs/snk-data-exporter.cjs.entry.js +6 -7
- package/dist/cjs/{snk-data-unit-33937ffe.js → snk-data-unit-4b510d6e.js} +1 -1
- package/dist/cjs/snk-data-unit.cjs.entry.js +3 -3
- package/dist/cjs/snk-detail-view.cjs.entry.js +11 -11
- package/dist/cjs/snk-field-config.cjs.entry.js +1 -1
- package/dist/cjs/snk-filter-bar_4.cjs.entry.js +3 -3
- package/dist/cjs/snk-filter-modal-item.cjs.entry.js +3 -3
- package/dist/cjs/snk-filter-search.cjs.entry.js +18 -5
- package/dist/cjs/snk-grid.cjs.entry.js +7 -8
- package/dist/cjs/{snk-guides-viewer-65964889.js → snk-guides-viewer-e8e5f7b4.js} +7 -8
- package/dist/cjs/snk-guides-viewer.cjs.entry.js +8 -9
- package/dist/cjs/snk-personalized-filter.cjs.entry.js +3 -3
- package/dist/cjs/snk-pesquisa.cjs.entry.js +12 -13
- package/dist/cjs/snk-simple-crud.cjs.entry.js +10 -10
- package/dist/cjs/snk-tab-config.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/snk-application/errorhandler/snk-error-handler.js +5 -2
- package/dist/collection/components/snk-application/search-strategy/exec-prepared-search-plus.js +107 -0
- package/dist/collection/components/snk-application/snk-application.js +126 -4
- package/dist/collection/components/snk-configurator/snk-configurator.js +26 -1
- package/dist/collection/components/snk-crud/snk-crud.js +20 -1
- package/dist/collection/components/snk-crud/subcomponents/snk-detail-view/snk-detail-view.css +10 -1
- package/dist/collection/components/snk-crud/subcomponents/snk-detail-view/snk-detail-view.js +25 -1
- package/dist/collection/components/snk-crud/subcomponents/snk-guides-viewer.js +1 -1
- package/dist/collection/components/snk-data-exporter/interfaces/IExporterProvider.js +15 -19
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-search.js +18 -5
- package/dist/collection/components/snk-form-config/subcomponents/snk-config-options/snk-config-options.js +5 -3
- package/dist/collection/components/snk-grid-config/snk-grid-config.js +2 -0
- package/dist/collection/components/snk-layout-form-config/snk-layout-form-config.css +3 -0
- package/dist/collection/components/snk-layout-form-config/snk-layout-form-config.js +73 -0
- package/dist/collection/components/snk-layout-form-config/snk-view-representation/snk-view-representation.css +78 -0
- package/dist/collection/components/snk-layout-form-config/snk-view-representation/snk-view-representation.js +57 -0
- package/dist/collection/components/snk-simple-crud/snk-simple-crud.js +20 -1
- package/dist/collection/lib/configs/LayoutFormConfig.js +25 -0
- package/dist/collection/lib/http/data-fetcher/DataFetcher.js +14 -2
- package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/loadstrategy/DatasetStrategy.js +6 -5
- package/dist/collection/lib/http/data-fetcher/fetchers/form-config-fetcher.js +14 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/pesquisa-fetcher.js +26 -2
- package/dist/collection/lib/utils/constants.js +1 -0
- package/dist/components/ContinuousInsertUtils.js +15 -19
- package/dist/components/DataFetcher.js +14 -2
- package/dist/components/ISave.js +26 -2
- package/dist/components/constants.js +1 -0
- package/dist/components/dataunit-fetcher.js +6 -5
- package/dist/components/form-config-fetcher.js +14 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +2 -0
- package/dist/components/snk-application2.js +174 -6
- package/dist/components/snk-attach2.js +34 -22
- package/dist/components/snk-config-options2.js +5 -3
- package/dist/components/snk-configurator2.js +22 -2
- package/dist/components/snk-crud.js +76 -62
- package/dist/components/snk-detail-view2.js +110 -86
- package/dist/components/snk-filter-search.js +18 -5
- package/dist/components/snk-grid-config2.js +2 -0
- package/dist/components/snk-layout-form-config.d.ts +11 -0
- package/dist/components/snk-layout-form-config.js +6 -0
- package/dist/components/snk-layout-form-config2.js +73 -0
- package/dist/components/snk-simple-crud2.js +33 -19
- package/dist/components/snk-view-representation.d.ts +11 -0
- package/dist/components/snk-view-representation.js +6 -0
- package/dist/components/snk-view-representation2.js +41 -0
- package/dist/esm/{ClientSideExporterProvider-e42c5a48.js → ClientSideExporterProvider-da9935ed.js} +20 -25
- package/dist/esm/{ConfigStorage-e5c1f4c0.js → ConfigStorage-71e6766f.js} +2 -2
- package/dist/esm/{DataFetcher-ecf5f903.js → DataFetcher-88e56266.js} +14 -2
- package/dist/esm/{pesquisa-fetcher-e26c3295.js → ISave-5efafc97.js} +36 -4
- package/dist/esm/{SnkFormConfigManager-1efd102b.js → SnkFormConfigManager-be490a33.js} +3 -3
- package/dist/esm/{auth-fetcher-9987c66e.js → auth-fetcher-3510520e.js} +1 -1
- package/dist/esm/{constants-75abb876.js → constants-7db1128a.js} +1 -0
- package/dist/esm/{dataunit-fetcher-ed6e65ef.js → dataunit-fetcher-1d02ecfc.js} +7 -6
- package/dist/esm/{form-config-fetcher-34becd23.js → form-config-fetcher-fa208a6c.js} +15 -1
- package/dist/esm/index-a7d3d3f1.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/pesquisa-grid_2.entry.js +5 -6
- package/dist/esm/sankhyablocks.js +1 -1
- package/dist/esm/{snk-actions-button_5.entry.js → snk-actions-button_7.entry.js} +68 -9
- package/dist/esm/snk-application.entry.js +176 -13
- package/dist/esm/snk-attach.entry.js +6 -7
- package/dist/esm/snk-config-options_3.entry.js +10 -8
- package/dist/esm/snk-configurator.entry.js +9 -2
- package/dist/esm/snk-crud.entry.js +8 -8
- package/dist/esm/snk-data-exporter.entry.js +6 -7
- package/dist/esm/{snk-data-unit-6258b8ae.js → snk-data-unit-7d0ce406.js} +1 -1
- package/dist/esm/snk-data-unit.entry.js +3 -3
- package/dist/esm/snk-detail-view.entry.js +11 -11
- package/dist/esm/snk-field-config.entry.js +1 -1
- package/dist/esm/snk-filter-bar_4.entry.js +3 -3
- package/dist/esm/snk-filter-modal-item.entry.js +3 -3
- package/dist/esm/snk-filter-search.entry.js +18 -5
- package/dist/esm/snk-grid.entry.js +7 -8
- package/dist/esm/{snk-guides-viewer-9e43d0ca.js → snk-guides-viewer-c44b3839.js} +7 -8
- package/dist/esm/snk-guides-viewer.entry.js +8 -9
- package/dist/esm/snk-personalized-filter.entry.js +3 -3
- package/dist/esm/snk-pesquisa.entry.js +5 -6
- package/dist/esm/snk-simple-crud.entry.js +10 -10
- package/dist/esm/snk-tab-config.entry.js +1 -1
- package/dist/sankhyablocks/p-00796b12.entry.js +1 -0
- package/dist/sankhyablocks/{p-3fcb90d6.js → p-03b68a74.js} +1 -1
- package/dist/sankhyablocks/p-092078e3.entry.js +1 -0
- package/dist/sankhyablocks/{p-d3b9b377.entry.js → p-165cde3b.entry.js} +1 -1
- package/dist/sankhyablocks/p-35f85998.entry.js +1 -0
- package/dist/sankhyablocks/{p-2953c481.entry.js → p-3749dffb.entry.js} +1 -1
- package/dist/sankhyablocks/p-38e3ffda.entry.js +1 -0
- package/dist/sankhyablocks/p-3b190fb1.entry.js +1 -0
- package/dist/sankhyablocks/{p-6c43fcde.entry.js → p-490b75b5.entry.js} +1 -1
- package/dist/sankhyablocks/p-4ad638be.js +1 -0
- package/dist/sankhyablocks/p-5503e89f.entry.js +1 -0
- package/dist/sankhyablocks/p-5cc206bb.entry.js +1 -0
- package/dist/sankhyablocks/{p-e66bcb5c.entry.js → p-5ffa0493.entry.js} +1 -1
- package/dist/sankhyablocks/{p-6c9d1be4.entry.js → p-60137b7a.entry.js} +1 -1
- package/dist/sankhyablocks/p-601b252b.js +26 -0
- package/dist/sankhyablocks/p-6293ded9.entry.js +11 -0
- package/dist/sankhyablocks/p-6dd38d7b.js +6 -0
- package/dist/sankhyablocks/{p-abd9681c.js → p-6e0a5314.js} +1 -1
- package/dist/sankhyablocks/{p-a77bdadc.js → p-73285a8a.js} +1 -1
- package/dist/sankhyablocks/p-893b9483.entry.js +1 -0
- package/dist/sankhyablocks/p-90684a75.entry.js +1 -0
- package/dist/sankhyablocks/{p-1d19a5b0.js → p-9261d8a0.js} +1 -1
- package/dist/sankhyablocks/p-92778d5a.js +1 -0
- package/dist/sankhyablocks/{p-7e0a0aae.js → p-a8be1d67.js} +1 -1
- package/dist/sankhyablocks/{p-2746d606.entry.js → p-b2a2a83e.entry.js} +1 -1
- package/dist/sankhyablocks/p-b6200d32.entry.js +1 -0
- package/dist/sankhyablocks/{p-23cd6abf.entry.js → p-c0eb761b.entry.js} +1 -1
- package/dist/sankhyablocks/p-d9fdb018.entry.js +1 -0
- package/dist/sankhyablocks/{p-3ce68be5.js → p-ebdb9d89.js} +1 -1
- package/dist/sankhyablocks/p-ef6f0a1b.entry.js +1 -0
- package/dist/sankhyablocks/{p-5a7e18f4.js → p-fbba7e3d.js} +1 -1
- package/dist/sankhyablocks/sankhyablocks.esm.js +1 -1
- package/dist/types/components/snk-application/search-strategy/exec-prepared-search-plus.d.ts +5 -0
- package/dist/types/components/snk-application/snk-application.d.ts +17 -2
- package/dist/types/components/snk-configurator/snk-configurator.d.ts +6 -0
- package/dist/types/components/snk-crud/snk-crud.d.ts +4 -0
- package/dist/types/components/snk-crud/subcomponents/snk-detail-view/snk-detail-view.d.ts +5 -0
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-search.d.ts +5 -3
- package/dist/types/components/snk-grid-config/snk-grid-config.d.ts +1 -0
- package/dist/types/components/snk-layout-form-config/snk-layout-form-config.d.ts +15 -0
- package/dist/types/components/snk-layout-form-config/snk-view-representation/snk-view-representation.d.ts +10 -0
- package/dist/types/components/snk-simple-crud/snk-simple-crud.d.ts +4 -0
- package/dist/types/components.d.ts +83 -1
- package/dist/types/lib/configs/LayoutFormConfig.d.ts +11 -0
- package/dist/types/lib/http/data-fetcher/fetchers/form-config-fetcher.d.ts +6 -0
- package/dist/types/lib/http/data-fetcher/fetchers/pesquisa-fetcher.d.ts +4 -1
- package/dist/types/lib/utils/constants.d.ts +1 -0
- package/package.json +1 -1
- package/react/components.d.ts +2 -0
- package/react/components.js +2 -0
- package/react/components.js.map +1 -1
- package/dist/cjs/ISave-e91b70a7.js +0 -9
- package/dist/esm/ISave-d8c8bc59.js +0 -9
- package/dist/sankhyablocks/p-04acdc3a.entry.js +0 -1
- package/dist/sankhyablocks/p-05fda408.entry.js +0 -1
- package/dist/sankhyablocks/p-1a8295af.entry.js +0 -1
- package/dist/sankhyablocks/p-1e48864c.js +0 -1
- package/dist/sankhyablocks/p-21749402.js +0 -1
- package/dist/sankhyablocks/p-22ddc147.js +0 -26
- package/dist/sankhyablocks/p-27d12f8f.entry.js +0 -1
- package/dist/sankhyablocks/p-3bab7e9c.entry.js +0 -1
- package/dist/sankhyablocks/p-3d424ae9.entry.js +0 -1
- package/dist/sankhyablocks/p-4b01cbad.entry.js +0 -11
- package/dist/sankhyablocks/p-4c9adf1c.entry.js +0 -1
- package/dist/sankhyablocks/p-6b898a51.entry.js +0 -1
- package/dist/sankhyablocks/p-9523fc40.entry.js +0 -1
- package/dist/sankhyablocks/p-a18de25e.js +0 -1
- package/dist/sankhyablocks/p-be2e5f36.entry.js +0 -1
- package/dist/sankhyablocks/p-c8622597.entry.js +0 -1
- package/dist/sankhyablocks/p-d571e243.entry.js +0 -1
- package/dist/sankhyablocks/p-ef076eea.js +0 -6
|
@@ -17,7 +17,7 @@ const patchBrowser = () => {
|
|
|
17
17
|
};
|
|
18
18
|
|
|
19
19
|
patchBrowser().then(options => {
|
|
20
|
-
return index.bootstrapLazy(JSON.parse("[[\"teste-pesquisa.cjs\",[[1,\"teste-pesquisa\"]]],[\"snk-actions-form.cjs\",[[2,\"snk-actions-form\",{\"action\":[16],\"applyParameters\":[16],\"dataUnit\":[32],\"openPopup\":[64]}]]],[\"snk-client-confirm.cjs\",[[2,\"snk-client-confirm\",{\"titleMessage\":[1,\"title-message\"],\"message\":[1],\"accept\":[16],\"cancel\":[16],\"openPopup\":[64]}]]],[\"snk-custom-slot-elements.cjs\",[[6,\"snk-custom-slot-elements\",{\"slotName\":[1,\"slot-name\"]}]]],[\"snk-entity-list.cjs\",[[2,\"snk-entity-list\",{\"config\":[1040],\"rightListSlotBuilder\":[1040],\"maxHeightList\":[1,\"max-height-list\"],\"_searchValue\":[32],\"_ezListSource\":[32],\"reloadList\":[64]}]]],[\"snk-filter-binary-select.cjs\",[[0,\"snk-filter-binary-select\",{\"value\":[1544],\"config\":[16],\"presentationMode\":[2,\"presentation-mode\"],\"resetValues\":[64]},[[0,\"ezChange\",\"ezChangeListener\"]]]]],[\"snk-filter-checkbox-list.cjs\",[[0,\"snk-filter-checkbox-list\",{\"config\":[1040],\"optionsList\":[32]}]]],[\"snk-filter-multi-select.cjs\",[[0,\"snk-filter-multi-select\",{\"value\":[1544],\"config\":[16],\"show\":[64]},[[0,\"ezChange\",\"ezChangeListener\"]]]]],[\"snk-filter-number.cjs\",[[0,\"snk-filter-number\",{\"config\":[16],\"getMessage\":[16],\"value\":[2],\"presentationMode\":[2,\"presentation-mode\"],\"show\":[64]},[[0,\"ezChange\",\"ezChangeListener\"]]]]],[\"snk-filter-period.cjs\",[[0,\"snk-filter-period\",{\"config\":[16],\"getMessage\":[16],\"value\":[8],\"presentationMode\":[2,\"presentation-mode\"],\"show\":[64]},[[0,\"ezChange\",\"ezChangeListener\"]]]]],[\"snk-filter-search.cjs\",[[0,\"snk-filter-search\",{\"config\":[16],\"value\":[16],\"show\":[64]},[[0,\"ezChange\",\"ezChangeListener\"]]]]],[\"snk-filter-text.cjs\",[[0,\"snk-filter-text\",{\"config\":[16],\"value\":[1]},[[0,\"ezChange\",\"ezChangeListener\"]]]]],[\"snk-personalized-filter-editor.cjs\",[[2,\"snk-personalized-filter-editor\",{\"messagesBuilder\":[1040],\"presentationMode\":[2,\"presentation-mode\"],\"config\":[16],\"value\":[1040],\"items\":[32],\"show\":[64]}]]],[\"snk-print-selector.cjs\",[[2,\"snk-print-selector\",{\"_printServerActive\":[32],\"_selectedPrinter\":[32],\"_remotePrintersDataSource\":[32],\"_localPrintersDataSource\":[32],\"_printJobData\":[32],\"openPrintSelector\":[64]}]]],[\"snk-pesquisa.cjs\",[[2,\"snk-pesquisa\",{\"searchLoader\":[16],\"treeLoader\":[16],\"selectItem\":[16],\"entityName\":[1,\"entity-name\"],\"argument\":[1025],\"isHierarchyEntity\":[4,\"is-hierarchy-entity\"],\"allowsNonAnalytic\":[4,\"allows-non-analytic\"],\"_itemList\":[32],\"_startLoading\":[32],\"_presentationMode\":[32],\"_currentView\":[32]}]]],[\"snk-application.cjs\",[[2,\"snk-application\",{\"enableLockManagerLoadingApp\":[4,\"enable-lock-manager-loading-app\"],\"messagesBuilder\":[1040],\"configName\":[1,\"config-name\"],\"gridLegacyConfigName\":[1,\"grid-legacy-config-name\"],\"formLegacyConfigName\":[1,\"form-legacy-config-name\"],\"loadByPK\":[16],\"_applicationReady\":[32],\"_templateSkeleton\":[32],\"_activeScrimWindow\":[32],\"getKeyboardManager\":[64],\"isUserSup\":[64],\"addPendingAction\":[64],\"callServiceBroker\":[64],\"initOnboarding\":[64],\"hasAccess\":[64],\"getAllAccess\":[64],\"getStringParam\":[64],\"getIntParam\":[64],\"getFloatParam\":[64],\"getBooleanParam\":[64],\"getDateParam\":[64],\"showPopUp\":[64],\"showModal\":[64],\"showAlerts\":[64],\"closeModal\":[64],\"closePopUp\":[64],\"temOpcional\":[64],\"getConfig\":[64],\"saveConfig\":[64],\"getAttributeFromHTMLWrapper\":[64],\"openApp\":[64],\"webConnection\":[64],\"createDataunit\":[64],\"updateDataunitCache\":[64],\"getDataUnit\":[64],\"addClientEvent\":[64],\"removeClientEvent\":[64],\"hasClientEvent\":[64],\"getResourceID\":[64],\"getUserID\":[64],\"alert\":[64],\"error\":[64],\"success\":[64],\"message\":[64],\"confirm\":[64],\"info\":[64],\"loadTotals\":[64],\"isLoadedByPk\":[64],\"preloadMangerRemoveRecord\":[64],\"executeSearch\":[64],\"executePreparedSearch\":[64],\"isDebugMode\":[64],\"getAppLabel\":[64],\"addSearchListener\":[64],\"importScript\":[64],\"getApplicationPath\":[64],\"executeSelectDistinct\":[64],\"getDataFetcher\":[64],\"whenApplicationReady\":[64],\"setSearchFilterContext\":[64],\"showScrimApp\":[64],\"markToReload\":[64],\"addLoadingLock\":[64]}]]],[\"snk-filter-modal-item.cjs\",[[0,\"snk-filter-modal-item\",{\"filterItem\":[1040],\"configName\":[1025,\"config-name\"],\"resourceID\":[1,\"resource-i-d\"]}]]],[\"snk-filter-detail.cjs\",[[0,\"snk-filter-detail\",{\"config\":[1040],\"getMessage\":[16],\"showHardFixed\":[4,\"show-hard-fixed\"],\"show\":[64]}]]],[\"snk-simple-bar.cjs\",[[6,\"snk-simple-bar\",{\"label\":[1],\"breadcrumbItens\":[16],\"messagesBuilder\":[1040]}]]],[\"snk-filter-field-search_2.cjs\",[[2,\"snk-filter-field-search\",{\"searchable\":[4],\"fieldsDataSource\":[16],\"breadcrumbItems\":[32],\"linkItems\":[32],\"fieldItems\":[32],\"searchEmpty\":[32],\"groupEmpty\":[32],\"show\":[64],\"applyFilter\":[64]}],[0,\"snk-filter-param-config\",{\"messagesBuilder\":[1040],\"_opened\":[32],\"_configType\":[32],\"_expressionItem\":[32],\"_informedInstance\":[32],\"_canSave\":[32],\"open\":[64],\"close\":[64]}]]],[\"snk-expression-group_2.cjs\",[[2,\"snk-expression-group\",{\"parentTop\":[1026,\"parent-top\"],\"group\":[1040],\"messagesBuilder\":[1040],\"filterId\":[1025,\"filter-id\"],\"entityURI\":[1025,\"entity-u-r-i\"],\"_conditionOperator\":[32],\"_group\":[32],\"_selfTop\":[32],\"canAddExpression\":[32],\"_showDashes\":[32],\"getExpressionGroup\":[64]},[[8,\"ezExpressionLayoutChanged\",\"todoCompletedHandler\"]]],[2,\"snk-expression-item\",{\"expression\":[16],\"canRemove\":[516,\"can-remove\"],\"messagesBuilder\":[1040],\"entityURI\":[1025,\"entity-u-r-i\"],\"_showValueVariable\":[32],\"_fieldSelected\":[32],\"_optionNotNull\":[32]}]]],[\"snk-filter-advanced-mode_2.cjs\",[[2,\"snk-filter-assistent-mode\",{\"filterAssistent\":[1040],\"messagesBuilder\":[1040],\"filterId\":[1025,\"filter-id\"],\"entityUri\":[1025,\"entity-uri\"],\"application\":[1040]}],[2,\"snk-filter-advanced-mode\",{\"filterAssistent\":[1040],\"application\":[1040]}]]],[\"snk-personalized-filter.cjs\",[[2,\"snk-personalized-filter\",{\"messagesBuilder\":[1040],\"entityUri\":[1025,\"entity-uri\"],\"filterId\":[1025,\"filter-id\"],\"configName\":[1025,\"config-name\"],\"resourceID\":[1,\"resource-i-d\"],\"_filterAssistentMode\":[32],\"_filterAssistent\":[32],\"createPersonalizedFilter\":[64]}]]],[\"snk-actions-button_5.cjs\",[[0,\"snk-simple-form-config\",{\"dataUnit\":[16],\"configName\":[1,\"config-name\"],\"avaliableFields\":[32],\"selectedFields\":[32],\"show\":[64]}],[2,\"snk-grid-config\",{\"selectedIndex\":[1026,\"selected-index\"],\"columns\":[1040],\"config\":[1040],\"configName\":[1,\"config-name\"],\"resourceID\":[1,\"resource-i-d\"]}],[2,\"snk-actions-button\",{\"_items\":[32],\"_showDropdown\":[32]}],[1,\"snk-select-box\",{\"selectedOption\":[1,\"selected-option\"]}],[2,\"taskbar-actions-button\",{\"title\":[1],\"enabled\":[4],\"actions\":[16],\"_showDropdown\":[32],\"showActions\":[64],\"hideActions\":[64],\"isOpened\":[64]},[[8,\"keydown\",\"handleKeyDown\"],[8,\"ezOpenModal\",\"handleClose\"]]]]],[\"snk-grid.cjs\",[[6,\"snk-grid\",{\"columnFilterDataSource\":[1040],\"enableLockManagerLoadingComp\":[4,\"enable-lock-manager-loading-comp\"],\"enableLockManagerTaskbarClick\":[4,\"enable-lock-manager-taskbar-click\"],\"configName\":[1,\"config-name\"],\"filterBarTitle\":[1,\"filter-bar-title\"],\"resourceID\":[1,\"resource-i-d\"],\"selectionToastConfig\":[16],\"actionsList\":[16],\"isDetail\":[4,\"is-detail\"],\"taskbarManager\":[16],\"statusResolver\":[16],\"multipleSelection\":[4,\"multiple-selection\"],\"presentationMode\":[1,\"presentation-mode\"],\"messagesBuilder\":[1040],\"useEnterLikeTab\":[4,\"use-enter-like-tab\"],\"recordsValidator\":[16],\"canEdit\":[4,\"can-edit\"],\"taskbarCustomContainerId\":[1,\"taskbar-custom-container-id\"],\"gridHeaderCustomSlotId\":[1,\"grid-header-custom-slot-id\"],\"topTaskbarCustomSlotId\":[1,\"top-taskbar-custom-slot-id\"],\"disablePersonalizedFilter\":[4,\"disable-personalized-filter\"],\"gridLegacyConfigName\":[1,\"grid-legacy-config-name\"],\"filterBarLegacyConfigName\":[1,\"filter-bar-legacy-config-name\"],\"autoLoad\":[4,\"auto-load\"],\"autoFocus\":[4,\"auto-focus\"],\"enableGridInsert\":[4,\"enable-grid-insert\"],\"outlineMode\":[4,\"outline-mode\"],\"strategyExporter\":[1025,\"strategy-exporter\"],\"_dataUnit\":[32],\"_dataState\":[32],\"_gridConfig\":[32],\"_popUpGridConfig\":[32],\"_showSnkFilterBar\":[32],\"_enableContinuousInsert\":[32],\"reloadConfig\":[64],\"showConfig\":[64],\"hideConfig\":[64],\"setConfig\":[64],\"reloadFilterBar\":[64],\"getFilterBar\":[64],\"findColumn\":[64],\"addCustomEditor\":[64],\"addGridCustomRender\":[64],\"addCustomValueFormatter\":[64],\"removeCustomValueFormatter\":[64],\"setFocus\":[64]},[[2,\"click\",\"handleClick\"]]]]],[\"snk-form-summary.cjs\",[[2,\"snk-form-summary\",{\"fixed\":[1540],\"contracted\":[1540],\"summary\":[16]}]]],[\"snk-form-view.cjs\",[[6,\"snk-form-view\",{\"levelPath\":[1,\"level-path\"],\"label\":[1],\"name\":[1],\"fields\":[16],\"formMetadata\":[8,\"form-metadata\"],\"dataUnit\":[16],\"contracted\":[4],\"fixed\":[1540],\"summaryFields\":[16],\"canExpand\":[4,\"can-expand\"],\"canFix\":[4,\"can-fix\"],\"recordsValidator\":[16],\"fieldToFocus\":[1,\"field-to-focus\"],\"customEditors\":[16],\"fieldsProps\":[16],\"showUp\":[64],\"addCustomEditor\":[64],\"setFieldProp\":[64]}]]],[\"snk-field-config.cjs\",[[2,\"snk-field-config\",{\"isConfigActive\":[16],\"fieldConfig\":[16],\"modeInsertion\":[516,\"mode-insertion\"],\"dataUnit\":[16],\"messagesBuilder\":[1040]}]]],[\"snk-tab-config.cjs\",[[6,\"snk-tab-config\",{\"selectedIndex\":[1538,\"selected-index\"],\"selectedTab\":[1537,\"selected-tab\"],\"tabs\":[1],\"tabItems\":[16],\"messagesBuilder\":[1040],\"_processedTabs\":[32],\"_activeEditText\":[32],\"_activeEditTextIndex\":[32],\"_actionsHide\":[32],\"_actionsShow\":[32]}]]],[\"snk-configurator.cjs\",[[2,\"snk-configurator\",{\"showActionButtons\":[4,\"show-action-buttons\"],\"configName\":[1,\"config-name\"],\"resourceID\":[1,\"resource-i-d\"],\"viewMode\":[2,\"view-mode\"],\"customContainerId\":[1,\"custom-container-id\"],\"messagesBuilder\":[1040],\"_opened\":[32],\"_permissions\":[32],\"open\":[64],\"close\":[64]}]]],[\"snk-data-unit.cjs\",[[2,\"snk-data-unit\",{\"dataState\":[1040],\"messagesBuilder\":[1040],\"dataUnitName\":[1,\"data-unit-name\"],\"entityName\":[1,\"entity-name\"],\"pageSize\":[2,\"page-size\"],\"dataUnit\":[1040],\"beforeSave\":[16],\"afterSave\":[16],\"useCancelConfirm\":[4,\"use-cancel-confirm\"],\"ignoreSaveMessage\":[4,\"ignore-save-message\"],\"configName\":[1,\"config-name\"],\"resourceID\":[1,\"resource-i-d\"],\"domainMessagesBuilder\":[1,\"domain-messages-builder\"],\"fieldsToLink\":[32],\"getDataUnit\":[64],\"getSelectedRecordsIDsInfo\":[64],\"getFieldsWithRmp\":[64],\"getFieldsWithRmPrecision\":[64],\"getRowMetadata\":[64]}]]],[\"pesquisa-grid_2.cjs\",[[2,\"pesquisa-grid\",{\"metadata\":[16],\"dataSource\":[16],\"pkField\":[1,\"pk-field\"],\"descriptionField\":[1,\"description-field\"],\"entityName\":[1,\"entity-name\"],\"shouldLoadConfig\":[4,\"should-load-config\"],\"_gridConfig\":[32],\"_inMemoryLoader\":[32],\"_dataunit\":[32]}],[2,\"pesquisa-tree\",{\"treeLoader\":[16],\"argument\":[1025],\"allowsNonAnalytic\":[4,\"allows-non-analytic\"],\"shouldLoadTree\":[4,\"should-load-tree\"],\"items\":[32],\"applyFilter\":[64]}]]],[\"snk-exporter-email-sender.cjs\",[[0,\"snk-exporter-email-sender\",{\"getMessage\":[16],\"_config\":[32],\"_opened\":[32],\"_currentStep\":[32],\"open\":[64],\"close\":[64]}]]],[\"snk-data-exporter.cjs\",[[2,\"snk-data-exporter\",{\"provider\":[16],\"messagesBuilder\":[1040],\"_items\":[32],\"_showDropdown\":[32]}]]],[\"snk-taskbar.cjs\",[[6,\"snk-taskbar\",{\"alignRigth\":[4,\"align-rigth\"],\"customSlotId\":[1,\"custom-slot-id\"],\"customContainerId\":[1,\"custom-container-id\"],\"overflowStrategy\":[1,\"overflow-strategy\"],\"configName\":[1,\"config-name\"],\"resourceID\":[1,\"resource-i-d\"],\"buttons\":[1],\"customButtons\":[16],\"actionsList\":[16],\"primaryButton\":[1,\"primary-button\"],\"disabledButtons\":[16],\"dataUnit\":[16],\"presentationMode\":[1537,\"presentation-mode\"],\"messagesBuilder\":[1040],\"_permissions\":[32],\"_overFlowedElements\":[32],\"_customElements\":[32],\"_customElementsId\":[32],\"_slotContainer\":[32],\"_hiddenActionsList\":[32],\"_lastWidth\":[32],\"_hasToUpdateOverFlow\":[32],\"_isWaitingForSave\":[32]},[[8,\"snkCustomSlotElementsLoaded\",\"handleCustomSlotElementsLoaded\"],[8,\"taskbarSaveLocker\",\"handleTaskbarSaveLocker\"],[8,\"taskbarSaveUnlocker\",\"handleTaskbarSaveUnlocker\"]]]]],[\"snk-simple-crud.cjs\",[[6,\"snk-simple-crud\",{\"enableLockManagerLoadingComp\":[4,\"enable-lock-manager-loading-comp\"],\"enableLockManagerTaskbarClick\":[4,\"enable-lock-manager-taskbar-click\"],\"dataState\":[16],\"dataUnit\":[16],\"entityName\":[1,\"entity-name\"],\"mode\":[2],\"gridConfig\":[1040],\"formConfig\":[1040],\"enableContinuousInsert\":[1028,\"enable-continuous-insert\"],\"multipleSelection\":[4,\"multiple-selection\"],\"useCancelConfirm\":[4,\"use-cancel-confirm\"],\"pageSize\":[2,\"page-size\"],\"resourceID\":[1,\"resource-i-d\"],\"enableGridInsert\":[4,\"enable-grid-insert\"],\"taskbarManager\":[16],\"messagesBuilder\":[1040],\"useEnterLikeTab\":[4,\"use-enter-like-tab\"],\"actionsList\":[16],\"configName\":[1025,\"config-name\"],\"showConfiguratorButtons\":[4,\"show-configurator-buttons\"],\"gridLegacyConfigName\":[1,\"grid-legacy-config-name\"],\"formLegacyConfigName\":[1,\"form-legacy-config-name\"],\"ignoreReadOnlyFormFields\":[4,\"ignore-read-only-form-fields\"],\"autoFocus\":[4,\"auto-focus\"],\"domainMessagesBuilder\":[1,\"domain-messages-builder\"],\"autoLoad\":[4,\"auto-load\"],\"outlineMode\":[4,\"outline-mode\"],\"_showPopUpGridConfig\":[32],\"_currentViewMode\":[32],\"_config\":[32],\"_fieldToGetFocus\":[32],\"_customContainerId\":[32],\"_formFields\":[32],\"_fieldsProps\":[32],\"addCustomEditor\":[64],\"addGridCustomRender\":[64],\"addCustomValueFormatter\":[64],\"removeCustomValueFormatter\":[64],\"setFieldProp\":[64],\"goToView\":[64],\"setMetadata\":[64],\"setRecords\":[64],\"getRecords\":[64],\"openConfigurator\":[64],\"closeConfigurator\":[64],\"updateConfig\":[64]},[[0,\"actionClick\",\"actionClickListener\"]]]]],[\"snk-attach.cjs\",[[2,\"snk-attach\",{\"fetcherType\":[1,\"fetcher-type\"],\"fetcher\":[16],\"dataUnit\":[16],\"dataUnitBuilder\":[16],\"registerKey\":[1,\"register-key\"],\"entityName\":[1,\"entity-name\"],\"messagesBuilder\":[1040],\"_currentFetcher\":[32],\"_currentDataUnit\":[32],\"crudConfig\":[32]}]]],[\"snk-filter-bar_4.cjs\",[[0,\"snk-filter-modal\",{\"getMessage\":[16],\"configName\":[1025,\"config-name\"],\"filters\":[1040],\"applyFilters\":[16],\"closeModal\":[16],\"addPersonalizedFilter\":[16],\"editPersonalizedFilter\":[16],\"deletePersonalizedFilter\":[16],\"filtersToDelete\":[16],\"disablePersonalizedFilter\":[4,\"disable-personalized-filter\"]},[[0,\"deleteFilter\",\"deletePersonalizedFilterListener\"]]],[4,\"snk-filter-list\",{\"label\":[1],\"iconName\":[1,\"icon-name\"],\"items\":[16],\"getMessage\":[16],\"emptyText\":[1,\"empty-text\"],\"findFilterText\":[1,\"find-filter-text\"],\"buttonClass\":[1,\"button-class\"],\"_filterArgument\":[32],\"_showAll\":[32],\"hideDetail\":[64]},[[2,\"keydown\",\"keyDownHandler\"]]],[2,\"snk-filter-bar\",{\"enableLockManagerLoadingComp\":[4,\"enable-lock-manager-loading-comp\"],\"customFilterBarConfig\":[16],\"dataUnit\":[1040],\"title\":[1],\"configName\":[1,\"config-name\"],\"resourceID\":[1,\"resource-i-d\"],\"mode\":[1],\"filterConfig\":[1040],\"messagesBuilder\":[1040],\"disablePersonalizedFilter\":[4,\"disable-personalized-filter\"],\"filterBarLegacyConfigName\":[1,\"filter-bar-legacy-config-name\"],\"autoLoad\":[4,\"auto-load\"],\"afterApplyConfig\":[16],\"allowDefault\":[32],\"scrollerLocked\":[32],\"showPersonalizedFilter\":[32],\"personalizedFilterId\":[32],\"reload\":[64],\"getFilterItem\":[64],\"updateFilterItem\":[64],\"addFilterItem\":[64],\"removeFilterItem\":[64],\"showFilterModal\":[64]},[[0,\"filterChange\",\"filterChangeListener\"]]],[0,\"snk-filter-item\",{\"config\":[1040],\"getMessage\":[16],\"showChips\":[4,\"show-chips\"],\"detailIsVisible\":[32],\"showUp\":[64],\"hideDetail\":[64]},[[2,\"click\",\"clickListener\"],[2,\"mousedown\",\"mouseDownListener\"],[0,\"filterChange\",\"filterChangeListener\"]]]]],[\"snk-detail-view.cjs\",[[6,\"snk-detail-view\",{\"formConfigManager\":[1040],\"dataUnitName\":[1,\"data-unit-name\"],\"resourceID\":[1,\"resource-i-d\"],\"guideItemPath\":[16],\"entityName\":[1,\"entity-name\"],\"label\":[1],\"dataUnit\":[1040],\"selectedForm\":[1025,\"selected-form\"],\"dataState\":[1040],\"messagesBuilder\":[1040],\"branchGuide\":[1040],\"canEdit\":[4,\"can-edit\"],\"taskbarCustomContainerId\":[1,\"taskbar-custom-container-id\"],\"customEditors\":[16],\"customRenders\":[16],\"_disabledButtons\":[32],\"_currentView\":[32],\"attachmentRegisterKey\":[32],\"changeViewMode\":[64],\"configGrid\":[64],\"showUp\":[64],\"addCustomEditor\":[64],\"addGridCustomRender\":[64]},[[0,\"snkContentCardChanged\",\"onContentCardChanged\"]]]]],[\"snk-config-options_3.cjs\",[[2,\"snk-form\",{\"configName\":[1,\"config-name\"],\"recordsValidator\":[16],\"messagesBuilder\":[1040],\"formLegacyConfigName\":[1,\"form-legacy-config-name\"],\"resourceID\":[1,\"resource-i-d\"],\"_dataUnit\":[32],\"_dataState\":[32],\"_showFormConfig\":[32],\"_configManager\":[32],\"showConfig\":[64],\"hideConfig\":[64],\"addCustomEditor\":[64],\"setFieldProp\":[64]}],[2,\"snk-form-config\",{\"dataUnit\":[16],\"configManager\":[16],\"messagesBuilder\":[1040],\"ignoreReadOnlyFormFields\":[4,\"ignore-read-only-form-fields\"],\"_formConfigOptions\":[32],\"_fieldConfigSelected\":[32],\"_layoutFormConfig\":[32],\"_fieldsAvailable\":[32],\"_formConfig\":[32],\"_formConfigChanged\":[32],\"_optionFormConfigSelected\":[32],\"_optionFormConfigChanged\":[32],\"_tempGroups\":[32]}],[2,\"snk-config-options\",{\"fieldConfig\":[16],\"idConfig\":[513,\"id-config\"],\"dataUnit\":[16],\"messagesBuilder\":[1040],\"_defaultType\":[32]}]]],[\"snk-guides-viewer.cjs\",[[6,\"snk-guides-viewer\",{\"dataUnit\":[16],\"dataState\":[16],\"configName\":[1,\"config-name\"],\"entityPath\":[1,\"entity-path\"],\"actionsList\":[16],\"recordsValidator\":[16],\"masterFormConfig\":[1040],\"selectedGuide\":[16],\"taskbarManager\":[16],\"messagesBuilder\":[1040],\"canEdit\":[4,\"can-edit\"],\"presentationMode\":[1,\"presentation-mode\"],\"resourceID\":[1,\"resource-i-d\"],\"detailTaskbarCustomContainerId\":[1,\"detail-taskbar-custom-container-id\"],\"formLegacyConfigName\":[1,\"form-legacy-config-name\"],\"enableGridInsert\":[4,\"enable-grid-insert\"],\"ignoreReadOnlyFormFields\":[4,\"ignore-read-only-form-fields\"],\"getCustomTitle\":[16],\"_hasToCreateFieldSearch\":[32],\"_breadcrumbItems\":[32],\"_guides\":[32],\"_formEditorConfigManager\":[32],\"_formEditorDataUnit\":[32],\"_fieldToGetFocus\":[32],\"_customEditors\":[32],\"_customRenders\":[32],\"_fieldsProps\":[32],\"showFormConfig\":[64],\"findField\":[64],\"addCustomEditor\":[64],\"addGridCustomRender\":[64],\"setFieldProp\":[64],\"setFocus\":[64]},[[2,\"actionClick\",\"onActionClick\"],[0,\"snkContentCardChanged\",\"onContentCardChanged\"]]]]],[\"snk-crud.cjs\",[[6,\"snk-crud\",{\"enableLockManagerLoadingComp\":[4,\"enable-lock-manager-loading-comp\"],\"enableLockManagerTaskbarClick\":[4,\"enable-lock-manager-taskbar-click\"],\"configName\":[1025,\"config-name\"],\"filterBarTitle\":[1,\"filter-bar-title\"],\"selectionToastConfig\":[16],\"showActionButtons\":[4,\"show-action-buttons\"],\"actionsList\":[16],\"taskbarManager\":[16],\"recordsValidator\":[16],\"statusResolver\":[16],\"multipleSelection\":[4,\"multiple-selection\"],\"presentationMode\":[1,\"presentation-mode\"],\"messagesBuilder\":[1040],\"useEnterLikeTab\":[4,\"use-enter-like-tab\"],\"gridLegacyConfigName\":[1,\"grid-legacy-config-name\"],\"filterBarLegacyConfigName\":[1,\"filter-bar-legacy-config-name\"],\"formLegacyConfigName\":[1,\"form-legacy-config-name\"],\"disablePersonalizedFilter\":[4,\"disable-personalized-filter\"],\"autoLoad\":[4,\"auto-load\"],\"autoFocus\":[4,\"auto-focus\"],\"enableGridInsert\":[4,\"enable-grid-insert\"],\"domainMessagesBuilder\":[1,\"domain-messages-builder\"],\"ignoreReadOnlyFormFields\":[4,\"ignore-read-only-form-fields\"],\"setCustomFormTitle\":[16],\"strategyExporter\":[1025,\"strategy-exporter\"],\"_dataUnit\":[32],\"_dataState\":[32],\"attachmentRegisterKey\":[32],\"_currentViewMode\":[32],\"_canEdit\":[32],\"_resourceID\":[32],\"customContainerId\":[32],\"goToView\":[64],\"openConfigurator\":[64],\"closeConfigurator\":[64],\"reloadFilterBar\":[64],\"getFilterBar\":[64],\"addCustomEditor\":[64],\"addGridCustomRender\":[64],\"addCustomValueFormatter\":[64],\"removeCustomValueFormatter\":[64],\"setFieldProp\":[64]}]]]]"), options);
|
|
20
|
+
return index.bootstrapLazy(JSON.parse("[[\"teste-pesquisa.cjs\",[[1,\"teste-pesquisa\"]]],[\"snk-actions-form.cjs\",[[2,\"snk-actions-form\",{\"action\":[16],\"applyParameters\":[16],\"dataUnit\":[32],\"openPopup\":[64]}]]],[\"snk-client-confirm.cjs\",[[2,\"snk-client-confirm\",{\"titleMessage\":[1,\"title-message\"],\"message\":[1],\"accept\":[16],\"cancel\":[16],\"openPopup\":[64]}]]],[\"snk-custom-slot-elements.cjs\",[[6,\"snk-custom-slot-elements\",{\"slotName\":[1,\"slot-name\"]}]]],[\"snk-entity-list.cjs\",[[2,\"snk-entity-list\",{\"config\":[1040],\"rightListSlotBuilder\":[1040],\"maxHeightList\":[1,\"max-height-list\"],\"_searchValue\":[32],\"_ezListSource\":[32],\"reloadList\":[64]}]]],[\"snk-filter-binary-select.cjs\",[[0,\"snk-filter-binary-select\",{\"value\":[1544],\"config\":[16],\"presentationMode\":[2,\"presentation-mode\"],\"resetValues\":[64]},[[0,\"ezChange\",\"ezChangeListener\"]]]]],[\"snk-filter-checkbox-list.cjs\",[[0,\"snk-filter-checkbox-list\",{\"config\":[1040],\"optionsList\":[32]}]]],[\"snk-filter-multi-select.cjs\",[[0,\"snk-filter-multi-select\",{\"value\":[1544],\"config\":[16],\"show\":[64]},[[0,\"ezChange\",\"ezChangeListener\"]]]]],[\"snk-filter-number.cjs\",[[0,\"snk-filter-number\",{\"config\":[16],\"getMessage\":[16],\"value\":[2],\"presentationMode\":[2,\"presentation-mode\"],\"show\":[64]},[[0,\"ezChange\",\"ezChangeListener\"]]]]],[\"snk-filter-period.cjs\",[[0,\"snk-filter-period\",{\"config\":[16],\"getMessage\":[16],\"value\":[8],\"presentationMode\":[2,\"presentation-mode\"],\"show\":[64]},[[0,\"ezChange\",\"ezChangeListener\"]]]]],[\"snk-filter-search.cjs\",[[0,\"snk-filter-search\",{\"config\":[16],\"value\":[16],\"show\":[64]},[[0,\"ezChange\",\"ezChangeListener\"]]]]],[\"snk-filter-text.cjs\",[[0,\"snk-filter-text\",{\"config\":[16],\"value\":[1]},[[0,\"ezChange\",\"ezChangeListener\"]]]]],[\"snk-personalized-filter-editor.cjs\",[[2,\"snk-personalized-filter-editor\",{\"messagesBuilder\":[1040],\"presentationMode\":[2,\"presentation-mode\"],\"config\":[16],\"value\":[1040],\"items\":[32],\"show\":[64]}]]],[\"snk-print-selector.cjs\",[[2,\"snk-print-selector\",{\"_printServerActive\":[32],\"_selectedPrinter\":[32],\"_remotePrintersDataSource\":[32],\"_localPrintersDataSource\":[32],\"_printJobData\":[32],\"openPrintSelector\":[64]}]]],[\"snk-pesquisa.cjs\",[[2,\"snk-pesquisa\",{\"searchLoader\":[16],\"treeLoader\":[16],\"selectItem\":[16],\"entityName\":[1,\"entity-name\"],\"argument\":[1025],\"isHierarchyEntity\":[4,\"is-hierarchy-entity\"],\"allowsNonAnalytic\":[4,\"allows-non-analytic\"],\"_itemList\":[32],\"_startLoading\":[32],\"_presentationMode\":[32],\"_currentView\":[32]}]]],[\"snk-application.cjs\",[[2,\"snk-application\",{\"enableLockManagerLoadingApp\":[4,\"enable-lock-manager-loading-app\"],\"messagesBuilder\":[1040],\"configName\":[1,\"config-name\"],\"gridLegacyConfigName\":[1,\"grid-legacy-config-name\"],\"formLegacyConfigName\":[1,\"form-legacy-config-name\"],\"loadByPK\":[16],\"_applicationReady\":[32],\"_templateSkeleton\":[32],\"_activeScrimWindow\":[32],\"getKeyboardManager\":[64],\"getLayoutFormConfig\":[64],\"isUserSup\":[64],\"addPendingAction\":[64],\"callServiceBroker\":[64],\"initOnboarding\":[64],\"hasAccess\":[64],\"getAllAccess\":[64],\"getStringParam\":[64],\"getIntParam\":[64],\"getFloatParam\":[64],\"getBooleanParam\":[64],\"getDateParam\":[64],\"showPopUp\":[64],\"showModal\":[64],\"showAlerts\":[64],\"closeModal\":[64],\"closePopUp\":[64],\"temOpcional\":[64],\"getConfig\":[64],\"saveConfig\":[64],\"getAttributeFromHTMLWrapper\":[64],\"openApp\":[64],\"webConnection\":[64],\"createDataunit\":[64],\"updateDataunitCache\":[64],\"getDataUnit\":[64],\"addClientEvent\":[64],\"removeClientEvent\":[64],\"hasClientEvent\":[64],\"getResourceID\":[64],\"getUserID\":[64],\"alert\":[64],\"error\":[64],\"success\":[64],\"message\":[64],\"confirm\":[64],\"info\":[64],\"loadTotals\":[64],\"isLoadedByPk\":[64],\"preloadMangerRemoveRecord\":[64],\"executeSearch\":[64],\"executePreparedSearchPlus\":[64],\"executePreparedSearch\":[64],\"isDebugMode\":[64],\"getAppLabel\":[64],\"addSearchListener\":[64],\"importScript\":[64],\"getApplicationPath\":[64],\"executeSelectDistinct\":[64],\"getDataFetcher\":[64],\"whenApplicationReady\":[64],\"setSearchFilterContext\":[64],\"clearPopUpTitle\":[64],\"setPopUpTitle\":[64],\"showScrimApp\":[64],\"markToReload\":[64],\"addLoadingLock\":[64]}]]],[\"snk-filter-modal-item.cjs\",[[0,\"snk-filter-modal-item\",{\"filterItem\":[1040],\"configName\":[1025,\"config-name\"],\"resourceID\":[1,\"resource-i-d\"]}]]],[\"snk-filter-detail.cjs\",[[0,\"snk-filter-detail\",{\"config\":[1040],\"getMessage\":[16],\"showHardFixed\":[4,\"show-hard-fixed\"],\"show\":[64]}]]],[\"snk-simple-bar.cjs\",[[6,\"snk-simple-bar\",{\"label\":[1],\"breadcrumbItens\":[16],\"messagesBuilder\":[1040]}]]],[\"snk-filter-field-search_2.cjs\",[[2,\"snk-filter-field-search\",{\"searchable\":[4],\"fieldsDataSource\":[16],\"breadcrumbItems\":[32],\"linkItems\":[32],\"fieldItems\":[32],\"searchEmpty\":[32],\"groupEmpty\":[32],\"show\":[64],\"applyFilter\":[64]}],[0,\"snk-filter-param-config\",{\"messagesBuilder\":[1040],\"_opened\":[32],\"_configType\":[32],\"_expressionItem\":[32],\"_informedInstance\":[32],\"_canSave\":[32],\"open\":[64],\"close\":[64]}]]],[\"snk-expression-group_2.cjs\",[[2,\"snk-expression-group\",{\"parentTop\":[1026,\"parent-top\"],\"group\":[1040],\"messagesBuilder\":[1040],\"filterId\":[1025,\"filter-id\"],\"entityURI\":[1025,\"entity-u-r-i\"],\"_conditionOperator\":[32],\"_group\":[32],\"_selfTop\":[32],\"canAddExpression\":[32],\"_showDashes\":[32],\"getExpressionGroup\":[64]},[[8,\"ezExpressionLayoutChanged\",\"todoCompletedHandler\"]]],[2,\"snk-expression-item\",{\"expression\":[16],\"canRemove\":[516,\"can-remove\"],\"messagesBuilder\":[1040],\"entityURI\":[1025,\"entity-u-r-i\"],\"_showValueVariable\":[32],\"_fieldSelected\":[32],\"_optionNotNull\":[32]}]]],[\"snk-filter-advanced-mode_2.cjs\",[[2,\"snk-filter-assistent-mode\",{\"filterAssistent\":[1040],\"messagesBuilder\":[1040],\"filterId\":[1025,\"filter-id\"],\"entityUri\":[1025,\"entity-uri\"],\"application\":[1040]}],[2,\"snk-filter-advanced-mode\",{\"filterAssistent\":[1040],\"application\":[1040]}]]],[\"snk-personalized-filter.cjs\",[[2,\"snk-personalized-filter\",{\"messagesBuilder\":[1040],\"entityUri\":[1025,\"entity-uri\"],\"filterId\":[1025,\"filter-id\"],\"configName\":[1025,\"config-name\"],\"resourceID\":[1,\"resource-i-d\"],\"_filterAssistentMode\":[32],\"_filterAssistent\":[32],\"createPersonalizedFilter\":[64]}]]],[\"snk-actions-button_7.cjs\",[[0,\"snk-simple-form-config\",{\"dataUnit\":[16],\"configName\":[1,\"config-name\"],\"avaliableFields\":[32],\"selectedFields\":[32],\"show\":[64]}],[2,\"snk-grid-config\",{\"selectedIndex\":[1026,\"selected-index\"],\"columns\":[1040],\"config\":[1040],\"configName\":[1,\"config-name\"],\"resourceID\":[1,\"resource-i-d\"]}],[2,\"snk-layout-form-config\",{\"layoutType\":[32],\"save\":[64]}],[2,\"snk-actions-button\",{\"_items\":[32],\"_showDropdown\":[32]}],[1,\"snk-select-box\",{\"selectedOption\":[1,\"selected-option\"]}],[2,\"snk-view-representation\",{\"mode\":[8]}],[2,\"taskbar-actions-button\",{\"title\":[1],\"enabled\":[4],\"actions\":[16],\"_showDropdown\":[32],\"showActions\":[64],\"hideActions\":[64],\"isOpened\":[64]},[[8,\"keydown\",\"handleKeyDown\"],[8,\"ezOpenModal\",\"handleClose\"]]]]],[\"snk-grid.cjs\",[[6,\"snk-grid\",{\"columnFilterDataSource\":[1040],\"enableLockManagerLoadingComp\":[4,\"enable-lock-manager-loading-comp\"],\"enableLockManagerTaskbarClick\":[4,\"enable-lock-manager-taskbar-click\"],\"configName\":[1,\"config-name\"],\"filterBarTitle\":[1,\"filter-bar-title\"],\"resourceID\":[1,\"resource-i-d\"],\"selectionToastConfig\":[16],\"actionsList\":[16],\"isDetail\":[4,\"is-detail\"],\"taskbarManager\":[16],\"statusResolver\":[16],\"multipleSelection\":[4,\"multiple-selection\"],\"presentationMode\":[1,\"presentation-mode\"],\"messagesBuilder\":[1040],\"useEnterLikeTab\":[4,\"use-enter-like-tab\"],\"recordsValidator\":[16],\"canEdit\":[4,\"can-edit\"],\"taskbarCustomContainerId\":[1,\"taskbar-custom-container-id\"],\"gridHeaderCustomSlotId\":[1,\"grid-header-custom-slot-id\"],\"topTaskbarCustomSlotId\":[1,\"top-taskbar-custom-slot-id\"],\"disablePersonalizedFilter\":[4,\"disable-personalized-filter\"],\"gridLegacyConfigName\":[1,\"grid-legacy-config-name\"],\"filterBarLegacyConfigName\":[1,\"filter-bar-legacy-config-name\"],\"autoLoad\":[4,\"auto-load\"],\"autoFocus\":[4,\"auto-focus\"],\"enableGridInsert\":[4,\"enable-grid-insert\"],\"outlineMode\":[4,\"outline-mode\"],\"strategyExporter\":[1025,\"strategy-exporter\"],\"_dataUnit\":[32],\"_dataState\":[32],\"_gridConfig\":[32],\"_popUpGridConfig\":[32],\"_showSnkFilterBar\":[32],\"_enableContinuousInsert\":[32],\"reloadConfig\":[64],\"showConfig\":[64],\"hideConfig\":[64],\"setConfig\":[64],\"reloadFilterBar\":[64],\"getFilterBar\":[64],\"findColumn\":[64],\"addCustomEditor\":[64],\"addGridCustomRender\":[64],\"addCustomValueFormatter\":[64],\"removeCustomValueFormatter\":[64],\"setFocus\":[64]},[[2,\"click\",\"handleClick\"]]]]],[\"snk-form-summary.cjs\",[[2,\"snk-form-summary\",{\"fixed\":[1540],\"contracted\":[1540],\"summary\":[16]}]]],[\"snk-form-view.cjs\",[[6,\"snk-form-view\",{\"levelPath\":[1,\"level-path\"],\"label\":[1],\"name\":[1],\"fields\":[16],\"formMetadata\":[8,\"form-metadata\"],\"dataUnit\":[16],\"contracted\":[4],\"fixed\":[1540],\"summaryFields\":[16],\"canExpand\":[4,\"can-expand\"],\"canFix\":[4,\"can-fix\"],\"recordsValidator\":[16],\"fieldToFocus\":[1,\"field-to-focus\"],\"customEditors\":[16],\"fieldsProps\":[16],\"showUp\":[64],\"addCustomEditor\":[64],\"setFieldProp\":[64]}]]],[\"snk-field-config.cjs\",[[2,\"snk-field-config\",{\"isConfigActive\":[16],\"fieldConfig\":[16],\"modeInsertion\":[516,\"mode-insertion\"],\"dataUnit\":[16],\"messagesBuilder\":[1040]}]]],[\"snk-tab-config.cjs\",[[6,\"snk-tab-config\",{\"selectedIndex\":[1538,\"selected-index\"],\"selectedTab\":[1537,\"selected-tab\"],\"tabs\":[1],\"tabItems\":[16],\"messagesBuilder\":[1040],\"_processedTabs\":[32],\"_activeEditText\":[32],\"_activeEditTextIndex\":[32],\"_actionsHide\":[32],\"_actionsShow\":[32]}]]],[\"snk-configurator.cjs\",[[2,\"snk-configurator\",{\"showActionButtons\":[4,\"show-action-buttons\"],\"configName\":[1,\"config-name\"],\"resourceID\":[1,\"resource-i-d\"],\"viewMode\":[2,\"view-mode\"],\"customContainerId\":[1,\"custom-container-id\"],\"layoutFormConfig\":[4,\"layout-form-config\"],\"messagesBuilder\":[1040],\"_opened\":[32],\"_permissions\":[32],\"open\":[64],\"close\":[64]}]]],[\"snk-data-unit.cjs\",[[2,\"snk-data-unit\",{\"dataState\":[1040],\"messagesBuilder\":[1040],\"dataUnitName\":[1,\"data-unit-name\"],\"entityName\":[1,\"entity-name\"],\"pageSize\":[2,\"page-size\"],\"dataUnit\":[1040],\"beforeSave\":[16],\"afterSave\":[16],\"useCancelConfirm\":[4,\"use-cancel-confirm\"],\"ignoreSaveMessage\":[4,\"ignore-save-message\"],\"configName\":[1,\"config-name\"],\"resourceID\":[1,\"resource-i-d\"],\"domainMessagesBuilder\":[1,\"domain-messages-builder\"],\"fieldsToLink\":[32],\"getDataUnit\":[64],\"getSelectedRecordsIDsInfo\":[64],\"getFieldsWithRmp\":[64],\"getFieldsWithRmPrecision\":[64],\"getRowMetadata\":[64]}]]],[\"pesquisa-grid_2.cjs\",[[2,\"pesquisa-grid\",{\"metadata\":[16],\"dataSource\":[16],\"pkField\":[1,\"pk-field\"],\"descriptionField\":[1,\"description-field\"],\"entityName\":[1,\"entity-name\"],\"shouldLoadConfig\":[4,\"should-load-config\"],\"_gridConfig\":[32],\"_inMemoryLoader\":[32],\"_dataunit\":[32]}],[2,\"pesquisa-tree\",{\"treeLoader\":[16],\"argument\":[1025],\"allowsNonAnalytic\":[4,\"allows-non-analytic\"],\"shouldLoadTree\":[4,\"should-load-tree\"],\"items\":[32],\"applyFilter\":[64]}]]],[\"snk-exporter-email-sender.cjs\",[[0,\"snk-exporter-email-sender\",{\"getMessage\":[16],\"_config\":[32],\"_opened\":[32],\"_currentStep\":[32],\"open\":[64],\"close\":[64]}]]],[\"snk-data-exporter.cjs\",[[2,\"snk-data-exporter\",{\"provider\":[16],\"messagesBuilder\":[1040],\"_items\":[32],\"_showDropdown\":[32]}]]],[\"snk-taskbar.cjs\",[[6,\"snk-taskbar\",{\"alignRigth\":[4,\"align-rigth\"],\"customSlotId\":[1,\"custom-slot-id\"],\"customContainerId\":[1,\"custom-container-id\"],\"overflowStrategy\":[1,\"overflow-strategy\"],\"configName\":[1,\"config-name\"],\"resourceID\":[1,\"resource-i-d\"],\"buttons\":[1],\"customButtons\":[16],\"actionsList\":[16],\"primaryButton\":[1,\"primary-button\"],\"disabledButtons\":[16],\"dataUnit\":[16],\"presentationMode\":[1537,\"presentation-mode\"],\"messagesBuilder\":[1040],\"_permissions\":[32],\"_overFlowedElements\":[32],\"_customElements\":[32],\"_customElementsId\":[32],\"_slotContainer\":[32],\"_hiddenActionsList\":[32],\"_lastWidth\":[32],\"_hasToUpdateOverFlow\":[32],\"_isWaitingForSave\":[32]},[[8,\"snkCustomSlotElementsLoaded\",\"handleCustomSlotElementsLoaded\"],[8,\"taskbarSaveLocker\",\"handleTaskbarSaveLocker\"],[8,\"taskbarSaveUnlocker\",\"handleTaskbarSaveUnlocker\"]]]]],[\"snk-simple-crud.cjs\",[[6,\"snk-simple-crud\",{\"enableLockManagerLoadingComp\":[4,\"enable-lock-manager-loading-comp\"],\"enableLockManagerTaskbarClick\":[4,\"enable-lock-manager-taskbar-click\"],\"dataState\":[16],\"dataUnit\":[16],\"entityName\":[1,\"entity-name\"],\"mode\":[2],\"gridConfig\":[1040],\"formConfig\":[1040],\"enableContinuousInsert\":[1028,\"enable-continuous-insert\"],\"multipleSelection\":[4,\"multiple-selection\"],\"useCancelConfirm\":[4,\"use-cancel-confirm\"],\"pageSize\":[2,\"page-size\"],\"resourceID\":[1,\"resource-i-d\"],\"enableGridInsert\":[4,\"enable-grid-insert\"],\"taskbarManager\":[16],\"messagesBuilder\":[1040],\"useEnterLikeTab\":[4,\"use-enter-like-tab\"],\"actionsList\":[16],\"configName\":[1025,\"config-name\"],\"showConfiguratorButtons\":[4,\"show-configurator-buttons\"],\"gridLegacyConfigName\":[1,\"grid-legacy-config-name\"],\"formLegacyConfigName\":[1,\"form-legacy-config-name\"],\"ignoreReadOnlyFormFields\":[4,\"ignore-read-only-form-fields\"],\"autoFocus\":[4,\"auto-focus\"],\"domainMessagesBuilder\":[1,\"domain-messages-builder\"],\"layoutFormConfig\":[4,\"layout-form-config\"],\"autoLoad\":[4,\"auto-load\"],\"outlineMode\":[4,\"outline-mode\"],\"_showPopUpGridConfig\":[32],\"_currentViewMode\":[32],\"_config\":[32],\"_fieldToGetFocus\":[32],\"_customContainerId\":[32],\"_formFields\":[32],\"_fieldsProps\":[32],\"addCustomEditor\":[64],\"addGridCustomRender\":[64],\"addCustomValueFormatter\":[64],\"removeCustomValueFormatter\":[64],\"setFieldProp\":[64],\"goToView\":[64],\"setMetadata\":[64],\"setRecords\":[64],\"getRecords\":[64],\"openConfigurator\":[64],\"closeConfigurator\":[64],\"updateConfig\":[64]},[[0,\"actionClick\",\"actionClickListener\"]]]]],[\"snk-attach.cjs\",[[2,\"snk-attach\",{\"fetcherType\":[1,\"fetcher-type\"],\"fetcher\":[16],\"dataUnit\":[16],\"dataUnitBuilder\":[16],\"registerKey\":[1,\"register-key\"],\"entityName\":[1,\"entity-name\"],\"messagesBuilder\":[1040],\"_currentFetcher\":[32],\"_currentDataUnit\":[32],\"crudConfig\":[32]}]]],[\"snk-filter-bar_4.cjs\",[[0,\"snk-filter-modal\",{\"getMessage\":[16],\"configName\":[1025,\"config-name\"],\"filters\":[1040],\"applyFilters\":[16],\"closeModal\":[16],\"addPersonalizedFilter\":[16],\"editPersonalizedFilter\":[16],\"deletePersonalizedFilter\":[16],\"filtersToDelete\":[16],\"disablePersonalizedFilter\":[4,\"disable-personalized-filter\"]},[[0,\"deleteFilter\",\"deletePersonalizedFilterListener\"]]],[4,\"snk-filter-list\",{\"label\":[1],\"iconName\":[1,\"icon-name\"],\"items\":[16],\"getMessage\":[16],\"emptyText\":[1,\"empty-text\"],\"findFilterText\":[1,\"find-filter-text\"],\"buttonClass\":[1,\"button-class\"],\"_filterArgument\":[32],\"_showAll\":[32],\"hideDetail\":[64]},[[2,\"keydown\",\"keyDownHandler\"]]],[2,\"snk-filter-bar\",{\"enableLockManagerLoadingComp\":[4,\"enable-lock-manager-loading-comp\"],\"customFilterBarConfig\":[16],\"dataUnit\":[1040],\"title\":[1],\"configName\":[1,\"config-name\"],\"resourceID\":[1,\"resource-i-d\"],\"mode\":[1],\"filterConfig\":[1040],\"messagesBuilder\":[1040],\"disablePersonalizedFilter\":[4,\"disable-personalized-filter\"],\"filterBarLegacyConfigName\":[1,\"filter-bar-legacy-config-name\"],\"autoLoad\":[4,\"auto-load\"],\"afterApplyConfig\":[16],\"allowDefault\":[32],\"scrollerLocked\":[32],\"showPersonalizedFilter\":[32],\"personalizedFilterId\":[32],\"reload\":[64],\"getFilterItem\":[64],\"updateFilterItem\":[64],\"addFilterItem\":[64],\"removeFilterItem\":[64],\"showFilterModal\":[64]},[[0,\"filterChange\",\"filterChangeListener\"]]],[0,\"snk-filter-item\",{\"config\":[1040],\"getMessage\":[16],\"showChips\":[4,\"show-chips\"],\"detailIsVisible\":[32],\"showUp\":[64],\"hideDetail\":[64]},[[2,\"click\",\"clickListener\"],[2,\"mousedown\",\"mouseDownListener\"],[0,\"filterChange\",\"filterChangeListener\"]]]]],[\"snk-detail-view.cjs\",[[6,\"snk-detail-view\",{\"formConfigManager\":[1040],\"dataUnitName\":[1,\"data-unit-name\"],\"resourceID\":[1,\"resource-i-d\"],\"guideItemPath\":[16],\"entityName\":[1,\"entity-name\"],\"label\":[1],\"dataUnit\":[1040],\"selectedForm\":[1025,\"selected-form\"],\"dataState\":[1040],\"messagesBuilder\":[1040],\"branchGuide\":[1040],\"canEdit\":[4,\"can-edit\"],\"taskbarCustomContainerId\":[1,\"taskbar-custom-container-id\"],\"customEditors\":[16],\"customRenders\":[16],\"presentationMode\":[1,\"presentation-mode\"],\"_disabledButtons\":[32],\"_currentView\":[32],\"attachmentRegisterKey\":[32],\"changeViewMode\":[64],\"configGrid\":[64],\"showUp\":[64],\"addCustomEditor\":[64],\"addGridCustomRender\":[64]},[[0,\"snkContentCardChanged\",\"onContentCardChanged\"]]]]],[\"snk-config-options_3.cjs\",[[2,\"snk-form\",{\"configName\":[1,\"config-name\"],\"recordsValidator\":[16],\"messagesBuilder\":[1040],\"formLegacyConfigName\":[1,\"form-legacy-config-name\"],\"resourceID\":[1,\"resource-i-d\"],\"_dataUnit\":[32],\"_dataState\":[32],\"_showFormConfig\":[32],\"_configManager\":[32],\"showConfig\":[64],\"hideConfig\":[64],\"addCustomEditor\":[64],\"setFieldProp\":[64]}],[2,\"snk-form-config\",{\"dataUnit\":[16],\"configManager\":[16],\"messagesBuilder\":[1040],\"ignoreReadOnlyFormFields\":[4,\"ignore-read-only-form-fields\"],\"_formConfigOptions\":[32],\"_fieldConfigSelected\":[32],\"_layoutFormConfig\":[32],\"_fieldsAvailable\":[32],\"_formConfig\":[32],\"_formConfigChanged\":[32],\"_optionFormConfigSelected\":[32],\"_optionFormConfigChanged\":[32],\"_tempGroups\":[32]}],[2,\"snk-config-options\",{\"fieldConfig\":[16],\"idConfig\":[513,\"id-config\"],\"dataUnit\":[16],\"messagesBuilder\":[1040],\"_defaultType\":[32]}]]],[\"snk-guides-viewer.cjs\",[[6,\"snk-guides-viewer\",{\"dataUnit\":[16],\"dataState\":[16],\"configName\":[1,\"config-name\"],\"entityPath\":[1,\"entity-path\"],\"actionsList\":[16],\"recordsValidator\":[16],\"masterFormConfig\":[1040],\"selectedGuide\":[16],\"taskbarManager\":[16],\"messagesBuilder\":[1040],\"canEdit\":[4,\"can-edit\"],\"presentationMode\":[1,\"presentation-mode\"],\"resourceID\":[1,\"resource-i-d\"],\"detailTaskbarCustomContainerId\":[1,\"detail-taskbar-custom-container-id\"],\"formLegacyConfigName\":[1,\"form-legacy-config-name\"],\"enableGridInsert\":[4,\"enable-grid-insert\"],\"ignoreReadOnlyFormFields\":[4,\"ignore-read-only-form-fields\"],\"getCustomTitle\":[16],\"_hasToCreateFieldSearch\":[32],\"_breadcrumbItems\":[32],\"_guides\":[32],\"_formEditorConfigManager\":[32],\"_formEditorDataUnit\":[32],\"_fieldToGetFocus\":[32],\"_customEditors\":[32],\"_customRenders\":[32],\"_fieldsProps\":[32],\"showFormConfig\":[64],\"findField\":[64],\"addCustomEditor\":[64],\"addGridCustomRender\":[64],\"setFieldProp\":[64],\"setFocus\":[64]},[[2,\"actionClick\",\"onActionClick\"],[0,\"snkContentCardChanged\",\"onContentCardChanged\"]]]]],[\"snk-crud.cjs\",[[6,\"snk-crud\",{\"enableLockManagerLoadingComp\":[4,\"enable-lock-manager-loading-comp\"],\"enableLockManagerTaskbarClick\":[4,\"enable-lock-manager-taskbar-click\"],\"configName\":[1025,\"config-name\"],\"filterBarTitle\":[1,\"filter-bar-title\"],\"selectionToastConfig\":[16],\"showActionButtons\":[4,\"show-action-buttons\"],\"actionsList\":[16],\"taskbarManager\":[16],\"recordsValidator\":[16],\"statusResolver\":[16],\"multipleSelection\":[4,\"multiple-selection\"],\"presentationMode\":[1,\"presentation-mode\"],\"messagesBuilder\":[1040],\"useEnterLikeTab\":[4,\"use-enter-like-tab\"],\"gridLegacyConfigName\":[1,\"grid-legacy-config-name\"],\"filterBarLegacyConfigName\":[1,\"filter-bar-legacy-config-name\"],\"formLegacyConfigName\":[1,\"form-legacy-config-name\"],\"disablePersonalizedFilter\":[4,\"disable-personalized-filter\"],\"autoLoad\":[4,\"auto-load\"],\"autoFocus\":[4,\"auto-focus\"],\"enableGridInsert\":[4,\"enable-grid-insert\"],\"domainMessagesBuilder\":[1,\"domain-messages-builder\"],\"ignoreReadOnlyFormFields\":[4,\"ignore-read-only-form-fields\"],\"setCustomFormTitle\":[16],\"strategyExporter\":[1025,\"strategy-exporter\"],\"layoutFormConfig\":[4,\"layout-form-config\"],\"_dataUnit\":[32],\"_dataState\":[32],\"attachmentRegisterKey\":[32],\"_currentViewMode\":[32],\"_canEdit\":[32],\"_resourceID\":[32],\"customContainerId\":[32],\"goToView\":[64],\"openConfigurator\":[64],\"closeConfigurator\":[64],\"reloadFilterBar\":[64],\"getFilterBar\":[64],\"addCustomEditor\":[64],\"addGridCustomRender\":[64],\"addCustomValueFormatter\":[64],\"removeCustomValueFormatter\":[64],\"setFieldProp\":[64]}]]]]"), options);
|
|
21
21
|
});
|
|
22
22
|
|
|
23
23
|
exports.setNonce = index.setNonce;
|
|
@@ -4,22 +4,21 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-f9e81701.js');
|
|
6
6
|
const core = require('@sankhyalabs/core');
|
|
7
|
-
const DataFetcher = require('./DataFetcher-
|
|
7
|
+
const DataFetcher = require('./DataFetcher-1afdb18e.js');
|
|
8
8
|
const ParamType = require('./ParamType-90b440a0.js');
|
|
9
|
-
require('./
|
|
9
|
+
require('./ISave-c76e2c51.js');
|
|
10
10
|
require('./index-e3e39724.js');
|
|
11
|
-
require('./ISave-e91b70a7.js');
|
|
12
11
|
require('@sankhyalabs/ezui/dist/collection/utils/constants');
|
|
13
12
|
require('@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata');
|
|
14
|
-
require('./dataunit-fetcher-
|
|
13
|
+
require('./dataunit-fetcher-4a5d491a.js');
|
|
15
14
|
require('./filter-item-type.enum-a7ffdaa6.js');
|
|
16
|
-
const formConfigFetcher = require('./form-config-fetcher-
|
|
17
|
-
const constants = require('./constants-
|
|
15
|
+
const formConfigFetcher = require('./form-config-fetcher-40d3f752.js');
|
|
16
|
+
const constants = require('./constants-77c1b8bd.js');
|
|
18
17
|
const GetSelectedRecordsIDsInfo = require('./GetSelectedRecordsIDsInfo-bd50caf1.js');
|
|
19
18
|
const ResourceIDUtils = require('./ResourceIDUtils-5ff86aa7.js');
|
|
20
19
|
const utils = require('@sankhyalabs/ezui/dist/collection/utils');
|
|
21
20
|
const CheckMode = require('@sankhyalabs/ezui/dist/collection/components/ez-check/CheckMode');
|
|
22
|
-
const ConfigStorage = require('./ConfigStorage-
|
|
21
|
+
const ConfigStorage = require('./ConfigStorage-df09fb78.js');
|
|
23
22
|
require('./PrintUtils-bcaeb82f.js');
|
|
24
23
|
require('@sankhyalabs/ezui/dist/collection/components/ez-grid/utils');
|
|
25
24
|
require('@sankhyalabs/core/dist/utils/SortingUtils');
|
|
@@ -986,6 +985,7 @@ const SnkGridConfig = class {
|
|
|
986
985
|
delete _newColumnConfig.ascending;
|
|
987
986
|
_newColumnConfig.orderIndex = 0;
|
|
988
987
|
}
|
|
988
|
+
_newColumnConfig.configVersion = SnkGridConfig.CURRENT_CONFIG_VERSION;
|
|
989
989
|
_newColumnConfigList.push(_newColumnConfig);
|
|
990
990
|
}
|
|
991
991
|
});
|
|
@@ -1218,8 +1218,46 @@ const SnkGridConfig = class {
|
|
|
1218
1218
|
static get assetsDirs() { return ["../assets"]; }
|
|
1219
1219
|
get _element() { return index.getElement(this); }
|
|
1220
1220
|
};
|
|
1221
|
+
SnkGridConfig.CURRENT_CONFIG_VERSION = 1;
|
|
1221
1222
|
SnkGridConfig.style = snkGridConfigCss;
|
|
1222
1223
|
|
|
1224
|
+
const snkLayoutFormConfigCss = ".sc-snk-layout-form-config-h{display:block}";
|
|
1225
|
+
|
|
1226
|
+
const FORM_COL_CONFIG_PREFIX = 'formColCfg.';
|
|
1227
|
+
const SnkLayoutFormConfig = class {
|
|
1228
|
+
constructor(hostRef) {
|
|
1229
|
+
index.registerInstance(this, hostRef);
|
|
1230
|
+
this._formConfigFetcher = new formConfigFetcher.FormConfigFetcher();
|
|
1231
|
+
this.layoutType = utils.FormLayout.CASCADE;
|
|
1232
|
+
}
|
|
1233
|
+
/**
|
|
1234
|
+
* Salva o tipo de layout escolhido. Sem retorno.
|
|
1235
|
+
*/
|
|
1236
|
+
async save() {
|
|
1237
|
+
this._LayoutFormConfigSingleton.setConfig(this.layoutType);
|
|
1238
|
+
this._formConfigFetcher.saveLayoutFormConfig(FORM_COL_CONFIG_PREFIX + this._resourceID, { config: this.layoutType, newConfig: true });
|
|
1239
|
+
}
|
|
1240
|
+
async componentWillLoad() {
|
|
1241
|
+
const _application = core.ApplicationContext.getContextValue("__SNK__APPLICATION__");
|
|
1242
|
+
this._LayoutFormConfigSingleton = await (_application === null || _application === void 0 ? void 0 : _application.getLayoutFormConfig());
|
|
1243
|
+
this._resourceID = await (_application === null || _application === void 0 ? void 0 : _application.getResourceID());
|
|
1244
|
+
this.setLayoutInit();
|
|
1245
|
+
}
|
|
1246
|
+
setLayoutInit() {
|
|
1247
|
+
if (!this._LayoutFormConfigSingleton)
|
|
1248
|
+
return;
|
|
1249
|
+
const { config } = this._LayoutFormConfigSingleton;
|
|
1250
|
+
this.layoutType = Number(config) in utils.FormLayout ? Number(config) : utils.FormLayout.CASCADE;
|
|
1251
|
+
}
|
|
1252
|
+
toggleLayout(key) {
|
|
1253
|
+
this.layoutType = key;
|
|
1254
|
+
}
|
|
1255
|
+
render() {
|
|
1256
|
+
return (index.h("div", { class: "ez-flex ez-flex--column" }, index.h("div", { class: "ez-margin-bottom--small" }, index.h("ez-check", { label: "Layout em cascata", class: "ez-margin-bottom--small", onEzChange: () => this.toggleLayout(utils.FormLayout.CASCADE), value: this.layoutType === utils.FormLayout.CASCADE }), index.h("snk-view-representation", { mode: utils.FormLayout.CASCADE }), index.h("label", { class: "ez-label ez-margin--small ez-flex ez-text--medium" }, "Todos os campos ser\u00E3o organizados em uma coluna \u00FAnica.")), index.h("div", null, index.h("ez-check", { label: "Layout lado a lado", class: "ez-margin-bottom--small", onEzChange: () => this.toggleLayout(utils.FormLayout.SIDE_BY_SIDE), value: this.layoutType === utils.FormLayout.SIDE_BY_SIDE }), index.h("snk-view-representation", { mode: utils.FormLayout.SIDE_BY_SIDE }), index.h("label", { class: "ez-label ez-margin--small ez-flex ez-text--medium" }, "Todos os campos ser\u00E3o dispostos lado a lado, ajustando-se automaticamente \u00E0 largura da tela."))));
|
|
1257
|
+
}
|
|
1258
|
+
};
|
|
1259
|
+
SnkLayoutFormConfig.style = snkLayoutFormConfigCss;
|
|
1260
|
+
|
|
1223
1261
|
const snkSelectBoxCss = "ez-combo-box{width:100px}.grid-config-combo{--ez-text-input--height:28px;--ez-text-input__input--background-color:#fff;--ez-text-input__input--border-color:#dce0e8}";
|
|
1224
1262
|
|
|
1225
1263
|
const SelectBox = class {
|
|
@@ -1326,6 +1364,27 @@ const SnkSimpleFormConfig = class {
|
|
|
1326
1364
|
};
|
|
1327
1365
|
SnkSimpleFormConfig.style = snkSimpleFormConfigCss;
|
|
1328
1366
|
|
|
1367
|
+
const snkViewRepresentationCss = ".sc-snk-view-representation-h{display:block}.svg-container.sc-snk-view-representation{display:flex;width:185px;height:125px;border-radius:8px;background-color:#f7f7f7;padding:10px 12px;box-sizing:border-box;position:relative}.svg-container__background.sc-snk-view-representation{display:flex;flex-direction:column;width:100%}.svg-container__header.sc-snk-view-representation{display:flex;gap:2px;margin-bottom:12px}.svg-container__circle.sc-snk-view-representation{width:9px;height:9px;border-radius:50%}.svg-container__circle--red.sc-snk-view-representation{background-color:#ed7678}.svg-container__circle--yellow.sc-snk-view-representation{background-color:#eddb76}.svg-container__circle--green.sc-snk-view-representation{background-color:#7ad08e}.svg-container__section.sc-snk-view-representation{width:100%}.svg-container__collumn.sc-snk-view-representation{width:100%;display:flex;flex-direction:column}.svg-container__inline.sc-snk-view-representation{display:flex;flex-direction:row;gap:6px}.svg-container__line.sc-snk-view-representation{height:13px;border-radius:4px;background-color:#d9d9d9;margin-bottom:4px}.svg-container__line--short.sc-snk-view-representation{width:39.68px;height:7px;border-radius:3.5px}.svg-container__line--long.sc-snk-view-representation{width:100%}";
|
|
1368
|
+
|
|
1369
|
+
const SnkViewRepresentation = class {
|
|
1370
|
+
constructor(hostRef) {
|
|
1371
|
+
index.registerInstance(this, hostRef);
|
|
1372
|
+
this.mode = utils.FormLayout.SIDE_BY_SIDE;
|
|
1373
|
+
}
|
|
1374
|
+
renderCascadeLayout() {
|
|
1375
|
+
return (index.h("div", { class: "svg-container__collumn" }, [...Array(3)].map(() => (index.h("div", { class: "svg-container__section" }, index.h("div", { class: "svg-container__line svg-container__line--short" }), index.h("div", { class: "svg-container__line svg-container__line--long" }))))));
|
|
1376
|
+
}
|
|
1377
|
+
renderSideBySideLayout() {
|
|
1378
|
+
return (index.h("div", { class: "svg-container__inline" }, [...Array(2)].map(() => this.renderCascadeLayout())));
|
|
1379
|
+
}
|
|
1380
|
+
render() {
|
|
1381
|
+
return (index.h("div", { class: "svg-container ez-margin-left--small" }, index.h("div", { class: "svg-container__background" }, index.h("div", { class: "svg-container__header" }, index.h("div", { class: "svg-container__circle svg-container__circle--red" }), index.h("div", { class: "svg-container__circle svg-container__circle--yellow" }), index.h("div", { class: "svg-container__circle svg-container__circle--green" })), this.mode === utils.FormLayout.CASCADE
|
|
1382
|
+
? this.renderCascadeLayout()
|
|
1383
|
+
: this.renderSideBySideLayout())));
|
|
1384
|
+
}
|
|
1385
|
+
};
|
|
1386
|
+
SnkViewRepresentation.style = snkViewRepresentationCss;
|
|
1387
|
+
|
|
1329
1388
|
const taskbarActionsButtonCss = ".sc-taskbar-actions-button-h{display:flex;width:fit-content;height:fit-content}";
|
|
1330
1389
|
|
|
1331
1390
|
const TaskbarActionsButton = class {
|
|
@@ -1459,6 +1518,8 @@ TaskbarActionsButton.style = taskbarActionsButtonCss;
|
|
|
1459
1518
|
|
|
1460
1519
|
exports.snk_actions_button = SnkActionsButton;
|
|
1461
1520
|
exports.snk_grid_config = SnkGridConfig;
|
|
1521
|
+
exports.snk_layout_form_config = SnkLayoutFormConfig;
|
|
1462
1522
|
exports.snk_select_box = SelectBox;
|
|
1463
1523
|
exports.snk_simple_form_config = SnkSimpleFormConfig;
|
|
1524
|
+
exports.snk_view_representation = SnkViewRepresentation;
|
|
1464
1525
|
exports.taskbar_actions_button = TaskbarActionsButton;
|
|
@@ -5,15 +5,16 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-f9e81701.js');
|
|
6
6
|
const core = require('@sankhyalabs/core');
|
|
7
7
|
const utils = require('@sankhyalabs/ezui/dist/collection/utils');
|
|
8
|
-
const ConfigStorage = require('./ConfigStorage-
|
|
9
|
-
const DataFetcher = require('./DataFetcher-
|
|
10
|
-
const authFetcher = require('./auth-fetcher-
|
|
11
|
-
const dataunitFetcher = require('./dataunit-fetcher-
|
|
12
|
-
const
|
|
8
|
+
const ConfigStorage = require('./ConfigStorage-df09fb78.js');
|
|
9
|
+
const DataFetcher = require('./DataFetcher-1afdb18e.js');
|
|
10
|
+
const authFetcher = require('./auth-fetcher-1687ac0a.js');
|
|
11
|
+
const dataunitFetcher = require('./dataunit-fetcher-4a5d491a.js');
|
|
12
|
+
const ISave = require('./ISave-c76e2c51.js');
|
|
13
13
|
const SnkMessageBuilder = require('./SnkMessageBuilder-bae64d0d.js');
|
|
14
|
-
const constants = require('./constants-
|
|
15
|
-
require('./
|
|
14
|
+
const constants = require('./constants-77c1b8bd.js');
|
|
15
|
+
require('./index-e3e39724.js');
|
|
16
16
|
require('./filter-item-type.enum-a7ffdaa6.js');
|
|
17
|
+
const formConfigFetcher = require('./form-config-fetcher-40d3f752.js');
|
|
17
18
|
require('./PrintUtils-bcaeb82f.js');
|
|
18
19
|
require('@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata');
|
|
19
20
|
require('@sankhyalabs/ezui/dist/collection/utils/constants');
|
|
@@ -266,7 +267,10 @@ class SnkErrorHandler {
|
|
|
266
267
|
if (exception.errorCode) {
|
|
267
268
|
exception.message += this.buildErrorCodeHTML(exception.errorCode);
|
|
268
269
|
}
|
|
269
|
-
if (exception instanceof core.
|
|
270
|
+
if (exception instanceof core.SilentException) {
|
|
271
|
+
console.warn("SilentException ignorada", exception);
|
|
272
|
+
}
|
|
273
|
+
else if (exception instanceof core.WaitingChangeException) {
|
|
270
274
|
this._app.alert(exception.title, exception.message);
|
|
271
275
|
}
|
|
272
276
|
else if (exception instanceof core.WarningException) {
|
|
@@ -386,6 +390,136 @@ class RequestListenerFactory {
|
|
|
386
390
|
}
|
|
387
391
|
}
|
|
388
392
|
|
|
393
|
+
const QTD_DETAIL_FIELDS_PREDICTIVE_SEARCH = 6;
|
|
394
|
+
const INVALID_CONTENT_PATTERNS = ['<img', '<svg'];
|
|
395
|
+
const executePreparedSearchPlus = async (mode, argument, options, app, pesquisaFetcher) => {
|
|
396
|
+
var _a;
|
|
397
|
+
const mdByName = {};
|
|
398
|
+
const { entity, entityDescription, criteria, searchOptions, isHierarchyEntity, allowsNonAnalytic } = options;
|
|
399
|
+
if (mode === "ADVANCED") {
|
|
400
|
+
return new Promise((accept, reject) => {
|
|
401
|
+
const pesquisaContent = document.createElement("snk-pesquisa");
|
|
402
|
+
pesquisaContent[core.ElementIDUtils.DATA_ELEMENT_ID_ATTRIBUTE_NAME] = `entity_${entity}`;
|
|
403
|
+
pesquisaContent.entityName = entity;
|
|
404
|
+
pesquisaContent.argument = argument;
|
|
405
|
+
pesquisaContent.searchLoader = (text) => pesquisaFetcher.loadAdvancedSearch(entity, text, criteria, searchOptions);
|
|
406
|
+
pesquisaContent.isHierarchyEntity = isHierarchyEntity;
|
|
407
|
+
if (isHierarchyEntity) {
|
|
408
|
+
pesquisaContent.treeLoader = (text) => pesquisaFetcher.loadTree(entity, text, criteria, searchOptions);
|
|
409
|
+
pesquisaContent.allowsNonAnalytic = allowsNonAnalytic;
|
|
410
|
+
}
|
|
411
|
+
pesquisaContent.selectItem = (option) => {
|
|
412
|
+
accept(option);
|
|
413
|
+
app.clearPopUpTitle();
|
|
414
|
+
app.closePopUp();
|
|
415
|
+
};
|
|
416
|
+
app.setPopUpTitle(entityDescription);
|
|
417
|
+
app.showPopUp(pesquisaContent, undefined, undefined, reject);
|
|
418
|
+
});
|
|
419
|
+
}
|
|
420
|
+
else if (mode === "LOAD_DESCRIPTION") {
|
|
421
|
+
let result = await pesquisaFetcher.loadByCode(entity, argument, criteria, searchOptions);
|
|
422
|
+
result = core.ObjectUtils.stringToObject(result.json.$);
|
|
423
|
+
let descriptionField = result.descriptionField;
|
|
424
|
+
const option = (_a = result.data) === null || _a === void 0 ? void 0 : _a[0];
|
|
425
|
+
if (!option) {
|
|
426
|
+
return {
|
|
427
|
+
value: argument,
|
|
428
|
+
label: ""
|
|
429
|
+
};
|
|
430
|
+
}
|
|
431
|
+
return {
|
|
432
|
+
value: argument,
|
|
433
|
+
label: option[descriptionField]
|
|
434
|
+
};
|
|
435
|
+
}
|
|
436
|
+
else {
|
|
437
|
+
let codeValue;
|
|
438
|
+
let result = await pesquisaFetcher.loadAdvancedSearch(entity, argument, criteria, searchOptions, codeValue);
|
|
439
|
+
result = core.ObjectUtils.stringToObject(result.json.$);
|
|
440
|
+
let descriptionField = result.descriptionField;
|
|
441
|
+
let pkField = result.pkField;
|
|
442
|
+
const list = result.data.map((item) => {
|
|
443
|
+
let fieldsMetadata = filterInvalidFields(result, item, mdByName);
|
|
444
|
+
let fields = filterMathFields(item['__matchFields'], fieldsMetadata, QTD_DETAIL_FIELDS_PREDICTIVE_SEARCH, mdByName);
|
|
445
|
+
return buildOptionItem(argument, item, fields, descriptionField, pkField);
|
|
446
|
+
});
|
|
447
|
+
return list;
|
|
448
|
+
}
|
|
449
|
+
};
|
|
450
|
+
const buildOptionItem = (argument, item, fields, descriptionField, pkField) => {
|
|
451
|
+
var _a;
|
|
452
|
+
const matchFields = item['__matchFields'];
|
|
453
|
+
const descriptionValue = (_a = item[descriptionField]) !== null && _a !== void 0 ? _a : "";
|
|
454
|
+
const pkValue = item[pkField];
|
|
455
|
+
let searchOption = {
|
|
456
|
+
value: pkValue,
|
|
457
|
+
label: descriptionValue,
|
|
458
|
+
presentationValue: core.StringUtils.highlightValue(argument, matchFields, pkValue, fields, true),
|
|
459
|
+
presentationLabel: descriptionField ? core.StringUtils.highlightValue(argument, matchFields, descriptionValue, fields, true) : "",
|
|
460
|
+
details: core.SearchUtils.buildDetails(argument, fields, item)
|
|
461
|
+
};
|
|
462
|
+
return searchOption;
|
|
463
|
+
};
|
|
464
|
+
const filterInvalidFields = (resp, item, mdByName) => {
|
|
465
|
+
let fieldsMetadata = resp.fieldsMetadata.filter((field) => {
|
|
466
|
+
let accept = !core.StringUtils.isEmpty(item[field.fieldName]) &&
|
|
467
|
+
field.visible !== false &&
|
|
468
|
+
field.type !== 'B' &&
|
|
469
|
+
resp.pkField !== field.fieldName &&
|
|
470
|
+
resp.descriptionField !== field.fieldName &&
|
|
471
|
+
(field.isPrimaryKey || !field.isLinkField) &&
|
|
472
|
+
!(field.type === 'S' && field.presentationType === 'H');
|
|
473
|
+
if (accept) {
|
|
474
|
+
mdByName[field.fieldName] = field;
|
|
475
|
+
}
|
|
476
|
+
//Condição que trata o problema de trazer imagem no entityCard na pesquisa de registros
|
|
477
|
+
if (typeof item[field.fieldName] === 'string' && INVALID_CONTENT_PATTERNS.some(pattern => item[field.fieldName].includes(pattern))) {
|
|
478
|
+
return false;
|
|
479
|
+
}
|
|
480
|
+
return accept;
|
|
481
|
+
});
|
|
482
|
+
return fieldsMetadata;
|
|
483
|
+
};
|
|
484
|
+
const filterMathFields = (matchFields, fields, qtyFields, mdByName) => {
|
|
485
|
+
if (matchFields && Array.isArray(matchFields)) {
|
|
486
|
+
matchFields.forEach((matchField) => {
|
|
487
|
+
let fieldMD = core.ArrayUtils.removeReference(fields, mdByName[matchField]);
|
|
488
|
+
if (fieldMD) {
|
|
489
|
+
fields.unshift(fieldMD);
|
|
490
|
+
}
|
|
491
|
+
});
|
|
492
|
+
}
|
|
493
|
+
fields = fields.slice(0, qtyFields);
|
|
494
|
+
return fields;
|
|
495
|
+
};
|
|
496
|
+
|
|
497
|
+
class LayoutFormConfig {
|
|
498
|
+
constructor() {
|
|
499
|
+
this._config = null;
|
|
500
|
+
this.listeners = [];
|
|
501
|
+
}
|
|
502
|
+
static getInstance() {
|
|
503
|
+
if (!LayoutFormConfig.instance) {
|
|
504
|
+
LayoutFormConfig.instance = new LayoutFormConfig();
|
|
505
|
+
}
|
|
506
|
+
return LayoutFormConfig.instance;
|
|
507
|
+
}
|
|
508
|
+
get config() {
|
|
509
|
+
return this._config;
|
|
510
|
+
}
|
|
511
|
+
setConfig(newConfig) {
|
|
512
|
+
this._config = newConfig;
|
|
513
|
+
this.notifyListeners();
|
|
514
|
+
}
|
|
515
|
+
onConfigChange(listener) {
|
|
516
|
+
this.listeners.push(listener);
|
|
517
|
+
}
|
|
518
|
+
notifyListeners() {
|
|
519
|
+
this.listeners.forEach(listener => listener(this._config));
|
|
520
|
+
}
|
|
521
|
+
}
|
|
522
|
+
|
|
389
523
|
const snkApplicationCss = ".sc-snk-application-h{--scrim-z-index:var(--elevation--100, 100);display:flex;flex-direction:column;height:100%}.sc-snk-application-h>.loading-hidden.sc-snk-application{display:none;pointer-events:none}.skeleton-content-left.sc-snk-application{width:300px;padding-right:5px}.skeleton-content.sc-snk-application{height:calc(100vh - 310px)}.spinner.sc-snk-application{height:100vh;gap:10px}.spinner.sc-snk-application>.spin.sc-snk-application{animation-name:spin;animation-duration:5000ms;animation-iteration-count:infinite;animation-timing-function:linear}@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}";
|
|
390
524
|
|
|
391
525
|
const SnkApplication = class {
|
|
@@ -405,6 +539,8 @@ const SnkApplication = class {
|
|
|
405
539
|
this._pendingActions = new Map;
|
|
406
540
|
this._loadPkParameter = null;
|
|
407
541
|
this._isLoadedByPk = false;
|
|
542
|
+
this._formConfigFetcher = new formConfigFetcher.FormConfigFetcher();
|
|
543
|
+
this._LayoutFormConfigSingleton = LayoutFormConfig.getInstance();
|
|
408
544
|
this._applicationReady = false;
|
|
409
545
|
this._templateSkeleton = constants.TEMPLATES_SKELETON.GRID;
|
|
410
546
|
this._activeScrimWindow = false;
|
|
@@ -479,6 +615,14 @@ const SnkApplication = class {
|
|
|
479
615
|
async getKeyboardManager() {
|
|
480
616
|
return Promise.resolve(this._keyboardManager);
|
|
481
617
|
}
|
|
618
|
+
/**
|
|
619
|
+
* Obtém o notificador de Layout de formulario.
|
|
620
|
+
*
|
|
621
|
+
* @return {LayoutFormConfig} the Configurador de Layout do Formulario
|
|
622
|
+
*/
|
|
623
|
+
async getLayoutFormConfig() {
|
|
624
|
+
return Promise.resolve(this._LayoutFormConfigSingleton);
|
|
625
|
+
}
|
|
482
626
|
/**
|
|
483
627
|
* Obtém `true` caso o usuário logado seja o SUP.
|
|
484
628
|
*/
|
|
@@ -951,7 +1095,7 @@ const SnkApplication = class {
|
|
|
951
1095
|
}
|
|
952
1096
|
get pesquisaFetcher() {
|
|
953
1097
|
if (!this._pesquisaFetcher) {
|
|
954
|
-
this._pesquisaFetcher = new
|
|
1098
|
+
this._pesquisaFetcher = new ISave.PesquisaFetcher();
|
|
955
1099
|
}
|
|
956
1100
|
return this._pesquisaFetcher;
|
|
957
1101
|
}
|
|
@@ -1009,7 +1153,7 @@ const SnkApplication = class {
|
|
|
1009
1153
|
searchOptions,
|
|
1010
1154
|
allowsNonAnalytic
|
|
1011
1155
|
};
|
|
1012
|
-
return this.executePreparedSearch(mode, argument, options);
|
|
1156
|
+
return (ctxOptions === null || ctxOptions === void 0 ? void 0 : ctxOptions.useSearchPlus) ? this.executePreparedSearchPlus(mode, argument, options) : this.executePreparedSearch(mode, argument, options);
|
|
1013
1157
|
}
|
|
1014
1158
|
}
|
|
1015
1159
|
filterInvalidFields(resp, item, mdByName) {
|
|
@@ -1053,13 +1197,23 @@ const SnkApplication = class {
|
|
|
1053
1197
|
};
|
|
1054
1198
|
return exibitionItem;
|
|
1055
1199
|
}
|
|
1200
|
+
/**
|
|
1201
|
+
* Realiza a pesquisa de registros
|
|
1202
|
+
* Ex.: snk-config-options
|
|
1203
|
+
*/
|
|
1204
|
+
async executePreparedSearchPlus(mode, argument, options) {
|
|
1205
|
+
return await this.executePreparedSearch(mode, argument, Object.assign(Object.assign({}, options), { useSearchPlus: true }));
|
|
1206
|
+
}
|
|
1056
1207
|
/**
|
|
1057
1208
|
* Obtém as opções em componentes de pesquisa
|
|
1058
1209
|
* Ex.: snk-config-options
|
|
1059
1210
|
*/
|
|
1060
1211
|
async executePreparedSearch(mode, argument, options) {
|
|
1061
1212
|
const mdByName = {};
|
|
1062
|
-
const { entity, entityDescription, criteria, searchOptions, isHierarchyEntity, allowsNonAnalytic } = options;
|
|
1213
|
+
const { entity, entityDescription, criteria, searchOptions, isHierarchyEntity, allowsNonAnalytic, useSearchPlus } = options;
|
|
1214
|
+
if (useSearchPlus) {
|
|
1215
|
+
return executePreparedSearchPlus(mode, argument, options, this, this.pesquisaFetcher);
|
|
1216
|
+
}
|
|
1063
1217
|
if (mode === "ADVANCED") {
|
|
1064
1218
|
return new Promise((accept, reject) => {
|
|
1065
1219
|
const pesquisaContent = document.createElement("snk-pesquisa");
|
|
@@ -1209,10 +1363,10 @@ const SnkApplication = class {
|
|
|
1209
1363
|
});
|
|
1210
1364
|
}
|
|
1211
1365
|
}
|
|
1212
|
-
clearPopUpTitle() {
|
|
1366
|
+
async clearPopUpTitle() {
|
|
1213
1367
|
this._popUp.ezTitle = "";
|
|
1214
1368
|
}
|
|
1215
|
-
setPopUpTitle(title) {
|
|
1369
|
+
async setPopUpTitle(title) {
|
|
1216
1370
|
this._popUp.ezTitle = title;
|
|
1217
1371
|
}
|
|
1218
1372
|
async pkChangeListener() {
|
|
@@ -1382,6 +1536,9 @@ const SnkApplication = class {
|
|
|
1382
1536
|
core.ApplicationContext.setContextValue("__EZUI__SEARCH__OPTION__LOADER__", (searchArgument, fieldName, dataUnit, ctxOptions) => {
|
|
1383
1537
|
return this.executeSearch(searchArgument, fieldName, dataUnit, ctxOptions);
|
|
1384
1538
|
});
|
|
1539
|
+
core.ApplicationContext.setContextValue("__EZUI__SEARCH__PLUS__OPTION__LOADER__", (searchArgument, fieldName, dataUnit, ctxOptions) => {
|
|
1540
|
+
return this.executeSearch(searchArgument, fieldName, dataUnit, Object.assign(Object.assign({}, ctxOptions), { useSearchPlus: true }));
|
|
1541
|
+
});
|
|
1385
1542
|
core.ApplicationContext.setContextValue("__EZUI__GRID_LICENSE__", agGridLicense);
|
|
1386
1543
|
this.registerPkChangeListener();
|
|
1387
1544
|
core.ErrorTracking.init();
|
|
@@ -1392,6 +1549,12 @@ const SnkApplication = class {
|
|
|
1392
1549
|
ConfigStorage.ConfigStorage.preload(this.applicationResourceID, this.configName, legacyConfig);
|
|
1393
1550
|
document.addEventListener("click", () => Workspace.applicationClick());
|
|
1394
1551
|
this._waitingAppReady.forEach(resolve => resolve());
|
|
1552
|
+
this.setLayoutFormConfig();
|
|
1553
|
+
}
|
|
1554
|
+
async setLayoutFormConfig() {
|
|
1555
|
+
const response = await this._formConfigFetcher.fetchLayoutFormConfig('formColCfg.' + this.applicationResourceID);
|
|
1556
|
+
const config = isNaN(Number(response === null || response === void 0 ? void 0 : response.config)) ? null : Number(response === null || response === void 0 ? void 0 : response.config);
|
|
1557
|
+
this._LayoutFormConfigSingleton.setConfig(config);
|
|
1395
1558
|
}
|
|
1396
1559
|
connectedCallback() {
|
|
1397
1560
|
this._isBrowserTypeElectron = core.UserAgentUtils.isElectron();
|
|
@@ -4,15 +4,14 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-f9e81701.js');
|
|
6
6
|
const core = require('@sankhyalabs/core');
|
|
7
|
-
const DataFetcher = require('./DataFetcher-
|
|
8
|
-
require('./
|
|
7
|
+
const DataFetcher = require('./DataFetcher-1afdb18e.js');
|
|
8
|
+
const ISave = require('./ISave-c76e2c51.js');
|
|
9
9
|
require('./index-e3e39724.js');
|
|
10
|
-
const
|
|
11
|
-
const dataunitFetcher = require('./dataunit-fetcher-b95768e8.js');
|
|
10
|
+
const dataunitFetcher = require('./dataunit-fetcher-4a5d491a.js');
|
|
12
11
|
require('./filter-item-type.enum-a7ffdaa6.js');
|
|
13
|
-
require('./form-config-fetcher-
|
|
14
|
-
const constants = require('./constants-
|
|
15
|
-
const authFetcher = require('./auth-fetcher-
|
|
12
|
+
require('./form-config-fetcher-40d3f752.js');
|
|
13
|
+
const constants = require('./constants-77c1b8bd.js');
|
|
14
|
+
const authFetcher = require('./auth-fetcher-1687ac0a.js');
|
|
16
15
|
const taskbarElements = require('./taskbar-elements-7e19882d.js');
|
|
17
16
|
require('./PrintUtils-bcaeb82f.js');
|
|
18
17
|
require('@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata');
|
|
@@ -6,15 +6,15 @@ const index = require('./index-f9e81701.js');
|
|
|
6
6
|
const core = require('@sankhyalabs/core');
|
|
7
7
|
const DataType = require('@sankhyalabs/core/dist/dataunit/metadata/DataType');
|
|
8
8
|
const utils = require('@sankhyalabs/ezui/dist/collection/utils');
|
|
9
|
-
const constants = require('./constants-
|
|
10
|
-
const SnkFormConfigManager = require('./SnkFormConfigManager-
|
|
9
|
+
const constants = require('./constants-77c1b8bd.js');
|
|
10
|
+
const SnkFormConfigManager = require('./SnkFormConfigManager-45a8d7b7.js');
|
|
11
11
|
const ResourceIDUtils = require('./ResourceIDUtils-5ff86aa7.js');
|
|
12
12
|
const Sortable = require('./Sortable-fb1c4cbb.js');
|
|
13
|
-
const formConfigFetcher = require('./form-config-fetcher-
|
|
13
|
+
const formConfigFetcher = require('./form-config-fetcher-40d3f752.js');
|
|
14
14
|
const form = require('@sankhyalabs/ezui/dist/collection/utils/form');
|
|
15
|
-
require('./ConfigStorage-
|
|
15
|
+
require('./ConfigStorage-df09fb78.js');
|
|
16
16
|
require('./filter-item-type.enum-a7ffdaa6.js');
|
|
17
|
-
require('./DataFetcher-
|
|
17
|
+
require('./DataFetcher-1afdb18e.js');
|
|
18
18
|
require('./PrintUtils-bcaeb82f.js');
|
|
19
19
|
require('@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata');
|
|
20
20
|
|
|
@@ -155,11 +155,13 @@ const SnkConfigOptions = class {
|
|
|
155
155
|
return index.h(TagName, Object.assign({ value: value, enabled: enabled, label: label, "data-field-name": name, key: name, onEzChange: (evt) => this.onChange(evt === null || evt === void 0 ? void 0 : evt.detail) }, (this.getConditionalAttributes(userInterface, required, options, precision, prettyPrecision, mode))));
|
|
156
156
|
}
|
|
157
157
|
getConditionalAttributes(userInterface, required, options, precision, prettyPrecision, mode) {
|
|
158
|
+
const useSearchPlus = userInterface == core.UserInterface.SEARCHPLUS;
|
|
158
159
|
switch (userInterface) {
|
|
159
160
|
case core.UserInterface.SEARCH:
|
|
161
|
+
case core.UserInterface.SEARCHPLUS:
|
|
160
162
|
return {
|
|
161
163
|
suppressEmptyOption: required,
|
|
162
|
-
optionLoader: (searchArgument) => this.onSearch(searchArgument)
|
|
164
|
+
optionLoader: (searchArgument) => this.onSearch(searchArgument, { useSearchPlus })
|
|
163
165
|
};
|
|
164
166
|
case core.UserInterface.OPTIONSELECTOR:
|
|
165
167
|
return {
|
|
@@ -192,9 +194,9 @@ const SnkConfigOptions = class {
|
|
|
192
194
|
this.fieldConfig.defaultValue.value = this.getValidatedValue(fieldValue);
|
|
193
195
|
this.configOptionsChanged.emit(this.fieldConfig);
|
|
194
196
|
}
|
|
195
|
-
onSearch(searchArgument) {
|
|
197
|
+
onSearch(searchArgument, ctxOptions) {
|
|
196
198
|
if (this._application != undefined && this.fieldConfig != undefined) {
|
|
197
|
-
return this._application.executeSearch(searchArgument, this.fieldConfig.name, this.dataUnit);
|
|
199
|
+
return this._application.executeSearch(searchArgument, this.fieldConfig.name, this.dataUnit, ctxOptions);
|
|
198
200
|
}
|
|
199
201
|
}
|
|
200
202
|
buildField(descriptor, config) {
|