@feedmepos/mf-menu 0.22.0-beta.3 → 0.22.0-beta.4
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-BUWqKxCU.js → App-DyJHQX6u.js} +3 -3
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-Rt3kW6X_.js → ApplyProduct.vue_vue_type_script_setup_true_lang-i0BuGkkg.js} +2 -2
- package/dist/{Catalog-DXTpXKSk.js → Catalog-AZGkC5rv.js} +5 -5
- package/dist/{Category-kiy_wK8-.js → Category-CCwB8CGI.js} +7 -7
- package/dist/{CookingGuide-SlzOlGuo.js → CookingGuide-yS5dSPYp.js} +4 -4
- package/dist/{FormSection.vue_vue_type_script_setup_true_lang-zuburLB-.js → FormSection.vue_vue_type_script_setup_true_lang-B7S3PpD-.js} +2 -2
- package/dist/{Group-C1-1Kumx.js → Group-D5pBucs9.js} +1 -1
- package/dist/{Group-DM6mxu1V.js → Group-jFSAnURf.js} +3 -3
- package/dist/{Group.vue_vue_type_script_setup_true_lang-BkVRKnyL.js → Group.vue_vue_type_script_setup_true_lang-C32zr1rW.js} +7 -7
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-DF-kiiHl.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CGhDy_Wa.js} +29 -29
- package/dist/{Ingredient-BNuFZFdt.js → Ingredient-Br5CtabD.js} +4 -4
- package/dist/{PrintRoute-BAbC7Dyd.js → PrintRoute-BKYe5R0y.js} +4 -4
- package/dist/{Product-C3wf5_6J.js → Product-CdwXlCnP.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-B8jLW0XH.js → Product.vue_vue_type_script_setup_true_lang-LM480Vfc.js} +284 -284
- package/dist/{Products-DJUfFN6M.js → Products-BhZKTu6a.js} +8 -8
- package/dist/{Publish-7RfdU1yr.js → Publish-8LLLK-KP.js} +3 -3
- package/dist/{Recipe-DH3wFtg4.js → Recipe-7_r-yM_R.js} +5 -5
- package/dist/{Scheduler-C1yHq35u.js → Scheduler-CMZjwjc3.js} +3 -3
- package/dist/{SchedulerSelector.vue_vue_type_script_setup_true_lang-Cf_jwwAP.js → SchedulerSelector.vue_vue_type_script_setup_true_lang-B1PV8f5P.js} +1 -1
- package/dist/{ServingSequence-YvnI7xLM.js → ServingSequence-DxLQDVtn.js} +3 -3
- package/dist/{Setting-D7Bpx8WV.js → Setting-BU1dm-tr.js} +1 -1
- package/dist/{Setting.vue_vue_type_script_setup_true_lang-B36I5x89.js → Setting.vue_vue_type_script_setup_true_lang-DQu6ZQbx.js} +4 -4
- package/dist/{Takeaway-BVVto20y.js → Takeaway-DWzThd8o.js} +1 -1
- package/dist/{Takeaway-B_Rw1bpN.js → Takeaway-DmLbhKwX.js} +4 -4
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-gHM0XJyB.js → Takeaway.vue_vue_type_script_setup_true_lang-D4Owrf-b.js} +5 -5
- package/dist/{TaxSetting-CUaTaNug.js → TaxSetting-CyqnNVtD.js} +4 -4
- package/dist/{Unit-2d0wkv3t.js → Unit-BmPIoFdF.js} +2 -2
- package/dist/{Variant-BDVLaTpe.js → Variant-CqwFVlVI.js} +3 -3
- package/dist/{_id_-ClhST7CF.js → _id_-CxhReNDM.js} +7 -7
- package/dist/{app-DRjwJSee.js → app-CqFqZ-L6.js} +1 -1
- package/dist/{app-C6CRTe3d.js → app-U1y3ouHL.js} +23 -23
- package/dist/app.js +1 -1
- package/dist/assets/{linked-status-obK-Venc.js → linked-status-CswiVyXr.js} +8 -8
- package/dist/assets/{validate-menu-DLhTcp05.js → validate-menu-C2Zo8OTC.js} +8 -8
- package/dist/{catalog-KFJhWHum.js → catalog-Cagz3SmC.js} +1 -1
- package/dist/{catalog-upAtFmhR.js → catalog-iipqUT9Q.js} +7513 -7513
- package/dist/{category-DBO0YH5B.js → category-CJic_2dO.js} +1 -1
- package/dist/{currency-BqDNi6II.js → currency-BnYmjWel.js} +1 -1
- package/dist/{index-yMdY1_lE.js → index-DeNFK_BD.js} +4 -4
- package/dist/{index-DlxNLq_d.js → index-l6mEBn5y.js} +462 -462
- package/dist/{item-DlMlaMSr.js → item-CHSGJAVX.js} +12 -12
- package/dist/{lodash-D3xLUJfC.js → lodash-DM0ANnxH.js} +1 -1
- package/dist/{menu-0dMUAaDW.js → menu-Dl5f7Fsw.js} +3306 -3298
- package/dist/{menu-4zNB0yAf.js → menu-P2C-VHuF.js} +1 -1
- package/dist/{remy-BwAXBPa4.js → remy-D3phGddy.js} +2 -2
- package/dist/{scheduler-DYKPBkMi.js → scheduler-B0hDIV9H.js} +4 -4
- package/dist/{takeaway-hNNkDhTf.js → takeaway-Yh7w2hFn.js} +5 -5
- package/dist/{toExcel-CFHyLlVr.js → toExcel-D79GdZcP.js} +2 -2
- package/dist/{unit-CbHIGE9o.js → unit-Drn0yfdv.js} +2 -2
- package/package.json +2 -2
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent, ref, watchEffect, computed, watch, openBlock, createElementBlock, normalizeStyle, onBeforeUnmount, createBlock, unref, onMounted, resolveComponent, withDirectives, createElementVNode, createVNode, vShow, Fragment, createCommentVNode, normalizeClass } from "vue";
|
|
2
2
|
import { FeedMeAuth, useCoreStore } from "@feedmepos/mf-common";
|
|
3
|
-
import { c as commonjsGlobal, g as getDefaultExportFromCjs, r as registerVersion, L as Logger, a as getExperimentalSetting, i as isMobileCordova, b as isReactNative, _ as _isFirebaseServerApp, d as _registerComponent, C as Component, e as _getProvider, f as getDefaultEmulatorHost, h as getApp, j as isBrowserExtension, S as SDK_VERSION, k as getModularInstance, E as ErrorFactory, l as createSubscribe, m as deepEqual, n as LogLevel, o as getUA, F as FirebaseError, p as base64Decode, q as isIE, s as querystring, t as isEmpty, u as getApps, v as initializeApp, w as getStorage, x as useMenuStore, y as coreDart, z as menu } from "./menu-
|
|
4
|
-
import { R as Remy, i as init } from "./remy-
|
|
3
|
+
import { c as commonjsGlobal, g as getDefaultExportFromCjs, r as registerVersion, L as Logger, a as getExperimentalSetting, i as isMobileCordova, b as isReactNative, _ as _isFirebaseServerApp, d as _registerComponent, C as Component, e as _getProvider, f as getDefaultEmulatorHost, h as getApp, j as isBrowserExtension, S as SDK_VERSION, k as getModularInstance, E as ErrorFactory, l as createSubscribe, m as deepEqual, n as LogLevel, o as getUA, F as FirebaseError, p as base64Decode, q as isIE, s as querystring, t as isEmpty, u as getApps, v as initializeApp, w as getStorage, x as useMenuStore, y as coreDart, z as menu } from "./menu-Dl5f7Fsw.js";
|
|
4
|
+
import { R as Remy, i as init } from "./remy-D3phGddy.js";
|
|
5
5
|
import { FmButtonColorThemeVariant, FmButtonVariant } from "@feedmepos/ui-library";
|
|
6
6
|
import { _ as _export_sfc$1 } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
|
-
import { u as useAppStore } from "./app-
|
|
7
|
+
import { u as useAppStore } from "./app-CqFqZ-L6.js";
|
|
8
8
|
const v = "4.8.0", meta = {
|
|
9
9
|
g: "LottieFiles AE ",
|
|
10
10
|
a: "",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as K, computed as i, h as u, ref as U, resolveComponent as b, openBlock as d, createElementBlock as p, createVNode as v, withCtx as g, createElementVNode as V, createBlock as j, unref as n, createCommentVNode as C, toDisplayString as A, isRef as D, Fragment as G, renderList as H } from "vue";
|
|
2
|
-
import { x as M, ab as O } from "./menu-
|
|
2
|
+
import { x as M, ab as O } from "./menu-Dl5f7Fsw.js";
|
|
3
3
|
import { u as $ } from "./createComponentProgrammatically-Npr1U60e.js";
|
|
4
4
|
import { components as I, FmButtonVariant as B, FmButtonColorThemeVariant as h } from "@feedmepos/ui-library";
|
|
5
|
-
import { _ as q, L as J } from "./FormSection.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as q, L as J } from "./FormSection.vue_vue_type_script_setup_true_lang-B7S3PpD-.js";
|
|
6
6
|
import { useI18n as Q } from "@feedmepos/mf-common";
|
|
7
7
|
const W = { class: "space-y-16" }, X = { class: "flex items-center space-x-24" }, Y = {
|
|
8
8
|
key: 0,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as ue, ref as I, computed as $, resolveComponent as g, openBlock as m, createElementBlock as b, Fragment as V, renderSlot as ye, createVNode as u, unref as e, withCtx as p, createElementVNode as f, renderList as w, createBlock as F, createCommentVNode as z, createTextVNode as be, toDisplayString as k, h as q, withModifiers as Q, normalizeClass as ee } from "vue";
|
|
2
2
|
import { useCoreStore as ce, useI18n as me } from "@feedmepos/mf-common";
|
|
3
|
-
import { G as O, x as de, K as pe, A as fe, z as oe, B as xe, H as ae, J as ge, T as ne } from "./menu-
|
|
4
|
-
import { C as ke } from "./catalog-
|
|
3
|
+
import { G as O, x as de, K as pe, A as fe, z as oe, B as xe, H as ae, J as ge, T as ne } from "./menu-Dl5f7Fsw.js";
|
|
4
|
+
import { C as ke } from "./catalog-Cagz3SmC.js";
|
|
5
5
|
import { useRouter as Ce } from "vue-router";
|
|
6
|
-
import { _ as he, R as se } from "./app-
|
|
6
|
+
import { _ as he, R as se } from "./app-U1y3ouHL.js";
|
|
7
7
|
import { _ as Oe } from "./PageLayout.vue_vue_type_script_setup_true_lang-BJCuL4EK.js";
|
|
8
8
|
import { useSnackbar as _e, components as le, FmButtonColorThemeVariant as W, FmButtonVariant as G, useDialog as Fe, useBreakpoints as Me } from "@feedmepos/ui-library";
|
|
9
9
|
import { c as De } from "./check-C9mY6LiX.js";
|
|
10
|
-
import { C as R, a as L, _ as re } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-
|
|
11
|
-
import { _ as Ve } from "./FormSection.vue_vue_type_script_setup_true_lang-
|
|
10
|
+
import { C as R, a as L, _ as re } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CGhDy_Wa.js";
|
|
11
|
+
import { _ as Ve } from "./FormSection.vue_vue_type_script_setup_true_lang-B7S3PpD-.js";
|
|
12
12
|
import { _ as te } from "./FormItem.vue_vue_type_script_setup_true_lang-DKsxEK-8.js";
|
|
13
13
|
import { _ as Se } from "./index.vue_vue_type_script_setup_true_lang-CGPDazqs.js";
|
|
14
14
|
const Ae = { class: "space-y-32" }, Te = {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { defineComponent as P, ref as w, computed as B, watch as re, resolveComponent as y, openBlock as h, createElementBlock as T, Fragment as Z, renderSlot as ie, createVNode as d, unref as e, withCtx as v, createElementVNode as a, toDisplayString as L, h as N, withModifiers as R, getCurrentInstance as ce, renderList as ue, createBlock as O, createCommentVNode as de } from "vue";
|
|
2
|
-
import { u as j, a as me } from "./menu-
|
|
2
|
+
import { u as j, a as me } from "./menu-P2C-VHuF.js";
|
|
3
3
|
import { _ as pe } from "./PageLayout.vue_vue_type_script_setup_true_lang-BJCuL4EK.js";
|
|
4
|
-
import { A as Y, x as fe, G as I, J as ee, K as G } from "./menu-
|
|
4
|
+
import { A as Y, x as fe, G as I, J as ee, K as G } from "./menu-Dl5f7Fsw.js";
|
|
5
5
|
import { useSnackbar as q, components as K, useDialog as te, FmButtonVariant as Q, useBreakpoints as ge, FmButtonColorThemeVariant as _e } from "@feedmepos/ui-library";
|
|
6
|
-
import { u as oe } from "./category-
|
|
6
|
+
import { u as oe } from "./category-CJic_2dO.js";
|
|
7
7
|
import { c as ye } from "./createForm-TSiJzrqa.js";
|
|
8
8
|
import { c as ve } from "./check-C9mY6LiX.js";
|
|
9
9
|
import { c as W } from "./object-BN9wCbKv.js";
|
|
10
|
-
import { u as he } from "./item-
|
|
11
|
-
import { _ as X } from "./FormSection.vue_vue_type_script_setup_true_lang-
|
|
12
|
-
import { u as be } from "./lodash-
|
|
10
|
+
import { u as he } from "./item-CHSGJAVX.js";
|
|
11
|
+
import { _ as X } from "./FormSection.vue_vue_type_script_setup_true_lang-B7S3PpD-.js";
|
|
12
|
+
import { u as be } from "./lodash-DM0ANnxH.js";
|
|
13
13
|
import { useI18n as J } from "@feedmepos/mf-common";
|
|
14
|
-
import { _ as xe } from "./app-
|
|
14
|
+
import { _ as xe } from "./app-U1y3ouHL.js";
|
|
15
15
|
import { _ as Ce } from "./index.vue_vue_type_script_setup_true_lang-CGPDazqs.js";
|
|
16
16
|
import { _ as ke } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-CdVvtXw-.js";
|
|
17
17
|
function we(p, f = "This field can't be empty.") {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as ie, ref as w, computed as F, resolveComponent as x, openBlock as _, createBlock as P, unref as t, withCtx as m, createElementVNode as a, createVNode as l, toDisplayString as S, createElementBlock as I, Fragment as M, renderList as q, createTextVNode as fe, withModifiers as ue, createCommentVNode as ce, h as A } from "vue";
|
|
2
2
|
import { _ as be } from "./index.vue_vue_type_script_setup_true_lang-CGPDazqs.js";
|
|
3
|
-
import { H as Z, G as ee, J as de, x as ye, K as ke, A as he } from "./menu-
|
|
3
|
+
import { H as Z, G as ee, J as de, x as ye, K as ke, A as he } from "./menu-Dl5f7Fsw.js";
|
|
4
4
|
import { components as re, useSnackbar as xe, useDialog as Ce } from "@feedmepos/ui-library";
|
|
5
5
|
import { V as we } from "./vuedraggable-WU01qJgi.js";
|
|
6
6
|
import { useI18n as le } from "@feedmepos/mf-common";
|
|
7
|
-
import { u as me, l as pe } from "./lodash-
|
|
8
|
-
import { _ as X, L as Ve } from "./FormSection.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { u as me, l as pe } from "./lodash-DM0ANnxH.js";
|
|
8
|
+
import { _ as X, L as Ve } from "./FormSection.vue_vue_type_script_setup_true_lang-B7S3PpD-.js";
|
|
9
9
|
import { _ as Fe } from "./PageLayout.vue_vue_type_script_setup_true_lang-BJCuL4EK.js";
|
|
10
10
|
import { _ as Se } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-CdVvtXw-.js";
|
|
11
|
-
import { _ as Ie } from "./app-
|
|
11
|
+
import { _ as Ie } from "./app-U1y3ouHL.js";
|
|
12
12
|
const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ke = { class: "space-y-32" }, De = { class: "flex bg-fm-color-neutral-gray-100 border-b border-b-fm-color-neutral-gray-200" }, Le = { class: "px-16 py-8 w-[40%]" }, Ne = { class: "px-16 py-8 grow" }, Ge = { class: "flex items-center border-b border-b-fm-color-neutral-gray-100" }, Ue = { class: "px-16 py-8 w-[40%]" }, Be = { class: "px-16 py-8 grow" }, Ee = { class: "space-y-16" }, ze = { class: "flex flex-wrap gap-8 overflow-hidden mb-8" }, Me = { class: "flex gap-8 items-center justify-start" }, Te = /* @__PURE__ */ ie({
|
|
13
13
|
__name: "CookingGuideStepDialog",
|
|
14
14
|
emits: ["onComplete"],
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as k, ref as B, computed as E, watch as O, resolveComponent as C, openBlock as n, createElementBlock as c, Fragment as T, renderSlot as d, createVNode as u, unref as l, withCtx as m, createBlock as j, createCommentVNode as b, createElementVNode as p, toDisplayString as y, normalizeClass as S } from "vue";
|
|
2
2
|
import { components as L, FmButtonVariant as N } from "@feedmepos/ui-library";
|
|
3
3
|
import { c as A } from "./check-C9mY6LiX.js";
|
|
4
|
-
import { H as g } from "./menu-
|
|
4
|
+
import { H as g } from "./menu-Dl5f7Fsw.js";
|
|
5
5
|
import { useI18n as P, ItemSelector as U } from "@feedmepos/mf-common";
|
|
6
|
-
import { u as q, l as H } from "./lodash-
|
|
6
|
+
import { u as q, l as H } from "./lodash-DM0ANnxH.js";
|
|
7
7
|
/* empty css */
|
|
8
8
|
import { _ as M } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
9
|
const x = { class: "fm-typo-en-title-md-600 mr-auto" }, G = { class: "flex gap-8 items-center justify-start" }, J = /* @__PURE__ */ k({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as m, ref as p, openBlock as i, createBlock as d, unref as n, withCtx as a, createVNode as l, createElementVNode as e, toDisplayString as c, createCommentVNode as u } from "vue";
|
|
2
2
|
import { _ } from "./PageLayout.vue_vue_type_script_setup_true_lang-BJCuL4EK.js";
|
|
3
|
-
import { _ as f } from "./Group.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { a as g } from "./menu-
|
|
3
|
+
import { _ as f } from "./Group.vue_vue_type_script_setup_true_lang-C32zr1rW.js";
|
|
4
|
+
import { a as g } from "./menu-P2C-VHuF.js";
|
|
5
5
|
import { _ as y } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-CdVvtXw-.js";
|
|
6
|
-
import { A as b } from "./item-
|
|
6
|
+
import { A as b } from "./item-CHSGJAVX.js";
|
|
7
7
|
import { useI18n as h } from "@feedmepos/mf-common";
|
|
8
8
|
const v = { class: "flex-1 flex justify-between gap-8 pl-8" }, x = { class: "flex items-center" }, k = { class: "bg-fm-color-neutral-gray-100 rounded-md px-8 py-4" }, C = { class: "fm-typo-en-body-md-600 font-semibold" }, j = /* @__PURE__ */ m({
|
|
9
9
|
__name: "Group",
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { defineComponent as W, ref as S, resolveComponent as C, openBlock as d, createElementBlock as G, Fragment as T, renderSlot as ke, createVNode as m, unref as o, withCtx as h, createElementVNode as p, toDisplayString as V, computed as g, createBlock as N, renderList as ne, normalizeClass as j, watch as Oe, mergeProps as we, createCommentVNode as E, createSlots as De, withModifiers as Ce, isRef as oe, h as Me, nextTick as xe } from "vue";
|
|
2
2
|
import { _ as Ae } from "./index.vue_vue_type_script_setup_true_lang-CGPDazqs.js";
|
|
3
|
-
import { _ as le } from "./SchedulerSelector.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { x as ue, K as Ge, A as Fe, B as Ve, G as v, z as Ne, J as Pe } from "./menu-
|
|
5
|
-
import { M as ae, S as Re, _ as Ue, A as Ee, e as Se, a as Te } from "./item-
|
|
3
|
+
import { _ as le } from "./SchedulerSelector.vue_vue_type_script_setup_true_lang-B1PV8f5P.js";
|
|
4
|
+
import { x as ue, K as Ge, A as Fe, B as Ve, G as v, z as Ne, J as Pe } from "./menu-Dl5f7Fsw.js";
|
|
5
|
+
import { M as ae, S as Re, _ as Ue, A as Ee, e as Se, a as Te } from "./item-CHSGJAVX.js";
|
|
6
6
|
import { components as Ie, useBreakpoints as re, useSnackbar as $e, useDialog as Ye, FmButtonVariant as Le } from "@feedmepos/ui-library";
|
|
7
7
|
import { u as ze } from "./createComponentProgrammatically-Npr1U60e.js";
|
|
8
|
-
import { C as Ke } from "./catalog-
|
|
9
|
-
import { l as z, u as je } from "./lodash-
|
|
8
|
+
import { C as Ke } from "./catalog-Cagz3SmC.js";
|
|
9
|
+
import { l as z, u as je } from "./lodash-DM0ANnxH.js";
|
|
10
10
|
import { c as Be } from "./check-C9mY6LiX.js";
|
|
11
|
-
import { _ as qe } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-
|
|
11
|
+
import { _ as qe } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-i0BuGkkg.js";
|
|
12
12
|
import { useI18n as se } from "@feedmepos/mf-common";
|
|
13
13
|
import { V as He } from "./vuedraggable-WU01qJgi.js";
|
|
14
14
|
import { _ as Je, a as Qe } from "./BottomSheetMenuItem.vue_vue_type_script_setup_true_lang-DPis3HVx.js";
|
|
15
|
-
import { _ as We } from "./app-
|
|
15
|
+
import { _ as We } from "./app-U1y3ouHL.js";
|
|
16
16
|
import { c as Xe } from "./object-BN9wCbKv.js";
|
|
17
17
|
const Ze = { class: "fm-typo-en-title-md-600" }, et = { class: "flex gap-8 items-center justify-start" }, tt = /* @__PURE__ */ W({
|
|
18
18
|
__name: "ApplyProductDialog",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { G as k, H as c, x as
|
|
1
|
+
import { G as k, H as c, x as $, a0 as q } from "./menu-Dl5f7Fsw.js";
|
|
2
2
|
import { defineComponent as H, computed as V, ref as b, watch as j, onMounted as J, resolveComponent as s, openBlock as _, createElementBlock as y, Fragment as C, renderSlot as K, createVNode as i, unref as o, withCtx as d, createTextVNode as Q, toDisplayString as S, createElementVNode as O, renderList as W, createBlock as I, createCommentVNode as R } from "vue";
|
|
3
3
|
import { c as h } from "./check-C9mY6LiX.js";
|
|
4
4
|
import { c as X } from "./string-DpfFixWH.js";
|
|
5
5
|
import { useDialog as Y, components as Z, FmButtonColorThemeVariant as L, FmButtonVariant as ee } from "@feedmepos/ui-library";
|
|
6
|
-
import { L as
|
|
7
|
-
import { useI18n as
|
|
6
|
+
import { L as ae } from "./FormSection.vue_vue_type_script_setup_true_lang-B7S3PpD-.js";
|
|
7
|
+
import { useI18n as te } from "@feedmepos/mf-common";
|
|
8
8
|
var le = /* @__PURE__ */ ((p) => (p.AUTO = "auto", p.MANUAL = "manual", p))(le || {});
|
|
9
9
|
class T {
|
|
10
10
|
static fromCatalog(e, n) {
|
|
@@ -75,11 +75,11 @@ const oe = { class: "space-y-16" }, ne = { class: "ml-32 mt-16 space-y-8" }, re
|
|
|
75
75
|
},
|
|
76
76
|
emits: ["update:model-value"],
|
|
77
77
|
setup(p, { emit: e }) {
|
|
78
|
-
const n = p, g =
|
|
78
|
+
const n = p, g = $();
|
|
79
79
|
Y();
|
|
80
|
-
const { t: r } =
|
|
81
|
-
h.isBoolean(
|
|
82
|
-
},
|
|
80
|
+
const { t: r } = te(), M = e, w = V(() => n.action === "add" ? r("menu.markup.dialog.title.add") : r("menu.markup.dialog.title.update")), m = b(!1), x = (t) => {
|
|
81
|
+
h.isBoolean(t) ? m.value = t : m.value = !m.value;
|
|
82
|
+
}, a = b(
|
|
83
83
|
n.modelValue ? c(n.modelValue) : {
|
|
84
84
|
percentage: 0,
|
|
85
85
|
includeItems: null
|
|
@@ -87,8 +87,8 @@ const oe = { class: "space-y-16" }, ne = { class: "ml-32 mt-16 space-y-8" }, re
|
|
|
87
87
|
);
|
|
88
88
|
j(
|
|
89
89
|
() => m.value,
|
|
90
|
-
(
|
|
91
|
-
|
|
90
|
+
(t) => {
|
|
91
|
+
t && (a.value = n.modelValue ? c(n.modelValue) : {
|
|
92
92
|
percentage: 0,
|
|
93
93
|
includeItems: null
|
|
94
94
|
});
|
|
@@ -96,20 +96,20 @@ const oe = { class: "space-y-16" }, ne = { class: "ml-32 mt-16 space-y-8" }, re
|
|
|
96
96
|
), V(
|
|
97
97
|
() => q(g.variants, n.categories, n.items)
|
|
98
98
|
);
|
|
99
|
-
function A(
|
|
100
|
-
|
|
101
|
-
...
|
|
102
|
-
includeItems:
|
|
99
|
+
function A(t) {
|
|
100
|
+
a.value = {
|
|
101
|
+
...a.value,
|
|
102
|
+
includeItems: t
|
|
103
103
|
};
|
|
104
104
|
}
|
|
105
105
|
const f = b(
|
|
106
106
|
0
|
|
107
107
|
/* ALL */
|
|
108
108
|
);
|
|
109
|
-
function D(
|
|
110
|
-
f.value =
|
|
111
|
-
...
|
|
112
|
-
includeItems:
|
|
109
|
+
function D(t) {
|
|
110
|
+
f.value = t, a.value = {
|
|
111
|
+
...a.value,
|
|
112
|
+
includeItems: t === 0 ? null : []
|
|
113
113
|
};
|
|
114
114
|
}
|
|
115
115
|
const E = V(() => [
|
|
@@ -125,15 +125,15 @@ const oe = { class: "space-y-16" }, ne = { class: "ml-32 mt-16 space-y-8" }, re
|
|
|
125
125
|
}
|
|
126
126
|
]);
|
|
127
127
|
async function N() {
|
|
128
|
-
M("update:model-value",
|
|
128
|
+
M("update:model-value", a.value), x(!1);
|
|
129
129
|
}
|
|
130
130
|
return J(() => {
|
|
131
|
-
f.value =
|
|
132
|
-
}), (
|
|
133
|
-
const z = s("fm-icon"), B = s("fm-stepper-field"), U = s("fm-radio"), P = s("fm-radio-group"), F = s("fm-button"),
|
|
131
|
+
f.value = a.value && a.value.includeItems === null ? 0 : 1;
|
|
132
|
+
}), (t, u) => {
|
|
133
|
+
const z = s("fm-icon"), B = s("fm-stepper-field"), U = s("fm-radio"), P = s("fm-radio-group"), F = s("fm-button"), G = s("fm-dialog");
|
|
134
134
|
return _(), y(C, null, [
|
|
135
|
-
K(
|
|
136
|
-
i(
|
|
135
|
+
K(t.$slots, "default", { trigger: x }),
|
|
136
|
+
i(G, {
|
|
137
137
|
modelValue: m.value,
|
|
138
138
|
"onUpdate:modelValue": u[3] || (u[3] = (v) => m.value = v),
|
|
139
139
|
"is-component": o(Z).FmForm,
|
|
@@ -152,7 +152,7 @@ const oe = { class: "space-y-16" }, ne = { class: "ml-32 mt-16 space-y-8" }, re
|
|
|
152
152
|
onClick: u[2] || (u[2] = (v) => x(!1))
|
|
153
153
|
}),
|
|
154
154
|
i(F, {
|
|
155
|
-
label: o(X)(
|
|
155
|
+
label: o(X)(t.action),
|
|
156
156
|
class: "sm:w-full xs:w-full",
|
|
157
157
|
size: "md",
|
|
158
158
|
type: "submit",
|
|
@@ -164,8 +164,8 @@ const oe = { class: "space-y-16" }, ne = { class: "ml-32 mt-16 space-y-8" }, re
|
|
|
164
164
|
return [
|
|
165
165
|
O("div", oe, [
|
|
166
166
|
i(B, {
|
|
167
|
-
modelValue:
|
|
168
|
-
"onUpdate:modelValue": u[0] || (u[0] = (l) =>
|
|
167
|
+
modelValue: a.value.percentage,
|
|
168
|
+
"onUpdate:modelValue": u[0] || (u[0] = (l) => a.value.percentage = l),
|
|
169
169
|
decimal: 0,
|
|
170
170
|
max: 100,
|
|
171
171
|
min: 0,
|
|
@@ -199,10 +199,10 @@ const oe = { class: "space-y-16" }, ne = { class: "ml-32 mt-16 space-y-8" }, re
|
|
|
199
199
|
_: 1
|
|
200
200
|
}, 8, ["modelValue"]),
|
|
201
201
|
O("div", ne, [
|
|
202
|
-
i(
|
|
202
|
+
i(ae, {
|
|
203
203
|
title: "Link products",
|
|
204
204
|
"categorized-items": o(g).categorizedItems,
|
|
205
|
-
"initial-value":
|
|
205
|
+
"initial-value": a.value.includeItems || [],
|
|
206
206
|
"show-variant": !1,
|
|
207
207
|
onSubmit: A
|
|
208
208
|
}, {
|
|
@@ -219,7 +219,7 @@ const oe = { class: "space-y-16" }, ne = { class: "ml-32 mt-16 space-y-8" }, re
|
|
|
219
219
|
]),
|
|
220
220
|
_: 1
|
|
221
221
|
}, 8, ["categorized-items", "initial-value"]),
|
|
222
|
-
(v =
|
|
222
|
+
(v = a.value.includeItems) != null && v.length ? (_(), y("p", re, S(o(r)("menu.markup.dialog.products.count", { count: a.value.includeItems.length })), 1)) : R("", !0)
|
|
223
223
|
])
|
|
224
224
|
])
|
|
225
225
|
])
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as ie, computed as b, ref as E, reactive as Ve, watch as Ce, resolveComponent as d, openBlock as m, createElementBlock as y, Fragment as V, renderSlot as Me, createVNode as s, unref as e, withCtx as k, createElementVNode as v, toDisplayString as U, createBlock as B, createCommentVNode as j, normalizeClass as J, createTextVNode as we, renderList as G, getCurrentInstance as $e, h as te, withModifiers as oe } from "vue";
|
|
2
2
|
import { _ as Ee } from "./PageLayout.vue_vue_type_script_setup_true_lang-BJCuL4EK.js";
|
|
3
3
|
import { useSnackbar as Q, components as se, useDialog as Ue, FmButtonVariant as ue, useBreakpoints as Ne } from "@feedmepos/ui-library";
|
|
4
|
-
import { K as re, A as W, x as X, H as Oe, z as K, D as le, G as q, J as H } from "./menu-
|
|
4
|
+
import { K as re, A as W, x as X, H as Oe, z as K, D as le, G as q, J as H } from "./menu-Dl5f7Fsw.js";
|
|
5
5
|
import { _ as ce } from "./index.vue_vue_type_script_setup_true_lang-CGPDazqs.js";
|
|
6
6
|
import { _ as Te } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-CdVvtXw-.js";
|
|
7
7
|
import { defineStore as Be } from "pinia";
|
|
8
8
|
import { c as Ie } from "./createComponentProgrammatically-Npr1U60e.js";
|
|
9
9
|
import { c as Le } from "./check-C9mY6LiX.js";
|
|
10
|
-
import { u as De } from "./unit-
|
|
11
|
-
import { _ as ae, j as Pe } from "./index-
|
|
12
|
-
import { u as Re, l as Ae } from "./lodash-
|
|
10
|
+
import { u as De } from "./unit-Drn0yfdv.js";
|
|
11
|
+
import { _ as ae, j as Pe } from "./index-l6mEBn5y.js";
|
|
12
|
+
import { u as Re, l as Ae } from "./lodash-DM0ANnxH.js";
|
|
13
13
|
import { useI18n as Z } from "@feedmepos/mf-common";
|
|
14
14
|
const Ye = { class: "fm-typo-en-title-md-600" }, ze = {
|
|
15
15
|
key: 0,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as H, ref as k, computed as f, resolveComponent as g, openBlock as p, createBlock as P, unref as l, withCtx as m, createElementVNode as i, toDisplayString as S, createVNode as c, createElementBlock as L, Fragment as A, renderList as $, createCommentVNode as J, h as _, withModifiers as q } from "vue";
|
|
2
2
|
import { _ as ee } from "./index.vue_vue_type_script_setup_true_lang-CGPDazqs.js";
|
|
3
|
-
import { H as j, G as C, J as B, x as te, K as oe, A as ne } from "./menu-
|
|
3
|
+
import { H as j, G as C, J as B, x as te, K as oe, A as ne } from "./menu-Dl5f7Fsw.js";
|
|
4
4
|
import { components as Q, useSnackbar as ae, useDialog as le } from "@feedmepos/ui-library";
|
|
5
5
|
import { useI18n as W } from "@feedmepos/mf-common";
|
|
6
|
-
import { u as re, l as se } from "./lodash-
|
|
7
|
-
import { _ as G, L as ie } from "./FormSection.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { u as re, l as se } from "./lodash-DM0ANnxH.js";
|
|
7
|
+
import { _ as G, L as ie } from "./FormSection.vue_vue_type_script_setup_true_lang-B7S3PpD-.js";
|
|
8
8
|
import { _ as ue } from "./PageLayout.vue_vue_type_script_setup_true_lang-BJCuL4EK.js";
|
|
9
9
|
import { _ as de } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-CdVvtXw-.js";
|
|
10
|
-
import { _ as ce } from "./app-
|
|
10
|
+
import { _ as ce } from "./app-U1y3ouHL.js";
|
|
11
11
|
const me = { class: "fm-typo-en-title-md-600" }, pe = { class: "space-y-32" }, _e = { class: "space-y-16" }, fe = { class: "flex items-center gap-8" }, ve = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, ye = { class: "flex-1" }, ge = { class: "grow overflow-y-auto" }, he = { class: "text-fm-color-typo-secondary bg-fm-color-neutral-gray-100 px-16 py-8 border-b border-b-fm-color-neutral-gray-200" }, be = { class: "flex items-center border-b border-b-fm-color-neutral-gray-100" }, xe = { class: "px-16 py-8 flex-1" }, ke = { class: "py-8" }, Fe = { class: "flex gap-8 items-center justify-start" }, Ie = /* @__PURE__ */ H({
|
|
12
12
|
__name: "PrintDepartmentDialog",
|
|
13
13
|
props: {
|