@feedmepos/mf-inventory-portal 1.8.0-dev.4 → 1.8.0-dev.6
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-FeJnwZme.js → App-B8DzC8Td.js} +609 -558
- package/dist/{ApprovalView-Eo-cGWyA.js → ApprovalView-DwHtlnLK.js} +9 -9
- package/dist/{BindingsDialog-DkjuXydb.js → BindingsDialog-COSQ6XVU.js} +2 -2
- package/dist/{BindingsPicker-DUOQcOlj.js → BindingsPicker-vn2GwOb7.js} +2 -2
- package/dist/{BindingsTable-CoDdU5xh.js → BindingsTable-B3-YXiPU.js} +4 -4
- package/dist/{BulkReceiveRequestView-BGh8fbEX.js → BulkReceiveRequestView-LUAuL39I.js} +19 -19
- package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-CStISRqy.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-Bq2bBCHH.js} +1 -1
- package/dist/{ClosingDraftView-Cwnhrv5P.js → ClosingDraftView-BKgjXfss.js} +20 -20
- package/dist/{ClosingHistoryView-oHf77Lal.js → ClosingHistoryView-BI_zufKI.js} +5 -5
- package/dist/{ClosingTemplateView-1P8J1vAn.js → ClosingTemplateView-CNNgkrX0.js} +18 -18
- package/dist/{CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-BuEPaqQK.js → CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-DGxUjcQc.js} +1 -1
- package/dist/{DefaultView-3Z8aVFSU.js → DefaultView-D9ldG5wf.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-uT_e3Suw.js → DeliveryOrderPrintPreview-CnvuZat5.js} +2 -2
- package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-BCgnXxEi.js → EmailDialog.vue_vue_type_script_setup_true_lang-s0eDfL8g.js} +23 -23
- package/dist/FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-2t_ajTtF.js +297 -0
- package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-BlKpGdCx.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-Bo4aCSFL.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DKkxn1J-.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BhhKFtnX.js} +2 -2
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-dOXDST-E.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-Dx8b6nGn.js} +2 -2
- package/dist/FmMultiselectDialog-Coxul96n.js +123 -0
- package/dist/{FmMultiselectDialog-DRxZAkcu.js → FmMultiselectDialog-zaOH0oB9.js} +2 -2
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DRSzQqVJ.js → FmUnitInput.vue_vue_type_script_setup_true_lang-B0xT-sP9.js} +6 -6
- package/dist/ImportView-CuRogJ1u.js +1291 -0
- package/dist/{IngredientsView-N9U7tdI_.js → IngredientsView-BnEJ1QAk.js} +34 -35
- package/dist/{IntegrationExplorerView-CjmeGQ14.js → IntegrationExplorerView-DB-7hXUE.js} +4 -4
- package/dist/{IntegrationView-DAdpmuxx.js → IntegrationView-CBGPi1xL.js} +973 -974
- package/dist/{InventoryBindingForm-CAj3MurI.js → InventoryBindingForm-eggGypKW.js} +1 -1
- package/dist/InventoryBindingForm.vue_vue_type_script_setup_true_lang-CvQ82oaY.js +472 -0
- package/dist/{InventoryBindingSummary-B-1OBUdw.js → InventoryBindingSummary-DegINJdx.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CUYYEuW3.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DYq61C5M.js} +1 -1
- package/dist/{ProductionRunDetailView-eFvl8-By.js → ProductionRunDetailView-6uJmjwAg.js} +4 -4
- package/dist/{ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-DaC7e4qS.js → ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-Dcd3sV5C.js} +9 -9
- package/dist/{ProductionRunView-C_NJJKLr.js → ProductionRunView-CiypqoQT.js} +3 -3
- package/dist/{PublishView-BglAEkzU.js → PublishView-DEyODScT.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-BTF9ikpQ.js → PurchaseOrderPrintPreview-DjsD8HaB.js} +2 -2
- package/dist/{ReceiveRequestView-BUvehG10.js → ReceiveRequestView-DGWA-SOC.js} +13 -13
- package/dist/RecipeView-CO5kxazA.js +3428 -0
- package/dist/{SettingsView-DRR86cHo.js → SettingsView-9uq0QYht.js} +164 -168
- package/dist/{StockView-D1oEnbZp.js → StockView-YKfyjTE1.js} +267 -267
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CxU92-io.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-C8q3IBMg.js} +1 -1
- package/dist/{SupplierView-D68wz0-g.js → SupplierView-D62RB87K.js} +14 -14
- package/dist/{SurchargeView-Cw9rTw2h.js → SurchargeView-DY4xuPN0.js} +7 -7
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-Az-a1Dsp.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-C27rA7Z_.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-C-sxbacO.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-BhhvJtAf.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-CsHfLaCv.js → TransferDetails.vue_vue_type_script_setup_true_lang-cvgA7DlK.js} +690 -666
- package/dist/{TransferTemplateView-CHPJMjYC.js → TransferTemplateView-DZk-6Z-1.js} +20 -20
- package/dist/{UnitCostHistoryView-DM8OzWhe.js → UnitCostHistoryView-C-aNhP72.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-DpwK5mFH.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-D655ehgk.js} +4 -4
- package/dist/{UnitView-90uR-ZzQ.js → UnitView-h2n8XNZr.js} +8 -8
- package/dist/{WarehouseView-Bulg6Vac.js → WarehouseView-gPPmrhxB.js} +8 -8
- package/dist/{WastageTemplateView-BmAHnnwm.js → WastageTemplateView-7bp-1vTP.js} +15 -15
- package/dist/api/feature-flags.d.ts +2 -0
- package/dist/api/license.d.ts +0 -2
- package/dist/{app-Ccdgbe4f.js → app-_FoXoYBy.js} +1640 -1829
- package/dist/app.d.ts +0 -150
- package/dist/app.js +1 -1
- package/dist/{closing-template-DuBZxoXx.js → closing-template-D8bk-LUW.js} +1 -1
- package/dist/{date2-IBrLdtni.js → date2-DE0h0f1Z.js} +1 -1
- package/dist/{dayjs.min-DEkq-Hpp.js → dayjs.min-DxnjPhAT.js} +1 -1
- package/dist/{decimal-g6jRdlSk.js → decimal-D9ZB4atK.js} +2 -2
- package/dist/{defineDeepModel-P5a5Ffpn.js → defineDeepModel-pn4B1f06.js} +1 -1
- package/dist/{duplicate-template-Do8s80ei.js → duplicate-template-DS-mr3MQ.js} +1 -1
- package/dist/{feature-ChVm5JED.js → feature-D0aaeyga.js} +1999 -3092
- package/dist/feature-flags/portal-feature-catalog.d.ts +0 -2
- package/dist/{format-time-from-id-BgbBOII7.js → format-time-from-id-CbFUj3BY.js} +1 -1
- package/dist/{format-unit-display-hSXy2iu6.js → format-unit-display-DulZiawi.js} +13 -13
- package/dist/helper/menu-usage-module.d.ts +1 -1
- package/dist/{id-to-date-DlGYysU8.js → id-to-date-CLCvDHvP.js} +1 -1
- package/dist/{import-export.helper-LrZhiz2W.js → import-export.helper-Ce1hr39u.js} +6 -6
- package/dist/{index-DCiNwlw2.js → index-DDw8ryXI.js} +1 -1
- package/dist/{index-DsOmtywr.js → index-DpxJ3TzB.js} +1 -1
- package/dist/{index-BTNJ1fk2.js → index-DrkUq9y6.js} +3 -3
- package/dist/{lz-string-DRuyjE9G.js → lz-string-BakfyAq0.js} +1 -1
- package/dist/{netsuite-B6y8GZCP.js → netsuite-Cn2W-lOV.js} +2 -2
- package/dist/{number-Besn-1-5.js → number-B2-Gbof3.js} +3 -3
- package/dist/{predefined-templates-D92mN_2S.js → predefined-templates-DmITBHzs.js} +1 -1
- package/dist/{purchase-order-template-hvq2pfWx.js → purchase-order-template-BfP6Sy0k.js} +1 -1
- package/dist/{recalculationUtils-BlZR5O2G.js → recalculationUtils-BRe2QPvC.js} +1 -1
- package/dist/router/name.d.ts +0 -1
- package/dist/{row-action.enum-R2bi3eAv.js → row-action.enum-CxzHcy4A.js} +1 -1
- package/dist/{rules-DzwoRKUS.js → rules-CjqBvFGt.js} +2 -2
- package/dist/{stock-Cq37EARQ.js → stock-BT50AgTx.js} +8 -8
- package/dist/{stock-oJqnUrtt.js → stock-CjFjkezq.js} +1 -1
- package/dist/stores/feature.d.ts +9 -9
- package/dist/stores/inventory.d.ts +0 -47
- package/dist/stores/supplier.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/{supplier-DtdwvcPr.js → supplier-wmjWWKaf.js} +2 -2
- package/dist/{surcharge-CjdJGIsM.js → surcharge-CQC6Fa7Q.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{uom-rules-BqPn_GoZ.js → uom-rules-CUQleOt4.js} +1 -1
- package/dist/{use-ingredient-select-dialog-0hRCj6Fu.js → use-ingredient-select-dialog-7VVHmM7s.js} +2 -2
- package/dist/use-inventory-binding-dialog-C8m7iwRG.js +113 -0
- package/dist/{use-template-enabled-locations-8ZfTj4YB.js → use-template-enabled-locations-CRgTVDMh.js} +2 -2
- package/dist/{use-transfer-locations-BGS1EBEt.js → use-transfer-locations-Bs0PotVA.js} +2 -2
- package/dist/{useHrmPermission-BcQ2KPD-.js → useHrmPermission-DcAzZ0CT.js} +1 -1
- package/dist/{useNavigationMenu-DImtns81.js → useNavigationMenu-CtihCeyC.js} +65 -74
- package/dist/{useSseClient-DPSFFVci.js → useSseClient-CizgYCQI.js} +1 -1
- package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +0 -1
- package/dist/views/ingredients/components/inventory-binding/composables/use-inventory-binding-dialog.d.ts +0 -1
- package/dist/views/ingredients/components/inventory-binding/v2/InventoryBindingFormV2.vue.d.ts +0 -1
- package/dist/views/ingredients/components/inventory-binding/v2/composables/use-inventory-binding-dialog.d.ts +0 -1
- package/dist/views/ingredients/helper/is-linked-ingredient-error.d.ts +1 -1
- package/dist/views/integration/components/IntegrationCard.vue.d.ts +3 -3
- package/dist/views/recipe/helper/bulk-edit-simulation.helper.d.ts +0 -1
- package/dist/views/recipe/helper/import-recipe.d.ts +2 -2
- package/dist/{vue-i18n-DTyGIjTI.js → vue-i18n-DpTQ6ev1.js} +258 -258
- package/dist/{xlsx.util-CK9Lnq3Q.js → xlsx.util-CPC0Dkyo.js} +2 -2
- package/package.json +2 -2
- package/dist/DeprecateSoonWarningDialog.vue_vue_type_script_setup_true_lang-D_vmtZDZ.js +0 -58
- package/dist/FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-D-RzUmqA.js +0 -81
- package/dist/FmMultiselectDialog-C8uYx8rr.js +0 -77
- package/dist/ImportView-Qigtf3ik.js +0 -1302
- package/dist/IngredientBindedItem.vue_vue_type_script_setup_true_lang-B8PJeYrP.js +0 -51
- package/dist/IngredientGroupView-RNYZLkQu.js +0 -1000
- package/dist/InventoryBindingForm.vue_vue_type_script_setup_true_lang-3pYuu62C.js +0 -563
- package/dist/RecipeView-DO5-jgwh.js +0 -3624
- package/dist/feature-flags/premium-flags.spec.d.ts +0 -1
- package/dist/random-CSbEbElR.js +0 -10
- package/dist/use-inventory-binding-dialog-BLRcIC1u.js +0 -152
- package/dist/usePromise-CbVUCxhj.js +0 -29
- package/dist/views/ingredient-group/IngredientGroupView.vue.d.ts +0 -3
- package/dist/views/ingredient-group/components/ingredient-group-dialog/IngredientGroupDialog.vue.d.ts +0 -31
- package/dist/views/ingredient-group/components/ingredient-group-dialog/IngredientGroupDialogProps.d.ts +0 -10
- package/dist/views/ingredient-group/components/ingredient-group-form/IngredientGroupForm.vue.d.ts +0 -21
- package/dist/views/ingredient-group/components/ingredient-group-form/IngredientGroupFormProps.d.ts +0 -12
- package/dist/views/ingredient-group/components/ingredient-group-rule-field/IngredientGroupRuleField.vue.d.ts +0 -37
- package/dist/views/ingredient-group/composables/use-ingredient-group-actions.d.ts +0 -24
- package/dist/views/ingredient-group/composables/use-ingredient-group-rule-item.d.ts +0 -31
- package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +0 -77
|
@@ -0,0 +1,297 @@
|
|
|
1
|
+
import { computed as u, defineComponent as g, resolveComponent as m, createBlock as i, createCommentVNode as l, openBlock as n, createElementBlock as d, createVNode as b, createTextVNode as _ } from "vue";
|
|
2
|
+
import { u as y } from "./feature-D0aaeyga.js";
|
|
3
|
+
import { useCoreStore as k } from "@feedmepos/mf-common";
|
|
4
|
+
import { u as v } from "./app-_FoXoYBy.js";
|
|
5
|
+
import { _ as h } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
+
function E(e) {
|
|
7
|
+
return e;
|
|
8
|
+
}
|
|
9
|
+
function j(e, t) {
|
|
10
|
+
var p;
|
|
11
|
+
const r = e.release ?? { stage: "ga" }, a = !((p = e.flagKeys) != null && p.length) || e.flagKeys.some(t.isFlagOn), o = r.stage === "ga" || r.stage === "beta", s = a && o, c = a ? r.stage === "off" ? "This feature is not currently available." : void 0 : `Requires the ${e.minimumTier} plan.`;
|
|
12
|
+
return {
|
|
13
|
+
enabled: s,
|
|
14
|
+
disabled: !s,
|
|
15
|
+
stage: r.stage,
|
|
16
|
+
eligible: o,
|
|
17
|
+
reason: c
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function P({
|
|
21
|
+
key: e,
|
|
22
|
+
category: t,
|
|
23
|
+
flagKeys: r
|
|
24
|
+
}) {
|
|
25
|
+
return {
|
|
26
|
+
key: e,
|
|
27
|
+
minimumTier: t === "premium" ? "premium" : "standard",
|
|
28
|
+
release: { stage: t === "beta" ? "beta" : "ga" },
|
|
29
|
+
flagKeys: r
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
const F = [
|
|
33
|
+
{
|
|
34
|
+
key: "total-cost",
|
|
35
|
+
label: "Total Cost",
|
|
36
|
+
category: "premium",
|
|
37
|
+
flagKeys: ["inventory_pos_costing"],
|
|
38
|
+
controls: "Cost history, stock, ingredient, supplier, purchase-order, and template cost UI."
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
key: "wastage-template",
|
|
42
|
+
label: "Wastage Template",
|
|
43
|
+
category: "premium",
|
|
44
|
+
flagKeys: ["inventory_pos_adjust_v2_wastage"],
|
|
45
|
+
controls: "Wastage navigation, templates, and ingredient template links."
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
key: "purchase-order-template",
|
|
49
|
+
label: "Purchase-Order Template",
|
|
50
|
+
category: "premium",
|
|
51
|
+
flagKeys: ["inventory_portal_must_use_transfer_template", "inventory_pos_allow_receive_order"],
|
|
52
|
+
controls: "Template navigation, forms, and ingredient template links."
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
key: "closing-template",
|
|
56
|
+
label: "Closing Template",
|
|
57
|
+
category: "premium",
|
|
58
|
+
flagKeys: ["inventory_pos_closing_v2"],
|
|
59
|
+
controls: "Closing Template, Closing Draft, and ingredient template links."
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
key: "production-runs",
|
|
63
|
+
label: "Production Runs",
|
|
64
|
+
category: "beta",
|
|
65
|
+
controls: "Production navigation, routes, and detail view."
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
key: "bulk-receive-transfer",
|
|
69
|
+
label: "Bulk Receive / Transfer",
|
|
70
|
+
category: "beta",
|
|
71
|
+
controls: "Purchase / Transfer in (New) navigation and bulk receive page."
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
key: "surcharge",
|
|
75
|
+
label: "Surcharge",
|
|
76
|
+
category: "beta",
|
|
77
|
+
controls: "Surcharge navigation and management page."
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
key: "bulk-import",
|
|
81
|
+
label: "Bulk Import",
|
|
82
|
+
category: "beta",
|
|
83
|
+
controls: "Import navigation and import page."
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
key: "custom-po-cost",
|
|
87
|
+
label: "Custom PO Cost",
|
|
88
|
+
category: "premium",
|
|
89
|
+
flagKeys: ["inventory_purchase_order_custom_cost"],
|
|
90
|
+
controls: "Delivery-order create/edit cost override controls."
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
key: "po-cost-edit",
|
|
94
|
+
label: "PO Cost Edit",
|
|
95
|
+
category: "premium",
|
|
96
|
+
flagKeys: ["inventory_purchase_order_cost_edit"],
|
|
97
|
+
controls: "Purchase/transfer item cost editing."
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
key: "po-price-adjustment",
|
|
101
|
+
label: "PO Price Adjustment",
|
|
102
|
+
category: "premium",
|
|
103
|
+
flagKeys: ["inventory_purchase_order_price_adjustment"],
|
|
104
|
+
controls: "Purchase-order price-adjustment editor and list."
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
key: "unit-cost-recalculation",
|
|
108
|
+
label: "Unit Cost / Recalculation",
|
|
109
|
+
category: "premium",
|
|
110
|
+
flagKeys: ["inventory_pos_closing_recalculation"],
|
|
111
|
+
controls: "Unit Cost History and recalculation dialog."
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
key: "backdated-po",
|
|
115
|
+
label: "Backdated PO",
|
|
116
|
+
category: "premium",
|
|
117
|
+
flagKeys: ["inventory_purchase_order_backdate", "inventory_backdate_receive"],
|
|
118
|
+
controls: "Purchase/transfer date controls and list columns."
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
key: "po-email",
|
|
122
|
+
label: "PO Email",
|
|
123
|
+
category: "beta",
|
|
124
|
+
controls: "Purchase-order email actions."
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
key: "print-templates",
|
|
128
|
+
label: "Print Templates",
|
|
129
|
+
category: "beta",
|
|
130
|
+
controls: "Custom purchase-order print actions."
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
key: "recipe-v2",
|
|
134
|
+
label: "Recipe V2",
|
|
135
|
+
category: "beta",
|
|
136
|
+
controls: "Recipe V2 fields and alternatives controls."
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
key: "recipe-bulk-edit",
|
|
140
|
+
label: "Recipe Bulk Edit",
|
|
141
|
+
category: "beta",
|
|
142
|
+
controls: "Recipe bulk-editor action and dialog."
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
key: "supplier-preparation-time",
|
|
146
|
+
label: "Supplier Preparation Time",
|
|
147
|
+
category: "beta",
|
|
148
|
+
controls: "Supplier and warehouse preparation-time fields."
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
key: "xilnex-transfer-note",
|
|
152
|
+
label: "Xilnex Transfer Note",
|
|
153
|
+
category: "beta",
|
|
154
|
+
controls: "Purchase/transfer columns and Xilnex upload actions."
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
key: "purchase-order-v2",
|
|
158
|
+
label: "Purchase-Order V2 / Operate V2",
|
|
159
|
+
category: "premium",
|
|
160
|
+
flagKeys: ["inventory_portal_purchase_order_v2"],
|
|
161
|
+
controls: "All Premium plans use the new purchase-order workflow."
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
key: "transfer-fulfillment",
|
|
165
|
+
label: "Transfer Fulfillment",
|
|
166
|
+
category: "beta",
|
|
167
|
+
controls: "Transfer form fulfillment behavior."
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
key: "po-workflow-completion",
|
|
171
|
+
label: "PO Workflow Completion",
|
|
172
|
+
category: "beta",
|
|
173
|
+
controls: "Mark-as-completed purchase-order action."
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
key: "opening-migration",
|
|
177
|
+
label: "Xilnex / Synergy Opening Migration",
|
|
178
|
+
category: "beta",
|
|
179
|
+
controls: "Xilnex and Synergy migration views."
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
key: "netsuite-transfer-out",
|
|
183
|
+
label: "NetSuite Transfer Out",
|
|
184
|
+
category: "beta",
|
|
185
|
+
controls: "NetSuite integration transfer-out functionality."
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
key: "delivery-order-write",
|
|
189
|
+
label: "Delivery-Order Write",
|
|
190
|
+
category: "beta",
|
|
191
|
+
controls: "Delivery-order create/write UI."
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
key: "custom-attributes",
|
|
195
|
+
label: "Custom Attributes",
|
|
196
|
+
category: "standard",
|
|
197
|
+
controls: "Inventory custom-attribute controls."
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
key: "legacy-receiving",
|
|
201
|
+
label: "Legacy Warehouse / Manual Receiving",
|
|
202
|
+
category: "standard",
|
|
203
|
+
deprecateSoon: !0,
|
|
204
|
+
controls: "Legacy receive-flow behavior."
|
|
205
|
+
}
|
|
206
|
+
], f = F.map(
|
|
207
|
+
(e) => ({ ...e, definition: P(e) })
|
|
208
|
+
);
|
|
209
|
+
function w(e) {
|
|
210
|
+
return f.find((t) => t.key === e);
|
|
211
|
+
}
|
|
212
|
+
function W(e) {
|
|
213
|
+
return f.find((t) => {
|
|
214
|
+
var r;
|
|
215
|
+
return (r = t.flagKeys) == null ? void 0 : r.includes(e);
|
|
216
|
+
});
|
|
217
|
+
}
|
|
218
|
+
function A() {
|
|
219
|
+
const e = y(), t = k(), r = v();
|
|
220
|
+
return u(() => {
|
|
221
|
+
var a, o;
|
|
222
|
+
return {
|
|
223
|
+
isFlagOn: (s) => e.isFlagOn(s),
|
|
224
|
+
businessId: (a = t.currentBusiness.value) == null ? void 0 : a._id,
|
|
225
|
+
locationId: (o = r._currentLocation) == null ? void 0 : o.doc._id
|
|
226
|
+
};
|
|
227
|
+
});
|
|
228
|
+
}
|
|
229
|
+
function C(e) {
|
|
230
|
+
var a;
|
|
231
|
+
const t = y();
|
|
232
|
+
return (((a = w(e ?? "")) == null ? void 0 : a.flagKeys) ?? []).some((o) => t.isFlagOn(o));
|
|
233
|
+
}
|
|
234
|
+
const S = /* @__PURE__ */ g({
|
|
235
|
+
__name: "PlanTierBadge",
|
|
236
|
+
props: {
|
|
237
|
+
tier: {}
|
|
238
|
+
},
|
|
239
|
+
setup(e) {
|
|
240
|
+
return (t, r) => {
|
|
241
|
+
const a = m("FmPill");
|
|
242
|
+
return t.tier === "premium" ? (n(), i(a, {
|
|
243
|
+
key: 0,
|
|
244
|
+
variant: "premium"
|
|
245
|
+
})) : l("", !0);
|
|
246
|
+
};
|
|
247
|
+
}
|
|
248
|
+
}), T = {}, K = { class: "inline-flex items-center gap-1 rounded-full border border-fm-color-state-warning-base bg-fm-color-state-warning-subtle px-2 py-0.5 text-xs font-medium text-fm-color-state-warning-base" };
|
|
249
|
+
function O(e, t) {
|
|
250
|
+
const r = m("FmIcon");
|
|
251
|
+
return n(), d("span", K, [
|
|
252
|
+
b(r, {
|
|
253
|
+
name: "warning",
|
|
254
|
+
size: "sm"
|
|
255
|
+
}),
|
|
256
|
+
t[0] || (t[0] = _(" Deprecate Soon "))
|
|
257
|
+
]);
|
|
258
|
+
}
|
|
259
|
+
const x = /* @__PURE__ */ h(T, [["render", O]]), B = { class: "inline-flex items-center gap-1" }, L = /* @__PURE__ */ g({
|
|
260
|
+
__name: "FeatureCapabilityBadge",
|
|
261
|
+
props: {
|
|
262
|
+
tier: {},
|
|
263
|
+
category: {},
|
|
264
|
+
deprecateSoon: { type: Boolean },
|
|
265
|
+
featureKey: {},
|
|
266
|
+
informative: { type: Boolean }
|
|
267
|
+
},
|
|
268
|
+
setup(e) {
|
|
269
|
+
const t = e, r = u(() => C(t.featureKey)), a = u(
|
|
270
|
+
() => t.tier === "premium" && (t.informative || !r.value)
|
|
271
|
+
);
|
|
272
|
+
return (o, s) => {
|
|
273
|
+
const c = m("FmPill");
|
|
274
|
+
return n(), d("span", B, [
|
|
275
|
+
o.deprecateSoon ? (n(), i(x, { key: 0 })) : l("", !0),
|
|
276
|
+
o.category === "beta" ? (n(), i(c, {
|
|
277
|
+
key: 1,
|
|
278
|
+
variant: "beta"
|
|
279
|
+
})) : l("", !0),
|
|
280
|
+
a.value ? (n(), i(S, {
|
|
281
|
+
key: 2,
|
|
282
|
+
tier: o.tier
|
|
283
|
+
}, null, 8, ["tier"])) : l("", !0)
|
|
284
|
+
]);
|
|
285
|
+
};
|
|
286
|
+
}
|
|
287
|
+
});
|
|
288
|
+
export {
|
|
289
|
+
x as D,
|
|
290
|
+
S as _,
|
|
291
|
+
L as a,
|
|
292
|
+
W as b,
|
|
293
|
+
E as d,
|
|
294
|
+
j as e,
|
|
295
|
+
w as g,
|
|
296
|
+
A as u
|
|
297
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as g, ref as _, watch as d, computed as v, resolveComponent as l, createBlock as h, openBlock as y, withCtx as R, createElementVNode as i, createVNode as w, toDisplayString as x } from "vue";
|
|
2
|
-
import { c } from "./date2-
|
|
2
|
+
import { c } from "./date2-DE0h0f1Z.js";
|
|
3
3
|
function F() {
|
|
4
4
|
const t = /* @__PURE__ */ new Date();
|
|
5
5
|
return t.setDate(t.getDate() - 15), {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as g, mergeModels as I, useModel as z, computed as b, ref as _, resolveComponent as n, createElementBlock as h, openBlock as o, normalizeStyle as B, createElementVNode as f, createVNode as N, withCtx as E, createBlock as s, createCommentVNode as F, Fragment as S, renderList as R, unref as r } from "vue";
|
|
2
|
-
import { z as u } from "./app-
|
|
3
|
-
import { F as T } from "./FmMultiselectDialog-
|
|
2
|
+
import { z as u } from "./app-_FoXoYBy.js";
|
|
3
|
+
import { F as T } from "./FmMultiselectDialog-zaOH0oB9.js";
|
|
4
4
|
const q = { class: "overflow-y-auto h-full pb-8" }, L = /* @__PURE__ */ g({
|
|
5
5
|
__name: "FmFilterableMenuOptions",
|
|
6
6
|
props: /* @__PURE__ */ I({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as V, mergeModels as F, computed as M, useModel as f, resolveComponent as g, createElementBlock as s, openBlock as l, unref as n, renderSlot as R, createElementVNode as p, normalizeClass as b, createCommentVNode as r, createBlock as a, withCtx as C, createVNode as U, Fragment as A, renderList as L } from "vue";
|
|
2
2
|
import { useI18n as T } from "@feedmepos/mf-common";
|
|
3
|
-
import { _ as D } from "./ChangeLocationComponent.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { _ as I } from "./FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { _ as D } from "./ChangeLocationComponent.vue_vue_type_script_setup_true_lang-Bq2bBCHH.js";
|
|
4
|
+
import { _ as I } from "./FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-Bo4aCSFL.js";
|
|
5
5
|
import { useBreakpoints as N } from "@feedmepos/ui-library";
|
|
6
6
|
import { u as Q } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DpwneGOV.js";
|
|
7
7
|
import { D as k } from "./app-C39bYJmq.js";
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { defineComponent as b, createElementBlock as c, openBlock as m, createElementVNode as p, toDisplayString as a, unref as _, Fragment as B, renderList as P, h as A } from "vue";
|
|
2
|
+
import { a as d, e as C } from "./number-B2-Gbof3.js";
|
|
3
|
+
import { useI18n as h } from "@feedmepos/mf-common";
|
|
4
|
+
import { defineStore as k } from "pinia";
|
|
5
|
+
import { useDialog as w } from "@feedmepos/ui-library";
|
|
6
|
+
import { a as g } from "./FmMultiselectDialog-zaOH0oB9.js";
|
|
7
|
+
const D = { class: "flex flex-col" }, I = { class: "flex flex-row fm-typo-en-body-md-600 bg-fm-color-neutral-gray-100 text-fm-color-typo-secondary h-48 items-center" }, M = { class: "flex-1 py-8 px-16" }, $ = {
|
|
8
|
+
class: "flex-0 py-8 px-16",
|
|
9
|
+
style: { "flex-basis": "120px" }
|
|
10
|
+
}, F = { class: "flex-1 py-8 px-16" }, R = {
|
|
11
|
+
key: 0,
|
|
12
|
+
class: "flex-0 py-8 px-16",
|
|
13
|
+
style: { "flex-basis": "120px" }
|
|
14
|
+
}, j = {
|
|
15
|
+
key: 1,
|
|
16
|
+
class: "flex-0 py-8 px-16",
|
|
17
|
+
style: { "flex-basis": "120px" }
|
|
18
|
+
}, q = /* @__PURE__ */ b({
|
|
19
|
+
__name: "IngredientBindedItem",
|
|
20
|
+
props: {
|
|
21
|
+
name: {},
|
|
22
|
+
bindings: {}
|
|
23
|
+
},
|
|
24
|
+
setup(u) {
|
|
25
|
+
const { t: r } = h();
|
|
26
|
+
function v(t, o) {
|
|
27
|
+
var e;
|
|
28
|
+
if (t.measurement) {
|
|
29
|
+
const s = C(t.amount, t.measurement.conversion);
|
|
30
|
+
return `${d(s, !1)} ${(e = t.measurement) == null ? void 0 : e.abbrev}`;
|
|
31
|
+
}
|
|
32
|
+
return `${d(t.amount, !1)} ${o.abbrev}`;
|
|
33
|
+
}
|
|
34
|
+
function x(t) {
|
|
35
|
+
return t.unit !== void 0;
|
|
36
|
+
}
|
|
37
|
+
return (t, o) => (m(), c("div", D, [
|
|
38
|
+
p("div", I, [
|
|
39
|
+
p("div", M, a(t.name), 1),
|
|
40
|
+
p("div", $, a(_(r)("inventory.ingredient.bindedItems.amount")), 1)
|
|
41
|
+
]),
|
|
42
|
+
(m(!0), c(B, null, P(t.bindings, (e) => (m(), c("div", {
|
|
43
|
+
key: e.id,
|
|
44
|
+
class: "flex flex-row fm-typo-en-body-md-400 h-48 items-center border-b border-b-fm-color-neutral-gray-100"
|
|
45
|
+
}, [
|
|
46
|
+
p("div", F, a(e.name), 1),
|
|
47
|
+
x(e) ? (m(), c("div", R, a(v(e, e.unit)), 1)) : (m(), c("div", j, a(_(d)(e.amount, !1)), 1))
|
|
48
|
+
]))), 128))
|
|
49
|
+
]));
|
|
50
|
+
}
|
|
51
|
+
}), z = k("inventoryMultiSelectDialog", () => {
|
|
52
|
+
const u = w(), { t: r } = h();
|
|
53
|
+
return { multiSelect: async (o, e, s) => {
|
|
54
|
+
const l = s ?? ((n) => n), { promise: f, resolve: i } = Promise.withResolvers();
|
|
55
|
+
return u.open({
|
|
56
|
+
title: "Select items",
|
|
57
|
+
closeButton: !0,
|
|
58
|
+
contentComponent: g,
|
|
59
|
+
contentComponentProps: {
|
|
60
|
+
modelValue: e ?? [],
|
|
61
|
+
items: o,
|
|
62
|
+
virtualScroll: !0,
|
|
63
|
+
onClose: () => i(null)
|
|
64
|
+
},
|
|
65
|
+
primaryActions: {
|
|
66
|
+
text: r("common.confirm"),
|
|
67
|
+
close: !0
|
|
68
|
+
},
|
|
69
|
+
secondaryActions: {
|
|
70
|
+
text: r("common.close"),
|
|
71
|
+
close: !0,
|
|
72
|
+
variant: "tertiary"
|
|
73
|
+
}
|
|
74
|
+
}).onPrimary((n) => {
|
|
75
|
+
const y = n.map((S) => l(S));
|
|
76
|
+
i(y);
|
|
77
|
+
}), f;
|
|
78
|
+
}, singleSelect: async (o, e, s) => {
|
|
79
|
+
const l = s ?? ((n) => n), { promise: f, resolve: i } = Promise.withResolvers();
|
|
80
|
+
return u.open({
|
|
81
|
+
title: "Select items",
|
|
82
|
+
closeButton: !0,
|
|
83
|
+
contentComponent: g,
|
|
84
|
+
contentComponentProps: {
|
|
85
|
+
modelValue: e ? [e] : [],
|
|
86
|
+
items: o,
|
|
87
|
+
virtualScroll: !0,
|
|
88
|
+
onClose: () => i(void 0),
|
|
89
|
+
singleSelect: !0
|
|
90
|
+
},
|
|
91
|
+
primaryActions: {
|
|
92
|
+
text: r("common.confirm"),
|
|
93
|
+
close: !0
|
|
94
|
+
},
|
|
95
|
+
secondaryActions: {
|
|
96
|
+
text: r("common.close"),
|
|
97
|
+
close: !0,
|
|
98
|
+
variant: "tertiary"
|
|
99
|
+
}
|
|
100
|
+
}).onPrimary((n) => {
|
|
101
|
+
if (!n.length)
|
|
102
|
+
return i(null);
|
|
103
|
+
const y = l(n[0]);
|
|
104
|
+
i(y);
|
|
105
|
+
}), f;
|
|
106
|
+
}, alert: (o, e) => {
|
|
107
|
+
const { promise: s, resolve: l } = Promise.withResolvers();
|
|
108
|
+
return u.open({
|
|
109
|
+
title: o,
|
|
110
|
+
closeButton: !0,
|
|
111
|
+
contentComponent: typeof e == "string" ? A("div", e) : e,
|
|
112
|
+
secondaryActions: {
|
|
113
|
+
text: r("common.close"),
|
|
114
|
+
close: !0,
|
|
115
|
+
variant: "tertiary"
|
|
116
|
+
}
|
|
117
|
+
}).onSecondary(() => l()).onClose(() => l()), s;
|
|
118
|
+
} };
|
|
119
|
+
});
|
|
120
|
+
export {
|
|
121
|
+
q as _,
|
|
122
|
+
z as u
|
|
123
|
+
};
|
|
@@ -3,8 +3,8 @@ var Pe = (F, i, l) => i in F ? He(F, i, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var ve = (F, i, l) => Pe(F, typeof i != "symbol" ? i + "" : i, l);
|
|
4
4
|
import { defineComponent as ye, computed as x, ref as $, watch as ge, createElementBlock as f, openBlock as d, normalizeStyle as z, Fragment as V, renderList as O, createCommentVNode as D, renderSlot as ke, useSlots as Oe, onMounted as Ue, onUnmounted as Ee, reactive as ee, resolveComponent as T, createElementVNode as B, createVNode as k, createTextVNode as Ke, toDisplayString as P, unref as L, createSlots as je, withCtx as w, createBlock as I, resolveDynamicComponent as pe, normalizeClass as fe, withModifiers as Ne, Transition as ze } from "vue";
|
|
5
5
|
import { useDialogChild as Ge } from "@feedmepos/ui-library";
|
|
6
|
-
import { z as he } from "./app-
|
|
7
|
-
import { d as Je } from "./index-
|
|
6
|
+
import { z as he } from "./app-_FoXoYBy.js";
|
|
7
|
+
import { d as Je } from "./index-DpxJ3TzB.js";
|
|
8
8
|
/* empty css */
|
|
9
9
|
import { useI18n as Re } from "@feedmepos/mf-common";
|
|
10
10
|
import { P as We, J as be, D as Qe } from "./app-C39bYJmq.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as ue, mergeModels as W, useModel as re, computed as v, ref as k, watch as H, onBeforeUnmount as me, inject as ce, resolveComponent as x, createElementBlock as y, openBlock as d, createElementVNode as u, createVNode as M, createCommentVNode as A, withCtx as _, renderSlot as Q, withDirectives as de, normalizeClass as q, toDisplayString as h, vModelText as pe, createBlock as R, Fragment as fe, renderList as ve, createSlots as be, createTextVNode as ye } from "vue";
|
|
2
|
-
import { l as he } from "./netsuite-
|
|
3
|
-
import { w as D } from "./app-
|
|
4
|
-
import { g as O, c as xe, a as b, e as G, o as Me, b as ge, u as _e, t as Fe } from "./number-
|
|
5
|
-
import { I as U, a as Ae } from "./rules-
|
|
2
|
+
import { l as he } from "./netsuite-Cn2W-lOV.js";
|
|
3
|
+
import { w as D } from "./app-_FoXoYBy.js";
|
|
4
|
+
import { g as O, c as xe, a as b, e as G, o as Me, b as ge, u as _e, t as Fe } from "./number-B2-Gbof3.js";
|
|
5
|
+
import { I as U, a as Ae } from "./rules-CjqBvFGt.js";
|
|
6
6
|
import "@feedmepos/ui-library";
|
|
7
|
-
import { P as Ue } from "./feature-
|
|
8
|
-
import { u as Be, a as Ie } from "./uom-rules-
|
|
7
|
+
import { P as Ue } from "./feature-D0aaeyga.js";
|
|
8
|
+
import { u as Be, a as Ie } from "./uom-rules-CUQleOt4.js";
|
|
9
9
|
function Z() {
|
|
10
10
|
return {
|
|
11
11
|
amount: D.reset()
|