impaktapps-ui-builder 0.0.94 → 0.0.95-offset.2
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 +59 -23
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +8 -8
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/apiSection.d.ts +0 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.d.ts +0 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/graph.d.ts +24 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildHorizontalBarGraph.ts +16 -0
- package/src/impaktapps-ui-builder/builder/build/buildLineGraph.ts +13 -0
- package/src/impaktapps-ui-builder/builder/build/buildStackBarGraph.ts +14 -0
- package/src/impaktapps-ui-builder/builder/build/buildTable.ts +2 -5
- package/src/impaktapps-ui-builder/builder/build/buildTextArea.ts +0 -6
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +8 -9
- package/src/impaktapps-ui-builder/builder/build/uischema/button.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/graph.ts +4 -1
- package/src/impaktapps-ui-builder/runtime/services/service.ts +3 -2
|
@@ -7321,7 +7321,7 @@ const buildWrapper = (label, elements) => {
|
|
|
7321
7321
|
width: "108%"
|
|
7322
7322
|
},
|
|
7323
7323
|
componentsBoxStyle: {
|
|
7324
|
-
marginLeft: "
|
|
7324
|
+
marginLeft: "12px"
|
|
7325
7325
|
},
|
|
7326
7326
|
defaultStyle: true
|
|
7327
7327
|
},
|
|
@@ -7350,8 +7350,7 @@ const getTextArea = (scope, heading, hideButton, layout) => {
|
|
|
7350
7350
|
main: {
|
|
7351
7351
|
heading,
|
|
7352
7352
|
minRows: 8,
|
|
7353
|
-
hideButton
|
|
7354
|
-
enableCodeEditor: true
|
|
7353
|
+
hideButton
|
|
7355
7354
|
}
|
|
7356
7355
|
}
|
|
7357
7356
|
};
|
|
@@ -7457,8 +7456,8 @@ const buildPropertiesSection = function(type) {
|
|
|
7457
7456
|
case "TextArea":
|
|
7458
7457
|
uiSchema.elements = [
|
|
7459
7458
|
getInputField("placeholder", "Placeholder"),
|
|
7460
|
-
|
|
7461
|
-
|
|
7459
|
+
emptyBox$1("TextAreaEmpty1", { xs: 6, sm: 6, md: 4, lg: 4 }),
|
|
7460
|
+
emptyBox$1("TextAreaEmpty2", { xs: 0, sm: 0, md: 4, lg: 4 })
|
|
7462
7461
|
];
|
|
7463
7462
|
break;
|
|
7464
7463
|
case "SpeedoMeter":
|
|
@@ -7538,7 +7537,9 @@ const buildPropertiesSection = function(type) {
|
|
|
7538
7537
|
getRadioInputField("legendHide", "Legend Hide", ["YES", "No"]),
|
|
7539
7538
|
getInputField("yAxisValue", "Y-AxisValue"),
|
|
7540
7539
|
getInputField("xAxisValue", "X-AxisValue"),
|
|
7541
|
-
|
|
7540
|
+
getRadioInputField("bottomAxisAngle", "Bottom Axis Angled", ["YES", "No"]),
|
|
7541
|
+
getInputField("leftMargin", "Left Margin"),
|
|
7542
|
+
emptyBox$1("GraphEmpty1", { xs: 0, sm: 0, md: 6, lg: 8 }),
|
|
7542
7543
|
getArrayControl("legendLabels", "label"),
|
|
7543
7544
|
getArrayControl("pieArcColors", "color")
|
|
7544
7545
|
];
|
|
@@ -7568,8 +7569,7 @@ const buildPropertiesSection = function(type) {
|
|
|
7568
7569
|
getRadioInputField("ColumnResizingAvailable", "ColumnResizing ", ["YES", "NO"]),
|
|
7569
7570
|
getRadioInputField("DragAvailable", "Row Dragging", ["YES", "NO"]),
|
|
7570
7571
|
getRadioInputField("downloadAllData", "Download All Data", ["YES", "NO"]),
|
|
7571
|
-
getRadioInputField("
|
|
7572
|
-
getRadioInputField("disableColumnFilter", "Disable Column Filter", ["YES", "NO"]),
|
|
7572
|
+
getRadioInputField("disableFilters", "Disable Filter", ["YES", "NO"]),
|
|
7573
7573
|
getRadioInputField("disableSorting", "Disable Sorting", ["YES", "NO"]),
|
|
7574
7574
|
getRadioInputField("disableEditColumn", "Disable Edit Column", ["YES", "NO"]),
|
|
7575
7575
|
getRadioInputField("disableFullScreenToggle", "Disable Full Screen", ["YES", "NO"]),
|
|
@@ -7578,6 +7578,7 @@ const buildPropertiesSection = function(type) {
|
|
|
7578
7578
|
getRadioInputField("disablePagination", "Disable Pagination", ["YES", "NO"]),
|
|
7579
7579
|
getInputField("selectKey", "Selection Key"),
|
|
7580
7580
|
getMultiSelectField("filteringOptions", "Filtering Options"),
|
|
7581
|
+
emptyBox$1("LazyLoadingTableEmpty1", { xs: 6, sm: 0, md: 4, lg: 4 }),
|
|
7581
7582
|
buildWrapper("Tree Table Properties", [
|
|
7582
7583
|
getRadioInputField("enableRowMovement", "Row Rearrangement", ["YES", "NO"]),
|
|
7583
7584
|
getRadioInputField("enableExpanding", "Row Expanding", ["YES", "NO"]),
|
|
@@ -9520,13 +9521,14 @@ var service = (funcParams) => {
|
|
|
9520
9521
|
color: ((_c = theme == null ? void 0 : theme.palette) == null ? void 0 : _c.text.disabled) || "#AFAFAF",
|
|
9521
9522
|
fontSize: "12px",
|
|
9522
9523
|
textAlign: "center",
|
|
9523
|
-
lineHeight:
|
|
9524
|
+
lineHeight: 2,
|
|
9524
9525
|
width: "fit-content",
|
|
9525
9526
|
left: "50%",
|
|
9526
9527
|
position: "relative",
|
|
9527
9528
|
margin: 0,
|
|
9528
9529
|
flexGrow: 1,
|
|
9529
|
-
height: 0
|
|
9530
|
+
height: 0,
|
|
9531
|
+
transform: "translate(-50%,0%)"
|
|
9530
9532
|
}
|
|
9531
9533
|
}
|
|
9532
9534
|
},
|
|
@@ -10219,6 +10221,7 @@ const BarGraph = {
|
|
|
10219
10221
|
widget: "Graph"
|
|
10220
10222
|
},
|
|
10221
10223
|
config: {
|
|
10224
|
+
layout: { xs: 12, sm: 12, md: 12, lg: 6 },
|
|
10222
10225
|
main: {},
|
|
10223
10226
|
style: { containerStyle: {} }
|
|
10224
10227
|
}
|
|
@@ -10230,6 +10233,7 @@ const PieGraph = {
|
|
|
10230
10233
|
widget: "Graph"
|
|
10231
10234
|
},
|
|
10232
10235
|
config: {
|
|
10236
|
+
layout: { xs: 12, sm: 12, md: 12, lg: 6 },
|
|
10233
10237
|
main: {
|
|
10234
10238
|
type: "PieGraph"
|
|
10235
10239
|
},
|
|
@@ -10243,7 +10247,7 @@ const LineGraph = {
|
|
|
10243
10247
|
widget: "Graph"
|
|
10244
10248
|
},
|
|
10245
10249
|
config: {
|
|
10246
|
-
layout: 12,
|
|
10250
|
+
layout: { xs: 12, sm: 12, md: 12, lg: 6 },
|
|
10247
10251
|
main: {
|
|
10248
10252
|
type: "LineGraph",
|
|
10249
10253
|
header: "Quartely Incentive in Thousand",
|
|
@@ -10278,6 +10282,7 @@ const HorizontalBarGraph = {
|
|
|
10278
10282
|
widget: "Graph"
|
|
10279
10283
|
},
|
|
10280
10284
|
config: {
|
|
10285
|
+
layout: { xs: 12, sm: 12, md: 12, lg: 6 },
|
|
10281
10286
|
main: {
|
|
10282
10287
|
type: "HorizontalBarGraph"
|
|
10283
10288
|
},
|
|
@@ -10293,6 +10298,12 @@ const buildHorizontalBarGraph = (config, componentScope) => {
|
|
|
10293
10298
|
horizontalBarGraph.config.main.type = config.graphType;
|
|
10294
10299
|
horizontalBarGraph.scope = componentScope;
|
|
10295
10300
|
horizontalBarGraph.config.main.header = config.heading;
|
|
10301
|
+
if (config.legendHide) {
|
|
10302
|
+
horizontalBarGraph.config.main.legendAvailable = config.legendHide === "YES" ? false : true;
|
|
10303
|
+
}
|
|
10304
|
+
if (config.bottomAxisAngle) {
|
|
10305
|
+
horizontalBarGraph.config.main.bottomAxisAngle = config.bottomAxisAngle === "YES" ? true : false;
|
|
10306
|
+
}
|
|
10296
10307
|
if (config.barColor) {
|
|
10297
10308
|
horizontalBarGraph.config.barStyle.color = config.barColor;
|
|
10298
10309
|
}
|
|
@@ -10309,6 +10320,15 @@ const buildHorizontalBarGraph = (config, componentScope) => {
|
|
|
10309
10320
|
}
|
|
10310
10321
|
};
|
|
10311
10322
|
}
|
|
10323
|
+
if (config.leftMargin) {
|
|
10324
|
+
horizontalBarGraph.config.style = {
|
|
10325
|
+
labelStyle: {
|
|
10326
|
+
margin: {
|
|
10327
|
+
left: config.leftMargin
|
|
10328
|
+
}
|
|
10329
|
+
}
|
|
10330
|
+
};
|
|
10331
|
+
}
|
|
10312
10332
|
if (config.bottomLabel) {
|
|
10313
10333
|
horizontalBarGraph.config.main.bottomLabel = config.bottomLabel;
|
|
10314
10334
|
}
|
|
@@ -10449,6 +10469,10 @@ const buildStackbarGraph = (config, componentScope) => {
|
|
|
10449
10469
|
}
|
|
10450
10470
|
if (config.legendHide) {
|
|
10451
10471
|
barGraph.config.main.legendAvailable = config.legendHide;
|
|
10472
|
+
barGraph.config.main.legendAvailable = config.legendHide === "YES" ? false : true;
|
|
10473
|
+
}
|
|
10474
|
+
if (config.bottomAxisAngle) {
|
|
10475
|
+
barGraph.config.main.bottomAxisAngle = config.bottomAxisAngle === "YES" ? true : false;
|
|
10452
10476
|
}
|
|
10453
10477
|
barGraph.config.main.type = config.graphType;
|
|
10454
10478
|
barGraph.config.main.header = config.heading;
|
|
@@ -10461,6 +10485,15 @@ const buildStackbarGraph = (config, componentScope) => {
|
|
|
10461
10485
|
if (config.height) {
|
|
10462
10486
|
barGraph.config.style.containerStyle.height = config.height;
|
|
10463
10487
|
}
|
|
10488
|
+
if (config.leftMargin) {
|
|
10489
|
+
barGraph.config.style = {
|
|
10490
|
+
labelStyle: {
|
|
10491
|
+
margin: {
|
|
10492
|
+
left: config.leftMargin
|
|
10493
|
+
}
|
|
10494
|
+
}
|
|
10495
|
+
};
|
|
10496
|
+
}
|
|
10464
10497
|
if (config.bottomLabel) {
|
|
10465
10498
|
barGraph.config.main.bottomLabel = config.bottomLabel;
|
|
10466
10499
|
}
|
|
@@ -10627,7 +10660,7 @@ var Button = {
|
|
|
10627
10660
|
styleDefault: false,
|
|
10628
10661
|
icon: "",
|
|
10629
10662
|
onClick: "onClick",
|
|
10630
|
-
size: "
|
|
10663
|
+
size: "medium"
|
|
10631
10664
|
},
|
|
10632
10665
|
style: {}
|
|
10633
10666
|
}
|
|
@@ -10722,11 +10755,8 @@ const buildTable = (config, componentScope) => {
|
|
|
10722
10755
|
if (config.downloadAllData) {
|
|
10723
10756
|
table.config.main.downloadAllData = config.downloadAllData === "YES" ? true : false;
|
|
10724
10757
|
}
|
|
10725
|
-
if (config.
|
|
10726
|
-
table.config.main.
|
|
10727
|
-
}
|
|
10728
|
-
if (config.disableColumnFilter) {
|
|
10729
|
-
table.config.main.disableColumnFilter = config.disableColumnFilter === "YES" ? true : false;
|
|
10758
|
+
if (config.disableFilters) {
|
|
10759
|
+
table.config.main.disableFilters = config.disableFilters === "YES" ? true : false;
|
|
10730
10760
|
}
|
|
10731
10761
|
if (config.disableSorting) {
|
|
10732
10762
|
table.config.main.disableSorting = config.disableSorting === "YES" ? true : false;
|
|
@@ -11232,12 +11262,6 @@ const buildTextArea = (config, componentScope) => {
|
|
|
11232
11262
|
if (config.placeholder) {
|
|
11233
11263
|
textArea.config.main.placeholder = config.placeholder;
|
|
11234
11264
|
}
|
|
11235
|
-
if (config.enableCodeEditor) {
|
|
11236
|
-
textArea.config.main.enableCodeEditor = config.enableCodeEditor === "YES" ? true : false;
|
|
11237
|
-
}
|
|
11238
|
-
if (config.codeEditorLanguage) {
|
|
11239
|
-
textArea.config.main.codeEditorLanguage = config.codeEditorLanguage;
|
|
11240
|
-
}
|
|
11241
11265
|
textArea.scope = componentScope;
|
|
11242
11266
|
return textArea;
|
|
11243
11267
|
};
|
|
@@ -11297,6 +11321,15 @@ const buildLineGraph = (config, componentScope) => {
|
|
|
11297
11321
|
if (config.height) {
|
|
11298
11322
|
lineGraph.config.style.containerStyle.height = config.height;
|
|
11299
11323
|
}
|
|
11324
|
+
if (config.leftMargin) {
|
|
11325
|
+
lineGraph.config.style = {
|
|
11326
|
+
labelStyle: {
|
|
11327
|
+
margin: {
|
|
11328
|
+
left: config.leftMargin
|
|
11329
|
+
}
|
|
11330
|
+
}
|
|
11331
|
+
};
|
|
11332
|
+
}
|
|
11300
11333
|
if (config.bottomLabel) {
|
|
11301
11334
|
lineGraph.config.main.bottomLabel = config.bottomLabel;
|
|
11302
11335
|
}
|
|
@@ -11312,6 +11345,9 @@ const buildLineGraph = (config, componentScope) => {
|
|
|
11312
11345
|
if (config.legendHide) {
|
|
11313
11346
|
lineGraph.config.main.legendAvailabe = config.legendHide === "YES" ? false : true;
|
|
11314
11347
|
}
|
|
11348
|
+
if (config.bottomAxisAngle) {
|
|
11349
|
+
lineGraph.config.main.bottomAxisAngle = config.bottomAxisAngle === "YES" ? true : false;
|
|
11350
|
+
}
|
|
11315
11351
|
if (config.legendLabels) {
|
|
11316
11352
|
lineGraph.config.main.tooltipDataKey = flatObjectValueInArray(config.legendLabels);
|
|
11317
11353
|
}
|