impaktapps-ui-builder 0.0.357 → 0.0.359

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.357",
3
+ "version": "0.0.359",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -21,7 +21,7 @@ const RadioUiSchema = {
21
21
  export const buildRadio = (config,componentScope) => {
22
22
  const Radio: any = _.cloneDeep(RadioUiSchema);
23
23
  Radio.scope = componentScope;
24
- Radio.config.main.heading = config.label
24
+ Radio.config.main.label = config.label
25
25
  if(config.layout){
26
26
  Radio.config.layout = createLayoutFormat(config.layout)
27
27
  }
@@ -1,9 +1,7 @@
1
1
  import _ from "lodash";
2
2
  import { createLayoutFormat } from "./buildConfig";
3
3
 
4
- const Stepper =
5
-
6
- {
4
+ const Stepper = {
7
5
  type: "Control",
8
6
  scope: "#/properties/Stepper",
9
7
  options: {
@@ -12,8 +10,7 @@ const Stepper =
12
10
 
13
11
  config: {
14
12
  main: {
15
- label: ["First", "Second", "Third"],
16
- stepsSkip: { 0: "false", 1: "false" },
13
+ steps:[{label:"First"}, {label:"Second"},{label: "Third"}],
17
14
  resetButton: false,
18
15
  resetText: "Reset",
19
16
  orientation: "vertical"
@@ -35,13 +32,6 @@ export const buildStepper = (config, componentScope) => {
35
32
  return { label: e.label, id: i }
36
33
  });
37
34
  }
38
- if (config.skipAvailable) {
39
- const stepObj = {}
40
- config.skipAvailable.map((e, i: number) => {
41
- stepObj[e.skipId] = true
42
- });
43
- stepper.config.main.stepSkip = stepObj
44
- }
45
35
  if (config.layout) {
46
36
  stepper.config.layout = createLayoutFormat(config.layout)
47
37
  }
@@ -170,8 +170,7 @@ export const buildPropertiesSection = function (type: String) {
170
170
  { label: "Vertical", value: "vertical" },
171
171
  ]),
172
172
  EmptyBox,
173
- getArrayControl("sectionLabels", "label"),
174
- getArrayControl("skipAvailable", "skipId"),
173
+ getArrayControl("sectionLabels", "label")
175
174
 
176
175
  ]
177
176
  break;
@@ -129,18 +129,6 @@ export const ComponentSchema: any = {
129
129
  },
130
130
  },
131
131
  },
132
- skipAvailable: {
133
- type: "array",
134
- items: {
135
- type: "object",
136
- properties: {
137
- skipId: {
138
- type: "string",
139
- },
140
-
141
- },
142
- },
143
- },
144
132
  Table_Download_Keys_Name: {
145
133
  type: "array",
146
134
  items: {