@onemrvapublic/design-system 18.2.16-develop.7 → 18.2.16-develop.9

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.
Files changed (22) hide show
  1. package/esm2022/shared/src/lib/adapters/index.mjs +4 -3
  2. package/esm2022/shared/src/lib/adapters/luxon.date.adapter.mjs +248 -0
  3. package/esm2022/shared/src/lib/adapters/luxon.utils.mjs +23 -0
  4. package/esm2022/shared/src/lib/adapters/luxon.year-month.date.adapter.mjs +248 -0
  5. package/esm2022/shared/src/lib/adapters/native.date.adapter.mjs +66 -0
  6. package/esm2022/shared/src/lib/adapters/native.year-month.date.adapter.mjs +59 -0
  7. package/esm2022/shared/src/lib/modules/shared.datepicker.luxon.module.mjs +21 -5
  8. package/esm2022/shared/src/lib/providers/onemrva.date.luxon.provider.mjs +9 -8
  9. package/esm2022/shared/src/lib/providers/onemrva.date.luxon.year.month.provider.mjs +10 -9
  10. package/esm2022/shared/src/lib/providers/onemrva.date.native.provider.mjs +4 -10
  11. package/esm2022/shared/src/lib/providers/onemrva.date.native.year.month.provider.mjs +4 -10
  12. package/fesm2022/onemrvapublic-design-system-shared.mjs +303 -32
  13. package/fesm2022/onemrvapublic-design-system-shared.mjs.map +1 -1
  14. package/package.json +1 -1
  15. package/shared/src/lib/adapters/index.d.ts +3 -2
  16. package/shared/src/lib/adapters/luxon.date.adapter.d.ts +50 -0
  17. package/shared/src/lib/adapters/luxon.utils.d.ts +26 -0
  18. package/shared/src/lib/adapters/luxon.year-month.date.adapter.d.ts +50 -0
  19. package/shared/src/lib/adapters/{date.adapter.d.ts → native.date.adapter.d.ts} +3 -3
  20. package/shared/src/lib/adapters/{year-month.adapter.d.ts → native.year-month.date.adapter.d.ts} +3 -3
  21. package/esm2022/shared/src/lib/adapters/date.adapter.mjs +0 -66
  22. package/esm2022/shared/src/lib/adapters/year-month.adapter.mjs +0 -59
@@ -21,7 +21,7 @@ import { DateAdapter, MatNativeDateModule, MAT_DATE_LOCALE, NativeDateAdapter, M
21
21
  import { MatDatepickerModule } from '@angular/material/datepicker';
22
22
  import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
23
23
  import { provideLuxonDateAdapter } from '@angular/material-luxon-adapter';
24
- import { DateTime } from 'luxon';
24
+ import { DateTime, Info } from 'luxon';
25
25
 
26
26
  class ClipboardIconComponent {
27
27
  constructor(_elementRef, clipboardService) {
@@ -1350,7 +1350,14 @@ class OnemrvaDatepickerLuxonSharedModule {
1350
1350
  }
1351
1351
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: OnemrvaDatepickerLuxonSharedModule, deps: [{ token: i1$4.TranslateService }], target: i0.ɵɵFactoryTarget.NgModule }); }
1352
1352
  static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.8", ngImport: i0, type: OnemrvaDatepickerLuxonSharedModule, imports: [MatDatepickerModule, TranslateModule, MatNativeDateModule] }); }
1353
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: OnemrvaDatepickerLuxonSharedModule, imports: [MatDatepickerModule, TranslateModule, MatNativeDateModule] }); }
1353
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: OnemrvaDatepickerLuxonSharedModule, providers: [
1354
+ {
1355
+ provide: MAT_DATE_LOCALE,
1356
+ useFactory: (translateService) => translateService.currentLang,
1357
+ deps: [TranslateService],
1358
+ },
1359
+ provideLuxonDateAdapter(ONEMRVA_MAT_LUXON_DATE_FORMATS),
1360
+ ], imports: [MatDatepickerModule, TranslateModule, MatNativeDateModule] }); }
1354
1361
  }
1355
1362
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: OnemrvaDatepickerLuxonSharedModule, decorators: [{
1356
1363
  type: NgModule,
@@ -1358,7 +1365,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImpor
1358
1365
  declarations: [],
1359
1366
  imports: [MatDatepickerModule, TranslateModule, MatNativeDateModule],
1360
1367
  exports: [],
1361
- providers: [],
1368
+ providers: [
1369
+ {
1370
+ provide: MAT_DATE_LOCALE,
1371
+ useFactory: (translateService) => translateService.currentLang,
1372
+ deps: [TranslateService],
1373
+ },
1374
+ provideLuxonDateAdapter(ONEMRVA_MAT_LUXON_DATE_FORMATS),
1375
+ ],
1362
1376
  }]
1363
1377
  }], ctorParameters: () => [{ type: i1$4.TranslateService }] });
1364
1378
 
@@ -1399,7 +1413,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImpor
1399
1413
  }]
1400
1414
  }], ctorParameters: () => [{ type: i1$4.TranslateService }] });
1401
1415
 
1402
- class OnemrvaDateAdapter extends NativeDateAdapter {
1416
+ class OnemrvaNativeDateAdapter extends NativeDateAdapter {
1403
1417
  constructor(translateService) {
1404
1418
  super();
1405
1419
  this.translateService = translateService;
@@ -1451,14 +1465,277 @@ class OnemrvaDateAdapter extends NativeDateAdapter {
1451
1465
  this.destroyNotifier$.next();
1452
1466
  this.destroyNotifier$.complete();
1453
1467
  }
1454
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: OnemrvaDateAdapter, deps: [{ token: i1$4.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable }); }
1455
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: OnemrvaDateAdapter }); }
1468
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: OnemrvaNativeDateAdapter, deps: [{ token: i1$4.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable }); }
1469
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: OnemrvaNativeDateAdapter }); }
1470
+ }
1471
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: OnemrvaNativeDateAdapter, decorators: [{
1472
+ type: Injectable
1473
+ }], ctorParameters: () => [{ type: i1$4.TranslateService }] });
1474
+
1475
+ /** InjectionToken for LuxonDateAdapter to configure options. */
1476
+ const MAT_LUXON_DATE_ADAPTER_OPTIONS = new InjectionToken('MAT_LUXON_DATE_ADAPTER_OPTIONS', {
1477
+ providedIn: 'root',
1478
+ factory: MAT_LUXON_DATE_ADAPTER_OPTIONS_FACTORY,
1479
+ });
1480
+ /** @docs-private */
1481
+ function MAT_LUXON_DATE_ADAPTER_OPTIONS_FACTORY() {
1482
+ return {
1483
+ useUtc: false,
1484
+ firstDayOfWeek: 0,
1485
+ defaultOutputCalendar: 'gregory',
1486
+ };
1487
+ }
1488
+ /** Creates an array and fills it with values. */
1489
+ function luxonRange(length, valueFunction) {
1490
+ const valuesArray = Array(length);
1491
+ for (let i = 0; i < length; i++) {
1492
+ valuesArray[i] = valueFunction(i);
1493
+ }
1494
+ return valuesArray;
1495
+ }
1496
+
1497
+ /**
1498
+ * @license
1499
+ * Copyright Google LLC All Rights Reserved.
1500
+ *
1501
+ * Use of this source code is governed by an MIT-style license that can be
1502
+ * found in the LICENSE file at https://angular.dev/license
1503
+ */
1504
+ /** Adapts Luxon Dates for use with Angular Material. */
1505
+ class OnemrvaLuxonDateAdapter extends DateAdapter {
1506
+ constructor(translateService) {
1507
+ super();
1508
+ this.translateService = translateService;
1509
+ const dateLocale = inject(MAT_DATE_LOCALE, { optional: true });
1510
+ const options = inject(MAT_LUXON_DATE_ADAPTER_OPTIONS, {
1511
+ optional: true,
1512
+ });
1513
+ this._useUTC = !!options?.useUtc;
1514
+ this._firstDayOfWeek = options?.firstDayOfWeek || 0;
1515
+ this._defaultOutputCalendar = options?.defaultOutputCalendar || 'gregory';
1516
+ this.setLocale(dateLocale || DateTime.local().locale);
1517
+ this.setLocale(this.translateService.currentLang);
1518
+ if (this.translateService !== undefined) {
1519
+ this.translateService.onLangChange
1520
+ .pipe(takeUntilDestroyed())
1521
+ .subscribe(({ lang }) => {
1522
+ this.setLocale(lang);
1523
+ });
1524
+ }
1525
+ }
1526
+ getYear(date) {
1527
+ return date.year;
1528
+ }
1529
+ getMonth(date) {
1530
+ // Luxon works with 1-indexed months whereas our code expects 0-indexed.
1531
+ return date.month - 1;
1532
+ }
1533
+ getDate(date) {
1534
+ return date.day;
1535
+ }
1536
+ getDayOfWeek(date) {
1537
+ return date.weekday;
1538
+ }
1539
+ getMonthNames(style) {
1540
+ // Adding outputCalendar option, because LuxonInfo doesn't get effected by LuxonSettings
1541
+ return Info.months(style, {
1542
+ locale: this.locale,
1543
+ outputCalendar: this._defaultOutputCalendar,
1544
+ });
1545
+ }
1546
+ getDateNames() {
1547
+ // At the time of writing, Luxon doesn't offer similar
1548
+ // functionality so we have to fall back to the Intl API.
1549
+ const dtf = new Intl.DateTimeFormat(this.locale, {
1550
+ day: 'numeric',
1551
+ timeZone: 'utc',
1552
+ });
1553
+ // Format a UTC date in order to avoid DST issues.
1554
+ return luxonRange(31, i => dtf.format(DateTime.utc(2017, 1, i + 1).toJSDate()));
1555
+ }
1556
+ getDayOfWeekNames(style) {
1557
+ // Note that we shift the array once, because Luxon returns Monday as the
1558
+ // first day of the week, whereas our logic assumes that it's Sunday. See:
1559
+ // https://moment.github.io/luxon/api-docs/index.html#infoweekdays
1560
+ const days = Info.weekdays(style, { locale: this.locale });
1561
+ days.unshift(days.pop());
1562
+ return days;
1563
+ }
1564
+ getYearName(date) {
1565
+ return date.toFormat('yyyy', this._getOptions());
1566
+ }
1567
+ getFirstDayOfWeek() {
1568
+ return this._firstDayOfWeek;
1569
+ }
1570
+ getNumDaysInMonth(date) {
1571
+ return date.daysInMonth;
1572
+ }
1573
+ clone(date) {
1574
+ return DateTime.fromObject(date.toObject(), this._getOptions());
1575
+ }
1576
+ createDate(year, month, date) {
1577
+ const options = this._getOptions();
1578
+ if (month < 0 || month > 11) {
1579
+ throw Error(`Invalid month index "${month}". Month index has to be between 0 and 11.`);
1580
+ }
1581
+ if (date < 1) {
1582
+ throw Error(`Invalid date "${date}". Date has to be greater than 0.`);
1583
+ }
1584
+ // Luxon uses 1-indexed months so we need to add one to the month.
1585
+ const result = this._useUTC
1586
+ ? DateTime.utc(year, month + 1, date, options)
1587
+ : DateTime.local(year, month + 1, date, options);
1588
+ if (!this.isValid(result)) {
1589
+ throw Error(`Invalid date "${date}". Reason: "${result.invalidReason}".`);
1590
+ }
1591
+ return result;
1592
+ }
1593
+ today() {
1594
+ const options = this._getOptions();
1595
+ return this._useUTC
1596
+ ? DateTime.utc(options)
1597
+ : DateTime.local(options);
1598
+ }
1599
+ parse(value, parseFormat) {
1600
+ const options = this._getOptions();
1601
+ if (typeof value == 'string' && value.length > 0) {
1602
+ const iso8601Date = DateTime.fromISO(value, options);
1603
+ if (this.isValid(iso8601Date)) {
1604
+ return iso8601Date;
1605
+ }
1606
+ const formats = Array.isArray(parseFormat) ? parseFormat : [parseFormat];
1607
+ if (!parseFormat.length) {
1608
+ throw Error('Formats array must not be empty.');
1609
+ }
1610
+ for (const format of formats) {
1611
+ const fromFormat = DateTime.fromFormat(value, format, options);
1612
+ if (this.isValid(fromFormat)) {
1613
+ return fromFormat;
1614
+ }
1615
+ }
1616
+ return this.invalid();
1617
+ }
1618
+ else if (typeof value === 'number') {
1619
+ return DateTime.fromMillis(value, options);
1620
+ }
1621
+ else if (value instanceof Date) {
1622
+ return DateTime.fromJSDate(value, options);
1623
+ }
1624
+ else if (value instanceof DateTime) {
1625
+ return DateTime.fromMillis(value.toMillis(), options);
1626
+ }
1627
+ return null;
1628
+ }
1629
+ format(date, displayFormat) {
1630
+ if (!this.isValid(date)) {
1631
+ throw Error('LuxonDateAdapter: Cannot format invalid date.');
1632
+ }
1633
+ if (this._useUTC) {
1634
+ return date.setLocale(this.locale).setZone('utc').toFormat(displayFormat);
1635
+ }
1636
+ else {
1637
+ return date.setLocale(this.locale).toFormat(displayFormat);
1638
+ }
1639
+ }
1640
+ addCalendarYears(date, years) {
1641
+ return date.reconfigure(this._getOptions()).plus({ years });
1642
+ }
1643
+ addCalendarMonths(date, months) {
1644
+ return date.reconfigure(this._getOptions()).plus({ months });
1645
+ }
1646
+ addCalendarDays(date, days) {
1647
+ return date.reconfigure(this._getOptions()).plus({ days });
1648
+ }
1649
+ toIso8601(date) {
1650
+ return date.toISO();
1651
+ }
1652
+ /**
1653
+ * Returns the given value if given a valid Luxon or null. Deserializes valid ISO 8601 strings
1654
+ * (https://www.ietf.org/rfc/rfc3339.txt) and valid Date objects into valid DateTime and empty
1655
+ * string into null. Returns an invalid date for all other values.
1656
+ */
1657
+ deserialize(value) {
1658
+ const options = this._getOptions();
1659
+ let date;
1660
+ if (value instanceof Date) {
1661
+ date = DateTime.fromJSDate(value, options);
1662
+ }
1663
+ if (typeof value === 'string') {
1664
+ if (!value) {
1665
+ return null;
1666
+ }
1667
+ date = DateTime.fromISO(value, options);
1668
+ }
1669
+ if (date && this.isValid(date)) {
1670
+ return date;
1671
+ }
1672
+ return super.deserialize(value);
1673
+ }
1674
+ isDateInstance(obj) {
1675
+ return obj instanceof DateTime;
1676
+ }
1677
+ isValid(date) {
1678
+ return date.isValid;
1679
+ }
1680
+ invalid() {
1681
+ return DateTime.invalid('Invalid Luxon DateTime object.');
1682
+ }
1683
+ setTime(target, hours, minutes, seconds) {
1684
+ //if (typeof ngDevMode === 'undefined' || ngDevMode) {
1685
+ if (hours < 0 || hours > 23) {
1686
+ throw Error(`Invalid hours "${hours}". Hours value must be between 0 and 23.`);
1687
+ }
1688
+ if (minutes < 0 || minutes > 59) {
1689
+ throw Error(`Invalid minutes "${minutes}". Minutes value must be between 0 and 59.`);
1690
+ }
1691
+ if (seconds < 0 || seconds > 59) {
1692
+ throw Error(`Invalid seconds "${seconds}". Seconds value must be between 0 and 59.`);
1693
+ }
1694
+ //}
1695
+ return this.clone(target).set({
1696
+ hour: hours,
1697
+ minute: minutes,
1698
+ second: seconds,
1699
+ millisecond: 0,
1700
+ });
1701
+ }
1702
+ getHours(date) {
1703
+ return date.hour;
1704
+ }
1705
+ getMinutes(date) {
1706
+ return date.minute;
1707
+ }
1708
+ getSeconds(date) {
1709
+ return date.second;
1710
+ }
1711
+ parseTime(value, parseFormat) {
1712
+ const result = this.parse(value, parseFormat);
1713
+ if ((!result || !this.isValid(result)) && typeof value === 'string') {
1714
+ // It seems like Luxon doesn't work well cross-browser for strings that have
1715
+ // additional characters around the time. Try parsing without those characters.
1716
+ return (this.parse(value.replace(/[^0-9:(AM|PM)]/gi, ''), parseFormat) || result);
1717
+ }
1718
+ return result;
1719
+ }
1720
+ addSeconds(date, amount) {
1721
+ return date.reconfigure(this._getOptions()).plus({ seconds: amount });
1722
+ }
1723
+ /** Gets the options that should be used when constructing a new `DateTime` object. */
1724
+ _getOptions() {
1725
+ return {
1726
+ zone: this._useUTC ? 'utc' : undefined,
1727
+ locale: this.locale,
1728
+ outputCalendar: this._defaultOutputCalendar,
1729
+ };
1730
+ }
1731
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: OnemrvaLuxonDateAdapter, deps: [{ token: i1$4.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable }); }
1732
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: OnemrvaLuxonDateAdapter }); }
1456
1733
  }
1457
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: OnemrvaDateAdapter, decorators: [{
1734
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: OnemrvaLuxonDateAdapter, decorators: [{
1458
1735
  type: Injectable
1459
1736
  }], ctorParameters: () => [{ type: i1$4.TranslateService }] });
1460
1737
 
1461
- class OnemrvaYearMonthAdapter extends NativeDateAdapter {
1738
+ class OnemrvaNativeYearMonthAdapter extends NativeDateAdapter {
1462
1739
  constructor(translateService) {
1463
1740
  super();
1464
1741
  this.translateService = translateService;
@@ -1504,45 +1781,35 @@ class OnemrvaYearMonthAdapter extends NativeDateAdapter {
1504
1781
  this.destroyNotifier$.next();
1505
1782
  this.destroyNotifier$.complete();
1506
1783
  }
1507
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: OnemrvaYearMonthAdapter, deps: [{ token: i1$4.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable }); }
1508
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: OnemrvaYearMonthAdapter }); }
1784
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: OnemrvaNativeYearMonthAdapter, deps: [{ token: i1$4.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable }); }
1785
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: OnemrvaNativeYearMonthAdapter }); }
1509
1786
  }
1510
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: OnemrvaYearMonthAdapter, decorators: [{
1787
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: OnemrvaNativeYearMonthAdapter, decorators: [{
1511
1788
  type: Injectable
1512
1789
  }], ctorParameters: () => [{ type: i1$4.TranslateService }] });
1513
1790
 
1514
1791
  function onemrvaDateNativeYearMonthProvider() {
1515
1792
  return [
1516
- {
1517
- provide: MAT_DATE_LOCALE,
1518
- useFactory: (translateService) => translateService.currentLang,
1519
- deps: [TranslateService],
1520
- },
1521
1793
  {
1522
1794
  provide: MAT_DATE_FORMATS,
1523
1795
  useValue: ONEMRVA_MAT_NATIVE_YEAR_MONTH_FORMAT,
1524
1796
  },
1525
1797
  {
1526
1798
  provide: DateAdapter,
1527
- useValue: OnemrvaDateAdapter,
1799
+ useValue: OnemrvaNativeDateAdapter,
1528
1800
  },
1529
1801
  ];
1530
1802
  }
1531
1803
 
1532
1804
  function onemrvaDateNativeProvider() {
1533
1805
  return [
1534
- {
1535
- provide: MAT_DATE_LOCALE,
1536
- useFactory: (translateService) => translateService.currentLang,
1537
- deps: [TranslateService],
1538
- },
1539
1806
  {
1540
1807
  provide: MAT_DATE_FORMATS,
1541
1808
  useValue: ONEMRVA_MAT_NATIVE_DATE_FORMAT,
1542
1809
  },
1543
1810
  {
1544
1811
  provide: DateAdapter,
1545
- useClass: OnemrvaDateAdapter,
1812
+ useClass: OnemrvaNativeDateAdapter,
1546
1813
  },
1547
1814
  ];
1548
1815
  }
@@ -1550,22 +1817,26 @@ function onemrvaDateNativeProvider() {
1550
1817
  function onemrvaDateLuxonProvider() {
1551
1818
  return [
1552
1819
  {
1553
- provide: MAT_DATE_LOCALE,
1554
- useFactory: (translateService) => translateService.currentLang,
1555
- deps: [TranslateService],
1820
+ provide: MAT_DATE_FORMATS,
1821
+ useValue: ONEMRVA_MAT_LUXON_DATE_FORMATS,
1822
+ },
1823
+ {
1824
+ provide: DateAdapter,
1825
+ useClass: OnemrvaLuxonDateAdapter,
1556
1826
  },
1557
- provideLuxonDateAdapter(ONEMRVA_MAT_LUXON_DATE_FORMATS),
1558
1827
  ];
1559
1828
  }
1560
1829
 
1561
1830
  function onemrvaDateLuxonYearMonthProvider() {
1562
1831
  return [
1563
1832
  {
1564
- provide: MAT_DATE_LOCALE,
1565
- useFactory: (translateService) => translateService.currentLang,
1566
- deps: [TranslateService],
1833
+ provide: MAT_DATE_FORMATS,
1834
+ useValue: ONEMRVA_MAT_LUXON_YEAR_MONTH_FORMATS,
1835
+ },
1836
+ {
1837
+ provide: DateAdapter,
1838
+ useClass: OnemrvaLuxonDateAdapter,
1567
1839
  },
1568
- provideLuxonDateAdapter(ONEMRVA_MAT_LUXON_YEAR_MONTH_FORMATS),
1569
1840
  ];
1570
1841
  }
1571
1842
 
@@ -1577,5 +1848,5 @@ function onemrvaDateLuxonYearMonthProvider() {
1577
1848
  * Generated bundle index. Do not edit.
1578
1849
  */
1579
1850
 
1580
- export { CDNUrlModeOptions, CDN_URLS, CDN_URL_MODE, ClipboardIconComponent, CommonCountryLookupService, DefaultStorage, DigitOnlyDirective, HttpRequestCache, IBAN_SUPPORTED_COUNTRIES, IfWidthIsDirective, MatRowClickableDirective, NISS_MASK, ONEMRVA_MAT_LUXON_DATE_FORMATS, ONEMRVA_MAT_LUXON_YEAR_MONTH_FORMATS, ONEMRVA_MAT_NATIVE_DATE_FORMAT, ONEMRVA_MAT_NATIVE_YEAR_MONTH_FORMAT, OnemRvaCDNCountryService, OnemRvaCDNMimeService, OnemRvaCDNService, OnemRvaClipboardDirective, OnemRvaColorDirective, OnemRvaIconRightDirective, OnemrvaBcePipe, OnemrvaDateAdapter, OnemrvaDatepickerLuxonSharedModule, OnemrvaDatepickerLuxonYearMonthSharedModule, OnemrvaMaskDirective, OnemrvaNissPipe, OnemrvaSharedModule, OnemrvaTranslateCDNLoader, OnemrvaTranslateHttpLoader, OnemrvaValidators, OnemrvaYearMonthAdapter, RequestTimes, WebComponentOverlayContainer, bankAccountValidator, directives, onemrvaDateLuxonProvider, onemrvaDateLuxonYearMonthProvider, onemrvaDateNativeProvider, onemrvaDateNativeYearMonthProvider, setTranslationLanguage, setTranslationLanguageFromWO };
1851
+ export { CDNUrlModeOptions, CDN_URLS, CDN_URL_MODE, ClipboardIconComponent, CommonCountryLookupService, DefaultStorage, DigitOnlyDirective, HttpRequestCache, IBAN_SUPPORTED_COUNTRIES, IfWidthIsDirective, MatRowClickableDirective, NISS_MASK, ONEMRVA_MAT_LUXON_DATE_FORMATS, ONEMRVA_MAT_LUXON_YEAR_MONTH_FORMATS, ONEMRVA_MAT_NATIVE_DATE_FORMAT, ONEMRVA_MAT_NATIVE_YEAR_MONTH_FORMAT, OnemRvaCDNCountryService, OnemRvaCDNMimeService, OnemRvaCDNService, OnemRvaClipboardDirective, OnemRvaColorDirective, OnemRvaIconRightDirective, OnemrvaBcePipe, OnemrvaDatepickerLuxonSharedModule, OnemrvaDatepickerLuxonYearMonthSharedModule, OnemrvaLuxonDateAdapter, OnemrvaMaskDirective, OnemrvaNativeDateAdapter, OnemrvaNativeYearMonthAdapter, OnemrvaNissPipe, OnemrvaSharedModule, OnemrvaTranslateCDNLoader, OnemrvaTranslateHttpLoader, OnemrvaValidators, RequestTimes, WebComponentOverlayContainer, bankAccountValidator, directives, onemrvaDateLuxonProvider, onemrvaDateLuxonYearMonthProvider, onemrvaDateNativeProvider, onemrvaDateNativeYearMonthProvider, setTranslationLanguage, setTranslationLanguageFromWO };
1581
1852
  //# sourceMappingURL=onemrvapublic-design-system-shared.mjs.map