impaktapps-ui-builder 0.0.96 → 0.0.99
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 +20 -10
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +6 -6
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/apiSection.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.d.ts +1 -0
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildTable.ts +5 -2
- package/src/impaktapps-ui-builder/builder/build/buildTextArea.ts +6 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +7 -4
- package/src/impaktapps-ui-builder/builder/build/uischema/button.ts +1 -1
- package/src/impaktapps-ui-builder/runtime/services/events.ts +2 -2
|
@@ -7350,7 +7350,8 @@ const getTextArea = (scope, heading, hideButton, layout) => {
|
|
|
7350
7350
|
main: {
|
|
7351
7351
|
heading,
|
|
7352
7352
|
minRows: 8,
|
|
7353
|
-
hideButton
|
|
7353
|
+
hideButton,
|
|
7354
|
+
enableCodeEditor: true
|
|
7354
7355
|
}
|
|
7355
7356
|
}
|
|
7356
7357
|
};
|
|
@@ -7456,8 +7457,8 @@ const buildPropertiesSection = function(type) {
|
|
|
7456
7457
|
case "TextArea":
|
|
7457
7458
|
uiSchema.elements = [
|
|
7458
7459
|
getInputField("placeholder", "Placeholder"),
|
|
7459
|
-
|
|
7460
|
-
|
|
7460
|
+
getRadioInputField("enableCodeEditor", "Enable Code Editor", ["YES", "NO"]),
|
|
7461
|
+
getInputField("codeEditorLanguage", "Enter Code Language")
|
|
7461
7462
|
];
|
|
7462
7463
|
break;
|
|
7463
7464
|
case "SpeedoMeter":
|
|
@@ -7569,7 +7570,8 @@ const buildPropertiesSection = function(type) {
|
|
|
7569
7570
|
getRadioInputField("ColumnResizingAvailable", "ColumnResizing ", ["YES", "NO"]),
|
|
7570
7571
|
getRadioInputField("DragAvailable", "Row Dragging", ["YES", "NO"]),
|
|
7571
7572
|
getRadioInputField("downloadAllData", "Download All Data", ["YES", "NO"]),
|
|
7572
|
-
getRadioInputField("
|
|
7573
|
+
getRadioInputField("disableGlobalSearch", "Disable Global Search", ["YES", "NO"]),
|
|
7574
|
+
getRadioInputField("disableColumnFilter", "Disable Column Filter", ["YES", "NO"]),
|
|
7573
7575
|
getRadioInputField("disableSorting", "Disable Sorting", ["YES", "NO"]),
|
|
7574
7576
|
getRadioInputField("disableEditColumn", "Disable Edit Column", ["YES", "NO"]),
|
|
7575
7577
|
getRadioInputField("disableFullScreenToggle", "Disable Full Screen", ["YES", "NO"]),
|
|
@@ -7578,7 +7580,6 @@ const buildPropertiesSection = function(type) {
|
|
|
7578
7580
|
getRadioInputField("disablePagination", "Disable Pagination", ["YES", "NO"]),
|
|
7579
7581
|
getInputField("selectKey", "Selection Key"),
|
|
7580
7582
|
getMultiSelectField("filteringOptions", "Filtering Options"),
|
|
7581
|
-
emptyBox$1("LazyLoadingTableEmpty1", { xs: 6, sm: 0, md: 4, lg: 4 }),
|
|
7582
7583
|
buildWrapper("Tree Table Properties", [
|
|
7583
7584
|
getRadioInputField("enableRowMovement", "Row Rearrangement", ["YES", "NO"]),
|
|
7584
7585
|
getRadioInputField("enableExpanding", "Row Expanding", ["YES", "NO"]),
|
|
@@ -9270,7 +9271,7 @@ function executeCustomHandler(params) {
|
|
|
9270
9271
|
}
|
|
9271
9272
|
}
|
|
9272
9273
|
function mergeFormdata(handlerResponse, componentName, eventConfig, store2, service2, formDataHolder) {
|
|
9273
|
-
if (eventConfig.type === "Select" && (handlerResponse == null ? void 0 : handlerResponse.data)) {
|
|
9274
|
+
if (eventConfig.type === "Select" && (handlerResponse == null ? void 0 : handlerResponse.data) && !_.isEmpty(handlerResponse == null ? void 0 : handlerResponse.data)) {
|
|
9274
9275
|
store2.setSchema((pre) => {
|
|
9275
9276
|
var _a;
|
|
9276
9277
|
return {
|
|
@@ -9284,7 +9285,7 @@ function mergeFormdata(handlerResponse, componentName, eventConfig, store2, serv
|
|
|
9284
9285
|
}
|
|
9285
9286
|
};
|
|
9286
9287
|
});
|
|
9287
|
-
} else if (eventConfig.type === "MultipleSelect" && (handlerResponse == null ? void 0 : handlerResponse.data)) {
|
|
9288
|
+
} else if (eventConfig.type === "MultipleSelect" && (handlerResponse == null ? void 0 : handlerResponse.data) && !_.isEmpty(handlerResponse == null ? void 0 : handlerResponse.data)) {
|
|
9288
9289
|
store2.setSchema((pre) => {
|
|
9289
9290
|
var _a;
|
|
9290
9291
|
return {
|
|
@@ -10660,7 +10661,7 @@ var Button = {
|
|
|
10660
10661
|
styleDefault: false,
|
|
10661
10662
|
icon: "",
|
|
10662
10663
|
onClick: "onClick",
|
|
10663
|
-
size: "
|
|
10664
|
+
size: "small"
|
|
10664
10665
|
},
|
|
10665
10666
|
style: {}
|
|
10666
10667
|
}
|
|
@@ -10755,8 +10756,11 @@ const buildTable = (config, componentScope) => {
|
|
|
10755
10756
|
if (config.downloadAllData) {
|
|
10756
10757
|
table.config.main.downloadAllData = config.downloadAllData === "YES" ? true : false;
|
|
10757
10758
|
}
|
|
10758
|
-
if (config.
|
|
10759
|
-
table.config.main.
|
|
10759
|
+
if (config.disableGlobalSearch) {
|
|
10760
|
+
table.config.main.disableGlobalSearch = config.disableGlobalSearch === "YES" ? true : false;
|
|
10761
|
+
}
|
|
10762
|
+
if (config.disableColumnFilter) {
|
|
10763
|
+
table.config.main.disableColumnFilter = config.disableColumnFilter === "YES" ? true : false;
|
|
10760
10764
|
}
|
|
10761
10765
|
if (config.disableSorting) {
|
|
10762
10766
|
table.config.main.disableSorting = config.disableSorting === "YES" ? true : false;
|
|
@@ -11262,6 +11266,12 @@ const buildTextArea = (config, componentScope) => {
|
|
|
11262
11266
|
if (config.placeholder) {
|
|
11263
11267
|
textArea.config.main.placeholder = config.placeholder;
|
|
11264
11268
|
}
|
|
11269
|
+
if (config.enableCodeEditor) {
|
|
11270
|
+
textArea.config.main.enableCodeEditor = config.enableCodeEditor === "YES" ? true : false;
|
|
11271
|
+
}
|
|
11272
|
+
if (config.codeEditorLanguage) {
|
|
11273
|
+
textArea.config.main.codeEditorLanguage = config.codeEditorLanguage;
|
|
11274
|
+
}
|
|
11265
11275
|
textArea.scope = componentScope;
|
|
11266
11276
|
return textArea;
|
|
11267
11277
|
};
|