@kms-ngx-ui/presentational 0.0.24 → 14.0.0

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 (178) hide show
  1. package/README.md +28 -28
  2. package/{esm2015/kms-ngx-ui-presentational.js → esm2020/kms-ngx-ui-presentational.mjs} +4 -4
  3. package/esm2020/lib/directives/directives.module.mjs +40 -0
  4. package/{esm2015/lib/directives/mousewheel.directive.js → esm2020/lib/directives/mousewheel.directive.mjs} +56 -56
  5. package/{esm2015/lib/directives/sum-of-height.directive.js → esm2020/lib/directives/sum-of-height.directive.mjs} +74 -74
  6. package/{esm2015/lib/directives/swipe.directive.js → esm2020/lib/directives/swipe.directive.mjs} +183 -183
  7. package/esm2020/lib/directives/swipe.model.mjs +5 -0
  8. package/{esm2015/lib/directives/tooltip.directive.js → esm2020/lib/directives/tooltip.directive.mjs} +144 -144
  9. package/esm2020/lib/kms-ngx-ui-presentational.component.mjs +22 -0
  10. package/{esm2015/lib/kms-ngx-ui-presentational.module.js → esm2020/lib/kms-ngx-ui-presentational.module.mjs} +215 -217
  11. package/{esm2015/lib/kms-ngx-ui-presentational.service.js → esm2020/lib/kms-ngx-ui-presentational.service.mjs} +14 -14
  12. package/esm2020/lib/models/address.model.mjs +6 -0
  13. package/{esm2015/lib/models/iconSize.enum.js → esm2020/lib/models/iconSize.enum.mjs} +17 -17
  14. package/{esm2015/lib/models/image-snippet.model.js → esm2020/lib/models/image-snippet.model.mjs} +18 -18
  15. package/{esm2015/lib/models/index.js → esm2020/lib/models/index.mjs} +5 -5
  16. package/{esm2015/lib/models/is-value.function.js → esm2020/lib/models/is-value.function.mjs} +17 -17
  17. package/{esm2015/lib/models/salutation.enum.js → esm2020/lib/models/salutation.enum.mjs} +8 -8
  18. package/{esm2015/lib/models/types/attached-file-dto.model.js → esm2020/lib/models/types/attached-file-dto.model.mjs} +6 -6
  19. package/{esm2015/lib/models/types/nullable.type.js → esm2020/lib/models/types/nullable.type.mjs} +5 -5
  20. package/{esm2015/lib/parent-components/actions.component.js → esm2020/lib/parent-components/actions.component.mjs} +56 -56
  21. package/esm2020/lib/parent-components/form-control.component.mjs +75 -0
  22. package/esm2020/lib/parent-components/form.component.mjs +78 -0
  23. package/{esm2015/lib/pipes/custom-pipes.module.js → esm2020/lib/pipes/custom-pipes.module.mjs} +71 -71
  24. package/esm2020/lib/pipes/decode-uri.pipe.mjs +19 -0
  25. package/esm2020/lib/pipes/encode-uri.pipe.mjs +19 -0
  26. package/{esm2015/lib/pipes/integer-currency.pipe.js → esm2020/lib/pipes/integer-currency.pipe.mjs} +27 -27
  27. package/{esm2015/lib/pipes/safe-html.pipe.js → esm2020/lib/pipes/safe-html.pipe.mjs} +23 -23
  28. package/{esm2015/lib/pipes/safe-resource-url.pipe.js → esm2020/lib/pipes/safe-resource-url.pipe.mjs} +23 -23
  29. package/{esm2015/lib/pipes/safe-style.pipe.js → esm2020/lib/pipes/safe-style.pipe.mjs} +23 -23
  30. package/{esm2015/lib/pipes/safe-url.pipe.js → esm2020/lib/pipes/safe-url.pipe.mjs} +23 -23
  31. package/{esm2015/lib/pipes/to-number.pipe.js → esm2020/lib/pipes/to-number.pipe.mjs} +23 -23
  32. package/{esm2015/lib/pipes/trim.pipe.js → esm2020/lib/pipes/trim.pipe.mjs} +20 -20
  33. package/{esm2015/lib/pipes/typeof.pipe.js → esm2020/lib/pipes/typeof.pipe.mjs} +16 -16
  34. package/esm2020/lib/services/viewport.service.mjs +216 -0
  35. package/esm2020/lib/ui/back-to-top/back-to-top.component.mjs +49 -0
  36. package/{esm2015/lib/ui/button-with-confirm-dialog/button-response-types.enum.js → esm2020/lib/ui/button-with-confirm-dialog/button-response-types.enum.mjs} +6 -6
  37. package/esm2020/lib/ui/button-with-confirm-dialog/button-with-confirm-dialog.component.mjs +58 -0
  38. package/{esm2015/lib/ui/button-with-confirm-dialog/dialog-data.model.js → esm2020/lib/ui/button-with-confirm-dialog/dialog-data.model.mjs} +2 -2
  39. package/esm2020/lib/ui/checkbox/checkbox.component.mjs +71 -0
  40. package/esm2020/lib/ui/color-input/color-input.component.mjs +76 -0
  41. package/esm2020/lib/ui/dropdown-from-data/dropdown-from-data.component.mjs +165 -0
  42. package/esm2020/lib/ui/enum-radiogroup/enum-radiogroup.component.mjs +53 -0
  43. package/esm2020/lib/ui/file-input/file-input.component.mjs +232 -0
  44. package/esm2020/lib/ui/flyout/flyout.component.mjs +119 -0
  45. package/esm2020/lib/ui/generic-dialog/generic-dialog.component.mjs +54 -0
  46. package/esm2020/lib/ui/icon/icon.component.mjs +48 -0
  47. package/esm2020/lib/ui/icon/iconSize.enum.mjs +17 -0
  48. package/esm2020/lib/ui/image-slider/image-slider.component.mjs +189 -0
  49. package/esm2020/lib/ui/kms-accordion-item/kms-accordion-item.component.mjs +40 -0
  50. package/esm2020/lib/ui/loader/loader.component.mjs +21 -0
  51. package/esm2020/lib/ui/map/map.component.mjs +116 -0
  52. package/esm2020/lib/ui/radiobutton/radiobutton.component.mjs +73 -0
  53. package/esm2020/lib/ui/salutation-dropdown/salutation-dropdown.component.mjs +55 -0
  54. package/esm2020/lib/ui/salutation-radiogroup/salutation-radiogroup.component.mjs +49 -0
  55. package/esm2020/lib/ui/time-input/time-input.component.mjs +83 -0
  56. package/esm2020/lib/ui/tooltip/tooltip.component.mjs +16 -0
  57. package/esm2020/lib/ui/tooltip-icon/tooltip-icon.component.mjs +35 -0
  58. package/esm2020/lib/ui/yes-no-radiogroup/yes-no-radiogroup.component.mjs +82 -0
  59. package/esm2020/public-api.mjs +49 -0
  60. package/fesm2015/kms-ngx-ui-presentational.mjs +3013 -0
  61. package/fesm2015/kms-ngx-ui-presentational.mjs.map +1 -0
  62. package/{fesm2015/kms-ngx-ui-presentational.js → fesm2020/kms-ngx-ui-presentational.mjs} +2894 -3108
  63. package/fesm2020/kms-ngx-ui-presentational.mjs.map +1 -0
  64. package/{kms-ngx-ui-presentational.d.ts → index.d.ts} +5 -5
  65. package/lib/directives/directives.module.d.ts +11 -13
  66. package/lib/directives/mousewheel.directive.d.ts +15 -15
  67. package/lib/directives/sum-of-height.directive.d.ts +31 -31
  68. package/lib/directives/swipe.directive.d.ts +45 -45
  69. package/lib/directives/swipe.model.d.ts +49 -49
  70. package/lib/directives/tooltip.directive.d.ts +29 -29
  71. package/lib/kms-ngx-ui-presentational.component.d.ts +8 -8
  72. package/lib/kms-ngx-ui-presentational.module.d.ts +47 -47
  73. package/lib/kms-ngx-ui-presentational.service.d.ts +6 -6
  74. package/lib/models/address.model.d.ts +14 -14
  75. package/lib/models/iconSize.enum.d.ts +15 -15
  76. package/lib/models/image-snippet.model.d.ts +15 -15
  77. package/lib/models/index.d.ts +4 -4
  78. package/lib/models/is-value.function.d.ts +9 -9
  79. package/lib/models/salutation.enum.d.ts +5 -5
  80. package/lib/models/types/attached-file-dto.model.d.ts +11 -11
  81. package/lib/models/types/nullable.type.d.ts +4 -4
  82. package/lib/parent-components/actions.component.d.ts +31 -31
  83. package/lib/parent-components/form-control.component.d.ts +27 -27
  84. package/lib/parent-components/form.component.d.ts +34 -40
  85. package/lib/pipes/custom-pipes.module.d.ts +17 -17
  86. package/lib/pipes/decode-uri.pipe.d.ts +10 -10
  87. package/lib/pipes/encode-uri.pipe.d.ts +10 -10
  88. package/lib/pipes/integer-currency.pipe.d.ts +13 -13
  89. package/lib/pipes/safe-html.pipe.d.ts +13 -13
  90. package/lib/pipes/safe-resource-url.pipe.d.ts +13 -13
  91. package/lib/pipes/safe-style.pipe.d.ts +13 -13
  92. package/lib/pipes/safe-url.pipe.d.ts +13 -13
  93. package/lib/pipes/to-number.pipe.d.ts +10 -10
  94. package/lib/pipes/trim.pipe.d.ts +10 -10
  95. package/lib/pipes/typeof.pipe.d.ts +7 -7
  96. package/lib/services/viewport.service.d.ts +74 -83
  97. package/lib/ui/back-to-top/back-to-top.component.d.ts +10 -10
  98. package/lib/ui/button-with-confirm-dialog/button-response-types.enum.d.ts +4 -4
  99. package/lib/ui/button-with-confirm-dialog/button-with-confirm-dialog.component.d.ts +19 -19
  100. package/lib/ui/button-with-confirm-dialog/dialog-data.model.d.ts +9 -9
  101. package/lib/ui/checkbox/checkbox.component.d.ts +31 -31
  102. package/lib/ui/color-input/color-input.component.d.ts +19 -19
  103. package/lib/ui/dropdown-from-data/dropdown-from-data.component.d.ts +55 -55
  104. package/lib/ui/enum-radiogroup/enum-radiogroup.component.d.ts +17 -17
  105. package/lib/ui/file-input/file-input.component.d.ts +89 -89
  106. package/lib/ui/flyout/flyout.component.d.ts +32 -32
  107. package/lib/ui/generic-dialog/generic-dialog.component.d.ts +26 -26
  108. package/lib/ui/icon/icon.component.d.ts +42 -48
  109. package/lib/ui/icon/iconSize.enum.d.ts +15 -25
  110. package/lib/ui/image-slider/image-slider.component.d.ts +62 -62
  111. package/lib/ui/kms-accordion-item/kms-accordion-item.component.d.ts +22 -22
  112. package/lib/ui/loader/loader.component.d.ts +9 -9
  113. package/lib/ui/map/map.component.d.ts +70 -69
  114. package/lib/ui/radiobutton/radiobutton.component.d.ts +26 -27
  115. package/lib/ui/salutation-dropdown/salutation-dropdown.component.d.ts +17 -17
  116. package/lib/ui/salutation-radiogroup/salutation-radiogroup.component.d.ts +15 -15
  117. package/lib/ui/time-input/time-input.component.d.ts +22 -22
  118. package/lib/ui/tooltip/tooltip.component.d.ts +6 -6
  119. package/lib/ui/tooltip-icon/tooltip-icon.component.d.ts +13 -13
  120. package/lib/ui/yes-no-radiogroup/yes-no-radiogroup.component.d.ts +27 -27
  121. package/package.json +27 -14
  122. package/public-api.d.ts +45 -46
  123. package/src/lib/ui/back-to-top/back-to-top.component.scss +46 -45
  124. package/src/lib/ui/button-with-confirm-dialog/button-with-confirm-dialog.component.scss +2 -2
  125. package/src/lib/ui/checkbox/checkbox.component.scss +48 -48
  126. package/src/lib/ui/color-input/color-input.component.scss +38 -38
  127. package/src/lib/ui/file-input/file-input.component.scss +2 -2
  128. package/src/lib/ui/flyout/flyout.component.scss +34 -34
  129. package/src/lib/ui/generic-dialog/generic-dialog.component.scss +59 -59
  130. package/src/lib/ui/icon/icon.component.scss +148 -114
  131. package/src/lib/ui/image-slider/image-slider.component.scss +219 -219
  132. package/src/lib/ui/kms-accordion-item/kms-accordion-item.component.scss +95 -95
  133. package/src/lib/ui/radiobutton/radiobutton.component.scss +31 -31
  134. package/src/lib/ui/time-input/time-input.component.scss +10 -10
  135. package/src/lib/ui/tooltip/tooltip.component.scss +26 -26
  136. package/src/lib/ui/tooltip-icon/tooltip-icon.component.scss +2 -2
  137. package/src/styles/mixins.scss +8 -8
  138. package/src/styles/styles.scss +30 -31
  139. package/bundles/kms-ngx-ui-presentational.umd.js +0 -3751
  140. package/bundles/kms-ngx-ui-presentational.umd.js.map +0 -1
  141. package/esm2015/lib/directives/directives.module.js +0 -45
  142. package/esm2015/lib/directives/size.directive.js +0 -21
  143. package/esm2015/lib/directives/swipe.model.js +0 -5
  144. package/esm2015/lib/kms-ngx-ui-presentational.component.js +0 -26
  145. package/esm2015/lib/models/address.model.js +0 -6
  146. package/esm2015/lib/parent-components/colorable.component.js +0 -35
  147. package/esm2015/lib/parent-components/form-control.component.js +0 -76
  148. package/esm2015/lib/parent-components/form.component.js +0 -99
  149. package/esm2015/lib/pipes/decode-uri.pipe.js +0 -19
  150. package/esm2015/lib/pipes/encode-uri.pipe.js +0 -19
  151. package/esm2015/lib/services/viewport.service.js +0 -242
  152. package/esm2015/lib/ui/back-to-top/back-to-top.component.js +0 -52
  153. package/esm2015/lib/ui/button-with-confirm-dialog/button-with-confirm-dialog.component.js +0 -62
  154. package/esm2015/lib/ui/checkbox/checkbox.component.js +0 -76
  155. package/esm2015/lib/ui/color-input/color-input.component.js +0 -81
  156. package/esm2015/lib/ui/dropdown-from-data/dropdown-from-data.component.js +0 -169
  157. package/esm2015/lib/ui/enum-radiogroup/enum-radiogroup.component.js +0 -57
  158. package/esm2015/lib/ui/file-input/file-input.component.js +0 -237
  159. package/esm2015/lib/ui/flyout/flyout.component.js +0 -125
  160. package/esm2015/lib/ui/generic-dialog/generic-dialog.component.js +0 -58
  161. package/esm2015/lib/ui/icon/icon.component.js +0 -55
  162. package/esm2015/lib/ui/icon/iconSize.enum.js +0 -28
  163. package/esm2015/lib/ui/image-slider/image-slider.component.js +0 -193
  164. package/esm2015/lib/ui/kms-accordion-item/kms-accordion-item.component.js +0 -44
  165. package/esm2015/lib/ui/loader/loader.component.js +0 -25
  166. package/esm2015/lib/ui/map/map.component.js +0 -120
  167. package/esm2015/lib/ui/radiobutton/radiobutton.component.js +0 -82
  168. package/esm2015/lib/ui/salutation-dropdown/salutation-dropdown.component.js +0 -59
  169. package/esm2015/lib/ui/salutation-radiogroup/salutation-radiogroup.component.js +0 -53
  170. package/esm2015/lib/ui/time-input/time-input.component.js +0 -88
  171. package/esm2015/lib/ui/tooltip/tooltip.component.js +0 -20
  172. package/esm2015/lib/ui/tooltip-icon/tooltip-icon.component.js +0 -40
  173. package/esm2015/lib/ui/yes-no-radiogroup/yes-no-radiogroup.component.js +0 -86
  174. package/esm2015/public-api.js +0 -50
  175. package/fesm2015/kms-ngx-ui-presentational.js.map +0 -1
  176. package/lib/directives/size.directive.d.ts +0 -10
  177. package/lib/parent-components/colorable.component.d.ts +0 -10
  178. package/src/styles/animations.scss +0 -47
@@ -1,220 +1,220 @@
1
- @mixin image-slider-theme() {
2
- // TODO
3
- $responsive-breakpoint1: 996px;
4
- $responsive-breakpoint-1024: 1024px;
5
- $responsive-breakpoint2: 1200px;
6
- $responsive-breakpoint3: 1400px;
7
- $color-secondary: var(--primaryColor);
8
- $color-disabled: var(--gray04);
9
- $color-image-background: white;
10
- $img-size: 796px;
11
-
12
- .all-wrapper{
13
- position: relative;
14
-
15
- .default-image {
16
-
17
- visibility: hidden;
18
- }
19
- }
20
-
21
- .swiper-bigImage{
22
- @include backgroundContains();
23
- background-color: $color-image-background;
24
-
25
- width: $img-size;
26
- height: auto;
27
- padding-top: 75%; /* 4:3 Aspect Ratio */
28
- position: relative;
29
-
30
- @media (max-width: $responsive-breakpoint3) {
31
- width: 100%;
32
- }
33
- }
34
-
35
- .swiper-holder{
36
- margin: 18px 0;
37
- width: 796px;
38
- @media (max-width: $responsive-breakpoint3) {
39
- width: 100%;
40
- }
41
-
42
- .swiper-button{
43
- &-next, &-prev,
44
- &-next2, &-prev2{
45
- position: absolute;
46
- width: 10px;
47
- height: 20px;
48
- top: calc((100% - 140px) / 2);
49
- transform: translate(0, 50%);
50
- color: $color-secondary;
51
- &.swiper-button-disabled{
52
- display: none;
53
- }
54
- &:after{
55
- font-size: 20px;
56
- }
57
- }
58
-
59
- &-next,
60
- &-next2{
61
- right: 20px;
62
- }
63
- &-prev,
64
- &-prev2{
65
- left: 20px;
66
- }
67
-
68
- &-next, &-prev{
69
- top: auto;
70
- bottom: calc((140px)/ 2);
71
- }
72
-
73
- @media (max-width: $responsive-breakpoint2) {
74
- &-next{
75
- right: 20px;
76
- }
77
- &-prev{
78
- left: 20px;
79
- }
80
- }
81
- @media (max-width: $responsive-breakpoint-1024) {
82
-
83
- &-next{
84
- right: 0;
85
- }
86
- &-prev{
87
- left: 0;
88
- }
89
- }
90
- @media (max-width: $responsive-breakpoint1) {
91
- &-next{
92
- right: 10vw;
93
- }
94
- &-prev{
95
- left: 10vw;
96
- }
97
- }
98
- }
99
- }
100
-
101
- swiper{
102
- width: 560px;
103
- margin: 0 auto;
104
- position: relative;
105
- @media (max-width: $responsive-breakpoint-1024) {
106
- width: 400px;
107
- }
108
- @media (max-width: $responsive-breakpoint1) {
109
- width: 60vw;
110
- }
111
-
112
- .swiper-wrapper {
113
- display: flex;
114
-
115
- .swiper-slide {
116
- flex-basis: 0;
117
- position: relative;
118
-
119
- .img {
120
- background-repeat: no-repeat;
121
- background-size: contain;
122
- background-position: center center;
123
-
124
- width: 158px;
125
- height: auto;
126
- padding-top: 75%; /* 4:3 Aspect Ratio */
127
-
128
- cursor: pointer;
129
- border: 1px solid #dbdbda;
130
- border-radius: var(--defaultBorderRadius);
131
- @media (max-width: $responsive-breakpoint-1024) {
132
- width: 100px;
133
- }
134
- @media (max-width: $responsive-breakpoint1) {
135
- width: 20vw;
136
- }
137
- &.active{
138
- border: 1px solid var(--grey08);
139
- background-color: var(--gray06);
140
- }
141
- }
142
-
143
- button {
144
- position: absolute;
145
- width: 15px;
146
- height: 15px;
147
- right: 5px;
148
- top: 5px;
149
- background: none;
150
-
151
- .icon{
152
- width: 15px !important;
153
- height: 15px !important;
154
-
155
- svg {
156
- width: 15px !important;
157
- height: 15px !important;
158
- }
159
- }
160
- }
161
- }
162
- .cdk-drag-preview {
163
- box-sizing: border-box;
164
- border-radius: var(--defaultBorderRadius);
165
- box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2),
166
- 0 8px 10px 1px rgba(0, 0, 0, 0.14),
167
- 0 3px 14px 2px rgba(0, 0, 0, 0.12);
168
- }
169
-
170
- .cdk-drag-placeholder {
171
- opacity: 0.3;
172
- border: 1px solid var(--grey07);
173
- background-color: var(--gray05);
174
- }
175
-
176
- .cdk-drag-animating {
177
- transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
178
- }
179
-
180
- .swiper-slide:first-child:not(.cdk-drag-disabled)
181
- {
182
- .img {
183
- border: solid var(--primaryColor);
184
- border-radius: 8px;
185
- }
186
-
187
- .default-image {
188
- visibility: visible !important;
189
- text-align: center;
190
- font: normal normal normal 14px/25px var(--fontName-text03);
191
- letter-spacing: 0.22px;
192
- color: var(--gray04);;
193
- opacity: 1;
194
- }
195
- }
196
-
197
- .swiper-wrapper.cdk-drop-list-dragging .swiper-slide:not(.cdk-drag-placeholder) {
198
- transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
199
- }
200
- }
201
-
202
- .swiper-container {
203
- width: 100%;
204
- overflow-y: hidden;
205
- overflow-x: hidden;
206
- }
207
- }
208
-
209
- .cdk-drag-preview,
210
- .cdk-drag-dragging {
211
- &.swiper-slide {
212
- .default-image{
213
- visibility: hidden;
214
- }
215
- button {
216
- visibility: hidden;
217
- }
218
- }
219
- }
1
+ @mixin image-slider-theme() {
2
+ // TODO
3
+ $responsive-breakpoint1: 996px;
4
+ $responsive-breakpoint-1024: 1024px;
5
+ $responsive-breakpoint2: 1200px;
6
+ $responsive-breakpoint3: 1400px;
7
+ $color-secondary: var(--primaryColor);
8
+ $color-disabled: var(--gray04);
9
+ $color-image-background: white;
10
+ $img-size: 796px;
11
+
12
+ .all-wrapper{
13
+ position: relative;
14
+
15
+ .default-image {
16
+
17
+ visibility: hidden;
18
+ }
19
+ }
20
+
21
+ .swiper-bigImage{
22
+ @include backgroundContains();
23
+ background-color: $color-image-background;
24
+
25
+ width: $img-size;
26
+ height: auto;
27
+ padding-top: 75%; /* 4:3 Aspect Ratio */
28
+ position: relative;
29
+
30
+ @media (max-width: $responsive-breakpoint3) {
31
+ width: 100%;
32
+ }
33
+ }
34
+
35
+ .swiper-holder{
36
+ margin: 18px 0;
37
+ width: 796px;
38
+ @media (max-width: $responsive-breakpoint3) {
39
+ width: 100%;
40
+ }
41
+
42
+ .swiper-button{
43
+ &-next, &-prev,
44
+ &-next2, &-prev2{
45
+ position: absolute;
46
+ width: 10px;
47
+ height: 20px;
48
+ top: calc((100% - 140px) / 2);
49
+ transform: translate(0, 50%);
50
+ color: $color-secondary;
51
+ &.swiper-button-disabled{
52
+ display: none;
53
+ }
54
+ &:after{
55
+ font-size: 20px;
56
+ }
57
+ }
58
+
59
+ &-next,
60
+ &-next2{
61
+ right: 20px;
62
+ }
63
+ &-prev,
64
+ &-prev2{
65
+ left: 20px;
66
+ }
67
+
68
+ &-next, &-prev{
69
+ top: auto;
70
+ bottom: calc((140px)/ 2);
71
+ }
72
+
73
+ @media (max-width: $responsive-breakpoint2) {
74
+ &-next{
75
+ right: 20px;
76
+ }
77
+ &-prev{
78
+ left: 20px;
79
+ }
80
+ }
81
+ @media (max-width: $responsive-breakpoint-1024) {
82
+
83
+ &-next{
84
+ right: 0;
85
+ }
86
+ &-prev{
87
+ left: 0;
88
+ }
89
+ }
90
+ @media (max-width: $responsive-breakpoint1) {
91
+ &-next{
92
+ right: 10vw;
93
+ }
94
+ &-prev{
95
+ left: 10vw;
96
+ }
97
+ }
98
+ }
99
+ }
100
+
101
+ swiper{
102
+ width: 560px;
103
+ margin: 0 auto;
104
+ position: relative;
105
+ @media (max-width: $responsive-breakpoint-1024) {
106
+ width: 400px;
107
+ }
108
+ @media (max-width: $responsive-breakpoint1) {
109
+ width: 60vw;
110
+ }
111
+
112
+ .swiper-wrapper {
113
+ display: flex;
114
+
115
+ .swiper-slide {
116
+ flex-basis: 0;
117
+ position: relative;
118
+
119
+ .img {
120
+ background-repeat: no-repeat;
121
+ background-size: contain;
122
+ background-position: center center;
123
+
124
+ width: 158px;
125
+ height: auto;
126
+ padding-top: 75%; /* 4:3 Aspect Ratio */
127
+
128
+ cursor: pointer;
129
+ border: 1px solid #dbdbda;
130
+ border-radius: var(--defaultBorderRadius);
131
+ @media (max-width: $responsive-breakpoint-1024) {
132
+ width: 100px;
133
+ }
134
+ @media (max-width: $responsive-breakpoint1) {
135
+ width: 20vw;
136
+ }
137
+ &.active{
138
+ border: 1px solid var(--grey08);
139
+ background-color: var(--gray06);
140
+ }
141
+ }
142
+
143
+ button {
144
+ position: absolute;
145
+ width: 15px;
146
+ height: 15px;
147
+ right: 5px;
148
+ top: 5px;
149
+ background: none;
150
+
151
+ .icon{
152
+ width: 15px !important;
153
+ height: 15px !important;
154
+
155
+ svg {
156
+ width: 15px !important;
157
+ height: 15px !important;
158
+ }
159
+ }
160
+ }
161
+ }
162
+ .cdk-drag-preview {
163
+ box-sizing: border-box;
164
+ border-radius: var(--defaultBorderRadius);
165
+ box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2),
166
+ 0 8px 10px 1px rgba(0, 0, 0, 0.14),
167
+ 0 3px 14px 2px rgba(0, 0, 0, 0.12);
168
+ }
169
+
170
+ .cdk-drag-placeholder {
171
+ opacity: 0.3;
172
+ border: 1px solid var(--grey07);
173
+ background-color: var(--gray05);
174
+ }
175
+
176
+ .cdk-drag-animating {
177
+ transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
178
+ }
179
+
180
+ .swiper-slide:first-child:not(.cdk-drag-disabled)
181
+ {
182
+ .img {
183
+ border: solid var(--primaryColor);
184
+ border-radius: 8px;
185
+ }
186
+
187
+ .default-image {
188
+ visibility: visible !important;
189
+ text-align: center;
190
+ font: normal normal normal 14px/25px var(--fontName-text03);
191
+ letter-spacing: 0.22px;
192
+ color: var(--gray04);;
193
+ opacity: 1;
194
+ }
195
+ }
196
+
197
+ .swiper-wrapper.cdk-drop-list-dragging .swiper-slide:not(.cdk-drag-placeholder) {
198
+ transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
199
+ }
200
+ }
201
+
202
+ .swiper-container {
203
+ width: 100%;
204
+ overflow-y: hidden;
205
+ overflow-x: hidden;
206
+ }
207
+ }
208
+
209
+ .cdk-drag-preview,
210
+ .cdk-drag-dragging {
211
+ &.swiper-slide {
212
+ .default-image{
213
+ visibility: hidden;
214
+ }
215
+ button {
216
+ visibility: hidden;
217
+ }
218
+ }
219
+ }
220
220
  }
@@ -1,95 +1,95 @@
1
- @mixin kms-accordion-item-theme() {
2
- .accordion-item {
3
- &.showFlat{
4
- background-color: transparent;
5
- box-shadow: none !important;
6
- border-radius: unset !important;
7
- border-top: solid rgba(189, 188, 187, 0.5);
8
- }
9
- &.isSmall{
10
- .accordion-item-header{
11
- height: 42px;
12
- padding-top: 0;
13
- padding-bottom: 0;
14
-
15
- .accordion-item-title{
16
- font-size: 16px !important;
17
- font-weight: 300;
18
- }
19
-
20
- .accordion-item-header-icon-wrapper{
21
- kms-icon{
22
-
23
- svg{
24
- height: 16px;
25
- width: 16px;
26
- }
27
- }
28
- }
29
- }
30
- }
31
-
32
- .accordion-item-header{
33
- height: auto;
34
- padding-top: $base-spacing-hoz;
35
- padding-bottom: $base-spacing-hoz;
36
-
37
- .accordion-item-title{
38
- text-align: left;
39
- font: 600 22px/38px var(--fontName-text);
40
- letter-spacing: 0.53px;
41
- color: var(--gray09);
42
- margin: 0px;
43
-
44
- @media (max-width: $responsive-breakpoint) {
45
- font: 15 18px/23px var(--fontName-text);
46
- letter-spacing: 0.29px;
47
- color: var(--gray10);
48
- //height: 3em;
49
- }
50
-
51
- span{
52
- display: inline;
53
-
54
- @media (max-width: $responsive-breakpoint) {
55
- display: block;
56
- }
57
- }
58
- }
59
-
60
- .accordion-item-header-icon-wrapper{
61
- align-self: center;
62
-
63
- kms-icon{
64
- svg {
65
- height: 22px;
66
- width: 22px;
67
- use{
68
- fill: var(--primaryColor);
69
- }
70
- }
71
- }
72
-
73
- &-desktop{
74
- display: block;
75
- @media (max-width: $responsive-breakpoint) {
76
- display: none;
77
- }
78
- }
79
-
80
- &-mobile{
81
- display: none;
82
- @media (max-width: $responsive-breakpoint) {
83
- display: block;
84
- }
85
- }
86
- }
87
- }
88
- }
89
-
90
- mat-expansion-panel-header{
91
- @media (max-width: $responsive-breakpoint) {
92
- height: auto !important;
93
- }
94
- }
95
- }
1
+ @mixin kms-accordion-item-theme() {
2
+ .accordion-item {
3
+ &.showFlat{
4
+ background-color: transparent;
5
+ box-shadow: none !important;
6
+ border-radius: unset !important;
7
+ border-top: solid rgba(189, 188, 187, 0.5);
8
+ }
9
+ &.isSmall{
10
+ .accordion-item-header{
11
+ height: 42px;
12
+ padding-top: 0;
13
+ padding-bottom: 0;
14
+
15
+ .accordion-item-title{
16
+ font-size: 16px !important;
17
+ font-weight: 300;
18
+ }
19
+
20
+ .accordion-item-header-icon-wrapper{
21
+ kms-icon{
22
+
23
+ svg{
24
+ height: 16px;
25
+ width: 16px;
26
+ }
27
+ }
28
+ }
29
+ }
30
+ }
31
+
32
+ .accordion-item-header{
33
+ height: auto;
34
+ padding-top: $base-spacing-hoz;
35
+ padding-bottom: $base-spacing-hoz;
36
+
37
+ .accordion-item-title{
38
+ text-align: left;
39
+ font: 600 22px/38px var(--fontName-text);
40
+ letter-spacing: 0.53px;
41
+ color: var(--gray09);
42
+ margin: 0px;
43
+
44
+ @media (max-width: $responsive-breakpoint) {
45
+ font: 15 18px/23px var(--fontName-text);
46
+ letter-spacing: 0.29px;
47
+ color: var(--gray10);
48
+ //height: 3em;
49
+ }
50
+
51
+ span{
52
+ display: inline;
53
+
54
+ @media (max-width: $responsive-breakpoint) {
55
+ display: block;
56
+ }
57
+ }
58
+ }
59
+
60
+ .accordion-item-header-icon-wrapper{
61
+ align-self: center;
62
+
63
+ kms-icon{
64
+ svg {
65
+ height: 22px;
66
+ width: 22px;
67
+ use{
68
+ fill: var(--primaryColor);
69
+ }
70
+ }
71
+ }
72
+
73
+ &-desktop{
74
+ display: block;
75
+ @media (max-width: $responsive-breakpoint) {
76
+ display: none;
77
+ }
78
+ }
79
+
80
+ &-mobile{
81
+ display: none;
82
+ @media (max-width: $responsive-breakpoint) {
83
+ display: block;
84
+ }
85
+ }
86
+ }
87
+ }
88
+ }
89
+
90
+ mat-expansion-panel-header{
91
+ @media (max-width: $responsive-breakpoint) {
92
+ height: auto !important;
93
+ }
94
+ }
95
+ }