impaktapps-ui-builder 1.0.200 → 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.
- package/dist/impaktapps-ui-builder.es.js +1125 -525
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +13 -13
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/buildAreaGraph.d.ts +2 -0
- package/dist/src/impaktapps-ui-builder/builder/build/buildCamera.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/buildConfig.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/buildGroupButton.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/buildHierarchyChart.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/buildMetricCard.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/buildOTP_inputs.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/buildPdfViewer.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/buildPopover.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/buildStackBarLineGraph.d.ts +2 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/box.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/buttonGroup.d.ts +22 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/card.d.ts +173 -197
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/graph.d.ts +25 -5
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/hierarchyChart.d.ts +22 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/metricCard.d.ts +17 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/multiSelect.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/pdfViewer.d.ts +19 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/selectInputField.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/tableSection.d.ts +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.d.ts +3 -1
- package/dist/src/impaktapps-ui-builder/builder/services/utils.d.ts +2 -1
- package/dist/src/impaktapps-ui-builder/runtime/services/service.d.ts +3 -0
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildAreaGraph.ts +22 -14
- package/src/impaktapps-ui-builder/builder/build/buildArray.ts +10 -6
- package/src/impaktapps-ui-builder/builder/build/buildCamera.ts +50 -0
- package/src/impaktapps-ui-builder/builder/build/buildCard.ts +10 -10
- package/src/impaktapps-ui-builder/builder/build/buildConfig.ts +19 -7
- package/src/impaktapps-ui-builder/builder/build/buildDate.ts +32 -16
- package/src/impaktapps-ui-builder/builder/build/buildDownloadFile.ts +6 -0
- package/src/impaktapps-ui-builder/builder/build/buildEmptyBox.ts +4 -0
- package/src/impaktapps-ui-builder/builder/build/buildFileInput.ts +42 -43
- package/src/impaktapps-ui-builder/builder/build/buildGroupButton.ts +24 -0
- package/src/impaktapps-ui-builder/builder/build/buildHierarchyChart.ts +35 -0
- package/src/impaktapps-ui-builder/builder/build/buildHorizontalBarGraph.ts +3 -3
- package/src/impaktapps-ui-builder/builder/build/buildImage.ts +6 -3
- package/src/impaktapps-ui-builder/builder/build/buildLineGraph.ts +3 -3
- package/src/impaktapps-ui-builder/builder/build/buildMetricCard.tsx +37 -0
- package/src/impaktapps-ui-builder/builder/build/buildMultiSelect.ts +9 -0
- package/src/impaktapps-ui-builder/builder/build/buildOTP_inputs.ts +44 -0
- package/src/impaktapps-ui-builder/builder/build/buildPdfViewer.ts +16 -0
- package/src/impaktapps-ui-builder/builder/build/buildPieGraph.ts +3 -3
- package/src/impaktapps-ui-builder/builder/build/buildPop.ts +1 -0
- package/src/impaktapps-ui-builder/builder/build/buildPopover.ts +40 -0
- package/src/impaktapps-ui-builder/builder/build/buildProgressBar.ts +31 -21
- package/src/impaktapps-ui-builder/builder/build/buildRadio.ts +6 -0
- package/src/impaktapps-ui-builder/builder/build/buildSelect.ts +9 -0
- package/src/impaktapps-ui-builder/builder/build/buildStackBarGraph.ts +3 -3
- package/src/impaktapps-ui-builder/builder/build/buildStackBarLineGraph.ts +72 -0
- package/src/impaktapps-ui-builder/builder/build/buildTabSection.ts +2 -0
- package/src/impaktapps-ui-builder/builder/build/buildTable.ts +4 -3
- package/src/impaktapps-ui-builder/builder/build/buildText.ts +9 -0
- package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +41 -3
- package/src/impaktapps-ui-builder/builder/build/buildUplaodFile.ts +6 -0
- package/src/impaktapps-ui-builder/builder/build/buildWrapperSection.ts +7 -2
- package/src/impaktapps-ui-builder/builder/build/uischema/box.ts +2 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +242 -25
- package/src/impaktapps-ui-builder/builder/build/uischema/buttonGroup.ts +17 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +142 -188
- package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +0 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/graph.ts +22 -6
- package/src/impaktapps-ui-builder/builder/build/uischema/hierarchyChart.ts +13 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/metricCard.ts +13 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/multiSelect.ts +2 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/pdfViewer.ts +18 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/selectInputField.ts +2 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/tableSection.ts +5 -6
- package/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.ts +3 -1
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +96 -2
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +17 -0
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.ts +3 -4
- package/src/impaktapps-ui-builder/builder/services/component.ts +150 -107
- package/src/impaktapps-ui-builder/builder/services/event.ts +3 -0
- package/src/impaktapps-ui-builder/builder/services/pageMaster.ts +4 -1
- package/src/impaktapps-ui-builder/builder/services/utils.ts +15 -3
- package/src/impaktapps-ui-builder/runtime/services/downloadFile.ts +6 -7
- package/src/impaktapps-ui-builder/runtime/services/service.ts +34 -5
- package/dist/src/impaktapps-ui-builder/builder/build/buildDataCard.d.ts +0 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/dataCard.d.ts +0 -320
- package/src/impaktapps-ui-builder/builder/build/buildDataCard.tsx +0 -44
- package/src/impaktapps-ui-builder/builder/build/uischema/dataCard.ts +0 -207
|
@@ -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" },
|
|
@@ -34,6 +39,8 @@ export const ComponentSchema: any = {
|
|
|
34
39
|
{ title: "Radio", const: "Radio" },
|
|
35
40
|
{ title: "Rank", const: "Rank" },
|
|
36
41
|
{ title: "Rank Card", const: "RankCard" },
|
|
42
|
+
{ title: "Metric Card", const: "MetricCard" },
|
|
43
|
+
{ title: "Hierarchy Chart", const: "HierarchyChart" },
|
|
37
44
|
{ title: "Runner Boy", const: "RunnerBoyProgressBar" },
|
|
38
45
|
{ title: "Table", const: "Table" },
|
|
39
46
|
{ title: "Tabs", const: "TabSection" },
|
|
@@ -42,8 +49,8 @@ export const ComponentSchema: any = {
|
|
|
42
49
|
{ title: "Timer", const: "Timer" },
|
|
43
50
|
{ title: "Upload", const: "UploadFile" },
|
|
44
51
|
{ title: "Tree ", const: "TreeMap" },
|
|
45
|
-
{ title: "Column Group", const: "ColumnGroup" },
|
|
46
52
|
{ title: "Thought of the day", const: "Thought" },
|
|
53
|
+
{ title: "PDF", const: "PdfViewer" }
|
|
47
54
|
],
|
|
48
55
|
},
|
|
49
56
|
elementType: {
|
|
@@ -97,6 +104,55 @@ export const ComponentSchema: any = {
|
|
|
97
104
|
{ title: "Standard", const: "standard" },
|
|
98
105
|
],
|
|
99
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
|
+
},
|
|
150
|
+
growthRate: {
|
|
151
|
+
oneOf: [
|
|
152
|
+
{ title: "Positive", const: "positive" },
|
|
153
|
+
{ title: "Negative", const: "negative" }
|
|
154
|
+
],
|
|
155
|
+
},
|
|
100
156
|
orientation: {
|
|
101
157
|
oneOf: [
|
|
102
158
|
{ title: "Horizontal", const: "horizontal" },
|
|
@@ -131,6 +187,21 @@ export const ComponentSchema: any = {
|
|
|
131
187
|
{ title: "Spacious", const: "spacious" },
|
|
132
188
|
],
|
|
133
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
|
+
},
|
|
134
205
|
layout: {
|
|
135
206
|
type: "array",
|
|
136
207
|
items: {
|
|
@@ -281,6 +352,9 @@ export const ComponentSchema: any = {
|
|
|
281
352
|
items: {
|
|
282
353
|
type: "object",
|
|
283
354
|
properties: {
|
|
355
|
+
key: {
|
|
356
|
+
type: "string",
|
|
357
|
+
},
|
|
284
358
|
label: {
|
|
285
359
|
type: "string",
|
|
286
360
|
},
|
|
@@ -292,12 +366,26 @@ export const ComponentSchema: any = {
|
|
|
292
366
|
items: {
|
|
293
367
|
type: "object",
|
|
294
368
|
properties: {
|
|
369
|
+
key: {
|
|
370
|
+
type: "string",
|
|
371
|
+
},
|
|
295
372
|
label: {
|
|
296
373
|
type: "string",
|
|
297
374
|
},
|
|
298
375
|
},
|
|
299
376
|
},
|
|
300
377
|
},
|
|
378
|
+
tabIcons: {
|
|
379
|
+
type: "array",
|
|
380
|
+
items: {
|
|
381
|
+
type: "object",
|
|
382
|
+
properties: {
|
|
383
|
+
url: {
|
|
384
|
+
type: "string",
|
|
385
|
+
},
|
|
386
|
+
},
|
|
387
|
+
},
|
|
388
|
+
},
|
|
301
389
|
InputFormatingAndMasking: {
|
|
302
390
|
type: "array",
|
|
303
391
|
items: {
|
|
@@ -361,6 +449,7 @@ export const ComponentSchema: any = {
|
|
|
361
449
|
const: "HorizontalStackBarGraph",
|
|
362
450
|
},
|
|
363
451
|
{ title: "Area Graph", const: "AreaGraph" },
|
|
452
|
+
{ title: "StackBar And Line Graph", const: "StackBarLineGraph" },
|
|
364
453
|
],
|
|
365
454
|
},
|
|
366
455
|
iconName: {
|
|
@@ -396,6 +485,7 @@ export const ComponentSchema: any = {
|
|
|
396
485
|
{ title: "Drafts Icon", const: "DraftsIcon" },
|
|
397
486
|
{ title: "Perm Phone Msg Icon", const: "PermPhoneMsgIcon" },
|
|
398
487
|
{ title: "Paste Icon", const: "PasteIcon" },
|
|
488
|
+
{ title: "Calendar", const: "Calendar" },
|
|
399
489
|
{ title: "Prev Icon", const: "PrevIcon" },
|
|
400
490
|
{ title: "Verified Icon", const: "VerifiedIcon" },
|
|
401
491
|
{ title: "Table Add Icon", const: "TableAddIcon" },
|
|
@@ -413,6 +503,11 @@ export const ComponentSchema: any = {
|
|
|
413
503
|
{ title: "Detail Icon", const: "DetailIcon" },
|
|
414
504
|
{ title: "Report View Icon", const: "ReportViewIcon" },
|
|
415
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" },
|
|
416
511
|
],
|
|
417
512
|
},
|
|
418
513
|
color: {
|
|
@@ -436,6 +531,5 @@ export const ComponentSchema: any = {
|
|
|
436
531
|
disabled: true,
|
|
437
532
|
},
|
|
438
533
|
},
|
|
439
|
-
|
|
440
534
|
required: ["name"],
|
|
441
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: {
|