impaktapps-ui-builder 0.0.402 → 0.0.404
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 +21 -11
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +3 -3
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/runtime/services/events.d.ts +1 -0
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildTable.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +2 -0
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +8 -1
- package/src/impaktapps-ui-builder/runtime/services/events.ts +1 -1
- package/src/impaktapps-ui-builder/runtime/services/service.ts +9 -6
|
@@ -5909,7 +5909,13 @@ const ComponentSchema = {
|
|
|
5909
5909
|
{ title: "Text", const: "Text" },
|
|
5910
5910
|
{ title: "Text Area", const: "TextArea" },
|
|
5911
5911
|
{ title: "Timer", const: "Timer" },
|
|
5912
|
-
{ title: "Upload File", const: "UploadFile" }
|
|
5912
|
+
{ title: "Upload File", const: "UploadFile" },
|
|
5913
|
+
{ title: "Text Area", const: "TextArea" },
|
|
5914
|
+
{ title: "Timer", const: "Timer" },
|
|
5915
|
+
{ title: "Upload File", const: "UploadFile" },
|
|
5916
|
+
{ title: "Date Column", const: "date" },
|
|
5917
|
+
{ title: "DateTime Column", const: "dateTime" },
|
|
5918
|
+
{ title: "Amount Column", const: "amount" }
|
|
5913
5919
|
]
|
|
5914
5920
|
},
|
|
5915
5921
|
orientation: {
|
|
@@ -8646,6 +8652,7 @@ var service = (funcParams) => {
|
|
|
8646
8652
|
return {
|
|
8647
8653
|
setPage: async function() {
|
|
8648
8654
|
funcParams.store.setFormdata({});
|
|
8655
|
+
await asyncOperation();
|
|
8649
8656
|
executeEventsParameters = {
|
|
8650
8657
|
config: {},
|
|
8651
8658
|
componentName: "",
|
|
@@ -8657,16 +8664,6 @@ var service = (funcParams) => {
|
|
|
8657
8664
|
serviceHolder: this,
|
|
8658
8665
|
eventGroups
|
|
8659
8666
|
};
|
|
8660
|
-
funcParams.store.setSchema(
|
|
8661
|
-
(pre) => {
|
|
8662
|
-
return {
|
|
8663
|
-
...funcParams.schema,
|
|
8664
|
-
properties: { ...funcParams.schema.properties, ...pre.properties }
|
|
8665
|
-
};
|
|
8666
|
-
}
|
|
8667
|
-
);
|
|
8668
|
-
funcParams.uiSchema.elements.push(notifyUiSchema);
|
|
8669
|
-
funcParams.store.setUiSchema(funcParams.uiSchema);
|
|
8670
8667
|
await executeRefreshHandler({
|
|
8671
8668
|
config: {},
|
|
8672
8669
|
componentName: "",
|
|
@@ -8677,6 +8674,17 @@ var service = (funcParams) => {
|
|
|
8677
8674
|
serviceHolder: this,
|
|
8678
8675
|
eventGroups
|
|
8679
8676
|
});
|
|
8677
|
+
await asyncOperation();
|
|
8678
|
+
funcParams.store.setSchema(
|
|
8679
|
+
(pre) => {
|
|
8680
|
+
return {
|
|
8681
|
+
...funcParams.schema,
|
|
8682
|
+
properties: { ...funcParams.schema.properties, ...pre.properties }
|
|
8683
|
+
};
|
|
8684
|
+
}
|
|
8685
|
+
);
|
|
8686
|
+
funcParams.uiSchema.elements.push(notifyUiSchema);
|
|
8687
|
+
funcParams.store.setUiSchema(funcParams.uiSchema);
|
|
8680
8688
|
},
|
|
8681
8689
|
onClick: async function() {
|
|
8682
8690
|
await this.callHandler("onClick");
|
|
@@ -10941,10 +10949,12 @@ const buildUiSchema = (config) => {
|
|
|
10941
10949
|
accessorKey: e.name,
|
|
10942
10950
|
header: e.label || e.name,
|
|
10943
10951
|
size: sizeMap[e.name] || 180,
|
|
10952
|
+
type: e.type,
|
|
10944
10953
|
widget: buildUiSchema(e)
|
|
10945
10954
|
};
|
|
10946
10955
|
}
|
|
10947
10956
|
return {
|
|
10957
|
+
type: e.type,
|
|
10948
10958
|
accessorKey: e.name,
|
|
10949
10959
|
header: e.label || e.name,
|
|
10950
10960
|
size: sizeMap[e.name] || 180
|