chronos-date 1.3.3 → 1.4.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/README.md +1 -1
- package/dist/{convert-C58su2-2.cjs → convert-BDQBTK5P.cjs} +3 -3
- package/dist/{convert-CWh7zZ5Q.mjs → convert-D5Cd0cCg.mjs} +3 -3
- package/dist/{greet-BBVGLAlA.mjs → greet-2HTytQc8.mjs} +1 -1
- package/dist/{greet-DMVrEM6l.cjs → greet-BJ2Fsag1.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-CoVvHHs7.cjs → helpers-Bq7Hczoa.cjs} +3 -3
- package/dist/{helpers-X5e54orr.mjs → helpers-C2spzGZ-.mjs} +3 -3
- package/dist/index.cjs +6 -6
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +6 -6
- package/dist/{non-primitives-D3EcMaah.cjs → non-primitives-BqjRwK2B.cjs} +1 -1
- package/dist/{non-primitives-BG-R5eUB.mjs → non-primitives-CbAOB6lb.mjs} +1 -1
- package/dist/plugins/banglaPlugin.cjs +4 -4
- package/dist/plugins/banglaPlugin.d.cts +2 -2
- package/dist/plugins/banglaPlugin.d.mts +2 -2
- package/dist/plugins/banglaPlugin.mjs +4 -4
- 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 +2 -2
- package/dist/plugins/greetingPlugin.d.cts +1 -1
- package/dist/plugins/greetingPlugin.d.mts +1 -1
- package/dist/plugins/greetingPlugin.mjs +2 -2
- package/dist/plugins/palindromePlugin.cjs +4 -4
- package/dist/plugins/palindromePlugin.d.cts +2 -2
- package/dist/plugins/palindromePlugin.d.mts +2 -2
- package/dist/plugins/palindromePlugin.mjs +4 -4
- 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-Csc-jgx0.mjs → primitives-BXhrgs9R.mjs} +1 -1
- package/dist/{primitives-Ce8vYVxN.cjs → primitives-DfO90c3G.cjs} +1 -1
- package/dist/{types-36vIWjN1.d.mts → types-C_H5zQ8v.d.mts} +11 -11
- package/dist/{types-DKMN8UeN.d.cts → types-g6rO6-Xe.d.cts} +11 -11
- package/dist/types.d.cts +2 -2
- package/dist/types.d.mts +2 -2
- package/dist/{utilities-CQORzytW.mjs → utilities-BnHD2hHf.mjs} +4 -4
- package/dist/{utilities-GTSjQweZ.cjs → utilities-By0PGa-z.cjs} +4 -4
- package/dist/{utilities-BnJa8S6A.cjs → utilities-C_KmjIRK.cjs} +4 -4
- package/dist/{utilities-CW4F3wFp.mjs → utilities-DwMJexGo.mjs} +4 -4
- package/dist/utils.cjs +4 -4
- package/dist/utils.d.cts +2 -2
- package/dist/utils.d.mts +2 -2
- package/dist/utils.mjs +4 -4
- package/package.json +8 -4
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { o as ChronosPlugin } from "../types-
|
|
17
|
+
import { o as ChronosPlugin } from "../types-C_H5zQ8v.mjs";
|
|
18
18
|
|
|
19
19
|
//#region src/plugins/palindromePlugin.d.ts
|
|
20
20
|
declare module 'chronos-date' {
|
|
@@ -45,7 +45,7 @@ declare module 'chronos-date' {
|
|
|
45
45
|
* new Chronos('2011-1-11').isPalindromeDate(true); // true (from '11111')
|
|
46
46
|
* new Chronos('2024-04-11').isPalindromeDate(); // false
|
|
47
47
|
*/
|
|
48
|
-
isPalindromeDate(shortYear
|
|
48
|
+
isPalindromeDate(shortYear?: boolean): boolean;
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
/** * Plugin to inject `isPalindromeDate` method */
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { n as reverseString } from "../convert-
|
|
17
|
+
import { n as reverseString } from "../convert-D5Cd0cCg.mjs";
|
|
18
18
|
|
|
19
|
-
//#region node_modules/.pnpm/nhb-toolbox@4.30.
|
|
19
|
+
//#region node_modules/.pnpm/nhb-toolbox@4.30.14/node_modules/nhb-toolbox/dist/esm/string/guards.js
|
|
20
20
|
const isPalindrome = (input) => {
|
|
21
21
|
const normalized = input.toLowerCase().replace(/[^a-z0-9]/g, "");
|
|
22
22
|
return normalized === reverseString(normalized);
|
|
@@ -27,8 +27,8 @@ const isPalindrome = (input) => {
|
|
|
27
27
|
/** * Plugin to inject `isPalindromeDate` method */
|
|
28
28
|
const palindromePlugin = ($Chronos) => {
|
|
29
29
|
$Chronos.prototype.isPalindromeDate = function(shortYear = false) {
|
|
30
|
-
const padded = this.
|
|
31
|
-
const normal = this.
|
|
30
|
+
const padded = this.formatSafe(shortYear ? "YY-MM-DD" : "YYYY-MM-DD");
|
|
31
|
+
const normal = this.formatSafe(shortYear ? "YY-M-D" : "YYYY-M-D");
|
|
32
32
|
return isPalindrome(padded) || isPalindrome(normal);
|
|
33
33
|
};
|
|
34
34
|
};
|
|
@@ -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-g6rO6-Xe.cjs";
|
|
18
18
|
|
|
19
19
|
//#region src/plugins/relativeTimePlugin.d.ts
|
|
20
20
|
declare module 'chronos-date' {
|
|
@@ -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-C_H5zQ8v.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-C_KmjIRK.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-g6rO6-Xe.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-C_H5zQ8v.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-BnHD2hHf.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-g6rO6-Xe.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-C_H5zQ8v.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-Bq7Hczoa.cjs');
|
|
22
|
+
const require_utilities = require('../utilities-By0PGa-z.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-g6rO6-Xe.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-C_H5zQ8v.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-C2spzGZ-.mjs";
|
|
21
|
+
import { r as extractMinutesFromUTC } from "../utilities-DwMJexGo.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-Bq7Hczoa.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-g6rO6-Xe.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-C_H5zQ8v.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-C2spzGZ-.mjs";
|
|
19
19
|
|
|
20
20
|
//#region src/plugins/zodiacPlugin.ts
|
|
21
21
|
/** * Plugin to inject `zodiac` related methods */
|
|
@@ -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.14/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
|
}
|
|
@@ -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.14/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
|
}
|
|
@@ -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.14/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.14/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.14/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.14/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 */
|
|
@@ -400,7 +400,7 @@ type TokenConnector = ' ' | ', ' | '; ' | ' - ';
|
|
|
400
400
|
/** Format tokens for time only string */
|
|
401
401
|
type TimeOnlyFormat = LooseLiteral<TimeFormatToken>;
|
|
402
402
|
/** Pre-defined literal types for formatting date and time. Optionally can pass any string. */
|
|
403
|
-
type
|
|
403
|
+
type SafeFormat = LooseLiteral<DateTimeISO | DateFormatToken | TimeFormatToken | `${DateFormatToken}${TokenConnector}${TimeFormatToken}`>;
|
|
404
404
|
//#endregion
|
|
405
405
|
//#region src/types/bangla-date.d.ts
|
|
406
406
|
/**
|
|
@@ -634,7 +634,7 @@ declare class Chronos<Tz extends ChronosTimeZone = 'System'> {
|
|
|
634
634
|
*
|
|
635
635
|
* @returns Instance of `Chronos` with all methods and properties.
|
|
636
636
|
*/
|
|
637
|
-
constructor(year: number, month
|
|
637
|
+
constructor(year: number, month?: NumberRange<1, 12>, date?: NumberRange<1, 31>, hours?: Enumerate<24>, minutes?: Enumerate<60>, seconds?: Enumerate<60>, ms?: Milliseconds);
|
|
638
638
|
/**
|
|
639
639
|
* * Creates a new immutable `Chronos` instance.
|
|
640
640
|
*
|
|
@@ -765,7 +765,7 @@ declare class Chronos<Tz extends ChronosTimeZone = 'System'> {
|
|
|
765
765
|
* Defaults to `false` (local time).
|
|
766
766
|
* @returns A formatted date string in the specified format.
|
|
767
767
|
*/
|
|
768
|
-
|
|
768
|
+
formatSafe(format?: SafeFormat, useUTC?: boolean): string;
|
|
769
769
|
/**
|
|
770
770
|
* @instance Formats the date into a custom string format (UTC time).
|
|
771
771
|
*
|
|
@@ -1160,7 +1160,7 @@ declare class Chronos<Tz extends ChronosTimeZone = 'System'> {
|
|
|
1160
1160
|
*
|
|
1161
1161
|
* - *Input will default to today's date and assume local timezone if no offset is provided.*
|
|
1162
1162
|
*
|
|
1163
|
-
* @param format - Format tokens accepted by {@link
|
|
1163
|
+
* @param format - Format tokens accepted by {@link formatSafe()} method ({@link TimeOnlyFormat}) for time part only.
|
|
1164
1164
|
* Default: `hh:mm:ss a` → 02:33:36 pm.
|
|
1165
1165
|
* @returns Formatted time string in local (System) time.
|
|
1166
1166
|
*/
|
|
@@ -1524,7 +1524,7 @@ interface ChronosStatics {
|
|
|
1524
1524
|
*
|
|
1525
1525
|
* * *Input will default to today's date and assume local timezone if no offset is provided.*
|
|
1526
1526
|
*
|
|
1527
|
-
* @param format - Format string accepted by `
|
|
1527
|
+
* @param format - Format string accepted by `formatSafe()` method (`TimeParts`). Default: `hh:mm:ss a` → 02:33:36 pm.
|
|
1528
1528
|
* @returns Formatted time string in local (System) time.
|
|
1529
1529
|
*/
|
|
1530
1530
|
formatTimePart(time: string, format?: TimeFormatToken): string;
|
|
@@ -1686,7 +1686,7 @@ type MonthDateString = Exclude<`${MonthString}-${DateString}`, '02-30' | '02-31'
|
|
|
1686
1686
|
interface DateFormatOptions extends FormatOptions {
|
|
1687
1687
|
/** - Date to format, must be parsable by {@link Date} constructor. Can be string, number or `Date`. Defaults to current time. */
|
|
1688
1688
|
date?: DateArgs;
|
|
1689
|
-
format?:
|
|
1689
|
+
format?: SafeFormat;
|
|
1690
1690
|
}
|
|
1691
1691
|
/** Interface representing a date-like object. */
|
|
1692
1692
|
interface DateLike {
|
|
@@ -2149,4 +2149,4 @@ interface DurationOptions {
|
|
|
2149
2149
|
showZero?: boolean;
|
|
2150
2150
|
}
|
|
2151
2151
|
//#endregion
|
|
2152
|
-
export { $UnitAnyCase as $, BanglaDateOptions as $t, ChronosObject as A, TimeZoneDetails as At, WeekdayOptions as B, ChronosStatics as Bt, $Chronos as C, Numeric as Cn, NumberingSystem as Ct, ChronosInput as D, RangeTuple as Dn, TimeUnitValue as Dt, $StaticMethods as E, LooseLiteral as En, TimeUnit as Et, DatesInRangeOptions as F, TimeZoneNameNative as Ft, $LocalArguments as G, $BanglaYear as Gt, $DateUnit as H, chronos as Ht, PluginMethods as I, TimestampOptions as It, $TimeUnitKey as J, $BnMonthPadded as Jt, $NativeTzNameOrId as K, $BnDatePadded as Kt, RangeWithDates as L, UTCMinute as Lt, ChronosTimeZone as M, TimeZoneIdNative as Mt, ChronosWithOptions as N, TimeZoneIdentifier as Nt, ChronosInternals as O, TimeWithUnit as Ot, DateRangeOptions as P, TimeZoneName as Pt, $UTCOffset as Q, BanglaDateObject as Qt, RelativeDateRange as R, UTCOffset as Rt, ZodiacSign as S, Maybe as Sn, NegativeUTCHour as St, $PluginMethods as T, NumberRange as Tn, Quarter as Tt, $GMTOffset as U, $BanglaMonth as Ut, WithoutOrigin as V, Chronos as Vt, $ISOTimeString as W, $BanglaMonthDate as Wt, $TimeUnitVarMap as X, BanglaDate as Xt, $TimeUnitVar as Y, $BnYearPadded as Yt, $TimeZoneIdentifier as Z, BanglaDateFormat as Zt, ZodiacArray as _,
|
|
2152
|
+
export { $UnitAnyCase as $, BanglaDateOptions as $t, ChronosObject as A, TimeZoneDetails as At, WeekdayOptions as B, ChronosStatics as Bt, $Chronos as C, Numeric as Cn, NumberingSystem as Ct, ChronosInput as D, RangeTuple as Dn, TimeUnitValue as Dt, $StaticMethods as E, LooseLiteral as En, TimeUnit as Et, DatesInRangeOptions as F, TimeZoneNameNative as Ft, $LocalArguments as G, $BanglaYear as Gt, $DateUnit as H, chronos as Ht, PluginMethods as I, TimestampOptions as It, $TimeUnitKey as J, $BnMonthPadded as Jt, $NativeTzNameOrId as K, $BnDatePadded as Kt, RangeWithDates as L, UTCMinute as Lt, ChronosTimeZone as M, TimeZoneIdNative as Mt, ChronosWithOptions as N, TimeZoneIdentifier as Nt, ChronosInternals as O, TimeWithUnit as Ot, DateRangeOptions as P, TimeZoneName as Pt, $UTCOffset as Q, BanglaDateObject as Qt, RelativeDateRange as R, UTCOffset as Rt, ZodiacSign as S, Maybe as Sn, NegativeUTCHour as St, $PluginMethods as T, NumberRange as Tn, Quarter as Tt, $GMTOffset as U, $BanglaMonth as Ut, WithoutOrigin as V, Chronos as Vt, $ISOTimeString as W, $BanglaMonthDate as Wt, $TimeUnitVarMap as X, BanglaDate as Xt, $TimeUnitVar as Y, $BnYearPadded as Yt, $TimeZoneIdentifier as Z, BanglaDateFormat as Zt, ZodiacArray as _, SecondToken as _n, LocalesArguments as _t, BusinessOptionsWeekends as a, BnCalendarConfig as an, DateArgs as at, ZodiacOptions as b, TimeToken as bn, MonthName as bt, DayPart as c, DateFormatToken as cn, DateString as ct, DurationOptions as d, FormatToken as dn, FromNowUnit as dt, BanglaDayName as en, ChronosStaticKey as et, MonthBoundary as f, HourToken as fn, GreetingConfigs as ft, TimeDuration as g, SafeFormat as gn, LocaleCalendar as gt, SeasonPreset as h, MonthToken as hn, ISODateTimeString as ht, BusinessOptionsBasic as i, BanglaYear as in, ClockTime as it, ChronosProperties as j, TimeZoneId as jt, ChronosMethods as k, TimeZone as kt, DayPartConfig as l, DateToken as ln, DateTimeFormatOptions as lt, SeasonOptions as m, MinuteToken as mn, ISODateFormat as mt, $BusinessHourOptions as n, BanglaMonthName as nn, ClockMinute as nt, ChronosPlugin as o, BnCalendarVariant as on, DateFormatOptions as ot, SeasonDefinition as p, MSToken as pn, HourMinutes as pt, $TZLabelKey as q, $BnEn as qt, AcademicYear as r, BanglaSeasonName as rn, ClockSecond as rt, DateBoundary as s, DateWithSeasonToken as sn, DateLike as st, $BusinessHourBaseOptions as t, BanglaMonth as tn, ClockHour as tt, DurationKey as u, DayToken as un, FormatOptions as ut, ZodiacMeta as v, TimeFormatToken as vn, Milliseconds as vt, $InstanceMethods as w, Enumerate as wn, PositiveUTCHour as wt, ZodiacPreset as x, YearToken as xn, MonthString as xt, ZodiacMetaOptions as y, TimeOnlyFormat as yn, MonthDateString as yt, RelativeRangeOptions as z, WeekDay as zt };
|
|
@@ -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.14/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.14/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.14/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.14/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 */
|
|
@@ -400,7 +400,7 @@ type TokenConnector = ' ' | ', ' | '; ' | ' - ';
|
|
|
400
400
|
/** Format tokens for time only string */
|
|
401
401
|
type TimeOnlyFormat = LooseLiteral<TimeFormatToken>;
|
|
402
402
|
/** Pre-defined literal types for formatting date and time. Optionally can pass any string. */
|
|
403
|
-
type
|
|
403
|
+
type SafeFormat = LooseLiteral<DateTimeISO | DateFormatToken | TimeFormatToken | `${DateFormatToken}${TokenConnector}${TimeFormatToken}`>;
|
|
404
404
|
//#endregion
|
|
405
405
|
//#region src/types/bangla-date.d.ts
|
|
406
406
|
/**
|
|
@@ -634,7 +634,7 @@ declare class Chronos<Tz extends ChronosTimeZone = 'System'> {
|
|
|
634
634
|
*
|
|
635
635
|
* @returns Instance of `Chronos` with all methods and properties.
|
|
636
636
|
*/
|
|
637
|
-
constructor(year: number, month
|
|
637
|
+
constructor(year: number, month?: NumberRange<1, 12>, date?: NumberRange<1, 31>, hours?: Enumerate<24>, minutes?: Enumerate<60>, seconds?: Enumerate<60>, ms?: Milliseconds);
|
|
638
638
|
/**
|
|
639
639
|
* * Creates a new immutable `Chronos` instance.
|
|
640
640
|
*
|
|
@@ -765,7 +765,7 @@ declare class Chronos<Tz extends ChronosTimeZone = 'System'> {
|
|
|
765
765
|
* Defaults to `false` (local time).
|
|
766
766
|
* @returns A formatted date string in the specified format.
|
|
767
767
|
*/
|
|
768
|
-
|
|
768
|
+
formatSafe(format?: SafeFormat, useUTC?: boolean): string;
|
|
769
769
|
/**
|
|
770
770
|
* @instance Formats the date into a custom string format (UTC time).
|
|
771
771
|
*
|
|
@@ -1160,7 +1160,7 @@ declare class Chronos<Tz extends ChronosTimeZone = 'System'> {
|
|
|
1160
1160
|
*
|
|
1161
1161
|
* - *Input will default to today's date and assume local timezone if no offset is provided.*
|
|
1162
1162
|
*
|
|
1163
|
-
* @param format - Format tokens accepted by {@link
|
|
1163
|
+
* @param format - Format tokens accepted by {@link formatSafe()} method ({@link TimeOnlyFormat}) for time part only.
|
|
1164
1164
|
* Default: `hh:mm:ss a` → 02:33:36 pm.
|
|
1165
1165
|
* @returns Formatted time string in local (System) time.
|
|
1166
1166
|
*/
|
|
@@ -1524,7 +1524,7 @@ interface ChronosStatics {
|
|
|
1524
1524
|
*
|
|
1525
1525
|
* * *Input will default to today's date and assume local timezone if no offset is provided.*
|
|
1526
1526
|
*
|
|
1527
|
-
* @param format - Format string accepted by `
|
|
1527
|
+
* @param format - Format string accepted by `formatSafe()` method (`TimeParts`). Default: `hh:mm:ss a` → 02:33:36 pm.
|
|
1528
1528
|
* @returns Formatted time string in local (System) time.
|
|
1529
1529
|
*/
|
|
1530
1530
|
formatTimePart(time: string, format?: TimeFormatToken): string;
|
|
@@ -1686,7 +1686,7 @@ type MonthDateString = Exclude<`${MonthString}-${DateString}`, '02-30' | '02-31'
|
|
|
1686
1686
|
interface DateFormatOptions extends FormatOptions {
|
|
1687
1687
|
/** - Date to format, must be parsable by {@link Date} constructor. Can be string, number or `Date`. Defaults to current time. */
|
|
1688
1688
|
date?: DateArgs;
|
|
1689
|
-
format?:
|
|
1689
|
+
format?: SafeFormat;
|
|
1690
1690
|
}
|
|
1691
1691
|
/** Interface representing a date-like object. */
|
|
1692
1692
|
interface DateLike {
|
|
@@ -2149,4 +2149,4 @@ interface DurationOptions {
|
|
|
2149
2149
|
showZero?: boolean;
|
|
2150
2150
|
}
|
|
2151
2151
|
//#endregion
|
|
2152
|
-
export { $UnitAnyCase as $, BanglaDateOptions as $t, ChronosObject as A, TimeZoneDetails as At, WeekdayOptions as B, ChronosStatics as Bt, $Chronos as C, Numeric as Cn, NumberingSystem as Ct, ChronosInput as D, RangeTuple as Dn, TimeUnitValue as Dt, $StaticMethods as E, LooseLiteral as En, TimeUnit as Et, DatesInRangeOptions as F, TimeZoneNameNative as Ft, $LocalArguments as G, $BanglaYear as Gt, $DateUnit as H, chronos as Ht, PluginMethods as I, TimestampOptions as It, $TimeUnitKey as J, $BnMonthPadded as Jt, $NativeTzNameOrId as K, $BnDatePadded as Kt, RangeWithDates as L, UTCMinute as Lt, ChronosTimeZone as M, TimeZoneIdNative as Mt, ChronosWithOptions as N, TimeZoneIdentifier as Nt, ChronosInternals as O, TimeWithUnit as Ot, DateRangeOptions as P, TimeZoneName as Pt, $UTCOffset as Q, BanglaDateObject as Qt, RelativeDateRange as R, UTCOffset as Rt, ZodiacSign as S, Maybe as Sn, NegativeUTCHour as St, $PluginMethods as T, NumberRange as Tn, Quarter as Tt, $GMTOffset as U, $BanglaMonth as Ut, WithoutOrigin as V, Chronos as Vt, $ISOTimeString as W, $BanglaMonthDate as Wt, $TimeUnitVarMap as X, BanglaDate as Xt, $TimeUnitVar as Y, $BnYearPadded as Yt, $TimeZoneIdentifier as Z, BanglaDateFormat as Zt, ZodiacArray as _,
|
|
2152
|
+
export { $UnitAnyCase as $, BanglaDateOptions as $t, ChronosObject as A, TimeZoneDetails as At, WeekdayOptions as B, ChronosStatics as Bt, $Chronos as C, Numeric as Cn, NumberingSystem as Ct, ChronosInput as D, RangeTuple as Dn, TimeUnitValue as Dt, $StaticMethods as E, LooseLiteral as En, TimeUnit as Et, DatesInRangeOptions as F, TimeZoneNameNative as Ft, $LocalArguments as G, $BanglaYear as Gt, $DateUnit as H, chronos as Ht, PluginMethods as I, TimestampOptions as It, $TimeUnitKey as J, $BnMonthPadded as Jt, $NativeTzNameOrId as K, $BnDatePadded as Kt, RangeWithDates as L, UTCMinute as Lt, ChronosTimeZone as M, TimeZoneIdNative as Mt, ChronosWithOptions as N, TimeZoneIdentifier as Nt, ChronosInternals as O, TimeWithUnit as Ot, DateRangeOptions as P, TimeZoneName as Pt, $UTCOffset as Q, BanglaDateObject as Qt, RelativeDateRange as R, UTCOffset as Rt, ZodiacSign as S, Maybe as Sn, NegativeUTCHour as St, $PluginMethods as T, NumberRange as Tn, Quarter as Tt, $GMTOffset as U, $BanglaMonth as Ut, WithoutOrigin as V, Chronos as Vt, $ISOTimeString as W, $BanglaMonthDate as Wt, $TimeUnitVarMap as X, BanglaDate as Xt, $TimeUnitVar as Y, $BnYearPadded as Yt, $TimeZoneIdentifier as Z, BanglaDateFormat as Zt, ZodiacArray as _, SecondToken as _n, LocalesArguments as _t, BusinessOptionsWeekends as a, BnCalendarConfig as an, DateArgs as at, ZodiacOptions as b, TimeToken as bn, MonthName as bt, DayPart as c, DateFormatToken as cn, DateString as ct, DurationOptions as d, FormatToken as dn, FromNowUnit as dt, BanglaDayName as en, ChronosStaticKey as et, MonthBoundary as f, HourToken as fn, GreetingConfigs as ft, TimeDuration as g, SafeFormat as gn, LocaleCalendar as gt, SeasonPreset as h, MonthToken as hn, ISODateTimeString as ht, BusinessOptionsBasic as i, BanglaYear as in, ClockTime as it, ChronosProperties as j, TimeZoneId as jt, ChronosMethods as k, TimeZone as kt, DayPartConfig as l, DateToken as ln, DateTimeFormatOptions as lt, SeasonOptions as m, MinuteToken as mn, ISODateFormat as mt, $BusinessHourOptions as n, BanglaMonthName as nn, ClockMinute as nt, ChronosPlugin as o, BnCalendarVariant as on, DateFormatOptions as ot, SeasonDefinition as p, MSToken as pn, HourMinutes as pt, $TZLabelKey as q, $BnEn as qt, AcademicYear as r, BanglaSeasonName as rn, ClockSecond as rt, DateBoundary as s, DateWithSeasonToken as sn, DateLike as st, $BusinessHourBaseOptions as t, BanglaMonth as tn, ClockHour as tt, DurationKey as u, DayToken as un, FormatOptions as ut, ZodiacMeta as v, TimeFormatToken as vn, Milliseconds as vt, $InstanceMethods as w, Enumerate as wn, PositiveUTCHour as wt, ZodiacPreset as x, YearToken as xn, MonthString as xt, ZodiacMetaOptions as y, TimeOnlyFormat as yn, MonthDateString as yt, RelativeRangeOptions as z, WeekDay as zt };
|
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
|
|
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,
|
|
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 SecondToken, _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 SafeFormat, 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-g6rO6-Xe.cjs";
|
|
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, SafeFormat, SeasonDefinition, SeasonOptions, SeasonPreset, SecondToken, 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
|
|
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,
|
|
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 SecondToken, _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 SafeFormat, 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-C_H5zQ8v.mjs";
|
|
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, SafeFormat, SeasonDefinition, SeasonOptions, SeasonPreset, SecondToken, 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
|
-
import { i as isString, r as isNumber } from "./primitives-
|
|
17
|
+
import { i as isString, r as isNumber } from "./primitives-BXhrgs9R.mjs";
|
|
18
18
|
|
|
19
|
-
//#region node_modules/.pnpm/nhb-toolbox@4.30.
|
|
19
|
+
//#region node_modules/.pnpm/nhb-toolbox@4.30.14/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.14/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.14/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
|
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-DfO90c3G.cjs');
|
|
19
|
+
const require_non_primitives = require('./non-primitives-BqjRwK2B.cjs');
|
|
20
|
+
const require_utilities = require('./utilities-C_KmjIRK.cjs');
|
|
21
21
|
const require_guards = require('./guards.cjs');
|
|
22
|
-
const require_helpers = require('./helpers-
|
|
22
|
+
const require_helpers = require('./helpers-Bq7Hczoa.cjs');
|
|
23
23
|
|
|
24
24
|
//#region src/utils/utilities.ts
|
|
25
25
|
/**
|
|
@@ -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-DfO90c3G.cjs');
|
|
18
18
|
|
|
19
|
-
//#region node_modules/.pnpm/nhb-toolbox@4.30.
|
|
19
|
+
//#region node_modules/.pnpm/nhb-toolbox@4.30.14/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.14/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.14/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-BXhrgs9R.mjs";
|
|
19
|
+
import { r as isObject } from "./non-primitives-CbAOB6lb.mjs";
|
|
20
|
+
import { n as normalizeNumber } from "./utilities-BnHD2hHf.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-C2spzGZ-.mjs";
|
|
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-DfO90c3G.cjs');
|
|
20
|
+
const require_utilities = require('./utilities-C_KmjIRK.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-By0PGa-z.cjs');
|
|
23
|
+
const require_greet = require('./greet-BJ2Fsag1.cjs');
|
|
24
24
|
|
|
25
25
|
//#region src/utils/parser.ts
|
|
26
26
|
/**
|