@sankhyalabs/sankhyablocks 7.1.1 → 7.2.0
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/{ConfigStorage-c31ad5d9.js → ConfigStorage-e044fff2.js} +4 -4
- package/dist/cjs/{DataFetcher-04c70ba9.js → DataFetcher-62b9b2c8.js} +16 -2
- package/dist/cjs/{PersonalizedFilterUtils-9848e09b.js → PersonalizedFilterUtils-1aeb625d.js} +1 -1
- package/dist/cjs/{SnkFormConfigManager-ed4e2bcd.js → SnkFormConfigManager-5d4b4765.js} +2 -2
- package/dist/cjs/{SnkMessageBuilder-f40df6d4.js → SnkMessageBuilder-d0abb63d.js} +3 -0
- package/dist/cjs/{dataunit-fetcher-9eb08230.js → dataunit-fetcher-ecb8699c.js} +1 -1
- package/dist/cjs/{filter-bar-config-fetcher-47cd77d6.js → filter-bar-config-fetcher-71119171.js} +1 -1
- package/dist/cjs/{form-config-fetcher-56442594.js → form-config-fetcher-2b32c782.js} +2 -2
- package/dist/cjs/{pesquisa-fetcher-cab451b6.js → pesquisa-fetcher-ee74ae40.js} +1 -1
- package/dist/cjs/{resource-fetcher-260e98a4.js → resource-fetcher-18c2d5ad.js} +1 -1
- package/dist/cjs/snk-actions-button.cjs.entry.js +2 -2
- package/dist/cjs/snk-application.cjs.entry.js +8 -8
- package/dist/cjs/snk-attach.cjs.entry.js +2 -2
- package/dist/cjs/snk-crud.cjs.entry.js +2 -2
- package/dist/cjs/snk-data-exporter.cjs.entry.js +3 -3
- package/dist/cjs/{snk-data-unit-b14563fc.js → snk-data-unit-d38cdf04.js} +1 -1
- package/dist/cjs/snk-data-unit.cjs.entry.js +2 -2
- package/dist/cjs/snk-detail-view.cjs.entry.js +9 -9
- package/dist/cjs/snk-filter-advanced-mode_2.cjs.entry.js +3 -9
- package/dist/cjs/snk-filter-bar.cjs.entry.js +7 -7
- package/dist/cjs/snk-filter-detail.cjs.entry.js +4 -4
- package/dist/cjs/snk-filter-field-search_2.cjs.entry.js +1 -1
- package/dist/cjs/snk-filter-modal-item.cjs.entry.js +5 -5
- package/dist/cjs/snk-filter-modal.cjs.entry.js +1 -1
- package/dist/cjs/snk-form-config.cjs.entry.js +3 -3
- package/dist/cjs/snk-form.cjs.entry.js +6 -6
- package/dist/cjs/snk-grid-config.cjs.entry.js +5 -5
- package/dist/cjs/snk-grid.cjs.entry.js +5 -5
- package/dist/cjs/{snk-guides-viewer-3d064ee1.js → snk-guides-viewer-263de371.js} +3 -3
- package/dist/cjs/snk-guides-viewer.cjs.entry.js +8 -8
- package/dist/cjs/snk-personalized-filter.cjs.entry.js +13 -10
- package/dist/cjs/snk-print-selector.cjs.entry.js +1 -1
- package/dist/cjs/snk-simple-crud.cjs.entry.js +2 -2
- package/dist/collection/components/snk-filter-bar/snk-filter-bar.css +1 -1
- package/dist/collection/components/snk-personalized-filter/snk-personalized-filter.js +7 -4
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-advanced-mode/snk-filter-advanced-mode.js +1 -8
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-param-config/utils/PersonalizedFilterUtils.js +1 -1
- package/dist/collection/lib/http/data-fetcher/DataFetcher.js +16 -2
- package/dist/collection/lib/message/resources/snk-personalized-filter.msg.js +3 -0
- package/dist/components/DataFetcher.js +16 -2
- package/dist/components/PersonalizedFilterUtils.js +1 -1
- package/dist/components/SnkMessageBuilder.js +3 -0
- package/dist/components/snk-filter-advanced-mode2.js +1 -8
- package/dist/components/snk-filter-bar2.js +1 -1
- package/dist/components/snk-personalized-filter2.js +7 -4
- package/dist/esm/{ConfigStorage-ed0b8f12.js → ConfigStorage-6ec80135.js} +4 -4
- package/dist/esm/{DataFetcher-fddeb917.js → DataFetcher-f7cf7302.js} +16 -2
- package/dist/esm/{PersonalizedFilterUtils-731cae01.js → PersonalizedFilterUtils-75fb0106.js} +1 -1
- package/dist/esm/{SnkFormConfigManager-f069d10c.js → SnkFormConfigManager-b8091dec.js} +2 -2
- package/dist/esm/{SnkMessageBuilder-5be56185.js → SnkMessageBuilder-68c1c25a.js} +3 -0
- package/dist/esm/{dataunit-fetcher-a151bf6c.js → dataunit-fetcher-8f6f28a7.js} +1 -1
- package/dist/esm/{filter-bar-config-fetcher-abfc2aef.js → filter-bar-config-fetcher-efd7ab4e.js} +1 -1
- package/dist/esm/{form-config-fetcher-533b895e.js → form-config-fetcher-a5b23cd9.js} +2 -2
- package/dist/esm/{pesquisa-fetcher-4a702655.js → pesquisa-fetcher-f06f4883.js} +1 -1
- package/dist/esm/{resource-fetcher-0f20a072.js → resource-fetcher-92640c2f.js} +1 -1
- package/dist/esm/snk-actions-button.entry.js +2 -2
- package/dist/esm/snk-application.entry.js +8 -8
- package/dist/esm/snk-attach.entry.js +2 -2
- package/dist/esm/snk-crud.entry.js +2 -2
- package/dist/esm/snk-data-exporter.entry.js +3 -3
- package/dist/esm/{snk-data-unit-d44b6bc0.js → snk-data-unit-5c3c036a.js} +1 -1
- package/dist/esm/snk-data-unit.entry.js +2 -2
- package/dist/esm/snk-detail-view.entry.js +9 -9
- package/dist/esm/snk-filter-advanced-mode_2.entry.js +3 -9
- package/dist/esm/snk-filter-bar.entry.js +7 -7
- package/dist/esm/snk-filter-detail.entry.js +4 -4
- package/dist/esm/snk-filter-field-search_2.entry.js +1 -1
- package/dist/esm/snk-filter-modal-item.entry.js +5 -5
- package/dist/esm/snk-filter-modal.entry.js +1 -1
- package/dist/esm/snk-form-config.entry.js +3 -3
- package/dist/esm/snk-form.entry.js +6 -6
- package/dist/esm/snk-grid-config.entry.js +5 -5
- package/dist/esm/snk-grid.entry.js +5 -5
- package/dist/esm/{snk-guides-viewer-fb5796c8.js → snk-guides-viewer-a6743bd9.js} +3 -3
- package/dist/esm/snk-guides-viewer.entry.js +8 -8
- package/dist/esm/snk-personalized-filter.entry.js +13 -10
- package/dist/esm/snk-print-selector.entry.js +1 -1
- package/dist/esm/snk-simple-crud.entry.js +2 -2
- package/dist/sankhyablocks/{p-bd86c9d3.entry.js → p-0885ed3c.entry.js} +1 -1
- package/dist/sankhyablocks/{p-7e486ac9.js → p-0a7fa08c.js} +1 -1
- package/dist/sankhyablocks/{p-de1bca5b.js → p-0d8f5882.js} +1 -1
- package/dist/sankhyablocks/{p-af8ed6d5.entry.js → p-0e8136f6.entry.js} +1 -1
- package/dist/sankhyablocks/{p-982107dc.js → p-10a1b3a6.js} +1 -1
- package/dist/sankhyablocks/p-25c5428f.entry.js +1 -0
- package/dist/sankhyablocks/{p-876eafea.entry.js → p-2a57f7e1.entry.js} +1 -1
- package/dist/sankhyablocks/{p-2ddf3e87.entry.js → p-3e8e3025.entry.js} +1 -1
- package/dist/sankhyablocks/{p-3e239e8b.entry.js → p-3ef191cf.entry.js} +1 -1
- package/dist/sankhyablocks/{p-146ec5b4.entry.js → p-424a673f.entry.js} +1 -1
- package/dist/sankhyablocks/{p-f034254e.js → p-49b24449.js} +1 -1
- package/dist/sankhyablocks/{p-47ffe828.entry.js → p-5438f093.entry.js} +1 -1
- package/dist/sankhyablocks/p-5807b3aa.entry.js +1 -0
- package/dist/sankhyablocks/{p-94fe0d6f.entry.js → p-5932777e.entry.js} +1 -1
- package/dist/sankhyablocks/p-5c1aacc7.js +1 -0
- package/dist/sankhyablocks/{p-ad6673fb.entry.js → p-5d04ae42.entry.js} +1 -1
- package/dist/sankhyablocks/{p-5bb31a72.js → p-610e2459.js} +1 -1
- package/dist/sankhyablocks/{p-6a93697d.entry.js → p-66f0d713.entry.js} +1 -1
- package/dist/sankhyablocks/{p-1005cf8e.entry.js → p-6b64dd4c.entry.js} +1 -1
- package/dist/sankhyablocks/p-75cfc68e.entry.js +1 -0
- package/dist/sankhyablocks/{p-c9bf8202.entry.js → p-829ebd26.entry.js} +1 -1
- package/dist/sankhyablocks/p-8a726c78.entry.js +1 -0
- package/dist/sankhyablocks/{p-4cfc9371.entry.js → p-97d7beaf.entry.js} +1 -1
- package/dist/sankhyablocks/{p-82800006.entry.js → p-a304b0f3.entry.js} +1 -1
- package/dist/sankhyablocks/{p-d97eb781.js → p-a54bdcc8.js} +1 -1
- package/dist/sankhyablocks/{p-90a926c7.js → p-ae6aff81.js} +1 -1
- package/dist/sankhyablocks/{p-bc19b890.entry.js → p-b8350ecf.entry.js} +1 -1
- package/dist/sankhyablocks/{p-a91f59d2.js → p-b857ca6a.js} +1 -1
- package/dist/sankhyablocks/{p-7f1d732d.js → p-bdcfbe10.js} +1 -1
- package/dist/sankhyablocks/{p-4f550a1a.js → p-cbc28ca6.js} +1 -1
- package/dist/sankhyablocks/{p-fcc487ea.entry.js → p-d1a5cb08.entry.js} +1 -1
- package/dist/sankhyablocks/{p-04daf3ab.entry.js → p-d48969d6.entry.js} +1 -1
- package/dist/sankhyablocks/{p-9a90464f.js → p-e7aefd06.js} +1 -1
- package/dist/sankhyablocks/sankhyablocks.esm.js +1 -1
- package/dist/types/components/snk-personalized-filter/subcomponents/snk-filter-advanced-mode/snk-filter-advanced-mode.d.ts +0 -1
- package/dist/types/lib/http/data-fetcher/DataFetcher.d.ts +8 -1
- package/package.json +1 -1
- package/dist/sankhyablocks/p-48156672.entry.js +0 -1
- package/dist/sankhyablocks/p-4bbc7aac.entry.js +0 -1
- package/dist/sankhyablocks/p-5098f618.js +0 -1
- package/dist/sankhyablocks/p-5779eea7.entry.js +0 -1
- package/dist/sankhyablocks/p-bad03b2a.entry.js +0 -1
@@ -4,17 +4,17 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
5
5
|
const index = require('./index-f9e81701.js');
|
6
6
|
const core = require('@sankhyalabs/core');
|
7
|
-
const PersonalizedFilterUtils = require('./PersonalizedFilterUtils-
|
8
|
-
const ConfigStorage = require('./ConfigStorage-
|
7
|
+
const PersonalizedFilterUtils = require('./PersonalizedFilterUtils-1aeb625d.js');
|
8
|
+
const ConfigStorage = require('./ConfigStorage-e044fff2.js');
|
9
9
|
const utils = require('@sankhyalabs/ezui/dist/collection/utils');
|
10
10
|
const index$1 = require('./index-c5771aba.js');
|
11
11
|
const index$2 = require('./index-102ba62d.js');
|
12
12
|
require('./filter-item-type.enum-aa823a00.js');
|
13
|
-
require('./form-config-fetcher-
|
14
|
-
require('./DataFetcher-
|
13
|
+
require('./form-config-fetcher-2b32c782.js');
|
14
|
+
require('./DataFetcher-62b9b2c8.js');
|
15
15
|
require('./_commonjsHelpers-537d719a.js');
|
16
|
-
require('./resource-fetcher-
|
17
|
-
require('./filter-bar-config-fetcher-
|
16
|
+
require('./resource-fetcher-18c2d5ad.js');
|
17
|
+
require('./filter-bar-config-fetcher-71119171.js');
|
18
18
|
|
19
19
|
const snkPersonalizedFilterCss = ".sc-snk-personalized-filter-h{display:flex;height:100%;padding:var(--space--large, 24px);--snk-personalized-filter--width:100%;--snk-personalized-filter--height:100%;--snk-personalized-filter--background-color-line:var(--color--disable-secondary);--snk-personalized-filter--margin-line:var(--border--radius-medium, 12px)}.snk-personalized-filter.sc-snk-personalized-filter{height:var(--snk-personalized-filter--width);width:var(--snk-personalized-filter--height)}.snk-personalized-filter__header-actions.sc-snk-personalized-filter{display:flex;gap:var(--space--medium)}.snk-personalized-filter__group.sc-snk-personalized-filter{flex:1}.snk-personalized-filter__expression-input--line.sc-snk-personalized-filter{width:100%;height:2px;background-color:var(--snk-personalized-filter--background-color-line);margin-top:var(--snk-personalized-filter--margin-line);margin-bottom:var(--snk-personalized-filter--margin-line)}.ez-box__main.sc-snk-personalized-filter{height:90%}.snk-personalized-filter__button-mode.sc-snk-personalized-filter{height:35px}";
|
20
20
|
|
@@ -155,7 +155,7 @@ const SnkPersonalizedFilter = class {
|
|
155
155
|
this.saveFilter();
|
156
156
|
}
|
157
157
|
saveAdvancedMode() {
|
158
|
-
if (this._filterAssistent.assistent) {
|
158
|
+
if (this._originalFilterAssistent.expression !== this._filterAssistent.expression && this._filterAssistent.assistent) {
|
159
159
|
utils.ApplicationUtils.confirm(this.getMessage("snkPersonalizedFilter.confirmSaveModeAdvanced.title"), this.getMessage("snkPersonalizedFilter.confirmSaveModeAdvanced.description"))
|
160
160
|
.then((confirm) => {
|
161
161
|
if (!confirm)
|
@@ -163,9 +163,12 @@ const SnkPersonalizedFilter = class {
|
|
163
163
|
this.saveAndTransformToAdvancedMode();
|
164
164
|
});
|
165
165
|
}
|
166
|
-
else {
|
166
|
+
else if (!this._filterAssistent.assistent) {
|
167
167
|
this.saveAndTransformToAdvancedMode();
|
168
168
|
}
|
169
|
+
else {
|
170
|
+
this.saveAssistentMode();
|
171
|
+
}
|
169
172
|
}
|
170
173
|
saveAndTransformToAdvancedMode() {
|
171
174
|
this._filterAssistent.assistent = undefined;
|
@@ -173,8 +176,8 @@ const SnkPersonalizedFilter = class {
|
|
173
176
|
this.saveFilter();
|
174
177
|
}
|
175
178
|
async validateExpressionBeforeSaving() {
|
176
|
-
const { valid, message } = await this._personalizedFilterFetcher.validatePersonalizedFilter(this.entityUri, this._filterAssistent.expression);
|
177
|
-
valid || this._application.error(this.getMessage("snkPersonalizedFilter.
|
179
|
+
const { valid, message = "" } = await this._personalizedFilterFetcher.validatePersonalizedFilter(this.entityUri, this._filterAssistent.expression);
|
180
|
+
valid || this._application.error(this.getMessage("snkPersonalizedFilter.errorValidation.title"), message.replace(/.*Exception: /, ''));
|
178
181
|
return valid;
|
179
182
|
}
|
180
183
|
handleCancel() {
|
@@ -3,7 +3,7 @@
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
5
|
const index = require('./index-f9e81701.js');
|
6
|
-
const DataFetcher = require('./DataFetcher-
|
6
|
+
const DataFetcher = require('./DataFetcher-62b9b2c8.js');
|
7
7
|
const utils = require('@sankhyalabs/ezui/dist/collection/utils');
|
8
8
|
const core = require('@sankhyalabs/core');
|
9
9
|
const ModalButtonStatus = require('@sankhyalabs/ezui/dist/collection/components/ez-modal-container/modal-button-status');
|
@@ -6,8 +6,8 @@ const index = require('./index-f9e81701.js');
|
|
6
6
|
const core = require('@sankhyalabs/core');
|
7
7
|
const constants$1 = require('./constants-d187e03e.js');
|
8
8
|
const taskbarElements = require('./taskbar-elements-b98dd6e9.js');
|
9
|
-
require('./DataFetcher-
|
10
|
-
require('./pesquisa-fetcher-
|
9
|
+
require('./DataFetcher-62b9b2c8.js');
|
10
|
+
require('./pesquisa-fetcher-ee74ae40.js');
|
11
11
|
const index$1 = require('./index-0e663819.js');
|
12
12
|
const taskbarProcessor = require('./taskbar-processor-bce3f499.js');
|
13
13
|
const constants = require('@sankhyalabs/ezui/dist/collection/utils/constants');
|
@@ -3,7 +3,7 @@
|
|
3
3
|
grid-template-columns: minmax(100px, 100%) 1fr 1fr;
|
4
4
|
|
5
5
|
/*@doc Define o z-index do componente.*/
|
6
|
-
--snk-personalized-filter--z-index: var(--
|
6
|
+
--snk-personalized-filter--z-index: var(--most-visible, 3);
|
7
7
|
/*@doc Define a cor de fundo do componente.*/
|
8
8
|
--snk-personalized-filter--background-color: var(--background--xlight, #fff);
|
9
9
|
}
|
@@ -141,7 +141,7 @@ export class SnkPersonalizedFilter {
|
|
141
141
|
this.saveFilter();
|
142
142
|
}
|
143
143
|
saveAdvancedMode() {
|
144
|
-
if (this._filterAssistent.assistent) {
|
144
|
+
if (this._originalFilterAssistent.expression !== this._filterAssistent.expression && this._filterAssistent.assistent) {
|
145
145
|
ApplicationUtils.confirm(this.getMessage("snkPersonalizedFilter.confirmSaveModeAdvanced.title"), this.getMessage("snkPersonalizedFilter.confirmSaveModeAdvanced.description"))
|
146
146
|
.then((confirm) => {
|
147
147
|
if (!confirm)
|
@@ -149,9 +149,12 @@ export class SnkPersonalizedFilter {
|
|
149
149
|
this.saveAndTransformToAdvancedMode();
|
150
150
|
});
|
151
151
|
}
|
152
|
-
else {
|
152
|
+
else if (!this._filterAssistent.assistent) {
|
153
153
|
this.saveAndTransformToAdvancedMode();
|
154
154
|
}
|
155
|
+
else {
|
156
|
+
this.saveAssistentMode();
|
157
|
+
}
|
155
158
|
}
|
156
159
|
saveAndTransformToAdvancedMode() {
|
157
160
|
this._filterAssistent.assistent = undefined;
|
@@ -159,8 +162,8 @@ export class SnkPersonalizedFilter {
|
|
159
162
|
this.saveFilter();
|
160
163
|
}
|
161
164
|
async validateExpressionBeforeSaving() {
|
162
|
-
const { valid, message } = await this._personalizedFilterFetcher.validatePersonalizedFilter(this.entityUri, this._filterAssistent.expression);
|
163
|
-
valid || this._application.error(this.getMessage("snkPersonalizedFilter.
|
165
|
+
const { valid, message = "" } = await this._personalizedFilterFetcher.validatePersonalizedFilter(this.entityUri, this._filterAssistent.expression);
|
166
|
+
valid || this._application.error(this.getMessage("snkPersonalizedFilter.errorValidation.title"), message.replace(/.*Exception: /, ''));
|
164
167
|
return valid;
|
165
168
|
}
|
166
169
|
handleCancel() {
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { Host, h } from '@stencil/core';
|
2
|
-
import { StringUtils } from '@sankhyalabs/core';
|
3
2
|
export class SnkFilterAdvancedMode {
|
4
3
|
constructor() {
|
5
4
|
this.filterAssistent = undefined;
|
@@ -8,15 +7,9 @@ export class SnkFilterAdvancedMode {
|
|
8
7
|
getMessage(key, params) {
|
9
8
|
return this.application.messagesBuilder.getMessage(key, params);
|
10
9
|
}
|
11
|
-
getWarningMessageComponent() {
|
12
|
-
var _a;
|
13
|
-
if (StringUtils.isEmpty((_a = this.filterAssistent) === null || _a === void 0 ? void 0 : _a.warningMessage))
|
14
|
-
return undefined;
|
15
|
-
return (h("div", { class: "ez-flex" }, h("ez-alert", { alertType: "warn" }, this.filterAssistent.warningMessage)));
|
16
|
-
}
|
17
10
|
render() {
|
18
11
|
var _a;
|
19
|
-
return (h(Host, null, h("span", { class: "ez-title ez-title--small ez-padding-bottom--small snk-filter-advanced-mode__title" }, this.getMessage("snkPersonalizedFilter.info.applyExpression")), h("ez-text-area", { rows: 9, label: this.getMessage("snkPersonalizedFilter.info.labelExpression"), value: (_a = this.filterAssistent) === null || _a === void 0 ? void 0 : _a.expression, onEzChange: (evt) => this.ezExpressionChange.emit(evt.detail) })
|
12
|
+
return (h(Host, null, h("span", { class: "ez-title ez-title--small ez-padding-bottom--small snk-filter-advanced-mode__title" }, this.getMessage("snkPersonalizedFilter.info.applyExpression")), h("ez-text-area", { rows: 9, label: this.getMessage("snkPersonalizedFilter.info.labelExpression"), value: (_a = this.filterAssistent) === null || _a === void 0 ? void 0 : _a.expression, onEzChange: (evt) => this.ezExpressionChange.emit(evt.detail) })));
|
20
13
|
}
|
21
14
|
static get is() { return "snk-filter-advanced-mode"; }
|
22
15
|
static get encapsulation() { return "scoped"; }
|
@@ -39,7 +39,7 @@ export class PersonalizedFilterUtils {
|
|
39
39
|
if (expressionItem.operand) {
|
40
40
|
expression += ` ${FilterOperand[expressionItem.operand]}`;
|
41
41
|
}
|
42
|
-
if (value) {
|
42
|
+
if (['string', 'number'].includes(typeof value)) {
|
43
43
|
value = isNaN(value) ? `${commas}${value}${commas}` : value;
|
44
44
|
expression += ` ${value}`;
|
45
45
|
}
|
@@ -166,12 +166,13 @@ export class DataFetcher {
|
|
166
166
|
resourceID: (window["resourceID"] || ((_a = window["workspace"]) === null || _a === void 0 ? void 0 : _a.resourceID))
|
167
167
|
};
|
168
168
|
}
|
169
|
-
async callServiceBroker(serviceName, payload) {
|
169
|
+
async callServiceBroker(serviceName, payload, options) {
|
170
170
|
return new Promise((accept, reject) => {
|
171
171
|
const parts = serviceName.split("@");
|
172
172
|
const [module, name] = parts.length === 2 ? parts : ['mge', serviceName];
|
173
173
|
const ctx = this.getContext(module);
|
174
|
-
|
174
|
+
let url = `${ctx.baseUrl}?serviceName=${name}&counter=21&application=${ctx.appName}&outputType=json&preventTransform=false&mgeSession=${ctx.mgeSession}&resourceID=${ctx.resourceID}&globalID=${ctx.globalID}&allowConcurrentCalls=true`;
|
175
|
+
url = this.addUrlParams(options, url);
|
175
176
|
document.cookie = `JSESSIONID=${ctx.mgeSession};`;
|
176
177
|
const http = new XMLHttpRequest();
|
177
178
|
var payloadJson = {};
|
@@ -228,6 +229,19 @@ export class DataFetcher {
|
|
228
229
|
};
|
229
230
|
});
|
230
231
|
}
|
232
|
+
addUrlParams(options, url) {
|
233
|
+
const params = options === null || options === void 0 ? void 0 : options.urlParams;
|
234
|
+
if (!params || Object.keys(params).length === 0) {
|
235
|
+
return url;
|
236
|
+
}
|
237
|
+
url += '&';
|
238
|
+
for (const key in params) {
|
239
|
+
if (params.hasOwnProperty(key)) {
|
240
|
+
url += `${key}=${params[key]}`;
|
241
|
+
}
|
242
|
+
}
|
243
|
+
return url;
|
244
|
+
}
|
231
245
|
isServiceBrokerError(response) {
|
232
246
|
return !response.hasOwnProperty('status') ||
|
233
247
|
response.status == DataFetcher.SERVICE_BROKER_STATUS.ERROR ||
|
@@ -59,6 +59,9 @@ export const snkPersonalizedFilterMessages = {
|
|
59
59
|
title: "Atenção",
|
60
60
|
description: "Há pelo menos um campo obrigatório não preenchido."
|
61
61
|
},
|
62
|
+
errorValidation: {
|
63
|
+
title: "Erro na expressão"
|
64
|
+
},
|
62
65
|
confirmSave: {
|
63
66
|
title: "Filtro criado com sucesso!"
|
64
67
|
},
|
@@ -6825,12 +6825,13 @@ class DataFetcher {
|
|
6825
6825
|
resourceID: (window["resourceID"] || ((_a = window["workspace"]) === null || _a === void 0 ? void 0 : _a.resourceID))
|
6826
6826
|
};
|
6827
6827
|
}
|
6828
|
-
async callServiceBroker(serviceName, payload) {
|
6828
|
+
async callServiceBroker(serviceName, payload, options) {
|
6829
6829
|
return new Promise((accept, reject) => {
|
6830
6830
|
const parts = serviceName.split("@");
|
6831
6831
|
const [module, name] = parts.length === 2 ? parts : ['mge', serviceName];
|
6832
6832
|
const ctx = this.getContext(module);
|
6833
|
-
|
6833
|
+
let url = `${ctx.baseUrl}?serviceName=${name}&counter=21&application=${ctx.appName}&outputType=json&preventTransform=false&mgeSession=${ctx.mgeSession}&resourceID=${ctx.resourceID}&globalID=${ctx.globalID}&allowConcurrentCalls=true`;
|
6834
|
+
url = this.addUrlParams(options, url);
|
6834
6835
|
document.cookie = `JSESSIONID=${ctx.mgeSession};`;
|
6835
6836
|
const http = new XMLHttpRequest();
|
6836
6837
|
var payloadJson = {};
|
@@ -6887,6 +6888,19 @@ class DataFetcher {
|
|
6887
6888
|
};
|
6888
6889
|
});
|
6889
6890
|
}
|
6891
|
+
addUrlParams(options, url) {
|
6892
|
+
const params = options === null || options === void 0 ? void 0 : options.urlParams;
|
6893
|
+
if (!params || Object.keys(params).length === 0) {
|
6894
|
+
return url;
|
6895
|
+
}
|
6896
|
+
url += '&';
|
6897
|
+
for (const key in params) {
|
6898
|
+
if (params.hasOwnProperty(key)) {
|
6899
|
+
url += `${key}=${params[key]}`;
|
6900
|
+
}
|
6901
|
+
}
|
6902
|
+
return url;
|
6903
|
+
}
|
6890
6904
|
isServiceBrokerError(response) {
|
6891
6905
|
return !response.hasOwnProperty('status') ||
|
6892
6906
|
response.status == DataFetcher.SERVICE_BROKER_STATUS.ERROR ||
|
@@ -82,7 +82,7 @@ class PersonalizedFilterUtils {
|
|
82
82
|
if (expressionItem.operand) {
|
83
83
|
expression += ` ${FilterOperand[expressionItem.operand]}`;
|
84
84
|
}
|
85
|
-
if (value) {
|
85
|
+
if (['string', 'number'].includes(typeof value)) {
|
86
86
|
value = isNaN(value) ? `${commas}${value}${commas}` : value;
|
87
87
|
expression += ` ${value}`;
|
88
88
|
}
|
@@ -403,6 +403,9 @@ const snkPersonalizedFilterMessages = {
|
|
403
403
|
title: "Atenção",
|
404
404
|
description: "Há pelo menos um campo obrigatório não preenchido."
|
405
405
|
},
|
406
|
+
errorValidation: {
|
407
|
+
title: "Erro na expressão"
|
408
|
+
},
|
406
409
|
confirmSave: {
|
407
410
|
title: "Filtro criado com sucesso!"
|
408
411
|
},
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
2
|
-
import { StringUtils } from '@sankhyalabs/core';
|
3
2
|
|
4
3
|
const snkFilterAdvancedModeCss = ".sc-snk-filter-advanced-mode-h{display:block;--snk-personalized-filter--title--color:var(--title--primary, #2B3A54)}.snk-filter-advanced-mode__title.sc-snk-filter-advanced-mode{color:var(--snk-personalized-filter--title--color)}";
|
5
4
|
|
@@ -14,15 +13,9 @@ const SnkFilterAdvancedMode = /*@__PURE__*/ proxyCustomElement(class extends HTM
|
|
14
13
|
getMessage(key, params) {
|
15
14
|
return this.application.messagesBuilder.getMessage(key, params);
|
16
15
|
}
|
17
|
-
getWarningMessageComponent() {
|
18
|
-
var _a;
|
19
|
-
if (StringUtils.isEmpty((_a = this.filterAssistent) === null || _a === void 0 ? void 0 : _a.warningMessage))
|
20
|
-
return undefined;
|
21
|
-
return (h("div", { class: "ez-flex" }, h("ez-alert", { alertType: "warn" }, this.filterAssistent.warningMessage)));
|
22
|
-
}
|
23
16
|
render() {
|
24
17
|
var _a;
|
25
|
-
return (h(Host, null, h("span", { class: "ez-title ez-title--small ez-padding-bottom--small snk-filter-advanced-mode__title" }, this.getMessage("snkPersonalizedFilter.info.applyExpression")), h("ez-text-area", { rows: 9, label: this.getMessage("snkPersonalizedFilter.info.labelExpression"), value: (_a = this.filterAssistent) === null || _a === void 0 ? void 0 : _a.expression, onEzChange: (evt) => this.ezExpressionChange.emit(evt.detail) })
|
18
|
+
return (h(Host, null, h("span", { class: "ez-title ez-title--small ez-padding-bottom--small snk-filter-advanced-mode__title" }, this.getMessage("snkPersonalizedFilter.info.applyExpression")), h("ez-text-area", { rows: 9, label: this.getMessage("snkPersonalizedFilter.info.labelExpression"), value: (_a = this.filterAssistent) === null || _a === void 0 ? void 0 : _a.expression, onEzChange: (evt) => this.ezExpressionChange.emit(evt.detail) })));
|
26
19
|
}
|
27
20
|
static get style() { return snkFilterAdvancedModeCss; }
|
28
21
|
}, [2, "snk-filter-advanced-mode", {
|
@@ -182,7 +182,7 @@ class SnkFilterModalFactory {
|
|
182
182
|
}
|
183
183
|
}
|
184
184
|
|
185
|
-
const snkFilterBarCss = ".sc-snk-filter-bar-h{display:grid;grid-template-columns:minmax(100px, 100%) 1fr 1fr;--snk-personalized-filter--z-index:var(--
|
185
|
+
const snkFilterBarCss = ".sc-snk-filter-bar-h{display:grid;grid-template-columns:minmax(100px, 100%) 1fr 1fr;--snk-personalized-filter--z-index:var(--most-visible, 3);--snk-personalized-filter--background-color:var(--background--xlight, #fff)}.snk-filter__popover-container.sc-snk-filter-bar{display:flex;cursor:auto}.filter-bar__personalized-filter.sc-snk-filter-bar{display:flex;flex-direction:column;position:fixed;top:0;left:0;width:100%;height:100%;overflow:auto;z-index:var(--snk-personalized-filter--z-index);background-color:var(--snk-personalized-filter--background-color)}.snk-filter__popover.sc-snk-filter-bar{display:flex;flex-direction:column;position:absolute;width:fit-content;height:fit-content;min-width:265px;z-index:var(--most-visible, 3);background-color:var(--background--xlight, #fff);border-radius:var(--border--radius-medium, 12px);box-shadow:var(--shadow, 0px 0px 16px 0px #000)}.snk-filter-item__editor-header.sc-snk-filter-bar{flex-grow:1;font-weight:var(--text-weight--medium, 400);color:var(--color--title-primary, #2B3A54)}.snk-filter__popover-rule.sc-snk-filter-bar{border-style:solid;border-color:var(--color--disable-secondary, #F2F5F8);border-radius:1px;border-width:1px;width:100%}.editor__ez-check.sc-snk-filter-bar{--ez-check__label--padding-left:0}.snk-filter-item__editor-header-button.sc-snk-filter-bar{cursor:pointer;background-color:transparent;border:none;padding:3px;outline-color:var(--color--primary)}.snk-filter-bar__divider.sc-snk-filter-bar{margin-bottom:var(--space--small)}.snk-filter-bar__scroller.sc-snk-filter-bar{height:calc(100% + var(--space-extra-small, 3px))}.snk-filter-bar__filter-item-container.sc-snk-filter-bar{display:flex;align-self:center}.snk-filter-bar__scroller.sc-snk-filter-bar .sc-snk-filter-bar:first-child{margin-left:var(--space-extra-small, 3px)}.snk-filter-bar__filter-list-items-container.sc-snk-filter-bar{overflow-y:auto;max-height:360px;margin-top:var(--space--small, 6px)}.snk-filter-bar__filter-list-item.sc-snk-filter-bar{cursor:pointer;border-radius:var(--border--radius-small, 6px);border:none;background-color:transparent}.snk-filter-bar__filter-list-item__label.sc-snk-filter-bar{color:var(--title--primary)}.snk-filter-bar__filter-list-item__label--secondary.sc-snk-filter-bar{color:var(--text--primary)}.snk-filter-bar__filter-list-item__icon.sc-snk-filter-bar{--ez-icon--color:var(--title--primary)}.snk-filter-bar__filter-list-item__icon--secondary.sc-snk-filter-bar{--ez-icon--color:var(--text--secondary)}.snk-filter-bar__filter-list-item.sc-snk-filter-bar:focus-visible{outline:none;background-color:var(--background--medium)}.snk-filter-bar__filter-list-item.sc-snk-filter-bar:hover{background-color:var(--background--medium)}.snk-filter-bar__filter-list-items-container--empty.sc-snk-filter-bar{width:100%;height:100px;display:flex;justify-content:center;align-self:center;align-items:center}.snk-filter-bar__filter-list-items-button--active.sc-snk-filter-bar{position:relative}.snk-filter-bar__filter-list-items-button--active.sc-snk-filter-bar::after{display:flex;position:absolute;content:\"\";width:8px;height:8px;top:7px;left:17px;background-color:var(--icon--alert--color, #008561);border-radius:50%}.snk-filter-bar__filter-modal-item.sc-snk-filter-bar{--modal-item-border-width:2px;display:flex;flex-direction:row;margin-left:var(--modal-item-border-width);border-radius:var(--border--radius-medium, 12px);background-color:var(--background--medium, #f0f3f7);border:none;width:100%}.snk-filter-bar__filter-modal-item.sc-snk-filter-bar:focus-visible{outline:var(--color--primary) solid var(--modal-item-border-width)}.snk-filter-bar__filter-modal-item__check.sc-snk-filter-bar{width:auto}.snk-filter-bar__filter-modal-item__label.sc-snk-filter-bar{font-weight:var(--text-weight--medium)}.snk-filter-bar__filter-modal-content.sc-snk-filter-bar{display:grid;grid-template-rows:auto auto 1fr auto;width:99%;height:100%}";
|
186
186
|
|
187
187
|
const SnkFilterBar = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
188
188
|
constructor() {
|
@@ -152,7 +152,7 @@ const SnkPersonalizedFilter = /*@__PURE__*/ proxyCustomElement(class extends HTM
|
|
152
152
|
this.saveFilter();
|
153
153
|
}
|
154
154
|
saveAdvancedMode() {
|
155
|
-
if (this._filterAssistent.assistent) {
|
155
|
+
if (this._originalFilterAssistent.expression !== this._filterAssistent.expression && this._filterAssistent.assistent) {
|
156
156
|
ApplicationUtils.confirm(this.getMessage("snkPersonalizedFilter.confirmSaveModeAdvanced.title"), this.getMessage("snkPersonalizedFilter.confirmSaveModeAdvanced.description"))
|
157
157
|
.then((confirm) => {
|
158
158
|
if (!confirm)
|
@@ -160,9 +160,12 @@ const SnkPersonalizedFilter = /*@__PURE__*/ proxyCustomElement(class extends HTM
|
|
160
160
|
this.saveAndTransformToAdvancedMode();
|
161
161
|
});
|
162
162
|
}
|
163
|
-
else {
|
163
|
+
else if (!this._filterAssistent.assistent) {
|
164
164
|
this.saveAndTransformToAdvancedMode();
|
165
165
|
}
|
166
|
+
else {
|
167
|
+
this.saveAssistentMode();
|
168
|
+
}
|
166
169
|
}
|
167
170
|
saveAndTransformToAdvancedMode() {
|
168
171
|
this._filterAssistent.assistent = undefined;
|
@@ -170,8 +173,8 @@ const SnkPersonalizedFilter = /*@__PURE__*/ proxyCustomElement(class extends HTM
|
|
170
173
|
this.saveFilter();
|
171
174
|
}
|
172
175
|
async validateExpressionBeforeSaving() {
|
173
|
-
const { valid, message } = await this._personalizedFilterFetcher.validatePersonalizedFilter(this.entityUri, this._filterAssistent.expression);
|
174
|
-
valid || this._application.error(this.getMessage("snkPersonalizedFilter.
|
176
|
+
const { valid, message = "" } = await this._personalizedFilterFetcher.validatePersonalizedFilter(this.entityUri, this._filterAssistent.expression);
|
177
|
+
valid || this._application.error(this.getMessage("snkPersonalizedFilter.errorValidation.title"), message.replace(/.*Exception: /, ''));
|
175
178
|
return valid;
|
176
179
|
}
|
177
180
|
handleCancel() {
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { ApplicationContext } from '@sankhyalabs/core';
|
2
|
-
import { F as FormConfigFetcher } from './form-config-fetcher-
|
3
|
-
import { R as ResourceFetcher } from './resource-fetcher-
|
4
|
-
import { F as FilterBarConfigFetcher } from './filter-bar-config-fetcher-
|
5
|
-
import { d as dist, D as DataFetcher } from './DataFetcher-
|
2
|
+
import { F as FormConfigFetcher } from './form-config-fetcher-a5b23cd9.js';
|
3
|
+
import { R as ResourceFetcher } from './resource-fetcher-92640c2f.js';
|
4
|
+
import { F as FilterBarConfigFetcher } from './filter-bar-config-fetcher-efd7ab4e.js';
|
5
|
+
import { d as dist, D as DataFetcher } from './DataFetcher-f7cf7302.js';
|
6
6
|
|
7
7
|
class GridConfigFetcher extends ResourceFetcher {
|
8
8
|
constructor() {
|
@@ -6825,12 +6825,13 @@ class DataFetcher {
|
|
6825
6825
|
resourceID: (window["resourceID"] || ((_a = window["workspace"]) === null || _a === void 0 ? void 0 : _a.resourceID))
|
6826
6826
|
};
|
6827
6827
|
}
|
6828
|
-
async callServiceBroker(serviceName, payload) {
|
6828
|
+
async callServiceBroker(serviceName, payload, options) {
|
6829
6829
|
return new Promise((accept, reject) => {
|
6830
6830
|
const parts = serviceName.split("@");
|
6831
6831
|
const [module, name] = parts.length === 2 ? parts : ['mge', serviceName];
|
6832
6832
|
const ctx = this.getContext(module);
|
6833
|
-
|
6833
|
+
let url = `${ctx.baseUrl}?serviceName=${name}&counter=21&application=${ctx.appName}&outputType=json&preventTransform=false&mgeSession=${ctx.mgeSession}&resourceID=${ctx.resourceID}&globalID=${ctx.globalID}&allowConcurrentCalls=true`;
|
6834
|
+
url = this.addUrlParams(options, url);
|
6834
6835
|
document.cookie = `JSESSIONID=${ctx.mgeSession};`;
|
6835
6836
|
const http = new XMLHttpRequest();
|
6836
6837
|
var payloadJson = {};
|
@@ -6887,6 +6888,19 @@ class DataFetcher {
|
|
6887
6888
|
};
|
6888
6889
|
});
|
6889
6890
|
}
|
6891
|
+
addUrlParams(options, url) {
|
6892
|
+
const params = options === null || options === void 0 ? void 0 : options.urlParams;
|
6893
|
+
if (!params || Object.keys(params).length === 0) {
|
6894
|
+
return url;
|
6895
|
+
}
|
6896
|
+
url += '&';
|
6897
|
+
for (const key in params) {
|
6898
|
+
if (params.hasOwnProperty(key)) {
|
6899
|
+
url += `${key}=${params[key]}`;
|
6900
|
+
}
|
6901
|
+
}
|
6902
|
+
return url;
|
6903
|
+
}
|
6890
6904
|
isServiceBrokerError(response) {
|
6891
6905
|
return !response.hasOwnProperty('status') ||
|
6892
6906
|
response.status == DataFetcher.SERVICE_BROKER_STATUS.ERROR ||
|
package/dist/esm/{PersonalizedFilterUtils-731cae01.js → PersonalizedFilterUtils-75fb0106.js}
RENAMED
@@ -40,7 +40,7 @@ class PersonalizedFilterUtils {
|
|
40
40
|
if (expressionItem.operand) {
|
41
41
|
expression += ` ${FilterOperand[expressionItem.operand]}`;
|
42
42
|
}
|
43
|
-
if (value) {
|
43
|
+
if (['string', 'number'].includes(typeof value)) {
|
44
44
|
value = isNaN(value) ? `${commas}${value}${commas}` : value;
|
45
45
|
expression += ` ${value}`;
|
46
46
|
}
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { C as ConfigStorage } from './ConfigStorage-
|
1
|
+
import { C as ConfigStorage } from './ConfigStorage-6ec80135.js';
|
2
2
|
import { ObjectUtils } from '@sankhyalabs/core';
|
3
|
-
import { F as FormConfigFetcher } from './form-config-fetcher-
|
3
|
+
import { F as FormConfigFetcher } from './form-config-fetcher-a5b23cd9.js';
|
4
4
|
|
5
5
|
class SnkFormConfigManager {
|
6
6
|
constructor(configName, onConfigChange) {
|
@@ -403,6 +403,9 @@ const snkPersonalizedFilterMessages = {
|
|
403
403
|
title: "Atenção",
|
404
404
|
description: "Há pelo menos um campo obrigatório não preenchido."
|
405
405
|
},
|
406
|
+
errorValidation: {
|
407
|
+
title: "Erro na expressão"
|
408
|
+
},
|
406
409
|
confirmSave: {
|
407
410
|
title: "Filtro criado com sucesso!"
|
408
411
|
},
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { DataUnit, StringUtils, DataType, DataUnitStorage, ChangeOperation } from '@sankhyalabs/core';
|
2
|
-
import { d as dist, D as DataFetcher } from './DataFetcher-
|
2
|
+
import { d as dist, D as DataFetcher } from './DataFetcher-f7cf7302.js';
|
3
3
|
import { DISTINCT_FILTER_NAME_PREFIX } from '@sankhyalabs/ezui/dist/collection/utils/constants';
|
4
4
|
import { DataUnitTransient } from '@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata';
|
5
5
|
|
package/dist/esm/{filter-bar-config-fetcher-abfc2aef.js → filter-bar-config-fetcher-efd7ab4e.js}
RENAMED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { F as FilterItemType } from './filter-item-type.enum-5028ed3f.js';
|
2
|
-
import { R as ResourceFetcher } from './resource-fetcher-
|
2
|
+
import { R as ResourceFetcher } from './resource-fetcher-92640c2f.js';
|
3
3
|
|
4
4
|
var __rest = (undefined && undefined.__rest) || function (s, e) {
|
5
5
|
var t = {};
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { d as dist, D as DataFetcher } from './DataFetcher-
|
1
|
+
import { d as dist, D as DataFetcher } from './DataFetcher-f7cf7302.js';
|
2
2
|
import { ObjectUtils } from '@sankhyalabs/core';
|
3
|
-
import { R as ResourceFetcher } from './resource-fetcher-
|
3
|
+
import { R as ResourceFetcher } from './resource-fetcher-92640c2f.js';
|
4
4
|
|
5
5
|
class FormConfigFetcher extends ResourceFetcher {
|
6
6
|
constructor() {
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-a7d3d3f1.js';
|
2
2
|
import { ApplicationContext, StringUtils, ErrorException, WarningException, ObjectUtils, DateUtils, ArrayUtils, ElementIDUtils } from '@sankhyalabs/core';
|
3
|
-
import { D as DataFetcher } from './DataFetcher-
|
3
|
+
import { D as DataFetcher } from './DataFetcher-f7cf7302.js';
|
4
4
|
import { P as ParamType } from './ParamType-d5152b06.js';
|
5
|
-
import './pesquisa-fetcher-
|
5
|
+
import './pesquisa-fetcher-f06f4883.js';
|
6
6
|
import './index-1564817d.js';
|
7
7
|
import './_commonjsHelpers-9943807e.js';
|
8
8
|
|
@@ -1,15 +1,15 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-a7d3d3f1.js';
|
2
2
|
import { WaitingChangeException, WarningException, ErrorException, ObjectUtils, DateUtils, StringUtils, OnboardingUtils, DependencyType, ElementIDUtils, ApplicationContext, ErrorTracking, DataType } from '@sankhyalabs/core';
|
3
|
-
import { d as dist, D as DataFetcher, U as UrlUtils } from './DataFetcher-
|
3
|
+
import { d as dist, D as DataFetcher, U as UrlUtils } from './DataFetcher-f7cf7302.js';
|
4
4
|
import { ApplicationUtils } from '@sankhyalabs/ezui/dist/collection/utils';
|
5
|
-
import { P as PesquisaFetcher } from './pesquisa-fetcher-
|
6
|
-
import { G as GridConfigFetcher, C as ConfigStorage } from './ConfigStorage-
|
7
|
-
import { D as DataUnitFetcher } from './dataunit-fetcher-
|
8
|
-
import { R as ResourceFetcher } from './resource-fetcher-
|
9
|
-
import { S as SnkMessageBuilder } from './SnkMessageBuilder-
|
5
|
+
import { P as PesquisaFetcher } from './pesquisa-fetcher-f06f4883.js';
|
6
|
+
import { G as GridConfigFetcher, C as ConfigStorage } from './ConfigStorage-6ec80135.js';
|
7
|
+
import { D as DataUnitFetcher } from './dataunit-fetcher-8f6f28a7.js';
|
8
|
+
import { R as ResourceFetcher } from './resource-fetcher-92640c2f.js';
|
9
|
+
import { S as SnkMessageBuilder } from './SnkMessageBuilder-68c1c25a.js';
|
10
10
|
import './_commonjsHelpers-9943807e.js';
|
11
|
-
import './form-config-fetcher-
|
12
|
-
import './filter-bar-config-fetcher-
|
11
|
+
import './form-config-fetcher-a5b23cd9.js';
|
12
|
+
import './filter-bar-config-fetcher-efd7ab4e.js';
|
13
13
|
import './filter-item-type.enum-5028ed3f.js';
|
14
14
|
import '@sankhyalabs/ezui/dist/collection/utils/constants';
|
15
15
|
import '@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata';
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-a7d3d3f1.js';
|
2
2
|
import { ApplicationContext, DataType, Action } from '@sankhyalabs/core';
|
3
|
-
import { D as DataFetcher } from './DataFetcher-
|
3
|
+
import { D as DataFetcher } from './DataFetcher-f7cf7302.js';
|
4
4
|
import { c as VIEW_MODE } from './constants-3644f1b6.js';
|
5
|
-
import { D as DataUnitFetcher } from './dataunit-fetcher-
|
5
|
+
import { D as DataUnitFetcher } from './dataunit-fetcher-8f6f28a7.js';
|
6
6
|
import { T as TaskbarElement } from './taskbar-elements-2c761819.js';
|
7
7
|
import './_commonjsHelpers-9943807e.js';
|
8
8
|
import '@sankhyalabs/ezui/dist/collection/utils/constants';
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-a7d3d3f1.js';
|
2
2
|
import { ElementIDUtils, ApplicationContext } from '@sankhyalabs/core';
|
3
3
|
import { T as TaskbarElement } from './taskbar-elements-2c761819.js';
|
4
|
-
import './DataFetcher-
|
5
|
-
import './pesquisa-fetcher-
|
4
|
+
import './DataFetcher-f7cf7302.js';
|
5
|
+
import './pesquisa-fetcher-f06f4883.js';
|
6
6
|
import { P as PresentationMode } from './index-1564817d.js';
|
7
7
|
import { c as VIEW_MODE } from './constants-3644f1b6.js';
|
8
8
|
import './index-bdf75557.js';
|
@@ -3,10 +3,10 @@ import { ObjectUtils, ApplicationContext, DataType, ElementIDUtils } from '@sank
|
|
3
3
|
import { ApplicationUtils, DialogType } from '@sankhyalabs/ezui/dist/collection/utils';
|
4
4
|
import { D as DataExporterOption, a as DataExporterFormat, b as DataExporterType } from './index-1564817d.js';
|
5
5
|
import { R as REPORT_LAUNCHER_RESOURCE_ID } from './constants-3644f1b6.js';
|
6
|
-
import { D as DataFetcher } from './DataFetcher-
|
7
|
-
import { S as SnkDataUnit } from './snk-data-unit-
|
6
|
+
import { D as DataFetcher } from './DataFetcher-f7cf7302.js';
|
7
|
+
import { S as SnkDataUnit } from './snk-data-unit-5c3c036a.js';
|
8
8
|
import './_commonjsHelpers-9943807e.js';
|
9
|
-
import './SnkMessageBuilder-
|
9
|
+
import './SnkMessageBuilder-68c1c25a.js';
|
10
10
|
|
11
11
|
class ItemBuilder {
|
12
12
|
constructor(getMessage, selectedNumber) {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, g as getElement, H as Host } from './index-a7d3d3f1.js';
|
2
2
|
import { Action, ObjectUtils, JSUtils, ApplicationContext, DataType } from '@sankhyalabs/core';
|
3
3
|
import { ApplicationUtils, DialogType } from '@sankhyalabs/ezui/dist/collection/utils';
|
4
|
-
import { O as OperationMap, S as SnkMessageBuilder } from './SnkMessageBuilder-
|
4
|
+
import { O as OperationMap, S as SnkMessageBuilder } from './SnkMessageBuilder-68c1c25a.js';
|
5
5
|
|
6
6
|
const snkDataUnitCss = ".sc-snk-data-unit-h{display:flex;flex-direction:column;height:100%;width:100%}";
|
7
7
|
|
@@ -1,5 +1,5 @@
|
|
1
|
-
export { S as snk_data_unit } from './snk-data-unit-
|
1
|
+
export { S as snk_data_unit } from './snk-data-unit-5c3c036a.js';
|
2
2
|
import './index-a7d3d3f1.js';
|
3
3
|
import '@sankhyalabs/core';
|
4
4
|
import '@sankhyalabs/ezui/dist/collection/utils';
|
5
|
-
import './SnkMessageBuilder-
|
5
|
+
import './SnkMessageBuilder-68c1c25a.js';
|
@@ -1,18 +1,18 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host } from './index-a7d3d3f1.js';
|
2
|
-
import { S as SnkFormConfigManager } from './SnkFormConfigManager-
|
2
|
+
import { S as SnkFormConfigManager } from './SnkFormConfigManager-b8091dec.js';
|
3
3
|
import { FormMetadata, buildFormMetadata } from '@sankhyalabs/ezui/dist/collection/utils/form';
|
4
|
-
import './DataFetcher-
|
5
|
-
import './pesquisa-fetcher-
|
4
|
+
import './DataFetcher-f7cf7302.js';
|
5
|
+
import './pesquisa-fetcher-f06f4883.js';
|
6
6
|
import '@sankhyalabs/core';
|
7
7
|
import { P as PresentationMode } from './index-1564817d.js';
|
8
8
|
import { T as TaskbarElement } from './taskbar-elements-2c761819.js';
|
9
9
|
import { c as VIEW_MODE } from './constants-3644f1b6.js';
|
10
|
-
import { S as SnkGuidesViewer } from './snk-guides-viewer-
|
11
|
-
import { S as SnkMessageBuilder } from './SnkMessageBuilder-
|
12
|
-
import './ConfigStorage-
|
13
|
-
import './form-config-fetcher-
|
14
|
-
import './resource-fetcher-
|
15
|
-
import './filter-bar-config-fetcher-
|
10
|
+
import { S as SnkGuidesViewer } from './snk-guides-viewer-a6743bd9.js';
|
11
|
+
import { S as SnkMessageBuilder } from './SnkMessageBuilder-68c1c25a.js';
|
12
|
+
import './ConfigStorage-6ec80135.js';
|
13
|
+
import './form-config-fetcher-a5b23cd9.js';
|
14
|
+
import './resource-fetcher-92640c2f.js';
|
15
|
+
import './filter-bar-config-fetcher-efd7ab4e.js';
|
16
16
|
import './filter-item-type.enum-5028ed3f.js';
|
17
17
|
import './_commonjsHelpers-9943807e.js';
|
18
18
|
import './index-bdf75557.js';
|