impaktapps-ui-builder 0.0.101-alpha.11 → 0.0.101-alpha.13
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 +128 -112
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +7 -7
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/coreSection.d.ts +98 -95
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +189 -110
- package/src/impaktapps-ui-builder/builder/build/uischema/valueTab.ts +0 -2
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +50 -41
|
@@ -6644,8 +6644,6 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6644
6644
|
layout: { xs: 12, sm: 6, md: 4, lg: 3 },
|
|
6645
6645
|
main: {
|
|
6646
6646
|
label: "Component ID",
|
|
6647
|
-
options: [],
|
|
6648
|
-
color: "secondary",
|
|
6649
6647
|
required: true
|
|
6650
6648
|
}
|
|
6651
6649
|
}
|
|
@@ -6746,48 +6744,58 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6746
6744
|
]
|
|
6747
6745
|
},
|
|
6748
6746
|
{
|
|
6749
|
-
type: "
|
|
6750
|
-
scope: "#/properties/btn",
|
|
6751
|
-
options: {
|
|
6752
|
-
widget: "Button"
|
|
6753
|
-
},
|
|
6747
|
+
type: "WrapperLayout",
|
|
6754
6748
|
config: {
|
|
6755
|
-
layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
|
|
6756
6749
|
main: {
|
|
6757
|
-
|
|
6758
|
-
variant: "contained",
|
|
6759
|
-
type: "text",
|
|
6760
|
-
onClick: "okHandler",
|
|
6761
|
-
size: "medium"
|
|
6750
|
+
gap: "8px"
|
|
6762
6751
|
}
|
|
6763
|
-
}
|
|
6764
|
-
},
|
|
6765
|
-
{
|
|
6766
|
-
type: "Control",
|
|
6767
|
-
scope: "#/properties/btnSubmit",
|
|
6768
|
-
options: {
|
|
6769
|
-
widget: "Button"
|
|
6770
6752
|
},
|
|
6771
|
-
|
|
6772
|
-
|
|
6773
|
-
|
|
6774
|
-
|
|
6775
|
-
|
|
6776
|
-
|
|
6777
|
-
|
|
6778
|
-
|
|
6753
|
+
elements: [
|
|
6754
|
+
{
|
|
6755
|
+
type: "Control",
|
|
6756
|
+
scope: "#/properties/btn",
|
|
6757
|
+
options: {
|
|
6758
|
+
widget: "Button"
|
|
6759
|
+
},
|
|
6760
|
+
config: {
|
|
6761
|
+
layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
|
|
6762
|
+
main: {
|
|
6763
|
+
name: "Ok",
|
|
6764
|
+
variant: "contained",
|
|
6765
|
+
type: "text",
|
|
6766
|
+
onClick: "okHandler",
|
|
6767
|
+
size: "medium"
|
|
6768
|
+
}
|
|
6769
|
+
}
|
|
6770
|
+
},
|
|
6771
|
+
{
|
|
6772
|
+
type: "Control",
|
|
6773
|
+
scope: "#/properties/btnSubmit",
|
|
6774
|
+
options: {
|
|
6775
|
+
widget: "Button"
|
|
6776
|
+
},
|
|
6777
|
+
config: {
|
|
6778
|
+
layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
|
|
6779
|
+
main: {
|
|
6780
|
+
name: "Save & Exit",
|
|
6781
|
+
variant: "contained",
|
|
6782
|
+
type: "text",
|
|
6783
|
+
onClick: "saveHandler",
|
|
6784
|
+
size: "medium"
|
|
6785
|
+
}
|
|
6786
|
+
}
|
|
6787
|
+
},
|
|
6788
|
+
{
|
|
6789
|
+
type: "Control",
|
|
6790
|
+
scope: "#/properties/EmptyBox",
|
|
6791
|
+
config: {
|
|
6792
|
+
layout: { xs: 4, sm: 7, md: 8, lg: 9 }
|
|
6793
|
+
},
|
|
6794
|
+
options: {
|
|
6795
|
+
widget: "EmptyBox"
|
|
6796
|
+
}
|
|
6779
6797
|
}
|
|
6780
|
-
|
|
6781
|
-
},
|
|
6782
|
-
{
|
|
6783
|
-
type: "Control",
|
|
6784
|
-
scope: "#/properties/EmptyBox",
|
|
6785
|
-
config: {
|
|
6786
|
-
layout: { xs: 4, sm: 7, md: 8, lg: 9 }
|
|
6787
|
-
},
|
|
6788
|
-
options: {
|
|
6789
|
-
widget: "EmptyBox"
|
|
6790
|
-
}
|
|
6798
|
+
]
|
|
6791
6799
|
},
|
|
6792
6800
|
{
|
|
6793
6801
|
type: "Control",
|
|
@@ -7086,7 +7094,13 @@ const componentBasicUiSchema = (theme) => {
|
|
|
7086
7094
|
return uiSchema;
|
|
7087
7095
|
};
|
|
7088
7096
|
const CoreSection = {
|
|
7089
|
-
type: "
|
|
7097
|
+
type: "WrapperLayout",
|
|
7098
|
+
config: {
|
|
7099
|
+
main: {
|
|
7100
|
+
label: " ",
|
|
7101
|
+
gap: "8px"
|
|
7102
|
+
}
|
|
7103
|
+
},
|
|
7090
7104
|
elements: [
|
|
7091
7105
|
{
|
|
7092
7106
|
type: "Control",
|
|
@@ -7095,7 +7109,7 @@ const CoreSection = {
|
|
|
7095
7109
|
widget: "SelectInputField"
|
|
7096
7110
|
},
|
|
7097
7111
|
config: {
|
|
7098
|
-
layout: { xs: 6, sm: 6, md: 4, lg:
|
|
7112
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 3 },
|
|
7099
7113
|
main: {
|
|
7100
7114
|
label: "Type",
|
|
7101
7115
|
type: "text"
|
|
@@ -7104,40 +7118,39 @@ const CoreSection = {
|
|
|
7104
7118
|
},
|
|
7105
7119
|
{
|
|
7106
7120
|
type: "Control",
|
|
7107
|
-
scope: "#/properties/
|
|
7108
|
-
options: {
|
|
7109
|
-
widget: "InputField"
|
|
7110
|
-
},
|
|
7121
|
+
scope: "#/properties/proc",
|
|
7111
7122
|
config: {
|
|
7112
|
-
layout: { xs: 6, sm:
|
|
7113
|
-
|
|
7114
|
-
|
|
7115
|
-
|
|
7123
|
+
layout: { xs: 6, sm: 0, md: 0, lg: 0 }
|
|
7124
|
+
},
|
|
7125
|
+
options: {
|
|
7126
|
+
widget: "EmptyBox"
|
|
7116
7127
|
}
|
|
7117
7128
|
},
|
|
7118
7129
|
{
|
|
7119
7130
|
type: "Control",
|
|
7120
|
-
scope: "#/properties/
|
|
7131
|
+
scope: "#/properties/name",
|
|
7121
7132
|
options: {
|
|
7122
7133
|
widget: "InputField"
|
|
7123
7134
|
},
|
|
7124
7135
|
config: {
|
|
7125
|
-
layout: { xs:
|
|
7136
|
+
layout: { xs: 12, sm: 6, md: 4, lg: 3 },
|
|
7126
7137
|
main: {
|
|
7127
|
-
label: "
|
|
7138
|
+
label: "Component ID",
|
|
7139
|
+
required: true
|
|
7128
7140
|
}
|
|
7129
7141
|
}
|
|
7130
7142
|
},
|
|
7131
7143
|
{
|
|
7132
7144
|
type: "Control",
|
|
7133
|
-
scope: "#/properties/
|
|
7145
|
+
scope: "#/properties/label",
|
|
7134
7146
|
options: {
|
|
7135
|
-
widget: "
|
|
7147
|
+
widget: "InputField"
|
|
7136
7148
|
},
|
|
7137
7149
|
config: {
|
|
7138
|
-
layout: { xs: 6, sm: 6, md: 4, lg:
|
|
7150
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 3 },
|
|
7139
7151
|
main: {
|
|
7140
|
-
label: "
|
|
7152
|
+
label: "Label",
|
|
7153
|
+
required: true
|
|
7141
7154
|
}
|
|
7142
7155
|
}
|
|
7143
7156
|
},
|
|
@@ -7145,17 +7158,7 @@ const CoreSection = {
|
|
|
7145
7158
|
type: "Control",
|
|
7146
7159
|
scope: "#/properties/proc",
|
|
7147
7160
|
config: {
|
|
7148
|
-
layout: { xs:
|
|
7149
|
-
},
|
|
7150
|
-
options: {
|
|
7151
|
-
widget: "EmptyBox"
|
|
7152
|
-
}
|
|
7153
|
-
},
|
|
7154
|
-
{
|
|
7155
|
-
type: "Control",
|
|
7156
|
-
scope: "#/properties/proc",
|
|
7157
|
-
config: {
|
|
7158
|
-
layout: { xs: 0, sm: 0, md: 4, lg: 4 }
|
|
7161
|
+
layout: { xs: 6, sm: 6, md: 0, lg: 3 }
|
|
7159
7162
|
},
|
|
7160
7163
|
options: {
|
|
7161
7164
|
widget: "EmptyBox"
|
|
@@ -7164,54 +7167,67 @@ const CoreSection = {
|
|
|
7164
7167
|
{
|
|
7165
7168
|
type: "Control",
|
|
7166
7169
|
scope: "#/properties/layout",
|
|
7167
|
-
layout: 12,
|
|
7168
7170
|
options: {
|
|
7169
|
-
|
|
7170
|
-
|
|
7171
|
-
|
|
7172
|
-
|
|
7173
|
-
|
|
7174
|
-
|
|
7175
|
-
|
|
7176
|
-
|
|
7177
|
-
|
|
7178
|
-
|
|
7179
|
-
|
|
7180
|
-
|
|
7181
|
-
|
|
7182
|
-
|
|
7183
|
-
|
|
7184
|
-
|
|
7185
|
-
|
|
7186
|
-
|
|
7187
|
-
|
|
7188
|
-
|
|
7189
|
-
|
|
7190
|
-
|
|
7191
|
-
|
|
7192
|
-
|
|
7193
|
-
|
|
7194
|
-
|
|
7195
|
-
|
|
7196
|
-
|
|
7197
|
-
|
|
7198
|
-
|
|
7199
|
-
}
|
|
7200
|
-
}
|
|
7201
|
-
},
|
|
7202
|
-
{
|
|
7203
|
-
type: "Control",
|
|
7204
|
-
scope: "#/properties/proc",
|
|
7205
|
-
config: {
|
|
7206
|
-
layout: { xs: 0, sm: 0, md: 4, lg: 4 }
|
|
7207
|
-
},
|
|
7208
|
-
options: {
|
|
7209
|
-
widget: "EmptyBox"
|
|
7210
|
-
}
|
|
7171
|
+
widget: "Array"
|
|
7172
|
+
},
|
|
7173
|
+
config: {
|
|
7174
|
+
layout: 12,
|
|
7175
|
+
main: {
|
|
7176
|
+
label: "Layout",
|
|
7177
|
+
childElementLabel: "Layout"
|
|
7178
|
+
},
|
|
7179
|
+
style: {
|
|
7180
|
+
marginLeft: "-24px",
|
|
7181
|
+
marginBottom: "24px !important",
|
|
7182
|
+
labelStyle: {
|
|
7183
|
+
marginLeft: "24px"
|
|
7184
|
+
},
|
|
7185
|
+
detailsStyle: {
|
|
7186
|
+
marginLeft: "24px"
|
|
7187
|
+
}
|
|
7188
|
+
}
|
|
7189
|
+
},
|
|
7190
|
+
elements: [
|
|
7191
|
+
{
|
|
7192
|
+
type: "Control",
|
|
7193
|
+
scope: "#/properties/key",
|
|
7194
|
+
options: {
|
|
7195
|
+
widget: "SelectInputField"
|
|
7196
|
+
},
|
|
7197
|
+
config: {
|
|
7198
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
7199
|
+
main: {
|
|
7200
|
+
label: "Screen Size"
|
|
7211
7201
|
}
|
|
7212
|
-
|
|
7202
|
+
}
|
|
7203
|
+
},
|
|
7204
|
+
{
|
|
7205
|
+
type: "Control",
|
|
7206
|
+
scope: "#/properties/value",
|
|
7207
|
+
options: {
|
|
7208
|
+
widget: "InputField"
|
|
7209
|
+
},
|
|
7210
|
+
config: {
|
|
7211
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
7212
|
+
main: {
|
|
7213
|
+
label: "Value",
|
|
7214
|
+
type: "number",
|
|
7215
|
+
helperText: "Number should be in range of 0 to 12",
|
|
7216
|
+
errorMessage: "Number Can't be greater than 12 and can't be less than 0."
|
|
7217
|
+
}
|
|
7218
|
+
}
|
|
7219
|
+
},
|
|
7220
|
+
{
|
|
7221
|
+
type: "Control",
|
|
7222
|
+
scope: "#/properties/proc",
|
|
7223
|
+
config: {
|
|
7224
|
+
layout: { xs: 0, sm: 0, md: 4, lg: 4 }
|
|
7225
|
+
},
|
|
7226
|
+
options: {
|
|
7227
|
+
widget: "EmptyBox"
|
|
7228
|
+
}
|
|
7213
7229
|
}
|
|
7214
|
-
|
|
7230
|
+
]
|
|
7215
7231
|
}
|
|
7216
7232
|
]
|
|
7217
7233
|
};
|