@sankhyalabs/sankhyablocks 0.0.0-bugfix-dev-kb-85616.0 → 0.0.0-bugfix-dev-KB-81596.1
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/{ClientSideExporterProvider-9bd6fa5a.js → ClientSideExporterProvider-5fff8770.js} +20 -25
- package/dist/cjs/{ConfigStorage-6b633b10.js → ConfigStorage-df09fb78.js} +2 -2
- package/dist/cjs/{DataFetcher-875371e9.js → DataFetcher-1afdb18e.js} +14 -2
- package/dist/cjs/{pesquisa-fetcher-30cab386.js → ISave-c76e2c51.js} +35 -3
- package/dist/cjs/{SnkFormConfigManager-d680be08.js → SnkFormConfigManager-45a8d7b7.js} +3 -3
- package/dist/cjs/{auth-fetcher-24ba4135.js → auth-fetcher-1687ac0a.js} +1 -1
- package/dist/cjs/{constants-241934b3.js → constants-77c1b8bd.js} +1 -0
- package/dist/cjs/{dataunit-fetcher-b95768e8.js → dataunit-fetcher-4a5d491a.js} +7 -6
- package/dist/cjs/{form-config-fetcher-e0a512c3.js → form-config-fetcher-40d3f752.js} +15 -1
- package/dist/cjs/index-f9e81701.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/pesquisa-grid_2.cjs.entry.js +6 -7
- package/dist/cjs/sankhyablocks.cjs.js +1 -1
- package/dist/cjs/{snk-actions-button_5.cjs.entry.js → snk-actions-button_7.cjs.entry.js} +68 -7
- package/dist/cjs/snk-application.cjs.entry.js +176 -13
- package/dist/cjs/snk-attach.cjs.entry.js +6 -7
- package/dist/cjs/snk-config-options_3.cjs.entry.js +10 -8
- package/dist/cjs/snk-configurator.cjs.entry.js +9 -2
- package/dist/cjs/snk-crud.cjs.entry.js +8 -8
- package/dist/cjs/snk-data-exporter.cjs.entry.js +6 -7
- package/dist/cjs/{snk-data-unit-33937ffe.js → snk-data-unit-4b510d6e.js} +1 -1
- package/dist/cjs/snk-data-unit.cjs.entry.js +3 -3
- package/dist/cjs/snk-detail-view.cjs.entry.js +11 -11
- package/dist/cjs/snk-field-config.cjs.entry.js +1 -1
- package/dist/cjs/snk-filter-bar_4.cjs.entry.js +3 -3
- package/dist/cjs/snk-filter-modal-item.cjs.entry.js +3 -3
- package/dist/cjs/snk-filter-search.cjs.entry.js +18 -5
- package/dist/cjs/snk-grid.cjs.entry.js +7 -8
- package/dist/cjs/{snk-guides-viewer-65964889.js → snk-guides-viewer-e8e5f7b4.js} +7 -8
- package/dist/cjs/snk-guides-viewer.cjs.entry.js +8 -9
- package/dist/cjs/snk-personalized-filter.cjs.entry.js +3 -3
- package/dist/cjs/snk-pesquisa.cjs.entry.js +12 -13
- package/dist/cjs/snk-simple-crud.cjs.entry.js +10 -10
- package/dist/cjs/snk-tab-config.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/snk-application/errorhandler/snk-error-handler.js +5 -2
- package/dist/collection/components/snk-application/search-strategy/exec-prepared-search-plus.js +107 -0
- package/dist/collection/components/snk-application/snk-application.js +126 -4
- package/dist/collection/components/snk-configurator/snk-configurator.js +26 -1
- package/dist/collection/components/snk-crud/snk-crud.js +20 -1
- package/dist/collection/components/snk-crud/subcomponents/snk-detail-view/snk-detail-view.css +10 -1
- package/dist/collection/components/snk-crud/subcomponents/snk-detail-view/snk-detail-view.js +25 -1
- package/dist/collection/components/snk-crud/subcomponents/snk-guides-viewer.js +1 -1
- package/dist/collection/components/snk-data-exporter/interfaces/IExporterProvider.js +15 -19
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-search.js +18 -5
- package/dist/collection/components/snk-form-config/subcomponents/snk-config-options/snk-config-options.js +5 -3
- package/dist/collection/components/snk-grid-config/snk-grid-config.js +2 -0
- package/dist/collection/components/snk-layout-form-config/snk-layout-form-config.css +3 -0
- package/dist/collection/components/snk-layout-form-config/snk-layout-form-config.js +73 -0
- package/dist/collection/components/snk-layout-form-config/snk-view-representation/snk-view-representation.css +78 -0
- package/dist/collection/components/snk-layout-form-config/snk-view-representation/snk-view-representation.js +57 -0
- package/dist/collection/components/snk-simple-crud/snk-simple-crud.js +20 -1
- package/dist/collection/lib/configs/LayoutFormConfig.js +25 -0
- package/dist/collection/lib/http/data-fetcher/DataFetcher.js +14 -2
- package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/loadstrategy/DatasetStrategy.js +6 -5
- package/dist/collection/lib/http/data-fetcher/fetchers/form-config-fetcher.js +14 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/pesquisa-fetcher.js +26 -2
- package/dist/collection/lib/utils/constants.js +1 -0
- package/dist/components/ContinuousInsertUtils.js +15 -19
- package/dist/components/DataFetcher.js +14 -2
- package/dist/components/ISave.js +26 -2
- package/dist/components/constants.js +1 -0
- package/dist/components/dataunit-fetcher.js +6 -5
- package/dist/components/form-config-fetcher.js +14 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +2 -0
- package/dist/components/snk-application2.js +174 -6
- package/dist/components/snk-attach2.js +34 -22
- package/dist/components/snk-config-options2.js +5 -3
- package/dist/components/snk-configurator2.js +22 -2
- package/dist/components/snk-crud.js +76 -62
- package/dist/components/snk-detail-view2.js +110 -86
- package/dist/components/snk-filter-search.js +18 -5
- package/dist/components/snk-grid-config2.js +2 -0
- package/dist/components/snk-layout-form-config.d.ts +11 -0
- package/dist/components/snk-layout-form-config.js +6 -0
- package/dist/components/snk-layout-form-config2.js +73 -0
- package/dist/components/snk-simple-crud2.js +33 -19
- package/dist/components/snk-view-representation.d.ts +11 -0
- package/dist/components/snk-view-representation.js +6 -0
- package/dist/components/snk-view-representation2.js +41 -0
- package/dist/esm/{ClientSideExporterProvider-e42c5a48.js → ClientSideExporterProvider-da9935ed.js} +20 -25
- package/dist/esm/{ConfigStorage-e5c1f4c0.js → ConfigStorage-71e6766f.js} +2 -2
- package/dist/esm/{DataFetcher-ecf5f903.js → DataFetcher-88e56266.js} +14 -2
- package/dist/esm/{pesquisa-fetcher-e26c3295.js → ISave-5efafc97.js} +36 -4
- package/dist/esm/{SnkFormConfigManager-1efd102b.js → SnkFormConfigManager-be490a33.js} +3 -3
- package/dist/esm/{auth-fetcher-9987c66e.js → auth-fetcher-3510520e.js} +1 -1
- package/dist/esm/{constants-75abb876.js → constants-7db1128a.js} +1 -0
- package/dist/esm/{dataunit-fetcher-ed6e65ef.js → dataunit-fetcher-1d02ecfc.js} +7 -6
- package/dist/esm/{form-config-fetcher-34becd23.js → form-config-fetcher-fa208a6c.js} +15 -1
- package/dist/esm/index-a7d3d3f1.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/pesquisa-grid_2.entry.js +5 -6
- package/dist/esm/sankhyablocks.js +1 -1
- package/dist/esm/{snk-actions-button_5.entry.js → snk-actions-button_7.entry.js} +68 -9
- package/dist/esm/snk-application.entry.js +176 -13
- package/dist/esm/snk-attach.entry.js +6 -7
- package/dist/esm/snk-config-options_3.entry.js +10 -8
- package/dist/esm/snk-configurator.entry.js +9 -2
- package/dist/esm/snk-crud.entry.js +8 -8
- package/dist/esm/snk-data-exporter.entry.js +6 -7
- package/dist/esm/{snk-data-unit-6258b8ae.js → snk-data-unit-7d0ce406.js} +1 -1
- package/dist/esm/snk-data-unit.entry.js +3 -3
- package/dist/esm/snk-detail-view.entry.js +11 -11
- package/dist/esm/snk-field-config.entry.js +1 -1
- package/dist/esm/snk-filter-bar_4.entry.js +3 -3
- package/dist/esm/snk-filter-modal-item.entry.js +3 -3
- package/dist/esm/snk-filter-search.entry.js +18 -5
- package/dist/esm/snk-grid.entry.js +7 -8
- package/dist/esm/{snk-guides-viewer-9e43d0ca.js → snk-guides-viewer-c44b3839.js} +7 -8
- package/dist/esm/snk-guides-viewer.entry.js +8 -9
- package/dist/esm/snk-personalized-filter.entry.js +3 -3
- package/dist/esm/snk-pesquisa.entry.js +5 -6
- package/dist/esm/snk-simple-crud.entry.js +10 -10
- package/dist/esm/snk-tab-config.entry.js +1 -1
- package/dist/sankhyablocks/p-00796b12.entry.js +1 -0
- package/dist/sankhyablocks/{p-3fcb90d6.js → p-03b68a74.js} +1 -1
- package/dist/sankhyablocks/p-092078e3.entry.js +1 -0
- package/dist/sankhyablocks/{p-d3b9b377.entry.js → p-165cde3b.entry.js} +1 -1
- package/dist/sankhyablocks/p-35f85998.entry.js +1 -0
- package/dist/sankhyablocks/{p-2953c481.entry.js → p-3749dffb.entry.js} +1 -1
- package/dist/sankhyablocks/p-38e3ffda.entry.js +1 -0
- package/dist/sankhyablocks/p-3b190fb1.entry.js +1 -0
- package/dist/sankhyablocks/{p-6c43fcde.entry.js → p-490b75b5.entry.js} +1 -1
- package/dist/sankhyablocks/p-4ad638be.js +1 -0
- package/dist/sankhyablocks/p-5503e89f.entry.js +1 -0
- package/dist/sankhyablocks/p-5cc206bb.entry.js +1 -0
- package/dist/sankhyablocks/{p-e66bcb5c.entry.js → p-5ffa0493.entry.js} +1 -1
- package/dist/sankhyablocks/{p-6c9d1be4.entry.js → p-60137b7a.entry.js} +1 -1
- package/dist/sankhyablocks/p-601b252b.js +26 -0
- package/dist/sankhyablocks/p-6293ded9.entry.js +11 -0
- package/dist/sankhyablocks/p-6dd38d7b.js +6 -0
- package/dist/sankhyablocks/{p-abd9681c.js → p-6e0a5314.js} +1 -1
- package/dist/sankhyablocks/{p-a77bdadc.js → p-73285a8a.js} +1 -1
- package/dist/sankhyablocks/p-893b9483.entry.js +1 -0
- package/dist/sankhyablocks/p-90684a75.entry.js +1 -0
- package/dist/sankhyablocks/{p-1d19a5b0.js → p-9261d8a0.js} +1 -1
- package/dist/sankhyablocks/p-92778d5a.js +1 -0
- package/dist/sankhyablocks/{p-7e0a0aae.js → p-a8be1d67.js} +1 -1
- package/dist/sankhyablocks/{p-2746d606.entry.js → p-b2a2a83e.entry.js} +1 -1
- package/dist/sankhyablocks/p-b6200d32.entry.js +1 -0
- package/dist/sankhyablocks/{p-23cd6abf.entry.js → p-c0eb761b.entry.js} +1 -1
- package/dist/sankhyablocks/p-d9fdb018.entry.js +1 -0
- package/dist/sankhyablocks/{p-3ce68be5.js → p-ebdb9d89.js} +1 -1
- package/dist/sankhyablocks/p-ef6f0a1b.entry.js +1 -0
- package/dist/sankhyablocks/{p-5a7e18f4.js → p-fbba7e3d.js} +1 -1
- package/dist/sankhyablocks/sankhyablocks.esm.js +1 -1
- package/dist/types/components/snk-application/search-strategy/exec-prepared-search-plus.d.ts +5 -0
- package/dist/types/components/snk-application/snk-application.d.ts +17 -2
- package/dist/types/components/snk-configurator/snk-configurator.d.ts +6 -0
- package/dist/types/components/snk-crud/snk-crud.d.ts +4 -0
- package/dist/types/components/snk-crud/subcomponents/snk-detail-view/snk-detail-view.d.ts +5 -0
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-search.d.ts +5 -3
- package/dist/types/components/snk-grid-config/snk-grid-config.d.ts +1 -0
- package/dist/types/components/snk-layout-form-config/snk-layout-form-config.d.ts +15 -0
- package/dist/types/components/snk-layout-form-config/snk-view-representation/snk-view-representation.d.ts +10 -0
- package/dist/types/components/snk-simple-crud/snk-simple-crud.d.ts +4 -0
- package/dist/types/components.d.ts +83 -1
- package/dist/types/lib/configs/LayoutFormConfig.d.ts +11 -0
- package/dist/types/lib/http/data-fetcher/fetchers/form-config-fetcher.d.ts +6 -0
- package/dist/types/lib/http/data-fetcher/fetchers/pesquisa-fetcher.d.ts +4 -1
- package/dist/types/lib/utils/constants.d.ts +1 -0
- package/package.json +1 -1
- package/react/components.d.ts +2 -0
- package/react/components.js +2 -0
- package/react/components.js.map +1 -1
- package/dist/cjs/ISave-e91b70a7.js +0 -9
- package/dist/esm/ISave-d8c8bc59.js +0 -9
- package/dist/sankhyablocks/p-04acdc3a.entry.js +0 -1
- package/dist/sankhyablocks/p-05fda408.entry.js +0 -1
- package/dist/sankhyablocks/p-1a8295af.entry.js +0 -1
- package/dist/sankhyablocks/p-1e48864c.js +0 -1
- package/dist/sankhyablocks/p-21749402.js +0 -1
- package/dist/sankhyablocks/p-22ddc147.js +0 -26
- package/dist/sankhyablocks/p-27d12f8f.entry.js +0 -1
- package/dist/sankhyablocks/p-3bab7e9c.entry.js +0 -1
- package/dist/sankhyablocks/p-3d424ae9.entry.js +0 -1
- package/dist/sankhyablocks/p-4b01cbad.entry.js +0 -11
- package/dist/sankhyablocks/p-4c9adf1c.entry.js +0 -1
- package/dist/sankhyablocks/p-6b898a51.entry.js +0 -1
- package/dist/sankhyablocks/p-9523fc40.entry.js +0 -1
- package/dist/sankhyablocks/p-a18de25e.js +0 -1
- package/dist/sankhyablocks/p-be2e5f36.entry.js +0 -1
- package/dist/sankhyablocks/p-c8622597.entry.js +0 -1
- package/dist/sankhyablocks/p-d571e243.entry.js +0 -1
- package/dist/sankhyablocks/p-ef076eea.js +0 -6
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { StringUtils, ElementIDUtils, ApplicationContext, JSUtils, FloatingManager } from '@sankhyalabs/core';
|
|
3
|
-
import { T as TaskbarElement, d as defineCustomElement$
|
|
3
|
+
import { T as TaskbarElement, d as defineCustomElement$4 } from './snk-taskbar2.js';
|
|
4
4
|
import './DataFetcher.js';
|
|
5
5
|
import { P as PresentationMode, E as ExporterStrategy } from './ISave.js';
|
|
6
6
|
import '@sankhyalabs/ezui/dist/collection/utils/constants';
|
|
@@ -10,35 +10,37 @@ 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$
|
|
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$
|
|
13
|
+
import { d as defineCustomElement$z } from './snk-actions-button2.js';
|
|
14
|
+
import { d as defineCustomElement$y } from './snk-attach2.js';
|
|
15
|
+
import { d as defineCustomElement$x } from './snk-config-options2.js';
|
|
16
|
+
import { d as defineCustomElement$w } from './snk-configurator2.js';
|
|
17
|
+
import { d as defineCustomElement$v } from './snk-data-exporter2.js';
|
|
18
|
+
import { d as defineCustomElement$u } from './snk-data-unit2.js';
|
|
19
|
+
import { d as defineCustomElement$c, a as defineCustomElement$t } from './snk-detail-view2.js';
|
|
20
|
+
import { d as defineCustomElement$s } from './snk-exporter-email-sender2.js';
|
|
21
|
+
import { d as defineCustomElement$r } from './snk-expression-group2.js';
|
|
22
|
+
import { d as defineCustomElement$q } from './snk-expression-item2.js';
|
|
23
|
+
import { d as defineCustomElement$p } from './snk-field-config2.js';
|
|
24
|
+
import { d as defineCustomElement$o } from './snk-filter-advanced-mode2.js';
|
|
25
|
+
import { d as defineCustomElement$n } from './snk-filter-assistent-mode2.js';
|
|
26
|
+
import { d as defineCustomElement$m } from './snk-filter-bar2.js';
|
|
27
|
+
import { d as defineCustomElement$l } from './snk-filter-detail2.js';
|
|
28
|
+
import { d as defineCustomElement$k } from './snk-filter-field-search2.js';
|
|
29
|
+
import { d as defineCustomElement$j } from './snk-filter-item2.js';
|
|
30
|
+
import { d as defineCustomElement$i } from './snk-filter-param-config2.js';
|
|
31
|
+
import { d as defineCustomElement$h } from './snk-form-config2.js';
|
|
32
|
+
import { d as defineCustomElement$g } from './snk-form-summary2.js';
|
|
33
|
+
import { d as defineCustomElement$f } from './snk-form-view2.js';
|
|
34
|
+
import { d as defineCustomElement$e } from './snk-grid2.js';
|
|
35
|
+
import { d as defineCustomElement$d } from './snk-grid-config2.js';
|
|
36
|
+
import { d as defineCustomElement$b } from './snk-layout-form-config2.js';
|
|
37
|
+
import { d as defineCustomElement$a } from './snk-personalized-filter2.js';
|
|
38
|
+
import { d as defineCustomElement$9 } from './snk-select-box2.js';
|
|
39
|
+
import { d as defineCustomElement$8 } from './snk-simple-bar2.js';
|
|
40
|
+
import { d as defineCustomElement$7 } from './snk-simple-crud2.js';
|
|
41
|
+
import { d as defineCustomElement$6 } from './snk-simple-form-config2.js';
|
|
42
|
+
import { d as defineCustomElement$5 } from './snk-tab-config2.js';
|
|
43
|
+
import { d as defineCustomElement$3 } from './snk-view-representation2.js';
|
|
42
44
|
import { d as defineCustomElement$2 } from './taskbar-actions-button2.js';
|
|
43
45
|
|
|
44
46
|
const snkCrudCss = ".sc-snk-crud-h{display:flex;flex-direction:column;height:100%;width:100%}";
|
|
@@ -87,6 +89,7 @@ const SnkCrud$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
87
89
|
this.ignoreReadOnlyFormFields = undefined;
|
|
88
90
|
this.setCustomFormTitle = undefined;
|
|
89
91
|
this.strategyExporter = ExporterStrategy.SERVER_SIDE;
|
|
92
|
+
this.layoutFormConfig = false;
|
|
90
93
|
this.customContainerId = `SNK-CRUD-CUSTOM-CONTAINER-${StringUtils.generateUUID()}`;
|
|
91
94
|
}
|
|
92
95
|
/**
|
|
@@ -421,7 +424,7 @@ const SnkCrud$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
421
424
|
return;
|
|
422
425
|
}
|
|
423
426
|
this._snkDataUnit.ignoreSaveMessage = (this._currentViewMode === VIEW_MODE.GRID && !this.enableGridInsert);
|
|
424
|
-
return (h(Host, null, h("ez-view-stack", { ref: (ref) => this._viewStack = ref, "data-element-id": "crud" }, h("stack-item", { class: 'ez-flex ez-flex--column ez-size-height--full ez-size-width--full ez-padding--medium' }, h("snk-grid", { ref: (ref) => this._snkGrid = ref, class: 'ez-flex ez-flex--column ez-size-height--full ez-size-width--full', filterBarTitle: this.filterBarTitle, "data-element-id": "crud_grid", configName: this.configName, onGridDoubleClick: () => this.gridToForm(true), taskbarManager: this.taskbarManager, onActionClick: evt => this.executeAction(evt.detail), messagesBuilder: this.messagesBuilder, actionsList: this.actionsList, statusResolver: this.statusResolver, multipleSelection: this.multipleSelection, presentationMode: this.presentationMode, recordsValidator: this.recordsValidator, selectionToastConfig: this.selectionToastConfig, useEnterLikeTab: this.useEnterLikeTab, canEdit: this._canEdit, resourceID: this._resourceID, disablePersonalizedFilter: this.disablePersonalizedFilter, gridLegacyConfigName: this.gridLegacyConfigName, filterBarLegacyConfigName: this.filterBarLegacyConfigName, autoLoad: this.autoLoad, autoFocus: this.autoFocus, enableGridInsert: this.enableGridInsert, enableLockManagerTaskbarClick: this.enableLockManagerTaskbarClick, enableLockManagerLoadingComp: this.enableLockManagerLoadingComp, strategyExporter: this.strategyExporter }, h("slot", { name: "GRID_TASKBAR_CUSTOM_ELEMENTS" }), h("slot", { name: "GRID_HEADER_CUSTOM_ELEMENTS" }), h("slot", { name: "SnkGridHeader" }), h("slot", { name: "SnkGridFooter" }), h("slot", { name: "SnkGridTaskBar" }))), h("stack-item", null, h("snk-guides-viewer", { ref: ref => this._guidesViewer = ref, entityPath: this._snkDataUnit.entityName, messagesBuilder: this.messagesBuilder, onExit: () => this.setViewMode(VIEW_MODE.GRID), dataState: this._dataState, dataUnit: this._dataUnit, actionsList: this.actionsList, taskbarManager: this.taskbarManager, configName: this.configName, onActionClick: evt => this.executeAction(evt.detail), presentationMode: this.presentationMode, "data-element-id": "crud_form", canEdit: this._canEdit, recordsValidator: this.recordsValidator, resourceID: this._resourceID, detailTaskbarCustomContainerId: this.customContainerId, formLegacyConfigName: this.formLegacyConfigName, enableGridInsert: this.enableGridInsert, getCustomTitle: this.setCustomFormTitle, ignoreReadOnlyFormFields: this.ignoreReadOnlyFormFields }, h("slot", { name: "GUIDES_VIEWER_TASKBAR_CUSTOM_ELEMENTS" }), h("slot", { name: "SnkFormTaskBar" }))), h("stack-item", null, h("snk-attach", { registerKey: this.attachmentRegisterKey, messagesBuilder: this.messagesBuilder, entityName: this._snkDataUnit.entityName, onBack: this.backView.bind(this) })), h("snk-configurator", { ref: (ref) => this._snkConfigurator = ref, viewMode: this._currentViewMode, messagesBuilder: this.messagesBuilder, onConfigSelected: (evt) => this.setViewMode(evt.detail), onOpenConfig: (evt) => this.openConfig(evt.detail), showActionButtons: this.showActionButtons, onSave: evt => this.handleConfiguratorEvent(evt, 'SAVE'), onCancel: evt => this.handleConfiguratorEvent(evt, 'CANCEL'), resourceID: this._resourceID, customContainerId: this.customContainerId })), h("div", { id: `${this.customContainerId}` }, h("slot", { name: "SnkConfigContainerSlot" }), h("slot", { name: "DETAIL_GRID_HEADER_CUSTOM_ELEMENTS" }), h("slot", { name: "DETAIL_GRID_TASKBAR_CUSTOM_ELEMENTS" }), h("slot", { name: "DETAIL_TASKBAR_CUSTOM_ELEMENTS" }))));
|
|
427
|
+
return (h(Host, null, h("ez-view-stack", { ref: (ref) => this._viewStack = ref, "data-element-id": "crud" }, h("stack-item", { class: 'ez-flex ez-flex--column ez-size-height--full ez-size-width--full ez-padding--medium' }, h("snk-grid", { ref: (ref) => this._snkGrid = ref, class: 'ez-flex ez-flex--column ez-size-height--full ez-size-width--full', filterBarTitle: this.filterBarTitle, "data-element-id": "crud_grid", configName: this.configName, onGridDoubleClick: () => this.gridToForm(true), taskbarManager: this.taskbarManager, onActionClick: evt => this.executeAction(evt.detail), messagesBuilder: this.messagesBuilder, actionsList: this.actionsList, statusResolver: this.statusResolver, multipleSelection: this.multipleSelection, presentationMode: this.presentationMode, recordsValidator: this.recordsValidator, selectionToastConfig: this.selectionToastConfig, useEnterLikeTab: this.useEnterLikeTab, canEdit: this._canEdit, resourceID: this._resourceID, disablePersonalizedFilter: this.disablePersonalizedFilter, gridLegacyConfigName: this.gridLegacyConfigName, filterBarLegacyConfigName: this.filterBarLegacyConfigName, autoLoad: this.autoLoad, autoFocus: this.autoFocus, enableGridInsert: this.enableGridInsert, enableLockManagerTaskbarClick: this.enableLockManagerTaskbarClick, enableLockManagerLoadingComp: this.enableLockManagerLoadingComp, strategyExporter: this.strategyExporter }, h("slot", { name: "GRID_TASKBAR_CUSTOM_ELEMENTS" }), h("slot", { name: "GRID_HEADER_CUSTOM_ELEMENTS" }), h("slot", { name: "SnkGridHeader" }), h("slot", { name: "SnkGridFooter" }), h("slot", { name: "SnkGridTaskBar" }))), h("stack-item", null, h("snk-guides-viewer", { ref: ref => this._guidesViewer = ref, entityPath: this._snkDataUnit.entityName, messagesBuilder: this.messagesBuilder, onExit: () => this.setViewMode(VIEW_MODE.GRID), dataState: this._dataState, dataUnit: this._dataUnit, actionsList: this.actionsList, taskbarManager: this.taskbarManager, configName: this.configName, onActionClick: evt => this.executeAction(evt.detail), presentationMode: this.presentationMode, "data-element-id": "crud_form", canEdit: this._canEdit, recordsValidator: this.recordsValidator, resourceID: this._resourceID, detailTaskbarCustomContainerId: this.customContainerId, formLegacyConfigName: this.formLegacyConfigName, enableGridInsert: this.enableGridInsert, getCustomTitle: this.setCustomFormTitle, ignoreReadOnlyFormFields: this.ignoreReadOnlyFormFields }, h("slot", { name: "GUIDES_VIEWER_TASKBAR_CUSTOM_ELEMENTS" }), h("slot", { name: "SnkFormTaskBar" }))), h("stack-item", null, h("snk-attach", { registerKey: this.attachmentRegisterKey, messagesBuilder: this.messagesBuilder, entityName: this._snkDataUnit.entityName, onBack: this.backView.bind(this) })), h("snk-configurator", { ref: (ref) => this._snkConfigurator = ref, viewMode: this._currentViewMode, messagesBuilder: this.messagesBuilder, onConfigSelected: (evt) => this.setViewMode(evt.detail), onOpenConfig: (evt) => this.openConfig(evt.detail), showActionButtons: this.showActionButtons, onSave: evt => this.handleConfiguratorEvent(evt, 'SAVE'), onCancel: evt => this.handleConfiguratorEvent(evt, 'CANCEL'), resourceID: this._resourceID, customContainerId: this.customContainerId, layoutFormConfig: this.layoutFormConfig })), h("div", { id: `${this.customContainerId}` }, h("slot", { name: "SnkConfigContainerSlot" }), h("slot", { name: "DETAIL_GRID_HEADER_CUSTOM_ELEMENTS" }), h("slot", { name: "DETAIL_GRID_TASKBAR_CUSTOM_ELEMENTS" }), h("slot", { name: "DETAIL_TASKBAR_CUSTOM_ELEMENTS" }))));
|
|
425
428
|
}
|
|
426
429
|
get _element() { return this; }
|
|
427
430
|
static get watchers() { return {
|
|
@@ -454,6 +457,7 @@ const SnkCrud$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
454
457
|
"ignoreReadOnlyFormFields": [4, "ignore-read-only-form-fields"],
|
|
455
458
|
"setCustomFormTitle": [16],
|
|
456
459
|
"strategyExporter": [1025, "strategy-exporter"],
|
|
460
|
+
"layoutFormConfig": [4, "layout-form-config"],
|
|
457
461
|
"_dataUnit": [32],
|
|
458
462
|
"_dataState": [32],
|
|
459
463
|
"attachmentRegisterKey": [32],
|
|
@@ -476,7 +480,7 @@ function defineCustomElement$1() {
|
|
|
476
480
|
if (typeof customElements === "undefined") {
|
|
477
481
|
return;
|
|
478
482
|
}
|
|
479
|
-
const components = ["snk-crud", "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-guides-viewer", "snk-personalized-filter", "snk-select-box", "snk-simple-bar", "snk-simple-crud", "snk-simple-form-config", "snk-tab-config", "snk-taskbar", "taskbar-actions-button"];
|
|
483
|
+
const components = ["snk-crud", "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-guides-viewer", "snk-layout-form-config", "snk-personalized-filter", "snk-select-box", "snk-simple-bar", "snk-simple-crud", "snk-simple-form-config", "snk-tab-config", "snk-taskbar", "snk-view-representation", "taskbar-actions-button"];
|
|
480
484
|
components.forEach(tagName => { switch (tagName) {
|
|
481
485
|
case "snk-crud":
|
|
482
486
|
if (!customElements.get(tagName)) {
|
|
@@ -485,155 +489,165 @@ function defineCustomElement$1() {
|
|
|
485
489
|
break;
|
|
486
490
|
case "snk-actions-button":
|
|
487
491
|
if (!customElements.get(tagName)) {
|
|
488
|
-
defineCustomElement$
|
|
492
|
+
defineCustomElement$z();
|
|
489
493
|
}
|
|
490
494
|
break;
|
|
491
495
|
case "snk-attach":
|
|
492
496
|
if (!customElements.get(tagName)) {
|
|
493
|
-
defineCustomElement$
|
|
497
|
+
defineCustomElement$y();
|
|
494
498
|
}
|
|
495
499
|
break;
|
|
496
500
|
case "snk-config-options":
|
|
497
501
|
if (!customElements.get(tagName)) {
|
|
498
|
-
defineCustomElement$
|
|
502
|
+
defineCustomElement$x();
|
|
499
503
|
}
|
|
500
504
|
break;
|
|
501
505
|
case "snk-configurator":
|
|
502
506
|
if (!customElements.get(tagName)) {
|
|
503
|
-
defineCustomElement$
|
|
507
|
+
defineCustomElement$w();
|
|
504
508
|
}
|
|
505
509
|
break;
|
|
506
510
|
case "snk-data-exporter":
|
|
507
511
|
if (!customElements.get(tagName)) {
|
|
508
|
-
defineCustomElement$
|
|
512
|
+
defineCustomElement$v();
|
|
509
513
|
}
|
|
510
514
|
break;
|
|
511
515
|
case "snk-data-unit":
|
|
512
516
|
if (!customElements.get(tagName)) {
|
|
513
|
-
defineCustomElement$
|
|
517
|
+
defineCustomElement$u();
|
|
514
518
|
}
|
|
515
519
|
break;
|
|
516
520
|
case "snk-detail-view":
|
|
517
521
|
if (!customElements.get(tagName)) {
|
|
518
|
-
defineCustomElement$
|
|
522
|
+
defineCustomElement$t();
|
|
519
523
|
}
|
|
520
524
|
break;
|
|
521
525
|
case "snk-exporter-email-sender":
|
|
522
526
|
if (!customElements.get(tagName)) {
|
|
523
|
-
defineCustomElement$
|
|
527
|
+
defineCustomElement$s();
|
|
524
528
|
}
|
|
525
529
|
break;
|
|
526
530
|
case "snk-expression-group":
|
|
527
531
|
if (!customElements.get(tagName)) {
|
|
528
|
-
defineCustomElement$
|
|
532
|
+
defineCustomElement$r();
|
|
529
533
|
}
|
|
530
534
|
break;
|
|
531
535
|
case "snk-expression-item":
|
|
532
536
|
if (!customElements.get(tagName)) {
|
|
533
|
-
defineCustomElement$
|
|
537
|
+
defineCustomElement$q();
|
|
534
538
|
}
|
|
535
539
|
break;
|
|
536
540
|
case "snk-field-config":
|
|
537
541
|
if (!customElements.get(tagName)) {
|
|
538
|
-
defineCustomElement$
|
|
542
|
+
defineCustomElement$p();
|
|
539
543
|
}
|
|
540
544
|
break;
|
|
541
545
|
case "snk-filter-advanced-mode":
|
|
542
546
|
if (!customElements.get(tagName)) {
|
|
543
|
-
defineCustomElement$
|
|
547
|
+
defineCustomElement$o();
|
|
544
548
|
}
|
|
545
549
|
break;
|
|
546
550
|
case "snk-filter-assistent-mode":
|
|
547
551
|
if (!customElements.get(tagName)) {
|
|
548
|
-
defineCustomElement$
|
|
552
|
+
defineCustomElement$n();
|
|
549
553
|
}
|
|
550
554
|
break;
|
|
551
555
|
case "snk-filter-bar":
|
|
552
556
|
if (!customElements.get(tagName)) {
|
|
553
|
-
defineCustomElement$
|
|
557
|
+
defineCustomElement$m();
|
|
554
558
|
}
|
|
555
559
|
break;
|
|
556
560
|
case "snk-filter-detail":
|
|
557
561
|
if (!customElements.get(tagName)) {
|
|
558
|
-
defineCustomElement$
|
|
562
|
+
defineCustomElement$l();
|
|
559
563
|
}
|
|
560
564
|
break;
|
|
561
565
|
case "snk-filter-field-search":
|
|
562
566
|
if (!customElements.get(tagName)) {
|
|
563
|
-
defineCustomElement$
|
|
567
|
+
defineCustomElement$k();
|
|
564
568
|
}
|
|
565
569
|
break;
|
|
566
570
|
case "snk-filter-item":
|
|
567
571
|
if (!customElements.get(tagName)) {
|
|
568
|
-
defineCustomElement$
|
|
572
|
+
defineCustomElement$j();
|
|
569
573
|
}
|
|
570
574
|
break;
|
|
571
575
|
case "snk-filter-param-config":
|
|
572
576
|
if (!customElements.get(tagName)) {
|
|
573
|
-
defineCustomElement$
|
|
577
|
+
defineCustomElement$i();
|
|
574
578
|
}
|
|
575
579
|
break;
|
|
576
580
|
case "snk-form-config":
|
|
577
581
|
if (!customElements.get(tagName)) {
|
|
578
|
-
defineCustomElement$
|
|
582
|
+
defineCustomElement$h();
|
|
579
583
|
}
|
|
580
584
|
break;
|
|
581
585
|
case "snk-form-summary":
|
|
582
586
|
if (!customElements.get(tagName)) {
|
|
583
|
-
defineCustomElement$
|
|
587
|
+
defineCustomElement$g();
|
|
584
588
|
}
|
|
585
589
|
break;
|
|
586
590
|
case "snk-form-view":
|
|
587
591
|
if (!customElements.get(tagName)) {
|
|
588
|
-
defineCustomElement$
|
|
592
|
+
defineCustomElement$f();
|
|
589
593
|
}
|
|
590
594
|
break;
|
|
591
595
|
case "snk-grid":
|
|
592
596
|
if (!customElements.get(tagName)) {
|
|
593
|
-
defineCustomElement$
|
|
597
|
+
defineCustomElement$e();
|
|
594
598
|
}
|
|
595
599
|
break;
|
|
596
600
|
case "snk-grid-config":
|
|
597
601
|
if (!customElements.get(tagName)) {
|
|
598
|
-
defineCustomElement$
|
|
602
|
+
defineCustomElement$d();
|
|
599
603
|
}
|
|
600
604
|
break;
|
|
601
605
|
case "snk-guides-viewer":
|
|
602
606
|
if (!customElements.get(tagName)) {
|
|
603
|
-
defineCustomElement$
|
|
607
|
+
defineCustomElement$c();
|
|
608
|
+
}
|
|
609
|
+
break;
|
|
610
|
+
case "snk-layout-form-config":
|
|
611
|
+
if (!customElements.get(tagName)) {
|
|
612
|
+
defineCustomElement$b();
|
|
604
613
|
}
|
|
605
614
|
break;
|
|
606
615
|
case "snk-personalized-filter":
|
|
607
616
|
if (!customElements.get(tagName)) {
|
|
608
|
-
defineCustomElement$
|
|
617
|
+
defineCustomElement$a();
|
|
609
618
|
}
|
|
610
619
|
break;
|
|
611
620
|
case "snk-select-box":
|
|
612
621
|
if (!customElements.get(tagName)) {
|
|
613
|
-
defineCustomElement$
|
|
622
|
+
defineCustomElement$9();
|
|
614
623
|
}
|
|
615
624
|
break;
|
|
616
625
|
case "snk-simple-bar":
|
|
617
626
|
if (!customElements.get(tagName)) {
|
|
618
|
-
defineCustomElement$
|
|
627
|
+
defineCustomElement$8();
|
|
619
628
|
}
|
|
620
629
|
break;
|
|
621
630
|
case "snk-simple-crud":
|
|
622
631
|
if (!customElements.get(tagName)) {
|
|
623
|
-
defineCustomElement$
|
|
632
|
+
defineCustomElement$7();
|
|
624
633
|
}
|
|
625
634
|
break;
|
|
626
635
|
case "snk-simple-form-config":
|
|
627
636
|
if (!customElements.get(tagName)) {
|
|
628
|
-
defineCustomElement$
|
|
637
|
+
defineCustomElement$6();
|
|
629
638
|
}
|
|
630
639
|
break;
|
|
631
640
|
case "snk-tab-config":
|
|
632
641
|
if (!customElements.get(tagName)) {
|
|
633
|
-
defineCustomElement$
|
|
642
|
+
defineCustomElement$5();
|
|
634
643
|
}
|
|
635
644
|
break;
|
|
636
645
|
case "snk-taskbar":
|
|
646
|
+
if (!customElements.get(tagName)) {
|
|
647
|
+
defineCustomElement$4();
|
|
648
|
+
}
|
|
649
|
+
break;
|
|
650
|
+
case "snk-view-representation":
|
|
637
651
|
if (!customElements.get(tagName)) {
|
|
638
652
|
defineCustomElement$3();
|
|
639
653
|
}
|