impaktapps-ui-builder 1.0.80 → 1.0.81-checkBox.0
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 +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/services/component.ts +1 -0
- package/src/impaktapps-ui-builder/runtime/services/service.ts +7 -5
package/package.json
CHANGED
|
@@ -24,5 +24,8 @@ export const buildCheckbox = (config,componentScope) => {
|
|
|
24
24
|
if (config.style) {
|
|
25
25
|
check.config.style = JSON.parse(config.style)
|
|
26
26
|
}
|
|
27
|
+
if(config.isTableSelect){
|
|
28
|
+
check.config.isTableSelect = config.isTableSelect === "YES" ? true : false;
|
|
29
|
+
}
|
|
27
30
|
return check;
|
|
28
31
|
}
|
|
@@ -552,6 +552,14 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
552
552
|
emptyBox("imageEmpty", { xs: 0, sm: 0, md: 4, lg: 6 }),
|
|
553
553
|
]
|
|
554
554
|
break;
|
|
555
|
+
|
|
556
|
+
case "Checkbox":
|
|
557
|
+
uiSchema.elements = [
|
|
558
|
+
getRadioInputField("isTableSelect", "Is Table Select", ["YES", "NO"]),
|
|
559
|
+
emptyBox("CheckBoxEmpty1", { xs: 6, sm: 6, md: 8, lg: 9 })
|
|
560
|
+
]
|
|
561
|
+
break;
|
|
562
|
+
|
|
555
563
|
}
|
|
556
564
|
return uiSchema;
|
|
557
565
|
};
|
|
@@ -46,6 +46,7 @@ const sectionLabels = {
|
|
|
46
46
|
Date: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
47
47
|
DateTime: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
48
48
|
Image: ["Core", "Properties","Style"],
|
|
49
|
+
Checkbox: ["Core", "Events", "Style","Validation"]
|
|
49
50
|
}
|
|
50
51
|
|
|
51
52
|
export function refreshPage(type: string, store: any) {
|
|
@@ -92,11 +92,7 @@ export default (funcParams: funcParamsProps) => {
|
|
|
92
92
|
functionsProvider: funcParams.functionsProvider,
|
|
93
93
|
serviceHolder: this, eventGroups, formDataHolder
|
|
94
94
|
}
|
|
95
|
-
|
|
96
|
-
config: {}, componentName: "",
|
|
97
|
-
store: funcParams.store, dynamicData: funcParams.dynamicData, userValue: funcParams.userValue, service: funcParams.service,
|
|
98
|
-
serviceHolder: this, eventGroups, formDataHolder: {}
|
|
99
|
-
})
|
|
95
|
+
|
|
100
96
|
funcParams.store.setSchema(
|
|
101
97
|
(pre: any) => {
|
|
102
98
|
return {
|
|
@@ -105,6 +101,12 @@ export default (funcParams: funcParamsProps) => {
|
|
|
105
101
|
}
|
|
106
102
|
}
|
|
107
103
|
)
|
|
104
|
+
await executeRefreshHandler({
|
|
105
|
+
config: {}, componentName: "",
|
|
106
|
+
store: funcParams.store, dynamicData: funcParams.dynamicData, userValue: funcParams.userValue, service: funcParams.service,
|
|
107
|
+
serviceHolder: this, eventGroups, formDataHolder: {}
|
|
108
|
+
})
|
|
109
|
+
|
|
108
110
|
uiSchema.elements.push(notifyUiSchema);
|
|
109
111
|
funcParams.store.setUiSchema(uiSchema);
|
|
110
112
|
},
|