impaktapps-ui-builder 1.0.50-alpha.23 → 1.0.50-alpha.24
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 +135 -4
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +12 -12
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +26 -0
- package/src/impaktapps-ui-builder/runtime/services/service.ts +105 -105
|
@@ -6550,7 +6550,33 @@ const ComponentSchema = {
|
|
|
6550
6550
|
{ title: "Error Icon", const: "ErrorIcon" },
|
|
6551
6551
|
{ title: "Refresh Icon", const: "RefreshIcon" },
|
|
6552
6552
|
{ title: "Download Icon", const: "DownloadIcon" },
|
|
6553
|
-
{ title: "Exception Icon", const: "ExceptionIcon" }
|
|
6553
|
+
{ title: "Exception Icon", const: "ExceptionIcon" },
|
|
6554
|
+
{ "title": "Alarm Icon", "const": "AlarmIcon" },
|
|
6555
|
+
{ "title": "Click Icon", "const": "ClickIcon" },
|
|
6556
|
+
{ "title": "Content Copy Icon", "const": "ContentCopyIcon" },
|
|
6557
|
+
{ "title": "File Copy Icon", "const": "FileCopyIcon" },
|
|
6558
|
+
{ "title": "Pause Icon", "const": "PauseIcon" },
|
|
6559
|
+
{ "title": "Play Icon", "const": "PlayIcon" },
|
|
6560
|
+
{ "title": "Close Icon", "const": "CloseIcon" },
|
|
6561
|
+
{ "title": "Replay Icon", "const": "ReplayIcon" },
|
|
6562
|
+
{ "title": "Delete Icon", "const": "DeleteIcon" },
|
|
6563
|
+
{ "title": "Drafts Icon", "const": "DraftsIcon" },
|
|
6564
|
+
{ "title": "Perm Phone Msg Icon", "const": "PermPhoneMsgIcon" },
|
|
6565
|
+
{ "title": "Paste Icon", "const": "PasteIcon" },
|
|
6566
|
+
{ "title": "Prev Icon", "const": "PrevIcon" },
|
|
6567
|
+
{ "title": "Verified Icon", "const": "VerifiedIcon" },
|
|
6568
|
+
{ "title": "Table Add Icon", "const": "TableAddIcon" },
|
|
6569
|
+
{ "title": "Table Download Icon", "const": "TableDownloadIcon" },
|
|
6570
|
+
{ "title": "Audit Trail Icon", "const": "AuditTrailIcon" },
|
|
6571
|
+
{ "title": "View Component", "const": "View" },
|
|
6572
|
+
{ "title": "Table Edit Icon", "const": "TableEditIcon" },
|
|
6573
|
+
{ "title": "Maximize Icon", "const": "Maximize" },
|
|
6574
|
+
{ "title": "Minimize Icon", "const": "Minimize" },
|
|
6575
|
+
{ "title": "Subtract Icon", "const": "Subtract" },
|
|
6576
|
+
{ "title": "Bin Icon", "const": "Bin" },
|
|
6577
|
+
{ "title": "Export Icon", "const": "Export" },
|
|
6578
|
+
{ "title": "Table Paste Icon", "const": "TablePaste" },
|
|
6579
|
+
{ "title": "Clone Icon", "const": "CloneIcon" }
|
|
6554
6580
|
]
|
|
6555
6581
|
},
|
|
6556
6582
|
color: {
|
|
@@ -10282,7 +10308,7 @@ var service = (funcParams) => {
|
|
|
10282
10308
|
};
|
|
10283
10309
|
return {
|
|
10284
10310
|
setPage: async function() {
|
|
10285
|
-
var _a, _b, _c;
|
|
10311
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m;
|
|
10286
10312
|
funcParams.store.setAdditionalErrors([]);
|
|
10287
10313
|
funcParams.store.setFormdata({});
|
|
10288
10314
|
funcParams.store.setSchema({ type: "object", properties: {} });
|
|
@@ -10295,8 +10321,113 @@ var service = (funcParams) => {
|
|
|
10295
10321
|
detail: { pageName: config2.label, hasBackIcon: true }
|
|
10296
10322
|
});
|
|
10297
10323
|
window.dispatchEvent(event2);
|
|
10298
|
-
(_b = (_a = funcParams == null ? void 0 : funcParams.store) == null ? void 0 : _a.theme) == null ? void 0 : _b.myTheme;
|
|
10299
|
-
|
|
10324
|
+
const theme = (_b = (_a = funcParams == null ? void 0 : funcParams.store) == null ? void 0 : _a.theme) == null ? void 0 : _b.myTheme;
|
|
10325
|
+
uiSchema.elements.push(
|
|
10326
|
+
{
|
|
10327
|
+
type: "HorizontalLayout",
|
|
10328
|
+
config: {
|
|
10329
|
+
main: {
|
|
10330
|
+
direction: "row"
|
|
10331
|
+
},
|
|
10332
|
+
style: {
|
|
10333
|
+
flexDirection: "row",
|
|
10334
|
+
position: "absolute",
|
|
10335
|
+
bottom: 0,
|
|
10336
|
+
height: "fit-content",
|
|
10337
|
+
overflow: "hidden",
|
|
10338
|
+
zIndex: 1e3,
|
|
10339
|
+
width: "inherit"
|
|
10340
|
+
}
|
|
10341
|
+
},
|
|
10342
|
+
elements: [
|
|
10343
|
+
{
|
|
10344
|
+
type: "Control",
|
|
10345
|
+
scope: "#/properties/FooterText",
|
|
10346
|
+
options: {
|
|
10347
|
+
widget: "Box"
|
|
10348
|
+
},
|
|
10349
|
+
config: {
|
|
10350
|
+
main: {
|
|
10351
|
+
heading: "Copywriter@ACT21.IO"
|
|
10352
|
+
},
|
|
10353
|
+
style: {
|
|
10354
|
+
color: ((_d = (_c = theme == null ? void 0 : theme.palette) == null ? void 0 : _c.text) == null ? void 0 : _d.disabled) || "#AFAFAF",
|
|
10355
|
+
fontSize: "11px",
|
|
10356
|
+
textAlign: "center",
|
|
10357
|
+
lineHeight: 2,
|
|
10358
|
+
width: "fit-content",
|
|
10359
|
+
left: "50%",
|
|
10360
|
+
position: "relative",
|
|
10361
|
+
margin: 0,
|
|
10362
|
+
flexGrow: 1,
|
|
10363
|
+
height: 0,
|
|
10364
|
+
transform: "translate(-50%, 0%)"
|
|
10365
|
+
}
|
|
10366
|
+
}
|
|
10367
|
+
},
|
|
10368
|
+
{
|
|
10369
|
+
type: "Control",
|
|
10370
|
+
scope: "#/properties/FooterBackIcon",
|
|
10371
|
+
options: {
|
|
10372
|
+
widget: "Box"
|
|
10373
|
+
},
|
|
10374
|
+
config: {
|
|
10375
|
+
main: {
|
|
10376
|
+
iconName: "PrevIcon",
|
|
10377
|
+
onClick: "backHandler",
|
|
10378
|
+
width: "fit-content"
|
|
10379
|
+
},
|
|
10380
|
+
style: {
|
|
10381
|
+
fill: (_f = (_e = theme == null ? void 0 : theme.palette) == null ? void 0 : _e.primary) == null ? void 0 : _f.main,
|
|
10382
|
+
width: 20,
|
|
10383
|
+
height: 0,
|
|
10384
|
+
top: 0,
|
|
10385
|
+
right: { xs: "12px", sm: "84px" },
|
|
10386
|
+
position: "absolute",
|
|
10387
|
+
fontSize: "12px",
|
|
10388
|
+
cursor: "pointer",
|
|
10389
|
+
":hover": {
|
|
10390
|
+
fill: (_h = (_g = theme == null ? void 0 : theme.palette) == null ? void 0 : _g.primary) == null ? void 0 : _h.dark
|
|
10391
|
+
},
|
|
10392
|
+
marginRight: "20px"
|
|
10393
|
+
}
|
|
10394
|
+
}
|
|
10395
|
+
},
|
|
10396
|
+
{
|
|
10397
|
+
type: "Control",
|
|
10398
|
+
scope: "#/properties/FooterBackHandlerText",
|
|
10399
|
+
options: {
|
|
10400
|
+
widget: "Box"
|
|
10401
|
+
},
|
|
10402
|
+
config: {
|
|
10403
|
+
main: {
|
|
10404
|
+
heading: "Previous Page",
|
|
10405
|
+
onClick: "backHandler"
|
|
10406
|
+
},
|
|
10407
|
+
style: {
|
|
10408
|
+
display: { xs: "none", sm: "flex" },
|
|
10409
|
+
textAlign: "left",
|
|
10410
|
+
lineHeight: 1,
|
|
10411
|
+
height: 0,
|
|
10412
|
+
width: "fit-content",
|
|
10413
|
+
color: (_j = (_i = theme == null ? void 0 : theme.palette) == null ? void 0 : _i.primary) == null ? void 0 : _j.main,
|
|
10414
|
+
fontSize: "12px",
|
|
10415
|
+
cursor: "pointer",
|
|
10416
|
+
marginLeft: "2px",
|
|
10417
|
+
top: 3,
|
|
10418
|
+
right: "12px",
|
|
10419
|
+
position: "absolute",
|
|
10420
|
+
":hover": {
|
|
10421
|
+
color: (_l = (_k = theme == null ? void 0 : theme.palette) == null ? void 0 : _k.primary) == null ? void 0 : _l.dark
|
|
10422
|
+
},
|
|
10423
|
+
marginRight: "4px"
|
|
10424
|
+
}
|
|
10425
|
+
}
|
|
10426
|
+
}
|
|
10427
|
+
]
|
|
10428
|
+
}
|
|
10429
|
+
);
|
|
10430
|
+
const schema2 = (_m = pageData == null ? void 0 : pageData.schema) != null ? _m : { type: "object", properties: {} };
|
|
10300
10431
|
eventGroups = extractEvents(config2);
|
|
10301
10432
|
executeEventsParameters = {
|
|
10302
10433
|
config: {},
|