@feedmepos/mf-inventory-portal 1.8.0-dev.1 → 1.8.0-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 (124) hide show
  1. package/dist/App-DVHgBTHP.js +1499 -0
  2. package/dist/{ApprovalView-C8_ax05b.js → ApprovalView-RaXuWWSu.js} +9 -9
  3. package/dist/{BindingsDialog-t0ZY9eh5.js → BindingsDialog-DomvXijP.js} +2 -2
  4. package/dist/{BindingsPicker-C0Qblmml.js → BindingsPicker-DGnzxEs7.js} +2 -2
  5. package/dist/{BindingsTable-CsqUBbRA.js → BindingsTable-DfG9kWrv.js} +4 -4
  6. package/dist/{BulkReceiveRequestView-DAG-TMox.js → BulkReceiveRequestView-DxHWrfbi.js} +21 -22
  7. package/dist/ChangeLocationComponent.vue_vue_type_script_setup_true_lang-CVekIoiN.js +151 -0
  8. package/dist/{ClosingDraftView-CdKp4Ny6.js → ClosingDraftView-C3n66bbh.js} +20 -20
  9. package/dist/{ClosingHistoryView-Blyq9-BS.js → ClosingHistoryView-kdpYGy1Y.js} +5 -5
  10. package/dist/{ClosingTemplateView-C326DL4q.js → ClosingTemplateView-DwGloYxn.js} +302 -291
  11. package/dist/{CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-CXjubRbj.js → CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-9eY_r8LF.js} +1 -1
  12. package/dist/{DefaultView-CsIMmQAY.js → DefaultView-JC_e4xgC.js} +2 -2
  13. package/dist/{DeliveryOrderPrintPreview-eTrMvJzA.js → DeliveryOrderPrintPreview-BBCvI67S.js} +2 -2
  14. package/dist/DeprecateSoonWarningDialog.vue_vue_type_script_setup_true_lang-5Cc08Svt.js +58 -0
  15. package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-B7nBbxMo.js → EmailDialog.vue_vue_type_script_setup_true_lang-H4FWc9ga.js} +1663 -1668
  16. package/dist/FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-C1C8aDA6.js +61 -0
  17. package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-CI2KTzDs.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-Q8Mptiv3.js} +1 -1
  18. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Db_FiSRe.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CE1_yyHe.js} +2 -2
  19. package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CGJi3f86.js +120 -0
  20. package/dist/{FmMultiselectDialog-CYUxtxnS.js → FmMultiselectDialog-DCaRlBIy.js} +2 -2
  21. package/dist/{FmMultiselectDialog-BAw-gp5K.js → FmMultiselectDialog-yVPY5aBV.js} +1 -1
  22. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DOkV11NN.js → FmUnitInput.vue_vue_type_script_setup_true_lang-ClaLVtpK.js} +6 -6
  23. package/dist/{ImportView-BmotFC-3.js → ImportView-DQrVMzxN.js} +6 -6
  24. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DVCCpvS4.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-7lT5UZc8.js} +1 -1
  25. package/dist/IngredientGroupView-BMUnEaY7.js +1000 -0
  26. package/dist/{IngredientsView-CZ6E7cXf.js → IngredientsView-DPj9lBTK.js} +303 -296
  27. package/dist/{IntegrationExplorerView-B15ND4Fg.js → IntegrationExplorerView-CO2wpUR_.js} +4 -4
  28. package/dist/{IntegrationView-hkNhsqx2.js → IntegrationView-DIeZoey0.js} +2403 -2408
  29. package/dist/{InventoryBindingForm-SfuUF0_O.js → InventoryBindingForm-Cj4_Chue.js} +1 -1
  30. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-Zq81p_MF.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-CaBOK7NC.js} +5 -5
  31. package/dist/{InventoryBindingSummary-DUcukkyJ.js → InventoryBindingSummary-yzGzd7jJ.js} +1 -1
  32. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BmfROiLM.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DzzTPdyF.js} +1 -1
  33. package/dist/{ProductionRunDetailView-BwgRX-14.js → ProductionRunDetailView-Cw-ecaey.js} +4 -4
  34. package/dist/{ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-BbNXNhpr.js → ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-BYyiiAWb.js} +7 -7
  35. package/dist/{ProductionRunView-CZU7LY9-.js → ProductionRunView-C11eseXQ.js} +3 -3
  36. package/dist/{PublishView-DS2FZ66p.js → PublishView-CPK9NeVF.js} +3 -3
  37. package/dist/{PurchaseOrderPrintPreview-CZa0MVAs.js → PurchaseOrderPrintPreview-DosqWQeN.js} +2 -2
  38. package/dist/{ReceiveRequestView-Bk5b3nVB.js → ReceiveRequestView-BxSkpK2t.js} +15 -16
  39. package/dist/{RecipeView-DvI6X-uN.js → RecipeView-oHDWsT0P.js} +19 -20
  40. package/dist/SettingsView-QlUNwFhM.js +983 -0
  41. package/dist/{StockView-Z9wGihT7.js → StockView-a8LbVZ_7.js} +324 -322
  42. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DdZg9T4n.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-GdGJCuc0.js} +1 -1
  43. package/dist/{SupplierView-D8q6siZW.js → SupplierView-BKxKoi_0.js} +451 -447
  44. package/dist/{SurchargeView-Db_5YFoR.js → SurchargeView-Db4cwhZv.js} +7 -7
  45. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-WOVs4Fr1.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-CpkF77Ow.js} +2 -2
  46. package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-BtoP4XgE.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CCCj4WVF.js} +1 -1
  47. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-Bljc4Vuy.js → TransferDetails.vue_vue_type_script_setup_true_lang-CFNPXqt5.js} +39 -40
  48. package/dist/{TransferTemplateView-DtsJzmUr.js → TransferTemplateView-CzwxOBMQ.js} +22 -23
  49. package/dist/{UnitCostHistoryView-BqDiQ4IE.js → UnitCostHistoryView-CqcyjCCd.js} +4 -4
  50. package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-BjSmg5LX.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-DO80_8SZ.js} +4 -4
  51. package/dist/{UnitView-CM695-VI.js → UnitView-BqdK1AM_.js} +8 -8
  52. package/dist/{WarehouseView-BdidU4p6.js → WarehouseView-COJM9IXM.js} +193 -189
  53. package/dist/{WastageTemplateView-DdhwdXT6.js → WastageTemplateView-DW3viTHN.js} +15 -15
  54. package/dist/api/feature-flags.d.ts +10 -0
  55. package/dist/api/license.d.ts +9 -0
  56. package/dist/{app-Cb5s4jMu.js → app-yvK__CBL.js} +143 -106
  57. package/dist/app.d.ts +36 -0
  58. package/dist/app.js +1 -1
  59. package/dist/{closing-template-DnqnpXxn.js → closing-template-DezidSM0.js} +1 -1
  60. package/dist/components/ChangeLocationComponent.vue.d.ts +21 -14
  61. package/dist/components/DeprecateSoonWarningDialog.vue.d.ts +22 -0
  62. package/dist/components/FeatureCapabilityBadge.vue.d.ts +25 -0
  63. package/dist/components/{PreviewBadge.vue.d.ts → FeatureCapabilityGate.vue.d.ts} +10 -7
  64. package/dist/components/{PremiumBadge.vue.d.ts → PlanTierBadge.vue.d.ts} +5 -13
  65. package/dist/components/PlanUpgradeDialog.vue.d.ts +30 -0
  66. package/dist/composable/useNavigationMenu.d.ts +2 -1
  67. package/dist/{date2-BPhD_1Of.js → date2-2XjepIqc.js} +1 -1
  68. package/dist/{dayjs.min-Zbd6-uVD.js → dayjs.min-CNp5DLBB.js} +1 -1
  69. package/dist/{decimal-Df6a50Ld.js → decimal-Z7oJdGk8.js} +2 -2
  70. package/dist/{defineDeepModel-Brbsikbi.js → defineDeepModel-CMxJn_H2.js} +1 -1
  71. package/dist/{duplicate-template-B9kuShaF.js → duplicate-template-BetV5oy_.js} +1 -1
  72. package/dist/{inventory-core-dart.default-DDRxXXnt.js → feature-CkWaZ-5K.js} +3046 -1837
  73. package/dist/feature-flags/core.d.ts +27 -0
  74. package/dist/feature-flags/core.spec.d.ts +1 -0
  75. package/dist/feature-flags/navigation-capabilities.d.ts +23 -0
  76. package/dist/feature-flags/navigation-capabilities.spec.d.ts +1 -0
  77. package/dist/feature-flags/plan-tier.d.ts +6 -0
  78. package/dist/feature-flags/plan-tier.spec.d.ts +1 -0
  79. package/dist/feature-flags/portal-feature-catalog.d.ts +24 -0
  80. package/dist/feature-flags/vue.d.ts +14 -0
  81. package/dist/{format-time-from-id-DmUjUcVj.js → format-time-from-id-DatSI9uD.js} +1 -1
  82. package/dist/{format-unit-display-CsQA0SQd.js → format-unit-display-DM5We5cx.js} +13 -13
  83. package/dist/id-to-date-Dxw2jKhy.js +67 -0
  84. package/dist/{import-export.helper-DCQ6oX9s.js → import-export.helper-BOmADwUw.js} +6 -6
  85. package/dist/{index-C-mazZwS.js → index-7fz5sGDO.js} +3 -3
  86. package/dist/{index-UmM6gHJ1.js → index-CIH9NCvs.js} +1 -1
  87. package/dist/{index-BXaIMGnI.js → index-ClYgfwW7.js} +1 -1
  88. package/dist/{lz-string-Bibw5D_6.js → lz-string-CCsc2X7t.js} +1 -1
  89. package/dist/{netsuite-Bev0OtQT.js → netsuite-COumFXC2.js} +2 -2
  90. package/dist/{number-y_W4pn_d.js → number-gSLvxNqA.js} +3 -3
  91. package/dist/portal-feature-catalog-yGIESKTc.js +246 -0
  92. package/dist/{predefined-templates-BHvUnTk_.js → predefined-templates-Bw9A9LNA.js} +1 -1
  93. package/dist/{purchase-order-template-DgOKEzhS.js → purchase-order-template-BaZjdGq8.js} +1 -1
  94. package/dist/{recalculationUtils-Dv__DzZh.js → recalculationUtils-t32wAurN.js} +1 -1
  95. package/dist/{row-action.enum-ncgDYAjP.js → row-action.enum-BDeudY4d.js} +2 -2
  96. package/dist/{rules-CZTBvenw.js → rules-C1btu0Md.js} +2 -2
  97. package/dist/{stock-CxCRZo_D.js → stock-B59sfN28.js} +1 -1
  98. package/dist/{stock-XINW8JOM.js → stock-BF86TMW0.js} +3 -3
  99. package/dist/stores/feature.d.ts +12 -0
  100. package/dist/{supplier-CkZdeMcl.js → supplier-DnbLJ_cS.js} +2 -2
  101. package/dist/{surcharge-FRSFqjGl.js → surcharge-C1uE3uQa.js} +1 -1
  102. package/dist/tsconfig.app.tsbuildinfo +1 -1
  103. package/dist/{uom-rules-Cm1styDr.js → uom-rules-DjfyrFHJ.js} +1 -1
  104. package/dist/{use-ingredient-select-dialog-ntAqHX04.js → use-ingredient-select-dialog-7A7fWyEH.js} +2 -2
  105. package/dist/{use-inventory-binding-dialog-DVIJO8Cl.js → use-inventory-binding-dialog-Cc1tjTfV.js} +2 -2
  106. package/dist/{use-template-enabled-locations-CIZqw-Z8.js → use-template-enabled-locations-C-Hqqgzt.js} +2 -2
  107. package/dist/{use-transfer-locations-CM5vNttA.js → use-transfer-locations-CqsXvOI2.js} +2 -2
  108. package/dist/{useHrmPermission-CslLuBoP.js → useHrmPermission-BzwD3Ctc.js} +1 -1
  109. package/dist/useNavigationMenu-PrZg9HS7.js +352 -0
  110. package/dist/{useSseClient-CCV4mPzD.js → useSseClient-FCyLWq8k.js} +1 -1
  111. package/dist/views/integration/components/IntegrationCard.vue.d.ts +38 -0
  112. package/dist/views/settings/FeatureFlagView.vue.d.ts +2 -0
  113. package/dist/{vue-i18n-C5j4EQhi.js → vue-i18n-C34f-Tph.js} +434 -434
  114. package/dist/{xlsx.util-B50OvX4z.js → xlsx.util-X4amwe_k.js} +2 -2
  115. package/package.json +6 -6
  116. package/dist/App-BXgpGzGR.js +0 -1476
  117. package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-zcEv1Swg.js +0 -243
  118. package/dist/IngredientGroupView-qrR9ksEn.js +0 -985
  119. package/dist/PremiumBadge.vue_vue_type_script_setup_true_lang-3e3kDsbN.js +0 -93
  120. package/dist/PreviewBadge.vue_vue_type_script_setup_true_lang-DX2MJqL4.js +0 -29
  121. package/dist/SettingsView-sThYErMz.js +0 -698
  122. package/dist/feature-Ckn5ra3z.js +0 -1136
  123. package/dist/useNavigationMenu-CSinmNCY.js +0 -172
  124. /package/dist/components/{FmFeatureFlagDialog.vue.d.ts → DeprecateSoonPill.vue.d.ts} +0 -0
@@ -1,243 +0,0 @@
1
- import { defineComponent as D, computed as g, ref as O, resolveComponent as w, createElementBlock as i, openBlock as l, createVNode as M, withCtx as N, createElementVNode as m, unref as t, createBlock as d, createCommentVNode as b, Fragment as k, renderList as S, createTextVNode as $, toDisplayString as R, mergeModels as j, useModel as I, renderSlot as H, normalizeClass as T } from "vue";
2
- import { useCoreStore as W, useI18n as z } from "@feedmepos/mf-common";
3
- import { u as q } from "./app-Cb5s4jMu.js";
4
- import { _ as G } from "./FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-CI2KTzDs.js";
5
- import { useBreakpoints as J } from "@feedmepos/ui-library";
6
- import { u as K } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DpwneGOV.js";
7
- import { D as A } from "./app-C39bYJmq.js";
8
- import { F as P } from "./FmAdminBadge-DlplQOHb.js";
9
- const X = { class: "inline-flex" }, Y = {
10
- "data-testid": "inventory-location-selector",
11
- class: "inline-flex rounded-md items-center gap-4 justify-center h-[30px] px-8 py-4 bg-fm-color-neutral-gray-100 cursor-pointer text-fm-color-neutral-gray-400"
12
- }, Z = { class: "fm-typo-en-body-md-600 select-none text-ellipsis overflow-hidden whitespace-nowrap" }, ee = { class: "relative" }, oe = { class: "sticky top-0 py-8 bg-white translate-y-[-12px]" }, le = /* @__PURE__ */ D({
13
- __name: "ChangeLocationComponent",
14
- props: {
15
- showBusiness: { type: Boolean }
16
- },
17
- setup(_) {
18
- const a = q(), y = W(), B = g(() => {
19
- var e;
20
- return (e = y.currentBusiness.value) == null ? void 0 : e.name;
21
- }), { t: c } = z(), v = O(""), u = g({
22
- get() {
23
- return a.businessLevel;
24
- },
25
- set(e) {
26
- a.businessLevel = e;
27
- }
28
- }), p = g(
29
- () => a.locations.map((e) => ({
30
- label: e.name,
31
- value: e.dbName,
32
- type: e.type,
33
- code: e.doc.profile.code ?? "--"
34
- })).filter((e) => {
35
- var f;
36
- if (!v.value) return !0;
37
- const o = v.value.toLocaleLowerCase();
38
- return e.label.toLocaleLowerCase().includes(o) || ((f = e.code) == null ? void 0 : f.toLocaleLowerCase().includes(o));
39
- })
40
- ), n = g(
41
- () => p.value.filter((e) => e.type === "restaurant")
42
- ), s = g(
43
- () => p.value.filter((e) => e.type === "warehouse")
44
- );
45
- function x({ value: e }) {
46
- u.value = !1, a.selectLocation(a.locations.find((o) => o.dbName === e));
47
- }
48
- return (e, o) => {
49
- const f = w("FmIcon"), Q = w("FmSearch"), C = w("FmMenuItem"), E = w("FmMenu");
50
- return l(), i("div", X, [
51
- M(E, { "close-on-click": !0 }, {
52
- "menu-button": N(() => [
53
- m("div", Y, [
54
- M(f, {
55
- name: e.showBusiness && u.value ? "store" : "storefront",
56
- size: "sm"
57
- }, null, 8, ["name"]),
58
- m("div", Z, [
59
- e.showBusiness && u.value ? (l(), i(k, { key: 0 }, [
60
- $(R(B.value), 1)
61
- ], 64)) : t(a)._currentLocation ? (l(), i(k, { key: 1 }, [
62
- $(R(t(a)._currentLocation.name) + " (" + R(t(a)._currentLocation.doc.profile.code ?? "--") + ") ", 1)
63
- ], 64)) : (l(), i(k, { key: 2 }, [
64
- $(R(t(c)("inventory.common.noLocationSelected")), 1)
65
- ], 64))
66
- ]),
67
- M(f, {
68
- name: "expand_more",
69
- size: "sm"
70
- })
71
- ])
72
- ]),
73
- default: N(() => [
74
- m("div", ee, [
75
- m("div", oe, [
76
- M(Q, {
77
- "model-value": v.value,
78
- "onUpdate:modelValue": o[0] || (o[0] = (r) => v.value = r),
79
- placeholder: t(c)("inventory.common.table.toolbar.filterItems")
80
- }, null, 8, ["model-value", "placeholder"])
81
- ]),
82
- m("div", null, [
83
- e.showBusiness ? (l(), d(C, {
84
- key: 0,
85
- "data-testid": "inventory-business-selector",
86
- "model-value": u.value,
87
- label: B.value,
88
- sublabel: "Business",
89
- onClick: o[1] || (o[1] = (r) => u.value = !0)
90
- }, null, 8, ["model-value", "label"])) : b("", !0),
91
- (l(!0), i(k, null, S(n.value, (r) => {
92
- var L;
93
- return l(), d(C, {
94
- key: r.value,
95
- "model-value": !u.value && ((L = t(a)._currentLocation) == null ? void 0 : L.dbName) === r.value,
96
- label: `${r.label} (${r.code})`,
97
- sublabel: "Restaurant",
98
- onClick: (h) => x(r),
99
- onVnodeMounted: (h) => {
100
- var V, F, U;
101
- return !u.value && ((V = t(a)._currentLocation) == null ? void 0 : V.dbName) === r.value && ((F = h.el) == null || F.scrollIntoView({ behavior: "instant", block: "end" }), (U = h.el) == null || U.scrollIntoView({ behavior: "smooth", block: "center" })), void 0;
102
- }
103
- }, null, 8, ["model-value", "label", "onClick", "onVnodeMounted"]);
104
- }), 128)),
105
- (l(!0), i(k, null, S(s.value, (r) => {
106
- var L;
107
- return l(), d(C, {
108
- key: r.value,
109
- "model-value": !u.value && ((L = t(a)._currentLocation) == null ? void 0 : L.dbName) === r.value,
110
- label: r.label,
111
- sublabel: "Warehouse",
112
- onClick: (h) => x(r),
113
- onVnodeMounted: (h) => {
114
- var V, F;
115
- return !u.value && ((V = t(a)._currentLocation) == null ? void 0 : V.dbName) === r.value && ((F = h.el) == null || F.scrollIntoView({ behavior: "smooth", block: "center" })), void 0;
116
- }
117
- }, null, 8, ["model-value", "label", "onClick", "onVnodeMounted"]);
118
- }), 128)),
119
- !e.showBusiness && !n.value.length && !s.value.length ? (l(), d(C, {
120
- key: 1,
121
- disabled: "",
122
- label: t(c)("inventory.common.noResultFound")
123
- }, null, 8, ["label"])) : b("", !0)
124
- ])
125
- ])
126
- ]),
127
- _: 1
128
- })
129
- ]);
130
- };
131
- }
132
- }), ne = { class: "flex-1 w-full flex items-center gap-4 xs:flex-col-reverse sm:flex-col-reverse" }, te = {
133
- key: 0,
134
- class: "flex-1 xs:w-full sm:w-full"
135
- }, ae = {
136
- key: 1,
137
- class: "flex-1"
138
- }, se = { class: "w-full max-w-[343px] xs:max-w-[unset] sm:max-w-[unset]" }, fe = /* @__PURE__ */ D({
139
- __name: "FmInventoryTableToolbar",
140
- props: /* @__PURE__ */ j({
141
- dateRangeQuery: { type: Boolean },
142
- predefinedDateRanges: {},
143
- changeLocation: { type: Boolean },
144
- searchable: { type: Boolean },
145
- hideFilterOptions: { type: Boolean },
146
- filterable: { type: Boolean },
147
- filterAttributes: {},
148
- actions: {},
149
- usingBusinessHelperText: {},
150
- showBusiness: { type: Boolean }
151
- }, {
152
- search: {},
153
- searchModifiers: {},
154
- filter: {},
155
- filterModifiers: {},
156
- dateRange: {},
157
- dateRangeModifiers: {}
158
- }),
159
- emits: ["update:search", "update:filter", "update:dateRange"],
160
- setup(_) {
161
- const { breakpoints: a } = J(), y = g(() => a.value.xs || a.value.sm), B = I(_, "search"), c = I(_, "filter"), v = I(_, "dateRange"), { t: u } = z(), p = K();
162
- return (n, s) => {
163
- const x = w("FmTextField"), e = w("FmButton");
164
- return l(), i("div", {
165
- class: "flex flex-col gap-8",
166
- onVnodeMounted: s[4] || (s[4] = //@ts-ignore
167
- (...o) => t(p).onMounted && t(p).onMounted(...o)),
168
- onVnodeUnmounted: s[5] || (s[5] = //@ts-ignore
169
- (...o) => t(p).onUnmounted && t(p).onUnmounted(...o))
170
- }, [
171
- H(n.$slots, "default"),
172
- m("div", {
173
- class: T([
174
- "flex gap-8 items-center",
175
- {
176
- "px-8 flex-col-reverse h-[unset]": y.value,
177
- "h-48": !y.value
178
- }
179
- ])
180
- }, [
181
- n.changeLocation || n.dateRangeQuery ? (l(), i("div", {
182
- key: 0,
183
- class: T([
184
- "flex gap-8 items-center",
185
- {
186
- "w-full overflow-x-auto": y.value
187
- }
188
- ])
189
- }, [
190
- n.changeLocation ? (l(), d(le, {
191
- key: 0,
192
- "show-business": n.showBusiness
193
- }, null, 8, ["show-business"])) : b("", !0),
194
- n.dateRangeQuery ? (l(), d(G, {
195
- key: 1,
196
- "model-value": v.value,
197
- "onUpdate:modelValue": s[0] || (s[0] = (o) => v.value = o),
198
- "predefined-range": n.predefinedDateRanges
199
- }, null, 8, ["model-value", "predefined-range"])) : b("", !0)
200
- ], 2)) : b("", !0),
201
- m("div", ne, [
202
- n.filterable && n.filterAttributes ? (l(), i("div", te, [
203
- n.hideFilterOptions ? (l(), d(P, { key: 1 }, {
204
- default: N(() => [
205
- M(t(A), {
206
- modelValue: c.value,
207
- "onUpdate:modelValue": s[2] || (s[2] = (o) => c.value = o),
208
- attributes: n.filterAttributes
209
- }, null, 8, ["modelValue", "attributes"])
210
- ]),
211
- _: 1
212
- })) : (l(), d(t(A), {
213
- key: 0,
214
- modelValue: c.value,
215
- "onUpdate:modelValue": s[1] || (s[1] = (o) => c.value = o),
216
- attributes: n.filterAttributes
217
- }, null, 8, ["modelValue", "attributes"]))
218
- ])) : y.value ? b("", !0) : (l(), i("div", ae)),
219
- m("div", se, [
220
- n.searchable ? (l(), d(x, {
221
- key: 0,
222
- "model-value": B.value,
223
- "onUpdate:modelValue": s[3] || (s[3] = (o) => B.value = o),
224
- "prepend-icon": "search",
225
- placeholder: t(u)("inventory.common.table.toolbar.filterItems"),
226
- class: "w-full"
227
- }, null, 8, ["model-value", "placeholder"])) : b("", !0)
228
- ]),
229
- (l(!0), i(k, null, S(n.actions, (o, f) => (l(), d(e, {
230
- key: f,
231
- variant: "tertiary",
232
- "prepend-icon": o.icon,
233
- onClick: o.onClick
234
- }, null, 8, ["prepend-icon", "onClick"]))), 128))
235
- ])
236
- ], 2)
237
- ], 512);
238
- };
239
- }
240
- });
241
- export {
242
- fe as _
243
- };