@rokt/dcui-orchestrator 0.0.2-rc.0 → 0.0.2-rc.2
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/README.md +14 -0
- package/dist/extensions/loading/src/skeleton.d.ts +1 -0
- package/dist/extensions/minimized-bottomsheet/src/components/bottom-sheet/connector.d.ts +1 -1
- package/dist/extensions/minimized-bottomsheet/src/components/bottom-sheet/factory.d.ts +4 -3
- package/dist/extensions/minimized-bottomsheet/src/components/bottom-sheet/hooks.d.ts +1 -0
- package/dist/extensions/minimized-bottomsheet/src/components/overlay/connector.d.ts +1 -1
- package/dist/extensions/minimized-bottomsheet/src/components/overlay/factory.d.ts +3 -2
- package/dist/index.cjs +22 -22
- package/dist/index.js +27 -27
- package/dist/libraries/dcui-components/src/components/basic-text/factory.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/catalog-quantity-option/factory.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/catalog-stacked-collection/factory.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/column/column.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/column/factory.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/creative-response/factory.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/data-icon/factory.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/data-image/factory.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/data-mapper/data-mapper.d.ts +2 -2
- package/dist/libraries/dcui-components/src/components/escape-hatch/factory.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/extension/escape-hatch.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/extension/models.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/flow-row/factory.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/flow-row/flow-row.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/inline-container/factory.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/inline-container/inline-container.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/node-mapper/node-mapper.d.ts +1 -1
- package/dist/libraries/dcui-components/src/components/rich-text/factory.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/row/factory.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/row/row.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/scrollable-column/factory.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/scrollable-column/scrollable-column.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/scrollable-row/factory.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/scrollable-row/scrollable-row.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/slide-state-trigger/factory.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/static-data-mapper/static-data-mapper.d.ts +2 -2
- package/dist/libraries/dcui-components/src/components/static-icon/factory.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/static-image/factory.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/static-link/factory.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/style-mapper/style-consumer.d.ts +2 -1
- package/dist/libraries/dcui-components/src/components/style-mapper/style-mapper.d.ts +2 -2
- package/dist/libraries/dcui-components/src/components/style-mapper/transformers/dimension-value-transformer.d.ts +9 -2
- package/dist/libraries/dcui-components/src/components/style-mapper/transformers/mapped-value-transformer.d.ts +9 -2
- package/dist/libraries/dcui-components/src/components/style-mapper/transformers/rotate-transformer.d.ts +9 -2
- package/dist/libraries/dcui-components/src/components/timer-state-trigger/factory.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/toggle-button-state-trigger/factory.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/when/factory.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/zstack/factory.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/zstack/zstack.d.ts +1 -0
- package/dist/libraries/dcui-components/src/contexts/data-mapper-context.d.ts +9 -8
- package/dist/libraries/dcui-components/src/contexts/global-actions-context.d.ts +1 -0
- package/dist/libraries/dcui-components/src/contexts/global-state-context.d.ts +1 -0
- package/dist/libraries/dcui-components/src/contexts/interactivity-context.d.ts +1 -0
- package/dist/libraries/dcui-components/src/contexts/layout-schema-type-context.d.ts +1 -0
- package/dist/libraries/dcui-components/src/contexts/plugin-id-context.d.ts +1 -0
- package/dist/libraries/dcui-components/src/contexts/position-context.d.ts +1 -0
- package/dist/libraries/dcui-components/src/contexts/root-element-context.d.ts +1 -0
- package/dist/libraries/dcui-components/src/contexts/static-data-context.d.ts +13 -12
- package/dist/libraries/dcui-components/src/utils/node-factories.d.ts +1 -0
- package/dist/libraries/domain/src/behaviors/offer-engagement.d.ts +11 -4
- package/dist/libraries/domain/src/behaviors/send-partner.d.ts +11 -3
- package/dist/libraries/domain/src/models/layout/layout-creative.d.ts +1 -1
- package/dist/libraries/domain/src/models/layout/layout-offer.d.ts +2 -2
- package/dist/libraries/domain/src/models/partner-event.d.ts +1 -1
- package/dist/libraries/domain/src/models/plugin/index.d.ts +1 -0
- package/dist/libraries/domain/src/models/plugin/plugin-conversion-type.d.ts +4 -0
- package/dist/libraries/domain/src/models/plugin/plugin-creative-response-option.d.ts +22 -5
- package/dist/libraries/domain/src/models/plugin/plugin-creative.d.ts +1 -1
- package/dist/libraries/domain/src/models/plugin/plugin-offer.d.ts +2 -2
- package/dist/libraries/layout-renderer-utils/src/actions/active.d.ts +15 -0
- package/dist/libraries/layout-renderer-utils/src/actions/breakpoint.d.ts +22 -0
- package/dist/libraries/layout-renderer-utils/src/actions/custom-states.d.ts +11 -0
- package/dist/libraries/layout-renderer-utils/src/actions/error.d.ts +6 -0
- package/dist/libraries/layout-renderer-utils/src/actions/fonts.d.ts +7 -0
- package/dist/libraries/layout-renderer-utils/src/actions/index.d.ts +53 -0
- package/dist/libraries/layout-renderer-utils/src/actions/layout.d.ts +7 -0
- package/dist/libraries/layout-renderer-utils/src/actions/log.d.ts +13 -0
- package/dist/libraries/layout-renderer-utils/src/actions/overlay.d.ts +8 -0
- package/dist/libraries/layout-renderer-utils/src/actions/plugin.d.ts +9 -0
- package/dist/libraries/layout-renderer-utils/src/actions/serializable-cache.d.ts +22 -0
- package/dist/libraries/layout-renderer-utils/src/actions/settings.d.ts +7 -0
- package/dist/libraries/layout-renderer-utils/src/actions/signal.d.ts +17 -0
- package/dist/libraries/layout-renderer-utils/src/components/bottom-sheet/bottom-sheet.d.ts +17 -0
- package/dist/libraries/layout-renderer-utils/src/components/bottom-sheet/connector.d.ts +2 -0
- package/dist/libraries/layout-renderer-utils/src/components/bottom-sheet/factory.d.ts +10 -0
- package/dist/libraries/layout-renderer-utils/src/components/bottom-sheet/index.d.ts +2 -0
- package/dist/libraries/layout-renderer-utils/src/components/bottom-sheet/types.d.ts +44 -0
- package/dist/libraries/layout-renderer-utils/src/components/close-button/close-button.d.ts +46 -0
- package/dist/libraries/layout-renderer-utils/src/components/close-button/factory.d.ts +3 -0
- package/dist/libraries/layout-renderer-utils/src/components/close-button/index.d.ts +2 -0
- package/dist/libraries/layout-renderer-utils/src/components/fonts-stylesheet/fonts-stylesheet.d.ts +4 -0
- package/dist/libraries/layout-renderer-utils/src/components/fonts-stylesheet/index.d.ts +1 -0
- package/dist/libraries/layout-renderer-utils/src/components/fonts-stylesheet/load-fonts.d.ts +8 -0
- package/dist/libraries/layout-renderer-utils/src/components/index.d.ts +4 -0
- package/dist/libraries/layout-renderer-utils/src/components/overlay/connector.d.ts +2 -0
- package/dist/libraries/layout-renderer-utils/src/components/overlay/factory.d.ts +10 -0
- package/dist/libraries/layout-renderer-utils/src/components/overlay/index.d.ts +2 -0
- package/dist/libraries/layout-renderer-utils/src/components/overlay/overlay.d.ts +19 -0
- package/dist/libraries/layout-renderer-utils/src/components/overlay/types.d.ts +44 -0
- package/dist/libraries/layout-renderer-utils/src/components/overlay-wrapper/index.d.ts +1 -0
- package/dist/libraries/layout-renderer-utils/src/components/overlay-wrapper/overlay-wrapper.d.ts +10 -0
- package/dist/libraries/layout-renderer-utils/src/constant.d.ts +2 -0
- package/dist/libraries/layout-renderer-utils/src/environment.d.ts +7 -0
- package/dist/libraries/layout-renderer-utils/src/index.d.ts +9 -0
- package/dist/libraries/layout-renderer-utils/src/models/index.d.ts +1 -0
- package/dist/libraries/layout-renderer-utils/src/models/state/active.d.ts +1 -0
- package/dist/libraries/layout-renderer-utils/src/models/state/breakpoint.d.ts +5 -0
- package/dist/libraries/layout-renderer-utils/src/models/state/custom-states.d.ts +5 -0
- package/dist/libraries/layout-renderer-utils/src/models/state/fonts.d.ts +2 -0
- package/dist/libraries/layout-renderer-utils/src/models/state/index.d.ts +25 -0
- package/dist/libraries/layout-renderer-utils/src/models/state/layout.d.ts +7 -0
- package/dist/libraries/layout-renderer-utils/src/models/state/serializable-cache.d.ts +1 -0
- package/dist/libraries/layout-renderer-utils/src/models/state/signals.d.ts +14 -0
- package/dist/libraries/layout-renderer-utils/src/reducers/active/index.d.ts +1 -0
- package/dist/libraries/layout-renderer-utils/src/reducers/active/reducer.d.ts +4 -0
- package/dist/libraries/layout-renderer-utils/src/reducers/breakpoint/index.d.ts +1 -0
- package/dist/libraries/layout-renderer-utils/src/reducers/breakpoint/reducer.d.ts +10 -0
- package/dist/libraries/layout-renderer-utils/src/reducers/custom-states/index.d.ts +1 -0
- package/dist/libraries/layout-renderer-utils/src/reducers/custom-states/reducer.d.ts +5 -0
- package/dist/libraries/layout-renderer-utils/src/reducers/fonts/index.d.ts +1 -0
- package/dist/libraries/layout-renderer-utils/src/reducers/fonts/reducer.d.ts +9 -0
- package/dist/libraries/layout-renderer-utils/src/reducers/index.d.ts +28 -0
- package/dist/libraries/layout-renderer-utils/src/reducers/layout/index.d.ts +1 -0
- package/dist/libraries/layout-renderer-utils/src/reducers/layout/reducer.d.ts +4 -0
- package/dist/libraries/layout-renderer-utils/src/reducers/serializable-cache/index.d.ts +1 -0
- package/dist/libraries/layout-renderer-utils/src/reducers/serializable-cache/reducer.d.ts +4 -0
- package/dist/libraries/layout-renderer-utils/src/reducers/settings/index.d.ts +1 -0
- package/dist/libraries/layout-renderer-utils/src/reducers/settings/reducer.d.ts +4 -0
- package/dist/libraries/layout-renderer-utils/src/reducers/signal/index.d.ts +1 -0
- package/dist/libraries/layout-renderer-utils/src/reducers/signal/reducer.d.ts +4 -0
- package/dist/libraries/layout-renderer-utils/src/sagas/breakpoint/index.d.ts +1 -0
- package/dist/libraries/layout-renderer-utils/src/sagas/breakpoint/sagas.d.ts +4 -0
- package/dist/libraries/layout-renderer-utils/src/sagas/custom-states/index.d.ts +1 -0
- package/dist/libraries/layout-renderer-utils/src/sagas/custom-states/sagas.d.ts +3 -0
- package/dist/libraries/layout-renderer-utils/src/sagas/error/error-codes.d.ts +17 -0
- package/dist/libraries/layout-renderer-utils/src/sagas/error/index.d.ts +2 -0
- package/dist/libraries/layout-renderer-utils/src/sagas/error/sagas.d.ts +6 -0
- package/dist/libraries/layout-renderer-utils/src/sagas/index.d.ts +11 -0
- package/dist/libraries/layout-renderer-utils/src/sagas/log/index.d.ts +1 -0
- package/dist/libraries/layout-renderer-utils/src/sagas/log/sagas.d.ts +4 -0
- package/dist/libraries/layout-renderer-utils/src/sagas/metric/index.d.ts +1 -0
- package/dist/libraries/layout-renderer-utils/src/sagas/metric/sagas.d.ts +5 -0
- package/dist/libraries/layout-renderer-utils/src/sagas/open-link/index.d.ts +1 -0
- package/dist/libraries/layout-renderer-utils/src/sagas/open-link/sagas.d.ts +8 -0
- package/dist/libraries/layout-renderer-utils/src/sagas/overlay/index.d.ts +1 -0
- package/dist/libraries/layout-renderer-utils/src/sagas/overlay/sagas.d.ts +3 -0
- package/dist/libraries/layout-renderer-utils/src/sagas/plugin/channels.d.ts +5 -0
- package/dist/libraries/layout-renderer-utils/src/sagas/plugin/index.d.ts +2 -0
- package/dist/libraries/layout-renderer-utils/src/sagas/plugin/sagas.d.ts +16 -0
- package/dist/libraries/layout-renderer-utils/src/sagas/signal/index.d.ts +1 -0
- package/dist/libraries/layout-renderer-utils/src/sagas/signal/sagas.d.ts +8 -0
- package/dist/libraries/layout-renderer-utils/src/sagas/utils/errors.d.ts +2 -0
- package/dist/libraries/layout-renderer-utils/src/sagas/utils/index.d.ts +16 -0
- package/dist/libraries/layout-renderer-utils/src/sagas/utils/links.d.ts +12 -0
- package/dist/libraries/layout-renderer-utils/src/sagas/utils/window.d.ts +4 -0
- package/dist/libraries/layout-renderer-utils/src/selectors/breakpoint/index.d.ts +1 -0
- package/dist/libraries/layout-renderer-utils/src/selectors/breakpoint/selectors.d.ts +16 -0
- package/dist/libraries/layout-renderer-utils/src/selectors/custom-state/index.d.ts +1 -0
- package/dist/libraries/layout-renderer-utils/src/selectors/custom-state/selectors.d.ts +7 -0
- package/dist/libraries/layout-renderer-utils/src/selectors/index.d.ts +3 -0
- package/dist/libraries/layout-renderer-utils/src/selectors/signal/index.d.ts +1 -0
- package/dist/libraries/layout-renderer-utils/src/selectors/signal/selectors.d.ts +4 -0
- package/dist/libraries/layout-renderer-utils/src/utils/index.d.ts +2 -0
- package/dist/libraries/layout-renderer-utils/src/utils/signals.d.ts +3 -0
- package/dist/libraries/layout-renderer-utils/src/utils/store-test-utils.d.ts +11 -0
- package/dist/libraries/orchestrator/src/components/carousel-distribution/factory.d.ts +1 -0
- package/dist/libraries/orchestrator/src/components/escape-hatch/factory.d.ts +1 -0
- package/dist/libraries/orchestrator/src/components/grouped-distribution/factory.d.ts +1 -0
- package/dist/libraries/orchestrator/src/components/one-by-one-distribution/factory.d.ts +1 -0
- package/dist/libraries/orchestrator/src/components/progress-control/factory.d.ts +1 -0
- package/dist/libraries/orchestrator/src/components/progress-indicator/connector.d.ts +1 -1
- package/dist/libraries/orchestrator/src/components/progress-indicator/factory.d.ts +1 -0
- package/dist/libraries/orchestrator/src/components/stacked-distribution/factory.d.ts +1 -0
- package/dist/libraries/orchestrator/src/global-store-proxy.d.ts +1 -1
- package/dist/libraries/orchestrator/src/models/state/index.d.ts +1 -1
- package/dist/libraries/orchestrator/src/reducers/index.d.ts +8 -8
- package/dist/libraries/orchestrator/src/sagas/offer-engagement/sagas.d.ts +2 -2
- package/dist/libraries/orchestrator/src/sagas/utils/index.d.ts +1 -1
- package/dist/libraries/orchestrator/src/store.d.ts +2 -2
- package/dist/libraries/plugin-utils/src/plugin-service/error.d.ts +1 -1
- package/dist/libraries/plugin-utils/src/plugin-service/rdn.d.ts +1 -1
- package/dist/libraries/plugin-utils/src/plugin-service/theme.d.ts +2 -2
- package/dist/libraries/saga-utils/src/sagas/forward-global-actions-excluding.d.ts +1 -2
- package/dist/libraries/saga-utils/src/utils/index.d.ts +1 -0
- package/dist/libraries/saga-utils/src/utils/is-realtime-fulfillment-referral.d.ts +4 -0
- package/dist/modules/add-to-cart/src/components/catalog-quantity-counter/factory.d.ts +1 -0
- package/dist/modules/add-to-cart/src/components/catalog-radio-group/factory.d.ts +1 -0
- package/dist/modules/add-to-cart/src/components/catalog-response-button/factory.d.ts +1 -0
- package/dist/modules/add-to-cart/src/components/escape-hatch/factory.d.ts +1 -0
- package/dist/modules/add-to-cart/src/store.d.ts +2 -2
- package/dist/modules/instant-purchase/src/components/catalog-response-button/factory.d.ts +1 -0
- package/dist/modules/instant-purchase/src/components/escape-hatch/factory.d.ts +1 -0
- package/dist/modules/instant-purchase/src/store.d.ts +2 -2
- package/dist/modules/layouts-xp-sandbox/src/components/escape-hatch/factory.d.ts +1 -0
- package/dist/modules/layouts-xp-sandbox/src/components/product-catalog-carousel/navigation.d.ts +2 -2
- package/dist/modules/layouts-xp-sandbox/src/reducers/mock/reducer.d.ts +1 -1
- package/dist/modules/layouts-xp-sandbox/src/store.d.ts +2 -2
- package/dist/modules/standard-marketing/src/reducers/mock/reducer.d.ts +1 -1
- package/dist/modules/standard-marketing/src/store.d.ts +2 -2
- package/node_modules/@rokt/plugin/package.json +0 -1
- package/package.json +9 -8
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { breakpointReducer } from './breakpoint';
|
|
2
|
+
import { layoutReducer } from './layout';
|
|
3
|
+
import { activeReducer } from './active';
|
|
4
|
+
import { fontsReducer } from './fonts';
|
|
5
|
+
import { signalReducer } from './signal';
|
|
6
|
+
import { serializableCacheReducer } from './serializable-cache';
|
|
7
|
+
import { CoreAppState } from '../../../orchestrator/src/models';
|
|
8
|
+
import { settingsReducer } from './settings';
|
|
9
|
+
import { customStatesReducer } from './custom-states';
|
|
10
|
+
export * from './breakpoint';
|
|
11
|
+
export * from './layout';
|
|
12
|
+
export * from './active';
|
|
13
|
+
export * from './fonts';
|
|
14
|
+
export * from './signal';
|
|
15
|
+
export * from './serializable-cache';
|
|
16
|
+
export * from './settings';
|
|
17
|
+
export * from './custom-states';
|
|
18
|
+
export declare const coreAppReducers: {
|
|
19
|
+
layout: typeof layoutReducer;
|
|
20
|
+
breakpoint: typeof breakpointReducer;
|
|
21
|
+
active: typeof activeReducer;
|
|
22
|
+
fonts: typeof fontsReducer;
|
|
23
|
+
signal: typeof signalReducer;
|
|
24
|
+
serializableCache: typeof serializableCacheReducer;
|
|
25
|
+
settings: typeof settingsReducer;
|
|
26
|
+
customStates: typeof customStatesReducer;
|
|
27
|
+
};
|
|
28
|
+
export declare function makeCoreAppInitialState(data?: Partial<CoreAppState>): CoreAppState;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './reducer';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { AnyAction } from '@reduxjs/toolkit';
|
|
2
|
+
import { LayoutState } from '../../../../orchestrator/src/models';
|
|
3
|
+
export declare function makeInitialLayoutState(data?: LayoutState): LayoutState;
|
|
4
|
+
export declare function layoutReducer(state: LayoutState | undefined, action: AnyAction): LayoutState;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './reducer';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { AnyAction } from '@reduxjs/toolkit';
|
|
2
|
+
import { SerializableCacheState } from '../../../../orchestrator/src/models';
|
|
3
|
+
export declare function makeInitialSerializableCacheState(): Map<any, any>;
|
|
4
|
+
export declare function serializableCacheReducer(state: SerializableCacheState | undefined, action: AnyAction): SerializableCacheState;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './reducer';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { AnyAction } from '@reduxjs/toolkit';
|
|
2
|
+
import { LayoutSettings } from '@rokt/dcui-layout-schema';
|
|
3
|
+
export declare function makeInitialSettingsState(): LayoutSettings;
|
|
4
|
+
export declare function settingsReducer(state: LayoutSettings | undefined, action: AnyAction): LayoutSettings;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './reducer';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './sagas';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { CallEffect, CancelledEffect, ChannelTakeEffect, ForkEffect, PutEffect } from 'redux-saga/effects';
|
|
2
|
+
import { DisplayService } from '../../../../plugin-utils/src/index';
|
|
3
|
+
import { SetBreakpoints } from '../../../../orchestrator/src/actions';
|
|
4
|
+
export declare function setBreakpoints(displayService: DisplayService, action: SetBreakpoints): Generator<ChannelTakeEffect<string> | PutEffect | CancelledEffect | ForkEffect | CallEffect, void, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './sagas';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const INVALID_RESPONSE_OBJECT = "INVALID_RESPONSE_OBJECT";
|
|
2
|
+
export declare const INVALID_MODULE_NAME = "INVALID_MODULE_NAME";
|
|
3
|
+
export declare const FAILED_TO_OPEN_LINK = "FAILED_TO_OPEN_LINK";
|
|
4
|
+
export declare const FAILED_TO_ISSUE_SIGNAL = "FAILED_TO_ISSUE_SIGNAL";
|
|
5
|
+
export declare const FAILED_TO_CLOSE_PLUGIN = "FAILED_TO_CLOSE_PLUGIN";
|
|
6
|
+
export declare const NO_PARENT_GUID = "NO_PARENT_GUID";
|
|
7
|
+
export declare const FAILED_TO_LOAD_MODULE = "FAILED_TO_LOAD_MODULE";
|
|
8
|
+
export declare const FAILED_TO_ESTABLISH_BREAKPOINT_CHANNEL = "FAILED_TO_ESTABLISH_BREAKPOINT_CHANNEL";
|
|
9
|
+
export declare const FAILED_TO_DETERMINE_BREAKPOINT = "FAILED_TO_DETERMINE_BREAKPOINT";
|
|
10
|
+
export declare const FAILED_TO_NOTIFY_INTERACTIVE = "FAILED_TO_NOTIFY_INTERACTIVE";
|
|
11
|
+
export declare const FAILED_TO_PARSE_CONFIG = "FAILED_TO_PARSE_CONFIG";
|
|
12
|
+
export declare const COMMUNICATION_FAILURE_WITH_WSDK = "COMMUNICATION_FAILURE_WITH_WSDK";
|
|
13
|
+
export declare const INCORRECTLY_HANDLE_FULFILLMENT_ACTION = "INCORRECTLY_HANDLE_FULFILLMENT_ACTION";
|
|
14
|
+
export declare const INCORRECTLY_HANDLE_EXTERNAL_ACTION = "INCORRECTLY_HANDLE_EXTERNAL_ACTION";
|
|
15
|
+
export declare const FAILED_TO_LOAD_FONT = "FAILED_TO_LOAD_FONT";
|
|
16
|
+
export declare const FAILED_TO_ESTABLISH_PARTNER_VALIDATION = "FAILED_TO_ESTABLISH_PARTNER_VALIDATION";
|
|
17
|
+
export declare const PARTNER_VALIDATION_UPDATE_FAILED = "PARTNER_VALIDATION_UPDATE_FAILED";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { PluginInterface } from '@rokt/plugin';
|
|
2
|
+
import { CallEffect, ChannelTakeEffect, PutEffect } from 'redux-saga/effects';
|
|
3
|
+
import { EventChannel } from 'redux-saga';
|
|
4
|
+
import { ReportError } from '../../../../orchestrator/src/actions';
|
|
5
|
+
export declare function listenToErrorChannel(channel: EventChannel<ReportError>): Generator<ChannelTakeEffect<ReportError> | PutEffect<ReportError>, void, never>;
|
|
6
|
+
export declare function reportError(raiseError: PluginInterface['error']['raise'], action: ReportError): Generator<PutEffect | CallEffect, void, never>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from './breakpoint';
|
|
2
|
+
export * from './plugin';
|
|
3
|
+
export * from './log';
|
|
4
|
+
export * from './utils';
|
|
5
|
+
export * as SagaUtils from './utils';
|
|
6
|
+
export * from './signal';
|
|
7
|
+
export * from './error';
|
|
8
|
+
export * from './custom-states';
|
|
9
|
+
export * from './metric';
|
|
10
|
+
export * from './open-link';
|
|
11
|
+
export * from './overlay';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './sagas';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { PluginInterface } from '@rokt/plugin';
|
|
2
|
+
import { CallEffect, PutEffect, SelectEffect } from 'redux-saga/effects';
|
|
3
|
+
import { Log } from '../../../../orchestrator/src/actions';
|
|
4
|
+
export declare function log(raiseError: PluginInterface['error']['raise'], action: Log): Generator<PutEffect | CallEffect | SelectEffect, void, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './sagas';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { RaiseMetric } from '../../../../domain/src/behaviors';
|
|
2
|
+
import { CallEffect, PutEffect, SelectEffect } from 'redux-saga/effects';
|
|
3
|
+
import { MetricsService } from '../../../../plugin-utils/src/index';
|
|
4
|
+
import { ReportError, SerializableCacheActions } from '../../../../orchestrator/src/actions';
|
|
5
|
+
export declare function raiseMetric(metricsService: MetricsService, action: RaiseMetric): Generator<CallEffect | SelectEffect | PutEffect<SerializableCacheActions> | PutEffect<ReportError>, void, boolean | undefined>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './sagas';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { OpenLink } from '../../../../domain/src/behaviors';
|
|
2
|
+
import { CallEffect, PutEffect } from 'redux-saga/effects';
|
|
3
|
+
import { ChildPluginService, ContextService, PartnerInteractionService } from '../../../../plugin-utils/src/index';
|
|
4
|
+
export declare function openLinkSaga(dependencies: {
|
|
5
|
+
createChildPlugin: ChildPluginService['create'];
|
|
6
|
+
partner: PartnerInteractionService;
|
|
7
|
+
context: ContextService;
|
|
8
|
+
}, action: OpenLink): Generator<CallEffect | PutEffect>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './sagas';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { EventChannel } from 'redux-saga';
|
|
2
|
+
import { ThemeInterface } from '@rokt/plugin';
|
|
3
|
+
import { ConfigService } from '../../../../plugin-utils/src/index';
|
|
4
|
+
import { HandleConfigAction, SetFontsAction } from '../../../../orchestrator/src/actions';
|
|
5
|
+
export declare function makeWsdkChannel<LayoutModelType, PluginModelType>(configService: ConfigService<LayoutModelType>, themeService: ThemeInterface, transformRawConfig: (config: LayoutModelType) => PluginModelType | undefined): EventChannel<HandleConfigAction<PluginModelType> | SetFontsAction>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { CallEffect, PutEffect, SelectEffect } from '@redux-saga/core/effects';
|
|
2
|
+
import { LayoutDisplayPreset } from '@rokt/dcui-layout-schema';
|
|
3
|
+
import { RaceEffect } from 'redux-saga/effects';
|
|
4
|
+
import { ContextService, DisplayService } from '../../../../plugin-utils/src/index';
|
|
5
|
+
import { HandleConfigAction, ReportError } from '../../actions';
|
|
6
|
+
import { EventChannel } from 'redux-saga';
|
|
7
|
+
import { PluginService } from '../../../../plugin-utils/src/index';
|
|
8
|
+
export declare function closePlugin(contextService: ContextService): Generator<RaceEffect<CallEffect | Generator<SelectEffect | CallEffect, void, boolean>> | SelectEffect | CallEffect | Generator<SelectEffect | CallEffect, void, boolean> | PutEffect<ReportError>, void, boolean>;
|
|
9
|
+
export declare function listenToWsdkChannel<LayoutModelType, PluginModelType>(pluginService: PluginService<LayoutModelType>, transformRawConfig: (config: LayoutModelType) => PluginModelType | undefined): Generator<PutEffect<ReportError> | CallEffect<EventChannel<import("../../actions").SetFontsAction | HandleConfigAction<PluginModelType>>> | import("redux-saga/effects").ChannelTakeEffect<HandleConfigAction<PluginModelType>> | PutEffect<HandleConfigAction<PluginModelType>>, void, EventChannel<HandleConfigAction<PluginModelType>> & HandleConfigAction<PluginModelType>>;
|
|
10
|
+
export declare function wsdkSagas<LayoutModelType, PluginModelType>(pluginService: PluginService<LayoutModelType>, transformRawConfig: (config: LayoutModelType) => PluginModelType | undefined): Generator<import("redux-saga/effects").AllEffect<import("redux-saga/effects").ForkEffect<void>>, void, unknown>;
|
|
11
|
+
export declare function displayPlugin(displayService: DisplayService, preset?: LayoutDisplayPreset | null): Generator<CallEffect<void> | PutEffect<{
|
|
12
|
+
type: "ACTIVE/ADD";
|
|
13
|
+
payload: {
|
|
14
|
+
id: string;
|
|
15
|
+
};
|
|
16
|
+
}>, void, unknown>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './sagas';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { CallEffect, SelectEffect, PutEffect, AllEffect } from 'redux-saga/effects';
|
|
2
|
+
import { PrepareSignal, RaiseSignal } from '../../../../domain/src/behaviors';
|
|
3
|
+
import { RDNInterface } from '@rokt/plugin';
|
|
4
|
+
import { ProcessSignals } from '../../../../orchestrator/src/actions';
|
|
5
|
+
import { QueuedSignal } from '../../../../orchestrator/src/models';
|
|
6
|
+
export declare function raiseSignal(action: RaiseSignal): Generator<PutEffect, void, never>;
|
|
7
|
+
export declare function prepareSignal(action: PrepareSignal): Generator<PutEffect, void, never>;
|
|
8
|
+
export declare function processSignals(rdn: RDNInterface, _action: ProcessSignals): Generator<SelectEffect | CallEffect | PutEffect | AllEffect<Generator<CallEffect | PutEffect, void, never>>, void, string | Array<QueuedSignal> | undefined>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as windowUtils from './window';
|
|
2
|
+
export * from './links';
|
|
3
|
+
export * from './errors';
|
|
4
|
+
export * from './window';
|
|
5
|
+
declare const _default: {
|
|
6
|
+
isWindow(value: unknown): value is windowUtils.WindowRef;
|
|
7
|
+
makePluginWarningAction(err: unknown, message: string, originErrorCode: string, additionalInfo?: Record<string, unknown> | undefined): import("../..").ReportError;
|
|
8
|
+
openLink({ url, urlBehavior, external }: {
|
|
9
|
+
url: string;
|
|
10
|
+
urlBehavior: import("@rokt/domain/src/models").PluginUrlBehavior;
|
|
11
|
+
external: {
|
|
12
|
+
partner: import("../../../../../index").SenderReceiver;
|
|
13
|
+
};
|
|
14
|
+
}, injectedWindow?: Pick<Window, "top" | "open" | "RoktWebViewSDK">): Promise<windowUtils.WindowRef | null>;
|
|
15
|
+
};
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PluginUrlBehavior } from '../../../../domain/src/models';
|
|
2
|
+
import { PartnerInteractionService } from '../../../../plugin-utils/src/index';
|
|
3
|
+
import { WindowRef } from './window';
|
|
4
|
+
type LinkParams = {
|
|
5
|
+
url: string;
|
|
6
|
+
urlBehavior: PluginUrlBehavior;
|
|
7
|
+
external: {
|
|
8
|
+
partner: PartnerInteractionService;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export declare function openLink({ url, urlBehavior, external }: LinkParams, injectedWindow?: Pick<Window, 'top' | 'open' | 'RoktWebViewSDK'>): Promise<WindowRef | null>;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './selectors';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { BreakpointState } from '../../../../orchestrator/src/models';
|
|
2
|
+
export declare function getActiveBreakpointWidth(state: {
|
|
3
|
+
breakpoint: BreakpointState;
|
|
4
|
+
}): number;
|
|
5
|
+
export declare function getCurrentBreakpointIsGreaterThan(state: {
|
|
6
|
+
breakpoint: BreakpointState;
|
|
7
|
+
}, breakpoint: string): boolean | undefined;
|
|
8
|
+
export declare function getCurrentBreakpointIsLessThan(state: {
|
|
9
|
+
breakpoint: BreakpointState;
|
|
10
|
+
}, breakpoint: string): boolean | undefined;
|
|
11
|
+
export declare const getIndexOfBreakpointByName: (currentBreakpoint: string) => (state: {
|
|
12
|
+
breakpoint: BreakpointState;
|
|
13
|
+
}) => number;
|
|
14
|
+
export declare function getIndexOfActiveBreakpoint(state: {
|
|
15
|
+
breakpoint: BreakpointState;
|
|
16
|
+
}): number;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './selectors';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CustomStatesIndexState, CustomStatesState } from '../../../../orchestrator/src/models';
|
|
2
|
+
export declare function getModuleCustomStates(state: {
|
|
3
|
+
customStates: CustomStatesIndexState;
|
|
4
|
+
}, moduleId: number): CustomStatesState;
|
|
5
|
+
export declare function getRootCustomStates(state: {
|
|
6
|
+
customStates: CustomStatesIndexState;
|
|
7
|
+
}): CustomStatesState;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './selectors';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { Signals, RepeatableSignal, UniqueSignal } from '../../../domain/src/models';
|
|
2
|
+
export declare function generateSignalKey(signal: Signals): string;
|
|
3
|
+
export declare function isRepeatableSignal(name: RepeatableSignal['name'] | UniqueSignal['name']): name is RepeatableSignal['name'];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Dispatch, EnhancedStore } from '@reduxjs/toolkit';
|
|
2
|
+
import { CoreSagasActions, CoreStateActions } from '../../../orchestrator/src/actions';
|
|
3
|
+
import { CoreAppState } from '../../../orchestrator/src/models';
|
|
4
|
+
import { StoreExtension } from '../../../dcui-components/src/index';
|
|
5
|
+
import { PluginService } from '../../../plugin-utils/src/index';
|
|
6
|
+
export type AppDispatch = Dispatch<CoreStateActions> & Dispatch<CoreSagasActions>;
|
|
7
|
+
export type ExtendableStore = {
|
|
8
|
+
extend(extension: StoreExtension): void;
|
|
9
|
+
};
|
|
10
|
+
export type CoreAppStore = EnhancedStore<CoreAppState, CoreStateActions>;
|
|
11
|
+
export declare function makeCoreAppStore(pluginService: PluginService<unknown>, initialState?: Partial<CoreAppState>): CoreAppStore;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { OwnProps, StateProps } from './types';
|
|
2
|
-
export declare const connector: import("react-redux").InferableComponentEnhancerWithProps<StateProps & import("react-redux").DispatchProp<import("redux").
|
|
2
|
+
export declare const connector: import("react-redux").InferableComponentEnhancerWithProps<StateProps & import("react-redux").DispatchProp<import("redux").UnknownAction>, OwnProps>;
|
|
@@ -14,7 +14,7 @@ export declare function makeStoreProxyInitialState(): {
|
|
|
14
14
|
initialised: boolean;
|
|
15
15
|
};
|
|
16
16
|
progression: null;
|
|
17
|
-
customStates: import("
|
|
17
|
+
customStates: import("./models").CustomStatesState;
|
|
18
18
|
domainStates: import("./models").LayoutVariantDomainStatesState;
|
|
19
19
|
};
|
|
20
20
|
export declare function makeGlobalStoreProxy(store: AppStore): GlobalStore;
|
|
@@ -4,7 +4,7 @@ import { ProgressionState } from './progression';
|
|
|
4
4
|
import { SlotState } from './slots';
|
|
5
5
|
import { DomainStatesIndexState } from './domain-states';
|
|
6
6
|
import { GlobalOfferDataState } from './global-offer-data-state';
|
|
7
|
-
import { CoreAppState } from '
|
|
7
|
+
import { CoreAppState } from '../../../../layout-renderer-utils/src/index';
|
|
8
8
|
export * from './module';
|
|
9
9
|
export * from './progression';
|
|
10
10
|
export * from './slots';
|
|
@@ -11,14 +11,14 @@ export * from './module';
|
|
|
11
11
|
export * from './domain-states';
|
|
12
12
|
export * from './global-offer-data-state';
|
|
13
13
|
export declare const appReducers: {
|
|
14
|
-
layout: typeof import("
|
|
15
|
-
breakpoint: typeof import("
|
|
16
|
-
active: typeof import("
|
|
17
|
-
fonts: typeof import("
|
|
18
|
-
signal: typeof import("
|
|
19
|
-
serializableCache: typeof import("
|
|
20
|
-
settings: typeof import("
|
|
21
|
-
customStates: typeof import("
|
|
14
|
+
layout: typeof import("../../../layout-renderer-utils/src/index").layoutReducer;
|
|
15
|
+
breakpoint: typeof import("../../../layout-renderer-utils/src/index").breakpointReducer;
|
|
16
|
+
active: typeof import("../../../layout-renderer-utils/src/index").activeReducer;
|
|
17
|
+
fonts: typeof import("../../../layout-renderer-utils/src/index").fontsReducer;
|
|
18
|
+
signal: typeof import("../../../layout-renderer-utils/src/index").signalReducer;
|
|
19
|
+
serializableCache: typeof import("../../../layout-renderer-utils/src/index").serializableCacheReducer;
|
|
20
|
+
settings: typeof import("../../../layout-renderer-utils/src/index").settingsReducer;
|
|
21
|
+
customStates: typeof import("../../../layout-renderer-utils/src/index").customStatesReducer;
|
|
22
22
|
progression: typeof progressionReducer;
|
|
23
23
|
slots: typeof slotReducer;
|
|
24
24
|
module: typeof moduleReducer;
|
|
@@ -3,10 +3,10 @@ import { PluginCreativeResponseOption } from '../../../../domain/src/models';
|
|
|
3
3
|
import { CallEffect, PutEffect, SelectEffect, TakeEffect } from 'redux-saga/effects';
|
|
4
4
|
import { ReportError, ClosePlugin, OfferEngagement } from '../../actions';
|
|
5
5
|
import { ContextService, PartnerInteractionService } from '../../../../plugin-utils/src/index';
|
|
6
|
-
import { WindowRef } from '
|
|
6
|
+
import { WindowRef } from '../../../../layout-renderer-utils/src/index';
|
|
7
7
|
type NextValues = WindowRef | CallEffect | null | undefined;
|
|
8
8
|
type OfferCompletionResult = 'SUCCESS' | 'UNSPECIFIED' | 'ERROR' | 'EXPLICIT_DISMISSAL' | 'IMPLICIT_DISMISSAL' | 'END';
|
|
9
|
-
declare const handleUrlResponse: (args_0: PluginCreativeResponseOption, args_1: ContextService, args_2: import("@rokt/plugin").SenderReceiver) => Generator<TakeEffect | NextValues | PutEffect<RaiseSignal |
|
|
9
|
+
declare const handleUrlResponse: (args_0: PluginCreativeResponseOption, args_1: ContextService, args_2: import("@rokt/plugin").SenderReceiver) => Generator<TakeEffect | NextValues | PutEffect<RaiseSignal | ClosePlugin | ReportError>, OfferCompletionResult, NextValues>;
|
|
10
10
|
export declare function processOfferResponse(dependencies: {
|
|
11
11
|
context: ContextService;
|
|
12
12
|
partner: PartnerInteractionService;
|
|
@@ -2,6 +2,6 @@ import * as distributionUtils from './distribution';
|
|
|
2
2
|
export { Distribution } from './distribution';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
getDistribution(layout: import("@rokt/dcui-layout-schema").LayoutSchemaModel): distributionUtils.Distribution | undefined;
|
|
5
|
-
getDistributionViewableItems(distribution: distributionUtils.Distribution | undefined):
|
|
5
|
+
getDistributionViewableItems(distribution: distributionUtils.Distribution | undefined): number[] | undefined;
|
|
6
6
|
};
|
|
7
7
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Dispatch, EnhancedStore
|
|
1
|
+
import { Dispatch, EnhancedStore } from '@reduxjs/toolkit';
|
|
2
2
|
import { PluginService } from './plugin-service';
|
|
3
3
|
import { SagasActions, StateActions } from './actions';
|
|
4
4
|
import { AppState } from './models';
|
|
@@ -7,5 +7,5 @@ export type AppDispatch = Dispatch<StateActions> & Dispatch<SagasActions>;
|
|
|
7
7
|
export type ExtendableStore = {
|
|
8
8
|
extend(extension: StoreExtension): void;
|
|
9
9
|
};
|
|
10
|
-
export type AppStore = EnhancedStore<AppState, StateActions
|
|
10
|
+
export type AppStore = EnhancedStore<AppState, StateActions | SagasActions> & ExtendableStore;
|
|
11
11
|
export declare function makeAppStore(pluginService: PluginService, initialState?: Partial<AppState>): AppStore;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { PluginInterface } from '@rokt/plugin';
|
|
2
|
-
export declare const makeErrorService: (pluginInterface: Pick<PluginInterface,
|
|
2
|
+
export declare const makeErrorService: (pluginInterface: Pick<PluginInterface, 'error'>) => {
|
|
3
3
|
raise: (options: import("@rokt/plugin").RaiseErrorOptions) => Promise<void>;
|
|
4
4
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { PluginInterface, RDNInterface } from '@rokt/plugin';
|
|
2
|
-
export declare const makeRDNService: (pluginInterface: Pick<PluginInterface,
|
|
2
|
+
export declare const makeRDNService: (pluginInterface: Pick<PluginInterface, 'rdn'>) => RDNInterface;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { PluginInterface } from '@rokt/plugin';
|
|
2
|
-
export declare const makeThemeService: (pluginInterface: Pick<PluginInterface,
|
|
2
|
+
export declare const makeThemeService: (pluginInterface: Pick<PluginInterface, 'theme'>) => {
|
|
3
3
|
configurables: import("@rokt/plugin/interface/subscriber").Subscriber<Record<string, string>>;
|
|
4
4
|
fonts: import("@rokt/plugin/interface/subscriber").Subscriber<{
|
|
5
5
|
fontFamily: string;
|
|
6
6
|
fontStyle: string;
|
|
7
7
|
fontWeight: string;
|
|
8
|
-
src:
|
|
8
|
+
src: string[];
|
|
9
9
|
}[]>;
|
|
10
10
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { GlobalActionType } from '../../../domain/src/behaviors';
|
|
2
2
|
import { CallEffect } from 'redux-saga/effects';
|
|
3
|
-
import { AnyAction } from '@reduxjs/toolkit';
|
|
4
3
|
import { GlobalGateway } from '../../../module-connector/src/main';
|
|
5
|
-
export declare function forwardGlobalActionsExcluding(excludedActions: GlobalActionType[], gateway: GlobalGateway, action:
|
|
4
|
+
export declare function forwardGlobalActionsExcluding(excludedActions: GlobalActionType[], gateway: GlobalGateway, action: unknown): Generator<CallEffect, void, never>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Dispatch, EnhancedStore
|
|
1
|
+
import { Dispatch, EnhancedStore } from '@reduxjs/toolkit';
|
|
2
2
|
import { AppState, StateActions } from './reducers';
|
|
3
3
|
import { GlobalGateway } from '../../../libraries/module-connector/src/main';
|
|
4
4
|
import { Log } from '../../../libraries/domain/src/models';
|
|
5
5
|
import { GlobalActions } from '../../../libraries/domain/src/behaviors';
|
|
6
6
|
export type AppDispatch = Dispatch<StateActions> & Dispatch<GlobalActions>;
|
|
7
|
-
export type AppStore = EnhancedStore<AppState, StateActions
|
|
7
|
+
export type AppStore = EnhancedStore<AppState, StateActions>;
|
|
8
8
|
export declare function makeAppStore(gateway: GlobalGateway, logger: (log: Log) => void, initialState: AppState): AppStore;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Dispatch, EnhancedStore
|
|
1
|
+
import { Dispatch, EnhancedStore } from '@reduxjs/toolkit';
|
|
2
2
|
import { GlobalGateway } from '../../../libraries/module-connector/src/main';
|
|
3
3
|
import { Log } from '../../../libraries/domain/src/models';
|
|
4
4
|
import { GlobalActions } from '../../../libraries/domain/src/behaviors';
|
|
5
5
|
import { AppState, StateActions } from './reducers';
|
|
6
6
|
export type AppDispatch = Dispatch<StateActions> & Dispatch<GlobalActions>;
|
|
7
|
-
export type AppStore = EnhancedStore<AppState, StateActions
|
|
7
|
+
export type AppStore = EnhancedStore<AppState, StateActions>;
|
|
8
8
|
export declare function makeAppStore(gateway: GlobalGateway, logger: (log: Log) => void, initialState?: AppState): AppStore;
|
package/dist/modules/layouts-xp-sandbox/src/components/product-catalog-carousel/navigation.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { UseEmblaCarouselType } from 'embla-carousel-react';
|
|
2
2
|
type UseNavigation = {
|
|
3
3
|
prevBtnDisabled: boolean;
|
|
4
4
|
nextBtnDisabled: boolean;
|
|
5
5
|
onPrevButtonClick?: () => void;
|
|
6
6
|
onNextButtonClick?: () => void;
|
|
7
7
|
};
|
|
8
|
-
declare function useNavigation(emblaApi:
|
|
8
|
+
declare function useNavigation(emblaApi: UseEmblaCarouselType[1]): UseNavigation;
|
|
9
9
|
type NavigationButtonProps = {
|
|
10
10
|
disabled: boolean;
|
|
11
11
|
onClick?(): void;
|
|
@@ -6,4 +6,4 @@ export type MockUpdateAction = {
|
|
|
6
6
|
type: typeof MOCK_UPDATE;
|
|
7
7
|
};
|
|
8
8
|
export type MockActions = MockUpdateAction;
|
|
9
|
-
export declare function mockReducer(state:
|
|
9
|
+
export declare function mockReducer(state: null | undefined, action: AnyAction): MockState;
|