@feedmepos/mf-menu 0.31.40-beta.2 → 0.31.40-prod
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-CoKv0BFp.js → App-aWEH-ZEk.js} +9 -9
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-B14Q0hS_.js → ApplyProduct.vue_vue_type_script_setup_true_lang-jJyinQZl.js} +3 -3
- package/dist/{Catalog-BRovMtuI.js → Catalog-BoFfFdn8.js} +9 -8
- package/dist/{Category-DytZqgIt.js → Category-CWYbb3Jn.js} +4 -4
- package/dist/{Category-CT8-B4zh.js → Category-DZ45uikR.js} +6 -6
- package/dist/{CookingGuide-Ct5qRLG0.js → CookingGuide-BU0PRWIQ.js} +4 -4
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-D3R3TCba.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-Z5xsKDIE.js} +1 -1
- package/dist/FormSection.vue_vue_type_script_setup_true_lang-CO4YGYLB.js +50 -0
- package/dist/{Group-Dk1yQTTt.js → Group-BMQDeqiS.js} +1 -1
- package/dist/{Group-G_H8i5_8.js → Group-C0T_uknK.js} +3 -3
- package/dist/{Group.vue_vue_type_script_setup_true_lang-CoTdB2d5.js → Group.vue_vue_type_script_setup_true_lang-DyfmY6F1.js} +8 -8
- package/dist/GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-D6qro5w_.js +367 -0
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-BKx7uQtR.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-Dl-Wvt3D.js} +14 -13
- package/dist/{Ingredient-ChynYQq6.js → Ingredient-3lwDUQx_.js} +3 -3
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-DyaUxnMx.js → InventoryBinding.vue_vue_type_script_setup_true_lang-VLrrTkSC.js} +2 -2
- package/dist/LinkProductSideSheet-LDZjKX95.js +297 -0
- package/dist/{app-CiBqmBzO.js → LinkProductSideSheet.vue_vue_type_style_index_0_scoped_97fa9d58_lang-DvG3mOom.js} +2084 -2120
- package/dist/MenuSetting-AhutsCVy.js +185 -0
- package/dist/{PrintRoute-DwAZHUrQ.js → PrintRoute-DfJ-vUAb.js} +4 -4
- package/dist/{Product-Bx2NPQvC.js → Product-F4PoLm9v.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-od_O6x7E.js → Product.vue_vue_type_script_setup_true_lang-DT5gffpA.js} +465 -468
- package/dist/{ProductInternalTools-BOguHh06.js → ProductInternalTools-DSGU-OqU.js} +6 -6
- package/dist/{Products-DA2hOsxr.js → Products-COzW2Z4g.js} +85 -88
- package/dist/{Publish-WATQWkjh.js → Publish-CDXVWCk2.js} +3 -3
- package/dist/{Recipe-WPwGgur3.js → Recipe-BZx4wrcP.js} +4 -4
- package/dist/{Scheduler-Djjggrh2.js → Scheduler-wHCWSeU2.js} +3 -3
- package/dist/{ServingSequence-CryZJTWA.js → ServingSequence-BbYEhDYh.js} +3 -3
- package/dist/{Setting-BtLsmoqY.js → Setting-C9Tlw1Iy.js} +45 -44
- package/dist/{Subcategory-BvlYDquD.js → Subcategory-C8AwfrKb.js} +4 -4
- package/dist/{Takeaway-8khxlcKQ.js → Takeaway-DaEUn-yM.js} +4 -4
- package/dist/{Takeaway-BBvFxAlx.js → Takeaway-t1053wg2.js} +1 -1
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-B8blN-yJ.js → Takeaway.vue_vue_type_script_setup_true_lang-7XycP5fU.js} +5 -5
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-CA9RlNkt.js → Thumbnail.vue_vue_type_script_setup_true_lang-B7oLH9cP.js} +95 -97
- package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-Ci6iqOry.js +5998 -0
- package/dist/{Unit-Diu00sM2.js → Unit-CnqptGCz.js} +2 -2
- package/dist/{Variant-CO15W0wb.js → Variant-DiOYOwJs.js} +3 -3
- package/dist/{_id_-CxA_FzSG.js → _id_-BSfU16VO.js} +75 -78
- package/dist/{app-Blbof2Ga.js → app-Cou6qPF2.js} +1 -1
- package/dist/{app-5ESai6-B.js → app-Ddb81PNo.js} +278 -278
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/api/menu.d.ts +1 -2
- package/dist/apps/mf-menu/src/app.d.ts +0 -144
- package/dist/apps/mf-menu/src/components/feature/PriceTier/PriceTierRuleEditor.vue.d.ts +0 -36
- package/dist/apps/mf-menu/src/components/feature/RestaurantAttributesSelector.vue.d.ts +3 -9
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/useItemFormManagement.d.ts +9 -2
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/store/menuV2.d.ts +4 -294
- package/dist/apps/mf-menu/src/composable/linkProducts.d.ts +0 -40
- package/dist/apps/mf-menu/src/helper/import-export.d.ts +0 -285
- package/dist/apps/mf-menu/src/helper/menu.d.ts +0 -285
- package/dist/apps/mf-menu/src/manager/menu/item.d.ts +0 -285
- package/dist/apps/mf-menu/src/stores/menu.d.ts +3 -293
- package/dist/apps/mf-menu/src/views/Publish/UpdateCatalogDialog.vue.d.ts +0 -166
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/linked-status-B_crHhZH.js +24 -0
- package/dist/assets/override-menu-BmlCEpHH.js +24 -0
- package/dist/assets/validate-menu-CF-psoB-.js +24 -0
- package/dist/{catalog-CXjEQ80k.js → catalog-DSuJhsUb.js} +1 -1
- package/dist/{catalogSetting-aJSUDY_z.js → catalogSetting-C3gEw9ov.js} +1 -1
- package/dist/{category-TqQULuHq.js → category-CwWq3KCE.js} +1 -1
- package/dist/{currency-CRjh8ne7.js → currency-g45Sh-t6.js} +1 -1
- package/dist/{dayjs.min-MBmYgyRY.js → dayjs.min-g3eN5z-V.js} +1 -1
- package/dist/index-0Q5T9VZV.js +214 -0
- package/dist/{index-dkHuztwB.js → index-0yRUi7LL.js} +1 -1
- package/dist/{index-CzjFGFvP.js → index-BLQCYEc6.js} +8 -7
- package/dist/{index-B1NS2hBa.js → index-QsLFbxyG.js} +4 -4
- package/dist/{item-Dj14On9a.js → item-BvvQ9urP.js} +386 -386
- package/dist/{jszip.min-Be1afVon.js → jszip.min-DzdUiaR4.js} +353 -353
- package/dist/{menu-C0Xu-iTb.js → menu-DFNvhoNQ.js} +31149 -31298
- package/dist/{menu-kRDoPBjm.js → menu-QrVg2Ph7.js} +7 -7
- package/dist/{menuV2-D6Gmxd9X.js → menuV2-Ezf_jW40.js} +137 -142
- package/dist/mf-menu.css +1 -1
- package/dist/{priceTier-CJlFGOpm.js → priceTier-zENsn3P_.js} +1 -1
- package/dist/{scheduler-B11d6fJr.js → scheduler-BuwGSv6A.js} +8 -8
- package/dist/{subcategory-D6hTbHP-.js → subcategory-O3L_zCJA.js} +2 -2
- package/dist/{toExcel-BedErXvS.js → toExcel-CpRy_4nG.js} +2 -2
- package/dist/{unit-D5jDzsM2.js → unit-Ct_7Hfa2.js} +41 -42
- package/package.json +3 -3
- package/dist/GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-B_Yv8Thl.js +0 -399
- package/dist/LinkProductSideSheet-DsoPo7Q_.js +0 -361
- package/dist/MenuSetting-CDSc-56P.js +0 -618
- package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-LVWB5CIa.js +0 -5994
- package/dist/apps/mf-menu/src/composable/attributes.d.ts +0 -26
- package/dist/apps/mf-menu/src/utils/array.d.ts +0 -1
- package/dist/apps/mf-menu/src/utils/customAttributes.d.ts +0 -12
- package/dist/apps/mf-menu/src/views/MenuSetting/LinkProductRuleGroups.vue.d.ts +0 -2
- package/dist/apps/mf-menu/src/views/MenuSetting/RuleGroupSideSheet.vue.d.ts +0 -176
- package/dist/assets/linked-status-x1efKEih.js +0 -13
- package/dist/assets/override-menu-D8d9BWzy.js +0 -13
- package/dist/assets/validate-menu-DUJ20GHx.js +0 -13
- package/dist/customAttributes-32VmzFKZ.js +0 -177
- package/dist/index-FzHOAFSW.js +0 -246
package/dist/app.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { FdoMasterCatalogSetting, FdoMenuV4, FdtoRestaurantWithMenuV4, FdtoPublishMenuRestaurant, FdoMenuV4PriceTierSetting
|
|
1
|
+
import type { FdoMasterCatalogSetting, FdoMenuV4, FdtoRestaurantWithMenuV4, FdtoPublishMenuRestaurant, FdoMenuV4PriceTierSetting } from "@feedmepos/menu/entity";
|
|
2
2
|
import { type UpdateMenuRequest } from "@feedmepos/menu/manager";
|
|
3
3
|
import { useCoreStore } from "@feedmepos/mf-common";
|
|
4
4
|
export type MenuV4Doc = FdoMenuV4 & {
|
|
@@ -8,7 +8,6 @@ export interface UpdateMenuSettingReq {
|
|
|
8
8
|
masterCatalogSetting?: FdoMasterCatalogSetting | null;
|
|
9
9
|
lowStockThreshold?: number | null;
|
|
10
10
|
priceTierSettings?: FdoMenuV4PriceTierSetting[] | null;
|
|
11
|
-
ruleGroupSettings?: FdoRuleGroupSettings | null;
|
|
12
11
|
}
|
|
13
12
|
export interface FdtoUpdateMenuRes {
|
|
14
13
|
menu: MenuV4Doc;
|
|
@@ -804,9 +804,7 @@ export declare const i18nMessages: {
|
|
|
804
804
|
section_title: string;
|
|
805
805
|
order_from: string;
|
|
806
806
|
restaurant_filter: string;
|
|
807
|
-
restaurant_custom_attributes_filter: string;
|
|
808
807
|
item_filter: string;
|
|
809
|
-
item_custom_attributes_filter: string;
|
|
810
808
|
add_rule: string;
|
|
811
809
|
hint: string;
|
|
812
810
|
};
|
|
@@ -1533,40 +1531,6 @@ export declare const i18nMessages: {
|
|
|
1533
1531
|
tabs: {
|
|
1534
1532
|
menu_configuration: string;
|
|
1535
1533
|
price_group: string;
|
|
1536
|
-
link_product_rule_groups: string;
|
|
1537
|
-
};
|
|
1538
|
-
};
|
|
1539
|
-
rule_groups: {
|
|
1540
|
-
title: string;
|
|
1541
|
-
description: string;
|
|
1542
|
-
create_group: string;
|
|
1543
|
-
edit_group: string;
|
|
1544
|
-
saved_successfully: string;
|
|
1545
|
-
search_placeholder: string;
|
|
1546
|
-
table: {
|
|
1547
|
-
columns: {
|
|
1548
|
-
name: string;
|
|
1549
|
-
description: string;
|
|
1550
|
-
rules_count: string;
|
|
1551
|
-
};
|
|
1552
|
-
};
|
|
1553
|
-
form: {
|
|
1554
|
-
basic_info: string;
|
|
1555
|
-
name: string;
|
|
1556
|
-
name_placeholder: string;
|
|
1557
|
-
description: string;
|
|
1558
|
-
description_placeholder: string;
|
|
1559
|
-
rules: string;
|
|
1560
|
-
rules_description: string;
|
|
1561
|
-
};
|
|
1562
|
-
validation: {
|
|
1563
|
-
name_required: string;
|
|
1564
|
-
at_least_one_rule_required: string;
|
|
1565
|
-
};
|
|
1566
|
-
delete_dialog: {
|
|
1567
|
-
title: string;
|
|
1568
|
-
message: string;
|
|
1569
|
-
success: string;
|
|
1570
1534
|
};
|
|
1571
1535
|
};
|
|
1572
1536
|
price_tier: {
|
|
@@ -2428,9 +2392,7 @@ export declare const i18nMessages: {
|
|
|
2428
2392
|
section_title: string;
|
|
2429
2393
|
order_from: string;
|
|
2430
2394
|
restaurant_filter: string;
|
|
2431
|
-
restaurant_custom_attributes_filter: string;
|
|
2432
2395
|
item_filter: string;
|
|
2433
|
-
item_custom_attributes_filter: string;
|
|
2434
2396
|
add_rule: string;
|
|
2435
2397
|
hint: string;
|
|
2436
2398
|
};
|
|
@@ -3157,40 +3119,6 @@ export declare const i18nMessages: {
|
|
|
3157
3119
|
tabs: {
|
|
3158
3120
|
menu_configuration: string;
|
|
3159
3121
|
price_group: string;
|
|
3160
|
-
link_product_rule_groups: string;
|
|
3161
|
-
};
|
|
3162
|
-
};
|
|
3163
|
-
rule_groups: {
|
|
3164
|
-
title: string;
|
|
3165
|
-
description: string;
|
|
3166
|
-
create_group: string;
|
|
3167
|
-
edit_group: string;
|
|
3168
|
-
saved_successfully: string;
|
|
3169
|
-
search_placeholder: string;
|
|
3170
|
-
table: {
|
|
3171
|
-
columns: {
|
|
3172
|
-
name: string;
|
|
3173
|
-
description: string;
|
|
3174
|
-
rules_count: string;
|
|
3175
|
-
};
|
|
3176
|
-
};
|
|
3177
|
-
form: {
|
|
3178
|
-
basic_info: string;
|
|
3179
|
-
name: string;
|
|
3180
|
-
name_placeholder: string;
|
|
3181
|
-
description: string;
|
|
3182
|
-
description_placeholder: string;
|
|
3183
|
-
rules: string;
|
|
3184
|
-
rules_description: string;
|
|
3185
|
-
};
|
|
3186
|
-
validation: {
|
|
3187
|
-
name_required: string;
|
|
3188
|
-
at_least_one_rule_required: string;
|
|
3189
|
-
};
|
|
3190
|
-
delete_dialog: {
|
|
3191
|
-
title: string;
|
|
3192
|
-
message: string;
|
|
3193
|
-
success: string;
|
|
3194
3122
|
};
|
|
3195
3123
|
};
|
|
3196
3124
|
price_tier: {
|
|
@@ -4051,9 +3979,7 @@ export declare const i18nMessages: {
|
|
|
4051
3979
|
section_title: string;
|
|
4052
3980
|
order_from: string;
|
|
4053
3981
|
restaurant_filter: string;
|
|
4054
|
-
restaurant_custom_attributes_filter: string;
|
|
4055
3982
|
item_filter: string;
|
|
4056
|
-
item_custom_attributes_filter: string;
|
|
4057
3983
|
add_rule: string;
|
|
4058
3984
|
hint: string;
|
|
4059
3985
|
};
|
|
@@ -4780,40 +4706,6 @@ export declare const i18nMessages: {
|
|
|
4780
4706
|
tabs: {
|
|
4781
4707
|
menu_configuration: string;
|
|
4782
4708
|
price_group: string;
|
|
4783
|
-
link_product_rule_groups: string;
|
|
4784
|
-
};
|
|
4785
|
-
};
|
|
4786
|
-
rule_groups: {
|
|
4787
|
-
title: string;
|
|
4788
|
-
description: string;
|
|
4789
|
-
create_group: string;
|
|
4790
|
-
edit_group: string;
|
|
4791
|
-
saved_successfully: string;
|
|
4792
|
-
search_placeholder: string;
|
|
4793
|
-
table: {
|
|
4794
|
-
columns: {
|
|
4795
|
-
name: string;
|
|
4796
|
-
description: string;
|
|
4797
|
-
rules_count: string;
|
|
4798
|
-
};
|
|
4799
|
-
};
|
|
4800
|
-
form: {
|
|
4801
|
-
basic_info: string;
|
|
4802
|
-
name: string;
|
|
4803
|
-
name_placeholder: string;
|
|
4804
|
-
description: string;
|
|
4805
|
-
description_placeholder: string;
|
|
4806
|
-
rules: string;
|
|
4807
|
-
rules_description: string;
|
|
4808
|
-
};
|
|
4809
|
-
validation: {
|
|
4810
|
-
name_required: string;
|
|
4811
|
-
at_least_one_rule_required: string;
|
|
4812
|
-
};
|
|
4813
|
-
delete_dialog: {
|
|
4814
|
-
title: string;
|
|
4815
|
-
message: string;
|
|
4816
|
-
success: string;
|
|
4817
4709
|
};
|
|
4818
4710
|
};
|
|
4819
4711
|
price_tier: {
|
|
@@ -5675,9 +5567,7 @@ export declare const i18nMessages: {
|
|
|
5675
5567
|
section_title: string;
|
|
5676
5568
|
order_from: string;
|
|
5677
5569
|
restaurant_filter: string;
|
|
5678
|
-
restaurant_custom_attributes_filter: string;
|
|
5679
5570
|
item_filter: string;
|
|
5680
|
-
item_custom_attributes_filter: string;
|
|
5681
5571
|
add_rule: string;
|
|
5682
5572
|
hint: string;
|
|
5683
5573
|
};
|
|
@@ -6404,40 +6294,6 @@ export declare const i18nMessages: {
|
|
|
6404
6294
|
tabs: {
|
|
6405
6295
|
menu_configuration: string;
|
|
6406
6296
|
price_group: string;
|
|
6407
|
-
link_product_rule_groups: string;
|
|
6408
|
-
};
|
|
6409
|
-
};
|
|
6410
|
-
rule_groups: {
|
|
6411
|
-
title: string;
|
|
6412
|
-
description: string;
|
|
6413
|
-
create_group: string;
|
|
6414
|
-
edit_group: string;
|
|
6415
|
-
saved_successfully: string;
|
|
6416
|
-
search_placeholder: string;
|
|
6417
|
-
table: {
|
|
6418
|
-
columns: {
|
|
6419
|
-
name: string;
|
|
6420
|
-
description: string;
|
|
6421
|
-
rules_count: string;
|
|
6422
|
-
};
|
|
6423
|
-
};
|
|
6424
|
-
form: {
|
|
6425
|
-
basic_info: string;
|
|
6426
|
-
name: string;
|
|
6427
|
-
name_placeholder: string;
|
|
6428
|
-
description: string;
|
|
6429
|
-
description_placeholder: string;
|
|
6430
|
-
rules: string;
|
|
6431
|
-
rules_description: string;
|
|
6432
|
-
};
|
|
6433
|
-
validation: {
|
|
6434
|
-
name_required: string;
|
|
6435
|
-
at_least_one_rule_required: string;
|
|
6436
|
-
};
|
|
6437
|
-
delete_dialog: {
|
|
6438
|
-
title: string;
|
|
6439
|
-
message: string;
|
|
6440
|
-
success: string;
|
|
6441
6297
|
};
|
|
6442
6298
|
};
|
|
6443
6299
|
price_tier: {
|
|
@@ -3,30 +3,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
3
3
|
required: true;
|
|
4
4
|
type: import("vue").PropType<z.infer<z.ZodObject<{
|
|
5
5
|
priceTier: z.ZodString;
|
|
6
|
-
restaurantRule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
7
|
-
restaurantAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
8
|
-
restaurantCustomAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
9
|
-
}, "strip", z.ZodTypeAny, {
|
|
10
|
-
restaurantAttributes?: any;
|
|
11
|
-
restaurantCustomAttributes?: any;
|
|
12
|
-
}, {
|
|
13
|
-
restaurantAttributes?: any;
|
|
14
|
-
restaurantCustomAttributes?: any;
|
|
15
|
-
}>>>;
|
|
16
6
|
restaurantAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
17
7
|
}, "strip", z.ZodTypeAny, {
|
|
18
8
|
restaurantAttributes?: any;
|
|
19
|
-
restaurantRule?: {
|
|
20
|
-
restaurantAttributes?: any;
|
|
21
|
-
restaurantCustomAttributes?: any;
|
|
22
|
-
} | null | undefined;
|
|
23
9
|
priceTier: string;
|
|
24
10
|
}, {
|
|
25
11
|
restaurantAttributes?: any;
|
|
26
|
-
restaurantRule?: {
|
|
27
|
-
restaurantAttributes?: any;
|
|
28
|
-
restaurantCustomAttributes?: any;
|
|
29
|
-
} | null | undefined;
|
|
30
12
|
priceTier: string;
|
|
31
13
|
}>>[] | null | undefined>;
|
|
32
14
|
};
|
|
@@ -35,30 +17,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
35
17
|
required: true;
|
|
36
18
|
type: import("vue").PropType<z.infer<z.ZodObject<{
|
|
37
19
|
priceTier: z.ZodString;
|
|
38
|
-
restaurantRule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
39
|
-
restaurantAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
40
|
-
restaurantCustomAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
41
|
-
}, "strip", z.ZodTypeAny, {
|
|
42
|
-
restaurantAttributes?: any;
|
|
43
|
-
restaurantCustomAttributes?: any;
|
|
44
|
-
}, {
|
|
45
|
-
restaurantAttributes?: any;
|
|
46
|
-
restaurantCustomAttributes?: any;
|
|
47
|
-
}>>>;
|
|
48
20
|
restaurantAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
49
21
|
}, "strip", z.ZodTypeAny, {
|
|
50
22
|
restaurantAttributes?: any;
|
|
51
|
-
restaurantRule?: {
|
|
52
|
-
restaurantAttributes?: any;
|
|
53
|
-
restaurantCustomAttributes?: any;
|
|
54
|
-
} | null | undefined;
|
|
55
23
|
priceTier: string;
|
|
56
24
|
}, {
|
|
57
25
|
restaurantAttributes?: any;
|
|
58
|
-
restaurantRule?: {
|
|
59
|
-
restaurantAttributes?: any;
|
|
60
|
-
restaurantCustomAttributes?: any;
|
|
61
|
-
} | null | undefined;
|
|
62
26
|
priceTier: string;
|
|
63
27
|
}>>[] | null | undefined>;
|
|
64
28
|
};
|
|
@@ -1,21 +1,15 @@
|
|
|
1
|
-
import type { FdtoRestaurantInfo } from "@feedmepos/menu/entity";
|
|
2
1
|
interface Props {
|
|
3
2
|
fullWidth?: boolean;
|
|
4
|
-
|
|
5
|
-
restaurantCustomAttributes?: {
|
|
6
|
-
[key: string]: any;
|
|
7
|
-
} | null;
|
|
8
|
-
restaurantAttributes?: FdtoRestaurantInfo | null;
|
|
9
|
-
};
|
|
3
|
+
currentRestaurantCustomAttributes: Record<string, any>;
|
|
10
4
|
}
|
|
11
5
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
12
6
|
fullWidth: boolean;
|
|
13
7
|
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
-
confirm: (payload: Record<string,
|
|
8
|
+
confirm: (payload: Record<string, string>) => void;
|
|
15
9
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
16
10
|
fullWidth: boolean;
|
|
17
11
|
}>>> & Readonly<{
|
|
18
|
-
onConfirm?: ((payload: Record<string,
|
|
12
|
+
onConfirm?: ((payload: Record<string, string>) => any) | undefined;
|
|
19
13
|
}>, {
|
|
20
14
|
fullWidth: boolean;
|
|
21
15
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/useItemFormManagement.d.ts
CHANGED
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import { type Ref } from "vue";
|
|
2
|
+
/**
|
|
3
|
+
* Flush any pending debounced save immediately.
|
|
4
|
+
* Returns true if something was flushed, false otherwise.
|
|
5
|
+
*/
|
|
6
|
+
export declare function flushPendingItemFormSave(): boolean;
|
|
2
7
|
/**
|
|
3
8
|
* Composable to manage form validation, data manipulation and saving
|
|
4
9
|
*/
|
|
5
|
-
export declare function useItemFormManagement(itemFormRef: Ref<any>, menuStore: any
|
|
6
|
-
|
|
10
|
+
export declare function useItemFormManagement(itemFormRef: Ref<any>, menuStore: any, options?: {
|
|
11
|
+
debounceMs?: number;
|
|
12
|
+
}): {
|
|
13
|
+
saveItemFormEditingStateDebounced: (form: z.infer<z.ZodObject<{
|
|
7
14
|
_id: z.ZodString;
|
|
8
15
|
code: z.ZodString;
|
|
9
16
|
name: z.ZodString;
|