@northlight/ui 2.12.4 → 2.12.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/umd/northlight.cjs
CHANGED
|
@@ -4303,7 +4303,7 @@
|
|
|
4303
4303
|
start: date.startOfMonth(thisDay),
|
|
4304
4304
|
end: date.endOfMonth(thisDay)
|
|
4305
4305
|
},
|
|
4306
|
-
label: "This
|
|
4306
|
+
label: "This Month"
|
|
4307
4307
|
};
|
|
4308
4308
|
const lastMonth = {
|
|
4309
4309
|
value: {
|
|
@@ -4380,6 +4380,16 @@
|
|
|
4380
4380
|
},
|
|
4381
4381
|
label: "Last Fiscal Year"
|
|
4382
4382
|
};
|
|
4383
|
+
const yearToDate = {
|
|
4384
|
+
value: {
|
|
4385
|
+
start: startOfMonthWithDays(
|
|
4386
|
+
date.startOfYear(thisDay),
|
|
4387
|
+
{ months: fiscalStartMonth, days: fiscalStartDay }
|
|
4388
|
+
),
|
|
4389
|
+
end: thisDay
|
|
4390
|
+
},
|
|
4391
|
+
label: "Year to Date"
|
|
4392
|
+
};
|
|
4383
4393
|
const F1 = {
|
|
4384
4394
|
value: {
|
|
4385
4395
|
start: startOfMonthWithDays(
|
|
@@ -4440,6 +4450,7 @@
|
|
|
4440
4450
|
thisMonth,
|
|
4441
4451
|
lastMonth,
|
|
4442
4452
|
thisYear,
|
|
4453
|
+
yearToDate,
|
|
4443
4454
|
lastYear,
|
|
4444
4455
|
nextMonth,
|
|
4445
4456
|
nextThreeMonths,
|