impaktapps-ui-builder 1.0.173 → 1.0.180
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 +756 -90
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +11 -11
- 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/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/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/graph.d.ts +50 -4
- 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 +1 -1
- package/dist/src/impaktapps-ui-builder/runtime/services/service.d.ts +2 -0
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildAreaGraph.ts +66 -0
- package/src/impaktapps-ui-builder/builder/build/buildArray.ts +10 -6
- package/src/impaktapps-ui-builder/builder/build/buildCamera.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildConfig.ts +19 -7
- package/src/impaktapps-ui-builder/builder/build/buildDate.ts +26 -22
- package/src/impaktapps-ui-builder/builder/build/buildFileInput.ts +42 -49
- package/src/impaktapps-ui-builder/builder/build/buildGroupButton.ts +24 -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 +3 -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/buildSelect.ts +3 -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 +0 -3
- package/src/impaktapps-ui-builder/builder/build/buildText.ts +3 -0
- package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +33 -0
- package/src/impaktapps-ui-builder/builder/build/buildWrapperSection.ts +7 -3
- package/src/impaktapps-ui-builder/builder/build/uischema/box.ts +2 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +172 -16
- package/src/impaktapps-ui-builder/builder/build/uischema/buttonGroup.ts +17 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +0 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/graph.ts +37 -4
- 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 +80 -1
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +17 -0
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.ts +2 -3
- package/src/impaktapps-ui-builder/builder/services/component.ts +144 -109
- package/src/impaktapps-ui-builder/builder/services/event.ts +3 -3
- package/src/impaktapps-ui-builder/builder/services/pageMaster.ts +4 -4
- package/src/impaktapps-ui-builder/builder/services/utils.ts +1 -1
- package/src/impaktapps-ui-builder/runtime/services/service.ts +26 -4
|
@@ -7,6 +7,7 @@ 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" },
|
|
12
13
|
{ title: "Camera", const: "Camera" },
|
|
@@ -25,8 +26,10 @@ export const ComponentSchema: any = {
|
|
|
25
26
|
{ title: "Label", const: "Box" },
|
|
26
27
|
{ title: "Leaderboard", const: "LeaderBoard" },
|
|
27
28
|
{ title: "Multi-Select Dropdown", const: "MultipleSelect" },
|
|
29
|
+
{ title: "OTP_Input", const: "OTP_Input" },
|
|
28
30
|
{ title: "Pan Card Masked", const: "PanCardText" },
|
|
29
31
|
{ title: "Pop Up", const: "PopUp" },
|
|
32
|
+
{ title: "Pop Over", const: "PopOver" },
|
|
30
33
|
{ title: "Progress Bar", const: "ProgressBar" },
|
|
31
34
|
{ title: "Progress Bar Card", const: "ProgressBarCard" },
|
|
32
35
|
{ title: "Dropdown", const: "Select" },
|
|
@@ -36,6 +39,7 @@ export const ComponentSchema: any = {
|
|
|
36
39
|
{ title: "Radio", const: "Radio" },
|
|
37
40
|
{ title: "Rank", const: "Rank" },
|
|
38
41
|
{ title: "Rank Card", const: "RankCard" },
|
|
42
|
+
{ title: "Metric Card", const: "MetricCard" },
|
|
39
43
|
{ title: "Runner Boy", const: "RunnerBoyProgressBar" },
|
|
40
44
|
{ title: "Table", const: "Table" },
|
|
41
45
|
{ title: "Tabs", const: "TabSection" },
|
|
@@ -45,6 +49,7 @@ export const ComponentSchema: any = {
|
|
|
45
49
|
{ title: "Upload", const: "UploadFile" },
|
|
46
50
|
{ title: "Tree ", const: "TreeMap" },
|
|
47
51
|
{ title: "Thought of the day", const: "Thought" },
|
|
52
|
+
{ title: "PDF", const: "PdfViewer" }
|
|
48
53
|
],
|
|
49
54
|
},
|
|
50
55
|
elementType: {
|
|
@@ -98,7 +103,35 @@ export const ComponentSchema: any = {
|
|
|
98
103
|
{ title: "Standard", const: "standard" },
|
|
99
104
|
],
|
|
100
105
|
},
|
|
101
|
-
|
|
106
|
+
positionVertical: {
|
|
107
|
+
oneOf: [
|
|
108
|
+
{ title: "Top", const: "top" },
|
|
109
|
+
{ title: "Center", const: "center" },
|
|
110
|
+
{ title: "Bottom", const: "bottom" }
|
|
111
|
+
],
|
|
112
|
+
},
|
|
113
|
+
positionHorizontal: {
|
|
114
|
+
oneOf: [
|
|
115
|
+
{ title: "Left", const: "left" },
|
|
116
|
+
{ title: "Center", const: "center" },
|
|
117
|
+
{ title: "Right", const: "right" }
|
|
118
|
+
],
|
|
119
|
+
},
|
|
120
|
+
contentVertical: {
|
|
121
|
+
oneOf: [
|
|
122
|
+
{ title: "Top", const: "top" },
|
|
123
|
+
{ title: "Center", const: "center" },
|
|
124
|
+
{ title: "Bottom", const: "bottom" }
|
|
125
|
+
],
|
|
126
|
+
},
|
|
127
|
+
contentHorizontal: {
|
|
128
|
+
oneOf: [
|
|
129
|
+
{ title: "Left", const: "left" },
|
|
130
|
+
{ title: "Center", const: "center" },
|
|
131
|
+
{ title: "Right", const: "right" }
|
|
132
|
+
],
|
|
133
|
+
},
|
|
134
|
+
toolTipPosition: {
|
|
102
135
|
oneOf: [
|
|
103
136
|
{ title: "Top", const: "top" },
|
|
104
137
|
{ title: "Left", const: "left" },
|
|
@@ -106,6 +139,12 @@ export const ComponentSchema: any = {
|
|
|
106
139
|
{ title: "Bottom", const: "bottom" }
|
|
107
140
|
],
|
|
108
141
|
},
|
|
142
|
+
growthRate: {
|
|
143
|
+
oneOf: [
|
|
144
|
+
{ title: "Positive", const: "positive" },
|
|
145
|
+
{ title: "Negative", const: "negative" }
|
|
146
|
+
],
|
|
147
|
+
},
|
|
109
148
|
orientation: {
|
|
110
149
|
oneOf: [
|
|
111
150
|
{ title: "Horizontal", const: "horizontal" },
|
|
@@ -140,6 +179,21 @@ export const ComponentSchema: any = {
|
|
|
140
179
|
{ title: "Spacious", const: "spacious" },
|
|
141
180
|
],
|
|
142
181
|
},
|
|
182
|
+
xAxisFormatType: {
|
|
183
|
+
type: "string",
|
|
184
|
+
oneOf: [
|
|
185
|
+
{ title: "Date and Month", const: "Date and Month" },
|
|
186
|
+
{ title: "Month and Year", const: "Month and Year" }
|
|
187
|
+
],
|
|
188
|
+
},
|
|
189
|
+
xAxisType: {
|
|
190
|
+
type: "string",
|
|
191
|
+
oneOf: [
|
|
192
|
+
{ title: "Date", const: "date" },
|
|
193
|
+
{ title: "String", const: "string" },
|
|
194
|
+
{ title: "Number", const: "number" }
|
|
195
|
+
],
|
|
196
|
+
},
|
|
143
197
|
layout: {
|
|
144
198
|
type: "array",
|
|
145
199
|
items: {
|
|
@@ -290,6 +344,9 @@ export const ComponentSchema: any = {
|
|
|
290
344
|
items: {
|
|
291
345
|
type: "object",
|
|
292
346
|
properties: {
|
|
347
|
+
key: {
|
|
348
|
+
type: "string",
|
|
349
|
+
},
|
|
293
350
|
label: {
|
|
294
351
|
type: "string",
|
|
295
352
|
},
|
|
@@ -301,12 +358,26 @@ export const ComponentSchema: any = {
|
|
|
301
358
|
items: {
|
|
302
359
|
type: "object",
|
|
303
360
|
properties: {
|
|
361
|
+
key: {
|
|
362
|
+
type: "string",
|
|
363
|
+
},
|
|
304
364
|
label: {
|
|
305
365
|
type: "string",
|
|
306
366
|
},
|
|
307
367
|
},
|
|
308
368
|
},
|
|
309
369
|
},
|
|
370
|
+
tabIcons: {
|
|
371
|
+
type: "array",
|
|
372
|
+
items: {
|
|
373
|
+
type: "object",
|
|
374
|
+
properties: {
|
|
375
|
+
url: {
|
|
376
|
+
type: "string",
|
|
377
|
+
},
|
|
378
|
+
},
|
|
379
|
+
},
|
|
380
|
+
},
|
|
310
381
|
InputFormatingAndMasking: {
|
|
311
382
|
type: "array",
|
|
312
383
|
items: {
|
|
@@ -369,6 +440,8 @@ export const ComponentSchema: any = {
|
|
|
369
440
|
title: "Stack Horizontal Bar Graph",
|
|
370
441
|
const: "HorizontalStackBarGraph",
|
|
371
442
|
},
|
|
443
|
+
{ title: "Area Graph", const: "AreaGraph" },
|
|
444
|
+
{ title: "StackBar And Line Graph", const: "StackBarLineGraph" },
|
|
372
445
|
],
|
|
373
446
|
},
|
|
374
447
|
iconName: {
|
|
@@ -404,6 +477,7 @@ export const ComponentSchema: any = {
|
|
|
404
477
|
{ title: "Drafts Icon", const: "DraftsIcon" },
|
|
405
478
|
{ title: "Perm Phone Msg Icon", const: "PermPhoneMsgIcon" },
|
|
406
479
|
{ title: "Paste Icon", const: "PasteIcon" },
|
|
480
|
+
{ title: "Calendar", const: "Calendar" },
|
|
407
481
|
{ title: "Prev Icon", const: "PrevIcon" },
|
|
408
482
|
{ title: "Verified Icon", const: "VerifiedIcon" },
|
|
409
483
|
{ title: "Table Add Icon", const: "TableAddIcon" },
|
|
@@ -421,6 +495,11 @@ export const ComponentSchema: any = {
|
|
|
421
495
|
{ title: "Detail Icon", const: "DetailIcon" },
|
|
422
496
|
{ title: "Report View Icon", const: "ReportViewIcon" },
|
|
423
497
|
{ title: "Payout", const: "Payout" },
|
|
498
|
+
{ title: "Info Outlined", const: "InfoOutlinedIcon" },
|
|
499
|
+
{ title: "Territory Add", const: "TerritoryAdd" },
|
|
500
|
+
{ title: "Territory Edit", const: "TerritoryEdit" },
|
|
501
|
+
{ title: "Territory Delete", const: "TerritoryDelete" },
|
|
502
|
+
{ title: "Git Compare", const: "GitCompare" },
|
|
424
503
|
],
|
|
425
504
|
},
|
|
426
505
|
color: {
|
|
@@ -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,8 +53,9 @@ 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
|
-
|
|
58
|
+
{ title: "Set Style", const: "setStyle" },
|
|
60
59
|
|
|
61
60
|
]
|
|
62
61
|
},
|