@livetiles/reach-plugin-types 0.4.99 → 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 +191 -590
- 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;
|
|
@@ -3613,14 +3218,7 @@ declare module "libs/reach/util/common/src/notification/index" {
|
|
|
3613
3218
|
export * from "libs/reach/util/common/src/notification/NotificationContext";
|
|
3614
3219
|
export * from "libs/reach/util/common/src/notification/ToastNotificationHost";
|
|
3615
3220
|
}
|
|
3616
|
-
declare module "libs/reach/util/common/src/keywords/useCachedKeywordsApi" {
|
|
3617
|
-
export function useCachedKeywordsApi(): {
|
|
3618
|
-
getAllKeywords: (subscriptionId: string, force?: boolean) => Promise<import("@livetiles/reach/util/common").Keyword[]>;
|
|
3619
|
-
getSelectedGroups: (subscriptionId: string) => Promise<import("@livetiles/reach/util/common").KeywordGroup[]>;
|
|
3620
|
-
};
|
|
3621
|
-
}
|
|
3622
3221
|
declare module "libs/reach/util/common/src/keywords/index" {
|
|
3623
|
-
export * from "libs/reach/util/common/src/keywords/useCachedKeywordsApi";
|
|
3624
3222
|
export * from "libs/reach/util/common/src/keywords/useKeywordsApi";
|
|
3625
3223
|
}
|
|
3626
3224
|
declare module "libs/reach/util/common/src/channels/useChannelsApi" {
|
|
@@ -3630,13 +3228,7 @@ declare module "libs/reach/util/common/src/channels/useChannelsApi" {
|
|
|
3630
3228
|
getChannelsByItemId: (id: string, route?: string) => Promise<Channel[]>;
|
|
3631
3229
|
};
|
|
3632
3230
|
}
|
|
3633
|
-
declare module "libs/reach/util/common/src/channels/useCachedChannelsApi" {
|
|
3634
|
-
export function useCachedChannelsApi(): {
|
|
3635
|
-
getChannels: (subscriptionId: string) => Promise<import("@livetiles/reach/util/common").Channel[]>;
|
|
3636
|
-
};
|
|
3637
|
-
}
|
|
3638
3231
|
declare module "libs/reach/util/common/src/channels/index" {
|
|
3639
|
-
export * from "libs/reach/util/common/src/channels/useCachedChannelsApi";
|
|
3640
3232
|
export * from "libs/reach/util/common/src/channels/useChannelsApi";
|
|
3641
3233
|
}
|
|
3642
3234
|
declare module "libs/reach/util/common/src/subscription/EnforcedSubscriptionContextProvider" {
|
|
@@ -3645,11 +3237,25 @@ declare module "libs/reach/util/common/src/subscription/EnforcedSubscriptionCont
|
|
|
3645
3237
|
loadingIndicator?: ReactNode;
|
|
3646
3238
|
}>;
|
|
3647
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
|
+
}
|
|
3648
3253
|
declare module "libs/reach/util/common/src/subscription/SubscriptionContext" {
|
|
3649
3254
|
import { FC } from 'react';
|
|
3650
3255
|
import { Keyword, KeywordGroup } from "libs/reach/util/common/src/content/KeywordGroup";
|
|
3651
3256
|
import { Channel } from "libs/reach/util/common/src/user/Channel";
|
|
3652
3257
|
import { KeywordsByGroupId } from "libs/reach/util/common/src/keywords/useKeywordsApi";
|
|
3258
|
+
import { EssentialSubscriptionData } from "libs/reach/util/common/src/user/Subscription";
|
|
3653
3259
|
interface SubscriptionData {
|
|
3654
3260
|
channels?: Channel[];
|
|
3655
3261
|
allKeywords?: Keyword[];
|
|
@@ -3667,18 +3273,9 @@ declare module "libs/reach/util/common/src/subscription/SubscriptionContext" {
|
|
|
3667
3273
|
export const LazySubscriptionContextProvider: FC;
|
|
3668
3274
|
export const LazyCachedSubscriptionContextProvider: FC;
|
|
3669
3275
|
export const LazySubscriptionContextProviderBase: FC<{
|
|
3670
|
-
|
|
3671
|
-
getAllKeywords: (subscriptionId: string, force?: boolean) => Promise<Keyword[]>;
|
|
3672
|
-
getSelectedGroups: (subscriptionId: string) => Promise<KeywordGroup[]>;
|
|
3276
|
+
getEssentialSubscriptionData: (subscriptionId: string) => Promise<EssentialSubscriptionData>;
|
|
3673
3277
|
}>;
|
|
3674
3278
|
}
|
|
3675
|
-
declare module "libs/reach/util/common/src/subscription/useSubscriptionApi" {
|
|
3676
|
-
import { SubscriptionInfo, TermsAndConditions } from "libs/reach/util/common/src/user/Subscription";
|
|
3677
|
-
export function useSubscriptionApi(): {
|
|
3678
|
-
getSubscriptionBySubscriptionIdentifier: (subscriptionIdentifier: string) => Promise<SubscriptionInfo>;
|
|
3679
|
-
getTermsAndConditions: () => Promise<TermsAndConditions>;
|
|
3680
|
-
};
|
|
3681
|
-
}
|
|
3682
3279
|
declare module "libs/reach/util/common/src/subscription/useLazySubscriptionContext" {
|
|
3683
3280
|
export function useLazySubscriptionContext(): import("libs/reach/util/common/src/subscription/SubscriptionContext").LazySubscriptionContextType;
|
|
3684
3281
|
}
|
|
@@ -4082,16 +3679,14 @@ declare module "libs/reach/ui/common/src/common/RelativeDateTime" {
|
|
|
4082
3679
|
}
|
|
4083
3680
|
declare module "libs/reach/ui/common/src/common/DateTime" {
|
|
4084
3681
|
import { FC } from 'react';
|
|
4085
|
-
import moment from 'moment';
|
|
4086
3682
|
interface Props {
|
|
4087
|
-
value:
|
|
3683
|
+
value: string | Date;
|
|
4088
3684
|
showWeekDay?: boolean;
|
|
4089
3685
|
showAsRelative?: boolean;
|
|
4090
3686
|
showAsAbsolute?: boolean;
|
|
4091
3687
|
dateOnly?: boolean;
|
|
4092
3688
|
className?: string;
|
|
4093
3689
|
}
|
|
4094
|
-
export const isSameDay: (value: moment.MomentInput) => boolean;
|
|
4095
3690
|
export const DateTime: FC<Props>;
|
|
4096
3691
|
export const DateTimeRange: FC<{
|
|
4097
3692
|
startDate?: string;
|
|
@@ -4328,10 +3923,9 @@ declare module "libs/reach/ui/common/src/common/KeywordTitle" {
|
|
|
4328
3923
|
groupName?: string;
|
|
4329
3924
|
groupId?: string;
|
|
4330
3925
|
keywordName?: string;
|
|
4331
|
-
keywordId?: string;
|
|
4332
3926
|
language?: string;
|
|
4333
3927
|
underlined?: boolean;
|
|
4334
|
-
onClick?: (
|
|
3928
|
+
onClick?: () => unknown;
|
|
4335
3929
|
tabIndex?: number;
|
|
4336
3930
|
}
|
|
4337
3931
|
export const KeywordTitle: FC<Props>;
|
|
@@ -4717,7 +4311,7 @@ declare module "libs/reach/ui/common/src/common/channels/ClickableChannelTitles"
|
|
|
4717
4311
|
buildChannelFilterUrl?: (channelName: string) => string;
|
|
4718
4312
|
language?: string;
|
|
4719
4313
|
channelBackgroundColor?: string;
|
|
4720
|
-
onClick?: (
|
|
4314
|
+
onClick?: (channelName: string, channelItem?: Channel) => unknown;
|
|
4721
4315
|
className?: string;
|
|
4722
4316
|
}>;
|
|
4723
4317
|
}
|
|
@@ -7259,8 +6853,8 @@ declare module "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition"
|
|
|
7259
6853
|
}
|
|
7260
6854
|
declare module "libs/reach/feature/content/src/filter/useFilter" {
|
|
7261
6855
|
import { FC } from 'react';
|
|
7262
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7263
6856
|
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
6857
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7264
6858
|
export interface InjectedFilterProps {
|
|
7265
6859
|
filter: IndexableFilterDefinition;
|
|
7266
6860
|
hasFilter: boolean;
|
|
@@ -7277,7 +6871,9 @@ declare module "libs/reach/feature/content/src/filter/useFilter" {
|
|
|
7277
6871
|
onSearchChange: (search: string) => void;
|
|
7278
6872
|
onClearFilter: () => void;
|
|
7279
6873
|
};
|
|
7280
|
-
export const FilterContext: import("react").Context<InjectedFilterProps
|
|
6874
|
+
export const FilterContext: import("react").Context<InjectedFilterProps & {
|
|
6875
|
+
hasFilterOnPageLoad: boolean;
|
|
6876
|
+
}>;
|
|
7281
6877
|
export const FilterContextProvider: FC<{
|
|
7282
6878
|
addFilters?: (locationParams: {
|
|
7283
6879
|
[paramName: string]: any;
|
|
@@ -7805,7 +7401,7 @@ declare module "libs/reach/feature/content/src/common/keywords/KeywordsInfo" {
|
|
|
7805
7401
|
};
|
|
7806
7402
|
language?: string;
|
|
7807
7403
|
filterBaseUrl?: string;
|
|
7808
|
-
onKeywordClick?: (keywordId: string) => void;
|
|
7404
|
+
onKeywordClick?: (keywordId: string, keyword?: Keyword) => void;
|
|
7809
7405
|
className?: string;
|
|
7810
7406
|
}
|
|
7811
7407
|
export const KeywordsInfo: FC<KeywordsInfoProps>;
|
|
@@ -7817,7 +7413,7 @@ declare module "libs/reach/feature/content/src/common/keywords/KeywordsInfo" {
|
|
|
7817
7413
|
};
|
|
7818
7414
|
language?: string;
|
|
7819
7415
|
filterBaseUrl?: string;
|
|
7820
|
-
onKeywordClick?: (keywordId: string) => void;
|
|
7416
|
+
onKeywordClick?: (keywordId: string, keyword?: Keyword) => void;
|
|
7821
7417
|
className?: string;
|
|
7822
7418
|
}>;
|
|
7823
7419
|
export const FlatKeywords: FC<{
|
|
@@ -7825,7 +7421,7 @@ declare module "libs/reach/feature/content/src/common/keywords/KeywordsInfo" {
|
|
|
7825
7421
|
filterBaseUrl?: string;
|
|
7826
7422
|
className?: string;
|
|
7827
7423
|
useGridKeywordTitle?: boolean;
|
|
7828
|
-
onClick?: (
|
|
7424
|
+
onClick?: (keywordId: string, keywordItem?: Keyword) => unknown;
|
|
7829
7425
|
showAllKeywordsInCallout?: boolean;
|
|
7830
7426
|
}>;
|
|
7831
7427
|
}
|
|
@@ -7886,7 +7482,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/EventPathCon
|
|
|
7886
7482
|
}
|
|
7887
7483
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo" {
|
|
7888
7484
|
import { FC } from 'react';
|
|
7889
|
-
import { EventItem, EventLocation } from "libs/reach/util/common/src/index";
|
|
7485
|
+
import { Channel, EventItem, EventLocation } from "libs/reach/util/common/src/index";
|
|
7890
7486
|
export const EventLocationInfo: FC<{
|
|
7891
7487
|
locations: EventLocation[];
|
|
7892
7488
|
itemId: string;
|
|
@@ -7905,7 +7501,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7905
7501
|
className?: string;
|
|
7906
7502
|
allowFilterByChannels?: boolean;
|
|
7907
7503
|
channelBackgroundColor?: string;
|
|
7908
|
-
onChannelClick?: (
|
|
7504
|
+
onChannelClick?: (channelName: string, channelItem?: Channel) => unknown;
|
|
7909
7505
|
}>;
|
|
7910
7506
|
export const RTLMetaInfoStyles: import("styled-components").FlattenSimpleInterpolation;
|
|
7911
7507
|
}
|
|
@@ -8382,8 +7978,8 @@ declare module "libs/reach/feature/content/src/common/item-tile/Title" {
|
|
|
8382
7978
|
}>;
|
|
8383
7979
|
}
|
|
8384
7980
|
declare module "libs/reach/feature/content/src/common/ContentUtils" {
|
|
8385
|
-
import { EventItem, ImageDetails, NewsItem } from "libs/reach/util/common/src/index";
|
|
8386
7981
|
import { IntlShape } from 'react-intl';
|
|
7982
|
+
import { EventItem, ImageDetails, NewsItem } from "libs/reach/util/common/src/index";
|
|
8387
7983
|
export function getMaxImageWidth(defaultMaxWidth?: number): number;
|
|
8388
7984
|
export function getImageWidth(image: ImageDetails | string): number;
|
|
8389
7985
|
export function getNewsCardIcon(item: NewsItem, intl: IntlShape): {
|
|
@@ -8442,7 +8038,7 @@ declare module "libs/reach/feature/content/src/common/TargetLinkOverrideContext"
|
|
|
8442
8038
|
}
|
|
8443
8039
|
declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
|
|
8444
8040
|
import { FC, ReactNode } from 'react';
|
|
8445
|
-
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
8041
|
+
import { Channel, Keyword, NewsItem } from "libs/reach/util/common/src/index";
|
|
8446
8042
|
export enum ItemTileLayoutMode {
|
|
8447
8043
|
BannerTopMode = "bannerTop",
|
|
8448
8044
|
BannerLeftMode = "bannerLeft"
|
|
@@ -8465,8 +8061,8 @@ declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
|
|
|
8465
8061
|
buttons?: ReactNode;
|
|
8466
8062
|
openTargetInNewWindow?: boolean;
|
|
8467
8063
|
onClick?: (event: React.MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
|
|
8468
|
-
onChannelClick?: (
|
|
8469
|
-
onKeywordClick?: (
|
|
8064
|
+
onChannelClick?: (channelName: string, channelItem?: Channel) => unknown;
|
|
8065
|
+
onKeywordClick?: (keywordId: string, keywordItem?: Keyword) => unknown;
|
|
8470
8066
|
styleDefinition?: StyleDefinition;
|
|
8471
8067
|
readOnly?: boolean;
|
|
8472
8068
|
enableModalRouting?: boolean;
|
|
@@ -8479,12 +8075,14 @@ declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
|
|
|
8479
8075
|
}
|
|
8480
8076
|
declare module "libs/reach/feature/content/src/common/banner/banner-image/BannerImage" {
|
|
8481
8077
|
import { FC } from 'react';
|
|
8078
|
+
export type BannerImageLoading = 'lazy' | 'eager';
|
|
8482
8079
|
interface BannerImageProps {
|
|
8483
8080
|
children?: any;
|
|
8484
8081
|
className?: string;
|
|
8485
8082
|
imageUrl: string;
|
|
8486
8083
|
openImageUrl?: string;
|
|
8487
8084
|
altText?: string;
|
|
8085
|
+
loading?: BannerImageLoading;
|
|
8488
8086
|
}
|
|
8489
8087
|
export const BannerImage: FC<BannerImageProps>;
|
|
8490
8088
|
}
|
|
@@ -8522,6 +8120,7 @@ declare module "libs/reach/feature/content/src/common/banner/useImageEditorApi"
|
|
|
8522
8120
|
declare module "libs/reach/feature/content/src/common/banner/PublishableItemBanner" {
|
|
8523
8121
|
import { FC } from 'react';
|
|
8524
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";
|
|
8525
8124
|
interface Props {
|
|
8526
8125
|
itemId: string;
|
|
8527
8126
|
bannerInfo: BannerInfo;
|
|
@@ -8535,6 +8134,7 @@ declare module "libs/reach/feature/content/src/common/banner/PublishableItemBann
|
|
|
8535
8134
|
hidePlayerIfActive?: boolean;
|
|
8536
8135
|
className?: string;
|
|
8537
8136
|
documentIconName?: string;
|
|
8137
|
+
imageLoading?: BannerImageLoading;
|
|
8538
8138
|
}
|
|
8539
8139
|
export const PublishableItemBanner: FC<Props>;
|
|
8540
8140
|
}
|
|
@@ -8604,7 +8204,7 @@ declare module "libs/reach/feature/content/src/common/breadcrumb/ListItemBreadcr
|
|
|
8604
8204
|
}
|
|
8605
8205
|
declare module "libs/reach/feature/content/src/common/item-tile/PageItemTile" {
|
|
8606
8206
|
import { FC, ReactNode } from 'react';
|
|
8607
|
-
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8207
|
+
import { Keyword, PageItem } from "libs/reach/util/common/src/index";
|
|
8608
8208
|
import { ItemTileLayoutMode } from "libs/reach/feature/content/src/index";
|
|
8609
8209
|
interface StyleDefinition {
|
|
8610
8210
|
backgroundColor?: string;
|
|
@@ -8631,7 +8231,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PageItemTile" {
|
|
|
8631
8231
|
showBreadcrumb?: boolean;
|
|
8632
8232
|
showIntro?: boolean;
|
|
8633
8233
|
onClick?: (event: React.MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
|
|
8634
|
-
onKeywordClick?: (
|
|
8234
|
+
onKeywordClick?: (keywordId: string, keywordItem?: Keyword) => unknown;
|
|
8635
8235
|
openTargetInNewWindow?: boolean;
|
|
8636
8236
|
enableModalRouting?: boolean;
|
|
8637
8237
|
showBanner?: boolean;
|
|
@@ -9277,7 +8877,7 @@ declare module "libs/reach/feature/content/src/news/ItemMetaInfo" {
|
|
|
9277
8877
|
language?: string;
|
|
9278
8878
|
buildChannelFilterUrl?: (channelName: string) => string;
|
|
9279
8879
|
clickableAvatar?: boolean;
|
|
9280
|
-
onChannelClick?: (
|
|
8880
|
+
onChannelClick?: (channelName: string, channelItem?: Channel) => unknown;
|
|
9281
8881
|
}>;
|
|
9282
8882
|
}
|
|
9283
8883
|
declare module "libs/reach/feature/content/src/news/list-view/ExternalNewsLinkButton" {
|
|
@@ -9392,7 +8992,7 @@ declare module "libs/reach/feature/content/src/events/index" {
|
|
|
9392
8992
|
}
|
|
9393
8993
|
declare module "libs/reach/feature/content/src/common/item-tile/EventItemTile" {
|
|
9394
8994
|
import { FC, MouseEvent, ReactNode } from 'react';
|
|
9395
|
-
import { EventItem } from "libs/reach/util/common/src/index";
|
|
8995
|
+
import { Channel, EventItem } from "libs/reach/util/common/src/index";
|
|
9396
8996
|
import { ItemTileLayoutMode } from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
9397
8997
|
interface StyleDefinition {
|
|
9398
8998
|
backgroundColor?: string;
|
|
@@ -9408,7 +9008,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/EventItemTile" {
|
|
|
9408
9008
|
buttons?: ReactNode;
|
|
9409
9009
|
openTargetInNewWindow?: boolean;
|
|
9410
9010
|
onClick?: (event: MouseEvent<unknown>) => unknown;
|
|
9411
|
-
onChannelClick?: (
|
|
9011
|
+
onChannelClick?: (channelName: string, channelItem?: Channel) => unknown;
|
|
9412
9012
|
styleDefinition?: StyleDefinition;
|
|
9413
9013
|
showBanner?: boolean;
|
|
9414
9014
|
showBannerAlwaysOnTheLeft?: boolean;
|
|
@@ -9680,9 +9280,10 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
9680
9280
|
}
|
|
9681
9281
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo" {
|
|
9682
9282
|
import { FC } from 'react';
|
|
9283
|
+
import { Channel } from "libs/reach/util/common/src/index";
|
|
9683
9284
|
export const EventDetailViewMetaInfo: FC<{
|
|
9684
9285
|
allowFilterByChannels?: boolean;
|
|
9685
|
-
onChannelClick?: (
|
|
9286
|
+
onChannelClick?: (channelName: string, channelItem?: Channel) => unknown;
|
|
9686
9287
|
}>;
|
|
9687
9288
|
}
|
|
9688
9289
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo" {
|
|
@@ -10306,9 +9907,10 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
10306
9907
|
}
|
|
10307
9908
|
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords" {
|
|
10308
9909
|
import { FC } from 'react';
|
|
9910
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
10309
9911
|
export const DetailViewKeywords: FC<{
|
|
10310
9912
|
filterBaseUrl: string;
|
|
10311
|
-
onKeywordClick?: (
|
|
9913
|
+
onKeywordClick?: (keywordId: string, keywordItem?: Keyword) => unknown;
|
|
10312
9914
|
}>;
|
|
10313
9915
|
}
|
|
10314
9916
|
declare module "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations" {
|
|
@@ -10554,9 +10156,10 @@ declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
|
|
|
10554
10156
|
export function hasFilter(filter?: StreamFilterDefinition): boolean;
|
|
10555
10157
|
export const getStreamQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
10556
10158
|
export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
10159
|
+
export function getSupportedChannelsFilter(channels: FilterWithLogicalOperator, getSubscriptionChannels?: () => Promise<Channel[]>): Promise<FilterWithLogicalOperator>;
|
|
10557
10160
|
export function getFilterConditionsString(filterConditions?: string[]): string;
|
|
10558
10161
|
export const GROUPS_CONDITION: (groupIds: string[]) => string;
|
|
10559
|
-
export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator
|
|
10162
|
+
export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator) => string;
|
|
10560
10163
|
export const KEYWORDS_CONDITION: (keywords: FilterWithLogicalOperator) => string;
|
|
10561
10164
|
export const OWNER_CONDITION: (owner: string) => string;
|
|
10562
10165
|
export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
|
|
@@ -10627,7 +10230,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10627
10230
|
export interface NewsStreamItem extends NewsItem {
|
|
10628
10231
|
type: StreamItemTypes.News;
|
|
10629
10232
|
contentsList: StreamPublishableItemContents[];
|
|
10630
|
-
channelsList:
|
|
10233
|
+
channelsList: Channel[];
|
|
10631
10234
|
isUnread: boolean;
|
|
10632
10235
|
keywordsList?: Keyword[];
|
|
10633
10236
|
knownNewsState?: StreamKnownNewsState[];
|
|
@@ -10639,7 +10242,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10639
10242
|
export interface EventStreamItem extends EventItem {
|
|
10640
10243
|
type: StreamItemTypes.Event;
|
|
10641
10244
|
contentsList: StreamPublishableItemContents[];
|
|
10642
|
-
channelsList:
|
|
10245
|
+
channelsList: Channel[];
|
|
10643
10246
|
isUnread: boolean;
|
|
10644
10247
|
keywordsList?: Keyword[];
|
|
10645
10248
|
userResponseType?: StreamEventResponse;
|
|
@@ -10648,7 +10251,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10648
10251
|
export interface PageStreamItem extends PageItem {
|
|
10649
10252
|
type: StreamItemTypes.Page;
|
|
10650
10253
|
contentsList: StreamPublishableItemContents[];
|
|
10651
|
-
channelsList:
|
|
10254
|
+
channelsList: Channel[];
|
|
10652
10255
|
isUnread: boolean;
|
|
10653
10256
|
keywordsList?: Keyword[];
|
|
10654
10257
|
streamPageType?: string;
|
|
@@ -10801,7 +10404,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10801
10404
|
};
|
|
10802
10405
|
type: StreamItemTypes.News;
|
|
10803
10406
|
contentsList: StreamPublishableItemContents[];
|
|
10804
|
-
channelsList:
|
|
10407
|
+
channelsList: Channel[];
|
|
10805
10408
|
isUnread: boolean;
|
|
10806
10409
|
keywordsList?: Keyword[];
|
|
10807
10410
|
knownNewsState?: StreamKnownNewsState[];
|
|
@@ -10897,7 +10500,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10897
10500
|
};
|
|
10898
10501
|
type: StreamItemTypes.Event;
|
|
10899
10502
|
contentsList: StreamPublishableItemContents[];
|
|
10900
|
-
channelsList:
|
|
10503
|
+
channelsList: Channel[];
|
|
10901
10504
|
isUnread: boolean;
|
|
10902
10505
|
keywordsList?: Keyword[];
|
|
10903
10506
|
userResponseType?: StreamEventResponse;
|
|
@@ -11003,7 +10606,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11003
10606
|
};
|
|
11004
10607
|
type: StreamItemTypes.Page;
|
|
11005
10608
|
contentsList: StreamPublishableItemContents[];
|
|
11006
|
-
channelsList:
|
|
10609
|
+
channelsList: Channel[];
|
|
11007
10610
|
isUnread: boolean;
|
|
11008
10611
|
keywordsList?: Keyword[];
|
|
11009
10612
|
streamPageType?: string;
|
|
@@ -11054,7 +10657,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11054
10657
|
isDemoContent?: boolean;
|
|
11055
10658
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
11056
10659
|
})[];
|
|
11057
|
-
export function convertProperties(items: StreamItem[]
|
|
10660
|
+
export function convertProperties(items: StreamItem[]): ({
|
|
11058
10661
|
keywords: {
|
|
11059
10662
|
[key: string]: Keyword[];
|
|
11060
10663
|
};
|
|
@@ -11088,7 +10691,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11088
10691
|
};
|
|
11089
10692
|
type: StreamItemTypes.News;
|
|
11090
10693
|
contentsList: StreamPublishableItemContents[];
|
|
11091
|
-
channelsList:
|
|
10694
|
+
channelsList: Channel[];
|
|
11092
10695
|
isUnread: boolean;
|
|
11093
10696
|
keywordsList?: Keyword[];
|
|
11094
10697
|
knownNewsState?: StreamKnownNewsState[];
|
|
@@ -11133,7 +10736,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11133
10736
|
};
|
|
11134
10737
|
type: StreamItemTypes.Event;
|
|
11135
10738
|
contentsList: StreamPublishableItemContents[];
|
|
11136
|
-
channelsList:
|
|
10739
|
+
channelsList: Channel[];
|
|
11137
10740
|
isUnread: boolean;
|
|
11138
10741
|
keywordsList?: Keyword[];
|
|
11139
10742
|
userResponseType?: StreamEventResponse;
|
|
@@ -11188,7 +10791,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11188
10791
|
};
|
|
11189
10792
|
type: StreamItemTypes.Page;
|
|
11190
10793
|
contentsList: StreamPublishableItemContents[];
|
|
11191
|
-
channelsList:
|
|
10794
|
+
channelsList: Channel[];
|
|
11192
10795
|
isUnread: boolean;
|
|
11193
10796
|
keywordsList?: Keyword[];
|
|
11194
10797
|
streamPageType?: string;
|
|
@@ -11313,7 +10916,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11313
10916
|
};
|
|
11314
10917
|
type: StreamItemTypes.News;
|
|
11315
10918
|
contentsList: StreamPublishableItemContents[];
|
|
11316
|
-
channelsList:
|
|
10919
|
+
channelsList: Channel[];
|
|
11317
10920
|
isUnread: boolean;
|
|
11318
10921
|
keywordsList?: Keyword[];
|
|
11319
10922
|
knownNewsState?: StreamKnownNewsState[];
|
|
@@ -11378,7 +10981,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11378
10981
|
};
|
|
11379
10982
|
type: StreamItemTypes.Page;
|
|
11380
10983
|
contentsList: StreamPublishableItemContents[];
|
|
11381
|
-
channelsList:
|
|
10984
|
+
channelsList: Channel[];
|
|
11382
10985
|
isUnread: boolean;
|
|
11383
10986
|
keywordsList?: Keyword[];
|
|
11384
10987
|
streamPageType?: string;
|
|
@@ -11919,7 +11522,6 @@ declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
|
|
|
11919
11522
|
export default DateTimePicker;
|
|
11920
11523
|
}
|
|
11921
11524
|
declare module "libs/reach/feature/content/src/forms/DateRange" {
|
|
11922
|
-
import moment, { Moment } from 'moment';
|
|
11923
11525
|
export enum DateRange {
|
|
11924
11526
|
TwoYears = 0,
|
|
11925
11527
|
OneYear = 1,
|
|
@@ -11927,12 +11529,11 @@ declare module "libs/reach/feature/content/src/forms/DateRange" {
|
|
|
11927
11529
|
TwoMonths = 3,
|
|
11928
11530
|
OneMonth = 4,
|
|
11929
11531
|
SevenDays = 5,
|
|
11930
|
-
|
|
11532
|
+
Yesterday = 6,
|
|
11931
11533
|
Today = 7
|
|
11932
11534
|
}
|
|
11933
|
-
export function
|
|
11934
|
-
export function
|
|
11935
|
-
export function dateRangeToDate(range: DateRange): Moment;
|
|
11535
|
+
export function dateToDateRange(date: string): DateRange;
|
|
11536
|
+
export function dateRangeToDate(range: DateRange): Date;
|
|
11936
11537
|
}
|
|
11937
11538
|
declare module "libs/reach/feature/content/src/forms/DateRangeSlider" {
|
|
11938
11539
|
import { FC } from 'react';
|