@sankhyalabs/sankhyablocks 10.1.0-dev.36 → 10.1.0-dev.38
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/{ConfigStorage-d9d24844.js → ConfigStorage-a1fab5ca.js} +19 -2
- package/dist/cjs/ContinuousInsertUtils-1ae0c6ac.js +41 -0
- package/dist/cjs/{DataFetcher-3a8ea521.js → DataFetcher-384d2ce8.js} +1 -1
- package/dist/cjs/{ISave-a66bb65e.js → ISave-ecbe9336.js} +1 -1
- package/dist/cjs/{ImageUtils-5e3f406b.js → ImageUtils-c46f2d11.js} +1 -1
- package/dist/cjs/{SnkFormConfigManager-c88cf1e9.js → SnkFormConfigManager-44386305.js} +2 -2
- package/dist/cjs/{SnkMessageBuilder-d9558dba.js → SnkMessageBuilder-a9300ebe.js} +24 -0
- package/dist/cjs/{SnkMultiSelectionListDataSource-f53b60c4.js → SnkMultiSelectionListDataSource-b951ed91.js} +61 -47
- package/dist/cjs/{auth-fetcher-faa61f64.js → auth-fetcher-6b134ec4.js} +1 -1
- package/dist/cjs/{dataunit-fetcher-6febd6c4.js → dataunit-fetcher-93f53260.js} +2 -2
- package/dist/cjs/{form-config-fetcher-72cf0e3d.js → form-config-fetcher-45d1964c.js} +19 -1
- package/dist/cjs/index-1894343a.js +8 -8
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/pesquisa-grid_2.cjs.entry.js +5 -5
- 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} +77 -13
- package/dist/cjs/snk-application.cjs.entry.js +7 -7
- package/dist/cjs/snk-attach.cjs.entry.js +50 -24
- package/dist/cjs/snk-crud.cjs.entry.js +349 -109
- package/dist/cjs/snk-data-exporter.cjs.entry.js +8 -7
- package/dist/cjs/{snk-data-unit-94757628.js → snk-data-unit-6abc5efc.js} +2 -2
- package/dist/cjs/snk-data-unit.cjs.entry.js +4 -4
- package/dist/cjs/snk-detail-view.cjs.entry.js +11 -16
- 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-filter-advanced-mode_2.cjs.entry.js → snk-filter-advanced-mode_3.cjs.entry.js} +39 -1
- package/dist/cjs/snk-filter-bar_4.cjs.entry.js +106 -95
- package/dist/cjs/snk-filter-modal-item.cjs.entry.js +4 -4
- package/dist/cjs/snk-form-view.cjs.entry.js +1 -1
- package/dist/cjs/snk-form_2.cjs.entry.js +5 -5
- package/dist/cjs/snk-grid.cjs.entry.js +40 -16
- package/dist/cjs/{snk-guides-viewer-c1040c2e.js → snk-guides-viewer-b4ca3437.js} +37 -153
- package/dist/cjs/snk-guides-viewer.cjs.entry.js +9 -17
- package/dist/cjs/snk-image-input.cjs.entry.js +2 -2
- package/dist/cjs/snk-layout-form-config.cjs.entry.js +5 -5
- package/dist/cjs/snk-personalized-filter.cjs.entry.js +5 -5
- package/dist/cjs/snk-pesquisa.cjs.entry.js +5 -5
- package/dist/cjs/snk-simple-crud.cjs.entry.js +12 -12
- package/dist/cjs/snk-taskbar.cjs.entry.js +181 -124
- package/dist/cjs/taskbar-elements-80eddec8.js +152 -0
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/snk-actions-button/snk-actions-button.js +27 -3
- package/dist/collection/components/snk-attach/snk-attach.css +29 -7
- package/dist/collection/components/snk-attach/snk-attach.js +81 -18
- package/dist/collection/components/snk-crud/snk-crud.css +46 -0
- package/dist/collection/components/snk-crud/snk-crud.js +148 -94
- package/dist/collection/components/snk-crud/subcomponents/snk-detail-view/snk-detail-view.js +2 -5
- 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-guides-viewer.css +22 -8
- package/dist/collection/components/snk-crud/subcomponents/snk-guides-viewer.js +35 -144
- package/dist/collection/components/snk-crud/utils/taskbarUtils.js +144 -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/snk-data-exporter.js +20 -1
- 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 +23 -1
- 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 +139 -84
- package/dist/collection/components/snk-grid/snk-grid.css +12 -3
- package/dist/collection/components/snk-grid/snk-grid.js +148 -3
- package/dist/collection/components/snk-grid-config/snk-grid-config.js +46 -1
- package/dist/collection/components/snk-image-input/utils/ImageUtils.js +1 -1
- 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/configs/ConfigStorage.js +5 -0
- 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/snk-crud.msg.js +8 -0
- package/dist/collection/lib/message/resources/es-es/snk-crud.msg.js +8 -0
- package/dist/collection/lib/message/resources/pt-br/snk-crud.msg.js +8 -0
- package/dist/components/ConfigStorage.js +17 -0
- package/dist/components/ContinuousInsertUtils.js +1 -1
- package/dist/components/SnkMessageBuilder.js +24 -0
- package/dist/components/form-config-fetcher.js +18 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +2 -0
- package/dist/components/snk-actions-button2.js +6 -3
- package/dist/components/snk-attach2.js +56 -27
- package/dist/components/snk-crud.js +427 -175
- package/dist/components/snk-data-exporter2.js +3 -1
- package/dist/components/snk-detail-view2.js +158 -258
- 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 +94 -85
- package/dist/components/snk-filter-item2.js +4 -2
- package/dist/components/snk-filter-modal2.js +8 -5
- package/dist/components/snk-grid-config2.js +27 -1
- package/dist/components/snk-grid2.js +82 -46
- package/dist/components/snk-image-input2.js +1 -1
- 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/taskbar-actions-button2.js +21 -2
- package/dist/components/taskbar-split-button2.js +10 -1
- package/dist/esm/{ConfigStorage-d15d2014.js → ConfigStorage-76872695.js} +19 -2
- package/dist/esm/ContinuousInsertUtils-bce77dc1.js +39 -0
- package/dist/esm/{DataFetcher-1dd7e8c0.js → DataFetcher-e60f8d53.js} +1 -1
- package/dist/esm/{ISave-498c4831.js → ISave-4929c071.js} +1 -1
- package/dist/esm/{ImageUtils-8fc8d905.js → ImageUtils-7f3a4149.js} +1 -1
- package/dist/esm/{SnkFormConfigManager-86befa68.js → SnkFormConfigManager-83f6b22f.js} +2 -2
- package/dist/esm/{SnkMessageBuilder-c0bc4424.js → SnkMessageBuilder-1eb7a1af.js} +24 -0
- package/dist/esm/{SnkMultiSelectionListDataSource-6e9496f0.js → SnkMultiSelectionListDataSource-7fe25a58.js} +55 -41
- package/dist/esm/{auth-fetcher-69cbda8d.js → auth-fetcher-1a31c1e4.js} +1 -1
- package/dist/esm/{dataunit-fetcher-21c43ec7.js → dataunit-fetcher-050b6d31.js} +2 -2
- package/dist/esm/{form-config-fetcher-fcc7b62f.js → form-config-fetcher-b44b2727.js} +19 -1
- package/dist/esm/index-04f73a26.js +8 -8
- package/dist/esm/loader.js +1 -1
- package/dist/esm/pesquisa-grid_2.entry.js +5 -5
- package/dist/esm/sankhyablocks.js +1 -1
- package/dist/esm/{snk-actions-button_8.entry.js → snk-actions-button_9.entry.js} +78 -15
- package/dist/esm/snk-application.entry.js +7 -7
- package/dist/esm/snk-attach.entry.js +50 -24
- package/dist/esm/snk-crud.entry.js +338 -98
- package/dist/esm/snk-data-exporter.entry.js +8 -7
- package/dist/esm/{snk-data-unit-3b06a0f3.js → snk-data-unit-ca2c9858.js} +2 -2
- package/dist/esm/snk-data-unit.entry.js +4 -4
- package/dist/esm/snk-detail-view.entry.js +11 -16
- 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-filter-advanced-mode_2.entry.js → snk-filter-advanced-mode_3.entry.js} +40 -3
- package/dist/esm/snk-filter-bar_4.entry.js +107 -96
- package/dist/esm/snk-filter-modal-item.entry.js +4 -4
- package/dist/esm/snk-form-view.entry.js +1 -1
- package/dist/esm/snk-form_2.entry.js +5 -5
- package/dist/esm/snk-grid.entry.js +37 -13
- package/dist/esm/{snk-guides-viewer-f1e9d964.js → snk-guides-viewer-cc37535b.js} +38 -154
- package/dist/esm/snk-guides-viewer.entry.js +9 -17
- package/dist/esm/snk-image-input.entry.js +2 -2
- package/dist/esm/snk-layout-form-config.entry.js +5 -5
- package/dist/esm/snk-personalized-filter.entry.js +5 -5
- package/dist/esm/snk-pesquisa.entry.js +5 -5
- package/dist/esm/snk-simple-crud.entry.js +10 -10
- package/dist/esm/snk-taskbar.entry.js +182 -125
- package/dist/esm/taskbar-elements-63651ca7.js +149 -0
- package/dist/sankhyablocks/p-09ba6bd4.js +1 -0
- package/dist/sankhyablocks/p-10f27dc6.entry.js +1 -0
- package/dist/sankhyablocks/{p-4a8d0917.entry.js → p-20af4b6a.entry.js} +1 -1
- package/dist/sankhyablocks/p-225f92cf.entry.js +1 -0
- package/dist/sankhyablocks/{p-88b0797e.entry.js → p-251aee41.entry.js} +1 -1
- package/dist/sankhyablocks/{p-bdf0077f.js → p-2af8aca3.js} +1 -1
- package/dist/sankhyablocks/p-3072136e.js +1 -0
- package/dist/sankhyablocks/p-33492640.entry.js +1 -0
- package/dist/sankhyablocks/{p-17653b22.entry.js → p-35317d9a.entry.js} +1 -1
- package/dist/sankhyablocks/{p-e0a6818c.js → p-3704bf1b.js} +1 -1
- package/dist/sankhyablocks/p-3870748a.js +28 -0
- package/dist/sankhyablocks/{p-9114e869.js → p-3c990841.js} +2 -2
- package/dist/sankhyablocks/{p-4ff3b494.js → p-420b39b5.js} +1 -1
- package/dist/sankhyablocks/{p-8bb4e86b.entry.js → p-46f75667.entry.js} +1 -1
- package/dist/sankhyablocks/{p-32ad76cc.js → p-4f7adf97.js} +2 -2
- package/dist/sankhyablocks/p-554c0e54.js +1 -0
- package/dist/sankhyablocks/p-6ae7543b.entry.js +1 -0
- package/dist/sankhyablocks/p-771b137e.js +1 -0
- package/dist/sankhyablocks/p-77f608bc.entry.js +1 -0
- package/dist/sankhyablocks/p-7c8bf699.entry.js +1 -0
- package/dist/sankhyablocks/{p-d34a41ec.entry.js → p-8a8900a9.entry.js} +1 -1
- package/dist/sankhyablocks/{p-48c580b9.entry.js → p-95af0bb1.entry.js} +1 -1
- package/dist/sankhyablocks/{p-10cad767.entry.js → p-98241c21.entry.js} +1 -1
- package/dist/sankhyablocks/{p-0d15b109.entry.js → p-ab12f544.entry.js} +1 -1
- package/dist/sankhyablocks/{p-7e9f8fa4.js → p-ab5e12fa.js} +1 -1
- package/dist/sankhyablocks/p-ac384a1e.entry.js +1 -0
- package/dist/sankhyablocks/p-ac85f011.entry.js +1 -0
- package/dist/sankhyablocks/{p-ebce5394.entry.js → p-aff2d081.entry.js} +1 -1
- package/dist/sankhyablocks/p-b3b51693.entry.js +1 -0
- package/dist/sankhyablocks/{p-c860552e.entry.js → p-bab4cde4.entry.js} +1 -1
- package/dist/sankhyablocks/p-ce3b284c.entry.js +1 -0
- package/dist/sankhyablocks/p-ce8ccd72.entry.js +1 -0
- package/dist/sankhyablocks/{p-b9970342.js → p-d972a9c1.js} +1 -1
- 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-efd18bc2.entry.js +1 -0
- package/dist/sankhyablocks/{p-362e6e8c.js → p-f185d5ad.js} +1 -1
- 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 +20 -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 +1 -1
- 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/snk-data-exporter.d.ts +4 -0
- package/dist/types/components/snk-filter-bar/filter-item/snk-filter-item.d.ts +4 -0
- package/dist/types/components/snk-filter-bar/snk-filter-bar.d.ts +32 -20
- package/dist/types/components/snk-grid/snk-grid.d.ts +28 -1
- package/dist/types/components/snk-grid-config/snk-grid-config.d.ts +7 -0
- 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 +205 -4
- package/dist/types/lib/configs/ConfigStorage.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 +2 -2
- package/react/components.d.ts +2 -0
- package/react/components.js +2 -0
- package/react/components.js.map +1 -1
- package/dist/cjs/snk-simple-bar.cjs.entry.js +0 -45
- package/dist/cjs/taskbar-elements-a94d4318.js +0 -133
- package/dist/cjs/taskbar-processor-2fba34a8.js +0 -53
- package/dist/esm/snk-simple-bar.entry.js +0 -41
- 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-0bd505e4.entry.js +0 -1
- package/dist/sankhyablocks/p-1a0caadb.js +0 -1
- package/dist/sankhyablocks/p-27d6590e.js +0 -1
- package/dist/sankhyablocks/p-45a830d9.js +0 -1
- package/dist/sankhyablocks/p-4abf2838.entry.js +0 -1
- package/dist/sankhyablocks/p-4cdfa0e4.entry.js +0 -1
- package/dist/sankhyablocks/p-72d62f22.js +0 -1
- package/dist/sankhyablocks/p-73b455e1.entry.js +0 -1
- package/dist/sankhyablocks/p-9c1ff75e.entry.js +0 -1
- package/dist/sankhyablocks/p-a9667c44.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-bd1c1b49.entry.js +0 -1
- package/dist/sankhyablocks/p-c8043a53.entry.js +0 -1
- package/dist/sankhyablocks/p-f02b7963.js +0 -1
- package/dist/sankhyablocks/p-f1bf7248.entry.js +0 -1
- package/dist/sankhyablocks/p-f2472d12.entry.js +0 -1
|
@@ -9,51 +9,253 @@ import './filter-item-type.enum.js';
|
|
|
9
9
|
import './form-config-fetcher.js';
|
|
10
10
|
import { V as VIEW_MODE } from './constants.js';
|
|
11
11
|
import { A as AutorizationType } from './auth-fetcher.js';
|
|
12
|
-
import { S as ServicesNumberingConfig, d as defineCustomElement$
|
|
13
|
-
import { T as TaskbarElement, d as defineCustomElement$
|
|
14
|
-
import { d as defineCustomElement$
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import { d as defineCustomElement$
|
|
18
|
-
import { d as defineCustomElement$
|
|
19
|
-
import { d as defineCustomElement$
|
|
20
|
-
import { d as defineCustomElement$
|
|
21
|
-
import { d as defineCustomElement$
|
|
22
|
-
import { d as defineCustomElement$
|
|
23
|
-
import { d as defineCustomElement$
|
|
24
|
-
import { d as defineCustomElement$
|
|
25
|
-
import { d as defineCustomElement$
|
|
26
|
-
import { d as defineCustomElement$
|
|
27
|
-
import { d as defineCustomElement$
|
|
28
|
-
import { d as defineCustomElement$
|
|
29
|
-
import { d as defineCustomElement$
|
|
30
|
-
import { d as defineCustomElement$
|
|
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$
|
|
12
|
+
import { S as ServicesNumberingConfig, d as defineCustomElement$c } from './snk-numbering-config2.js';
|
|
13
|
+
import { T as TaskbarElement, d as defineCustomElement$6 } from './snk-taskbar2.js';
|
|
14
|
+
import { v as validateFilters, d as defineCustomElement$n } from './snk-filter-modal2.js';
|
|
15
|
+
import { buildFieldSearch } from '@sankhyalabs/ezui/dist/collection/utils';
|
|
16
|
+
import { C as ContinuousInsertUtils } from './ContinuousInsertUtils.js';
|
|
17
|
+
import { d as defineCustomElement$L } from './config-header2.js';
|
|
18
|
+
import { d as defineCustomElement$K } from './configs-button2.js';
|
|
19
|
+
import { d as defineCustomElement$J } from './field-config2.js';
|
|
20
|
+
import { d as defineCustomElement$I } from './field-item2.js';
|
|
21
|
+
import { d as defineCustomElement$H } from './fields-layout2.js';
|
|
22
|
+
import { d as defineCustomElement$G } from './fields-selector2.js';
|
|
23
|
+
import { d as defineCustomElement$F } from './guides-configurator2.js';
|
|
24
|
+
import { d as defineCustomElement$E } from './snk-actions-button2.js';
|
|
25
|
+
import { d as defineCustomElement$D } from './snk-attach2.js';
|
|
26
|
+
import { d as defineCustomElement$C } from './snk-configurator2.js';
|
|
27
|
+
import { d as defineCustomElement$B } from './snk-data-exporter2.js';
|
|
28
|
+
import { d as defineCustomElement$A } from './snk-data-unit2.js';
|
|
29
|
+
import { d as defineCustomElement$z } from './snk-default-filter2.js';
|
|
30
|
+
import { d as defineCustomElement$f, a as defineCustomElement$y } from './snk-detail-view2.js';
|
|
31
|
+
import { d as defineCustomElement$x } from './snk-entity-search2.js';
|
|
32
|
+
import { d as defineCustomElement$w } from './snk-exporter-email-sender2.js';
|
|
33
|
+
import { d as defineCustomElement$v } from './snk-expression-group2.js';
|
|
34
|
+
import { d as defineCustomElement$u } from './snk-expression-item2.js';
|
|
35
|
+
import { d as defineCustomElement$t } from './snk-filter-advanced-mode2.js';
|
|
36
|
+
import { d as defineCustomElement$s } from './snk-filter-assistent-mode2.js';
|
|
37
|
+
import { d as defineCustomElement$r } from './snk-filter-bar2.js';
|
|
38
|
+
import { d as defineCustomElement$q } from './snk-filter-detail2.js';
|
|
39
|
+
import { d as defineCustomElement$p } from './snk-filter-field-search2.js';
|
|
40
|
+
import { d as defineCustomElement$o } from './snk-filter-item2.js';
|
|
41
|
+
import { d as defineCustomElement$m } from './snk-filter-modal-item2.js';
|
|
42
|
+
import { d as defineCustomElement$l } from './snk-filter-param-config2.js';
|
|
43
|
+
import { d as defineCustomElement$k } from './snk-form-config2.js';
|
|
44
|
+
import { d as defineCustomElement$j } from './snk-form-summary2.js';
|
|
45
|
+
import { d as defineCustomElement$i } from './snk-form-view2.js';
|
|
46
|
+
import { d as defineCustomElement$h } from './snk-grid2.js';
|
|
47
|
+
import { d as defineCustomElement$g } from './snk-grid-config2.js';
|
|
48
|
+
import { d as defineCustomElement$e } from './snk-image-input2.js';
|
|
49
|
+
import { d as defineCustomElement$d } from './snk-layout-form-config2.js';
|
|
50
|
+
import { d as defineCustomElement$b } from './snk-personalized-filter2.js';
|
|
51
|
+
import { d as defineCustomElement$a } from './snk-select-box2.js';
|
|
52
|
+
import { d as defineCustomElement$9 } from './snk-simple-bar2.js';
|
|
53
|
+
import { d as defineCustomElement$8 } from './snk-simple-crud2.js';
|
|
54
|
+
import { d as defineCustomElement$7 } from './snk-simple-form-config2.js';
|
|
55
|
+
import { d as defineCustomElement$5 } from './snk-taskbar-skeleton2.js';
|
|
52
56
|
import { d as defineCustomElement$4 } from './snk-view-representation2.js';
|
|
53
57
|
import { d as defineCustomElement$3 } from './taskbar-actions-button2.js';
|
|
54
58
|
import { d as defineCustomElement$2 } from './taskbar-split-button2.js';
|
|
55
59
|
|
|
56
|
-
|
|
60
|
+
class SimpleTaskbarProcessor {
|
|
61
|
+
/**
|
|
62
|
+
* Cria uma nova instância do processador de taskbar.
|
|
63
|
+
* @param defaultButtons - Array com os botões padrão a serem exibidos
|
|
64
|
+
*/
|
|
65
|
+
constructor(defaultButtons) {
|
|
66
|
+
this._defaultButtons = [];
|
|
67
|
+
this._defaultButtons = [...defaultButtons];
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Processa a taskbar aplicando regras de visibilidade e habilitação.
|
|
71
|
+
* @param taskbarID - Identificador único da taskbar
|
|
72
|
+
* @param taskbarManager - Gerenciador de taskbar com regras customizadas
|
|
73
|
+
* @param dataState - Estado atual dos dados
|
|
74
|
+
* @param disabledButtons - Array de botões desabilitados
|
|
75
|
+
* @param invisibleButtons - Array de botões invisíveis
|
|
76
|
+
*/
|
|
77
|
+
process(taskbarID, taskbarManager, dataState, disabledButtons = [], invisibleButtons = []) {
|
|
78
|
+
var _a;
|
|
79
|
+
this.taskbarID = taskbarID;
|
|
80
|
+
this.customButtons = new Map();
|
|
81
|
+
this.buttonsArray = [];
|
|
82
|
+
this.disabledButtons = [...disabledButtons];
|
|
83
|
+
(_a = this.getButtonsArray(taskbarManager, dataState)) === null || _a === void 0 ? void 0 : _a.forEach((btnDef) => {
|
|
84
|
+
let buttonName;
|
|
85
|
+
if (typeof btnDef === "string") {
|
|
86
|
+
buttonName = btnDef;
|
|
87
|
+
}
|
|
88
|
+
else {
|
|
89
|
+
this.customButtons.set(btnDef.name, btnDef);
|
|
90
|
+
buttonName = btnDef.name;
|
|
91
|
+
}
|
|
92
|
+
if (!invisibleButtons.includes(buttonName)) {
|
|
93
|
+
if (!this.isEnabled(taskbarManager, buttonName, dataState, disabledButtons)) {
|
|
94
|
+
this.disabledButtons.push(buttonName);
|
|
95
|
+
}
|
|
96
|
+
this.buttonsArray.push(buttonName);
|
|
97
|
+
}
|
|
98
|
+
});
|
|
99
|
+
this.buttons = this.buttonsArray.join(",");
|
|
100
|
+
}
|
|
101
|
+
getButtonsArray(taskbarManager, dataState) {
|
|
102
|
+
if (taskbarManager) {
|
|
103
|
+
return taskbarManager.getButtons(this.taskbarID, dataState, [...this._defaultButtons]);
|
|
104
|
+
}
|
|
105
|
+
return this._defaultButtons;
|
|
106
|
+
}
|
|
107
|
+
isEnabled(taskbarManager, buttonName, dataState, disabled) {
|
|
108
|
+
const originalValue = !disabled.includes(buttonName);
|
|
109
|
+
if (taskbarManager && taskbarManager.isEnabled) {
|
|
110
|
+
return taskbarManager.isEnabled(this.taskbarID, dataState, buttonName, originalValue);
|
|
111
|
+
}
|
|
112
|
+
return originalValue;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
const DEFAULT_TASKBAR_BUTTONS = [
|
|
117
|
+
TaskbarElement.FORM_MODE,
|
|
118
|
+
TaskbarElement.PREVIOUS,
|
|
119
|
+
TaskbarElement.NEXT,
|
|
120
|
+
TaskbarElement.REFRESH,
|
|
121
|
+
TaskbarElement.SPACER,
|
|
122
|
+
TaskbarElement.ACTIONS_BUTTON,
|
|
123
|
+
TaskbarElement.DATA_EXPORTER,
|
|
124
|
+
TaskbarElement.ATTACH,
|
|
125
|
+
TaskbarElement.CLONE,
|
|
126
|
+
TaskbarElement.UPDATE,
|
|
127
|
+
TaskbarElement.REMOVE,
|
|
128
|
+
TaskbarElement.INSERT,
|
|
129
|
+
TaskbarElement.CONFIGURATOR,
|
|
130
|
+
TaskbarElement.MORE_OPTIONS,
|
|
131
|
+
];
|
|
132
|
+
var CustomTaskbarButton;
|
|
133
|
+
(function (CustomTaskbarButton) {
|
|
134
|
+
CustomTaskbarButton["FILTER"] = "FILTER";
|
|
135
|
+
CustomTaskbarButton["ENTITY_SEARCH"] = "ENTITY_SEARCH";
|
|
136
|
+
})(CustomTaskbarButton || (CustomTaskbarButton = {}));
|
|
137
|
+
/**
|
|
138
|
+
* Insere os botões customizados à esquerda do elemento SPACER na lista de botões.
|
|
139
|
+
* Caso o SPACER não seja encontrado, os botões são inseridos no início da lista.
|
|
140
|
+
*/
|
|
141
|
+
function insertCustomButtonsBeforeSpacer(buttons, customButtons) {
|
|
142
|
+
const spacerIndex = buttons.findIndex(btn => btn === TaskbarElement.SPACER || (typeof btn === 'string' && btn === 'SPACER'));
|
|
143
|
+
if (spacerIndex > -1) {
|
|
144
|
+
return [
|
|
145
|
+
...buttons.slice(0, spacerIndex),
|
|
146
|
+
...customButtons,
|
|
147
|
+
...buttons.slice(spacerIndex),
|
|
148
|
+
];
|
|
149
|
+
}
|
|
150
|
+
return [...customButtons, ...buttons];
|
|
151
|
+
}
|
|
152
|
+
function buildNativeTaskbarManager(currentViewMode, mergeTaskbarManager, messagesBuilder) {
|
|
153
|
+
var _a, _b;
|
|
154
|
+
const CUSTOM_BUTTONS = [
|
|
155
|
+
{
|
|
156
|
+
name: CustomTaskbarButton.FILTER,
|
|
157
|
+
hint: (_a = messagesBuilder === null || messagesBuilder === void 0 ? void 0 : messagesBuilder.getMessage("snkCrud.customButtons.filter")) !== null && _a !== void 0 ? _a : "Abre o painel de filtros",
|
|
158
|
+
iconName: "filter",
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
name: CustomTaskbarButton.ENTITY_SEARCH,
|
|
162
|
+
hint: (_b = messagesBuilder === null || messagesBuilder === void 0 ? void 0 : messagesBuilder.getMessage("snkCrud.customButtons.entitySearch")) !== null && _b !== void 0 ? _b : "Busca na entidade",
|
|
163
|
+
iconName: "search",
|
|
164
|
+
},
|
|
165
|
+
];
|
|
166
|
+
const EDITION_MODE_BUTTONS = [
|
|
167
|
+
TaskbarElement.CANCEL,
|
|
168
|
+
TaskbarElement.SAVE,
|
|
169
|
+
];
|
|
170
|
+
return {
|
|
171
|
+
getButtons: (taskbarID, dataState, defaultButtons) => {
|
|
172
|
+
var _a, _b;
|
|
173
|
+
if (!taskbarID) {
|
|
174
|
+
console.warn('taskbarID não fornecido');
|
|
175
|
+
return [];
|
|
176
|
+
}
|
|
177
|
+
const isInEditionMode = (dataState === null || dataState === void 0 ? void 0 : dataState.insertionMode) || (dataState === null || dataState === void 0 ? void 0 : dataState.isDirty);
|
|
178
|
+
if (isInEditionMode) {
|
|
179
|
+
return EDITION_MODE_BUTTONS;
|
|
180
|
+
}
|
|
181
|
+
if (currentViewMode === VIEW_MODE.FORM) {
|
|
182
|
+
const indexFormMode = defaultButtons.indexOf(TaskbarElement.FORM_MODE);
|
|
183
|
+
if (indexFormMode > -1) {
|
|
184
|
+
defaultButtons = [
|
|
185
|
+
...defaultButtons.slice(0, indexFormMode),
|
|
186
|
+
TaskbarElement.GRID_MODE,
|
|
187
|
+
...defaultButtons.slice(indexFormMode + 1)
|
|
188
|
+
];
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
if (((_b = (_a = dataState === null || dataState === void 0 ? void 0 : dataState.selectionInfo) === null || _a === void 0 ? void 0 : _a.records) === null || _b === void 0 ? void 0 : _b.length) > 1) {
|
|
192
|
+
const indexUpdate = defaultButtons.indexOf(TaskbarElement.UPDATE);
|
|
193
|
+
if (indexUpdate > -1) {
|
|
194
|
+
defaultButtons = [
|
|
195
|
+
...defaultButtons.slice(0, indexUpdate),
|
|
196
|
+
TaskbarElement.UPDATE_MULTIPLE,
|
|
197
|
+
...defaultButtons.slice(indexUpdate + 1)
|
|
198
|
+
];
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
const defaultsWithCustomButtons = insertCustomButtonsBeforeSpacer(defaultButtons, CUSTOM_BUTTONS);
|
|
202
|
+
if (mergeTaskbarManager === null || mergeTaskbarManager === void 0 ? void 0 : mergeTaskbarManager.getButtons) {
|
|
203
|
+
return mergeTaskbarManager.getButtons(taskbarID, dataState, defaultsWithCustomButtons);
|
|
204
|
+
}
|
|
205
|
+
return defaultsWithCustomButtons;
|
|
206
|
+
},
|
|
207
|
+
isEnabled: (_, dataState, buttonName, originalValue) => {
|
|
208
|
+
var _a;
|
|
209
|
+
if (!dataState) {
|
|
210
|
+
return originalValue;
|
|
211
|
+
}
|
|
212
|
+
const hasSelectedRecord = dataState.selectedRecord !== undefined;
|
|
213
|
+
const buttonsRequiringSelection = [
|
|
214
|
+
TaskbarElement.UPDATE,
|
|
215
|
+
TaskbarElement.REMOVE,
|
|
216
|
+
TaskbarElement.ATTACH,
|
|
217
|
+
TaskbarElement.CLONE,
|
|
218
|
+
];
|
|
219
|
+
if (!hasSelectedRecord && buttonsRequiringSelection.includes(buttonName)) {
|
|
220
|
+
return false;
|
|
221
|
+
}
|
|
222
|
+
return (_a = mergeTaskbarManager === null || mergeTaskbarManager === void 0 ? void 0 : mergeTaskbarManager.isEnabled(_, dataState, buttonName, originalValue)) !== null && _a !== void 0 ? _a : originalValue;
|
|
223
|
+
},
|
|
224
|
+
getMoreOptions(taskbarId, configName, dataState, currentActions) {
|
|
225
|
+
var _a;
|
|
226
|
+
return (_a = mergeTaskbarManager === null || mergeTaskbarManager === void 0 ? void 0 : mergeTaskbarManager.getMoreOptions) === null || _a === void 0 ? void 0 : _a.call(mergeTaskbarManager, taskbarId, configName, dataState, currentActions);
|
|
227
|
+
},
|
|
228
|
+
};
|
|
229
|
+
}
|
|
230
|
+
function getHeaderTaskbarId(dataState, presentationMode) {
|
|
231
|
+
var _a;
|
|
232
|
+
const hasSelectedRecord = dataState && !!((_a = dataState.selectionInfo) === null || _a === void 0 ? void 0 : _a.length);
|
|
233
|
+
const taskbarIdPrefixLookup = {
|
|
234
|
+
primary: "snkGridHeaderTaskbar",
|
|
235
|
+
secondary: "snkGridHeaderTaskbar",
|
|
236
|
+
singleTaskbar: "snkGridHeaderTaskbar.singleTaskbar",
|
|
237
|
+
};
|
|
238
|
+
const taskbarIdPrefix = taskbarIdPrefixLookup[presentationMode];
|
|
239
|
+
let headerTaskbarId = hasSelectedRecord ? `${taskbarIdPrefix}.selected` : `${taskbarIdPrefix}.unselected`;
|
|
240
|
+
if ((dataState === null || dataState === void 0 ? void 0 : dataState.isDirty) && presentationMode === PresentationMode.SINGLE_TASKBAR) {
|
|
241
|
+
headerTaskbarId = "snkGridHeaderTaskbar.singleTaskbar.finish_edition";
|
|
242
|
+
}
|
|
243
|
+
return headerTaskbarId;
|
|
244
|
+
}
|
|
245
|
+
function getTopTaskBarId(dataState, presentationMode) {
|
|
246
|
+
const suffixLookup = {
|
|
247
|
+
primary: '',
|
|
248
|
+
secondary: '.secondary',
|
|
249
|
+
singleTaskbar: '.singleTaskbar',
|
|
250
|
+
};
|
|
251
|
+
const sufix = suffixLookup[presentationMode];
|
|
252
|
+
if (dataState === null || dataState === void 0 ? void 0 : dataState.isDirty) {
|
|
253
|
+
return `snkGridTopTaskbar.finish_edition${sufix}`;
|
|
254
|
+
}
|
|
255
|
+
return `snkGridTopTaskbar.regular${sufix}`;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
const snkCrudCss = ".sc-snk-crud-h{display:flex;flex-direction:column;height:100%;width:100%;overflow-y:auto;scrollbar-gutter:stable both-edges}snk-grid.sc-snk-crud{--snk-grid-padding:0 var(--space--6, 6px) var(--space--6, 6px) var(--space--6, 6px)}stack-item.sc-snk-crud.sc-snk-crud{display:grid;min-height:100%}.snk-crud__grid-stack-item.sc-snk-crud{display:flex;flex-direction:column;height:100%;width:100%;padding:0 var(--space--2, 2px)}.snk-crud__header-top.sc-snk-crud{display:flex;justify-content:space-between;align-items:center;padding:var(--space--8, 8px);padding-top:var(--space--12, 12px)}.snk-crud__header-bottom.sc-snk-crud{display:flex;justify-content:space-between;align-items:center;padding:0 var(--space--8, 8px) 0 var(--space--6, 6px)}.snk-crud__header-bottom.sc-snk-crud>snk-taskbar.sc-snk-crud{padding-bottom:var(--space--8, 8px);margin-left:var(--space--12, 12px)}.snk-crud--hidden.sc-snk-crud{display:none !important}ez-record-navigation.sc-snk-crud,ez-grid-pagination.sc-snk-crud{margin-bottom:var(--space--8, 8px)}";
|
|
57
259
|
|
|
58
260
|
const SnkCrud$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
59
261
|
constructor() {
|
|
@@ -69,44 +271,18 @@ const SnkCrud$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
69
271
|
this._viewHistory = [];
|
|
70
272
|
this._customEditors = new Map();
|
|
71
273
|
this._customRenders = new Map();
|
|
72
|
-
this.
|
|
73
|
-
|
|
74
|
-
const value = (_a = argument === null || argument === void 0 ? void 0 : argument.argument) !== null && _a !== void 0 ? _a : '';
|
|
75
|
-
const mode = (argument === null || argument === void 0 ? void 0 : argument.mode) || "PREDICTIVE";
|
|
76
|
-
if (!value || value.trim().length === 0) {
|
|
77
|
-
return [];
|
|
78
|
-
}
|
|
79
|
-
try {
|
|
80
|
-
this._showMoreOnSearch = false;
|
|
81
|
-
const entityName = this._snkDataUnit.entityName;
|
|
82
|
-
if (mode === "PREDICTIVE") {
|
|
83
|
-
return await this.handlePredictiveSearch(value, entityName);
|
|
84
|
-
}
|
|
85
|
-
return await this._application.executePreparedSearch(mode, value, this.buildSearchOptions(entityName));
|
|
86
|
-
}
|
|
87
|
-
catch (error) {
|
|
88
|
-
console.error('Erro ao carregar sugestões de entidades:', error);
|
|
89
|
-
return [];
|
|
90
|
-
}
|
|
91
|
-
};
|
|
92
|
-
this.searchEntitySelect = async (item) => {
|
|
93
|
-
if (!this._entityPKField || !item) {
|
|
94
|
-
return;
|
|
95
|
-
}
|
|
96
|
-
try {
|
|
97
|
-
const pk = [{ name: this._entityPKField, value: item.value }];
|
|
98
|
-
await this.refreshDataUnitByPk(pk);
|
|
99
|
-
}
|
|
100
|
-
catch (error) {
|
|
101
|
-
console.error('Erro ao selecionar entidade:', error);
|
|
102
|
-
}
|
|
103
|
-
};
|
|
274
|
+
this._taskbarProcessor = new SimpleTaskbarProcessor(DEFAULT_TASKBAR_BUTTONS);
|
|
275
|
+
this._taskbarCustomProcessor = new SimpleTaskbarProcessor([]);
|
|
104
276
|
this.dataUnitInterceptor = {
|
|
105
|
-
interceptAction: (action) => {
|
|
106
|
-
|
|
107
|
-
|
|
277
|
+
interceptAction: async (action) => {
|
|
278
|
+
switch (action.type) {
|
|
279
|
+
case Action.DATA_SAVED:
|
|
280
|
+
return this.interceptDataSaved(action);
|
|
281
|
+
case Action.LOADING_DATA:
|
|
282
|
+
return await this.interceptLoadData(action);
|
|
283
|
+
default:
|
|
284
|
+
return action;
|
|
108
285
|
}
|
|
109
|
-
return action;
|
|
110
286
|
},
|
|
111
287
|
};
|
|
112
288
|
this._dataUnit = undefined;
|
|
@@ -117,8 +293,9 @@ const SnkCrud$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
117
293
|
this._resourceID = undefined;
|
|
118
294
|
this.customContainerId = `SNK-CRUD-CUSTOM-CONTAINER-${StringUtils.generateUUID()}`;
|
|
119
295
|
this.numberingConfig = undefined;
|
|
120
|
-
this.
|
|
121
|
-
this.
|
|
296
|
+
this._filterMode = 'regular';
|
|
297
|
+
this._enableContinuousInsert = false;
|
|
298
|
+
this._headerVisible = true;
|
|
122
299
|
this.enableLockManagerLoadingComp = false;
|
|
123
300
|
this.enableLockManagerTaskbarClick = false;
|
|
124
301
|
this.configName = undefined;
|
|
@@ -151,6 +328,9 @@ const SnkCrud$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
151
328
|
this.showEntitySearch = true;
|
|
152
329
|
this.disableNumberingConfig = false;
|
|
153
330
|
}
|
|
331
|
+
handleActionClick(evt) {
|
|
332
|
+
this.executeAction(evt.detail);
|
|
333
|
+
}
|
|
154
334
|
/**
|
|
155
335
|
* Usado para alternar a visão entre GRID e FORM externamente.
|
|
156
336
|
*/
|
|
@@ -248,6 +428,7 @@ const SnkCrud$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
248
428
|
this.setViewMode(VIEW_MODE.FORM);
|
|
249
429
|
}
|
|
250
430
|
async executeAction(act) {
|
|
431
|
+
var _a;
|
|
251
432
|
switch (act) {
|
|
252
433
|
case TaskbarElement.GRID_MODE:
|
|
253
434
|
return this.setViewMode(VIEW_MODE.GRID);
|
|
@@ -260,13 +441,13 @@ const SnkCrud$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
260
441
|
case TaskbarElement.CONFIGURATOR:
|
|
261
442
|
return this._snkConfigurator.open();
|
|
262
443
|
case TaskbarElement.ATTACH:
|
|
263
|
-
return this.
|
|
444
|
+
return this._snkAttach.open();
|
|
445
|
+
case CustomTaskbarButton.FILTER:
|
|
446
|
+
return (_a = this._snkFilterBar) === null || _a === void 0 ? void 0 : _a.showFilterModal();
|
|
447
|
+
case CustomTaskbarButton.ENTITY_SEARCH:
|
|
448
|
+
return this.openSearchPopover();
|
|
264
449
|
}
|
|
265
450
|
}
|
|
266
|
-
backView() {
|
|
267
|
-
const lastView = this._viewHistory.at(-2) || VIEW_MODE.GRID;
|
|
268
|
-
this.setViewMode(lastView);
|
|
269
|
-
}
|
|
270
451
|
setViewMode(viewMode) {
|
|
271
452
|
this._viewStack.show(viewMode);
|
|
272
453
|
this._currentViewMode = viewMode;
|
|
@@ -328,6 +509,16 @@ const SnkCrud$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
328
509
|
this._customEditors.delete(fieldName);
|
|
329
510
|
}
|
|
330
511
|
}
|
|
512
|
+
initializeTaskbarProcessor() {
|
|
513
|
+
const nativeTaskbarManager = buildNativeTaskbarManager(this._currentViewMode, this.taskbarManager, this.messagesBuilder);
|
|
514
|
+
const topTaskbarId = getTopTaskBarId(this._dataState, this.presentationMode);
|
|
515
|
+
this._taskbarProcessor.process(topTaskbarId, nativeTaskbarManager, this._dataState, undefined, []);
|
|
516
|
+
const headerTaskbarId = getHeaderTaskbarId(this._dataState, this.presentationMode);
|
|
517
|
+
this._taskbarCustomProcessor.process(headerTaskbarId, this.taskbarManager, this._dataState, undefined, []);
|
|
518
|
+
}
|
|
519
|
+
componentWillRender() {
|
|
520
|
+
this.initializeTaskbarProcessor();
|
|
521
|
+
}
|
|
331
522
|
componentDidRender() {
|
|
332
523
|
this.setCustomRenders();
|
|
333
524
|
this.setCustomEditors();
|
|
@@ -363,6 +554,7 @@ const SnkCrud$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
363
554
|
if (!this.configName) {
|
|
364
555
|
this.configName = this._application.configName;
|
|
365
556
|
}
|
|
557
|
+
this.initContinuousInsertUtils();
|
|
366
558
|
}
|
|
367
559
|
componentDidLoad() {
|
|
368
560
|
this.initKeyboardManager();
|
|
@@ -444,49 +636,6 @@ const SnkCrud$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
444
636
|
var _a;
|
|
445
637
|
(_a = this._keyboardManager) === null || _a === void 0 ? void 0 : _a.unbindAllShortcutKeys();
|
|
446
638
|
}
|
|
447
|
-
async handlePredictiveSearch(argument, entityName) {
|
|
448
|
-
var _a, _b;
|
|
449
|
-
const response = await this._application.executePreparedSearchWithFullResponse(argument, this.buildSearchOptions(entityName, 5));
|
|
450
|
-
this._showMoreOnSearch = (_a = response === null || response === void 0 ? void 0 : response.hasMore) !== null && _a !== void 0 ? _a : false;
|
|
451
|
-
this._entityPKField = response === null || response === void 0 ? void 0 : response.pkField;
|
|
452
|
-
return (_b = response === null || response === void 0 ? void 0 : response.data) !== null && _b !== void 0 ? _b : [];
|
|
453
|
-
}
|
|
454
|
-
async refreshDataUnitByPk(pks) {
|
|
455
|
-
try {
|
|
456
|
-
const pkField = pks[0].name;
|
|
457
|
-
const pkValue = pks[0].value;
|
|
458
|
-
// Criar filtro para a busca específica
|
|
459
|
-
const quickFilter = {
|
|
460
|
-
term: '',
|
|
461
|
-
filter: {
|
|
462
|
-
name: '',
|
|
463
|
-
params: [],
|
|
464
|
-
expression: `(${pkField} = ${pkValue})`
|
|
465
|
-
}
|
|
466
|
-
};
|
|
467
|
-
// Carregar dados com o filtro aplicado diretamente
|
|
468
|
-
await this._dataUnit.loadData(quickFilter);
|
|
469
|
-
// Navegar para o formulário se houver apenas um registro
|
|
470
|
-
if (this._dataUnit.records.length === 1) {
|
|
471
|
-
this._dataUnit.selectFirst();
|
|
472
|
-
this.gridToForm(true);
|
|
473
|
-
}
|
|
474
|
-
}
|
|
475
|
-
catch (error) {
|
|
476
|
-
console.error('Erro ao atualizar dataset:', error);
|
|
477
|
-
}
|
|
478
|
-
}
|
|
479
|
-
buildSearchOptions(entityName, limit) {
|
|
480
|
-
return {
|
|
481
|
-
entity: entityName,
|
|
482
|
-
entityDescription: entityName,
|
|
483
|
-
executeOnOpen: true,
|
|
484
|
-
searchOptions: {
|
|
485
|
-
localEntityName: entityName,
|
|
486
|
-
limit,
|
|
487
|
-
}
|
|
488
|
-
};
|
|
489
|
-
}
|
|
490
639
|
async toggleView() {
|
|
491
640
|
const currentView = await this._viewStack.getSelectedIndex();
|
|
492
641
|
this.setViewMode(VIEW_MODE.GRID === currentView ? VIEW_MODE.FORM : VIEW_MODE.GRID);
|
|
@@ -530,6 +679,17 @@ const SnkCrud$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
530
679
|
this.updateNumberingConfigAfterInsert(action);
|
|
531
680
|
return action;
|
|
532
681
|
}
|
|
682
|
+
async interceptLoadData(action) {
|
|
683
|
+
var _a;
|
|
684
|
+
const hasInvalidFilters = !validateFilters((_a = this._snkFilterBar) === null || _a === void 0 ? void 0 : _a.filterConfig);
|
|
685
|
+
if (hasInvalidFilters) {
|
|
686
|
+
const errorTitle = this.messagesBuilder.getMessage("snkGrid.requiredFiltersNotFilled.title", {});
|
|
687
|
+
const errorMessage = this.messagesBuilder.getMessage("snkGrid.requiredFiltersNotFilled.message", {});
|
|
688
|
+
await this._application.error(errorTitle, errorMessage);
|
|
689
|
+
return;
|
|
690
|
+
}
|
|
691
|
+
return action;
|
|
692
|
+
}
|
|
533
693
|
onDataUnitReady() {
|
|
534
694
|
var _a;
|
|
535
695
|
(_a = this._dataUnit) === null || _a === void 0 ? void 0 : _a.addInterceptor(this.dataUnitInterceptor);
|
|
@@ -549,6 +709,12 @@ const SnkCrud$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
549
709
|
}
|
|
550
710
|
this.onDataUnitReady();
|
|
551
711
|
}
|
|
712
|
+
initContinuousInsertUtils() {
|
|
713
|
+
this._continuousInsertUtils = new ContinuousInsertUtils(this._application, this._resourceID, this.configName);
|
|
714
|
+
if (this.enableGridInsert) {
|
|
715
|
+
this._continuousInsertUtils.getConfig().then(value => this._enableContinuousInsert = value);
|
|
716
|
+
}
|
|
717
|
+
}
|
|
552
718
|
async loadNumberingConfig() {
|
|
553
719
|
if (this.numberingConfig || !this._snkDataUnit || !this._snkDataUnit.entityName || this.disableNumberingConfig) {
|
|
554
720
|
return;
|
|
@@ -598,18 +764,93 @@ const SnkCrud$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
598
764
|
return;
|
|
599
765
|
return this.customGuidesConfig.map(g => h("slot", { name: g.id }));
|
|
600
766
|
}
|
|
601
|
-
|
|
767
|
+
getColumnSearch(item) {
|
|
768
|
+
if (this._columnSearch != undefined) {
|
|
769
|
+
return this._columnSearch;
|
|
770
|
+
}
|
|
771
|
+
this._columnSearch = buildFieldSearch(item, ({ argument }) => new Promise(accept => {
|
|
772
|
+
this._snkGrid.filterColumns(argument).then((columns) => {
|
|
773
|
+
accept(columns
|
|
774
|
+
.filter(column => !column.hidden)
|
|
775
|
+
.map(column => ({ label: column.label, value: column.name })));
|
|
776
|
+
});
|
|
777
|
+
}), (option) => {
|
|
778
|
+
if (option != undefined) {
|
|
779
|
+
this._snkGrid.locateColumn(option.value);
|
|
780
|
+
}
|
|
781
|
+
});
|
|
782
|
+
return this._columnSearch;
|
|
783
|
+
}
|
|
784
|
+
buildTaskbarCustomActionsList() {
|
|
785
|
+
return [this.buildSearchColumnTaskbarAction()];
|
|
786
|
+
}
|
|
787
|
+
buildSearchColumnTaskbarAction() {
|
|
788
|
+
return {
|
|
789
|
+
value: StringUtils.generateUUID(),
|
|
790
|
+
label: this.messagesBuilder.getMessage('snkGrid.findColumn', {}),
|
|
791
|
+
disableCloseOnSelect: true,
|
|
792
|
+
eagerInitialize: true,
|
|
793
|
+
itemBuilder: (_, item) => this.getColumnSearch(item),
|
|
794
|
+
};
|
|
795
|
+
}
|
|
796
|
+
isGridInsertActive() {
|
|
797
|
+
return this.enableGridInsert && this._dataUnit.hasNewRecord();
|
|
798
|
+
}
|
|
799
|
+
getActionsList() {
|
|
800
|
+
const hardList = [];
|
|
801
|
+
if (this.enableGridInsert) {
|
|
802
|
+
hardList.push(this._continuousInsertUtils.actionContinuousInsert(this._enableContinuousInsert, () => {
|
|
803
|
+
this._enableContinuousInsert = !this._enableContinuousInsert;
|
|
804
|
+
this._continuousInsertUtils.handleSaveConfig(this._enableContinuousInsert);
|
|
805
|
+
}));
|
|
806
|
+
}
|
|
807
|
+
if (this.isGridInsertActive())
|
|
808
|
+
return hardList;
|
|
809
|
+
if (this.taskbarManager != undefined && this.taskbarManager.getMoreOptions != undefined) {
|
|
810
|
+
const taskbarID = getTopTaskBarId(this._dataState, this.presentationMode);
|
|
811
|
+
return hardList.concat(this.taskbarManager.getMoreOptions(taskbarID, this.configName, this._dataState, this.actionsList));
|
|
812
|
+
}
|
|
813
|
+
return hardList.concat(this.actionsList);
|
|
814
|
+
}
|
|
815
|
+
async openSearchPopover() {
|
|
816
|
+
if (!this._popoverSearchEntity) {
|
|
817
|
+
return;
|
|
818
|
+
}
|
|
819
|
+
const buttonElement = this._element.querySelector(`[data-taskbar-element="${CustomTaskbarButton.ENTITY_SEARCH}"]`);
|
|
820
|
+
await this._popoverSearchEntity.showUnder(buttonElement);
|
|
821
|
+
}
|
|
822
|
+
handleLoadedSearch(evt) {
|
|
823
|
+
if (evt.detail.length === 1) {
|
|
824
|
+
this._dataUnit.selectFirst();
|
|
825
|
+
this.gridToForm(true);
|
|
826
|
+
}
|
|
827
|
+
}
|
|
828
|
+
renderDynamicSearch() {
|
|
602
829
|
var _a;
|
|
603
|
-
if (!this.showEntitySearch
|
|
830
|
+
if (!this.showEntitySearch)
|
|
604
831
|
return;
|
|
605
|
-
return (h("
|
|
832
|
+
return (h("snk-entity-search", { ref: (ref) => this._popoverSearchEntity = ref, dataUnit: this._dataUnit, entityName: (_a = this._snkDataUnit) === null || _a === void 0 ? void 0 : _a.entityName, messagesBuilder: this.messagesBuilder, onLoaded: (evt) => this.handleLoadedSearch(evt) }));
|
|
833
|
+
}
|
|
834
|
+
handleFilterConfigUpdated(filterConfig) {
|
|
835
|
+
if (!filterConfig.length) {
|
|
836
|
+
return;
|
|
837
|
+
}
|
|
838
|
+
if (filterConfig.length === 1 && filterConfig[0].id === 'PERSONALIZED_FILTER_GROUP') {
|
|
839
|
+
this._filterMode = filterConfig[0].groupedItems.length > 0 ? 'regular' : 'button';
|
|
840
|
+
return;
|
|
841
|
+
}
|
|
606
842
|
}
|
|
607
843
|
render() {
|
|
844
|
+
var _a;
|
|
608
845
|
if (this._resourceID == undefined) {
|
|
609
846
|
return;
|
|
610
847
|
}
|
|
611
848
|
this._snkDataUnit.ignoreSaveMessage = (this._currentViewMode === VIEW_MODE.GRID && !this.enableGridInsert);
|
|
612
|
-
return (h(Host, null, h("
|
|
849
|
+
return (h(Host, null, h("header", { class: { 'snk-crud--hidden': !this._headerVisible } }, h("div", { class: "snk-crud__header-top" }, h("snk-taskbar", { "data-element-id": "grid_top", key: "snkGridTopTaskbar", configName: this.configName, dataUnit: this._dataUnit, messagesBuilder: this.messagesBuilder, buttons: this._taskbarProcessor.buttons, disabledButtons: this._taskbarProcessor.disabledButtons, customButtons: this._taskbarProcessor.customButtons, resourceID: this._resourceID, primaryButton: "INSERT", overflowStrategy: "hiddenItems", alignRigth: true, actionsList: this.getActionsList(), customActionsList: this.buildTaskbarCustomActionsList(), sizeButtons: 'medium' })), h("snk-filter-bar", { ref: (ref) => this._snkFilterBar = ref, title: this.filterBarTitle, dataUnit: this._dataUnit, "data-element-id": "gridFilter", class: "snk-grid__filter-bar ez-align--top", configName: this.configName, messagesBuilder: this.messagesBuilder, resourceID: this._resourceID, onConfigUpdated: evt => this.handleFilterConfigUpdated(evt.detail), disablePersonalizedFilter: this.disablePersonalizedFilter, filterBarLegacyConfigName: this.filterBarLegacyConfigName, autoLoad: this.autoLoad, enableLockManagerLoadingComp: this.enableLockManagerLoadingComp, mode: this._filterMode, hideFilterButton: true, sizeChips: 'default' }), h("div", { class: "snk-crud__header-bottom" }, h("ez-record-navigation", { dataUnit: this._dataUnit, primaryKeys: this._dataUnit.metadata.fields.filter(field => field.properties['isPrimaryKey']).map(field => field.name), textPosition: 'left', disabled: (_a = this._dataState) === null || _a === void 0 ? void 0 : _a.isDirty, class: {
|
|
850
|
+
"snk-crud--hidden": this._currentViewMode === VIEW_MODE.GRID
|
|
851
|
+
} }))), h("ez-view-stack", { ref: (ref) => this._viewStack = ref, "data-element-id": "crud" }, h("ez-grid-pagination", { dataUnit: this._dataUnit, paginationCounterMode: this.paginationCounterMode, onPageChange: () => this._snkGrid.handlePageChange(), paginationTextPosition: "left", buttonsSize: "medium", class: {
|
|
852
|
+
"snk-crud--hidden": this._currentViewMode !== VIEW_MODE.GRID
|
|
853
|
+
} }), h("stack-item", { class: 'snk-crud__grid-stack-item' }, h("snk-grid", { ref: (ref) => this._snkGrid = ref, class: 'ez-flex ez-flex--column ez-size-height--full ez-size-width--full', filterBarTitle: this.filterBarTitle, "data-element-id": "crud_grid", configName: this.configName, onGridDoubleClick: () => this.gridToForm(true), taskbarManager: this.taskbarManager, onActionClick: evt => this.executeAction(evt.detail), messagesBuilder: this.messagesBuilder, actionsList: this.actionsList, statusResolver: this.statusResolver, multipleSelection: this.multipleSelection, presentationMode: this.presentationMode, recordsValidator: this.recordsValidator, selectionToastConfig: this.selectionToastConfig, useEnterLikeTab: this.useEnterLikeTab, canEdit: this._canEdit, resourceID: this._resourceID, disablePersonalizedFilter: this.disablePersonalizedFilter, gridLegacyConfigName: this.gridLegacyConfigName, filterBarLegacyConfigName: this.filterBarLegacyConfigName, autoLoad: this.autoLoad, autoFocus: this.autoFocus, enableGridInsert: this.enableGridInsert, enableLockManagerTaskbarClick: this.enableLockManagerTaskbarClick, enableLockManagerLoadingComp: this.enableLockManagerLoadingComp, strategyExporter: this.strategyExporter, multipleEditionEnabled: this.multipleEditionEnabled, paginationCounterMode: this.paginationCounterMode, hideHeader: true, hideGridTaskbar: true }, h("slot", { name: "GRID_TASKBAR_CUSTOM_ELEMENTS" }), h("slot", { name: "GRID_HEADER_CUSTOM_ELEMENTS" }), h("slot", { name: "SnkGridHeader" }), h("slot", { name: "SnkGridFooter" }), h("slot", { name: "SnkGridTaskBar" }))), h("stack-item", null, h("snk-guides-viewer", { ref: ref => this._guidesViewer = ref, customGuidesConfig: this.customGuidesConfig, entityPath: this._snkDataUnit.entityName, messagesBuilder: this.messagesBuilder, onExit: () => this.setViewMode(VIEW_MODE.GRID), dataState: this._dataState, dataUnit: this._dataUnit, actionsList: this.actionsList, taskbarManager: this.taskbarManager, configName: this.configName, onActionClick: evt => this.executeAction(evt.detail), presentationMode: this.presentationMode, "data-element-id": "crud_form", canEdit: this._canEdit, recordsValidator: this.recordsValidator, resourceID: this._resourceID, detailTaskbarCustomContainerId: this.customContainerId, formLegacyConfigName: this.formLegacyConfigName, enableGridInsert: this.enableGridInsert, getCustomTitle: this.setCustomFormTitle, ignoreReadOnlyFormFields: this.ignoreReadOnlyFormFields, onFormConfigVisibilityChanged: evt => this._headerVisible = !evt.detail }, h("slot", { name: "GUIDES_VIEWER_TASKBAR_CUSTOM_ELEMENTS" }), this.renderCustomGuideSlots(), h("slot", { name: "SnkFormTaskBar" })))), h("snk-attach", { ref: (ref) => this._snkAttach = ref, registerKey: this.attachmentRegisterKey, messagesBuilder: this.messagesBuilder, entityName: this._snkDataUnit.entityName }), h("snk-configurator", { ref: (ref) => this._snkConfigurator = ref, entityName: this._snkDataUnit.entityName, viewMode: this._currentViewMode, messagesBuilder: this.messagesBuilder, onConfigSelected: (evt) => this.setViewMode(evt.detail), onOpenConfig: (evt) => this.openConfig(evt.detail), showActionButtons: this.showActionButtons, onSave: evt => this.handleConfiguratorEvent(evt, 'SAVE'), onCancel: evt => this.handleConfiguratorEvent(evt, 'CANCEL'), resourceID: this._resourceID, customContainerId: this.customContainerId, layoutFormConfig: this.layoutFormConfig }), this.renderDynamicSearch(), h("div", { id: `${this.customContainerId}` }, h("slot", { name: "SnkConfigContainerSlot" }), h("slot", { name: "DETAIL_GRID_HEADER_CUSTOM_ELEMENTS" }), h("slot", { name: "DETAIL_GRID_TASKBAR_CUSTOM_ELEMENTS" }), h("slot", { name: "DETAIL_TASKBAR_CUSTOM_ELEMENTS" }))));
|
|
613
854
|
}
|
|
614
855
|
get _element() { return this; }
|
|
615
856
|
static get watchers() { return {
|
|
@@ -656,8 +897,9 @@ const SnkCrud$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
656
897
|
"_resourceID": [32],
|
|
657
898
|
"customContainerId": [32],
|
|
658
899
|
"numberingConfig": [32],
|
|
659
|
-
"
|
|
660
|
-
"
|
|
900
|
+
"_filterMode": [32],
|
|
901
|
+
"_enableContinuousInsert": [32],
|
|
902
|
+
"_headerVisible": [32],
|
|
661
903
|
"goToView": [64],
|
|
662
904
|
"openConfigurator": [64],
|
|
663
905
|
"closeConfigurator": [64],
|
|
@@ -670,12 +912,12 @@ const SnkCrud$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
670
912
|
"setFieldProp": [64],
|
|
671
913
|
"getNumberingConfig": [64],
|
|
672
914
|
"updateNumberingConfig": [64]
|
|
673
|
-
}]);
|
|
915
|
+
}, [[0, "actionClick", "handleActionClick"]]]);
|
|
674
916
|
function defineCustomElement$1() {
|
|
675
917
|
if (typeof customElements === "undefined") {
|
|
676
918
|
return;
|
|
677
919
|
}
|
|
678
|
-
const components = ["snk-crud", "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-guides-viewer", "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"];
|
|
920
|
+
const components = ["snk-crud", "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-entity-search", "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-guides-viewer", "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"];
|
|
679
921
|
components.forEach(tagName => { switch (tagName) {
|
|
680
922
|
case "snk-crud":
|
|
681
923
|
if (!customElements.get(tagName)) {
|
|
@@ -684,205 +926,215 @@ function defineCustomElement$1() {
|
|
|
684
926
|
break;
|
|
685
927
|
case "config-header":
|
|
686
928
|
if (!customElements.get(tagName)) {
|
|
687
|
-
defineCustomElement$
|
|
929
|
+
defineCustomElement$L();
|
|
688
930
|
}
|
|
689
931
|
break;
|
|
690
932
|
case "configs-button":
|
|
691
933
|
if (!customElements.get(tagName)) {
|
|
692
|
-
defineCustomElement$
|
|
934
|
+
defineCustomElement$K();
|
|
693
935
|
}
|
|
694
936
|
break;
|
|
695
937
|
case "field-config":
|
|
696
938
|
if (!customElements.get(tagName)) {
|
|
697
|
-
defineCustomElement$
|
|
939
|
+
defineCustomElement$J();
|
|
698
940
|
}
|
|
699
941
|
break;
|
|
700
942
|
case "field-item":
|
|
701
943
|
if (!customElements.get(tagName)) {
|
|
702
|
-
defineCustomElement$
|
|
944
|
+
defineCustomElement$I();
|
|
703
945
|
}
|
|
704
946
|
break;
|
|
705
947
|
case "fields-layout":
|
|
706
948
|
if (!customElements.get(tagName)) {
|
|
707
|
-
defineCustomElement$
|
|
949
|
+
defineCustomElement$H();
|
|
708
950
|
}
|
|
709
951
|
break;
|
|
710
952
|
case "fields-selector":
|
|
711
953
|
if (!customElements.get(tagName)) {
|
|
712
|
-
defineCustomElement$
|
|
954
|
+
defineCustomElement$G();
|
|
713
955
|
}
|
|
714
956
|
break;
|
|
715
957
|
case "guides-configurator":
|
|
716
958
|
if (!customElements.get(tagName)) {
|
|
717
|
-
defineCustomElement$
|
|
959
|
+
defineCustomElement$F();
|
|
718
960
|
}
|
|
719
961
|
break;
|
|
720
962
|
case "snk-actions-button":
|
|
721
963
|
if (!customElements.get(tagName)) {
|
|
722
|
-
defineCustomElement$
|
|
964
|
+
defineCustomElement$E();
|
|
723
965
|
}
|
|
724
966
|
break;
|
|
725
967
|
case "snk-attach":
|
|
726
968
|
if (!customElements.get(tagName)) {
|
|
727
|
-
defineCustomElement$
|
|
969
|
+
defineCustomElement$D();
|
|
728
970
|
}
|
|
729
971
|
break;
|
|
730
972
|
case "snk-configurator":
|
|
731
973
|
if (!customElements.get(tagName)) {
|
|
732
|
-
defineCustomElement$
|
|
974
|
+
defineCustomElement$C();
|
|
733
975
|
}
|
|
734
976
|
break;
|
|
735
977
|
case "snk-data-exporter":
|
|
736
978
|
if (!customElements.get(tagName)) {
|
|
737
|
-
defineCustomElement$
|
|
979
|
+
defineCustomElement$B();
|
|
738
980
|
}
|
|
739
981
|
break;
|
|
740
982
|
case "snk-data-unit":
|
|
741
983
|
if (!customElements.get(tagName)) {
|
|
742
|
-
defineCustomElement$
|
|
984
|
+
defineCustomElement$A();
|
|
743
985
|
}
|
|
744
986
|
break;
|
|
745
987
|
case "snk-default-filter":
|
|
746
988
|
if (!customElements.get(tagName)) {
|
|
747
|
-
defineCustomElement$
|
|
989
|
+
defineCustomElement$z();
|
|
748
990
|
}
|
|
749
991
|
break;
|
|
750
992
|
case "snk-detail-view":
|
|
751
993
|
if (!customElements.get(tagName)) {
|
|
752
|
-
defineCustomElement$
|
|
994
|
+
defineCustomElement$y();
|
|
995
|
+
}
|
|
996
|
+
break;
|
|
997
|
+
case "snk-entity-search":
|
|
998
|
+
if (!customElements.get(tagName)) {
|
|
999
|
+
defineCustomElement$x();
|
|
753
1000
|
}
|
|
754
1001
|
break;
|
|
755
1002
|
case "snk-exporter-email-sender":
|
|
756
1003
|
if (!customElements.get(tagName)) {
|
|
757
|
-
defineCustomElement$
|
|
1004
|
+
defineCustomElement$w();
|
|
758
1005
|
}
|
|
759
1006
|
break;
|
|
760
1007
|
case "snk-expression-group":
|
|
761
1008
|
if (!customElements.get(tagName)) {
|
|
762
|
-
defineCustomElement$
|
|
1009
|
+
defineCustomElement$v();
|
|
763
1010
|
}
|
|
764
1011
|
break;
|
|
765
1012
|
case "snk-expression-item":
|
|
766
1013
|
if (!customElements.get(tagName)) {
|
|
767
|
-
defineCustomElement$
|
|
1014
|
+
defineCustomElement$u();
|
|
768
1015
|
}
|
|
769
1016
|
break;
|
|
770
1017
|
case "snk-filter-advanced-mode":
|
|
771
1018
|
if (!customElements.get(tagName)) {
|
|
772
|
-
defineCustomElement$
|
|
1019
|
+
defineCustomElement$t();
|
|
773
1020
|
}
|
|
774
1021
|
break;
|
|
775
1022
|
case "snk-filter-assistent-mode":
|
|
776
1023
|
if (!customElements.get(tagName)) {
|
|
777
|
-
defineCustomElement$
|
|
1024
|
+
defineCustomElement$s();
|
|
778
1025
|
}
|
|
779
1026
|
break;
|
|
780
1027
|
case "snk-filter-bar":
|
|
781
1028
|
if (!customElements.get(tagName)) {
|
|
782
|
-
defineCustomElement$
|
|
1029
|
+
defineCustomElement$r();
|
|
783
1030
|
}
|
|
784
1031
|
break;
|
|
785
1032
|
case "snk-filter-detail":
|
|
786
1033
|
if (!customElements.get(tagName)) {
|
|
787
|
-
defineCustomElement$
|
|
1034
|
+
defineCustomElement$q();
|
|
788
1035
|
}
|
|
789
1036
|
break;
|
|
790
1037
|
case "snk-filter-field-search":
|
|
791
1038
|
if (!customElements.get(tagName)) {
|
|
792
|
-
defineCustomElement$
|
|
1039
|
+
defineCustomElement$p();
|
|
793
1040
|
}
|
|
794
1041
|
break;
|
|
795
1042
|
case "snk-filter-item":
|
|
796
1043
|
if (!customElements.get(tagName)) {
|
|
797
|
-
defineCustomElement$
|
|
1044
|
+
defineCustomElement$o();
|
|
798
1045
|
}
|
|
799
1046
|
break;
|
|
800
1047
|
case "snk-filter-modal":
|
|
801
1048
|
if (!customElements.get(tagName)) {
|
|
802
|
-
defineCustomElement$
|
|
1049
|
+
defineCustomElement$n();
|
|
803
1050
|
}
|
|
804
1051
|
break;
|
|
805
1052
|
case "snk-filter-modal-item":
|
|
806
1053
|
if (!customElements.get(tagName)) {
|
|
807
|
-
defineCustomElement$
|
|
1054
|
+
defineCustomElement$m();
|
|
808
1055
|
}
|
|
809
1056
|
break;
|
|
810
1057
|
case "snk-filter-param-config":
|
|
811
1058
|
if (!customElements.get(tagName)) {
|
|
812
|
-
defineCustomElement$
|
|
1059
|
+
defineCustomElement$l();
|
|
813
1060
|
}
|
|
814
1061
|
break;
|
|
815
1062
|
case "snk-form-config":
|
|
816
1063
|
if (!customElements.get(tagName)) {
|
|
817
|
-
defineCustomElement$
|
|
1064
|
+
defineCustomElement$k();
|
|
818
1065
|
}
|
|
819
1066
|
break;
|
|
820
1067
|
case "snk-form-summary":
|
|
821
1068
|
if (!customElements.get(tagName)) {
|
|
822
|
-
defineCustomElement$
|
|
1069
|
+
defineCustomElement$j();
|
|
823
1070
|
}
|
|
824
1071
|
break;
|
|
825
1072
|
case "snk-form-view":
|
|
826
1073
|
if (!customElements.get(tagName)) {
|
|
827
|
-
defineCustomElement$
|
|
1074
|
+
defineCustomElement$i();
|
|
828
1075
|
}
|
|
829
1076
|
break;
|
|
830
1077
|
case "snk-grid":
|
|
831
1078
|
if (!customElements.get(tagName)) {
|
|
832
|
-
defineCustomElement$
|
|
1079
|
+
defineCustomElement$h();
|
|
833
1080
|
}
|
|
834
1081
|
break;
|
|
835
1082
|
case "snk-grid-config":
|
|
836
1083
|
if (!customElements.get(tagName)) {
|
|
837
|
-
defineCustomElement$
|
|
1084
|
+
defineCustomElement$g();
|
|
838
1085
|
}
|
|
839
1086
|
break;
|
|
840
1087
|
case "snk-guides-viewer":
|
|
841
1088
|
if (!customElements.get(tagName)) {
|
|
842
|
-
defineCustomElement$
|
|
1089
|
+
defineCustomElement$f();
|
|
843
1090
|
}
|
|
844
1091
|
break;
|
|
845
1092
|
case "snk-image-input":
|
|
846
1093
|
if (!customElements.get(tagName)) {
|
|
847
|
-
defineCustomElement$
|
|
1094
|
+
defineCustomElement$e();
|
|
848
1095
|
}
|
|
849
1096
|
break;
|
|
850
1097
|
case "snk-layout-form-config":
|
|
851
1098
|
if (!customElements.get(tagName)) {
|
|
852
|
-
defineCustomElement$
|
|
1099
|
+
defineCustomElement$d();
|
|
853
1100
|
}
|
|
854
1101
|
break;
|
|
855
1102
|
case "snk-numbering-config":
|
|
856
1103
|
if (!customElements.get(tagName)) {
|
|
857
|
-
defineCustomElement$
|
|
1104
|
+
defineCustomElement$c();
|
|
858
1105
|
}
|
|
859
1106
|
break;
|
|
860
1107
|
case "snk-personalized-filter":
|
|
861
1108
|
if (!customElements.get(tagName)) {
|
|
862
|
-
defineCustomElement$
|
|
1109
|
+
defineCustomElement$b();
|
|
863
1110
|
}
|
|
864
1111
|
break;
|
|
865
1112
|
case "snk-select-box":
|
|
866
1113
|
if (!customElements.get(tagName)) {
|
|
867
|
-
defineCustomElement$
|
|
1114
|
+
defineCustomElement$a();
|
|
868
1115
|
}
|
|
869
1116
|
break;
|
|
870
1117
|
case "snk-simple-bar":
|
|
871
1118
|
if (!customElements.get(tagName)) {
|
|
872
|
-
defineCustomElement$
|
|
1119
|
+
defineCustomElement$9();
|
|
873
1120
|
}
|
|
874
1121
|
break;
|
|
875
1122
|
case "snk-simple-crud":
|
|
876
1123
|
if (!customElements.get(tagName)) {
|
|
877
|
-
defineCustomElement$
|
|
1124
|
+
defineCustomElement$8();
|
|
878
1125
|
}
|
|
879
1126
|
break;
|
|
880
1127
|
case "snk-simple-form-config":
|
|
881
1128
|
if (!customElements.get(tagName)) {
|
|
882
|
-
defineCustomElement$
|
|
1129
|
+
defineCustomElement$7();
|
|
883
1130
|
}
|
|
884
1131
|
break;
|
|
885
1132
|
case "snk-taskbar":
|
|
1133
|
+
if (!customElements.get(tagName)) {
|
|
1134
|
+
defineCustomElement$6();
|
|
1135
|
+
}
|
|
1136
|
+
break;
|
|
1137
|
+
case "snk-taskbar-skeleton":
|
|
886
1138
|
if (!customElements.get(tagName)) {
|
|
887
1139
|
defineCustomElement$5();
|
|
888
1140
|
}
|