@feedmepos/mf-inventory-portal 0.0.19-dev.13 → 0.0.19-dev.14
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.vue.d.ts +1 -1
- package/dist/{ApprovalView-9MdmwrUz.js → ApprovalView-BY13XuOu.js} +5 -5
- package/dist/{BindingsDialog-C-q6Y04n.js → BindingsDialog-B3PP-XkE.js} +22 -22
- package/dist/{BindingsPicker-syyx9h8v.js → BindingsPicker-DL17pRty.js} +17 -17
- package/dist/{BindingsTable-CQ0WyX2i.js → BindingsTable-CjKOv7Yw.js} +29 -29
- package/dist/Entry.vue.d.ts +1 -1
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DoF7wwNT.js +306 -0
- package/dist/{IngredientsView-Ofs2UG-9.js → IngredientsView-C-rsKAsF.js} +294 -294
- package/dist/{IntegrationView-BCruLSTA.js → IntegrationView-BkhfPSjM.js} +278 -278
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Bvw_BkWY.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Buc21sEN.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BLVAIHDv.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BRijSilS.js} +1 -1
- package/dist/PurchaseOrderPrintPreview-CGMMozPA.js +152 -0
- package/dist/{ReceiveRequestView-Dw-AC1Mw.js → ReceiveRequestView-Bk0pUeEm.js} +7 -7
- package/dist/{RecipeView-B5WkUzLO.js → RecipeView-kzA9kIg8.js} +181 -181
- package/dist/Standalone.vue.d.ts +1 -1
- package/dist/{StockView-CMTxj8Ly.js → StockView-DF-ucES_.js} +23 -23
- package/dist/SupplierView-XlzsU00G.js +813 -0
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-B8IGZmDZ.js → TransferDetails.vue_vue_type_script_setup_true_lang-Bp7AJiJ-.js} +106 -106
- package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-D1NAkXMT.js +1690 -0
- package/dist/TransferTemplateView-CsA2SzQY.js +1279 -0
- package/dist/{UnitView-CExCsCFg.js → UnitView-9VMIlEZ_.js} +242 -242
- package/dist/{WarehouseView-DuPizg7w.js → WarehouseView-JTYLFBsu.js} +360 -362
- package/dist/api/bill.d.ts +238 -84
- package/dist/api/supplier.d.ts +4 -4
- package/dist/app-kYGuBDV8.js +68549 -0
- package/dist/app.d.ts +14 -0
- package/dist/app.js +3 -3
- package/dist/components/ChangeLocationComponent.vue.d.ts +11 -1
- package/dist/components/DeferableLoading.vue.d.ts +1 -1
- package/dist/components/DeleteDialog.vue.d.ts +1 -1
- package/dist/components/FmCoordinateInput.vue.d.ts +3 -3
- package/dist/components/FmDroppableField.vue.d.ts +6 -6
- package/dist/components/FmFilterableSelect.vue.d.ts +3 -3
- package/dist/components/FmInventoryTableToolbar.vue.d.ts +21 -10
- package/dist/components/FmMinMaxInput.vue.d.ts +20 -0
- package/dist/components/FmMinMaxInputProps.d.ts +16 -0
- package/dist/components/FmMinMaxInputRules.d.ts +4 -0
- package/dist/components/FmMultiselectDialog.vue.d.ts +5 -5
- package/dist/components/FmMultiselectDialogProps.d.ts +3 -0
- package/dist/components/FmUnitInputRules.d.ts +1 -0
- package/dist/components/MultiSelectDialog.vue.d.ts +1 -1
- package/dist/components/NavigationTab.vue.d.ts +1 -1
- package/dist/components/NumberPrecisionInput.vue.d.ts +3 -3
- package/dist/components/PremiumBadge.vue.d.ts +3 -3
- package/dist/components/PreviewBadge.vue.d.ts +3 -3
- package/dist/components/StockForecast.vue.d.ts +1 -1
- package/dist/components/TableActionableRow.vue.d.ts +4 -4
- package/dist/components/UnitDisplayControl.vue.d.ts +1 -1
- package/dist/components/icons/IconCommunity.vue.d.ts +1 -1
- package/dist/components/icons/IconDocumentation.vue.d.ts +1 -1
- package/dist/components/icons/IconEcosystem.vue.d.ts +1 -1
- package/dist/components/icons/IconSupport.vue.d.ts +1 -1
- package/dist/components/icons/IconTooling.vue.d.ts +1 -1
- package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +5 -5
- package/dist/components/map/CoordinateDialog.vue.d.ts +4 -4
- package/dist/components/map/GoogleMap.vue.d.ts +6 -6
- package/dist/components/nested-multiselect/FmNestedMultiselectDialog.vue.d.ts +3 -3
- package/dist/components/shell/inventory/binding-dialog.vue.d.ts +3 -3
- package/dist/components/shell/inventory/binding-ui.vue.d.ts +5 -5
- package/dist/components/ui-library/FmDateRangePickerChip.vue.d.ts +5 -5
- package/dist/composable/useIframe.d.ts +1 -1
- package/dist/composable/useSearch.d.ts +1 -1
- package/dist/{decimal-GwZ2MmM_.js → decimal-E3w4eGHF.js} +1 -1
- package/dist/helper/number.d.ts +2 -0
- package/dist/{id-to-date-CMUZ2glF.js → id-to-date-gyR82hWy.js} +1 -1
- package/dist/is-linked-ingredient-error-fJ2TJb3z.js +37 -0
- package/dist/layout/InventoryLayout.vue.d.ts +1 -1
- package/dist/layout/SingleColumnLayout.vue.d.ts +5 -5
- package/dist/layout/components/NavigationButton.vue.d.ts +4 -4
- package/dist/{layout-C3IEOm7C.js → layout-BTYR4n3X.js} +1 -1
- package/dist/{purchase-order-transaction-type-DpZQe_jA.js → purchase-order-transaction-type-CUtdDhYo.js} +2 -2
- package/dist/stores/feature.d.ts +2 -1
- package/dist/stores/location.d.ts +108 -148
- package/dist/stores/supplier.d.ts +672 -18
- package/dist/stores/warehouse.d.ts +9 -5
- package/dist/supplier-Ed-Bva_-.js +60 -0
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/views/InventoryView.vue.d.ts +1 -1
- package/dist/views/SelectBussinessDialog.vue.d.ts +1 -1
- package/dist/views/approval/ApprovalView.vue.d.ts +1 -1
- package/dist/views/dev/ComponentPreview.vue.d.ts +1 -1
- package/dist/views/dev/components/CoordinateTest.vue.d.ts +1 -1
- package/dist/views/dev/components/DateRange.vue.d.ts +1 -1
- package/dist/views/dev/components/FmDecimalInputTest.vue.d.ts +1 -1
- package/dist/views/dev/components/FmMultiselectDialogGrouped.vue.d.ts +1 -1
- package/dist/views/dev/components/FmSelectTest.vue.d.ts +1 -1
- package/dist/views/dev/components/InventoryIframe.vue.d.ts +1 -1
- package/dist/views/dev/components/LayoutDev.vue.d.ts +1 -1
- package/dist/views/dev/components/MfCommontTest.vue.d.ts +1 -1
- package/dist/views/dev/components/NestedSelection.vue.d.ts +1 -1
- package/dist/views/dev/components/NumberStepper.vue.d.ts +1 -1
- package/dist/views/dev/components/TabStorageTest.vue.d.ts +1 -1
- package/dist/views/dev/components/UnitInput.vue.d.ts +1 -1
- package/dist/views/dev/helpers/pinia-test.d.ts +1 -1
- package/dist/views/home/HomeView.vue.d.ts +1 -1
- package/dist/views/iframe/inventory-bindings/bindings-dialog/BindingsDialog.vue.d.ts +1 -1
- package/dist/views/iframe/inventory-bindings/bindings-picker/BindingsPicker.vue.d.ts +1 -1
- package/dist/views/iframe/inventory-bindings/bindings-table/BindingsTable.vue.d.ts +1 -1
- package/dist/views/ingredients/IngredientsView.vue.d.ts +1 -1
- package/dist/views/ingredients/components/cannot-delete/CannotDelete.vue.d.ts +4 -4
- package/dist/views/ingredients/components/convert/ConvertForm.vue.d.ts +3 -3
- package/dist/views/ingredients/components/import-ingredients/ImportIngredientItem.vue.d.ts +1 -1
- package/dist/views/ingredients/components/import-ingredients/ImportIngredients.vue.d.ts +1 -1
- package/dist/views/ingredients/components/ingredient-binded-item/IngredientBindedItem.vue.d.ts +1 -1
- package/dist/views/ingredients/components/ingredient-dialog/IngredientDialog.vue.d.ts +5 -5
- package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +4 -4
- package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +5 -5
- package/dist/views/ingredients/components/inventory-binding/InventoryBindingSummary.vue.d.ts +3 -3
- package/dist/views/ingredients/composables/use-ingredient-form.d.ts +8 -8
- package/dist/views/integration/IntegrationView.vue.d.ts +1 -1
- package/dist/views/integration/components/ApplyAddon.vue.d.ts +5 -5
- package/dist/views/integration/components/ApplyProduct.vue.d.ts +5 -5
- package/dist/views/integration/components/ApplyProductDialog.vue.d.ts +5 -5
- package/dist/views/integration/components/ApplyProductDialogV4.vue.d.ts +5 -5
- package/dist/views/receive-request/ReceiveRequestView.vue.d.ts +1 -1
- package/dist/views/receive-request/components/supplier-price-history/SupplierPriceHistory.vue.d.ts +1 -1
- package/dist/views/receive-request/components/transfer-details/TransferDetails.vue.d.ts +3 -3
- package/dist/views/receive-request/components/transfer-dialog/TransferDialog.vue.d.ts +4 -4
- package/dist/views/receive-request/components/transfer-form/SparkIcon.vue.d.ts +4 -4
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +27 -27
- package/dist/views/receive-request/components/transfer-form/TransferForm2.vue.d.ts +4 -4
- package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +4 -4
- package/dist/views/receive-request/components/transfer-form/components/TransferItem.vue.d.ts +3 -3
- package/dist/views/receive-request/components/transfer-form/components/TransferItemTable.vue.d.ts +3 -3
- package/dist/views/receive-request/components/transfer-form/composables/use-backdate-po.d.ts +4 -4
- package/dist/views/receive-request/components/transfer-form/composables/use-compare-price.d.ts +3 -3
- package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +0 -8
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +1012 -66
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +24 -24
- package/dist/views/receive-request/print-preview/PurchaseOrderPrintPreview.vue.d.ts +1 -1
- package/dist/views/recipe/RecipeView.vue.d.ts +1 -1
- package/dist/views/recipe/components/recipe-dialog/RecipeDialog.vue.d.ts +5 -5
- package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +4 -4
- package/dist/views/recipe/composables/use-recipe-form.d.ts +8 -8
- package/dist/views/stock/StockView.vue.d.ts +1 -1
- package/dist/views/stock/components/StockHeaderPreview.vue.d.ts +1 -1
- package/dist/views/stock/components/StockHistory.vue.d.ts +3 -3
- package/dist/views/stock/components/StockRecalculateDialog.vue.d.ts +2 -2
- package/dist/views/stock/components/StockRecordCard.vue.d.ts +123 -46
- package/dist/views/stock/components/dialog/AdjustSkuDialog.vue.d.ts +4 -4
- package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +3 -3
- package/dist/views/stock/components/dialog/ConvertSkuDialog.vue.d.ts +4 -4
- package/dist/views/stock/composables/use-stock-action.d.ts +11 -11
- package/dist/views/supplier/SupplierView.vue.d.ts +1 -1
- package/dist/views/supplier/components/SupplierDialog.vue.d.ts +4 -4
- package/dist/views/supplier/components/SupplierDialogProps.d.ts +1 -0
- package/dist/views/supplier/components/SupplierForm.vue.d.ts +10 -10
- package/dist/views/supplier/components/SupplierSupplyItemField.vue.d.ts +3 -3
- package/dist/views/supplier/composables/use-supplier-table.d.ts +3 -3
- package/dist/views/transfer-template/TransferTemplateView.vue.d.ts +1 -1
- package/dist/views/transfer-template/components/transfer-template-details/TransferTemplateDetails.vue.d.ts +3 -3
- package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +4 -4
- package/dist/views/transfer-template/components/transfer-template-form/TransferTemplateForm.vue.d.ts +2 -2
- package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItem.vue.d.ts +3 -3
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +7 -7
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +13 -8
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +1020 -79
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +309 -11
- package/dist/views/unit/UnitView.vue.d.ts +1 -1
- package/dist/views/unit/components/unit-dialog/UnitDialog.vue.d.ts +5 -5
- package/dist/views/unit/components/unit-form/UnitForm.vue.d.ts +4 -4
- package/dist/views/unit/components/unit-summary/UnitSummary.vue.d.ts +3 -3
- package/dist/views/unit/components/unit-used-by/UnitUsedBy.vue.d.ts +1 -1
- package/dist/views/unit/composables/use-unit-form.d.ts +8 -8
- package/dist/views/warehouse/WarehouseView.vue.d.ts +1 -1
- package/dist/views/warehouse/components/WarehouseDialog.vue.d.ts +4 -4
- package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +22 -14
- package/dist/{xlsx-CjErNF-B.js → xlsx-q6Ctgevr.js} +2759 -2759
- package/dist/{xlsx.util-CMXCCmUA.js → xlsx.util-Cvqg56mI.js} +2 -2
- package/package.json +2 -1
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DlIq3AyC.js +0 -272
- package/dist/PurchaseOrderPrintPreview-Do2KxBzF.js +0 -152
- package/dist/SupplierView-OmZ0X1E1.js +0 -801
- package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-BJMBsA9j.js +0 -1672
- package/dist/TransferTemplateView-Da6ehaJF.js +0 -1101
- package/dist/app-Chj8x632.js +0 -67206
- package/dist/is-linked-ingredient-error-C6AghEwR.js +0 -37
- package/dist/supplier-dG_APcwB.js +0 -54
|
@@ -25,11 +25,149 @@ export declare function useTransferTemplateTable(): {
|
|
|
25
25
|
amount: number;
|
|
26
26
|
precision: number;
|
|
27
27
|
} | null | undefined;
|
|
28
|
-
|
|
28
|
+
sku: {
|
|
29
|
+
trackingMeasurement?: string | null | undefined;
|
|
30
|
+
convert?: {
|
|
31
|
+
measurement?: string | null | undefined;
|
|
32
|
+
inventoryBindings?: {
|
|
33
|
+
measurement?: {
|
|
34
|
+
id: string;
|
|
35
|
+
name: string;
|
|
36
|
+
abbrev: string;
|
|
37
|
+
conversion: {
|
|
38
|
+
amount: number;
|
|
39
|
+
precision: number;
|
|
40
|
+
};
|
|
41
|
+
} | null | undefined;
|
|
42
|
+
type: "RECIPE" | "SKU";
|
|
43
|
+
amount: {
|
|
44
|
+
amount: number;
|
|
45
|
+
precision: number;
|
|
46
|
+
};
|
|
47
|
+
id: string;
|
|
48
|
+
}[] | null | undefined;
|
|
49
|
+
} | null | undefined;
|
|
50
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
51
|
+
defaultCost?: {
|
|
52
|
+
measurement?: {
|
|
53
|
+
id: string;
|
|
54
|
+
name: string;
|
|
55
|
+
abbrev: string;
|
|
56
|
+
conversion: {
|
|
57
|
+
amount: number;
|
|
58
|
+
precision: number;
|
|
59
|
+
};
|
|
60
|
+
} | null | undefined;
|
|
61
|
+
costPerUnit: {
|
|
62
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
63
|
+
amount: number;
|
|
64
|
+
precision: number;
|
|
65
|
+
};
|
|
66
|
+
} | null | undefined;
|
|
67
|
+
thresholds?: {
|
|
68
|
+
low: number;
|
|
69
|
+
mid: number;
|
|
70
|
+
} | null | undefined;
|
|
71
|
+
operationalGroup?: string | null | undefined;
|
|
72
|
+
unit: {
|
|
73
|
+
_id: string;
|
|
74
|
+
name: string;
|
|
75
|
+
abbrev: string;
|
|
76
|
+
precision: number;
|
|
77
|
+
measurements: {
|
|
78
|
+
id: string;
|
|
79
|
+
name: string;
|
|
80
|
+
abbrev: string;
|
|
81
|
+
conversion: {
|
|
82
|
+
amount: number;
|
|
83
|
+
precision: number;
|
|
84
|
+
};
|
|
85
|
+
}[];
|
|
86
|
+
};
|
|
87
|
+
code: string;
|
|
88
|
+
_id: string;
|
|
89
|
+
name: string;
|
|
90
|
+
};
|
|
91
|
+
code: string;
|
|
92
|
+
name: string;
|
|
93
|
+
quantity: {
|
|
94
|
+
amount: number;
|
|
95
|
+
precision: number;
|
|
96
|
+
};
|
|
97
|
+
quantityStep: {
|
|
98
|
+
amount: number;
|
|
99
|
+
precision: number;
|
|
100
|
+
};
|
|
101
|
+
minimumQuantity: {
|
|
102
|
+
amount: number;
|
|
103
|
+
precision: number;
|
|
104
|
+
};
|
|
105
|
+
maximumQuantity: {
|
|
29
106
|
amount: number;
|
|
30
107
|
precision: number;
|
|
108
|
+
};
|
|
109
|
+
}[];
|
|
110
|
+
supplier: {
|
|
111
|
+
phoneNumber?: string | null | undefined;
|
|
112
|
+
email?: string | null | undefined;
|
|
113
|
+
_rev?: string | null | undefined;
|
|
114
|
+
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
115
|
+
contactName?: string | null | undefined;
|
|
116
|
+
registrationNumber?: string | undefined;
|
|
117
|
+
supplyItems?: {
|
|
118
|
+
defaultCost: {
|
|
119
|
+
measurement?: {
|
|
120
|
+
id: string;
|
|
121
|
+
name: string;
|
|
122
|
+
abbrev: string;
|
|
123
|
+
conversion: {
|
|
124
|
+
amount: number;
|
|
125
|
+
precision: number;
|
|
126
|
+
};
|
|
127
|
+
} | null | undefined;
|
|
128
|
+
costPerUnit: {
|
|
129
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
130
|
+
amount: number;
|
|
131
|
+
precision: number;
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
skuId: string;
|
|
135
|
+
}[] | null | undefined;
|
|
136
|
+
_id: string;
|
|
137
|
+
name: string;
|
|
138
|
+
address: {
|
|
139
|
+
line2?: string | null | undefined;
|
|
140
|
+
line1: string;
|
|
141
|
+
state: string;
|
|
142
|
+
city: string;
|
|
143
|
+
postcode: string;
|
|
144
|
+
country: string;
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
};
|
|
148
|
+
}>[];
|
|
149
|
+
templates: import("vue").Ref<{
|
|
150
|
+
_rev?: string | null | undefined;
|
|
151
|
+
_id: string;
|
|
152
|
+
name: string;
|
|
153
|
+
purchaseOrder: {
|
|
154
|
+
remark?: string | null | undefined;
|
|
155
|
+
ref?: string | null | undefined;
|
|
156
|
+
template?: string | null | undefined;
|
|
157
|
+
stockSnapshotId?: string | null | undefined;
|
|
158
|
+
effectiveAt?: string | null | undefined;
|
|
159
|
+
items: {
|
|
160
|
+
measurement?: {
|
|
161
|
+
id: string;
|
|
162
|
+
name: string;
|
|
163
|
+
abbrev: string;
|
|
164
|
+
conversion: {
|
|
165
|
+
amount: number;
|
|
166
|
+
precision: number;
|
|
167
|
+
};
|
|
31
168
|
} | null | undefined;
|
|
32
|
-
|
|
169
|
+
totalCost?: {
|
|
170
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
33
171
|
amount: number;
|
|
34
172
|
precision: number;
|
|
35
173
|
} | null | undefined;
|
|
@@ -102,13 +240,25 @@ export declare function useTransferTemplateTable(): {
|
|
|
102
240
|
amount: number;
|
|
103
241
|
precision: number;
|
|
104
242
|
};
|
|
243
|
+
quantityStep: {
|
|
244
|
+
amount: number;
|
|
245
|
+
precision: number;
|
|
246
|
+
};
|
|
247
|
+
minimumQuantity: {
|
|
248
|
+
amount: number;
|
|
249
|
+
precision: number;
|
|
250
|
+
};
|
|
251
|
+
maximumQuantity: {
|
|
252
|
+
amount: number;
|
|
253
|
+
precision: number;
|
|
254
|
+
};
|
|
105
255
|
}[];
|
|
106
256
|
supplier: {
|
|
107
|
-
|
|
257
|
+
phoneNumber?: string | null | undefined;
|
|
108
258
|
email?: string | null | undefined;
|
|
259
|
+
_rev?: string | null | undefined;
|
|
109
260
|
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
110
261
|
contactName?: string | null | undefined;
|
|
111
|
-
phoneNumber?: string | null | undefined;
|
|
112
262
|
registrationNumber?: string | undefined;
|
|
113
263
|
supplyItems?: {
|
|
114
264
|
defaultCost: {
|
|
@@ -141,8 +291,7 @@ export declare function useTransferTemplateTable(): {
|
|
|
141
291
|
};
|
|
142
292
|
};
|
|
143
293
|
};
|
|
144
|
-
}
|
|
145
|
-
templates: import("vue").Ref<{
|
|
294
|
+
}[], {
|
|
146
295
|
_rev?: string | null | undefined;
|
|
147
296
|
_id: string;
|
|
148
297
|
name: string;
|
|
@@ -167,11 +316,148 @@ export declare function useTransferTemplateTable(): {
|
|
|
167
316
|
amount: number;
|
|
168
317
|
precision: number;
|
|
169
318
|
} | null | undefined;
|
|
170
|
-
|
|
319
|
+
sku: {
|
|
320
|
+
trackingMeasurement?: string | null | undefined;
|
|
321
|
+
convert?: {
|
|
322
|
+
measurement?: string | null | undefined;
|
|
323
|
+
inventoryBindings?: {
|
|
324
|
+
measurement?: {
|
|
325
|
+
id: string;
|
|
326
|
+
name: string;
|
|
327
|
+
abbrev: string;
|
|
328
|
+
conversion: {
|
|
329
|
+
amount: number;
|
|
330
|
+
precision: number;
|
|
331
|
+
};
|
|
332
|
+
} | null | undefined;
|
|
333
|
+
type: "RECIPE" | "SKU";
|
|
334
|
+
amount: {
|
|
335
|
+
amount: number;
|
|
336
|
+
precision: number;
|
|
337
|
+
};
|
|
338
|
+
id: string;
|
|
339
|
+
}[] | null | undefined;
|
|
340
|
+
} | null | undefined;
|
|
341
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
342
|
+
defaultCost?: {
|
|
343
|
+
measurement?: {
|
|
344
|
+
id: string;
|
|
345
|
+
name: string;
|
|
346
|
+
abbrev: string;
|
|
347
|
+
conversion: {
|
|
348
|
+
amount: number;
|
|
349
|
+
precision: number;
|
|
350
|
+
};
|
|
351
|
+
} | null | undefined;
|
|
352
|
+
costPerUnit: {
|
|
353
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
354
|
+
amount: number;
|
|
355
|
+
precision: number;
|
|
356
|
+
};
|
|
357
|
+
} | null | undefined;
|
|
358
|
+
thresholds?: {
|
|
359
|
+
low: number;
|
|
360
|
+
mid: number;
|
|
361
|
+
} | null | undefined;
|
|
362
|
+
operationalGroup?: string | null | undefined;
|
|
363
|
+
unit: {
|
|
364
|
+
_id: string;
|
|
365
|
+
name: string;
|
|
366
|
+
abbrev: string;
|
|
367
|
+
precision: number;
|
|
368
|
+
measurements: {
|
|
369
|
+
id: string;
|
|
370
|
+
name: string;
|
|
371
|
+
abbrev: string;
|
|
372
|
+
conversion: {
|
|
373
|
+
amount: number;
|
|
374
|
+
precision: number;
|
|
375
|
+
};
|
|
376
|
+
}[];
|
|
377
|
+
};
|
|
378
|
+
code: string;
|
|
379
|
+
_id: string;
|
|
380
|
+
name: string;
|
|
381
|
+
};
|
|
382
|
+
code: string;
|
|
383
|
+
name: string;
|
|
384
|
+
quantity: {
|
|
385
|
+
amount: number;
|
|
386
|
+
precision: number;
|
|
387
|
+
};
|
|
388
|
+
quantityStep: {
|
|
389
|
+
amount: number;
|
|
390
|
+
precision: number;
|
|
391
|
+
};
|
|
392
|
+
minimumQuantity: {
|
|
393
|
+
amount: number;
|
|
394
|
+
precision: number;
|
|
395
|
+
};
|
|
396
|
+
maximumQuantity: {
|
|
171
397
|
amount: number;
|
|
172
398
|
precision: number;
|
|
399
|
+
};
|
|
400
|
+
}[];
|
|
401
|
+
supplier: {
|
|
402
|
+
phoneNumber?: string | null | undefined;
|
|
403
|
+
email?: string | null | undefined;
|
|
404
|
+
_rev?: string | null | undefined;
|
|
405
|
+
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
406
|
+
contactName?: string | null | undefined;
|
|
407
|
+
registrationNumber?: string | undefined;
|
|
408
|
+
supplyItems?: {
|
|
409
|
+
defaultCost: {
|
|
410
|
+
measurement?: {
|
|
411
|
+
id: string;
|
|
412
|
+
name: string;
|
|
413
|
+
abbrev: string;
|
|
414
|
+
conversion: {
|
|
415
|
+
amount: number;
|
|
416
|
+
precision: number;
|
|
417
|
+
};
|
|
418
|
+
} | null | undefined;
|
|
419
|
+
costPerUnit: {
|
|
420
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
421
|
+
amount: number;
|
|
422
|
+
precision: number;
|
|
423
|
+
};
|
|
424
|
+
};
|
|
425
|
+
skuId: string;
|
|
426
|
+
}[] | null | undefined;
|
|
427
|
+
_id: string;
|
|
428
|
+
name: string;
|
|
429
|
+
address: {
|
|
430
|
+
line2?: string | null | undefined;
|
|
431
|
+
line1: string;
|
|
432
|
+
state: string;
|
|
433
|
+
city: string;
|
|
434
|
+
postcode: string;
|
|
435
|
+
country: string;
|
|
436
|
+
};
|
|
437
|
+
};
|
|
438
|
+
};
|
|
439
|
+
}[] | {
|
|
440
|
+
_rev?: string | null | undefined;
|
|
441
|
+
_id: string;
|
|
442
|
+
name: string;
|
|
443
|
+
purchaseOrder: {
|
|
444
|
+
remark?: string | null | undefined;
|
|
445
|
+
ref?: string | null | undefined;
|
|
446
|
+
template?: string | null | undefined;
|
|
447
|
+
stockSnapshotId?: string | null | undefined;
|
|
448
|
+
effectiveAt?: string | null | undefined;
|
|
449
|
+
items: {
|
|
450
|
+
measurement?: {
|
|
451
|
+
id: string;
|
|
452
|
+
name: string;
|
|
453
|
+
abbrev: string;
|
|
454
|
+
conversion: {
|
|
455
|
+
amount: number;
|
|
456
|
+
precision: number;
|
|
457
|
+
};
|
|
173
458
|
} | null | undefined;
|
|
174
|
-
|
|
459
|
+
totalCost?: {
|
|
460
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
175
461
|
amount: number;
|
|
176
462
|
precision: number;
|
|
177
463
|
} | null | undefined;
|
|
@@ -244,13 +530,25 @@ export declare function useTransferTemplateTable(): {
|
|
|
244
530
|
amount: number;
|
|
245
531
|
precision: number;
|
|
246
532
|
};
|
|
533
|
+
quantityStep: {
|
|
534
|
+
amount: number;
|
|
535
|
+
precision: number;
|
|
536
|
+
};
|
|
537
|
+
minimumQuantity: {
|
|
538
|
+
amount: number;
|
|
539
|
+
precision: number;
|
|
540
|
+
};
|
|
541
|
+
maximumQuantity: {
|
|
542
|
+
amount: number;
|
|
543
|
+
precision: number;
|
|
544
|
+
};
|
|
247
545
|
}[];
|
|
248
546
|
supplier: {
|
|
249
|
-
|
|
547
|
+
phoneNumber?: string | null | undefined;
|
|
250
548
|
email?: string | null | undefined;
|
|
549
|
+
_rev?: string | null | undefined;
|
|
251
550
|
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
252
551
|
contactName?: string | null | undefined;
|
|
253
|
-
phoneNumber?: string | null | undefined;
|
|
254
552
|
registrationNumber?: string | undefined;
|
|
255
553
|
supplyItems?: {
|
|
256
554
|
defaultCost: {
|
|
@@ -284,7 +582,7 @@ export declare function useTransferTemplateTable(): {
|
|
|
284
582
|
};
|
|
285
583
|
};
|
|
286
584
|
}[]>;
|
|
287
|
-
loading: import("vue").Ref<boolean>;
|
|
585
|
+
loading: import("vue").Ref<boolean, boolean>;
|
|
288
586
|
fetchTemplates: () => Promise<void>;
|
|
289
587
|
loadTemplate: (templateId: string) => Promise<void>;
|
|
290
588
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
2
|
export default _default;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import type { UnitDialogProps } from './UnitDialogProps';
|
|
2
2
|
import { FormMode } from '@/components/form/form-mode.enum';
|
|
3
|
-
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<UnitDialogProps>, {
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<UnitDialogProps>, {
|
|
4
4
|
mode: FormMode;
|
|
5
|
-
}
|
|
5
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
6
|
"update:show": (show: boolean) => void;
|
|
7
7
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<UnitDialogProps>, {
|
|
8
8
|
mode: FormMode;
|
|
9
|
-
}>>> & {
|
|
9
|
+
}>>> & Readonly<{
|
|
10
10
|
"onUpdate:show"?: ((show: boolean) => any) | undefined;
|
|
11
|
-
}
|
|
11
|
+
}>, {
|
|
12
12
|
mode: FormMode;
|
|
13
|
-
}, {}>;
|
|
13
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
14
14
|
export default _default;
|
|
15
15
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
16
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { UnitFormProps } from './UnitFormProps';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<UnitFormProps
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<UnitFormProps>>, {
|
|
3
3
|
validateInputs: () => void;
|
|
4
4
|
resetInputsValidation: () => void;
|
|
5
5
|
resetInputs: () => void;
|
|
6
|
-
},
|
|
6
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
7
|
"update:modelValue": (mv: {
|
|
8
8
|
_id: string;
|
|
9
9
|
name: string;
|
|
@@ -20,7 +20,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
20
20
|
}[];
|
|
21
21
|
}) => void;
|
|
22
22
|
"click:submit": () => void;
|
|
23
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<UnitFormProps>>> & {
|
|
23
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<UnitFormProps>>> & Readonly<{
|
|
24
24
|
"onUpdate:modelValue"?: ((mv: {
|
|
25
25
|
_id: string;
|
|
26
26
|
name: string;
|
|
@@ -37,7 +37,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
37
37
|
}[];
|
|
38
38
|
}) => any) | undefined;
|
|
39
39
|
"onClick:submit"?: (() => any) | undefined;
|
|
40
|
-
}, {}, {}>;
|
|
40
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
41
41
|
export default _default;
|
|
42
42
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
43
43
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
2
2
|
unit?: {
|
|
3
3
|
_id: string;
|
|
4
4
|
name: string;
|
|
@@ -14,7 +14,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
14
14
|
};
|
|
15
15
|
}[];
|
|
16
16
|
} | undefined;
|
|
17
|
-
}
|
|
17
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
18
18
|
unit?: {
|
|
19
19
|
_id: string;
|
|
20
20
|
name: string;
|
|
@@ -30,7 +30,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
30
30
|
};
|
|
31
31
|
}[];
|
|
32
32
|
} | undefined;
|
|
33
|
-
}
|
|
33
|
+
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
34
34
|
export default _default;
|
|
35
35
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
36
36
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { UnitUsedByProps } from './UnitUsedByProps';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<UnitUsedByProps
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<UnitUsedByProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<UnitUsedByProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
3
3
|
export default _default;
|
|
4
4
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
5
5
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import type { UnitDialogProps } from '../components/unit-dialog/UnitDialogProps';
|
|
2
|
-
export declare const useUnitForm: import("pinia").StoreDefinition<"unitForm",
|
|
2
|
+
export declare const useUnitForm: import("pinia").StoreDefinition<"unitForm", Pick<{
|
|
3
3
|
createUnit: () => void;
|
|
4
4
|
updateUnit: (unitToUpdate: FdoInventoryUnit) => Promise<void>;
|
|
5
5
|
deleteUnit: (unit: FdoInventoryUnit) => void;
|
|
6
|
-
unitDialogProps: import("vue").Ref<UnitDialogProps | undefined>;
|
|
7
|
-
unitViewLoading: import("vue").Ref<boolean>;
|
|
8
|
-
}, "unitDialogProps" | "unitViewLoading"
|
|
6
|
+
unitDialogProps: import("vue").Ref<UnitDialogProps | undefined, UnitDialogProps | undefined>;
|
|
7
|
+
unitViewLoading: import("vue").Ref<boolean, boolean>;
|
|
8
|
+
}, "unitDialogProps" | "unitViewLoading">, Pick<{
|
|
9
9
|
createUnit: () => void;
|
|
10
10
|
updateUnit: (unitToUpdate: FdoInventoryUnit) => Promise<void>;
|
|
11
11
|
deleteUnit: (unit: FdoInventoryUnit) => void;
|
|
12
|
-
unitDialogProps: import("vue").Ref<UnitDialogProps | undefined>;
|
|
13
|
-
unitViewLoading: import("vue").Ref<boolean>;
|
|
12
|
+
unitDialogProps: import("vue").Ref<UnitDialogProps | undefined, UnitDialogProps | undefined>;
|
|
13
|
+
unitViewLoading: import("vue").Ref<boolean, boolean>;
|
|
14
14
|
}, never>, Pick<{
|
|
15
15
|
createUnit: () => void;
|
|
16
16
|
updateUnit: (unitToUpdate: FdoInventoryUnit) => Promise<void>;
|
|
17
17
|
deleteUnit: (unit: FdoInventoryUnit) => void;
|
|
18
|
-
unitDialogProps: import("vue").Ref<UnitDialogProps | undefined>;
|
|
19
|
-
unitViewLoading: import("vue").Ref<boolean>;
|
|
18
|
+
unitDialogProps: import("vue").Ref<UnitDialogProps | undefined, UnitDialogProps | undefined>;
|
|
19
|
+
unitViewLoading: import("vue").Ref<boolean, boolean>;
|
|
20
20
|
}, "createUnit" | "updateUnit" | "deleteUnit">>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
2
|
export default _default;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import type { WarehouseDialogProps } from './WarehouseDialogProps';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<WarehouseDialogProps
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<WarehouseDialogProps>>, {
|
|
3
3
|
validateInputs: () => void;
|
|
4
4
|
resetInputsValidation: () => void;
|
|
5
5
|
resetInputs: () => void;
|
|
6
|
-
},
|
|
6
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
7
|
"update:show": (show: boolean) => void;
|
|
8
8
|
submitted: () => void;
|
|
9
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<WarehouseDialogProps>>> & {
|
|
9
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<WarehouseDialogProps>>> & Readonly<{
|
|
10
10
|
"onUpdate:show"?: ((show: boolean) => any) | undefined;
|
|
11
11
|
onSubmitted?: (() => any) | undefined;
|
|
12
|
-
}, {}, {}>;
|
|
12
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
13
13
|
export default _default;
|
|
14
14
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
15
15
|
type __VLS_TypePropsToRuntimeProps<T> = {
|