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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impaktapps-ui-builder",
3
- "version": "1.0.57-alpha.3",
3
+ "version": "1.0.57-alpha.4",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -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("defaultStyle", "Default Style", [
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("defaultStyle", "Default Style", [
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("defaultStyle", "Default Style", [
508
+ getSelectField("variant", "Variant", [
509
509
  { label: "Outlined", value: "outlined" },
510
510
  { label: "Filled", value: "filled" },
511
511
  { label: "Standard", value: "standard" },