@threekit-tools/treble 0.0.89-next-006 → 0.0.90-next-01
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/components/BreatheAnimation/index.js +2 -2
- package/dist/components/TurntableAnimation/index.js +2 -2
- package/dist/components/containers/formInputContainer.js +3 -3
- package/dist/hooks/useConfigurationChangeStatus/index.d.ts +2 -0
- package/dist/hooks/{usePlayerLoadingStatus → useConfigurationChangeStatus}/index.js +2 -2
- package/dist/hooks/usePlayerReady/index.d.ts +2 -0
- package/dist/hooks/{useAnimationStart → usePlayerReady}/index.js +2 -2
- package/dist/icons/types.d.ts +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.js +9 -5
- package/dist/store/index.d.ts +32 -8
- package/package.json +1 -1
- package/dist/hooks/useAnimationStart/index.d.ts +0 -2
- package/dist/hooks/usePlayerLoadingStatus/index.d.ts +0 -2
|
@@ -40,10 +40,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
40
40
|
};
|
|
41
41
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
42
42
|
var react_1 = require("react");
|
|
43
|
-
var
|
|
43
|
+
var usePlayerReady_1 = __importDefault(require("../../hooks/usePlayerReady"));
|
|
44
44
|
var types_1 = require("../../types");
|
|
45
45
|
var BreatheAnimation = function (props) {
|
|
46
|
-
var readyToAnimate = (0,
|
|
46
|
+
var readyToAnimate = (0, usePlayerReady_1.default)();
|
|
47
47
|
var initialTranslation = (0, react_1.useRef)(null);
|
|
48
48
|
var initialRotation = (0, react_1.useRef)(null);
|
|
49
49
|
var animationInProgress = (0, react_1.useRef)(false);
|
|
@@ -40,7 +40,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
40
40
|
};
|
|
41
41
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
42
42
|
var react_1 = require("react");
|
|
43
|
-
var
|
|
43
|
+
var usePlayerReady_1 = __importDefault(require("../../hooks/usePlayerReady"));
|
|
44
44
|
var types_1 = require("../../types");
|
|
45
45
|
var RotationDirections;
|
|
46
46
|
(function (RotationDirections) {
|
|
@@ -48,7 +48,7 @@ var RotationDirections;
|
|
|
48
48
|
RotationDirections["COUNTER_CLOCKWISE"] = "counter-clockwise";
|
|
49
49
|
})(RotationDirections || (RotationDirections = {}));
|
|
50
50
|
var TurntableAnimation = function (props) {
|
|
51
|
-
var readyToAnimate = (0,
|
|
51
|
+
var readyToAnimate = (0, usePlayerReady_1.default)();
|
|
52
52
|
var initialRotation = (0, react_1.useRef)(null);
|
|
53
53
|
var animationInProgress = (0, react_1.useRef)(false);
|
|
54
54
|
var rotationNodeId = (0, react_1.useRef)(undefined);
|
|
@@ -17,7 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
exports.hydrateAttributeForComponent = void 0;
|
|
18
18
|
var react_1 = __importDefault(require("react"));
|
|
19
19
|
var useAttribute_1 = __importDefault(require("../../hooks/useAttribute"));
|
|
20
|
-
var
|
|
20
|
+
var useConfigurationChangeStatus_1 = __importDefault(require("../../hooks/useConfigurationChangeStatus"));
|
|
21
21
|
var utils_1 = require("../../utils");
|
|
22
22
|
var constants_1 = require("../../constants");
|
|
23
23
|
var hydrateAttributeForComponent = function (attribute, config) {
|
|
@@ -80,7 +80,7 @@ exports.hydrateAttributeForComponent = hydrateAttributeForComponent;
|
|
|
80
80
|
function formComponentContainer(FormComponent) {
|
|
81
81
|
return function (props) {
|
|
82
82
|
var attribute = props.attribute, metadataKeyThumbnail = props.metadataKeyThumbnail, metadataKeyDescription = props.metadataKeyDescription, metadataKeyPrice = props.metadataKeyPrice, hideAttributeTitle = props.hideAttributeTitle, sort = props.sort;
|
|
83
|
-
var
|
|
83
|
+
var isConfigurationChanging = (0, useConfigurationChangeStatus_1.default)();
|
|
84
84
|
var _a = (0, useAttribute_1.default)(attribute), attributeData = _a[0], setAttribute = _a[1];
|
|
85
85
|
if (!attribute)
|
|
86
86
|
return react_1.default.createElement(FormComponent, __assign({}, props));
|
|
@@ -104,7 +104,7 @@ function formComponentContainer(FormComponent) {
|
|
|
104
104
|
var preppedProps = __assign({}, props);
|
|
105
105
|
if (!hideAttributeTitle && !preppedProps.title)
|
|
106
106
|
preppedProps.title = attributeData.label;
|
|
107
|
-
return (react_1.default.createElement(FormComponent, __assign({}, preppedProps, { value: selected, onClick: handleSetAttribute, onChange: handleSetAttribute, options: options, isPlayerLoading:
|
|
107
|
+
return (react_1.default.createElement(FormComponent, __assign({}, preppedProps, { value: selected, onClick: handleSetAttribute, onChange: handleSetAttribute, options: options, isPlayerLoading: isConfigurationChanging })));
|
|
108
108
|
};
|
|
109
109
|
}
|
|
110
110
|
exports.default = formComponentContainer;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
var store_1 = require("../../store");
|
|
4
4
|
var treble_1 = require("../../store/treble");
|
|
5
|
-
var
|
|
5
|
+
var useConfigurationChangeStatus = function () {
|
|
6
6
|
return (0, store_1.useThreekitSelector)(treble_1.isPlayerLoading);
|
|
7
7
|
};
|
|
8
|
-
exports.default =
|
|
8
|
+
exports.default = useConfigurationChangeStatus;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
var store_1 = require("../../store");
|
|
4
4
|
var treble_1 = require("../../store/treble");
|
|
5
|
-
var
|
|
5
|
+
var usePlayerReady = function () {
|
|
6
6
|
return (0, store_1.useThreekitSelector)(treble_1.isFirstRenderComplete);
|
|
7
7
|
};
|
|
8
|
-
exports.default =
|
|
8
|
+
exports.default = usePlayerReady;
|
package/dist/icons/types.d.ts
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,8 @@ import useConfigurationLoader from './hooks/useConfigurationLoader';
|
|
|
4
4
|
import useFirstPlayerInteraction from './hooks/useFirstPlayerInteraction';
|
|
5
5
|
import useMetadata from './hooks/useMetadata';
|
|
6
6
|
import useName from './hooks/useName';
|
|
7
|
-
import usePlayerLoadingStatus from './hooks/
|
|
7
|
+
import usePlayerLoadingStatus from './hooks/useConfigurationChangeStatus';
|
|
8
|
+
import useConfigurationChangeStatus from './hooks/useConfigurationChangeStatus';
|
|
8
9
|
import usePrice from './hooks/usePrice';
|
|
9
10
|
import useThreekitInitStatus from './hooks/useThreekitInitStatus';
|
|
10
11
|
import useZoom from './hooks/useZoom';
|
|
@@ -15,6 +16,7 @@ import usePlayerPortal from './hooks/usePlayerPortal';
|
|
|
15
16
|
import useProductCache from './hooks/useProductCache';
|
|
16
17
|
import useNestedConfigurator from './hooks/useNestedConfigurator';
|
|
17
18
|
import useLoadingProgress from './hooks/useLoadingProgress';
|
|
19
|
+
import usePlayerReady from './hooks/usePlayerReady';
|
|
18
20
|
import usePlayer from './hooks/usePlayer';
|
|
19
21
|
import useRoomBuilder from './hooks/useRoomBuilder';
|
|
20
22
|
import ThreekitProvider from './components/ThreekitProvider';
|
|
@@ -109,4 +111,4 @@ import DoorIcon from './icons/Door';
|
|
|
109
111
|
import OpeningIcon from './icons/Opening';
|
|
110
112
|
import WallIcon from './icons/Wall';
|
|
111
113
|
import LayoutIcon from './icons/Layout';
|
|
112
|
-
export { useAttribute, useConfigurator, useConfigurationLoader, useFirstPlayerInteraction, useMetadata, useName, usePlayerLoadingStatus, usePrice, useThreekitInitStatus, useZoom, useSnapshot, useWishlist, useShare, usePlayerPortal, useProductCache, useNestedConfigurator, useLoadingProgress, usePlayer, useRoomBuilder, ThreekitProvider, Player, Button, Cards, Dropdown, Strips, Swatch, TextInput, Tiles, TilesGroup, Upload, Switch, ProductName, ProductDescription, AttributeTitle, AttributeValue, TotalPrice, Skeleton, message, Modal, Drawer, Accordion, Tabs, PortalToArOverlay, PortalToElement, AwaitThreekitLoad, FlatForm, Zoom, Snapshots, Wishlist, Share, TrebleApp, ProductLayout, PlayerLoadingCircular, PlayerLoadingSpinner, DraggableHint, TurntableAnimation, BreatheAnimation, RoomBuilderLayoutIcon, AddIcon, ArrowLeftIcon, ArrowRightIcon, CameraIcon, CaretDownIcon, CaretUpIcon, CaretLeftIcon, CaretRightIcon, CartIcon, CheckmateIcon, ClipboardIcon, ColorPickerIcon, CopyIcon, DeleteIcon, DoubleCaretLeftIcon, DoubleCaretRightIcon, DownloadIcon, DraggableIcon, DragIcon, EditIcon, HeartIcon, ImageIcon, InfoIcon, MailIcon, MenuIcon, MoreIcon, NewWindowIcon, PauseIcon, PlayIcon, Player3DIcon, RedoIcon, RemoveIcon, RulerIcon, SearchIcon, SettingsIcon, ShareIcon, SwitchIcon, TagIcon, UndoIcon, WishlistIcon, ZoomInIcon, ZoomOutIcon, SpinnerIcon, AngleIcon, TrashCanIcon, TrashCanAltIcon, CursorIcon, WindowIcon, DrawIcon, DoorIcon, OpeningIcon, WallIcon, LayoutIcon, };
|
|
114
|
+
export { useAttribute, useConfigurator, useConfigurationLoader, useFirstPlayerInteraction, useMetadata, useName, usePlayerLoadingStatus, useConfigurationChangeStatus, usePrice, useThreekitInitStatus, useZoom, useSnapshot, useWishlist, useShare, usePlayerPortal, useProductCache, useNestedConfigurator, useLoadingProgress, usePlayer, useRoomBuilder, usePlayerReady, ThreekitProvider, Player, Button, Cards, Dropdown, Strips, Swatch, TextInput, Tiles, TilesGroup, Upload, Switch, ProductName, ProductDescription, AttributeTitle, AttributeValue, TotalPrice, Skeleton, message, Modal, Drawer, Accordion, Tabs, PortalToArOverlay, PortalToElement, AwaitThreekitLoad, FlatForm, Zoom, Snapshots, Wishlist, Share, TrebleApp, ProductLayout, PlayerLoadingCircular, PlayerLoadingSpinner, DraggableHint, TurntableAnimation, BreatheAnimation, RoomBuilderLayoutIcon, AddIcon, ArrowLeftIcon, ArrowRightIcon, CameraIcon, CaretDownIcon, CaretUpIcon, CaretLeftIcon, CaretRightIcon, CartIcon, CheckmateIcon, ClipboardIcon, ColorPickerIcon, CopyIcon, DeleteIcon, DoubleCaretLeftIcon, DoubleCaretRightIcon, DownloadIcon, DraggableIcon, DragIcon, EditIcon, HeartIcon, ImageIcon, InfoIcon, MailIcon, MenuIcon, MoreIcon, NewWindowIcon, PauseIcon, PlayIcon, Player3DIcon, RedoIcon, RemoveIcon, RulerIcon, SearchIcon, SettingsIcon, ShareIcon, SwitchIcon, TagIcon, UndoIcon, WishlistIcon, ZoomInIcon, ZoomOutIcon, SpinnerIcon, AngleIcon, TrashCanIcon, TrashCanAltIcon, CursorIcon, WindowIcon, DrawIcon, DoorIcon, OpeningIcon, WallIcon, LayoutIcon, };
|
package/dist/index.js
CHANGED
|
@@ -3,9 +3,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.LayoutIcon = exports.WallIcon = exports.OpeningIcon = exports.DoorIcon = exports.DrawIcon = exports.WindowIcon = exports.CursorIcon = exports.TrashCanAltIcon = exports.TrashCanIcon = exports.AngleIcon = exports.SpinnerIcon = void 0;
|
|
6
|
+
exports.Snapshots = exports.Zoom = exports.FlatForm = exports.AwaitThreekitLoad = exports.PortalToElement = exports.PortalToArOverlay = exports.Tabs = exports.Accordion = exports.Drawer = exports.Modal = exports.message = exports.Skeleton = exports.TotalPrice = exports.AttributeValue = exports.AttributeTitle = exports.ProductDescription = exports.ProductName = exports.Switch = exports.Upload = exports.TilesGroup = exports.Tiles = exports.TextInput = exports.Swatch = exports.Strips = exports.Dropdown = exports.Cards = exports.Button = exports.Player = exports.ThreekitProvider = exports.usePlayerReady = exports.useRoomBuilder = exports.usePlayer = exports.useLoadingProgress = exports.useNestedConfigurator = exports.useProductCache = exports.usePlayerPortal = exports.useShare = exports.useWishlist = exports.useSnapshot = exports.useZoom = exports.useThreekitInitStatus = exports.usePrice = exports.useConfigurationChangeStatus = exports.usePlayerLoadingStatus = exports.useName = exports.useMetadata = exports.useFirstPlayerInteraction = exports.useConfigurationLoader = exports.useConfigurator = exports.useAttribute = void 0;
|
|
7
|
+
exports.WishlistIcon = exports.UndoIcon = exports.TagIcon = exports.SwitchIcon = exports.ShareIcon = exports.SettingsIcon = exports.SearchIcon = exports.RulerIcon = exports.RemoveIcon = exports.RedoIcon = exports.Player3DIcon = exports.PlayIcon = exports.PauseIcon = exports.NewWindowIcon = exports.MoreIcon = exports.MenuIcon = exports.MailIcon = exports.InfoIcon = exports.ImageIcon = exports.HeartIcon = exports.EditIcon = exports.DragIcon = exports.DraggableIcon = exports.DownloadIcon = exports.DoubleCaretRightIcon = exports.DoubleCaretLeftIcon = exports.DeleteIcon = exports.CopyIcon = exports.ColorPickerIcon = exports.ClipboardIcon = exports.CheckmateIcon = exports.CartIcon = exports.CaretRightIcon = exports.CaretLeftIcon = exports.CaretUpIcon = exports.CaretDownIcon = exports.CameraIcon = exports.ArrowRightIcon = exports.ArrowLeftIcon = exports.AddIcon = exports.RoomBuilderLayoutIcon = exports.BreatheAnimation = exports.TurntableAnimation = exports.DraggableHint = exports.PlayerLoadingSpinner = exports.PlayerLoadingCircular = exports.ProductLayout = exports.TrebleApp = exports.Share = exports.Wishlist = void 0;
|
|
8
|
+
exports.LayoutIcon = exports.WallIcon = exports.OpeningIcon = exports.DoorIcon = exports.DrawIcon = exports.WindowIcon = exports.CursorIcon = exports.TrashCanAltIcon = exports.TrashCanIcon = exports.AngleIcon = exports.SpinnerIcon = exports.ZoomOutIcon = exports.ZoomInIcon = void 0;
|
|
9
9
|
var useAttribute_1 = __importDefault(require("./hooks/useAttribute"));
|
|
10
10
|
exports.useAttribute = useAttribute_1.default;
|
|
11
11
|
var useConfigurator_1 = __importDefault(require("./hooks/useConfigurator"));
|
|
@@ -18,8 +18,10 @@ var useMetadata_1 = __importDefault(require("./hooks/useMetadata"));
|
|
|
18
18
|
exports.useMetadata = useMetadata_1.default;
|
|
19
19
|
var useName_1 = __importDefault(require("./hooks/useName"));
|
|
20
20
|
exports.useName = useName_1.default;
|
|
21
|
-
var
|
|
22
|
-
exports.usePlayerLoadingStatus =
|
|
21
|
+
var useConfigurationChangeStatus_1 = __importDefault(require("./hooks/useConfigurationChangeStatus"));
|
|
22
|
+
exports.usePlayerLoadingStatus = useConfigurationChangeStatus_1.default;
|
|
23
|
+
var useConfigurationChangeStatus_2 = __importDefault(require("./hooks/useConfigurationChangeStatus"));
|
|
24
|
+
exports.useConfigurationChangeStatus = useConfigurationChangeStatus_2.default;
|
|
23
25
|
var usePrice_1 = __importDefault(require("./hooks/usePrice"));
|
|
24
26
|
exports.usePrice = usePrice_1.default;
|
|
25
27
|
var useThreekitInitStatus_1 = __importDefault(require("./hooks/useThreekitInitStatus"));
|
|
@@ -40,6 +42,8 @@ var useNestedConfigurator_1 = __importDefault(require("./hooks/useNestedConfigur
|
|
|
40
42
|
exports.useNestedConfigurator = useNestedConfigurator_1.default;
|
|
41
43
|
var useLoadingProgress_1 = __importDefault(require("./hooks/useLoadingProgress"));
|
|
42
44
|
exports.useLoadingProgress = useLoadingProgress_1.default;
|
|
45
|
+
var usePlayerReady_1 = __importDefault(require("./hooks/usePlayerReady"));
|
|
46
|
+
exports.usePlayerReady = usePlayerReady_1.default;
|
|
43
47
|
var usePlayer_1 = __importDefault(require("./hooks/usePlayer"));
|
|
44
48
|
exports.usePlayer = usePlayer_1.default;
|
|
45
49
|
var useRoomBuilder_1 = __importDefault(require("./hooks/useRoomBuilder"));
|
package/dist/store/index.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ declare const store: import("@reduxjs/toolkit").EnhancedStore<{
|
|
|
8
8
|
wishlist: import("../Treble").WishlistArray;
|
|
9
9
|
price: import("./price").PriceState;
|
|
10
10
|
roomBuilder: import("./roomBuilder").RoomBuilderState;
|
|
11
|
-
}, import("redux").AnyAction, import("@reduxjs/toolkit").MiddlewareArray<
|
|
11
|
+
}, import("redux").AnyAction, import("@reduxjs/toolkit").MiddlewareArray<import("redux-thunk").ThunkMiddleware<{
|
|
12
12
|
treble: import("./treble").TrebleState;
|
|
13
13
|
product: import("./product").ProductState;
|
|
14
14
|
attributes: import("./attributes").AttributesState;
|
|
@@ -16,7 +16,7 @@ declare const store: import("@reduxjs/toolkit").EnhancedStore<{
|
|
|
16
16
|
wishlist: import("../Treble").WishlistArray;
|
|
17
17
|
price: import("./price").PriceState;
|
|
18
18
|
roomBuilder: import("./roomBuilder").RoomBuilderState;
|
|
19
|
-
}, import("redux").AnyAction,
|
|
19
|
+
}, import("redux").AnyAction, null> | import("redux-thunk").ThunkMiddleware<{
|
|
20
20
|
treble: import("./treble").TrebleState;
|
|
21
21
|
product: import("./product").ProductState;
|
|
22
22
|
attributes: import("./attributes").AttributesState;
|
|
@@ -24,7 +24,15 @@ declare const store: import("@reduxjs/toolkit").EnhancedStore<{
|
|
|
24
24
|
wishlist: import("../Treble").WishlistArray;
|
|
25
25
|
price: import("./price").PriceState;
|
|
26
26
|
roomBuilder: import("./roomBuilder").RoomBuilderState;
|
|
27
|
-
}, import("redux").AnyAction, undefined
|
|
27
|
+
}, import("redux").AnyAction, undefined> | import("redux").Middleware<{}, {
|
|
28
|
+
treble: import("./treble").TrebleState;
|
|
29
|
+
product: import("./product").ProductState;
|
|
30
|
+
attributes: import("./attributes").AttributesState;
|
|
31
|
+
translations: import("./translations").TranslationsState;
|
|
32
|
+
wishlist: import("../Treble").WishlistArray;
|
|
33
|
+
price: import("./price").PriceState;
|
|
34
|
+
roomBuilder: import("./roomBuilder").RoomBuilderState;
|
|
35
|
+
}, import("redux").Dispatch<import("redux").AnyAction>>>>;
|
|
28
36
|
export declare const createStore: (reducer?: Record<string, Reducer>) => import("@reduxjs/toolkit").EnhancedStore<{
|
|
29
37
|
treble: import("./treble").TrebleState;
|
|
30
38
|
product: import("./product").ProductState;
|
|
@@ -33,7 +41,7 @@ export declare const createStore: (reducer?: Record<string, Reducer>) => import(
|
|
|
33
41
|
wishlist: import("../Treble").WishlistArray;
|
|
34
42
|
price: import("./price").PriceState;
|
|
35
43
|
roomBuilder: import("./roomBuilder").RoomBuilderState;
|
|
36
|
-
}, import("redux").AnyAction, import("@reduxjs/toolkit").MiddlewareArray<
|
|
44
|
+
}, import("redux").AnyAction, import("@reduxjs/toolkit").MiddlewareArray<import("redux-thunk").ThunkMiddleware<{
|
|
37
45
|
treble: import("./treble").TrebleState;
|
|
38
46
|
product: import("./product").ProductState;
|
|
39
47
|
attributes: import("./attributes").AttributesState;
|
|
@@ -41,7 +49,7 @@ export declare const createStore: (reducer?: Record<string, Reducer>) => import(
|
|
|
41
49
|
wishlist: import("../Treble").WishlistArray;
|
|
42
50
|
price: import("./price").PriceState;
|
|
43
51
|
roomBuilder: import("./roomBuilder").RoomBuilderState;
|
|
44
|
-
}, import("redux").AnyAction,
|
|
52
|
+
}, import("redux").AnyAction, null> | import("redux-thunk").ThunkMiddleware<{
|
|
45
53
|
treble: import("./treble").TrebleState;
|
|
46
54
|
product: import("./product").ProductState;
|
|
47
55
|
attributes: import("./attributes").AttributesState;
|
|
@@ -49,10 +57,26 @@ export declare const createStore: (reducer?: Record<string, Reducer>) => import(
|
|
|
49
57
|
wishlist: import("../Treble").WishlistArray;
|
|
50
58
|
price: import("./price").PriceState;
|
|
51
59
|
roomBuilder: import("./roomBuilder").RoomBuilderState;
|
|
52
|
-
}, import("redux").AnyAction, undefined
|
|
60
|
+
}, import("redux").AnyAction, undefined> | import("redux").Middleware<{}, {
|
|
61
|
+
treble: import("./treble").TrebleState;
|
|
62
|
+
product: import("./product").ProductState;
|
|
63
|
+
attributes: import("./attributes").AttributesState;
|
|
64
|
+
translations: import("./translations").TranslationsState;
|
|
65
|
+
wishlist: import("../Treble").WishlistArray;
|
|
66
|
+
price: import("./price").PriceState;
|
|
67
|
+
roomBuilder: import("./roomBuilder").RoomBuilderState;
|
|
68
|
+
}, import("redux").Dispatch<import("redux").AnyAction>>>>;
|
|
53
69
|
export declare type RootState = ReturnType<typeof store.getState>;
|
|
54
70
|
export declare type ThreekitDispatch = typeof store.dispatch;
|
|
55
|
-
export declare const useThreekitDispatch: () => import("@reduxjs/toolkit").ThunkDispatch<{
|
|
71
|
+
export declare const useThreekitDispatch: () => import("redux").Dispatch<import("redux").AnyAction> & import("@reduxjs/toolkit").ThunkDispatch<{
|
|
72
|
+
treble: import("./treble").TrebleState;
|
|
73
|
+
product: import("./product").ProductState;
|
|
74
|
+
attributes: import("./attributes").AttributesState;
|
|
75
|
+
translations: import("./translations").TranslationsState;
|
|
76
|
+
wishlist: import("../Treble").WishlistArray;
|
|
77
|
+
price: import("./price").PriceState;
|
|
78
|
+
roomBuilder: import("./roomBuilder").RoomBuilderState;
|
|
79
|
+
}, null, import("redux").AnyAction> & import("@reduxjs/toolkit").ThunkDispatch<{
|
|
56
80
|
treble: import("./treble").TrebleState;
|
|
57
81
|
product: import("./product").ProductState;
|
|
58
82
|
attributes: import("./attributes").AttributesState;
|
|
@@ -60,6 +84,6 @@ export declare const useThreekitDispatch: () => import("@reduxjs/toolkit").Thunk
|
|
|
60
84
|
wishlist: import("../Treble").WishlistArray;
|
|
61
85
|
price: import("./price").PriceState;
|
|
62
86
|
roomBuilder: import("./roomBuilder").RoomBuilderState;
|
|
63
|
-
}, undefined, import("redux").AnyAction
|
|
87
|
+
}, undefined, import("redux").AnyAction>;
|
|
64
88
|
export declare const useThreekitSelector: TypedUseSelectorHook<RootState>;
|
|
65
89
|
export default createStore;
|
package/package.json
CHANGED