impaktapps-ui-builder 0.0.382-alpha.14 → 0.0.382-alpha.16

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.
@@ -6463,22 +6463,32 @@ const componentBasicUiSchema = (theme) => {
6463
6463
  },
6464
6464
  {
6465
6465
  type: "Control",
6466
- scope: "#/properties/pageName",
6466
+ scope: "#/properties/text",
6467
6467
  options: {
6468
6468
  widget: "Box"
6469
6469
  },
6470
6470
  config: {
6471
- layout: 12,
6471
+ layout: 9.7,
6472
6472
  main: {
6473
- heading: " "
6473
+ heading: "very very Long path text very very Long path text very very Long path text very very Long path text"
6474
6474
  },
6475
6475
  style: {
6476
- width: "auto",
6476
+ color: theme.palette.text.disabled,
6477
+ textAlign: "right",
6477
6478
  fontSize: "12px",
6478
- color: "gray",
6479
- paddingTop: "10px"
6479
+ marginTop: "-16px"
6480
6480
  }
6481
6481
  }
6482
+ },
6483
+ {
6484
+ type: "Control",
6485
+ scope: "#/properties/emptyBox",
6486
+ options: {
6487
+ widget: "EmptyBox"
6488
+ },
6489
+ config: {
6490
+ layout: 2.3
6491
+ }
6482
6492
  }
6483
6493
  ]
6484
6494
  }
@@ -7083,116 +7093,92 @@ const TableSection = {
7083
7093
  type: "HorizontalLayout",
7084
7094
  elements: [
7085
7095
  {
7086
- type: "WrapperLayout",
7096
+ type: "Control",
7097
+ scope: "#/properties/elements",
7098
+ options: {
7099
+ widget: "Table"
7100
+ },
7087
7101
  config: {
7088
- main: {},
7089
- wrapperStyle: {
7090
- border: "1px solid gray"
7102
+ main: {
7103
+ headerIcons: {
7104
+ elements: [
7105
+ {
7106
+ widget: {
7107
+ type: "Control",
7108
+ scope: "#/properties/New_Record",
7109
+ options: {
7110
+ widget: "IconButton"
7111
+ },
7112
+ config: {
7113
+ main: {
7114
+ color: "info",
7115
+ onClick: "widgetAddClickHandler",
7116
+ size: "small",
7117
+ icon: "AddIcon",
7118
+ iconLabel: "Add New",
7119
+ styleDefault: true
7120
+ },
7121
+ style: {
7122
+ mt: "6px"
7123
+ }
7124
+ }
7125
+ }
7126
+ }
7127
+ ]
7128
+ },
7129
+ disableAction: true,
7130
+ disableSelection: true,
7131
+ enableDrag: true
7091
7132
  }
7092
7133
  },
7093
7134
  elements: [
7094
7135
  {
7095
- type: "Control",
7096
- scope: "#/properties/programType",
7097
- options: {
7098
- widget: "Box"
7099
- },
7100
- config: {
7101
- layout: 8,
7102
- main: {
7103
- heading: "Components Table"
7104
- },
7105
- style: {
7106
- fontFamily: "Roboto",
7107
- fontWeight: "500",
7108
- paddingLeft: "-10px",
7109
- fontSize: "20px"
7110
- }
7111
- }
7136
+ accessorKey: "name",
7137
+ header: "Name"
7112
7138
  },
7113
7139
  {
7114
- type: "Control",
7115
- scope: "#/properties/Back_Button",
7116
- options: {
7117
- widget: "IconButton"
7118
- },
7119
- config: {
7120
- layout: 3,
7121
- main: {
7122
- icon: "AddIcon",
7123
- styleDefault: true,
7124
- size: "small",
7125
- onClick: "widgetAddClickHandler",
7126
- tooltipMessage: "Add New"
7140
+ accessorKey: "type",
7141
+ header: "Type"
7142
+ },
7143
+ {
7144
+ header: "Edit Record",
7145
+ field: "Reject_Records",
7146
+ flex: 1,
7147
+ widget: {
7148
+ type: "Control",
7149
+ scope: "#/properties/RejectButton",
7150
+ options: {
7151
+ widget: "IconButton"
7127
7152
  },
7128
- style: {
7129
- float: "right"
7153
+ config: {
7154
+ main: {
7155
+ icon: "EditIcon",
7156
+ color: "primary",
7157
+ onClick: "editComponents",
7158
+ tooltipMessage: "Reject This Record"
7159
+ }
7130
7160
  }
7131
7161
  }
7132
7162
  },
7133
7163
  {
7134
- type: "Control",
7135
- scope: "#/properties/elements",
7136
- options: {
7137
- widget: "Table"
7138
- },
7139
- config: {
7140
- main: {
7141
- disableAction: true,
7142
- disableSelection: true,
7143
- enableDrag: true
7144
- }
7145
- },
7146
- elements: [
7147
- {
7148
- accessorKey: "name",
7149
- header: "Name"
7150
- },
7151
- {
7152
- accessorKey: "type",
7153
- header: "Type"
7154
- },
7155
- {
7156
- header: "Edit Record",
7157
- field: "Reject_Records",
7158
- flex: 1,
7159
- widget: {
7160
- type: "Control",
7161
- scope: "#/properties/RejectButton",
7162
- options: {
7163
- widget: "IconButton"
7164
- },
7165
- config: {
7166
- main: {
7167
- icon: "EditIcon",
7168
- color: "primary",
7169
- onClick: "editComponents",
7170
- tooltipMessage: "Reject This Record"
7171
- }
7172
- }
7173
- }
7164
+ header: "Delete",
7165
+ field: "Reject_Records",
7166
+ flex: 1,
7167
+ widget: {
7168
+ type: "Control",
7169
+ scope: "#/properties/RejectButton",
7170
+ options: {
7171
+ widget: "IconButton"
7174
7172
  },
7175
- {
7176
- header: "Delete",
7177
- field: "Reject_Records",
7178
- flex: 1,
7179
- widget: {
7180
- type: "Control",
7181
- scope: "#/properties/RejectButton",
7182
- options: {
7183
- widget: "IconButton"
7184
- },
7185
- config: {
7186
- main: {
7187
- icon: "RejectIcon",
7188
- color: "error",
7189
- onClick: "deleteComponents",
7190
- tooltipMessage: "Reject This Record"
7191
- }
7192
- }
7173
+ config: {
7174
+ main: {
7175
+ icon: "RejectIcon",
7176
+ color: "error",
7177
+ onClick: "deleteComponents",
7178
+ tooltipMessage: "Reject This Record"
7193
7179
  }
7194
7180
  }
7195
- ]
7181
+ }
7196
7182
  }
7197
7183
  ]
7198
7184
  }
@@ -7270,12 +7256,7 @@ const ValidationSection = {
7270
7256
  widget: "SelectInputField"
7271
7257
  },
7272
7258
  config: {
7273
- layout: {
7274
- xs: 11,
7275
- sm: 11,
7276
- md: 5.5,
7277
- lg: 5.5
7278
- },
7259
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
7279
7260
  main: {
7280
7261
  label: "Validation Type"
7281
7262
  }
@@ -7288,16 +7269,21 @@ const ValidationSection = {
7288
7269
  widget: "InputField"
7289
7270
  },
7290
7271
  config: {
7291
- layout: {
7292
- xs: 11,
7293
- sm: 11,
7294
- md: 5.5,
7295
- lg: 5.5
7296
- },
7272
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
7297
7273
  main: {
7298
7274
  label: "Validation Value"
7299
7275
  }
7300
7276
  }
7277
+ },
7278
+ {
7279
+ type: "Control",
7280
+ scope: "#/properties/emptyBox",
7281
+ options: {
7282
+ widget: "EmptyBox"
7283
+ },
7284
+ config: {
7285
+ layout: { xs: 0, sm: 4 }
7286
+ }
7301
7287
  }
7302
7288
  ]
7303
7289
  }
@@ -8077,22 +8063,32 @@ const EventUiSchema = (theme) => {
8077
8063
  },
8078
8064
  {
8079
8065
  type: "Control",
8080
- scope: "#/properties/pageName",
8066
+ scope: "#/properties/text",
8081
8067
  options: {
8082
8068
  widget: "Box"
8083
8069
  },
8084
8070
  config: {
8085
- layout: 12,
8071
+ layout: 9.7,
8086
8072
  main: {
8087
- heading: " "
8073
+ heading: "very very Long path text very very Long path text very very Long path text very very Long path text"
8088
8074
  },
8089
8075
  style: {
8090
- width: "auto",
8076
+ color: theme.palette.text.disabled,
8077
+ textAlign: "right",
8091
8078
  fontSize: "12px",
8092
- color: "gray",
8093
- paddingTop: "10px"
8079
+ marginTop: "-16px"
8094
8080
  }
8095
8081
  }
8082
+ },
8083
+ {
8084
+ type: "Control",
8085
+ scope: "#/properties/emptyBox",
8086
+ options: {
8087
+ widget: "EmptyBox"
8088
+ },
8089
+ config: {
8090
+ layout: 2.3
8091
+ }
8096
8092
  }
8097
8093
  ]
8098
8094
  }