@feedmepos/mf-inventory-portal 1.6.0 → 1.6.1-dev.1
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-EFQddl2W.js → App-D7SR5dnB.js} +4 -4
- package/dist/{ApprovalView-DQG8Ti9p.js → ApprovalView-Bi7AgvV0.js} +24 -23
- package/dist/{BindingsDialog-D2IwJvme.js → BindingsDialog-BD8B6cZy.js} +2 -2
- package/dist/{BindingsPicker-ZGbgh9Vk.js → BindingsPicker-CRvmtsFb.js} +2 -2
- package/dist/{BindingsTable-Dgs2Od1_.js → BindingsTable-DJ1lLYOb.js} +3 -3
- package/dist/BulkReceiveRequestView-CZHXfukP.js +2000 -0
- package/dist/{ClosingDraftView-DGz2x5Lp.js → ClosingDraftView-DV1KPp2W.js} +27 -28
- package/dist/{ClosingHistoryView-SvbQFffP.js → ClosingHistoryView-C8fzDS5T.js} +5 -5
- package/dist/{ClosingTemplateView-LIyUAZ7a.js → ClosingTemplateView-qPT5Li2w.js} +14 -14
- package/dist/{DefaultView-B96qddHF.js → DefaultView-NF80xSuv.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-DWQ6hyoL.js → DeliveryOrderPrintPreview-B12J3W3U.js} +11 -11
- package/dist/{ReceiveRequestView-BP7KFzO6.js → EmailDialog.vue_vue_type_script_setup_true_lang-CoPqmpvz.js} +12571 -12873
- package/dist/FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-DxZ_5mfo.js +61 -0
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BfRdyxp5.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-B_mANlF3.js} +2 -2
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CxDZP-Qo.js +237 -0
- package/dist/{FmMultiselectDialog-B1O653NS.js → FmMultiselectDialog-Btal-2Li.js} +50 -44
- package/dist/{FmMultiselectDialog-SDMUzTex.js → FmMultiselectDialog-OVoHPzMx.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-D8u2M7r1.js → FmUnitInput.vue_vue_type_script_setup_true_lang-ClqEZkaP.js} +5 -5
- package/dist/{ImportView-BSlnGvlm.js → ImportView-CKXu4c1J.js} +6 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DaihxdpF.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-C-fgSyVq.js} +1 -1
- package/dist/{IngredientGroupView-Dy1fLXHf.js → IngredientGroupView-pwMYUotb.js} +21 -21
- package/dist/{IngredientsView-Dno8kdrq.js → IngredientsView-BzKhRbX3.js} +17 -17
- package/dist/{IntegrationExplorerView-C_5XKtMn.js → IntegrationExplorerView-BN8bTTW9.js} +352 -352
- package/dist/IntegrationView-DcERomsi.js +5791 -0
- package/dist/{InventoryBindingForm-YQFbS1hV.js → InventoryBindingForm-q_IGvaah.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-CMXe46hm.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-0ti9a4bq.js} +5 -5
- package/dist/{InventoryBindingSummary-DQEoKMWr.js → InventoryBindingSummary-aMQ0ZWgu.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CcJ7YBY5.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DpIGbDcW.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-DdTdixxy.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CeMi5AJ0.js} +1 -1
- package/dist/{PublishView-Cv8penOo.js → PublishView-vOeknkUB.js} +61 -56
- package/dist/{PurchaseOrderPrintPreview-BvbaFNpc.js → PurchaseOrderPrintPreview-2dot6xAa.js} +9 -9
- package/dist/ReceiveRequestView-B9k1gWme.js +345 -0
- package/dist/{RecipeView-DU0QKiC9.js → RecipeView-PRj4zn8p.js} +17 -17
- package/dist/{SettingsView-DYNFioZF.js → SettingsView-CzxZ18_g.js} +4 -4
- package/dist/{StockView-CzdVLGZy.js → StockView-o-WD1-0x.js} +28 -27
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DyDTSy_F.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-B9bLM6Gi.js} +1 -1
- package/dist/{SupplierView-BxbGPyPv.js → SupplierView-CMww3rSL.js} +12 -12
- package/dist/{SurchargeView-DIxfUVfT.js → SurchargeView-D9KFsMtR.js} +6 -6
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-g0AfgEFk.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-EXFK8KkU.js} +6 -5
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-DsLOwuNG.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-B9xb2r9v.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-CxVlssDF.js → TransferDetails.vue_vue_type_script_setup_true_lang-Bl9bVtVE.js} +1406 -1399
- package/dist/{TransferTemplateView-DRqghp1v.js → TransferTemplateView-BTL8deN-.js} +20 -20
- package/dist/{UnitCostHistoryView-BCQDTDOB.js → UnitCostHistoryView-D6n2ujRf.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-BikZCEmA.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-CNpOAH0D.js} +10 -11
- package/dist/{UnitView-BXoXHqYc.js → UnitView-DNZW6dI4.js} +7 -7
- package/dist/{WarehouseView-DtnB7VJj.js → WarehouseView-gb9pJmNu.js} +5 -5
- package/dist/{WastageTemplateView-SNpTF3AP.js → WastageTemplateView-CGaEJXJv.js} +14 -14
- package/dist/api/purchase-order.d.ts +2 -1
- package/dist/api/supplier.d.ts +1 -0
- package/dist/{app-DTBAhC9s.js → app-Dsbvoxur.js} +1538 -977
- package/dist/app.d.ts +549 -0
- package/dist/app.js +1 -1
- package/dist/{closing-template-DBDqx2IR.js → closing-template-p88yK47D.js} +1 -1
- package/dist/components/FmMultiselectDialog.vue.d.ts +8 -4
- package/dist/components/FmMultiselectDialogProps.d.ts +1 -0
- package/dist/components/MultiLocationSelector.vue.d.ts +202 -0
- package/dist/{date2-BD3_Vr8I.js → date2-CtLHtGs5.js} +1 -1
- package/dist/{dayjs.min-CGyhCaEH.js → dayjs.min-B2OqD5Yb.js} +12 -12
- package/dist/{decimal-CnReZARa.js → decimal-Clk9Ewzg.js} +2 -2
- package/dist/{defineDeepModel-BCBQ-V52.js → defineDeepModel-B2OEZDfH.js} +1 -1
- package/dist/{duplicate-template-Dpb2sb-q.js → duplicate-template-B2POVQAS.js} +1 -1
- package/dist/{feature-BACkglr0.js → feature-CLIj8wgr.js} +70 -65
- package/dist/{format-time-from-id-CxJLjrBT.js → format-time-from-id-DdReiNfK.js} +1 -1
- package/dist/{format-unit-display-BUfzwU3m.js → format-unit-display-iz29tCVo.js} +12 -12
- package/dist/{import-export.helper-DttYDeho.js → import-export.helper-DlHAA9zA.js} +6 -6
- package/dist/{index-DGxWBGVv.js → index-B5Ojq711.js} +1 -1
- package/dist/{index-tFtJuoxA.js → index-CswTgtml.js} +3 -3
- package/dist/{index-BY8NVCx7.js → index-Dkl97ykE.js} +1 -1
- package/dist/{inventory-core-dart.default-DIKTKc_1.js → inventory-core-dart.default-FvRrnQri.js} +355 -328
- package/dist/jszip.min-dfImtC94.js +2322 -0
- package/dist/{lz-string-CwPU-SlY.js → lz-string-D1kxEFLt.js} +1 -1
- package/dist/{netsuite-B9XrL1RC.js → netsuite-C_Gph48P.js} +1570 -1509
- package/dist/{number-DKjrPhev.js → number-CTKxLav6.js} +3 -3
- package/dist/{predefined-templates-CQvQIvR-.js → predefined-templates-B2sDdw2Z.js} +1 -1
- package/dist/{purchase-order-template-NA3Qn9lf.js → purchase-order-template-DVDMAhJa.js} +1 -1
- package/dist/{recalculationUtils-Ll9Jy0C-.js → recalculationUtils-BNTXhTSX.js} +1 -1
- package/dist/router/name.d.ts +1 -0
- package/dist/{rules-DtBEn-Rn.js → rules-CRnEoheI.js} +2 -2
- package/dist/{stock-PIkXqbIP.js → stock-CeogHsSl.js} +1 -1
- package/dist/stores/feature.d.ts +2 -0
- package/dist/style.css +1 -1
- package/dist/supplier-DmbVK4Tn.js +83 -0
- package/dist/{surcharge-C8PXRjfJ.js → surcharge-Bm3TRth-.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{uom-rules-DddX9wN4.js → uom-rules-BmtdGlz9.js} +1 -1
- package/dist/{use-ingredient-select-dialog-DWQxhfQD.js → use-ingredient-select-dialog-Bm9296fn.js} +2 -2
- package/dist/{use-inventory-binding-dialog-BWSMrzp1.js → use-inventory-binding-dialog-HYJiNm8y.js} +2 -2
- package/dist/{use-template-enabled-locations-3DN8aZBs.js → use-template-enabled-locations-DSEcyYzM.js} +2 -2
- package/dist/{use-transfer-locations-DnybeRXF.js → use-transfer-locations-vpiv_TeO.js} +8 -8
- package/dist/{useHrmPermission-ymQe-N7i.js → useHrmPermission-DAncjlGt.js} +1 -1
- package/dist/{useNavigationMenu-D88-0QxA.js → useNavigationMenu-BG_AH0Xf.js} +43 -38
- package/dist/{useSseClient-CWNMcLEX.js → useSseClient-CuLS50U2.js} +3 -3
- package/dist/views/integration/components/binding-import/BindingImportPreview.vue.d.ts +22 -0
- package/dist/views/integration/components/binding-import/ImportBindings.vue.d.ts +444 -0
- package/dist/views/integration/helper/binding-import/configs/codemax.d.ts +3 -0
- package/dist/views/integration/helper/binding-import/configs/codemax.spec.d.ts +1 -0
- package/dist/views/integration/helper/binding-import/configs/food-market-hub.d.ts +3 -0
- package/dist/views/integration/helper/binding-import/configs/food-market-hub.spec.d.ts +1 -0
- package/dist/views/integration/helper/binding-import/core.d.ts +43 -0
- package/dist/views/integration/helper/binding-import/types.d.ts +100 -0
- package/dist/views/receive-request/components/transfer-form/TransferFormProps.d.ts +2 -0
- package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +194 -0
- package/dist/views/receive-request-bulk/BulkReceiveRequestView.vue.d.ts +3 -0
- package/dist/views/receive-request-bulk/components/CreateTransferWizard.vue.d.ts +25 -0
- package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.d.ts +4138 -0
- package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-table.d.ts +771 -0
- package/dist/{vue-i18n-D7c0eqQP.js → vue-i18n-Tl34av_i.js} +398 -398
- package/dist/{xlsx-DXHnJflt.js → xlsx.util-CJaAO-II.js} +2594 -2497
- package/package.json +5 -4
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang--A4q92Mt.js +0 -293
- package/dist/IntegrationView-D2_2A1ve.js +0 -5100
- package/dist/supplier-B5LWMrcL.js +0 -78
- package/dist/xlsx.util-PhY8wVQG.js +0 -101
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import type { FmMultiselectDialogProps, ISelectItemSublabel } from './FmMultiselectDialogProps';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FmMultiselectDialogProps>, {}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
close: (...args: any[]) => void;
|
|
4
|
+
"update:modelValue": (...args: any[]) => void;
|
|
5
|
+
"dialog:emit-data": (...args: any[]) => void;
|
|
6
|
+
"dialog:emitData": (...args: any[]) => void;
|
|
5
7
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FmMultiselectDialogProps>, {}>>> & Readonly<{
|
|
6
|
-
onClose?: (() => any) | undefined;
|
|
7
|
-
"onUpdate:modelValue"?: ((
|
|
8
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
9
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
10
|
+
"onDialog:emit-data"?: ((...args: any[]) => any) | undefined;
|
|
11
|
+
"onDialog:emitData"?: ((...args: any[]) => any) | undefined;
|
|
8
12
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
9
13
|
appendList: () => any;
|
|
10
14
|
appendListItem(props: {
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
modelValue: import("vue").PropType<string[]>;
|
|
3
|
+
locations: {
|
|
4
|
+
type: import("vue").PropType<{
|
|
5
|
+
inventory?: {
|
|
6
|
+
_id: string;
|
|
7
|
+
updatedAt: string;
|
|
8
|
+
} | null | undefined;
|
|
9
|
+
preparationTime?: {
|
|
10
|
+
unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
|
|
11
|
+
value: number;
|
|
12
|
+
} | null | undefined;
|
|
13
|
+
type: "restaurant" | "warehouse";
|
|
14
|
+
name: string;
|
|
15
|
+
acceptRequest: boolean;
|
|
16
|
+
dbName: string;
|
|
17
|
+
doc: {
|
|
18
|
+
_id: string;
|
|
19
|
+
businessId: string;
|
|
20
|
+
profile: {
|
|
21
|
+
code?: string | null | undefined;
|
|
22
|
+
url?: string | null | undefined;
|
|
23
|
+
description?: string | null | undefined;
|
|
24
|
+
_id?: string | null | undefined;
|
|
25
|
+
legalName?: string | null | undefined;
|
|
26
|
+
sstRegNo?: string | null | undefined;
|
|
27
|
+
discovery?: boolean | null | undefined;
|
|
28
|
+
coverPhoto?: string | null | undefined;
|
|
29
|
+
thumbnailPhoto?: string | null | undefined;
|
|
30
|
+
photos?: string[] | null | undefined;
|
|
31
|
+
operatingHours?: {
|
|
32
|
+
0: {
|
|
33
|
+
hours: {
|
|
34
|
+
end: string;
|
|
35
|
+
start: string;
|
|
36
|
+
}[];
|
|
37
|
+
enable: boolean;
|
|
38
|
+
};
|
|
39
|
+
2: {
|
|
40
|
+
hours: {
|
|
41
|
+
end: string;
|
|
42
|
+
start: string;
|
|
43
|
+
}[];
|
|
44
|
+
enable: boolean;
|
|
45
|
+
};
|
|
46
|
+
1: {
|
|
47
|
+
hours: {
|
|
48
|
+
end: string;
|
|
49
|
+
start: string;
|
|
50
|
+
}[];
|
|
51
|
+
enable: boolean;
|
|
52
|
+
};
|
|
53
|
+
3: {
|
|
54
|
+
hours: {
|
|
55
|
+
end: string;
|
|
56
|
+
start: string;
|
|
57
|
+
}[];
|
|
58
|
+
enable: boolean;
|
|
59
|
+
};
|
|
60
|
+
4: {
|
|
61
|
+
hours: {
|
|
62
|
+
end: string;
|
|
63
|
+
start: string;
|
|
64
|
+
}[];
|
|
65
|
+
enable: boolean;
|
|
66
|
+
};
|
|
67
|
+
5: {
|
|
68
|
+
hours: {
|
|
69
|
+
end: string;
|
|
70
|
+
start: string;
|
|
71
|
+
}[];
|
|
72
|
+
enable: boolean;
|
|
73
|
+
};
|
|
74
|
+
6: {
|
|
75
|
+
hours: {
|
|
76
|
+
end: string;
|
|
77
|
+
start: string;
|
|
78
|
+
}[];
|
|
79
|
+
enable: boolean;
|
|
80
|
+
};
|
|
81
|
+
} | null | undefined;
|
|
82
|
+
tags?: string[] | null | undefined;
|
|
83
|
+
name: string;
|
|
84
|
+
address: {
|
|
85
|
+
coordinates?: number[] | null | undefined;
|
|
86
|
+
line2?: string | null | undefined;
|
|
87
|
+
state: string;
|
|
88
|
+
country: string;
|
|
89
|
+
line1: string;
|
|
90
|
+
city: string;
|
|
91
|
+
postcode: string;
|
|
92
|
+
};
|
|
93
|
+
email: string;
|
|
94
|
+
phoneNo: string;
|
|
95
|
+
regNo: string;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
}[]>;
|
|
99
|
+
required: true;
|
|
100
|
+
};
|
|
101
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
102
|
+
modelValue: import("vue").PropType<string[]>;
|
|
103
|
+
locations: {
|
|
104
|
+
type: import("vue").PropType<{
|
|
105
|
+
inventory?: {
|
|
106
|
+
_id: string;
|
|
107
|
+
updatedAt: string;
|
|
108
|
+
} | null | undefined;
|
|
109
|
+
preparationTime?: {
|
|
110
|
+
unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
|
|
111
|
+
value: number;
|
|
112
|
+
} | null | undefined;
|
|
113
|
+
type: "restaurant" | "warehouse";
|
|
114
|
+
name: string;
|
|
115
|
+
acceptRequest: boolean;
|
|
116
|
+
dbName: string;
|
|
117
|
+
doc: {
|
|
118
|
+
_id: string;
|
|
119
|
+
businessId: string;
|
|
120
|
+
profile: {
|
|
121
|
+
code?: string | null | undefined;
|
|
122
|
+
url?: string | null | undefined;
|
|
123
|
+
description?: string | null | undefined;
|
|
124
|
+
_id?: string | null | undefined;
|
|
125
|
+
legalName?: string | null | undefined;
|
|
126
|
+
sstRegNo?: string | null | undefined;
|
|
127
|
+
discovery?: boolean | null | undefined;
|
|
128
|
+
coverPhoto?: string | null | undefined;
|
|
129
|
+
thumbnailPhoto?: string | null | undefined;
|
|
130
|
+
photos?: string[] | null | undefined;
|
|
131
|
+
operatingHours?: {
|
|
132
|
+
0: {
|
|
133
|
+
hours: {
|
|
134
|
+
end: string;
|
|
135
|
+
start: string;
|
|
136
|
+
}[];
|
|
137
|
+
enable: boolean;
|
|
138
|
+
};
|
|
139
|
+
2: {
|
|
140
|
+
hours: {
|
|
141
|
+
end: string;
|
|
142
|
+
start: string;
|
|
143
|
+
}[];
|
|
144
|
+
enable: boolean;
|
|
145
|
+
};
|
|
146
|
+
1: {
|
|
147
|
+
hours: {
|
|
148
|
+
end: string;
|
|
149
|
+
start: string;
|
|
150
|
+
}[];
|
|
151
|
+
enable: boolean;
|
|
152
|
+
};
|
|
153
|
+
3: {
|
|
154
|
+
hours: {
|
|
155
|
+
end: string;
|
|
156
|
+
start: string;
|
|
157
|
+
}[];
|
|
158
|
+
enable: boolean;
|
|
159
|
+
};
|
|
160
|
+
4: {
|
|
161
|
+
hours: {
|
|
162
|
+
end: string;
|
|
163
|
+
start: string;
|
|
164
|
+
}[];
|
|
165
|
+
enable: boolean;
|
|
166
|
+
};
|
|
167
|
+
5: {
|
|
168
|
+
hours: {
|
|
169
|
+
end: string;
|
|
170
|
+
start: string;
|
|
171
|
+
}[];
|
|
172
|
+
enable: boolean;
|
|
173
|
+
};
|
|
174
|
+
6: {
|
|
175
|
+
hours: {
|
|
176
|
+
end: string;
|
|
177
|
+
start: string;
|
|
178
|
+
}[];
|
|
179
|
+
enable: boolean;
|
|
180
|
+
};
|
|
181
|
+
} | null | undefined;
|
|
182
|
+
tags?: string[] | null | undefined;
|
|
183
|
+
name: string;
|
|
184
|
+
address: {
|
|
185
|
+
coordinates?: number[] | null | undefined;
|
|
186
|
+
line2?: string | null | undefined;
|
|
187
|
+
state: string;
|
|
188
|
+
country: string;
|
|
189
|
+
line1: string;
|
|
190
|
+
city: string;
|
|
191
|
+
postcode: string;
|
|
192
|
+
};
|
|
193
|
+
email: string;
|
|
194
|
+
phoneNo: string;
|
|
195
|
+
regNo: string;
|
|
196
|
+
};
|
|
197
|
+
};
|
|
198
|
+
}[]>;
|
|
199
|
+
required: true;
|
|
200
|
+
};
|
|
201
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
202
|
+
export default _default;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
var
|
|
3
|
-
(function(
|
|
1
|
+
import { Y as Q, y as K } from "./app-Dsbvoxur.js";
|
|
2
|
+
var E = { exports: {} };
|
|
3
|
+
(function(V, X) {
|
|
4
4
|
(function(W, k) {
|
|
5
|
-
|
|
5
|
+
V.exports = k();
|
|
6
6
|
})(Q, function() {
|
|
7
7
|
var W = 1e3, k = 6e4, N = 36e5, A = "millisecond", S = "second", w = "minute", O = "hour", M = "day", T = "week", m = "month", U = "quarter", y = "year", _ = "date", J = "Invalid Date", q = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, B = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, G = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(s) {
|
|
8
8
|
var n = ["th", "st", "nd", "rd"], t = s % 100;
|
|
@@ -25,8 +25,8 @@ var z = { exports: {} };
|
|
|
25
25
|
return s === void 0;
|
|
26
26
|
} }, x = "en", D = {};
|
|
27
27
|
D[x] = G;
|
|
28
|
-
var
|
|
29
|
-
return s instanceof C || !(!s || !s[
|
|
28
|
+
var Z = "$isDayjsObject", F = function(s) {
|
|
29
|
+
return s instanceof C || !(!s || !s[Z]);
|
|
30
30
|
}, j = function s(n, t, r) {
|
|
31
31
|
var e;
|
|
32
32
|
if (!n) return x;
|
|
@@ -50,7 +50,7 @@ var z = { exports: {} };
|
|
|
50
50
|
};
|
|
51
51
|
var C = function() {
|
|
52
52
|
function s(t) {
|
|
53
|
-
this.$L = j(t.locale, null, !0), this.parse(t), this.$x = this.$x || t.x || {}, this[
|
|
53
|
+
this.$L = j(t.locale, null, !0), this.parse(t), this.$x = this.$x || t.x || {}, this[Z] = !0;
|
|
54
54
|
}
|
|
55
55
|
var n = s.prototype;
|
|
56
56
|
return n.parse = function(t) {
|
|
@@ -263,9 +263,9 @@ var z = { exports: {} };
|
|
|
263
263
|
}, n.toString = function() {
|
|
264
264
|
return this.$d.toUTCString();
|
|
265
265
|
}, s;
|
|
266
|
-
}(),
|
|
267
|
-
return f.prototype =
|
|
268
|
-
|
|
266
|
+
}(), z = C.prototype;
|
|
267
|
+
return f.prototype = z, [["$ms", A], ["$s", S], ["$m", w], ["$H", O], ["$W", M], ["$M", m], ["$y", y], ["$D", _]].forEach(function(s) {
|
|
268
|
+
z[s[1]] = function(n) {
|
|
269
269
|
return this.$g(n, s[0], s[1]);
|
|
270
270
|
};
|
|
271
271
|
}), f.extend = function(s, n) {
|
|
@@ -274,8 +274,8 @@ var z = { exports: {} };
|
|
|
274
274
|
return f(1e3 * s);
|
|
275
275
|
}, f.en = D[x], f.Ls = D, f.p = {}, f;
|
|
276
276
|
});
|
|
277
|
-
})(
|
|
278
|
-
var R =
|
|
277
|
+
})(E);
|
|
278
|
+
var R = E.exports;
|
|
279
279
|
const et = /* @__PURE__ */ K(R);
|
|
280
280
|
export {
|
|
281
281
|
et as d
|
|
@@ -2,10 +2,10 @@ var ht = Object.defineProperty;
|
|
|
2
2
|
var ft = (l, u, _) => u in l ? ht(l, u, { enumerable: !0, configurable: !0, writable: !0, value: _ }) : l[u] = _;
|
|
3
3
|
var ce = (l, u, _) => ft(l, typeof u != "symbol" ? u + "" : u, _);
|
|
4
4
|
import { useCoreStore as Ke } from "@feedmepos/mf-common";
|
|
5
|
-
import {
|
|
5
|
+
import { Y as ve, u as Ve, j as ot, a as pt } from "./app-Dsbvoxur.js";
|
|
6
6
|
import { ref as de, readonly as Ge } from "vue";
|
|
7
|
-
import "./inventory-core-dart.default-
|
|
8
|
-
var
|
|
7
|
+
import "./inventory-core-dart.default-FvRrnQri.js";
|
|
8
|
+
var qe = { exports: {} };
|
|
9
9
|
(function(l, u) {
|
|
10
10
|
(function(_, f) {
|
|
11
11
|
f(u);
|
|
@@ -180,7 +180,7 @@ var Je = { exports: {} };
|
|
|
180
180
|
(function(i) {
|
|
181
181
|
i.NONE = "NONE", i.DEFAULT_FLAGS = "DEFAULT_FLAGS", i.CACHE = "CACHE", i.SERVER = "SERVER";
|
|
182
182
|
})(p || (p = {}));
|
|
183
|
-
var fe, A = null, ut = "FLAGSMITH_EVENT", le = ut,
|
|
183
|
+
var fe, A = null, ut = "FLAGSMITH_EVENT", le = ut, Be = "https://edge.api.flagsmith.com/api/v1/", Je = "flagsmith_value_", Me = "flagsmith_enabled_", ze = "flagsmith_trait_", ct = function() {
|
|
184
184
|
function i(t) {
|
|
185
185
|
var e = this;
|
|
186
186
|
this._trigger = null, this._triggerLoadingState = null, this.timestamp = null, this.isLoading = !1, this.eventSource = null, this.getFlags = function() {
|
|
@@ -213,7 +213,7 @@ var Je = { exports: {} };
|
|
|
213
213
|
if (e.dtrum) try {
|
|
214
214
|
var T = { javaDouble: {}, date: {}, shortString: {}, javaLongOrObject: {} };
|
|
215
215
|
Object.keys(e.flags).map(function(m) {
|
|
216
|
-
E(T,
|
|
216
|
+
E(T, Je + m, e.getValue(m, { skipAnalytics: !0 })), E(T, Me + m, e.hasFeature(m, { skipAnalytics: !0 }));
|
|
217
217
|
}), Object.keys(((k = e.evaluationContext.identity) === null || k === void 0 ? void 0 : k.traits) || {}).map(function(m) {
|
|
218
218
|
E(T, ze + m, e.getTrait(m));
|
|
219
219
|
}), e.log("Sending javaLongOrObject traits to dynatrace", T.javaLongOrObject), e.log("Sending date traits to dynatrace", T.date), e.log("Sending shortString traits to dynatrace", T.shortString), e.log("Sending javaDouble to dynatrace", T.javaDouble), e.dtrum.sendSessionProperties(T.javaLongOrObject, T.date, T.shortString, T.javaDouble);
|
|
@@ -315,7 +315,7 @@ var Je = { exports: {} };
|
|
|
315
315
|
e.log("Received response with identity mismatch, ignoring response. Requested: ".concat(c, ", Current: ").concat(P));
|
|
316
316
|
});
|
|
317
317
|
}, this.evaluateFlag = function(r, n) {
|
|
318
|
-
if (e.datadogRum && (e.datadogRum.client.addFeatureFlagEvaluation ? n === "VALUE" ? e.datadogRum.client.addFeatureFlagEvaluation(
|
|
318
|
+
if (e.datadogRum && (e.datadogRum.client.addFeatureFlagEvaluation ? n === "VALUE" ? e.datadogRum.client.addFeatureFlagEvaluation(Je + r, e.getValue(r, {}, !0)) : e.datadogRum.client.addFeatureFlagEvaluation(Me + r, e.hasFeature(r, !0)) : console.error("Flagsmith: Your datadog RUM client does not support the function addFeatureFlagEvaluation, please update it.")), e.enableAnalytics) {
|
|
319
319
|
if (!e.evaluationEvent || !e.evaluationContext.environment) return;
|
|
320
320
|
e.evaluationEvent[e.evaluationContext.environment.apiKey] || (e.evaluationEvent[e.evaluationContext.environment.apiKey] = {}), e.evaluationEvent[e.evaluationContext.environment.apiKey][r] === void 0 && (e.evaluationEvent[e.evaluationContext.environment.apiKey][r] = 0), e.evaluationEvent[e.evaluationContext.environment.apiKey][r] += 1;
|
|
321
321
|
}
|
|
@@ -334,25 +334,25 @@ var Je = { exports: {} };
|
|
|
334
334
|
case 0:
|
|
335
335
|
a = Y(t.evaluationContext || this.evaluationContext), D.label = 1;
|
|
336
336
|
case 1:
|
|
337
|
-
if (D.trys.push([1, 13, , 14]), o = t.environmentID, v = t.api, d = v === void 0 ?
|
|
337
|
+
if (D.trys.push([1, 13, , 14]), o = t.environmentID, v = t.api, d = v === void 0 ? Be : v, g = t.headers, c = t.onChange, y = t.cacheFlags, k = t.datadogRum, V = t.onError, P = t.defaultFlags, U = t.fetch, j = t.preventFetch, N = t.enableLogs, G = t.enableDynatrace, re = t.enableAnalytics, ie = t.realtime, Z = t.eventSourceUrl, T = Z === void 0 ? "https://realtime.flagsmith.com/" : Z, m = t.AsyncStorage, ge = t.identity, ae = t.traits, Qe = t.state, Q = t.cacheOptions, ye = t.angularHttpClient, et = t._trigger, tt = t._triggerLoadingState, a.environment = o ? { apiKey: o } : a.environment, !a.environment || !a.environment.apiKey) throw new Error("Please provide `evaluationContext.environment` with non-empty `apiKey`");
|
|
338
338
|
if (a.identity = ge || ae ? { identifier: ge, traits: ae ? Object.fromEntries(Object.entries(ae).map(function(R) {
|
|
339
339
|
return [R[0], { value: R[1] }];
|
|
340
340
|
})) : {} } : a.identity, this.evaluationContext = a, this.api = d, this.headers = g, this.getFlagInterval = null, this.analyticsInterval = null, this.onChange = c, me = "Wrong Flagsmith Configuration: preventFetch is true and no defaulFlags provided", this._trigger = et || this._trigger, this._triggerLoadingState = tt || this._triggerLoadingState, this.onError = function(R) {
|
|
341
341
|
L.setLoadingState(s(s({}, L.loadingState), { isFetching: !1, isLoading: !1, error: R })), V == null || V(R);
|
|
342
342
|
}, this.enableLogs = N || !1, this.cacheOptions = Q ? { skipAPI: !!Q.skipAPI, ttl: Q.ttl || 0, storageKey: Q.storageKey, loadStale: !!Q.loadStale } : this.cacheOptions, !this.cacheOptions.ttl && this.cacheOptions.skipAPI && console.warn("Flagsmith: you have set a cache ttl of 0 and are skipping API calls, this means the API will not be hit unless you clear local storage."), U && (C = U), this.enableAnalytics = re || !1, this.flags = Object.assign({}, P) || {}, this.datadogRum = k || null, this.initialised = !0, this.ticks = 1e4, this.timer = this.enableLogs ? (/* @__PURE__ */ new Date()).valueOf() : null, this.cacheFlags = A !== void 0 && !!y, le = "FLAGSMITH_EVENT_" + a.environment.apiKey, m && (A = m), ie && typeof window < "u" && this.setupRealtime(T, a.environment.apiKey), Object.keys(this.flags).length && (this.loadingState = s(s({}, this.loadingState), { isLoading: !1, source: p.DEFAULT_FLAGS })), this.setState(Qe), this.log("Initialising with properties", t, this), G && (typeof dtrum > "u" ? console.error("You have attempted to enable dynatrace but dtrum is undefined, please check you have the Dynatrace RUM JavaScript API installed.") : this.dtrum = dtrum), ye && (C = /* @__PURE__ */ function(R) {
|
|
343
|
-
return function(
|
|
344
|
-
var z =
|
|
343
|
+
return function(q, B) {
|
|
344
|
+
var z = B.headers, x = B.method, te = B.body;
|
|
345
345
|
return new Promise(function(X) {
|
|
346
346
|
switch (x) {
|
|
347
347
|
case "GET":
|
|
348
|
-
return R.get(
|
|
348
|
+
return R.get(q, { headers: z }).subscribe(function(M) {
|
|
349
349
|
X({ ok: !0, text: function() {
|
|
350
350
|
return Promise.resolve(M);
|
|
351
351
|
} });
|
|
352
352
|
});
|
|
353
353
|
case "POST":
|
|
354
354
|
case "PUT":
|
|
355
|
-
return R.post(
|
|
355
|
+
return R.post(q, te, { headers: z }).subscribe(function(M) {
|
|
356
356
|
X({ ok: !0, text: function() {
|
|
357
357
|
return Promise.resolve(M);
|
|
358
358
|
} });
|
|
@@ -367,26 +367,26 @@ var Je = { exports: {} };
|
|
|
367
367
|
L.evaluationEvent = {};
|
|
368
368
|
}
|
|
369
369
|
L.analyticsInterval = setInterval(L.analyticsFlags, L.ticks);
|
|
370
|
-
}), this.enableAnalytics && (this.analyticsInterval && clearInterval(this.analyticsInterval), A && this.canUseStorage && A.getItem(le, function(R,
|
|
371
|
-
if (
|
|
372
|
-
var
|
|
373
|
-
if (
|
|
370
|
+
}), this.enableAnalytics && (this.analyticsInterval && clearInterval(this.analyticsInterval), A && this.canUseStorage && A.getItem(le, function(R, q) {
|
|
371
|
+
if (q && L.evaluationContext.environment) {
|
|
372
|
+
var B = JSON.parse(q);
|
|
373
|
+
if (B[L.evaluationContext.environment.apiKey]) {
|
|
374
374
|
var z = L.getState();
|
|
375
|
-
L.log("Retrieved events from cache",
|
|
375
|
+
L.log("Retrieved events from cache", q), L.setState(s(s({}, z), { evaluationEvent: B[L.evaluationContext.environment.apiKey] }));
|
|
376
376
|
}
|
|
377
377
|
}
|
|
378
378
|
})), !y) return [3, 9];
|
|
379
379
|
if (!A || !this.canUseStorage) return [3, 8];
|
|
380
|
-
nt = function(R,
|
|
380
|
+
nt = function(R, q) {
|
|
381
381
|
return O(L, void 0, void 0, function() {
|
|
382
|
-
var
|
|
382
|
+
var B, z, x, te, X, M, Se, it, Ce, xe, Ee, we, Oe, ke, Te, Le, Ae, Fe, Ie, Pe, je, Ne, Re, Ue, at = this;
|
|
383
383
|
return K(this, function(H) {
|
|
384
384
|
switch (H.label) {
|
|
385
385
|
case 0:
|
|
386
|
-
if (!
|
|
387
|
-
|
|
386
|
+
if (!q) return [3, 7];
|
|
387
|
+
B = null, z = null, H.label = 1;
|
|
388
388
|
case 1:
|
|
389
|
-
return H.trys.push([1, 5, , 6]), x = JSON.parse(
|
|
389
|
+
return H.trys.push([1, 5, , 6]), x = JSON.parse(q), te = !1, X = !1, x && x.api === this.api && ((xe = (Ce = x.evaluationContext) === null || Ce === void 0 ? void 0 : Ce.environment) === null || xe === void 0 ? void 0 : xe.apiKey) === ((Ee = this.evaluationContext.environment) === null || Ee === void 0 ? void 0 : Ee.apiKey) && (M = !0, this.evaluationContext.identity && ((Oe = (we = x.evaluationContext) === null || we === void 0 ? void 0 : we.identity) === null || Oe === void 0 ? void 0 : Oe.identifier) !== this.evaluationContext.identity.identifier && (this.log("Ignoring cache, identity has changed from " + ((Te = (ke = x.evaluationContext) === null || ke === void 0 ? void 0 : ke.identity) === null || Te === void 0 ? void 0 : Te.identifier) + " to " + this.evaluationContext.identity.identifier), M = !1), this.cacheOptions.ttl && (!x.ts || (/* @__PURE__ */ new Date()).valueOf() - x.ts > this.cacheOptions.ttl) && (x.ts && !this.cacheOptions.loadStale ? (this.log("Ignoring cache, timestamp is too old ts:" + x.ts + " ttl: " + this.cacheOptions.ttl + " time elapsed since cache: " + ((/* @__PURE__ */ new Date()).valueOf() - x.ts) + "ms"), M = !1) : x.ts && this.cacheOptions.loadStale && (this.log("Loading stale cache, timestamp ts:" + x.ts + " ttl: " + this.cacheOptions.ttl + " time elapsed since cache: " + ((/* @__PURE__ */ new Date()).valueOf() - x.ts) + "ms"), X = !0, M = !0)), M && (te = !0, z = w((Le = this.evaluationContext.identity) === null || Le === void 0 ? void 0 : Le.traits, (Fe = (Ae = x.evaluationContext) === null || Ae === void 0 ? void 0 : Ae.identity) === null || Fe === void 0 ? void 0 : Fe.traits), B = w(this.flags, x.flags), this.setState(s(s({}, x), { evaluationContext: Y(s(s({}, x.evaluationContext), { identity: !((Ie = x.evaluationContext) === null || Ie === void 0) && Ie.identity ? s(s({}, (Pe = x.evaluationContext) === null || Pe === void 0 ? void 0 : Pe.identity), { traits: s(s({}, ((Ne = (je = x.evaluationContext) === null || je === void 0 ? void 0 : je.identity) === null || Ne === void 0 ? void 0 : Ne.traits) || {}), ae || {}) }) : void 0 })) })), this.log("Retrieved flags from cache", x))), te ? (Se = !j && (!this.cacheOptions.skipAPI || X), this._onChange(null, { isFromServer: !1, flagsChanged: B, traitsChanged: z }, this._loadedState(null, p.CACHE, Se)), this.oldFlags = this.flags, this.cacheOptions.skipAPI && te && !X && this.log("Skipping API, using cache"), Se && this.getFlags().catch(function(dt) {
|
|
390
390
|
var De;
|
|
391
391
|
(De = at.onError) === null || De === void 0 || De.call(at, dt);
|
|
392
392
|
}), [3, 4]) : [3, 2];
|
|
@@ -457,7 +457,7 @@ var Je = { exports: {} };
|
|
|
457
457
|
}, i.prototype.getState = function() {
|
|
458
458
|
return { api: this.api, flags: this.flags, ts: this.ts, evaluationContext: this.evaluationContext, evaluationEvent: this.evaluationEvent };
|
|
459
459
|
}, i.prototype.setState = function(t) {
|
|
460
|
-
t && (this.initialised = !0, this.api = t.api || this.api ||
|
|
460
|
+
t && (this.initialised = !0, this.api = t.api || this.api || Be, this.flags = t.flags || this.flags, this.evaluationContext = t.evaluationContext || this.evaluationContext, this.evaluationEvent = t.evaluationEvent || this.evaluationEvent, this.log("setState called", this));
|
|
461
461
|
}, i.prototype.logout = function() {
|
|
462
462
|
return this.evaluationContext.identity = null, this.initialised ? this.getFlags() : Promise.resolve();
|
|
463
463
|
}, i.prototype.startListening = function(t) {
|
|
@@ -655,20 +655,20 @@ Consider loading an EventSource polyfill and making it available globally as Eve
|
|
|
655
655
|
return He({ AsyncStorage: f, fetch: Ye, eventSource: We });
|
|
656
656
|
}, _.default = Ze, Object.defineProperty(_, "__esModule", { value: !0 });
|
|
657
657
|
});
|
|
658
|
-
})(
|
|
659
|
-
var gt =
|
|
658
|
+
})(qe, qe.exports);
|
|
659
|
+
var gt = qe.exports, yt = {
|
|
660
660
|
NOT_INITIALIZED: "FeatureFlag not initialized. Call init() first.",
|
|
661
661
|
INVALID_CONFIG: "Invalid Flagsmith configuration",
|
|
662
662
|
FETCH_FAILED: "Failed to fetch Flagsmith configuration",
|
|
663
663
|
NO_USER_CONTEXT: "User context not set. Call setUser() first.",
|
|
664
664
|
ALREADY_INITIALIZED: "FeatureFlag is already initialized."
|
|
665
|
-
}, st = "business",
|
|
665
|
+
}, st = "business", J, mt = (J = class {
|
|
666
666
|
constructor() {
|
|
667
667
|
ce(this, "flagsmithClient", null);
|
|
668
668
|
ce(this, "userContext", null);
|
|
669
669
|
}
|
|
670
670
|
static getInstance() {
|
|
671
|
-
return
|
|
671
|
+
return J.instance || (J.instance = new J()), J.instance;
|
|
672
672
|
}
|
|
673
673
|
ensureInitialized() {
|
|
674
674
|
if (!this.flagsmithClient)
|
|
@@ -764,7 +764,7 @@ var gt = Je.exports, yt = {
|
|
|
764
764
|
reset() {
|
|
765
765
|
this.flagsmithClient = null, this.userContext = null;
|
|
766
766
|
}
|
|
767
|
-
}, ce(
|
|
767
|
+
}, ce(J, "instance"), J), bt = mt.getInstance(), se = de(!1), _e = de([]), ne = de(null);
|
|
768
768
|
function St(l = bt) {
|
|
769
769
|
const u = () => se.value ? !0 : (console.warn("FeatureFlag is not initialized. Using default values."), !1), _ = async (p, C = []) => {
|
|
770
770
|
if (se.value) {
|
|
@@ -827,7 +827,7 @@ function St(l = bt) {
|
|
|
827
827
|
reset: w
|
|
828
828
|
};
|
|
829
829
|
}
|
|
830
|
-
var he = () => St(),
|
|
830
|
+
var he = () => St(), S = /* @__PURE__ */ ((l) => (l.inventory_portal_must_use_transfer_template = "inventory_portal_must_use_transfer_template", l.inventory_portal_use_iframe = "inventory_portal_use_iframe", l.inventory_pos_adjust_v1 = "inventory_pos_adjust_v1", l.inventory_pos_adjust_v2_wastage = "inventory_pos_adjust_v2_wastage", l.inventory_pos_closing_recalculation = "inventory_pos_closing_recalculation", l.inventory_pos_closing_v1 = "inventory_pos_closing_v1", l.inventory_pos_closing_v2 = "inventory_pos_closing_v2", l.inventory_pos_convert_v1 = "inventory_pos_convert_v1", l.inventory_pos_costing = "inventory_pos_costing", l.inventory_pos_stock_return = "inventory_pos_stock_return", l.inventory_pos_transfer_require_fulfillment = "inventory_pos_transfer_require_fulfillment", l.inventory_purchase_order_approval = "inventory_purchase_order_approval", l.inventory_portal_xilnex_transfer_note = "inventory_portal_xilnex_transfer_note", l.inventory_portal_custom_attribute = "inventory_portal_custom_attribute", l.inventory_portal_purchase_order_v2 = "inventory_portal_purchase_order_v2", l.inventory_portal_accept_require_fulfillment = "inventory_portal_accept_require_fulfillment", l.inventory_portal_po_operate_v2 = "inventory_portal_po_operate_v2", l.inventory_pos_allow_receive_order = "inventory_pos_allow_receive_order", l.inventory_xilnex_opening_migration = "inventory_xilnex_opening_migration", l.inventory_ingredient_group = "inventory_ingredient_group", l.inventory_purchase_order_backdate = "inventory_purchase_order_backdate", l.inventory_synergy_opening_migration = "inventory_synergy_opening_migration", l.inventory_netsuite_inventory_transfer_out = "inventory_netsuite_inventory_transfer_out", l.inventory_portal_supplier_preparation_time = "inventory_portal_supplier_preparation_time", l.inventory_backdate_receive = "inventory_backdate_receive", l.inventory_portal_delivery_order_write = "inventory_portal_delivery_order_write", l.inventory_purchase_order_custom_cost = "inventory_purchase_order_custom_cost", l.inventory_bulk_import = "inventory_bulk_import", l.inventory_portal_surcharge = "inventory_portal_surcharge", l.inventory_purchase_order_cost_edit = "inventory_purchase_order_cost_edit", l.inventory_purchase_order_workflow_allow_to_mark_completed = "inventory_purchase_order_workflow_allow_to_mark_completed", l.inventory_recipe_v2 = "inventory_recipe_v2", l.inventory_print_template = "inventory_print_template", l.inventory_purchase_order_email = "inventory_purchase_order_email", l.inventory_bulk_edit_recipes = "inventory_bulk_edit_recipes", l.inventory_stocksnapshot_cron_beta = "inventory_stocksnapshot_cron_beta", l.inventory_scheduler_daily_stock_snapshot = "inventory_scheduler_daily_stock_snapshot", l.inventory_scheduler_hourly_recalculation = "inventory_scheduler_hourly_recalculation", l))(S || {});
|
|
831
831
|
const Ct = /* @__PURE__ */ new Set([
|
|
832
832
|
// vivo pizza prod
|
|
833
833
|
"business_6687e91fa7240b001ba3f4c2",
|
|
@@ -874,6 +874,7 @@ function lt() {
|
|
|
874
874
|
inventory_print_template: !1,
|
|
875
875
|
inventory_purchase_order_email: !1,
|
|
876
876
|
inventory_bulk_edit_recipes: !1,
|
|
877
|
+
inventory_receive_request_beta: !1,
|
|
877
878
|
report_portal_po_forecast_days_constraint: null,
|
|
878
879
|
report_portal_po_forecast_days_default: 7
|
|
879
880
|
};
|
|
@@ -995,6 +996,9 @@ const h = de(lt()), Ft = () => ({
|
|
|
995
996
|
get enableBulkEditRecipes() {
|
|
996
997
|
return h.value.inventory_bulk_edit_recipes;
|
|
997
998
|
},
|
|
999
|
+
get enableReceiveRequestBeta() {
|
|
1000
|
+
return h.value.inventory_receive_request_beta;
|
|
1001
|
+
},
|
|
998
1002
|
get poForecastDaysConstraint() {
|
|
999
1003
|
return h.value.report_portal_po_forecast_days_constraint;
|
|
1000
1004
|
},
|
|
@@ -1021,7 +1025,7 @@ const h = de(lt()), Ft = () => ({
|
|
|
1021
1025
|
(($ = l.currentBusiness.value) == null ? void 0 : $.menuVersion) === "v4" && // more guard for businesses using menu v4, only those listed for manual receive will be included
|
|
1022
1026
|
// TODO: may be removed to use menu version only
|
|
1023
1027
|
Ct.has(this.businessDbName)
|
|
1024
|
-
), C = xt.has(W) || S
|
|
1028
|
+
), C = xt.has(W) || b(S.inventory_portal_must_use_transfer_template), E = b(S.inventory_purchase_order_backdate) && (this.isWarehouse || f.state.closing !== null);
|
|
1025
1029
|
h.value = {
|
|
1026
1030
|
isLoaded: !0,
|
|
1027
1031
|
enableTotalCost: ((Y = l.currentBusiness.value) == null ? void 0 : Y.menuVersion) === "v4",
|
|
@@ -1029,52 +1033,53 @@ const h = de(lt()), Ft = () => ({
|
|
|
1029
1033
|
autoReceiveWarehouse: w && !p,
|
|
1030
1034
|
manualReceive: p,
|
|
1031
1035
|
enablePoTemplate: C,
|
|
1032
|
-
enableClosingTemplate: S
|
|
1033
|
-
enableWastageTemplate: S
|
|
1034
|
-
enableIngredientGroup: S
|
|
1036
|
+
enableClosingTemplate: b(S.inventory_pos_closing_v2),
|
|
1037
|
+
enableWastageTemplate: b(S.inventory_pos_adjust_v2_wastage),
|
|
1038
|
+
enableIngredientGroup: b(S.inventory_ingredient_group),
|
|
1035
1039
|
mustUsePoTemplate: C,
|
|
1036
1040
|
businessSupplierOnly: C,
|
|
1037
|
-
enableXilnexTransferNote: S
|
|
1038
|
-
enableCustomAttribute: S
|
|
1039
|
-
usePurchaseOrderV2: S
|
|
1040
|
-
acceptRequireFulfillment:
|
|
1041
|
-
|
|
1041
|
+
enableXilnexTransferNote: b(S.inventory_portal_xilnex_transfer_note),
|
|
1042
|
+
enableCustomAttribute: b(S.inventory_portal_custom_attribute),
|
|
1043
|
+
usePurchaseOrderV2: b(S.inventory_portal_purchase_order_v2),
|
|
1044
|
+
acceptRequireFulfillment: b(
|
|
1045
|
+
S.inventory_portal_accept_require_fulfillment
|
|
1042
1046
|
),
|
|
1043
|
-
useOperatePurchaseOrderV2: S
|
|
1044
|
-
inventory_xilnex_opening_migration:
|
|
1045
|
-
|
|
1047
|
+
useOperatePurchaseOrderV2: b(S.inventory_portal_po_operate_v2),
|
|
1048
|
+
inventory_xilnex_opening_migration: b(
|
|
1049
|
+
S.inventory_xilnex_opening_migration
|
|
1046
1050
|
),
|
|
1047
|
-
inventory_synergy_opening_migration:
|
|
1048
|
-
|
|
1051
|
+
inventory_synergy_opening_migration: b(
|
|
1052
|
+
S.inventory_synergy_opening_migration
|
|
1049
1053
|
),
|
|
1050
|
-
inventory_netsuite_inventory_transfer_out:
|
|
1051
|
-
|
|
1054
|
+
inventory_netsuite_inventory_transfer_out: b(
|
|
1055
|
+
S.inventory_netsuite_inventory_transfer_out
|
|
1052
1056
|
),
|
|
1053
|
-
inventory_portal_supplier_preparation_time:
|
|
1054
|
-
|
|
1057
|
+
inventory_portal_supplier_preparation_time: b(
|
|
1058
|
+
S.inventory_portal_supplier_preparation_time
|
|
1055
1059
|
),
|
|
1056
|
-
inventory_portal_delivery_order_write:
|
|
1057
|
-
|
|
1060
|
+
inventory_portal_delivery_order_write: b(
|
|
1061
|
+
S.inventory_portal_delivery_order_write
|
|
1058
1062
|
),
|
|
1059
|
-
inventory_pos_transfer_require_fulfillment:
|
|
1060
|
-
|
|
1063
|
+
inventory_pos_transfer_require_fulfillment: b(
|
|
1064
|
+
S.inventory_pos_transfer_require_fulfillment
|
|
1061
1065
|
),
|
|
1062
|
-
inventory_backdate_receive: S
|
|
1063
|
-
inventory_purchase_order_custom_cost:
|
|
1064
|
-
|
|
1066
|
+
inventory_backdate_receive: b(S.inventory_backdate_receive),
|
|
1067
|
+
inventory_purchase_order_custom_cost: b(
|
|
1068
|
+
S.inventory_purchase_order_custom_cost
|
|
1065
1069
|
),
|
|
1066
|
-
inventory_bulk_import: S
|
|
1067
|
-
inventory_portal_surcharge: S
|
|
1068
|
-
inventory_purchase_order_cost_edit:
|
|
1069
|
-
|
|
1070
|
+
inventory_bulk_import: b(S.inventory_bulk_import),
|
|
1071
|
+
inventory_portal_surcharge: b(S.inventory_portal_surcharge),
|
|
1072
|
+
inventory_purchase_order_cost_edit: b(
|
|
1073
|
+
S.inventory_purchase_order_cost_edit
|
|
1070
1074
|
),
|
|
1071
|
-
inventory_purchase_order_workflow_allow_to_mark_completed:
|
|
1072
|
-
|
|
1075
|
+
inventory_purchase_order_workflow_allow_to_mark_completed: b(
|
|
1076
|
+
S.inventory_purchase_order_workflow_allow_to_mark_completed
|
|
1073
1077
|
),
|
|
1074
|
-
inventory_recipe_v2: S
|
|
1075
|
-
inventory_print_template: S
|
|
1076
|
-
inventory_purchase_order_email: S
|
|
1077
|
-
inventory_bulk_edit_recipes: S
|
|
1078
|
+
inventory_recipe_v2: b(S.inventory_recipe_v2),
|
|
1079
|
+
inventory_print_template: b(S.inventory_print_template),
|
|
1080
|
+
inventory_purchase_order_email: b(S.inventory_purchase_order_email),
|
|
1081
|
+
inventory_bulk_edit_recipes: b(S.inventory_bulk_edit_recipes),
|
|
1082
|
+
inventory_receive_request_beta: b("inventory_receive_request_beta"),
|
|
1078
1083
|
report_portal_po_forecast_days_constraint: Et(
|
|
1079
1084
|
"report_portal_po_forecast_days_constraint"
|
|
1080
1085
|
),
|
|
@@ -1094,7 +1099,7 @@ const h = de(lt()), Ft = () => ({
|
|
|
1094
1099
|
});
|
|
1095
1100
|
}
|
|
1096
1101
|
});
|
|
1097
|
-
function
|
|
1102
|
+
function b(l, u) {
|
|
1098
1103
|
u = u === void 0 ? null : u;
|
|
1099
1104
|
const { getFlagValue: _ } = he();
|
|
1100
1105
|
return _(l, (f) => f === "true") ?? u;
|
|
@@ -1111,7 +1116,7 @@ function wt(l, u) {
|
|
|
1111
1116
|
}) ?? u;
|
|
1112
1117
|
}
|
|
1113
1118
|
export {
|
|
1114
|
-
|
|
1119
|
+
S as I,
|
|
1115
1120
|
he as a,
|
|
1116
1121
|
Ft as u
|
|
1117
1122
|
};
|