@sankhyalabs/sankhyablocks 1.4.0-beta.3 → 1.4.0-beta.5
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-d8215915.js → SnkMessageBuilder-b54dfb89.js} +6 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/sankhyablocks.cjs.js +1 -1
- package/dist/cjs/snk-application.cjs.entry.js +11 -5
- package/dist/cjs/snk-crud.cjs.entry.js +6 -0
- package/dist/cjs/snk-data-unit.cjs.entry.js +1 -1
- package/dist/cjs/snk-filter-bar_5.cjs.entry.js +7 -26
- package/dist/cjs/snk-filter-detail.cjs.entry.js +30 -19
- package/dist/cjs/snk-filter-personalized.cjs.entry.js +0 -9
- package/dist/cjs/snk-filter-search.cjs.entry.js +0 -9
- package/dist/collection/components/snk-application/snk-application.js +11 -2
- package/dist/collection/components/snk-crud/snk-crud.js +29 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-personalized.js +0 -39
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-search.js +0 -39
- package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-detail.js +30 -36
- package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-item.js +3 -14
- package/dist/collection/components/snk-filter-bar/filter-list/snk-filter-list.js +4 -12
- package/dist/collection/lib/http/data-fetcher/DataFetcher.js +3 -3
- package/dist/collection/lib/index.js +1 -0
- package/dist/collection/lib/message/SnkMessageBuilder.js +3 -1
- package/dist/collection/lib/message/resources/crud-utils.msg.js +4 -0
- package/dist/collection/lib/utils/CrudUtils.js +73 -0
- package/dist/components/SnkMessageBuilder.js +6 -1
- package/dist/components/snk-application2.js +10 -4
- package/dist/components/snk-crud.js +8 -1
- package/dist/components/snk-filter-detail2.js +30 -20
- package/dist/components/snk-filter-item2.js +3 -14
- package/dist/components/snk-filter-list2.js +4 -12
- package/dist/components/snk-filter-personalized.js +1 -12
- package/dist/components/snk-filter-search.js +1 -12
- package/dist/esm/{SnkMessageBuilder-35a20271.js → SnkMessageBuilder-d440381c.js} +6 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/sankhyablocks.js +1 -1
- package/dist/esm/snk-application.entry.js +11 -5
- package/dist/esm/snk-crud.entry.js +6 -0
- package/dist/esm/snk-data-unit.entry.js +1 -1
- package/dist/esm/snk-filter-bar_5.entry.js +7 -26
- package/dist/esm/snk-filter-detail.entry.js +30 -19
- package/dist/esm/snk-filter-personalized.entry.js +0 -9
- package/dist/esm/snk-filter-search.entry.js +0 -9
- package/dist/sankhyablocks/p-01823784.entry.js +1 -0
- package/dist/sankhyablocks/{p-8f3c5709.entry.js → p-2e49afef.entry.js} +1 -1
- package/dist/sankhyablocks/{p-586e2522.js → p-2eea7eea.js} +1 -1
- package/dist/sankhyablocks/{p-dc482a42.entry.js → p-6f8303f3.entry.js} +1 -1
- package/dist/sankhyablocks/p-746fc78b.entry.js +1 -0
- package/dist/sankhyablocks/p-77216252.entry.js +1 -0
- package/dist/sankhyablocks/{p-9be74b46.entry.js → p-c564f823.entry.js} +2 -2
- package/dist/sankhyablocks/p-eea6444c.entry.js +1 -0
- package/dist/sankhyablocks/sankhyablocks.esm.js +1 -1
- package/dist/types/components/snk-application/snk-application.d.ts +1 -1
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-personalized.d.ts +0 -2
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-search.d.ts +0 -2
- package/dist/types/components/snk-filter-bar/filter-item/snk-filter-detail.d.ts +1 -1
- package/dist/types/components/snk-filter-bar/filter-list/snk-filter-list.d.ts +1 -1
- package/dist/types/components.d.ts +5 -11
- package/dist/types/lib/index.d.ts +1 -0
- package/dist/types/lib/message/resources/crud-utils.msg.d.ts +2 -0
- package/dist/types/lib/utils/CrudUtils.d.ts +6 -0
- package/package.json +1 -1
- package/dist/sankhyablocks/p-322c0df2.entry.js +0 -1
- package/dist/sankhyablocks/p-473cedf9.entry.js +0 -1
- package/dist/sankhyablocks/p-a8b59c61.entry.js +0 -1
- package/dist/sankhyablocks/p-c78cb79a.entry.js +0 -1
|
@@ -100,13 +100,18 @@ const snkTaskbarMessages = {
|
|
|
100
100
|
forbidden: "Permissão não liberada"
|
|
101
101
|
};
|
|
102
102
|
|
|
103
|
+
const crudUtilsMessages = {
|
|
104
|
+
errorArray: "CrudUtils.find deve receber um array de fields, ou uma lista separada por virgula.",
|
|
105
|
+
};
|
|
106
|
+
|
|
103
107
|
class SnkMessageBuilder {
|
|
104
108
|
constructor() {
|
|
105
109
|
this._defaults = {
|
|
106
110
|
snkDataUnit: snkDataUnitMessages,
|
|
107
111
|
snkForm: snkFormMessages,
|
|
108
112
|
snkTaskbar: snkTaskbarMessages,
|
|
109
|
-
snkFilterBar: snkFilterBarMessages
|
|
113
|
+
snkFilterBar: snkFilterBarMessages,
|
|
114
|
+
crudUtils: crudUtilsMessages
|
|
110
115
|
};
|
|
111
116
|
this._currentOperation = exports.OperationMap.CLEAN;
|
|
112
117
|
this.loadAppMessages().then((msgs) => {
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -14,7 +14,7 @@ const patchEsm = () => {
|
|
|
14
14
|
const defineCustomElements = (win, options) => {
|
|
15
15
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
16
16
|
return patchEsm().then(() => {
|
|
17
|
-
return index.bootstrapLazy([["snk-crud.cjs",[[6,"snk-crud",{"configName":[1025,"config-name"],"actionsList":[16],"taskbarManager":[16],"recordsValidator":[16],"statusResolver":[16],"_dataUnit":[32],"_dataState":[32]}]]],["teste-pesquisa.cjs",[[1,"teste-pesquisa"]]],["snk-data-unit.cjs",[[2,"snk-data-unit",{"dataState":[1040],"dataUnitName":[1,"data-unit-name"],"entityName":[1,"entity-name"],"pageSize":[2,"page-size"],"dataUnit":[1040],"beforeSave":[16],"afterSave":[16],"getDataUnit":[64]}]]],["snk-filter-binary-select.cjs",[[0,"snk-filter-binary-select",{"value":[1544],"config":[16]},[[0,"ezChange","ezChangeListener"]]]]],["snk-filter-multi-select.cjs",[[0,"snk-filter-multi-select",{"value":[1544],"config":[16]},[[0,"ezChange","ezChangeListener"]]]]],["snk-filter-number.cjs",[[0,"snk-filter-number",{"config":[16],"value":[2]},[[0,"ezChange","ezChangeListener"]]]]],["snk-filter-period.cjs",[[0,"snk-filter-period",{"config":[16],"value":[8]},[[0,"ezChange","ezChangeListener"]]]]],["snk-filter-personalized.cjs",[[0,"snk-filter-personalized",{"config":[16],"value":[1040]
|
|
17
|
+
return index.bootstrapLazy([["snk-crud.cjs",[[6,"snk-crud",{"configName":[1025,"config-name"],"actionsList":[16],"taskbarManager":[16],"recordsValidator":[16],"statusResolver":[16],"_dataUnit":[32],"_dataState":[32],"goToView":[64]}]]],["teste-pesquisa.cjs",[[1,"teste-pesquisa"]]],["snk-data-unit.cjs",[[2,"snk-data-unit",{"dataState":[1040],"dataUnitName":[1,"data-unit-name"],"entityName":[1,"entity-name"],"pageSize":[2,"page-size"],"dataUnit":[1040],"beforeSave":[16],"afterSave":[16],"getDataUnit":[64]}]]],["snk-filter-binary-select.cjs",[[0,"snk-filter-binary-select",{"value":[1544],"config":[16]},[[0,"ezChange","ezChangeListener"]]]]],["snk-filter-multi-select.cjs",[[0,"snk-filter-multi-select",{"value":[1544],"config":[16]},[[0,"ezChange","ezChangeListener"]]]]],["snk-filter-number.cjs",[[0,"snk-filter-number",{"config":[16],"value":[2]},[[0,"ezChange","ezChangeListener"]]]]],["snk-filter-period.cjs",[[0,"snk-filter-period",{"config":[16],"value":[8]},[[0,"ezChange","ezChangeListener"]]]]],["snk-filter-personalized.cjs",[[0,"snk-filter-personalized",{"config":[16],"value":[1040]}]]],["snk-filter-search.cjs",[[0,"snk-filter-search",{"config":[16],"value":[16]},[[0,"ezChange","ezChangeListener"]]]]],["snk-filter-text.cjs",[[0,"snk-filter-text",{"config":[16],"value":[1]},[[0,"ezChange","ezChangeListener"]]]]],["snk-pesquisa.cjs",[[2,"snk-pesquisa",{"searchLoader":[16],"selectItem":[16],"argument":[1025],"_itemList":[32],"_startLoading":[32]}]]],["snk-application.cjs",[[2,"snk-application",{"messagesBuilder":[1040],"configName":[1,"config-name"],"isUserSup":[64],"hasAccess":[64],"getAllAccess":[64],"getStringParam":[64],"getIntParam":[64],"getFloatParam":[64],"getBooleanParam":[64],"getDateParam":[64],"showPopUp":[64],"showModal":[64],"closeModal":[64],"closePopUp":[64],"temOpcional":[64],"getConfig":[64],"saveConfig":[64],"getAttributeFromHTMLWrapper":[64],"openApp":[64],"createDataunit":[64],"getDataUnit":[64],"getResourceID":[64],"alert":[64],"error":[64],"success":[64],"message":[64],"confirm":[64],"info":[64],"loadFormConfig":[64],"loadGridConfig":[64],"loadTotals":[64],"saveGridConfig":[64],"getFilterBarConfig":[64],"saveFilterBarConfig":[64],"executeSearch":[64],"executePreparedSearch":[64],"isDebugMode":[64]}]]],["snk-filter-detail.cjs",[[0,"snk-filter-detail",{"config":[1040],"getMessage":[16]}]]],["snk-filter-bar_5.cjs",[[2,"snk-filter-bar",{"dataUnit":[1040],"configName":[1,"config-name"],"filterConfig":[1040],"allowDefault":[32]},[[0,"filterChange","filterChangeListener"]]],[0,"snk-filter-item",{"config":[1040],"getMessage":[16],"detailIsVisible":[32],"showUp":[64]},[[2,"click","clickListener"],[2,"mousedown","mouseDownListener"],[0,"filterChange","filterChangeListener"]]],[4,"snk-filter-list",{"label":[1],"iconName":[1,"icon-name"],"items":[16],"getMessage":[16],"emptyText":[1,"empty-text"],"findFilterText":[1,"find-filter-text"],"buttonClass":[1,"button-class"],"_filterArgument":[32],"_showAll":[32]}],[0,"snk-filter-modal",{"getMessage":[16],"items":[1040],"modalTitle":[1,"modal-title"],"modalSubTitle":[1,"modal-sub-title"],"cancelButtonLabel":[1,"cancel-button-label"],"okButtonLabel":[1,"ok-button-label"],"infoText":[1,"info-text"],"useSearch":[4,"use-search"],"processModalAction":[16],"_filterArgument":[32]}],[6,"snk-taskbar",{"buttons":[1],"customButtons":[16],"actionsList":[16],"primaryButton":[1,"primary-button"],"disabledButtons":[16],"dataUnit":[16],"_permissions":[32]}]]],["snk-form_2.cjs",[[6,"snk-grid",{"configName":[1,"config-name"],"actionsList":[16],"taskbarManager":[16],"statusResolver":[16],"_dataUnit":[32],"_configLoaded":[32],"_dataState":[32],"_gridConfig":[32]}],[2,"snk-form",{"configName":[1,"config-name"],"recordsValidator":[16],"actionsList":[16],"taskbarManager":[16],"_dataUnit":[32],"_configLoaded":[32],"_dataState":[32],"_editionFormConfig":[32],"_insertionFormConfig":[32]}]]]], options);
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
|
|
@@ -15,5 +15,5 @@ const patchBrowser = () => {
|
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
patchBrowser().then(options => {
|
|
18
|
-
return index.bootstrapLazy([["snk-crud.cjs",[[6,"snk-crud",{"configName":[1025,"config-name"],"actionsList":[16],"taskbarManager":[16],"recordsValidator":[16],"statusResolver":[16],"_dataUnit":[32],"_dataState":[32]}]]],["teste-pesquisa.cjs",[[1,"teste-pesquisa"]]],["snk-data-unit.cjs",[[2,"snk-data-unit",{"dataState":[1040],"dataUnitName":[1,"data-unit-name"],"entityName":[1,"entity-name"],"pageSize":[2,"page-size"],"dataUnit":[1040],"beforeSave":[16],"afterSave":[16],"getDataUnit":[64]}]]],["snk-filter-binary-select.cjs",[[0,"snk-filter-binary-select",{"value":[1544],"config":[16]},[[0,"ezChange","ezChangeListener"]]]]],["snk-filter-multi-select.cjs",[[0,"snk-filter-multi-select",{"value":[1544],"config":[16]},[[0,"ezChange","ezChangeListener"]]]]],["snk-filter-number.cjs",[[0,"snk-filter-number",{"config":[16],"value":[2]},[[0,"ezChange","ezChangeListener"]]]]],["snk-filter-period.cjs",[[0,"snk-filter-period",{"config":[16],"value":[8]},[[0,"ezChange","ezChangeListener"]]]]],["snk-filter-personalized.cjs",[[0,"snk-filter-personalized",{"config":[16],"value":[1040]
|
|
18
|
+
return index.bootstrapLazy([["snk-crud.cjs",[[6,"snk-crud",{"configName":[1025,"config-name"],"actionsList":[16],"taskbarManager":[16],"recordsValidator":[16],"statusResolver":[16],"_dataUnit":[32],"_dataState":[32],"goToView":[64]}]]],["teste-pesquisa.cjs",[[1,"teste-pesquisa"]]],["snk-data-unit.cjs",[[2,"snk-data-unit",{"dataState":[1040],"dataUnitName":[1,"data-unit-name"],"entityName":[1,"entity-name"],"pageSize":[2,"page-size"],"dataUnit":[1040],"beforeSave":[16],"afterSave":[16],"getDataUnit":[64]}]]],["snk-filter-binary-select.cjs",[[0,"snk-filter-binary-select",{"value":[1544],"config":[16]},[[0,"ezChange","ezChangeListener"]]]]],["snk-filter-multi-select.cjs",[[0,"snk-filter-multi-select",{"value":[1544],"config":[16]},[[0,"ezChange","ezChangeListener"]]]]],["snk-filter-number.cjs",[[0,"snk-filter-number",{"config":[16],"value":[2]},[[0,"ezChange","ezChangeListener"]]]]],["snk-filter-period.cjs",[[0,"snk-filter-period",{"config":[16],"value":[8]},[[0,"ezChange","ezChangeListener"]]]]],["snk-filter-personalized.cjs",[[0,"snk-filter-personalized",{"config":[16],"value":[1040]}]]],["snk-filter-search.cjs",[[0,"snk-filter-search",{"config":[16],"value":[16]},[[0,"ezChange","ezChangeListener"]]]]],["snk-filter-text.cjs",[[0,"snk-filter-text",{"config":[16],"value":[1]},[[0,"ezChange","ezChangeListener"]]]]],["snk-pesquisa.cjs",[[2,"snk-pesquisa",{"searchLoader":[16],"selectItem":[16],"argument":[1025],"_itemList":[32],"_startLoading":[32]}]]],["snk-application.cjs",[[2,"snk-application",{"messagesBuilder":[1040],"configName":[1,"config-name"],"isUserSup":[64],"hasAccess":[64],"getAllAccess":[64],"getStringParam":[64],"getIntParam":[64],"getFloatParam":[64],"getBooleanParam":[64],"getDateParam":[64],"showPopUp":[64],"showModal":[64],"closeModal":[64],"closePopUp":[64],"temOpcional":[64],"getConfig":[64],"saveConfig":[64],"getAttributeFromHTMLWrapper":[64],"openApp":[64],"createDataunit":[64],"getDataUnit":[64],"getResourceID":[64],"alert":[64],"error":[64],"success":[64],"message":[64],"confirm":[64],"info":[64],"loadFormConfig":[64],"loadGridConfig":[64],"loadTotals":[64],"saveGridConfig":[64],"getFilterBarConfig":[64],"saveFilterBarConfig":[64],"executeSearch":[64],"executePreparedSearch":[64],"isDebugMode":[64]}]]],["snk-filter-detail.cjs",[[0,"snk-filter-detail",{"config":[1040],"getMessage":[16]}]]],["snk-filter-bar_5.cjs",[[2,"snk-filter-bar",{"dataUnit":[1040],"configName":[1,"config-name"],"filterConfig":[1040],"allowDefault":[32]},[[0,"filterChange","filterChangeListener"]]],[0,"snk-filter-item",{"config":[1040],"getMessage":[16],"detailIsVisible":[32],"showUp":[64]},[[2,"click","clickListener"],[2,"mousedown","mouseDownListener"],[0,"filterChange","filterChangeListener"]]],[4,"snk-filter-list",{"label":[1],"iconName":[1,"icon-name"],"items":[16],"getMessage":[16],"emptyText":[1,"empty-text"],"findFilterText":[1,"find-filter-text"],"buttonClass":[1,"button-class"],"_filterArgument":[32],"_showAll":[32]}],[0,"snk-filter-modal",{"getMessage":[16],"items":[1040],"modalTitle":[1,"modal-title"],"modalSubTitle":[1,"modal-sub-title"],"cancelButtonLabel":[1,"cancel-button-label"],"okButtonLabel":[1,"ok-button-label"],"infoText":[1,"info-text"],"useSearch":[4,"use-search"],"processModalAction":[16],"_filterArgument":[32]}],[6,"snk-taskbar",{"buttons":[1],"customButtons":[16],"actionsList":[16],"primaryButton":[1,"primary-button"],"disabledButtons":[16],"dataUnit":[16],"_permissions":[32]}]]],["snk-form_2.cjs",[[6,"snk-grid",{"configName":[1,"config-name"],"actionsList":[16],"taskbarManager":[16],"statusResolver":[16],"_dataUnit":[32],"_configLoaded":[32],"_dataState":[32],"_gridConfig":[32]}],[2,"snk-form",{"configName":[1,"config-name"],"recordsValidator":[16],"actionsList":[16],"taskbarManager":[16],"_dataUnit":[32],"_configLoaded":[32],"_dataState":[32],"_editionFormConfig":[32],"_insertionFormConfig":[32]}]]]], options);
|
|
19
19
|
});
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-6fcf07f3.js');
|
|
6
6
|
const core = require('@sankhyalabs/core');
|
|
7
7
|
const utils = require('@sankhyalabs/ezui/dist/collection/utils');
|
|
8
|
-
const SnkMessageBuilder = require('./SnkMessageBuilder-
|
|
8
|
+
const SnkMessageBuilder = require('./SnkMessageBuilder-b54dfb89.js');
|
|
9
9
|
|
|
10
10
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
11
11
|
|
|
@@ -6538,14 +6538,14 @@ class DataFetcher {
|
|
|
6538
6538
|
return UrlUtils.getUrlBase();
|
|
6539
6539
|
}
|
|
6540
6540
|
getContext(module) {
|
|
6541
|
+
var _a;
|
|
6541
6542
|
const urlParams = UrlUtils.getQueryParams(location.search);
|
|
6542
6543
|
return {
|
|
6543
6544
|
baseUrl: `${this.resolveURL()}/${module}/service.sbr`,
|
|
6544
6545
|
appName: "SankhyaBlocks",
|
|
6545
|
-
mgeSession: `${window['skw_session'] || urlParams.mgeSession}`,
|
|
6546
|
+
mgeSession: `${window['skw_session'] || urlParams.get("mgeSession")}`,
|
|
6546
6547
|
globalID: "85C0093DFA240EAB699B4E47A10215BD",
|
|
6547
|
-
|
|
6548
|
-
resourceID: "br.com.sankhya.mov.bancaria"
|
|
6548
|
+
resourceID: (window["resourceID"] || ((_a = window["workspace"]) === null || _a === void 0 ? void 0 : _a.resourceID))
|
|
6549
6549
|
};
|
|
6550
6550
|
}
|
|
6551
6551
|
async callServiceBroker(serviceName, payload) {
|
|
@@ -7543,10 +7543,14 @@ const SnkApplication = class {
|
|
|
7543
7543
|
/**
|
|
7544
7544
|
* Mostra o conteúdo passado em um Popup
|
|
7545
7545
|
*/
|
|
7546
|
-
async showPopUp(content) {
|
|
7546
|
+
async showPopUp(content, size = "full") {
|
|
7547
7547
|
this.clearContent(this._popUp);
|
|
7548
|
+
if (content.tagName === 'EZ-MODAL-CONTAINER') {
|
|
7549
|
+
this._popUp.useHeader = false;
|
|
7550
|
+
}
|
|
7548
7551
|
this._popUp.appendChild(content);
|
|
7549
7552
|
this._popUp.opened = true;
|
|
7553
|
+
this._popUp.heightMode = size;
|
|
7550
7554
|
}
|
|
7551
7555
|
async showModal(content) {
|
|
7552
7556
|
this.clearContent(this._rightModal);
|
|
@@ -7563,6 +7567,8 @@ const SnkApplication = class {
|
|
|
7563
7567
|
async closePopUp() {
|
|
7564
7568
|
this.clearContent(this._popUp);
|
|
7565
7569
|
this._popUp.opened = false;
|
|
7570
|
+
this._popUp.useHeader = true;
|
|
7571
|
+
this._popUp.heightMode = "full";
|
|
7566
7572
|
}
|
|
7567
7573
|
/**
|
|
7568
7574
|
* Verifica se a licença do cliente tem determinado opcional (produto)
|
|
@@ -14,6 +14,12 @@ const SnkCrud = class {
|
|
|
14
14
|
index.registerInstance(this, hostRef);
|
|
15
15
|
this.actionClick = index.createEvent(this, "actionClick", 7);
|
|
16
16
|
}
|
|
17
|
+
/**
|
|
18
|
+
* Usado para alternar a visão entre GRID e FORM externamente.
|
|
19
|
+
*/
|
|
20
|
+
async goToView(mode) {
|
|
21
|
+
this.executeAction(mode);
|
|
22
|
+
}
|
|
17
23
|
async gridToForm(keepFormMode = false) {
|
|
18
24
|
this._backToGrid = !keepFormMode && await this._viewStack.getSelectedIndex() === GRID_MODE;
|
|
19
25
|
this._viewStack.show(FORM_MODE);
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-6fcf07f3.js');
|
|
6
6
|
const core = require('@sankhyalabs/core');
|
|
7
7
|
const utils = require('@sankhyalabs/ezui/dist/collection/utils');
|
|
8
|
-
const SnkMessageBuilder = require('./SnkMessageBuilder-
|
|
8
|
+
const SnkMessageBuilder = require('./SnkMessageBuilder-b54dfb89.js');
|
|
9
9
|
|
|
10
10
|
const snkDataUnitCss = ".sc-snk-data-unit-h{display:flex;flex-direction:column;height:100%}";
|
|
11
11
|
|
|
@@ -469,21 +469,10 @@ const SnkFilterItem = class {
|
|
|
469
469
|
constructor(hostRef) {
|
|
470
470
|
index.registerInstance(this, hostRef);
|
|
471
471
|
this.filterChange = index.createEvent(this, "filterChange", 7);
|
|
472
|
-
this.innerClickCheck = (
|
|
473
|
-
if (
|
|
472
|
+
this.innerClickCheck = (_floatingContainer, node) => {
|
|
473
|
+
if (node.id != core.FloatingManager.MODAL_ELEMENT_ID) {
|
|
474
474
|
return true;
|
|
475
475
|
}
|
|
476
|
-
if (node && floatingContainer) {
|
|
477
|
-
if (!node.offsetParent) {
|
|
478
|
-
return true;
|
|
479
|
-
}
|
|
480
|
-
let current = node;
|
|
481
|
-
do {
|
|
482
|
-
if (current === floatingContainer) {
|
|
483
|
-
return true;
|
|
484
|
-
}
|
|
485
|
-
} while ((current = current.offsetParent) != null);
|
|
486
|
-
}
|
|
487
476
|
this.detailIsVisible = false;
|
|
488
477
|
this.executeCloseCallback();
|
|
489
478
|
return false;
|
|
@@ -501,7 +490,7 @@ const SnkFilterItem = class {
|
|
|
501
490
|
});
|
|
502
491
|
}
|
|
503
492
|
showDetail() {
|
|
504
|
-
this._floatingID = core.FloatingManager.float(this._popover, this._popoverContainer, { autoClose: true, innerClickTest: this.innerClickCheck, left: this.getScrollOffset() });
|
|
493
|
+
this._floatingID = core.FloatingManager.float(this._popover, this._popoverContainer, { autoClose: true, innerClickTest: this.innerClickCheck, left: this.getScrollOffset(), useOverlay: true });
|
|
505
494
|
this.detailIsVisible = true;
|
|
506
495
|
}
|
|
507
496
|
getScrollOffset() {
|
|
@@ -639,24 +628,16 @@ const SnkFilterList = class {
|
|
|
639
628
|
constructor(hostRef) {
|
|
640
629
|
index.registerInstance(this, hostRef);
|
|
641
630
|
this.snkItemSelected = index.createEvent(this, "snkItemSelected", 7);
|
|
642
|
-
this.innerClickCheck = (
|
|
643
|
-
if (node
|
|
644
|
-
|
|
645
|
-
return true;
|
|
646
|
-
}
|
|
647
|
-
let current = node;
|
|
648
|
-
do {
|
|
649
|
-
if (current === floatingContainer || current === this._element) {
|
|
650
|
-
return true;
|
|
651
|
-
}
|
|
652
|
-
} while ((current = current.offsetParent) != null);
|
|
631
|
+
this.innerClickCheck = (_floatingContainer, node) => {
|
|
632
|
+
if (node.id != core.FloatingManager.MODAL_ELEMENT_ID) {
|
|
633
|
+
return true;
|
|
653
634
|
}
|
|
654
635
|
this._detailIsVisible = false;
|
|
655
636
|
return false;
|
|
656
637
|
};
|
|
657
638
|
}
|
|
658
639
|
showList() {
|
|
659
|
-
this._floatingID = core.FloatingManager.float(this._popover, this._popoverContainer, { autoClose: true, innerClickTest: this.innerClickCheck });
|
|
640
|
+
this._floatingID = core.FloatingManager.float(this._popover, this._popoverContainer, { autoClose: true, innerClickTest: this.innerClickCheck, useOverlay: true });
|
|
660
641
|
this._detailIsVisible = true;
|
|
661
642
|
this._showAll = false;
|
|
662
643
|
this._filterArgument = "";
|
|
@@ -45,39 +45,50 @@ const SnkFilterDetail = class {
|
|
|
45
45
|
}
|
|
46
46
|
apply() {
|
|
47
47
|
var _a;
|
|
48
|
+
let value = this._editor["value"];
|
|
48
49
|
let isValid = true;
|
|
49
|
-
|
|
50
|
-
/* WARNING: Temporário. Isso só está sendo feito até desconsiderar os parametros não informados para PersonalizedFilter*/
|
|
51
|
-
if (value != undefined && this.config.type === filterItemType_enum.FilterItemType.PERSONALIZED) {
|
|
50
|
+
if (this.config.type === filterItemType_enum.FilterItemType.PERSONALIZED) {
|
|
52
51
|
const params = ((_a = this.config.props.personalizedFilter) === null || _a === void 0 ? void 0 : _a.parameters) || [];
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
else {
|
|
58
|
-
value.forEach(item => {
|
|
59
|
-
if (item == undefined) {
|
|
60
|
-
isValid = false;
|
|
61
|
-
}
|
|
62
|
-
});
|
|
63
|
-
}
|
|
52
|
+
const paramsCount = params.length;
|
|
53
|
+
if (paramsCount === 0) {
|
|
54
|
+
//Valor do filtro personalizado sem parametros deve ser um array vazio
|
|
55
|
+
value = [];
|
|
64
56
|
}
|
|
65
|
-
|
|
66
|
-
this.
|
|
67
|
-
utils.ApplicationUtils.alert("Filtro parcialmente preenchido", "Favor completar todas as informações do filtro.").then(() => setTimeout(() => this.keepOpened = false, 1));
|
|
57
|
+
else {
|
|
58
|
+
isValid = this.validateAllFilled(paramsCount, value);
|
|
68
59
|
}
|
|
69
60
|
}
|
|
70
|
-
/* WARNING: Temporário.*/
|
|
71
61
|
if (isValid) {
|
|
72
62
|
this.changeConfig(Object.assign(Object.assign({}, this.config), { value: value }));
|
|
73
63
|
}
|
|
74
64
|
}
|
|
65
|
+
/* WARNING: Temporário. Isso só está sendo feito até desconsiderar os parametros não informados para PersonalizedFilter*/
|
|
66
|
+
validateAllFilled(paramsCount, value) {
|
|
67
|
+
let isValid = true;
|
|
68
|
+
if (value != undefined && paramsCount > 1) {
|
|
69
|
+
if (paramsCount > value.length) {
|
|
70
|
+
isValid = false;
|
|
71
|
+
}
|
|
72
|
+
else {
|
|
73
|
+
value.forEach(item => {
|
|
74
|
+
if (item == undefined) {
|
|
75
|
+
isValid = false;
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
if (!isValid) {
|
|
81
|
+
utils.ApplicationUtils.alert("Filtro parcialmente preenchido", "Favor completar todas as informações do filtro.");
|
|
82
|
+
}
|
|
83
|
+
return isValid;
|
|
84
|
+
}
|
|
85
|
+
/* WARNING: Temporário.*/
|
|
75
86
|
clear() {
|
|
76
87
|
this.changeConfig(Object.assign(Object.assign({}, this.config), { value: undefined }));
|
|
77
88
|
}
|
|
78
89
|
render() {
|
|
79
90
|
const ContentEditor = this.getContentEditor();
|
|
80
|
-
return (index.h(index.Host, null, index.h("div", { class: "col ez-col--sd-12 ez-align--right ez-padding-medium ez-flex--align-items-center" }, index.h("div", { class: "ez-text ez-title ez-title--small ez-padding--small sc-snk-filter-bar snk-filter-item__editor-header" }, this.config.detailTitle), this.getPopUpHeaderButtons()), index.h(ContentEditor, { ref: ref => this._editor = ref, value: this.config.value, config: this.config
|
|
91
|
+
return (index.h(index.Host, null, index.h("div", { class: "col ez-col--sd-12 ez-align--right ez-padding-medium ez-flex--align-items-center" }, index.h("div", { class: "ez-text ez-title ez-title--small ez-padding--small sc-snk-filter-bar snk-filter-item__editor-header" }, this.config.detailTitle), this.getPopUpHeaderButtons()), index.h(ContentEditor, { ref: ref => this._editor = ref, value: this.config.value, config: this.config }), index.h("hr", { class: "sc-snk-filter-bar snk-filter__popover-rule" }), index.h("div", { class: "ez-col ez-col--sd-12 ez-align--right" }, index.h("ez-button", { label: this.getMessage("snkFilterBar.cleanFilter"), onClick: () => this.clear(), size: "small" }), index.h("ez-button", { label: this.getMessage("snkFilterBar.applyFilter"), onClick: () => this.apply(), size: "small", class: "ez-button--primary ez-padding-left--medium" }))));
|
|
81
92
|
}
|
|
82
93
|
};
|
|
83
94
|
|
|
@@ -35,21 +35,12 @@ const SnkFilterPersonalized = class {
|
|
|
35
35
|
}
|
|
36
36
|
doSearch(mode, argument, param) {
|
|
37
37
|
const application = core.ApplicationContext.getContextValue("__SNK__APPLICATION__");
|
|
38
|
-
if (this.fix) {
|
|
39
|
-
this.fix();
|
|
40
|
-
}
|
|
41
38
|
return new Promise((resolve, reject) => {
|
|
42
39
|
application.executePreparedSearch(mode, argument, param.searchContext)
|
|
43
40
|
.then(result => {
|
|
44
41
|
resolve(result);
|
|
45
|
-
if (this.unfix) {
|
|
46
|
-
this.unfix();
|
|
47
|
-
}
|
|
48
42
|
}).catch(reason => {
|
|
49
43
|
reject(reason);
|
|
50
|
-
if (this.unfix) {
|
|
51
|
-
this.unfix();
|
|
52
|
-
}
|
|
53
44
|
});
|
|
54
45
|
});
|
|
55
46
|
}
|
|
@@ -15,21 +15,12 @@ const SnkFilterSearch = class {
|
|
|
15
15
|
}
|
|
16
16
|
doSearch(mode, argument) {
|
|
17
17
|
const application = core.ApplicationContext.getContextValue("__SNK__APPLICATION__");
|
|
18
|
-
if (this.fix) {
|
|
19
|
-
this.fix();
|
|
20
|
-
}
|
|
21
18
|
return new Promise((resolve, reject) => {
|
|
22
19
|
application.executePreparedSearch(mode, argument, this.config.props.searchContext)
|
|
23
20
|
.then(result => {
|
|
24
21
|
resolve(result);
|
|
25
|
-
if (this.unfix) {
|
|
26
|
-
this.unfix();
|
|
27
|
-
}
|
|
28
22
|
}).catch(reason => {
|
|
29
23
|
reject(reason);
|
|
30
|
-
if (this.unfix) {
|
|
31
|
-
this.unfix();
|
|
32
|
-
}
|
|
33
24
|
});
|
|
34
25
|
});
|
|
35
26
|
}
|
|
@@ -142,10 +142,14 @@ export class SnkApplication {
|
|
|
142
142
|
/**
|
|
143
143
|
* Mostra o conteúdo passado em um Popup
|
|
144
144
|
*/
|
|
145
|
-
async showPopUp(content) {
|
|
145
|
+
async showPopUp(content, size = "full") {
|
|
146
146
|
this.clearContent(this._popUp);
|
|
147
|
+
if (content.tagName === 'EZ-MODAL-CONTAINER') {
|
|
148
|
+
this._popUp.useHeader = false;
|
|
149
|
+
}
|
|
147
150
|
this._popUp.appendChild(content);
|
|
148
151
|
this._popUp.opened = true;
|
|
152
|
+
this._popUp.heightMode = size;
|
|
149
153
|
}
|
|
150
154
|
async showModal(content) {
|
|
151
155
|
this.clearContent(this._rightModal);
|
|
@@ -162,6 +166,8 @@ export class SnkApplication {
|
|
|
162
166
|
async closePopUp() {
|
|
163
167
|
this.clearContent(this._popUp);
|
|
164
168
|
this._popUp.opened = false;
|
|
169
|
+
this._popUp.useHeader = true;
|
|
170
|
+
this._popUp.heightMode = "full";
|
|
165
171
|
}
|
|
166
172
|
/**
|
|
167
173
|
* Verifica se a licença do cliente tem determinado opcional (produto)
|
|
@@ -795,10 +801,13 @@ export class SnkApplication {
|
|
|
795
801
|
},
|
|
796
802
|
"showPopUp": {
|
|
797
803
|
"complexType": {
|
|
798
|
-
"signature": "(content: HTMLElement) => Promise<void>",
|
|
804
|
+
"signature": "(content: HTMLElement, size?: string) => Promise<void>",
|
|
799
805
|
"parameters": [{
|
|
800
806
|
"tags": [],
|
|
801
807
|
"text": ""
|
|
808
|
+
}, {
|
|
809
|
+
"tags": [],
|
|
810
|
+
"text": ""
|
|
802
811
|
}],
|
|
803
812
|
"references": {
|
|
804
813
|
"Promise": {
|
|
@@ -8,6 +8,12 @@ const FORM_MODE = 1;
|
|
|
8
8
|
* Para conhecer os detalhes do módulo, vide os arquivos neste projeto "/src/lib/message/resources/*.msg.ts"
|
|
9
9
|
*/
|
|
10
10
|
export class SnkCrud {
|
|
11
|
+
/**
|
|
12
|
+
* Usado para alternar a visão entre GRID e FORM externamente.
|
|
13
|
+
*/
|
|
14
|
+
async goToView(mode) {
|
|
15
|
+
this.executeAction(mode);
|
|
16
|
+
}
|
|
11
17
|
async gridToForm(keepFormMode = false) {
|
|
12
18
|
this._backToGrid = !keepFormMode && await this._viewStack.getSelectedIndex() === GRID_MODE;
|
|
13
19
|
this._viewStack.show(FORM_MODE);
|
|
@@ -197,5 +203,28 @@ export class SnkCrud {
|
|
|
197
203
|
}
|
|
198
204
|
}];
|
|
199
205
|
}
|
|
206
|
+
static get methods() {
|
|
207
|
+
return {
|
|
208
|
+
"goToView": {
|
|
209
|
+
"complexType": {
|
|
210
|
+
"signature": "(mode: string) => Promise<void>",
|
|
211
|
+
"parameters": [{
|
|
212
|
+
"tags": [],
|
|
213
|
+
"text": ""
|
|
214
|
+
}],
|
|
215
|
+
"references": {
|
|
216
|
+
"Promise": {
|
|
217
|
+
"location": "global"
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
"return": "Promise<void>"
|
|
221
|
+
},
|
|
222
|
+
"docs": {
|
|
223
|
+
"text": "Usado para alternar a vis\u00E3o entre GRID e FORM externamente.",
|
|
224
|
+
"tags": []
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
};
|
|
228
|
+
}
|
|
200
229
|
static get elementRef() { return "_element"; }
|
|
201
230
|
}
|
package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-personalized.js
CHANGED
|
@@ -27,21 +27,12 @@ export class SnkFilterPersonalized {
|
|
|
27
27
|
}
|
|
28
28
|
doSearch(mode, argument, param) {
|
|
29
29
|
const application = ApplicationContext.getContextValue("__SNK__APPLICATION__");
|
|
30
|
-
if (this.fix) {
|
|
31
|
-
this.fix();
|
|
32
|
-
}
|
|
33
30
|
return new Promise((resolve, reject) => {
|
|
34
31
|
application.executePreparedSearch(mode, argument, param.searchContext)
|
|
35
32
|
.then(result => {
|
|
36
33
|
resolve(result);
|
|
37
|
-
if (this.unfix) {
|
|
38
|
-
this.unfix();
|
|
39
|
-
}
|
|
40
34
|
}).catch(reason => {
|
|
41
35
|
reject(reason);
|
|
42
|
-
if (this.unfix) {
|
|
43
|
-
this.unfix();
|
|
44
|
-
}
|
|
45
36
|
});
|
|
46
37
|
});
|
|
47
38
|
}
|
|
@@ -125,36 +116,6 @@ export class SnkFilterPersonalized {
|
|
|
125
116
|
"tags": [],
|
|
126
117
|
"text": ""
|
|
127
118
|
}
|
|
128
|
-
},
|
|
129
|
-
"fix": {
|
|
130
|
-
"type": "unknown",
|
|
131
|
-
"mutable": false,
|
|
132
|
-
"complexType": {
|
|
133
|
-
"original": "()=>void",
|
|
134
|
-
"resolved": "() => void",
|
|
135
|
-
"references": {}
|
|
136
|
-
},
|
|
137
|
-
"required": false,
|
|
138
|
-
"optional": false,
|
|
139
|
-
"docs": {
|
|
140
|
-
"tags": [],
|
|
141
|
-
"text": ""
|
|
142
|
-
}
|
|
143
|
-
},
|
|
144
|
-
"unfix": {
|
|
145
|
-
"type": "unknown",
|
|
146
|
-
"mutable": false,
|
|
147
|
-
"complexType": {
|
|
148
|
-
"original": "()=>void",
|
|
149
|
-
"resolved": "() => void",
|
|
150
|
-
"references": {}
|
|
151
|
-
},
|
|
152
|
-
"required": false,
|
|
153
|
-
"optional": false,
|
|
154
|
-
"docs": {
|
|
155
|
-
"tags": [],
|
|
156
|
-
"text": ""
|
|
157
|
-
}
|
|
158
119
|
}
|
|
159
120
|
};
|
|
160
121
|
}
|
|
@@ -7,21 +7,12 @@ export class SnkFilterSearch {
|
|
|
7
7
|
}
|
|
8
8
|
doSearch(mode, argument) {
|
|
9
9
|
const application = ApplicationContext.getContextValue("__SNK__APPLICATION__");
|
|
10
|
-
if (this.fix) {
|
|
11
|
-
this.fix();
|
|
12
|
-
}
|
|
13
10
|
return new Promise((resolve, reject) => {
|
|
14
11
|
application.executePreparedSearch(mode, argument, this.config.props.searchContext)
|
|
15
12
|
.then(result => {
|
|
16
13
|
resolve(result);
|
|
17
|
-
if (this.unfix) {
|
|
18
|
-
this.unfix();
|
|
19
|
-
}
|
|
20
14
|
}).catch(reason => {
|
|
21
15
|
reject(reason);
|
|
22
|
-
if (this.unfix) {
|
|
23
|
-
this.unfix();
|
|
24
|
-
}
|
|
25
16
|
});
|
|
26
17
|
});
|
|
27
18
|
}
|
|
@@ -73,36 +64,6 @@ export class SnkFilterSearch {
|
|
|
73
64
|
"tags": [],
|
|
74
65
|
"text": ""
|
|
75
66
|
}
|
|
76
|
-
},
|
|
77
|
-
"fix": {
|
|
78
|
-
"type": "unknown",
|
|
79
|
-
"mutable": false,
|
|
80
|
-
"complexType": {
|
|
81
|
-
"original": "()=>void",
|
|
82
|
-
"resolved": "() => void",
|
|
83
|
-
"references": {}
|
|
84
|
-
},
|
|
85
|
-
"required": false,
|
|
86
|
-
"optional": false,
|
|
87
|
-
"docs": {
|
|
88
|
-
"tags": [],
|
|
89
|
-
"text": ""
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
|
-
"unfix": {
|
|
93
|
-
"type": "unknown",
|
|
94
|
-
"mutable": false,
|
|
95
|
-
"complexType": {
|
|
96
|
-
"original": "()=>void",
|
|
97
|
-
"resolved": "() => void",
|
|
98
|
-
"references": {}
|
|
99
|
-
},
|
|
100
|
-
"required": false,
|
|
101
|
-
"optional": false,
|
|
102
|
-
"docs": {
|
|
103
|
-
"tags": [],
|
|
104
|
-
"text": ""
|
|
105
|
-
}
|
|
106
67
|
}
|
|
107
68
|
};
|
|
108
69
|
}
|
|
@@ -36,39 +36,50 @@ export class SnkFilterDetail {
|
|
|
36
36
|
}
|
|
37
37
|
apply() {
|
|
38
38
|
var _a;
|
|
39
|
+
let value = this._editor["value"];
|
|
39
40
|
let isValid = true;
|
|
40
|
-
|
|
41
|
-
/* WARNING: Temporário. Isso só está sendo feito até desconsiderar os parametros não informados para PersonalizedFilter*/
|
|
42
|
-
if (value != undefined && this.config.type === FilterItemType.PERSONALIZED) {
|
|
41
|
+
if (this.config.type === FilterItemType.PERSONALIZED) {
|
|
43
42
|
const params = ((_a = this.config.props.personalizedFilter) === null || _a === void 0 ? void 0 : _a.parameters) || [];
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
else {
|
|
49
|
-
value.forEach(item => {
|
|
50
|
-
if (item == undefined) {
|
|
51
|
-
isValid = false;
|
|
52
|
-
}
|
|
53
|
-
});
|
|
54
|
-
}
|
|
43
|
+
const paramsCount = params.length;
|
|
44
|
+
if (paramsCount === 0) {
|
|
45
|
+
//Valor do filtro personalizado sem parametros deve ser um array vazio
|
|
46
|
+
value = [];
|
|
55
47
|
}
|
|
56
|
-
|
|
57
|
-
this.
|
|
58
|
-
ApplicationUtils.alert("Filtro parcialmente preenchido", "Favor completar todas as informações do filtro.").then(() => setTimeout(() => this.keepOpened = false, 1));
|
|
48
|
+
else {
|
|
49
|
+
isValid = this.validateAllFilled(paramsCount, value);
|
|
59
50
|
}
|
|
60
51
|
}
|
|
61
|
-
/* WARNING: Temporário.*/
|
|
62
52
|
if (isValid) {
|
|
63
53
|
this.changeConfig(Object.assign(Object.assign({}, this.config), { value: value }));
|
|
64
54
|
}
|
|
65
55
|
}
|
|
56
|
+
/* WARNING: Temporário. Isso só está sendo feito até desconsiderar os parametros não informados para PersonalizedFilter*/
|
|
57
|
+
validateAllFilled(paramsCount, value) {
|
|
58
|
+
let isValid = true;
|
|
59
|
+
if (value != undefined && paramsCount > 1) {
|
|
60
|
+
if (paramsCount > value.length) {
|
|
61
|
+
isValid = false;
|
|
62
|
+
}
|
|
63
|
+
else {
|
|
64
|
+
value.forEach(item => {
|
|
65
|
+
if (item == undefined) {
|
|
66
|
+
isValid = false;
|
|
67
|
+
}
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
if (!isValid) {
|
|
72
|
+
ApplicationUtils.alert("Filtro parcialmente preenchido", "Favor completar todas as informações do filtro.");
|
|
73
|
+
}
|
|
74
|
+
return isValid;
|
|
75
|
+
}
|
|
76
|
+
/* WARNING: Temporário.*/
|
|
66
77
|
clear() {
|
|
67
78
|
this.changeConfig(Object.assign(Object.assign({}, this.config), { value: undefined }));
|
|
68
79
|
}
|
|
69
80
|
render() {
|
|
70
81
|
const ContentEditor = this.getContentEditor();
|
|
71
|
-
return (h(Host, null, h("div", { class: "col ez-col--sd-12 ez-align--right ez-padding-medium ez-flex--align-items-center" }, h("div", { class: "ez-text ez-title ez-title--small ez-padding--small sc-snk-filter-bar snk-filter-item__editor-header" }, this.config.detailTitle), this.getPopUpHeaderButtons()), h(ContentEditor, { ref: ref => this._editor = ref, value: this.config.value, config: this.config
|
|
82
|
+
return (h(Host, null, h("div", { class: "col ez-col--sd-12 ez-align--right ez-padding-medium ez-flex--align-items-center" }, h("div", { class: "ez-text ez-title ez-title--small ez-padding--small sc-snk-filter-bar snk-filter-item__editor-header" }, this.config.detailTitle), this.getPopUpHeaderButtons()), h(ContentEditor, { ref: ref => this._editor = ref, value: this.config.value, config: this.config }), h("hr", { class: "sc-snk-filter-bar snk-filter__popover-rule" }), h("div", { class: "ez-col ez-col--sd-12 ez-align--right" }, h("ez-button", { label: this.getMessage("snkFilterBar.cleanFilter"), onClick: () => this.clear(), size: "small" }), h("ez-button", { label: this.getMessage("snkFilterBar.applyFilter"), onClick: () => this.apply(), size: "small", class: "ez-button--primary ez-padding-left--medium" }))));
|
|
72
83
|
}
|
|
73
84
|
static get is() { return "snk-filter-detail"; }
|
|
74
85
|
static get properties() {
|
|
@@ -93,23 +104,6 @@ export class SnkFilterDetail {
|
|
|
93
104
|
"text": ""
|
|
94
105
|
}
|
|
95
106
|
},
|
|
96
|
-
"keepOpened": {
|
|
97
|
-
"type": "boolean",
|
|
98
|
-
"mutable": true,
|
|
99
|
-
"complexType": {
|
|
100
|
-
"original": "boolean",
|
|
101
|
-
"resolved": "boolean",
|
|
102
|
-
"references": {}
|
|
103
|
-
},
|
|
104
|
-
"required": false,
|
|
105
|
-
"optional": false,
|
|
106
|
-
"docs": {
|
|
107
|
-
"tags": [],
|
|
108
|
-
"text": ""
|
|
109
|
-
},
|
|
110
|
-
"attribute": "keep-opened",
|
|
111
|
-
"reflect": false
|
|
112
|
-
},
|
|
113
107
|
"getMessage": {
|
|
114
108
|
"type": "unknown",
|
|
115
109
|
"mutable": false,
|