@datawire-ai/busyfile-design-library 1.30.4 → 1.30.5
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/index100.js +15 -11
- package/dist/index101.js +13 -217
- package/dist/index102.js +7 -13
- package/dist/index103.js +50 -30
- package/dist/index104.js +633 -118
- package/dist/index105.js +13 -15
- package/dist/index106.js +227 -9
- package/dist/index107.js +219 -49
- package/dist/index108.js +30 -11
- package/dist/index109.js +11 -4
- package/dist/index110.js +4 -13
- package/dist/index111.js +12 -3
- package/dist/index112.js +3 -46
- package/dist/index113.js +46 -14
- package/dist/index114.js +7 -650
- package/dist/index115.js +14 -13
- package/dist/index116.js +178 -223
- package/dist/index121.js +1 -1
- package/dist/index123.js +1 -1
- package/dist/index124.js +3 -3
- package/dist/index127.js +3 -3
- package/dist/index128.js +3 -3
- package/dist/index200.js +5 -525
- package/dist/index201.js +3 -128
- package/dist/index202.js +22 -132
- package/dist/index203.js +110 -5
- package/dist/index204.js +16 -3
- package/dist/index205.js +522 -21
- package/dist/index206.js +127 -109
- package/dist/index207.js +133 -15
- package/dist/index217.js +2 -2
- package/dist/index218.js +2 -2
- package/dist/index221.js +3 -3
- package/dist/index222.js +1 -1
- package/dist/index223.js +2 -2
- package/dist/index225.js +1 -1
- package/dist/index226.js +2 -2
- package/dist/index227.js +1 -1
- package/dist/index228.js +6 -6
- package/dist/index229.js +3 -3
- package/dist/index230.js +1 -1
- package/dist/index231.js +1 -1
- package/dist/index232.js +3 -3
- package/dist/index233.js +1 -1
- package/dist/index234.js +1 -1
- package/dist/index236.js +1 -1
- package/dist/index237.js +1 -1
- package/dist/index238.js +1 -1
- package/dist/index239.js +2 -2
- package/dist/index240.js +2 -2
- package/dist/index241.js +3 -3
- package/dist/index242.js +2 -2
- package/dist/index243.js +1 -1
- package/dist/index245.js +1 -1
- package/dist/index246.js +2 -2
- package/dist/index247.js +1 -1
- package/dist/index269.js +1 -1
- package/dist/index274.js +1 -1
- package/dist/index276.js +1 -1
- package/dist/index277.js +2 -2
- package/dist/index282.js +6 -5
- package/dist/index283.js +15 -5
- package/dist/index284.js +29 -4
- package/dist/index285.js +12 -15
- package/dist/index286.js +5 -8
- package/dist/index287.js +5 -5
- package/dist/index288.js +4 -5
- package/dist/index289.js +15 -512
- package/dist/index290.js +9 -50
- package/dist/index291.js +5 -17
- package/dist/index292.js +4 -6
- package/dist/index293.js +512 -8
- package/dist/index294.js +50 -8
- package/dist/index295.js +17 -8
- package/dist/index296.js +6 -12
- package/dist/index297.js +8 -10
- package/dist/index298.js +7 -14
- package/dist/index299.js +8 -6
- package/dist/index300.js +12 -15
- package/dist/index301.js +10 -28
- package/dist/index302.js +14 -12
- package/dist/index33.js +89 -73
- package/dist/index40.js +1 -1
- package/dist/index42.js +4 -4
- package/dist/index44.js +7 -7
- package/dist/index46.js +5 -5
- package/dist/index49.js +12 -12
- package/dist/index52.js +10 -10
- package/dist/index59.js +5 -5
- package/dist/index63.js +1 -1
- package/dist/index75.js +7 -7
- package/dist/index80.js +2 -2
- package/dist/index82.js +19 -19
- package/dist/index83.js +5 -5
- package/dist/index85.js +13 -13
- package/dist/index86.js +4 -4
- package/dist/index87.js +6 -6
- package/dist/index89.js +25 -5
- package/dist/index90.js +64 -23
- package/dist/index91.js +5 -66
- package/dist/index92.js +1 -1
- package/dist/index94.js +1 -1
- package/dist/index95.js +68 -32
- package/dist/index96.js +33 -181
- package/dist/index97.js +10 -7
- package/dist/index98.js +120 -64
- package/dist/index99.js +126 -116
- package/dist/style.css +1 -1
- package/dist/types/index.d.ts +4 -1
- package/package.json +1 -1
package/dist/index274.js
CHANGED
package/dist/index276.js
CHANGED
package/dist/index277.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { buildMatchFn as a } from "./
|
|
2
|
-
import { buildMatchPatternFn as i } from "./
|
|
1
|
+
import { buildMatchFn as a } from "./index284.js";
|
|
2
|
+
import { buildMatchPatternFn as i } from "./index285.js";
|
|
3
3
|
const n = /^(\d+)(th|st|nd|rd)?/i, e = /\d+/i, r = {
|
|
4
4
|
narrow: /^(b|a)/i,
|
|
5
5
|
abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
|
package/dist/index282.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
function r(t) {
|
|
2
|
+
return (d = {}) => {
|
|
3
|
+
const n = d.width ? String(d.width) : t.defaultWidth;
|
|
4
|
+
return t.formats[n] || t.formats[t.defaultWidth];
|
|
5
|
+
};
|
|
4
6
|
}
|
|
5
7
|
export {
|
|
6
|
-
|
|
7
|
-
c as default
|
|
8
|
+
r as buildFormatLongFn
|
|
8
9
|
};
|
package/dist/index283.js
CHANGED
|
@@ -1,8 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
function h(e) {
|
|
2
|
+
return (a, t) => {
|
|
3
|
+
const c = t != null && t.context ? String(t.context) : "standalone";
|
|
4
|
+
let l;
|
|
5
|
+
if (c === "formatting" && e.formattingValues) {
|
|
6
|
+
const d = e.defaultFormattingWidth || e.defaultWidth, u = t != null && t.width ? String(t.width) : d;
|
|
7
|
+
l = e.formattingValues[u] || e.formattingValues[d];
|
|
8
|
+
} else {
|
|
9
|
+
const d = e.defaultWidth, u = t != null && t.width ? String(t.width) : e.defaultWidth;
|
|
10
|
+
l = e.values[u] || e.values[d];
|
|
11
|
+
}
|
|
12
|
+
const f = e.argumentCallback ? e.argumentCallback(a) : a;
|
|
13
|
+
return l[f];
|
|
14
|
+
};
|
|
4
15
|
}
|
|
5
16
|
export {
|
|
6
|
-
|
|
7
|
-
e as toDate
|
|
17
|
+
h as buildLocalizeFn
|
|
8
18
|
};
|
package/dist/index284.js
CHANGED
|
@@ -1,6 +1,31 @@
|
|
|
1
|
-
|
|
1
|
+
function P(t) {
|
|
2
|
+
return (n, e = {}) => {
|
|
3
|
+
const l = e.width, h = l && t.matchPatterns[l] || t.matchPatterns[t.defaultMatchWidth], i = n.match(h);
|
|
4
|
+
if (!i)
|
|
5
|
+
return null;
|
|
6
|
+
const r = i[0], c = l && t.parsePatterns[l] || t.parsePatterns[t.defaultParseWidth], d = Array.isArray(c) ? o(c, (u) => u.test(r)) : (
|
|
7
|
+
// [TODO] -- I challenge you to fix the type
|
|
8
|
+
s(c, (u) => u.test(r))
|
|
9
|
+
);
|
|
10
|
+
let a;
|
|
11
|
+
a = t.valueCallback ? t.valueCallback(d) : d, a = e.valueCallback ? (
|
|
12
|
+
// [TODO] -- I challenge you to fix the type
|
|
13
|
+
e.valueCallback(a)
|
|
14
|
+
) : a;
|
|
15
|
+
const f = n.slice(r.length);
|
|
16
|
+
return { value: a, rest: f };
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
function s(t, n) {
|
|
20
|
+
for (const e in t)
|
|
21
|
+
if (Object.prototype.hasOwnProperty.call(t, e) && n(t[e]))
|
|
22
|
+
return e;
|
|
23
|
+
}
|
|
24
|
+
function o(t, n) {
|
|
25
|
+
for (let e = 0; e < t.length; e++)
|
|
26
|
+
if (n(t[e]))
|
|
27
|
+
return e;
|
|
28
|
+
}
|
|
2
29
|
export {
|
|
3
|
-
|
|
4
|
-
c as millisecondsInDay,
|
|
5
|
-
o as millisecondsInWeek
|
|
30
|
+
P as buildMatchFn
|
|
6
31
|
};
|
package/dist/index285.js
CHANGED
|
@@ -1,18 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
)
|
|
13
|
-
);
|
|
14
|
-
return n.setUTCFullYear(e.getFullYear()), +t - +n;
|
|
1
|
+
function h(t) {
|
|
2
|
+
return (e, c = {}) => {
|
|
3
|
+
const n = e.match(t.matchPattern);
|
|
4
|
+
if (!n) return null;
|
|
5
|
+
const u = n[0], a = e.match(t.parsePattern);
|
|
6
|
+
if (!a) return null;
|
|
7
|
+
let l = t.valueCallback ? t.valueCallback(a[0]) : a[0];
|
|
8
|
+
l = c.valueCallback ? c.valueCallback(l) : l;
|
|
9
|
+
const r = e.slice(u.length);
|
|
10
|
+
return { value: l, rest: r };
|
|
11
|
+
};
|
|
15
12
|
}
|
|
16
13
|
export {
|
|
17
|
-
|
|
14
|
+
h as buildMatchPatternFn
|
|
18
15
|
};
|
package/dist/index286.js
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
function
|
|
3
|
-
|
|
4
|
-
null,
|
|
5
|
-
o.find((t) => typeof t == "object")
|
|
6
|
-
);
|
|
7
|
-
return o.map(n);
|
|
1
|
+
import { constructFromSymbol as o } from "./index288.js";
|
|
2
|
+
function c(r, n) {
|
|
3
|
+
return typeof r == "function" ? r(n) : r && typeof r == "object" && o in r ? r[o](n) : r instanceof Date ? new r.constructor(n) : new Date(n);
|
|
8
4
|
}
|
|
9
5
|
export {
|
|
10
|
-
|
|
6
|
+
c as constructFrom,
|
|
7
|
+
c as default
|
|
11
8
|
};
|
package/dist/index287.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
function
|
|
3
|
-
|
|
4
|
-
return { start: n, end: e };
|
|
1
|
+
import { constructFrom as r } from "./index286.js";
|
|
2
|
+
function e(t, o) {
|
|
3
|
+
return r(o || t, t);
|
|
5
4
|
}
|
|
6
5
|
export {
|
|
7
|
-
|
|
6
|
+
e as default,
|
|
7
|
+
e as toDate
|
|
8
8
|
};
|
package/dist/index288.js
CHANGED