@sankhyalabs/sankhyablocks 10.1.0-dev.37 → 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-e384fb7b.js → ConfigStorage-a1fab5ca.js} +2 -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-73df0f8b.js → SnkFormConfigManager-44386305.js} +2 -2
- package/dist/cjs/{SnkMessageBuilder-d9558dba.js → SnkMessageBuilder-a9300ebe.js} +24 -0
- package/dist/cjs/{SnkMultiSelectionListDataSource-016393f3.js → SnkMultiSelectionListDataSource-b951ed91.js} +61 -47
- package/dist/cjs/{auth-fetcher-80e608b0.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-81cbd405.js → form-config-fetcher-45d1964c.js} +1 -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} +52 -12
- 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 -17
- package/dist/cjs/{snk-guides-viewer-688c4398.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 -4
- 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/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/ContinuousInsertUtils.js +1 -1
- package/dist/components/SnkMessageBuilder.js +24 -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-grid2.js +82 -47
- 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-82ff76fb.js → ConfigStorage-76872695.js} +2 -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-e8ae1561.js → SnkFormConfigManager-83f6b22f.js} +2 -2
- package/dist/esm/{SnkMessageBuilder-c0bc4424.js → SnkMessageBuilder-1eb7a1af.js} +24 -0
- package/dist/esm/{SnkMultiSelectionListDataSource-ec783ded.js → SnkMultiSelectionListDataSource-7fe25a58.js} +55 -41
- package/dist/esm/{auth-fetcher-38a83f5e.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-24eb587c.js → form-config-fetcher-b44b2727.js} +1 -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} +52 -13
- 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 -14
- package/dist/esm/{snk-guides-viewer-6ddc7e6a.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-54f5c36d.entry.js → p-20af4b6a.entry.js} +1 -1
- package/dist/sankhyablocks/p-225f92cf.entry.js +1 -0
- package/dist/sankhyablocks/{p-605a2a99.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-f208ec52.entry.js → p-35317d9a.entry.js} +1 -1
- package/dist/sankhyablocks/{p-6753f16e.js → p-3704bf1b.js} +1 -1
- package/dist/sankhyablocks/{p-2d606189.js → p-3870748a.js} +1 -1
- package/dist/sankhyablocks/{p-e057ecb6.js → p-3c990841.js} +1 -1
- 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-e484913b.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-f5b929c2.entry.js → p-ab12f544.entry.js} +1 -1
- package/dist/sankhyablocks/{p-ef8cf0e2.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-3a98c337.entry.js → p-aff2d081.entry.js} +1 -1
- package/dist/sankhyablocks/p-b3b51693.entry.js +1 -0
- package/dist/sankhyablocks/{p-08415ef7.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-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 +197 -4
- 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-07aa8192.entry.js +0 -1
- package/dist/sankhyablocks/p-1a0caadb.js +0 -1
- package/dist/sankhyablocks/p-27aea149.entry.js +0 -1
- package/dist/sankhyablocks/p-27d6590e.js +0 -1
- package/dist/sankhyablocks/p-449e36d2.entry.js +0 -1
- package/dist/sankhyablocks/p-615655bd.entry.js +0 -1
- package/dist/sankhyablocks/p-62e17eea.entry.js +0 -1
- package/dist/sankhyablocks/p-6e1a7929.entry.js +0 -1
- package/dist/sankhyablocks/p-72d62f22.js +0 -1
- package/dist/sankhyablocks/p-9c1ff75e.entry.js +0 -1
- package/dist/sankhyablocks/p-a8c5ebf1.entry.js +0 -1
- package/dist/sankhyablocks/p-b25777fa.entry.js +0 -1
- package/dist/sankhyablocks/p-b6d47f08.entry.js +0 -1
- package/dist/sankhyablocks/p-b8453e18.js +0 -1
- package/dist/sankhyablocks/p-c8043a53.entry.js +0 -1
- package/dist/sankhyablocks/p-f0c9969e.entry.js +0 -1
- package/dist/sankhyablocks/p-fc5938fb.js +0 -1
|
@@ -4,7 +4,7 @@ import { SelectionMode } from '@sankhyalabs/core/dist/dataunit/DataUnit';
|
|
|
4
4
|
import { buildFieldSearch } from '@sankhyalabs/ezui/dist/collection/utils';
|
|
5
5
|
import './DataFetcher.js';
|
|
6
6
|
import { P as PresentationMode, E as ExporterStrategy } from './ISave.js';
|
|
7
|
-
import {
|
|
7
|
+
import { a as CommonsExporter, T as TaskbarProcessor, b as CrudUtils, S as SnkMultiSelectionListDataSource, R as RmPrecisionCustomValueFormatter, C as ContinuousInsertUtils, c as ClientSideExporterProvider } from './ContinuousInsertUtils.js';
|
|
8
8
|
import '@sankhyalabs/ezui/dist/collection/utils/constants';
|
|
9
9
|
import '@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata';
|
|
10
10
|
import './dataunit-fetcher.js';
|
|
@@ -14,26 +14,27 @@ import './constants.js';
|
|
|
14
14
|
import { C as ConfigStorage } from './ConfigStorage.js';
|
|
15
15
|
import { s as store } from './index2.js';
|
|
16
16
|
import { g as getSelectedRecordsIDsInfo } from './GetSelectedRecordsIDsInfo.js';
|
|
17
|
-
import { v as validateFilters, d as defineCustomElement$
|
|
18
|
-
import { T as TaskbarElement, 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$
|
|
17
|
+
import { v as validateFilters, d as defineCustomElement$b } from './snk-filter-modal2.js';
|
|
18
|
+
import { T as TaskbarElement, d as defineCustomElement$4 } from './snk-taskbar2.js';
|
|
19
|
+
import { d as defineCustomElement$n } from './snk-actions-button2.js';
|
|
20
|
+
import { d as defineCustomElement$m } from './snk-data-exporter2.js';
|
|
21
|
+
import { d as defineCustomElement$l } from './snk-default-filter2.js';
|
|
22
|
+
import { d as defineCustomElement$k } from './snk-exporter-email-sender2.js';
|
|
23
|
+
import { d as defineCustomElement$j } from './snk-expression-group2.js';
|
|
24
|
+
import { d as defineCustomElement$i } from './snk-expression-item2.js';
|
|
25
|
+
import { d as defineCustomElement$h } from './snk-filter-advanced-mode2.js';
|
|
26
|
+
import { d as defineCustomElement$g } from './snk-filter-assistent-mode2.js';
|
|
27
|
+
import { d as defineCustomElement$f } from './snk-filter-bar2.js';
|
|
28
|
+
import { d as defineCustomElement$e } from './snk-filter-detail2.js';
|
|
29
|
+
import { d as defineCustomElement$d } from './snk-filter-field-search2.js';
|
|
30
|
+
import { d as defineCustomElement$c } from './snk-filter-item2.js';
|
|
31
|
+
import { d as defineCustomElement$a } from './snk-filter-modal-item2.js';
|
|
32
|
+
import { d as defineCustomElement$9 } from './snk-filter-param-config2.js';
|
|
33
|
+
import { d as defineCustomElement$8 } from './snk-grid-config2.js';
|
|
34
|
+
import { d as defineCustomElement$7 } from './snk-personalized-filter2.js';
|
|
35
|
+
import { d as defineCustomElement$6 } from './snk-select-box2.js';
|
|
36
|
+
import { d as defineCustomElement$5 } from './snk-simple-bar2.js';
|
|
37
|
+
import { d as defineCustomElement$3 } from './snk-taskbar-skeleton2.js';
|
|
37
38
|
import { d as defineCustomElement$2 } from './taskbar-actions-button2.js';
|
|
38
39
|
import { d as defineCustomElement$1 } from './taskbar-split-button2.js';
|
|
39
40
|
|
|
@@ -91,7 +92,7 @@ class ServerSideExporterProvider extends CommonsExporter {
|
|
|
91
92
|
}
|
|
92
93
|
}
|
|
93
94
|
|
|
94
|
-
const snkGridCss = ".sc-snk-grid-h{--snk-grid-min-height:300px;--snk-grid-padding:var(--space--small)}.snk-grid__container.sc-snk-grid{display:flex;height:100%;width:100
|
|
95
|
+
const snkGridCss = ".sc-snk-grid-h{--snk-grid-min-height:300px;--snk-grid-padding:var(--space--small)}.snk-grid__container.sc-snk-grid{display:flex;height:100%;width:calc(100% - var(--space--12, 12px));margin:var(--snk-grid-padding);outline:none;border:1px solid var(--color--strokes, #E1E2E5);border-radius:var(--border--radius-12, 12px);box-shadow:var(--shadow--small);--snk-grid-header--min-height:var(--space--52)}.snk-grid__header.sc-snk-grid{width:100%;display:flex;flex-wrap:nowrap;justify-content:flex-end;align-items:flex-start;min-height:var(--snk-grid-header--min-height)}.snk-grid__filter-bar.sc-snk-grid{width:100%}.snk-grid__header-divider.sc-snk-grid{margin-bottom:var(--space--medium);margin-right:var(--space--0);align-self:stretch}.snk-grid__header.sc-snk-grid snk-taskbar.sc-snk-grid{display:flex;align-items:flex-start;min-height:var(--snk-grid-header--min-height)}.snk-grid__header.sc-snk-grid ez-tooltip.sc-snk-grid{width:auto;margin-inline:var(--space--8, 8px)}.snk-grid__table.sc-snk-grid{min-height:var(--snk-grid-min-height)}.snk-grid-container__without-shadow.sc-snk-grid{--ezgrid__container--shadow:unset}.snk-grid-container__footer.sc-snk-grid{background-color:var(--background--xlight, #FFF);border-top:1px solid var(--color--strokes, #E1E2E5);border-radius:0 0 var(--border--radius-medium) var(--border--radius-medium)}";
|
|
95
96
|
|
|
96
97
|
const SnkGrid = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
97
98
|
constructor() {
|
|
@@ -178,6 +179,9 @@ const SnkGrid = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
178
179
|
this.compact = undefined;
|
|
179
180
|
this.filterCustomConfig = undefined;
|
|
180
181
|
this.filterCustomConfigInterceptor = undefined;
|
|
182
|
+
this.hidePagination = false;
|
|
183
|
+
this.hideHeader = false;
|
|
184
|
+
this.hideGridTaskbar = false;
|
|
181
185
|
}
|
|
182
186
|
getGridHeaderSelectedBtns() {
|
|
183
187
|
const btns = [
|
|
@@ -318,6 +322,24 @@ const SnkGrid = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
318
322
|
async setFocus() {
|
|
319
323
|
this._grid.setFocus();
|
|
320
324
|
}
|
|
325
|
+
/**
|
|
326
|
+
* Manipula a mudança de página da grid.
|
|
327
|
+
*/
|
|
328
|
+
async handlePageChange() {
|
|
329
|
+
await this._grid.handlePageChange();
|
|
330
|
+
}
|
|
331
|
+
/**
|
|
332
|
+
* Localiza determinada coluna tornando-a visível.
|
|
333
|
+
*/
|
|
334
|
+
async locateColumn(columnName) {
|
|
335
|
+
return this._grid.locateColumn(columnName);
|
|
336
|
+
}
|
|
337
|
+
/**
|
|
338
|
+
* Usa um argumento para filtrar as colunas por label
|
|
339
|
+
*/
|
|
340
|
+
async filterColumns(search) {
|
|
341
|
+
return this._grid.filterColumns(search);
|
|
342
|
+
}
|
|
321
343
|
async handleClick(event) {
|
|
322
344
|
var _a;
|
|
323
345
|
if (this.hasToBlockEvent(event)) {
|
|
@@ -681,14 +703,16 @@ const SnkGrid = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
681
703
|
return this.enableGridInsert && this._dataUnit.hasNewRecord();
|
|
682
704
|
}
|
|
683
705
|
render() {
|
|
684
|
-
var _a;
|
|
706
|
+
var _a, _b;
|
|
685
707
|
if (!this._dataUnit) {
|
|
686
708
|
return undefined;
|
|
687
709
|
}
|
|
688
|
-
return (h("div", { class: "snk-grid__container ez-flex ez-flex--column ez-flex-item--auto ez-
|
|
689
|
-
h(
|
|
710
|
+
return (h("div", { class: "snk-grid__container ez-flex ez-flex--column ez-flex-item--auto ez-box--no-outline", tabindex: "0" }, !this.hideHeader &&
|
|
711
|
+
h("div", { class: "snk-grid__header" }, this._showSnkFilterBar &&
|
|
712
|
+
h(Fragment, null, 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, filterCustomConfig: this.filterCustomConfig, filterCustomConfigInterceptor: this.filterCustomConfigInterceptor, mode: this._filterMode, hideFilterButton: true }), h("ez-tooltip", { message: (_a = this.messagesBuilder) === null || _a === void 0 ? void 0 : _a.getMessage("snkCrud.customButtons.filter") }, h("ez-button", { mode: "icon", iconName: "filter", onClick: () => this._snkFilterBar.showFilterModal(), size: "small" }))), h("snk-taskbar", { "data-element-id": "grid_top", key: "topTaskbar", configName: this.configName, dataUnit: this._dataUnit, messagesBuilder: this.messagesBuilder, buttons: this._topTaskbarProcessor.buttons, disabledButtons: this._topTaskbarProcessor.disabledButtons, customButtons: this._topTaskbarProcessor.customButtons, primaryButton: this.getPrimaryButton(), resourceID: this.resourceID, customContainerId: this.taskbarCustomContainerId, customSlotId: this.topTaskbarCustomSlotId, overflowStrategy: 'none', actionsSettingsList: this.getActionsSettingsList() }, h("slot", { name: this.topTaskbarCustomSlotId }))), h("ez-grid", { ref: ref => this._grid = ref, class: (this.presentationMode === PresentationMode.SECONDARY ? 'snk-grid-container__without-shadow ' : '') + 'snk-grid__table', "data-element-id": "embedded", dataUnit: this._dataUnit, key: 'grid-' + this._snkDataUnit.entityName, config: this._gridConfig, onConfigChange: (evt) => {
|
|
690
713
|
this.gridConfigChangeHandler(evt);
|
|
691
|
-
}, onEzColumnFilterChanged: async () => await this.dataExporterProviderStore(), onEzDoubleClick: (evt) => this.gridDoubleClick.emit(evt.detail), statusResolver: this.statusResolver, multipleSelection: this.multipleSelection, columnfilterDataSource: this.columnFilterDataSource, selectionToastConfig: this.selectionToastConfig, useEnterLikeTab: this.useEnterLikeTab, recordsValidator: this.recordsValidator, canEdit: this.canEdit, autoFocus: this.autoFocus, enableGridInsert: this.enableGridInsert, enableContinuousInsert: this._enableContinuousInsert, enableLockManagerTaskbarClick: this.enableLockManagerTaskbarClick, enableLockManagerLoadingComp: this.enableLockManagerLoadingComp, outlineMode: this.outlineMode, useSearchColumn: this.useSearchColumn, suppressHorizontalScroll: this.suppressHorizontalScroll, paginationCounterMode: this.paginationCounterMode, suppressCheckboxColumn: this.suppressCheckboxColumn, suppressFilterColumn: this.suppressFilterColumn, compact: this.compact
|
|
714
|
+
}, onEzColumnFilterChanged: async () => await this.dataExporterProviderStore(), onEzDoubleClick: (evt) => this.gridDoubleClick.emit(evt.detail), statusResolver: this.statusResolver, multipleSelection: this.multipleSelection, columnfilterDataSource: this.columnFilterDataSource, selectionToastConfig: this.selectionToastConfig, useEnterLikeTab: this.useEnterLikeTab, recordsValidator: this.recordsValidator, canEdit: this.canEdit, autoFocus: this.autoFocus, enableGridInsert: this.enableGridInsert, enableContinuousInsert: this._enableContinuousInsert, enableLockManagerTaskbarClick: this.enableLockManagerTaskbarClick, enableLockManagerLoadingComp: this.enableLockManagerLoadingComp, outlineMode: this.outlineMode, useSearchColumn: this.useSearchColumn, suppressHorizontalScroll: this.suppressHorizontalScroll, paginationCounterMode: this.paginationCounterMode, suppressCheckboxColumn: this.suppressCheckboxColumn, suppressFilterColumn: this.suppressFilterColumn, compact: this.compact, hidePagination: this.hidePagination }, !this.hideGridTaskbar &&
|
|
715
|
+
h("snk-taskbar", { id: 'teste', dataUnit: this._dataUnit, configName: this.configName, messagesBuilder: this.messagesBuilder, "data-element-id": "grid_left", buttons: this.getGridHeaderButtons(), presentationMode: this.presentationMode, disabledButtons: this._headerTaskbarProcessor.disabledButtons, customButtons: this._headerTaskbarProcessor.customButtons, slot: "leftButtons", actionsList: this.getActionsList(), primaryButton: this.getPrimaryButton(), resourceID: this.resourceID, customContainerId: this.taskbarCustomContainerId, customSlotId: this.gridHeaderCustomSlotId, additionalSlotId: this.gridHeaderDynamicSearchSlotId, actionsSettingsList: this.getActionsSettingsList() }, h("slot", { name: this.gridHeaderCustomSlotId }), h("slot", { name: this.gridHeaderDynamicSearchSlotId }))), h("div", { class: "ez-col ez-col--sd-12 snk-grid-container__footer" }, h("slot", { name: "SnkGridFooter" })), h("ez-popup", { size: "medium", heightMode: "auto", useHeader: false, opened: this._popUpGridConfig, onEzClosePopup: () => this.closeGridConfig() }, h("snk-grid-config", { ref: ref => this._snkGridConfig = ref, config: this._gridConfig, "data-element-id": this._element.getAttribute(ElementIDUtils.DATA_ELEMENT_ID_ATTRIBUTE_NAME), selectedIndex: 0, configName: this.configName, onConfigChange: (evt) => this.modalConfigChangeHandler(evt), onConfigCancel: () => this.closeGridConfig(), resourceID: this.resourceID, metadata: (_b = this._dataUnit) === null || _b === void 0 ? void 0 : _b.metadata }))));
|
|
692
716
|
}
|
|
693
717
|
get _element() { return this; }
|
|
694
718
|
static get watchers() { return {
|
|
@@ -734,6 +758,9 @@ const SnkGrid = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
734
758
|
"compact": [4],
|
|
735
759
|
"filterCustomConfig": [16],
|
|
736
760
|
"filterCustomConfigInterceptor": [16],
|
|
761
|
+
"hidePagination": [516, "hide-pagination"],
|
|
762
|
+
"hideHeader": [516, "hide-header"],
|
|
763
|
+
"hideGridTaskbar": [516, "hide-grid-taskbar"],
|
|
737
764
|
"_dataUnit": [32],
|
|
738
765
|
"_dataState": [32],
|
|
739
766
|
"_gridConfig": [32],
|
|
@@ -752,13 +779,16 @@ const SnkGrid = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
752
779
|
"addGridCustomRender": [64],
|
|
753
780
|
"addCustomValueFormatter": [64],
|
|
754
781
|
"removeCustomValueFormatter": [64],
|
|
755
|
-
"setFocus": [64]
|
|
782
|
+
"setFocus": [64],
|
|
783
|
+
"handlePageChange": [64],
|
|
784
|
+
"locateColumn": [64],
|
|
785
|
+
"filterColumns": [64]
|
|
756
786
|
}, [[2, "click", "handleClick"]]]);
|
|
757
787
|
function defineCustomElement() {
|
|
758
788
|
if (typeof customElements === "undefined") {
|
|
759
789
|
return;
|
|
760
790
|
}
|
|
761
|
-
const components = ["snk-grid", "snk-actions-button", "snk-data-exporter", "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-grid-config", "snk-personalized-filter", "snk-select-box", "snk-simple-bar", "snk-taskbar", "taskbar-actions-button", "taskbar-split-button"];
|
|
791
|
+
const components = ["snk-grid", "snk-actions-button", "snk-data-exporter", "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-grid-config", "snk-personalized-filter", "snk-select-box", "snk-simple-bar", "snk-taskbar", "snk-taskbar-skeleton", "taskbar-actions-button", "taskbar-split-button"];
|
|
762
792
|
components.forEach(tagName => { switch (tagName) {
|
|
763
793
|
case "snk-grid":
|
|
764
794
|
if (!customElements.get(tagName)) {
|
|
@@ -767,100 +797,105 @@ function defineCustomElement() {
|
|
|
767
797
|
break;
|
|
768
798
|
case "snk-actions-button":
|
|
769
799
|
if (!customElements.get(tagName)) {
|
|
770
|
-
defineCustomElement$
|
|
800
|
+
defineCustomElement$n();
|
|
771
801
|
}
|
|
772
802
|
break;
|
|
773
803
|
case "snk-data-exporter":
|
|
774
804
|
if (!customElements.get(tagName)) {
|
|
775
|
-
defineCustomElement$
|
|
805
|
+
defineCustomElement$m();
|
|
776
806
|
}
|
|
777
807
|
break;
|
|
778
808
|
case "snk-default-filter":
|
|
779
809
|
if (!customElements.get(tagName)) {
|
|
780
|
-
defineCustomElement$
|
|
810
|
+
defineCustomElement$l();
|
|
781
811
|
}
|
|
782
812
|
break;
|
|
783
813
|
case "snk-exporter-email-sender":
|
|
784
814
|
if (!customElements.get(tagName)) {
|
|
785
|
-
defineCustomElement$
|
|
815
|
+
defineCustomElement$k();
|
|
786
816
|
}
|
|
787
817
|
break;
|
|
788
818
|
case "snk-expression-group":
|
|
789
819
|
if (!customElements.get(tagName)) {
|
|
790
|
-
defineCustomElement$
|
|
820
|
+
defineCustomElement$j();
|
|
791
821
|
}
|
|
792
822
|
break;
|
|
793
823
|
case "snk-expression-item":
|
|
794
824
|
if (!customElements.get(tagName)) {
|
|
795
|
-
defineCustomElement$
|
|
825
|
+
defineCustomElement$i();
|
|
796
826
|
}
|
|
797
827
|
break;
|
|
798
828
|
case "snk-filter-advanced-mode":
|
|
799
829
|
if (!customElements.get(tagName)) {
|
|
800
|
-
defineCustomElement$
|
|
830
|
+
defineCustomElement$h();
|
|
801
831
|
}
|
|
802
832
|
break;
|
|
803
833
|
case "snk-filter-assistent-mode":
|
|
804
834
|
if (!customElements.get(tagName)) {
|
|
805
|
-
defineCustomElement$
|
|
835
|
+
defineCustomElement$g();
|
|
806
836
|
}
|
|
807
837
|
break;
|
|
808
838
|
case "snk-filter-bar":
|
|
809
839
|
if (!customElements.get(tagName)) {
|
|
810
|
-
defineCustomElement$
|
|
840
|
+
defineCustomElement$f();
|
|
811
841
|
}
|
|
812
842
|
break;
|
|
813
843
|
case "snk-filter-detail":
|
|
814
844
|
if (!customElements.get(tagName)) {
|
|
815
|
-
defineCustomElement$
|
|
845
|
+
defineCustomElement$e();
|
|
816
846
|
}
|
|
817
847
|
break;
|
|
818
848
|
case "snk-filter-field-search":
|
|
819
849
|
if (!customElements.get(tagName)) {
|
|
820
|
-
defineCustomElement$
|
|
850
|
+
defineCustomElement$d();
|
|
821
851
|
}
|
|
822
852
|
break;
|
|
823
853
|
case "snk-filter-item":
|
|
824
854
|
if (!customElements.get(tagName)) {
|
|
825
|
-
defineCustomElement$
|
|
855
|
+
defineCustomElement$c();
|
|
826
856
|
}
|
|
827
857
|
break;
|
|
828
858
|
case "snk-filter-modal":
|
|
829
859
|
if (!customElements.get(tagName)) {
|
|
830
|
-
defineCustomElement$
|
|
860
|
+
defineCustomElement$b();
|
|
831
861
|
}
|
|
832
862
|
break;
|
|
833
863
|
case "snk-filter-modal-item":
|
|
834
864
|
if (!customElements.get(tagName)) {
|
|
835
|
-
defineCustomElement$
|
|
865
|
+
defineCustomElement$a();
|
|
836
866
|
}
|
|
837
867
|
break;
|
|
838
868
|
case "snk-filter-param-config":
|
|
839
869
|
if (!customElements.get(tagName)) {
|
|
840
|
-
defineCustomElement$
|
|
870
|
+
defineCustomElement$9();
|
|
841
871
|
}
|
|
842
872
|
break;
|
|
843
873
|
case "snk-grid-config":
|
|
844
874
|
if (!customElements.get(tagName)) {
|
|
845
|
-
defineCustomElement$
|
|
875
|
+
defineCustomElement$8();
|
|
846
876
|
}
|
|
847
877
|
break;
|
|
848
878
|
case "snk-personalized-filter":
|
|
849
879
|
if (!customElements.get(tagName)) {
|
|
850
|
-
defineCustomElement$
|
|
880
|
+
defineCustomElement$7();
|
|
851
881
|
}
|
|
852
882
|
break;
|
|
853
883
|
case "snk-select-box":
|
|
854
884
|
if (!customElements.get(tagName)) {
|
|
855
|
-
defineCustomElement$
|
|
885
|
+
defineCustomElement$6();
|
|
856
886
|
}
|
|
857
887
|
break;
|
|
858
888
|
case "snk-simple-bar":
|
|
859
889
|
if (!customElements.get(tagName)) {
|
|
860
|
-
defineCustomElement$
|
|
890
|
+
defineCustomElement$5();
|
|
861
891
|
}
|
|
862
892
|
break;
|
|
863
893
|
case "snk-taskbar":
|
|
894
|
+
if (!customElements.get(tagName)) {
|
|
895
|
+
defineCustomElement$4();
|
|
896
|
+
}
|
|
897
|
+
break;
|
|
898
|
+
case "snk-taskbar-skeleton":
|
|
864
899
|
if (!customElements.get(tagName)) {
|
|
865
900
|
defineCustomElement$3();
|
|
866
901
|
}
|
|
@@ -102,7 +102,7 @@ function getPKs(dataUnit) {
|
|
|
102
102
|
const fields = dataUnit.metadata.fields;
|
|
103
103
|
const selectedRecord = dataUnit.getSelectedRecord();
|
|
104
104
|
fields.forEach((field) => {
|
|
105
|
-
if (field.properties['isPrimaryKey']) {
|
|
105
|
+
if (field.properties['isPrimaryKey'] && selectedRecord) {
|
|
106
106
|
pk[field.name] = selectedRecord[field.name];
|
|
107
107
|
}
|
|
108
108
|
});
|
|
@@ -344,7 +344,7 @@ const SnkPersonalizedFilter = /*@__PURE__*/ proxyCustomElement(class extends HTM
|
|
|
344
344
|
if (!((_a = this._filterAssistent) === null || _a === void 0 ? void 0 : _a.assistent) && this._filterAssistentMode) {
|
|
345
345
|
return;
|
|
346
346
|
}
|
|
347
|
-
return (h(Host, null, h("div", { class: "snk-personalized-filter" }, h("div", null, h("snk-simple-bar", { label: this.buildTitle(), onExit: () => this.handleCancel() }, h("div", { class: "snk-personalized-filter__header-actions", slot: "rightSlot" }, h("ez-button", {
|
|
347
|
+
return (h(Host, null, h("div", { class: "snk-personalized-filter" }, h("div", null, h("snk-simple-bar", { label: this.buildTitle(), onExit: () => this.handleCancel() }, h("div", { class: "snk-personalized-filter__header-actions", slot: "rightSlot" }, h("ez-button", { label: this.getMessage("snkPersonalizedFilter.info.labelCancel"), onClick: () => this.handleCancel() }), h("ez-button", { ref: (el) => this._elButtonSave = el, enabled: false, class: "ez-button--primary", label: this.getMessage("snkPersonalizedFilter.info.labelSave"), onClick: this.handleSave.bind(this) })))), h("div", { class: "ez-box ez-margin-bottom--medium ez-box__main" }, h("div", { class: "ez-box__container" }, h("div", { class: "ez-flex ez-flex--column ez-size-width--full" }, h("div", { class: "ez-flex" }, h("ez-tooltip", { message: this.getMessage("snkPersonalizedFilter.info.textInputDisabled"), active: this.isDefaultFilter }, h("ez-text-input", { class: "ez-padding-right--medium", label: this.getMessage("snkPersonalizedFilter.info.labelNameFilter"), value: (_b = this._filterAssistent) === null || _b === void 0 ? void 0 : _b.name, onEzChange: (evt) => this.handleTitleChange(evt.detail), enabled: !this.isDefaultFilter })), this.renderButtonAddField(), h("ez-button", { ref: (el) => this._elButtonMode = el, class: "snk-personalized-filter__button-mode", label: this._filterAssistentMode ? this.getMessage("snkPersonalizedFilter.info.activeModeAdvanced") : this.getMessage("snkPersonalizedFilter.info.activeModeAssistent"), onClick: () => this.handleModeChange(), "data-tooltip": !(this._filterAssistentMode || ((_c = this._filterAssistent) === null || _c === void 0 ? void 0 : _c.assistent)) ? this.getMessage("snkPersonalizedFilter.info.tooltipDisabledAssistentMode") : undefined, "data-flow": "bottom", enabled: (!this._filterAssistent.name || Boolean(this._filterAssistentMode || ((_d = this._filterAssistent) === null || _d === void 0 ? void 0 : _d.assistent))) })), this.buildContainerPersonalizedFilter()))))));
|
|
348
348
|
}
|
|
349
349
|
static get watchers() { return {
|
|
350
350
|
"filterId": ["loadFilter"]
|
|
@@ -2,10 +2,10 @@ import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/i
|
|
|
2
2
|
import { StringUtils, ApplicationContext, ObjectUtils, Action, DataType, UserInterface, KeyboardManager, ElementIDUtils } from '@sankhyalabs/core';
|
|
3
3
|
import { CSSVarsUtils, buildFieldSearch } from '@sankhyalabs/ezui/dist/collection/utils';
|
|
4
4
|
import { V as VIEW_MODE, S as SIMPLE_CRUD_MODE } from './constants.js';
|
|
5
|
-
import { T as TaskbarElement, d as defineCustomElement$
|
|
5
|
+
import { T as TaskbarElement, d as defineCustomElement$5 } from './snk-taskbar2.js';
|
|
6
6
|
import './DataFetcher.js';
|
|
7
7
|
import { P as PresentationMode } from './ISave.js';
|
|
8
|
-
import { S as SnkMultiSelectionListDataSource, T as TaskbarProcessor, R as RmPrecisionCustomValueFormatter,
|
|
8
|
+
import { S as SnkMultiSelectionListDataSource, T as TaskbarProcessor, R as RmPrecisionCustomValueFormatter, C as ContinuousInsertUtils, b as CrudUtils, c as ClientSideExporterProvider } from './ContinuousInsertUtils.js';
|
|
9
9
|
import '@sankhyalabs/ezui/dist/collection/utils/constants';
|
|
10
10
|
import '@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata';
|
|
11
11
|
import { I as InMemoryLoader } from './dataunit-fetcher.js';
|
|
@@ -14,16 +14,17 @@ import { F as FormConfigFetcher } from './form-config-fetcher.js';
|
|
|
14
14
|
import { C as ConfigStorage } from './ConfigStorage.js';
|
|
15
15
|
import { S as SnkFormConfigManager } from './SnkFormConfigManager.js';
|
|
16
16
|
import { s as store } from './index2.js';
|
|
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$
|
|
17
|
+
import { d as defineCustomElement$f } from './snk-actions-button2.js';
|
|
18
|
+
import { d as defineCustomElement$e } from './snk-configurator2.js';
|
|
19
|
+
import { d as defineCustomElement$d } from './snk-data-exporter2.js';
|
|
20
|
+
import { d as defineCustomElement$c } from './snk-data-unit2.js';
|
|
21
|
+
import { d as defineCustomElement$b } from './snk-exporter-email-sender2.js';
|
|
22
|
+
import { d as defineCustomElement$a } from './snk-grid-config2.js';
|
|
23
|
+
import { d as defineCustomElement$9 } from './snk-layout-form-config2.js';
|
|
24
|
+
import { d as defineCustomElement$8 } from './snk-numbering-config2.js';
|
|
25
|
+
import { d as defineCustomElement$7 } from './snk-select-box2.js';
|
|
26
|
+
import { d as defineCustomElement$6 } from './snk-simple-form-config2.js';
|
|
27
|
+
import { d as defineCustomElement$4 } from './snk-taskbar-skeleton2.js';
|
|
27
28
|
import { d as defineCustomElement$3 } from './snk-view-representation2.js';
|
|
28
29
|
import { d as defineCustomElement$2 } from './taskbar-actions-button2.js';
|
|
29
30
|
import { d as defineCustomElement$1 } from './taskbar-split-button2.js';
|
|
@@ -917,7 +918,7 @@ function defineCustomElement() {
|
|
|
917
918
|
if (typeof customElements === "undefined") {
|
|
918
919
|
return;
|
|
919
920
|
}
|
|
920
|
-
const components = ["snk-simple-crud", "snk-actions-button", "snk-configurator", "snk-data-exporter", "snk-data-unit", "snk-exporter-email-sender", "snk-grid-config", "snk-layout-form-config", "snk-numbering-config", "snk-select-box", "snk-simple-form-config", "snk-taskbar", "snk-view-representation", "taskbar-actions-button", "taskbar-split-button"];
|
|
921
|
+
const components = ["snk-simple-crud", "snk-actions-button", "snk-configurator", "snk-data-exporter", "snk-data-unit", "snk-exporter-email-sender", "snk-grid-config", "snk-layout-form-config", "snk-numbering-config", "snk-select-box", "snk-simple-form-config", "snk-taskbar", "snk-taskbar-skeleton", "snk-view-representation", "taskbar-actions-button", "taskbar-split-button"];
|
|
921
922
|
components.forEach(tagName => { switch (tagName) {
|
|
922
923
|
case "snk-simple-crud":
|
|
923
924
|
if (!customElements.get(tagName)) {
|
|
@@ -926,55 +927,60 @@ function defineCustomElement() {
|
|
|
926
927
|
break;
|
|
927
928
|
case "snk-actions-button":
|
|
928
929
|
if (!customElements.get(tagName)) {
|
|
929
|
-
defineCustomElement$
|
|
930
|
+
defineCustomElement$f();
|
|
930
931
|
}
|
|
931
932
|
break;
|
|
932
933
|
case "snk-configurator":
|
|
933
934
|
if (!customElements.get(tagName)) {
|
|
934
|
-
defineCustomElement$
|
|
935
|
+
defineCustomElement$e();
|
|
935
936
|
}
|
|
936
937
|
break;
|
|
937
938
|
case "snk-data-exporter":
|
|
938
939
|
if (!customElements.get(tagName)) {
|
|
939
|
-
defineCustomElement$
|
|
940
|
+
defineCustomElement$d();
|
|
940
941
|
}
|
|
941
942
|
break;
|
|
942
943
|
case "snk-data-unit":
|
|
943
944
|
if (!customElements.get(tagName)) {
|
|
944
|
-
defineCustomElement$
|
|
945
|
+
defineCustomElement$c();
|
|
945
946
|
}
|
|
946
947
|
break;
|
|
947
948
|
case "snk-exporter-email-sender":
|
|
948
949
|
if (!customElements.get(tagName)) {
|
|
949
|
-
defineCustomElement$
|
|
950
|
+
defineCustomElement$b();
|
|
950
951
|
}
|
|
951
952
|
break;
|
|
952
953
|
case "snk-grid-config":
|
|
953
954
|
if (!customElements.get(tagName)) {
|
|
954
|
-
defineCustomElement$
|
|
955
|
+
defineCustomElement$a();
|
|
955
956
|
}
|
|
956
957
|
break;
|
|
957
958
|
case "snk-layout-form-config":
|
|
958
959
|
if (!customElements.get(tagName)) {
|
|
959
|
-
defineCustomElement$
|
|
960
|
+
defineCustomElement$9();
|
|
960
961
|
}
|
|
961
962
|
break;
|
|
962
963
|
case "snk-numbering-config":
|
|
963
964
|
if (!customElements.get(tagName)) {
|
|
964
|
-
defineCustomElement$
|
|
965
|
+
defineCustomElement$8();
|
|
965
966
|
}
|
|
966
967
|
break;
|
|
967
968
|
case "snk-select-box":
|
|
968
969
|
if (!customElements.get(tagName)) {
|
|
969
|
-
defineCustomElement$
|
|
970
|
+
defineCustomElement$7();
|
|
970
971
|
}
|
|
971
972
|
break;
|
|
972
973
|
case "snk-simple-form-config":
|
|
973
974
|
if (!customElements.get(tagName)) {
|
|
974
|
-
defineCustomElement$
|
|
975
|
+
defineCustomElement$6();
|
|
975
976
|
}
|
|
976
977
|
break;
|
|
977
978
|
case "snk-taskbar":
|
|
979
|
+
if (!customElements.get(tagName)) {
|
|
980
|
+
defineCustomElement$5();
|
|
981
|
+
}
|
|
982
|
+
break;
|
|
983
|
+
case "snk-taskbar-skeleton":
|
|
978
984
|
if (!customElements.get(tagName)) {
|
|
979
985
|
defineCustomElement$4();
|
|
980
986
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface SnkTaskbarSkeleton extends Components.SnkTaskbarSkeleton, HTMLElement {}
|
|
4
|
+
export const SnkTaskbarSkeleton: {
|
|
5
|
+
prototype: SnkTaskbarSkeleton;
|
|
6
|
+
new (): SnkTaskbarSkeleton;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
|
|
3
|
+
const snkTaskbarSkeletonCss = ".sc-snk-taskbar-skeleton-h{display:flex;align-items:center;height:100%;padding:0 var(--space--8, 8px)}ez-skeleton.sc-snk-taskbar-skeleton{--skeleton-width:42px;--skeleton-height:42px;--skeleton-margin-left:var(--space--4, 4px)}";
|
|
4
|
+
|
|
5
|
+
const SnkTaskbarSkeleton = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
6
|
+
constructor() {
|
|
7
|
+
super();
|
|
8
|
+
this.__registerHost();
|
|
9
|
+
}
|
|
10
|
+
render() {
|
|
11
|
+
return (h(Host, null, h("ez-skeleton", { variant: "circle", count: 12 }), h("ez-skeleton", { width: "100px" })));
|
|
12
|
+
}
|
|
13
|
+
static get style() { return snkTaskbarSkeletonCss; }
|
|
14
|
+
}, [2, "snk-taskbar-skeleton"]);
|
|
15
|
+
function defineCustomElement() {
|
|
16
|
+
if (typeof customElements === "undefined") {
|
|
17
|
+
return;
|
|
18
|
+
}
|
|
19
|
+
const components = ["snk-taskbar-skeleton"];
|
|
20
|
+
components.forEach(tagName => { switch (tagName) {
|
|
21
|
+
case "snk-taskbar-skeleton":
|
|
22
|
+
if (!customElements.get(tagName)) {
|
|
23
|
+
customElements.define(tagName, SnkTaskbarSkeleton);
|
|
24
|
+
}
|
|
25
|
+
break;
|
|
26
|
+
} });
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { SnkTaskbarSkeleton as S, defineCustomElement as d };
|