@sankhyalabs/sankhyablocks 9.2.0-dev.2 → 9.2.0-dev.21
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-1931defc.js → ConfigStorage-8b6def32.js} +2 -2
- package/dist/cjs/{DataFetcher-ad9fb3bb.js → DataFetcher-2c37b6a1.js} +52 -1
- package/dist/cjs/{ISave-18ffb73e.js → ISave-b22b3cf0.js} +1 -1
- package/dist/cjs/{SnkFormConfigManager-65e5288e.js → SnkFormConfigManager-477a27de.js} +2 -2
- package/dist/cjs/{ClientSideExporterProvider-994f6e26.js → SnkMultiSelectionListDataSource-b7ab26ba.js} +82 -79
- package/dist/cjs/{auth-fetcher-afbe69ab.js → auth-fetcher-78a90b36.js} +1 -1
- package/dist/cjs/{dataunit-fetcher-c7253b02.js → dataunit-fetcher-877944a9.js} +1 -1
- package/dist/cjs/filter-validate-6993f6f2.js +30 -0
- package/dist/cjs/{form-config-fetcher-f6e66d64.js → form-config-fetcher-dee08eb4.js} +1 -1
- package/dist/cjs/{index-0ad2baeb.js → index-13d05f03.js} +21 -5
- package/dist/cjs/index-1cf293c1.js +8 -8
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/pesquisa-grid_2.cjs.entry.js +4 -4
- package/dist/cjs/sankhyablocks.cjs.js +1 -1
- package/dist/cjs/snk-actions-button_8.cjs.entry.js +5 -5
- package/dist/cjs/snk-application.cjs.entry.js +6 -9
- package/dist/cjs/snk-attach.cjs.entry.js +7 -7
- package/dist/cjs/snk-crud.cjs.entry.js +7 -7
- package/dist/cjs/snk-data-exporter.cjs.entry.js +5 -5
- package/dist/cjs/{snk-data-unit-448fce74.js → snk-data-unit-0cfa7622.js} +14 -4
- package/dist/cjs/snk-data-unit.cjs.entry.js +3 -3
- package/dist/cjs/snk-detail-view.cjs.entry.js +9 -9
- package/dist/cjs/snk-entity-list.cjs.entry.js +10 -3
- package/dist/cjs/snk-expression-group_2.cjs.entry.js +1 -1
- package/dist/cjs/snk-filter-bar_4.cjs.entry.js +189 -115
- package/dist/cjs/snk-filter-binary-select.cjs.entry.js +23 -2
- package/dist/cjs/snk-filter-checkbox-list.cjs.entry.js +20 -2
- package/dist/cjs/snk-filter-detail.cjs.entry.js +25 -8
- package/dist/cjs/snk-filter-modal-item.cjs.entry.js +9 -14
- package/dist/cjs/snk-filter-multi-select.cjs.entry.js +16 -3
- package/dist/cjs/snk-filter-number.cjs.entry.js +34 -3
- package/dist/cjs/snk-filter-period.cjs.entry.js +59 -14
- package/dist/cjs/snk-filter-search.cjs.entry.js +14 -3
- package/dist/cjs/snk-filter-text.cjs.entry.js +18 -1
- package/dist/cjs/snk-form_2.cjs.entry.js +31 -5
- package/dist/cjs/snk-grid.cjs.entry.js +158 -66
- package/dist/cjs/{snk-guides-viewer-c23ed218.js → snk-guides-viewer-38277265.js} +6 -6
- package/dist/cjs/snk-guides-viewer.cjs.entry.js +9 -9
- package/dist/cjs/snk-personalized-filter.cjs.entry.js +14 -6
- package/dist/cjs/snk-pesquisa.cjs.entry.js +4 -4
- package/dist/cjs/snk-simple-bar.cjs.entry.js +5 -5
- package/dist/cjs/snk-simple-crud.cjs.entry.js +60 -23
- package/dist/cjs/snk-taskbar.cjs.entry.js +2 -2
- package/dist/cjs/{taskbar-elements-3b74cd21.js → taskbar-elements-fb5d1e08.js} +1 -1
- package/dist/collection/components/snk-application/snk-application.js +0 -2
- package/dist/collection/components/snk-data-exporter/providers/ClientSideExporterProvider.js +4 -1
- package/dist/collection/components/snk-data-unit/snk-data-unit.js +174 -29
- package/dist/collection/components/snk-entity-list/snk-entity-list.js +28 -4
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-binary-select.js +72 -2
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-checkbox-list.js +73 -2
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-multi-select.js +51 -5
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-number.js +83 -3
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-period.js +118 -27
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-search.js +49 -5
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-text.js +71 -1
- package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-detail.js +62 -11
- package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-item.js +70 -8
- package/dist/collection/components/snk-filter-bar/filter-modal/snk-filter-modal.css +0 -4
- package/dist/collection/components/snk-filter-bar/filter-modal/snk-filter-modal.js +112 -16
- package/dist/collection/components/snk-filter-bar/filter-modal/subcomponents/snk-filter-modal-item.js +8 -16
- package/dist/collection/components/snk-filter-bar/snk-filter-bar.js +315 -114
- package/dist/collection/components/snk-filter-bar/utils/SnkFilterModalFactory.js +3 -1
- package/dist/collection/components/snk-filter-bar/utils/filter-validate.js +24 -0
- package/dist/collection/components/snk-form/snk-form.js +133 -22
- package/dist/collection/components/snk-grid/snk-grid.js +488 -133
- package/dist/collection/components/snk-personalized-filter/snk-personalized-filter.js +83 -21
- package/dist/collection/components/snk-pesquisa/snk-pesquisa.js +80 -14
- package/dist/collection/components/snk-simple-bar/snk-simple-bar.js +9 -9
- package/dist/collection/components/snk-simple-crud/snk-simple-crud.js +414 -119
- package/dist/collection/components/snk-taskbar/snk-taskbar.js +102 -36
- package/dist/collection/lib/http/data-fetcher/DataFetcher.js +1 -0
- package/dist/collection/lib/http/data-fetcher/custom-xhr-override.js +39 -0
- package/dist/collection/lib/message/resources/en-us/snk-filter-bar.msg.js +1 -0
- package/dist/collection/lib/message/resources/en-us/snk-grid.msg.js +4 -0
- package/dist/collection/lib/message/resources/es-es/snk-filter-bar.msg.js +1 -0
- package/dist/collection/lib/message/resources/es-es/snk-grid.msg.js +4 -0
- package/dist/collection/lib/message/resources/pt-br/snk-filter-bar.msg.js +1 -0
- package/dist/collection/lib/message/resources/pt-br/snk-grid.msg.js +4 -0
- package/dist/components/ContinuousInsertUtils.js +4 -1
- package/dist/components/DataFetcher.js +52 -1
- package/dist/components/index2.js +21 -5
- package/dist/components/snk-application2.js +0 -3
- package/dist/components/snk-crud.js +62 -44
- package/dist/components/snk-data-unit2.js +12 -2
- package/dist/components/snk-detail-view2.js +89 -56
- package/dist/components/snk-entity-list.js +11 -3
- package/dist/components/snk-filter-bar2.js +103 -108
- package/dist/components/snk-filter-binary-select.js +27 -3
- package/dist/components/snk-filter-checkbox-list.js +24 -3
- package/dist/components/snk-filter-detail2.js +28 -9
- package/dist/components/snk-filter-item2.js +70 -8
- package/dist/components/snk-filter-modal-item2.js +7 -12
- package/dist/components/snk-filter-modal.js +1 -325
- package/dist/components/snk-filter-modal2.js +391 -0
- package/dist/components/snk-filter-multi-select.js +19 -4
- package/dist/components/snk-filter-number.js +38 -4
- package/dist/components/snk-filter-period.js +64 -16
- package/dist/components/snk-filter-search.js +17 -4
- package/dist/components/snk-filter-text.js +22 -2
- package/dist/components/snk-form.js +29 -2
- package/dist/components/snk-grid2.js +188 -75
- package/dist/components/snk-personalized-filter2.js +10 -2
- package/dist/components/snk-simple-bar2.js +5 -5
- package/dist/components/snk-simple-crud2.js +45 -8
- package/dist/esm/{ConfigStorage-b5a1dba3.js → ConfigStorage-22eace3a.js} +2 -2
- package/dist/esm/{DataFetcher-6f6de657.js → DataFetcher-f6b2961a.js} +52 -1
- package/dist/esm/{ISave-7ecdca20.js → ISave-6b7b0423.js} +1 -1
- package/dist/esm/{SnkFormConfigManager-34fc1dc7.js → SnkFormConfigManager-968b97e7.js} +2 -2
- package/dist/esm/{ClientSideExporterProvider-7c2781f4.js → SnkMultiSelectionListDataSource-1136c4e7.js} +87 -84
- package/dist/esm/{auth-fetcher-7332a9a9.js → auth-fetcher-cf39e42b.js} +1 -1
- package/dist/esm/{dataunit-fetcher-f21cbad0.js → dataunit-fetcher-6314b19d.js} +1 -1
- package/dist/esm/filter-validate-d765d450.js +27 -0
- package/dist/esm/{form-config-fetcher-6ab4e805.js → form-config-fetcher-bc6f0f1f.js} +1 -1
- package/dist/esm/{index-b72af127.js → index-446f9341.js} +21 -5
- package/dist/esm/index-479e1293.js +8 -8
- package/dist/esm/loader.js +1 -1
- package/dist/esm/pesquisa-grid_2.entry.js +4 -4
- package/dist/esm/sankhyablocks.js +1 -1
- package/dist/esm/snk-actions-button_8.entry.js +5 -5
- package/dist/esm/snk-application.entry.js +6 -9
- package/dist/esm/snk-attach.entry.js +7 -7
- package/dist/esm/snk-crud.entry.js +7 -7
- package/dist/esm/snk-data-exporter.entry.js +5 -5
- package/dist/esm/{snk-data-unit-b7e6e7a6.js → snk-data-unit-4acf4781.js} +14 -4
- package/dist/esm/snk-data-unit.entry.js +3 -3
- package/dist/esm/snk-detail-view.entry.js +9 -9
- package/dist/esm/snk-entity-list.entry.js +10 -3
- package/dist/esm/snk-expression-group_2.entry.js +1 -1
- package/dist/esm/snk-filter-bar_4.entry.js +190 -116
- package/dist/esm/snk-filter-binary-select.entry.js +23 -2
- package/dist/esm/snk-filter-checkbox-list.entry.js +20 -2
- package/dist/esm/snk-filter-detail.entry.js +25 -8
- package/dist/esm/snk-filter-modal-item.entry.js +9 -14
- package/dist/esm/snk-filter-multi-select.entry.js +16 -3
- package/dist/esm/snk-filter-number.entry.js +34 -3
- package/dist/esm/snk-filter-period.entry.js +59 -14
- package/dist/esm/snk-filter-search.entry.js +14 -3
- package/dist/esm/snk-filter-text.entry.js +18 -1
- package/dist/esm/snk-form_2.entry.js +31 -5
- package/dist/esm/snk-grid.entry.js +152 -60
- package/dist/esm/{snk-guides-viewer-fbfece85.js → snk-guides-viewer-19cb7f1f.js} +6 -6
- package/dist/esm/snk-guides-viewer.entry.js +9 -9
- package/dist/esm/snk-personalized-filter.entry.js +14 -6
- package/dist/esm/snk-pesquisa.entry.js +4 -4
- package/dist/esm/snk-simple-bar.entry.js +5 -5
- package/dist/esm/snk-simple-crud.entry.js +55 -18
- package/dist/esm/snk-taskbar.entry.js +2 -2
- package/dist/esm/{taskbar-elements-171476d4.js → taskbar-elements-faaf5d8f.js} +1 -1
- package/dist/sankhyablocks/p-093f58fa.entry.js +1 -0
- package/dist/sankhyablocks/{p-0e495575.js → p-0a317e81.js} +1 -1
- package/dist/sankhyablocks/{p-ad2ae575.entry.js → p-0e1f0344.entry.js} +1 -1
- package/dist/sankhyablocks/{p-8d1508aa.entry.js → p-16c1c209.entry.js} +1 -1
- package/dist/sankhyablocks/p-29cacaf3.entry.js +1 -0
- package/dist/sankhyablocks/{p-eb0616d3.entry.js → p-32450ea2.entry.js} +1 -1
- package/dist/sankhyablocks/{p-b49281be.entry.js → p-3c29939c.entry.js} +1 -1
- package/dist/sankhyablocks/p-3ed04f0d.entry.js +1 -0
- package/dist/sankhyablocks/{p-4872dc3a.entry.js → p-44c5ec49.entry.js} +1 -1
- package/dist/sankhyablocks/p-49ddc27a.entry.js +1 -0
- package/dist/sankhyablocks/p-4c763b10.entry.js +1 -0
- package/dist/sankhyablocks/p-4eeb06fc.js +1 -0
- package/dist/sankhyablocks/p-505172c8.entry.js +1 -0
- package/dist/sankhyablocks/p-55798617.js +1 -0
- package/dist/sankhyablocks/p-658f67a5.js +1 -0
- package/dist/sankhyablocks/{p-158adf33.entry.js → p-701b024c.entry.js} +1 -1
- package/dist/sankhyablocks/p-72a9285d.entry.js +1 -0
- package/dist/sankhyablocks/p-7f7fe6c4.entry.js +1 -0
- package/dist/sankhyablocks/p-88b7bc09.js +1 -0
- package/dist/sankhyablocks/{p-c6331595.js → p-8d256def.js} +1 -1
- package/dist/sankhyablocks/p-8f37b75b.entry.js +1 -0
- package/dist/sankhyablocks/{p-b35574b5.js → p-9062d640.js} +1 -1
- package/dist/sankhyablocks/{p-72c8c847.entry.js → p-95c71f5e.entry.js} +1 -1
- package/dist/sankhyablocks/p-96d45943.entry.js +1 -0
- package/dist/sankhyablocks/{p-eacff4b7.entry.js → p-b2d7f4cd.entry.js} +1 -1
- package/dist/sankhyablocks/{p-6a015ba2.js → p-b7f5caf6.js} +1 -1
- package/dist/sankhyablocks/p-b9200e77.entry.js +11 -0
- package/dist/sankhyablocks/{p-7de79adf.js → p-b987e15d.js} +1 -1
- package/dist/sankhyablocks/{p-ba4979b4.js → p-bf017a1f.js} +1 -1
- package/dist/sankhyablocks/{p-735a1175.entry.js → p-c3dbf441.entry.js} +1 -1
- package/dist/sankhyablocks/{p-3dba3468.js → p-c71dcb2d.js} +1 -1
- package/dist/sankhyablocks/{p-5e282b33.entry.js → p-c95f20d9.entry.js} +1 -1
- package/dist/sankhyablocks/p-c98e2085.js +1 -0
- package/dist/sankhyablocks/p-cb4343c4.entry.js +1 -0
- package/dist/sankhyablocks/p-d03ae54e.entry.js +1 -0
- package/dist/sankhyablocks/p-d235314c.entry.js +1 -0
- package/dist/sankhyablocks/p-d75a732c.js +1 -0
- package/dist/sankhyablocks/{p-f39b0ebe.entry.js → p-df7979fd.entry.js} +1 -1
- package/dist/sankhyablocks/p-e258de96.entry.js +1 -0
- package/dist/sankhyablocks/{p-d377aa7a.entry.js → p-f8e87cf1.entry.js} +1 -1
- package/dist/sankhyablocks/sankhyablocks.esm.js +1 -1
- package/dist/types/components/snk-data-unit/snk-data-unit.d.ts +46 -3
- package/dist/types/components/snk-entity-list/snk-entity-list.d.ts +8 -4
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-binary-select.d.ts +12 -0
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-checkbox-list.d.ts +12 -0
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-multi-select.d.ts +12 -4
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-number.d.ts +16 -4
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-period.d.ts +17 -3
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-search.d.ts +10 -2
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-text.d.ts +12 -0
- package/dist/types/components/snk-filter-bar/filter-item/snk-filter-detail.d.ts +8 -3
- package/dist/types/components/snk-filter-bar/filter-item/snk-filter-item.d.ts +27 -4
- package/dist/types/components/snk-filter-bar/filter-modal/snk-filter-modal.d.ts +17 -3
- package/dist/types/components/snk-filter-bar/filter-modal/subcomponents/snk-filter-modal-item.d.ts +2 -3
- package/dist/types/components/snk-filter-bar/snk-filter-bar.d.ts +60 -30
- package/dist/types/components/snk-filter-bar/utils/SnkFilterModalFactory.d.ts +4 -2
- package/dist/types/components/snk-filter-bar/utils/filter-validate.d.ts +11 -0
- package/dist/types/components/snk-form/snk-form.d.ts +29 -4
- package/dist/types/components/snk-grid/snk-grid.d.ts +132 -58
- package/dist/types/components/snk-personalized-filter/snk-personalized-filter.d.ts +53 -5
- package/dist/types/components/snk-pesquisa/snk-pesquisa.d.ts +44 -6
- package/dist/types/components/snk-simple-bar/snk-simple-bar.d.ts +15 -15
- package/dist/types/components/snk-simple-crud/snk-simple-crud.d.ts +100 -43
- package/dist/types/components/snk-taskbar/snk-taskbar.d.ts +23 -21
- package/dist/types/components.d.ts +771 -255
- package/dist/types/lib/http/data-fetcher/DataFetcher.d.ts +1 -0
- package/package.json +4 -3
- package/dist/collection/lib/licenses/sankhyalicense.module.js +0 -1
- package/dist/sankhyablocks/p-012208e0.entry.js +0 -1
- package/dist/sankhyablocks/p-07b14811.entry.js +0 -1
- package/dist/sankhyablocks/p-0dac8fef.js +0 -1
- package/dist/sankhyablocks/p-1210500e.js +0 -1
- package/dist/sankhyablocks/p-16fc4acd.js +0 -1
- package/dist/sankhyablocks/p-25209340.entry.js +0 -1
- package/dist/sankhyablocks/p-295b83ae.entry.js +0 -1
- package/dist/sankhyablocks/p-398cdd67.entry.js +0 -1
- package/dist/sankhyablocks/p-4e63ffed.entry.js +0 -1
- package/dist/sankhyablocks/p-5bab470d.entry.js +0 -1
- package/dist/sankhyablocks/p-5c7af8a9.entry.js +0 -1
- package/dist/sankhyablocks/p-81769310.entry.js +0 -11
- package/dist/sankhyablocks/p-9fd87bfd.entry.js +0 -1
- package/dist/sankhyablocks/p-a349689a.js +0 -1
- package/dist/sankhyablocks/p-a76e6d51.entry.js +0 -1
- package/dist/sankhyablocks/p-a86eee47.entry.js +0 -1
- package/dist/sankhyablocks/p-c6a8a8bc.entry.js +0 -1
- package/dist/sankhyablocks/p-c9e6d720.js +0 -1
- package/dist/sankhyablocks/p-dff65083.entry.js +0 -1
- package/dist/sankhyablocks/p-fa18530e.entry.js +0 -1
@@ -10,28 +10,31 @@ import './filter-item-type.enum.js';
|
|
10
10
|
import './form-config-fetcher.js';
|
11
11
|
import { V as VIEW_MODE } from './constants.js';
|
12
12
|
import { A as AutorizationType } from './auth-fetcher.js';
|
13
|
-
import { d as defineCustomElement$
|
14
|
-
import { d as defineCustomElement$
|
15
|
-
import { d as defineCustomElement$
|
16
|
-
import { d as defineCustomElement$
|
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$
|
13
|
+
import { d as defineCustomElement$H } from './config-header2.js';
|
14
|
+
import { d as defineCustomElement$G } from './configs-button2.js';
|
15
|
+
import { d as defineCustomElement$F } from './field-config2.js';
|
16
|
+
import { d as defineCustomElement$E } from './field-item2.js';
|
17
|
+
import { d as defineCustomElement$D } from './fields-layout2.js';
|
18
|
+
import { d as defineCustomElement$C } from './fields-selector2.js';
|
19
|
+
import { d as defineCustomElement$B } from './guides-configurator2.js';
|
20
|
+
import { d as defineCustomElement$A } from './snk-actions-button2.js';
|
21
|
+
import { d as defineCustomElement$z } from './snk-attach2.js';
|
22
|
+
import { d as defineCustomElement$y } from './snk-configurator2.js';
|
23
|
+
import { d as defineCustomElement$x } from './snk-data-exporter2.js';
|
24
|
+
import { d as defineCustomElement$w } from './snk-data-unit2.js';
|
25
|
+
import { d as defineCustomElement$v } from './snk-default-filter2.js';
|
26
|
+
import { d as defineCustomElement$c, a as defineCustomElement$u } from './snk-detail-view2.js';
|
27
|
+
import { d as defineCustomElement$t } from './snk-exporter-email-sender2.js';
|
28
|
+
import { d as defineCustomElement$s } from './snk-expression-group2.js';
|
29
|
+
import { d as defineCustomElement$r } from './snk-expression-item2.js';
|
30
|
+
import { d as defineCustomElement$q } from './snk-filter-advanced-mode2.js';
|
31
|
+
import { d as defineCustomElement$p } from './snk-filter-assistent-mode2.js';
|
32
|
+
import { d as defineCustomElement$o } from './snk-filter-bar2.js';
|
33
|
+
import { d as defineCustomElement$n } from './snk-filter-detail2.js';
|
34
|
+
import { d as defineCustomElement$m } from './snk-filter-field-search2.js';
|
35
|
+
import { d as defineCustomElement$l } from './snk-filter-item2.js';
|
36
|
+
import { d as defineCustomElement$k } from './snk-filter-modal2.js';
|
37
|
+
import { d as defineCustomElement$j } from './snk-filter-modal-item2.js';
|
35
38
|
import { d as defineCustomElement$i } from './snk-filter-param-config2.js';
|
36
39
|
import { d as defineCustomElement$h } from './snk-form-config2.js';
|
37
40
|
import { d as defineCustomElement$g } from './snk-form-summary2.js';
|
@@ -465,7 +468,7 @@ function defineCustomElement$1() {
|
|
465
468
|
if (typeof customElements === "undefined") {
|
466
469
|
return;
|
467
470
|
}
|
468
|
-
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-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-param-config", "snk-form-config", "snk-form-summary", "snk-form-view", "snk-grid", "snk-grid-config", "snk-guides-viewer", "snk-layout-form-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"];
|
471
|
+
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-layout-form-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"];
|
469
472
|
components.forEach(tagName => { switch (tagName) {
|
470
473
|
case "snk-crud":
|
471
474
|
if (!customElements.get(tagName)) {
|
@@ -474,110 +477,125 @@ function defineCustomElement$1() {
|
|
474
477
|
break;
|
475
478
|
case "config-header":
|
476
479
|
if (!customElements.get(tagName)) {
|
477
|
-
defineCustomElement$
|
480
|
+
defineCustomElement$H();
|
478
481
|
}
|
479
482
|
break;
|
480
483
|
case "configs-button":
|
481
484
|
if (!customElements.get(tagName)) {
|
482
|
-
defineCustomElement$
|
485
|
+
defineCustomElement$G();
|
483
486
|
}
|
484
487
|
break;
|
485
488
|
case "field-config":
|
486
489
|
if (!customElements.get(tagName)) {
|
487
|
-
defineCustomElement$
|
490
|
+
defineCustomElement$F();
|
488
491
|
}
|
489
492
|
break;
|
490
493
|
case "field-item":
|
491
494
|
if (!customElements.get(tagName)) {
|
492
|
-
defineCustomElement$
|
495
|
+
defineCustomElement$E();
|
493
496
|
}
|
494
497
|
break;
|
495
498
|
case "fields-layout":
|
496
499
|
if (!customElements.get(tagName)) {
|
497
|
-
defineCustomElement$
|
500
|
+
defineCustomElement$D();
|
498
501
|
}
|
499
502
|
break;
|
500
503
|
case "fields-selector":
|
501
504
|
if (!customElements.get(tagName)) {
|
502
|
-
defineCustomElement$
|
505
|
+
defineCustomElement$C();
|
503
506
|
}
|
504
507
|
break;
|
505
508
|
case "guides-configurator":
|
506
509
|
if (!customElements.get(tagName)) {
|
507
|
-
defineCustomElement$
|
510
|
+
defineCustomElement$B();
|
508
511
|
}
|
509
512
|
break;
|
510
513
|
case "snk-actions-button":
|
511
514
|
if (!customElements.get(tagName)) {
|
512
|
-
defineCustomElement$
|
515
|
+
defineCustomElement$A();
|
513
516
|
}
|
514
517
|
break;
|
515
518
|
case "snk-attach":
|
516
519
|
if (!customElements.get(tagName)) {
|
517
|
-
defineCustomElement$
|
520
|
+
defineCustomElement$z();
|
518
521
|
}
|
519
522
|
break;
|
520
523
|
case "snk-configurator":
|
521
524
|
if (!customElements.get(tagName)) {
|
522
|
-
defineCustomElement$
|
525
|
+
defineCustomElement$y();
|
523
526
|
}
|
524
527
|
break;
|
525
528
|
case "snk-data-exporter":
|
526
529
|
if (!customElements.get(tagName)) {
|
527
|
-
defineCustomElement$
|
530
|
+
defineCustomElement$x();
|
528
531
|
}
|
529
532
|
break;
|
530
533
|
case "snk-data-unit":
|
531
534
|
if (!customElements.get(tagName)) {
|
532
|
-
defineCustomElement$
|
535
|
+
defineCustomElement$w();
|
536
|
+
}
|
537
|
+
break;
|
538
|
+
case "snk-default-filter":
|
539
|
+
if (!customElements.get(tagName)) {
|
540
|
+
defineCustomElement$v();
|
533
541
|
}
|
534
542
|
break;
|
535
543
|
case "snk-detail-view":
|
536
544
|
if (!customElements.get(tagName)) {
|
537
|
-
defineCustomElement$
|
545
|
+
defineCustomElement$u();
|
538
546
|
}
|
539
547
|
break;
|
540
548
|
case "snk-exporter-email-sender":
|
541
549
|
if (!customElements.get(tagName)) {
|
542
|
-
defineCustomElement$
|
550
|
+
defineCustomElement$t();
|
543
551
|
}
|
544
552
|
break;
|
545
553
|
case "snk-expression-group":
|
546
554
|
if (!customElements.get(tagName)) {
|
547
|
-
defineCustomElement$
|
555
|
+
defineCustomElement$s();
|
548
556
|
}
|
549
557
|
break;
|
550
558
|
case "snk-expression-item":
|
551
559
|
if (!customElements.get(tagName)) {
|
552
|
-
defineCustomElement$
|
560
|
+
defineCustomElement$r();
|
553
561
|
}
|
554
562
|
break;
|
555
563
|
case "snk-filter-advanced-mode":
|
556
564
|
if (!customElements.get(tagName)) {
|
557
|
-
defineCustomElement$
|
565
|
+
defineCustomElement$q();
|
558
566
|
}
|
559
567
|
break;
|
560
568
|
case "snk-filter-assistent-mode":
|
561
569
|
if (!customElements.get(tagName)) {
|
562
|
-
defineCustomElement$
|
570
|
+
defineCustomElement$p();
|
563
571
|
}
|
564
572
|
break;
|
565
573
|
case "snk-filter-bar":
|
566
574
|
if (!customElements.get(tagName)) {
|
567
|
-
defineCustomElement$
|
575
|
+
defineCustomElement$o();
|
568
576
|
}
|
569
577
|
break;
|
570
578
|
case "snk-filter-detail":
|
571
579
|
if (!customElements.get(tagName)) {
|
572
|
-
defineCustomElement$
|
580
|
+
defineCustomElement$n();
|
573
581
|
}
|
574
582
|
break;
|
575
583
|
case "snk-filter-field-search":
|
576
584
|
if (!customElements.get(tagName)) {
|
577
|
-
defineCustomElement$
|
585
|
+
defineCustomElement$m();
|
578
586
|
}
|
579
587
|
break;
|
580
588
|
case "snk-filter-item":
|
589
|
+
if (!customElements.get(tagName)) {
|
590
|
+
defineCustomElement$l();
|
591
|
+
}
|
592
|
+
break;
|
593
|
+
case "snk-filter-modal":
|
594
|
+
if (!customElements.get(tagName)) {
|
595
|
+
defineCustomElement$k();
|
596
|
+
}
|
597
|
+
break;
|
598
|
+
case "snk-filter-modal-item":
|
581
599
|
if (!customElements.get(tagName)) {
|
582
600
|
defineCustomElement$j();
|
583
601
|
}
|
@@ -236,6 +236,8 @@ const SnkDataUnit = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
236
236
|
}
|
237
237
|
/**
|
238
238
|
* Obtém o dataUnit.
|
239
|
+
* @returns {Promise<DataUnit>} Uma promessa que resolve com a instância do DataUnit.
|
240
|
+
* @async
|
239
241
|
*/
|
240
242
|
async getDataUnit() {
|
241
243
|
return new Promise((resolve) => {
|
@@ -249,25 +251,33 @@ const SnkDataUnit = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
249
251
|
}
|
250
252
|
/**
|
251
253
|
* Método que retorna a lista de IDs dos registros selecionados.
|
252
|
-
* @returns Retorna a lista de IDs dos registros selecionados.
|
254
|
+
* @returns {Promise<Array<IRecordID>>} Retorna uma promessa que resolve com a lista de IDs dos registros selecionados.
|
255
|
+
* @async
|
253
256
|
*/
|
254
257
|
async getSelectedRecordsIDsInfo() {
|
255
258
|
return getSelectedRecordsIDsInfo(this.dataUnit);
|
256
259
|
}
|
257
260
|
/**
|
258
261
|
* Retorna os campos que possuem a propriedade "rmp" (Row Metadata Provider).
|
262
|
+
* @returns {Promise<string[]>} Uma promessa que resolve com um array de nomes de campos.
|
263
|
+
* @async
|
259
264
|
*/
|
260
265
|
async getFieldsWithRmp() {
|
261
266
|
return this._fieldsWithRmp;
|
262
267
|
}
|
263
268
|
/**
|
264
269
|
* Retorna os campos que possuem a propriedade "rm_precision" (Row Metadata Precision).
|
270
|
+
* @returns {Promise<string[]>} Uma promessa que resolve com um array de nomes de campos.
|
271
|
+
* @async
|
265
272
|
*/
|
266
273
|
async getFieldsWithRmPrecision() {
|
267
274
|
return this._fieldsWithRmPrecision;
|
268
275
|
}
|
269
276
|
/**
|
270
277
|
* Busca os metadados da linha selecionada.
|
278
|
+
* @param {Record | string} [record] - O registro ou ID do registro para o qual buscar os metadados. Se omitido, usa o registro selecionado.
|
279
|
+
* @returns {Promise<RowMetadata>} Uma promessa que resolve com os metadados da linha.
|
280
|
+
* @async
|
271
281
|
*/
|
272
282
|
async getRowMetadata(record) {
|
273
283
|
return this.doGetRowMetadata(record);
|
@@ -798,7 +808,7 @@ const SnkDataUnit = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
798
808
|
this.dataUnit.addInterceptor(this);
|
799
809
|
if ((_b = this.dataUnit.records) === null || _b === void 0 ? void 0 : _b.length) {
|
800
810
|
const { records } = this.getMetadataByRow(this.dataUnit);
|
801
|
-
this.dataUnit.records
|
811
|
+
this.dataUnit.setRecordsKeepingSelection(records);
|
802
812
|
}
|
803
813
|
this.dataState = await this.buildDataState();
|
804
814
|
let resolver;
|
@@ -14,27 +14,30 @@ import { T as TaskbarElement, d as defineCustomElement$5 } from './snk-taskbar2.
|
|
14
14
|
import { T as TaskbarProcessor } from './ContinuousInsertUtils.js';
|
15
15
|
import { SelectionMode } from '@sankhyalabs/core/dist/dataunit/DataUnit';
|
16
16
|
import { buildFieldSearch, SHORTCUT_SEARCH_FIELD } from '@sankhyalabs/ezui/dist/collection/utils';
|
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$
|
17
|
+
import { d as defineCustomElement$F } from './config-header2.js';
|
18
|
+
import { d as defineCustomElement$E } from './configs-button2.js';
|
19
|
+
import { d as defineCustomElement$D } from './field-config2.js';
|
20
|
+
import { d as defineCustomElement$C } from './field-item2.js';
|
21
|
+
import { d as defineCustomElement$B } from './fields-layout2.js';
|
22
|
+
import { d as defineCustomElement$A } from './fields-selector2.js';
|
23
|
+
import { d as defineCustomElement$z } from './guides-configurator2.js';
|
24
|
+
import { d as defineCustomElement$y } from './snk-actions-button2.js';
|
25
|
+
import { d as defineCustomElement$x } from './snk-attach2.js';
|
26
|
+
import { d as defineCustomElement$w } from './snk-configurator2.js';
|
27
|
+
import { d as defineCustomElement$v } from './snk-data-exporter2.js';
|
28
|
+
import { d as defineCustomElement$u } from './snk-data-unit2.js';
|
29
|
+
import { d as defineCustomElement$t } from './snk-default-filter2.js';
|
30
|
+
import { d as defineCustomElement$s } from './snk-exporter-email-sender2.js';
|
31
|
+
import { d as defineCustomElement$r } from './snk-expression-group2.js';
|
32
|
+
import { d as defineCustomElement$q } from './snk-expression-item2.js';
|
33
|
+
import { d as defineCustomElement$p } from './snk-filter-advanced-mode2.js';
|
34
|
+
import { d as defineCustomElement$o } from './snk-filter-assistent-mode2.js';
|
35
|
+
import { d as defineCustomElement$n } from './snk-filter-bar2.js';
|
36
|
+
import { d as defineCustomElement$m } from './snk-filter-detail2.js';
|
37
|
+
import { d as defineCustomElement$l } from './snk-filter-field-search2.js';
|
38
|
+
import { d as defineCustomElement$k } from './snk-filter-item2.js';
|
39
|
+
import { d as defineCustomElement$j } from './snk-filter-modal2.js';
|
40
|
+
import { d as defineCustomElement$i } from './snk-filter-modal-item2.js';
|
38
41
|
import { d as defineCustomElement$h } from './snk-filter-param-config2.js';
|
39
42
|
import { d as defineCustomElement$f } from './snk-form-summary2.js';
|
40
43
|
import { d as defineCustomElement$e } from './snk-form-view2.js';
|
@@ -670,7 +673,7 @@ function defineCustomElement$1() {
|
|
670
673
|
if (typeof customElements === "undefined") {
|
671
674
|
return;
|
672
675
|
}
|
673
|
-
const components = ["snk-guides-viewer", "config-header", "configs-button", "field-config", "field-item", "fields-layout", "fields-selector", "guides-configurator", "snk-actions-button", "snk-attach", "snk-configurator", "snk-data-exporter", "snk-data-unit", "snk-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-param-config", "snk-form-config", "snk-form-summary", "snk-form-view", "snk-grid", "snk-grid-config", "snk-layout-form-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"];
|
676
|
+
const components = ["snk-guides-viewer", "config-header", "configs-button", "field-config", "field-item", "fields-layout", "fields-selector", "guides-configurator", "snk-actions-button", "snk-attach", "snk-configurator", "snk-data-exporter", "snk-data-unit", "snk-default-filter", "snk-detail-view", "snk-exporter-email-sender", "snk-expression-group", "snk-expression-item", "snk-filter-advanced-mode", "snk-filter-assistent-mode", "snk-filter-bar", "snk-filter-detail", "snk-filter-field-search", "snk-filter-item", "snk-filter-modal", "snk-filter-modal-item", "snk-filter-param-config", "snk-form-config", "snk-form-summary", "snk-form-view", "snk-grid", "snk-grid-config", "snk-layout-form-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"];
|
674
677
|
components.forEach(tagName => { switch (tagName) {
|
675
678
|
case "snk-guides-viewer":
|
676
679
|
if (!customElements.get(tagName)) {
|
@@ -679,62 +682,67 @@ function defineCustomElement$1() {
|
|
679
682
|
break;
|
680
683
|
case "config-header":
|
681
684
|
if (!customElements.get(tagName)) {
|
682
|
-
defineCustomElement$
|
685
|
+
defineCustomElement$F();
|
683
686
|
}
|
684
687
|
break;
|
685
688
|
case "configs-button":
|
686
689
|
if (!customElements.get(tagName)) {
|
687
|
-
defineCustomElement$
|
690
|
+
defineCustomElement$E();
|
688
691
|
}
|
689
692
|
break;
|
690
693
|
case "field-config":
|
691
694
|
if (!customElements.get(tagName)) {
|
692
|
-
defineCustomElement$
|
695
|
+
defineCustomElement$D();
|
693
696
|
}
|
694
697
|
break;
|
695
698
|
case "field-item":
|
696
699
|
if (!customElements.get(tagName)) {
|
697
|
-
defineCustomElement$
|
700
|
+
defineCustomElement$C();
|
698
701
|
}
|
699
702
|
break;
|
700
703
|
case "fields-layout":
|
701
704
|
if (!customElements.get(tagName)) {
|
702
|
-
defineCustomElement$
|
705
|
+
defineCustomElement$B();
|
703
706
|
}
|
704
707
|
break;
|
705
708
|
case "fields-selector":
|
706
709
|
if (!customElements.get(tagName)) {
|
707
|
-
defineCustomElement$
|
710
|
+
defineCustomElement$A();
|
708
711
|
}
|
709
712
|
break;
|
710
713
|
case "guides-configurator":
|
711
714
|
if (!customElements.get(tagName)) {
|
712
|
-
defineCustomElement$
|
715
|
+
defineCustomElement$z();
|
713
716
|
}
|
714
717
|
break;
|
715
718
|
case "snk-actions-button":
|
716
719
|
if (!customElements.get(tagName)) {
|
717
|
-
defineCustomElement$
|
720
|
+
defineCustomElement$y();
|
718
721
|
}
|
719
722
|
break;
|
720
723
|
case "snk-attach":
|
721
724
|
if (!customElements.get(tagName)) {
|
722
|
-
defineCustomElement$
|
725
|
+
defineCustomElement$x();
|
723
726
|
}
|
724
727
|
break;
|
725
728
|
case "snk-configurator":
|
726
729
|
if (!customElements.get(tagName)) {
|
727
|
-
defineCustomElement$
|
730
|
+
defineCustomElement$w();
|
728
731
|
}
|
729
732
|
break;
|
730
733
|
case "snk-data-exporter":
|
731
734
|
if (!customElements.get(tagName)) {
|
732
|
-
defineCustomElement$
|
735
|
+
defineCustomElement$v();
|
733
736
|
}
|
734
737
|
break;
|
735
738
|
case "snk-data-unit":
|
736
739
|
if (!customElements.get(tagName)) {
|
737
|
-
defineCustomElement$
|
740
|
+
defineCustomElement$u();
|
741
|
+
}
|
742
|
+
break;
|
743
|
+
case "snk-default-filter":
|
744
|
+
if (!customElements.get(tagName)) {
|
745
|
+
defineCustomElement$t();
|
738
746
|
}
|
739
747
|
break;
|
740
748
|
case "snk-detail-view":
|
@@ -744,45 +752,55 @@ function defineCustomElement$1() {
|
|
744
752
|
break;
|
745
753
|
case "snk-exporter-email-sender":
|
746
754
|
if (!customElements.get(tagName)) {
|
747
|
-
defineCustomElement$
|
755
|
+
defineCustomElement$s();
|
748
756
|
}
|
749
757
|
break;
|
750
758
|
case "snk-expression-group":
|
751
759
|
if (!customElements.get(tagName)) {
|
752
|
-
defineCustomElement$
|
760
|
+
defineCustomElement$r();
|
753
761
|
}
|
754
762
|
break;
|
755
763
|
case "snk-expression-item":
|
756
764
|
if (!customElements.get(tagName)) {
|
757
|
-
defineCustomElement$
|
765
|
+
defineCustomElement$q();
|
758
766
|
}
|
759
767
|
break;
|
760
768
|
case "snk-filter-advanced-mode":
|
761
769
|
if (!customElements.get(tagName)) {
|
762
|
-
defineCustomElement$
|
770
|
+
defineCustomElement$p();
|
763
771
|
}
|
764
772
|
break;
|
765
773
|
case "snk-filter-assistent-mode":
|
766
774
|
if (!customElements.get(tagName)) {
|
767
|
-
defineCustomElement$
|
775
|
+
defineCustomElement$o();
|
768
776
|
}
|
769
777
|
break;
|
770
778
|
case "snk-filter-bar":
|
771
779
|
if (!customElements.get(tagName)) {
|
772
|
-
defineCustomElement$
|
780
|
+
defineCustomElement$n();
|
773
781
|
}
|
774
782
|
break;
|
775
783
|
case "snk-filter-detail":
|
776
784
|
if (!customElements.get(tagName)) {
|
777
|
-
defineCustomElement$
|
785
|
+
defineCustomElement$m();
|
778
786
|
}
|
779
787
|
break;
|
780
788
|
case "snk-filter-field-search":
|
781
789
|
if (!customElements.get(tagName)) {
|
782
|
-
defineCustomElement$
|
790
|
+
defineCustomElement$l();
|
783
791
|
}
|
784
792
|
break;
|
785
793
|
case "snk-filter-item":
|
794
|
+
if (!customElements.get(tagName)) {
|
795
|
+
defineCustomElement$k();
|
796
|
+
}
|
797
|
+
break;
|
798
|
+
case "snk-filter-modal":
|
799
|
+
if (!customElements.get(tagName)) {
|
800
|
+
defineCustomElement$j();
|
801
|
+
}
|
802
|
+
break;
|
803
|
+
case "snk-filter-modal-item":
|
786
804
|
if (!customElements.get(tagName)) {
|
787
805
|
defineCustomElement$i();
|
788
806
|
}
|
@@ -1260,7 +1278,7 @@ function defineCustomElement() {
|
|
1260
1278
|
if (typeof customElements === "undefined") {
|
1261
1279
|
return;
|
1262
1280
|
}
|
1263
|
-
const components = ["snk-detail-view", "snk-actions-button", "snk-attach", "snk-configurator", "snk-data-exporter", "snk-data-unit", "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-param-config", "snk-form-summary", "snk-form-view", "snk-grid", "snk-grid-config", "snk-layout-form-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"];
|
1281
|
+
const components = ["snk-detail-view", "snk-actions-button", "snk-attach", "snk-configurator", "snk-data-exporter", "snk-data-unit", "snk-default-filter", "snk-exporter-email-sender", "snk-expression-group", "snk-expression-item", "snk-filter-advanced-mode", "snk-filter-assistent-mode", "snk-filter-bar", "snk-filter-detail", "snk-filter-field-search", "snk-filter-item", "snk-filter-modal", "snk-filter-modal-item", "snk-filter-param-config", "snk-form-summary", "snk-form-view", "snk-grid", "snk-grid-config", "snk-layout-form-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"];
|
1264
1282
|
components.forEach(tagName => { switch (tagName) {
|
1265
1283
|
case "snk-detail-view":
|
1266
1284
|
if (!customElements.get(tagName)) {
|
@@ -1269,70 +1287,85 @@ function defineCustomElement() {
|
|
1269
1287
|
break;
|
1270
1288
|
case "snk-actions-button":
|
1271
1289
|
if (!customElements.get(tagName)) {
|
1272
|
-
defineCustomElement$
|
1290
|
+
defineCustomElement$y();
|
1273
1291
|
}
|
1274
1292
|
break;
|
1275
1293
|
case "snk-attach":
|
1276
1294
|
if (!customElements.get(tagName)) {
|
1277
|
-
defineCustomElement$
|
1295
|
+
defineCustomElement$x();
|
1278
1296
|
}
|
1279
1297
|
break;
|
1280
1298
|
case "snk-configurator":
|
1281
1299
|
if (!customElements.get(tagName)) {
|
1282
|
-
defineCustomElement$
|
1300
|
+
defineCustomElement$w();
|
1283
1301
|
}
|
1284
1302
|
break;
|
1285
1303
|
case "snk-data-exporter":
|
1286
1304
|
if (!customElements.get(tagName)) {
|
1287
|
-
defineCustomElement$
|
1305
|
+
defineCustomElement$v();
|
1288
1306
|
}
|
1289
1307
|
break;
|
1290
1308
|
case "snk-data-unit":
|
1291
1309
|
if (!customElements.get(tagName)) {
|
1292
|
-
defineCustomElement$
|
1310
|
+
defineCustomElement$u();
|
1311
|
+
}
|
1312
|
+
break;
|
1313
|
+
case "snk-default-filter":
|
1314
|
+
if (!customElements.get(tagName)) {
|
1315
|
+
defineCustomElement$t();
|
1293
1316
|
}
|
1294
1317
|
break;
|
1295
1318
|
case "snk-exporter-email-sender":
|
1296
1319
|
if (!customElements.get(tagName)) {
|
1297
|
-
defineCustomElement$
|
1320
|
+
defineCustomElement$s();
|
1298
1321
|
}
|
1299
1322
|
break;
|
1300
1323
|
case "snk-expression-group":
|
1301
1324
|
if (!customElements.get(tagName)) {
|
1302
|
-
defineCustomElement$
|
1325
|
+
defineCustomElement$r();
|
1303
1326
|
}
|
1304
1327
|
break;
|
1305
1328
|
case "snk-expression-item":
|
1306
1329
|
if (!customElements.get(tagName)) {
|
1307
|
-
defineCustomElement$
|
1330
|
+
defineCustomElement$q();
|
1308
1331
|
}
|
1309
1332
|
break;
|
1310
1333
|
case "snk-filter-advanced-mode":
|
1311
1334
|
if (!customElements.get(tagName)) {
|
1312
|
-
defineCustomElement$
|
1335
|
+
defineCustomElement$p();
|
1313
1336
|
}
|
1314
1337
|
break;
|
1315
1338
|
case "snk-filter-assistent-mode":
|
1316
1339
|
if (!customElements.get(tagName)) {
|
1317
|
-
defineCustomElement$
|
1340
|
+
defineCustomElement$o();
|
1318
1341
|
}
|
1319
1342
|
break;
|
1320
1343
|
case "snk-filter-bar":
|
1321
1344
|
if (!customElements.get(tagName)) {
|
1322
|
-
defineCustomElement$
|
1345
|
+
defineCustomElement$n();
|
1323
1346
|
}
|
1324
1347
|
break;
|
1325
1348
|
case "snk-filter-detail":
|
1326
1349
|
if (!customElements.get(tagName)) {
|
1327
|
-
defineCustomElement$
|
1350
|
+
defineCustomElement$m();
|
1328
1351
|
}
|
1329
1352
|
break;
|
1330
1353
|
case "snk-filter-field-search":
|
1331
1354
|
if (!customElements.get(tagName)) {
|
1332
|
-
defineCustomElement$
|
1355
|
+
defineCustomElement$l();
|
1333
1356
|
}
|
1334
1357
|
break;
|
1335
1358
|
case "snk-filter-item":
|
1359
|
+
if (!customElements.get(tagName)) {
|
1360
|
+
defineCustomElement$k();
|
1361
|
+
}
|
1362
|
+
break;
|
1363
|
+
case "snk-filter-modal":
|
1364
|
+
if (!customElements.get(tagName)) {
|
1365
|
+
defineCustomElement$j();
|
1366
|
+
}
|
1367
|
+
break;
|
1368
|
+
case "snk-filter-modal-item":
|
1336
1369
|
if (!customElements.get(tagName)) {
|
1337
1370
|
defineCustomElement$i();
|
1338
1371
|
}
|
@@ -13,6 +13,7 @@ const SnkEntityList$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
13
13
|
this.rightListSlotBuilder = undefined;
|
14
14
|
this.maxHeightList = "";
|
15
15
|
this.value = undefined;
|
16
|
+
this.errorMessage = undefined;
|
16
17
|
}
|
17
18
|
async reloadList() {
|
18
19
|
this.loadListSource();
|
@@ -23,6 +24,7 @@ const SnkEntityList$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
23
24
|
}
|
24
25
|
ezListChangeListener(evt) {
|
25
26
|
var _a, _b;
|
27
|
+
this.errorMessage = undefined;
|
26
28
|
const configCopy = ObjectUtils.copy(this.config);
|
27
29
|
(_a = (this.getListConfigValue(configCopy))) === null || _a === void 0 ? void 0 : _a.forEach(value => {
|
28
30
|
var _a, _b;
|
@@ -75,7 +77,11 @@ const SnkEntityList$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
75
77
|
onEzSearchChange(evt) {
|
76
78
|
var _a, _b, _c, _d;
|
77
79
|
const newValueIsEmpty = ObjectUtils.isEmptySafetyCheck(evt.detail);
|
78
|
-
const hasConfingOnList = (_a = this.getListConfigValue(this.config)) === null || _a === void 0 ? void 0 : _a.find((
|
80
|
+
const hasConfingOnList = (_a = this.getListConfigValue(this.config)) === null || _a === void 0 ? void 0 : _a.find((item) => {
|
81
|
+
var _a;
|
82
|
+
const itemId = typeof item.id === 'number' ? String(item.id) : item.id;
|
83
|
+
return itemId === ((_a = evt.detail) === null || _a === void 0 ? void 0 : _a.value);
|
84
|
+
});
|
79
85
|
if (newValueIsEmpty || hasConfingOnList) {
|
80
86
|
return;
|
81
87
|
}
|
@@ -100,10 +106,11 @@ const SnkEntityList$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
100
106
|
return (_d = (_b = (_a = config.value) === null || _a === void 0 ? void 0 : _a.elements) !== null && _b !== void 0 ? _b : (_c = config === null || config === void 0 ? void 0 : config.value) === null || _c === void 0 ? void 0 : _c.members) !== null && _d !== void 0 ? _d : config === null || config === void 0 ? void 0 : config.value;
|
101
107
|
}
|
102
108
|
render() {
|
103
|
-
var _a, _b, _c;
|
109
|
+
var _a, _b, _c, _d, _e;
|
104
110
|
const isSearchPlus = ((_a = this.config.props) === null || _a === void 0 ? void 0 : _a["useSearchPlus"]) == true;
|
105
111
|
const TagName = isSearchPlus ? "ez-search-plus" : "ez-search";
|
106
|
-
return (h(Host, null, h(TagName, { ref: elem => this._searchElement = elem, optionLoader: argument => this.optionLoader(argument), label: (_b = this.config) === null || _b === void 0 ? void 0 : _b.label, onEzChange: evt => this.onEzSearchChange(evt), suppressEmptyOption: true, stopPropagateEnterKeyEvent: true }), ((
|
112
|
+
return (h(Host, null, h("ez-tooltip", { active: !this.config.enabled, message: this.config.disabledMessage, type: 'warning' }, h(TagName, { ref: elem => this._searchElement = elem, optionLoader: argument => this.optionLoader(argument), label: (_b = this.config) === null || _b === void 0 ? void 0 : _b.label, enabled: (_c = this.config) === null || _c === void 0 ? void 0 : _c.enabled, onEzChange: evt => this.onEzSearchChange(evt), suppressEmptyOption: true, stopPropagateEnterKeyEvent: true }), ((_d = this._ezListSource) === null || _d === void 0 ? void 0 : _d.length) > 0 && (h("label", { class: "label" }, this.getMessage("snkEntityList.selected"))), h("div", { style: this.maxHeightList ? { 'max-height': this.maxHeightList } : {}, class: { "snk-entity-list--overflow": !!this.maxHeightList } }, h("ez-list", { ref: (el) => this._ezList = el, id: "snkEntityList", enabled: (_e = this.config) === null || _e === void 0 ? void 0 : _e.enabled, listMode: "check", dataSource: this._ezListSource, hoverFeedback: true, itemSlotBuilder: this.rightListSlotBuilder, onEzCheckChange: evt => this.ezListChangeListener(evt) })), this.errorMessage &&
|
113
|
+
h("span", { class: 'ez-text ez-text--small ez-text--error ez-margin-horizontal--medium' }, this.errorMessage))));
|
107
114
|
}
|
108
115
|
static get watchers() { return {
|
109
116
|
"config": ["observeConfig"]
|
@@ -114,6 +121,7 @@ const SnkEntityList$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
114
121
|
"rightListSlotBuilder": [1040],
|
115
122
|
"maxHeightList": [1, "max-height-list"],
|
116
123
|
"value": [1040],
|
124
|
+
"errorMessage": [1537, "error-message"],
|
117
125
|
"_ezListSource": [32],
|
118
126
|
"reloadList": [64]
|
119
127
|
}]);
|