impaktapps-ui-builder 0.0.382-alpha.14 → 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,6 +6473,7 @@ const componentBasicUiSchema = (theme) => {
6473
6473
  heading: " "
6474
6474
  },
6475
6475
  style: {
6476
+ textAlign: "right",
6476
6477
  width: "auto",
6477
6478
  fontSize: "12px",
6478
6479
  color: "gray",
@@ -7083,116 +7084,92 @@ const TableSection = {
7083
7084
  type: "HorizontalLayout",
7084
7085
  elements: [
7085
7086
  {
7086
- type: "WrapperLayout",
7087
+ type: "Control",
7088
+ scope: "#/properties/elements",
7089
+ options: {
7090
+ widget: "Table"
7091
+ },
7087
7092
  config: {
7088
- main: {},
7089
- wrapperStyle: {
7090
- 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
7091
7123
  }
7092
7124
  },
7093
7125
  elements: [
7094
7126
  {
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
- }
7127
+ accessorKey: "name",
7128
+ header: "Name"
7112
7129
  },
7113
7130
  {
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"
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"
7127
7143
  },
7128
- style: {
7129
- float: "right"
7144
+ config: {
7145
+ main: {
7146
+ icon: "EditIcon",
7147
+ color: "primary",
7148
+ onClick: "editComponents",
7149
+ tooltipMessage: "Reject This Record"
7150
+ }
7130
7151
  }
7131
7152
  }
7132
7153
  },
7133
7154
  {
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
- }
7155
+ header: "Delete",
7156
+ field: "Reject_Records",
7157
+ flex: 1,
7158
+ widget: {
7159
+ type: "Control",
7160
+ scope: "#/properties/RejectButton",
7161
+ options: {
7162
+ widget: "IconButton"
7174
7163
  },
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
- }
7164
+ config: {
7165
+ main: {
7166
+ icon: "RejectIcon",
7167
+ color: "error",
7168
+ onClick: "deleteComponents",
7169
+ tooltipMessage: "Reject This Record"
7193
7170
  }
7194
7171
  }
7195
- ]
7172
+ }
7196
7173
  }
7197
7174
  ]
7198
7175
  }
@@ -7270,12 +7247,7 @@ const ValidationSection = {
7270
7247
  widget: "SelectInputField"
7271
7248
  },
7272
7249
  config: {
7273
- layout: {
7274
- xs: 11,
7275
- sm: 11,
7276
- md: 5.5,
7277
- lg: 5.5
7278
- },
7250
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
7279
7251
  main: {
7280
7252
  label: "Validation Type"
7281
7253
  }
@@ -7288,16 +7260,21 @@ const ValidationSection = {
7288
7260
  widget: "InputField"
7289
7261
  },
7290
7262
  config: {
7291
- layout: {
7292
- xs: 11,
7293
- sm: 11,
7294
- md: 5.5,
7295
- lg: 5.5
7296
- },
7263
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
7297
7264
  main: {
7298
7265
  label: "Validation Value"
7299
7266
  }
7300
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
+ }
7301
7278
  }
7302
7279
  ]
7303
7280
  }
@@ -8087,6 +8064,7 @@ const EventUiSchema = (theme) => {
8087
8064
  heading: " "
8088
8065
  },
8089
8066
  style: {
8067
+ textAlign: "right",
8090
8068
  width: "auto",
8091
8069
  fontSize: "12px",
8092
8070
  color: "gray",