@feedmepos/mf-menu 0.32.3-beta.1 → 0.32.4-dev
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-DJBZBaaC.js → App-5YVGeojR.js} +5 -5
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-c9SlmPp2.js → ApplyProduct.vue_vue_type_script_setup_true_lang-DhoHYIHW.js} +20 -20
- package/dist/{Catalog-Ct9jk3A_.js → Catalog-BTNv5n_D.js} +18 -18
- package/dist/{Category-Cf5KfKdv.js → Category-BE-kkKcL.js} +22 -23
- package/dist/{Category-CTTAtG31.js → Category-DuLhbRxE.js} +21 -22
- package/dist/{CookingGuide-BaNzajgf.js → CookingGuide-JtE8QMC6.js} +92 -93
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-CRodr6tr.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-DdJ-o_PW.js} +1 -1
- package/dist/FormItem.vue_vue_type_script_setup_true_lang-B3Ixruh-.js +26 -0
- package/dist/{Group-BfRPCCbK.js → Group-BP-j3K6J.js} +1 -1
- package/dist/{Group-BJep-xq-.js → Group-DhS9e2E3.js} +3 -3
- package/dist/{Group.vue_vue_type_script_setup_true_lang-CoCq0edM.js → Group.vue_vue_type_script_setup_true_lang-DXUQrXXI.js} +33 -34
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-DviXfima.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CXzz4ClS.js} +24 -23
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-DSrxcKIK.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-Bpt-8tbe.js} +11525 -11504
- package/dist/{Ingredient-BnzW69zW.js → Ingredient-NSl0x-0T.js} +5 -6
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-D8m1pyLp.js → InventoryBinding.vue_vue_type_script_setup_true_lang-ByrNVvzs.js} +2 -2
- package/dist/LinkProductSideSheet-B_R_2iH6.js +692 -0
- package/dist/MenuSetting-C7cpv4S3.js +580 -0
- package/dist/{PrintRoute-CLsiDIkn.js → PrintRoute-DmP7KH58.js} +10 -11
- package/dist/{Product-DHE0XtX1.js → Product-B6gwN4g0.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-CVR8j-XT.js → Product.vue_vue_type_script_setup_true_lang-BKhn8Txf.js} +15 -16
- package/dist/{ProductInternalTools-BQOXHzYp.js → ProductInternalTools-D5xIh2j2.js} +5 -5
- package/dist/Products-Cxx8pJGK.js +692 -0
- package/dist/{Publish-BlEcoJaI.js → Publish-ZCzRBB5V.js} +21 -22
- package/dist/{Recipe-CkcNxf7p.js → Recipe-DcHdr_5J.js} +9 -10
- package/dist/RuleView.vue_vue_type_script_setup_true_lang-edNbsZTq.js +3282 -0
- package/dist/{Scheduler-DV0s_qkV.js → Scheduler-ZhDXk5gQ.js} +18 -19
- package/dist/{ServingSequence-CFd8Nwws.js → ServingSequence-DcfMbHjn.js} +15 -16
- package/dist/{Setting-B55IsZCX.js → Setting-fqf_sOIc.js} +45 -44
- package/dist/{Subcategory-BXCcVdR3.js → Subcategory-BidmfEOK.js} +18 -19
- package/dist/{Takeaway-BDvcwBHP.js → Takeaway-C83SKEvl.js} +1 -1
- package/dist/{Takeaway--U_lsgYi.js → Takeaway-p6thRg74.js} +4 -4
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-DaYk2xdF.js → Takeaway.vue_vue_type_script_setup_true_lang-Dq6CjXCv.js} +48 -49
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-VBpTghy9.js → Thumbnail.vue_vue_type_script_setup_true_lang-CjLOy2k9.js} +10 -10
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-IBM6rC5M.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-CWdsp9eo.js} +17 -16
- package/dist/{Unit-DkvTsQWA.js → Unit-CKIaBxVE.js} +7 -8
- package/dist/{Variant-tte76SbR.js → Variant-CE21vKC4.js} +38 -39
- package/dist/{_id_-AVMi3j91.js → _id_-BhWpg9Kj.js} +10 -10
- package/dist/{app-0s3jY-aE.js → app-BkcVM9nE.js} +1 -1
- package/dist/app-CEIhTuYG.js +363 -0
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/app.d.ts +250 -0
- package/dist/apps/mf-menu/src/components/rule_group/CatalogLinkItemRuleForm.vue.d.ts +146 -0
- package/dist/apps/mf-menu/src/components/rule_group/CatalogLinkItemRuleView.vue.d.ts +158 -0
- package/dist/apps/mf-menu/src/components/rule_group/RuleCondition.vue.d.ts +103 -0
- package/dist/apps/mf-menu/src/components/rule_group/RuleConditionListView.vue.d.ts +54 -0
- package/dist/apps/mf-menu/src/components/rule_group/RuleConditionSelector.vue.d.ts +50 -0
- package/dist/apps/mf-menu/src/components/rule_group/RuleForm.vue.d.ts +117 -0
- package/dist/apps/mf-menu/src/components/rule_group/RuleView.vue.d.ts +141 -0
- package/dist/apps/mf-menu/src/composable/attributes.d.ts +10 -0
- package/dist/apps/mf-menu/src/helper/import-export-utils.d.ts +2 -3
- package/dist/apps/mf-menu/src/helper/menuExport.d.ts +3 -1
- package/dist/apps/mf-menu/src/helper/menuImport.d.ts +3 -2
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/{linked-status-DEGoFflv.js → linked-status-CStQ46Ze.js} +2 -2
- package/dist/assets/{override-menu-CZe07SCm.js → override-menu-DHTQAnIJ.js} +2 -2
- package/dist/assets/{validate-menu-BnHfAUEN.js → validate-menu-C_kUDOhd.js} +2 -2
- package/dist/{catalog-YE_knev1.js → catalog-WBrPmQwl.js} +1 -1
- package/dist/{catalogSetting-CeVHRHOo.js → catalogSetting-BAry7I_V.js} +1 -1
- package/dist/{category-Dph1iWr8.js → category-bW36h16p.js} +1 -1
- package/dist/{currency-Byslycrk.js → currency-vVxHIVBs.js} +1 -1
- package/dist/{index-C0T32LLy.js → index-Ba5-dCQA.js} +1 -1
- package/dist/{index-CUTY6cCm.js → index-C0EV3eSc.js} +20 -20
- package/dist/{index-DycbrG1l.js → index-XZlEgR2k.js} +8 -7
- package/dist/{index-Ddt_Nw9F.js → index-pxnQHVnU.js} +4 -4
- package/dist/{menu-tHhzkxDL.js → index.vue_vue_type_script_setup_true_lang-CFPMPQFg.js} +18612 -18558
- package/dist/item-mFv0bFSn.js +7648 -0
- package/dist/{iteration-CcobmcUk.js → iteration-CaFp1Rtz.js} +3 -3
- package/dist/{jszip.min-DQrtMdm5.js → jszip.min-BkSmQKmf.js} +353 -353
- package/dist/{menu-DkRrqTVY.js → menu-ud-tWfIM.js} +1 -1
- package/dist/{menuV2-DJevKCqE.js → menuV2-xUMdUls0.js} +65 -65
- package/dist/mf-menu.css +1 -1
- package/dist/{priceTier-Bkogs1qc.js → priceTier-BVTab4k1.js} +1 -1
- package/dist/{scheduler-BGQ_lxUL.js → scheduler-CAt7sELO.js} +13 -12
- package/dist/{subcategory-DvxvLe8X.js → subcategory-DMZuedoM.js} +2 -2
- package/dist/{toExcel-DQ4jlZPI.js → toExcel-CczXOnKy.js} +2 -2
- package/dist/{unit-DoxpI5dG.js → unit-CbD3sYqC.js} +2 -2
- package/package.json +4 -3
- package/dist/LinkProductSideSheet-C4yBnJSM.js +0 -361
- package/dist/MenuSetting-Fxl8F6N5.js +0 -618
- package/dist/Products-BLvwrz9P.js +0 -689
- package/dist/app-CjfWVFOg.js +0 -363
- package/dist/customAttributes-DvbvCfOd.js +0 -180
- package/dist/index.vue_vue_type_script_setup_true_lang-B1_JqsYF.js +0 -57
- package/dist/item-x1WWjISR.js +0 -9175
package/dist/app.js
CHANGED
|
@@ -799,6 +799,13 @@ export declare const i18nMessages: {
|
|
|
799
799
|
link_product: {
|
|
800
800
|
title: string;
|
|
801
801
|
rules: {
|
|
802
|
+
availability: string;
|
|
803
|
+
and: string;
|
|
804
|
+
or: string;
|
|
805
|
+
edit_rule: string;
|
|
806
|
+
add_rule_group: string;
|
|
807
|
+
use_rule_group: string;
|
|
808
|
+
filter_result: string;
|
|
802
809
|
title: string;
|
|
803
810
|
section_title: string;
|
|
804
811
|
order_from: string;
|
|
@@ -865,6 +872,7 @@ export declare const i18nMessages: {
|
|
|
865
872
|
};
|
|
866
873
|
};
|
|
867
874
|
product: {
|
|
875
|
+
title: string;
|
|
868
876
|
form: {
|
|
869
877
|
title: {
|
|
870
878
|
add: string;
|
|
@@ -923,6 +931,7 @@ export declare const i18nMessages: {
|
|
|
923
931
|
code: {
|
|
924
932
|
label: string;
|
|
925
933
|
placeholder: string;
|
|
934
|
+
duplicate_warning: string;
|
|
926
935
|
};
|
|
927
936
|
name: {
|
|
928
937
|
label: string;
|
|
@@ -1544,6 +1553,47 @@ export declare const i18nMessages: {
|
|
|
1544
1553
|
edit_group: string;
|
|
1545
1554
|
saved_successfully: string;
|
|
1546
1555
|
search_placeholder: string;
|
|
1556
|
+
condition_view: {
|
|
1557
|
+
empty_data: {
|
|
1558
|
+
no_rules_added: string;
|
|
1559
|
+
no_rule_available: string;
|
|
1560
|
+
subtitle: string;
|
|
1561
|
+
};
|
|
1562
|
+
attribute: {
|
|
1563
|
+
restaurant_name: string;
|
|
1564
|
+
restaurant_code: string;
|
|
1565
|
+
product_code: string;
|
|
1566
|
+
product_name: string;
|
|
1567
|
+
product_category: string;
|
|
1568
|
+
};
|
|
1569
|
+
required: string;
|
|
1570
|
+
rule: string;
|
|
1571
|
+
condition: string;
|
|
1572
|
+
add_condition: string;
|
|
1573
|
+
edit_condition: string;
|
|
1574
|
+
when: string;
|
|
1575
|
+
then: string;
|
|
1576
|
+
and: string;
|
|
1577
|
+
or: string;
|
|
1578
|
+
in_rule_group: string;
|
|
1579
|
+
product_availability: string;
|
|
1580
|
+
select_item: string;
|
|
1581
|
+
operator: {
|
|
1582
|
+
equals_to: string;
|
|
1583
|
+
not_equals_to: string;
|
|
1584
|
+
in: string;
|
|
1585
|
+
not_in: string;
|
|
1586
|
+
matches_regex: string;
|
|
1587
|
+
contains: string;
|
|
1588
|
+
starts_with: string;
|
|
1589
|
+
ends_with: string;
|
|
1590
|
+
greater_than: string;
|
|
1591
|
+
greater_than_or_equals_to: string;
|
|
1592
|
+
less_than: string;
|
|
1593
|
+
less_than_or_equals_to: string;
|
|
1594
|
+
between: string;
|
|
1595
|
+
};
|
|
1596
|
+
};
|
|
1547
1597
|
table: {
|
|
1548
1598
|
columns: {
|
|
1549
1599
|
name: string;
|
|
@@ -2425,6 +2475,13 @@ export declare const i18nMessages: {
|
|
|
2425
2475
|
link_product: {
|
|
2426
2476
|
title: string;
|
|
2427
2477
|
rules: {
|
|
2478
|
+
availability: string;
|
|
2479
|
+
and: string;
|
|
2480
|
+
or: string;
|
|
2481
|
+
edit_rule: string;
|
|
2482
|
+
add_rule_group: string;
|
|
2483
|
+
use_rule_group: string;
|
|
2484
|
+
filter_result: string;
|
|
2428
2485
|
title: string;
|
|
2429
2486
|
section_title: string;
|
|
2430
2487
|
order_from: string;
|
|
@@ -2491,6 +2548,7 @@ export declare const i18nMessages: {
|
|
|
2491
2548
|
};
|
|
2492
2549
|
};
|
|
2493
2550
|
product: {
|
|
2551
|
+
title: string;
|
|
2494
2552
|
form: {
|
|
2495
2553
|
title: {
|
|
2496
2554
|
add: string;
|
|
@@ -2549,6 +2607,7 @@ export declare const i18nMessages: {
|
|
|
2549
2607
|
code: {
|
|
2550
2608
|
label: string;
|
|
2551
2609
|
placeholder: string;
|
|
2610
|
+
duplicate_warning: string;
|
|
2552
2611
|
};
|
|
2553
2612
|
name: {
|
|
2554
2613
|
label: string;
|
|
@@ -3170,6 +3229,47 @@ export declare const i18nMessages: {
|
|
|
3170
3229
|
edit_group: string;
|
|
3171
3230
|
saved_successfully: string;
|
|
3172
3231
|
search_placeholder: string;
|
|
3232
|
+
condition_view: {
|
|
3233
|
+
empty_data: {
|
|
3234
|
+
no_rules_added: string;
|
|
3235
|
+
no_rule_available: string;
|
|
3236
|
+
subtitle: string;
|
|
3237
|
+
};
|
|
3238
|
+
attribute: {
|
|
3239
|
+
restaurant_name: string;
|
|
3240
|
+
restaurant_code: string;
|
|
3241
|
+
product_code: string;
|
|
3242
|
+
product_name: string;
|
|
3243
|
+
product_category: string;
|
|
3244
|
+
};
|
|
3245
|
+
required: string;
|
|
3246
|
+
rule: string;
|
|
3247
|
+
condition: string;
|
|
3248
|
+
add_condition: string;
|
|
3249
|
+
edit_condition: string;
|
|
3250
|
+
when: string;
|
|
3251
|
+
then: string;
|
|
3252
|
+
and: string;
|
|
3253
|
+
or: string;
|
|
3254
|
+
in_rule_group: string;
|
|
3255
|
+
product_availability: string;
|
|
3256
|
+
select_item: string;
|
|
3257
|
+
operator: {
|
|
3258
|
+
equals_to: string;
|
|
3259
|
+
not_equals_to: string;
|
|
3260
|
+
in: string;
|
|
3261
|
+
not_in: string;
|
|
3262
|
+
matches_regex: string;
|
|
3263
|
+
contains: string;
|
|
3264
|
+
starts_with: string;
|
|
3265
|
+
ends_with: string;
|
|
3266
|
+
greater_than: string;
|
|
3267
|
+
greater_than_or_equals_to: string;
|
|
3268
|
+
less_than: string;
|
|
3269
|
+
less_than_or_equals_to: string;
|
|
3270
|
+
between: string;
|
|
3271
|
+
};
|
|
3272
|
+
};
|
|
3173
3273
|
table: {
|
|
3174
3274
|
columns: {
|
|
3175
3275
|
name: string;
|
|
@@ -4050,6 +4150,13 @@ export declare const i18nMessages: {
|
|
|
4050
4150
|
link_product: {
|
|
4051
4151
|
title: string;
|
|
4052
4152
|
rules: {
|
|
4153
|
+
availability: string;
|
|
4154
|
+
and: string;
|
|
4155
|
+
or: string;
|
|
4156
|
+
edit_rule: string;
|
|
4157
|
+
add_rule_group: string;
|
|
4158
|
+
use_rule_group: string;
|
|
4159
|
+
filter_result: string;
|
|
4053
4160
|
title: string;
|
|
4054
4161
|
section_title: string;
|
|
4055
4162
|
order_from: string;
|
|
@@ -4116,6 +4223,7 @@ export declare const i18nMessages: {
|
|
|
4116
4223
|
};
|
|
4117
4224
|
};
|
|
4118
4225
|
product: {
|
|
4226
|
+
title: string;
|
|
4119
4227
|
form: {
|
|
4120
4228
|
title: {
|
|
4121
4229
|
add: string;
|
|
@@ -4174,6 +4282,7 @@ export declare const i18nMessages: {
|
|
|
4174
4282
|
code: {
|
|
4175
4283
|
label: string;
|
|
4176
4284
|
placeholder: string;
|
|
4285
|
+
duplicate_warning: string;
|
|
4177
4286
|
};
|
|
4178
4287
|
name: {
|
|
4179
4288
|
label: string;
|
|
@@ -4795,6 +4904,47 @@ export declare const i18nMessages: {
|
|
|
4795
4904
|
edit_group: string;
|
|
4796
4905
|
saved_successfully: string;
|
|
4797
4906
|
search_placeholder: string;
|
|
4907
|
+
condition_view: {
|
|
4908
|
+
empty_data: {
|
|
4909
|
+
no_rules_added: string;
|
|
4910
|
+
no_rule_available: string;
|
|
4911
|
+
subtitle: string;
|
|
4912
|
+
};
|
|
4913
|
+
attribute: {
|
|
4914
|
+
restaurant_name: string;
|
|
4915
|
+
restaurant_code: string;
|
|
4916
|
+
product_code: string;
|
|
4917
|
+
product_name: string;
|
|
4918
|
+
product_category: string;
|
|
4919
|
+
};
|
|
4920
|
+
required: string;
|
|
4921
|
+
rule: string;
|
|
4922
|
+
condition: string;
|
|
4923
|
+
add_condition: string;
|
|
4924
|
+
edit_condition: string;
|
|
4925
|
+
when: string;
|
|
4926
|
+
then: string;
|
|
4927
|
+
and: string;
|
|
4928
|
+
or: string;
|
|
4929
|
+
in_rule_group: string;
|
|
4930
|
+
product_availability: string;
|
|
4931
|
+
select_item: string;
|
|
4932
|
+
operator: {
|
|
4933
|
+
equals_to: string;
|
|
4934
|
+
not_equals_to: string;
|
|
4935
|
+
in: string;
|
|
4936
|
+
not_in: string;
|
|
4937
|
+
matches_regex: string;
|
|
4938
|
+
contains: string;
|
|
4939
|
+
starts_with: string;
|
|
4940
|
+
ends_with: string;
|
|
4941
|
+
greater_than: string;
|
|
4942
|
+
greater_than_or_equals_to: string;
|
|
4943
|
+
less_than: string;
|
|
4944
|
+
less_than_or_equals_to: string;
|
|
4945
|
+
between: string;
|
|
4946
|
+
};
|
|
4947
|
+
};
|
|
4798
4948
|
table: {
|
|
4799
4949
|
columns: {
|
|
4800
4950
|
name: string;
|
|
@@ -5676,6 +5826,13 @@ export declare const i18nMessages: {
|
|
|
5676
5826
|
link_product: {
|
|
5677
5827
|
title: string;
|
|
5678
5828
|
rules: {
|
|
5829
|
+
availability: string;
|
|
5830
|
+
and: string;
|
|
5831
|
+
or: string;
|
|
5832
|
+
edit_rule: string;
|
|
5833
|
+
add_rule_group: string;
|
|
5834
|
+
use_rule_group: string;
|
|
5835
|
+
filter_result: string;
|
|
5679
5836
|
title: string;
|
|
5680
5837
|
section_title: string;
|
|
5681
5838
|
order_from: string;
|
|
@@ -5742,6 +5899,7 @@ export declare const i18nMessages: {
|
|
|
5742
5899
|
};
|
|
5743
5900
|
};
|
|
5744
5901
|
product: {
|
|
5902
|
+
title: string;
|
|
5745
5903
|
form: {
|
|
5746
5904
|
title: {
|
|
5747
5905
|
add: string;
|
|
@@ -5800,6 +5958,7 @@ export declare const i18nMessages: {
|
|
|
5800
5958
|
code: {
|
|
5801
5959
|
label: string;
|
|
5802
5960
|
placeholder: string;
|
|
5961
|
+
duplicate_warning: string;
|
|
5803
5962
|
};
|
|
5804
5963
|
name: {
|
|
5805
5964
|
label: string;
|
|
@@ -6421,6 +6580,47 @@ export declare const i18nMessages: {
|
|
|
6421
6580
|
edit_group: string;
|
|
6422
6581
|
saved_successfully: string;
|
|
6423
6582
|
search_placeholder: string;
|
|
6583
|
+
condition_view: {
|
|
6584
|
+
empty_data: {
|
|
6585
|
+
no_rules_added: string;
|
|
6586
|
+
no_rule_available: string;
|
|
6587
|
+
subtitle: string;
|
|
6588
|
+
};
|
|
6589
|
+
attribute: {
|
|
6590
|
+
restaurant_name: string;
|
|
6591
|
+
restaurant_code: string;
|
|
6592
|
+
product_code: string;
|
|
6593
|
+
product_name: string;
|
|
6594
|
+
product_category: string;
|
|
6595
|
+
};
|
|
6596
|
+
required: string;
|
|
6597
|
+
rule: string;
|
|
6598
|
+
condition: string;
|
|
6599
|
+
add_condition: string;
|
|
6600
|
+
edit_condition: string;
|
|
6601
|
+
when: string;
|
|
6602
|
+
then: string;
|
|
6603
|
+
and: string;
|
|
6604
|
+
or: string;
|
|
6605
|
+
in_rule_group: string;
|
|
6606
|
+
product_availability: string;
|
|
6607
|
+
select_item: string;
|
|
6608
|
+
operator: {
|
|
6609
|
+
equals_to: string;
|
|
6610
|
+
not_equals_to: string;
|
|
6611
|
+
in: string;
|
|
6612
|
+
not_in: string;
|
|
6613
|
+
matches_regex: string;
|
|
6614
|
+
contains: string;
|
|
6615
|
+
starts_with: string;
|
|
6616
|
+
ends_with: string;
|
|
6617
|
+
greater_than: string;
|
|
6618
|
+
greater_than_or_equals_to: string;
|
|
6619
|
+
less_than: string;
|
|
6620
|
+
less_than_or_equals_to: string;
|
|
6621
|
+
between: string;
|
|
6622
|
+
};
|
|
6623
|
+
};
|
|
6424
6624
|
table: {
|
|
6425
6625
|
columns: {
|
|
6426
6626
|
name: string;
|
|
@@ -7302,6 +7502,13 @@ export declare const i18nMessages: {
|
|
|
7302
7502
|
link_product: {
|
|
7303
7503
|
title: string;
|
|
7304
7504
|
rules: {
|
|
7505
|
+
availability: string;
|
|
7506
|
+
and: string;
|
|
7507
|
+
or: string;
|
|
7508
|
+
edit_rule: string;
|
|
7509
|
+
add_rule_group: string;
|
|
7510
|
+
use_rule_group: string;
|
|
7511
|
+
filter_result: string;
|
|
7305
7512
|
title: string;
|
|
7306
7513
|
section_title: string;
|
|
7307
7514
|
order_from: string;
|
|
@@ -7368,6 +7575,7 @@ export declare const i18nMessages: {
|
|
|
7368
7575
|
};
|
|
7369
7576
|
};
|
|
7370
7577
|
product: {
|
|
7578
|
+
title: string;
|
|
7371
7579
|
form: {
|
|
7372
7580
|
title: {
|
|
7373
7581
|
add: string;
|
|
@@ -7426,6 +7634,7 @@ export declare const i18nMessages: {
|
|
|
7426
7634
|
code: {
|
|
7427
7635
|
label: string;
|
|
7428
7636
|
placeholder: string;
|
|
7637
|
+
duplicate_warning: string;
|
|
7429
7638
|
};
|
|
7430
7639
|
name: {
|
|
7431
7640
|
label: string;
|
|
@@ -8047,6 +8256,47 @@ export declare const i18nMessages: {
|
|
|
8047
8256
|
edit_group: string;
|
|
8048
8257
|
saved_successfully: string;
|
|
8049
8258
|
search_placeholder: string;
|
|
8259
|
+
condition_view: {
|
|
8260
|
+
empty_data: {
|
|
8261
|
+
no_rules_added: string;
|
|
8262
|
+
no_rule_available: string;
|
|
8263
|
+
subtitle: string;
|
|
8264
|
+
};
|
|
8265
|
+
attribute: {
|
|
8266
|
+
restaurant_name: string;
|
|
8267
|
+
restaurant_code: string;
|
|
8268
|
+
product_code: string;
|
|
8269
|
+
product_name: string;
|
|
8270
|
+
product_category: string;
|
|
8271
|
+
};
|
|
8272
|
+
required: string;
|
|
8273
|
+
rule: string;
|
|
8274
|
+
condition: string;
|
|
8275
|
+
add_condition: string;
|
|
8276
|
+
edit_condition: string;
|
|
8277
|
+
when: string;
|
|
8278
|
+
then: string;
|
|
8279
|
+
and: string;
|
|
8280
|
+
or: string;
|
|
8281
|
+
in_rule_group: string;
|
|
8282
|
+
product_availability: string;
|
|
8283
|
+
select_item: string;
|
|
8284
|
+
operator: {
|
|
8285
|
+
equals_to: string;
|
|
8286
|
+
not_equals_to: string;
|
|
8287
|
+
in: string;
|
|
8288
|
+
not_in: string;
|
|
8289
|
+
matches_regex: string;
|
|
8290
|
+
contains: string;
|
|
8291
|
+
starts_with: string;
|
|
8292
|
+
ends_with: string;
|
|
8293
|
+
greater_than: string;
|
|
8294
|
+
greater_than_or_equals_to: string;
|
|
8295
|
+
less_than: string;
|
|
8296
|
+
less_than_or_equals_to: string;
|
|
8297
|
+
between: string;
|
|
8298
|
+
};
|
|
8299
|
+
};
|
|
8050
8300
|
table: {
|
|
8051
8301
|
columns: {
|
|
8052
8302
|
name: string;
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import { type PropType } from "vue";
|
|
2
|
+
import { FdoMenuRule } from "@feedmepos/menu/entity";
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
isEditMode: {
|
|
5
|
+
type: BooleanConstructor;
|
|
6
|
+
default: boolean;
|
|
7
|
+
};
|
|
8
|
+
orderFrom: {
|
|
9
|
+
type: PropType<string>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
existingRuleGroups: {
|
|
13
|
+
type: PropType<{
|
|
14
|
+
id: string;
|
|
15
|
+
name: string;
|
|
16
|
+
rules: FdoMenuRule[];
|
|
17
|
+
}[]>;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
groupCustomRule: {
|
|
21
|
+
type: PropType<z.infer<z.ZodObject<{
|
|
22
|
+
_id: z.ZodString;
|
|
23
|
+
restaurantRule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
24
|
+
restaurantAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
25
|
+
restaurantCustomAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
26
|
+
}, "strip", z.ZodTypeAny, {
|
|
27
|
+
restaurantAttributes?: any;
|
|
28
|
+
restaurantCustomAttributes?: any;
|
|
29
|
+
}, {
|
|
30
|
+
restaurantAttributes?: any;
|
|
31
|
+
restaurantCustomAttributes?: any;
|
|
32
|
+
}>>>;
|
|
33
|
+
itemRule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
34
|
+
itemAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
35
|
+
itemCustomAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
36
|
+
}, "strip", z.ZodTypeAny, {
|
|
37
|
+
itemAttributes?: any;
|
|
38
|
+
itemCustomAttributes?: any;
|
|
39
|
+
}, {
|
|
40
|
+
itemAttributes?: any;
|
|
41
|
+
itemCustomAttributes?: any;
|
|
42
|
+
}>>>;
|
|
43
|
+
}, "strip", z.ZodTypeAny, {
|
|
44
|
+
restaurantRule?: {
|
|
45
|
+
restaurantAttributes?: any;
|
|
46
|
+
restaurantCustomAttributes?: any;
|
|
47
|
+
} | null | undefined;
|
|
48
|
+
itemRule?: {
|
|
49
|
+
itemAttributes?: any;
|
|
50
|
+
itemCustomAttributes?: any;
|
|
51
|
+
} | null | undefined;
|
|
52
|
+
_id: string;
|
|
53
|
+
}, {
|
|
54
|
+
restaurantRule?: {
|
|
55
|
+
restaurantAttributes?: any;
|
|
56
|
+
restaurantCustomAttributes?: any;
|
|
57
|
+
} | null | undefined;
|
|
58
|
+
itemRule?: {
|
|
59
|
+
itemAttributes?: any;
|
|
60
|
+
itemCustomAttributes?: any;
|
|
61
|
+
} | null | undefined;
|
|
62
|
+
_id: string;
|
|
63
|
+
}>>>;
|
|
64
|
+
required: true;
|
|
65
|
+
};
|
|
66
|
+
convertCategoryIdToName: {
|
|
67
|
+
type: PropType<(rule: any) => any>;
|
|
68
|
+
required: true;
|
|
69
|
+
};
|
|
70
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
71
|
+
"update:modelValue": (...args: any[]) => void;
|
|
72
|
+
"close-form": (...args: any[]) => void;
|
|
73
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
74
|
+
isEditMode: {
|
|
75
|
+
type: BooleanConstructor;
|
|
76
|
+
default: boolean;
|
|
77
|
+
};
|
|
78
|
+
orderFrom: {
|
|
79
|
+
type: PropType<string>;
|
|
80
|
+
required: true;
|
|
81
|
+
};
|
|
82
|
+
existingRuleGroups: {
|
|
83
|
+
type: PropType<{
|
|
84
|
+
id: string;
|
|
85
|
+
name: string;
|
|
86
|
+
rules: FdoMenuRule[];
|
|
87
|
+
}[]>;
|
|
88
|
+
required: true;
|
|
89
|
+
};
|
|
90
|
+
groupCustomRule: {
|
|
91
|
+
type: PropType<z.infer<z.ZodObject<{
|
|
92
|
+
_id: z.ZodString;
|
|
93
|
+
restaurantRule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
94
|
+
restaurantAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
95
|
+
restaurantCustomAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
96
|
+
}, "strip", z.ZodTypeAny, {
|
|
97
|
+
restaurantAttributes?: any;
|
|
98
|
+
restaurantCustomAttributes?: any;
|
|
99
|
+
}, {
|
|
100
|
+
restaurantAttributes?: any;
|
|
101
|
+
restaurantCustomAttributes?: any;
|
|
102
|
+
}>>>;
|
|
103
|
+
itemRule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
104
|
+
itemAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
105
|
+
itemCustomAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
106
|
+
}, "strip", z.ZodTypeAny, {
|
|
107
|
+
itemAttributes?: any;
|
|
108
|
+
itemCustomAttributes?: any;
|
|
109
|
+
}, {
|
|
110
|
+
itemAttributes?: any;
|
|
111
|
+
itemCustomAttributes?: any;
|
|
112
|
+
}>>>;
|
|
113
|
+
}, "strip", z.ZodTypeAny, {
|
|
114
|
+
restaurantRule?: {
|
|
115
|
+
restaurantAttributes?: any;
|
|
116
|
+
restaurantCustomAttributes?: any;
|
|
117
|
+
} | null | undefined;
|
|
118
|
+
itemRule?: {
|
|
119
|
+
itemAttributes?: any;
|
|
120
|
+
itemCustomAttributes?: any;
|
|
121
|
+
} | null | undefined;
|
|
122
|
+
_id: string;
|
|
123
|
+
}, {
|
|
124
|
+
restaurantRule?: {
|
|
125
|
+
restaurantAttributes?: any;
|
|
126
|
+
restaurantCustomAttributes?: any;
|
|
127
|
+
} | null | undefined;
|
|
128
|
+
itemRule?: {
|
|
129
|
+
itemAttributes?: any;
|
|
130
|
+
itemCustomAttributes?: any;
|
|
131
|
+
} | null | undefined;
|
|
132
|
+
_id: string;
|
|
133
|
+
}>>>;
|
|
134
|
+
required: true;
|
|
135
|
+
};
|
|
136
|
+
convertCategoryIdToName: {
|
|
137
|
+
type: PropType<(rule: any) => any>;
|
|
138
|
+
required: true;
|
|
139
|
+
};
|
|
140
|
+
}>> & Readonly<{
|
|
141
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
142
|
+
"onClose-form"?: ((...args: any[]) => any) | undefined;
|
|
143
|
+
}>, {
|
|
144
|
+
isEditMode: boolean;
|
|
145
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
146
|
+
export default _default;
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import { type PropType } from "vue";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
+
modelValue: {
|
|
4
|
+
type: PropType<z.infer<z.ZodObject<{
|
|
5
|
+
orderFrom: z.ZodEnum<["ALL", "POS_ONLY", "NONE"]>;
|
|
6
|
+
ruleGroupIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
7
|
+
restaurantRule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
8
|
+
restaurantAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
9
|
+
restaurantCustomAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
10
|
+
}, "strip", z.ZodTypeAny, {
|
|
11
|
+
restaurantAttributes?: any;
|
|
12
|
+
restaurantCustomAttributes?: any;
|
|
13
|
+
}, {
|
|
14
|
+
restaurantAttributes?: any;
|
|
15
|
+
restaurantCustomAttributes?: any;
|
|
16
|
+
}>>>;
|
|
17
|
+
itemRule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
18
|
+
itemAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
19
|
+
itemCustomAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
20
|
+
}, "strip", z.ZodTypeAny, {
|
|
21
|
+
itemAttributes?: any;
|
|
22
|
+
itemCustomAttributes?: any;
|
|
23
|
+
}, {
|
|
24
|
+
itemAttributes?: any;
|
|
25
|
+
itemCustomAttributes?: any;
|
|
26
|
+
}>>>;
|
|
27
|
+
restaurantAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
28
|
+
itemAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
29
|
+
}, "strip", z.ZodTypeAny, {
|
|
30
|
+
restaurantAttributes?: any;
|
|
31
|
+
itemAttributes?: any;
|
|
32
|
+
restaurantRule?: {
|
|
33
|
+
restaurantAttributes?: any;
|
|
34
|
+
restaurantCustomAttributes?: any;
|
|
35
|
+
} | null | undefined;
|
|
36
|
+
ruleGroupIds?: string[] | null | undefined;
|
|
37
|
+
itemRule?: {
|
|
38
|
+
itemAttributes?: any;
|
|
39
|
+
itemCustomAttributes?: any;
|
|
40
|
+
} | null | undefined;
|
|
41
|
+
orderFrom: "ALL" | "POS_ONLY" | "NONE";
|
|
42
|
+
}, {
|
|
43
|
+
restaurantAttributes?: any;
|
|
44
|
+
itemAttributes?: any;
|
|
45
|
+
restaurantRule?: {
|
|
46
|
+
restaurantAttributes?: any;
|
|
47
|
+
restaurantCustomAttributes?: any;
|
|
48
|
+
} | null | undefined;
|
|
49
|
+
ruleGroupIds?: string[] | null | undefined;
|
|
50
|
+
itemRule?: {
|
|
51
|
+
itemAttributes?: any;
|
|
52
|
+
itemCustomAttributes?: any;
|
|
53
|
+
} | null | undefined;
|
|
54
|
+
orderFrom: "ALL" | "POS_ONLY" | "NONE";
|
|
55
|
+
}>>>;
|
|
56
|
+
required: true;
|
|
57
|
+
};
|
|
58
|
+
index: {
|
|
59
|
+
type: NumberConstructor;
|
|
60
|
+
required: true;
|
|
61
|
+
};
|
|
62
|
+
convertCategoryIdToName: {
|
|
63
|
+
type: PropType<(rule: any) => any>;
|
|
64
|
+
required: true;
|
|
65
|
+
};
|
|
66
|
+
showForm: {
|
|
67
|
+
type: BooleanConstructor;
|
|
68
|
+
default: boolean;
|
|
69
|
+
};
|
|
70
|
+
isDraft: {
|
|
71
|
+
type: BooleanConstructor;
|
|
72
|
+
default: boolean;
|
|
73
|
+
};
|
|
74
|
+
}>, {
|
|
75
|
+
showForm: import("vue").Ref<boolean, boolean>;
|
|
76
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
77
|
+
"update:model-value": (...args: any[]) => void;
|
|
78
|
+
"delete-rule": (...args: any[]) => void;
|
|
79
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
80
|
+
modelValue: {
|
|
81
|
+
type: PropType<z.infer<z.ZodObject<{
|
|
82
|
+
orderFrom: z.ZodEnum<["ALL", "POS_ONLY", "NONE"]>;
|
|
83
|
+
ruleGroupIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
84
|
+
restaurantRule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
85
|
+
restaurantAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
86
|
+
restaurantCustomAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
87
|
+
}, "strip", z.ZodTypeAny, {
|
|
88
|
+
restaurantAttributes?: any;
|
|
89
|
+
restaurantCustomAttributes?: any;
|
|
90
|
+
}, {
|
|
91
|
+
restaurantAttributes?: any;
|
|
92
|
+
restaurantCustomAttributes?: any;
|
|
93
|
+
}>>>;
|
|
94
|
+
itemRule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
95
|
+
itemAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
96
|
+
itemCustomAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
97
|
+
}, "strip", z.ZodTypeAny, {
|
|
98
|
+
itemAttributes?: any;
|
|
99
|
+
itemCustomAttributes?: any;
|
|
100
|
+
}, {
|
|
101
|
+
itemAttributes?: any;
|
|
102
|
+
itemCustomAttributes?: any;
|
|
103
|
+
}>>>;
|
|
104
|
+
restaurantAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
105
|
+
itemAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
106
|
+
}, "strip", z.ZodTypeAny, {
|
|
107
|
+
restaurantAttributes?: any;
|
|
108
|
+
itemAttributes?: any;
|
|
109
|
+
restaurantRule?: {
|
|
110
|
+
restaurantAttributes?: any;
|
|
111
|
+
restaurantCustomAttributes?: any;
|
|
112
|
+
} | null | undefined;
|
|
113
|
+
ruleGroupIds?: string[] | null | undefined;
|
|
114
|
+
itemRule?: {
|
|
115
|
+
itemAttributes?: any;
|
|
116
|
+
itemCustomAttributes?: any;
|
|
117
|
+
} | null | undefined;
|
|
118
|
+
orderFrom: "ALL" | "POS_ONLY" | "NONE";
|
|
119
|
+
}, {
|
|
120
|
+
restaurantAttributes?: any;
|
|
121
|
+
itemAttributes?: any;
|
|
122
|
+
restaurantRule?: {
|
|
123
|
+
restaurantAttributes?: any;
|
|
124
|
+
restaurantCustomAttributes?: any;
|
|
125
|
+
} | null | undefined;
|
|
126
|
+
ruleGroupIds?: string[] | null | undefined;
|
|
127
|
+
itemRule?: {
|
|
128
|
+
itemAttributes?: any;
|
|
129
|
+
itemCustomAttributes?: any;
|
|
130
|
+
} | null | undefined;
|
|
131
|
+
orderFrom: "ALL" | "POS_ONLY" | "NONE";
|
|
132
|
+
}>>>;
|
|
133
|
+
required: true;
|
|
134
|
+
};
|
|
135
|
+
index: {
|
|
136
|
+
type: NumberConstructor;
|
|
137
|
+
required: true;
|
|
138
|
+
};
|
|
139
|
+
convertCategoryIdToName: {
|
|
140
|
+
type: PropType<(rule: any) => any>;
|
|
141
|
+
required: true;
|
|
142
|
+
};
|
|
143
|
+
showForm: {
|
|
144
|
+
type: BooleanConstructor;
|
|
145
|
+
default: boolean;
|
|
146
|
+
};
|
|
147
|
+
isDraft: {
|
|
148
|
+
type: BooleanConstructor;
|
|
149
|
+
default: boolean;
|
|
150
|
+
};
|
|
151
|
+
}>> & Readonly<{
|
|
152
|
+
"onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
|
|
153
|
+
"onDelete-rule"?: ((...args: any[]) => any) | undefined;
|
|
154
|
+
}>, {
|
|
155
|
+
showForm: boolean;
|
|
156
|
+
isDraft: boolean;
|
|
157
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
158
|
+
export default _default;
|