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.
@@ -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: "Control",
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
- name: "Ok",
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
- config: {
6772
- layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
6773
- main: {
6774
- name: "Save & Exit",
6775
- variant: "contained",
6776
- type: "text",
6777
- onClick: "saveHandler",
6778
- size: "medium"
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: "HorizontalLayout",
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: 4 },
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/name",
7108
- options: {
7109
- widget: "InputField"
7110
- },
7121
+ scope: "#/properties/proc",
7111
7122
  config: {
7112
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7113
- main: {
7114
- label: "Name"
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/label",
7131
+ scope: "#/properties/name",
7121
7132
  options: {
7122
7133
  widget: "InputField"
7123
7134
  },
7124
7135
  config: {
7125
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7136
+ layout: { xs: 12, sm: 6, md: 4, lg: 3 },
7126
7137
  main: {
7127
- label: "Label"
7138
+ label: "Component ID",
7139
+ required: true
7128
7140
  }
7129
7141
  }
7130
7142
  },
7131
7143
  {
7132
7144
  type: "Control",
7133
- scope: "#/properties/columnFormat",
7145
+ scope: "#/properties/label",
7134
7146
  options: {
7135
- widget: "SelectInputField"
7147
+ widget: "InputField"
7136
7148
  },
7137
7149
  config: {
7138
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7150
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
7139
7151
  main: {
7140
- label: "Column Format"
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: 0, sm: 0, md: 4, lg: 4 }
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
- "elementLabelProp": "key",
7170
- detail: {
7171
- type: "HorizontalLayout",
7172
- elements: [
7173
- {
7174
- type: "Control",
7175
- scope: "#/properties/key",
7176
- options: {
7177
- widget: "SelectInputField"
7178
- },
7179
- config: {
7180
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7181
- main: {
7182
- label: "Screen Size"
7183
- }
7184
- }
7185
- },
7186
- {
7187
- type: "Control",
7188
- scope: "#/properties/value",
7189
- options: {
7190
- widget: "InputField"
7191
- },
7192
- config: {
7193
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7194
- main: {
7195
- label: "Value",
7196
- type: "number",
7197
- helperText: "Number should be in range of 0 to 12",
7198
- errorMessage: "Number Can't be greater than 12 and can't be less than 0."
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
  };