@colijnit/configurator 262.1.3 → 262.1.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.
Files changed (78) hide show
  1. package/colijnit-configurator-262.1.5.tgz +0 -0
  2. package/fesm2022/colijnit-configurator.mjs +7523 -12555
  3. package/fesm2022/colijnit-configurator.mjs.map +1 -1
  4. package/index.d.ts +1291 -1916
  5. package/lib/components/answer-card/style/_layout.scss +2 -3
  6. package/lib/components/answer-card/style/_theme.scss +2 -3
  7. package/lib/components/answer-card/style/material.scss +1 -0
  8. package/lib/components/answer-info-dialog/style/_layout.scss +2 -3
  9. package/lib/components/answer-info-dialog/style/_theme.scss +2 -3
  10. package/lib/components/answers-slideout/style/_layout.scss +4 -5
  11. package/lib/components/answers-slideout/style/_theme.scss +2 -3
  12. package/lib/components/color-filter/style/_layout.scss +2 -3
  13. package/lib/components/color-filter/style/_theme.scss +2 -3
  14. package/lib/components/configuration-preset/style/_layout.scss +3 -3
  15. package/lib/components/configuration-preset/style/_material-definition.scss +1 -3
  16. package/lib/components/configuration-preset/style/_theme.scss +2 -3
  17. package/lib/components/configuration-preset-dialog/style/_layout.scss +16 -29
  18. package/lib/components/configuration-preset-dialog/style/_material-definition.scss +1 -3
  19. package/lib/components/configuration-preset-dialog/style/_theme.scss +48 -2
  20. package/lib/components/configurator/style/_layout.scss +2 -4
  21. package/lib/components/configurator/style/_theme.scss +2 -3
  22. package/lib/components/configurator-dialog/style/_layout.scss +3 -4
  23. package/lib/components/configurator-dialog/style/_theme.scss +3 -4
  24. package/lib/components/configurator-dialog/style/material.scss +3 -3
  25. package/lib/components/configurator-loader/style/_layout.scss +12 -3
  26. package/lib/components/configurator-loader/style/_theme.scss +2 -3
  27. package/lib/components/configurator-loader/style/material.scss +0 -11
  28. package/lib/components/configurator-scene/style/_layout.scss +12 -17
  29. package/lib/components/configurator-scene/style/_theme.scss +2 -4
  30. package/lib/components/configurator-scene-loader/style/_layout.scss +13 -3
  31. package/lib/components/configurator-scene-loader/style/_theme.scss +2 -3
  32. package/lib/components/configurator-scene-loader/style/material.scss +0 -11
  33. package/lib/components/element-buttons/style/_layout.scss +15 -3
  34. package/lib/components/element-buttons/style/_theme.scss +2 -3
  35. package/lib/components/element-toolbar/style/_layout.scss +3 -11
  36. package/lib/components/element-toolbar/style/_theme.scss +6 -5
  37. package/lib/components/image-zoom/style/_layout.scss +2 -3
  38. package/lib/components/image-zoom/style/_theme.scss +2 -3
  39. package/lib/components/lite-selector/style/_layout.scss +2 -3
  40. package/lib/components/lite-selector/style/_theme.scss +2 -3
  41. package/lib/components/product-configurator/style/_layout.scss +2 -4
  42. package/lib/components/product-configurator/style/_theme.scss +2 -3
  43. package/lib/components/product-configurator-selector/style/_layout.scss +2 -3
  44. package/lib/components/product-configurator-selector/style/_theme.scss +2 -3
  45. package/lib/components/product-configurator-selector-option/style/_layout.scss +2 -3
  46. package/lib/components/product-configurator-selector-option/style/_theme.scss +2 -3
  47. package/lib/components/product-configurator-selector-option-button/style/_layout.scss +2 -3
  48. package/lib/components/product-configurator-selector-option-button/style/_theme.scss +2 -3
  49. package/lib/components/product-configurator-selector-option-checkbox/style/_layout.scss +2 -3
  50. package/lib/components/product-configurator-selector-option-checkbox/style/_theme.scss +2 -3
  51. package/lib/components/product-configurator-selector-option-dropdown/style/_layout.scss +2 -3
  52. package/lib/components/product-configurator-selector-option-dropdown/style/_theme.scss +2 -3
  53. package/lib/components/product-configurator-selector-option-tile/style/_layout.scss +2 -3
  54. package/lib/components/product-configurator-selector-option-tile/style/_theme.scss +2 -3
  55. package/lib/components/progress-bar/style/_layout.scss +2 -3
  56. package/lib/components/progress-bar/style/_theme.scss +2 -3
  57. package/lib/components/scene-options/style/_layout.scss +8 -7
  58. package/lib/components/scene-options/style/_theme.scss +2 -3
  59. package/lib/components/selections-summary/style/_layout.scss +2 -3
  60. package/lib/components/selections-summary/style/_theme.scss +2 -3
  61. package/lib/components/selections-summary-line/style/_layout.scss +2 -3
  62. package/lib/components/selections-summary-line/style/_theme.scss +2 -3
  63. package/lib/components/slideout/style/_layout.scss +2 -3
  64. package/lib/components/slideout/style/_theme.scss +2 -3
  65. package/lib/components/summary-line/style/_layout.scss +2 -3
  66. package/lib/components/summary-line/style/_theme.scss +2 -3
  67. package/lib/components/tag-filter/style/_layout.scss +2 -3
  68. package/lib/components/tag-filter/style/_theme.scss +2 -3
  69. package/lib/style/_index.scss +2 -0
  70. package/lib/style/_variables.scss +8 -0
  71. package/lib/style/configurator-globals.scss +6 -1
  72. package/package.json +5 -3
  73. package/colijnit-configurator-262.1.2.tgz +0 -0
  74. package/lib/components/element-toolbar/element-toolbar.component.scss +0 -59
  75. package/lib/components/threedselector/style/_layout.scss +0 -32
  76. package/lib/components/threedselector/style/_material-definition.scss +0 -3
  77. package/lib/components/threedselector/style/_theme.scss +0 -7
  78. package/lib/components/threedselector/style/material.scss +0 -9
@@ -1,6 +1,5 @@
1
- @import "../../../style/mixin.scss";
2
-
3
- @include export-module('co-product-configurator-selector-theme') {
1
+ @use '../../../style' as cfg;
2
+ @include cfg.export-module('co-product-configurator-selector-theme') {
4
3
  .co-product-configurator-selector {
5
4
  .selector-container {
6
5
  background-color: #fff;
@@ -1,6 +1,5 @@
1
- @import "../../../style/mixin.scss";
2
-
3
- @include export-module('co-product-configurator-selector-option-layout') {
1
+ @use '../../../style' as cfg;
2
+ @include cfg.export-module('co-product-configurator-selector-option-layout') {
4
3
  .co-product-configurator-selector-option {
5
4
 
6
5
  }
@@ -1,6 +1,5 @@
1
- @import "../../../style/mixin.scss";
2
-
3
- @include export-module('co-product-configurator-selector-option-theme') {
1
+ @use '../../../style' as cfg;
2
+ @include cfg.export-module('co-product-configurator-selector-option-theme') {
4
3
  .co-product-configurator-selector-option {
5
4
 
6
5
  }
@@ -1,6 +1,5 @@
1
- @import "../../../style/mixin.scss";
2
-
3
- @include export-module('co-product-configurator-selector-option-button-layout') {
1
+ @use '../../../style' as cfg;
2
+ @include cfg.export-module('co-product-configurator-selector-option-button-layout') {
4
3
  .co-product-configurator-selector-option-button {
5
4
  .configurator-selector-option-button-container {
6
5
  .product-configurator-selector-option-button-checkmark {
@@ -1,6 +1,5 @@
1
- @import "../../../style/mixin.scss";
2
-
3
- @include export-module('co-product-configurator-selector-option-button-theme') {
1
+ @use '../../../style' as cfg;
2
+ @include cfg.export-module('co-product-configurator-selector-option-button-theme') {
4
3
  .co-product-configurator-selector-option-button {
5
4
  .configurator-selector-option-button-container {
6
5
  .product-configurator-selector-option-button-checkmark {
@@ -1,6 +1,5 @@
1
- @import "../../../style/mixin.scss";
2
-
3
- @include export-module('co-product-configurator-option-checkbox-layout') {
1
+ @use '../../../style' as cfg;
2
+ @include cfg.export-module('co-product-configurator-option-checkbox-layout') {
4
3
  .co-product-configurator-option-checkbox {
5
4
  .configurator-option-checkbox-container {
6
5
  display: flex;
@@ -1,6 +1,5 @@
1
- @import "../../../style/mixin.scss";
2
-
3
- @include export-module('co-product-configurator-option-checkbox-theme') {
1
+ @use '../../../style' as cfg;
2
+ @include cfg.export-module('co-product-configurator-option-checkbox-theme') {
4
3
  .co-product-configurator-option-checkbox {
5
4
  .configurator-option-checkbox-container {
6
5
  .product-configurator-checkbox-checkmark {
@@ -1,6 +1,5 @@
1
- @import "../../../style/mixin.scss";
2
-
3
- @include export-module('co-product-configurator-selector-option-dropdown-layout') {
1
+ @use '../../../style' as cfg;
2
+ @include cfg.export-module('co-product-configurator-selector-option-dropdown-layout') {
4
3
  .co-product-configurator-selector-option-dropdown {
5
4
  .configurator-option-dropdown-container {
6
5
  padding-left: 5px;
@@ -1,6 +1,5 @@
1
- @import "../../../style/mixin.scss";
2
-
3
- @include export-module('co-product-configurator-selector-option-dropdown-theme') {
1
+ @use '../../../style' as cfg;
2
+ @include cfg.export-module('co-product-configurator-selector-option-dropdown-theme') {
4
3
  .co-product-configurator-selector-option-dropdown {
5
4
  .configurator-option-dropdown-container {
6
5
  .option-dropdown-select {
@@ -1,6 +1,5 @@
1
- @import "../../../style/mixin.scss";
2
-
3
- @include export-module('co-product-configurator-selector-option-tile-layout') {
1
+ @use '../../../style' as cfg;
2
+ @include cfg.export-module('co-product-configurator-selector-option-tile-layout') {
4
3
  .co-product-configurator-selector-option-tile {
5
4
  .configurator-selector-option-tile-container {
6
5
  position: relative;
@@ -1,6 +1,5 @@
1
- @import "../../../style/mixin.scss";
2
-
3
- @include export-module('co-product-configurator-selector-option-tile-theme') {
1
+ @use '../../../style' as cfg;
2
+ @include cfg.export-module('co-product-configurator-selector-option-tile-theme') {
4
3
  .co-product-configurator-selector-option-tile {
5
4
  .configurator-selector-option-tile-container {
6
5
  .product-configurator-selector-option-tile-checkmark {
@@ -1,6 +1,5 @@
1
- @import "../../../style/mixin.scss";
2
-
3
- @include export-module('co-progress-bar-layout') {
1
+ @use '../../../style' as cfg;
2
+ @include cfg.export-module('co-progress-bar-layout') {
4
3
  .co-progress-bar {
5
4
  position: fixed;
6
5
  width: 100%;
@@ -1,6 +1,5 @@
1
- @import "../../../style/mixin.scss";
2
-
3
- @include export-module('co-progress-bar-theme') {
1
+ @use '../../../style' as cfg;
2
+ @include cfg.export-module('co-progress-bar-theme') {
4
3
  .co-progress-bar {
5
4
  .progress {
6
5
  background: var(--progress-bar-background);
@@ -1,6 +1,5 @@
1
- @import "../../../style/mixin.scss";
2
-
3
- @include export-module('co-scene-options-layout') {
1
+ @use '../../../style' as cfg;
2
+ @include cfg.export-module('co-scene-options-layout') {
4
3
  .co-scene-options {
5
4
  margin: 0 5px;
6
5
  .buttons-wrapper {
@@ -10,6 +9,7 @@
10
9
  flex-direction: row;
11
10
  align-items: center;
12
11
  column-gap: 5px;
12
+ z-index: 1;
13
13
  }
14
14
  .button-wrapper {
15
15
  position: relative;
@@ -24,16 +24,17 @@
24
24
  }
25
25
 
26
26
  button {
27
+ display: flex;
28
+ align-items: center;
29
+ justify-content: center;
27
30
  z-index: 1;
28
31
  max-width: 50px;
29
32
  max-height: 50px;
30
33
  cursor: pointer;
31
34
  img {
32
35
  pointer-events: none;
33
- width: 100%;
34
- height: 100%;
35
- max-height: 34px;
36
- max-width: max-content;
36
+ height: 50px;
37
+ width: inherit;
37
38
  }
38
39
  &.active {
39
40
  box-shadow: none;
@@ -1,6 +1,5 @@
1
- @import "../../../style/mixin.scss";
2
-
3
- @include export-module('co-scene-options-theme') {
1
+ @use '../../../style' as cfg;
2
+ @include cfg.export-module('co-scene-options-theme') {
4
3
  .co-scene-options {
5
4
 
6
5
  }
@@ -1,6 +1,5 @@
1
- @import "../../../style/mixin.scss";
2
-
3
- @include export-module('co-selections-summary-layout') {
1
+ @use '../../../style' as cfg;
2
+ @include cfg.export-module('co-selections-summary-layout') {
4
3
  .co-selections-summary {
5
4
  display: inline-block;
6
5
  overflow-y: auto;
@@ -1,6 +1,5 @@
1
- @import "../../../style/mixin.scss";
2
-
3
- @include export-module('co-selections-summary-theme') {
1
+ @use '../../../style' as cfg;
2
+ @include cfg.export-module('co-selections-summary-theme') {
4
3
  .co-selections-summary {
5
4
  .co-selections-summary {
6
5
  background-color: var(--background-white);
@@ -1,6 +1,5 @@
1
- @import "../../../style/mixin.scss";
2
-
3
- @include export-module('co-selections-summary-line-layout') {
1
+ @use '../../../style' as cfg;
2
+ @include cfg.export-module('co-selections-summary-line-layout') {
4
3
  .co-selections-summary-line {
5
4
  .customizer-button {
6
5
  display: flex;
@@ -1,6 +1,5 @@
1
- @import "../../../style/mixin.scss";
2
-
3
- @include export-module('co-selections-summary-line-theme') {
1
+ @use '../../../style' as cfg;
2
+ @include cfg.export-module('co-selections-summary-line-theme') {
4
3
  .co-selections-summary-line {
5
4
  .customizer-button {
6
5
  background-color: var(--customizer-button-background-color);
@@ -1,6 +1,5 @@
1
- @import "../../../style/mixin.scss";
2
-
3
- @include export-module('co-slideout-layout') {
1
+ @use '../../../style' as cfg;
2
+ @include cfg.export-module('co-slideout-layout') {
4
3
  .co-slideout {
5
4
  position: fixed;
6
5
  right: -200%;
@@ -1,5 +1,4 @@
1
- @import "../../../style/mixin.scss";
2
-
3
- @include export-module('co-slideout-theme') {
1
+ @use '../../../style' as cfg;
2
+ @include cfg.export-module('co-slideout-theme') {
4
3
 
5
4
  }
@@ -1,6 +1,5 @@
1
- @import "../../../style/mixin.scss";
2
-
3
- @include export-module('co-summary-line-layout') {
1
+ @use '../../../style' as cfg;
2
+ @include cfg.export-module('co-summary-line-layout') {
4
3
  .co-summary-line {
5
4
  display: flex;
6
5
  flex-direction: column;
@@ -1,6 +1,5 @@
1
- @import "../../../style/mixin.scss";
2
-
3
- @include export-module('co-summary-line-theme') {
1
+ @use '../../../style' as cfg;
2
+ @include cfg.export-module('co-summary-line-theme') {
4
3
  .co-summary-line {
5
4
  cursor: pointer;
6
5
  background-color: var(--white-text-color);
@@ -1,6 +1,5 @@
1
- @import "../../../style/mixin.scss";
2
-
3
- @include export-module('co-tag-filter-layout') {
1
+ @use '../../../style' as cfg;
2
+ @include cfg.export-module('co-tag-filter-layout') {
4
3
  .co-tag-filter {
5
4
  cursor: pointer;
6
5
  font-size: 13px;
@@ -1,6 +1,5 @@
1
- @import "../../../style/mixin.scss";
2
-
3
- @include export-module('co-tag-filter-theme') {
1
+ @use '../../../style' as cfg;
2
+ @include cfg.export-module('co-tag-filter-theme') {
4
3
  .co-tag-filter {
5
4
 
6
5
  }
@@ -0,0 +1,2 @@
1
+ @forward "./mixin";
2
+ @forward "./variables";
@@ -10,6 +10,9 @@
10
10
  --tile-background-color: #FFFFFF;
11
11
  --default-padding: 5px;
12
12
 
13
+ /* Dialog related */
14
+ --configurator-dialog-backdrop: rgba(0, 0, 0, 0.5);
15
+ --configutator-dialog-background: #fff;
13
16
 
14
17
  /* checkmarks and icons */
15
18
  --checked-icon-color: #FFFFFF;
@@ -47,4 +50,9 @@
47
50
  --load-more-link-color: #da9803;
48
51
  --white-text-color: #fff;
49
52
  --link-text-color: #0070ba;
53
+
54
+ --success-text-color: #155724;
55
+ --success-background-color: #d4edda;
56
+ --success-border-color: #c3e6cb;
57
+
50
58
  }
@@ -1 +1,6 @@
1
- @import "./variables";
1
+ @use "./mixin" as mixin;
2
+ @use "./variables" as *;
3
+
4
+ input, button {
5
+ border: none;
6
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/configurator",
3
- "version": "262.1.3",
3
+ "version": "262.1.5",
4
4
  "description": "iOne configurator specific for version 262",
5
5
  "private": false,
6
6
  "peerDependencies": {
@@ -9,12 +9,14 @@
9
9
  "@angular/core": ">=20.0.0",
10
10
  "@angular/material": "20.2.14",
11
11
  "@colijnit/articleapi": ">=262.1.0",
12
- "@colijnit/configuratorapi": ">=262.1.0",
12
+ "@colijnit/configuratorapi": ">=262.1.2",
13
13
  "@colijnit/corecomponents_v12": ">=262.1.0",
14
14
  "@colijnit/ioneconnector": ">=262.1.0",
15
- "@colijnit/mainapi": ">=262.1.1"
15
+ "@colijnit/mainapi": ">=262.1.1",
16
+ "@colijnit/utilities": ">=262.1.0"
16
17
  },
17
18
  "dependencies": {
19
+ "@colijnit/configuratorcore": "262.1.1",
18
20
  "@tweenjs/tween.js": "25.0.0",
19
21
  "@types/three": "0.178.1",
20
22
  "jszip": "3.6.0",
Binary file
@@ -1,59 +0,0 @@
1
- :host {
2
-
3
- }
4
-
5
- //.toolbar-wrapper {
6
- // display: flex;
7
- // align-items: center;
8
- // gap: 2px;
9
- //}
10
-
11
- //.toolbar-wrapper button:not(:last-child) {
12
- // margin-right: 5px;
13
- //}
14
-
15
- //.element-pointer {
16
- // pointer-events: none;
17
- // position: absolute;
18
- // width: 0px;
19
- // border-left: 2px dashed #2c67ff;
20
- // transform-origin: top center;
21
- // top: 45px;
22
- // left: 50%;
23
- // margin-left: 20px;
24
- //}
25
- //
26
- //.edit-menu-wrapper {
27
- // position: absolute;
28
- // margin-top: 10px;
29
- // min-width: 175px;
30
- // left: 25px;
31
- // transform: translateX(-50%);
32
- // overflow: hidden;
33
- //}
34
-
35
- //.edit-menu-wrapper .edit-menu:not(:last-child) {
36
- // margin-bottom: 5px;
37
- //}
38
- //
39
- //.edit-menu {
40
- // font-size: 12px;
41
- // background: white;
42
- // color: #41403D;
43
- // height: 30px;
44
- // display: flex;
45
- // align-items: center;
46
- // padding: 5px;
47
- // cursor: pointer;
48
- // white-space: nowrap;
49
- // justify-content: space-between;
50
- //
51
- // span {
52
- // margin-right: 50px;
53
- // }
54
- //
55
- // mat-icon {
56
- // width: 20px;
57
- // height: 20px;
58
- // }
59
- //}
@@ -1,32 +0,0 @@
1
- @import "../../../style/mixin.scss";
2
-
3
-
4
- @include export-module('co-threedselector-layout') {
5
- .co-threedselector {
6
- position: absolute;
7
- top: 0;
8
- left: 0;
9
- pointer-events: none;
10
- margin: 0;
11
- padding: 0;
12
- width: 100%;
13
- height: 100%;
14
- overflow: hidden;
15
-
16
- & > * {
17
- pointer-events: all;
18
- }
19
-
20
- // TODO Maybe we should move this to the co-element-buttons style?
21
- .co-element-buttons {
22
- &.animate {
23
- ::ng-deep .element-add-button {
24
- animation-name: pulse-add-buttons;
25
- animation-duration: 400ms;
26
- animation-iteration-count: 6;
27
- animation-direction: alternate;
28
- }
29
- }
30
- }
31
- }
32
- }
@@ -1,7 +0,0 @@
1
- @import "../../../style/mixin.scss";
2
-
3
-
4
- @include export-module('co-threedselector-theme') {
5
- .co-threedselector {
6
- }
7
- }
@@ -1,9 +0,0 @@
1
- @use './_material-definition.scss';
2
- @use './_layout.scss';
3
- @use './_theme.scss';
4
-
5
- @keyframes pulse-add-buttons {
6
- 50% {
7
- box-shadow: 0 0 20px hsl(12, 100%, 60%);
8
- }
9
- }