chronos-date 1.3.1 → 1.3.3
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/dist/{convert-z8FAUOuh.cjs → convert-C58su2-2.cjs} +3 -3
- package/dist/{convert-BY-uEIvg.mjs → convert-CWh7zZ5Q.mjs} +3 -3
- package/dist/{greet-D89spydp.mjs → greet-BBVGLAlA.mjs} +1 -1
- package/dist/{greet-ok0_Wai_.cjs → greet-DMVrEM6l.cjs} +1 -1
- package/dist/guards.cjs +3 -3
- package/dist/guards.d.cts +1 -1
- package/dist/guards.d.mts +1 -1
- package/dist/guards.mjs +3 -3
- package/dist/{helpers-D8yAKOsC.cjs → helpers-CoVvHHs7.cjs} +3 -3
- package/dist/{helpers-eVQCueAC.mjs → helpers-X5e54orr.mjs} +3 -3
- package/dist/index.cjs +5 -5
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +5 -5
- package/dist/{non-primitives-B38XfU4A.mjs → non-primitives-BG-R5eUB.mjs} +1 -1
- package/dist/{non-primitives-Dj558axv.cjs → non-primitives-D3EcMaah.cjs} +1 -1
- package/dist/plugins/banglaPlugin.cjs +9 -8
- package/dist/plugins/banglaPlugin.d.cts +1 -1
- package/dist/plugins/banglaPlugin.d.mts +1 -1
- package/dist/plugins/banglaPlugin.mjs +9 -8
- package/dist/plugins/businessPlugin.cjs +2 -2
- package/dist/plugins/businessPlugin.d.cts +1 -1
- package/dist/plugins/businessPlugin.d.mts +1 -1
- package/dist/plugins/businessPlugin.mjs +2 -2
- package/dist/plugins/dateRangePlugin.cjs +2 -2
- package/dist/plugins/dateRangePlugin.d.cts +1 -1
- package/dist/plugins/dateRangePlugin.d.mts +1 -1
- package/dist/plugins/dateRangePlugin.mjs +2 -2
- package/dist/plugins/dayPartPlugin.cjs +1 -1
- package/dist/plugins/dayPartPlugin.d.cts +1 -1
- package/dist/plugins/dayPartPlugin.d.mts +1 -1
- package/dist/plugins/dayPartPlugin.mjs +1 -1
- package/dist/plugins/durationPlugin.d.cts +1 -1
- package/dist/plugins/durationPlugin.d.mts +1 -1
- package/dist/plugins/fromNowPlugin.cjs +1 -1
- package/dist/plugins/fromNowPlugin.d.cts +1 -1
- package/dist/plugins/fromNowPlugin.d.mts +1 -1
- package/dist/plugins/fromNowPlugin.mjs +1 -1
- package/dist/plugins/greetingPlugin.cjs +1 -1
- package/dist/plugins/greetingPlugin.d.cts +1 -1
- package/dist/plugins/greetingPlugin.d.mts +1 -1
- package/dist/plugins/greetingPlugin.mjs +1 -1
- package/dist/plugins/palindromePlugin.cjs +2 -2
- package/dist/plugins/palindromePlugin.d.cts +1 -1
- package/dist/plugins/palindromePlugin.d.mts +1 -1
- package/dist/plugins/palindromePlugin.mjs +2 -2
- package/dist/plugins/relativeTimePlugin.d.cts +1 -1
- package/dist/plugins/relativeTimePlugin.d.mts +1 -1
- package/dist/plugins/roundPlugin.cjs +1 -1
- package/dist/plugins/roundPlugin.d.cts +1 -1
- package/dist/plugins/roundPlugin.d.mts +1 -1
- package/dist/plugins/roundPlugin.mjs +1 -1
- package/dist/plugins/seasonPlugin.d.cts +1 -1
- package/dist/plugins/seasonPlugin.d.mts +1 -1
- package/dist/plugins/timeZonePlugin.cjs +2 -2
- package/dist/plugins/timeZonePlugin.d.cts +1 -1
- package/dist/plugins/timeZonePlugin.d.mts +1 -1
- package/dist/plugins/timeZonePlugin.mjs +2 -2
- package/dist/plugins/zodiacPlugin.cjs +1 -1
- package/dist/plugins/zodiacPlugin.d.cts +1 -1
- package/dist/plugins/zodiacPlugin.d.mts +1 -1
- package/dist/plugins/zodiacPlugin.mjs +1 -1
- package/dist/{primitives-DutXlR0D.cjs → primitives-Ce8vYVxN.cjs} +1 -1
- package/dist/{primitives-DpMa2dS2.mjs → primitives-Csc-jgx0.mjs} +1 -1
- package/dist/{types-BwnEgU6z.d.mts → types-36vIWjN1.d.mts} +5 -5
- package/dist/{types-CaZLuhLz.d.cts → types-DKMN8UeN.d.cts} +5 -5
- package/dist/types.d.cts +1 -1
- package/dist/types.d.mts +1 -1
- package/dist/{utilities-CkQA3Fkh.cjs → utilities-BnJa8S6A.cjs} +4 -4
- package/dist/{utilities-BfGFB7aw.mjs → utilities-CQORzytW.mjs} +4 -4
- package/dist/{utilities-C_cYlUNI.mjs → utilities-CW4F3wFp.mjs} +4 -4
- package/dist/{utilities-CZTvwfjY.cjs → utilities-GTSjQweZ.cjs} +4 -4
- package/dist/utils.cjs +4 -4
- package/dist/utils.d.cts +1 -1
- package/dist/utils.d.mts +1 -1
- package/dist/utils.mjs +4 -4
- package/package.json +4 -3
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { D as ChronosInput, Et as TimeUnit, o as ChronosPlugin } from "../types-
|
|
17
|
+
import { D as ChronosInput, Et as TimeUnit, o as ChronosPlugin } from "../types-36vIWjN1.mjs";
|
|
18
18
|
|
|
19
19
|
//#region src/plugins/relativeTimePlugin.d.ts
|
|
20
20
|
declare module 'chronos-date' {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
18
18
|
const require_basic = require('../basic-DsQqC5nZ.cjs');
|
|
19
|
-
const require_utilities = require('../utilities-
|
|
19
|
+
const require_utilities = require('../utilities-BnJa8S6A.cjs');
|
|
20
20
|
|
|
21
21
|
//#region src/plugins/roundPlugin.ts
|
|
22
22
|
/** * Plugin to inject `round` method */
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { Et as TimeUnit, o as ChronosPlugin } from "../types-
|
|
17
|
+
import { Et as TimeUnit, o as ChronosPlugin } from "../types-DKMN8UeN.cjs";
|
|
18
18
|
|
|
19
19
|
//#region src/plugins/roundPlugin.d.ts
|
|
20
20
|
declare module 'chronos-date' {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { Et as TimeUnit, o as ChronosPlugin } from "../types-
|
|
17
|
+
import { Et as TimeUnit, o as ChronosPlugin } from "../types-36vIWjN1.mjs";
|
|
18
18
|
|
|
19
19
|
//#region src/plugins/roundPlugin.d.ts
|
|
20
20
|
declare module 'chronos-date' {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import { s as INTERNALS, u as MS_PER_DAY } from "../basic-DqKyujoj.mjs";
|
|
18
|
-
import { r as roundToNearest } from "../utilities-
|
|
18
|
+
import { r as roundToNearest } from "../utilities-CQORzytW.mjs";
|
|
19
19
|
|
|
20
20
|
//#region src/plugins/roundPlugin.ts
|
|
21
21
|
/** * Plugin to inject `round` method */
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { m as SeasonOptions, o as ChronosPlugin } from "../types-
|
|
17
|
+
import { m as SeasonOptions, o as ChronosPlugin } from "../types-DKMN8UeN.cjs";
|
|
18
18
|
|
|
19
19
|
//#region src/plugins/seasonPlugin.d.ts
|
|
20
20
|
declare module 'chronos-date' {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { m as SeasonOptions, o as ChronosPlugin } from "../types-
|
|
17
|
+
import { m as SeasonOptions, o as ChronosPlugin } from "../types-36vIWjN1.mjs";
|
|
18
18
|
|
|
19
19
|
//#region src/plugins/seasonPlugin.d.ts
|
|
20
20
|
declare module 'chronos-date' {
|
|
@@ -18,8 +18,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
18
18
|
const require_basic = require('../basic-DsQqC5nZ.cjs');
|
|
19
19
|
const require_timezone = require('../timezone-BNnHFgki.cjs');
|
|
20
20
|
const require_guards = require('../guards.cjs');
|
|
21
|
-
const require_helpers = require('../helpers-
|
|
22
|
-
const require_utilities = require('../utilities-
|
|
21
|
+
const require_helpers = require('../helpers-CoVvHHs7.cjs');
|
|
22
|
+
const require_utilities = require('../utilities-GTSjQweZ.cjs');
|
|
23
23
|
|
|
24
24
|
//#region src/plugins/timeZonePlugin.ts
|
|
25
25
|
/** * Plugin to inject `timeZone` related methods */
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { En as LooseLiteral, Nt as TimeZoneIdentifier, Pt as TimeZoneName, Rt as UTCOffset, kt as TimeZone, o as ChronosPlugin } from "../types-
|
|
17
|
+
import { En as LooseLiteral, Nt as TimeZoneIdentifier, Pt as TimeZoneName, Rt as UTCOffset, kt as TimeZone, o as ChronosPlugin } from "../types-DKMN8UeN.cjs";
|
|
18
18
|
|
|
19
19
|
//#region src/plugins/timeZonePlugin.d.ts
|
|
20
20
|
declare module 'chronos-date' {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { En as LooseLiteral, Nt as TimeZoneIdentifier, Pt as TimeZoneName, Rt as UTCOffset, kt as TimeZone, o as ChronosPlugin } from "../types-
|
|
17
|
+
import { En as LooseLiteral, Nt as TimeZoneIdentifier, Pt as TimeZoneName, Rt as UTCOffset, kt as TimeZone, o as ChronosPlugin } from "../types-36vIWjN1.mjs";
|
|
18
18
|
|
|
19
19
|
//#region src/plugins/timeZonePlugin.d.ts
|
|
20
20
|
declare module 'chronos-date' {
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
import { s as INTERNALS } from "../basic-DqKyujoj.mjs";
|
|
18
18
|
import { n as NATIVE_TZ_IDS, o as TIME_ZONE_LABELS, r as TIME_ZONES } from "../timezone-Db2CeL32.mjs";
|
|
19
19
|
import { isValidUTCOffset } from "../guards.mjs";
|
|
20
|
-
import { p as _resolveNativeTzName, s as _gmtToUtcOffset } from "../helpers-
|
|
21
|
-
import { r as extractMinutesFromUTC } from "../utilities-
|
|
20
|
+
import { p as _resolveNativeTzName, s as _gmtToUtcOffset } from "../helpers-X5e54orr.mjs";
|
|
21
|
+
import { r as extractMinutesFromUTC } from "../utilities-CW4F3wFp.mjs";
|
|
22
22
|
|
|
23
23
|
//#region src/plugins/timeZonePlugin.ts
|
|
24
24
|
/** * Plugin to inject `timeZone` related methods */
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
18
18
|
const require_basic = require('../basic-DsQqC5nZ.cjs');
|
|
19
|
-
const require_helpers = require('../helpers-
|
|
19
|
+
const require_helpers = require('../helpers-CoVvHHs7.cjs');
|
|
20
20
|
|
|
21
21
|
//#region src/plugins/zodiacPlugin.ts
|
|
22
22
|
/** * Plugin to inject `zodiac` related methods */
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { S as ZodiacSign, b as ZodiacOptions, o as ChronosPlugin, v as ZodiacMeta, y as ZodiacMetaOptions } from "../types-
|
|
17
|
+
import { S as ZodiacSign, b as ZodiacOptions, o as ChronosPlugin, v as ZodiacMeta, y as ZodiacMetaOptions } from "../types-DKMN8UeN.cjs";
|
|
18
18
|
|
|
19
19
|
//#region src/plugins/zodiacPlugin.d.ts
|
|
20
20
|
declare module 'chronos-date' {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { S as ZodiacSign, b as ZodiacOptions, o as ChronosPlugin, v as ZodiacMeta, y as ZodiacMetaOptions } from "../types-
|
|
17
|
+
import { S as ZodiacSign, b as ZodiacOptions, o as ChronosPlugin, v as ZodiacMeta, y as ZodiacMetaOptions } from "../types-36vIWjN1.mjs";
|
|
18
18
|
|
|
19
19
|
//#region src/plugins/zodiacPlugin.d.ts
|
|
20
20
|
declare module 'chronos-date' {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import { m as ZODIAC_PRESETS } from "../basic-DqKyujoj.mjs";
|
|
18
|
-
import { f as _padZero } from "../helpers-
|
|
18
|
+
import { f as _padZero } from "../helpers-X5e54orr.mjs";
|
|
19
19
|
|
|
20
20
|
//#region src/plugins/zodiacPlugin.ts
|
|
21
21
|
/** * Plugin to inject `zodiac` related methods */
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
//#region node_modules/.pnpm/nhb-toolbox@4.30.
|
|
18
|
+
//#region node_modules/.pnpm/nhb-toolbox@4.30.11/node_modules/nhb-toolbox/dist/esm/guards/primitives.js
|
|
19
19
|
function isNumber(value) {
|
|
20
20
|
return typeof value === "number" && Number.isFinite(value);
|
|
21
21
|
}
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
//#region node_modules/.pnpm/nhb-toolbox@4.30.
|
|
17
|
+
//#region node_modules/.pnpm/nhb-toolbox@4.30.11/node_modules/nhb-toolbox/dist/esm/guards/primitives.js
|
|
18
18
|
function isNumber(value) {
|
|
19
19
|
return typeof value === "number" && Number.isFinite(value);
|
|
20
20
|
}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
import { A as MILLISECOND_FORMATS, B as ZODIAC_PRESETS, C as DATE_PARTS, D as INTERNALS, E as HOUR_FORMATS, F as TIME_FORMATS, I as TIME_UNIT_VARIANTS, M as MONTHS, N as MONTH_FORMATS, O as LOCALE_CALENDARS, P as SECOND_FORMATS, R as WESTERN_ZODIAC_SIGNS, S as DATE_FORMATS, T as DAY_FORMATS, _ as TIME_ZONE_LABELS, b as BN_MONTH_TABLES, g as TIME_ZONE_IDS, h as TIME_ZONES_NATIVE, j as MINUTE_FORMATS, k as LOCALE_NUMBERING_SYSTEMS, m as TIME_ZONES, u as SEASON_PRESETS, v as BN_DAYS, w as DAYS, x as BN_SEASONS, y as BN_MONTHS, z as YEAR_FORMATS } from "./seasons-B_kjFWIX.mjs";
|
|
18
18
|
|
|
19
|
-
//#region node_modules/.pnpm/nhb-toolbox@4.30.
|
|
19
|
+
//#region node_modules/.pnpm/nhb-toolbox@4.30.11/node_modules/nhb-toolbox/dist/dts/utils/types.d.ts
|
|
20
20
|
/**
|
|
21
21
|
* * Broadens a literal union (typically `string` or `number`) to also accept any other value of the base type, without losing IntelliSense autocomplete for the provided literals.
|
|
22
22
|
*
|
|
@@ -136,7 +136,7 @@ type $JoinRepeat<S extends string, A extends unknown[]> = A extends [unknown, ..
|
|
|
136
136
|
*/
|
|
137
137
|
type Repeat<S extends string, N extends number> = $JoinRepeat<S, $BuildTuple<N>>;
|
|
138
138
|
//#endregion
|
|
139
|
-
//#region node_modules/.pnpm/nhb-toolbox@4.30.
|
|
139
|
+
//#region node_modules/.pnpm/nhb-toolbox@4.30.11/node_modules/nhb-toolbox/dist/dts/number/constants.d.ts
|
|
140
140
|
/** List of all supported BCP 47 locales */
|
|
141
141
|
declare const LOCALE_CODES: readonly ["af-ZA", "am-ET", "ar-AE", "ar-BH", "ar-DZ", "ar-EG", "ar-IQ", "ar-JO", "ar-KW", "ar-LB", "ar-LY", "ar-MA", "ar-OM", "ar-QA", "ar-SA", "ar-SD", "ar-SY", "ar-TN", "ar-YE", "az-AZ", "be-BY", "bg-BG", "bn-BD", "bn-IN", "bs-BA", "ca-ES", "cs-CZ", "cy-GB", "da-DK", "de-AT", "de-CH", "de-DE", "el-GR", "en-AU", "en-CA", "en-GB", "en-IE", "en-IN", "en-NZ", "en-PH", "en-SG", "en-US", "en-ZA", "es-AR", "es-BO", "es-CL", "es-CO", "es-CR", "es-DO", "es-EC", "es-ES", "es-GT", "es-HN", "es-MX", "es-NI", "es-PA", "es-PE", "es-PR", "es-PY", "es-SV", "es-US", "es-UY", "es-VE", "et-EE", "eu-ES", "fa-IR", "fi-FI", "fil-PH", "fr-BE", "fr-CA", "fr-CH", "fr-FR", "ga-IE", "gl-ES", "gu-IN", "he-IL", "hi-IN", "hr-HR", "hu-HU", "hy-AM", "id-ID", "is-IS", "it-CH", "it-IT", "ja-JP", "ka-GE", "kk-KZ", "km-KH", "kn-IN", "ko-KR", "ky-KG", "lt-LT", "lv-LV", "mk-MK", "ml-IN", "mn-MN", "mr-IN", "ms-MY", "mt-MT", "nb-NO", "ne-NP", "nl-BE", "nl-NL", "pl-PL", "pt-BR", "pt-PT", "ro-RO", "ru-RU", "sk-SK", "sl-SI", "sq-AL", "sr-Latn", "sv-SE", "sw-KE", "ta-IN", "te-IN", "th-TH", "tr-TR", "uk-UA", "ur-PK", "uz-UZ", "vi-VN", "zh-CN", "zh-HK", "zh-TW"];
|
|
142
142
|
/** Mapping of CurrencyCodes to `LocaleCodes` */
|
|
@@ -312,7 +312,7 @@ declare const BN_DIGITS: Readonly<{
|
|
|
312
312
|
readonly '\u09EF': 9;
|
|
313
313
|
}>;
|
|
314
314
|
//#endregion
|
|
315
|
-
//#region node_modules/.pnpm/nhb-toolbox@4.30.
|
|
315
|
+
//#region node_modules/.pnpm/nhb-toolbox@4.30.11/node_modules/nhb-toolbox/dist/dts/number/types.d.ts
|
|
316
316
|
/** Enumerate & Enumerate Internal: builds a union of all numbers from 0 to N - 1 */
|
|
317
317
|
type $EnumerateInternal<N extends number, Acc extends number[] = []> = Acc['length'] extends N ? Acc[number] : $EnumerateInternal<N, [...Acc, Acc['length']]>;
|
|
318
318
|
/**
|
|
@@ -352,7 +352,7 @@ type BanglaDigit = keyof typeof BN_DIGITS;
|
|
|
352
352
|
/** Bangla digits from `১-৯` */
|
|
353
353
|
type $BnOnes = Exclude<BanglaDigit, '০'>;
|
|
354
354
|
//#endregion
|
|
355
|
-
//#region node_modules/.pnpm/nhb-toolbox@4.30.
|
|
355
|
+
//#region node_modules/.pnpm/nhb-toolbox@4.30.11/node_modules/nhb-toolbox/dist/dts/types/index.d.ts
|
|
356
356
|
/** Represents a value that may or may not be present. */
|
|
357
357
|
type Maybe<T> = T | undefined;
|
|
358
358
|
/** Union of `number` and numeric string */
|
|
@@ -506,7 +506,7 @@ interface BanglaDateOptions<Locale extends $BnEn> extends BnCalendarConfig {
|
|
|
506
506
|
* chronos.isReconstructable(value: unknown): value is ChronosProperties;
|
|
507
507
|
* chronos.reconstruct(value: ChronosProperties): Chronos;
|
|
508
508
|
* chronos.formatTimePart(time: string, format?: TimeParts): string;
|
|
509
|
-
* chronos.getDatesForDay(day: WeekDay, options?: WeekdayOptions):
|
|
509
|
+
* chronos.getDatesForDay(day: WeekDay, options?: WeekdayOptions): ISODateTimeString[];
|
|
510
510
|
* chronos.use(plugin: ChronosPlugin): void;
|
|
511
511
|
* chronos.register(plugin: ChronosPlugin): void;
|
|
512
512
|
* ```
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
import { A as MILLISECOND_FORMATS, B as ZODIAC_PRESETS, C as DATE_PARTS, D as INTERNALS, E as HOUR_FORMATS, F as TIME_FORMATS, I as TIME_UNIT_VARIANTS, M as MONTHS, N as MONTH_FORMATS, O as LOCALE_CALENDARS, P as SECOND_FORMATS, R as WESTERN_ZODIAC_SIGNS, S as DATE_FORMATS, T as DAY_FORMATS, _ as TIME_ZONE_LABELS, b as BN_MONTH_TABLES, g as TIME_ZONE_IDS, h as TIME_ZONES_NATIVE, j as MINUTE_FORMATS, k as LOCALE_NUMBERING_SYSTEMS, m as TIME_ZONES, u as SEASON_PRESETS, v as BN_DAYS, w as DAYS, x as BN_SEASONS, y as BN_MONTHS, z as YEAR_FORMATS } from "./seasons-CpUn45n6.cjs";
|
|
18
18
|
|
|
19
|
-
//#region node_modules/.pnpm/nhb-toolbox@4.30.
|
|
19
|
+
//#region node_modules/.pnpm/nhb-toolbox@4.30.11/node_modules/nhb-toolbox/dist/dts/utils/types.d.ts
|
|
20
20
|
/**
|
|
21
21
|
* * Broadens a literal union (typically `string` or `number`) to also accept any other value of the base type, without losing IntelliSense autocomplete for the provided literals.
|
|
22
22
|
*
|
|
@@ -136,7 +136,7 @@ type $JoinRepeat<S extends string, A extends unknown[]> = A extends [unknown, ..
|
|
|
136
136
|
*/
|
|
137
137
|
type Repeat<S extends string, N extends number> = $JoinRepeat<S, $BuildTuple<N>>;
|
|
138
138
|
//#endregion
|
|
139
|
-
//#region node_modules/.pnpm/nhb-toolbox@4.30.
|
|
139
|
+
//#region node_modules/.pnpm/nhb-toolbox@4.30.11/node_modules/nhb-toolbox/dist/dts/number/constants.d.ts
|
|
140
140
|
/** List of all supported BCP 47 locales */
|
|
141
141
|
declare const LOCALE_CODES: readonly ["af-ZA", "am-ET", "ar-AE", "ar-BH", "ar-DZ", "ar-EG", "ar-IQ", "ar-JO", "ar-KW", "ar-LB", "ar-LY", "ar-MA", "ar-OM", "ar-QA", "ar-SA", "ar-SD", "ar-SY", "ar-TN", "ar-YE", "az-AZ", "be-BY", "bg-BG", "bn-BD", "bn-IN", "bs-BA", "ca-ES", "cs-CZ", "cy-GB", "da-DK", "de-AT", "de-CH", "de-DE", "el-GR", "en-AU", "en-CA", "en-GB", "en-IE", "en-IN", "en-NZ", "en-PH", "en-SG", "en-US", "en-ZA", "es-AR", "es-BO", "es-CL", "es-CO", "es-CR", "es-DO", "es-EC", "es-ES", "es-GT", "es-HN", "es-MX", "es-NI", "es-PA", "es-PE", "es-PR", "es-PY", "es-SV", "es-US", "es-UY", "es-VE", "et-EE", "eu-ES", "fa-IR", "fi-FI", "fil-PH", "fr-BE", "fr-CA", "fr-CH", "fr-FR", "ga-IE", "gl-ES", "gu-IN", "he-IL", "hi-IN", "hr-HR", "hu-HU", "hy-AM", "id-ID", "is-IS", "it-CH", "it-IT", "ja-JP", "ka-GE", "kk-KZ", "km-KH", "kn-IN", "ko-KR", "ky-KG", "lt-LT", "lv-LV", "mk-MK", "ml-IN", "mn-MN", "mr-IN", "ms-MY", "mt-MT", "nb-NO", "ne-NP", "nl-BE", "nl-NL", "pl-PL", "pt-BR", "pt-PT", "ro-RO", "ru-RU", "sk-SK", "sl-SI", "sq-AL", "sr-Latn", "sv-SE", "sw-KE", "ta-IN", "te-IN", "th-TH", "tr-TR", "uk-UA", "ur-PK", "uz-UZ", "vi-VN", "zh-CN", "zh-HK", "zh-TW"];
|
|
142
142
|
/** Mapping of CurrencyCodes to `LocaleCodes` */
|
|
@@ -312,7 +312,7 @@ declare const BN_DIGITS: Readonly<{
|
|
|
312
312
|
readonly '\u09EF': 9;
|
|
313
313
|
}>;
|
|
314
314
|
//#endregion
|
|
315
|
-
//#region node_modules/.pnpm/nhb-toolbox@4.30.
|
|
315
|
+
//#region node_modules/.pnpm/nhb-toolbox@4.30.11/node_modules/nhb-toolbox/dist/dts/number/types.d.ts
|
|
316
316
|
/** Enumerate & Enumerate Internal: builds a union of all numbers from 0 to N - 1 */
|
|
317
317
|
type $EnumerateInternal<N extends number, Acc extends number[] = []> = Acc['length'] extends N ? Acc[number] : $EnumerateInternal<N, [...Acc, Acc['length']]>;
|
|
318
318
|
/**
|
|
@@ -352,7 +352,7 @@ type BanglaDigit = keyof typeof BN_DIGITS;
|
|
|
352
352
|
/** Bangla digits from `১-৯` */
|
|
353
353
|
type $BnOnes = Exclude<BanglaDigit, '০'>;
|
|
354
354
|
//#endregion
|
|
355
|
-
//#region node_modules/.pnpm/nhb-toolbox@4.30.
|
|
355
|
+
//#region node_modules/.pnpm/nhb-toolbox@4.30.11/node_modules/nhb-toolbox/dist/dts/types/index.d.ts
|
|
356
356
|
/** Represents a value that may or may not be present. */
|
|
357
357
|
type Maybe<T> = T | undefined;
|
|
358
358
|
/** Union of `number` and numeric string */
|
|
@@ -506,7 +506,7 @@ interface BanglaDateOptions<Locale extends $BnEn> extends BnCalendarConfig {
|
|
|
506
506
|
* chronos.isReconstructable(value: unknown): value is ChronosProperties;
|
|
507
507
|
* chronos.reconstruct(value: ChronosProperties): Chronos;
|
|
508
508
|
* chronos.formatTimePart(time: string, format?: TimeParts): string;
|
|
509
|
-
* chronos.getDatesForDay(day: WeekDay, options?: WeekdayOptions):
|
|
509
|
+
* chronos.getDatesForDay(day: WeekDay, options?: WeekdayOptions): ISODateTimeString[];
|
|
510
510
|
* chronos.use(plugin: ChronosPlugin): void;
|
|
511
511
|
* chronos.register(plugin: ChronosPlugin): void;
|
|
512
512
|
* ```
|
package/dist/types.d.cts
CHANGED
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { $ as $UnitAnyCase, $t as BanglaDateOptions, A as ChronosObject, At as TimeZoneDetails, B as WeekdayOptions, Bt as ChronosStatics, C as $Chronos, Ct as NumberingSystem, D as ChronosInput, Dt as TimeUnitValue, E as $StaticMethods, Et as TimeUnit, F as DatesInRangeOptions, Ft as TimeZoneNameNative, G as $LocalArguments, Gt as $BanglaYear, H as $DateUnit, I as PluginMethods, It as TimestampOptions, J as $TimeUnitKey, Jt as $BnMonthPadded, K as $NativeTzNameOrId, Kt as $BnDatePadded, L as RangeWithDates, Lt as UTCMinute, M as ChronosTimeZone, Mt as TimeZoneIdNative, N as ChronosWithOptions, Nt as TimeZoneIdentifier, O as ChronosInternals, Ot as TimeWithUnit, P as DateRangeOptions, Pt as TimeZoneName, Q as $UTCOffset, Qt as BanglaDateObject, R as RelativeDateRange, Rt as UTCOffset, S as ZodiacSign, St as NegativeUTCHour, T as $PluginMethods, Tt as Quarter, U as $GMTOffset, Ut as $BanglaMonth, V as WithoutOrigin, W as $ISOTimeString, Wt as $BanglaMonthDate, X as $TimeUnitVarMap, Xt as BanglaDate, Y as $TimeUnitVar, Yt as $BnYearPadded, Z as $TimeZoneIdentifier, Zt as BanglaDateFormat, _ as ZodiacArray, _n as StrictFormat, _t as LocalesArguments, a as BusinessOptionsWeekends, an as BnCalendarConfig, at as DateArgs, b as ZodiacOptions, bn as TimeToken, bt as MonthName, c as DayPart, cn as DateFormatToken, ct as DateString, d as DurationOptions, dn as FormatToken, dt as FromNowUnit, en as BanglaDayName, et as ChronosStaticKey, f as MonthBoundary, fn as HourToken, ft as GreetingConfigs, g as TimeDuration, gn as SecondToken, gt as LocaleCalendar, h as SeasonPreset, hn as MonthToken, ht as ISODateTimeString, i as BusinessOptionsBasic, in as BanglaYear, it as ClockTime, j as ChronosProperties, jt as TimeZoneId, k as ChronosMethods, kt as TimeZone, l as DayPartConfig, ln as DateToken, lt as DateTimeFormatOptions, m as SeasonOptions, mn as MinuteToken, mt as ISODateFormat, n as $BusinessHourOptions, nn as BanglaMonthName, nt as ClockMinute, o as ChronosPlugin, on as BnCalendarVariant, ot as DateFormatOptions, p as SeasonDefinition, pn as MSToken, pt as HourMinutes, q as $TZLabelKey, qt as $BnEn, r as AcademicYear, rn as BanglaSeasonName, rt as ClockSecond, s as DateBoundary, sn as DateWithSeasonToken, st as DateLike, t as $BusinessHourBaseOptions, tn as BanglaMonth, tt as ClockHour, u as DurationKey, un as DayToken, ut as FormatOptions, v as ZodiacMeta, vn as TimeFormatToken, vt as Milliseconds, w as $InstanceMethods, wt as PositiveUTCHour, x as ZodiacPreset, xn as YearToken, xt as MonthString, y as ZodiacMetaOptions, yn as TimeOnlyFormat, yt as MonthDateString, z as RelativeRangeOptions, zt as WeekDay } from "./types-
|
|
17
|
+
import { $ as $UnitAnyCase, $t as BanglaDateOptions, A as ChronosObject, At as TimeZoneDetails, B as WeekdayOptions, Bt as ChronosStatics, C as $Chronos, Ct as NumberingSystem, D as ChronosInput, Dt as TimeUnitValue, E as $StaticMethods, Et as TimeUnit, F as DatesInRangeOptions, Ft as TimeZoneNameNative, G as $LocalArguments, Gt as $BanglaYear, H as $DateUnit, I as PluginMethods, It as TimestampOptions, J as $TimeUnitKey, Jt as $BnMonthPadded, K as $NativeTzNameOrId, Kt as $BnDatePadded, L as RangeWithDates, Lt as UTCMinute, M as ChronosTimeZone, Mt as TimeZoneIdNative, N as ChronosWithOptions, Nt as TimeZoneIdentifier, O as ChronosInternals, Ot as TimeWithUnit, P as DateRangeOptions, Pt as TimeZoneName, Q as $UTCOffset, Qt as BanglaDateObject, R as RelativeDateRange, Rt as UTCOffset, S as ZodiacSign, St as NegativeUTCHour, T as $PluginMethods, Tt as Quarter, U as $GMTOffset, Ut as $BanglaMonth, V as WithoutOrigin, W as $ISOTimeString, Wt as $BanglaMonthDate, X as $TimeUnitVarMap, Xt as BanglaDate, Y as $TimeUnitVar, Yt as $BnYearPadded, Z as $TimeZoneIdentifier, Zt as BanglaDateFormat, _ as ZodiacArray, _n as StrictFormat, _t as LocalesArguments, a as BusinessOptionsWeekends, an as BnCalendarConfig, at as DateArgs, b as ZodiacOptions, bn as TimeToken, bt as MonthName, c as DayPart, cn as DateFormatToken, ct as DateString, d as DurationOptions, dn as FormatToken, dt as FromNowUnit, en as BanglaDayName, et as ChronosStaticKey, f as MonthBoundary, fn as HourToken, ft as GreetingConfigs, g as TimeDuration, gn as SecondToken, gt as LocaleCalendar, h as SeasonPreset, hn as MonthToken, ht as ISODateTimeString, i as BusinessOptionsBasic, in as BanglaYear, it as ClockTime, j as ChronosProperties, jt as TimeZoneId, k as ChronosMethods, kt as TimeZone, l as DayPartConfig, ln as DateToken, lt as DateTimeFormatOptions, m as SeasonOptions, mn as MinuteToken, mt as ISODateFormat, n as $BusinessHourOptions, nn as BanglaMonthName, nt as ClockMinute, o as ChronosPlugin, on as BnCalendarVariant, ot as DateFormatOptions, p as SeasonDefinition, pn as MSToken, pt as HourMinutes, q as $TZLabelKey, qt as $BnEn, r as AcademicYear, rn as BanglaSeasonName, rt as ClockSecond, s as DateBoundary, sn as DateWithSeasonToken, st as DateLike, t as $BusinessHourBaseOptions, tn as BanglaMonth, tt as ClockHour, u as DurationKey, un as DayToken, ut as FormatOptions, v as ZodiacMeta, vn as TimeFormatToken, vt as Milliseconds, w as $InstanceMethods, wt as PositiveUTCHour, x as ZodiacPreset, xn as YearToken, xt as MonthString, y as ZodiacMetaOptions, yn as TimeOnlyFormat, yt as MonthDateString, z as RelativeRangeOptions, zt as WeekDay } from "./types-DKMN8UeN.cjs";
|
|
18
18
|
export type { $BanglaMonth, $BanglaMonthDate, $BanglaYear, $BnDatePadded, $BnEn, $BnMonthPadded, $BnYearPadded, $BusinessHourBaseOptions, $BusinessHourOptions, $Chronos, $DateUnit, $GMTOffset, $ISOTimeString, $InstanceMethods, $LocalArguments, $NativeTzNameOrId, $PluginMethods, $StaticMethods, $TZLabelKey, $TimeUnitKey, $TimeUnitVar, $TimeUnitVarMap, $TimeZoneIdentifier, $UTCOffset, $UnitAnyCase, AcademicYear, BanglaDate, BanglaDateFormat, BanglaDateObject, BanglaDateOptions, BanglaDayName, BanglaMonth, BanglaMonthName, BanglaSeasonName, BanglaYear, BnCalendarConfig, BnCalendarVariant, BusinessOptionsBasic, BusinessOptionsWeekends, ChronosInput, ChronosInternals, ChronosMethods, ChronosObject, ChronosPlugin, ChronosProperties, ChronosStaticKey, ChronosStatics, ChronosTimeZone, ChronosWithOptions, ClockHour, ClockMinute, ClockSecond, ClockTime, DateArgs, DateBoundary, DateFormatOptions, DateFormatToken, DateLike, DateRangeOptions, DateString, DateTimeFormatOptions, DateToken, DateWithSeasonToken, DatesInRangeOptions, DayPart, DayPartConfig, DayToken, DurationKey, DurationOptions, FormatOptions, FormatToken, FromNowUnit, GreetingConfigs, HourMinutes, HourToken, ISODateFormat, ISODateTimeString, LocaleCalendar, LocalesArguments, MSToken, Milliseconds, MinuteToken, MonthBoundary, MonthDateString, MonthName, MonthString, MonthToken, NegativeUTCHour, NumberingSystem, PluginMethods, PositiveUTCHour, Quarter, RangeWithDates, RelativeDateRange, RelativeRangeOptions, SeasonDefinition, SeasonOptions, SeasonPreset, SecondToken, StrictFormat, TimeDuration, TimeFormatToken, TimeOnlyFormat, TimeToken, TimeUnit, TimeUnitValue, TimeWithUnit, TimeZone, TimeZoneDetails, TimeZoneId, TimeZoneIdNative, TimeZoneIdentifier, TimeZoneName, TimeZoneNameNative, TimestampOptions, UTCMinute, UTCOffset, WeekDay, WeekdayOptions, WithoutOrigin, YearToken, ZodiacArray, ZodiacMeta, ZodiacMetaOptions, ZodiacOptions, ZodiacPreset, ZodiacSign };
|
package/dist/types.d.mts
CHANGED
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { $ as $UnitAnyCase, $t as BanglaDateOptions, A as ChronosObject, At as TimeZoneDetails, B as WeekdayOptions, Bt as ChronosStatics, C as $Chronos, Ct as NumberingSystem, D as ChronosInput, Dt as TimeUnitValue, E as $StaticMethods, Et as TimeUnit, F as DatesInRangeOptions, Ft as TimeZoneNameNative, G as $LocalArguments, Gt as $BanglaYear, H as $DateUnit, I as PluginMethods, It as TimestampOptions, J as $TimeUnitKey, Jt as $BnMonthPadded, K as $NativeTzNameOrId, Kt as $BnDatePadded, L as RangeWithDates, Lt as UTCMinute, M as ChronosTimeZone, Mt as TimeZoneIdNative, N as ChronosWithOptions, Nt as TimeZoneIdentifier, O as ChronosInternals, Ot as TimeWithUnit, P as DateRangeOptions, Pt as TimeZoneName, Q as $UTCOffset, Qt as BanglaDateObject, R as RelativeDateRange, Rt as UTCOffset, S as ZodiacSign, St as NegativeUTCHour, T as $PluginMethods, Tt as Quarter, U as $GMTOffset, Ut as $BanglaMonth, V as WithoutOrigin, W as $ISOTimeString, Wt as $BanglaMonthDate, X as $TimeUnitVarMap, Xt as BanglaDate, Y as $TimeUnitVar, Yt as $BnYearPadded, Z as $TimeZoneIdentifier, Zt as BanglaDateFormat, _ as ZodiacArray, _n as StrictFormat, _t as LocalesArguments, a as BusinessOptionsWeekends, an as BnCalendarConfig, at as DateArgs, b as ZodiacOptions, bn as TimeToken, bt as MonthName, c as DayPart, cn as DateFormatToken, ct as DateString, d as DurationOptions, dn as FormatToken, dt as FromNowUnit, en as BanglaDayName, et as ChronosStaticKey, f as MonthBoundary, fn as HourToken, ft as GreetingConfigs, g as TimeDuration, gn as SecondToken, gt as LocaleCalendar, h as SeasonPreset, hn as MonthToken, ht as ISODateTimeString, i as BusinessOptionsBasic, in as BanglaYear, it as ClockTime, j as ChronosProperties, jt as TimeZoneId, k as ChronosMethods, kt as TimeZone, l as DayPartConfig, ln as DateToken, lt as DateTimeFormatOptions, m as SeasonOptions, mn as MinuteToken, mt as ISODateFormat, n as $BusinessHourOptions, nn as BanglaMonthName, nt as ClockMinute, o as ChronosPlugin, on as BnCalendarVariant, ot as DateFormatOptions, p as SeasonDefinition, pn as MSToken, pt as HourMinutes, q as $TZLabelKey, qt as $BnEn, r as AcademicYear, rn as BanglaSeasonName, rt as ClockSecond, s as DateBoundary, sn as DateWithSeasonToken, st as DateLike, t as $BusinessHourBaseOptions, tn as BanglaMonth, tt as ClockHour, u as DurationKey, un as DayToken, ut as FormatOptions, v as ZodiacMeta, vn as TimeFormatToken, vt as Milliseconds, w as $InstanceMethods, wt as PositiveUTCHour, x as ZodiacPreset, xn as YearToken, xt as MonthString, y as ZodiacMetaOptions, yn as TimeOnlyFormat, yt as MonthDateString, z as RelativeRangeOptions, zt as WeekDay } from "./types-
|
|
17
|
+
import { $ as $UnitAnyCase, $t as BanglaDateOptions, A as ChronosObject, At as TimeZoneDetails, B as WeekdayOptions, Bt as ChronosStatics, C as $Chronos, Ct as NumberingSystem, D as ChronosInput, Dt as TimeUnitValue, E as $StaticMethods, Et as TimeUnit, F as DatesInRangeOptions, Ft as TimeZoneNameNative, G as $LocalArguments, Gt as $BanglaYear, H as $DateUnit, I as PluginMethods, It as TimestampOptions, J as $TimeUnitKey, Jt as $BnMonthPadded, K as $NativeTzNameOrId, Kt as $BnDatePadded, L as RangeWithDates, Lt as UTCMinute, M as ChronosTimeZone, Mt as TimeZoneIdNative, N as ChronosWithOptions, Nt as TimeZoneIdentifier, O as ChronosInternals, Ot as TimeWithUnit, P as DateRangeOptions, Pt as TimeZoneName, Q as $UTCOffset, Qt as BanglaDateObject, R as RelativeDateRange, Rt as UTCOffset, S as ZodiacSign, St as NegativeUTCHour, T as $PluginMethods, Tt as Quarter, U as $GMTOffset, Ut as $BanglaMonth, V as WithoutOrigin, W as $ISOTimeString, Wt as $BanglaMonthDate, X as $TimeUnitVarMap, Xt as BanglaDate, Y as $TimeUnitVar, Yt as $BnYearPadded, Z as $TimeZoneIdentifier, Zt as BanglaDateFormat, _ as ZodiacArray, _n as StrictFormat, _t as LocalesArguments, a as BusinessOptionsWeekends, an as BnCalendarConfig, at as DateArgs, b as ZodiacOptions, bn as TimeToken, bt as MonthName, c as DayPart, cn as DateFormatToken, ct as DateString, d as DurationOptions, dn as FormatToken, dt as FromNowUnit, en as BanglaDayName, et as ChronosStaticKey, f as MonthBoundary, fn as HourToken, ft as GreetingConfigs, g as TimeDuration, gn as SecondToken, gt as LocaleCalendar, h as SeasonPreset, hn as MonthToken, ht as ISODateTimeString, i as BusinessOptionsBasic, in as BanglaYear, it as ClockTime, j as ChronosProperties, jt as TimeZoneId, k as ChronosMethods, kt as TimeZone, l as DayPartConfig, ln as DateToken, lt as DateTimeFormatOptions, m as SeasonOptions, mn as MinuteToken, mt as ISODateFormat, n as $BusinessHourOptions, nn as BanglaMonthName, nt as ClockMinute, o as ChronosPlugin, on as BnCalendarVariant, ot as DateFormatOptions, p as SeasonDefinition, pn as MSToken, pt as HourMinutes, q as $TZLabelKey, qt as $BnEn, r as AcademicYear, rn as BanglaSeasonName, rt as ClockSecond, s as DateBoundary, sn as DateWithSeasonToken, st as DateLike, t as $BusinessHourBaseOptions, tn as BanglaMonth, tt as ClockHour, u as DurationKey, un as DayToken, ut as FormatOptions, v as ZodiacMeta, vn as TimeFormatToken, vt as Milliseconds, w as $InstanceMethods, wt as PositiveUTCHour, x as ZodiacPreset, xn as YearToken, xt as MonthString, y as ZodiacMetaOptions, yn as TimeOnlyFormat, yt as MonthDateString, z as RelativeRangeOptions, zt as WeekDay } from "./types-36vIWjN1.mjs";
|
|
18
18
|
export type { $BanglaMonth, $BanglaMonthDate, $BanglaYear, $BnDatePadded, $BnEn, $BnMonthPadded, $BnYearPadded, $BusinessHourBaseOptions, $BusinessHourOptions, $Chronos, $DateUnit, $GMTOffset, $ISOTimeString, $InstanceMethods, $LocalArguments, $NativeTzNameOrId, $PluginMethods, $StaticMethods, $TZLabelKey, $TimeUnitKey, $TimeUnitVar, $TimeUnitVarMap, $TimeZoneIdentifier, $UTCOffset, $UnitAnyCase, AcademicYear, BanglaDate, BanglaDateFormat, BanglaDateObject, BanglaDateOptions, BanglaDayName, BanglaMonth, BanglaMonthName, BanglaSeasonName, BanglaYear, BnCalendarConfig, BnCalendarVariant, BusinessOptionsBasic, BusinessOptionsWeekends, ChronosInput, ChronosInternals, ChronosMethods, ChronosObject, ChronosPlugin, ChronosProperties, ChronosStaticKey, ChronosStatics, ChronosTimeZone, ChronosWithOptions, ClockHour, ClockMinute, ClockSecond, ClockTime, DateArgs, DateBoundary, DateFormatOptions, DateFormatToken, DateLike, DateRangeOptions, DateString, DateTimeFormatOptions, DateToken, DateWithSeasonToken, DatesInRangeOptions, DayPart, DayPartConfig, DayToken, DurationKey, DurationOptions, FormatOptions, FormatToken, FromNowUnit, GreetingConfigs, HourMinutes, HourToken, ISODateFormat, ISODateTimeString, LocaleCalendar, LocalesArguments, MSToken, Milliseconds, MinuteToken, MonthBoundary, MonthDateString, MonthName, MonthString, MonthToken, NegativeUTCHour, NumberingSystem, PluginMethods, PositiveUTCHour, Quarter, RangeWithDates, RelativeDateRange, RelativeRangeOptions, SeasonDefinition, SeasonOptions, SeasonPreset, SecondToken, StrictFormat, TimeDuration, TimeFormatToken, TimeOnlyFormat, TimeToken, TimeUnit, TimeUnitValue, TimeWithUnit, TimeZone, TimeZoneDetails, TimeZoneId, TimeZoneIdNative, TimeZoneIdentifier, TimeZoneName, TimeZoneNameNative, TimestampOptions, UTCMinute, UTCOffset, WeekDay, WeekdayOptions, WithoutOrigin, YearToken, ZodiacArray, ZodiacMeta, ZodiacMetaOptions, ZodiacOptions, ZodiacPreset, ZodiacSign };
|
|
@@ -14,15 +14,15 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
const require_primitives = require('./primitives-
|
|
17
|
+
const require_primitives = require('./primitives-Ce8vYVxN.cjs');
|
|
18
18
|
|
|
19
|
-
//#region node_modules/.pnpm/nhb-toolbox@4.30.
|
|
19
|
+
//#region node_modules/.pnpm/nhb-toolbox@4.30.11/node_modules/nhb-toolbox/dist/esm/guards/specials.js
|
|
20
20
|
function isNumericString(value) {
|
|
21
21
|
return require_primitives.isString(value) && value?.trim() !== "" && Number.isFinite(Number(value));
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
//#endregion
|
|
25
|
-
//#region node_modules/.pnpm/nhb-toolbox@4.30.
|
|
25
|
+
//#region node_modules/.pnpm/nhb-toolbox@4.30.11/node_modules/nhb-toolbox/dist/esm/number/constants.js
|
|
26
26
|
const BN_DIGITS = /* @__PURE__ */ Object.freeze({
|
|
27
27
|
"০": 0,
|
|
28
28
|
"১": 1,
|
|
@@ -37,7 +37,7 @@ const BN_DIGITS = /* @__PURE__ */ Object.freeze({
|
|
|
37
37
|
});
|
|
38
38
|
|
|
39
39
|
//#endregion
|
|
40
|
-
//#region node_modules/.pnpm/nhb-toolbox@4.30.
|
|
40
|
+
//#region node_modules/.pnpm/nhb-toolbox@4.30.11/node_modules/nhb-toolbox/dist/esm/number/utilities.js
|
|
41
41
|
const roundToNearest = (value, interval = 5) => {
|
|
42
42
|
return Math.round(Number(value) / interval) * interval;
|
|
43
43
|
};
|
|
@@ -14,15 +14,15 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { i as isString, r as isNumber } from "./primitives-
|
|
17
|
+
import { i as isString, r as isNumber } from "./primitives-Csc-jgx0.mjs";
|
|
18
18
|
|
|
19
|
-
//#region node_modules/.pnpm/nhb-toolbox@4.30.
|
|
19
|
+
//#region node_modules/.pnpm/nhb-toolbox@4.30.11/node_modules/nhb-toolbox/dist/esm/guards/specials.js
|
|
20
20
|
function isNumericString(value) {
|
|
21
21
|
return isString(value) && value?.trim() !== "" && Number.isFinite(Number(value));
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
//#endregion
|
|
25
|
-
//#region node_modules/.pnpm/nhb-toolbox@4.30.
|
|
25
|
+
//#region node_modules/.pnpm/nhb-toolbox@4.30.11/node_modules/nhb-toolbox/dist/esm/number/constants.js
|
|
26
26
|
const BN_DIGITS = /* @__PURE__ */ Object.freeze({
|
|
27
27
|
"০": 0,
|
|
28
28
|
"১": 1,
|
|
@@ -37,7 +37,7 @@ const BN_DIGITS = /* @__PURE__ */ Object.freeze({
|
|
|
37
37
|
});
|
|
38
38
|
|
|
39
39
|
//#endregion
|
|
40
|
-
//#region node_modules/.pnpm/nhb-toolbox@4.30.
|
|
40
|
+
//#region node_modules/.pnpm/nhb-toolbox@4.30.11/node_modules/nhb-toolbox/dist/esm/number/utilities.js
|
|
41
41
|
const roundToNearest = (value, interval = 5) => {
|
|
42
42
|
return Math.round(Number(value) / interval) * interval;
|
|
43
43
|
};
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import { n as NATIVE_TZ_IDS } from "./timezone-Db2CeL32.mjs";
|
|
18
|
-
import { a as isUndefined } from "./primitives-
|
|
19
|
-
import { r as isObject } from "./non-primitives-
|
|
20
|
-
import { n as normalizeNumber } from "./utilities-
|
|
18
|
+
import { a as isUndefined } from "./primitives-Csc-jgx0.mjs";
|
|
19
|
+
import { r as isObject } from "./non-primitives-BG-R5eUB.mjs";
|
|
20
|
+
import { n as normalizeNumber } from "./utilities-CQORzytW.mjs";
|
|
21
21
|
import { isValidUTCOffset } from "./guards.mjs";
|
|
22
|
-
import { n as _dateArgsToDate, p as _resolveNativeTzName, r as _formatDate, s as _gmtToUtcOffset, u as _normalizeOffset } from "./helpers-
|
|
22
|
+
import { n as _dateArgsToDate, p as _resolveNativeTzName, r as _formatDate, s as _gmtToUtcOffset, u as _normalizeOffset } from "./helpers-X5e54orr.mjs";
|
|
23
23
|
|
|
24
24
|
//#region src/utils/utilities.ts
|
|
25
25
|
/**
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
const require_timezone = require('./timezone-BNnHFgki.cjs');
|
|
18
|
-
const require_primitives = require('./primitives-
|
|
19
|
-
const require_non_primitives = require('./non-primitives-
|
|
20
|
-
const require_utilities = require('./utilities-
|
|
18
|
+
const require_primitives = require('./primitives-Ce8vYVxN.cjs');
|
|
19
|
+
const require_non_primitives = require('./non-primitives-D3EcMaah.cjs');
|
|
20
|
+
const require_utilities = require('./utilities-BnJa8S6A.cjs');
|
|
21
21
|
const require_guards = require('./guards.cjs');
|
|
22
|
-
const require_helpers = require('./helpers-
|
|
22
|
+
const require_helpers = require('./helpers-CoVvHHs7.cjs');
|
|
23
23
|
|
|
24
24
|
//#region src/utils/utilities.ts
|
|
25
25
|
/**
|
package/dist/utils.cjs
CHANGED
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
|
|
17
17
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
18
18
|
const require_basic = require('./basic-DsQqC5nZ.cjs');
|
|
19
|
-
const require_primitives = require('./primitives-
|
|
20
|
-
const require_utilities = require('./utilities-
|
|
19
|
+
const require_primitives = require('./primitives-Ce8vYVxN.cjs');
|
|
20
|
+
const require_utilities = require('./utilities-BnJa8S6A.cjs');
|
|
21
21
|
const require_guards = require('./guards.cjs');
|
|
22
|
-
const require_utilities$1 = require('./utilities-
|
|
23
|
-
const require_greet = require('./greet-
|
|
22
|
+
const require_utilities$1 = require('./utilities-GTSjQweZ.cjs');
|
|
23
|
+
const require_greet = require('./greet-DMVrEM6l.cjs');
|
|
24
24
|
|
|
25
25
|
//#region src/utils/parser.ts
|
|
26
26
|
/**
|
package/dist/utils.d.cts
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { At as TimeZoneDetails, Cn as Numeric, It as TimestampOptions, Mt as TimeZoneIdNative, Ot as TimeWithUnit, Rt as UTCOffset, Sn as Maybe, Z as $TimeZoneIdentifier, _n as StrictFormat, at as DateArgs, ft as GreetingConfigs, ht as ISODateTimeString, it as ClockTime, mt as ISODateFormat, ot as DateFormatOptions, pt as HourMinutes, yn as TimeOnlyFormat } from "./types-
|
|
17
|
+
import { At as TimeZoneDetails, Cn as Numeric, It as TimestampOptions, Mt as TimeZoneIdNative, Ot as TimeWithUnit, Rt as UTCOffset, Sn as Maybe, Z as $TimeZoneIdentifier, _n as StrictFormat, at as DateArgs, ft as GreetingConfigs, ht as ISODateTimeString, it as ClockTime, mt as ISODateFormat, ot as DateFormatOptions, pt as HourMinutes, yn as TimeOnlyFormat } from "./types-DKMN8UeN.cjs";
|
|
18
18
|
|
|
19
19
|
//#region src/utils/greet.d.ts
|
|
20
20
|
/**
|
package/dist/utils.d.mts
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { At as TimeZoneDetails, Cn as Numeric, It as TimestampOptions, Mt as TimeZoneIdNative, Ot as TimeWithUnit, Rt as UTCOffset, Sn as Maybe, Z as $TimeZoneIdentifier, _n as StrictFormat, at as DateArgs, ft as GreetingConfigs, ht as ISODateTimeString, it as ClockTime, mt as ISODateFormat, ot as DateFormatOptions, pt as HourMinutes, yn as TimeOnlyFormat } from "./types-
|
|
17
|
+
import { At as TimeZoneDetails, Cn as Numeric, It as TimestampOptions, Mt as TimeZoneIdNative, Ot as TimeWithUnit, Rt as UTCOffset, Sn as Maybe, Z as $TimeZoneIdentifier, _n as StrictFormat, at as DateArgs, ft as GreetingConfigs, ht as ISODateTimeString, it as ClockTime, mt as ISODateFormat, ot as DateFormatOptions, pt as HourMinutes, yn as TimeOnlyFormat } from "./types-36vIWjN1.mjs";
|
|
18
18
|
|
|
19
19
|
//#region src/utils/greet.d.ts
|
|
20
20
|
/**
|
package/dist/utils.mjs
CHANGED
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import { l as MS_MAP } from "./basic-DqKyujoj.mjs";
|
|
18
|
-
import { n as isNonEmptyString, r as isNumber } from "./primitives-
|
|
19
|
-
import { a as isNumericString } from "./utilities-
|
|
18
|
+
import { n as isNonEmptyString, r as isNumber } from "./primitives-Csc-jgx0.mjs";
|
|
19
|
+
import { a as isNumericString } from "./utilities-CQORzytW.mjs";
|
|
20
20
|
import { isTimeWithUnit } from "./guards.mjs";
|
|
21
|
-
import { a as formatDate, c as formatUTCOffset, d as getTimeZoneIds, f as getTimestamp, i as extractTimeFromUTC, l as getNativeTimeZoneId, n as extractHourMinute, o as formatDateRelative, p as getTotalMinutes, r as extractMinutesFromUTC, s as formatTimePart, t as convertMinutesToTime, u as getTimeZoneDetails } from "./utilities-
|
|
22
|
-
import { t as getGreeting } from "./greet-
|
|
21
|
+
import { a as formatDate, c as formatUTCOffset, d as getTimeZoneIds, f as getTimestamp, i as extractTimeFromUTC, l as getNativeTimeZoneId, n as extractHourMinute, o as formatDateRelative, p as getTotalMinutes, r as extractMinutesFromUTC, s as formatTimePart, t as convertMinutesToTime, u as getTimeZoneDetails } from "./utilities-CW4F3wFp.mjs";
|
|
22
|
+
import { t as getGreeting } from "./greet-BBVGLAlA.mjs";
|
|
23
23
|
|
|
24
24
|
//#region src/utils/parser.ts
|
|
25
25
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "chronos-date",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.3",
|
|
4
4
|
"description": "A lightweight, immutable, and plugin-based date-time manipulation library for JavaScript and TypeScript.",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"type": "module",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"husky": "^9.1.7",
|
|
62
62
|
"lint-staged": "^17.0.5",
|
|
63
63
|
"nhb-scripts": "^1.9.2",
|
|
64
|
-
"nhb-toolbox": "^4.30.
|
|
64
|
+
"nhb-toolbox": "^4.30.11",
|
|
65
65
|
"tsdown": "^0.22.0",
|
|
66
66
|
"typescript": "^6.0.3"
|
|
67
67
|
},
|
|
@@ -149,13 +149,14 @@
|
|
|
149
149
|
"./package.json": "./package.json"
|
|
150
150
|
},
|
|
151
151
|
"inlinedDependencies": {
|
|
152
|
-
"nhb-toolbox": "4.30.
|
|
152
|
+
"nhb-toolbox": "4.30.11"
|
|
153
153
|
},
|
|
154
154
|
"scripts": {
|
|
155
155
|
"build": "tsdown",
|
|
156
156
|
"dev:pkg": "tsdown --watch",
|
|
157
157
|
"dev": "pnpm --filter chronos-date-docs dev",
|
|
158
158
|
"build:docs": "pnpm --filter chronos-date-docs build",
|
|
159
|
+
"gen": "pnpm --filter chronos-date-docs gen",
|
|
159
160
|
"typecheck": "tsc --noEmit",
|
|
160
161
|
"commit": "nhb-commit",
|
|
161
162
|
"count": "nhb-count",
|