@feedmepos/mf-report 5.25.8 → 5.25.9-beta.0
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/{App-DVBc1rc0.js → App-CvfAIGi0.js} +60 -60
- package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-BRmKJJvc.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-CikMjcf8.js} +1 -1
- package/dist/{Default.vue_vue_type_script_setup_true_lang-BUtavZIl.js → Default.vue_vue_type_script_setup_true_lang-CMFuwutX.js} +1 -1
- package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-OIREDq6T.js → DynamicWidget.vue_vue_type_script_setup_true_lang-BKIOPoT9.js} +3 -3
- package/dist/{GlobalFilterSelect.vue_vue_type_script_setup_true_lang-ZAOWE1vp.js → GlobalFilterSelect.vue_vue_type_script_setup_true_lang-RfsNkCBn.js} +865 -865
- package/dist/{InsightView-DctjGEzr.js → InsightView-BmxZDQjU.js} +4 -4
- package/dist/{Integration-CRd2_O5E.js → Integration-Bq0MQnW4.js} +1629 -1606
- package/dist/{Integrations-CpMUHiCw.js → Integrations-9Lk2WKsY.js} +2 -2
- package/dist/{Layout-DSXNbHHe.js → Layout-C5_ewFcc.js} +1 -1
- package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-YjXH8vPq.js → MenuTab.vue_vue_type_script_setup_true_lang-DWnIs2Sd.js} +4 -4
- package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-Ck7HaJRh.js → NavigationTab.vue_vue_type_script_setup_true_lang-DbJ5LLvg.js} +3 -3
- package/dist/{OverviewView-CLICdzyH.js → OverviewView-CqGkqNVc.js} +4 -4
- package/dist/{Report-BvGQUoQF.js → Report-B1EsTIrH.js} +3 -3
- package/dist/{ReportEditor-CIV7Sd_d.js → ReportEditor-8t8sc6bo.js} +3 -3
- package/dist/{ReportView-ClTsRfJG.js → ReportView-DzHwofIp.js} +6 -6
- package/dist/{Setting-BYtSIDjs.js → Setting-CNFz3NdB.js} +3 -3
- package/dist/{Template-BVGvD8vx.js → Template-DCDTM3sC.js} +3 -3
- package/dist/{TileEditor-n1lS7iNk.js → TileEditor-POTmkH5n.js} +5 -5
- package/dist/{TransitionFade-Dfm-zjeX.js → TransitionFade-DPgqo8Ow.js} +4 -4
- package/dist/{app-DMXIz8ol.js → app-BnTCFG7r.js} +202 -186
- package/dist/app.js +1 -1
- package/dist/{useRestaurantPermission-DV3xL5r9.js → useRestaurantPermission-D57NsBQF.js} +1 -1
- package/package.json +1 -1
|
@@ -426,6 +426,10 @@ const mn = {
|
|
|
426
426
|
add: "@:report.common.add @:report.integration.title",
|
|
427
427
|
lastUploadDate: "Last auto upload date",
|
|
428
428
|
lastEmailDate: "Last auto email date",
|
|
429
|
+
startSyncDate: "Start sync by",
|
|
430
|
+
startSyncDateHint: "Serve as a reference date to know where to begin syncing. Without this, auto-upload cannot start.",
|
|
431
|
+
startSyncDateLocked: "Syncing started, subsequent uploads follow the last upload date automatically.",
|
|
432
|
+
startSyncDateNotConfigured: "Start date not configured. Please set a sync start date in the integration settings.",
|
|
429
433
|
noData: {
|
|
430
434
|
title: "No integration",
|
|
431
435
|
description: "No integration can be found"
|
|
@@ -1058,11 +1062,11 @@ const mn = {
|
|
|
1058
1062
|
"Refund ID": "@.capitalize:{'report.dynamic.common.refund'} @:{'report.dynamic.common.id'}",
|
|
1059
1063
|
Type: "@.capitalize:{'report.dynamic.common.type'}",
|
|
1060
1064
|
"Refund approver": "@.capitalize:{'report.dynamic.common.refund'} approver",
|
|
1061
|
-
"Refund user": "@.capitalize:{'report.dynamic.common.refund'}
|
|
1065
|
+
"Refund user": "@.capitalize:{'report.dynamic.common.refund'} @:{'report.dynamic.common.user'}",
|
|
1062
1066
|
"Refund reason": "@.capitalize:{'report.dynamic.common.refund'} @:{'report.dynamic.common.reason'}",
|
|
1063
1067
|
"Member ID": "@.capitalize:{'report.dynamic.schema.Member'} @:{'report.dynamic.common.id'}",
|
|
1064
|
-
"Member user ID": "@.capitalize:{'report.dynamic.schema.Member'}
|
|
1065
|
-
"Member name": "@.capitalize:{'report.dynamic.schema.Member'}
|
|
1068
|
+
"Member user ID": "@.capitalize:{'report.dynamic.schema.Member'} @:{'report.dynamic.common.user'} @:{'report.dynamic.common.id'}",
|
|
1069
|
+
"Member name": "@.capitalize:{'report.dynamic.schema.Member'} @:{'report.dynamic.common.name'}",
|
|
1066
1070
|
Remark: "Remark",
|
|
1067
1071
|
Source: "Source",
|
|
1068
1072
|
"POS Override Item Log": "POS @.capitalize:{'report.dynamic.common.override'} @.capitalize:{'report.dynamic.common.item'} @.capitalize:{'report.dynamic.common.log'}",
|
|
@@ -1111,7 +1115,7 @@ const mn = {
|
|
|
1111
1115
|
SC: "SC",
|
|
1112
1116
|
Pax: "Pax",
|
|
1113
1117
|
"Other charge": "Other @:{'report.dynamic.schema.Charge'}",
|
|
1114
|
-
"Gross w/ TAKEAWAY": "Gross w/
|
|
1118
|
+
"Gross w/ TAKEAWAY": "Gross w/ TAKEAWAY",
|
|
1115
1119
|
Takeaway: "@.capitalize:{'report.dynamic.common.takeaway'}",
|
|
1116
1120
|
"Extra charge": "Extra @:{'report.dynamic.schema.Charge'}",
|
|
1117
1121
|
"Delivery fee": "@.capitalize:{'report.dynamic.common.delivery'} fee",
|
|
@@ -1147,8 +1151,8 @@ const mn = {
|
|
|
1147
1151
|
"Service charge": "Service @:{'report.dynamic.schema.Charge'}",
|
|
1148
1152
|
"Short/Over": "Short/Over",
|
|
1149
1153
|
Group: "Group",
|
|
1150
|
-
"To Product": "To
|
|
1151
|
-
"Product Variant": "@.capitalize:{'report.dynamic.schema.Product'} @.
|
|
1154
|
+
"To Product": "To @.capitalize:{'report.dynamic.schema.Product'}",
|
|
1155
|
+
"Product Variant": "@.capitalize:{'report.dynamic.schema.Product'} @.capitalize:{'report.dynamic.common.variant'}",
|
|
1152
1156
|
"Product ID": "@.capitalize:{'report.dynamic.schema.Product'} @:{'report.dynamic.common.id'}",
|
|
1153
1157
|
"Variant ID": "@.capitalize:{'report.dynamic.common.variant'} @:{'report.dynamic.common.id'}",
|
|
1154
1158
|
Variant: "@.capitalize:{'report.dynamic.common.variant'}",
|
|
@@ -1184,7 +1188,7 @@ const mn = {
|
|
|
1184
1188
|
"Layer takeaway price": "Layer @.capitalize:{'report.dynamic.common.takeaway'} @:{'report.dynamic.common.price'}",
|
|
1185
1189
|
"Layer tax total": "Layer @:{'report.dynamic.common.tax'} @:{'report.dynamic.common.total'}",
|
|
1186
1190
|
"Layer sc": "Layer sc",
|
|
1187
|
-
"Layer other charge": "Layer other
|
|
1191
|
+
"Layer other charge": "Layer other charge",
|
|
1188
1192
|
"Layer gross before charges": "Layer gross @:{'report.dynamic.common.before'} charges",
|
|
1189
1193
|
Qty: "@.capitalize:{'report.dynamic.common.qty'}",
|
|
1190
1194
|
"Per unit": "Per @:{'report.dynamic.common.unit'}",
|
|
@@ -1267,7 +1271,7 @@ const mn = {
|
|
|
1267
1271
|
"Supplier address postcode": "@.capitalize:{'report.dynamic.common.supplier'} @:{'report.dynamic.common.address'} postcode",
|
|
1268
1272
|
"Supplier address country": "@.capitalize:{'report.dynamic.common.supplier'} @:{'report.dynamic.common.address'} country",
|
|
1269
1273
|
"NetSuite ID": "NetSuite @:{'report.dynamic.common.id'}",
|
|
1270
|
-
"NetSuite Ref No": "NetSuite
|
|
1274
|
+
"NetSuite Ref No": "NetSuite @.capitalize:{'report.dynamic.common.ref'} No",
|
|
1271
1275
|
"Effective time": "Effective @:{'report.dynamic.common.time'}",
|
|
1272
1276
|
"Purchase order ID": "@.capitalize:{'report.dynamic.schema.Purchase order'} @:{'report.dynamic.common.id'}",
|
|
1273
1277
|
"SKU code": "@.capitalize:{'report.dynamic.common.sku'} @:{'report.dynamic.common.code'}",
|
|
@@ -1442,19 +1446,19 @@ const mn = {
|
|
|
1442
1446
|
Timestamp: "Timestamp",
|
|
1443
1447
|
"Inventory Adjustment SKU ID": "@.capitalize:{'report.dynamic.schema.Inventory'} Adjustment @:{'report.dynamic.common.sku'} @:{'report.dynamic.common.id'}",
|
|
1444
1448
|
"Qty x Unit": "@.capitalize:{'report.dynamic.common.qty'} x @.capitalize:{'report.dynamic.common.unit'}",
|
|
1445
|
-
"User Name": "@.capitalize:{'report.dynamic.schema.User'}
|
|
1446
|
-
"Move From Table": "Move
|
|
1447
|
-
"Move From Bill ID": "Move
|
|
1448
|
-
"Move From Bill No.": "Move
|
|
1449
|
-
"Move Time": "Move
|
|
1449
|
+
"User Name": "@.capitalize:{'report.dynamic.schema.User'} @.capitalize:{'report.dynamic.common.name'}",
|
|
1450
|
+
"Move From Table": "Move @.capitalize:{'report.dynamic.common.from'} @.capitalize:{'report.dynamic.schema.Table'}",
|
|
1451
|
+
"Move From Bill ID": "Move @.capitalize:{'report.dynamic.common.from'} @:{'report.dynamic.schema.Bill'} @:{'report.dynamic.common.id'}",
|
|
1452
|
+
"Move From Bill No.": "Move @.capitalize:{'report.dynamic.common.from'} @:{'report.dynamic.schema.Bill'} No.",
|
|
1453
|
+
"Move Time": "Move @.capitalize:{'report.dynamic.common.time'}",
|
|
1450
1454
|
"Bill count": "@.capitalize:{'report.dynamic.schema.Bill'} @:{'report.dynamic.common.count'}",
|
|
1451
|
-
"Bill nett": "@.capitalize:{'report.dynamic.schema.Bill'}
|
|
1455
|
+
"Bill nett": "@.capitalize:{'report.dynamic.schema.Bill'} nett",
|
|
1452
1456
|
"Item count": "Item @:{'report.dynamic.common.count'}",
|
|
1453
|
-
"Srvc charge": "
|
|
1457
|
+
"Srvc charge": "Srvc charge",
|
|
1454
1458
|
Spacer: "Spacer",
|
|
1455
|
-
"Void bill count": "Void
|
|
1456
|
-
"Draft bill count": "Draft
|
|
1457
|
-
"Draft bill nett": "Draft
|
|
1459
|
+
"Void bill count": "Void bill @:{'report.dynamic.common.count'}",
|
|
1460
|
+
"Draft bill count": "Draft bill @:{'report.dynamic.common.count'}",
|
|
1461
|
+
"Draft bill nett": "Draft bill nett",
|
|
1458
1462
|
Overview: "@.capitalize:{'report.dynamic.common.overview'}",
|
|
1459
1463
|
"Top products": "Top @:{'report.dynamic.common.product'}s",
|
|
1460
1464
|
Branches: "Branches",
|
|
@@ -1480,11 +1484,11 @@ const mn = {
|
|
|
1480
1484
|
Drawer: "@.capitalize:{'report.dynamic.schema.Drawer'}",
|
|
1481
1485
|
"User product sales": "@.capitalize:{'report.dynamic.common.user'} @:{'report.dynamic.common.product'} @:{'report.dynamic.common.sales'}",
|
|
1482
1486
|
Receipt: "Receipt",
|
|
1483
|
-
"Inventory adjustment": "@.capitalize:{'report.dynamic.schema.Inventory'}
|
|
1487
|
+
"Inventory adjustment": "@.capitalize:{'report.dynamic.schema.Inventory'} adjustment",
|
|
1484
1488
|
"Product unit": "@.capitalize:{'report.dynamic.common.product'} @:{'report.dynamic.common.unit'}",
|
|
1485
|
-
"Product by invoice": "@.capitalize:{'report.dynamic.common.product'} by
|
|
1486
|
-
"Counter records": "@.capitalize:{'report.dynamic.schema.Counter'}
|
|
1487
|
-
"Counter records - CASH": "@.capitalize:{'report.dynamic.schema.Counter'}
|
|
1489
|
+
"Product by invoice": "@.capitalize:{'report.dynamic.common.product'} by invoice",
|
|
1490
|
+
"Counter records": "@.capitalize:{'report.dynamic.schema.Counter'} records",
|
|
1491
|
+
"Counter records - CASH": "@.capitalize:{'report.dynamic.schema.Counter'} records - CASH",
|
|
1488
1492
|
Timesheet: "@.capitalize:{'report.dynamic.schema.Timesheet'}",
|
|
1489
1493
|
"Product sales": "@.capitalize:{'report.dynamic.common.product'} @:{'report.dynamic.common.sales'}",
|
|
1490
1494
|
"Product sales by time": "@.capitalize:{'report.dynamic.common.product'} @:{'report.dynamic.common.sales'} by @:{'report.dynamic.common.time'}",
|
|
@@ -1505,10 +1509,10 @@ const mn = {
|
|
|
1505
1509
|
"Credit transaction (V1)": "@.capitalize:{'report.dynamic.schema.Credit transaction'} (V1)",
|
|
1506
1510
|
"Credit transaction (V2)": "@.capitalize:{'report.dynamic.schema.Credit transaction'} (V2)",
|
|
1507
1511
|
"Member Dashboard": "@.capitalize:{'report.dynamic.schema.Member'} Dashboard",
|
|
1508
|
-
"Active members": "@.capitalize:{'report.dynamic.common.active'}
|
|
1509
|
-
"Average rating": "@.capitalize:{'report.dynamic.common.average'}
|
|
1512
|
+
"Active members": "@.capitalize:{'report.dynamic.common.active'} members",
|
|
1513
|
+
"Average rating": "@.capitalize:{'report.dynamic.common.average'} rating",
|
|
1510
1514
|
"Total revenue": "@.capitalize:{'report.dynamic.common.total'} @:{'report.dynamic.common.revenue'}",
|
|
1511
|
-
"Items ordered": "Items
|
|
1515
|
+
"Items ordered": "Items ordered",
|
|
1512
1516
|
Count: "@.capitalize:{'report.dynamic.common.count'}",
|
|
1513
1517
|
"Refunded receipt time": "Refunded receipt @:{'report.dynamic.common.time'}",
|
|
1514
1518
|
"Refunded receipt no.": "Refunded receipt no.",
|
|
@@ -1517,29 +1521,29 @@ const mn = {
|
|
|
1517
1521
|
"Finish cooking": "Finish cooking",
|
|
1518
1522
|
"Cooking time": "Cooking time",
|
|
1519
1523
|
"Preparation time": "Preparation time",
|
|
1520
|
-
"Top 10 members by revenue": "Top 10
|
|
1521
|
-
"Top 10 members by rating": "Top 10
|
|
1522
|
-
"Top 10 Members by No. Items Ordered": "Top 10
|
|
1523
|
-
"Age range": "Age
|
|
1524
|
+
"Top 10 members by revenue": "Top 10 members by @:{'report.dynamic.common.revenue'}",
|
|
1525
|
+
"Top 10 members by rating": "Top 10 members by rating",
|
|
1526
|
+
"Top 10 Members by No. Items Ordered": "Top 10 Members by No. Items Ordered",
|
|
1527
|
+
"Age range": "Age range",
|
|
1524
1528
|
Gender: "Gender",
|
|
1525
|
-
"Birthday month": "Birthday
|
|
1529
|
+
"Birthday month": "Birthday month",
|
|
1526
1530
|
"Member Dashboard - Recency": "@.capitalize:{'report.dynamic.schema.Member'} Dashboard - Recency",
|
|
1527
1531
|
"Member Dashboard - Frequency": "@.capitalize:{'report.dynamic.schema.Member'} Dashboard - Frequency",
|
|
1528
1532
|
"Member Dashboard - Monetary": "@.capitalize:{'report.dynamic.schema.Member'} Dashboard - Monetary",
|
|
1529
1533
|
"Member Dashboard - Member Info Table": "@.capitalize:{'report.dynamic.schema.Member'} Dashboard - @:{'report.dynamic.schema.Member'} Info Table",
|
|
1530
|
-
"KDS Performance": "KDS
|
|
1531
|
-
"Campaign Voucher Dashboard": "@.capitalize:{'report.dynamic.schema.Campaign'}
|
|
1534
|
+
"KDS Performance": "KDS @.capitalize:{'report.dynamic.common.performance'}",
|
|
1535
|
+
"Campaign Voucher Dashboard": "@.capitalize:{'report.dynamic.schema.Campaign'} @.capitalize:{'report.dynamic.common.voucher'} Dashboard",
|
|
1532
1536
|
"Voucher Dashboard - Total Revenue": "@.capitalize:{'report.dynamic.common.voucher'} Dashboard - @:{'report.dynamic.common.total'} @:{'report.dynamic.common.revenue'}",
|
|
1533
1537
|
"Voucher Dashboard - Total Users": "@.capitalize:{'report.dynamic.common.voucher'} Dashboard - @:{'report.dynamic.common.total'} @:{'report.dynamic.common.user'}s",
|
|
1534
1538
|
"Voucher Dashboard - Usage Rate": "@.capitalize:{'report.dynamic.common.voucher'} Dashboard - Usage Rate",
|
|
1535
|
-
"Voucher Dashboard - Table Overview": "@.capitalize:{'report.dynamic.common.voucher'} Dashboard - Table
|
|
1539
|
+
"Voucher Dashboard - Table Overview": "@.capitalize:{'report.dynamic.common.voucher'} Dashboard - Table @.capitalize:{'report.dynamic.common.overview'}",
|
|
1536
1540
|
"Voucher Dashboard - Usage": "@.capitalize:{'report.dynamic.common.voucher'} Dashboard - Usage",
|
|
1537
|
-
"Voucher Dashboard - Revenue": "@.capitalize:{'report.dynamic.common.voucher'} Dashboard -
|
|
1541
|
+
"Voucher Dashboard - Revenue": "@.capitalize:{'report.dynamic.common.voucher'} Dashboard - @.capitalize:{'report.dynamic.common.revenue'}",
|
|
1538
1542
|
"Tier and Experience Dashboard": "Tier and Experience Dashboard",
|
|
1539
|
-
"Total Experience Users": "@.capitalize:{'report.dynamic.common.total'} Experience
|
|
1543
|
+
"Total Experience Users": "@.capitalize:{'report.dynamic.common.total'} Experience @.capitalize:{'report.dynamic.common.user'}s",
|
|
1540
1544
|
"Total Experiences Distributed": "@.capitalize:{'report.dynamic.common.total'} Experiences Distributed",
|
|
1541
|
-
"Average Experiences per User": "@.capitalize:{'report.dynamic.common.average'} Experiences per
|
|
1542
|
-
"Total Active Experience Campaigns": "@.capitalize:{'report.dynamic.common.total'}
|
|
1545
|
+
"Average Experiences per User": "@.capitalize:{'report.dynamic.common.average'} Experiences per @.capitalize:{'report.dynamic.common.user'}",
|
|
1546
|
+
"Total Active Experience Campaigns": "@.capitalize:{'report.dynamic.common.total'} @.capitalize:{'report.dynamic.common.active'} Experience @:{'report.dynamic.schema.Campaign'}s",
|
|
1543
1547
|
Tiers: "Tiers",
|
|
1544
1548
|
"Tier Distribution": "Tier Distribution",
|
|
1545
1549
|
"Experiences Distributed vs. Day": "Experiences Distributed vs. Day",
|
|
@@ -1548,18 +1552,18 @@ const mn = {
|
|
|
1548
1552
|
"Total Point Users": "@.capitalize:{'report.dynamic.common.total'} Point @:{'report.dynamic.common.user'}s",
|
|
1549
1553
|
"Total Points Distributed": "@.capitalize:{'report.dynamic.common.total'} Points Distributed",
|
|
1550
1554
|
"Total Points Used": "@.capitalize:{'report.dynamic.common.total'} Points Used",
|
|
1551
|
-
"Total Active Point Campaigns": "@.capitalize:{'report.dynamic.common.total'}
|
|
1555
|
+
"Total Active Point Campaigns": "@.capitalize:{'report.dynamic.common.total'} @.capitalize:{'report.dynamic.common.active'} Point @:{'report.dynamic.schema.Campaign'}s",
|
|
1552
1556
|
"Point Campaigns": "Point @:{'report.dynamic.schema.Campaign'}s",
|
|
1553
1557
|
"Store Analysis": "@.capitalize:{'report.dynamic.common.store'} Analysis",
|
|
1554
1558
|
"Credit Dashboard": "@.capitalize:{'report.dynamic.common.credit'} Dashboard",
|
|
1555
|
-
"Total Credit Users": "@.capitalize:{'report.dynamic.common.total'}
|
|
1556
|
-
"Total Credits Distributed": "@.capitalize:{'report.dynamic.common.total'}
|
|
1557
|
-
"Total Credits Used": "@.capitalize:{'report.dynamic.common.total'}
|
|
1558
|
-
"Total Active Credit Campaigns": "@.capitalize:{'report.dynamic.common.total'}
|
|
1559
|
-
"Credit Campaigns Performance": "@.capitalize:{'report.dynamic.common.credit'} @:{'report.dynamic.schema.Campaign'}s
|
|
1559
|
+
"Total Credit Users": "@.capitalize:{'report.dynamic.common.total'} @.capitalize:{'report.dynamic.common.credit'} @.capitalize:{'report.dynamic.common.user'}s",
|
|
1560
|
+
"Total Credits Distributed": "@.capitalize:{'report.dynamic.common.total'} @.capitalize:{'report.dynamic.common.credit'}s Distributed",
|
|
1561
|
+
"Total Credits Used": "@.capitalize:{'report.dynamic.common.total'} @.capitalize:{'report.dynamic.common.credit'}s Used",
|
|
1562
|
+
"Total Active Credit Campaigns": "@.capitalize:{'report.dynamic.common.total'} @.capitalize:{'report.dynamic.common.active'} @.capitalize:{'report.dynamic.common.credit'} @:{'report.dynamic.schema.Campaign'}s",
|
|
1563
|
+
"Credit Campaigns Performance": "@.capitalize:{'report.dynamic.common.credit'} @:{'report.dynamic.schema.Campaign'}s @.capitalize:{'report.dynamic.common.performance'}",
|
|
1560
1564
|
"Credits Distributed": "@.capitalize:{'report.dynamic.common.credit'}s Distributed",
|
|
1561
1565
|
"Credits Used": "@.capitalize:{'report.dynamic.common.credit'}s Used",
|
|
1562
|
-
"Credits Expired": "@.capitalize:{'report.dynamic.common.credit'}s
|
|
1566
|
+
"Credits Expired": "@.capitalize:{'report.dynamic.common.credit'}s @.capitalize:{'report.dynamic.common.expired'}",
|
|
1563
1567
|
None: "None",
|
|
1564
1568
|
"Grand Total": "Grand Total",
|
|
1565
1569
|
Label: "Label",
|
|
@@ -1592,20 +1596,20 @@ const mn = {
|
|
|
1592
1596
|
End: "End",
|
|
1593
1597
|
Distributed: "Distributed",
|
|
1594
1598
|
Usage: "Usage",
|
|
1595
|
-
Expired: "
|
|
1599
|
+
Expired: "@.capitalize:{'report.dynamic.common.expired'}",
|
|
1596
1600
|
"Usage rate": "Usage rate",
|
|
1597
1601
|
"Expire rate": "Expire rate",
|
|
1598
1602
|
"Bundle Sold": "Bundle Sold",
|
|
1599
1603
|
Users: "@.capitalize:{'report.dynamic.common.user'}s",
|
|
1600
1604
|
"Point Spent": "Point Spent",
|
|
1601
1605
|
"Cash Spent": "@.capitalize:{'report.dynamic.common.cash'} Spent",
|
|
1602
|
-
"Normal Credits Issued": "Normal
|
|
1603
|
-
"Free Credits Issued": "Free
|
|
1606
|
+
"Normal Credits Issued": "Normal @.capitalize:{'report.dynamic.common.credit'}s Issued",
|
|
1607
|
+
"Free Credits Issued": "Free @.capitalize:{'report.dynamic.common.credit'}s Issued",
|
|
1604
1608
|
"Conversion Rate Point - Credit": "Conversion Rate Point - Credit",
|
|
1605
1609
|
"Voucher Issued": "@.capitalize:{'report.dynamic.common.voucher'} Issued",
|
|
1606
1610
|
"Title Issued": "Title Issued",
|
|
1607
1611
|
"Restaurant Name": "Restaurant Name",
|
|
1608
|
-
"Product Name": "@.capitalize:{'report.dynamic.common.product'}
|
|
1612
|
+
"Product Name": "@.capitalize:{'report.dynamic.common.product'} @.capitalize:{'report.dynamic.common.name'}",
|
|
1609
1613
|
Subject: "Subject",
|
|
1610
1614
|
Item: "Item",
|
|
1611
1615
|
Internal: "Internal",
|
|
@@ -2058,6 +2062,10 @@ const mn = {
|
|
|
2058
2062
|
add: "@:report.common.add@:report.integration.title",
|
|
2059
2063
|
lastUploadDate: "上次上传日期",
|
|
2060
2064
|
lastEmailDate: "上次自动邮件日期",
|
|
2065
|
+
startSyncDate: "同步开始日期",
|
|
2066
|
+
startSyncDateHint: "作为同步起始位置的参考日期。若未设置,自动上传将无法启动。",
|
|
2067
|
+
startSyncDateLocked: "同步已开始,后续上传将自动跟随上次上传日期。",
|
|
2068
|
+
startSyncDateNotConfigured: "未配置起始日期。请在集成设置中设置同步起始日期。",
|
|
2061
2069
|
noData: {
|
|
2062
2070
|
title: "没有集成",
|
|
2063
2071
|
description: "没有集成可以找到"
|
|
@@ -3691,6 +3699,10 @@ const mn = {
|
|
|
3691
3699
|
add: "@:report.common.add @:report.integration.title",
|
|
3692
3700
|
lastUploadDate: "วันที่อัปโหลดอัตโนมัติครั้งล่าสุด",
|
|
3693
3701
|
lastEmailDate: "วันที่ส่งอีเมลอัตโนมัติครั้งล่าสุด",
|
|
3702
|
+
startSyncDate: "เริ่มซิงก์ตั้งแต่",
|
|
3703
|
+
startSyncDateHint: "ใช้เป็นวันอ้างอิงสำหรับจุดเริ่มต้นของการซิงก์ หากไม่มีการตั้งค่านี้ การอัปโหลดอัตโนมัติจะไม่สามารถเริ่มต้นได้",
|
|
3704
|
+
startSyncDateLocked: "เริ่มซิงก์แล้ว การอัปโหลดถัดไปจะตามวันที่อัปโหลดครั้งล่าสุดโดยอัตโนมัติ",
|
|
3705
|
+
startSyncDateNotConfigured: "ยังไม่ได้กำหนดวันที่เริ่มต้น กรุณาตั้งค่าวันที่เริ่มต้นซิงก์ในการตั้งค่าการรวมระบบ",
|
|
3694
3706
|
noData: {
|
|
3695
3707
|
title: "ไม่มีการเชื่อมต่อ",
|
|
3696
3708
|
description: "ไม่พบการเชื่อมต่อ"
|
|
@@ -5319,6 +5331,10 @@ const mn = {
|
|
|
5319
5331
|
add: "@:report.common.add@:report.integration.title",
|
|
5320
5332
|
lastUploadDate: "上次上傳日期",
|
|
5321
5333
|
lastEmailDate: "上次自動電郵日期",
|
|
5334
|
+
startSyncDate: "同步開始日期",
|
|
5335
|
+
startSyncDateHint: "作為同步起始位置的參考日期。若未設定,自動上傳將無法啟動。",
|
|
5336
|
+
startSyncDateLocked: "同步已開始,後續上傳將自動跟隨上次上傳日期。",
|
|
5337
|
+
startSyncDateNotConfigured: "未設定起始日期。請在整合設定中設定同步起始日期。",
|
|
5322
5338
|
noData: {
|
|
5323
5339
|
title: "沒有集成",
|
|
5324
5340
|
description: "沒有集成可以找到"
|
|
@@ -6574,13 +6590,13 @@ var er = { exports: {} };
|
|
|
6574
6590
|
return { M: D, y: j, w: p, d: y, D: b, h: f, m: s, s: i, ms: a, Q: X }[R] || String(R || "").toLowerCase().replace(/s$/, "");
|
|
6575
6591
|
}, u: function(R) {
|
|
6576
6592
|
return R === void 0;
|
|
6577
|
-
} },
|
|
6578
|
-
L[
|
|
6593
|
+
} }, S = "en", L = {};
|
|
6594
|
+
L[S] = I;
|
|
6579
6595
|
var J = "$isDayjsObject", _ = function(R) {
|
|
6580
6596
|
return R instanceof x || !(!R || !R[J]);
|
|
6581
6597
|
}, l = function R(C, U, O) {
|
|
6582
6598
|
var H;
|
|
6583
|
-
if (!C) return
|
|
6599
|
+
if (!C) return S;
|
|
6584
6600
|
if (typeof C == "string") {
|
|
6585
6601
|
var h = C.toLowerCase();
|
|
6586
6602
|
L[h] && (H = h), U && (L[h] = U, H = h);
|
|
@@ -6590,7 +6606,7 @@ var er = { exports: {} };
|
|
|
6590
6606
|
var c = C.name;
|
|
6591
6607
|
L[c] = C, H = c;
|
|
6592
6608
|
}
|
|
6593
|
-
return !O && H && (
|
|
6609
|
+
return !O && H && (S = H), H || !O && S;
|
|
6594
6610
|
}, F = function(R, C) {
|
|
6595
6611
|
if (_(R)) return R.clone();
|
|
6596
6612
|
var U = typeof C == "object" ? C : {};
|
|
@@ -6652,7 +6668,7 @@ var er = { exports: {} };
|
|
|
6652
6668
|
case D:
|
|
6653
6669
|
return h ? c(1, P) : c(0, P + 1);
|
|
6654
6670
|
case p:
|
|
6655
|
-
var
|
|
6671
|
+
var G = this.$locale().weekStart || 0, Z = (m < G ? m + 7 : m) - G;
|
|
6656
6672
|
return c(h ? E - Z : E + (6 - Z), P);
|
|
6657
6673
|
case y:
|
|
6658
6674
|
case b:
|
|
@@ -6697,7 +6713,7 @@ var er = { exports: {} };
|
|
|
6697
6713
|
}, C.format = function(U) {
|
|
6698
6714
|
var O = this, H = this.$locale();
|
|
6699
6715
|
if (!this.isValid()) return H.invalidDate || B;
|
|
6700
|
-
var h = U || "YYYY-MM-DDTHH:mm:ssZ", A = v.z(this), c = this.$H, d = this.$m, m = this.$M, P = H.weekdays, E = H.months, V = H.meridiem,
|
|
6716
|
+
var h = U || "YYYY-MM-DDTHH:mm:ssZ", A = v.z(this), c = this.$H, d = this.$m, m = this.$M, P = H.weekdays, E = H.months, V = H.meridiem, G = function(Y, ee, Ae, ie) {
|
|
6701
6717
|
return Y && (Y[ee] || Y(O, h)) || Ae[ee].slice(0, ie);
|
|
6702
6718
|
}, Z = function(Y) {
|
|
6703
6719
|
return v.s(c % 12 || 12, Y, "0");
|
|
@@ -6717,9 +6733,9 @@ var er = { exports: {} };
|
|
|
6717
6733
|
case "MM":
|
|
6718
6734
|
return v.s(m + 1, 2, "0");
|
|
6719
6735
|
case "MMM":
|
|
6720
|
-
return
|
|
6736
|
+
return G(H.monthsShort, m, E, 3);
|
|
6721
6737
|
case "MMMM":
|
|
6722
|
-
return
|
|
6738
|
+
return G(E, m);
|
|
6723
6739
|
case "D":
|
|
6724
6740
|
return O.$D;
|
|
6725
6741
|
case "DD":
|
|
@@ -6727,9 +6743,9 @@ var er = { exports: {} };
|
|
|
6727
6743
|
case "d":
|
|
6728
6744
|
return String(O.$W);
|
|
6729
6745
|
case "dd":
|
|
6730
|
-
return
|
|
6746
|
+
return G(H.weekdaysMin, O.$W, P, 2);
|
|
6731
6747
|
case "ddd":
|
|
6732
|
-
return
|
|
6748
|
+
return G(H.weekdaysShort, O.$W, P, 3);
|
|
6733
6749
|
case "dddd":
|
|
6734
6750
|
return P[O.$W];
|
|
6735
6751
|
case "H":
|
|
@@ -6823,7 +6839,7 @@ var er = { exports: {} };
|
|
|
6823
6839
|
return R.$i || (R(C, x, F), R.$i = !0), F;
|
|
6824
6840
|
}, F.locale = l, F.isDayjs = _, F.unix = function(R) {
|
|
6825
6841
|
return F(1e3 * R);
|
|
6826
|
-
}, F.en = L[
|
|
6842
|
+
}, F.en = L[S], F.Ls = L, F.p = {}, F;
|
|
6827
6843
|
});
|
|
6828
6844
|
})(er);
|
|
6829
6845
|
var vn = er.exports;
|
|
@@ -6860,9 +6876,9 @@ var tr = { exports: {} };
|
|
|
6860
6876
|
f.utcOffset = function(B, u) {
|
|
6861
6877
|
var K = this.$utils().u;
|
|
6862
6878
|
if (K(B)) return this.$u ? 0 : K(this.$offset) ? D.call(this) : this.$offset;
|
|
6863
|
-
if (typeof B == "string" && (B = function(
|
|
6864
|
-
|
|
6865
|
-
var L =
|
|
6879
|
+
if (typeof B == "string" && (B = function(S) {
|
|
6880
|
+
S === void 0 && (S = "");
|
|
6881
|
+
var L = S.match(o);
|
|
6866
6882
|
if (!L) return null;
|
|
6867
6883
|
var J = ("" + L[0]).match(n) || ["-", 0, 0], _ = J[0], l = 60 * +J[1] + +J[2];
|
|
6868
6884
|
return l === 0 ? 0 : _ === "+" ? l : -l;
|
|
@@ -6915,8 +6931,8 @@ var or = { exports: {} };
|
|
|
6915
6931
|
b === void 0 && (b = {});
|
|
6916
6932
|
var B = new Date(X), u = function(K, I) {
|
|
6917
6933
|
I === void 0 && (I = {});
|
|
6918
|
-
var T = I.timeZoneName || "short", N = K + "|" + T,
|
|
6919
|
-
return
|
|
6934
|
+
var T = I.timeZoneName || "short", N = K + "|" + T, S = o[N];
|
|
6935
|
+
return S || (S = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: K, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: T }), o[N] = S), S;
|
|
6920
6936
|
}(j, b);
|
|
6921
6937
|
return u.formatToParts(B);
|
|
6922
6938
|
}, y = function(X, j) {
|
|
@@ -6924,7 +6940,7 @@ var or = { exports: {} };
|
|
|
6924
6940
|
var K = b[u], I = K.type, T = K.value, N = r[I];
|
|
6925
6941
|
N >= 0 && (B[N] = parseInt(T, 10));
|
|
6926
6942
|
}
|
|
6927
|
-
var
|
|
6943
|
+
var S = B[3], L = S === 24 ? 0 : S, J = B[0] + "-" + B[1] + "-" + B[2] + " " + L + ":" + B[4] + ":" + B[5] + ":000", _ = +X;
|
|
6928
6944
|
return (i.utc(J).valueOf() - (_ -= _ % 1e3)) / 6e4;
|
|
6929
6945
|
}, p = a.prototype;
|
|
6930
6946
|
p.tz = function(X, j) {
|
|
@@ -6955,8 +6971,8 @@ var or = { exports: {} };
|
|
|
6955
6971
|
if (J === F) return [l, J];
|
|
6956
6972
|
var v = y(l -= 60 * (F - J) * 1e3, _);
|
|
6957
6973
|
return F === v ? [l, F] : [L - 60 * Math.min(F, v) * 1e3, Math.max(F, v)];
|
|
6958
|
-
}(i.utc(X, B).valueOf(), K, u), T = I[0], N = I[1],
|
|
6959
|
-
return
|
|
6974
|
+
}(i.utc(X, B).valueOf(), K, u), T = I[0], N = I[1], S = i(T).utcOffset(N);
|
|
6975
|
+
return S.$x.$timezone = u, S;
|
|
6960
6976
|
}, i.tz.guess = function() {
|
|
6961
6977
|
return Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
6962
6978
|
}, i.tz.setDefault = function(X) {
|
|
@@ -7032,9 +7048,9 @@ var rr = { exports: {} };
|
|
|
7032
7048
|
return v || I[x] || r[x] || I[M].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(R, C, U) {
|
|
7033
7049
|
return C || U.slice(1);
|
|
7034
7050
|
});
|
|
7035
|
-
})).match(o), N = T.length,
|
|
7036
|
-
var L = T[
|
|
7037
|
-
T[
|
|
7051
|
+
})).match(o), N = T.length, S = 0; S < N; S += 1) {
|
|
7052
|
+
var L = T[S], J = b[L], _ = J && J[0], l = J && J[1];
|
|
7053
|
+
T[S] = l ? { regex: _, parser: l } : L.replace(/^\[|\]$/g, "");
|
|
7038
7054
|
}
|
|
7039
7055
|
return function(F) {
|
|
7040
7056
|
for (var v = {}, x = 0, M = 0; x < N; x += 1) {
|
|
@@ -7057,8 +7073,8 @@ var rr = { exports: {} };
|
|
|
7057
7073
|
return function(u, K, I) {
|
|
7058
7074
|
I.p.customParseFormat = !0, u && u.parseTwoDigitYear && (y = u.parseTwoDigitYear);
|
|
7059
7075
|
var T = K.prototype, N = T.parse;
|
|
7060
|
-
T.parse = function(
|
|
7061
|
-
var L =
|
|
7076
|
+
T.parse = function(S) {
|
|
7077
|
+
var L = S.date, J = S.utc, _ = S.args;
|
|
7062
7078
|
this.$u = J;
|
|
7063
7079
|
var l = _[1];
|
|
7064
7080
|
if (typeof l == "string") {
|
|
@@ -7066,9 +7082,9 @@ var rr = { exports: {} };
|
|
|
7066
7082
|
v && (M = _[2]), f = this.$locale(), !F && M && (f = I.Ls[M]), this.$d = function(O, H, h, A) {
|
|
7067
7083
|
try {
|
|
7068
7084
|
if (["x", "X"].indexOf(H) > -1) return new Date((H === "X" ? 1e3 : 1) * O);
|
|
7069
|
-
var c = B(H)(O), d = c.year, m = c.month, P = c.day, E = c.hours, V = c.minutes,
|
|
7085
|
+
var c = B(H)(O), d = c.year, m = c.month, P = c.day, E = c.hours, V = c.minutes, G = c.seconds, Z = c.milliseconds, Q = c.zone, Y = c.week, ee = /* @__PURE__ */ new Date(), Ae = P || (d || m ? 1 : ee.getDate()), ie = d || ee.getFullYear(), pe = 0;
|
|
7070
7086
|
d && !m || (pe = m > 0 ? m - 1 : ee.getMonth());
|
|
7071
|
-
var de, ue = E || 0, ve = V || 0, ze =
|
|
7087
|
+
var de, ue = E || 0, ve = V || 0, ze = G || 0, Xe = Z || 0;
|
|
7072
7088
|
return Q ? new Date(Date.UTC(ie, pe, Ae, ue, ve, ze, Xe + 60 * Q.offset * 1e3)) : h ? new Date(Date.UTC(ie, pe, Ae, ue, ve, ze, Xe)) : (de = new Date(ie, pe, Ae, ue, ve, ze, Xe), Y && (de = A(de).week(Y).toDate()), de);
|
|
7073
7089
|
} catch {
|
|
7074
7090
|
return /* @__PURE__ */ new Date("");
|
|
@@ -7083,7 +7099,7 @@ var rr = { exports: {} };
|
|
|
7083
7099
|
}
|
|
7084
7100
|
C === R && (this.$d = /* @__PURE__ */ new Date(""));
|
|
7085
7101
|
}
|
|
7086
|
-
else N.call(this,
|
|
7102
|
+
else N.call(this, S);
|
|
7087
7103
|
};
|
|
7088
7104
|
};
|
|
7089
7105
|
});
|
|
@@ -7388,7 +7404,7 @@ var cr = { exports: {} };
|
|
|
7388
7404
|
for (U = l.length; U--; ) if (l[U] == null) return !0;
|
|
7389
7405
|
}
|
|
7390
7406
|
for (U = l.length; U--; ) {
|
|
7391
|
-
var C = j(
|
|
7407
|
+
var C = j(S(p(l, U), v), R, U, l);
|
|
7392
7408
|
if (C && String(C) !== "[object Object]" && String(R) !== "[object Object]")
|
|
7393
7409
|
return !0;
|
|
7394
7410
|
}
|
|
@@ -7463,10 +7479,10 @@ var cr = { exports: {} };
|
|
|
7463
7479
|
if (function c(d, m, P, E, V) {
|
|
7464
7480
|
if (P === m.length || d == null)
|
|
7465
7481
|
return void V.push([d, m[P - 1], E]);
|
|
7466
|
-
var
|
|
7467
|
-
if (s(d) && isNaN(Number(
|
|
7482
|
+
var G = p(m, P);
|
|
7483
|
+
if (s(d) && isNaN(Number(G)))
|
|
7468
7484
|
for (var Z = 0, Q = d.length; Z < Q; Z++) c(p(d, Z), m, P, d, V);
|
|
7469
|
-
else c(p(d,
|
|
7485
|
+
else c(p(d, G), m, P + 1, d, V);
|
|
7470
7486
|
}(F, v, 0, F, R), R.length === 1) {
|
|
7471
7487
|
var C = R[0];
|
|
7472
7488
|
return j(x, C[0], C[1], C[2]);
|
|
@@ -7528,7 +7544,7 @@ var cr = { exports: {} };
|
|
|
7528
7544
|
}
|
|
7529
7545
|
return l === F;
|
|
7530
7546
|
}
|
|
7531
|
-
function
|
|
7547
|
+
function S(l, F) {
|
|
7532
7548
|
var v = T(F)(l);
|
|
7533
7549
|
return F && F.select && (v = {
|
|
7534
7550
|
options: v,
|
|
@@ -7538,7 +7554,7 @@ var cr = { exports: {} };
|
|
|
7538
7554
|
}), v;
|
|
7539
7555
|
}
|
|
7540
7556
|
function L(l, F) {
|
|
7541
|
-
var v =
|
|
7557
|
+
var v = S(l, F = Object.assign({ compare: J, comparable: _ }, F));
|
|
7542
7558
|
return function(x, M, R) {
|
|
7543
7559
|
return j(v, x, M, R);
|
|
7544
7560
|
};
|
|
@@ -7677,10 +7693,10 @@ function Vn(e) {
|
|
|
7677
7693
|
var t = typeof e == "object" ? e.constructor : e;
|
|
7678
7694
|
return t.modelName || t.name;
|
|
7679
7695
|
}
|
|
7680
|
-
function
|
|
7696
|
+
function Sn(e) {
|
|
7681
7697
|
return JSON.parse(JSON.stringify(e));
|
|
7682
7698
|
}
|
|
7683
|
-
var
|
|
7699
|
+
var Gn = /[-/\\^$+?.()|[\]{}]/g, Nn = /\.?\*+\.?/g, qn = /\*+/, Yn = /\./g;
|
|
7684
7700
|
function Ln(e, t, r) {
|
|
7685
7701
|
var o = r[0] === "*" || e[0] === "." && e[e.length - 1] === "." ? "+" : "*", n = e.indexOf("**") === -1 ? "[^.]" : ".", a = e.replace(Yn, "\\$&").replace(qn, n + o);
|
|
7686
7702
|
return t + e.length === r.length ? "(?:" + a + ")?" : a;
|
|
@@ -7690,7 +7706,7 @@ function kn(e, t, r) {
|
|
|
7690
7706
|
}
|
|
7691
7707
|
function Wn(e) {
|
|
7692
7708
|
var t = e.map(function(o) {
|
|
7693
|
-
return o.replace(
|
|
7709
|
+
return o.replace(Gn, kn).replace(Nn, Ln);
|
|
7694
7710
|
}), r = t.length > 1 ? "(?:" + t.join("|") + ")" : t[0];
|
|
7695
7711
|
return new RegExp("^" + r + "$");
|
|
7696
7712
|
}
|
|
@@ -7735,7 +7751,7 @@ var sr = /* @__PURE__ */ function() {
|
|
|
7735
7751
|
indexedRules: /* @__PURE__ */ Object.create(null),
|
|
7736
7752
|
mergedRules: /* @__PURE__ */ Object.create(null),
|
|
7737
7753
|
events: {},
|
|
7738
|
-
aliases:
|
|
7754
|
+
aliases: Sn(zo)
|
|
7739
7755
|
}, this.update(r);
|
|
7740
7756
|
}
|
|
7741
7757
|
var t = e.prototype;
|
|
@@ -8551,7 +8567,7 @@ function Va(e) {
|
|
|
8551
8567
|
let t;
|
|
8552
8568
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Fr(e.buffer), t;
|
|
8553
8569
|
}
|
|
8554
|
-
const
|
|
8570
|
+
const Sa = Dt("string"), Ue = Dt("function"), wr = Dt("number"), Rt = (e) => e !== null && typeof e == "object", Ga = (e) => e === !0 || e === !1, yt = (e) => {
|
|
8555
8571
|
if (Ct(e) !== "object")
|
|
8556
8572
|
return !1;
|
|
8557
8573
|
const t = Fo(e);
|
|
@@ -8714,9 +8730,9 @@ const Fi = (e) => {
|
|
|
8714
8730
|
isBuffer: Qa,
|
|
8715
8731
|
isFormData: Wa,
|
|
8716
8732
|
isArrayBufferView: Va,
|
|
8717
|
-
isString:
|
|
8733
|
+
isString: Sa,
|
|
8718
8734
|
isNumber: wr,
|
|
8719
|
-
isBoolean:
|
|
8735
|
+
isBoolean: Ga,
|
|
8720
8736
|
isObject: Rt,
|
|
8721
8737
|
isPlainObject: yt,
|
|
8722
8738
|
isReadableStream: Ja,
|
|
@@ -9167,14 +9183,14 @@ function nt(e) {
|
|
|
9167
9183
|
function vt(e) {
|
|
9168
9184
|
return e === !1 || e == null ? e : w.isArray(e) ? e.map(vt) : String(e);
|
|
9169
9185
|
}
|
|
9170
|
-
function
|
|
9186
|
+
function Si(e) {
|
|
9171
9187
|
const t = /* @__PURE__ */ Object.create(null), r = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
|
|
9172
9188
|
let o;
|
|
9173
9189
|
for (; o = r.exec(e); )
|
|
9174
9190
|
t[o[1]] = o[2];
|
|
9175
9191
|
return t;
|
|
9176
9192
|
}
|
|
9177
|
-
const
|
|
9193
|
+
const Gi = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
|
|
9178
9194
|
function to(e, t, r, o, n) {
|
|
9179
9195
|
if (w.isFunction(o))
|
|
9180
9196
|
return o.call(this, t, r);
|
|
@@ -9215,7 +9231,7 @@ let we = class {
|
|
|
9215
9231
|
const i = (s, f) => w.forEach(s, (y, p) => a(y, p, f));
|
|
9216
9232
|
if (w.isPlainObject(t) || t instanceof this.constructor)
|
|
9217
9233
|
i(t, r);
|
|
9218
|
-
else if (w.isString(t) && (t = t.trim()) && !
|
|
9234
|
+
else if (w.isString(t) && (t = t.trim()) && !Gi(t))
|
|
9219
9235
|
i(Vi(t), r);
|
|
9220
9236
|
else if (w.isHeaders(t))
|
|
9221
9237
|
for (const [s, f] of t.entries())
|
|
@@ -9232,7 +9248,7 @@ let we = class {
|
|
|
9232
9248
|
if (!r)
|
|
9233
9249
|
return n;
|
|
9234
9250
|
if (r === !0)
|
|
9235
|
-
return
|
|
9251
|
+
return Si(n);
|
|
9236
9252
|
if (w.isFunction(r))
|
|
9237
9253
|
return r.call(this, n, o);
|
|
9238
9254
|
if (w.isRegExp(r))
|
|
@@ -9412,7 +9428,7 @@ const Bt = (e, t, r = 3) => {
|
|
|
9412
9428
|
total: e,
|
|
9413
9429
|
loaded: o
|
|
9414
9430
|
}), t[1]];
|
|
9415
|
-
},
|
|
9431
|
+
}, So = (e) => (...t) => w.asap(() => e(...t)), Wi = fe.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (r) => (r = new URL(r, fe.origin), e.protocol === r.protocol && e.host === r.host && (t || e.port === r.port)))(
|
|
9416
9432
|
new URL(fe.origin),
|
|
9417
9433
|
fe.navigator && /(msie|trident)/i.test(fe.navigator.userAgent)
|
|
9418
9434
|
) : () => !0, Zi = fe.hasStandardBrowserEnv ? (
|
|
@@ -9451,7 +9467,7 @@ function _i(e, t) {
|
|
|
9451
9467
|
function Ir(e, t) {
|
|
9452
9468
|
return e && !Ji(t) ? _i(e, t) : t;
|
|
9453
9469
|
}
|
|
9454
|
-
const
|
|
9470
|
+
const Go = (e) => e instanceof we ? { ...e } : e;
|
|
9455
9471
|
function Le(e, t) {
|
|
9456
9472
|
t = t || {};
|
|
9457
9473
|
const r = {};
|
|
@@ -9509,7 +9525,7 @@ function Le(e, t) {
|
|
|
9509
9525
|
socketPath: i,
|
|
9510
9526
|
responseEncoding: i,
|
|
9511
9527
|
validateStatus: s,
|
|
9512
|
-
headers: (y, p, D) => n(
|
|
9528
|
+
headers: (y, p, D) => n(Go(y), Go(p), D, !0)
|
|
9513
9529
|
};
|
|
9514
9530
|
return w.forEach(Object.keys(Object.assign({}, e, t)), function(p) {
|
|
9515
9531
|
const D = f[p] || n, X = D(e[p], t[p], p);
|
|
@@ -9553,7 +9569,7 @@ const jr = (e) => {
|
|
|
9553
9569
|
return;
|
|
9554
9570
|
const T = we.from(
|
|
9555
9571
|
"getAllResponseHeaders" in u && u.getAllResponseHeaders()
|
|
9556
|
-
),
|
|
9572
|
+
), S = {
|
|
9557
9573
|
data: !s || s === "text" || s === "json" ? u.responseText : u.response,
|
|
9558
9574
|
status: u.status,
|
|
9559
9575
|
statusText: u.statusText,
|
|
@@ -9565,7 +9581,7 @@ const jr = (e) => {
|
|
|
9565
9581
|
r(J), B();
|
|
9566
9582
|
}, function(J) {
|
|
9567
9583
|
o(J), B();
|
|
9568
|
-
},
|
|
9584
|
+
}, S), u = null;
|
|
9569
9585
|
}
|
|
9570
9586
|
"onloadend" in u ? u.onloadend = K : u.onreadystatechange = function() {
|
|
9571
9587
|
!u || u.readyState !== 4 || u.status === 0 && !(u.responseURL && u.responseURL.indexOf("file:") === 0) || setTimeout(K);
|
|
@@ -9575,15 +9591,15 @@ const jr = (e) => {
|
|
|
9575
9591
|
o(new k("Network Error", k.ERR_NETWORK, e, u)), u = null;
|
|
9576
9592
|
}, u.ontimeout = function() {
|
|
9577
9593
|
let N = n.timeout ? "timeout of " + n.timeout + "ms exceeded" : "timeout exceeded";
|
|
9578
|
-
const
|
|
9594
|
+
const S = n.transitional || Hr;
|
|
9579
9595
|
n.timeoutErrorMessage && (N = n.timeoutErrorMessage), o(new k(
|
|
9580
9596
|
N,
|
|
9581
|
-
|
|
9597
|
+
S.clarifyTimeoutError ? k.ETIMEDOUT : k.ECONNABORTED,
|
|
9582
9598
|
e,
|
|
9583
9599
|
u
|
|
9584
9600
|
)), u = null;
|
|
9585
|
-
}, a === void 0 && i.setContentType(null), "setRequestHeader" in u && w.forEach(i.toJSON(), function(N,
|
|
9586
|
-
u.setRequestHeader(
|
|
9601
|
+
}, a === void 0 && i.setContentType(null), "setRequestHeader" in u && w.forEach(i.toJSON(), function(N, S) {
|
|
9602
|
+
u.setRequestHeader(S, N);
|
|
9587
9603
|
}), w.isUndefined(n.withCredentials) || (u.withCredentials = !!n.withCredentials), s && s !== "json" && (u.responseType = n.responseType), y && ([X, b] = Bt(y, !0), u.addEventListener("progress", X)), f && u.upload && ([D, j] = Bt(f), u.upload.addEventListener("progress", D), u.upload.addEventListener("loadend", j)), (n.cancelToken || n.signal) && (p = (T) => {
|
|
9588
9604
|
u && (o(!T || T.type ? new tt(null, e, u) : T), u.abort(), u = null);
|
|
9589
9605
|
}, n.cancelToken && n.cancelToken.subscribe(p), n.signal && (n.signal.aborted ? p() : n.signal.addEventListener("abort", p)));
|
|
@@ -9740,17 +9756,17 @@ const cc = async (e) => {
|
|
|
9740
9756
|
let u;
|
|
9741
9757
|
try {
|
|
9742
9758
|
if (f && ic && r !== "get" && r !== "head" && (u = await Ac(p, o)) !== 0) {
|
|
9743
|
-
let
|
|
9759
|
+
let S = new Request(t, {
|
|
9744
9760
|
method: "POST",
|
|
9745
9761
|
body: o,
|
|
9746
9762
|
duplex: "half"
|
|
9747
9763
|
}), L;
|
|
9748
|
-
if (w.isFormData(o) && (L =
|
|
9764
|
+
if (w.isFormData(o) && (L = S.headers.get("content-type")) && p.setContentType(L), S.body) {
|
|
9749
9765
|
const [J, _] = Vo(
|
|
9750
9766
|
u,
|
|
9751
|
-
Bt(
|
|
9767
|
+
Bt(So(f))
|
|
9752
9768
|
);
|
|
9753
|
-
o = No(
|
|
9769
|
+
o = No(S.body, qo, J, _);
|
|
9754
9770
|
}
|
|
9755
9771
|
}
|
|
9756
9772
|
w.isString(D) || (D = D ? "include" : "omit");
|
|
@@ -9767,25 +9783,25 @@ const cc = async (e) => {
|
|
|
9767
9783
|
let I = await fetch(b);
|
|
9768
9784
|
const T = po && (y === "stream" || y === "response");
|
|
9769
9785
|
if (po && (s || T && B)) {
|
|
9770
|
-
const
|
|
9786
|
+
const S = {};
|
|
9771
9787
|
["status", "statusText", "headers"].forEach((l) => {
|
|
9772
|
-
|
|
9788
|
+
S[l] = I[l];
|
|
9773
9789
|
});
|
|
9774
9790
|
const L = w.toFiniteNumber(I.headers.get("content-length")), [J, _] = s && Vo(
|
|
9775
9791
|
L,
|
|
9776
|
-
Bt(
|
|
9792
|
+
Bt(So(s), !0)
|
|
9777
9793
|
) || [];
|
|
9778
9794
|
I = new Response(
|
|
9779
9795
|
No(I.body, qo, J, () => {
|
|
9780
9796
|
_ && _(), B && B();
|
|
9781
9797
|
}),
|
|
9782
|
-
|
|
9798
|
+
S
|
|
9783
9799
|
);
|
|
9784
9800
|
}
|
|
9785
9801
|
y = y || "text";
|
|
9786
9802
|
let N = await Ut[w.findKey(Ut, y) || "text"](I, e);
|
|
9787
|
-
return !T && B && B(), await new Promise((
|
|
9788
|
-
Tr(
|
|
9803
|
+
return !T && B && B(), await new Promise((S, L) => {
|
|
9804
|
+
Tr(S, L, {
|
|
9789
9805
|
data: N,
|
|
9790
9806
|
headers: we.from(I.headers),
|
|
9791
9807
|
status: I.status,
|
|
@@ -10042,7 +10058,7 @@ w.forEach(["post", "put", "patch"], function(t) {
|
|
|
10042
10058
|
}
|
|
10043
10059
|
Ye.prototype[t] = r(), Ye.prototype[t + "Form"] = r(!0);
|
|
10044
10060
|
});
|
|
10045
|
-
let dc = class
|
|
10061
|
+
let dc = class Sr {
|
|
10046
10062
|
constructor(t) {
|
|
10047
10063
|
if (typeof t != "function")
|
|
10048
10064
|
throw new TypeError("executor must be a function.");
|
|
@@ -10108,7 +10124,7 @@ let dc = class Gr {
|
|
|
10108
10124
|
static source() {
|
|
10109
10125
|
let t;
|
|
10110
10126
|
return {
|
|
10111
|
-
token: new
|
|
10127
|
+
token: new Sr(function(n) {
|
|
10112
10128
|
t = n;
|
|
10113
10129
|
}),
|
|
10114
10130
|
cancel: t
|
|
@@ -10191,13 +10207,13 @@ const fo = {
|
|
|
10191
10207
|
Object.entries(fo).forEach(([e, t]) => {
|
|
10192
10208
|
fo[t] = e;
|
|
10193
10209
|
});
|
|
10194
|
-
function
|
|
10210
|
+
function Gr(e) {
|
|
10195
10211
|
const t = new Ye(e), r = hr(Ye.prototype.request, t);
|
|
10196
10212
|
return w.extend(r, Ye.prototype, t, { allOwnKeys: !0 }), w.extend(r, t, null, { allOwnKeys: !0 }), r.create = function(n) {
|
|
10197
|
-
return
|
|
10213
|
+
return Gr(Le(e, n));
|
|
10198
10214
|
}, r;
|
|
10199
10215
|
}
|
|
10200
|
-
const ce =
|
|
10216
|
+
const ce = Gr(st);
|
|
10201
10217
|
ce.Axios = Ye;
|
|
10202
10218
|
ce.CanceledError = tt;
|
|
10203
10219
|
ce.CancelToken = dc;
|
|
@@ -10291,7 +10307,7 @@ class xt {
|
|
|
10291
10307
|
this.baseUrl = t;
|
|
10292
10308
|
}
|
|
10293
10309
|
}
|
|
10294
|
-
const se = new xt("https://query-engine{.country}.
|
|
10310
|
+
const se = new xt("https://query-engine{.country}.feedmeapidev.com"), mt = new xt("https://query-engine{.country}.feedmeapidev.com/report-query"), bA = new xt("https://query-engine{.country}.feedmeapidev.com/report-file"), KA = new xt("https://portal-v2{.country}.feedmeapidev.com"), vc = (e) => ({
|
|
10295
10311
|
id: e._id,
|
|
10296
10312
|
name: e.profile.name,
|
|
10297
10313
|
code: e.profile.code,
|
|
@@ -10529,7 +10545,7 @@ const lt = ct(Cc, () => {
|
|
|
10529
10545
|
function N(v) {
|
|
10530
10546
|
u.value === v && (K.value = v, I.value++);
|
|
10531
10547
|
}
|
|
10532
|
-
const
|
|
10548
|
+
const S = me(
|
|
10533
10549
|
() => j.value.filter((v) => a.value.includes(v.id)).map((v) => v.id)
|
|
10534
10550
|
), L = me(
|
|
10535
10551
|
() => b.value.filter((v) => a.value.includes(v.id)).map((v) => v.id)
|
|
@@ -10551,7 +10567,7 @@ const lt = ct(Cc, () => {
|
|
|
10551
10567
|
business: B,
|
|
10552
10568
|
warehouses: b,
|
|
10553
10569
|
selectedLocationIds: a,
|
|
10554
|
-
selectedRestaurantIds:
|
|
10570
|
+
selectedRestaurantIds: S,
|
|
10555
10571
|
selectedWarehouseIds: L,
|
|
10556
10572
|
defaultDateSetting: n,
|
|
10557
10573
|
dateRange: y,
|
|
@@ -10680,14 +10696,14 @@ async function VA(e) {
|
|
|
10680
10696
|
};
|
|
10681
10697
|
return await se.fetch(r);
|
|
10682
10698
|
}
|
|
10683
|
-
async function
|
|
10699
|
+
async function SA(e) {
|
|
10684
10700
|
const { businessId: t } = $(), r = {
|
|
10685
10701
|
fetchType: re.Get,
|
|
10686
10702
|
url: `/xero/${t}/taxes?id=${e}`
|
|
10687
10703
|
};
|
|
10688
10704
|
return await se.fetch(r);
|
|
10689
10705
|
}
|
|
10690
|
-
async function
|
|
10706
|
+
async function GA(e) {
|
|
10691
10707
|
const { businessId: t } = $(), r = {
|
|
10692
10708
|
fetchType: re.Get,
|
|
10693
10709
|
url: `/xero/${t}/accounts?id=${e}`
|
|
@@ -10802,25 +10818,25 @@ var go = { exports: {} };
|
|
|
10802
10818
|
return new (c || (c = Promise))(function(m, P) {
|
|
10803
10819
|
function E(Z) {
|
|
10804
10820
|
try {
|
|
10805
|
-
|
|
10821
|
+
G(d.next(Z));
|
|
10806
10822
|
} catch (Q) {
|
|
10807
10823
|
P(Q);
|
|
10808
10824
|
}
|
|
10809
10825
|
}
|
|
10810
10826
|
function V(Z) {
|
|
10811
10827
|
try {
|
|
10812
|
-
|
|
10828
|
+
G(d.throw(Z));
|
|
10813
10829
|
} catch (Q) {
|
|
10814
10830
|
P(Q);
|
|
10815
10831
|
}
|
|
10816
10832
|
}
|
|
10817
|
-
function
|
|
10833
|
+
function G(Z) {
|
|
10818
10834
|
var Q;
|
|
10819
10835
|
Z.done ? m(Z.value) : (Q = Z.value, Q instanceof c ? Q : new c(function(Y) {
|
|
10820
10836
|
Y(Q);
|
|
10821
10837
|
})).then(E, V);
|
|
10822
10838
|
}
|
|
10823
|
-
|
|
10839
|
+
G((d = d.apply(h, [])).next());
|
|
10824
10840
|
});
|
|
10825
10841
|
}
|
|
10826
10842
|
function i(h, A) {
|
|
@@ -10831,7 +10847,7 @@ var go = { exports: {} };
|
|
|
10831
10847
|
return P = { next: V(0), throw: V(1), return: V(2) }, typeof Symbol == "function" && (P[Symbol.iterator] = function() {
|
|
10832
10848
|
return this;
|
|
10833
10849
|
}), P;
|
|
10834
|
-
function V(
|
|
10850
|
+
function V(G) {
|
|
10835
10851
|
return function(Z) {
|
|
10836
10852
|
return function(Q) {
|
|
10837
10853
|
if (c) throw new TypeError("Generator is already executing.");
|
|
@@ -10878,7 +10894,7 @@ var go = { exports: {} };
|
|
|
10878
10894
|
}
|
|
10879
10895
|
if (5 & Q[0]) throw Q[1];
|
|
10880
10896
|
return { value: Q[0] ? Q[1] : void 0, done: !0 };
|
|
10881
|
-
}([
|
|
10897
|
+
}([G, Z]);
|
|
10882
10898
|
};
|
|
10883
10899
|
}
|
|
10884
10900
|
}
|
|
@@ -10938,16 +10954,16 @@ var go = { exports: {} };
|
|
|
10938
10954
|
(function(h) {
|
|
10939
10955
|
h.NONE = "NONE", h.DEFAULT_FLAGS = "DEFAULT_FLAGS", h.CACHE = "CACHE", h.SERVER = "SERVER";
|
|
10940
10956
|
})(p || (p = {}));
|
|
10941
|
-
var u, K = null, I = "FLAGSMITH_EVENT", T = I, N = "https://edge.api.flagsmith.com/api/v1/",
|
|
10957
|
+
var u, K = null, I = "FLAGSMITH_EVENT", T = I, N = "https://edge.api.flagsmith.com/api/v1/", S = "flagsmith_value_", L = "flagsmith_enabled_", J = "flagsmith_trait_", _ = function() {
|
|
10942
10958
|
function h(A) {
|
|
10943
10959
|
var c = this;
|
|
10944
10960
|
this._trigger = null, this._triggerLoadingState = null, this.timestamp = null, this.isLoading = !1, this.eventSource = null, this.getFlags = function() {
|
|
10945
10961
|
var d = c, m = d.api, P = d.evaluationContext;
|
|
10946
10962
|
c.log("Get Flags"), c.isLoading = !0, c.loadingState.isFetching || c.setLoadingState(n(n({}, c.loadingState), { isFetching: !0 }));
|
|
10947
|
-
var E = "".concat(c.getContext().identity), V = function(
|
|
10963
|
+
var E = "".concat(c.getContext().identity), V = function(G) {
|
|
10948
10964
|
var Z, Q, Y, ee;
|
|
10949
|
-
if (
|
|
10950
|
-
var Ae =
|
|
10965
|
+
if (G && E === "".concat(c.getContext().identity)) {
|
|
10966
|
+
var Ae = G.flags, ie = G.traits, pe = G.identifier;
|
|
10951
10967
|
c.isLoading = !1;
|
|
10952
10968
|
var de = {}, ue = {};
|
|
10953
10969
|
ie = ie || [], (Ae = Ae || []).forEach(function(te) {
|
|
@@ -10962,8 +10978,8 @@ var go = { exports: {} };
|
|
|
10962
10978
|
Object.keys(((Q = c.evaluationContext.identity) === null || Q === void 0 ? void 0 : Q.traits) || {}).map(function(te) {
|
|
10963
10979
|
Xe[J + te] = c.getTrait(te);
|
|
10964
10980
|
});
|
|
10965
|
-
var
|
|
10966
|
-
c.log("Setting Datadog user",
|
|
10981
|
+
var Se = n(n(n({}, c.datadogRum.client.getUser()), { id: c.datadogRum.client.getUser().id || ((Y = c.evaluationContext.identity) === null || Y === void 0 ? void 0 : Y.identifier) }), Xe);
|
|
10982
|
+
c.log("Setting Datadog user", Se), c.datadogRum.client.setUser(Se);
|
|
10967
10983
|
}
|
|
10968
10984
|
} catch (te) {
|
|
10969
10985
|
console.error(te);
|
|
@@ -10971,7 +10987,7 @@ var go = { exports: {} };
|
|
|
10971
10987
|
if (c.dtrum) try {
|
|
10972
10988
|
var he = { javaDouble: {}, date: {}, shortString: {}, javaLongOrObject: {} };
|
|
10973
10989
|
Object.keys(c.flags).map(function(te) {
|
|
10974
|
-
X(he,
|
|
10990
|
+
X(he, S + te, c.getValue(te, { skipAnalytics: !0 })), X(he, L + te, c.hasFeature(te, { skipAnalytics: !0 }));
|
|
10975
10991
|
}), Object.keys(((ee = c.evaluationContext.identity) === null || ee === void 0 ? void 0 : ee.traits) || {}).map(function(te) {
|
|
10976
10992
|
X(he, J + te, c.getTrait(te));
|
|
10977
10993
|
}), c.log("Sending javaLongOrObject traits to dynatrace", he.javaLongOrObject), c.log("Sending date traits to dynatrace", he.date), c.log("Sending shortString traits to dynatrace", he.shortString), c.log("Sending javaDouble to dynatrace", he.javaDouble), c.dtrum.sendSessionProperties(he.javaLongOrObject, he.date, he.shortString, he.javaDouble);
|
|
@@ -10980,18 +10996,18 @@ var go = { exports: {} };
|
|
|
10980
10996
|
}
|
|
10981
10997
|
}
|
|
10982
10998
|
};
|
|
10983
|
-
return P.identity ? Promise.all([P.identity.traits && Object.keys(P.identity.traits).length || !P.identity.identifier ? c.getJSON(m + "identities/", "POST", JSON.stringify({ identifier: P.identity.identifier, transient: P.identity.transient, traits: Object.entries(P.identity.traits).map(function(
|
|
10984
|
-
var Z =
|
|
10999
|
+
return P.identity ? Promise.all([P.identity.traits && Object.keys(P.identity.traits).length || !P.identity.identifier ? c.getJSON(m + "identities/", "POST", JSON.stringify({ identifier: P.identity.identifier, transient: P.identity.transient, traits: Object.entries(P.identity.traits).map(function(G) {
|
|
11000
|
+
var Z = G[0], Q = G[1];
|
|
10985
11001
|
return { trait_key: Z, trait_value: Q == null ? void 0 : Q.value, transient: Q == null ? void 0 : Q.transient };
|
|
10986
|
-
}).filter(function(
|
|
10987
|
-
return
|
|
10988
|
-
}) })) : c.getJSON(m + "identities/?identifier=" + encodeURIComponent(P.identity.identifier) + (P.identity.transient ? "&transient=true" : ""))]).then(function(
|
|
10989
|
-
return c.evaluationContext.identity = n(n({}, c.evaluationContext.identity), { traits: {} }), V(
|
|
10990
|
-
}).catch(function(
|
|
10991
|
-
var Z =
|
|
11002
|
+
}).filter(function(G) {
|
|
11003
|
+
return G.trait_value !== void 0 || (c.log("Warning - attempted to set an undefined trait value for key", G.trait_key), !1);
|
|
11004
|
+
}) })) : c.getJSON(m + "identities/?identifier=" + encodeURIComponent(P.identity.identifier) + (P.identity.transient ? "&transient=true" : ""))]).then(function(G) {
|
|
11005
|
+
return c.evaluationContext.identity = n(n({}, c.evaluationContext.identity), { traits: {} }), V(G == null ? void 0 : G[0]);
|
|
11006
|
+
}).catch(function(G) {
|
|
11007
|
+
var Z = G.message, Q = new Error(Z);
|
|
10992
11008
|
return Promise.reject(Q);
|
|
10993
|
-
}) : c.getJSON(m + "flags/").then(function(
|
|
10994
|
-
return V({ flags:
|
|
11009
|
+
}) : c.getJSON(m + "flags/").then(function(G) {
|
|
11010
|
+
return V({ flags: G, traits: void 0 });
|
|
10995
11011
|
});
|
|
10996
11012
|
}, this.analyticsFlags = function() {
|
|
10997
11013
|
var d = c.api;
|
|
@@ -11047,8 +11063,8 @@ var go = { exports: {} };
|
|
|
11047
11063
|
}, this.getJSON = function(d, m, P) {
|
|
11048
11064
|
var E, V = c;
|
|
11049
11065
|
V.evaluationContext;
|
|
11050
|
-
var
|
|
11051
|
-
c.evaluationContext.environment && (Z.headers["X-Environment-Key"] = c.evaluationContext.environment.apiKey), m && m !== "GET" && (Z.headers["Content-Type"] = "application/json; charset=utf-8"),
|
|
11066
|
+
var G = V.headers, Z = { method: m || "GET", body: P, cache: "no-cache", headers: {} };
|
|
11067
|
+
c.evaluationContext.environment && (Z.headers["X-Environment-Key"] = c.evaluationContext.environment.apiKey), m && m !== "GET" && (Z.headers["Content-Type"] = "application/json; charset=utf-8"), G && Object.assign(Z.headers, G), D || console.error("Flagsmith: fetch is undefined, please specify a fetch implementation into flagsmith.init to support SSR.");
|
|
11052
11068
|
var Q = "".concat((E = c.evaluationContext.identity) === null || E === void 0 ? void 0 : E.identifier);
|
|
11053
11069
|
return D(d, Z).then(function(Y) {
|
|
11054
11070
|
var ee, Ae, ie = "".concat((ee = c.evaluationContext.identity) === null || ee === void 0 ? void 0 : ee.identifier);
|
|
@@ -11073,7 +11089,7 @@ var go = { exports: {} };
|
|
|
11073
11089
|
c.log("Received response with identity mismatch, ignoring response. Requested: ".concat(Q, ", Current: ").concat(ie));
|
|
11074
11090
|
});
|
|
11075
11091
|
}, this.evaluateFlag = function(d, m) {
|
|
11076
|
-
if (c.datadogRum && (c.datadogRum.client.addFeatureFlagEvaluation ? m === "VALUE" ? c.datadogRum.client.addFeatureFlagEvaluation(
|
|
11092
|
+
if (c.datadogRum && (c.datadogRum.client.addFeatureFlagEvaluation ? m === "VALUE" ? c.datadogRum.client.addFeatureFlagEvaluation(S + d, c.getValue(d, {}, !0)) : c.datadogRum.client.addFeatureFlagEvaluation(L + d, c.hasFeature(d, !0)) : console.error("Flagsmith: Your datadog RUM client does not support the function addFeatureFlagEvaluation, please update it.")), c.enableAnalytics) {
|
|
11077
11093
|
if (!c.evaluationEvent || !c.evaluationContext.environment) return;
|
|
11078
11094
|
c.evaluationEvent[c.evaluationContext.environment.apiKey] || (c.evaluationEvent[c.evaluationContext.environment.apiKey] = {}), c.evaluationEvent[c.evaluationContext.environment.apiKey][d] === void 0 && (c.evaluationEvent[c.evaluationContext.environment.apiKey][d] = 0), c.evaluationEvent[c.evaluationContext.environment.apiKey][d] += 1;
|
|
11079
11095
|
}
|
|
@@ -11086,32 +11102,32 @@ var go = { exports: {} };
|
|
|
11086
11102
|
return h.prototype.init = function(A) {
|
|
11087
11103
|
var c, d, m;
|
|
11088
11104
|
return a(this, void 0, void 0, function() {
|
|
11089
|
-
var P, E, V,
|
|
11105
|
+
var P, E, V, G, Z, Q, Y, ee, Ae, ie, pe, de, ue, ve, ze, Xe, Se, he, te, Et, ot, Co, ke, Ht, Do, Ro, zt, Po, Xt, rt, We, bo, Fe = this;
|
|
11090
11106
|
return i(this, function(Re) {
|
|
11091
11107
|
switch (Re.label) {
|
|
11092
11108
|
case 0:
|
|
11093
11109
|
P = B(A.evaluationContext || this.evaluationContext), Re.label = 1;
|
|
11094
11110
|
case 1:
|
|
11095
|
-
if (Re.trys.push([1, 13, , 14]), E = A.environmentID, V = A.api,
|
|
11111
|
+
if (Re.trys.push([1, 13, , 14]), E = A.environmentID, V = A.api, G = V === void 0 ? N : V, Z = A.headers, Q = A.onChange, Y = A.cacheFlags, ee = A.datadogRum, Ae = A.onError, ie = A.defaultFlags, pe = A.fetch, de = A.preventFetch, ue = A.enableLogs, ve = A.enableDynatrace, ze = A.enableAnalytics, Xe = A.realtime, Se = A.eventSourceUrl, he = Se === void 0 ? "https://realtime.flagsmith.com/" : Se, te = A.AsyncStorage, Et = A.identity, ot = A.traits, Co = A.state, ke = A.cacheOptions, Ht = A.angularHttpClient, Do = A._trigger, Ro = A._triggerLoadingState, P.environment = E ? { apiKey: E } : P.environment, !P.environment || !P.environment.apiKey) throw new Error("Please provide `evaluationContext.environment` with non-empty `apiKey`");
|
|
11096
11112
|
if (P.identity = Et || ot ? { identifier: Et, traits: ot ? Object.fromEntries(Object.entries(ot).map(function(De) {
|
|
11097
11113
|
return [De[0], { value: De[1] }];
|
|
11098
|
-
})) : {} } : P.identity, this.evaluationContext = P, this.api =
|
|
11114
|
+
})) : {} } : P.identity, this.evaluationContext = P, this.api = G, this.headers = Z, this.getFlagInterval = null, this.analyticsInterval = null, this.onChange = Q, zt = "Wrong Flagsmith Configuration: preventFetch is true and no defaulFlags provided", this._trigger = Do || this._trigger, this._triggerLoadingState = Ro || this._triggerLoadingState, this.onError = function(De) {
|
|
11099
11115
|
Fe.setLoadingState(n(n({}, Fe.loadingState), { isFetching: !1, isLoading: !1, error: De })), Ae == null || Ae(De);
|
|
11100
11116
|
}, this.enableLogs = ue || !1, this.cacheOptions = ke ? { skipAPI: !!ke.skipAPI, ttl: ke.ttl || 0, storageKey: ke.storageKey, loadStale: !!ke.loadStale } : this.cacheOptions, !this.cacheOptions.ttl && this.cacheOptions.skipAPI && console.warn("Flagsmith: you have set a cache ttl of 0 and are skipping API calls, this means the API will not be hit unless you clear local storage."), pe && (D = pe), this.enableAnalytics = ze || !1, this.flags = Object.assign({}, ie) || {}, this.datadogRum = ee || null, this.initialised = !0, this.ticks = 1e4, this.timer = this.enableLogs ? (/* @__PURE__ */ new Date()).valueOf() : null, this.cacheFlags = K !== void 0 && !!Y, T = "FLAGSMITH_EVENT_" + P.environment.apiKey, te && (K = te), Xe && typeof window < "u" && this.setupRealtime(he, P.environment.apiKey), Object.keys(this.flags).length && (this.loadingState = n(n({}, this.loadingState), { isLoading: !1, source: p.DEFAULT_FLAGS })), this.setState(Co), this.log("Initialising with properties", A, this), ve && (typeof dtrum > "u" ? console.error("You have attempted to enable dynatrace but dtrum is undefined, please check you have the Dynatrace RUM JavaScript API installed.") : this.dtrum = dtrum), Ht && (D = /* @__PURE__ */ function(De) {
|
|
11101
11117
|
return function(be, Ke) {
|
|
11102
11118
|
var Oe = Ke.headers, ae = Ke.method, Ze = Ke.body;
|
|
11103
|
-
return new Promise(function(
|
|
11119
|
+
return new Promise(function(Ge) {
|
|
11104
11120
|
switch (ae) {
|
|
11105
11121
|
case "GET":
|
|
11106
11122
|
return De.get(be, { headers: Oe }).subscribe(function(Te) {
|
|
11107
|
-
|
|
11123
|
+
Ge({ ok: !0, text: function() {
|
|
11108
11124
|
return Promise.resolve(Te);
|
|
11109
11125
|
} });
|
|
11110
11126
|
});
|
|
11111
11127
|
case "POST":
|
|
11112
11128
|
case "PUT":
|
|
11113
11129
|
return De.post(be, Ze, { headers: Oe }).subscribe(function(Te) {
|
|
11114
|
-
|
|
11130
|
+
Ge({ ok: !0, text: function() {
|
|
11115
11131
|
return Promise.resolve(Te);
|
|
11116
11132
|
} });
|
|
11117
11133
|
});
|
|
@@ -11137,14 +11153,14 @@ var go = { exports: {} };
|
|
|
11137
11153
|
if (!K || !this.canUseStorage) return [3, 8];
|
|
11138
11154
|
Po = function(De, be) {
|
|
11139
11155
|
return a(Fe, void 0, void 0, function() {
|
|
11140
|
-
var Ke, Oe, ae, Ze,
|
|
11156
|
+
var Ke, Oe, ae, Ze, Ge, Te, Tt, Ko, It, jt, Ot, Mt, Qt, Vt, St, Gt, Nt, qt, Yt, Lt, kt, Wt, Zt, Jt, xo = this;
|
|
11141
11157
|
return i(this, function(Me) {
|
|
11142
11158
|
switch (Me.label) {
|
|
11143
11159
|
case 0:
|
|
11144
11160
|
if (!be) return [3, 7];
|
|
11145
11161
|
Ke = null, Oe = null, Me.label = 1;
|
|
11146
11162
|
case 1:
|
|
11147
|
-
return Me.trys.push([1, 5, , 6]), ae = JSON.parse(be), Ze = !1,
|
|
11163
|
+
return Me.trys.push([1, 5, , 6]), ae = JSON.parse(be), Ze = !1, Ge = !1, ae && ae.api === this.api && ((jt = (It = ae.evaluationContext) === null || It === void 0 ? void 0 : It.environment) === null || jt === void 0 ? void 0 : jt.apiKey) === ((Ot = this.evaluationContext.environment) === null || Ot === void 0 ? void 0 : Ot.apiKey) && (Te = !0, this.evaluationContext.identity && ((Qt = (Mt = ae.evaluationContext) === null || Mt === void 0 ? void 0 : Mt.identity) === null || Qt === void 0 ? void 0 : Qt.identifier) !== this.evaluationContext.identity.identifier && (this.log("Ignoring cache, identity has changed from " + ((St = (Vt = ae.evaluationContext) === null || Vt === void 0 ? void 0 : Vt.identity) === null || St === void 0 ? void 0 : St.identifier) + " to " + this.evaluationContext.identity.identifier), Te = !1), this.cacheOptions.ttl && (!ae.ts || (/* @__PURE__ */ new Date()).valueOf() - ae.ts > this.cacheOptions.ttl) && (ae.ts && !this.cacheOptions.loadStale ? (this.log("Ignoring cache, timestamp is too old ts:" + ae.ts + " ttl: " + this.cacheOptions.ttl + " time elapsed since cache: " + ((/* @__PURE__ */ new Date()).valueOf() - ae.ts) + "ms"), Te = !1) : ae.ts && this.cacheOptions.loadStale && (this.log("Loading stale cache, timestamp ts:" + ae.ts + " ttl: " + this.cacheOptions.ttl + " time elapsed since cache: " + ((/* @__PURE__ */ new Date()).valueOf() - ae.ts) + "ms"), Ge = !0, Te = !0)), Te && (Ze = !0, Oe = y((Gt = this.evaluationContext.identity) === null || Gt === void 0 ? void 0 : Gt.traits, (qt = (Nt = ae.evaluationContext) === null || Nt === void 0 ? void 0 : Nt.identity) === null || qt === void 0 ? void 0 : qt.traits), Ke = y(this.flags, ae.flags), this.setState(n(n({}, ae), { evaluationContext: B(n(n({}, ae.evaluationContext), { identity: !((Yt = ae.evaluationContext) === null || Yt === void 0) && Yt.identity ? n(n({}, (Lt = ae.evaluationContext) === null || Lt === void 0 ? void 0 : Lt.identity), { traits: n(n({}, ((Wt = (kt = ae.evaluationContext) === null || kt === void 0 ? void 0 : kt.identity) === null || Wt === void 0 ? void 0 : Wt.traits) || {}), ot || {}) }) : void 0 })) })), this.log("Retrieved flags from cache", ae))), Ze ? (Tt = !de && (!this.cacheOptions.skipAPI || Ge), this._onChange(null, { isFromServer: !1, flagsChanged: Ke, traitsChanged: Oe }, this._loadedState(null, p.CACHE, Tt)), this.oldFlags = this.flags, this.cacheOptions.skipAPI && Ze && !Ge && this.log("Skipping API, using cache"), Tt && this.getFlags().catch(function(Yr) {
|
|
11148
11164
|
var _t;
|
|
11149
11165
|
(_t = xo.onError) === null || _t === void 0 || _t.call(xo, Yr);
|
|
11150
11166
|
}), [3, 4]) : [3, 2];
|
|
@@ -11316,20 +11332,20 @@ Consider loading an EventSource polyfill and making it available globally as Eve
|
|
|
11316
11332
|
throw new Error("Method not implemented.");
|
|
11317
11333
|
}, h.prototype._start = function() {
|
|
11318
11334
|
var A, c, d = this, m = this.url;
|
|
11319
|
-
this._lastEventId && (m.indexOf("?") === -1 ? m += "?" : m += "&", m += "lastEventId=" + encodeURIComponent(this._lastEventId)), this._eventSource = new this.eventSourceClass(m, this._configuration), this._eventSource.onopen = function(
|
|
11320
|
-
d._onopen(
|
|
11321
|
-
}, this._eventSource.onerror = function(
|
|
11322
|
-
d._onerror(
|
|
11323
|
-
}, this._eventSource.onmessage = function(
|
|
11324
|
-
d.onmessage(
|
|
11335
|
+
this._lastEventId && (m.indexOf("?") === -1 ? m += "?" : m += "&", m += "lastEventId=" + encodeURIComponent(this._lastEventId)), this._eventSource = new this.eventSourceClass(m, this._configuration), this._eventSource.onopen = function(G) {
|
|
11336
|
+
d._onopen(G);
|
|
11337
|
+
}, this._eventSource.onerror = function(G) {
|
|
11338
|
+
d._onerror(G);
|
|
11339
|
+
}, this._eventSource.onmessage = function(G) {
|
|
11340
|
+
d.onmessage(G);
|
|
11325
11341
|
};
|
|
11326
11342
|
try {
|
|
11327
11343
|
for (var P = x(Object.keys(this._listeners)), E = P.next(); !E.done; E = P.next()) {
|
|
11328
11344
|
var V = E.value;
|
|
11329
11345
|
this._eventSource.addEventListener(V, this._onevent_wrapped);
|
|
11330
11346
|
}
|
|
11331
|
-
} catch (
|
|
11332
|
-
A = { error:
|
|
11347
|
+
} catch (G) {
|
|
11348
|
+
A = { error: G };
|
|
11333
11349
|
} finally {
|
|
11334
11350
|
try {
|
|
11335
11351
|
E && !E.done && (c = P.return) && c.call(P);
|
|
@@ -11384,14 +11400,14 @@ Consider loading an EventSource polyfill and making it available globally as Eve
|
|
|
11384
11400
|
globalThis.FlagsmithEventSource = typeof EventSource < "u" ? EventSource : null;
|
|
11385
11401
|
var O = function(h, A) {
|
|
11386
11402
|
return A = A || {}, new Promise(function(c, d) {
|
|
11387
|
-
var m = new XMLHttpRequest(), P = [], E = [], V = {},
|
|
11403
|
+
var m = new XMLHttpRequest(), P = [], E = [], V = {}, G = function() {
|
|
11388
11404
|
return { ok: (m.status / 100 | 0) == 2, statusText: m.statusText, status: m.status, url: m.responseURL, text: function() {
|
|
11389
11405
|
return Promise.resolve(m.responseText);
|
|
11390
11406
|
}, json: function() {
|
|
11391
11407
|
return Promise.resolve(m.responseText).then(JSON.parse);
|
|
11392
11408
|
}, blob: function() {
|
|
11393
11409
|
return Promise.resolve(new Blob([m.response]));
|
|
11394
|
-
}, clone:
|
|
11410
|
+
}, clone: G, headers: { keys: function() {
|
|
11395
11411
|
return P;
|
|
11396
11412
|
}, entries: function() {
|
|
11397
11413
|
return E;
|
|
@@ -11404,7 +11420,7 @@ Consider loading an EventSource polyfill and making it available globally as Eve
|
|
|
11404
11420
|
for (var Z in m.open(A.method || "get", h, !0), m.onload = function() {
|
|
11405
11421
|
m.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm, function(Q, Y, ee) {
|
|
11406
11422
|
P.push(Y = Y.toLowerCase()), E.push([Y, ee]), V[Y] = V[Y] ? V[Y] + "," + ee : ee;
|
|
11407
|
-
}), c(
|
|
11423
|
+
}), c(G());
|
|
11408
11424
|
}, m.onerror = d, m.withCredentials = A.credentials == "include", A.headers) m.setRequestHeader(Z, A.headers[Z]);
|
|
11409
11425
|
m.send(A.body || null);
|
|
11410
11426
|
});
|
|
@@ -11414,9 +11430,9 @@ Consider loading an EventSource polyfill and making it available globally as Eve
|
|
|
11414
11430
|
}, r.default = H, Object.defineProperty(r, "__esModule", { value: !0 });
|
|
11415
11431
|
});
|
|
11416
11432
|
})(go, go.exports);
|
|
11417
|
-
var Vc = go.exports,
|
|
11433
|
+
var Vc = go.exports, Sc = {
|
|
11418
11434
|
NOT_INITIALIZED: "FeatureFlag not initialized. Call init() first."
|
|
11419
|
-
}, Zo = "business", He,
|
|
11435
|
+
}, Zo = "business", He, Gc = (He = class {
|
|
11420
11436
|
constructor() {
|
|
11421
11437
|
Qe(this, "flagsmithClient", null);
|
|
11422
11438
|
Qe(this, "userContext", null);
|
|
@@ -11426,7 +11442,7 @@ var Vc = go.exports, Gc = {
|
|
|
11426
11442
|
}
|
|
11427
11443
|
ensureInitialized() {
|
|
11428
11444
|
if (!this.flagsmithClient)
|
|
11429
|
-
throw new Error(
|
|
11445
|
+
throw new Error(Sc.NOT_INITIALIZED);
|
|
11430
11446
|
}
|
|
11431
11447
|
async init(t, r = []) {
|
|
11432
11448
|
if (!this.flagsmithClient)
|
|
@@ -11518,7 +11534,7 @@ var Vc = go.exports, Gc = {
|
|
|
11518
11534
|
reset() {
|
|
11519
11535
|
this.flagsmithClient = null, this.userContext = null;
|
|
11520
11536
|
}
|
|
11521
|
-
}, Qe(He, "instance"), He), Nc =
|
|
11537
|
+
}, Qe(He, "instance"), He), Nc = Gc.getInstance(), at = ne(!1), pt = ne([]), _e = ne(null);
|
|
11522
11538
|
function qc(e = Nc) {
|
|
11523
11539
|
const t = () => at.value ? !0 : (console.warn("FeatureFlag is not initialized. Using default values."), !1), r = async (p, D = []) => {
|
|
11524
11540
|
if (at.value) {
|
|
@@ -11809,7 +11825,7 @@ const tA = "mf-reportnavigation", qr = ct(tA, () => {
|
|
|
11809
11825
|
return (t.value.length === 0 || X.value) && n.value;
|
|
11810
11826
|
}
|
|
11811
11827
|
const b = me(() => {
|
|
11812
|
-
const I = !f.value, T = !y.value, N = !p.value,
|
|
11828
|
+
const I = !f.value, T = !y.value, N = !p.value, S = !D.value, L = [
|
|
11813
11829
|
{
|
|
11814
11830
|
label: "overview",
|
|
11815
11831
|
value: "overview",
|
|
@@ -11843,7 +11859,7 @@ const tA = "mf-reportnavigation", qr = ct(tA, () => {
|
|
|
11843
11859
|
label: "integration",
|
|
11844
11860
|
value: "integration",
|
|
11845
11861
|
route: "integrations",
|
|
11846
|
-
disabled:
|
|
11862
|
+
disabled: S
|
|
11847
11863
|
}), L;
|
|
11848
11864
|
}), B = ne(""), { currentRoute: u } = nn();
|
|
11849
11865
|
function K(I) {
|
|
@@ -11907,7 +11923,7 @@ const oA = [
|
|
|
11907
11923
|
path: "/overview",
|
|
11908
11924
|
alias: ["/"],
|
|
11909
11925
|
name: "overview",
|
|
11910
|
-
component: ft(() => import("./OverviewView-
|
|
11926
|
+
component: ft(() => import("./OverviewView-CqGkqNVc.js")),
|
|
11911
11927
|
meta: {
|
|
11912
11928
|
validationManifest: ut(
|
|
11913
11929
|
z.report_accessOverview
|
|
@@ -11917,18 +11933,18 @@ const oA = [
|
|
|
11917
11933
|
{
|
|
11918
11934
|
path: "/report",
|
|
11919
11935
|
name: "reports",
|
|
11920
|
-
component: () => import("./Report-
|
|
11936
|
+
component: () => import("./Report-B1EsTIrH.js")
|
|
11921
11937
|
},
|
|
11922
11938
|
{
|
|
11923
11939
|
path: "/template",
|
|
11924
11940
|
name: "template",
|
|
11925
|
-
component: () => import("./Template-
|
|
11941
|
+
component: () => import("./Template-DCDTM3sC.js"),
|
|
11926
11942
|
beforeEnter: () => qr().canAccessTemplate() ? !0 : { name: "reports" }
|
|
11927
11943
|
},
|
|
11928
11944
|
{
|
|
11929
11945
|
path: "/insights",
|
|
11930
11946
|
name: "insights",
|
|
11931
|
-
component: ft(() => import("./InsightView-
|
|
11947
|
+
component: ft(() => import("./InsightView-BmxZDQjU.js")),
|
|
11932
11948
|
meta: {
|
|
11933
11949
|
validationManifest: ut(
|
|
11934
11950
|
z.report_accessInsight
|
|
@@ -11938,22 +11954,22 @@ const oA = [
|
|
|
11938
11954
|
{
|
|
11939
11955
|
path: "/report-view",
|
|
11940
11956
|
name: "reportView",
|
|
11941
|
-
component: () => import("./ReportView-
|
|
11957
|
+
component: () => import("./ReportView-DzHwofIp.js")
|
|
11942
11958
|
},
|
|
11943
11959
|
{
|
|
11944
11960
|
path: "/report-editor",
|
|
11945
11961
|
name: "reportEditor",
|
|
11946
|
-
component: () => import("./ReportEditor-
|
|
11962
|
+
component: () => import("./ReportEditor-8t8sc6bo.js")
|
|
11947
11963
|
},
|
|
11948
11964
|
{
|
|
11949
11965
|
path: "/report-editor/tile-editor",
|
|
11950
11966
|
name: "tileEditor",
|
|
11951
|
-
component: () => import("./TileEditor-
|
|
11967
|
+
component: () => import("./TileEditor-POTmkH5n.js")
|
|
11952
11968
|
},
|
|
11953
11969
|
{
|
|
11954
11970
|
path: "/setting",
|
|
11955
11971
|
name: "setting",
|
|
11956
|
-
component: ft(() => import("./Setting-
|
|
11972
|
+
component: ft(() => import("./Setting-CNFz3NdB.js")),
|
|
11957
11973
|
meta: {
|
|
11958
11974
|
validationManifest: ut(
|
|
11959
11975
|
z.report_accessSetting
|
|
@@ -11962,7 +11978,7 @@ const oA = [
|
|
|
11962
11978
|
},
|
|
11963
11979
|
{
|
|
11964
11980
|
path: "/integration",
|
|
11965
|
-
component: ft(() => import("./Layout-
|
|
11981
|
+
component: ft(() => import("./Layout-C5_ewFcc.js")),
|
|
11966
11982
|
meta: {
|
|
11967
11983
|
validationManifest: ut(
|
|
11968
11984
|
z.report_accessIntegration
|
|
@@ -11972,12 +11988,12 @@ const oA = [
|
|
|
11972
11988
|
{
|
|
11973
11989
|
name: "integrations",
|
|
11974
11990
|
path: "",
|
|
11975
|
-
component: () => import("./Integrations-
|
|
11991
|
+
component: () => import("./Integrations-9Lk2WKsY.js")
|
|
11976
11992
|
},
|
|
11977
11993
|
{
|
|
11978
11994
|
name: "integration",
|
|
11979
11995
|
path: "/integration/:id",
|
|
11980
|
-
component: () => import("./Integration-
|
|
11996
|
+
component: () => import("./Integration-Bq0MQnW4.js")
|
|
11981
11997
|
}
|
|
11982
11998
|
]
|
|
11983
11999
|
},
|
|
@@ -12001,7 +12017,7 @@ const WA = {
|
|
|
12001
12017
|
"zh-CN": pn,
|
|
12002
12018
|
"th-TH": fn,
|
|
12003
12019
|
"zh-Hant": yn
|
|
12004
|
-
}, ZA = $o(() => import("./App-
|
|
12020
|
+
}, ZA = $o(() => import("./App-CvfAIGi0.js"));
|
|
12005
12021
|
export {
|
|
12006
12022
|
Kc as A,
|
|
12007
12023
|
Ec as B,
|
|
@@ -12015,8 +12031,8 @@ export {
|
|
|
12015
12031
|
OA as J,
|
|
12016
12032
|
jA as K,
|
|
12017
12033
|
VA as L,
|
|
12018
|
-
|
|
12019
|
-
|
|
12034
|
+
SA as M,
|
|
12035
|
+
GA as N,
|
|
12020
12036
|
NA as O,
|
|
12021
12037
|
qA as P,
|
|
12022
12038
|
YA as Q,
|