impaktapps-ui-builder 0.0.963-CopyComponent.1 → 0.0.963-CopyComponent.11

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.
@@ -9,7 +9,7 @@ export declare const EventSection: (theme: any) => {
9
9
  config: {
10
10
  main: {
11
11
  headerIcons: {
12
- elements: {
12
+ elements: ({
13
13
  widget: {
14
14
  type: string;
15
15
  scope: string;
@@ -30,7 +30,28 @@ export declare const EventSection: (theme: any) => {
30
30
  };
31
31
  };
32
32
  };
33
- }[];
33
+ } | {
34
+ widget: {
35
+ type: string;
36
+ scope: string;
37
+ options: {
38
+ widget: string;
39
+ };
40
+ config: {
41
+ main: {
42
+ onClick: string;
43
+ size: string;
44
+ icon: string;
45
+ iconLabel: string;
46
+ styleDefault: boolean;
47
+ color?: undefined;
48
+ };
49
+ style: {
50
+ mt: string;
51
+ };
52
+ };
53
+ };
54
+ })[];
34
55
  };
35
56
  disableAction: boolean;
36
57
  disableSelection: boolean;
@@ -41,6 +62,8 @@ export declare const EventSection: (theme: any) => {
41
62
  accessorKey: string;
42
63
  header: string;
43
64
  widget?: undefined;
65
+ field?: undefined;
66
+ flex?: undefined;
44
67
  } | {
45
68
  accessorKey: string;
46
69
  header: string;
@@ -57,6 +80,7 @@ export declare const EventSection: (theme: any) => {
57
80
  icon: string;
58
81
  tooltipMessage: string;
59
82
  onClick: string;
83
+ styleDefault?: undefined;
60
84
  };
61
85
  style: {
62
86
  color: any;
@@ -64,6 +88,8 @@ export declare const EventSection: (theme: any) => {
64
88
  };
65
89
  accessorKeyName?: undefined;
66
90
  };
91
+ field?: undefined;
92
+ flex?: undefined;
67
93
  } | {
68
94
  accessorKey: string;
69
95
  header: string;
@@ -81,10 +107,37 @@ export declare const EventSection: (theme: any) => {
81
107
  tooltipMessage: string;
82
108
  onClick: string;
83
109
  size?: undefined;
110
+ styleDefault?: undefined;
84
111
  };
85
112
  style?: undefined;
86
113
  };
87
114
  };
115
+ field?: undefined;
116
+ flex?: undefined;
117
+ } | {
118
+ header: string;
119
+ field: string;
120
+ flex: number;
121
+ widget: {
122
+ type: string;
123
+ scope: string;
124
+ options: {
125
+ widget: string;
126
+ };
127
+ config: {
128
+ main: {
129
+ icon: string;
130
+ onClick: string;
131
+ tooltipMessage: string;
132
+ styleDefault: boolean;
133
+ color?: undefined;
134
+ size?: undefined;
135
+ };
136
+ style?: undefined;
137
+ };
138
+ accessorKeyName?: undefined;
139
+ };
140
+ accessorKey?: undefined;
88
141
  })[];
89
142
  }[];
90
143
  };
@@ -9,7 +9,7 @@ export declare const TableSection: (theme: any) => {
9
9
  config: {
10
10
  main: {
11
11
  headerIcons: {
12
- elements: {
12
+ elements: ({
13
13
  widget: {
14
14
  type: string;
15
15
  scope: string;
@@ -30,7 +30,28 @@ export declare const TableSection: (theme: any) => {
30
30
  };
31
31
  };
32
32
  };
33
- }[];
33
+ } | {
34
+ widget: {
35
+ type: string;
36
+ scope: string;
37
+ options: {
38
+ widget: string;
39
+ };
40
+ config: {
41
+ main: {
42
+ onClick: string;
43
+ size: string;
44
+ icon: string;
45
+ iconLabel: string;
46
+ styleDefault: boolean;
47
+ color?: undefined;
48
+ };
49
+ style: {
50
+ mt: string;
51
+ };
52
+ };
53
+ };
54
+ })[];
34
55
  };
35
56
  disableAction: boolean;
36
57
  disableSelection: boolean;
@@ -59,6 +80,7 @@ export declare const TableSection: (theme: any) => {
59
80
  color: string;
60
81
  onClick: string;
61
82
  tooltipMessage: string;
83
+ styleDefault?: undefined;
62
84
  };
63
85
  style: {
64
86
  color: any;
@@ -82,6 +104,29 @@ export declare const TableSection: (theme: any) => {
82
104
  color: string;
83
105
  onClick: string;
84
106
  tooltipMessage: string;
107
+ styleDefault?: undefined;
108
+ };
109
+ style?: undefined;
110
+ };
111
+ };
112
+ accessorKey?: undefined;
113
+ } | {
114
+ header: string;
115
+ field: string;
116
+ flex: number;
117
+ widget: {
118
+ type: string;
119
+ scope: string;
120
+ options: {
121
+ widget: string;
122
+ };
123
+ config: {
124
+ main: {
125
+ icon: string;
126
+ onClick: string;
127
+ styleDefault: boolean;
128
+ color?: undefined;
129
+ tooltipMessage?: undefined;
85
130
  };
86
131
  style?: undefined;
87
132
  };
@@ -16,5 +16,9 @@ declare const _default: (store: any, dynamicData: any, submitHandler: any, servi
16
16
  backHandler: () => void;
17
17
  deletePopUpComponent: () => void;
18
18
  deletePopUpEvent: () => void;
19
+ CopyComponent: () => void;
20
+ PasteComponent: () => void;
21
+ CopyEvent: () => void;
22
+ PasteEvent: () => void;
19
23
  };
20
24
  export default _default;
@@ -87,5 +87,7 @@ declare const _default: (store: any, dynamicData: any, submitHandler: any, servi
87
87
  deleteEvent: () => Promise<void>;
88
88
  backHandler: () => void;
89
89
  deletePopUpEvent: () => void;
90
+ CopyEvent: () => void;
91
+ PasteEvent: () => void;
90
92
  };
91
93
  export default _default;
@@ -65,5 +65,7 @@ declare const _default: (funcParams: funcParamsProps) => {
65
65
  deletePopUpEvent: () => void;
66
66
  CopyComponent: () => void;
67
67
  PasteComponent: () => void;
68
+ CopyEvent: () => void;
69
+ PasteEvent: () => void;
68
70
  };
69
71
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impaktapps-ui-builder",
3
- "version": "0.0.963-CopyComponent.1",
3
+ "version": "0.0.963-CopyComponent.11",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -35,6 +35,30 @@ export const EventSection = (theme)=>{
35
35
  },
36
36
  }
37
37
  },
38
+
39
+ {
40
+ widget: {
41
+ type: "Control",
42
+ scope: "#/properties/Paste_Icon",
43
+
44
+ options: {
45
+ widget: "IconButton",
46
+ },
47
+ config: {
48
+ main: {
49
+ // color: "info",
50
+ onClick: "PasteEvent",
51
+ size: "small",
52
+ icon: "SendIcon",
53
+ iconLabel: "Paste",
54
+ styleDefault: true,
55
+ },
56
+ style: {
57
+ mt: "6px",
58
+ },
59
+ },
60
+ }
61
+ },
38
62
  ]
39
63
  },
40
64
  disableAction: true,
@@ -98,6 +122,29 @@ export const EventSection = (theme)=>{
98
122
  },
99
123
  },
100
124
  },
125
+
126
+
127
+ {
128
+ header: "Copy",
129
+ field: "Copy_Event",
130
+ flex: 1,
131
+ widget: {
132
+ type: "Control",
133
+ scope: "#/properties/CopyEvent",
134
+ options: {
135
+ widget: "IconButton",
136
+ },
137
+ config: {
138
+ main: {
139
+ icon: "FileCopyIcon",
140
+ // color: "error",
141
+ onClick: "CopyEvent",
142
+ tooltipMessage: "Reject This Record",
143
+ styleDefault: true,
144
+ },
145
+ },
146
+ },
147
+ },
101
148
  ]
102
149
  }]}
103
150
  return uiSchema
@@ -35,6 +35,31 @@ export const TableSection = (theme) => {
35
35
  },
36
36
  }
37
37
  },
38
+
39
+
40
+ {
41
+ widget: {
42
+ type: "Control",
43
+ scope: "#/properties/Paste_Icon",
44
+
45
+ options: {
46
+ widget: "IconButton",
47
+ },
48
+ config: {
49
+ main: {
50
+ // color: "info",
51
+ onClick: "PasteComponent",
52
+ size: "small",
53
+ icon: "SendIcon",
54
+ iconLabel: "Paste",
55
+ styleDefault: true,
56
+ },
57
+ style: {
58
+ mt: "6px",
59
+ },
60
+ },
61
+ }
62
+ },
38
63
  ]
39
64
  },
40
65
  disableAction: true,
@@ -95,7 +120,29 @@ export const TableSection = (theme) => {
95
120
  },
96
121
  },
97
122
  },
98
- }
123
+ },
124
+
125
+
126
+ {
127
+ header: "Copy",
128
+ field: "Copy_Component",
129
+ flex: 1,
130
+ widget: {
131
+ type: "Control",
132
+ scope: "#/properties/CopyComponent",
133
+ options: {
134
+ widget: "IconButton",
135
+ },
136
+ config: {
137
+ main: {
138
+ icon: "FileCopyIcon",
139
+ // color: "error",
140
+ onClick: "CopyComponent",
141
+ styleDefault: true,
142
+ },
143
+ },
144
+ },
145
+ },
99
146
  ]
100
147
  }]
101
148
  }
@@ -341,7 +341,11 @@ export const ComponentSchema: any = {
341
341
  name: {
342
342
  type: "string",
343
343
  },
344
- label: { type: 'string' }
344
+ label: { type: 'string' },
345
+
346
+ CopyComponent:{
347
+ disabled: false,
348
+ }
345
349
  },
346
350
 
347
351
  required: ["name",]
@@ -363,17 +363,39 @@ export const componentBasicUiSchema: any = (theme)=>{
363
363
  },
364
364
  },
365
365
  ]
366
- },
366
+ },
367
+
368
+
369
+
367
370
  {
368
371
  type: "Control",
369
- scope: "#/properties/EmptyBox",
372
+ scope: "#/properties/copiedElementDetails",
373
+
370
374
  options: {
371
- widget: "EmptyBox",
375
+ widget: "Box",
372
376
  },
373
377
  config: {
374
378
  layout: { xs: 4, sm: 8 },
379
+ main: {
380
+ heading: "",
381
+ },
382
+ style: {
383
+ float: "left"
384
+ }
375
385
  },
376
386
  },
387
+
388
+
389
+ // {
390
+ // type: "Control",
391
+ // scope: "#/properties/EmptyBox",
392
+ // options: {
393
+ // widget: "EmptyBox",
394
+ // },
395
+ // config: {
396
+ // layout: { xs: 4, sm: 8 },
397
+ // },
398
+ // },
377
399
  {
378
400
  type: "Control",
379
401
  scope: "#/properties/btn",
@@ -127,6 +127,30 @@ export const PageMasterUiSchema: any = (theme) => {
127
127
  },
128
128
  }
129
129
  },
130
+
131
+ {
132
+ widget: {
133
+ type: "Control",
134
+ scope: "#/properties/Paste_Icon",
135
+
136
+ options: {
137
+ widget: "IconButton",
138
+ },
139
+ config: {
140
+ main: {
141
+ // color: "info",
142
+ onClick: "PasteComponent",
143
+ size: "small",
144
+ icon: "SendIcon",
145
+ iconLabel: "Paste",
146
+ styleDefault: true,
147
+ },
148
+ style: {
149
+ mt: "6px",
150
+ },
151
+ },
152
+ }
153
+ },
130
154
  ]
131
155
  },
132
156
  disableAction: true,
@@ -204,33 +228,13 @@ export const PageMasterUiSchema: any = (theme) => {
204
228
  icon: "FileCopyIcon",
205
229
  // color: "error",
206
230
  onClick: "CopyComponent",
207
- tooltipMessage: "Reject This Record",
208
- },
209
- },
210
- },
211
- },
212
-
213
- {
214
- header: "paste",
215
- field: "Paste_Component",
216
- flex: 1,
217
- widget: {
218
- type: "Control",
219
- scope: "#/properties/PasteComponent",
220
- options: {
221
- widget: "IconButton",
222
- },
223
- config: {
224
- main: {
225
- icon: "SendIcon",
226
- // color: "error",
227
- onClick: "PasteComponent",
228
- tooltipMessage: "Reject This Record",
231
+ styleDefault: true,
229
232
  },
230
233
  },
231
234
  },
232
235
  },
233
236
 
237
+
234
238
  ]
235
239
  },
236
240
  {
@@ -266,6 +270,30 @@ export const PageMasterUiSchema: any = (theme) => {
266
270
  },
267
271
  }
268
272
  },
273
+
274
+ {
275
+ widget: {
276
+ type: "Control",
277
+ scope: "#/properties/Paste_Icon",
278
+
279
+ options: {
280
+ widget: "IconButton",
281
+ },
282
+ config: {
283
+ main: {
284
+ // color: "info",
285
+ onClick: "PasteEvent",
286
+ size: "small",
287
+ icon: "SendIcon",
288
+ iconLabel: "Paste",
289
+ styleDefault: true,
290
+ },
291
+ style: {
292
+ mt: "6px",
293
+ },
294
+ },
295
+ }
296
+ },
269
297
  ]
270
298
  },
271
299
 
@@ -327,6 +355,28 @@ export const PageMasterUiSchema: any = (theme) => {
327
355
  },
328
356
  },
329
357
  },
358
+
359
+
360
+ {
361
+ header: "Copy",
362
+ field: "Copy_Event",
363
+ flex: 1,
364
+ widget: {
365
+ type: "Control",
366
+ scope: "#/properties/CopyEvent",
367
+ options: {
368
+ widget: "IconButton",
369
+ },
370
+ config: {
371
+ main: {
372
+ icon: "FileCopyIcon",
373
+ // color: "error",
374
+ onClick: "CopyEvent",
375
+ styleDefault: true,
376
+ },
377
+ },
378
+ },
379
+ },
330
380
  ]
331
381
  // }]
332
382
  },
@@ -106,6 +106,30 @@ export const EventUiSchema: any = (theme) => {
106
106
  },
107
107
  }
108
108
  },
109
+
110
+ {
111
+ widget: {
112
+ type: "Control",
113
+ scope: "#/properties/Paste_Icon",
114
+
115
+ options: {
116
+ widget: "IconButton",
117
+ },
118
+ config: {
119
+ main: {
120
+ // color: "info",
121
+ onClick: "PasteEvent",
122
+ size: "small",
123
+ icon: "SendIcon",
124
+ iconLabel: "Paste",
125
+ styleDefault: true,
126
+ },
127
+ style: {
128
+ mt: "6px",
129
+ },
130
+ },
131
+ }
132
+ },
109
133
  ]
110
134
  },
111
135
  disableAction: true,
@@ -166,6 +190,27 @@ export const EventUiSchema: any = (theme) => {
166
190
  },
167
191
  },
168
192
  },
193
+
194
+ {
195
+ header: "Copy",
196
+ field: "Copy_Event",
197
+ flex: 1,
198
+ widget: {
199
+ type: "Control",
200
+ scope: "#/properties/CopyEvent",
201
+ options: {
202
+ widget: "IconButton",
203
+ },
204
+ config: {
205
+ main: {
206
+ icon: "FileCopyIcon",
207
+ // color: "error",
208
+ onClick: "CopyEvent",
209
+ styleDefault: true,
210
+ },
211
+ },
212
+ },
213
+ },
169
214
  ]
170
215
  // }]
171
216
  }