@livetiles/reach-plugin-types 0.4.98 → 0.4.100
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 +211 -602
- 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,12 @@ 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
|
+
export function isSameOrAfter(date: Date, dateToCompare: Date): boolean;
|
|
422
|
+
}
|
|
418
423
|
declare module "libs/shared/util/common/src/index" {
|
|
419
424
|
export * from "libs/shared/util/common/src/Logger";
|
|
420
425
|
export * from "libs/shared/util/common/src/IdGenerator";
|
|
@@ -427,6 +432,7 @@ declare module "libs/shared/util/common/src/index" {
|
|
|
427
432
|
export * from "libs/shared/util/common/src/parseQuery";
|
|
428
433
|
export * from "libs/shared/util/common/src/isValidEmail";
|
|
429
434
|
export * from "libs/shared/util/common/src/avatarUtil";
|
|
435
|
+
export * from "libs/shared/util/common/src/dateUtils";
|
|
430
436
|
}
|
|
431
437
|
declare module "libs/reach/util/common/src/reachClassNames" {
|
|
432
438
|
export const reachClassNames: string;
|
|
@@ -544,507 +550,16 @@ declare module "libs/reach/util/common/src/useCacheLanguageApi" {
|
|
|
544
550
|
getLocaleFromLocalStorage: () => Promise<string>;
|
|
545
551
|
};
|
|
546
552
|
}
|
|
547
|
-
declare module "libs/reach/util/common/src/resources/
|
|
548
|
-
import '
|
|
549
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/de';
|
|
550
|
-
import de from "libs/reach/util/common/src/resources/languages/string-resources/de";
|
|
551
|
-
export default de;
|
|
552
|
-
}
|
|
553
|
-
declare module "libs/reach/util/common/src/resources/languages/fr.async" {
|
|
554
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/fr';
|
|
555
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/fr';
|
|
556
|
-
import fr from "libs/reach/util/common/src/resources/languages/string-resources/fr";
|
|
557
|
-
export default fr;
|
|
558
|
-
}
|
|
559
|
-
declare module "libs/reach/util/common/src/resources/languages/es.async" {
|
|
560
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/es';
|
|
561
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/es';
|
|
562
|
-
import es from "libs/reach/util/common/src/resources/languages/string-resources/es";
|
|
563
|
-
export default es;
|
|
564
|
-
}
|
|
565
|
-
declare module "libs/reach/util/common/src/resources/languages/zh-TW.async" {
|
|
566
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/zh';
|
|
567
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/zh';
|
|
568
|
-
import zh from "libs/reach/util/common/src/resources/languages/string-resources/zh-TW";
|
|
569
|
-
export default zh;
|
|
570
|
-
}
|
|
571
|
-
declare module "libs/reach/util/common/src/resources/languages/zh-CN.async" {
|
|
572
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/zh';
|
|
573
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/zh';
|
|
574
|
-
import zh from "libs/reach/util/common/src/resources/languages/string-resources/zh-CN";
|
|
575
|
-
export default zh;
|
|
576
|
-
}
|
|
577
|
-
declare module "libs/reach/util/common/src/resources/languages/ja.async" {
|
|
578
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/ja';
|
|
579
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/ja';
|
|
580
|
-
import ja from "libs/reach/util/common/src/resources/languages/string-resources/ja";
|
|
581
|
-
export default ja;
|
|
582
|
-
}
|
|
583
|
-
declare module "libs/reach/util/common/src/resources/languages/tr.async" {
|
|
584
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/tr';
|
|
585
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/tr';
|
|
586
|
-
import tr from "libs/reach/util/common/src/resources/languages/string-resources/tr";
|
|
587
|
-
export default tr;
|
|
588
|
-
}
|
|
589
|
-
declare module "libs/reach/util/common/src/resources/languages/it.async" {
|
|
590
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/it';
|
|
591
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/it';
|
|
592
|
-
import it from "libs/reach/util/common/src/resources/languages/string-resources/it";
|
|
593
|
-
export default it;
|
|
594
|
-
}
|
|
595
|
-
declare module "libs/reach/util/common/src/resources/languages/en.async" {
|
|
596
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/en';
|
|
597
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/en';
|
|
598
|
-
import en from "libs/reach/util/common/src/resources/languages/string-resources/en";
|
|
599
|
-
export default en;
|
|
600
|
-
}
|
|
601
|
-
declare module "libs/reach/util/common/src/resources/LazyLanguageResourcesImporter" {
|
|
602
|
-
export function importLanguageResourcesAsync(language: string): Promise<typeof import("libs/reach/util/common/src/resources/languages/de.async")> | Promise<typeof import("libs/reach/util/common/src/resources/languages/en.async")>;
|
|
603
|
-
}
|
|
604
|
-
declare module "libs/reach/util/common/src/resources/locales/ar-dz.async" {
|
|
605
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/ar';
|
|
606
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/ar';
|
|
607
|
-
import locale from 'moment/locale/ar-dz';
|
|
608
|
-
export default locale;
|
|
609
|
-
}
|
|
610
|
-
declare module "libs/reach/util/common/src/resources/locales/ar-kw.async" {
|
|
611
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/ar';
|
|
612
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/ar';
|
|
613
|
-
import locale from 'moment/locale/ar-kw';
|
|
614
|
-
export default locale;
|
|
615
|
-
}
|
|
616
|
-
declare module "libs/reach/util/common/src/resources/locales/ar-ly.async" {
|
|
617
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/ar';
|
|
618
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/ar';
|
|
619
|
-
import locale from 'moment/locale/ar-ly';
|
|
620
|
-
export default locale;
|
|
621
|
-
}
|
|
622
|
-
declare module "libs/reach/util/common/src/resources/locales/ar-ma.async" {
|
|
623
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/ar';
|
|
624
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/ar';
|
|
625
|
-
import locale from 'moment/locale/ar-ma';
|
|
626
|
-
export default locale;
|
|
627
|
-
}
|
|
628
|
-
declare module "libs/reach/util/common/src/resources/locales/ar-sa.async" {
|
|
629
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/ar';
|
|
630
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/ar';
|
|
631
|
-
import locale from 'moment/locale/ar-sa';
|
|
632
|
-
export default locale;
|
|
633
|
-
}
|
|
634
|
-
declare module "libs/reach/util/common/src/resources/locales/ar-tn.async" {
|
|
635
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/ar';
|
|
636
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/ar';
|
|
637
|
-
import locale from 'moment/locale/ar-tn';
|
|
638
|
-
export default locale;
|
|
639
|
-
}
|
|
640
|
-
declare module "libs/reach/util/common/src/resources/locales/ar.async" {
|
|
641
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/ar';
|
|
642
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/ar';
|
|
643
|
-
import locale from 'moment/locale/ar';
|
|
644
|
-
export default locale;
|
|
645
|
-
}
|
|
646
|
-
declare module "libs/reach/util/common/src/resources/locales/bg.async" {
|
|
647
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/bg';
|
|
648
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/bg';
|
|
649
|
-
import locale from 'moment/locale/bg';
|
|
650
|
-
export default locale;
|
|
651
|
-
}
|
|
652
|
-
declare module "libs/reach/util/common/src/resources/locales/bn.async" {
|
|
653
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/bn';
|
|
654
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/bn';
|
|
655
|
-
import locale from 'moment/locale/bn';
|
|
656
|
-
export default locale;
|
|
657
|
-
}
|
|
658
|
-
declare module "libs/reach/util/common/src/resources/locales/ca.async" {
|
|
659
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/ca';
|
|
660
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/ca';
|
|
661
|
-
import locale from 'moment/locale/ca';
|
|
662
|
-
export default locale;
|
|
663
|
-
}
|
|
664
|
-
declare module "libs/reach/util/common/src/resources/locales/cs.async" {
|
|
665
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/cs';
|
|
666
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/cs';
|
|
667
|
-
import locale from 'moment/locale/cs';
|
|
668
|
-
export default locale;
|
|
669
|
-
}
|
|
670
|
-
declare module "libs/reach/util/common/src/resources/locales/da.async" {
|
|
671
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/da';
|
|
672
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/da';
|
|
673
|
-
import locale from 'moment/locale/da';
|
|
674
|
-
export default locale;
|
|
675
|
-
}
|
|
676
|
-
declare module "libs/reach/util/common/src/resources/locales/de-at.async" {
|
|
677
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/de';
|
|
678
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/de';
|
|
679
|
-
import locale from 'moment/locale/de-at';
|
|
680
|
-
export default locale;
|
|
681
|
-
}
|
|
682
|
-
declare module "libs/reach/util/common/src/resources/locales/de-ch.async" {
|
|
683
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/de';
|
|
684
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/de';
|
|
685
|
-
import locale from 'moment/locale/de-ch';
|
|
686
|
-
export default locale;
|
|
687
|
-
}
|
|
688
|
-
declare module "libs/reach/util/common/src/resources/locales/de.async" {
|
|
689
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/de';
|
|
690
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/de';
|
|
691
|
-
import locale from 'moment/locale/de';
|
|
692
|
-
export default locale;
|
|
693
|
-
}
|
|
694
|
-
declare module "libs/reach/util/common/src/resources/locales/el.async" {
|
|
695
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/el';
|
|
696
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/el';
|
|
697
|
-
import locale from 'moment/locale/el';
|
|
698
|
-
export default locale;
|
|
699
|
-
}
|
|
700
|
-
declare module "libs/reach/util/common/src/resources/locales/en-au.async" {
|
|
701
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/en';
|
|
702
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/en';
|
|
703
|
-
import locale from 'moment/locale/en-au';
|
|
704
|
-
export default locale;
|
|
705
|
-
}
|
|
706
|
-
declare module "libs/reach/util/common/src/resources/locales/en-ca.async" {
|
|
707
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/en';
|
|
708
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/en';
|
|
709
|
-
import locale from 'moment/locale/en-ca';
|
|
710
|
-
export default locale;
|
|
711
|
-
}
|
|
712
|
-
declare module "libs/reach/util/common/src/resources/locales/en-gb.async" {
|
|
713
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/en';
|
|
714
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/en';
|
|
715
|
-
import locale from 'moment/locale/en-gb';
|
|
716
|
-
export default locale;
|
|
717
|
-
}
|
|
718
|
-
declare module "libs/reach/util/common/src/resources/locales/en-ie.async" {
|
|
719
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/en';
|
|
720
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/en';
|
|
721
|
-
import locale from 'moment/locale/en-ie';
|
|
722
|
-
export default locale;
|
|
723
|
-
}
|
|
724
|
-
declare module "libs/reach/util/common/src/resources/locales/en-il.async" {
|
|
725
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/en';
|
|
726
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/en';
|
|
727
|
-
import locale from 'moment/locale/en-il';
|
|
728
|
-
export default locale;
|
|
729
|
-
}
|
|
730
|
-
declare module "libs/reach/util/common/src/resources/locales/en-nz.async" {
|
|
731
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/en';
|
|
732
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/en';
|
|
733
|
-
import locale from 'moment/locale/en-nz';
|
|
734
|
-
export default locale;
|
|
735
|
-
}
|
|
736
|
-
declare module "libs/reach/util/common/src/resources/locales/en-sg.async" {
|
|
737
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/en';
|
|
738
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/en';
|
|
739
|
-
import locale from 'moment/locale/en-SG';
|
|
740
|
-
export default locale;
|
|
741
|
-
}
|
|
742
|
-
declare module "libs/reach/util/common/src/resources/locales/es-do.async" {
|
|
743
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/es';
|
|
744
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/es';
|
|
745
|
-
import locale from 'moment/locale/es-do';
|
|
746
|
-
export default locale;
|
|
747
|
-
}
|
|
748
|
-
declare module "libs/reach/util/common/src/resources/locales/es-us.async" {
|
|
749
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/es';
|
|
750
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/es';
|
|
751
|
-
import locale from 'moment/locale/es-us';
|
|
752
|
-
export default locale;
|
|
753
|
-
}
|
|
754
|
-
declare module "libs/reach/util/common/src/resources/locales/es.async" {
|
|
755
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/es';
|
|
756
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/es';
|
|
757
|
-
import locale from 'moment/locale/es';
|
|
758
|
-
export default locale;
|
|
759
|
-
}
|
|
760
|
-
declare module "libs/reach/util/common/src/resources/locales/et.async" {
|
|
761
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/et';
|
|
762
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/et';
|
|
763
|
-
import locale from 'moment/locale/et';
|
|
764
|
-
export default locale;
|
|
765
|
-
}
|
|
766
|
-
declare module "libs/reach/util/common/src/resources/locales/fa.async" {
|
|
767
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/fa';
|
|
768
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/fa';
|
|
769
|
-
import locale from 'moment/locale/fa';
|
|
770
|
-
export default locale;
|
|
771
|
-
}
|
|
772
|
-
declare module "libs/reach/util/common/src/resources/locales/fi.async" {
|
|
773
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/fi';
|
|
774
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/fi';
|
|
775
|
-
import locale from 'moment/locale/fi';
|
|
776
|
-
export default locale;
|
|
777
|
-
}
|
|
778
|
-
declare module "libs/reach/util/common/src/resources/locales/fr-ca.async" {
|
|
779
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/fr';
|
|
780
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/fr';
|
|
781
|
-
import locale from 'moment/locale/fr-ca';
|
|
782
|
-
export default locale;
|
|
783
|
-
}
|
|
784
|
-
declare module "libs/reach/util/common/src/resources/locales/fr-ch.async" {
|
|
785
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/fr';
|
|
786
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/fr';
|
|
787
|
-
import locale from 'moment/locale/fr-ch';
|
|
788
|
-
export default locale;
|
|
789
|
-
}
|
|
790
|
-
declare module "libs/reach/util/common/src/resources/locales/fr.async" {
|
|
791
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/fr';
|
|
792
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/fr';
|
|
793
|
-
import locale from 'moment/locale/fr';
|
|
794
|
-
export default locale;
|
|
795
|
-
}
|
|
796
|
-
declare module "libs/reach/util/common/src/resources/locales/gu.async" {
|
|
797
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/gu';
|
|
798
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/gu';
|
|
799
|
-
import locale from 'moment/locale/gu';
|
|
800
|
-
export default locale;
|
|
801
|
-
}
|
|
802
|
-
declare module "libs/reach/util/common/src/resources/locales/he.async" {
|
|
803
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/he';
|
|
804
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/he';
|
|
805
|
-
import locale from 'moment/locale/he';
|
|
806
|
-
export default locale;
|
|
807
|
-
}
|
|
808
|
-
declare module "libs/reach/util/common/src/resources/locales/hi.async" {
|
|
809
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/hi';
|
|
810
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/hi';
|
|
811
|
-
import locale from 'moment/locale/hi';
|
|
812
|
-
export default locale;
|
|
813
|
-
}
|
|
814
|
-
declare module "libs/reach/util/common/src/resources/locales/hr.async" {
|
|
815
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/hr';
|
|
816
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/hr';
|
|
817
|
-
import locale from 'moment/locale/hr';
|
|
818
|
-
export default locale;
|
|
819
|
-
}
|
|
820
|
-
declare module "libs/reach/util/common/src/resources/locales/hu.async" {
|
|
821
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/hu';
|
|
822
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/hu';
|
|
823
|
-
import locale from 'moment/locale/hu';
|
|
824
|
-
export default locale;
|
|
825
|
-
}
|
|
826
|
-
declare module "libs/reach/util/common/src/resources/locales/id.async" {
|
|
827
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/id';
|
|
828
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/id';
|
|
829
|
-
import locale from 'moment/locale/id';
|
|
830
|
-
export default locale;
|
|
831
|
-
}
|
|
832
|
-
declare module "libs/reach/util/common/src/resources/locales/it-ch.async" {
|
|
833
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/it';
|
|
834
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/it';
|
|
835
|
-
import locale from 'moment/locale/it-ch';
|
|
836
|
-
export default locale;
|
|
837
|
-
}
|
|
838
|
-
declare module "libs/reach/util/common/src/resources/locales/it.async" {
|
|
839
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/it';
|
|
840
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/it';
|
|
841
|
-
import locale from 'moment/locale/it';
|
|
842
|
-
export default locale;
|
|
843
|
-
}
|
|
844
|
-
declare module "libs/reach/util/common/src/resources/locales/ja.async" {
|
|
845
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/ja';
|
|
846
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/ja';
|
|
847
|
-
import locale from 'moment/locale/ja';
|
|
848
|
-
export default locale;
|
|
849
|
-
}
|
|
850
|
-
declare module "libs/reach/util/common/src/resources/locales/kn.async" {
|
|
851
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/kn';
|
|
852
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/kn';
|
|
853
|
-
import locale from 'moment/locale/kn';
|
|
854
|
-
export default locale;
|
|
855
|
-
}
|
|
856
|
-
declare module "libs/reach/util/common/src/resources/locales/ko.async" {
|
|
857
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/ko';
|
|
858
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/ko';
|
|
859
|
-
import locale from 'moment/locale/ko';
|
|
860
|
-
export default locale;
|
|
861
|
-
}
|
|
862
|
-
declare module "libs/reach/util/common/src/resources/locales/lt.async" {
|
|
863
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/lt';
|
|
864
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/lt';
|
|
865
|
-
import locale from 'moment/locale/lt';
|
|
866
|
-
export default locale;
|
|
867
|
-
}
|
|
868
|
-
declare module "libs/reach/util/common/src/resources/locales/lv.async" {
|
|
869
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/lv';
|
|
870
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/lv';
|
|
871
|
-
import locale from 'moment/locale/lv';
|
|
872
|
-
export default locale;
|
|
873
|
-
}
|
|
874
|
-
declare module "libs/reach/util/common/src/resources/locales/ml.async" {
|
|
875
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/ml';
|
|
876
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/ml';
|
|
877
|
-
import locale from 'moment/locale/ml';
|
|
878
|
-
export default locale;
|
|
879
|
-
}
|
|
880
|
-
declare module "libs/reach/util/common/src/resources/locales/mr.async" {
|
|
881
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/mr';
|
|
882
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/mr';
|
|
883
|
-
import locale from 'moment/locale/mr';
|
|
884
|
-
export default locale;
|
|
885
|
-
}
|
|
886
|
-
declare module "libs/reach/util/common/src/resources/locales/ms-my.async" {
|
|
887
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/ms';
|
|
888
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/ms';
|
|
889
|
-
import locale from 'moment/locale/ms-my';
|
|
890
|
-
export default locale;
|
|
891
|
-
}
|
|
892
|
-
declare module "libs/reach/util/common/src/resources/locales/ms.async" {
|
|
893
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/ms';
|
|
894
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/ms';
|
|
895
|
-
import locale from 'moment/locale/ms';
|
|
896
|
-
export default locale;
|
|
897
|
-
}
|
|
898
|
-
declare module "libs/reach/util/common/src/resources/locales/nb.async" {
|
|
899
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/nb';
|
|
900
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/nb';
|
|
901
|
-
import locale from 'moment/locale/nb';
|
|
902
|
-
export default locale;
|
|
903
|
-
}
|
|
904
|
-
declare module "libs/reach/util/common/src/resources/locales/nl-be.async" {
|
|
905
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/nl';
|
|
906
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/nl';
|
|
907
|
-
import locale from 'moment/locale/nl-be';
|
|
908
|
-
export default locale;
|
|
909
|
-
}
|
|
910
|
-
declare module "libs/reach/util/common/src/resources/locales/nl.async" {
|
|
911
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/nl';
|
|
912
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/nl';
|
|
913
|
-
import locale from 'moment/locale/nl';
|
|
914
|
-
export default locale;
|
|
915
|
-
}
|
|
916
|
-
declare module "libs/reach/util/common/src/resources/locales/pl.async" {
|
|
917
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/pl';
|
|
918
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/pl';
|
|
919
|
-
import locale from 'moment/locale/pl';
|
|
920
|
-
export default locale;
|
|
921
|
-
}
|
|
922
|
-
declare module "libs/reach/util/common/src/resources/locales/pt-br.async" {
|
|
923
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/pt';
|
|
924
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/pt';
|
|
925
|
-
import locale from 'moment/locale/pt-br';
|
|
926
|
-
export default locale;
|
|
927
|
-
}
|
|
928
|
-
declare module "libs/reach/util/common/src/resources/locales/pt.async" {
|
|
929
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/pt';
|
|
930
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/pt';
|
|
931
|
-
import locale from 'moment/locale/pt';
|
|
932
|
-
export default locale;
|
|
933
|
-
}
|
|
934
|
-
declare module "libs/reach/util/common/src/resources/locales/ro.async" {
|
|
935
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/ro';
|
|
936
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/ro';
|
|
937
|
-
import locale from 'moment/locale/ro';
|
|
938
|
-
export default locale;
|
|
939
|
-
}
|
|
940
|
-
declare module "libs/reach/util/common/src/resources/locales/ru.async" {
|
|
941
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/ru';
|
|
942
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/ru';
|
|
943
|
-
import locale from 'moment/locale/ru';
|
|
944
|
-
export default locale;
|
|
945
|
-
}
|
|
946
|
-
declare module "libs/reach/util/common/src/resources/locales/sk.async" {
|
|
947
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/sk';
|
|
948
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/sk';
|
|
949
|
-
import locale from 'moment/locale/sk';
|
|
950
|
-
export default locale;
|
|
951
|
-
}
|
|
952
|
-
declare module "libs/reach/util/common/src/resources/locales/sl.async" {
|
|
953
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/sl';
|
|
954
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/sl';
|
|
955
|
-
import locale from 'moment/locale/sl';
|
|
956
|
-
export default locale;
|
|
957
|
-
}
|
|
958
|
-
declare module "libs/reach/util/common/src/resources/locales/sr-cyrl.async" {
|
|
959
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/sr';
|
|
960
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/sr';
|
|
961
|
-
import locale from 'moment/locale/sr-cyrl';
|
|
962
|
-
export default locale;
|
|
963
|
-
}
|
|
964
|
-
declare module "libs/reach/util/common/src/resources/locales/sr.async" {
|
|
965
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/sr';
|
|
966
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/sr';
|
|
967
|
-
import locale from 'moment/locale/sr';
|
|
968
|
-
export default locale;
|
|
969
|
-
}
|
|
970
|
-
declare module "libs/reach/util/common/src/resources/locales/sv.async" {
|
|
971
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/sv';
|
|
972
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/sv';
|
|
973
|
-
import locale from 'moment/locale/sv';
|
|
974
|
-
export default locale;
|
|
975
|
-
}
|
|
976
|
-
declare module "libs/reach/util/common/src/resources/locales/sw.async" {
|
|
977
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/sw';
|
|
978
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/sw';
|
|
979
|
-
import locale from 'moment/locale/sw';
|
|
980
|
-
export default locale;
|
|
981
|
-
}
|
|
982
|
-
declare module "libs/reach/util/common/src/resources/locales/ta.async" {
|
|
983
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/ta';
|
|
984
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/ta';
|
|
985
|
-
import locale from 'moment/locale/ta';
|
|
986
|
-
export default locale;
|
|
987
|
-
}
|
|
988
|
-
declare module "libs/reach/util/common/src/resources/locales/te.async" {
|
|
989
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/te';
|
|
990
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/te';
|
|
991
|
-
import locale from 'moment/locale/te';
|
|
992
|
-
export default locale;
|
|
993
|
-
}
|
|
994
|
-
declare module "libs/reach/util/common/src/resources/locales/th.async" {
|
|
995
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/th';
|
|
996
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/th';
|
|
997
|
-
import locale from 'moment/locale/th';
|
|
998
|
-
export default locale;
|
|
999
|
-
}
|
|
1000
|
-
declare module "libs/reach/util/common/src/resources/locales/tr.async" {
|
|
1001
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/tr';
|
|
1002
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/tr';
|
|
1003
|
-
import locale from 'moment/locale/tr';
|
|
1004
|
-
export default locale;
|
|
1005
|
-
}
|
|
1006
|
-
declare module "libs/reach/util/common/src/resources/locales/uk.async" {
|
|
1007
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/uk';
|
|
1008
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/uk';
|
|
1009
|
-
import locale from 'moment/locale/uk';
|
|
1010
|
-
export default locale;
|
|
1011
|
-
}
|
|
1012
|
-
declare module "libs/reach/util/common/src/resources/locales/vi.async" {
|
|
1013
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/vi';
|
|
1014
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/vi';
|
|
1015
|
-
import locale from 'moment/locale/vi';
|
|
1016
|
-
export default locale;
|
|
1017
|
-
}
|
|
1018
|
-
declare module "libs/reach/util/common/src/resources/locales/zh-cn.async" {
|
|
1019
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/zh';
|
|
1020
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/zh';
|
|
1021
|
-
import locale from 'moment/locale/zh-cn';
|
|
553
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-dz.async" {
|
|
554
|
+
import locale from 'date-fns/locale/ar-DZ';
|
|
1022
555
|
export default locale;
|
|
1023
556
|
}
|
|
1024
|
-
declare module "libs/reach/util/common/src/resources/locales/
|
|
1025
|
-
import '
|
|
1026
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/zh';
|
|
1027
|
-
import locale from 'moment/locale/zh-hk';
|
|
557
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-tn.async" {
|
|
558
|
+
import locale from 'date-fns/locale/ar-TN';
|
|
1028
559
|
export default locale;
|
|
1029
560
|
}
|
|
1030
|
-
declare module "libs/reach/util/common/src/resources/locales/
|
|
1031
|
-
import '
|
|
1032
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/zh';
|
|
1033
|
-
import locale from 'moment/locale/zh-tw';
|
|
1034
|
-
export default locale;
|
|
1035
|
-
}
|
|
1036
|
-
declare module "libs/reach/util/common/src/resources/LazyLocaleResourcesImporter" {
|
|
1037
|
-
export function importLocaleResourcesAsync(locale: string): Promise<void> | Promise<typeof import("libs/reach/util/common/src/resources/locales/ar-dz.async")>;
|
|
1038
|
-
}
|
|
1039
|
-
declare module "libs/reach/util/common/src/resources/ResourceContextProvider" {
|
|
1040
|
-
import { FC } from 'react';
|
|
1041
|
-
export const ResourceContextProvider: FC<{
|
|
1042
|
-
language?: string;
|
|
1043
|
-
locale?: string;
|
|
1044
|
-
}>;
|
|
1045
|
-
}
|
|
1046
|
-
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-dz.async" {
|
|
1047
|
-
import locale from 'date-fns/locale/ar-DZ';
|
|
561
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ar.async" {
|
|
562
|
+
import locale from 'date-fns/locale/ar';
|
|
1048
563
|
export default locale;
|
|
1049
564
|
}
|
|
1050
565
|
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-ma.async" {
|
|
@@ -1079,6 +594,10 @@ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/de.as
|
|
|
1079
594
|
import locale from 'date-fns/locale/de';
|
|
1080
595
|
export default locale;
|
|
1081
596
|
}
|
|
597
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/de-at.async" {
|
|
598
|
+
import locale from 'date-fns/locale/de-AT';
|
|
599
|
+
export default locale;
|
|
600
|
+
}
|
|
1082
601
|
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/el.async" {
|
|
1083
602
|
import locale from 'date-fns/locale/el';
|
|
1084
603
|
export default locale;
|
|
@@ -1095,6 +614,10 @@ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-gb
|
|
|
1095
614
|
import locale from 'date-fns/locale/en-GB';
|
|
1096
615
|
export default locale;
|
|
1097
616
|
}
|
|
617
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-ie.async" {
|
|
618
|
+
import locale from 'date-fns/locale/en-IE';
|
|
619
|
+
export default locale;
|
|
620
|
+
}
|
|
1098
621
|
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-nz.async" {
|
|
1099
622
|
import locale from 'date-fns/locale/en-NZ';
|
|
1100
623
|
export default locale;
|
|
@@ -1151,6 +674,10 @@ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/id.as
|
|
|
1151
674
|
import locale from 'date-fns/locale/id';
|
|
1152
675
|
export default locale;
|
|
1153
676
|
}
|
|
677
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/it-ch.async" {
|
|
678
|
+
import locale from 'date-fns/locale/it-CH';
|
|
679
|
+
export default locale;
|
|
680
|
+
}
|
|
1154
681
|
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/it.async" {
|
|
1155
682
|
import locale from 'date-fns/locale/it';
|
|
1156
683
|
export default locale;
|
|
@@ -1259,6 +786,10 @@ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/zh-cn
|
|
|
1259
786
|
import locale from 'date-fns/locale/zh-CN';
|
|
1260
787
|
export default locale;
|
|
1261
788
|
}
|
|
789
|
+
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/zh-hk.async" {
|
|
790
|
+
import locale from 'date-fns/locale/zh-HK';
|
|
791
|
+
export default locale;
|
|
792
|
+
}
|
|
1262
793
|
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/zh-tw.async" {
|
|
1263
794
|
import locale from 'date-fns/locale/zh-TW';
|
|
1264
795
|
export default locale;
|
|
@@ -1270,6 +801,73 @@ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-us
|
|
|
1270
801
|
declare module "libs/reach/util/common/src/resources/LazyDateFnsLocaleImporter" {
|
|
1271
802
|
export function importDateFnsLocaleAsync(locale: string): Promise<typeof import("libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-dz.async")>;
|
|
1272
803
|
}
|
|
804
|
+
declare module "libs/reach/util/common/src/resources/languages/de.async" {
|
|
805
|
+
import '@formatjs/intl-pluralrules/dist/locale-data/de';
|
|
806
|
+
import '@formatjs/intl-relativetimeformat/dist/locale-data/de';
|
|
807
|
+
import de from "libs/reach/util/common/src/resources/languages/string-resources/de";
|
|
808
|
+
export default de;
|
|
809
|
+
}
|
|
810
|
+
declare module "libs/reach/util/common/src/resources/languages/fr.async" {
|
|
811
|
+
import '@formatjs/intl-pluralrules/dist/locale-data/fr';
|
|
812
|
+
import '@formatjs/intl-relativetimeformat/dist/locale-data/fr';
|
|
813
|
+
import fr from "libs/reach/util/common/src/resources/languages/string-resources/fr";
|
|
814
|
+
export default fr;
|
|
815
|
+
}
|
|
816
|
+
declare module "libs/reach/util/common/src/resources/languages/es.async" {
|
|
817
|
+
import '@formatjs/intl-pluralrules/dist/locale-data/es';
|
|
818
|
+
import '@formatjs/intl-relativetimeformat/dist/locale-data/es';
|
|
819
|
+
import es from "libs/reach/util/common/src/resources/languages/string-resources/es";
|
|
820
|
+
export default es;
|
|
821
|
+
}
|
|
822
|
+
declare module "libs/reach/util/common/src/resources/languages/zh-TW.async" {
|
|
823
|
+
import '@formatjs/intl-pluralrules/dist/locale-data/zh';
|
|
824
|
+
import '@formatjs/intl-relativetimeformat/dist/locale-data/zh';
|
|
825
|
+
import zh from "libs/reach/util/common/src/resources/languages/string-resources/zh-TW";
|
|
826
|
+
export default zh;
|
|
827
|
+
}
|
|
828
|
+
declare module "libs/reach/util/common/src/resources/languages/zh-CN.async" {
|
|
829
|
+
import '@formatjs/intl-pluralrules/dist/locale-data/zh';
|
|
830
|
+
import '@formatjs/intl-relativetimeformat/dist/locale-data/zh';
|
|
831
|
+
import zh from "libs/reach/util/common/src/resources/languages/string-resources/zh-CN";
|
|
832
|
+
export default zh;
|
|
833
|
+
}
|
|
834
|
+
declare module "libs/reach/util/common/src/resources/languages/ja.async" {
|
|
835
|
+
import '@formatjs/intl-pluralrules/dist/locale-data/ja';
|
|
836
|
+
import '@formatjs/intl-relativetimeformat/dist/locale-data/ja';
|
|
837
|
+
import ja from "libs/reach/util/common/src/resources/languages/string-resources/ja";
|
|
838
|
+
export default ja;
|
|
839
|
+
}
|
|
840
|
+
declare module "libs/reach/util/common/src/resources/languages/tr.async" {
|
|
841
|
+
import '@formatjs/intl-pluralrules/dist/locale-data/tr';
|
|
842
|
+
import '@formatjs/intl-relativetimeformat/dist/locale-data/tr';
|
|
843
|
+
import tr from "libs/reach/util/common/src/resources/languages/string-resources/tr";
|
|
844
|
+
export default tr;
|
|
845
|
+
}
|
|
846
|
+
declare module "libs/reach/util/common/src/resources/languages/it.async" {
|
|
847
|
+
import '@formatjs/intl-pluralrules/dist/locale-data/it';
|
|
848
|
+
import '@formatjs/intl-relativetimeformat/dist/locale-data/it';
|
|
849
|
+
import it from "libs/reach/util/common/src/resources/languages/string-resources/it";
|
|
850
|
+
export default it;
|
|
851
|
+
}
|
|
852
|
+
declare module "libs/reach/util/common/src/resources/languages/en.async" {
|
|
853
|
+
import '@formatjs/intl-pluralrules/dist/locale-data/en';
|
|
854
|
+
import '@formatjs/intl-relativetimeformat/dist/locale-data/en';
|
|
855
|
+
import en from "libs/reach/util/common/src/resources/languages/string-resources/en";
|
|
856
|
+
export default en;
|
|
857
|
+
}
|
|
858
|
+
declare module "libs/reach/util/common/src/resources/LazyLanguageResourcesImporter" {
|
|
859
|
+
export function importLanguageResourcesAsync(language: string): Promise<typeof import("libs/reach/util/common/src/resources/languages/de.async")> | Promise<typeof import("libs/reach/util/common/src/resources/languages/en.async")>;
|
|
860
|
+
}
|
|
861
|
+
declare module "libs/reach/util/common/src/resources/ResourceContextProvider" {
|
|
862
|
+
import { FC } from 'react';
|
|
863
|
+
import { Locale } from 'date-fns';
|
|
864
|
+
export const ResourceContextProvider: FC<{
|
|
865
|
+
language?: string;
|
|
866
|
+
locale?: string;
|
|
867
|
+
}>;
|
|
868
|
+
export function getDateFnsLocale(): Locale | undefined;
|
|
869
|
+
export function getDateFnsLocaleCode(): string;
|
|
870
|
+
}
|
|
1273
871
|
declare module "libs/reach/util/common/src/user/features/FeatureSet" {
|
|
1274
872
|
export const orderedFeatureSet: string[];
|
|
1275
873
|
export class FeatureSet {
|
|
@@ -1342,6 +940,33 @@ declare module "libs/reach/util/common/src/content/Language" {
|
|
|
1342
940
|
code: string;
|
|
1343
941
|
}
|
|
1344
942
|
}
|
|
943
|
+
declare module "libs/reach/util/common/src/content/KeywordGroup" {
|
|
944
|
+
export interface KeywordGroup {
|
|
945
|
+
id: string;
|
|
946
|
+
name: string;
|
|
947
|
+
keywords: Keyword[];
|
|
948
|
+
translations: {
|
|
949
|
+
[key: string]: string;
|
|
950
|
+
};
|
|
951
|
+
}
|
|
952
|
+
export interface Keyword {
|
|
953
|
+
id: string;
|
|
954
|
+
name: string;
|
|
955
|
+
groupId?: string;
|
|
956
|
+
translations: {
|
|
957
|
+
[key: string]: string;
|
|
958
|
+
};
|
|
959
|
+
}
|
|
960
|
+
}
|
|
961
|
+
declare module "libs/reach/util/common/src/user/Channel" {
|
|
962
|
+
export interface Channel {
|
|
963
|
+
id: string;
|
|
964
|
+
name: string;
|
|
965
|
+
translations?: {
|
|
966
|
+
[key: string]: string;
|
|
967
|
+
};
|
|
968
|
+
}
|
|
969
|
+
}
|
|
1345
970
|
declare module "libs/reach/util/common/src/user/Subscription" {
|
|
1346
971
|
import { Resources } from "libs/reach/util/context/src/index";
|
|
1347
972
|
import { Account } from "libs/reach/util/common/src/user/Account";
|
|
@@ -1349,6 +974,8 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1349
974
|
import { CurrentUser, NotificationType } from "libs/reach/util/common/src/user/User";
|
|
1350
975
|
import { IdentityProviderNames, IdentityProviderSettings, SubscriptionInfo as BaseSubscriptionInfo } from "libs/shared/util/authentication/src/index";
|
|
1351
976
|
import { Language, LanguageBase } from "libs/reach/util/common/src/content/Language";
|
|
977
|
+
import { Keyword, KeywordGroup } from "libs/reach/util/common/src/content/KeywordGroup";
|
|
978
|
+
import { Channel } from "libs/reach/util/common/src/user/Channel";
|
|
1352
979
|
export interface DirectoryConfiguration extends DirectoryConfigurationPatch {
|
|
1353
980
|
domains?: string[];
|
|
1354
981
|
tenantId: string;
|
|
@@ -1409,6 +1036,11 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1409
1036
|
termsAndConditionsHash?: string;
|
|
1410
1037
|
logoInfo: LogoInfo;
|
|
1411
1038
|
}
|
|
1039
|
+
export interface EssentialSubscriptionData {
|
|
1040
|
+
channels: Channel[];
|
|
1041
|
+
keywords: Keyword[];
|
|
1042
|
+
keywordGroups: KeywordGroup[];
|
|
1043
|
+
}
|
|
1412
1044
|
export enum LogoSize {
|
|
1413
1045
|
large = "large",
|
|
1414
1046
|
small = "small"
|
|
@@ -1831,15 +1463,6 @@ declare module "libs/reach/util/common/src/user/features/WithFeatures" {
|
|
|
1831
1463
|
export function useFeatures(): FeatureSet;
|
|
1832
1464
|
export function getEnabledFeatures(summary: SubscriptionSummary): FeatureSet;
|
|
1833
1465
|
}
|
|
1834
|
-
declare module "libs/reach/util/common/src/user/Channel" {
|
|
1835
|
-
export interface Channel {
|
|
1836
|
-
id: string;
|
|
1837
|
-
name: string;
|
|
1838
|
-
translations?: {
|
|
1839
|
-
[key: string]: string;
|
|
1840
|
-
};
|
|
1841
|
-
}
|
|
1842
|
-
}
|
|
1843
1466
|
declare module "libs/reach/util/common/src/user/Member" {
|
|
1844
1467
|
import { Account } from "libs/reach/util/common/src/user/Account";
|
|
1845
1468
|
import { GroupRoleNames } from "libs/reach/util/common/src/user/User";
|
|
@@ -1917,24 +1540,6 @@ declare module "libs/reach/util/common/src/user/RequestUserInformation" {
|
|
|
1917
1540
|
organization: Organization;
|
|
1918
1541
|
}
|
|
1919
1542
|
}
|
|
1920
|
-
declare module "libs/reach/util/common/src/content/KeywordGroup" {
|
|
1921
|
-
export interface KeywordGroup {
|
|
1922
|
-
id: string;
|
|
1923
|
-
name: string;
|
|
1924
|
-
keywords: Keyword[];
|
|
1925
|
-
translations: {
|
|
1926
|
-
[key: string]: string;
|
|
1927
|
-
};
|
|
1928
|
-
}
|
|
1929
|
-
export interface Keyword {
|
|
1930
|
-
id: string;
|
|
1931
|
-
name: string;
|
|
1932
|
-
groupId?: string;
|
|
1933
|
-
translations: {
|
|
1934
|
-
[key: string]: string;
|
|
1935
|
-
};
|
|
1936
|
-
}
|
|
1937
|
-
}
|
|
1938
1543
|
declare module "libs/reach/util/common/src/content/ItemStatistics" {
|
|
1939
1544
|
export interface ItemStatistics {
|
|
1940
1545
|
commentCount?: number;
|
|
@@ -2318,7 +1923,8 @@ declare module "libs/reach/util/common/src/content/Attachment" {
|
|
|
2318
1923
|
Event = 5,
|
|
2319
1924
|
Page = 6,
|
|
2320
1925
|
Post = 7,
|
|
2321
|
-
Giphy = 8
|
|
1926
|
+
Giphy = 8,
|
|
1927
|
+
MicrosoftStreamVideo = 9
|
|
2322
1928
|
}
|
|
2323
1929
|
export interface BaseAttachment {
|
|
2324
1930
|
id: string;
|
|
@@ -2350,7 +1956,8 @@ declare module "libs/reach/util/common/src/content/GraphQLAttachmentType" {
|
|
|
2350
1956
|
Event = "EVENT",
|
|
2351
1957
|
Page = "PAGE",
|
|
2352
1958
|
Post = "POST",
|
|
2353
|
-
Giphy = "GIPHY"
|
|
1959
|
+
Giphy = "GIPHY",
|
|
1960
|
+
MicrosoftStreamVideo = "MICROSOFT_STREAM_VIDEO"
|
|
2354
1961
|
}
|
|
2355
1962
|
}
|
|
2356
1963
|
declare module "libs/reach/util/common/src/content/ItemWithAttachments" {
|
|
@@ -3611,14 +3218,7 @@ declare module "libs/reach/util/common/src/notification/index" {
|
|
|
3611
3218
|
export * from "libs/reach/util/common/src/notification/NotificationContext";
|
|
3612
3219
|
export * from "libs/reach/util/common/src/notification/ToastNotificationHost";
|
|
3613
3220
|
}
|
|
3614
|
-
declare module "libs/reach/util/common/src/keywords/useCachedKeywordsApi" {
|
|
3615
|
-
export function useCachedKeywordsApi(): {
|
|
3616
|
-
getAllKeywords: (subscriptionId: string, force?: boolean) => Promise<import("@livetiles/reach/util/common").Keyword[]>;
|
|
3617
|
-
getSelectedGroups: (subscriptionId: string) => Promise<import("@livetiles/reach/util/common").KeywordGroup[]>;
|
|
3618
|
-
};
|
|
3619
|
-
}
|
|
3620
3221
|
declare module "libs/reach/util/common/src/keywords/index" {
|
|
3621
|
-
export * from "libs/reach/util/common/src/keywords/useCachedKeywordsApi";
|
|
3622
3222
|
export * from "libs/reach/util/common/src/keywords/useKeywordsApi";
|
|
3623
3223
|
}
|
|
3624
3224
|
declare module "libs/reach/util/common/src/channels/useChannelsApi" {
|
|
@@ -3628,13 +3228,7 @@ declare module "libs/reach/util/common/src/channels/useChannelsApi" {
|
|
|
3628
3228
|
getChannelsByItemId: (id: string, route?: string) => Promise<Channel[]>;
|
|
3629
3229
|
};
|
|
3630
3230
|
}
|
|
3631
|
-
declare module "libs/reach/util/common/src/channels/useCachedChannelsApi" {
|
|
3632
|
-
export function useCachedChannelsApi(): {
|
|
3633
|
-
getChannels: (subscriptionId: string) => Promise<import("@livetiles/reach/util/common").Channel[]>;
|
|
3634
|
-
};
|
|
3635
|
-
}
|
|
3636
3231
|
declare module "libs/reach/util/common/src/channels/index" {
|
|
3637
|
-
export * from "libs/reach/util/common/src/channels/useCachedChannelsApi";
|
|
3638
3232
|
export * from "libs/reach/util/common/src/channels/useChannelsApi";
|
|
3639
3233
|
}
|
|
3640
3234
|
declare module "libs/reach/util/common/src/subscription/EnforcedSubscriptionContextProvider" {
|
|
@@ -3643,11 +3237,25 @@ declare module "libs/reach/util/common/src/subscription/EnforcedSubscriptionCont
|
|
|
3643
3237
|
loadingIndicator?: ReactNode;
|
|
3644
3238
|
}>;
|
|
3645
3239
|
}
|
|
3240
|
+
declare module "libs/reach/util/common/src/subscription/useSubscriptionApi" {
|
|
3241
|
+
import { EssentialSubscriptionData, SubscriptionInfo, TermsAndConditions } from "libs/reach/util/common/src/user/Subscription";
|
|
3242
|
+
export function useSubscriptionApi(): {
|
|
3243
|
+
getSubscriptionBySubscriptionIdentifier: (subscriptionIdentifier: string) => Promise<SubscriptionInfo>;
|
|
3244
|
+
getTermsAndConditions: () => Promise<TermsAndConditions>;
|
|
3245
|
+
getEssentialSubscriptionData: () => Promise<EssentialSubscriptionData>;
|
|
3246
|
+
};
|
|
3247
|
+
}
|
|
3248
|
+
declare module "libs/reach/util/common/src/subscription/useCachedEssentialSubscriptionData" {
|
|
3249
|
+
export function useCachedEssentialSubscriptionData(): {
|
|
3250
|
+
getCachedEssentialSubscriptionData: (subscriptionId: string) => Promise<import("@livetiles/reach/util/common").EssentialSubscriptionData>;
|
|
3251
|
+
};
|
|
3252
|
+
}
|
|
3646
3253
|
declare module "libs/reach/util/common/src/subscription/SubscriptionContext" {
|
|
3647
3254
|
import { FC } from 'react';
|
|
3648
3255
|
import { Keyword, KeywordGroup } from "libs/reach/util/common/src/content/KeywordGroup";
|
|
3649
3256
|
import { Channel } from "libs/reach/util/common/src/user/Channel";
|
|
3650
3257
|
import { KeywordsByGroupId } from "libs/reach/util/common/src/keywords/useKeywordsApi";
|
|
3258
|
+
import { EssentialSubscriptionData } from "libs/reach/util/common/src/user/Subscription";
|
|
3651
3259
|
interface SubscriptionData {
|
|
3652
3260
|
channels?: Channel[];
|
|
3653
3261
|
allKeywords?: Keyword[];
|
|
@@ -3665,18 +3273,9 @@ declare module "libs/reach/util/common/src/subscription/SubscriptionContext" {
|
|
|
3665
3273
|
export const LazySubscriptionContextProvider: FC;
|
|
3666
3274
|
export const LazyCachedSubscriptionContextProvider: FC;
|
|
3667
3275
|
export const LazySubscriptionContextProviderBase: FC<{
|
|
3668
|
-
|
|
3669
|
-
getAllKeywords: (subscriptionId: string, force?: boolean) => Promise<Keyword[]>;
|
|
3670
|
-
getSelectedGroups: (subscriptionId: string) => Promise<KeywordGroup[]>;
|
|
3276
|
+
getEssentialSubscriptionData: (subscriptionId: string) => Promise<EssentialSubscriptionData>;
|
|
3671
3277
|
}>;
|
|
3672
3278
|
}
|
|
3673
|
-
declare module "libs/reach/util/common/src/subscription/useSubscriptionApi" {
|
|
3674
|
-
import { SubscriptionInfo, TermsAndConditions } from "libs/reach/util/common/src/user/Subscription";
|
|
3675
|
-
export function useSubscriptionApi(): {
|
|
3676
|
-
getSubscriptionBySubscriptionIdentifier: (subscriptionIdentifier: string) => Promise<SubscriptionInfo>;
|
|
3677
|
-
getTermsAndConditions: () => Promise<TermsAndConditions>;
|
|
3678
|
-
};
|
|
3679
|
-
}
|
|
3680
3279
|
declare module "libs/reach/util/common/src/subscription/useLazySubscriptionContext" {
|
|
3681
3280
|
export function useLazySubscriptionContext(): import("libs/reach/util/common/src/subscription/SubscriptionContext").LazySubscriptionContextType;
|
|
3682
3281
|
}
|
|
@@ -4080,16 +3679,14 @@ declare module "libs/reach/ui/common/src/common/RelativeDateTime" {
|
|
|
4080
3679
|
}
|
|
4081
3680
|
declare module "libs/reach/ui/common/src/common/DateTime" {
|
|
4082
3681
|
import { FC } from 'react';
|
|
4083
|
-
import moment from 'moment';
|
|
4084
3682
|
interface Props {
|
|
4085
|
-
value:
|
|
3683
|
+
value: string | Date;
|
|
4086
3684
|
showWeekDay?: boolean;
|
|
4087
3685
|
showAsRelative?: boolean;
|
|
4088
3686
|
showAsAbsolute?: boolean;
|
|
4089
3687
|
dateOnly?: boolean;
|
|
4090
3688
|
className?: string;
|
|
4091
3689
|
}
|
|
4092
|
-
export const isSameDay: (value: moment.MomentInput) => boolean;
|
|
4093
3690
|
export const DateTime: FC<Props>;
|
|
4094
3691
|
export const DateTimeRange: FC<{
|
|
4095
3692
|
startDate?: string;
|
|
@@ -4326,10 +3923,9 @@ declare module "libs/reach/ui/common/src/common/KeywordTitle" {
|
|
|
4326
3923
|
groupName?: string;
|
|
4327
3924
|
groupId?: string;
|
|
4328
3925
|
keywordName?: string;
|
|
4329
|
-
keywordId?: string;
|
|
4330
3926
|
language?: string;
|
|
4331
3927
|
underlined?: boolean;
|
|
4332
|
-
onClick?: (
|
|
3928
|
+
onClick?: () => unknown;
|
|
4333
3929
|
tabIndex?: number;
|
|
4334
3930
|
}
|
|
4335
3931
|
export const KeywordTitle: FC<Props>;
|
|
@@ -4715,7 +4311,7 @@ declare module "libs/reach/ui/common/src/common/channels/ClickableChannelTitles"
|
|
|
4715
4311
|
buildChannelFilterUrl?: (channelName: string) => string;
|
|
4716
4312
|
language?: string;
|
|
4717
4313
|
channelBackgroundColor?: string;
|
|
4718
|
-
onClick?: (
|
|
4314
|
+
onClick?: (channelName: string, channelItem?: Channel) => unknown;
|
|
4719
4315
|
className?: string;
|
|
4720
4316
|
}>;
|
|
4721
4317
|
}
|
|
@@ -7257,8 +6853,8 @@ declare module "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition"
|
|
|
7257
6853
|
}
|
|
7258
6854
|
declare module "libs/reach/feature/content/src/filter/useFilter" {
|
|
7259
6855
|
import { FC } from 'react';
|
|
7260
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7261
6856
|
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
6857
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7262
6858
|
export interface InjectedFilterProps {
|
|
7263
6859
|
filter: IndexableFilterDefinition;
|
|
7264
6860
|
hasFilter: boolean;
|
|
@@ -7275,7 +6871,9 @@ declare module "libs/reach/feature/content/src/filter/useFilter" {
|
|
|
7275
6871
|
onSearchChange: (search: string) => void;
|
|
7276
6872
|
onClearFilter: () => void;
|
|
7277
6873
|
};
|
|
7278
|
-
export const FilterContext: import("react").Context<InjectedFilterProps
|
|
6874
|
+
export const FilterContext: import("react").Context<InjectedFilterProps & {
|
|
6875
|
+
hasFilterOnPageLoad: boolean;
|
|
6876
|
+
}>;
|
|
7279
6877
|
export const FilterContextProvider: FC<{
|
|
7280
6878
|
addFilters?: (locationParams: {
|
|
7281
6879
|
[paramName: string]: any;
|
|
@@ -7543,11 +7141,15 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
|
7543
7141
|
import { FeatureSet, VideoSource } from "libs/reach/util/common/src/index";
|
|
7544
7142
|
import { VideoSource as VideoSourceEnvironment } from "libs/shared/util/environment/src/index";
|
|
7545
7143
|
export interface KalturaProperties {
|
|
7546
|
-
sp
|
|
7547
|
-
uiconfId
|
|
7548
|
-
partnerId
|
|
7549
|
-
entryId
|
|
7144
|
+
sp: string;
|
|
7145
|
+
uiconfId: string;
|
|
7146
|
+
partnerId: string;
|
|
7147
|
+
entryId: string;
|
|
7148
|
+
}
|
|
7149
|
+
export interface MicrosoftStreamProperties {
|
|
7150
|
+
isSharePoint: boolean;
|
|
7550
7151
|
}
|
|
7152
|
+
export type TVideoProperties = KalturaProperties | MicrosoftStreamProperties;
|
|
7551
7153
|
export const showPlayerForGenericVideoSource: (url: string, additionalVideoSources?: VideoSourceEnvironment[]) => boolean;
|
|
7552
7154
|
export class VideoUrlParser {
|
|
7553
7155
|
private url;
|
|
@@ -7555,14 +7157,15 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
|
7555
7157
|
private static ytRegex;
|
|
7556
7158
|
private static vimeoRegex;
|
|
7557
7159
|
private static microsoftStreamRegex;
|
|
7160
|
+
private static microsoftStreamSharepointRegex;
|
|
7558
7161
|
private static vimeoDirectLinkRegex;
|
|
7559
7162
|
private static vimeoRedirectLinkRegex;
|
|
7560
7163
|
private static kalturaRegex;
|
|
7561
7164
|
readonly source: VideoSource | null;
|
|
7562
7165
|
readonly id: string | null;
|
|
7563
7166
|
readonly isDirectVideoUrl: boolean;
|
|
7564
|
-
readonly videoProperties:
|
|
7565
|
-
readonly thumbnailUrl: string;
|
|
7167
|
+
readonly videoProperties: TVideoProperties | null;
|
|
7168
|
+
readonly thumbnailUrl: string | null;
|
|
7566
7169
|
constructor(url: string, additionalVideoSources?: VideoSourceEnvironment[]);
|
|
7567
7170
|
hasValidGenericUrlVideoSourcePrefix(url: string): boolean;
|
|
7568
7171
|
isValid(features: FeatureSet): boolean;
|
|
@@ -7574,7 +7177,7 @@ declare module "libs/reach/feature/content/src/comments/UrlMatcher" {
|
|
|
7574
7177
|
import { AttachmentType } from "libs/reach/util/common/src/index";
|
|
7575
7178
|
export function getAllVideosFromString(content: string): Generator<{
|
|
7576
7179
|
url: string;
|
|
7577
|
-
type: AttachmentType;
|
|
7180
|
+
type: AttachmentType.YouTubeVideo | AttachmentType.VimeoVideo | AttachmentType.MicrosoftStreamVideo;
|
|
7578
7181
|
}, void, unknown>;
|
|
7579
7182
|
export function getEmbeddedObjectsFromString(content: string): Generator<{
|
|
7580
7183
|
url: string;
|
|
@@ -7720,7 +7323,7 @@ declare module "libs/reach/feature/content/src/comments/utils" {
|
|
|
7720
7323
|
}
|
|
7721
7324
|
declare module "libs/reach/feature/content/src/forms/videos/VideoElementGenerator" {
|
|
7722
7325
|
import { VideoInfo } from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
7723
|
-
|
|
7326
|
+
import { TVideoProperties } from "libs/reach/feature/content/src/forms/videos/VideoUrlParser";
|
|
7724
7327
|
export const getMicrosoftStreamVideoUrl: (id: string) => string;
|
|
7725
7328
|
export class VideoElementGenerator {
|
|
7726
7329
|
private videoInfo;
|
|
@@ -7728,16 +7331,17 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoElementGenerato
|
|
|
7728
7331
|
private autoplay?;
|
|
7729
7332
|
private width?;
|
|
7730
7333
|
private videoProperties?;
|
|
7731
|
-
constructor(videoInfo: VideoInfo, iframeAreaLabel: string, autoplay?: boolean, width?: string, videoProperties?:
|
|
7334
|
+
constructor(videoInfo: VideoInfo, iframeAreaLabel: string, autoplay?: boolean, width?: string, videoProperties?: TVideoProperties);
|
|
7732
7335
|
private getYouTubeVideoElement;
|
|
7733
7336
|
private getVimeoVideoElement;
|
|
7734
7337
|
private getExternalVimeoVideoElement;
|
|
7338
|
+
private getMicrosoftStreamSharePointVideoElement;
|
|
7735
7339
|
private getMicrosoftStreamVideoElement;
|
|
7736
7340
|
private getKalturaVideoElement;
|
|
7737
7341
|
private getGenericURLVideoElement;
|
|
7738
7342
|
private getVideoElement;
|
|
7739
7343
|
private getNotSupportedElement;
|
|
7740
|
-
static getVideoElement(videoInfo: VideoInfo, autoplay?: boolean, width?: string, iframeAreaLabel?: string, videoProperties?:
|
|
7344
|
+
static getVideoElement(videoInfo: VideoInfo, autoplay?: boolean, width?: string, iframeAreaLabel?: string, videoProperties?: TVideoProperties): HTMLElement;
|
|
7741
7345
|
static getVideoType(videoInfo: VideoInfo): "" | "YouTube" | "Vimeo" | "Microsoft Stream" | "Kaltura" | "Generic";
|
|
7742
7346
|
}
|
|
7743
7347
|
}
|
|
@@ -7797,7 +7401,7 @@ declare module "libs/reach/feature/content/src/common/keywords/KeywordsInfo" {
|
|
|
7797
7401
|
};
|
|
7798
7402
|
language?: string;
|
|
7799
7403
|
filterBaseUrl?: string;
|
|
7800
|
-
onKeywordClick?: (keywordId: string) => void;
|
|
7404
|
+
onKeywordClick?: (keywordId: string, keyword?: Keyword) => void;
|
|
7801
7405
|
className?: string;
|
|
7802
7406
|
}
|
|
7803
7407
|
export const KeywordsInfo: FC<KeywordsInfoProps>;
|
|
@@ -7809,7 +7413,7 @@ declare module "libs/reach/feature/content/src/common/keywords/KeywordsInfo" {
|
|
|
7809
7413
|
};
|
|
7810
7414
|
language?: string;
|
|
7811
7415
|
filterBaseUrl?: string;
|
|
7812
|
-
onKeywordClick?: (keywordId: string) => void;
|
|
7416
|
+
onKeywordClick?: (keywordId: string, keyword?: Keyword) => void;
|
|
7813
7417
|
className?: string;
|
|
7814
7418
|
}>;
|
|
7815
7419
|
export const FlatKeywords: FC<{
|
|
@@ -7817,7 +7421,7 @@ declare module "libs/reach/feature/content/src/common/keywords/KeywordsInfo" {
|
|
|
7817
7421
|
filterBaseUrl?: string;
|
|
7818
7422
|
className?: string;
|
|
7819
7423
|
useGridKeywordTitle?: boolean;
|
|
7820
|
-
onClick?: (
|
|
7424
|
+
onClick?: (keywordId: string, keywordItem?: Keyword) => unknown;
|
|
7821
7425
|
showAllKeywordsInCallout?: boolean;
|
|
7822
7426
|
}>;
|
|
7823
7427
|
}
|
|
@@ -7878,7 +7482,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/EventPathCon
|
|
|
7878
7482
|
}
|
|
7879
7483
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo" {
|
|
7880
7484
|
import { FC } from 'react';
|
|
7881
|
-
import { EventItem, EventLocation } from "libs/reach/util/common/src/index";
|
|
7485
|
+
import { Channel, EventItem, EventLocation } from "libs/reach/util/common/src/index";
|
|
7882
7486
|
export const EventLocationInfo: FC<{
|
|
7883
7487
|
locations: EventLocation[];
|
|
7884
7488
|
itemId: string;
|
|
@@ -7897,7 +7501,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7897
7501
|
className?: string;
|
|
7898
7502
|
allowFilterByChannels?: boolean;
|
|
7899
7503
|
channelBackgroundColor?: string;
|
|
7900
|
-
onChannelClick?: (
|
|
7504
|
+
onChannelClick?: (channelName: string, channelItem?: Channel) => unknown;
|
|
7901
7505
|
}>;
|
|
7902
7506
|
export const RTLMetaInfoStyles: import("styled-components").FlattenSimpleInterpolation;
|
|
7903
7507
|
}
|
|
@@ -8374,8 +7978,8 @@ declare module "libs/reach/feature/content/src/common/item-tile/Title" {
|
|
|
8374
7978
|
}>;
|
|
8375
7979
|
}
|
|
8376
7980
|
declare module "libs/reach/feature/content/src/common/ContentUtils" {
|
|
8377
|
-
import { EventItem, ImageDetails, NewsItem } from "libs/reach/util/common/src/index";
|
|
8378
7981
|
import { IntlShape } from 'react-intl';
|
|
7982
|
+
import { EventItem, ImageDetails, NewsItem } from "libs/reach/util/common/src/index";
|
|
8379
7983
|
export function getMaxImageWidth(defaultMaxWidth?: number): number;
|
|
8380
7984
|
export function getImageWidth(image: ImageDetails | string): number;
|
|
8381
7985
|
export function getNewsCardIcon(item: NewsItem, intl: IntlShape): {
|
|
@@ -8434,7 +8038,7 @@ declare module "libs/reach/feature/content/src/common/TargetLinkOverrideContext"
|
|
|
8434
8038
|
}
|
|
8435
8039
|
declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
|
|
8436
8040
|
import { FC, ReactNode } from 'react';
|
|
8437
|
-
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
8041
|
+
import { Channel, Keyword, NewsItem } from "libs/reach/util/common/src/index";
|
|
8438
8042
|
export enum ItemTileLayoutMode {
|
|
8439
8043
|
BannerTopMode = "bannerTop",
|
|
8440
8044
|
BannerLeftMode = "bannerLeft"
|
|
@@ -8457,8 +8061,8 @@ declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
|
|
|
8457
8061
|
buttons?: ReactNode;
|
|
8458
8062
|
openTargetInNewWindow?: boolean;
|
|
8459
8063
|
onClick?: (event: React.MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
|
|
8460
|
-
onChannelClick?: (
|
|
8461
|
-
onKeywordClick?: (
|
|
8064
|
+
onChannelClick?: (channelName: string, channelItem?: Channel) => unknown;
|
|
8065
|
+
onKeywordClick?: (keywordId: string, keywordItem?: Keyword) => unknown;
|
|
8462
8066
|
styleDefinition?: StyleDefinition;
|
|
8463
8067
|
readOnly?: boolean;
|
|
8464
8068
|
enableModalRouting?: boolean;
|
|
@@ -8471,12 +8075,14 @@ declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
|
|
|
8471
8075
|
}
|
|
8472
8076
|
declare module "libs/reach/feature/content/src/common/banner/banner-image/BannerImage" {
|
|
8473
8077
|
import { FC } from 'react';
|
|
8078
|
+
export type BannerImageLoading = 'lazy' | 'eager';
|
|
8474
8079
|
interface BannerImageProps {
|
|
8475
8080
|
children?: any;
|
|
8476
8081
|
className?: string;
|
|
8477
8082
|
imageUrl: string;
|
|
8478
8083
|
openImageUrl?: string;
|
|
8479
8084
|
altText?: string;
|
|
8085
|
+
loading?: BannerImageLoading;
|
|
8480
8086
|
}
|
|
8481
8087
|
export const BannerImage: FC<BannerImageProps>;
|
|
8482
8088
|
}
|
|
@@ -8514,6 +8120,7 @@ declare module "libs/reach/feature/content/src/common/banner/useImageEditorApi"
|
|
|
8514
8120
|
declare module "libs/reach/feature/content/src/common/banner/PublishableItemBanner" {
|
|
8515
8121
|
import { FC } from 'react';
|
|
8516
8122
|
import { BannerInfo, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8123
|
+
import { BannerImageLoading } from "libs/reach/feature/content/src/common/banner/banner-image/BannerImage";
|
|
8517
8124
|
interface Props {
|
|
8518
8125
|
itemId: string;
|
|
8519
8126
|
bannerInfo: BannerInfo;
|
|
@@ -8527,6 +8134,7 @@ declare module "libs/reach/feature/content/src/common/banner/PublishableItemBann
|
|
|
8527
8134
|
hidePlayerIfActive?: boolean;
|
|
8528
8135
|
className?: string;
|
|
8529
8136
|
documentIconName?: string;
|
|
8137
|
+
imageLoading?: BannerImageLoading;
|
|
8530
8138
|
}
|
|
8531
8139
|
export const PublishableItemBanner: FC<Props>;
|
|
8532
8140
|
}
|
|
@@ -8596,7 +8204,7 @@ declare module "libs/reach/feature/content/src/common/breadcrumb/ListItemBreadcr
|
|
|
8596
8204
|
}
|
|
8597
8205
|
declare module "libs/reach/feature/content/src/common/item-tile/PageItemTile" {
|
|
8598
8206
|
import { FC, ReactNode } from 'react';
|
|
8599
|
-
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8207
|
+
import { Keyword, PageItem } from "libs/reach/util/common/src/index";
|
|
8600
8208
|
import { ItemTileLayoutMode } from "libs/reach/feature/content/src/index";
|
|
8601
8209
|
interface StyleDefinition {
|
|
8602
8210
|
backgroundColor?: string;
|
|
@@ -8623,7 +8231,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PageItemTile" {
|
|
|
8623
8231
|
showBreadcrumb?: boolean;
|
|
8624
8232
|
showIntro?: boolean;
|
|
8625
8233
|
onClick?: (event: React.MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
|
|
8626
|
-
onKeywordClick?: (
|
|
8234
|
+
onKeywordClick?: (keywordId: string, keywordItem?: Keyword) => unknown;
|
|
8627
8235
|
openTargetInNewWindow?: boolean;
|
|
8628
8236
|
enableModalRouting?: boolean;
|
|
8629
8237
|
showBanner?: boolean;
|
|
@@ -9269,7 +8877,7 @@ declare module "libs/reach/feature/content/src/news/ItemMetaInfo" {
|
|
|
9269
8877
|
language?: string;
|
|
9270
8878
|
buildChannelFilterUrl?: (channelName: string) => string;
|
|
9271
8879
|
clickableAvatar?: boolean;
|
|
9272
|
-
onChannelClick?: (
|
|
8880
|
+
onChannelClick?: (channelName: string, channelItem?: Channel) => unknown;
|
|
9273
8881
|
}>;
|
|
9274
8882
|
}
|
|
9275
8883
|
declare module "libs/reach/feature/content/src/news/list-view/ExternalNewsLinkButton" {
|
|
@@ -9384,7 +8992,7 @@ declare module "libs/reach/feature/content/src/events/index" {
|
|
|
9384
8992
|
}
|
|
9385
8993
|
declare module "libs/reach/feature/content/src/common/item-tile/EventItemTile" {
|
|
9386
8994
|
import { FC, MouseEvent, ReactNode } from 'react';
|
|
9387
|
-
import { EventItem } from "libs/reach/util/common/src/index";
|
|
8995
|
+
import { Channel, EventItem } from "libs/reach/util/common/src/index";
|
|
9388
8996
|
import { ItemTileLayoutMode } from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
9389
8997
|
interface StyleDefinition {
|
|
9390
8998
|
backgroundColor?: string;
|
|
@@ -9400,7 +9008,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/EventItemTile" {
|
|
|
9400
9008
|
buttons?: ReactNode;
|
|
9401
9009
|
openTargetInNewWindow?: boolean;
|
|
9402
9010
|
onClick?: (event: MouseEvent<unknown>) => unknown;
|
|
9403
|
-
onChannelClick?: (
|
|
9011
|
+
onChannelClick?: (channelName: string, channelItem?: Channel) => unknown;
|
|
9404
9012
|
styleDefinition?: StyleDefinition;
|
|
9405
9013
|
showBanner?: boolean;
|
|
9406
9014
|
showBannerAlwaysOnTheLeft?: boolean;
|
|
@@ -9672,9 +9280,10 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
9672
9280
|
}
|
|
9673
9281
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo" {
|
|
9674
9282
|
import { FC } from 'react';
|
|
9283
|
+
import { Channel } from "libs/reach/util/common/src/index";
|
|
9675
9284
|
export const EventDetailViewMetaInfo: FC<{
|
|
9676
9285
|
allowFilterByChannels?: boolean;
|
|
9677
|
-
onChannelClick?: (
|
|
9286
|
+
onChannelClick?: (channelName: string, channelItem?: Channel) => unknown;
|
|
9678
9287
|
}>;
|
|
9679
9288
|
}
|
|
9680
9289
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo" {
|
|
@@ -10298,9 +9907,10 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
10298
9907
|
}
|
|
10299
9908
|
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords" {
|
|
10300
9909
|
import { FC } from 'react';
|
|
9910
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
10301
9911
|
export const DetailViewKeywords: FC<{
|
|
10302
9912
|
filterBaseUrl: string;
|
|
10303
|
-
onKeywordClick?: (
|
|
9913
|
+
onKeywordClick?: (keywordId: string, keywordItem?: Keyword) => unknown;
|
|
10304
9914
|
}>;
|
|
10305
9915
|
}
|
|
10306
9916
|
declare module "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations" {
|
|
@@ -10546,9 +10156,10 @@ declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
|
|
|
10546
10156
|
export function hasFilter(filter?: StreamFilterDefinition): boolean;
|
|
10547
10157
|
export const getStreamQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
10548
10158
|
export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
10159
|
+
export function getSupportedChannelsFilter(channels: FilterWithLogicalOperator, getSubscriptionChannels?: () => Promise<Channel[]>): Promise<FilterWithLogicalOperator>;
|
|
10549
10160
|
export function getFilterConditionsString(filterConditions?: string[]): string;
|
|
10550
10161
|
export const GROUPS_CONDITION: (groupIds: string[]) => string;
|
|
10551
|
-
export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator
|
|
10162
|
+
export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator) => string;
|
|
10552
10163
|
export const KEYWORDS_CONDITION: (keywords: FilterWithLogicalOperator) => string;
|
|
10553
10164
|
export const OWNER_CONDITION: (owner: string) => string;
|
|
10554
10165
|
export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
|
|
@@ -10619,7 +10230,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10619
10230
|
export interface NewsStreamItem extends NewsItem {
|
|
10620
10231
|
type: StreamItemTypes.News;
|
|
10621
10232
|
contentsList: StreamPublishableItemContents[];
|
|
10622
|
-
channelsList:
|
|
10233
|
+
channelsList: Channel[];
|
|
10623
10234
|
isUnread: boolean;
|
|
10624
10235
|
keywordsList?: Keyword[];
|
|
10625
10236
|
knownNewsState?: StreamKnownNewsState[];
|
|
@@ -10631,7 +10242,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10631
10242
|
export interface EventStreamItem extends EventItem {
|
|
10632
10243
|
type: StreamItemTypes.Event;
|
|
10633
10244
|
contentsList: StreamPublishableItemContents[];
|
|
10634
|
-
channelsList:
|
|
10245
|
+
channelsList: Channel[];
|
|
10635
10246
|
isUnread: boolean;
|
|
10636
10247
|
keywordsList?: Keyword[];
|
|
10637
10248
|
userResponseType?: StreamEventResponse;
|
|
@@ -10640,7 +10251,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10640
10251
|
export interface PageStreamItem extends PageItem {
|
|
10641
10252
|
type: StreamItemTypes.Page;
|
|
10642
10253
|
contentsList: StreamPublishableItemContents[];
|
|
10643
|
-
channelsList:
|
|
10254
|
+
channelsList: Channel[];
|
|
10644
10255
|
isUnread: boolean;
|
|
10645
10256
|
keywordsList?: Keyword[];
|
|
10646
10257
|
streamPageType?: string;
|
|
@@ -10793,7 +10404,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10793
10404
|
};
|
|
10794
10405
|
type: StreamItemTypes.News;
|
|
10795
10406
|
contentsList: StreamPublishableItemContents[];
|
|
10796
|
-
channelsList:
|
|
10407
|
+
channelsList: Channel[];
|
|
10797
10408
|
isUnread: boolean;
|
|
10798
10409
|
keywordsList?: Keyword[];
|
|
10799
10410
|
knownNewsState?: StreamKnownNewsState[];
|
|
@@ -10889,7 +10500,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10889
10500
|
};
|
|
10890
10501
|
type: StreamItemTypes.Event;
|
|
10891
10502
|
contentsList: StreamPublishableItemContents[];
|
|
10892
|
-
channelsList:
|
|
10503
|
+
channelsList: Channel[];
|
|
10893
10504
|
isUnread: boolean;
|
|
10894
10505
|
keywordsList?: Keyword[];
|
|
10895
10506
|
userResponseType?: StreamEventResponse;
|
|
@@ -10995,7 +10606,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10995
10606
|
};
|
|
10996
10607
|
type: StreamItemTypes.Page;
|
|
10997
10608
|
contentsList: StreamPublishableItemContents[];
|
|
10998
|
-
channelsList:
|
|
10609
|
+
channelsList: Channel[];
|
|
10999
10610
|
isUnread: boolean;
|
|
11000
10611
|
keywordsList?: Keyword[];
|
|
11001
10612
|
streamPageType?: string;
|
|
@@ -11046,7 +10657,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11046
10657
|
isDemoContent?: boolean;
|
|
11047
10658
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
11048
10659
|
})[];
|
|
11049
|
-
export function convertProperties(items: StreamItem[]
|
|
10660
|
+
export function convertProperties(items: StreamItem[]): ({
|
|
11050
10661
|
keywords: {
|
|
11051
10662
|
[key: string]: Keyword[];
|
|
11052
10663
|
};
|
|
@@ -11080,7 +10691,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11080
10691
|
};
|
|
11081
10692
|
type: StreamItemTypes.News;
|
|
11082
10693
|
contentsList: StreamPublishableItemContents[];
|
|
11083
|
-
channelsList:
|
|
10694
|
+
channelsList: Channel[];
|
|
11084
10695
|
isUnread: boolean;
|
|
11085
10696
|
keywordsList?: Keyword[];
|
|
11086
10697
|
knownNewsState?: StreamKnownNewsState[];
|
|
@@ -11125,7 +10736,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11125
10736
|
};
|
|
11126
10737
|
type: StreamItemTypes.Event;
|
|
11127
10738
|
contentsList: StreamPublishableItemContents[];
|
|
11128
|
-
channelsList:
|
|
10739
|
+
channelsList: Channel[];
|
|
11129
10740
|
isUnread: boolean;
|
|
11130
10741
|
keywordsList?: Keyword[];
|
|
11131
10742
|
userResponseType?: StreamEventResponse;
|
|
@@ -11180,7 +10791,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11180
10791
|
};
|
|
11181
10792
|
type: StreamItemTypes.Page;
|
|
11182
10793
|
contentsList: StreamPublishableItemContents[];
|
|
11183
|
-
channelsList:
|
|
10794
|
+
channelsList: Channel[];
|
|
11184
10795
|
isUnread: boolean;
|
|
11185
10796
|
keywordsList?: Keyword[];
|
|
11186
10797
|
streamPageType?: string;
|
|
@@ -11305,7 +10916,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11305
10916
|
};
|
|
11306
10917
|
type: StreamItemTypes.News;
|
|
11307
10918
|
contentsList: StreamPublishableItemContents[];
|
|
11308
|
-
channelsList:
|
|
10919
|
+
channelsList: Channel[];
|
|
11309
10920
|
isUnread: boolean;
|
|
11310
10921
|
keywordsList?: Keyword[];
|
|
11311
10922
|
knownNewsState?: StreamKnownNewsState[];
|
|
@@ -11370,7 +10981,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11370
10981
|
};
|
|
11371
10982
|
type: StreamItemTypes.Page;
|
|
11372
10983
|
contentsList: StreamPublishableItemContents[];
|
|
11373
|
-
channelsList:
|
|
10984
|
+
channelsList: Channel[];
|
|
11374
10985
|
isUnread: boolean;
|
|
11375
10986
|
keywordsList?: Keyword[];
|
|
11376
10987
|
streamPageType?: string;
|
|
@@ -11911,7 +11522,6 @@ declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
|
|
|
11911
11522
|
export default DateTimePicker;
|
|
11912
11523
|
}
|
|
11913
11524
|
declare module "libs/reach/feature/content/src/forms/DateRange" {
|
|
11914
|
-
import moment, { Moment } from 'moment';
|
|
11915
11525
|
export enum DateRange {
|
|
11916
11526
|
TwoYears = 0,
|
|
11917
11527
|
OneYear = 1,
|
|
@@ -11919,12 +11529,11 @@ declare module "libs/reach/feature/content/src/forms/DateRange" {
|
|
|
11919
11529
|
TwoMonths = 3,
|
|
11920
11530
|
OneMonth = 4,
|
|
11921
11531
|
SevenDays = 5,
|
|
11922
|
-
|
|
11532
|
+
Yesterday = 6,
|
|
11923
11533
|
Today = 7
|
|
11924
11534
|
}
|
|
11925
|
-
export function
|
|
11926
|
-
export function
|
|
11927
|
-
export function dateRangeToDate(range: DateRange): Moment;
|
|
11535
|
+
export function dateToDateRange(date: string): DateRange;
|
|
11536
|
+
export function dateRangeToDate(range: DateRange): Date;
|
|
11928
11537
|
}
|
|
11929
11538
|
declare module "libs/reach/feature/content/src/forms/DateRangeSlider" {
|
|
11930
11539
|
import { FC } from 'react';
|