impaktapps-ui-builder 0.0.101-alpha.12 → 0.0.101-alpha.14

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.
@@ -1,57 +1,126 @@
1
1
  export const ValidationSection = {
2
- type: "HorizontalLayout",
2
+ type: "WrapperLayout",
3
+ config: {
4
+ main: {
5
+ label: " ",
6
+ gap: "8px"
7
+ }
8
+ },
3
9
  elements: [
4
- {
5
- type: "Control",
6
- scope: "#/properties/validation",
7
- layout: 11.5,
8
- options: {
9
- "elementLabelProp": "validationType",
10
- detail: {
11
- type: "HorizontalLayout",
12
- elements: [
13
- {
14
- type: "Control",
15
- scope: "#/properties/validationType",
10
+ // {
11
+ // type: "Control",
12
+ // scope: "#/properties/validation",
13
+ // layout: 11.5,
14
+ // options: {
15
+ // "elementLabelProp": "validationType",
16
+ // detail: {
17
+ // type: "HorizontalLayout",
18
+ // elements: [
19
+ // {
20
+ // type: "Control",
21
+ // scope: "#/properties/validationType",
22
+
23
+ // options: {
24
+ // widget: "SelectInputField",
25
+ // },
26
+ // config: {
27
+ // layout: { xs: 6, sm: 6, md: 4, lg: 4 },
28
+ // main: {
29
+ // label: "Validation Type",
30
+ // },
31
+ // },
32
+ // },
33
+ // {
34
+ // type: "Control",
35
+ // scope: "#/properties/validationValue",
16
36
 
17
- options: {
18
- widget: "SelectInputField",
19
- },
20
- config: {
21
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
22
- main: {
23
- label: "Validation Type",
24
- },
25
- },
26
- },
27
- {
28
- type: "Control",
29
- scope: "#/properties/validationValue",
37
+ // options: {
38
+ // widget: "InputField",
39
+ // },
40
+ // config: {
41
+ // layout: { xs: 6, sm: 6, md: 4, lg: 4 },
42
+ // main: {
43
+ // label: "Validation Value",
44
+ // },
45
+ // },
46
+ // },
47
+ // {
48
+ // type: "Control",
49
+ // scope: "#/properties/emptyBox",
50
+ // options: {
51
+ // widget: "EmptyBox"
52
+ // },
53
+ // config: {
54
+ // layout: {xs: 0, sm: 0, md: 4}
55
+ // }
56
+ // }
57
+ // ],
58
+ // },
59
+ // },
30
60
 
31
- options: {
32
- widget: "InputField",
33
- },
34
- config: {
35
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
36
- main: {
37
- label: "Validation Value",
38
- },
39
- },
40
- },
41
- {
42
- type: "Control",
43
- scope: "#/properties/emptyBox",
44
- options: {
45
- widget: "EmptyBox"
46
- },
47
- config: {
48
- layout: {xs: 0, sm: 0, md: 4}
49
- }
50
- }
51
- ],
61
+ // },
62
+ {
63
+ type: "Control",
64
+ scope: "#/properties/validation",
65
+ options: {
66
+ widget: "Array",
67
+ },
68
+ config: {
69
+ layout: 12,
70
+ main: {
71
+ label: "Validation",
72
+ childElementLabel: "Validation",
73
+ },
74
+ style: {
75
+ marginLeft: "-24px",
76
+ marginBottom: "24px !important",
77
+ labelStyle: {
78
+ marginLeft: "24px",
79
+ },
80
+ detailsStyle: {
81
+ marginLeft: "24px",
82
+ }
83
+ }
84
+ },
85
+ elements: [
86
+ {
87
+ type: "Control",
88
+ scope: "#/properties/validationType",
89
+ options: {
90
+ widget: "SelectInputField",
91
+ },
92
+ config: {
93
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
94
+ main: {
95
+ label: "Validation Type",
96
+ },
52
97
  },
53
98
  },
99
+ {
100
+ type: "Control",
101
+ scope: "#/properties/validationValue",
54
102
 
55
- },
103
+ options: {
104
+ widget: "InputField",
105
+ },
106
+ config: {
107
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
108
+ main: {
109
+ label: "Validation Value",
110
+ },
111
+ },
112
+ },
113
+ {
114
+ type: "Control",
115
+ scope: "#/properties/emptyBox",
116
+ options: {
117
+ widget: "EmptyBox"
118
+ },
119
+ config: {
120
+ layout: {xs: 0, sm: 0, md: 4, lg: 4}
121
+ }
122
+ }
123
+ ],
124
+ },
56
125
  ]
57
126
  };
@@ -1,5 +1,3 @@
1
- import { OptionArray } from "./coreSection";
2
-
3
1
  export const ValueTab = {
4
2
  type: "HorizontalLayout",
5
3
  elements: [
@@ -89,8 +89,6 @@ export const componentBasicUiSchema: any = (theme)=>{
89
89
  layout: { xs: 12, sm: 6, md: 4, lg: 3 },
90
90
  main: {
91
91
  label: "Component ID",
92
- options: [],
93
- color: "secondary",
94
92
  required: true,
95
93
  },
96
94
  },