impaktapps-ui-builder 1.0.201 → 1.0.202

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.
Files changed (80) hide show
  1. package/dist/impaktapps-ui-builder.es.js +1103 -298
  2. package/dist/impaktapps-ui-builder.es.js.map +1 -1
  3. package/dist/impaktapps-ui-builder.umd.js +13 -13
  4. package/dist/impaktapps-ui-builder.umd.js.map +1 -1
  5. package/dist/src/impaktapps-ui-builder/builder/build/buildAreaGraph.d.ts +2 -0
  6. package/dist/src/impaktapps-ui-builder/builder/build/buildCamera.d.ts +1 -0
  7. package/dist/src/impaktapps-ui-builder/builder/build/buildConfig.d.ts +1 -0
  8. package/dist/src/impaktapps-ui-builder/builder/build/buildGroupButton.d.ts +1 -0
  9. package/dist/src/impaktapps-ui-builder/builder/build/buildHierarchyChart.d.ts +1 -0
  10. package/dist/src/impaktapps-ui-builder/builder/build/buildOTP_inputs.d.ts +1 -0
  11. package/dist/src/impaktapps-ui-builder/builder/build/buildPdfViewer.d.ts +1 -0
  12. package/dist/src/impaktapps-ui-builder/builder/build/buildPopover.d.ts +1 -0
  13. package/dist/src/impaktapps-ui-builder/builder/build/buildStackBarLineGraph.d.ts +2 -0
  14. package/dist/src/impaktapps-ui-builder/builder/build/uischema/box.d.ts +1 -0
  15. package/dist/src/impaktapps-ui-builder/builder/build/uischema/buttonGroup.d.ts +22 -0
  16. package/dist/src/impaktapps-ui-builder/builder/build/uischema/card.d.ts +173 -197
  17. package/dist/src/impaktapps-ui-builder/builder/build/uischema/graph.d.ts +25 -5
  18. package/dist/src/impaktapps-ui-builder/builder/build/uischema/hierarchyChart.d.ts +22 -0
  19. package/dist/src/impaktapps-ui-builder/builder/build/uischema/multiSelect.d.ts +1 -0
  20. package/dist/src/impaktapps-ui-builder/builder/build/uischema/pdfViewer.d.ts +19 -0
  21. package/dist/src/impaktapps-ui-builder/builder/build/uischema/selectInputField.d.ts +1 -0
  22. package/dist/src/impaktapps-ui-builder/builder/build/uischema/tableSection.d.ts +1 -1
  23. package/dist/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.d.ts +3 -1
  24. package/dist/src/impaktapps-ui-builder/builder/services/utils.d.ts +2 -1
  25. package/dist/src/impaktapps-ui-builder/runtime/services/service.d.ts +3 -0
  26. package/package.json +1 -1
  27. package/src/impaktapps-ui-builder/builder/build/buildAreaGraph.ts +22 -14
  28. package/src/impaktapps-ui-builder/builder/build/buildArray.ts +10 -6
  29. package/src/impaktapps-ui-builder/builder/build/buildCamera.ts +50 -0
  30. package/src/impaktapps-ui-builder/builder/build/buildCard.ts +10 -10
  31. package/src/impaktapps-ui-builder/builder/build/buildConfig.ts +19 -7
  32. package/src/impaktapps-ui-builder/builder/build/buildDate.ts +32 -16
  33. package/src/impaktapps-ui-builder/builder/build/buildDownloadFile.ts +6 -0
  34. package/src/impaktapps-ui-builder/builder/build/buildEmptyBox.ts +4 -0
  35. package/src/impaktapps-ui-builder/builder/build/buildFileInput.ts +42 -43
  36. package/src/impaktapps-ui-builder/builder/build/buildGroupButton.ts +24 -0
  37. package/src/impaktapps-ui-builder/builder/build/buildHierarchyChart.ts +35 -0
  38. package/src/impaktapps-ui-builder/builder/build/buildHorizontalBarGraph.ts +3 -3
  39. package/src/impaktapps-ui-builder/builder/build/buildImage.ts +6 -3
  40. package/src/impaktapps-ui-builder/builder/build/buildLineGraph.ts +3 -3
  41. package/src/impaktapps-ui-builder/builder/build/buildMetricCard.tsx +2 -2
  42. package/src/impaktapps-ui-builder/builder/build/buildMultiSelect.ts +9 -0
  43. package/src/impaktapps-ui-builder/builder/build/buildOTP_inputs.ts +44 -0
  44. package/src/impaktapps-ui-builder/builder/build/buildPdfViewer.ts +16 -0
  45. package/src/impaktapps-ui-builder/builder/build/buildPieGraph.ts +3 -3
  46. package/src/impaktapps-ui-builder/builder/build/buildPop.ts +1 -0
  47. package/src/impaktapps-ui-builder/builder/build/buildPopover.ts +40 -0
  48. package/src/impaktapps-ui-builder/builder/build/buildProgressBar.ts +31 -21
  49. package/src/impaktapps-ui-builder/builder/build/buildRadio.ts +6 -0
  50. package/src/impaktapps-ui-builder/builder/build/buildSelect.ts +9 -0
  51. package/src/impaktapps-ui-builder/builder/build/buildStackBarGraph.ts +3 -3
  52. package/src/impaktapps-ui-builder/builder/build/buildStackBarLineGraph.ts +72 -0
  53. package/src/impaktapps-ui-builder/builder/build/buildTabSection.ts +2 -0
  54. package/src/impaktapps-ui-builder/builder/build/buildTable.ts +4 -3
  55. package/src/impaktapps-ui-builder/builder/build/buildText.ts +9 -0
  56. package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +37 -0
  57. package/src/impaktapps-ui-builder/builder/build/buildUplaodFile.ts +6 -0
  58. package/src/impaktapps-ui-builder/builder/build/buildWrapperSection.ts +7 -2
  59. package/src/impaktapps-ui-builder/builder/build/uischema/box.ts +2 -1
  60. package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +237 -22
  61. package/src/impaktapps-ui-builder/builder/build/uischema/buttonGroup.ts +17 -0
  62. package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +142 -188
  63. package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +0 -1
  64. package/src/impaktapps-ui-builder/builder/build/uischema/graph.ts +22 -6
  65. package/src/impaktapps-ui-builder/builder/build/uischema/hierarchyChart.ts +13 -0
  66. package/src/impaktapps-ui-builder/builder/build/uischema/metricCard.ts +1 -1
  67. package/src/impaktapps-ui-builder/builder/build/uischema/multiSelect.ts +2 -0
  68. package/src/impaktapps-ui-builder/builder/build/uischema/pdfViewer.ts +18 -0
  69. package/src/impaktapps-ui-builder/builder/build/uischema/selectInputField.ts +2 -0
  70. package/src/impaktapps-ui-builder/builder/build/uischema/tableSection.ts +5 -6
  71. package/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.ts +3 -1
  72. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +89 -2
  73. package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +17 -0
  74. package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.ts +3 -4
  75. package/src/impaktapps-ui-builder/builder/services/component.ts +149 -107
  76. package/src/impaktapps-ui-builder/builder/services/event.ts +3 -0
  77. package/src/impaktapps-ui-builder/builder/services/pageMaster.ts +4 -1
  78. package/src/impaktapps-ui-builder/builder/services/utils.ts +15 -3
  79. package/src/impaktapps-ui-builder/runtime/services/downloadFile.ts +6 -7
  80. package/src/impaktapps-ui-builder/runtime/services/service.ts +34 -5
@@ -7,8 +7,11 @@ export const ComponentSchema: any = {
7
7
  { title: "Masked Aadhar Card", const: "AadharcardText" },
8
8
  { title: "Array", const: "Array" },
9
9
  { title: "Button", const: "Button" },
10
+ { title: "ButtonGroup", const: "ButtonGroup" },
10
11
  { title: "Data Card", const: "card" },
11
12
  { title: "Check Box", const: "CheckBox" },
13
+ { title: "Camera", const: "Camera" },
14
+ { title: "Column Group", const: "ColumnGroup" },
12
15
  { title: "Container", const: "WrapperSection" },
13
16
  { title: "Tab Container", const: "HorizontalLayout" },
14
17
  { title: "Data Grid", const: "DataGrid" },
@@ -23,8 +26,10 @@ export const ComponentSchema: any = {
23
26
  { title: "Label", const: "Box" },
24
27
  { title: "Leaderboard", const: "LeaderBoard" },
25
28
  { title: "Multi-Select Dropdown", const: "MultipleSelect" },
29
+ { title: "OTP_Input", const: "OTP_Input" },
26
30
  { title: "Pan Card Masked", const: "PanCardText" },
27
31
  { title: "Pop Up", const: "PopUp" },
32
+ { title: "Pop Over", const: "PopOver" },
28
33
  { title: "Progress Bar", const: "ProgressBar" },
29
34
  { title: "Progress Bar Card", const: "ProgressBarCard" },
30
35
  { title: "Dropdown", const: "Select" },
@@ -35,6 +40,7 @@ export const ComponentSchema: any = {
35
40
  { title: "Rank", const: "Rank" },
36
41
  { title: "Rank Card", const: "RankCard" },
37
42
  { title: "Metric Card", const: "MetricCard" },
43
+ { title: "Hierarchy Chart", const: "HierarchyChart" },
38
44
  { title: "Runner Boy", const: "RunnerBoyProgressBar" },
39
45
  { title: "Table", const: "Table" },
40
46
  { title: "Tabs", const: "TabSection" },
@@ -43,8 +49,8 @@ export const ComponentSchema: any = {
43
49
  { title: "Timer", const: "Timer" },
44
50
  { title: "Upload", const: "UploadFile" },
45
51
  { title: "Tree ", const: "TreeMap" },
46
- { title: "Column Group", const: "ColumnGroup" },
47
52
  { title: "Thought of the day", const: "Thought" },
53
+ { title: "PDF", const: "PdfViewer" }
48
54
  ],
49
55
  },
50
56
  elementType: {
@@ -98,6 +104,49 @@ export const ComponentSchema: any = {
98
104
  { title: "Standard", const: "standard" },
99
105
  ],
100
106
  },
107
+ linkType:{
108
+ oneOf:[
109
+ { title: "Step", const: "step" },
110
+ { title: "Diagonal", const: "diagonal" },
111
+ { title: "Line", const: "line" },
112
+ ]
113
+ },
114
+ positionVertical:{
115
+ oneOf: [
116
+ { title: "Top", const: "top" },
117
+ { title: "Center", const: "center" },
118
+ { title: "Bottom", const: "bottom" }
119
+ ],
120
+ },
121
+ positionHorizontal: {
122
+ oneOf: [
123
+ { title: "Left", const: "left" },
124
+ { title: "Center", const: "center" },
125
+ { title: "Right", const: "right" }
126
+ ],
127
+ },
128
+ contentVertical: {
129
+ oneOf: [
130
+ { title: "Top", const: "top" },
131
+ { title: "Center", const: "center" },
132
+ { title: "Bottom", const: "bottom" }
133
+ ],
134
+ },
135
+ contentHorizontal: {
136
+ oneOf: [
137
+ { title: "Left", const: "left" },
138
+ { title: "Center", const: "center" },
139
+ { title: "Right", const: "right" }
140
+ ],
141
+ },
142
+ toolTipPosition: {
143
+ oneOf: [
144
+ { title: "Top", const: "top" },
145
+ { title: "Left", const: "left" },
146
+ { title: "Right", const: "right" },
147
+ { title: "Bottom", const: "bottom" }
148
+ ],
149
+ },
101
150
  growthRate: {
102
151
  oneOf: [
103
152
  { title: "Positive", const: "positive" },
@@ -138,6 +187,21 @@ export const ComponentSchema: any = {
138
187
  { title: "Spacious", const: "spacious" },
139
188
  ],
140
189
  },
190
+ xAxisFormatType: {
191
+ type: "string",
192
+ oneOf: [
193
+ { title: "Date and Month", const: "Date and Month" },
194
+ { title: "Month and Year", const: "Month and Year" }
195
+ ],
196
+ },
197
+ xAxisType: {
198
+ type: "string",
199
+ oneOf: [
200
+ { title: "Date", const: "date" },
201
+ { title: "String", const: "string" },
202
+ { title: "Number", const: "number" }
203
+ ],
204
+ },
141
205
  layout: {
142
206
  type: "array",
143
207
  items: {
@@ -288,6 +352,9 @@ export const ComponentSchema: any = {
288
352
  items: {
289
353
  type: "object",
290
354
  properties: {
355
+ key: {
356
+ type: "string",
357
+ },
291
358
  label: {
292
359
  type: "string",
293
360
  },
@@ -299,12 +366,26 @@ export const ComponentSchema: any = {
299
366
  items: {
300
367
  type: "object",
301
368
  properties: {
369
+ key: {
370
+ type: "string",
371
+ },
302
372
  label: {
303
373
  type: "string",
304
374
  },
305
375
  },
306
376
  },
307
377
  },
378
+ tabIcons: {
379
+ type: "array",
380
+ items: {
381
+ type: "object",
382
+ properties: {
383
+ url: {
384
+ type: "string",
385
+ },
386
+ },
387
+ },
388
+ },
308
389
  InputFormatingAndMasking: {
309
390
  type: "array",
310
391
  items: {
@@ -368,6 +449,7 @@ export const ComponentSchema: any = {
368
449
  const: "HorizontalStackBarGraph",
369
450
  },
370
451
  { title: "Area Graph", const: "AreaGraph" },
452
+ { title: "StackBar And Line Graph", const: "StackBarLineGraph" },
371
453
  ],
372
454
  },
373
455
  iconName: {
@@ -403,6 +485,7 @@ export const ComponentSchema: any = {
403
485
  { title: "Drafts Icon", const: "DraftsIcon" },
404
486
  { title: "Perm Phone Msg Icon", const: "PermPhoneMsgIcon" },
405
487
  { title: "Paste Icon", const: "PasteIcon" },
488
+ { title: "Calendar", const: "Calendar" },
406
489
  { title: "Prev Icon", const: "PrevIcon" },
407
490
  { title: "Verified Icon", const: "VerifiedIcon" },
408
491
  { title: "Table Add Icon", const: "TableAddIcon" },
@@ -420,6 +503,11 @@ export const ComponentSchema: any = {
420
503
  { title: "Detail Icon", const: "DetailIcon" },
421
504
  { title: "Report View Icon", const: "ReportViewIcon" },
422
505
  { title: "Payout", const: "Payout" },
506
+ { title: "Info Outlined", const: "InfoOutlinedIcon" },
507
+ { title: "Territory Add", const: "TerritoryAdd" },
508
+ { title: "Territory Edit", const: "TerritoryEdit" },
509
+ { title: "Territory Delete", const: "TerritoryDelete" },
510
+ { title: "Git Compare", const: "GitCompare" },
423
511
  ],
424
512
  },
425
513
  color: {
@@ -443,6 +531,5 @@ export const ComponentSchema: any = {
443
531
  disabled: true,
444
532
  },
445
533
  },
446
-
447
534
  required: ["name"],
448
535
  };
@@ -49,6 +49,23 @@ export const PageMasterUiSchema: any = (theme) => {
49
49
  required: true,
50
50
  },
51
51
  },
52
+ },
53
+ {
54
+ type: "Control",
55
+ scope: "#/properties/pageIconUrl",
56
+
57
+ options: {
58
+ widget: "InputField",
59
+ },
60
+ config: {
61
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
62
+ main: {
63
+ label: "Page Icon URL",
64
+ options: [],
65
+ color: "secondary",
66
+ required: true,
67
+ },
68
+ },
52
69
  },
53
70
  {
54
71
  type: "Control",
@@ -1,5 +1,3 @@
1
- import { title } from "process";
2
-
3
1
  export const EventSchema = {
4
2
  type: "object",
5
3
  properties: {
@@ -55,9 +53,10 @@ export const EventSchema = {
55
53
  { title: "Row Movement", const: "onRowMovement" },
56
54
  { title: "Download", const: "onDownload" },
57
55
  { title: "Fail", const: "Fail" },
56
+ { title: "onClose", const: "onClose" },
58
57
  { title: "Key Down", const: "onKeyDown" },
59
-
60
-
58
+ { title: "Set Style", const: "setStyle" },
59
+ { title: "Expand Node", const: "onNodeExpandChange" },
61
60
  ]
62
61
  },
63
62
  Handler: {