impaktapps-ui-builder 1.0.131 → 1.0.133
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 +89 -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 +102 -80
- package/src/impaktapps-ui-builder/builder/services/component.ts +23 -0
|
@@ -6277,6 +6277,35 @@ 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
|
+
},
|
|
6280
6309
|
variant: {
|
|
6281
6310
|
oneOf: [
|
|
6282
6311
|
{ title: "Outlined", const: "outlined" },
|
|
@@ -6528,7 +6557,10 @@ const ComponentSchema = {
|
|
|
6528
6557
|
{ title: "Line Graph", const: "LineGraph" },
|
|
6529
6558
|
{ title: "Pie Graph", const: "PieGraph" },
|
|
6530
6559
|
{ title: "Horizontal Bar Graph", const: "HorizontalBarGraph" },
|
|
6531
|
-
{
|
|
6560
|
+
{
|
|
6561
|
+
title: "Stack Horizontal Bar Graph",
|
|
6562
|
+
const: "HorizontalStackBarGraph"
|
|
6563
|
+
}
|
|
6532
6564
|
]
|
|
6533
6565
|
},
|
|
6534
6566
|
iconName: {
|
|
@@ -6552,35 +6584,35 @@ const ComponentSchema = {
|
|
|
6552
6584
|
{ title: "Download Icon", const: "DownloadIcon" },
|
|
6553
6585
|
{ title: "Download All Icon", const: "DownloadAllIcon" },
|
|
6554
6586
|
{ 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
|
-
{
|
|
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" }
|
|
6584
6616
|
]
|
|
6585
6617
|
},
|
|
6586
6618
|
color: {
|
|
@@ -8689,6 +8721,29 @@ function refreshPage(type, store2) {
|
|
|
8689
8721
|
}
|
|
8690
8722
|
}
|
|
8691
8723
|
};
|
|
8724
|
+
UiSchema.elements[0].elements[0].elements[10] = {
|
|
8725
|
+
type: "Control",
|
|
8726
|
+
scope: "#/properties/dateFormat",
|
|
8727
|
+
options: {
|
|
8728
|
+
widget: "SelectInputField"
|
|
8729
|
+
},
|
|
8730
|
+
config: {
|
|
8731
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 3 },
|
|
8732
|
+
main: {
|
|
8733
|
+
label: "Date Time Format"
|
|
8734
|
+
}
|
|
8735
|
+
}
|
|
8736
|
+
};
|
|
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
|
+
};
|
|
8692
8747
|
}
|
|
8693
8748
|
if (sessionStorage.getItem("copiedConfig")) {
|
|
8694
8749
|
this.ElementPathSetter(UiSchema);
|
|
@@ -12712,7 +12767,8 @@ const buildUiSchema = (config2, store2) => {
|
|
|
12712
12767
|
enableColumnFilter: cellElem.enableFilter === "No" ? false : true,
|
|
12713
12768
|
columnFilterModeOptions: cellElem.filteringOptions,
|
|
12714
12769
|
enableSorting: cellElem.enableSorting === "No" ? false : true,
|
|
12715
|
-
columnKey: cellElem.columnKey
|
|
12770
|
+
columnKey: cellElem.columnKey,
|
|
12771
|
+
dateFormat: cellElem.dateFormat
|
|
12716
12772
|
};
|
|
12717
12773
|
if (cellElem.type) {
|
|
12718
12774
|
const tableElem = {
|
|
@@ -12744,7 +12800,8 @@ const buildUiSchema = (config2, store2) => {
|
|
|
12744
12800
|
enableColumnFilter: cellElem.enableFilter === "No" ? false : true,
|
|
12745
12801
|
columnFilterModeOptions: cellElem.filteringOptions,
|
|
12746
12802
|
enableSorting: cellElem.enableSorting === "No" ? false : true,
|
|
12747
|
-
columnKey: cellElem.columnKey
|
|
12803
|
+
columnKey: cellElem.columnKey,
|
|
12804
|
+
dateFormat: cellElem.dateFormat
|
|
12748
12805
|
};
|
|
12749
12806
|
if (cellElem.type) {
|
|
12750
12807
|
if (cellElem.elementType == "action") {
|