@morozeckiy/dd-lib 0.1.22 → 0.1.24
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/assets/scss/modal.scss +1 -1
- package/assets/scss/normalize.scss +418 -417
- package/assets/scss/offsets.scss +2 -45
- package/assets/scss/reset.scss +106 -331
- package/lib/core/services/validators.service.d.ts +2 -2
- package/morozeckiy-dd-lib-0.1.23.tgz +0 -0
- package/morozeckiy-dd-lib-0.1.24.tgz +0 -0
- package/package.json +1 -1
package/assets/scss/offsets.scss
CHANGED
|
@@ -15,11 +15,9 @@
|
|
|
15
15
|
.mr#{$prefix}-#{$i * 4} {
|
|
16
16
|
margin-right: #{$i * 4}px;
|
|
17
17
|
}
|
|
18
|
-
|
|
19
18
|
.m#{$prefix}-#{$i * 4} {
|
|
20
19
|
margin: #{$i * 4}px;
|
|
21
20
|
}
|
|
22
|
-
|
|
23
21
|
.pt#{$prefix}-#{$i * 4} {
|
|
24
22
|
padding: #{$i * 4}px;
|
|
25
23
|
}
|
|
@@ -35,53 +33,12 @@
|
|
|
35
33
|
.pr#{$prefix}-#{$i * 4} {
|
|
36
34
|
padding-right: #{$i * 4}px;
|
|
37
35
|
}
|
|
38
|
-
|
|
39
36
|
.p#{$prefix}-#{$i * 4} {
|
|
40
37
|
padding: #{$i * 4}px;
|
|
41
38
|
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
@for $i from 0 through 24 {
|
|
45
|
-
@include below($mobile) {
|
|
46
|
-
.m-mt#{$prefix}-#{$i * 4} {
|
|
47
|
-
margin-top: #{$i * 4}px;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.m-mb#{$prefix}-#{$i * 4} {
|
|
51
|
-
margin-bottom: #{$i * 4}px;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.m-ml#{$prefix}-#{$i * 4} {
|
|
55
|
-
margin-left: #{$i * 4}px;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.m-mr#{$prefix}-#{$i * 4} {
|
|
59
|
-
margin-right: #{$i * 4}px;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.m-m#{$prefix}-#{$i * 4} {
|
|
63
|
-
margin: #{$i * 4}px;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.m-pt#{$prefix}-#{$i * 4} {
|
|
67
|
-
padding: #{$i * 4}px;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.m-pb#{$prefix}-#{$i * 4} {
|
|
71
|
-
padding-bottom: #{$i * 4}px;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.m-pl#{$prefix}-#{$i * 4} {
|
|
75
|
-
padding-left: #{$i * 4}px;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.m-pr#{$prefix}-#{$i * 4} {
|
|
79
|
-
padding-right: #{$i * 4}px;
|
|
80
|
-
}
|
|
81
39
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
}
|
|
40
|
+
.gap#{$prefix}-#{$i * 4} {
|
|
41
|
+
gap: #{$i * 4}px;
|
|
85
42
|
}
|
|
86
43
|
}
|
|
87
44
|
}
|
package/assets/scss/reset.scss
CHANGED
|
@@ -1,21 +1,84 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
1
|
+
html,
|
|
2
|
+
body,
|
|
3
|
+
div,
|
|
4
|
+
span,
|
|
5
|
+
applet,
|
|
6
|
+
object,
|
|
7
|
+
iframe,
|
|
8
|
+
h1,
|
|
9
|
+
h2,
|
|
10
|
+
h3,
|
|
11
|
+
h4,
|
|
12
|
+
h5,
|
|
13
|
+
h6,
|
|
14
|
+
p,
|
|
15
|
+
blockquote,
|
|
16
|
+
pre,
|
|
17
|
+
a,
|
|
18
|
+
abbr,
|
|
19
|
+
acronym,
|
|
20
|
+
address,
|
|
21
|
+
big,
|
|
22
|
+
cite,
|
|
23
|
+
code,
|
|
24
|
+
del,
|
|
25
|
+
dfn,
|
|
26
|
+
em,
|
|
27
|
+
img,
|
|
28
|
+
ins,
|
|
29
|
+
kbd,
|
|
30
|
+
q,
|
|
31
|
+
s,
|
|
32
|
+
samp,
|
|
33
|
+
small,
|
|
34
|
+
strike,
|
|
35
|
+
strong,
|
|
36
|
+
sub,
|
|
37
|
+
sup,
|
|
38
|
+
tt,
|
|
39
|
+
var,
|
|
40
|
+
b,
|
|
41
|
+
u,
|
|
42
|
+
i,
|
|
43
|
+
center,
|
|
44
|
+
dl,
|
|
45
|
+
dt,
|
|
46
|
+
dd,
|
|
47
|
+
ol,
|
|
48
|
+
ul,
|
|
49
|
+
li,
|
|
50
|
+
fieldset,
|
|
51
|
+
form,
|
|
52
|
+
label,
|
|
53
|
+
legend,
|
|
54
|
+
table,
|
|
55
|
+
caption,
|
|
56
|
+
tbody,
|
|
57
|
+
tfoot,
|
|
58
|
+
thead,
|
|
59
|
+
tr,
|
|
60
|
+
th,
|
|
61
|
+
td,
|
|
62
|
+
article,
|
|
63
|
+
aside,
|
|
64
|
+
canvas,
|
|
65
|
+
details,
|
|
66
|
+
embed,
|
|
67
|
+
figure,
|
|
68
|
+
figcaption,
|
|
69
|
+
footer,
|
|
70
|
+
header,
|
|
71
|
+
hgroup,
|
|
72
|
+
menu,
|
|
73
|
+
nav,
|
|
74
|
+
output,
|
|
75
|
+
ruby,
|
|
76
|
+
section,
|
|
77
|
+
summary,
|
|
78
|
+
time,
|
|
79
|
+
mark,
|
|
80
|
+
audio,
|
|
81
|
+
video {
|
|
19
82
|
margin: 0;
|
|
20
83
|
padding: 0;
|
|
21
84
|
border: 0;
|
|
@@ -24,14 +87,18 @@ time, mark, audio, video {
|
|
|
24
87
|
vertical-align: baseline;
|
|
25
88
|
}
|
|
26
89
|
|
|
27
|
-
/* make sure to set some focus styles for accessibility */
|
|
28
|
-
:focus {
|
|
29
|
-
outline: 0;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
90
|
/* HTML5 display-role reset for older browsers */
|
|
33
|
-
article,
|
|
34
|
-
|
|
91
|
+
article,
|
|
92
|
+
aside,
|
|
93
|
+
details,
|
|
94
|
+
figcaption,
|
|
95
|
+
figure,
|
|
96
|
+
footer,
|
|
97
|
+
header,
|
|
98
|
+
hgroup,
|
|
99
|
+
menu,
|
|
100
|
+
nav,
|
|
101
|
+
section {
|
|
35
102
|
display: block;
|
|
36
103
|
}
|
|
37
104
|
|
|
@@ -39,16 +106,20 @@ body {
|
|
|
39
106
|
line-height: 1;
|
|
40
107
|
}
|
|
41
108
|
|
|
42
|
-
ol,
|
|
109
|
+
ol,
|
|
110
|
+
ul {
|
|
43
111
|
list-style: none;
|
|
44
112
|
}
|
|
45
113
|
|
|
46
|
-
blockquote,
|
|
114
|
+
blockquote,
|
|
115
|
+
q {
|
|
47
116
|
quotes: none;
|
|
48
117
|
}
|
|
49
118
|
|
|
50
|
-
blockquote:before,
|
|
51
|
-
|
|
119
|
+
blockquote:before,
|
|
120
|
+
blockquote:after,
|
|
121
|
+
q:before,
|
|
122
|
+
q:after {
|
|
52
123
|
content: '';
|
|
53
124
|
content: none;
|
|
54
125
|
}
|
|
@@ -58,309 +129,13 @@ table {
|
|
|
58
129
|
border-spacing: 0;
|
|
59
130
|
}
|
|
60
131
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
input[type=search]::-webkit-search-results-decoration {
|
|
65
|
-
-webkit-appearance: none;
|
|
66
|
-
-moz-appearance: none;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
input[type=search] {
|
|
70
|
-
-webkit-appearance: none;
|
|
71
|
-
-moz-appearance: none;
|
|
72
|
-
-webkit-box-sizing: content-box;
|
|
73
|
-
-moz-box-sizing: content-box;
|
|
74
|
-
box-sizing: content-box;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
textarea {
|
|
78
|
-
overflow: auto;
|
|
79
|
-
vertical-align: top;
|
|
80
|
-
resize: vertical;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
/**
|
|
84
|
-
* Correct `inline-block` display not defined in IE 6/7/8/9 and Firefox 3.
|
|
85
|
-
*/
|
|
86
|
-
|
|
87
|
-
audio,
|
|
88
|
-
canvas,
|
|
89
|
-
video {
|
|
90
|
-
display: inline-block;
|
|
91
|
-
*display: inline;
|
|
92
|
-
*zoom: 1;
|
|
93
|
-
max-width: 100%;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
/**
|
|
97
|
-
* Prevent modern browsers from displaying `audio` without controls.
|
|
98
|
-
* Remove excess height in iOS 5 devices.
|
|
99
|
-
*/
|
|
100
|
-
|
|
101
|
-
audio:not([controls]) {
|
|
102
|
-
display: none;
|
|
103
|
-
height: 0;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
/**
|
|
107
|
-
* Address styling not present in IE 7/8/9, Firefox 3, and Safari 4.
|
|
108
|
-
* Known issue: no IE 6 support.
|
|
109
|
-
*/
|
|
110
|
-
|
|
111
|
-
[hidden] {
|
|
112
|
-
display: none;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
/**
|
|
116
|
-
* 1. Correct text resizing oddly in IE 6/7 when body `font-size` is set using
|
|
117
|
-
* `em` units.
|
|
118
|
-
* 2. Prevent iOS text size adjust after orientation change, without disabling
|
|
119
|
-
* user zoom.
|
|
120
|
-
*/
|
|
121
|
-
|
|
122
|
-
html {
|
|
123
|
-
font-size: 100%; /* 1 */
|
|
124
|
-
-webkit-text-size-adjust: 100%; /* 2 */
|
|
125
|
-
-ms-text-size-adjust: 100%; /* 2 */
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
/**
|
|
129
|
-
* Address `outline` inconsistency between Chrome and other browsers.
|
|
130
|
-
*/
|
|
131
|
-
|
|
132
|
-
a:focus {
|
|
133
|
-
outline: thin dotted;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
/**
|
|
137
|
-
* Improve readability when focused and also mouse hovered in all browsers.
|
|
138
|
-
*/
|
|
139
|
-
|
|
140
|
-
a:active,
|
|
141
|
-
a:hover {
|
|
142
|
-
outline: 0;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
/**
|
|
146
|
-
* 1. Remove border when inside `a` element in IE 6/7/8/9 and Firefox 3.
|
|
147
|
-
* 2. Improve image quality when scaled in IE 7.
|
|
148
|
-
*/
|
|
149
|
-
|
|
150
|
-
img {
|
|
151
|
-
border: 0; /* 1 */
|
|
152
|
-
-ms-interpolation-mode: bicubic; /* 2 */
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
/**
|
|
156
|
-
* Address margin not present in IE 6/7/8/9, Safari 5, and Opera 11.
|
|
157
|
-
*/
|
|
158
|
-
|
|
159
|
-
figure {
|
|
160
|
-
margin: 0;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
/**
|
|
164
|
-
* Correct margin displayed oddly in IE 6/7.
|
|
165
|
-
*/
|
|
166
|
-
|
|
167
|
-
form {
|
|
168
|
-
margin: 0;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
/**
|
|
172
|
-
* Define consistent border, margin, and padding.
|
|
173
|
-
*/
|
|
174
|
-
|
|
175
|
-
fieldset {
|
|
176
|
-
border: 1px solid #c0c0c0;
|
|
177
|
-
margin: 0 2px;
|
|
178
|
-
padding: 0.35em 0.625em 0.75em;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
/**
|
|
182
|
-
* 1. Correct color not being inherited in IE 6/7/8/9.
|
|
183
|
-
* 2. Correct text not wrapping in Firefox 3.
|
|
184
|
-
* 3. Correct alignment displayed oddly in IE 6/7.
|
|
185
|
-
*/
|
|
186
|
-
|
|
187
|
-
legend {
|
|
188
|
-
border: 0; /* 1 */
|
|
189
|
-
padding: 0;
|
|
190
|
-
white-space: normal; /* 2 */
|
|
191
|
-
*margin-left: -7px; /* 3 */
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
/**
|
|
195
|
-
* 1. Correct font size not being inherited in all browsers.
|
|
196
|
-
* 2. Address margins set differently in IE 6/7, Firefox 3+, Safari 5,
|
|
197
|
-
* and Chrome.
|
|
198
|
-
* 3. Improve appearance and consistency in all browsers.
|
|
199
|
-
*/
|
|
200
|
-
|
|
201
|
-
button,
|
|
202
|
-
input,
|
|
203
|
-
select,
|
|
204
|
-
textarea {
|
|
205
|
-
font-size: 100%; /* 1 */
|
|
206
|
-
margin: 0; /* 2 */
|
|
207
|
-
vertical-align: baseline; /* 3 */
|
|
208
|
-
*vertical-align: middle; /* 3 */
|
|
132
|
+
a {
|
|
133
|
+
text-decoration: none;
|
|
134
|
+
color: inherit;
|
|
209
135
|
}
|
|
210
136
|
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
* the UA stylesheet.
|
|
214
|
-
*/
|
|
215
|
-
|
|
216
|
-
button,
|
|
137
|
+
span,
|
|
138
|
+
div,
|
|
217
139
|
input {
|
|
218
|
-
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
/**
|
|
222
|
-
* Address inconsistent `text-transform` inheritance for `button` and `select`.
|
|
223
|
-
* All other form control elements do not inherit `text-transform` values.
|
|
224
|
-
* Correct `button` style inheritance in Chrome, Safari 5+, and IE 6+.
|
|
225
|
-
* Correct `select` style inheritance in Firefox 4+ and Opera.
|
|
226
|
-
*/
|
|
227
|
-
|
|
228
|
-
button,
|
|
229
|
-
select {
|
|
230
|
-
text-transform: none;
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
/**
|
|
234
|
-
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
|
|
235
|
-
* and `video` controls.
|
|
236
|
-
* 2. Correct inability to style clickable `input` types in iOS.
|
|
237
|
-
* 3. Improve usability and consistency of cursor style between image-type
|
|
238
|
-
* `input` and others.
|
|
239
|
-
* 4. Remove inner spacing in IE 7 without affecting normal text inputs.
|
|
240
|
-
* Known issue: inner spacing remains in IE 6.
|
|
241
|
-
*/
|
|
242
|
-
|
|
243
|
-
button,
|
|
244
|
-
html input[type="button"], /* 1 */
|
|
245
|
-
input[type="reset"],
|
|
246
|
-
input[type="submit"] {
|
|
247
|
-
-webkit-appearance: button; /* 2 */
|
|
248
|
-
cursor: pointer; /* 3 */
|
|
249
|
-
*overflow: visible; /* 4 */
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
/**
|
|
253
|
-
* Re-set default cursor for disabled elements.
|
|
254
|
-
*/
|
|
255
|
-
|
|
256
|
-
button[disabled],
|
|
257
|
-
html input[disabled] {
|
|
258
|
-
cursor: default;
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
/**
|
|
262
|
-
* 1. Address box sizing set to content-box in IE 8/9.
|
|
263
|
-
* 2. Remove excess padding in IE 8/9.
|
|
264
|
-
* 3. Remove excess padding in IE 7.
|
|
265
|
-
* Known issue: excess padding remains in IE 6.
|
|
266
|
-
*/
|
|
267
|
-
|
|
268
|
-
input[type="checkbox"],
|
|
269
|
-
input[type="radio"] {
|
|
270
|
-
box-sizing: border-box; /* 1 */
|
|
271
|
-
padding: 0; /* 2 */
|
|
272
|
-
*height: 13px; /* 3 */
|
|
273
|
-
*width: 13px; /* 3 */
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
/**
|
|
277
|
-
* 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
|
|
278
|
-
* 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
|
|
279
|
-
* (include `-moz` to future-proof).
|
|
280
|
-
*/
|
|
281
|
-
|
|
282
|
-
input[type="search"] {
|
|
283
|
-
-webkit-appearance: textfield; /* 1 */
|
|
284
|
-
-moz-box-sizing: content-box;
|
|
285
|
-
-webkit-box-sizing: content-box; /* 2 */
|
|
286
|
-
box-sizing: content-box;
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
/**
|
|
290
|
-
* Remove inner padding and search cancel button in Safari 5 and Chrome
|
|
291
|
-
* on OS X.
|
|
292
|
-
*/
|
|
293
|
-
|
|
294
|
-
input[type="search"]::-webkit-search-cancel-button,
|
|
295
|
-
input[type="search"]::-webkit-search-decoration {
|
|
296
|
-
-webkit-appearance: none;
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
/**
|
|
300
|
-
* Remove inner padding and border in Firefox 3+.
|
|
301
|
-
*/
|
|
302
|
-
|
|
303
|
-
button::-moz-focus-inner,
|
|
304
|
-
input::-moz-focus-inner {
|
|
305
|
-
border: 0;
|
|
306
|
-
padding: 0;
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
/**
|
|
310
|
-
* 1. Remove default vertical scrollbar in IE 6/7/8/9.
|
|
311
|
-
* 2. Improve readability and alignment in all browsers.
|
|
312
|
-
*/
|
|
313
|
-
|
|
314
|
-
textarea {
|
|
315
|
-
overflow: auto; /* 1 */
|
|
316
|
-
vertical-align: top; /* 2 */
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
/**
|
|
320
|
-
* Remove most spacing between table cells.
|
|
321
|
-
*/
|
|
322
|
-
|
|
323
|
-
table {
|
|
324
|
-
border-collapse: collapse;
|
|
325
|
-
border-spacing: 0;
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
html,
|
|
329
|
-
button,
|
|
330
|
-
input,
|
|
331
|
-
select,
|
|
332
|
-
textarea {
|
|
333
|
-
color: #222;
|
|
334
|
-
}
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
::-moz-selection {
|
|
338
|
-
background: #b3d4fc;
|
|
339
|
-
text-shadow: none;
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
::selection {
|
|
343
|
-
background: #b3d4fc;
|
|
344
|
-
text-shadow: none;
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
img {
|
|
348
|
-
vertical-align: middle;
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
fieldset {
|
|
352
|
-
border: 0;
|
|
353
|
-
margin: 0;
|
|
354
|
-
padding: 0;
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
textarea {
|
|
358
|
-
resize: vertical;
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
.chromeframe {
|
|
362
|
-
margin: 0.2em 0;
|
|
363
|
-
background: #ccc;
|
|
364
|
-
color: #000;
|
|
365
|
-
padding: 0.2em 0;
|
|
140
|
+
box-sizing: border-box;
|
|
366
141
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
1
|
+
import { AbstractControl, ValidationErrors, Validators } from '@angular/forms';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class ValidatorsService {
|
|
@@ -10,7 +10,7 @@ export declare class ValidatorsService {
|
|
|
10
10
|
static wrongLoginOrPswd(): ValidationErrors;
|
|
11
11
|
static existLogin(): ValidationErrors;
|
|
12
12
|
/** валидатор имени*/
|
|
13
|
-
static getNameValid():
|
|
13
|
+
static getNameValid(): (typeof Validators.required)[];
|
|
14
14
|
/** валидатор email*/
|
|
15
15
|
static getMailValid(el?: AbstractControl): Observable<ValidationErrors | null>;
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<ValidatorsService, never>;
|
|
Binary file
|
|
Binary file
|