@feedmepos/mf-menu 0.31.71-prod → 0.31.72-remy
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{App-B5R51HHK.js → App-27TpQ9Rh.js} +1442 -2546
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-Dflill79.js → ApplyProduct.vue_vue_type_script_setup_true_lang-CumuJ63E.js} +3 -3
- package/dist/{Catalog-yv_fwu1h.js → Catalog-qUXEGPwx.js} +26 -26
- package/dist/{Category-lOaUwRrB.js → Category-C9sdulfS.js} +35 -35
- package/dist/{Category-DEkZ-IWE.js → Category-DGUI1Glw.js} +22 -22
- package/dist/{CookingGuide-Db8VQK5V.js → CookingGuide-DIVESXs6.js} +113 -113
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-DwsVvlUq.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-B48GyN96.js} +1 -1
- package/dist/{Group-CFS8D5Uf.js → Group-C8gRQIjf.js} +3 -3
- package/dist/{Group-B2EXYbcn.js → Group-CTzxLznN.js} +1 -1
- package/dist/{Group.vue_vue_type_script_setup_true_lang-BdZ9K2Ht.js → Group.vue_vue_type_script_setup_true_lang-BPCjOiTv.js} +7 -7
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CtlyZlos.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-M7EU3tby.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-C-RPhKoA.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-h09saJxj.js} +21 -22
- package/dist/{Ingredient-C3B8G0Fd.js → Ingredient-DaWcvad4.js} +23 -23
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-BrhhXwp8.js → InventoryBinding.vue_vue_type_script_setup_true_lang-C9VpUX0B.js} +1052 -1052
- package/dist/{LinkProductSideSheet-DPn7KN3l.js → LinkProductSideSheet-b_gN9u5S.js} +3 -3
- package/dist/{MenuSetting-Mph9Pc9s.js → MenuSetting-B32RCTN9.js} +31 -31
- package/dist/{PrintRoute-BwboeALA.js → PrintRoute-BEXM1XO1.js} +26 -26
- package/dist/{Product-CNKnPt-z.js → Product-Dg6vmxu4.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-BksTc5Gm.js → Product.vue_vue_type_script_setup_true_lang-m1D4IZS3.js} +71 -71
- package/dist/{ProductInternalTools-DGkoIc6T.js → ProductInternalTools-DiG53QXf.js} +17 -17
- package/dist/{Products-CkLZYybB.js → Products-Bp4RN2tP.js} +11 -11
- package/dist/{Publish-Bzq9aREC.js → Publish-DHrjYAJO.js} +56 -57
- package/dist/{Recipe-K55Bnscl.js → Recipe-CPpiiwTj.js} +13 -13
- package/dist/{Scheduler-ChAmTqSR.js → Scheduler-BVgOUrgq.js} +16 -16
- package/dist/{ServingSequence-ywa7-8rG.js → ServingSequence-BvvQ7iAu.js} +20 -20
- package/dist/{Setting-CHUNtVho.js → Setting-C828ShhE.js} +20 -20
- package/dist/{Subcategory-0-99_i06.js → Subcategory-Bw4NC1zr.js} +19 -19
- package/dist/{Takeaway-CsJf5I8I.js → Takeaway-BP9vO3uO.js} +1 -1
- package/dist/{Takeaway-BzvxZ_dA.js → Takeaway-CZBbeNL8.js} +10 -10
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-Bh8mjdk4.js → Takeaway.vue_vue_type_script_setup_true_lang-Bf6h1oOm.js} +20 -20
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-CbxgtwVa.js → Thumbnail.vue_vue_type_script_setup_true_lang-BCqjdxf-.js} +20 -20
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-Dh_CA5gZ.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-CTouhy0y.js} +16 -17
- package/dist/{Unit-CbTkNhj2.js → Unit-C0XP2gQF.js} +13 -13
- package/dist/{Variant-NkbzEbF-.js → Variant-CR6fNlW6.js} +15 -15
- package/dist/{_id_-mr4_eirX.js → _id_-DPpuWlln.js} +14 -14
- package/dist/{app-DVB67WHZ.js → app-CtQEOIp5.js} +471 -468
- package/dist/{app-BzsHQwP_.js → app-xaGd6_oS.js} +1 -1
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/app.d.ts +1626 -0
- package/dist/apps/mf-menu/src/components/feature/ApplyProduct/ApplyProduct.vue.d.ts +72 -0
- package/dist/apps/mf-menu/src/components/feature/ApplyProduct/ApplyProductDialog.vue.d.ts +36 -0
- package/dist/apps/mf-menu/src/components/feature/ApplyProduct/index.d.ts +218 -0
- package/dist/apps/mf-menu/src/components/feature/Fields/OrderFrom.vue.d.ts +1 -1
- package/dist/apps/mf-menu/src/components/feature/GroupManager/OptionTable.vue.d.ts +52 -0
- package/dist/apps/mf-menu/src/components/feature/GroupManager/UpdateForm.vue.d.ts +36 -0
- package/dist/apps/mf-menu/src/components/feature/PriceTier/PriceTierButton.vue.d.ts +110 -0
- package/dist/apps/mf-menu/src/components/feature/PriceTier/PriceTierForm.vue.d.ts +110 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/item.d.ts +110 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/scheduler.d.ts +81 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/useItemFormManagement.d.ts +55 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/form/GroupManager/OptionTable.vue.d.ts +52 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/form/GroupManager/UpdateForm.vue.d.ts +36 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/form/GroupManager/index.d.ts +144 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/item/ItemForm.vue.d.ts +165 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/menuUtils.d.ts +55 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/store/menuV2.d.ts +375 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/store/tree.d.ts +18 -18
- package/dist/apps/mf-menu/src/components/import/PreviewAddonContent.vue.d.ts +110 -0
- package/dist/apps/mf-menu/src/composable/linkProducts.d.ts +81 -0
- package/dist/apps/mf-menu/src/helper/itemCategories.d.ts +55 -0
- package/dist/apps/mf-menu/src/helper/menu.d.ts +430 -0
- package/dist/apps/mf-menu/src/helper/menuImport.d.ts +375 -0
- package/dist/apps/mf-menu/src/manager/menu/item.d.ts +375 -0
- package/dist/apps/mf-menu/src/stores/manager/item.d.ts +165 -0
- package/dist/apps/mf-menu/src/stores/manager/scheduler.d.ts +81 -0
- package/dist/apps/mf-menu/src/stores/menu.d.ts +375 -0
- package/dist/apps/mf-menu/src/views/Catalog/Edit/AddProductPopup/Form.vue.d.ts +110 -0
- package/dist/apps/mf-menu/src/views/Publish/UpdateCatalogDialog.vue.d.ts +220 -0
- package/dist/apps/mf-menu/src/views/Scheduler/FilterForm.vue.d.ts +52 -0
- package/dist/apps/mf-menu/src/views/Scheduler/SchedulerDialog.vue.d.ts +52 -0
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/linked-status-Ds3VKRNn.js +13 -0
- package/dist/assets/override-menu-BVPA9mG0.js +13 -0
- package/dist/assets/validate-menu-Ctwk0tSN.js +13 -0
- package/dist/{catalog-C_6TM4e_.js → catalog-B1AtGIOR.js} +1 -1
- package/dist/{catalogSetting-pTMi5i6h.js → catalogSetting-D76y7yoz.js} +1 -1
- package/dist/{category-CHNICcWp.js → category-B3MkQ7Pp.js} +5 -5
- package/dist/{currency-Dx-pn9tw.js → currency-DYj4YAoX.js} +1 -1
- package/dist/{customAttributes-DvHKcDWb.js → customAttributes-CfwqBwao.js} +1 -1
- package/dist/{index-DqIorABw.js → index-8_TFzfuI.js} +1 -1
- package/dist/{index-CA3_R55p.js → index-CAQqh5h4.js} +13 -13
- package/dist/{index-X3RliLfv.js → index-DNhoEElA.js} +26 -26
- package/dist/{index-DGtoqrTo.js → index-DUUtEjnd.js} +1 -1
- package/dist/{item-JhHKgoMj.js → item-MTfRKilm.js} +378 -378
- package/dist/iteration-DXXAmTGt.js +27 -0
- package/dist/{jszip.min-BQReTtS0.js → jszip.min-y7wFpnaP.js} +245 -245
- package/dist/{menu-Bhfx50bt.js → menu-C_m3ZEIK.js} +1 -1
- package/dist/{menu-2ymqQnFE.js → menu-DQurCWMa.js} +27902 -27334
- package/dist/{menuV2-ZaA_QLdj.js → menuV2-0FFzegP7.js} +92 -92
- package/dist/mf-menu.css +1 -1
- package/dist/packages/shared/src/components/form/SelectFilter.vue.d.ts +1 -1
- package/dist/packages/shared/src/components/info/TextChip.vue.d.ts +1 -1
- package/dist/{priceTier-IZtw6WUa.js → priceTier-DMFtjpmw.js} +1 -1
- package/dist/{scheduler-CzuGjuw5.js → scheduler-D0IlDwT3.js} +20 -20
- package/dist/{subcategory-Dt6tFvIu.js → subcategory-D32FJH5D.js} +6 -6
- package/dist/{toExcel-CUrEHCjB.js → toExcel-CsQ_y0DF.js} +2 -2
- package/dist/{unit-Ibbp0wZT.js → unit-Bthb3r-g.js} +9 -9
- package/package.json +4 -4
- package/dist/apps/mf-menu/src/components/Announcements.vue.d.ts +0 -19
- package/dist/apps/mf-menu/src/stores/announcement/announcement.d.ts +0 -11
- package/dist/assets/linked-status-Dwqdwyog.js +0 -13
- package/dist/assets/override-menu-CGexvHxV.js +0 -13
- package/dist/assets/validate-menu-C2daBpKY.js +0 -13
- package/dist/dayjs.min-BZu87fXJ.js +0 -6
- package/dist/iteration-BoeoXAHD.js +0 -23
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as ie, computed as Y, resolveComponent as _, createElementBlock as d, openBlock as u, createVNode as t, createCommentVNode as F, unref as n, toDisplayString as
|
|
2
|
-
import { H as S,
|
|
1
|
+
import { defineComponent as ie, computed as Y, resolveComponent as _, createElementBlock as d, openBlock as u, createVNode as t, createCommentVNode as F, unref as n, toDisplayString as A, createElementVNode as h, withCtx as v, Fragment as N, renderList as M, createBlock as I, ref as H, Transition as se, createTextVNode as me } from "vue";
|
|
2
|
+
import { H as S, z as r, u as pe, I as ve, J as ue } from "./menu-DQurCWMa.js";
|
|
3
3
|
import { useI18n as de } from "@feedmepos/mf-common";
|
|
4
4
|
import { components as _e } from "@feedmepos/ui-library";
|
|
5
|
-
import { _ as ne, a as fe } from "./customAttributes-
|
|
5
|
+
import { _ as ne, a as fe } from "./customAttributes-CfwqBwao.js";
|
|
6
6
|
import { u as ye } from "./discardConfirm-BHni0LNu.js";
|
|
7
|
-
import { u as he } from "./menu-
|
|
8
|
-
import { L as ge } from "./LinkProductSideSheet-
|
|
7
|
+
import { u as he } from "./menu-C_m3ZEIK.js";
|
|
8
|
+
import { L as ge } from "./LinkProductSideSheet-b_gN9u5S.js";
|
|
9
9
|
const Ve = { class: "space-y-8" }, Fe = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "space-y-16"
|
|
@@ -61,9 +61,9 @@ const Ve = { class: "space-y-8" }, Fe = {
|
|
|
61
61
|
"onUpdate:modelValue": X
|
|
62
62
|
}, null, 8, ["model-value", "label", "sublabel"]),
|
|
63
63
|
f.modelValue ? (u(), d("div", Fe, [
|
|
64
|
-
(($ = f.modelValue) == null ? void 0 : $.length) === 0 ? (u(), d("div", ke,
|
|
64
|
+
(($ = f.modelValue) == null ? void 0 : $.length) === 0 ? (u(), d("div", ke, A(n(p)("menu.scheduler.dialog.sections.autolink.all_items")), 1)) : F("", !0),
|
|
65
65
|
((K = f.modelValue) == null ? void 0 : K.length) > 0 ? (u(), d("div", be, [
|
|
66
|
-
h("div", null,
|
|
66
|
+
h("div", null, A(n(p)("menu.scheduler.dialog.sections.autolink.filter_message")), 1),
|
|
67
67
|
t(te, {
|
|
68
68
|
content: n(p)("menu.scheduler.dialog.sections.autolink.tooltip"),
|
|
69
69
|
variant: "plain",
|
|
@@ -87,7 +87,7 @@ const Ve = { class: "space-y-8" }, Fe = {
|
|
|
87
87
|
items: Z,
|
|
88
88
|
"onUpdate:modelValue": (b) => z(k, b)
|
|
89
89
|
}, null, 8, ["model-value", "onUpdate:modelValue"]),
|
|
90
|
-
h("div", null,
|
|
90
|
+
h("div", null, A(n(p)("menu.scheduler.dialog.sections.filter.matches")), 1),
|
|
91
91
|
T.type === "category" ? (u(), I(B, {
|
|
92
92
|
key: 0,
|
|
93
93
|
"model-value": T.value,
|
|
@@ -100,7 +100,7 @@ const Ve = { class: "space-y-8" }, Fe = {
|
|
|
100
100
|
class: "flex items-center gap-4",
|
|
101
101
|
key: U
|
|
102
102
|
}, [
|
|
103
|
-
U > 0 ? (u(), d("div", Ue,
|
|
103
|
+
U > 0 ? (u(), d("div", Ue, A(n(p)("menu.scheduler.dialog.sections.filter.or")), 1)) : F("", !0),
|
|
104
104
|
h("div", xe, [
|
|
105
105
|
t(q, {
|
|
106
106
|
"model-value": b,
|
|
@@ -147,7 +147,7 @@ const Ve = { class: "space-y-8" }, Fe = {
|
|
|
147
147
|
}, Pe = { class: "flex flex-wrap gap-8" }, Te = {
|
|
148
148
|
key: 0,
|
|
149
149
|
class: "pl-32 flex flex-col items-start gap-16"
|
|
150
|
-
},
|
|
150
|
+
}, Le = { class: "w-full" }, Ae = {
|
|
151
151
|
key: 0,
|
|
152
152
|
class: "mt-8"
|
|
153
153
|
}, Ne = { class: "text-red-500 text-sm" }, Re = { class: "bg-fm-color-neutral-gray-100 px-16 py-8 border-b border-b-gray-200" }, Ye = { class: "px-16 py-8 flex-1" }, Me = { class: "px-16 py-8" }, Oe = { class: "flex gap-8 items-center justify-start" }, je = /* @__PURE__ */ ie({
|
|
@@ -225,7 +225,7 @@ const Ve = { class: "space-y-8" }, Fe = {
|
|
|
225
225
|
if (i.length <= 1) return null;
|
|
226
226
|
for (let l = 0; l < i.length; l++)
|
|
227
227
|
for (let y = l + 1; y < i.length; y++) {
|
|
228
|
-
const g = i[l],
|
|
228
|
+
const g = i[l], L = i[y], ae = w(g.start, g.end), j = w(L.start, L.end);
|
|
229
229
|
for (const x of ae)
|
|
230
230
|
for (const oe of j)
|
|
231
231
|
if (te(x, oe))
|
|
@@ -250,7 +250,7 @@ const Ve = { class: "space-y-8" }, Fe = {
|
|
|
250
250
|
}
|
|
251
251
|
const b = Y(() => J.categorizedItems.reduce((i, l) => {
|
|
252
252
|
const y = l.items.filter(
|
|
253
|
-
(g) => a.value.items.some(({ _id:
|
|
253
|
+
(g) => a.value.items.some(({ _id: L }) => g._id === L)
|
|
254
254
|
);
|
|
255
255
|
return y.length && i.push({ ...l, items: y }), i;
|
|
256
256
|
}, [])), U = Y(() => C.value === "custom" && a.value.timePeriod.length > 0 ? B(a.value.timePeriod) : null), Q = ye(
|
|
@@ -260,7 +260,7 @@ const Ve = { class: "space-y-8" }, Fe = {
|
|
|
260
260
|
}
|
|
261
261
|
);
|
|
262
262
|
return (i, l) => {
|
|
263
|
-
const y = _("FmTextField"), g = _("FmRadio"),
|
|
263
|
+
const y = _("FmTextField"), g = _("FmRadio"), L = _("FmRadioGroup"), ae = _("FmCheckbox"), j = _("FmTimePicker"), x = _("FmButton"), oe = _("FmSpacer"), re = _("FmForm"), ce = _("FmSideSheet");
|
|
264
264
|
return u(), I(ce, {
|
|
265
265
|
modelValue: D.value,
|
|
266
266
|
"onUpdate:modelValue": l[7] || (l[7] = (o) => D.value = o),
|
|
@@ -321,7 +321,7 @@ const Ve = { class: "space-y-8" }, Fe = {
|
|
|
321
321
|
}, {
|
|
322
322
|
default: v(() => [
|
|
323
323
|
h("div", null, [
|
|
324
|
-
t(
|
|
324
|
+
t(L, {
|
|
325
325
|
modelValue: a.value.repeat,
|
|
326
326
|
"onUpdate:modelValue": l[1] || (l[1] = (o) => a.value.repeat = o)
|
|
327
327
|
}, {
|
|
@@ -355,7 +355,7 @@ const Ve = { class: "space-y-8" }, Fe = {
|
|
|
355
355
|
})
|
|
356
356
|
]),
|
|
357
357
|
h("div", null, [
|
|
358
|
-
t(
|
|
358
|
+
t(L, {
|
|
359
359
|
label: n(e)("menu.scheduler.dialog.sections.period.title"),
|
|
360
360
|
modelValue: C.value,
|
|
361
361
|
"onUpdate:modelValue": l[3] || (l[3] = (o) => C.value = o)
|
|
@@ -375,7 +375,7 @@ const Ve = { class: "space-y-8" }, Fe = {
|
|
|
375
375
|
t(se, { name: "expand" }, {
|
|
376
376
|
default: v(() => [
|
|
377
377
|
C.value === "custom" ? (u(), d("div", Te, [
|
|
378
|
-
h("div",
|
|
378
|
+
h("div", Le, [
|
|
379
379
|
(u(!0), d(N, null, M(a.value.timePeriod, (o, E) => (u(), d("div", {
|
|
380
380
|
key: E,
|
|
381
381
|
class: "w-full flex gap-8 items-center"
|
|
@@ -397,8 +397,8 @@ const Ve = { class: "space-y-8" }, Fe = {
|
|
|
397
397
|
onClick: (R) => c(E)
|
|
398
398
|
}, null, 8, ["onClick"])
|
|
399
399
|
]))), 128)),
|
|
400
|
-
U.value ? (u(), d("div",
|
|
401
|
-
h("div", Ne,
|
|
400
|
+
U.value ? (u(), d("div", Ae, [
|
|
401
|
+
h("div", Ne, A(U.value), 1)
|
|
402
402
|
])) : F("", !0)
|
|
403
403
|
]),
|
|
404
404
|
t(x, {
|
|
@@ -457,12 +457,12 @@ const Ve = { class: "space-y-8" }, Fe = {
|
|
|
457
457
|
(u(!0), d(N, null, M(b.value, (o) => (u(), d("div", {
|
|
458
458
|
key: o.id
|
|
459
459
|
}, [
|
|
460
|
-
h("div", Re,
|
|
460
|
+
h("div", Re, A(o.name), 1),
|
|
461
461
|
(u(!0), d(N, null, M(o.items, (E) => (u(), d("div", {
|
|
462
462
|
key: E._id,
|
|
463
463
|
class: "flex border-b border-b-gray-100 items-center"
|
|
464
464
|
}, [
|
|
465
|
-
h("div", Ye,
|
|
465
|
+
h("div", Ye, A(E.name), 1),
|
|
466
466
|
h("div", Me, [
|
|
467
467
|
t(x, {
|
|
468
468
|
icon: "delete",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as M, watch as _, ref as E, resolveComponent as f, createBlock as x, openBlock as
|
|
2
|
-
import { J as l,
|
|
1
|
+
import { defineComponent as M, watch as _, ref as E, resolveComponent as f, createBlock as x, openBlock as C, unref as c, withCtx as V, createVNode as A } from "vue";
|
|
2
|
+
import { J as l, z as d, u as F } from "./menu-DQurCWMa.js";
|
|
3
3
|
import { useI18n as b } from "@feedmepos/mf-common";
|
|
4
4
|
import { useDialogChild as P } from "@feedmepos/ui-library";
|
|
5
|
-
import { u as v } from "./menuV2-
|
|
5
|
+
import { u as v } from "./menuV2-0FFzegP7.js";
|
|
6
6
|
const y = /* @__PURE__ */ M({
|
|
7
7
|
__name: "AddSubcategoryDialogContentComponent",
|
|
8
8
|
props: {
|
|
@@ -27,11 +27,11 @@ const y = /* @__PURE__ */ M({
|
|
|
27
27
|
}
|
|
28
28
|
), (i, s) => {
|
|
29
29
|
const g = f("fm-text-field"), a = f("FmForm");
|
|
30
|
-
return
|
|
30
|
+
return C(), x(a, {
|
|
31
31
|
onValidationSuccess: s[1] || (s[1] = (e) => c(p)("primary"))
|
|
32
32
|
}, {
|
|
33
|
-
default:
|
|
34
|
-
|
|
33
|
+
default: V(() => [
|
|
34
|
+
A(g, {
|
|
35
35
|
modelValue: t.value,
|
|
36
36
|
"onUpdate:modelValue": s[0] || (s[0] = (e) => t.value = e),
|
|
37
37
|
rules: [(e) => !!e || c(n)("menu.subcategory.dialog.add.name.required")],
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { u as C } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import "./menu-
|
|
1
|
+
import { u as C } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-h09saJxj.js";
|
|
2
|
+
import "./menu-DQurCWMa.js";
|
|
3
3
|
var Z = {
|
|
4
4
|
defaultAmount: 0,
|
|
5
5
|
defaultCurrency: "USD",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineStore as J } from "pinia";
|
|
2
2
|
import { defineComponent as O, computed as U, ref as h, watch as T, resolveComponent as V, createBlock as W, openBlock as F, withCtx as w, createVNode as m, createElementVNode as f, normalizeClass as Q, createElementBlock as A, toDisplayString as M, unref as l, Fragment as q, renderSlot as X, renderList as Z, getCurrentInstance as ee } from "vue";
|
|
3
|
-
import { a5 as
|
|
3
|
+
import { a5 as B, a6 as te, a3 as P, H as k, O as $, D as I, B as E, a4 as ne, J as C, z as D, I as oe, u as ae } from "./menu-DQurCWMa.js";
|
|
4
4
|
import { useI18n as L } from "@feedmepos/mf-common";
|
|
5
5
|
import { useSnackbar as j, components as le, useDialog as ue, FmButtonVariant as ie } from "@feedmepos/ui-library";
|
|
6
6
|
import { u as se } from "./discardConfirm-BHni0LNu.js";
|
|
7
7
|
import { c as re } from "./check-C9mY6LiX.js";
|
|
8
8
|
import "./vuedraggable-CK8z7qA8.js";
|
|
9
9
|
import "./app-5fxKLAzS.js";
|
|
10
|
-
import "./menuV2-
|
|
10
|
+
import "./menuV2-0FFzegP7.js";
|
|
11
11
|
/* empty css */
|
|
12
12
|
import { c as me } from "./createComponentProgrammatically-Bt2rn1IQ.js";
|
|
13
13
|
const de = ["value", "disabled"], ce = /* @__PURE__ */ O({
|
|
@@ -22,7 +22,7 @@ const de = ["value", "disabled"], ce = /* @__PURE__ */ O({
|
|
|
22
22
|
},
|
|
23
23
|
emits: ["update:modelValue"],
|
|
24
24
|
setup(y, { emit: g }) {
|
|
25
|
-
const t = y, n = g, c = U(() =>
|
|
25
|
+
const t = y, n = g, c = U(() => B(t.step ?? 1).precision), d = h(t.modelValue.toString());
|
|
26
26
|
T([() => d.value], ([e]) => {
|
|
27
27
|
e === "-" || e === "." ? n("update:modelValue", 0) : n("update:modelValue", +e);
|
|
28
28
|
});
|
|
@@ -33,7 +33,7 @@ const de = ["value", "disabled"], ce = /* @__PURE__ */ O({
|
|
|
33
33
|
return;
|
|
34
34
|
const i = e.currentTarget, a = +`${i.value}${e.key}`;
|
|
35
35
|
if (isFinite(a)) {
|
|
36
|
-
|
|
36
|
+
B(a).precision > c.value && e.preventDefault();
|
|
37
37
|
return;
|
|
38
38
|
}
|
|
39
39
|
i.value.length === 0 && (e.key === "-" || e.key === ".") || e.preventDefault();
|
|
@@ -98,7 +98,7 @@ const de = ["value", "disabled"], ce = /* @__PURE__ */ O({
|
|
|
98
98
|
unit: n.unitName
|
|
99
99
|
}));
|
|
100
100
|
function b(a) {
|
|
101
|
-
e("conversion",
|
|
101
|
+
e("conversion", P(a, n.precision));
|
|
102
102
|
}
|
|
103
103
|
function e(a, o) {
|
|
104
104
|
const p = k(n.modelValue);
|
|
@@ -173,7 +173,7 @@ const de = ["value", "disabled"], ce = /* @__PURE__ */ O({
|
|
|
173
173
|
id: (/* @__PURE__ */ new Date()).toISOString(),
|
|
174
174
|
name: "",
|
|
175
175
|
abbrev: "",
|
|
176
|
-
conversion:
|
|
176
|
+
conversion: P(0, e.value.precision)
|
|
177
177
|
});
|
|
178
178
|
}
|
|
179
179
|
function s(u) {
|
|
@@ -216,7 +216,7 @@ const de = ["value", "disabled"], ce = /* @__PURE__ */ O({
|
|
|
216
216
|
show: a,
|
|
217
217
|
trigger: o
|
|
218
218
|
}), (u, v) => {
|
|
219
|
-
const N = V("FmTextField"),
|
|
219
|
+
const N = V("FmTextField"), z = V("FmStepperField"), R = V("FmButton"), S = V("fm-button"), G = V("fm-side-sheet");
|
|
220
220
|
return F(), A(q, null, [
|
|
221
221
|
X(u.$slots, "default", { trigger: o }),
|
|
222
222
|
m(G, {
|
|
@@ -278,7 +278,7 @@ const de = ["value", "disabled"], ce = /* @__PURE__ */ O({
|
|
|
278
278
|
}, null, 8, ["label", "modelValue", "rules"])
|
|
279
279
|
]),
|
|
280
280
|
f("div", null, [
|
|
281
|
-
m(
|
|
281
|
+
m(z, {
|
|
282
282
|
modelValue: e.value.precision,
|
|
283
283
|
"onUpdate:modelValue": [
|
|
284
284
|
v[2] || (v[2] = (r) => e.value.precision = r),
|
|
@@ -291,7 +291,7 @@ const de = ["value", "disabled"], ce = /* @__PURE__ */ O({
|
|
|
291
291
|
max: 5
|
|
292
292
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
293
293
|
]),
|
|
294
|
-
m(
|
|
294
|
+
m(R, {
|
|
295
295
|
label: l(t)("menu.unit.measurement.add"),
|
|
296
296
|
variant: "secondary",
|
|
297
297
|
onClick: _
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@feedmepos/mf-menu",
|
|
3
|
-
"version": "0.31.
|
|
3
|
+
"version": "0.31.72-remy",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -16,12 +16,12 @@
|
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@feedmepos/auth": "^1.1.14",
|
|
19
|
-
"@feedmepos/core": "2.14.
|
|
19
|
+
"@feedmepos/core": "2.14.58",
|
|
20
20
|
"@feedmepos/core-dart": "^0.2.6",
|
|
21
21
|
"@feedmepos/core-legacy": "file:../../core-legacy-1.4.tar.gz",
|
|
22
22
|
"@feedmepos/custom-attributes": "0.0.1-rc.4",
|
|
23
23
|
"@feedmepos/inventory-core": "^0.2.6",
|
|
24
|
-
"@feedmepos/menu": "1.7.
|
|
24
|
+
"@feedmepos/menu": "1.7.31",
|
|
25
25
|
"@feedmepos/mf-inventory-portal": "https://registry.npmjs.org/@feedmepos/mf-inventory-portal/-/mf-inventory-portal-0.0.19-dev.6.tgz",
|
|
26
26
|
"@feedmepos/remy-vue-client": "0.1.3-beta.8",
|
|
27
27
|
"@feedmepos/ui-library": "1.8.7",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"vue3-lottie": "^3.3.0",
|
|
54
54
|
"vuedraggable": "^4.1.0",
|
|
55
55
|
"xlsx": "^0.18.5",
|
|
56
|
-
"@feedmepos/mf-common": "^1.28.
|
|
56
|
+
"@feedmepos/mf-common": "^1.28.6"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@rollup/plugin-commonjs": "^28.0.2",
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { type PropType } from "vue";
|
|
2
|
-
import "vue3-carousel/carousel.css";
|
|
3
|
-
import { type Announcement } from "../stores/announcement/announcement";
|
|
4
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
|
-
announcements: {
|
|
6
|
-
type: PropType<Announcement[]>;
|
|
7
|
-
required: true;
|
|
8
|
-
};
|
|
9
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
-
"dialog:primary-action": (...args: any[]) => void;
|
|
11
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12
|
-
announcements: {
|
|
13
|
-
type: PropType<Announcement[]>;
|
|
14
|
-
required: true;
|
|
15
|
-
};
|
|
16
|
-
}>> & Readonly<{
|
|
17
|
-
"onDialog:primary-action"?: ((...args: any[]) => any) | undefined;
|
|
18
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
19
|
-
export default _default;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { F_COUNTRY } from "@feedmepos/core/entity";
|
|
2
|
-
export type Announcement = {
|
|
3
|
-
key: string;
|
|
4
|
-
title: string;
|
|
5
|
-
message: string;
|
|
6
|
-
startDate: string;
|
|
7
|
-
forceUntilDate?: string | null;
|
|
8
|
-
image?: string | null;
|
|
9
|
-
countries?: F_COUNTRY[] | null;
|
|
10
|
-
};
|
|
11
|
-
export declare const announcements: Announcement[];
|