@feedmepos/mf-inventory-portal 0.0.22-dev.2 → 0.0.22-dev.21
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-D7WEr35k.js → ApprovalView-CCYykhrK.js} +14 -14
- package/dist/{BindingsDialog-C-3uO6pD.js → BindingsDialog-33VV_AST.js} +1 -1
- package/dist/{BindingsPicker-B3tGisCE.js → BindingsPicker-BKu4vN8J.js} +8 -8
- package/dist/{BindingsTable-CPtiH3vj.js → BindingsTable-Dd0h5gDf.js} +1 -1
- package/dist/ClosingTemplateView-BhevjTLl.js +1067 -0
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-ohHZLOuR.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-3gp56NNJ.js} +14 -16
- package/dist/{IngredientsView-D-EKGLq9.js → IngredientsView-DckIH9eR.js} +5 -6
- package/dist/{IntegrationView-BVAO_vch.js → IntegrationView-BqQ4jRIp.js} +2 -2
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CJYmB7Ct.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Vi0q_bDz.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BxkM-SOw.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BIL8LWRz.js} +1 -1
- package/dist/{PurchaseOrderPrintPreview-CP-mK62z.js → PurchaseOrderPrintPreview-Ct7daTTa.js} +1 -1
- package/dist/{ReceiveRequestView-x8WTvuDk.js → ReceiveRequestView-B4wHTogG.js} +25 -26
- package/dist/RecipeView-DuE4cXLz.js +590 -0
- package/dist/Standalone.vue.d.ts +2 -0
- package/dist/{StockView-SyWxT4Ee.js → StockView-Bn9v2Ix8.js} +602 -585
- package/dist/{SupplierView-a0HAZJau.js → SupplierView-C8rqHSOV.js} +37 -37
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-CStnY5Zh.js +851 -0
- package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-DRKiv_t8.js +1511 -0
- package/dist/TransferTemplateView-RM6Y-WL4.js +1209 -0
- package/dist/{UnitView-B3c7W5lw.js → UnitView-BXISVrop.js} +4 -4
- package/dist/{WarehouseView-DDV-yslF.js → WarehouseView-B055eB90.js} +18 -18
- package/dist/api/closing-template.d.ts +14 -0
- package/dist/api/inventory.d.ts +5 -7
- package/dist/api/netsuite.d.ts +46 -0
- package/dist/api/purchase-order-template.d.ts +0 -4
- package/dist/{app-DURkcZal.js → app-9algzyce.js} +16045 -15403
- package/dist/app.d.ts +6 -0
- package/dist/app.js +2 -2
- package/dist/components/FmMinMaxInputRules.d.ts +2 -0
- package/dist/components/FmUnitInputRules.d.ts +2 -0
- package/dist/{decimal-BGJlFDm8.js → decimal-CMuMGm4y.js} +1 -1
- package/dist/{defineDeepModel-pATZSiCT.js → defineDeepModel-CjPowyho.js} +1 -1
- package/dist/extensions/promises.d.ts +14 -0
- package/dist/{format-time-from-id-BCAuJEq2.js → format-time-from-id-DNKcbBFm.js} +1 -1
- package/dist/helper/date2.d.ts +1 -0
- package/dist/helper/rules.d.ts +7 -0
- package/dist/helper/rules.spec.d.ts +1 -0
- package/dist/{id-to-date-CVHmTOJk.js → id-to-date-C6W4aVdr.js} +1 -1
- package/dist/purchase-order-transaction-type-CscRvNAR.js +680 -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 +7 -0
- package/dist/stores/location.d.ts +24 -42
- package/dist/stores/netsuite.d.ts +56 -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-DmBbGAwf.js → supplier-BiCX3dpL.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/use-template-enabled-locations-2-Dtg2qOTm.js +85 -0
- package/dist/views/closing-template/components/closing-template-publish/ClosingTemplatePublish.vue.d.ts +6 -0
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +276 -84
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +341 -85
- 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 +916 -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 +788 -152
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +800 -164
- 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 +4 -7
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +2 -2
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +1285 -109
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +399 -993
- package/dist/views/transfer-template/helpers/remove-deleted-skus.helper.d.ts +345 -0
- package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +8 -14
- package/dist/{xlsx-1DLm6bBD.js → xlsx-fKJqx2Qc.js} +1 -1
- package/dist/{xlsx.util-DLtch7r5.js → xlsx.util-LOnzE3KS.js} +2 -2
- package/package.json +5 -5
- package/dist/ClosingTemplateView-Df0lgpjS.js +0 -928
- package/dist/RecipeView-BysIWI1W.js +0 -581
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-ckp8gcT_.js +0 -740
- package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-BSvpuWY9.js +0 -1409
- package/dist/TransferTemplateView-BGi6zd6d.js +0 -1350
- 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-DvSpCSXr.js +0 -712
- package/dist/use-template-enabled-locations-BiuOdu1M.js +0 -57
|
@@ -1820,6 +1820,13 @@ export declare function useInventoryStore(): {
|
|
|
1820
1820
|
unitUsedBy: Record<string, UnitUsedBy[]>;
|
|
1821
1821
|
};
|
|
1822
1822
|
closing: {
|
|
1823
|
+
closedBy?: {
|
|
1824
|
+
faceId?: unknown;
|
|
1825
|
+
name: string;
|
|
1826
|
+
role: string;
|
|
1827
|
+
_id: string;
|
|
1828
|
+
passcode: string;
|
|
1829
|
+
} | null | undefined;
|
|
1823
1830
|
_id?: string | undefined;
|
|
1824
1831
|
adjustmentIds?: string[] | undefined;
|
|
1825
1832
|
skus?: {
|
|
@@ -24,13 +24,10 @@ export declare function useLocationStore(): {
|
|
|
24
24
|
url?: string | null | undefined;
|
|
25
25
|
expiredAt?: string | null | undefined;
|
|
26
26
|
agentId?: string | null | undefined;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
name: string;
|
|
32
|
-
id: string;
|
|
33
|
-
}[];
|
|
27
|
+
attributeSettings?: {
|
|
28
|
+
type: "string" | "number" | "boolean" | "date";
|
|
29
|
+
key: string;
|
|
30
|
+
entity: "restaurant" | "item";
|
|
34
31
|
}[] | null | undefined;
|
|
35
32
|
pf_agent?: {
|
|
36
33
|
clickupId?: string | null | undefined;
|
|
@@ -125,13 +122,10 @@ export declare function useLocationStore(): {
|
|
|
125
122
|
url?: string | null | undefined;
|
|
126
123
|
expiredAt?: string | null | undefined;
|
|
127
124
|
agentId?: string | null | undefined;
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
name: string;
|
|
133
|
-
id: string;
|
|
134
|
-
}[];
|
|
125
|
+
attributeSettings?: {
|
|
126
|
+
type: "string" | "number" | "boolean" | "date";
|
|
127
|
+
key: string;
|
|
128
|
+
entity: "restaurant" | "item";
|
|
135
129
|
}[] | null | undefined;
|
|
136
130
|
pf_agent?: {
|
|
137
131
|
clickupId?: string | null | undefined;
|
|
@@ -227,13 +221,10 @@ export declare function useLocationStore(): {
|
|
|
227
221
|
url?: string | null | undefined;
|
|
228
222
|
expiredAt?: string | null | undefined;
|
|
229
223
|
agentId?: string | null | undefined;
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
name: string;
|
|
235
|
-
id: string;
|
|
236
|
-
}[];
|
|
224
|
+
attributeSettings?: {
|
|
225
|
+
type: "string" | "number" | "boolean" | "date";
|
|
226
|
+
key: string;
|
|
227
|
+
entity: "restaurant" | "item";
|
|
237
228
|
}[] | null | undefined;
|
|
238
229
|
pf_agent?: {
|
|
239
230
|
clickupId?: string | null | undefined;
|
|
@@ -328,13 +319,10 @@ export declare function useLocationStore(): {
|
|
|
328
319
|
url?: string | null | undefined;
|
|
329
320
|
expiredAt?: string | null | undefined;
|
|
330
321
|
agentId?: string | null | undefined;
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
name: string;
|
|
336
|
-
id: string;
|
|
337
|
-
}[];
|
|
322
|
+
attributeSettings?: {
|
|
323
|
+
type: "string" | "number" | "boolean" | "date";
|
|
324
|
+
key: string;
|
|
325
|
+
entity: "restaurant" | "item";
|
|
338
326
|
}[] | null | undefined;
|
|
339
327
|
pf_agent?: {
|
|
340
328
|
clickupId?: string | null | undefined;
|
|
@@ -430,13 +418,10 @@ export declare function useLocationStore(): {
|
|
|
430
418
|
url?: string | null | undefined;
|
|
431
419
|
expiredAt?: string | null | undefined;
|
|
432
420
|
agentId?: string | null | undefined;
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
name: string;
|
|
438
|
-
id: string;
|
|
439
|
-
}[];
|
|
421
|
+
attributeSettings?: {
|
|
422
|
+
type: "string" | "number" | "boolean" | "date";
|
|
423
|
+
key: string;
|
|
424
|
+
entity: "restaurant" | "item";
|
|
440
425
|
}[] | null | undefined;
|
|
441
426
|
pf_agent?: {
|
|
442
427
|
clickupId?: string | null | undefined;
|
|
@@ -534,13 +519,10 @@ export declare function useLocationStore(): {
|
|
|
534
519
|
url?: string | null | undefined;
|
|
535
520
|
expiredAt?: string | null | undefined;
|
|
536
521
|
agentId?: string | null | undefined;
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
name: string;
|
|
542
|
-
id: string;
|
|
543
|
-
}[];
|
|
522
|
+
attributeSettings?: {
|
|
523
|
+
type: "string" | "number" | "boolean" | "date";
|
|
524
|
+
key: string;
|
|
525
|
+
entity: "restaurant" | "item";
|
|
544
526
|
}[] | null | undefined;
|
|
545
527
|
pf_agent?: {
|
|
546
528
|
clickupId?: string | null | undefined;
|
|
@@ -0,0 +1,56 @@
|
|
|
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
|
+
items: {
|
|
10
|
+
id: string;
|
|
11
|
+
netSuiteId: string;
|
|
12
|
+
unitTypeId: string;
|
|
13
|
+
unitOfMeasureId: string;
|
|
14
|
+
subsidiaryIds: string[];
|
|
15
|
+
}[];
|
|
16
|
+
syncedAt?: string | null | undefined;
|
|
17
|
+
enable: boolean;
|
|
18
|
+
locations: {
|
|
19
|
+
type: "restaurant" | "warehouse";
|
|
20
|
+
id: string;
|
|
21
|
+
name: string;
|
|
22
|
+
netSuiteId: string;
|
|
23
|
+
}[];
|
|
24
|
+
units: {
|
|
25
|
+
id: string;
|
|
26
|
+
measurements: {
|
|
27
|
+
id: string;
|
|
28
|
+
netSuiteId: string;
|
|
29
|
+
}[];
|
|
30
|
+
netSuiteId: string;
|
|
31
|
+
}[];
|
|
32
|
+
subsidiaries: {
|
|
33
|
+
parentId?: string | undefined;
|
|
34
|
+
id: string;
|
|
35
|
+
name: string;
|
|
36
|
+
country: string;
|
|
37
|
+
currency: string;
|
|
38
|
+
}[];
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
readonly subsidiaryOptions: {
|
|
42
|
+
label: string;
|
|
43
|
+
value: FdoPurchaseOrderSubsidiaryNetSuiteSetting;
|
|
44
|
+
}[];
|
|
45
|
+
getAvailableItems(subsidiaryId?: string | null): string[];
|
|
46
|
+
readSetting(): Promise<void>;
|
|
47
|
+
};
|
|
48
|
+
export type FdoNetSuiteSubsidiaryWithChildren = FdoNetSuiteSubsidiary & {
|
|
49
|
+
depth: number;
|
|
50
|
+
children: FdoNetSuiteSubsidiaryWithChildren[];
|
|
51
|
+
};
|
|
52
|
+
export declare function buildSubsidiaryTree(data: FdoNetSuiteSubsidiary[], subsidiaryId?: string | null): {
|
|
53
|
+
tree: FdoNetSuiteSubsidiaryWithChildren[];
|
|
54
|
+
available: string[];
|
|
55
|
+
flat: FdoNetSuiteSubsidiaryWithChildren[];
|
|
56
|
+
};
|
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-9algzyce.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";
|