impaktapps-ui-builder 1.0.131 → 1.0.132
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 +91 -32
- 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/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +4 -2
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +104 -80
- package/src/impaktapps-ui-builder/builder/services/component.ts +23 -0
|
@@ -6277,6 +6277,37 @@ 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: "Time (24h) \u2014 HH:mm:ss", const: "HH:mm:ss" },
|
|
6306
|
+
{ title: "Time (12h) \u2014 hh:mm:ss A", const: "hh:mm:ss A" },
|
|
6307
|
+
{ title: "Epoch (Milliseconds)", const: "x" },
|
|
6308
|
+
{ title: "Epoch (Seconds)", const: "X" }
|
|
6309
|
+
]
|
|
6310
|
+
},
|
|
6280
6311
|
variant: {
|
|
6281
6312
|
oneOf: [
|
|
6282
6313
|
{ title: "Outlined", const: "outlined" },
|
|
@@ -6528,7 +6559,10 @@ const ComponentSchema = {
|
|
|
6528
6559
|
{ title: "Line Graph", const: "LineGraph" },
|
|
6529
6560
|
{ title: "Pie Graph", const: "PieGraph" },
|
|
6530
6561
|
{ title: "Horizontal Bar Graph", const: "HorizontalBarGraph" },
|
|
6531
|
-
{
|
|
6562
|
+
{
|
|
6563
|
+
title: "Stack Horizontal Bar Graph",
|
|
6564
|
+
const: "HorizontalStackBarGraph"
|
|
6565
|
+
}
|
|
6532
6566
|
]
|
|
6533
6567
|
},
|
|
6534
6568
|
iconName: {
|
|
@@ -6552,35 +6586,35 @@ const ComponentSchema = {
|
|
|
6552
6586
|
{ title: "Download Icon", const: "DownloadIcon" },
|
|
6553
6587
|
{ title: "Download All Icon", const: "DownloadAllIcon" },
|
|
6554
6588
|
{ title: "Exception Icon", const: "ExceptionIcon" },
|
|
6555
|
-
{
|
|
6556
|
-
{
|
|
6557
|
-
{
|
|
6558
|
-
{
|
|
6559
|
-
{
|
|
6560
|
-
{
|
|
6561
|
-
{
|
|
6562
|
-
{
|
|
6563
|
-
{
|
|
6564
|
-
{
|
|
6565
|
-
{
|
|
6566
|
-
{
|
|
6567
|
-
{
|
|
6568
|
-
{
|
|
6569
|
-
{
|
|
6570
|
-
{
|
|
6571
|
-
{
|
|
6572
|
-
{
|
|
6573
|
-
{
|
|
6574
|
-
{
|
|
6575
|
-
{
|
|
6576
|
-
{
|
|
6577
|
-
{
|
|
6578
|
-
{
|
|
6579
|
-
{
|
|
6580
|
-
{
|
|
6581
|
-
{
|
|
6582
|
-
{
|
|
6583
|
-
{
|
|
6589
|
+
{ title: "Alarm Icon", const: "AlarmIcon" },
|
|
6590
|
+
{ title: "Click Icon", const: "ClickIcon" },
|
|
6591
|
+
{ title: "Content Copy Icon", const: "ContentCopyIcon" },
|
|
6592
|
+
{ title: "File Copy Icon", const: "FileCopyIcon" },
|
|
6593
|
+
{ title: "Pause Icon", const: "PauseIcon" },
|
|
6594
|
+
{ title: "Play Icon", const: "PlayIcon" },
|
|
6595
|
+
{ title: "Close Icon", const: "CloseIcon" },
|
|
6596
|
+
{ title: "Replay Icon", const: "ReplayIcon" },
|
|
6597
|
+
{ title: "Delete Icon", const: "DeleteIcon" },
|
|
6598
|
+
{ title: "Drafts Icon", const: "DraftsIcon" },
|
|
6599
|
+
{ title: "Perm Phone Msg Icon", const: "PermPhoneMsgIcon" },
|
|
6600
|
+
{ title: "Paste Icon", const: "PasteIcon" },
|
|
6601
|
+
{ title: "Prev Icon", const: "PrevIcon" },
|
|
6602
|
+
{ title: "Verified Icon", const: "VerifiedIcon" },
|
|
6603
|
+
{ title: "Table Add Icon", const: "TableAddIcon" },
|
|
6604
|
+
{ title: "Table Download Icon", const: "TableDownloadIcon" },
|
|
6605
|
+
{ title: "Audit Trail Icon", const: "AuditTrailIcon" },
|
|
6606
|
+
{ title: "View Component", const: "View" },
|
|
6607
|
+
{ title: "Table Edit Icon", const: "TableEditIcon" },
|
|
6608
|
+
{ title: "Maximize Icon", const: "Maximize" },
|
|
6609
|
+
{ title: "Minimize Icon", const: "Minimize" },
|
|
6610
|
+
{ title: "Subtract Icon", const: "Subtract" },
|
|
6611
|
+
{ title: "Bin Icon", const: "Bin" },
|
|
6612
|
+
{ title: "Export Icon", const: "Export" },
|
|
6613
|
+
{ title: "Table Paste Icon", const: "TablePaste" },
|
|
6614
|
+
{ title: "Clone Icon", const: "CloneIcon" },
|
|
6615
|
+
{ title: "Detail Icon", const: "DetailIcon" },
|
|
6616
|
+
{ title: "Report View Icon", const: "ReportViewIcon" },
|
|
6617
|
+
{ title: "Payout", const: "Payout" }
|
|
6584
6618
|
]
|
|
6585
6619
|
},
|
|
6586
6620
|
color: {
|
|
@@ -8689,6 +8723,29 @@ function refreshPage(type, store2) {
|
|
|
8689
8723
|
}
|
|
8690
8724
|
}
|
|
8691
8725
|
};
|
|
8726
|
+
UiSchema.elements[0].elements[0].elements[10] = {
|
|
8727
|
+
type: "Control",
|
|
8728
|
+
scope: "#/properties/dateFormat",
|
|
8729
|
+
options: {
|
|
8730
|
+
widget: "SelectInputField"
|
|
8731
|
+
},
|
|
8732
|
+
config: {
|
|
8733
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 3 },
|
|
8734
|
+
main: {
|
|
8735
|
+
label: "Date Time Format"
|
|
8736
|
+
}
|
|
8737
|
+
}
|
|
8738
|
+
};
|
|
8739
|
+
UiSchema.elements[0].elements[0].elements[11] = {
|
|
8740
|
+
type: "Control",
|
|
8741
|
+
scope: "#/properties/emptyBox",
|
|
8742
|
+
options: {
|
|
8743
|
+
widget: "EmptyBox"
|
|
8744
|
+
},
|
|
8745
|
+
config: {
|
|
8746
|
+
layout: { xs: 0, sm: 0, md: 0, lg: 6 }
|
|
8747
|
+
}
|
|
8748
|
+
};
|
|
8692
8749
|
}
|
|
8693
8750
|
if (sessionStorage.getItem("copiedConfig")) {
|
|
8694
8751
|
this.ElementPathSetter(UiSchema);
|
|
@@ -12712,7 +12769,8 @@ const buildUiSchema = (config2, store2) => {
|
|
|
12712
12769
|
enableColumnFilter: cellElem.enableFilter === "No" ? false : true,
|
|
12713
12770
|
columnFilterModeOptions: cellElem.filteringOptions,
|
|
12714
12771
|
enableSorting: cellElem.enableSorting === "No" ? false : true,
|
|
12715
|
-
columnKey: cellElem.columnKey
|
|
12772
|
+
columnKey: cellElem.columnKey,
|
|
12773
|
+
dateFormat: cellElem.dateFormat
|
|
12716
12774
|
};
|
|
12717
12775
|
if (cellElem.type) {
|
|
12718
12776
|
const tableElem = {
|
|
@@ -12744,7 +12802,8 @@ const buildUiSchema = (config2, store2) => {
|
|
|
12744
12802
|
enableColumnFilter: cellElem.enableFilter === "No" ? false : true,
|
|
12745
12803
|
columnFilterModeOptions: cellElem.filteringOptions,
|
|
12746
12804
|
enableSorting: cellElem.enableSorting === "No" ? false : true,
|
|
12747
|
-
columnKey: cellElem.columnKey
|
|
12805
|
+
columnKey: cellElem.columnKey,
|
|
12806
|
+
dateFormat: cellElem.dateFormat
|
|
12748
12807
|
};
|
|
12749
12808
|
if (cellElem.type) {
|
|
12750
12809
|
if (cellElem.elementType == "action") {
|