@roomle/embedding-lib 5.25.0 → 5.26.0-alpha.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/docs/md/web/embedding/CHANGELOG.md +5 -64
- package/package.json +1 -1
- package/packages/embedding-lib/src/examples/homag-intelligence-catalog-example.d.ts +12 -0
- package/packages/web-sdk/packages/common-core/src/rapi-access.d.ts +1 -0
- package/packages/web-sdk/packages/common-core/src/services/global-callback.d.ts +2 -0
- package/packages/web-sdk/packages/common-core/src/utils/common-utils.d.ts +1 -0
- package/packages/web-sdk/packages/common-core/src/view-model/configurator-view-model.d.ts +4 -0
- package/packages/web-sdk/packages/configurator-core/src/services/configurator-ui-callback.d.ts +5 -0
- package/packages/web-sdk/packages/configurator-core/src/webgl/configurator-scene-manager.d.ts +3 -0
- package/packages/web-sdk/packages/homag-intelligence/src/hi-tag-catalog-callbacks.d.ts +20 -0
- package/packages/web-sdk/packages/homag-intelligence/src/homag-intelligence.d.ts +15 -1
- package/packages/web-sdk/packages/homag-intelligence/src/loader.d.ts +1 -1
- package/packages/web-sdk/packages/planner-core/src/roomle-planner.d.ts +1 -0
- package/packages/web-sdk/packages/planner-core/src/services/planner-kernel-access.d.ts +2 -2
- package/packages/web-sdk/packages/typings/external-objects.d.ts +9 -0
- package/src/common/components/inputs/RangeSlider.vue.d.ts +1 -1
- package/src/common/components/overlays/PartList.vue.d.ts +3 -3
- package/src/common/components/parameters/ColorParameter.vue.d.ts +2 -2
- package/src/common/components/side-bar/ResponsiveSidebarWrapper.vue.d.ts +37 -0
- package/src/common/components/side-bar/SidebarItem.vue.d.ts +20 -0
- package/src/common/components/side-bar/SidebarItemLabel.vue.d.ts +10 -0
- package/src/common/components/side-bar/SidebarRouterLayer.vue.d.ts +6 -0
- package/src/common/components/side-bar/TabbedNav.vue.d.ts +22 -0
- package/src/common/components/{collection-view/-utils → side-bar}/TabbedNavMenu.vue.d.ts +1 -1
- package/src/common/components/{collection-view/-utils/collection-view-dynamic-components.d.ts → side-bar/utils/configurator-sidebar-components.d.ts} +27 -86
- package/src/common/components/side-bar/utils/helper.d.ts +3 -0
- package/src/common/components/side-bar/utils/types.d.ts +32 -0
- package/src/common/components/utils/QRCode.vue.d.ts +3 -3
- package/src/common/composables/use-fetch-root-tag.d.ts +3 -3
- package/src/common/composables/use-open-close-anim.d.ts +2 -2
- package/src/common/composables/use-pausable-computed.d.ts +15 -0
- package/src/common/composables/use-sidebar-layer-router.d.ts +12 -0
- package/src/common/router/router.d.ts +2 -0
- package/src/common/store/index.d.ts +3 -3
- package/src/common/store/{collection-view-state.d.ts → sidebar-store-state.d.ts} +12 -12
- package/src/common/utils/parameters.d.ts +6 -6
- package/src/common/utils/types.d.ts +0 -3
- package/src/configurator/business-logic/sdk-connector.d.ts +0 -1
- package/src/configurator/components/ConfiguratorSidebar.vue.d.ts +4 -2
- package/src/configurator/components/addons/PossibleChildren.vue.d.ts +0 -2
- package/src/configurator/components/grid-view/-utils/CollapsedView.vue.d.ts +29 -77
- package/src/configurator/components/grid-view/-utils/ExpandedHeader.vue.d.ts +6 -6
- package/src/configurator/components/grid-view/-utils/ExpandedView.vue.d.ts +7 -4
- package/src/configurator/components/grid-view/-utils/GridViewElement.vue.d.ts +1 -1
- package/src/configurator/components/grid-view/-utils/GridViewHelper.d.ts +7 -2
- package/src/configurator/components/grid-view/GridView.vue.d.ts +2 -2
- package/src/configurator/components/parameters/types/DisabledParameters.vue.d.ts +3 -3
- package/src/configurator/components/parameters/types/MaterialParameter.vue.d.ts +10 -64
- package/src/configurator/components/parameters/types/ProductVariant.vue.d.ts +4 -5
- package/src/configurator/components/parameters/types/ThumbnailsParameter.vue.d.ts +2 -5
- package/src/configurator/components/utils/-utils/side-bar-types.d.ts +13 -0
- package/src/configurator/components/utils/InteractionsContainer.vue.d.ts +4 -2
- package/src/configurator/components/utils/SearchInput.vue.d.ts +6 -3
- package/src/configurator/embedding/helper.d.ts +1 -1
- package/src/configurator/embedding/types.d.ts +1 -1
- package/src/planner/business-logic/rooms.d.ts +0 -7
- package/src/planner/components/ObjectList.vue.d.ts +5 -5
- package/src/planner/components/PlannerSidebar.vue.d.ts +4 -2
- package/src/planner/components/RotationIndicator.vue.d.ts +1 -1
- package/src/planner/components/overlays/RoomSidebar.vue.d.ts +4 -2
- package/src/planner/components/overlays/rooms/ConstructionVariants.vue.d.ts +2 -3
- package/src/planner/components/overlays/rooms/DoorParametersSetting.vue.d.ts +15 -4873
- package/src/planner/components/overlays/rooms/RoomFloorAndWallSettings.vue.d.ts +0 -2
- package/src/planner/components/overlays/rooms/RoomsList.vue.d.ts +0 -2
- package/src/planner/components/overlays/rooms/WallGeneralSettings.vue.d.ts +4 -2
- package/src/planner/components/overlays/rooms/WindowParametersSetting.vue.d.ts +4 -2
- package/src/planner/components/utils/ConfiguratorParameter.vue.d.ts +6 -6
- package/src/planner/components/utils/InteractionHeader.vue.d.ts +3 -3
- package/src/planner/components/utils/WallSideIcon.vue.d.ts +5 -5
- package/src/planner/store/planner-core-data.d.ts +0 -1
- package/src/planner/utils/planner-sidebar.d.ts +0 -9
- package/src/viewer/components/ViewerMain.vue.d.ts +11 -7
- package/src/viewer/components/ViewerSidebar.vue.d.ts +3 -3
- package/src/common/components/collection-view/-utils/TabbedNav.vue.d.ts +0 -18
- package/src/common/components/collection-view/-utils/collection-view-props.d.ts +0 -40
- package/src/common/components/collection-view/-utils/helper.d.ts +0 -5
- package/src/common/components/collection-view/-utils/render.d.ts +0 -9
- package/src/common/components/collection-view/-utils/types.d.ts +0 -45
- package/src/common/components/collection-view/CollectionView.vue.d.ts +0 -69
- package/src/common/components/collection-view/CollectionViewElement.vue.d.ts +0 -47
- package/src/common/components/drawer-layout/DrawerElement.vue.d.ts +0 -71
- package/src/common/components/drawer-layout/DrawerGroup.vue.d.ts +0 -23
- package/src/common/components/drawer-layout/DrawerLayout.vue.d.ts +0 -94
- /package/src/common/components/{collection-view/-utils → side-bar}/BackButton.vue.d.ts +0 -0
- /package/src/common/components/{collection-view/CollectionViewHint.vue.d.ts → side-bar/SidebarHintText.vue.d.ts} +0 -0
- /package/src/common/components/{collection-view/-utils → side-bar}/TabbedNavStatic.vue.d.ts +0 -0
- /package/src/common/components/{collection-view/-utils → tool-tip}/ParameterTooltip.vue.d.ts +0 -0
|
@@ -1,82 +1,34 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
1
|
import { GridViewElement } from './GridViewHelper';
|
|
3
2
|
|
|
4
|
-
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<
|
|
5
|
-
elements:
|
|
6
|
-
selectedElement:
|
|
7
|
-
onExpand:
|
|
8
|
-
onSelect:
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
isDesktop: BooleanConstructor;
|
|
34
|
-
isDraggable: BooleanConstructor;
|
|
35
|
-
isScrolling: BooleanConstructor;
|
|
36
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
37
|
-
elements: PropType<GridViewElement<any>[]>;
|
|
38
|
-
selectedElement: PropType<GridViewElement<any>>;
|
|
39
|
-
onExpand: FunctionConstructor;
|
|
40
|
-
onSelect: {
|
|
41
|
-
type: FunctionConstructor;
|
|
42
|
-
default: () => any;
|
|
43
|
-
};
|
|
44
|
-
onDragStart: {
|
|
45
|
-
type: FunctionConstructor;
|
|
46
|
-
default: () => any;
|
|
47
|
-
};
|
|
48
|
-
onDragEnd: {
|
|
49
|
-
type: FunctionConstructor;
|
|
50
|
-
default: () => any;
|
|
51
|
-
};
|
|
52
|
-
onTouchStart: {
|
|
53
|
-
type: FunctionConstructor;
|
|
54
|
-
default: () => any;
|
|
55
|
-
};
|
|
56
|
-
onTouchEnd: {
|
|
57
|
-
type: FunctionConstructor;
|
|
58
|
-
default: () => any;
|
|
59
|
-
};
|
|
60
|
-
onTouchMove: {
|
|
61
|
-
type: FunctionConstructor;
|
|
62
|
-
default: () => any;
|
|
63
|
-
};
|
|
64
|
-
showAllElements: BooleanConstructor;
|
|
65
|
-
isDesktop: BooleanConstructor;
|
|
66
|
-
isDraggable: BooleanConstructor;
|
|
67
|
-
isScrolling: BooleanConstructor;
|
|
68
|
-
}>> & Readonly<{}>, {
|
|
69
|
-
isDesktop: boolean;
|
|
70
|
-
onSelect: Function;
|
|
71
|
-
onDragStart: Function;
|
|
72
|
-
onDragEnd: Function;
|
|
73
|
-
onTouchStart: Function;
|
|
74
|
-
onTouchEnd: Function;
|
|
75
|
-
onTouchMove: Function;
|
|
76
|
-
isDraggable: boolean;
|
|
77
|
-
showAllElements: boolean;
|
|
78
|
-
isScrolling: boolean;
|
|
79
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
4
|
+
elements: GridViewElement<any>[];
|
|
5
|
+
selectedElement: GridViewElement<any>;
|
|
6
|
+
onExpand?: (event: MouseEvent) => void;
|
|
7
|
+
onSelect: (element: GridViewElement<any>) => void;
|
|
8
|
+
onDragStart: (element: GridViewElement<any>, event: DragEvent) => void;
|
|
9
|
+
onDragEnd: (element: GridViewElement<any>, event: DragEvent) => void;
|
|
10
|
+
onTouchStart: (element: GridViewElement<any>, event: TouchEvent) => void;
|
|
11
|
+
onTouchEnd: (element: GridViewElement<any>, event: TouchEvent) => void;
|
|
12
|
+
onTouchMove: (element: GridViewElement<any>, event: TouchEvent) => void;
|
|
13
|
+
showAllElements?: boolean;
|
|
14
|
+
isDraggable?: boolean;
|
|
15
|
+
isScrolling?: boolean;
|
|
16
|
+
searchString?: string;
|
|
17
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
18
|
+
elements: GridViewElement<any>[];
|
|
19
|
+
selectedElement: GridViewElement<any>;
|
|
20
|
+
onExpand?: (event: MouseEvent) => void;
|
|
21
|
+
onSelect: (element: GridViewElement<any>) => void;
|
|
22
|
+
onDragStart: (element: GridViewElement<any>, event: DragEvent) => void;
|
|
23
|
+
onDragEnd: (element: GridViewElement<any>, event: DragEvent) => void;
|
|
24
|
+
onTouchStart: (element: GridViewElement<any>, event: TouchEvent) => void;
|
|
25
|
+
onTouchEnd: (element: GridViewElement<any>, event: TouchEvent) => void;
|
|
26
|
+
onTouchMove: (element: GridViewElement<any>, event: TouchEvent) => void;
|
|
27
|
+
showAllElements?: boolean;
|
|
28
|
+
isDraggable?: boolean;
|
|
29
|
+
isScrolling?: boolean;
|
|
30
|
+
searchString?: string;
|
|
31
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
80
32
|
aux?(_: {}): any;
|
|
81
33
|
}>;
|
|
82
34
|
export default _default;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<{
|
|
2
|
-
|
|
3
|
-
onChange?: (
|
|
2
|
+
searchString?: string;
|
|
3
|
+
onChange?: (string: string) => void;
|
|
4
4
|
showListOption?: boolean;
|
|
5
5
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
6
|
-
|
|
7
|
-
onChange?: (
|
|
6
|
+
searchString?: string;
|
|
7
|
+
onChange?: (string: string) => void;
|
|
8
8
|
showListOption?: boolean;
|
|
9
9
|
}> & Readonly<{}>, {
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
onChange: (string: string) => void;
|
|
11
|
+
searchString: string;
|
|
12
12
|
showListOption: boolean;
|
|
13
13
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
14
14
|
export default _default;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
1
2
|
import { GridViewElement, GridViewGroup } from './GridViewHelper';
|
|
2
3
|
|
|
3
4
|
declare const _default: import('vue').DefineComponent<{
|
|
4
5
|
groups: GridViewGroup<any>[];
|
|
5
|
-
selectedElement: GridViewElement<any
|
|
6
|
+
selectedElement: Ref<GridViewElement<any>, GridViewElement<any>>;
|
|
6
7
|
onSelect: (element: GridViewElement<any>) => void;
|
|
7
8
|
onDragStart: (element: GridViewElement<any>, event: DragEvent) => void;
|
|
8
9
|
onDragEnd: (element: GridViewElement<any>, event: DragEvent) => void;
|
|
@@ -10,11 +11,12 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
10
11
|
onTouchEnd: (element: GridViewElement<any>, event: TouchEvent) => void;
|
|
11
12
|
onTouchMove: (element: GridViewElement<any>, event: TouchEvent) => void;
|
|
12
13
|
onCollapse?: (mouseEvent: MouseEvent) => void;
|
|
13
|
-
isDesktop?: boolean;
|
|
14
14
|
isDraggable?: boolean;
|
|
15
|
+
searchString?: string;
|
|
16
|
+
onSearchChange?: (string: string) => void;
|
|
15
17
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
16
18
|
groups: GridViewGroup<any>[];
|
|
17
|
-
selectedElement: GridViewElement<any
|
|
19
|
+
selectedElement: Ref<GridViewElement<any>, GridViewElement<any>>;
|
|
18
20
|
onSelect: (element: GridViewElement<any>) => void;
|
|
19
21
|
onDragStart: (element: GridViewElement<any>, event: DragEvent) => void;
|
|
20
22
|
onDragEnd: (element: GridViewElement<any>, event: DragEvent) => void;
|
|
@@ -22,7 +24,8 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
22
24
|
onTouchEnd: (element: GridViewElement<any>, event: TouchEvent) => void;
|
|
23
25
|
onTouchMove: (element: GridViewElement<any>, event: TouchEvent) => void;
|
|
24
26
|
onCollapse?: (mouseEvent: MouseEvent) => void;
|
|
25
|
-
isDesktop?: boolean;
|
|
26
27
|
isDraggable?: boolean;
|
|
28
|
+
searchString?: string;
|
|
29
|
+
onSearchChange?: (string: string) => void;
|
|
27
30
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
28
31
|
export default _default;
|
|
@@ -3,7 +3,7 @@ import { KernelValue, UiPossibleChild, UiPossibleChildTag } from '@roomle/web-sd
|
|
|
3
3
|
import { CssHash, Nullable } from '../../../../common/utils/types';
|
|
4
4
|
import { MaterialsForObjects, SampleRoom } from '../../../../planner/business-logic/rooms';
|
|
5
5
|
import { SampleMaterial } from '../../../../planner/components/overlays/rooms/utils/ral-colors';
|
|
6
|
-
import {
|
|
6
|
+
import { ParameterData } from '../../../../common/components/side-bar/utils/types';
|
|
7
7
|
|
|
8
8
|
interface WrapLines {
|
|
9
9
|
line1: string;
|
|
@@ -32,7 +32,12 @@ export interface GridViewGroup<T = GridViewElementPossiblePayload> {
|
|
|
32
32
|
elements: GridViewElement<T>[];
|
|
33
33
|
}
|
|
34
34
|
export declare const toGridViewElements: <T = any>(elements: T[], key: string) => Array<GridViewElement<T>>;
|
|
35
|
-
export declare const
|
|
35
|
+
export declare const toNormalizedGroups: (id: string, label: string, possibleChildren: UiPossibleChild[]) => {
|
|
36
|
+
id: string;
|
|
37
|
+
label: string;
|
|
38
|
+
elements: GridViewElement<UiPossibleChild>[];
|
|
39
|
+
}[];
|
|
40
|
+
export declare const getAddonSearchGridViewElement: (elements: ParameterData<UiPossibleChildTag>[]) => ParameterData<UiPossibleChildTag>[];
|
|
36
41
|
export declare const getImageSizeHelper: (showWithBigThumbnails: boolean, isDesktop: boolean) => number;
|
|
37
42
|
export declare const getGridViewMaterialThumbnail: (material: any, imageSize?: number) => CssHash;
|
|
38
43
|
export {};
|
|
@@ -11,7 +11,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
11
11
|
selectedElement?: any;
|
|
12
12
|
groups: GridViewGroup<any>[];
|
|
13
13
|
onCollapse?: (mouseEvent: MouseEvent) => void;
|
|
14
|
-
|
|
14
|
+
label?: string;
|
|
15
15
|
}, {
|
|
16
16
|
currentTouch: TouchDrag<GridViewElement<any>>;
|
|
17
17
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
@@ -24,6 +24,6 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
24
24
|
selectedElement?: any;
|
|
25
25
|
groups: GridViewGroup<any>[];
|
|
26
26
|
onCollapse?: (mouseEvent: MouseEvent) => void;
|
|
27
|
-
|
|
27
|
+
label?: string;
|
|
28
28
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
29
29
|
export default _default;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ParameterData } from '../../../../common/components/side-bar/utils/types';
|
|
2
2
|
|
|
3
3
|
declare const _default: import('vue').DefineComponent<{
|
|
4
|
-
parameter:
|
|
4
|
+
parameter: ParameterData<any>[];
|
|
5
5
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
6
|
-
parameter:
|
|
6
|
+
parameter: ParameterData<any>[];
|
|
7
7
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
8
8
|
export default _default;
|
|
@@ -1,66 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
5
|
-
parameter: PropType<UiKernelParameter>;
|
|
6
|
-
isExpanded: BooleanConstructor;
|
|
7
|
-
onExpand: {
|
|
8
|
-
type: PropType<(_payload: MouseEvent) => void>;
|
|
9
|
-
required: true;
|
|
10
|
-
};
|
|
11
|
-
onCollapse: {
|
|
12
|
-
type: PropType<(_payload: MouseEvent) => void>;
|
|
13
|
-
};
|
|
14
|
-
isDesktop: BooleanConstructor;
|
|
15
|
-
}>, {}, {
|
|
16
|
-
groups: RapiMaterialGroup[];
|
|
17
|
-
}, {
|
|
18
|
-
allElements(): GridViewElement[];
|
|
19
|
-
selectedElement(): GridViewElement;
|
|
20
|
-
normalizedGroups(): GridViewGroup[];
|
|
21
|
-
}, {
|
|
22
|
-
onSelect({ key }: {
|
|
23
|
-
key: string;
|
|
24
|
-
}): Promise<void>;
|
|
25
|
-
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
26
|
-
parameter: PropType<UiKernelParameter>;
|
|
27
|
-
isExpanded: BooleanConstructor;
|
|
28
|
-
onExpand: {
|
|
29
|
-
type: PropType<(_payload: MouseEvent) => void>;
|
|
30
|
-
required: true;
|
|
31
|
-
};
|
|
32
|
-
onCollapse: {
|
|
33
|
-
type: PropType<(_payload: MouseEvent) => void>;
|
|
34
|
-
};
|
|
35
|
-
isDesktop: BooleanConstructor;
|
|
36
|
-
}>> & Readonly<{}>, {
|
|
37
|
-
isDesktop: boolean;
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
parameter?: UiKernelParameter;
|
|
38
3
|
isExpanded: boolean;
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
selectedElement?: any;
|
|
48
|
-
groups: GridViewGroup<any>[];
|
|
49
|
-
onCollapse?: (mouseEvent: MouseEvent) => void;
|
|
50
|
-
isDesktop?: boolean;
|
|
51
|
-
}, {
|
|
52
|
-
currentTouch: import('../../../../../packages/common/src/utils/touch-drag').TouchDrag<GridViewElement<any>>;
|
|
53
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
54
|
-
isExpanded?: boolean;
|
|
55
|
-
onExpand: (event: MouseEvent) => void;
|
|
56
|
-
onSelect: ((...args: any[]) => any)[] | ((possibleChild: GridViewElement<any>) => Promise<void>);
|
|
57
|
-
onDragStart?: (gridViewElement: GridViewElement<any>, event: TouchEvent | DragEvent) => Promise<void>;
|
|
58
|
-
onDragEnd?: (gridViewElement: GridViewElement<any>, event: TouchEvent | DragEvent) => void;
|
|
59
|
-
elements: GridViewElement<any>[];
|
|
60
|
-
selectedElement?: any;
|
|
61
|
-
groups: GridViewGroup<any>[];
|
|
62
|
-
onCollapse?: (mouseEvent: MouseEvent) => void;
|
|
63
|
-
isDesktop?: boolean;
|
|
64
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
65
|
-
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
4
|
+
onExpand: (_payload: MouseEvent) => void;
|
|
5
|
+
onCollapse?: (_payload: MouseEvent) => void;
|
|
6
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
7
|
+
parameter?: UiKernelParameter;
|
|
8
|
+
isExpanded: boolean;
|
|
9
|
+
onExpand: (_payload: MouseEvent) => void;
|
|
10
|
+
onCollapse?: (_payload: MouseEvent) => void;
|
|
11
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
66
12
|
export default _default;
|
|
@@ -14,7 +14,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
14
14
|
onCollapse: {
|
|
15
15
|
type: PropType<(_payload: MouseEvent) => void>;
|
|
16
16
|
};
|
|
17
|
-
|
|
17
|
+
label: StringConstructor;
|
|
18
18
|
}>, {}, {
|
|
19
19
|
groups: RapiTagForUi[];
|
|
20
20
|
}, {
|
|
@@ -35,9 +35,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
35
35
|
onCollapse: {
|
|
36
36
|
type: PropType<(_payload: MouseEvent) => void>;
|
|
37
37
|
};
|
|
38
|
-
|
|
38
|
+
label: StringConstructor;
|
|
39
39
|
}>> & Readonly<{}>, {
|
|
40
|
-
isDesktop: boolean;
|
|
41
40
|
isExpanded: boolean;
|
|
42
41
|
}, {}, {
|
|
43
42
|
GridView: import('vue').DefineComponent<{
|
|
@@ -50,7 +49,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
50
49
|
selectedElement?: any;
|
|
51
50
|
groups: GridViewGroup<any>[];
|
|
52
51
|
onCollapse?: (mouseEvent: MouseEvent) => void;
|
|
53
|
-
|
|
52
|
+
label?: string;
|
|
54
53
|
}, {
|
|
55
54
|
currentTouch: import('../../../../../packages/common/src/utils/touch-drag').TouchDrag<GridViewElement<any>>;
|
|
56
55
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
@@ -63,7 +62,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
63
62
|
selectedElement?: any;
|
|
64
63
|
groups: GridViewGroup<any>[];
|
|
65
64
|
onCollapse?: (mouseEvent: MouseEvent) => void;
|
|
66
|
-
|
|
65
|
+
label?: string;
|
|
67
66
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
68
67
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
69
68
|
export default _default;
|
|
@@ -11,7 +11,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
11
11
|
onCollapse: {
|
|
12
12
|
type: PropType<(_payload: MouseEvent) => void>;
|
|
13
13
|
};
|
|
14
|
-
isDesktop: BooleanConstructor;
|
|
15
14
|
}>, {}, {}, {
|
|
16
15
|
allElements(): GridViewElement[];
|
|
17
16
|
selectedElement(): GridViewElement;
|
|
@@ -30,9 +29,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
30
29
|
onCollapse: {
|
|
31
30
|
type: PropType<(_payload: MouseEvent) => void>;
|
|
32
31
|
};
|
|
33
|
-
isDesktop: BooleanConstructor;
|
|
34
32
|
}>> & Readonly<{}>, {
|
|
35
|
-
isDesktop: boolean;
|
|
36
33
|
isExpanded: boolean;
|
|
37
34
|
}, {}, {
|
|
38
35
|
GridView: import('vue').DefineComponent<{
|
|
@@ -45,7 +42,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
45
42
|
selectedElement?: any;
|
|
46
43
|
groups: GridViewGroup<any>[];
|
|
47
44
|
onCollapse?: (mouseEvent: MouseEvent) => void;
|
|
48
|
-
|
|
45
|
+
label?: string;
|
|
49
46
|
}, {
|
|
50
47
|
currentTouch: import('../../../../../packages/common/src/utils/touch-drag').TouchDrag<GridViewElement<any>>;
|
|
51
48
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
@@ -58,7 +55,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
58
55
|
selectedElement?: any;
|
|
59
56
|
groups: GridViewGroup<any>[];
|
|
60
57
|
onCollapse?: (mouseEvent: MouseEvent) => void;
|
|
61
|
-
|
|
58
|
+
label?: string;
|
|
62
59
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
63
60
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
64
61
|
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { RendererElement, RendererNode, VNode } from 'vue';
|
|
2
|
+
import { Nullable } from '../../../../common/utils/types';
|
|
3
|
+
|
|
4
|
+
export interface SideBarItem {
|
|
5
|
+
key: string;
|
|
6
|
+
label: string;
|
|
7
|
+
component: () => VNode<RendererNode, RendererElement, {
|
|
8
|
+
[p: string]: any;
|
|
9
|
+
}>;
|
|
10
|
+
componentIcon?: Nullable<() => VNode<RendererNode, RendererElement, {
|
|
11
|
+
[p: string]: any;
|
|
12
|
+
}>>;
|
|
13
|
+
}
|
|
@@ -4,12 +4,14 @@ import { ToggleCallback } from '../../../common/utils/types';
|
|
|
4
4
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
5
5
|
environment?: string;
|
|
6
6
|
}, {
|
|
7
|
-
|
|
7
|
+
onCollapseSidebar: () => void;
|
|
8
|
+
onExpandSidebar: () => void;
|
|
8
9
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
9
10
|
environment?: string;
|
|
10
11
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
|
|
11
12
|
default?(_: {
|
|
12
|
-
|
|
13
|
+
onExpand: () => void;
|
|
14
|
+
onCollapse: () => void;
|
|
13
15
|
toggleEvent: EventBus<ToggleCallback>;
|
|
14
16
|
isExpanded: boolean;
|
|
15
17
|
}): any;
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
searchString?: string;
|
|
2
3
|
isDesktop?: boolean;
|
|
3
|
-
onChange?: (
|
|
4
|
+
onChange?: (string: string) => void;
|
|
4
5
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
6
|
+
searchString?: string;
|
|
5
7
|
isDesktop?: boolean;
|
|
6
|
-
onChange?: (
|
|
8
|
+
onChange?: (string: string) => void;
|
|
7
9
|
}> & Readonly<{}>, {
|
|
8
10
|
isDesktop: boolean;
|
|
9
|
-
onChange: (
|
|
11
|
+
onChange: (string: string) => void;
|
|
12
|
+
searchString: string;
|
|
10
13
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
11
14
|
export default _default;
|
|
@@ -13,7 +13,7 @@ import { Translator } from '../../common/composables/use-intl';
|
|
|
13
13
|
import { ExternalConfiguration } from '@roomle/web-sdk/typings/external-objects';
|
|
14
14
|
|
|
15
15
|
export declare const startConfiguring: (store: Store<StoreState>, exposedCallbacks: ExposedCallbacks) => void;
|
|
16
|
-
export declare const
|
|
16
|
+
export declare const resetSidebarStates: (store: Store<StoreState>) => void;
|
|
17
17
|
export declare const stopConfiguring: (store: Store<StoreState>, sdkConnector: SdkConnector, embeddingCallbacks?: ExposedCallbacks) => Promise<void>;
|
|
18
18
|
export declare const triggerRequestProduct: (embeddingCallbacks: ExposedCallbacks, sdkConnector: SdkConnector, store: Store<StoreState>, analytics: Analytics) => Promise<void>;
|
|
19
19
|
export declare const sendSaveDraft: (sdkConnector: SdkConnector, store: Store<StoreState>, currentConfiguration: RapiConfigurationEnhanced | Nullable<RapiPlanSnapshotGetData | RapiPlan | ExternalConfiguration>) => Promise<any>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FeatureFlags, GlobalInitDataDefinition, InitDataDefinition } from '@roomle/web-sdk/common-core/src/utils/shims';
|
|
2
2
|
import { HexColorString, RapiConfiguratorSettings, RapiId } from '@roomle/web-sdk/typings/rapi-types';
|
|
3
3
|
import { Enumify, MEASUREMENT_UNIT, MEASUREMENT_SYSTEM, Nullable, TutorialData } from '../../common/utils/types';
|
|
4
|
-
import { ViewTypeState } from '../../common/store/
|
|
4
|
+
import { ViewTypeState } from '../../common/store/sidebar-store-state';
|
|
5
5
|
import { KernelPartList } from '@roomle/web-sdk/typings/kernel';
|
|
6
6
|
import { INTERACTION_NOTIFICATIONS, NOTIFICATIONS } from '../../common/components/utils/-utils/notifications';
|
|
7
7
|
import { SidebarEventTypes } from '../../common/composables/use-event-emitter-listener';
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import { CollectionViewElement, CollectionViewElementPossibleTypes } from '../../common/components/collection-view/-utils/types';
|
|
2
1
|
import { default as PlanElementViewModel } from '@roomle/web-sdk/common-core/src/view-model/plan-element-view-model';
|
|
3
2
|
import { WallDefinition } from '@roomle/web-sdk/planner-core/src/roomle-planner';
|
|
4
3
|
import { PlanInteractionHandler } from '@roomle/web-sdk/typings/planner';
|
|
5
4
|
import { PlannerUiState } from '../store/planner-ui-state';
|
|
6
|
-
import { GridViewElement } from '../../configurator/components/grid-view/-utils/GridViewHelper';
|
|
7
5
|
import { RapiMaterial } from '@roomle/web-sdk/typings/rapi-types';
|
|
8
6
|
import { SampleMaterial } from '../components/overlays/rooms/utils/ral-colors';
|
|
9
7
|
|
|
@@ -54,9 +52,4 @@ export interface WallColorGroup {
|
|
|
54
52
|
materials: MaterialsForObjects[];
|
|
55
53
|
sort?: number;
|
|
56
54
|
}
|
|
57
|
-
export type SampleRoomsCollectionView = [
|
|
58
|
-
CollectionViewElement<GridViewElement<SampleRoom>[]>,
|
|
59
|
-
CollectionViewElement<DrawControlTab>
|
|
60
|
-
];
|
|
61
|
-
export type GeneralRoomParameterView = Array<CollectionViewElement<CollectionViewElementPossibleTypes>>;
|
|
62
55
|
export declare const getRoomDefinition: (type: RoomType, planOverview: PlanOverview) => WallDefinition[];
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ParameterData } from '../../common/components/side-bar/utils/types';
|
|
2
2
|
|
|
3
3
|
declare const _default: import('vue').DefineComponent<{
|
|
4
|
-
element:
|
|
4
|
+
element: ParameterData<any>;
|
|
5
5
|
isExpanded?: boolean;
|
|
6
6
|
onExpand?: () => void;
|
|
7
7
|
onCollapse?: (_payload: MouseEvent) => void;
|
|
8
|
-
|
|
8
|
+
label?: string;
|
|
9
9
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
10
|
-
element:
|
|
10
|
+
element: ParameterData<any>;
|
|
11
11
|
isExpanded?: boolean;
|
|
12
12
|
onExpand?: () => void;
|
|
13
13
|
onCollapse?: (_payload: MouseEvent) => void;
|
|
14
|
-
|
|
14
|
+
label?: string;
|
|
15
15
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
16
|
export default _default;
|
|
@@ -2,14 +2,16 @@ import { ToggleCallback } from '../../common/utils/types';
|
|
|
2
2
|
import { EventBus } from '../../common/business-logic/event-bus';
|
|
3
3
|
|
|
4
4
|
declare const _default: import('vue').DefineComponent<{
|
|
5
|
-
|
|
5
|
+
onExpand?: () => void;
|
|
6
|
+
onCollapse?: () => void;
|
|
6
7
|
isLoading?: boolean;
|
|
7
8
|
resetScroll: () => void;
|
|
8
9
|
icToggleEvent: EventBus<ToggleCallback>;
|
|
9
10
|
}, {
|
|
10
11
|
layer0: import('vue').Ref<string, string>;
|
|
11
12
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
12
|
-
|
|
13
|
+
onExpand?: () => void;
|
|
14
|
+
onCollapse?: () => void;
|
|
13
15
|
isLoading?: boolean;
|
|
14
16
|
resetScroll: () => void;
|
|
15
17
|
icToggleEvent: EventBus<ToggleCallback>;
|
|
@@ -16,9 +16,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
16
16
|
rotationDegrees?: number;
|
|
17
17
|
}> & Readonly<{}>, {
|
|
18
18
|
progress: number;
|
|
19
|
+
radius: number;
|
|
19
20
|
stroke: number;
|
|
20
21
|
selectedObjCenter: PointCoords;
|
|
21
|
-
radius: number;
|
|
22
22
|
snapDegrees: number;
|
|
23
23
|
rotationDegrees: number;
|
|
24
24
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
|
|
@@ -4,11 +4,13 @@ import { BUTTON_ACTIONS } from '../../../configurator/store/ui-state';
|
|
|
4
4
|
|
|
5
5
|
declare const _default: import('vue').DefineComponent<{
|
|
6
6
|
onClose: (_buttonAction: BUTTON_ACTIONS, _reason: CloseReason) => Promise<void>;
|
|
7
|
-
|
|
7
|
+
onExpand?: () => void;
|
|
8
|
+
onCollapse?: () => void;
|
|
8
9
|
icToggleEvent: EventBus<ToggleCallback>;
|
|
9
10
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
10
11
|
onClose: (_buttonAction: BUTTON_ACTIONS, _reason: CloseReason) => Promise<void>;
|
|
11
|
-
|
|
12
|
+
onExpand?: () => void;
|
|
13
|
+
onCollapse?: () => void;
|
|
12
14
|
icToggleEvent: EventBus<ToggleCallback>;
|
|
13
15
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
14
16
|
export default _default;
|
|
@@ -3,17 +3,16 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
3
3
|
isExpanded?: boolean;
|
|
4
4
|
onExpand: (event: MouseEvent) => void;
|
|
5
5
|
onCollapse?: (_payload: MouseEvent) => void;
|
|
6
|
-
isDesktop?: boolean;
|
|
7
6
|
api: RoomlePlannerWithExtObjs;
|
|
7
|
+
label: string;
|
|
8
8
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
9
9
|
groups: RapiTag[];
|
|
10
10
|
isExpanded?: boolean;
|
|
11
11
|
onExpand: (event: MouseEvent) => void;
|
|
12
12
|
onCollapse?: (_payload: MouseEvent) => void;
|
|
13
|
-
isDesktop?: boolean;
|
|
14
13
|
api: RoomlePlannerWithExtObjs;
|
|
14
|
+
label: string;
|
|
15
15
|
}> & Readonly<{}>, {
|
|
16
|
-
isDesktop: boolean;
|
|
17
16
|
isExpanded: boolean;
|
|
18
17
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
19
18
|
export default _default;
|