impaktapps-ui-builder 0.0.382-alpha.13 → 0.0.382-alpha.15

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.
@@ -6473,7 +6473,7 @@ const componentBasicUiSchema = (theme) => {
6473
6473
  heading: " "
6474
6474
  },
6475
6475
  style: {
6476
- float: "right",
6476
+ textAlign: "right",
6477
6477
  width: "auto",
6478
6478
  fontSize: "12px",
6479
6479
  color: "gray",
@@ -7084,116 +7084,92 @@ const TableSection = {
7084
7084
  type: "HorizontalLayout",
7085
7085
  elements: [
7086
7086
  {
7087
- type: "WrapperLayout",
7087
+ type: "Control",
7088
+ scope: "#/properties/elements",
7089
+ options: {
7090
+ widget: "Table"
7091
+ },
7088
7092
  config: {
7089
- main: {},
7090
- wrapperStyle: {
7091
- border: "1px solid gray"
7093
+ main: {
7094
+ headerIcons: {
7095
+ elements: [
7096
+ {
7097
+ widget: {
7098
+ type: "Control",
7099
+ scope: "#/properties/New_Record",
7100
+ options: {
7101
+ widget: "IconButton"
7102
+ },
7103
+ config: {
7104
+ main: {
7105
+ color: "info",
7106
+ onClick: "widgetAddClickHandler",
7107
+ size: "small",
7108
+ icon: "AddIcon",
7109
+ iconLabel: "Add New",
7110
+ styleDefault: true
7111
+ },
7112
+ style: {
7113
+ mt: "6px"
7114
+ }
7115
+ }
7116
+ }
7117
+ }
7118
+ ]
7119
+ },
7120
+ disableAction: true,
7121
+ disableSelection: true,
7122
+ enableDrag: true
7092
7123
  }
7093
7124
  },
7094
7125
  elements: [
7095
7126
  {
7096
- type: "Control",
7097
- scope: "#/properties/programType",
7098
- options: {
7099
- widget: "Box"
7100
- },
7101
- config: {
7102
- layout: 8,
7103
- main: {
7104
- heading: "Components Table"
7105
- },
7106
- style: {
7107
- fontFamily: "Roboto",
7108
- fontWeight: "500",
7109
- paddingLeft: "-10px",
7110
- fontSize: "20px"
7111
- }
7112
- }
7127
+ accessorKey: "name",
7128
+ header: "Name"
7113
7129
  },
7114
7130
  {
7115
- type: "Control",
7116
- scope: "#/properties/Back_Button",
7117
- options: {
7118
- widget: "IconButton"
7119
- },
7120
- config: {
7121
- layout: 3,
7122
- main: {
7123
- icon: "AddIcon",
7124
- styleDefault: true,
7125
- size: "small",
7126
- onClick: "widgetAddClickHandler",
7127
- tooltipMessage: "Add New"
7131
+ accessorKey: "type",
7132
+ header: "Type"
7133
+ },
7134
+ {
7135
+ header: "Edit Record",
7136
+ field: "Reject_Records",
7137
+ flex: 1,
7138
+ widget: {
7139
+ type: "Control",
7140
+ scope: "#/properties/RejectButton",
7141
+ options: {
7142
+ widget: "IconButton"
7128
7143
  },
7129
- style: {
7130
- float: "right"
7144
+ config: {
7145
+ main: {
7146
+ icon: "EditIcon",
7147
+ color: "primary",
7148
+ onClick: "editComponents",
7149
+ tooltipMessage: "Reject This Record"
7150
+ }
7131
7151
  }
7132
7152
  }
7133
7153
  },
7134
7154
  {
7135
- type: "Control",
7136
- scope: "#/properties/elements",
7137
- options: {
7138
- widget: "Table"
7139
- },
7140
- config: {
7141
- main: {
7142
- disableAction: true,
7143
- disableSelection: true,
7144
- enableDrag: true
7145
- }
7146
- },
7147
- elements: [
7148
- {
7149
- accessorKey: "name",
7150
- header: "Name"
7151
- },
7152
- {
7153
- accessorKey: "type",
7154
- header: "Type"
7155
- },
7156
- {
7157
- header: "Edit Record",
7158
- field: "Reject_Records",
7159
- flex: 1,
7160
- widget: {
7161
- type: "Control",
7162
- scope: "#/properties/RejectButton",
7163
- options: {
7164
- widget: "IconButton"
7165
- },
7166
- config: {
7167
- main: {
7168
- icon: "EditIcon",
7169
- color: "primary",
7170
- onClick: "editComponents",
7171
- tooltipMessage: "Reject This Record"
7172
- }
7173
- }
7174
- }
7155
+ header: "Delete",
7156
+ field: "Reject_Records",
7157
+ flex: 1,
7158
+ widget: {
7159
+ type: "Control",
7160
+ scope: "#/properties/RejectButton",
7161
+ options: {
7162
+ widget: "IconButton"
7175
7163
  },
7176
- {
7177
- header: "Delete",
7178
- field: "Reject_Records",
7179
- flex: 1,
7180
- widget: {
7181
- type: "Control",
7182
- scope: "#/properties/RejectButton",
7183
- options: {
7184
- widget: "IconButton"
7185
- },
7186
- config: {
7187
- main: {
7188
- icon: "RejectIcon",
7189
- color: "error",
7190
- onClick: "deleteComponents",
7191
- tooltipMessage: "Reject This Record"
7192
- }
7193
- }
7164
+ config: {
7165
+ main: {
7166
+ icon: "RejectIcon",
7167
+ color: "error",
7168
+ onClick: "deleteComponents",
7169
+ tooltipMessage: "Reject This Record"
7194
7170
  }
7195
7171
  }
7196
- ]
7172
+ }
7197
7173
  }
7198
7174
  ]
7199
7175
  }
@@ -7271,12 +7247,7 @@ const ValidationSection = {
7271
7247
  widget: "SelectInputField"
7272
7248
  },
7273
7249
  config: {
7274
- layout: {
7275
- xs: 11,
7276
- sm: 11,
7277
- md: 5.5,
7278
- lg: 5.5
7279
- },
7250
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
7280
7251
  main: {
7281
7252
  label: "Validation Type"
7282
7253
  }
@@ -7289,16 +7260,21 @@ const ValidationSection = {
7289
7260
  widget: "InputField"
7290
7261
  },
7291
7262
  config: {
7292
- layout: {
7293
- xs: 11,
7294
- sm: 11,
7295
- md: 5.5,
7296
- lg: 5.5
7297
- },
7263
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
7298
7264
  main: {
7299
7265
  label: "Validation Value"
7300
7266
  }
7301
7267
  }
7268
+ },
7269
+ {
7270
+ type: "Control",
7271
+ scope: "#/properties/emptyBox",
7272
+ options: {
7273
+ widget: "EmptyBox"
7274
+ },
7275
+ config: {
7276
+ layout: { xs: 0, sm: 4 }
7277
+ }
7302
7278
  }
7303
7279
  ]
7304
7280
  }
@@ -8088,7 +8064,7 @@ const EventUiSchema = (theme) => {
8088
8064
  heading: " "
8089
8065
  },
8090
8066
  style: {
8091
- float: "right",
8067
+ textAlign: "right",
8092
8068
  width: "auto",
8093
8069
  fontSize: "12px",
8094
8070
  color: "gray",