@sankhyalabs/sankhyablocks 0.0.0-bugfix-dev-KB-76362.0 → 0.0.0-bugfix-dev-KB-74224.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-f079f5fd.js → ConfigStorage-ecc0ed20.js} +2 -2
- package/dist/cjs/{ContinuousInsertUtils-64e47516.js → ContinuousInsertUtils-29b65619.js} +20 -29
- package/dist/cjs/{DataFetcher-e059eb72.js → DataFetcher-cadeef8e.js} +5 -7
- package/dist/cjs/{SnkFormConfigManager-63369164.js → SnkFormConfigManager-f1c92f79.js} +2 -2
- package/dist/cjs/{SnkMessageBuilder-7691a2c1.js → SnkMessageBuilder-bae64d0d.js} +0 -10
- package/dist/cjs/{auth-fetcher-4f853233.js → auth-fetcher-d68841bc.js} +1 -1
- package/dist/cjs/{dataunit-fetcher-228016f4.js → dataunit-fetcher-f89461c1.js} +3 -3
- package/dist/cjs/{form-config-fetcher-39397ac5.js → form-config-fetcher-ed497282.js} +1 -1
- package/dist/cjs/index-f9e81701.js +28 -16
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{pesquisa-fetcher-a9bfeb22.js → pesquisa-fetcher-ca89181c.js} +2 -7
- package/dist/cjs/sankhyablocks.cjs.js +1 -1
- package/dist/cjs/snk-actions-button_4.cjs.entry.js +30 -27
- package/dist/cjs/snk-application.cjs.entry.js +60 -102
- package/dist/cjs/snk-attach.cjs.entry.js +5 -5
- package/dist/cjs/snk-config-options.cjs.entry.js +239 -0
- package/dist/cjs/snk-crud.cjs.entry.js +5 -5
- package/dist/cjs/snk-data-exporter.cjs.entry.js +6 -6
- package/dist/cjs/{snk-data-unit-7dbdad0e.js → snk-data-unit-668dc5e8.js} +2 -2
- package/dist/cjs/snk-data-unit.cjs.entry.js +4 -4
- package/dist/cjs/snk-detail-view.cjs.entry.js +8 -8
- package/dist/cjs/{snk-filter-bar_4.cjs.entry.js → snk-filter-bar.cjs.entry.js} +3 -688
- package/dist/cjs/snk-filter-item.cjs.entry.js +312 -0
- package/dist/cjs/snk-filter-list.cjs.entry.js +152 -0
- package/dist/cjs/snk-filter-modal-item.cjs.entry.js +3 -3
- package/dist/cjs/snk-filter-modal.cjs.entry.js +249 -0
- package/dist/cjs/{snk-config-options_3.cjs.entry.js → snk-form-config.cjs.entry.js} +3 -365
- package/dist/cjs/snk-form.cjs.entry.js +144 -0
- package/dist/cjs/snk-grid.cjs.entry.js +6 -6
- package/dist/cjs/{snk-guides-viewer-eee43c8b.js → snk-guides-viewer-4236cb9d.js} +5 -8
- package/dist/cjs/snk-guides-viewer.cjs.entry.js +7 -7
- package/dist/cjs/snk-personalized-filter.cjs.entry.js +3 -3
- package/dist/cjs/snk-simple-crud.cjs.entry.js +14 -14
- package/dist/collection/collection-manifest.json +31 -14
- package/dist/collection/components/snk-actions-button/snk-actions-button.js +27 -26
- package/dist/collection/components/snk-application/snk-application.js +53 -3
- package/dist/collection/components/snk-crud/subcomponents/snk-guides-viewer.js +0 -3
- package/dist/collection/components/snk-simple-crud/snk-simple-crud.js +7 -7
- package/dist/collection/lib/http/data-fetcher/DataFetcher.js +6 -8
- package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/DataUnitDataLoader.js +2 -2
- package/dist/collection/lib/http/data-fetcher/fetchers/pesquisa-fetcher.js +1 -6
- package/dist/collection/lib/message/SnkMessageBuilder.js +0 -2
- package/dist/collection/lib/utils/CrudUtils.js +16 -25
- package/dist/components/ContinuousInsertUtils.js +16 -25
- package/dist/components/DataFetcher.js +5 -7
- package/dist/components/SnkMessageBuilder.js +0 -10
- package/dist/components/dataunit-fetcher.js +2 -2
- package/dist/components/index.d.ts +0 -3
- package/dist/components/index.js +0 -3
- package/dist/components/pesquisa-fetcher.js +1 -6
- package/dist/components/snk-actions-button2.js +27 -26
- package/dist/components/snk-application2.js +53 -95
- package/dist/components/snk-detail-view2.js +0 -3
- package/dist/components/snk-simple-crud2.js +7 -7
- package/dist/esm/{ConfigStorage-6514d66e.js → ConfigStorage-7b36d041.js} +2 -2
- package/dist/esm/{ContinuousInsertUtils-b62906f9.js → ContinuousInsertUtils-30caa626.js} +20 -29
- package/dist/esm/{DataFetcher-5034df59.js → DataFetcher-a9c598f2.js} +5 -7
- package/dist/esm/{SnkFormConfigManager-b409c745.js → SnkFormConfigManager-139f09fa.js} +3 -3
- package/dist/esm/{SnkMessageBuilder-7ace6803.js → SnkMessageBuilder-6fff4a4c.js} +0 -10
- package/dist/esm/{auth-fetcher-ca5d3a49.js → auth-fetcher-749d880f.js} +1 -1
- package/dist/esm/{constants-7302ee87.js → constants-8457af36.js} +1 -1
- package/dist/esm/{dataunit-fetcher-56cb648b.js → dataunit-fetcher-c24c76c6.js} +3 -3
- package/dist/esm/{form-config-fetcher-a7d3e277.js → form-config-fetcher-adbe5d34.js} +1 -1
- package/dist/esm/index-a7d3d3f1.js +28 -16
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{pesquisa-fetcher-6bc2e41a.js → pesquisa-fetcher-8edaa8cd.js} +2 -7
- package/dist/esm/sankhyablocks.js +1 -1
- package/dist/esm/snk-actions-button_4.entry.js +32 -29
- package/dist/esm/snk-application.entry.js +60 -102
- package/dist/esm/snk-attach.entry.js +6 -6
- package/dist/esm/snk-config-options.entry.js +235 -0
- package/dist/esm/snk-configurator.entry.js +1 -1
- package/dist/esm/snk-crud.entry.js +6 -6
- package/dist/esm/snk-data-exporter.entry.js +7 -7
- package/dist/esm/{snk-data-unit-7a579dbd.js → snk-data-unit-0fdfb6c2.js} +2 -2
- package/dist/esm/snk-data-unit.entry.js +4 -4
- package/dist/esm/snk-detail-view.entry.js +9 -9
- package/dist/esm/snk-field-config.entry.js +1 -1
- package/dist/esm/{snk-filter-bar_4.entry.js → snk-filter-bar.entry.js} +5 -687
- package/dist/esm/snk-filter-item.entry.js +308 -0
- package/dist/esm/snk-filter-list.entry.js +148 -0
- package/dist/esm/snk-filter-modal-item.entry.js +3 -3
- package/dist/esm/snk-filter-modal.entry.js +245 -0
- package/dist/esm/{snk-config-options_3.entry.js → snk-form-config.entry.js} +6 -366
- package/dist/esm/snk-form.entry.js +140 -0
- package/dist/esm/snk-grid.entry.js +6 -6
- package/dist/esm/{snk-guides-viewer-e8ca764a.js → snk-guides-viewer-8934c537.js} +6 -9
- package/dist/esm/snk-guides-viewer.entry.js +8 -8
- package/dist/esm/snk-personalized-filter.entry.js +3 -3
- package/dist/esm/snk-simple-crud.entry.js +15 -15
- package/dist/esm/snk-tab-config.entry.js +1 -1
- package/dist/sankhyablocks/p-01086ff7.entry.js +1 -0
- package/dist/sankhyablocks/{p-126c58ea.js → p-06421fdb.js} +1 -1
- package/dist/sankhyablocks/{p-e3a285a2.js → p-16869f77.js} +1 -1
- package/dist/sankhyablocks/p-17425c72.js +1 -0
- package/dist/sankhyablocks/{p-341465ce.js → p-1bf06cd3.js} +2 -2
- package/dist/sankhyablocks/{p-aa003d4e.entry.js → p-212213d9.entry.js} +1 -1
- package/dist/sankhyablocks/p-2923c1b5.js +1 -0
- package/dist/sankhyablocks/p-3b60db06.entry.js +1 -0
- package/dist/sankhyablocks/{p-00f9fe5c.entry.js → p-430e4d3c.entry.js} +1 -1
- package/dist/sankhyablocks/{p-9ffd9fc7.js → p-4d9549cf.js} +1 -1
- package/dist/sankhyablocks/p-4f35399c.entry.js +1 -0
- package/dist/sankhyablocks/{p-c75fae8e.js → p-5dd8cf4f.js} +1 -1
- package/dist/sankhyablocks/p-60b29483.entry.js +1 -0
- package/dist/sankhyablocks/p-70a4af56.entry.js +1 -0
- package/dist/sankhyablocks/{p-41793e17.entry.js → p-7663f597.entry.js} +1 -1
- package/dist/sankhyablocks/{p-47d24ac8.js → p-7ac7932c.js} +2 -2
- package/dist/sankhyablocks/{p-2d3f9482.entry.js → p-8eb67fa4.entry.js} +1 -1
- package/dist/sankhyablocks/{p-f0aaad2b.entry.js → p-92eadb1c.entry.js} +1 -1
- package/dist/sankhyablocks/{p-8b4fc28f.entry.js → p-95df461f.entry.js} +1 -1
- package/dist/sankhyablocks/p-a42e7a1e.entry.js +11 -0
- package/dist/sankhyablocks/p-a724e798.entry.js +1 -0
- package/dist/sankhyablocks/{p-1dbd5c18.entry.js → p-a75d242d.entry.js} +1 -1
- package/dist/sankhyablocks/{p-0e206e62.js → p-afbb070d.js} +1 -1
- package/dist/sankhyablocks/{p-95ce311a.js → p-b0ef4383.js} +1 -1
- package/dist/sankhyablocks/p-b9679243.entry.js +1 -0
- package/dist/sankhyablocks/{p-f4e221b2.entry.js → p-b9c67e45.entry.js} +1 -1
- package/dist/sankhyablocks/{p-b389ed49.entry.js → p-be5d8fcb.entry.js} +1 -1
- package/dist/sankhyablocks/p-ca5ec380.js +1 -0
- package/dist/sankhyablocks/p-d3f53df2.entry.js +1 -0
- package/dist/sankhyablocks/{p-a2c790ac.entry.js → p-dcead955.entry.js} +1 -1
- package/dist/sankhyablocks/p-e8763234.entry.js +1 -0
- package/dist/sankhyablocks/{p-00278e07.js → p-f3434fc4.js} +1 -1
- package/dist/sankhyablocks/{p-fca0e5cc.entry.js → p-fb34e0cf.entry.js} +1 -1
- package/dist/sankhyablocks/p-feba9d4b.entry.js +1 -0
- package/dist/sankhyablocks/sankhyablocks.esm.js +1 -1
- package/dist/types/components/snk-actions-button/interfaces/index.d.ts +3 -0
- package/dist/types/components/snk-actions-button/snk-actions-button.d.ts +3 -2
- package/dist/types/components/snk-application/snk-application.d.ts +12 -3
- package/dist/types/components/snk-simple-crud/snk-simple-crud.d.ts +1 -0
- package/dist/types/components.d.ts +1 -393
- package/dist/types/lib/http/data-fetcher/DataFetcher.d.ts +0 -1
- package/dist/types/lib/utils/CrudUtils.d.ts +0 -1
- package/package.json +2 -3
- package/react/components.d.ts +0 -3
- package/react/components.js +0 -3
- package/react/components.js.map +1 -1
- package/dist/cjs/input-distinct-search_2.cjs.entry.js +0 -471
- package/dist/cjs/snk-distinct-search.cjs.entry.js +0 -123
- package/dist/collection/components/snk-application/request-listener/DebouncedRequestListener.js +0 -28
- package/dist/collection/components/snk-application/request-listener/RequestListenerFactory.js +0 -16
- package/dist/collection/components/snk-application/request-listener/RequestListenerLoadingBar.js +0 -52
- package/dist/collection/components/snk-distinct-search/snk-distinct-search.css +0 -4
- package/dist/collection/components/snk-distinct-search/snk-distinct-search.js +0 -372
- package/dist/collection/components/snk-distinct-search/subcomponents/input-distinct-search/input-distinct-search.css +0 -110
- package/dist/collection/components/snk-distinct-search/subcomponents/input-distinct-search/input-distinct-search.js +0 -544
- package/dist/collection/components/snk-distinct-search/subcomponents/search-modal/search-modal.css +0 -28
- package/dist/collection/components/snk-distinct-search/subcomponents/search-modal/search-modal.js +0 -593
- package/dist/collection/components/snk-distinct-search/utils/filter-distinct-search.js +0 -15
- package/dist/collection/lib/http/data-fetcher/fetchers/distinct-search-fetcher.js +0 -25
- package/dist/collection/lib/message/resources/snk-distinct-search.msg.js +0 -9
- package/dist/collection/sw.js +0 -46
- package/dist/components/filter-distinct-search.js +0 -17
- package/dist/components/input-distinct-search.d.ts +0 -11
- package/dist/components/input-distinct-search.js +0 -6
- package/dist/components/input-distinct-search2.js +0 -264
- package/dist/components/search-modal.d.ts +0 -11
- package/dist/components/search-modal.js +0 -6
- package/dist/components/search-modal2.js +0 -264
- package/dist/components/snk-distinct-search.d.ts +0 -11
- package/dist/components/snk-distinct-search.js +0 -163
- package/dist/esm/input-distinct-search_2.entry.js +0 -466
- package/dist/esm/snk-distinct-search.entry.js +0 -119
- package/dist/sankhyablocks/p-0e250436.entry.js +0 -1
- package/dist/sankhyablocks/p-154aa2a6.entry.js +0 -11
- package/dist/sankhyablocks/p-18cb1acb.entry.js +0 -1
- package/dist/sankhyablocks/p-30ebcbe0.entry.js +0 -1
- package/dist/sankhyablocks/p-3755b46f.entry.js +0 -1
- package/dist/sankhyablocks/p-3858a2e4.entry.js +0 -1
- package/dist/sankhyablocks/p-42130213.entry.js +0 -1
- package/dist/sankhyablocks/p-563b7c28.entry.js +0 -1
- package/dist/sankhyablocks/p-aaf94476.js +0 -1
- package/dist/sankhyablocks/p-d8665750.js +0 -1
- package/dist/sankhyablocks/p-e4391e16.js +0 -1
- package/dist/types/components/snk-application/request-listener/DebouncedRequestListener.d.ts +0 -11
- package/dist/types/components/snk-application/request-listener/RequestListenerFactory.d.ts +0 -12
- package/dist/types/components/snk-application/request-listener/RequestListenerLoadingBar.d.ts +0 -13
- package/dist/types/components/snk-distinct-search/snk-distinct-search.d.ts +0 -83
- package/dist/types/components/snk-distinct-search/subcomponents/input-distinct-search/input-distinct-search.d.ts +0 -105
- package/dist/types/components/snk-distinct-search/subcomponents/search-modal/search-modal.d.ts +0 -127
- package/dist/types/components/snk-distinct-search/types/index.d.ts +0 -12
- package/dist/types/components/snk-distinct-search/utils/filter-distinct-search.d.ts +0 -4
- package/dist/types/lib/http/data-fetcher/fetchers/distinct-search-fetcher.d.ts +0 -6
- package/dist/types/lib/message/resources/snk-distinct-search.msg.d.ts +0 -2
- /package/dist/collection/components/{snk-distinct-search/types → snk-actions-button/interfaces}/index.js +0 -0
|
@@ -274,99 +274,6 @@ class SnkErrorHandler {
|
|
|
274
274
|
}
|
|
275
275
|
}
|
|
276
276
|
|
|
277
|
-
class DebouncedRequestListener {
|
|
278
|
-
constructor() {
|
|
279
|
-
this._debounceTime = 1500;
|
|
280
|
-
this.requests = new Map();
|
|
281
|
-
this.requestsLoadingBar = [];
|
|
282
|
-
}
|
|
283
|
-
onRequestStart(param) {
|
|
284
|
-
if (param.url.includes("quietMode=true")) {
|
|
285
|
-
return;
|
|
286
|
-
}
|
|
287
|
-
this.requestsLoadingBar.push(param.requestId);
|
|
288
|
-
const timeout = setTimeout(() => {
|
|
289
|
-
this.ezLoadingBar.show();
|
|
290
|
-
}, this._debounceTime);
|
|
291
|
-
this.requests.set(param.requestId, timeout);
|
|
292
|
-
}
|
|
293
|
-
;
|
|
294
|
-
onRequestEnd(param) {
|
|
295
|
-
const timeoutId = this.requests.get(param.requestId);
|
|
296
|
-
clearTimeout(timeoutId);
|
|
297
|
-
if (this.requestsLoadingBar.includes(param.requestId)) {
|
|
298
|
-
this.requestsLoadingBar = this.requestsLoadingBar.filter(id => id !== param.requestId);
|
|
299
|
-
!this.requestsLoadingBar.length && this.ezLoadingBar.hide();
|
|
300
|
-
}
|
|
301
|
-
}
|
|
302
|
-
;
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
class RequestListenerLoadingBar {
|
|
306
|
-
constructor() {
|
|
307
|
-
this._debounceTime = 1000;
|
|
308
|
-
this._ignoredNameTypes = ["totals"];
|
|
309
|
-
this._countRequest = 0;
|
|
310
|
-
}
|
|
311
|
-
onRequestStart(param) {
|
|
312
|
-
if (this.isIgnoreLoadingOnRequest(param)) {
|
|
313
|
-
return;
|
|
314
|
-
}
|
|
315
|
-
this._countRequest++;
|
|
316
|
-
this.ezLoadingBar.show();
|
|
317
|
-
if (this._timerLoading) {
|
|
318
|
-
clearTimeout(this._timerLoading);
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
;
|
|
322
|
-
onRequestEnd(param) {
|
|
323
|
-
if (this.isIgnoreLoadingOnRequest(param)) {
|
|
324
|
-
return;
|
|
325
|
-
}
|
|
326
|
-
this._countRequest--;
|
|
327
|
-
this._timerLoading = setTimeout(() => {
|
|
328
|
-
if (this._countRequest <= 0) {
|
|
329
|
-
this.ezLoadingBar.hide();
|
|
330
|
-
}
|
|
331
|
-
}, this._debounceTime);
|
|
332
|
-
}
|
|
333
|
-
;
|
|
334
|
-
isIgnoreLoadingOnRequest(param) {
|
|
335
|
-
if (param == undefined) {
|
|
336
|
-
return false;
|
|
337
|
-
}
|
|
338
|
-
if (param.url.includes("quietMode=true")) {
|
|
339
|
-
return true;
|
|
340
|
-
}
|
|
341
|
-
if (param.requestBody == undefined) {
|
|
342
|
-
return false;
|
|
343
|
-
}
|
|
344
|
-
if (param.requestBody.length == 1) {
|
|
345
|
-
const { name } = param.requestBody[0].variables;
|
|
346
|
-
if (name) {
|
|
347
|
-
const nameParts = name.split(":");
|
|
348
|
-
const nameType = nameParts[0];
|
|
349
|
-
return this._ignoredNameTypes.indexOf(nameType) >= 0;
|
|
350
|
-
}
|
|
351
|
-
}
|
|
352
|
-
return false;
|
|
353
|
-
}
|
|
354
|
-
;
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
class RequestListenerFactory {
|
|
358
|
-
static create({ strategy }) {
|
|
359
|
-
switch (strategy) {
|
|
360
|
-
case 'request_name':
|
|
361
|
-
return new RequestListenerLoadingBar();
|
|
362
|
-
case 'request_time':
|
|
363
|
-
return new DebouncedRequestListener();
|
|
364
|
-
default:
|
|
365
|
-
throw new Error('Strategy not found');
|
|
366
|
-
}
|
|
367
|
-
}
|
|
368
|
-
}
|
|
369
|
-
|
|
370
277
|
const snkApplicationCss = ".sc-snk-application-h{display:flex;flex-direction:column;height:100%}";
|
|
371
278
|
|
|
372
279
|
const SnkApplication = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
@@ -381,7 +288,7 @@ const SnkApplication = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
|
|
|
381
288
|
this._waitingAppReady = new Array();
|
|
382
289
|
this._duCache = new Map();
|
|
383
290
|
this._duPromises = new Map();
|
|
384
|
-
this._requestListener =
|
|
291
|
+
this._requestListener = new RequestListenerLoadingBar();
|
|
385
292
|
this._pendingActions = new Map;
|
|
386
293
|
this._loadPkParameter = null;
|
|
387
294
|
this._isLoadedByPk = false;
|
|
@@ -1355,7 +1262,7 @@ const SnkApplication = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
|
|
|
1355
1262
|
.unbind("F1");
|
|
1356
1263
|
}
|
|
1357
1264
|
render() {
|
|
1358
|
-
return (h("div", null, h("ez-loading-bar", { ref: (ref) => this._requestListener.
|
|
1265
|
+
return (h("div", null, h("ez-loading-bar", { ref: (ref) => this._requestListener.loadingBar = ref }), h("ez-popup", { opened: false, ref: (ref) => this._popUp = ref, onEzClosePopup: () => this.closePopUp() }), h("ez-modal", { opened: false, ref: (ref) => this._rightModal = ref, "modal-size": "small", closeOutsideClick: true, closeEsc: true })));
|
|
1359
1266
|
}
|
|
1360
1267
|
get _element() { return this; }
|
|
1361
1268
|
static get watchers() { return {
|
|
@@ -1419,6 +1326,57 @@ const SnkApplication = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
|
|
|
1419
1326
|
"whenApplicationReady": [64],
|
|
1420
1327
|
"setSearchFilterContext": [64]
|
|
1421
1328
|
}]);
|
|
1329
|
+
class RequestListenerLoadingBar {
|
|
1330
|
+
constructor() {
|
|
1331
|
+
this._debounceTime = 1000;
|
|
1332
|
+
this._ignoredNameTypes = ["totals"];
|
|
1333
|
+
this._countRequest = 0;
|
|
1334
|
+
}
|
|
1335
|
+
onRequestStart(param) {
|
|
1336
|
+
if (this.isIgnoreLoadingOnRequest(param)) {
|
|
1337
|
+
return;
|
|
1338
|
+
}
|
|
1339
|
+
this._countRequest++;
|
|
1340
|
+
this.loadingBar.show();
|
|
1341
|
+
if (this._timerLoading) {
|
|
1342
|
+
clearTimeout(this._timerLoading);
|
|
1343
|
+
}
|
|
1344
|
+
}
|
|
1345
|
+
;
|
|
1346
|
+
onRequestEnd(param) {
|
|
1347
|
+
if (this.isIgnoreLoadingOnRequest(param)) {
|
|
1348
|
+
return;
|
|
1349
|
+
}
|
|
1350
|
+
this._countRequest--;
|
|
1351
|
+
this._timerLoading = setTimeout(() => {
|
|
1352
|
+
if (this._countRequest <= 0) {
|
|
1353
|
+
this.loadingBar.hide();
|
|
1354
|
+
}
|
|
1355
|
+
}, this._debounceTime);
|
|
1356
|
+
}
|
|
1357
|
+
;
|
|
1358
|
+
isIgnoreLoadingOnRequest(param) {
|
|
1359
|
+
if (param == undefined) {
|
|
1360
|
+
return false;
|
|
1361
|
+
}
|
|
1362
|
+
if (param.url.includes("quietMode=true")) {
|
|
1363
|
+
return true;
|
|
1364
|
+
}
|
|
1365
|
+
if (param.requestBody == undefined) {
|
|
1366
|
+
return false;
|
|
1367
|
+
}
|
|
1368
|
+
if (param.requestBody.length == 1) {
|
|
1369
|
+
const { name } = param.requestBody[0].variables;
|
|
1370
|
+
if (name) {
|
|
1371
|
+
const nameParts = name.split(":");
|
|
1372
|
+
const nameType = nameParts[0];
|
|
1373
|
+
return this._ignoredNameTypes.indexOf(nameType) >= 0;
|
|
1374
|
+
}
|
|
1375
|
+
}
|
|
1376
|
+
return false;
|
|
1377
|
+
}
|
|
1378
|
+
;
|
|
1379
|
+
}
|
|
1422
1380
|
class PendingPromise {
|
|
1423
1381
|
constructor(resolve, reject) {
|
|
1424
1382
|
this.resolve = resolve;
|
|
@@ -482,9 +482,6 @@ const SnkGuidesViewer = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
482
482
|
await this.addErrorBadgeToGuide(guideName);
|
|
483
483
|
await this.openGuideNavigator(guideName);
|
|
484
484
|
}
|
|
485
|
-
if (action.type === Action.METADATA_LOADED) {
|
|
486
|
-
this.loadGuides(false);
|
|
487
|
-
}
|
|
488
485
|
}
|
|
489
486
|
async addErrorBadgeToGuide(guideName) {
|
|
490
487
|
var _a;
|
|
@@ -726,11 +726,9 @@ const SnkSimpleCrud = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
726
726
|
window.removeEventListener("keydown", this._keyDownHandler);
|
|
727
727
|
}
|
|
728
728
|
gridConfigChangeHandler(evt) {
|
|
729
|
-
evt.stopPropagation();
|
|
730
|
-
if (!this.configName)
|
|
731
|
-
return;
|
|
732
729
|
const config = evt.detail;
|
|
733
730
|
ConfigStorage.saveGridConfig(config, this.configName, this.resolveResourceID());
|
|
731
|
+
evt.stopPropagation();
|
|
734
732
|
}
|
|
735
733
|
modalConfigChangeHandler(evt) {
|
|
736
734
|
const config = evt.detail;
|
|
@@ -807,16 +805,18 @@ const SnkSimpleCrud = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
807
805
|
return;
|
|
808
806
|
this.goToView(VIEW_MODE.FORM);
|
|
809
807
|
}
|
|
808
|
+
renderTaskbarContent() {
|
|
809
|
+
var _a;
|
|
810
|
+
return (h("snk-taskbar", { class: this._currentViewMode === VIEW_MODE.FORM && "ez-box ez-box--shadow ez-padding--small", dataUnit: this.dataUnit, primaryButton: ((_a = this.dataState) === null || _a === void 0 ? void 0 : _a.isDirty) ? "SAVE" : "INSERT", "data-element-id": "grid_left", messagesBuilder: this.messagesBuilder, buttons: this._taskbarProcessor.buttons, actionsList: this.getActionsList(), disabledButtons: this._taskbarProcessor.disabledButtons, customButtons: this._taskbarProcessor.customButtons, "data-exporter-store-key": this.getDataExporterStoreKey(), slot: "leftButtons", presentationMode: PresentationMode.SECONDARY }, h("slot", { name: "TASKBAR_CUSTOM_ELEMENTS" })));
|
|
811
|
+
}
|
|
810
812
|
/* istanbul ignore next */
|
|
811
813
|
render() {
|
|
812
|
-
var _a;
|
|
813
814
|
if (this.dataUnit == undefined) {
|
|
814
815
|
return;
|
|
815
816
|
}
|
|
816
|
-
|
|
817
|
-
return (h("snk-data-unit", { ref: ref => this._snkDataUnit = ref, class: "simple-crud__container", dataUnit: this.dataUnit, useCancelConfirm: this.useCancelConfirm, onDataStateChange: evt => this.onDataStateChange(evt), onCancelEdition: this.handleCancelEdit.bind(this), pageSize: this.getPageSize(), onInsertionMode: this.handleDataUnitOnInsertionMode.bind(this), onDataUnitReady: (evt) => this.dataUnitReady.emit(evt.detail), ignoreSaveMessage: this._currentViewMode === VIEW_MODE.GRID && !this.enableGridInsert, onMessagesBuilderUpdated: evt => this.messagesBuilder = evt.detail, onDataUnitFieldsHidded: this.updateFormConfig.bind(this), domainMessagesBuilder: this.domainMessagesBuilder }, h("header", null, h("slot", { name: "snkSimpleCrudHeader" })), h("section", { class: "ez-box ez-box--shadow simple-crud__container-section" }, this._currentViewMode === VIEW_MODE.FORM && taskbarContent, h("ez-view-stack", { ref: (ref) => this._viewStack = ref, "data-element-id": "simple-crud" }, h("stack-item", null, h("ez-grid", { class: "ez-margin-bottom--large", ref: ref => this._grid = ref, dataUnit: this.dataUnit, config: this.gridConfig, "no-header": true, multipleSelection: this.multipleSelection, onEzDoubleClick: () => this.goToView(VIEW_MODE.FORM), onConfigChange: evt => this.gridConfigChangeHandler(evt), columnfilterDataSource: this.dataUnit.name && this.dataUnit.name.includes(InMemoryLoader.IN_MEMORY_DATA_UNIT_NAME)
|
|
817
|
+
return (h("snk-data-unit", { ref: ref => this._snkDataUnit = ref, class: "simple-crud__container", dataUnit: this.dataUnit, useCancelConfirm: this.useCancelConfirm, onDataStateChange: evt => this.onDataStateChange(evt), onCancelEdition: this.handleCancelEdit.bind(this), pageSize: this.getPageSize(), onInsertionMode: this.handleDataUnitOnInsertionMode.bind(this), onDataUnitReady: (evt) => this.dataUnitReady.emit(evt.detail), ignoreSaveMessage: this._currentViewMode === VIEW_MODE.GRID && !this.enableGridInsert, onMessagesBuilderUpdated: evt => this.messagesBuilder = evt.detail, onDataUnitFieldsHidded: this.updateFormConfig.bind(this), domainMessagesBuilder: this.domainMessagesBuilder }, h("header", null, h("slot", { name: "snkSimpleCrudHeader" })), h("section", { class: "ez-box ez-box--shadow simple-crud__container-section" }, h("ez-view-stack", { ref: (ref) => this._viewStack = ref, "data-element-id": "simple-crud" }, h("stack-item", null, h("ez-grid", { class: "ez-margin-bottom--large", ref: ref => this._grid = ref, dataUnit: this.dataUnit, config: this.gridConfig, "no-header": true, multipleSelection: this.multipleSelection, onEzDoubleClick: () => this.goToView(VIEW_MODE.FORM), onConfigChange: evt => this.gridConfigChangeHandler(evt), columnfilterDataSource: this.dataUnit.name && this.dataUnit.name.includes(InMemoryLoader.IN_MEMORY_DATA_UNIT_NAME)
|
|
818
818
|
? undefined
|
|
819
|
-
: this._multiSelectionListDataSource, useEnterLikeTab: this.useEnterLikeTab, autoFocus: this.autoFocus, enableGridInsert: this.enableGridInsert, enableContinuousInsert: this._enableContinuousInsert }, this.
|
|
819
|
+
: this._multiSelectionListDataSource, useEnterLikeTab: this.useEnterLikeTab, autoFocus: this.autoFocus, enableGridInsert: this.enableGridInsert, enableContinuousInsert: this._enableContinuousInsert }, this.renderTaskbarContent(), h("div", { slot: "footer" }, h("slot", { name: "snkSimpleCrudFooter" })))), h("stack-item", null, this.renderTaskbarContent(), h("ez-form", { ref: (ref) => this._form = ref, class: `ez-margin-top--large ${this.handleShowFormConfig() ? "simple-crud__form--hidden" : ""}`, dataUnit: this.dataUnit, config: this.getFormConfig(), fieldToFocus: this._fieldToGetFocus, onEzFormSetFields: (evt) => this.handleFormSetFields(evt.detail), onEzFormRequestClearFieldToFocus: this.clearFieldToFocusHandler.bind(this) }), this.handleShowFormConfig() && h("snk-form-config", { messagesBuilder: this.messagesBuilder, dataUnit: this.dataUnit, configManager: this._formConfigManager, onConfigClose: () => this.closeFormConfig() })), this.messagesBuilder && h("snk-configurator", { ref: (ref) => this._snkConfigurator = ref, viewMode: this._currentViewMode, messagesBuilder: this.messagesBuilder, onConfigSelected: (evt) => this.goToView(evt.detail), onOpenConfig: (evt) => this.openConfig(evt.detail), showActionButtons: this.showConfiguratorButtons, onSave: evt => this.handleConfiguratorEvent(evt, 'SAVE'), onCancel: evt => this.handleConfiguratorEvent(evt, 'CANCEL'), resourceID: this.resolveResourceID(), customContainerId: this._customContainerId })), h("div", { id: `${this._customContainerId}` }, h("slot", { name: "SnkConfigContainerSlot" }))), h("ez-modal", { modalSize: "small", closeEsc: false, closeOutsideClick: false, opened: this._showPopUpGridConfig, onEzCloseModal: () => this.closeGridConfig() }, h("snk-grid-config", { ref: ref => this._snkGridConfig = ref, config: this.gridConfig, "data-element-id": this._element.getAttribute(ElementIDUtils.DATA_ELEMENT_ID_ATTRIBUTE_NAME), selectedIndex: 0, configName: this.configName, onConfigChange: (evt) => this.modalConfigChangeHandler(evt), onConfigCancel: () => this.closeGridConfig(), resourceID: this.resolveResourceID() }))));
|
|
820
820
|
}
|
|
821
821
|
get _element() { return this; }
|
|
822
822
|
static get watchers() { return {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { R as ResourceFetcher, F as FormConfigFetcher } from './form-config-fetcher-
|
|
1
|
+
import { R as ResourceFetcher, F as FormConfigFetcher } from './form-config-fetcher-adbe5d34.js';
|
|
2
2
|
import { F as FilterItemType } from './filter-item-type.enum-d45e026f.js';
|
|
3
3
|
import { ObjectUtils } from '@sankhyalabs/core';
|
|
4
|
-
import { d as dist, D as DataFetcher } from './DataFetcher-
|
|
4
|
+
import { d as dist, D as DataFetcher } from './DataFetcher-a9c598f2.js';
|
|
5
5
|
|
|
6
6
|
class GridConfigFetcher extends ResourceFetcher {
|
|
7
7
|
constructor() {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { D as DataFetcher } from './DataFetcher-
|
|
2
|
-
import './pesquisa-fetcher-
|
|
1
|
+
import { D as DataFetcher } from './DataFetcher-a9c598f2.js';
|
|
2
|
+
import './pesquisa-fetcher-8edaa8cd.js';
|
|
3
3
|
import { SortMode, ApplicationContext, UserInterface, DateUtils, ObjectUtils, StringUtils, NumberUtils, DataType } from '@sankhyalabs/core';
|
|
4
4
|
import './index-3aa4977a.js';
|
|
5
5
|
import './ISave-d8c8bc59.js';
|
|
6
6
|
import '@sankhyalabs/ezui/dist/collection/utils/constants';
|
|
7
7
|
import { UserInterface as UserInterface$1 } from '@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata';
|
|
8
|
-
import { P as PreloadManager } from './dataunit-fetcher-
|
|
8
|
+
import { P as PreloadManager } from './dataunit-fetcher-c24c76c6.js';
|
|
9
9
|
import './filter-item-type.enum-d45e026f.js';
|
|
10
|
-
import './form-config-fetcher-
|
|
10
|
+
import './form-config-fetcher-adbe5d34.js';
|
|
11
11
|
import InMemoryFilterColumnDataSource from '@sankhyalabs/ezui/dist/collection/components/ez-grid/utils/InMemoryFilterColumnDataSource';
|
|
12
12
|
import { h } from './index-a7d3d3f1.js';
|
|
13
13
|
|
|
@@ -24,28 +24,6 @@ class CrudUtils {
|
|
|
24
24
|
});
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
static parseCrudResults(entities, onlyFirst) {
|
|
28
|
-
if (!Array.isArray(entities)) {
|
|
29
|
-
entities = [entities];
|
|
30
|
-
}
|
|
31
|
-
const crudFindResults = [];
|
|
32
|
-
for (const entity of entities) {
|
|
33
|
-
let crudFindResult = {
|
|
34
|
-
fields: new Map()
|
|
35
|
-
};
|
|
36
|
-
for (let key in entity) {
|
|
37
|
-
let fieldValue = entity[key];
|
|
38
|
-
if (fieldValue.hasOwnProperty('$')) {
|
|
39
|
-
crudFindResult.fields.set(key, fieldValue.$);
|
|
40
|
-
}
|
|
41
|
-
if (onlyFirst) {
|
|
42
|
-
break;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
crudFindResults.push(crudFindResult);
|
|
46
|
-
}
|
|
47
|
-
return crudFindResults.length > 1 ? crudFindResults : crudFindResults[0];
|
|
48
|
-
}
|
|
49
27
|
static find(entityName, fields, criteria, onlyFirst = true, criteriaExpression, orderBy) {
|
|
50
28
|
const SERVICE_CRUD_FIND = "mge@crud.find";
|
|
51
29
|
let parsedFields = [];
|
|
@@ -93,11 +71,24 @@ class CrudUtils {
|
|
|
93
71
|
DataFetcher.get().callServiceBroker(SERVICE_CRUD_FIND, JSON.stringify(request)).then((result) => {
|
|
94
72
|
var _a;
|
|
95
73
|
let entities = (_a = result.entidades) === null || _a === void 0 ? void 0 : _a.entidade;
|
|
96
|
-
if (
|
|
74
|
+
if (entities != undefined) {
|
|
75
|
+
let crudFindResult = {
|
|
76
|
+
fields: new Map()
|
|
77
|
+
};
|
|
78
|
+
for (let key in entities) {
|
|
79
|
+
let fieldValue = entities[key];
|
|
80
|
+
if (fieldValue.hasOwnProperty('$')) {
|
|
81
|
+
crudFindResult.fields.set(key, fieldValue.$);
|
|
82
|
+
}
|
|
83
|
+
if (onlyFirst) {
|
|
84
|
+
break;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
resolve(crudFindResult);
|
|
88
|
+
}
|
|
89
|
+
else {
|
|
97
90
|
resolve(null);
|
|
98
91
|
}
|
|
99
|
-
const crudFindResults = this.parseCrudResults(entities, onlyFirst);
|
|
100
|
-
resolve(crudFindResults);
|
|
101
92
|
});
|
|
102
93
|
});
|
|
103
94
|
}
|
|
@@ -6777,8 +6777,7 @@ class DataFetcher {
|
|
|
6777
6777
|
}
|
|
6778
6778
|
payloadJson['requestBody']['clientEventList'].clientEvent.push({ $: key });
|
|
6779
6779
|
}
|
|
6780
|
-
|
|
6781
|
-
DataFetcher.requestListener.forEach(listener => listener.onRequestStart({ url: url, requestBody: payload, requestId }));
|
|
6780
|
+
DataFetcher.requestListener.forEach(listener => listener.onRequestStart({ url: url, requestBody: payload }));
|
|
6782
6781
|
http.open("POST", url, true);
|
|
6783
6782
|
http.withCredentials = true;
|
|
6784
6783
|
http.send(ObjectUtils.objectToString(payloadJson));
|
|
@@ -6818,7 +6817,7 @@ class DataFetcher {
|
|
|
6818
6817
|
else if (http.readyState == 4 && http.status != 200) {
|
|
6819
6818
|
reject(new ErrorException(`Erro ao executar serviço: ${serviceName}`, http.responseText));
|
|
6820
6819
|
}
|
|
6821
|
-
DataFetcher.requestListener.forEach(listener => listener.onRequestEnd({ url: url, requestBody: payload
|
|
6820
|
+
DataFetcher.requestListener.forEach(listener => listener.onRequestEnd({ url: url, requestBody: payload }));
|
|
6822
6821
|
};
|
|
6823
6822
|
});
|
|
6824
6823
|
}
|
|
@@ -6923,8 +6922,7 @@ class DataFetcher {
|
|
|
6923
6922
|
const errorsResponse = [];
|
|
6924
6923
|
const responseExtensions = [];
|
|
6925
6924
|
const url = this.buildGraphQlURL(quietMode);
|
|
6926
|
-
|
|
6927
|
-
DataFetcher.requestListener.forEach(listener => listener.onRequestStart({ url, requestBody: request, requestId }));
|
|
6925
|
+
DataFetcher.requestListener.forEach(listener => listener.onRequestStart({ url, requestBody: request }));
|
|
6928
6926
|
try {
|
|
6929
6927
|
const response = await dist.batchRequests(url, request, { 'Content-Type': `application/json; charset=${window['SERVER_ENCODING'] || 'UTF-8'}` });
|
|
6930
6928
|
response.forEach((resItem, index) => {
|
|
@@ -6958,11 +6956,11 @@ class DataFetcher {
|
|
|
6958
6956
|
});
|
|
6959
6957
|
}
|
|
6960
6958
|
else {
|
|
6961
|
-
DataFetcher.requestListener.forEach(listener => listener.onRequestEnd({ url, requestBody: request
|
|
6959
|
+
DataFetcher.requestListener.forEach(listener => listener.onRequestEnd({ url, requestBody: request }));
|
|
6962
6960
|
throw new ErrorException("Falha de comunicação", err.message);
|
|
6963
6961
|
}
|
|
6964
6962
|
}
|
|
6965
|
-
DataFetcher.requestListener.forEach(listener => listener.onRequestEnd({ url, requestBody: request
|
|
6963
|
+
DataFetcher.requestListener.forEach(listener => listener.onRequestEnd({ url, requestBody: request }));
|
|
6966
6964
|
return { data: dataResponse, errors: errorsResponse, extensions: responseExtensions };
|
|
6967
6965
|
}
|
|
6968
6966
|
isHttpError(err) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { C as ConfigStorage } from './ConfigStorage-
|
|
1
|
+
import { C as ConfigStorage } from './ConfigStorage-7b36d041.js';
|
|
2
2
|
import { ObjectUtils, StringUtils } from '@sankhyalabs/core';
|
|
3
|
-
import { F as FormConfigFetcher } from './form-config-fetcher-
|
|
4
|
-
import {
|
|
3
|
+
import { F as FormConfigFetcher } from './form-config-fetcher-adbe5d34.js';
|
|
4
|
+
import { T as TAB_NAMES } from './constants-8457af36.js';
|
|
5
5
|
|
|
6
6
|
class SnkFormConfigManager {
|
|
7
7
|
constructor(configName, resourceID, onConfigChange, dataUnit) {
|
|
@@ -172,15 +172,6 @@ const snkAttachMessages$1 = {
|
|
|
172
172
|
}
|
|
173
173
|
};
|
|
174
174
|
|
|
175
|
-
const snkDistinctSearchMessages = {
|
|
176
|
-
titleBadgeNew: "novo",
|
|
177
|
-
titleAdd: "Adicionar",
|
|
178
|
-
availableResults: "resultados disponíveis",
|
|
179
|
-
availableResult: "resultado disponível",
|
|
180
|
-
limitResult: "Esta pesquisa foi limitada, existem mais resultados",
|
|
181
|
-
emptyResult: "Nenhum resultado disponível. <br/>Você pode adicionar um novo termo",
|
|
182
|
-
};
|
|
183
|
-
|
|
184
175
|
const snkConfigOptionsMessages = {
|
|
185
176
|
label: {
|
|
186
177
|
nameField: "Nome do Campo *",
|
|
@@ -561,7 +552,6 @@ class SnkMessageBuilder {
|
|
|
561
552
|
snkEntityList: snkEntityListMessages,
|
|
562
553
|
snkActionsButton: snkActionsButtonMessages,
|
|
563
554
|
snkPrintSelector: snkPrintSelectorMessages,
|
|
564
|
-
snkDistinctSearch: snkDistinctSearchMessages,
|
|
565
555
|
};
|
|
566
556
|
this._currentOperation = OperationMap.CLEAN;
|
|
567
557
|
this._domainName = domainName;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ObjectUtils } from '@sankhyalabs/core';
|
|
2
|
-
import { R as ResourceFetcher } from './form-config-fetcher-
|
|
2
|
+
import { R as ResourceFetcher } from './form-config-fetcher-adbe5d34.js';
|
|
3
3
|
|
|
4
4
|
class AuthFetcher extends ResourceFetcher {
|
|
5
5
|
getData(resourceID) {
|
|
@@ -90,4 +90,4 @@ var SIMPLE_CRUD_MODE;
|
|
|
90
90
|
SIMPLE_CRUD_MODE[SIMPLE_CRUD_MODE["IN_MEMORY"] = 1] = "IN_MEMORY";
|
|
91
91
|
})(SIMPLE_CRUD_MODE || (SIMPLE_CRUD_MODE = {}));
|
|
92
92
|
|
|
93
|
-
export { ACTION_CONFIG as A, CONFIG_EVENTS as C, DEFAULT_TYPE as D, KEY_EVENTS as K, ORDER_VALUES as O, REPORT_LAUNCHER_RESOURCE_ID as R, SIMPLE_CRUD_MODE as S,
|
|
93
|
+
export { ACTION_CONFIG as A, CONFIG_EVENTS as C, DEFAULT_TYPE as D, KEY_EVENTS as K, ORDER_VALUES as O, REPORT_LAUNCHER_RESOURCE_ID as R, SIMPLE_CRUD_MODE as S, TAB_NAMES as T, VARS_BY_TYPE as V, CONFIG_SORTABLE_EVENTS as a, TAGS_BY_TYPE as b, TYPE_ACTIONS as c, VIEW_MODE as d };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ObjectUtils, DataUnit, DataType, DateUtils, StringUtils, ChangeOperation, ApplicationContext, UserInterface, DataUnitStorage } from '@sankhyalabs/core';
|
|
2
|
-
import { D as DataFetcher, d as dist } from './DataFetcher-
|
|
2
|
+
import { D as DataFetcher, d as dist } from './DataFetcher-a9c598f2.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
|
import { ColumnFilterManager } from '@sankhyalabs/ezui/dist/collection/components/ez-grid/utils';
|
|
@@ -712,7 +712,7 @@ class DataUnitDataLoader {
|
|
|
712
712
|
}
|
|
713
713
|
const count = loadingInfo.count;
|
|
714
714
|
if (loadingInfo.loadingInProgress) {
|
|
715
|
-
dataUnit.updatePagination(Object.assign(Object.assign({}, dataUnitPagination), { count
|
|
715
|
+
dataUnit.updatePagination(Object.assign(Object.assign({}, dataUnitPagination), { count }));
|
|
716
716
|
return;
|
|
717
717
|
}
|
|
718
718
|
if (loadingInfo.needReload) {
|
|
@@ -720,7 +720,7 @@ class DataUnitDataLoader {
|
|
|
720
720
|
dataUnit.gotoPage(0);
|
|
721
721
|
return;
|
|
722
722
|
}
|
|
723
|
-
dataUnit.updatePagination(Object.assign(Object.assign({}, dataUnitPagination), { total: count, count
|
|
723
|
+
dataUnit.updatePagination(Object.assign(Object.assign({}, dataUnitPagination), { total: count, count }));
|
|
724
724
|
}
|
|
725
725
|
static registryLoading(dataUnit, loadingInfo) {
|
|
726
726
|
if (loadingInfo == undefined) {
|
|
@@ -2034,6 +2034,18 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
2034
2034
|
return import(
|
|
2035
2035
|
/* webpackMode: "lazy" */
|
|
2036
2036
|
'./snk-application.entry.js').then(processMod, consoleError);
|
|
2037
|
+
case 'snk-form':
|
|
2038
|
+
return import(
|
|
2039
|
+
/* webpackMode: "lazy" */
|
|
2040
|
+
'./snk-form.entry.js').then(processMod, consoleError);
|
|
2041
|
+
case 'snk-form-config':
|
|
2042
|
+
return import(
|
|
2043
|
+
/* webpackMode: "lazy" */
|
|
2044
|
+
'./snk-form-config.entry.js').then(processMod, consoleError);
|
|
2045
|
+
case 'snk-config-options':
|
|
2046
|
+
return import(
|
|
2047
|
+
/* webpackMode: "lazy" */
|
|
2048
|
+
'./snk-config-options.entry.js').then(processMod, consoleError);
|
|
2037
2049
|
case 'snk-tab-config':
|
|
2038
2050
|
return import(
|
|
2039
2051
|
/* webpackMode: "lazy" */
|
|
@@ -2074,6 +2086,22 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
2074
2086
|
return import(
|
|
2075
2087
|
/* webpackMode: "lazy" */
|
|
2076
2088
|
'./snk-data-unit.entry.js').then(processMod, consoleError);
|
|
2089
|
+
case 'snk-filter-bar':
|
|
2090
|
+
return import(
|
|
2091
|
+
/* webpackMode: "lazy" */
|
|
2092
|
+
'./snk-filter-bar.entry.js').then(processMod, consoleError);
|
|
2093
|
+
case 'snk-filter-item':
|
|
2094
|
+
return import(
|
|
2095
|
+
/* webpackMode: "lazy" */
|
|
2096
|
+
'./snk-filter-item.entry.js').then(processMod, consoleError);
|
|
2097
|
+
case 'snk-filter-list':
|
|
2098
|
+
return import(
|
|
2099
|
+
/* webpackMode: "lazy" */
|
|
2100
|
+
'./snk-filter-list.entry.js').then(processMod, consoleError);
|
|
2101
|
+
case 'snk-filter-modal':
|
|
2102
|
+
return import(
|
|
2103
|
+
/* webpackMode: "lazy" */
|
|
2104
|
+
'./snk-filter-modal.entry.js').then(processMod, consoleError);
|
|
2077
2105
|
case 'snk-field-config':
|
|
2078
2106
|
return import(
|
|
2079
2107
|
/* webpackMode: "lazy" */
|
|
@@ -2090,14 +2118,6 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
2090
2118
|
return import(
|
|
2091
2119
|
/* webpackMode: "lazy" */
|
|
2092
2120
|
'./snk-taskbar.entry.js').then(processMod, consoleError);
|
|
2093
|
-
case 'snk-config-options_3':
|
|
2094
|
-
return import(
|
|
2095
|
-
/* webpackMode: "lazy" */
|
|
2096
|
-
'./snk-config-options_3.entry.js').then(processMod, consoleError);
|
|
2097
|
-
case 'snk-filter-bar_4':
|
|
2098
|
-
return import(
|
|
2099
|
-
/* webpackMode: "lazy" */
|
|
2100
|
-
'./snk-filter-bar_4.entry.js').then(processMod, consoleError);
|
|
2101
2121
|
case 'snk-actions-form':
|
|
2102
2122
|
return import(
|
|
2103
2123
|
/* webpackMode: "lazy" */
|
|
@@ -2110,10 +2130,6 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
2110
2130
|
return import(
|
|
2111
2131
|
/* webpackMode: "lazy" */
|
|
2112
2132
|
'./snk-custom-slot-elements.entry.js').then(processMod, consoleError);
|
|
2113
|
-
case 'snk-distinct-search':
|
|
2114
|
-
return import(
|
|
2115
|
-
/* webpackMode: "lazy" */
|
|
2116
|
-
'./snk-distinct-search.entry.js').then(processMod, consoleError);
|
|
2117
2133
|
case 'snk-entity-list':
|
|
2118
2134
|
return import(
|
|
2119
2135
|
/* webpackMode: "lazy" */
|
|
@@ -2158,10 +2174,6 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
2158
2174
|
return import(
|
|
2159
2175
|
/* webpackMode: "lazy" */
|
|
2160
2176
|
'./teste-pesquisa.entry.js').then(processMod, consoleError);
|
|
2161
|
-
case 'input-distinct-search_2':
|
|
2162
|
-
return import(
|
|
2163
|
-
/* webpackMode: "lazy" */
|
|
2164
|
-
'./input-distinct-search_2.entry.js').then(processMod, consoleError);
|
|
2165
2177
|
case 'snk-filter-modal-item':
|
|
2166
2178
|
return import(
|
|
2167
2179
|
/* webpackMode: "lazy" */
|