impaktapps-ui-builder 1.0.80 → 1.0.81-checkBox.1
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 +22 -11
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +4 -4
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildCheckbox.ts +3 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +8 -0
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +2 -1
- package/src/impaktapps-ui-builder/builder/services/component.ts +1 -0
- package/src/impaktapps-ui-builder/runtime/services/service.ts +7 -5
|
@@ -6275,7 +6275,8 @@ const ComponentSchema = {
|
|
|
6275
6275
|
oneOf: [
|
|
6276
6276
|
{ title: "Date Column", const: "date" },
|
|
6277
6277
|
{ title: "DateTime Column", const: "dateTime" },
|
|
6278
|
-
{ title: "Amount Column", const: "amount" }
|
|
6278
|
+
{ title: "Amount Column", const: "amount" },
|
|
6279
|
+
{ title: "Center Column", const: "action" }
|
|
6279
6280
|
]
|
|
6280
6281
|
},
|
|
6281
6282
|
variant: {
|
|
@@ -7914,6 +7915,12 @@ const buildPropertiesSection = function(type) {
|
|
|
7914
7915
|
emptyBox$1("imageEmpty", { xs: 0, sm: 0, md: 4, lg: 6 })
|
|
7915
7916
|
];
|
|
7916
7917
|
break;
|
|
7918
|
+
case "Checkbox":
|
|
7919
|
+
uiSchema.elements = [
|
|
7920
|
+
getRadioInputField("isTableSelect", "Is Table Select", ["YES", "NO"]),
|
|
7921
|
+
emptyBox$1("CheckBoxEmpty1", { xs: 6, sm: 6, md: 8, lg: 9 })
|
|
7922
|
+
];
|
|
7923
|
+
break;
|
|
7917
7924
|
}
|
|
7918
7925
|
return uiSchema;
|
|
7919
7926
|
};
|
|
@@ -8420,7 +8427,8 @@ const sectionLabels = {
|
|
|
8420
8427
|
Thought: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
8421
8428
|
Date: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
8422
8429
|
DateTime: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
8423
|
-
Image: ["Core", "Properties", "Style"]
|
|
8430
|
+
Image: ["Core", "Properties", "Style"],
|
|
8431
|
+
Checkbox: ["Core", "Properties", "Events", "Style", "Validation"]
|
|
8424
8432
|
};
|
|
8425
8433
|
function refreshPage(type, store2) {
|
|
8426
8434
|
var _a, _b;
|
|
@@ -10293,6 +10301,15 @@ var service = (funcParams) => {
|
|
|
10293
10301
|
eventGroups,
|
|
10294
10302
|
formDataHolder
|
|
10295
10303
|
};
|
|
10304
|
+
funcParams.store.setSchema(
|
|
10305
|
+
(pre) => {
|
|
10306
|
+
return {
|
|
10307
|
+
...schema2,
|
|
10308
|
+
...pre,
|
|
10309
|
+
properties: { ...schema2.properties, ...pre.properties }
|
|
10310
|
+
};
|
|
10311
|
+
}
|
|
10312
|
+
);
|
|
10296
10313
|
await executeRefreshHandler({
|
|
10297
10314
|
config: {},
|
|
10298
10315
|
componentName: "",
|
|
@@ -10304,15 +10321,6 @@ var service = (funcParams) => {
|
|
|
10304
10321
|
eventGroups,
|
|
10305
10322
|
formDataHolder: {}
|
|
10306
10323
|
});
|
|
10307
|
-
funcParams.store.setSchema(
|
|
10308
|
-
(pre) => {
|
|
10309
|
-
return {
|
|
10310
|
-
...schema2,
|
|
10311
|
-
...pre,
|
|
10312
|
-
properties: { ...schema2.properties, ...pre.properties }
|
|
10313
|
-
};
|
|
10314
|
-
}
|
|
10315
|
-
);
|
|
10316
10324
|
uiSchema.elements.push(notifyUiSchema);
|
|
10317
10325
|
funcParams.store.setUiSchema(uiSchema);
|
|
10318
10326
|
},
|
|
@@ -11750,6 +11758,9 @@ const buildCheckbox = (config2, componentScope2) => {
|
|
|
11750
11758
|
if (config2.style) {
|
|
11751
11759
|
check.config.style = JSON.parse(config2.style);
|
|
11752
11760
|
}
|
|
11761
|
+
if (config2.isTableSelect) {
|
|
11762
|
+
check.config.isTableSelect = config2.isTableSelect === "YES" ? true : false;
|
|
11763
|
+
}
|
|
11753
11764
|
return check;
|
|
11754
11765
|
};
|
|
11755
11766
|
const buildLineGraph = (config2, componentScope2) => {
|