@feedmepos/mf-inventory-portal 0.0.22-dev.3 → 0.0.22-dev.31
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 +2 -0
- package/dist/{ApprovalView-BnkFRJgX.js → ApprovalView-DURCoP6_.js} +26 -26
- package/dist/{BindingsDialog-BDzmf8Wr.js → BindingsDialog-Cgf5MuLY.js} +1 -1
- package/dist/{BindingsPicker-CRGFd-d8.js → BindingsPicker-DvcjRma9.js} +8 -8
- package/dist/{BindingsTable-BnHju77G.js → BindingsTable-BPrs04hn.js} +1 -1
- package/dist/ClosingTemplateView-DU_OX_KS.js +1072 -0
- package/dist/Entry.vue.d.ts +0 -2
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BRV9dZhu.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BNhYJdT-.js} +8 -8
- package/dist/IngredientsView-BGB-So1n.js +1817 -0
- package/dist/{IntegrationView-UySDEAnh.js → IntegrationView-tOw9GGXr.js} +120 -120
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Cxy6vo9D.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CWz2vOzD.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-ChrCZc0C.js → PremiumBadge.vue_vue_type_script_setup_true_lang-Qqp3wJ2n.js} +1 -1
- package/dist/{PurchaseOrderPrintPreview-CGxMILW0.js → PurchaseOrderPrintPreview-PnIeMMrq.js} +1 -1
- package/dist/{ReceiveRequestView-BHOC-ZLV.js → ReceiveRequestView-WjoI68r_.js} +20 -21
- package/dist/RecipeView-B2KynG4H.js +590 -0
- package/dist/{StockView-BcXcQZpl.js → StockView-DsutlmVn.js} +602 -585
- package/dist/{SupplierView-Bl13ZM-9.js → SupplierView-BuyFY-tF.js} +108 -108
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-BoGGbhJi.js +858 -0
- package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-8yMFTCo1.js +1678 -0
- package/dist/TransferTemplateView-BSn-HKWr.js +1232 -0
- package/dist/{UnitView-DG8PGv5Y.js → UnitView-Bx-dS9Nv.js} +6 -6
- package/dist/{WarehouseView-CeS8jrgw.js → WarehouseView-DpMvmi_A.js} +17 -17
- package/dist/api/inventory.d.ts +72 -85
- package/dist/api/netsuite.d.ts +47 -0
- package/dist/api/purchase-order-template.d.ts +0 -4
- package/dist/{app-DYhspC_r.js → app-B6CTWYqZ.js} +21877 -20978
- package/dist/app.d.ts +7 -0
- package/dist/app.js +3 -3
- package/dist/components/FmFilterableMenuOptions.vue.d.ts +54 -0
- package/dist/components/FmMinMaxInputRules.d.ts +2 -0
- package/dist/components/FmUnitInputRules.d.ts +2 -0
- package/dist/{decimal-DwEh3AcZ.js → decimal-DDNJiEl8.js} +1 -1
- package/dist/{defineDeepModel-htf7zxRR.js → defineDeepModel-CjoZrLbV.js} +3 -3
- package/dist/{format-time-from-id-1BxShIsX.js → format-time-from-id-CNRJtPZY.js} +3 -3
- package/dist/helper/rules.d.ts +7 -0
- package/dist/helper/rules.spec.d.ts +1 -0
- package/dist/{id-to-date-CzSDsYm2.js → id-to-date-DJcRYNGy.js} +1 -1
- package/dist/purchase-order-transaction-type-Cew6w60I.js +678 -0
- package/dist/stores/api.d.ts +1 -0
- package/dist/stores/feature.d.ts +0 -1
- package/dist/stores/helper/core-store-proxy.d.ts +3 -0
- package/dist/stores/helper/generate-backend-urls.d.ts +1 -0
- package/dist/stores/inventory.d.ts +22 -0
- package/dist/stores/location.d.ts +420 -504
- package/dist/stores/netsuite.d.ts +68 -0
- package/dist/stores/route.d.ts +0 -5
- package/dist/stores/warehouse.d.ts +4 -7
- package/dist/style.css +1 -1
- package/dist/{supplier-DegAxD_n.js → supplier-bvsRMnxk.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/use-template-enabled-locations-2-DSlNJ-VP.js +85 -0
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +1080 -1020
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +1080 -1020
- package/dist/views/receive-request/components/transfer-details/TransferDetailsProps.d.ts +1 -0
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +1854 -0
- package/dist/views/receive-request/components/transfer-form/TransferFormProps.d.ts +1 -0
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +2329 -286
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +2213 -170
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations-2.d.ts +13 -0
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +71 -85
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +39 -2
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +1253 -1457
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +420 -1474
- package/dist/views/transfer-template/helpers/remove-deleted-skus.helper.d.ts +230 -0
- package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +8 -14
- package/dist/{xlsx-CSS2klUs.js → xlsx-CnMhXCRI.js} +1 -1
- package/dist/{xlsx.util-CeY18XxV.js → xlsx.util-CV-IkG_3.js} +2 -2
- package/package.json +7 -7
- package/dist/ClosingTemplateView-D2EIa9YG.js +0 -1030
- package/dist/IngredientsView-CiUpjKmC.js +0 -1759
- package/dist/RecipeView-lgrm1J9x.js +0 -581
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-SXFiNrtm.js +0 -740
- package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-DSBEn-Mt.js +0 -1409
- package/dist/TransferTemplateView-C_eqQ9a8.js +0 -1230
- package/dist/array-ClJzD_Lt.js +0 -30
- package/dist/layout/InventoryLayout.vue.d.ts +0 -2
- package/dist/layout/layout-routes.d.ts +0 -6
- package/dist/purchase-order-transaction-type-lwIoC03T.js +0 -712
- package/dist/use-template-enabled-locations-B2ZtZAoX.js +0 -57
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
export interface NetSuiteState {
|
|
2
|
+
setting: Omit<FdoNetSuiteSetting, 'realm' | 'accessToken'>;
|
|
3
|
+
}
|
|
4
|
+
export declare function useNetSuiteStore(): {
|
|
5
|
+
readonly isEnabled: boolean;
|
|
6
|
+
readonly state: {
|
|
7
|
+
setting: {
|
|
8
|
+
_id: string;
|
|
9
|
+
enable: boolean;
|
|
10
|
+
items: {
|
|
11
|
+
id: string;
|
|
12
|
+
netSuiteId: string;
|
|
13
|
+
unitTypeId: string;
|
|
14
|
+
unitOfMeasureId: string;
|
|
15
|
+
subsidiaryIds: string[];
|
|
16
|
+
}[];
|
|
17
|
+
syncedAt?: string | null | undefined;
|
|
18
|
+
locations: {
|
|
19
|
+
type: "restaurant" | "warehouse";
|
|
20
|
+
id: string;
|
|
21
|
+
name: string;
|
|
22
|
+
netSuiteId: string;
|
|
23
|
+
subsidiaryId: string;
|
|
24
|
+
}[];
|
|
25
|
+
units: {
|
|
26
|
+
id: string;
|
|
27
|
+
measurements: {
|
|
28
|
+
id: string;
|
|
29
|
+
netSuiteId: string;
|
|
30
|
+
}[];
|
|
31
|
+
netSuiteId: string;
|
|
32
|
+
}[];
|
|
33
|
+
subsidiaries: {
|
|
34
|
+
parentId?: string | undefined;
|
|
35
|
+
id: string;
|
|
36
|
+
name: string;
|
|
37
|
+
country: string;
|
|
38
|
+
currency: string;
|
|
39
|
+
}[];
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
getLocationSubsidiary(netSuiteLocationId?: string | null): {
|
|
43
|
+
id: string | undefined;
|
|
44
|
+
name: string;
|
|
45
|
+
fullName: string;
|
|
46
|
+
};
|
|
47
|
+
currentLocationSubsidiary(): {
|
|
48
|
+
id?: string;
|
|
49
|
+
name: string;
|
|
50
|
+
fullName: string;
|
|
51
|
+
};
|
|
52
|
+
readonly subsidiaryOptions: {
|
|
53
|
+
label: string;
|
|
54
|
+
value: FdoPurchaseOrderSubsidiaryNetSuiteSetting;
|
|
55
|
+
}[];
|
|
56
|
+
getAvailableItems(subsidiaryId?: string | null): string[];
|
|
57
|
+
readSetting(): Promise<void>;
|
|
58
|
+
};
|
|
59
|
+
export type FdoNetSuiteSubsidiaryWithChildren = FdoNetSuiteSubsidiary & {
|
|
60
|
+
fullName?: string;
|
|
61
|
+
depth: number;
|
|
62
|
+
children: FdoNetSuiteSubsidiaryWithChildren[];
|
|
63
|
+
};
|
|
64
|
+
export declare function buildSubsidiaryTree(data: FdoNetSuiteSubsidiary[], subsidiaryId?: string | null): {
|
|
65
|
+
tree: FdoNetSuiteSubsidiaryWithChildren[];
|
|
66
|
+
available: string[];
|
|
67
|
+
flat: FdoNetSuiteSubsidiaryWithChildren[];
|
|
68
|
+
};
|
package/dist/stores/route.d.ts
CHANGED
|
@@ -1,12 +1,7 @@
|
|
|
1
1
|
export interface RouteStore {
|
|
2
|
-
activeRoute: string;
|
|
3
|
-
activeRouteName: string;
|
|
4
2
|
loadingHookInstalled: boolean;
|
|
5
3
|
isLoading: boolean;
|
|
6
4
|
}
|
|
7
5
|
export declare function useRouteStore(): {
|
|
8
|
-
activeRoute: string;
|
|
9
|
-
activeRouteName: string;
|
|
10
6
|
readonly isLoading: boolean;
|
|
11
|
-
init(): void;
|
|
12
7
|
};
|
|
@@ -9,13 +9,10 @@ export declare function useWarehouseStore(): {
|
|
|
9
9
|
url?: string | null | undefined;
|
|
10
10
|
expiredAt?: string | null | undefined;
|
|
11
11
|
agentId?: string | null | undefined;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
name: string;
|
|
17
|
-
id: string;
|
|
18
|
-
}[];
|
|
12
|
+
attributeSettings?: {
|
|
13
|
+
type: "string" | "number" | "boolean" | "date";
|
|
14
|
+
key: string;
|
|
15
|
+
entity: "restaurant" | "item";
|
|
19
16
|
}[] | null | undefined;
|
|
20
17
|
pf_agent?: {
|
|
21
18
|
clickupId?: string | null | undefined;
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.v-enter-active[data-v-
|
|
1
|
+
.v-enter-active[data-v-903bd130],.v-leave-active[data-v-903bd130]{transition:opacity .1s ease}.v-enter-from[data-v-903bd130],.v-leave-to[data-v-903bd130]{opacity:0}.fm-status-badge{font-size:.875rem;font-weight:600;line-height:1.125rem;letter-spacing:.0125em;text-decoration-line:none;border-radius:8px;display:flex;align-items:center;padding-left:8px;padding-right:8px;height:22px}.fm-status-badge-draft{background-color:var(--fm-color-neutral-gray-100);color:var(--fm-color-neutral-gray-500)}.fm-status-badge-receiving{background-color:var(--fm-color-system-blue-100);color:var(--fm-color-system-blue-400)}.fm-status-badge-cancel{background-color:var(--fm-color-system-red-100);color:var(--fm-color-system-red-400)}.fm-status-badge-complete{background-color:var(--fm-color-system-green-100);color:var(--fm-color-system-green-400)}.fm-status-badge-processing,.fm-status-badge-requesting{background-color:var(--fm-color-system-orange-100);color:var(--fm-color-system-orange-400)}.fm-status-badge-transfer-info,.fm-status-badge-info-secondary{background-color:var(--fm-color-system-blue-100);color:var(--fm-color-system-blue-400)}.fm-status-badge-success-secondary{background-color:var(--fm-color-system-green-100);color:var(--fm-color-system-green-400)}.fade-enter-active,.fade-leave-active{transition:opacity .5s ease}.fade-enter-from,.fade-leave-to{opacity:0}.fade-enter-active[data-v-8b1d7609],.fade-leave-active[data-v-8b1d7609]{transition:opacity .25s ease}.fade-enter[data-v-8b1d7609],.fade-leave-to[data-v-8b1d7609]{opacity:0}.fm-forecast-notification-low{background-color:var(--fm-color-system-red-100);color:var(--fm-color-system-red-400)}.fm-forecast-notification-mid{background-color:var(--fm-color-system-orange-100);color:var(--fm-color-system-orange-400)}.fm-forecast-notification-high{background-color:var(--fm-color-system-green-100);color:var(--fm-color-system-green-400)}.fm-forecast-notification-indicator{display:inline-block;height:12px;width:12px;border-radius:9999px}.fm-forecast-notification-indicator-low{background-color:var(--fm-color-system-red-400)}.fm-forecast-notification-indicator-mid{background-color:var(--fm-color-system-orange-400)}.fm-forecast-notification-indicator-high{background-color:var(--fm-color-system-green-400)}.fm-droppable-field[data-v-311b22a0]{display:flex;flex-direction:column;gap:4px}.fm-droppable-field__container[data-v-311b22a0]{position:relative;background-color:var(--fm-color-neutral-white);padding:12px;border-radius:8px;border-width:2px;border-style:dashed;border-color:var(--fm-color-neutral-gray-300);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center}.fm-droppable-field__container--disabled[data-v-311b22a0]{cursor:not-allowed;color:var(--fm-color-neutral-gray-200);border-color:var(--fm-color-neutral-gray-200)}.fm-droppable-field__container--dragging[data-v-311b22a0]{border-color:var(--fm-color-primary)}.fm-droppable-field__container--invalid[data-v-311b22a0]{border-color:var(--fm-color-system-red-300)}.fm-droppable-field__container[data-v-311b22a0]:hover:not(.fm-droppable-field__container--disabled){border-color:var(--fm-color-neutral-gray-400)}.fm-droppable-field__input[data-v-311b22a0]{cursor:pointer;opacity:0;position:absolute;top:0;left:0;height:100%;width:100%}.fm-droppable-field__input[data-v-311b22a0]:disabled{display:none;cursor:not-allowed}.map-button[data-v-272f5e8b]{border-top-width:1px;border-top-color:var(--fm-color-neutral-gray-200);color:var(--fm-color-neutral-gray-400);padding:.2rem 1rem;border-radius:8px}table[data-v-92a03d5c]{width:100%;border-spacing:unset;line-height:inherit}table td[data-v-92a03d5c],table th[data-v-92a03d5c]{padding:3px 5px;vertical-align:top}hr[data-v-92a03d5c]{border-collapse:unset;background:#888;height:2px;border:0px}.text-left[data-v-92a03d5c]{text-align:left}.text-right[data-v-92a03d5c]{text-align:right}.purchase-box[data-v-92a03d5c]{max-width:800px;margin:auto;padding:30px;border:1px solid #eee;box-shadow:0 0 10px #00000026;font-size:16px;line-height:1.5;font-family:Helvetica Neue,Helvetica,Helvetica,Arial,sans-serif;color:#555}.title[data-v-92a03d5c]{padding-bottom:0;font-size:30px;color:#333}.header[data-v-92a03d5c]{font-weight:600;color:#333}.sub-header[data-v-92a03d5c]{font-size:18px;color:#333}.caption[data-v-92a03d5c]{font-size:14px;color:#666}.address[data-v-92a03d5c]{font-size:16px;line-height:1.2;color:#666}.purchase-body[data-v-92a03d5c]{margin-top:30px}.item-header[data-v-92a03d5c]{border:0px;background:#ccc;color:#444}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { o as S, j as u, V as m, W as y } from "./app-B6CTWYqZ.js";
|
|
2
2
|
import { useCoreStore as c } from "@feedmepos/mf-common";
|
|
3
3
|
import { defineStore as b } from "pinia";
|
|
4
4
|
import { ref as l, computed as v } from "vue";
|