impaktapps-ui-builder 0.0.101-alpha.346 → 0.0.101-alpha.348
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 +9 -9
- 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/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +0 -17
- package/src/impaktapps-ui-builder/runtime/services/service.ts +1 -141
|
@@ -10270,7 +10270,7 @@ var service = (funcParams) => {
|
|
|
10270
10270
|
};
|
|
10271
10271
|
return {
|
|
10272
10272
|
setPage: async function() {
|
|
10273
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
|
|
10273
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p;
|
|
10274
10274
|
funcParams.store.setFormdata({});
|
|
10275
10275
|
funcParams.store.newData = {};
|
|
10276
10276
|
const pageBasicDetailString = sessionStorage.getItem("pagemasterMetaData");
|
|
@@ -10287,7 +10287,7 @@ var service = (funcParams) => {
|
|
|
10287
10287
|
const config2 = pageData == null ? void 0 : pageData.config;
|
|
10288
10288
|
const pathParts = funcParams.store.location.pathname.split("/");
|
|
10289
10289
|
const programId = ((_a = JSON.parse(window.sessionStorage.getItem("ProgramID") || "{}")) == null ? void 0 : _a.value) || "programID";
|
|
10290
|
-
if (pathParts.
|
|
10290
|
+
if (((_b = pathParts == null ? void 0 : pathParts[2]) == null ? void 0 : _b.startsWith("[")) && ((_c = pathParts == null ? void 0 : pathParts[2]) == null ? void 0 : _c.endsWith("]"))) {
|
|
10291
10291
|
if (programId !== "programID") {
|
|
10292
10292
|
funcParams.store.setFormdata((pre) => ({ ...pre, programId }));
|
|
10293
10293
|
}
|
|
@@ -10297,7 +10297,7 @@ var service = (funcParams) => {
|
|
|
10297
10297
|
detail: { pageName: config2.label }
|
|
10298
10298
|
});
|
|
10299
10299
|
window.dispatchEvent(event2);
|
|
10300
|
-
const theme = (
|
|
10300
|
+
const theme = (_e = (_d = funcParams == null ? void 0 : funcParams.store) == null ? void 0 : _d.theme) == null ? void 0 : _e.myTheme;
|
|
10301
10301
|
uiSchema.elements.push(
|
|
10302
10302
|
{
|
|
10303
10303
|
type: "HorizontalLayout",
|
|
@@ -10327,7 +10327,7 @@ var service = (funcParams) => {
|
|
|
10327
10327
|
heading: "Copywriter@ACT21.IO"
|
|
10328
10328
|
},
|
|
10329
10329
|
style: {
|
|
10330
|
-
color: ((
|
|
10330
|
+
color: ((_g = (_f = theme == null ? void 0 : theme.palette) == null ? void 0 : _f.text) == null ? void 0 : _g.disabled) || "#AFAFAF",
|
|
10331
10331
|
fontSize: "11px",
|
|
10332
10332
|
textAlign: "center",
|
|
10333
10333
|
lineHeight: 2,
|
|
@@ -10354,7 +10354,7 @@ var service = (funcParams) => {
|
|
|
10354
10354
|
width: "fit-content"
|
|
10355
10355
|
},
|
|
10356
10356
|
style: {
|
|
10357
|
-
fill: (
|
|
10357
|
+
fill: (_i = (_h = theme == null ? void 0 : theme.palette) == null ? void 0 : _h.primary) == null ? void 0 : _i.main,
|
|
10358
10358
|
width: 20,
|
|
10359
10359
|
height: 0,
|
|
10360
10360
|
top: 0,
|
|
@@ -10363,7 +10363,7 @@ var service = (funcParams) => {
|
|
|
10363
10363
|
fontSize: "12px",
|
|
10364
10364
|
cursor: "pointer",
|
|
10365
10365
|
":hover": {
|
|
10366
|
-
fill: (
|
|
10366
|
+
fill: (_k = (_j = theme == null ? void 0 : theme.palette) == null ? void 0 : _j.primary) == null ? void 0 : _k.dark
|
|
10367
10367
|
},
|
|
10368
10368
|
marginRight: "20px"
|
|
10369
10369
|
}
|
|
@@ -10386,7 +10386,7 @@ var service = (funcParams) => {
|
|
|
10386
10386
|
lineHeight: 1,
|
|
10387
10387
|
height: 0,
|
|
10388
10388
|
width: "fit-content",
|
|
10389
|
-
color: (
|
|
10389
|
+
color: (_m = (_l = theme == null ? void 0 : theme.palette) == null ? void 0 : _l.primary) == null ? void 0 : _m.main,
|
|
10390
10390
|
fontSize: "12px",
|
|
10391
10391
|
cursor: "pointer",
|
|
10392
10392
|
marginLeft: "2px",
|
|
@@ -10394,7 +10394,7 @@ var service = (funcParams) => {
|
|
|
10394
10394
|
right: "12px",
|
|
10395
10395
|
position: "absolute",
|
|
10396
10396
|
":hover": {
|
|
10397
|
-
color: (
|
|
10397
|
+
color: (_o = (_n = theme == null ? void 0 : theme.palette) == null ? void 0 : _n.primary) == null ? void 0 : _o.dark
|
|
10398
10398
|
},
|
|
10399
10399
|
marginRight: "4px"
|
|
10400
10400
|
}
|
|
@@ -10403,7 +10403,7 @@ var service = (funcParams) => {
|
|
|
10403
10403
|
]
|
|
10404
10404
|
}
|
|
10405
10405
|
);
|
|
10406
|
-
const schema2 = (
|
|
10406
|
+
const schema2 = (_p = pageData == null ? void 0 : pageData.schema) != null ? _p : { type: "object", properties: {} };
|
|
10407
10407
|
eventGroups = extractEvents(config2);
|
|
10408
10408
|
executeEventsParameters = {
|
|
10409
10409
|
config: {},
|