@feedmepos/mf-inventory-portal 0.0.19-dev.9 → 0.0.20-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.vue.d.ts +1 -1
- package/dist/{ApprovalView-Bcxk6B7K.js → ApprovalView-CF-RhtHH.js} +5 -5
- package/dist/{BindingsDialog-XDkcjW_c.js → BindingsDialog-0_fCmf7t.js} +26 -26
- package/dist/{BindingsPicker-CgbiqX72.js → BindingsPicker-CT-56t-W.js} +17 -17
- package/dist/BindingsTable-DEftAnTN.js +120 -0
- package/dist/Entry.vue.d.ts +1 -1
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-6yg6_JPe.js +308 -0
- package/dist/IngredientsView-Au6oRwF2.js +1663 -0
- package/dist/{IntegrationView-CErHEVAO.js → IntegrationView-D7hqf0P5.js} +278 -278
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-XXoPyhlc.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-HcOKpAlW.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BpyUheXn.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BTOE1vFl.js} +1 -1
- package/dist/PurchaseOrderPrintPreview-C92PdleC.js +152 -0
- package/dist/{ReceiveRequestView-BKbeFDxm.js → ReceiveRequestView-BaxEQWOD.js} +8 -8
- package/dist/{RecipeView-Drp4l4gL.js → RecipeView-CDgZpLPk.js} +181 -181
- package/dist/Standalone.vue.d.ts +1 -1
- package/dist/{StockView-Cj6fErwD.js → StockView-B77CrARl.js} +498 -502
- package/dist/SupplierView-DQ3hB7q2.js +819 -0
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-lsyakQIl.js +738 -0
- package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-DN7NCT72.js +1435 -0
- package/dist/TransferTemplateView-Dt04xMCK.js +1290 -0
- package/dist/{UnitView-C_tAxIpq.js → UnitView-DlmlVNOx.js} +242 -242
- package/dist/{WarehouseView-BAqVtbD6.js → WarehouseView-DXWls5vv.js} +360 -362
- package/dist/api/bill.d.ts +238 -84
- package/dist/api/inventory.d.ts +3 -3
- package/dist/api/purchase-order-template.d.ts +4 -0
- package/dist/api/stock.d.ts +0 -8
- package/dist/api/supplier.d.ts +2 -0
- package/dist/app-P7rGzGsF.js +68600 -0
- package/dist/app.d.ts +200 -7
- package/dist/app.js +3 -3
- package/dist/{array-AvWd53LI.js → array-ClJzD_Lt.js} +3 -3
- package/dist/components/ChangeLocationComponent.vue.d.ts +14 -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 +19 -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 +14 -1
- 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 +6 -6
- 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/row-action.enum.d.ts +3 -1
- package/dist/components/shell/inventory/binding-dialog.vue.d.ts +3 -3
- package/dist/components/shell/inventory/binding-ui.vue.d.ts +6 -6
- 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-D3KXLC4T.js → decimal-4ONRlhOO.js} +1 -1
- package/dist/format-unit-display-DJpElzu_.js +707 -0
- package/dist/helper/number.d.ts +2 -0
- package/dist/{id-to-date-Cj02m808.js → id-to-date-D8Ey2CVj.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 +6 -5
- package/dist/layout/components/NavigationButton.vue.d.ts +4 -4
- package/dist/layout-D-zXtsSp.js +151 -0
- package/dist/row-action.enum-PMKMRrZR.js +50 -0
- package/dist/stores/feature.d.ts +5 -1
- package/dist/stores/inventory.d.ts +4 -4
- package/dist/stores/location.d.ts +185 -152
- package/dist/stores/supplier.d.ts +666 -12
- package/dist/stores/warehouse.d.ts +17 -5
- package/dist/supplier-DsUIjl-L.js +69 -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 +2 -0
- 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 +6 -6
- 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/ingredients/composables/use-ingredient-table.d.ts +1 -1
- 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/select-template-dialog/SelectTemplateDialog.vue.d.ts +8 -0
- 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-dialog/TransferDialogProps.d.ts +1 -1
- 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 +34 -32
- package/dist/views/receive-request/components/transfer-form/TransferForm2.vue.d.ts +8 -2
- package/dist/views/receive-request/components/transfer-form/TransferFormProps.d.ts +1 -0
- package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +6 -6
- 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 +2 -9
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +1016 -70
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +36 -36
- 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/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 +5 -5
- 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/stock/helper/stock-row-action.d.ts +4 -2
- 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/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 +20 -0
- package/dist/views/transfer-template/components/transfer-template-details/TransferTemplateDetailsProps.d.ts +9 -0
- 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 +15 -9
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +1428 -43
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +893 -13
- 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 +38 -14
- package/dist/{xlsx-B-2KyDJq.js → xlsx-zfERRe6K.js} +3383 -3383
- package/dist/{xlsx.util-D6EzRE71.js → xlsx.util-DnbiJzsk.js} +4 -4
- package/package.json +6 -5
- package/dist/BindingsTable-xNXNsBAd.js +0 -145
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DFPkUHl-.js +0 -272
- package/dist/IngredientsView-DD7ns3mP.js +0 -1751
- package/dist/PurchaseOrderPrintPreview-L_iaaURb.js +0 -152
- package/dist/SupplierView-EFsHWet-.js +0 -801
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-kM5fyqq6.js +0 -745
- package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-CyFMCmXw.js +0 -1605
- package/dist/TransferTemplateView-Cymhrayh.js +0 -933
- package/dist/app-CeUU5Gd8.js +0 -66938
- package/dist/is-linked-ingredient-error-C6AghEwR.js +0 -37
- package/dist/layout-2zzAZIVO.js +0 -147
- package/dist/purchase-order-transaction-type-Dz0YF5qh.js +0 -294
- package/dist/row-action.enum-7jVyol1k.js +0 -36
- package/dist/supplier-mDVKd7Ge.js +0 -54
- package/dist/views/stock/components/StockRecalculateDialog.vue.d.ts +0 -9
package/dist/app.d.ts
CHANGED
|
@@ -4,15 +4,24 @@ export declare const i18nMessages: {
|
|
|
4
4
|
'en-US': {
|
|
5
5
|
inventory: {
|
|
6
6
|
common: {
|
|
7
|
+
proPlan: {
|
|
8
|
+
title: string;
|
|
9
|
+
subtitle: string;
|
|
10
|
+
comparePlans: string;
|
|
11
|
+
callUs: string;
|
|
12
|
+
};
|
|
7
13
|
table: {
|
|
8
14
|
toolbar: {
|
|
9
15
|
filterItems: string;
|
|
10
16
|
};
|
|
11
17
|
};
|
|
12
18
|
noLocationSelected: string;
|
|
19
|
+
business: string;
|
|
13
20
|
restaurant: string;
|
|
14
21
|
warehouse: string;
|
|
15
22
|
noResultFound: string;
|
|
23
|
+
details: string;
|
|
24
|
+
print: string;
|
|
16
25
|
};
|
|
17
26
|
formField: {
|
|
18
27
|
rules: {
|
|
@@ -67,6 +76,11 @@ export declare const i18nMessages: {
|
|
|
67
76
|
noData: string;
|
|
68
77
|
daysRemaining: string;
|
|
69
78
|
};
|
|
79
|
+
action: {
|
|
80
|
+
history: string;
|
|
81
|
+
convert: string;
|
|
82
|
+
adjust: string;
|
|
83
|
+
};
|
|
70
84
|
convert: {
|
|
71
85
|
title: string;
|
|
72
86
|
amount: string;
|
|
@@ -149,9 +163,6 @@ export declare const i18nMessages: {
|
|
|
149
163
|
applyOperationalGroup: string;
|
|
150
164
|
subtitle: string;
|
|
151
165
|
operationalLabel: string;
|
|
152
|
-
operationalLabelHint: string;
|
|
153
|
-
preset: string;
|
|
154
|
-
custom: string;
|
|
155
166
|
};
|
|
156
167
|
table: {
|
|
157
168
|
loading: string;
|
|
@@ -334,23 +345,57 @@ export declare const i18nMessages: {
|
|
|
334
345
|
};
|
|
335
346
|
form: {
|
|
336
347
|
name: string;
|
|
348
|
+
loading: string;
|
|
349
|
+
unableToFetchListOfSuppliers: {
|
|
350
|
+
title: string;
|
|
351
|
+
message: string;
|
|
352
|
+
};
|
|
337
353
|
type: {
|
|
338
354
|
title: string;
|
|
339
355
|
purchase: string;
|
|
340
356
|
transfer: string;
|
|
341
357
|
};
|
|
358
|
+
lastClosing: string;
|
|
342
359
|
purchaseFrom: string;
|
|
343
360
|
transferFrom: string;
|
|
361
|
+
noLocationAvailable: string;
|
|
362
|
+
noSupplierAvailable: string;
|
|
344
363
|
reference: string;
|
|
345
364
|
remark: string;
|
|
365
|
+
backdate: {
|
|
366
|
+
title: string;
|
|
367
|
+
subtitle: string;
|
|
368
|
+
error: string;
|
|
369
|
+
};
|
|
346
370
|
items: {
|
|
347
371
|
title: string;
|
|
372
|
+
addItem: string;
|
|
373
|
+
fromTemplate: {
|
|
374
|
+
title: string;
|
|
375
|
+
sublabel: string;
|
|
376
|
+
};
|
|
377
|
+
other: {
|
|
378
|
+
title: string;
|
|
379
|
+
};
|
|
380
|
+
selectItem: string;
|
|
381
|
+
fetchingData: string;
|
|
382
|
+
comparePriceHistory: string;
|
|
383
|
+
forecastStock: {
|
|
384
|
+
title: string;
|
|
385
|
+
days: string;
|
|
386
|
+
replace: string;
|
|
387
|
+
cancel: string;
|
|
388
|
+
generate: string;
|
|
389
|
+
notAvailable: string;
|
|
390
|
+
};
|
|
391
|
+
autoCalculated: string;
|
|
348
392
|
table: {
|
|
349
393
|
Code: string;
|
|
350
394
|
Name: string;
|
|
351
395
|
Amount: string;
|
|
352
396
|
DefaultAmount: string;
|
|
353
397
|
DefaultAmount2: string;
|
|
398
|
+
Limit: string;
|
|
354
399
|
MinimumAmount: string;
|
|
355
400
|
MinimumAmount2: string;
|
|
356
401
|
Step: string;
|
|
@@ -405,6 +450,24 @@ export declare const i18nMessages: {
|
|
|
405
450
|
success: string;
|
|
406
451
|
message: string;
|
|
407
452
|
};
|
|
453
|
+
create: {
|
|
454
|
+
title: string;
|
|
455
|
+
success: string;
|
|
456
|
+
successMessage: string;
|
|
457
|
+
error: {
|
|
458
|
+
title: string;
|
|
459
|
+
message: string;
|
|
460
|
+
};
|
|
461
|
+
};
|
|
462
|
+
update: {
|
|
463
|
+
title: string;
|
|
464
|
+
success: string;
|
|
465
|
+
successMessage: string;
|
|
466
|
+
error: {
|
|
467
|
+
title: string;
|
|
468
|
+
message: string;
|
|
469
|
+
};
|
|
470
|
+
};
|
|
408
471
|
};
|
|
409
472
|
approval: {
|
|
410
473
|
title: string;
|
|
@@ -418,8 +481,23 @@ export declare const i18nMessages: {
|
|
|
418
481
|
title2: string;
|
|
419
482
|
create: {
|
|
420
483
|
title: string;
|
|
484
|
+
success: string;
|
|
485
|
+
successMessage: string;
|
|
486
|
+
error: string;
|
|
487
|
+
errorMessage: string;
|
|
488
|
+
};
|
|
489
|
+
update: {
|
|
490
|
+
title: string;
|
|
491
|
+
success: string;
|
|
492
|
+
successMessage: string;
|
|
493
|
+
error: string;
|
|
494
|
+
errorMessage: string;
|
|
421
495
|
};
|
|
422
496
|
use: string;
|
|
497
|
+
details: {
|
|
498
|
+
view: string;
|
|
499
|
+
templateSummary: string;
|
|
500
|
+
};
|
|
423
501
|
};
|
|
424
502
|
};
|
|
425
503
|
supplier: {
|
|
@@ -556,6 +634,12 @@ export declare const i18nMessages: {
|
|
|
556
634
|
'zh-CN': {
|
|
557
635
|
inventory: {
|
|
558
636
|
common: {
|
|
637
|
+
proPlan: {
|
|
638
|
+
title: string;
|
|
639
|
+
subtitle: string;
|
|
640
|
+
comparePlans: string;
|
|
641
|
+
callUs: string;
|
|
642
|
+
};
|
|
559
643
|
table: {
|
|
560
644
|
toolbar: {
|
|
561
645
|
filterItems: string;
|
|
@@ -565,6 +649,8 @@ export declare const i18nMessages: {
|
|
|
565
649
|
restaurant: string;
|
|
566
650
|
warehouse: string;
|
|
567
651
|
noResultFound: string;
|
|
652
|
+
details: string;
|
|
653
|
+
print: string;
|
|
568
654
|
};
|
|
569
655
|
formField: {
|
|
570
656
|
rules: {
|
|
@@ -590,6 +676,8 @@ export declare const i18nMessages: {
|
|
|
590
676
|
recipe: string;
|
|
591
677
|
ingredient: string;
|
|
592
678
|
invalidWarning: string;
|
|
679
|
+
name: string;
|
|
680
|
+
itemsLinked: string;
|
|
593
681
|
};
|
|
594
682
|
inventoryAdjustment: {
|
|
595
683
|
title: string;
|
|
@@ -617,6 +705,11 @@ export declare const i18nMessages: {
|
|
|
617
705
|
noData: string;
|
|
618
706
|
daysRemaining: string;
|
|
619
707
|
};
|
|
708
|
+
action: {
|
|
709
|
+
history: string;
|
|
710
|
+
convert: string;
|
|
711
|
+
adjust: string;
|
|
712
|
+
};
|
|
620
713
|
convert: {
|
|
621
714
|
title: string;
|
|
622
715
|
amount: string;
|
|
@@ -699,9 +792,6 @@ export declare const i18nMessages: {
|
|
|
699
792
|
applyOperationalGroup: string;
|
|
700
793
|
subtitle: string;
|
|
701
794
|
operationalLabel: string;
|
|
702
|
-
operationalLabelHint: string;
|
|
703
|
-
preset: string;
|
|
704
|
-
custom: string;
|
|
705
795
|
};
|
|
706
796
|
table: {
|
|
707
797
|
loading: string;
|
|
@@ -785,7 +875,6 @@ export declare const i18nMessages: {
|
|
|
785
875
|
};
|
|
786
876
|
};
|
|
787
877
|
recipe: {
|
|
788
|
-
addRecipe: string;
|
|
789
878
|
title: string;
|
|
790
879
|
name: string;
|
|
791
880
|
ingredients: string;
|
|
@@ -881,6 +970,7 @@ export declare const i18nMessages: {
|
|
|
881
970
|
noOfItems: string;
|
|
882
971
|
reference: string;
|
|
883
972
|
status: string;
|
|
973
|
+
name: string;
|
|
884
974
|
};
|
|
885
975
|
receiveRequest: {
|
|
886
976
|
title: string;
|
|
@@ -926,6 +1016,25 @@ export declare const i18nMessages: {
|
|
|
926
1016
|
success: string;
|
|
927
1017
|
message: string;
|
|
928
1018
|
};
|
|
1019
|
+
title2: string;
|
|
1020
|
+
create: {
|
|
1021
|
+
title: string;
|
|
1022
|
+
success: string;
|
|
1023
|
+
successMessage: string;
|
|
1024
|
+
error: {
|
|
1025
|
+
title: string;
|
|
1026
|
+
message: string;
|
|
1027
|
+
};
|
|
1028
|
+
};
|
|
1029
|
+
update: {
|
|
1030
|
+
title: string;
|
|
1031
|
+
success: string;
|
|
1032
|
+
successMessage: string;
|
|
1033
|
+
error: {
|
|
1034
|
+
title: string;
|
|
1035
|
+
message: string;
|
|
1036
|
+
};
|
|
1037
|
+
};
|
|
929
1038
|
};
|
|
930
1039
|
approval: {
|
|
931
1040
|
title: string;
|
|
@@ -934,6 +1043,90 @@ export declare const i18nMessages: {
|
|
|
934
1043
|
rejectRequest: string;
|
|
935
1044
|
};
|
|
936
1045
|
};
|
|
1046
|
+
form: {
|
|
1047
|
+
name: string;
|
|
1048
|
+
loading: string;
|
|
1049
|
+
unableToFetchListOfSuppliers: {
|
|
1050
|
+
title: string;
|
|
1051
|
+
message: string;
|
|
1052
|
+
};
|
|
1053
|
+
type: {
|
|
1054
|
+
title: string;
|
|
1055
|
+
purchase: string;
|
|
1056
|
+
transfer: string;
|
|
1057
|
+
};
|
|
1058
|
+
lastClosing: string;
|
|
1059
|
+
purchaseFrom: string;
|
|
1060
|
+
transferFrom: string;
|
|
1061
|
+
noLocationAvailable: string;
|
|
1062
|
+
noSupplierAvailable: string;
|
|
1063
|
+
reference: string;
|
|
1064
|
+
remark: string;
|
|
1065
|
+
backdate: {
|
|
1066
|
+
title: string;
|
|
1067
|
+
subtitle: string;
|
|
1068
|
+
error: string;
|
|
1069
|
+
};
|
|
1070
|
+
items: {
|
|
1071
|
+
title: string;
|
|
1072
|
+
addItem: string;
|
|
1073
|
+
fromTemplate: {
|
|
1074
|
+
title: string;
|
|
1075
|
+
sublabel: string;
|
|
1076
|
+
};
|
|
1077
|
+
other: {
|
|
1078
|
+
title: string;
|
|
1079
|
+
};
|
|
1080
|
+
selectItem: string;
|
|
1081
|
+
fetchingData: string;
|
|
1082
|
+
comparePriceHistory: string;
|
|
1083
|
+
forecastStock: {
|
|
1084
|
+
title: string;
|
|
1085
|
+
days: string;
|
|
1086
|
+
replace: string;
|
|
1087
|
+
cancel: string;
|
|
1088
|
+
generate: string;
|
|
1089
|
+
notAvailable: string;
|
|
1090
|
+
};
|
|
1091
|
+
autoCalculated: string;
|
|
1092
|
+
table: {
|
|
1093
|
+
Code: string;
|
|
1094
|
+
Name: string;
|
|
1095
|
+
Amount: string;
|
|
1096
|
+
DefaultAmount: string;
|
|
1097
|
+
DefaultAmount2: string;
|
|
1098
|
+
MinimumAmount: string;
|
|
1099
|
+
MinimumAmount2: string;
|
|
1100
|
+
Step: string;
|
|
1101
|
+
Cost: string;
|
|
1102
|
+
Cost2: string;
|
|
1103
|
+
Delete: string;
|
|
1104
|
+
};
|
|
1105
|
+
};
|
|
1106
|
+
};
|
|
1107
|
+
template: {
|
|
1108
|
+
title: string;
|
|
1109
|
+
title2: string;
|
|
1110
|
+
create: {
|
|
1111
|
+
title: string;
|
|
1112
|
+
success: string;
|
|
1113
|
+
successMessage: string;
|
|
1114
|
+
error: string;
|
|
1115
|
+
errorMessage: string;
|
|
1116
|
+
};
|
|
1117
|
+
update: {
|
|
1118
|
+
title: string;
|
|
1119
|
+
success: string;
|
|
1120
|
+
successMessage: string;
|
|
1121
|
+
error: string;
|
|
1122
|
+
errorMessage: string;
|
|
1123
|
+
};
|
|
1124
|
+
use: string;
|
|
1125
|
+
details: {
|
|
1126
|
+
view: string;
|
|
1127
|
+
templateSummary: string;
|
|
1128
|
+
};
|
|
1129
|
+
};
|
|
937
1130
|
};
|
|
938
1131
|
supplier: {
|
|
939
1132
|
title: string;
|
package/dist/app.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ap as s, _ as r, aq as e, an as o, ao as t, u as i } from "./app-P7rGzGsF.js";
|
|
2
2
|
export {
|
|
3
3
|
s as FmApp,
|
|
4
4
|
r as InventoryBindingForm,
|
|
5
5
|
e as InventoryBindingSummary,
|
|
6
6
|
o as i18nMessages,
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
t as routers,
|
|
8
|
+
i as useInventoryStore
|
|
9
9
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Array.prototype.computeFirst = function(e) {
|
|
2
2
|
const t = this.length;
|
|
3
3
|
for (let n = 0; n < t; n++) {
|
|
4
|
-
const
|
|
4
|
+
const r = this.at(n), i = e(r, n, this);
|
|
5
5
|
if (i != null)
|
|
6
6
|
return i;
|
|
7
7
|
}
|
|
@@ -9,7 +9,7 @@ Array.prototype.computeFirst = function(e) {
|
|
|
9
9
|
Array.prototype.computeLast = function(e) {
|
|
10
10
|
const t = this.length - 1;
|
|
11
11
|
for (let n = t; n >= 0; n--) {
|
|
12
|
-
const
|
|
12
|
+
const r = this.at(n), i = e(r, n, this);
|
|
13
13
|
if (i != null)
|
|
14
14
|
return i;
|
|
15
15
|
}
|
|
@@ -17,7 +17,7 @@ Array.prototype.computeLast = function(e) {
|
|
|
17
17
|
Array.prototype.insert = function(e, t) {
|
|
18
18
|
if (t < this.length) {
|
|
19
19
|
const n = this.splice(t, this.length);
|
|
20
|
-
return this[t] = e, n.forEach((
|
|
20
|
+
return this[t] = e, n.forEach((r) => this.push(r)), this;
|
|
21
21
|
}
|
|
22
22
|
return this[t] = e, this;
|
|
23
23
|
};
|
|
@@ -1,2 +1,15 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
showBusiness?: boolean | undefined;
|
|
3
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
showBusiness?: boolean | undefined;
|
|
5
|
+
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
6
|
export default _default;
|
|
7
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
8
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
9
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
10
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
11
|
+
} : {
|
|
12
|
+
type: import('vue').PropType<T[K]>;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DeferableLoadingProps } from './DeferableLoadingProps';
|
|
2
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<DeferableLoadingProps
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<DeferableLoadingProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<DeferableLoadingProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
3
3
|
default?(_: {}): any;
|
|
4
4
|
}>;
|
|
5
5
|
export default _default;
|
|
@@ -5,7 +5,7 @@ export interface DeleteDialogProps {
|
|
|
5
5
|
message: String;
|
|
6
6
|
bindedItems?: BindedBySkuId[] | BindedWithRecipeId[];
|
|
7
7
|
}
|
|
8
|
-
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<DeleteDialogProps
|
|
8
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<DeleteDialogProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<DeleteDialogProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
9
9
|
export default _default;
|
|
10
10
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
11
11
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { CoordinateArray } from './map/type';
|
|
2
2
|
import type { FmCoordinateInputProps } from './FmCoordinateInputProps';
|
|
3
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<FmCoordinateInputProps
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<FmCoordinateInputProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4
4
|
"update:modelValue": (coords: CoordinateArray | null) => void;
|
|
5
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<FmCoordinateInputProps>>> & {
|
|
5
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<FmCoordinateInputProps>>> & Readonly<{
|
|
6
6
|
"onUpdate:modelValue"?: ((coords: CoordinateArray | null) => any) | undefined;
|
|
7
|
-
}, {}, {}>, {
|
|
7
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
8
8
|
label?(_: {}): any;
|
|
9
9
|
}>;
|
|
10
10
|
export default _default;
|
|
@@ -20,13 +20,13 @@ export interface FmDroppableFieldSlots {
|
|
|
20
20
|
default(props: FmDroppableFieldSlotDefault): void;
|
|
21
21
|
label(): void;
|
|
22
22
|
}
|
|
23
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FmDroppableFieldProps>, {
|
|
23
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FmDroppableFieldProps>, {
|
|
24
24
|
label: string;
|
|
25
25
|
disabled: boolean;
|
|
26
26
|
accept: string;
|
|
27
27
|
/** Default max is `8mb` */
|
|
28
28
|
maxFileSize: number;
|
|
29
|
-
}
|
|
29
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
30
30
|
"file-upload": (file: File) => void;
|
|
31
31
|
"file-rejected": (obj: {
|
|
32
32
|
file: File;
|
|
@@ -38,18 +38,18 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
38
38
|
accept: string;
|
|
39
39
|
/** Default max is `8mb` */
|
|
40
40
|
maxFileSize: number;
|
|
41
|
-
}>>> & {
|
|
41
|
+
}>>> & Readonly<{
|
|
42
42
|
"onFile-upload"?: ((file: File) => any) | undefined;
|
|
43
43
|
"onFile-rejected"?: ((obj: {
|
|
44
44
|
file: File;
|
|
45
45
|
reason: string[];
|
|
46
46
|
}[]) => any) | undefined;
|
|
47
|
-
}
|
|
47
|
+
}>, {
|
|
48
48
|
accept: string;
|
|
49
|
-
label: string;
|
|
50
49
|
disabled: boolean;
|
|
50
|
+
label: string;
|
|
51
51
|
maxFileSize: number;
|
|
52
|
-
}, {}>, Readonly<FmDroppableFieldSlots> & FmDroppableFieldSlots>;
|
|
52
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<FmDroppableFieldSlots> & FmDroppableFieldSlots>;
|
|
53
53
|
export default _default;
|
|
54
54
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
55
55
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { FmFilterableSelectProps } from './FmFilterableSelectProps';
|
|
2
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<FmFilterableSelectProps<any
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<FmFilterableSelectProps<any>>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
3
|
"update:modelValue": (value: any) => void;
|
|
4
4
|
"update:rootValue": (value: any) => void;
|
|
5
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<FmFilterableSelectProps<any>>>> & {
|
|
5
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<FmFilterableSelectProps<any>>>> & Readonly<{
|
|
6
6
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
7
7
|
"onUpdate:rootValue"?: ((value: any) => any) | undefined;
|
|
8
|
-
}, {}, {}>, {
|
|
8
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
9
9
|
helper?(_: {}): any;
|
|
10
10
|
}>;
|
|
11
11
|
export default _default;
|
|
@@ -4,21 +4,18 @@ export interface FmInventoryTableToolbarAction {
|
|
|
4
4
|
}
|
|
5
5
|
export interface FmInventoryTableToolbarProps {
|
|
6
6
|
dateRangeQuery?: boolean;
|
|
7
|
-
dateRange?: {
|
|
8
|
-
startDate: string;
|
|
9
|
-
endDate: string;
|
|
10
|
-
};
|
|
11
7
|
changeLocation?: boolean;
|
|
12
8
|
searchable?: boolean;
|
|
13
|
-
search?: string;
|
|
14
9
|
actions?: FmInventoryTableToolbarAction[];
|
|
10
|
+
usingBusinessHelperText?: string;
|
|
11
|
+
showBusiness?: boolean;
|
|
15
12
|
}
|
|
16
|
-
declare const _default: import("vue").DefineComponent<{
|
|
13
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
17
14
|
search: import("vue").PropType<string>;
|
|
18
15
|
dateRange: import("vue").PropType<{
|
|
19
16
|
startDate: string;
|
|
20
17
|
endDate: string;
|
|
21
|
-
}
|
|
18
|
+
}>;
|
|
22
19
|
dateRangeQuery: {
|
|
23
20
|
type: import("vue").PropType<boolean>;
|
|
24
21
|
};
|
|
@@ -31,12 +28,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
31
28
|
actions: {
|
|
32
29
|
type: import("vue").PropType<FmInventoryTableToolbarAction[]>;
|
|
33
30
|
};
|
|
34
|
-
|
|
31
|
+
usingBusinessHelperText: {
|
|
32
|
+
type: import("vue").PropType<string>;
|
|
33
|
+
};
|
|
34
|
+
showBusiness: {
|
|
35
|
+
type: import("vue").PropType<boolean>;
|
|
36
|
+
};
|
|
37
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
35
38
|
search: import("vue").PropType<string>;
|
|
36
39
|
dateRange: import("vue").PropType<{
|
|
37
40
|
startDate: string;
|
|
38
41
|
endDate: string;
|
|
39
|
-
}
|
|
42
|
+
}>;
|
|
40
43
|
dateRangeQuery: {
|
|
41
44
|
type: import("vue").PropType<boolean>;
|
|
42
45
|
};
|
|
@@ -49,5 +52,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
49
52
|
actions: {
|
|
50
53
|
type: import("vue").PropType<FmInventoryTableToolbarAction[]>;
|
|
51
54
|
};
|
|
52
|
-
|
|
55
|
+
usingBusinessHelperText: {
|
|
56
|
+
type: import("vue").PropType<string>;
|
|
57
|
+
};
|
|
58
|
+
showBusiness: {
|
|
59
|
+
type: import("vue").PropType<boolean>;
|
|
60
|
+
};
|
|
61
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
53
62
|
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { type FmMinMaxInputProps } from './FmMinMaxInputProps';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<FmMinMaxInputProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<FmMinMaxInputProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
3
|
+
prepend?(_: {}): any;
|
|
4
|
+
append?(_: {}): any;
|
|
5
|
+
}>;
|
|
6
|
+
export default _default;
|
|
7
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
8
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
9
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
10
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
11
|
+
} : {
|
|
12
|
+
type: import('vue').PropType<T[K]>;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { FdoDecimal } from '@feedmepos/core/entity';
|
|
2
|
+
import type { FmTextFieldProps, ValidationResult } from '@feedmepos/ui-library';
|
|
3
|
+
type FmTextFieldWithoutModelValue = Omit<FmTextFieldProps, 'modelValue' | 'rules' | 'placeholder'>;
|
|
4
|
+
export interface FmMinMaxInputProps extends FmTextFieldWithoutModelValue {
|
|
5
|
+
rules?: (ValidationResult | ((value?: FmMinMaxInputModel) => ValidationResult))[];
|
|
6
|
+
label?: string;
|
|
7
|
+
minPlaceholder?: string;
|
|
8
|
+
maxPlaceholder?: string;
|
|
9
|
+
modelValue?: FmMinMaxInputModel;
|
|
10
|
+
precision?: number;
|
|
11
|
+
}
|
|
12
|
+
export interface FmMinMaxInputModel {
|
|
13
|
+
min?: FdoDecimal | null | undefined;
|
|
14
|
+
max?: FdoDecimal | null | undefined;
|
|
15
|
+
}
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { FmMinMaxInputModel } from './FmMinMaxInputProps';
|
|
2
|
+
export declare function FmMinMaxRequired(): (model?: FmMinMaxInputModel) => true | "Required";
|
|
3
|
+
/** Both `min` and `max` are inclusive */
|
|
4
|
+
export declare function FmMinMaxBoundary(min: number, max: number): (model?: FmMinMaxInputModel) => string | true;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import type { FmMultiselectDialogProps } from './FmMultiselectDialogProps';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FmMultiselectDialogProps>, {
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FmMultiselectDialogProps>, {
|
|
3
3
|
placeholder: string;
|
|
4
|
-
}
|
|
4
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
5
|
"update:modelValue": (mv: any) => void;
|
|
6
6
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FmMultiselectDialogProps>, {
|
|
7
7
|
placeholder: string;
|
|
8
|
-
}>>> & {
|
|
8
|
+
}>>> & Readonly<{
|
|
9
9
|
"onUpdate:modelValue"?: ((mv: any) => any) | undefined;
|
|
10
|
-
}
|
|
10
|
+
}>, {
|
|
11
11
|
placeholder: string;
|
|
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> = {
|
|
@@ -1,15 +1,28 @@
|
|
|
1
1
|
import type { ISelectItem } from 'node_modules/@feedmepos/ui-library/dist/components/form/select/FmSelect.vue';
|
|
2
2
|
export interface ISelectItemSublabel extends ISelectItem {
|
|
3
|
+
groupId?: string;
|
|
4
|
+
collapsed?: boolean;
|
|
5
|
+
}
|
|
6
|
+
export interface ISelectItemGroup {
|
|
7
|
+
id: string;
|
|
8
|
+
label: string;
|
|
3
9
|
sublabel?: string;
|
|
10
|
+
collapse?: boolean;
|
|
11
|
+
disabled?: boolean;
|
|
4
12
|
}
|
|
5
13
|
export interface FmMultiselectDialogProps {
|
|
6
14
|
modelValue: any;
|
|
15
|
+
/** Called while model value is updated, allow update for `collapsed` property only */
|
|
16
|
+
modifyItems?: (modelValue: any[], items: ISelectItemSublabel[]) => ISelectItemSublabel[];
|
|
7
17
|
items: ISelectItemSublabel[];
|
|
8
|
-
|
|
18
|
+
groups?: ISelectItemGroup[];
|
|
19
|
+
singleSelect?: boolean;
|
|
9
20
|
placeholder?: string;
|
|
10
21
|
showValidBorder?: boolean;
|
|
11
22
|
maxHeight?: number;
|
|
12
23
|
width?: number | undefined;
|
|
24
|
+
noShadow?: boolean;
|
|
25
|
+
loading?: boolean;
|
|
13
26
|
}
|
|
14
27
|
export interface FmMultiselectDialogEvents {
|
|
15
28
|
(event: 'update:modelValue', mv: any): void;
|
|
@@ -3,5 +3,6 @@ import type { ValidationResult } from '@feedmepos/ui-library';
|
|
|
3
3
|
export declare function FmUnitInputAmountIsNumberRule(): (value: FmGroupModelValue) => true | "Must be a number";
|
|
4
4
|
export declare function FmUnitInputAmountAtLeastRule(minimum: number): (value: FmGroupModelValue) => string | true;
|
|
5
5
|
export declare function FmUnitInputAmountMoreThanRule(minimum: number): (value: FmGroupModelValue) => string | true;
|
|
6
|
+
export declare function FmUnitInputAmountAtMostRule(maximum: number): (value: FmGroupModelValue) => string | true;
|
|
6
7
|
export declare function FmUnitInputMaxPrecisionRule(unit: FdoInventoryUnit, applyAmountRule?: boolean): (value: any) => ValidationResult;
|
|
7
8
|
export declare function FmUnitInputMaxPrecisionRule(precision: number, applyAmountRule?: boolean): (value: any) => ValidationResult;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MultiSelectDialogProps } from './MultiSelectDialogProps';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<MultiSelectDialogProps
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<MultiSelectDialogProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<MultiSelectDialogProps>>> & 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> = {
|