@roomle/embedding-lib 5.25.0-alpha.9 → 5.26.0-alpha.1

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.
Files changed (76) hide show
  1. package/docs/md/web/embedding/CHANGELOG.md +27 -2
  2. package/package.json +1 -1
  3. package/packages/web-sdk/packages/common-core/src/static-files/light-settings.d.ts +6 -6
  4. package/packages/web-sdk/packages/common-core/src/utils/common-utils.d.ts +0 -1
  5. package/packages/web-sdk/packages/homag-intelligence/src/homag-intelligence.d.ts +5 -0
  6. package/src/common/components/inputs/RangeSlider.vue.d.ts +1 -1
  7. package/src/common/components/overlays/PartList.vue.d.ts +3 -3
  8. package/src/common/components/parameters/ColorParameter.vue.d.ts +2 -2
  9. package/src/common/components/side-bar/ResponsiveSidebarWrapper.vue.d.ts +37 -0
  10. package/src/common/components/side-bar/SidebarItem.vue.d.ts +20 -0
  11. package/src/common/components/side-bar/SidebarItemLabel.vue.d.ts +10 -0
  12. package/src/common/components/side-bar/SidebarRouterLayer.vue.d.ts +6 -0
  13. package/src/common/components/side-bar/TabbedNav.vue.d.ts +22 -0
  14. package/src/common/components/{collection-view/-utils → side-bar}/TabbedNavMenu.vue.d.ts +1 -1
  15. package/src/common/components/{collection-view/-utils/collection-view-dynamic-components.d.ts → side-bar/utils/configurator-sidebar-components.d.ts} +27 -86
  16. package/src/common/components/side-bar/utils/helper.d.ts +3 -0
  17. package/src/common/components/side-bar/utils/types.d.ts +32 -0
  18. package/src/common/components/utils/QRCode.vue.d.ts +3 -3
  19. package/src/common/composables/use-fetch-root-tag.d.ts +3 -3
  20. package/src/common/composables/use-open-close-anim.d.ts +2 -2
  21. package/src/common/composables/use-pausable-computed.d.ts +15 -0
  22. package/src/common/composables/use-sidebar-layer-router.d.ts +12 -0
  23. package/src/common/router/router.d.ts +2 -0
  24. package/src/common/store/index.d.ts +3 -3
  25. package/src/common/store/{collection-view-state.d.ts → sidebar-store-state.d.ts} +12 -12
  26. package/src/common/utils/parameters.d.ts +6 -6
  27. package/src/common/utils/types.d.ts +0 -3
  28. package/src/configurator/business-logic/sdk-connector.d.ts +0 -1
  29. package/src/configurator/components/ConfiguratorSidebar.vue.d.ts +4 -2
  30. package/src/configurator/components/addons/PossibleChildren.vue.d.ts +0 -2
  31. package/src/configurator/components/grid-view/-utils/CollapsedView.vue.d.ts +29 -77
  32. package/src/configurator/components/grid-view/-utils/ExpandedHeader.vue.d.ts +6 -6
  33. package/src/configurator/components/grid-view/-utils/ExpandedView.vue.d.ts +7 -4
  34. package/src/configurator/components/grid-view/-utils/GridViewElement.vue.d.ts +1 -1
  35. package/src/configurator/components/grid-view/-utils/GridViewHelper.d.ts +7 -2
  36. package/src/configurator/components/grid-view/GridView.vue.d.ts +2 -2
  37. package/src/configurator/components/parameters/types/DisabledParameters.vue.d.ts +3 -3
  38. package/src/configurator/components/parameters/types/MaterialParameter.vue.d.ts +10 -64
  39. package/src/configurator/components/parameters/types/ProductVariant.vue.d.ts +4 -5
  40. package/src/configurator/components/parameters/types/ThumbnailsParameter.vue.d.ts +2 -5
  41. package/src/configurator/components/utils/-utils/side-bar-types.d.ts +13 -0
  42. package/src/configurator/components/utils/InteractionsContainer.vue.d.ts +4 -2
  43. package/src/configurator/components/utils/SearchInput.vue.d.ts +6 -3
  44. package/src/configurator/embedding/helper.d.ts +1 -1
  45. package/src/configurator/embedding/types.d.ts +1 -1
  46. package/src/planner/business-logic/rooms.d.ts +0 -7
  47. package/src/planner/components/ObjectList.vue.d.ts +5 -5
  48. package/src/planner/components/PlannerSidebar.vue.d.ts +4 -2
  49. package/src/planner/components/overlays/RoomSidebar.vue.d.ts +4 -2
  50. package/src/planner/components/overlays/rooms/ConstructionVariants.vue.d.ts +2 -3
  51. package/src/planner/components/overlays/rooms/DoorParametersSetting.vue.d.ts +15 -4873
  52. package/src/planner/components/overlays/rooms/RoomFloorAndWallSettings.vue.d.ts +0 -2
  53. package/src/planner/components/overlays/rooms/RoomsList.vue.d.ts +0 -2
  54. package/src/planner/components/overlays/rooms/WallGeneralSettings.vue.d.ts +4 -2
  55. package/src/planner/components/overlays/rooms/WindowParametersSetting.vue.d.ts +4 -2
  56. package/src/planner/components/utils/ConfiguratorParameter.vue.d.ts +6 -6
  57. package/src/planner/components/utils/InteractionHeader.vue.d.ts +3 -3
  58. package/src/planner/components/utils/WallSideIcon.vue.d.ts +5 -5
  59. package/src/planner/store/planner-core-data.d.ts +0 -1
  60. package/src/planner/utils/planner-sidebar.d.ts +0 -9
  61. package/src/viewer/components/ViewerMain.vue.d.ts +11 -7
  62. package/src/viewer/components/ViewerSidebar.vue.d.ts +3 -3
  63. package/src/common/components/collection-view/-utils/TabbedNav.vue.d.ts +0 -18
  64. package/src/common/components/collection-view/-utils/collection-view-props.d.ts +0 -40
  65. package/src/common/components/collection-view/-utils/helper.d.ts +0 -5
  66. package/src/common/components/collection-view/-utils/render.d.ts +0 -9
  67. package/src/common/components/collection-view/-utils/types.d.ts +0 -45
  68. package/src/common/components/collection-view/CollectionView.vue.d.ts +0 -69
  69. package/src/common/components/collection-view/CollectionViewElement.vue.d.ts +0 -47
  70. package/src/common/components/drawer-layout/DrawerElement.vue.d.ts +0 -71
  71. package/src/common/components/drawer-layout/DrawerGroup.vue.d.ts +0 -23
  72. package/src/common/components/drawer-layout/DrawerLayout.vue.d.ts +0 -94
  73. /package/src/common/components/{collection-view/-utils → side-bar}/BackButton.vue.d.ts +0 -0
  74. /package/src/common/components/{collection-view/CollectionViewHint.vue.d.ts → side-bar/SidebarHintText.vue.d.ts} +0 -0
  75. /package/src/common/components/{collection-view/-utils → side-bar}/TabbedNavStatic.vue.d.ts +0 -0
  76. /package/src/common/components/{collection-view/-utils → tool-tip}/ParameterTooltip.vue.d.ts +0 -0
@@ -3,12 +3,10 @@ import { CloseReason } from '../../../../common/utils/types';
3
3
 
4
4
  declare const _default: import('vue').DefineComponent<{
5
5
  onClose: (_action: BUTTON_ACTIONS, _reason: CloseReason) => void;
6
- onToggleExpand: () => void;
7
6
  interactionHandler: PlanInteractionHandler;
8
7
  api: RoomlePlanner;
9
8
  }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
10
9
  onClose: (_action: BUTTON_ACTIONS, _reason: CloseReason) => void;
11
- onToggleExpand: () => void;
12
10
  interactionHandler: PlanInteractionHandler;
13
11
  api: RoomlePlanner;
14
12
  }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
@@ -7,7 +7,6 @@ declare const _default: import('vue').DefineComponent<{
7
7
  onExpand: () => void;
8
8
  onCollapse?: (_payload: MouseEvent) => void;
9
9
  onSelect: (_sampleRoom: GridViewElement<any>) => Promise<void>;
10
- isDesktop?: boolean;
11
10
  selectedElement: GridViewElement<SampleRoom>;
12
11
  }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
13
12
  objects: GridViewElement<SampleRoom>[];
@@ -15,7 +14,6 @@ declare const _default: import('vue').DefineComponent<{
15
14
  onExpand: () => void;
16
15
  onCollapse?: (_payload: MouseEvent) => void;
17
16
  onSelect: (_sampleRoom: GridViewElement<any>) => Promise<void>;
18
- isDesktop?: boolean;
19
17
  selectedElement: GridViewElement<SampleRoom>;
20
18
  }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
21
19
  export default _default;
@@ -2,12 +2,14 @@ import { BUTTON_ACTIONS } from '../../../../configurator/store/ui-state';
2
2
 
3
3
  declare const _default: import('vue').DefineComponent<{
4
4
  onClose: (action: BUTTON_ACTIONS) => void;
5
- onToggleExpand: () => void;
5
+ onExpand?: () => void;
6
+ onCollapse?: () => void;
6
7
  api: RoomlePlanner;
7
8
  interactionHandler: PlanInteractionHandler;
8
9
  }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
9
10
  onClose: (action: BUTTON_ACTIONS) => void;
10
- onToggleExpand: () => void;
11
+ onExpand?: () => void;
12
+ onCollapse?: () => void;
11
13
  api: RoomlePlanner;
12
14
  interactionHandler: PlanInteractionHandler;
13
15
  }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
@@ -3,12 +3,14 @@ import { BUTTON_ACTIONS } from '../../../../configurator/store/ui-state';
3
3
 
4
4
  declare const _default: import('vue').DefineComponent<{
5
5
  onClose: (_buttonAction: BUTTON_ACTIONS, _reason: CloseReason) => Promise<void>;
6
- onToggleExpand?: () => void;
6
+ onExpand?: () => void;
7
+ onCollapse?: () => void;
7
8
  interactionHandler: PlanInteractionHandler;
8
9
  api: RoomlePlannerWithExtObjs;
9
10
  }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
10
11
  onClose: (_buttonAction: BUTTON_ACTIONS, _reason: CloseReason) => Promise<void>;
11
- onToggleExpand?: () => void;
12
+ onExpand?: () => void;
13
+ onCollapse?: () => void;
12
14
  interactionHandler: PlanInteractionHandler;
13
15
  api: RoomlePlannerWithExtObjs;
14
16
  }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
@@ -1,19 +1,19 @@
1
- import { CollectionViewState } from '../../../common/store/collection-view-state';
2
- import { CollectionViewElement } from '../../../common/components/collection-view/-utils/types';
1
+ import { SidebarStoreState } from '../../../common/store/sidebar-store-state';
2
+ import { ParameterData } from '../../../common/components/side-bar/utils/types';
3
3
 
4
4
  declare const _default: import('vue').DefineComponent<{
5
- element: CollectionViewElement<any>;
5
+ element: ParameterData<any>;
6
6
  onExpandGridView?: (element: any) => void;
7
7
  onCollapse?: () => void;
8
8
  onSelect?: (...args: any[]) => void;
9
9
  isDesktop?: boolean;
10
- state?: CollectionViewState;
10
+ state?: SidebarStoreState;
11
11
  }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
12
- element: CollectionViewElement<any>;
12
+ element: ParameterData<any>;
13
13
  onExpandGridView?: (element: any) => void;
14
14
  onCollapse?: () => void;
15
15
  onSelect?: (...args: any[]) => void;
16
16
  isDesktop?: boolean;
17
- state?: CollectionViewState;
17
+ state?: SidebarStoreState;
18
18
  }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
19
19
  export default _default;
@@ -1,10 +1,10 @@
1
1
  declare const _default: import('vue').DefineComponent<{
2
2
  onClick?: (_payload: MouseEvent) => void;
3
- heading: string;
3
+ heading?: string;
4
4
  hideCloseButton?: boolean;
5
5
  }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
6
6
  onClick?: (_payload: MouseEvent) => void;
7
- heading: string;
7
+ heading?: string;
8
8
  hideCloseButton?: boolean;
9
- }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
9
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
10
10
  export default _default;
@@ -1,9 +1,9 @@
1
1
  import { PropType } from 'vue';
2
- import { WallSideIconProps } from '../../../common/components/collection-view/-utils/types';
2
+ import { WallSide } from '../../business-logic/selected-wall-parameters';
3
3
 
4
4
  declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
5
- props: {
6
- type: PropType<WallSideIconProps>;
5
+ side: {
6
+ type: PropType<WallSide>;
7
7
  };
8
8
  flip: {
9
9
  type: BooleanConstructor;
@@ -12,8 +12,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
12
12
  }>, {
13
13
  wallIconAngle: import('vue').ComputedRef<string>;
14
14
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
15
- props: {
16
- type: PropType<WallSideIconProps>;
15
+ side: {
16
+ type: PropType<WallSide>;
17
17
  };
18
18
  flip: {
19
19
  type: BooleanConstructor;
@@ -14,7 +14,6 @@ export interface PlannerCoreData {
14
14
  }
15
15
  export declare const PLANNER_CORE_DATA_MUTATIONS: PlannerCoreUiIdentifier;
16
16
  export declare const PLANNER_CORE_DATA_ACTIONS: PlannerCoreUiIdentifier;
17
- export declare const PLANNER_CORE_DATA_GETTERS: PlannerCoreUiIdentifier;
18
17
  export declare const plannerCoreDataInitialState: PlannerCoreData;
19
18
  export declare const plannerCoreData: Module<PlannerCoreData, StoreState>;
20
19
  export {};
@@ -3,11 +3,6 @@ import { StoreState } from '../../common/store';
3
3
  import { RapiConfiguration, RapiItem } from '@roomle/web-sdk/typings/rapi-types';
4
4
  import { Ref } from 'vue';
5
5
 
6
- export interface XYZCoords {
7
- x: number;
8
- y: number;
9
- z: number;
10
- }
11
6
  export interface ProductListItem extends UiPlanObject {
12
7
  quantity: number;
13
8
  runtimeIds?: number[];
@@ -16,13 +11,9 @@ export interface PlannerSidebarLayerState {
16
11
  activeLayer: Ref<number>;
17
12
  layer0: Ref<string>;
18
13
  layer1: Ref<string>;
19
- isSearchActive: Ref<boolean>;
20
14
  }
21
15
  export declare const PLANNER_SIDEBAR_STATE_KEYS: {
22
16
  readonly LAYER_STATE: "planner_sidebar_layer_state";
23
17
  };
24
- export declare const CONFIGURATOR_SIDEBAR_STATE_KEYS: {
25
- readonly SHOULD_SHOW_COLLECTION_VIEW_ELEMENT: "configurator_sidebar_show_collection_view_element";
26
- };
27
18
  export declare const matchProductListAndQuantity: (productList: UiPlanObject[]) => ProductListItem[];
28
19
  export declare const fillPartList: (data: RapiItem | RapiConfiguration, partList: KernelPartList, hash: string, plannerApi: RoomlePlannerWithExtObjs, store: Store<StoreState>) => Promise<void>;
@@ -71,7 +71,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
71
71
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
72
72
  environment?: string;
73
73
  }> & Readonly<{}>, {
74
- toggle: () => void;
74
+ onCollapseSidebar: () => void;
75
+ onExpandSidebar: () => void;
75
76
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
76
77
  P: {};
77
78
  B: {};
@@ -82,7 +83,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
82
83
  }, Readonly<{
83
84
  environment?: string;
84
85
  }> & Readonly<{}>, {
85
- toggle: () => void;
86
+ onCollapseSidebar: () => void;
87
+ onExpandSidebar: () => void;
86
88
  }, {}, {}, {}, {}>;
87
89
  __isFragment?: never;
88
90
  __isTeleport?: never;
@@ -90,11 +92,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
90
92
  } & import('vue').ComponentOptionsBase<Readonly<{
91
93
  environment?: string;
92
94
  }> & Readonly<{}>, {
93
- toggle: () => void;
95
+ onCollapseSidebar: () => void;
96
+ onExpandSidebar: () => void;
94
97
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
95
98
  $slots: {
96
99
  default?(_: {
97
- toggle: () => void;
100
+ onExpand: () => void;
101
+ onCollapse: () => void;
98
102
  toggleEvent: import('../../common/business-logic/event-bus').EventBus<import('../../common/utils/types').ToggleCallback>;
99
103
  isExpanded: boolean;
100
104
  }): any;
@@ -152,13 +156,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
152
156
  }>> & Readonly<{}>, {}, {}, {
153
157
  InteractionHeader: import('vue').DefineComponent<{
154
158
  onClick?: (_payload: MouseEvent) => void;
155
- heading: string;
159
+ heading?: string;
156
160
  hideCloseButton?: boolean;
157
161
  }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
158
162
  onClick?: (_payload: MouseEvent) => void;
159
- heading: string;
163
+ heading?: string;
160
164
  hideCloseButton?: boolean;
161
- }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
165
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
162
166
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
163
167
  BottomBar: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
164
168
  BottomButtons: import('vue').DefineComponent<{}, {}, {}, {
@@ -22,12 +22,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
22
22
  }>> & Readonly<{}>, {}, {}, {
23
23
  InteractionHeader: import('vue').DefineComponent<{
24
24
  onClick?: (_payload: MouseEvent) => void;
25
- heading: string;
25
+ heading?: string;
26
26
  hideCloseButton?: boolean;
27
27
  }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
28
28
  onClick?: (_payload: MouseEvent) => void;
29
- heading: string;
29
+ heading?: string;
30
30
  hideCloseButton?: boolean;
31
- }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
31
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
32
32
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
33
33
  export default _default;
@@ -1,18 +0,0 @@
1
- import { CollectionViewElement, TabCategory } from './types';
2
-
3
- declare const _default: import('vue').DefineComponent<{
4
- onSelect: (_tab: CollectionViewElement<any>) => void;
5
- onSelectCategory: (_category: TabCategory, _index: number) => void;
6
- tabs: CollectionViewElement<any>[];
7
- selected: CollectionViewElement<any>;
8
- showSearch?: boolean;
9
- onClickSearch?: () => void;
10
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
11
- onSelect: (_tab: CollectionViewElement<any>) => void;
12
- onSelectCategory: (_category: TabCategory, _index: number) => void;
13
- tabs: CollectionViewElement<any>[];
14
- selected: CollectionViewElement<any>;
15
- showSearch?: boolean;
16
- onClickSearch?: () => void;
17
- }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
18
- export default _default;
@@ -1,40 +0,0 @@
1
- import { GridViewElement } from '../../../../configurator/components/grid-view/-utils/GridViewHelper';
2
- import { PropType } from 'vue';
3
- import { CollectionViewElement } from './types';
4
-
5
- export declare const collectionViewProps: {
6
- onToggleExpand: FunctionConstructor;
7
- onGoBack: {
8
- type: PropType<(_wasShowDetailsBefore: boolean) => void>;
9
- };
10
- onCollapse: FunctionConstructor;
11
- onShowDisabledMessage: {
12
- type: PropType<(_payload: MouseEvent) => void>;
13
- };
14
- elements: {
15
- type: PropType<CollectionViewElement<any>[]>;
16
- };
17
- isDesktop: BooleanConstructor;
18
- helpText: {
19
- type: PropType<string>;
20
- };
21
- header: {
22
- type: PropType<string>;
23
- };
24
- showBack: BooleanConstructor;
25
- interactionsExpanded: BooleanConstructor;
26
- onChangeParameterGroup: FunctionConstructor;
27
- onSelectElement: FunctionConstructor;
28
- onClose: {
29
- type: PropType<(_payload: MouseEvent) => void>;
30
- required: true;
31
- };
32
- onSelectTab: {
33
- type: PropType<(_element: CollectionViewElement) => Promise<void>>;
34
- };
35
- disableDefaultExpand: BooleanConstructor;
36
- selectedElement: {
37
- type: PropType<GridViewElement<any>>;
38
- };
39
- bigCategories: BooleanConstructor;
40
- };
@@ -1,5 +0,0 @@
1
- import { Nullable } from '../../../utils/types';
2
- import { CollectionViewElement } from './types';
3
-
4
- export declare const checkPossibleType: (type: Nullable<string>) => boolean;
5
- export declare const getCollectionViewTemplate: (collectionViewElement: CollectionViewElement, useSnakeCase?: boolean) => string;
@@ -1,9 +0,0 @@
1
- import { Nullable } from '../../../utils/types';
2
- import { VNode } from 'vue';
3
-
4
- export declare const renderCollectionView: (props?: Record<string, any>, scopedSlots?: Nullable<{
5
- staticElements: () => VNode[];
6
- categories: () => VNode[];
7
- }>) => VNode<import('vue').RendererNode, import('vue').RendererElement, {
8
- [key: string]: any;
9
- }>;
@@ -1,45 +0,0 @@
1
- import { VNode, Component } from 'vue';
2
- import { UiKernelParameter, UiPossibleChildTag } from '@roomle/web-sdk/typings/kernel';
3
- import { RapiTagForUi } from '@roomle/web-sdk/typings/rapi-types';
4
- import { WallSide } from '../../../../planner/business-logic/selected-wall-parameters';
5
- import { Nullable } from '../../../utils/types';
6
-
7
- export type CollectionViewGeneralType = 'addon' | 'parameter' | 'variant';
8
- export type CollectionViewElementDynamicType = CollectionViewGeneralType;
9
- export type DrawerElementType = 'unknown' | 'static';
10
- export type CollectionViewElementType = CollectionViewElementDynamicType | DrawerElementType;
11
- export interface TabCategory {
12
- key: string;
13
- label: string;
14
- onSelect?: Nullable<(_category: TabCategory) => Promise<void>>;
15
- }
16
- export interface WallSideIconProps {
17
- side: WallSide;
18
- }
19
- export interface CollectionViewComponentIcon<T> {
20
- element: Component;
21
- props?: T;
22
- }
23
- export type CollectionViewElementPossibleTypes = UiPossibleChildTag | UiKernelParameter | RapiTagForUi;
24
- export interface CollectionViewElement<T = CollectionViewElementPossibleTypes> {
25
- label: Nullable<string>;
26
- key: string;
27
- payload: T;
28
- type: string;
29
- svgIcon?: string;
30
- tabCategory?: TabCategory;
31
- componentIcon?: CollectionViewComponentIcon<Record<string, any>>;
32
- }
33
- export declare const TabbedNavMenuKeys: {
34
- readonly Draw: "tabbed-nav-menu-draw";
35
- readonly Settings: "tabbed-nav-menu-settings";
36
- readonly Construction: "tabbed-nav-menu-construction";
37
- };
38
- export declare const POSSIBLE_COLLECTION_VIEW_CHILDREN_TYPES: readonly ["DrawerElement", "DrawerGroup"];
39
- export type CollectionViewPossibleStaticChildren = (typeof POSSIBLE_COLLECTION_VIEW_CHILDREN_TYPES)[number];
40
- export interface CollectionViewChildStaticType {
41
- collectionViewChildStaticType: CollectionViewPossibleStaticChildren;
42
- [key: string | number | symbol]: any;
43
- }
44
- export declare const isNodeFragment: (node: VNode) => boolean;
45
- export declare const isUsableNode: (node: VNode) => boolean;
@@ -1,69 +0,0 @@
1
- import { CollectionViewElement, TabCategory } from './-utils/types';
2
- import { ToggleCallback } from '../../utils/types';
3
- import { GridViewElement } from '../../../configurator/components/grid-view/-utils/GridViewHelper';
4
- import { EventBus } from '../../business-logic/event-bus';
5
-
6
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
7
- activeCategoryIndex?: number;
8
- isStaticallyCoded?: boolean;
9
- countCategories?: number;
10
- staticElementsData?: CollectionViewElement<any>[];
11
- onTabCategorySelected?: (_category: TabCategory, _index: number) => void;
12
- hideHeaderCloseButton?: boolean;
13
- onToggleExpand: () => void;
14
- onToggleEvent?: EventBus<ToggleCallback>;
15
- onGoBack?: (_wasShowDetailsBefore: boolean) => void;
16
- onCollapse?: () => void;
17
- onShowDisabledMessage?: (_payload: MouseEvent) => void;
18
- elements?: CollectionViewElement<any>[];
19
- isDesktop: boolean;
20
- helpText: string;
21
- header: string;
22
- showBack: boolean;
23
- interactionsExpanded: boolean;
24
- onChangeParameterGroup?: () => void;
25
- onSelectElement?: (args: unknown) => void;
26
- onClose: (_payload: MouseEvent) => void;
27
- onSelectTab?: (_element: CollectionViewElement<any>) => Promise<void>;
28
- getSearchingAddonsMobileState?: (_state: boolean) => void;
29
- disableDefaultExpand?: boolean;
30
- selectedElement?: GridViewElement<any>;
31
- bigCategories?: boolean;
32
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
33
- activeCategoryIndex?: number;
34
- isStaticallyCoded?: boolean;
35
- countCategories?: number;
36
- staticElementsData?: CollectionViewElement<any>[];
37
- onTabCategorySelected?: (_category: TabCategory, _index: number) => void;
38
- hideHeaderCloseButton?: boolean;
39
- onToggleExpand: () => void;
40
- onToggleEvent?: EventBus<ToggleCallback>;
41
- onGoBack?: (_wasShowDetailsBefore: boolean) => void;
42
- onCollapse?: () => void;
43
- onShowDisabledMessage?: (_payload: MouseEvent) => void;
44
- elements?: CollectionViewElement<any>[];
45
- isDesktop: boolean;
46
- helpText: string;
47
- header: string;
48
- showBack: boolean;
49
- interactionsExpanded: boolean;
50
- onChangeParameterGroup?: () => void;
51
- onSelectElement?: (args: unknown) => void;
52
- onClose: (_payload: MouseEvent) => void;
53
- onSelectTab?: (_element: CollectionViewElement<any>) => Promise<void>;
54
- getSearchingAddonsMobileState?: (_state: boolean) => void;
55
- disableDefaultExpand?: boolean;
56
- selectedElement?: GridViewElement<any>;
57
- bigCategories?: boolean;
58
- }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
59
- categories?(_: {}): any;
60
- staticElements?(_: {}): any;
61
- staticElements?(_: {}): any;
62
- nextAction?(_: {}): any;
63
- }>;
64
- export default _default;
65
- type __VLS_WithTemplateSlots<T, S> = T & {
66
- new (): {
67
- $slots: S;
68
- };
69
- };
@@ -1,47 +0,0 @@
1
- import { CollectionViewElement } from './-utils/types';
2
- import { GridViewElement } from '../../../configurator/components/grid-view/-utils/GridViewHelper';
3
-
4
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
5
- element: CollectionViewElement<any>;
6
- isGridViewExpanded?: boolean;
7
- onSelect?: (...args: any[]) => void;
8
- onDoCollapse: () => void;
9
- isDesktop: boolean;
10
- onShowDisabledMessage?: (_payload: MouseEvent) => void;
11
- selectedElement?: GridViewElement<any>;
12
- expandedOnDefault?: boolean;
13
- onExpandGridView: (element: CollectionViewElement<any>) => void;
14
- getTemplate: (collectionViewElement: CollectionViewElement<any>, useSnakeCase?: boolean) => string;
15
- useDesktopView: boolean;
16
- isLast?: boolean;
17
- noHeightWrapper?: boolean;
18
- disabled?: boolean;
19
- payload?: any;
20
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
21
- element: CollectionViewElement<any>;
22
- isGridViewExpanded?: boolean;
23
- onSelect?: (...args: any[]) => void;
24
- onDoCollapse: () => void;
25
- isDesktop: boolean;
26
- onShowDisabledMessage?: (_payload: MouseEvent) => void;
27
- selectedElement?: GridViewElement<any>;
28
- expandedOnDefault?: boolean;
29
- onExpandGridView: (element: CollectionViewElement<any>) => void;
30
- getTemplate: (collectionViewElement: CollectionViewElement<any>, useSnakeCase?: boolean) => string;
31
- useDesktopView: boolean;
32
- isLast?: boolean;
33
- noHeightWrapper?: boolean;
34
- disabled?: boolean;
35
- payload?: any;
36
- }> & Readonly<{}>, {
37
- disabled: boolean;
38
- isLast: boolean;
39
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
40
- default?(_: {}): any;
41
- }>;
42
- export default _default;
43
- type __VLS_WithTemplateSlots<T, S> = T & {
44
- new (): {
45
- $slots: S;
46
- };
47
- };
@@ -1,71 +0,0 @@
1
- import { CollectionViewComponentIcon, CollectionViewElement } from '../collection-view/-utils/types';
2
-
3
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
4
- label?: string;
5
- svgIcon?: string;
6
- componentIcon?: CollectionViewComponentIcon<Record<string, any>>;
7
- elemKey?: string;
8
- type?: string;
9
- isLast?: boolean;
10
- hideBottomBorder?: boolean;
11
- categoryKey?: string;
12
- activeCategory?: string;
13
- useDesktopView?: boolean;
14
- showAlways?: boolean;
15
- noHeightWrapper?: boolean;
16
- onMounted?: (_el: HTMLElement) => void;
17
- isGridViewExpanded?: boolean;
18
- isDesktop?: boolean;
19
- onSelect?: (element: CollectionViewElement<any>) => void;
20
- onDoCollapse?: () => void;
21
- element?: CollectionViewElement<any>;
22
- onShowDisableMessage?: () => void;
23
- selectedElement?: CollectionViewElement<any>;
24
- expandedOnDefault?: boolean;
25
- onGridExpand?: () => void;
26
- payload?: UiPossibleChildTag;
27
- getTemplate?: (element: CollectionViewElement<any>) => string;
28
- disabled?: boolean;
29
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
30
- label?: string;
31
- svgIcon?: string;
32
- componentIcon?: CollectionViewComponentIcon<Record<string, any>>;
33
- elemKey?: string;
34
- type?: string;
35
- isLast?: boolean;
36
- hideBottomBorder?: boolean;
37
- categoryKey?: string;
38
- activeCategory?: string;
39
- useDesktopView?: boolean;
40
- showAlways?: boolean;
41
- noHeightWrapper?: boolean;
42
- onMounted?: (_el: HTMLElement) => void;
43
- isGridViewExpanded?: boolean;
44
- isDesktop?: boolean;
45
- onSelect?: (element: CollectionViewElement<any>) => void;
46
- onDoCollapse?: () => void;
47
- element?: CollectionViewElement<any>;
48
- onShowDisableMessage?: () => void;
49
- selectedElement?: CollectionViewElement<any>;
50
- expandedOnDefault?: boolean;
51
- onGridExpand?: () => void;
52
- payload?: UiPossibleChildTag;
53
- getTemplate?: (element: CollectionViewElement<any>) => string;
54
- disabled?: boolean;
55
- }> & Readonly<{}>, {
56
- label: string;
57
- type: string;
58
- element: CollectionViewElement<any>;
59
- disabled: boolean;
60
- isLast: boolean;
61
- elemKey: string;
62
- hideBottomBorder: boolean;
63
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
64
- default?(_: {}): any;
65
- }>;
66
- export default _default;
67
- type __VLS_WithTemplateSlots<T, S> = T & {
68
- new (): {
69
- $slots: S;
70
- };
71
- };
@@ -1,23 +0,0 @@
1
- import { TabCategory } from '../collection-view/-utils/types';
2
-
3
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
4
- label: string;
5
- initiallySelected?: boolean;
6
- onSelect?: (category: TabCategory) => Promise<void>;
7
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
8
- label: string;
9
- initiallySelected?: boolean;
10
- onSelect?: (category: TabCategory) => Promise<void>;
11
- }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, Readonly<{
12
- category(): void;
13
- elements(): void;
14
- }> & {
15
- category(): void;
16
- elements(): void;
17
- }>;
18
- export default _default;
19
- type __VLS_WithTemplateSlots<T, S> = T & {
20
- new (): {
21
- $slots: S;
22
- };
23
- };