toolbox-x 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/dist/Color-B3mgF9Dh.d.cts +486 -0
- package/dist/Color-D38Xrw65.d.mts +486 -0
- package/dist/Stylog-Df7eq3-j.d.cts +519 -0
- package/dist/Stylog-jvlLcMQq.d.mts +519 -0
- package/dist/array-DvW0zIu6.d.mts +130 -0
- package/dist/array-rUnEVisO.d.cts +130 -0
- package/dist/basics-D_eSv0cu.cjs +132 -0
- package/dist/basics-Dp_aEK81.mjs +115 -0
- package/dist/basics-WEYWlnRO.d.cts +95 -0
- package/dist/basics-uBSfkBEI.d.mts +95 -0
- package/dist/case-BWIt8Ash.mjs +449 -0
- package/dist/case-C-S-b5YP.d.cts +327 -0
- package/dist/case-CS8Ii3A7.cjs +526 -0
- package/dist/case-CybASFPD.d.mts +327 -0
- package/dist/change-case.cjs +32 -0
- package/dist/change-case.d.cts +18 -0
- package/dist/change-case.d.mts +18 -0
- package/dist/change-case.mjs +19 -0
- package/dist/colors.cjs +574 -0
- package/dist/colors.d.cts +355 -0
- package/dist/colors.d.mts +355 -0
- package/dist/colors.mjs +547 -0
- package/dist/constants-2gAw23_7.mjs +144 -0
- package/dist/constants-B34K0QPi.d.cts +21 -0
- package/dist/constants-BIBDKY1u.cjs +924 -0
- package/dist/constants-BWT-810U.cjs +158 -0
- package/dist/constants-BwbHnXlM.mjs +662 -0
- package/dist/constants-BxN9l5el.cjs +74 -0
- package/dist/constants-CLS_bgKD.d.mts +847 -0
- package/dist/constants-D73iFu8g.mjs +171 -0
- package/dist/constants-DAfRxaa8.mjs +62 -0
- package/dist/constants-DQYeCjlx.cjs +207 -0
- package/dist/constants-Deeie-iH.d.mts +21 -0
- package/dist/constants-DpTG9RP6.d.mts +29 -0
- package/dist/constants-DqwnkJ_d.cjs +740 -0
- package/dist/constants-DvRUY_FY.cjs +150 -0
- package/dist/constants-VcRtQu0K.d.cts +29 -0
- package/dist/constants-X5hm1UtB.mjs +912 -0
- package/dist/constants-eNd-iYsV.mjs +134 -0
- package/dist/constants-qm8FafmD.d.cts +847 -0
- package/dist/constants.cjs +415 -0
- package/dist/constants.d.cts +184 -0
- package/dist/constants.d.mts +184 -0
- package/dist/constants.mjs +378 -0
- package/dist/convert-BOCgUv2D.cjs +252 -0
- package/dist/convert-Bn4jFomQ.mjs +169 -0
- package/dist/convert-BrzlG-m_.cjs +475 -0
- package/dist/convert-DhaUoPVU.mjs +368 -0
- package/dist/converter-1P90_RcP.d.mts +402 -0
- package/dist/converter-CmkcAppi.d.cts +402 -0
- package/dist/converter.cjs +780 -0
- package/dist/converter.d.cts +29 -0
- package/dist/converter.d.mts +29 -0
- package/dist/converter.mjs +771 -0
- package/dist/countries-CIpmtEzV.cjs +1469 -0
- package/dist/countries-Cy0xiqS3.mjs +1463 -0
- package/dist/css-colors-Bx947Ng3.d.cts +179 -0
- package/dist/css-colors-CXCDqQbG.cjs +186 -0
- package/dist/css-colors-CXTp1vvy.d.mts +179 -0
- package/dist/css-colors-DfUW3nTR.mjs +180 -0
- package/dist/date.cjs +332 -0
- package/dist/date.d.cts +213 -0
- package/dist/date.d.mts +213 -0
- package/dist/date.mjs +298 -0
- package/dist/dom.cjs +461 -0
- package/dist/dom.d.cts +228 -0
- package/dist/dom.d.mts +228 -0
- package/dist/dom.mjs +429 -0
- package/dist/form-BMFVGUrN.d.mts +118 -0
- package/dist/form-DRFbryvK.d.cts +118 -0
- package/dist/guards-3kaUX66g.mjs +157 -0
- package/dist/guards-C8gkvIHb.cjs +240 -0
- package/dist/guards-DdyU4h4o.mjs +110 -0
- package/dist/guards-Efhp1mNy.cjs +151 -0
- package/dist/guards.cjs +172 -0
- package/dist/guards.d.cts +399 -0
- package/dist/guards.d.mts +399 -0
- package/dist/guards.mjs +75 -0
- package/dist/hash-B6JPEyAz.d.mts +131 -0
- package/dist/hash-NTpeKYB_.d.cts +131 -0
- package/dist/hash.cjs +2126 -0
- package/dist/hash.d.cts +1239 -0
- package/dist/hash.d.mts +1239 -0
- package/dist/hash.mjs +2095 -0
- package/dist/http-status-BAZdtr7-.d.mts +65 -0
- package/dist/http-status-U_3MtoGb.d.cts +65 -0
- package/dist/http-status.cjs +173 -0
- package/dist/http-status.d.cts +142 -0
- package/dist/http-status.d.mts +142 -0
- package/dist/http-status.mjs +171 -0
- package/dist/index.cjs +2551 -0
- package/dist/index.d.cts +1493 -0
- package/dist/index.d.mts +1493 -0
- package/dist/index.mjs +2357 -0
- package/dist/object-B0TV3eHx.d.mts +8052 -0
- package/dist/object-Blq0Amdv.d.cts +8052 -0
- package/dist/objectify-CDs0Fbr1.mjs +417 -0
- package/dist/objectify-DIJ-OBmo.cjs +524 -0
- package/dist/paginator.cjs +245 -0
- package/dist/paginator.d.cts +144 -0
- package/dist/paginator.d.mts +144 -0
- package/dist/paginator.mjs +243 -0
- package/dist/parse-2ubxXZRp.cjs +211 -0
- package/dist/parse-N7g942uy.mjs +164 -0
- package/dist/pluralizer-BjMIc6uT.d.mts +42 -0
- package/dist/pluralizer-Cb6ZmrDl.d.cts +42 -0
- package/dist/pluralizer.cjs +678 -0
- package/dist/pluralizer.d.cts +152 -0
- package/dist/pluralizer.d.mts +152 -0
- package/dist/pluralizer.mjs +676 -0
- package/dist/primitives-B26uZolQ.cjs +228 -0
- package/dist/primitives-KsFUp3kQ.mjs +144 -0
- package/dist/specials-D48_IZbd.d.mts +108 -0
- package/dist/specials-DzLr1ZgU.cjs +477 -0
- package/dist/specials-LVONlKbQ.d.cts +108 -0
- package/dist/specials-uhDuRg8H.mjs +292 -0
- package/dist/string-CBAbxaG1.d.mts +258 -0
- package/dist/string-CsNsm_65.d.cts +258 -0
- package/dist/stylog.cjs +621 -0
- package/dist/stylog.d.cts +49 -0
- package/dist/stylog.d.mts +49 -0
- package/dist/stylog.mjs +614 -0
- package/dist/timezone-B2OYK6Fh.mjs +5589 -0
- package/dist/timezone-Beh9IGpw.cjs +5625 -0
- package/dist/types/array.cjs +16 -0
- package/dist/types/array.d.cts +18 -0
- package/dist/types/array.d.mts +18 -0
- package/dist/types/array.mjs +17 -0
- package/dist/types/colors.cjs +16 -0
- package/dist/types/colors.d.cts +18 -0
- package/dist/types/colors.d.mts +18 -0
- package/dist/types/colors.mjs +17 -0
- package/dist/types/converter.cjs +16 -0
- package/dist/types/converter.d.cts +18 -0
- package/dist/types/converter.d.mts +18 -0
- package/dist/types/converter.mjs +17 -0
- package/dist/types/form.cjs +16 -0
- package/dist/types/form.d.cts +18 -0
- package/dist/types/form.d.mts +18 -0
- package/dist/types/form.mjs +17 -0
- package/dist/types/hash.cjs +16 -0
- package/dist/types/hash.d.cts +18 -0
- package/dist/types/hash.d.mts +18 -0
- package/dist/types/hash.mjs +17 -0
- package/dist/types/http-status.cjs +16 -0
- package/dist/types/http-status.d.cts +18 -0
- package/dist/types/http-status.d.mts +18 -0
- package/dist/types/http-status.mjs +17 -0
- package/dist/types/index.cjs +16 -0
- package/dist/types/index.d.cts +18 -0
- package/dist/types/index.d.mts +18 -0
- package/dist/types/index.mjs +17 -0
- package/dist/types/number.cjs +16 -0
- package/dist/types/number.d.cts +18 -0
- package/dist/types/number.d.mts +18 -0
- package/dist/types/number.mjs +17 -0
- package/dist/types/object.cjs +16 -0
- package/dist/types/object.d.cts +18 -0
- package/dist/types/object.d.mts +18 -0
- package/dist/types/object.mjs +17 -0
- package/dist/types/pluralizer.cjs +16 -0
- package/dist/types/pluralizer.d.cts +18 -0
- package/dist/types/pluralizer.d.mts +18 -0
- package/dist/types/pluralizer.mjs +17 -0
- package/dist/types/string.cjs +16 -0
- package/dist/types/string.d.cts +18 -0
- package/dist/types/string.d.mts +18 -0
- package/dist/types/string.mjs +17 -0
- package/dist/types/stylog.cjs +16 -0
- package/dist/types/stylog.d.cts +18 -0
- package/dist/types/stylog.d.mts +18 -0
- package/dist/types/stylog.mjs +17 -0
- package/dist/types/utils.cjs +16 -0
- package/dist/types/utils.d.cts +18 -0
- package/dist/types/utils.d.mts +18 -0
- package/dist/types/utils.mjs +17 -0
- package/dist/types/verbalizer.cjs +16 -0
- package/dist/types/verbalizer.d.cts +30 -0
- package/dist/types/verbalizer.d.mts +30 -0
- package/dist/types/verbalizer.mjs +17 -0
- package/dist/utilities-CLUmdQeV.cjs +140 -0
- package/dist/utilities-m5yFKqLd.mjs +105 -0
- package/dist/utils-ClW9LA6f.mjs +449 -0
- package/dist/utils-DLFRgXUC.cjs +568 -0
- package/dist/verbalizer.cjs +998 -0
- package/dist/verbalizer.d.cts +148 -0
- package/dist/verbalizer.d.mts +148 -0
- package/dist/verbalizer.mjs +996 -0
- package/package.json +249 -0
|
@@ -0,0 +1,415 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2026 - present Nazmul Hassan
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
18
|
+
const require_constants = require('./constants-DvRUY_FY.cjs');
|
|
19
|
+
const require_css_colors = require('./css-colors-CXCDqQbG.cjs');
|
|
20
|
+
const require_constants$1 = require('./constants-BxN9l5el.cjs');
|
|
21
|
+
const require_constants$2 = require('./constants-DQYeCjlx.cjs');
|
|
22
|
+
const require_timezone = require('./timezone-Beh9IGpw.cjs');
|
|
23
|
+
const require_constants$3 = require('./constants-DqwnkJ_d.cjs');
|
|
24
|
+
const require_constants$4 = require('./constants-BWT-810U.cjs');
|
|
25
|
+
const require_countries = require('./countries-CIpmtEzV.cjs');
|
|
26
|
+
const require_constants$5 = require('./constants-BIBDKY1u.cjs');
|
|
27
|
+
|
|
28
|
+
//#region src/date/seasons.ts
|
|
29
|
+
/** Western Seasons */
|
|
30
|
+
const DEFAULT_SEASONS = /* @__PURE__ */ Object.freeze([
|
|
31
|
+
{
|
|
32
|
+
name: "Spring",
|
|
33
|
+
boundary: {
|
|
34
|
+
startMonth: 2,
|
|
35
|
+
endMonth: 4
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
name: "Summer",
|
|
40
|
+
boundary: {
|
|
41
|
+
startMonth: 5,
|
|
42
|
+
endMonth: 7
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
name: "Autumn",
|
|
47
|
+
boundary: {
|
|
48
|
+
startMonth: 8,
|
|
49
|
+
endMonth: 10
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
name: "Winter",
|
|
54
|
+
boundary: {
|
|
55
|
+
startMonth: 11,
|
|
56
|
+
endMonth: 1
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
]);
|
|
60
|
+
/**Default Bangladeshi Seasons */
|
|
61
|
+
const BANGLADESH_SEASONS = /* @__PURE__ */ Object.freeze([
|
|
62
|
+
{
|
|
63
|
+
name: "Grisma (Summer)",
|
|
64
|
+
boundary: {
|
|
65
|
+
startDate: "04-15",
|
|
66
|
+
endDate: "06-14"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
name: "Barsa (Monsoon)",
|
|
71
|
+
boundary: {
|
|
72
|
+
startDate: "06-15",
|
|
73
|
+
endDate: "08-14"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
name: "Sarat (Autumn)",
|
|
78
|
+
boundary: {
|
|
79
|
+
startDate: "08-15",
|
|
80
|
+
endDate: "10-14"
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
name: "Hemanta (Late-Autumn)",
|
|
85
|
+
boundary: {
|
|
86
|
+
startDate: "10-15",
|
|
87
|
+
endDate: "12-14"
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
name: "Shhit (Winter)",
|
|
92
|
+
boundary: {
|
|
93
|
+
startDate: "12-15",
|
|
94
|
+
endDate: "02-14"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
name: "Basanta (Spring)",
|
|
99
|
+
boundary: {
|
|
100
|
+
startDate: "02-15",
|
|
101
|
+
endDate: "04-14"
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
]);
|
|
105
|
+
/** Indian Seasons */
|
|
106
|
+
const INDIA_IMD_SEASONS = /* @__PURE__ */ Object.freeze([
|
|
107
|
+
{
|
|
108
|
+
name: "Winter",
|
|
109
|
+
boundary: {
|
|
110
|
+
startMonth: 0,
|
|
111
|
+
endMonth: 1
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
name: "Pre-Monsoon",
|
|
116
|
+
boundary: {
|
|
117
|
+
startMonth: 2,
|
|
118
|
+
endMonth: 4
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
name: "Monsoon",
|
|
123
|
+
boundary: {
|
|
124
|
+
startMonth: 5,
|
|
125
|
+
endMonth: 8
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
name: "Post-Monsoon",
|
|
130
|
+
boundary: {
|
|
131
|
+
startMonth: 9,
|
|
132
|
+
endMonth: 10
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
name: "Cool Season",
|
|
137
|
+
boundary: {
|
|
138
|
+
startMonth: 11,
|
|
139
|
+
endMonth: 11
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
]);
|
|
143
|
+
/** Indian Vedic Seasons */
|
|
144
|
+
const INDIA_VEDIC_SEASONS = /* @__PURE__ */ Object.freeze([
|
|
145
|
+
{
|
|
146
|
+
name: "Shishir (Winter)",
|
|
147
|
+
boundary: {
|
|
148
|
+
startDate: "12-15",
|
|
149
|
+
endDate: "02-14"
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
name: "Vasanta (Spring)",
|
|
154
|
+
boundary: {
|
|
155
|
+
startDate: "02-15",
|
|
156
|
+
endDate: "04-14"
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
name: "Grishma (Summer)",
|
|
161
|
+
boundary: {
|
|
162
|
+
startDate: "04-15",
|
|
163
|
+
endDate: "06-14"
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
name: "Varsha (Monsoon)",
|
|
168
|
+
boundary: {
|
|
169
|
+
startDate: "06-15",
|
|
170
|
+
endDate: "08-14"
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
name: "Sharad (Autumn)",
|
|
175
|
+
boundary: {
|
|
176
|
+
startDate: "08-15",
|
|
177
|
+
endDate: "10-14"
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
name: "Hemant (Late-Autumn)",
|
|
182
|
+
boundary: {
|
|
183
|
+
startDate: "10-15",
|
|
184
|
+
endDate: "12-14"
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
]);
|
|
188
|
+
/** Indian Tamil Seasons */
|
|
189
|
+
const INDIA_TAMIL_SEASONS = /* @__PURE__ */ Object.freeze([
|
|
190
|
+
{
|
|
191
|
+
name: "Ilavenil (Mid-Summer)",
|
|
192
|
+
boundary: {
|
|
193
|
+
startMonth: 4,
|
|
194
|
+
endMonth: 5
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
name: "Mutuvenil (Peak-Summer)",
|
|
199
|
+
boundary: {
|
|
200
|
+
startMonth: 6,
|
|
201
|
+
endMonth: 7
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
name: "Kaar (Monsoon)",
|
|
206
|
+
boundary: {
|
|
207
|
+
startMonth: 7,
|
|
208
|
+
endMonth: 9
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
name: "Koothir (Autumn)",
|
|
213
|
+
boundary: {
|
|
214
|
+
startMonth: 9,
|
|
215
|
+
endMonth: 10
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
name: "Munpani (Early-Winter)",
|
|
220
|
+
boundary: {
|
|
221
|
+
startMonth: 10,
|
|
222
|
+
endMonth: 0
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
name: "Pinpani (Late-Winter)",
|
|
227
|
+
boundary: {
|
|
228
|
+
startMonth: 0,
|
|
229
|
+
endMonth: 2
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
]);
|
|
233
|
+
/** Philippines Seasons */
|
|
234
|
+
const PHILIPPINES_SEASONS = /* @__PURE__ */ Object.freeze([{
|
|
235
|
+
name: "Dry Season",
|
|
236
|
+
boundary: {
|
|
237
|
+
startMonth: 11,
|
|
238
|
+
endMonth: 4
|
|
239
|
+
}
|
|
240
|
+
}, {
|
|
241
|
+
name: "Wet Season",
|
|
242
|
+
boundary: {
|
|
243
|
+
startMonth: 5,
|
|
244
|
+
endMonth: 10
|
|
245
|
+
}
|
|
246
|
+
}]);
|
|
247
|
+
/** US Academic Seasons */
|
|
248
|
+
const US_ACADEMIC_SEASONS = /* @__PURE__ */ Object.freeze([
|
|
249
|
+
{
|
|
250
|
+
name: "Spring",
|
|
251
|
+
boundary: {
|
|
252
|
+
startDate: "01-10",
|
|
253
|
+
endDate: "05-15"
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
name: "Summer",
|
|
258
|
+
boundary: {
|
|
259
|
+
startDate: "05-16",
|
|
260
|
+
endDate: "08-15"
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
name: "Fall",
|
|
265
|
+
boundary: {
|
|
266
|
+
startDate: "08-16",
|
|
267
|
+
endDate: "12-20"
|
|
268
|
+
}
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
name: "Winter Break",
|
|
272
|
+
boundary: {
|
|
273
|
+
startDate: "12-21",
|
|
274
|
+
endDate: "01-09"
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
]);
|
|
278
|
+
/** Japanese Seasons */
|
|
279
|
+
const JAPAN_SEASONS = /* @__PURE__ */ Object.freeze([
|
|
280
|
+
{
|
|
281
|
+
name: "Haru (Spring)",
|
|
282
|
+
boundary: {
|
|
283
|
+
startDate: "03-01",
|
|
284
|
+
endDate: "05-31"
|
|
285
|
+
}
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
name: "Natsu (Summer)",
|
|
289
|
+
boundary: {
|
|
290
|
+
startDate: "06-01",
|
|
291
|
+
endDate: "08-31"
|
|
292
|
+
}
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
name: "Aki (Autumn)",
|
|
296
|
+
boundary: {
|
|
297
|
+
startDate: "09-01",
|
|
298
|
+
endDate: "11-30"
|
|
299
|
+
}
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
name: "Fuyu (Winter)",
|
|
303
|
+
boundary: {
|
|
304
|
+
startDate: "12-01",
|
|
305
|
+
endDate: "02-28"
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
]);
|
|
309
|
+
/** Australian Seasons */
|
|
310
|
+
const AUSTRALIA_SEASONS = /* @__PURE__ */ Object.freeze([
|
|
311
|
+
{
|
|
312
|
+
name: "Summer",
|
|
313
|
+
boundary: {
|
|
314
|
+
startMonth: 11,
|
|
315
|
+
endMonth: 1
|
|
316
|
+
}
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
name: "Autumn",
|
|
320
|
+
boundary: {
|
|
321
|
+
startMonth: 2,
|
|
322
|
+
endMonth: 4
|
|
323
|
+
}
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
name: "Winter",
|
|
327
|
+
boundary: {
|
|
328
|
+
startMonth: 5,
|
|
329
|
+
endMonth: 7
|
|
330
|
+
}
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
name: "Spring",
|
|
334
|
+
boundary: {
|
|
335
|
+
startMonth: 8,
|
|
336
|
+
endMonth: 10
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
]);
|
|
340
|
+
/** Ethiopian Seasons */
|
|
341
|
+
const ETHIOPIA_SEASONS = /* @__PURE__ */ Object.freeze([
|
|
342
|
+
{
|
|
343
|
+
name: "Bega (Dry)",
|
|
344
|
+
boundary: {
|
|
345
|
+
startMonth: 10,
|
|
346
|
+
endMonth: 1
|
|
347
|
+
}
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
name: "Belg (Short Rain)",
|
|
351
|
+
boundary: {
|
|
352
|
+
startMonth: 2,
|
|
353
|
+
endMonth: 4
|
|
354
|
+
}
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
name: "Kiremt (Main Rain)",
|
|
358
|
+
boundary: {
|
|
359
|
+
startMonth: 5,
|
|
360
|
+
endMonth: 9
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
]);
|
|
364
|
+
/** All the Season Presets for `new Chronos.season()` method */
|
|
365
|
+
const SEASON_PRESETS = /* @__PURE__ */ Object.freeze({
|
|
366
|
+
default: DEFAULT_SEASONS,
|
|
367
|
+
bangladesh: BANGLADESH_SEASONS,
|
|
368
|
+
india: INDIA_IMD_SEASONS,
|
|
369
|
+
tamil: INDIA_TAMIL_SEASONS,
|
|
370
|
+
vedic: INDIA_VEDIC_SEASONS,
|
|
371
|
+
philippines: PHILIPPINES_SEASONS,
|
|
372
|
+
academic_us: US_ACADEMIC_SEASONS,
|
|
373
|
+
japan: JAPAN_SEASONS,
|
|
374
|
+
australia: AUSTRALIA_SEASONS,
|
|
375
|
+
ethiopia: ETHIOPIA_SEASONS
|
|
376
|
+
});
|
|
377
|
+
|
|
378
|
+
//#endregion
|
|
379
|
+
exports.ALPHABET_COLOR_PALETTE = require_constants$1.ALPHABET_COLOR_PALETTE;
|
|
380
|
+
exports.AUSTRALIA_SEASONS = AUSTRALIA_SEASONS;
|
|
381
|
+
exports.BANGLADESH_SEASONS = BANGLADESH_SEASONS;
|
|
382
|
+
exports.CATEGORIZED_UNITS = require_constants$4.UNITS;
|
|
383
|
+
exports.COUNTRIES = require_countries.COUNTRIES;
|
|
384
|
+
exports.CSS_COLORS = require_css_colors.CSS_COLORS;
|
|
385
|
+
exports.CURRENCY_CODES = require_constants$3.CURRENCY_CODES;
|
|
386
|
+
exports.CURRENCY_LOCALES = require_constants$3.CURRENCY_LOCALES;
|
|
387
|
+
exports.ETHIOPIA_SEASONS = ETHIOPIA_SEASONS;
|
|
388
|
+
exports.FRANKFURTER_CURRENCIES = require_constants$3.FRANKFURTER_CURRENCIES;
|
|
389
|
+
exports.GENERAL_UNITS = require_constants$3.UNITS;
|
|
390
|
+
exports.HTTP_CODES = require_constants$5.HTTP_STATUS_CODES;
|
|
391
|
+
exports.HTTP_STATUS = require_constants$5.HTTP_STATUS_CODES;
|
|
392
|
+
exports.HTTP_STATUS_CODES = require_constants$5.HTTP_STATUS_CODES;
|
|
393
|
+
exports.IANA_TZ_IDS = require_timezone.IANA_TZ_IDS;
|
|
394
|
+
exports.INDIA_IMD_SEASONS = INDIA_IMD_SEASONS;
|
|
395
|
+
exports.INDIA_TAMIL_SEASONS = INDIA_TAMIL_SEASONS;
|
|
396
|
+
exports.INDIA_VEDIC_SEASONS = INDIA_VEDIC_SEASONS;
|
|
397
|
+
exports.JAPAN_SEASONS = JAPAN_SEASONS;
|
|
398
|
+
exports.LOCALE_CODES = require_constants$3.LOCALE_CODES;
|
|
399
|
+
exports.LOWERCASED_WORDS = require_constants.LOWERCASE;
|
|
400
|
+
exports.MONTHS = require_constants$2.MONTHS;
|
|
401
|
+
exports.NATIVE_TZ_IDS = require_timezone.NATIVE_TZ_IDS;
|
|
402
|
+
exports.NUMBER_COLOR_PALETTE = require_constants$1.NUMBER_COLOR_PALETTE;
|
|
403
|
+
exports.PHILIPPINES_SEASONS = PHILIPPINES_SEASONS;
|
|
404
|
+
exports.SEASON_PRESETS = SEASON_PRESETS;
|
|
405
|
+
exports.STATUS_CODES = require_constants$5.HTTP_STATUS_CODES;
|
|
406
|
+
exports.TIME_ZONES = require_timezone.TIME_ZONES;
|
|
407
|
+
exports.TIME_ZONES_NATIVE = require_timezone.TIME_ZONES_NATIVE;
|
|
408
|
+
exports.TIME_ZONE_IDS = require_timezone.TIME_ZONE_IDS;
|
|
409
|
+
exports.TIME_ZONE_LABELS = require_timezone.TIME_ZONE_LABELS;
|
|
410
|
+
exports.TZ_ABBREVIATIONS = require_timezone.TIME_ZONES;
|
|
411
|
+
exports.US_ACADEMIC_SEASONS = US_ACADEMIC_SEASONS;
|
|
412
|
+
exports.VEDIC_ZODIAC_SIGNS = require_constants$2.VEDIC_ZODIAC_SIGNS;
|
|
413
|
+
exports.WEEK_DAYS = require_constants$2.DAYS;
|
|
414
|
+
exports.WESTERN_SEASONS = DEFAULT_SEASONS;
|
|
415
|
+
exports.WESTERN_ZODIAC_SIGNS = require_constants$2.WESTERN_ZODIAC_SIGNS;
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2026 - present Nazmul Hassan
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import { t as LOWERCASE } from "./constants-B34K0QPi.cjs";
|
|
18
|
+
import { At as TIME_ZONE_IDS, Dt as NATIVE_TZ_IDS, Et as IANA_TZ_IDS, Ft as WESTERN_ZODIAC_SIGNS, Mt as DAYS, Nt as MONTHS, Ot as TIME_ZONES, Pt as VEDIC_ZODIAC_SIGNS, Sr as COUNTRIES, _r as CURRENCY_CODES, br as LOCALE_CODES, jt as TIME_ZONE_LABELS, kt as TIME_ZONES_NATIVE, vr as CURRENCY_LOCALES, xr as UNITS$1, yr as FRANKFURTER_CURRENCIES } from "./object-Blq0Amdv.cjs";
|
|
19
|
+
import { t as CSS_COLORS } from "./css-colors-Bx947Ng3.cjs";
|
|
20
|
+
import { t as UNITS } from "./constants-VcRtQu0K.cjs";
|
|
21
|
+
import { t as HTTP_STATUS_CODES } from "./constants-qm8FafmD.cjs";
|
|
22
|
+
|
|
23
|
+
//#region src/date/seasons.d.ts
|
|
24
|
+
/** Western Seasons */
|
|
25
|
+
declare const DEFAULT_SEASONS: readonly {
|
|
26
|
+
name: string;
|
|
27
|
+
boundary: {
|
|
28
|
+
startMonth: number;
|
|
29
|
+
endMonth: number;
|
|
30
|
+
};
|
|
31
|
+
}[];
|
|
32
|
+
/**Default Bangladeshi Seasons */
|
|
33
|
+
declare const BANGLADESH_SEASONS: readonly {
|
|
34
|
+
name: string;
|
|
35
|
+
boundary: {
|
|
36
|
+
startDate: string;
|
|
37
|
+
endDate: string;
|
|
38
|
+
};
|
|
39
|
+
}[];
|
|
40
|
+
/** Indian Seasons */
|
|
41
|
+
declare const INDIA_IMD_SEASONS: readonly {
|
|
42
|
+
name: string;
|
|
43
|
+
boundary: {
|
|
44
|
+
startMonth: number;
|
|
45
|
+
endMonth: number;
|
|
46
|
+
};
|
|
47
|
+
}[];
|
|
48
|
+
/** Indian Vedic Seasons */
|
|
49
|
+
declare const INDIA_VEDIC_SEASONS: readonly {
|
|
50
|
+
name: string;
|
|
51
|
+
boundary: {
|
|
52
|
+
startDate: string;
|
|
53
|
+
endDate: string;
|
|
54
|
+
};
|
|
55
|
+
}[];
|
|
56
|
+
/** Indian Tamil Seasons */
|
|
57
|
+
declare const INDIA_TAMIL_SEASONS: readonly {
|
|
58
|
+
name: string;
|
|
59
|
+
boundary: {
|
|
60
|
+
startMonth: number;
|
|
61
|
+
endMonth: number;
|
|
62
|
+
};
|
|
63
|
+
}[];
|
|
64
|
+
/** Philippines Seasons */
|
|
65
|
+
declare const PHILIPPINES_SEASONS: readonly {
|
|
66
|
+
name: string;
|
|
67
|
+
boundary: {
|
|
68
|
+
startMonth: number;
|
|
69
|
+
endMonth: number;
|
|
70
|
+
};
|
|
71
|
+
}[];
|
|
72
|
+
/** US Academic Seasons */
|
|
73
|
+
declare const US_ACADEMIC_SEASONS: readonly {
|
|
74
|
+
name: string;
|
|
75
|
+
boundary: {
|
|
76
|
+
startDate: string;
|
|
77
|
+
endDate: string;
|
|
78
|
+
};
|
|
79
|
+
}[];
|
|
80
|
+
/** Japanese Seasons */
|
|
81
|
+
declare const JAPAN_SEASONS: readonly {
|
|
82
|
+
name: string;
|
|
83
|
+
boundary: {
|
|
84
|
+
startDate: string;
|
|
85
|
+
endDate: string;
|
|
86
|
+
};
|
|
87
|
+
}[];
|
|
88
|
+
/** Australian Seasons */
|
|
89
|
+
declare const AUSTRALIA_SEASONS: readonly {
|
|
90
|
+
name: string;
|
|
91
|
+
boundary: {
|
|
92
|
+
startMonth: number;
|
|
93
|
+
endMonth: number;
|
|
94
|
+
};
|
|
95
|
+
}[];
|
|
96
|
+
/** Ethiopian Seasons */
|
|
97
|
+
declare const ETHIOPIA_SEASONS: readonly {
|
|
98
|
+
name: string;
|
|
99
|
+
boundary: {
|
|
100
|
+
startMonth: number;
|
|
101
|
+
endMonth: number;
|
|
102
|
+
};
|
|
103
|
+
}[];
|
|
104
|
+
/** All the Season Presets for `new Chronos.season()` method */
|
|
105
|
+
declare const SEASON_PRESETS: Readonly<{
|
|
106
|
+
readonly default: readonly {
|
|
107
|
+
name: string;
|
|
108
|
+
boundary: {
|
|
109
|
+
startMonth: number;
|
|
110
|
+
endMonth: number;
|
|
111
|
+
};
|
|
112
|
+
}[];
|
|
113
|
+
readonly bangladesh: readonly {
|
|
114
|
+
name: string;
|
|
115
|
+
boundary: {
|
|
116
|
+
startDate: string;
|
|
117
|
+
endDate: string;
|
|
118
|
+
};
|
|
119
|
+
}[];
|
|
120
|
+
readonly india: readonly {
|
|
121
|
+
name: string;
|
|
122
|
+
boundary: {
|
|
123
|
+
startMonth: number;
|
|
124
|
+
endMonth: number;
|
|
125
|
+
};
|
|
126
|
+
}[];
|
|
127
|
+
readonly tamil: readonly {
|
|
128
|
+
name: string;
|
|
129
|
+
boundary: {
|
|
130
|
+
startMonth: number;
|
|
131
|
+
endMonth: number;
|
|
132
|
+
};
|
|
133
|
+
}[];
|
|
134
|
+
readonly vedic: readonly {
|
|
135
|
+
name: string;
|
|
136
|
+
boundary: {
|
|
137
|
+
startDate: string;
|
|
138
|
+
endDate: string;
|
|
139
|
+
};
|
|
140
|
+
}[];
|
|
141
|
+
readonly philippines: readonly {
|
|
142
|
+
name: string;
|
|
143
|
+
boundary: {
|
|
144
|
+
startMonth: number;
|
|
145
|
+
endMonth: number;
|
|
146
|
+
};
|
|
147
|
+
}[];
|
|
148
|
+
readonly academic_us: readonly {
|
|
149
|
+
name: string;
|
|
150
|
+
boundary: {
|
|
151
|
+
startDate: string;
|
|
152
|
+
endDate: string;
|
|
153
|
+
};
|
|
154
|
+
}[];
|
|
155
|
+
readonly japan: readonly {
|
|
156
|
+
name: string;
|
|
157
|
+
boundary: {
|
|
158
|
+
startDate: string;
|
|
159
|
+
endDate: string;
|
|
160
|
+
};
|
|
161
|
+
}[];
|
|
162
|
+
readonly australia: readonly {
|
|
163
|
+
name: string;
|
|
164
|
+
boundary: {
|
|
165
|
+
startMonth: number;
|
|
166
|
+
endMonth: number;
|
|
167
|
+
};
|
|
168
|
+
}[];
|
|
169
|
+
readonly ethiopia: readonly {
|
|
170
|
+
name: string;
|
|
171
|
+
boundary: {
|
|
172
|
+
startMonth: number;
|
|
173
|
+
endMonth: number;
|
|
174
|
+
};
|
|
175
|
+
}[];
|
|
176
|
+
}>;
|
|
177
|
+
//#endregion
|
|
178
|
+
//#region src/colors/constants.d.ts
|
|
179
|
+
/** Colors based on the ASCII value (index) of the letter. */
|
|
180
|
+
declare const ALPHABET_COLOR_PALETTE: readonly `#${string}`[];
|
|
181
|
+
/** Colors based on the index of numbers. */
|
|
182
|
+
declare const NUMBER_COLOR_PALETTE: readonly `#${string}`[];
|
|
183
|
+
//#endregion
|
|
184
|
+
export { ALPHABET_COLOR_PALETTE, AUSTRALIA_SEASONS, BANGLADESH_SEASONS, UNITS as CATEGORIZED_UNITS, COUNTRIES, CSS_COLORS, CURRENCY_CODES, CURRENCY_LOCALES, ETHIOPIA_SEASONS, FRANKFURTER_CURRENCIES, UNITS$1 as GENERAL_UNITS, HTTP_STATUS_CODES as HTTP_CODES, HTTP_STATUS_CODES as HTTP_STATUS, HTTP_STATUS_CODES, HTTP_STATUS_CODES as STATUS_CODES, IANA_TZ_IDS, INDIA_IMD_SEASONS, INDIA_TAMIL_SEASONS, INDIA_VEDIC_SEASONS, JAPAN_SEASONS, LOCALE_CODES, LOWERCASE as LOWERCASED_WORDS, MONTHS, NATIVE_TZ_IDS, NUMBER_COLOR_PALETTE, PHILIPPINES_SEASONS, SEASON_PRESETS, TIME_ZONES, TIME_ZONES as TZ_ABBREVIATIONS, TIME_ZONES_NATIVE, TIME_ZONE_IDS, TIME_ZONE_LABELS, US_ACADEMIC_SEASONS, VEDIC_ZODIAC_SIGNS, DAYS as WEEK_DAYS, DEFAULT_SEASONS as WESTERN_SEASONS, WESTERN_ZODIAC_SIGNS };
|