impaktapps-ui-builder 0.0.293 → 0.0.294

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impaktapps-ui-builder",
3
- "version": "0.0.293",
3
+ "version": "0.0.294",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -234,7 +234,7 @@ export const buildPropertiesSection = function (type: String) {
234
234
  getArrayControl("pieArcColors", "color"),
235
235
  ];
236
236
  } else if (type === "WrapperSection") {
237
- uiSchema.elements = [getRadioInputField("divider", "Divider", ["YES", "No"]), getRadioInputField("heading", "Page Heading", ["YES", "No"])]
237
+ uiSchema.elements = [getRadioInputField("divider", "Divider", ["YES", "No"]), EmptyBox]
238
238
  }
239
239
  else if (type === "TabSection") {
240
240
  uiSchema.elements = [
@@ -98,7 +98,7 @@ export const CoreSection = {
98
98
  scope: "#/properties/value",
99
99
 
100
100
  options: {
101
- widget: "MultipleSelect",
101
+ widget: "InputField",
102
102
  },
103
103
  config: {
104
104
  layout: {
@@ -132,7 +132,7 @@ export const OptionArray: any = {
132
132
  type: "Control",
133
133
  scope: "#/properties/label",
134
134
  options: {
135
- widget: "InputField",
135
+ widget: "SelectInputField",
136
136
  },
137
137
  config: {
138
138
  layout: {
@@ -58,12 +58,6 @@ export const ComponentSchema:any = {
58
58
  },
59
59
  value: {
60
60
  type: "string",
61
- oneOf: [
62
- { title: "3", const: "3" },
63
- { title: "5.5", const: "5.5" },
64
- { title: "8", const: "8" },
65
- { title: "12", const: "12" },
66
- ],
67
61
  },
68
62
  },
69
63
  },
@@ -212,12 +212,7 @@ export const componentBasicUiSchema: any = {
212
212
  },
213
213
  main: {
214
214
  label: "Screen Size",
215
- options: [
216
- { label: "Extra Small", value: "xs" },
217
- { label: "Small", value: "sm" },
218
- { label: "Medium", value: "md" },
219
- { label: "Large", value: "lg" },
220
- ],
215
+
221
216
  },
222
217
  },
223
218
  },
@@ -226,7 +221,7 @@ export const componentBasicUiSchema: any = {
226
221
  scope: "#/properties/value",
227
222
 
228
223
  options: {
229
- widget: "MultipleSelect",
224
+ widget: "InputField",
230
225
  },
231
226
  config: {
232
227
  layout: {
@@ -93,7 +93,7 @@ export default (funcParams: funcParamsProps) => {
93
93
  onPaginationChange: async function (paginationValues) {
94
94
  const apiBody = [
95
95
  { key: "size", value: paginationValues.pagination.pageSize },
96
- { key: "start", value: paginationValues.pagination.pageIndex * paginationValues.pagination.pageSize },
96
+ { key: "pageIndex", value: paginationValues.pagination.pageIndex },
97
97
  { key: "sorting", value: paginationValues.sorting || [] },
98
98
  { key: "filters", value: paginationValues.columnFilters || [] },
99
99
  { key: "globalFilter", value: paginationValues.globalFilter ?? '' }