impaktapps-ui-builder 0.0.287 → 0.0.288
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 +49 -49
- 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/builder/build/uischema/apiSection.d.ts +4 -4
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/coreSection.d.ts +4 -4
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/validationSections.d.ts +2 -2
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/apiSection.ts +6 -6
- package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +36 -36
- package/src/impaktapps-ui-builder/builder/build/uischema/validationSections.ts +4 -4
- package/src/impaktapps-ui-builder/runtime/services/events.ts +5 -5
|
@@ -6379,34 +6379,34 @@ const CoreSection = {
|
|
|
6379
6379
|
label: "Type",
|
|
6380
6380
|
type: "text",
|
|
6381
6381
|
options: [
|
|
6382
|
-
{
|
|
6383
|
-
{
|
|
6384
|
-
{
|
|
6385
|
-
{
|
|
6386
|
-
{
|
|
6387
|
-
{
|
|
6388
|
-
{
|
|
6389
|
-
{
|
|
6390
|
-
{
|
|
6391
|
-
{
|
|
6392
|
-
{
|
|
6393
|
-
{
|
|
6394
|
-
{
|
|
6395
|
-
{
|
|
6396
|
-
{
|
|
6397
|
-
{
|
|
6398
|
-
{
|
|
6399
|
-
{
|
|
6400
|
-
{
|
|
6401
|
-
{
|
|
6402
|
-
{
|
|
6403
|
-
{
|
|
6404
|
-
{
|
|
6405
|
-
{
|
|
6406
|
-
{
|
|
6407
|
-
{
|
|
6408
|
-
{
|
|
6409
|
-
{
|
|
6382
|
+
{ label: "Select", value: "Select" },
|
|
6383
|
+
{ label: "Date", value: "Date" },
|
|
6384
|
+
{ label: "CheckBox", value: "CheckBox" },
|
|
6385
|
+
{ label: "Table", value: "Table" },
|
|
6386
|
+
{ label: "Lazy Loading Table", value: "LazyLoadingTable" },
|
|
6387
|
+
{ label: "Array", value: "Array" },
|
|
6388
|
+
{ label: "Container", value: "WrapperSection" },
|
|
6389
|
+
{ label: "Tabs", value: "TabSection" },
|
|
6390
|
+
{ label: "Text", value: "Text" },
|
|
6391
|
+
{ label: "Text Area", value: "TextArea" },
|
|
6392
|
+
{ label: "Button", value: "Button" },
|
|
6393
|
+
{ label: "Card", value: "card" },
|
|
6394
|
+
{ label: "Radio", value: "Radio" },
|
|
6395
|
+
{ label: "Rank", value: "Rank" },
|
|
6396
|
+
{ label: "SpeedoMeter", value: "SpeedoMeter" },
|
|
6397
|
+
{ label: "ProgressBar", value: "ProgressBar" },
|
|
6398
|
+
{ label: "Graph", value: "Graph" },
|
|
6399
|
+
{ label: "Label", value: "Box" },
|
|
6400
|
+
{ label: "Upload File", value: "UploadFile" },
|
|
6401
|
+
{ label: "Download File", value: "DownloadFile" },
|
|
6402
|
+
{ label: "Empty Box", value: "EmptyBox" },
|
|
6403
|
+
{ label: "ProgressBar Card", value: "ProgressBarCard" },
|
|
6404
|
+
{ label: "Rank Card", value: "RankCard" },
|
|
6405
|
+
{ label: "Runner Boy Progress Bar", value: "RunnerBoyProgressBar" },
|
|
6406
|
+
{ label: "Slider", value: "Slider" },
|
|
6407
|
+
{ label: "Timer", value: "Timer" },
|
|
6408
|
+
{ label: "MultipleSelect", value: "MultipleSelect" },
|
|
6409
|
+
{ label: "LeaderBoard", value: "LeaderBoard" }
|
|
6410
6410
|
]
|
|
6411
6411
|
}
|
|
6412
6412
|
}
|
|
@@ -6482,10 +6482,10 @@ const CoreSection = {
|
|
|
6482
6482
|
main: {
|
|
6483
6483
|
label: "Screen Size",
|
|
6484
6484
|
options: [
|
|
6485
|
-
{
|
|
6486
|
-
{
|
|
6487
|
-
{
|
|
6488
|
-
{
|
|
6485
|
+
{ label: "Extra Small", value: "xs" },
|
|
6486
|
+
{ label: "Small", value: "sm" },
|
|
6487
|
+
{ label: "Medium", value: "md" },
|
|
6488
|
+
{ label: "Large", value: "lg" }
|
|
6489
6489
|
]
|
|
6490
6490
|
}
|
|
6491
6491
|
}
|
|
@@ -6506,10 +6506,10 @@ const CoreSection = {
|
|
|
6506
6506
|
main: {
|
|
6507
6507
|
label: "Value",
|
|
6508
6508
|
options: [
|
|
6509
|
-
{
|
|
6510
|
-
{
|
|
6511
|
-
{
|
|
6512
|
-
{
|
|
6509
|
+
{ label: "3", value: "3" },
|
|
6510
|
+
{ label: "5.5", value: "5.5" },
|
|
6511
|
+
{ label: "8", value: "8" },
|
|
6512
|
+
{ label: "12", value: "12" }
|
|
6513
6513
|
]
|
|
6514
6514
|
}
|
|
6515
6515
|
}
|
|
@@ -7132,10 +7132,10 @@ const ValidationSection = {
|
|
|
7132
7132
|
main: {
|
|
7133
7133
|
label: "Validation Type",
|
|
7134
7134
|
options: [
|
|
7135
|
-
{
|
|
7136
|
-
{
|
|
7137
|
-
{
|
|
7138
|
-
{
|
|
7135
|
+
{ value: "required", label: "Required" },
|
|
7136
|
+
{ value: "minLength", label: "Minimum Length" },
|
|
7137
|
+
{ value: "maxLength", label: "Maximum Length" },
|
|
7138
|
+
{ value: "pattern", label: "Pattern" }
|
|
7139
7139
|
]
|
|
7140
7140
|
}
|
|
7141
7141
|
}
|
|
@@ -9491,10 +9491,10 @@ const APISection = {
|
|
|
9491
9491
|
label: "Method",
|
|
9492
9492
|
type: "text",
|
|
9493
9493
|
options: [
|
|
9494
|
-
{
|
|
9495
|
-
{
|
|
9496
|
-
{
|
|
9497
|
-
{
|
|
9494
|
+
{ label: "Get", value: "get" },
|
|
9495
|
+
{ label: "Post", value: "post" },
|
|
9496
|
+
{ label: "Delete", value: "delete" },
|
|
9497
|
+
{ label: "Put", value: "put" }
|
|
9498
9498
|
]
|
|
9499
9499
|
}
|
|
9500
9500
|
}
|
|
@@ -9739,16 +9739,16 @@ const downloadFile = (obj) => {
|
|
|
9739
9739
|
const executeEvents = async (params2) => {
|
|
9740
9740
|
var _a, _b, _c;
|
|
9741
9741
|
let nextEvent = [];
|
|
9742
|
-
let
|
|
9742
|
+
let finalResponse = null;
|
|
9743
9743
|
try {
|
|
9744
9744
|
if (!shouldEventExecute(params2)) {
|
|
9745
9745
|
return { response: void 0, events: void 0 };
|
|
9746
9746
|
}
|
|
9747
9747
|
const response2 = await executeEventsHandler(params2);
|
|
9748
|
-
|
|
9748
|
+
finalResponse = response2;
|
|
9749
9749
|
const SuccessEvent = (_a = params2.config) == null ? void 0 : _a.events.filter((e) => e.eventType === "Success");
|
|
9750
9750
|
if (params2.config.returnNeeded) {
|
|
9751
|
-
return
|
|
9751
|
+
return finalResponse;
|
|
9752
9752
|
}
|
|
9753
9753
|
nextEvent = SuccessEvent;
|
|
9754
9754
|
} catch (err) {
|
|
@@ -9758,10 +9758,10 @@ const executeEvents = async (params2) => {
|
|
|
9758
9758
|
}
|
|
9759
9759
|
if ((nextEvent == null ? void 0 : nextEvent.length) > 0) {
|
|
9760
9760
|
for (const actionConfig of nextEvent) {
|
|
9761
|
-
await executeEvents({ ...params2, config: actionConfig, parentEventOutput:
|
|
9761
|
+
await executeEvents({ ...params2, config: actionConfig, parentEventOutput: finalResponse });
|
|
9762
9762
|
}
|
|
9763
9763
|
}
|
|
9764
|
-
return
|
|
9764
|
+
return finalResponse;
|
|
9765
9765
|
};
|
|
9766
9766
|
async function executeEventsHandler(params2) {
|
|
9767
9767
|
if (params2.config.Handler === "api") {
|