impaktapps-ui-builder 1.0.50 → 1.0.52
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 +13 -5
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +1 -1
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/runtime/services/service.d.ts +2 -0
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildFileInput.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/selectInputField.ts +1 -1
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.ts +7 -4
- package/src/impaktapps-ui-builder/runtime/services/service.ts +7 -1
|
@@ -7483,7 +7483,7 @@ const cardLayout = {
|
|
|
7483
7483
|
widget: "SelectInputField"
|
|
7484
7484
|
},
|
|
7485
7485
|
config: {
|
|
7486
|
-
layout: { xs: 6, sm: 6, md: 4, lg:
|
|
7486
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 3 },
|
|
7487
7487
|
main: {
|
|
7488
7488
|
label: "Screen Size"
|
|
7489
7489
|
}
|
|
@@ -8934,7 +8934,9 @@ const EventSchema = {
|
|
|
8934
8934
|
{ title: "Next", const: "onNext" },
|
|
8935
8935
|
{ title: "Row Movement", const: "onRowMovement" },
|
|
8936
8936
|
{ title: "Download", const: "onDownload" },
|
|
8937
|
-
{ title: "Fail", const: "Fail" }
|
|
8937
|
+
{ title: "Fail", const: "Fail" },
|
|
8938
|
+
{ title: "PopUP NO Event", const: "onDeletePopupNo" },
|
|
8939
|
+
{ title: "PopUP Yes Event", const: "onDeletePopupYes" }
|
|
8938
8940
|
]
|
|
8939
8941
|
},
|
|
8940
8942
|
Handler: {
|
|
@@ -10458,6 +10460,12 @@ var service = (funcParams) => {
|
|
|
10458
10460
|
onClick: function() {
|
|
10459
10461
|
this.callHandler("onClick");
|
|
10460
10462
|
},
|
|
10463
|
+
onDeletePopupNo: function() {
|
|
10464
|
+
this.callHandler("onDeletePopupNo");
|
|
10465
|
+
},
|
|
10466
|
+
onDeletePopupYes: function() {
|
|
10467
|
+
this.callHandler("onDeletePopupYes");
|
|
10468
|
+
},
|
|
10461
10469
|
onMount: function() {
|
|
10462
10470
|
this.callHandler("onMount");
|
|
10463
10471
|
},
|
|
@@ -10570,7 +10578,7 @@ var service = (funcParams) => {
|
|
|
10570
10578
|
},
|
|
10571
10579
|
callHandler: async function(eventType, functionParameters) {
|
|
10572
10580
|
var _a, _b, _c;
|
|
10573
|
-
const path = ((_a = funcParams.dynamicData) == null ? void 0 : _a.tableButtonPath) || funcParams.dynamicData.path.split(".")[
|
|
10581
|
+
const path = ((_a = funcParams.dynamicData) == null ? void 0 : _a.tableButtonPath) || funcParams.dynamicData.path.split(".")[funcParams.dynamicData.path.split(".").length - 1];
|
|
10574
10582
|
if (((_b = eventGroups == null ? void 0 : eventGroups[eventType]) == null ? void 0 : _b[path]) !== void 0) {
|
|
10575
10583
|
Promise.all((_c = eventGroups == null ? void 0 : eventGroups[eventType]) == null ? void 0 : _c[path].map((eventConfig) => {
|
|
10576
10584
|
executeEventsParameters.store.functionParameters = functionParameters;
|
|
@@ -11071,7 +11079,7 @@ var SelectInputField = {
|
|
|
11071
11079
|
widget: "SelectInputField"
|
|
11072
11080
|
},
|
|
11073
11081
|
config: {
|
|
11074
|
-
layout: { xs: 12, sm: 6, md: 4, lg:
|
|
11082
|
+
layout: { xs: 12, sm: 6, md: 4, lg: 3 },
|
|
11075
11083
|
main: {
|
|
11076
11084
|
label: "",
|
|
11077
11085
|
type: "text",
|
|
@@ -12000,7 +12008,7 @@ const FileInput = {
|
|
|
12000
12008
|
widget: "FileInputField"
|
|
12001
12009
|
},
|
|
12002
12010
|
config: {
|
|
12003
|
-
layout: { xs: 6, sm: 6, md: 4, lg:
|
|
12011
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 3 },
|
|
12004
12012
|
main: {
|
|
12005
12013
|
required: false,
|
|
12006
12014
|
onUpload: "onFileUpload",
|