impaktapps-ui-builder 0.0.300 → 0.0.302

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.
@@ -4,7 +4,6 @@ export declare const PageMasterSchema: {
4
4
  name: {
5
5
  type: string;
6
6
  minLength: number;
7
- pattern: string;
8
7
  };
9
8
  label: {
10
9
  type: string;
@@ -15,7 +15,6 @@ declare const _default: (funcParams: funcParamsProps) => {
15
15
  name: {
16
16
  type: string;
17
17
  minLength: number;
18
- pattern: string;
19
18
  };
20
19
  label: {
21
20
  type: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impaktapps-ui-builder",
3
- "version": "0.0.300",
3
+ "version": "0.0.302",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -4,7 +4,7 @@ export const PageMasterSchema = {
4
4
  name:{
5
5
  type:"string",
6
6
  minLength: 6,
7
- pattern: '^page_\\w+$'
7
+ // pattern: '^page_\\w+$'
8
8
  },
9
9
  label:{
10
10
  type:"string",
@@ -31,7 +31,7 @@ const sectionLabels = {
31
31
  Button: ["Core", "Properties", "style", "Event","Validation"],
32
32
  Array:["Core","Components","Validation"],
33
33
  Radio:["Core", "Properties", "style", "Event","Validation"],
34
- Text:["Core", "Event","Validation"]
34
+ Text:["Core","style", "Event","Validation"]
35
35
  }
36
36
 
37
37
  export const refreshPage = (type:string,store:any) => {
@@ -69,16 +69,26 @@ export default (funcParams: funcParamsProps) => {
69
69
  store: funcParams.store, dynamicData: funcParams.dynamicData, userValue: funcParams.userValue, service: funcParams.service,
70
70
  serviceHolder: this, eventGroups
71
71
  }
72
- await executeRefreshHandler(executeEventsParameters)
73
72
  funcParams.store.setSchema(
74
- (pre: any) => {
75
- return {
76
- ...funcParams.schema, properties:
77
- { ...funcParams.schema.properties, ...pre.properties, }
78
- }
79
- })
73
+ funcParams.schema
74
+ // (pre: any) => {
75
+ // return {
76
+ // ...funcParams.schema, properties:
77
+ // { ...funcParams.schema.properties, ...pre.properties, }
78
+ // }
79
+ // }
80
+ )
80
81
  funcParams.uiSchema.elements.push(notifyUiSchema);
81
82
  funcParams.store.setUiSchema(funcParams.uiSchema);
83
+ await executeRefreshHandler( {
84
+ config: {}, componentName: "",
85
+ store: funcParams.store, dynamicData: funcParams.dynamicData, userValue: funcParams.userValue, service: funcParams.service,
86
+ serviceHolder: this, eventGroups
87
+ })
88
+
89
+
90
+
91
+
82
92
  },
83
93
  onClick: async function () {
84
94
  const path = funcParams.dynamicData?.tableButtonPath || funcParams.dynamicData.path.split(".")[0];