@feedmepos/mf-inventory-portal 1.8.0-dev.15 → 1.8.0-dev.16
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-BYwjYoox.js → App-xSsyvQV_.js} +515 -536
- package/dist/{ApprovalView-CvfLuQiG.js → ApprovalView-DfJ0FAiD.js} +9 -9
- package/dist/{BindingsDialog-CS0IlwGC.js → BindingsDialog-oAZyjgrN.js} +2 -2
- package/dist/{BindingsPicker-CqY5tyvT.js → BindingsPicker-CEIo7myR.js} +8 -8
- package/dist/{BindingsTable-BA1CMNtR.js → BindingsTable-BKa-JYRR.js} +4 -4
- package/dist/BulkReceiveRequestPage-C6Oyg5-E.js +2839 -0
- package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-B6s_QcuY.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-BvleQo5y.js} +1 -1
- package/dist/{ClosingDraftView-Bk8TmRfV.js → ClosingDraftView-tJrjqyAC.js} +19 -19
- package/dist/{ClosingHistoryView-XMROUlaz.js → ClosingHistoryView-CJQlK4Xc.js} +7 -7
- package/dist/{ClosingTemplateView-CxQp2kaI.js → ClosingTemplateView-DYRtdK5h.js} +18 -18
- package/dist/{CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-KgvAbmkj.js → CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-DEwi7wFf.js} +1 -1
- package/dist/{DefaultView-DNKPKrrr.js → DefaultView-CxTBlkln.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-CfCMlcEC.js → DeliveryOrderPrintPreview-Bywdjc2U.js} +2 -2
- package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-BLfRq8o3.js → EmailDialog.vue_vue_type_script_setup_true_lang-DcFAUTdO.js} +38 -33
- package/dist/{FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-Bmei7M_d.js → FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-C8c6rmJv.js} +11 -10
- package/dist/FeatureCapabilityGate-B41dULfm.js +77 -0
- package/dist/FeaturePageGate.vue_vue_type_script_setup_true_lang-D4G6i1D6.js +189 -0
- package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-AKDqv1C8.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-CnqH115V.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DQIfW9h3.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-QBviJzAO.js} +2 -2
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DrTNzJSz.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BqHtzo20.js} +2 -2
- package/dist/{FmMultiselectDialog-CchCZDYp.js → FmMultiselectDialog-CFNZMzlC.js} +2 -2
- package/dist/{FmMultiselectDialog-DD6AbolT.js → FmMultiselectDialog-M6CvNFW1.js} +2 -2
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-MqvhtQcN.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BGco50Ma.js} +5 -5
- package/dist/{ImportView-f35OUKFU.js → ImportView-C2GOmpuK.js} +6 -6
- package/dist/{IngredientsView-CLC1di0L.js → IngredientsView-wB9kGiOK.js} +15 -15
- package/dist/{IntegrationExplorerView-BWzUCAD0.js → IntegrationExplorerView-BujwGE4q.js} +1414 -1485
- package/dist/{IntegrationPlatformView-C78gW5nI.js → IntegrationPlatformView-Wnvj6-BG.js} +4899 -4794
- package/dist/{IntegrationView-CnUWuRtH.js → IntegrationView-C77rSbpn.js} +14 -14
- package/dist/{InventoryBindingForm-ZGjVpCAI.js → InventoryBindingForm-Bs7Duwfj.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-CQDso4fW.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-DawAEeuP.js} +4 -4
- package/dist/{InventoryBindingSummary-B68FLrzC.js → InventoryBindingSummary-BefkYWIr.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DlCmFAUg.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BpUMK6fj.js} +2 -2
- package/dist/PlanTierBadge.vue_vue_type_script_setup_true_lang-CM3gtYZo.js +19 -0
- package/dist/{PlanUpgradeDialog.vue_vue_type_script_setup_true_lang-E6WVZA-D.js → PlanUpgradeDialog.vue_vue_type_script_setup_true_lang-0F-yOcPC.js} +1 -1
- package/dist/PremiumUpgradePage.vue_vue_type_script_setup_true_lang-DGAxPOEh.js +58 -0
- package/dist/ProductionRunDetailPage-CVx9LS-P.js +2316 -0
- package/dist/{ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang--NWDSxIT.js → ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-4aYz5NwS.js} +1626 -1712
- package/dist/ProductionRunPage-CuXzmWMc.js +953 -0
- package/dist/{PublishView-BvuP_W4l.js → PublishView-Bu8J6ndy.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-CTFNQWED.js → PurchaseOrderPrintPreview-DaslFe8u.js} +2 -2
- package/dist/{ReceiveRequestView-Ca9jGuKW.js → ReceiveRequestView-CKPBpN4x.js} +13 -13
- package/dist/{RecipeView-Vm2c1vGo.js → RecipeView-BeZ9ljtA.js} +15 -15
- package/dist/{SettingsView-49IPE742.js → SettingsView-CWhMdNfn.js} +10 -9
- package/dist/{StockView-CylYMrFJ.js → StockView-C5IhPGxi.js} +21 -21
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DYoom8UC.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-B9Rx_9b7.js} +1 -1
- package/dist/{SupplierView-CCB8gkT1.js → SupplierView-BSGajl9V.js} +13 -13
- package/dist/{SurchargeView-MXCxLWTu.js → SurchargeView-DtAszxTN.js} +7 -7
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-D9LGk7R7.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-CfxroS8u.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-Cp2CDerI.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CTj_jYK1.js} +1 -1
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-B_9i5LzY.js +4900 -0
- package/dist/{TransferTemplateView-DZEYUHOu.js → TransferTemplateView-D6_AfMja.js} +19 -19
- package/dist/{UnitCostHistoryView-TnQwZk3R.js → UnitCostHistoryView-kisQehVE.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-C6o4xrjZ.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-DKoPNZoW.js} +4 -4
- package/dist/{UnitView-CFqdNGjT.js → UnitView-jSLennZW.js} +7 -7
- package/dist/{WarehouseView-rH3loGl_.js → WarehouseView-CUdWJCMq.js} +8 -8
- package/dist/{WastageTemplateView-Cnsi_EJ1.js → WastageTemplateView--B0LSwHa.js} +15 -15
- package/dist/api/netsuite-explorer.d.ts +1 -0
- package/dist/{app-O0ln50NT.js → app-Bb5HLWTu.js} +2041 -2045
- package/dist/app.d.ts +6 -6
- package/dist/app.js +1 -1
- package/dist/{closing-template-BcXKc7kW.js → closing-template-CgDMayoo.js} +1 -1
- package/dist/components/FeatureCapabilityGate.vue.d.ts +2 -0
- package/dist/components/FeatureGateLayout.vue.d.ts +11 -0
- package/dist/components/FeaturePageGate.spec.d.ts +1 -0
- package/dist/components/FeaturePageGate.vue.d.ts +34 -0
- package/dist/components/FmAdminCollapsiblePanel.vue.d.ts +1 -1
- package/dist/components/FmDroppableField.vue.d.ts +1 -1
- package/dist/components/FmInventoryTableToolbar.vue.d.ts +2 -2
- package/dist/components/HrmPermissionGuard.vue.d.ts +1 -1
- package/dist/components/PremiumUpgradePage.vue.d.ts +2 -0
- package/dist/{date2-BVVlNlAO.js → date2-D9gB9BE-.js} +1 -1
- package/dist/{dayjs.min-86T3g7jl.js → dayjs.min-CumM_kH7.js} +1 -1
- package/dist/{decimal-BceSQ9qu.js → decimal-CVF1rRoj.js} +2 -2
- package/dist/{defineDeepModel-CYCLZ-jP.js → defineDeepModel-DE-DsQjm.js} +1 -1
- package/dist/{duplicate-template-BOQW9uDO.js → duplicate-template-CFYtQfQn.js} +1 -1
- package/dist/feature-flags/vue.d.ts +22 -1
- package/dist/{feature-SfaxOOo8.js → feature-kti8bU8q.js} +412 -346
- package/dist/{format-time-from-id-DcZjh4zF.js → format-time-from-id-CWZ5VGvM.js} +1 -1
- package/dist/{format-unit-display-B_Leyj1M.js → format-unit-display-BlxdvskN.js} +12 -12
- package/dist/{id-to-date-CxJMEppi.js → id-to-date-BaH_1Kui.js} +1 -1
- package/dist/{import-export.helper-CTzQihBw.js → import-export.helper-8rKrOB0E.js} +5 -5
- package/dist/{index-D5JOuvFG.js → index-B9p_OEdk.js} +1 -1
- package/dist/{index-DiN65wc9.js → index-BHc3cNyz.js} +3 -3
- package/dist/{index-WnJgGINW.js → index-MEUJonBr.js} +1 -1
- package/dist/layout/SingleColumnLayout.vue.d.ts +1 -1
- package/dist/{lz-string-COM8L2Yg.js → lz-string-IiazGN0W.js} +1 -1
- package/dist/{netsuite-B4PKJ2O4.js → netsuite-BeDxaeKM.js} +2 -2
- package/dist/netsuite-explorer-4IluitzS.js +79 -0
- package/dist/{predefined-templates-jno0IPO6.js → predefined-templates-D4qVID1q.js} +1 -1
- package/dist/{purchase-order-template-CBgiJ239.js → purchase-order-template-GTOntq3C.js} +1 -1
- package/dist/{recalculationUtils-C-dyQAGg.js → recalculationUtils-Dye8x2TO.js} +1 -1
- package/dist/{row-action.enum-D2CmAs2h.js → row-action.enum-CVJbq_-y.js} +1 -1
- package/dist/{rules-CByHkO8L.js → rules-Y3zXVj3i.js} +3 -3
- package/dist/{stock-DrSVVTuZ.js → stock-BIjTQFsR.js} +2 -2
- package/dist/{stock-DbyYZzKm.js → stock-BR8x3nlx.js} +1 -1
- package/dist/stores/feature.d.ts +21 -1
- package/dist/stores/feature.load-state.spec.d.ts +1 -0
- package/dist/stores/warehouse.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/{supplier-DcqbvDxz.js → supplier-CbdCjiIB.js} +2 -2
- package/dist/{surcharge-BqcD_sf2.js → surcharge-BoXLK6o0.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{uom-rules-2cAqJPJa.js → uom-rules-C5h1AoPJ.js} +1 -1
- package/dist/{use-ingredient-select-dialog-DwQn7p6y.js → use-ingredient-select-dialog-D196q_qk.js} +2 -2
- package/dist/{use-inventory-binding-dialog-Id5sz9Xu.js → use-inventory-binding-dialog-B4IhhCjM.js} +2 -2
- package/dist/{use-template-enabled-locations-8RnaHV8u.js → use-template-enabled-locations-CDKP3kTS.js} +2 -2
- package/dist/{use-transfer-locations-JvPP8F4f.js → use-transfer-locations-DE4vxSDp.js} +2 -2
- package/dist/{useHrmPermission-OGla5jyF.js → useHrmPermission-D1dkveCP.js} +1 -1
- package/dist/{useNavigationMenu-BVJlsjVn.js → useNavigationMenu-N5_7da8m.js} +39 -39
- package/dist/{useSseClient-BaM0oGDR.js → useSseClient-CKpNaz5g.js} +1 -1
- package/dist/views/changelog/composables/use-snapshot-diff.d.ts +2 -2
- package/dist/views/integration/IntegrationPlatformView.vue.d.ts +2 -0
- package/dist/views/production-run/ProductionRunDetailPage.spec.d.ts +1 -0
- package/dist/views/production-run/ProductionRunDetailPage.vue.d.ts +15 -0
- package/dist/views/production-run/ProductionRunPage.vue.d.ts +2 -0
- package/dist/views/production-run/features/detail/use-production-run-detail.d.ts +11 -1
- package/dist/views/production-run/shared/helpers/production-run-navigation.d.ts +0 -1
- package/dist/views/production-run/shared/ui/ProductionRunInfoBadge.vue.d.ts +1 -1
- package/dist/views/production-run/shared/ui/ProductionRunInfoText.vue.d.ts +1 -1
- package/dist/views/production-run/shared/ui/ProductionRunScrollHint.vue.d.ts +2 -2
- package/dist/views/production-run/shared/ui/ProductionRunTextarea.vue.d.ts +3 -3
- package/dist/views/receive-request/composables/use-receive-request-form.spec.d.ts +1 -0
- package/dist/views/receive-request-bulk/BulkReceiveRequestPage.vue.d.ts +2 -0
- package/dist/views/receive-request-bulk/components/CreateTransferWizard.spec.d.ts +1 -0
- package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.d.ts +6 -6
- package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.readiness.spec.d.ts +1 -0
- package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +2 -2
- package/dist/{PlanTierBadge.vue_vue_type_script_setup_true_lang-DwUCuX11.js → vue-CxSKQOrZ.js} +84 -68
- package/dist/{vue-i18n-Cf9XKwOr.js → vue-i18n-CTR_IUvd.js} +258 -258
- package/dist/{xlsx.util-EZTW-mf4.js → xlsx.util-J9pxGRQD.js} +2 -2
- package/package.json +4 -4
- package/dist/BulkReceiveRequestView-CFaMPFfO.js +0 -2657
- package/dist/FeatureCapabilityGate-CFUPteG8.js +0 -74
- package/dist/ProductionRunDetailView-DPcovCY1.js +0 -2312
- package/dist/ProductionRunView-DJXZ_hmi.js +0 -931
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-BIc4mZJI.js +0 -4847
package/dist/app.d.ts
CHANGED
|
@@ -10277,6 +10277,9 @@ export declare const i18nMessages: {
|
|
|
10277
10277
|
export { routers } from './router/shared';
|
|
10278
10278
|
export declare const FmApp: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
10279
10279
|
export declare const InventoryBindingForm: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
10280
|
+
disabled: {
|
|
10281
|
+
type: import("vue").PropType<boolean>;
|
|
10282
|
+
};
|
|
10280
10283
|
id: {
|
|
10281
10284
|
type: import("vue").PropType<string>;
|
|
10282
10285
|
};
|
|
@@ -10310,9 +10313,6 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
|
|
|
10310
10313
|
readonly: {
|
|
10311
10314
|
type: import("vue").PropType<boolean>;
|
|
10312
10315
|
};
|
|
10313
|
-
disabled: {
|
|
10314
|
-
type: import("vue").PropType<boolean>;
|
|
10315
|
-
};
|
|
10316
10316
|
modelValue: {
|
|
10317
10317
|
type: import("vue").PropType<{
|
|
10318
10318
|
measurement?: {
|
|
@@ -10376,6 +10376,9 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
|
|
|
10376
10376
|
}[]) => void;
|
|
10377
10377
|
"click:pick-inventory-bindings": (type: "RECIPE" | "SKU" | "SKU_GROUP") => void;
|
|
10378
10378
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
10379
|
+
disabled: {
|
|
10380
|
+
type: import("vue").PropType<boolean>;
|
|
10381
|
+
};
|
|
10379
10382
|
id: {
|
|
10380
10383
|
type: import("vue").PropType<string>;
|
|
10381
10384
|
};
|
|
@@ -10409,9 +10412,6 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
|
|
|
10409
10412
|
readonly: {
|
|
10410
10413
|
type: import("vue").PropType<boolean>;
|
|
10411
10414
|
};
|
|
10412
|
-
disabled: {
|
|
10413
|
-
type: import("vue").PropType<boolean>;
|
|
10414
|
-
};
|
|
10415
10415
|
modelValue: {
|
|
10416
10416
|
type: import("vue").PropType<{
|
|
10417
10417
|
measurement?: {
|
package/dist/app.js
CHANGED
|
@@ -2,11 +2,13 @@ import type { FeatureResult } from '@/feature-flags/core';
|
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
featureKey: string;
|
|
4
4
|
compact?: boolean | undefined;
|
|
5
|
+
showLockedContent?: boolean | undefined;
|
|
5
6
|
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
7
|
locked: (result: FeatureResult) => void;
|
|
7
8
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
8
9
|
featureKey: string;
|
|
9
10
|
compact?: boolean | undefined;
|
|
11
|
+
showLockedContent?: boolean | undefined;
|
|
10
12
|
}>>> & Readonly<{
|
|
11
13
|
onLocked?: ((result: FeatureResult) => any) | undefined;
|
|
12
14
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
2
|
+
title?(_: {}): any;
|
|
3
|
+
default?(_: {}): any;
|
|
4
|
+
actions?(_: {}): any;
|
|
5
|
+
}>;
|
|
6
|
+
export default _default;
|
|
7
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
8
|
+
new (): {
|
|
9
|
+
$slots: S;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
featureKey: string;
|
|
3
|
+
/**
|
|
4
|
+
* For pages that switch the current location themselves (e.g. the bulk page
|
|
5
|
+
* sets it per PO or wizard step): once entered, the page stays mounted while
|
|
6
|
+
* the next location's flags load, and leaves only on a confirmed off or error.
|
|
7
|
+
*/
|
|
8
|
+
keepAcrossLocations?: boolean | undefined;
|
|
9
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
10
|
+
featureKey: string;
|
|
11
|
+
/**
|
|
12
|
+
* For pages that switch the current location themselves (e.g. the bulk page
|
|
13
|
+
* sets it per PO or wizard step): once entered, the page stays mounted while
|
|
14
|
+
* the next location's flags load, and leaves only on a confirmed off or error.
|
|
15
|
+
*/
|
|
16
|
+
keepAcrossLocations?: boolean | undefined;
|
|
17
|
+
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
18
|
+
default?(_: {}): any;
|
|
19
|
+
}>;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
22
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
23
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
24
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
25
|
+
} : {
|
|
26
|
+
type: import('vue').PropType<T[K]>;
|
|
27
|
+
required: true;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
31
|
+
new (): {
|
|
32
|
+
$slots: S;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
@@ -19,8 +19,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
19
19
|
contentClass: undefined;
|
|
20
20
|
}>>> & Readonly<{}>, {
|
|
21
21
|
title: string;
|
|
22
|
-
contentClass: string;
|
|
23
22
|
class: string;
|
|
23
|
+
contentClass: string;
|
|
24
24
|
selectable: boolean;
|
|
25
25
|
open: boolean;
|
|
26
26
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
@@ -45,8 +45,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
45
45
|
reason: string[];
|
|
46
46
|
}[]) => any) | undefined;
|
|
47
47
|
}>, {
|
|
48
|
-
disabled: boolean;
|
|
49
48
|
label: string;
|
|
49
|
+
disabled: boolean;
|
|
50
50
|
accept: string;
|
|
51
51
|
maxFileSize: number;
|
|
52
52
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<FmDroppableFieldSlots> & FmDroppableFieldSlots>;
|
|
@@ -61,7 +61,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
61
61
|
type: import("vue").PropType<{
|
|
62
62
|
type: "string" | "number" | "date";
|
|
63
63
|
key: string;
|
|
64
|
-
entity: "
|
|
64
|
+
entity: "item" | "restaurant";
|
|
65
65
|
values?: string[] | undefined;
|
|
66
66
|
options?: {
|
|
67
67
|
value: string;
|
|
@@ -118,7 +118,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
118
118
|
type: import("vue").PropType<{
|
|
119
119
|
type: "string" | "number" | "date";
|
|
120
120
|
key: string;
|
|
121
|
-
entity: "
|
|
121
|
+
entity: "item" | "restaurant";
|
|
122
122
|
values?: string[] | undefined;
|
|
123
123
|
options?: {
|
|
124
124
|
value: string;
|
|
@@ -22,8 +22,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
22
22
|
permissions: undefined;
|
|
23
23
|
mode: string;
|
|
24
24
|
}>>> & Readonly<{}>, {
|
|
25
|
-
permissions: CaslPermission[];
|
|
26
25
|
mode: "all" | "any";
|
|
26
|
+
permissions: CaslPermission[];
|
|
27
27
|
permission: CaslPermission;
|
|
28
28
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
29
29
|
default?(_: {}): any;
|
|
@@ -0,0 +1,2 @@
|
|
|
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,4 +1,4 @@
|
|
|
1
|
-
import { type ComputedRef, type MaybeRef } from 'vue';
|
|
1
|
+
import { type ComputedRef, type MaybeRef, type MaybeRefOrGetter } from 'vue';
|
|
2
2
|
import { type FeatureDefinition, type FeatureEvaluationContext, type FeatureResult, type ReleaseStage } from './core';
|
|
3
3
|
export interface UseFeatureResult {
|
|
4
4
|
enabled: ComputedRef<boolean>;
|
|
@@ -12,5 +12,26 @@ 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
|
+
export type FeaturePageGateState = 'loading' | 'enabled' | 'unavailable' | 'upgrade' | 'error';
|
|
16
|
+
/**
|
|
17
|
+
* Page-level capability state for a catalogue feature at the current location.
|
|
18
|
+
*
|
|
19
|
+
* `loading` until the flags loaded for THIS location are current, so a stale
|
|
20
|
+
* result from the previous location never enables a page. A failed flag load
|
|
21
|
+
* is `error` rather than "off". Premium features that are off prompt an
|
|
22
|
+
* upgrade; every other disabled feature (beta, off) is `unavailable`.
|
|
23
|
+
*/
|
|
24
|
+
export declare function useFeaturePageGate(featureKey: MaybeRefOrGetter<string>): {
|
|
25
|
+
state: ComputedRef<FeaturePageGateState>;
|
|
26
|
+
feature: ComputedRef<import("./portal-feature-catalog").PortalFeatureCatalogueEntry | undefined>;
|
|
27
|
+
dbName: ComputedRef<string | null>;
|
|
28
|
+
result: ComputedRef<FeatureResult>;
|
|
29
|
+
retry: () => Promise<void>;
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Evaluates a catalogue feature with the same rules as `useFeature`, for
|
|
33
|
+
* non-component callers such as the navigation menu. Unknown keys are disabled.
|
|
34
|
+
*/
|
|
35
|
+
export declare function evaluatePortalFeature(featureKey: string): FeatureResult;
|
|
15
36
|
/** A premium plan switches the capability flags on, so the flag alone decides access. */
|
|
16
37
|
export declare function isPortalFeatureFlagOn(featureKey: string | undefined): boolean;
|