@kms-ngx-ui/presentational 16.2.0 → 16.3.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.
- package/esm2022/lib/directives/directives.module.mjs +7 -12
- package/esm2022/lib/directives/mousewheel.directive.mjs +4 -4
- package/esm2022/lib/directives/sum-of-height.directive.mjs +4 -4
- package/esm2022/lib/directives/swipe.directive.mjs +4 -4
- package/esm2022/lib/directives/tooltip.directive.mjs +4 -4
- package/esm2022/lib/kms-ngx-ui-presentational.component.mjs +4 -4
- package/esm2022/lib/kms-ngx-ui-presentational.module.mjs +16 -20
- package/esm2022/lib/kms-ngx-ui-presentational.service.mjs +4 -4
- package/esm2022/lib/parent-components/actions.component.mjs +4 -4
- package/esm2022/lib/parent-components/form-control.component.mjs +5 -5
- package/esm2022/lib/parent-components/form.component.mjs +8 -14
- package/esm2022/lib/pipes/custom-pipes.module.mjs +5 -5
- package/esm2022/lib/pipes/decode-uri.pipe.mjs +4 -4
- package/esm2022/lib/pipes/encode-uri.pipe.mjs +4 -4
- package/esm2022/lib/pipes/integer-currency.pipe.mjs +4 -4
- package/esm2022/lib/pipes/safe-html.pipe.mjs +4 -4
- package/esm2022/lib/pipes/safe-resource-url.pipe.mjs +4 -4
- package/esm2022/lib/pipes/safe-style.pipe.mjs +4 -4
- package/esm2022/lib/pipes/safe-url.pipe.mjs +4 -4
- package/esm2022/lib/pipes/to-number.pipe.mjs +4 -4
- package/esm2022/lib/pipes/trim.pipe.mjs +4 -4
- package/esm2022/lib/pipes/typeof.pipe.mjs +4 -4
- package/esm2022/lib/services/viewport.service.mjs +75 -214
- package/esm2022/lib/ui/back-to-top/back-to-top.component.mjs +4 -4
- package/esm2022/lib/ui/button-with-confirm-dialog/button-with-confirm-dialog.component.mjs +5 -5
- package/esm2022/lib/ui/checkbox/checkbox.component.mjs +6 -6
- package/esm2022/lib/ui/color-input/color-input.component.mjs +7 -7
- package/esm2022/lib/ui/dropdown-from-data/dropdown-from-data.component.mjs +9 -14
- package/esm2022/lib/ui/enum-radiogroup/enum-radiogroup.component.mjs +6 -6
- package/esm2022/lib/ui/file-input/file-input.component.mjs +12 -12
- package/esm2022/lib/ui/flyout/flyout.component.mjs +7 -8
- package/esm2022/lib/ui/generic-dialog/generic-dialog.component.mjs +6 -5
- package/esm2022/lib/ui/icon/icon.component.mjs +5 -8
- package/esm2022/lib/ui/icon/iconSize.enum.mjs +1 -12
- package/esm2022/lib/ui/image-slider/image-slider.component.mjs +14 -14
- package/esm2022/lib/ui/kms-accordion-item/kms-accordion-item.component.mjs +11 -11
- package/esm2022/lib/ui/loader/loader.component.mjs +5 -5
- package/esm2022/lib/ui/map/map.component.mjs +5 -5
- package/esm2022/lib/ui/radiobutton/radiobutton.component.mjs +7 -11
- package/esm2022/lib/ui/salutation-dropdown/salutation-dropdown.component.mjs +8 -8
- package/esm2022/lib/ui/salutation-radiogroup/salutation-radiogroup.component.mjs +6 -6
- package/esm2022/lib/ui/time-input/time-input.component.mjs +4 -4
- package/esm2022/lib/ui/tooltip/tooltip.component.mjs +4 -4
- package/esm2022/lib/ui/tooltip-icon/tooltip-icon.component.mjs +8 -9
- package/esm2022/lib/ui/yes-no-radiogroup/yes-no-radiogroup.component.mjs +6 -6
- package/esm2022/public-api.mjs +1 -2
- package/fesm2022/kms-ngx-ui-presentational.mjs +344 -536
- package/fesm2022/kms-ngx-ui-presentational.mjs.map +1 -1
- package/lib/directives/directives.module.d.ts +2 -4
- package/lib/kms-ngx-ui-presentational.module.d.ts +10 -10
- package/lib/services/viewport.service.d.ts +11 -86
- package/lib/ui/dropdown-from-data/dropdown-from-data.component.d.ts +2 -4
- package/lib/ui/file-input/file-input.component.d.ts +2 -2
- package/lib/ui/icon/icon.component.d.ts +1 -7
- package/lib/ui/icon/iconSize.enum.d.ts +0 -10
- package/lib/ui/image-slider/image-slider.component.d.ts +2 -2
- package/lib/ui/kms-accordion-item/kms-accordion-item.component.d.ts +2 -2
- package/lib/ui/radiobutton/radiobutton.component.d.ts +1 -2
- package/lib/ui/tooltip-icon/tooltip-icon.component.d.ts +2 -2
- package/package.json +8 -8
- package/public-api.d.ts +0 -1
- package/src/lib/ui/back-to-top/back-to-top.component.scss +3 -2
- package/src/lib/ui/icon/icon.component.scss +36 -2
- package/src/lib/ui/image-slider/image-slider.component.scss +202 -209
- package/src/lib/ui/yes-no-radiogroup/yes-no-radiogroup.component.scss +17 -0
- package/src/styles/styles.scss +3 -2
- package/esm2022/lib/directives/size.directive.mjs +0 -21
- package/lib/directives/size.directive.d.ts +0 -10
- package/src/styles/animations.scss +0 -47
|
@@ -1,227 +1,220 @@
|
|
|
1
1
|
@mixin image-slider-theme() {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
.default-image {
|
|
16
|
-
visibility: hidden;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.swiper-bigImage {
|
|
21
|
-
@include backgroundContains();
|
|
22
|
-
background-color: $color-image-background;
|
|
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;
|
|
23
14
|
|
|
24
|
-
|
|
25
|
-
height: auto;
|
|
26
|
-
padding-top: 75%; /* 4:3 Aspect Ratio */
|
|
27
|
-
position: relative;
|
|
15
|
+
.default-image {
|
|
28
16
|
|
|
29
|
-
|
|
30
|
-
|
|
17
|
+
visibility: hidden;
|
|
18
|
+
}
|
|
31
19
|
}
|
|
32
|
-
}
|
|
33
20
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
@media (max-width: $responsive-breakpoint3) {
|
|
38
|
-
width: 100%;
|
|
39
|
-
}
|
|
21
|
+
.swiper-bigImage{
|
|
22
|
+
@include backgroundContains();
|
|
23
|
+
background-color: $color-image-background;
|
|
40
24
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
height: 20px;
|
|
49
|
-
top: calc((100% - 140px) / 2);
|
|
50
|
-
transform: translate(0, 50%);
|
|
51
|
-
color: $color-secondary;
|
|
52
|
-
&.swiper-button-disabled {
|
|
53
|
-
display: none;
|
|
54
|
-
}
|
|
55
|
-
&:after {
|
|
56
|
-
font-size: 20px;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
&-next,
|
|
61
|
-
&-prev {
|
|
62
|
-
color: $color-secondary !important;
|
|
63
|
-
background: transparent;
|
|
64
|
-
border: none;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
&-next,
|
|
68
|
-
&-next2 {
|
|
69
|
-
right: 20px;
|
|
70
|
-
}
|
|
71
|
-
&-prev,
|
|
72
|
-
&-prev2 {
|
|
73
|
-
left: 20px;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
&-next,
|
|
77
|
-
&-prev {
|
|
78
|
-
top: auto;
|
|
79
|
-
bottom: calc((140px) / 2);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
@media (max-width: $responsive-breakpoint2) {
|
|
83
|
-
&-next {
|
|
84
|
-
right: 20px;
|
|
85
|
-
}
|
|
86
|
-
&-prev {
|
|
87
|
-
left: 20px;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
@media (max-width: $responsive-breakpoint-1024) {
|
|
91
|
-
&-next {
|
|
92
|
-
right: 0;
|
|
93
|
-
}
|
|
94
|
-
&-prev {
|
|
95
|
-
left: 0;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
@media (max-width: $responsive-breakpoint1) {
|
|
99
|
-
&-next {
|
|
100
|
-
right: 10vw;
|
|
101
|
-
}
|
|
102
|
-
&-prev {
|
|
103
|
-
left: 10vw;
|
|
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%;
|
|
104
32
|
}
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
swiper {
|
|
110
|
-
width: 560px;
|
|
111
|
-
margin: 0 auto;
|
|
112
|
-
position: relative;
|
|
113
|
-
@media (max-width: $responsive-breakpoint-1024) {
|
|
114
|
-
width: 400px;
|
|
115
|
-
}
|
|
116
|
-
@media (max-width: $responsive-breakpoint1) {
|
|
117
|
-
width: 60vw;
|
|
118
33
|
}
|
|
119
34
|
|
|
120
|
-
.swiper-
|
|
121
|
-
|
|
35
|
+
.swiper-holder{
|
|
36
|
+
margin: 18px 0;
|
|
37
|
+
width: 796px;
|
|
38
|
+
@media (max-width: $responsive-breakpoint3) {
|
|
39
|
+
width: 100%;
|
|
40
|
+
}
|
|
122
41
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
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
|
+
}
|
|
126
67
|
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
width: 158px;
|
|
133
|
-
height: auto;
|
|
134
|
-
padding-top: 75%; /* 4:3 Aspect Ratio */
|
|
135
|
-
|
|
136
|
-
cursor: pointer;
|
|
137
|
-
border: 1px solid #dbdbda;
|
|
138
|
-
border-radius: var(--defaultBorderRadius);
|
|
139
|
-
@media (max-width: $responsive-breakpoint-1024) {
|
|
140
|
-
width: 100px;
|
|
141
|
-
}
|
|
142
|
-
@media (max-width: $responsive-breakpoint1) {
|
|
143
|
-
width: 20vw;
|
|
144
|
-
}
|
|
145
|
-
&.active {
|
|
146
|
-
border: 1px solid var(--grey08);
|
|
147
|
-
background-color: var(--gray06);
|
|
148
|
-
}
|
|
149
|
-
}
|
|
68
|
+
&-next, &-prev{
|
|
69
|
+
top: auto;
|
|
70
|
+
bottom: calc((140px)/ 2);
|
|
71
|
+
}
|
|
150
72
|
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
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
|
+
}
|
|
166
97
|
}
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
.cdk-drag-preview {
|
|
171
|
-
box-sizing: border-box;
|
|
172
|
-
border-radius: var(--defaultBorderRadius);
|
|
173
|
-
box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2),
|
|
174
|
-
0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
.cdk-drag-placeholder {
|
|
178
|
-
opacity: 0.3;
|
|
179
|
-
border: 1px solid var(--grey07);
|
|
180
|
-
background-color: var(--gray05);
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
.cdk-drag-animating {
|
|
184
|
-
transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
.swiper-slide:first-child:not(.cdk-drag-disabled) {
|
|
188
|
-
.img {
|
|
189
|
-
border: solid var(--primaryColor);
|
|
190
|
-
border-radius: 8px;
|
|
191
98
|
}
|
|
99
|
+
}
|
|
192
100
|
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
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
|
+
}
|
|
202
111
|
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
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
|
+
}
|
|
208
201
|
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
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
|
+
}
|
|
225
219
|
}
|
|
226
|
-
|
|
227
|
-
}
|
|
220
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
@mixin kms-radiogroup() {
|
|
2
|
+
.mat-mdc-radio-group {
|
|
3
|
+
display: flex;
|
|
4
|
+
.mat-mdc-radio-button {
|
|
5
|
+
padding-right: 16px;
|
|
6
|
+
color: var(--primaryColor01);
|
|
7
|
+
|
|
8
|
+
&.disabled {
|
|
9
|
+
color: var(--primaryColor04);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
.mat-radio-button-vertical {
|
|
13
|
+
display: flex;
|
|
14
|
+
padding-bottom: 16px;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
package/src/styles/styles.scss
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
@import 'mixins.scss';
|
|
2
|
-
@import 'animations.scss';
|
|
3
2
|
|
|
4
3
|
@import '../lib/ui/back-to-top/back-to-top.component';
|
|
5
4
|
@import '../lib/ui/button-with-confirm-dialog/button-with-confirm-dialog.component';
|
|
@@ -10,6 +9,7 @@
|
|
|
10
9
|
@import '../lib/ui/icon/icon.component';
|
|
11
10
|
@import '../lib/ui/image-slider/image-slider.component';
|
|
12
11
|
@import '../lib/ui/kms-accordion-item/kms-accordion-item.component';
|
|
12
|
+
@import '../lib/ui/yes-no-radiogroup/yes-no-radiogroup.component';
|
|
13
13
|
@import '../lib/ui/loader/loader.component';
|
|
14
14
|
@import '../lib/ui/map/map.component';
|
|
15
15
|
@import '../lib/ui/radiobutton/radiobutton.component';
|
|
@@ -26,7 +26,8 @@
|
|
|
26
26
|
@include icon-theme();
|
|
27
27
|
@include image-slider-theme();
|
|
28
28
|
@include kms-accordion-item-theme();
|
|
29
|
+
@include kms-radiogroup();
|
|
29
30
|
@include radiobutton-theme();
|
|
30
31
|
@include time-input-theme();
|
|
31
32
|
@include tooltip-icon-theme();
|
|
32
|
-
@include tooltip-theme();
|
|
33
|
+
@include tooltip-theme();
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Directive, Input } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class SizeDirective {
|
|
4
|
-
constructor(elementRef) {
|
|
5
|
-
this.elementRef = elementRef;
|
|
6
|
-
this.size = '';
|
|
7
|
-
}
|
|
8
|
-
ngOnInit() {
|
|
9
|
-
this.elementRef.nativeElement.style.width = this.size + 'px';
|
|
10
|
-
this.elementRef.nativeElement.style.height = this.size + 'px';
|
|
11
|
-
}
|
|
12
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: SizeDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
13
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.5", type: SizeDirective, selector: "[size]", inputs: { size: "size" }, ngImport: i0 }); }
|
|
14
|
-
}
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: SizeDirective, decorators: [{
|
|
16
|
-
type: Directive,
|
|
17
|
-
args: [{ selector: '[size]' }]
|
|
18
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { size: [{
|
|
19
|
-
type: Input
|
|
20
|
-
}] } });
|
|
21
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2l6ZS5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9rbXMtbmd4LXVpLXByZXNlbnRhdGlvbmFsL3NyYy9saWIvZGlyZWN0aXZlcy9zaXplLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFjLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFHN0QsTUFBTSxPQUFPLGFBQWE7SUFHdEIsWUFBb0IsVUFBc0I7UUFBdEIsZUFBVSxHQUFWLFVBQVUsQ0FBWTtRQUZqQyxTQUFJLEdBQVcsRUFBRSxDQUFDO0lBRW1CLENBQUM7SUFFL0MsUUFBUTtRQUNKLElBQUksQ0FBQyxVQUFVLENBQUMsYUFBYSxDQUFDLEtBQUssQ0FBQyxLQUFLLEdBQUcsSUFBSSxDQUFDLElBQUksR0FBRyxJQUFJLENBQUM7UUFDN0QsSUFBSSxDQUFDLFVBQVUsQ0FBQyxhQUFhLENBQUMsS0FBSyxDQUFDLE1BQU0sR0FBRyxJQUFJLENBQUMsSUFBSSxHQUFHLElBQUksQ0FBQztJQUNsRSxDQUFDOzhHQVJRLGFBQWE7a0dBQWIsYUFBYTs7MkZBQWIsYUFBYTtrQkFEekIsU0FBUzttQkFBQyxFQUFFLFFBQVEsRUFBRSxRQUFRLEVBQUU7aUdBRXBCLElBQUk7c0JBQVosS0FBSyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IERpcmVjdGl2ZSwgRWxlbWVudFJlZiwgSW5wdXQgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQERpcmVjdGl2ZSh7IHNlbGVjdG9yOiAnW3NpemVdJyB9KVxuZXhwb3J0IGNsYXNzIFNpemVEaXJlY3RpdmUge1xuICAgIEBJbnB1dCgpIHNpemU6IHN0cmluZyA9ICcnO1xuXG4gICAgY29uc3RydWN0b3IocHJpdmF0ZSBlbGVtZW50UmVmOiBFbGVtZW50UmVmKSB7IH1cblxuICAgIG5nT25Jbml0KCkge1xuICAgICAgICB0aGlzLmVsZW1lbnRSZWYubmF0aXZlRWxlbWVudC5zdHlsZS53aWR0aCA9IHRoaXMuc2l6ZSArICdweCc7XG4gICAgICAgIHRoaXMuZWxlbWVudFJlZi5uYXRpdmVFbGVtZW50LnN0eWxlLmhlaWdodCA9IHRoaXMuc2l6ZSArICdweCc7XG4gICAgfVxufVxuIl19
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class SizeDirective {
|
|
4
|
-
private elementRef;
|
|
5
|
-
size: string;
|
|
6
|
-
constructor(elementRef: ElementRef);
|
|
7
|
-
ngOnInit(): void;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SizeDirective, never>;
|
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SizeDirective, "[size]", never, { "size": { "alias": "size"; "required": false; }; }, {}, never, never, false, never>;
|
|
10
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
// Animations for element
|
|
2
|
-
@keyframes spinanimation {
|
|
3
|
-
from {
|
|
4
|
-
transform: rotate(0deg);
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
to {
|
|
8
|
-
transform: rotate(360deg);
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.is-rotating{
|
|
13
|
-
&45 {
|
|
14
|
-
animation-name: spinanimation;
|
|
15
|
-
animation-duration: 3000ms;
|
|
16
|
-
transform: rotate(45deg);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
&90 {
|
|
20
|
-
animation-name: spinanimation;
|
|
21
|
-
animation-duration: 3000ms;
|
|
22
|
-
transform: rotate(90deg);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&180 {
|
|
26
|
-
animation-name: spinanimation180;
|
|
27
|
-
animation-duration: 3000ms;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
&45Anti {
|
|
31
|
-
animation-name: spinanimation;
|
|
32
|
-
animation-duration: 3000ms;
|
|
33
|
-
transform: rotate(-45deg);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
&90Anti {
|
|
37
|
-
animation-name: spinanimation;
|
|
38
|
-
animation-duration: 3000ms;
|
|
39
|
-
transform: rotate(-90deg);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
&180Anti {
|
|
43
|
-
animation-name: spinanimation;
|
|
44
|
-
animation-duration: 3000ms;
|
|
45
|
-
transform: rotate(-180deg);
|
|
46
|
-
}
|
|
47
|
-
}
|