@feedmepos/mf-inventory-portal 1.3.13 → 1.3.14-dev.2

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 (95) hide show
  1. package/dist/App-D1_jkD6L.js +309 -0
  2. package/dist/{ApprovalView-ClQU6bq0.js → ApprovalView-CfF2FqsE.js} +12 -12
  3. package/dist/{BindingsDialog--w8amPhB.js → BindingsDialog-H-juP-az.js} +13 -13
  4. package/dist/{BindingsPicker-CLZ2cy95.js → BindingsPicker-ClruHF7p.js} +2 -2
  5. package/dist/{BindingsTable-DMKnwFJt.js → BindingsTable-Bx9pbFOO.js} +3 -3
  6. package/dist/{ClosingDraftView-DOSvb2cx.js → ClosingDraftView-DN97Tao5.js} +15 -15
  7. package/dist/{ClosingHistoryView-Dbysx1Ca.js → ClosingHistoryView-DsRYUqa2.js} +5 -5
  8. package/dist/{ClosingTemplateView-kOWpFBhr.js → ClosingTemplateView-f9zfsxCu.js} +14 -14
  9. package/dist/DefaultView-COVVxOrF.js +31 -0
  10. package/dist/{DeliveryOrderPrintPreview-CTrf0b97.js → DeliveryOrderPrintPreview-BMK4kBCQ.js} +11 -11
  11. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-HLHu23Ly.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Bqj_Ygmo.js} +8 -8
  12. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BTwfJTx3.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CK1ha_AY.js} +2 -2
  13. package/dist/{FmMultiselectDialog-D8AXgAuO.js → FmMultiselectDialog-BazT9oUX.js} +1 -1
  14. package/dist/{FmMultiselectDialog-ByvnmkuF.js → FmMultiselectDialog-_gUuhudi.js} +16 -16
  15. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-B8Jp-237.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BBtAgdsA.js} +4 -4
  16. package/dist/{ImportView-B8jTVkI3.js → ImportView-jpkwuCXO.js} +6 -6
  17. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-D3bMh_iG.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-DLJnF4do.js} +1 -1
  18. package/dist/{IngredientGroupView-DEZHQArP.js → IngredientGroupView-x3t1hyNn.js} +5 -5
  19. package/dist/{IngredientsView-D_0aKc2P.js → IngredientsView-BzWTnlb4.js} +15 -15
  20. package/dist/{IntegrationExplorerView-RNQ89fRN.js → IntegrationExplorerView-Bca3owbx.js} +5 -5
  21. package/dist/{IntegrationView-HyqeX65i.js → IntegrationView-Dh1c4Qyo.js} +81 -81
  22. package/dist/{InventoryBindingForm-GXWU6jVC.js → InventoryBindingForm-B1sI1TGZ.js} +1 -1
  23. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-BSWEOGs7.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-7NeE7Xos.js} +5 -5
  24. package/dist/{InventoryBindingSummary-Dcsun-ae.js → InventoryBindingSummary-R8zHPc52.js} +1 -1
  25. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BPHzJFkv.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DMJVh7Nt.js} +1 -1
  26. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-eaX2F6rA.js → PremiumBadge.vue_vue_type_script_setup_true_lang-ChC9sEIk.js} +7 -7
  27. package/dist/{PublishView-BzaSX1CF.js → PublishView-Bqp8Ww4J.js} +15 -15
  28. package/dist/{PurchaseOrderPrintPreview-Dq9RVILX.js → PurchaseOrderPrintPreview-D7TCn8U-.js} +11 -11
  29. package/dist/{ReceiveRequestView-CUR65B8h.js → ReceiveRequestView-oNBVAMYu.js} +23 -23
  30. package/dist/{RecipeView-DA1exNa3.js → RecipeView-D8Mvgji9.js} +15 -15
  31. package/dist/{SettingsView-G9VVMREu.js → SettingsView-BJScLK9z.js} +4 -4
  32. package/dist/StockView-CRRdVCcD.js +2439 -0
  33. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DflfaS_i.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DUKv_LV6.js} +1 -1
  34. package/dist/{SupplierView-Br3PxWl6.js → SupplierView-DdBBIV8W.js} +12 -12
  35. package/dist/{SurchargeView-DnC875ic.js → SurchargeView-DisBUPIs.js} +16 -16
  36. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-DxElZDE3.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-CZ3Q3BAf.js} +2 -2
  37. package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-DncbuAH1.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CC7F5HVc.js} +1 -1
  38. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-R0DRQHII.js → TransferDetails.vue_vue_type_script_setup_true_lang-BLlg1Vka.js} +821 -837
  39. package/dist/{TransferTemplateView-CN-1iASP.js → TransferTemplateView-7ICJMF9z.js} +17 -17
  40. package/dist/{UnitCostHistoryView-HMfTl2Rl.js → UnitCostHistoryView-BMRDBQ58.js} +246 -243
  41. package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-BQSRm_uN.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-mNXHzLN3.js} +4 -4
  42. package/dist/{UnitView-2J7SxbnX.js → UnitView-uUUYOjYn.js} +7 -7
  43. package/dist/{WarehouseView-EIXt8wd0.js → WarehouseView-BfMf_iuj.js} +25 -25
  44. package/dist/{WastageTemplateView-B8yQevPX.js → WastageTemplateView-BQYjJGZ-.js} +14 -14
  45. package/dist/{app-DZ_O5S5y.js → app-B_zMegJc.js} +23521 -22309
  46. package/dist/app.d.ts +22 -6
  47. package/dist/app.js +2 -2
  48. package/dist/{closing-template-C3F4uA55.js → closing-template-9vhx5Ji1.js} +1 -1
  49. package/dist/components/HrmPermissionGuard.vue.d.ts +54 -0
  50. package/dist/composable/useHrmPermission.d.ts +17 -0
  51. package/dist/composable/useInventoryAccess.d.ts +11 -0
  52. package/dist/composable/useNavigationMenu.d.ts +14 -0
  53. package/dist/{date2-DoKx3vEH.js → date2-BMCS_Dsc.js} +1 -1
  54. package/dist/{dayjs.min-BzKmIVU5.js → dayjs.min-Dl26OaXo.js} +16 -16
  55. package/dist/{decimal-CHryhQrv.js → decimal-e6OK2jkR.js} +2 -2
  56. package/dist/{defineDeepModel-Dt72PPYN.js → defineDeepModel-BvLlwxnd.js} +1 -1
  57. package/dist/{duplicate-template-k0PYkiot.js → duplicate-template-Cnhu8Rxw.js} +1 -1
  58. package/dist/{empty-placeholder-wf6-BWE8.js → empty-placeholder-B0QU467o.js} +1 -1
  59. package/dist/{export-D0nU9NCc.js → export-CGvyGmeo.js} +1 -1
  60. package/dist/{feature-DTXvUM9q.js → feature-Do41WWzx.js} +46 -46
  61. package/dist/{format-time-from-id-CjML4YH3.js → format-time-from-id-CqX_KaUG.js} +1 -1
  62. package/dist/{format-unit-display-BASnDwRJ.js → format-unit-display-D8qWmRXP.js} +11 -11
  63. package/dist/{import-export.helper-BGRAKGXv.js → import-export.helper-85V8Ib5e.js} +6 -6
  64. package/dist/{index-Db7jD-CU.js → index-C-CwnjUn.js} +3 -3
  65. package/dist/{index-D5qTaOFp.js → index-Cg3aLEhT.js} +1 -1
  66. package/dist/{index-FhahM2dg.js → index-CtUF9Nsv.js} +1 -1
  67. package/dist/{inventory-core-dart.default-Cvvr8rpN.js → inventory-core-dart.default-B64FzAla.js} +10 -10
  68. package/dist/{lodash-B4Uj749H.js → lodash-U9ycVPlv.js} +1 -1
  69. package/dist/{lz-string-Ckbaw1Bu.js → lz-string-0CgVsQoC.js} +21 -21
  70. package/dist/{netsuite-B4O7LRpC.js → netsuite-Du7-sXJt.js} +37 -37
  71. package/dist/{number-9PlMlR2G.js → number-iJAzDfmj.js} +11 -11
  72. package/dist/{predefined-templates-BqAy88Rp.js → predefined-templates-LlSrXOXm.js} +1 -1
  73. package/dist/{purchase-order-template-KkhC0FCL.js → purchase-order-template-DFuXb0rr.js} +1 -1
  74. package/dist/{recalculationUtils-Rj0SZQO3.js → recalculationUtils-DWPnMW1G.js} +1 -1
  75. package/dist/router/name.d.ts +1 -0
  76. package/dist/router/route-permission.d.ts +10 -0
  77. package/dist/{rules-BvLBkdfK.js → rules-DefSKiUN.js} +2 -2
  78. package/dist/{stock-CoG3l91v.js → stock-BfF6peMd.js} +3 -3
  79. package/dist/{stock-yUbmIey0.js → stock-Cx1BwdWs.js} +28 -27
  80. package/dist/{supplier-Qlox4B8s.js → supplier-CU3iqdGr.js} +2 -2
  81. package/dist/{surcharge-CsAxFX-L.js → surcharge-D77J5opH.js} +8 -8
  82. package/dist/tsconfig.app.tsbuildinfo +1 -1
  83. package/dist/{use-ingredient-select-dialog-BOtDFKQO.js → use-ingredient-select-dialog-B-jxV-79.js} +2 -2
  84. package/dist/{use-inventory-binding-dialog-Dz5NbeEn.js → use-inventory-binding-dialog-BdTd5qPl.js} +2 -2
  85. package/dist/{use-template-enabled-locations-MNNKqChl.js → use-template-enabled-locations-vFvaCjlH.js} +2 -2
  86. package/dist/useHrmPermission-CekUhyck.js +16 -0
  87. package/dist/useNavigationMenu-BiLWMIip.js +162 -0
  88. package/dist/views/DefaultView.vue.d.ts +2 -0
  89. package/dist/views/receive-request/composables/use-order-draft-permission.d.ts +2 -5
  90. package/dist/{vue-i18n-BqX2td3b.js → vue-i18n-C3_OsgSl.js} +371 -371
  91. package/dist/{xlsx-CtRIIkxr.js → xlsx-o7n1whCa.js} +398 -398
  92. package/dist/{xlsx.util-Bd4_86rn.js → xlsx.util-D6nPboPW.js} +1 -1
  93. package/package.json +3 -2
  94. package/dist/App-Dm-YoD_v.js +0 -411
  95. package/dist/StockView-3J7Gkskb.js +0 -2406
package/dist/app.d.ts CHANGED
@@ -18,6 +18,10 @@ export declare const i18nMessages: {
18
18
  comparePlans: string;
19
19
  callUs: string;
20
20
  };
21
+ noPermission: {
22
+ title: string;
23
+ description: string;
24
+ };
21
25
  table: {
22
26
  toolbar: {
23
27
  filterItems: string;
@@ -1331,6 +1335,10 @@ export declare const i18nMessages: {
1331
1335
  comparePlans: string;
1332
1336
  callUs: string;
1333
1337
  };
1338
+ noPermission: {
1339
+ title: string;
1340
+ description: string;
1341
+ };
1334
1342
  table: {
1335
1343
  toolbar: {
1336
1344
  filterItems: string;
@@ -2644,6 +2652,10 @@ export declare const i18nMessages: {
2644
2652
  comparePlans: string;
2645
2653
  callUs: string;
2646
2654
  };
2655
+ noPermission: {
2656
+ title: string;
2657
+ description: string;
2658
+ };
2647
2659
  table: {
2648
2660
  toolbar: {
2649
2661
  filterItems: string;
@@ -3957,6 +3969,10 @@ export declare const i18nMessages: {
3957
3969
  comparePlans: string;
3958
3970
  callUs: string;
3959
3971
  };
3972
+ noPermission: {
3973
+ title: string;
3974
+ description: string;
3975
+ };
3960
3976
  table: {
3961
3977
  toolbar: {
3962
3978
  filterItems: string;
@@ -5323,12 +5339,12 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
5323
5339
  }[]>;
5324
5340
  default: () => never[];
5325
5341
  };
5326
- iframeMode: {
5327
- type: import("vue").PropType<boolean>;
5328
- };
5329
5342
  excludeBindingId: {
5330
5343
  type: import("vue").PropType<string>;
5331
5344
  };
5345
+ iframeMode: {
5346
+ type: import("vue").PropType<boolean>;
5347
+ };
5332
5348
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5333
5349
  "update:modelValue": (bindings: {
5334
5350
  measurement?: {
@@ -5422,12 +5438,12 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
5422
5438
  }[]>;
5423
5439
  default: () => never[];
5424
5440
  };
5425
- iframeMode: {
5426
- type: import("vue").PropType<boolean>;
5427
- };
5428
5441
  excludeBindingId: {
5429
5442
  type: import("vue").PropType<string>;
5430
5443
  };
5444
+ iframeMode: {
5445
+ type: import("vue").PropType<boolean>;
5446
+ };
5431
5447
  }>> & Readonly<{
5432
5448
  "onUpdate:modelValue"?: ((bindings: {
5433
5449
  measurement?: {
package/dist/app.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import "vue";
2
- import { at as r, au as e, av as o, as as t, aw as i, a as m } from "./app-DZ_O5S5y.js";
2
+ import { aw as s, ax as e, ay as o, av as t, al as i, a as m } from "./app-B_zMegJc.js";
3
3
  export {
4
- r as FmApp,
4
+ s as FmApp,
5
5
  e as InventoryBindingForm,
6
6
  o as InventoryBindingSummary,
7
7
  t as i18nMessages,
@@ -1,4 +1,4 @@
1
- import { o as c } from "./app-DZ_O5S5y.js";
1
+ import { m as c } from "./app-B_zMegJc.js";
2
2
  import { useCoreStore as u } from "@feedmepos/mf-common";
3
3
  const d = c((s, a) => {
4
4
  function r() {
@@ -0,0 +1,54 @@
1
+ import type { CaslPermission } from '@feedmepos/hrm-permission';
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ /** Single CASL permission to check */
4
+ permission?: CaslPermission | undefined;
5
+ /** Multiple CASL permissions to check */
6
+ permissions?: CaslPermission[] | undefined;
7
+ /** Check mode: 'all' requires every permission, 'any' requires at least one */
8
+ mode?: "all" | "any" | undefined;
9
+ }>, {
10
+ permission: undefined;
11
+ permissions: undefined;
12
+ mode: string;
13
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
14
+ /** Single CASL permission to check */
15
+ permission?: CaslPermission | undefined;
16
+ /** Multiple CASL permissions to check */
17
+ permissions?: CaslPermission[] | undefined;
18
+ /** Check mode: 'all' requires every permission, 'any' requires at least one */
19
+ mode?: "all" | "any" | undefined;
20
+ }>, {
21
+ permission: undefined;
22
+ permissions: undefined;
23
+ mode: string;
24
+ }>>> & Readonly<{}>, {
25
+ permissions: CaslPermission[];
26
+ mode: "all" | "any";
27
+ permission: CaslPermission;
28
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
29
+ default?(_: {}): any;
30
+ fallback?(_: {}): any;
31
+ }>;
32
+ export default _default;
33
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
34
+ type __VLS_TypePropsToRuntimeProps<T> = {
35
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
36
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
37
+ } : {
38
+ type: import('vue').PropType<T[K]>;
39
+ required: true;
40
+ };
41
+ };
42
+ type __VLS_WithDefaults<P, D> = {
43
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
44
+ default: D[K];
45
+ }> : P[K];
46
+ };
47
+ type __VLS_Prettify<T> = {
48
+ [K in keyof T]: T[K];
49
+ } & {};
50
+ type __VLS_WithTemplateSlots<T, S> = T & {
51
+ new (): {
52
+ $slots: S;
53
+ };
54
+ };
@@ -0,0 +1,17 @@
1
+ import type { MaybeRefOrGetter, ComputedRef } from 'vue';
2
+ import type { CaslPermission } from '@feedmepos/hrm-permission';
3
+ /**
4
+ * Reactively checks HRM permissions against the current session user.
5
+ *
6
+ * @param permissions CASL permission objects to check.
7
+ * @param mode Permission matching mode: `all` requires every permission, `any` requires at least one.
8
+ * @returns Object containing a computed `hasPermission` boolean.
9
+ *
10
+ * @example
11
+ * const { hasPermission } = useHrmPermission([
12
+ * { action: Permission.read, subject: 'inventory' }
13
+ * ])
14
+ */
15
+ export declare function useHrmPermission(permissions: MaybeRefOrGetter<CaslPermission[]>, mode?: MaybeRefOrGetter<'all' | 'any'>): {
16
+ hasPermission: ComputedRef<boolean>;
17
+ };
@@ -0,0 +1,11 @@
1
+ import type { ComputedRef } from 'vue';
2
+ /**
3
+ * Checks whether the current session user has at least one reachable
4
+ * inventory route in the current app configuration.
5
+ *
6
+ * This is intentionally aligned with navigation routing so feature-gated
7
+ * routes do not count as accessible entry points.
8
+ */
9
+ export declare function useInventoryAccess(): {
10
+ hasAnyAccessibleInventoryRoute: ComputedRef<boolean>;
11
+ };
@@ -0,0 +1,14 @@
1
+ import type { ComputedRef } from 'vue';
2
+ import { RouteName } from '@/router/name';
3
+ export interface NavigationMenuItem {
4
+ label: string;
5
+ value?: string;
6
+ icon?: string;
7
+ disabled?: boolean;
8
+ children?: NavigationMenuItem[];
9
+ }
10
+ export interface UseNavigationMenuReturn {
11
+ menuItems: ComputedRef<NavigationMenuItem[]>;
12
+ firstAccessibleRouteName: ComputedRef<RouteName | null>;
13
+ }
14
+ export declare function useNavigationMenu(): UseNavigationMenuReturn;
@@ -1,4 +1,4 @@
1
- import { d as l } from "./dayjs.min-BzKmIVU5.js";
1
+ import { d as l } from "./dayjs.min-Dl26OaXo.js";
2
2
  const T = new Intl.DateTimeFormat("en-US", {
3
3
  year: "numeric",
4
4
  month: "2-digit",
@@ -1,10 +1,10 @@
1
- import { ak as Q, A as K } from "./app-DZ_O5S5y.js";
1
+ import { an as Q, y as K } from "./app-B_zMegJc.js";
2
2
  var E = { exports: {} };
3
3
  (function(V, X) {
4
4
  (function(W, k) {
5
5
  V.exports = k();
6
6
  })(Q, function() {
7
- var W = 1e3, k = 6e4, N = 36e5, A = "millisecond", S = "second", w = "minute", O = "hour", M = "day", T = "week", m = "month", U = "quarter", v = "year", _ = "date", J = "Invalid Date", q = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, B = /\[([^\]]+)]|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, G = { 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(s) {
7
+ var W = 1e3, k = 6e4, N = 36e5, A = "millisecond", S = "second", w = "minute", O = "hour", M = "day", T = "week", m = "month", U = "quarter", y = "year", _ = "date", J = "Invalid Date", q = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, B = /\[([^\]]+)]|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, G = { 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(s) {
8
8
  var n = ["th", "st", "nd", "rd"], t = s % 100;
9
9
  return "[" + s + (n[(t - 20) % 10] || n[t] || n[0]) + "]";
10
10
  } }, I = function(s, n, t) {
@@ -20,7 +20,7 @@ var E = { exports: {} };
20
20
  }, a: function(s) {
21
21
  return s < 0 ? Math.ceil(s) || 0 : Math.floor(s);
22
22
  }, p: function(s) {
23
- return { M: m, y: v, w: T, d: M, D: _, h: O, m: w, s: S, ms: A, Q: U }[s] || String(s || "").toLowerCase().replace(/s$/, "");
23
+ return { M: m, y, w: T, d: M, D: _, h: O, m: w, s: S, ms: A, Q: U }[s] || String(s || "").toLowerCase().replace(/s$/, "");
24
24
  }, u: function(s) {
25
25
  return s === void 0;
26
26
  } }, x = "en", D = {};
@@ -90,13 +90,13 @@ var E = { exports: {} };
90
90
  return this.$d.getTime();
91
91
  }, n.startOf = function(t, r) {
92
92
  var e = this, i = !!a.u(r) || r, u = a.p(t), o = function(p, $) {
93
- var y = a.w(e.$u ? Date.UTC(e.$y, $, p) : new Date(e.$y, $, p), e);
94
- return i ? y : y.endOf(M);
93
+ var v = a.w(e.$u ? Date.UTC(e.$y, $, p) : new Date(e.$y, $, p), e);
94
+ return i ? v : v.endOf(M);
95
95
  }, c = function(p, $) {
96
96
  return a.w(e.toDate()[p].apply(e.toDate("s"), (i ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice($)), e);
97
97
  }, h = this.$W, d = this.$M, l = this.$D, b = "set" + (this.$u ? "UTC" : "");
98
98
  switch (u) {
99
- case v:
99
+ case y:
100
100
  return i ? o(1, 0) : o(31, 11);
101
101
  case m:
102
102
  return i ? o(1, d) : o(0, d + 1);
@@ -118,8 +118,8 @@ var E = { exports: {} };
118
118
  }, n.endOf = function(t) {
119
119
  return this.startOf(t, !1);
120
120
  }, n.$set = function(t, r) {
121
- var e, i = a.p(t), u = "set" + (this.$u ? "UTC" : ""), o = (e = {}, e[M] = u + "Date", e[_] = u + "Date", e[m] = u + "Month", e[v] = u + "FullYear", e[O] = u + "Hours", e[w] = u + "Minutes", e[S] = u + "Seconds", e[A] = u + "Milliseconds", e)[i], c = i === M ? this.$D + (r - this.$W) : r;
122
- if (i === m || i === v) {
121
+ var e, i = a.p(t), u = "set" + (this.$u ? "UTC" : ""), o = (e = {}, e[M] = u + "Date", e[_] = u + "Date", e[m] = u + "Month", e[y] = u + "FullYear", e[O] = u + "Hours", e[w] = u + "Minutes", e[S] = u + "Seconds", e[A] = u + "Milliseconds", e)[i], c = i === M ? this.$D + (r - this.$W) : r;
122
+ if (i === m || i === y) {
123
123
  var h = this.clone().set(_, 1);
124
124
  h.$d[o](c), h.init(), this.$d = h.set(_, Math.min(this.$D, h.daysInMonth())).$d;
125
125
  } else o && this.$d[o](c);
@@ -136,7 +136,7 @@ var E = { exports: {} };
136
136
  return a.w(l.date(l.date() + Math.round(d * t)), i);
137
137
  };
138
138
  if (u === m) return this.set(m, this.$M + t);
139
- if (u === v) return this.set(v, this.$y + t);
139
+ if (u === y) return this.set(y, this.$y + t);
140
140
  if (u === M) return o(1);
141
141
  if (u === T) return o(7);
142
142
  var c = (e = {}, e[w] = k, e[O] = N, e[S] = W, e)[u] || 1, h = this.$d.getTime() + t * c;
@@ -146,16 +146,16 @@ var E = { exports: {} };
146
146
  }, n.format = function(t) {
147
147
  var r = this, e = this.$locale();
148
148
  if (!this.isValid()) return e.invalidDate || J;
149
- var i = t || "YYYY-MM-DDTHH:mm:ssZ", u = a.z(this), o = this.$H, c = this.$m, h = this.$M, d = e.weekdays, l = e.months, b = e.meridiem, g = function($, y, H, L) {
150
- return $ && ($[y] || $(r, i)) || H[y].slice(0, L);
149
+ var i = t || "YYYY-MM-DDTHH:mm:ssZ", u = a.z(this), o = this.$H, c = this.$m, h = this.$M, d = e.weekdays, l = e.months, b = e.meridiem, g = function($, v, H, L) {
150
+ return $ && ($[v] || $(r, i)) || H[v].slice(0, L);
151
151
  }, Y = function($) {
152
152
  return a.s(o % 12 || 12, $, "0");
153
- }, p = b || function($, y, H) {
153
+ }, p = b || function($, v, H) {
154
154
  var L = $ < 12 ? "AM" : "PM";
155
155
  return H ? L.toLowerCase() : L;
156
156
  };
157
- return i.replace(B, function($, y) {
158
- return y || function(H) {
157
+ return i.replace(B, function($, v) {
158
+ return v || function(H) {
159
159
  switch (H) {
160
160
  case "YY":
161
161
  return String(r.$y).slice(-2);
@@ -216,7 +216,7 @@ var E = { exports: {} };
216
216
  return a.m(u, c);
217
217
  };
218
218
  switch (o) {
219
- case v:
219
+ case y:
220
220
  i = l() / 12;
221
221
  break;
222
222
  case m:
@@ -264,7 +264,7 @@ var E = { exports: {} };
264
264
  return this.$d.toUTCString();
265
265
  }, s;
266
266
  }(), z = C.prototype;
267
- return f.prototype = z, [["$ms", A], ["$s", S], ["$m", w], ["$H", O], ["$W", M], ["$M", m], ["$y", v], ["$D", _]].forEach(function(s) {
267
+ return f.prototype = z, [["$ms", A], ["$s", S], ["$m", w], ["$H", O], ["$W", M], ["$M", m], ["$y", y], ["$D", _]].forEach(function(s) {
268
268
  z[s[1]] = function(n) {
269
269
  return this.$g(n, s[0], s[1]);
270
270
  };
@@ -1,5 +1,5 @@
1
- import "./dayjs.min-BzKmIVU5.js";
2
- import "./app-DZ_O5S5y.js";
1
+ import "./dayjs.min-Dl26OaXo.js";
2
+ import "./app-B_zMegJc.js";
3
3
  function m(a) {
4
4
  function t(o, n = !0) {
5
5
  const e = Math.round(Math.log10(o));
@@ -1,4 +1,4 @@
1
- import { c as a, a0 as u } from "./app-DZ_O5S5y.js";
1
+ import { c as a, a0 as u } from "./app-B_zMegJc.js";
2
2
  import { getCurrentInstance as d, reactive as l, watch as o } from "vue";
3
3
  function g(i = "modelValue", e) {
4
4
  var n, c;
@@ -1,4 +1,4 @@
1
- import { o as p } from "./app-DZ_O5S5y.js";
1
+ import { m as p } from "./app-B_zMegJc.js";
2
2
  import { useCoreStore as c } from "@feedmepos/mf-common";
3
3
  const u = p((s, n) => {
4
4
  function o() {