q2-tecton-platform 1.66.2 → 1.67.0
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/bundle-report.json +1 -1
- package/dist/esm/actions/action-required/actionRequired-setup.d.ts +2 -2
- package/dist/esm/actions/action-required/actionRequired-setup.d.ts.map +1 -1
- package/dist/esm/actions/authorize-transaction-with-mfa/authorizeTransactionWithMfa-setup.d.ts +3 -3
- package/dist/esm/actions/authorize-transaction-with-mfa/authorizeTransactionWithMfa-setup.d.ts.map +1 -1
- package/dist/esm/actions/clear-cache/clearCache-setup.d.ts +2 -2
- package/dist/esm/actions/clear-cache/clearCache-setup.d.ts.map +1 -1
- package/dist/esm/actions/clear-loading-modal/clearLoadingModal-setup.d.ts +2 -2
- package/dist/esm/actions/clear-loading-modal/clearLoadingModal-setup.d.ts.map +1 -1
- package/dist/esm/actions/clear-params/clearParams-setup.d.ts +2 -2
- package/dist/esm/actions/clear-params/clearParams-setup.d.ts.map +1 -1
- package/dist/esm/actions/close-overpanel/closeOverpanel-setup.d.ts +2 -2
- package/dist/esm/actions/close-overpanel/closeOverpanel-setup.d.ts.map +1 -1
- package/dist/esm/actions/index.d.ts +2 -2
- package/dist/esm/actions/index.d.ts.map +1 -1
- package/dist/esm/actions/keep-alive/keepAlive-setup.d.ts +2 -2
- package/dist/esm/actions/keep-alive/keepAlive-setup.d.ts.map +1 -1
- package/dist/esm/actions/log-to-server/logToServer-setup.d.ts +2 -2
- package/dist/esm/actions/log-to-server/logToServer-setup.d.ts.map +1 -1
- package/dist/esm/actions/manage-changes/manageChanges-setup.d.ts +2 -2
- package/dist/esm/actions/manage-changes/manageChanges-setup.d.ts.map +1 -1
- package/dist/esm/actions/navigate-to/navigateTo-setup.d.ts +2 -2
- package/dist/esm/actions/navigate-to/navigateTo-setup.d.ts.map +1 -1
- package/dist/esm/actions/open-url/openURL-setup.d.ts +2 -2
- package/dist/esm/actions/open-url/openURL-setup.d.ts.map +1 -1
- package/dist/esm/actions/refetch-accounts-notification/refetchAccountsNotification-setup.d.ts +2 -2
- package/dist/esm/actions/refetch-accounts-notification/refetchAccountsNotification-setup.d.ts.map +1 -1
- package/dist/esm/actions/remove-action-required/removeActionRequired-setup.d.ts +2 -2
- package/dist/esm/actions/remove-action-required/removeActionRequired-setup.d.ts.map +1 -1
- package/dist/esm/actions/scroll-to/scrollTo-setup.d.ts +2 -2
- package/dist/esm/actions/scroll-to/scrollTo-setup.d.ts.map +1 -1
- package/dist/esm/actions/send-alert/sendAlert-setup.d.ts +2 -2
- package/dist/esm/actions/send-alert/sendAlert-setup.d.ts.map +1 -1
- package/dist/esm/actions/set-params/setParams-setup.d.ts +2 -2
- package/dist/esm/actions/set-params/setParams-setup.d.ts.map +1 -1
- package/dist/esm/actions/set-title/setTitle-setup.d.ts +2 -2
- package/dist/esm/actions/set-title/setTitle-setup.d.ts.map +1 -1
- package/dist/esm/actions/show-action-sheet/showActionSheet-setup.d.ts +2 -2
- package/dist/esm/actions/show-action-sheet/showActionSheet-setup.d.ts.map +1 -1
- package/dist/esm/actions/show-loading-modal/showLoadingModal-setup.d.ts +2 -2
- package/dist/esm/actions/show-loading-modal/showLoadingModal-setup.d.ts.map +1 -1
- package/dist/esm/actions/show-modal/showModal-setup.d.ts +2 -2
- package/dist/esm/actions/show-modal/showModal-setup.d.ts.map +1 -1
- package/dist/esm/actions/show-overpanel/showOverpanel-setup.d.ts +2 -2
- package/dist/esm/actions/show-overpanel/showOverpanel-setup.d.ts.map +1 -1
- package/dist/esm/actions/verify-mfa/verifyMFA-setup.d.ts +2 -2
- package/dist/esm/actions/verify-mfa/verifyMFA-setup.d.ts.map +1 -1
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +1 -0
- package/dist/esm/init/init.d.ts +3 -3
- package/dist/esm/init/init.d.ts.map +1 -1
- package/dist/esm/outlets/index.d.ts +2 -2
- package/dist/esm/outlets/index.d.ts.map +1 -1
- package/dist/esm/outlets/platform-outlet/platformOutlet.d.ts +5 -5
- package/dist/esm/outlets/platform-outlet/platformOutlet.d.ts.map +1 -1
- package/dist/esm/outlets/platform-outlet/platformOutlet.js +2 -1
- package/dist/esm/setup/authentication/get-auth-payload/getAuthPayload.d.ts +2 -2
- package/dist/esm/setup/authentication/get-auth-payload/getAuthPayload.d.ts.map +1 -1
- package/dist/esm/setup/capabilities/dynamic/dynamicCapabilities.d.ts +2 -2
- package/dist/esm/setup/capabilities/dynamic/dynamicCapabilities.d.ts.map +1 -1
- package/dist/esm/setup/capabilities/mobile-sdk/mobileSDKCapabilities.d.ts +2 -2
- package/dist/esm/setup/capabilities/mobile-sdk/mobileSDKCapabilities.d.ts.map +1 -1
- package/dist/esm/setup/index.d.ts +2 -2
- package/dist/esm/setup/index.d.ts.map +1 -1
- package/dist/esm/setup/overrides/cdn-override/cdnOverride.d.ts +2 -2
- package/dist/esm/setup/overrides/cdn-override/cdnOverride.d.ts.map +1 -1
- package/dist/esm/setup/params/get-initial-params/getInitialParams.d.ts +2 -2
- package/dist/esm/setup/params/get-initial-params/getInitialParams.d.ts.map +1 -1
- package/dist/esm/setup/resolvers/asset-path-resolvers/assetPathResolvers.d.ts +2 -2
- package/dist/esm/setup/resolvers/asset-path-resolvers/assetPathResolvers.d.ts.map +1 -1
- package/dist/esm/setup/resolvers/context-resolver/contextResolver.d.ts +2 -2
- package/dist/esm/setup/resolvers/context-resolver/contextResolver.d.ts.map +1 -1
- package/dist/esm/setup/resolvers/resolve-feature/resolveFeature.d.ts +11 -11
- package/dist/esm/setup/resolvers/resolve-feature/resolveFeature.d.ts.map +1 -1
- package/dist/esm/setup/resolvers/resolve-menu/resolveMenu.d.ts +4 -4
- package/dist/esm/setup/resolvers/resolve-menu/resolveMenu.d.ts.map +1 -1
- package/dist/esm/setup/resolvers/resolve-tabs/resolveTabs.d.ts +4 -4
- package/dist/esm/setup/resolvers/resolve-tabs/resolveTabs.d.ts.map +1 -1
- package/dist/esm/setup/styles/styles.d.ts +2 -2
- package/dist/esm/setup/styles/styles.d.ts.map +1 -1
- package/dist/esm/sources/cache-cleared/cacheCleared-setup.d.ts +2 -2
- package/dist/esm/sources/cache-cleared/cacheCleared-setup.d.ts.map +1 -1
- package/dist/esm/sources/can-user/canUser-setup.d.ts +2 -2
- package/dist/esm/sources/can-user/canUser-setup.d.ts.map +1 -1
- package/dist/esm/sources/get-auth-token/getAuthToken-setup.d.ts +3 -3
- package/dist/esm/sources/get-auth-token/getAuthToken-setup.d.ts.map +1 -1
- package/dist/esm/sources/get-current-language/getCurrentLanguage-setup.d.ts +2 -2
- package/dist/esm/sources/get-current-language/getCurrentLanguage-setup.d.ts.map +1 -1
- package/dist/esm/sources/get-feature-config/getFeatureConfig-setup.d.ts +2 -2
- package/dist/esm/sources/get-feature-config/getFeatureConfig-setup.d.ts.map +1 -1
- package/dist/esm/sources/get-global-scripts/getGlobalScripts-setup.d.ts +3 -3
- package/dist/esm/sources/get-global-scripts/getGlobalScripts-setup.d.ts.map +1 -1
- package/dist/esm/sources/get-pendo-info/getPendoInfo-setup.d.ts +2 -2
- package/dist/esm/sources/get-pendo-info/getPendoInfo-setup.d.ts.map +1 -1
- package/dist/esm/sources/get-platform-dimensions/getPlatformDimensions-setup.d.ts +3 -3
- package/dist/esm/sources/get-platform-dimensions/getPlatformDimensions-setup.d.ts.map +1 -1
- package/dist/esm/sources/get-platform-info/getPlatformInfo-setup.d.ts +3 -3
- package/dist/esm/sources/get-platform-info/getPlatformInfo-setup.d.ts.map +1 -1
- package/dist/esm/sources/get-tecton-cache-object/getTectonCacheObject-setup.d.ts +3 -3
- package/dist/esm/sources/get-tecton-cache-object/getTectonCacheObject-setup.d.ts.map +1 -1
- package/dist/esm/sources/get-version-info/getVersionInfo-setup.d.ts +2 -2
- package/dist/esm/sources/get-version-info/getVersionInfo-setup.d.ts.map +1 -1
- package/dist/esm/sources/index.d.ts +2 -2
- package/dist/esm/sources/index.d.ts.map +1 -1
- package/dist/esm/sources/is-navigable/isNavigable-setup.d.ts +2 -2
- package/dist/esm/sources/is-navigable/isNavigable-setup.d.ts.map +1 -1
- package/dist/esm/sources/language-changed/languageChanged-setup.d.ts +2 -2
- package/dist/esm/sources/language-changed/languageChanged-setup.d.ts.map +1 -1
- package/dist/esm/sources/module-params/moduleParams-setup.d.ts +2 -2
- package/dist/esm/sources/module-params/moduleParams-setup.d.ts.map +1 -1
- package/dist/esm/sources/platform-css-properties-changed/platformCssPropertiesChanged-setup.d.ts +2 -2
- package/dist/esm/sources/platform-css-properties-changed/platformCssPropertiesChanged-setup.d.ts.map +1 -1
- package/dist/esm/sources/platform-event-notification/platformEventNotification-setup.d.ts +2 -2
- package/dist/esm/sources/platform-event-notification/platformEventNotification-setup.d.ts.map +1 -1
- package/dist/esm/sources/platform-scroll-changed/platformScrollChanged-setup.d.ts +2 -2
- package/dist/esm/sources/platform-scroll-changed/platformScrollChanged-setup.d.ts.map +1 -1
- package/dist/esm/sources/prompt-for-mfa/promptForMFA-setup.d.ts +3 -3
- package/dist/esm/sources/prompt-for-mfa/promptForMFA-setup.d.ts.map +1 -1
- package/dist/esm/sources/refetch-required/refetchRequired-setup.d.ts +2 -2
- package/dist/esm/sources/refetch-required/refetchRequired-setup.d.ts.map +1 -1
- package/dist/esm/sources/request-extension-data/requestExtensionData-setup.d.ts +2 -2
- package/dist/esm/sources/request-extension-data/requestExtensionData-setup.d.ts.map +1 -1
- package/dist/esm/sources/request-platform-data/requestPlatformData-setup.d.ts +6 -6
- package/dist/esm/sources/request-platform-data/requestPlatformData-setup.d.ts.map +1 -1
- package/dist/esm/sources/set-tecton-cache-object/setTectonCacheObject-setup.d.ts +3 -3
- package/dist/esm/sources/set-tecton-cache-object/setTectonCacheObject-setup.d.ts.map +1 -1
- package/dist/esm/sources/take-picture/takePicture-setup.d.ts +3 -3
- package/dist/esm/sources/take-picture/takePicture-setup.d.ts.map +1 -1
- package/dist/esm/types/actions.d.ts +1 -1
- package/dist/esm/types/actions.d.ts.map +1 -1
- package/dist/esm/types/config.d.ts +32 -32
- package/dist/esm/types/config.d.ts.map +1 -1
- package/dist/esm/types/index.d.ts +7 -11
- package/dist/esm/types/index.d.ts.map +1 -1
- package/dist/esm/types/index.js +9 -1
- package/dist/esm/types/resolvers.d.ts +15 -15
- package/dist/esm/types/resolvers.d.ts.map +1 -1
- package/dist/esm/types/setup.d.ts +28 -28
- package/dist/esm/types/setup.d.ts.map +1 -1
- package/dist/esm/types/sources.d.ts +2 -2
- package/dist/esm/types/sources.d.ts.map +1 -1
- package/dist/esm/utility/dimensions-helpers/dimensionsHelpers.d.ts +4 -4
- package/dist/esm/utility/dimensions-helpers/dimensionsHelpers.d.ts.map +1 -1
- package/dist/esm/utility/message-bus/messageBus.d.ts +2 -2
- package/dist/esm/utility/message-bus/messageBus.d.ts.map +1 -1
- package/dist/umd/q2-tecton-platform.js +1 -1
- package/package.json +46 -50
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { BehaviorSubject } from 'rxjs';
|
|
2
|
-
import type {
|
|
2
|
+
import type { TectonOutletAdaptorResponse } from 'q2-tecton-common/lib/types/outlet';
|
|
3
3
|
import type { TectonRuntimeConfig, ModuleFeatureManifest, FeatureManifest } from '../../types/config';
|
|
4
|
-
import type {
|
|
5
|
-
import type {
|
|
4
|
+
import type { TectonMessageBus } from 'q2-tecton-common/lib/types/message-bus';
|
|
5
|
+
import type { TectonPlatformControls, ParamsChanged } from '../../types/setup';
|
|
6
6
|
import type { HierarchyNode } from '../../types';
|
|
7
7
|
import type { PlatformOutletElement } from 'q2-tecton-common/lib/types/outlet';
|
|
8
8
|
/**
|
|
@@ -29,7 +29,7 @@ export declare function shouldDisplayOutlet(module: ModuleFeatureManifest, featu
|
|
|
29
29
|
* @param platformControlBus - Platform control bus with URL building handlers
|
|
30
30
|
* @returns The fully constructed iframe source URL with all parameters
|
|
31
31
|
*/
|
|
32
|
-
export declare function buildIframeSrc(urlFromConfig: string, moduleId: string, memorizedProps: Record<string, any>, platformOutletElement: PlatformOutletElement, params:
|
|
32
|
+
export declare function buildIframeSrc(urlFromConfig: string, moduleId: string, memorizedProps: Record<string, any>, platformOutletElement: PlatformOutletElement, params: ParamsChanged, formPostAuth: boolean, platformControlBus: TectonPlatformControls): string;
|
|
33
33
|
/**
|
|
34
34
|
* Creates a loading wrapper element with loaders based on module configuration.
|
|
35
35
|
* Configures loader type, styling, and minimum height for the loading state.
|
|
@@ -56,5 +56,5 @@ export declare const tectonPlatformOutletObservedAttrs: ({
|
|
|
56
56
|
* @param contextHierarchy - Hierarchy of context nodes for validation
|
|
57
57
|
* @returns Adaptor function that creates outlet instances with DOM, settled state, and teardown observables
|
|
58
58
|
*/
|
|
59
|
-
export declare function loadTectonPlatformOutlet(tectonConfig$: BehaviorSubject<TectonRuntimeConfig>, params$: BehaviorSubject<
|
|
59
|
+
export declare function loadTectonPlatformOutlet(tectonConfig$: BehaviorSubject<TectonRuntimeConfig>, params$: BehaviorSubject<ParamsChanged>, platformControlBus: TectonPlatformControls, contextHierarchy: HierarchyNode): (messageBus: TectonMessageBus, outletPath: string, platformOutletElement: PlatformOutletElement, memorizedProps$: BehaviorSubject<Record<string, any>>) => TectonOutletAdaptorResponse;
|
|
60
60
|
//# sourceMappingURL=platformOutlet.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platformOutlet.d.ts","sourceRoot":"","sources":["../../../../src/outlets/platform-outlet/platformOutlet.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,eAAe,EAA4E,MAAM,MAAM,CAAC;AAMjH,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"platformOutlet.d.ts","sourceRoot":"","sources":["../../../../src/outlets/platform-outlet/platformOutlet.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,eAAe,EAA4E,MAAM,MAAM,CAAC;AAMjH,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AACrF,OAAO,KAAK,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAClG,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAC/E,OAAO,KAAK,EAAE,sBAAsB,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC3E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC7C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAE/E;;;;;;;;;GASG;AACH,wBAAgB,mBAAmB,CAC/B,MAAM,EAAE,qBAAqB,EAC7B,OAAO,EAAE,eAAe,EACxB,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACnC,gBAAgB,EAAE,aAAa,GAChC,OAAO,CAwBT;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,cAAc,CAC1B,aAAa,EAAE,MAAM,EACrB,QAAQ,EAAE,MAAM,EAChB,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACnC,qBAAqB,EAAE,qBAAqB,EAC5C,MAAM,EAAE,aAAa,EACrB,YAAY,EAAE,OAAO,EACrB,kBAAkB,EAAE,sBAAsB,GAC3C,MAAM,CAsBR;AAED;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,qBAAqB,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,WAAW,CAiCnG;AAED,eAAO,MAAM,iCAAiC;;;;;;IAS7C,CAAC;AAEF;;;;;;;;;GASG;AACH,wBAAgB,wBAAwB,CACpC,aAAa,EAAE,eAAe,CAAC,mBAAmB,CAAC,EACnD,OAAO,EAAE,eAAe,CAAC,aAAa,CAAC,EACvC,kBAAkB,EAAE,sBAAsB,EAC1C,gBAAgB,EAAE,aAAa,IAY3B,YAAY,gBAAgB,EAC5B,YAAY,MAAM,EAClB,uBAAuB,qBAAqB,EAC5C,iBAAiB,eAAe,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,KACtD,2BAA2B,CAyLjC"}
|
|
@@ -52,7 +52,7 @@ export function buildIframeSrc(urlFromConfig, moduleId, memorizedProps, platform
|
|
|
52
52
|
const urlBeforeParams = platformControlBus.buildIframeURL
|
|
53
53
|
? platformControlBus.buildIframeURL(urlFromConfig)
|
|
54
54
|
: urlFromConfig;
|
|
55
|
-
let iframeSrc = addParamToURL(urlBeforeParams, Object.assign(Object.assign({ 'tct-id': moduleId, 'tct-ctxid': memorizedProps.contextValue || '', 'tct-ctxname': memorizedProps.contextId || '' }, getModuleParams(moduleId, params.currentParams)), { 'tct-maxHeight': platformOutletElement.style.maxHeight, 'tct-maxWidth': platformOutletElement.style.maxWidth, 'tct-baseClass': getBaseClass(platformOutletElement), 'tct-outlet-name': platformOutletElement.name || '' }));
|
|
55
|
+
let iframeSrc = addParamToURL(urlBeforeParams, Object.assign(Object.assign({ 'tct-id': moduleId, 'tct-ctxid': memorizedProps.contextValue || '', 'tct-ctxname': memorizedProps.contextId || '', 'tct-outlet-selector': memorizedProps.outletSelector || '' }, getModuleParams(moduleId, params.currentParams)), { 'tct-maxHeight': platformOutletElement.style.maxHeight, 'tct-maxWidth': platformOutletElement.style.maxWidth, 'tct-baseClass': getBaseClass(platformOutletElement), 'tct-outlet-name': platformOutletElement.name || '' }));
|
|
56
56
|
if (isBeta(platformOutletElement)) {
|
|
57
57
|
iframeSrc = addParamToURL(iframeSrc, { 'tct-beta': 'true' });
|
|
58
58
|
}
|
|
@@ -103,6 +103,7 @@ export const tectonPlatformOutletObservedAttrs = [
|
|
|
103
103
|
{ name: 'context', reflectAs: String },
|
|
104
104
|
{ name: 'contextId', reflectAs: String },
|
|
105
105
|
{ name: 'contextValue', reflectAs: String },
|
|
106
|
+
{ name: 'outletSelector', reflectAs: String },
|
|
106
107
|
{ name: 'resolvedType', reflectAs: String },
|
|
107
108
|
{ name: 'routeName' },
|
|
108
109
|
];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import MessageBus from '../../../utility/message-bus/messageBus';
|
|
2
|
-
import type {
|
|
2
|
+
import type { TectonPlatformControls } from '../../../types/setup';
|
|
3
3
|
/**
|
|
4
4
|
* Sets up the `getAuthPayload` message handler for retrieving authentication payloads.
|
|
5
5
|
* Features can request auth payloads for form POST authentication.
|
|
@@ -10,5 +10,5 @@ import type { ITectonPlatformControls } from '../../../types/setup';
|
|
|
10
10
|
*
|
|
11
11
|
* @internal
|
|
12
12
|
*/
|
|
13
|
-
export default function setupGetAuthPayload(messageBus: MessageBus, platformControlBus:
|
|
13
|
+
export default function setupGetAuthPayload(messageBus: MessageBus, platformControlBus: TectonPlatformControls, teardowns: (() => void)[]): void;
|
|
14
14
|
//# sourceMappingURL=getAuthPayload.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAuthPayload.d.ts","sourceRoot":"","sources":["../../../../../src/setup/authentication/get-auth-payload/getAuthPayload.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,kCAAkC,CAAC;AAE1D,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"getAuthPayload.d.ts","sourceRoot":"","sources":["../../../../../src/setup/authentication/get-auth-payload/getAuthPayload.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,kCAAkC,CAAC;AAE1D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAE5D;;;;;;;;;GASG;AACH,MAAM,CAAC,OAAO,UAAU,mBAAmB,CACvC,UAAU,EAAE,UAAU,EACtB,kBAAkB,EAAE,sBAAsB,EAC1C,SAAS,EAAE,CAAC,MAAM,IAAI,CAAC,EAAE,GAC1B,IAAI,CAMN"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import MessageBus from '../../../utility/message-bus/messageBus';
|
|
2
|
-
import type {
|
|
2
|
+
import type { TectonPlatformControls } from '../../../types/setup';
|
|
3
3
|
/**
|
|
4
4
|
* Sets up dynamic platform capabilities defined by the platform at runtime.
|
|
5
5
|
* Enables `executeDynamicPlatformAPI` for calling platform-specific functions.
|
|
@@ -11,5 +11,5 @@ import type { ITectonPlatformControls } from '../../../types/setup';
|
|
|
11
11
|
*
|
|
12
12
|
* @internal
|
|
13
13
|
*/
|
|
14
|
-
export default function setupDynamicCapabilities(messageBus: MessageBus, platformControlBus:
|
|
14
|
+
export default function setupDynamicCapabilities(messageBus: MessageBus, platformControlBus: TectonPlatformControls, capabilities: Set<string>, teardowns: (() => void)[]): void;
|
|
15
15
|
//# sourceMappingURL=dynamicCapabilities.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dynamicCapabilities.d.ts","sourceRoot":"","sources":["../../../../../src/setup/capabilities/dynamic/dynamicCapabilities.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,kCAAkC,CAAC;AAE1D,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"dynamicCapabilities.d.ts","sourceRoot":"","sources":["../../../../../src/setup/capabilities/dynamic/dynamicCapabilities.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,kCAAkC,CAAC;AAE1D,OAAO,KAAK,EAAE,sBAAsB,EAAgB,MAAM,eAAe,CAAC;AAE1E;;;;;;;;;;GAUG;AACH,MAAM,CAAC,OAAO,UAAU,wBAAwB,CAC5C,UAAU,EAAE,UAAU,EACtB,kBAAkB,EAAE,sBAAsB,EAC1C,YAAY,EAAE,GAAG,CAAC,MAAM,CAAC,EACzB,SAAS,EAAE,CAAC,MAAM,IAAI,CAAC,EAAE,QAe5B"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import MessageBus from '../../../utility/message-bus/messageBus';
|
|
2
|
-
import type {
|
|
2
|
+
import type { TectonPlatformControls } from '../../../types/setup';
|
|
3
3
|
/**
|
|
4
4
|
* Sets up the `getMobileSDKCapabilities` capability for querying mobile SDK features.
|
|
5
5
|
* Enables features to check which mobile SDK capabilities are available.
|
|
@@ -11,5 +11,5 @@ import type { ITectonPlatformControls } from '../../../types/setup';
|
|
|
11
11
|
*
|
|
12
12
|
* @internal
|
|
13
13
|
*/
|
|
14
|
-
export default function setupMobileSDKCapabilities(messageBus: MessageBus, platformControlBus:
|
|
14
|
+
export default function setupMobileSDKCapabilities(messageBus: MessageBus, platformControlBus: TectonPlatformControls, capabilities: Set<string>, teardowns: (() => void)[]): void;
|
|
15
15
|
//# sourceMappingURL=mobileSDKCapabilities.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mobileSDKCapabilities.d.ts","sourceRoot":"","sources":["../../../../../src/setup/capabilities/mobile-sdk/mobileSDKCapabilities.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,kCAAkC,CAAC;AAE1D,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"mobileSDKCapabilities.d.ts","sourceRoot":"","sources":["../../../../../src/setup/capabilities/mobile-sdk/mobileSDKCapabilities.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,kCAAkC,CAAC;AAE1D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAE5D;;;;;;;;;;GAUG;AACH,MAAM,CAAC,OAAO,UAAU,0BAA0B,CAC9C,UAAU,EAAE,UAAU,EACtB,kBAAkB,EAAE,sBAAsB,EAC1C,YAAY,EAAE,GAAG,CAAC,MAAM,CAAC,EACzB,SAAS,EAAE,CAAC,MAAM,IAAI,CAAC,EAAE,GAC1B,IAAI,CAUN"}
|
|
@@ -2,7 +2,7 @@ import { BehaviorSubject } from 'rxjs';
|
|
|
2
2
|
import MessageBus from '../utility/message-bus/messageBus';
|
|
3
3
|
import type { TectonRuntimeConfig } from '../types/config';
|
|
4
4
|
import type { HierarchyNode } from '../types';
|
|
5
|
-
import type {
|
|
5
|
+
import type { TectonPlatformControls, ParamsChanged } from '../types/setup';
|
|
6
6
|
/**
|
|
7
7
|
* Sets up internal platform services including mobile SDK capabilities, path resolvers,
|
|
8
8
|
* feature resolution, tabs, menus, platform capabilities, auth, and CDN overrides.
|
|
@@ -17,5 +17,5 @@ import type { ITectonPlatformControls, IParamsChanged } from '../types/setup';
|
|
|
17
17
|
*
|
|
18
18
|
* @internal
|
|
19
19
|
*/
|
|
20
|
-
export default function setupInternalServices(messageBus: MessageBus, platformControlBus:
|
|
20
|
+
export default function setupInternalServices(messageBus: MessageBus, platformControlBus: TectonPlatformControls, params$: BehaviorSubject<ParamsChanged>, tectonConfig$: BehaviorSubject<TectonRuntimeConfig>, capabilities: Set<string>, teardowns: (() => void)[], contextHierarchy?: HierarchyNode): void;
|
|
21
21
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/setup/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;AACvC,OAAO,UAAU,MAAM,kCAAkC,CAAC;AAW1D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAC1D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC7C,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/setup/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;AACvC,OAAO,UAAU,MAAM,kCAAkC,CAAC;AAW1D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAC1D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC7C,OAAO,KAAK,EAAE,sBAAsB,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE3E;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,OAAO,UAAU,qBAAqB,CACzC,UAAU,EAAE,UAAU,EACtB,kBAAkB,EAAE,sBAAsB,EAC1C,OAAO,EAAE,eAAe,CAAC,aAAa,CAAC,EACvC,aAAa,EAAE,eAAe,CAAC,mBAAmB,CAAC,EACnD,YAAY,EAAE,GAAG,CAAC,MAAM,CAAC,EACzB,SAAS,EAAE,CAAC,MAAM,IAAI,CAAC,EAAE,EACzB,gBAAgB,GAAE,aAAkB,GACrC,IAAI,CAUN"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import MessageBus from 'q2-tecton-common/lib/utility/message-bus';
|
|
2
|
-
import type {
|
|
2
|
+
import type { TectonPlatformControls } from '../../../types/setup';
|
|
3
3
|
/**
|
|
4
4
|
* Sets up the `cdnOverride` capability for retrieving CDN override paths.
|
|
5
5
|
* Enables features to get custom CDN paths for asset loading.
|
|
@@ -11,5 +11,5 @@ import type { ITectonPlatformControls } from '../../../types/setup';
|
|
|
11
11
|
*
|
|
12
12
|
* @internal
|
|
13
13
|
*/
|
|
14
|
-
export default function setupCdnOverride(messageBus: MessageBus, platformControlBus:
|
|
14
|
+
export default function setupCdnOverride(messageBus: MessageBus, platformControlBus: TectonPlatformControls, capabilities: Set<string>, teardowns: (() => void)[]): void;
|
|
15
15
|
//# sourceMappingURL=cdnOverride.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cdnOverride.d.ts","sourceRoot":"","sources":["../../../../../src/setup/overrides/cdn-override/cdnOverride.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,0CAA0C,CAAC;AAElE,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"cdnOverride.d.ts","sourceRoot":"","sources":["../../../../../src/setup/overrides/cdn-override/cdnOverride.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,0CAA0C,CAAC;AAElE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAE5D;;;;;;;;;;GAUG;AACH,MAAM,CAAC,OAAO,UAAU,gBAAgB,CACpC,UAAU,EAAE,UAAU,EACtB,kBAAkB,EAAE,sBAAsB,EAC1C,YAAY,EAAE,GAAG,CAAC,MAAM,CAAC,EACzB,SAAS,EAAE,CAAC,MAAM,IAAI,CAAC,EAAE,GAC1B,IAAI,CAYN"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import MessageBus from '../../../utility/message-bus/messageBus';
|
|
2
2
|
import { BehaviorSubject } from 'rxjs';
|
|
3
|
-
import type {
|
|
3
|
+
import type { ParamsChanged } from '../../../types/setup';
|
|
4
4
|
/**
|
|
5
5
|
* Sets up the `getInitialParams` message handler for retrieving module parameters.
|
|
6
6
|
* Returns the current parameters scoped to a specific module.
|
|
@@ -11,5 +11,5 @@ import type { IParamsChanged } from '../../../types/setup';
|
|
|
11
11
|
*
|
|
12
12
|
* @internal
|
|
13
13
|
*/
|
|
14
|
-
export declare function getInitialParams(messageBus: MessageBus, params$: BehaviorSubject<
|
|
14
|
+
export declare function getInitialParams(messageBus: MessageBus, params$: BehaviorSubject<ParamsChanged>, teardowns: (() => void)[]): void;
|
|
15
15
|
//# sourceMappingURL=getInitialParams.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getInitialParams.d.ts","sourceRoot":"","sources":["../../../../../src/setup/params/get-initial-params/getInitialParams.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,kCAAkC,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;AAGvC,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"getInitialParams.d.ts","sourceRoot":"","sources":["../../../../../src/setup/params/get-initial-params/getInitialParams.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,kCAAkC,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;AAGvC,OAAO,KAAK,EAAE,aAAa,EAAuB,MAAM,eAAe,CAAC;AAExE;;;;;;;;;GASG;AACH,wBAAgB,gBAAgB,CAC5B,UAAU,EAAE,UAAU,EACtB,OAAO,EAAE,eAAe,CAAC,aAAa,CAAC,EACvC,SAAS,EAAE,CAAC,MAAM,IAAI,CAAC,EAAE,GAC1B,IAAI,CAWN"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import MessageBus from '../../../utility/message-bus/messageBus';
|
|
2
2
|
import { BehaviorSubject } from 'rxjs';
|
|
3
|
-
import type {
|
|
3
|
+
import type { TectonPlatformControls } from '../../../types/setup';
|
|
4
4
|
import type { TectonRuntimeConfig } from '../../../types/config';
|
|
5
5
|
export declare const NGAM_BASE: string;
|
|
6
6
|
/**
|
|
@@ -15,7 +15,7 @@ export declare const NGAM_BASE: string;
|
|
|
15
15
|
*
|
|
16
16
|
* @internal
|
|
17
17
|
*/
|
|
18
|
-
export declare function setupPathResolvers(messageBus: MessageBus, capabilities: Set<string>, platformControlBus:
|
|
18
|
+
export declare function setupPathResolvers(messageBus: MessageBus, capabilities: Set<string>, platformControlBus: TectonPlatformControls, tectonConfig$: BehaviorSubject<TectonRuntimeConfig>, teardowns: (() => void)[]): void;
|
|
19
19
|
/**
|
|
20
20
|
* Prepends the current origin to a URL if it's a relative path.
|
|
21
21
|
* Absolute URLs (starting with http) are returned unchanged.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assetPathResolvers.d.ts","sourceRoot":"","sources":["../../../../../src/setup/resolvers/asset-path-resolvers/assetPathResolvers.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,kCAAkC,CAAC;AAE1D,OAAO,EAAE,eAAe,EAAgB,MAAM,MAAM,CAAC;AAErD,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"assetPathResolvers.d.ts","sourceRoot":"","sources":["../../../../../src/setup/resolvers/asset-path-resolvers/assetPathResolvers.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,kCAAkC,CAAC;AAE1D,OAAO,EAAE,eAAe,EAAgB,MAAM,MAAM,CAAC;AAErD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAC5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAE1D,eAAO,MAAM,SAAS,QAAqF,CAAC;AAE5G;;;;;;;;;;;GAWG;AACH,wBAAgB,kBAAkB,CAC9B,UAAU,EAAE,UAAU,EACtB,YAAY,EAAE,GAAG,CAAC,MAAM,CAAC,EACzB,kBAAkB,EAAE,sBAAsB,EAC1C,aAAa,EAAE,eAAe,CAAC,mBAAmB,CAAC,EACnD,SAAS,EAAE,CAAC,MAAM,IAAI,CAAC,EAAE,QA+C5B;AAED;;;;;;GAMG;AACH,wBAAgB,uBAAuB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAE3D"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { TectonContextInfo, HierarchyNode } from '../../../types';
|
|
2
2
|
/**
|
|
3
3
|
* Returns an array of contexts from most specific to most general based on the hierarchy
|
|
4
4
|
*
|
|
@@ -19,5 +19,5 @@ export declare function getContextHierarchyPath(contextString: string, contextHi
|
|
|
19
19
|
* @param contextHierarchy - Hierarchy of context nodes for validation
|
|
20
20
|
* @returns True if resolvedContext is a valid subtype of moduleContext, or if moduleContext is unrestricted
|
|
21
21
|
*/
|
|
22
|
-
export declare function validateContext(params:
|
|
22
|
+
export declare function validateContext(params: TectonContextInfo, contextHierarchy: HierarchyNode): boolean;
|
|
23
23
|
//# sourceMappingURL=contextResolver.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contextResolver.d.ts","sourceRoot":"","sources":["../../../../../src/setup/resolvers/context-resolver/contextResolver.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"contextResolver.d.ts","sourceRoot":"","sources":["../../../../../src/setup/resolvers/context-resolver/contextResolver.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AA+BhE;;;;;;GAMG;AACH,wBAAgB,uBAAuB,CAAC,aAAa,EAAE,MAAM,EAAE,gBAAgB,EAAE,aAAa,GAAG,MAAM,EAAE,CAiBxG;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,eAAe,CAAC,MAAM,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,aAAa,GAAG,OAAO,CAsBnG"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import MessageBus from '../../../utility/message-bus/messageBus';
|
|
2
2
|
import { Maybe } from 'maybe-not';
|
|
3
3
|
import { BehaviorSubject } from 'rxjs';
|
|
4
|
-
import {
|
|
5
|
-
import type { TectonRuntimeConfig,
|
|
6
|
-
import type {
|
|
4
|
+
import { ResolveFeatureResponseBody, PathResolutionInfo, GenerateTectonConfigPathArgs } from '../../../types/resolvers';
|
|
5
|
+
import type { TectonRuntimeConfig, ModuleLookup, ModuleConfig } from '../../../types/config';
|
|
6
|
+
import type { TectonPlatformControls, ParamsChanged } from '../../../types/setup';
|
|
7
7
|
import type { HierarchyNode } from '../../../types';
|
|
8
8
|
/**
|
|
9
9
|
* Sets up the `resolveFeature` message handler for dynamic feature resolution.
|
|
@@ -18,7 +18,7 @@ import type { HierarchyNode } from '../../../types';
|
|
|
18
18
|
*
|
|
19
19
|
* @internal
|
|
20
20
|
*/
|
|
21
|
-
export default function setupResolveFeature(platformControlBus:
|
|
21
|
+
export default function setupResolveFeature(platformControlBus: TectonPlatformControls, messageBus: MessageBus, tectonConfig$: BehaviorSubject<TectonRuntimeConfig>, params$: BehaviorSubject<ParamsChanged>, teardowns: (() => void)[], contextHierarchy: HierarchyNode): void;
|
|
22
22
|
/**
|
|
23
23
|
* Resolves a feature from module lookups based on context and type matching.
|
|
24
24
|
* Performs typed resolution when context is available, otherwise returns first matching module.
|
|
@@ -37,7 +37,7 @@ export default function setupResolveFeature(platformControlBus: ITectonPlatformC
|
|
|
37
37
|
* @param contextHierarchy - Hierarchy of context nodes for validation
|
|
38
38
|
* @returns Promise resolving to Maybe containing the resolved feature response
|
|
39
39
|
*/
|
|
40
|
-
export declare function resolveFeature(platformControlBus:
|
|
40
|
+
export declare function resolveFeature(platformControlBus: TectonPlatformControls, params$: BehaviorSubject<ParamsChanged>, outletPath: string, baseContextM: Maybe<string>, contextValueIdM: Maybe<string>, moduleLookups: ModuleLookup[], providedTypeM: Maybe<string>, additionalContextM: Maybe<string>, tectonConfig: TectonRuntimeConfig, hostFeatureName: string, hostModuleName: string, contextHierarchy?: HierarchyNode): Promise<Maybe<ResolveFeatureResponseBody>>;
|
|
41
41
|
/**
|
|
42
42
|
* Returns the provided type if both base context and context value are present.
|
|
43
43
|
*
|
|
@@ -57,11 +57,11 @@ export declare function getTypeValueIfContextual(baseContextM: Maybe<string>, co
|
|
|
57
57
|
* outlet : platform.AccountDetails.configuredOutlets.topBanner
|
|
58
58
|
* module : tectonRoute.TectonCanary.canary
|
|
59
59
|
*/
|
|
60
|
-
export declare function getPathResolutionInfo(path: string[], dynamicFetch:
|
|
61
|
-
export declare function generateTectonConfigPathFromModuleId({ path, outletModuloVal, }:
|
|
62
|
-
export declare function resolveTectonPath<T>(path: string[], moduleTree:
|
|
60
|
+
export declare function getPathResolutionInfo(path: string[], dynamicFetch: TectonPlatformControls['dynamicConfigFetch']): Promise<PathResolutionInfo>;
|
|
61
|
+
export declare function generateTectonConfigPathFromModuleId({ path, outletModuloVal, }: GenerateTectonConfigPathArgs): string[];
|
|
62
|
+
export declare function resolveTectonPath<T>(path: string[], moduleTree: ModuleConfig): T;
|
|
63
63
|
export declare function findModuleInArrayConfig(arr: {
|
|
64
|
-
modules:
|
|
65
|
-
}[], testFn: (item: any) => boolean):
|
|
66
|
-
export declare function matchModulebyFeatureName(featureName: string, moduleName: string): (item:
|
|
64
|
+
modules: ModuleConfig[];
|
|
65
|
+
}[], testFn: (item: any) => boolean): ModuleConfig | undefined;
|
|
66
|
+
export declare function matchModulebyFeatureName(featureName: string, moduleName: string): (item: ModuleLookup) => boolean;
|
|
67
67
|
//# sourceMappingURL=resolveFeature.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolveFeature.d.ts","sourceRoot":"","sources":["../../../../../src/setup/resolvers/resolve-feature/resolveFeature.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,kCAAkC,CAAC;AAC1D,OAAO,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAElC,OAAO,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;AAEvC,OAAO,EAEH,
|
|
1
|
+
{"version":3,"file":"resolveFeature.d.ts","sourceRoot":"","sources":["../../../../../src/setup/resolvers/resolve-feature/resolveFeature.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,kCAAkC,CAAC;AAC1D,OAAO,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAElC,OAAO,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;AAEvC,OAAO,EAEH,0BAA0B,EAG1B,kBAAkB,EAElB,4BAA4B,EAC/B,MAAM,mBAAmB,CAAC;AAE3B,OAAO,KAAK,EAAE,mBAAmB,EAAE,YAAY,EAAE,YAAY,EAAyB,MAAM,gBAAgB,CAAC;AAC7G,OAAO,KAAK,EAAE,sBAAsB,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC3E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,OAAO,UAAU,mBAAmB,CACvC,kBAAkB,EAAE,sBAAsB,EAC1C,UAAU,EAAE,UAAU,EACtB,aAAa,EAAE,eAAe,CAAC,mBAAmB,CAAC,EACnD,OAAO,EAAE,eAAe,CAAC,aAAa,CAAC,EACvC,SAAS,EAAE,CAAC,MAAM,IAAI,CAAC,EAAE,EACzB,gBAAgB,EAAE,aAAa,GAChC,IAAI,CAwEN;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,cAAc,CAC1B,kBAAkB,EAAE,sBAAsB,EAC1C,OAAO,EAAE,eAAe,CAAC,aAAa,CAAC,EACvC,UAAU,EAAE,MAAM,EAClB,YAAY,EAAE,KAAK,CAAC,MAAM,CAAC,EAC3B,eAAe,EAAE,KAAK,CAAC,MAAM,CAAC,EAC9B,aAAa,EAAE,YAAY,EAAE,EAC7B,aAAa,EAAE,KAAK,CAAC,MAAM,CAAC,EAC5B,kBAAkB,EAAE,KAAK,CAAC,MAAM,CAAC,EACjC,YAAY,EAAE,mBAAmB,EACjC,eAAe,EAAE,MAAM,EACvB,cAAc,EAAE,MAAM,EACtB,gBAAgB,GAAE,aAAkB,GACrC,OAAO,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAAC,CA0C5C;AAED;;;;;;;GAOG;AACH,wBAAgB,wBAAwB,CACpC,YAAY,EAAE,KAAK,CAAC,MAAM,CAAC,EAC3B,eAAe,EAAE,KAAK,CAAC,MAAM,CAAC,EAC9B,aAAa,EAAE,KAAK,CAAC,MAAM,CAAC,GAC7B,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAUxB;AAqCD;;;;;;;;;GASG;AAEH,wBAAsB,qBAAqB,CACvC,IAAI,EAAE,MAAM,EAAE,EACd,YAAY,EAAE,sBAAsB,CAAC,oBAAoB,CAAC,GAC3D,OAAO,CAAC,kBAAkB,CAAC,CAoE7B;AAED,wBAAgB,oCAAoC,CAAC,EACjD,IAAI,EACJ,eAAe,GAClB,EAAE,4BAA4B,GAAG,MAAM,EAAE,CAczC;AAED,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,UAAU,EAAE,YAAY,GAAG,CAAC,CAehF;AAED,wBAAgB,uBAAuB,CACnC,GAAG,EAAE;IAAE,OAAO,EAAE,YAAY,EAAE,CAAA;CAAE,EAAE,EAClC,MAAM,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,OAAO,GAC/B,YAAY,GAAG,SAAS,CAU1B;AAED,wBAAgB,wBAAwB,CAAC,WAAW,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,CAAC,IAAI,EAAE,YAAY,KAAK,OAAO,CAIjH"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import MessageBus from '../../../utility/message-bus/messageBus';
|
|
2
2
|
import { Maybe } from 'maybe-not';
|
|
3
3
|
import { BehaviorSubject } from 'rxjs';
|
|
4
|
-
import type {
|
|
5
|
-
import type {
|
|
4
|
+
import type { TectonPlatformControls, ParamsChanged } from '../../../types/setup';
|
|
5
|
+
import type { MenuLookup, ResolvedMenuItem, TectonRuntimeConfig } from '../../../types/config';
|
|
6
6
|
import type { HierarchyNode } from '../../../types';
|
|
7
7
|
/**
|
|
8
8
|
* Sets up the `resolveMenu` message handler for contextual menu resolution.
|
|
@@ -17,7 +17,7 @@ import type { HierarchyNode } from '../../../types';
|
|
|
17
17
|
*
|
|
18
18
|
* @internal
|
|
19
19
|
*/
|
|
20
|
-
export default function setupResolveMenu(platformControlBus:
|
|
20
|
+
export default function setupResolveMenu(platformControlBus: TectonPlatformControls, messageBus: MessageBus, tectonConfig$: BehaviorSubject<TectonRuntimeConfig>, params$: BehaviorSubject<ParamsChanged>, teardowns: (() => void)[], contextHierarchy: HierarchyNode): void;
|
|
21
21
|
/**
|
|
22
22
|
* Resolves menu items from menu lookups based on context and type matching.
|
|
23
23
|
*
|
|
@@ -35,5 +35,5 @@ export default function setupResolveMenu(platformControlBus: ITectonPlatformCont
|
|
|
35
35
|
* @param contextHierarchy - Hierarchy of context nodes for validation
|
|
36
36
|
* @returns Promise resolving to array of resolved menu items
|
|
37
37
|
*/
|
|
38
|
-
export declare function resolveMenuItems(platformControlBus:
|
|
38
|
+
export declare function resolveMenuItems(platformControlBus: TectonPlatformControls, params$: BehaviorSubject<ParamsChanged>, outletPath: string, baseContextM: Maybe<string>, contextValueIdM: Maybe<string>, providedTypeM: Maybe<string>, additionalContextM: Maybe<string>, menuLookups: MenuLookup[], tectonConfig: TectonRuntimeConfig, hostFeatureName: string, hostModuleName: string, contextHierarchy: HierarchyNode): Promise<ResolvedMenuItem[]>;
|
|
39
39
|
//# sourceMappingURL=resolveMenu.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolveMenu.d.ts","sourceRoot":"","sources":["../../../../../src/setup/resolvers/resolve-menu/resolveMenu.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,kCAAkC,CAAC;AAC1D,OAAO,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;AAOvC,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"resolveMenu.d.ts","sourceRoot":"","sources":["../../../../../src/setup/resolvers/resolve-menu/resolveMenu.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,kCAAkC,CAAC;AAC1D,OAAO,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;AAOvC,OAAO,KAAK,EAAE,sBAAsB,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE3E,OAAO,KAAK,EAAE,UAAU,EAAgB,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AACtG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,OAAO,UAAU,gBAAgB,CACpC,kBAAkB,EAAE,sBAAsB,EAC1C,UAAU,EAAE,UAAU,EACtB,aAAa,EAAE,eAAe,CAAC,mBAAmB,CAAC,EACnD,OAAO,EAAE,eAAe,CAAC,aAAa,CAAC,EACvC,SAAS,EAAE,CAAC,MAAM,IAAI,CAAC,EAAE,EACzB,gBAAgB,EAAE,aAAa,GAChC,IAAI,CAuEN;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,gBAAgB,CAC5B,kBAAkB,EAAE,sBAAsB,EAC1C,OAAO,EAAE,eAAe,CAAC,aAAa,CAAC,EACvC,UAAU,EAAE,MAAM,EAClB,YAAY,EAAE,KAAK,CAAC,MAAM,CAAC,EAC3B,eAAe,EAAE,KAAK,CAAC,MAAM,CAAC,EAC9B,aAAa,EAAE,KAAK,CAAC,MAAM,CAAC,EAC5B,kBAAkB,EAAE,KAAK,CAAC,MAAM,CAAC,EACjC,WAAW,EAAE,UAAU,EAAE,EACzB,YAAY,EAAE,mBAAmB,EACjC,eAAe,EAAE,MAAM,EACvB,cAAc,EAAE,MAAM,EACtB,gBAAgB,EAAE,aAAa,GAChC,OAAO,CAAC,gBAAgB,EAAE,CAAC,CAyC7B"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import MessageBus from '../../../utility/message-bus/messageBus';
|
|
2
2
|
import { Maybe } from 'maybe-not';
|
|
3
3
|
import { BehaviorSubject } from 'rxjs';
|
|
4
|
-
import type {
|
|
5
|
-
import type { TectonRuntimeConfig,
|
|
4
|
+
import type { TectonPlatformControls, ParamsChanged } from '../../../types/setup';
|
|
5
|
+
import type { TectonRuntimeConfig, TabLookup } from '../../../types/config';
|
|
6
6
|
import type { ResolvedTab } from 'q2-tecton-common/lib/types/tabs';
|
|
7
7
|
import type { HierarchyNode } from '../../../types';
|
|
8
8
|
/**
|
|
@@ -18,7 +18,7 @@ import type { HierarchyNode } from '../../../types';
|
|
|
18
18
|
*
|
|
19
19
|
* @internal
|
|
20
20
|
*/
|
|
21
|
-
export default function setupResolveTabs(platformControlBus:
|
|
21
|
+
export default function setupResolveTabs(platformControlBus: TectonPlatformControls, messageBus: MessageBus, tectonConfig$: BehaviorSubject<TectonRuntimeConfig>, params$: BehaviorSubject<ParamsChanged>, teardowns: (() => void)[], contextHierarchy: HierarchyNode): void;
|
|
22
22
|
/**
|
|
23
23
|
* Resolves tabs from tab lookups based on context and type matching.
|
|
24
24
|
*
|
|
@@ -38,5 +38,5 @@ export default function setupResolveTabs(platformControlBus: ITectonPlatformCont
|
|
|
38
38
|
* @param allowDirectives - Optional CSP allow directives
|
|
39
39
|
* @returns Promise resolving to array of resolved tabs
|
|
40
40
|
*/
|
|
41
|
-
export declare function resolveTabs(platformControlBus:
|
|
41
|
+
export declare function resolveTabs(platformControlBus: TectonPlatformControls, params$: BehaviorSubject<ParamsChanged>, outletPath: string, baseContextM: Maybe<string>, contextValueIdM: Maybe<string>, providedTypeM: Maybe<string>, additionalContextM: Maybe<string>, tabLookups: TabLookup[], tectonConfig: TectonRuntimeConfig, hostFeatureName: string, hostModuleName: string, contextHierarchy: HierarchyNode, additionalDomains?: string[], allowDirectives?: string[]): Promise<ResolvedTab[]>;
|
|
42
42
|
//# sourceMappingURL=resolveTabs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolveTabs.d.ts","sourceRoot":"","sources":["../../../../../src/setup/resolvers/resolve-tabs/resolveTabs.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,kCAAkC,CAAC;AAM1D,OAAO,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;AAQvC,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"resolveTabs.d.ts","sourceRoot":"","sources":["../../../../../src/setup/resolvers/resolve-tabs/resolveTabs.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,kCAAkC,CAAC;AAM1D,OAAO,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;AAQvC,OAAO,KAAK,EAAE,sBAAsB,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC3E,OAAO,KAAK,EAAE,mBAAmB,EAAgB,SAAS,EAAE,MAAM,gBAAgB,CAAC;AACnF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,OAAO,UAAU,gBAAgB,CACpC,kBAAkB,EAAE,sBAAsB,EAC1C,UAAU,EAAE,UAAU,EACtB,aAAa,EAAE,eAAe,CAAC,mBAAmB,CAAC,EACnD,OAAO,EAAE,eAAe,CAAC,aAAa,CAAC,EACvC,SAAS,EAAE,CAAC,MAAM,IAAI,CAAC,EAAE,EACzB,gBAAgB,EAAE,aAAa,QA6DlC;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,WAAW,CACvB,kBAAkB,EAAE,sBAAsB,EAC1C,OAAO,EAAE,eAAe,CAAC,aAAa,CAAC,EACvC,UAAU,EAAE,MAAM,EAClB,YAAY,EAAE,KAAK,CAAC,MAAM,CAAC,EAC3B,eAAe,EAAE,KAAK,CAAC,MAAM,CAAC,EAC9B,aAAa,EAAE,KAAK,CAAC,MAAM,CAAC,EAC5B,kBAAkB,EAAE,KAAK,CAAC,MAAM,CAAC,EACjC,UAAU,EAAE,SAAS,EAAE,EACvB,YAAY,EAAE,mBAAmB,EACjC,eAAe,EAAE,MAAM,EACvB,cAAc,EAAE,MAAM,EACtB,gBAAgB,EAAE,aAAa,EAC/B,iBAAiB,CAAC,EAAE,MAAM,EAAE,EAC5B,eAAe,CAAC,EAAE,MAAM,EAAE,GAC3B,OAAO,CAAC,WAAW,EAAE,CAAC,CA4CxB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import MessageBus from '../../utility/message-bus/messageBus';
|
|
2
|
-
import type {
|
|
2
|
+
import type { TectonPlatformControls } from '../../types/setup';
|
|
3
3
|
/**
|
|
4
4
|
* Sets up theme-related capabilities including `getCurrentTheme` and `themeChanged` broadcasting.
|
|
5
5
|
* Manages theme state and broadcasts theme changes to all features.
|
|
@@ -11,5 +11,5 @@ import type { ITectonPlatformControls } from '../../types/setup';
|
|
|
11
11
|
*
|
|
12
12
|
* @internal
|
|
13
13
|
*/
|
|
14
|
-
export default function setupTectonStyles(messageBus: MessageBus, platformControlBus:
|
|
14
|
+
export default function setupTectonStyles(messageBus: MessageBus, platformControlBus: TectonPlatformControls, capabilities: Set<string>, teardowns: (() => void)[]): void;
|
|
15
15
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/setup/styles/styles.ts"],"names":[],"mappings":"AAAA,OAAO,UAA6B,MAAM,kCAAkC,CAAC;AAK7E,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/setup/styles/styles.ts"],"names":[],"mappings":"AAAA,OAAO,UAA6B,MAAM,kCAAkC,CAAC;AAK7E,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAE5D;;;;;;;;;;GAUG;AACH,MAAM,CAAC,OAAO,UAAU,iBAAiB,CACrC,UAAU,EAAE,UAAU,EACtB,kBAAkB,EAAE,sBAAsB,EAC1C,YAAY,EAAE,GAAG,CAAC,MAAM,CAAC,EACzB,SAAS,EAAE,CAAC,MAAM,IAAI,CAAC,EAAE,GAC1B,IAAI,CAkDN"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import MessageBus from '../../utility/message-bus/messageBus';
|
|
2
|
-
import type {
|
|
2
|
+
import type { TectonPlatformControls } from '../../types/setup';
|
|
3
3
|
/**
|
|
4
4
|
* Sets up the `cacheCleared` capability for broadcasting cache invalidation events.
|
|
5
5
|
* Listens for platform refetch notifications and broadcasts them to features.
|
|
@@ -10,5 +10,5 @@ import type { ITectonPlatformControls } from '../../types/setup';
|
|
|
10
10
|
*
|
|
11
11
|
* @internal
|
|
12
12
|
*/
|
|
13
|
-
export default function cacheClearedSetup(messageBus: MessageBus, platformControlBus:
|
|
13
|
+
export default function cacheClearedSetup(messageBus: MessageBus, platformControlBus: TectonPlatformControls, capabilities: Set<string>): void;
|
|
14
14
|
//# sourceMappingURL=cacheCleared-setup.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cacheCleared-setup.d.ts","sourceRoot":"","sources":["../../../../src/sources/cache-cleared/cacheCleared-setup.ts"],"names":[],"mappings":"AACA,OAAO,UAA6B,MAAM,kCAAkC,CAAC;AAE7E,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"cacheCleared-setup.d.ts","sourceRoot":"","sources":["../../../../src/sources/cache-cleared/cacheCleared-setup.ts"],"names":[],"mappings":"AACA,OAAO,UAA6B,MAAM,kCAAkC,CAAC;AAE7E,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAE5D;;;;;;;;;GASG;AACH,MAAM,CAAC,OAAO,UAAU,iBAAiB,CACrC,UAAU,EAAE,UAAU,EACtB,kBAAkB,EAAE,sBAAsB,EAC1C,YAAY,EAAE,GAAG,CAAC,MAAM,CAAC,GAC1B,IAAI,CAQN"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import MessageBus from '../../utility/message-bus/messageBus';
|
|
2
|
-
import type {
|
|
2
|
+
import type { TectonPlatformControls } from '../../types/setup';
|
|
3
3
|
/**
|
|
4
4
|
* Sets up the `canUser` capability for checking user permissions.
|
|
5
5
|
* Returns whether the user has all requested capabilities.
|
|
@@ -11,5 +11,5 @@ import type { ITectonPlatformControls } from '../../types/setup';
|
|
|
11
11
|
*
|
|
12
12
|
* @internal
|
|
13
13
|
*/
|
|
14
|
-
export default function canUserSetup(messageBus: MessageBus, platformControlBus:
|
|
14
|
+
export default function canUserSetup(messageBus: MessageBus, platformControlBus: TectonPlatformControls, capabilities: Set<string>, teardowns: (() => void)[]): void;
|
|
15
15
|
//# sourceMappingURL=canUser-setup.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"canUser-setup.d.ts","sourceRoot":"","sources":["../../../../src/sources/can-user/canUser-setup.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,kCAAkC,CAAC;AAE1D,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"canUser-setup.d.ts","sourceRoot":"","sources":["../../../../src/sources/can-user/canUser-setup.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,kCAAkC,CAAC;AAE1D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAY5D;;;;;;;;;;GAUG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAChC,UAAU,EAAE,UAAU,EACtB,kBAAkB,EAAE,sBAAsB,EAC1C,YAAY,EAAE,GAAG,CAAC,MAAM,CAAC,EACzB,SAAS,EAAE,CAAC,MAAM,IAAI,CAAC,EAAE,GAC1B,IAAI,CAgBN"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
1
|
+
import type { TectonMessageBus } from 'q2-tecton-common/lib/types/message-bus';
|
|
2
|
+
import type { TectonPlatformControls } from '../../types/setup';
|
|
3
3
|
/**
|
|
4
4
|
* Sets up the `authToken` capability for retrieving authentication tokens.
|
|
5
5
|
* Provides features with access to the platform's authentication token.
|
|
@@ -11,5 +11,5 @@ import type { ITectonPlatformControls } from '../../types/setup';
|
|
|
11
11
|
*
|
|
12
12
|
* @internal
|
|
13
13
|
*/
|
|
14
|
-
export default function getAuthTokenSetup(messageBus:
|
|
14
|
+
export default function getAuthTokenSetup(messageBus: TectonMessageBus, platformControlBus: TectonPlatformControls, capabilities: Set<string>, teardowns: (() => void)[]): void;
|
|
15
15
|
//# sourceMappingURL=getAuthToken-setup.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAuthToken-setup.d.ts","sourceRoot":"","sources":["../../../../src/sources/get-auth-token/getAuthToken-setup.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"getAuthToken-setup.d.ts","sourceRoot":"","sources":["../../../../src/sources/get-auth-token/getAuthToken-setup.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAC/E,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAE5D;;;;;;;;;;GAUG;AACH,MAAM,CAAC,OAAO,UAAU,iBAAiB,CACrC,UAAU,EAAE,gBAAgB,EAC5B,kBAAkB,EAAE,sBAAsB,EAC1C,YAAY,EAAE,GAAG,CAAC,MAAM,CAAC,EACzB,SAAS,EAAE,CAAC,MAAM,IAAI,CAAC,EAAE,GAC1B,IAAI,CAUN"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import MessageBus from '../../utility/message-bus/messageBus';
|
|
2
|
-
import type {
|
|
2
|
+
import type { TectonPlatformControls } from '../../types/setup';
|
|
3
3
|
/**
|
|
4
4
|
* Sets up the `getCurrentLanguage` capability for retrieving the current language.
|
|
5
5
|
* Returns the current language code from the platform's language subject.
|
|
@@ -11,5 +11,5 @@ import type { ITectonPlatformControls } from '../../types/setup';
|
|
|
11
11
|
*
|
|
12
12
|
* @internal
|
|
13
13
|
*/
|
|
14
|
-
export default function getCurrentLanguageSetup(messageBus: MessageBus, platformControlBus:
|
|
14
|
+
export default function getCurrentLanguageSetup(messageBus: MessageBus, platformControlBus: TectonPlatformControls, capabilities: Set<string>, teardowns: (() => void)[]): void;
|
|
15
15
|
//# sourceMappingURL=getCurrentLanguage-setup.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCurrentLanguage-setup.d.ts","sourceRoot":"","sources":["../../../../src/sources/get-current-language/getCurrentLanguage-setup.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,kCAAkC,CAAC;AAG1D,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"getCurrentLanguage-setup.d.ts","sourceRoot":"","sources":["../../../../src/sources/get-current-language/getCurrentLanguage-setup.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,kCAAkC,CAAC;AAG1D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAE5D;;;;;;;;;;GAUG;AACH,MAAM,CAAC,OAAO,UAAU,uBAAuB,CAC3C,UAAU,EAAE,UAAU,EACtB,kBAAkB,EAAE,sBAAsB,EAC1C,YAAY,EAAE,GAAG,CAAC,MAAM,CAAC,EACzB,SAAS,EAAE,CAAC,MAAM,IAAI,CAAC,EAAE,GAC1B,IAAI,CAiBN"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import MessageBus from '../../utility/message-bus/messageBus';
|
|
2
2
|
import { BehaviorSubject } from 'rxjs';
|
|
3
3
|
import type { TectonRuntimeConfig } from '../../types/config';
|
|
4
|
-
import type {
|
|
4
|
+
import type { TectonPlatformControls } from '../../types/setup';
|
|
5
5
|
/**
|
|
6
6
|
* Sets up the `getFeatureConfig` capability for retrieving feature configuration.
|
|
7
7
|
* Fetches declared system variables for a feature based on module ID.
|
|
@@ -14,5 +14,5 @@ import type { ITectonPlatformControls } from '../../types/setup';
|
|
|
14
14
|
*
|
|
15
15
|
* @internal
|
|
16
16
|
*/
|
|
17
|
-
export default function getFeatureConfigSetup(messageBus: MessageBus, tectonConfig$: BehaviorSubject<TectonRuntimeConfig>, platformControlBus:
|
|
17
|
+
export default function getFeatureConfigSetup(messageBus: MessageBus, tectonConfig$: BehaviorSubject<TectonRuntimeConfig>, platformControlBus: TectonPlatformControls, capabilities: Set<string>, teardowns: (() => void)[]): void;
|
|
18
18
|
//# sourceMappingURL=getFeatureConfig-setup.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getFeatureConfig-setup.d.ts","sourceRoot":"","sources":["../../../../src/sources/get-feature-config/getFeatureConfig-setup.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,kCAAkC,CAAC;AAE1D,OAAO,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;AAEvC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAC1D,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"getFeatureConfig-setup.d.ts","sourceRoot":"","sources":["../../../../src/sources/get-feature-config/getFeatureConfig-setup.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,kCAAkC,CAAC;AAE1D,OAAO,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;AAEvC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAC1D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAE5D;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,OAAO,UAAU,qBAAqB,CACzC,UAAU,EAAE,UAAU,EACtB,aAAa,EAAE,eAAe,CAAC,mBAAmB,CAAC,EACnD,kBAAkB,EAAE,sBAAsB,EAC1C,YAAY,EAAE,GAAG,CAAC,MAAM,CAAC,EACzB,SAAS,EAAE,CAAC,MAAM,IAAI,CAAC,EAAE,GAC1B,IAAI,CA0BN"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
1
|
+
import type { TectonMessageBus } from 'q2-tecton-common/lib/types/message-bus';
|
|
2
|
+
import type { TectonPlatformControls } from '../../types/setup';
|
|
3
3
|
/**
|
|
4
4
|
* Sets up the `getGlobalScripts` capability for retrieving global script URLs.
|
|
5
5
|
* Returns an array of script URLs that should be loaded globally.
|
|
@@ -11,5 +11,5 @@ import type { ITectonPlatformControls } from '../../types/setup';
|
|
|
11
11
|
*
|
|
12
12
|
* @internal
|
|
13
13
|
*/
|
|
14
|
-
export default function getGlobalScriptsSetup(messageBus:
|
|
14
|
+
export default function getGlobalScriptsSetup(messageBus: TectonMessageBus, platformControlBus: TectonPlatformControls, capabilities: Set<string>, teardowns: (() => void)[]): void;
|
|
15
15
|
//# sourceMappingURL=getGlobalScripts-setup.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getGlobalScripts-setup.d.ts","sourceRoot":"","sources":["../../../../src/sources/get-global-scripts/getGlobalScripts-setup.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"getGlobalScripts-setup.d.ts","sourceRoot":"","sources":["../../../../src/sources/get-global-scripts/getGlobalScripts-setup.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAC/E,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAE5D;;;;;;;;;;GAUG;AACH,MAAM,CAAC,OAAO,UAAU,qBAAqB,CACzC,UAAU,EAAE,gBAAgB,EAC5B,kBAAkB,EAAE,sBAAsB,EAC1C,YAAY,EAAE,GAAG,CAAC,MAAM,CAAC,EACzB,SAAS,EAAE,CAAC,MAAM,IAAI,CAAC,EAAE,GAC1B,IAAI,CAUN"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import MessageBus from '../../utility/message-bus/messageBus';
|
|
2
|
-
import type {
|
|
2
|
+
import type { TectonPlatformControls } from '../../types/setup';
|
|
3
3
|
/**
|
|
4
4
|
* Sets up the `getPendoInfo` capability for retrieving Pendo analytics configuration.
|
|
5
5
|
* Returns Pendo configuration including API keys and visitor/account information.
|
|
@@ -11,5 +11,5 @@ import type { ITectonPlatformControls } from '../../types/setup';
|
|
|
11
11
|
*
|
|
12
12
|
* @internal
|
|
13
13
|
*/
|
|
14
|
-
export default function getPendoInfoSetup(messageBus: MessageBus, platformControlBus:
|
|
14
|
+
export default function getPendoInfoSetup(messageBus: MessageBus, platformControlBus: TectonPlatformControls, capabilities: Set<string>, teardowns: (() => void)[]): void;
|
|
15
15
|
//# sourceMappingURL=getPendoInfo-setup.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getPendoInfo-setup.d.ts","sourceRoot":"","sources":["../../../../src/sources/get-pendo-info/getPendoInfo-setup.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,kCAAkC,CAAC;AAG1D,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"getPendoInfo-setup.d.ts","sourceRoot":"","sources":["../../../../src/sources/get-pendo-info/getPendoInfo-setup.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,kCAAkC,CAAC;AAG1D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAE5D;;;;;;;;;;GAUG;AACH,MAAM,CAAC,OAAO,UAAU,iBAAiB,CACrC,UAAU,EAAE,UAAU,EACtB,kBAAkB,EAAE,sBAAsB,EAC1C,YAAY,EAAE,GAAG,CAAC,MAAM,CAAC,EACzB,SAAS,EAAE,CAAC,MAAM,IAAI,CAAC,EAAE,GAC1B,IAAI,CASN"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
1
|
+
import type { TectonMessageBus } from 'q2-tecton-common/lib/types/message-bus';
|
|
2
|
+
import type { TectonPlatformControls } from '../../types/setup';
|
|
3
3
|
/**
|
|
4
4
|
* Sets up the `getPlatformDimensions` capability for retrieving viewport dimensions.
|
|
5
5
|
* Returns dimensions of the platform root element or a specified selector.
|
|
@@ -11,5 +11,5 @@ import type { ITectonPlatformControls } from '../../types/setup';
|
|
|
11
11
|
*
|
|
12
12
|
* @internal
|
|
13
13
|
*/
|
|
14
|
-
export default function getPlatformDimensionsSetup(messageBus:
|
|
14
|
+
export default function getPlatformDimensionsSetup(messageBus: TectonMessageBus, platformControlBus: TectonPlatformControls, capabilities: Set<string>, teardowns: (() => void)[]): void;
|
|
15
15
|
//# sourceMappingURL=getPlatformDimensions-setup.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getPlatformDimensions-setup.d.ts","sourceRoot":"","sources":["../../../../src/sources/get-platform-dimensions/getPlatformDimensions-setup.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"getPlatformDimensions-setup.d.ts","sourceRoot":"","sources":["../../../../src/sources/get-platform-dimensions/getPlatformDimensions-setup.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAC/E,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAI5D;;;;;;;;;;GAUG;AACH,MAAM,CAAC,OAAO,UAAU,0BAA0B,CAC9C,UAAU,EAAE,gBAAgB,EAC5B,kBAAkB,EAAE,sBAAsB,EAC1C,YAAY,EAAE,GAAG,CAAC,MAAM,CAAC,EACzB,SAAS,EAAE,CAAC,MAAM,IAAI,CAAC,EAAE,GAC1B,IAAI,CAyCN"}
|