@threekit-tools/treble 0.0.94 → 0.0.95-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/Treble/Treble.d.ts +2 -2
- package/dist/Treble/Treble.js +3 -3
- package/dist/Treble/index.d.ts +1 -1
- package/dist/Treble/index.js +1 -1
- package/dist/Treble/{snapshots.d.ts → snapshot.d.ts} +1 -1
- package/dist/Treble/{snapshots.js → snapshot.js} +1 -1
- package/dist/Treble/wishlist.d.ts +1 -1
- package/dist/Treble/wishlist.js +1 -1
- package/dist/api/assets.js +1 -1
- package/dist/api/catalog.js +1 -1
- package/dist/api/configurations.js +1 -1
- package/dist/api/datatables.js +1 -1
- package/dist/api/orders.js +1 -1
- package/dist/api/price.js +1 -1
- package/dist/components/AttributeTitle/index.d.ts +2 -2
- package/dist/components/AttributeValue/index.d.ts +2 -2
- package/dist/components/BreatheAnimation/index.js +1 -1
- package/dist/components/Button/index.d.ts +3 -3
- package/dist/components/Cards/index.d.ts +3 -3
- package/dist/components/DevTools/index.d.ts +2 -2
- package/dist/components/DraggableHint/draggableIndicator.styles.d.ts +1 -1
- package/dist/components/DraggableHint/index.d.ts +2 -2
- package/dist/components/Dropdown/index.d.ts +3 -3
- package/dist/components/FlatForm/index.d.ts +2 -2
- package/dist/components/FormComponentDescription/index.d.ts +1 -1
- package/dist/components/FormComponentTitle/index.d.ts +1 -1
- package/dist/components/Player/index.d.ts +9 -9
- package/dist/components/PlayerLoadingCircular/index.d.ts +2 -2
- package/dist/components/PlayerLoadingSpinner/index.d.ts +2 -2
- package/dist/components/PlayerLoadingSpinner/playerLoadingSpinner.styles.d.ts +1 -1
- package/dist/components/ProductDescription/index.d.ts +3 -3
- package/dist/components/ProductName/index.d.ts +3 -3
- package/dist/components/Share/index.d.ts +2 -2
- package/dist/components/Share/index.js +1 -1
- package/dist/components/Share/share.styles.d.ts +1 -1
- package/dist/components/Snapshots/index.d.ts +2 -2
- package/dist/components/Strips/index.d.ts +3 -3
- package/dist/components/Swatch/index.d.ts +3 -3
- package/dist/components/Switch/index.d.ts +3 -3
- package/dist/components/TextInput/index.d.ts +3 -3
- package/dist/components/ThreekitProvider/index.d.ts +1 -1
- package/dist/components/Tiles/index.d.ts +3 -3
- package/dist/components/TilesGroup/index.d.ts +3 -3
- package/dist/components/TotalPrice/index.d.ts +3 -3
- package/dist/components/TrebleApp/index.d.ts +3 -3
- package/dist/components/TurntableAnimation/index.js +1 -1
- package/dist/components/Upload/index.d.ts +3 -3
- package/dist/components/Upload/index.js +1 -1
- package/dist/components/UploadArea/index.d.ts +3 -3
- package/dist/components/UploadArea/index.js +1 -1
- package/dist/components/Wishlist/WishlistItem.d.ts +2 -2
- package/dist/components/Wishlist/index.d.ts +4 -4
- package/dist/components/Wishlist/index.js +1 -1
- package/dist/components/Zoom/index.d.ts +6 -6
- package/dist/components/containers/formInputContainer.d.ts +2 -2
- package/dist/components/formComponents.d.ts +6 -6
- package/dist/components/message/index.d.ts +1 -1
- package/dist/constants.d.ts +6 -6
- package/dist/hooks/useAttribute/index.d.ts +4 -4
- package/dist/hooks/useAttribute/index.js +1 -1
- package/dist/hooks/useConfigurationLoader/index.js +1 -1
- package/dist/hooks/useConfigurator/index.d.ts +3 -3
- package/dist/hooks/useDevTools/index.d.ts +1 -1
- package/dist/hooks/useNestedConfigurator/index.d.ts +2 -2
- package/dist/hooks/useNestedConfigurator/index.js +3 -4
- package/dist/hooks/usePlayer/index.d.ts +1 -1
- package/dist/hooks/usePlayerPortal/index.d.ts +1 -1
- package/dist/hooks/useProductCache/index.js +1 -1
- package/dist/hooks/useResetProduct/index.d.ts +1 -1
- package/dist/hooks/useResetProduct/index.js +1 -1
- package/dist/hooks/useShare/index.d.ts +1 -1
- package/dist/hooks/useShare/index.js +1 -1
- package/dist/hooks/useSingleAnimation/index.js +1 -1
- package/dist/hooks/useSpaces/SpacesLayout.d.ts +11 -0
- package/dist/hooks/useSpaces/SpacesLayout.js +74 -0
- package/dist/hooks/useSpaces/SpacesState.d.ts +177 -0
- package/dist/hooks/useSpaces/SpacesState.js +1816 -0
- package/dist/hooks/useSpaces/constants.d.ts +79 -0
- package/dist/hooks/useSpaces/constants.js +130 -0
- package/dist/hooks/useSpaces/dataHandlers.d.ts +38 -0
- package/dist/hooks/useSpaces/dataHandlers.js +411 -0
- package/dist/hooks/useSpaces/draw/clearCanvas.d.ts +2 -0
- package/dist/hooks/useSpaces/draw/clearCanvas.js +9 -0
- package/dist/hooks/useSpaces/draw/drawBackground.d.ts +2 -0
- package/dist/hooks/useSpaces/draw/drawBackground.js +12 -0
- package/dist/hooks/useSpaces/draw/drawDimensions.d.ts +3 -0
- package/dist/hooks/useSpaces/draw/drawDimensions.js +53 -0
- package/dist/hooks/useSpaces/draw/drawDoors.d.ts +9 -0
- package/dist/hooks/useSpaces/draw/drawDoors.js +99 -0
- package/dist/hooks/useSpaces/draw/drawFloor.d.ts +3 -0
- package/dist/hooks/useSpaces/draw/drawFloor.js +36 -0
- package/dist/hooks/useSpaces/draw/drawGrid.d.ts +3 -0
- package/dist/hooks/useSpaces/draw/drawGrid.js +36 -0
- package/dist/hooks/useSpaces/draw/drawGuides.d.ts +3 -0
- package/dist/hooks/useSpaces/draw/drawGuides.js +23 -0
- package/dist/hooks/useSpaces/draw/drawOpenings.d.ts +9 -0
- package/dist/hooks/useSpaces/draw/drawOpenings.js +72 -0
- package/dist/hooks/useSpaces/draw/drawVertices.d.ts +8 -0
- package/dist/hooks/useSpaces/draw/drawVertices.js +61 -0
- package/dist/hooks/useSpaces/draw/drawWalls.d.ts +11 -0
- package/dist/hooks/useSpaces/draw/drawWalls.js +90 -0
- package/dist/hooks/useSpaces/draw/drawWindows.d.ts +9 -0
- package/dist/hooks/useSpaces/draw/drawWindows.js +82 -0
- package/dist/hooks/useSpaces/draw/index.d.ts +11 -0
- package/dist/hooks/useSpaces/draw/index.js +129 -0
- package/dist/hooks/useSpaces/geometry/addThicknessToLine.d.ts +3 -0
- package/dist/hooks/useSpaces/geometry/addThicknessToLine.js +13 -0
- package/dist/hooks/useSpaces/geometry/areLinesEqual.d.ts +3 -0
- package/dist/hooks/useSpaces/geometry/areLinesEqual.js +17 -0
- package/dist/hooks/useSpaces/geometry/arePointsEqual.d.ts +3 -0
- package/dist/hooks/useSpaces/geometry/arePointsEqual.js +8 -0
- package/dist/hooks/useSpaces/geometry/arePointsWithinProximity.d.ts +3 -0
- package/dist/hooks/useSpaces/geometry/arePointsWithinProximity.js +11 -0
- package/dist/hooks/useSpaces/geometry/closestPointOnLine.d.ts +3 -0
- package/dist/hooks/useSpaces/geometry/closestPointOnLine.js +13 -0
- package/dist/hooks/useSpaces/geometry/doLinesOverlap.d.ts +2 -0
- package/dist/hooks/useSpaces/geometry/doLinesOverlap.js +16 -0
- package/dist/hooks/useSpaces/geometry/euclideanMod.d.ts +2 -0
- package/dist/hooks/useSpaces/geometry/euclideanMod.js +6 -0
- package/dist/hooks/useSpaces/geometry/findLoops.d.ts +6 -0
- package/dist/hooks/{useRoomBuilder → useSpaces/geometry}/findLoops.js +31 -13
- package/dist/hooks/useSpaces/geometry/getAllLineIntersections.d.ts +6 -0
- package/dist/hooks/useSpaces/geometry/getAllLineIntersections.js +23 -0
- package/dist/hooks/useSpaces/geometry/getAngleOfLineSegment.d.ts +3 -0
- package/dist/hooks/useSpaces/geometry/getAngleOfLineSegment.js +7 -0
- package/dist/hooks/useSpaces/geometry/getClosestPointOnLineSegment.d.ts +3 -0
- package/dist/hooks/useSpaces/geometry/getClosestPointOnLineSegment.js +17 -0
- package/dist/hooks/useSpaces/geometry/getDistanceToLine.d.ts +3 -0
- package/dist/hooks/useSpaces/geometry/getDistanceToLine.js +10 -0
- package/dist/hooks/useSpaces/geometry/getLengthOfLineSegment.d.ts +3 -0
- package/dist/hooks/useSpaces/geometry/getLengthOfLineSegment.js +7 -0
- package/dist/hooks/useSpaces/geometry/getLineAtOffsetOnLineSegment.d.ts +3 -0
- package/dist/hooks/useSpaces/geometry/getLineAtOffsetOnLineSegment.js +17 -0
- package/dist/hooks/useSpaces/geometry/getLineOtherPoint.d.ts +3 -0
- package/dist/hooks/useSpaces/geometry/getLineOtherPoint.js +11 -0
- package/dist/hooks/useSpaces/geometry/getLineSegmentsIntersection.d.ts +3 -0
- package/dist/hooks/useSpaces/geometry/getLineSegmentsIntersection.js +43 -0
- package/dist/hooks/useSpaces/geometry/getMidpointOfLineSegment.d.ts +3 -0
- package/dist/hooks/useSpaces/geometry/getMidpointOfLineSegment.js +9 -0
- package/dist/hooks/useSpaces/geometry/getParallelLineSegmentAtDistance.d.ts +3 -0
- package/dist/hooks/useSpaces/geometry/getParallelLineSegmentAtDistance.js +20 -0
- package/dist/hooks/useSpaces/geometry/getPointAtOffsetOnLineSegment.d.ts +3 -0
- package/dist/hooks/useSpaces/geometry/getPointAtOffsetOnLineSegment.js +11 -0
- package/dist/hooks/useSpaces/geometry/getPolygonArea.d.ts +3 -0
- package/dist/hooks/useSpaces/geometry/getPolygonArea.js +15 -0
- package/dist/hooks/useSpaces/geometry/getQuadrilateralArea.d.ts +3 -0
- package/dist/hooks/useSpaces/geometry/getQuadrilateralArea.js +16 -0
- package/dist/hooks/useSpaces/geometry/getTangetIntersectionAndOffset.d.ts +6 -0
- package/dist/hooks/useSpaces/geometry/getTangetIntersectionAndOffset.js +17 -0
- package/dist/hooks/useSpaces/geometry/getTriangleArea.d.ts +3 -0
- package/dist/hooks/useSpaces/geometry/getTriangleArea.js +9 -0
- package/dist/hooks/useSpaces/geometry/getUnitVectorOfLineSegment.d.ts +3 -0
- package/dist/hooks/useSpaces/geometry/getUnitVectorOfLineSegment.js +12 -0
- package/dist/hooks/useSpaces/geometry/index.d.ts +30 -0
- package/dist/hooks/useSpaces/geometry/index.js +64 -0
- package/dist/hooks/useSpaces/geometry/isPointInPolygon.d.ts +3 -0
- package/dist/hooks/useSpaces/geometry/isPointInPolygon.js +21 -0
- package/dist/hooks/useSpaces/geometry/isPointInQuadrilateral.d.ts +3 -0
- package/dist/hooks/useSpaces/geometry/isPointInQuadrilateral.js +25 -0
- package/dist/hooks/useSpaces/geometry/orderCoordinatesOnLineSegment.d.ts +3 -0
- package/dist/hooks/useSpaces/geometry/orderCoordinatesOnLineSegment.js +11 -0
- package/dist/hooks/useSpaces/geometry/splitLineAtOffset.d.ts +3 -0
- package/dist/hooks/useSpaces/geometry/splitLineAtOffset.js +12 -0
- package/dist/hooks/useSpaces/geometry/splitLineAtPoint.d.ts +3 -0
- package/dist/hooks/useSpaces/geometry/splitLineAtPoint.js +9 -0
- package/dist/hooks/useSpaces/geometry/splitLineAtPoints.d.ts +3 -0
- package/dist/hooks/useSpaces/geometry/splitLineAtPoints.js +28 -0
- package/dist/hooks/useSpaces/index.d.ts +95 -0
- package/dist/hooks/useSpaces/index.js +625 -0
- package/dist/hooks/useSpaces/themes/blueprint.d.ts +3 -0
- package/dist/hooks/useSpaces/themes/blueprint.js +96 -0
- package/dist/hooks/useSpaces/themes/default.d.ts +3 -0
- package/dist/hooks/useSpaces/themes/default.js +96 -0
- package/dist/hooks/{useRoomBuilder/themes.d.ts → useSpaces/themes/index.d.ts} +3 -4
- package/dist/hooks/useSpaces/themes/index.js +21 -0
- package/dist/hooks/useSpaces/themes/light.d.ts +3 -0
- package/dist/hooks/useSpaces/themes/light.js +96 -0
- package/dist/hooks/useSpaces/types.d.ts +378 -0
- package/dist/hooks/useSpaces/types.js +54 -0
- package/dist/hooks/useSpaces/validators/areWallsDuplicated.d.ts +3 -0
- package/dist/hooks/useSpaces/validators/areWallsDuplicated.js +61 -0
- package/dist/hooks/useSpaces/validators/areWallsIntersecting.d.ts +3 -0
- package/dist/hooks/useSpaces/validators/areWallsIntersecting.js +42 -0
- package/dist/hooks/useSpaces/validators/areWallsOrphaningFeatures.d.ts +3 -0
- package/dist/hooks/useSpaces/validators/areWallsOrphaningFeatures.js +52 -0
- package/dist/hooks/useSpaces/validators/areWallsTooShort.d.ts +3 -0
- package/dist/hooks/useSpaces/validators/areWallsTooShort.js +37 -0
- package/dist/hooks/useSpaces/validators/index.d.ts +15 -0
- package/dist/hooks/useSpaces/validators/index.js +40 -0
- package/dist/hooks/useSpaces/validators/isFeatureCollidingWithExistingFeature.d.ts +3 -0
- package/dist/hooks/useSpaces/validators/isFeatureCollidingWithExistingFeature.js +31 -0
- package/dist/hooks/useSpaces/validators/isFeatureOutsideWallBounds.d.ts +3 -0
- package/dist/hooks/useSpaces/validators/isFeatureOutsideWallBounds.js +19 -0
- package/dist/hooks/useSpaces/validators/isLineTooShort.d.ts +3 -0
- package/dist/hooks/useSpaces/validators/isLineTooShort.js +26 -0
- package/dist/hooks/useSpaces/validators/isVertexLandingOnFeature.d.ts +4 -0
- package/dist/hooks/useSpaces/validators/isVertexLandingOnFeature.js +19 -0
- package/dist/hooks/useSpaces/validators/isWallEndingOnFeature.d.ts +3 -0
- package/dist/hooks/useSpaces/validators/isWallEndingOnFeature.js +19 -0
- package/dist/hooks/useSpaces/validators/isWallIntersectingFeature.d.ts +3 -0
- package/dist/hooks/useSpaces/validators/isWallIntersectingFeature.js +41 -0
- package/dist/hooks/useSpaces/validators/isWallOverlappingExisitingWalls.d.ts +3 -0
- package/dist/hooks/useSpaces/validators/isWallOverlappingExisitingWalls.js +54 -0
- package/dist/hooks/useSpaces/validators/isWallTooShort.d.ts +3 -0
- package/dist/hooks/useSpaces/validators/isWallTooShort.js +10 -0
- package/dist/hooks/{useRoomBuilder → useSpaces/validators}/messaging.js +1 -1
- package/dist/hooks/useWishlist/index.d.ts +1 -1
- package/dist/hooks/useZoom/index.d.ts +1 -1
- package/dist/http/assets.d.ts +1 -1
- package/dist/http/orders.d.ts +1 -1
- package/dist/icons/AngleSnapping.d.ts +3 -0
- package/dist/icons/AngleSnapping.js +28 -0
- package/dist/icons/Boundary.d.ts +3 -0
- package/dist/icons/Boundary.js +21 -0
- package/dist/icons/Center.d.ts +3 -0
- package/dist/icons/Center.js +24 -0
- package/dist/icons/Draw.js +3 -3
- package/dist/icons/GridSnapping.d.ts +3 -0
- package/dist/icons/GridSnapping.js +28 -0
- package/dist/icons/LayoutAlt.d.ts +3 -0
- package/dist/icons/LayoutAlt.js +21 -0
- package/dist/icons/Magnet.d.ts +3 -0
- package/dist/icons/Magnet.js +27 -0
- package/dist/icons/Player3D.d.ts +3 -0
- package/dist/icons/Player3D.js +21 -0
- package/dist/icons/RulerBlank.d.ts +3 -0
- package/dist/icons/RulerBlank.js +25 -0
- package/dist/icons/RulerDetailed.d.ts +3 -0
- package/dist/icons/RulerDetailed.js +27 -0
- package/dist/icons/Save.d.ts +3 -0
- package/dist/icons/Save.js +21 -0
- package/dist/icons/Spinner.d.ts +2 -2
- package/dist/icons/UnitCm.d.ts +3 -0
- package/dist/icons/UnitCm.js +22 -0
- package/dist/icons/UnitFeet.d.ts +3 -0
- package/dist/icons/UnitFeet.js +22 -0
- package/dist/icons/UnitInch.d.ts +3 -0
- package/dist/icons/UnitInch.js +22 -0
- package/dist/icons/UnitMeter.d.ts +3 -0
- package/dist/icons/UnitMeter.js +21 -0
- package/dist/icons/Window.js +4 -4
- package/dist/icons/index.js +28 -0
- package/dist/index.d.ts +17 -2
- package/dist/index.js +35 -5
- package/dist/store/attributes.d.ts +4 -3
- package/dist/store/attributes.js +1 -1
- package/dist/store/index.d.ts +43 -12
- package/dist/store/index.js +3 -1
- package/dist/store/price.d.ts +1 -1
- package/dist/store/price.js +1 -1
- package/dist/store/product.d.ts +2 -2
- package/dist/store/product.js +5 -8
- package/dist/store/spaces.d.ts +74 -0
- package/dist/store/spaces.js +354 -0
- package/dist/store/translations.d.ts +1 -1
- package/dist/store/translations.js +1 -1
- package/dist/store/treble.d.ts +2 -2
- package/dist/store/treble.js +15 -22
- package/dist/store/wishlist.d.ts +4 -22
- package/dist/store/wishlist.js +1 -1
- package/dist/types.d.ts +20 -18
- package/dist/types.js +9 -9
- package/dist/utils.d.ts +2 -2
- package/dist/utils.js +3 -3
- package/package.json +1 -1
- package/dist/hooks/useRoomBuilder/RoomBuilderState.d.ts +0 -95
- package/dist/hooks/useRoomBuilder/RoomBuilderState.js +0 -1237
- package/dist/hooks/useRoomBuilder/constants.d.ts +0 -41
- package/dist/hooks/useRoomBuilder/constants.js +0 -48
- package/dist/hooks/useRoomBuilder/dataHandlers.d.ts +0 -18
- package/dist/hooks/useRoomBuilder/dataHandlers.js +0 -187
- package/dist/hooks/useRoomBuilder/draw.d.ts +0 -55
- package/dist/hooks/useRoomBuilder/draw.js +0 -573
- package/dist/hooks/useRoomBuilder/findLoops.d.ts +0 -5
- package/dist/hooks/useRoomBuilder/geometry.d.ts +0 -33
- package/dist/hooks/useRoomBuilder/geometry.js +0 -325
- package/dist/hooks/useRoomBuilder/index.d.ts +0 -40
- package/dist/hooks/useRoomBuilder/index.js +0 -303
- package/dist/hooks/useRoomBuilder/themes.js +0 -273
- package/dist/hooks/useRoomBuilder/types.d.ts +0 -238
- package/dist/hooks/useRoomBuilder/types.js +0 -36
- package/dist/hooks/useRoomBuilder/validators.d.ts +0 -36
- package/dist/hooks/useRoomBuilder/validators.js +0 -362
- /package/dist/hooks/{useRoomBuilder → useSpaces/validators}/messaging.d.ts +0 -0
package/dist/Treble/Treble.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import threekitAPI from '../api';
|
|
2
2
|
import { IThreekitPlayer, IThreekitPrivatePlayer, IThreekitPrivateConfigurator } from '../types';
|
|
3
3
|
import { IWishlist } from './wishlist';
|
|
4
|
-
import
|
|
4
|
+
import snapshot from './snapshot';
|
|
5
5
|
import { ISaveConfiguration } from '../api/configurations';
|
|
6
6
|
import { ICreateOrder } from '../api/orders';
|
|
7
7
|
import { ICartItem } from '../http/orders';
|
|
@@ -22,7 +22,7 @@ declare class Treble {
|
|
|
22
22
|
_player: IThreekitPrivatePlayer;
|
|
23
23
|
wishlist: IWishlist;
|
|
24
24
|
private _snapshots;
|
|
25
|
-
takeSnapshots:
|
|
25
|
+
takeSnapshots: typeof snapshot['takeSnapshots'];
|
|
26
26
|
_debugMode: boolean;
|
|
27
27
|
constructor({ player, orgId }: ITreble);
|
|
28
28
|
createOrder: (order?: IOrder) => Promise<import("../http/orders").IOrderResponse>;
|
package/dist/Treble/Treble.js
CHANGED
|
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (
|
|
17
|
+
while (_) try {
|
|
18
18
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
19
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
20
|
switch (op[0]) {
|
|
@@ -45,7 +45,7 @@ var types_1 = require("../types");
|
|
|
45
45
|
var constants_1 = require("../constants");
|
|
46
46
|
var utils_1 = require("../utils");
|
|
47
47
|
var wishlist_1 = __importDefault(require("./wishlist"));
|
|
48
|
-
var
|
|
48
|
+
var snapshot_1 = __importDefault(require("./snapshot"));
|
|
49
49
|
var Treble = (function () {
|
|
50
50
|
function Treble(_a) {
|
|
51
51
|
var player = _a.player, orgId = _a.orgId;
|
|
@@ -148,7 +148,7 @@ var Treble = (function () {
|
|
|
148
148
|
};
|
|
149
149
|
this._api = api_1.default;
|
|
150
150
|
this.wishlist = (0, wishlist_1.default)(orgId);
|
|
151
|
-
this._snapshots =
|
|
151
|
+
this._snapshots = snapshot_1.default;
|
|
152
152
|
this.takeSnapshots = this._snapshots.takeSnapshots;
|
|
153
153
|
this._player = player.enableApi(types_1.PRIVATE_APIS.PLAYER);
|
|
154
154
|
this._debugMode = constants_1.TREBLE_DEBUG;
|
package/dist/Treble/index.d.ts
CHANGED
package/dist/Treble/index.js
CHANGED
|
@@ -19,6 +19,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
19
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
20
|
var Treble_1 = __importDefault(require("./Treble"));
|
|
21
21
|
__exportStar(require("./Treble"), exports);
|
|
22
|
-
__exportStar(require("./
|
|
22
|
+
__exportStar(require("./snapshot"), exports);
|
|
23
23
|
__exportStar(require("./wishlist"), exports);
|
|
24
24
|
exports.default = Treble_1.default;
|
|
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (
|
|
17
|
+
while (_) try {
|
|
18
18
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
19
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
20
|
switch (op[0]) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IConfigurationResponse } from '../http/configurations';
|
|
2
2
|
import { ISaveConfiguration } from '../api/configurations';
|
|
3
|
-
export type WishlistArray = Array<IConfigurationResponse>;
|
|
3
|
+
export declare type WishlistArray = Array<IConfigurationResponse>;
|
|
4
4
|
export interface IWishlist {
|
|
5
5
|
getWishlist(): Promise<Array<IConfigurationResponse>>;
|
|
6
6
|
addItem(config?: Omit<ISaveConfiguration, 'configuration'>): Promise<Array<IConfigurationResponse>>;
|
package/dist/Treble/wishlist.js
CHANGED
|
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (
|
|
17
|
+
while (_) try {
|
|
18
18
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
19
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
20
|
switch (op[0]) {
|
package/dist/api/assets.js
CHANGED
|
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (
|
|
17
|
+
while (_) try {
|
|
18
18
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
19
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
20
|
switch (op[0]) {
|
package/dist/api/catalog.js
CHANGED
|
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (
|
|
17
|
+
while (_) try {
|
|
18
18
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
19
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
20
|
switch (op[0]) {
|
|
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (
|
|
17
|
+
while (_) try {
|
|
18
18
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
19
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
20
|
switch (op[0]) {
|
package/dist/api/datatables.js
CHANGED
|
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (
|
|
17
|
+
while (_) try {
|
|
18
18
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
19
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
20
|
switch (op[0]) {
|
package/dist/api/orders.js
CHANGED
|
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (
|
|
17
|
+
while (_) try {
|
|
18
18
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
19
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
20
|
switch (op[0]) {
|
package/dist/api/price.js
CHANGED
|
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (
|
|
17
|
+
while (_) try {
|
|
18
18
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
19
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
20
|
switch (op[0]) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
interface IAttributeTitle {
|
|
4
4
|
title?: string;
|
|
@@ -6,7 +6,7 @@ interface IAttributeTitle {
|
|
|
6
6
|
className?: string;
|
|
7
7
|
}
|
|
8
8
|
export declare const AttributeTitle: {
|
|
9
|
-
(props: IAttributeTitle):
|
|
9
|
+
(props: IAttributeTitle): JSX.Element | null;
|
|
10
10
|
propTypes: {
|
|
11
11
|
attribute: PropTypes.Requireable<string>;
|
|
12
12
|
title: PropTypes.Requireable<string>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
interface IAttributeValue {
|
|
4
4
|
attribute?: string;
|
|
5
5
|
className?: string;
|
|
6
6
|
}
|
|
7
7
|
export declare const AttributeValue: {
|
|
8
|
-
(props: IAttributeValue):
|
|
8
|
+
(props: IAttributeValue): JSX.Element | null;
|
|
9
9
|
propTypes: {
|
|
10
10
|
attribute: PropTypes.Requireable<string>;
|
|
11
11
|
className: PropTypes.Requireable<string>;
|
|
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (
|
|
17
|
+
while (_) try {
|
|
18
18
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
19
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
20
|
switch (op[0]) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
|
-
export type BUTTON_TYPES = 'hollow' | 'standard' | 'accent' | 'primary' | 'threekit';
|
|
4
|
-
export type BUTTON_SHAPES = 'round' | 'shape';
|
|
3
|
+
export declare type BUTTON_TYPES = 'hollow' | 'standard' | 'accent' | 'primary' | 'threekit';
|
|
4
|
+
export declare type BUTTON_SHAPES = 'round' | 'shape';
|
|
5
5
|
interface IButton {
|
|
6
6
|
type: BUTTON_TYPES;
|
|
7
7
|
icon?: string;
|
|
@@ -23,7 +23,7 @@ export declare const SHAPES: {
|
|
|
23
23
|
square: string;
|
|
24
24
|
};
|
|
25
25
|
export declare const Button: {
|
|
26
|
-
(props: IButton):
|
|
26
|
+
(props: IButton): JSX.Element | null;
|
|
27
27
|
propTypes: {
|
|
28
28
|
title: PropTypes.Requireable<string>;
|
|
29
29
|
icon: PropTypes.Requireable<string>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { ATTRIBUTE_TYPES } from '../../types';
|
|
4
4
|
import { IFormComponentProps, IOption } from '../containers/formInputContainer';
|
|
@@ -8,7 +8,7 @@ export interface ICards extends IFormComponentProps<IOption> {
|
|
|
8
8
|
showDescription?: boolean;
|
|
9
9
|
}
|
|
10
10
|
export declare const Cards: {
|
|
11
|
-
(props: ICards):
|
|
11
|
+
(props: ICards): JSX.Element;
|
|
12
12
|
propTypes: {
|
|
13
13
|
attribute: PropTypes.Requireable<string>;
|
|
14
14
|
title: PropTypes.Requireable<string>;
|
|
@@ -50,5 +50,5 @@ export declare const Cards: {
|
|
|
50
50
|
componentName: string;
|
|
51
51
|
compatibleAttributes: Set<ATTRIBUTE_TYPES>;
|
|
52
52
|
};
|
|
53
|
-
declare const _default: (props: ICards) =>
|
|
53
|
+
declare const _default: (props: ICards) => JSX.Element | null;
|
|
54
54
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const DevTools: () =>
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const DevTools: () => JSX.Element;
|
|
3
3
|
export default DevTools;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DraggableIndicatorProps } from './index';
|
|
2
|
-
type HandWrapperProps = Pick<DraggableIndicatorProps, 'color' | 'duration'>;
|
|
2
|
+
declare type HandWrapperProps = Pick<DraggableIndicatorProps, 'color' | 'duration'>;
|
|
3
3
|
export declare const Wrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
4
4
|
export declare const HandWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, HandWrapperProps, never>;
|
|
5
5
|
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
export interface DraggableIndicatorProps {
|
|
3
3
|
color?: string;
|
|
4
4
|
duration?: number;
|
|
5
5
|
timeout?: number;
|
|
6
6
|
}
|
|
7
|
-
export declare function DraggableIndicator(props: DraggableIndicatorProps):
|
|
7
|
+
export declare function DraggableIndicator(props: DraggableIndicatorProps): JSX.Element | null;
|
|
8
8
|
export default DraggableIndicator;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { ATTRIBUTE_TYPES } from '../../types';
|
|
4
4
|
import { IFormComponentProps, IOption } from '../containers/formInputContainer';
|
|
@@ -9,7 +9,7 @@ export interface IDropdown extends IFormComponentProps<IOption> {
|
|
|
9
9
|
dropdownMaxHeight?: string;
|
|
10
10
|
}
|
|
11
11
|
export declare const Dropdown: {
|
|
12
|
-
(props: IDropdown):
|
|
12
|
+
(props: IDropdown): JSX.Element;
|
|
13
13
|
propTypes: {
|
|
14
14
|
attribute: PropTypes.Requireable<string>;
|
|
15
15
|
title: PropTypes.Requireable<string>;
|
|
@@ -52,5 +52,5 @@ export declare const Dropdown: {
|
|
|
52
52
|
componentName: string;
|
|
53
53
|
compatibleAttributes: Set<ATTRIBUTE_TYPES>;
|
|
54
54
|
};
|
|
55
|
-
declare const _default: (props: IDropdown) =>
|
|
55
|
+
declare const _default: (props: IDropdown) => JSX.Element | null;
|
|
56
56
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
interface FlatFormProps {
|
|
4
4
|
title?: string;
|
|
@@ -10,7 +10,7 @@ interface FlatFormProps {
|
|
|
10
10
|
includeReservedAttributes: boolean;
|
|
11
11
|
}
|
|
12
12
|
export declare const FlatForm: {
|
|
13
|
-
(props: FlatFormProps):
|
|
13
|
+
(props: FlatFormProps): JSX.Element | null;
|
|
14
14
|
propTypes: {
|
|
15
15
|
title: PropTypes.Requireable<string>;
|
|
16
16
|
alignTitle: PropTypes.Requireable<string>;
|
|
@@ -4,5 +4,5 @@ interface IFormComponentDescription {
|
|
|
4
4
|
className: string;
|
|
5
5
|
description?: string;
|
|
6
6
|
}
|
|
7
|
-
export declare const FormComponentDescription: (props: IFormComponentDescription) =>
|
|
7
|
+
export declare const FormComponentDescription: (props: IFormComponentDescription) => JSX.Element | null;
|
|
8
8
|
export default FormComponentDescription;
|
|
@@ -4,5 +4,5 @@ interface IFormComponentTitle {
|
|
|
4
4
|
className: string;
|
|
5
5
|
title?: string;
|
|
6
6
|
}
|
|
7
|
-
export declare const FormComponentTitle: (props: IFormComponentTitle) =>
|
|
7
|
+
export declare const FormComponentTitle: (props: IFormComponentTitle) => JSX.Element | null;
|
|
8
8
|
export default FormComponentTitle;
|
|
@@ -8,14 +8,14 @@ export interface PlayerProps extends IProps {
|
|
|
8
8
|
minHeight?: string;
|
|
9
9
|
}
|
|
10
10
|
declare const Player: {
|
|
11
|
-
(props: PlayerProps):
|
|
12
|
-
TopLeftWidgets(props: IProps):
|
|
13
|
-
TopCenterWidgets(props: IProps):
|
|
14
|
-
TopRightWidgets(props: IProps):
|
|
15
|
-
MiddleLeftWidgets(props: IProps):
|
|
16
|
-
MiddleRightWidgets(props: IProps):
|
|
17
|
-
BottomLeftWidgets(props: IProps):
|
|
18
|
-
BottomCenterWidgets(props: IProps):
|
|
19
|
-
BottomRightWidgets(props: IProps):
|
|
11
|
+
(props: PlayerProps): JSX.Element;
|
|
12
|
+
TopLeftWidgets(props: IProps): JSX.Element;
|
|
13
|
+
TopCenterWidgets(props: IProps): JSX.Element;
|
|
14
|
+
TopRightWidgets(props: IProps): JSX.Element;
|
|
15
|
+
MiddleLeftWidgets(props: IProps): JSX.Element;
|
|
16
|
+
MiddleRightWidgets(props: IProps): JSX.Element;
|
|
17
|
+
BottomLeftWidgets(props: IProps): JSX.Element;
|
|
18
|
+
BottomCenterWidgets(props: IProps): JSX.Element;
|
|
19
|
+
BottomRightWidgets(props: IProps): JSX.Element;
|
|
20
20
|
};
|
|
21
21
|
export default Player;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
export interface PlayerLoadingCircularProps {
|
|
3
3
|
size?: string;
|
|
4
4
|
}
|
|
5
|
-
export declare function PlayerLoadingCircular(props: PlayerLoadingCircularProps):
|
|
5
|
+
export declare function PlayerLoadingCircular(props: PlayerLoadingCircularProps): JSX.Element | null;
|
|
6
6
|
export default PlayerLoadingCircular;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
export interface PlayerLoadingSpinnerProps {
|
|
3
3
|
duration?: number;
|
|
4
4
|
size?: string;
|
|
5
5
|
}
|
|
6
|
-
export declare function PlayerLoadingSpinner(props: PlayerLoadingSpinnerProps):
|
|
6
|
+
export declare function PlayerLoadingSpinner(props: PlayerLoadingSpinnerProps): JSX.Element | null;
|
|
7
7
|
export default PlayerLoadingSpinner;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { PlayerLoadingSpinnerProps } from './index';
|
|
2
|
-
type WrapperProps = Pick<PlayerLoadingSpinnerProps, 'duration' | 'size'>;
|
|
2
|
+
declare type WrapperProps = Pick<PlayerLoadingSpinnerProps, 'duration' | 'size'>;
|
|
3
3
|
export declare const Wrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, WrapperProps, never>;
|
|
4
4
|
export {};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
interface IProductDescription {
|
|
4
4
|
description?: string;
|
|
5
5
|
className?: string;
|
|
6
6
|
}
|
|
7
7
|
export declare const ProductDescriptionComponent: {
|
|
8
|
-
(props: IProductDescription):
|
|
8
|
+
(props: IProductDescription): JSX.Element;
|
|
9
9
|
propTypes: {
|
|
10
10
|
description: PropTypes.Requireable<string>;
|
|
11
11
|
className: PropTypes.Requireable<string>;
|
|
@@ -15,5 +15,5 @@ export declare const ProductDescriptionComponent: {
|
|
|
15
15
|
className: string;
|
|
16
16
|
};
|
|
17
17
|
};
|
|
18
|
-
declare const ProductDescription: (props: IProductDescription) =>
|
|
18
|
+
declare const ProductDescription: (props: IProductDescription) => JSX.Element | null;
|
|
19
19
|
export default ProductDescription;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
interface ITitle {
|
|
4
4
|
title?: string;
|
|
@@ -6,7 +6,7 @@ interface ITitle {
|
|
|
6
6
|
align?: string;
|
|
7
7
|
}
|
|
8
8
|
export declare const ProductNameComponent: {
|
|
9
|
-
(props: ITitle):
|
|
9
|
+
(props: ITitle): JSX.Element;
|
|
10
10
|
propTypes: {
|
|
11
11
|
title: PropTypes.Requireable<string>;
|
|
12
12
|
className: PropTypes.Requireable<string>;
|
|
@@ -17,5 +17,5 @@ export declare const ProductNameComponent: {
|
|
|
17
17
|
align: string;
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
|
-
export declare const ProductName: (props: ITitle) =>
|
|
20
|
+
export declare const ProductName: (props: ITitle) => JSX.Element | null;
|
|
21
21
|
export default ProductName;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { BUTTON_SHAPES, BUTTON_TYPES } from '../Button';
|
|
4
4
|
import type { Positions } from './share.styles';
|
|
@@ -10,7 +10,7 @@ interface ShareProps {
|
|
|
10
10
|
position: Positions;
|
|
11
11
|
}
|
|
12
12
|
export declare const Share: {
|
|
13
|
-
(props: ShareProps):
|
|
13
|
+
(props: ShareProps): JSX.Element | null;
|
|
14
14
|
propTypes: {
|
|
15
15
|
className: PropTypes.Requireable<string>;
|
|
16
16
|
type: PropTypes.Requireable<string>;
|
|
@@ -37,7 +37,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
37
37
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
38
38
|
function step(op) {
|
|
39
39
|
if (f) throw new TypeError("Generator is already executing.");
|
|
40
|
-
while (
|
|
40
|
+
while (_) try {
|
|
41
41
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
42
42
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
43
43
|
switch (op[0]) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { BUTTON_SHAPES, BUTTON_TYPES } from '../Button';
|
|
4
4
|
import { ISnapshotsCameras, ITakeSnapshotsConfig } from '../../Treble';
|
|
@@ -10,7 +10,7 @@ interface SnapshotProps {
|
|
|
10
10
|
className?: string;
|
|
11
11
|
}
|
|
12
12
|
export declare const Snapshots: {
|
|
13
|
-
(props: SnapshotProps):
|
|
13
|
+
(props: SnapshotProps): JSX.Element | null;
|
|
14
14
|
propTypes: {
|
|
15
15
|
className: PropTypes.Requireable<string>;
|
|
16
16
|
type: PropTypes.Requireable<string>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { ATTRIBUTE_TYPES } from '../../types';
|
|
4
4
|
import { IFormComponentProps, IOption } from '../containers/formInputContainer';
|
|
@@ -8,7 +8,7 @@ export interface IStrips extends IFormComponentProps<IOption> {
|
|
|
8
8
|
showDescription?: boolean;
|
|
9
9
|
}
|
|
10
10
|
export declare const Strips: {
|
|
11
|
-
(props: IStrips):
|
|
11
|
+
(props: IStrips): JSX.Element;
|
|
12
12
|
propTypes: {
|
|
13
13
|
attribute: PropTypes.Requireable<string>;
|
|
14
14
|
title: PropTypes.Requireable<string>;
|
|
@@ -49,5 +49,5 @@ export declare const Strips: {
|
|
|
49
49
|
componentName: string;
|
|
50
50
|
compatibleAttributes: Set<ATTRIBUTE_TYPES>;
|
|
51
51
|
};
|
|
52
|
-
declare const _default: (props: IStrips) =>
|
|
52
|
+
declare const _default: (props: IStrips) => JSX.Element | null;
|
|
53
53
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { ATTRIBUTE_TYPES } from '../../types';
|
|
4
4
|
import { IFormComponentProps, IOption } from '../containers/formInputContainer';
|
|
@@ -9,7 +9,7 @@ export interface ISwatch extends IFormComponentProps<IOption> {
|
|
|
9
9
|
size?: string;
|
|
10
10
|
}
|
|
11
11
|
export declare const Swatch: {
|
|
12
|
-
(props: ISwatch):
|
|
12
|
+
(props: ISwatch): JSX.Element;
|
|
13
13
|
propTypes: {
|
|
14
14
|
attribute: PropTypes.Requireable<string>;
|
|
15
15
|
shape: PropTypes.Requireable<string>;
|
|
@@ -54,5 +54,5 @@ export declare const Swatch: {
|
|
|
54
54
|
componentName: string;
|
|
55
55
|
compatibleAttributes: Set<ATTRIBUTE_TYPES>;
|
|
56
56
|
};
|
|
57
|
-
declare const _default: (props: ISwatch) =>
|
|
57
|
+
declare const _default: (props: ISwatch) => JSX.Element | null;
|
|
58
58
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { ATTRIBUTE_TYPES } from '../../types';
|
|
4
4
|
import { IFormComponentProps, IOption } from '../containers/formInputContainer';
|
|
@@ -6,7 +6,7 @@ export interface ISwitch extends IFormComponentProps<IOption> {
|
|
|
6
6
|
showDescription?: boolean;
|
|
7
7
|
}
|
|
8
8
|
export declare const Switch: {
|
|
9
|
-
(props: ISwitch):
|
|
9
|
+
(props: ISwitch): JSX.Element;
|
|
10
10
|
propTypes: {
|
|
11
11
|
attribute: PropTypes.Requireable<string>;
|
|
12
12
|
title: PropTypes.Requireable<string>;
|
|
@@ -30,5 +30,5 @@ export declare const Switch: {
|
|
|
30
30
|
componentName: string;
|
|
31
31
|
compatibleAttributes: Set<ATTRIBUTE_TYPES>;
|
|
32
32
|
};
|
|
33
|
-
declare const _default: (props: ISwitch) =>
|
|
33
|
+
declare const _default: (props: ISwitch) => JSX.Element | null;
|
|
34
34
|
export default _default;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { ATTRIBUTE_TYPES } from '../../types';
|
|
3
3
|
import { IFormComponentProps } from '../containers/formInputContainer';
|
|
4
4
|
export interface ITextInput extends IFormComponentProps<undefined> {
|
|
5
5
|
maxLength?: number;
|
|
6
6
|
}
|
|
7
7
|
export declare const TextInput: {
|
|
8
|
-
(props: ITextInput):
|
|
8
|
+
(props: ITextInput): JSX.Element;
|
|
9
9
|
componentName: string;
|
|
10
10
|
compatibleAttributes: Set<ATTRIBUTE_TYPES>;
|
|
11
11
|
};
|
|
12
|
-
declare const _default: (props: ITextInput) =>
|
|
12
|
+
declare const _default: (props: ITextInput) => JSX.Element | null;
|
|
13
13
|
export default _default;
|
|
@@ -13,5 +13,5 @@ export interface ThreekitProviderProps extends AppProps {
|
|
|
13
13
|
reducer?: Record<string, Reducer>;
|
|
14
14
|
removeTheme?: boolean;
|
|
15
15
|
}
|
|
16
|
-
declare const ThreekitProvider: (props: ThreekitProviderProps) =>
|
|
16
|
+
declare const ThreekitProvider: (props: ThreekitProviderProps) => JSX.Element;
|
|
17
17
|
export default ThreekitProvider;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { ATTRIBUTE_TYPES } from '../../types';
|
|
4
4
|
import { IFormComponentProps, IOptionShared } from '../containers/formInputContainer';
|
|
@@ -6,7 +6,7 @@ export interface ITiles extends IFormComponentProps<IOptionShared> {
|
|
|
6
6
|
columns?: number;
|
|
7
7
|
}
|
|
8
8
|
export declare const Tiles: {
|
|
9
|
-
(props: ITiles):
|
|
9
|
+
(props: ITiles): JSX.Element;
|
|
10
10
|
propTypes: {
|
|
11
11
|
attribute: PropTypes.Requireable<string>;
|
|
12
12
|
title: PropTypes.Requireable<string>;
|
|
@@ -35,5 +35,5 @@ export declare const Tiles: {
|
|
|
35
35
|
componentName: string;
|
|
36
36
|
compatibleAttributes: Set<ATTRIBUTE_TYPES>;
|
|
37
37
|
};
|
|
38
|
-
declare const _default: (props: ITiles) =>
|
|
38
|
+
declare const _default: (props: ITiles) => JSX.Element | null;
|
|
39
39
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { ATTRIBUTE_TYPES } from '../../types';
|
|
4
4
|
import { IFormComponentProps, IOptionShared } from '../containers/formInputContainer';
|
|
@@ -6,7 +6,7 @@ export interface ITilesGroup extends IFormComponentProps<IOptionShared> {
|
|
|
6
6
|
columns?: number;
|
|
7
7
|
}
|
|
8
8
|
export declare const TilesGroup: {
|
|
9
|
-
(props: ITilesGroup):
|
|
9
|
+
(props: ITilesGroup): JSX.Element;
|
|
10
10
|
propTypes: {
|
|
11
11
|
attribute: PropTypes.Requireable<string>;
|
|
12
12
|
title: PropTypes.Requireable<string>;
|
|
@@ -33,5 +33,5 @@ export declare const TilesGroup: {
|
|
|
33
33
|
componentName: string;
|
|
34
34
|
compatibleAttributes: Set<ATTRIBUTE_TYPES>;
|
|
35
35
|
};
|
|
36
|
-
declare const _default: (props: ITilesGroup) =>
|
|
36
|
+
declare const _default: (props: ITilesGroup) => JSX.Element | null;
|
|
37
37
|
export default _default;
|