@feedmepos/mf-menu 0.31.33 → 0.31.34-alpha
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-DNDOc3bV.js → App-CaKDbV0S.js} +6 -6
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-BvrfcWHU.js → ApplyProduct.vue_vue_type_script_setup_true_lang-gY18sRMg.js} +20 -20
- package/dist/{Catalog-Zhi-3W6T.js → Catalog-B0zMoi7e.js} +80 -80
- package/dist/{Category-BU0bkAGd.js → Category-Dyou6Q17.js} +31 -27
- package/dist/{Category-CE9ixFkD.js → Category-rMN8037Q.js} +19 -19
- package/dist/{CookingGuide-eghVaeEY.js → CookingGuide-DT2XxaWa.js} +4 -4
- package/dist/CustomAttributeChip.vue_vue_type_script_setup_true_lang-Cv9LNAfi.js +113 -0
- package/dist/{Group-DWrtP9Au.js → Group-CYSIOe3D.js} +1 -1
- package/dist/{Group-DDZPf6LY.js → Group-M4WPAAYz.js} +3 -3
- package/dist/Group.vue_vue_type_script_setup_true_lang-B-BH-2WN.js +686 -0
- package/dist/GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-TQWka93A.js +367 -0
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-Cus0YKUt.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-DgSO7SQW.js} +4982 -5081
- package/dist/{Ingredient-BJgvOyV9.js → Ingredient-DNvr30pW.js} +3 -3
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-CF99abLi.js → InventoryBinding.vue_vue_type_script_setup_true_lang-G44luws0.js} +1052 -1052
- package/dist/LinkProductSideSheet-Cp0HFoP2.js +297 -0
- package/dist/LinkProductSideSheet.vue_vue_type_style_index_0_scoped_97fa9d58_lang-DvG3mOom.js +8024 -0
- package/dist/{MenuSetting-gkwORUX0.js → MenuSetting-UeQ2NyVm.js} +4 -4
- package/dist/{PrintRoute-Cda6sFlL.js → PrintRoute-5uX9ymJY.js} +89 -88
- package/dist/{Product-61AAh5L-.js → Product-Dxqf8_iq.js} +1 -1
- package/dist/Product.vue_vue_type_script_setup_true_lang-DUtGVRCH.js +1578 -0
- package/dist/{ProductInternalTools-o8cVZXCT.js → ProductInternalTools-BCF9q0i_.js} +5 -5
- package/dist/Products--adhOQ8n.js +283 -0
- package/dist/{Publish-BRgJUzoA.js → Publish-CRaoaFxc.js} +3 -3
- package/dist/{Recipe-CV8lvryp.js → Recipe-DPkzZMJi.js} +4 -4
- package/dist/{Scheduler-B_ptvb82.js → Scheduler-BuwjNHHj.js} +3 -3
- package/dist/{ServingSequence-DABGnLbT.js → ServingSequence-Cdf_Zmat.js} +3 -3
- package/dist/Setting-Vr3Thttm.js +259 -0
- package/dist/{Subcategory-BiqlAvMs.js → Subcategory-DoXmjcg1.js} +4 -4
- package/dist/{Takeaway-BBdkzEiP.js → Takeaway-BRTQu8VT.js} +1 -1
- package/dist/{Takeaway-nIjrDu5C.js → Takeaway-t3il54Bd.js} +4 -4
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-D_M2PFO-.js → Takeaway.vue_vue_type_script_setup_true_lang-DtHABSgp.js} +6 -6
- package/dist/Thumbnail.vue_vue_type_script_setup_true_lang-D_ACNj_Z.js +431 -0
- package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DAoGiRV-.js +5990 -0
- package/dist/{Unit-Di5sUbhV.js → Unit-C_QY3IX_.js} +2 -2
- package/dist/{Variant-CiZCtZk9.js → Variant-CR4IEm-Q.js} +3 -3
- package/dist/_id_-DOU7ieGB.js +202 -0
- package/dist/{app-B63V5b4I.js → app--fRC3N4C.js} +1 -1
- package/dist/{app-DuD_IPou.js → app-CrXLAKdw.js} +95 -97
- package/dist/app.js +6 -7
- package/dist/apps/mf-menu/src/app.d.ts +62 -3
- package/dist/apps/mf-menu/src/components/feature/PriceTier/LinkPriceTierSection.vue.d.ts +24 -0
- package/dist/apps/mf-menu/src/components/feature/PriceTier/PriceTierRuleEditor.vue.d.ts +30 -0
- package/dist/apps/mf-menu/src/components/feature/RestaurantAttributesSelector.vue.d.ts +33 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/catalog.d.ts +2 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/store/menuV2.d.ts +80 -1
- package/dist/apps/mf-menu/src/composable/linkProducts.d.ts +1276 -0
- package/dist/apps/mf-menu/src/helper/import-export.d.ts +77 -0
- package/dist/apps/mf-menu/src/helper/menu.d.ts +77 -0
- package/dist/apps/mf-menu/src/helper/setting/catalogSetting.d.ts +11 -2
- package/dist/apps/mf-menu/src/manager/menu/item.d.ts +77 -0
- package/dist/apps/mf-menu/src/router/shared.d.ts +0 -1
- package/dist/apps/mf-menu/src/stores/manager/catalog.d.ts +2 -0
- package/dist/apps/mf-menu/src/stores/menu.d.ts +79 -0
- package/dist/apps/mf-menu/src/types/linkProducts.d.ts +21 -0
- package/dist/apps/mf-menu/src/views/PrintRoute/PrintDepartmentDialog.vue.d.ts +5 -3
- package/dist/apps/mf-menu/src/views/Publish/UpdateCatalogDialog.vue.d.ts +82 -0
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/linked-status-BTF_dm9R.js +24 -0
- package/dist/assets/override-menu-BPu7TVCy.js +24 -0
- package/dist/assets/validate-menu-BQpDfHbr.js +24 -0
- package/dist/{catalog-DfYSMjLc.js → catalog-BGiDWODL.js} +1 -1
- package/dist/catalogSetting-C34kIcYn.js +71 -0
- package/dist/{category-mmjX_QdF.js → category-CayMSpUc.js} +1 -1
- package/dist/{currency-3ugQtBPt.js → currency-BggoZpJv.js} +1 -1
- package/dist/{dayjs.min-CkV4mNm8.js → dayjs.min-BKDTLohL.js} +1 -1
- package/dist/{index-Cztb2LVZ.js → index-BPcRbiW0.js} +3 -3
- package/dist/{index-BboaHtmY.js → index-CLFhXi0y.js} +3 -3
- package/dist/index-D7yR1j9C.js +215 -0
- package/dist/{index-BZaKuDcN.js → index-f9kzXNPD.js} +28 -28
- package/dist/{item-CVnDeXhJ.js → item-C51o9ejv.js} +547 -545
- package/dist/{jszip.min-GxfcHBC5.js → jszip.min-m57vowh9.js} +353 -353
- package/dist/{menu-sGVv4bhQ.js → menu-DHfLxvzU.js} +4 -4
- package/dist/menu-DK7wG3S5.js +133287 -0
- package/dist/menuV2-B-0V65cx.js +707 -0
- package/dist/mf-menu.css +1 -1
- package/dist/{priceTier-CHTA0ZEb.js → priceTier-DD-24pkj.js} +1 -1
- package/dist/{scheduler-CaMxCHZ0.js → scheduler-NjDv_P4c.js} +16 -17
- package/dist/subcategory-DLdBwjHV.js +148 -0
- package/dist/{toExcel-WorodvP1.js → toExcel-coJ5igRV.js} +15 -15
- package/dist/{unit-DtKZZYL6.js → unit-C7XUV0EW.js} +5 -4
- package/package.json +5 -5
- package/dist/CustomAttributeChip.vue_vue_type_script_setup_true_lang-BiF8rW4M.js +0 -7949
- package/dist/FormItem.vue_vue_type_script_setup_true_lang-BmPAVphe.js +0 -26
- package/dist/Group.vue_vue_type_script_setup_true_lang-DyqGsRAW.js +0 -698
- package/dist/GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-BmRUg94d.js +0 -206
- package/dist/LinkProductSideSheet-CTT4oGUY.js +0 -112
- package/dist/Product.vue_vue_type_script_setup_true_lang-Cy4uok1E.js +0 -1560
- package/dist/Products-D0rrANT6.js +0 -270
- package/dist/Setting-3ISlMXOA.js +0 -258
- package/dist/Thumbnail.vue_vue_type_script_setup_true_lang-DzQ8_6Bi.js +0 -71
- package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-y0n5hTLk.js +0 -6149
- package/dist/_id_-DY8himeL.js +0 -200
- package/dist/apps/mf-menu/src/components/feature/LinkProduct/LinkProductSideSheet.vue.d.ts +0 -70
- package/dist/assets/linked-status-CkBKnMXs.js +0 -24
- package/dist/assets/override-menu-XZ7XfcfS.js +0 -24
- package/dist/assets/validate-menu-Bomogq01.js +0 -24
- package/dist/catalogSetting-_4Z0s3_Q.js +0 -65
- package/dist/index-Ce4v8o7D.js +0 -106
- package/dist/menu-IGORh0Ik.js +0 -108039
- package/dist/subcategory-CmVttqlG.js +0 -817
- /package/dist/{apps/mf-menu/src/components → packages/shared/src/components/info}/CustomAttributeChip.vue.d.ts +0 -0
package/dist/_id_-DY8himeL.js
DELETED
|
@@ -1,200 +0,0 @@
|
|
|
1
|
-
import { defineComponent as P, computed as r, ref as p, watch as C, onMounted as q, resolveComponent as c, createElementBlock as H, openBlock as x, Fragment as F, createVNode as l, withCtx as u, createElementVNode as m, toDisplayString as w, unref as o, createBlock as I } from "vue";
|
|
2
|
-
import { D as K } from "./dayjs.min-CkV4mNm8.js";
|
|
3
|
-
import { useRoute as W, useRouter as j } from "vue-router";
|
|
4
|
-
import { u as J, a as Q, _ as X, w as Z } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-Cus0YKUt.js";
|
|
5
|
-
import { D as ee, u as te, O as ae, B as oe, H as ne } from "./menu-IGORh0Ik.js";
|
|
6
|
-
import { useI18n as le } from "@feedmepos/mf-common";
|
|
7
|
-
import { useDialog as se, useSnackbar as re, useBreakpoints as ue } from "@feedmepos/ui-library";
|
|
8
|
-
import { _ as A } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
9
|
-
import { L as D } from "./LinkProductSideSheet-CTT4oGUY.js";
|
|
10
|
-
import { _ as ie } from "./index-BZaKuDcN.js";
|
|
11
|
-
import { _ as me } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
12
|
-
import { a as ce } from "./menu-sGVv4bhQ.js";
|
|
13
|
-
import { m as de } from "./toExcel-WorodvP1.js";
|
|
14
|
-
import { _ as pe, u as _e, c as fe } from "./scheduler-CaMxCHZ0.js";
|
|
15
|
-
import { R as i } from "./app-DuD_IPou.js";
|
|
16
|
-
const ve = { class: "px-12 py-8" }, ge = { class: "px-12 py-8" }, be = { class: "flex ml-auto space-x-8" }, ke = { class: "flex-1 flex flex-col overflow-hidden" }, Ge = /* @__PURE__ */ P({
|
|
17
|
-
__name: "[id]",
|
|
18
|
-
setup(xe) {
|
|
19
|
-
const M = W(), _ = j();
|
|
20
|
-
se();
|
|
21
|
-
const y = ee(re()), S = ae(y), a = te(), f = J(), v = Q(), { t: s } = le(), R = r(() => a.categorizedRawMenuItems), V = r(() => !a.state.currentSchedulerId);
|
|
22
|
-
r(() => a.rules.item.multiScheduler), r(() => S.checkMenuIsLoading()), r(() => [
|
|
23
|
-
{ label: "All Day", value: "" },
|
|
24
|
-
...a.schedulers.map((t) => ({
|
|
25
|
-
label: t.name.length > 15 ? `${t.name.substring(0, 15)}...` : t.name,
|
|
26
|
-
value: t._id
|
|
27
|
-
}))
|
|
28
|
-
]);
|
|
29
|
-
const E = p();
|
|
30
|
-
r(() => a.state.currentSchedulerId);
|
|
31
|
-
async function L(t) {
|
|
32
|
-
const e = t._id ? _e(t) : fe(t);
|
|
33
|
-
await S.updateMenu(e, t.name);
|
|
34
|
-
}
|
|
35
|
-
const h = [
|
|
36
|
-
{
|
|
37
|
-
label: s("menu.catalog.edit.tabs.product"),
|
|
38
|
-
value: i.EDIT_CATALOG_PRODUCT
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
label: s("menu.catalog.edit.tabs.category"),
|
|
42
|
-
value: i.EDIT_CATALOG_CATEGORY
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
label: s("menu.catalog.edit.tabs.group"),
|
|
46
|
-
value: i.EDIT_CATALOG_GROUP
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
label: s("menu.catalog.edit.tabs.takeaway"),
|
|
50
|
-
value: i.EDIT_CATALOG_TAKEAWAY
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
label: s("menu.catalog.edit.tabs.setting"),
|
|
54
|
-
value: i.EDIT_CATALOG_SETTING
|
|
55
|
-
}
|
|
56
|
-
], d = p(h[0].value);
|
|
57
|
-
C(d, (t) => {
|
|
58
|
-
_.replace({
|
|
59
|
-
name: t
|
|
60
|
-
});
|
|
61
|
-
}), q(() => {
|
|
62
|
-
_.currentRoute.value.name !== i.EDIT_CATALOG && (d.value = _.currentRoute.value.name);
|
|
63
|
-
}), C(
|
|
64
|
-
() => a.state.menu._id,
|
|
65
|
-
(t) => {
|
|
66
|
-
const e = M.params.id;
|
|
67
|
-
t && e !== "main" && a.selectCatalog(e);
|
|
68
|
-
}
|
|
69
|
-
);
|
|
70
|
-
const O = r(() => ({
|
|
71
|
-
...oe.menuV4ToV3(ne(a.state.menu)),
|
|
72
|
-
_id: a.state.menu._id,
|
|
73
|
-
_rev: a.state.menu._rev
|
|
74
|
-
}));
|
|
75
|
-
async function G() {
|
|
76
|
-
await y.minor(
|
|
77
|
-
async () => {
|
|
78
|
-
await a.readMenu();
|
|
79
|
-
const t = await de(O.value), e = `menu_${K().format("DD-MM-YYYY_HH-mm")}`;
|
|
80
|
-
await Z(t, `${e}.xlsx`, {
|
|
81
|
-
bookType: "xlsx",
|
|
82
|
-
bookSST: !1,
|
|
83
|
-
type: "array"
|
|
84
|
-
});
|
|
85
|
-
},
|
|
86
|
-
{ successMessage: "Menu exported", customId: a.state.menu._id }
|
|
87
|
-
);
|
|
88
|
-
}
|
|
89
|
-
const g = p(!1), b = p(!1), z = ue();
|
|
90
|
-
return r(() => z.breakpoints.value.xs), ce().resetOnUnmount(), (t, e) => {
|
|
91
|
-
var T;
|
|
92
|
-
const $ = c("fm-bottom-sheet"), U = c("fm-button"), Y = c("router-link"), B = c("fm-tabs"), N = c("router-view");
|
|
93
|
-
return x(), H(F, null, [
|
|
94
|
-
l(pe, {
|
|
95
|
-
ref_key: "schedulerDialogRef",
|
|
96
|
-
ref: E,
|
|
97
|
-
"categorized-items": R.value,
|
|
98
|
-
onOnComplete: L
|
|
99
|
-
}, null, 8, ["categorized-items"]),
|
|
100
|
-
l(X, {
|
|
101
|
-
modelValue: g.value,
|
|
102
|
-
"onUpdate:modelValue": e[0] || (e[0] = (n) => g.value = n)
|
|
103
|
-
}, null, 8, ["modelValue"]),
|
|
104
|
-
l($, {
|
|
105
|
-
modelValue: b.value,
|
|
106
|
-
"onUpdate:modelValue": e[2] || (e[2] = (n) => b.value = n),
|
|
107
|
-
"no-header": ""
|
|
108
|
-
}, {
|
|
109
|
-
default: u(() => [
|
|
110
|
-
m("div", ve, [
|
|
111
|
-
m("p", {
|
|
112
|
-
class: "fm-typo-en-body-md-400",
|
|
113
|
-
onClick: G
|
|
114
|
-
}, w(o(s)("menu.catalog.edit.export")), 1)
|
|
115
|
-
]),
|
|
116
|
-
m("div", ge, [
|
|
117
|
-
m("p", {
|
|
118
|
-
class: "fm-typo-en-body-md-400",
|
|
119
|
-
onClick: e[1] || (e[1] = () => {
|
|
120
|
-
g.value = !0, b.value = !1;
|
|
121
|
-
})
|
|
122
|
-
}, w(o(s)("menu.catalog.edit.import")), 1)
|
|
123
|
-
])
|
|
124
|
-
]),
|
|
125
|
-
_: 1
|
|
126
|
-
}, 8, ["modelValue"]),
|
|
127
|
-
l(me, {
|
|
128
|
-
heading: ((T = o(a).currentCatalog) == null ? void 0 : T.name) ?? "Main",
|
|
129
|
-
class: "flex flex-col max-h-[calc(100vh-56px)] overflow-hidden"
|
|
130
|
-
}, {
|
|
131
|
-
"prepend-heading": u(() => [
|
|
132
|
-
l(Y, {
|
|
133
|
-
to: { name: o(i).CATALOG },
|
|
134
|
-
class: "mr-8",
|
|
135
|
-
title: o(s)("menu.catalog.edit.back")
|
|
136
|
-
}, {
|
|
137
|
-
default: u(() => [
|
|
138
|
-
l(U, {
|
|
139
|
-
"prepend-icon": "arrow_back",
|
|
140
|
-
variant: "tertiary"
|
|
141
|
-
})
|
|
142
|
-
]),
|
|
143
|
-
_: 1
|
|
144
|
-
}, 8, ["to", "title"])
|
|
145
|
-
]),
|
|
146
|
-
"append-heading": u(() => [
|
|
147
|
-
m("div", be, [
|
|
148
|
-
V.value ? (x(), I(D, {
|
|
149
|
-
key: 0,
|
|
150
|
-
"categorized-items": o(f).linkableItems.value,
|
|
151
|
-
"initial-value": o(f).currentItems.value,
|
|
152
|
-
"show-variant": !1,
|
|
153
|
-
onSubmit: e[3] || (e[3] = (n) => o(f).applyProduct(n.map((k) => k._id)))
|
|
154
|
-
}, {
|
|
155
|
-
default: u(({ trigger: n }) => [
|
|
156
|
-
l(A, {
|
|
157
|
-
label: o(s)("menu.catalog.edit.link_product"),
|
|
158
|
-
"prepend-icon": "link",
|
|
159
|
-
onClick: n
|
|
160
|
-
}, null, 8, ["label", "onClick"])
|
|
161
|
-
]),
|
|
162
|
-
_: 1
|
|
163
|
-
}, 8, ["categorized-items", "initial-value"])) : (x(), I(D, {
|
|
164
|
-
key: 1,
|
|
165
|
-
"categorized-items": o(v).linkableItems.value,
|
|
166
|
-
"initial-value": o(v).currentItems.value,
|
|
167
|
-
"show-variant": !1,
|
|
168
|
-
onSubmit: e[4] || (e[4] = (n) => o(v).applyProduct(n.map((k) => k._id)))
|
|
169
|
-
}, {
|
|
170
|
-
default: u(({ trigger: n }) => [
|
|
171
|
-
l(A, {
|
|
172
|
-
label: o(s)("menu.catalog.edit.apply_scheduler"),
|
|
173
|
-
onClick: n
|
|
174
|
-
}, null, 8, ["label", "onClick"])
|
|
175
|
-
]),
|
|
176
|
-
_: 1
|
|
177
|
-
}, 8, ["categorized-items", "initial-value"]))
|
|
178
|
-
])
|
|
179
|
-
]),
|
|
180
|
-
default: u(() => [
|
|
181
|
-
l(B, {
|
|
182
|
-
modelValue: d.value,
|
|
183
|
-
"onUpdate:modelValue": e[5] || (e[5] = (n) => d.value = n),
|
|
184
|
-
items: h,
|
|
185
|
-
class: "mb-7 xs:mb-0 xs:px-32"
|
|
186
|
-
}, null, 8, ["modelValue"]),
|
|
187
|
-
m("div", ke, [
|
|
188
|
-
l(ie, { "menu-store": o(a) }, null, 8, ["menu-store"]),
|
|
189
|
-
l(N)
|
|
190
|
-
])
|
|
191
|
-
]),
|
|
192
|
-
_: 1
|
|
193
|
-
}, 8, ["heading"])
|
|
194
|
-
], 64);
|
|
195
|
-
};
|
|
196
|
-
}
|
|
197
|
-
});
|
|
198
|
-
export {
|
|
199
|
-
Ge as default
|
|
200
|
-
};
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import type { F_ORDER_FROM } from "@feedmepos/menu/entity";
|
|
2
|
-
import { type CategorizedItem } from "@/helper/menu";
|
|
3
|
-
interface Item {
|
|
4
|
-
_id: string;
|
|
5
|
-
combinationKey?: string | null;
|
|
6
|
-
orderFrom?: F_ORDER_FROM;
|
|
7
|
-
}
|
|
8
|
-
export type LinkProductItem = Item;
|
|
9
|
-
interface Props {
|
|
10
|
-
initialValue?: Array<Item>;
|
|
11
|
-
categorizedItems: Array<CategorizedItem>;
|
|
12
|
-
selectVariant?: boolean;
|
|
13
|
-
showVariant?: boolean;
|
|
14
|
-
showAddon?: boolean;
|
|
15
|
-
title?: string;
|
|
16
|
-
useCloseBtn?: boolean;
|
|
17
|
-
}
|
|
18
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
19
|
-
initialValue: () => Item[];
|
|
20
|
-
categorizedItems: () => CategorizedItem[];
|
|
21
|
-
selectVariant: boolean;
|
|
22
|
-
showVariant: boolean;
|
|
23
|
-
showAddon: boolean;
|
|
24
|
-
title: undefined;
|
|
25
|
-
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
26
|
-
submit: (value: Item[]) => void;
|
|
27
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
28
|
-
initialValue: () => Item[];
|
|
29
|
-
categorizedItems: () => CategorizedItem[];
|
|
30
|
-
selectVariant: boolean;
|
|
31
|
-
showVariant: boolean;
|
|
32
|
-
showAddon: boolean;
|
|
33
|
-
title: undefined;
|
|
34
|
-
}>>> & Readonly<{
|
|
35
|
-
onSubmit?: ((value: Item[]) => any) | undefined;
|
|
36
|
-
}>, {
|
|
37
|
-
title: string;
|
|
38
|
-
categorizedItems: CategorizedItem[];
|
|
39
|
-
initialValue: Item[];
|
|
40
|
-
selectVariant: boolean;
|
|
41
|
-
showVariant: boolean;
|
|
42
|
-
showAddon: boolean;
|
|
43
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
44
|
-
default?(_: {
|
|
45
|
-
trigger: (event?: any) => void;
|
|
46
|
-
}): any;
|
|
47
|
-
}>;
|
|
48
|
-
export default _default;
|
|
49
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
50
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
51
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
52
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
53
|
-
} : {
|
|
54
|
-
type: import('vue').PropType<T[K]>;
|
|
55
|
-
required: true;
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
type __VLS_WithDefaults<P, D> = {
|
|
59
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
60
|
-
default: D[K];
|
|
61
|
-
}> : P[K];
|
|
62
|
-
};
|
|
63
|
-
type __VLS_Prettify<T> = {
|
|
64
|
-
[K in keyof T]: T[K];
|
|
65
|
-
} & {};
|
|
66
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
67
|
-
new (): {
|
|
68
|
-
$slots: S;
|
|
69
|
-
};
|
|
70
|
-
};
|