@umbraco-cms/backoffice 16.0.0-rc4 → 16.0.0-rc6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cms/assets/lang/en-us.js +1 -1
- package/dist-cms/assets/lang/en-us.ts +1 -1
- package/dist-cms/css/uui-css.css +59 -8
- package/dist-cms/custom-elements.json +13 -2
- package/dist-cms/external/rxjs/index.d.ts +1 -1
- package/dist-cms/external/rxjs/index.js +3 -3
- package/dist-cms/external/uui/index.js +293 -57
- package/dist-cms/libs/extension-api/controller/server-extension-registrator.controller.js +6 -2
- package/dist-cms/packages/content/content/components/property-type-based-property/property-type-based-property.context-token.js +1 -1
- package/dist-cms/packages/core/collection/components/collection-filter-field.element.js +1 -1
- package/dist-cms/packages/core/localization/manifests.js +27 -27
- package/dist-cms/packages/core/localization/registry/localization.registry.d.ts +2 -1
- package/dist-cms/packages/core/localization/registry/localization.registry.js +97 -37
- package/dist-cms/packages/core/menu/menu-variant-tree-structure-workspace-context-base.js +2 -2
- package/dist-cms/packages/core/package.json +2 -2
- package/dist-cms/packages/core/property/components/property/property.element.js +1 -0
- package/dist-cms/packages/core/property-editor/extensions/property-editor-ui-element.interface.d.ts +2 -0
- package/dist-cms/packages/core/router/route/router-slot.element.js +3 -1
- package/dist-cms/packages/core/workspace/components/workspace-breadcrumb/workspace-variant-menu-breadcrumb/workspace-variant-menu-breadcrumb.element.js +5 -2
- package/dist-cms/packages/core/workspace/contexts/tokens/submittable-tree-entity-workspace.context-token.js +1 -1
- package/dist-cms/packages/documents/documents/entity-actions/create-blueprint/modal/create-blueprint-modal.element.js +1 -1
- package/dist-cms/packages/documents/documents/tree/document-tree.context.js +2 -2
- package/dist-cms/packages/log-viewer/components/log-viewer-date-range-selector.element.d.ts +0 -2
- package/dist-cms/packages/log-viewer/components/log-viewer-date-range-selector.element.js +12 -24
- package/dist-cms/packages/log-viewer/repository/sources/log-viewer.server.data.js +9 -1
- package/dist-cms/packages/log-viewer/workspace/views/search/components/log-viewer-message.element.js +1 -1
- package/dist-cms/packages/media/media/modals/media-picker/media-picker-modal.element.js +2 -2
- package/dist-cms/packages/media/media/tree/media-tree.context.js +2 -2
- package/dist-cms/packages/property-editors/dimensions/property-editor-ui-dimensions.element.js +16 -3
- package/dist-cms/packages/templating/partial-views/entity-actions/rename/rename-partial-view.server.data-source.js +1 -1
- package/dist-cms/packages/templating/partial-views/repository/partial-view-detail.server.data-source.js +3 -3
- package/dist-cms/packages/templating/partial-views/tree/folder/repository/partial-view-folder.server.data-source.js +2 -2
- package/dist-cms/packages/templating/scripts/entity-actions/rename/rename-script.server.data-source.js +1 -1
- package/dist-cms/packages/templating/scripts/repository/script-detail.server.data-source.js +3 -3
- package/dist-cms/packages/templating/scripts/tree/folder/repository/script-folder.server.data-source.js +2 -2
- package/dist-cms/packages/templating/stylesheets/entity-actions/rename/rename-stylesheet.server.data-source.js +1 -1
- package/dist-cms/packages/templating/stylesheets/repository/stylesheet-detail.server.data-source.js +3 -3
- package/dist-cms/packages/templating/stylesheets/tree/folder/repository/stylesheet-folder.server.data-source.js +2 -2
- package/dist-cms/packages/tiptap/components/character-map/character-map-modal.element.js +0 -4
- package/dist-cms/packages/tiptap/components/input-tiptap/input-tiptap.element.js +1 -1
- package/dist-cms/packages/tiptap/components/input-tiptap/tiptap-toolbar.element.d.ts +6 -0
- package/dist-cms/packages/tiptap/components/input-tiptap/tiptap-toolbar.element.js +7 -1
- package/dist-cms/packages/tiptap/property-editors/tiptap/components/property-editor-ui-tiptap-extensions-configuration.element.js +1 -1
- package/dist-cms/packages/tiptap/property-editors/tiptap/components/property-editor-ui-tiptap-statusbar-configuration.element.js +0 -4
- package/dist-cms/packages/tiptap/property-editors/tiptap/components/property-editor-ui-tiptap-toolbar-configuration.element.js +1 -4
- package/dist-cms/packages/user/user-group/collection/user-group-collection.element.js +1 -1
- package/dist-cms/tsconfig.build.tsbuildinfo +1 -1
- package/dist-cms/umbraco-package.json +1 -1
- package/dist-cms/vscode-html-custom-data.json +2 -2
- package/package.json +5 -4
|
@@ -2,7 +2,7 @@ export default {
|
|
|
2
2
|
analytics: {
|
|
3
3
|
analyticsDescription: 'In order to improve Umbraco and add new functionality based on as relevant information as possible, we would like to collect system- and usage information from your installation.<br>Aggregate data will be shared on a regular basis as well as learnings from these metrics.<br>Hopefully, you will help us collect some valuable data.<br><br>We <strong>WILL NOT</strong> collect any personal data such as content, code, user information, and all data will be fully anonymized.',
|
|
4
4
|
basicLevelDescription: 'We will send an anonymized site ID, Umbraco version, and packages installed',
|
|
5
|
-
detailedLevelDescription: 'We will send: <ul
|
|
5
|
+
detailedLevelDescription: 'We will send: <ul><li>Anonymized site ID, Umbraco version, and packages installed.</li><li>Number of: Root nodes, Content nodes, Media, Document Types, Templates, Languages, Domains, User Group, Users, Members, Backoffice external login providers, and Property Editors in use.</li><li>System information: Webserver, server OS, server framework, server OS language, and database provider.</li><li>Configuration settings: ModelsBuilder mode, if custom Umbraco path exists, ASP environment, whether the delivery API is enabled, and allows public access, and if you are in debug mode.</li></ul><em>We might change what we send on the Detailed level in the future. If so, it will be listed above.<br>By choosing "Detailed" you agree to current and future anonymized information being collected.</em>',
|
|
6
6
|
minimalLevelDescription: 'We will only send an anonymized site ID to let us know that the site exists.',
|
|
7
7
|
},
|
|
8
8
|
blockEditor: {
|
|
@@ -16,7 +16,7 @@ export default {
|
|
|
16
16
|
'In order to improve Umbraco and add new functionality based on as relevant information as possible, we would like to collect system- and usage information from your installation.<br>Aggregate data will be shared on a regular basis as well as learnings from these metrics.<br>Hopefully, you will help us collect some valuable data.<br><br>We <strong>WILL NOT</strong> collect any personal data such as content, code, user information, and all data will be fully anonymized.',
|
|
17
17
|
basicLevelDescription: 'We will send an anonymized site ID, Umbraco version, and packages installed',
|
|
18
18
|
detailedLevelDescription:
|
|
19
|
-
'We will send: <ul
|
|
19
|
+
'We will send: <ul><li>Anonymized site ID, Umbraco version, and packages installed.</li><li>Number of: Root nodes, Content nodes, Media, Document Types, Templates, Languages, Domains, User Group, Users, Members, Backoffice external login providers, and Property Editors in use.</li><li>System information: Webserver, server OS, server framework, server OS language, and database provider.</li><li>Configuration settings: ModelsBuilder mode, if custom Umbraco path exists, ASP environment, whether the delivery API is enabled, and allows public access, and if you are in debug mode.</li></ul><em>We might change what we send on the Detailed level in the future. If so, it will be listed above.<br>By choosing "Detailed" you agree to current and future anonymized information being collected.</em>',
|
|
20
20
|
minimalLevelDescription: 'We will only send an anonymized site ID to let us know that the site exists.',
|
|
21
21
|
},
|
|
22
22
|
blockEditor: {
|
package/dist-cms/css/uui-css.css
CHANGED
|
@@ -66,8 +66,11 @@ UUI - Mapping-level or specific component name - State - Name - Part - Overwrite
|
|
|
66
66
|
--uui-type-h5-size: var(--uui-type-default-size,14px);
|
|
67
67
|
--uui-type-h6-size: var(--uui-type-small-size,12px);
|
|
68
68
|
}
|
|
69
|
+
|
|
69
70
|
/** Interface shadows*/
|
|
71
|
+
|
|
70
72
|
/* TODO: fix automatic fallback values for shadows before we use them */
|
|
73
|
+
|
|
71
74
|
:root {
|
|
72
75
|
--uui-shadow-depth-1: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
|
|
73
76
|
--uui-shadow-depth-2: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
|
|
@@ -75,8 +78,11 @@ UUI - Mapping-level or specific component name - State - Name - Part - Overwrite
|
|
|
75
78
|
--uui-shadow-depth-4: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
|
|
76
79
|
--uui-shadow-depth-5: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
|
|
77
80
|
}
|
|
81
|
+
|
|
78
82
|
/* Currently used https://chir.ag/projects/name-that-color/ for naming inspiration */
|
|
83
|
+
|
|
79
84
|
/* Color Properties */
|
|
85
|
+
|
|
80
86
|
:root {
|
|
81
87
|
--uui-palette-deep-saffron: #f79c37;
|
|
82
88
|
--uui-palette-deep-saffron-light: rgb(
|
|
@@ -463,6 +469,7 @@ UUI - Mapping-level or specific component name - State - Name - Part - Overwrite
|
|
|
463
469
|
$mine-grey saturation(- 100%) lightness(+ 10%)
|
|
464
470
|
); */
|
|
465
471
|
}
|
|
472
|
+
|
|
466
473
|
:root {
|
|
467
474
|
font-family: 'Roboto', sans-serif;
|
|
468
475
|
|
|
@@ -593,6 +600,7 @@ UUI - Mapping-level or specific component name - State - Name - Part - Overwrite
|
|
|
593
600
|
));
|
|
594
601
|
--uui-color-positive-contrast: #fff;
|
|
595
602
|
}
|
|
603
|
+
|
|
596
604
|
:root[data-theme='dark'] {
|
|
597
605
|
/* ----- STATES ----- */
|
|
598
606
|
/* --uui-color-selected: #2a72b6;
|
|
@@ -654,9 +662,11 @@ UUI - Mapping-level or specific component name - State - Name - Part - Overwrite
|
|
|
654
662
|
--uui-color-positive-standalone: #52d176;
|
|
655
663
|
--uui-color-positive-contrast: white; */
|
|
656
664
|
}
|
|
665
|
+
|
|
657
666
|
:root {
|
|
658
667
|
--uui-font-family: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
659
668
|
}
|
|
669
|
+
|
|
660
670
|
/*
|
|
661
671
|
Lato
|
|
662
672
|
|
|
@@ -666,92 +676,110 @@ UUI - Mapping-level or specific component name - State - Name - Part - Overwrite
|
|
|
666
676
|
Black: font-weight: 900;
|
|
667
677
|
|
|
668
678
|
*/
|
|
679
|
+
|
|
669
680
|
/* Webfont: LatoLatin-Black */
|
|
681
|
+
|
|
670
682
|
@font-face {
|
|
671
683
|
font-family: 'Lato';
|
|
672
684
|
src: local('LatoLatin Black'), local('LatoLatin-Black'),
|
|
673
|
-
url('
|
|
685
|
+
url('../assets/fonts/lato/LatoLatin-Black.woff2') format('woff2');
|
|
674
686
|
font-style: normal;
|
|
675
687
|
font-display: swap;
|
|
676
688
|
font-weight: 900;
|
|
677
689
|
text-rendering: optimizeLegibility;
|
|
678
690
|
}
|
|
691
|
+
|
|
679
692
|
/* Webfont: LatoLatin-BlackItalic */
|
|
693
|
+
|
|
680
694
|
@font-face {
|
|
681
695
|
font-family: 'Lato';
|
|
682
696
|
src: local('LatoLatin BlackItalic'), local('LatoLatin-BlackItalic'),
|
|
683
|
-
url('
|
|
697
|
+
url('../assets/fonts/lato/LatoLatin-BlackItalic.woff2') format('woff2');
|
|
684
698
|
font-style: italic;
|
|
685
699
|
font-weight: 900;
|
|
686
700
|
font-display: swap;
|
|
687
701
|
text-rendering: optimizeLegibility;
|
|
688
702
|
}
|
|
703
|
+
|
|
689
704
|
/* Webfont: LatoLatin-Bold */
|
|
705
|
+
|
|
690
706
|
@font-face {
|
|
691
707
|
font-family: 'Lato';
|
|
692
708
|
src: local('LatoLatin Bold'), local('LatoLatin-Bold'),
|
|
693
|
-
url('
|
|
709
|
+
url('../assets/fonts/lato/LatoLatin-Bold.woff2') format('woff2');
|
|
694
710
|
font-style: normal;
|
|
695
711
|
font-weight: 700;
|
|
696
712
|
font-display: swap;
|
|
697
713
|
text-rendering: optimizeLegibility;
|
|
698
714
|
}
|
|
715
|
+
|
|
699
716
|
/* Webfont: LatoLatin-BoldItalic */
|
|
717
|
+
|
|
700
718
|
@font-face {
|
|
701
719
|
font-family: 'Lato';
|
|
702
720
|
src: local('LatoLatin BoldItalic'), local('LatoLatin-BoldItalic'),
|
|
703
|
-
url('
|
|
721
|
+
url('../assets/fonts/lato/LatoLatin-BoldItalic.woff2') format('woff2');
|
|
704
722
|
font-style: italic;
|
|
705
723
|
font-weight: 700;
|
|
706
724
|
font-display: swap;
|
|
707
725
|
text-rendering: optimizeLegibility;
|
|
708
726
|
}
|
|
727
|
+
|
|
709
728
|
/* Webfont: LatoLatin-Italic */
|
|
729
|
+
|
|
710
730
|
@font-face {
|
|
711
731
|
font-family: 'Lato';
|
|
712
732
|
src: local('LatoLatin Italic'), local('LatoLatin-Italic'),
|
|
713
|
-
url('
|
|
733
|
+
url('../assets/fonts/lato/LatoLatin-Italic.woff2') format('woff2');
|
|
714
734
|
font-style: italic;
|
|
715
735
|
font-weight: 400;
|
|
716
736
|
font-display: swap;
|
|
717
737
|
text-rendering: optimizeLegibility;
|
|
718
738
|
}
|
|
739
|
+
|
|
719
740
|
/* Webfont: LatoLatin-Regular */
|
|
741
|
+
|
|
720
742
|
@font-face {
|
|
721
743
|
font-family: 'Lato';
|
|
722
744
|
src: local('LatoLatin Regular'), local('LatoLatin-Regular'),
|
|
723
|
-
url('
|
|
745
|
+
url('../assets/fonts/lato/LatoLatin-Regular.woff2') format('woff2');
|
|
724
746
|
font-style: normal;
|
|
725
747
|
font-weight: 400;
|
|
726
748
|
font-display: swap;
|
|
727
749
|
text-rendering: optimizeLegibility;
|
|
728
750
|
}
|
|
751
|
+
|
|
729
752
|
/* Webfont: LatoLatin-Light */
|
|
753
|
+
|
|
730
754
|
@font-face {
|
|
731
755
|
font-family: 'Lato';
|
|
732
756
|
src: local('LatoLatin Light'), local('LatoLatin-Light'),
|
|
733
|
-
url('
|
|
757
|
+
url('../assets/fonts/lato/LatoLatin-Light.woff2') format('woff2');
|
|
734
758
|
font-style: normal;
|
|
735
759
|
font-weight: 300;
|
|
736
760
|
font-display: swap;
|
|
737
761
|
text-rendering: optimizeLegibility;
|
|
738
762
|
}
|
|
763
|
+
|
|
739
764
|
/* Webfont: LatoLatin-LightItalic */
|
|
765
|
+
|
|
740
766
|
@font-face {
|
|
741
767
|
font-family: 'Lato';
|
|
742
768
|
src: local('LatoLatin LightItalic'), local('LatoLatin-LightItalic'),
|
|
743
|
-
url('
|
|
769
|
+
url('../assets/fonts/lato/LatoLatin-LightItalic.woff2') format('woff2');
|
|
744
770
|
font-style: italic;
|
|
745
771
|
font-weight: 300;
|
|
746
772
|
font-display: swap;
|
|
747
773
|
text-rendering: optimizeLegibility;
|
|
748
774
|
}
|
|
775
|
+
|
|
749
776
|
.uui-font {
|
|
750
777
|
font-family: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
751
778
|
font-size: 14px;
|
|
752
779
|
line-height: calc(var(--uui-size-2,6px) * 4);
|
|
753
780
|
-webkit-font-smoothing: antialiased;
|
|
754
781
|
}
|
|
782
|
+
|
|
755
783
|
.uui-h1,
|
|
756
784
|
.uui-h2,
|
|
757
785
|
.uui-h3,
|
|
@@ -770,6 +798,7 @@ UUI - Mapping-level or specific component name - State - Name - Part - Overwrite
|
|
|
770
798
|
line-height: 21px;
|
|
771
799
|
-webkit-font-smoothing: antialiased;
|
|
772
800
|
}
|
|
801
|
+
|
|
773
802
|
.uui-text h1,
|
|
774
803
|
.uui-h1.uui-h1 {
|
|
775
804
|
font-size: var(--uui-type-h1-size,60px);
|
|
@@ -779,16 +808,19 @@ UUI - Mapping-level or specific component name - State - Name - Part - Overwrite
|
|
|
779
808
|
margin-top: var(--uui-size-layout-1,24px);
|
|
780
809
|
margin-bottom: var(--uui-size-layout-1,24px);
|
|
781
810
|
}
|
|
811
|
+
|
|
782
812
|
.uui-text p + h1,
|
|
783
813
|
.uui-text p + .uui-h1 {
|
|
784
814
|
margin-top: var(--uui-size-layout-4,66px);
|
|
785
815
|
}
|
|
816
|
+
|
|
786
817
|
.uui-text h1.--no-top-margin,
|
|
787
818
|
.uui-text h1:first-child,
|
|
788
819
|
.uui-h1.--no-top-margin,
|
|
789
820
|
.uui-h1:first-child {
|
|
790
821
|
margin-top: 0;
|
|
791
822
|
}
|
|
823
|
+
|
|
792
824
|
.uui-text h2,
|
|
793
825
|
.uui-h2.uui-h2 {
|
|
794
826
|
font-size: var(--uui-type-h2-size,42px);
|
|
@@ -798,16 +830,19 @@ UUI - Mapping-level or specific component name - State - Name - Part - Overwrite
|
|
|
798
830
|
margin-top: var(--uui-size-layout-1,24px);
|
|
799
831
|
margin-bottom: var(--uui-size-layout-1,24px);
|
|
800
832
|
}
|
|
833
|
+
|
|
801
834
|
.uui-text p + h2,
|
|
802
835
|
.uui-text p + .uui-h2 {
|
|
803
836
|
margin-top: var(--uui-size-layout-3,42px);
|
|
804
837
|
}
|
|
838
|
+
|
|
805
839
|
.uui-text h2.--no-top-margin,
|
|
806
840
|
.uui-text h2:first-child,
|
|
807
841
|
.uui-h2.--no-top-margin,
|
|
808
842
|
.uui-h2:first-child {
|
|
809
843
|
margin-top: 0;
|
|
810
844
|
}
|
|
845
|
+
|
|
811
846
|
.uui-text h3,
|
|
812
847
|
.uui-h3.uui-h3 {
|
|
813
848
|
font-size: var(--uui-type-h3-size,30px);
|
|
@@ -817,12 +852,14 @@ UUI - Mapping-level or specific component name - State - Name - Part - Overwrite
|
|
|
817
852
|
margin-top: var(--uui-size-layout-1,24px);
|
|
818
853
|
margin-bottom: var(--uui-size-layout-1,24px);
|
|
819
854
|
}
|
|
855
|
+
|
|
820
856
|
.uui-text h3.--no-top-margin,
|
|
821
857
|
.uui-text h3:first-child,
|
|
822
858
|
.uui-h3.--no-top-margin,
|
|
823
859
|
.uui-h3:first-child {
|
|
824
860
|
margin-top: 0;
|
|
825
861
|
}
|
|
862
|
+
|
|
826
863
|
.uui-text h4,
|
|
827
864
|
.uui-h4.uui-h4 {
|
|
828
865
|
font-size: var(--uui-type-h4-size,21px);
|
|
@@ -832,12 +869,14 @@ UUI - Mapping-level or specific component name - State - Name - Part - Overwrite
|
|
|
832
869
|
margin-top: var(--uui-size-layout-1,24px);
|
|
833
870
|
margin-bottom: var(--uui-size-layout-1,24px);
|
|
834
871
|
}
|
|
872
|
+
|
|
835
873
|
.uui-text h4.--no-top-margin,
|
|
836
874
|
.uui-text h4:first-child,
|
|
837
875
|
.uui-h4.--no-top-margin,
|
|
838
876
|
.uui-h4:first-child {
|
|
839
877
|
margin-top: 0;
|
|
840
878
|
}
|
|
879
|
+
|
|
841
880
|
.uui-text h5,
|
|
842
881
|
.uui-h5.uui-h5 {
|
|
843
882
|
font-size: var(--uui-type-h5-size,14px);
|
|
@@ -847,41 +886,49 @@ UUI - Mapping-level or specific component name - State - Name - Part - Overwrite
|
|
|
847
886
|
margin-top: var(--uui-size-layout-1,24px);
|
|
848
887
|
margin-bottom: 0;
|
|
849
888
|
}
|
|
889
|
+
|
|
850
890
|
.uui-text h5.--no-top-margin,
|
|
851
891
|
.uui-text h5:first-child,
|
|
852
892
|
.uui-h5.--no-top-margin,
|
|
853
893
|
.uui-h5:first-child {
|
|
854
894
|
margin-top: 0;
|
|
855
895
|
}
|
|
896
|
+
|
|
856
897
|
.uui-p,
|
|
857
898
|
.uui-text p {
|
|
858
899
|
margin-top: var(--uui-size-layout-1,24px);
|
|
859
900
|
margin-bottom: var(--uui-size-layout-1,24px);
|
|
860
901
|
}
|
|
902
|
+
|
|
861
903
|
.uui-p-lead,
|
|
862
904
|
.uui-text p.uui-lead {
|
|
863
905
|
font-size: var(--uui-size-6,18px);
|
|
864
906
|
line-height: var(--uui-size-8,24px);
|
|
865
907
|
}
|
|
908
|
+
|
|
866
909
|
.uui-a,
|
|
867
910
|
.uui-text a {
|
|
868
911
|
color: var(--uui-color-interactive,#1b264f);
|
|
869
912
|
}
|
|
913
|
+
|
|
870
914
|
.uui-a:link,
|
|
871
915
|
.uui-a:active .uui-text a:link,
|
|
872
916
|
.uui-text a:active {
|
|
873
917
|
color: var(--uui-color-interactive,#1b264f);
|
|
874
918
|
}
|
|
919
|
+
|
|
875
920
|
.uui-a:hover,
|
|
876
921
|
.uui-text a:hover {
|
|
877
922
|
color: var(--uui-color-interactive-emphasis,#3544b1);
|
|
878
923
|
}
|
|
924
|
+
|
|
879
925
|
.uui-small,
|
|
880
926
|
.uui-text small {
|
|
881
927
|
display: inline-block;
|
|
882
928
|
font-size: var(--uui-type-small-size,12px);
|
|
883
929
|
line-height: 18px;
|
|
884
930
|
}
|
|
931
|
+
|
|
885
932
|
.uui-quoteblock,
|
|
886
933
|
.uui-text blockquote {
|
|
887
934
|
float: right;
|
|
@@ -895,6 +942,7 @@ UUI - Mapping-level or specific component name - State - Name - Part - Overwrite
|
|
|
895
942
|
max-width: 16em;
|
|
896
943
|
quotes: '“' '”' '‘' '’';
|
|
897
944
|
}
|
|
945
|
+
|
|
898
946
|
.uui-quoteblock:before,
|
|
899
947
|
.uui-text blockquote:before {
|
|
900
948
|
content: open-quote;
|
|
@@ -904,6 +952,7 @@ UUI - Mapping-level or specific component name - State - Name - Part - Overwrite
|
|
|
904
952
|
font-weight: 400;
|
|
905
953
|
font-size: 2em;
|
|
906
954
|
}
|
|
955
|
+
|
|
907
956
|
.uui-quoteblock:after,
|
|
908
957
|
.uui-text blockquote:after {
|
|
909
958
|
content: close-quote;
|
|
@@ -915,6 +964,7 @@ UUI - Mapping-level or specific component name - State - Name - Part - Overwrite
|
|
|
915
964
|
margin-bottom: -2px;
|
|
916
965
|
display: inline-block;
|
|
917
966
|
}
|
|
967
|
+
|
|
918
968
|
.uui-ul,
|
|
919
969
|
.uui-text ul {
|
|
920
970
|
list-style-type: square;
|
|
@@ -922,6 +972,7 @@ UUI - Mapping-level or specific component name - State - Name - Part - Overwrite
|
|
|
922
972
|
margin-top: var(--uui-size-layout-1,24px);
|
|
923
973
|
margin-bottom: var(--uui-size-layout-1,24px);
|
|
924
974
|
}
|
|
975
|
+
|
|
925
976
|
.uui-ol,
|
|
926
977
|
.uui-text ol {
|
|
927
978
|
padding-left: var(--uui-size-layout-1,24px);
|
|
@@ -12149,7 +12149,7 @@
|
|
|
12149
12149
|
{
|
|
12150
12150
|
"name": "styles",
|
|
12151
12151
|
"type": "array",
|
|
12152
|
-
"default": "[
|
|
12152
|
+
"default": "[null]"
|
|
12153
12153
|
}
|
|
12154
12154
|
]
|
|
12155
12155
|
},
|
|
@@ -13859,6 +13859,7 @@
|
|
|
13859
13859
|
{
|
|
13860
13860
|
"name": "umb-tiptap-toolbar",
|
|
13861
13861
|
"path": "./../src/packages/tiptap/components/input-tiptap/tiptap-toolbar.element.ts",
|
|
13862
|
+
"description": "[object Object],[object Object]",
|
|
13862
13863
|
"attributes": [
|
|
13863
13864
|
{
|
|
13864
13865
|
"name": "readonly",
|
|
@@ -13886,7 +13887,17 @@
|
|
|
13886
13887
|
},
|
|
13887
13888
|
{
|
|
13888
13889
|
"name": "styles",
|
|
13889
|
-
"default": "\"css`\\n\\t\\t:host([readonly]) {\\n\\t\\t\\tpointer-events: none;\\n\\t\\t\\tbackground-color: var(--uui-color-surface-alt);\\n\\t\\t}\\n\\n\\t\\t:host {\\n\\t\\t\\tborder-radius: var(--uui-border-radius);\\n\\t\\t\\tborder: 1px solid var(--uui-color-border);\\n\\t\\t\\tborder-bottom-left-radius: 0;\\n\\t\\t\\tborder-bottom-right-radius: 0;\\n\\n\\t\\t\\tborder-top-color: var(--umb-tiptap-edge-border-color, var(--uui-color-border));\\n\\t\\t\\tborder-left-color: var(--umb-tiptap-edge-border-color, var(--uui-color-border));\\n\\t\\t\\tborder-right-color: var(--umb-tiptap-edge-border-color, var(--uui-color-border));\\n\\n\\t\\t\\tbackground-color: var(--uui-color-surface);\\n\\t\\t\\tcolor: var(--color-text);\\n\\t\\t\\tfont-size: var(--uui-type-default-size);\\n\\n\\t\\t\\tdisplay: flex;\\n\\t\\t\\tflex-direction: column;\\n\\n\\t\\t\\tposition: sticky;\\n\\t\\t\\ttop: -25px;\\n\\t\\t\\tleft: 0;\\n\\t\\t\\tright: 0;\\n\\t\\t\\tpadding: var(--uui-size-3);\\n\\t\\t\\tz-index: 9999999;\\n\\n\\t\\t\\tbox-shadow:\\n\\t\\t\\t\\t0 2px 2px -2px rgba(34, 47, 62, 0.1),\\n\\t\\t\\t\\t0 8px 8px -4px rgba(34, 47, 62, 0.07);\\n\\t\\t}\\n\\n\\t\\t.row {\\n\\t\\t\\tdisplay: flex;\\n\\t\\t\\tflex-direction: row;\\n\\t\\t\\tflex-wrap: wrap;\\n\\n\\t\\t\\t.group {\\n\\t\\t\\t\\tdisplay: inline-flex;\\n\\t\\t\\t\\tflex-wrap: wrap;\\n\\t\\t\\t\\talign-items: stretch;\\n\\n\\t\\t\\t\\t&:not(:last-child)::after {\\n\\t\\t\\t\\t\\tcontent: '';\\n\\t\\t\\t\\t\\tbackground-color: var(--uui-color-border);\\n\\t\\t\\t\\t\\twidth: 1px;\\n\\t\\t\\t\\t\\tplace-self: center;\\n\\t\\t\\t\\t\\theight: 22px;\\n\\t\\t\\t\\t\\tmargin: 0 var(--uui-size-3);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t`\""
|
|
13890
|
+
"default": "\"css`\\n\\t\\t:host([readonly]) {\\n\\t\\t\\tpointer-events: none;\\n\\t\\t\\tbackground-color: var(--uui-color-surface-alt);\\n\\t\\t}\\n\\n\\t\\t:host {\\n\\t\\t\\tborder-radius: var(--uui-border-radius);\\n\\t\\t\\tborder: 1px solid var(--uui-color-border);\\n\\t\\t\\tborder-bottom-left-radius: 0;\\n\\t\\t\\tborder-bottom-right-radius: 0;\\n\\n\\t\\t\\tborder-top-color: var(--umb-tiptap-edge-border-color, var(--uui-color-border));\\n\\t\\t\\tborder-left-color: var(--umb-tiptap-edge-border-color, var(--uui-color-border));\\n\\t\\t\\tborder-right-color: var(--umb-tiptap-edge-border-color, var(--uui-color-border));\\n\\n\\t\\t\\tbackground-color: var(--uui-color-surface);\\n\\t\\t\\tcolor: var(--color-text);\\n\\t\\t\\tfont-size: var(--uui-type-default-size);\\n\\n\\t\\t\\tdisplay: flex;\\n\\t\\t\\tflex-direction: column;\\n\\n\\t\\t\\tposition: sticky;\\n\\t\\t\\ttop: var(--umb-tiptap-top,-25px);\\n\\t\\t\\tleft: 0;\\n\\t\\t\\tright: 0;\\n\\t\\t\\tpadding: var(--uui-size-3);\\n\\t\\t\\tz-index: 9999999;\\n\\n\\t\\t\\tbox-shadow:\\n\\t\\t\\t\\t0 2px 2px -2px rgba(34, 47, 62, 0.1),\\n\\t\\t\\t\\t0 8px 8px -4px rgba(34, 47, 62, 0.07);\\n\\t\\t}\\n\\n\\t\\t.row {\\n\\t\\t\\tdisplay: flex;\\n\\t\\t\\tflex-direction: row;\\n\\t\\t\\tflex-wrap: wrap;\\n\\n\\t\\t\\t.group {\\n\\t\\t\\t\\tdisplay: inline-flex;\\n\\t\\t\\t\\tflex-wrap: wrap;\\n\\t\\t\\t\\talign-items: stretch;\\n\\n\\t\\t\\t\\t&:not(:last-child)::after {\\n\\t\\t\\t\\t\\tcontent: '';\\n\\t\\t\\t\\t\\tbackground-color: var(--uui-color-border);\\n\\t\\t\\t\\t\\twidth: 1px;\\n\\t\\t\\t\\t\\tplace-self: center;\\n\\t\\t\\t\\t\\theight: 22px;\\n\\t\\t\\t\\t\\tmargin: 0 var(--uui-size-3);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t`\""
|
|
13891
|
+
}
|
|
13892
|
+
],
|
|
13893
|
+
"cssProperties": [
|
|
13894
|
+
{
|
|
13895
|
+
"name": "--umb-tiptap-edge-border-color",
|
|
13896
|
+
"description": "Defines the edge border color"
|
|
13897
|
+
},
|
|
13898
|
+
{
|
|
13899
|
+
"name": "--umb-tiptap-top",
|
|
13900
|
+
"description": "Defines the top value for the sticky toolbar"
|
|
13890
13901
|
}
|
|
13891
13902
|
]
|
|
13892
13903
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { BehaviorSubject, Observable, ReplaySubject, Subject, Subscription, catchError, combineLatest, debounceTime, distinctUntilChanged, filter, first, firstValueFrom, from, lastValueFrom, map, of, shareReplay, skip, startWith, switchMap, takeUntil, tap, } from 'rxjs';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
var K=function(t,
|
|
2
|
-
`+e.map(function(
|
|
3
|
-
`):"",this.name="UnsubscriptionError",this.errors=e}});function L(t,r){if(t){var e=t.indexOf(r);0<=e&&t.splice(e,1)}}var j=function(){function t(r){this.initialTeardown=r,this.closed=!1,this._parentage=null,this._finalizers=null}return t.prototype.unsubscribe=function(){var r,e,n,i,o;if(!this.closed){this.closed=!0;var u=this._parentage;if(u)if(this._parentage=null,Array.isArray(u))try{for(var s=A(u),a=s.next();!a.done;a=s.next()){var c=a.value;c.remove(this)}}catch(h){r={error:h}}finally{try{a&&!a.done&&(e=s.return)&&e.call(s)}finally{if(r)throw r.error}}else u.remove(this);var f=this.initialTeardown;if(d(f))try{f()}catch(h){o=h instanceof D?h.errors:[h]}var v=this._finalizers;if(v){this._finalizers=null;try{for(var p=A(v),l=p.next();!l.done;l=p.next()){var y=l.value;try{nt(y)}catch(h){o=o??[],h instanceof D?o=P(P([],O(o)),O(h.errors)):o.push(h)}}}catch(h){n={error:h}}finally{try{l&&!l.done&&(i=p.return)&&i.call(p)}finally{if(n)throw n.error}}}if(o)throw new D(o)}},t.prototype.add=function(r){var e;if(r&&r!==this)if(this.closed)nt(r);else{if(r instanceof t){if(r.closed||r._hasParent(this))return;r._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(r)}},t.prototype._hasParent=function(r){var e=this._parentage;return e===r||Array.isArray(e)&&e.includes(r)},t.prototype._addParent=function(r){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(r),e):e?[e,r]:r},t.prototype._removeParent=function(r){var e=this._parentage;e===r?this._parentage=null:Array.isArray(e)&&L(e,r)},t.prototype.remove=function(r){var e=this._finalizers;e&&L(e,r),r instanceof t&&r._removeParent(this)},t.EMPTY=function(){var r=new t;return r.closed=!0,r}(),t}(),et=j.EMPTY;function rt(t){return t instanceof j||t&&"closed"in t&&d(t.remove)&&d(t.add)&&d(t.unsubscribe)}function nt(t){d(t)?t():t.unsubscribe()}var jt={Promise:void 0},kt={setTimeout:function(t,r){for(var e=[],n=2;n<arguments.length;n++)e[n-2]=arguments[n];return setTimeout.apply(void 0,P([t,r],O(e)))},clearTimeout:function(t){return clearTimeout(t)},delegate:void 0};function it(t){kt.setTimeout(function(){throw t})}function $(){}function M(t){t()}var B=function(t){S(r,t);function r(e){var n=t.call(this)||this;return n.isStopped=!1,e?(n.destination=e,rt(e)&&e.add(n)):n.destination=Ut,n}return r.create=function(e,n,i){return new k(e,n,i)},r.prototype.next=function(e){this.isStopped||this._next(e)},r.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},r.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},r.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this),this.destination=null)},r.prototype._next=function(e){this.destination.next(e)},r.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},r.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},r}(j),Ct=function(){function t(r){this.partialObserver=r}return t.prototype.next=function(r){var e=this.partialObserver;if(e.next)try{e.next(r)}catch(n){W(n)}},t.prototype.error=function(r){var e=this.partialObserver;if(e.error)try{e.error(r)}catch(n){W(n)}else W(r)},t.prototype.complete=function(){var r=this.partialObserver;if(r.complete)try{r.complete()}catch(e){W(e)}},t}(),k=function(t){S(r,t);function r(e,n,i){var o=t.call(this)||this,u;return d(e)||!e?u={next:e??void 0,error:n??void 0,complete:i??void 0}:u=e,o.destination=new Ct(u),o}return r}(B);function W(t){it(t)}function Rt(t){throw t}var Ut={closed:!0,next:$,error:Rt,complete:$},H=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function E(t){return t}function Vt(t){return t.length===0?E:t.length===1?t[0]:function(e){return t.reduce(function(n,i){return i(n)},e)}}var w=function(){function t(r){r&&(this._subscribe=r)}return t.prototype.lift=function(r){var e=new t;return e.source=this,e.operator=r,e},t.prototype.subscribe=function(r,e,n){var i=this,o=Lt(r)?r:new k(r,e,n);return M(function(){var u=i,s=u.operator,a=u.source;o.add(s?s.call(o,a):a?i._subscribe(o):i._trySubscribe(o))}),o},t.prototype._trySubscribe=function(r){try{return this._subscribe(r)}catch(e){r.error(e)}},t.prototype.forEach=function(r,e){var n=this;return e=ot(e),new e(function(i,o){var u=new k({next:function(s){try{r(s)}catch(a){o(a),u.unsubscribe()}},error:o,complete:i});n.subscribe(u)})},t.prototype._subscribe=function(r){var e;return(e=this.source)===null||e===void 0?void 0:e.subscribe(r)},t.prototype[H]=function(){return this},t.prototype.pipe=function(){for(var r=[],e=0;e<arguments.length;e++)r[e]=arguments[e];return Vt(r)(this)},t.prototype.toPromise=function(r){var e=this;return r=ot(r),new r(function(n,i){var o;e.subscribe(function(u){return o=u},function(u){return i(u)},function(){return n(o)})})},t.create=function(r){return new t(r)},t}();function ot(t){var r;return(r=t??jt.Promise)!==null&&r!==void 0?r:Promise}function Ft(t){return t&&d(t.next)&&d(t.error)&&d(t.complete)}function Lt(t){return t&&t instanceof B||Ft(t)&&rt(t)}function Mt(t){return d(t?.lift)}function b(t){return function(r){if(Mt(r))return r.lift(function(e){try{return t(e,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function m(t,r,e,n,i){return new Wt(t,r,e,n,i)}var Wt=function(t){S(r,t);function r(e,n,i,o,u,s){var a=t.call(this,e)||this;return a.onFinalize=u,a.shouldUnsubscribe=s,a._next=n?function(c){try{n(c)}catch(f){e.error(f)}}:t.prototype._next,a._error=o?function(c){try{o(c)}catch(f){e.error(f)}finally{this.unsubscribe()}}:t.prototype._error,a._complete=i?function(){try{i()}catch(c){e.error(c)}finally{this.unsubscribe()}}:t.prototype._complete,a}return r.prototype.unsubscribe=function(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var n=this.closed;t.prototype.unsubscribe.call(this),!n&&((e=this.onFinalize)===null||e===void 0||e.call(this))}},r}(B),Yt=Z(function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),U=function(t){S(r,t);function r(){var e=t.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return r.prototype.lift=function(e){var n=new ut(this,this);return n.operator=e,n},r.prototype._throwIfClosed=function(){if(this.closed)throw new Yt},r.prototype.next=function(e){var n=this;M(function(){var i,o;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var u=A(n.currentObservers),s=u.next();!s.done;s=u.next()){var a=s.value;a.next(e)}}catch(c){i={error:c}}finally{try{s&&!s.done&&(o=u.return)&&o.call(u)}finally{if(i)throw i.error}}}})},r.prototype.error=function(e){var n=this;M(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=e;for(var i=n.observers;i.length;)i.shift().error(e)}})},r.prototype.complete=function(){var e=this;M(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var n=e.observers;n.length;)n.shift().complete()}})},r.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(r.prototype,"observed",{get:function(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0},enumerable:!1,configurable:!0}),r.prototype._trySubscribe=function(e){return this._throwIfClosed(),t.prototype._trySubscribe.call(this,e)},r.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},r.prototype._innerSubscribe=function(e){var n=this,i=this,o=i.hasError,u=i.isStopped,s=i.observers;return o||u?et:(this.currentObservers=null,s.push(e),new j(function(){n.currentObservers=null,L(s,e)}))},r.prototype._checkFinalizedStatuses=function(e){var n=this,i=n.hasError,o=n.thrownError,u=n.isStopped;i?e.error(o):u&&e.complete()},r.prototype.asObservable=function(){var e=new w;return e.source=this,e},r.create=function(e,n){return new ut(e,n)},r}(w),ut=function(t){S(r,t);function r(e,n){var i=t.call(this)||this;return i.destination=e,i.source=n,i}return r.prototype.next=function(e){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.next)===null||i===void 0||i.call(n,e)},r.prototype.error=function(e){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.error)===null||i===void 0||i.call(n,e)},r.prototype.complete=function(){var e,n;(n=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||n===void 0||n.call(e)},r.prototype._subscribe=function(e){var n,i;return(i=(n=this.source)===null||n===void 0?void 0:n.subscribe(e))!==null&&i!==void 0?i:et},r}(U),qt=function(t){S(r,t);function r(e){var n=t.call(this)||this;return n._value=e,n}return Object.defineProperty(r.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),r.prototype._subscribe=function(e){var n=t.prototype._subscribe.call(this,e);return!n.closed&&e.next(this._value),n},r.prototype.getValue=function(){var e=this,n=e.hasError,i=e.thrownError,o=e._value;if(n)throw i;return this._throwIfClosed(),o},r.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},r}(U),J={now:function(){return(J.delegate||Date).now()},delegate:void 0},ct=function(t){S(r,t);function r(e,n,i){e===void 0&&(e=1/0),n===void 0&&(n=1/0),i===void 0&&(i=J);var o=t.call(this)||this;return o._bufferSize=e,o._windowTime=n,o._timestampProvider=i,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=n===1/0,o._bufferSize=Math.max(1,e),o._windowTime=Math.max(1,n),o}return r.prototype.next=function(e){var n=this,i=n.isStopped,o=n._buffer,u=n._infiniteTimeWindow,s=n._timestampProvider,a=n._windowTime;i||(o.push(e),!u&&o.push(s.now()+a)),this._trimBuffer(),t.prototype.next.call(this,e)},r.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(e),i=this,o=i._infiniteTimeWindow,u=i._buffer,s=u.slice(),a=0;a<s.length&&!e.closed;a+=o?1:2)e.next(s[a]);return this._checkFinalizedStatuses(e),n},r.prototype._trimBuffer=function(){var e=this,n=e._bufferSize,i=e._timestampProvider,o=e._buffer,u=e._infiniteTimeWindow,s=(u?1:2)*n;if(n<1/0&&s<o.length&&o.splice(0,o.length-s),!u){for(var a=i.now(),c=0,f=1;f<o.length&&o[f]<=a;f+=2)c=f;c&&o.splice(0,c+1)}},r}(U),Gt=function(t){S(r,t);function r(e,n){return t.call(this)||this}return r.prototype.schedule=function(e,n){return this},r}(j),at={setInterval:function(t,r){for(var e=[],n=2;n<arguments.length;n++)e[n-2]=arguments[n];return setInterval.apply(void 0,P([t,r],O(e)))},clearInterval:function(t){return clearInterval(t)},delegate:void 0},Kt=function(t){S(r,t);function r(e,n){var i=t.call(this,e,n)||this;return i.scheduler=e,i.work=n,i.pending=!1,i}return r.prototype.schedule=function(e,n){var i;if(n===void 0&&(n=0),this.closed)return this;this.state=e;var o=this.id,u=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(u,o,n)),this.pending=!0,this.delay=n,this.id=(i=this.id)!==null&&i!==void 0?i:this.requestAsyncId(u,this.id,n),this},r.prototype.requestAsyncId=function(e,n,i){return i===void 0&&(i=0),at.setInterval(e.flush.bind(e,this),i)},r.prototype.recycleAsyncId=function(e,n,i){if(i===void 0&&(i=0),i!=null&&this.delay===i&&this.pending===!1)return n;n!=null&&at.clearInterval(n)},r.prototype.execute=function(e,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var i=this._execute(e,n);if(i)return i;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},r.prototype._execute=function(e,n){var i=!1,o;try{this.work(e)}catch(u){i=!0,o=u||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),o},r.prototype.unsubscribe=function(){if(!this.closed){var e=this,n=e.id,i=e.scheduler,o=i.actions;this.work=this.state=this.scheduler=null,this.pending=!1,L(o,this),n!=null&&(this.id=this.recycleAsyncId(i,n,null)),this.delay=null,t.prototype.unsubscribe.call(this)}},r}(Gt),st=function(){function t(r,e){e===void 0&&(e=t.now),this.schedulerActionCtor=r,this.now=e}return t.prototype.schedule=function(r,e,n){return e===void 0&&(e=0),new this.schedulerActionCtor(this,r).schedule(n,e)},t.now=J.now,t}(),Zt=function(t){S(r,t);function r(e,n){n===void 0&&(n=st.now);var i=t.call(this,e,n)||this;return i.actions=[],i._active=!1,i}return r.prototype.flush=function(e){var n=this.actions;if(this._active){n.push(e);return}var i;this._active=!0;do if(i=e.execute(e.state,e.delay))break;while(e=n.shift());if(this._active=!1,i){for(;e=n.shift();)e.unsubscribe();throw i}},r}(st),Dt=new Zt(Kt),$t=new w(function(t){return t.complete()});function Bt(t){return t&&d(t.schedule)}function ft(t){return t[t.length-1]}function Ht(t){return d(ft(t))?t.pop():void 0}function Y(t){return Bt(ft(t))?t.pop():void 0}var lt=function(t){return t&&typeof t.length=="number"&&typeof t!="function"};function ht(t){return d(t?.then)}function vt(t){return d(t[H])}function dt(t){return Symbol.asyncIterator&&d(t?.[Symbol.asyncIterator])}function pt(t){return new TypeError("You provided "+(t!==null&&typeof t=="object"?"an invalid object":"'"+t+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}function Jt(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var yt=Jt();function bt(t){return d(t?.[yt])}function mt(t){return Pt(this,arguments,function(){var e,n,i,o;return tt(this,function(u){switch(u.label){case 0:e=t.getReader(),u.label=1;case 1:u.trys.push([1,,9,10]),u.label=2;case 2:return[4,T(e.read())];case 3:return n=u.sent(),i=n.value,o=n.done,o?[4,T(void 0)]:[3,5];case 4:return[2,u.sent()];case 5:return[4,T(i)];case 6:return[4,u.sent()];case 7:return u.sent(),[3,2];case 8:return[3,10];case 9:return e.releaseLock(),[7];case 10:return[2]}})})}function wt(t){return d(t?.getReader)}function x(t){if(t instanceof w)return t;if(t!=null){if(vt(t))return zt(t);if(lt(t))return Qt(t);if(ht(t))return Xt(t);if(dt(t))return St(t);if(bt(t))return Nt(t);if(wt(t))return te(t)}throw pt(t)}function zt(t){return new w(function(r){var e=t[H]();if(d(e.subscribe))return e.subscribe(r);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Qt(t){return new w(function(r){for(var e=0;e<t.length&&!r.closed;e++)r.next(t[e]);r.complete()})}function Xt(t){return new w(function(r){t.then(function(e){r.closed||(r.next(e),r.complete())},function(e){return r.error(e)}).then(null,it)})}function Nt(t){return new w(function(r){var e,n;try{for(var i=A(t),o=i.next();!o.done;o=i.next()){var u=o.value;if(r.next(u),r.closed)return}}catch(s){e={error:s}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}r.complete()})}function St(t){return new w(function(r){ee(t,r).catch(function(e){return r.error(e)})})}function te(t){return St(mt(t))}function ee(t,r){var e,n,i,o;return Ot(this,void 0,void 0,function(){var u,s;return tt(this,function(a){switch(a.label){case 0:a.trys.push([0,5,6,11]),e=Tt(t),a.label=1;case 1:return[4,e.next()];case 2:if(n=a.sent(),!!n.done)return[3,4];if(u=n.value,r.next(u),r.closed)return[2];a.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return s=a.sent(),i={error:s},[3,11];case 6:return a.trys.push([6,,9,10]),n&&!n.done&&(o=e.return)?[4,o.call(e)]:[3,8];case 7:a.sent(),a.label=8;case 8:return[3,10];case 9:if(i)throw i.error;return[7];case 10:return[7];case 11:return r.complete(),[2]}})})}function I(t,r,e,n,i){n===void 0&&(n=0),i===void 0&&(i=!1);var o=r.schedule(function(){e(),i?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(o),!i)return o}function gt(t,r){return r===void 0&&(r=0),b(function(e,n){e.subscribe(m(n,function(i){return I(n,t,function(){return n.next(i)},r)},function(){return I(n,t,function(){return n.complete()},r)},function(i){return I(n,t,function(){return n.error(i)},r)}))})}function _t(t,r){return r===void 0&&(r=0),b(function(e,n){n.add(t.schedule(function(){return e.subscribe(n)},r))})}function re(t,r){return x(t).pipe(_t(r),gt(r))}function ne(t,r){return x(t).pipe(_t(r),gt(r))}function ie(t,r){return new w(function(e){var n=0;return r.schedule(function(){n===t.length?e.complete():(e.next(t[n++]),e.closed||this.schedule())})})}function oe(t,r){return new w(function(e){var n;return I(e,r,function(){n=t[yt](),I(e,r,function(){var i,o,u;try{i=n.next(),o=i.value,u=i.done}catch(s){e.error(s);return}u?e.complete():e.next(o)},0,!0)}),function(){return d(n?.return)&&n.return()}})}function xt(t,r){if(!t)throw new Error("Iterable cannot be null");return new w(function(e){I(e,r,function(){var n=t[Symbol.asyncIterator]();I(e,r,function(){n.next().then(function(i){i.done?e.complete():e.next(i.value)})},0,!0)})})}function ue(t,r){return xt(mt(t),r)}function ce(t,r){if(t!=null){if(vt(t))return re(t,r);if(lt(t))return ie(t,r);if(ht(t))return ne(t,r);if(dt(t))return xt(t,r);if(bt(t))return oe(t,r);if(wt(t))return ue(t,r)}throw pt(t)}function q(t,r){return r?ce(t,r):x(t)}function ae(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var e=Y(t);return q(t,e)}var G=Z(function(t){return function(){t(this),this.name="EmptyError",this.message="no elements in sequence"}});function se(t,r){var e=typeof r=="object";return new Promise(function(n,i){var o=!1,u;t.subscribe({next:function(s){u=s,o=!0},error:i,complete:function(){o?n(u):e?n(r.defaultValue):i(new G)}})})}function fe(t,r){var e=typeof r=="object";return new Promise(function(n,i){var o=new k({next:function(u){n(u),o.unsubscribe()},error:i,complete:function(){e?n(r.defaultValue):i(new G)}});t.subscribe(o)})}function z(t,r){return b(function(e,n){var i=0;e.subscribe(m(n,function(o){n.next(t.call(r,o,i++))}))})}var le=Array.isArray;function he(t,r){return le(r)?t.apply(void 0,P([],O(r))):t(r)}function ve(t){return z(function(r){return he(t,r)})}var de=Array.isArray,pe=Object.getPrototypeOf,ye=Object.prototype,be=Object.keys;function me(t){if(t.length===1){var r=t[0];if(de(r))return{args:r,keys:null};if(we(r)){var e=be(r);return{args:e.map(function(n){return r[n]}),keys:e}}}return{args:t,keys:null}}function we(t){return t&&typeof t=="object"&&pe(t)===ye}function Se(t,r){return t.reduce(function(e,n,i){return e[n]=r[i],e},{})}function ge(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var e=Y(t),n=Ht(t),i=me(t),o=i.args,u=i.keys;if(o.length===0)return q([],e);var s=new w(_e(o,e,u?function(a){return Se(u,a)}:E));return n?s.pipe(ve(n)):s}function _e(t,r,e){return e===void 0&&(e=E),function(n){It(r,function(){for(var i=t.length,o=new Array(i),u=i,s=i,a=function(f){It(r,function(){var v=q(t[f],r),p=!1;v.subscribe(m(n,function(l){o[f]=l,p||(p=!0,s--),s||n.next(e(o.slice()))},function(){--u||n.complete()}))},n)},c=0;c<i;c++)a(c)},n)}}function It(t,r,e){t?I(e,t,r):r()}function xe(t,r,e,n,i,o,u,s){var a=[],c=0,f=0,v=!1,p=function(){v&&!a.length&&!c&&r.complete()},l=function(h){return c<n?y(h):a.push(h)},y=function(h){c++;var g=!1;x(e(h,f++)).subscribe(m(r,function(_){r.next(_)},function(){g=!0},void 0,function(){if(g)try{c--;for(var _=function(){var C=a.shift();u||y(C)};a.length&&c<n;)_();p()}catch(C){r.error(C)}}))};return t.subscribe(m(r,l,function(){v=!0,p()})),function(){}}function Et(t,r,e){return e===void 0&&(e=1/0),d(r)?Et(function(n,i){return z(function(o,u){return r(n,o,i,u)})(x(t(n,i)))},e):(typeof r=="number"&&(e=r),b(function(n,i){return xe(n,i,t,e)}))}function Ie(t){return Et(E,t)}function Ee(){return Ie(1)}function At(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return Ee()(q(t,Y(t)))}function Q(t,r){return b(function(e,n){var i=0;e.subscribe(m(n,function(o){return t.call(r,o,i++)&&n.next(o)}))})}function Ae(t,r){return r===void 0&&(r=Dt),b(function(e,n){var i=null,o=null,u=null,s=function(){if(i){i.unsubscribe(),i=null;var c=o;o=null,n.next(c)}};function a(){var c=u+t,f=r.now();if(f<c){i=this.schedule(void 0,c-f),n.add(i);return}s()}e.subscribe(m(n,function(c){o=c,u=r.now(),i||(i=r.schedule(a,t),n.add(i))},function(){s(),n.complete()},void 0,function(){o=i=null}))})}function Oe(t){return b(function(r,e){var n=!1;r.subscribe(m(e,function(i){n=!0,e.next(i)},function(){n||e.next(t),e.complete()}))})}function Pe(t){return t<=0?function(){return $t}:b(function(r,e){var n=0;r.subscribe(m(e,function(i){++n<=t&&(e.next(i),t<=n&&e.complete())}))})}function Te(t,r){return r===void 0&&(r=E),t=t??je,b(function(e,n){var i,o=!0;e.subscribe(m(n,function(u){var s=r(u);(o||!t(i,s))&&(o=!1,i=s,n.next(u))}))})}function je(t,r){return t===r}function ke(t){return t===void 0&&(t=Ce),b(function(r,e){var n=!1;r.subscribe(m(e,function(i){n=!0,e.next(i)},function(){return n?e.complete():e.error(t())}))})}function Ce(){return new G}function Re(t,r){var e=arguments.length>=2;return function(n){return n.pipe(t?Q(function(i,o){return t(i,o,n)}):E,Pe(1),e?Oe(r):ke(function(){return new G}))}}function Ue(t){t===void 0&&(t={});var r=t.connector,e=r===void 0?function(){return new U}:r,n=t.resetOnError,i=n===void 0?!0:n,o=t.resetOnComplete,u=o===void 0?!0:o,s=t.resetOnRefCountZero,a=s===void 0?!0:s;return function(c){var f,v,p,l=0,y=!1,h=!1,g=function(){v?.unsubscribe(),v=void 0},_=function(){g(),f=p=void 0,y=h=!1},C=function(){var R=f;_(),R?.unsubscribe()};return b(function(R,N){l++,!h&&!y&&g();var V=p=p??e();N.add(function(){l--,l===0&&!h&&!y&&(v=X(C,a))}),V.subscribe(N),!f&&l>0&&(f=new k({next:function(F){return V.next(F)},error:function(F){h=!0,g(),v=X(_,i,F),V.error(F)},complete:function(){y=!0,g(),v=X(_,u),V.complete()}}),x(R).subscribe(f))})(c)}}function X(t,r){for(var e=[],n=2;n<arguments.length;n++)e[n-2]=arguments[n];if(r===!0){t();return}if(r!==!1){var i=new k({next:function(){i.unsubscribe(),t()}});return x(r.apply(void 0,P([],O(e)))).subscribe(i)}}function Ve(t,r,e){var n,i,o,u,s=!1;return t&&typeof t=="object"?(n=t.bufferSize,u=n===void 0?1/0:n,i=t.windowTime,r=i===void 0?1/0:i,o=t.refCount,s=o===void 0?!1:o,e=t.scheduler):u=t??1/0,Ue({connector:function(){return new ct(u,r,e)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:s})}function Fe(t){return Q(function(r,e){return t<=e})}function Le(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var e=Y(t);return b(function(n,i){(e?At(t,n,e):At(t,n)).subscribe(i)})}function Me(t,r){return b(function(e,n){var i=null,o=0,u=!1,s=function(){return u&&!i&&n.complete()};e.subscribe(m(n,function(a){i?.unsubscribe();var c=0,f=o++;x(t(a,f)).subscribe(i=m(n,function(v){return n.next(r?r(a,v,f,c++):v)},function(){i=null,s()}))},function(){u=!0,s()}))})}function We(t){return b(function(r,e){x(t).subscribe(m(e,function(){return e.complete()},$)),!e.closed&&r.subscribe(e)})}function Ye(t,r,e){var n=d(t)||r||e?{next:t,error:r,complete:e}:t;return n?b(function(i,o){var u;(u=n.subscribe)===null||u===void 0||u.call(n);var s=!0;i.subscribe(m(o,function(a){var c;(c=n.next)===null||c===void 0||c.call(n,a),o.next(a)},function(){var a;s=!1,(a=n.complete)===null||a===void 0||a.call(n),o.complete()},function(a){var c;s=!1,(c=n.error)===null||c===void 0||c.call(n,a),o.error(a)},function(){var a,c;s&&((a=n.unsubscribe)===null||a===void 0||a.call(n)),(c=n.finalize)===null||c===void 0||c.call(n)}))}):E}export{qt as BehaviorSubject,w as Observable,ct as ReplaySubject,U as Subject,j as Subscription,ge as combineLatest,Ae as debounceTime,Te as distinctUntilChanged,Q as filter,Re as first,fe as firstValueFrom,se as lastValueFrom,z as map,ae as of,Ve as shareReplay,Fe as skip,Le as startWith,Me as switchMap,We as takeUntil,Ye as tap};
|
|
1
|
+
var K=function(t,n){return K=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])},K(t,n)};function S(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");K(t,n);function e(){this.constructor=t}t.prototype=n===null?Object.create(n):(e.prototype=n.prototype,new e)}function Pt(t,n,e,r){function i(o){return o instanceof e?o:new e(function(u){u(o)})}return new(e||(e=Promise))(function(o,u){function s(f){try{c(r.next(f))}catch(v){u(v)}}function a(f){try{c(r.throw(f))}catch(v){u(v)}}function c(f){f.done?o(f.value):i(f.value).then(s,a)}c((r=r.apply(t,n||[])).next())})}function tt(t,n){var e={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,u=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return u.next=s(0),u.throw=s(1),u.return=s(2),typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function s(c){return function(f){return a([c,f])}}function a(c){if(r)throw new TypeError("Generator is already executing.");for(;u&&(u=0,c[0]&&(e=0)),e;)try{if(r=1,i&&(o=c[0]&2?i.return:c[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,c[1])).done)return o;switch(i=0,o&&(c=[c[0]&2,o.value]),c[0]){case 0:case 1:o=c;break;case 4:return e.label++,{value:c[1],done:!1};case 5:e.label++,i=c[1],c=[0];continue;case 7:c=e.ops.pop(),e.trys.pop();continue;default:if(o=e.trys,!(o=o.length>0&&o[o.length-1])&&(c[0]===6||c[0]===2)){e=0;continue}if(c[0]===3&&(!o||c[1]>o[0]&&c[1]<o[3])){e.label=c[1];break}if(c[0]===6&&e.label<o[1]){e.label=o[1],o=c;break}if(o&&e.label<o[2]){e.label=o[2],e.ops.push(c);break}o[2]&&e.ops.pop(),e.trys.pop();continue}c=n.call(t,e)}catch(f){c=[6,f],i=0}finally{r=o=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}function A(t){var n=typeof Symbol=="function"&&Symbol.iterator,e=n&&t[n],r=0;if(e)return e.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function O(t,n){var e=typeof Symbol=="function"&&t[Symbol.iterator];if(!e)return t;var r=e.call(t),i,o=[],u;try{for(;(n===void 0||n-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(s){u={error:s}}finally{try{i&&!i.done&&(e=r.return)&&e.call(r)}finally{if(u)throw u.error}}return o}function P(t,n,e){if(e||arguments.length===2)for(var r=0,i=n.length,o;r<i;r++)(o||!(r in n))&&(o||(o=Array.prototype.slice.call(n,0,r)),o[r]=n[r]);return t.concat(o||Array.prototype.slice.call(n))}function T(t){return this instanceof T?(this.v=t,this):new T(t)}function Tt(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=e.apply(t,n||[]),i,o=[];return i=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),s("next"),s("throw"),s("return",u),i[Symbol.asyncIterator]=function(){return this},i;function u(l){return function(y){return Promise.resolve(y).then(l,v)}}function s(l,y){r[l]&&(i[l]=function(h){return new Promise(function(_,x){o.push([l,h,_,x])>1||a(l,h)})},y&&(i[l]=y(i[l])))}function a(l,y){try{c(r[l](y))}catch(h){p(o[0][3],h)}}function c(l){l.value instanceof T?Promise.resolve(l.value.v).then(f,v):p(o[0][2],l)}function f(l){a("next",l)}function v(l){a("throw",l)}function p(l,y){l(y),o.shift(),o.length&&a(o[0][0],o[0][1])}}function jt(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=t[Symbol.asyncIterator],e;return n?n.call(t):(t=typeof A=="function"?A(t):t[Symbol.iterator](),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(o){e[o]=t[o]&&function(u){return new Promise(function(s,a){u=t[o](u),i(s,a,u.done,u.value)})}}function i(o,u,s,a){Promise.resolve(a).then(function(c){o({value:c,done:s})},u)}}typeof SuppressedError=="function"&&SuppressedError;function d(t){return typeof t=="function"}function Z(t){var n=function(r){Error.call(r),r.stack=new Error().stack},e=t(n);return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var D=Z(function(t){return function(e){t(this),this.message=e?e.length+` errors occurred during unsubscription:
|
|
2
|
+
`+e.map(function(r,i){return i+1+") "+r.toString()}).join(`
|
|
3
|
+
`):"",this.name="UnsubscriptionError",this.errors=e}});function M(t,n){if(t){var e=t.indexOf(n);0<=e&&t.splice(e,1)}}var j=function(){function t(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}return t.prototype.unsubscribe=function(){var n,e,r,i,o;if(!this.closed){this.closed=!0;var u=this._parentage;if(u)if(this._parentage=null,Array.isArray(u))try{for(var s=A(u),a=s.next();!a.done;a=s.next()){var c=a.value;c.remove(this)}}catch(h){n={error:h}}finally{try{a&&!a.done&&(e=s.return)&&e.call(s)}finally{if(n)throw n.error}}else u.remove(this);var f=this.initialTeardown;if(d(f))try{f()}catch(h){o=h instanceof D?h.errors:[h]}var v=this._finalizers;if(v){this._finalizers=null;try{for(var p=A(v),l=p.next();!l.done;l=p.next()){var y=l.value;try{rt(y)}catch(h){o=o??[],h instanceof D?o=P(P([],O(o)),O(h.errors)):o.push(h)}}}catch(h){r={error:h}}finally{try{l&&!l.done&&(i=p.return)&&i.call(p)}finally{if(r)throw r.error}}}if(o)throw new D(o)}},t.prototype.add=function(n){var e;if(n&&n!==this)if(this.closed)rt(n);else{if(n instanceof t){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(n)}},t.prototype._hasParent=function(n){var e=this._parentage;return e===n||Array.isArray(e)&&e.includes(n)},t.prototype._addParent=function(n){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(n),e):e?[e,n]:n},t.prototype._removeParent=function(n){var e=this._parentage;e===n?this._parentage=null:Array.isArray(e)&&M(e,n)},t.prototype.remove=function(n){var e=this._finalizers;e&&M(e,n),n instanceof t&&n._removeParent(this)},t.EMPTY=function(){var n=new t;return n.closed=!0,n}(),t}(),et=j.EMPTY;function nt(t){return t instanceof j||t&&"closed"in t&&d(t.remove)&&d(t.add)&&d(t.unsubscribe)}function rt(t){d(t)?t():t.unsubscribe()}var kt={Promise:void 0},Ct={setTimeout:function(t,n){for(var e=[],r=2;r<arguments.length;r++)e[r-2]=arguments[r];return setTimeout.apply(void 0,P([t,n],O(e)))},clearTimeout:function(t){return clearTimeout(t)},delegate:void 0};function it(t){Ct.setTimeout(function(){throw t})}function $(){}function W(t){t()}var B=function(t){S(n,t);function n(e){var r=t.call(this)||this;return r.isStopped=!1,e?(r.destination=e,nt(e)&&e.add(r)):r.destination=Vt,r}return n.create=function(e,r,i){return new k(e,r,i)},n.prototype.next=function(e){this.isStopped||this._next(e)},n.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},n.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},n.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this),this.destination=null)},n.prototype._next=function(e){this.destination.next(e)},n.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},n.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},n}(j),Rt=function(){function t(n){this.partialObserver=n}return t.prototype.next=function(n){var e=this.partialObserver;if(e.next)try{e.next(n)}catch(r){Y(r)}},t.prototype.error=function(n){var e=this.partialObserver;if(e.error)try{e.error(n)}catch(r){Y(r)}else Y(n)},t.prototype.complete=function(){var n=this.partialObserver;if(n.complete)try{n.complete()}catch(e){Y(e)}},t}(),k=function(t){S(n,t);function n(e,r,i){var o=t.call(this)||this,u;return d(e)||!e?u={next:e??void 0,error:r??void 0,complete:i??void 0}:u=e,o.destination=new Rt(u),o}return n}(B);function Y(t){it(t)}function Ut(t){throw t}var Vt={closed:!0,next:$,error:Ut,complete:$},H=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function E(t){return t}function Ft(t){return t.length===0?E:t.length===1?t[0]:function(e){return t.reduce(function(r,i){return i(r)},e)}}var w=function(){function t(n){n&&(this._subscribe=n)}return t.prototype.lift=function(n){var e=new t;return e.source=this,e.operator=n,e},t.prototype.subscribe=function(n,e,r){var i=this,o=Mt(n)?n:new k(n,e,r);return W(function(){var u=i,s=u.operator,a=u.source;o.add(s?s.call(o,a):a?i._subscribe(o):i._trySubscribe(o))}),o},t.prototype._trySubscribe=function(n){try{return this._subscribe(n)}catch(e){n.error(e)}},t.prototype.forEach=function(n,e){var r=this;return e=ot(e),new e(function(i,o){var u=new k({next:function(s){try{n(s)}catch(a){o(a),u.unsubscribe()}},error:o,complete:i});r.subscribe(u)})},t.prototype._subscribe=function(n){var e;return(e=this.source)===null||e===void 0?void 0:e.subscribe(n)},t.prototype[H]=function(){return this},t.prototype.pipe=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return Ft(n)(this)},t.prototype.toPromise=function(n){var e=this;return n=ot(n),new n(function(r,i){var o;e.subscribe(function(u){return o=u},function(u){return i(u)},function(){return r(o)})})},t.create=function(n){return new t(n)},t}();function ot(t){var n;return(n=t??kt.Promise)!==null&&n!==void 0?n:Promise}function Lt(t){return t&&d(t.next)&&d(t.error)&&d(t.complete)}function Mt(t){return t&&t instanceof B||Lt(t)&&nt(t)}function Wt(t){return d(t?.lift)}function b(t){return function(n){if(Wt(n))return n.lift(function(e){try{return t(e,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function m(t,n,e,r,i){return new Yt(t,n,e,r,i)}var Yt=function(t){S(n,t);function n(e,r,i,o,u,s){var a=t.call(this,e)||this;return a.onFinalize=u,a.shouldUnsubscribe=s,a._next=r?function(c){try{r(c)}catch(f){e.error(f)}}:t.prototype._next,a._error=o?function(c){try{o(c)}catch(f){e.error(f)}finally{this.unsubscribe()}}:t.prototype._error,a._complete=i?function(){try{i()}catch(c){e.error(c)}finally{this.unsubscribe()}}:t.prototype._complete,a}return n.prototype.unsubscribe=function(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var r=this.closed;t.prototype.unsubscribe.call(this),!r&&((e=this.onFinalize)===null||e===void 0||e.call(this))}},n}(B),qt=Z(function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),U=function(t){S(n,t);function n(){var e=t.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return n.prototype.lift=function(e){var r=new ut(this,this);return r.operator=e,r},n.prototype._throwIfClosed=function(){if(this.closed)throw new qt},n.prototype.next=function(e){var r=this;W(function(){var i,o;if(r._throwIfClosed(),!r.isStopped){r.currentObservers||(r.currentObservers=Array.from(r.observers));try{for(var u=A(r.currentObservers),s=u.next();!s.done;s=u.next()){var a=s.value;a.next(e)}}catch(c){i={error:c}}finally{try{s&&!s.done&&(o=u.return)&&o.call(u)}finally{if(i)throw i.error}}}})},n.prototype.error=function(e){var r=this;W(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=e;for(var i=r.observers;i.length;)i.shift().error(e)}})},n.prototype.complete=function(){var e=this;W(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var r=e.observers;r.length;)r.shift().complete()}})},n.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(n.prototype,"observed",{get:function(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0},enumerable:!1,configurable:!0}),n.prototype._trySubscribe=function(e){return this._throwIfClosed(),t.prototype._trySubscribe.call(this,e)},n.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},n.prototype._innerSubscribe=function(e){var r=this,i=this,o=i.hasError,u=i.isStopped,s=i.observers;return o||u?et:(this.currentObservers=null,s.push(e),new j(function(){r.currentObservers=null,M(s,e)}))},n.prototype._checkFinalizedStatuses=function(e){var r=this,i=r.hasError,o=r.thrownError,u=r.isStopped;i?e.error(o):u&&e.complete()},n.prototype.asObservable=function(){var e=new w;return e.source=this,e},n.create=function(e,r){return new ut(e,r)},n}(w),ut=function(t){S(n,t);function n(e,r){var i=t.call(this)||this;return i.destination=e,i.source=r,i}return n.prototype.next=function(e){var r,i;(i=(r=this.destination)===null||r===void 0?void 0:r.next)===null||i===void 0||i.call(r,e)},n.prototype.error=function(e){var r,i;(i=(r=this.destination)===null||r===void 0?void 0:r.error)===null||i===void 0||i.call(r,e)},n.prototype.complete=function(){var e,r;(r=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||r===void 0||r.call(e)},n.prototype._subscribe=function(e){var r,i;return(i=(r=this.source)===null||r===void 0?void 0:r.subscribe(e))!==null&&i!==void 0?i:et},n}(U),Gt=function(t){S(n,t);function n(e){var r=t.call(this)||this;return r._value=e,r}return Object.defineProperty(n.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),n.prototype._subscribe=function(e){var r=t.prototype._subscribe.call(this,e);return!r.closed&&e.next(this._value),r},n.prototype.getValue=function(){var e=this,r=e.hasError,i=e.thrownError,o=e._value;if(r)throw i;return this._throwIfClosed(),o},n.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},n}(U),J={now:function(){return(J.delegate||Date).now()},delegate:void 0},ct=function(t){S(n,t);function n(e,r,i){e===void 0&&(e=1/0),r===void 0&&(r=1/0),i===void 0&&(i=J);var o=t.call(this)||this;return o._bufferSize=e,o._windowTime=r,o._timestampProvider=i,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=r===1/0,o._bufferSize=Math.max(1,e),o._windowTime=Math.max(1,r),o}return n.prototype.next=function(e){var r=this,i=r.isStopped,o=r._buffer,u=r._infiniteTimeWindow,s=r._timestampProvider,a=r._windowTime;i||(o.push(e),!u&&o.push(s.now()+a)),this._trimBuffer(),t.prototype.next.call(this,e)},n.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var r=this._innerSubscribe(e),i=this,o=i._infiniteTimeWindow,u=i._buffer,s=u.slice(),a=0;a<s.length&&!e.closed;a+=o?1:2)e.next(s[a]);return this._checkFinalizedStatuses(e),r},n.prototype._trimBuffer=function(){var e=this,r=e._bufferSize,i=e._timestampProvider,o=e._buffer,u=e._infiniteTimeWindow,s=(u?1:2)*r;if(r<1/0&&s<o.length&&o.splice(0,o.length-s),!u){for(var a=i.now(),c=0,f=1;f<o.length&&o[f]<=a;f+=2)c=f;c&&o.splice(0,c+1)}},n}(U),Kt=function(t){S(n,t);function n(e,r){return t.call(this)||this}return n.prototype.schedule=function(e,r){return this},n}(j),at={setInterval:function(t,n){for(var e=[],r=2;r<arguments.length;r++)e[r-2]=arguments[r];return setInterval.apply(void 0,P([t,n],O(e)))},clearInterval:function(t){return clearInterval(t)},delegate:void 0},Zt=function(t){S(n,t);function n(e,r){var i=t.call(this,e,r)||this;return i.scheduler=e,i.work=r,i.pending=!1,i}return n.prototype.schedule=function(e,r){var i;if(r===void 0&&(r=0),this.closed)return this;this.state=e;var o=this.id,u=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(u,o,r)),this.pending=!0,this.delay=r,this.id=(i=this.id)!==null&&i!==void 0?i:this.requestAsyncId(u,this.id,r),this},n.prototype.requestAsyncId=function(e,r,i){return i===void 0&&(i=0),at.setInterval(e.flush.bind(e,this),i)},n.prototype.recycleAsyncId=function(e,r,i){if(i===void 0&&(i=0),i!=null&&this.delay===i&&this.pending===!1)return r;r!=null&&at.clearInterval(r)},n.prototype.execute=function(e,r){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var i=this._execute(e,r);if(i)return i;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},n.prototype._execute=function(e,r){var i=!1,o;try{this.work(e)}catch(u){i=!0,o=u||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),o},n.prototype.unsubscribe=function(){if(!this.closed){var e=this,r=e.id,i=e.scheduler,o=i.actions;this.work=this.state=this.scheduler=null,this.pending=!1,M(o,this),r!=null&&(this.id=this.recycleAsyncId(i,r,null)),this.delay=null,t.prototype.unsubscribe.call(this)}},n}(Kt),st=function(){function t(n,e){e===void 0&&(e=t.now),this.schedulerActionCtor=n,this.now=e}return t.prototype.schedule=function(n,e,r){return e===void 0&&(e=0),new this.schedulerActionCtor(this,n).schedule(r,e)},t.now=J.now,t}(),Dt=function(t){S(n,t);function n(e,r){r===void 0&&(r=st.now);var i=t.call(this,e,r)||this;return i.actions=[],i._active=!1,i}return n.prototype.flush=function(e){var r=this.actions;if(this._active){r.push(e);return}var i;this._active=!0;do if(i=e.execute(e.state,e.delay))break;while(e=r.shift());if(this._active=!1,i){for(;e=r.shift();)e.unsubscribe();throw i}},n}(st),$t=new Dt(Zt),Bt=new w(function(t){return t.complete()});function Ht(t){return t&&d(t.schedule)}function ft(t){return t[t.length-1]}function Jt(t){return d(ft(t))?t.pop():void 0}function q(t){return Ht(ft(t))?t.pop():void 0}var lt=function(t){return t&&typeof t.length=="number"&&typeof t!="function"};function ht(t){return d(t?.then)}function vt(t){return d(t[H])}function dt(t){return Symbol.asyncIterator&&d(t?.[Symbol.asyncIterator])}function pt(t){return new TypeError("You provided "+(t!==null&&typeof t=="object"?"an invalid object":"'"+t+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}function zt(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var yt=zt();function bt(t){return d(t?.[yt])}function mt(t){return Tt(this,arguments,function(){var e,r,i,o;return tt(this,function(u){switch(u.label){case 0:e=t.getReader(),u.label=1;case 1:u.trys.push([1,,9,10]),u.label=2;case 2:return[4,T(e.read())];case 3:return r=u.sent(),i=r.value,o=r.done,o?[4,T(void 0)]:[3,5];case 4:return[2,u.sent()];case 5:return[4,T(i)];case 6:return[4,u.sent()];case 7:return u.sent(),[3,2];case 8:return[3,10];case 9:return e.releaseLock(),[7];case 10:return[2]}})})}function wt(t){return d(t?.getReader)}function g(t){if(t instanceof w)return t;if(t!=null){if(vt(t))return Qt(t);if(lt(t))return Xt(t);if(ht(t))return Nt(t);if(dt(t))return St(t);if(bt(t))return te(t);if(wt(t))return ee(t)}throw pt(t)}function Qt(t){return new w(function(n){var e=t[H]();if(d(e.subscribe))return e.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Xt(t){return new w(function(n){for(var e=0;e<t.length&&!n.closed;e++)n.next(t[e]);n.complete()})}function Nt(t){return new w(function(n){t.then(function(e){n.closed||(n.next(e),n.complete())},function(e){return n.error(e)}).then(null,it)})}function te(t){return new w(function(n){var e,r;try{for(var i=A(t),o=i.next();!o.done;o=i.next()){var u=o.value;if(n.next(u),n.closed)return}}catch(s){e={error:s}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}n.complete()})}function St(t){return new w(function(n){ne(t,n).catch(function(e){return n.error(e)})})}function ee(t){return St(mt(t))}function ne(t,n){var e,r,i,o;return Pt(this,void 0,void 0,function(){var u,s;return tt(this,function(a){switch(a.label){case 0:a.trys.push([0,5,6,11]),e=jt(t),a.label=1;case 1:return[4,e.next()];case 2:if(r=a.sent(),!!r.done)return[3,4];if(u=r.value,n.next(u),n.closed)return[2];a.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return s=a.sent(),i={error:s},[3,11];case 6:return a.trys.push([6,,9,10]),r&&!r.done&&(o=e.return)?[4,o.call(e)]:[3,8];case 7:a.sent(),a.label=8;case 8:return[3,10];case 9:if(i)throw i.error;return[7];case 10:return[7];case 11:return n.complete(),[2]}})})}function I(t,n,e,r,i){r===void 0&&(r=0),i===void 0&&(i=!1);var o=n.schedule(function(){e(),i?t.add(this.schedule(null,r)):this.unsubscribe()},r);if(t.add(o),!i)return o}function gt(t,n){return n===void 0&&(n=0),b(function(e,r){e.subscribe(m(r,function(i){return I(r,t,function(){return r.next(i)},n)},function(){return I(r,t,function(){return r.complete()},n)},function(i){return I(r,t,function(){return r.error(i)},n)}))})}function _t(t,n){return n===void 0&&(n=0),b(function(e,r){r.add(t.schedule(function(){return e.subscribe(r)},n))})}function re(t,n){return g(t).pipe(_t(n),gt(n))}function ie(t,n){return g(t).pipe(_t(n),gt(n))}function oe(t,n){return new w(function(e){var r=0;return n.schedule(function(){r===t.length?e.complete():(e.next(t[r++]),e.closed||this.schedule())})})}function ue(t,n){return new w(function(e){var r;return I(e,n,function(){r=t[yt](),I(e,n,function(){var i,o,u;try{i=r.next(),o=i.value,u=i.done}catch(s){e.error(s);return}u?e.complete():e.next(o)},0,!0)}),function(){return d(r?.return)&&r.return()}})}function xt(t,n){if(!t)throw new Error("Iterable cannot be null");return new w(function(e){I(e,n,function(){var r=t[Symbol.asyncIterator]();I(e,n,function(){r.next().then(function(i){i.done?e.complete():e.next(i.value)})},0,!0)})})}function ce(t,n){return xt(mt(t),n)}function ae(t,n){if(t!=null){if(vt(t))return re(t,n);if(lt(t))return oe(t,n);if(ht(t))return ie(t,n);if(dt(t))return xt(t,n);if(bt(t))return ue(t,n);if(wt(t))return ce(t,n)}throw pt(t)}function V(t,n){return n?ae(t,n):g(t)}function se(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var e=q(t);return V(t,e)}var G=Z(function(t){return function(){t(this),this.name="EmptyError",this.message="no elements in sequence"}});function fe(t,n){var e=typeof n=="object";return new Promise(function(r,i){var o=!1,u;t.subscribe({next:function(s){u=s,o=!0},error:i,complete:function(){o?r(u):e?r(n.defaultValue):i(new G)}})})}function le(t,n){var e=typeof n=="object";return new Promise(function(r,i){var o=new k({next:function(u){r(u),o.unsubscribe()},error:i,complete:function(){e?r(n.defaultValue):i(new G)}});t.subscribe(o)})}function z(t,n){return b(function(e,r){var i=0;e.subscribe(m(r,function(o){r.next(t.call(n,o,i++))}))})}var he=Array.isArray;function ve(t,n){return he(n)?t.apply(void 0,P([],O(n))):t(n)}function de(t){return z(function(n){return ve(t,n)})}var pe=Array.isArray,ye=Object.getPrototypeOf,be=Object.prototype,me=Object.keys;function we(t){if(t.length===1){var n=t[0];if(pe(n))return{args:n,keys:null};if(Se(n)){var e=me(n);return{args:e.map(function(r){return n[r]}),keys:e}}}return{args:t,keys:null}}function Se(t){return t&&typeof t=="object"&&ye(t)===be}function ge(t,n){return t.reduce(function(e,r,i){return e[r]=n[i],e},{})}function _e(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var e=q(t),r=Jt(t),i=we(t),o=i.args,u=i.keys;if(o.length===0)return V([],e);var s=new w(xe(o,e,u?function(a){return ge(u,a)}:E));return r?s.pipe(de(r)):s}function xe(t,n,e){return e===void 0&&(e=E),function(r){It(n,function(){for(var i=t.length,o=new Array(i),u=i,s=i,a=function(f){It(n,function(){var v=V(t[f],n),p=!1;v.subscribe(m(r,function(l){o[f]=l,p||(p=!0,s--),s||r.next(e(o.slice()))},function(){--u||r.complete()}))},r)},c=0;c<i;c++)a(c)},r)}}function It(t,n,e){t?I(e,t,n):n()}function Ie(t,n,e,r,i,o,u,s){var a=[],c=0,f=0,v=!1,p=function(){v&&!a.length&&!c&&n.complete()},l=function(h){return c<r?y(h):a.push(h)},y=function(h){c++;var _=!1;g(e(h,f++)).subscribe(m(n,function(x){n.next(x)},function(){_=!0},void 0,function(){if(_)try{c--;for(var x=function(){var C=a.shift();u||y(C)};a.length&&c<r;)x();p()}catch(C){n.error(C)}}))};return t.subscribe(m(n,l,function(){v=!0,p()})),function(){}}function Et(t,n,e){return e===void 0&&(e=1/0),d(n)?Et(function(r,i){return z(function(o,u){return n(r,o,i,u)})(g(t(r,i)))},e):(typeof n=="number"&&(e=n),b(function(r,i){return Ie(r,i,t,e)}))}function Ee(t){return Et(E,t)}function Ae(){return Ee(1)}function At(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return Ae()(V(t,q(t)))}function Q(t,n){return b(function(e,r){var i=0;e.subscribe(m(r,function(o){return t.call(n,o,i++)&&r.next(o)}))})}function Ot(t){return b(function(n,e){var r=null,i=!1,o;r=n.subscribe(m(e,void 0,void 0,function(u){o=g(t(u,Ot(t)(n))),r?(r.unsubscribe(),r=null,o.subscribe(e)):i=!0})),i&&(r.unsubscribe(),r=null,o.subscribe(e))})}function Oe(t,n){return n===void 0&&(n=$t),b(function(e,r){var i=null,o=null,u=null,s=function(){if(i){i.unsubscribe(),i=null;var c=o;o=null,r.next(c)}};function a(){var c=u+t,f=n.now();if(f<c){i=this.schedule(void 0,c-f),r.add(i);return}s()}e.subscribe(m(r,function(c){o=c,u=n.now(),i||(i=n.schedule(a,t),r.add(i))},function(){s(),r.complete()},void 0,function(){o=i=null}))})}function Pe(t){return b(function(n,e){var r=!1;n.subscribe(m(e,function(i){r=!0,e.next(i)},function(){r||e.next(t),e.complete()}))})}function Te(t){return t<=0?function(){return Bt}:b(function(n,e){var r=0;n.subscribe(m(e,function(i){++r<=t&&(e.next(i),t<=r&&e.complete())}))})}function je(t,n){return n===void 0&&(n=E),t=t??ke,b(function(e,r){var i,o=!0;e.subscribe(m(r,function(u){var s=n(u);(o||!t(i,s))&&(o=!1,i=s,r.next(u))}))})}function ke(t,n){return t===n}function Ce(t){return t===void 0&&(t=Re),b(function(n,e){var r=!1;n.subscribe(m(e,function(i){r=!0,e.next(i)},function(){return r?e.complete():e.error(t())}))})}function Re(){return new G}function Ue(t,n){var e=arguments.length>=2;return function(r){return r.pipe(t?Q(function(i,o){return t(i,o,r)}):E,Te(1),e?Pe(n):Ce(function(){return new G}))}}function Ve(t){t===void 0&&(t={});var n=t.connector,e=n===void 0?function(){return new U}:n,r=t.resetOnError,i=r===void 0?!0:r,o=t.resetOnComplete,u=o===void 0?!0:o,s=t.resetOnRefCountZero,a=s===void 0?!0:s;return function(c){var f,v,p,l=0,y=!1,h=!1,_=function(){v?.unsubscribe(),v=void 0},x=function(){_(),f=p=void 0,y=h=!1},C=function(){var R=f;x(),R?.unsubscribe()};return b(function(R,N){l++,!h&&!y&&_();var F=p=p??e();N.add(function(){l--,l===0&&!h&&!y&&(v=X(C,a))}),F.subscribe(N),!f&&l>0&&(f=new k({next:function(L){return F.next(L)},error:function(L){h=!0,_(),v=X(x,i,L),F.error(L)},complete:function(){y=!0,_(),v=X(x,u),F.complete()}}),g(R).subscribe(f))})(c)}}function X(t,n){for(var e=[],r=2;r<arguments.length;r++)e[r-2]=arguments[r];if(n===!0){t();return}if(n!==!1){var i=new k({next:function(){i.unsubscribe(),t()}});return g(n.apply(void 0,P([],O(e)))).subscribe(i)}}function Fe(t,n,e){var r,i,o,u,s=!1;return t&&typeof t=="object"?(r=t.bufferSize,u=r===void 0?1/0:r,i=t.windowTime,n=i===void 0?1/0:i,o=t.refCount,s=o===void 0?!1:o,e=t.scheduler):u=t??1/0,Ve({connector:function(){return new ct(u,n,e)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:s})}function Le(t){return Q(function(n,e){return t<=e})}function Me(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var e=q(t);return b(function(r,i){(e?At(t,r,e):At(t,r)).subscribe(i)})}function We(t,n){return b(function(e,r){var i=null,o=0,u=!1,s=function(){return u&&!i&&r.complete()};e.subscribe(m(r,function(a){i?.unsubscribe();var c=0,f=o++;g(t(a,f)).subscribe(i=m(r,function(v){return r.next(n?n(a,v,f,c++):v)},function(){i=null,s()}))},function(){u=!0,s()}))})}function Ye(t){return b(function(n,e){g(t).subscribe(m(e,function(){return e.complete()},$)),!e.closed&&n.subscribe(e)})}function qe(t,n,e){var r=d(t)||n||e?{next:t,error:n,complete:e}:t;return r?b(function(i,o){var u;(u=r.subscribe)===null||u===void 0||u.call(r);var s=!0;i.subscribe(m(o,function(a){var c;(c=r.next)===null||c===void 0||c.call(r,a),o.next(a)},function(){var a;s=!1,(a=r.complete)===null||a===void 0||a.call(r),o.complete()},function(a){var c;s=!1,(c=r.error)===null||c===void 0||c.call(r,a),o.error(a)},function(){var a,c;s&&((a=r.unsubscribe)===null||a===void 0||a.call(r)),(c=r.finalize)===null||c===void 0||c.call(r)}))}):E}export{Gt as BehaviorSubject,w as Observable,ct as ReplaySubject,U as Subject,j as Subscription,Ot as catchError,_e as combineLatest,Oe as debounceTime,je as distinctUntilChanged,Q as filter,Ue as first,le as firstValueFrom,V as from,fe as lastValueFrom,z as map,se as of,Fe as shareReplay,Le as skip,Me as startWith,We as switchMap,Ye as takeUntil,qe as tap};
|