@sankhyalabs/sankhyablocks 8.15.0-rc.7 → 8.15.0-rc.8
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/{pesquisa-fetcher-c416a6b7.js → pesquisa-fetcher-8bbee432.js} +1 -8
- package/dist/cjs/snk-actions-button_2.cjs.entry.js +1 -1
- package/dist/cjs/snk-application.cjs.entry.js +1 -1
- package/dist/cjs/snk-attach.cjs.entry.js +1 -1
- package/dist/cjs/snk-crud.cjs.entry.js +1 -1
- package/dist/cjs/snk-detail-view.cjs.entry.js +2 -2
- package/dist/cjs/snk-form-config.cjs.entry.js +39 -25
- package/dist/cjs/{snk-guides-viewer-bd69fce4.js → snk-guides-viewer-100c3098.js} +1 -1
- package/dist/cjs/snk-guides-viewer.cjs.entry.js +2 -2
- package/dist/cjs/snk-personalized-filter-editor.cjs.entry.js +3 -1
- package/dist/cjs/snk-simple-crud.cjs.entry.js +1 -1
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-personalized-filter-editor/snk-personalized-filter-editor.js +3 -1
- package/dist/collection/components/snk-form/subcomponents/snk-form-config/snk-form-config.js +39 -25
- package/dist/collection/lib/http/data-fetcher/fetchers/pesquisa-fetcher.js +1 -8
- package/dist/components/dataunit-fetcher.js +1 -8
- package/dist/components/snk-form-config2.js +39 -25
- package/dist/components/snk-personalized-filter-editor.js +3 -1
- package/dist/esm/{pesquisa-fetcher-ab16a2e8.js → pesquisa-fetcher-5a8cae10.js} +1 -8
- package/dist/esm/snk-actions-button_2.entry.js +1 -1
- package/dist/esm/snk-application.entry.js +1 -1
- package/dist/esm/snk-attach.entry.js +1 -1
- package/dist/esm/snk-crud.entry.js +1 -1
- package/dist/esm/snk-detail-view.entry.js +2 -2
- package/dist/esm/snk-form-config.entry.js +39 -25
- package/dist/esm/{snk-guides-viewer-fde82cc1.js → snk-guides-viewer-36a01f1c.js} +1 -1
- package/dist/esm/snk-guides-viewer.entry.js +2 -2
- package/dist/esm/snk-personalized-filter-editor.entry.js +3 -1
- package/dist/esm/snk-simple-crud.entry.js +1 -1
- package/dist/sankhyablocks/p-2ae395fe.entry.js +1 -0
- package/dist/sankhyablocks/p-3e91d5ea.entry.js +1 -0
- package/dist/sankhyablocks/{p-b7004423.entry.js → p-453c01a8.entry.js} +1 -1
- package/dist/sankhyablocks/{p-c6247955.js → p-5e681b7b.js} +1 -1
- package/dist/sankhyablocks/p-b11aa1e0.entry.js +1 -0
- package/dist/sankhyablocks/{p-fd0a8d68.entry.js → p-bf658a8a.entry.js} +2 -2
- package/dist/sankhyablocks/{p-57212bb5.js → p-c143a240.js} +1 -1
- package/dist/sankhyablocks/{p-d4802f81.entry.js → p-d0844d18.entry.js} +1 -1
- package/dist/sankhyablocks/{p-91b7f78a.entry.js → p-d7cda92f.entry.js} +1 -1
- package/dist/sankhyablocks/{p-5f5b58b6.entry.js → p-d7d85fa9.entry.js} +1 -1
- package/dist/sankhyablocks/{p-fb842329.entry.js → p-ee619e29.entry.js} +1 -1
- package/dist/sankhyablocks/sankhyablocks.esm.js +1 -1
- package/dist/types/components/snk-form/subcomponents/snk-form-config/snk-form-config.d.ts +1 -0
- package/package.json +1 -1
- package/dist/sankhyablocks/p-0b0b36ac.entry.js +0 -1
- package/dist/sankhyablocks/p-84bb8f47.entry.js +0 -1
- package/dist/sankhyablocks/p-c758265f.entry.js +0 -1
@@ -34,6 +34,7 @@ const SnkFormConfig = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
34
34
|
this._formFieldsStyle = "ez-col ez-col--sd-12 ez-col--tb-4 ez-padding-right--small ez-padding-bottom--medium sc-snk-form-config";
|
35
35
|
this._fieldsAvailableStyle = "ez-col ez-col--sd-12 ez-col--tb-12 ez-margin-bottom--medium ez-margin-right--medium sc-snk-form-config";
|
36
36
|
this._fieldFloatingStyle = "form-config__field-config--dragged";
|
37
|
+
this._sortableTimer = 100;
|
37
38
|
this._formConfigOptions = [];
|
38
39
|
this._fieldConfigSelected = undefined;
|
39
40
|
this._layoutFormConfig = undefined;
|
@@ -48,20 +49,27 @@ const SnkFormConfig = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
48
49
|
this.messagesBuilder = undefined;
|
49
50
|
}
|
50
51
|
observeConfigManager() {
|
51
|
-
this.loadConfig();
|
52
|
+
this.loadConfig(this._sortableTimer);
|
52
53
|
}
|
53
|
-
loadFields() {
|
54
|
+
loadFields(updateTimer = 0) {
|
54
55
|
this._layoutFormConfig = [];
|
55
|
-
|
56
|
+
if (updateTimer > 0) {
|
57
|
+
setTimeout(() => {
|
58
|
+
this.buildFields();
|
59
|
+
}, updateTimer);
|
60
|
+
}
|
61
|
+
else {
|
62
|
+
this.buildFields();
|
63
|
+
}
|
56
64
|
}
|
57
65
|
buildFields() {
|
58
66
|
this.buildFormConfig();
|
59
67
|
this.buildAvailableFields();
|
60
68
|
}
|
61
|
-
loadFormConfig() {
|
69
|
+
loadFormConfig(updateTimer) {
|
62
70
|
var _a;
|
63
71
|
this._formConfig = this.getConfig();
|
64
|
-
this.loadFields();
|
72
|
+
this.loadFields(updateTimer);
|
65
73
|
this.controlFieldConfig();
|
66
74
|
if (((_a = this._filterFieldsAvailable) === null || _a === void 0 ? void 0 : _a.value) != undefined) {
|
67
75
|
this._filterFieldsAvailable.value = "";
|
@@ -104,12 +112,12 @@ const SnkFormConfig = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
104
112
|
}
|
105
113
|
}
|
106
114
|
resetChangeConfig() {
|
107
|
-
this.loadFormConfig();
|
115
|
+
this.loadFormConfig(this._sortableTimer);
|
108
116
|
this.clearTempGroups();
|
109
117
|
}
|
110
118
|
resetChangeOptionConfig() {
|
111
119
|
this._formConfigChanged = false;
|
112
|
-
this.loadConfig();
|
120
|
+
this.loadConfig(this._sortableTimer);
|
113
121
|
this.clearTempGroups();
|
114
122
|
}
|
115
123
|
getTabsToSave() {
|
@@ -324,7 +332,9 @@ const SnkFormConfig = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
324
332
|
&& oldContainer.id === newContainer.id) {
|
325
333
|
evt.cancel();
|
326
334
|
this._fieldsAvailable = [];
|
327
|
-
|
335
|
+
setTimeout(() => {
|
336
|
+
this.buildAvailableFields();
|
337
|
+
}, this._sortableTimer);
|
328
338
|
return true;
|
329
339
|
}
|
330
340
|
return false;
|
@@ -367,7 +377,11 @@ const SnkFormConfig = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
367
377
|
if (isNewGroup) {
|
368
378
|
this.clearTempGroups(true);
|
369
379
|
}
|
370
|
-
|
380
|
+
const sortableTimer = oldContainer.dataset.groupName !== newContainer.dataset.groupName
|
381
|
+
|| (newContainer.id === CONTAINER_ID.withoutGroup && oldContainer.id === CONTAINER_ID.fieldsAvailable)
|
382
|
+
? this._sortableTimer
|
383
|
+
: 0;
|
384
|
+
this.updateFieldsToSave(sortableTimer);
|
371
385
|
}, this._renderTimer);
|
372
386
|
return true;
|
373
387
|
}
|
@@ -397,12 +411,12 @@ const SnkFormConfig = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
397
411
|
return;
|
398
412
|
}
|
399
413
|
}
|
400
|
-
updateFieldsToSave() {
|
414
|
+
updateFieldsToSave(updateTimer = 0) {
|
401
415
|
const fields = this.getFieldsToSave();
|
402
416
|
if ((fields === null || fields === void 0 ? void 0 : fields.length) > 0) {
|
403
417
|
this._formConfig.fields = fields;
|
404
418
|
}
|
405
|
-
this.loadFields();
|
419
|
+
this.loadFields(updateTimer);
|
406
420
|
this._formConfigChanged = true;
|
407
421
|
}
|
408
422
|
controlSortableField() {
|
@@ -432,7 +446,7 @@ const SnkFormConfig = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
432
446
|
controlStopDraggingGroup(evt) {
|
433
447
|
if (evt.data.newIndex !== evt.data.oldIndex) {
|
434
448
|
setTimeout(() => {
|
435
|
-
this.updateFieldsToSave();
|
449
|
+
this.updateFieldsToSave(this._sortableTimer);
|
436
450
|
}, this._renderTimer);
|
437
451
|
}
|
438
452
|
}
|
@@ -505,7 +519,7 @@ const SnkFormConfig = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
505
519
|
});
|
506
520
|
if (tabs.length > 0) {
|
507
521
|
this._formConfig.tabs = tabs;
|
508
|
-
this.loadFields();
|
522
|
+
this.loadFields(this._sortableTimer);
|
509
523
|
this.controlFieldConfig();
|
510
524
|
this._formConfigChanged = true;
|
511
525
|
}
|
@@ -529,13 +543,13 @@ const SnkFormConfig = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
529
543
|
if (config != undefined) {
|
530
544
|
this._formConfig = config;
|
531
545
|
this._tabSelected = 1;
|
532
|
-
this.loadFields();
|
546
|
+
this.loadFields(this._sortableTimer);
|
533
547
|
this.controlFieldConfig();
|
534
548
|
this.clearTempGroups();
|
535
549
|
}
|
536
550
|
}
|
537
|
-
loadConfig() {
|
538
|
-
this.loadFormConfig();
|
551
|
+
loadConfig(updateTimer = 0) {
|
552
|
+
this.loadFormConfig(updateTimer);
|
539
553
|
this.loadUserConfig();
|
540
554
|
}
|
541
555
|
addNewGroup() {
|
@@ -576,7 +590,7 @@ const SnkFormConfig = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
576
590
|
});
|
577
591
|
}
|
578
592
|
else {
|
579
|
-
this.updateFieldsToSave();
|
593
|
+
this.updateFieldsToSave(this._sortableTimer);
|
580
594
|
}
|
581
595
|
}
|
582
596
|
checkGroupExists(newLabel, indexGroup, isTempGroup = false) {
|
@@ -622,7 +636,7 @@ const SnkFormConfig = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
622
636
|
field.group = newLabel;
|
623
637
|
}
|
624
638
|
});
|
625
|
-
this.loadFields();
|
639
|
+
this.loadFields(this._sortableTimer);
|
626
640
|
this.controlFieldConfig();
|
627
641
|
this._formConfigChanged = true;
|
628
642
|
}
|
@@ -836,14 +850,14 @@ const SnkFormConfig = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
836
850
|
this._formConfigChanged = true;
|
837
851
|
this.resetSortables();
|
838
852
|
}
|
839
|
-
controlRemoveFieldConfig(fieldConfig) {
|
853
|
+
controlRemoveFieldConfig(fieldConfig, updateTimer) {
|
840
854
|
var _a;
|
841
855
|
this._formConfigChanged = false;
|
842
856
|
if (fieldConfig == undefined) {
|
843
857
|
return;
|
844
858
|
}
|
845
859
|
this._formConfig.fields = (_a = this._formConfig.fields) === null || _a === void 0 ? void 0 : _a.filter((field) => field.name !== fieldConfig.name);
|
846
|
-
this.loadFields();
|
860
|
+
this.loadFields(updateTimer);
|
847
861
|
this.controlFieldConfig();
|
848
862
|
this._formConfigChanged = true;
|
849
863
|
this.resetSortables();
|
@@ -852,14 +866,14 @@ const SnkFormConfig = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
852
866
|
this.controlSortableField();
|
853
867
|
this.controlSortableGroup();
|
854
868
|
}
|
855
|
-
handleFieldConfigChange(evt) {
|
869
|
+
handleFieldConfigChange(evt, updateTimer = 0) {
|
856
870
|
const { field: fieldConfig, type: actionType } = evt.detail;
|
857
871
|
if (actionType === ACTION_CONFIG.configuration) {
|
858
872
|
this.controlFieldConfig(fieldConfig);
|
859
873
|
return;
|
860
874
|
}
|
861
875
|
if (actionType === ACTION_CONFIG.remove) {
|
862
|
-
this.controlRemoveFieldConfig(fieldConfig);
|
876
|
+
this.controlRemoveFieldConfig(fieldConfig, updateTimer);
|
863
877
|
return;
|
864
878
|
}
|
865
879
|
if (actionType === ACTION_CONFIG.add) {
|
@@ -880,7 +894,7 @@ const SnkFormConfig = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
880
894
|
tab.label = newLabel;
|
881
895
|
}
|
882
896
|
});
|
883
|
-
this.loadFields();
|
897
|
+
this.loadFields(this._sortableTimer);
|
884
898
|
this.controlFieldConfig();
|
885
899
|
this._formConfigChanged = true;
|
886
900
|
}
|
@@ -900,7 +914,7 @@ const SnkFormConfig = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
900
914
|
this._formConfig.tabs = (_a = this._formConfig.tabs) === null || _a === void 0 ? void 0 : _a.filter((tab) => {
|
901
915
|
return tab.label !== tabSelected.detail.label;
|
902
916
|
});
|
903
|
-
this.loadFields();
|
917
|
+
this.loadFields(this._sortableTimer);
|
904
918
|
this.controlFieldConfig();
|
905
919
|
this._formConfigChanged = true;
|
906
920
|
}
|
@@ -913,7 +927,7 @@ const SnkFormConfig = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
913
927
|
tab.visible = !tab.visible;
|
914
928
|
}
|
915
929
|
});
|
916
|
-
this.loadFields();
|
930
|
+
this.loadFields(this._sortableTimer);
|
917
931
|
this.controlFieldConfig();
|
918
932
|
this._formConfigChanged = true;
|
919
933
|
}
|
@@ -64,8 +64,10 @@ const SnkFilterPersonalized = /*@__PURE__*/ proxyCustomElement(class extends HTM
|
|
64
64
|
return this.presentationMode === EPresentationMode.MODAL;
|
65
65
|
}
|
66
66
|
doSearch(mode, argument, param) {
|
67
|
+
const context = Object.assign({}, param.searchContext);
|
68
|
+
context.searchOptions = Object.assign(Object.assign({}, context.searchOptions), { showInactives: "true" });
|
67
69
|
return new Promise((resolve, reject) => {
|
68
|
-
this._application.executePreparedSearch(mode, argument,
|
70
|
+
this._application.executePreparedSearch(mode, argument, context)
|
69
71
|
.then(result => {
|
70
72
|
resolve(result);
|
71
73
|
}).catch(reason => {
|
@@ -851,14 +851,7 @@ class PesquisaFetcher {
|
|
851
851
|
};
|
852
852
|
}
|
853
853
|
const options = searchOptions != undefined
|
854
|
-
? {
|
855
|
-
"pkFieldName": searchOptions.codeFieldName,
|
856
|
-
"label": searchOptions.descriptionFieldName,
|
857
|
-
"fieldName": searchOptions.codeFieldName,
|
858
|
-
"useDescriptionOptions": false,
|
859
|
-
"enableRowsCounter": true
|
860
|
-
}
|
861
|
-
: undefined;
|
854
|
+
? Object.assign(Object.assign({}, searchOptions), { "pkFieldName": searchOptions.codeFieldName, "label": searchOptions.descriptionFieldName, "fieldName": searchOptions.codeFieldName, "useDescriptionOptions": false, "enableRowsCounter": true }) : undefined;
|
862
855
|
const reqBody = {
|
863
856
|
"serviceName": serviceName,
|
864
857
|
"requestBody": {
|
@@ -2,7 +2,7 @@ import { r as registerInstance, h, H as Host, g as getElement, c as createEvent
|
|
2
2
|
import { ApplicationContext, StringUtils, ErrorException, WarningException, ObjectUtils, DateUtils, ArrayUtils, ElementIDUtils } from '@sankhyalabs/core';
|
3
3
|
import { D as DataFetcher } from './DataFetcher-a650ae58.js';
|
4
4
|
import { P as ParamType } from './ParamType-d5152b06.js';
|
5
|
-
import './pesquisa-fetcher-
|
5
|
+
import './pesquisa-fetcher-5a8cae10.js';
|
6
6
|
import './index-0ece87a6.js';
|
7
7
|
import './ISave-d8c8bc59.js';
|
8
8
|
import '@sankhyalabs/ezui/dist/collection/utils/constants';
|
@@ -4,7 +4,7 @@ import { ApplicationUtils } from '@sankhyalabs/ezui/dist/collection/utils';
|
|
4
4
|
import { C as ConfigStorage } from './ConfigStorage-39ed8aeb.js';
|
5
5
|
import { d as dist, D as DataFetcher, U as UrlUtils } from './DataFetcher-a650ae58.js';
|
6
6
|
import { A as AutorizationType, a as AuthFetcher } from './auth-fetcher-17dc5b5e.js';
|
7
|
-
import { D as DataUnitFetcher, P as PesquisaFetcher } from './pesquisa-fetcher-
|
7
|
+
import { D as DataUnitFetcher, P as PesquisaFetcher } from './pesquisa-fetcher-5a8cae10.js';
|
8
8
|
import { S as SnkMessageBuilder } from './SnkMessageBuilder-0fb796b9.js';
|
9
9
|
import './form-config-fetcher-f121f880.js';
|
10
10
|
import './filter-item-type.enum-d45e026f.js';
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-a7d3d3f1.js';
|
2
2
|
import { ApplicationContext, DataType, Action, UserInterface, StringUtils, DataUnit } from '@sankhyalabs/core';
|
3
3
|
import { D as DataFetcher } from './DataFetcher-a650ae58.js';
|
4
|
-
import { D as DataUnitFetcher } from './pesquisa-fetcher-
|
4
|
+
import { D as DataUnitFetcher } from './pesquisa-fetcher-5a8cae10.js';
|
5
5
|
import './index-0ece87a6.js';
|
6
6
|
import { S as SaveErrorsEnum } from './ISave-d8c8bc59.js';
|
7
7
|
import './filter-item-type.enum-d45e026f.js';
|
@@ -2,7 +2,7 @@ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement
|
|
2
2
|
import { StringUtils, ElementIDUtils, ApplicationContext, JSUtils, FloatingManager } from '@sankhyalabs/core';
|
3
3
|
import { T as TaskbarElement } from './taskbar-elements-846c027c.js';
|
4
4
|
import './DataFetcher-a650ae58.js';
|
5
|
-
import './pesquisa-fetcher-
|
5
|
+
import './pesquisa-fetcher-5a8cae10.js';
|
6
6
|
import { P as PresentationMode } from './index-0ece87a6.js';
|
7
7
|
import './ISave-d8c8bc59.js';
|
8
8
|
import '@sankhyalabs/ezui/dist/collection/utils/constants';
|
@@ -3,7 +3,7 @@ import { Action } from '@sankhyalabs/core';
|
|
3
3
|
import { S as SnkFormConfigManager } from './SnkFormConfigManager-692e20c7.js';
|
4
4
|
import { FormMetadata, buildFormMetadata } from '@sankhyalabs/ezui/dist/collection/utils/form';
|
5
5
|
import './DataFetcher-a650ae58.js';
|
6
|
-
import './pesquisa-fetcher-
|
6
|
+
import './pesquisa-fetcher-5a8cae10.js';
|
7
7
|
import { P as PresentationMode } from './index-0ece87a6.js';
|
8
8
|
import './ISave-d8c8bc59.js';
|
9
9
|
import '@sankhyalabs/ezui/dist/collection/utils/constants';
|
@@ -13,7 +13,7 @@ import './filter-item-type.enum-d45e026f.js';
|
|
13
13
|
import './form-config-fetcher-f121f880.js';
|
14
14
|
import { T as TaskbarElement } from './taskbar-elements-846c027c.js';
|
15
15
|
import { d as VIEW_MODE } from './constants-8457af36.js';
|
16
|
-
import { S as SnkGuidesViewer } from './snk-guides-viewer-
|
16
|
+
import { S as SnkGuidesViewer } from './snk-guides-viewer-36a01f1c.js';
|
17
17
|
import { S as SnkMessageBuilder } from './SnkMessageBuilder-0fb796b9.js';
|
18
18
|
import './ConfigStorage-39ed8aeb.js';
|
19
19
|
import './PrintUtils-3e4ff0f5.js';
|
@@ -34,6 +34,7 @@ const SnkFormConfig = class {
|
|
34
34
|
this._formFieldsStyle = "ez-col ez-col--sd-12 ez-col--tb-4 ez-padding-right--small ez-padding-bottom--medium sc-snk-form-config";
|
35
35
|
this._fieldsAvailableStyle = "ez-col ez-col--sd-12 ez-col--tb-12 ez-margin-bottom--medium ez-margin-right--medium sc-snk-form-config";
|
36
36
|
this._fieldFloatingStyle = "form-config__field-config--dragged";
|
37
|
+
this._sortableTimer = 100;
|
37
38
|
this._formConfigOptions = [];
|
38
39
|
this._fieldConfigSelected = undefined;
|
39
40
|
this._layoutFormConfig = undefined;
|
@@ -48,20 +49,27 @@ const SnkFormConfig = class {
|
|
48
49
|
this.messagesBuilder = undefined;
|
49
50
|
}
|
50
51
|
observeConfigManager() {
|
51
|
-
this.loadConfig();
|
52
|
+
this.loadConfig(this._sortableTimer);
|
52
53
|
}
|
53
|
-
loadFields() {
|
54
|
+
loadFields(updateTimer = 0) {
|
54
55
|
this._layoutFormConfig = [];
|
55
|
-
|
56
|
+
if (updateTimer > 0) {
|
57
|
+
setTimeout(() => {
|
58
|
+
this.buildFields();
|
59
|
+
}, updateTimer);
|
60
|
+
}
|
61
|
+
else {
|
62
|
+
this.buildFields();
|
63
|
+
}
|
56
64
|
}
|
57
65
|
buildFields() {
|
58
66
|
this.buildFormConfig();
|
59
67
|
this.buildAvailableFields();
|
60
68
|
}
|
61
|
-
loadFormConfig() {
|
69
|
+
loadFormConfig(updateTimer) {
|
62
70
|
var _a;
|
63
71
|
this._formConfig = this.getConfig();
|
64
|
-
this.loadFields();
|
72
|
+
this.loadFields(updateTimer);
|
65
73
|
this.controlFieldConfig();
|
66
74
|
if (((_a = this._filterFieldsAvailable) === null || _a === void 0 ? void 0 : _a.value) != undefined) {
|
67
75
|
this._filterFieldsAvailable.value = "";
|
@@ -104,12 +112,12 @@ const SnkFormConfig = class {
|
|
104
112
|
}
|
105
113
|
}
|
106
114
|
resetChangeConfig() {
|
107
|
-
this.loadFormConfig();
|
115
|
+
this.loadFormConfig(this._sortableTimer);
|
108
116
|
this.clearTempGroups();
|
109
117
|
}
|
110
118
|
resetChangeOptionConfig() {
|
111
119
|
this._formConfigChanged = false;
|
112
|
-
this.loadConfig();
|
120
|
+
this.loadConfig(this._sortableTimer);
|
113
121
|
this.clearTempGroups();
|
114
122
|
}
|
115
123
|
getTabsToSave() {
|
@@ -324,7 +332,9 @@ const SnkFormConfig = class {
|
|
324
332
|
&& oldContainer.id === newContainer.id) {
|
325
333
|
evt.cancel();
|
326
334
|
this._fieldsAvailable = [];
|
327
|
-
|
335
|
+
setTimeout(() => {
|
336
|
+
this.buildAvailableFields();
|
337
|
+
}, this._sortableTimer);
|
328
338
|
return true;
|
329
339
|
}
|
330
340
|
return false;
|
@@ -367,7 +377,11 @@ const SnkFormConfig = class {
|
|
367
377
|
if (isNewGroup) {
|
368
378
|
this.clearTempGroups(true);
|
369
379
|
}
|
370
|
-
|
380
|
+
const sortableTimer = oldContainer.dataset.groupName !== newContainer.dataset.groupName
|
381
|
+
|| (newContainer.id === CONTAINER_ID.withoutGroup && oldContainer.id === CONTAINER_ID.fieldsAvailable)
|
382
|
+
? this._sortableTimer
|
383
|
+
: 0;
|
384
|
+
this.updateFieldsToSave(sortableTimer);
|
371
385
|
}, this._renderTimer);
|
372
386
|
return true;
|
373
387
|
}
|
@@ -397,12 +411,12 @@ const SnkFormConfig = class {
|
|
397
411
|
return;
|
398
412
|
}
|
399
413
|
}
|
400
|
-
updateFieldsToSave() {
|
414
|
+
updateFieldsToSave(updateTimer = 0) {
|
401
415
|
const fields = this.getFieldsToSave();
|
402
416
|
if ((fields === null || fields === void 0 ? void 0 : fields.length) > 0) {
|
403
417
|
this._formConfig.fields = fields;
|
404
418
|
}
|
405
|
-
this.loadFields();
|
419
|
+
this.loadFields(updateTimer);
|
406
420
|
this._formConfigChanged = true;
|
407
421
|
}
|
408
422
|
controlSortableField() {
|
@@ -432,7 +446,7 @@ const SnkFormConfig = class {
|
|
432
446
|
controlStopDraggingGroup(evt) {
|
433
447
|
if (evt.data.newIndex !== evt.data.oldIndex) {
|
434
448
|
setTimeout(() => {
|
435
|
-
this.updateFieldsToSave();
|
449
|
+
this.updateFieldsToSave(this._sortableTimer);
|
436
450
|
}, this._renderTimer);
|
437
451
|
}
|
438
452
|
}
|
@@ -505,7 +519,7 @@ const SnkFormConfig = class {
|
|
505
519
|
});
|
506
520
|
if (tabs.length > 0) {
|
507
521
|
this._formConfig.tabs = tabs;
|
508
|
-
this.loadFields();
|
522
|
+
this.loadFields(this._sortableTimer);
|
509
523
|
this.controlFieldConfig();
|
510
524
|
this._formConfigChanged = true;
|
511
525
|
}
|
@@ -529,13 +543,13 @@ const SnkFormConfig = class {
|
|
529
543
|
if (config != undefined) {
|
530
544
|
this._formConfig = config;
|
531
545
|
this._tabSelected = 1;
|
532
|
-
this.loadFields();
|
546
|
+
this.loadFields(this._sortableTimer);
|
533
547
|
this.controlFieldConfig();
|
534
548
|
this.clearTempGroups();
|
535
549
|
}
|
536
550
|
}
|
537
|
-
loadConfig() {
|
538
|
-
this.loadFormConfig();
|
551
|
+
loadConfig(updateTimer = 0) {
|
552
|
+
this.loadFormConfig(updateTimer);
|
539
553
|
this.loadUserConfig();
|
540
554
|
}
|
541
555
|
addNewGroup() {
|
@@ -576,7 +590,7 @@ const SnkFormConfig = class {
|
|
576
590
|
});
|
577
591
|
}
|
578
592
|
else {
|
579
|
-
this.updateFieldsToSave();
|
593
|
+
this.updateFieldsToSave(this._sortableTimer);
|
580
594
|
}
|
581
595
|
}
|
582
596
|
checkGroupExists(newLabel, indexGroup, isTempGroup = false) {
|
@@ -622,7 +636,7 @@ const SnkFormConfig = class {
|
|
622
636
|
field.group = newLabel;
|
623
637
|
}
|
624
638
|
});
|
625
|
-
this.loadFields();
|
639
|
+
this.loadFields(this._sortableTimer);
|
626
640
|
this.controlFieldConfig();
|
627
641
|
this._formConfigChanged = true;
|
628
642
|
}
|
@@ -836,14 +850,14 @@ const SnkFormConfig = class {
|
|
836
850
|
this._formConfigChanged = true;
|
837
851
|
this.resetSortables();
|
838
852
|
}
|
839
|
-
controlRemoveFieldConfig(fieldConfig) {
|
853
|
+
controlRemoveFieldConfig(fieldConfig, updateTimer) {
|
840
854
|
var _a;
|
841
855
|
this._formConfigChanged = false;
|
842
856
|
if (fieldConfig == undefined) {
|
843
857
|
return;
|
844
858
|
}
|
845
859
|
this._formConfig.fields = (_a = this._formConfig.fields) === null || _a === void 0 ? void 0 : _a.filter((field) => field.name !== fieldConfig.name);
|
846
|
-
this.loadFields();
|
860
|
+
this.loadFields(updateTimer);
|
847
861
|
this.controlFieldConfig();
|
848
862
|
this._formConfigChanged = true;
|
849
863
|
this.resetSortables();
|
@@ -852,14 +866,14 @@ const SnkFormConfig = class {
|
|
852
866
|
this.controlSortableField();
|
853
867
|
this.controlSortableGroup();
|
854
868
|
}
|
855
|
-
handleFieldConfigChange(evt) {
|
869
|
+
handleFieldConfigChange(evt, updateTimer = 0) {
|
856
870
|
const { field: fieldConfig, type: actionType } = evt.detail;
|
857
871
|
if (actionType === ACTION_CONFIG.configuration) {
|
858
872
|
this.controlFieldConfig(fieldConfig);
|
859
873
|
return;
|
860
874
|
}
|
861
875
|
if (actionType === ACTION_CONFIG.remove) {
|
862
|
-
this.controlRemoveFieldConfig(fieldConfig);
|
876
|
+
this.controlRemoveFieldConfig(fieldConfig, updateTimer);
|
863
877
|
return;
|
864
878
|
}
|
865
879
|
if (actionType === ACTION_CONFIG.add) {
|
@@ -880,7 +894,7 @@ const SnkFormConfig = class {
|
|
880
894
|
tab.label = newLabel;
|
881
895
|
}
|
882
896
|
});
|
883
|
-
this.loadFields();
|
897
|
+
this.loadFields(this._sortableTimer);
|
884
898
|
this.controlFieldConfig();
|
885
899
|
this._formConfigChanged = true;
|
886
900
|
}
|
@@ -900,7 +914,7 @@ const SnkFormConfig = class {
|
|
900
914
|
this._formConfig.tabs = (_a = this._formConfig.tabs) === null || _a === void 0 ? void 0 : _a.filter((tab) => {
|
901
915
|
return tab.label !== tabSelected.detail.label;
|
902
916
|
});
|
903
|
-
this.loadFields();
|
917
|
+
this.loadFields(this._sortableTimer);
|
904
918
|
this.controlFieldConfig();
|
905
919
|
this._formConfigChanged = true;
|
906
920
|
}
|
@@ -913,7 +927,7 @@ const SnkFormConfig = class {
|
|
913
927
|
tab.visible = !tab.visible;
|
914
928
|
}
|
915
929
|
});
|
916
|
-
this.loadFields();
|
930
|
+
this.loadFields(this._sortableTimer);
|
917
931
|
this.controlFieldConfig();
|
918
932
|
this._formConfigChanged = true;
|
919
933
|
}
|
@@ -6,7 +6,7 @@ import { o as openFieldSearch, T as TaskbarProcessor, b as buildFieldSearch } fr
|
|
6
6
|
import { T as TaskbarElement } from './taskbar-elements-846c027c.js';
|
7
7
|
import { d as VIEW_MODE } from './constants-8457af36.js';
|
8
8
|
import './DataFetcher-a650ae58.js';
|
9
|
-
import './pesquisa-fetcher-
|
9
|
+
import './pesquisa-fetcher-5a8cae10.js';
|
10
10
|
import { P as PresentationMode } from './index-0ece87a6.js';
|
11
11
|
import './ISave-d8c8bc59.js';
|
12
12
|
import '@sankhyalabs/ezui/dist/collection/utils/constants';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export { S as snk_guides_viewer } from './snk-guides-viewer-
|
1
|
+
export { S as snk_guides_viewer } from './snk-guides-viewer-36a01f1c.js';
|
2
2
|
import './index-a7d3d3f1.js';
|
3
3
|
import '@sankhyalabs/core';
|
4
4
|
import './SnkFormConfigManager-692e20c7.js';
|
@@ -14,7 +14,7 @@ import './taskbar-elements-846c027c.js';
|
|
14
14
|
import './index-0ece87a6.js';
|
15
15
|
import './index-bdf75557.js';
|
16
16
|
import './constants-8457af36.js';
|
17
|
-
import './pesquisa-fetcher-
|
17
|
+
import './pesquisa-fetcher-5a8cae10.js';
|
18
18
|
import '@sankhyalabs/ezui/dist/collection/utils/constants';
|
19
19
|
import './PreloadManager-c1c2f2b4.js';
|
20
20
|
import '@sankhyalabs/ezui/dist/collection/components/ez-grid/utils';
|
@@ -63,8 +63,10 @@ const SnkFilterPersonalized = class {
|
|
63
63
|
return this.presentationMode === EPresentationMode.MODAL;
|
64
64
|
}
|
65
65
|
doSearch(mode, argument, param) {
|
66
|
+
const context = Object.assign({}, param.searchContext);
|
67
|
+
context.searchOptions = Object.assign(Object.assign({}, context.searchOptions), { showInactives: "true" });
|
66
68
|
return new Promise((resolve, reject) => {
|
67
|
-
this._application.executePreparedSearch(mode, argument,
|
69
|
+
this._application.executePreparedSearch(mode, argument, context)
|
68
70
|
.then(result => {
|
69
71
|
resolve(result);
|
70
72
|
}).catch(reason => {
|
@@ -3,7 +3,7 @@ import { ObjectUtils, ApplicationContext, DataType, UserInterface, StringUtils,
|
|
3
3
|
import { d as VIEW_MODE, S as SIMPLE_CRUD_MODE } from './constants-8457af36.js';
|
4
4
|
import { T as TaskbarElement } from './taskbar-elements-846c027c.js';
|
5
5
|
import './DataFetcher-a650ae58.js';
|
6
|
-
import { I as InMemoryLoader } from './pesquisa-fetcher-
|
6
|
+
import { I as InMemoryLoader } from './pesquisa-fetcher-5a8cae10.js';
|
7
7
|
import { P as PresentationMode } from './index-0ece87a6.js';
|
8
8
|
import './ISave-d8c8bc59.js';
|
9
9
|
import '@sankhyalabs/ezui/dist/collection/utils/constants';
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as i,c as t,h as s,g as e}from"./p-d2d301a6.js";import{ObjectUtils as a,ApplicationContext as n,DataType as o,UserInterface as r,StringUtils as l,JSUtils as h,FloatingManager as d}from"@sankhyalabs/core";import{d as u,S as c}from"./p-b0ef4383.js";import{T as m}from"./p-8c49760e.js";import"./p-be75153c.js";import{I as p}from"./p-5e681b7b.js";import{P as v}from"./p-38289a55.js";import"./p-21749402.js";import"@sankhyalabs/ezui/dist/collection/utils/constants";import"@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata";import"./p-c22c1d8e.js";import"./p-ff1990ad.js";import"./p-a13ccb86.js";import{T as k,b,o as g}from"./p-c2495304.js";import{S}from"./p-094c30cb.js";import"./p-6dc031de.js";import"./p-8d884fab.js";import"./p-688dcb4c.js";import"@sankhyalabs/ezui/dist/collection/components/ez-grid/utils";import"@sankhyalabs/ezui/dist/collection/components/ez-grid/utils/InMemoryFilterColumnDataSource";const f=class{constructor(s){i(this,s),this.dataStateChange=t(this,"dataStateChange",3),this.dataUnitReady=t(this,"dataUnitReady",3),this.actionClick=t(this,"actionClick",7),this.formItemsReady=t(this,"formItemsReady",7),this.REGULAR_DEFAULT_BTNS=["INSERT","REFRESH","PREVIOUS","NEXT","DIVIDER","MORE_OPTIONS"],this.REGULAR_SELECTED_BTNS=["INSERT","REFRESH","PREVIOUS","NEXT","DIVIDER","CLONE","REMOVE","DIVIDER","MORE_OPTIONS"],this._multiSelectionListDataSource=new S,this._keyDownHandler=i=>this.keyDownListener(i),this._taskbarProcessor=new k({"snkSimpleCrudTaskbar.form_regular":this.resolveInMemoryBtns(this.REGULAR_DEFAULT_BTNS).concat(m.GRID_MODE),"snkSimpleCrudTaskbar.grid_regular":this.resolveInMemoryBtns(this.REGULAR_DEFAULT_BTNS).concat(m.FORM_MODE),"snkSimpleCrudTaskbar.form_selected":this.resolveInMemoryBtns(this.REGULAR_SELECTED_BTNS).concat(m.GRID_MODE),"snkSimpleCrudTaskbar.grid_selected":this.resolveInMemoryBtns(this.REGULAR_SELECTED_BTNS).concat(m.FORM_MODE),"snkSimpleCrudTaskbar.finish_edition":["CANCEL","SAVE"]}),this._currentViewMode=u.GRID,this._config=void 0,this._fieldToGetFocus=void 0,this.dataState=void 0,this.dataUnit=void 0,this.mode=c.SERVER,this.gridConfig=void 0,this.formConfig=void 0,this._formFields=[],this.multipleSelection=void 0,this.useCancelConfirm=!0,this.taskbarManager=void 0,this.messagesBuilder=void 0,this.useEnterLikeTab=!1,this.actionsList=void 0,this.configName=void 0}resolveInMemoryBtns(i){const t=[...i];return this.mode===c.IN_MEMORY&&t.splice(1,1),t}async goToView(i){this._currentViewMode=i,this._viewStack&&this._viewStack.show(i)}actionClickListener(i){const t=i.detail;t===m.GRID_MODE?this.goToView(u.GRID):t===m.FORM_MODE&&this.goToView(u.FORM),i.stopPropagation()}onModeChange(){this.mode==c.IN_MEMORY&&this.initInMemoryDataUnit()}observeDataState(i,t){a.objectToString(t)!=a.objectToString(i)&&this.dataStateChange.emit(i)}componentWillRender(){this._taskbarProcessor.process(this.getTaskBarId(),this.taskbarManager,this.dataState,this.getTaskBarDisabledButtons())}componentWillLoad(){this.processMetadata(),this.onModeChange(),this.configDatasource()}configDatasource(){const i=n.getContextValue("__SNK__APPLICATION__");this._multiSelectionListDataSource.setApplication(i),this._multiSelectionListDataSource.setDataUnit(this.dataUnit)}getTaskBarId(){var i,t,s;return(null===(i=this.dataState)||void 0===i?void 0:i.isDirty)?"snkSimpleCrudTaskbar.finish_edition":(null===(t=this.dataState)||void 0===t?void 0:t.selectionInfo)&&!this.dataState.selectionInfo.isAllRecords()&&(null===(s=this.dataState.selectionInfo.records)||void 0===s?void 0:s.length)>0?this._currentViewMode===u.GRID?"snkSimpleCrudTaskbar.grid_selected":"snkSimpleCrudTaskbar.form_selected":this._currentViewMode===u.GRID?"snkSimpleCrudTaskbar.grid_regular":"snkSimpleCrudTaskbar.form_regular"}initInMemoryDataUnit(){this._inMemoryLoader=new p(this._metadata),this.dataUnit=this._inMemoryLoader.dataUnit,this.dataUnitReady.emit(this.dataUnit)}setMetadata(i){return this._inMemoryLoader?this._inMemoryLoader.metadata=i:this.dataUnit&&(this.dataUnit.metadata=i),Promise.resolve()}setRecords(i){return this._inMemoryLoader?this._inMemoryLoader.records=i:this.dataUnit&&(this.dataUnit.records=i),Promise.resolve()}getRecords(){return Promise.resolve(this.dataUnit.records)}processMetadata(){const i=this._element.querySelectorAll("snk-field-metadata"),t=[],s={fields:[],emptyConfig:!1};i.forEach((i=>{const e={name:i.getAttribute("name")||i.getAttribute("label"),label:i.getAttribute("label"),dataType:o[i.getAttribute("dataType")]||o.TEXT,userInterface:r[i.getAttribute("userInterface")]||r.SHORTTEXT,readOnly:"true"==i.getAttribute("readOnly"),required:"true"==i.getAttribute("required"),tab:i.getAttribute("tab")||void 0,visible:"false"!=i.getAttribute("visible")};s.fields.push({name:e.name,tab:e.tab,visible:e.visible}),t.push(e)})),t.length>0&&(this.formConfig||(this.formConfig=s),this._metadata={name:"SimpleCrud",label:"SimpleCrud",fields:t})}onDataStateChange(i){this.dataState=Object.assign({},i.detail)}getTaskBarDisabledButtons(){var i,t,s,e;const a=[];return(null===(i=this.dataState)||void 0===i?void 0:i.hasNext)||a.push(m.NEXT),(null===(t=this.dataState)||void 0===t?void 0:t.hasPrevious)||a.push(m.PREVIOUS),(null===(e=null===(s=this.dataState)||void 0===s?void 0:s.selectionInfo)||void 0===e?void 0:e.isEmpty())&&a.push(m.FORM_MODE),a}handleCancelEdit(){var i;(null===(i=this.dataState)||void 0===i?void 0:i.recordsIsEmpty)&&(this.goToView(u.GRID),this.dataUnit.clearSelection())}getColumnSearch(i,t){return null!=this._columnSearch||(this._moreOptions=i,this._columnSearch=b(t,(({argument:i})=>new Promise((t=>{this._grid.filterColumns(i).then((i=>{t(i.filter((i=>!i.hidden)).map((i=>({label:i.label,value:i.name}))))}))}))),(t=>{var s;null!=t&&(this._grid.locateColumn(t.value),null===(s=i.hideActions)||void 0===s||s.call(i))}))),this._columnSearch}onSelectField(i,t){null!=i&&(this._fieldToGetFocus=i.value,t.hideActions())}getFieldSearch(i,t){return null!=this._fieldSearch||(this._moreOptions=i,i.addEventListener("ezPopoverOpen",(()=>this.findField())),this._fieldSearch=b(t,(({argument:i})=>this.fieldsOptionLoader(i)),(t=>this.onSelectField(t,i)))),this._fieldSearch}getFormFields(){var i,t;return null!==(t=null===(i=this.formConfig)||void 0===i?void 0:i.fields)&&void 0!==t?t:this._formFields}handleFormSetFields(i){this._formFields=null!=i?i:[]}fieldsOptionLoader(i){const t=null==i?void 0:i.toLowerCase(),s=this.getFormFields().map((i=>{var t;return null===(t=this.dataUnit)||void 0===t?void 0:t.getField(i.name)})).filter((i=>{var s,e;return(null===(s=i.name)||void 0===s?void 0:s.toLowerCase().includes(t))||(null===(e=i.label)||void 0===e?void 0:e.toLowerCase().includes(t))})).map((i=>({value:i.name,label:i.label})));return Promise.resolve(s)}getActionsList(){var i,t;const s=[{value:l.generateUUID(),label:null!==(t=null===(i=this.messagesBuilder)||void 0===i?void 0:i.getMessage("snkSimpleCrud.findColumn",void 0))&&void 0!==t?t:"Buscar",disableCloseOnSelect:!0,eagerInitialize:!0,itemBuilder:(i,t)=>this._currentViewMode===u.GRID?this.getColumnSearch(i,t):this.getFieldSearch(i,t)}];if(null!=this.taskbarManager&&null!=this.taskbarManager.getMoreOptions){const i=this.getTopTaskBarId();return s.concat(this.taskbarManager.getMoreOptions(i,this.configName,this.dataState,this.actionsList))}return s.concat(this.actionsList)}getTopTaskBarId(){var i;return(null===(i=this.dataState)||void 0===i?void 0:i.isDirty)?`snkGridTopTaskbar.finish_edition${v.PRIMARY}`:`snkGridTopTaskbar.regular${v.PRIMARY}`}async keyDownListener(i){i.ctrlKey&&null!=i.key&&"F"===i.key.toUpperCase()&&null!=this._element&&(h.isHiddenElement(this._element)||(d.closeAll(),this._currentViewMode===u.GRID?await this.findColumn():await this.findField(),i.preventDefault()))}async findField(){await this.openSeach(this._fieldSearch)}async findColumn(){await this.openSeach(this._columnSearch)}async openSeach(i){await g(this._moreOptions,i)}clearFieldToFocusHandler(){this._fieldToGetFocus=void 0}connectedCallback(){window.addEventListener("keydown",this._keyDownHandler,{capture:!0})}disconnectedCallback(){window.removeEventListener("keydown",this._keyDownHandler)}render(){var i;return s("snk-data-unit",{class:"simple-crud__container",dataUnit:this.dataUnit,useCancelConfirm:this.useCancelConfirm,onDataStateChange:i=>this.onDataStateChange(i),onCancelEdition:this.handleCancelEdit.bind(this),onInsertionMode:()=>this.goToView(u.FORM),onDataUnitReady:i=>this.dataUnitReady.emit(i.detail),ignoreSaveMessage:this._currentViewMode===u.GRID,onMessagesBuilderUpdated:i=>this.messagesBuilder=i.detail},s("header",null,s("slot",{name:"snkSimpleCrudHeader"})),s("section",{class:"ez-box ez-box--shadow simple-crud__container-section"},s("snk-taskbar",{class:"ez-box ez-box--shadow ez-padding--medium",dataUnit:this.dataUnit,primaryButton:(null===(i=this.dataState)||void 0===i?void 0:i.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,slot:"leftButtons",presentationMode:v.SECONDARY},s("slot",{name:"TASKBAR_CUSTOM_ELEMENTS"})),s("ez-view-stack",{ref:i=>this._viewStack=i,"data-element-id":"simple-crud"},s("stack-item",null,s("ez-grid",{class:"ez-margin-bottom--large",ref:i=>this._grid=i,dataUnit:this.dataUnit,config:this.gridConfig,"no-header":!0,multipleSelection:this.multipleSelection,onEzDoubleClick:()=>this.goToView(u.FORM),columnfilterDataSource:this.dataUnit.name.includes(p.IN_MEMORY_DATA_UNIT_NAME)?void 0:this._multiSelectionListDataSource,useEnterLikeTab:this.useEnterLikeTab},s("div",{slot:"footer"},s("slot",{name:"snkSimpleCrudFooter"})))),s("stack-item",null,s("ez-form",{class:"ez-margin-top--large",dataUnit:this.dataUnit,config:this.formConfig,fieldToFocus:this._fieldToGetFocus,onEzFormSetFields:i=>this.handleFormSetFields(i.detail),onEzFormRequestClearFieldToFocus:this.clearFieldToFocusHandler.bind(this)})))))}get _element(){return e(this)}static get watchers(){return{mode:["onModeChange"],dataState:["observeDataState"]}}};f.style=".sc-snk-simple-crud-h{display:flex;height:100%;width:100%}.simple-crud__container.sc-snk-simple-crud{display:grid;grid-template-rows:max-content;row-gap:12px;height:100%;width:100%}.simple-crud__container-section.sc-snk-simple-crud{flex-wrap:unset;flex-direction:column}ez-grid.sc-snk-simple-crud{--ez-grid__container--shadow:none;min-height:300px}ez-form.sc-snk-simple-crud{min-height:300px}";export{f as snk_simple_crud}
|