@sankhyalabs/sankhyablocks 1.3.33 → 1.4.0-beta.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/SnkMessageBuilder-7717f1e4.js +326 -0
- package/dist/cjs/app-globals-3a1e7e63.js +5 -0
- package/dist/cjs/css-shim-b8158822.js +6 -0
- package/dist/cjs/dom-36862b77.js +75 -0
- package/dist/cjs/filter-item-type.enum-e2e1bc5b.js +14 -0
- package/dist/cjs/index-02201bc9.js +2397 -0
- package/dist/cjs/index-b0b676c5.js +3298 -0
- package/dist/cjs/loader.cjs.js +19 -3
- package/dist/cjs/sankhyablocks.cjs.js +117 -5
- package/dist/cjs/shadow-css-346c0795.js +389 -0
- package/dist/cjs/snk-application.cjs.entry.js +721 -169
- package/dist/cjs/snk-crud.cjs.entry.js +70 -0
- package/dist/cjs/snk-data-unit.cjs.entry.js +280 -0
- package/dist/cjs/snk-filter-bar.cjs.entry.js +278 -0
- package/dist/cjs/snk-filter-binary-select.cjs.entry.js +47 -0
- package/dist/cjs/snk-filter-detail.cjs.entry.js +49 -0
- package/dist/cjs/snk-filter-item.cjs.entry.js +154 -0
- package/dist/cjs/snk-filter-list.cjs.entry.js +91 -0
- package/dist/cjs/snk-filter-multi-select.cjs.entry.js +23 -0
- package/dist/cjs/snk-filter-number.cjs.entry.js +24 -0
- package/dist/cjs/snk-filter-period.cjs.entry.js +37 -0
- package/dist/cjs/snk-filter-search.cjs.entry.js +44 -0
- package/dist/cjs/snk-filter-text.cjs.entry.js +22 -0
- package/dist/cjs/snk-form.cjs.entry.js +133 -0
- package/dist/cjs/snk-grid.cjs.entry.js +79 -0
- package/dist/cjs/snk-pesquisa.cjs.entry.js +5 -5
- package/dist/cjs/snk-taskbar.cjs.entry.js +160 -0
- package/dist/cjs/taskbar-elements-283c737e.js +93 -0
- package/dist/cjs/taskbar-processor-6bd0d35c.js +47 -0
- package/dist/cjs/teste-pesquisa.cjs.entry.js +5 -5
- package/dist/collection/collection-manifest.json +17 -2
- package/dist/collection/components/snk-application/errorhandler/snk-error-handler.js +9 -2
- package/dist/collection/components/snk-application/snk-application.js +1126 -621
- package/dist/collection/components/snk-crud/snk-crud.css +6 -0
- package/dist/collection/components/snk-crud/snk-crud.js +203 -0
- package/dist/collection/components/snk-data-unit/snk-data-unit.css +6 -0
- package/dist/collection/components/snk-data-unit/snk-data-unit.js +544 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-binary-select.js +88 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-multi-select.js +64 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-number.js +65 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-period.js +78 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-search.js +118 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-text.js +63 -0
- package/dist/collection/components/snk-filter-bar/filter-item/filter-item-type.enum.js +10 -0
- package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-detail.js +118 -0
- package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-item.js +255 -0
- package/dist/collection/components/snk-filter-bar/filter-list/snk-filter-list.js +233 -0
- package/dist/collection/components/snk-filter-bar/snk-filter-bar.css +114 -0
- package/dist/collection/components/snk-filter-bar/snk-filter-bar.js +353 -0
- package/dist/collection/components/snk-form/snk-form.css +34 -0
- package/dist/collection/components/snk-form/snk-form.js +258 -0
- package/dist/collection/components/snk-grid/snk-grid.css +18 -0
- package/dist/collection/components/snk-grid/snk-grid.js +205 -0
- package/dist/collection/components/snk-pesquisa/snk-pesquisa.js +80 -79
- package/dist/collection/components/snk-taskbar/elements/taskbar-elements.js +86 -0
- package/dist/collection/components/snk-taskbar/processor/taskbar-processor.js +43 -0
- package/dist/collection/components/snk-taskbar/snk-taskbar.css +3 -0
- package/dist/collection/components/snk-taskbar/snk-taskbar.js +307 -0
- package/dist/collection/components/teste-pesquisa/teste-pesquisa.js +12 -9
- package/dist/collection/lib/http/data-fetcher/DataFetcher.js +38 -13
- package/dist/collection/lib/http/data-fetcher/fetchers/dataunit-fetcher.js +52 -21
- package/dist/collection/lib/http/data-fetcher/fetchers/filter-bar-config-fetcher.js +54 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/grid-config-fetcher.js +4 -3
- package/dist/collection/lib/http/data-fetcher/fetchers/totals-fetcher.js +47 -0
- package/dist/collection/lib/index.js +1 -0
- package/dist/collection/lib/message/SnkMessageBuilder.js +121 -0
- package/dist/collection/lib/message/resources/snk-data-unit.msg.js +23 -0
- package/dist/collection/lib/message/resources/snk-filter-bar.msg.js +18 -0
- package/dist/collection/lib/message/resources/snk-form.msg.js +10 -0
- package/dist/collection/lib/message/resources/snk-taskbar.msg.js +17 -0
- package/dist/components/SnkMessageBuilder.js +303 -0
- package/dist/components/filter-item-type.enum.js +12 -0
- package/dist/components/index.d.ts +18 -5
- package/dist/components/index.js +22 -0
- package/dist/components/index2.js +2384 -0
- package/dist/components/snk-application2.js +701 -140
- package/dist/components/snk-crud.d.ts +11 -0
- package/dist/components/snk-crud.js +133 -0
- package/dist/components/snk-data-unit.d.ts +11 -0
- package/dist/components/snk-data-unit.js +303 -0
- package/dist/components/snk-filter-bar.d.ts +11 -0
- package/dist/components/snk-filter-bar.js +6 -0
- package/dist/components/snk-filter-bar2.js +310 -0
- package/dist/components/snk-filter-binary-select.d.ts +11 -0
- package/dist/components/snk-filter-binary-select.js +63 -0
- package/dist/components/snk-filter-detail.d.ts +11 -0
- package/dist/components/snk-filter-detail.js +6 -0
- package/dist/components/snk-filter-detail2.js +63 -0
- package/dist/components/snk-filter-item.d.ts +11 -0
- package/dist/components/snk-filter-item.js +6 -0
- package/dist/components/snk-filter-item2.js +175 -0
- package/dist/components/snk-filter-list.d.ts +11 -0
- package/dist/components/snk-filter-list.js +6 -0
- package/dist/components/snk-filter-list2.js +111 -0
- package/dist/components/snk-filter-multi-select.d.ts +11 -0
- package/dist/components/snk-filter-multi-select.js +39 -0
- package/dist/components/snk-filter-number.d.ts +11 -0
- package/dist/components/snk-filter-number.js +40 -0
- package/dist/components/snk-filter-period.d.ts +11 -0
- package/dist/components/snk-filter-period.js +53 -0
- package/dist/components/snk-filter-search.d.ts +11 -0
- package/dist/components/snk-filter-search.js +62 -0
- package/dist/components/snk-filter-text.d.ts +11 -0
- package/dist/components/snk-filter-text.js +38 -0
- package/dist/components/snk-form.d.ts +11 -0
- package/dist/components/snk-form.js +6 -0
- package/dist/components/snk-form2.js +159 -0
- package/dist/components/snk-grid.d.ts +11 -0
- package/dist/components/snk-grid.js +6 -0
- package/dist/components/snk-grid2.js +127 -0
- package/dist/components/snk-pesquisa2.js +1 -1
- package/dist/components/snk-taskbar.d.ts +11 -0
- package/dist/components/snk-taskbar.js +6 -0
- package/dist/components/snk-taskbar2.js +264 -0
- package/dist/components/taskbar-processor.js +45 -0
- package/dist/components/teste-pesquisa.js +1 -1
- package/dist/esm/SnkMessageBuilder-a7da466b.js +303 -0
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/css-shim-b3f2ee8d.js +4 -0
- package/dist/esm/dom-665d6011.js +73 -0
- package/dist/esm/filter-item-type.enum-61fbf80a.js +12 -0
- package/dist/esm/index-2b4d2d14.js +3262 -0
- package/dist/esm/index-f1d3e4da.js +2384 -0
- package/dist/esm/loader.js +19 -3
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/sankhyablocks.js +117 -5
- package/dist/esm/shadow-css-b18e99d7.js +387 -0
- package/dist/esm/snk-application.entry.js +693 -141
- package/dist/esm/snk-crud.entry.js +66 -0
- package/dist/esm/snk-data-unit.entry.js +276 -0
- package/dist/esm/snk-filter-bar.entry.js +274 -0
- package/dist/esm/snk-filter-binary-select.entry.js +43 -0
- package/dist/esm/snk-filter-detail.entry.js +45 -0
- package/dist/esm/snk-filter-item.entry.js +150 -0
- package/dist/esm/snk-filter-list.entry.js +87 -0
- package/dist/esm/snk-filter-multi-select.entry.js +19 -0
- package/dist/esm/snk-filter-number.entry.js +20 -0
- package/dist/esm/snk-filter-period.entry.js +33 -0
- package/dist/esm/snk-filter-search.entry.js +40 -0
- package/dist/esm/snk-filter-text.entry.js +18 -0
- package/dist/esm/snk-form.entry.js +129 -0
- package/dist/esm/snk-grid.entry.js +75 -0
- package/dist/esm/snk-pesquisa.entry.js +2 -2
- package/dist/esm/snk-taskbar.entry.js +156 -0
- package/dist/esm/taskbar-elements-35d64ff9.js +90 -0
- package/dist/esm/taskbar-processor-aa6772c9.js +45 -0
- package/dist/esm/teste-pesquisa.entry.js +2 -2
- package/dist/sankhyablocks/SnkMessageBuilder-a7da466b.js +303 -0
- package/dist/sankhyablocks/app-globals-0f993ce5.js +3 -0
- package/dist/sankhyablocks/css-shim-b3f2ee8d.js +4 -0
- package/dist/sankhyablocks/dom-665d6011.js +73 -0
- package/dist/sankhyablocks/filter-item-type.enum-61fbf80a.js +12 -0
- package/dist/sankhyablocks/index-2b4d2d14.js +3262 -0
- package/dist/sankhyablocks/index-f1d3e4da.js +2384 -0
- package/dist/sankhyablocks/index.esm.js +1 -0
- package/dist/sankhyablocks/sankhyablocks.esm.js +129 -1
- package/dist/sankhyablocks/shadow-css-b18e99d7.js +387 -0
- package/dist/sankhyablocks/snk-application.entry.js +8148 -0
- package/dist/sankhyablocks/snk-crud.entry.js +66 -0
- package/dist/sankhyablocks/snk-data-unit.entry.js +276 -0
- package/dist/sankhyablocks/snk-filter-bar.entry.js +274 -0
- package/dist/sankhyablocks/snk-filter-binary-select.entry.js +43 -0
- package/dist/sankhyablocks/snk-filter-detail.entry.js +45 -0
- package/dist/sankhyablocks/snk-filter-item.entry.js +150 -0
- package/dist/sankhyablocks/snk-filter-list.entry.js +87 -0
- package/dist/sankhyablocks/snk-filter-multi-select.entry.js +19 -0
- package/dist/sankhyablocks/snk-filter-number.entry.js +20 -0
- package/dist/sankhyablocks/snk-filter-period.entry.js +33 -0
- package/dist/sankhyablocks/snk-filter-search.entry.js +40 -0
- package/dist/sankhyablocks/snk-filter-text.entry.js +18 -0
- package/dist/sankhyablocks/snk-form.entry.js +129 -0
- package/dist/sankhyablocks/snk-grid.entry.js +75 -0
- package/dist/sankhyablocks/snk-pesquisa.entry.js +311 -0
- package/dist/sankhyablocks/snk-taskbar.entry.js +156 -0
- package/dist/sankhyablocks/taskbar-elements-35d64ff9.js +90 -0
- package/dist/sankhyablocks/taskbar-processor-aa6772c9.js +45 -0
- package/dist/sankhyablocks/teste-pesquisa.entry.js +33 -0
- package/dist/types/components/snk-application/errorhandler/snk-error-handler.d.ts +1 -0
- package/dist/types/components/snk-application/snk-application.d.ts +145 -15
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-binary-select.d.ts +12 -0
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-multi-select.d.ts +7 -0
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-number.d.ts +7 -0
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-period.d.ts +14 -0
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-search.d.ts +12 -0
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-text.d.ts +7 -0
- package/dist/types/components/snk-filter-bar/filter-item/filter-item-type.enum.d.ts +9 -0
- package/dist/types/components/snk-filter-bar/filter-item/snk-filter-detail.d.ts +14 -0
- package/dist/types/components/snk-filter-bar/filter-list/snk-filter-list.d.ts +40 -0
- package/dist/types/components/snk-filter-bar/snk-filter-bar.d.ts +51 -0
- package/dist/types/components/snk-taskbar/elements/taskbar-elements.d.ts +29 -0
- package/dist/types/components/snk-taskbar/processor/taskbar-processor.d.ts +12 -0
- package/dist/types/components/snk-taskbar/snk-taskbar.d.ts +84 -0
- package/dist/types/components.d.ts +696 -8
- package/dist/types/lib/http/data-fetcher/DataFetcher.d.ts +7 -6
- package/dist/types/lib/http/data-fetcher/fetchers/dataunit-fetcher.d.ts +2 -0
- package/dist/types/lib/http/data-fetcher/fetchers/filter-bar-config-fetcher.d.ts +6 -0
- package/dist/types/lib/http/data-fetcher/fetchers/grid-config-fetcher.d.ts +1 -1
- package/dist/types/lib/http/data-fetcher/fetchers/totals-fetcher.d.ts +8 -0
- package/dist/types/lib/index.d.ts +1 -0
- package/dist/types/lib/message/SnkMessageBuilder.d.ts +42 -0
- package/dist/types/lib/message/resources/snk-data-unit.msg.d.ts +2 -0
- package/dist/types/lib/message/resources/snk-filter-bar.msg.d.ts +2 -0
- package/dist/types/lib/message/resources/snk-form.msg.d.ts +2 -0
- package/dist/types/lib/message/resources/snk-taskbar.msg.d.ts +2 -0
- package/dist/types/stencil-public-runtime.d.ts +15 -4
- package/loader/package.json +1 -0
- package/package.json +5 -5
- package/react/components.d.ts +0 -2
- package/react/components.js +0 -2
- package/react/components.js.map +1 -1
- package/dist/cjs/index-1133bc2a.js +0 -1235
- package/dist/esm/index-ffda6382.js +0 -1208
- package/dist/sankhyablocks/p-2a7b4cb3.entry.js +0 -1
- package/dist/sankhyablocks/p-9520d78a.entry.js +0 -1
- package/dist/sankhyablocks/p-bd1b31db.entry.js +0 -69
- package/dist/sankhyablocks/p-edcb9d8e.js +0 -2
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { A as ApplicationContext } from './index2.js';
|
|
3
|
+
import { T as TaskbarElement, d as defineCustomElement$1 } from './snk-taskbar2.js';
|
|
4
|
+
import { T as TaskbarProcessor } from './taskbar-processor.js';
|
|
5
|
+
import { d as defineCustomElement$5 } from './snk-filter-bar2.js';
|
|
6
|
+
import { d as defineCustomElement$4 } from './snk-filter-detail2.js';
|
|
7
|
+
import { d as defineCustomElement$3 } from './snk-filter-item2.js';
|
|
8
|
+
import { d as defineCustomElement$2 } from './snk-filter-list2.js';
|
|
9
|
+
|
|
10
|
+
const snkGridCss = ".snk-grid__container.sc-snk-grid{display:flex;height:100%;width:100%}.snk-grid__header.sc-snk-grid{display:flex;flex-wrap:nowrap;width:100%}.snk-grid__filter-bar.sc-snk-grid{width:100%}.snk-grid__header-divider.sc-snk-grid{margin-bottom:var(--space--small)}";
|
|
11
|
+
|
|
12
|
+
const SnkGrid = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
13
|
+
constructor() {
|
|
14
|
+
super();
|
|
15
|
+
this.__registerHost();
|
|
16
|
+
this.actionClick = createEvent(this, "actionClick", 7);
|
|
17
|
+
this.gridDoubleClick = createEvent(this, "gridDoubleClick", 7);
|
|
18
|
+
this._topTaskbarProcessor = new TaskbarProcessor({
|
|
19
|
+
"snkGridTopTaskbar": ["FORM_MODE", "CONFIG_GRID", "INSERT"]
|
|
20
|
+
});
|
|
21
|
+
this._headerTaskbarProcessor = new TaskbarProcessor({
|
|
22
|
+
"snkGridHeaderTaskbar.unselected": ["REFRESH"],
|
|
23
|
+
"snkGridHeaderTaskbar.selected": ["UPDATE", "CLONE", "REMOVE", "MORE_OPTIONS", "DIVIDER", "REFRESH"]
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
actionClickHandler(evt) {
|
|
27
|
+
if (evt.detail === TaskbarElement.CONFIG_GRID && this._grid) {
|
|
28
|
+
this._grid.openGridConfig();
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
saveConfig(config) {
|
|
32
|
+
const snkApplication = ApplicationContext.getContextValue("__SNK__APPLICATION__");
|
|
33
|
+
if (snkApplication) {
|
|
34
|
+
snkApplication.saveGridConfig(config);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
componentWillLoad() {
|
|
38
|
+
const snkApplication = ApplicationContext.getContextValue("__SNK__APPLICATION__");
|
|
39
|
+
if (snkApplication) {
|
|
40
|
+
snkApplication.loadGridConfig(this.configName).then(cfg => {
|
|
41
|
+
this._gridConfig = cfg;
|
|
42
|
+
this._configLoaded = true;
|
|
43
|
+
});
|
|
44
|
+
//Forçamos a carga dos acessos pra aproveitar a request inicial.
|
|
45
|
+
snkApplication.getAllAccess();
|
|
46
|
+
}
|
|
47
|
+
let parent = this._element.parentElement;
|
|
48
|
+
while (parent) {
|
|
49
|
+
if (parent.tagName.toUpperCase() === "SNK-DATA-UNIT") {
|
|
50
|
+
this._snkDataUnit = parent;
|
|
51
|
+
this._dataUnit = this._snkDataUnit.dataUnit;
|
|
52
|
+
if (!this._dataUnit) {
|
|
53
|
+
this._snkDataUnit.addEventListener("dataUnitReady", (evt) => {
|
|
54
|
+
this._dataUnit = evt.detail;
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
this._snkDataUnit.addEventListener("dataStateChange", (evt) => {
|
|
58
|
+
this._dataState = evt.detail;
|
|
59
|
+
});
|
|
60
|
+
break;
|
|
61
|
+
}
|
|
62
|
+
parent = parent.parentElement;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
componentWillRender() {
|
|
66
|
+
const headerTaskbarId = this._dataState && this._dataState.selectedRecords.length > 0 ? "snkGridHeaderTaskbar.selected" : "snkGridHeaderTaskbar.unselected";
|
|
67
|
+
this._headerTaskbarProcessor.process(headerTaskbarId, this.taskbarManager, this._dataState);
|
|
68
|
+
this._topTaskbarProcessor.process("snkGridTopTaskbar", this.taskbarManager, this._dataState);
|
|
69
|
+
}
|
|
70
|
+
render() {
|
|
71
|
+
if (!this._configLoaded || !this._dataUnit) {
|
|
72
|
+
return undefined;
|
|
73
|
+
}
|
|
74
|
+
return (h("div", { class: "snk-grid__container ez-flex ez-flex--column ez-flex-item--auto ez-padding--large" }, h("div", { class: "snk-grid__header ez-padding-bottom--medium ez-margin-bottom--medium" }, h("snk-filter-bar", { dataUnit: this._dataUnit, class: "snk-grid__filter-bar ez-align--top", configName: this.configName }), h("hr", { class: "ez-divider-vertical ez-divider--dark ez-margin-left--medium snk-grid__header-divider" }), h("snk-taskbar", { class: "ez-padding-left--medium", onActionClick: evt => this.actionClickHandler(evt), key: "topTaskbar", dataUnit: this._dataUnit, buttons: this._topTaskbarProcessor.buttons, disabledButtons: this._topTaskbarProcessor.disabledButtons, customButtons: this._topTaskbarProcessor.customButtons, primaryButton: "INSERT" })), h("ez-grid", { ref: ref => this._grid = ref, dataUnit: this._dataUnit, key: "grid-" + this._snkDataUnit.entityName, config: this._gridConfig, onConfigChange: evt => { this.saveConfig(evt.detail); }, onEzDoubleClick: () => this.gridDoubleClick.emit(), statusResolver: this.statusResolver }, h("snk-taskbar", { dataUnit: this._dataUnit, buttons: this._headerTaskbarProcessor.buttons, disabledButtons: this._headerTaskbarProcessor.disabledButtons, customButtons: this._headerTaskbarProcessor.customButtons, slot: "leftButtons", actionsList: this.actionsList })), h("div", { class: "ez-col ez-col--sd-12" }, h("slot", { name: "SnkGridFooter" }))));
|
|
75
|
+
}
|
|
76
|
+
get _element() { return this; }
|
|
77
|
+
static get style() { return snkGridCss; }
|
|
78
|
+
}, [6, "snk-grid", {
|
|
79
|
+
"configName": [1, "config-name"],
|
|
80
|
+
"actionsList": [16],
|
|
81
|
+
"taskbarManager": [16],
|
|
82
|
+
"statusResolver": [8, "status-resolver"],
|
|
83
|
+
"_dataUnit": [32],
|
|
84
|
+
"_configLoaded": [32],
|
|
85
|
+
"_dataState": [32],
|
|
86
|
+
"_gridConfig": [32]
|
|
87
|
+
}]);
|
|
88
|
+
function defineCustomElement() {
|
|
89
|
+
if (typeof customElements === "undefined") {
|
|
90
|
+
return;
|
|
91
|
+
}
|
|
92
|
+
const components = ["snk-grid", "snk-filter-bar", "snk-filter-detail", "snk-filter-item", "snk-filter-list", "snk-taskbar"];
|
|
93
|
+
components.forEach(tagName => { switch (tagName) {
|
|
94
|
+
case "snk-grid":
|
|
95
|
+
if (!customElements.get(tagName)) {
|
|
96
|
+
customElements.define(tagName, SnkGrid);
|
|
97
|
+
}
|
|
98
|
+
break;
|
|
99
|
+
case "snk-filter-bar":
|
|
100
|
+
if (!customElements.get(tagName)) {
|
|
101
|
+
defineCustomElement$5();
|
|
102
|
+
}
|
|
103
|
+
break;
|
|
104
|
+
case "snk-filter-detail":
|
|
105
|
+
if (!customElements.get(tagName)) {
|
|
106
|
+
defineCustomElement$4();
|
|
107
|
+
}
|
|
108
|
+
break;
|
|
109
|
+
case "snk-filter-item":
|
|
110
|
+
if (!customElements.get(tagName)) {
|
|
111
|
+
defineCustomElement$3();
|
|
112
|
+
}
|
|
113
|
+
break;
|
|
114
|
+
case "snk-filter-list":
|
|
115
|
+
if (!customElements.get(tagName)) {
|
|
116
|
+
defineCustomElement$2();
|
|
117
|
+
}
|
|
118
|
+
break;
|
|
119
|
+
case "snk-taskbar":
|
|
120
|
+
if (!customElements.get(tagName)) {
|
|
121
|
+
defineCustomElement$1();
|
|
122
|
+
}
|
|
123
|
+
break;
|
|
124
|
+
} });
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
export { SnkGrid as S, defineCustomElement as d };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import { ObjectUtils, StringUtils } from '
|
|
2
|
+
import { O as ObjectUtils, S as StringUtils } from './index2.js';
|
|
3
3
|
|
|
4
4
|
const snkPesquisaCss = ".sc-snk-pesquisa-h{--snk-pesquisa--font-size:var(--text--medium, 14px);--snk-pesquisa--font-family:var(--font-pattern, Arial);--snk-pesquisa--font-weight:var(--text-weight--medium, 400);--snk-pesquisa__records--color:var(--text--primary, #626e82);--snk-pesquisa__records--padding-vertical:var(--space--medium, 12px);--snk-pesquisa__content--padding-right:var(--space--small, 6px);--snk-pesquisa__content-scrollbar--background-color-primary:var(--scrollbar--primary, #2B3A54);--snk-pesquisa__content-scrollbar--background-color-secondary:var(--scrollbar--secondary, #E5EAF0);--snk-pesquisa__content-scrollbar--border-radius:var(--border--radius-small, 6px);--snk-pesquisa__content-scrollbar--width:var(--space--medium, 12px);--snk-pesquisa__btn--color:var(--title--primary, #2B3A54);--snk-pesquisa__btn-disabled--color:var(--text--disable, #AFB6C0);--snk-pesquisa__btn-hover--color:var(--color--primary, #4e4e4e);max-height:100%;height:100%;display:flex;flex-direction:column;overflow-y:auto}.snk-pesquisa.sc-snk-pesquisa{display:flex;flex-direction:column;height:100%}.snk-pesquisa__input.sc-snk-pesquisa{display:flex;width:100%;box-sizing:border-box;padding-top:4px;padding-right:4px}.snk-pesquisa__input.sc-snk-pesquisa ez-icon.sc-snk-pesquisa{--ez-icon--color:inherit;font-weight:var(--text-weight--large, 600)}.snk-pesquisa__content.sc-snk-pesquisa{display:flex;flex-direction:column;height:100%;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--snk-pesquisa__content-scrollbar--background-color-primary) var(--snk-pesquisa__content-scrollbar--background-color-secondary);padding-right:var(--snk-pesquisa__content--padding-right)}.snk-pesquisa__content.sc-snk-pesquisa::-webkit-scrollbar-track{background-color:var(--snk-pesquisa__content-scrollbar--background-color-secondary);border-radius:var(--snk-pesquisa__content-scrollbar--border-radius)}.snk-pesquisa__content.sc-snk-pesquisa::-webkit-scrollbar-thumb{background-color:var(--snk-pesquisa__content-scrollbar--background-color-primary);border-radius:var(--snk-pesquisa__content-scrollbar--border-radius)}.snk-pesquisa__content.sc-snk-pesquisa::-webkit-scrollbar{background-color:var(--snk-pesquisa__content-scrollbar--background-color-secondary);width:var(--snk-pesquisa__content-scrollbar--width);max-width:var(--snk-pesquisa__content-scrollbar--width);min-width:var(--snk-pesquisa__content-scrollbar--width)}.snk-pesquisa__records.sc-snk-pesquisa{font-family:var(--snk-pesquisa--font-family);font-weight:var(--snk-pesquisa--font-weight);font-size:var(--snk-pesquisa--font-size);color:var(--snk-pesquisa__records--color);padding-bottom:var(--snk-pesquisa__records--padding-vertical);padding-top:var(--snk-pesquisa__records--padding-vertical)}.snk-pesquisa__btn.sc-snk-pesquisa{outline:none;border:none;background:none;cursor:pointer;color:var(--snk-pesquisa__btn--color)}.snk-pesquisa__btn.sc-snk-pesquisa:disabled{cursor:unset;color:var(--snk-pesquisa__btn-disabled--color)}.snk-pesquisa__btn.sc-snk-pesquisa:disabled:hover{cursor:unset;color:var(--snk-pesquisa__btn-disabled--color)}.snk-pesquisa__btn.sc-snk-pesquisa:hover{color:var(--snk-pesquisa__btn-hover--color)}";
|
|
5
5
|
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface SnkTaskbar extends Components.SnkTaskbar, HTMLElement {}
|
|
4
|
+
export const SnkTaskbar: {
|
|
5
|
+
prototype: SnkTaskbar;
|
|
6
|
+
new (): SnkTaskbar;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
import { h, proxyCustomElement, HTMLElement, createEvent, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { A as ApplicationContext } from './index2.js';
|
|
3
|
+
|
|
4
|
+
var TaskbarElement;
|
|
5
|
+
(function (TaskbarElement) {
|
|
6
|
+
TaskbarElement["PREVIOUS"] = "PREVIOUS";
|
|
7
|
+
TaskbarElement["NEXT"] = "NEXT";
|
|
8
|
+
TaskbarElement["REFRESH"] = "REFRESH";
|
|
9
|
+
TaskbarElement["UPDATE"] = "UPDATE";
|
|
10
|
+
TaskbarElement["CLONE"] = "CLONE";
|
|
11
|
+
TaskbarElement["REMOVE"] = "REMOVE";
|
|
12
|
+
TaskbarElement["INSERT"] = "INSERT";
|
|
13
|
+
TaskbarElement["CANCEL"] = "CANCEL";
|
|
14
|
+
TaskbarElement["SAVE"] = "SAVE";
|
|
15
|
+
TaskbarElement["GRID_MODE"] = "GRID_MODE";
|
|
16
|
+
TaskbarElement["FORM_MODE"] = "FORM_MODE";
|
|
17
|
+
TaskbarElement["CONFIG_GRID"] = "CONFIG_GRID";
|
|
18
|
+
TaskbarElement["MORE_OPTIONS"] = "MORE_OPTIONS";
|
|
19
|
+
TaskbarElement["DIVIDER"] = "DIVIDER";
|
|
20
|
+
})(TaskbarElement || (TaskbarElement = {}));
|
|
21
|
+
var AuthorizationElements;
|
|
22
|
+
(function (AuthorizationElements) {
|
|
23
|
+
AuthorizationElements["UPDATE"] = "UPDATE";
|
|
24
|
+
AuthorizationElements["CLONE"] = "CLONE";
|
|
25
|
+
AuthorizationElements["REMOVE"] = "REMOVE";
|
|
26
|
+
AuthorizationElements["INSERT"] = "INSERT";
|
|
27
|
+
AuthorizationElements["CONFIG_GRID"] = "CONFIG_GRID";
|
|
28
|
+
})(AuthorizationElements || (AuthorizationElements = {}));
|
|
29
|
+
var VisibleWhenForbidden;
|
|
30
|
+
(function (VisibleWhenForbidden) {
|
|
31
|
+
VisibleWhenForbidden["CONFIG_GRID"] = "CONFIG_GRID";
|
|
32
|
+
})(VisibleWhenForbidden || (VisibleWhenForbidden = {}));
|
|
33
|
+
const buildCustomButton = (def, className, action, isEnabled) => {
|
|
34
|
+
const { hint, text, iconName } = def;
|
|
35
|
+
if (iconName) {
|
|
36
|
+
if (text) {
|
|
37
|
+
return iconTextButton(iconName, def.name, className, hint, text, action, isEnabled);
|
|
38
|
+
}
|
|
39
|
+
else {
|
|
40
|
+
return iconButton(iconName, def.name, className, hint, action, isEnabled);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
else {
|
|
44
|
+
return textButton(def.name, className, text, hint, action, isEnabled);
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
const buildElem = (element, className, getTitle, action, isEnabled, actions) => {
|
|
48
|
+
const title = getTitle(element);
|
|
49
|
+
switch (element) {
|
|
50
|
+
case TaskbarElement.PREVIOUS:
|
|
51
|
+
return iconButton("chevron-left", element, className, title, action, isEnabled);
|
|
52
|
+
case TaskbarElement.NEXT:
|
|
53
|
+
return iconButton("chevron-right", element, className, title, action, isEnabled);
|
|
54
|
+
case TaskbarElement.REFRESH:
|
|
55
|
+
return iconButton("sync", element, className, title, action, isEnabled);
|
|
56
|
+
case TaskbarElement.UPDATE:
|
|
57
|
+
return iconButton("edit", element, className, title, action, isEnabled);
|
|
58
|
+
case TaskbarElement.CLONE:
|
|
59
|
+
return iconButton("copy", element, className, title, action, isEnabled);
|
|
60
|
+
case TaskbarElement.REMOVE:
|
|
61
|
+
return iconButton("delete", element, className, title, action, isEnabled);
|
|
62
|
+
case TaskbarElement.INSERT:
|
|
63
|
+
return iconTextButton("plus", element, className, title, title, action, isEnabled);
|
|
64
|
+
case TaskbarElement.CANCEL:
|
|
65
|
+
return textButton(element, className, title, title, action, isEnabled);
|
|
66
|
+
case TaskbarElement.SAVE:
|
|
67
|
+
return iconTextButton("save", element, className, title, title, action, isEnabled);
|
|
68
|
+
case TaskbarElement.GRID_MODE:
|
|
69
|
+
return iconButton("table", element, className, title, action, isEnabled);
|
|
70
|
+
case TaskbarElement.FORM_MODE:
|
|
71
|
+
return iconButton("list", element, className, title, action, isEnabled);
|
|
72
|
+
case TaskbarElement.CONFIG_GRID:
|
|
73
|
+
return iconButton("settings-inverted", element, className, title, action, isEnabled);
|
|
74
|
+
case TaskbarElement.MORE_OPTIONS:
|
|
75
|
+
return actions && actions.length > 0 ? h("ez-actions-button", { title: title, size: "small", class: className, enabled: isEnabled(element), onEzAction: (evt) => action(evt.detail.value), actions: actions }) : undefined;
|
|
76
|
+
case TaskbarElement.DIVIDER:
|
|
77
|
+
return h("hr", { class: "ez-divider-vertical ez-divider--dark ez-margin-horizontal--medium" });
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
function textButton(name, className, text, title, action, isEnabled) {
|
|
81
|
+
return h("ez-button", { title: title, label: text, size: "small", class: className, enabled: isEnabled(name), onClick: () => action(name) });
|
|
82
|
+
}
|
|
83
|
+
function iconButton(iconName, name, className, title, action, isEnabled) {
|
|
84
|
+
return h("ez-button", { name: iconName, title: title, mode: "icon", size: "small", class: className, iconName: iconName, enabled: isEnabled(name), onClick: () => action(name) });
|
|
85
|
+
}
|
|
86
|
+
function iconTextButton(iconName, name, className, text, title, action, isEnabled) {
|
|
87
|
+
return h("ez-button", { name: iconName, title: title, label: text, size: "small", class: className, enabled: isEnabled(name), onClick: () => action(name) },
|
|
88
|
+
h("ez-icon", { class: "ez-padding-right--small", slot: "leftIcon", iconName: iconName }));
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
const snkTaskbarCss = ".sc-snk-taskbar-h{display:flex}";
|
|
92
|
+
|
|
93
|
+
const SnkTaskbar = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
94
|
+
constructor() {
|
|
95
|
+
super();
|
|
96
|
+
this.__registerHost();
|
|
97
|
+
this.actionClick = createEvent(this, "actionClick", 7);
|
|
98
|
+
this._titleKeyByElement = {
|
|
99
|
+
[TaskbarElement.UPDATE]: "snkTaskbar.titleUpdate",
|
|
100
|
+
[TaskbarElement.PREVIOUS]: "snkTaskbar.titlePrevious",
|
|
101
|
+
[TaskbarElement.NEXT]: "snkTaskbar.titleNext",
|
|
102
|
+
[TaskbarElement.REFRESH]: "snkTaskbar.titleRefresh",
|
|
103
|
+
[TaskbarElement.CLONE]: "snkTaskbar.titleClone",
|
|
104
|
+
[TaskbarElement.REMOVE]: "snkTaskbar.titleRemove",
|
|
105
|
+
[TaskbarElement.MORE_OPTIONS]: "snkTaskbar.titleMoreOptions",
|
|
106
|
+
[TaskbarElement.INSERT]: "snkTaskbar.titleInsert",
|
|
107
|
+
[TaskbarElement.CANCEL]: "snkTaskbar.titleCancel",
|
|
108
|
+
[TaskbarElement.SAVE]: "snkTaskbar.titleSave",
|
|
109
|
+
[TaskbarElement.GRID_MODE]: "snkTaskbar.titleGridMode",
|
|
110
|
+
[TaskbarElement.CONFIG_GRID]: "snkTaskbar.titleConfigGrid",
|
|
111
|
+
[TaskbarElement.FORM_MODE]: "snkTaskbar.titleFormMode"
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
observeButtons() {
|
|
115
|
+
this._definitions = undefined;
|
|
116
|
+
}
|
|
117
|
+
// Internal methods
|
|
118
|
+
elementsFromString(strButtons) {
|
|
119
|
+
const elements = [];
|
|
120
|
+
if (strButtons) {
|
|
121
|
+
strButtons.split(",").forEach(buttonName => {
|
|
122
|
+
buttonName = buttonName.trim();
|
|
123
|
+
if (VisibleWhenForbidden[buttonName] || this.isAllowed(buttonName)) {
|
|
124
|
+
elements.push(buttonName.trim());
|
|
125
|
+
}
|
|
126
|
+
});
|
|
127
|
+
}
|
|
128
|
+
return elements;
|
|
129
|
+
}
|
|
130
|
+
isAllowed(buttonName) {
|
|
131
|
+
if (AuthorizationElements[buttonName]) {
|
|
132
|
+
return this._permissions ? this._permissions.isSup || this._permissions[buttonName] : false;
|
|
133
|
+
}
|
|
134
|
+
return true;
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* Conforme mecanismo de mensagens, é possível customizar as mensagens dos blocos de construção
|
|
138
|
+
* através de um pequeno modulo na estrutura da aplicação:
|
|
139
|
+
* - Criar um arquivo no seguinte caminho: /messages/appmessages.msg.js.
|
|
140
|
+
* Para conhecer os detalhes do módulo, vide o arquivo neste projeto "/src/lib/message/resources/snk-taskbar.msg.ts"
|
|
141
|
+
*/
|
|
142
|
+
getTitle(element) {
|
|
143
|
+
let key;
|
|
144
|
+
if (this.isAllowed(element)) {
|
|
145
|
+
key = this._titleKeyByElement[element];
|
|
146
|
+
}
|
|
147
|
+
else {
|
|
148
|
+
key = "snkTaskbar.forbidden";
|
|
149
|
+
}
|
|
150
|
+
return key ? this._application.messagesBuilder.getMessage(key, {}) : "";
|
|
151
|
+
}
|
|
152
|
+
elementClick(elem) {
|
|
153
|
+
if (this.dataUnit) {
|
|
154
|
+
switch (elem) {
|
|
155
|
+
case TaskbarElement.PREVIOUS:
|
|
156
|
+
this.dataUnit.previousRecord();
|
|
157
|
+
break;
|
|
158
|
+
case TaskbarElement.NEXT:
|
|
159
|
+
this.dataUnit.nextRecord();
|
|
160
|
+
break;
|
|
161
|
+
case TaskbarElement.REFRESH:
|
|
162
|
+
this.dataUnit.loadData();
|
|
163
|
+
break;
|
|
164
|
+
case TaskbarElement.CLONE:
|
|
165
|
+
this.dataUnit.copySelected();
|
|
166
|
+
break;
|
|
167
|
+
case TaskbarElement.REMOVE:
|
|
168
|
+
this.dataUnit.removeSelectedRecords();
|
|
169
|
+
break;
|
|
170
|
+
case TaskbarElement.INSERT:
|
|
171
|
+
this.dataUnit.addRecord();
|
|
172
|
+
break;
|
|
173
|
+
case TaskbarElement.CANCEL:
|
|
174
|
+
this.dataUnit.cancelEdition();
|
|
175
|
+
break;
|
|
176
|
+
case TaskbarElement.SAVE:
|
|
177
|
+
this.dataUnit.saveData();
|
|
178
|
+
break;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
this.actionClick.emit(elem);
|
|
182
|
+
}
|
|
183
|
+
isEnabled(elem) {
|
|
184
|
+
if (!this.isAllowed(elem)) {
|
|
185
|
+
return false;
|
|
186
|
+
}
|
|
187
|
+
return !(this.disabledButtons && this.disabledButtons.includes(elem));
|
|
188
|
+
}
|
|
189
|
+
getElement(index, def) {
|
|
190
|
+
let className = def === this.primaryButton ? "ez-button--primary " : "";
|
|
191
|
+
if (index > 1) {
|
|
192
|
+
className += "ez-padding-left--medium";
|
|
193
|
+
}
|
|
194
|
+
if (TaskbarElement[def.toString()]) {
|
|
195
|
+
return buildElem(def, className, elem => this.getTitle(elem), elem => this.elementClick(elem), elem => this.isEnabled(elem), this.actionsList);
|
|
196
|
+
}
|
|
197
|
+
else {
|
|
198
|
+
return buildCustomButton(def, className, elem => this.elementClick(elem), elem => this.isEnabled(elem));
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
// Lifecycle
|
|
202
|
+
componentWillLoad() {
|
|
203
|
+
this._application = ApplicationContext.getContextValue("__SNK__APPLICATION__");
|
|
204
|
+
if (this._application) {
|
|
205
|
+
this._application.getAllAccess().then(access => this._permissions = access);
|
|
206
|
+
}
|
|
207
|
+
else {
|
|
208
|
+
this._permissions = {};
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
componentWillRender() {
|
|
212
|
+
if (this._definitions == undefined && this._permissions) {
|
|
213
|
+
this._definitions = this.elementsFromString(this.buttons);
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
render() {
|
|
217
|
+
if (this._definitions === undefined) {
|
|
218
|
+
return undefined;
|
|
219
|
+
}
|
|
220
|
+
let index = 0;
|
|
221
|
+
return (h(Host, null, this._definitions.map((elem) => {
|
|
222
|
+
if (elem === TaskbarElement.DIVIDER) {
|
|
223
|
+
index = 0;
|
|
224
|
+
}
|
|
225
|
+
else {
|
|
226
|
+
index++;
|
|
227
|
+
}
|
|
228
|
+
if (TaskbarElement[elem]) {
|
|
229
|
+
return this.getElement(index, TaskbarElement[elem]);
|
|
230
|
+
}
|
|
231
|
+
if (this.customButtons.has(elem)) {
|
|
232
|
+
return this.getElement(index, this.customButtons.get(elem));
|
|
233
|
+
}
|
|
234
|
+
return h("slot", { name: elem });
|
|
235
|
+
})));
|
|
236
|
+
}
|
|
237
|
+
static get watchers() { return {
|
|
238
|
+
"buttons": ["observeButtons"]
|
|
239
|
+
}; }
|
|
240
|
+
static get style() { return snkTaskbarCss; }
|
|
241
|
+
}, [6, "snk-taskbar", {
|
|
242
|
+
"buttons": [1],
|
|
243
|
+
"customButtons": [16],
|
|
244
|
+
"actionsList": [16],
|
|
245
|
+
"primaryButton": [1, "primary-button"],
|
|
246
|
+
"disabledButtons": [16],
|
|
247
|
+
"dataUnit": [16],
|
|
248
|
+
"_permissions": [32]
|
|
249
|
+
}]);
|
|
250
|
+
function defineCustomElement() {
|
|
251
|
+
if (typeof customElements === "undefined") {
|
|
252
|
+
return;
|
|
253
|
+
}
|
|
254
|
+
const components = ["snk-taskbar"];
|
|
255
|
+
components.forEach(tagName => { switch (tagName) {
|
|
256
|
+
case "snk-taskbar":
|
|
257
|
+
if (!customElements.get(tagName)) {
|
|
258
|
+
customElements.define(tagName, SnkTaskbar);
|
|
259
|
+
}
|
|
260
|
+
break;
|
|
261
|
+
} });
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
export { SnkTaskbar as S, TaskbarElement as T, defineCustomElement as d };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
class TaskbarProcessor {
|
|
2
|
+
constructor(defaultButtons) {
|
|
3
|
+
this._defaultButtons = defaultButtons;
|
|
4
|
+
}
|
|
5
|
+
process(taskbarId, taskbarManager, dataState, disabledButtons = []) {
|
|
6
|
+
var _a;
|
|
7
|
+
this.customButtons = new Map();
|
|
8
|
+
this.buttons = "";
|
|
9
|
+
this.disabledButtons = [];
|
|
10
|
+
(_a = this.getButtonsArray(taskbarId, taskbarManager, dataState)) === null || _a === void 0 ? void 0 : _a.forEach(btnDef => {
|
|
11
|
+
let buttonName;
|
|
12
|
+
if (typeof btnDef === "string") {
|
|
13
|
+
buttonName = btnDef;
|
|
14
|
+
}
|
|
15
|
+
else {
|
|
16
|
+
const customBtn = btnDef;
|
|
17
|
+
this.customButtons.set(customBtn.name, customBtn);
|
|
18
|
+
buttonName = customBtn.name;
|
|
19
|
+
}
|
|
20
|
+
if (!this.isEnabled(taskbarId, taskbarManager, buttonName, dataState, disabledButtons)) {
|
|
21
|
+
this.disabledButtons.push(buttonName);
|
|
22
|
+
}
|
|
23
|
+
if (this.buttons.length > 0) {
|
|
24
|
+
this.buttons += ",";
|
|
25
|
+
}
|
|
26
|
+
this.buttons += buttonName;
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
getButtonsArray(taskbarId, taskbarManager, dataState) {
|
|
30
|
+
const defaults = this._defaultButtons[taskbarId];
|
|
31
|
+
if (taskbarManager) {
|
|
32
|
+
return taskbarManager.getButtons(taskbarId, dataState, [...defaults]);
|
|
33
|
+
}
|
|
34
|
+
return defaults;
|
|
35
|
+
}
|
|
36
|
+
isEnabled(taskbarId, taskbarManager, buttonName, dataState, disabled) {
|
|
37
|
+
const originalValue = disabled.includes(buttonName) ? false : true;
|
|
38
|
+
if (taskbarManager && taskbarManager.isEnabled) {
|
|
39
|
+
return taskbarManager.isEnabled(taskbarId, dataState, buttonName, originalValue);
|
|
40
|
+
}
|
|
41
|
+
return originalValue;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export { TaskbarProcessor as T };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
-
import { DataUnit, DataType, UserInterface } from '
|
|
2
|
+
import { D as DataUnit, b as DataType, U as UserInterface } from './index2.js';
|
|
3
3
|
import { d as defineCustomElement$3 } from './snk-application2.js';
|
|
4
4
|
import { d as defineCustomElement$2 } from './snk-pesquisa2.js';
|
|
5
5
|
|