@feedmepos/mf-inventory-portal 1.3.14-dev.1 → 1.3.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-BQZQFNKG.js +411 -0
- package/dist/{ApprovalView-BxioAXpO.js → ApprovalView-BVszC4Cw.js} +7 -7
- package/dist/{BindingsDialog-Dn_hP7Ji.js → BindingsDialog-B3L_3xdo.js} +13 -13
- package/dist/{BindingsPicker-BEXOUaoI.js → BindingsPicker-A4togB2v.js} +2 -2
- package/dist/{BindingsTable-CsRLA5J_.js → BindingsTable-DacoMdY6.js} +3 -3
- package/dist/{ClosingDraftView-DoH9ZcGA.js → ClosingDraftView-C9tvMgLl.js} +137 -137
- package/dist/{ClosingHistoryView-BWf_gIrc.js → ClosingHistoryView-CqqzqSqU.js} +32 -32
- package/dist/{ClosingTemplateView-BKRxzvQX.js → ClosingTemplateView-CLi0XE8S.js} +15 -15
- package/dist/{DeliveryOrderPrintPreview-HzspgQXj.js → DeliveryOrderPrintPreview-DEHEfd80.js} +11 -11
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DstxeP1q.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BDZVaj3l.js} +16 -16
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-E9FFFhwx.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-xxS4P6uo.js} +2 -2
- package/dist/{FmMultiselectDialog-3uKA-o0f.js → FmMultiselectDialog-CR2peMEL.js} +1 -1
- package/dist/{FmMultiselectDialog-uFZKKIiO.js → FmMultiselectDialog-FGR8t9rz.js} +2 -2
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-C1KGaqi7.js → FmUnitInput.vue_vue_type_script_setup_true_lang-DgXOsVLe.js} +18 -18
- package/dist/{ImportView-zrNDzp3k.js → ImportView-CEI0QqGz.js} +6 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-B2vMgXVZ.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-cRgKjHY0.js} +1 -1
- package/dist/{IngredientGroupView-HcAKvPur.js → IngredientGroupView-DEELNMpl.js} +6 -6
- package/dist/{IngredientsView-CRB5UN-e.js → IngredientsView-D3OcjZdT.js} +16 -16
- package/dist/{IntegrationExplorerView-k3IHeiOU.js → IntegrationExplorerView-ByPpT3hC.js} +5 -5
- package/dist/{IntegrationView-B3WeQTDB.js → IntegrationView-BSqlJBp-.js} +13 -13
- package/dist/{InventoryBindingForm-B-7SQKl2.js → InventoryBindingForm-SgmyJvCs.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-DhPu_GyE.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-GLipe2bO.js} +15 -15
- package/dist/{InventoryBindingSummary-Swi6A3W2.js → InventoryBindingSummary-D6deGR6B.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Duv0At06.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DGDL-t7m.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang--gt60IlU.js → PremiumBadge.vue_vue_type_script_setup_true_lang-ff1rPUJW.js} +9 -9
- package/dist/{PublishView-B9HJT61I.js → PublishView-7TAa2QQB.js} +11 -11
- package/dist/{PurchaseOrderPrintPreview-sClUXkgt.js → PurchaseOrderPrintPreview-DhcnInSW.js} +9 -9
- package/dist/ReceiveRequestView-Z3JYH3gf.js +36203 -0
- package/dist/{RecipeView-BH3asOD4.js → RecipeView--ALwYD-O.js} +51 -51
- package/dist/{SettingsView-BJAMNNhr.js → SettingsView-F_BWUxoq.js} +30 -30
- package/dist/StockView-BLrquJf2.js +2406 -0
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DeiLMVin.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CxNgi5uv.js} +1 -1
- package/dist/{SupplierView-C3uBrEcc.js → SupplierView-DklOXwHD.js} +13 -13
- package/dist/{SurchargeView-S9ByD9Nd.js → SurchargeView-DcImorUr.js} +7 -7
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-ha60Wy7z.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-xdLxGAOM.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CfyCEElN.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-Bu4XKhII.js} +1 -1
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-DMrRfwKD.js +3890 -0
- package/dist/{TransferTemplateView-zbn5CGiZ.js → TransferTemplateView-DTdlSI2b.js} +18 -18
- package/dist/{UnitCostHistoryView-LhvAybS8.js → UnitCostHistoryView-CQ_DJE-t.js} +243 -246
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-E2QCl521.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-QuejzcCL.js} +4 -4
- package/dist/{UnitView-6oUdlUVo.js → UnitView-DzcCdCGw.js} +25 -25
- package/dist/{WarehouseView-DQFe99KT.js → WarehouseView-BYj9DD1N.js} +6 -6
- package/dist/{WastageTemplateView-BiYZqiT2.js → WastageTemplateView--w6an2Ar.js} +15 -15
- package/dist/api/email.d.ts +54 -0
- package/dist/{app-SnX9gL_k.js → app-CPlgHGkC.js} +22314 -23512
- package/dist/app.d.ts +14 -6
- package/dist/app.js +2 -2
- package/dist/{closing-template-Ch--jBk-.js → closing-template-B9JOB9ah.js} +1 -1
- package/dist/components/row-action.enum.d.ts +2 -1
- package/dist/{date2-CGqqJOqr.js → date2-Ci9tlLMJ.js} +1 -1
- package/dist/{dayjs.min-JnfBpNSN.js → dayjs.min-DTx2lmq6.js} +12 -12
- package/dist/{decimal-C-2MQYNP.js → decimal-iKhH_VJO.js} +2 -2
- package/dist/{defineDeepModel-CUJCBuvw.js → defineDeepModel-C25T8oyP.js} +1 -1
- package/dist/{duplicate-template-BXg5EQRC.js → duplicate-template-BptIBRQ3.js} +1 -1
- package/dist/{export-DUsFBcmf.js → export-CKuVd5pP.js} +1 -1
- package/dist/{feature-gkhmly57.js → feature-CXMSo4z7.js} +109 -104
- package/dist/{format-time-from-id-D1RhcKfL.js → format-time-from-id-Bk60g6lh.js} +1 -1
- package/dist/{format-unit-display-DXs_-yEW.js → format-unit-display-C4nf8hG8.js} +12 -12
- package/dist/{import-export.helper-B84wW0eo.js → import-export.helper-BDzsQcYD.js} +6 -6
- package/dist/{index-Dp1GAjHf.js → index-CUVlQagt.js} +3 -3
- package/dist/{index-D3XgyMwL.js → index-DTszDSPO.js} +1 -1
- package/dist/{index-artVJVqL.js → index-DiKOwY5C.js} +1 -1
- package/dist/{inventory-core-dart.default-Bu1oVkLC.js → inventory-core-dart.default-Cn3sonot.js} +10 -10
- package/dist/{lodash-DZbYS5Vn.js → lodash-DGOK6ZkA.js} +1 -1
- package/dist/{lz-string-nX96TtT6.js → lz-string-QrWbdmw6.js} +17 -17
- package/dist/{netsuite-DQkJKCH9.js → netsuite-DglgyKcZ.js} +109 -109
- package/dist/{number-gRrApZRj.js → number-Ut7u2ZEE.js} +7 -7
- package/dist/{predefined-templates-D9bzSOz_.js → predefined-templates-DZtFebPU.js} +1 -1
- package/dist/{purchase-order-template-BiE_We2X.js → purchase-order-template-DhNVhXmD.js} +1 -1
- package/dist/{recalculationUtils-zNt-EW5S.js → recalculationUtils-CqJRd9B2.js} +1 -1
- package/dist/{row-action.enum-Co_O4qD9.js → row-action.enum-DQ9bJ_uv.js} +7 -1
- package/dist/{rules-CWFFr_mA.js → rules-BIm67nl_.js} +2 -2
- package/dist/{stock-C-34Vuxz.js → stock-CzdMn9n8.js} +3 -3
- package/dist/{stock-V4Oy4QHQ.js → stock-Dc4_U69J.js} +27 -28
- package/dist/stores/feature.d.ts +2 -0
- package/dist/{supplier-DbYagMhS.js → supplier-De5G6CeF.js} +16 -16
- package/dist/{surcharge-CcvvfLHB.js → surcharge-CN5FtDZq.js} +5 -5
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-B4jFgJ5b.js → use-ingredient-select-dialog-Wy4CtYcZ.js} +2 -2
- package/dist/{use-inventory-binding-dialog-20flYyGE.js → use-inventory-binding-dialog-C1LCH0jV.js} +2 -2
- package/dist/{use-template-enabled-locations-CpDMbAGF.js → use-template-enabled-locations-BfZFcXZ_.js} +2 -2
- package/dist/views/receive-request/components/email-dialog/EmailDialog.vue.d.ts +20 -0
- package/dist/views/receive-request/components/email-dialog/EmailDialogProps.d.ts +13 -0
- package/dist/views/receive-request/composables/use-order-draft-permission.d.ts +5 -2
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +3 -0
- package/dist/{vue-i18n-CUrz9OVK.js → vue-i18n-CvVV4Xof.js} +305 -305
- package/dist/{xlsx-DBsOBE1z.js → xlsx-lawW6Hwh.js} +184 -184
- package/dist/{xlsx.util-xziohm10.js → xlsx.util-DSCqPt8v.js} +1 -1
- package/package.json +4 -4
- package/dist/App-Cb6qfRCz.js +0 -445
- package/dist/ReceiveRequestView-BbS55juS.js +0 -2817
- package/dist/StockView-DMLFY7d1.js +0 -2439
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-CKfs-ns0.js +0 -3837
- package/dist/components/HrmPermissionGuard.vue.d.ts +0 -54
- package/dist/composable/useHrmPermission.d.ts +0 -17
- package/dist/router/route-permission.d.ts +0 -10
- package/dist/useHrmPermission-CZW6u2TS.js +0 -16
package/dist/{use-ingredient-select-dialog-B4jFgJ5b.js → use-ingredient-select-dialog-Wy4CtYcZ.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineStore as y } from "pinia";
|
|
2
|
-
import { a as S } from "./app-
|
|
3
|
-
import { a as b } from "./FmMultiselectDialog-
|
|
2
|
+
import { a as S } from "./app-CPlgHGkC.js";
|
|
3
|
+
import { a as b } from "./FmMultiselectDialog-FGR8t9rz.js";
|
|
4
4
|
import { useDialog as A } from "@feedmepos/ui-library";
|
|
5
5
|
import { useI18n as I } from "@feedmepos/mf-common";
|
|
6
6
|
const B = y(
|
package/dist/{use-inventory-binding-dialog-20flYyGE.js → use-inventory-binding-dialog-C1LCH0jV.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as g } from "./FmMultiselectDialog-
|
|
2
|
-
import { a as P } from "./app-
|
|
1
|
+
import { a as g } from "./FmMultiselectDialog-FGR8t9rz.js";
|
|
2
|
+
import { a as P } from "./app-CPlgHGkC.js";
|
|
3
3
|
import { useDialog as E } from "@feedmepos/ui-library";
|
|
4
4
|
function A() {
|
|
5
5
|
const u = P(), _ = E();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as A } from "./FmMultiselectDialog-
|
|
2
|
-
import { u as S } from "./app-
|
|
1
|
+
import { a as A } from "./FmMultiselectDialog-FGR8t9rz.js";
|
|
2
|
+
import { u as S } from "./app-CPlgHGkC.js";
|
|
3
3
|
import { useI18n as v, useCoreStore as d, useCustomAttributes as w } from "@feedmepos/mf-common";
|
|
4
4
|
import { useDialog as _, components as m } from "@feedmepos/ui-library";
|
|
5
5
|
import { computed as r, h as c } from "vue";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { EmailDialogProps } from './EmailDialogProps';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<EmailDialogProps>>, {
|
|
3
|
+
validateInputs: () => void | undefined;
|
|
4
|
+
resetInputsValidation: () => void | undefined;
|
|
5
|
+
resetInputs: () => void | undefined;
|
|
6
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
"update:show": (value: boolean) => void;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<EmailDialogProps>>> & Readonly<{
|
|
9
|
+
"onUpdate:show"?: ((value: boolean) => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
11
|
+
export default _default;
|
|
12
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
13
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
14
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
15
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
16
|
+
} : {
|
|
17
|
+
type: import('vue').PropType<T[K]>;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { FmpBusiness } from "node_modules/@feedmepos/mf-common/dist/store";
|
|
2
|
+
export interface EmailDialogProps {
|
|
3
|
+
show?: boolean;
|
|
4
|
+
modelValue?: string;
|
|
5
|
+
email?: string;
|
|
6
|
+
business?: FmpBusiness;
|
|
7
|
+
senderName?: string;
|
|
8
|
+
senderEmail?: string;
|
|
9
|
+
recipientName?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface EmailDialogEvents {
|
|
12
|
+
(e: 'update:show', value: boolean): void;
|
|
13
|
+
}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Composable to check if the current user has order draft permissions
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
4
|
+
* Leverages the built-in validatePermission() function from @feedmepos/mf-common
|
|
5
|
+
* which properly handles CASL hierarchical permission logic including:
|
|
6
|
+
* - FeedMe admins (role.isAdmin)
|
|
7
|
+
* - Business owners (manage on "all" subjects)
|
|
8
|
+
* - Regular users (explicit orderDraft permissions)
|
|
6
9
|
*/
|
|
7
10
|
export declare function useOrderDraftPermission(): {
|
|
8
11
|
hasOrderDraftPermission: Readonly<import("vue").Ref<boolean, boolean>>;
|
|
@@ -5,6 +5,7 @@ import type { TransferDetailsProps } from '../components/transfer-details/Transf
|
|
|
5
5
|
import { F_PURCHASE_ORDER_ACTION } from '@feedmepos/zod-inventory';
|
|
6
6
|
import type { XilnexImportDialogProps } from '../import/props';
|
|
7
7
|
import type { RevisionIdMeta } from '@feedmepos/inventory-core';
|
|
8
|
+
import type { EmailDialogProps } from '../components/email-dialog/EmailDialogProps';
|
|
8
9
|
export declare enum PO_SCOPE {
|
|
9
10
|
RECEIVE_REQUEST = "receive/request",
|
|
10
11
|
APPROVAL = "approval"
|
|
@@ -4865,5 +4866,7 @@ export declare function useReceiveRequestForm(scope: PO_SCOPE, initialDateRange?
|
|
|
4865
4866
|
submitAction: (po: FdoPurchaseOrder, operation: F_PURCHASE_ORDER_ACTION, transferToDbName?: string) => Promise<void>;
|
|
4866
4867
|
xilnexImportDialogProps: import("vue").Ref<XilnexImportDialogProps | undefined, XilnexImportDialogProps | undefined>;
|
|
4867
4868
|
promptUploadTransferDialog: () => Promise<void>;
|
|
4869
|
+
emailDialogProps: import("vue").Ref<EmailDialogProps | undefined, EmailDialogProps | undefined>;
|
|
4870
|
+
promptEmailDialog: (po: FdoPurchaseOrder) => void;
|
|
4868
4871
|
};
|
|
4869
4872
|
export type ReceiveRequestFormComposable = ReturnType<typeof useReceiveRequestForm>;
|