@roomle/embedding-lib 5.31.0-alpha.3 → 5.31.0-alpha.5
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 +3 -3
- package/package.json +1 -1
- package/src/common/components/overlays/PartList.vue.d.ts +82 -0
- package/src/common/store/index.d.ts +2 -4
- package/src/common/utils/types.d.ts +1 -0
- package/src/configurator/store/core-data-store.d.ts +90 -0
- package/src/configurator/store/ui-state.d.ts +1 -1
- package/src/configurator/store/core-data.d.ts +0 -25
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
## [5.31.0-alpha.
|
|
1
|
+
## [5.31.0-alpha.5](https://github.com/roomle-dev/roomle-ui/compare/embedding-lib-v5.31.0-alpha.4...embedding-lib-v5.31.0-alpha.5) (2025-10-30)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Features
|
|
5
5
|
|
|
6
|
-
* **core:** upgrade to version 2.63.0
|
|
6
|
+
* **core:** upgrade to version 2.63.0 ([7e4d857](https://github.com/roomle-dev/roomle-ui/commit/7e4d8574759556bc2afb2f59d73c7f354547ebf5))
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
### Bug Fixes
|
|
10
10
|
|
|
11
|
-
*
|
|
11
|
+
* apply dimension lines feedback ([4401d84](https://github.com/roomle-dev/roomle-ui/commit/4401d84d7120f72b4cab42a6da9cec18365b0de1))
|
package/package.json
CHANGED
|
@@ -13,6 +13,88 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
13
13
|
required: true;
|
|
14
14
|
};
|
|
15
15
|
}>, {
|
|
16
|
+
coreDataStore: import('pinia').Store<"coreDataStore", Pick<{
|
|
17
|
+
groups: import('vue').Ref<{
|
|
18
|
+
parameters: any[];
|
|
19
|
+
}[], import('../../../configurator/store/core-data-store').ParameterGroup[] | {
|
|
20
|
+
parameters: any[];
|
|
21
|
+
}[]>;
|
|
22
|
+
parameters: import('vue').Ref<any[], any[] | UiKernelParameter[]>;
|
|
23
|
+
addons: import('vue').Ref<any[], any[] | UiPossibleChildTag[]>;
|
|
24
|
+
partList: import('vue').Ref<KernelPartList, KernelPartList>;
|
|
25
|
+
bounds: import('vue').Ref<{
|
|
26
|
+
width: string;
|
|
27
|
+
height: string;
|
|
28
|
+
depth: string;
|
|
29
|
+
}, import('../../utils/helper').KernelBoundsFormatted | {
|
|
30
|
+
width: string;
|
|
31
|
+
height: string;
|
|
32
|
+
depth: string;
|
|
33
|
+
}>;
|
|
34
|
+
currencySymbol: import('vue').Ref<string, string>;
|
|
35
|
+
price: import('vue').Ref<number, number>;
|
|
36
|
+
currentPrice: import('vue').ComputedRef<string>;
|
|
37
|
+
hasNonGroupAddons: import('vue').ComputedRef<boolean>;
|
|
38
|
+
updatePrice: (priceData: {
|
|
39
|
+
currencySymbol: string;
|
|
40
|
+
price: number;
|
|
41
|
+
}) => void;
|
|
42
|
+
setPiniaVuexReference: (store: Store<import('../../store').StoreState>) => void;
|
|
43
|
+
}, "parameters" | "groups" | "addons" | "partList" | "bounds" | "currencySymbol" | "price">, Pick<{
|
|
44
|
+
groups: import('vue').Ref<{
|
|
45
|
+
parameters: any[];
|
|
46
|
+
}[], import('../../../configurator/store/core-data-store').ParameterGroup[] | {
|
|
47
|
+
parameters: any[];
|
|
48
|
+
}[]>;
|
|
49
|
+
parameters: import('vue').Ref<any[], any[] | UiKernelParameter[]>;
|
|
50
|
+
addons: import('vue').Ref<any[], any[] | UiPossibleChildTag[]>;
|
|
51
|
+
partList: import('vue').Ref<KernelPartList, KernelPartList>;
|
|
52
|
+
bounds: import('vue').Ref<{
|
|
53
|
+
width: string;
|
|
54
|
+
height: string;
|
|
55
|
+
depth: string;
|
|
56
|
+
}, import('../../utils/helper').KernelBoundsFormatted | {
|
|
57
|
+
width: string;
|
|
58
|
+
height: string;
|
|
59
|
+
depth: string;
|
|
60
|
+
}>;
|
|
61
|
+
currencySymbol: import('vue').Ref<string, string>;
|
|
62
|
+
price: import('vue').Ref<number, number>;
|
|
63
|
+
currentPrice: import('vue').ComputedRef<string>;
|
|
64
|
+
hasNonGroupAddons: import('vue').ComputedRef<boolean>;
|
|
65
|
+
updatePrice: (priceData: {
|
|
66
|
+
currencySymbol: string;
|
|
67
|
+
price: number;
|
|
68
|
+
}) => void;
|
|
69
|
+
setPiniaVuexReference: (store: Store<import('../../store').StoreState>) => void;
|
|
70
|
+
}, "currentPrice" | "hasNonGroupAddons">, Pick<{
|
|
71
|
+
groups: import('vue').Ref<{
|
|
72
|
+
parameters: any[];
|
|
73
|
+
}[], import('../../../configurator/store/core-data-store').ParameterGroup[] | {
|
|
74
|
+
parameters: any[];
|
|
75
|
+
}[]>;
|
|
76
|
+
parameters: import('vue').Ref<any[], any[] | UiKernelParameter[]>;
|
|
77
|
+
addons: import('vue').Ref<any[], any[] | UiPossibleChildTag[]>;
|
|
78
|
+
partList: import('vue').Ref<KernelPartList, KernelPartList>;
|
|
79
|
+
bounds: import('vue').Ref<{
|
|
80
|
+
width: string;
|
|
81
|
+
height: string;
|
|
82
|
+
depth: string;
|
|
83
|
+
}, import('../../utils/helper').KernelBoundsFormatted | {
|
|
84
|
+
width: string;
|
|
85
|
+
height: string;
|
|
86
|
+
depth: string;
|
|
87
|
+
}>;
|
|
88
|
+
currencySymbol: import('vue').Ref<string, string>;
|
|
89
|
+
price: import('vue').Ref<number, number>;
|
|
90
|
+
currentPrice: import('vue').ComputedRef<string>;
|
|
91
|
+
hasNonGroupAddons: import('vue').ComputedRef<boolean>;
|
|
92
|
+
updatePrice: (priceData: {
|
|
93
|
+
currencySymbol: string;
|
|
94
|
+
price: number;
|
|
95
|
+
}) => void;
|
|
96
|
+
setPiniaVuexReference: (store: Store<import('../../store').StoreState>) => void;
|
|
97
|
+
}, "setPiniaVuexReference" | "updatePrice">>;
|
|
16
98
|
store: any;
|
|
17
99
|
label: import('vue').ComputedRef<any>;
|
|
18
100
|
price: import('vue').ComputedRef<string>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { CoreState } from '../../configurator/store/core-state';
|
|
2
|
-
import { CoreData } from '../../configurator/store/core-data';
|
|
3
2
|
import { BUTTON_ACTIONS, UiState } from '../../configurator/store/ui-state';
|
|
4
3
|
import { PlannerUiState } from '../../planner/store/planner-ui-state';
|
|
5
4
|
import { Nullable } from '../utils/types';
|
|
@@ -15,14 +14,13 @@ export interface SharedUiState {
|
|
|
15
14
|
topBarSelectedActions: BUTTON_ACTIONS[];
|
|
16
15
|
}
|
|
17
16
|
export declare const MUTATIONS: {
|
|
18
|
-
[x: string]: `UI_STATE_${string}` | `PLANNER_UI_STATE_${string}` | `
|
|
17
|
+
[x: string]: `UI_STATE_${string}` | `PLANNER_UI_STATE_${string}` | `CORE_STATE_${string}` | `PLANNER_CORE_STATE_${string}`;
|
|
19
18
|
};
|
|
20
19
|
export declare const ACTIONS: {
|
|
21
|
-
[x: string]: `UI_STATE_${string}` | `PLANNER_UI_STATE_${string}` | `
|
|
20
|
+
[x: string]: `UI_STATE_${string}` | `PLANNER_UI_STATE_${string}` | `CORE_STATE_${string}` | `PLANNER_CORE_STATE_${string}`;
|
|
22
21
|
};
|
|
23
22
|
export interface StoreState {
|
|
24
23
|
coreState: CoreState;
|
|
25
|
-
coreData: CoreData;
|
|
26
24
|
uiState: UiState;
|
|
27
25
|
plannerUiState: PlannerUiState;
|
|
28
26
|
plannerCoreData: PlannerCoreData;
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { StoreState } from '../../common/store';
|
|
2
|
+
import { KernelParameterGroup, UiKernelParameter } from '@roomle/web-sdk/typings/kernel';
|
|
3
|
+
import { KernelBoundsFormatted } from '../../common/utils/helper';
|
|
4
|
+
|
|
5
|
+
export interface ParameterGroup extends KernelParameterGroup {
|
|
6
|
+
parameters: UiKernelParameter[];
|
|
7
|
+
}
|
|
8
|
+
export declare const useCoreDataStore: import('pinia').StoreDefinition<"coreDataStore", Pick<{
|
|
9
|
+
groups: import('vue').Ref<{
|
|
10
|
+
parameters: any[];
|
|
11
|
+
}[], ParameterGroup[] | {
|
|
12
|
+
parameters: any[];
|
|
13
|
+
}[]>;
|
|
14
|
+
parameters: import('vue').Ref<any[], any[] | UiKernelParameter[]>;
|
|
15
|
+
addons: import('vue').Ref<any[], any[] | UiPossibleChildTag[]>;
|
|
16
|
+
partList: import('vue').Ref<KernelPartList, KernelPartList>;
|
|
17
|
+
bounds: import('vue').Ref<{
|
|
18
|
+
width: string;
|
|
19
|
+
height: string;
|
|
20
|
+
depth: string;
|
|
21
|
+
}, KernelBoundsFormatted | {
|
|
22
|
+
width: string;
|
|
23
|
+
height: string;
|
|
24
|
+
depth: string;
|
|
25
|
+
}>;
|
|
26
|
+
currencySymbol: import('vue').Ref<string, string>;
|
|
27
|
+
price: import('vue').Ref<number, number>;
|
|
28
|
+
currentPrice: import('vue').ComputedRef<string>;
|
|
29
|
+
hasNonGroupAddons: import('vue').ComputedRef<boolean>;
|
|
30
|
+
updatePrice: (priceData: {
|
|
31
|
+
currencySymbol: string;
|
|
32
|
+
price: number;
|
|
33
|
+
}) => void;
|
|
34
|
+
setPiniaVuexReference: (store: Store<StoreState>) => void;
|
|
35
|
+
}, "parameters" | "groups" | "addons" | "partList" | "bounds" | "currencySymbol" | "price">, Pick<{
|
|
36
|
+
groups: import('vue').Ref<{
|
|
37
|
+
parameters: any[];
|
|
38
|
+
}[], ParameterGroup[] | {
|
|
39
|
+
parameters: any[];
|
|
40
|
+
}[]>;
|
|
41
|
+
parameters: import('vue').Ref<any[], any[] | UiKernelParameter[]>;
|
|
42
|
+
addons: import('vue').Ref<any[], any[] | UiPossibleChildTag[]>;
|
|
43
|
+
partList: import('vue').Ref<KernelPartList, KernelPartList>;
|
|
44
|
+
bounds: import('vue').Ref<{
|
|
45
|
+
width: string;
|
|
46
|
+
height: string;
|
|
47
|
+
depth: string;
|
|
48
|
+
}, KernelBoundsFormatted | {
|
|
49
|
+
width: string;
|
|
50
|
+
height: string;
|
|
51
|
+
depth: string;
|
|
52
|
+
}>;
|
|
53
|
+
currencySymbol: import('vue').Ref<string, string>;
|
|
54
|
+
price: import('vue').Ref<number, number>;
|
|
55
|
+
currentPrice: import('vue').ComputedRef<string>;
|
|
56
|
+
hasNonGroupAddons: import('vue').ComputedRef<boolean>;
|
|
57
|
+
updatePrice: (priceData: {
|
|
58
|
+
currencySymbol: string;
|
|
59
|
+
price: number;
|
|
60
|
+
}) => void;
|
|
61
|
+
setPiniaVuexReference: (store: Store<StoreState>) => void;
|
|
62
|
+
}, "currentPrice" | "hasNonGroupAddons">, Pick<{
|
|
63
|
+
groups: import('vue').Ref<{
|
|
64
|
+
parameters: any[];
|
|
65
|
+
}[], ParameterGroup[] | {
|
|
66
|
+
parameters: any[];
|
|
67
|
+
}[]>;
|
|
68
|
+
parameters: import('vue').Ref<any[], any[] | UiKernelParameter[]>;
|
|
69
|
+
addons: import('vue').Ref<any[], any[] | UiPossibleChildTag[]>;
|
|
70
|
+
partList: import('vue').Ref<KernelPartList, KernelPartList>;
|
|
71
|
+
bounds: import('vue').Ref<{
|
|
72
|
+
width: string;
|
|
73
|
+
height: string;
|
|
74
|
+
depth: string;
|
|
75
|
+
}, KernelBoundsFormatted | {
|
|
76
|
+
width: string;
|
|
77
|
+
height: string;
|
|
78
|
+
depth: string;
|
|
79
|
+
}>;
|
|
80
|
+
currencySymbol: import('vue').Ref<string, string>;
|
|
81
|
+
price: import('vue').Ref<number, number>;
|
|
82
|
+
currentPrice: import('vue').ComputedRef<string>;
|
|
83
|
+
hasNonGroupAddons: import('vue').ComputedRef<boolean>;
|
|
84
|
+
updatePrice: (priceData: {
|
|
85
|
+
currencySymbol: string;
|
|
86
|
+
price: number;
|
|
87
|
+
}) => void;
|
|
88
|
+
setPiniaVuexReference: (store: Store<StoreState>) => void;
|
|
89
|
+
}, "setPiniaVuexReference" | "updatePrice">>;
|
|
90
|
+
export type CoreDataStore = ReturnType<typeof useCoreDataStore>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Module } from 'vuex';
|
|
2
2
|
import { SharedUiState, StoreState } from '../../common/store';
|
|
3
3
|
import { INTERACTION_VIEW_TYPE, Nullable, Enumify } from '../../common/utils/types';
|
|
4
|
-
import { ParameterGroup } from './core-data';
|
|
4
|
+
import { ParameterGroup } from './core-data-store';
|
|
5
5
|
import { KernelComponent, UiPossibleChild } from '@roomle/web-sdk/typings/kernel';
|
|
6
6
|
import { OverlaysOpenState } from '../../common/components/utils/-utils/overlays';
|
|
7
7
|
import { UiInitData } from '../embedding/types';
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { Module } from 'vuex';
|
|
2
|
-
import { StoreState } from '../../common/store';
|
|
3
|
-
import { KernelParameterGroup, KernelPartList, UiKernelParameter, UiPossibleChildTag } from '@roomle/web-sdk/typings/kernel';
|
|
4
|
-
import { Nullable } from '../../common/utils/types';
|
|
5
|
-
import { KernelBoundsFormatted } from '../../common/utils/helper';
|
|
6
|
-
import { EnsurePrefix } from './ui-state';
|
|
7
|
-
|
|
8
|
-
export interface ParameterGroup extends KernelParameterGroup {
|
|
9
|
-
parameters: UiKernelParameter[];
|
|
10
|
-
}
|
|
11
|
-
type CoreDataIdentifier = EnsurePrefix<'CORE_DATA_'>;
|
|
12
|
-
export interface CoreData {
|
|
13
|
-
groups: ParameterGroup[];
|
|
14
|
-
parameters: UiKernelParameter[];
|
|
15
|
-
addons: UiPossibleChildTag[];
|
|
16
|
-
partList: KernelPartList;
|
|
17
|
-
bounds: Nullable<KernelBoundsFormatted>;
|
|
18
|
-
currencySymbol: string;
|
|
19
|
-
price: Nullable<number>;
|
|
20
|
-
}
|
|
21
|
-
export declare const CORE_DATA_MUTATIONS: CoreDataIdentifier;
|
|
22
|
-
export declare const CORE_DATA_ACTIONS: CoreDataIdentifier;
|
|
23
|
-
export declare const CORE_DATA_GETTERS: CoreDataIdentifier;
|
|
24
|
-
export declare const coreData: Module<CoreData, StoreState>;
|
|
25
|
-
export {};
|