@zohodesk/components 1.0.0-temp-156 → 1.0.0-temp-158
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/README.md +4 -0
- package/es/AppContainer/AppContainer.module.css +2 -2
- package/es/Avatar/Avatar.module.css +18 -18
- package/es/AvatarTeam/AvatarTeam.module.css +35 -35
- package/es/Button/css/Button.module.css +70 -70
- package/es/Buttongroup/Buttongroup.module.css +15 -14
- package/es/CheckBox/CheckBox.module.css +15 -15
- package/es/DateTime/DateTime.js +9 -5
- package/es/DateTime/DateTime.module.css +39 -39
- package/es/DateTime/DateWidget.module.css +5 -5
- package/es/DateTime/YearView.module.css +15 -15
- package/es/DateTime/props/defaultProps.js +2 -1
- package/es/DropBox/DropBoxElement/css/DropBoxElement.module.css +76 -76
- package/es/DropBox/css/DropBox.module.css +6 -6
- package/es/DropDown/DropDown.module.css +2 -2
- package/es/DropDown/DropDownHeading.module.css +6 -6
- package/es/DropDown/DropDownItem.module.css +12 -12
- package/es/DropDown/DropDownSearch.module.css +3 -3
- package/es/DropDown/DropDownSeparator.module.css +2 -2
- package/es/Heading/Heading.module.css +2 -2
- package/es/Label/Label.module.css +5 -5
- package/es/Layout/Layout.module.css +15 -15
- package/es/ListItem/ListItem.module.css +38 -38
- package/es/MultiSelect/MultiSelect.module.css +31 -31
- package/es/MultiSelect/SelectedOptions.module.css +5 -5
- package/es/Radio/Radio.module.css +9 -9
- package/es/ResponsiveDropBox/ResponsiveDropBox.module.css +2 -2
- package/es/Ribbon/Ribbon.module.css +48 -46
- package/es/Select/Select.module.css +23 -23
- package/es/Stencils/Stencils.module.css +11 -11
- package/es/Switch/Switch.module.css +23 -23
- package/es/Tab/Tab.module.css +14 -14
- package/es/Tab/Tabs.module.css +22 -22
- package/es/Tag/Tag.module.css +25 -25
- package/es/TextBox/TextBox.module.css +9 -9
- package/es/TextBoxIcon/TextBoxIcon.module.css +7 -7
- package/es/Textarea/Textarea.module.css +21 -21
- package/es/Tooltip/Tooltip.module.css +5 -5
- package/es/common/animation.module.css +8 -8
- package/es/common/avatarsizes.module.css +16 -16
- package/es/common/basicReset.module.css +3 -3
- package/es/common/common.module.css +24 -24
- package/es/common/customscroll.module.css +2 -2
- package/es/deprecated/AdvancedMultiSelect.module.css +18 -18
- package/es/semantic/Button/semanticButton.module.css +1 -1
- package/es/utils/datetime/GMTZones.js +48 -0
- package/es/utils/datetime/common.js +15 -2
- package/lib/AppContainer/AppContainer.module.css +2 -2
- package/lib/Avatar/Avatar.module.css +18 -18
- package/lib/AvatarTeam/AvatarTeam.module.css +35 -35
- package/lib/Button/css/Button.module.css +70 -70
- package/lib/Buttongroup/Buttongroup.module.css +15 -14
- package/lib/CheckBox/CheckBox.module.css +15 -15
- package/lib/DateTime/DateTime.js +9 -5
- package/lib/DateTime/DateTime.module.css +39 -39
- package/lib/DateTime/DateWidget.module.css +5 -5
- package/lib/DateTime/YearView.module.css +15 -15
- package/lib/DateTime/props/defaultProps.js +2 -1
- package/lib/DropBox/DropBoxElement/css/DropBoxElement.module.css +76 -76
- package/lib/DropBox/css/DropBox.module.css +6 -6
- package/lib/DropDown/DropDown.module.css +2 -2
- package/lib/DropDown/DropDownHeading.module.css +6 -6
- package/lib/DropDown/DropDownItem.module.css +12 -12
- package/lib/DropDown/DropDownSearch.module.css +3 -3
- package/lib/DropDown/DropDownSeparator.module.css +2 -2
- package/lib/Heading/Heading.module.css +2 -2
- package/lib/Label/Label.module.css +5 -5
- package/lib/Layout/Layout.module.css +15 -15
- package/lib/ListItem/ListItem.module.css +38 -38
- package/lib/MultiSelect/MultiSelect.module.css +31 -31
- package/lib/MultiSelect/SelectedOptions.module.css +5 -5
- package/lib/Radio/Radio.module.css +9 -9
- package/lib/ResponsiveDropBox/ResponsiveDropBox.module.css +2 -2
- package/lib/Ribbon/Ribbon.module.css +48 -46
- package/lib/Select/Select.module.css +23 -23
- package/lib/Stencils/Stencils.module.css +11 -11
- package/lib/Switch/Switch.module.css +23 -23
- package/lib/Tab/Tab.module.css +14 -14
- package/lib/Tab/Tabs.module.css +22 -22
- package/lib/Tag/Tag.module.css +25 -25
- package/lib/TextBox/TextBox.module.css +9 -9
- package/lib/TextBoxIcon/TextBoxIcon.module.css +7 -7
- package/lib/Textarea/Textarea.module.css +21 -21
- package/lib/Tooltip/Tooltip.module.css +5 -5
- package/lib/common/animation.module.css +8 -8
- package/lib/common/avatarsizes.module.css +16 -16
- package/lib/common/basicReset.module.css +3 -3
- package/lib/common/common.module.css +24 -24
- package/lib/common/customscroll.module.css +2 -2
- package/lib/deprecated/AdvancedMultiSelect.module.css +18 -18
- package/lib/semantic/Button/semanticButton.module.css +1 -1
- package/lib/utils/datetime/GMTZones.js +55 -0
- package/lib/utils/datetime/common.js +20 -2
- package/package.json +1 -1
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
--textarea_border_color: none;
|
|
5
5
|
--textarea_cursor: auto;
|
|
6
6
|
--textarea_text_color: var(--zdt_textarea_default_text);
|
|
7
|
-
--textarea_font_size:
|
|
7
|
+
--textarea_font_size: 14px;
|
|
8
8
|
--textarea_line_height: 22px;
|
|
9
|
-
--textarea_padding:
|
|
10
|
-
--textarea_height:
|
|
9
|
+
--textarea_padding: 2px 0;
|
|
10
|
+
--textarea_height: 30px;
|
|
11
11
|
|
|
12
12
|
/* textarea placeholder default variable */
|
|
13
13
|
--textarea_placeholder_text_color: var(--zdt_textarea_placeholder_text);
|
|
@@ -62,9 +62,9 @@
|
|
|
62
62
|
height var(--zd_transition2) linear 0s;
|
|
63
63
|
-moz-transition: border var(--zd_transition2) linear 0s,
|
|
64
64
|
height var(--zd_transition2) linear 0s;
|
|
65
|
-
width: 100
|
|
66
|
-
max-width: 100
|
|
67
|
-
min-width:
|
|
65
|
+
width: 100%;
|
|
66
|
+
max-width: 100%;
|
|
67
|
+
min-width: 100px;
|
|
68
68
|
font-size: var(--textarea_font_size);
|
|
69
69
|
line-height: var(--textarea_line_height);
|
|
70
70
|
height: var(--textarea_height);
|
|
@@ -95,39 +95,39 @@
|
|
|
95
95
|
vertical-align: middle;
|
|
96
96
|
}
|
|
97
97
|
.xsmall {
|
|
98
|
-
--textarea_font_size:
|
|
99
|
-
--textarea_padding:
|
|
100
|
-
--textarea_height:
|
|
98
|
+
--textarea_font_size: 14px;
|
|
99
|
+
--textarea_padding: 4px 0 2px;
|
|
100
|
+
--textarea_height: 28px;
|
|
101
101
|
--textarea_line_height: 19px;
|
|
102
102
|
}
|
|
103
103
|
.xmedium {
|
|
104
|
-
--textarea_font_size:
|
|
105
|
-
--textarea_padding:
|
|
106
|
-
--textarea_height:
|
|
104
|
+
--textarea_font_size: 13px;
|
|
105
|
+
--textarea_padding: 4px 0 2px;
|
|
106
|
+
--textarea_height: 25px;
|
|
107
107
|
--textarea_line_height: 17px;
|
|
108
108
|
}
|
|
109
109
|
.small {
|
|
110
|
-
--textarea_height:
|
|
111
|
-
--textarea_padding:
|
|
110
|
+
--textarea_height: 30px;
|
|
111
|
+
--textarea_padding: 2px 0;
|
|
112
112
|
}
|
|
113
113
|
.smallanimated:focus,
|
|
114
114
|
.xsmallanimated:focus,
|
|
115
115
|
.xmediumanimated:focus {
|
|
116
|
-
--textarea_height:
|
|
116
|
+
--textarea_height: 70px;
|
|
117
117
|
}
|
|
118
118
|
.medium {
|
|
119
|
-
--textarea_height:
|
|
120
|
-
--textarea_padding:
|
|
119
|
+
--textarea_height: 88px;
|
|
120
|
+
--textarea_padding: 2px;
|
|
121
121
|
}
|
|
122
122
|
.large {
|
|
123
|
-
--textarea_height:
|
|
124
|
-
--textarea_padding:
|
|
123
|
+
--textarea_height: 45px;
|
|
124
|
+
--textarea_padding: 2px;
|
|
125
125
|
}
|
|
126
126
|
.largeanimated:focus {
|
|
127
|
-
--textarea_height:
|
|
127
|
+
--textarea_height: 220px;
|
|
128
128
|
}
|
|
129
129
|
.xlarge {
|
|
130
|
-
--textarea_height:
|
|
130
|
+
--textarea_height: 184px;
|
|
131
131
|
}
|
|
132
132
|
.default {
|
|
133
133
|
font-family: var(--zd_regular);
|
|
@@ -13,15 +13,15 @@
|
|
|
13
13
|
|
|
14
14
|
.tooltipcont {
|
|
15
15
|
color: var(--zdt_tooltip_default_text);
|
|
16
|
-
font-size:
|
|
16
|
+
font-size: 13px;
|
|
17
17
|
font-family: var(--zd_semibold);
|
|
18
18
|
word-break: break-word;
|
|
19
|
-
max-width:
|
|
19
|
+
max-width: 420px;
|
|
20
20
|
line-height: var(--zd_size20);
|
|
21
|
-
min-height:
|
|
21
|
+
min-height: 24px;
|
|
22
22
|
overflow: hidden;
|
|
23
23
|
background-color: var(--zdt_tooltip_default_bg);
|
|
24
|
-
padding: 0
|
|
24
|
+
padding: 0 10px;
|
|
25
25
|
border-style: solid;
|
|
26
26
|
border-color: transparent;
|
|
27
27
|
border-radius: var(--zd_size4);
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
.tooltiparrow {
|
|
38
38
|
content: '';
|
|
39
39
|
position: absolute;
|
|
40
|
-
top: 0
|
|
40
|
+
top: 0;
|
|
41
41
|
border-top-left-radius: 3px;
|
|
42
42
|
}
|
|
43
43
|
|
|
@@ -266,7 +266,7 @@
|
|
|
266
266
|
}
|
|
267
267
|
|
|
268
268
|
.slideUp {
|
|
269
|
-
max-height: 0
|
|
269
|
+
max-height: 0;
|
|
270
270
|
}
|
|
271
271
|
|
|
272
272
|
[dir=ltr] .slideUp {
|
|
@@ -284,22 +284,22 @@
|
|
|
284
284
|
}
|
|
285
285
|
@keyframes slideUp {
|
|
286
286
|
100% {
|
|
287
|
-
max-height: 100vh
|
|
287
|
+
max-height: 100vh;
|
|
288
288
|
}
|
|
289
289
|
}
|
|
290
290
|
@-webkit-keyframes slideUp {
|
|
291
291
|
100% {
|
|
292
|
-
max-height: 100vh
|
|
292
|
+
max-height: 100vh;
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
295
|
@-moz-keyframes slideUp {
|
|
296
296
|
100% {
|
|
297
|
-
max-height: 100vh
|
|
297
|
+
max-height: 100vh;
|
|
298
298
|
}
|
|
299
299
|
}
|
|
300
300
|
|
|
301
301
|
.slideDown {
|
|
302
|
-
max-height: 100vh
|
|
302
|
+
max-height: 100vh;
|
|
303
303
|
}
|
|
304
304
|
|
|
305
305
|
[dir=ltr] .slideDown {
|
|
@@ -317,17 +317,17 @@
|
|
|
317
317
|
}
|
|
318
318
|
@keyframes slideDown {
|
|
319
319
|
100% {
|
|
320
|
-
max-height: 0
|
|
320
|
+
max-height: 0;
|
|
321
321
|
}
|
|
322
322
|
}
|
|
323
323
|
@-webkit-keyframes slideDown {
|
|
324
324
|
100% {
|
|
325
|
-
max-height: 0
|
|
325
|
+
max-height: 0;
|
|
326
326
|
}
|
|
327
327
|
}
|
|
328
328
|
@-moz-keyframes slideDown {
|
|
329
329
|
100% {
|
|
330
|
-
max-height: 0
|
|
330
|
+
max-height: 0;
|
|
331
331
|
}
|
|
332
332
|
}
|
|
333
333
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*Avatar common Sizes*/
|
|
2
2
|
.varClass {
|
|
3
3
|
/* avatar size default variables */
|
|
4
|
-
--avatar_width:
|
|
5
|
-
--avatar_height:
|
|
4
|
+
--avatar_width: 34px;
|
|
5
|
+
--avatar_height: 34px;
|
|
6
6
|
}
|
|
7
7
|
.small,
|
|
8
8
|
.xsmall,
|
|
@@ -16,34 +16,34 @@
|
|
|
16
16
|
height: var(--avatar_height);
|
|
17
17
|
}
|
|
18
18
|
.small {
|
|
19
|
-
--avatar_height:
|
|
20
|
-
--avatar_width:
|
|
19
|
+
--avatar_height: 22px;
|
|
20
|
+
--avatar_width: 22px;
|
|
21
21
|
}
|
|
22
22
|
.xxsmall {
|
|
23
|
-
--avatar_height:
|
|
24
|
-
--avatar_width:
|
|
23
|
+
--avatar_height: 18px;
|
|
24
|
+
--avatar_width: 18px;
|
|
25
25
|
}
|
|
26
26
|
.xsmall {
|
|
27
|
-
--avatar_height:
|
|
28
|
-
--avatar_width:
|
|
27
|
+
--avatar_height: 30px;
|
|
28
|
+
--avatar_width: 30px;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
.medium {
|
|
32
|
-
--avatar_height:
|
|
33
|
-
--avatar_width:
|
|
32
|
+
--avatar_height: 34px;
|
|
33
|
+
--avatar_width: 34px;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
.xmedium {
|
|
37
|
-
--avatar_height:
|
|
38
|
-
--avatar_width:
|
|
37
|
+
--avatar_height: 40px;
|
|
38
|
+
--avatar_width: 40px;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
.large {
|
|
42
|
-
--avatar_height:
|
|
43
|
-
--avatar_width:
|
|
42
|
+
--avatar_height: 60px;
|
|
43
|
+
--avatar_width: 60px;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
.xlarge {
|
|
47
|
-
--avatar_height:
|
|
48
|
-
--avatar_width:
|
|
47
|
+
--avatar_height: 80px;
|
|
48
|
+
--avatar_width: 80px;
|
|
49
49
|
}
|
|
@@ -3,11 +3,11 @@ a {
|
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
button {
|
|
6
|
-
padding: 0
|
|
6
|
+
padding: 0;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
p, h1, h2, h3, h4, h5, h6 {
|
|
10
|
-
margin: 0
|
|
10
|
+
margin: 0;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
iframe {
|
|
@@ -16,7 +16,7 @@ iframe {
|
|
|
16
16
|
|
|
17
17
|
body {
|
|
18
18
|
text-rendering: optimizeSpeed;
|
|
19
|
-
margin: 0
|
|
19
|
+
margin: 0;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
body,
|
|
@@ -52,8 +52,8 @@
|
|
|
52
52
|
.cboth::after {
|
|
53
53
|
content: '.';
|
|
54
54
|
display: block;
|
|
55
|
-
font-size: 0
|
|
56
|
-
height: 0
|
|
55
|
+
font-size: 0;
|
|
56
|
+
height: 0;
|
|
57
57
|
line-height: 0;
|
|
58
58
|
visibility: hidden;
|
|
59
59
|
clear: both;
|
|
@@ -81,21 +81,21 @@
|
|
|
81
81
|
.disabled::after,
|
|
82
82
|
.readonly::after {
|
|
83
83
|
position: absolute;
|
|
84
|
-
top: 0
|
|
85
|
-
bottom: 0
|
|
84
|
+
top: 0;
|
|
85
|
+
bottom: 0;
|
|
86
86
|
z-index: 2;
|
|
87
87
|
content: '';
|
|
88
88
|
user-select: none;
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
[dir=ltr] .disable::after, [dir=ltr] .disabled::after, [dir=ltr] .readonly::after {
|
|
92
|
-
left: 0
|
|
93
|
-
right: 0
|
|
92
|
+
left: 0;
|
|
93
|
+
right: 0;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
[dir=rtl] .disable::after, [dir=rtl] .disabled::after, [dir=rtl] .readonly::after {
|
|
97
|
-
right: 0
|
|
98
|
-
left: 0
|
|
97
|
+
right: 0;
|
|
98
|
+
left: 0;
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
.disabled, .readonly {
|
|
@@ -201,8 +201,8 @@
|
|
|
201
201
|
-webkit-box-flex: 1;
|
|
202
202
|
-ms-flex-positive: 1;
|
|
203
203
|
flex-grow: 1;
|
|
204
|
-
min-height: 0
|
|
205
|
-
min-width: 0
|
|
204
|
+
min-height: 0;
|
|
205
|
+
min-width: 0;
|
|
206
206
|
}
|
|
207
207
|
|
|
208
208
|
.flexshrink {
|
|
@@ -213,7 +213,7 @@
|
|
|
213
213
|
}
|
|
214
214
|
|
|
215
215
|
.flexbasis {
|
|
216
|
-
flex-basis: 0
|
|
216
|
+
flex-basis: 0%;
|
|
217
217
|
-webkit-flex-basis: 0%;
|
|
218
218
|
-moz-flex-basis: 0%;
|
|
219
219
|
-ms-flex-basis: 0%;
|
|
@@ -331,11 +331,11 @@
|
|
|
331
331
|
|
|
332
332
|
/* --Width Props-- */
|
|
333
333
|
.w100 {
|
|
334
|
-
width: 100
|
|
334
|
+
width: 100%;
|
|
335
335
|
}
|
|
336
336
|
|
|
337
337
|
.h100 {
|
|
338
|
-
height: 100
|
|
338
|
+
height: 100%;
|
|
339
339
|
}
|
|
340
340
|
|
|
341
341
|
.rounded {
|
|
@@ -378,15 +378,15 @@
|
|
|
378
378
|
}
|
|
379
379
|
|
|
380
380
|
.t50 {
|
|
381
|
-
top: 50
|
|
381
|
+
top: 50%;
|
|
382
382
|
}
|
|
383
383
|
|
|
384
384
|
[dir=ltr] .l50 {
|
|
385
|
-
left: 50
|
|
385
|
+
left: 50%;
|
|
386
386
|
}
|
|
387
387
|
|
|
388
388
|
[dir=rtl] .l50 {
|
|
389
|
-
right: 50
|
|
389
|
+
right: 50%;
|
|
390
390
|
}
|
|
391
391
|
|
|
392
392
|
[dir=ltr] .middle {
|
|
@@ -405,15 +405,15 @@
|
|
|
405
405
|
|
|
406
406
|
.middleBoth {
|
|
407
407
|
composes: middle;
|
|
408
|
-
top: 50
|
|
408
|
+
top: 50%;
|
|
409
409
|
}
|
|
410
410
|
|
|
411
411
|
[dir=ltr] .middleBoth {
|
|
412
|
-
left: 50
|
|
412
|
+
left: 50%;
|
|
413
413
|
}
|
|
414
414
|
|
|
415
415
|
[dir=rtl] .middleBoth {
|
|
416
|
-
right: 50
|
|
416
|
+
right: 50%;
|
|
417
417
|
}
|
|
418
418
|
|
|
419
419
|
.middleY {
|
|
@@ -466,7 +466,7 @@
|
|
|
466
466
|
content: '';
|
|
467
467
|
vertical-align: middle;
|
|
468
468
|
display: inline-block;
|
|
469
|
-
height: 100
|
|
469
|
+
height: 100%;
|
|
470
470
|
}
|
|
471
471
|
|
|
472
472
|
.wbreak {
|
|
@@ -515,11 +515,11 @@
|
|
|
515
515
|
}
|
|
516
516
|
|
|
517
517
|
.fitContWidth {
|
|
518
|
-
width: fit-content
|
|
519
|
-
width:
|
|
518
|
+
width: fit-content;
|
|
519
|
+
width: -moz-fit-content;
|
|
520
520
|
}
|
|
521
521
|
|
|
522
522
|
.fitContHeight {
|
|
523
|
-
height: fit-content
|
|
524
|
-
height:
|
|
523
|
+
height: fit-content;
|
|
524
|
+
height: -moz-fit-content;
|
|
525
525
|
}
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
.scroll::-webkit-scrollbar-button,
|
|
41
41
|
.scroll ::-webkit-scrollbar-button {
|
|
42
42
|
display: none;
|
|
43
|
-
width: 0
|
|
44
|
-
height: 0
|
|
43
|
+
width: 0;
|
|
44
|
+
height: 0;
|
|
45
45
|
}
|
|
46
46
|
[dir=ltr] .scroll::-webkit-scrollbar-track:vertical, [dir=ltr] .scroll ::-webkit-scrollbar-track:vertical {
|
|
47
47
|
border-left: 1px solid transparent;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
cursor: not-allowed;
|
|
6
6
|
}
|
|
7
7
|
.container {
|
|
8
|
-
max-height:
|
|
8
|
+
max-height: 120px;
|
|
9
9
|
composes: oflowy from '../common/common.module.css';
|
|
10
10
|
}
|
|
11
11
|
.hasBorder {
|
|
@@ -41,37 +41,37 @@
|
|
|
41
41
|
border-bottom-color: var(--zdt_advancedmultiselect_dark_active_border);
|
|
42
42
|
}
|
|
43
43
|
[dir=ltr] .container.medium {
|
|
44
|
-
padding: 0
|
|
44
|
+
padding: 0 34px 7px 0;
|
|
45
45
|
}
|
|
46
46
|
[dir=rtl] .container.medium {
|
|
47
|
-
padding: 0 0
|
|
47
|
+
padding: 0 0 7px 34px;
|
|
48
48
|
}
|
|
49
49
|
.container.xmedium {
|
|
50
|
-
min-height:
|
|
50
|
+
min-height: 30px;
|
|
51
51
|
}
|
|
52
52
|
[dir=ltr] .container.xmedium {
|
|
53
|
-
padding: 0
|
|
53
|
+
padding: 0 34px 1px 0;
|
|
54
54
|
}
|
|
55
55
|
[dir=rtl] .container.xmedium {
|
|
56
|
-
padding: 0 0
|
|
56
|
+
padding: 0 0 1px 34px;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
.delete {
|
|
60
60
|
position: absolute;
|
|
61
|
-
bottom: 0
|
|
61
|
+
bottom: 0;
|
|
62
62
|
color: var(--zdt_advancedmultiselect_delete_text);
|
|
63
|
-
padding-bottom:
|
|
63
|
+
padding-bottom: 10px;
|
|
64
64
|
cursor: pointer;
|
|
65
65
|
background-color: var(--zdt_advancedmultiselect_delete_bg);
|
|
66
66
|
border: 0;
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
[dir=ltr] .delete {
|
|
70
|
-
right:
|
|
70
|
+
right: 15px;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
[dir=rtl] .delete {
|
|
74
|
-
left:
|
|
74
|
+
left: 15px;
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
.delete:hover {
|
|
@@ -91,25 +91,25 @@
|
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
.small {
|
|
94
|
-
max-height:
|
|
94
|
+
max-height: 200px;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
.medium {
|
|
98
|
-
max-height:
|
|
98
|
+
max-height: 350px;
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
.large {
|
|
102
|
-
max-height:
|
|
102
|
+
max-height: 400px;
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
.dropContainer {
|
|
106
106
|
display: inline-block;
|
|
107
|
-
max-width: 100
|
|
108
|
-
margin-bottom:
|
|
107
|
+
max-width: 100%;
|
|
108
|
+
margin-bottom: 5px;
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
.dropPopup {
|
|
112
|
-
font-size:
|
|
112
|
+
font-size: 13px;
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
.dropPopup :global .toggleDropIcon {
|
|
@@ -117,11 +117,11 @@
|
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
.more {
|
|
120
|
-
font-size:
|
|
120
|
+
font-size: 14px;
|
|
121
121
|
color: var(--zdt_advancedmultiselect_more_text);
|
|
122
122
|
font-family: inherit;
|
|
123
123
|
cursor: pointer;
|
|
124
|
-
margin-top:
|
|
124
|
+
margin-top: 5px;
|
|
125
125
|
background-color: var(--zdt_advancedmultiselect_delete_bg);
|
|
126
126
|
border: 0;
|
|
127
127
|
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.offsetMap = void 0;
|
|
7
|
+
var offsetMap = {
|
|
8
|
+
0: 'GMT+00:00 Africa/Abidjan',
|
|
9
|
+
44: 'GMT+00:00 Africa/Monrovia',
|
|
10
|
+
60: 'GMT+01:00 Africa/Bangui',
|
|
11
|
+
120: 'GMT+02:00 Africa/Blantyre',
|
|
12
|
+
180: 'GMT+03:00 Africa/Addis_Ababa',
|
|
13
|
+
210: 'GMT+04:30 Asia/Tehran',
|
|
14
|
+
240: 'GMT+03:00 Asia/Bahrain',
|
|
15
|
+
270: 'GMT+04:30 Asia/Kabul',
|
|
16
|
+
300: 'GMT+05:00 Asia/Aqtau',
|
|
17
|
+
'-330': 'GMT+05:30 Asia/Kolkata',
|
|
18
|
+
360: 'GMT+06:00 Asia/Dacca',
|
|
19
|
+
390: 'GMT+06:30 Indian/Cocos',
|
|
20
|
+
420: 'GMT+07:00 Asia/Bangkok',
|
|
21
|
+
450: 'GMT+08:00 Asia/Singapore',
|
|
22
|
+
480: 'GMT+08:00 Asia/Hong_Kong',
|
|
23
|
+
510: 'GMT+08:00 Asia/Harbin',
|
|
24
|
+
525: 'GMT+08:45 Australia/Eucla',
|
|
25
|
+
540: 'GMT+09:00 Asia/Chita',
|
|
26
|
+
570: 'GMT+09:30 Australia/Adelaide',
|
|
27
|
+
600: 'GMT+10:00 Antarctica/DumontDUrville',
|
|
28
|
+
660: 'GMT+11:00 Asia/Magadan',
|
|
29
|
+
690: 'GMT+11:00 Pacific/Norfolk',
|
|
30
|
+
720: 'GMT+12:00 Asia/Kamchatka',
|
|
31
|
+
765: 'GMT+12:45 Pacific/Chatham',
|
|
32
|
+
780: 'GMT+12:00 Asia/Anadyr',
|
|
33
|
+
840: 'GMT+14:00 Etc/GMT-14',
|
|
34
|
+
'-60': 'GMT-01:00 Etc/GMT+1',
|
|
35
|
+
'-660': 'GMT-11:00 US/Samoa',
|
|
36
|
+
'-600': 'GMT-04:00 America/Anguilla',
|
|
37
|
+
'-240': 'GMT-04:00 America/Antigua',
|
|
38
|
+
'-180': 'GMT-03:00 America/Araguaina',
|
|
39
|
+
'-300': 'GMT-05:00 America/Atikokan',
|
|
40
|
+
'-480': 'GMT-05:00 America/Bahia_Banderas',
|
|
41
|
+
'-360': 'GMT-06:00 America/Belize',
|
|
42
|
+
'-420': 'GMT-06:00 America/Boise',
|
|
43
|
+
'-540': 'GMT-07:00 America/Dawson',
|
|
44
|
+
'-135': 'GMT-04:00 America/Guyana',
|
|
45
|
+
'-120': 'GMT-02:00 Etc/GMT+2',
|
|
46
|
+
'-150': 'GMT-03:00 America/Paramaribo',
|
|
47
|
+
'-210': 'GMT-04:00 America/Santo_Domingo',
|
|
48
|
+
'-720': 'GMT+12:00 Pacific/Kwajalein',
|
|
49
|
+
'-560': 'GMT+14:00 Pacific/Kiritimati',
|
|
50
|
+
'-510': 'GMT-09:30 Pacific/Marquesas',
|
|
51
|
+
'-630': 'GMT-11:00 Pacific/Niue',
|
|
52
|
+
'-450': 'GMT-08:00 Pacific/Pitcairn',
|
|
53
|
+
'-570': 'GMT-10:00 Pacific/Rarotonga'
|
|
54
|
+
};
|
|
55
|
+
exports.offsetMap = offsetMap;
|
|
@@ -8,6 +8,7 @@ exports.getDiffObj = getDiffObj;
|
|
|
8
8
|
exports.getI18NInfo = getI18NInfo;
|
|
9
9
|
exports.getI18NValue = getI18NValue;
|
|
10
10
|
exports.getMonthEnd = getMonthEnd;
|
|
11
|
+
exports.getTimeOffset = getTimeOffset;
|
|
11
12
|
exports.getValues = getValues;
|
|
12
13
|
exports.isToday = isToday;
|
|
13
14
|
exports.isTomorrow = isTomorrow;
|
|
@@ -18,6 +19,8 @@ exports.pad = pad;
|
|
|
18
19
|
exports.replaceI18NValuesWithRegex = replaceI18NValuesWithRegex;
|
|
19
20
|
exports.unescapeUnicode = unescapeUnicode;
|
|
20
21
|
|
|
22
|
+
var _GMTZones = require("./GMTZones.js");
|
|
23
|
+
|
|
21
24
|
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
22
25
|
|
|
23
26
|
var dateFormat = {
|
|
@@ -34,8 +37,18 @@ function pad(n) {
|
|
|
34
37
|
return n.length >= width ? n : new Array(width - n.length + 1).join(z) + n;
|
|
35
38
|
}
|
|
36
39
|
|
|
40
|
+
function getTimeOffset() {
|
|
41
|
+
var GMT = new Date();
|
|
42
|
+
var matchingOffset = Object.keys(_GMTZones.offsetMap).find(function (offset) {
|
|
43
|
+
return GMT.getTimezoneOffset() === Number(offset);
|
|
44
|
+
});
|
|
45
|
+
return matchingOffset ? _GMTZones.offsetMap[matchingOffset].toString().split(' ') : ['', ''];
|
|
46
|
+
}
|
|
47
|
+
|
|
37
48
|
function formatDate(dateMill, mask) {
|
|
38
49
|
var date = new Date(dateMill);
|
|
50
|
+
var O = getTimeOffset()[0];
|
|
51
|
+
var Z = getTimeOffset()[1];
|
|
39
52
|
var d = date.getDate();
|
|
40
53
|
var D = date.getDay();
|
|
41
54
|
var m = date.getMonth();
|
|
@@ -46,6 +59,7 @@ function formatDate(dateMill, mask) {
|
|
|
46
59
|
var L = date.getMilliseconds();
|
|
47
60
|
var flags = {
|
|
48
61
|
d: d,
|
|
62
|
+
O: O,
|
|
49
63
|
dd: pad(d, 2),
|
|
50
64
|
ddd: dateFormat.dayNames[D],
|
|
51
65
|
dddd: dateFormat.dayNames[D + 7],
|
|
@@ -73,9 +87,13 @@ function formatDate(dateMill, mask) {
|
|
|
73
87
|
L: pad(Math.round(L / 10)),
|
|
74
88
|
t: H < 12 ? dateFormat.timeNames[0] : dateFormat.timeNames[1],
|
|
75
89
|
A: H < 12 ? dateFormat.timeNames[6] : dateFormat.timeNames[7],
|
|
76
|
-
|
|
90
|
+
a: H < 12 ? dateFormat.timeNames[6] : dateFormat.timeNames[7],
|
|
91
|
+
T: H < 12 ? dateFormat.timeNames[4] : dateFormat.timeNames[5],
|
|
92
|
+
Z: Z,
|
|
93
|
+
VV: Z,
|
|
94
|
+
SSS: pad(L, 3)
|
|
77
95
|
};
|
|
78
|
-
var token = /D{1,4}|d{1,4}|M{1,4}|YYYY|yyyy|YY|yy?|([
|
|
96
|
+
var token = /D{1,4}|d{1,4}|M{1,4}|YYYY|yyyy|YY|O|Z|VV|SSS|yy?|([HhmsAa])\1?|[LloSZWN]|\[[^\]]*\]|'[^']*'/g;
|
|
79
97
|
var dat = mask.replace(token, function (match) {
|
|
80
98
|
if (match in flags) {
|
|
81
99
|
return flags[match];
|