impaktapps-ui-builder 1.0.57-alpha.3 → 1.0.57-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 +19 -3
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +6 -6
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildMultiSelect.ts +3 -0
- package/src/impaktapps-ui-builder/builder/build/buildSelect.ts +3 -0
- package/src/impaktapps-ui-builder/builder/build/buildText.ts +3 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +3 -3
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +7 -0
|
@@ -6304,6 +6304,13 @@ const ComponentSchema = {
|
|
|
6304
6304
|
{ title: "Amount Column", const: "amount" }
|
|
6305
6305
|
]
|
|
6306
6306
|
},
|
|
6307
|
+
variant: {
|
|
6308
|
+
oneOf: [
|
|
6309
|
+
{ title: "Outlined", const: "outlined" },
|
|
6310
|
+
{ title: "Filled", const: "filled" },
|
|
6311
|
+
{ title: "Standard", const: "standard" }
|
|
6312
|
+
]
|
|
6313
|
+
},
|
|
6307
6314
|
orientation: {
|
|
6308
6315
|
oneOf: [
|
|
6309
6316
|
{ title: "Horizontal", const: "horizontal" },
|
|
@@ -7760,7 +7767,7 @@ const buildPropertiesSection = function(type) {
|
|
|
7760
7767
|
uiSchema.elements = [
|
|
7761
7768
|
getInputField("placeholder", "Placeholder"),
|
|
7762
7769
|
getRadioInputField("multiline", "Multiline", ["YES", "NO"]),
|
|
7763
|
-
getSelectField("
|
|
7770
|
+
getSelectField("variant", "Variant"),
|
|
7764
7771
|
emptyBox$1("TextEmpty1", { xs: 6, sm: 6, md: 0, lg: 3 }),
|
|
7765
7772
|
getArrayControl("InputFormatingAndMasking", "formatElement", "Format Element"),
|
|
7766
7773
|
getInputField("keyName", "Event Key Name")
|
|
@@ -7914,14 +7921,14 @@ const buildPropertiesSection = function(type) {
|
|
|
7914
7921
|
uiSchema.elements = [
|
|
7915
7922
|
getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
|
|
7916
7923
|
getRadioInputField("freeSolo", "FreeSolo", ["YES", "NO"]),
|
|
7917
|
-
getSelectField("
|
|
7924
|
+
getSelectField("variant", "Variant"),
|
|
7918
7925
|
emptyBox$1("SelectEmpty")
|
|
7919
7926
|
];
|
|
7920
7927
|
break;
|
|
7921
7928
|
case "MultipleSelect":
|
|
7922
7929
|
uiSchema.elements = [
|
|
7923
7930
|
getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
|
|
7924
|
-
getSelectField("
|
|
7931
|
+
getSelectField("variant", "Variant"),
|
|
7925
7932
|
emptyBox$1("MultipleSelectEmpty1", { xs: 0, sm: 6, md: 4, lg: 4 }),
|
|
7926
7933
|
emptyBox$1("MultipleSelectEmpty2")
|
|
7927
7934
|
];
|
|
@@ -11110,6 +11117,9 @@ const buildTextField = (config2, componentScope2) => {
|
|
|
11110
11117
|
if (config2.placeholder) {
|
|
11111
11118
|
inputField.config.main.placeholder = config2.placeholder;
|
|
11112
11119
|
}
|
|
11120
|
+
if (config2.variant) {
|
|
11121
|
+
inputField.config.main.variant = config2.variant;
|
|
11122
|
+
}
|
|
11113
11123
|
if (config2.layout) {
|
|
11114
11124
|
inputField.config.layout = createLayoutFormat(config2.layout);
|
|
11115
11125
|
}
|
|
@@ -11144,6 +11154,9 @@ const buildSelect = (config2, componentScope2) => {
|
|
|
11144
11154
|
if (config2.lazyLoading) {
|
|
11145
11155
|
selectInputField.config.main.lazyLoading = config2.lazyLoading === "YES" ? true : false;
|
|
11146
11156
|
}
|
|
11157
|
+
if (config2.variant) {
|
|
11158
|
+
selectInputField.config.main.variant = config2.variant;
|
|
11159
|
+
}
|
|
11147
11160
|
if (config2.layout) {
|
|
11148
11161
|
selectInputField.config.layout = createLayoutFormat(config2.layout);
|
|
11149
11162
|
}
|
|
@@ -11767,6 +11780,9 @@ const buildMultiSelect = (config2, componentScope2) => {
|
|
|
11767
11780
|
if (config2.value) {
|
|
11768
11781
|
multipleSelect.config.main.options = config2.value;
|
|
11769
11782
|
}
|
|
11783
|
+
if (config2.variant) {
|
|
11784
|
+
multipleSelect.config.main.variant = config2.variant;
|
|
11785
|
+
}
|
|
11770
11786
|
if (config2.lazyLoading) {
|
|
11771
11787
|
multipleSelect.config.main.lazyLoading = config2.lazyLoading === "YES" ? true : false;
|
|
11772
11788
|
}
|