@feedmepos/mf-menu 1.0.1-dev.2 → 1.0.1-dev.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-CdIN4s5n.js → App-DhYTzDY0.js} +546 -533
- package/dist/{BindingTable.vue_vue_type_script_setup_true_lang-CoHlJwpz.js → BindingTable.vue_vue_type_script_setup_true_lang-BUiZxX6w.js} +1 -1
- package/dist/{Catalog-DjAubC9s.js → Catalog-DWj_TPwj.js} +4 -4
- package/dist/{CatalogBinding-5JNRTbyZ.js → CatalogBinding-DCUFGwTy.js} +3 -3
- package/dist/{CatalogEditTabs.vue_vue_type_script_setup_true_lang-BorOjk1k.js → CatalogEditTabs.vue_vue_type_script_setup_true_lang-BYeOydGv.js} +3 -3
- package/dist/{CatalogEditor.vue_vue_type_script_setup_true_lang-CkF7O_V-.js → CatalogEditor.vue_vue_type_script_setup_true_lang-BeuAv0jC.js} +6 -6
- package/dist/{CatalogLinkProductAction.vue_vue_type_script_setup_true_lang-3fL43MuR.js → CatalogLinkProductAction.vue_vue_type_script_setup_true_lang-EnajbZtY.js} +3 -3
- package/dist/{Category-COug7fz8.js → Category-B9jpP8pf.js} +2 -2
- package/dist/{Category-BbiN4hd7.js → Category-C9BtFwBO.js} +5 -5
- package/dist/{CategoryList.vue_vue_type_script_setup_true_lang-B_9aPMIN.js → CategoryList.vue_vue_type_script_setup_true_lang-C11l9kUD.js} +92 -91
- package/dist/{CookingGuide-Dg7kuF6l.js → CookingGuide-xx0mHc6j.js} +262 -256
- package/dist/{Group-BRpmTqyT.js → Group-BkyVQTHZ.js} +5 -5
- package/dist/{Group-C-hwlkgJ.js → Group-DaNj2hu9.js} +2 -2
- package/dist/{GroupList.vue_vue_type_script_setup_true_lang-DowoJ3WM.js → GroupList.vue_vue_type_script_setup_true_lang-By6udos1.js} +5 -5
- package/dist/{Ingredient-BQYnARdC.js → Ingredient-DbV2TbTY.js} +3 -3
- package/dist/{LinkProductSideSheet.vue_vue_type_script_setup_true_lang-CgTDkHle.js → LinkProductSideSheet.vue_vue_type_script_setup_true_lang-DS7hUQpE.js} +1 -1
- package/dist/{MenuSetting-DsdM2_OW.js → MenuSetting-COJaCmJN.js} +3 -3
- package/dist/{OrderPacing-5x2YH-_l.js → OrderPacing-D6y9LBM_.js} +96 -93
- package/dist/{OrderPacingFields.vue_vue_type_script_setup_true_lang-DVGJjpiM.js → OrderPacingFields.vue_vue_type_script_setup_true_lang--J9nxeca.js} +1 -1
- package/dist/Preview-B19pRXmI.js +325 -0
- package/dist/{PriceTierNotice.vue_vue_type_script_setup_true_lang-vmxVZ2ya.js → PriceTierNotice.vue_vue_type_script_setup_true_lang-DwwfXWL8.js} +1 -1
- package/dist/{PrintRoute-COkCv4gf.js → PrintRoute-DkZaQWrC.js} +158 -152
- package/dist/{Product-BJFb_J4h.js → Product-DkxV4IfT.js} +4 -4
- package/dist/{ProductEditorHost.vue_vue_type_script_setup_true_lang-Tpp8MBYS.js → ProductEditorHost.vue_vue_type_script_setup_true_lang-BuhTMFZF.js} +2 -2
- package/dist/{ProductGroupCreateSheet.vue_vue_type_script_setup_true_lang-C25Pwqme.js → ProductGroupCreateSheet.vue_vue_type_script_setup_true_lang-B_EmJhpN.js} +3 -3
- package/dist/{ProductImageEditorDialog.vue_vue_type_script_setup_true_lang-BMAtAK9D.js → ProductImageEditorDialog.vue_vue_type_script_setup_true_lang-CniqNe-9.js} +1 -1
- package/dist/{ProductInlineCreateHost.vue_vue_type_script_setup_true_lang-Dl4Zr5tx.js → ProductInlineCreateHost.vue_vue_type_script_setup_true_lang-Be9Y5Cc1.js} +1181 -1174
- package/dist/ProductInternalTools-CW7gKvtC.js +2147 -0
- package/dist/{ProductInventoryDialog-C3ruRWU5.js → ProductInventoryDialog-DA1A9YlU.js} +1 -1
- package/dist/{ProductInventoryDialog.vue_vue_type_script_setup_true_lang-MpdIixqI.js → ProductInventoryDialog.vue_vue_type_script_setup_true_lang-DDKjs88F.js} +1 -1
- package/dist/{ProductList.vue_vue_type_script_setup_true_lang-9_ohgfqE.js → ProductList.vue_vue_type_script_setup_true_lang-63u-Pxh-.js} +2328 -2298
- package/dist/{ProductVariantTranslationSheet.vue_vue_type_script_setup_true_lang-Ctbz-8cd.js → ProductVariantTranslationSheet.vue_vue_type_script_setup_true_lang-DjrHHLkY.js} +1 -1
- package/dist/{Products-DMrjQFfu.js → Products-CFxCduVf.js} +3 -3
- package/dist/{Publish-f6g0dIao.js → Publish-C50PRaWB.js} +3 -3
- package/dist/{Recipe-p-wxadSN.js → Recipe-CGwAatcb.js} +3 -3
- package/dist/{Scheduler-CtebRafn.js → Scheduler-hIe_BdwS.js} +3 -3
- package/dist/{ServingSequence-CEd4ywOQ.js → ServingSequence-CIzDiSll.js} +103 -97
- package/dist/{Setting-bPKadRu-.js → Setting-Cr6u3Vok.js} +6 -6
- package/dist/{Subcategory-DBCnIP0b.js → Subcategory-BYg9Z56P.js} +141 -129
- package/dist/{Takeaway-GNRHR5kN.js → Takeaway-BIF4hGTc.js} +2 -2
- package/dist/{Takeaway-VBkdW1DM.js → Takeaway-I5kTW17E.js} +5 -5
- package/dist/{TakeawayList.vue_vue_type_script_setup_true_lang-DvX3k0Jg.js → TakeawayList.vue_vue_type_script_setup_true_lang-Ph6sSiyp.js} +117 -111
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-D1qaEVUu.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-B3SRYt9b.js} +6 -6
- package/dist/{Unit-DbGKIprZ.js → Unit-CHVucFRl.js} +2 -2
- package/dist/{Variant-_edSAKif.js → Variant-CS0gRkGz.js} +114 -108
- package/dist/{_id_-BNVtBV3q.js → _id_-BpCfEGRx.js} +3 -3
- package/dist/{app-BlTv5xag.js → app-BcGXBcUK.js} +420 -409
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/components/ProductList.vue.d.ts +3 -3
- package/dist/apps/mf-menu/src/router/shared.d.ts +33 -0
- package/dist/apps/mf-menu/src/sdk/import-export.d.ts +8 -2
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/{menu-compute-BzchkTYh.js → menu-compute-CFLJZpef.js} +2 -2
- package/dist/assets/{validate-menu-CTV_cJNG.js → validate-menu-DPQnAO0-.js} +2 -2
- package/dist/mf-menu.css +1 -1
- package/dist/{provide-dbE6Qt1z.js → provide-FZ08sGZH.js} +56332 -55258
- package/dist/{useActionFeedback-CdY_C_HX.js → useActionFeedback-BNYAkEZw.js} +1 -1
- package/package.json +1 -1
- package/dist/Preview-AdgGTYlQ.js +0 -321
- package/dist/ProductInternalTools-thlSvqbA.js +0 -2906
package/dist/app.js
CHANGED
|
@@ -3,11 +3,11 @@ type __VLS_Props = {
|
|
|
3
3
|
sdk: MenuSdk;
|
|
4
4
|
catalogPage?: boolean;
|
|
5
5
|
};
|
|
6
|
-
declare var
|
|
6
|
+
declare var __VLS_4: {}, __VLS_73: {};
|
|
7
7
|
type __VLS_Slots = {} & {
|
|
8
|
-
'prepend-heading'?: (props: typeof
|
|
8
|
+
'prepend-heading'?: (props: typeof __VLS_4) => any;
|
|
9
9
|
} & {
|
|
10
|
-
navigation?: (props: typeof
|
|
10
|
+
navigation?: (props: typeof __VLS_73) => any;
|
|
11
11
|
};
|
|
12
12
|
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, __VLS_Slots>;
|
|
13
13
|
export default _default;
|
|
@@ -6,6 +6,39 @@ export declare function setMenuCatalogBindingCapability(next: Capability): void;
|
|
|
6
6
|
export declare let appReady: Promise<void>;
|
|
7
7
|
export declare function resetAppReady(): void;
|
|
8
8
|
export declare function signalAppReady(): void;
|
|
9
|
+
/** What a shell publishes about its scope for the gated route guards. */
|
|
10
|
+
export interface ShellScope {
|
|
11
|
+
routes: MenuRouteCapabilities;
|
|
12
|
+
publish: Capability;
|
|
13
|
+
catalogBinding: Capability;
|
|
14
|
+
/** The session is terminal, so a gated guard can decide on `routes`. */
|
|
15
|
+
settled: boolean;
|
|
16
|
+
}
|
|
17
|
+
export interface AttachedShell {
|
|
18
|
+
/**
|
|
19
|
+
* Whether this is still the latest shell (reactive). Only it may decide a
|
|
20
|
+
* route: a replaced shell would pair its own settled session with the
|
|
21
|
+
* capabilities the newer shell publishes, provisional ones included.
|
|
22
|
+
*/
|
|
23
|
+
isCurrent(): boolean;
|
|
24
|
+
/** Publishes this shell's scope; ignored once a newer shell has attached. */
|
|
25
|
+
publish(scope: ShellScope): void;
|
|
26
|
+
detach(): void;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Called by the shell when it is set up. The latest shell owns readiness and
|
|
30
|
+
* the capabilities the guards read: one set up before an earlier shell
|
|
31
|
+
* unmounts (a transition, a keyed remount, HMR) must not have its scope
|
|
32
|
+
* overwritten by a late update from that earlier shell, nor lose its
|
|
33
|
+
* attachment or its signal to that earlier shell's detach.
|
|
34
|
+
*/
|
|
35
|
+
export declare function attachShell(): AttachedShell;
|
|
36
|
+
/**
|
|
37
|
+
* Where the settled scope sends `route`, or `null` to stay: its `scopeRedirect`
|
|
38
|
+
* target, else Catalog when its `scopeGuard` fails. The one rule both the
|
|
39
|
+
* route guard and the shell apply to a scope-gated route.
|
|
40
|
+
*/
|
|
41
|
+
export declare function scopeRedirectTarget(route: Pick<RouteLocationNormalized, 'meta' | 'query'>): RouteLocationRaw | null;
|
|
9
42
|
/** Keeps businessId/country on the URL so the query-state plugin need not redirect again. */
|
|
10
43
|
export declare function withQuery(target: RouteLocationRaw, from: Pick<RouteLocationNormalized, 'query'>): RouteLocationRaw;
|
|
11
44
|
export declare enum RouteName {
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { MenuExportResult, MenuImportExportParser } from '@feedmepos/menu-sdk';
|
|
2
2
|
export declare const menuImportExportParser: MenuImportExportParser;
|
|
3
|
-
|
|
3
|
+
/**
|
|
4
|
+
* Saves an export the way the SDK names it: one zip when it gives an
|
|
5
|
+
* `archiveName` (several files would each be a download, which the browser
|
|
6
|
+
* stops to ask about), otherwise the single file as it is. The workbooks are
|
|
7
|
+
* already deflated, so the zip only stores them.
|
|
8
|
+
*/
|
|
9
|
+
export declare function downloadMenuExport(result: MenuExportResult): Promise<void>;
|