@sankhyalabs/sankhyablocks 0.0.0-bugfix-dev-KB-78242.2 → 0.0.0-bugfix-dev-KB-80932.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{ConfigStorage-f079f5fd.js → ConfigStorage-d024aec8.js} +2 -2
- package/dist/cjs/{ContinuousInsertUtils-64e47516.js → ContinuousInsertUtils-54d44192.js} +5 -5
- package/dist/cjs/{DataFetcher-e059eb72.js → DataFetcher-65879b2c.js} +188 -56
- package/dist/cjs/{SnkFormConfigManager-63369164.js → SnkFormConfigManager-ae3185b2.js} +2 -2
- package/dist/cjs/{auth-fetcher-4f853233.js → auth-fetcher-8480751c.js} +1 -1
- package/dist/cjs/{dataunit-fetcher-228016f4.js → dataunit-fetcher-8ea97d88.js} +2 -2
- package/dist/cjs/{form-config-fetcher-39397ac5.js → form-config-fetcher-90126e4c.js} +38 -1
- package/dist/cjs/index-f9e81701.js +8 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{pesquisa-fetcher-a9bfeb22.js → pesquisa-fetcher-f3454c23.js} +179 -1
- package/dist/cjs/pesquisa-grid_2.cjs.entry.js +133 -0
- package/dist/cjs/sankhyablocks.cjs.js +1 -1
- package/dist/cjs/{snk-actions-button_4.cjs.entry.js → snk-actions-button_5.cjs.entry.js} +99 -9
- package/dist/cjs/snk-application.cjs.entry.js +144 -21
- package/dist/cjs/snk-attach.cjs.entry.js +13 -9
- package/dist/cjs/snk-config-options_3.cjs.entry.js +4 -4
- package/dist/cjs/snk-crud.cjs.entry.js +8 -7
- package/dist/cjs/snk-data-exporter.cjs.entry.js +29 -18
- package/dist/cjs/{snk-data-unit-3d9b6ed4.js → snk-data-unit-72ef8777.js} +1 -1
- package/dist/cjs/snk-data-unit.cjs.entry.js +3 -3
- package/dist/cjs/snk-detail-view.cjs.entry.js +7 -7
- package/dist/cjs/snk-filter-bar_4.cjs.entry.js +27 -11
- package/dist/cjs/snk-filter-modal-item.cjs.entry.js +3 -3
- package/dist/cjs/snk-grid.cjs.entry.js +9 -8
- package/dist/cjs/{snk-guides-viewer-2139481c.js → snk-guides-viewer-ea5d0907.js} +5 -5
- package/dist/cjs/snk-guides-viewer.cjs.entry.js +7 -7
- package/dist/cjs/snk-personalized-filter.cjs.entry.js +3 -3
- package/dist/cjs/snk-pesquisa.cjs.entry.js +105 -31
- package/dist/cjs/snk-simple-crud.cjs.entry.js +27 -29
- package/dist/collection/collection-manifest.json +3 -0
- package/dist/collection/components/snk-actions-button/actions/index.js +4 -4
- package/dist/collection/components/snk-application/request-listener/DebouncedRequestListener.js +4 -3
- package/dist/collection/components/snk-application/snk-application.css +34 -0
- package/dist/collection/components/snk-application/snk-application.js +197 -14
- package/dist/collection/components/snk-attach/structure/builder/taskbar-builder.js +8 -4
- package/dist/collection/components/snk-crud/snk-crud.js +39 -20
- package/dist/collection/components/snk-data-exporter/exporter-strategy/ClientSideExporterStrategy.js +11 -5
- package/dist/collection/components/snk-data-exporter/exporter-strategy/ServerSideExporterStrategy.js +11 -4
- package/dist/collection/components/snk-data-exporter/interfaces/IExporterProvider.js +1 -1
- package/dist/collection/components/snk-data-exporter/snk-data-exporter.js +1 -3
- package/dist/collection/components/snk-data-exporter/utils/ParserExport.js +1 -1
- package/dist/collection/components/snk-filter-bar/filter-modal/snk-filter-modal.js +3 -1
- package/dist/collection/components/snk-filter-bar/snk-filter-bar.js +40 -8
- package/dist/collection/components/snk-grid/snk-grid.js +39 -20
- package/dist/collection/components/snk-pesquisa/pesquisa-grid/pesquisa-grid.css +10 -0
- package/dist/collection/components/snk-pesquisa/pesquisa-grid/pesquisa-grid.js +190 -0
- package/dist/collection/components/snk-pesquisa/pesquisa-tree/pesquisa-tree.css +25 -0
- package/dist/collection/components/snk-pesquisa/pesquisa-tree/pesquisa-tree.js +179 -0
- package/dist/collection/components/snk-pesquisa/pesquisaHelper.js +89 -0
- package/dist/collection/components/snk-pesquisa/snk-pesquisa.css +24 -5
- package/dist/collection/components/snk-pesquisa/snk-pesquisa.js +168 -32
- package/dist/collection/components/snk-simple-crud/snk-simple-crud.js +56 -41
- package/dist/collection/components/snk-simple-form-config/snk-simple-form-config.css +22 -0
- package/dist/collection/components/snk-simple-form-config/snk-simple-form-config.js +181 -0
- package/dist/collection/lib/dataUnit/dataUnitInMemoryUtils.js +1 -1
- package/dist/collection/lib/http/data-fetcher/fetchers/form-config-fetcher.js +41 -4
- package/dist/collection/lib/http/data-fetcher/fetchers/pesquisa-fetcher.js +92 -3
- package/dist/components/ContinuousInsertUtils.js +2 -3
- package/dist/components/DataFetcher.js +188 -56
- package/dist/components/ISave.js +346 -1
- package/dist/components/dataunit-fetcher.js +1 -1
- package/dist/components/form-config-fetcher.js +37 -0
- package/dist/components/index.d.ts +3 -0
- package/dist/components/index.js +3 -0
- package/dist/components/pesquisa-grid.d.ts +11 -0
- package/dist/components/pesquisa-grid.js +6 -0
- package/dist/components/pesquisa-grid2.js +86 -0
- package/dist/components/pesquisa-tree.d.ts +11 -0
- package/dist/components/pesquisa-tree.js +6 -0
- package/dist/components/pesquisa-tree2.js +82 -0
- package/dist/components/snk-actions-button2.js +4 -5
- package/dist/components/snk-application2.js +159 -20
- package/dist/components/snk-attach2.js +20 -35
- package/dist/components/snk-crud.js +66 -59
- package/dist/components/snk-data-exporter2.js +25 -15
- package/dist/components/snk-detail-view2.js +84 -94
- package/dist/components/snk-filter-bar2.js +23 -8
- package/dist/components/snk-filter-modal.js +3 -1
- package/dist/components/snk-grid2.js +5 -4
- package/dist/components/snk-pesquisa2.js +118 -33
- package/dist/components/snk-simple-crud2.js +35 -56
- package/dist/components/snk-simple-form-config.d.ts +11 -0
- package/dist/components/snk-simple-form-config.js +6 -0
- package/dist/components/snk-simple-form-config2.js +120 -0
- package/dist/components/teste-pesquisa.js +13 -1
- package/dist/esm/{ConfigStorage-6514d66e.js → ConfigStorage-373bb440.js} +2 -2
- package/dist/esm/{ContinuousInsertUtils-b62906f9.js → ContinuousInsertUtils-25e7bd9a.js} +5 -5
- package/dist/esm/{DataFetcher-5034df59.js → DataFetcher-5221b992.js} +188 -56
- package/dist/esm/{SnkFormConfigManager-b409c745.js → SnkFormConfigManager-b65e6db0.js} +2 -2
- package/dist/esm/{auth-fetcher-ca5d3a49.js → auth-fetcher-e32fe8a4.js} +1 -1
- package/dist/esm/{dataunit-fetcher-56cb648b.js → dataunit-fetcher-8dd93d8b.js} +2 -2
- package/dist/esm/{form-config-fetcher-a7d3e277.js → form-config-fetcher-126e2471.js} +38 -1
- package/dist/esm/index-a7d3d3f1.js +8 -4
- package/dist/esm/loader.js +1 -1
- package/dist/{components/pesquisa-fetcher.js → esm/pesquisa-fetcher-0af41f09.js} +180 -3
- package/dist/esm/pesquisa-grid_2.entry.js +128 -0
- package/dist/esm/sankhyablocks.js +1 -1
- package/dist/esm/{snk-actions-button_4.entry.js → snk-actions-button_5.entry.js} +99 -10
- package/dist/esm/snk-application.entry.js +146 -23
- package/dist/esm/snk-attach.entry.js +13 -9
- package/dist/esm/snk-config-options_3.entry.js +4 -4
- package/dist/esm/snk-crud.entry.js +8 -7
- package/dist/esm/snk-data-exporter.entry.js +29 -18
- package/dist/esm/{snk-data-unit-9fa7d2b9.js → snk-data-unit-11a49fc3.js} +1 -1
- package/dist/esm/snk-data-unit.entry.js +3 -3
- package/dist/esm/snk-detail-view.entry.js +7 -7
- package/dist/esm/snk-filter-bar_4.entry.js +28 -12
- package/dist/esm/snk-filter-modal-item.entry.js +3 -3
- package/dist/esm/snk-grid.entry.js +9 -8
- package/dist/esm/{snk-guides-viewer-b7ed39eb.js → snk-guides-viewer-830f5fb9.js} +5 -5
- package/dist/esm/snk-guides-viewer.entry.js +7 -7
- package/dist/esm/snk-personalized-filter.entry.js +3 -3
- package/dist/esm/snk-pesquisa.entry.js +105 -31
- package/dist/esm/snk-simple-crud.entry.js +27 -29
- package/dist/sankhyablocks/{p-0e206e62.js → p-05b6ff91.js} +1 -1
- package/dist/sankhyablocks/p-09067bee.entry.js +1 -0
- package/dist/sankhyablocks/p-0cda2226.entry.js +11 -0
- package/dist/sankhyablocks/p-1435701f.js +26 -0
- package/dist/sankhyablocks/{p-e97be1c8.js → p-171b7623.js} +1 -1
- package/dist/sankhyablocks/{p-9ffd9fc7.js → p-19dc71e9.js} +1 -1
- package/dist/sankhyablocks/{p-0d2a2e9e.entry.js → p-1a91d1f3.entry.js} +1 -1
- package/dist/sankhyablocks/{p-aa003d4e.entry.js → p-1cf39cfd.entry.js} +1 -1
- package/dist/sankhyablocks/{p-bb8ef149.entry.js → p-254c59d2.entry.js} +1 -1
- package/dist/sankhyablocks/p-422eb699.entry.js +1 -0
- package/dist/sankhyablocks/{p-a2c790ac.entry.js → p-469384a2.entry.js} +1 -1
- package/dist/sankhyablocks/p-54f5354a.entry.js +1 -0
- package/dist/sankhyablocks/{p-342eeb3b.js → p-60e4db34.js} +1 -1
- package/dist/sankhyablocks/p-618a29ed.entry.js +1 -0
- package/dist/sankhyablocks/p-798386c7.js +6 -0
- package/dist/sankhyablocks/{p-fca0e5cc.entry.js → p-82ee6dc3.entry.js} +1 -1
- package/dist/sankhyablocks/{p-e4391e16.js → p-8a1ee5b5.js} +1 -1
- package/dist/sankhyablocks/p-8bd86610.entry.js +1 -0
- package/dist/sankhyablocks/p-b50a0753.entry.js +1 -0
- package/dist/sankhyablocks/p-d62228fb.js +1 -0
- package/dist/sankhyablocks/p-d92d4f91.entry.js +1 -0
- package/dist/sankhyablocks/{p-47d24ac8.js → p-ddefbbc7.js} +1 -1
- package/dist/sankhyablocks/p-e5430b29.entry.js +1 -0
- package/dist/sankhyablocks/p-f0b9303b.js +1 -0
- package/dist/sankhyablocks/p-f258690a.entry.js +1 -0
- package/dist/sankhyablocks/{p-ec43fcc8.entry.js → p-f975370f.entry.js} +1 -1
- package/dist/sankhyablocks/sankhyablocks.esm.js +1 -1
- package/dist/types/components/snk-application/snk-application.d.ts +22 -4
- package/dist/types/components/snk-crud/snk-crud.d.ts +8 -4
- package/dist/types/components/snk-data-exporter/exporter-strategy/ClientSideExporterStrategy.d.ts +1 -0
- package/dist/types/components/snk-data-exporter/exporter-strategy/ServerSideExporterStrategy.d.ts +1 -0
- package/dist/types/components/snk-data-exporter/utils/ParserExport.d.ts +1 -1
- package/dist/types/components/snk-filter-bar/snk-filter-bar.d.ts +6 -1
- package/dist/types/components/snk-grid/snk-grid.d.ts +8 -4
- package/dist/types/components/snk-pesquisa/pesquisa-grid/pesquisa-grid.d.ts +38 -0
- package/dist/types/components/snk-pesquisa/pesquisa-tree/pesquisa-tree.d.ts +29 -0
- package/dist/types/components/snk-pesquisa/pesquisaHelper.d.ts +19 -0
- package/dist/types/components/snk-pesquisa/snk-pesquisa.d.ts +35 -1
- package/dist/types/components/snk-simple-crud/snk-simple-crud.d.ts +10 -4
- package/dist/types/components/snk-simple-form-config/snk-simple-form-config.d.ts +34 -0
- package/dist/types/components.d.ts +244 -23
- package/dist/types/lib/http/data-fetcher/fetchers/form-config-fetcher.d.ts +8 -2
- package/dist/types/lib/http/data-fetcher/fetchers/pesquisa-fetcher.d.ts +10 -1
- package/package.json +1 -1
- package/react/components.d.ts +3 -0
- package/react/components.js +3 -0
- package/react/components.js.map +1 -1
- package/dist/esm/pesquisa-fetcher-6bc2e41a.js +0 -169
- package/dist/sankhyablocks/p-00278e07.js +0 -1
- package/dist/sankhyablocks/p-0387d9d7.entry.js +0 -1
- package/dist/sankhyablocks/p-126c58ea.js +0 -26
- package/dist/sankhyablocks/p-1d3ce0d9.entry.js +0 -1
- package/dist/sankhyablocks/p-341465ce.js +0 -6
- package/dist/sankhyablocks/p-3728d2aa.entry.js +0 -11
- package/dist/sankhyablocks/p-4138da61.entry.js +0 -1
- package/dist/sankhyablocks/p-5d9788b3.entry.js +0 -1
- package/dist/sankhyablocks/p-7075b789.entry.js +0 -1
- package/dist/sankhyablocks/p-aaf94476.js +0 -1
- package/dist/sankhyablocks/p-af7f7b3e.entry.js +0 -1
- package/dist/sankhyablocks/p-d1791da2.entry.js +0 -1
- package/dist/sankhyablocks/p-eb7c9cf4.entry.js +0 -1
|
@@ -3,7 +3,6 @@ import { Action, ElementIDUtils } from '@sankhyalabs/core';
|
|
|
3
3
|
import { S as SnkFormConfigManager } from './SnkFormConfigManager.js';
|
|
4
4
|
import { buildFormMetadata, FormMetadata } from '@sankhyalabs/ezui/dist/collection/utils/form';
|
|
5
5
|
import './DataFetcher.js';
|
|
6
|
-
import './pesquisa-fetcher.js';
|
|
7
6
|
import { P as PresentationMode } from './ISave.js';
|
|
8
7
|
import '@sankhyalabs/ezui/dist/collection/utils/constants';
|
|
9
8
|
import '@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata';
|
|
@@ -14,35 +13,36 @@ import { T as TaskbarElement, d as defineCustomElement$3 } from './snk-taskbar2.
|
|
|
14
13
|
import { V as VIEW_MODE } from './constants.js';
|
|
15
14
|
import { o as openFieldSearch, T as TaskbarProcessor, b as buildFieldSearch } from './ContinuousInsertUtils.js';
|
|
16
15
|
import { SelectionMode } from '@sankhyalabs/core/dist/dataunit/DataUnit';
|
|
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$
|
|
16
|
+
import { d as defineCustomElement$v } from './snk-actions-button2.js';
|
|
17
|
+
import { d as defineCustomElement$u } from './snk-attach2.js';
|
|
18
|
+
import { d as defineCustomElement$t } from './snk-config-options2.js';
|
|
19
|
+
import { d as defineCustomElement$s } from './snk-configurator2.js';
|
|
20
|
+
import { d as defineCustomElement$r } from './snk-data-exporter2.js';
|
|
21
|
+
import { d as defineCustomElement$q } from './snk-data-unit2.js';
|
|
23
22
|
import { S as SnkMessageBuilder } from './SnkMessageBuilder.js';
|
|
24
|
-
import { d as defineCustomElement$
|
|
25
|
-
import { d as defineCustomElement$
|
|
26
|
-
import { d as defineCustomElement$
|
|
27
|
-
import { d as defineCustomElement$l } from './snk-
|
|
28
|
-
import { d as defineCustomElement$k } from './snk-filter-
|
|
29
|
-
import { d as defineCustomElement$j } from './snk-filter-
|
|
30
|
-
import { d as defineCustomElement$i } from './snk-filter-
|
|
31
|
-
import { d as defineCustomElement$h } from './snk-filter-
|
|
32
|
-
import { d as defineCustomElement$g } from './snk-filter-
|
|
33
|
-
import { d as defineCustomElement$f } from './snk-filter-
|
|
34
|
-
import { d as defineCustomElement$
|
|
35
|
-
import { d as defineCustomElement$
|
|
36
|
-
import { d as defineCustomElement$
|
|
37
|
-
import { d as defineCustomElement$
|
|
38
|
-
import { d as defineCustomElement$
|
|
39
|
-
import { d as defineCustomElement$
|
|
40
|
-
import { d as defineCustomElement$
|
|
41
|
-
import { d as defineCustomElement$
|
|
42
|
-
import { d as defineCustomElement$
|
|
43
|
-
import { d as defineCustomElement$5 } from './snk-simple-crud2.js';
|
|
44
|
-
import { d as defineCustomElement$4 } from './snk-tab-config2.js';
|
|
23
|
+
import { d as defineCustomElement$p } from './snk-exporter-email-sender2.js';
|
|
24
|
+
import { d as defineCustomElement$o } from './snk-expression-group2.js';
|
|
25
|
+
import { d as defineCustomElement$n } from './snk-expression-item2.js';
|
|
26
|
+
import { d as defineCustomElement$l } from './snk-filter-advanced-mode2.js';
|
|
27
|
+
import { d as defineCustomElement$k } from './snk-filter-assistent-mode2.js';
|
|
28
|
+
import { d as defineCustomElement$j } from './snk-filter-bar2.js';
|
|
29
|
+
import { d as defineCustomElement$i } from './snk-filter-detail2.js';
|
|
30
|
+
import { d as defineCustomElement$h } from './snk-filter-field-search2.js';
|
|
31
|
+
import { d as defineCustomElement$g } from './snk-filter-item2.js';
|
|
32
|
+
import { d as defineCustomElement$f } from './snk-filter-param-config2.js';
|
|
33
|
+
import { d as defineCustomElement$d } from './snk-form-summary2.js';
|
|
34
|
+
import { d as defineCustomElement$c } from './snk-form-view2.js';
|
|
35
|
+
import { d as defineCustomElement$b } from './snk-grid2.js';
|
|
36
|
+
import { d as defineCustomElement$a } from './snk-grid-config2.js';
|
|
37
|
+
import { d as defineCustomElement$9 } from './snk-personalized-filter2.js';
|
|
38
|
+
import { d as defineCustomElement$8 } from './snk-select-box2.js';
|
|
39
|
+
import { d as defineCustomElement$7 } from './snk-simple-bar2.js';
|
|
40
|
+
import { d as defineCustomElement$6 } from './snk-simple-crud2.js';
|
|
41
|
+
import { d as defineCustomElement$5 } from './snk-simple-form-config2.js';
|
|
45
42
|
import { d as defineCustomElement$2 } from './taskbar-actions-button2.js';
|
|
43
|
+
import { d as defineCustomElement$m } from './snk-field-config2.js';
|
|
44
|
+
import { d as defineCustomElement$e } from './snk-form-config2.js';
|
|
45
|
+
import { d as defineCustomElement$4 } from './snk-tab-config2.js';
|
|
46
46
|
|
|
47
47
|
const snkGuidesViewerCss = ".sc-snk-guides-viewer-h{--snk-guides-viewer--space-large:var(--space--large, 24px);--snk-guides-viewer--space-small:var(--space--2xs, 8px);--snk-guides-viewer__header--min-height:68px;--snk-guides-viewer__header--z-index:var(--more-visible, 2);--snk-guides-viewer__header--background-color:var(--background--body, #fafcff);--snk-guides-viewer__guide-navigator--width:340px;display:block}snk-form-view.sc-snk-guides-viewer{width:100%}.snk-guides-viewer.sc-snk-guides-viewer{position:relative;padding-left:0px;padding-top:0px;padding-right:var(--snk-guides-viewer--space-large);padding-bottom:var(--snk-guides-viewer--space-large)}.snk-guides-viewer__detail-container.sc-snk-guides-viewer{display:flex;row-gap:24px;flex-direction:column}.snk-guides-viewer__header.sc-snk-guides-viewer{position:sticky;align-items:center;top:0;z-index:var(--snk-guides-viewer__header--z-index);background-color:var(--snk-guides-viewer__header--background-color);min-height:var(--snk-guides-viewer__header--min-height);width:calc(100% + (var(--snk-guides-viewer--space-large) * 2));padding-left:var(--snk-guides-viewer--space-large);padding-right:var(--snk-guides-viewer--space-large);padding-top:var(--snk-guides-viewer--space-large);padding-bottom:var(--snk-guides-viewer--space-small);margin-left:calc(var(--snk-guides-viewer--space-large) * -1);margin-right:calc(var(--snk-guides-viewer--space-large) * -1);margin-bottom:var(--snk-guides-viewer--space-small)}.snk-guides-viewer__header-breadcrumb.sc-snk-guides-viewer{width:25%;display:flex}.snk-guides-viewer__header-taskbar.sc-snk-guides-viewer{width:75%}.snk-guides-viewer__container.sc-snk-guides-viewer{display:grid;grid-template-columns:minmax(0, auto) minmax(0, 100%);height:100%;column-gap:var(--snk-guides-viewer--space-large)}.snk-guides-viewer__guide-navigator.sc-snk-guides-viewer{position:sticky;top:calc(var(--snk-guides-viewer__header--min-height) + var(--snk-guides-viewer--space-small));height:calc(100vh - var(--snk-guides-viewer__header--min-height) - var(--snk-guides-viewer--space-large) - var(--snk-guides-viewer--space-small))}.snk-guides-viewer__guide-navigator[open].sc-snk-guides-viewer{width:var(--snk-guides-viewer__guide-navigator--width);max-width:var(--snk-guides-viewer__guide-navigator--width);min-width:var(--snk-guides-viewer__guide-navigator--width)}.snk-guides-viewer__detail-content.sc-snk-guides-viewer{min-height:100%;align-items:flex-start;align-content:flex-start}";
|
|
48
48
|
|
|
@@ -597,7 +597,7 @@ function defineCustomElement$1() {
|
|
|
597
597
|
if (typeof customElements === "undefined") {
|
|
598
598
|
return;
|
|
599
599
|
}
|
|
600
|
-
const components = ["snk-guides-viewer", "snk-actions-button", "snk-attach", "snk-config-options", "snk-configurator", "snk-data-exporter", "snk-data-unit", "snk-detail-view", "snk-exporter-email-sender", "snk-expression-group", "snk-expression-item", "snk-field-config", "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-personalized-filter", "snk-select-box", "snk-simple-bar", "snk-simple-crud", "snk-tab-config", "snk-taskbar", "taskbar-actions-button"];
|
|
600
|
+
const components = ["snk-guides-viewer", "snk-actions-button", "snk-attach", "snk-config-options", "snk-configurator", "snk-data-exporter", "snk-data-unit", "snk-detail-view", "snk-exporter-email-sender", "snk-expression-group", "snk-expression-item", "snk-field-config", "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-personalized-filter", "snk-select-box", "snk-simple-bar", "snk-simple-crud", "snk-simple-form-config", "snk-tab-config", "snk-taskbar", "taskbar-actions-button"];
|
|
601
601
|
components.forEach(tagName => { switch (tagName) {
|
|
602
602
|
case "snk-guides-viewer":
|
|
603
603
|
if (!customElements.get(tagName)) {
|
|
@@ -606,32 +606,32 @@ function defineCustomElement$1() {
|
|
|
606
606
|
break;
|
|
607
607
|
case "snk-actions-button":
|
|
608
608
|
if (!customElements.get(tagName)) {
|
|
609
|
-
defineCustomElement$
|
|
609
|
+
defineCustomElement$v();
|
|
610
610
|
}
|
|
611
611
|
break;
|
|
612
612
|
case "snk-attach":
|
|
613
613
|
if (!customElements.get(tagName)) {
|
|
614
|
-
defineCustomElement$
|
|
614
|
+
defineCustomElement$u();
|
|
615
615
|
}
|
|
616
616
|
break;
|
|
617
617
|
case "snk-config-options":
|
|
618
618
|
if (!customElements.get(tagName)) {
|
|
619
|
-
defineCustomElement$
|
|
619
|
+
defineCustomElement$t();
|
|
620
620
|
}
|
|
621
621
|
break;
|
|
622
622
|
case "snk-configurator":
|
|
623
623
|
if (!customElements.get(tagName)) {
|
|
624
|
-
defineCustomElement$
|
|
624
|
+
defineCustomElement$s();
|
|
625
625
|
}
|
|
626
626
|
break;
|
|
627
627
|
case "snk-data-exporter":
|
|
628
628
|
if (!customElements.get(tagName)) {
|
|
629
|
-
defineCustomElement$
|
|
629
|
+
defineCustomElement$r();
|
|
630
630
|
}
|
|
631
631
|
break;
|
|
632
632
|
case "snk-data-unit":
|
|
633
633
|
if (!customElements.get(tagName)) {
|
|
634
|
-
defineCustomElement$
|
|
634
|
+
defineCustomElement$q();
|
|
635
635
|
}
|
|
636
636
|
break;
|
|
637
637
|
case "snk-detail-view":
|
|
@@ -641,100 +641,105 @@ function defineCustomElement$1() {
|
|
|
641
641
|
break;
|
|
642
642
|
case "snk-exporter-email-sender":
|
|
643
643
|
if (!customElements.get(tagName)) {
|
|
644
|
-
defineCustomElement$
|
|
644
|
+
defineCustomElement$p();
|
|
645
645
|
}
|
|
646
646
|
break;
|
|
647
647
|
case "snk-expression-group":
|
|
648
648
|
if (!customElements.get(tagName)) {
|
|
649
|
-
defineCustomElement$
|
|
649
|
+
defineCustomElement$o();
|
|
650
650
|
}
|
|
651
651
|
break;
|
|
652
652
|
case "snk-expression-item":
|
|
653
653
|
if (!customElements.get(tagName)) {
|
|
654
|
-
defineCustomElement$
|
|
654
|
+
defineCustomElement$n();
|
|
655
655
|
}
|
|
656
656
|
break;
|
|
657
657
|
case "snk-field-config":
|
|
658
658
|
if (!customElements.get(tagName)) {
|
|
659
|
-
defineCustomElement$
|
|
659
|
+
defineCustomElement$m();
|
|
660
660
|
}
|
|
661
661
|
break;
|
|
662
662
|
case "snk-filter-advanced-mode":
|
|
663
663
|
if (!customElements.get(tagName)) {
|
|
664
|
-
defineCustomElement$
|
|
664
|
+
defineCustomElement$l();
|
|
665
665
|
}
|
|
666
666
|
break;
|
|
667
667
|
case "snk-filter-assistent-mode":
|
|
668
668
|
if (!customElements.get(tagName)) {
|
|
669
|
-
defineCustomElement$
|
|
669
|
+
defineCustomElement$k();
|
|
670
670
|
}
|
|
671
671
|
break;
|
|
672
672
|
case "snk-filter-bar":
|
|
673
673
|
if (!customElements.get(tagName)) {
|
|
674
|
-
defineCustomElement$
|
|
674
|
+
defineCustomElement$j();
|
|
675
675
|
}
|
|
676
676
|
break;
|
|
677
677
|
case "snk-filter-detail":
|
|
678
678
|
if (!customElements.get(tagName)) {
|
|
679
|
-
defineCustomElement$
|
|
679
|
+
defineCustomElement$i();
|
|
680
680
|
}
|
|
681
681
|
break;
|
|
682
682
|
case "snk-filter-field-search":
|
|
683
683
|
if (!customElements.get(tagName)) {
|
|
684
|
-
defineCustomElement$
|
|
684
|
+
defineCustomElement$h();
|
|
685
685
|
}
|
|
686
686
|
break;
|
|
687
687
|
case "snk-filter-item":
|
|
688
688
|
if (!customElements.get(tagName)) {
|
|
689
|
-
defineCustomElement$
|
|
689
|
+
defineCustomElement$g();
|
|
690
690
|
}
|
|
691
691
|
break;
|
|
692
692
|
case "snk-filter-param-config":
|
|
693
693
|
if (!customElements.get(tagName)) {
|
|
694
|
-
defineCustomElement$
|
|
694
|
+
defineCustomElement$f();
|
|
695
695
|
}
|
|
696
696
|
break;
|
|
697
697
|
case "snk-form-config":
|
|
698
698
|
if (!customElements.get(tagName)) {
|
|
699
|
-
defineCustomElement$
|
|
699
|
+
defineCustomElement$e();
|
|
700
700
|
}
|
|
701
701
|
break;
|
|
702
702
|
case "snk-form-summary":
|
|
703
703
|
if (!customElements.get(tagName)) {
|
|
704
|
-
defineCustomElement$
|
|
704
|
+
defineCustomElement$d();
|
|
705
705
|
}
|
|
706
706
|
break;
|
|
707
707
|
case "snk-form-view":
|
|
708
708
|
if (!customElements.get(tagName)) {
|
|
709
|
-
defineCustomElement$
|
|
709
|
+
defineCustomElement$c();
|
|
710
710
|
}
|
|
711
711
|
break;
|
|
712
712
|
case "snk-grid":
|
|
713
713
|
if (!customElements.get(tagName)) {
|
|
714
|
-
defineCustomElement$
|
|
714
|
+
defineCustomElement$b();
|
|
715
715
|
}
|
|
716
716
|
break;
|
|
717
717
|
case "snk-grid-config":
|
|
718
718
|
if (!customElements.get(tagName)) {
|
|
719
|
-
defineCustomElement$
|
|
719
|
+
defineCustomElement$a();
|
|
720
720
|
}
|
|
721
721
|
break;
|
|
722
722
|
case "snk-personalized-filter":
|
|
723
723
|
if (!customElements.get(tagName)) {
|
|
724
|
-
defineCustomElement$
|
|
724
|
+
defineCustomElement$9();
|
|
725
725
|
}
|
|
726
726
|
break;
|
|
727
727
|
case "snk-select-box":
|
|
728
728
|
if (!customElements.get(tagName)) {
|
|
729
|
-
defineCustomElement$
|
|
729
|
+
defineCustomElement$8();
|
|
730
730
|
}
|
|
731
731
|
break;
|
|
732
732
|
case "snk-simple-bar":
|
|
733
733
|
if (!customElements.get(tagName)) {
|
|
734
|
-
defineCustomElement$
|
|
734
|
+
defineCustomElement$7();
|
|
735
735
|
}
|
|
736
736
|
break;
|
|
737
737
|
case "snk-simple-crud":
|
|
738
|
+
if (!customElements.get(tagName)) {
|
|
739
|
+
defineCustomElement$6();
|
|
740
|
+
}
|
|
741
|
+
break;
|
|
742
|
+
case "snk-simple-form-config":
|
|
738
743
|
if (!customElements.get(tagName)) {
|
|
739
744
|
defineCustomElement$5();
|
|
740
745
|
}
|
|
@@ -1085,7 +1090,7 @@ function defineCustomElement() {
|
|
|
1085
1090
|
if (typeof customElements === "undefined") {
|
|
1086
1091
|
return;
|
|
1087
1092
|
}
|
|
1088
|
-
const components = ["snk-detail-view", "snk-actions-button", "snk-attach", "snk-
|
|
1093
|
+
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-personalized-filter", "snk-select-box", "snk-simple-bar", "snk-simple-crud", "snk-simple-form-config", "snk-taskbar", "taskbar-actions-button"];
|
|
1089
1094
|
components.forEach(tagName => { switch (tagName) {
|
|
1090
1095
|
case "snk-detail-view":
|
|
1091
1096
|
if (!customElements.get(tagName)) {
|
|
@@ -1094,139 +1099,124 @@ function defineCustomElement() {
|
|
|
1094
1099
|
break;
|
|
1095
1100
|
case "snk-actions-button":
|
|
1096
1101
|
if (!customElements.get(tagName)) {
|
|
1097
|
-
defineCustomElement$
|
|
1102
|
+
defineCustomElement$v();
|
|
1098
1103
|
}
|
|
1099
1104
|
break;
|
|
1100
1105
|
case "snk-attach":
|
|
1101
1106
|
if (!customElements.get(tagName)) {
|
|
1102
|
-
defineCustomElement$
|
|
1103
|
-
}
|
|
1104
|
-
break;
|
|
1105
|
-
case "snk-config-options":
|
|
1106
|
-
if (!customElements.get(tagName)) {
|
|
1107
|
-
defineCustomElement$s();
|
|
1107
|
+
defineCustomElement$u();
|
|
1108
1108
|
}
|
|
1109
1109
|
break;
|
|
1110
1110
|
case "snk-configurator":
|
|
1111
1111
|
if (!customElements.get(tagName)) {
|
|
1112
|
-
defineCustomElement$
|
|
1112
|
+
defineCustomElement$s();
|
|
1113
1113
|
}
|
|
1114
1114
|
break;
|
|
1115
1115
|
case "snk-data-exporter":
|
|
1116
1116
|
if (!customElements.get(tagName)) {
|
|
1117
|
-
defineCustomElement$
|
|
1117
|
+
defineCustomElement$r();
|
|
1118
1118
|
}
|
|
1119
1119
|
break;
|
|
1120
1120
|
case "snk-data-unit":
|
|
1121
1121
|
if (!customElements.get(tagName)) {
|
|
1122
|
-
defineCustomElement$
|
|
1122
|
+
defineCustomElement$q();
|
|
1123
1123
|
}
|
|
1124
1124
|
break;
|
|
1125
1125
|
case "snk-exporter-email-sender":
|
|
1126
1126
|
if (!customElements.get(tagName)) {
|
|
1127
|
-
defineCustomElement$
|
|
1127
|
+
defineCustomElement$p();
|
|
1128
1128
|
}
|
|
1129
1129
|
break;
|
|
1130
1130
|
case "snk-expression-group":
|
|
1131
1131
|
if (!customElements.get(tagName)) {
|
|
1132
|
-
defineCustomElement$
|
|
1132
|
+
defineCustomElement$o();
|
|
1133
1133
|
}
|
|
1134
1134
|
break;
|
|
1135
1135
|
case "snk-expression-item":
|
|
1136
1136
|
if (!customElements.get(tagName)) {
|
|
1137
|
-
defineCustomElement$
|
|
1138
|
-
}
|
|
1139
|
-
break;
|
|
1140
|
-
case "snk-field-config":
|
|
1141
|
-
if (!customElements.get(tagName)) {
|
|
1142
|
-
defineCustomElement$l();
|
|
1137
|
+
defineCustomElement$n();
|
|
1143
1138
|
}
|
|
1144
1139
|
break;
|
|
1145
1140
|
case "snk-filter-advanced-mode":
|
|
1146
1141
|
if (!customElements.get(tagName)) {
|
|
1147
|
-
defineCustomElement$
|
|
1142
|
+
defineCustomElement$l();
|
|
1148
1143
|
}
|
|
1149
1144
|
break;
|
|
1150
1145
|
case "snk-filter-assistent-mode":
|
|
1151
1146
|
if (!customElements.get(tagName)) {
|
|
1152
|
-
defineCustomElement$
|
|
1147
|
+
defineCustomElement$k();
|
|
1153
1148
|
}
|
|
1154
1149
|
break;
|
|
1155
1150
|
case "snk-filter-bar":
|
|
1156
1151
|
if (!customElements.get(tagName)) {
|
|
1157
|
-
defineCustomElement$
|
|
1152
|
+
defineCustomElement$j();
|
|
1158
1153
|
}
|
|
1159
1154
|
break;
|
|
1160
1155
|
case "snk-filter-detail":
|
|
1161
1156
|
if (!customElements.get(tagName)) {
|
|
1162
|
-
defineCustomElement$
|
|
1157
|
+
defineCustomElement$i();
|
|
1163
1158
|
}
|
|
1164
1159
|
break;
|
|
1165
1160
|
case "snk-filter-field-search":
|
|
1166
1161
|
if (!customElements.get(tagName)) {
|
|
1167
|
-
defineCustomElement$
|
|
1162
|
+
defineCustomElement$h();
|
|
1168
1163
|
}
|
|
1169
1164
|
break;
|
|
1170
1165
|
case "snk-filter-item":
|
|
1171
1166
|
if (!customElements.get(tagName)) {
|
|
1172
|
-
defineCustomElement$
|
|
1167
|
+
defineCustomElement$g();
|
|
1173
1168
|
}
|
|
1174
1169
|
break;
|
|
1175
1170
|
case "snk-filter-param-config":
|
|
1176
1171
|
if (!customElements.get(tagName)) {
|
|
1177
|
-
defineCustomElement$
|
|
1172
|
+
defineCustomElement$f();
|
|
1178
1173
|
}
|
|
1179
1174
|
break;
|
|
1180
|
-
case "snk-form-
|
|
1175
|
+
case "snk-form-summary":
|
|
1181
1176
|
if (!customElements.get(tagName)) {
|
|
1182
1177
|
defineCustomElement$d();
|
|
1183
1178
|
}
|
|
1184
1179
|
break;
|
|
1185
|
-
case "snk-form-
|
|
1180
|
+
case "snk-form-view":
|
|
1186
1181
|
if (!customElements.get(tagName)) {
|
|
1187
1182
|
defineCustomElement$c();
|
|
1188
1183
|
}
|
|
1189
1184
|
break;
|
|
1190
|
-
case "snk-
|
|
1185
|
+
case "snk-grid":
|
|
1191
1186
|
if (!customElements.get(tagName)) {
|
|
1192
1187
|
defineCustomElement$b();
|
|
1193
1188
|
}
|
|
1194
1189
|
break;
|
|
1195
|
-
case "snk-grid":
|
|
1190
|
+
case "snk-grid-config":
|
|
1196
1191
|
if (!customElements.get(tagName)) {
|
|
1197
1192
|
defineCustomElement$a();
|
|
1198
1193
|
}
|
|
1199
1194
|
break;
|
|
1200
|
-
case "snk-
|
|
1195
|
+
case "snk-personalized-filter":
|
|
1201
1196
|
if (!customElements.get(tagName)) {
|
|
1202
1197
|
defineCustomElement$9();
|
|
1203
1198
|
}
|
|
1204
1199
|
break;
|
|
1205
|
-
case "snk-
|
|
1200
|
+
case "snk-select-box":
|
|
1206
1201
|
if (!customElements.get(tagName)) {
|
|
1207
1202
|
defineCustomElement$8();
|
|
1208
1203
|
}
|
|
1209
1204
|
break;
|
|
1210
|
-
case "snk-
|
|
1205
|
+
case "snk-simple-bar":
|
|
1211
1206
|
if (!customElements.get(tagName)) {
|
|
1212
1207
|
defineCustomElement$7();
|
|
1213
1208
|
}
|
|
1214
1209
|
break;
|
|
1215
|
-
case "snk-simple-
|
|
1210
|
+
case "snk-simple-crud":
|
|
1216
1211
|
if (!customElements.get(tagName)) {
|
|
1217
1212
|
defineCustomElement$6();
|
|
1218
1213
|
}
|
|
1219
1214
|
break;
|
|
1220
|
-
case "snk-simple-
|
|
1215
|
+
case "snk-simple-form-config":
|
|
1221
1216
|
if (!customElements.get(tagName)) {
|
|
1222
1217
|
defineCustomElement$5();
|
|
1223
1218
|
}
|
|
1224
1219
|
break;
|
|
1225
|
-
case "snk-tab-config":
|
|
1226
|
-
if (!customElements.get(tagName)) {
|
|
1227
|
-
defineCustomElement$4();
|
|
1228
|
-
}
|
|
1229
|
-
break;
|
|
1230
1220
|
case "snk-taskbar":
|
|
1231
1221
|
if (!customElements.get(tagName)) {
|
|
1232
1222
|
defineCustomElement$3();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import { DataType, StringUtils, ObjectUtils, ElementIDUtils, ErrorException, ApplicationContext } from '@sankhyalabs/core';
|
|
2
|
+
import { DataType, StringUtils, ObjectUtils, ElementIDUtils, ErrorException, ApplicationContext, LockManager, LockManagerOperation } from '@sankhyalabs/core';
|
|
3
3
|
import { EzScrollDirection } from '@sankhyalabs/ezui/dist/collection/components/ez-scroller/EzScrollDirection';
|
|
4
4
|
import { C as ConfigStorage } from './ConfigStorage.js';
|
|
5
5
|
import { toString } from '@sankhyalabs/core/dist/dataunit/metadata/DataType';
|
|
@@ -266,6 +266,7 @@ const SnkFilterBar = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
266
266
|
this._firstLoad = true;
|
|
267
267
|
this._pendingVariables = false;
|
|
268
268
|
this._customfiltersToBeUpdated = [];
|
|
269
|
+
this._resolveLoading = undefined;
|
|
269
270
|
this._calculateSortIndex = (item) => {
|
|
270
271
|
if (!item.visible)
|
|
271
272
|
return 0;
|
|
@@ -279,6 +280,7 @@ const SnkFilterBar = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
279
280
|
this._filtersComparator = (a, b) => {
|
|
280
281
|
return this._calculateSortIndex(b) - this._calculateSortIndex(a);
|
|
281
282
|
};
|
|
283
|
+
this.enableLockManagerLoadingComp = false;
|
|
282
284
|
this.customFilterBarConfig = undefined;
|
|
283
285
|
this.dataUnit = undefined;
|
|
284
286
|
this.title = undefined;
|
|
@@ -699,14 +701,26 @@ const SnkFilterBar = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
699
701
|
this.personalizedFilterId = undefined;
|
|
700
702
|
this.showPersonalizedFilter = false;
|
|
701
703
|
}
|
|
702
|
-
componentWillLoad() {
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
this.
|
|
706
|
-
this.
|
|
707
|
-
this.
|
|
704
|
+
async componentWillLoad() {
|
|
705
|
+
var _a;
|
|
706
|
+
try {
|
|
707
|
+
this._application = ApplicationContext.getContextValue("__SNK__APPLICATION__");
|
|
708
|
+
await this.attachDataUnit();
|
|
709
|
+
if (this._application) {
|
|
710
|
+
if (this._application.enableLockManagerLoadingApp && this.enableLockManagerLoadingComp) {
|
|
711
|
+
const appLoadLockerID = LockManager.addLockManagerCtxId(this._element);
|
|
712
|
+
this._resolveLoading = LockManager.lock(appLoadLockerID, LockManagerOperation.APP_LOADING);
|
|
713
|
+
}
|
|
714
|
+
await Promise.all([
|
|
715
|
+
this.loadPermitions(),
|
|
716
|
+
this.addFilterBarLegacyConfigName(),
|
|
717
|
+
this.loadConfigFromStorage(),
|
|
718
|
+
]);
|
|
719
|
+
}
|
|
720
|
+
}
|
|
721
|
+
finally {
|
|
722
|
+
(_a = this._resolveLoading) === null || _a === void 0 ? void 0 : _a.call(this);
|
|
708
723
|
}
|
|
709
|
-
this.attachDataUnit();
|
|
710
724
|
}
|
|
711
725
|
componentDidRender() {
|
|
712
726
|
this.processPendingFilter();
|
|
@@ -729,6 +743,7 @@ const SnkFilterBar = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
729
743
|
}; }
|
|
730
744
|
static get style() { return snkFilterBarCss; }
|
|
731
745
|
}, [2, "snk-filter-bar", {
|
|
746
|
+
"enableLockManagerLoadingComp": [4, "enable-lock-manager-loading-comp"],
|
|
732
747
|
"customFilterBarConfig": [16],
|
|
733
748
|
"dataUnit": [1040],
|
|
734
749
|
"title": [1],
|
|
@@ -147,7 +147,9 @@ const SnkFilterModal$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElem
|
|
|
147
147
|
this.filters = ObjectUtils.copy(filterListCopy);
|
|
148
148
|
return;
|
|
149
149
|
}
|
|
150
|
-
this.filters.find(filter => filter.id === filterItem.id)
|
|
150
|
+
const filter = this.filters.find(filter => filter.id === filterItem.id);
|
|
151
|
+
filter.value = undefined;
|
|
152
|
+
this.filters = ObjectUtils.copy(this.filters);
|
|
151
153
|
}
|
|
152
154
|
uncheckFilterValues(valueList) {
|
|
153
155
|
valueList.forEach(value => {
|
|
@@ -7,7 +7,6 @@ import { C as CommonsExporter, T as TaskbarProcessor, S as SnkMultiSelectionList
|
|
|
7
7
|
import { s as store } from './index2.js';
|
|
8
8
|
import { SelectionMode } from '@sankhyalabs/core/dist/dataunit/DataUnit';
|
|
9
9
|
import './DataFetcher.js';
|
|
10
|
-
import './pesquisa-fetcher.js';
|
|
11
10
|
import '@sankhyalabs/ezui/dist/collection/utils/constants';
|
|
12
11
|
import '@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata';
|
|
13
12
|
import './dataunit-fetcher.js';
|
|
@@ -130,6 +129,8 @@ const SnkGrid = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
130
129
|
this._showSnkFilterBar = true;
|
|
131
130
|
this._enableContinuousInsert = false;
|
|
132
131
|
this.columnFilterDataSource = new SnkMultiSelectionListDataSource();
|
|
132
|
+
this.enableLockManagerLoadingComp = false;
|
|
133
|
+
this.enableLockManagerTaskbarClick = false;
|
|
133
134
|
this.configName = undefined;
|
|
134
135
|
this.filterBarTitle = undefined;
|
|
135
136
|
this.resourceID = undefined;
|
|
@@ -153,7 +154,6 @@ const SnkGrid = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
153
154
|
this.autoLoad = undefined;
|
|
154
155
|
this.autoFocus = true;
|
|
155
156
|
this.enableGridInsert = false;
|
|
156
|
-
this.enableLockManger = false;
|
|
157
157
|
this.outlineMode = false;
|
|
158
158
|
}
|
|
159
159
|
/**
|
|
@@ -543,7 +543,7 @@ const SnkGrid = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
543
543
|
return undefined;
|
|
544
544
|
}
|
|
545
545
|
return (h("div", { class: "snk-grid__container ez-flex ez-flex--column ez-flex-item--auto ez-padding--large" }, h("div", { class: "snk-grid__header ez-margin-bottom--extra-small" }, this._showSnkFilterBar &&
|
|
546
|
-
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 }), h("hr", { class: "ez-divider-vertical ez-divider--dark ez-margin-left--medium snk-grid__header-divider" })), h("snk-taskbar", { class: "ez-padding-left--medium", "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' }, 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) => { this.gridConfigChangeHandler(evt); }, 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,
|
|
546
|
+
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 }), h("hr", { class: "ez-divider-vertical ez-divider--dark ez-margin-left--medium snk-grid__header-divider" })), h("snk-taskbar", { class: "ez-padding-left--medium", "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' }, 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) => { this.gridConfigChangeHandler(evt); }, 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 }, 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 }, h("slot", { name: this.gridHeaderCustomSlotId }))), h("div", { class: "ez-col ez-col--sd-12" }, h("slot", { name: "SnkGridFooter" })), h("ez-modal", { modalSize: "small", closeEsc: false, closeOutsideClick: false, opened: this._popUpGridConfig, onEzCloseModal: () => 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 }))));
|
|
547
547
|
}
|
|
548
548
|
get _element() { return this; }
|
|
549
549
|
static get watchers() { return {
|
|
@@ -552,6 +552,8 @@ const SnkGrid = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
552
552
|
static get style() { return snkGridCss; }
|
|
553
553
|
}, [6, "snk-grid", {
|
|
554
554
|
"columnFilterDataSource": [1040],
|
|
555
|
+
"enableLockManagerLoadingComp": [4, "enable-lock-manager-loading-comp"],
|
|
556
|
+
"enableLockManagerTaskbarClick": [4, "enable-lock-manager-taskbar-click"],
|
|
555
557
|
"configName": [1, "config-name"],
|
|
556
558
|
"filterBarTitle": [1, "filter-bar-title"],
|
|
557
559
|
"resourceID": [1, "resource-i-d"],
|
|
@@ -575,7 +577,6 @@ const SnkGrid = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
575
577
|
"autoLoad": [4, "auto-load"],
|
|
576
578
|
"autoFocus": [4, "auto-focus"],
|
|
577
579
|
"enableGridInsert": [4, "enable-grid-insert"],
|
|
578
|
-
"enableLockManger": [4, "enable-lock-manger"],
|
|
579
580
|
"outlineMode": [4, "outline-mode"],
|
|
580
581
|
"_dataUnit": [32],
|
|
581
582
|
"_dataState": [32],
|