@feedmepos/mf-menu-portal 1.0.4-dev.3 → 1.0.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-nS46pByh.js → App-CgYpEYgp.js} +3 -3
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-C9OSr8ft.js → ApplyProduct.vue_vue_type_script_setup_true_lang-Hdsnu29V.js} +1 -1
- package/dist/{BindingTable.vue_vue_type_script_setup_true_lang-DnvN5R5w.js → BindingTable.vue_vue_type_script_setup_true_lang-CWe5_Sm5.js} +1 -1
- package/dist/{Catalog-B4RS8T29.js → Catalog-BrHGEI3p.js} +4 -4
- package/dist/{CatalogBinding-6_783kbu.js → CatalogBinding-BjTeOA91.js} +3 -3
- package/dist/{CatalogEditTabs.vue_vue_type_script_setup_true_lang-BawCLY5-.js → CatalogEditTabs.vue_vue_type_script_setup_true_lang-doB3hsWD.js} +3 -3
- package/dist/{CatalogEditor.vue_vue_type_script_setup_true_lang-BjP8ZXyb.js → CatalogEditor.vue_vue_type_script_setup_true_lang-BpBR-N_x.js} +7 -7
- package/dist/{CatalogLinkProductAction.vue_vue_type_script_setup_true_lang-Diapahfp.js → CatalogLinkProductAction.vue_vue_type_script_setup_true_lang-P59vHZEn.js} +14 -14
- package/dist/{Category-CqneIGq4.js → Category-6-ppsSmZ.js} +5 -5
- package/dist/{Category-DNQH1CI7.js → Category-CdsbuUqi.js} +2 -2
- package/dist/CategoryList.vue_vue_type_script_setup_true_lang-DlNUOgyu.js +847 -0
- package/dist/{CookingGuide-DTAiFmEL.js → CookingGuide-CRyRlBeV.js} +5 -5
- package/dist/{Group-5xO2j3CL.js → Group-DVrUlq4i.js} +2 -2
- package/dist/{Group-DeUqUomY.js → Group-DqyBHSFx.js} +5 -5
- package/dist/GroupList.vue_vue_type_script_setup_true_lang-oGNs8e8f.js +1807 -0
- package/dist/Ingredient-CGLfhbvN.js +505 -0
- package/dist/LinkProductSideSheet.vue_vue_type_script_setup_true_lang-C0rc1FRO.js +782 -0
- package/dist/{MenuSetting-DdekHsQy.js → MenuSetting-Oct3vbHj.js} +4 -4
- package/dist/OrderPacing-BDkzflgE.js +769 -0
- package/dist/{OrderPacingFields.vue_vue_type_script_setup_true_lang-C3SqQPSr.js → OrderPacingFields.vue_vue_type_script_setup_true_lang-B259anSs.js} +2 -2
- package/dist/{Preview-DGTw0POk.js → Preview-V9cSpevb.js} +1 -1
- package/dist/{PriceTierNotice.vue_vue_type_script_setup_true_lang-DffhFv0Y.js → PriceTierNotice.vue_vue_type_script_setup_true_lang-k5S4mGCN.js} +1 -1
- package/dist/PrintRoute-3UwiMoBU.js +518 -0
- package/dist/{Product-CsbcyIgD.js → Product-LaB-YRTQ.js} +4 -4
- package/dist/ProductAttributeFilter.vue_vue_type_script_setup_true_lang-B2KdolJS.js +7931 -0
- package/dist/{ProductEditorHost.vue_vue_type_script_setup_true_lang--rBKdKV7.js → ProductEditorHost.vue_vue_type_script_setup_true_lang-BBXGnZtc.js} +9 -9
- package/dist/ProductGroupCreateSheet.vue_vue_type_script_setup_true_lang-BUC6qUnG.js +2011 -0
- package/dist/{ProductImageEditorDialog.vue_vue_type_script_setup_true_lang-DtCzHjpN.js → ProductImageEditorDialog.vue_vue_type_script_setup_true_lang-CjQRRqBx.js} +1 -1
- package/dist/{ProductInlineCreateHost.vue_vue_type_script_setup_true_lang-aDx01-WW.js → ProductInlineCreateHost.vue_vue_type_script_setup_true_lang-3yzUcogQ.js} +630 -587
- package/dist/{ProductInternalTools-Ccd4dAmx.js → ProductInternalTools-DWCgC825.js} +2 -2
- package/dist/{ProductInventoryDialog-DYcKdKHi.js → ProductInventoryDialog-D0d5RywR.js} +1 -1
- package/dist/{ProductInventoryDialog.vue_vue_type_script_setup_true_lang-DySFcCJz.js → ProductInventoryDialog.vue_vue_type_script_setup_true_lang-CmYKO0ZX.js} +1 -1
- package/dist/ProductList.vue_vue_type_script_setup_true_lang-DeX8Exly.js +2765 -0
- package/dist/{ProductVariantTranslationSheet.vue_vue_type_script_setup_true_lang-Dw2xiPYX.js → ProductVariantTranslationSheet.vue_vue_type_script_setup_true_lang-BFD6_Sbb.js} +1 -1
- package/dist/{Products-phZwCZhU.js → Products-BLUhwFT-.js} +3 -3
- package/dist/Publish-Dkjnls7p.js +1337 -0
- package/dist/Recipe-BGfofjHT.js +388 -0
- package/dist/{Scheduler-C-A5m92O.js → Scheduler-BL7t8aS7.js} +314 -254
- package/dist/ServingSequence-CDFXMCiN.js +374 -0
- package/dist/{Setting-C24V-lps.js → Setting-gYZoZxQG.js} +6 -6
- package/dist/Subcategory-CnlrVwCy.js +459 -0
- package/dist/{Takeaway-BFP2ohJn.js → Takeaway-BWVzwWnh.js} +5 -5
- package/dist/{Takeaway-DywX5BiX.js → Takeaway-D8FzvC2w.js} +2 -2
- package/dist/{TakeawayList.vue_vue_type_script_setup_true_lang-B3QS7o1v.js → TakeawayList.vue_vue_type_script_setup_true_lang-igS-FXq5.js} +4 -4
- package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-B8nXazx6.js +1291 -0
- package/dist/Unit-Do7Tt8U8.js +424 -0
- package/dist/{Variant-BBfWhH-s.js → Variant-D1kLupxx.js} +5 -5
- package/dist/{_id_-BooM3FX1.js → _id_-DomaBHrh.js} +3 -3
- package/dist/{app-Bmgb8ACe.js → app-C_XNYz8_.js} +312 -312
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/app.d.ts +60 -0
- package/dist/apps/mf-menu/src/components/Product/BulkCategorySelect.vue.d.ts +37 -0
- package/dist/apps/mf-menu/src/components/Product/ProductAttributeFilter.vue.d.ts +11 -1
- package/dist/apps/mf-menu/src/components/ProductList.vue.d.ts +2 -2
- package/dist/apps/mf-menu/src/components/feature/NestedGroupManager/NestedGroupOverrideSheets.vue.d.ts +27 -0
- package/dist/apps/mf-menu/src/components/feature/RestaurantAttributesFilter.vue.d.ts +20 -0
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/{menu-compute-CG-fX5pi.js → menu-compute-Did75Kp9.js} +2 -2
- package/dist/assets/{validate-menu-BeGMWVns.js → validate-menu-DVMOLygB.js} +2 -2
- package/dist/mf-menu-portal.css +1 -1
- package/dist/{provide-CfF0FmUz.js → provide-Bwf3KcOV.js} +67991 -66892
- package/dist/{useActionFeedback-DyUCQl2x.js → useActionFeedback-CXx7dOVc.js} +1 -1
- package/dist/{FormSection.vue_vue_type_script_setup_true_lang-pY-_msnM.js → vuedraggable-CBtQLb_S.js} +140 -139
- package/package.json +2 -2
- package/dist/CategoryList.vue_vue_type_script_setup_true_lang-Bt_onPrP.js +0 -797
- package/dist/GroupList.vue_vue_type_script_setup_true_lang-Dgya_JLB.js +0 -2183
- package/dist/Ingredient-BlDW3TfZ.js +0 -463
- package/dist/LinkProductSideSheet.vue_vue_type_script_setup_true_lang-0tCpJlOf.js +0 -709
- package/dist/OrderPacing-Bb2n5wmI.js +0 -698
- package/dist/PrintRoute-CJB4gIP2.js +0 -473
- package/dist/ProductChipSummary.vue_vue_type_script_setup_true_lang-D8DygCBl.js +0 -110
- package/dist/ProductGroupCreateSheet.vue_vue_type_script_setup_true_lang-J6LpJ5wT.js +0 -1257
- package/dist/ProductList.vue_vue_type_script_setup_true_lang-DTLslTpK.js +0 -10353
- package/dist/Publish-BeKIXu3z.js +0 -1261
- package/dist/Recipe-Fo4tBkBv.js +0 -350
- package/dist/ServingSequence-BrCwLSO7.js +0 -336
- package/dist/Subcategory-B0oZIKbw.js +0 -412
- package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-D7mhnrXx.js +0 -1213
- package/dist/Unit-NhEwH-kr.js +0 -385
- package/dist/apps/mf-menu/src/views/MenuManagementEditor/RestaurantAttributesFilter.vue.d.ts +0 -2
package/dist/app.js
CHANGED
|
@@ -119,6 +119,7 @@ export declare const i18nMessages: {
|
|
|
119
119
|
hide_group: string;
|
|
120
120
|
hide_group_sublabel_variant: string;
|
|
121
121
|
hide_group_sublabel_product: string;
|
|
122
|
+
hide_group_sublabel_catalog: string;
|
|
122
123
|
hide_group_notice: string;
|
|
123
124
|
hide_group_notice_reset: string;
|
|
124
125
|
min_locked_while_hidden: string;
|
|
@@ -686,6 +687,8 @@ export declare const i18nMessages: {
|
|
|
686
687
|
link_products: string;
|
|
687
688
|
add_option: string;
|
|
688
689
|
pricing_unavailable: string;
|
|
690
|
+
default_menu_only: string;
|
|
691
|
+
remove_from_base_row: string;
|
|
689
692
|
unlinked_in_catalog: string;
|
|
690
693
|
not_for_sale_in_catalog: string;
|
|
691
694
|
product_title: string;
|
|
@@ -703,6 +706,7 @@ export declare const i18nMessages: {
|
|
|
703
706
|
show_in_variants: string;
|
|
704
707
|
hidden_in_variants: string;
|
|
705
708
|
shown_in_all_variants: string;
|
|
709
|
+
locked_while_hidden: string;
|
|
706
710
|
};
|
|
707
711
|
types: {
|
|
708
712
|
normal: string;
|
|
@@ -786,6 +790,11 @@ export declare const i18nMessages: {
|
|
|
786
790
|
update_requires_default_menu: string;
|
|
787
791
|
reorder_requires_default_menu: string;
|
|
788
792
|
};
|
|
793
|
+
field: {
|
|
794
|
+
default_menu_only: string;
|
|
795
|
+
bounds_not_per_scheduler: string;
|
|
796
|
+
locked_while_hidden: string;
|
|
797
|
+
};
|
|
789
798
|
name: {
|
|
790
799
|
required: string;
|
|
791
800
|
};
|
|
@@ -1429,7 +1438,9 @@ export declare const i18nMessages: {
|
|
|
1429
1438
|
no_change: string;
|
|
1430
1439
|
follow_default: string;
|
|
1431
1440
|
};
|
|
1441
|
+
created: string;
|
|
1432
1442
|
deleted: string;
|
|
1443
|
+
updated: string;
|
|
1433
1444
|
empty: string;
|
|
1434
1445
|
new_catalogs: string;
|
|
1435
1446
|
};
|
|
@@ -2339,6 +2350,7 @@ export declare const i18nMessages: {
|
|
|
2339
2350
|
filter: string;
|
|
2340
2351
|
status: {
|
|
2341
2352
|
latest: string;
|
|
2353
|
+
publishing: string;
|
|
2342
2354
|
outdated: string;
|
|
2343
2355
|
queued: string;
|
|
2344
2356
|
};
|
|
@@ -3496,6 +3508,7 @@ export declare const i18nMessages: {
|
|
|
3496
3508
|
hide_group: string;
|
|
3497
3509
|
hide_group_sublabel_variant: string;
|
|
3498
3510
|
hide_group_sublabel_product: string;
|
|
3511
|
+
hide_group_sublabel_catalog: string;
|
|
3499
3512
|
hide_group_notice: string;
|
|
3500
3513
|
hide_group_notice_reset: string;
|
|
3501
3514
|
min_locked_while_hidden: string;
|
|
@@ -4063,6 +4076,8 @@ export declare const i18nMessages: {
|
|
|
4063
4076
|
link_products: string;
|
|
4064
4077
|
add_option: string;
|
|
4065
4078
|
pricing_unavailable: string;
|
|
4079
|
+
default_menu_only: string;
|
|
4080
|
+
remove_from_base_row: string;
|
|
4066
4081
|
unlinked_in_catalog: string;
|
|
4067
4082
|
not_for_sale_in_catalog: string;
|
|
4068
4083
|
product_title: string;
|
|
@@ -4080,6 +4095,7 @@ export declare const i18nMessages: {
|
|
|
4080
4095
|
show_in_variants: string;
|
|
4081
4096
|
hidden_in_variants: string;
|
|
4082
4097
|
shown_in_all_variants: string;
|
|
4098
|
+
locked_while_hidden: string;
|
|
4083
4099
|
};
|
|
4084
4100
|
types: {
|
|
4085
4101
|
normal: string;
|
|
@@ -4163,6 +4179,11 @@ export declare const i18nMessages: {
|
|
|
4163
4179
|
update_requires_default_menu: string;
|
|
4164
4180
|
reorder_requires_default_menu: string;
|
|
4165
4181
|
};
|
|
4182
|
+
field: {
|
|
4183
|
+
default_menu_only: string;
|
|
4184
|
+
bounds_not_per_scheduler: string;
|
|
4185
|
+
locked_while_hidden: string;
|
|
4186
|
+
};
|
|
4166
4187
|
name: {
|
|
4167
4188
|
required: string;
|
|
4168
4189
|
};
|
|
@@ -4806,7 +4827,9 @@ export declare const i18nMessages: {
|
|
|
4806
4827
|
no_change: string;
|
|
4807
4828
|
follow_default: string;
|
|
4808
4829
|
};
|
|
4830
|
+
created: string;
|
|
4809
4831
|
deleted: string;
|
|
4832
|
+
updated: string;
|
|
4810
4833
|
empty: string;
|
|
4811
4834
|
new_catalogs: string;
|
|
4812
4835
|
};
|
|
@@ -5716,6 +5739,7 @@ export declare const i18nMessages: {
|
|
|
5716
5739
|
filter: string;
|
|
5717
5740
|
status: {
|
|
5718
5741
|
latest: string;
|
|
5742
|
+
publishing: string;
|
|
5719
5743
|
outdated: string;
|
|
5720
5744
|
queued: string;
|
|
5721
5745
|
};
|
|
@@ -6873,6 +6897,7 @@ export declare const i18nMessages: {
|
|
|
6873
6897
|
hide_group: string;
|
|
6874
6898
|
hide_group_sublabel_variant: string;
|
|
6875
6899
|
hide_group_sublabel_product: string;
|
|
6900
|
+
hide_group_sublabel_catalog: string;
|
|
6876
6901
|
hide_group_notice: string;
|
|
6877
6902
|
hide_group_notice_reset: string;
|
|
6878
6903
|
min_locked_while_hidden: string;
|
|
@@ -7440,6 +7465,8 @@ export declare const i18nMessages: {
|
|
|
7440
7465
|
link_products: string;
|
|
7441
7466
|
add_option: string;
|
|
7442
7467
|
pricing_unavailable: string;
|
|
7468
|
+
default_menu_only: string;
|
|
7469
|
+
remove_from_base_row: string;
|
|
7443
7470
|
unlinked_in_catalog: string;
|
|
7444
7471
|
not_for_sale_in_catalog: string;
|
|
7445
7472
|
product_title: string;
|
|
@@ -7457,6 +7484,7 @@ export declare const i18nMessages: {
|
|
|
7457
7484
|
show_in_variants: string;
|
|
7458
7485
|
hidden_in_variants: string;
|
|
7459
7486
|
shown_in_all_variants: string;
|
|
7487
|
+
locked_while_hidden: string;
|
|
7460
7488
|
};
|
|
7461
7489
|
types: {
|
|
7462
7490
|
normal: string;
|
|
@@ -7540,6 +7568,11 @@ export declare const i18nMessages: {
|
|
|
7540
7568
|
update_requires_default_menu: string;
|
|
7541
7569
|
reorder_requires_default_menu: string;
|
|
7542
7570
|
};
|
|
7571
|
+
field: {
|
|
7572
|
+
default_menu_only: string;
|
|
7573
|
+
bounds_not_per_scheduler: string;
|
|
7574
|
+
locked_while_hidden: string;
|
|
7575
|
+
};
|
|
7543
7576
|
name: {
|
|
7544
7577
|
required: string;
|
|
7545
7578
|
};
|
|
@@ -8183,7 +8216,9 @@ export declare const i18nMessages: {
|
|
|
8183
8216
|
no_change: string;
|
|
8184
8217
|
follow_default: string;
|
|
8185
8218
|
};
|
|
8219
|
+
created: string;
|
|
8186
8220
|
deleted: string;
|
|
8221
|
+
updated: string;
|
|
8187
8222
|
empty: string;
|
|
8188
8223
|
new_catalogs: string;
|
|
8189
8224
|
};
|
|
@@ -9093,6 +9128,7 @@ export declare const i18nMessages: {
|
|
|
9093
9128
|
filter: string;
|
|
9094
9129
|
status: {
|
|
9095
9130
|
latest: string;
|
|
9131
|
+
publishing: string;
|
|
9096
9132
|
outdated: string;
|
|
9097
9133
|
queued: string;
|
|
9098
9134
|
};
|
|
@@ -10253,6 +10289,7 @@ export declare const i18nMessages: {
|
|
|
10253
10289
|
hide_group: string;
|
|
10254
10290
|
hide_group_sublabel_variant: string;
|
|
10255
10291
|
hide_group_sublabel_product: string;
|
|
10292
|
+
hide_group_sublabel_catalog: string;
|
|
10256
10293
|
hide_group_notice: string;
|
|
10257
10294
|
hide_group_notice_reset: string;
|
|
10258
10295
|
min_locked_while_hidden: string;
|
|
@@ -10820,6 +10857,8 @@ export declare const i18nMessages: {
|
|
|
10820
10857
|
link_products: string;
|
|
10821
10858
|
add_option: string;
|
|
10822
10859
|
pricing_unavailable: string;
|
|
10860
|
+
default_menu_only: string;
|
|
10861
|
+
remove_from_base_row: string;
|
|
10823
10862
|
unlinked_in_catalog: string;
|
|
10824
10863
|
not_for_sale_in_catalog: string;
|
|
10825
10864
|
product_title: string;
|
|
@@ -10837,6 +10876,7 @@ export declare const i18nMessages: {
|
|
|
10837
10876
|
show_in_variants: string;
|
|
10838
10877
|
hidden_in_variants: string;
|
|
10839
10878
|
shown_in_all_variants: string;
|
|
10879
|
+
locked_while_hidden: string;
|
|
10840
10880
|
};
|
|
10841
10881
|
types: {
|
|
10842
10882
|
normal: string;
|
|
@@ -10920,6 +10960,11 @@ export declare const i18nMessages: {
|
|
|
10920
10960
|
update_requires_default_menu: string;
|
|
10921
10961
|
reorder_requires_default_menu: string;
|
|
10922
10962
|
};
|
|
10963
|
+
field: {
|
|
10964
|
+
default_menu_only: string;
|
|
10965
|
+
bounds_not_per_scheduler: string;
|
|
10966
|
+
locked_while_hidden: string;
|
|
10967
|
+
};
|
|
10923
10968
|
name: {
|
|
10924
10969
|
required: string;
|
|
10925
10970
|
};
|
|
@@ -11560,7 +11605,9 @@ export declare const i18nMessages: {
|
|
|
11560
11605
|
no_change: string;
|
|
11561
11606
|
follow_default: string;
|
|
11562
11607
|
};
|
|
11608
|
+
created: string;
|
|
11563
11609
|
deleted: string;
|
|
11610
|
+
updated: string;
|
|
11564
11611
|
empty: string;
|
|
11565
11612
|
new_catalogs: string;
|
|
11566
11613
|
};
|
|
@@ -12470,6 +12517,7 @@ export declare const i18nMessages: {
|
|
|
12470
12517
|
filter: string;
|
|
12471
12518
|
status: {
|
|
12472
12519
|
latest: string;
|
|
12520
|
+
publishing: string;
|
|
12473
12521
|
outdated: string;
|
|
12474
12522
|
queued: string;
|
|
12475
12523
|
};
|
|
@@ -13630,6 +13678,7 @@ export declare const i18nMessages: {
|
|
|
13630
13678
|
hide_group: string;
|
|
13631
13679
|
hide_group_sublabel_variant: string;
|
|
13632
13680
|
hide_group_sublabel_product: string;
|
|
13681
|
+
hide_group_sublabel_catalog: string;
|
|
13633
13682
|
hide_group_notice: string;
|
|
13634
13683
|
hide_group_notice_reset: string;
|
|
13635
13684
|
min_locked_while_hidden: string;
|
|
@@ -14197,6 +14246,8 @@ export declare const i18nMessages: {
|
|
|
14197
14246
|
link_products: string;
|
|
14198
14247
|
add_option: string;
|
|
14199
14248
|
pricing_unavailable: string;
|
|
14249
|
+
default_menu_only: string;
|
|
14250
|
+
remove_from_base_row: string;
|
|
14200
14251
|
unlinked_in_catalog: string;
|
|
14201
14252
|
not_for_sale_in_catalog: string;
|
|
14202
14253
|
product_title: string;
|
|
@@ -14214,6 +14265,7 @@ export declare const i18nMessages: {
|
|
|
14214
14265
|
show_in_variants: string;
|
|
14215
14266
|
hidden_in_variants: string;
|
|
14216
14267
|
shown_in_all_variants: string;
|
|
14268
|
+
locked_while_hidden: string;
|
|
14217
14269
|
};
|
|
14218
14270
|
types: {
|
|
14219
14271
|
normal: string;
|
|
@@ -14297,6 +14349,11 @@ export declare const i18nMessages: {
|
|
|
14297
14349
|
update_requires_default_menu: string;
|
|
14298
14350
|
reorder_requires_default_menu: string;
|
|
14299
14351
|
};
|
|
14352
|
+
field: {
|
|
14353
|
+
default_menu_only: string;
|
|
14354
|
+
bounds_not_per_scheduler: string;
|
|
14355
|
+
locked_while_hidden: string;
|
|
14356
|
+
};
|
|
14300
14357
|
name: {
|
|
14301
14358
|
required: string;
|
|
14302
14359
|
};
|
|
@@ -14937,7 +14994,9 @@ export declare const i18nMessages: {
|
|
|
14937
14994
|
no_change: string;
|
|
14938
14995
|
follow_default: string;
|
|
14939
14996
|
};
|
|
14997
|
+
created: string;
|
|
14940
14998
|
deleted: string;
|
|
14999
|
+
updated: string;
|
|
14941
15000
|
empty: string;
|
|
14942
15001
|
new_catalogs: string;
|
|
14943
15002
|
};
|
|
@@ -15847,6 +15906,7 @@ export declare const i18nMessages: {
|
|
|
15847
15906
|
filter: string;
|
|
15848
15907
|
status: {
|
|
15849
15908
|
latest: string;
|
|
15909
|
+
publishing: string;
|
|
15850
15910
|
outdated: string;
|
|
15851
15911
|
queued: string;
|
|
15852
15912
|
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The bulk-edit table's category cell: an `FmSelect` multiselect with a
|
|
3
|
+
* search box at the top of its menu.
|
|
4
|
+
*
|
|
5
|
+
* Legacy put that search into the shared `CategoriesSelector`
|
|
6
|
+
* (ITS-002659), so both the product form and the catalog bulk-edit table
|
|
7
|
+
* (`ProductTable.vue:438`) have it. The product form's port is
|
|
8
|
+
* `ProductCategoryMultiSelect`; this is the same menu without the form's
|
|
9
|
+
* "Add new Category" action, which the table never offered. The search sits
|
|
10
|
+
* in the menu rather than in FmSelect's `searchable` field for the reasons
|
|
11
|
+
* recorded there, and FmSelect keeps the full `items` so the selection still
|
|
12
|
+
* resolves through them.
|
|
13
|
+
*
|
|
14
|
+
* Every other FmSelect prop (`hideChips`, `shiftMenu`, `aria-label`, ...)
|
|
15
|
+
* falls through, and the default slot is forwarded for the cell's summary.
|
|
16
|
+
*/
|
|
17
|
+
type CategoryItem = {
|
|
18
|
+
label: string;
|
|
19
|
+
value: string;
|
|
20
|
+
};
|
|
21
|
+
type __VLS_Props = {
|
|
22
|
+
items: CategoryItem[];
|
|
23
|
+
modelValue: string[];
|
|
24
|
+
};
|
|
25
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
26
|
+
"update:modelValue": (value: string[]) => any;
|
|
27
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
28
|
+
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
29
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
30
|
+
default?: ((props: {}) => any) | undefined;
|
|
31
|
+
}>;
|
|
32
|
+
export default _default;
|
|
33
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
34
|
+
new (): {
|
|
35
|
+
$slots: S;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
@@ -2,6 +2,14 @@ import type { ItemAttributeRule, ItemListView } from '@feedmepos/menu-sdk';
|
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
rule: ItemAttributeRule | null;
|
|
4
4
|
attributes: ItemListView['attributeOptions'];
|
|
5
|
+
/**
|
|
6
|
+
* Which attribute definitions the control edits; the group list reuses
|
|
7
|
+
* it. The shared package types this field `'restaurant' | 'item'` and
|
|
8
|
+
* never reads it; legacy hands it `'group'` untyped, through
|
|
9
|
+
* `useCustomAttributes({ entity: 'group' })`. The template narrows the
|
|
10
|
+
* type where it passes the value on.
|
|
11
|
+
*/
|
|
12
|
+
entity?: 'item' | 'group';
|
|
5
13
|
};
|
|
6
14
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {
|
|
7
15
|
toggleProperty: (open: boolean) => void | undefined;
|
|
@@ -9,5 +17,7 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {
|
|
|
9
17
|
"update:rule": (value: ItemAttributeRule | null) => any;
|
|
10
18
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
19
|
"onUpdate:rule"?: ((value: ItemAttributeRule | null) => any) | undefined;
|
|
12
|
-
}>, {
|
|
20
|
+
}>, {
|
|
21
|
+
entity: "item" | "group";
|
|
22
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
23
|
export default _default;
|
|
@@ -3,11 +3,11 @@ type __VLS_Props = {
|
|
|
3
3
|
sdk: MenuSdk;
|
|
4
4
|
catalogPage?: boolean;
|
|
5
5
|
};
|
|
6
|
-
declare var __VLS_4: {},
|
|
6
|
+
declare var __VLS_4: {}, __VLS_101: {};
|
|
7
7
|
type __VLS_Slots = {} & {
|
|
8
8
|
'prepend-heading'?: (props: typeof __VLS_4) => any;
|
|
9
9
|
} & {
|
|
10
|
-
navigation?: (props: typeof
|
|
10
|
+
navigation?: (props: typeof __VLS_101) => 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;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { GroupNestedOverridesSession, MenuBinding } from '@feedmepos/menu-sdk';
|
|
2
|
+
/**
|
|
3
|
+
* The nested groups of one option row of a group draft, and the editor of
|
|
4
|
+
* each: legacy's `NestedGroupManager/NestedGroupList.vue` opening
|
|
5
|
+
* `GroupManager/UpdateForm.vue` per nested group
|
|
6
|
+
* (`GroupManager/OptionTable.vue:569-615`).
|
|
7
|
+
*
|
|
8
|
+
* Two sheets stage option rows and reach this list, the group editor and the
|
|
9
|
+
* Add group sheet, so it is one component fed by whichever draft opened it.
|
|
10
|
+
* The host owns the list session: it passes one in to open the sheets and
|
|
11
|
+
* drops it on `close`. Everything edited here stages into that host's draft;
|
|
12
|
+
* nothing is written until the host saves.
|
|
13
|
+
*/
|
|
14
|
+
type __VLS_Props = {
|
|
15
|
+
/** The tier sheet can create a price group in place. */
|
|
16
|
+
sdk: Pick<MenuBinding, 'priceTier'>;
|
|
17
|
+
/** The nested groups of the row being configured; `null` shows nothing. */
|
|
18
|
+
session: GroupNestedOverridesSession | null;
|
|
19
|
+
/** The host draft's currency, for the nested option table's price header. */
|
|
20
|
+
currencyCode?: string | null;
|
|
21
|
+
};
|
|
22
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
23
|
+
close: () => any;
|
|
24
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
25
|
+
onClose?: (() => any) | undefined;
|
|
26
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { RestaurantFilterInput, RestaurantFilterView } from '@feedmepos/menu-sdk';
|
|
2
|
+
/**
|
|
3
|
+
* Legacy's `RestaurantAttributesSelector`: previews a link-item-ruled catalog
|
|
4
|
+
* as a restaurant with the chosen attributes would see it. The tree editor
|
|
5
|
+
* and the catalog product list each publish their own filter; this renders
|
|
6
|
+
* whichever it is given and reports the confirmed selection.
|
|
7
|
+
*/
|
|
8
|
+
type __VLS_Props = {
|
|
9
|
+
filter: RestaurantFilterView | null | undefined;
|
|
10
|
+
/** The tree's sidebar stretches the chip; the product filter row does not. */
|
|
11
|
+
fullWidth?: boolean;
|
|
12
|
+
};
|
|
13
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
confirm: (selection: RestaurantFilterInput) => any;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
|
+
onConfirm?: ((selection: RestaurantFilterInput) => any) | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
fullWidth: boolean;
|
|
19
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
export default _default;
|