impaktapps-ui-builder 1.0.308 → 1.0.310
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 +18 -16
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +7 -7
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +16 -13
|
@@ -7815,7 +7815,7 @@ const getArrayControl = (parentScope, childScope, childLabel) => {
|
|
|
7815
7815
|
]
|
|
7816
7816
|
};
|
|
7817
7817
|
};
|
|
7818
|
-
const getArrayControlMultiField = (parentScope, firstFieldScope, secondFieldScope, firstFieldLabel, secondFieldLabel) => {
|
|
7818
|
+
const getArrayControlMultiField = (parentScope, heading, firstFieldScope, secondFieldScope, firstFieldLabel, secondFieldLabel) => {
|
|
7819
7819
|
return {
|
|
7820
7820
|
type: "Control",
|
|
7821
7821
|
scope: `#/properties/${parentScope}`,
|
|
@@ -7824,7 +7824,9 @@ const getArrayControlMultiField = (parentScope, firstFieldScope, secondFieldScop
|
|
|
7824
7824
|
},
|
|
7825
7825
|
config: {
|
|
7826
7826
|
layout: 12,
|
|
7827
|
-
main: {
|
|
7827
|
+
main: {
|
|
7828
|
+
label: heading
|
|
7829
|
+
},
|
|
7828
7830
|
style: {
|
|
7829
7831
|
marginLeft: "-24px",
|
|
7830
7832
|
marginBottom: "24px !important",
|
|
@@ -8058,7 +8060,7 @@ const buildPropertiesSection = function(type) {
|
|
|
8058
8060
|
getRadioInputField("fullScreen", "FullScreen", ["YES", "NO"]),
|
|
8059
8061
|
getRadioInputField("fullWidth", "FullWidth", ["YES", "NO"]),
|
|
8060
8062
|
getInputField("maxWidth", "Max. Width"),
|
|
8061
|
-
emptyBox$1("PopUpEmpty", { xs:
|
|
8063
|
+
emptyBox$1("PopUpEmpty", { xs: 0, sm: 0, md: 0, lg: 3 })
|
|
8062
8064
|
];
|
|
8063
8065
|
break;
|
|
8064
8066
|
case "PopOver":
|
|
@@ -8106,7 +8108,7 @@ const buildPropertiesSection = function(type) {
|
|
|
8106
8108
|
uiSchema.elements = [
|
|
8107
8109
|
getInputField("rank", "Rank"),
|
|
8108
8110
|
getInputField("height", "Height"),
|
|
8109
|
-
emptyBox$1("RankCardEmpty1", { xs:
|
|
8111
|
+
emptyBox$1("RankCardEmpty1", { xs: 6, sm: 0, md: 8, lg: 6 })
|
|
8110
8112
|
];
|
|
8111
8113
|
break;
|
|
8112
8114
|
case "LeaderBoard":
|
|
@@ -8136,6 +8138,7 @@ const buildPropertiesSection = function(type) {
|
|
|
8136
8138
|
getInputField("bottomLabel_3", "Third BottomLabel"),
|
|
8137
8139
|
getInputField("size", "Size"),
|
|
8138
8140
|
getRadioInputField("variant", "Variant", ["circular", "horizontal"]),
|
|
8141
|
+
emptyBox$1("ProgressBarCardEmpty", { xs: 6, sm: 0, md: 8, lg: 6 }),
|
|
8139
8142
|
getArrayControl("pieArcColors", "color", "Color")
|
|
8140
8143
|
];
|
|
8141
8144
|
break;
|
|
@@ -8174,7 +8177,7 @@ const buildPropertiesSection = function(type) {
|
|
|
8174
8177
|
getRadioInputField("multiSelect", "Enable multiSelect", ["YES", "No"]),
|
|
8175
8178
|
getInputField("size", "Size"),
|
|
8176
8179
|
getSelectField("color", "Color"),
|
|
8177
|
-
emptyBox$1("ButtonEmpty1", { xs: 6, sm:
|
|
8180
|
+
emptyBox$1("ButtonEmpty1", { xs: 6, sm: 0, md: 4, lg: 3 })
|
|
8178
8181
|
];
|
|
8179
8182
|
break;
|
|
8180
8183
|
case "Box":
|
|
@@ -8204,8 +8207,8 @@ const buildPropertiesSection = function(type) {
|
|
|
8204
8207
|
getInputField("yAxisTickCount", "Y Axis TickCount"),
|
|
8205
8208
|
getSelectField("xAxisFormatType", "X Axis Format Type"),
|
|
8206
8209
|
emptyBox$1("GraphEmpty1", { xs: 0, sm: 0, md: 4, lg: 6 }),
|
|
8207
|
-
getArrayControlMultiField("legendLabels", "key", "value", "Key", "Label"),
|
|
8208
|
-
getArrayControlMultiField("pieArcColors", "key", "value", "Key", "Color")
|
|
8210
|
+
getArrayControlMultiField("legendLabels", "Legend Labels", "key", "value", "Key", "Label"),
|
|
8211
|
+
getArrayControlMultiField("pieArcColors", "Colors", "key", "value", "Key", "Color")
|
|
8209
8212
|
];
|
|
8210
8213
|
break;
|
|
8211
8214
|
case "WrapperSection":
|
|
@@ -8225,7 +8228,7 @@ const buildPropertiesSection = function(type) {
|
|
|
8225
8228
|
getRadioInputField("verticalOrientation", "Vertical Orientation", ["YES", "NO"]),
|
|
8226
8229
|
getRadioInputField("lazyLoad", "Lazy Load", ["YES", "NO"]),
|
|
8227
8230
|
emptyBox$1("TabEmpty"),
|
|
8228
|
-
getArrayControlMultiField("sectionLabels", "label", "icon", "Label", "Icon")
|
|
8231
|
+
getArrayControlMultiField("sectionLabels", "Display Element", "label", "icon", "Label", "Icon")
|
|
8229
8232
|
];
|
|
8230
8233
|
break;
|
|
8231
8234
|
case "Table":
|
|
@@ -8254,8 +8257,7 @@ const buildPropertiesSection = function(type) {
|
|
|
8254
8257
|
getRadioInputField("treeStructure", "Flat Tree Structure", ["YES", "NO"]),
|
|
8255
8258
|
getRadioInputField("filterFromLeafRows", "Filter from tree rows", ["YES", "NO"]),
|
|
8256
8259
|
getInputField("defaultColumnSize", "Default Column Size"),
|
|
8257
|
-
,
|
|
8258
|
-
emptyBox$1("LazyLoadingTableEmpty3")
|
|
8260
|
+
emptyBox$1("LazyLoadingTableEmpty3", { xs: 0, sm: 0, md: 4, lg: 6 })
|
|
8259
8261
|
]),
|
|
8260
8262
|
getArrayControl("Table_Download_Keys_Name", "KeyName", "Table Key Name"),
|
|
8261
8263
|
sizeHolder,
|
|
@@ -8294,7 +8296,7 @@ const buildPropertiesSection = function(type) {
|
|
|
8294
8296
|
getSelectField("variant", "Variant"),
|
|
8295
8297
|
getInputField("toolTip", "Tooltip"),
|
|
8296
8298
|
getSelectField("toolTipPosition", "Tooltip Position"),
|
|
8297
|
-
emptyBox$1("
|
|
8299
|
+
emptyBox$1("dateEmpty", { xs: 6, sm: 6, md: 4, lg: 3 })
|
|
8298
8300
|
];
|
|
8299
8301
|
break;
|
|
8300
8302
|
case "DateTime":
|
|
@@ -8302,7 +8304,7 @@ const buildPropertiesSection = function(type) {
|
|
|
8302
8304
|
getSelectField("variant", "Variant"),
|
|
8303
8305
|
getInputField("toolTip", "Tooltip"),
|
|
8304
8306
|
getSelectField("toolTipPosition", "Tooltip Position"),
|
|
8305
|
-
emptyBox$1("
|
|
8307
|
+
emptyBox$1("dateTimeEmpty", { xs: 6, sm: 6, md: 4, lg: 3 })
|
|
8306
8308
|
];
|
|
8307
8309
|
break;
|
|
8308
8310
|
case "Thought":
|
|
@@ -8332,7 +8334,7 @@ const buildPropertiesSection = function(type) {
|
|
|
8332
8334
|
getInputField("noFileAvailableMessage", "No Found Message"),
|
|
8333
8335
|
getRadioInputField("useLabel", "Use Button", ["YES", "NO"]),
|
|
8334
8336
|
getRadioInputField("externalUpload", "External Upload", ["YES", "NO"]),
|
|
8335
|
-
emptyBox$1("
|
|
8337
|
+
emptyBox$1("fileInputEmpty", { xs: 6, sm: 6, md: 4, lg: 3 })
|
|
8336
8338
|
];
|
|
8337
8339
|
break;
|
|
8338
8340
|
case "Camera":
|
|
@@ -9090,7 +9092,7 @@ function refreshPage(type, store2, formdata) {
|
|
|
9090
9092
|
}
|
|
9091
9093
|
store2.setUiSchema(UiSchema);
|
|
9092
9094
|
}
|
|
9093
|
-
const
|
|
9095
|
+
const debouncedScopeNameValidator = _.debounce((store2, newName) => {
|
|
9094
9096
|
if (doesScopeNameExist(newName)) {
|
|
9095
9097
|
store2.setValidation("ValidateAndShow");
|
|
9096
9098
|
store2.setNotify({
|
|
@@ -9156,7 +9158,7 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
9156
9158
|
this.refreshPage((_d = store2 == null ? void 0 : store2.newData) == null ? void 0 : _d.type, store2);
|
|
9157
9159
|
}
|
|
9158
9160
|
if (((_e = store2 == null ? void 0 : store2.formData) == null ? void 0 : _e.name) !== ((_f = store2 == null ? void 0 : store2.newData) == null ? void 0 : _f.name) && ((_g = store2 == null ? void 0 : store2.newData) == null ? void 0 : _g.name) !== void 0) {
|
|
9159
|
-
|
|
9161
|
+
debouncedScopeNameValidator(store2, store2.newData.name);
|
|
9160
9162
|
}
|
|
9161
9163
|
},
|
|
9162
9164
|
editComponents: function() {
|
|
@@ -10311,7 +10313,7 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
|
|
|
10311
10313
|
});
|
|
10312
10314
|
uiSchema.elements[0].elements[0].elements[3] = APISection;
|
|
10313
10315
|
if (!(formdata == null ? void 0 : formdata.apiBody)) {
|
|
10314
|
-
store22.setFormdata((prev) => ({ ...prev, apiBody: "
|
|
10316
|
+
store22.setFormdata((prev) => ({ ...prev, apiBody: "(store, dynamicData, user, body, service) => {\n\n\n}" }));
|
|
10315
10317
|
}
|
|
10316
10318
|
schema2.required = ["eventType", "Handler", "method", "path"];
|
|
10317
10319
|
} else if (handlerType === "inBuiltFunction") {
|