@sankhyalabs/sankhyablocks 0.0.0-bugfix-dev-KB-131882.2 → 0.0.0-bugfix-dev-KB-174860.0
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/LICENSE +4 -1
- package/dist/cjs/{ConfigStorage-d9d24844.js → ConfigStorage-156bfcac.js} +19 -2
- package/dist/cjs/ContinuousInsertUtils-1ae0c6ac.js +41 -0
- package/dist/cjs/{DataFetcher-3a8ea521.js → DataFetcher-d13b4637.js} +2803 -2
- package/dist/cjs/FormConfigHelper-c5f5473a.js +342 -0
- package/dist/cjs/{ISave-a66bb65e.js → ISave-55d9dcc3.js} +1 -1
- package/dist/cjs/{ImageUtils-5e3f406b.js → ImageUtils-d6139911.js} +5 -3
- package/dist/cjs/{PersonalizedFilterUtils-eccb267a.js → PersonalizedFilterUtils-263e4d24.js} +52 -5
- package/dist/cjs/{SnkFormConfigManager-c88cf1e9.js → SnkFormConfigManager-5cb9a39c.js} +2 -2
- package/dist/cjs/{SnkMultiSelectionListDataSource-f53b60c4.js → SnkMultiSelectionListDataSource-5c5badfc.js} +146 -74
- package/dist/cjs/{auth-fetcher-faa61f64.js → auth-fetcher-d1715459.js} +1 -1
- package/dist/cjs/{dataunit-fetcher-6febd6c4.js → dataunit-fetcher-fae710c5.js} +68 -110
- package/dist/cjs/fields-layout.cjs.entry.js +1 -1
- package/dist/cjs/fields-selector.cjs.entry.js +1 -1
- package/dist/cjs/{filter-type.enum-2bb46d2a.js → filter-type.enum-b3b388af.js} +7 -0
- package/dist/cjs/{form-config-fetcher-72cf0e3d.js → form-config-fetcher-bbebdcb8.js} +41 -5
- package/dist/cjs/guides-configurator.cjs.entry.js +2 -2
- package/dist/cjs/index-1894343a.js +28 -40
- package/dist/cjs/{index-e3e39724.js → index-bc950921.js} +6 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/pesquisa-grid_2.cjs.entry.js +5 -6
- package/dist/cjs/sankhyablocks.cjs.js +1 -1
- package/dist/cjs/{snk-actions-button_8.cjs.entry.js → snk-actions-button_9.cjs.entry.js} +151 -63
- package/dist/cjs/snk-application.cjs.entry.js +8 -9
- package/dist/cjs/snk-attach_11.cjs.entry.js +2958 -0
- package/dist/cjs/snk-configurator.cjs.entry.js +2 -0
- package/dist/cjs/snk-crud.cjs.entry.js +140 -99
- package/dist/cjs/snk-data-exporter.cjs.entry.js +61 -16
- package/dist/cjs/{snk-data-unit-94757628.js → snk-data-unit-32237a2d.js} +11 -11
- package/dist/cjs/snk-data-unit.cjs.entry.js +3 -4
- package/dist/cjs/snk-detail-view.cjs.entry.js +28 -20
- package/dist/cjs/snk-dynaform-config-header_5.cjs.entry.js +739 -0
- package/dist/cjs/snk-dynaform-detail-view_2.cjs.entry.js +961 -0
- package/dist/cjs/snk-dynaform-field-config_2.cjs.entry.js +327 -0
- package/dist/cjs/snk-dynaform-guides-view-2c7c6ce4.js +1094 -0
- package/dist/cjs/snk-dynaform-guides-view.cjs.entry.js +23 -0
- package/dist/cjs/snk-dynaform.cjs.entry.js +679 -0
- package/dist/cjs/snk-entity-search.cjs.entry.js +211 -0
- package/dist/cjs/snk-exporter-email-sender.cjs.entry.js +1 -1
- package/dist/cjs/{snk-expression-group_2.cjs.entry.js → snk-expression-group_4.cjs.entry.js} +421 -18
- package/dist/cjs/snk-filter-bar_4.cjs.entry.js +137 -121
- package/dist/cjs/snk-filter-search.cjs.entry.js +10 -0
- package/dist/cjs/snk-form-view.cjs.entry.js +1 -4
- package/dist/cjs/snk-form_2.cjs.entry.js +4 -5
- package/dist/cjs/snk-grid.cjs.entry.js +53 -21
- package/dist/cjs/{snk-guides-viewer-315f8580.js → snk-guides-viewer-67b9cca9.js} +38 -161
- package/dist/cjs/snk-guides-viewer.cjs.entry.js +8 -17
- package/dist/cjs/snk-layout-form-config.cjs.entry.js +5 -6
- package/dist/cjs/snk-pesquisa.cjs.entry.js +5 -6
- package/dist/cjs/snk-taskbar.cjs.entry.js +182 -125
- package/dist/cjs/{sortable.esm-9a110bb7.js → sortable.esm-b87669ab.js} +76 -90
- package/dist/cjs/taskbar-elements-25f800b3.js +152 -0
- package/dist/cjs/taskbarUtils-99aaa01f.js +236 -0
- package/dist/collection/collection-manifest.json +19 -0
- package/dist/collection/components/snk-actions-button/actions/executor/launch-screen.executor.js +6 -3
- package/dist/collection/components/snk-actions-button/snk-actions-button.js +30 -6
- package/dist/collection/components/snk-attach/snk-attach.css +29 -7
- package/dist/collection/components/snk-attach/snk-attach.js +93 -18
- package/dist/collection/components/snk-configurator/snk-configurator.js +2 -0
- package/dist/collection/components/snk-crud/snk-crud.css +55 -0
- package/dist/collection/components/snk-crud/snk-crud.js +147 -94
- package/dist/collection/components/snk-crud/subcomponents/snk-detail-view/snk-detail-view.css +4 -1
- package/dist/collection/components/snk-crud/subcomponents/snk-detail-view/snk-detail-view.js +18 -7
- package/dist/collection/components/snk-crud/subcomponents/snk-entity-search.css +17 -0
- package/dist/collection/components/snk-crud/subcomponents/snk-entity-search.js +330 -0
- package/dist/collection/components/snk-crud/subcomponents/snk-form-view.js +0 -3
- package/dist/collection/components/snk-crud/subcomponents/snk-guides-viewer.css +22 -8
- package/dist/collection/components/snk-crud/subcomponents/snk-guides-viewer.js +36 -152
- package/dist/collection/components/snk-crud/utils/taskbarUtils.js +163 -0
- package/dist/collection/components/snk-data-exporter/exporter-email-sender/snk-exporter-email-sender.js +1 -1
- package/dist/collection/components/snk-data-exporter/exporter-strategy/ClientSideExporterStrategy.js +2 -2
- package/dist/collection/components/snk-data-exporter/interfaces/IExporterProvider.js +78 -23
- package/dist/collection/components/snk-data-exporter/snk-data-exporter.js +28 -5
- package/dist/collection/components/snk-data-exporter/structure/ItemBuilder.js +43 -2
- package/dist/collection/components/snk-dynaform/interfaces/PropsCustomEditor.js +1 -0
- package/dist/collection/components/snk-dynaform/interfaces/PropsCustomRender.js +1 -0
- package/dist/collection/components/snk-dynaform/snk-dynaform.css +69 -0
- package/dist/collection/components/snk-dynaform/snk-dynaform.js +1661 -0
- package/dist/collection/components/snk-dynaform/subcomponents/CardFormResizeObserver.js +26 -0
- package/dist/collection/components/snk-dynaform/subcomponents/GuideBuilder.js +51 -0
- package/dist/collection/components/snk-dynaform/subcomponents/snk-dynaform-detail-view/snk-dynaform-detail-view.css +182 -0
- package/dist/collection/components/snk-dynaform/subcomponents/snk-dynaform-detail-view/snk-dynaform-detail-view.js +1015 -0
- package/dist/collection/components/snk-dynaform/subcomponents/snk-dynaform-form-view/snk-dynaform-form-view.css +98 -0
- package/dist/collection/components/snk-dynaform/subcomponents/snk-dynaform-form-view/snk-dynaform-form-view.js +590 -0
- package/dist/collection/components/snk-dynaform/subcomponents/snk-dynaform-guides-view/snk-dynaform-guides-view.css +321 -0
- package/dist/collection/components/snk-dynaform/subcomponents/snk-dynaform-guides-view/snk-dynaform-guides-view.js +1587 -0
- package/dist/collection/components/snk-dynaform-form-config/FormConfigHelper.js +325 -0
- package/dist/collection/components/snk-dynaform-form-config/SnkFormConfigManager.js +219 -0
- package/dist/collection/components/snk-dynaform-form-config/snk-dynaform-config-header/snk-dynaform-config-header.css +17 -0
- package/dist/collection/components/snk-dynaform-form-config/snk-dynaform-config-header/snk-dynaform-config-header.js +236 -0
- package/dist/collection/components/snk-dynaform-form-config/snk-dynaform-config-header/snk-dynaform-configs-button/snk-dynaform-configs-button.css +41 -0
- package/dist/collection/components/snk-dynaform-form-config/snk-dynaform-config-header/snk-dynaform-configs-button/snk-dynaform-configs-button.js +170 -0
- package/dist/collection/components/snk-dynaform-form-config/snk-dynaform-field-item/snk-dynaform-field-config/snk-dynaform-field-config.css +22 -0
- package/dist/collection/components/snk-dynaform-form-config/snk-dynaform-field-item/snk-dynaform-field-config/snk-dynaform-field-config.js +408 -0
- package/dist/collection/components/snk-dynaform-form-config/snk-dynaform-field-item/snk-dynaform-field-item.css +88 -0
- package/dist/collection/components/snk-dynaform-form-config/snk-dynaform-field-item/snk-dynaform-field-item.js +209 -0
- package/dist/collection/components/snk-dynaform-form-config/snk-dynaform-fields-layout/snk-dynaform-fields-layout.css +167 -0
- package/dist/collection/components/snk-dynaform-form-config/snk-dynaform-fields-layout/snk-dynaform-fields-layout.js +655 -0
- package/dist/collection/components/snk-dynaform-form-config/snk-dynaform-fields-selector/snk-dynaform-fields-selector.css +42 -0
- package/dist/collection/components/snk-dynaform-form-config/snk-dynaform-fields-selector/snk-dynaform-fields-selector.js +171 -0
- package/dist/collection/components/snk-dynaform-form-config/snk-dynaform-form-config.css +66 -0
- package/dist/collection/components/snk-dynaform-form-config/snk-dynaform-form-config.js +557 -0
- package/dist/collection/components/snk-dynaform-form-config/snk-dynaform-guides-configurator/snk-dynaform-guides-configurator.css +80 -0
- package/dist/collection/components/snk-dynaform-form-config/snk-dynaform-guides-configurator/snk-dynaform-guides-configurator.js +326 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-search.js +30 -0
- package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-detail.js +9 -3
- package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-item.css +2 -2
- package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-item.js +24 -4
- package/dist/collection/components/snk-filter-bar/filter-modal/snk-filter-modal.css +6 -1
- package/dist/collection/components/snk-filter-bar/filter-modal/snk-filter-modal.js +8 -5
- package/dist/collection/components/snk-filter-bar/snk-filter-bar.css +1 -6
- package/dist/collection/components/snk-filter-bar/snk-filter-bar.js +148 -77
- package/dist/collection/components/snk-form-config/guides-configurator/guides-configurator.css +0 -1
- package/dist/collection/components/snk-grid/snk-grid.css +21 -5
- package/dist/collection/components/snk-grid/snk-grid.js +161 -7
- package/dist/collection/components/snk-grid-config/snk-grid-config.js +111 -44
- package/dist/collection/components/snk-image-input/snk-image-input.js +15 -3
- package/dist/collection/components/snk-image-input/utils/ImageUtils.js +5 -3
- package/dist/collection/components/snk-personalized-filter/snk-personalized-filter.js +1 -1
- package/dist/collection/components/snk-taskbar/elements/taskbar-actions-button/taskbar-actions-button.css +8 -0
- package/dist/collection/components/snk-taskbar/elements/taskbar-actions-button/taskbar-actions-button.js +38 -2
- package/dist/collection/components/snk-taskbar/elements/taskbar-elements.js +51 -35
- package/dist/collection/components/snk-taskbar/elements/taskbar-split-button/taskbar-split-button.js +27 -1
- package/dist/collection/components/snk-taskbar/processor/simple-taskbar-processor.js +55 -0
- package/dist/collection/components/snk-taskbar/snk-taskbar.css +44 -1
- package/dist/collection/components/snk-taskbar/snk-taskbar.js +248 -132
- package/dist/collection/components/snk-taskbar/subcomponents/snk-taskbar-skeleton.css +12 -0
- package/dist/collection/components/snk-taskbar/subcomponents/snk-taskbar-skeleton.js +19 -0
- package/dist/collection/lib/@types/index.js +6 -0
- package/dist/collection/lib/configs/ConfigStorage.js +5 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/DataUnitDataLoader.js +1 -1
- package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/cache/PreloadManager.js +51 -4
- package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/helpers/DataUnitDataLoaderHelper.js +15 -104
- package/dist/collection/lib/http/data-fetcher/fetchers/form-config-fetcher.js +22 -4
- package/dist/collection/lib/http/data-fetcher/fetchers/grid-config-fetcher.js +12 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/resource-fetcher.js +18 -0
- package/dist/collection/lib/message/resources/en-us/dataUnitDataLoaderHelper.msg.js +0 -13
- package/dist/collection/lib/message/resources/en-us/snk-crud.msg.js +12 -0
- package/dist/collection/lib/message/resources/es-es/dataUnitDataLoaderHelper.msg.js +0 -13
- package/dist/collection/lib/message/resources/es-es/snk-crud.msg.js +12 -0
- package/dist/collection/lib/message/resources/pt-br/dataUnitDataLoaderHelper.msg.js +0 -13
- package/dist/collection/lib/message/resources/pt-br/snk-crud.msg.js +12 -0
- package/dist/collection/lib/utils/CrudUtils.js +7 -4
- package/dist/components/ConfigStorage.js +17 -0
- package/dist/components/ContinuousInsertUtils.js +86 -28
- package/dist/components/ISave.js +6 -0
- package/dist/components/SnkMessageBuilder.js +36 -39
- package/dist/components/dataunit-fetcher.js +67 -109
- package/dist/components/form-config-fetcher.js +40 -4
- package/dist/components/guides-configurator2.js +1 -1
- package/dist/components/index.d.ts +14 -0
- package/dist/components/index.js +14 -0
- package/dist/components/snk-actions-button2.js +15 -9
- package/dist/components/snk-attach2.js +67 -26
- package/dist/components/snk-configurator2.js +2 -0
- package/dist/components/snk-crud.js +229 -175
- package/dist/components/snk-data-exporter2.js +56 -9
- package/dist/components/snk-detail-view2.js +174 -267
- package/dist/components/snk-dynaform-config-header.d.ts +11 -0
- package/dist/components/snk-dynaform-config-header.js +6 -0
- package/dist/components/snk-dynaform-config-header2.js +103 -0
- package/dist/components/snk-dynaform-configs-button.d.ts +11 -0
- package/dist/components/snk-dynaform-configs-button.js +6 -0
- package/dist/components/snk-dynaform-configs-button2.js +76 -0
- package/dist/components/snk-dynaform-detail-view.d.ts +11 -0
- package/dist/components/snk-dynaform-detail-view.js +6 -0
- package/dist/components/snk-dynaform-detail-view2.js +2213 -0
- package/dist/components/snk-dynaform-field-config.d.ts +11 -0
- package/dist/components/snk-dynaform-field-config.js +6 -0
- package/dist/components/snk-dynaform-field-config2.js +605 -0
- package/dist/components/snk-dynaform-field-item.d.ts +11 -0
- package/dist/components/snk-dynaform-field-item.js +6 -0
- package/dist/components/snk-dynaform-field-item2.js +96 -0
- package/dist/components/snk-dynaform-fields-layout.d.ts +11 -0
- package/dist/components/snk-dynaform-fields-layout.js +6 -0
- package/dist/components/snk-dynaform-fields-layout2.js +428 -0
- package/dist/components/snk-dynaform-fields-selector.d.ts +11 -0
- package/dist/components/snk-dynaform-fields-selector.js +6 -0
- package/dist/components/snk-dynaform-fields-selector2.js +104 -0
- package/dist/components/snk-dynaform-form-config.d.ts +11 -0
- package/dist/components/snk-dynaform-form-config.js +6 -0
- package/dist/components/snk-dynaform-form-config2.js +430 -0
- package/dist/components/snk-dynaform-form-view.d.ts +11 -0
- package/dist/components/snk-dynaform-form-view.js +6 -0
- package/dist/components/snk-dynaform-form-view2.js +272 -0
- package/dist/components/snk-dynaform-guides-configurator.d.ts +11 -0
- package/dist/components/snk-dynaform-guides-configurator.js +6 -0
- package/dist/components/snk-dynaform-guides-configurator2.js +173 -0
- package/dist/components/snk-dynaform-guides-view.d.ts +11 -0
- package/dist/components/snk-dynaform-guides-view.js +6 -0
- package/dist/components/snk-dynaform.d.ts +11 -0
- package/dist/components/snk-dynaform.js +1007 -0
- package/dist/components/snk-entity-search.d.ts +11 -0
- package/dist/components/snk-entity-search.js +6 -0
- package/dist/components/snk-entity-search2.js +231 -0
- package/dist/components/snk-exporter-email-sender2.js +1 -1
- package/dist/components/snk-filter-bar2.js +98 -79
- package/dist/components/snk-filter-detail2.js +9 -3
- package/dist/components/snk-filter-item2.js +5 -5
- package/dist/components/snk-filter-modal2.js +8 -5
- package/dist/components/snk-filter-search.js +12 -1
- package/dist/components/snk-form-view2.js +0 -3
- package/dist/components/snk-grid-config2.js +92 -44
- package/dist/components/snk-grid2.js +95 -50
- package/dist/components/snk-image-input2.js +20 -6
- package/dist/components/snk-personalized-filter2.js +1 -1
- package/dist/components/snk-simple-crud2.js +29 -23
- package/dist/components/snk-taskbar-skeleton.d.ts +11 -0
- package/dist/components/snk-taskbar-skeleton.js +6 -0
- package/dist/components/snk-taskbar-skeleton2.js +29 -0
- package/dist/components/snk-taskbar2.js +253 -174
- package/dist/components/sortable.esm.js +76 -90
- package/dist/components/taskbar-actions-button2.js +21 -2
- package/dist/components/taskbar-split-button2.js +10 -1
- package/dist/components/taskbarUtils.js +229 -0
- package/dist/esm/{ConfigStorage-d15d2014.js → ConfigStorage-0d1c0695.js} +19 -2
- package/dist/esm/ContinuousInsertUtils-bce77dc1.js +39 -0
- package/dist/esm/{DataFetcher-1dd7e8c0.js → DataFetcher-70de9419.js} +2803 -3
- package/dist/esm/FormConfigHelper-efc29480.js +328 -0
- package/dist/esm/{ISave-498c4831.js → ISave-f5704813.js} +1 -1
- package/dist/esm/{ImageUtils-8fc8d905.js → ImageUtils-efbea0e4.js} +5 -3
- package/dist/esm/{PersonalizedFilterUtils-d2439a9a.js → PersonalizedFilterUtils-45b5803c.js} +49 -2
- package/dist/esm/{SnkFormConfigManager-86befa68.js → SnkFormConfigManager-e7f05f79.js} +2 -2
- package/dist/esm/{SnkMultiSelectionListDataSource-6e9496f0.js → SnkMultiSelectionListDataSource-6ac291a9.js} +141 -69
- package/dist/esm/{auth-fetcher-69cbda8d.js → auth-fetcher-e34880e5.js} +1 -1
- package/dist/esm/{dataunit-fetcher-21c43ec7.js → dataunit-fetcher-d26e4a08.js} +68 -110
- package/dist/esm/fields-layout.entry.js +1 -1
- package/dist/esm/fields-selector.entry.js +1 -1
- package/dist/esm/{filter-type.enum-f6a8fe23.js → filter-type.enum-62b7fe88.js} +8 -1
- package/dist/esm/{form-config-fetcher-fcc7b62f.js → form-config-fetcher-98c42169.js} +41 -5
- package/dist/esm/guides-configurator.entry.js +2 -2
- package/dist/esm/index-04f73a26.js +28 -40
- package/dist/esm/{index-b40568ff.js → index-c6721886.js} +6 -0
- 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_8.entry.js → snk-actions-button_9.entry.js} +152 -65
- package/dist/esm/snk-application.entry.js +7 -8
- package/dist/esm/snk-attach_11.entry.js +2944 -0
- package/dist/esm/snk-configurator.entry.js +2 -0
- package/dist/esm/snk-crud.entry.js +140 -99
- package/dist/esm/snk-data-exporter.entry.js +61 -16
- package/dist/esm/{snk-data-unit-3b06a0f3.js → snk-data-unit-ff57ac90.js} +2 -2
- package/dist/esm/snk-data-unit.entry.js +3 -4
- package/dist/esm/snk-detail-view.entry.js +26 -18
- package/dist/esm/snk-dynaform-config-header_5.entry.js +731 -0
- package/dist/esm/snk-dynaform-detail-view_2.entry.js +956 -0
- package/dist/esm/snk-dynaform-field-config_2.entry.js +322 -0
- package/dist/esm/snk-dynaform-guides-view-0dfbefc1.js +1091 -0
- package/dist/esm/snk-dynaform-guides-view.entry.js +15 -0
- package/dist/esm/snk-dynaform.entry.js +675 -0
- package/dist/esm/snk-entity-search.entry.js +207 -0
- package/dist/esm/snk-exporter-email-sender.entry.js +1 -1
- package/dist/esm/{snk-expression-group_2.entry.js → snk-expression-group_4.entry.js} +405 -4
- package/dist/esm/snk-filter-bar_4.entry.js +112 -96
- package/dist/esm/snk-filter-search.entry.js +10 -0
- package/dist/esm/snk-form-view.entry.js +1 -4
- package/dist/esm/snk-form_2.entry.js +4 -5
- package/dist/esm/snk-grid.entry.js +50 -18
- package/dist/esm/{snk-guides-viewer-a4e31f63.js → snk-guides-viewer-31a0a23d.js} +39 -162
- package/dist/esm/snk-guides-viewer.entry.js +8 -17
- package/dist/esm/snk-layout-form-config.entry.js +5 -6
- package/dist/esm/snk-pesquisa.entry.js +5 -6
- package/dist/esm/snk-taskbar.entry.js +183 -126
- package/dist/esm/{sortable.esm-842f85a3.js → sortable.esm-bc277c12.js} +76 -90
- package/dist/esm/taskbar-elements-ba9d6889.js +149 -0
- package/dist/esm/taskbarUtils-cb9db0d9.js +230 -0
- package/dist/sankhyablocks/{p-32ad76cc.js → p-097d75b3.js} +2 -2
- package/dist/sankhyablocks/p-0dbd53d9.js +1 -0
- package/dist/sankhyablocks/p-12579574.entry.js +1 -0
- package/dist/sankhyablocks/p-1d31aec3.entry.js +1 -0
- package/dist/sankhyablocks/{p-2cc2526e.entry.js → p-1d7d5814.entry.js} +1 -1
- package/dist/sankhyablocks/p-24b059ee.entry.js +1 -0
- package/dist/sankhyablocks/p-250b273e.entry.js +1 -0
- package/dist/sankhyablocks/p-26f1919e.entry.js +1 -0
- package/dist/sankhyablocks/p-2a83f20e.entry.js +1 -0
- package/dist/sankhyablocks/p-2c4f7fdd.entry.js +1 -0
- package/dist/sankhyablocks/p-2ec98523.js +1 -0
- package/dist/sankhyablocks/p-449dfe55.entry.js +1 -0
- package/dist/sankhyablocks/p-46d7e2de.js +1 -0
- package/dist/sankhyablocks/p-4dd574d6.js +1 -0
- package/dist/sankhyablocks/p-541c72ec.entry.js +1 -0
- package/dist/sankhyablocks/p-58709cf9.js +1 -0
- package/dist/sankhyablocks/p-5aeae67f.js +1 -0
- package/dist/sankhyablocks/p-5d50f59a.entry.js +1 -0
- package/dist/sankhyablocks/p-5ef0e9a8.entry.js +1 -0
- package/dist/sankhyablocks/p-6d3bcabf.entry.js +1 -0
- package/dist/sankhyablocks/p-6f60df43.js +1 -0
- package/dist/sankhyablocks/p-846d8f79.entry.js +1 -0
- package/dist/sankhyablocks/{p-e30acdca.entry.js → p-855ccf64.entry.js} +1 -1
- package/dist/sankhyablocks/p-885262ce.entry.js +1 -0
- package/dist/sankhyablocks/p-8d1ef77a.js +60 -0
- package/dist/sankhyablocks/{p-9114e869.js → p-8d81c8d3.js} +2 -2
- package/dist/sankhyablocks/p-8f5dd87d.entry.js +1 -0
- package/dist/sankhyablocks/p-90037547.js +1 -0
- package/dist/sankhyablocks/{p-7150eacf.entry.js → p-9742ea0e.entry.js} +1 -1
- package/dist/sankhyablocks/p-9e02a785.js +1 -0
- package/dist/sankhyablocks/{p-6564180d.entry.js → p-9e7dc97d.entry.js} +1 -1
- package/dist/sankhyablocks/p-a25ab2ff.entry.js +1 -0
- package/dist/sankhyablocks/p-a696bbcd.entry.js +1 -0
- package/dist/sankhyablocks/{p-88b0797e.entry.js → p-a9012341.entry.js} +2 -2
- package/dist/sankhyablocks/p-abcb646d.js +1 -0
- package/dist/sankhyablocks/{p-4ff3b494.js → p-af673291.js} +1 -1
- package/dist/sankhyablocks/p-bd2a845c.js +1 -0
- package/dist/sankhyablocks/p-c4b34e2b.entry.js +1 -0
- package/dist/sankhyablocks/{p-7e9f8fa4.js → p-c9440c8a.js} +1 -1
- package/dist/sankhyablocks/p-ca3728c0.entry.js +1 -0
- package/dist/sankhyablocks/p-cbb8e351.js +7 -0
- package/dist/sankhyablocks/p-cd153f71.entry.js +1 -0
- package/dist/sankhyablocks/p-ce8ccd72.entry.js +1 -0
- package/dist/sankhyablocks/p-ddb160eb.entry.js +1 -0
- package/dist/sankhyablocks/p-e5a3711f.js +1 -0
- package/dist/sankhyablocks/{p-2b882835.entry.js → p-e737fd5a.entry.js} +1 -1
- package/dist/sankhyablocks/{p-362e6e8c.js → p-eac48627.js} +1 -1
- package/dist/sankhyablocks/p-ec7c87bb.js +28 -0
- package/dist/sankhyablocks/p-fb6e3c65.entry.js +1 -0
- package/dist/sankhyablocks/sankhyablocks.esm.js +1 -1
- package/dist/types/components/snk-actions-button/snk-actions-button.d.ts +4 -0
- package/dist/types/components/snk-attach/snk-attach.d.ts +22 -4
- package/dist/types/components/snk-crud/snk-crud.d.ts +28 -10
- package/dist/types/components/snk-crud/subcomponents/snk-detail-view/snk-detail-view.d.ts +3 -2
- package/dist/types/components/snk-crud/subcomponents/snk-entity-search.d.ts +62 -0
- package/dist/types/components/snk-crud/subcomponents/snk-guides-viewer.d.ts +4 -18
- package/dist/types/components/snk-crud/utils/taskbarUtils.d.ts +13 -0
- package/dist/types/components/snk-data-exporter/interfaces/IExporterProvider.d.ts +8 -0
- package/dist/types/components/snk-data-exporter/snk-data-exporter.d.ts +4 -0
- package/dist/types/components/snk-data-exporter/structure/ItemBuilder.d.ts +16 -0
- package/dist/types/components/snk-dynaform/interfaces/PropsCustomEditor.d.ts +4 -0
- package/dist/types/components/snk-dynaform/interfaces/PropsCustomRender.d.ts +4 -0
- package/dist/types/components/snk-dynaform/subcomponents/CardFormResizeObserver.d.ts +1 -0
- package/dist/types/components/snk-dynaform/subcomponents/GuideBuilder.d.ts +14 -0
- package/dist/types/components/snk-dynaform/subcomponents/snk-dynaform-detail-view/snk-dynaform-detail-view.d.ts +169 -0
- package/dist/types/components/snk-dynaform/subcomponents/snk-dynaform-form-view/snk-dynaform-form-view.d.ts +108 -0
- package/dist/types/components/snk-dynaform-form-config/FormConfigHelper.d.ts +36 -0
- package/dist/types/components/snk-dynaform-form-config/SnkFormConfigManager.d.ts +35 -0
- package/dist/types/components/snk-dynaform-form-config/snk-dynaform-config-header/snk-dynaform-config-header.d.ts +23 -0
- package/dist/types/components/snk-dynaform-form-config/snk-dynaform-config-header/snk-dynaform-configs-button/snk-dynaform-configs-button.d.ts +19 -0
- package/dist/types/components/snk-dynaform-form-config/snk-dynaform-field-item/snk-dynaform-field-config/snk-dynaform-field-config.d.ts +56 -0
- package/dist/types/components/snk-dynaform-form-config/snk-dynaform-fields-layout/snk-dynaform-fields-layout.d.ts +74 -0
- package/dist/types/components/snk-dynaform-form-config/snk-dynaform-fields-selector/snk-dynaform-fields-selector.d.ts +21 -0
- package/dist/types/components/snk-dynaform-form-config/snk-dynaform-form-config.d.ts +95 -0
- package/dist/types/components/snk-dynaform-form-config/snk-dynaform-guides-configurator/snk-dynaform-guides-configurator.d.ts +35 -0
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-search.d.ts +1 -0
- package/dist/types/components/snk-filter-bar/filter-item/snk-filter-detail.d.ts +1 -1
- package/dist/types/components/snk-filter-bar/filter-item/snk-filter-item.d.ts +5 -1
- package/dist/types/components/snk-filter-bar/snk-filter-bar.d.ts +33 -16
- package/dist/types/components/snk-grid/snk-grid.d.ts +29 -1
- package/dist/types/components/snk-grid-config/snk-grid-config.d.ts +7 -0
- package/dist/types/components/snk-image-input/snk-image-input.d.ts +1 -0
- package/dist/types/components/snk-image-input/utils/ImageUtils.d.ts +1 -1
- package/dist/types/components/snk-taskbar/elements/taskbar-actions-button/taskbar-actions-button.d.ts +6 -0
- package/dist/types/components/snk-taskbar/elements/taskbar-elements.d.ts +29 -2
- package/dist/types/components/snk-taskbar/elements/taskbar-split-button/taskbar-split-button.d.ts +5 -0
- package/dist/types/components/snk-taskbar/processor/simple-taskbar-processor.d.ts +31 -0
- package/dist/types/components/snk-taskbar/snk-taskbar.d.ts +32 -21
- package/dist/types/components/snk-taskbar/subcomponents/snk-taskbar-skeleton.d.ts +3 -0
- package/dist/types/components.d.ts +2503 -1188
- package/dist/types/lib/@types/index.d.ts +6 -0
- package/dist/types/lib/configs/ConfigStorage.d.ts +1 -0
- package/dist/types/lib/http/data-fetcher/fetchers/data-unit/cache/PreloadManager.d.ts +1 -0
- package/dist/types/lib/http/data-fetcher/fetchers/data-unit/helpers/DataUnitDataLoaderHelper.d.ts +3 -1
- package/dist/types/lib/http/data-fetcher/fetchers/fetchDataExporter/interfaces/IFetchDataExporterParams.d.ts +2 -0
- package/dist/types/lib/http/data-fetcher/fetchers/form-config-fetcher.d.ts +1 -0
- package/dist/types/lib/http/data-fetcher/fetchers/grid-config-fetcher.d.ts +1 -0
- package/dist/types/lib/http/data-fetcher/fetchers/resource-fetcher.d.ts +1 -0
- package/package.json +11 -8
- package/react/components.d.ts +14 -0
- package/react/components.js +14 -0
- package/react/components.js.map +1 -1
- package/dist/cjs/SnkMessageBuilder-d9558dba.js +0 -2809
- package/dist/cjs/default-filters-a09bf82b.js +0 -8
- package/dist/cjs/index-62760a9c.js +0 -49
- package/dist/cjs/index-8d94b7e0.js +0 -7
- package/dist/cjs/snk-attach.cjs.entry.js +0 -911
- package/dist/cjs/snk-default-filter.cjs.entry.js +0 -77
- package/dist/cjs/snk-filter-advanced-mode_2.cjs.entry.js +0 -61
- package/dist/cjs/snk-filter-detail.cjs.entry.js +0 -198
- package/dist/cjs/snk-filter-field-search_2.cjs.entry.js +0 -408
- package/dist/cjs/snk-filter-modal-item.cjs.entry.js +0 -109
- package/dist/cjs/snk-image-input.cjs.entry.js +0 -148
- package/dist/cjs/snk-personalized-filter.cjs.entry.js +0 -358
- package/dist/cjs/snk-simple-bar.cjs.entry.js +0 -45
- package/dist/cjs/snk-simple-crud.cjs.entry.js +0 -865
- package/dist/cjs/taskbar-elements-a94d4318.js +0 -133
- package/dist/cjs/taskbar-processor-2fba34a8.js +0 -53
- package/dist/esm/SnkMessageBuilder-c0bc4424.js +0 -2807
- package/dist/esm/default-filters-50105e43.js +0 -8
- package/dist/esm/index-620ac460.js +0 -7
- package/dist/esm/index-8acbae97.js +0 -49
- package/dist/esm/snk-attach.entry.js +0 -907
- package/dist/esm/snk-default-filter.entry.js +0 -73
- package/dist/esm/snk-filter-advanced-mode_2.entry.js +0 -56
- package/dist/esm/snk-filter-detail.entry.js +0 -194
- package/dist/esm/snk-filter-field-search_2.entry.js +0 -403
- package/dist/esm/snk-filter-modal-item.entry.js +0 -105
- package/dist/esm/snk-image-input.entry.js +0 -144
- package/dist/esm/snk-personalized-filter.entry.js +0 -354
- package/dist/esm/snk-simple-bar.entry.js +0 -41
- package/dist/esm/snk-simple-crud.entry.js +0 -861
- package/dist/esm/taskbar-elements-97541bdd.js +0 -130
- package/dist/esm/taskbar-processor-3436124c.js +0 -51
- package/dist/sankhyablocks/p-07619e85.entry.js +0 -1
- package/dist/sankhyablocks/p-0d15b109.entry.js +0 -1
- package/dist/sankhyablocks/p-0f3698af.js +0 -1
- package/dist/sankhyablocks/p-10cad767.entry.js +0 -1
- package/dist/sankhyablocks/p-17653b22.entry.js +0 -1
- package/dist/sankhyablocks/p-1a0caadb.js +0 -1
- package/dist/sankhyablocks/p-25540da8.js +0 -1
- package/dist/sankhyablocks/p-27d6590e.js +0 -1
- package/dist/sankhyablocks/p-27e0cd68.entry.js +0 -1
- package/dist/sankhyablocks/p-2a356340.entry.js +0 -1
- package/dist/sankhyablocks/p-438a225f.entry.js +0 -1
- package/dist/sankhyablocks/p-45a830d9.js +0 -1
- package/dist/sankhyablocks/p-48c580b9.entry.js +0 -1
- package/dist/sankhyablocks/p-4a8d0917.entry.js +0 -1
- package/dist/sankhyablocks/p-4cdfa0e4.entry.js +0 -1
- package/dist/sankhyablocks/p-4fe8380b.entry.js +0 -1
- package/dist/sankhyablocks/p-51833248.js +0 -7
- package/dist/sankhyablocks/p-68c1a093.js +0 -1
- package/dist/sankhyablocks/p-6a4b21dd.js +0 -1
- package/dist/sankhyablocks/p-72d62f22.js +0 -1
- package/dist/sankhyablocks/p-73b455e1.entry.js +0 -1
- package/dist/sankhyablocks/p-84345e7a.js +0 -1
- package/dist/sankhyablocks/p-8bb4e86b.entry.js +0 -1
- package/dist/sankhyablocks/p-9c1ff75e.entry.js +0 -1
- package/dist/sankhyablocks/p-a9839628.js +0 -26
- package/dist/sankhyablocks/p-b25777fa.entry.js +0 -1
- package/dist/sankhyablocks/p-b568c1d4.js +0 -1
- package/dist/sankhyablocks/p-b9970342.js +0 -60
- package/dist/sankhyablocks/p-bdf0077f.js +0 -1
- package/dist/sankhyablocks/p-c8043a53.entry.js +0 -1
- package/dist/sankhyablocks/p-c860552e.entry.js +0 -1
- package/dist/sankhyablocks/p-cc64239c.entry.js +0 -1
- package/dist/sankhyablocks/p-cd00a3d1.entry.js +0 -1
- package/dist/sankhyablocks/p-e0a6818c.js +0 -1
- package/dist/sankhyablocks/p-e0e3914e.entry.js +0 -1
- package/dist/sankhyablocks/p-ebce5394.entry.js +0 -1
- package/dist/sankhyablocks/p-ef9343c3.entry.js +0 -1
- package/dist/sankhyablocks/p-f1110b78.entry.js +0 -1
- package/dist/sankhyablocks/p-f1bf7248.entry.js +0 -1
- package/dist/sankhyablocks/p-f1d541e9.entry.js +0 -1
- package/dist/sankhyablocks/p-f2472d12.entry.js +0 -1
- package/dist/sankhyablocks/p-f4184ce7.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Fragment, forceUpdate, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import { ObjectUtils,
|
|
2
|
+
import { ObjectUtils, Action, KeyboardManager, StringUtils } from '@sankhyalabs/core';
|
|
3
3
|
import { S as SnkFormConfigManager } from './SnkFormConfigManager.js';
|
|
4
4
|
import { buildFormMetadata, FormMetadata } from '@sankhyalabs/ezui/dist/collection/utils/form';
|
|
5
5
|
import './DataFetcher.js';
|
|
@@ -10,54 +10,53 @@ import './dataunit-fetcher.js';
|
|
|
10
10
|
import './filter-item-type.enum.js';
|
|
11
11
|
import './form-config-fetcher.js';
|
|
12
12
|
import { V as VIEW_MODE } from './constants.js';
|
|
13
|
-
import { T as TaskbarElement, d as defineCustomElement$
|
|
14
|
-
import { SelectionMode } from '@sankhyalabs/core/dist/dataunit/DataUnit';
|
|
13
|
+
import { T as TaskbarElement, d as defineCustomElement$6 } from './snk-taskbar2.js';
|
|
15
14
|
import { buildFieldSearch, SHORTCUT_SEARCH_FIELD } from '@sankhyalabs/ezui/dist/collection/utils';
|
|
16
|
-
import {
|
|
17
|
-
import { d as defineCustomElement$H } from './
|
|
18
|
-
import { d as defineCustomElement$G } from './
|
|
19
|
-
import { d as defineCustomElement$F } from './field-
|
|
20
|
-
import { d as defineCustomElement$E } from './
|
|
21
|
-
import { d as defineCustomElement$D } from './fields-
|
|
22
|
-
import { d as defineCustomElement$C } from './
|
|
23
|
-
import { d as defineCustomElement$B } from './
|
|
24
|
-
import { d as defineCustomElement$A } from './snk-
|
|
25
|
-
import { d as defineCustomElement$z } from './snk-
|
|
26
|
-
import { d as defineCustomElement$y } from './snk-
|
|
27
|
-
import { d as defineCustomElement$x } from './snk-data-
|
|
28
|
-
import { d as defineCustomElement$w } from './snk-
|
|
29
|
-
import { d as defineCustomElement$v } from './snk-default-filter2.js';
|
|
15
|
+
import { d as defineCustomElement$I } from './config-header2.js';
|
|
16
|
+
import { d as defineCustomElement$H } from './configs-button2.js';
|
|
17
|
+
import { d as defineCustomElement$G } from './field-config2.js';
|
|
18
|
+
import { d as defineCustomElement$F } from './field-item2.js';
|
|
19
|
+
import { d as defineCustomElement$E } from './fields-layout2.js';
|
|
20
|
+
import { d as defineCustomElement$D } from './fields-selector2.js';
|
|
21
|
+
import { d as defineCustomElement$C } from './guides-configurator2.js';
|
|
22
|
+
import { d as defineCustomElement$B } from './snk-actions-button2.js';
|
|
23
|
+
import { d as defineCustomElement$A } from './snk-attach2.js';
|
|
24
|
+
import { d as defineCustomElement$z } from './snk-configurator2.js';
|
|
25
|
+
import { d as defineCustomElement$y } from './snk-data-exporter2.js';
|
|
26
|
+
import { d as defineCustomElement$x } from './snk-data-unit2.js';
|
|
27
|
+
import { d as defineCustomElement$w } from './snk-default-filter2.js';
|
|
30
28
|
import { S as SnkMessageBuilder } from './SnkMessageBuilder.js';
|
|
31
|
-
import { d as defineCustomElement$
|
|
32
|
-
import { d as defineCustomElement$
|
|
33
|
-
import { d as defineCustomElement$
|
|
34
|
-
import { d as defineCustomElement$
|
|
35
|
-
import { d as defineCustomElement$
|
|
36
|
-
import { d as defineCustomElement$
|
|
37
|
-
import { d as defineCustomElement$
|
|
38
|
-
import { d as defineCustomElement$
|
|
39
|
-
import { d as defineCustomElement$
|
|
40
|
-
import { d as defineCustomElement$
|
|
41
|
-
import { d as defineCustomElement$
|
|
42
|
-
import { d as defineCustomElement$
|
|
43
|
-
import { d as defineCustomElement$
|
|
44
|
-
import { d as defineCustomElement$
|
|
45
|
-
import { d as defineCustomElement$
|
|
46
|
-
import { d as defineCustomElement$
|
|
47
|
-
import { d as defineCustomElement$
|
|
48
|
-
import { d as defineCustomElement$
|
|
49
|
-
import { d as defineCustomElement$
|
|
50
|
-
import { d as defineCustomElement$
|
|
51
|
-
import { d as defineCustomElement$
|
|
52
|
-
import { d as defineCustomElement$
|
|
53
|
-
import { d as defineCustomElement$
|
|
54
|
-
import { d as defineCustomElement$
|
|
29
|
+
import { d as defineCustomElement$v } from './snk-exporter-email-sender2.js';
|
|
30
|
+
import { d as defineCustomElement$u } from './snk-expression-group2.js';
|
|
31
|
+
import { d as defineCustomElement$t } from './snk-expression-item2.js';
|
|
32
|
+
import { d as defineCustomElement$s } from './snk-filter-advanced-mode2.js';
|
|
33
|
+
import { d as defineCustomElement$r } from './snk-filter-assistent-mode2.js';
|
|
34
|
+
import { d as defineCustomElement$q } from './snk-filter-bar2.js';
|
|
35
|
+
import { d as defineCustomElement$p } from './snk-filter-detail2.js';
|
|
36
|
+
import { d as defineCustomElement$o } from './snk-filter-field-search2.js';
|
|
37
|
+
import { d as defineCustomElement$n } from './snk-filter-item2.js';
|
|
38
|
+
import { d as defineCustomElement$m } from './snk-filter-modal2.js';
|
|
39
|
+
import { d as defineCustomElement$l } from './snk-filter-modal-item2.js';
|
|
40
|
+
import { d as defineCustomElement$k } from './snk-filter-param-config2.js';
|
|
41
|
+
import { d as defineCustomElement$i } from './snk-form-summary2.js';
|
|
42
|
+
import { d as defineCustomElement$h } from './snk-form-view2.js';
|
|
43
|
+
import { d as defineCustomElement$g } from './snk-grid2.js';
|
|
44
|
+
import { d as defineCustomElement$f } from './snk-grid-config2.js';
|
|
45
|
+
import { d as defineCustomElement$e } from './snk-image-input2.js';
|
|
46
|
+
import { d as defineCustomElement$d } from './snk-layout-form-config2.js';
|
|
47
|
+
import { d as defineCustomElement$c } from './snk-numbering-config2.js';
|
|
48
|
+
import { d as defineCustomElement$b } from './snk-personalized-filter2.js';
|
|
49
|
+
import { d as defineCustomElement$a } from './snk-select-box2.js';
|
|
50
|
+
import { d as defineCustomElement$9 } from './snk-simple-bar2.js';
|
|
51
|
+
import { d as defineCustomElement$8 } from './snk-simple-crud2.js';
|
|
52
|
+
import { d as defineCustomElement$7 } from './snk-simple-form-config2.js';
|
|
53
|
+
import { d as defineCustomElement$5 } from './snk-taskbar-skeleton2.js';
|
|
55
54
|
import { d as defineCustomElement$4 } from './snk-view-representation2.js';
|
|
56
55
|
import { d as defineCustomElement$3 } from './taskbar-actions-button2.js';
|
|
57
56
|
import { d as defineCustomElement$2 } from './taskbar-split-button2.js';
|
|
58
|
-
import { d as defineCustomElement$
|
|
57
|
+
import { d as defineCustomElement$j } from './snk-form-config2.js';
|
|
59
58
|
|
|
60
|
-
const snkGuidesViewerCss = ".sc-snk-guides-viewer-h{--snk-guides-viewer--space-large:var(--space--large, 24px);--snk-guides-viewer--space-small:var(--space--2xs, 8px);--snk-guides-viewer__header--min-height:
|
|
59
|
+
const snkGuidesViewerCss = ".sc-snk-guides-viewer-h{--snk-guides-viewer--space-large:var(--space--large, 24px);--snk-guides-viewer--space-small:var(--space--2xs, 8px);--snk-guides-viewer__header--min-height:132px;--snk-guides-viewer__header--z-index:var(--more-visible, 2);--snk-guides-viewer__header--background-color:var(--background--body, #fafcff);--snk-guides-viewer__guide-navigator--width:340px;--snk-workspace--header-height:40px;display:block;outline:none}ez-guide-navigator.sc-snk-guides-viewer{--ez-guide-navigator--border-radius:var(--space--12, 12px)}snk-form-view.sc-snk-guides-viewer{width:100%}stack-item.snk-guides-viewer.sc-snk-guides-viewer{display:grid}stack-item.sc-snk-guides-viewer.sc-snk-guides-viewer{display:grid;min-height:100%}.snk-guides-viewer.sc-snk-guides-viewer{position:relative;padding:0 var(--snk-guides-viewer--space-small);padding-bottom:var(--snk-guides-viewer--space-small)}.snk-guides-viewer__detail-container.sc-snk-guides-viewer{display:flex;row-gap:24px;flex-direction:column;max-height:calc(100vh - var(--snk-guides-viewer__header--min-height));overflow-y:auto}.snk-guides-viewer__header.sc-snk-guides-viewer{position:sticky;align-items:center;top:0;z-index:var(--snk-guides-viewer__header--z-index);background-color:var(--snk-guides-viewer__header--background-color);min-height:var(--snk-guides-viewer__header--min-height);width:calc(100% + (var(--snk-guides-viewer--space-large) * 2));padding-left:var(--snk-guides-viewer--space-large);padding-right:var(--snk-guides-viewer--space-large);padding-top:var(--snk-guides-viewer--space-large);padding-bottom:var(--snk-guides-viewer--space-small);margin-left:calc(var(--snk-guides-viewer--space-large) * -1);margin-right:calc(var(--snk-guides-viewer--space-large) * -1);margin-bottom:var(--snk-guides-viewer--space-small)}.snk-guides-viewer__header-breadcrumb.sc-snk-guides-viewer{width:25%;display:flex}.snk-guides-viewer__header-taskbar.sc-snk-guides-viewer{width:75%}.snk-guides-viewer__container.sc-snk-guides-viewer{display:grid;grid-template-columns:minmax(0, auto) minmax(0, 100%);height:100%;column-gap:var(--snk-guides-viewer--space-small)}.snk-guides-viewer__guide-navigator.sc-snk-guides-viewer{position:sticky;top:var(--snk-guides-viewer--space-small);height:calc(100vh - var(--snk-guides-viewer__header--min-height))}.snk-guides-viewer__guide-navigator[open].sc-snk-guides-viewer{width:var(--snk-guides-viewer__guide-navigator--width);max-width:var(--snk-guides-viewer__guide-navigator--width);min-width:var(--snk-guides-viewer__guide-navigator--width)}.snk-guides-viewer__detail-content.sc-snk-guides-viewer{min-height:100%;align-items:flex-start;align-content:flex-start}";
|
|
61
60
|
|
|
62
61
|
const FORM_NAME_PREFIX = "__FORM:";
|
|
63
62
|
const SnkGuidesViewer = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
@@ -160,7 +159,7 @@ const SnkGuidesViewer = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
160
159
|
*/
|
|
161
160
|
async setFocus() {
|
|
162
161
|
var _a;
|
|
163
|
-
(_a = this._container) === null || _a === void 0 ? void 0 : _a.focus();
|
|
162
|
+
(_a = this._container) === null || _a === void 0 ? void 0 : _a.focus({ preventScroll: true });
|
|
164
163
|
}
|
|
165
164
|
/**
|
|
166
165
|
* Recarrega os guias baseada nos metadados atuais.
|
|
@@ -263,63 +262,6 @@ const SnkGuidesViewer = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
263
262
|
});
|
|
264
263
|
}
|
|
265
264
|
}
|
|
266
|
-
getTaskBarId() {
|
|
267
|
-
var _a;
|
|
268
|
-
if ((_a = this.dataState) === null || _a === void 0 ? void 0 : _a.isDirty) {
|
|
269
|
-
return TASKBAR_ID.FINISH_EDITION;
|
|
270
|
-
}
|
|
271
|
-
if (this.dataUnit.isMultipleEdition) {
|
|
272
|
-
return TASKBAR_ID.MUTIPLE_EDITION;
|
|
273
|
-
}
|
|
274
|
-
return TASKBAR_ID.REGULAR;
|
|
275
|
-
}
|
|
276
|
-
loadTaskbarProcessor() {
|
|
277
|
-
const taskbarIDs = {};
|
|
278
|
-
taskbarIDs[TASKBAR_ID.REGULAR] = this.buildBtnsRegularMode();
|
|
279
|
-
taskbarIDs[TASKBAR_ID.FINISH_EDITION] = [TaskbarElement.CANCEL, TaskbarElement.SAVE, this.handleAddGridMode()];
|
|
280
|
-
taskbarIDs[TASKBAR_ID.MUTIPLE_EDITION] = [TaskbarElement.CANCEL];
|
|
281
|
-
this._taskbarProcessor = new TaskbarProcessor(taskbarIDs);
|
|
282
|
-
this._taskbarProcessor.process(this.getTaskBarId(), this.taskbarManager, this.dataState, this.buildDisabledButtons(), this.buildInvisibleButtons());
|
|
283
|
-
}
|
|
284
|
-
buildBtnsRegularMode() {
|
|
285
|
-
var _a, _b;
|
|
286
|
-
const btnsRegularMode = [
|
|
287
|
-
TaskbarElement.ATTACH, TaskbarElement.CLONE, TaskbarElement.REMOVE, TaskbarElement.MORE_OPTIONS,
|
|
288
|
-
TaskbarElement.ACTIONS_BUTTON, TaskbarElement.DIVIDER, TaskbarElement.GRID_MODE, TaskbarElement.CONFIGURATOR,
|
|
289
|
-
];
|
|
290
|
-
if (((_b = (_a = this.dataState) === null || _a === void 0 ? void 0 : _a.selectionInfo) === null || _b === void 0 ? void 0 : _b.length) <= 1) {
|
|
291
|
-
btnsRegularMode.unshift(TaskbarElement.PREVIOUS, TaskbarElement.NEXT, TaskbarElement.DIVIDER);
|
|
292
|
-
}
|
|
293
|
-
if (this.presentationMode == PresentationMode.SECONDARY) {
|
|
294
|
-
btnsRegularMode.unshift(TaskbarElement.INSERT);
|
|
295
|
-
}
|
|
296
|
-
else {
|
|
297
|
-
btnsRegularMode.push(TaskbarElement.INSERT);
|
|
298
|
-
}
|
|
299
|
-
return btnsRegularMode;
|
|
300
|
-
}
|
|
301
|
-
buildDisabledButtons() {
|
|
302
|
-
var _a, _b, _c, _d, _e, _f;
|
|
303
|
-
const disabledButtons = [];
|
|
304
|
-
if (!((_a = this.dataState) === null || _a === void 0 ? void 0 : _a.hasPrevious))
|
|
305
|
-
disabledButtons.push(TaskbarElement.PREVIOUS);
|
|
306
|
-
if (!((_b = this.dataState) === null || _b === void 0 ? void 0 : _b.hasNext))
|
|
307
|
-
disabledButtons.push(TaskbarElement.NEXT);
|
|
308
|
-
if (((_d = (_c = this.dataState) === null || _c === void 0 ? void 0 : _c.selectionInfo) === null || _d === void 0 ? void 0 : _d.length) > 1)
|
|
309
|
-
disabledButtons.push(TaskbarElement.CLONE);
|
|
310
|
-
if ((_f = (_e = this.dataState) === null || _e === void 0 ? void 0 : _e.selectionInfo) === null || _f === void 0 ? void 0 : _f.isAllRecords())
|
|
311
|
-
disabledButtons.push(TaskbarElement.REMOVE);
|
|
312
|
-
return disabledButtons;
|
|
313
|
-
}
|
|
314
|
-
handleAddGridMode() {
|
|
315
|
-
return this.enableGridInsert ? TaskbarElement.GRID_MODE : "";
|
|
316
|
-
}
|
|
317
|
-
buildInvisibleButtons() {
|
|
318
|
-
const invisibleButtons = [];
|
|
319
|
-
if (this.dataState && this.dataState.selectionInfo.mode === SelectionMode.ALL_RECORDS)
|
|
320
|
-
invisibleButtons.push(TaskbarElement.ACTIONS_BUTTON);
|
|
321
|
-
return invisibleButtons;
|
|
322
|
-
}
|
|
323
265
|
static updateContentCard(formName, cardConfig, propertyChanged, configManager) {
|
|
324
266
|
return configManager.saveCardState(formName, cardConfig, propertyChanged);
|
|
325
267
|
}
|
|
@@ -387,7 +329,7 @@ const SnkGuidesViewer = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
387
329
|
if (!sheet)
|
|
388
330
|
return;
|
|
389
331
|
const cardConfig = (_b = (_a = this.masterFormConfig) === null || _a === void 0 ? void 0 : _a.cardsState) === null || _b === void 0 ? void 0 : _b.get(cardId);
|
|
390
|
-
return (h("snk-form-view", { ref: ref => this._mainForm = ref, fixed: cardConfig === null || cardConfig === void 0 ? void 0 : cardConfig.fixed, summaryFields: (_d = (_c = this.masterFormConfig) === null || _c === void 0 ? void 0 : _c.summary) === null || _d === void 0 ? void 0 : _d.get(cardId), name: cardId, label: sheet.label, fields: sheet.fields, dataUnit: this.dataUnit, formMetadata: this._masterFormMetadata, recordsValidator: this.recordsValidator, fieldToFocus: this._fieldToGetFocus, key: cardId, onSnkRequestClearFieldToFocus: _ => this.clearFieldToFocusHandler(), customEditors: this._customEditors, fieldsProps: this._fieldsProps, fieldSearch: this._fieldSearch, entityPath: this.entityPath }
|
|
332
|
+
return (h("snk-form-view", { ref: ref => this._mainForm = ref, fixed: cardConfig === null || cardConfig === void 0 ? void 0 : cardConfig.fixed, summaryFields: (_d = (_c = this.masterFormConfig) === null || _c === void 0 ? void 0 : _c.summary) === null || _d === void 0 ? void 0 : _d.get(cardId), name: cardId, label: sheet.label, fields: sheet.fields, dataUnit: this.dataUnit, formMetadata: this._masterFormMetadata, recordsValidator: this.recordsValidator, fieldToFocus: this._fieldToGetFocus, key: cardId, onSnkRequestClearFieldToFocus: _ => this.clearFieldToFocusHandler(), customEditors: this._customEditors, fieldsProps: this._fieldsProps, fieldSearch: this._fieldSearch, entityPath: this.entityPath }));
|
|
391
333
|
}
|
|
392
334
|
isDetailGuide(childEntityName, levels) {
|
|
393
335
|
return childEntityName || levels.length > 0;
|
|
@@ -410,12 +352,6 @@ const SnkGuidesViewer = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
410
352
|
var _a;
|
|
411
353
|
return (_a = this.customGuidesConfig) === null || _a === void 0 ? void 0 : _a.map(g => g.id).includes(guideId);
|
|
412
354
|
}
|
|
413
|
-
onBreadcrumbClickHandler(item) {
|
|
414
|
-
if ((item === null || item === void 0 ? void 0 : item.id) == undefined) {
|
|
415
|
-
return;
|
|
416
|
-
}
|
|
417
|
-
this._guideNavigator.selectGuide(item.id);
|
|
418
|
-
}
|
|
419
355
|
updateSelectedGuideHandler(currentItem) {
|
|
420
356
|
this._guideHasChanged = this.selectedGuide != currentItem;
|
|
421
357
|
this.selectedGuide = currentItem;
|
|
@@ -424,10 +360,6 @@ const SnkGuidesViewer = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
424
360
|
});
|
|
425
361
|
this.resetGuideBadge(currentItem);
|
|
426
362
|
}
|
|
427
|
-
changeGuideHandler(guideName) {
|
|
428
|
-
var _a;
|
|
429
|
-
(_a = this._guideNavigator) === null || _a === void 0 ? void 0 : _a.selectGuide(guideName);
|
|
430
|
-
}
|
|
431
363
|
clearFieldToFocusHandler() {
|
|
432
364
|
this._fieldToGetFocus = undefined;
|
|
433
365
|
}
|
|
@@ -497,59 +429,9 @@ const SnkGuidesViewer = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
497
429
|
if (!this._guideHasChanged) {
|
|
498
430
|
return;
|
|
499
431
|
}
|
|
500
|
-
|
|
501
|
-
this._currentDetail.showUp();
|
|
502
|
-
}
|
|
503
|
-
else {
|
|
504
|
-
if (this._mainForm) {
|
|
505
|
-
this._mainForm.showUp();
|
|
506
|
-
}
|
|
507
|
-
}
|
|
432
|
+
window.scrollTo(0, 0);
|
|
508
433
|
this._guideHasChanged = false;
|
|
509
434
|
}
|
|
510
|
-
getFieldsSearch(item) {
|
|
511
|
-
if (this._fieldSearch == undefined || this._hasToCreateFieldSearch) {
|
|
512
|
-
this._hasToCreateFieldSearch = false;
|
|
513
|
-
this._fieldSearch = buildFieldSearch(item, ({ argument }) => this.fieldsOptionLoader(argument), (option) => this.onSelectField(option));
|
|
514
|
-
}
|
|
515
|
-
return this._fieldSearch;
|
|
516
|
-
}
|
|
517
|
-
fieldsOptionLoader(argument) {
|
|
518
|
-
return Promise.resolve(this._configManager.getFieldsList(argument)
|
|
519
|
-
.map(field => ({ value: field.name, label: field.label })));
|
|
520
|
-
}
|
|
521
|
-
onSelectField(option) {
|
|
522
|
-
if (option == undefined) {
|
|
523
|
-
return;
|
|
524
|
-
}
|
|
525
|
-
this._fieldToGetFocus = option.value;
|
|
526
|
-
const fieldGuideName = this.getGuideName(option.value);
|
|
527
|
-
if (fieldGuideName !== this.selectedGuide.id) {
|
|
528
|
-
this.changeGuideHandler(fieldGuideName);
|
|
529
|
-
}
|
|
530
|
-
}
|
|
531
|
-
getActionsList() {
|
|
532
|
-
var _a;
|
|
533
|
-
const hardList = [];
|
|
534
|
-
if (this.taskbarManager != undefined && this.taskbarManager.getMoreOptions != undefined) {
|
|
535
|
-
return hardList.concat((_a = this.taskbarManager.getMoreOptions(this.getTaskBarId(), this.configName, this.dataState, this.actionsList)) !== null && _a !== void 0 ? _a : []);
|
|
536
|
-
}
|
|
537
|
-
return hardList.concat(this.actionsList);
|
|
538
|
-
}
|
|
539
|
-
getSettingsListForm() {
|
|
540
|
-
const hardList = [{
|
|
541
|
-
value: StringUtils.generateUUID(),
|
|
542
|
-
label: this.getMessage("snkCrud.findColumn"),
|
|
543
|
-
disableCloseOnSelect: true,
|
|
544
|
-
eagerInitialize: true,
|
|
545
|
-
itemBuilder: (_, item) => this.getFieldsSearch(item)
|
|
546
|
-
}];
|
|
547
|
-
return hardList;
|
|
548
|
-
}
|
|
549
|
-
buildTaskBar() {
|
|
550
|
-
var _a;
|
|
551
|
-
return h("div", { class: `snk-guides-viewer__header-taskbar ${this.presentationMode != PresentationMode.SECONDARY ? 'ez-align--right' : 'ez-padding-bottom--medium'}` }, h("snk-taskbar", { key: "guideViewerTaskbar", "data-element-id": "guideViewer", configName: this.configName, buttons: this._taskbarProcessor.buttons, disabledButtons: this._taskbarProcessor.disabledButtons, customButtons: this._taskbarProcessor.customButtons, actionsList: this.getActionsList(), actionsSettingsList: this.getSettingsListForm(), messagesBuilder: this.messagesBuilder, presentationMode: this.presentationMode, primaryButton: ((_a = this.dataState) === null || _a === void 0 ? void 0 : _a.isDirty) ? TaskbarElement.SAVE : TaskbarElement.INSERT, "data-taskbar-owner": "master", dataUnit: this.dataUnit, resourceID: this.resourceID, customSlotId: "GUIDES_VIEWER_TASKBAR_CUSTOM_ELEMENTS", additionalSlotId: "GUIDES_VIEWER_DYNAMIC_SEARCH", alignRigth: true }, h("slot", { name: "GUIDES_VIEWER_TASKBAR_CUSTOM_ELEMENTS" }), h("slot", { name: "GUIDES_VIEWER_DYNAMIC_SEARCH" })));
|
|
552
|
-
}
|
|
553
435
|
async dataUnitActionHandler(action) {
|
|
554
436
|
var _a;
|
|
555
437
|
switch (action.type) {
|
|
@@ -604,30 +486,42 @@ const SnkGuidesViewer = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
604
486
|
}
|
|
605
487
|
return "";
|
|
606
488
|
}
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
return (_b = (_a = this.getCustomTitle) === null || _a === void 0 ? void 0 : _a.call(this)) !== null && _b !== void 0 ? _b : this.getMessage("snkCrud.title");
|
|
610
|
-
}
|
|
611
|
-
getTitleTooltip() {
|
|
612
|
-
if (!this.dataUnit.isMultipleEdition)
|
|
613
|
-
return;
|
|
614
|
-
return this.buildRecordIdsArray();
|
|
489
|
+
getCustomGuidesConfig() {
|
|
490
|
+
return this._currentDetail ? [] : this.customGuidesConfig;
|
|
615
491
|
}
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
492
|
+
getFieldsSearch() {
|
|
493
|
+
if (this._fieldSearch == undefined || this._hasToCreateFieldSearch) {
|
|
494
|
+
this._hasToCreateFieldSearch = false;
|
|
495
|
+
const item = {
|
|
496
|
+
label: this.getMessage("snkSimpleCrud.findFields"),
|
|
497
|
+
value: "findFields",
|
|
498
|
+
};
|
|
499
|
+
this._fieldSearch = buildFieldSearch(item, ({ argument }) => this.fieldsOptionLoader(argument), (option) => this.onSelectField(option));
|
|
621
500
|
}
|
|
622
|
-
|
|
623
|
-
return `[${labels.join(", ")}]`;
|
|
501
|
+
return this._fieldSearch;
|
|
624
502
|
}
|
|
625
|
-
|
|
626
|
-
return
|
|
503
|
+
fieldsOptionLoader(argument) {
|
|
504
|
+
return Promise.resolve(this._configManager.getFieldsList(argument)
|
|
505
|
+
.map(field => ({ value: field.name, label: field.label })));
|
|
506
|
+
}
|
|
507
|
+
changeGuideHandler(guideName) {
|
|
508
|
+
var _a;
|
|
509
|
+
(_a = this._guideNavigator) === null || _a === void 0 ? void 0 : _a.selectGuide(guideName);
|
|
510
|
+
}
|
|
511
|
+
onSelectField(option) {
|
|
512
|
+
if (option == undefined) {
|
|
513
|
+
return;
|
|
514
|
+
}
|
|
515
|
+
this._fieldToGetFocus = option.value;
|
|
516
|
+
const fieldGuideName = this.getGuideName(option.value);
|
|
517
|
+
if (fieldGuideName !== this.selectedGuide.id) {
|
|
518
|
+
this.changeGuideHandler(fieldGuideName);
|
|
519
|
+
}
|
|
627
520
|
}
|
|
628
521
|
componentDidLoad() {
|
|
629
522
|
this.dataUnit.subscribe(this.dataUnitActionHandler.bind(this));
|
|
630
523
|
this.initKeyboardManager();
|
|
524
|
+
this.getFieldsSearch();
|
|
631
525
|
}
|
|
632
526
|
disconnectedCallback() {
|
|
633
527
|
var _a;
|
|
@@ -647,15 +541,14 @@ const SnkGuidesViewer = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
647
541
|
}
|
|
648
542
|
}
|
|
649
543
|
renderGuidesNavigator(showGuides) {
|
|
650
|
-
var _a
|
|
651
|
-
return (h("section", { class: "snk-guides-viewer", ref: ref => this._container = ref, tabIndex: -1 }, h("div", { class: "
|
|
652
|
-
h("div", { class: "ez-margin-top--extra-small" }, h("ez-breadcrumb", Object.assign({ items: this._breadcrumbItems, onSelectedItem: (evt) => this.onBreadcrumbClickHandler(evt === null || evt === void 0 ? void 0 : evt.detail) }, { [ElementIDUtils.DATA_ELEMENT_ID_ATTRIBUTE_NAME]: `${ElementIDUtils.getInternalIDInfo("breadcrumb")}` }))))), this.presentationMode != PresentationMode.SECONDARY && this.buildTaskBar()), h("div", { class: "snk-guides-viewer__container" }, showGuides ?
|
|
544
|
+
var _a;
|
|
545
|
+
return (h("section", { class: "snk-guides-viewer", ref: ref => this._container = ref, tabIndex: -1 }, h("div", { class: "snk-guides-viewer__container" }, showGuides ?
|
|
653
546
|
h("ez-guide-navigator", { ref: (ref) => this._guideNavigator = ref, class: "snk-guides-viewer__guide-navigator", items: this._guides, selectedId: this.selectedGuide ? this.selectedGuide.id : undefined, onEzSelectionChange: evt => this.updateSelectedGuideHandler(evt.detail) })
|
|
654
547
|
:
|
|
655
548
|
h("div", null), h("div", { class: "snk-guides-viewer__detail-container" }, SnkGuidesViewer.buildFixedForms({
|
|
656
549
|
formConfig: this.masterFormConfig,
|
|
657
550
|
formMetadata: this._masterFormMetadata,
|
|
658
|
-
selectedForm: (
|
|
551
|
+
selectedForm: (_a = this.selectedGuide) === null || _a === void 0 ? void 0 : _a.id,
|
|
659
552
|
dataUnit: this.dataUnit,
|
|
660
553
|
recordsValidator: this.recordsValidator,
|
|
661
554
|
fieldToFocus: this._fieldToGetFocus,
|
|
@@ -669,7 +562,6 @@ const SnkGuidesViewer = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
669
562
|
if (!this.dataUnit || !this._configManager.isLoaded) {
|
|
670
563
|
return;
|
|
671
564
|
}
|
|
672
|
-
this.loadTaskbarProcessor();
|
|
673
565
|
const showGuides = this._guides && (this._guides.length > 1);
|
|
674
566
|
return (h("ez-view-stack", { ref: (ref) => this._viewStack = ref, "data-element-id": "guides-viewer-stack" }, h("stack-item", null, this.renderGuidesNavigator(showGuides)), h("stack-item", null, this.renderFormConfig())));
|
|
675
567
|
}
|
|
@@ -718,12 +610,6 @@ const SnkGuidesViewer = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
718
610
|
"setFocus": [64],
|
|
719
611
|
"reloadGuides": [64]
|
|
720
612
|
}, [[2, "actionClick", "onActionClick"], [0, "snkContentCardChanged", "onContentCardChanged"]]]);
|
|
721
|
-
var TASKBAR_ID;
|
|
722
|
-
(function (TASKBAR_ID) {
|
|
723
|
-
TASKBAR_ID["FINISH_EDITION"] = "snkGuideViewer.finish_edition";
|
|
724
|
-
TASKBAR_ID["MUTIPLE_EDITION"] = "snkGuideViewer.multiple_edition";
|
|
725
|
-
TASKBAR_ID["REGULAR"] = "snkGuideViewer.regular";
|
|
726
|
-
})(TASKBAR_ID || (TASKBAR_ID = {}));
|
|
727
613
|
var GUIDES_VIEWER_VIEW_MODE;
|
|
728
614
|
(function (GUIDES_VIEWER_VIEW_MODE) {
|
|
729
615
|
GUIDES_VIEWER_VIEW_MODE[GUIDES_VIEWER_VIEW_MODE["GUIDES"] = 0] = "GUIDES";
|
|
@@ -733,7 +619,7 @@ function defineCustomElement$1() {
|
|
|
733
619
|
if (typeof customElements === "undefined") {
|
|
734
620
|
return;
|
|
735
621
|
}
|
|
736
|
-
const components = ["snk-guides-viewer", "config-header", "configs-button", "field-config", "field-item", "fields-layout", "fields-selector", "guides-configurator", "snk-actions-button", "snk-attach", "snk-configurator", "snk-data-exporter", "snk-data-unit", "snk-default-filter", "snk-detail-view", "snk-exporter-email-sender", "snk-expression-group", "snk-expression-item", "snk-filter-advanced-mode", "snk-filter-assistent-mode", "snk-filter-bar", "snk-filter-detail", "snk-filter-field-search", "snk-filter-item", "snk-filter-modal", "snk-filter-modal-item", "snk-filter-param-config", "snk-form-config", "snk-form-summary", "snk-form-view", "snk-grid", "snk-grid-config", "snk-image-input", "snk-layout-form-config", "snk-numbering-config", "snk-personalized-filter", "snk-select-box", "snk-simple-bar", "snk-simple-crud", "snk-simple-form-config", "snk-taskbar", "snk-view-representation", "taskbar-actions-button", "taskbar-split-button"];
|
|
622
|
+
const components = ["snk-guides-viewer", "config-header", "configs-button", "field-config", "field-item", "fields-layout", "fields-selector", "guides-configurator", "snk-actions-button", "snk-attach", "snk-configurator", "snk-data-exporter", "snk-data-unit", "snk-default-filter", "snk-detail-view", "snk-exporter-email-sender", "snk-expression-group", "snk-expression-item", "snk-filter-advanced-mode", "snk-filter-assistent-mode", "snk-filter-bar", "snk-filter-detail", "snk-filter-field-search", "snk-filter-item", "snk-filter-modal", "snk-filter-modal-item", "snk-filter-param-config", "snk-form-config", "snk-form-summary", "snk-form-view", "snk-grid", "snk-grid-config", "snk-image-input", "snk-layout-form-config", "snk-numbering-config", "snk-personalized-filter", "snk-select-box", "snk-simple-bar", "snk-simple-crud", "snk-simple-form-config", "snk-taskbar", "snk-taskbar-skeleton", "snk-view-representation", "taskbar-actions-button", "taskbar-split-button"];
|
|
737
623
|
components.forEach(tagName => { switch (tagName) {
|
|
738
624
|
case "snk-guides-viewer":
|
|
739
625
|
if (!customElements.get(tagName)) {
|
|
@@ -742,67 +628,67 @@ function defineCustomElement$1() {
|
|
|
742
628
|
break;
|
|
743
629
|
case "config-header":
|
|
744
630
|
if (!customElements.get(tagName)) {
|
|
745
|
-
defineCustomElement$
|
|
631
|
+
defineCustomElement$I();
|
|
746
632
|
}
|
|
747
633
|
break;
|
|
748
634
|
case "configs-button":
|
|
749
635
|
if (!customElements.get(tagName)) {
|
|
750
|
-
defineCustomElement$
|
|
636
|
+
defineCustomElement$H();
|
|
751
637
|
}
|
|
752
638
|
break;
|
|
753
639
|
case "field-config":
|
|
754
640
|
if (!customElements.get(tagName)) {
|
|
755
|
-
defineCustomElement$
|
|
641
|
+
defineCustomElement$G();
|
|
756
642
|
}
|
|
757
643
|
break;
|
|
758
644
|
case "field-item":
|
|
759
645
|
if (!customElements.get(tagName)) {
|
|
760
|
-
defineCustomElement$
|
|
646
|
+
defineCustomElement$F();
|
|
761
647
|
}
|
|
762
648
|
break;
|
|
763
649
|
case "fields-layout":
|
|
764
650
|
if (!customElements.get(tagName)) {
|
|
765
|
-
defineCustomElement$
|
|
651
|
+
defineCustomElement$E();
|
|
766
652
|
}
|
|
767
653
|
break;
|
|
768
654
|
case "fields-selector":
|
|
769
655
|
if (!customElements.get(tagName)) {
|
|
770
|
-
defineCustomElement$
|
|
656
|
+
defineCustomElement$D();
|
|
771
657
|
}
|
|
772
658
|
break;
|
|
773
659
|
case "guides-configurator":
|
|
774
660
|
if (!customElements.get(tagName)) {
|
|
775
|
-
defineCustomElement$
|
|
661
|
+
defineCustomElement$C();
|
|
776
662
|
}
|
|
777
663
|
break;
|
|
778
664
|
case "snk-actions-button":
|
|
779
665
|
if (!customElements.get(tagName)) {
|
|
780
|
-
defineCustomElement$
|
|
666
|
+
defineCustomElement$B();
|
|
781
667
|
}
|
|
782
668
|
break;
|
|
783
669
|
case "snk-attach":
|
|
784
670
|
if (!customElements.get(tagName)) {
|
|
785
|
-
defineCustomElement$
|
|
671
|
+
defineCustomElement$A();
|
|
786
672
|
}
|
|
787
673
|
break;
|
|
788
674
|
case "snk-configurator":
|
|
789
675
|
if (!customElements.get(tagName)) {
|
|
790
|
-
defineCustomElement$
|
|
676
|
+
defineCustomElement$z();
|
|
791
677
|
}
|
|
792
678
|
break;
|
|
793
679
|
case "snk-data-exporter":
|
|
794
680
|
if (!customElements.get(tagName)) {
|
|
795
|
-
defineCustomElement$
|
|
681
|
+
defineCustomElement$y();
|
|
796
682
|
}
|
|
797
683
|
break;
|
|
798
684
|
case "snk-data-unit":
|
|
799
685
|
if (!customElements.get(tagName)) {
|
|
800
|
-
defineCustomElement$
|
|
686
|
+
defineCustomElement$x();
|
|
801
687
|
}
|
|
802
688
|
break;
|
|
803
689
|
case "snk-default-filter":
|
|
804
690
|
if (!customElements.get(tagName)) {
|
|
805
|
-
defineCustomElement$
|
|
691
|
+
defineCustomElement$w();
|
|
806
692
|
}
|
|
807
693
|
break;
|
|
808
694
|
case "snk-detail-view":
|
|
@@ -812,130 +698,135 @@ function defineCustomElement$1() {
|
|
|
812
698
|
break;
|
|
813
699
|
case "snk-exporter-email-sender":
|
|
814
700
|
if (!customElements.get(tagName)) {
|
|
815
|
-
defineCustomElement$
|
|
701
|
+
defineCustomElement$v();
|
|
816
702
|
}
|
|
817
703
|
break;
|
|
818
704
|
case "snk-expression-group":
|
|
819
705
|
if (!customElements.get(tagName)) {
|
|
820
|
-
defineCustomElement$
|
|
706
|
+
defineCustomElement$u();
|
|
821
707
|
}
|
|
822
708
|
break;
|
|
823
709
|
case "snk-expression-item":
|
|
824
710
|
if (!customElements.get(tagName)) {
|
|
825
|
-
defineCustomElement$
|
|
711
|
+
defineCustomElement$t();
|
|
826
712
|
}
|
|
827
713
|
break;
|
|
828
714
|
case "snk-filter-advanced-mode":
|
|
829
715
|
if (!customElements.get(tagName)) {
|
|
830
|
-
defineCustomElement$
|
|
716
|
+
defineCustomElement$s();
|
|
831
717
|
}
|
|
832
718
|
break;
|
|
833
719
|
case "snk-filter-assistent-mode":
|
|
834
720
|
if (!customElements.get(tagName)) {
|
|
835
|
-
defineCustomElement$
|
|
721
|
+
defineCustomElement$r();
|
|
836
722
|
}
|
|
837
723
|
break;
|
|
838
724
|
case "snk-filter-bar":
|
|
839
725
|
if (!customElements.get(tagName)) {
|
|
840
|
-
defineCustomElement$
|
|
726
|
+
defineCustomElement$q();
|
|
841
727
|
}
|
|
842
728
|
break;
|
|
843
729
|
case "snk-filter-detail":
|
|
844
730
|
if (!customElements.get(tagName)) {
|
|
845
|
-
defineCustomElement$
|
|
731
|
+
defineCustomElement$p();
|
|
846
732
|
}
|
|
847
733
|
break;
|
|
848
734
|
case "snk-filter-field-search":
|
|
849
735
|
if (!customElements.get(tagName)) {
|
|
850
|
-
defineCustomElement$
|
|
736
|
+
defineCustomElement$o();
|
|
851
737
|
}
|
|
852
738
|
break;
|
|
853
739
|
case "snk-filter-item":
|
|
854
740
|
if (!customElements.get(tagName)) {
|
|
855
|
-
defineCustomElement$
|
|
741
|
+
defineCustomElement$n();
|
|
856
742
|
}
|
|
857
743
|
break;
|
|
858
744
|
case "snk-filter-modal":
|
|
859
745
|
if (!customElements.get(tagName)) {
|
|
860
|
-
defineCustomElement$
|
|
746
|
+
defineCustomElement$m();
|
|
861
747
|
}
|
|
862
748
|
break;
|
|
863
749
|
case "snk-filter-modal-item":
|
|
864
750
|
if (!customElements.get(tagName)) {
|
|
865
|
-
defineCustomElement$
|
|
751
|
+
defineCustomElement$l();
|
|
866
752
|
}
|
|
867
753
|
break;
|
|
868
754
|
case "snk-filter-param-config":
|
|
869
755
|
if (!customElements.get(tagName)) {
|
|
870
|
-
defineCustomElement$
|
|
756
|
+
defineCustomElement$k();
|
|
871
757
|
}
|
|
872
758
|
break;
|
|
873
759
|
case "snk-form-config":
|
|
874
760
|
if (!customElements.get(tagName)) {
|
|
875
|
-
defineCustomElement$
|
|
761
|
+
defineCustomElement$j();
|
|
876
762
|
}
|
|
877
763
|
break;
|
|
878
764
|
case "snk-form-summary":
|
|
879
765
|
if (!customElements.get(tagName)) {
|
|
880
|
-
defineCustomElement$
|
|
766
|
+
defineCustomElement$i();
|
|
881
767
|
}
|
|
882
768
|
break;
|
|
883
769
|
case "snk-form-view":
|
|
884
770
|
if (!customElements.get(tagName)) {
|
|
885
|
-
defineCustomElement$
|
|
771
|
+
defineCustomElement$h();
|
|
886
772
|
}
|
|
887
773
|
break;
|
|
888
774
|
case "snk-grid":
|
|
889
775
|
if (!customElements.get(tagName)) {
|
|
890
|
-
defineCustomElement$
|
|
776
|
+
defineCustomElement$g();
|
|
891
777
|
}
|
|
892
778
|
break;
|
|
893
779
|
case "snk-grid-config":
|
|
894
780
|
if (!customElements.get(tagName)) {
|
|
895
|
-
defineCustomElement$
|
|
781
|
+
defineCustomElement$f();
|
|
896
782
|
}
|
|
897
783
|
break;
|
|
898
784
|
case "snk-image-input":
|
|
899
785
|
if (!customElements.get(tagName)) {
|
|
900
|
-
defineCustomElement$
|
|
786
|
+
defineCustomElement$e();
|
|
901
787
|
}
|
|
902
788
|
break;
|
|
903
789
|
case "snk-layout-form-config":
|
|
904
790
|
if (!customElements.get(tagName)) {
|
|
905
|
-
defineCustomElement$
|
|
791
|
+
defineCustomElement$d();
|
|
906
792
|
}
|
|
907
793
|
break;
|
|
908
794
|
case "snk-numbering-config":
|
|
909
795
|
if (!customElements.get(tagName)) {
|
|
910
|
-
defineCustomElement$
|
|
796
|
+
defineCustomElement$c();
|
|
911
797
|
}
|
|
912
798
|
break;
|
|
913
799
|
case "snk-personalized-filter":
|
|
914
800
|
if (!customElements.get(tagName)) {
|
|
915
|
-
defineCustomElement$
|
|
801
|
+
defineCustomElement$b();
|
|
916
802
|
}
|
|
917
803
|
break;
|
|
918
804
|
case "snk-select-box":
|
|
919
805
|
if (!customElements.get(tagName)) {
|
|
920
|
-
defineCustomElement$
|
|
806
|
+
defineCustomElement$a();
|
|
921
807
|
}
|
|
922
808
|
break;
|
|
923
809
|
case "snk-simple-bar":
|
|
924
810
|
if (!customElements.get(tagName)) {
|
|
925
|
-
defineCustomElement$
|
|
811
|
+
defineCustomElement$9();
|
|
926
812
|
}
|
|
927
813
|
break;
|
|
928
814
|
case "snk-simple-crud":
|
|
929
815
|
if (!customElements.get(tagName)) {
|
|
930
|
-
defineCustomElement$
|
|
816
|
+
defineCustomElement$8();
|
|
931
817
|
}
|
|
932
818
|
break;
|
|
933
819
|
case "snk-simple-form-config":
|
|
934
820
|
if (!customElements.get(tagName)) {
|
|
935
|
-
defineCustomElement$
|
|
821
|
+
defineCustomElement$7();
|
|
936
822
|
}
|
|
937
823
|
break;
|
|
938
824
|
case "snk-taskbar":
|
|
825
|
+
if (!customElements.get(tagName)) {
|
|
826
|
+
defineCustomElement$6();
|
|
827
|
+
}
|
|
828
|
+
break;
|
|
829
|
+
case "snk-taskbar-skeleton":
|
|
939
830
|
if (!customElements.get(tagName)) {
|
|
940
831
|
defineCustomElement$5();
|
|
941
832
|
}
|
|
@@ -1008,7 +899,7 @@ class GuideBuilder {
|
|
|
1008
899
|
}
|
|
1009
900
|
}
|
|
1010
901
|
|
|
1011
|
-
const snkDetailViewCss = ".sc-snk-detail-view-h{display:flex;row-gap:24px;flex-direction:column;width:100%;height:100%}.level-path.sc-snk-detail-view{color:var(--color--title-primary, #2B3A54);font-weight:var(--text-weight--medium, 400);padding-right:3px}.form-taskbar.sc-snk-detail-view{padding-bottom:var(--space--medium)}.grid-container.sc-snk-detail-view{background-color:#FFF;min-height:100px;height:100%}.detail-header.sc-snk-detail-view{padding-bottom:0}snk-data-unit.sc-snk-detail-view{flex:1}snk-grid.sc-snk-detail-view{height:calc(100% -
|
|
902
|
+
const snkDetailViewCss = ".sc-snk-detail-view-h{display:flex;row-gap:24px;flex-direction:column;width:100%;height:100%}.level-path.sc-snk-detail-view{color:var(--color--title-primary, #2B3A54);font-weight:var(--text-weight--medium, 400);padding-right:3px}.form-taskbar.sc-snk-detail-view{padding-bottom:var(--space--medium)}.grid-container.sc-snk-detail-view{background-color:#FFF;min-height:100px;height:100%}.detail-header.sc-snk-detail-view{padding-bottom:0}snk-data-unit.sc-snk-detail-view{flex:1}snk-grid.sc-snk-detail-view{height:calc(100% - 56px);--snk-grid__header-padding:var(--space--4, 4px);--snk-grid-padding:var(--space--8, 8px);--snk-grid-box-shadow:unset}";
|
|
1012
903
|
|
|
1013
904
|
const SnkDetailView = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
1014
905
|
constructor() {
|
|
@@ -1195,25 +1086,30 @@ const SnkDetailView = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
1195
1086
|
return [];
|
|
1196
1087
|
}
|
|
1197
1088
|
emitSwitchEvent(mode) {
|
|
1089
|
+
if (mode === VIEW_MODE.GRID) {
|
|
1090
|
+
this.dataUnit.isMultipleEdition = false;
|
|
1091
|
+
}
|
|
1198
1092
|
const guideId = mode === VIEW_MODE.GRID ? this.stripFormPattern(this.branchGuide.id) : this.getFormGuideId();
|
|
1199
1093
|
if (guideId) {
|
|
1200
1094
|
this.snkSwitchGuide.emit(guideId);
|
|
1201
1095
|
}
|
|
1202
1096
|
}
|
|
1203
|
-
handleAttachBack() {
|
|
1204
|
-
this._viewStack.show(VIEW_MODE.GRID);
|
|
1205
|
-
}
|
|
1206
1097
|
executeActionHandler(evt) {
|
|
1207
1098
|
if (evt.detail === TaskbarElement.GRID_MODE) {
|
|
1208
1099
|
this.emitSwitchEvent(VIEW_MODE.GRID);
|
|
1209
1100
|
evt.stopPropagation();
|
|
1210
1101
|
}
|
|
1102
|
+
if (evt.detail === TaskbarElement.UPDATE_MULTIPLE) {
|
|
1103
|
+
this.dataUnit.isMultipleEdition = true;
|
|
1104
|
+
this.emitSwitchEvent(VIEW_MODE.FORM);
|
|
1105
|
+
evt.stopPropagation();
|
|
1106
|
+
}
|
|
1211
1107
|
if (evt.detail === TaskbarElement.FORM_MODE || evt.detail === TaskbarElement.UPDATE) {
|
|
1212
1108
|
this.emitSwitchEvent(VIEW_MODE.FORM);
|
|
1213
1109
|
evt.stopPropagation();
|
|
1214
1110
|
}
|
|
1215
1111
|
if (evt.detail === TaskbarElement.ATTACH) {
|
|
1216
|
-
this.
|
|
1112
|
+
this._snkAttach.open();
|
|
1217
1113
|
evt.stopPropagation();
|
|
1218
1114
|
}
|
|
1219
1115
|
}
|
|
@@ -1252,6 +1148,12 @@ const SnkDetailView = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
1252
1148
|
this.addErrorBadgeToBranchGuide();
|
|
1253
1149
|
}
|
|
1254
1150
|
else if (action.type === Action.DATA_LOADED) {
|
|
1151
|
+
this.handleDataLoaded();
|
|
1152
|
+
}
|
|
1153
|
+
}
|
|
1154
|
+
handleDataLoaded() {
|
|
1155
|
+
var _a;
|
|
1156
|
+
if (!((_a = this.dataUnit) === null || _a === void 0 ? void 0 : _a.getSelectedRecord())) {
|
|
1255
1157
|
this.dataUnit.selectFirst();
|
|
1256
1158
|
}
|
|
1257
1159
|
}
|
|
@@ -1308,7 +1210,7 @@ const SnkDetailView = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
1308
1210
|
render() {
|
|
1309
1211
|
this.updateLabel();
|
|
1310
1212
|
//const cardConfig: IFormCardConfig = this._cardsState?.get(this.selectedForm);
|
|
1311
|
-
return (h(Host, null, h("snk-data-unit", { ref: (el) => this._snkDataUnit = el, dataUnitName: `${this.dataUnitName}`, onDataUnitReady: evt => this.dataUnitReadyHandler(evt), entityName: this.entityName, onDataStateChange: this.handleDataStateChange.bind(this), ignoreSaveMessage: this._currentView === VIEW_MODE.GRID, messagesBuilder: this.messagesBuilder, configName: this._configName }, h("ez-view-stack", { ref: (ref) => this.updateViewStack(ref) }, h("stack-item", null, h("div", { class: "ez-box ez-box--shadow grid-container" }, h("div", { class: "ez-title--primary ez-size-width--full ez-padding--large detail-header" }, h("div", { class: "ez-flex ez-text ez-text--bold ez-flex--justify-start ez-flex--align-items-center" }, this._levelPath ? h("span", { class: "level-path" }, this._levelPath + " /") : undefined, this.label)), h("snk-grid", { class: "ez-size-width--full", ref: (ref) => this._snkGrid = ref, configName: this._configName, messagesBuilder: this.messagesBuilder, onGridDoubleClick: () => this.emitSwitchEvent(VIEW_MODE.FORM), onActionClick: (evt) => this.executeActionHandler(evt), presentationMode: this.presentationMode, canEdit: this.canEdit, isDetail: true, taskbarCustomContainerId: this.taskbarCustomContainerId, gridHeaderCustomSlotId: "DETAIL_GRID_HEADER_CUSTOM_ELEMENTS", topTaskbarCustomSlotId: "DETAIL_GRID_TASKBAR_CUSTOM_ELEMENTS", outlineMode: false, enableGridInsert: true }))), h("stack-item", null, h("snk-form-view", { ref: (ref) => this._snkFormView = ref, canExpand: false, canFix: false, name: this.selectedForm, formMetadata: this._formMetadata, dataUnit: this.dataUnit, fields: this.getFormFields(), fieldToFocus: this._fieldToGetFocus, label: this.label, levelPath: this._levelPath, onFormItemsReady: ({ detail: formItems }) => this.formItemsReady.emit(formItems), onSnkRequestClearFieldToFocus: this.clearFieldToFocusHandler.bind(this), fieldSearch: this._fieldSearch, entityPath: this.entityName }, h("snk-taskbar", { key: "guideViewerTaskbar", class: "form-taskbar", "data-element-id": "guideViewer", configName: this._configName, messagesBuilder: this.messagesBuilder, disabledButtons: this._disabledButtons, buttons: "INSERT,PREVIOUS,NEXT,DIVIDER,CLONE,REMOVE,MORE_OPTIONS,DIVIDER,GRID_MODE,CONFIGURATOR", primaryButton: "INSERT", presentationMode: this.presentationMode, onActionClick: evt => this.executeActionHandler(evt), dataUnit: this.dataUnit, resourceID: this.resourceID, customContainerId: this.taskbarCustomContainerId, customSlotId: "DETAIL_TASKBAR_CUSTOM_ELEMENTS", actionsSettingsList: this.getSettingsListForm() }, h("slot", { name: "DETAIL_TASKBAR_CUSTOM_ELEMENTS" })))), h("
|
|
1213
|
+
return (h(Host, null, h("snk-data-unit", { ref: (el) => this._snkDataUnit = el, dataUnitName: `${this.dataUnitName}`, onDataUnitReady: evt => this.dataUnitReadyHandler(evt), entityName: this.entityName, onDataStateChange: this.handleDataStateChange.bind(this), ignoreSaveMessage: this._currentView === VIEW_MODE.GRID, messagesBuilder: this.messagesBuilder, configName: this._configName }, h("ez-view-stack", { ref: (ref) => this.updateViewStack(ref) }, h("stack-item", null, h("div", { class: "ez-box ez-box--shadow grid-container" }, h("div", { class: "ez-title--primary ez-size-width--full ez-padding--large detail-header" }, h("div", { class: "ez-flex ez-text ez-text--bold ez-flex--justify-start ez-flex--align-items-center" }, this._levelPath ? h("span", { class: "level-path" }, this._levelPath + " /") : undefined, this.label)), h("snk-grid", { class: "ez-size-width--full", ref: (ref) => this._snkGrid = ref, configName: this._configName, messagesBuilder: this.messagesBuilder, onGridDoubleClick: () => this.emitSwitchEvent(VIEW_MODE.FORM), onActionClick: (evt) => this.executeActionHandler(evt), presentationMode: this.presentationMode, canEdit: this.canEdit, isDetail: true, taskbarCustomContainerId: this.taskbarCustomContainerId, gridHeaderCustomSlotId: "DETAIL_GRID_HEADER_CUSTOM_ELEMENTS", topTaskbarCustomSlotId: "DETAIL_GRID_TASKBAR_CUSTOM_ELEMENTS", outlineMode: false, enableGridInsert: true, autoLoad: true, multipleEditionEnabled: true, multipleSelection: true }))), h("stack-item", null, h("snk-form-view", { ref: (ref) => this._snkFormView = ref, canExpand: false, canFix: false, name: this.selectedForm, formMetadata: this._formMetadata, dataUnit: this.dataUnit, fields: this.getFormFields(), fieldToFocus: this._fieldToGetFocus, label: this.label, levelPath: this._levelPath, onFormItemsReady: ({ detail: formItems }) => this.formItemsReady.emit(formItems), onSnkRequestClearFieldToFocus: this.clearFieldToFocusHandler.bind(this), fieldSearch: this._fieldSearch, entityPath: this.entityName }, h("snk-taskbar", { key: "guideViewerTaskbar", class: "form-taskbar", "data-element-id": "guideViewer", configName: this._configName, messagesBuilder: this.messagesBuilder, disabledButtons: this._disabledButtons, buttons: "INSERT,PREVIOUS,NEXT,DIVIDER,CLONE,REMOVE,MORE_OPTIONS,ACTIONS_BUTTON,DIVIDER,GRID_MODE,CONFIGURATOR", primaryButton: "INSERT", presentationMode: this.presentationMode, onActionClick: evt => this.executeActionHandler(evt), dataUnit: this.dataUnit, resourceID: this.resourceID, customContainerId: this.taskbarCustomContainerId, customSlotId: "DETAIL_TASKBAR_CUSTOM_ELEMENTS", actionsSettingsList: this.getSettingsListForm() }, h("slot", { name: "DETAIL_TASKBAR_CUSTOM_ELEMENTS" }))))), h("snk-attach", { ref: (ref) => this._snkAttach = ref, registerKey: this.attachmentRegisterKey, messagesBuilder: this.messagesBuilder, entityName: this.entityName }))));
|
|
1312
1214
|
}
|
|
1313
1215
|
get _element() { return this; }
|
|
1314
1216
|
static get watchers() { return {
|
|
@@ -1351,7 +1253,7 @@ function defineCustomElement() {
|
|
|
1351
1253
|
if (typeof customElements === "undefined") {
|
|
1352
1254
|
return;
|
|
1353
1255
|
}
|
|
1354
|
-
const components = ["snk-detail-view", "snk-actions-button", "snk-attach", "snk-configurator", "snk-data-exporter", "snk-data-unit", "snk-default-filter", "snk-exporter-email-sender", "snk-expression-group", "snk-expression-item", "snk-filter-advanced-mode", "snk-filter-assistent-mode", "snk-filter-bar", "snk-filter-detail", "snk-filter-field-search", "snk-filter-item", "snk-filter-modal", "snk-filter-modal-item", "snk-filter-param-config", "snk-form-summary", "snk-form-view", "snk-grid", "snk-grid-config", "snk-image-input", "snk-layout-form-config", "snk-numbering-config", "snk-personalized-filter", "snk-select-box", "snk-simple-bar", "snk-simple-crud", "snk-simple-form-config", "snk-taskbar", "snk-view-representation", "taskbar-actions-button", "taskbar-split-button"];
|
|
1256
|
+
const components = ["snk-detail-view", "snk-actions-button", "snk-attach", "snk-configurator", "snk-data-exporter", "snk-data-unit", "snk-default-filter", "snk-exporter-email-sender", "snk-expression-group", "snk-expression-item", "snk-filter-advanced-mode", "snk-filter-assistent-mode", "snk-filter-bar", "snk-filter-detail", "snk-filter-field-search", "snk-filter-item", "snk-filter-modal", "snk-filter-modal-item", "snk-filter-param-config", "snk-form-summary", "snk-form-view", "snk-grid", "snk-grid-config", "snk-image-input", "snk-layout-form-config", "snk-numbering-config", "snk-personalized-filter", "snk-select-box", "snk-simple-bar", "snk-simple-crud", "snk-simple-form-config", "snk-taskbar", "snk-taskbar-skeleton", "snk-view-representation", "taskbar-actions-button", "taskbar-split-button"];
|
|
1355
1257
|
components.forEach(tagName => { switch (tagName) {
|
|
1356
1258
|
case "snk-detail-view":
|
|
1357
1259
|
if (!customElements.get(tagName)) {
|
|
@@ -1360,155 +1262,160 @@ function defineCustomElement() {
|
|
|
1360
1262
|
break;
|
|
1361
1263
|
case "snk-actions-button":
|
|
1362
1264
|
if (!customElements.get(tagName)) {
|
|
1363
|
-
defineCustomElement$
|
|
1265
|
+
defineCustomElement$B();
|
|
1364
1266
|
}
|
|
1365
1267
|
break;
|
|
1366
1268
|
case "snk-attach":
|
|
1367
1269
|
if (!customElements.get(tagName)) {
|
|
1368
|
-
defineCustomElement$
|
|
1270
|
+
defineCustomElement$A();
|
|
1369
1271
|
}
|
|
1370
1272
|
break;
|
|
1371
1273
|
case "snk-configurator":
|
|
1372
1274
|
if (!customElements.get(tagName)) {
|
|
1373
|
-
defineCustomElement$
|
|
1275
|
+
defineCustomElement$z();
|
|
1374
1276
|
}
|
|
1375
1277
|
break;
|
|
1376
1278
|
case "snk-data-exporter":
|
|
1377
1279
|
if (!customElements.get(tagName)) {
|
|
1378
|
-
defineCustomElement$
|
|
1280
|
+
defineCustomElement$y();
|
|
1379
1281
|
}
|
|
1380
1282
|
break;
|
|
1381
1283
|
case "snk-data-unit":
|
|
1382
1284
|
if (!customElements.get(tagName)) {
|
|
1383
|
-
defineCustomElement$
|
|
1285
|
+
defineCustomElement$x();
|
|
1384
1286
|
}
|
|
1385
1287
|
break;
|
|
1386
1288
|
case "snk-default-filter":
|
|
1387
1289
|
if (!customElements.get(tagName)) {
|
|
1388
|
-
defineCustomElement$
|
|
1290
|
+
defineCustomElement$w();
|
|
1389
1291
|
}
|
|
1390
1292
|
break;
|
|
1391
1293
|
case "snk-exporter-email-sender":
|
|
1392
1294
|
if (!customElements.get(tagName)) {
|
|
1393
|
-
defineCustomElement$
|
|
1295
|
+
defineCustomElement$v();
|
|
1394
1296
|
}
|
|
1395
1297
|
break;
|
|
1396
1298
|
case "snk-expression-group":
|
|
1397
1299
|
if (!customElements.get(tagName)) {
|
|
1398
|
-
defineCustomElement$
|
|
1300
|
+
defineCustomElement$u();
|
|
1399
1301
|
}
|
|
1400
1302
|
break;
|
|
1401
1303
|
case "snk-expression-item":
|
|
1402
1304
|
if (!customElements.get(tagName)) {
|
|
1403
|
-
defineCustomElement$
|
|
1305
|
+
defineCustomElement$t();
|
|
1404
1306
|
}
|
|
1405
1307
|
break;
|
|
1406
1308
|
case "snk-filter-advanced-mode":
|
|
1407
1309
|
if (!customElements.get(tagName)) {
|
|
1408
|
-
defineCustomElement$
|
|
1310
|
+
defineCustomElement$s();
|
|
1409
1311
|
}
|
|
1410
1312
|
break;
|
|
1411
1313
|
case "snk-filter-assistent-mode":
|
|
1412
1314
|
if (!customElements.get(tagName)) {
|
|
1413
|
-
defineCustomElement$
|
|
1315
|
+
defineCustomElement$r();
|
|
1414
1316
|
}
|
|
1415
1317
|
break;
|
|
1416
1318
|
case "snk-filter-bar":
|
|
1417
1319
|
if (!customElements.get(tagName)) {
|
|
1418
|
-
defineCustomElement$
|
|
1320
|
+
defineCustomElement$q();
|
|
1419
1321
|
}
|
|
1420
1322
|
break;
|
|
1421
1323
|
case "snk-filter-detail":
|
|
1422
1324
|
if (!customElements.get(tagName)) {
|
|
1423
|
-
defineCustomElement$
|
|
1325
|
+
defineCustomElement$p();
|
|
1424
1326
|
}
|
|
1425
1327
|
break;
|
|
1426
1328
|
case "snk-filter-field-search":
|
|
1427
1329
|
if (!customElements.get(tagName)) {
|
|
1428
|
-
defineCustomElement$
|
|
1330
|
+
defineCustomElement$o();
|
|
1429
1331
|
}
|
|
1430
1332
|
break;
|
|
1431
1333
|
case "snk-filter-item":
|
|
1432
1334
|
if (!customElements.get(tagName)) {
|
|
1433
|
-
defineCustomElement$
|
|
1335
|
+
defineCustomElement$n();
|
|
1434
1336
|
}
|
|
1435
1337
|
break;
|
|
1436
1338
|
case "snk-filter-modal":
|
|
1437
1339
|
if (!customElements.get(tagName)) {
|
|
1438
|
-
defineCustomElement$
|
|
1340
|
+
defineCustomElement$m();
|
|
1439
1341
|
}
|
|
1440
1342
|
break;
|
|
1441
1343
|
case "snk-filter-modal-item":
|
|
1442
1344
|
if (!customElements.get(tagName)) {
|
|
1443
|
-
defineCustomElement$
|
|
1345
|
+
defineCustomElement$l();
|
|
1444
1346
|
}
|
|
1445
1347
|
break;
|
|
1446
1348
|
case "snk-filter-param-config":
|
|
1447
1349
|
if (!customElements.get(tagName)) {
|
|
1448
|
-
defineCustomElement$
|
|
1350
|
+
defineCustomElement$k();
|
|
1449
1351
|
}
|
|
1450
1352
|
break;
|
|
1451
1353
|
case "snk-form-summary":
|
|
1452
1354
|
if (!customElements.get(tagName)) {
|
|
1453
|
-
defineCustomElement$
|
|
1355
|
+
defineCustomElement$i();
|
|
1454
1356
|
}
|
|
1455
1357
|
break;
|
|
1456
1358
|
case "snk-form-view":
|
|
1457
1359
|
if (!customElements.get(tagName)) {
|
|
1458
|
-
defineCustomElement$
|
|
1360
|
+
defineCustomElement$h();
|
|
1459
1361
|
}
|
|
1460
1362
|
break;
|
|
1461
1363
|
case "snk-grid":
|
|
1462
1364
|
if (!customElements.get(tagName)) {
|
|
1463
|
-
defineCustomElement$
|
|
1365
|
+
defineCustomElement$g();
|
|
1464
1366
|
}
|
|
1465
1367
|
break;
|
|
1466
1368
|
case "snk-grid-config":
|
|
1467
1369
|
if (!customElements.get(tagName)) {
|
|
1468
|
-
defineCustomElement$
|
|
1370
|
+
defineCustomElement$f();
|
|
1469
1371
|
}
|
|
1470
1372
|
break;
|
|
1471
1373
|
case "snk-image-input":
|
|
1472
1374
|
if (!customElements.get(tagName)) {
|
|
1473
|
-
defineCustomElement$
|
|
1375
|
+
defineCustomElement$e();
|
|
1474
1376
|
}
|
|
1475
1377
|
break;
|
|
1476
1378
|
case "snk-layout-form-config":
|
|
1477
1379
|
if (!customElements.get(tagName)) {
|
|
1478
|
-
defineCustomElement$
|
|
1380
|
+
defineCustomElement$d();
|
|
1479
1381
|
}
|
|
1480
1382
|
break;
|
|
1481
1383
|
case "snk-numbering-config":
|
|
1482
1384
|
if (!customElements.get(tagName)) {
|
|
1483
|
-
defineCustomElement$
|
|
1385
|
+
defineCustomElement$c();
|
|
1484
1386
|
}
|
|
1485
1387
|
break;
|
|
1486
1388
|
case "snk-personalized-filter":
|
|
1487
1389
|
if (!customElements.get(tagName)) {
|
|
1488
|
-
defineCustomElement$
|
|
1390
|
+
defineCustomElement$b();
|
|
1489
1391
|
}
|
|
1490
1392
|
break;
|
|
1491
1393
|
case "snk-select-box":
|
|
1492
1394
|
if (!customElements.get(tagName)) {
|
|
1493
|
-
defineCustomElement$
|
|
1395
|
+
defineCustomElement$a();
|
|
1494
1396
|
}
|
|
1495
1397
|
break;
|
|
1496
1398
|
case "snk-simple-bar":
|
|
1497
1399
|
if (!customElements.get(tagName)) {
|
|
1498
|
-
defineCustomElement$
|
|
1400
|
+
defineCustomElement$9();
|
|
1499
1401
|
}
|
|
1500
1402
|
break;
|
|
1501
1403
|
case "snk-simple-crud":
|
|
1502
1404
|
if (!customElements.get(tagName)) {
|
|
1503
|
-
defineCustomElement$
|
|
1405
|
+
defineCustomElement$8();
|
|
1504
1406
|
}
|
|
1505
1407
|
break;
|
|
1506
1408
|
case "snk-simple-form-config":
|
|
1507
1409
|
if (!customElements.get(tagName)) {
|
|
1508
|
-
defineCustomElement$
|
|
1410
|
+
defineCustomElement$7();
|
|
1509
1411
|
}
|
|
1510
1412
|
break;
|
|
1511
1413
|
case "snk-taskbar":
|
|
1414
|
+
if (!customElements.get(tagName)) {
|
|
1415
|
+
defineCustomElement$6();
|
|
1416
|
+
}
|
|
1417
|
+
break;
|
|
1418
|
+
case "snk-taskbar-skeleton":
|
|
1512
1419
|
if (!customElements.get(tagName)) {
|
|
1513
1420
|
defineCustomElement$5();
|
|
1514
1421
|
}
|