impaktapps-ui-builder 1.0.160 → 1.0.162
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 +82 -9
- 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/buildDate.ts +12 -0
- package/src/impaktapps-ui-builder/builder/build/buildDownloadFile.ts +6 -0
- package/src/impaktapps-ui-builder/builder/build/buildFileInput.ts +6 -0
- package/src/impaktapps-ui-builder/builder/build/buildMultiSelect.ts +6 -0
- package/src/impaktapps-ui-builder/builder/build/buildRadio.ts +6 -0
- package/src/impaktapps-ui-builder/builder/build/buildSelect.ts +6 -0
- package/src/impaktapps-ui-builder/builder/build/buildText.ts +6 -0
- package/src/impaktapps-ui-builder/builder/build/buildUplaodFile.ts +6 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +55 -9
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +8 -0
|
@@ -6313,6 +6313,14 @@ const ComponentSchema = {
|
|
|
6313
6313
|
{ title: "Standard", const: "standard" }
|
|
6314
6314
|
]
|
|
6315
6315
|
},
|
|
6316
|
+
toolTipPosition: {
|
|
6317
|
+
oneOf: [
|
|
6318
|
+
{ title: "Top", const: "top" },
|
|
6319
|
+
{ title: "Left", const: "left" },
|
|
6320
|
+
{ title: "Right", const: "right" },
|
|
6321
|
+
{ title: "Bottom", const: "bottom" }
|
|
6322
|
+
]
|
|
6323
|
+
},
|
|
6316
6324
|
orientation: {
|
|
6317
6325
|
oneOf: [
|
|
6318
6326
|
{ title: "Horizontal", const: "horizontal" },
|
|
@@ -7905,7 +7913,9 @@ const buildPropertiesSection = function(type) {
|
|
|
7905
7913
|
getInputField("placeholder", "Placeholder"),
|
|
7906
7914
|
getRadioInputField("multiline", "Multiline", ["YES", "NO"]),
|
|
7907
7915
|
getSelectField("variant", "Variant"),
|
|
7908
|
-
|
|
7916
|
+
getInputField("toolTip", "Tooltip"),
|
|
7917
|
+
getSelectField("toolTipPosition", "Tooltip Position"),
|
|
7918
|
+
emptyBox$1("Radio", { xs: 6, sm: 6, md: 8, lg: 9 }),
|
|
7909
7919
|
getArrayControl("InputFormatingAndMasking", "formatElement", "Format Element"),
|
|
7910
7920
|
getInputField("keyName", "Event Key Name")
|
|
7911
7921
|
];
|
|
@@ -8064,8 +8074,9 @@ const buildPropertiesSection = function(type) {
|
|
|
8064
8074
|
case "Radio":
|
|
8065
8075
|
uiSchema.elements = [
|
|
8066
8076
|
getInputField("errorMessage", "Error Message"),
|
|
8067
|
-
|
|
8068
|
-
|
|
8077
|
+
getArrayControl("sectionLabels", "label", "Options Of Radio"),
|
|
8078
|
+
getInputField("toolTip", "Tooltip"),
|
|
8079
|
+
getSelectField("toolTipPosition", "Tooltip Position")
|
|
8069
8080
|
];
|
|
8070
8081
|
break;
|
|
8071
8082
|
case "Select":
|
|
@@ -8073,27 +8084,33 @@ const buildPropertiesSection = function(type) {
|
|
|
8073
8084
|
getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
|
|
8074
8085
|
getRadioInputField("freeSolo", "FreeSolo", ["YES", "NO"]),
|
|
8075
8086
|
getSelectField("variant", "Variant"),
|
|
8076
|
-
|
|
8087
|
+
getInputField("toolTip", "Tooltip"),
|
|
8088
|
+
getSelectField("toolTipPosition", "Tooltip Position"),
|
|
8089
|
+
emptyBox$1("SelectEmpty", { xs: 6, sm: 6, md: 8, lg: 9 })
|
|
8077
8090
|
];
|
|
8078
8091
|
break;
|
|
8079
8092
|
case "MultipleSelect":
|
|
8080
8093
|
uiSchema.elements = [
|
|
8081
8094
|
getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
|
|
8082
8095
|
getSelectField("variant", "Variant"),
|
|
8083
|
-
|
|
8084
|
-
|
|
8096
|
+
getInputField("toolTip", "Tooltip"),
|
|
8097
|
+
getSelectField("toolTipPosition", "Tooltip Position")
|
|
8085
8098
|
];
|
|
8086
8099
|
break;
|
|
8087
8100
|
case "Date":
|
|
8088
8101
|
uiSchema.elements = [
|
|
8089
8102
|
getSelectField("variant", "Variant"),
|
|
8090
|
-
|
|
8103
|
+
getInputField("toolTip", "Tooltip"),
|
|
8104
|
+
getSelectField("toolTipPosition", "Tooltip Position"),
|
|
8105
|
+
emptyBox$1("DateEmpty1", { xs: 6, sm: 6, md: 4, lg: 3 })
|
|
8091
8106
|
];
|
|
8092
8107
|
break;
|
|
8093
8108
|
case "DateTime":
|
|
8094
8109
|
uiSchema.elements = [
|
|
8095
8110
|
getSelectField("variant", "Variant"),
|
|
8096
|
-
|
|
8111
|
+
getInputField("toolTip", "Tooltip"),
|
|
8112
|
+
getSelectField("toolTipPosition", "Tooltip Position"),
|
|
8113
|
+
emptyBox$1("DateTimeEmpty1", { xs: 6, sm: 6, md: 4, lg: 3 })
|
|
8097
8114
|
];
|
|
8098
8115
|
break;
|
|
8099
8116
|
case "Thought":
|
|
@@ -8115,7 +8132,9 @@ const buildPropertiesSection = function(type) {
|
|
|
8115
8132
|
getRadioInputField("disableDelete", "Disable Delete", ["YES", "NO"]),
|
|
8116
8133
|
getRadioInputField("disableDownload", "Disable Download", ["YES", "NO"]),
|
|
8117
8134
|
getInputField("description", "Enter description"),
|
|
8118
|
-
|
|
8135
|
+
getInputField("toolTip", "Tooltip"),
|
|
8136
|
+
getSelectField("toolTipPosition", "Tooltip Position"),
|
|
8137
|
+
emptyBox$1("FileInputEmpty", { xs: 6, sm: 6, md: 4, lg: 3 })
|
|
8119
8138
|
];
|
|
8120
8139
|
break;
|
|
8121
8140
|
}
|
|
@@ -11246,6 +11265,12 @@ const buildTextField = (config2, componentScope2) => {
|
|
|
11246
11265
|
if (config2.layout) {
|
|
11247
11266
|
inputField.config.layout = createLayoutFormat(config2.layout);
|
|
11248
11267
|
}
|
|
11268
|
+
if (config2.toolTip) {
|
|
11269
|
+
inputField.config.main.toolTip = config2.toolTip;
|
|
11270
|
+
}
|
|
11271
|
+
if (config2.toolTipPosition) {
|
|
11272
|
+
inputField.config.main.toolTipPosition = config2.toolTipPosition;
|
|
11273
|
+
}
|
|
11249
11274
|
inputField.config.main.errorMessage = `${config2.name} is empty or invalid`;
|
|
11250
11275
|
inputField.scope = componentScope2;
|
|
11251
11276
|
return inputField;
|
|
@@ -11283,6 +11308,12 @@ const buildSelect = (config2, componentScope2) => {
|
|
|
11283
11308
|
if (config2.layout) {
|
|
11284
11309
|
selectInputField.config.layout = createLayoutFormat(config2.layout);
|
|
11285
11310
|
}
|
|
11311
|
+
if (config2.toolTip) {
|
|
11312
|
+
selectInputField.config.main.toolTip = config2.toolTip;
|
|
11313
|
+
}
|
|
11314
|
+
if (config2.toolTipPosition) {
|
|
11315
|
+
selectInputField.config.main.toolTipPosition = config2.toolTipPosition;
|
|
11316
|
+
}
|
|
11286
11317
|
selectInputField.scope = componentScope2;
|
|
11287
11318
|
return selectInputField;
|
|
11288
11319
|
};
|
|
@@ -11521,6 +11552,12 @@ const buildUploadFile = (config2, componentScope2) => {
|
|
|
11521
11552
|
if (config2.required) {
|
|
11522
11553
|
UploadFile.config.main.required = true;
|
|
11523
11554
|
}
|
|
11555
|
+
if (config2.toolTip) {
|
|
11556
|
+
UploadFile.config.main.toolTip = config2.toolTip;
|
|
11557
|
+
}
|
|
11558
|
+
if (config2.toolTipPosition) {
|
|
11559
|
+
UploadFile.config.main.toolTipPosition = config2.toolTipPosition;
|
|
11560
|
+
}
|
|
11524
11561
|
UploadFile.config.main.errorMessage = config2.errorMessage;
|
|
11525
11562
|
return UploadFile;
|
|
11526
11563
|
};
|
|
@@ -11543,6 +11580,12 @@ const buildDownloadFile = (config2, componentScope2) => {
|
|
|
11543
11580
|
if (config2.errorMessage) {
|
|
11544
11581
|
DownloadFile.config.main.errorMessage = config2.errorMessage;
|
|
11545
11582
|
}
|
|
11583
|
+
if (config2.toolTip) {
|
|
11584
|
+
DownloadFile.config.main.toolTip = config2.toolTip;
|
|
11585
|
+
}
|
|
11586
|
+
if (config2.toolTipPosition) {
|
|
11587
|
+
DownloadFile.config.main.toolTipPosition = config2.toolTipPosition;
|
|
11588
|
+
}
|
|
11546
11589
|
return DownloadFile;
|
|
11547
11590
|
};
|
|
11548
11591
|
function Card(theme) {
|
|
@@ -11825,6 +11868,12 @@ const buildDate = (config2, componentScope2) => {
|
|
|
11825
11868
|
if (config2.variant) {
|
|
11826
11869
|
dateInputField.config.main.variant = config2.variant;
|
|
11827
11870
|
}
|
|
11871
|
+
if (config2.toolTip) {
|
|
11872
|
+
dateInputField.config.main.toolTip = config2.toolTip;
|
|
11873
|
+
}
|
|
11874
|
+
if (config2.toolTipPosition) {
|
|
11875
|
+
dateInputField.config.main.toolTipPosition = config2.toolTipPosition;
|
|
11876
|
+
}
|
|
11828
11877
|
return dateInputField;
|
|
11829
11878
|
};
|
|
11830
11879
|
const buildDateTime = (config2, componentScope2) => {
|
|
@@ -11838,6 +11887,12 @@ const buildDateTime = (config2, componentScope2) => {
|
|
|
11838
11887
|
if (config2.variant) {
|
|
11839
11888
|
dateTimeInputField.config.main.variant = config2.variant;
|
|
11840
11889
|
}
|
|
11890
|
+
if (config2.toolTip) {
|
|
11891
|
+
dateTimeInputField.config.main.toolTip = config2.toolTip;
|
|
11892
|
+
}
|
|
11893
|
+
if (config2.toolTipPosition) {
|
|
11894
|
+
dateTimeInputField.config.main.toolTipPosition = config2.toolTipPosition;
|
|
11895
|
+
}
|
|
11841
11896
|
return dateTimeInputField;
|
|
11842
11897
|
};
|
|
11843
11898
|
var RankCard = {
|
|
@@ -11949,6 +12004,12 @@ const buildMultiSelect = (config2, componentScope2) => {
|
|
|
11949
12004
|
if (config2.lazyLoading) {
|
|
11950
12005
|
multipleSelect.config.main.lazyLoading = config2.lazyLoading === "YES" ? true : false;
|
|
11951
12006
|
}
|
|
12007
|
+
if (config2.toolTip) {
|
|
12008
|
+
multipleSelect.config.main.toolTip = config2.toolTip;
|
|
12009
|
+
}
|
|
12010
|
+
if (config2.toolTipPosition) {
|
|
12011
|
+
multipleSelect.config.main.toolTipPosition = config2.toolTipPosition;
|
|
12012
|
+
}
|
|
11952
12013
|
return multipleSelect;
|
|
11953
12014
|
};
|
|
11954
12015
|
const buildBasicUiSchema = (config2) => {
|
|
@@ -12133,6 +12194,12 @@ const buildRadio = (config2, componentScope2) => {
|
|
|
12133
12194
|
if (config2.errorMessage) {
|
|
12134
12195
|
Radio.config.main.errorMessage = config2.errorMessage;
|
|
12135
12196
|
}
|
|
12197
|
+
if (config2.toolTip) {
|
|
12198
|
+
Radio.config.main.toolTip = config2.toolTip;
|
|
12199
|
+
}
|
|
12200
|
+
if (config2.toolTipPosition) {
|
|
12201
|
+
Radio.config.main.toolTipPosition = config2.toolTipPosition;
|
|
12202
|
+
}
|
|
12136
12203
|
return Radio;
|
|
12137
12204
|
};
|
|
12138
12205
|
var emptyBox = {
|
|
@@ -12288,6 +12355,12 @@ const buildFileInput = (config2, componentScope2) => {
|
|
|
12288
12355
|
if (config2.description) {
|
|
12289
12356
|
box.config.main.description = config2.description;
|
|
12290
12357
|
}
|
|
12358
|
+
if (config2.toolTip) {
|
|
12359
|
+
box.config.main.toolTip = config2.toolTip;
|
|
12360
|
+
}
|
|
12361
|
+
if (config2.toolTipPosition) {
|
|
12362
|
+
box.config.main.toolTipPosition = config2.toolTipPosition;
|
|
12363
|
+
}
|
|
12291
12364
|
return box;
|
|
12292
12365
|
};
|
|
12293
12366
|
const Stepper = {
|