@colijnit/configurator 262.1.2 → 262.1.4
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/fesm2022/colijnit-configurator.mjs +9197 -11579
- package/fesm2022/colijnit-configurator.mjs.map +1 -1
- package/index.d.ts +1388 -1786
- package/lib/components/answer-card/style/_layout.scss +2 -3
- package/lib/components/answer-card/style/_theme.scss +2 -3
- package/lib/components/answer-card/style/material.scss +1 -0
- package/lib/components/answer-info-dialog/style/_layout.scss +2 -3
- package/lib/components/answer-info-dialog/style/_theme.scss +2 -3
- package/lib/components/answers-slideout/style/_layout.scss +4 -5
- package/lib/components/answers-slideout/style/_theme.scss +2 -3
- package/lib/components/color-filter/style/_layout.scss +2 -3
- package/lib/components/color-filter/style/_theme.scss +2 -3
- package/lib/components/configuration-preset/style/_layout.scss +41 -0
- package/lib/components/configuration-preset/style/_material-definition.scss +5 -0
- package/lib/components/configuration-preset/style/_theme.scss +19 -0
- package/lib/components/configuration-preset/style/material.scss +3 -0
- package/lib/components/configuration-preset-dialog/style/_layout.scss +81 -0
- package/lib/components/configuration-preset-dialog/style/_material-definition.scss +5 -0
- package/lib/components/configuration-preset-dialog/style/_theme.scss +6 -0
- package/lib/components/configuration-preset-dialog/style/material.scss +3 -0
- package/lib/components/configurator/style/_layout.scss +2 -4
- package/lib/components/configurator/style/_theme.scss +2 -3
- package/lib/components/configurator-dialog/style/_layout.scss +2 -3
- package/lib/components/configurator-dialog/style/_theme.scss +2 -3
- package/lib/components/configurator-dialog/style/material.scss +3 -3
- package/lib/components/configurator-loader/style/_layout.scss +12 -3
- package/lib/components/configurator-loader/style/_theme.scss +2 -3
- package/lib/components/configurator-loader/style/material.scss +0 -11
- package/lib/components/configurator-scene/style/_layout.scss +12 -17
- package/lib/components/configurator-scene/style/_theme.scss +2 -4
- package/lib/components/configurator-scene-loader/style/_layout.scss +12 -3
- package/lib/components/configurator-scene-loader/style/_theme.scss +2 -3
- package/lib/components/configurator-scene-loader/style/material.scss +0 -11
- package/lib/components/element-buttons/style/_layout.scss +15 -3
- package/lib/components/element-buttons/style/_theme.scss +2 -3
- package/lib/components/element-toolbar/style/_layout.scss +3 -11
- package/lib/components/element-toolbar/style/_theme.scss +6 -5
- package/lib/components/image-zoom/style/_layout.scss +2 -3
- package/lib/components/image-zoom/style/_theme.scss +2 -3
- package/lib/components/lite-selector/style/_layout.scss +2 -3
- package/lib/components/lite-selector/style/_theme.scss +2 -3
- package/lib/components/product-configurator/style/_layout.scss +6 -4
- package/lib/components/product-configurator/style/_material-definition.scss +1 -0
- package/lib/components/product-configurator/style/_theme.scss +9 -4
- package/lib/components/product-configurator-selector/style/_layout.scss +28 -4
- package/lib/components/product-configurator-selector/style/_theme.scss +22 -6
- package/lib/components/product-configurator-selector-option/style/_layout.scss +2 -3
- package/lib/components/product-configurator-selector-option/style/_theme.scss +2 -3
- package/lib/components/product-configurator-selector-option-button/style/_layout.scss +2 -3
- package/lib/components/product-configurator-selector-option-button/style/_theme.scss +2 -3
- package/lib/components/product-configurator-selector-option-checkbox/style/_layout.scss +2 -3
- package/lib/components/product-configurator-selector-option-checkbox/style/_theme.scss +5 -3
- package/lib/components/product-configurator-selector-option-dropdown/style/_layout.scss +2 -3
- package/lib/components/product-configurator-selector-option-dropdown/style/_theme.scss +2 -3
- package/lib/components/product-configurator-selector-option-tile/style/_layout.scss +14 -7
- package/lib/components/product-configurator-selector-option-tile/style/_theme.scss +30 -5
- package/lib/components/progress-bar/style/_layout.scss +2 -3
- package/lib/components/progress-bar/style/_theme.scss +2 -3
- package/lib/components/scene-options/style/_layout.scss +8 -7
- package/lib/components/scene-options/style/_theme.scss +2 -3
- package/lib/components/selections-summary/style/_layout.scss +2 -3
- package/lib/components/selections-summary/style/_theme.scss +2 -3
- package/lib/components/selections-summary-line/style/_layout.scss +2 -3
- package/lib/components/selections-summary-line/style/_theme.scss +2 -3
- package/lib/components/slideout/style/_layout.scss +2 -3
- package/lib/components/slideout/style/_theme.scss +2 -3
- package/lib/components/summary-line/style/_layout.scss +2 -3
- package/lib/components/summary-line/style/_theme.scss +2 -3
- package/lib/components/tag-filter/style/_layout.scss +2 -3
- package/lib/components/tag-filter/style/_theme.scss +2 -3
- package/lib/style/_index.scss +2 -0
- package/lib/style/_variables.scss +20 -7
- package/lib/style/configurator-globals.scss +6 -1
- package/package.json +3 -2
- package/lib/components/element-toolbar/element-toolbar.component.scss +0 -59
- package/lib/components/threedselector/style/_layout.scss +0 -32
- package/lib/components/threedselector/style/_material-definition.scss +0 -3
- package/lib/components/threedselector/style/_theme.scss +0 -7
- package/lib/components/threedselector/style/material.scss +0 -9
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
@
|
|
2
|
-
|
|
3
|
-
@include export-module('co-answers-slideout-layout') {
|
|
1
|
+
@use '../../../style' as cfg;
|
|
2
|
+
@include cfg.export-module('co-answers-slideout-layout') {
|
|
4
3
|
.co-answers-slideout {
|
|
5
4
|
.answer-slideout {
|
|
6
5
|
overflow-y: auto;
|
|
@@ -60,10 +59,10 @@
|
|
|
60
59
|
}
|
|
61
60
|
|
|
62
61
|
&:not(.custom-dimensions) co-slideout {
|
|
63
|
-
width:
|
|
62
|
+
width: 640px;
|
|
64
63
|
max-width: 60vw;
|
|
65
64
|
top: 40px;
|
|
66
|
-
max-height: calc(100% -
|
|
65
|
+
max-height: calc(100% - 40px);
|
|
67
66
|
padding: 30px;
|
|
68
67
|
}
|
|
69
68
|
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
@use '../../../style' as cfg;
|
|
2
|
+
@include cfg.export-module('co-configuration-preset-layout') {
|
|
3
|
+
.co-configuration-preset {
|
|
4
|
+
.save-load-configuration-buttons {
|
|
5
|
+
display: flex;
|
|
6
|
+
justify-content: end;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
.preset-button {
|
|
9
|
+
cursor: pointer;
|
|
10
|
+
width: 100%;
|
|
11
|
+
padding: 0;
|
|
12
|
+
background: none;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
.save-load-config-wrapper {
|
|
16
|
+
position: relative;
|
|
17
|
+
.open-save-load {
|
|
18
|
+
cursor: pointer;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.save-load-configuration-buttons {
|
|
23
|
+
position: absolute;
|
|
24
|
+
top: 100%;
|
|
25
|
+
right: 0;
|
|
26
|
+
opacity: 0;
|
|
27
|
+
visibility: hidden;
|
|
28
|
+
transform: translateY(-8px);
|
|
29
|
+
pointer-events: none;
|
|
30
|
+
transition: opacity 200ms ease, transform 200ms ease;
|
|
31
|
+
z-index: 10;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.save-load-configuration-buttons.is-open {
|
|
35
|
+
opacity: 1;
|
|
36
|
+
visibility: visible;
|
|
37
|
+
transform: translateY(0);
|
|
38
|
+
pointer-events: auto;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
@use '../../../style' as cfg;
|
|
2
|
+
@include cfg.export-module('co-configuration-preset-theme') {
|
|
3
|
+
.co-configuration-preset {
|
|
4
|
+
.save-load-configuration-buttons {
|
|
5
|
+
box-shadow: 1px 1px 4px 1px rgba(151, 146, 132, 0.3);
|
|
6
|
+
padding: 5px;
|
|
7
|
+
.preset-button {
|
|
8
|
+
color: var(--link-text-color);
|
|
9
|
+
.co-icon {
|
|
10
|
+
svg {
|
|
11
|
+
path {
|
|
12
|
+
fill: var(--link-text-color);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
@use '../../../style' as cfg;
|
|
2
|
+
@include cfg.export-module('co-configuration-preset-dialog-layout') {
|
|
3
|
+
.co-configuration-preset-dialog {
|
|
4
|
+
.configuration-preset-dialog {
|
|
5
|
+
position: fixed;
|
|
6
|
+
display: flex;
|
|
7
|
+
align-items: center;
|
|
8
|
+
justify-content: center;
|
|
9
|
+
top: 0;
|
|
10
|
+
left: 0;
|
|
11
|
+
width: 100%;
|
|
12
|
+
height: 100%;
|
|
13
|
+
z-index: 100;
|
|
14
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
15
|
+
|
|
16
|
+
.configuration-preset-dialog-container {
|
|
17
|
+
background-color: #fff;
|
|
18
|
+
box-sizing: border-box;
|
|
19
|
+
min-width: 450px;
|
|
20
|
+
|
|
21
|
+
.configuration-preset-dialog-container-header {
|
|
22
|
+
display: flex;
|
|
23
|
+
gap: 10px;
|
|
24
|
+
align-items: center;
|
|
25
|
+
margin-bottom: 20px;
|
|
26
|
+
border-bottom: 1px solid #ccc;
|
|
27
|
+
padding: 20px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.configuration-preset-dialog-container-body {
|
|
31
|
+
padding: 20px;
|
|
32
|
+
position: relative;
|
|
33
|
+
|
|
34
|
+
.validation-error {
|
|
35
|
+
max-width: 450px;
|
|
36
|
+
font-size: var(--font-size-small);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.save-success {
|
|
40
|
+
padding: 10px;
|
|
41
|
+
color: var(--success-text-color);
|
|
42
|
+
background-color: var(--success-background-color);
|
|
43
|
+
border: 1px solid var(--success-border-color);
|
|
44
|
+
display: flex;
|
|
45
|
+
justify-content: space-between;
|
|
46
|
+
align-items: center;
|
|
47
|
+
|
|
48
|
+
.save-success-text {
|
|
49
|
+
min-width: 90%;
|
|
50
|
+
text-align: center;
|
|
51
|
+
font-weight: bold;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.save-success-button {
|
|
55
|
+
background: none;
|
|
56
|
+
cursor: pointer;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.configuration-preset-dialog-container-footer {
|
|
62
|
+
padding: 20px;
|
|
63
|
+
display: flex;
|
|
64
|
+
gap: 10px;
|
|
65
|
+
justify-content: space-evenly;
|
|
66
|
+
|
|
67
|
+
.co-button {
|
|
68
|
+
cursor: pointer;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.button-as-link {
|
|
72
|
+
background: none;
|
|
73
|
+
color: var(--text-color);
|
|
74
|
+
text-decoration: underline;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
@
|
|
2
|
-
|
|
3
|
-
@include export-module('co-configurator-dialog-layout') {
|
|
1
|
+
@use '../../../style' as cfg;
|
|
2
|
+
@include cfg.export-module('co-configurator-dialog-layout') {
|
|
4
3
|
.co-configurator-error-dialog, .co-configurator-error-dialog, .co-configurator-camera-settings-dialog {
|
|
5
4
|
.dialog {
|
|
6
5
|
width: 550px;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
@
|
|
2
|
-
|
|
3
|
-
@include export-module('co-configurator-dialog-theme') {
|
|
1
|
+
@use '../../../style' as cfg;
|
|
2
|
+
@include cfg.export-module('co-configurator-dialog-theme') {
|
|
4
3
|
.co-configurator-error-dialog, .co-configurator-error-dialog, .co-configurator-camera-settings-dialog {
|
|
5
4
|
.dialog {
|
|
6
5
|
background-color: var(--overlay-background);
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
@use './
|
|
2
|
-
@use './
|
|
3
|
-
@use './
|
|
1
|
+
@use './_material-definition.scss';
|
|
2
|
+
@use './_layout.scss';
|
|
3
|
+
@use './_theme.scss';
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
@
|
|
2
|
-
|
|
3
|
-
@include export-module('co-configurator-loader-layout') {
|
|
1
|
+
@use '../../../style' as cfg;
|
|
2
|
+
@include cfg.export-module('co-configurator-loader-layout') {
|
|
4
3
|
.co-configurator-loader {
|
|
5
4
|
.loader-wrapper {
|
|
6
5
|
z-index: 1100;
|
|
@@ -70,3 +69,13 @@
|
|
|
70
69
|
}
|
|
71
70
|
}
|
|
72
71
|
}
|
|
72
|
+
@keyframes ripple {
|
|
73
|
+
0% {
|
|
74
|
+
transform: scale(0);
|
|
75
|
+
opacity: 1;
|
|
76
|
+
}
|
|
77
|
+
100% {
|
|
78
|
+
transform: scale(1);
|
|
79
|
+
opacity: 0;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
@@ -1,22 +1,17 @@
|
|
|
1
|
-
@
|
|
2
|
-
|
|
3
|
-
@include export-module('co-configurator-scene-layout') {
|
|
1
|
+
@use '../../../style' as cfg;
|
|
2
|
+
@include cfg.export-module('co-configurator-scene-layout') {
|
|
4
3
|
.co-configurator-scene {
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
display: block;
|
|
5
|
+
width: 100%;
|
|
6
|
+
height: 100%;
|
|
7
|
+
.configurator-scene-wrapper {
|
|
7
8
|
position: relative;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
bottom: 0;
|
|
15
|
-
min-height: 100%;
|
|
16
|
-
min-width: 100%;
|
|
17
|
-
height: 100vh;
|
|
18
|
-
width: 100vw;
|
|
19
|
-
}
|
|
9
|
+
width: 100%;
|
|
10
|
+
height: 100%;
|
|
11
|
+
}
|
|
12
|
+
.canvas {
|
|
13
|
+
height: 100%;
|
|
14
|
+
width: 100%;
|
|
20
15
|
}
|
|
21
16
|
}
|
|
22
17
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
@
|
|
2
|
-
|
|
3
|
-
@include export-module('co-configurator-loader-layout') {
|
|
1
|
+
@use '../../../style' as cfg;
|
|
2
|
+
@include cfg.export-module('co-configurator-scene-loader-layout') {
|
|
4
3
|
.co-configurator-scene-loader {
|
|
5
4
|
.loader-wrapper {
|
|
6
5
|
z-index: 1100;
|
|
@@ -70,3 +69,13 @@
|
|
|
70
69
|
}
|
|
71
70
|
}
|
|
72
71
|
}
|
|
72
|
+
@keyframes ripple {
|
|
73
|
+
0% {
|
|
74
|
+
transform: scale(0);
|
|
75
|
+
opacity: 1;
|
|
76
|
+
}
|
|
77
|
+
100% {
|
|
78
|
+
transform: scale(1);
|
|
79
|
+
opacity: 0;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
@
|
|
2
|
-
|
|
3
|
-
@include export-module('co-element-buttons') {
|
|
1
|
+
@use '../../../style' as cfg;
|
|
2
|
+
@include cfg.export-module('co-element-buttons-layout') {
|
|
4
3
|
.co-element-buttons {
|
|
5
4
|
pointer-events: all;
|
|
6
5
|
|
|
@@ -48,5 +47,18 @@
|
|
|
48
47
|
|
|
49
48
|
transform: translate(-5px, -5px);
|
|
50
49
|
}
|
|
50
|
+
&.animate {
|
|
51
|
+
::ng-deep .element-add-button {
|
|
52
|
+
animation-name: pulse-add-buttons;
|
|
53
|
+
animation-duration: 400ms;
|
|
54
|
+
animation-iteration-count: 6;
|
|
55
|
+
animation-direction: alternate;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
@keyframes pulse-add-buttons {
|
|
61
|
+
50% {
|
|
62
|
+
box-shadow: 0 0 20px hsl(12, 100%, 60%);
|
|
51
63
|
}
|
|
52
64
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
@
|
|
2
|
-
|
|
3
|
-
@include export-module('co-element-toolbar-layout') {
|
|
1
|
+
@use '../../../style' as cfg;
|
|
2
|
+
@include cfg.export-module('co-element-toolbar-layout') {
|
|
4
3
|
.co-element-toolbar {
|
|
5
4
|
position: absolute;
|
|
6
5
|
display: block;
|
|
@@ -18,6 +17,7 @@
|
|
|
18
17
|
.toolbar-button {
|
|
19
18
|
display: flex;
|
|
20
19
|
align-items: center;
|
|
20
|
+
justify-content: center;
|
|
21
21
|
cursor: pointer;
|
|
22
22
|
border: none;
|
|
23
23
|
border-radius: 5px;
|
|
@@ -25,14 +25,6 @@
|
|
|
25
25
|
width: 36px;
|
|
26
26
|
box-sizing: border-box;
|
|
27
27
|
padding: 5px;
|
|
28
|
-
|
|
29
|
-
button {
|
|
30
|
-
cursor: pointer;
|
|
31
|
-
background: none;
|
|
32
|
-
border: none;
|
|
33
|
-
height: 26px;
|
|
34
|
-
width: 26px;
|
|
35
|
-
}
|
|
36
28
|
}
|
|
37
29
|
}
|
|
38
30
|
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
@
|
|
2
|
-
|
|
3
|
-
@include export-module('co-element-toolbar-theme') {
|
|
1
|
+
@use '../../../style' as cfg;
|
|
2
|
+
@include cfg.export-module('co-element-toolbar-theme') {
|
|
4
3
|
.co-element-toolbar {
|
|
5
4
|
.toolbar-wrapper {
|
|
6
5
|
.toolbar-button {
|
|
7
6
|
background-color: #17253391;
|
|
8
7
|
box-shadow: 0 3px 5px -1px #0003, 0 6px 10px #00000024, 0 1px 18px #0000001f;
|
|
9
8
|
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
.co-icon svg {
|
|
10
|
+
fill: #fff;
|
|
11
|
+
}
|
|
12
|
+
& [fill] {
|
|
12
13
|
fill: #fff;
|
|
13
14
|
}
|
|
14
15
|
}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
@
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
@include export-module('co-product-configurator') {
|
|
1
|
+
@use '../../../style' as cfg;
|
|
2
|
+
@include cfg.export-module('co-product-configurator-layout') {
|
|
5
3
|
.product-configurator-container {
|
|
6
4
|
box-sizing: border-box;
|
|
7
5
|
position: absolute;
|
|
@@ -27,7 +25,11 @@
|
|
|
27
25
|
margin: 0;
|
|
28
26
|
}
|
|
29
27
|
}
|
|
28
|
+
.product-configurator-header-actions {
|
|
29
|
+
display: flex;
|
|
30
|
+
gap: 5px;
|
|
30
31
|
|
|
32
|
+
}
|
|
31
33
|
.product-configurator-close {
|
|
32
34
|
cursor: pointer;
|
|
33
35
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
@
|
|
2
|
-
|
|
3
|
-
@include export-module('co-product-configurator') {
|
|
1
|
+
@use '../../../style' as cfg;
|
|
2
|
+
@include cfg.export-module('co-product-configurator-theme') {
|
|
4
3
|
.co-product-configurator {
|
|
5
4
|
.product-configurator-container {
|
|
6
5
|
background: var(--product-configurator-background-color);
|
|
@@ -13,7 +12,13 @@
|
|
|
13
12
|
}
|
|
14
13
|
|
|
15
14
|
.product-configurator-text {
|
|
16
|
-
font-size: var(--font-size-
|
|
15
|
+
font-size: var(--font-size-small);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
.product-configurator-header-actions {
|
|
19
|
+
co-icon {
|
|
20
|
+
width: var(--head-co-icon-size);
|
|
21
|
+
height: var(--head-co-icon-size);
|
|
17
22
|
}
|
|
18
23
|
}
|
|
19
24
|
}
|