@zelgadis87/utils-core 4.13.3 → 4.13.4
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/time/TimeInstantBuilder.d.ts +2 -16
- package/dist/time/constants.d.ts +14 -0
- package/dist/time/types.d.ts +2 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/utils/css.d.ts +2 -1
- package/esbuild/index.cjs +16 -14
- package/esbuild/index.cjs.map +3 -3
- package/esbuild/index.mjs +16 -14
- package/esbuild/index.mjs.map +3 -3
- package/package.json +1 -1
- package/src/time/TimeInstantBuilder.ts +6 -17
- package/src/time/constants.ts +15 -0
- package/src/time/types.ts +2 -0
- package/src/utils/css.ts +20 -3
package/esbuild/index.mjs
CHANGED
|
@@ -1564,6 +1564,22 @@ function isAllowedTimeDuration(t) {
|
|
|
1564
1564
|
}
|
|
1565
1565
|
var TimeDuration_default = TimeDuration;
|
|
1566
1566
|
|
|
1567
|
+
// src/time/constants.ts
|
|
1568
|
+
var monthNames = {
|
|
1569
|
+
january: 1,
|
|
1570
|
+
february: 2,
|
|
1571
|
+
march: 3,
|
|
1572
|
+
april: 4,
|
|
1573
|
+
may: 5,
|
|
1574
|
+
june: 6,
|
|
1575
|
+
july: 7,
|
|
1576
|
+
august: 8,
|
|
1577
|
+
september: 9,
|
|
1578
|
+
october: 10,
|
|
1579
|
+
november: 11,
|
|
1580
|
+
december: 12
|
|
1581
|
+
};
|
|
1582
|
+
|
|
1567
1583
|
// src/time/TimeInstantBuilder.ts
|
|
1568
1584
|
var isRelativeNumber = (x) => x !== void 0 && x.length > 0 && (x[0] === "+" || x[0] === "-");
|
|
1569
1585
|
var defaultTimeInstantCreationParameters = {
|
|
@@ -1580,20 +1596,6 @@ var timeInstantCreationRelativeAliases = {
|
|
|
1580
1596
|
last: -1,
|
|
1581
1597
|
next: 1
|
|
1582
1598
|
};
|
|
1583
|
-
var monthNames = {
|
|
1584
|
-
january: 1,
|
|
1585
|
-
february: 2,
|
|
1586
|
-
march: 3,
|
|
1587
|
-
april: 4,
|
|
1588
|
-
may: 5,
|
|
1589
|
-
june: 6,
|
|
1590
|
-
july: 7,
|
|
1591
|
-
august: 8,
|
|
1592
|
-
september: 9,
|
|
1593
|
-
october: 10,
|
|
1594
|
-
november: 11,
|
|
1595
|
-
december: 12
|
|
1596
|
-
};
|
|
1597
1599
|
var timeInstantResolveValue = (getFromDate2, referenceDate, x) => {
|
|
1598
1600
|
if (x === void 0) {
|
|
1599
1601
|
return getFromDate2(referenceDate);
|