impaktapps-ui-builder 0.0.101-alpha.26 → 0.0.101-alpha.28
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 +57 -67
- 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/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +3 -2
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +25 -0
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +29 -171
|
@@ -7040,6 +7040,30 @@ const componentBasicUiSchema = (theme) => {
|
|
|
7040
7040
|
}
|
|
7041
7041
|
]
|
|
7042
7042
|
},
|
|
7043
|
+
{
|
|
7044
|
+
type: "Control",
|
|
7045
|
+
scope: "#/properties/pageName",
|
|
7046
|
+
options: {
|
|
7047
|
+
widget: "Box"
|
|
7048
|
+
},
|
|
7049
|
+
config: {
|
|
7050
|
+
layout: 12,
|
|
7051
|
+
main: {
|
|
7052
|
+
heading: ""
|
|
7053
|
+
},
|
|
7054
|
+
style: {
|
|
7055
|
+
paddingLeft: theme.spacing(3),
|
|
7056
|
+
width: "100%",
|
|
7057
|
+
fontSize: "10px",
|
|
7058
|
+
color: theme.palette.grey[600],
|
|
7059
|
+
position: "fixed",
|
|
7060
|
+
bottom: "24px",
|
|
7061
|
+
backgroundColor: theme.palette.background.default,
|
|
7062
|
+
borderBottom: `1px solid ${theme.palette.common.black}29`,
|
|
7063
|
+
borderTop: `1px solid ${theme.palette.common.black}29`
|
|
7064
|
+
}
|
|
7065
|
+
}
|
|
7066
|
+
},
|
|
7043
7067
|
{
|
|
7044
7068
|
type: "Control",
|
|
7045
7069
|
scope: "#/properties/notify",
|
|
@@ -7493,8 +7517,8 @@ const getArrayControl = (parentScope, childScope, childLabel) => {
|
|
|
7493
7517
|
config: {
|
|
7494
7518
|
layout: 12,
|
|
7495
7519
|
main: {
|
|
7496
|
-
label:
|
|
7497
|
-
childElementLabel:
|
|
7520
|
+
label: childLabel,
|
|
7521
|
+
childElementLabel: childLabel
|
|
7498
7522
|
},
|
|
7499
7523
|
style: {
|
|
7500
7524
|
marginLeft: "-24px",
|
|
@@ -7709,7 +7733,8 @@ const buildPropertiesSection = function(type) {
|
|
|
7709
7733
|
uiSchema.elements = [
|
|
7710
7734
|
getInputField("placeholder", "Placeholder"),
|
|
7711
7735
|
getRadioInputField("enableCodeEditor", "Enable Code Editor", ["YES", "NO"]),
|
|
7712
|
-
getInputField("codeEditorLanguage", "Enter Code Language")
|
|
7736
|
+
getInputField("codeEditorLanguage", "Enter Code Language"),
|
|
7737
|
+
emptyBox$1("TextEmpty1", { xs: 0, sm: 0, md: 0, lg: 3 })
|
|
7713
7738
|
];
|
|
7714
7739
|
break;
|
|
7715
7740
|
case "SpeedoMeter":
|
|
@@ -8818,7 +8843,7 @@ const EventSchema = {
|
|
|
8818
8843
|
required: ["eventType", "Handler"]
|
|
8819
8844
|
};
|
|
8820
8845
|
const EventUiSchema = (theme) => {
|
|
8821
|
-
var _a
|
|
8846
|
+
var _a;
|
|
8822
8847
|
const uiSchema = {
|
|
8823
8848
|
type: "HorizontalLayout",
|
|
8824
8849
|
heading: "Page-Event",
|
|
@@ -9219,6 +9244,30 @@ const EventUiSchema = (theme) => {
|
|
|
9219
9244
|
}
|
|
9220
9245
|
]
|
|
9221
9246
|
},
|
|
9247
|
+
{
|
|
9248
|
+
type: "Control",
|
|
9249
|
+
scope: "#/properties/pageName",
|
|
9250
|
+
options: {
|
|
9251
|
+
widget: "Box"
|
|
9252
|
+
},
|
|
9253
|
+
config: {
|
|
9254
|
+
layout: 12,
|
|
9255
|
+
main: {
|
|
9256
|
+
heading: ""
|
|
9257
|
+
},
|
|
9258
|
+
style: {
|
|
9259
|
+
paddingLeft: theme.spacing(3),
|
|
9260
|
+
width: "100%",
|
|
9261
|
+
fontSize: "10px",
|
|
9262
|
+
color: theme.palette.grey[600],
|
|
9263
|
+
position: "fixed",
|
|
9264
|
+
bottom: "24px",
|
|
9265
|
+
backgroundColor: theme.palette.background.default,
|
|
9266
|
+
borderBottom: `1px solid ${theme.palette.common.black}29`,
|
|
9267
|
+
borderTop: `1px solid ${theme.palette.common.black}29`
|
|
9268
|
+
}
|
|
9269
|
+
}
|
|
9270
|
+
},
|
|
9222
9271
|
{
|
|
9223
9272
|
type: "Control",
|
|
9224
9273
|
scope: "#/properties/notify",
|
|
@@ -9236,7 +9285,7 @@ const EventUiSchema = (theme) => {
|
|
|
9236
9285
|
style: {
|
|
9237
9286
|
flexDirection: "row",
|
|
9238
9287
|
position: "absolute",
|
|
9239
|
-
bottom:
|
|
9288
|
+
bottom: 10,
|
|
9240
9289
|
height: "fit-content",
|
|
9241
9290
|
overflow: "hidden",
|
|
9242
9291
|
zIndex: 1e3,
|
|
@@ -9255,78 +9304,19 @@ const EventUiSchema = (theme) => {
|
|
|
9255
9304
|
heading: "Copywriter@ACT21.IO"
|
|
9256
9305
|
},
|
|
9257
9306
|
style: {
|
|
9258
|
-
color: ((
|
|
9307
|
+
color: ((_a = theme == null ? void 0 : theme.palette) == null ? void 0 : _a.text.disabled) || "#AFAFAF",
|
|
9259
9308
|
fontSize: "11px",
|
|
9260
9309
|
textAlign: "center",
|
|
9261
|
-
lineHeight:
|
|
9310
|
+
lineHeight: 0,
|
|
9262
9311
|
width: "fit-content",
|
|
9263
9312
|
left: "50%",
|
|
9264
9313
|
position: "relative",
|
|
9265
|
-
margin:
|
|
9314
|
+
margin: "revert",
|
|
9266
9315
|
flexGrow: 1,
|
|
9267
9316
|
height: 0,
|
|
9268
9317
|
transform: "translate(-50%, 0%)"
|
|
9269
9318
|
}
|
|
9270
9319
|
}
|
|
9271
|
-
},
|
|
9272
|
-
{
|
|
9273
|
-
type: "Control",
|
|
9274
|
-
scope: "#/properties/FooterBackIcon",
|
|
9275
|
-
options: {
|
|
9276
|
-
widget: "Box"
|
|
9277
|
-
},
|
|
9278
|
-
config: {
|
|
9279
|
-
main: {
|
|
9280
|
-
iconName: "PrevIcon",
|
|
9281
|
-
onClick: "backHandler",
|
|
9282
|
-
width: "fit-content"
|
|
9283
|
-
},
|
|
9284
|
-
style: {
|
|
9285
|
-
fill: (_d = (_c = theme == null ? void 0 : theme.palette) == null ? void 0 : _c.primary) == null ? void 0 : _d.main,
|
|
9286
|
-
width: 20,
|
|
9287
|
-
height: 0,
|
|
9288
|
-
top: 0,
|
|
9289
|
-
right: { xs: "12px", sm: "84px" },
|
|
9290
|
-
position: "absolute",
|
|
9291
|
-
fontSize: "12px",
|
|
9292
|
-
cursor: "pointer",
|
|
9293
|
-
":hover": {
|
|
9294
|
-
fill: (_f = (_e = theme == null ? void 0 : theme.palette) == null ? void 0 : _e.primary) == null ? void 0 : _f.dark
|
|
9295
|
-
},
|
|
9296
|
-
marginRight: "20px"
|
|
9297
|
-
}
|
|
9298
|
-
}
|
|
9299
|
-
},
|
|
9300
|
-
{
|
|
9301
|
-
type: "Control",
|
|
9302
|
-
scope: "#/properties/FooterBackHandlerText",
|
|
9303
|
-
options: {
|
|
9304
|
-
widget: "Box"
|
|
9305
|
-
},
|
|
9306
|
-
config: {
|
|
9307
|
-
main: {
|
|
9308
|
-
heading: "Previous Page",
|
|
9309
|
-
onClick: "backHandler"
|
|
9310
|
-
},
|
|
9311
|
-
style: {
|
|
9312
|
-
display: { xs: "none", sm: "flex" },
|
|
9313
|
-
textAlign: "left",
|
|
9314
|
-
lineHeight: 1,
|
|
9315
|
-
height: 0,
|
|
9316
|
-
width: "fit-content",
|
|
9317
|
-
color: (_h = (_g = theme == null ? void 0 : theme.palette) == null ? void 0 : _g.primary) == null ? void 0 : _h.main,
|
|
9318
|
-
fontSize: "12px",
|
|
9319
|
-
cursor: "pointer",
|
|
9320
|
-
marginLeft: "2px",
|
|
9321
|
-
top: 3,
|
|
9322
|
-
right: "12px",
|
|
9323
|
-
position: "absolute",
|
|
9324
|
-
":hover": {
|
|
9325
|
-
color: (_j = (_i = theme == null ? void 0 : theme.palette) == null ? void 0 : _i.primary) == null ? void 0 : _j.dark
|
|
9326
|
-
},
|
|
9327
|
-
marginRight: "4px"
|
|
9328
|
-
}
|
|
9329
|
-
}
|
|
9330
9320
|
}
|
|
9331
9321
|
]
|
|
9332
9322
|
}
|