@feedmepos/mf-inventory-portal 1.7.8-dev.7 → 1.7.8
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-DI9Gew7u.js +311 -0
- package/dist/{ApprovalView-Dkl1XnF-.js → ApprovalView-Ba0gWkVa.js} +9 -9
- package/dist/{BindingsDialog-BcWMz6b9.js → BindingsDialog-CZXoBZ1d.js} +2 -2
- package/dist/{BindingsPicker-BO9UySti.js → BindingsPicker-CMV6iPjw.js} +2 -2
- package/dist/{BindingsTable-Dtk6EpBc.js → BindingsTable-U-ZlTLYU.js} +3 -3
- package/dist/{BulkReceiveRequestView-DGj6KfTv.js → BulkReceiveRequestView-C7x81WZj.js} +896 -913
- package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-C4W1mBZw.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-CQF4cvgH.js} +1 -1
- package/dist/{ClosingDraftView-BwB42at0.js → ClosingDraftView-DO9gdBiD.js} +19 -19
- package/dist/{ClosingHistoryView-K_mJsfTC.js → ClosingHistoryView-BXB64J_7.js} +5 -5
- package/dist/{ClosingTemplateView-BrP26-X1.js → ClosingTemplateView-sXjGpGuz.js} +16 -16
- package/dist/{CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-B5-2818K.js → CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-BWgnavaG.js} +1 -1
- package/dist/{DefaultView-BcTNVg5s.js → DefaultView-B1CVRi4r.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-U8e_C_P0.js → DeliveryOrderPrintPreview-D_aGDrVG.js} +2 -2
- package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-FxZ8iDds.js → EmailDialog.vue_vue_type_script_setup_true_lang-47JMPt7A.js} +4261 -4268
- package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-D4PHBh7h.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-D5aKq-2y.js} +6 -6
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Dovi_Una.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-nEdSBuz9.js} +2 -2
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-D_lsFbze.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CZ93MtX7.js} +2 -2
- package/dist/{FmMultiselectDialog-DpUmYiuC.js → FmMultiselectDialog-924d0E8e.js} +2 -2
- package/dist/{FmMultiselectDialog-DCiJI37S.js → FmMultiselectDialog-CTp_ZmWc.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-C4DlbPgZ.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BRxkMafg.js} +5 -5
- package/dist/{ImportView-JtlDYX-u.js → ImportView-BwuAAHuI.js} +6 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-BWSSovJ3.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-D9ZUAHHY.js} +1 -1
- package/dist/{IngredientGroupView-DoK1rUWq.js → IngredientGroupView-YpSzpMv_.js} +5 -5
- package/dist/{IngredientsView-a7VWON0L.js → IngredientsView-Bz8qVoFv.js} +16 -16
- package/dist/{IntegrationExplorerView-qUl5_424.js → IntegrationExplorerView-B_-ymgN1.js} +4 -4
- package/dist/{IntegrationView-Dm5n6q4h.js → IntegrationView-xnoC9QlN.js} +265 -265
- package/dist/{InventoryBindingForm-CQ2ttm0C.js → InventoryBindingForm-BTWQUPsI.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-B36ECy66.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-BZKc-zmn.js} +5 -5
- package/dist/{InventoryBindingSummary-A0lpe0Ox.js → InventoryBindingSummary-CooEEtKf.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-tmSIc2WG.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-C8SiLZRg.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-DofYEmtX.js → PremiumBadge.vue_vue_type_script_setup_true_lang-B__FAGnr.js} +1 -1
- package/dist/{ProductionView-CexTO7Mo.js → ProductionView-D3JiyMzC.js} +7 -7
- package/dist/{PublishView-DD6usqeJ.js → PublishView-CYhEJUmO.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-CHv4Ot3C.js → PurchaseOrderPrintPreview-BwshL0T9.js} +2 -2
- package/dist/{ReceiveRequestView-CKgD2fxd.js → ReceiveRequestView-5ysfk9Qw.js} +14 -14
- package/dist/{RecipeView-C6I3J_US.js → RecipeView-DOwdWmwx.js} +90 -90
- package/dist/{SettingsView-DmezLN9w.js → SettingsView-FXvsU3GV.js} +4 -4
- package/dist/{StockView-DSzgTgE6.js → StockView-hVzDJxiT.js} +21 -21
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DI4rLJNG.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BtE8xrKp.js} +1 -1
- package/dist/{SupplierView-CybNbifU.js → SupplierView-yrlxEXgg.js} +12 -12
- package/dist/{SurchargeView-C1vZMCZj.js → SurchargeView-Dbr__oJX.js} +6 -6
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-BUlPwCHM.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-DAgh0GuY.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-DIH2mqFV.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-DhHV4yRp.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-agTjQvGQ.js → TransferDetails.vue_vue_type_script_setup_true_lang-DM9eodXF.js} +20 -20
- package/dist/{TransferTemplateView-DO-Naizr.js → TransferTemplateView-CaBy-6XK.js} +20 -20
- package/dist/{UnitCostHistoryView-BGxwkZpr.js → UnitCostHistoryView-BaRe2psg.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-B9YRgxtj.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-DGnnhrzA.js} +4 -4
- package/dist/{UnitView-Cjp6D914.js → UnitView-Cs_PMZJ1.js} +8 -8
- package/dist/{WarehouseView-ByabMtmC.js → WarehouseView-pjHowuWl.js} +5 -5
- package/dist/{WastageTemplateView-CaCGfNUn.js → WastageTemplateView-DIobOhxN.js} +14 -14
- package/dist/{app-D_IALemA.js → app-DaNzSOfE.js} +18885 -19647
- package/dist/app.d.ts +9 -874
- package/dist/app.js +1 -1
- package/dist/{closing-template-B2k3Z0Vl.js → closing-template-CDgEFOg1.js} +1 -1
- package/dist/{date2-BhrYSCrE.js → date2-DhrEiF43.js} +5 -5
- package/dist/{dayjs.min-LY6o7vzc.js → dayjs.min-TVnsxFg6.js} +1 -1
- package/dist/{decimal-Deu0bQh8.js → decimal-BWDv8ol1.js} +2 -2
- package/dist/{defineDeepModel-Bw-YlrU6.js → defineDeepModel-DbsM6gfc.js} +1 -1
- package/dist/{duplicate-template-Dax1vjyN.js → duplicate-template-PkTtWam_.js} +1 -1
- package/dist/{feature-C_v97r4I.js → feature-BHgYy3ah.js} +2 -2
- package/dist/{format-time-from-id-Cvw2rKUL.js → format-time-from-id-D352xZ82.js} +1 -1
- package/dist/{format-unit-display-CM55K7uV.js → format-unit-display-CVHKzXuh.js} +27 -27
- package/dist/{import-export.helper-CvcM4OiS.js → import-export.helper-BRfb6211.js} +6 -6
- package/dist/{index-M2lzZe3a.js → index-DdCqL1tq.js} +3 -3
- package/dist/{index-BBbfb0Xd.js → index-DnohPynu.js} +1 -1
- package/dist/{index-CxZltcV2.js → index-FtpqwqiH.js} +1 -1
- package/dist/{inventory-core-dart.default-BTt0uCvm.js → inventory-core-dart.default-Byo1HZGy.js} +1 -1
- package/dist/{lz-string-BZ8bWilo.js → lz-string-DRHK_x08.js} +1 -1
- package/dist/{netsuite-Bwdydjwk.js → netsuite-v_z3aTzd.js} +2 -2
- package/dist/{number-Yer8zXk1.js → number-gmV3FUZE.js} +3 -3
- package/dist/{predefined-templates-Mx-a4hi7.js → predefined-templates-rCKSqYYr.js} +1 -1
- package/dist/{purchase-order-template-BJ-MoPOk.js → purchase-order-template-GnAQ7vbn.js} +1 -1
- package/dist/{recalculationUtils-Cq6BZ_gg.js → recalculationUtils-DTlZlorm.js} +1 -1
- package/dist/{rules-PvO5N8ov.js → rules-DPVlkE_B.js} +2 -2
- package/dist/{stock-VT4ItDfc.js → stock-BibsfxiT.js} +1 -1
- package/dist/{stock-gCeqW7tq.js → stock-D3fUW9qa.js} +3 -3
- package/dist/style.css +1 -1
- package/dist/{supplier-BJbZJvKz.js → supplier-C5FZ6JiE.js} +2 -2
- package/dist/{surcharge-D7JVZ04l.js → surcharge-B2RJmnfQ.js} +8 -8
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{uom-rules-jVUv7-NR.js → uom-rules-Bvgpk8MW.js} +1 -1
- package/dist/{use-ingredient-select-dialog-CDvasJ1D.js → use-ingredient-select-dialog-sSIVFrjN.js} +2 -2
- package/dist/{use-inventory-binding-dialog-DDjsLX1S.js → use-inventory-binding-dialog-Bj4xYOqT.js} +2 -2
- package/dist/{use-template-enabled-locations-Dfl4MGlq.js → use-template-enabled-locations-CDcXjJ9e.js} +2 -2
- package/dist/{use-transfer-locations-CS2d3l5v.js → use-transfer-locations-Cjubo6cI.js} +2 -2
- package/dist/{useHrmPermission-DPxeCoTG.js → useHrmPermission-CmAWvTZK.js} +1 -1
- package/dist/{useNavigationMenu-BudvKAFZ.js → useNavigationMenu-CMuz1qRT.js} +2 -2
- package/dist/{useSseClient-DijMHGZ9.js → useSseClient-Bq84vjXH.js} +1 -1
- package/dist/{vue-i18n-D8So5Vau.js → vue-i18n-Cbgnu2bw.js} +317 -317
- package/dist/{xlsx.util-B7XuU6s8.js → xlsx.util-DbTorswP.js} +2 -2
- package/package.json +3 -3
- package/dist/App-w9kEd5sh.js +0 -1155
- package/dist/api/changelog.d.ts +0 -64
- package/dist/views/changelog/components/ChangelogDialog.vue.d.ts +0 -19
- package/dist/views/changelog/components/ChangelogFloatingButton.vue.d.ts +0 -2
- package/dist/views/changelog/components/ChangelogPanel.vue.d.ts +0 -18
- package/dist/views/changelog/composables/change-path.d.ts +0 -10
- package/dist/views/changelog/composables/commit-message.d.ts +0 -9
- package/dist/views/changelog/composables/commit-message.spec.d.ts +0 -1
- package/dist/views/changelog/composables/json-line-diff.d.ts +0 -10
- package/dist/views/changelog/composables/json-line-diff.spec.d.ts +0 -1
- package/dist/views/changelog/composables/use-changelog.d.ts +0 -36
package/dist/api/changelog.d.ts
DELETED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import type { FdtoChangeLog } from '@feedmepos/zod-inventory';
|
|
2
|
-
/** A domain the changelog browser lists generically (backend `changelog/domains`). */
|
|
3
|
-
export interface BrowsableChangelogDomain {
|
|
4
|
-
domain: string;
|
|
5
|
-
labelKey: string;
|
|
6
|
-
}
|
|
7
|
-
/** One diff line within a commit (mirrors the changelog server's Change). */
|
|
8
|
-
export interface ChangelogChange {
|
|
9
|
-
at?: string;
|
|
10
|
-
actor?: string;
|
|
11
|
-
path: string;
|
|
12
|
-
kind: string;
|
|
13
|
-
from?: string;
|
|
14
|
-
to?: string;
|
|
15
|
-
}
|
|
16
|
-
/** One sealed commit for a record (the server's CommitEnvelope). */
|
|
17
|
-
export interface ChangelogCommit {
|
|
18
|
-
doc_id: string;
|
|
19
|
-
id: string;
|
|
20
|
-
parent: string;
|
|
21
|
-
at: string;
|
|
22
|
-
authors: string[];
|
|
23
|
-
message?: string;
|
|
24
|
-
changes: ChangelogChange[];
|
|
25
|
-
}
|
|
26
|
-
export declare const useChangelogApi: () => {
|
|
27
|
-
/**
|
|
28
|
-
* Commits for one record. recordId is the changelog docId, `${dbName}/${id}`.
|
|
29
|
-
* The dbName scopes the (access-checked) backend route; only the bare id is
|
|
30
|
-
* sent — the backend rebuilds the docId server-side.
|
|
31
|
-
*/
|
|
32
|
-
getRecordChangelog(recordId: string, limit?: number): Promise<ChangelogCommit[]>;
|
|
33
|
-
/**
|
|
34
|
-
* Purchase orders in a date range, each with when it last changed. The
|
|
35
|
-
* backend joins the orders to their newest commit, so no ids travel and the
|
|
36
|
-
* browser makes one request instead of list-then-ask-for-timestamps.
|
|
37
|
-
*/
|
|
38
|
-
listPurchaseOrders(dbName: string, start: string, end: string): Promise<FdtoChangeLog[]>;
|
|
39
|
-
/**
|
|
40
|
-
* Closing drafts created in a date range, each with when it last changed.
|
|
41
|
-
* Closing groups come back as rows of their own — their submit/approve/
|
|
42
|
-
* reject is recorded against the group document, not its parent.
|
|
43
|
-
*/
|
|
44
|
-
listClosingDrafts(dbName: string, start: string, end: string): Promise<FdtoChangeLog[]>;
|
|
45
|
-
/**
|
|
46
|
-
* The domains the browser lists generically, declared in
|
|
47
|
-
* changelog-domains-pkg and served by the backend — a new browsable domain
|
|
48
|
-
* becomes a tab without a portal change. Backends predating the route
|
|
49
|
-
* yield an error the caller treats as "no extra domains".
|
|
50
|
-
*/
|
|
51
|
-
listDomains(businessId: string): Promise<BrowsableChangelogDomain[]>;
|
|
52
|
-
/**
|
|
53
|
-
* One generic domain's records, each with when it last changed. Business-
|
|
54
|
-
* scoped: the generic domains are configuration documents of the business
|
|
55
|
-
* db, not of a location.
|
|
56
|
-
*/
|
|
57
|
-
listDomainRecords(businessId: string, domain: string): Promise<FdtoChangeLog[]>;
|
|
58
|
-
/**
|
|
59
|
-
* One inventory module's records, each with when it last changed. Business-
|
|
60
|
-
* scoped, so the db is `business_<id>` — the same prefixed name the record's
|
|
61
|
-
* own changelog docId carries.
|
|
62
|
-
*/
|
|
63
|
-
listInventory(businessId: string, module: 'sku' | 'recipe' | 'unit'): Promise<FdtoChangeLog[]>;
|
|
64
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
-
modelValue: boolean;
|
|
3
|
-
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4
|
-
"update:modelValue": (value: boolean) => void;
|
|
5
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
-
modelValue: boolean;
|
|
7
|
-
}>>> & Readonly<{
|
|
8
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
9
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
10
|
-
export default _default;
|
|
11
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
13
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
|
-
} : {
|
|
16
|
-
type: import('vue').PropType<T[K]>;
|
|
17
|
-
required: true;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
@@ -1,2 +0,0 @@
|
|
|
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
|
-
export default _default;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { ChangelogCommit } from '@/api/changelog';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
-
commits: ChangelogCommit[];
|
|
4
|
-
isLoading: boolean;
|
|
5
|
-
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
-
commits: ChangelogCommit[];
|
|
7
|
-
isLoading: boolean;
|
|
8
|
-
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
9
|
-
export default _default;
|
|
10
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
11
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
12
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
13
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
14
|
-
} : {
|
|
15
|
-
type: import('vue').PropType<T[K]>;
|
|
16
|
-
required: true;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/** Structured commit message stored by inventory-backend: label key + verb + optional item name. */
|
|
2
|
-
export interface StructuredMessage {
|
|
3
|
-
labelKey: string;
|
|
4
|
-
verb: string;
|
|
5
|
-
name?: string;
|
|
6
|
-
}
|
|
7
|
-
export declare function parseStructuredMessage(message?: string): StructuredMessage | null;
|
|
8
|
-
/** True when a human path segment is a changelog i18n key (vs a literal like an entity name). */
|
|
9
|
-
export declare function isLabelKey(segment: string): boolean;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export type DiffLine = {
|
|
2
|
-
type: 'same' | 'add' | 'del' | 'skip';
|
|
3
|
-
text: string;
|
|
4
|
-
};
|
|
5
|
-
/**
|
|
6
|
-
* Diffs two JSON-encoded values line by line, git-style. Returns null unless
|
|
7
|
-
* both parse to objects/arrays whose changed region is small enough to diff —
|
|
8
|
-
* callers fall back to the plain from/to blocks.
|
|
9
|
-
*/
|
|
10
|
-
export declare function jsonLineDiff(from: string, to: string, context?: number): DiffLine[] | null;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { type ChangelogCommit } from '@/api/changelog';
|
|
2
|
-
export declare function useChangelog(): {
|
|
3
|
-
commits: import("vue").Ref<{
|
|
4
|
-
doc_id: string;
|
|
5
|
-
id: string;
|
|
6
|
-
parent: string;
|
|
7
|
-
at: string;
|
|
8
|
-
authors: string[];
|
|
9
|
-
message?: string | undefined;
|
|
10
|
-
changes: {
|
|
11
|
-
at?: string | undefined;
|
|
12
|
-
actor?: string | undefined;
|
|
13
|
-
path: string;
|
|
14
|
-
kind: string;
|
|
15
|
-
from?: string | undefined;
|
|
16
|
-
to?: string | undefined;
|
|
17
|
-
}[];
|
|
18
|
-
}[], ChangelogCommit[] | {
|
|
19
|
-
doc_id: string;
|
|
20
|
-
id: string;
|
|
21
|
-
parent: string;
|
|
22
|
-
at: string;
|
|
23
|
-
authors: string[];
|
|
24
|
-
message?: string | undefined;
|
|
25
|
-
changes: {
|
|
26
|
-
at?: string | undefined;
|
|
27
|
-
actor?: string | undefined;
|
|
28
|
-
path: string;
|
|
29
|
-
kind: string;
|
|
30
|
-
from?: string | undefined;
|
|
31
|
-
to?: string | undefined;
|
|
32
|
-
}[];
|
|
33
|
-
}[]>;
|
|
34
|
-
isLoading: import("vue").Ref<boolean, boolean>;
|
|
35
|
-
load: (recordId: string, limit?: number) => Promise<void>;
|
|
36
|
-
};
|