@sankhyalabs/sankhyablocks 8.16.0-dev.99 → 8.16.0-ms.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/{ClientSideExporterProvider-cc82b68a.js → ClientSideExporterProvider-2f5f350c.js} +21 -55
- package/dist/cjs/{ConfigStorage-2235f35e.js → ConfigStorage-d024aec8.js} +2 -2
- package/dist/cjs/{DataFetcher-875371e9.js → DataFetcher-65879b2c.js} +1 -1
- package/dist/cjs/ISave-e91b70a7.js +9 -0
- package/dist/cjs/{SnkFormConfigManager-6637cd6b.js → SnkFormConfigManager-c11d8468.js} +2 -2
- package/dist/cjs/{auth-fetcher-abad589f.js → auth-fetcher-8480751c.js} +1 -1
- package/dist/cjs/{dataunit-fetcher-b95768e8.js → dataunit-fetcher-449d51a3.js} +1 -1
- package/dist/cjs/{form-config-fetcher-db332748.js → form-config-fetcher-90126e4c.js} +1 -15
- package/dist/cjs/index-f9e81701.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{ISave-62fbb1dd.js → pesquisa-fetcher-5c583c93.js} +1 -9
- package/dist/cjs/pesquisa-grid_2.cjs.entry.js +6 -5
- package/dist/cjs/sankhyablocks.cjs.js +1 -1
- package/dist/cjs/{snk-actions-button_7.cjs.entry.js → snk-actions-button_5.cjs.entry.js} +6 -65
- package/dist/cjs/snk-application.cjs.entry.js +7 -50
- package/dist/cjs/snk-attach.cjs.entry.js +6 -5
- package/dist/cjs/snk-config-options_3.cjs.entry.js +4 -4
- package/dist/cjs/snk-configurator.cjs.entry.js +1 -8
- package/dist/cjs/snk-crud.cjs.entry.js +7 -7
- package/dist/cjs/snk-data-exporter.cjs.entry.js +7 -6
- package/dist/cjs/{snk-data-unit-33937ffe.js → snk-data-unit-bbd384bf.js} +1 -1
- package/dist/cjs/snk-data-unit.cjs.entry.js +3 -3
- package/dist/cjs/snk-detail-view.cjs.entry.js +10 -10
- 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-grid.cjs.entry.js +7 -6
- package/dist/cjs/{snk-guides-viewer-0e4f3b1a.js → snk-guides-viewer-5396062f.js} +7 -6
- package/dist/cjs/snk-guides-viewer.cjs.entry.js +8 -7
- package/dist/cjs/snk-personalized-filter.cjs.entry.js +3 -3
- package/dist/cjs/snk-pesquisa.cjs.entry.js +12 -11
- package/dist/cjs/snk-simple-crud.cjs.entry.js +9 -9
- package/dist/collection/collection-manifest.json +0 -2
- package/dist/collection/components/snk-application/snk-application.js +0 -41
- package/dist/collection/components/snk-configurator/snk-configurator.js +1 -26
- package/dist/collection/components/snk-crud/snk-crud.js +1 -20
- package/dist/collection/components/snk-crud/subcomponents/snk-detail-view/snk-detail-view.css +1 -10
- package/dist/collection/components/snk-crud/subcomponents/snk-detail-view/snk-detail-view.js +1 -25
- package/dist/collection/components/snk-crud/subcomponents/snk-guides-viewer.js +1 -1
- package/dist/collection/components/snk-data-exporter/interfaces/IExporterProvider.js +16 -51
- package/dist/collection/components/snk-data-exporter/utils/ParserExport.js +1 -1
- package/dist/collection/components/snk-simple-crud/snk-simple-crud.js +1 -20
- package/dist/collection/lib/http/data-fetcher/DataFetcher.js +1 -1
- package/dist/collection/lib/http/data-fetcher/fetchers/form-config-fetcher.js +0 -14
- package/dist/components/ContinuousInsertUtils.js +16 -51
- package/dist/components/DataFetcher.js +1 -1
- package/dist/components/form-config-fetcher.js +0 -14
- package/dist/components/index.d.ts +0 -2
- package/dist/components/index.js +0 -2
- package/dist/components/snk-application2.js +0 -45
- package/dist/components/snk-attach2.js +22 -34
- package/dist/components/snk-configurator2.js +2 -22
- package/dist/components/snk-crud.js +62 -76
- package/dist/components/snk-data-exporter2.js +1 -1
- package/dist/components/snk-detail-view2.js +86 -110
- package/dist/components/snk-simple-crud2.js +19 -33
- package/dist/esm/{ClientSideExporterProvider-8191676b.js → ClientSideExporterProvider-3537805a.js} +21 -55
- package/dist/esm/{ConfigStorage-9bd805d6.js → ConfigStorage-373bb440.js} +2 -2
- package/dist/esm/{DataFetcher-ecf5f903.js → DataFetcher-5221b992.js} +1 -1
- package/dist/esm/ISave-d8c8bc59.js +9 -0
- package/dist/esm/{SnkFormConfigManager-fbc6a9a8.js → SnkFormConfigManager-5022f87f.js} +2 -2
- package/dist/esm/{auth-fetcher-07d33333.js → auth-fetcher-e32fe8a4.js} +1 -1
- package/dist/esm/{dataunit-fetcher-ed6e65ef.js → dataunit-fetcher-91b094f2.js} +1 -1
- package/dist/esm/{form-config-fetcher-ac17cff4.js → form-config-fetcher-126e2471.js} +1 -15
- package/dist/esm/index-a7d3d3f1.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{ISave-7d546dce.js → pesquisa-fetcher-4284f2a3.js} +2 -10
- package/dist/esm/pesquisa-grid_2.entry.js +5 -4
- package/dist/esm/sankhyablocks.js +1 -1
- package/dist/esm/{snk-actions-button_7.entry.js → snk-actions-button_5.entry.js} +8 -65
- package/dist/esm/snk-application.entry.js +6 -49
- package/dist/esm/snk-attach.entry.js +6 -5
- package/dist/esm/snk-config-options_3.entry.js +4 -4
- package/dist/esm/snk-configurator.entry.js +1 -8
- package/dist/esm/snk-crud.entry.js +7 -7
- package/dist/esm/snk-data-exporter.entry.js +7 -6
- package/dist/esm/{snk-data-unit-6258b8ae.js → snk-data-unit-b03bb5cf.js} +1 -1
- package/dist/esm/snk-data-unit.entry.js +3 -3
- package/dist/esm/snk-detail-view.entry.js +10 -10
- 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-grid.entry.js +7 -6
- package/dist/esm/{snk-guides-viewer-80a8709c.js → snk-guides-viewer-749d027c.js} +7 -6
- package/dist/esm/snk-guides-viewer.entry.js +8 -7
- package/dist/esm/snk-personalized-filter.entry.js +3 -3
- package/dist/esm/snk-pesquisa.entry.js +5 -4
- package/dist/esm/snk-simple-crud.entry.js +9 -9
- package/dist/sankhyablocks/p-13391b3d.entry.js +1 -0
- package/dist/sankhyablocks/p-1435701f.js +26 -0
- package/dist/sankhyablocks/{p-13f17dab.js → p-19dc71e9.js} +1 -1
- package/dist/sankhyablocks/{p-340e2447.entry.js → p-1cf39cfd.entry.js} +1 -1
- package/dist/sankhyablocks/p-21749402.js +1 -0
- package/dist/sankhyablocks/{p-abd9681c.js → p-23b47a92.js} +1 -1
- package/dist/sankhyablocks/{p-7e0a0aae.js → p-3653374d.js} +1 -1
- package/dist/sankhyablocks/p-389ba782.entry.js +1 -0
- package/dist/sankhyablocks/p-3ba431c9.js +1 -0
- package/dist/sankhyablocks/{p-108fee57.js → p-41c3bee5.js} +2 -2
- package/dist/sankhyablocks/{p-2746d606.entry.js → p-44efbeed.entry.js} +1 -1
- package/dist/sankhyablocks/p-4be6e0e7.entry.js +1 -0
- package/dist/sankhyablocks/p-4c9adf1c.entry.js +1 -0
- package/dist/sankhyablocks/p-4d87cd45.entry.js +1 -0
- package/dist/sankhyablocks/p-4fa79d68.entry.js +1 -0
- package/dist/sankhyablocks/p-5dd7f4c7.js +1 -0
- package/dist/sankhyablocks/p-6234bda8.entry.js +1 -0
- package/dist/sankhyablocks/p-647f9830.entry.js +11 -0
- package/dist/sankhyablocks/p-7b87d1a8.js +1 -0
- package/dist/sankhyablocks/{p-0bcd4757.entry.js → p-82ee6dc3.entry.js} +1 -1
- package/dist/sankhyablocks/{p-5fea0816.entry.js → p-974fdba6.entry.js} +1 -1
- package/dist/sankhyablocks/p-ad5e4f9d.entry.js +1 -0
- package/dist/sankhyablocks/p-b2de1bcc.entry.js +1 -0
- package/dist/sankhyablocks/{p-f467153c.entry.js → p-c021a3a9.entry.js} +1 -1
- package/dist/sankhyablocks/p-ca316523.entry.js +1 -0
- package/dist/sankhyablocks/{p-5a7e18f4.js → p-d62228fb.js} +1 -1
- package/dist/sankhyablocks/p-ee53b000.entry.js +1 -0
- package/dist/sankhyablocks/{p-48729c8c.js → p-f0b9303b.js} +1 -1
- package/dist/sankhyablocks/sankhyablocks.esm.js +1 -1
- package/dist/types/components/snk-application/snk-application.d.ts +0 -10
- package/dist/types/components/snk-configurator/snk-configurator.d.ts +0 -6
- package/dist/types/components/snk-crud/snk-crud.d.ts +0 -4
- package/dist/types/components/snk-crud/subcomponents/snk-detail-view/snk-detail-view.d.ts +0 -5
- package/dist/types/components/snk-data-exporter/interfaces/IExporterProvider.d.ts +0 -7
- package/dist/types/components/snk-simple-crud/snk-simple-crud.d.ts +0 -4
- package/dist/types/components.d.ts +1 -77
- package/dist/types/lib/http/data-fetcher/fetchers/form-config-fetcher.d.ts +0 -6
- package/package.json +1 -1
- package/react/components.d.ts +0 -2
- package/react/components.js +0 -2
- package/react/components.js.map +1 -1
- package/dist/collection/components/snk-layout-form-config/snk-layout-form-config.css +0 -3
- package/dist/collection/components/snk-layout-form-config/snk-layout-form-config.js +0 -73
- package/dist/collection/components/snk-layout-form-config/snk-view-representation/snk-view-representation.css +0 -78
- package/dist/collection/components/snk-layout-form-config/snk-view-representation/snk-view-representation.js +0 -57
- package/dist/collection/lib/configs/LayoutFormConfig.js +0 -25
- package/dist/components/snk-layout-form-config.d.ts +0 -11
- package/dist/components/snk-layout-form-config.js +0 -6
- package/dist/components/snk-layout-form-config2.js +0 -73
- package/dist/components/snk-view-representation.d.ts +0 -11
- package/dist/components/snk-view-representation.js +0 -6
- package/dist/components/snk-view-representation2.js +0 -41
- package/dist/sankhyablocks/p-01512409.js +0 -26
- package/dist/sankhyablocks/p-02c6dc9f.entry.js +0 -1
- package/dist/sankhyablocks/p-35fcf37e.js +0 -1
- package/dist/sankhyablocks/p-3a36d4b3.entry.js +0 -1
- package/dist/sankhyablocks/p-513af002.entry.js +0 -1
- package/dist/sankhyablocks/p-950e3cbe.entry.js +0 -1
- package/dist/sankhyablocks/p-9907cf67.entry.js +0 -1
- package/dist/sankhyablocks/p-af58c9d7.entry.js +0 -1
- package/dist/sankhyablocks/p-c5acb7ba.entry.js +0 -11
- package/dist/sankhyablocks/p-c7c6eab7.entry.js +0 -1
- package/dist/sankhyablocks/p-cb9d725a.js +0 -1
- package/dist/sankhyablocks/p-d1f04e2c.js +0 -1
- package/dist/sankhyablocks/p-d2065bb4.entry.js +0 -1
- package/dist/sankhyablocks/p-dc617b0c.entry.js +0 -1
- package/dist/sankhyablocks/p-e5d8891d.entry.js +0 -1
- package/dist/sankhyablocks/p-f861bfcb.entry.js +0 -1
- package/dist/types/components/snk-layout-form-config/snk-layout-form-config.d.ts +0 -15
- package/dist/types/components/snk-layout-form-config/snk-view-representation/snk-view-representation.d.ts +0 -10
- package/dist/types/lib/configs/LayoutFormConfig.d.ts +0 -11
@@ -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$3 } 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,37 +10,35 @@ 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$
|
42
|
-
import { d as defineCustomElement$5 } from './snk-tab-config2.js';
|
43
|
-
import { d as defineCustomElement$3 } from './snk-view-representation2.js';
|
13
|
+
import { d as defineCustomElement$x } from './snk-actions-button2.js';
|
14
|
+
import { d as defineCustomElement$w } from './snk-attach2.js';
|
15
|
+
import { d as defineCustomElement$v } from './snk-config-options2.js';
|
16
|
+
import { d as defineCustomElement$u } from './snk-configurator2.js';
|
17
|
+
import { d as defineCustomElement$t } from './snk-data-exporter2.js';
|
18
|
+
import { d as defineCustomElement$s } from './snk-data-unit2.js';
|
19
|
+
import { d as defineCustomElement$a, a as defineCustomElement$r } from './snk-detail-view2.js';
|
20
|
+
import { d as defineCustomElement$q } from './snk-exporter-email-sender2.js';
|
21
|
+
import { d as defineCustomElement$p } from './snk-expression-group2.js';
|
22
|
+
import { d as defineCustomElement$o } from './snk-expression-item2.js';
|
23
|
+
import { d as defineCustomElement$n } from './snk-field-config2.js';
|
24
|
+
import { d as defineCustomElement$m } from './snk-filter-advanced-mode2.js';
|
25
|
+
import { d as defineCustomElement$l } from './snk-filter-assistent-mode2.js';
|
26
|
+
import { d as defineCustomElement$k } from './snk-filter-bar2.js';
|
27
|
+
import { d as defineCustomElement$j } from './snk-filter-detail2.js';
|
28
|
+
import { d as defineCustomElement$i } from './snk-filter-field-search2.js';
|
29
|
+
import { d as defineCustomElement$h } from './snk-filter-item2.js';
|
30
|
+
import { d as defineCustomElement$g } from './snk-filter-param-config2.js';
|
31
|
+
import { d as defineCustomElement$f } from './snk-form-config2.js';
|
32
|
+
import { d as defineCustomElement$e } from './snk-form-summary2.js';
|
33
|
+
import { d as defineCustomElement$d } from './snk-form-view2.js';
|
34
|
+
import { d as defineCustomElement$c } from './snk-grid2.js';
|
35
|
+
import { d as defineCustomElement$b } from './snk-grid-config2.js';
|
36
|
+
import { d as defineCustomElement$9 } from './snk-personalized-filter2.js';
|
37
|
+
import { d as defineCustomElement$8 } from './snk-select-box2.js';
|
38
|
+
import { d as defineCustomElement$7 } from './snk-simple-bar2.js';
|
39
|
+
import { d as defineCustomElement$6 } from './snk-simple-crud2.js';
|
40
|
+
import { d as defineCustomElement$5 } from './snk-simple-form-config2.js';
|
41
|
+
import { d as defineCustomElement$4 } from './snk-tab-config2.js';
|
44
42
|
import { d as defineCustomElement$2 } from './taskbar-actions-button2.js';
|
45
43
|
|
46
44
|
const snkCrudCss = ".sc-snk-crud-h{display:flex;flex-direction:column;height:100%;width:100%}";
|
@@ -89,7 +87,6 @@ const SnkCrud$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
89
87
|
this.ignoreReadOnlyFormFields = undefined;
|
90
88
|
this.setCustomFormTitle = undefined;
|
91
89
|
this.strategyExporter = ExporterStrategy.SERVER_SIDE;
|
92
|
-
this.layoutFormConfig = false;
|
93
90
|
this.customContainerId = `SNK-CRUD-CUSTOM-CONTAINER-${StringUtils.generateUUID()}`;
|
94
91
|
}
|
95
92
|
/**
|
@@ -424,7 +421,7 @@ const SnkCrud$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
424
421
|
return;
|
425
422
|
}
|
426
423
|
this._snkDataUnit.ignoreSaveMessage = (this._currentViewMode === VIEW_MODE.GRID && !this.enableGridInsert);
|
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
|
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" }))));
|
428
425
|
}
|
429
426
|
get _element() { return this; }
|
430
427
|
static get watchers() { return {
|
@@ -457,7 +454,6 @@ const SnkCrud$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
457
454
|
"ignoreReadOnlyFormFields": [4, "ignore-read-only-form-fields"],
|
458
455
|
"setCustomFormTitle": [16],
|
459
456
|
"strategyExporter": [1025, "strategy-exporter"],
|
460
|
-
"layoutFormConfig": [4, "layout-form-config"],
|
461
457
|
"_dataUnit": [32],
|
462
458
|
"_dataState": [32],
|
463
459
|
"attachmentRegisterKey": [32],
|
@@ -480,7 +476,7 @@ function defineCustomElement$1() {
|
|
480
476
|
if (typeof customElements === "undefined") {
|
481
477
|
return;
|
482
478
|
}
|
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-
|
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"];
|
484
480
|
components.forEach(tagName => { switch (tagName) {
|
485
481
|
case "snk-crud":
|
486
482
|
if (!customElements.get(tagName)) {
|
@@ -488,166 +484,156 @@ function defineCustomElement$1() {
|
|
488
484
|
}
|
489
485
|
break;
|
490
486
|
case "snk-actions-button":
|
491
|
-
if (!customElements.get(tagName)) {
|
492
|
-
defineCustomElement$z();
|
493
|
-
}
|
494
|
-
break;
|
495
|
-
case "snk-attach":
|
496
|
-
if (!customElements.get(tagName)) {
|
497
|
-
defineCustomElement$y();
|
498
|
-
}
|
499
|
-
break;
|
500
|
-
case "snk-config-options":
|
501
487
|
if (!customElements.get(tagName)) {
|
502
488
|
defineCustomElement$x();
|
503
489
|
}
|
504
490
|
break;
|
505
|
-
case "snk-
|
491
|
+
case "snk-attach":
|
506
492
|
if (!customElements.get(tagName)) {
|
507
493
|
defineCustomElement$w();
|
508
494
|
}
|
509
495
|
break;
|
510
|
-
case "snk-
|
496
|
+
case "snk-config-options":
|
511
497
|
if (!customElements.get(tagName)) {
|
512
498
|
defineCustomElement$v();
|
513
499
|
}
|
514
500
|
break;
|
515
|
-
case "snk-
|
501
|
+
case "snk-configurator":
|
516
502
|
if (!customElements.get(tagName)) {
|
517
503
|
defineCustomElement$u();
|
518
504
|
}
|
519
505
|
break;
|
520
|
-
case "snk-
|
506
|
+
case "snk-data-exporter":
|
521
507
|
if (!customElements.get(tagName)) {
|
522
508
|
defineCustomElement$t();
|
523
509
|
}
|
524
510
|
break;
|
525
|
-
case "snk-
|
511
|
+
case "snk-data-unit":
|
526
512
|
if (!customElements.get(tagName)) {
|
527
513
|
defineCustomElement$s();
|
528
514
|
}
|
529
515
|
break;
|
530
|
-
case "snk-
|
516
|
+
case "snk-detail-view":
|
531
517
|
if (!customElements.get(tagName)) {
|
532
518
|
defineCustomElement$r();
|
533
519
|
}
|
534
520
|
break;
|
535
|
-
case "snk-
|
521
|
+
case "snk-exporter-email-sender":
|
536
522
|
if (!customElements.get(tagName)) {
|
537
523
|
defineCustomElement$q();
|
538
524
|
}
|
539
525
|
break;
|
540
|
-
case "snk-
|
526
|
+
case "snk-expression-group":
|
541
527
|
if (!customElements.get(tagName)) {
|
542
528
|
defineCustomElement$p();
|
543
529
|
}
|
544
530
|
break;
|
545
|
-
case "snk-
|
531
|
+
case "snk-expression-item":
|
546
532
|
if (!customElements.get(tagName)) {
|
547
533
|
defineCustomElement$o();
|
548
534
|
}
|
549
535
|
break;
|
550
|
-
case "snk-
|
536
|
+
case "snk-field-config":
|
551
537
|
if (!customElements.get(tagName)) {
|
552
538
|
defineCustomElement$n();
|
553
539
|
}
|
554
540
|
break;
|
555
|
-
case "snk-filter-
|
541
|
+
case "snk-filter-advanced-mode":
|
556
542
|
if (!customElements.get(tagName)) {
|
557
543
|
defineCustomElement$m();
|
558
544
|
}
|
559
545
|
break;
|
560
|
-
case "snk-filter-
|
546
|
+
case "snk-filter-assistent-mode":
|
561
547
|
if (!customElements.get(tagName)) {
|
562
548
|
defineCustomElement$l();
|
563
549
|
}
|
564
550
|
break;
|
565
|
-
case "snk-filter-
|
551
|
+
case "snk-filter-bar":
|
566
552
|
if (!customElements.get(tagName)) {
|
567
553
|
defineCustomElement$k();
|
568
554
|
}
|
569
555
|
break;
|
570
|
-
case "snk-filter-
|
556
|
+
case "snk-filter-detail":
|
571
557
|
if (!customElements.get(tagName)) {
|
572
558
|
defineCustomElement$j();
|
573
559
|
}
|
574
560
|
break;
|
575
|
-
case "snk-filter-
|
561
|
+
case "snk-filter-field-search":
|
576
562
|
if (!customElements.get(tagName)) {
|
577
563
|
defineCustomElement$i();
|
578
564
|
}
|
579
565
|
break;
|
580
|
-
case "snk-
|
566
|
+
case "snk-filter-item":
|
581
567
|
if (!customElements.get(tagName)) {
|
582
568
|
defineCustomElement$h();
|
583
569
|
}
|
584
570
|
break;
|
585
|
-
case "snk-
|
571
|
+
case "snk-filter-param-config":
|
586
572
|
if (!customElements.get(tagName)) {
|
587
573
|
defineCustomElement$g();
|
588
574
|
}
|
589
575
|
break;
|
590
|
-
case "snk-form-
|
576
|
+
case "snk-form-config":
|
591
577
|
if (!customElements.get(tagName)) {
|
592
578
|
defineCustomElement$f();
|
593
579
|
}
|
594
580
|
break;
|
595
|
-
case "snk-
|
581
|
+
case "snk-form-summary":
|
596
582
|
if (!customElements.get(tagName)) {
|
597
583
|
defineCustomElement$e();
|
598
584
|
}
|
599
585
|
break;
|
600
|
-
case "snk-
|
586
|
+
case "snk-form-view":
|
601
587
|
if (!customElements.get(tagName)) {
|
602
588
|
defineCustomElement$d();
|
603
589
|
}
|
604
590
|
break;
|
605
|
-
case "snk-
|
591
|
+
case "snk-grid":
|
606
592
|
if (!customElements.get(tagName)) {
|
607
593
|
defineCustomElement$c();
|
608
594
|
}
|
609
595
|
break;
|
610
|
-
case "snk-
|
596
|
+
case "snk-grid-config":
|
611
597
|
if (!customElements.get(tagName)) {
|
612
598
|
defineCustomElement$b();
|
613
599
|
}
|
614
600
|
break;
|
615
|
-
case "snk-
|
601
|
+
case "snk-guides-viewer":
|
616
602
|
if (!customElements.get(tagName)) {
|
617
603
|
defineCustomElement$a();
|
618
604
|
}
|
619
605
|
break;
|
620
|
-
case "snk-
|
606
|
+
case "snk-personalized-filter":
|
621
607
|
if (!customElements.get(tagName)) {
|
622
608
|
defineCustomElement$9();
|
623
609
|
}
|
624
610
|
break;
|
625
|
-
case "snk-
|
611
|
+
case "snk-select-box":
|
626
612
|
if (!customElements.get(tagName)) {
|
627
613
|
defineCustomElement$8();
|
628
614
|
}
|
629
615
|
break;
|
630
|
-
case "snk-simple-
|
616
|
+
case "snk-simple-bar":
|
631
617
|
if (!customElements.get(tagName)) {
|
632
618
|
defineCustomElement$7();
|
633
619
|
}
|
634
620
|
break;
|
635
|
-
case "snk-simple-
|
621
|
+
case "snk-simple-crud":
|
636
622
|
if (!customElements.get(tagName)) {
|
637
623
|
defineCustomElement$6();
|
638
624
|
}
|
639
625
|
break;
|
640
|
-
case "snk-
|
626
|
+
case "snk-simple-form-config":
|
641
627
|
if (!customElements.get(tagName)) {
|
642
628
|
defineCustomElement$5();
|
643
629
|
}
|
644
630
|
break;
|
645
|
-
case "snk-
|
631
|
+
case "snk-tab-config":
|
646
632
|
if (!customElements.get(tagName)) {
|
647
633
|
defineCustomElement$4();
|
648
634
|
}
|
649
635
|
break;
|
650
|
-
case "snk-
|
636
|
+
case "snk-taskbar":
|
651
637
|
if (!customElements.get(tagName)) {
|
652
638
|
defineCustomElement$3();
|
653
639
|
}
|
@@ -249,7 +249,7 @@ function getFormatResponse(result) {
|
|
249
249
|
return ObjectUtils.stringToObject(response);
|
250
250
|
}
|
251
251
|
|
252
|
-
const DOC_MAX_WIDTH =
|
252
|
+
const DOC_MAX_WIDTH = 760;
|
253
253
|
function getVisibleColumns(columns) {
|
254
254
|
const visibleColumns = [];
|
255
255
|
let totalWidth = 0;
|