@feedmepos/mf-inventory-portal 1.2.2-dev.4 → 1.2.2-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-CYAziwBh.js → App-qyUn0mRE.js} +1 -1
- package/dist/{ApprovalView-DsxL6mbY.js → ApprovalView-DPoN8AbA.js} +2 -2
- package/dist/{BindingsDialog-DvE7diTd.js → BindingsDialog-DDimQEPK.js} +2 -2
- package/dist/{BindingsPicker-CiFmbDb4.js → BindingsPicker-DY62RSio.js} +1 -1
- package/dist/{BindingsTable-S3515rT6.js → BindingsTable-BVWi4ZvC.js} +1 -1
- package/dist/{ClosingDraftView-DCa1lBma.js → ClosingDraftView-BIlnp-Y4.js} +2 -2
- package/dist/{ClosingTemplateView-De6ytlNF.js → ClosingTemplateView-DspryiHM.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-BgLQ8zFm.js → DeliveryOrderPrintPreview-PSj2gBtt.js} +1 -1
- package/dist/{FmAdminBadge-B_FtrsaE.js → FmAdminBadge-C0z5yxLa.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BHE0_auv.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BbzsN6mh.js} +3 -3
- package/dist/{FmMultiselectDialog-DNpypK50.js → FmMultiselectDialog-BeyGae_v.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-CRa9HeIc.js → FmUnitInput.vue_vue_type_script_setup_true_lang-CJV5nuMH.js} +1 -1
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-BIY5Dw3A.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-CqJQSMt2.js} +1 -1
- package/dist/{IngredientGroupView-DRwWwMuX.js → IngredientGroupView-BVnUhnhF.js} +2 -2
- package/dist/{IngredientsView-CxsqnkX8.js → IngredientsView-CJvj3bGt.js} +4 -4
- package/dist/{IntegrationView-lu-pVT_g.js → IntegrationView-B4OOBLkd.js} +4 -4
- package/dist/{InventoryBindingForm-BHbqAFg0.js → InventoryBindingForm-BEMURvt6.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-BQGuKBPh.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-DL57fbvY.js} +3 -3
- package/dist/{InventoryBindingSummary-DaScUKeL.js → InventoryBindingSummary-CADbmPyM.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-D5QuOadM.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CErfZxec.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-Dt5fgiIP.js → PremiumBadge.vue_vue_type_script_setup_true_lang-t23rVe6O.js} +1 -1
- package/dist/{PublishView-Da_NkemP.js → PublishView-CNlHsBwV.js} +69 -59
- package/dist/{PurchaseOrderPrintPreview-C6KUvxFc.js → PurchaseOrderPrintPreview-CpiIQwpd.js} +1 -1
- package/dist/{ReceiveRequestView-BHELdzXO.js → ReceiveRequestView-BFT5j4UZ.js} +8 -8
- package/dist/{RecipeView-KcEC3x3u.js → RecipeView-cNjsGI0a.js} +3 -3
- package/dist/{StockView-BrLaoCsb.js → StockView-BYudPVXI.js} +7 -7
- package/dist/{SupplierView-BrLHXWoG.js → SupplierView-B1tRY9GT.js} +3 -3
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-BQrrKw5p.js → TransferDetails.vue_vue_type_script_setup_true_lang-LLfayE3o.js} +359 -359
- package/dist/{TransferTemplateView-CNnS1dah.js → TransferTemplateView-BiywyIoS.js} +6 -6
- package/dist/{UnitView-BYWgA8Ga.js → UnitView-CpALGLE8.js} +3 -3
- package/dist/{WarehouseView-Dq2Rh_bi.js → WarehouseView-CLyQPu4y.js} +1 -1
- package/dist/api/inventory.d.ts +91 -0
- package/dist/{app-DZYj4yvr.js → app-lX8u0OMu.js} +5539 -5483
- package/dist/app.js +1 -1
- package/dist/{decimal-B3y9B5MD.js → decimal-Bzl57oeS.js} +1 -1
- package/dist/{format-unit-display-CaFsKH-j.js → format-unit-display-DRT-O8GV.js} +2 -2
- package/dist/helper/array.d.ts +1 -0
- package/dist/{index-Gjc_1VwO.js → index-C1J-07ED.js} +1 -1
- package/dist/{index-Cd_Evsjr.js → index-D_-xtoPB.js} +1 -1
- package/dist/{stock-d6SN3d25.js → stock-9j1EIEfL.js} +1 -1
- package/dist/stores/location.d.ts +274 -0
- package/dist/{supplier-Yw3bxYS3.js → supplier-CW2VKsbv.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-Cisa2X4a.js → use-ingredient-select-dialog-BhAsjfUN.js} +1 -1
- package/dist/{use-inventory-binding-dialog-CnE4YFiQ.js → use-inventory-binding-dialog-MRZtLjcQ.js} +1 -1
- package/package.json +1 -1
package/dist/app.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a3 as Ae, a as q, T as Ie, ak as M, s as De, al as he, v as ve, u as Z, j as B, w as Oe, aN as ce, x as ge, b as te, t as G, Y as J, aM as Fe, aE as Pe, a0 as Ue, y as Me, z as Be, am as Le, e as me, f as re, R as ue, a2 as Qe, ai as He, D as j, i as I, h as Ve } from "./app-
|
|
1
|
+
import { a3 as Ae, a as q, T as Ie, ak as M, s as De, al as he, v as ve, u as Z, j as B, w as Oe, aN as ce, x as ge, b as te, t as G, Y as J, aM as Fe, aE as Pe, a0 as Ue, y as Me, z as Be, am as Le, e as me, f as re, R as ue, a2 as Qe, ai as He, D as j, i as I, h as Ve } from "./app-lX8u0OMu.js";
|
|
2
2
|
import { useCoreStore as ne, useI18n as oe } from "@feedmepos/mf-common";
|
|
3
3
|
import { useDialogChild as qe, useSnackbar as be, useDialog as je, FmButtonVariant as z, components as X } from "@feedmepos/ui-library";
|
|
4
4
|
import { defineStore as xe } from "pinia";
|
|
5
5
|
import { defineComponent as ae, resolveComponent as Q, openBlock as _, createElementBlock as k, createElementVNode as C, normalizeClass as H, createTextVNode as ze, toDisplayString as D, unref as A, createCommentVNode as V, createVNode as P, withCtx as ee, Fragment as L, renderList as K, ref as N, onMounted as Ye, computed as de, watch as Ke, createSlots as We, createBlock as Y, h as W } from "vue";
|
|
6
6
|
import { useRouter as Ge } from "vue-router";
|
|
7
|
-
import { u as se } from "./supplier-
|
|
7
|
+
import { u as se } from "./supplier-CW2VKsbv.js";
|
|
8
8
|
const Te = Ae((e, t) => {
|
|
9
9
|
function s() {
|
|
10
10
|
var o;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function chunkArray<T>(array: T[], chunkSize: number): T[][];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as b, computed as u } from "vue";
|
|
2
|
-
import { u as d, b2 as p, aU as v, c as m, b as h } from "./app-
|
|
2
|
+
import { u as d, b2 as p, aU as v, c as m, b as h } from "./app-lX8u0OMu.js";
|
|
3
3
|
import { useSnackbar as E } from "@feedmepos/ui-library";
|
|
4
4
|
function I() {
|
|
5
5
|
return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b1 as x, b8 as V, b9 as q, ba as Re, bb as cl, bc as sr, bd as Lt, be as fl, bf as $l } from "./app-
|
|
1
|
+
import { b1 as x, b8 as V, b9 as q, ba as Re, bb as cl, bc as sr, bd as Lt, be as fl, bf as $l } from "./app-lX8u0OMu.js";
|
|
2
2
|
function vl(t, e) {
|
|
3
3
|
for (var r = 0; r < e.length; r++) {
|
|
4
4
|
const n = e[r];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a3 as m, u as k, a as l, au as B, T as p } from "./app-
|
|
1
|
+
import { a3 as m, u as k, a as l, au as B, T as p } from "./app-lX8u0OMu.js";
|
|
2
2
|
import { useCoreStore as v } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as $ } from "@feedmepos/ui-library";
|
|
4
4
|
import { ref as y, computed as b } from "vue";
|
|
@@ -280,6 +280,97 @@ export declare function useLocationStore(): {
|
|
|
280
280
|
};
|
|
281
281
|
};
|
|
282
282
|
}[] | null;
|
|
283
|
+
_locationWithInventory: {
|
|
284
|
+
inventory?: {
|
|
285
|
+
_id: string;
|
|
286
|
+
updatedAt: string;
|
|
287
|
+
} | null | undefined;
|
|
288
|
+
name: string;
|
|
289
|
+
type: "restaurant" | "warehouse";
|
|
290
|
+
acceptRequest: boolean;
|
|
291
|
+
dbName: string;
|
|
292
|
+
doc: {
|
|
293
|
+
_id: string;
|
|
294
|
+
businessId: string;
|
|
295
|
+
profile: {
|
|
296
|
+
code?: string | null | undefined;
|
|
297
|
+
url?: string | null | undefined;
|
|
298
|
+
description?: string | null | undefined;
|
|
299
|
+
_id?: string | null | undefined;
|
|
300
|
+
legalName?: string | null | undefined;
|
|
301
|
+
sstRegNo?: string | null | undefined;
|
|
302
|
+
discovery?: boolean | null | undefined;
|
|
303
|
+
coverPhoto?: string | null | undefined;
|
|
304
|
+
thumbnailPhoto?: string | null | undefined;
|
|
305
|
+
photos?: string[] | null | undefined;
|
|
306
|
+
operatingHours?: {
|
|
307
|
+
0: {
|
|
308
|
+
hours: {
|
|
309
|
+
end: string;
|
|
310
|
+
start: string;
|
|
311
|
+
}[];
|
|
312
|
+
enable: boolean;
|
|
313
|
+
};
|
|
314
|
+
2: {
|
|
315
|
+
hours: {
|
|
316
|
+
end: string;
|
|
317
|
+
start: string;
|
|
318
|
+
}[];
|
|
319
|
+
enable: boolean;
|
|
320
|
+
};
|
|
321
|
+
1: {
|
|
322
|
+
hours: {
|
|
323
|
+
end: string;
|
|
324
|
+
start: string;
|
|
325
|
+
}[];
|
|
326
|
+
enable: boolean;
|
|
327
|
+
};
|
|
328
|
+
3: {
|
|
329
|
+
hours: {
|
|
330
|
+
end: string;
|
|
331
|
+
start: string;
|
|
332
|
+
}[];
|
|
333
|
+
enable: boolean;
|
|
334
|
+
};
|
|
335
|
+
4: {
|
|
336
|
+
hours: {
|
|
337
|
+
end: string;
|
|
338
|
+
start: string;
|
|
339
|
+
}[];
|
|
340
|
+
enable: boolean;
|
|
341
|
+
};
|
|
342
|
+
5: {
|
|
343
|
+
hours: {
|
|
344
|
+
end: string;
|
|
345
|
+
start: string;
|
|
346
|
+
}[];
|
|
347
|
+
enable: boolean;
|
|
348
|
+
};
|
|
349
|
+
6: {
|
|
350
|
+
hours: {
|
|
351
|
+
end: string;
|
|
352
|
+
start: string;
|
|
353
|
+
}[];
|
|
354
|
+
enable: boolean;
|
|
355
|
+
};
|
|
356
|
+
} | null | undefined;
|
|
357
|
+
tags?: string[] | null | undefined;
|
|
358
|
+
name: string;
|
|
359
|
+
address: {
|
|
360
|
+
coordinates?: number[] | null | undefined;
|
|
361
|
+
line2?: string | null | undefined;
|
|
362
|
+
state: string;
|
|
363
|
+
country: string;
|
|
364
|
+
line1: string;
|
|
365
|
+
city: string;
|
|
366
|
+
postcode: string;
|
|
367
|
+
};
|
|
368
|
+
email: string;
|
|
369
|
+
phoneNo: string;
|
|
370
|
+
regNo: string;
|
|
371
|
+
};
|
|
372
|
+
};
|
|
373
|
+
}[] | null;
|
|
283
374
|
readonly state: {
|
|
284
375
|
_currentLocation: {
|
|
285
376
|
inventory?: {
|
|
@@ -554,6 +645,97 @@ export declare function useLocationStore(): {
|
|
|
554
645
|
};
|
|
555
646
|
};
|
|
556
647
|
}[] | null;
|
|
648
|
+
_locationWithInventory: {
|
|
649
|
+
inventory?: {
|
|
650
|
+
_id: string;
|
|
651
|
+
updatedAt: string;
|
|
652
|
+
} | null | undefined;
|
|
653
|
+
name: string;
|
|
654
|
+
type: "restaurant" | "warehouse";
|
|
655
|
+
acceptRequest: boolean;
|
|
656
|
+
dbName: string;
|
|
657
|
+
doc: {
|
|
658
|
+
_id: string;
|
|
659
|
+
businessId: string;
|
|
660
|
+
profile: {
|
|
661
|
+
code?: string | null | undefined;
|
|
662
|
+
url?: string | null | undefined;
|
|
663
|
+
description?: string | null | undefined;
|
|
664
|
+
_id?: string | null | undefined;
|
|
665
|
+
legalName?: string | null | undefined;
|
|
666
|
+
sstRegNo?: string | null | undefined;
|
|
667
|
+
discovery?: boolean | null | undefined;
|
|
668
|
+
coverPhoto?: string | null | undefined;
|
|
669
|
+
thumbnailPhoto?: string | null | undefined;
|
|
670
|
+
photos?: string[] | null | undefined;
|
|
671
|
+
operatingHours?: {
|
|
672
|
+
0: {
|
|
673
|
+
hours: {
|
|
674
|
+
end: string;
|
|
675
|
+
start: string;
|
|
676
|
+
}[];
|
|
677
|
+
enable: boolean;
|
|
678
|
+
};
|
|
679
|
+
2: {
|
|
680
|
+
hours: {
|
|
681
|
+
end: string;
|
|
682
|
+
start: string;
|
|
683
|
+
}[];
|
|
684
|
+
enable: boolean;
|
|
685
|
+
};
|
|
686
|
+
1: {
|
|
687
|
+
hours: {
|
|
688
|
+
end: string;
|
|
689
|
+
start: string;
|
|
690
|
+
}[];
|
|
691
|
+
enable: boolean;
|
|
692
|
+
};
|
|
693
|
+
3: {
|
|
694
|
+
hours: {
|
|
695
|
+
end: string;
|
|
696
|
+
start: string;
|
|
697
|
+
}[];
|
|
698
|
+
enable: boolean;
|
|
699
|
+
};
|
|
700
|
+
4: {
|
|
701
|
+
hours: {
|
|
702
|
+
end: string;
|
|
703
|
+
start: string;
|
|
704
|
+
}[];
|
|
705
|
+
enable: boolean;
|
|
706
|
+
};
|
|
707
|
+
5: {
|
|
708
|
+
hours: {
|
|
709
|
+
end: string;
|
|
710
|
+
start: string;
|
|
711
|
+
}[];
|
|
712
|
+
enable: boolean;
|
|
713
|
+
};
|
|
714
|
+
6: {
|
|
715
|
+
hours: {
|
|
716
|
+
end: string;
|
|
717
|
+
start: string;
|
|
718
|
+
}[];
|
|
719
|
+
enable: boolean;
|
|
720
|
+
};
|
|
721
|
+
} | null | undefined;
|
|
722
|
+
tags?: string[] | null | undefined;
|
|
723
|
+
name: string;
|
|
724
|
+
address: {
|
|
725
|
+
coordinates?: number[] | null | undefined;
|
|
726
|
+
line2?: string | null | undefined;
|
|
727
|
+
state: string;
|
|
728
|
+
country: string;
|
|
729
|
+
line1: string;
|
|
730
|
+
city: string;
|
|
731
|
+
postcode: string;
|
|
732
|
+
};
|
|
733
|
+
email: string;
|
|
734
|
+
phoneNo: string;
|
|
735
|
+
regNo: string;
|
|
736
|
+
};
|
|
737
|
+
};
|
|
738
|
+
}[] | null;
|
|
557
739
|
};
|
|
558
740
|
readonly locationById: Record<string, {
|
|
559
741
|
inventory?: {
|
|
@@ -922,6 +1104,97 @@ export declare function useLocationStore(): {
|
|
|
922
1104
|
};
|
|
923
1105
|
};
|
|
924
1106
|
}[];
|
|
1107
|
+
readonly locationsWithInventory: {
|
|
1108
|
+
inventory?: {
|
|
1109
|
+
_id: string;
|
|
1110
|
+
updatedAt: string;
|
|
1111
|
+
} | null | undefined;
|
|
1112
|
+
name: string;
|
|
1113
|
+
type: "restaurant" | "warehouse";
|
|
1114
|
+
acceptRequest: boolean;
|
|
1115
|
+
dbName: string;
|
|
1116
|
+
doc: {
|
|
1117
|
+
_id: string;
|
|
1118
|
+
businessId: string;
|
|
1119
|
+
profile: {
|
|
1120
|
+
code?: string | null | undefined;
|
|
1121
|
+
url?: string | null | undefined;
|
|
1122
|
+
description?: string | null | undefined;
|
|
1123
|
+
_id?: string | null | undefined;
|
|
1124
|
+
legalName?: string | null | undefined;
|
|
1125
|
+
sstRegNo?: string | null | undefined;
|
|
1126
|
+
discovery?: boolean | null | undefined;
|
|
1127
|
+
coverPhoto?: string | null | undefined;
|
|
1128
|
+
thumbnailPhoto?: string | null | undefined;
|
|
1129
|
+
photos?: string[] | null | undefined;
|
|
1130
|
+
operatingHours?: {
|
|
1131
|
+
0: {
|
|
1132
|
+
hours: {
|
|
1133
|
+
end: string;
|
|
1134
|
+
start: string;
|
|
1135
|
+
}[];
|
|
1136
|
+
enable: boolean;
|
|
1137
|
+
};
|
|
1138
|
+
2: {
|
|
1139
|
+
hours: {
|
|
1140
|
+
end: string;
|
|
1141
|
+
start: string;
|
|
1142
|
+
}[];
|
|
1143
|
+
enable: boolean;
|
|
1144
|
+
};
|
|
1145
|
+
1: {
|
|
1146
|
+
hours: {
|
|
1147
|
+
end: string;
|
|
1148
|
+
start: string;
|
|
1149
|
+
}[];
|
|
1150
|
+
enable: boolean;
|
|
1151
|
+
};
|
|
1152
|
+
3: {
|
|
1153
|
+
hours: {
|
|
1154
|
+
end: string;
|
|
1155
|
+
start: string;
|
|
1156
|
+
}[];
|
|
1157
|
+
enable: boolean;
|
|
1158
|
+
};
|
|
1159
|
+
4: {
|
|
1160
|
+
hours: {
|
|
1161
|
+
end: string;
|
|
1162
|
+
start: string;
|
|
1163
|
+
}[];
|
|
1164
|
+
enable: boolean;
|
|
1165
|
+
};
|
|
1166
|
+
5: {
|
|
1167
|
+
hours: {
|
|
1168
|
+
end: string;
|
|
1169
|
+
start: string;
|
|
1170
|
+
}[];
|
|
1171
|
+
enable: boolean;
|
|
1172
|
+
};
|
|
1173
|
+
6: {
|
|
1174
|
+
hours: {
|
|
1175
|
+
end: string;
|
|
1176
|
+
start: string;
|
|
1177
|
+
}[];
|
|
1178
|
+
enable: boolean;
|
|
1179
|
+
};
|
|
1180
|
+
} | null | undefined;
|
|
1181
|
+
tags?: string[] | null | undefined;
|
|
1182
|
+
name: string;
|
|
1183
|
+
address: {
|
|
1184
|
+
coordinates?: number[] | null | undefined;
|
|
1185
|
+
line2?: string | null | undefined;
|
|
1186
|
+
state: string;
|
|
1187
|
+
country: string;
|
|
1188
|
+
line1: string;
|
|
1189
|
+
city: string;
|
|
1190
|
+
postcode: string;
|
|
1191
|
+
};
|
|
1192
|
+
email: string;
|
|
1193
|
+
phoneNo: string;
|
|
1194
|
+
regNo: string;
|
|
1195
|
+
};
|
|
1196
|
+
};
|
|
1197
|
+
}[];
|
|
925
1198
|
readonly locationByDbName: {
|
|
926
1199
|
[key: string]: {
|
|
927
1200
|
inventory?: {
|
|
@@ -1018,6 +1291,7 @@ export declare function useLocationStore(): {
|
|
|
1018
1291
|
businessLevel: boolean;
|
|
1019
1292
|
watchLocation(callback: (location?: InventoryLocation | null) => Promise<void>, persistentKey?: string): void;
|
|
1020
1293
|
readLocations(): Promise<void>;
|
|
1294
|
+
readLocationsWithInventory(): Promise<void>;
|
|
1021
1295
|
setLocations(resp: InventoryLocation[]): void;
|
|
1022
1296
|
selectLocation(location?: InventoryLocation, skipStorage?: boolean): void;
|
|
1023
1297
|
init(): Promise<void>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a3 as m, u, c as b, w, av as v, aw as $ } from "./app-
|
|
1
|
+
import { a3 as m, u, c as b, w, av as v, aw as $ } from "./app-lX8u0OMu.js";
|
|
2
2
|
import { useCoreStore as c } from "@feedmepos/mf-common";
|
|
3
3
|
import { defineStore as A } from "pinia";
|
|
4
4
|
import { ref as l, computed as d } from "vue";
|