impaktapps-ui-builder 1.0.133 → 1.0.135
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 +124 -261
- 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/uischema/card.d.ts +18 -0
- package/dist/src/impaktapps-ui-builder/runtime/services/service.d.ts +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildHorizontalBarGraph.ts +6 -0
- package/src/impaktapps-ui-builder/builder/build/buildLineGraph.ts +6 -0
- package/src/impaktapps-ui-builder/builder/build/buildPieGraph.ts +3 -0
- package/src/impaktapps-ui-builder/builder/build/buildStackBarGraph.ts +6 -0
- package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +13 -5
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +2 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +12 -2
- package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +19 -75
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +80 -102
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +1 -61
- package/src/impaktapps-ui-builder/builder/services/component.ts +7 -14
- package/src/impaktapps-ui-builder/runtime/services/service.ts +42 -58
|
@@ -6277,35 +6277,6 @@ const ComponentSchema = {
|
|
|
6277
6277
|
{ title: "Center Column", const: "action" }
|
|
6278
6278
|
]
|
|
6279
6279
|
},
|
|
6280
|
-
dateFormat: {
|
|
6281
|
-
oneOf: [
|
|
6282
|
-
{
|
|
6283
|
-
title: "ISO DateTime (UTC) \u2014 YYYY-MM-DDTHH:mm:ss.SSSZ",
|
|
6284
|
-
const: "YYYY-MM-DDTHH:mm:ss.SSSZ"
|
|
6285
|
-
},
|
|
6286
|
-
{
|
|
6287
|
-
title: "ISO DateTime \u2014 YYYY-MM-DDTHH:mm:ssZ",
|
|
6288
|
-
const: "YYYY-MM-DDTHH:mm:ssZ"
|
|
6289
|
-
},
|
|
6290
|
-
{
|
|
6291
|
-
title: "ISO DateTime (No TZ) \u2014 YYYY-MM-DDTHH:mm:ss",
|
|
6292
|
-
const: "YYYY-MM-DDTHH:mm:ss"
|
|
6293
|
-
},
|
|
6294
|
-
{ title: "ISO Date \u2014 YYYY-MM-DD", const: "YYYY-MM-DD" },
|
|
6295
|
-
{ title: "Date (DD-MM-YYYY) \u2014 DD-MM-YYYY", const: "DD-MM-YYYY" },
|
|
6296
|
-
{ title: "Date (MM/DD/YYYY) \u2014 MM/DD/YYYY", const: "MM/DD/YYYY" },
|
|
6297
|
-
{
|
|
6298
|
-
title: "DateTime (DB) \u2014 YYYY-MM-DD HH:mm:ss",
|
|
6299
|
-
const: "YYYY-MM-DD HH:mm:ss"
|
|
6300
|
-
},
|
|
6301
|
-
{
|
|
6302
|
-
title: "DateTime (DB ms) \u2014 YYYY-MM-DD HH:mm:ss.SSS",
|
|
6303
|
-
const: "YYYY-MM-DD HH:mm:ss.SSS"
|
|
6304
|
-
},
|
|
6305
|
-
{ title: "Epoch (Milliseconds)", const: "x" },
|
|
6306
|
-
{ title: "Epoch (Seconds)", const: "X" }
|
|
6307
|
-
]
|
|
6308
|
-
},
|
|
6309
6280
|
variant: {
|
|
6310
6281
|
oneOf: [
|
|
6311
6282
|
{ title: "Outlined", const: "outlined" },
|
|
@@ -6557,10 +6528,7 @@ const ComponentSchema = {
|
|
|
6557
6528
|
{ title: "Line Graph", const: "LineGraph" },
|
|
6558
6529
|
{ title: "Pie Graph", const: "PieGraph" },
|
|
6559
6530
|
{ title: "Horizontal Bar Graph", const: "HorizontalBarGraph" },
|
|
6560
|
-
{
|
|
6561
|
-
title: "Stack Horizontal Bar Graph",
|
|
6562
|
-
const: "HorizontalStackBarGraph"
|
|
6563
|
-
}
|
|
6531
|
+
{ title: "Stack Horizontal Bar Graph", const: "HorizontalStackBarGraph" }
|
|
6564
6532
|
]
|
|
6565
6533
|
},
|
|
6566
6534
|
iconName: {
|
|
@@ -6584,35 +6552,35 @@ const ComponentSchema = {
|
|
|
6584
6552
|
{ title: "Download Icon", const: "DownloadIcon" },
|
|
6585
6553
|
{ title: "Download All Icon", const: "DownloadAllIcon" },
|
|
6586
6554
|
{ title: "Exception Icon", const: "ExceptionIcon" },
|
|
6587
|
-
{ title: "Alarm Icon", const: "AlarmIcon" },
|
|
6588
|
-
{ title: "Click Icon", const: "ClickIcon" },
|
|
6589
|
-
{ title: "Content Copy Icon", const: "ContentCopyIcon" },
|
|
6590
|
-
{ title: "File Copy Icon", const: "FileCopyIcon" },
|
|
6591
|
-
{ title: "Pause Icon", const: "PauseIcon" },
|
|
6592
|
-
{ title: "Play Icon", const: "PlayIcon" },
|
|
6593
|
-
{ title: "Close Icon", const: "CloseIcon" },
|
|
6594
|
-
{ title: "Replay Icon", const: "ReplayIcon" },
|
|
6595
|
-
{ title: "Delete Icon", const: "DeleteIcon" },
|
|
6596
|
-
{ title: "Drafts Icon", const: "DraftsIcon" },
|
|
6597
|
-
{ title: "Perm Phone Msg Icon", const: "PermPhoneMsgIcon" },
|
|
6598
|
-
{ title: "Paste Icon", const: "PasteIcon" },
|
|
6599
|
-
{ title: "Prev Icon", const: "PrevIcon" },
|
|
6600
|
-
{ title: "Verified Icon", const: "VerifiedIcon" },
|
|
6601
|
-
{ title: "Table Add Icon", const: "TableAddIcon" },
|
|
6602
|
-
{ title: "Table Download Icon", const: "TableDownloadIcon" },
|
|
6603
|
-
{ title: "Audit Trail Icon", const: "AuditTrailIcon" },
|
|
6604
|
-
{ title: "View Component", const: "View" },
|
|
6605
|
-
{ title: "Table Edit Icon", const: "TableEditIcon" },
|
|
6606
|
-
{ title: "Maximize Icon", const: "Maximize" },
|
|
6607
|
-
{ title: "Minimize Icon", const: "Minimize" },
|
|
6608
|
-
{ title: "Subtract Icon", const: "Subtract" },
|
|
6609
|
-
{ title: "Bin Icon", const: "Bin" },
|
|
6610
|
-
{ title: "Export Icon", const: "Export" },
|
|
6611
|
-
{ title: "Table Paste Icon", const: "TablePaste" },
|
|
6612
|
-
{ title: "Clone Icon", const: "CloneIcon" },
|
|
6613
|
-
{ title: "Detail Icon", const: "DetailIcon" },
|
|
6614
|
-
{ title: "Report View Icon", const: "ReportViewIcon" },
|
|
6615
|
-
{ title: "Payout", const: "Payout" }
|
|
6555
|
+
{ "title": "Alarm Icon", "const": "AlarmIcon" },
|
|
6556
|
+
{ "title": "Click Icon", "const": "ClickIcon" },
|
|
6557
|
+
{ "title": "Content Copy Icon", "const": "ContentCopyIcon" },
|
|
6558
|
+
{ "title": "File Copy Icon", "const": "FileCopyIcon" },
|
|
6559
|
+
{ "title": "Pause Icon", "const": "PauseIcon" },
|
|
6560
|
+
{ "title": "Play Icon", "const": "PlayIcon" },
|
|
6561
|
+
{ "title": "Close Icon", "const": "CloseIcon" },
|
|
6562
|
+
{ "title": "Replay Icon", "const": "ReplayIcon" },
|
|
6563
|
+
{ "title": "Delete Icon", "const": "DeleteIcon" },
|
|
6564
|
+
{ "title": "Drafts Icon", "const": "DraftsIcon" },
|
|
6565
|
+
{ "title": "Perm Phone Msg Icon", "const": "PermPhoneMsgIcon" },
|
|
6566
|
+
{ "title": "Paste Icon", "const": "PasteIcon" },
|
|
6567
|
+
{ "title": "Prev Icon", "const": "PrevIcon" },
|
|
6568
|
+
{ "title": "Verified Icon", "const": "VerifiedIcon" },
|
|
6569
|
+
{ "title": "Table Add Icon", "const": "TableAddIcon" },
|
|
6570
|
+
{ "title": "Table Download Icon", "const": "TableDownloadIcon" },
|
|
6571
|
+
{ "title": "Audit Trail Icon", "const": "AuditTrailIcon" },
|
|
6572
|
+
{ "title": "View Component", "const": "View" },
|
|
6573
|
+
{ "title": "Table Edit Icon", "const": "TableEditIcon" },
|
|
6574
|
+
{ "title": "Maximize Icon", "const": "Maximize" },
|
|
6575
|
+
{ "title": "Minimize Icon", "const": "Minimize" },
|
|
6576
|
+
{ "title": "Subtract Icon", "const": "Subtract" },
|
|
6577
|
+
{ "title": "Bin Icon", "const": "Bin" },
|
|
6578
|
+
{ "title": "Export Icon", "const": "Export" },
|
|
6579
|
+
{ "title": "Table Paste Icon", "const": "TablePaste" },
|
|
6580
|
+
{ "title": "Clone Icon", "const": "CloneIcon" },
|
|
6581
|
+
{ "title": "Detail Icon", "const": "DetailIcon" },
|
|
6582
|
+
{ "title": "Report View Icon", "const": "ReportViewIcon" },
|
|
6583
|
+
{ "title": "Payout", "const": "Payout" }
|
|
6616
6584
|
]
|
|
6617
6585
|
},
|
|
6618
6586
|
color: {
|
|
@@ -6730,67 +6698,7 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6730
6698
|
},
|
|
6731
6699
|
{
|
|
6732
6700
|
type: "Control",
|
|
6733
|
-
scope: "#/properties/
|
|
6734
|
-
config: {
|
|
6735
|
-
layout: { xs: 6, sm: 6, md: 0, lg: 3 }
|
|
6736
|
-
},
|
|
6737
|
-
options: {
|
|
6738
|
-
widget: "EmptyBox"
|
|
6739
|
-
}
|
|
6740
|
-
},
|
|
6741
|
-
{
|
|
6742
|
-
type: "Control",
|
|
6743
|
-
scope: "#/properties/proc6",
|
|
6744
|
-
config: {
|
|
6745
|
-
layout: { xs: 6, sm: 6, md: 0, lg: 3 }
|
|
6746
|
-
},
|
|
6747
|
-
options: {
|
|
6748
|
-
widget: "EmptyBox"
|
|
6749
|
-
}
|
|
6750
|
-
},
|
|
6751
|
-
{
|
|
6752
|
-
type: "Control",
|
|
6753
|
-
scope: "#/properties/proc7",
|
|
6754
|
-
config: {
|
|
6755
|
-
layout: { xs: 6, sm: 6, md: 0, lg: 3 }
|
|
6756
|
-
},
|
|
6757
|
-
options: {
|
|
6758
|
-
widget: "EmptyBox"
|
|
6759
|
-
}
|
|
6760
|
-
},
|
|
6761
|
-
{
|
|
6762
|
-
type: "Control",
|
|
6763
|
-
scope: "#/properties/proc8",
|
|
6764
|
-
config: {
|
|
6765
|
-
layout: { xs: 6, sm: 6, md: 0, lg: 3 }
|
|
6766
|
-
},
|
|
6767
|
-
options: {
|
|
6768
|
-
widget: "EmptyBox"
|
|
6769
|
-
}
|
|
6770
|
-
},
|
|
6771
|
-
{
|
|
6772
|
-
type: "Control",
|
|
6773
|
-
scope: "#/properties/proc9",
|
|
6774
|
-
config: {
|
|
6775
|
-
layout: { xs: 6, sm: 6, md: 0, lg: 3 }
|
|
6776
|
-
},
|
|
6777
|
-
options: {
|
|
6778
|
-
widget: "EmptyBox"
|
|
6779
|
-
}
|
|
6780
|
-
},
|
|
6781
|
-
{
|
|
6782
|
-
type: "Control",
|
|
6783
|
-
scope: "#/properties/proc10",
|
|
6784
|
-
config: {
|
|
6785
|
-
layout: { xs: 6, sm: 6, md: 0, lg: 3 }
|
|
6786
|
-
},
|
|
6787
|
-
options: {
|
|
6788
|
-
widget: "EmptyBox"
|
|
6789
|
-
}
|
|
6790
|
-
},
|
|
6791
|
-
{
|
|
6792
|
-
type: "Control",
|
|
6793
|
-
scope: "#/properties/proc11",
|
|
6701
|
+
scope: "#/properties/proc",
|
|
6794
6702
|
config: {
|
|
6795
6703
|
layout: { xs: 6, sm: 6, md: 0, lg: 3 }
|
|
6796
6704
|
},
|
|
@@ -7310,76 +7218,6 @@ const CoreSection = {
|
|
|
7310
7218
|
}
|
|
7311
7219
|
}
|
|
7312
7220
|
},
|
|
7313
|
-
{
|
|
7314
|
-
type: "Control",
|
|
7315
|
-
scope: "#/properties/proc5",
|
|
7316
|
-
config: {
|
|
7317
|
-
layout: { xs: 6, sm: 6, md: 0, lg: 3 }
|
|
7318
|
-
},
|
|
7319
|
-
options: {
|
|
7320
|
-
widget: "EmptyBox"
|
|
7321
|
-
}
|
|
7322
|
-
},
|
|
7323
|
-
{
|
|
7324
|
-
type: "Control",
|
|
7325
|
-
scope: "#/properties/proc6",
|
|
7326
|
-
config: {
|
|
7327
|
-
layout: { xs: 6, sm: 6, md: 0, lg: 3 }
|
|
7328
|
-
},
|
|
7329
|
-
options: {
|
|
7330
|
-
widget: "EmptyBox"
|
|
7331
|
-
}
|
|
7332
|
-
},
|
|
7333
|
-
{
|
|
7334
|
-
type: "Control",
|
|
7335
|
-
scope: "#/properties/proc7",
|
|
7336
|
-
config: {
|
|
7337
|
-
layout: { xs: 6, sm: 6, md: 0, lg: 3 }
|
|
7338
|
-
},
|
|
7339
|
-
options: {
|
|
7340
|
-
widget: "EmptyBox"
|
|
7341
|
-
}
|
|
7342
|
-
},
|
|
7343
|
-
{
|
|
7344
|
-
type: "Control",
|
|
7345
|
-
scope: "#/properties/proc8",
|
|
7346
|
-
config: {
|
|
7347
|
-
layout: { xs: 6, sm: 6, md: 0, lg: 3 }
|
|
7348
|
-
},
|
|
7349
|
-
options: {
|
|
7350
|
-
widget: "EmptyBox"
|
|
7351
|
-
}
|
|
7352
|
-
},
|
|
7353
|
-
{
|
|
7354
|
-
type: "Control",
|
|
7355
|
-
scope: "#/properties/proc9",
|
|
7356
|
-
config: {
|
|
7357
|
-
layout: { xs: 6, sm: 6, md: 0, lg: 3 }
|
|
7358
|
-
},
|
|
7359
|
-
options: {
|
|
7360
|
-
widget: "EmptyBox"
|
|
7361
|
-
}
|
|
7362
|
-
},
|
|
7363
|
-
{
|
|
7364
|
-
type: "Control",
|
|
7365
|
-
scope: "#/properties/proc10",
|
|
7366
|
-
config: {
|
|
7367
|
-
layout: { xs: 6, sm: 6, md: 0, lg: 3 }
|
|
7368
|
-
},
|
|
7369
|
-
options: {
|
|
7370
|
-
widget: "EmptyBox"
|
|
7371
|
-
}
|
|
7372
|
-
},
|
|
7373
|
-
{
|
|
7374
|
-
type: "Control",
|
|
7375
|
-
scope: "#/properties/proc11",
|
|
7376
|
-
config: {
|
|
7377
|
-
layout: { xs: 6, sm: 6, md: 0, lg: 3 }
|
|
7378
|
-
},
|
|
7379
|
-
options: {
|
|
7380
|
-
widget: "EmptyBox"
|
|
7381
|
-
}
|
|
7382
|
-
},
|
|
7383
7221
|
{
|
|
7384
7222
|
type: "Control",
|
|
7385
7223
|
scope: "#/properties/proc",
|
|
@@ -7994,9 +7832,11 @@ const buildPropertiesSection = function(type) {
|
|
|
7994
7832
|
getInputField("heading", "Heading"),
|
|
7995
7833
|
getSelectField("graphType", "Graph Type"),
|
|
7996
7834
|
getInputField("leftLabel", "Left Label"),
|
|
7835
|
+
getRadioInputField("disableLeftLabel", "Disable Left Label", ["YES", "No"]),
|
|
7997
7836
|
getInputField("bottomLabel", "Bottom Label"),
|
|
7998
7837
|
emptyBox$1("GraphEmpty1", { xs: 6, sm: 0, md: 0, lg: 0 }),
|
|
7999
7838
|
getRadioInputField("legendHide", "Legend Hide", ["YES", "No"]),
|
|
7839
|
+
getRadioInputField("legendDirection", "Legend Direction", ["Row", "Column"]),
|
|
8000
7840
|
getInputField("yAxisValue", "Y-AxisValue"),
|
|
8001
7841
|
getInputField("xAxisValue", "X-AxisValue"),
|
|
8002
7842
|
getRadioInputField("bottomAxisAngle", "Bottom Axis Angled", ["YES", "No"]),
|
|
@@ -8721,29 +8561,21 @@ function refreshPage(type, store2) {
|
|
|
8721
8561
|
}
|
|
8722
8562
|
}
|
|
8723
8563
|
};
|
|
8724
|
-
|
|
8564
|
+
}
|
|
8565
|
+
if ((parentObj == null ? void 0 : parentObj.type) === "LeaderBoard") {
|
|
8566
|
+
UiSchema.elements[0].elements[0].elements[4] = {
|
|
8725
8567
|
type: "Control",
|
|
8726
|
-
scope: "#/properties/
|
|
8568
|
+
scope: "#/properties/columnFormat",
|
|
8727
8569
|
options: {
|
|
8728
8570
|
widget: "SelectInputField"
|
|
8729
8571
|
},
|
|
8730
8572
|
config: {
|
|
8731
8573
|
layout: { xs: 6, sm: 6, md: 4, lg: 3 },
|
|
8732
8574
|
main: {
|
|
8733
|
-
label: "
|
|
8575
|
+
label: "Column Format"
|
|
8734
8576
|
}
|
|
8735
8577
|
}
|
|
8736
8578
|
};
|
|
8737
|
-
UiSchema.elements[0].elements[0].elements[11] = {
|
|
8738
|
-
type: "Control",
|
|
8739
|
-
scope: "#/properties/emptyBox",
|
|
8740
|
-
options: {
|
|
8741
|
-
widget: "EmptyBox"
|
|
8742
|
-
},
|
|
8743
|
-
config: {
|
|
8744
|
-
layout: { xs: 0, sm: 0, md: 0, lg: 6 }
|
|
8745
|
-
}
|
|
8746
|
-
};
|
|
8747
8579
|
}
|
|
8748
8580
|
if (sessionStorage.getItem("copiedConfig")) {
|
|
8749
8581
|
this.ElementPathSetter(UiSchema);
|
|
@@ -10617,34 +10449,26 @@ var service = (funcParams) => {
|
|
|
10617
10449
|
return response == null ? void 0 : response.data;
|
|
10618
10450
|
}
|
|
10619
10451
|
},
|
|
10620
|
-
onChange: function() {
|
|
10621
|
-
if (
|
|
10622
|
-
|
|
10623
|
-
|
|
10624
|
-
|
|
10625
|
-
|
|
10626
|
-
|
|
10627
|
-
|
|
10628
|
-
|
|
10629
|
-
|
|
10630
|
-
|
|
10631
|
-
|
|
10632
|
-
|
|
10633
|
-
|
|
10634
|
-
|
|
10635
|
-
|
|
10636
|
-
})
|
|
10637
|
-
).then(() => {
|
|
10638
|
-
if (!lodash.exports.isEmpty(formDataHolder)) {
|
|
10639
|
-
funcParams.store.setFormdata((pre) => ({
|
|
10640
|
-
...pre,
|
|
10641
|
-
...formDataHolder
|
|
10642
|
-
}));
|
|
10452
|
+
onChange: async function() {
|
|
10453
|
+
if (eventGroups.onChange) {
|
|
10454
|
+
const ChangeEventsKeysArray = Object.keys(eventGroups.onChange);
|
|
10455
|
+
Promise.all(ChangeEventsKeysArray.map(async (componentName) => {
|
|
10456
|
+
var _a, _b;
|
|
10457
|
+
if (((_a = funcParams.store) == null ? void 0 : _a.formData[componentName]) !== funcParams.store.newData[componentName] && ((_b = funcParams.store) == null ? void 0 : _b.newData[componentName]) !== void 0) {
|
|
10458
|
+
for (const eventConfig of eventGroups.onChange[componentName]) {
|
|
10459
|
+
await executeEvents({
|
|
10460
|
+
...executeEventsParameters,
|
|
10461
|
+
config: eventConfig,
|
|
10462
|
+
componentName,
|
|
10463
|
+
formDataHolder
|
|
10464
|
+
});
|
|
10465
|
+
if (eventConfig.Handler === "refresh") {
|
|
10466
|
+
funcParams.store.setFormdata((pre) => ({ ...pre, ...formDataHolder }));
|
|
10467
|
+
}
|
|
10643
10468
|
}
|
|
10644
|
-
}
|
|
10645
|
-
);
|
|
10646
|
-
}
|
|
10647
|
-
Promise.allSettled(promises);
|
|
10469
|
+
}
|
|
10470
|
+
}));
|
|
10471
|
+
}
|
|
10648
10472
|
},
|
|
10649
10473
|
callExecuteEvents: async function(paramValue, apiBody, eventType) {
|
|
10650
10474
|
var _a, _b;
|
|
@@ -10696,29 +10520,29 @@ var service = (funcParams) => {
|
|
|
10696
10520
|
}
|
|
10697
10521
|
},
|
|
10698
10522
|
callHandler: function(eventType, functionParameters) {
|
|
10699
|
-
var _a, _b;
|
|
10700
|
-
const path = ((_a = funcParams.dynamicData) == null ? void 0 : _a.tableButtonPath) || funcParams.dynamicData.path.split(".").
|
|
10701
|
-
if (
|
|
10702
|
-
|
|
10703
|
-
|
|
10704
|
-
|
|
10705
|
-
|
|
10706
|
-
|
|
10707
|
-
|
|
10708
|
-
|
|
10709
|
-
|
|
10710
|
-
|
|
10711
|
-
|
|
10712
|
-
|
|
10713
|
-
|
|
10714
|
-
|
|
10715
|
-
...
|
|
10716
|
-
|
|
10717
|
-
|
|
10523
|
+
var _a, _b, _c;
|
|
10524
|
+
const path = ((_a = funcParams.dynamicData) == null ? void 0 : _a.tableButtonPath) || funcParams.dynamicData.path.split(".")[funcParams.dynamicData.path.split(".").length - 1];
|
|
10525
|
+
if (((_b = eventGroups == null ? void 0 : eventGroups[eventType]) == null ? void 0 : _b[path]) !== void 0) {
|
|
10526
|
+
(_c = eventGroups == null ? void 0 : eventGroups[eventType]) == null ? void 0 : _c[path].map((eventConfig) => {
|
|
10527
|
+
executeEventsParameters.store.functionParameters = functionParameters;
|
|
10528
|
+
if (eventConfig.Handler === "refresh") {
|
|
10529
|
+
executeEvents({
|
|
10530
|
+
...executeEventsParameters,
|
|
10531
|
+
config: eventConfig,
|
|
10532
|
+
componentName: path,
|
|
10533
|
+
formDataHolder
|
|
10534
|
+
}).then((res) => {
|
|
10535
|
+
funcParams.store.setFormdata((pre) => ({ ...pre, ...formDataHolder }));
|
|
10536
|
+
});
|
|
10537
|
+
} else {
|
|
10538
|
+
executeEvents({
|
|
10539
|
+
...executeEventsParameters,
|
|
10540
|
+
config: eventConfig,
|
|
10541
|
+
componentName: path
|
|
10542
|
+
});
|
|
10718
10543
|
}
|
|
10719
10544
|
});
|
|
10720
|
-
}
|
|
10721
|
-
Promise.allSettled(promises);
|
|
10545
|
+
}
|
|
10722
10546
|
},
|
|
10723
10547
|
downloadFile: downloadFile$1,
|
|
10724
10548
|
downloadFileFromUrl,
|
|
@@ -10912,6 +10736,9 @@ const buildHorizontalBarGraph = (config2, componentScope2) => {
|
|
|
10912
10736
|
if (config2.legendLabels) {
|
|
10913
10737
|
horizontalBarGraph.config.main.legendLabels = flatObjectValueInArray(config2.legendLabels);
|
|
10914
10738
|
}
|
|
10739
|
+
if (config2.legendDirection) {
|
|
10740
|
+
horizontalBarGraph.config.main.legendDirection = config2.legendDirection === "Row" ? "row" : "column";
|
|
10741
|
+
}
|
|
10915
10742
|
if (config2.pieArcColors) {
|
|
10916
10743
|
horizontalBarGraph.config.style.barStyle.colorRange = flatObjectValueInArray(config2.pieArcColors);
|
|
10917
10744
|
}
|
|
@@ -10932,6 +10759,9 @@ const buildHorizontalBarGraph = (config2, componentScope2) => {
|
|
|
10932
10759
|
if (config2.leftLabel) {
|
|
10933
10760
|
horizontalBarGraph.config.main.leftLabel = config2.leftLabel;
|
|
10934
10761
|
}
|
|
10762
|
+
if (config2.disableLeftLabel) {
|
|
10763
|
+
horizontalBarGraph.config.main.disableLeftLabel = config2.disableLeftLabel === "YES" ? true : false;
|
|
10764
|
+
}
|
|
10935
10765
|
return horizontalBarGraph;
|
|
10936
10766
|
};
|
|
10937
10767
|
var SpeedoMeter = {
|
|
@@ -11038,6 +10868,9 @@ const buildPieGraph = (config2, componentScope2) => {
|
|
|
11038
10868
|
if (config2.legendHide) {
|
|
11039
10869
|
pieGraph.config.main.legendAvailable = config2.legendHide === "YES" ? false : true;
|
|
11040
10870
|
}
|
|
10871
|
+
if (config2.legendDirection) {
|
|
10872
|
+
pieGraph.config.main.legendDirection = config2.legendDirection === "Row" ? "row" : "column";
|
|
10873
|
+
}
|
|
11041
10874
|
pieGraph.scope = componentScope2;
|
|
11042
10875
|
pieGraph.config.main.header = config2.heading;
|
|
11043
10876
|
if (config2.legendLabels) {
|
|
@@ -11061,6 +10894,9 @@ const buildStackbarGraph = (config2, componentScope2) => {
|
|
|
11061
10894
|
barGraph.config.main.legendAvailable = config2.legendHide;
|
|
11062
10895
|
barGraph.config.main.legendAvailable = config2.legendHide === "YES" ? false : true;
|
|
11063
10896
|
}
|
|
10897
|
+
if (config2.legendDirection) {
|
|
10898
|
+
barGraph.config.main.legendDirection = config2.legendDirection === "Row" ? "row" : "column";
|
|
10899
|
+
}
|
|
11064
10900
|
if (config2.bottomAxisAngle) {
|
|
11065
10901
|
barGraph.config.main.bottomAxisAngle = config2.bottomAxisAngle === "YES" ? true : false;
|
|
11066
10902
|
}
|
|
@@ -11089,6 +10925,9 @@ const buildStackbarGraph = (config2, componentScope2) => {
|
|
|
11089
10925
|
if (config2.leftLabel) {
|
|
11090
10926
|
barGraph.config.main.leftLabel = config2.leftLabel;
|
|
11091
10927
|
}
|
|
10928
|
+
if (config2.disableLeftLabel) {
|
|
10929
|
+
barGraph.config.main.disableLeftLabel = config2.disableLeftLabel === "YES" ? true : false;
|
|
10930
|
+
}
|
|
11092
10931
|
barGraph.scope = componentScope2;
|
|
11093
10932
|
return barGraph;
|
|
11094
10933
|
};
|
|
@@ -11630,14 +11469,24 @@ function Card(theme) {
|
|
|
11630
11469
|
style: {
|
|
11631
11470
|
color: "black",
|
|
11632
11471
|
display: "flex",
|
|
11633
|
-
fontSize: { xs: "24px", md: "
|
|
11472
|
+
fontSize: { xs: "24px", md: "25px" },
|
|
11634
11473
|
fontWeight: "bold",
|
|
11635
11474
|
background: "inherit",
|
|
11636
11475
|
justifyContent: "flex-start",
|
|
11637
11476
|
width: "auto",
|
|
11638
11477
|
margin: "-8px",
|
|
11478
|
+
marginTop: "-6px",
|
|
11639
11479
|
position: "absolute",
|
|
11640
|
-
left: "
|
|
11480
|
+
left: "7px",
|
|
11481
|
+
whiteSpace: "nowrap",
|
|
11482
|
+
overflowX: "auto",
|
|
11483
|
+
overflowY: "hidden",
|
|
11484
|
+
scrollbarWidth: "none",
|
|
11485
|
+
msOverflowStyle: "none",
|
|
11486
|
+
maxWidth: "calc(100% + 20px)",
|
|
11487
|
+
"&::-webkit-scrollbar": {
|
|
11488
|
+
display: "none"
|
|
11489
|
+
}
|
|
11641
11490
|
}
|
|
11642
11491
|
},
|
|
11643
11492
|
options: {
|
|
@@ -12033,9 +11882,15 @@ const buildLineGraph = (config2, componentScope2) => {
|
|
|
12033
11882
|
if (config2.leftLabel) {
|
|
12034
11883
|
lineGraph.config.main.leftLabel = config2.leftLabel;
|
|
12035
11884
|
}
|
|
11885
|
+
if (config2.disableLeftLabel) {
|
|
11886
|
+
lineGraph.config.main.disableLeftLabel = config2.disableLeftLabel === "YES" ? true : false;
|
|
11887
|
+
}
|
|
12036
11888
|
if (config2.legendHide) {
|
|
12037
11889
|
lineGraph.config.main.legendAvailable = config2.legendHide === "YES" ? false : true;
|
|
12038
11890
|
}
|
|
11891
|
+
if (config2.legendDirection) {
|
|
11892
|
+
lineGraph.config.main.legendDirection = config2.legendDirection === "Row" ? "row" : "column";
|
|
11893
|
+
}
|
|
12039
11894
|
if (config2.bottomAxisAngle) {
|
|
12040
11895
|
lineGraph.config.main.bottomAxisAngle = config2.bottomAxisAngle === "YES" ? true : false;
|
|
12041
11896
|
}
|
|
@@ -12750,7 +12605,17 @@ const buildUiSchema = (config2, store2) => {
|
|
|
12750
12605
|
}
|
|
12751
12606
|
if (config2 == null ? void 0 : config2.elements) {
|
|
12752
12607
|
if ((config2 == null ? void 0 : config2.type) === "LeaderBoard") {
|
|
12753
|
-
|
|
12608
|
+
const rowElements = [];
|
|
12609
|
+
config2.elements.filter((cellElem, elemInd) => {
|
|
12610
|
+
const commonProperties = {
|
|
12611
|
+
accessorKey: cellElem.name,
|
|
12612
|
+
type: cellElem.type === "ColumnGroup" ? "ColumnGroup" : cellElem.columnFormat,
|
|
12613
|
+
header: cellElem.label || cellElem.name,
|
|
12614
|
+
columnKey: cellElem.columnKey
|
|
12615
|
+
};
|
|
12616
|
+
rowElements.push({ ...commonProperties });
|
|
12617
|
+
});
|
|
12618
|
+
elements.elements = rowElements;
|
|
12754
12619
|
} else if (config2.type == "ColumnGroup") {
|
|
12755
12620
|
const sizeMap = {};
|
|
12756
12621
|
if (config2.sizeHolder) {
|
|
@@ -12767,8 +12632,7 @@ const buildUiSchema = (config2, store2) => {
|
|
|
12767
12632
|
enableColumnFilter: cellElem.enableFilter === "No" ? false : true,
|
|
12768
12633
|
columnFilterModeOptions: cellElem.filteringOptions,
|
|
12769
12634
|
enableSorting: cellElem.enableSorting === "No" ? false : true,
|
|
12770
|
-
columnKey: cellElem.columnKey
|
|
12771
|
-
dateFormat: cellElem.dateFormat
|
|
12635
|
+
columnKey: cellElem.columnKey
|
|
12772
12636
|
};
|
|
12773
12637
|
if (cellElem.type) {
|
|
12774
12638
|
const tableElem = {
|
|
@@ -12800,8 +12664,7 @@ const buildUiSchema = (config2, store2) => {
|
|
|
12800
12664
|
enableColumnFilter: cellElem.enableFilter === "No" ? false : true,
|
|
12801
12665
|
columnFilterModeOptions: cellElem.filteringOptions,
|
|
12802
12666
|
enableSorting: cellElem.enableSorting === "No" ? false : true,
|
|
12803
|
-
columnKey: cellElem.columnKey
|
|
12804
|
-
dateFormat: cellElem.dateFormat
|
|
12667
|
+
columnKey: cellElem.columnKey
|
|
12805
12668
|
};
|
|
12806
12669
|
if (cellElem.type) {
|
|
12807
12670
|
if (cellElem.elementType == "action") {
|