@feedmepos/mf-inventory-portal 0.0.20-dev.1 → 0.0.21-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.
Files changed (58) hide show
  1. package/dist/{ApprovalView-CF-RhtHH.js → ApprovalView-DW0_5glj.js} +5 -5
  2. package/dist/{BindingsDialog-0_fCmf7t.js → BindingsDialog-Czx4IaxD.js} +1 -1
  3. package/dist/{BindingsPicker-CT-56t-W.js → BindingsPicker-C25wyJ5c.js} +1 -1
  4. package/dist/BindingsTable-DypE3NR_.js +145 -0
  5. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-6yg6_JPe.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CHNBnuDM.js} +1 -1
  6. package/dist/IngredientsView-B-Hwi7zE.js +1751 -0
  7. package/dist/{IntegrationView-D7hqf0P5.js → IntegrationView-BrsjpHwN.js} +2 -2
  8. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-HcOKpAlW.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DZOs6wE2.js} +1 -1
  9. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BTOE1vFl.js → PremiumBadge.vue_vue_type_script_setup_true_lang-Y3A-wRZm.js} +1 -1
  10. package/dist/{PurchaseOrderPrintPreview-C92PdleC.js → PurchaseOrderPrintPreview-BYxCDtxN.js} +1 -1
  11. package/dist/{ReceiveRequestView-BaxEQWOD.js → ReceiveRequestView-Da81c19A.js} +7 -7
  12. package/dist/{RecipeView-CDgZpLPk.js → RecipeView-21VHawYH.js} +4 -4
  13. package/dist/{StockView-B77CrARl.js → StockView-BRxg62Jk.js} +499 -487
  14. package/dist/{SupplierView-DQ3hB7q2.js → SupplierView-BR7mmuKe.js} +4 -4
  15. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-lsyakQIl.js → TransferDetails.vue_vue_type_script_setup_true_lang-BixtDHmX.js} +88 -87
  16. package/dist/{TransferDialog.vue_vue_type_script_setup_true_lang-DN7NCT72.js → TransferDialog.vue_vue_type_script_setup_true_lang-q75hFaSf.js} +473 -475
  17. package/dist/TransferTemplateView-BXNj1QDe.js +1381 -0
  18. package/dist/{UnitView-DlmlVNOx.js → UnitView-bO2BhUFj.js} +5 -5
  19. package/dist/{WarehouseView-DXWls5vv.js → WarehouseView-CmB2drN4.js} +3 -3
  20. package/dist/api/inventory.d.ts +104 -5
  21. package/dist/api/stock.d.ts +8 -0
  22. package/dist/{app-P7rGzGsF.js → app-CmxCdDLB.js} +5169 -5113
  23. package/dist/app.d.ts +6 -0
  24. package/dist/app.js +3 -3
  25. package/dist/components/FmUnitInputProps.d.ts +1 -0
  26. package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +1 -1
  27. package/dist/components/shell/inventory/binding-ui.vue.d.ts +1 -1
  28. package/dist/{decimal-4ONRlhOO.js → decimal-jg7WewgV.js} +1 -1
  29. package/dist/{id-to-date-D8Ey2CVj.js → id-to-date-5ySGvt_H.js} +1 -1
  30. package/dist/{layout-D-zXtsSp.js → layout-DTjCHRyt.js} +6 -6
  31. package/dist/purchase-order-transaction-type-B9KguKXt.js +723 -0
  32. package/dist/stores/inventory.d.ts +4 -4
  33. package/dist/stores/location.d.ts +308 -1612
  34. package/dist/style.css +1 -1
  35. package/dist/{supplier-DsUIjl-L.js → supplier-D1iKgl2Z.js} +1 -1
  36. package/dist/tsconfig.app.tsbuildinfo +1 -1
  37. package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +2 -2
  38. package/dist/views/ingredients/composables/use-ingredient-table.d.ts +1 -1
  39. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +5 -5
  40. package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +2 -2
  41. package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +1 -1
  42. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +12 -12
  43. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +12 -12
  44. package/dist/views/stock/components/StockRecalculateDialog.vue.d.ts +9 -0
  45. package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +2 -2
  46. package/dist/views/transfer-template/components/transfer-template-details/TransferTemplateDetails.vue.d.ts +2 -2
  47. package/dist/views/transfer-template/components/transfer-template-details/TransferTemplateDetailsProps.d.ts +1 -1
  48. package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +109 -0
  49. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +2 -2
  50. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +1461 -249
  51. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +926 -118
  52. package/dist/{xlsx-zfERRe6K.js → xlsx-DE-wX-rr.js} +1 -1
  53. package/dist/{xlsx.util-DnbiJzsk.js → xlsx.util-ktlEcFIy.js} +2 -2
  54. package/package.json +3 -3
  55. package/dist/BindingsTable-DEftAnTN.js +0 -120
  56. package/dist/IngredientsView-Au6oRwF2.js +0 -1663
  57. package/dist/TransferTemplateView-Dt04xMCK.js +0 -1290
  58. package/dist/format-unit-display-DJpElzu_.js +0 -707
@@ -43,11 +43,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
43
43
  precision: number;
44
44
  };
45
45
  } | null | undefined;
46
- operationalGroup?: string | null | undefined;
47
46
  thresholds?: {
48
47
  low: number;
49
48
  mid: number;
50
49
  } | null | undefined;
50
+ operationalGroup?: string | null | undefined;
51
51
  unit: {
52
52
  _id: string;
53
53
  name: string;
@@ -108,11 +108,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
108
108
  precision: number;
109
109
  };
110
110
  } | null | undefined;
111
- operationalGroup?: string | null | undefined;
112
111
  thresholds?: {
113
112
  low: number;
114
113
  mid: number;
115
114
  } | null | undefined;
115
+ operationalGroup?: string | null | undefined;
116
116
  unit: {
117
117
  _id: string;
118
118
  name: string;
@@ -39,11 +39,11 @@ export declare function useIngredientTable(): {
39
39
  precision: number;
40
40
  };
41
41
  } | null | undefined;
42
- operationalGroup?: string | null | undefined;
43
42
  thresholds?: {
44
43
  low: number;
45
44
  mid: number;
46
45
  } | null | undefined;
46
+ operationalGroup?: string | null | undefined;
47
47
  unit: {
48
48
  _id: string;
49
49
  name: string;
@@ -63,11 +63,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
63
63
  precision: number;
64
64
  };
65
65
  } | null | undefined;
66
- operationalGroup?: string | null | undefined;
67
66
  thresholds?: {
68
67
  low: number;
69
68
  mid: number;
70
69
  } | null | undefined;
70
+ operationalGroup?: string | null | undefined;
71
71
  unit: {
72
72
  _id: string;
73
73
  name: string;
@@ -212,11 +212,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
212
212
  precision: number;
213
213
  };
214
214
  } | null | undefined;
215
- operationalGroup?: string | null | undefined;
216
215
  thresholds?: {
217
216
  low: number;
218
217
  mid: number;
219
218
  } | null | undefined;
219
+ operationalGroup?: string | null | undefined;
220
220
  unit: {
221
221
  _id: string;
222
222
  name: string;
@@ -356,11 +356,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
356
356
  precision: number;
357
357
  };
358
358
  } | null | undefined;
359
- operationalGroup?: string | null | undefined;
360
359
  thresholds?: {
361
360
  low: number;
362
361
  mid: number;
363
362
  } | null | undefined;
363
+ operationalGroup?: string | null | undefined;
364
364
  unit: {
365
365
  _id: string;
366
366
  name: string;
@@ -505,11 +505,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
505
505
  precision: number;
506
506
  };
507
507
  } | null | undefined;
508
- operationalGroup?: string | null | undefined;
509
508
  thresholds?: {
510
509
  low: number;
511
510
  mid: number;
512
511
  } | null | undefined;
512
+ operationalGroup?: string | null | undefined;
513
513
  unit: {
514
514
  _id: string;
515
515
  name: string;
@@ -620,11 +620,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
620
620
  precision: number;
621
621
  };
622
622
  } | null | undefined;
623
- operationalGroup?: string | null | undefined;
624
623
  thresholds?: {
625
624
  low: number;
626
625
  mid: number;
627
626
  } | null | undefined;
627
+ operationalGroup?: string | null | undefined;
628
628
  unit: {
629
629
  _id: string;
630
630
  name: string;
@@ -55,11 +55,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
55
55
  precision: number;
56
56
  };
57
57
  } | null | undefined;
58
- operationalGroup?: string | null | undefined;
59
58
  thresholds?: {
60
59
  low: number;
61
60
  mid: number;
62
61
  } | null | undefined;
62
+ operationalGroup?: string | null | undefined;
63
63
  unit: {
64
64
  _id: string;
65
65
  name: string;
@@ -143,11 +143,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
143
143
  precision: number;
144
144
  };
145
145
  } | null | undefined;
146
- operationalGroup?: string | null | undefined;
147
146
  thresholds?: {
148
147
  low: number;
149
148
  mid: number;
150
149
  } | null | undefined;
150
+ operationalGroup?: string | null | undefined;
151
151
  unit: {
152
152
  _id: string;
153
153
  name: string;
@@ -70,11 +70,11 @@ export declare function useTransferItems(controller: {
70
70
  precision: number;
71
71
  };
72
72
  } | null | undefined;
73
- operationalGroup?: string | null | undefined;
74
73
  thresholds?: {
75
74
  low: number;
76
75
  mid: number;
77
76
  } | null | undefined;
77
+ operationalGroup?: string | null | undefined;
78
78
  unit: {
79
79
  _id: string;
80
80
  name: string;
@@ -71,11 +71,11 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
71
71
  precision: number;
72
72
  };
73
73
  } | null | undefined;
74
- operationalGroup?: string | null | undefined;
75
74
  thresholds?: {
76
75
  low: number;
77
76
  mid: number;
78
77
  } | null | undefined;
78
+ operationalGroup?: string | null | undefined;
79
79
  unit: {
80
80
  _id: string;
81
81
  name: string;
@@ -196,11 +196,11 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
196
196
  precision: number;
197
197
  };
198
198
  } | null | undefined;
199
- operationalGroup?: string | null | undefined;
200
199
  thresholds?: {
201
200
  low: number;
202
201
  mid: number;
203
202
  } | null | undefined;
203
+ operationalGroup?: string | null | undefined;
204
204
  unit: {
205
205
  _id: string;
206
206
  name: string;
@@ -300,11 +300,11 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
300
300
  precision: number;
301
301
  };
302
302
  } | null | undefined;
303
- operationalGroup?: string | null | undefined;
304
303
  thresholds?: {
305
304
  low: number;
306
305
  mid: number;
307
306
  } | null | undefined;
307
+ operationalGroup?: string | null | undefined;
308
308
  unit: {
309
309
  _id: string;
310
310
  name: string;
@@ -425,11 +425,11 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
425
425
  precision: number;
426
426
  };
427
427
  } | null | undefined;
428
- operationalGroup?: string | null | undefined;
429
428
  thresholds?: {
430
429
  low: number;
431
430
  mid: number;
432
431
  } | null | undefined;
432
+ operationalGroup?: string | null | undefined;
433
433
  unit: {
434
434
  _id: string;
435
435
  name: string;
@@ -529,11 +529,11 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
529
529
  precision: number;
530
530
  };
531
531
  } | null | undefined;
532
- operationalGroup?: string | null | undefined;
533
532
  thresholds?: {
534
533
  low: number;
535
534
  mid: number;
536
535
  } | null | undefined;
536
+ operationalGroup?: string | null | undefined;
537
537
  unit: {
538
538
  _id: string;
539
539
  name: string;
@@ -654,11 +654,11 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
654
654
  precision: number;
655
655
  };
656
656
  } | null | undefined;
657
- operationalGroup?: string | null | undefined;
658
657
  thresholds?: {
659
658
  low: number;
660
659
  mid: number;
661
660
  } | null | undefined;
661
+ operationalGroup?: string | null | undefined;
662
662
  unit: {
663
663
  _id: string;
664
664
  name: string;
@@ -760,11 +760,11 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
760
760
  precision: number;
761
761
  };
762
762
  } | null | undefined;
763
- operationalGroup?: string | null | undefined;
764
763
  thresholds?: {
765
764
  low: number;
766
765
  mid: number;
767
766
  } | null | undefined;
767
+ operationalGroup?: string | null | undefined;
768
768
  unit: {
769
769
  _id: string;
770
770
  name: string;
@@ -885,11 +885,11 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
885
885
  precision: number;
886
886
  };
887
887
  } | null | undefined;
888
- operationalGroup?: string | null | undefined;
889
888
  thresholds?: {
890
889
  low: number;
891
890
  mid: number;
892
891
  } | null | undefined;
892
+ operationalGroup?: string | null | undefined;
893
893
  unit: {
894
894
  _id: string;
895
895
  name: string;
@@ -1004,11 +1004,11 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
1004
1004
  precision: number;
1005
1005
  };
1006
1006
  } | null | undefined;
1007
- operationalGroup?: string | null | undefined;
1008
1007
  thresholds?: {
1009
1008
  low: number;
1010
1009
  mid: number;
1011
1010
  } | null | undefined;
1011
+ operationalGroup?: string | null | undefined;
1012
1012
  unit: {
1013
1013
  _id: string;
1014
1014
  name: string;
@@ -1129,11 +1129,11 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
1129
1129
  precision: number;
1130
1130
  };
1131
1131
  } | null | undefined;
1132
- operationalGroup?: string | null | undefined;
1133
1132
  thresholds?: {
1134
1133
  low: number;
1135
1134
  mid: number;
1136
1135
  } | null | undefined;
1136
+ operationalGroup?: string | null | undefined;
1137
1137
  unit: {
1138
1138
  _id: string;
1139
1139
  name: string;
@@ -1248,11 +1248,11 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
1248
1248
  precision: number;
1249
1249
  };
1250
1250
  } | null | undefined;
1251
- operationalGroup?: string | null | undefined;
1252
1251
  thresholds?: {
1253
1252
  low: number;
1254
1253
  mid: number;
1255
1254
  } | null | undefined;
1255
+ operationalGroup?: string | null | undefined;
1256
1256
  unit: {
1257
1257
  _id: string;
1258
1258
  name: string;
@@ -1373,11 +1373,11 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
1373
1373
  precision: number;
1374
1374
  };
1375
1375
  } | null | undefined;
1376
- operationalGroup?: string | null | undefined;
1377
1376
  thresholds?: {
1378
1377
  low: number;
1379
1378
  mid: number;
1380
1379
  } | null | undefined;
1380
+ operationalGroup?: string | null | undefined;
1381
1381
  unit: {
1382
1382
  _id: string;
1383
1383
  name: string;
@@ -80,11 +80,11 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
80
80
  precision: number;
81
81
  };
82
82
  } | null | undefined;
83
- operationalGroup?: string | null | undefined;
84
83
  thresholds?: {
85
84
  low: number;
86
85
  mid: number;
87
86
  } | null | undefined;
87
+ operationalGroup?: string | null | undefined;
88
88
  unit: {
89
89
  _id: string;
90
90
  name: string;
@@ -205,11 +205,11 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
205
205
  precision: number;
206
206
  };
207
207
  } | null | undefined;
208
- operationalGroup?: string | null | undefined;
209
208
  thresholds?: {
210
209
  low: number;
211
210
  mid: number;
212
211
  } | null | undefined;
212
+ operationalGroup?: string | null | undefined;
213
213
  unit: {
214
214
  _id: string;
215
215
  name: string;
@@ -349,11 +349,11 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
349
349
  precision: number;
350
350
  };
351
351
  } | null | undefined;
352
- operationalGroup?: string | null | undefined;
353
352
  thresholds?: {
354
353
  low: number;
355
354
  mid: number;
356
355
  } | null | undefined;
356
+ operationalGroup?: string | null | undefined;
357
357
  unit: {
358
358
  _id: string;
359
359
  name: string;
@@ -474,11 +474,11 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
474
474
  precision: number;
475
475
  };
476
476
  } | null | undefined;
477
- operationalGroup?: string | null | undefined;
478
477
  thresholds?: {
479
478
  low: number;
480
479
  mid: number;
481
480
  } | null | undefined;
481
+ operationalGroup?: string | null | undefined;
482
482
  unit: {
483
483
  _id: string;
484
484
  name: string;
@@ -588,11 +588,11 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
588
588
  precision: number;
589
589
  };
590
590
  } | null | undefined;
591
- operationalGroup?: string | null | undefined;
592
591
  thresholds?: {
593
592
  low: number;
594
593
  mid: number;
595
594
  } | null | undefined;
595
+ operationalGroup?: string | null | undefined;
596
596
  unit: {
597
597
  _id: string;
598
598
  name: string;
@@ -713,11 +713,11 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
713
713
  precision: number;
714
714
  };
715
715
  } | null | undefined;
716
- operationalGroup?: string | null | undefined;
717
716
  thresholds?: {
718
717
  low: number;
719
718
  mid: number;
720
719
  } | null | undefined;
720
+ operationalGroup?: string | null | undefined;
721
721
  unit: {
722
722
  _id: string;
723
723
  name: string;
@@ -843,11 +843,11 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
843
843
  precision: number;
844
844
  };
845
845
  } | null | undefined;
846
- operationalGroup?: string | null | undefined;
847
846
  thresholds?: {
848
847
  low: number;
849
848
  mid: number;
850
849
  } | null | undefined;
850
+ operationalGroup?: string | null | undefined;
851
851
  unit: {
852
852
  _id: string;
853
853
  name: string;
@@ -968,11 +968,11 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
968
968
  precision: number;
969
969
  };
970
970
  } | null | undefined;
971
- operationalGroup?: string | null | undefined;
972
971
  thresholds?: {
973
972
  low: number;
974
973
  mid: number;
975
974
  } | null | undefined;
975
+ operationalGroup?: string | null | undefined;
976
976
  unit: {
977
977
  _id: string;
978
978
  name: string;
@@ -1123,11 +1123,11 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
1123
1123
  precision: number;
1124
1124
  };
1125
1125
  } | null | undefined;
1126
- operationalGroup?: string | null | undefined;
1127
1126
  thresholds?: {
1128
1127
  low: number;
1129
1128
  mid: number;
1130
1129
  } | null | undefined;
1130
+ operationalGroup?: string | null | undefined;
1131
1131
  unit: {
1132
1132
  _id: string;
1133
1133
  name: string;
@@ -1248,11 +1248,11 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
1248
1248
  precision: number;
1249
1249
  };
1250
1250
  } | null | undefined;
1251
- operationalGroup?: string | null | undefined;
1252
1251
  thresholds?: {
1253
1252
  low: number;
1254
1253
  mid: number;
1255
1254
  } | null | undefined;
1255
+ operationalGroup?: string | null | undefined;
1256
1256
  unit: {
1257
1257
  _id: string;
1258
1258
  name: string;
@@ -1377,11 +1377,11 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
1377
1377
  precision: number;
1378
1378
  };
1379
1379
  } | null | undefined;
1380
- operationalGroup?: string | null | undefined;
1381
1380
  thresholds?: {
1382
1381
  low: number;
1383
1382
  mid: number;
1384
1383
  } | null | undefined;
1384
+ operationalGroup?: string | null | undefined;
1385
1385
  unit: {
1386
1386
  _id: string;
1387
1387
  name: string;
@@ -1502,11 +1502,11 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
1502
1502
  precision: number;
1503
1503
  };
1504
1504
  } | null | undefined;
1505
- operationalGroup?: string | null | undefined;
1506
1505
  thresholds?: {
1507
1506
  low: number;
1508
1507
  mid: number;
1509
1508
  } | null | undefined;
1509
+ operationalGroup?: string | null | undefined;
1510
1510
  unit: {
1511
1511
  _id: string;
1512
1512
  name: string;
@@ -0,0 +1,9 @@
1
+ export interface StockRecalculateDialogEvents {
2
+ (event: 'close'): void;
3
+ }
4
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
+ close: () => void;
6
+ }, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
7
+ onClose?: (() => any) | undefined;
8
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
9
+ export default _default;
@@ -70,11 +70,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
70
70
  precision: number;
71
71
  };
72
72
  } | null | undefined;
73
- operationalGroup?: string | null | undefined;
74
73
  thresholds?: {
75
74
  low: number;
76
75
  mid: number;
77
76
  } | null | undefined;
77
+ operationalGroup?: string | null | undefined;
78
78
  unit: {
79
79
  _id: string;
80
80
  name: string;
@@ -167,11 +167,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
167
167
  precision: number;
168
168
  };
169
169
  } | null | undefined;
170
- operationalGroup?: string | null | undefined;
171
170
  thresholds?: {
172
171
  low: number;
173
172
  mid: number;
174
173
  } | null | undefined;
174
+ operationalGroup?: string | null | undefined;
175
175
  unit: {
176
176
  _id: string;
177
177
  name: string;
@@ -1,11 +1,11 @@
1
1
  import type { TransferTemplateDetailsProps } from './TransferTemplateDetailsProps';
2
2
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<TransferTemplateDetailsProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
3
  "update:show": (show: boolean) => void;
4
- "action:use": () => void;
4
+ "action:use": (locationId: string) => void;
5
5
  "action:edit": () => void;
6
6
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<TransferTemplateDetailsProps>>> & Readonly<{
7
7
  "onUpdate:show"?: ((show: boolean) => any) | undefined;
8
- "onAction:use"?: (() => any) | undefined;
8
+ "onAction:use"?: ((locationId: string) => any) | undefined;
9
9
  "onAction:edit"?: (() => any) | undefined;
10
10
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
11
11
  export default _default;
@@ -4,6 +4,6 @@ export interface TransferTemplateDetailsProps {
4
4
  }
5
5
  export interface TransferTemplateDetailsEvents {
6
6
  (event: 'update:show', show: boolean): void;
7
- (event: 'action:use'): void;
7
+ (event: 'action:use', locationId: string): void;
8
8
  (event: 'action:edit'): void;
9
9
  }
@@ -0,0 +1,109 @@
1
+ export declare function useTemplateEnabledLocations(controller: {
2
+ getLocations(): FdoInventoryLocation[] | undefined | null;
3
+ setLocations(locations: FdoInventoryLocation[] | undefined | null): void;
4
+ }): {
5
+ enabledLocations: import("vue").ComputedRef<({
6
+ doc?: any;
7
+ type: "restaurant";
8
+ name: string;
9
+ acceptRequest: boolean;
10
+ dbName: string;
11
+ } | {
12
+ type: "warehouse";
13
+ name: string;
14
+ acceptRequest: boolean;
15
+ dbName: string;
16
+ doc: {
17
+ pf_business?: {
18
+ internal?: boolean | null | undefined;
19
+ url?: string | null | undefined;
20
+ expiredAt?: string | null | undefined;
21
+ agentId?: string | null | undefined;
22
+ restaurantTagGroups?: {
23
+ name: string;
24
+ id: string;
25
+ tags: {
26
+ name: string;
27
+ id: string;
28
+ }[];
29
+ }[] | null | undefined;
30
+ pf_agent?: {
31
+ clickupId?: string | null | undefined;
32
+ members?: {
33
+ pf_user?: {
34
+ email?: string | null | undefined;
35
+ phoneNumber?: string | null | undefined;
36
+ birthday?: string | null | undefined;
37
+ gender?: "MALE" | "FEMALE" | null | undefined;
38
+ addresses?: {
39
+ name: string;
40
+ address: string;
41
+ coordinates: number[];
42
+ }[] | null | undefined;
43
+ photoURL?: string | null | undefined;
44
+ displayName?: string | null | undefined;
45
+ imported?: {
46
+ raw: Record<string, any>;
47
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
48
+ } | null | undefined;
49
+ _id: string;
50
+ } | null | undefined;
51
+ role: "ADMIN";
52
+ userId: string;
53
+ }[] | null | undefined;
54
+ code: string;
55
+ name: string;
56
+ _id: string;
57
+ isReseller: boolean;
58
+ } | null | undefined;
59
+ thumbnail?: string | null | undefined;
60
+ billingInfos?: {
61
+ _id?: string | null | undefined;
62
+ name: string;
63
+ address: {
64
+ coordinates?: number[] | null | undefined;
65
+ line2?: string | null | undefined;
66
+ state: string;
67
+ country: string;
68
+ line1: string;
69
+ city: string;
70
+ postcode: string;
71
+ };
72
+ email: string;
73
+ companyName: string;
74
+ contact: string;
75
+ }[] | null | undefined;
76
+ customerDisplayImages?: {
77
+ url: string;
78
+ restaurantIds: string[];
79
+ }[] | null | undefined;
80
+ name: string;
81
+ _id: string;
82
+ ownerId: string;
83
+ restaurantQuota: number;
84
+ warehouseQuota: number;
85
+ menuVersion: string;
86
+ } | null | undefined;
87
+ _id: string;
88
+ businessId: string;
89
+ profile: {
90
+ email?: string | null | undefined;
91
+ phoneNo?: string | null | undefined;
92
+ name: string;
93
+ address: {
94
+ coordinates?: number[] | null | undefined;
95
+ line2?: string | null | undefined;
96
+ state: string;
97
+ country: string;
98
+ line1: string;
99
+ city: string;
100
+ postcode: string;
101
+ };
102
+ regNo: string;
103
+ };
104
+ };
105
+ })[] | undefined>;
106
+ enabledLocationsSwitch: import("vue").WritableComputedRef<boolean, boolean>;
107
+ promptSelectLocations: () => void;
108
+ removeLocation: (id: string) => void;
109
+ };
@@ -12,7 +12,7 @@ export declare enum ItemColumn {
12
12
  }
13
13
  export declare function useTransferTemplateItems(controller: {
14
14
  get items(): FdoPurchaseOrderItem[];
15
- get supplier(): FdoPurchaseOrderSupplier;
15
+ get supplier(): FdoPurchaseOrderSupplier | undefined | null;
16
16
  get transferType(): PurchaseOrderTransactionType;
17
17
  updateItem: (item: FdoPurchaseOrderTemplateItem) => void;
18
18
  deleteItem: (item: FdoPurchaseOrderTemplateItem) => void;
@@ -72,11 +72,11 @@ export declare function useTransferTemplateItems(controller: {
72
72
  precision: number;
73
73
  };
74
74
  } | null | undefined;
75
- operationalGroup?: string | null | undefined;
76
75
  thresholds?: {
77
76
  low: number;
78
77
  mid: number;
79
78
  } | null | undefined;
79
+ operationalGroup?: string | null | undefined;
80
80
  unit: {
81
81
  _id: string;
82
82
  name: string;