impaktapps-ui-builder 1.0.57-alpha.3 → 1.0.57-alpha.4
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 +12 -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/package.json
CHANGED
|
@@ -15,6 +15,9 @@ export const buildMultiSelect = (config, componentScope) => {
|
|
|
15
15
|
if (config.value) {
|
|
16
16
|
multipleSelect.config.main.options = config.value;
|
|
17
17
|
}
|
|
18
|
+
if (config.variant) {
|
|
19
|
+
multipleSelect.config.main.variant = config.variant;
|
|
20
|
+
}
|
|
18
21
|
if (config.lazyLoading) {
|
|
19
22
|
multipleSelect.config.main.lazyLoading = config.lazyLoading === "YES" ? true : false;
|
|
20
23
|
}
|
|
@@ -14,6 +14,9 @@ export const buildSelect = (config: any, componentScope: string) => {
|
|
|
14
14
|
if (config.lazyLoading) {
|
|
15
15
|
selectInputField.config.main.lazyLoading = config.lazyLoading === "YES" ? true : false;
|
|
16
16
|
}
|
|
17
|
+
if (config.variant) {
|
|
18
|
+
selectInputField.config.main.variant = config.variant;
|
|
19
|
+
}
|
|
17
20
|
if (config.layout) {
|
|
18
21
|
selectInputField.config.layout = createLayoutFormat(config.layout)
|
|
19
22
|
}
|
|
@@ -20,6 +20,9 @@ export const buildTextField = (config: any, componentScope: string) => {
|
|
|
20
20
|
if (config.placeholder) {
|
|
21
21
|
inputField.config.main.placeholder = config.placeholder;
|
|
22
22
|
}
|
|
23
|
+
if (config.variant) {
|
|
24
|
+
inputField.config.main.variant = config.variant;
|
|
25
|
+
}
|
|
23
26
|
if (config.layout) {
|
|
24
27
|
inputField.config.layout = createLayoutFormat(config.layout)
|
|
25
28
|
}
|
|
@@ -329,7 +329,7 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
329
329
|
uiSchema.elements = [
|
|
330
330
|
getInputField("placeholder", "Placeholder"),
|
|
331
331
|
getRadioInputField("multiline", "Multiline", ["YES", "NO"]),
|
|
332
|
-
getSelectField("
|
|
332
|
+
getSelectField("variant", "Variant", [
|
|
333
333
|
{ label: "Outlined", value: "outlined" },
|
|
334
334
|
{ label: "Filled", value: "filled" },
|
|
335
335
|
{ label: "Standard", value: "standard" },
|
|
@@ -494,7 +494,7 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
494
494
|
uiSchema.elements = [
|
|
495
495
|
getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
|
|
496
496
|
getRadioInputField("freeSolo", "FreeSolo", ["YES", "NO"]),
|
|
497
|
-
getSelectField("
|
|
497
|
+
getSelectField("variant", "Variant", [
|
|
498
498
|
{ label: "Outlined", value: "outlined" },
|
|
499
499
|
{ label: "Filled", value: "filled" },
|
|
500
500
|
{ label: "Standard", value: "standard" },
|
|
@@ -505,7 +505,7 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
505
505
|
case "MultipleSelect":
|
|
506
506
|
uiSchema.elements = [
|
|
507
507
|
getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
|
|
508
|
-
getSelectField("
|
|
508
|
+
getSelectField("variant", "Variant", [
|
|
509
509
|
{ label: "Outlined", value: "outlined" },
|
|
510
510
|
{ label: "Filled", value: "filled" },
|
|
511
511
|
{ label: "Standard", value: "standard" },
|