impaktapps-ui-builder 1.0.280 → 1.0.300
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 +140 -92
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +12 -12
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- 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/graph.d.ts +25 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.d.ts +3 -1
- package/dist/src/impaktapps-ui-builder/runtime/services/service.d.ts +0 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildAreaGraph.ts +2 -2
- 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/buildFileInput.ts +3 -0
- package/src/impaktapps-ui-builder/builder/build/buildImage.ts +6 -3
- package/src/impaktapps-ui-builder/builder/build/buildStackBarLineGraph.ts +66 -0
- package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +4 -4
- 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 +26 -23
- package/src/impaktapps-ui-builder/builder/build/uischema/graph.ts +16 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.ts +3 -1
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +1 -8
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +17 -0
- package/src/impaktapps-ui-builder/builder/services/component.ts +102 -103
- package/src/impaktapps-ui-builder/runtime/services/service.ts +1 -8
- package/dist/src/impaktapps-ui-builder/builder/build/buildHierarchyChart.d.ts +0 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/hierarchyChart.d.ts +0 -22
- package/src/impaktapps-ui-builder/builder/build/buildHierarchyChart.ts +0 -38
- package/src/impaktapps-ui-builder/builder/build/uischema/hierarchyChart.ts +0 -13
|
@@ -123,3 +123,28 @@ export declare const AreaBarGraph: {
|
|
|
123
123
|
};
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
+
export declare const StackBarLineG: {
|
|
127
|
+
type: string;
|
|
128
|
+
scope: string;
|
|
129
|
+
options: {
|
|
130
|
+
widget: string;
|
|
131
|
+
};
|
|
132
|
+
config: {
|
|
133
|
+
layout: {
|
|
134
|
+
xs: number;
|
|
135
|
+
sm: number;
|
|
136
|
+
md: number;
|
|
137
|
+
lg: number;
|
|
138
|
+
};
|
|
139
|
+
main: {
|
|
140
|
+
type: string;
|
|
141
|
+
legendLabels: any;
|
|
142
|
+
};
|
|
143
|
+
style: {
|
|
144
|
+
containerStyle: {};
|
|
145
|
+
labelStyle: {
|
|
146
|
+
margin: {};
|
|
147
|
+
};
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
};
|
|
@@ -21,7 +21,6 @@ declare const _default: (funcParams: funcParamsProps) => {
|
|
|
21
21
|
backHandler: () => void;
|
|
22
22
|
onRowMovement: (paginationValues: any) => Promise<any>;
|
|
23
23
|
onPaginationChange: (paginationValues: any) => Promise<any>;
|
|
24
|
-
onNodeExpandChange: (param: any) => Promise<any>;
|
|
25
24
|
getSelectOptions: (param: any) => Promise<any>;
|
|
26
25
|
onChange: () => void;
|
|
27
26
|
callExecuteEvents: (paramValue: any, apiBody: any, eventType: string) => Promise<any>;
|
package/package.json
CHANGED
|
@@ -34,8 +34,8 @@ const buildAreaGraph = (config:any,componentScope:string) => {
|
|
|
34
34
|
if(config.xAxisFormatType){
|
|
35
35
|
AreaGraph.config.main.xAxisFormatType = config.xAxisFormatType
|
|
36
36
|
}
|
|
37
|
-
if(config.
|
|
38
|
-
AreaGraph.config.main.
|
|
37
|
+
if(config.xAxisLabelMinWidth){
|
|
38
|
+
AreaGraph.config.main.xAxisLabelMinWidth = config.xAxisLabelMinWidth
|
|
39
39
|
}
|
|
40
40
|
if(config.yAxisTickCount){
|
|
41
41
|
AreaGraph.config.main.yAxisTickCount = config.yAxisTickCount
|
|
@@ -15,19 +15,23 @@ export const buildArray = (config: any, componentScope: string) => {
|
|
|
15
15
|
if (config.allExpanded) {
|
|
16
16
|
array.config.main.allExpanded = config.allExpanded === "YES" ? true : false
|
|
17
17
|
}
|
|
18
|
-
if(config.disableAddButton
|
|
19
|
-
array.config.main.disableAddButton
|
|
18
|
+
if (config.disableAddButton) {
|
|
19
|
+
array.config.main.disableAddButton = config.disableAddButton === "YES" ? true : false
|
|
20
20
|
}
|
|
21
|
-
if(config.disableExpandAllButton
|
|
22
|
-
array.config.main.disableExpandAllButton
|
|
21
|
+
if (config.disableExpandAllButton) {
|
|
22
|
+
array.config.main.disableExpandAllButton = config.disableExpandAllButton === "YES" ? true : false
|
|
23
23
|
}
|
|
24
|
-
if(config.disableRowActions
|
|
25
|
-
array.config.main.disableRowActions
|
|
24
|
+
if (config.disableRowActions) {
|
|
25
|
+
array.config.main.disableRowActions = config.disableRowActions === "YES" ? true : false
|
|
26
26
|
}
|
|
27
27
|
if (config.style) {
|
|
28
28
|
array.config.style = JSON.parse(config.style)
|
|
29
29
|
}
|
|
30
|
+
array.config.main.rowSpacing = Number(config.rowSpacing);
|
|
31
|
+
array.config.main.columnSpacing = Number(config.columnSpacing);
|
|
32
|
+
array.config.main.spacing = Number(config.spacing);
|
|
30
33
|
array.config.main.childElementLabel = config.childElementLabel;
|
|
34
|
+
array.config.main.showKeyAsLabel = config.showKeyAsLabel;
|
|
31
35
|
array.config.main.label = config.label;
|
|
32
36
|
array.scope = componentScope;
|
|
33
37
|
return array;
|
|
@@ -14,6 +14,7 @@ const FileInput = {
|
|
|
14
14
|
onUpload: "onFileUpload",
|
|
15
15
|
onDownload: "onFileDownload",
|
|
16
16
|
label: "Aggrement Copy",
|
|
17
|
+
"onClick": "onClick"
|
|
17
18
|
// iconStyleDefault:true,
|
|
18
19
|
},
|
|
19
20
|
style: {
|
|
@@ -35,6 +36,7 @@ export const buildFileInput = (config, componentScope) => {
|
|
|
35
36
|
box.config.main.disableUpload = config.disableUpload === "YES" ? true : false;
|
|
36
37
|
box.config.main.disableDownload = config.disableDownload === "YES" ? true : false;
|
|
37
38
|
box.config.main.disableDelete = config.disableDelete === "YES" ? true : false;
|
|
39
|
+
box.config.main.useLabel = config.useLabel === "YES" ? true : false;
|
|
38
40
|
box.config.main.description = config.description;
|
|
39
41
|
box.config.main.toolTip = config.toolTip;
|
|
40
42
|
box.config.main.chooseButtonLabel = config.chooseButtonLabel;
|
|
@@ -42,5 +44,6 @@ export const buildFileInput = (config, componentScope) => {
|
|
|
42
44
|
if (config.toolTipPosition) {
|
|
43
45
|
box.config.main.toolTipPosition = config.toolTipPosition;
|
|
44
46
|
}
|
|
47
|
+
box.config.main.externalUpload = config.externalUpload === "YES" ? true : false;
|
|
45
48
|
return box;
|
|
46
49
|
}
|
|
@@ -9,9 +9,10 @@ const imageUiSchema = {
|
|
|
9
9
|
widget: "Image",
|
|
10
10
|
},
|
|
11
11
|
config: {
|
|
12
|
-
|
|
12
|
+
layout: 3,
|
|
13
13
|
main: {
|
|
14
14
|
url: "",
|
|
15
|
+
onClick: "onClick",
|
|
15
16
|
},
|
|
16
17
|
style: {
|
|
17
18
|
},
|
|
@@ -27,9 +28,11 @@ export const buildImage = (config, componentScope) => {
|
|
|
27
28
|
}
|
|
28
29
|
if (config.style) {
|
|
29
30
|
image.config.style = JSON.parse(config.style);
|
|
30
|
-
}
|
|
31
|
+
}
|
|
31
32
|
if (config.height) {
|
|
32
|
-
image.config.style.imageStyle = {...image.config.style.imageStyle, height: config.height}
|
|
33
|
+
image.config.style.imageStyle = { ...image.config.style.imageStyle, height: config.height }
|
|
33
34
|
}
|
|
35
|
+
image.config.main.toolTip = config.toolTip;
|
|
36
|
+
image.config.main.toolTipPosition = config.toolTipPosition;
|
|
34
37
|
return image;
|
|
35
38
|
};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { createLayoutFormat, createKeyValueMap } from "./buildConfig";
|
|
2
|
+
import { StackBarLineG } from "./uischema/graph";
|
|
3
|
+
import _ from "lodash";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
const buildStackBarLineGraph = (config:any,componentScope:string) => {
|
|
7
|
+
const StackBarLineGraph: any = _.cloneDeep(StackBarLineG);
|
|
8
|
+
StackBarLineGraph.scope = componentScope;
|
|
9
|
+
if (config.layout) {
|
|
10
|
+
StackBarLineGraph.config.layout = createLayoutFormat(config.layout, config.type);
|
|
11
|
+
}
|
|
12
|
+
StackBarLineGraph.config.main.type = config.graphType;
|
|
13
|
+
StackBarLineGraph.scope = componentScope;
|
|
14
|
+
StackBarLineGraph.config.main.header = config.heading;
|
|
15
|
+
StackBarLineGraph.config.main.subHeader = config.subHeader;
|
|
16
|
+
if (config.legendHide) {
|
|
17
|
+
StackBarLineGraph.config.main.legendAvailable = config.legendHide==="YES"?false:true;
|
|
18
|
+
}
|
|
19
|
+
if (config.bottomAxisAngle) {
|
|
20
|
+
StackBarLineGraph.config.main.bottomAxisAngle = config.bottomAxisAngle==="YES"?true:false;
|
|
21
|
+
}
|
|
22
|
+
if (config.legendLabels) {
|
|
23
|
+
StackBarLineGraph.config.main.legendLabels = createKeyValueMap(config.legendLabels);
|
|
24
|
+
}
|
|
25
|
+
if(config.legendDirection){
|
|
26
|
+
StackBarLineGraph.config.main.legendDirection = config.legendDirection === "Row" ? "row" : "column";
|
|
27
|
+
}
|
|
28
|
+
if (config.height) {
|
|
29
|
+
StackBarLineGraph.config.style.containerStyle.height = config.height;
|
|
30
|
+
}
|
|
31
|
+
if (config.pieArcColors) {
|
|
32
|
+
StackBarLineGraph.config.style.colorMap = createKeyValueMap(config.pieArcColors);
|
|
33
|
+
}
|
|
34
|
+
if(config.xAxisLabelMinWidth){
|
|
35
|
+
StackBarLineGraph.config.main.xAxisLabelMinWidth = config.xAxisLabelMinWidth
|
|
36
|
+
}
|
|
37
|
+
if(config.yAxisTickCount){
|
|
38
|
+
StackBarLineGraph.config.main.yAxisTickCount = config.yAxisTickCount
|
|
39
|
+
}
|
|
40
|
+
if (config.xAxisValue) {
|
|
41
|
+
StackBarLineGraph.config.main.xAxisValue = config.xAxisValue;
|
|
42
|
+
}
|
|
43
|
+
if(config.xAxisType) {
|
|
44
|
+
StackBarLineGraph.config.main.xAxisType = config.xAxisType;
|
|
45
|
+
}
|
|
46
|
+
if (config.bottomLabel) {
|
|
47
|
+
StackBarLineGraph.config.main.bottomLabel = config.bottomLabel;
|
|
48
|
+
}
|
|
49
|
+
if (config.leftLabel) {
|
|
50
|
+
StackBarLineGraph.config.main.leftLabel = config.leftLabel;
|
|
51
|
+
}
|
|
52
|
+
if (config.rightLabel) {
|
|
53
|
+
StackBarLineGraph.config.main.rightLabel = config.rightLabel;
|
|
54
|
+
}
|
|
55
|
+
if (config.disableLeftLabel) {
|
|
56
|
+
StackBarLineGraph.config.main.disableLeftLabel = config.disableLeftLabel==="YES"? true: false;
|
|
57
|
+
}
|
|
58
|
+
if (config.leftMargin) {
|
|
59
|
+
StackBarLineGraph.config.style.labelStyle.margin ={
|
|
60
|
+
left: config.leftMargin
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
return StackBarLineGraph
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export default buildStackBarLineGraph;
|
|
@@ -42,11 +42,11 @@ import { buildThoughtOfTheDay } from "./buildThoughtOfTheDay";
|
|
|
42
42
|
import { buildHorizontalLayout } from "./buildHorizontalLayout";
|
|
43
43
|
import { buildImage } from "./buildImage";
|
|
44
44
|
import buildAreaGraph from "./buildAreaGraph";
|
|
45
|
+
import buildStackBarLineGraph from "./buildStackBarLineGraph";
|
|
45
46
|
import { buildCamera } from "./buildCamera";
|
|
46
47
|
import { buildButtonGroup } from "./buildGroupButton";
|
|
47
48
|
import { buildPopOver } from "./buildPopover";
|
|
48
49
|
import { buildOTP_Input } from "./buildOTP_inputs";
|
|
49
|
-
import { buildHierarchyChart } from "./buildHierarchyChart";
|
|
50
50
|
export let schema = {
|
|
51
51
|
type: "object",
|
|
52
52
|
properties: {},
|
|
@@ -221,9 +221,6 @@ const buildUiSchema = (config: any, store?: any) => {
|
|
|
221
221
|
case "MetricCard":
|
|
222
222
|
elements = buildMetricCard(config, componentScope, store);
|
|
223
223
|
break;
|
|
224
|
-
case "HierarchyChart":
|
|
225
|
-
elements = buildHierarchyChart(config, componentScope, store);
|
|
226
|
-
break;
|
|
227
224
|
case "Graph":
|
|
228
225
|
switch (config.graphType) {
|
|
229
226
|
case "BarGraph":
|
|
@@ -243,6 +240,9 @@ const buildUiSchema = (config: any, store?: any) => {
|
|
|
243
240
|
case "AreaGraph":
|
|
244
241
|
elements = buildAreaGraph(config, componentScope);
|
|
245
242
|
break;
|
|
243
|
+
case "StackBarLineGraph":
|
|
244
|
+
elements = buildStackBarLineGraph(config, componentScope);
|
|
245
|
+
break;
|
|
246
246
|
default:
|
|
247
247
|
elements = buildStackbarGraph(config, componentScope);
|
|
248
248
|
break;
|
|
@@ -8,9 +8,13 @@ export const buildWrapperSection = (config, componentScope) => {
|
|
|
8
8
|
wrapper.config.main.label = config.label;
|
|
9
9
|
wrapper.config.main.divider = config.divider === "YES" ? true : false;
|
|
10
10
|
wrapper.config.main.isAccordion = config.isAccordion === "No" ? false : true;
|
|
11
|
-
wrapper.config.main.defaultClosed = config.defaultClosed === "YES"?true:false;
|
|
12
|
-
|
|
13
|
-
wrapper.config.
|
|
11
|
+
wrapper.config.main.defaultClosed = config.defaultClosed === "YES" ? true : false;
|
|
12
|
+
wrapper.config.main.icon = config.iconUrl;
|
|
13
|
+
wrapper.config.main.rowSpacing = Number(config.rowSpacing);
|
|
14
|
+
wrapper.config.main.columnSpacing = Number(config.columnSpacing);
|
|
15
|
+
wrapper.config.main.spacing = Number(config.spacing);
|
|
16
|
+
if (config.defaultStyle) {
|
|
17
|
+
wrapper.config.defaultStyle = config.defaultStyle === "YES" ? true : false;
|
|
14
18
|
}
|
|
15
19
|
if (config.style) {
|
|
16
20
|
wrapper.config.style = JSON.parse(config.style)
|
|
@@ -331,6 +331,10 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
331
331
|
getRadioInputField("disableExpandAllButton", "Disable Expand Buttons", ["YES", "NO"]),
|
|
332
332
|
getRadioInputField("disableRowActions", "Disable Row Actions", ["YES", "NO"]),
|
|
333
333
|
getInputField("childElementLabel", "Child Element Label"),
|
|
334
|
+
getInputField("showKeyAsLabel", "ShowKey As Label"),
|
|
335
|
+
getInputField("rowSpacing", "Row Spacing"),
|
|
336
|
+
getInputField("columnSpacing", "Column Spacing"),
|
|
337
|
+
getInputField("spacing", "Spacing"),
|
|
334
338
|
emptyBox("empty1", { xs: 12, sm: 6, md: 4, lg: 3 }),
|
|
335
339
|
|
|
336
340
|
]
|
|
@@ -415,7 +419,7 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
415
419
|
]),
|
|
416
420
|
getInputField("width", "Width"),
|
|
417
421
|
getInputField("gap", "Gap"),
|
|
418
|
-
emptyBox("PopUpEmpty",
|
|
422
|
+
emptyBox("PopUpEmpty", { xs: 6, sm: 0, md: 8, lg: 6 })
|
|
419
423
|
]
|
|
420
424
|
break;
|
|
421
425
|
case "Text":
|
|
@@ -502,22 +506,6 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
502
506
|
emptyBox("cardEmpty", { xs: 0, sm: 0, md: 8, lg: 8 })
|
|
503
507
|
];
|
|
504
508
|
break;
|
|
505
|
-
case "HierarchyChart":
|
|
506
|
-
uiSchema.elements = [
|
|
507
|
-
getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
|
|
508
|
-
getSelectField("linkType", "Link Type", [
|
|
509
|
-
{ label: "Step", value: "step" },
|
|
510
|
-
{ label: "Diagonal", value: "diagonal" },
|
|
511
|
-
{ label: "Line", value: "line" },
|
|
512
|
-
]),
|
|
513
|
-
getInputField("nodeWidth", "Node Width"),
|
|
514
|
-
getInputField("nodeHeight", "Node Height"),
|
|
515
|
-
getRadioInputField("isExpandAll", "Expand All", ["YES", "NO"]),
|
|
516
|
-
getInputField("chartHeight", "Chart Height"),
|
|
517
|
-
getInputField("stepPercent", "Link Bend Position"),
|
|
518
|
-
emptyBox("HierarchyChart", { xs: 6, sm: 6, md: 0, lg: 3 }),
|
|
519
|
-
];
|
|
520
|
-
break;
|
|
521
509
|
case "MetricCard":
|
|
522
510
|
uiSchema.elements = [
|
|
523
511
|
getInputField("url", "Image Url"),
|
|
@@ -529,7 +517,7 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
529
517
|
{ label: "Negative", value: "negative" }
|
|
530
518
|
]),
|
|
531
519
|
getInputField("color", "Card Color"),
|
|
532
|
-
emptyBox("MetricEmpty1", { xs: 6, sm:
|
|
520
|
+
emptyBox("MetricEmpty1", { xs: 6, sm: 0, md: 8, lg: 6 }),
|
|
533
521
|
];
|
|
534
522
|
break;
|
|
535
523
|
case "Button":
|
|
@@ -571,9 +559,11 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
571
559
|
{ label: "Pie Graph", value: "PieGraph" },
|
|
572
560
|
{ label: "Horizontal Bar Graph", value: "HorizontalBarGraph" },
|
|
573
561
|
{ label: "Stack Horizontal Bar Graph", value: "HorizontalStackBarGraph" },
|
|
574
|
-
{ label: "Area Graph", value: "AreaGraph" }
|
|
562
|
+
{ label: "Area Graph", value: "AreaGraph" },
|
|
563
|
+
{ label: "StackBar And Line Graph", value: "StackBarLineGraph" }
|
|
575
564
|
]),
|
|
576
565
|
getInputField("leftLabel", "Left Label"),
|
|
566
|
+
getInputField("rightLabel", "Right Label"),
|
|
577
567
|
getRadioInputField("disableLeftLabel", "Disable Left Label", ["YES", "No"]),
|
|
578
568
|
getInputField("bottomLabel", "Bottom Label"),
|
|
579
569
|
emptyBox("GraphEmpty1", { xs: 6, sm: 0, md: 0, lg: 0 }),
|
|
@@ -588,7 +578,7 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
588
578
|
]),
|
|
589
579
|
getRadioInputField("bottomAxisAngle", "Bottom Axis Angled", ["YES", "No"]),
|
|
590
580
|
getInputField("leftMargin", "Left Margin"),
|
|
591
|
-
getInputField("
|
|
581
|
+
getInputField("xAxisLabelMinWidth", "X Axis Label Width"),
|
|
592
582
|
getInputField("yAxisTickCount", "Y Axis TickCount"),
|
|
593
583
|
getSelectField("xAxisFormatType", "X Axis Format Type", [
|
|
594
584
|
{ label: "Date and Month", value: "Date and Month" },
|
|
@@ -603,9 +593,13 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
603
593
|
uiSchema.elements = [getRadioInputField("divider", "Divider", ["YES", "No"]),
|
|
604
594
|
getRadioInputField("isAccordion", "Accordion", ["YES", "No"])
|
|
605
595
|
, getRadioInputField("defaultStyle", "Default Style", ["YES", "No"]),
|
|
606
|
-
|
|
596
|
+
|
|
607
597
|
getRadioInputField("defaultClosed", "Default Closed", ["YES", "No"]),
|
|
608
|
-
|
|
598
|
+
getInputField("rowSpacing", "Row Spacing"),
|
|
599
|
+
getInputField("columnSpacing", "Column Spacing"),
|
|
600
|
+
getInputField("spacing", "Spacing"),
|
|
601
|
+
getInputField("iconUrl", "Icon Url"),
|
|
602
|
+
emptyBox("WrapperSectionEmpty1", { xs: 0, sm: 0, md: 4, lg: 6 }), emptyBox("WrapperSectionEmpty2")
|
|
609
603
|
]
|
|
610
604
|
break;
|
|
611
605
|
|
|
@@ -755,6 +749,13 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
755
749
|
uiSchema.elements = [
|
|
756
750
|
getInputField("imageUrl", "Image URL"),
|
|
757
751
|
getInputField("height", "Image Height"),
|
|
752
|
+
getInputField("toolTip", "Tooltip"),
|
|
753
|
+
getSelectField("toolTipPosition", "Tooltip Position", [
|
|
754
|
+
{ label: "Top", value: "top" },
|
|
755
|
+
{ label: "Left", value: "left" },
|
|
756
|
+
{ label: "Right", value: "right" },
|
|
757
|
+
{ label: "Bottom", value: "bottom" }
|
|
758
|
+
]),
|
|
758
759
|
emptyBox("imageEmpty", { xs: 0, sm: 0, md: 4, lg: 6 }),
|
|
759
760
|
]
|
|
760
761
|
break;
|
|
@@ -774,7 +775,9 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
774
775
|
]),
|
|
775
776
|
getInputField("chooseButtonLabel", "ChooseButton Label"),
|
|
776
777
|
getInputField("noFileAvailableMessage", "No Found Message"),
|
|
777
|
-
|
|
778
|
+
getRadioInputField("useLabel", "Use Button", ["YES", "NO"]),
|
|
779
|
+
getRadioInputField("externalUpload", "External Upload", ["YES", "NO"]),
|
|
780
|
+
emptyBox("imageEmpty", { xs: 0, sm: 0, md: 4, lg: 6 }),
|
|
778
781
|
]
|
|
779
782
|
break;
|
|
780
783
|
case "Camera":
|
|
@@ -78,3 +78,19 @@ export const AreaBarGraph = {
|
|
|
78
78
|
},
|
|
79
79
|
};
|
|
80
80
|
|
|
81
|
+
export const StackBarLineG = {
|
|
82
|
+
type: "Control",
|
|
83
|
+
scope: "#/properties/graph",
|
|
84
|
+
options: {
|
|
85
|
+
widget: "Graph",
|
|
86
|
+
},
|
|
87
|
+
config: {
|
|
88
|
+
layout: {xs :12,sm:12,md:12,lg:12},
|
|
89
|
+
main: {
|
|
90
|
+
type: "StackBarLineGraph",
|
|
91
|
+
legendLabels: null
|
|
92
|
+
},
|
|
93
|
+
style:{ containerStyle: {},labelStyle:{margin:{}} }
|
|
94
|
+
},
|
|
95
|
+
};
|
|
96
|
+
|
|
@@ -40,7 +40,6 @@ export const ComponentSchema: any = {
|
|
|
40
40
|
{ title: "Rank", const: "Rank" },
|
|
41
41
|
{ title: "Rank Card", const: "RankCard" },
|
|
42
42
|
{ title: "Metric Card", const: "MetricCard" },
|
|
43
|
-
{ title: "Hierarchy Chart", const: "HierarchyChart" },
|
|
44
43
|
{ title: "Runner Boy", const: "RunnerBoyProgressBar" },
|
|
45
44
|
{ title: "Table", const: "Table" },
|
|
46
45
|
{ title: "Tabs", const: "TabSection" },
|
|
@@ -103,13 +102,6 @@ export const ComponentSchema: any = {
|
|
|
103
102
|
{ title: "Standard", const: "standard" },
|
|
104
103
|
],
|
|
105
104
|
},
|
|
106
|
-
linkType:{
|
|
107
|
-
oneOf:[
|
|
108
|
-
{ title: "Step", const: "step" },
|
|
109
|
-
{ title: "Diagonal", const: "diagonal" },
|
|
110
|
-
{ title: "Line", const: "line" },
|
|
111
|
-
]
|
|
112
|
-
},
|
|
113
105
|
positionVertical:{
|
|
114
106
|
oneOf: [
|
|
115
107
|
{ title: "Top", const: "top" },
|
|
@@ -448,6 +440,7 @@ export const ComponentSchema: any = {
|
|
|
448
440
|
const: "HorizontalStackBarGraph",
|
|
449
441
|
},
|
|
450
442
|
{ title: "Area Graph", const: "AreaGraph" },
|
|
443
|
+
{ title: "StackBar And Line Graph", const: "StackBarLineGraph" },
|
|
451
444
|
],
|
|
452
445
|
},
|
|
453
446
|
iconName: {
|
|
@@ -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",
|