impaktapps-ui-builder 0.0.105-4.alpha-3 → 0.0.105-4.alpha-5
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 -15
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +8 -8
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/runtime/services/service.d.ts +1 -0
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/runtime/services/service.ts +11 -8
|
@@ -10208,7 +10208,7 @@ var service = (funcParams) => {
|
|
|
10208
10208
|
};
|
|
10209
10209
|
return {
|
|
10210
10210
|
setPage: async function() {
|
|
10211
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m
|
|
10211
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m;
|
|
10212
10212
|
funcParams.store.setFormdata({});
|
|
10213
10213
|
funcParams.store.newData = {};
|
|
10214
10214
|
const pageBasicDetailString = sessionStorage.getItem("pagemasterMetaData");
|
|
@@ -10223,19 +10223,13 @@ var service = (funcParams) => {
|
|
|
10223
10223
|
}));
|
|
10224
10224
|
}
|
|
10225
10225
|
const config2 = pageData == null ? void 0 : pageData.config;
|
|
10226
|
-
|
|
10227
|
-
const programId = ((_a = JSON.parse(window.sessionStorage.getItem("ProgramID") || "{}")) == null ? void 0 : _a.value) || "programID";
|
|
10228
|
-
if ((pathParts == null ? void 0 : pathParts[1]) === "page" && (pathParts == null ? void 0 : pathParts[2]) === "program_name") {
|
|
10229
|
-
if (programId !== "programID") {
|
|
10230
|
-
funcParams.store.setFormdata((pre) => ({ ...pre, programId }));
|
|
10231
|
-
}
|
|
10232
|
-
}
|
|
10226
|
+
funcParams == null ? void 0 : funcParams.setExternaldata();
|
|
10233
10227
|
const uiSchema = pageData == null ? void 0 : pageData.uiSchema;
|
|
10234
10228
|
const event2 = new CustomEvent("pageNameChanged", {
|
|
10235
10229
|
detail: { pageName: config2.label }
|
|
10236
10230
|
});
|
|
10237
10231
|
window.dispatchEvent(event2);
|
|
10238
|
-
const theme = (
|
|
10232
|
+
const theme = (_b = (_a = funcParams == null ? void 0 : funcParams.store) == null ? void 0 : _a.theme) == null ? void 0 : _b.myTheme;
|
|
10239
10233
|
uiSchema.elements.push(
|
|
10240
10234
|
{
|
|
10241
10235
|
type: "HorizontalLayout",
|
|
@@ -10265,7 +10259,7 @@ var service = (funcParams) => {
|
|
|
10265
10259
|
heading: "Copywriter@ACT21.IO"
|
|
10266
10260
|
},
|
|
10267
10261
|
style: {
|
|
10268
|
-
color: ((
|
|
10262
|
+
color: ((_d = (_c = theme == null ? void 0 : theme.palette) == null ? void 0 : _c.text) == null ? void 0 : _d.disabled) || "#AFAFAF",
|
|
10269
10263
|
fontSize: "12px",
|
|
10270
10264
|
textAlign: "center",
|
|
10271
10265
|
lineHeight: 2,
|
|
@@ -10292,7 +10286,7 @@ var service = (funcParams) => {
|
|
|
10292
10286
|
width: "fit-content"
|
|
10293
10287
|
},
|
|
10294
10288
|
style: {
|
|
10295
|
-
fill: (
|
|
10289
|
+
fill: (_f = (_e = theme == null ? void 0 : theme.palette) == null ? void 0 : _e.primary) == null ? void 0 : _f.main,
|
|
10296
10290
|
width: 20,
|
|
10297
10291
|
height: 0,
|
|
10298
10292
|
top: 0,
|
|
@@ -10301,7 +10295,7 @@ var service = (funcParams) => {
|
|
|
10301
10295
|
fontSize: "12px",
|
|
10302
10296
|
cursor: "pointer",
|
|
10303
10297
|
":hover": {
|
|
10304
|
-
fill: (
|
|
10298
|
+
fill: (_h = (_g = theme == null ? void 0 : theme.palette) == null ? void 0 : _g.primary) == null ? void 0 : _h.dark
|
|
10305
10299
|
},
|
|
10306
10300
|
marginRight: "13px"
|
|
10307
10301
|
}
|
|
@@ -10324,7 +10318,7 @@ var service = (funcParams) => {
|
|
|
10324
10318
|
lineHeight: 1,
|
|
10325
10319
|
height: 0,
|
|
10326
10320
|
width: "fit-content",
|
|
10327
|
-
color: (
|
|
10321
|
+
color: (_j = (_i = theme == null ? void 0 : theme.palette) == null ? void 0 : _i.primary) == null ? void 0 : _j.main,
|
|
10328
10322
|
fontSize: "14px",
|
|
10329
10323
|
cursor: "pointer",
|
|
10330
10324
|
marginLeft: "2px",
|
|
@@ -10332,7 +10326,7 @@ var service = (funcParams) => {
|
|
|
10332
10326
|
right: "12px",
|
|
10333
10327
|
position: "absolute",
|
|
10334
10328
|
":hover": {
|
|
10335
|
-
color: (
|
|
10329
|
+
color: (_l = (_k = theme == null ? void 0 : theme.palette) == null ? void 0 : _k.primary) == null ? void 0 : _l.dark
|
|
10336
10330
|
},
|
|
10337
10331
|
marginRight: "4px"
|
|
10338
10332
|
}
|
|
@@ -10341,7 +10335,7 @@ var service = (funcParams) => {
|
|
|
10341
10335
|
]
|
|
10342
10336
|
}
|
|
10343
10337
|
);
|
|
10344
|
-
const schema2 = (
|
|
10338
|
+
const schema2 = (_m = pageData == null ? void 0 : pageData.schema) != null ? _m : { type: "object", properties: {} };
|
|
10345
10339
|
eventGroups = extractEvents(config2);
|
|
10346
10340
|
executeEventsParameters = {
|
|
10347
10341
|
config: {},
|