impaktapps-ui-builder 0.0.83 → 0.0.86
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/impaktapps-ui-builder.es.js +17 -84
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +10 -10
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/buildTable.d.ts +0 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/apiSection.d.ts +0 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.d.ts +0 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildTable.ts +4 -49
- package/src/impaktapps-ui-builder/builder/build/buildTextArea.ts +0 -6
- package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +1 -4
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +3 -8
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +1 -1
- package/src/impaktapps-ui-builder/runtime/services/service.ts +11 -10
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/lazyLoadingTable.d.ts +0 -15
- package/src/impaktapps-ui-builder/builder/build/uischema/lazyLoadingTable.ts +0 -15
|
@@ -7350,8 +7350,7 @@ const getTextArea = (scope, heading, hideButton, layout) => {
|
|
|
7350
7350
|
main: {
|
|
7351
7351
|
heading,
|
|
7352
7352
|
minRows: 8,
|
|
7353
|
-
hideButton
|
|
7354
|
-
enableCodeEditor: true
|
|
7353
|
+
hideButton
|
|
7355
7354
|
}
|
|
7356
7355
|
}
|
|
7357
7356
|
};
|
|
@@ -7457,8 +7456,8 @@ const buildPropertiesSection = function(type) {
|
|
|
7457
7456
|
case "TextArea":
|
|
7458
7457
|
uiSchema.elements = [
|
|
7459
7458
|
getInputField("placeholder", "Placeholder"),
|
|
7460
|
-
|
|
7461
|
-
|
|
7459
|
+
emptyBox$1("TextAreaEmpty1", { xs: 6, sm: 6, md: 4, lg: 4 }),
|
|
7460
|
+
emptyBox$1("TextAreaEmpty2", { xs: 0, sm: 0, md: 4, lg: 4 })
|
|
7462
7461
|
];
|
|
7463
7462
|
break;
|
|
7464
7463
|
case "SpeedoMeter":
|
|
@@ -7562,7 +7561,6 @@ const buildPropertiesSection = function(type) {
|
|
|
7562
7561
|
];
|
|
7563
7562
|
break;
|
|
7564
7563
|
case "Table":
|
|
7565
|
-
case "LazyLoadingTable":
|
|
7566
7564
|
uiSchema.elements = [
|
|
7567
7565
|
getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
|
|
7568
7566
|
getRadioInputField("SelectionAvailable", "Row Selection", ["YES", "NO"]),
|
|
@@ -7575,10 +7573,10 @@ const buildPropertiesSection = function(type) {
|
|
|
7575
7573
|
getRadioInputField("disableFullScreenToggle", "Disable Full Screen", ["YES", "NO"]),
|
|
7576
7574
|
getRadioInputField("disableDensityToggle", "Disable Density Toggle", ["YES", "NO"]),
|
|
7577
7575
|
getRadioInputField("disableDownloadFile", "Disable Download File", ["YES", "NO"]),
|
|
7576
|
+
getRadioInputField("disablePagination", "Disable Pagination", ["YES", "NO"]),
|
|
7578
7577
|
getInputField("selectKey", "Selection Key"),
|
|
7579
7578
|
getMultiSelectField("filteringOptions", "Filtering Options"),
|
|
7580
7579
|
emptyBox$1("LazyLoadingTableEmpty1", { xs: 6, sm: 0, md: 4, lg: 4 }),
|
|
7581
|
-
emptyBox$1("LazyLoadingTableEmpty1", { xs: 6, sm: 0, md: 4, lg: 4 }),
|
|
7582
7580
|
buildWrapper("Tree Table Properties", [
|
|
7583
7581
|
getRadioInputField("enableRowMovement", "Row Rearrangement", ["YES", "NO"]),
|
|
7584
7582
|
getRadioInputField("enableExpanding", "Row Expanding", ["YES", "NO"]),
|
|
@@ -9596,6 +9594,16 @@ var service = (funcParams) => {
|
|
|
9596
9594
|
);
|
|
9597
9595
|
const schema2 = (_d = pageData == null ? void 0 : pageData.schema) != null ? _d : { type: "object", properties: {} };
|
|
9598
9596
|
eventGroups = {};
|
|
9597
|
+
funcParams.store.setSchema(
|
|
9598
|
+
(pre) => {
|
|
9599
|
+
return {
|
|
9600
|
+
...schema2,
|
|
9601
|
+
properties: { ...schema2.properties, ...pre.properties }
|
|
9602
|
+
};
|
|
9603
|
+
}
|
|
9604
|
+
);
|
|
9605
|
+
uiSchema.elements.push(notifyUiSchema);
|
|
9606
|
+
funcParams.store.setUiSchema(uiSchema);
|
|
9599
9607
|
eventGroups = extractEvents(config);
|
|
9600
9608
|
executeEventsParameters = {
|
|
9601
9609
|
config: {},
|
|
@@ -9620,16 +9628,6 @@ var service = (funcParams) => {
|
|
|
9620
9628
|
eventGroups,
|
|
9621
9629
|
formDataHolder
|
|
9622
9630
|
});
|
|
9623
|
-
funcParams.store.setSchema(
|
|
9624
|
-
(pre) => {
|
|
9625
|
-
return {
|
|
9626
|
-
...schema2,
|
|
9627
|
-
properties: { ...schema2.properties, ...pre.properties }
|
|
9628
|
-
};
|
|
9629
|
-
}
|
|
9630
|
-
);
|
|
9631
|
-
uiSchema.elements.push(notifyUiSchema);
|
|
9632
|
-
funcParams.store.setUiSchema(uiSchema);
|
|
9633
9631
|
},
|
|
9634
9632
|
onCellRenderer: (cellParams) => {
|
|
9635
9633
|
var _a, _b, _c;
|
|
@@ -10688,20 +10686,6 @@ var Table = {
|
|
|
10688
10686
|
}
|
|
10689
10687
|
}
|
|
10690
10688
|
};
|
|
10691
|
-
var lazyLoadingTable = {
|
|
10692
|
-
type: "Control",
|
|
10693
|
-
scope: "#/properties/LazyLoadingTable",
|
|
10694
|
-
options: {
|
|
10695
|
-
widget: "LazyLoadingTable"
|
|
10696
|
-
},
|
|
10697
|
-
elements: [],
|
|
10698
|
-
config: {
|
|
10699
|
-
main: {
|
|
10700
|
-
onMount: "onMount",
|
|
10701
|
-
columns: {}
|
|
10702
|
-
}
|
|
10703
|
-
}
|
|
10704
|
-
};
|
|
10705
10689
|
const buildTable = (config, componentScope) => {
|
|
10706
10690
|
const table = _.cloneDeep(Table);
|
|
10707
10691
|
table.scope = componentScope;
|
|
@@ -10756,6 +10740,9 @@ const buildTable = (config, componentScope) => {
|
|
|
10756
10740
|
if (config.disableDownloadFile) {
|
|
10757
10741
|
table.config.main.disableDownloadFile = config.disableDownloadFile === "YES" ? true : false;
|
|
10758
10742
|
}
|
|
10743
|
+
if (config.disablePagination) {
|
|
10744
|
+
table.config.main.disablePagination = config.disablePagination === "YES" ? true : false;
|
|
10745
|
+
}
|
|
10759
10746
|
if (config.Table_Download_Keys_Name) {
|
|
10760
10747
|
table.config.main.TableDownloadKeysName = config.Table_Download_Keys_Name.map((e) => e.KeyName);
|
|
10761
10748
|
}
|
|
@@ -10764,51 +10751,6 @@ const buildTable = (config, componentScope) => {
|
|
|
10764
10751
|
}
|
|
10765
10752
|
return table;
|
|
10766
10753
|
};
|
|
10767
|
-
const buildLazyLoadingTable = (config, componentScope) => {
|
|
10768
|
-
const table = _.cloneDeep(lazyLoadingTable);
|
|
10769
|
-
table.scope = componentScope;
|
|
10770
|
-
if (config.style) {
|
|
10771
|
-
table.config.style = JSON.parse(config.style);
|
|
10772
|
-
}
|
|
10773
|
-
if (config.SelectionAvailable) {
|
|
10774
|
-
table.config.main.Selection = config.SelectionAvailable === "YES" ? true : false;
|
|
10775
|
-
}
|
|
10776
|
-
if (config.ColumnResizingAvailable) {
|
|
10777
|
-
table.config.main.disableColumnResizing = config.ColumnResizingAvailable === "YES" ? false : true;
|
|
10778
|
-
}
|
|
10779
|
-
if (config.DragAvailable) {
|
|
10780
|
-
table.config.main.enableDrag = config.DragAvailable === "YES" ? true : false;
|
|
10781
|
-
}
|
|
10782
|
-
if (config.selectKey) {
|
|
10783
|
-
table.config.main.selectKey = config.selectKey;
|
|
10784
|
-
}
|
|
10785
|
-
if (config.downloadAllData) {
|
|
10786
|
-
table.config.main.downloadAllData = config.downloadAllData === "YES" ? true : false;
|
|
10787
|
-
}
|
|
10788
|
-
if (config.disableFilters) {
|
|
10789
|
-
table.config.main.disableFilters = config.disableFilters === "YES" ? true : false;
|
|
10790
|
-
}
|
|
10791
|
-
if (config.disableSorting) {
|
|
10792
|
-
table.config.main.disableSorting = config.disableSorting === "YES" ? true : false;
|
|
10793
|
-
}
|
|
10794
|
-
if (config.disableEditColumn) {
|
|
10795
|
-
table.config.main.disableEditColumn = config.disableEditColumn === "YES" ? true : false;
|
|
10796
|
-
}
|
|
10797
|
-
if (config.disableFullScreenToggle) {
|
|
10798
|
-
table.config.main.disableFullScreenToggle = config.disableFullScreenToggle === "YES" ? true : false;
|
|
10799
|
-
}
|
|
10800
|
-
if (config.disableDensityToggle) {
|
|
10801
|
-
table.config.main.disableDensityToggle = config.disableDensityToggle === "YES" ? true : false;
|
|
10802
|
-
}
|
|
10803
|
-
if (config.disableDownloadFile) {
|
|
10804
|
-
table.config.main.disableDownloadFile = config.disableDownloadFile === "YES" ? true : false;
|
|
10805
|
-
}
|
|
10806
|
-
if (config.Table_Download_Keys_Name) {
|
|
10807
|
-
table.config.main.TableDownloadKeysName = config.Table_Download_Keys_Name.map((e) => e.KeyName);
|
|
10808
|
-
}
|
|
10809
|
-
table.config.main.label = config.label;
|
|
10810
|
-
return table;
|
|
10811
|
-
};
|
|
10812
10754
|
const Box = {
|
|
10813
10755
|
type: "Control",
|
|
10814
10756
|
scope: "#/properties/emptyBox",
|
|
@@ -11287,12 +11229,6 @@ const buildTextArea = (config, componentScope) => {
|
|
|
11287
11229
|
if (config.placeholder) {
|
|
11288
11230
|
textArea.config.main.placeholder = config.placeholder;
|
|
11289
11231
|
}
|
|
11290
|
-
if (config.enableCodeEditor) {
|
|
11291
|
-
textArea.config.main.enableCodeEditor = config.enableCodeEditor === "YES" ? true : false;
|
|
11292
|
-
}
|
|
11293
|
-
if (config.codeEditorLanguage) {
|
|
11294
|
-
textArea.config.main.codeEditorLanguage = config.codeEditorLanguage;
|
|
11295
|
-
}
|
|
11296
11232
|
textArea.scope = componentScope;
|
|
11297
11233
|
return textArea;
|
|
11298
11234
|
};
|
|
@@ -11910,9 +11846,6 @@ const buildUiSchema = (config, store2) => {
|
|
|
11910
11846
|
case "Array":
|
|
11911
11847
|
elements = buildArray(config, componentScope);
|
|
11912
11848
|
break;
|
|
11913
|
-
case "LazyLoadingTable":
|
|
11914
|
-
elements = buildLazyLoadingTable(config, componentScope);
|
|
11915
|
-
break;
|
|
11916
11849
|
case "Box":
|
|
11917
11850
|
elements = buildLabel(config, componentScope);
|
|
11918
11851
|
break;
|