@feedmepos/mf-report 5.27.13-beta.0 → 5.27.14-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.
Files changed (30) hide show
  1. package/dist/{App-ApkZ-DlH.js → App-CcdMlfSd.js} +47 -46
  2. package/dist/DateRangeSelect.vue_vue_type_script_setup_true_lang-OQRT1HAp.js +389 -0
  3. package/dist/{Default.vue_vue_type_script_setup_true_lang-BKA2gTcF.js → Default.vue_vue_type_script_setup_true_lang-BoZCI7kN.js} +1 -1
  4. package/dist/DynamicWidget.vue_vue_type_script_setup_true_lang-DJTZFtNV.js +5079 -0
  5. package/dist/{GlobalFilterSelect.vue_vue_type_script_setup_true_lang-2IwHfDHF.js → GlobalFilterSelect.vue_vue_type_script_setup_true_lang-faQ1wSGW.js} +5193 -4810
  6. package/dist/{InsightView-CKMKQoJY.js → InsightView-B7hXryQe.js} +4 -4
  7. package/dist/{Integration-CWpo4oHm.js → Integration-Cm0DNd94.js} +3 -3
  8. package/dist/{Integrations-R80AIGPp.js → Integrations-s2XnL_lQ.js} +2 -2
  9. package/dist/{Layout-Bv8YMshv.js → Layout-BaxsdPkO.js} +1 -1
  10. package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-DUlUnB6s.js → MenuTab.vue_vue_type_script_setup_true_lang-D-uVoZ83.js} +4 -4
  11. package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-TmoI4Hul.js → NavigationTab.vue_vue_type_script_setup_true_lang-40Mxqpsi.js} +2795 -2779
  12. package/dist/{OverviewView-Dq8qLG4l.js → OverviewView-YYCDda7Z.js} +4 -4
  13. package/dist/{Report-BhxIh6t4.js → Report-fQv1rMXB.js} +3 -3
  14. package/dist/ReportEditor-BQi5vZ5G.js +1828 -0
  15. package/dist/{ReportView-S9VhPpPU.js → ReportView-CePzSNVf.js} +6 -6
  16. package/dist/{Setting-Ckunjdpf.js → Setting-DA1IUerO.js} +14 -14
  17. package/dist/{Template-D294v9dv.js → Template-BNwoCMjJ.js} +3 -3
  18. package/dist/TileEditor-EBbG7Odu.js +4064 -0
  19. package/dist/TileGrid.vue_vue_type_script_setup_true_lang-BseyYYvj.js +154 -0
  20. package/dist/{TransitionFade-DMTsSP9O.js → TransitionFade-vNYa-qkr.js} +760 -828
  21. package/dist/{app-B2Kxf0WF.js → app-D2QVuN8P.js} +387 -290
  22. package/dist/app.js +1 -1
  23. package/dist/style.css +1 -1
  24. package/dist/{useRestaurantPermission-_SOzFhA0.js → useRestaurantPermission-qFfSh5xv.js} +1 -1
  25. package/package.json +1 -1
  26. package/dist/DateRangeSelect.vue_vue_type_script_setup_true_lang-DHhEBF3v.js +0 -383
  27. package/dist/DynamicWidget.vue_vue_type_script_setup_true_lang-BWsif2Jh.js +0 -4922
  28. package/dist/ReportEditor-CkK3nJDz.js +0 -1826
  29. package/dist/TileEditor-ClDAJ6ZY.js +0 -4036
  30. package/dist/TileGrid.vue_vue_type_script_setup_true_lang-C0S-H5j6.js +0 -152
@@ -207,7 +207,8 @@ const mn = {
207
207
  week: "Time unit for EXTRACT or DATE_TRUNC.",
208
208
  month: "Time unit for EXTRACT or DATE_TRUNC.",
209
209
  quarter: "Time unit for EXTRACT or DATE_TRUNC.",
210
- year: "Time unit for EXTRACT or DATE_TRUNC."
210
+ year: "Time unit for EXTRACT or DATE_TRUNC.",
211
+ stringLiteral: `String literals use single quotes ('text'). Double quotes ("text") are for column names. Example: NULLIF(column, '759') not NULLIF(column, "759")`
211
212
  },
212
213
  keywordExample: {
213
214
  caseWhen: "CASE WHEN sales_total > 100 THEN 'High' ELSE 'Low' END",
@@ -374,7 +375,19 @@ const mn = {
374
375
  september: "September",
375
376
  october: "October",
376
377
  november: "November",
377
- december: "December"
378
+ december: "December",
379
+ Jan: "Jan",
380
+ Feb: "Feb",
381
+ Mar: "Mar",
382
+ Apr: "Apr",
383
+ May: "May",
384
+ Jun: "Jun",
385
+ Jul: "Jul",
386
+ Aug: "Aug",
387
+ Sep: "Sep",
388
+ Oct: "Oct",
389
+ Nov: "Nov",
390
+ Dec: "Dec"
378
391
  },
379
392
  date: {
380
393
  TODAY: "Today",
@@ -735,6 +748,7 @@ const mn = {
735
748
  },
736
749
  tile: {
737
750
  setting: "Setting",
751
+ setupSetting: "Setup settings",
738
752
  widget: {
739
753
  details: "Widget details",
740
754
  title: "Widget title",
@@ -812,6 +826,7 @@ const mn = {
812
826
  missingSchema: "Missing schema",
813
827
  missingTileIds: "No widgets applied",
814
828
  missingFilterSchema: "Missing filter schema",
829
+ missingFilterSchemaOrDimension: "Widget doesn't have required schema or dimension",
815
830
  invalidCustomTimeRange: "Invalid custom time range",
816
831
  customTimeRangeNamesMustBeUnique: "Custom time range names must be unique",
817
832
  invalidCustomOption: "Invalid custom option",
@@ -1797,7 +1812,10 @@ const mn = {
1797
1812
  Visibility: "Visibility",
1798
1813
  "Changed by": "Changed by",
1799
1814
  "Grand total": "Grand total",
1800
- "New widget": "New widget"
1815
+ "New widget": "New widget",
1816
+ Merchant: "Merchant",
1817
+ "Generated At": "Generated At",
1818
+ "Registration No": "Registration No"
1801
1819
  }
1802
1820
  },
1803
1821
  jobs: {
@@ -2026,7 +2044,8 @@ const mn = {
2026
2044
  week: "EXTRACT 或 DATE_TRUNC 使用的时间单位。",
2027
2045
  month: "EXTRACT 或 DATE_TRUNC 使用的时间单位。",
2028
2046
  quarter: "EXTRACT 或 DATE_TRUNC 使用的时间单位。",
2029
- year: "EXTRACT 或 DATE_TRUNC 使用的时间单位。"
2047
+ year: "EXTRACT 或 DATE_TRUNC 使用的时间单位。",
2048
+ stringLiteral: `字符串字面量使用单引号 ('text')。双引号 ("text") 用于列名。示例:NULLIF(column, '759') 而非 NULLIF(column, "759")`
2030
2049
  },
2031
2050
  keywordExample: {
2032
2051
  caseWhen: "CASE WHEN sales_total > 100 THEN 'High' ELSE 'Low' END",
@@ -2130,14 +2149,16 @@ const mn = {
2130
2149
  noPermissionUpdateReport: "您没有更新此报告的权限。",
2131
2150
  noPermissionDuplicateReport: "您没有复制此报告的权限。",
2132
2151
  noPermissionDeleteReport: "您没有删除此报告的权限。",
2133
- tooDeepNesting: "嵌套分组最多支持 3 层"
2152
+ tooDeepNesting: "嵌套分组最多支持 3 层",
2153
+ unsavedFormulaTitle: "Unsaved Formula",
2154
+ continueWithoutApplyingFormula: "Continue without applying the formula?"
2134
2155
  },
2135
2156
  schedule: {
2136
2157
  title: "@:report.common.schedule@:{report.common.email'}给@:report.common.report",
2137
2158
  everyDay: "每天",
2138
- everyWeek: "每周,每",
2139
- everyMonth: "每月,每",
2140
- everyYear: "每年,每",
2159
+ everyWeek: "每周",
2160
+ everyMonth: "每月",
2161
+ everyYear: "每年",
2141
2162
  daily: "每天",
2142
2163
  weekly: "每周",
2143
2164
  monthly: "每月",
@@ -2145,8 +2166,8 @@ const mn = {
2145
2166
  customDate: "自定义日期",
2146
2167
  addSchedule: "添加计划",
2147
2168
  editSchedule: "编辑计划",
2148
- scheduleEmailReport: "@:report.common.schedule@:report.common.email@:report.common.report",
2149
- sendEmail: "@:report.common.send@:report.common.email",
2169
+ scheduleEmailReport: "计划发送报表邮件",
2170
+ sendEmail: "发送邮件",
2150
2171
  deleteSchedule: "删除计划",
2151
2172
  operatingPeriod: "营业期间",
2152
2173
  operatingDay: "营业日",
@@ -2191,7 +2212,19 @@ const mn = {
2191
2212
  september: "九月",
2192
2213
  october: "十月",
2193
2214
  november: "十一月",
2194
- december: "十二月"
2215
+ december: "十二月",
2216
+ Jan: "1月",
2217
+ Feb: "2月",
2218
+ Mar: "3月",
2219
+ Apr: "4月",
2220
+ May: "5月",
2221
+ Jun: "6月",
2222
+ Jul: "7月",
2223
+ Aug: "8月",
2224
+ Sep: "9月",
2225
+ Oct: "10月",
2226
+ Nov: "11月",
2227
+ Dec: "12月"
2195
2228
  },
2196
2229
  date: {
2197
2230
  TODAY: "今天",
@@ -2551,6 +2584,7 @@ const mn = {
2551
2584
  },
2552
2585
  tile: {
2553
2586
  setting: "设置",
2587
+ setupSetting: "设置配置",
2554
2588
  widget: {
2555
2589
  details: "组件详情",
2556
2590
  title: "组件标题",
@@ -2629,6 +2663,7 @@ const mn = {
2629
2663
  missingSchema: "缺少数据结构",
2630
2664
  missingTileIds: "未选择小组件",
2631
2665
  missingFilterSchema: "缺少筛选器数据结构",
2666
+ missingFilterSchemaOrDimension: "控件缺少必要的架构或维度",
2632
2667
  invalidCustomTimeRange: "自定义时间范围无效",
2633
2668
  customTimeRangeNamesMustBeUnique: "自定义时间范围名称必须唯一",
2634
2669
  invalidCustomOption: "自定义选项无效",
@@ -2652,7 +2687,9 @@ const mn = {
2652
2687
  loadMore: "加载更多",
2653
2688
  includeUnavailableOptions: "包含不可用选项",
2654
2689
  keepSelection: "保持选择",
2655
- keepSelectionTooltip: "保持当前选择,即使在更改日期、位置后这些选项不再可用时也是如此"
2690
+ keepSelectionTooltip: "保持当前选择,即使在更改日期、位置后这些选项不再可用时也是如此",
2691
+ hideGlobalFilters: "隐藏全局筛选条件",
2692
+ showGlobalFilters: "显示全局筛选条件"
2656
2693
  },
2657
2694
  metric: {
2658
2695
  title: "指标",
@@ -3452,7 +3489,7 @@ const mn = {
3452
3489
  "Void bill count": "作废@:{'report.dynamic.schema.Bill'}@:{'report.dynamic.common.count'}",
3453
3490
  "Draft bill count": "草稿@:{'report.dynamic.schema.Bill'}@:{'report.dynamic.common.count'}",
3454
3491
  "Draft bill nett": "草稿@:{'report.dynamic.schema.Bill'}净额",
3455
- "Generated by": "生成由",
3492
+ "Generated by": "生成于",
3456
3493
  Overview: "@.capitalize:{'report.dynamic.common.overview'}",
3457
3494
  "Top products": "顶级@:{'report.dynamic.common.product'}",
3458
3495
  Branches: "分店",
@@ -3614,7 +3651,11 @@ const mn = {
3614
3651
  Visibility: "可见性",
3615
3652
  "Changed by": "更改者",
3616
3653
  "Grand total": "总计",
3617
- "New widget": "新组件"
3654
+ "New widget": "新组件",
3655
+ "Gross w/ TAKEAWAY": "Gross w/ TAKEAWAY",
3656
+ Merchant: "商户",
3657
+ "Generated At": "生成于",
3658
+ "Registration No": "注册号码"
3618
3659
  }
3619
3660
  },
3620
3661
  jobs: {
@@ -3843,7 +3884,8 @@ const mn = {
3843
3884
  week: "หน่วยเวลาที่ใช้กับ EXTRACT หรือ DATE_TRUNC",
3844
3885
  month: "หน่วยเวลาที่ใช้กับ EXTRACT หรือ DATE_TRUNC",
3845
3886
  quarter: "หน่วยเวลาที่ใช้กับ EXTRACT หรือ DATE_TRUNC",
3846
- year: "หน่วยเวลาที่ใช้กับ EXTRACT หรือ DATE_TRUNC"
3887
+ year: "หน่วยเวลาที่ใช้กับ EXTRACT หรือ DATE_TRUNC",
3888
+ stringLiteral: `ค่าสตริงใช้เครื่องหมายคำพูดเดี่ยว ('text') เครื่องหมายคำพูดคู่ ("text") ใช้สำหรับชื่อคอลัมน์ ตัวอย่าง: NULLIF(column, '759') ไม่ใช่ NULLIF(column, "759")`
3847
3889
  },
3848
3890
  keywordExample: {
3849
3891
  caseWhen: "CASE WHEN sales_total > 100 THEN 'High' ELSE 'Low' END",
@@ -4010,7 +4052,19 @@ const mn = {
4010
4052
  september: "กันยายน",
4011
4053
  october: "ตุลาคม",
4012
4054
  november: "พฤศจิกายน",
4013
- december: "ธันวาคม"
4055
+ december: "ธันวาคม",
4056
+ Jan: "ม.ค.",
4057
+ Feb: "ก.พ.",
4058
+ Mar: "มี.ค.",
4059
+ Apr: "เม.ย.",
4060
+ May: "พ.ค.",
4061
+ Jun: "มิ.ย.",
4062
+ Jul: "ก.ค.",
4063
+ Aug: "ส.ค.",
4064
+ Sep: "ก.ย.",
4065
+ Oct: "ต.ค.",
4066
+ Nov: "พ.ย.",
4067
+ Dec: "ธ.ค."
4014
4068
  },
4015
4069
  date: {
4016
4070
  TODAY: "วันนี้",
@@ -4371,6 +4425,7 @@ const mn = {
4371
4425
  },
4372
4426
  tile: {
4373
4427
  setting: "การตั้งค่า",
4428
+ setupSetting: "ตั้งค่าการกำหนดค่า",
4374
4429
  widget: {
4375
4430
  details: "รายละเอียดวิดเจ็ต",
4376
4431
  title: "ชื่อวิดเจ็ต",
@@ -4421,7 +4476,8 @@ const mn = {
4421
4476
  moveToColumn: "ย้ายไปคอลัมน์",
4422
4477
  advance: "ขั้นสูง",
4423
4478
  dataFormula: "สูตรข้อมูล",
4424
- displayFormula: "สูตรแสดงผล"
4479
+ displayFormula: "สูตรแสดงผล",
4480
+ formatter: "Formatter"
4425
4481
  },
4426
4482
  filter: {
4427
4483
  title: "ตัวกรอง",
@@ -4449,6 +4505,7 @@ const mn = {
4449
4505
  missingSchema: "สคีมาไม่ถูกต้อง",
4450
4506
  missingTileIds: "ยังไม่ได้เลือกวิดเจ็ต",
4451
4507
  missingFilterSchema: "สคีมาไม่ถูกต้อง",
4508
+ missingFilterSchemaOrDimension: "วิดเจ็ตไม่มีสคีมาหรือมิติข้อมูลที่จำเป็น",
4452
4509
  invalidCustomTimeRange: "ช่วงเวลาแบบกำหนดเองไม่ถูกต้อง",
4453
4510
  customTimeRangeNamesMustBeUnique: "ชื่อช่วงเวลาแบบกำหนดเองต้องไม่ซ้ำกัน",
4454
4511
  invalidCustomOption: "ตัวเลือกแบบกำหนดเองไม่ถูกต้อง",
@@ -4472,7 +4529,9 @@ const mn = {
4472
4529
  loadMore: "โหลดเพิ่มเติม",
4473
4530
  includeUnavailableOptions: "รวมตัวเลือกที่ไม่สามารถใช้ได้",
4474
4531
  keepSelection: "เก็บการเลือก",
4475
- keepSelectionTooltip: "เมื่อเปิดใช้งาน ตัวเลือกที่ไม่สามารถใช้ได้จะยังคงถูกเก็บไว้ในการเลือกของคุณ แม้ว่าจะไม่มีข้อมูลสำหรับตัวเลือกเหล่านั้นในช่วงเวลาที่เลือกก็ตาม"
4532
+ keepSelectionTooltip: "เมื่อเปิดใช้งาน ตัวเลือกที่ไม่สามารถใช้ได้จะยังคงถูกเก็บไว้ในการเลือกของคุณ แม้ว่าจะไม่มีข้อมูลสำหรับตัวเลือกเหล่านั้นในช่วงเวลาที่เลือกก็ตาม",
4533
+ hideGlobalFilters: "ซ่อนตัวกรองส่วนกลาง",
4534
+ showGlobalFilters: "แสดงตัวกรองส่วนกลาง"
4476
4535
  },
4477
4536
  metric: {
4478
4537
  title: "เมตริก",
@@ -4514,7 +4573,8 @@ const mn = {
4514
4573
  SECOND_NO_DAY: "วินาที (ไม่มีวัน)",
4515
4574
  COMPACT_HOUR_MINUTE: "ระยะเวลา (HHhMMm)",
4516
4575
  PERCENT: "เปอร์เซ็นต์"
4517
- }
4576
+ },
4577
+ formatter: "Formatter"
4518
4578
  },
4519
4579
  limit: {
4520
4580
  title: "ข้อจำกัด",
@@ -5434,7 +5494,11 @@ const mn = {
5434
5494
  After: "หลังจาก",
5435
5495
  Visibility: "การแสดงผล",
5436
5496
  "Changed by": "แก้ไขโดย",
5437
- "New widget": "วิดเจ็ตใหม่"
5497
+ "New widget": "วิดเจ็ตใหม่",
5498
+ "Gross w/ TAKEAWAY": "Gross w/ TAKEAWAY",
5499
+ Merchant: "ผู้ประกอบการ",
5500
+ "Generated At": "สร้างเมื่อ",
5501
+ "Registration No": "เลขทะเบียน"
5438
5502
  }
5439
5503
  },
5440
5504
  jobs: {
@@ -5663,7 +5727,8 @@ const mn = {
5663
5727
  week: "EXTRACT 或 DATE_TRUNC 使用的時間單位。",
5664
5728
  month: "EXTRACT 或 DATE_TRUNC 使用的時間單位。",
5665
5729
  quarter: "EXTRACT 或 DATE_TRUNC 使用的時間單位。",
5666
- year: "EXTRACT 或 DATE_TRUNC 使用的時間單位。"
5730
+ year: "EXTRACT 或 DATE_TRUNC 使用的時間單位。",
5731
+ stringLiteral: `字串字面值使用單引號 ('text')。雙引號 ("text") 用於欄位名稱。範例:NULLIF(column, '759') 而非 NULLIF(column, "759")`
5667
5732
  },
5668
5733
  keywordExample: {
5669
5734
  caseWhen: "CASE WHEN sales_total > 100 THEN 'High' ELSE 'Low' END",
@@ -5774,9 +5839,9 @@ const mn = {
5774
5839
  schedule: {
5775
5840
  title: "@:report.common.schedule@:{report.common.email'}給@:report.common.report",
5776
5841
  everyDay: "每天",
5777
- everyWeek: "每週,每",
5778
- everyMonth: "每月,每",
5779
- everyYear: "每年,每",
5842
+ everyWeek: "每週",
5843
+ everyMonth: "每月",
5844
+ everyYear: "每年",
5780
5845
  daily: "每日",
5781
5846
  weekly: "每週",
5782
5847
  monthly: "每月",
@@ -5784,8 +5849,8 @@ const mn = {
5784
5849
  customDate: "自定義日期",
5785
5850
  addSchedule: "添加計劃",
5786
5851
  editSchedule: "編輯計劃",
5787
- scheduleEmailReport: "@:report.common.schedule@:report.common.email@:report.common.report",
5788
- sendEmail: "@:report.common.send@:report.common.email",
5852
+ scheduleEmailReport: "排程發送報表郵件",
5853
+ sendEmail: "發送郵件",
5789
5854
  deleteSchedule: "刪除計劃",
5790
5855
  operatingPeriod: "營業期間",
5791
5856
  operatingDay: "營業日",
@@ -5832,7 +5897,19 @@ const mn = {
5832
5897
  september: "九月",
5833
5898
  october: "十月",
5834
5899
  november: "十一月",
5835
- december: "十二月"
5900
+ december: "十二月",
5901
+ Jan: "1月",
5902
+ Feb: "2月",
5903
+ Mar: "3月",
5904
+ Apr: "4月",
5905
+ May: "5月",
5906
+ Jun: "6月",
5907
+ Jul: "7月",
5908
+ Aug: "8月",
5909
+ Sep: "9月",
5910
+ Oct: "10月",
5911
+ Nov: "11月",
5912
+ Dec: "12月"
5836
5913
  },
5837
5914
  date: {
5838
5915
  TODAY: "今天",
@@ -5887,7 +5964,8 @@ const mn = {
5887
5964
  allLocation: "所有地點",
5888
5965
  perLocation: "按地點",
5889
5966
  unknown: "未知",
5890
- searchLocation: "搜索地點"
5967
+ searchLocation: "搜索地點",
5968
+ customizeGlobalFilters: "自訂全域篩選器"
5891
5969
  },
5892
5970
  error: {
5893
5971
  selectAtLeastOneDay: "請選擇至少一天",
@@ -6008,11 +6086,16 @@ const mn = {
6008
6086
  },
6009
6087
  grouping: {
6010
6088
  title: "分組",
6011
- byInvoice: "按發票"
6089
+ byInvoice: "按發票",
6090
+ byDay: "By day",
6091
+ byDayItem: "By day and item",
6092
+ byDaySeparatePayment: "By day and separated payment"
6012
6093
  },
6013
6094
  discountByGroupKey: "按分組鍵拆分折扣項目",
6014
6095
  table: {
6015
- loading: "正在加載數據..."
6096
+ loading: "正在加載數據...",
6097
+ date: "Date",
6098
+ no: "No"
6016
6099
  },
6017
6100
  general: "一般",
6018
6101
  refreshSetting: "刷新設置",
@@ -6143,7 +6226,12 @@ const mn = {
6143
6226
  widgets: "元件",
6144
6227
  moveTo: "移動至",
6145
6228
  topLevel: "頂層",
6146
- emptyLevel: "尚無內容 — 請使用下方的新增按鈕"
6229
+ emptyLevel: "尚無內容 — 請使用下方的新增按鈕",
6230
+ devices: {
6231
+ desktop: "Desktop",
6232
+ tablet: "Tablet",
6233
+ phone: "Phone"
6234
+ }
6147
6235
  },
6148
6236
  widget: {
6149
6237
  type: "組件類型",
@@ -6181,6 +6269,7 @@ const mn = {
6181
6269
  },
6182
6270
  tile: {
6183
6271
  setting: "設置",
6272
+ setupSetting: "設定配置",
6184
6273
  widget: {
6185
6274
  details: "組件詳情",
6186
6275
  title: "組件標題",
@@ -6259,6 +6348,7 @@ const mn = {
6259
6348
  missingSchema: "缺少資料結構",
6260
6349
  missingTileIds: "未選擇小元件",
6261
6350
  missingFilterSchema: "缺少篩選器資料結構",
6351
+ missingFilterSchemaOrDimension: "元件缺少必要的架構或維度",
6262
6352
  invalidCustomTimeRange: "自訂時間範圍無效",
6263
6353
  customTimeRangeNamesMustBeUnique: "自訂時間範圍名稱必須唯一",
6264
6354
  invalidCustomOption: "自訂選項無效",
@@ -6282,7 +6372,9 @@ const mn = {
6282
6372
  loadMore: "加載更多",
6283
6373
  includeUnavailableOptions: "包含不可用選項",
6284
6374
  keepSelection: "保持選擇",
6285
- keepSelectionTooltip: "當篩選器選項不可用時,保持當前選擇不變"
6375
+ keepSelectionTooltip: "當篩選器選項不可用時,保持當前選擇不變",
6376
+ hideGlobalFilters: "隱藏全域篩選器",
6377
+ showGlobalFilters: "顯示全域篩選器"
6286
6378
  },
6287
6379
  metric: {
6288
6380
  title: "指標",
@@ -6401,7 +6493,8 @@ const mn = {
6401
6493
  anchorStart: "起始錨點",
6402
6494
  anchorCenter: "居中錨點",
6403
6495
  anchorEnd: "結束錨點"
6404
- }
6496
+ },
6497
+ textAlignment: "Text Alignment"
6405
6498
  },
6406
6499
  axis: {
6407
6500
  showX: "顯示X軸",
@@ -7082,7 +7175,7 @@ const mn = {
7082
7175
  "Void bill count": "作廢@:{'report.dynamic.schema.Bill'}@:{'report.dynamic.common.count'}",
7083
7176
  "Draft bill count": "草稿@:{'report.dynamic.schema.Bill'}@:{'report.dynamic.common.count'}",
7084
7177
  "Draft bill nett": "草稿@:{'report.dynamic.schema.Bill'}淨額",
7085
- "Generated by": "生產由",
7178
+ "Generated by": "生成於",
7086
7179
  Overview: "@.capitalize:{'report.dynamic.common.overview'}",
7087
7180
  "Top products": "頂級@:{'report.dynamic.common.product'}",
7088
7181
  Branches: "分店",
@@ -7244,7 +7337,11 @@ const mn = {
7244
7337
  Visibility: "可見性",
7245
7338
  "Changed by": "變更者",
7246
7339
  "Grand total": "總計",
7247
- "New widget": "新組件"
7340
+ "New widget": "新組件",
7341
+ "Gross w/ TAKEAWAY": "Gross w/ TAKEAWAY",
7342
+ Merchant: "商戶",
7343
+ "Generated At": "生成於",
7344
+ "Registration No": "註冊號碼"
7248
7345
  }
7249
7346
  },
7250
7347
  jobs: {
@@ -7301,55 +7398,55 @@ var er = { exports: {} };
7301
7398
  (function(r, o) {
7302
7399
  e.exports = o();
7303
7400
  })(Oe, function() {
7304
- var r = 1e3, o = 6e4, n = 36e5, a = "millisecond", i = "second", A = "minute", f = "hour", y = "day", u = "week", U = "month", z = "quarter", O = "year", b = "date", B = "Invalid Date", p = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, K = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, I = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(D) {
7305
- var R = ["th", "st", "nd", "rd"], C = D % 100;
7306
- return "[" + D + (R[(C - 20) % 10] || R[C] || R[0]) + "]";
7307
- } }, X = function(D, R, C) {
7308
- var j = String(D);
7309
- return !j || j.length >= R ? D : "" + Array(R + 1 - j.length).join(C) + D;
7310
- }, N = { s: X, z: function(D) {
7311
- var R = -D.utcOffset(), C = Math.abs(R), j = Math.floor(C / 60), H = C % 60;
7401
+ var r = 1e3, o = 6e4, n = 36e5, a = "millisecond", i = "second", A = "minute", f = "hour", y = "day", u = "week", D = "month", z = "quarter", O = "year", b = "date", B = "Invalid Date", p = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, K = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, I = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(U) {
7402
+ var R = ["th", "st", "nd", "rd"], C = U % 100;
7403
+ return "[" + U + (R[(C - 20) % 10] || R[C] || R[0]) + "]";
7404
+ } }, X = function(U, R, C) {
7405
+ var j = String(U);
7406
+ return !j || j.length >= R ? U : "" + Array(R + 1 - j.length).join(C) + U;
7407
+ }, N = { s: X, z: function(U) {
7408
+ var R = -U.utcOffset(), C = Math.abs(R), j = Math.floor(C / 60), H = C % 60;
7312
7409
  return (R <= 0 ? "+" : "-") + X(j, 2, "0") + ":" + X(H, 2, "0");
7313
- }, m: function D(R, C) {
7314
- if (R.date() < C.date()) return -D(C, R);
7315
- var j = 12 * (C.year() - R.year()) + (C.month() - R.month()), H = R.clone().add(j, U), h = C - H < 0, s = R.clone().add(j + (h ? -1 : 1), U);
7410
+ }, m: function U(R, C) {
7411
+ if (R.date() < C.date()) return -U(C, R);
7412
+ var j = 12 * (C.year() - R.year()) + (C.month() - R.month()), H = R.clone().add(j, D), h = C - H < 0, s = R.clone().add(j + (h ? -1 : 1), D);
7316
7413
  return +(-(j + (C - H) / (h ? H - s : s - H)) || 0);
7317
- }, a: function(D) {
7318
- return D < 0 ? Math.ceil(D) || 0 : Math.floor(D);
7319
- }, p: function(D) {
7320
- return { M: U, y: O, w: u, d: y, D: b, h: f, m: A, s: i, ms: a, Q: z }[D] || String(D || "").toLowerCase().replace(/s$/, "");
7321
- }, u: function(D) {
7322
- return D === void 0;
7414
+ }, a: function(U) {
7415
+ return U < 0 ? Math.ceil(U) || 0 : Math.floor(U);
7416
+ }, p: function(U) {
7417
+ return { M: D, y: O, w: u, d: y, D: b, h: f, m: A, s: i, ms: a, Q: z }[U] || String(U || "").toLowerCase().replace(/s$/, "");
7418
+ }, u: function(U) {
7419
+ return U === void 0;
7323
7420
  } }, S = "en", L = {};
7324
7421
  L[S] = I;
7325
- var J = "$isDayjsObject", _ = function(D) {
7326
- return D instanceof x || !(!D || !D[J]);
7327
- }, l = function D(R, C, j) {
7422
+ var J = "$isDayjsObject", _ = function(U) {
7423
+ return U instanceof x || !(!U || !U[J]);
7424
+ }, l = function U(R, C, j) {
7328
7425
  var H;
7329
7426
  if (!R) return S;
7330
7427
  if (typeof R == "string") {
7331
7428
  var h = R.toLowerCase();
7332
7429
  L[h] && (H = h), C && (L[h] = C, H = h);
7333
7430
  var s = R.split("-");
7334
- if (!H && s.length > 1) return D(s[0]);
7431
+ if (!H && s.length > 1) return U(s[0]);
7335
7432
  } else {
7336
7433
  var c = R.name;
7337
7434
  L[c] = R, H = c;
7338
7435
  }
7339
7436
  return !j && H && (S = H), H || !j && S;
7340
- }, F = function(D, R) {
7341
- if (_(D)) return D.clone();
7437
+ }, F = function(U, R) {
7438
+ if (_(U)) return U.clone();
7342
7439
  var C = typeof R == "object" ? R : {};
7343
- return C.date = D, C.args = arguments, new x(C);
7440
+ return C.date = U, C.args = arguments, new x(C);
7344
7441
  }, v = N;
7345
- v.l = l, v.i = _, v.w = function(D, R) {
7346
- return F(D, { locale: R.$L, utc: R.$u, x: R.$x, $offset: R.$offset });
7442
+ v.l = l, v.i = _, v.w = function(U, R) {
7443
+ return F(U, { locale: R.$L, utc: R.$u, x: R.$x, $offset: R.$offset });
7347
7444
  };
7348
7445
  var x = function() {
7349
- function D(C) {
7446
+ function U(C) {
7350
7447
  this.$L = l(C.locale, null, !0), this.parse(C), this.$x = this.$x || C.x || {}, this[J] = !0;
7351
7448
  }
7352
- var R = D.prototype;
7449
+ var R = U.prototype;
7353
7450
  return R.parse = function(C) {
7354
7451
  this.$d = function(j) {
7355
7452
  var H = j.date, h = j.utc;
@@ -7395,7 +7492,7 @@ var er = { exports: {} };
7395
7492
  switch (s) {
7396
7493
  case O:
7397
7494
  return h ? c(1, 0) : c(31, 11);
7398
- case U:
7495
+ case D:
7399
7496
  return h ? c(1, P) : c(0, P + 1);
7400
7497
  case u:
7401
7498
  var G = this.$locale().weekStart || 0, Z = (m < G ? m + 7 : m) - G;
@@ -7415,8 +7512,8 @@ var er = { exports: {} };
7415
7512
  }, R.endOf = function(C) {
7416
7513
  return this.startOf(C, !1);
7417
7514
  }, R.$set = function(C, j) {
7418
- var H, h = v.p(C), s = "set" + (this.$u ? "UTC" : ""), c = (H = {}, H[y] = s + "Date", H[b] = s + "Date", H[U] = s + "Month", H[O] = s + "FullYear", H[f] = s + "Hours", H[A] = s + "Minutes", H[i] = s + "Seconds", H[a] = s + "Milliseconds", H)[h], d = h === y ? this.$D + (j - this.$W) : j;
7419
- if (h === U || h === O) {
7515
+ var H, h = v.p(C), s = "set" + (this.$u ? "UTC" : ""), c = (H = {}, H[y] = s + "Date", H[b] = s + "Date", H[D] = s + "Month", H[O] = s + "FullYear", H[f] = s + "Hours", H[A] = s + "Minutes", H[i] = s + "Seconds", H[a] = s + "Milliseconds", H)[h], d = h === y ? this.$D + (j - this.$W) : j;
7516
+ if (h === D || h === O) {
7420
7517
  var m = this.clone().set(b, 1);
7421
7518
  m.$d[c](d), m.init(), this.$d = m.set(b, Math.min(this.$D, m.daysInMonth())).$d;
7422
7519
  } else c && this.$d[c](d);
@@ -7432,7 +7529,7 @@ var er = { exports: {} };
7432
7529
  var E = F(h);
7433
7530
  return v.w(E.date(E.date() + Math.round(P * C)), h);
7434
7531
  };
7435
- if (s === U) return this.set(U, this.$M + C);
7532
+ if (s === D) return this.set(D, this.$M + C);
7436
7533
  if (s === O) return this.set(O, this.$y + C);
7437
7534
  if (s === y) return c(1);
7438
7535
  if (s === u) return c(7);
@@ -7516,7 +7613,7 @@ var er = { exports: {} };
7516
7613
  case O:
7517
7614
  h = E() / 12;
7518
7615
  break;
7519
- case U:
7616
+ case D:
7520
7617
  h = E();
7521
7618
  break;
7522
7619
  case z:
@@ -7542,7 +7639,7 @@ var er = { exports: {} };
7542
7639
  }
7543
7640
  return H ? h : v.a(h);
7544
7641
  }, R.daysInMonth = function() {
7545
- return this.endOf(U).$D;
7642
+ return this.endOf(D).$D;
7546
7643
  }, R.$locale = function() {
7547
7644
  return L[this.$L];
7548
7645
  }, R.locale = function(C, j) {
@@ -7559,16 +7656,16 @@ var er = { exports: {} };
7559
7656
  return this.$d.toISOString();
7560
7657
  }, R.toString = function() {
7561
7658
  return this.$d.toUTCString();
7562
- }, D;
7659
+ }, U;
7563
7660
  }(), M = x.prototype;
7564
- return F.prototype = M, [["$ms", a], ["$s", i], ["$m", A], ["$H", f], ["$W", y], ["$M", U], ["$y", O], ["$D", b]].forEach(function(D) {
7565
- M[D[1]] = function(R) {
7566
- return this.$g(R, D[0], D[1]);
7661
+ return F.prototype = M, [["$ms", a], ["$s", i], ["$m", A], ["$H", f], ["$W", y], ["$M", D], ["$y", O], ["$D", b]].forEach(function(U) {
7662
+ M[U[1]] = function(R) {
7663
+ return this.$g(R, U[0], U[1]);
7567
7664
  };
7568
- }), F.extend = function(D, R) {
7569
- return D.$i || (D(R, x, F), D.$i = !0), F;
7570
- }, F.locale = l, F.isDayjs = _, F.unix = function(D) {
7571
- return F(1e3 * D);
7665
+ }), F.extend = function(U, R) {
7666
+ return U.$i || (U(R, x, F), U.$i = !0), F;
7667
+ }, F.locale = l, F.isDayjs = _, F.unix = function(U) {
7668
+ return F(1e3 * U);
7572
7669
  }, F.en = L[S], F.Ls = L, F.p = {}, F;
7573
7670
  });
7574
7671
  })(er);
@@ -7602,10 +7699,10 @@ var tr = { exports: {} };
7602
7699
  this.$y = B.getUTCFullYear(), this.$M = B.getUTCMonth(), this.$D = B.getUTCDate(), this.$W = B.getUTCDay(), this.$H = B.getUTCHours(), this.$m = B.getUTCMinutes(), this.$s = B.getUTCSeconds(), this.$ms = B.getUTCMilliseconds();
7603
7700
  } else u.call(this);
7604
7701
  };
7605
- var U = f.utcOffset;
7702
+ var D = f.utcOffset;
7606
7703
  f.utcOffset = function(B, p) {
7607
7704
  var K = this.$utils().u;
7608
- if (K(B)) return this.$u ? 0 : K(this.$offset) ? U.call(this) : this.$offset;
7705
+ if (K(B)) return this.$u ? 0 : K(this.$offset) ? D.call(this) : this.$offset;
7609
7706
  if (typeof B == "string" && (B = function(S) {
7610
7707
  S === void 0 && (S = "");
7611
7708
  var L = S.match(o);
@@ -7688,11 +7785,11 @@ var or = { exports: {} };
7688
7785
  });
7689
7786
  return b && b.value;
7690
7787
  };
7691
- var U = u.startOf;
7788
+ var D = u.startOf;
7692
7789
  u.startOf = function(z, O) {
7693
- if (!this.$x || !this.$x.$timezone) return U.call(this, z, O);
7790
+ if (!this.$x || !this.$x.$timezone) return D.call(this, z, O);
7694
7791
  var b = i(this.format("YYYY-MM-DD HH:mm:ss:SSS"), { locale: this.$L });
7695
- return U.call(b, z, O).tz(this.$x.$timezone, !0);
7792
+ return D.call(b, z, O).tz(this.$x.$timezone, !0);
7696
7793
  }, i.tz = function(z, O, b) {
7697
7794
  var B = b && O, p = b || O || A, K = y(+i(), p);
7698
7795
  if (typeof z != "string") return i(z).tz(p);
@@ -7724,7 +7821,7 @@ var rr = { exports: {} };
7724
7821
  return function(K) {
7725
7822
  this[p] = +K;
7726
7823
  };
7727
- }, U = [/[+-]\d\d:?(\d\d)?|Z/, function(p) {
7824
+ }, D = [/[+-]\d\d:?(\d\d)?|Z/, function(p) {
7728
7825
  (this.zone || (this.zone = {})).offset = function(K) {
7729
7826
  if (!K || K === "Z") return 0;
7730
7827
  var I = K.match(/([+-]|\d\d)/g), X = 60 * I[1] + (+I[2] || 0);
@@ -7769,13 +7866,13 @@ var rr = { exports: {} };
7769
7866
  this.month = K % 12 || K;
7770
7867
  }], Y: [/[+-]?\d+/, u("year")], YY: [a, function(p) {
7771
7868
  this.year = y(p);
7772
- }], YYYY: [/\d{4}/, u("year")], Z: U, ZZ: U };
7869
+ }], YYYY: [/\d{4}/, u("year")], Z: D, ZZ: D };
7773
7870
  function B(p) {
7774
7871
  var K, I;
7775
7872
  K = p, I = f && f.formats;
7776
7873
  for (var X = (p = K.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(F, v, x) {
7777
7874
  var M = x && x.toUpperCase();
7778
- return v || I[x] || r[x] || I[M].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(D, R, C) {
7875
+ return v || I[x] || r[x] || I[M].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(U, R, C) {
7779
7876
  return R || C.slice(1);
7780
7877
  });
7781
7878
  })).match(o), N = X.length, S = 0; S < N; S += 1) {
@@ -7784,10 +7881,10 @@ var rr = { exports: {} };
7784
7881
  }
7785
7882
  return function(F) {
7786
7883
  for (var v = {}, x = 0, M = 0; x < N; x += 1) {
7787
- var D = X[x];
7788
- if (typeof D == "string") M += D.length;
7884
+ var U = X[x];
7885
+ if (typeof U == "string") M += U.length;
7789
7886
  else {
7790
- var R = D.regex, C = D.parser, j = F.slice(M), H = R.exec(j)[0];
7887
+ var R = U.regex, C = U.parser, j = F.slice(M), H = R.exec(j)[0];
7791
7888
  C.call(v, H), F = F.replace(H, "");
7792
7889
  }
7793
7890
  }
@@ -7820,14 +7917,14 @@ var rr = { exports: {} };
7820
7917
  return /* @__PURE__ */ new Date("");
7821
7918
  }
7822
7919
  }(L, l, J, I), this.init(), M && M !== !0 && (this.$L = this.locale(M).$L), x && L != this.format(l) && (this.$d = /* @__PURE__ */ new Date("")), f = {};
7823
- } else if (l instanceof Array) for (var D = l.length, R = 1; R <= D; R += 1) {
7920
+ } else if (l instanceof Array) for (var U = l.length, R = 1; R <= U; R += 1) {
7824
7921
  _[1] = l[R - 1];
7825
7922
  var C = I.apply(this, _);
7826
7923
  if (C.isValid()) {
7827
7924
  this.$d = C.$d, this.$L = C.$L, this.init();
7828
7925
  break;
7829
7926
  }
7830
- R === D && (this.$d = /* @__PURE__ */ new Date(""));
7927
+ R === U && (this.$d = /* @__PURE__ */ new Date(""));
7831
7928
  }
7832
7929
  else N.call(this, S);
7833
7930
  };
@@ -7849,8 +7946,8 @@ var nr = { exports: {} };
7849
7946
  };
7850
7947
  });
7851
7948
  })(nr);
7852
- var Un = nr.exports;
7853
- const Dn = /* @__PURE__ */ Ve(Un);
7949
+ var Dn = nr.exports;
7950
+ const Un = /* @__PURE__ */ Ve(Dn);
7854
7951
  var ar = { exports: {} };
7855
7952
  (function(e, t) {
7856
7953
  (function(r, o) {
@@ -7884,7 +7981,7 @@ const xn = /* @__PURE__ */ Ve(Kn);
7884
7981
  W.extend(Fn);
7885
7982
  W.extend(Bn);
7886
7983
  W.extend(Rn);
7887
- W.extend(Dn);
7984
+ W.extend(Un);
7888
7985
  W.extend(bn);
7889
7986
  W.extend(xn);
7890
7987
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
@@ -7902,7 +7999,7 @@ function Hn(e, t, r) {
7902
7999
  onError: A = En
7903
8000
  } = o, f = ne(!n), y = i ? Zr(t) : ne(t);
7904
8001
  let u = 0;
7905
- return Jr(async (U) => {
8002
+ return Jr(async (D) => {
7906
8003
  if (!f.value)
7907
8004
  return;
7908
8005
  u++;
@@ -7913,7 +8010,7 @@ function Hn(e, t, r) {
7913
8010
  });
7914
8011
  try {
7915
8012
  const b = await e((B) => {
7916
- U(() => {
8013
+ D(() => {
7917
8014
  a && (a.value = !1), O || B();
7918
8015
  });
7919
8016
  });
@@ -7993,7 +8090,7 @@ var cr = { exports: {} };
7993
8090
  function u(l, F) {
7994
8091
  return y(l.get) ? l.get(F) : l[F];
7995
8092
  }
7996
- function U(l) {
8093
+ function D(l) {
7997
8094
  return function(F, v) {
7998
8095
  if (!A(v) || !v.length) return l(F, v);
7999
8096
  for (var x = 0, M = v.length; x < M; x++)
@@ -8013,25 +8110,25 @@ var cr = { exports: {} };
8013
8110
  return l.validate(l.options, F, v, x);
8014
8111
  }
8015
8112
  var b = {
8016
- $eq: U(function(l, F) {
8113
+ $eq: D(function(l, F) {
8017
8114
  return l(F);
8018
8115
  }),
8019
8116
  $ne: z(function(l, F) {
8020
8117
  return l(F);
8021
8118
  }),
8022
- $gt: U(function(l, F) {
8119
+ $gt: D(function(l, F) {
8023
8120
  return l(F);
8024
8121
  }),
8025
- $gte: U(function(l, F) {
8122
+ $gte: D(function(l, F) {
8026
8123
  return l(F);
8027
8124
  }),
8028
- $lt: U(function(l, F) {
8125
+ $lt: D(function(l, F) {
8029
8126
  return l(F);
8030
8127
  }),
8031
- $lte: U(function(l, F) {
8128
+ $lte: D(function(l, F) {
8032
8129
  return l(F);
8033
8130
  }),
8034
- $mod: U(function(l, F) {
8131
+ $mod: D(function(l, F) {
8035
8132
  return l(F);
8036
8133
  }),
8037
8134
  $in: function(l, F) {
@@ -8053,7 +8150,7 @@ var cr = { exports: {} };
8053
8150
  return !!F && l === F.length;
8054
8151
  },
8055
8152
  $or: function(l, F, v, x) {
8056
- for (var M = 0, D = l.length; M < D; M++)
8153
+ for (var M = 0, U = l.length; M < U; M++)
8057
8154
  if (O(u(l, M), F, v, x)) return !0;
8058
8155
  return !1;
8059
8156
  },
@@ -8061,20 +8158,20 @@ var cr = { exports: {} };
8061
8158
  return !b.$or(l, F, v, x);
8062
8159
  },
8063
8160
  $and: function(l, F, v, x) {
8064
- for (var M = 0, D = l.length; M < D; M++)
8161
+ for (var M = 0, U = l.length; M < U; M++)
8065
8162
  if (!O(u(l, M), F, v, x)) return !1;
8066
8163
  return !0;
8067
8164
  },
8068
- $regex: U(function(l, F) {
8165
+ $regex: D(function(l, F) {
8069
8166
  return typeof F == "string" && l.test(F);
8070
8167
  }),
8071
8168
  $where: function(l, F, v, x) {
8072
8169
  return l.call(F, F, v, x);
8073
8170
  },
8074
8171
  $elemMatch: function(l, F, v, x) {
8075
- return A(F) ? !!~function(M, D) {
8172
+ return A(F) ? !!~function(M, U) {
8076
8173
  for (var R = 0; R < M.length; R++)
8077
- if (u(M, R), O(D, u(M, R))) return R;
8174
+ if (u(M, R), O(U, u(M, R))) return R;
8078
8175
  return -1;
8079
8176
  }(F, l) : O(l, F, v, x);
8080
8177
  },
@@ -8084,61 +8181,61 @@ var cr = { exports: {} };
8084
8181
  }, B = {
8085
8182
  $eq: function(l, F, v) {
8086
8183
  var x = v.comparable, M = v.compare;
8087
- return l instanceof RegExp ? U(function(D) {
8088
- return typeof D == "string" && l.test(D);
8089
- }) : l instanceof Function ? U(l) : A(l) && !l.length ? U(function(D) {
8090
- return A(D) && !D.length;
8091
- }) : U(
8092
- l === null ? function(D) {
8093
- return D == null;
8094
- } : function(D) {
8095
- return M(x(D), x(l)) === 0;
8184
+ return l instanceof RegExp ? D(function(U) {
8185
+ return typeof U == "string" && l.test(U);
8186
+ }) : l instanceof Function ? D(l) : A(l) && !l.length ? D(function(U) {
8187
+ return A(U) && !U.length;
8188
+ }) : D(
8189
+ l === null ? function(U) {
8190
+ return U == null;
8191
+ } : function(U) {
8192
+ return M(x(U), x(l)) === 0;
8096
8193
  }
8097
8194
  );
8098
8195
  },
8099
8196
  $gt: function(l, F, v) {
8100
8197
  var x = v.comparable, M = v.compare;
8101
- return function(D) {
8102
- return M(x(D), x(l)) > 0;
8198
+ return function(U) {
8199
+ return M(x(U), x(l)) > 0;
8103
8200
  };
8104
8201
  },
8105
8202
  $gte: function(l, F, v) {
8106
8203
  var x = v.comparable, M = v.compare;
8107
- return function(D) {
8108
- return M(x(D), x(l)) >= 0;
8204
+ return function(U) {
8205
+ return M(x(U), x(l)) >= 0;
8109
8206
  };
8110
8207
  },
8111
8208
  $lt: function(l, F, v) {
8112
8209
  var x = v.comparable, M = v.compare;
8113
- return function(D) {
8114
- return M(x(D), x(l)) < 0;
8210
+ return function(U) {
8211
+ return M(x(U), x(l)) < 0;
8115
8212
  };
8116
8213
  },
8117
8214
  $lte: function(l, F, v) {
8118
8215
  var x = v.comparable, M = v.compare;
8119
- return function(D) {
8120
- return M(x(D), x(l)) <= 0;
8216
+ return function(U) {
8217
+ return M(x(U), x(l)) <= 0;
8121
8218
  };
8122
8219
  },
8123
8220
  $in: function(l, F, v) {
8124
8221
  var x = v.comparable;
8125
8222
  return function(M) {
8126
8223
  if (!(M instanceof Array)) {
8127
- var D = x(M);
8128
- if (D === M && a(M) === "object") {
8224
+ var U = x(M);
8225
+ if (U === M && a(M) === "object") {
8129
8226
  for (C = l.length; C--; )
8130
8227
  if (String(l[C]) === String(M) && String(M) !== "[object Object]")
8131
8228
  return !0;
8132
8229
  }
8133
- if (D === void 0) {
8230
+ if (U === void 0) {
8134
8231
  for (C = l.length; C--; ) if (l[C] == null) return !0;
8135
8232
  }
8136
8233
  for (C = l.length; C--; ) {
8137
- var R = O(S(u(l, C), v), D, C, l);
8138
- if (R && String(R) !== "[object Object]" && String(D) !== "[object Object]")
8234
+ var R = O(S(u(l, C), v), U, C, l);
8235
+ if (R && String(R) !== "[object Object]" && String(U) !== "[object Object]")
8139
8236
  return !0;
8140
8237
  }
8141
- return !!~l.indexOf(D);
8238
+ return !!~l.indexOf(U);
8142
8239
  }
8143
8240
  for (var C = M.length; C--; )
8144
8241
  if (~l.indexOf(x(u(M, C)))) return !0;
@@ -8147,8 +8244,8 @@ var cr = { exports: {} };
8147
8244
  },
8148
8245
  $nin: function(l, F, v) {
8149
8246
  var x = B.$in(l, F, v);
8150
- return function(M, D, R, C) {
8151
- return !x(M, D, R, C);
8247
+ return function(M, U, R, C) {
8248
+ return !x(M, U, R, C);
8152
8249
  };
8153
8250
  },
8154
8251
  $mod: function(l) {
@@ -8158,8 +8255,8 @@ var cr = { exports: {} };
8158
8255
  },
8159
8256
  $ne: function(l, F, v) {
8160
8257
  var x = B.$eq(l, F, v);
8161
- return z(function(M, D, R, C) {
8162
- return !x(M, D, R, C);
8258
+ return z(function(M, U, R, C) {
8259
+ return !x(M, U, R, C);
8163
8260
  });
8164
8261
  },
8165
8262
  $and: function(l, F, v) {
@@ -8176,8 +8273,8 @@ var cr = { exports: {} };
8176
8273
  },
8177
8274
  $not: function(l, F, v) {
8178
8275
  var x = X(v)(l);
8179
- return function(M, D, R) {
8180
- return !O(x, M, D, R);
8276
+ return function(M, U, R) {
8277
+ return !O(x, M, U, R);
8181
8278
  };
8182
8279
  },
8183
8280
  $type: function(l) {
@@ -8205,7 +8302,7 @@ var cr = { exports: {} };
8205
8302
  return { options: l, validate: F };
8206
8303
  }
8207
8304
  function K(l, F) {
8208
- var v = l.keyPath, x = l.child, M = l.query, D = [];
8305
+ var v = l.keyPath, x = l.child, M = l.query, U = [];
8209
8306
  if (function c(d, m, P, E, V) {
8210
8307
  if (P === m.length || d == null)
8211
8308
  return void V.push([d, m[P - 1], E]);
@@ -8213,12 +8310,12 @@ var cr = { exports: {} };
8213
8310
  if (A(d) && isNaN(Number(G)))
8214
8311
  for (var Z = 0, Q = d.length; Z < Q; Z++) c(u(d, Z), m, P, d, V);
8215
8312
  else c(u(d, G), m, P + 1, d, V);
8216
- }(F, v, 0, F, D), D.length === 1) {
8217
- var R = D[0];
8313
+ }(F, v, 0, F, U), U.length === 1) {
8314
+ var R = U[0];
8218
8315
  return O(x, R[0], R[1], R[2]);
8219
8316
  }
8220
- for (var C = M && M.$ne !== void 0, j = C, H = 0; H < D.length; H++) {
8221
- var h = D[H], s = O(x, h[0], h[1], h[2]);
8317
+ for (var C = M && M.$ne !== void 0, j = C, H = 0; H < U.length; H++) {
8318
+ var h = U[H], s = O(x, h[0], h[1], h[2]);
8222
8319
  C ? j &= s : j |= s;
8223
8320
  }
8224
8321
  return j;
@@ -8242,12 +8339,12 @@ var cr = { exports: {} };
8242
8339
  if (j.charCodeAt(0) === 36)
8243
8340
  throw new Error("Unknown operation " + j);
8244
8341
  var s = j.split(".");
8245
- C.push(I(s, D(H), H));
8342
+ C.push(I(s, U(H), H));
8246
8343
  }
8247
8344
  }
8248
8345
  }
8249
8346
  return C.length === 1 ? C[0] : p(C, b.$and);
8250
- }, D = function(R) {
8347
+ }, U = function(R) {
8251
8348
  return R = x(R), function C(j, H) {
8252
8349
  if (!f(j)) return H;
8253
8350
  for (var h in j) H.push(h), C(j[h], H);
@@ -8278,15 +8375,15 @@ var cr = { exports: {} };
8278
8375
  var v = X(F)(l);
8279
8376
  return F && F.select && (v = {
8280
8377
  options: v,
8281
- validate: function(x, M, D, R) {
8282
- return O(x, M && F.select(M), D, R);
8378
+ validate: function(x, M, U, R) {
8379
+ return O(x, M && F.select(M), U, R);
8283
8380
  }
8284
8381
  }), v;
8285
8382
  }
8286
8383
  function L(l, F) {
8287
8384
  var v = S(l, F = Object.assign({ compare: J, comparable: _ }, F));
8288
- return function(x, M, D) {
8289
- return O(v, x, M, D);
8385
+ return function(x, M, U) {
8386
+ return O(v, x, M, U);
8290
8387
  };
8291
8388
  }
8292
8389
  function J(l, F) {
@@ -8497,10 +8594,10 @@ var Ar = /* @__PURE__ */ function() {
8497
8594
  return process.env.NODE_ENV !== "production" && a.isAllInverted && o.length && console.warn("[casl]: Ability contains only inverted rules. That means user will not be able to do any actions. This will be changed to Error throw in the next major version"), this[Be].indexedRules = a.rules, this[Be].hasPerFieldRules = a.hasPerFieldRules, this.emit("updated", n), this;
8498
8595
  }, t.buildIndexFor = function(o) {
8499
8596
  for (var n = /* @__PURE__ */ Object.create(null), a = this[Be].RuleType, i = !0, A = !1, f = 0; f < o.length; f++) {
8500
- var y = new a(o[f]), u = this.expandActions(y.actions), U = co(y.subject), z = o.length - f - 1;
8597
+ var y = new a(o[f]), u = this.expandActions(y.actions), D = co(y.subject), z = o.length - f - 1;
8501
8598
  i = !!(i && y.inverted), !A && y.fields && (A = !0);
8502
- for (var O = 0; O < U.length; O++) {
8503
- var b = U[O];
8599
+ for (var O = 0; O < D.length; O++) {
8600
+ var b = D[O];
8504
8601
  n[b] = n[b] || /* @__PURE__ */ Object.create(null);
8505
8602
  for (var B = 0; B < u.length; B++) {
8506
8603
  var p = u[B];
@@ -8877,7 +8974,7 @@ const ho = [
8877
8974
  ...ur,
8878
8975
  ...pr
8879
8976
  ];
8880
- const Ua = [
8977
+ const Da = [
8881
8978
  {
8882
8979
  label: "Inventory",
8883
8980
  subject: q.inventory,
@@ -8898,7 +8995,7 @@ const Ua = [
8898
8995
  subject: q.inventory_closingTemplate,
8899
8996
  actions: [g.read, g.update]
8900
8997
  }
8901
- ], Da = [
8998
+ ], Ua = [
8902
8999
  {
8903
9000
  label: "Inventory",
8904
9001
  subject: q.inventory,
@@ -9125,12 +9222,12 @@ const Xa = {
9125
9222
  [`set_${T.inventory_ingredient}`]: {
9126
9223
  key: "sys:inventory:ingredient",
9127
9224
  name: "Ingredient",
9128
- permissions: Ua
9225
+ permissions: Da
9129
9226
  },
9130
9227
  [`set_${T.inventory_ingredientGroup}`]: {
9131
9228
  key: "sys:inventory:ingredient_group",
9132
9229
  name: "Ingredient Group",
9133
- permissions: Da
9230
+ permissions: Ua
9134
9231
  },
9135
9232
  [`set_${T.inventory_recipe}`]: {
9136
9233
  key: "sys:inventory:recipe",
@@ -9288,7 +9385,7 @@ function hr(e, t) {
9288
9385
  const { toString: Ma } = Object.prototype, { getPrototypeOf: Fo } = Object, Rt = /* @__PURE__ */ ((e) => (t) => {
9289
9386
  const r = Ma.call(t);
9290
9387
  return e[r] || (e[r] = r.slice(8, -1).toLowerCase());
9291
- })(/* @__PURE__ */ Object.create(null)), Pe = (e) => (e = e.toLowerCase(), (t) => Rt(t) === e), Ut = (e) => (t) => typeof t === e, { isArray: et } = Array, it = Ut("undefined");
9388
+ })(/* @__PURE__ */ Object.create(null)), Pe = (e) => (e = e.toLowerCase(), (t) => Rt(t) === e), Dt = (e) => (t) => typeof t === e, { isArray: et } = Array, it = Dt("undefined");
9292
9389
  function Qa(e) {
9293
9390
  return e !== null && !it(e) && e.constructor !== null && !it(e.constructor) && Ce(e.constructor.isBuffer) && e.constructor.isBuffer(e);
9294
9391
  }
@@ -9297,12 +9394,12 @@ function Va(e) {
9297
9394
  let t;
9298
9395
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Fr(e.buffer), t;
9299
9396
  }
9300
- const Sa = Ut("string"), Ce = Ut("function"), wr = Ut("number"), Dt = (e) => e !== null && typeof e == "object", Ga = (e) => e === !0 || e === !1, yt = (e) => {
9397
+ const Sa = Dt("string"), Ce = Dt("function"), wr = Dt("number"), Ut = (e) => e !== null && typeof e == "object", Ga = (e) => e === !0 || e === !1, yt = (e) => {
9301
9398
  if (Rt(e) !== "object")
9302
9399
  return !1;
9303
9400
  const t = Fo(e);
9304
9401
  return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
9305
- }, Na = Pe("Date"), qa = Pe("File"), Ya = Pe("Blob"), La = Pe("FileList"), ka = (e) => Dt(e) && Ce(e.pipe), Wa = (e) => {
9402
+ }, Na = Pe("Date"), qa = Pe("File"), Ya = Pe("Blob"), La = Pe("FileList"), ka = (e) => Ut(e) && Ce(e.pipe), Wa = (e) => {
9306
9403
  let t;
9307
9404
  return e && (typeof FormData == "function" && e instanceof FormData || Ce(e.append) && ((t = Rt(e)) === "formdata" || // detect form-data instance
9308
9405
  t === "object" && Ce(e.toString) && e.toString() === "[object FormData]"));
@@ -9416,11 +9513,11 @@ const oi = (e, t, r, { allOwnKeys: o } = {}) => (st(t, (n, a) => {
9416
9513
  };
9417
9514
  return et(e) ? o(e) : o(String(e).split(t)), r;
9418
9515
  }, gi = () => {
9419
- }, yi = (e, t) => e != null && Number.isFinite(e = +e) ? e : t, eo = "abcdefghijklmnopqrstuvwxyz", Io = "0123456789", Ur = {
9516
+ }, yi = (e, t) => e != null && Number.isFinite(e = +e) ? e : t, eo = "abcdefghijklmnopqrstuvwxyz", Io = "0123456789", Dr = {
9420
9517
  DIGIT: Io,
9421
9518
  ALPHA: eo,
9422
9519
  ALPHA_DIGIT: eo + eo.toUpperCase() + Io
9423
- }, vi = (e = 16, t = Ur.ALPHA_DIGIT) => {
9520
+ }, vi = (e = 16, t = Dr.ALPHA_DIGIT) => {
9424
9521
  let r = "";
9425
9522
  const { length: o } = t;
9426
9523
  for (; e--; )
@@ -9432,7 +9529,7 @@ function hi(e) {
9432
9529
  }
9433
9530
  const Fi = (e) => {
9434
9531
  const t = new Array(10), r = (o, n) => {
9435
- if (Dt(o)) {
9532
+ if (Ut(o)) {
9436
9533
  if (t.indexOf(o) >= 0)
9437
9534
  return;
9438
9535
  if (!("toJSON" in o)) {
@@ -9447,14 +9544,14 @@ const Fi = (e) => {
9447
9544
  return o;
9448
9545
  };
9449
9546
  return r(e, 0);
9450
- }, wi = Pe("AsyncFunction"), Bi = (e) => e && (Dt(e) || Ce(e)) && Ce(e.then) && Ce(e.catch), Dr = ((e, t) => e ? setImmediate : t ? ((r, o) => (qe.addEventListener("message", ({ source: n, data: a }) => {
9547
+ }, wi = Pe("AsyncFunction"), Bi = (e) => e && (Ut(e) || Ce(e)) && Ce(e.then) && Ce(e.catch), Ur = ((e, t) => e ? setImmediate : t ? ((r, o) => (qe.addEventListener("message", ({ source: n, data: a }) => {
9451
9548
  n === qe && a === r && o.length && o.shift()();
9452
9549
  }, !1), (n) => {
9453
9550
  o.push(n), qe.postMessage(r, "*");
9454
9551
  }))(`axios@${Math.random()}`, []) : (r) => setTimeout(r))(
9455
9552
  typeof setImmediate == "function",
9456
9553
  Ce(qe.postMessage)
9457
- ), Ci = typeof queueMicrotask < "u" ? queueMicrotask.bind(qe) : typeof process < "u" && process.nextTick || Dr, w = {
9554
+ ), Ci = typeof queueMicrotask < "u" ? queueMicrotask.bind(qe) : typeof process < "u" && process.nextTick || Ur, w = {
9458
9555
  isArray: et,
9459
9556
  isArrayBuffer: Fr,
9460
9557
  isBuffer: Qa,
@@ -9463,7 +9560,7 @@ const Fi = (e) => {
9463
9560
  isString: Sa,
9464
9561
  isNumber: wr,
9465
9562
  isBoolean: Ga,
9466
- isObject: Dt,
9563
+ isObject: Ut,
9467
9564
  isPlainObject: yt,
9468
9565
  isReadableStream: Ja,
9469
9566
  isRequest: _a,
@@ -9505,13 +9602,13 @@ const Fi = (e) => {
9505
9602
  findKey: Br,
9506
9603
  global: qe,
9507
9604
  isContextDefined: Cr,
9508
- ALPHABET: Ur,
9605
+ ALPHABET: Dr,
9509
9606
  generateString: vi,
9510
9607
  isSpecCompliantForm: hi,
9511
9608
  toJSONObject: Fi,
9512
9609
  isAsyncFn: wi,
9513
9610
  isThenable: Bi,
9514
- setImmediate: Dr,
9611
+ setImmediate: Ur,
9515
9612
  asap: Ci
9516
9613
  };
9517
9614
  function k(e, t, r, o, n) {
@@ -9576,10 +9673,10 @@ function Oo(e, t, r) {
9576
9673
  return n = Kr(n), !r && a ? "[" + n + "]" : n;
9577
9674
  }).join(r ? "." : "") : t;
9578
9675
  }
9579
- function Ui(e) {
9676
+ function Di(e) {
9580
9677
  return w.isArray(e) && !e.some(mo);
9581
9678
  }
9582
- const Di = w.toFlatObject(w, {}, null, function(t) {
9679
+ const Ui = w.toFlatObject(w, {}, null, function(t) {
9583
9680
  return /^is[A-Z]/.test(t);
9584
9681
  });
9585
9682
  function Pt(e, t, r) {
@@ -9608,7 +9705,7 @@ function Pt(e, t, r) {
9608
9705
  if (b && !p && typeof b == "object") {
9609
9706
  if (w.endsWith(B, "{}"))
9610
9707
  B = o ? B : B.slice(0, -2), b = JSON.stringify(b);
9611
- else if (w.isArray(b) && Ui(b) || (w.isFileList(b) || w.endsWith(B, "[]")) && (K = w.toArray(b)))
9708
+ else if (w.isArray(b) && Di(b) || (w.isFileList(b) || w.endsWith(B, "[]")) && (K = w.toArray(b)))
9612
9709
  return B = Kr(B), K.forEach(function(X, N) {
9613
9710
  !(w.isUndefined(X) || X === null) && t.append(
9614
9711
  // eslint-disable-next-line no-nested-ternary
@@ -9619,16 +9716,16 @@ function Pt(e, t, r) {
9619
9716
  }
9620
9717
  return mo(b) ? !0 : (t.append(Oo(p, B, a), y(b)), !1);
9621
9718
  }
9622
- const U = [], z = Object.assign(Di, {
9719
+ const D = [], z = Object.assign(Ui, {
9623
9720
  defaultVisitor: u,
9624
9721
  convertValue: y,
9625
9722
  isVisitable: mo
9626
9723
  });
9627
9724
  function O(b, B) {
9628
9725
  if (!w.isUndefined(b)) {
9629
- if (U.indexOf(b) !== -1)
9726
+ if (D.indexOf(b) !== -1)
9630
9727
  throw Error("Circular reference detected in " + B.join("."));
9631
- U.push(b), w.forEach(b, function(K, I) {
9728
+ D.push(b), w.forEach(b, function(K, I) {
9632
9729
  (!(w.isUndefined(K) || K === null) && n.call(
9633
9730
  t,
9634
9731
  K,
@@ -9636,7 +9733,7 @@ function Pt(e, t, r) {
9636
9733
  B,
9637
9734
  z
9638
9735
  )) === !0 && O(K, B ? B.concat(I) : [I]);
9639
- }), U.pop();
9736
+ }), D.pop();
9640
9737
  }
9641
9738
  }
9642
9739
  if (!w.isObject(e))
@@ -9955,8 +10052,8 @@ let we = class {
9955
10052
  const u = nt(f);
9956
10053
  if (!u)
9957
10054
  throw new Error("header name must be a non-empty string");
9958
- const U = w.findKey(n, u);
9959
- (!U || n[U] === void 0 || y === !0 || y === void 0 && n[U] !== !1) && (n[U || f] = vt(A));
10055
+ const D = w.findKey(n, u);
10056
+ (!D || n[D] === void 0 || y === !0 || y === void 0 && n[D] !== !1) && (n[D || f] = vt(A));
9960
10057
  }
9961
10058
  const i = (A, f) => w.forEach(A, (y, u) => a(y, u, f));
9962
10059
  if (w.isPlainObject(t) || t instanceof this.constructor)
@@ -10111,9 +10208,9 @@ function Li(e, t) {
10111
10208
  return t = t !== void 0 ? t : 1e3, function(f) {
10112
10209
  const y = Date.now(), u = o[a];
10113
10210
  i || (i = y), r[n] = f, o[n] = y;
10114
- let U = a, z = 0;
10115
- for (; U !== n; )
10116
- z += r[U++], U = U % e;
10211
+ let D = a, z = 0;
10212
+ for (; D !== n; )
10213
+ z += r[D++], D = D % e;
10117
10214
  if (n = (n + 1) % e, n === a && (a = (a + 1) % e), y - i < t)
10118
10215
  return;
10119
10216
  const O = u && y - u;
@@ -10126,10 +10223,10 @@ function ki(e, t) {
10126
10223
  r = u, n = null, a && (clearTimeout(a), a = null), e.apply(null, y);
10127
10224
  };
10128
10225
  return [(...y) => {
10129
- const u = Date.now(), U = u - r;
10130
- U >= o ? i(y, u) : (n = y, a || (a = setTimeout(() => {
10226
+ const u = Date.now(), D = u - r;
10227
+ D >= o ? i(y, u) : (n = y, a || (a = setTimeout(() => {
10131
10228
  a = null, i(n);
10132
- }, o - U)));
10229
+ }, o - D)));
10133
10230
  }, () => n && i(n)];
10134
10231
  }
10135
10232
  const Bt = (e, t, r = 3) => {
@@ -10138,7 +10235,7 @@ const Bt = (e, t, r = 3) => {
10138
10235
  return ki((a) => {
10139
10236
  const i = a.loaded, A = a.lengthComputable ? a.total : void 0, f = i - o, y = n(f), u = i <= A;
10140
10237
  o = i;
10141
- const U = {
10238
+ const D = {
10142
10239
  loaded: i,
10143
10240
  total: A,
10144
10241
  progress: A ? i / A : void 0,
@@ -10149,7 +10246,7 @@ const Bt = (e, t, r = 3) => {
10149
10246
  lengthComputable: A != null,
10150
10247
  [t ? "download" : "upload"]: !0
10151
10248
  };
10152
- e(U);
10249
+ e(D);
10153
10250
  }, r);
10154
10251
  }, Vo = (e, t) => {
10155
10252
  const r = e != null;
@@ -10201,14 +10298,14 @@ const Go = (e) => e instanceof we ? { ...e } : e;
10201
10298
  function Le(e, t) {
10202
10299
  t = t || {};
10203
10300
  const r = {};
10204
- function o(y, u, U, z) {
10301
+ function o(y, u, D, z) {
10205
10302
  return w.isPlainObject(y) && w.isPlainObject(u) ? w.merge.call({ caseless: z }, y, u) : w.isPlainObject(u) ? w.merge({}, u) : w.isArray(u) ? u.slice() : u;
10206
10303
  }
10207
- function n(y, u, U, z) {
10304
+ function n(y, u, D, z) {
10208
10305
  if (w.isUndefined(u)) {
10209
10306
  if (!w.isUndefined(y))
10210
- return o(void 0, y, U, z);
10211
- } else return o(y, u, U, z);
10307
+ return o(void 0, y, D, z);
10308
+ } else return o(y, u, D, z);
10212
10309
  }
10213
10310
  function a(y, u) {
10214
10311
  if (!w.isUndefined(u))
@@ -10220,10 +10317,10 @@ function Le(e, t) {
10220
10317
  return o(void 0, y);
10221
10318
  } else return o(void 0, u);
10222
10319
  }
10223
- function A(y, u, U) {
10224
- if (U in t)
10320
+ function A(y, u, D) {
10321
+ if (D in t)
10225
10322
  return o(y, u);
10226
- if (U in e)
10323
+ if (D in e)
10227
10324
  return o(void 0, y);
10228
10325
  }
10229
10326
  const f = {
@@ -10255,11 +10352,11 @@ function Le(e, t) {
10255
10352
  socketPath: i,
10256
10353
  responseEncoding: i,
10257
10354
  validateStatus: A,
10258
- headers: (y, u, U) => n(Go(y), Go(u), U, !0)
10355
+ headers: (y, u, D) => n(Go(y), Go(u), D, !0)
10259
10356
  };
10260
10357
  return w.forEach(Object.keys(Object.assign({}, e, t)), function(u) {
10261
- const U = f[u] || n, z = U(e[u], t[u], u);
10262
- w.isUndefined(z) && U !== A || (r[u] = z);
10358
+ const D = f[u] || n, z = D(e[u], t[u], u);
10359
+ w.isUndefined(z) && D !== A || (r[u] = z);
10263
10360
  }), r;
10264
10361
  }
10265
10362
  const Or = (e) => {
@@ -10274,7 +10371,7 @@ const Or = (e) => {
10274
10371
  if (fe.hasStandardBrowserEnv || fe.hasStandardBrowserWebWorkerEnv)
10275
10372
  i.setContentType(void 0);
10276
10373
  else if ((f = i.getContentType()) !== !1) {
10277
- const [y, ...u] = f ? f.split(";").map((U) => U.trim()).filter(Boolean) : [];
10374
+ const [y, ...u] = f ? f.split(";").map((D) => D.trim()).filter(Boolean) : [];
10278
10375
  i.setContentType([y || "multipart/form-data", ...u].join("; "));
10279
10376
  }
10280
10377
  }
@@ -10288,7 +10385,7 @@ const Or = (e) => {
10288
10385
  const n = Or(e);
10289
10386
  let a = n.data;
10290
10387
  const i = we.from(n.headers).normalize();
10291
- let { responseType: A, onUploadProgress: f, onDownloadProgress: y } = n, u, U, z, O, b;
10388
+ let { responseType: A, onUploadProgress: f, onDownloadProgress: y } = n, u, D, z, O, b;
10292
10389
  function B() {
10293
10390
  O && O(), b && b(), n.cancelToken && n.cancelToken.unsubscribe(u), n.signal && n.signal.removeEventListener("abort", u);
10294
10391
  }
@@ -10330,7 +10427,7 @@ const Or = (e) => {
10330
10427
  )), p = null;
10331
10428
  }, a === void 0 && i.setContentType(null), "setRequestHeader" in p && w.forEach(i.toJSON(), function(N, S) {
10332
10429
  p.setRequestHeader(S, N);
10333
- }), w.isUndefined(n.withCredentials) || (p.withCredentials = !!n.withCredentials), A && A !== "json" && (p.responseType = n.responseType), y && ([z, b] = Bt(y, !0), p.addEventListener("progress", z)), f && p.upload && ([U, O] = Bt(f), p.upload.addEventListener("progress", U), p.upload.addEventListener("loadend", O)), (n.cancelToken || n.signal) && (u = (X) => {
10430
+ }), w.isUndefined(n.withCredentials) || (p.withCredentials = !!n.withCredentials), A && A !== "json" && (p.responseType = n.responseType), y && ([z, b] = Bt(y, !0), p.addEventListener("progress", z)), f && p.upload && ([D, O] = Bt(f), p.upload.addEventListener("progress", D), p.upload.addEventListener("loadend", O)), (n.cancelToken || n.signal) && (u = (X) => {
10334
10431
  p && (o(!X || X.type ? new tt(null, e, p) : X), p.abort(), p = null);
10335
10432
  }, n.cancelToken && n.cancelToken.subscribe(u), n.signal && (n.signal.aborted ? u() : n.signal.addEventListener("abort", u)));
10336
10433
  const I = Yi(n.url);
@@ -10404,9 +10501,9 @@ const Or = (e) => {
10404
10501
  A(), f.close();
10405
10502
  return;
10406
10503
  }
10407
- let U = u.byteLength;
10504
+ let D = u.byteLength;
10408
10505
  if (r) {
10409
- let z = a += U;
10506
+ let z = a += D;
10410
10507
  r(z);
10411
10508
  }
10412
10509
  f.enqueue(new Uint8Array(u));
@@ -10475,7 +10572,7 @@ const cc = async (e) => {
10475
10572
  onUploadProgress: f,
10476
10573
  responseType: y,
10477
10574
  headers: u,
10478
- withCredentials: U = "same-origin",
10575
+ withCredentials: D = "same-origin",
10479
10576
  fetchOptions: z
10480
10577
  } = Or(e);
10481
10578
  y = y ? (y + "").toLowerCase() : "text";
@@ -10499,7 +10596,7 @@ const cc = async (e) => {
10499
10596
  o = No(S.body, qo, J, _);
10500
10597
  }
10501
10598
  }
10502
- w.isString(U) || (U = U ? "include" : "omit");
10599
+ w.isString(D) || (D = D ? "include" : "omit");
10503
10600
  const K = "credentials" in Request.prototype;
10504
10601
  b = new Request(t, {
10505
10602
  ...z,
@@ -10508,7 +10605,7 @@ const cc = async (e) => {
10508
10605
  headers: u.normalize().toJSON(),
10509
10606
  body: o,
10510
10607
  duplex: "half",
10511
- credentials: K ? U : void 0
10608
+ credentials: K ? D : void 0
10512
10609
  });
10513
10610
  let I = await fetch(b);
10514
10611
  const X = uo && (y === "stream" || y === "response");
@@ -10731,17 +10828,17 @@ let Ye = class {
10731
10828
  this.interceptors.response.forEach(function(B) {
10732
10829
  y.push(B.fulfilled, B.rejected);
10733
10830
  });
10734
- let u, U = 0, z;
10831
+ let u, D = 0, z;
10735
10832
  if (!f) {
10736
10833
  const b = [Lo.bind(this), void 0];
10737
- for (b.unshift.apply(b, A), b.push.apply(b, y), z = b.length, u = Promise.resolve(r); U < z; )
10738
- u = u.then(b[U++], b[U++]);
10834
+ for (b.unshift.apply(b, A), b.push.apply(b, y), z = b.length, u = Promise.resolve(r); D < z; )
10835
+ u = u.then(b[D++], b[D++]);
10739
10836
  return u;
10740
10837
  }
10741
10838
  z = A.length;
10742
10839
  let O = r;
10743
- for (U = 0; U < z; ) {
10744
- const b = A[U++], B = A[U++];
10840
+ for (D = 0; D < z; ) {
10841
+ const b = A[D++], B = A[D++];
10745
10842
  try {
10746
10843
  O = b(O);
10747
10844
  } catch (p) {
@@ -10754,8 +10851,8 @@ let Ye = class {
10754
10851
  } catch (b) {
10755
10852
  return Promise.reject(b);
10756
10853
  }
10757
- for (U = 0, z = y.length; U < z; )
10758
- u = u.then(y[U++], y[U++]);
10854
+ for (D = 0, z = y.length; D < z; )
10855
+ u = u.then(y[D++], y[D++]);
10759
10856
  return u;
10760
10857
  }
10761
10858
  getUri(t) {
@@ -10977,8 +11074,8 @@ const {
10977
11074
  toFormData: Bs,
10978
11075
  AxiosHeaders: Cs,
10979
11076
  HttpStatusCode: Rs,
10980
- formToJSON: Us,
10981
- getAdapter: Ds,
11077
+ formToJSON: Ds,
11078
+ getAdapter: Us,
10982
11079
  mergeConfig: Ps
10983
11080
  } = ce;
10984
11081
  var re = /* @__PURE__ */ ((e) => (e.Get = "get", e.Post = "post", e.Put = "put", e.Delete = "delete", e))(re || {});
@@ -11119,9 +11216,9 @@ function xs(e) {
11119
11216
  W.tz.setDefault(t);
11120
11217
  }
11121
11218
  const Rc = "mf-reportreport-filter-store";
11122
- var Uc = /* @__PURE__ */ ((e) => (e.NO_COMPARISON = "NO_COMPARISON", e.PRECEDING_PERIOD = "PRECEDING_PERIOD", e.PRECEDING_WEEK = "PRECEDING_WEEK", e.PRECEDING_MONTH = "PRECEDING_MONTH", e.PRECEDING_YEAR = "PRECEDING_YEAR", e.CUSTOM = "CUSTOM", e))(Uc || {});
11219
+ var Dc = /* @__PURE__ */ ((e) => (e.NO_COMPARISON = "NO_COMPARISON", e.PRECEDING_PERIOD = "PRECEDING_PERIOD", e.PRECEDING_WEEK = "PRECEDING_WEEK", e.PRECEDING_MONTH = "PRECEDING_MONTH", e.PRECEDING_YEAR = "PRECEDING_YEAR", e.CUSTOM = "CUSTOM", e))(Dc || {});
11123
11220
  const oe = "YYYY-MM-DD";
11124
- function Dc() {
11221
+ function Uc() {
11125
11222
  const { timezone: e } = Re(lt());
11126
11223
  return [
11127
11224
  {
@@ -11201,44 +11298,44 @@ const lt = ct(Rc, () => {
11201
11298
  }
11202
11299
  }
11203
11300
  function r(v) {
11204
- const x = Dc().find(
11205
- (D) => D.label === v.defaultDateRange
11301
+ const x = Uc().find(
11302
+ (U) => U.label === v.defaultDateRange
11206
11303
  );
11207
11304
  x && (y.value.startDate = x.value.startDate, y.value.endDate = x.value.endDate);
11208
- const M = v.timeOptions.find((D) => D.isDefault);
11209
- switch (M && (U.value.start = M.startTime, U.value.end = M.endTime), z.value = v.timeOptions.findIndex((D) => D.isDefault) + 1, v.defaultCompareType) {
11305
+ const M = v.timeOptions.find((U) => U.isDefault);
11306
+ switch (M && (D.value.start = M.startTime, D.value.end = M.endTime), z.value = v.timeOptions.findIndex((U) => U.isDefault) + 1, v.defaultCompareType) {
11210
11307
  case "NO_COMPARISON": {
11211
11308
  u.value.startDate = void 0, u.value.endDate = void 0;
11212
11309
  break;
11213
11310
  }
11214
11311
  case "PRECEDING_WEEK": {
11215
- const D = W.tz(y.value.startDate, f.value), R = W.tz(y.value.endDate, f.value), C = R.diff(D, "week") + 1;
11312
+ const U = W.tz(y.value.startDate, f.value), R = W.tz(y.value.endDate, f.value), C = R.diff(U, "week") + 1;
11216
11313
  u.value = {
11217
- startDate: D.subtract(C, "week").format(oe),
11314
+ startDate: U.subtract(C, "week").format(oe),
11218
11315
  endDate: R.subtract(C, "week").format(oe)
11219
11316
  };
11220
11317
  break;
11221
11318
  }
11222
11319
  case "PRECEDING_MONTH": {
11223
- const D = W.tz(y.value.startDate, f.value), R = W.tz(y.value.endDate, f.value), C = R.diff(D, "month") + 1;
11320
+ const U = W.tz(y.value.startDate, f.value), R = W.tz(y.value.endDate, f.value), C = R.diff(U, "month") + 1;
11224
11321
  u.value = {
11225
- startDate: D.subtract(C, "month").format(oe),
11322
+ startDate: U.subtract(C, "month").format(oe),
11226
11323
  endDate: R.subtract(C, "month").format(oe)
11227
11324
  };
11228
11325
  break;
11229
11326
  }
11230
11327
  case "PRECEDING_PERIOD": {
11231
- const D = W.tz(y.value.startDate, f.value), R = W.tz(y.value.endDate, f.value), C = R.diff(D, "day") + 1;
11328
+ const U = W.tz(y.value.startDate, f.value), R = W.tz(y.value.endDate, f.value), C = R.diff(U, "day") + 1;
11232
11329
  u.value = {
11233
- startDate: D.subtract(C, "day").format(oe),
11330
+ startDate: U.subtract(C, "day").format(oe),
11234
11331
  endDate: R.subtract(C, "day").format(oe)
11235
11332
  };
11236
11333
  break;
11237
11334
  }
11238
11335
  case "PRECEDING_YEAR": {
11239
- const D = W.tz(y.value.startDate, f.value), R = W.tz(y.value.endDate, f.value), C = R.diff(D, "year") + 1;
11336
+ const U = W.tz(y.value.startDate, f.value), R = W.tz(y.value.endDate, f.value), C = R.diff(U, "year") + 1;
11240
11337
  u.value = {
11241
- startDate: D.subtract(C, "year").format(oe),
11338
+ startDate: U.subtract(C, "year").format(oe),
11242
11339
  endDate: R.subtract(C, "year").format(oe)
11243
11340
  };
11244
11341
  break;
@@ -11266,7 +11363,7 @@ const lt = ct(Rc, () => {
11266
11363
  }), u = ne({
11267
11364
  startDate: W().tz(f.value).startOf("day").subtract(1, "day").format(oe),
11268
11365
  endDate: W().tz(f.value).startOf("day").subtract(1, "day").format(oe)
11269
- }), U = ne({ start: { hour: 0, minute: 0 }, end: { hour: 23, minute: 59 } }), z = ne(
11366
+ }), D = ne({ start: { hour: 0, minute: 0 }, end: { hour: 23, minute: 59 } }), z = ne(
11270
11367
  n.value.timeOptions.findIndex((v) => v.isDefault) + 1
11271
11368
  ), O = ne([]), b = ne([]), B = ne(null), p = ne(null), K = ne(null), I = ne(0);
11272
11369
  function X(v) {
@@ -11284,7 +11381,7 @@ const lt = ct(Rc, () => {
11284
11381
  y.value = v;
11285
11382
  }
11286
11383
  function _(v) {
11287
- U.value = v;
11384
+ D.value = v;
11288
11385
  }
11289
11386
  function l(v) {
11290
11387
  u.value = v;
@@ -11301,7 +11398,7 @@ const lt = ct(Rc, () => {
11301
11398
  selectedWarehouseIds: L,
11302
11399
  defaultDateSetting: n,
11303
11400
  dateRange: y,
11304
- timeRange: U,
11401
+ timeRange: D,
11305
11402
  compareDateRange: u,
11306
11403
  locations: i,
11307
11404
  selectTimeDefault: z,
@@ -11447,7 +11544,7 @@ async function Ns(e, t) {
11447
11544
  try {
11448
11545
  const { businessId: o } = $(), { dateRange: n } = lt(), a = W(n.endDate).diff(n.startDate, "day"), A = {
11449
11546
  dates: [...new Array(a + 1)].map(
11450
- (u, U) => W(n.startDate).add(U, "day").utc().toISOString()
11547
+ (u, D) => W(n.startDate).add(D, "day").utc().toISOString()
11451
11548
  )
11452
11549
  }, f = {
11453
11550
  fetchType: re.Post,
@@ -11664,7 +11761,7 @@ var go = { exports: {} };
11664
11761
  Object.keys(s || {}).includes(d) || c.push(d);
11665
11762
  }), Object.keys(c).length ? c : null;
11666
11763
  }
11667
- var u, U;
11764
+ var u, D;
11668
11765
  function z(h, s, c) {
11669
11766
  var d = "shortString", m = !0;
11670
11767
  typeof c == "number" && (d = "javaDouble", m = !1), h[d] = h[d] || {}, h[d][s] = m ? c + "" : c;
@@ -11794,9 +11891,9 @@ var go = { exports: {} };
11794
11891
  var E, V = c;
11795
11892
  V.evaluationContext;
11796
11893
  var G = V.headers, Z = { method: m || "GET", body: P, cache: "no-cache", headers: {} };
11797
- 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), U || console.error("Flagsmith: fetch is undefined, please specify a fetch implementation into flagsmith.init to support SSR.");
11894
+ 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.");
11798
11895
  var Q = "".concat((E = c.evaluationContext.identity) === null || E === void 0 ? void 0 : E.identifier);
11799
- return U(d, Z).then(function(Y) {
11896
+ return D(d, Z).then(function(Y) {
11800
11897
  var ee, se, ie = "".concat((ee = c.evaluationContext.identity) === null || ee === void 0 ? void 0 : ee.identifier);
11801
11898
  if (Q === ie) {
11802
11899
  var ue = (se = Y.headers) === null || se === void 0 ? void 0 : se.get("x-flagsmith-document-updated-at");
@@ -11827,36 +11924,36 @@ var go = { exports: {} };
11827
11924
  }, this._onChange = function(d, m, P) {
11828
11925
  var E, V;
11829
11926
  c.setLoadingState(P), (E = c.onChange) === null || E === void 0 || E.call(c, d, m, c.loadingState), (V = c._trigger) === null || V === void 0 || V.call(c);
11830
- }, U = s.fetch ? s.fetch : typeof fetch < "u" ? fetch : globalThis == null ? void 0 : globalThis.fetch, this.canUseStorage = typeof window < "u" || !!s.browserlessStorage, this.log("Constructing flagsmith instance " + s), s.eventSource && (p = s.eventSource), s.AsyncStorage && (K = s.AsyncStorage);
11927
+ }, D = s.fetch ? s.fetch : typeof fetch < "u" ? fetch : globalThis == null ? void 0 : globalThis.fetch, this.canUseStorage = typeof window < "u" || !!s.browserlessStorage, this.log("Constructing flagsmith instance " + s), s.eventSource && (p = s.eventSource), s.AsyncStorage && (K = s.AsyncStorage);
11831
11928
  }
11832
11929
  return h.prototype.init = function(s) {
11833
11930
  var c, d, m;
11834
11931
  return a(this, void 0, void 0, function() {
11835
- var P, E, V, G, Z, Q, Y, ee, se, ie, ue, de, pe, ve, Te, ze, Se, he, te, Et, ot, Ro, ke, Ht, Uo, Do, Tt, Po, zt, rt, We, bo, Fe = this;
11836
- return i(this, function(De) {
11837
- switch (De.label) {
11932
+ var P, E, V, G, Z, Q, Y, ee, se, ie, ue, de, pe, ve, Te, ze, Se, he, te, Et, ot, Ro, ke, Ht, Do, Uo, Tt, Po, zt, rt, We, bo, Fe = this;
11933
+ return i(this, function(Ue) {
11934
+ switch (Ue.label) {
11838
11935
  case 0:
11839
- P = B(s.evaluationContext || this.evaluationContext), De.label = 1;
11936
+ P = B(s.evaluationContext || this.evaluationContext), Ue.label = 1;
11840
11937
  case 1:
11841
- if (De.trys.push([1, 13, , 14]), E = s.environmentID, V = s.api, G = V === void 0 ? N : V, Z = s.headers, Q = s.onChange, Y = s.cacheFlags, ee = s.datadogRum, se = s.onError, ie = s.defaultFlags, ue = s.fetch, de = s.preventFetch, pe = s.enableLogs, ve = s.enableDynatrace, Te = s.enableAnalytics, ze = s.realtime, Se = s.eventSourceUrl, he = Se === void 0 ? "https://realtime.flagsmith.com/" : Se, te = s.AsyncStorage, Et = s.identity, ot = s.traits, Ro = s.state, ke = s.cacheOptions, Ht = s.angularHttpClient, Uo = s._trigger, Do = s._triggerLoadingState, P.environment = E ? { apiKey: E } : P.environment, !P.environment || !P.environment.apiKey) throw new Error("Please provide `evaluationContext.environment` with non-empty `apiKey`");
11842
- if (P.identity = Et || ot ? { identifier: Et, traits: ot ? Object.fromEntries(Object.entries(ot).map(function(Ue) {
11843
- return [Ue[0], { value: Ue[1] }];
11844
- })) : {} } : P.identity, this.evaluationContext = P, this.api = G, this.headers = Z, this.getFlagInterval = null, this.analyticsInterval = null, this.onChange = Q, Tt = "Wrong Flagsmith Configuration: preventFetch is true and no defaulFlags provided", this._trigger = Uo || this._trigger, this._triggerLoadingState = Do || this._triggerLoadingState, this.onError = function(Ue) {
11845
- Fe.setLoadingState(n(n({}, Fe.loadingState), { isFetching: !1, isLoading: !1, error: Ue })), se == null || se(Ue);
11846
- }, this.enableLogs = pe || !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."), ue && (U = ue), this.enableAnalytics = Te || !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, X = "FLAGSMITH_EVENT_" + P.environment.apiKey, te && (K = te), ze && typeof window < "u" && this.setupRealtime(he, P.environment.apiKey), Object.keys(this.flags).length && (this.loadingState = n(n({}, this.loadingState), { isLoading: !1, source: u.DEFAULT_FLAGS })), this.setState(Ro), this.log("Initialising with properties", s, 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 && (U = /* @__PURE__ */ function(Ue) {
11938
+ if (Ue.trys.push([1, 13, , 14]), E = s.environmentID, V = s.api, G = V === void 0 ? N : V, Z = s.headers, Q = s.onChange, Y = s.cacheFlags, ee = s.datadogRum, se = s.onError, ie = s.defaultFlags, ue = s.fetch, de = s.preventFetch, pe = s.enableLogs, ve = s.enableDynatrace, Te = s.enableAnalytics, ze = s.realtime, Se = s.eventSourceUrl, he = Se === void 0 ? "https://realtime.flagsmith.com/" : Se, te = s.AsyncStorage, Et = s.identity, ot = s.traits, Ro = s.state, ke = s.cacheOptions, Ht = s.angularHttpClient, Do = s._trigger, Uo = s._triggerLoadingState, P.environment = E ? { apiKey: E } : P.environment, !P.environment || !P.environment.apiKey) throw new Error("Please provide `evaluationContext.environment` with non-empty `apiKey`");
11939
+ if (P.identity = Et || ot ? { identifier: Et, traits: ot ? Object.fromEntries(Object.entries(ot).map(function(De) {
11940
+ return [De[0], { value: De[1] }];
11941
+ })) : {} } : P.identity, this.evaluationContext = P, this.api = G, this.headers = Z, this.getFlagInterval = null, this.analyticsInterval = null, this.onChange = Q, Tt = "Wrong Flagsmith Configuration: preventFetch is true and no defaulFlags provided", this._trigger = Do || this._trigger, this._triggerLoadingState = Uo || this._triggerLoadingState, this.onError = function(De) {
11942
+ Fe.setLoadingState(n(n({}, Fe.loadingState), { isFetching: !1, isLoading: !1, error: De })), se == null || se(De);
11943
+ }, this.enableLogs = pe || !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."), ue && (D = ue), this.enableAnalytics = Te || !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, X = "FLAGSMITH_EVENT_" + P.environment.apiKey, te && (K = te), ze && typeof window < "u" && this.setupRealtime(he, P.environment.apiKey), Object.keys(this.flags).length && (this.loadingState = n(n({}, this.loadingState), { isLoading: !1, source: u.DEFAULT_FLAGS })), this.setState(Ro), this.log("Initialising with properties", s, 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) {
11847
11944
  return function(be, Ke) {
11848
11945
  var je = Ke.headers, ae = Ke.method, Ze = Ke.body;
11849
11946
  return new Promise(function(Ge) {
11850
11947
  switch (ae) {
11851
11948
  case "GET":
11852
- return Ue.get(be, { headers: je }).subscribe(function(Xe) {
11949
+ return De.get(be, { headers: je }).subscribe(function(Xe) {
11853
11950
  Ge({ ok: !0, text: function() {
11854
11951
  return Promise.resolve(Xe);
11855
11952
  } });
11856
11953
  });
11857
11954
  case "POST":
11858
11955
  case "PUT":
11859
- return Ue.post(be, Ze, { headers: je }).subscribe(function(Xe) {
11956
+ return De.post(be, Ze, { headers: je }).subscribe(function(Xe) {
11860
11957
  Ge({ ok: !0, text: function() {
11861
11958
  return Promise.resolve(Xe);
11862
11959
  } });
@@ -11864,14 +11961,14 @@ var go = { exports: {} };
11864
11961
  }
11865
11962
  });
11866
11963
  };
11867
- }(Ht)), K && this.canUseStorage && K.getItem(X).then(function(Ue) {
11964
+ }(Ht)), K && this.canUseStorage && K.getItem(X).then(function(De) {
11868
11965
  try {
11869
- Fe.evaluationEvent = JSON.parse(Ue) || {};
11966
+ Fe.evaluationEvent = JSON.parse(De) || {};
11870
11967
  } catch {
11871
11968
  Fe.evaluationEvent = {};
11872
11969
  }
11873
11970
  Fe.analyticsInterval = setInterval(Fe.analyticsFlags, Fe.ticks);
11874
- }), this.enableAnalytics && (this.analyticsInterval && clearInterval(this.analyticsInterval), K && this.canUseStorage && K.getItem(X, function(Ue, be) {
11971
+ }), this.enableAnalytics && (this.analyticsInterval && clearInterval(this.analyticsInterval), K && this.canUseStorage && K.getItem(X, function(De, be) {
11875
11972
  if (be && Fe.evaluationContext.environment) {
11876
11973
  var Ke = JSON.parse(be);
11877
11974
  if (Ke[Fe.evaluationContext.environment.apiKey]) {
@@ -11881,7 +11978,7 @@ var go = { exports: {} };
11881
11978
  }
11882
11979
  })), !Y) return [3, 9];
11883
11980
  if (!K || !this.canUseStorage) return [3, 8];
11884
- Po = function(Ue, be) {
11981
+ Po = function(De, be) {
11885
11982
  return a(Fe, void 0, void 0, function() {
11886
11983
  var Ke, je, ae, Ze, Ge, Xe, Xt, Ko, It, Ot, jt, Mt, Qt, Vt, St, Gt, Nt, qt, Yt, Lt, kt, Wt, Zt, Jt, xo = this;
11887
11984
  return i(this, function(Me) {
@@ -11920,32 +12017,32 @@ var go = { exports: {} };
11920
12017
  }
11921
12018
  });
11922
12019
  });
11923
- }, De.label = 2;
12020
+ }, Ue.label = 2;
11924
12021
  case 2:
11925
- return De.trys.push([2, 7, , 8]), K.getItemSync ? (zt = K.getItemSync(this.getStorageKey()), [3, 5]) : [3, 3];
12022
+ return Ue.trys.push([2, 7, , 8]), K.getItemSync ? (zt = K.getItemSync(this.getStorageKey()), [3, 5]) : [3, 3];
11926
12023
  case 3:
11927
12024
  return [4, K.getItem(this.getStorageKey())];
11928
12025
  case 4:
11929
- zt = De.sent(), De.label = 5;
12026
+ zt = Ue.sent(), Ue.label = 5;
11930
12027
  case 5:
11931
12028
  return [4, Po(null, zt)];
11932
12029
  case 6:
11933
12030
  case 7:
11934
- return De.sent(), [3, 8];
12031
+ return Ue.sent(), [3, 8];
11935
12032
  case 8:
11936
12033
  return [3, 12];
11937
12034
  case 9:
11938
12035
  return de ? [3, 11] : [4, this.getFlags()];
11939
12036
  case 10:
11940
- return De.sent(), [3, 12];
12037
+ return Ue.sent(), [3, 12];
11941
12038
  case 11:
11942
12039
  if (ie) this._onChange(null, { isFromServer: !1, flagsChanged: y({}, ie), traitsChanged: y({}, (c = P.identity) === null || c === void 0 ? void 0 : c.traits) }, this._loadedState(null, u.DEFAULT_FLAGS));
11943
12040
  else if (this.flags && (rt = null, Object.keys(this.flags).length === 0 && (rt = Tt), this._onChange(null, { isFromServer: !1, flagsChanged: y({}, this.flags), traitsChanged: y({}, (d = P.identity) === null || d === void 0 ? void 0 : d.traits) }, this._loadedState(rt, u.DEFAULT_FLAGS)), rt)) throw new Error(rt);
11944
- De.label = 12;
12041
+ Ue.label = 12;
11945
12042
  case 12:
11946
12043
  return [3, 14];
11947
12044
  case 13:
11948
- throw We = De.sent(), this.log("Error during initialisation ", We), bo = We instanceof Error ? We : new Error("".concat(We)), (m = this.onError) === null || m === void 0 || m.call(this, bo), We;
12045
+ throw We = Ue.sent(), this.log("Error during initialisation ", We), bo = We instanceof Error ? We : new Error("".concat(We)), (m = this.onError) === null || m === void 0 || m.call(this, bo), We;
11949
12046
  case 14:
11950
12047
  return [2];
11951
12048
  }
@@ -12041,7 +12138,7 @@ var go = { exports: {} };
12041
12138
  }
12042
12139
  }
12043
12140
  return E;
12044
- }, D = function(h, s, c) {
12141
+ }, U = function(h, s, c) {
12045
12142
  if (arguments.length === 2) for (var d, m = 0, P = s.length; m < P; m++) !d && m in s || (d || (d = Array.prototype.slice.call(s, 0, m)), d[m] = s[m]);
12046
12143
  return h.concat(d || Array.prototype.slice.call(s));
12047
12144
  }, R = function(h) {
@@ -12099,7 +12196,7 @@ Consider loading an EventSource polyfill and making it available globally as Eve
12099
12196
  s && s.lastEventId && (this._lastEventId = s.lastEventId);
12100
12197
  var m = this._listeners[s.type];
12101
12198
  if (m != null) try {
12102
- for (var P = x(D([], M(m), !1)), E = P.next(); !E.done; E = P.next())
12199
+ for (var P = x(U([], M(m), !1)), E = P.next(); !E.done; E = P.next())
12103
12200
  E.value.call(this, s);
12104
12201
  } catch (V) {
12105
12202
  c = { error: V };
@@ -12119,7 +12216,7 @@ Consider loading an EventSource polyfill and making it available globally as Eve
12119
12216
  }, h.prototype.addEventListener = function(s, c, d) {
12120
12217
  this._listeners[s] == null && (this._listeners[s] = [], this._eventSource != null && this._eventSource.addEventListener(s, this._onevent_wrapped));
12121
12218
  var m = this._listeners[s];
12122
- m.includes(c) || (this._listeners[s] = D(D([], M(m), !1), [c], !1));
12219
+ m.includes(c) || (this._listeners[s] = U(U([], M(m), !1), [c], !1));
12123
12220
  }, h.prototype.removeEventListener = function(s, c, d) {
12124
12221
  var m = this._listeners[s];
12125
12222
  this._listeners[s] = m.filter(function(P) {
@@ -12266,13 +12363,13 @@ var Vc = go.exports, Sc = {
12266
12363
  }
12267
12364
  }, Qe(He, "instance"), He), Nc = Gc.getInstance(), at = ne(!1), ut = ne([]), _e = ne(null);
12268
12365
  function qc(e = Nc) {
12269
- const t = () => at.value ? !0 : (console.warn("FeatureFlag is not initialized. Using default values."), !1), r = async (u, U = []) => {
12366
+ const t = () => at.value ? !0 : (console.warn("FeatureFlag is not initialized. Using default values."), !1), r = async (u, D = []) => {
12270
12367
  if (at.value) {
12271
12368
  console.warn("FeatureFlag is already initialized.");
12272
12369
  return;
12273
12370
  }
12274
12371
  try {
12275
- await e.init(u, U), ut.value = await e.getFlags(), at.value = !0, _e.value = null;
12372
+ await e.init(u, D), ut.value = await e.getFlags(), at.value = !0, _e.value = null;
12276
12373
  } catch (z) {
12277
12374
  console.error("Failed to initialize feature flags:", z), _e.value = z;
12278
12375
  }
@@ -12280,31 +12377,31 @@ function qc(e = Nc) {
12280
12377
  if (t())
12281
12378
  try {
12282
12379
  await e.setUser(u), ut.value = await e.getFlags(), _e.value = null;
12283
- } catch (U) {
12284
- console.error("Failed to set user:", U), _e.value = U;
12380
+ } catch (D) {
12381
+ console.error("Failed to set user:", D), _e.value = D;
12285
12382
  }
12286
- }, n = async (u) => o(`${Zo}-${u}`), a = (u, U, z = null) => {
12383
+ }, n = async (u) => o(`${Zo}-${u}`), a = (u, D, z = null) => {
12287
12384
  if (!t()) return z;
12288
12385
  try {
12289
- return e.getFlagValue(u, U) ?? z;
12386
+ return e.getFlagValue(u, D) ?? z;
12290
12387
  } catch (O) {
12291
12388
  return console.error(`Error getting flag value for ${u}:`, O), z;
12292
12389
  }
12293
- }, i = (u, U) => {
12294
- if (!t()) return U ?? null;
12390
+ }, i = (u, D) => {
12391
+ if (!t()) return D ?? null;
12295
12392
  try {
12296
- return e.getFlag(u) ?? U ?? null;
12393
+ return e.getFlag(u) ?? D ?? null;
12297
12394
  } catch (z) {
12298
- return console.error(`Error getting flag for ${u}:`, z), U ?? null;
12395
+ return console.error(`Error getting flag for ${u}:`, z), D ?? null;
12299
12396
  }
12300
- }, A = async (u, U, z = null, O) => {
12397
+ }, A = async (u, D, z = null, O) => {
12301
12398
  if (!t()) return z;
12302
12399
  try {
12303
- return await e.getUserFlagValue(u, U, z, O);
12400
+ return await e.getUserFlagValue(u, D, z, O);
12304
12401
  } catch (b) {
12305
- return console.error(`Error getting user flag value for ${U}:`, b), z;
12402
+ return console.error(`Error getting user flag value for ${D}:`, b), z;
12306
12403
  }
12307
- }, f = async (u, U, z = null, O) => A(`${Zo}-${u}`, U, z, O), y = () => {
12404
+ }, f = async (u, D, z = null, O) => A(`${Zo}-${u}`, D, z, O), y = () => {
12308
12405
  try {
12309
12406
  e.reset();
12310
12407
  } catch (u) {
@@ -12494,7 +12591,7 @@ function es() {
12494
12591
  function u(p) {
12495
12592
  return y(p, [g.update, g.manage]);
12496
12593
  }
12497
- function U(p) {
12594
+ function D(p) {
12498
12595
  return y(p, [g.read, g.manage]);
12499
12596
  }
12500
12597
  function z(p) {
@@ -12517,7 +12614,7 @@ function es() {
12517
12614
  return {
12518
12615
  isAdmin: a,
12519
12616
  isReportPermissionEnabled: A,
12520
- canRead: U,
12617
+ canRead: D,
12521
12618
  canUpdate: u,
12522
12619
  canDelete: z,
12523
12620
  canManage: O,
@@ -12544,7 +12641,7 @@ const ts = "mf-reportnavigation", qr = ct(ts, () => {
12544
12641
  () => a(T.report_accessInsight)
12545
12642
  ), u = me(
12546
12643
  () => a(T.report_accessSetting)
12547
- ), U = me(
12644
+ ), D = me(
12548
12645
  () => a(T.report_accessIntegration)
12549
12646
  ), z = me(
12550
12647
  () => t.value.some(
@@ -12555,7 +12652,7 @@ const ts = "mf-reportnavigation", qr = ct(ts, () => {
12555
12652
  return (t.value.length === 0 || z.value) && n.value;
12556
12653
  }
12557
12654
  const b = me(() => {
12558
- const I = !f.value, X = !y.value, N = !u.value, S = !U.value, L = [
12655
+ const I = !f.value, X = !y.value, N = !u.value, S = !D.value, L = [
12559
12656
  {
12560
12657
  label: "overview",
12561
12658
  value: "overview",
@@ -12633,7 +12730,7 @@ const ts = "mf-reportnavigation", qr = ct(ts, () => {
12633
12730
  isOverviewAccessible: f,
12634
12731
  isInsightAccessible: y,
12635
12732
  isSettingAccessible: u,
12636
- isIntegrationAccessible: U,
12733
+ isIntegrationAccessible: D,
12637
12734
  version: i,
12638
12735
  suppressReportRouteSync: A
12639
12736
  };
@@ -12653,7 +12750,7 @@ const os = [
12653
12750
  path: "/overview",
12654
12751
  alias: ["/"],
12655
12752
  name: "overview",
12656
- component: ft(() => import("./OverviewView-Dq8qLG4l.js")),
12753
+ component: ft(() => import("./OverviewView-YYCDda7Z.js")),
12657
12754
  meta: {
12658
12755
  validationManifest: pt(
12659
12756
  T.report_accessOverview
@@ -12663,18 +12760,18 @@ const os = [
12663
12760
  {
12664
12761
  path: "/report",
12665
12762
  name: "reports",
12666
- component: () => import("./Report-BhxIh6t4.js")
12763
+ component: () => import("./Report-fQv1rMXB.js")
12667
12764
  },
12668
12765
  {
12669
12766
  path: "/template",
12670
12767
  name: "template",
12671
- component: () => import("./Template-D294v9dv.js"),
12768
+ component: () => import("./Template-BNwoCMjJ.js"),
12672
12769
  beforeEnter: () => qr().canAccessTemplate() ? !0 : { name: "reports" }
12673
12770
  },
12674
12771
  {
12675
12772
  path: "/insights",
12676
12773
  name: "insights",
12677
- component: ft(() => import("./InsightView-CKMKQoJY.js")),
12774
+ component: ft(() => import("./InsightView-B7hXryQe.js")),
12678
12775
  meta: {
12679
12776
  validationManifest: pt(
12680
12777
  T.report_accessInsight
@@ -12684,22 +12781,22 @@ const os = [
12684
12781
  {
12685
12782
  path: "/report-view",
12686
12783
  name: "reportView",
12687
- component: () => import("./ReportView-S9VhPpPU.js")
12784
+ component: () => import("./ReportView-CePzSNVf.js")
12688
12785
  },
12689
12786
  {
12690
12787
  path: "/report-editor",
12691
12788
  name: "reportEditor",
12692
- component: () => import("./ReportEditor-CkK3nJDz.js")
12789
+ component: () => import("./ReportEditor-BQi5vZ5G.js")
12693
12790
  },
12694
12791
  {
12695
12792
  path: "/report-editor/tile-editor",
12696
12793
  name: "tileEditor",
12697
- component: () => import("./TileEditor-ClDAJ6ZY.js")
12794
+ component: () => import("./TileEditor-EBbG7Odu.js")
12698
12795
  },
12699
12796
  {
12700
12797
  path: "/setting",
12701
12798
  name: "setting",
12702
- component: ft(() => import("./Setting-Ckunjdpf.js")),
12799
+ component: ft(() => import("./Setting-DA1IUerO.js")),
12703
12800
  meta: {
12704
12801
  validationManifest: pt(
12705
12802
  T.report_accessSetting
@@ -12708,7 +12805,7 @@ const os = [
12708
12805
  },
12709
12806
  {
12710
12807
  path: "/integration",
12711
- component: ft(() => import("./Layout-Bv8YMshv.js")),
12808
+ component: ft(() => import("./Layout-BaxsdPkO.js")),
12712
12809
  meta: {
12713
12810
  validationManifest: pt(
12714
12811
  T.report_accessIntegration
@@ -12718,12 +12815,12 @@ const os = [
12718
12815
  {
12719
12816
  name: "integrations",
12720
12817
  path: "",
12721
- component: () => import("./Integrations-R80AIGPp.js")
12818
+ component: () => import("./Integrations-s2XnL_lQ.js")
12722
12819
  },
12723
12820
  {
12724
12821
  name: "integration",
12725
12822
  path: "/integration/:id",
12726
- component: () => import("./Integration-CWpo4oHm.js")
12823
+ component: () => import("./Integration-Cm0DNd94.js")
12727
12824
  }
12728
12825
  ]
12729
12826
  },
@@ -12747,11 +12844,11 @@ const Ws = {
12747
12844
  "zh-CN": un,
12748
12845
  "th-TH": fn,
12749
12846
  "zh-Hant": yn
12750
- }, Zs = $o(() => import("./App-ApkZ-DlH.js"));
12847
+ }, Zs = $o(() => import("./App-CcdMlfSd.js"));
12751
12848
  export {
12752
12849
  Kc as A,
12753
12850
  Ec as B,
12754
- Uc as C,
12851
+ Dc as C,
12755
12852
  Ie as D,
12756
12853
  Ms as E,
12757
12854
  re as F,
@@ -12769,7 +12866,7 @@ export {
12769
12866
  Ls as R,
12770
12867
  ks as S,
12771
12868
  Es as T,
12772
- Dc as U,
12869
+ Uc as U,
12773
12870
  Jn as V,
12774
12871
  wt as W,
12775
12872
  Zs as X,