@nuralyui/datepicker 0.0.1 → 0.0.2
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/core/locale.helper.d.ts +143 -143
- package/core/locale.helper.d.ts.map +1 -1
- package/core/locale.helper.js +146 -146
- package/core/locale.helper.js.map +1 -1
- package/date-picker.component.d.ts +0 -3
- package/date-picker.component.d.ts.map +1 -1
- package/date-picker.component.js +0 -3
- package/date-picker.component.js.map +1 -1
- package/date-picker.style.js +1 -1
- package/date-picker.style.js.map +1 -1
- package/package.json +1 -1
package/core/locale.helper.d.ts
CHANGED
|
@@ -1,144 +1,144 @@
|
|
|
1
|
-
import 'dayjs/locale/af
|
|
2
|
-
import 'dayjs/locale/am
|
|
3
|
-
import 'dayjs/locale/ar-dz
|
|
4
|
-
import 'dayjs/locale/ar-iq
|
|
5
|
-
import 'dayjs/locale/ar-kw
|
|
6
|
-
import 'dayjs/locale/ar-ly
|
|
7
|
-
import 'dayjs/locale/ar-ma
|
|
8
|
-
import 'dayjs/locale/ar-sa
|
|
9
|
-
import 'dayjs/locale/ar-tn
|
|
10
|
-
import 'dayjs/locale/ar
|
|
11
|
-
import 'dayjs/locale/az
|
|
12
|
-
import 'dayjs/locale/be
|
|
13
|
-
import 'dayjs/locale/bg
|
|
14
|
-
import 'dayjs/locale/bi
|
|
15
|
-
import 'dayjs/locale/bm
|
|
16
|
-
import 'dayjs/locale/bn-bd
|
|
17
|
-
import 'dayjs/locale/bn
|
|
18
|
-
import 'dayjs/locale/bo
|
|
19
|
-
import 'dayjs/locale/br
|
|
20
|
-
import 'dayjs/locale/bs
|
|
21
|
-
import 'dayjs/locale/ca
|
|
22
|
-
import 'dayjs/locale/cs
|
|
23
|
-
import 'dayjs/locale/cv
|
|
24
|
-
import 'dayjs/locale/cy
|
|
25
|
-
import 'dayjs/locale/da
|
|
26
|
-
import 'dayjs/locale/de-at
|
|
27
|
-
import 'dayjs/locale/de-ch
|
|
28
|
-
import 'dayjs/locale/de
|
|
29
|
-
import 'dayjs/locale/dv
|
|
30
|
-
import 'dayjs/locale/el
|
|
31
|
-
import 'dayjs/locale/en-au
|
|
32
|
-
import 'dayjs/locale/en-ca
|
|
33
|
-
import 'dayjs/locale/en-gb
|
|
34
|
-
import 'dayjs/locale/en-ie
|
|
35
|
-
import 'dayjs/locale/en-il
|
|
36
|
-
import 'dayjs/locale/en-in
|
|
37
|
-
import 'dayjs/locale/en-nz
|
|
38
|
-
import 'dayjs/locale/en-sg
|
|
39
|
-
import 'dayjs/locale/en-tt
|
|
40
|
-
import 'dayjs/locale/en
|
|
41
|
-
import 'dayjs/locale/eo
|
|
42
|
-
import 'dayjs/locale/es-do
|
|
43
|
-
import 'dayjs/locale/es-mx
|
|
44
|
-
import 'dayjs/locale/es-pr
|
|
45
|
-
import 'dayjs/locale/es-us
|
|
46
|
-
import 'dayjs/locale/es
|
|
47
|
-
import 'dayjs/locale/et
|
|
48
|
-
import 'dayjs/locale/eu
|
|
49
|
-
import 'dayjs/locale/fa
|
|
50
|
-
import 'dayjs/locale/fi
|
|
51
|
-
import 'dayjs/locale/fo
|
|
52
|
-
import 'dayjs/locale/fr-ca
|
|
53
|
-
import 'dayjs/locale/fr-ch
|
|
54
|
-
import 'dayjs/locale/fr
|
|
55
|
-
import 'dayjs/locale/fy
|
|
56
|
-
import 'dayjs/locale/ga
|
|
57
|
-
import 'dayjs/locale/gd
|
|
58
|
-
import 'dayjs/locale/gl
|
|
59
|
-
import 'dayjs/locale/gom-latn
|
|
60
|
-
import 'dayjs/locale/gu
|
|
61
|
-
import 'dayjs/locale/he
|
|
62
|
-
import 'dayjs/locale/hi
|
|
63
|
-
import 'dayjs/locale/hr
|
|
64
|
-
import 'dayjs/locale/ht
|
|
65
|
-
import 'dayjs/locale/hu
|
|
66
|
-
import 'dayjs/locale/hy-am
|
|
67
|
-
import 'dayjs/locale/id
|
|
68
|
-
import 'dayjs/locale/is
|
|
69
|
-
import 'dayjs/locale/it-ch
|
|
70
|
-
import 'dayjs/locale/it
|
|
71
|
-
import 'dayjs/locale/ja
|
|
72
|
-
import 'dayjs/locale/jv
|
|
73
|
-
import 'dayjs/locale/ka
|
|
74
|
-
import 'dayjs/locale/kk
|
|
75
|
-
import 'dayjs/locale/km
|
|
76
|
-
import 'dayjs/locale/kn
|
|
77
|
-
import 'dayjs/locale/ko
|
|
78
|
-
import 'dayjs/locale/ku
|
|
79
|
-
import 'dayjs/locale/ky
|
|
80
|
-
import 'dayjs/locale/lb
|
|
81
|
-
import 'dayjs/locale/lo
|
|
82
|
-
import 'dayjs/locale/lt
|
|
83
|
-
import 'dayjs/locale/lv
|
|
84
|
-
import 'dayjs/locale/me
|
|
85
|
-
import 'dayjs/locale/mi
|
|
86
|
-
import 'dayjs/locale/mk
|
|
87
|
-
import 'dayjs/locale/ml
|
|
88
|
-
import 'dayjs/locale/mn
|
|
89
|
-
import 'dayjs/locale/mr
|
|
90
|
-
import 'dayjs/locale/ms-my
|
|
91
|
-
import 'dayjs/locale/ms
|
|
92
|
-
import 'dayjs/locale/mt
|
|
93
|
-
import 'dayjs/locale/my
|
|
94
|
-
import 'dayjs/locale/nb
|
|
95
|
-
import 'dayjs/locale/ne
|
|
96
|
-
import 'dayjs/locale/nl-be
|
|
97
|
-
import 'dayjs/locale/nl
|
|
98
|
-
import 'dayjs/locale/nn
|
|
99
|
-
import 'dayjs/locale/oc-lnc
|
|
100
|
-
import 'dayjs/locale/pa-in
|
|
101
|
-
import 'dayjs/locale/pl
|
|
102
|
-
import 'dayjs/locale/pt-br
|
|
103
|
-
import 'dayjs/locale/pt
|
|
104
|
-
import 'dayjs/locale/rn
|
|
105
|
-
import 'dayjs/locale/ro
|
|
106
|
-
import 'dayjs/locale/ru
|
|
107
|
-
import 'dayjs/locale/rw
|
|
108
|
-
import 'dayjs/locale/sd
|
|
109
|
-
import 'dayjs/locale/se
|
|
110
|
-
import 'dayjs/locale/si
|
|
111
|
-
import 'dayjs/locale/sk
|
|
112
|
-
import 'dayjs/locale/sl
|
|
113
|
-
import 'dayjs/locale/sq
|
|
114
|
-
import 'dayjs/locale/sr-cyrl
|
|
115
|
-
import 'dayjs/locale/sr
|
|
116
|
-
import 'dayjs/locale/ss
|
|
117
|
-
import 'dayjs/locale/sv-fi
|
|
118
|
-
import 'dayjs/locale/sv
|
|
119
|
-
import 'dayjs/locale/sw
|
|
120
|
-
import 'dayjs/locale/ta
|
|
121
|
-
import 'dayjs/locale/te
|
|
122
|
-
import 'dayjs/locale/tet
|
|
123
|
-
import 'dayjs/locale/tg
|
|
124
|
-
import 'dayjs/locale/th
|
|
125
|
-
import 'dayjs/locale/tk
|
|
126
|
-
import 'dayjs/locale/tl-ph
|
|
127
|
-
import 'dayjs/locale/tlh
|
|
128
|
-
import 'dayjs/locale/tr
|
|
129
|
-
import 'dayjs/locale/tzl
|
|
130
|
-
import 'dayjs/locale/tzm-latn
|
|
131
|
-
import 'dayjs/locale/tzm
|
|
132
|
-
import 'dayjs/locale/ug-cn
|
|
133
|
-
import 'dayjs/locale/uk
|
|
134
|
-
import 'dayjs/locale/ur
|
|
135
|
-
import 'dayjs/locale/uz-latn
|
|
136
|
-
import 'dayjs/locale/uz
|
|
137
|
-
import 'dayjs/locale/vi
|
|
138
|
-
import 'dayjs/locale/x-pseudo
|
|
139
|
-
import 'dayjs/locale/yo
|
|
140
|
-
import 'dayjs/locale/zh-cn
|
|
141
|
-
import 'dayjs/locale/zh-hk
|
|
142
|
-
import 'dayjs/locale/zh-tw
|
|
143
|
-
import 'dayjs/locale/zh
|
|
1
|
+
import 'dayjs/locale/af';
|
|
2
|
+
import 'dayjs/locale/am';
|
|
3
|
+
import 'dayjs/locale/ar-dz';
|
|
4
|
+
import 'dayjs/locale/ar-iq';
|
|
5
|
+
import 'dayjs/locale/ar-kw';
|
|
6
|
+
import 'dayjs/locale/ar-ly';
|
|
7
|
+
import 'dayjs/locale/ar-ma';
|
|
8
|
+
import 'dayjs/locale/ar-sa';
|
|
9
|
+
import 'dayjs/locale/ar-tn';
|
|
10
|
+
import 'dayjs/locale/ar';
|
|
11
|
+
import 'dayjs/locale/az';
|
|
12
|
+
import 'dayjs/locale/be';
|
|
13
|
+
import 'dayjs/locale/bg';
|
|
14
|
+
import 'dayjs/locale/bi';
|
|
15
|
+
import 'dayjs/locale/bm';
|
|
16
|
+
import 'dayjs/locale/bn-bd';
|
|
17
|
+
import 'dayjs/locale/bn';
|
|
18
|
+
import 'dayjs/locale/bo';
|
|
19
|
+
import 'dayjs/locale/br';
|
|
20
|
+
import 'dayjs/locale/bs';
|
|
21
|
+
import 'dayjs/locale/ca';
|
|
22
|
+
import 'dayjs/locale/cs';
|
|
23
|
+
import 'dayjs/locale/cv';
|
|
24
|
+
import 'dayjs/locale/cy';
|
|
25
|
+
import 'dayjs/locale/da';
|
|
26
|
+
import 'dayjs/locale/de-at';
|
|
27
|
+
import 'dayjs/locale/de-ch';
|
|
28
|
+
import 'dayjs/locale/de';
|
|
29
|
+
import 'dayjs/locale/dv';
|
|
30
|
+
import 'dayjs/locale/el';
|
|
31
|
+
import 'dayjs/locale/en-au';
|
|
32
|
+
import 'dayjs/locale/en-ca';
|
|
33
|
+
import 'dayjs/locale/en-gb';
|
|
34
|
+
import 'dayjs/locale/en-ie';
|
|
35
|
+
import 'dayjs/locale/en-il';
|
|
36
|
+
import 'dayjs/locale/en-in';
|
|
37
|
+
import 'dayjs/locale/en-nz';
|
|
38
|
+
import 'dayjs/locale/en-sg';
|
|
39
|
+
import 'dayjs/locale/en-tt';
|
|
40
|
+
import 'dayjs/locale/en';
|
|
41
|
+
import 'dayjs/locale/eo';
|
|
42
|
+
import 'dayjs/locale/es-do';
|
|
43
|
+
import 'dayjs/locale/es-mx';
|
|
44
|
+
import 'dayjs/locale/es-pr';
|
|
45
|
+
import 'dayjs/locale/es-us';
|
|
46
|
+
import 'dayjs/locale/es';
|
|
47
|
+
import 'dayjs/locale/et';
|
|
48
|
+
import 'dayjs/locale/eu';
|
|
49
|
+
import 'dayjs/locale/fa';
|
|
50
|
+
import 'dayjs/locale/fi';
|
|
51
|
+
import 'dayjs/locale/fo';
|
|
52
|
+
import 'dayjs/locale/fr-ca';
|
|
53
|
+
import 'dayjs/locale/fr-ch';
|
|
54
|
+
import 'dayjs/locale/fr';
|
|
55
|
+
import 'dayjs/locale/fy';
|
|
56
|
+
import 'dayjs/locale/ga';
|
|
57
|
+
import 'dayjs/locale/gd';
|
|
58
|
+
import 'dayjs/locale/gl';
|
|
59
|
+
import 'dayjs/locale/gom-latn';
|
|
60
|
+
import 'dayjs/locale/gu';
|
|
61
|
+
import 'dayjs/locale/he';
|
|
62
|
+
import 'dayjs/locale/hi';
|
|
63
|
+
import 'dayjs/locale/hr';
|
|
64
|
+
import 'dayjs/locale/ht';
|
|
65
|
+
import 'dayjs/locale/hu';
|
|
66
|
+
import 'dayjs/locale/hy-am';
|
|
67
|
+
import 'dayjs/locale/id';
|
|
68
|
+
import 'dayjs/locale/is';
|
|
69
|
+
import 'dayjs/locale/it-ch';
|
|
70
|
+
import 'dayjs/locale/it';
|
|
71
|
+
import 'dayjs/locale/ja';
|
|
72
|
+
import 'dayjs/locale/jv';
|
|
73
|
+
import 'dayjs/locale/ka';
|
|
74
|
+
import 'dayjs/locale/kk';
|
|
75
|
+
import 'dayjs/locale/km';
|
|
76
|
+
import 'dayjs/locale/kn';
|
|
77
|
+
import 'dayjs/locale/ko';
|
|
78
|
+
import 'dayjs/locale/ku';
|
|
79
|
+
import 'dayjs/locale/ky';
|
|
80
|
+
import 'dayjs/locale/lb';
|
|
81
|
+
import 'dayjs/locale/lo';
|
|
82
|
+
import 'dayjs/locale/lt';
|
|
83
|
+
import 'dayjs/locale/lv';
|
|
84
|
+
import 'dayjs/locale/me';
|
|
85
|
+
import 'dayjs/locale/mi';
|
|
86
|
+
import 'dayjs/locale/mk';
|
|
87
|
+
import 'dayjs/locale/ml';
|
|
88
|
+
import 'dayjs/locale/mn';
|
|
89
|
+
import 'dayjs/locale/mr';
|
|
90
|
+
import 'dayjs/locale/ms-my';
|
|
91
|
+
import 'dayjs/locale/ms';
|
|
92
|
+
import 'dayjs/locale/mt';
|
|
93
|
+
import 'dayjs/locale/my';
|
|
94
|
+
import 'dayjs/locale/nb';
|
|
95
|
+
import 'dayjs/locale/ne';
|
|
96
|
+
import 'dayjs/locale/nl-be';
|
|
97
|
+
import 'dayjs/locale/nl';
|
|
98
|
+
import 'dayjs/locale/nn';
|
|
99
|
+
import 'dayjs/locale/oc-lnc';
|
|
100
|
+
import 'dayjs/locale/pa-in';
|
|
101
|
+
import 'dayjs/locale/pl';
|
|
102
|
+
import 'dayjs/locale/pt-br';
|
|
103
|
+
import 'dayjs/locale/pt';
|
|
104
|
+
import 'dayjs/locale/rn';
|
|
105
|
+
import 'dayjs/locale/ro';
|
|
106
|
+
import 'dayjs/locale/ru';
|
|
107
|
+
import 'dayjs/locale/rw';
|
|
108
|
+
import 'dayjs/locale/sd';
|
|
109
|
+
import 'dayjs/locale/se';
|
|
110
|
+
import 'dayjs/locale/si';
|
|
111
|
+
import 'dayjs/locale/sk';
|
|
112
|
+
import 'dayjs/locale/sl';
|
|
113
|
+
import 'dayjs/locale/sq';
|
|
114
|
+
import 'dayjs/locale/sr-cyrl';
|
|
115
|
+
import 'dayjs/locale/sr';
|
|
116
|
+
import 'dayjs/locale/ss';
|
|
117
|
+
import 'dayjs/locale/sv-fi';
|
|
118
|
+
import 'dayjs/locale/sv';
|
|
119
|
+
import 'dayjs/locale/sw';
|
|
120
|
+
import 'dayjs/locale/ta';
|
|
121
|
+
import 'dayjs/locale/te';
|
|
122
|
+
import 'dayjs/locale/tet';
|
|
123
|
+
import 'dayjs/locale/tg';
|
|
124
|
+
import 'dayjs/locale/th';
|
|
125
|
+
import 'dayjs/locale/tk';
|
|
126
|
+
import 'dayjs/locale/tl-ph';
|
|
127
|
+
import 'dayjs/locale/tlh';
|
|
128
|
+
import 'dayjs/locale/tr';
|
|
129
|
+
import 'dayjs/locale/tzl';
|
|
130
|
+
import 'dayjs/locale/tzm-latn';
|
|
131
|
+
import 'dayjs/locale/tzm';
|
|
132
|
+
import 'dayjs/locale/ug-cn';
|
|
133
|
+
import 'dayjs/locale/uk';
|
|
134
|
+
import 'dayjs/locale/ur';
|
|
135
|
+
import 'dayjs/locale/uz-latn';
|
|
136
|
+
import 'dayjs/locale/uz';
|
|
137
|
+
import 'dayjs/locale/vi';
|
|
138
|
+
import 'dayjs/locale/x-pseudo';
|
|
139
|
+
import 'dayjs/locale/yo';
|
|
140
|
+
import 'dayjs/locale/zh-cn';
|
|
141
|
+
import 'dayjs/locale/zh-hk';
|
|
142
|
+
import 'dayjs/locale/zh-tw';
|
|
143
|
+
import 'dayjs/locale/zh';
|
|
144
144
|
//# sourceMappingURL=locale.helper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"locale.helper.d.ts","sourceRoot":"","sources":["../../../../src/components/datepicker/core/locale.helper.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"locale.helper.d.ts","sourceRoot":"","sources":["../../../../src/components/datepicker/core/locale.helper.ts"],"names":[],"mappings":"AAAA,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,oBAAoB,CAAC;AAC5B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,oBAAoB,CAAC;AAC5B,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB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B,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,sBAAsB,CAAC;AAC9B,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,oBAAoB,CAAC;AAC5B,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,kBAAkB,CAAC;AAC1B,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,oBAAoB,CAAC;AAC5B,OAAO,kBAAkB,CAAC;AAC1B,OAAO,iBAAiB,CAAC;AACzB,OAAO,kBAAkB,CAAC;AAC1B,OAAO,uBAAuB,CAAC;AAC/B,OAAO,kBAAkB,CAAC;AAC1B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,sBAAsB,CAAC;AAC9B,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,uBAAuB,CAAC;AAC/B,OAAO,iBAAiB,CAAC;AACzB,OAAO,oBAAoB,CAAC;AAC5B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,iBAAiB,CAAC"}
|
package/core/locale.helper.js
CHANGED
|
@@ -1,149 +1,149 @@
|
|
|
1
|
-
import 'dayjs/locale/af
|
|
2
|
-
import 'dayjs/locale/am
|
|
3
|
-
import 'dayjs/locale/ar-dz
|
|
4
|
-
import 'dayjs/locale/ar-iq
|
|
5
|
-
import 'dayjs/locale/ar-kw
|
|
6
|
-
import 'dayjs/locale/ar-ly
|
|
7
|
-
import 'dayjs/locale/ar-ma
|
|
8
|
-
import 'dayjs/locale/ar-sa
|
|
9
|
-
import 'dayjs/locale/ar-tn
|
|
10
|
-
import 'dayjs/locale/ar
|
|
11
|
-
import 'dayjs/locale/az
|
|
12
|
-
import 'dayjs/locale/be
|
|
13
|
-
import 'dayjs/locale/bg
|
|
14
|
-
import 'dayjs/locale/bi
|
|
15
|
-
import 'dayjs/locale/bm
|
|
16
|
-
import 'dayjs/locale/bn-bd
|
|
17
|
-
import 'dayjs/locale/bn
|
|
18
|
-
import 'dayjs/locale/bo
|
|
19
|
-
import 'dayjs/locale/br
|
|
20
|
-
import 'dayjs/locale/bs
|
|
21
|
-
import 'dayjs/locale/ca
|
|
22
|
-
import 'dayjs/locale/cs
|
|
23
|
-
import 'dayjs/locale/cv
|
|
24
|
-
import 'dayjs/locale/cy
|
|
25
|
-
import 'dayjs/locale/da
|
|
26
|
-
import 'dayjs/locale/de-at
|
|
27
|
-
import 'dayjs/locale/de-ch
|
|
28
|
-
import 'dayjs/locale/de
|
|
29
|
-
import 'dayjs/locale/dv
|
|
30
|
-
import 'dayjs/locale/el
|
|
31
|
-
import 'dayjs/locale/en-au
|
|
32
|
-
import 'dayjs/locale/en-ca
|
|
33
|
-
import 'dayjs/locale/en-gb
|
|
34
|
-
import 'dayjs/locale/en-ie
|
|
35
|
-
import 'dayjs/locale/en-il
|
|
36
|
-
import 'dayjs/locale/en-in
|
|
37
|
-
import 'dayjs/locale/en-nz
|
|
38
|
-
import 'dayjs/locale/en-sg
|
|
39
|
-
import 'dayjs/locale/en-tt
|
|
40
|
-
import 'dayjs/locale/en
|
|
41
|
-
import 'dayjs/locale/eo
|
|
42
|
-
import 'dayjs/locale/es-do
|
|
43
|
-
import 'dayjs/locale/es-mx
|
|
44
|
-
import 'dayjs/locale/es-pr
|
|
45
|
-
import 'dayjs/locale/es-us
|
|
46
|
-
import 'dayjs/locale/es
|
|
47
|
-
import 'dayjs/locale/et
|
|
48
|
-
import 'dayjs/locale/eu
|
|
49
|
-
import 'dayjs/locale/fa
|
|
50
|
-
import 'dayjs/locale/fi
|
|
51
|
-
import 'dayjs/locale/fo
|
|
52
|
-
import 'dayjs/locale/fr-ca
|
|
53
|
-
import 'dayjs/locale/fr-ch
|
|
54
|
-
import 'dayjs/locale/fr
|
|
55
|
-
import 'dayjs/locale/fy
|
|
56
|
-
import 'dayjs/locale/ga
|
|
57
|
-
import 'dayjs/locale/gd
|
|
58
|
-
import 'dayjs/locale/gl
|
|
59
|
-
import 'dayjs/locale/gom-latn
|
|
60
|
-
import 'dayjs/locale/gu
|
|
61
|
-
import 'dayjs/locale/he
|
|
62
|
-
import 'dayjs/locale/hi
|
|
63
|
-
import 'dayjs/locale/hr
|
|
64
|
-
import 'dayjs/locale/ht
|
|
65
|
-
import 'dayjs/locale/hu
|
|
66
|
-
import 'dayjs/locale/hy-am
|
|
67
|
-
import 'dayjs/locale/id
|
|
68
|
-
import 'dayjs/locale/is
|
|
69
|
-
import 'dayjs/locale/it-ch
|
|
70
|
-
import 'dayjs/locale/it
|
|
71
|
-
import 'dayjs/locale/ja
|
|
72
|
-
import 'dayjs/locale/jv
|
|
73
|
-
import 'dayjs/locale/ka
|
|
74
|
-
import 'dayjs/locale/kk
|
|
75
|
-
import 'dayjs/locale/km
|
|
76
|
-
import 'dayjs/locale/kn
|
|
77
|
-
import 'dayjs/locale/ko
|
|
78
|
-
import 'dayjs/locale/ku
|
|
79
|
-
import 'dayjs/locale/ky
|
|
80
|
-
import 'dayjs/locale/lb
|
|
81
|
-
import 'dayjs/locale/lo
|
|
82
|
-
import 'dayjs/locale/lt
|
|
83
|
-
import 'dayjs/locale/lv
|
|
84
|
-
import 'dayjs/locale/me
|
|
85
|
-
import 'dayjs/locale/mi
|
|
86
|
-
import 'dayjs/locale/mk
|
|
87
|
-
import 'dayjs/locale/ml
|
|
88
|
-
import 'dayjs/locale/mn
|
|
89
|
-
import 'dayjs/locale/mr
|
|
90
|
-
import 'dayjs/locale/ms-my
|
|
91
|
-
import 'dayjs/locale/ms
|
|
92
|
-
import 'dayjs/locale/mt
|
|
93
|
-
import 'dayjs/locale/my
|
|
94
|
-
import 'dayjs/locale/nb
|
|
95
|
-
import 'dayjs/locale/ne
|
|
96
|
-
import 'dayjs/locale/nl-be
|
|
97
|
-
import 'dayjs/locale/nl
|
|
98
|
-
import 'dayjs/locale/nn
|
|
99
|
-
import 'dayjs/locale/oc-lnc
|
|
100
|
-
import 'dayjs/locale/pa-in
|
|
101
|
-
import 'dayjs/locale/pl
|
|
102
|
-
import 'dayjs/locale/pt-br
|
|
103
|
-
import 'dayjs/locale/pt
|
|
104
|
-
import 'dayjs/locale/rn
|
|
105
|
-
import 'dayjs/locale/ro
|
|
106
|
-
import 'dayjs/locale/ru
|
|
107
|
-
import 'dayjs/locale/rw
|
|
108
|
-
import 'dayjs/locale/sd
|
|
109
|
-
import 'dayjs/locale/se
|
|
110
|
-
import 'dayjs/locale/si
|
|
111
|
-
import 'dayjs/locale/sk
|
|
112
|
-
import 'dayjs/locale/sl
|
|
113
|
-
import 'dayjs/locale/sq
|
|
114
|
-
import 'dayjs/locale/sr-cyrl
|
|
115
|
-
import 'dayjs/locale/sr
|
|
116
|
-
import 'dayjs/locale/ss
|
|
117
|
-
import 'dayjs/locale/sv-fi
|
|
118
|
-
import 'dayjs/locale/sv
|
|
119
|
-
import 'dayjs/locale/sw
|
|
120
|
-
import 'dayjs/locale/ta
|
|
121
|
-
import 'dayjs/locale/te
|
|
122
|
-
import 'dayjs/locale/tet
|
|
123
|
-
import 'dayjs/locale/tg
|
|
124
|
-
import 'dayjs/locale/th
|
|
125
|
-
import 'dayjs/locale/tk
|
|
126
|
-
import 'dayjs/locale/tl-ph
|
|
127
|
-
import 'dayjs/locale/tlh
|
|
128
|
-
import 'dayjs/locale/tr
|
|
129
|
-
import 'dayjs/locale/tzl
|
|
130
|
-
import 'dayjs/locale/tzm-latn
|
|
131
|
-
import 'dayjs/locale/tzm
|
|
132
|
-
import 'dayjs/locale/ug-cn
|
|
133
|
-
import 'dayjs/locale/uk
|
|
134
|
-
import 'dayjs/locale/ur
|
|
135
|
-
import 'dayjs/locale/uz-latn
|
|
136
|
-
import 'dayjs/locale/uz
|
|
137
|
-
import 'dayjs/locale/vi
|
|
138
|
-
import 'dayjs/locale/x-pseudo
|
|
139
|
-
import 'dayjs/locale/yo
|
|
140
|
-
import 'dayjs/locale/zh-cn
|
|
141
|
-
import 'dayjs/locale/zh-hk
|
|
142
|
-
import 'dayjs/locale/zh-tw
|
|
143
|
-
import 'dayjs/locale/zh
|
|
144
|
-
import customParseFormat from 'dayjs/plugin/customParseFormat
|
|
145
|
-
import localeData from 'dayjs/plugin/localeData
|
|
146
|
-
import toObject from 'dayjs/plugin/toObject
|
|
1
|
+
import 'dayjs/locale/af';
|
|
2
|
+
import 'dayjs/locale/am';
|
|
3
|
+
import 'dayjs/locale/ar-dz';
|
|
4
|
+
import 'dayjs/locale/ar-iq';
|
|
5
|
+
import 'dayjs/locale/ar-kw';
|
|
6
|
+
import 'dayjs/locale/ar-ly';
|
|
7
|
+
import 'dayjs/locale/ar-ma';
|
|
8
|
+
import 'dayjs/locale/ar-sa';
|
|
9
|
+
import 'dayjs/locale/ar-tn';
|
|
10
|
+
import 'dayjs/locale/ar';
|
|
11
|
+
import 'dayjs/locale/az';
|
|
12
|
+
import 'dayjs/locale/be';
|
|
13
|
+
import 'dayjs/locale/bg';
|
|
14
|
+
import 'dayjs/locale/bi';
|
|
15
|
+
import 'dayjs/locale/bm';
|
|
16
|
+
import 'dayjs/locale/bn-bd';
|
|
17
|
+
import 'dayjs/locale/bn';
|
|
18
|
+
import 'dayjs/locale/bo';
|
|
19
|
+
import 'dayjs/locale/br';
|
|
20
|
+
import 'dayjs/locale/bs';
|
|
21
|
+
import 'dayjs/locale/ca';
|
|
22
|
+
import 'dayjs/locale/cs';
|
|
23
|
+
import 'dayjs/locale/cv';
|
|
24
|
+
import 'dayjs/locale/cy';
|
|
25
|
+
import 'dayjs/locale/da';
|
|
26
|
+
import 'dayjs/locale/de-at';
|
|
27
|
+
import 'dayjs/locale/de-ch';
|
|
28
|
+
import 'dayjs/locale/de';
|
|
29
|
+
import 'dayjs/locale/dv';
|
|
30
|
+
import 'dayjs/locale/el';
|
|
31
|
+
import 'dayjs/locale/en-au';
|
|
32
|
+
import 'dayjs/locale/en-ca';
|
|
33
|
+
import 'dayjs/locale/en-gb';
|
|
34
|
+
import 'dayjs/locale/en-ie';
|
|
35
|
+
import 'dayjs/locale/en-il';
|
|
36
|
+
import 'dayjs/locale/en-in';
|
|
37
|
+
import 'dayjs/locale/en-nz';
|
|
38
|
+
import 'dayjs/locale/en-sg';
|
|
39
|
+
import 'dayjs/locale/en-tt';
|
|
40
|
+
import 'dayjs/locale/en';
|
|
41
|
+
import 'dayjs/locale/eo';
|
|
42
|
+
import 'dayjs/locale/es-do';
|
|
43
|
+
import 'dayjs/locale/es-mx';
|
|
44
|
+
import 'dayjs/locale/es-pr';
|
|
45
|
+
import 'dayjs/locale/es-us';
|
|
46
|
+
import 'dayjs/locale/es';
|
|
47
|
+
import 'dayjs/locale/et';
|
|
48
|
+
import 'dayjs/locale/eu';
|
|
49
|
+
import 'dayjs/locale/fa';
|
|
50
|
+
import 'dayjs/locale/fi';
|
|
51
|
+
import 'dayjs/locale/fo';
|
|
52
|
+
import 'dayjs/locale/fr-ca';
|
|
53
|
+
import 'dayjs/locale/fr-ch';
|
|
54
|
+
import 'dayjs/locale/fr';
|
|
55
|
+
import 'dayjs/locale/fy';
|
|
56
|
+
import 'dayjs/locale/ga';
|
|
57
|
+
import 'dayjs/locale/gd';
|
|
58
|
+
import 'dayjs/locale/gl';
|
|
59
|
+
import 'dayjs/locale/gom-latn';
|
|
60
|
+
import 'dayjs/locale/gu';
|
|
61
|
+
import 'dayjs/locale/he';
|
|
62
|
+
import 'dayjs/locale/hi';
|
|
63
|
+
import 'dayjs/locale/hr';
|
|
64
|
+
import 'dayjs/locale/ht';
|
|
65
|
+
import 'dayjs/locale/hu';
|
|
66
|
+
import 'dayjs/locale/hy-am';
|
|
67
|
+
import 'dayjs/locale/id';
|
|
68
|
+
import 'dayjs/locale/is';
|
|
69
|
+
import 'dayjs/locale/it-ch';
|
|
70
|
+
import 'dayjs/locale/it';
|
|
71
|
+
import 'dayjs/locale/ja';
|
|
72
|
+
import 'dayjs/locale/jv';
|
|
73
|
+
import 'dayjs/locale/ka';
|
|
74
|
+
import 'dayjs/locale/kk';
|
|
75
|
+
import 'dayjs/locale/km';
|
|
76
|
+
import 'dayjs/locale/kn';
|
|
77
|
+
import 'dayjs/locale/ko';
|
|
78
|
+
import 'dayjs/locale/ku';
|
|
79
|
+
import 'dayjs/locale/ky';
|
|
80
|
+
import 'dayjs/locale/lb';
|
|
81
|
+
import 'dayjs/locale/lo';
|
|
82
|
+
import 'dayjs/locale/lt';
|
|
83
|
+
import 'dayjs/locale/lv';
|
|
84
|
+
import 'dayjs/locale/me';
|
|
85
|
+
import 'dayjs/locale/mi';
|
|
86
|
+
import 'dayjs/locale/mk';
|
|
87
|
+
import 'dayjs/locale/ml';
|
|
88
|
+
import 'dayjs/locale/mn';
|
|
89
|
+
import 'dayjs/locale/mr';
|
|
90
|
+
import 'dayjs/locale/ms-my';
|
|
91
|
+
import 'dayjs/locale/ms';
|
|
92
|
+
import 'dayjs/locale/mt';
|
|
93
|
+
import 'dayjs/locale/my';
|
|
94
|
+
import 'dayjs/locale/nb';
|
|
95
|
+
import 'dayjs/locale/ne';
|
|
96
|
+
import 'dayjs/locale/nl-be';
|
|
97
|
+
import 'dayjs/locale/nl';
|
|
98
|
+
import 'dayjs/locale/nn';
|
|
99
|
+
import 'dayjs/locale/oc-lnc';
|
|
100
|
+
import 'dayjs/locale/pa-in';
|
|
101
|
+
import 'dayjs/locale/pl';
|
|
102
|
+
import 'dayjs/locale/pt-br';
|
|
103
|
+
import 'dayjs/locale/pt';
|
|
104
|
+
import 'dayjs/locale/rn';
|
|
105
|
+
import 'dayjs/locale/ro';
|
|
106
|
+
import 'dayjs/locale/ru';
|
|
107
|
+
import 'dayjs/locale/rw';
|
|
108
|
+
import 'dayjs/locale/sd';
|
|
109
|
+
import 'dayjs/locale/se';
|
|
110
|
+
import 'dayjs/locale/si';
|
|
111
|
+
import 'dayjs/locale/sk';
|
|
112
|
+
import 'dayjs/locale/sl';
|
|
113
|
+
import 'dayjs/locale/sq';
|
|
114
|
+
import 'dayjs/locale/sr-cyrl';
|
|
115
|
+
import 'dayjs/locale/sr';
|
|
116
|
+
import 'dayjs/locale/ss';
|
|
117
|
+
import 'dayjs/locale/sv-fi';
|
|
118
|
+
import 'dayjs/locale/sv';
|
|
119
|
+
import 'dayjs/locale/sw';
|
|
120
|
+
import 'dayjs/locale/ta';
|
|
121
|
+
import 'dayjs/locale/te';
|
|
122
|
+
import 'dayjs/locale/tet';
|
|
123
|
+
import 'dayjs/locale/tg';
|
|
124
|
+
import 'dayjs/locale/th';
|
|
125
|
+
import 'dayjs/locale/tk';
|
|
126
|
+
import 'dayjs/locale/tl-ph';
|
|
127
|
+
import 'dayjs/locale/tlh';
|
|
128
|
+
import 'dayjs/locale/tr';
|
|
129
|
+
import 'dayjs/locale/tzl';
|
|
130
|
+
import 'dayjs/locale/tzm-latn';
|
|
131
|
+
import 'dayjs/locale/tzm';
|
|
132
|
+
import 'dayjs/locale/ug-cn';
|
|
133
|
+
import 'dayjs/locale/uk';
|
|
134
|
+
import 'dayjs/locale/ur';
|
|
135
|
+
import 'dayjs/locale/uz-latn';
|
|
136
|
+
import 'dayjs/locale/uz';
|
|
137
|
+
import 'dayjs/locale/vi';
|
|
138
|
+
import 'dayjs/locale/x-pseudo';
|
|
139
|
+
import 'dayjs/locale/yo';
|
|
140
|
+
import 'dayjs/locale/zh-cn';
|
|
141
|
+
import 'dayjs/locale/zh-hk';
|
|
142
|
+
import 'dayjs/locale/zh-tw';
|
|
143
|
+
import 'dayjs/locale/zh';
|
|
144
|
+
import customParseFormat from 'dayjs/plugin/customParseFormat';
|
|
145
|
+
import localeData from 'dayjs/plugin/localeData';
|
|
146
|
+
import toObject from 'dayjs/plugin/toObject';
|
|
147
147
|
import dayjs from 'dayjs';
|
|
148
148
|
dayjs.extend(localeData);
|
|
149
149
|
dayjs.extend(customParseFormat);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"locale.helper.js","sourceRoot":"","sources":["../../../../src/components/datepicker/core/locale.helper.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"locale.helper.js","sourceRoot":"","sources":["../../../../src/components/datepicker/core/locale.helper.ts"],"names":[],"mappings":"AAAA,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,oBAAoB,CAAC;AAC5B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,oBAAoB,CAAC;AAC5B,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,oBAAoB,CAAC;AAC5B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,oBAAoB,CAAC;AAC5B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,oBAAoB,CAAC;AAC5B,O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O,uBAAuB,CAAC;AAC/B,OAAO,kBAAkB,CAAC;AAC1B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,sBAAsB,CAAC;AAC9B,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,uBAAuB,CAAC;AAC/B,OAAO,iBAAiB,CAAC;AACzB,OAAO,oBAAoB,CAAC;AAC5B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,iBAAiB,CAAC;AAEzB,OAAO,iBAAiB,MAAM,gCAAgC,CAAC;AAC/D,OAAO,UAAU,MAAM,yBAAyB,CAAC;AACjD,OAAO,QAAQ,MAAM,uBAAuB,CAAC;AAC7C,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;AACzB,KAAK,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC;AAChC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC","sourcesContent":["import 'dayjs/locale/af';\nimport 'dayjs/locale/am';\nimport 'dayjs/locale/ar-dz';\nimport 'dayjs/locale/ar-iq';\nimport 'dayjs/locale/ar-kw';\nimport 'dayjs/locale/ar-ly';\nimport 'dayjs/locale/ar-ma';\nimport 'dayjs/locale/ar-sa';\nimport 'dayjs/locale/ar-tn';\nimport 'dayjs/locale/ar';\nimport 'dayjs/locale/az';\nimport 'dayjs/locale/be';\nimport 'dayjs/locale/bg';\nimport 'dayjs/locale/bi';\nimport 'dayjs/locale/bm';\nimport 'dayjs/locale/bn-bd';\nimport 'dayjs/locale/bn';\nimport 'dayjs/locale/bo';\nimport 'dayjs/locale/br';\nimport 'dayjs/locale/bs';\nimport 'dayjs/locale/ca';\nimport 'dayjs/locale/cs';\nimport 'dayjs/locale/cv';\nimport 'dayjs/locale/cy';\nimport 'dayjs/locale/da';\nimport 'dayjs/locale/de-at';\nimport 'dayjs/locale/de-ch';\nimport 'dayjs/locale/de';\nimport 'dayjs/locale/dv';\nimport 'dayjs/locale/el';\nimport 'dayjs/locale/en-au';\nimport 'dayjs/locale/en-ca';\nimport 'dayjs/locale/en-gb';\nimport 'dayjs/locale/en-ie';\nimport 'dayjs/locale/en-il';\nimport 'dayjs/locale/en-in';\nimport 'dayjs/locale/en-nz';\nimport 'dayjs/locale/en-sg';\nimport 'dayjs/locale/en-tt';\nimport 'dayjs/locale/en';\nimport 'dayjs/locale/eo';\nimport 'dayjs/locale/es-do';\nimport 'dayjs/locale/es-mx';\nimport 'dayjs/locale/es-pr';\nimport 'dayjs/locale/es-us';\nimport 'dayjs/locale/es';\nimport 'dayjs/locale/et';\nimport 'dayjs/locale/eu';\nimport 'dayjs/locale/fa';\nimport 'dayjs/locale/fi';\nimport 'dayjs/locale/fo';\nimport 'dayjs/locale/fr-ca';\nimport 'dayjs/locale/fr-ch';\nimport 'dayjs/locale/fr';\nimport 'dayjs/locale/fy';\nimport 'dayjs/locale/ga';\nimport 'dayjs/locale/gd';\nimport 'dayjs/locale/gl';\nimport 'dayjs/locale/gom-latn';\nimport 'dayjs/locale/gu';\nimport 'dayjs/locale/he';\nimport 'dayjs/locale/hi';\nimport 'dayjs/locale/hr';\nimport 'dayjs/locale/ht';\nimport 'dayjs/locale/hu';\nimport 'dayjs/locale/hy-am';\nimport 'dayjs/locale/id';\nimport 'dayjs/locale/is';\nimport 'dayjs/locale/it-ch';\nimport 'dayjs/locale/it';\nimport 'dayjs/locale/ja';\nimport 'dayjs/locale/jv';\nimport 'dayjs/locale/ka';\nimport 'dayjs/locale/kk';\nimport 'dayjs/locale/km';\nimport 'dayjs/locale/kn';\nimport 'dayjs/locale/ko';\nimport 'dayjs/locale/ku';\nimport 'dayjs/locale/ky';\nimport 'dayjs/locale/lb';\nimport 'dayjs/locale/lo';\nimport 'dayjs/locale/lt';\nimport 'dayjs/locale/lv';\nimport 'dayjs/locale/me';\nimport 'dayjs/locale/mi';\nimport 'dayjs/locale/mk';\nimport 'dayjs/locale/ml';\nimport 'dayjs/locale/mn';\nimport 'dayjs/locale/mr';\nimport 'dayjs/locale/ms-my';\nimport 'dayjs/locale/ms';\nimport 'dayjs/locale/mt';\nimport 'dayjs/locale/my';\nimport 'dayjs/locale/nb';\nimport 'dayjs/locale/ne';\nimport 'dayjs/locale/nl-be';\nimport 'dayjs/locale/nl';\nimport 'dayjs/locale/nn';\nimport 'dayjs/locale/oc-lnc';\nimport 'dayjs/locale/pa-in';\nimport 'dayjs/locale/pl';\nimport 'dayjs/locale/pt-br';\nimport 'dayjs/locale/pt';\nimport 'dayjs/locale/rn';\nimport 'dayjs/locale/ro';\nimport 'dayjs/locale/ru';\nimport 'dayjs/locale/rw';\nimport 'dayjs/locale/sd';\nimport 'dayjs/locale/se';\nimport 'dayjs/locale/si';\nimport 'dayjs/locale/sk';\nimport 'dayjs/locale/sl';\nimport 'dayjs/locale/sq';\nimport 'dayjs/locale/sr-cyrl';\nimport 'dayjs/locale/sr';\nimport 'dayjs/locale/ss';\nimport 'dayjs/locale/sv-fi';\nimport 'dayjs/locale/sv';\nimport 'dayjs/locale/sw';\nimport 'dayjs/locale/ta';\nimport 'dayjs/locale/te';\nimport 'dayjs/locale/tet';\nimport 'dayjs/locale/tg';\nimport 'dayjs/locale/th';\nimport 'dayjs/locale/tk';\nimport 'dayjs/locale/tl-ph';\nimport 'dayjs/locale/tlh';\nimport 'dayjs/locale/tr';\nimport 'dayjs/locale/tzl';\nimport 'dayjs/locale/tzm-latn';\nimport 'dayjs/locale/tzm';\nimport 'dayjs/locale/ug-cn';\nimport 'dayjs/locale/uk';\nimport 'dayjs/locale/ur';\nimport 'dayjs/locale/uz-latn';\nimport 'dayjs/locale/uz';\nimport 'dayjs/locale/vi';\nimport 'dayjs/locale/x-pseudo';\nimport 'dayjs/locale/yo';\nimport 'dayjs/locale/zh-cn';\nimport 'dayjs/locale/zh-hk';\nimport 'dayjs/locale/zh-tw';\nimport 'dayjs/locale/zh';\n\nimport customParseFormat from 'dayjs/plugin/customParseFormat';\nimport localeData from 'dayjs/plugin/localeData';\nimport toObject from 'dayjs/plugin/toObject';\nimport dayjs from 'dayjs';\n\ndayjs.extend(localeData);\ndayjs.extend(customParseFormat);\ndayjs.extend(toObject);\n"]}
|
|
@@ -5,9 +5,6 @@
|
|
|
5
5
|
*/
|
|
6
6
|
/// <reference types="react" />
|
|
7
7
|
import { LitElement, nothing, PropertyValues, TemplateResult } from 'lit';
|
|
8
|
-
import '../input/input.component.js';
|
|
9
|
-
import '../icon/icon.component.js';
|
|
10
|
-
import '../button/hy-button.component.js';
|
|
11
8
|
import { IDayPresentation, INavigationDate, Mode } from './datepicker.types.js';
|
|
12
9
|
import './core/locale.helper.js';
|
|
13
10
|
import { INPUT_SIZE, INPUT_STATE } from '../input/input.constant.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date-picker.component.d.ts","sourceRoot":"","sources":["../../../src/components/datepicker/date-picker.component.ts"],"names":[],"mappings":"AAEA;;;;GAIG;;AAEH,OAAO,EAAC,UAAU,EAAQ,OAAO,EAAE,cAAc,EAAE,cAAc,EAAC,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"date-picker.component.d.ts","sourceRoot":"","sources":["../../../src/components/datepicker/date-picker.component.ts"],"names":[],"mappings":"AAEA;;;;GAIG;;AAEH,OAAO,EAAC,UAAU,EAAQ,OAAO,EAAE,cAAc,EAAE,cAAc,EAAC,MAAM,KAAK,CAAC;AAK9E,OAAO,EAAC,gBAAgB,EAAE,eAAe,EAAE,IAAI,EAAC,MAAM,uBAAuB,CAAC;AAM9E,OAAO,yBAAyB,CAAC;AACjC,OAAO,EAAC,UAAU,EAAE,WAAW,EAAC,MAAM,4BAA4B,CAAC;AAEnE,qBACa,mBAAoB,SAAQ,UAAU;IACjD,KAAK,wBAAW;IAGhB,IAAI,EAAG,MAAM,CAAC;IAEd,MAAM,SAAQ;IAGd,IAAI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D,OAAO;IAIP,eAAe,CAAC,OAAO,UAAQ,GAAG,cAAc,GAAG,OAAO,OAAO;IA2BjE,oBAAoB;IA4BpB,cAAc;IA0BL,oBAAoB;IAMpB,MAAM,IAAI,cAAc;CAkBlC;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,eAAe,EAAE,mBAAmB,CAAC;KACtC;IAED,UAAU,GAAG,CAAC;QACZ,UAAU,iBAAiB;YACzB,eAAe,EACX,KAAK,CAAC,iBAAiB,CAAC,KAAK,CAAC,cAAc,CAAC,mBAAmB,CAAC,EAAE,mBAAmB,CAAC,GACvF,OAAO,CAAC,mBAAmB,CAAC,CAAC;SAClC;KACF;CACF"}
|
package/date-picker.component.js
CHANGED
|
@@ -23,9 +23,6 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
23
23
|
import { LitElement, html, nothing } from 'lit';
|
|
24
24
|
import { customElement, property, query, state } from 'lit/decorators.js';
|
|
25
25
|
import dayjs from 'dayjs';
|
|
26
|
-
import '../input/input.component.js';
|
|
27
|
-
import '../icon/icon.component.js';
|
|
28
|
-
import '../button/hy-button.component.js';
|
|
29
26
|
import { getMonthDetails } from './core/month.helper.js';
|
|
30
27
|
import { styles } from './date-picker.style.js';
|
|
31
28
|
import { Mode } from './datepicker.types.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date-picker.component.js","sourceRoot":"","sources":["../../../src/components/datepicker/date-picker.component.ts"],"names":[],"mappings":"AAAA,yCAAyC;AACzC,uDAAuD;AACvD;;;;GAIG;;;;;;;;;;;;;;;;AAEH,OAAO,EAAC,UAAU,EAAE,IAAI,EAAE,OAAO,EAAiC,MAAM,KAAK,CAAC;AAC9E,OAAO,EAAC,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAC,MAAM,mBAAmB,CAAC;AACxE,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,6BAA6B,CAAC;AAC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D;IADC,KAAK,EAAE;mDAC+B;AAGvC;IADC,KAAK,EAAE;iDAC+B;AAGvC;IADC,KAAK,EAAE;0DAC6C;AAGrD;IADC,KAAK,EAAE;wDACwB;AAGhC;IADC,KAAK,EAAE;uDACuB;AAG/B;IADC,KAAK,EAAE;yDAC8B;AAGtC;IADC,KAAK,EAAE;oDACS;AAGjB;IADC,KAAK,EAAE;mDACQ;AAGhB;IADC,KAAK,EAAE;qDACU;AAGlB;IADC,KAAK,EAAE;4DACa;AAGrB;IADC,QAAQ,CAAC,EAAC,IAAI,EAAE,MAAM,EAAC,CAAC;wDACE;AAG3B;IADC,QAAQ,CAAC,EAAC,IAAI,EAAE,MAAM,EAAC,CAAC;sDACV;AAGf;IADC,KAAK,EAAE;4DAON;AAGF;IADC,KAAK,CAAC,aAAa,CAAC;sDACG;AAGxB;IADC,KAAK,CAAC,qBAAqB,CAAC;8DACG;AAGhC;IADC,KAAK,EAAE;6DAC8B;AAGtC;IADC,QAAQ,EAAE;iDACc;AAGzB;IADC,QAAQ,EAAE;kDACiB;AAG5B;IADC,QAAQ,EAAE;kDACI;AAGf;IADC,QAAQ,EAAE;mDACK;AAGhB;IADC,QAAQ,CAAC,EAAC,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAC,CAAC;qDACxB;AA1FN,mBAAmB;IAD/B,aAAa,CAAC,eAAe,CAAC;GAClB,mBAAmB,CA0d/B;SA1dY,mBAAmB","sourcesContent":["/* eslint-disable no-case-declarations */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n/**\n * @license\n * Copyright 2023 Google Laabidi Aymen\n * SPDX-License-Identifier: MIT\n */\n\nimport {LitElement, html, nothing, PropertyValues, TemplateResult} from 'lit';\nimport {customElement, property, query, state} from 'lit/decorators.js';\nimport dayjs from 'dayjs';\nimport '../input/input.component.js';\nimport '../icon/icon.component.js';\nimport '../button/hy-button.component.js';\nimport {getMonthDetails} from './core/month.helper.js';\nimport {styles} from './date-picker.style.js';\nimport {IDayPresentation, INavigationDate, Mode} from './datepicker.types.js';\nimport {renderMonthsTemplate} from './templates/months.template.js';\nimport {renderYearsTemplate} from './templates/years.template.js';\nimport {renderDays} from './templates/days.template.js';\nimport {oneToTwoDigit} from './core/formatter.js';\nimport {capitalizeFirstLetter} from './core/string.helper.js';\nimport './core/locale.helper.js';\nimport {INPUT_SIZE, INPUT_STATE} from '../input/input.constant.js';\nimport {EMPTY_STRING} from './constants.js';\n\n@customElement('hy-datepicker')\nexport class HyDatePickerElement extends LitElement {\n today = dayjs();\n\n @property({type: String})\n name!: string;\n @property({type: String})\n locale = 'en';\n\n @property({reflect: true})\n mode = Mode.Day;\n\n @property({type: Boolean})\n range = false;\n\n @state()\n prevMode = this.mode;\n\n @property({reflect: true, type: Boolean})\n openedCalendar = false;\n\n @state()\n monthsShort = dayjs().localeData().monthsShort()\n \n @state()\n months = dayjs().localeData().months();\n\n @state()\n days = dayjs().localeData().weekdays();\n\n @state()\n weekdaysShort = dayjs().localeData().weekdaysShort();\n\n @state()\n currentYear = this.today.year();\n\n @state()\n currentDay = this.today.date();\n\n @state()\n currentMonth = this.today.month() + 1;\n\n @state()\n endYear!: number;\n\n @state()\n endDay!: number;\n\n @state()\n endMonth!: number;\n\n @state()\n inputFieldValue = '';\n\n @property({type: String})\n fieldFormat = 'DD/MM/YYYY';\n\n @property({type: String})\n dateValue = '';\n\n @state()\n navigationDates: INavigationDate = {\n start: {\n year: this.currentYear,\n month: this.currentMonth,\n day: this.currentDay,\n },\n };\n\n @query('#date-input')\n dateInput!: HTMLElement;\n\n @query('.calendar-container')\n calendarContainer!: HTMLElement;\n\n @state()\n daysPresentation!: IDayPresentation[];\n\n @property()\n size = INPUT_SIZE.Medium;\n\n @property()\n state = INPUT_STATE.Default;\n\n @property()\n label!: string;\n\n @property()\n helper!: string;\n\n @property({reflect: true, type: Boolean})\n disabled = false;\n\n INPUT_TYPE = 'calendar';\n\n static override styles = styles;\n\n override connectedCallback() {\n super.connectedCallback();\n document.addEventListener('click', this._onClickOutside.bind(this));\n document.addEventListener('scroll', this.positionCalendar);\n }\n override firstUpdated() {\n if (this.range) {\n this.endYear = this.currentYear;\n this.endMonth = this.currentMonth;\n this.endDay = this.currentDay;\n }\n this.fillInputField()\n }\n override willUpdate(changedProperties: PropertyValues) {\n if(changedProperties.has('fieldFormat')){\n this.fillInputField()\n }\n if (changedProperties.has('openedCalendar') && this.openedCalendar) {\n this.daysPresentation = getMonthDetails(this.currentYear, this.currentMonth - 1, this.days);\n this.positionCalendar();\n }\n if (changedProperties.has('dateValue') && this.dateValue) {\n const dateObj = dayjs(this.dateValue, this.fieldFormat, true);\n if (dateObj.isValid()) {\n const {years, months, date} = dateObj.toObject();\n this.currentYear = years;\n this.currentMonth = months + 1;\n this.currentDay = date;\n this.navigationDates = {...this.navigationDates, start: {year: years, month: months + 1, day: date}};\n }\n }\n if (\n (changedProperties.has('currentDay') && changedProperties.get('currentDay')) ||\n (changedProperties.has('currentMonth') && changedProperties.get('currentMonth')) ||\n (changedProperties.has('currentYear') && changedProperties.get('currentYear'))\n ) { \n this.fillInputField()\n this.dispatchDateChange();\n }\n if (changedProperties.has('locale')) {\n this.updateLocale(this.locale);\n }\n }\n\n _onClickOutside(e: MouseEvent) {\n if (!e.composedPath().includes(this)) {\n this.openedCalendar = false;\n }\n }\n\n toggleCaldendar() {\n this.openedCalendar = !this.openedCalendar;\n }\n fillInputField(){\n this.inputFieldValue = this.range\n ? dayjs(`${this.currentYear}-${this.currentMonth}-${this.currentDay}`).format(this.fieldFormat) +\n '-' +\n dayjs(`${this.endYear}-${this.endMonth}-${this.endDay}`).format(this.fieldFormat)\n : dayjs(`${this.currentYear}-${this.currentMonth}-${this.currentDay}`).format(this.fieldFormat);\n }\n\n dispatchDateChange() {\n this.dispatchEvent(\n new CustomEvent('date-change', {bubbles: true, composed: true, detail: {value: this.inputFieldValue}})\n );\n }\n\n positionCalendar = async () => {\n if (this.openedCalendar) {\n await this.updateComplete;\n const dateInput = this.shadowRoot!.querySelector('#date-input')!;\n const calendarHeight = this.calendarContainer.getBoundingClientRect().height;\n const dateInputRect = dateInput.getBoundingClientRect();\n const availableBottomSpace = window.visualViewport!.height - dateInputRect.bottom;\n const availableTopSpace = dateInputRect.top;\n this.calendarContainer.style.removeProperty('top');\n this.calendarContainer.style.removeProperty('position');\n if (calendarHeight > availableBottomSpace && availableTopSpace > calendarHeight) {\n const inputElement = dateInput.shadowRoot!.querySelector('#input-container')!;\n const inputBorderTop = +getComputedStyle(inputElement).borderTopWidth.split('px')[0];\n this.calendarContainer.style.top = `${availableTopSpace - calendarHeight - inputBorderTop}px`;\n this.calendarContainer.style.position = 'fixed';\n }\n }\n };\n\n updateLocale(locale: string): void {\n dayjs.locale(locale);\n this.monthsShort = dayjs().localeData().monthsShort();\n this.months = dayjs().localeData().months();\n this.weekdaysShort = dayjs().localeData().weekdaysShort();\n this.days = dayjs().localeData().weekdays();\n }\n\n nextYear() {\n let startYear = this.navigationDates.start.year;\n this.navigationDates = {\n ...this.navigationDates,\n start: {\n ...this.navigationDates.start,\n year: ++startYear,\n },\n };\n }\n\n prevYear() {\n let startYear = this.navigationDates.start.year;\n this.navigationDates = {\n ...this.navigationDates,\n start: {\n ...this.navigationDates.start,\n year: --startYear,\n },\n };\n }\n\n nextMonth() {\n const {start} = this.navigationDates;\n let startMonth = start.month;\n let startYear = start.year;\n if ((startMonth == 11 && this.range) || startMonth == 12) {\n startMonth = 1;\n startYear++;\n } else {\n startMonth++;\n }\n this.navigationDates = {\n ...this.navigationDates,\n start: {\n day: this.navigationDates.start.day,\n month: startMonth,\n year: startYear,\n },\n };\n }\n\n prevMonth() {\n const {start} = this.navigationDates;\n let startMonth = start.month;\n let startYear = start.year;\n if (startMonth >= 2) {\n startMonth = --startMonth;\n } else {\n if (this.range) startMonth = 11;\n else startMonth = 12;\n startYear = --startYear;\n }\n\n this.navigationDates = {\n ...this.navigationDates,\n start: {\n day: this.navigationDates.start.day,\n year: startYear,\n month: startMonth,\n },\n };\n }\n\n selectMonth = (selectedMonth: number): void => {\n const _month = selectedMonth + 1 > 11 && this.range ? 11 : selectedMonth + 1;\n this.navigationDates.start.month = _month;\n this.navigationDates = {...this.navigationDates};\n //TODO: handle mainMode\n if (this.mode == Mode.Month) {\n this.currentDay = 1;\n this.openedCalendar = false;\n } else {\n this.prevMode = Mode.Day;\n }\n };\n\n selectYear = (selectedYear: number): void => {\n this.navigationDates = {\n ...this.navigationDates,\n start: {...this.navigationDates.start, year: selectedYear},\n };\n\n //TODO: handle mainMode\n if (this.mode == Mode.Year) {\n this.currentDay = 1;\n this.currentMonth = 1;\n this.openedCalendar = false;\n } else {\n this.prevMode = Mode.Month;\n }\n };\n\n selectDay = (selectedDay: IDayPresentation): void => {\n if (!this.range) {\n this.currentDay = Number(oneToTwoDigit(selectedDay.date));\n this.currentMonth = selectedDay.month + 1;\n this.currentYear = selectedDay.year;\n const _month = this.currentMonth > 11 && this.range ? 11 : this.currentMonth;\n this.navigationDates = {\n ...this.navigationDates,\n start: {\n month: _month,\n day: this.currentDay,\n year: selectedDay.year,\n },\n };\n } else {\n this.selectDateRange(selectedDay);\n }\n\n //TODO: handle mainMode\n this.prevMode = Mode.Day;\n if (!this.range) this.openedCalendar = false;\n };\n selectDateRange(selectedDay: IDayPresentation) {\n const selectedDateDay = selectedDay.date;\n const selectedDateMonth = selectedDay.month;\n const selectedDateYear = selectedDay.year;\n const selectedDate = new Date(selectedDateYear, selectedDateMonth, selectedDateDay);\n\n const endDateDay = this.endDay;\n const endDateMonth = this.endMonth - 1;\n const endDateYear = this.endYear;\n const endDate = new Date(endDateYear, endDateMonth, endDateDay);\n\n const startDateDay = this.currentDay;\n const startDateMonth = this.currentMonth - 1;\n const startDateYear = this.currentYear;\n const startDate = new Date(startDateYear, startDateMonth, startDateDay);\n\n if (\n !startDate ||\n (endDate &&\n startDate &&\n (selectedDate.getTime() < startDate.getTime() || selectedDate.getTime() < endDate.getTime())) ||\n (startDate && !endDate && selectedDate.getTime() < startDate.getTime())\n ) {\n this.currentDay = Number(oneToTwoDigit(selectedDay.date));\n this.currentMonth = selectedDay.month + 1;\n this.currentYear = selectedDay.year;\n const _month = this.currentMonth > 11 && this.range ? 11 : this.currentMonth;\n this.navigationDates = {\n ...this.navigationDates,\n start: {\n month: _month,\n day: this.currentDay,\n year: selectedDay.year,\n },\n };\n } else if (\n (startDate && !endDate && selectedDate.getTime() > startDate.getTime()) ||\n (startDate && selectedDate.getTime() > startDate.getTime()) ||\n (endDate && startDate && selectedDate.getTime() > endDate.getTime())\n ) {\n const _month = selectedDay.month + 1 > 12 ? 11 : selectedDay.month + 1;\n this.endDay = Number(oneToTwoDigit(selectedDay.date));\n this.endMonth = _month;\n this.endYear = selectedDay.year;\n }\n }\n toggleMonthView(): void {\n if (this.prevMode != Mode.Month) {\n this.prevMode = Mode.Month;\n }\n }\n\n toggleYearView(): void {\n if (this.prevMode != Mode.Year) {\n this.prevMode = Mode.Year;\n }\n }\n inputChanged(inputChangedEvent: CustomEvent): void {\n this.dateValue = inputChangedEvent.detail.value;\n }\n onFocus() {\n this.openedCalendar = true;\n }\n\n renderContainer(isRange = false): TemplateResult | typeof nothing {\n switch (this.prevMode) {\n case Mode.Day:\n return renderDays(\n this.weekdaysShort,\n this.navigationDates,\n this.selectDay,\n {\n curentYear: this.currentYear,\n currentMonth: this.currentMonth,\n currentDay: this.currentDay,\n endYear: this.endYear,\n endMonth: this.endMonth,\n endDay: this.endDay,\n },\n isRange,\n this.days\n );\n case Mode.Month:\n return renderMonthsTemplate(this.monthsShort, this.currentMonth, this.selectMonth);\n case Mode.Year:\n return renderYearsTemplate(this.navigationDates.start.year, this.selectYear);\n default:\n return nothing;\n }\n }\n\n renderCalendarHeader() {\n return html`\n <div class=\"year-month-header\">\n ${\n this.mode !== Mode.Year\n ? html`<hy-button @click=${this.toggleMonthView} class=\"toggle-month-view\">\n ${capitalizeFirstLetter(this.months[this.navigationDates.start.month - 1])}\n ${this.range && this.prevMode === Mode.Day\n ? ' - ' + capitalizeFirstLetter(this.months[this.navigationDates.start.month])\n : nothing}\n </hy-button> `\n : nothing\n } \n \n <div class=\"current-year-container\">\n <hy-button class=\"toggle-year-view\" @click=${this.toggleYearView}>${\n this.navigationDates.start.year\n }</hy-button>\n <div class=\"year-icons-toggler\">\n <hy-button class=\"next-year\" .icon=${['caret-up']} @click=${() => this.nextYear()}></hy-button>\n <hy-button class=\"previous-year\" .icon=${['caret-down']} @click=${() => this.prevYear()}></hy-button>\n </div>\n </div>\n </div>\n </div>\n `;\n }\n\n renderCalendar() {\n return html` <div\n class=\"calendar-container ${this.range && this.prevMode === Mode.Day ? 'calendar-container-range' : EMPTY_STRING}\"\n >\n <div class=\"calendar-header\">\n <hy-button\n type=\"text\"\n class=\"header-prev-button prev-month\"\n .icon=\"${['angle-left']}\"\n @click=${() => this.prevMonth()}\n ></hy-button>\n ${this.renderCalendarHeader()}\n\n <hy-button\n type=\"text\"\n class=\"header-next-button next-month\"\n .icon=\"${['angle-right']}\"\n @click=${() => this.nextMonth()}\n ></hy-button>\n </div>\n <span class=\"day-containers\">\n ${this.renderContainer()}\n ${this.range && this.prevMode === Mode.Day ? this.renderContainer(this.range) : nothing}\n </span>\n </div>`;\n }\n override disconnectedCallback() {\n super.disconnectedCallback();\n document.removeEventListener('click', this._onClickOutside.bind(this));\n document.removeEventListener('scroll', this.positionCalendar);\n }\n\n override render(): TemplateResult {\n return html`\n <hy-input\n id=\"date-input\"\n .type=${this.INPUT_TYPE}\n .value=${this.inputFieldValue}\n .size=${this.size}\n .state=${this.state}\n .disabled=${this.disabled}\n @valueChange=${this.inputChanged}\n @focus=${this.onFocus}\n >\n ${this.label ? html` <span slot=\"label\">${this.label}</span> ` : nothing}\n ${this.helper ? html` <span slot=\"helper-text\">${this.helper}</span> ` : nothing}\n </hy-input>\n ${this.openedCalendar ? this.renderCalendar() : nothing}\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'hy-datepicker': HyDatePickerElement;\n }\n // eslint-disable-next-line @typescript-eslint/no-namespace\n namespace JSX {\n interface IntrinsicElements {\n 'hy-datepicker':\n | React.DetailedHTMLProps<React.HTMLAttributes<HyDatePickerElement>, HyDatePickerElement>\n | Partial<HyDatePickerElement>;\n }\n }\n}"]}
|
|
1
|
+
{"version":3,"file":"date-picker.component.js","sourceRoot":"","sources":["../../../src/components/datepicker/date-picker.component.ts"],"names":[],"mappings":"AAAA,yCAAyC;AACzC,uDAAuD;AACvD;;;;GAIG;;;;;;;;;;;;;;;;AAEH,OAAO,EAAC,UAAU,EAAE,IAAI,EAAE,OAAO,EAAiC,MAAM,KAAK,CAAC;AAC9E,OAAO,EAAC,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAC,MAAM,mBAAmB,CAAC;AACxE,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,eAAe,EAAC,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAC,MAAM,EAAC,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAoC,IAAI,EAAC,MAAM,uBAAuB,CAAC;AAC9E,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAC,mBAAmB,EAAC,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAC,UAAU,EAAC,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAC,aAAa,EAAC,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAC,qBAAqB,EAAC,MAAM,yBAAyB,CAAC;AAC9D,OAAO,yBAAyB,CAAC;AAEjC,OAAO,EAAC,YAAY,EAAC,MAAM,gBAAgB,CAAC;AAE5C,IAAa,mBAAmB,GAAhC,MAAa,mBAAoB,SAAQ,UAAU;IAAnD;;QACE,UAAK,GAAG,KAAK,EAAE,CAAC;QAKhB,WAAM,GAAG,IAAI,CAAC;QAGd,SAAI,GAAG,IAAI,CAAC,GAAG,CAAC;QAGhB,UAAK,GAAG,KAAK,CAAC;QAGd,aAAQ,GAAG,IAAI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I,EAAE,OAAO,EAAC,CAAC;qDACxB;AA1FN,mBAAmB;IAD/B,aAAa,CAAC,eAAe,CAAC;GAClB,mBAAmB,CA0d/B;SA1dY,mBAAmB","sourcesContent":["/* eslint-disable no-case-declarations */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n/**\n * @license\n * Copyright 2023 Google Laabidi Aymen\n * SPDX-License-Identifier: MIT\n */\n\nimport {LitElement, html, nothing, PropertyValues, TemplateResult} from 'lit';\nimport {customElement, property, query, state} from 'lit/decorators.js';\nimport dayjs from 'dayjs';\nimport {getMonthDetails} from './core/month.helper.js';\nimport {styles} from './date-picker.style.js';\nimport {IDayPresentation, INavigationDate, Mode} from './datepicker.types.js';\nimport {renderMonthsTemplate} from './templates/months.template.js';\nimport {renderYearsTemplate} from './templates/years.template.js';\nimport {renderDays} from './templates/days.template.js';\nimport {oneToTwoDigit} from './core/formatter.js';\nimport {capitalizeFirstLetter} from './core/string.helper.js';\nimport './core/locale.helper.js';\nimport {INPUT_SIZE, INPUT_STATE} from '../input/input.constant.js';\nimport {EMPTY_STRING} from './constants.js';\n@customElement('hy-datepicker')\nexport class HyDatePickerElement extends LitElement {\n today = dayjs();\n\n @property({type: String})\n name!: string;\n @property({type: String})\n locale = 'en';\n\n @property({reflect: true})\n mode = Mode.Day;\n\n @property({type: Boolean})\n range = false;\n\n @state()\n prevMode = this.mode;\n\n @property({reflect: true, type: Boolean})\n openedCalendar = false;\n\n @state()\n monthsShort = dayjs().localeData().monthsShort()\n \n @state()\n months = dayjs().localeData().months();\n\n @state()\n days = dayjs().localeData().weekdays();\n\n @state()\n weekdaysShort = dayjs().localeData().weekdaysShort();\n\n @state()\n currentYear = this.today.year();\n\n @state()\n currentDay = this.today.date();\n\n @state()\n currentMonth = this.today.month() + 1;\n\n @state()\n endYear!: number;\n\n @state()\n endDay!: number;\n\n @state()\n endMonth!: number;\n\n @state()\n inputFieldValue = '';\n\n @property({type: String})\n fieldFormat = 'DD/MM/YYYY';\n\n @property({type: String})\n dateValue = '';\n\n @state()\n navigationDates: INavigationDate = {\n start: {\n year: this.currentYear,\n month: this.currentMonth,\n day: this.currentDay,\n },\n };\n\n @query('#date-input')\n dateInput!: HTMLElement;\n\n @query('.calendar-container')\n calendarContainer!: HTMLElement;\n\n @state()\n daysPresentation!: IDayPresentation[];\n\n @property()\n size = INPUT_SIZE.Medium;\n\n @property()\n state = INPUT_STATE.Default;\n\n @property()\n label!: string;\n\n @property()\n helper!: string;\n\n @property({reflect: true, type: Boolean})\n disabled = false;\n\n INPUT_TYPE = 'calendar';\n\n static override styles = styles;\n\n override connectedCallback() {\n super.connectedCallback();\n document.addEventListener('click', this._onClickOutside.bind(this));\n document.addEventListener('scroll', this.positionCalendar);\n }\n override firstUpdated() {\n if (this.range) {\n this.endYear = this.currentYear;\n this.endMonth = this.currentMonth;\n this.endDay = this.currentDay;\n }\n this.fillInputField()\n }\n override willUpdate(changedProperties: PropertyValues) {\n if(changedProperties.has('fieldFormat')){\n this.fillInputField()\n }\n if (changedProperties.has('openedCalendar') && this.openedCalendar) {\n this.daysPresentation = getMonthDetails(this.currentYear, this.currentMonth - 1, this.days);\n this.positionCalendar();\n }\n if (changedProperties.has('dateValue') && this.dateValue) {\n const dateObj = dayjs(this.dateValue, this.fieldFormat, true);\n if (dateObj.isValid()) {\n const {years, months, date} = dateObj.toObject();\n this.currentYear = years;\n this.currentMonth = months + 1;\n this.currentDay = date;\n this.navigationDates = {...this.navigationDates, start: {year: years, month: months + 1, day: date}};\n }\n }\n if (\n (changedProperties.has('currentDay') && changedProperties.get('currentDay')) ||\n (changedProperties.has('currentMonth') && changedProperties.get('currentMonth')) ||\n (changedProperties.has('currentYear') && changedProperties.get('currentYear'))\n ) { \n this.fillInputField()\n this.dispatchDateChange();\n }\n if (changedProperties.has('locale')) {\n this.updateLocale(this.locale);\n }\n }\n\n _onClickOutside(e: MouseEvent) {\n if (!e.composedPath().includes(this)) {\n this.openedCalendar = false;\n }\n }\n\n toggleCaldendar() {\n this.openedCalendar = !this.openedCalendar;\n }\n fillInputField(){\n this.inputFieldValue = this.range\n ? dayjs(`${this.currentYear}-${this.currentMonth}-${this.currentDay}`).format(this.fieldFormat) +\n '-' +\n dayjs(`${this.endYear}-${this.endMonth}-${this.endDay}`).format(this.fieldFormat)\n : dayjs(`${this.currentYear}-${this.currentMonth}-${this.currentDay}`).format(this.fieldFormat);\n }\n\n dispatchDateChange() {\n this.dispatchEvent(\n new CustomEvent('date-change', {bubbles: true, composed: true, detail: {value: this.inputFieldValue}})\n );\n }\n\n positionCalendar = async () => {\n if (this.openedCalendar) {\n await this.updateComplete;\n const dateInput = this.shadowRoot!.querySelector('#date-input')!;\n const calendarHeight = this.calendarContainer.getBoundingClientRect().height;\n const dateInputRect = dateInput.getBoundingClientRect();\n const availableBottomSpace = window.visualViewport!.height - dateInputRect.bottom;\n const availableTopSpace = dateInputRect.top;\n this.calendarContainer.style.removeProperty('top');\n this.calendarContainer.style.removeProperty('position');\n if (calendarHeight > availableBottomSpace && availableTopSpace > calendarHeight) {\n const inputElement = dateInput.shadowRoot!.querySelector('#input-container')!;\n const inputBorderTop = +getComputedStyle(inputElement).borderTopWidth.split('px')[0];\n this.calendarContainer.style.top = `${availableTopSpace - calendarHeight - inputBorderTop}px`;\n this.calendarContainer.style.position = 'fixed';\n }\n }\n };\n\n updateLocale(locale: string): void {\n dayjs.locale(locale);\n this.monthsShort = dayjs().localeData().monthsShort();\n this.months = dayjs().localeData().months();\n this.weekdaysShort = dayjs().localeData().weekdaysShort();\n this.days = dayjs().localeData().weekdays();\n }\n\n nextYear() {\n let startYear = this.navigationDates.start.year;\n this.navigationDates = {\n ...this.navigationDates,\n start: {\n ...this.navigationDates.start,\n year: ++startYear,\n },\n };\n }\n\n prevYear() {\n let startYear = this.navigationDates.start.year;\n this.navigationDates = {\n ...this.navigationDates,\n start: {\n ...this.navigationDates.start,\n year: --startYear,\n },\n };\n }\n\n nextMonth() {\n const {start} = this.navigationDates;\n let startMonth = start.month;\n let startYear = start.year;\n if ((startMonth == 11 && this.range) || startMonth == 12) {\n startMonth = 1;\n startYear++;\n } else {\n startMonth++;\n }\n this.navigationDates = {\n ...this.navigationDates,\n start: {\n day: this.navigationDates.start.day,\n month: startMonth,\n year: startYear,\n },\n };\n }\n\n prevMonth() {\n const {start} = this.navigationDates;\n let startMonth = start.month;\n let startYear = start.year;\n if (startMonth >= 2) {\n startMonth = --startMonth;\n } else {\n if (this.range) startMonth = 11;\n else startMonth = 12;\n startYear = --startYear;\n }\n\n this.navigationDates = {\n ...this.navigationDates,\n start: {\n day: this.navigationDates.start.day,\n year: startYear,\n month: startMonth,\n },\n };\n }\n\n selectMonth = (selectedMonth: number): void => {\n const _month = selectedMonth + 1 > 11 && this.range ? 11 : selectedMonth + 1;\n this.navigationDates.start.month = _month;\n this.navigationDates = {...this.navigationDates};\n //TODO: handle mainMode\n if (this.mode == Mode.Month) {\n this.currentDay = 1;\n this.openedCalendar = false;\n } else {\n this.prevMode = Mode.Day;\n }\n };\n\n selectYear = (selectedYear: number): void => {\n this.navigationDates = {\n ...this.navigationDates,\n start: {...this.navigationDates.start, year: selectedYear},\n };\n\n //TODO: handle mainMode\n if (this.mode == Mode.Year) {\n this.currentDay = 1;\n this.currentMonth = 1;\n this.openedCalendar = false;\n } else {\n this.prevMode = Mode.Month;\n }\n };\n\n selectDay = (selectedDay: IDayPresentation): void => {\n if (!this.range) {\n this.currentDay = Number(oneToTwoDigit(selectedDay.date));\n this.currentMonth = selectedDay.month + 1;\n this.currentYear = selectedDay.year;\n const _month = this.currentMonth > 11 && this.range ? 11 : this.currentMonth;\n this.navigationDates = {\n ...this.navigationDates,\n start: {\n month: _month,\n day: this.currentDay,\n year: selectedDay.year,\n },\n };\n } else {\n this.selectDateRange(selectedDay);\n }\n\n //TODO: handle mainMode\n this.prevMode = Mode.Day;\n if (!this.range) this.openedCalendar = false;\n };\n selectDateRange(selectedDay: IDayPresentation) {\n const selectedDateDay = selectedDay.date;\n const selectedDateMonth = selectedDay.month;\n const selectedDateYear = selectedDay.year;\n const selectedDate = new Date(selectedDateYear, selectedDateMonth, selectedDateDay);\n\n const endDateDay = this.endDay;\n const endDateMonth = this.endMonth - 1;\n const endDateYear = this.endYear;\n const endDate = new Date(endDateYear, endDateMonth, endDateDay);\n\n const startDateDay = this.currentDay;\n const startDateMonth = this.currentMonth - 1;\n const startDateYear = this.currentYear;\n const startDate = new Date(startDateYear, startDateMonth, startDateDay);\n\n if (\n !startDate ||\n (endDate &&\n startDate &&\n (selectedDate.getTime() < startDate.getTime() || selectedDate.getTime() < endDate.getTime())) ||\n (startDate && !endDate && selectedDate.getTime() < startDate.getTime())\n ) {\n this.currentDay = Number(oneToTwoDigit(selectedDay.date));\n this.currentMonth = selectedDay.month + 1;\n this.currentYear = selectedDay.year;\n const _month = this.currentMonth > 11 && this.range ? 11 : this.currentMonth;\n this.navigationDates = {\n ...this.navigationDates,\n start: {\n month: _month,\n day: this.currentDay,\n year: selectedDay.year,\n },\n };\n } else if (\n (startDate && !endDate && selectedDate.getTime() > startDate.getTime()) ||\n (startDate && selectedDate.getTime() > startDate.getTime()) ||\n (endDate && startDate && selectedDate.getTime() > endDate.getTime())\n ) {\n const _month = selectedDay.month + 1 > 12 ? 11 : selectedDay.month + 1;\n this.endDay = Number(oneToTwoDigit(selectedDay.date));\n this.endMonth = _month;\n this.endYear = selectedDay.year;\n }\n }\n toggleMonthView(): void {\n if (this.prevMode != Mode.Month) {\n this.prevMode = Mode.Month;\n }\n }\n\n toggleYearView(): void {\n if (this.prevMode != Mode.Year) {\n this.prevMode = Mode.Year;\n }\n }\n inputChanged(inputChangedEvent: CustomEvent): void {\n this.dateValue = inputChangedEvent.detail.value;\n }\n onFocus() {\n this.openedCalendar = true;\n }\n\n renderContainer(isRange = false): TemplateResult | typeof nothing {\n switch (this.prevMode) {\n case Mode.Day:\n return renderDays(\n this.weekdaysShort,\n this.navigationDates,\n this.selectDay,\n {\n curentYear: this.currentYear,\n currentMonth: this.currentMonth,\n currentDay: this.currentDay,\n endYear: this.endYear,\n endMonth: this.endMonth,\n endDay: this.endDay,\n },\n isRange,\n this.days\n );\n case Mode.Month:\n return renderMonthsTemplate(this.monthsShort, this.currentMonth, this.selectMonth);\n case Mode.Year:\n return renderYearsTemplate(this.navigationDates.start.year, this.selectYear);\n default:\n return nothing;\n }\n }\n\n renderCalendarHeader() {\n return html`\n <div class=\"year-month-header\">\n ${\n this.mode !== Mode.Year\n ? html`<hy-button @click=${this.toggleMonthView} class=\"toggle-month-view\">\n ${capitalizeFirstLetter(this.months[this.navigationDates.start.month - 1])}\n ${this.range && this.prevMode === Mode.Day\n ? ' - ' + capitalizeFirstLetter(this.months[this.navigationDates.start.month])\n : nothing}\n </hy-button> `\n : nothing\n } \n \n <div class=\"current-year-container\">\n <hy-button class=\"toggle-year-view\" @click=${this.toggleYearView}>${\n this.navigationDates.start.year\n }</hy-button>\n <div class=\"year-icons-toggler\">\n <hy-button class=\"next-year\" .icon=${['caret-up']} @click=${() => this.nextYear()}></hy-button>\n <hy-button class=\"previous-year\" .icon=${['caret-down']} @click=${() => this.prevYear()}></hy-button>\n </div>\n </div>\n </div>\n </div>\n `;\n }\n\n renderCalendar() {\n return html` <div\n class=\"calendar-container ${this.range && this.prevMode === Mode.Day ? 'calendar-container-range' : EMPTY_STRING}\"\n >\n <div class=\"calendar-header\">\n <hy-button\n type=\"text\"\n class=\"header-prev-button prev-month\"\n .icon=\"${['angle-left']}\"\n @click=${() => this.prevMonth()}\n ></hy-button>\n ${this.renderCalendarHeader()}\n\n <hy-button\n type=\"text\"\n class=\"header-next-button next-month\"\n .icon=\"${['angle-right']}\"\n @click=${() => this.nextMonth()}\n ></hy-button>\n </div>\n <span class=\"day-containers\">\n ${this.renderContainer()}\n ${this.range && this.prevMode === Mode.Day ? this.renderContainer(this.range) : nothing}\n </span>\n </div>`;\n }\n override disconnectedCallback() {\n super.disconnectedCallback();\n document.removeEventListener('click', this._onClickOutside.bind(this));\n document.removeEventListener('scroll', this.positionCalendar);\n }\n\n override render(): TemplateResult {\n return html`\n <hy-input\n id=\"date-input\"\n .type=${this.INPUT_TYPE}\n .value=${this.inputFieldValue}\n .size=${this.size}\n .state=${this.state}\n .disabled=${this.disabled}\n @valueChange=${this.inputChanged}\n @focus=${this.onFocus}\n >\n ${this.label ? html` <span slot=\"label\">${this.label}</span> ` : nothing}\n ${this.helper ? html` <span slot=\"helper-text\">${this.helper}</span> ` : nothing}\n </hy-input>\n ${this.openedCalendar ? this.renderCalendar() : nothing}\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'hy-datepicker': HyDatePickerElement;\n }\n // eslint-disable-next-line @typescript-eslint/no-namespace\n namespace JSX {\n interface IntrinsicElements {\n 'hy-datepicker':\n | React.DetailedHTMLProps<React.HTMLAttributes<HyDatePickerElement>, HyDatePickerElement>\n | Partial<HyDatePickerElement>;\n }\n }\n}"]}
|
package/date-picker.style.js
CHANGED
|
@@ -176,7 +176,7 @@ const calendarStyles = css `
|
|
|
176
176
|
line-height: var(--hybrid-datepicker-large-year-container-line-height);
|
|
177
177
|
}
|
|
178
178
|
:host {
|
|
179
|
-
--hybrid-datepicker-font-family:
|
|
179
|
+
--hybrid-datepicker-font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif, "system-ui", "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, SFProLocalRange;
|
|
180
180
|
--hybrid-datepicker-background-color: #f9f9f9;
|
|
181
181
|
--hybrid-datepicker-toggle-month-year-font-weight: bold;
|
|
182
182
|
--hybrid-datepicker-button-background-color: #f9f9f9;
|
package/date-picker.style.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date-picker.style.js","sourceRoot":"","sources":["../../../src/components/datepicker/date-picker.style.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,KAAK,CAAC;AAExB,MAAM,cAAc,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2NzB,CAAC;AACF,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,cAAc,CAAC,CAAC","sourcesContent":["import {css} from 'lit';\n\nconst calendarStyles = css`\n :host {\n font-family: var(--hybrid-datepicker-font-family);\n }\n .calendar-container {\n z-index: 10000;\n user-select: none;\n padding: 5px;\n width: 350px;\n float: left;\n text-align: center;\n position: absolute;\n background-color: var(--hybrid-datepicker-background-color);\n }\n hy-button {\n --hybrid-button-border-top: 1px solid transparent;\n --hybrid-button-border-bottom: 1px solid transparent;\n --hybrid-button-border-left: 1px solid transparent;\n --hybrid-button-border-right: 1px solid transparent;\n --hybrid-button-background-color: var(--hybrid-datepicker-button-background-color);\n --hybrid-button-text-color: var(--hybrid-datepicker-button-text-color);\n }\n .toggle-year-view,\n .toggle-month-view {\n --hybrid-button-font-weight: var(--hybrid-datepicker-toggle-month-year-font-weight);\n }\n .current-year-container {\n display: inline-flex;\n gap: 5px;\n }\n .year-icons-toggler {\n display: none;\n flex-direction: column;\n line-height: 0;\n }\n .next-year,\n .previous-year {\n --hybrid-button-width: 10px;\n --hybrid-button-height: 10px;\n --hybrid-button-padding-x: 0px;\n --hybrid-button-padding-y: 0px;\n --hybrid-button-hover-border-color: transparent;\n --hybrid-button-active-border-color: transparent;\n }\n .calendar-container-range {\n width: 600px;\n }\n\n .header-next-button {\n float: right;\n }\n\n .header-prev-button {\n float: left;\n }\n\n .day-containers {\n display: flex;\n flex-flow: row;\n width: 100%;\n }\n .days-container {\n color: var(--hybrid-datepicker-day-container-color);\n display: flex;\n flex-grow: 1;\n flex-wrap: wrap;\n }\n\n .day-container,\n .day-header-item {\n width: 13%;\n height: var(--hybrid-datepicker-day-container-height);\n font-size: 13px;\n margin: 2px;\n cursor: pointer;\n line-height: 2.5;\n }\n\n :host([size='small']) .day-container {\n height: var(--hybrid-datepicker-small-day-container-height);\n }\n :host([size='large']) .day-container {\n height: var(--hybrid-datepicker-large-day-container-height);\n }\n\n :not(.day-active).day-container:hover {\n background-color: var(--hybrid-datepicker-day-container-hover-background-color);\n }\n\n .day-active,\n .month-active,\n .year-active {\n background-color: var(--hybrid-datepicker-current-day-month-year-background-color);\n color: var(--hybrid-datepicker-current-day-month-year-color);\n }\n .today {\n position: relative;\n }\n :not(.day-active).today {\n color: var(--hybrid-datepicker-today-color);\n }\n .current-year-container:hover > .year-icons-toggler {\n display: inline-flex;\n }\n .today::after {\n content: '';\n display: block;\n width: 4px;\n height: 4px;\n background-color: var(--hybrid-datepicker-today-underline-color);\n position: absolute;\n top: 75%;\n right: 50%;\n transform: translate(50%);\n }\n .day-header-item {\n cursor: auto;\n }\n .day-invalid {\n color: var(--hybrid-datepicker-day-invalid-color);\n }\n .day-invalid:hover {\n background-color: var(--hybrid-datepicker-day-invalid-hover-background-color);\n }\n .year-month-header {\n display: inline-block;\n line-height: 2;\n }\n\n .months-container {\n display: flex;\n flex-grow: 1;\n flex-wrap: wrap;\n color: var(--hybrid-datepicker-month-container-color);\n }\n\n .month-container {\n width: 33%;\n line-height: var(--hybrid-datepicker-month-container-line-height);\n cursor: pointer;\n font-size: 13px;\n }\n :not(.month-active).month-container:hover {\n background-color: var(--hybrid-datepicker-month-container-hover-background-color);\n }\n\n :host([size='small']) .month-container {\n line-height: var(--hybrid-datepicker-small-month-container-line-height);\n }\n :host([size='large']) .month-container {\n line-height: var(--hybrid-datepicker-large-month-container-line-height);\n }\n\n .years-container {\n display: flex;\n flex-grow: 1;\n flex-wrap: wrap;\n color: var(--hybrid-datepicker-year-container-color);\n }\n\n .year-container {\n width: 33%;\n line-height: var(--hybrid-datepicker-year-container-line-height);\n cursor: pointer;\n font-size: 13px;\n }\n :not(.year-active).year-container:hover {\n background-color: var(--hybrid-datepicker-year-container-hover-background-color);\n }\n\n :host([size='small']) .year-container {\n line-height: var(--hybrid-datepicker-small-year-container-line-height);\n }\n :host([size='large']) .year-container {\n line-height: var(--hybrid-datepicker-large-year-container-line-height);\n }\n :host {\n --hybrid-datepicker-font-family:
|
|
1
|
+
{"version":3,"file":"date-picker.style.js","sourceRoot":"","sources":["../../../src/components/datepicker/date-picker.style.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,KAAK,CAAC;AAExB,MAAM,cAAc,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2NzB,CAAC;AACF,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,cAAc,CAAC,CAAC","sourcesContent":["import {css} from 'lit';\n\nconst calendarStyles = css`\n :host {\n font-family: var(--hybrid-datepicker-font-family);\n }\n .calendar-container {\n z-index: 10000;\n user-select: none;\n padding: 5px;\n width: 350px;\n float: left;\n text-align: center;\n position: absolute;\n background-color: var(--hybrid-datepicker-background-color);\n }\n hy-button {\n --hybrid-button-border-top: 1px solid transparent;\n --hybrid-button-border-bottom: 1px solid transparent;\n --hybrid-button-border-left: 1px solid transparent;\n --hybrid-button-border-right: 1px solid transparent;\n --hybrid-button-background-color: var(--hybrid-datepicker-button-background-color);\n --hybrid-button-text-color: var(--hybrid-datepicker-button-text-color);\n }\n .toggle-year-view,\n .toggle-month-view {\n --hybrid-button-font-weight: var(--hybrid-datepicker-toggle-month-year-font-weight);\n }\n .current-year-container {\n display: inline-flex;\n gap: 5px;\n }\n .year-icons-toggler {\n display: none;\n flex-direction: column;\n line-height: 0;\n }\n .next-year,\n .previous-year {\n --hybrid-button-width: 10px;\n --hybrid-button-height: 10px;\n --hybrid-button-padding-x: 0px;\n --hybrid-button-padding-y: 0px;\n --hybrid-button-hover-border-color: transparent;\n --hybrid-button-active-border-color: transparent;\n }\n .calendar-container-range {\n width: 600px;\n }\n\n .header-next-button {\n float: right;\n }\n\n .header-prev-button {\n float: left;\n }\n\n .day-containers {\n display: flex;\n flex-flow: row;\n width: 100%;\n }\n .days-container {\n color: var(--hybrid-datepicker-day-container-color);\n display: flex;\n flex-grow: 1;\n flex-wrap: wrap;\n }\n\n .day-container,\n .day-header-item {\n width: 13%;\n height: var(--hybrid-datepicker-day-container-height);\n font-size: 13px;\n margin: 2px;\n cursor: pointer;\n line-height: 2.5;\n }\n\n :host([size='small']) .day-container {\n height: var(--hybrid-datepicker-small-day-container-height);\n }\n :host([size='large']) .day-container {\n height: var(--hybrid-datepicker-large-day-container-height);\n }\n\n :not(.day-active).day-container:hover {\n background-color: var(--hybrid-datepicker-day-container-hover-background-color);\n }\n\n .day-active,\n .month-active,\n .year-active {\n background-color: var(--hybrid-datepicker-current-day-month-year-background-color);\n color: var(--hybrid-datepicker-current-day-month-year-color);\n }\n .today {\n position: relative;\n }\n :not(.day-active).today {\n color: var(--hybrid-datepicker-today-color);\n }\n .current-year-container:hover > .year-icons-toggler {\n display: inline-flex;\n }\n .today::after {\n content: '';\n display: block;\n width: 4px;\n height: 4px;\n background-color: var(--hybrid-datepicker-today-underline-color);\n position: absolute;\n top: 75%;\n right: 50%;\n transform: translate(50%);\n }\n .day-header-item {\n cursor: auto;\n }\n .day-invalid {\n color: var(--hybrid-datepicker-day-invalid-color);\n }\n .day-invalid:hover {\n background-color: var(--hybrid-datepicker-day-invalid-hover-background-color);\n }\n .year-month-header {\n display: inline-block;\n line-height: 2;\n }\n\n .months-container {\n display: flex;\n flex-grow: 1;\n flex-wrap: wrap;\n color: var(--hybrid-datepicker-month-container-color);\n }\n\n .month-container {\n width: 33%;\n line-height: var(--hybrid-datepicker-month-container-line-height);\n cursor: pointer;\n font-size: 13px;\n }\n :not(.month-active).month-container:hover {\n background-color: var(--hybrid-datepicker-month-container-hover-background-color);\n }\n\n :host([size='small']) .month-container {\n line-height: var(--hybrid-datepicker-small-month-container-line-height);\n }\n :host([size='large']) .month-container {\n line-height: var(--hybrid-datepicker-large-month-container-line-height);\n }\n\n .years-container {\n display: flex;\n flex-grow: 1;\n flex-wrap: wrap;\n color: var(--hybrid-datepicker-year-container-color);\n }\n\n .year-container {\n width: 33%;\n line-height: var(--hybrid-datepicker-year-container-line-height);\n cursor: pointer;\n font-size: 13px;\n }\n :not(.year-active).year-container:hover {\n background-color: var(--hybrid-datepicker-year-container-hover-background-color);\n }\n\n :host([size='small']) .year-container {\n line-height: var(--hybrid-datepicker-small-year-container-line-height);\n }\n :host([size='large']) .year-container {\n line-height: var(--hybrid-datepicker-large-year-container-line-height);\n }\n :host {\n --hybrid-datepicker-font-family: Inter, ui-sans-serif, system-ui, -apple-system, \"Segoe UI\", Roboto, Ubuntu, Cantarell, \"Noto Sans\", sans-serif, \"system-ui\", \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, \"Noto Sans\", sans-serif, SFProLocalRange;\n --hybrid-datepicker-background-color: #f9f9f9;\n --hybrid-datepicker-toggle-month-year-font-weight: bold;\n --hybrid-datepicker-button-background-color: #f9f9f9;\n --hybrid-datepicker-button-text-color: #393939;\n\n --hybrid-datepicker-year-container-line-height: 4.3;\n --hybrid-datepicker-small-year-container-line-height: 3.3;\n --hybrid-datepicker-large-year-container-line-height: 5.3;\n --hybrid-datepicker-year-container-hover-background-color: #e4e4e4;\n --hybrid-datepicker-month-container-line-height: 4.3;\n --hybrid-datepicker-small-month-container-line-height: 3.3;\n --hybrid-datepicker-large-month-container-line-height: 5.3;\n --hybrid-datepicker-month-container-hover-background-color: #e4e4e4;\n --hybrid-datepicker-day-container-height: 30px;\n --hybrid-datepicker-day-container-color: #000000;\n --hybrid-datepicker-month-container-color: #000000;\n --hybrid-datepicker-year-container-color: #000000;\n --hybrid-datepicker-small-day-container-height: 25px;\n --hybrid-datepicker-large-day-container-height: 35px;\n --hybrid-datepicker-day-container-hover-background-color: #e4e4e4;\n --hybrid-datepicker-day-invalid-color: #9a9a9a;\n --hybrid-datepicker-day-invalid-hover-background-color: #e6e6e6;\n --hybrid-datepicker-current-day-month-year-background-color: #0f62fe;\n --hybrid-datepicker-current-day-month-year-color: #ffffff;\n --hybrid-datepicker-today-underline-color: #0f62fe;\n --hybrid-datepicker-today-color: #0f62fe;\n }\n @media (prefers-color-scheme: dark) {\n :host {\n --hybrid-datepicker-background-color: #000000;\n --hybrid-datepicker-day-container-color: #ffffff;\n --hybrid-datepicker-month-container-color: #ffffff;\n --hybrid-datepicker-year-container-color: #ffffff;\n --hybrid-datepicker-button-background-color: #000000;\n --hybrid-datepicker-button-text-color: #ffffff;\n --hybrid-datepicker-day-container-hover-background-color: #393939;\n --hybrid-datepicker-day-invalid-hover-background-color: #393939;\n --hybrid-datepicker-month-container-hover-background-color: #393939;\n --hybrid-datepicker-year-container-hover-background-color: #393939;\n }\n }\n`;\nexport const styles = [calendarStyles];\n"]}
|