@feedmepos/mf-menu 1.0.0 → 1.0.1-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.
- package/dist/{App-Dx2igC7a.js → App-CdIN4s5n.js} +5 -4
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-BFZokcY6.js → ApplyProduct.vue_vue_type_script_setup_true_lang-C9OSr8ft.js} +1 -1
- package/dist/{BindingTable.vue_vue_type_script_setup_true_lang-Cqo6_VtR.js → BindingTable.vue_vue_type_script_setup_true_lang-CoHlJwpz.js} +1 -1
- package/dist/{Catalog-B-RloKQ4.js → Catalog-DjAubC9s.js} +4 -4
- package/dist/{CatalogBinding-CgIYwGGu.js → CatalogBinding-5JNRTbyZ.js} +3 -3
- package/dist/{CatalogEditTabs.vue_vue_type_script_setup_true_lang-DKHW_Iqx.js → CatalogEditTabs.vue_vue_type_script_setup_true_lang-BorOjk1k.js} +3 -3
- package/dist/{CatalogEditor.vue_vue_type_script_setup_true_lang-BJXpYF1Z.js → CatalogEditor.vue_vue_type_script_setup_true_lang-CkF7O_V-.js} +7 -7
- package/dist/{CatalogLinkProductAction.vue_vue_type_script_setup_true_lang-Oo24DDWy.js → CatalogLinkProductAction.vue_vue_type_script_setup_true_lang-3fL43MuR.js} +3 -3
- package/dist/{Category-Buu8cQY6.js → Category-BbiN4hd7.js} +5 -5
- package/dist/{Category-Bk6LDBUg.js → Category-COug7fz8.js} +2 -2
- package/dist/{CategoryList.vue_vue_type_script_setup_true_lang-BF6z8ULI.js → CategoryList.vue_vue_type_script_setup_true_lang-B_9aPMIN.js} +5 -5
- package/dist/{CookingGuide-Cf029w_4.js → CookingGuide-Dg7kuF6l.js} +82 -82
- package/dist/FormSection.vue_vue_type_script_setup_true_lang-pY-_msnM.js +1774 -0
- package/dist/{Group-tqaxMELg.js → Group-BRpmTqyT.js} +5 -5
- package/dist/{Group-DEcK54PQ.js → Group-C-hwlkgJ.js} +2 -2
- package/dist/{GroupList.vue_vue_type_script_setup_true_lang-BROG27Yx.js → GroupList.vue_vue_type_script_setup_true_lang-DowoJ3WM.js} +7 -7
- package/dist/{Ingredient-DB25SQ_o.js → Ingredient-BQYnARdC.js} +3 -3
- package/dist/LinkProductSideSheet.vue_vue_type_script_setup_true_lang-CgTDkHle.js +707 -0
- package/dist/{MenuSetting-DUYQvadY.js → MenuSetting-DsdM2_OW.js} +546 -513
- package/dist/{OrderPacing-CjUkaRbu.js → OrderPacing-5x2YH-_l.js} +6 -6
- package/dist/{OrderPacingFields.vue_vue_type_script_setup_true_lang-DJXhbkeG.js → OrderPacingFields.vue_vue_type_script_setup_true_lang-DVGJjpiM.js} +2 -2
- package/dist/Preview-AdgGTYlQ.js +321 -0
- package/dist/{PriceTierNotice.vue_vue_type_script_setup_true_lang-gfsuBoHt.js → PriceTierNotice.vue_vue_type_script_setup_true_lang-vmxVZ2ya.js} +1 -1
- package/dist/{PrintRoute-CysE-4tE.js → PrintRoute-COkCv4gf.js} +4 -4
- package/dist/{Product-iVtmB1C8.js → Product-BJFb_J4h.js} +4 -4
- package/dist/{ProductEditorHost.vue_vue_type_script_setup_true_lang-B7eUmZuN.js → ProductEditorHost.vue_vue_type_script_setup_true_lang-Tpp8MBYS.js} +2 -2
- package/dist/{ProductGroupCreateSheet.vue_vue_type_script_setup_true_lang-b8DaMgRx.js → ProductGroupCreateSheet.vue_vue_type_script_setup_true_lang-C25Pwqme.js} +4 -4
- package/dist/{ProductImageEditorDialog.vue_vue_type_script_setup_true_lang-B5vq5hbc.js → ProductImageEditorDialog.vue_vue_type_script_setup_true_lang-BMAtAK9D.js} +1 -1
- package/dist/{ProductInlineCreateHost.vue_vue_type_script_setup_true_lang-C1ghNMTf.js → ProductInlineCreateHost.vue_vue_type_script_setup_true_lang-Dl4Zr5tx.js} +11 -11
- package/dist/{ProductInternalTools-BQDxL6qv.js → ProductInternalTools-thlSvqbA.js} +2 -2
- package/dist/{ProductInventoryDialog-W1F98eXc.js → ProductInventoryDialog-C3ruRWU5.js} +1 -1
- package/dist/{ProductInventoryDialog.vue_vue_type_script_setup_true_lang-Cp4ZIcMK.js → ProductInventoryDialog.vue_vue_type_script_setup_true_lang-MpdIixqI.js} +1 -1
- package/dist/{ProductList.vue_vue_type_script_setup_true_lang-B1N4e-Kd.js → ProductList.vue_vue_type_script_setup_true_lang-9_ohgfqE.js} +9 -9
- package/dist/{ProductVariantTranslationSheet.vue_vue_type_script_setup_true_lang-DengE8Aj.js → ProductVariantTranslationSheet.vue_vue_type_script_setup_true_lang-Ctbz-8cd.js} +1 -1
- package/dist/{Products-C9O4viX6.js → Products-DMrjQFfu.js} +3 -3
- package/dist/{Publish-B2-c2SAA.js → Publish-f6g0dIao.js} +3 -3
- package/dist/{Recipe-CU9raTsa.js → Recipe-p-wxadSN.js} +3 -3
- package/dist/{Scheduler-BE0dziMd.js → Scheduler-CtebRafn.js} +4 -4
- package/dist/{ServingSequence-Bd99-lK0.js → ServingSequence-CEd4ywOQ.js} +2 -2
- package/dist/{Setting-CEPdYW3h.js → Setting-bPKadRu-.js} +6 -6
- package/dist/{Subcategory-BdcLXhuv.js → Subcategory-DBCnIP0b.js} +2 -2
- package/dist/{Takeaway-CmEdi9LZ.js → Takeaway-GNRHR5kN.js} +2 -2
- package/dist/{Takeaway-DbAA4-wL.js → Takeaway-VBkdW1DM.js} +5 -5
- package/dist/{TakeawayList.vue_vue_type_script_setup_true_lang-b2AoUuPc.js → TakeawayList.vue_vue_type_script_setup_true_lang-DvX3k0Jg.js} +4 -4
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-ByHzS1zz.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-D1qaEVUu.js} +7 -7
- package/dist/{Unit-Di23l3Rf.js → Unit-DbGKIprZ.js} +2 -2
- package/dist/{Variant-CrMulK0_.js → Variant-_edSAKif.js} +19 -19
- package/dist/{_id_-B-xHjH3V.js → _id_-BNVtBV3q.js} +3 -3
- package/dist/{app-BiteOZSg.js → app-BlTv5xag.js} +153 -150
- package/dist/app.js +2 -2
- package/dist/apps/mf-menu/src/app.d.ts +360 -0
- package/dist/apps/mf-menu/src/components/preview/MenuPreview.vue.d.ts +13 -0
- package/dist/apps/mf-menu/src/components/preview/simulatorPort.d.ts +23 -0
- package/dist/apps/mf-menu/src/router/shared.d.ts +1 -0
- package/dist/apps/mf-menu/src/utils/ruleValueKey.d.ts +12 -0
- package/dist/apps/mf-menu/src/views/Preview/Preview.vue.d.ts +2 -0
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/{menu-compute-Cf88Yt0l.js → menu-compute-BzchkTYh.js} +36 -36
- package/dist/assets/{validate-menu-DEpbyLnq.js → validate-menu-CTV_cJNG.js} +4 -4
- package/dist/{provide-DHcnZPMQ.js → provide-dbE6Qt1z.js} +35458 -34831
- package/dist/ruleValueKey-BF52PuHb.js +10 -0
- package/dist/{useActionFeedback-B8L3Gpei.js → useActionFeedback-CdY_C_HX.js} +1 -1
- package/package.json +1 -1
- package/dist/FormSection.vue_vue_type_script_setup_true_lang-DMTby3OA.js +0 -4473
- package/dist/LinkProductSideSheet.vue_vue_type_script_setup_true_lang-BAp_X51e.js +0 -671
|
@@ -2,13 +2,13 @@ import { defineComponent as y, computed as N, onUnmounted as R, resolveComponent
|
|
|
2
2
|
import { RouterLink as I, useRouter as T, useRoute as W } from "vue-router";
|
|
3
3
|
import { useI18n as E } from "@feedmepos/mf-common";
|
|
4
4
|
import { _ as S } from "./FormItem.vue_vue_type_script_setup_true_lang-C2S6QCyR.js";
|
|
5
|
-
import { _ as O } from "./CatalogLinkProductAction.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as O } from "./CatalogLinkProductAction.vue_vue_type_script_setup_true_lang-3fL43MuR.js";
|
|
6
6
|
import { _ as j } from "./PageLayout.vue_vue_type_script_setup_true_lang-B3szUH39.js";
|
|
7
|
-
import { u as D } from "./useActionFeedback-
|
|
8
|
-
import { R as V } from "./app-
|
|
9
|
-
import { a as $, u as P } from "./provide-
|
|
10
|
-
import { _ as q } from "./CatalogEditTabs.vue_vue_type_script_setup_true_lang-
|
|
11
|
-
import { _ as z } from "./CatalogEditor.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { u as D } from "./useActionFeedback-CdY_C_HX.js";
|
|
8
|
+
import { R as V } from "./app-BlTv5xag.js";
|
|
9
|
+
import { a as $, u as P } from "./provide-dbE6Qt1z.js";
|
|
10
|
+
import { _ as q } from "./CatalogEditTabs.vue_vue_type_script_setup_true_lang-BorOjk1k.js";
|
|
11
|
+
import { _ as z } from "./CatalogEditor.vue_vue_type_script_setup_true_lang-CkF7O_V-.js";
|
|
12
12
|
const H = {
|
|
13
13
|
key: 0,
|
|
14
14
|
class: "max-w-[752px] pt-16 space-y-32"
|
|
@@ -5,8 +5,8 @@ import { _ as ne } from "./index.vue_vue_type_script_setup_true_lang-CGPDazqs.js
|
|
|
5
5
|
import { _ as xe } from "./ListCountTag.vue_vue_type_script_setup_true_lang-0bjk8Aly.js";
|
|
6
6
|
import { _ as we } from "./PageLayout.vue_vue_type_script_setup_true_lang-B3szUH39.js";
|
|
7
7
|
import { _ as Fe } from "./TranslationSideSheet.vue_vue_type_script_setup_true_lang-B0j2PNih.js";
|
|
8
|
-
import { u as Ce } from "./useActionFeedback-
|
|
9
|
-
import { b as Se, u as Ve, a as Le } from "./provide-
|
|
8
|
+
import { u as Ce } from "./useActionFeedback-CdY_C_HX.js";
|
|
9
|
+
import { b as Se, u as Ve, a as Le } from "./provide-dbE6Qt1z.js";
|
|
10
10
|
import { _ as Ue } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
11
|
const De = { class: "flex-1 flex justify-between gap-8 pl-8" }, Te = { class: "flex items-center" }, ze = {
|
|
12
12
|
key: 0,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as n, createBlock as r, unref as a } from "vue";
|
|
2
|
-
import { _ as s } from "./TakeawayList.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { a as t } from "./provide-
|
|
2
|
+
import { _ as s } from "./TakeawayList.vue_vue_type_script_setup_true_lang-DvX3k0Jg.js";
|
|
3
|
+
import { a as t } from "./provide-dbE6Qt1z.js";
|
|
4
4
|
const k = /* @__PURE__ */ o({
|
|
5
5
|
__name: "Takeaway",
|
|
6
6
|
setup(_) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as m, resolveComponent as i, openBlock as s, createBlock as c, unref as a, withCtx as t, createVNode as e } from "vue";
|
|
2
2
|
import { RouterLink as p } from "vue-router";
|
|
3
3
|
import { useI18n as _ } from "@feedmepos/mf-common";
|
|
4
|
-
import { _ as l } from "./TakeawayList.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { _ as d } from "./CatalogLinkProductAction.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { R as u } from "./app-
|
|
7
|
-
import { a as f } from "./provide-
|
|
8
|
-
import { _ as k } from "./CatalogEditTabs.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { _ as l } from "./TakeawayList.vue_vue_type_script_setup_true_lang-DvX3k0Jg.js";
|
|
5
|
+
import { _ as d } from "./CatalogLinkProductAction.vue_vue_type_script_setup_true_lang-3fL43MuR.js";
|
|
6
|
+
import { R as u } from "./app-BlTv5xag.js";
|
|
7
|
+
import { a as f } from "./provide-dbE6Qt1z.js";
|
|
8
|
+
import { _ as k } from "./CatalogEditTabs.vue_vue_type_script_setup_true_lang-BorOjk1k.js";
|
|
9
9
|
const A = /* @__PURE__ */ m({
|
|
10
10
|
__name: "Takeaway",
|
|
11
11
|
setup(g) {
|
|
@@ -2,12 +2,12 @@ import { defineComponent as Ve, computed as c, ref as B, shallowRef as te, h as
|
|
|
2
2
|
import { useI18n as Be } from "@feedmepos/mf-common";
|
|
3
3
|
import { useDialog as ze, components as z, FmButtonVariant as Ne } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as $e } from "./index.vue_vue_type_script_setup_true_lang-CGPDazqs.js";
|
|
5
|
-
import { _ as De } from "./LinkProductSideSheet.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { _ as le } from "./FormSection.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as De } from "./LinkProductSideSheet.vue_vue_type_script_setup_true_lang-CgTDkHle.js";
|
|
6
|
+
import { _ as le } from "./FormSection.vue_vue_type_script_setup_true_lang-pY-_msnM.js";
|
|
7
7
|
import { _ as Ee } from "./PageLayout.vue_vue_type_script_setup_true_lang-B3szUH39.js";
|
|
8
8
|
import { _ as Ie } from "./TranslationSideSheet.vue_vue_type_script_setup_true_lang-B0j2PNih.js";
|
|
9
|
-
import { u as Ae } from "./useActionFeedback-
|
|
10
|
-
import { b as Ke, u as ne } from "./provide-
|
|
9
|
+
import { u as Ae } from "./useActionFeedback-CdY_C_HX.js";
|
|
10
|
+
import { b as Ke, u as ne } from "./provide-dbE6Qt1z.js";
|
|
11
11
|
import { v as Me } from "./tableSemantics-C9WFO_I_.js";
|
|
12
12
|
const Re = {
|
|
13
13
|
key: 0,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { defineComponent as q, shallowRef as W, computed as C, watch as te, onBeforeUnmount as ne, openBlock as p, createElementBlock as T, createBlock as B, unref as e, toDisplayString as j, createVNode as y, resolveComponent as V, Fragment as X, createCommentVNode as M, ref as P, withKeys as se, withModifiers as H, withCtx as R, createElementVNode as D, h as pe, onUnmounted as ve, normalizeClass as J, renderList as oe, onMounted as ce, nextTick as fe, renderSlot as ge } from "vue";
|
|
2
2
|
import { useI18n as Q } from "@feedmepos/mf-common";
|
|
3
3
|
import { components as ye, useSnackbar as be, useDialog as _e } from "@feedmepos/ui-library";
|
|
4
|
-
import { _ as ke } from "./ProductImageEditorDialog.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { u as we } from "./useActionFeedback-
|
|
6
|
-
import { c as Z, u as G, b as me, N as ie, e as he, a as xe } from "./provide-
|
|
7
|
-
import { _ as Ce, a as $e } from "./ProductInlineCreateHost.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { _ as ke } from "./ProductImageEditorDialog.vue_vue_type_script_setup_true_lang-BMAtAK9D.js";
|
|
5
|
+
import { u as we } from "./useActionFeedback-CdY_C_HX.js";
|
|
6
|
+
import { c as Z, u as G, b as me, N as ie, e as he, a as xe } from "./provide-dbE6Qt1z.js";
|
|
7
|
+
import { _ as Ce, a as $e } from "./ProductInlineCreateHost.vue_vue_type_script_setup_true_lang-Dl4Zr5tx.js";
|
|
8
8
|
import { _ as ue } from "./ProductFilterMenu.vue_vue_type_script_setup_true_lang-Cgc0Ms_n.js";
|
|
9
|
-
import { _ as de } from "./FormSection.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { _ as de } from "./FormSection.vue_vue_type_script_setup_true_lang-pY-_msnM.js";
|
|
10
10
|
import { _ as Ie } from "./TranslationLanguageSelector.vue_vue_type_script_setup_true_lang-BJZ6VcrT.js";
|
|
11
11
|
import { _ as Fe } from "./TranslationSideSheet.vue_vue_type_script_setup_true_lang-B0j2PNih.js";
|
|
12
|
-
import { O as Se } from "./LinkProductSideSheet.vue_vue_type_script_setup_true_lang-
|
|
13
|
-
import { _ as Te } from "./CatalogLinkProductAction.vue_vue_type_script_setup_true_lang-
|
|
12
|
+
import { O as Se } from "./LinkProductSideSheet.vue_vue_type_script_setup_true_lang-CgTDkHle.js";
|
|
13
|
+
import { _ as Te } from "./CatalogLinkProductAction.vue_vue_type_script_setup_true_lang-3fL43MuR.js";
|
|
14
14
|
const ze = { class: "h-full overflow-auto pl-[25px]" }, Ee = {
|
|
15
15
|
key: 1,
|
|
16
16
|
class: "fm-typo-en-body-md-400 p-24 text-center text-fm-color-neutral-gray-400"
|
|
@@ -4,8 +4,8 @@ import { useDialog as ce, components as Q, FmButtonVariant as pe } from "@feedme
|
|
|
4
4
|
import { _ as ve } from "./index.vue_vue_type_script_setup_true_lang-CGPDazqs.js";
|
|
5
5
|
import { _ as be } from "./ListCountTag.vue_vue_type_script_setup_true_lang-0bjk8Aly.js";
|
|
6
6
|
import { _ as fe } from "./PageLayout.vue_vue_type_script_setup_true_lang-B3szUH39.js";
|
|
7
|
-
import { u as ye } from "./useActionFeedback-
|
|
8
|
-
import { b as _e, u as he, a as xe } from "./provide-
|
|
7
|
+
import { u as ye } from "./useActionFeedback-CdY_C_HX.js";
|
|
8
|
+
import { b as _e, u as he, a as xe } from "./provide-dbE6Qt1z.js";
|
|
9
9
|
const ge = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "flex-1 flex justify-between gap-8 pl-8"
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { defineComponent as de, computed as S, ref as Le, shallowRef as B, h as k, withModifiers as ie, onUnmounted as
|
|
2
|
-
import { _ as Oe,
|
|
1
|
+
import { defineComponent as de, computed as S, ref as Le, shallowRef as B, h as k, withModifiers as ie, onUnmounted as Te, resolveComponent as _, openBlock as i, createBlock as f, unref as t, withCtx as p, createElementBlock as x, toDisplayString as L, Fragment as re, createElementVNode as d, normalizeClass as ue, createVNode as r, renderList as Ve, createCommentVNode as w, createSlots as Ie, nextTick as $e } from "vue";
|
|
2
|
+
import { _ as Oe, d as Pe } from "./FormSection.vue_vue_type_script_setup_true_lang-pY-_msnM.js";
|
|
3
3
|
import { useI18n as ze } from "@feedmepos/mf-common";
|
|
4
4
|
import { useDialog as Ue, useBreakpoints as Me, components as ce, FmButtonVariant as Q } from "@feedmepos/ui-library";
|
|
5
|
-
import { _ as Ee } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as Ee } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-C9OSr8ft.js";
|
|
6
6
|
import { _ as Be } from "./index.vue_vue_type_script_setup_true_lang-CGPDazqs.js";
|
|
7
|
-
import { _ as je } from "./ProductVariantTranslationSheet.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { _ as je } from "./ProductVariantTranslationSheet.vue_vue_type_script_setup_true_lang-Ctbz-8cd.js";
|
|
8
8
|
import { _ as Ae } from "./FormItem.vue_vue_type_script_setup_true_lang-C2S6QCyR.js";
|
|
9
9
|
import { _ as Ne } from "./PageLayout.vue_vue_type_script_setup_true_lang-B3szUH39.js";
|
|
10
10
|
import { _ as me } from "./TranslationViewChip.vue_vue_type_script_setup_true_lang-CAkLEmSA.js";
|
|
11
|
-
import { u as qe } from "./useActionFeedback-
|
|
12
|
-
import { b as De, u as He, a as Qe } from "./provide-
|
|
11
|
+
import { u as qe } from "./useActionFeedback-CdY_C_HX.js";
|
|
12
|
+
import { b as De, u as He, a as Qe } from "./provide-dbE6Qt1z.js";
|
|
13
13
|
const Re = {
|
|
14
14
|
key: 0,
|
|
15
15
|
class: "text-fm-color-typo-secondary",
|
|
@@ -30,12 +30,12 @@ const Re = {
|
|
|
30
30
|
sdk: {}
|
|
31
31
|
},
|
|
32
32
|
setup(R) {
|
|
33
|
-
const g = R, { t: a } = ze(),
|
|
33
|
+
const g = R, { t: a } = ze(), T = De(), G = Ue(), { breakpoints: pe } = Me(), { run: j } = qe(), y = He(g.sdk.variant.list), u = S(
|
|
34
34
|
() => y.value.status === "ready" ? y.value.value : null
|
|
35
35
|
), K = S(() => {
|
|
36
36
|
var e;
|
|
37
37
|
return ((e = u.value) == null ? void 0 : e.query) ?? "";
|
|
38
|
-
}),
|
|
38
|
+
}), V = S(() => pe.value.xs), I = Le(!1), c = B(
|
|
39
39
|
g.sdk.variant.editor()
|
|
40
40
|
), $ = B(
|
|
41
41
|
c.value.get()
|
|
@@ -113,7 +113,7 @@ const Re = {
|
|
|
113
113
|
function ge(e, n) {
|
|
114
114
|
var m;
|
|
115
115
|
const o = (m = l.value) == null ? void 0 : m.optionsIssue;
|
|
116
|
-
return D(e, n) && o ?
|
|
116
|
+
return D(e, n) && o ? T(o) : "";
|
|
117
117
|
}
|
|
118
118
|
function he(e, n) {
|
|
119
119
|
if (!n || typeof n.focus != "function") {
|
|
@@ -235,7 +235,7 @@ const Re = {
|
|
|
235
235
|
})
|
|
236
236
|
}
|
|
237
237
|
]);
|
|
238
|
-
return
|
|
238
|
+
return Te(() => {
|
|
239
239
|
U(), A(), c.value.dispose();
|
|
240
240
|
}), (e, n) => {
|
|
241
241
|
const o = _("FmButton"), m = _("FmCircularProgress"), C = _("FmSearch"), M = _("FmListItem"), F = _("FmList"), H = _("FmTable"), Ce = _("FmTooltip"), ae = _("FmTextField"), Fe = _("FmHelperText"), Se = _("FmSideSheet");
|
|
@@ -243,7 +243,7 @@ const Re = {
|
|
|
243
243
|
heading: t(a)("menu.variant.title")
|
|
244
244
|
}, {
|
|
245
245
|
"append-heading": p(() => [
|
|
246
|
-
t(y).status === "ready" && u.value && u.value.totalCount > 0 && !
|
|
246
|
+
t(y).status === "ready" && u.value && u.value.totalCount > 0 && !V.value ? (i(), f(o, {
|
|
247
247
|
key: 0,
|
|
248
248
|
class: "ml-auto",
|
|
249
249
|
disabled: u.value.create.state !== "allowed",
|
|
@@ -253,7 +253,7 @@ const Re = {
|
|
|
253
253
|
}, null, 8, ["disabled", "label"])) : w("", !0)
|
|
254
254
|
]),
|
|
255
255
|
default: p(() => [
|
|
256
|
-
t(y).status === "error" ? (i(), x("p", Re, L(t(
|
|
256
|
+
t(y).status === "error" ? (i(), x("p", Re, L(t(T)(t(y).error.message)), 1)) : t(y).status === "unavailable" ? (i(), x("p", Ge, L(t(T)(t(y).reason)), 1)) : t(y).status === "loading" ? (i(), f(m, { key: 2 })) : u.value && u.value.rows.length === 0 && !K.value ? (i(), f(t(Be), {
|
|
257
257
|
key: 3,
|
|
258
258
|
action: { text: t(a)("menu.variant.add"), callback: q },
|
|
259
259
|
title: t(a)("menu.variant.empty.title"),
|
|
@@ -261,23 +261,23 @@ const Re = {
|
|
|
261
261
|
}, null, 8, ["action", "title", "subtitle"])) : u.value ? (i(), x(re, { key: 4 }, [
|
|
262
262
|
d("div", Ke, [
|
|
263
263
|
d("div", {
|
|
264
|
-
class: ue(
|
|
264
|
+
class: ue(V.value ? "w-[calc(100%-32px)] mx-16 mt-8" : "w-[320px]")
|
|
265
265
|
}, [
|
|
266
266
|
r(C, {
|
|
267
267
|
autofocus: "",
|
|
268
|
-
class: ue(
|
|
268
|
+
class: ue(V.value ? "mb-0" : "mb-8"),
|
|
269
269
|
"model-value": K.value,
|
|
270
270
|
placeholder: t(a)("menu.common.labels.search_variants"),
|
|
271
271
|
"onUpdate:modelValue": g.sdk.variant.search
|
|
272
272
|
}, null, 8, ["class", "model-value", "placeholder", "onUpdate:modelValue"])
|
|
273
273
|
], 2)
|
|
274
274
|
]),
|
|
275
|
-
|
|
275
|
+
V.value ? (i(), f(F, {
|
|
276
276
|
key: 0,
|
|
277
277
|
class: "mt-8 pb-64"
|
|
278
278
|
}, {
|
|
279
279
|
default: p(() => [
|
|
280
|
-
(i(!0), x(re, null,
|
|
280
|
+
(i(!0), x(re, null, Ve(u.value.rows, (s) => (i(), f(M, {
|
|
281
281
|
key: s.id,
|
|
282
282
|
class: "border-b border-fm-color-neutral-gray-100 !p-0",
|
|
283
283
|
onClick: (b) => X(s)
|
|
@@ -321,7 +321,7 @@ const Re = {
|
|
|
321
321
|
onRowClick: n[0] || (n[0] = (s) => X(s.original))
|
|
322
322
|
}, null, 8, ["column-defs", "page-size", "row-data"])
|
|
323
323
|
])),
|
|
324
|
-
u.value.totalCount > 0 &&
|
|
324
|
+
u.value.totalCount > 0 && V.value ? (i(), x("div", aa, [
|
|
325
325
|
r(o, {
|
|
326
326
|
class: "w-full",
|
|
327
327
|
disabled: u.value.create.state !== "allowed",
|
|
@@ -378,7 +378,7 @@ const Re = {
|
|
|
378
378
|
return [
|
|
379
379
|
r(ae, {
|
|
380
380
|
"helper-state": (b = l.value) != null && b.nameIssue ? "error" : "none",
|
|
381
|
-
"helper-text": (te = l.value) != null && te.nameIssue ? t(
|
|
381
|
+
"helper-text": (te = l.value) != null && te.nameIssue ? t(T)(l.value.nameIssue) : t(a)("menu.variant.form.name.helper"),
|
|
382
382
|
label: t(a)("menu.variant.form.name.label"),
|
|
383
383
|
"model-value": ((ne = l.value) == null ? void 0 : ne.name) ?? "",
|
|
384
384
|
placeholder: t(a)("menu.variant.form.name.placeholder"),
|
|
@@ -522,7 +522,7 @@ const Re = {
|
|
|
522
522
|
__name: "Variant",
|
|
523
523
|
setup(R) {
|
|
524
524
|
const g = Qe();
|
|
525
|
-
return (a,
|
|
525
|
+
return (a, T) => (i(), f(ua, { sdk: t(g) }, null, 8, ["sdk"]));
|
|
526
526
|
}
|
|
527
527
|
});
|
|
528
528
|
export {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as i, watch as l, onUnmounted as m, openBlock as d, createBlock as p, unref as f } from "vue";
|
|
2
2
|
import { useRoute as _, useRouter as g, RouterView as k } from "vue-router";
|
|
3
|
-
import { a as R, u as w } from "./provide-
|
|
4
|
-
import { u as h } from "./useActionFeedback-
|
|
5
|
-
import { R as y } from "./app-
|
|
3
|
+
import { a as R, u as w } from "./provide-dbE6Qt1z.js";
|
|
4
|
+
import { u as h } from "./useActionFeedback-CdY_C_HX.js";
|
|
5
|
+
import { R as y } from "./app-BlTv5xag.js";
|
|
6
6
|
const M = /* @__PURE__ */ i({
|
|
7
7
|
__name: "[id]",
|
|
8
8
|
setup(x) {
|