@feedmepos/mf-inventory-portal 1.8.0-dev.2 → 1.8.0-dev.4
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-DVHgBTHP.js → App-FeJnwZme.js} +364 -377
- package/dist/{ApprovalView-RaXuWWSu.js → ApprovalView-Eo-cGWyA.js} +9 -9
- package/dist/{BindingsDialog-DomvXijP.js → BindingsDialog-DkjuXydb.js} +2 -2
- package/dist/{BindingsPicker-DGnzxEs7.js → BindingsPicker-DUOQcOlj.js} +2 -2
- package/dist/{BindingsTable-DfG9kWrv.js → BindingsTable-CoDdU5xh.js} +4 -4
- package/dist/{BulkReceiveRequestView-DxHWrfbi.js → BulkReceiveRequestView-BGh8fbEX.js} +19 -19
- package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-CVekIoiN.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-CStISRqy.js} +1 -1
- package/dist/{ClosingDraftView-C3n66bbh.js → ClosingDraftView-Cwnhrv5P.js} +20 -20
- package/dist/{ClosingHistoryView-kdpYGy1Y.js → ClosingHistoryView-oHf77Lal.js} +5 -5
- package/dist/{ClosingTemplateView-DwGloYxn.js → ClosingTemplateView-1P8J1vAn.js} +18 -18
- package/dist/{CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-9eY_r8LF.js → CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-BuEPaqQK.js} +1 -1
- package/dist/{DefaultView-JC_e4xgC.js → DefaultView-3Z8aVFSU.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-BBCvI67S.js → DeliveryOrderPrintPreview-uT_e3Suw.js} +2 -2
- package/dist/{DeprecateSoonWarningDialog.vue_vue_type_script_setup_true_lang-5Cc08Svt.js → DeprecateSoonWarningDialog.vue_vue_type_script_setup_true_lang-D_vmtZDZ.js} +1 -1
- package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-H4FWc9ga.js → EmailDialog.vue_vue_type_script_setup_true_lang-BCgnXxEi.js} +26 -25
- package/dist/FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-D-RzUmqA.js +81 -0
- package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-Q8Mptiv3.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-BlKpGdCx.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CE1_yyHe.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DKkxn1J-.js} +2 -2
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CGJi3f86.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-dOXDST-E.js} +2 -2
- package/dist/{FmMultiselectDialog-yVPY5aBV.js → FmMultiselectDialog-C8uYx8rr.js} +1 -1
- package/dist/{FmMultiselectDialog-DCaRlBIy.js → FmMultiselectDialog-DRxZAkcu.js} +2 -2
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-ClaLVtpK.js → FmUnitInput.vue_vue_type_script_setup_true_lang-DRSzQqVJ.js} +6 -6
- package/dist/{ImportView-DQrVMzxN.js → ImportView-Qigtf3ik.js} +6 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-7lT5UZc8.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-B8PJeYrP.js} +1 -1
- package/dist/{IngredientGroupView-BMUnEaY7.js → IngredientGroupView-RNYZLkQu.js} +7 -7
- package/dist/{IngredientsView-DPj9lBTK.js → IngredientsView-N9U7tdI_.js} +29 -23
- package/dist/{IntegrationExplorerView-CO2wpUR_.js → IntegrationExplorerView-CjmeGQ14.js} +4 -4
- package/dist/{IntegrationView-DIeZoey0.js → IntegrationView-DAdpmuxx.js} +15 -15
- package/dist/{InventoryBindingForm-Cj4_Chue.js → InventoryBindingForm-CAj3MurI.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-CaBOK7NC.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-3pYuu62C.js} +5 -5
- package/dist/{InventoryBindingSummary-yzGzd7jJ.js → InventoryBindingSummary-B-1OBUdw.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DzzTPdyF.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CUYYEuW3.js} +1 -1
- package/dist/{ProductionRunDetailView-Cw-ecaey.js → ProductionRunDetailView-eFvl8-By.js} +4 -4
- package/dist/{ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-BYyiiAWb.js → ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-DaC7e4qS.js} +7 -7
- package/dist/{ProductionRunView-C11eseXQ.js → ProductionRunView-C_NJJKLr.js} +3 -3
- package/dist/{PublishView-CPK9NeVF.js → PublishView-BglAEkzU.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-DosqWQeN.js → PurchaseOrderPrintPreview-BTF9ikpQ.js} +2 -2
- package/dist/{ReceiveRequestView-BxSkpK2t.js → ReceiveRequestView-BUvehG10.js} +13 -13
- package/dist/{RecipeView-oHDWsT0P.js → RecipeView-DO5-jgwh.js} +17 -17
- package/dist/{SettingsView-QlUNwFhM.js → SettingsView-DRR86cHo.js} +12 -13
- package/dist/{StockView-a8LbVZ_7.js → StockView-D1oEnbZp.js} +25 -23
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-GdGJCuc0.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CxU92-io.js} +1 -1
- package/dist/{SupplierView-BKxKoi_0.js → SupplierView-D68wz0-g.js} +14 -14
- package/dist/{SurchargeView-Db4cwhZv.js → SurchargeView-Cw9rTw2h.js} +7 -7
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-CpkF77Ow.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-Az-a1Dsp.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CCCj4WVF.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-C-sxbacO.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-CFNPXqt5.js → TransferDetails.vue_vue_type_script_setup_true_lang-CsHfLaCv.js} +234 -234
- package/dist/{TransferTemplateView-CzwxOBMQ.js → TransferTemplateView-CHPJMjYC.js} +20 -20
- package/dist/{UnitCostHistoryView-CqcyjCCd.js → UnitCostHistoryView-DM8OzWhe.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-DO80_8SZ.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-DpwK5mFH.js} +4 -4
- package/dist/{UnitView-BqdK1AM_.js → UnitView-90uR-ZzQ.js} +8 -8
- package/dist/{WarehouseView-COJM9IXM.js → WarehouseView-Bulg6Vac.js} +8 -8
- package/dist/{WastageTemplateView-DW3viTHN.js → WastageTemplateView-BmAHnnwm.js} +15 -15
- package/dist/api/inventory.d.ts +9 -9
- package/dist/{app-yvK__CBL.js → app-Ccdgbe4f.js} +19 -18
- package/dist/app.js +1 -1
- package/dist/{closing-template-DezidSM0.js → closing-template-DuBZxoXx.js} +1 -1
- package/dist/components/FeatureCapabilityBadge.vue.d.ts +4 -0
- package/dist/components/MultiLocationSelector.vue.d.ts +6 -6
- package/dist/{date2-2XjepIqc.js → date2-IBrLdtni.js} +1 -1
- package/dist/{dayjs.min-CNp5DLBB.js → dayjs.min-DEkq-Hpp.js} +1 -1
- package/dist/{decimal-Z7oJdGk8.js → decimal-g6jRdlSk.js} +2 -2
- package/dist/{defineDeepModel-CMxJn_H2.js → defineDeepModel-P5a5Ffpn.js} +1 -1
- package/dist/{duplicate-template-BetV5oy_.js → duplicate-template-Do8s80ei.js} +1 -1
- package/dist/{feature-CkWaZ-5K.js → feature-ChVm5JED.js} +875 -645
- package/dist/feature-flags/core.d.ts +3 -2
- package/dist/feature-flags/portal-feature-catalog.d.ts +2 -5
- package/dist/feature-flags/premium-flags.spec.d.ts +1 -0
- package/dist/feature-flags/vue.d.ts +2 -0
- package/dist/{format-time-from-id-DatSI9uD.js → format-time-from-id-BgbBOII7.js} +1 -1
- package/dist/{format-unit-display-DM5We5cx.js → format-unit-display-hSXy2iu6.js} +13 -13
- package/dist/{id-to-date-Dxw2jKhy.js → id-to-date-DlGYysU8.js} +1 -1
- package/dist/{import-export.helper-BOmADwUw.js → import-export.helper-LrZhiz2W.js} +6 -6
- package/dist/{index-7fz5sGDO.js → index-BTNJ1fk2.js} +3 -3
- package/dist/{index-ClYgfwW7.js → index-DCiNwlw2.js} +1 -1
- package/dist/{index-CIH9NCvs.js → index-DsOmtywr.js} +1 -1
- package/dist/{lz-string-CCsc2X7t.js → lz-string-DRuyjE9G.js} +1 -1
- package/dist/{netsuite-COumFXC2.js → netsuite-B6y8GZCP.js} +2 -2
- package/dist/{number-gSLvxNqA.js → number-Besn-1-5.js} +3 -3
- package/dist/{predefined-templates-Bw9A9LNA.js → predefined-templates-D92mN_2S.js} +1 -1
- package/dist/{purchase-order-template-BaZjdGq8.js → purchase-order-template-hvq2pfWx.js} +1 -1
- package/dist/{recalculationUtils-t32wAurN.js → recalculationUtils-BlZR5O2G.js} +1 -1
- package/dist/{row-action.enum-BDeudY4d.js → row-action.enum-R2bi3eAv.js} +1 -1
- package/dist/{rules-C1btu0Md.js → rules-DzwoRKUS.js} +2 -2
- package/dist/{stock-BF86TMW0.js → stock-Cq37EARQ.js} +3 -3
- package/dist/{stock-B59sfN28.js → stock-oJqnUrtt.js} +1 -1
- package/dist/stores/feature.d.ts +1 -0
- package/dist/stores/integration/netsuite.d.ts +2 -2
- package/dist/stores/location.d.ts +42 -42
- package/dist/stores/supplier.d.ts +48 -48
- package/dist/stores/warehouse.d.ts +1 -1
- package/dist/{supplier-DnbLJ_cS.js → supplier-DtdwvcPr.js} +2 -2
- package/dist/{surcharge-C1uE3uQa.js → surcharge-CjdJGIsM.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{uom-rules-DjfyrFHJ.js → uom-rules-BqPn_GoZ.js} +1 -1
- package/dist/{use-ingredient-select-dialog-7A7fWyEH.js → use-ingredient-select-dialog-0hRCj6Fu.js} +2 -2
- package/dist/{use-inventory-binding-dialog-Cc1tjTfV.js → use-inventory-binding-dialog-BLRcIC1u.js} +2 -2
- package/dist/{use-template-enabled-locations-C-Hqqgzt.js → use-template-enabled-locations-8ZfTj4YB.js} +2 -2
- package/dist/{use-transfer-locations-CqsXvOI2.js → use-transfer-locations-BGS1EBEt.js} +2 -2
- package/dist/{useHrmPermission-BzwD3Ctc.js → useHrmPermission-BcQ2KPD-.js} +1 -1
- package/dist/{useNavigationMenu-PrZg9HS7.js → useNavigationMenu-DImtns81.js} +95 -93
- package/dist/{useSseClient-FCyLWq8k.js → useSseClient-DPSFFVci.js} +1 -1
- package/dist/views/adjustment-template/wastage-template/actions.d.ts +36 -36
- package/dist/views/adjustment-template/wastage-template/table.d.ts +36 -36
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftApprovalDialog.vue.d.ts +6 -6
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +12 -12
- package/dist/views/closing-draft/components/closing-draft-groups/ClosingGroupDetailSideSheet.vue.d.ts +6 -6
- package/dist/views/closing-draft/composables/use-closing-draft-import.d.ts +3 -3
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +18 -18
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +45 -45
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +36 -36
- package/dist/views/integration/components/netsuite/business/AddLocationDialog.vue.d.ts +36 -36
- package/dist/views/integration/components/netsuite/business/AddVendorDialog.vue.d.ts +24 -24
- package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +5 -5
- package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +5 -5
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +39 -39
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +35 -35
- package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.d.ts +34 -34
- package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-table.d.ts +6 -6
- package/dist/views/supplier/components/SupplierForm.vue.d.ts +4 -4
- package/dist/views/supplier/composables/use-supplier-table.d.ts +2 -2
- package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +8 -8
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +4 -4
- package/dist/views/transfer-template/composables/use-template-item-bulk-editor.d.ts +24 -24
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +48 -48
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +48 -48
- package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +2 -2
- package/dist/{vue-i18n-C34f-Tph.js → vue-i18n-DTyGIjTI.js} +219 -219
- package/dist/{xlsx.util-X4amwe_k.js → xlsx.util-CK9Lnq3Q.js} +2 -2
- package/package.json +5 -5
- package/dist/FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-C1C8aDA6.js +0 -61
- package/dist/portal-feature-catalog-yGIESKTc.js +0 -246
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { InventoryPlanTier } from './plan-tier';
|
|
2
2
|
export interface FeatureDefinition<Key extends string = string> {
|
|
3
3
|
key: Key;
|
|
4
4
|
minimumTier: InventoryPlanTier;
|
|
5
5
|
release?: FeatureRelease;
|
|
6
|
+
flagKeys?: readonly string[];
|
|
6
7
|
}
|
|
7
8
|
export type ReleaseStage = 'off' | 'beta' | 'ga';
|
|
8
9
|
export interface FeatureRelease {
|
|
9
10
|
stage: ReleaseStage;
|
|
10
11
|
}
|
|
11
12
|
export interface FeatureEvaluationContext {
|
|
12
|
-
|
|
13
|
+
isFlagOn: (flagKey: string) => boolean;
|
|
13
14
|
businessId?: string;
|
|
14
15
|
locationId?: string;
|
|
15
16
|
}
|
|
@@ -14,11 +14,8 @@ export interface PortalFeatureCatalogueEntry {
|
|
|
14
14
|
flagKeys?: readonly string[];
|
|
15
15
|
definition?: FeatureDefinition;
|
|
16
16
|
}
|
|
17
|
-
/**
|
|
18
|
-
* Product classification for every portal feature currently controlled by a
|
|
19
|
-
* feature flag. Keep this independent of the vendor flag names so that rollout
|
|
20
|
-
* mechanisms can change without touching component code.
|
|
21
|
-
*/
|
|
22
17
|
export declare const portalFeatureCatalogue: readonly PortalFeatureCatalogueEntry[];
|
|
18
|
+
/** Flags a Premium plan switches on, regardless of their rollout state. */
|
|
19
|
+
export declare const PREMIUM_FLAG_KEYS: ReadonlySet<string>;
|
|
23
20
|
export declare function getPortalFeature(key: string): PortalFeatureCatalogueEntry | undefined;
|
|
24
21
|
export declare function getPortalFeatureForFlag(flagKey: string): PortalFeatureCatalogueEntry | undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -12,3 +12,5 @@ export interface UseFeatureResult {
|
|
|
12
12
|
export declare function useFeature(feature: MaybeRef<FeatureDefinition | null>): UseFeatureResult;
|
|
13
13
|
/** Provides the current actor context to the headless evaluator. */
|
|
14
14
|
export declare function useFeatureEvaluationContext(): ComputedRef<FeatureEvaluationContext>;
|
|
15
|
+
/** A premium plan switches the capability flags on, so the flag alone decides access. */
|
|
16
|
+
export declare function isPortalFeatureFlagOn(featureKey: string | undefined): boolean;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { components as ce, useDialogChild as Pe, useSnackbar as de, useDialog as Me, FmButtonVariant as te } from "@feedmepos/ui-library";
|
|
2
2
|
import { defineStore as pe } from "pinia";
|
|
3
3
|
import { F as xe } from "./form-mode.enum-BKiNVH6A.js";
|
|
4
|
-
import { u as fe } from "./purchase-order-template-
|
|
4
|
+
import { u as fe } from "./purchase-order-template-hvq2pfWx.js";
|
|
5
5
|
import { ref as I, h as oe, defineComponent as ye, resolveComponent as W, createElementBlock as F, openBlock as O, createElementVNode as N, createCommentVNode as J, normalizeClass as Z, createTextVNode as Be, toDisplayString as q, unref as B, createVNode as z, withCtx as me, Fragment as Y, renderList as ae, onMounted as Le, computed as H, watch as Qe, createSlots as Ue, createBlock as re } from "vue";
|
|
6
|
-
import { a as X, c as ve, r as L, u as ie, m as qe, k as _e, s as Ve, R as we } from "./app-
|
|
6
|
+
import { a as X, c as ve, r as L, u as ie, m as qe, k as _e, s as Ve, R as we } from "./app-Ccdgbe4f.js";
|
|
7
7
|
import { useRouter as He } from "vue-router";
|
|
8
|
-
import { a as ze } from "./FmMultiselectDialog-
|
|
9
|
-
import { D as ne, R as U } from "./row-action.enum-
|
|
8
|
+
import { a as ze } from "./FmMultiselectDialog-DRxZAkcu.js";
|
|
9
|
+
import { D as ne, R as U } from "./row-action.enum-R2bi3eAv.js";
|
|
10
10
|
import { c as je } from "./component-BmLAdDiY.js";
|
|
11
|
-
import { f as Ye } from "./format-time-from-id-
|
|
11
|
+
import { f as Ye } from "./format-time-from-id-BgbBOII7.js";
|
|
12
12
|
import { useI18n as he, useCoreStore as Ie } from "@feedmepos/mf-common";
|
|
13
|
-
import { t as K, a as Ce, d as Oe, s as Ae, r as Ke } from "./xlsx.util-
|
|
13
|
+
import { t as K, a as Ce, d as Oe, s as Ae, r as Ke } from "./xlsx.util-CK9Lnq3Q.js";
|
|
14
14
|
import { F as Ge } from "./FmDroppableField-J0tG_U3w.js";
|
|
15
|
-
import { a as G, c as We, t as se, g as ue } from "./number-
|
|
16
|
-
import { f as Je } from "./date2-
|
|
17
|
-
import { u as ge } from "./supplier-
|
|
18
|
-
import { a as Ze, B as Xe } from "./rules-
|
|
19
|
-
import { u as Te } from "./netsuite-
|
|
20
|
-
import { u as et } from "./duplicate-template-
|
|
21
|
-
import { u as tt } from "./vue-i18n-
|
|
15
|
+
import { a as G, c as We, t as se, g as ue } from "./number-Besn-1-5.js";
|
|
16
|
+
import { f as Je } from "./date2-IBrLdtni.js";
|
|
17
|
+
import { u as ge } from "./supplier-DtdwvcPr.js";
|
|
18
|
+
import { a as Ze, B as Xe } from "./rules-DzwoRKUS.js";
|
|
19
|
+
import { u as Te } from "./netsuite-B6y8GZCP.js";
|
|
20
|
+
import { u as et } from "./duplicate-template-Do8s80ei.js";
|
|
21
|
+
import { u as tt } from "./vue-i18n-DTyGIjTI.js";
|
|
22
22
|
function De(n) {
|
|
23
23
|
const e = X(), o = n.sku, d = e.skuById[o._id];
|
|
24
24
|
if (d.unit._id !== o.unit._id) return !0;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a as w, t as H, f as T } from "./number-
|
|
2
|
-
import { u as P } from "./feature-
|
|
1
|
+
import { a as w, t as H, f as T } from "./number-Besn-1-5.js";
|
|
2
|
+
import { u as P } from "./feature-ChVm5JED.js";
|
|
3
3
|
import { useCoreStore as y } from "@feedmepos/mf-common";
|
|
4
|
-
import { a as g, g as k, m as j, e as S } from "./app-
|
|
5
|
-
import { b as N, d as $, s as I } from "./xlsx.util-
|
|
6
|
-
import { f as _ } from "./date2-
|
|
7
|
-
import { I as O } from "./rules-
|
|
4
|
+
import { a as g, g as k, m as j, e as S } from "./app-Ccdgbe4f.js";
|
|
5
|
+
import { b as N, d as $, s as I } from "./xlsx.util-CK9Lnq3Q.js";
|
|
6
|
+
import { f as _ } from "./date2-IBrLdtni.js";
|
|
7
|
+
import { I as O } from "./rules-DzwoRKUS.js";
|
|
8
8
|
function U() {
|
|
9
9
|
return {
|
|
10
10
|
low: 6,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ref as v, computed as f } from "vue";
|
|
2
|
-
import { u as w } from "./netsuite-
|
|
3
|
-
import { A as L, a as p, u as y, d as k, G as h } from "./app-
|
|
2
|
+
import { u as w } from "./netsuite-B6y8GZCP.js";
|
|
3
|
+
import { A as L, a as p, u as y, d as k, G as h } from "./app-Ccdgbe4f.js";
|
|
4
4
|
import { useSnackbar as B } from "@feedmepos/ui-library";
|
|
5
5
|
import { useCoreStore as E } from "@feedmepos/mf-common";
|
|
6
|
-
import { u as S } from "./feature-
|
|
6
|
+
import { u as S } from "./feature-ChVm5JED.js";
|
|
7
7
|
function C() {
|
|
8
8
|
return {
|
|
9
9
|
setting: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { y as L, aw as V, ax as je, ay as X, ap as Bl, a1 as Ar, az as Te, aA as Yt, aB as Wt } from "./app-
|
|
1
|
+
import { y as L, aw as V, ax as je, ay as X, ap as Bl, a1 as Ar, az as Te, aA as Yt, aB as Wt } from "./app-Ccdgbe4f.js";
|
|
2
2
|
import { d as wl, _ as zl } from "./dinero-DMLEtkS9.js";
|
|
3
3
|
function Ul(t, e) {
|
|
4
4
|
for (var r = 0; r < e.length; r++) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { y as s_, a1 as vi, D as i, ae as u_, af as o_, ag as a_, ah as c_, ai as Ti, aj as d_, C as at, ak as bi, a0 as Ys, al as ru, am as nc, an as Oe, ao as Le, N as De, w as oe, ap as Er, B as Bt, aq as Js, Z as Ye, e as zn, ar as ic, as as l_, at as f_, au as m_, a3 as su, a9 as p_, d as g_, j as h_, s as Wa, a as __, u as Ei } from "./app-
|
|
1
|
+
import { y as s_, a1 as vi, D as i, ae as u_, af as o_, ag as a_, ah as c_, ai as Ti, aj as d_, C as at, ak as bi, a0 as Ys, al as ru, am as nc, an as Oe, ao as Le, N as De, w as oe, ap as Er, B as Bt, aq as Js, Z as Ye, e as zn, ar as ic, as as l_, at as f_, au as m_, a3 as su, a9 as p_, d as g_, j as h_, s as Wa, a as __, u as Ei } from "./app-Ccdgbe4f.js";
|
|
2
2
|
import { useCoreStore as Cn } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as I_ } from "@feedmepos/ui-library";
|
|
4
4
|
import { defineComponent as y_, ref as Zs, computed as An, resolveComponent as Kn, createBlock as zs, openBlock as _t, withCtx as ut, createElementVNode as ge, createElementBlock as Qt, createVNode as At, createTextVNode as ot, toDisplayString as Ue, Fragment as vr, createCommentVNode as Dn, renderList as v_, unref as qa, h as E_ } from "vue";
|
|
5
|
-
import { u as b_ } from "./feature-
|
|
5
|
+
import { u as b_ } from "./feature-ChVm5JED.js";
|
|
6
6
|
var br = { exports: {} };
|
|
7
7
|
/**
|
|
8
8
|
* @license
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { w as o } from "./app-
|
|
2
|
-
import { F as l } from "./decimal-
|
|
3
|
-
import "./dayjs.min-
|
|
1
|
+
import { w as o } from "./app-Ccdgbe4f.js";
|
|
2
|
+
import { F as l } from "./decimal-g6jRdlSk.js";
|
|
3
|
+
import "./dayjs.min-DEkq-Hpp.js";
|
|
4
4
|
function g(n, t) {
|
|
5
5
|
return o.convertPrecision({
|
|
6
6
|
value: n,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as qn, j as Wn, y as zn } from "./app-
|
|
1
|
+
import { d as qn, j as Wn, y as zn } from "./app-Ccdgbe4f.js";
|
|
2
2
|
import { defineStore as Vn } from "pinia";
|
|
3
3
|
import { ref as mt, computed as Kn } from "vue";
|
|
4
4
|
import { useCoreStore as Yn } from "@feedmepos/mf-common";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h as r } from "vue";
|
|
2
|
-
import { a as o } from "./FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { a as o } from "./FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-D-RzUmqA.js";
|
|
3
3
|
var e = /* @__PURE__ */ ((t) => (t.Add = "Add", t.Create = "Create", t.Print = "Print", t.PrintCustom = "PrintCustom", t.PrintPdf = "PrintPdf", t.Export = "Export", t.Update = "Update", t.Details = "Details", t.Edit = "Edit", t.Delete = "Delete", t.Publish = "Publish", t.Duplicate = "Duplicate", t.Email = "Email", t))(e || {});
|
|
4
4
|
const i = {
|
|
5
5
|
Add: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as f, a as u, g as d, b as m } from "./number-
|
|
2
|
-
import { c as b, d as p } from "./date2-
|
|
1
|
+
import { c as f, a as u, g as d, b as m } from "./number-Besn-1-5.js";
|
|
2
|
+
import { c as b, d as p } from "./date2-IBrLdtni.js";
|
|
3
3
|
function M() {
|
|
4
4
|
return function(e) {
|
|
5
5
|
return !!e || "Required";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { u as i } from "./stock-
|
|
2
|
-
import { a as s, Y as p } from "./app-
|
|
1
|
+
import { u as i } from "./stock-oJqnUrtt.js";
|
|
2
|
+
import { a as s, Y as p } from "./app-Ccdgbe4f.js";
|
|
3
3
|
import { computed as k, ref as B } from "vue";
|
|
4
|
-
import { c as d } from "./number-
|
|
4
|
+
import { c as d } from "./number-Besn-1-5.js";
|
|
5
5
|
function m() {
|
|
6
6
|
return {
|
|
7
7
|
stockBalance: {
|
package/dist/stores/feature.d.ts
CHANGED
|
@@ -75,6 +75,7 @@ export declare const useFeatureStore: () => {
|
|
|
75
75
|
expiredAt: string;
|
|
76
76
|
}[];
|
|
77
77
|
hasPlanTier(minimum: InventoryPlanTier): boolean;
|
|
78
|
+
isFlagOn(flag: string): boolean;
|
|
78
79
|
readonly enablePoTemplate: boolean;
|
|
79
80
|
readonly enableClosingTemplate: boolean;
|
|
80
81
|
readonly enableWastageTemplate: boolean;
|
|
@@ -262,9 +262,9 @@ export declare function useNetSuiteStore(): {
|
|
|
262
262
|
deletedAt?: string | null | undefined;
|
|
263
263
|
supplierCache?: {
|
|
264
264
|
_rev?: string | null | undefined;
|
|
265
|
+
email?: string | null | undefined;
|
|
265
266
|
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
266
267
|
contactName?: string | null | undefined;
|
|
267
|
-
email?: string | null | undefined;
|
|
268
268
|
phoneNumber?: string | null | undefined;
|
|
269
269
|
supplyItems?: {
|
|
270
270
|
skuId: string;
|
|
@@ -291,7 +291,6 @@ export declare function useNetSuiteStore(): {
|
|
|
291
291
|
} | null | undefined;
|
|
292
292
|
_id: string;
|
|
293
293
|
name: string;
|
|
294
|
-
registrationNumber: string;
|
|
295
294
|
address: {
|
|
296
295
|
line2?: string | null | undefined;
|
|
297
296
|
line1: string;
|
|
@@ -300,6 +299,7 @@ export declare function useNetSuiteStore(): {
|
|
|
300
299
|
postcode: string;
|
|
301
300
|
country: string;
|
|
302
301
|
};
|
|
302
|
+
registrationNumber: string;
|
|
303
303
|
} | null | undefined;
|
|
304
304
|
custentity_financeapproval?: boolean | null | undefined;
|
|
305
305
|
businessId: string;
|