@sankhyalabs/sankhyablocks 8.16.0-dev.110 → 8.16.0-dev.111
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/{SnkMessageBuilder-aecd7c18.js → SnkMessageBuilder-9deeae08.js} +4 -3
- package/dist/cjs/index-f9e81701.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/sankhyablocks.cjs.js +1 -1
- package/dist/cjs/{snk-actions-button_7.cjs.entry.js → snk-actions-button_8.cjs.entry.js} +61 -0
- package/dist/cjs/snk-application.cjs.entry.js +1 -1
- package/dist/cjs/snk-attach.cjs.entry.js +1 -1
- package/dist/cjs/snk-crud.cjs.entry.js +2 -26
- package/dist/cjs/snk-data-exporter.cjs.entry.js +2 -2
- package/dist/cjs/{snk-data-unit-ebfdb9ba.js → snk-data-unit-57916de4.js} +1 -1
- package/dist/cjs/snk-data-unit.cjs.entry.js +2 -2
- package/dist/cjs/snk-detail-view.cjs.entry.js +57 -5
- package/dist/cjs/snk-form-view.cjs.entry.js +19 -7
- package/dist/cjs/snk-grid.cjs.entry.js +22 -23
- package/dist/cjs/{snk-guides-viewer-fd39f437.js → snk-guides-viewer-d33379cd.js} +36 -24
- package/dist/cjs/snk-guides-viewer.cjs.entry.js +4 -3
- package/dist/cjs/snk-simple-crud.cjs.entry.js +73 -85
- package/dist/cjs/snk-taskbar.cjs.entry.js +7 -3
- package/dist/cjs/{taskbar-elements-02379452.js → taskbar-elements-6f4e06af.js} +8 -0
- package/dist/cjs/{field-search-68e34bf4.js → taskbar-processor-2fba34a8.js} +0 -35
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/snk-crud/snk-crud.js +2 -26
- package/dist/collection/components/snk-crud/subcomponents/snk-detail-view/snk-detail-view.js +58 -4
- package/dist/collection/components/snk-crud/subcomponents/snk-form-view.js +54 -7
- package/dist/collection/components/snk-crud/subcomponents/snk-guides-viewer.js +36 -40
- package/dist/collection/components/snk-grid/snk-grid.js +36 -36
- package/dist/collection/components/snk-simple-crud/snk-simple-crud.js +75 -85
- package/dist/collection/components/snk-taskbar/elements/taskbar-elements.js +8 -0
- package/dist/collection/components/snk-taskbar/elements/taskbar-split-button/taskbar-split-button.css +0 -0
- package/dist/collection/components/snk-taskbar/elements/taskbar-split-button/taskbar-split-button.js +220 -0
- package/dist/collection/components/snk-taskbar/snk-taskbar.js +28 -2
- package/dist/collection/lib/message/resources/snk-crud.msg.js +1 -1
- package/dist/collection/lib/message/resources/snk-grid.msg.js +1 -1
- package/dist/collection/lib/message/resources/snk-simple-crud.msg.js +2 -1
- package/dist/components/ContinuousInsertUtils.js +2 -33
- package/dist/components/SnkMessageBuilder.js +4 -3
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +1 -0
- package/dist/components/snk-attach2.js +34 -28
- package/dist/components/snk-crud.js +75 -93
- package/dist/components/snk-detail-view2.js +193 -117
- package/dist/components/snk-form-view2.js +22 -8
- package/dist/components/snk-grid2.js +62 -57
- package/dist/components/snk-simple-crud2.js +104 -109
- package/dist/components/snk-taskbar2.js +29 -10
- package/dist/components/taskbar-split-button.d.ts +11 -0
- package/dist/components/taskbar-split-button.js +6 -0
- package/dist/components/taskbar-split-button2.js +87 -0
- package/dist/esm/{SnkMessageBuilder-12f5fe1a.js → SnkMessageBuilder-2dbd8fa2.js} +4 -3
- package/dist/esm/index-a7d3d3f1.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/sankhyablocks.js +1 -1
- package/dist/esm/{snk-actions-button_7.entry.js → snk-actions-button_8.entry.js} +61 -1
- package/dist/esm/snk-application.entry.js +1 -1
- package/dist/esm/snk-attach.entry.js +1 -1
- package/dist/esm/snk-crud.entry.js +3 -27
- package/dist/esm/snk-data-exporter.entry.js +2 -2
- package/dist/esm/{snk-data-unit-03654813.js → snk-data-unit-65c9dd1a.js} +1 -1
- package/dist/esm/snk-data-unit.entry.js +2 -2
- package/dist/esm/snk-detail-view.entry.js +59 -7
- package/dist/esm/snk-form-view.entry.js +19 -7
- package/dist/esm/snk-grid.entry.js +20 -21
- package/dist/esm/{snk-guides-viewer-75e06feb.js → snk-guides-viewer-72953334.js} +37 -25
- package/dist/esm/snk-guides-viewer.entry.js +4 -3
- package/dist/esm/snk-simple-crud.entry.js +74 -86
- package/dist/esm/snk-taskbar.entry.js +7 -3
- package/dist/esm/{taskbar-elements-c62b6c66.js → taskbar-elements-f2cb4922.js} +8 -0
- package/dist/esm/{field-search-f8b1d91e.js → taskbar-processor-3436124c.js} +1 -34
- package/dist/sankhyablocks/p-0fadb620.js +1 -0
- package/dist/sankhyablocks/p-1a0caadb.js +1 -0
- package/dist/sankhyablocks/{p-2c08fa3e.entry.js → p-1bdffb17.entry.js} +1 -1
- package/dist/sankhyablocks/p-1f80174b.entry.js +1 -0
- package/dist/sankhyablocks/p-24a0dbd2.entry.js +1 -0
- package/dist/sankhyablocks/p-2f7e2251.entry.js +1 -0
- package/dist/sankhyablocks/p-3372178e.entry.js +1 -0
- package/dist/sankhyablocks/p-4689c2e6.js +1 -0
- package/dist/sankhyablocks/{p-271c86d3.entry.js → p-52d10014.entry.js} +1 -1
- package/dist/sankhyablocks/p-6a03b190.entry.js +1 -0
- package/dist/sankhyablocks/{p-ad07f0c5.entry.js → p-7beeabc1.entry.js} +1 -1
- package/dist/sankhyablocks/{p-4a93daef.entry.js → p-a4ebeec4.entry.js} +1 -1
- package/dist/sankhyablocks/p-bc101064.entry.js +1 -0
- package/dist/sankhyablocks/{p-f4d5bb7f.js → p-c9675d64.js} +1 -1
- package/dist/sankhyablocks/{p-4e861843.entry.js → p-ce94e6c4.entry.js} +1 -1
- package/dist/sankhyablocks/p-d07b18a4.js +1 -0
- package/dist/sankhyablocks/{p-6a0c8ce0.entry.js → p-ddf93f36.entry.js} +1 -1
- package/dist/sankhyablocks/sankhyablocks.esm.js +1 -1
- package/dist/types/components/snk-crud/snk-crud.d.ts +0 -3
- package/dist/types/components/snk-crud/subcomponents/snk-detail-view/snk-detail-view.d.ts +12 -0
- package/dist/types/components/snk-crud/subcomponents/snk-form-view.d.ts +11 -1
- package/dist/types/components/snk-crud/subcomponents/snk-guides-viewer.d.ts +6 -6
- package/dist/types/components/snk-grid/snk-grid.d.ts +7 -5
- package/dist/types/components/snk-simple-crud/snk-simple-crud.d.ts +10 -10
- package/dist/types/components/snk-taskbar/elements/taskbar-split-button/taskbar-split-button.d.ts +44 -0
- package/dist/types/components/snk-taskbar/snk-taskbar.d.ts +5 -0
- package/dist/types/components.d.ts +107 -8
- package/package.json +1 -1
- package/react/components.d.ts +1 -0
- package/react/components.js +1 -0
- package/react/components.js.map +1 -1
- package/dist/collection/components/snk-taskbar/subcomponents/field-search.js +0 -31
- package/dist/sankhyablocks/p-1a51dfde.entry.js +0 -1
- package/dist/sankhyablocks/p-1db45d26.entry.js +0 -1
- package/dist/sankhyablocks/p-23736d75.js +0 -1
- package/dist/sankhyablocks/p-2d6df7e7.entry.js +0 -1
- package/dist/sankhyablocks/p-41da5310.js +0 -1
- package/dist/sankhyablocks/p-65be98c5.entry.js +0 -1
- package/dist/sankhyablocks/p-80f8c22c.js +0 -1
- package/dist/sankhyablocks/p-cc8c3bca.entry.js +0 -1
- package/dist/sankhyablocks/p-cf1f25ed.entry.js +0 -1
- package/dist/sankhyablocks/p-fb0f0087.js +0 -1
- package/dist/types/components/snk-taskbar/subcomponents/field-search.d.ts +0 -4
@@ -8,9 +8,9 @@ import './filter-item-type.enum.js';
|
|
8
8
|
import './form-config-fetcher.js';
|
9
9
|
import './constants.js';
|
10
10
|
import InMemoryFilterColumnDataSource from '@sankhyalabs/ezui/dist/collection/components/ez-grid/utils/InMemoryFilterColumnDataSource';
|
11
|
-
import { h } from '@stencil/core/internal/client';
|
12
11
|
import { g as getSelectedRecordsIDsInfo } from './GetSelectedRecordsIDsInfo.js';
|
13
12
|
import { I as IExportType } from './snk-data-exporter2.js';
|
13
|
+
import { h } from '@stencil/core/internal/client';
|
14
14
|
|
15
15
|
class CrudUtils {
|
16
16
|
static assertDefaultSorting(gridConfig, dataUnit) {
|
@@ -192,37 +192,6 @@ class SnkMultiSelectionListDataSource {
|
|
192
192
|
}
|
193
193
|
}
|
194
194
|
|
195
|
-
const EVENT_NAME = 'taskbarActionsOpened';
|
196
|
-
const buildFieldSearch = (action, optionLoader, onSelectField) => {
|
197
|
-
return h("ez-search", { class: 'ez-actions-button--bottom-padding', canShowError: 'false', showSelectedValue: 'false', showOptionValue: 'false', suppressEmptyOption: 'true', label: action.label, value: '', optionLoader: optionLoader, onEzChange: (evt) => onSelectField(evt.detail), ignoreLimitCharsToSearch: true });
|
198
|
-
};
|
199
|
-
async function focusOnFieldSerch(field) {
|
200
|
-
requestAnimationFrame(async () => {
|
201
|
-
if (field) {
|
202
|
-
const realElement = field['$elm$'];
|
203
|
-
if (!realElement)
|
204
|
-
return;
|
205
|
-
realElement.value = null;
|
206
|
-
await realElement.setFocus();
|
207
|
-
}
|
208
|
-
});
|
209
|
-
}
|
210
|
-
const openFieldSearch = async (moreOptions, field) => {
|
211
|
-
if (!moreOptions) {
|
212
|
-
return;
|
213
|
-
}
|
214
|
-
if ((await moreOptions.isOpened())) {
|
215
|
-
await focusOnFieldSerch(field);
|
216
|
-
return;
|
217
|
-
}
|
218
|
-
const eventHandler = () => {
|
219
|
-
focusOnFieldSerch(field);
|
220
|
-
moreOptions.removeEventListener(EVENT_NAME, eventHandler);
|
221
|
-
};
|
222
|
-
moreOptions.addEventListener(EVENT_NAME, eventHandler);
|
223
|
-
await moreOptions.showActions();
|
224
|
-
};
|
225
|
-
|
226
195
|
class RmPrecisionCustomValueFormatter {
|
227
196
|
setGrid(grid) {
|
228
197
|
if (this._grid) {
|
@@ -444,4 +413,4 @@ class ContinuousInsertUtils {
|
|
444
413
|
}
|
445
414
|
}
|
446
415
|
|
447
|
-
export { CommonsExporter as C, RmPrecisionCustomValueFormatter as R, SnkMultiSelectionListDataSource as S, TaskbarProcessor as T, CrudUtils as a,
|
416
|
+
export { CommonsExporter as C, RmPrecisionCustomValueFormatter as R, SnkMultiSelectionListDataSource as S, TaskbarProcessor as T, CrudUtils as a, ContinuousInsertUtils as b, ClientSideExporterProvider as c };
|
@@ -147,12 +147,13 @@ const snkCrudMessages = {
|
|
147
147
|
update: "Alterar registro",
|
148
148
|
clean: "{{ENTITY_NAME}}"
|
149
149
|
},
|
150
|
-
findColumn: "Buscar campos",
|
150
|
+
findColumn: "Buscar campos (Ctrl+F)",
|
151
151
|
goBackTitle: "Voltar"
|
152
152
|
};
|
153
153
|
|
154
154
|
const snkSimpleCrudMessages = {
|
155
|
-
findColumn: "Busca de colunas",
|
155
|
+
findColumn: "Busca de colunas (Ctrl+F)",
|
156
|
+
findFields: "Busca de campos (Ctrl+F)",
|
156
157
|
formConfigUnavaliable: {
|
157
158
|
title: "Aviso",
|
158
159
|
message: 'A opção "Configurar formulário" será disponibilizada em breve. Enquanto isso, acesse a configuração do fomulário através dos layouts anteriores, HTML5 ou Flex.'
|
@@ -251,7 +252,7 @@ const snkConfiguratorMessages = {
|
|
251
252
|
};
|
252
253
|
|
253
254
|
const snkGridMessages = {
|
254
|
-
findColumn: "Busca de colunas",
|
255
|
+
findColumn: "Busca de colunas (Ctrl+F)",
|
255
256
|
cancelConfirmation: {
|
256
257
|
title: "Aviso",
|
257
258
|
message: "As alterações realizadas serão descartadas<br/><br/><b>Você realmente gostaria de cancelar?</b>",
|
@@ -55,6 +55,7 @@ export { SnkTabConfig as SnkTabConfig } from '../types/components/snk-form-confi
|
|
55
55
|
export { SnkTaskbar as SnkTaskbar } from '../types/components/snk-taskbar/snk-taskbar';
|
56
56
|
export { SnkViewRepresentation as SnkViewRepresentation } from '../types/components/snk-layout-form-config/snk-view-representation/snk-view-representation';
|
57
57
|
export { TaskbarActionsButton as TaskbarActionsButton } from '../types/components/snk-taskbar/elements/taskbar-actions-button/taskbar-actions-button';
|
58
|
+
export { TaskbarSplitButton as TaskbarSplitButton } from '../types/components/snk-taskbar/elements/taskbar-split-button/taskbar-split-button';
|
58
59
|
export { TestePesquisa as TestePesquisa } from '../types/components/teste-pesquisa/teste-pesquisa';
|
59
60
|
|
60
61
|
/**
|
package/dist/components/index.js
CHANGED
@@ -55,4 +55,5 @@ export { SnkTabConfig, defineCustomElement as defineCustomElementSnkTabConfig }
|
|
55
55
|
export { SnkTaskbar, defineCustomElement as defineCustomElementSnkTaskbar } from './snk-taskbar.js';
|
56
56
|
export { SnkViewRepresentation, defineCustomElement as defineCustomElementSnkViewRepresentation } from './snk-view-representation.js';
|
57
57
|
export { TaskbarActionsButton, defineCustomElement as defineCustomElementTaskbarActionsButton } from './taskbar-actions-button.js';
|
58
|
+
export { TaskbarSplitButton, defineCustomElement as defineCustomElementTaskbarSplitButton } from './taskbar-split-button.js';
|
58
59
|
export { TestePesquisa, defineCustomElement as defineCustomElementTestePesquisa } from './teste-pesquisa.js';
|
@@ -7,20 +7,21 @@ import './filter-item-type.enum.js';
|
|
7
7
|
import './form-config-fetcher.js';
|
8
8
|
import { V as VIEW_MODE } from './constants.js';
|
9
9
|
import { A as AutorizationType } from './auth-fetcher.js';
|
10
|
-
import { T as TaskbarElement, d as defineCustomElement$
|
11
|
-
import { d as defineCustomElement$
|
12
|
-
import { d as defineCustomElement$
|
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$
|
10
|
+
import { T as TaskbarElement, d as defineCustomElement$4 } from './snk-taskbar2.js';
|
11
|
+
import { d as defineCustomElement$f } from './snk-actions-button2.js';
|
12
|
+
import { d as defineCustomElement$e } from './snk-configurator2.js';
|
13
|
+
import { d as defineCustomElement$d } from './snk-data-exporter2.js';
|
14
|
+
import { d as defineCustomElement$c } from './snk-data-unit2.js';
|
15
|
+
import { d as defineCustomElement$b } from './snk-exporter-email-sender2.js';
|
16
|
+
import { d as defineCustomElement$a } from './snk-grid-config2.js';
|
17
|
+
import { d as defineCustomElement$9 } from './snk-layout-form-config2.js';
|
18
|
+
import { d as defineCustomElement$8 } from './snk-select-box2.js';
|
19
|
+
import { d as defineCustomElement$7 } from './snk-simple-bar2.js';
|
20
|
+
import { d as defineCustomElement$6 } from './snk-simple-crud2.js';
|
21
|
+
import { d as defineCustomElement$5 } from './snk-simple-form-config2.js';
|
22
|
+
import { d as defineCustomElement$3 } from './snk-view-representation2.js';
|
23
|
+
import { d as defineCustomElement$2 } from './taskbar-actions-button2.js';
|
24
|
+
import { d as defineCustomElement$1 } from './taskbar-split-button2.js';
|
24
25
|
|
25
26
|
const SERVICE$1 = {
|
26
27
|
save: "Attach.save",
|
@@ -900,7 +901,7 @@ function defineCustomElement() {
|
|
900
901
|
if (typeof customElements === "undefined") {
|
901
902
|
return;
|
902
903
|
}
|
903
|
-
const components = ["snk-attach", "snk-actions-button", "snk-configurator", "snk-data-exporter", "snk-data-unit", "snk-exporter-email-sender", "snk-grid-config", "snk-layout-form-config", "snk-select-box", "snk-simple-bar", "snk-simple-crud", "snk-simple-form-config", "snk-taskbar", "snk-view-representation", "taskbar-actions-button"];
|
904
|
+
const components = ["snk-attach", "snk-actions-button", "snk-configurator", "snk-data-exporter", "snk-data-unit", "snk-exporter-email-sender", "snk-grid-config", "snk-layout-form-config", "snk-select-box", "snk-simple-bar", "snk-simple-crud", "snk-simple-form-config", "snk-taskbar", "snk-view-representation", "taskbar-actions-button", "taskbar-split-button"];
|
904
905
|
components.forEach(tagName => { switch (tagName) {
|
905
906
|
case "snk-attach":
|
906
907
|
if (!customElements.get(tagName)) {
|
@@ -909,70 +910,75 @@ function defineCustomElement() {
|
|
909
910
|
break;
|
910
911
|
case "snk-actions-button":
|
911
912
|
if (!customElements.get(tagName)) {
|
912
|
-
defineCustomElement$
|
913
|
+
defineCustomElement$f();
|
913
914
|
}
|
914
915
|
break;
|
915
916
|
case "snk-configurator":
|
916
917
|
if (!customElements.get(tagName)) {
|
917
|
-
defineCustomElement$
|
918
|
+
defineCustomElement$e();
|
918
919
|
}
|
919
920
|
break;
|
920
921
|
case "snk-data-exporter":
|
921
922
|
if (!customElements.get(tagName)) {
|
922
|
-
defineCustomElement$
|
923
|
+
defineCustomElement$d();
|
923
924
|
}
|
924
925
|
break;
|
925
926
|
case "snk-data-unit":
|
926
927
|
if (!customElements.get(tagName)) {
|
927
|
-
defineCustomElement$
|
928
|
+
defineCustomElement$c();
|
928
929
|
}
|
929
930
|
break;
|
930
931
|
case "snk-exporter-email-sender":
|
931
932
|
if (!customElements.get(tagName)) {
|
932
|
-
defineCustomElement$
|
933
|
+
defineCustomElement$b();
|
933
934
|
}
|
934
935
|
break;
|
935
936
|
case "snk-grid-config":
|
936
937
|
if (!customElements.get(tagName)) {
|
937
|
-
defineCustomElement$
|
938
|
+
defineCustomElement$a();
|
938
939
|
}
|
939
940
|
break;
|
940
941
|
case "snk-layout-form-config":
|
941
942
|
if (!customElements.get(tagName)) {
|
942
|
-
defineCustomElement$
|
943
|
+
defineCustomElement$9();
|
943
944
|
}
|
944
945
|
break;
|
945
946
|
case "snk-select-box":
|
946
947
|
if (!customElements.get(tagName)) {
|
947
|
-
defineCustomElement$
|
948
|
+
defineCustomElement$8();
|
948
949
|
}
|
949
950
|
break;
|
950
951
|
case "snk-simple-bar":
|
951
952
|
if (!customElements.get(tagName)) {
|
952
|
-
defineCustomElement$
|
953
|
+
defineCustomElement$7();
|
953
954
|
}
|
954
955
|
break;
|
955
956
|
case "snk-simple-crud":
|
956
957
|
if (!customElements.get(tagName)) {
|
957
|
-
defineCustomElement$
|
958
|
+
defineCustomElement$6();
|
958
959
|
}
|
959
960
|
break;
|
960
961
|
case "snk-simple-form-config":
|
961
962
|
if (!customElements.get(tagName)) {
|
962
|
-
defineCustomElement$
|
963
|
+
defineCustomElement$5();
|
963
964
|
}
|
964
965
|
break;
|
965
966
|
case "snk-taskbar":
|
966
967
|
if (!customElements.get(tagName)) {
|
967
|
-
defineCustomElement$
|
968
|
+
defineCustomElement$4();
|
968
969
|
}
|
969
970
|
break;
|
970
971
|
case "snk-view-representation":
|
971
972
|
if (!customElements.get(tagName)) {
|
972
|
-
defineCustomElement$
|
973
|
+
defineCustomElement$3();
|
973
974
|
}
|
974
975
|
break;
|
975
976
|
case "taskbar-actions-button":
|
977
|
+
if (!customElements.get(tagName)) {
|
978
|
+
defineCustomElement$2();
|
979
|
+
}
|
980
|
+
break;
|
981
|
+
case "taskbar-split-button":
|
976
982
|
if (!customElements.get(tagName)) {
|
977
983
|
defineCustomElement$1();
|
978
984
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
2
|
-
import { StringUtils, ElementIDUtils, ApplicationContext, KeyboardManager
|
3
|
-
import { T as TaskbarElement, d as defineCustomElement$
|
2
|
+
import { StringUtils, ElementIDUtils, ApplicationContext, KeyboardManager } from '@sankhyalabs/core';
|
3
|
+
import { T as TaskbarElement, d as defineCustomElement$5 } 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,38 +10,39 @@ 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$
|
43
|
-
import { d as defineCustomElement$
|
44
|
-
import { d as defineCustomElement$
|
13
|
+
import { d as defineCustomElement$A } from './snk-actions-button2.js';
|
14
|
+
import { d as defineCustomElement$z } from './snk-attach2.js';
|
15
|
+
import { d as defineCustomElement$y } from './snk-config-options2.js';
|
16
|
+
import { d as defineCustomElement$x } from './snk-configurator2.js';
|
17
|
+
import { d as defineCustomElement$w } from './snk-data-exporter2.js';
|
18
|
+
import { d as defineCustomElement$v } from './snk-data-unit2.js';
|
19
|
+
import { d as defineCustomElement$d, a as defineCustomElement$u } from './snk-detail-view2.js';
|
20
|
+
import { d as defineCustomElement$t } from './snk-exporter-email-sender2.js';
|
21
|
+
import { d as defineCustomElement$s } from './snk-expression-group2.js';
|
22
|
+
import { d as defineCustomElement$r } from './snk-expression-item2.js';
|
23
|
+
import { d as defineCustomElement$q } from './snk-field-config2.js';
|
24
|
+
import { d as defineCustomElement$p } from './snk-filter-advanced-mode2.js';
|
25
|
+
import { d as defineCustomElement$o } from './snk-filter-assistent-mode2.js';
|
26
|
+
import { d as defineCustomElement$n } from './snk-filter-bar2.js';
|
27
|
+
import { d as defineCustomElement$m } from './snk-filter-detail2.js';
|
28
|
+
import { d as defineCustomElement$l } from './snk-filter-field-search2.js';
|
29
|
+
import { d as defineCustomElement$k } from './snk-filter-item2.js';
|
30
|
+
import { d as defineCustomElement$j } from './snk-filter-param-config2.js';
|
31
|
+
import { d as defineCustomElement$i } from './snk-form-config2.js';
|
32
|
+
import { d as defineCustomElement$h } from './snk-form-summary2.js';
|
33
|
+
import { d as defineCustomElement$g } from './snk-form-view2.js';
|
34
|
+
import { d as defineCustomElement$f } from './snk-grid2.js';
|
35
|
+
import { d as defineCustomElement$e } from './snk-grid-config2.js';
|
36
|
+
import { d as defineCustomElement$c } from './snk-layout-form-config2.js';
|
37
|
+
import { d as defineCustomElement$b } from './snk-personalized-filter2.js';
|
38
|
+
import { d as defineCustomElement$a } from './snk-select-box2.js';
|
39
|
+
import { d as defineCustomElement$9 } from './snk-simple-bar2.js';
|
40
|
+
import { d as defineCustomElement$8 } from './snk-simple-crud2.js';
|
41
|
+
import { d as defineCustomElement$7 } from './snk-simple-form-config2.js';
|
42
|
+
import { d as defineCustomElement$6 } from './snk-tab-config2.js';
|
43
|
+
import { d as defineCustomElement$4 } from './snk-view-representation2.js';
|
44
|
+
import { d as defineCustomElement$3 } from './taskbar-actions-button2.js';
|
45
|
+
import { d as defineCustomElement$2 } from './taskbar-split-button2.js';
|
45
46
|
|
46
47
|
const snkCrudCss = ".sc-snk-crud-h{display:flex;flex-direction:column;height:100%;width:100%}";
|
47
48
|
|
@@ -54,7 +55,6 @@ const SnkCrud$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
54
55
|
this.configuratorCancel = createEvent(this, "configuratorCancel", 7);
|
55
56
|
this.formItemsReady = createEvent(this, "formItemsReady", 7);
|
56
57
|
this.viewModeChanged = createEvent(this, "viewModeChanged", 7);
|
57
|
-
this._keyDownHandler = async (event) => this.keyDownListener(event);
|
58
58
|
this._viewHistory = [];
|
59
59
|
this._customEditors = new Map();
|
60
60
|
this._customRenders = new Map();
|
@@ -298,7 +298,6 @@ const SnkCrud$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
298
298
|
}
|
299
299
|
disconnectedCallback() {
|
300
300
|
this.removeShortcuts();
|
301
|
-
window.removeEventListener("keydown", this._keyDownHandler);
|
302
301
|
}
|
303
302
|
async handleDataStateChange(evt) {
|
304
303
|
var _a;
|
@@ -393,34 +392,12 @@ const SnkCrud$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
393
392
|
}
|
394
393
|
this.configuratorCancel.emit();
|
395
394
|
}
|
396
|
-
async keyDownListener(event) {
|
397
|
-
if (!event.ctrlKey || event.key == undefined || event.key.toUpperCase() !== "F") {
|
398
|
-
return;
|
399
|
-
}
|
400
|
-
if (this._element == undefined) {
|
401
|
-
return;
|
402
|
-
}
|
403
|
-
if (JSUtils.isHiddenElement(this._element)) {
|
404
|
-
return;
|
405
|
-
}
|
406
|
-
FloatingManager.closeAll();
|
407
|
-
if (this._currentViewMode === VIEW_MODE.GRID) {
|
408
|
-
await this._snkGrid.findColumn();
|
409
|
-
}
|
410
|
-
else {
|
411
|
-
await this._guidesViewer.findField();
|
412
|
-
}
|
413
|
-
event.preventDefault();
|
414
|
-
}
|
415
|
-
connectedCallback() {
|
416
|
-
window.addEventListener("keydown", this._keyDownHandler, { capture: true });
|
417
|
-
}
|
418
395
|
render() {
|
419
396
|
if (this._resourceID == undefined) {
|
420
397
|
return;
|
421
398
|
}
|
422
399
|
this._snkDataUnit.ignoreSaveMessage = (this._currentViewMode === VIEW_MODE.GRID && !this.enableGridInsert);
|
423
|
-
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, multipleEditionEnabled: this.multipleEditionEnabled }, 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",
|
400
|
+
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, multipleEditionEnabled: this.multipleEditionEnabled }, 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", { tabIndex: "0" }, 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" }))));
|
424
401
|
}
|
425
402
|
get _element() { return this; }
|
426
403
|
static get watchers() { return {
|
@@ -477,7 +454,7 @@ function defineCustomElement$1() {
|
|
477
454
|
if (typeof customElements === "undefined") {
|
478
455
|
return;
|
479
456
|
}
|
480
|
-
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"];
|
457
|
+
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", "taskbar-split-button"];
|
481
458
|
components.forEach(tagName => { switch (tagName) {
|
482
459
|
case "snk-crud":
|
483
460
|
if (!customElements.get(tagName)) {
|
@@ -486,170 +463,175 @@ function defineCustomElement$1() {
|
|
486
463
|
break;
|
487
464
|
case "snk-actions-button":
|
488
465
|
if (!customElements.get(tagName)) {
|
489
|
-
defineCustomElement$
|
466
|
+
defineCustomElement$A();
|
490
467
|
}
|
491
468
|
break;
|
492
469
|
case "snk-attach":
|
493
470
|
if (!customElements.get(tagName)) {
|
494
|
-
defineCustomElement$
|
471
|
+
defineCustomElement$z();
|
495
472
|
}
|
496
473
|
break;
|
497
474
|
case "snk-config-options":
|
498
475
|
if (!customElements.get(tagName)) {
|
499
|
-
defineCustomElement$
|
476
|
+
defineCustomElement$y();
|
500
477
|
}
|
501
478
|
break;
|
502
479
|
case "snk-configurator":
|
503
480
|
if (!customElements.get(tagName)) {
|
504
|
-
defineCustomElement$
|
481
|
+
defineCustomElement$x();
|
505
482
|
}
|
506
483
|
break;
|
507
484
|
case "snk-data-exporter":
|
508
485
|
if (!customElements.get(tagName)) {
|
509
|
-
defineCustomElement$
|
486
|
+
defineCustomElement$w();
|
510
487
|
}
|
511
488
|
break;
|
512
489
|
case "snk-data-unit":
|
513
490
|
if (!customElements.get(tagName)) {
|
514
|
-
defineCustomElement$
|
491
|
+
defineCustomElement$v();
|
515
492
|
}
|
516
493
|
break;
|
517
494
|
case "snk-detail-view":
|
518
495
|
if (!customElements.get(tagName)) {
|
519
|
-
defineCustomElement$
|
496
|
+
defineCustomElement$u();
|
520
497
|
}
|
521
498
|
break;
|
522
499
|
case "snk-exporter-email-sender":
|
523
500
|
if (!customElements.get(tagName)) {
|
524
|
-
defineCustomElement$
|
501
|
+
defineCustomElement$t();
|
525
502
|
}
|
526
503
|
break;
|
527
504
|
case "snk-expression-group":
|
528
505
|
if (!customElements.get(tagName)) {
|
529
|
-
defineCustomElement$
|
506
|
+
defineCustomElement$s();
|
530
507
|
}
|
531
508
|
break;
|
532
509
|
case "snk-expression-item":
|
533
510
|
if (!customElements.get(tagName)) {
|
534
|
-
defineCustomElement$
|
511
|
+
defineCustomElement$r();
|
535
512
|
}
|
536
513
|
break;
|
537
514
|
case "snk-field-config":
|
538
515
|
if (!customElements.get(tagName)) {
|
539
|
-
defineCustomElement$
|
516
|
+
defineCustomElement$q();
|
540
517
|
}
|
541
518
|
break;
|
542
519
|
case "snk-filter-advanced-mode":
|
543
520
|
if (!customElements.get(tagName)) {
|
544
|
-
defineCustomElement$
|
521
|
+
defineCustomElement$p();
|
545
522
|
}
|
546
523
|
break;
|
547
524
|
case "snk-filter-assistent-mode":
|
548
525
|
if (!customElements.get(tagName)) {
|
549
|
-
defineCustomElement$
|
526
|
+
defineCustomElement$o();
|
550
527
|
}
|
551
528
|
break;
|
552
529
|
case "snk-filter-bar":
|
553
530
|
if (!customElements.get(tagName)) {
|
554
|
-
defineCustomElement$
|
531
|
+
defineCustomElement$n();
|
555
532
|
}
|
556
533
|
break;
|
557
534
|
case "snk-filter-detail":
|
558
535
|
if (!customElements.get(tagName)) {
|
559
|
-
defineCustomElement$
|
536
|
+
defineCustomElement$m();
|
560
537
|
}
|
561
538
|
break;
|
562
539
|
case "snk-filter-field-search":
|
563
540
|
if (!customElements.get(tagName)) {
|
564
|
-
defineCustomElement$
|
541
|
+
defineCustomElement$l();
|
565
542
|
}
|
566
543
|
break;
|
567
544
|
case "snk-filter-item":
|
568
545
|
if (!customElements.get(tagName)) {
|
569
|
-
defineCustomElement$
|
546
|
+
defineCustomElement$k();
|
570
547
|
}
|
571
548
|
break;
|
572
549
|
case "snk-filter-param-config":
|
573
550
|
if (!customElements.get(tagName)) {
|
574
|
-
defineCustomElement$
|
551
|
+
defineCustomElement$j();
|
575
552
|
}
|
576
553
|
break;
|
577
554
|
case "snk-form-config":
|
578
555
|
if (!customElements.get(tagName)) {
|
579
|
-
defineCustomElement$
|
556
|
+
defineCustomElement$i();
|
580
557
|
}
|
581
558
|
break;
|
582
559
|
case "snk-form-summary":
|
583
560
|
if (!customElements.get(tagName)) {
|
584
|
-
defineCustomElement$
|
561
|
+
defineCustomElement$h();
|
585
562
|
}
|
586
563
|
break;
|
587
564
|
case "snk-form-view":
|
588
565
|
if (!customElements.get(tagName)) {
|
589
|
-
defineCustomElement$
|
566
|
+
defineCustomElement$g();
|
590
567
|
}
|
591
568
|
break;
|
592
569
|
case "snk-grid":
|
593
570
|
if (!customElements.get(tagName)) {
|
594
|
-
defineCustomElement$
|
571
|
+
defineCustomElement$f();
|
595
572
|
}
|
596
573
|
break;
|
597
574
|
case "snk-grid-config":
|
598
575
|
if (!customElements.get(tagName)) {
|
599
|
-
defineCustomElement$
|
576
|
+
defineCustomElement$e();
|
600
577
|
}
|
601
578
|
break;
|
602
579
|
case "snk-guides-viewer":
|
603
580
|
if (!customElements.get(tagName)) {
|
604
|
-
defineCustomElement$
|
581
|
+
defineCustomElement$d();
|
605
582
|
}
|
606
583
|
break;
|
607
584
|
case "snk-layout-form-config":
|
608
585
|
if (!customElements.get(tagName)) {
|
609
|
-
defineCustomElement$
|
586
|
+
defineCustomElement$c();
|
610
587
|
}
|
611
588
|
break;
|
612
589
|
case "snk-personalized-filter":
|
613
590
|
if (!customElements.get(tagName)) {
|
614
|
-
defineCustomElement$
|
591
|
+
defineCustomElement$b();
|
615
592
|
}
|
616
593
|
break;
|
617
594
|
case "snk-select-box":
|
618
595
|
if (!customElements.get(tagName)) {
|
619
|
-
defineCustomElement$
|
596
|
+
defineCustomElement$a();
|
620
597
|
}
|
621
598
|
break;
|
622
599
|
case "snk-simple-bar":
|
623
600
|
if (!customElements.get(tagName)) {
|
624
|
-
defineCustomElement$
|
601
|
+
defineCustomElement$9();
|
625
602
|
}
|
626
603
|
break;
|
627
604
|
case "snk-simple-crud":
|
628
605
|
if (!customElements.get(tagName)) {
|
629
|
-
defineCustomElement$
|
606
|
+
defineCustomElement$8();
|
630
607
|
}
|
631
608
|
break;
|
632
609
|
case "snk-simple-form-config":
|
633
610
|
if (!customElements.get(tagName)) {
|
634
|
-
defineCustomElement$
|
611
|
+
defineCustomElement$7();
|
635
612
|
}
|
636
613
|
break;
|
637
614
|
case "snk-tab-config":
|
638
615
|
if (!customElements.get(tagName)) {
|
639
|
-
defineCustomElement$
|
616
|
+
defineCustomElement$6();
|
640
617
|
}
|
641
618
|
break;
|
642
619
|
case "snk-taskbar":
|
643
620
|
if (!customElements.get(tagName)) {
|
644
|
-
defineCustomElement$
|
621
|
+
defineCustomElement$5();
|
645
622
|
}
|
646
623
|
break;
|
647
624
|
case "snk-view-representation":
|
648
625
|
if (!customElements.get(tagName)) {
|
649
|
-
defineCustomElement$
|
626
|
+
defineCustomElement$4();
|
650
627
|
}
|
651
628
|
break;
|
652
629
|
case "taskbar-actions-button":
|
630
|
+
if (!customElements.get(tagName)) {
|
631
|
+
defineCustomElement$3();
|
632
|
+
}
|
633
|
+
break;
|
634
|
+
case "taskbar-split-button":
|
653
635
|
if (!customElements.get(tagName)) {
|
654
636
|
defineCustomElement$2();
|
655
637
|
}
|