@livetiles/reach-plugin-types 0.5.0-preview.641 → 0.5.0-preview.642
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/lib/index.d.ts +48 -457
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
/// <reference types="moment" />
|
|
3
2
|
/// <reference types="draft-js" />
|
|
4
3
|
declare module "libs/reach/util/common/src/FocusStyles" {
|
|
5
4
|
export const FocusStyles: import("styled-components").GlobalStyleComponent<{}, import("styled-components").DefaultTheme>;
|
|
@@ -415,6 +414,11 @@ declare module "libs/shared/util/common/src/avatarUtil" {
|
|
|
415
414
|
export function getInitials(input: string): string;
|
|
416
415
|
export function getPersonaInitialsColor(initials: string): PersonaInitialsColor;
|
|
417
416
|
}
|
|
417
|
+
declare module "libs/shared/util/common/src/dateUtils" {
|
|
418
|
+
export function getDateOrNow(value?: string): Date;
|
|
419
|
+
export function ensureDate(value: string | Date): Date;
|
|
420
|
+
export function isDateToday(value: string | Date): boolean;
|
|
421
|
+
}
|
|
418
422
|
declare module "libs/shared/util/common/src/index" {
|
|
419
423
|
export * from "libs/shared/util/common/src/Logger";
|
|
420
424
|
export * from "libs/shared/util/common/src/IdGenerator";
|
|
@@ -427,6 +431,7 @@ declare module "libs/shared/util/common/src/index" {
|
|
|
427
431
|
export * from "libs/shared/util/common/src/parseQuery";
|
|
428
432
|
export * from "libs/shared/util/common/src/isValidEmail";
|
|
429
433
|
export * from "libs/shared/util/common/src/avatarUtil";
|
|
434
|
+
export * from "libs/shared/util/common/src/dateUtils";
|
|
430
435
|
}
|
|
431
436
|
declare module "libs/reach/util/common/src/reachClassNames" {
|
|
432
437
|
export const reachClassNames: string;
|
|
@@ -544,443 +549,16 @@ declare module "libs/reach/util/common/src/useCacheLanguageApi" {
|
|
|
544
549
|
getLocaleFromLocalStorage: () => Promise<string>;
|
|
545
550
|
};
|
|
546
551
|
}
|
|
547
|
-
declare module "libs/reach/util/common/src/resources/locales/ar-dz.async" {
|
|
548
|
-
import '
|
|
549
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/ar';
|
|
550
|
-
import locale from 'moment/locale/ar-dz';
|
|
551
|
-
export default locale;
|
|
552
|
-
}
|
|
553
|
-
declare module "libs/reach/util/common/src/resources/locales/ar-kw.async" {
|
|
554
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/ar';
|
|
555
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/ar';
|
|
556
|
-
import locale from 'moment/locale/ar-kw';
|
|
557
|
-
export default locale;
|
|
558
|
-
}
|
|
559
|
-
declare module "libs/reach/util/common/src/resources/locales/ar-ly.async" {
|
|
560
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/ar';
|
|
561
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/ar';
|
|
562
|
-
import locale from 'moment/locale/ar-ly';
|
|
563
|
-
export default locale;
|
|
564
|
-
}
|
|
565
|
-
declare module "libs/reach/util/common/src/resources/locales/ar-ma.async" {
|
|
566
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/ar';
|
|
567
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/ar';
|
|
568
|
-
import locale from 'moment/locale/ar-ma';
|
|
569
|
-
export default locale;
|
|
570
|
-
}
|
|
571
|
-
declare module "libs/reach/util/common/src/resources/locales/ar-sa.async" {
|
|
572
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/ar';
|
|
573
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/ar';
|
|
574
|
-
import locale from 'moment/locale/ar-sa';
|
|
575
|
-
export default locale;
|
|
576
|
-
}
|
|
577
|
-
declare module "libs/reach/util/common/src/resources/locales/ar-tn.async" {
|
|
578
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/ar';
|
|
579
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/ar';
|
|
580
|
-
import locale from 'moment/locale/ar-tn';
|
|
581
|
-
export default locale;
|
|
582
|
-
}
|
|
583
|
-
declare module "libs/reach/util/common/src/resources/locales/ar.async" {
|
|
584
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/ar';
|
|
585
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/ar';
|
|
586
|
-
import locale from 'moment/locale/ar';
|
|
587
|
-
export default locale;
|
|
588
|
-
}
|
|
589
|
-
declare module "libs/reach/util/common/src/resources/locales/bg.async" {
|
|
590
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/bg';
|
|
591
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/bg';
|
|
592
|
-
import locale from 'moment/locale/bg';
|
|
593
|
-
export default locale;
|
|
594
|
-
}
|
|
595
|
-
declare module "libs/reach/util/common/src/resources/locales/bn.async" {
|
|
596
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/bn';
|
|
597
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/bn';
|
|
598
|
-
import locale from 'moment/locale/bn';
|
|
599
|
-
export default locale;
|
|
600
|
-
}
|
|
601
|
-
declare module "libs/reach/util/common/src/resources/locales/ca.async" {
|
|
602
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/ca';
|
|
603
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/ca';
|
|
604
|
-
import locale from 'moment/locale/ca';
|
|
605
|
-
export default locale;
|
|
606
|
-
}
|
|
607
|
-
declare module "libs/reach/util/common/src/resources/locales/cs.async" {
|
|
608
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/cs';
|
|
609
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/cs';
|
|
610
|
-
import locale from 'moment/locale/cs';
|
|
611
|
-
export default locale;
|
|
612
|
-
}
|
|
613
|
-
declare module "libs/reach/util/common/src/resources/locales/da.async" {
|
|
614
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/da';
|
|
615
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/da';
|
|
616
|
-
import locale from 'moment/locale/da';
|
|
617
|
-
export default locale;
|
|
618
|
-
}
|
|
619
|
-
declare module "libs/reach/util/common/src/resources/locales/de-at.async" {
|
|
620
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/de';
|
|
621
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/de';
|
|
622
|
-
import locale from 'moment/locale/de-at';
|
|
623
|
-
export default locale;
|
|
624
|
-
}
|
|
625
|
-
declare module "libs/reach/util/common/src/resources/locales/de-ch.async" {
|
|
626
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/de';
|
|
627
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/de';
|
|
628
|
-
import locale from 'moment/locale/de-ch';
|
|
629
|
-
export default locale;
|
|
630
|
-
}
|
|
631
|
-
declare module "libs/reach/util/common/src/resources/locales/de.async" {
|
|
632
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/de';
|
|
633
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/de';
|
|
634
|
-
import locale from 'moment/locale/de';
|
|
635
|
-
export default locale;
|
|
636
|
-
}
|
|
637
|
-
declare module "libs/reach/util/common/src/resources/locales/el.async" {
|
|
638
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/el';
|
|
639
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/el';
|
|
640
|
-
import locale from 'moment/locale/el';
|
|
641
|
-
export default locale;
|
|
642
|
-
}
|
|
643
|
-
declare module "libs/reach/util/common/src/resources/locales/en-au.async" {
|
|
644
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/en';
|
|
645
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/en';
|
|
646
|
-
import locale from 'moment/locale/en-au';
|
|
647
|
-
export default locale;
|
|
648
|
-
}
|
|
649
|
-
declare module "libs/reach/util/common/src/resources/locales/en-ca.async" {
|
|
650
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/en';
|
|
651
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/en';
|
|
652
|
-
import locale from 'moment/locale/en-ca';
|
|
653
|
-
export default locale;
|
|
654
|
-
}
|
|
655
|
-
declare module "libs/reach/util/common/src/resources/locales/en-gb.async" {
|
|
656
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/en';
|
|
657
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/en';
|
|
658
|
-
import locale from 'moment/locale/en-gb';
|
|
659
|
-
export default locale;
|
|
660
|
-
}
|
|
661
|
-
declare module "libs/reach/util/common/src/resources/locales/en-ie.async" {
|
|
662
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/en';
|
|
663
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/en';
|
|
664
|
-
import locale from 'moment/locale/en-ie';
|
|
665
|
-
export default locale;
|
|
666
|
-
}
|
|
667
|
-
declare module "libs/reach/util/common/src/resources/locales/en-il.async" {
|
|
668
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/en';
|
|
669
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/en';
|
|
670
|
-
import locale from 'moment/locale/en-il';
|
|
671
|
-
export default locale;
|
|
672
|
-
}
|
|
673
|
-
declare module "libs/reach/util/common/src/resources/locales/en-nz.async" {
|
|
674
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/en';
|
|
675
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/en';
|
|
676
|
-
import locale from 'moment/locale/en-nz';
|
|
677
|
-
export default locale;
|
|
678
|
-
}
|
|
679
|
-
declare module "libs/reach/util/common/src/resources/locales/en-sg.async" {
|
|
680
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/en';
|
|
681
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/en';
|
|
682
|
-
import locale from 'moment/locale/en-SG';
|
|
683
|
-
export default locale;
|
|
684
|
-
}
|
|
685
|
-
declare module "libs/reach/util/common/src/resources/locales/es-do.async" {
|
|
686
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/es';
|
|
687
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/es';
|
|
688
|
-
import locale from 'moment/locale/es-do';
|
|
689
|
-
export default locale;
|
|
690
|
-
}
|
|
691
|
-
declare module "libs/reach/util/common/src/resources/locales/es-us.async" {
|
|
692
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/es';
|
|
693
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/es';
|
|
694
|
-
import locale from 'moment/locale/es-us';
|
|
695
|
-
export default locale;
|
|
696
|
-
}
|
|
697
|
-
declare module "libs/reach/util/common/src/resources/locales/es.async" {
|
|
698
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/es';
|
|
699
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/es';
|
|
700
|
-
import locale from 'moment/locale/es';
|
|
701
|
-
export default locale;
|
|
702
|
-
}
|
|
703
|
-
declare module "libs/reach/util/common/src/resources/locales/et.async" {
|
|
704
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/et';
|
|
705
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/et';
|
|
706
|
-
import locale from 'moment/locale/et';
|
|
707
|
-
export default locale;
|
|
708
|
-
}
|
|
709
|
-
declare module "libs/reach/util/common/src/resources/locales/fa.async" {
|
|
710
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/fa';
|
|
711
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/fa';
|
|
712
|
-
import locale from 'moment/locale/fa';
|
|
713
|
-
export default locale;
|
|
714
|
-
}
|
|
715
|
-
declare module "libs/reach/util/common/src/resources/locales/fi.async" {
|
|
716
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/fi';
|
|
717
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/fi';
|
|
718
|
-
import locale from 'moment/locale/fi';
|
|
719
|
-
export default locale;
|
|
720
|
-
}
|
|
721
|
-
declare module "libs/reach/util/common/src/resources/locales/fr-ca.async" {
|
|
722
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/fr';
|
|
723
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/fr';
|
|
724
|
-
import locale from 'moment/locale/fr-ca';
|
|
725
|
-
export default locale;
|
|
726
|
-
}
|
|
727
|
-
declare module "libs/reach/util/common/src/resources/locales/fr-ch.async" {
|
|
728
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/fr';
|
|
729
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/fr';
|
|
730
|
-
import locale from 'moment/locale/fr-ch';
|
|
731
|
-
export default locale;
|
|
732
|
-
}
|
|
733
|
-
declare module "libs/reach/util/common/src/resources/locales/fr.async" {
|
|
734
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/fr';
|
|
735
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/fr';
|
|
736
|
-
import locale from 'moment/locale/fr';
|
|
737
|
-
export default locale;
|
|
738
|
-
}
|
|
739
|
-
declare module "libs/reach/util/common/src/resources/locales/gu.async" {
|
|
740
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/gu';
|
|
741
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/gu';
|
|
742
|
-
import locale from 'moment/locale/gu';
|
|
743
|
-
export default locale;
|
|
744
|
-
}
|
|
745
|
-
declare module "libs/reach/util/common/src/resources/locales/he.async" {
|
|
746
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/he';
|
|
747
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/he';
|
|
748
|
-
import locale from 'moment/locale/he';
|
|
749
|
-
export default locale;
|
|
750
|
-
}
|
|
751
|
-
declare module "libs/reach/util/common/src/resources/locales/hi.async" {
|
|
752
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/hi';
|
|
753
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/hi';
|
|
754
|
-
import locale from 'moment/locale/hi';
|
|
755
|
-
export default locale;
|
|
756
|
-
}
|
|
757
|
-
declare module "libs/reach/util/common/src/resources/locales/hr.async" {
|
|
758
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/hr';
|
|
759
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/hr';
|
|
760
|
-
import locale from 'moment/locale/hr';
|
|
761
|
-
export default locale;
|
|
762
|
-
}
|
|
763
|
-
declare module "libs/reach/util/common/src/resources/locales/hu.async" {
|
|
764
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/hu';
|
|
765
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/hu';
|
|
766
|
-
import locale from 'moment/locale/hu';
|
|
767
|
-
export default locale;
|
|
768
|
-
}
|
|
769
|
-
declare module "libs/reach/util/common/src/resources/locales/id.async" {
|
|
770
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/id';
|
|
771
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/id';
|
|
772
|
-
import locale from 'moment/locale/id';
|
|
773
|
-
export default locale;
|
|
774
|
-
}
|
|
775
|
-
declare module "libs/reach/util/common/src/resources/locales/it-ch.async" {
|
|
776
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/it';
|
|
777
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/it';
|
|
778
|
-
import locale from 'moment/locale/it-ch';
|
|
779
|
-
export default locale;
|
|
780
|
-
}
|
|
781
|
-
declare module "libs/reach/util/common/src/resources/locales/it.async" {
|
|
782
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/it';
|
|
783
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/it';
|
|
784
|
-
import locale from 'moment/locale/it';
|
|
785
|
-
export default locale;
|
|
786
|
-
}
|
|
787
|
-
declare module "libs/reach/util/common/src/resources/locales/ja.async" {
|
|
788
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/ja';
|
|
789
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/ja';
|
|
790
|
-
import locale from 'moment/locale/ja';
|
|
791
|
-
export default locale;
|
|
792
|
-
}
|
|
793
|
-
declare module "libs/reach/util/common/src/resources/locales/kn.async" {
|
|
794
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/kn';
|
|
795
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/kn';
|
|
796
|
-
import locale from 'moment/locale/kn';
|
|
797
|
-
export default locale;
|
|
798
|
-
}
|
|
799
|
-
declare module "libs/reach/util/common/src/resources/locales/ko.async" {
|
|
800
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/ko';
|
|
801
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/ko';
|
|
802
|
-
import locale from 'moment/locale/ko';
|
|
803
|
-
export default locale;
|
|
804
|
-
}
|
|
805
|
-
declare module "libs/reach/util/common/src/resources/locales/lt.async" {
|
|
806
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/lt';
|
|
807
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/lt';
|
|
808
|
-
import locale from 'moment/locale/lt';
|
|
809
|
-
export default locale;
|
|
810
|
-
}
|
|
811
|
-
declare module "libs/reach/util/common/src/resources/locales/lv.async" {
|
|
812
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/lv';
|
|
813
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/lv';
|
|
814
|
-
import locale from 'moment/locale/lv';
|
|
815
|
-
export default locale;
|
|
816
|
-
}
|
|
817
|
-
declare module "libs/reach/util/common/src/resources/locales/ml.async" {
|
|
818
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/ml';
|
|
819
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/ml';
|
|
820
|
-
import locale from 'moment/locale/ml';
|
|
821
|
-
export default locale;
|
|
822
|
-
}
|
|
823
|
-
declare module "libs/reach/util/common/src/resources/locales/mr.async" {
|
|
824
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/mr';
|
|
825
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/mr';
|
|
826
|
-
import locale from 'moment/locale/mr';
|
|
827
|
-
export default locale;
|
|
828
|
-
}
|
|
829
|
-
declare module "libs/reach/util/common/src/resources/locales/ms-my.async" {
|
|
830
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/ms';
|
|
831
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/ms';
|
|
832
|
-
import locale from 'moment/locale/ms-my';
|
|
833
|
-
export default locale;
|
|
834
|
-
}
|
|
835
|
-
declare module "libs/reach/util/common/src/resources/locales/ms.async" {
|
|
836
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/ms';
|
|
837
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/ms';
|
|
838
|
-
import locale from 'moment/locale/ms';
|
|
839
|
-
export default locale;
|
|
840
|
-
}
|
|
841
|
-
declare module "libs/reach/util/common/src/resources/locales/nb.async" {
|
|
842
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/nb';
|
|
843
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/nb';
|
|
844
|
-
import locale from 'moment/locale/nb';
|
|
845
|
-
export default locale;
|
|
846
|
-
}
|
|
847
|
-
declare module "libs/reach/util/common/src/resources/locales/nl-be.async" {
|
|
848
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/nl';
|
|
849
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/nl';
|
|
850
|
-
import locale from 'moment/locale/nl-be';
|
|
851
|
-
export default locale;
|
|
852
|
-
}
|
|
853
|
-
declare module "libs/reach/util/common/src/resources/locales/nl.async" {
|
|
854
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/nl';
|
|
855
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/nl';
|
|
856
|
-
import locale from 'moment/locale/nl';
|
|
857
|
-
export default locale;
|
|
858
|
-
}
|
|
859
|
-
declare module "libs/reach/util/common/src/resources/locales/pl.async" {
|
|
860
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/pl';
|
|
861
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/pl';
|
|
862
|
-
import locale from 'moment/locale/pl';
|
|
863
|
-
export default locale;
|
|
864
|
-
}
|
|
865
|
-
declare module "libs/reach/util/common/src/resources/locales/pt-br.async" {
|
|
866
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/pt';
|
|
867
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/pt';
|
|
868
|
-
import locale from 'moment/locale/pt-br';
|
|
869
|
-
export default locale;
|
|
870
|
-
}
|
|
871
|
-
declare module "libs/reach/util/common/src/resources/locales/pt.async" {
|
|
872
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/pt';
|
|
873
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/pt';
|
|
874
|
-
import locale from 'moment/locale/pt';
|
|
875
|
-
export default locale;
|
|
876
|
-
}
|
|
877
|
-
declare module "libs/reach/util/common/src/resources/locales/ro.async" {
|
|
878
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/ro';
|
|
879
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/ro';
|
|
880
|
-
import locale from 'moment/locale/ro';
|
|
881
|
-
export default locale;
|
|
882
|
-
}
|
|
883
|
-
declare module "libs/reach/util/common/src/resources/locales/ru.async" {
|
|
884
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/ru';
|
|
885
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/ru';
|
|
886
|
-
import locale from 'moment/locale/ru';
|
|
887
|
-
export default locale;
|
|
888
|
-
}
|
|
889
|
-
declare module "libs/reach/util/common/src/resources/locales/sk.async" {
|
|
890
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/sk';
|
|
891
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/sk';
|
|
892
|
-
import locale from 'moment/locale/sk';
|
|
893
|
-
export default locale;
|
|
894
|
-
}
|
|
895
|
-
declare module "libs/reach/util/common/src/resources/locales/sl.async" {
|
|
896
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/sl';
|
|
897
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/sl';
|
|
898
|
-
import locale from 'moment/locale/sl';
|
|
899
|
-
export default locale;
|
|
900
|
-
}
|
|
901
|
-
declare module "libs/reach/util/common/src/resources/locales/sr-cyrl.async" {
|
|
902
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/sr';
|
|
903
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/sr';
|
|
904
|
-
import locale from 'moment/locale/sr-cyrl';
|
|
905
|
-
export default locale;
|
|
906
|
-
}
|
|
907
|
-
declare module "libs/reach/util/common/src/resources/locales/sr.async" {
|
|
908
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/sr';
|
|
909
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/sr';
|
|
910
|
-
import locale from 'moment/locale/sr';
|
|
911
|
-
export default locale;
|
|
912
|
-
}
|
|
913
|
-
declare module "libs/reach/util/common/src/resources/locales/sv.async" {
|
|
914
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/sv';
|
|
915
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/sv';
|
|
916
|
-
import locale from 'moment/locale/sv';
|
|
917
|
-
export default locale;
|
|
918
|
-
}
|
|
919
|
-
declare module "libs/reach/util/common/src/resources/locales/sw.async" {
|
|
920
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/sw';
|
|
921
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/sw';
|
|
922
|
-
import locale from 'moment/locale/sw';
|
|
923
|
-
export default locale;
|
|
924
|
-
}
|
|
925
|
-
declare module "libs/reach/util/common/src/resources/locales/ta.async" {
|
|
926
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/ta';
|
|
927
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/ta';
|
|
928
|
-
import locale from 'moment/locale/ta';
|
|
929
|
-
export default locale;
|
|
930
|
-
}
|
|
931
|
-
declare module "libs/reach/util/common/src/resources/locales/te.async" {
|
|
932
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/te';
|
|
933
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/te';
|
|
934
|
-
import locale from 'moment/locale/te';
|
|
935
|
-
export default locale;
|
|
936
|
-
}
|
|
937
|
-
declare module "libs/reach/util/common/src/resources/locales/th.async" {
|
|
938
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/th';
|
|
939
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/th';
|
|
940
|
-
import locale from 'moment/locale/th';
|
|
941
|
-
export default locale;
|
|
942
|
-
}
|
|
943
|
-
declare module "libs/reach/util/common/src/resources/locales/tr.async" {
|
|
944
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/tr';
|
|
945
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/tr';
|
|
946
|
-
import locale from 'moment/locale/tr';
|
|
947
|
-
export default locale;
|
|
948
|
-
}
|
|
949
|
-
declare module "libs/reach/util/common/src/resources/locales/uk.async" {
|
|
950
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/uk';
|
|
951
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/uk';
|
|
952
|
-
import locale from 'moment/locale/uk';
|
|
953
|
-
export default locale;
|
|
954
|
-
}
|
|
955
|
-
declare module "libs/reach/util/common/src/resources/locales/vi.async" {
|
|
956
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/vi';
|
|
957
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/vi';
|
|
958
|
-
import locale from 'moment/locale/vi';
|
|
959
|
-
export default locale;
|
|
960
|
-
}
|
|
961
|
-
declare module "libs/reach/util/common/src/resources/locales/zh-cn.async" {
|
|
962
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/zh';
|
|
963
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/zh';
|
|
964
|
-
import locale from 'moment/locale/zh-cn';
|
|
552
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-dz.async" {
|
|
553
|
+
import locale from 'date-fns/locale/ar-DZ';
|
|
965
554
|
export default locale;
|
|
966
555
|
}
|
|
967
|
-
declare module "libs/reach/util/common/src/resources/locales/
|
|
968
|
-
import '
|
|
969
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/zh';
|
|
970
|
-
import locale from 'moment/locale/zh-hk';
|
|
556
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-tn.async" {
|
|
557
|
+
import locale from 'date-fns/locale/ar-TN';
|
|
971
558
|
export default locale;
|
|
972
559
|
}
|
|
973
|
-
declare module "libs/reach/util/common/src/resources/locales/
|
|
974
|
-
import '
|
|
975
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/zh';
|
|
976
|
-
import locale from 'moment/locale/zh-tw';
|
|
977
|
-
export default locale;
|
|
978
|
-
}
|
|
979
|
-
declare module "libs/reach/util/common/src/resources/LazyLocaleResourcesImporter" {
|
|
980
|
-
export function importLocaleResourcesAsync(locale: string): Promise<void> | Promise<typeof import("libs/reach/util/common/src/resources/locales/ar-dz.async")>;
|
|
981
|
-
}
|
|
982
|
-
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-dz.async" {
|
|
983
|
-
import locale from 'date-fns/locale/ar-DZ';
|
|
560
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ar.async" {
|
|
561
|
+
import locale from 'date-fns/locale/ar';
|
|
984
562
|
export default locale;
|
|
985
563
|
}
|
|
986
564
|
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-ma.async" {
|
|
@@ -1015,6 +593,10 @@ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/de.as
|
|
|
1015
593
|
import locale from 'date-fns/locale/de';
|
|
1016
594
|
export default locale;
|
|
1017
595
|
}
|
|
596
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/de-at.async" {
|
|
597
|
+
import locale from 'date-fns/locale/de-AT';
|
|
598
|
+
export default locale;
|
|
599
|
+
}
|
|
1018
600
|
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/el.async" {
|
|
1019
601
|
import locale from 'date-fns/locale/el';
|
|
1020
602
|
export default locale;
|
|
@@ -1031,6 +613,10 @@ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-gb
|
|
|
1031
613
|
import locale from 'date-fns/locale/en-GB';
|
|
1032
614
|
export default locale;
|
|
1033
615
|
}
|
|
616
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-ie.async" {
|
|
617
|
+
import locale from 'date-fns/locale/en-IE';
|
|
618
|
+
export default locale;
|
|
619
|
+
}
|
|
1034
620
|
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-nz.async" {
|
|
1035
621
|
import locale from 'date-fns/locale/en-NZ';
|
|
1036
622
|
export default locale;
|
|
@@ -1087,6 +673,10 @@ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/id.as
|
|
|
1087
673
|
import locale from 'date-fns/locale/id';
|
|
1088
674
|
export default locale;
|
|
1089
675
|
}
|
|
676
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/it-ch.async" {
|
|
677
|
+
import locale from 'date-fns/locale/it-CH';
|
|
678
|
+
export default locale;
|
|
679
|
+
}
|
|
1090
680
|
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/it.async" {
|
|
1091
681
|
import locale from 'date-fns/locale/it';
|
|
1092
682
|
export default locale;
|
|
@@ -1195,6 +785,10 @@ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/zh-cn
|
|
|
1195
785
|
import locale from 'date-fns/locale/zh-CN';
|
|
1196
786
|
export default locale;
|
|
1197
787
|
}
|
|
788
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/zh-hk.async" {
|
|
789
|
+
import locale from 'date-fns/locale/zh-HK';
|
|
790
|
+
export default locale;
|
|
791
|
+
}
|
|
1198
792
|
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/zh-tw.async" {
|
|
1199
793
|
import locale from 'date-fns/locale/zh-TW';
|
|
1200
794
|
export default locale;
|
|
@@ -1217,6 +811,7 @@ declare module "libs/reach/util/common/src/resources/BaseResourceContextProvider
|
|
|
1217
811
|
}>;
|
|
1218
812
|
}>;
|
|
1219
813
|
export function getDateFnsLocale(): Locale | undefined;
|
|
814
|
+
export function getDateFnsLocaleCode(): string;
|
|
1220
815
|
}
|
|
1221
816
|
declare module "libs/reach/util/common/src/resources/languages/da.async" {
|
|
1222
817
|
import '@formatjs/intl-pluralrules/dist/locale-data/da';
|
|
@@ -1288,20 +883,6 @@ declare module "libs/reach/util/common/src/resources/LegacyResourceContextProvid
|
|
|
1288
883
|
locale?: string;
|
|
1289
884
|
}>;
|
|
1290
885
|
}
|
|
1291
|
-
declare module "libs/reach/util/common/src/resources/locals-util" {
|
|
1292
|
-
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
1293
|
-
export const defaultFallbackLocale = "en";
|
|
1294
|
-
export const supportedLocales: string[];
|
|
1295
|
-
export function getPreferredLocale(user?: CurrentUser, locale?: string): string;
|
|
1296
|
-
export function getValidLocale(locale: string): string;
|
|
1297
|
-
}
|
|
1298
|
-
declare module "libs/reach/util/common/src/user/features/FeatureSet" {
|
|
1299
|
-
export const orderedFeatureSet: string[];
|
|
1300
|
-
export class FeatureSet {
|
|
1301
|
-
[featureName: string]: boolean;
|
|
1302
|
-
}
|
|
1303
|
-
export const workInProgressFeatures: Partial<FeatureSet>;
|
|
1304
|
-
}
|
|
1305
886
|
declare module "libs/reach/util/common/src/user/BasicUserInformation" {
|
|
1306
887
|
import { AuthenticationType } from "libs/shared/util/authentication/src/index";
|
|
1307
888
|
export interface BasicUserInformation {
|
|
@@ -1867,6 +1448,20 @@ declare module "libs/reach/util/common/src/user/User" {
|
|
|
1867
1448
|
notes?: string;
|
|
1868
1449
|
}
|
|
1869
1450
|
}
|
|
1451
|
+
declare module "libs/reach/util/common/src/resources/locals-util" {
|
|
1452
|
+
import { CurrentUser } from "libs/reach/util/common/src/user/User";
|
|
1453
|
+
export const defaultFallbackLocale = "en";
|
|
1454
|
+
export const supportedLocales: string[];
|
|
1455
|
+
export function getPreferredLocale(user?: CurrentUser, locale?: string): string;
|
|
1456
|
+
export function getValidLocale(locale: string): string;
|
|
1457
|
+
}
|
|
1458
|
+
declare module "libs/reach/util/common/src/user/features/FeatureSet" {
|
|
1459
|
+
export const orderedFeatureSet: string[];
|
|
1460
|
+
export class FeatureSet {
|
|
1461
|
+
[featureName: string]: boolean;
|
|
1462
|
+
}
|
|
1463
|
+
export const workInProgressFeatures: Partial<FeatureSet>;
|
|
1464
|
+
}
|
|
1870
1465
|
declare module "libs/reach/util/common/src/user/CurrentUserContext" {
|
|
1871
1466
|
import { CurrentUser } from "libs/reach/util/common/src/user/User";
|
|
1872
1467
|
export const CurrentUserContext: import("react").Context<{
|
|
@@ -4286,16 +3881,14 @@ declare module "libs/reach/ui/common/src/common/RelativeDateTime" {
|
|
|
4286
3881
|
}
|
|
4287
3882
|
declare module "libs/reach/ui/common/src/common/DateTime" {
|
|
4288
3883
|
import { FC } from 'react';
|
|
4289
|
-
import moment from 'moment';
|
|
4290
3884
|
interface Props {
|
|
4291
|
-
value:
|
|
3885
|
+
value: string | Date;
|
|
4292
3886
|
showWeekDay?: boolean;
|
|
4293
3887
|
showAsRelative?: boolean;
|
|
4294
3888
|
showAsAbsolute?: boolean;
|
|
4295
3889
|
dateOnly?: boolean;
|
|
4296
3890
|
className?: string;
|
|
4297
3891
|
}
|
|
4298
|
-
export const isSameDay: (value: moment.MomentInput) => boolean;
|
|
4299
3892
|
export const DateTime: FC<Props>;
|
|
4300
3893
|
export const DateTimeRange: FC<{
|
|
4301
3894
|
startDate?: string;
|
|
@@ -7401,8 +6994,8 @@ declare module "libs/reach/feature/content/src/common/item-tile/Title" {
|
|
|
7401
6994
|
}>;
|
|
7402
6995
|
}
|
|
7403
6996
|
declare module "libs/reach/feature/content/src/common/ContentUtils" {
|
|
7404
|
-
import { EventItem, ImageDetails, NewsItem } from "libs/reach/util/common/src/index";
|
|
7405
6997
|
import { IntlShape } from 'react-intl';
|
|
6998
|
+
import { EventItem, ImageDetails, NewsItem } from "libs/reach/util/common/src/index";
|
|
7406
6999
|
export function getMaxImageWidth(defaultMaxWidth?: number): number;
|
|
7407
7000
|
export function getImageWidth(image: ImageDetails | string): number;
|
|
7408
7001
|
export function getNewsCardIcon(item: NewsItem, intl: IntlShape): {
|
|
@@ -10618,7 +10211,6 @@ declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
|
|
|
10618
10211
|
export default DateTimePicker;
|
|
10619
10212
|
}
|
|
10620
10213
|
declare module "libs/reach/feature/content/src/forms/DateRange" {
|
|
10621
|
-
import moment, { Moment } from 'moment';
|
|
10622
10214
|
export enum DateRange {
|
|
10623
10215
|
TwoYears = 0,
|
|
10624
10216
|
OneYear = 1,
|
|
@@ -10626,12 +10218,11 @@ declare module "libs/reach/feature/content/src/forms/DateRange" {
|
|
|
10626
10218
|
TwoMonths = 3,
|
|
10627
10219
|
OneMonth = 4,
|
|
10628
10220
|
SevenDays = 5,
|
|
10629
|
-
|
|
10221
|
+
Yesterday = 6,
|
|
10630
10222
|
Today = 7
|
|
10631
10223
|
}
|
|
10632
|
-
export function
|
|
10633
|
-
export function
|
|
10634
|
-
export function dateRangeToDate(range: DateRange): Moment;
|
|
10224
|
+
export function dateToDateRange(date: string): DateRange;
|
|
10225
|
+
export function dateRangeToDate(range: DateRange): Date;
|
|
10635
10226
|
}
|
|
10636
10227
|
declare module "libs/reach/feature/content/src/forms/DateRangeSlider" {
|
|
10637
10228
|
import { FC } from 'react';
|