@sankhyalabs/sankhyablocks 1.3.31-beta.16 → 1.3.31-beta.18
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-79cf15c5.js → SnkMessageBuilder-02c2ca02.js} +137 -1
- 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-5575fe3d.js → index-b0b676c5.js} +1598 -145
- package/dist/cjs/loader.cjs.js +18 -2
- package/dist/cjs/sankhyablocks.cjs.js +116 -4
- package/dist/cjs/shadow-css-346c0795.js +389 -0
- package/dist/cjs/snk-application.cjs.entry.js +662 -66
- package/dist/cjs/snk-crud.cjs.entry.js +3 -2
- package/dist/cjs/snk-data-unit.cjs.entry.js +23 -24
- package/dist/cjs/snk-filter-bar.cjs.entry.js +247 -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 +143 -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 +26 -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_2.cjs.entry.js → snk-form.cjs.entry.js} +21 -65
- 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 +17 -13
- package/dist/cjs/{taskbar-elements-2ae0d005.js → taskbar-elements-283c737e.js} +37 -18
- 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 +10 -0
- package/dist/collection/components/snk-application/errorhandler/snk-error-handler.js +7 -0
- package/dist/collection/components/snk-application/snk-application.js +89 -17
- package/dist/collection/components/snk-crud/snk-crud.js +41 -3
- 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 +69 -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 +244 -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 +305 -0
- package/dist/collection/components/snk-form/snk-form.js +41 -1
- package/dist/collection/components/snk-grid/snk-grid.css +14 -1
- package/dist/collection/components/snk-grid/snk-grid.js +35 -3
- package/dist/collection/components/snk-taskbar/elements/taskbar-elements.js +35 -17
- package/dist/collection/components/snk-taskbar/processor/taskbar-processor.js +43 -0
- package/dist/collection/components/snk-taskbar/snk-taskbar.js +36 -11
- package/dist/collection/lib/http/data-fetcher/DataFetcher.js +24 -2
- package/dist/collection/lib/http/data-fetcher/fetchers/dataunit-fetcher.js +1 -1
- package/dist/collection/lib/http/data-fetcher/fetchers/filter-bar-config-fetcher.js +388 -0
- package/dist/collection/lib/message/SnkMessageBuilder.js +3 -1
- package/dist/collection/lib/message/resources/snk-filter-bar.msg.js +18 -0
- package/dist/components/SnkMessageBuilder.js +137 -2
- package/dist/components/filter-item-type.enum.js +12 -0
- package/dist/components/index.d.ts +10 -0
- package/dist/components/index.js +14 -0
- package/dist/components/index2.js +2384 -0
- package/dist/components/snk-application2.js +628 -30
- package/dist/components/snk-crud.js +29 -3
- package/dist/components/snk-data-unit.js +2 -3
- 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 +278 -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 +164 -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 +42 -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-form2.js +21 -2
- package/dist/components/snk-grid2.js +42 -7
- package/dist/components/snk-pesquisa2.js +1 -1
- package/dist/components/snk-taskbar2.js +50 -27
- package/dist/components/taskbar-processor.js +45 -0
- package/dist/components/teste-pesquisa.js +1 -1
- package/dist/esm/{SnkMessageBuilder-3cdde541.js → SnkMessageBuilder-65d431bd.js} +137 -2
- 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-e5b61043.js +2384 -0
- package/dist/esm/loader.js +18 -2
- package/dist/esm/sankhyablocks.js +116 -4
- package/dist/esm/shadow-css-b18e99d7.js +387 -0
- package/dist/esm/snk-application.entry.js +627 -31
- package/dist/esm/snk-crud.entry.js +3 -2
- package/dist/esm/snk-data-unit.entry.js +3 -4
- package/dist/esm/snk-filter-bar.entry.js +243 -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 +139 -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 +22 -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_2.entry.js → snk-form.entry.js} +21 -64
- 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 +16 -12
- 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-65d431bd.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-e5b61043.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 +8426 -0
- package/dist/sankhyablocks/snk-crud.entry.js +61 -0
- package/dist/sankhyablocks/snk-data-unit.entry.js +272 -0
- package/dist/sankhyablocks/snk-filter-bar.entry.js +243 -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 +139 -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 +22 -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 +9 -0
- 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 +13 -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 +45 -0
- package/dist/types/components/snk-taskbar/elements/taskbar-elements.d.ts +3 -2
- package/dist/types/components/snk-taskbar/processor/taskbar-processor.d.ts +12 -0
- package/dist/types/components/snk-taskbar/snk-taskbar.d.ts +17 -1
- package/dist/types/components.d.ts +277 -2
- package/dist/types/lib/http/data-fetcher/DataFetcher.d.ts +1 -0
- package/dist/types/lib/http/data-fetcher/fetchers/filter-bar-config-fetcher.d.ts +5 -0
- package/dist/types/lib/message/resources/snk-filter-bar.msg.d.ts +2 -0
- package/package.json +2 -2
- package/react/components.d.ts +0 -7
- package/react/components.js +0 -7
- package/react/components.js.map +1 -1
- package/dist/esm/index-cf91f542.js +0 -1817
- package/dist/esm/taskbar-elements-bcccc0ff.js +0 -72
- package/dist/sankhyablocks/p-1ba29824.entry.js +0 -74
- package/dist/sankhyablocks/p-2266555e.entry.js +0 -1
- package/dist/sankhyablocks/p-23c4c94f.js +0 -2
- package/dist/sankhyablocks/p-2454be94.js +0 -1
- package/dist/sankhyablocks/p-49743bc5.js +0 -1
- package/dist/sankhyablocks/p-4fa389bd.entry.js +0 -1
- package/dist/sankhyablocks/p-5327ba05.entry.js +0 -1
- package/dist/sankhyablocks/p-7a922fb4.entry.js +0 -1
- package/dist/sankhyablocks/p-92d6f826.entry.js +0 -1
- package/dist/sankhyablocks/p-bdeef7f2.entry.js +0 -1
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index-2b4d2d14.js';
|
|
2
|
+
import { a as ApplicationContext } from './index-e5b61043.js';
|
|
3
|
+
import { F as FilterItemType } from './filter-item-type.enum-61fbf80a.js';
|
|
4
|
+
|
|
5
|
+
const SnkFilterSearch = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
}
|
|
9
|
+
ezChangeListener(_evt) {
|
|
10
|
+
this.value = this._searchInput.value;
|
|
11
|
+
}
|
|
12
|
+
doSearch(mode, argument) {
|
|
13
|
+
const application = ApplicationContext.getContextValue("__SNK__APPLICATION__");
|
|
14
|
+
if (this.fix) {
|
|
15
|
+
this.fix();
|
|
16
|
+
}
|
|
17
|
+
return new Promise((resolve, reject) => {
|
|
18
|
+
application.executePreparedSearch(mode, argument, this.config.props.searchContext)
|
|
19
|
+
.then(result => {
|
|
20
|
+
resolve(result);
|
|
21
|
+
if (this.unfix) {
|
|
22
|
+
this.unfix();
|
|
23
|
+
}
|
|
24
|
+
}).catch(reason => {
|
|
25
|
+
reject(reason);
|
|
26
|
+
if (this.unfix) {
|
|
27
|
+
this.unfix();
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
render() {
|
|
33
|
+
if (!this.config || this.config.type !== FilterItemType.SEARCH) {
|
|
34
|
+
return undefined;
|
|
35
|
+
}
|
|
36
|
+
return (h("ez-search", { suppressEmptyOption: true, value: this.config.value, label: this.config.label, ref: ref => this._searchInput = ref, optionLoader: ({ mode, argument }) => this.doSearch(mode, argument) }));
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
export { SnkFilterSearch as snk_filter_search };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index-2b4d2d14.js';
|
|
2
|
+
|
|
3
|
+
const SnkFilterText = class {
|
|
4
|
+
constructor(hostRef) {
|
|
5
|
+
registerInstance(this, hostRef);
|
|
6
|
+
}
|
|
7
|
+
ezChangeListener(evt) {
|
|
8
|
+
this.value = evt.detail;
|
|
9
|
+
}
|
|
10
|
+
render() {
|
|
11
|
+
if (!this.config) {
|
|
12
|
+
return undefined;
|
|
13
|
+
}
|
|
14
|
+
return (h("ez-text-input", { label: this.config.label, value: this.config.value }));
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export { SnkFilterText as snk_filter_text };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance,
|
|
2
|
-
import { ApplicationContext } from '
|
|
3
|
-
import { T as
|
|
1
|
+
import { r as registerInstance, e as createEvent, h, g as getElement } from './index-2b4d2d14.js';
|
|
2
|
+
import { a as ApplicationContext } from './index-e5b61043.js';
|
|
3
|
+
import { T as TaskbarProcessor } from './taskbar-processor-aa6772c9.js';
|
|
4
4
|
|
|
5
5
|
const snkFormCss = ".sc-snk-form-h{display:block}.snk-form.sc-snk-form{position:relative;padding:var(--space--large);padding-top:var(--space--medium)}.snk-form__header.sc-snk-form{position:relative;padding-top:var(--space--medium);padding-bottom:var(--space--medium);margin-bottom:var(--space--medium)}.snk-form__header--fixed.sc-snk-form{position:sticky;top:0;background:var(--background--body);z-index:var(--more-visible, 2);padding-left:var(--space--large);padding-right:var(--space--large);margin-left:calc(var(--space--large) * -1);margin-right:calc(var(--space--large) * -1);width:calc(100% + (var(--space--large) * 2))}";
|
|
6
6
|
|
|
@@ -9,6 +9,10 @@ const SnkForm = class {
|
|
|
9
9
|
registerInstance(this, hostRef);
|
|
10
10
|
this.exit = createEvent(this, "exit", 7);
|
|
11
11
|
this.actionClick = createEvent(this, "actionClick", 7);
|
|
12
|
+
this._taskbarProcessor = new TaskbarProcessor({
|
|
13
|
+
"snkForm.regular": ["PREVIOUS", "NEXT", "DIVIDER", "CLONE", "REMOVE", "MORE_OPTIONS", "DIVIDER", "GRID_MODE", "INSERT"],
|
|
14
|
+
"snkForm.finish_edition": ["CANCEL", "SAVE"]
|
|
15
|
+
});
|
|
12
16
|
}
|
|
13
17
|
getFormConfig() {
|
|
14
18
|
return (this._dataState && this._dataState.insertionMode ? this._insertionFormConfig : this._editionFormConfig);
|
|
@@ -99,74 +103,27 @@ const SnkForm = class {
|
|
|
99
103
|
parent = parent.parentElement;
|
|
100
104
|
}
|
|
101
105
|
}
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
get _element() { return getElement(this); }
|
|
109
|
-
};
|
|
110
|
-
SnkForm.style = snkFormCss;
|
|
111
|
-
|
|
112
|
-
const snkGridCss = ".sc-snk-grid-h{display:flex;height:100%;width:100%}";
|
|
113
|
-
|
|
114
|
-
const SnkGrid = class {
|
|
115
|
-
constructor(hostRef) {
|
|
116
|
-
registerInstance(this, hostRef);
|
|
117
|
-
this.actionClick = createEvent(this, "actionClick", 7);
|
|
118
|
-
this.gridDoubleClick = createEvent(this, "gridDoubleClick", 7);
|
|
119
|
-
}
|
|
120
|
-
getHeaderButtons() {
|
|
121
|
-
return this._dataState && this._dataState.selectedRecords.length > 0 ? "UPDATE,CLONE,REMOVE,MORE_OPTIONS,DIVIDER,REFRESH" : "REFRESH";
|
|
122
|
-
}
|
|
123
|
-
actionClickHandler(evt) {
|
|
124
|
-
if (evt.detail === TaskbarElement.CONFIG_GRID && this._grid) {
|
|
125
|
-
this._grid.openGridConfig();
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
saveConfig(config) {
|
|
129
|
-
const snkApplication = ApplicationContext.getContextValue("__SNK__APPLICATION__");
|
|
130
|
-
if (snkApplication) {
|
|
131
|
-
snkApplication.saveGridConfig(config);
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
componentWillLoad() {
|
|
135
|
-
const snkApplication = ApplicationContext.getContextValue("__SNK__APPLICATION__");
|
|
136
|
-
if (snkApplication) {
|
|
137
|
-
snkApplication.loadGridConfig(this.configName).then(cfg => {
|
|
138
|
-
this._gridConfig = cfg;
|
|
139
|
-
this._configLoaded = true;
|
|
140
|
-
});
|
|
141
|
-
//Forçamos a carga dos acessos pra aproveitar a request inicial.
|
|
142
|
-
snkApplication.getAllAccess();
|
|
106
|
+
componentWillRender() {
|
|
107
|
+
var _a;
|
|
108
|
+
const taskbarId = ((_a = this._dataState) === null || _a === void 0 ? void 0 : _a.isDirty) ? "snkForm.finish_edition" : "snkForm.regular";
|
|
109
|
+
const disabledButtons = [];
|
|
110
|
+
if (!this._dataState || !this._dataState.hasPrevious) {
|
|
111
|
+
disabledButtons.push("PREVIOUS");
|
|
143
112
|
}
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
if (parent.tagName.toUpperCase() === "SNK-DATA-UNIT") {
|
|
147
|
-
this._snkDataUnit = parent;
|
|
148
|
-
this._dataUnit = this._snkDataUnit.dataUnit;
|
|
149
|
-
if (!this._dataUnit) {
|
|
150
|
-
this._snkDataUnit.addEventListener("dataUnitReady", (evt) => {
|
|
151
|
-
this._dataUnit = evt.detail;
|
|
152
|
-
});
|
|
153
|
-
}
|
|
154
|
-
this._snkDataUnit.addEventListener("dataStateChange", (evt) => {
|
|
155
|
-
this._dataState = evt.detail;
|
|
156
|
-
});
|
|
157
|
-
break;
|
|
158
|
-
}
|
|
159
|
-
parent = parent.parentElement;
|
|
113
|
+
if (!this._dataState || !this._dataState.hasNext) {
|
|
114
|
+
disabledButtons.push("NEXT");
|
|
160
115
|
}
|
|
116
|
+
this._taskbarProcessor.process(taskbarId, this.taskbarManager, this._dataState, disabledButtons);
|
|
161
117
|
}
|
|
162
118
|
render() {
|
|
163
|
-
|
|
119
|
+
var _a;
|
|
120
|
+
if (!this._configLoaded || !this._dataUnit || !this._dataState) {
|
|
164
121
|
return undefined;
|
|
165
122
|
}
|
|
166
|
-
return (h("
|
|
123
|
+
return (h("section", { class: "snk-form" }, h("div", { class: "snk-form__header snk-form__header--fixed ez-row" }, h("div", { class: "ez-col ez-col--sd-6 ez-col--tb-6", key: "formHeader" }, h("ez-button", { title: this.getMessage("snkForm.goBackTitle"), mode: "icon", iconName: "arrow_back", class: "ez-padding-right--medium", size: "small", onClick: () => this.exitForm() }), h("h1", { class: "ez-title ez-title--primary ez-title--xlarge ez-align--middle" }, this.getMessage("snkForm.title"))), h("div", { class: "ez-col ez-col--sd-6 ez-col--tb-6 ez-align--right" }, h("snk-taskbar", { key: "formTaskbar", buttons: this._taskbarProcessor.buttons, disabledButtons: this._taskbarProcessor.disabledButtons, customButtons: this._taskbarProcessor.customButtons, actionsList: this.actionsList, primaryButton: ((_a = this._dataState) === null || _a === void 0 ? void 0 : _a.isDirty) ? "SAVE" : "INSERT", dataUnit: this._dataUnit }))), h("section", null, h("div", { class: "ez-row" }, h("div", { class: "ez-col ez-col--sd-12" }, h("ez-form", { key: "ezForm" + this._snkDataUnit.entityName, dataUnit: this._dataUnit, config: this.getFormConfig(), recordsValidator: this.recordsValidator }))))));
|
|
167
124
|
}
|
|
168
125
|
get _element() { return getElement(this); }
|
|
169
126
|
};
|
|
170
|
-
|
|
127
|
+
SnkForm.style = snkFormCss;
|
|
171
128
|
|
|
172
|
-
export { SnkForm as snk_form
|
|
129
|
+
export { SnkForm as snk_form };
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { r as registerInstance, e as createEvent, h, g as getElement } from './index-2b4d2d14.js';
|
|
2
|
+
import { a as ApplicationContext } from './index-e5b61043.js';
|
|
3
|
+
import { T as TaskbarElement } from './taskbar-elements-35d64ff9.js';
|
|
4
|
+
import { T as TaskbarProcessor } from './taskbar-processor-aa6772c9.js';
|
|
5
|
+
|
|
6
|
+
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)}";
|
|
7
|
+
|
|
8
|
+
const SnkGrid = class {
|
|
9
|
+
constructor(hostRef) {
|
|
10
|
+
registerInstance(this, hostRef);
|
|
11
|
+
this.actionClick = createEvent(this, "actionClick", 7);
|
|
12
|
+
this.gridDoubleClick = createEvent(this, "gridDoubleClick", 7);
|
|
13
|
+
this._topTaskbarProcessor = new TaskbarProcessor({
|
|
14
|
+
"snkGridTopTaskbar": ["FORM_MODE", "CONFIG_GRID", "INSERT"]
|
|
15
|
+
});
|
|
16
|
+
this._headerTaskbarProcessor = new TaskbarProcessor({
|
|
17
|
+
"snkGridHeaderTaskbar.unselected": ["REFRESH"],
|
|
18
|
+
"snkGridHeaderTaskbar.selected": ["UPDATE", "CLONE", "REMOVE", "MORE_OPTIONS", "DIVIDER", "REFRESH"]
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
actionClickHandler(evt) {
|
|
22
|
+
if (evt.detail === TaskbarElement.CONFIG_GRID && this._grid) {
|
|
23
|
+
this._grid.openGridConfig();
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
saveConfig(config) {
|
|
27
|
+
const snkApplication = ApplicationContext.getContextValue("__SNK__APPLICATION__");
|
|
28
|
+
if (snkApplication) {
|
|
29
|
+
snkApplication.saveGridConfig(config);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
componentWillLoad() {
|
|
33
|
+
const snkApplication = ApplicationContext.getContextValue("__SNK__APPLICATION__");
|
|
34
|
+
if (snkApplication) {
|
|
35
|
+
snkApplication.loadGridConfig(this.configName).then(cfg => {
|
|
36
|
+
this._gridConfig = cfg;
|
|
37
|
+
this._configLoaded = true;
|
|
38
|
+
});
|
|
39
|
+
//Forçamos a carga dos acessos pra aproveitar a request inicial.
|
|
40
|
+
snkApplication.getAllAccess();
|
|
41
|
+
}
|
|
42
|
+
let parent = this._element.parentElement;
|
|
43
|
+
while (parent) {
|
|
44
|
+
if (parent.tagName.toUpperCase() === "SNK-DATA-UNIT") {
|
|
45
|
+
this._snkDataUnit = parent;
|
|
46
|
+
this._dataUnit = this._snkDataUnit.dataUnit;
|
|
47
|
+
if (!this._dataUnit) {
|
|
48
|
+
this._snkDataUnit.addEventListener("dataUnitReady", (evt) => {
|
|
49
|
+
this._dataUnit = evt.detail;
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
this._snkDataUnit.addEventListener("dataStateChange", (evt) => {
|
|
53
|
+
this._dataState = evt.detail;
|
|
54
|
+
});
|
|
55
|
+
break;
|
|
56
|
+
}
|
|
57
|
+
parent = parent.parentElement;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
componentWillRender() {
|
|
61
|
+
const headerTaskbarId = this._dataState && this._dataState.selectedRecords.length > 0 ? "snkGridHeaderTaskbar.selected" : "snkGridHeaderTaskbar.unselected";
|
|
62
|
+
this._headerTaskbarProcessor.process(headerTaskbarId, this.taskbarManager, this._dataState);
|
|
63
|
+
this._topTaskbarProcessor.process("snkGridTopTaskbar", this.taskbarManager, this._dataState);
|
|
64
|
+
}
|
|
65
|
+
render() {
|
|
66
|
+
if (!this._configLoaded || !this._dataUnit) {
|
|
67
|
+
return undefined;
|
|
68
|
+
}
|
|
69
|
+
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", { class: "snk-grid__filter-bar ez-align--top" }), 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() }, 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" }))));
|
|
70
|
+
}
|
|
71
|
+
get _element() { return getElement(this); }
|
|
72
|
+
};
|
|
73
|
+
SnkGrid.style = snkGridCss;
|
|
74
|
+
|
|
75
|
+
export { SnkGrid as snk_grid };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, h,
|
|
2
|
-
import { ObjectUtils, StringUtils } from '
|
|
1
|
+
import { r as registerInstance, h, f as Host } from './index-2b4d2d14.js';
|
|
2
|
+
import { O as ObjectUtils, S as StringUtils } from './index-e5b61043.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
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance,
|
|
2
|
-
import { ApplicationContext } from '
|
|
3
|
-
import { T as TaskbarElement, V as VisibleWhenForbidden, A as AuthorizationElements, b as buildElem } from './taskbar-elements-
|
|
1
|
+
import { r as registerInstance, e as createEvent, h, f as Host } from './index-2b4d2d14.js';
|
|
2
|
+
import { a as ApplicationContext } from './index-e5b61043.js';
|
|
3
|
+
import { T as TaskbarElement, V as VisibleWhenForbidden, A as AuthorizationElements, b as buildElem, a as buildCustomButton } from './taskbar-elements-35d64ff9.js';
|
|
4
4
|
|
|
5
5
|
const snkTaskbarCss = ".sc-snk-taskbar-h{display:flex}";
|
|
6
6
|
|
|
@@ -100,13 +100,16 @@ const SnkTaskbar = class {
|
|
|
100
100
|
return !(this.disabledButtons && this.disabledButtons.includes(elem));
|
|
101
101
|
}
|
|
102
102
|
getElement(index, def) {
|
|
103
|
-
let element;
|
|
104
103
|
let className = def === this.primaryButton ? "ez-button--primary " : "";
|
|
105
104
|
if (index > 1) {
|
|
106
105
|
className += "ez-padding-left--medium";
|
|
107
106
|
}
|
|
108
|
-
|
|
109
|
-
|
|
107
|
+
if (TaskbarElement[def.toString()]) {
|
|
108
|
+
return buildElem(def, className, elem => this.getTitle(elem), elem => this.elementClick(elem), elem => this.isEnabled(elem), this.actionsList);
|
|
109
|
+
}
|
|
110
|
+
else {
|
|
111
|
+
return buildCustomButton(def, className, elem => this.elementClick(elem), elem => this.isEnabled(elem));
|
|
112
|
+
}
|
|
110
113
|
}
|
|
111
114
|
// Lifecycle
|
|
112
115
|
componentWillLoad() {
|
|
@@ -128,19 +131,20 @@ const SnkTaskbar = class {
|
|
|
128
131
|
return undefined;
|
|
129
132
|
}
|
|
130
133
|
let index = 0;
|
|
131
|
-
return (h(Host, null, this._definitions.map((
|
|
132
|
-
if (
|
|
134
|
+
return (h(Host, null, this._definitions.map((elem) => {
|
|
135
|
+
if (elem === TaskbarElement.DIVIDER) {
|
|
133
136
|
index = 0;
|
|
134
137
|
}
|
|
135
138
|
else {
|
|
136
139
|
index++;
|
|
137
140
|
}
|
|
138
|
-
if (TaskbarElement[
|
|
139
|
-
return this.getElement(index, TaskbarElement[
|
|
141
|
+
if (TaskbarElement[elem]) {
|
|
142
|
+
return this.getElement(index, TaskbarElement[elem]);
|
|
140
143
|
}
|
|
141
|
-
|
|
142
|
-
return
|
|
144
|
+
if (this.customButtons.has(elem)) {
|
|
145
|
+
return this.getElement(index, this.customButtons.get(elem));
|
|
143
146
|
}
|
|
147
|
+
return h("slot", { name: elem });
|
|
144
148
|
})));
|
|
145
149
|
}
|
|
146
150
|
static get watchers() { return {
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { h } from './index-2b4d2d14.js';
|
|
2
|
+
|
|
3
|
+
var TaskbarElement;
|
|
4
|
+
(function (TaskbarElement) {
|
|
5
|
+
TaskbarElement["PREVIOUS"] = "PREVIOUS";
|
|
6
|
+
TaskbarElement["NEXT"] = "NEXT";
|
|
7
|
+
TaskbarElement["REFRESH"] = "REFRESH";
|
|
8
|
+
TaskbarElement["UPDATE"] = "UPDATE";
|
|
9
|
+
TaskbarElement["CLONE"] = "CLONE";
|
|
10
|
+
TaskbarElement["REMOVE"] = "REMOVE";
|
|
11
|
+
TaskbarElement["INSERT"] = "INSERT";
|
|
12
|
+
TaskbarElement["CANCEL"] = "CANCEL";
|
|
13
|
+
TaskbarElement["SAVE"] = "SAVE";
|
|
14
|
+
TaskbarElement["GRID_MODE"] = "GRID_MODE";
|
|
15
|
+
TaskbarElement["FORM_MODE"] = "FORM_MODE";
|
|
16
|
+
TaskbarElement["CONFIG_GRID"] = "CONFIG_GRID";
|
|
17
|
+
TaskbarElement["MORE_OPTIONS"] = "MORE_OPTIONS";
|
|
18
|
+
TaskbarElement["DIVIDER"] = "DIVIDER";
|
|
19
|
+
})(TaskbarElement || (TaskbarElement = {}));
|
|
20
|
+
var AuthorizationElements;
|
|
21
|
+
(function (AuthorizationElements) {
|
|
22
|
+
AuthorizationElements["UPDATE"] = "UPDATE";
|
|
23
|
+
AuthorizationElements["CLONE"] = "CLONE";
|
|
24
|
+
AuthorizationElements["REMOVE"] = "REMOVE";
|
|
25
|
+
AuthorizationElements["INSERT"] = "INSERT";
|
|
26
|
+
AuthorizationElements["CONFIG_GRID"] = "CONFIG_GRID";
|
|
27
|
+
})(AuthorizationElements || (AuthorizationElements = {}));
|
|
28
|
+
var VisibleWhenForbidden;
|
|
29
|
+
(function (VisibleWhenForbidden) {
|
|
30
|
+
VisibleWhenForbidden["CONFIG_GRID"] = "CONFIG_GRID";
|
|
31
|
+
})(VisibleWhenForbidden || (VisibleWhenForbidden = {}));
|
|
32
|
+
const buildCustomButton = (def, className, action, isEnabled) => {
|
|
33
|
+
const { hint, text, iconName } = def;
|
|
34
|
+
if (iconName) {
|
|
35
|
+
if (text) {
|
|
36
|
+
return iconTextButton(iconName, def.name, className, hint, text, action, isEnabled);
|
|
37
|
+
}
|
|
38
|
+
else {
|
|
39
|
+
return iconButton(iconName, def.name, className, hint, action, isEnabled);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
else {
|
|
43
|
+
return textButton(def.name, className, text, hint, action, isEnabled);
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
const buildElem = (element, className, getTitle, action, isEnabled, actions) => {
|
|
47
|
+
const title = getTitle(element);
|
|
48
|
+
switch (element) {
|
|
49
|
+
case TaskbarElement.PREVIOUS:
|
|
50
|
+
return iconButton("chevron-left", element, className, title, action, isEnabled);
|
|
51
|
+
case TaskbarElement.NEXT:
|
|
52
|
+
return iconButton("chevron-right", element, className, title, action, isEnabled);
|
|
53
|
+
case TaskbarElement.REFRESH:
|
|
54
|
+
return iconButton("sync", element, className, title, action, isEnabled);
|
|
55
|
+
case TaskbarElement.UPDATE:
|
|
56
|
+
return iconButton("edit", element, className, title, action, isEnabled);
|
|
57
|
+
case TaskbarElement.CLONE:
|
|
58
|
+
return iconButton("copy", element, className, title, action, isEnabled);
|
|
59
|
+
case TaskbarElement.REMOVE:
|
|
60
|
+
return iconButton("delete", element, className, title, action, isEnabled);
|
|
61
|
+
case TaskbarElement.INSERT:
|
|
62
|
+
return iconTextButton("plus", element, className, title, title, action, isEnabled);
|
|
63
|
+
case TaskbarElement.CANCEL:
|
|
64
|
+
return textButton(element, className, title, title, action, isEnabled);
|
|
65
|
+
case TaskbarElement.SAVE:
|
|
66
|
+
return iconTextButton("save", element, className, title, title, action, isEnabled);
|
|
67
|
+
case TaskbarElement.GRID_MODE:
|
|
68
|
+
return iconButton("table", element, className, title, action, isEnabled);
|
|
69
|
+
case TaskbarElement.FORM_MODE:
|
|
70
|
+
return iconButton("list", element, className, title, action, isEnabled);
|
|
71
|
+
case TaskbarElement.CONFIG_GRID:
|
|
72
|
+
return iconButton("settings-inverted", element, className, title, action, isEnabled);
|
|
73
|
+
case TaskbarElement.MORE_OPTIONS:
|
|
74
|
+
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;
|
|
75
|
+
case TaskbarElement.DIVIDER:
|
|
76
|
+
return h("hr", { class: "ez-divider-vertical ez-divider--dark ez-margin-horizontal--medium" });
|
|
77
|
+
}
|
|
78
|
+
};
|
|
79
|
+
function textButton(name, className, text, title, action, isEnabled) {
|
|
80
|
+
return h("ez-button", { title: title, label: text, size: "small", class: className, enabled: isEnabled(name), onClick: () => action(name) });
|
|
81
|
+
}
|
|
82
|
+
function iconButton(iconName, name, className, title, action, isEnabled) {
|
|
83
|
+
return h("ez-button", { name: iconName, title: title, mode: "icon", size: "small", class: className, iconName: iconName, enabled: isEnabled(name), onClick: () => action(name) });
|
|
84
|
+
}
|
|
85
|
+
function iconTextButton(iconName, name, className, text, title, action, isEnabled) {
|
|
86
|
+
return h("ez-button", { name: iconName, title: title, label: text, size: "small", class: className, enabled: isEnabled(name), onClick: () => action(name) },
|
|
87
|
+
h("ez-icon", { class: "ez-padding-right--small", slot: "leftIcon", iconName: iconName }));
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export { AuthorizationElements as A, TaskbarElement as T, VisibleWhenForbidden as V, buildCustomButton as a, buildElem as b };
|
|
@@ -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
|
-
import { r as registerInstance, h } from './index-
|
|
2
|
-
import { DataUnit, DataType, UserInterface } from '
|
|
1
|
+
import { r as registerInstance, h } from './index-2b4d2d14.js';
|
|
2
|
+
import { D as DataUnit, b as DataType, U as UserInterface } from './index-e5b61043.js';
|
|
3
3
|
|
|
4
4
|
const testePesquisaCss = ":host{display:block}";
|
|
5
5
|
|