@alfresco/aca-shared 4.4.1 → 4.5.0-10004013253
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/esm2020/lib/adf-extensions/extensions-data-loader.guard.mjs +2 -2
- package/esm2020/lib/components/document-base-page/document-base-page.component.mjs +8 -6
- package/esm2020/lib/components/document-base-page/document-base-page.service.mjs +2 -2
- package/esm2020/lib/components/generic-error/generic-error.component.mjs +2 -2
- package/esm2020/lib/components/info-drawer/info-drawer.component.mjs +5 -6
- package/esm2020/lib/components/locked-by/locked-by.component.mjs +2 -2
- package/esm2020/lib/components/open-in-app/open-in-app.component.mjs +2 -2
- package/esm2020/lib/components/page-layout/page-layout-content.component.mjs +2 -2
- package/esm2020/lib/components/page-layout/page-layout-error.component.mjs +2 -2
- package/esm2020/lib/components/page-layout/page-layout-header.component.mjs +2 -2
- package/esm2020/lib/components/page-layout/page-layout.component.mjs +2 -2
- package/esm2020/lib/components/page-layout/page-layout.module.mjs +2 -2
- package/esm2020/lib/components/toolbar/toolbar-action/toolbar-action.component.mjs +5 -6
- package/esm2020/lib/components/toolbar/toolbar-button/toolbar-button.component.mjs +2 -2
- package/esm2020/lib/components/toolbar/toolbar-menu/toolbar-menu.component.mjs +6 -8
- package/esm2020/lib/components/toolbar/toolbar-menu-item/toolbar-menu-item.component.mjs +8 -10
- package/esm2020/lib/components/toolbar/toolbar.component.mjs +2 -2
- package/esm2020/lib/constants/index.mjs +25 -0
- package/esm2020/lib/constants/mime-types.mjs +213 -0
- package/esm2020/lib/deprecated/shared-toolbar.module.mjs +5 -28
- package/esm2020/lib/deprecated/shared.module.mjs +2 -2
- package/esm2020/lib/directives/contextmenu/contextmenu.directive.mjs +2 -2
- package/esm2020/lib/directives/pagination.directive.mjs +2 -2
- package/esm2020/lib/models/types.mjs +2 -2
- package/esm2020/lib/models/viewer.rules.mjs +2 -2
- package/esm2020/lib/routing/plugin-enabled.guard.mjs +54 -0
- package/esm2020/lib/routing/shared.guard.mjs +2 -2
- package/esm2020/lib/services/aca-file-auto-download.service.mjs +2 -2
- package/esm2020/lib/services/aca-mobile-app-switcher.service.mjs +2 -2
- package/esm2020/lib/services/app-hook.service.mjs +2 -2
- package/esm2020/lib/services/app-settings.service.mjs +98 -0
- package/esm2020/lib/services/app.extension.service.mjs +3 -20
- package/esm2020/lib/services/app.service.mjs +18 -37
- package/esm2020/lib/services/content-api.service.mjs +2 -2
- package/esm2020/lib/services/node-permission.service.mjs +2 -2
- package/esm2020/lib/services/router.extension.service.mjs +2 -2
- package/esm2020/lib/testing/lib-testing-module.mjs +31 -9
- package/esm2020/lib/utils/node.utils.mjs +2 -2
- package/esm2020/public-api.mjs +5 -3
- package/esm2020/rules/app.rules.mjs +10 -24
- package/esm2020/rules/navigation.rules.mjs +2 -2
- package/esm2020/rules/public-api.mjs +2 -2
- package/esm2020/rules/repository.rules.mjs +2 -2
- package/esm2020/rules/user.rules.mjs +2 -2
- package/esm2020/store/actions/app-action-types.mjs +2 -3
- package/esm2020/store/actions/app.actions.mjs +2 -8
- package/esm2020/store/actions/context-menu-action-types.mjs +2 -2
- package/esm2020/store/actions/contextmenu.actions.mjs +2 -2
- package/esm2020/store/actions/library.actions.mjs +2 -2
- package/esm2020/store/actions/metadata-aspect.actions.mjs +2 -2
- package/esm2020/store/actions/node.actions.mjs +2 -2
- package/esm2020/store/actions/router-action-types.mjs +2 -2
- package/esm2020/store/actions/router.actions.mjs +2 -2
- package/esm2020/store/actions/search.actions.mjs +2 -2
- package/esm2020/store/actions/snackbar.actions.mjs +2 -2
- package/esm2020/store/actions/template-action-types.mjs +2 -2
- package/esm2020/store/actions/template.actions.mjs +2 -2
- package/esm2020/store/actions/upload.actions.mjs +2 -2
- package/esm2020/store/actions/viewer.actions.mjs +4 -4
- package/esm2020/store/effects/dialog.effects.mjs +2 -2
- package/esm2020/store/effects/router.effects.mjs +2 -2
- package/esm2020/store/effects/snackbar.effects.mjs +2 -2
- package/esm2020/store/models/delete-status.model.mjs +2 -2
- package/esm2020/store/models/deleted-node-info.model.mjs +2 -2
- package/esm2020/store/models/modal-configuration.mjs +2 -2
- package/esm2020/store/models/node-info.model.mjs +2 -2
- package/esm2020/store/models/search-option.model.mjs +2 -2
- package/esm2020/store/public-api.mjs +2 -2
- package/esm2020/store/selectors/app.selectors.mjs +4 -8
- package/esm2020/store/states/app.state.mjs +35 -2
- package/esm2020/store/store.module.mjs +2 -2
- package/fesm2015/alfresco-aca-shared-rules.mjs +14 -28
- package/fesm2015/alfresco-aca-shared-rules.mjs.map +1 -1
- package/fesm2015/alfresco-aca-shared-store.mjs +61 -39
- package/fesm2015/alfresco-aca-shared-store.mjs.map +1 -1
- package/fesm2015/alfresco-aca-shared.mjs +445 -121
- package/fesm2015/alfresco-aca-shared.mjs.map +1 -1
- package/fesm2020/alfresco-aca-shared-rules.mjs +14 -28
- package/fesm2020/alfresco-aca-shared-rules.mjs.map +1 -1
- package/fesm2020/alfresco-aca-shared-store.mjs +64 -42
- package/fesm2020/alfresco-aca-shared-store.mjs.map +1 -1
- package/fesm2020/alfresco-aca-shared.mjs +460 -142
- package/fesm2020/alfresco-aca-shared.mjs.map +1 -1
- package/lib/adf-extensions/extensions-data-loader.guard.d.ts +1 -1
- package/lib/components/document-base-page/document-base-page.component.d.ts +1 -2
- package/lib/components/document-base-page/document-base-page.service.d.ts +1 -1
- package/lib/components/info-drawer/info-drawer.component.d.ts +1 -1
- package/lib/components/locked-by/locked-by.component.d.ts +1 -1
- package/lib/components/page-layout/page-layout.component.d.ts +1 -1
- package/lib/components/toolbar/toolbar-action/toolbar-action.component.d.ts +1 -1
- package/lib/components/toolbar/toolbar-menu/toolbar-menu.component.d.ts +1 -1
- package/lib/{models/modal-configuration.d.ts → constants/index.d.ts} +2 -4
- package/lib/constants/mime-types.d.ts +28 -0
- package/lib/deprecated/shared-toolbar.module.d.ts +5 -8
- package/lib/directives/contextmenu/contextmenu.directive.d.ts +1 -1
- package/lib/directives/pagination.directive.d.ts +1 -1
- package/lib/models/types.d.ts +1 -17
- package/lib/models/viewer.rules.d.ts +1 -1
- package/lib/routing/plugin-enabled.guard.d.ts +35 -0
- package/lib/services/app-settings.service.d.ts +44 -0
- package/lib/services/app.extension.service.d.ts +2 -7
- package/lib/services/app.service.d.ts +7 -6
- package/lib/testing/lib-testing-module.d.ts +14 -2
- package/lib/utils/node.utils.d.ts +1 -1
- package/package.json +5 -5
- package/public-api.d.ts +4 -2
- package/rules/app.rules.d.ts +1 -7
- package/rules/navigation.rules.d.ts +1 -1
- package/rules/public-api.d.ts +1 -1
- package/rules/repository.rules.d.ts +1 -1
- package/rules/user.rules.d.ts +1 -1
- package/store/actions/app-action-types.d.ts +1 -2
- package/store/actions/app.actions.d.ts +1 -7
- package/store/actions/context-menu-action-types.d.ts +1 -1
- package/store/actions/contextmenu.actions.d.ts +1 -1
- package/store/actions/library.actions.d.ts +1 -1
- package/store/actions/metadata-aspect.actions.d.ts +1 -1
- package/store/actions/node.actions.d.ts +1 -1
- package/store/actions/router-action-types.d.ts +1 -1
- package/store/actions/router.actions.d.ts +1 -1
- package/store/actions/search.actions.d.ts +1 -1
- package/store/actions/snackbar.actions.d.ts +1 -1
- package/store/actions/template-action-types.d.ts +1 -1
- package/store/actions/template.actions.d.ts +1 -1
- package/store/actions/upload.actions.d.ts +1 -1
- package/store/actions/viewer.actions.d.ts +4 -4
- package/store/effects/dialog.effects.d.ts +1 -1
- package/store/effects/snackbar.effects.d.ts +1 -1
- package/store/models/delete-status.model.d.ts +1 -1
- package/store/models/deleted-node-info.model.d.ts +1 -1
- package/store/models/modal-configuration.d.ts +1 -1
- package/store/models/node-info.model.d.ts +1 -1
- package/store/models/search-option.model.d.ts +1 -1
- package/store/public-api.d.ts +1 -1
- package/store/selectors/app.selectors.d.ts +2 -7
- package/store/states/app.state.d.ts +5 -7
- package/esm2020/lib/models/modal-configuration.mjs +0 -25
|
@@ -13,7 +13,7 @@ import { SnackbarContentComponent } from '@alfresco/adf-core';
|
|
|
13
13
|
import * as i3$1 from '@angular/material/snack-bar';
|
|
14
14
|
|
|
15
15
|
/*!
|
|
16
|
-
* Copyright © 2005-
|
|
16
|
+
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
17
17
|
*
|
|
18
18
|
* Alfresco Example Content Application
|
|
19
19
|
*
|
|
@@ -37,7 +37,6 @@ import * as i3$1 from '@angular/material/snack-bar';
|
|
|
37
37
|
*/
|
|
38
38
|
var AppActionTypes;
|
|
39
39
|
(function (AppActionTypes) {
|
|
40
|
-
AppActionTypes["SetInitialState"] = "SET_INITIAL_STATE";
|
|
41
40
|
AppActionTypes["SetCurrentFolder"] = "SET_CURRENT_FOLDER";
|
|
42
41
|
AppActionTypes["SetCurrentVersion"] = "SET_CURRENT_VERSION";
|
|
43
42
|
AppActionTypes["SetCurrentUrl"] = "SET_CURRENT_URL";
|
|
@@ -57,7 +56,7 @@ var AppActionTypes;
|
|
|
57
56
|
})(AppActionTypes || (AppActionTypes = {}));
|
|
58
57
|
|
|
59
58
|
/*!
|
|
60
|
-
* Copyright © 2005-
|
|
59
|
+
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
61
60
|
*
|
|
62
61
|
* Alfresco Example Content Application
|
|
63
62
|
*
|
|
@@ -85,7 +84,7 @@ var ContextMenuActionTypes;
|
|
|
85
84
|
})(ContextMenuActionTypes || (ContextMenuActionTypes = {}));
|
|
86
85
|
|
|
87
86
|
/*!
|
|
88
|
-
* Copyright © 2005-
|
|
87
|
+
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
89
88
|
*
|
|
90
89
|
* Alfresco Example Content Application
|
|
91
90
|
*
|
|
@@ -117,7 +116,7 @@ var RouterActionTypes;
|
|
|
117
116
|
})(RouterActionTypes || (RouterActionTypes = {}));
|
|
118
117
|
|
|
119
118
|
/*!
|
|
120
|
-
* Copyright © 2005-
|
|
119
|
+
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
121
120
|
*
|
|
122
121
|
* Alfresco Example Content Application
|
|
123
122
|
*
|
|
@@ -148,7 +147,7 @@ var TemplateActionTypes;
|
|
|
148
147
|
})(TemplateActionTypes || (TemplateActionTypes = {}));
|
|
149
148
|
|
|
150
149
|
/*!
|
|
151
|
-
* Copyright © 2005-
|
|
150
|
+
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
152
151
|
*
|
|
153
152
|
* Alfresco Example Content Application
|
|
154
153
|
*
|
|
@@ -170,12 +169,6 @@ var TemplateActionTypes;
|
|
|
170
169
|
* You should have received a copy of the GNU Lesser General Public License
|
|
171
170
|
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
172
171
|
*/
|
|
173
|
-
class SetInitialStateAction {
|
|
174
|
-
constructor(payload) {
|
|
175
|
-
this.payload = payload;
|
|
176
|
-
this.type = AppActionTypes.SetInitialState;
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
172
|
class SetCurrentFolderAction {
|
|
180
173
|
constructor(payload) {
|
|
181
174
|
this.payload = payload;
|
|
@@ -264,7 +257,7 @@ class ShowLoaderAction {
|
|
|
264
257
|
}
|
|
265
258
|
|
|
266
259
|
/*!
|
|
267
|
-
* Copyright © 2005-
|
|
260
|
+
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
268
261
|
*
|
|
269
262
|
* Alfresco Example Content Application
|
|
270
263
|
*
|
|
@@ -327,7 +320,7 @@ class LeaveLibraryAction {
|
|
|
327
320
|
}
|
|
328
321
|
|
|
329
322
|
/*!
|
|
330
|
-
* Copyright © 2005-
|
|
323
|
+
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
331
324
|
*
|
|
332
325
|
* Alfresco Example Content Application
|
|
333
326
|
*
|
|
@@ -515,7 +508,7 @@ class ManageRulesAction {
|
|
|
515
508
|
}
|
|
516
509
|
|
|
517
510
|
/*!
|
|
518
|
-
* Copyright © 2005-
|
|
511
|
+
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
519
512
|
*
|
|
520
513
|
* Alfresco Example Content Application
|
|
521
514
|
*
|
|
@@ -568,7 +561,7 @@ class NavigateToPreviousPage {
|
|
|
568
561
|
}
|
|
569
562
|
|
|
570
563
|
/*!
|
|
571
|
-
* Copyright © 2005-
|
|
564
|
+
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
572
565
|
*
|
|
573
566
|
* Alfresco Example Content Application
|
|
574
567
|
*
|
|
@@ -609,7 +602,7 @@ class SearchByTermAction {
|
|
|
609
602
|
}
|
|
610
603
|
|
|
611
604
|
/*!
|
|
612
|
-
* Copyright © 2005-
|
|
605
|
+
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
613
606
|
*
|
|
614
607
|
* Alfresco Example Content Application
|
|
615
608
|
*
|
|
@@ -666,7 +659,7 @@ class SnackbarErrorAction {
|
|
|
666
659
|
}
|
|
667
660
|
|
|
668
661
|
/*!
|
|
669
|
-
* Copyright © 2005-
|
|
662
|
+
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
670
663
|
*
|
|
671
664
|
* Alfresco Example Content Application
|
|
672
665
|
*
|
|
@@ -715,7 +708,7 @@ class UploadFileVersionAction {
|
|
|
715
708
|
}
|
|
716
709
|
|
|
717
710
|
/*!
|
|
718
|
-
* Copyright © 2005-
|
|
711
|
+
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
719
712
|
*
|
|
720
713
|
* Alfresco Example Content Application
|
|
721
714
|
*
|
|
@@ -782,8 +775,8 @@ class ClosePreviewAction {
|
|
|
782
775
|
}
|
|
783
776
|
}
|
|
784
777
|
class RefreshPreviewAction {
|
|
785
|
-
constructor(
|
|
786
|
-
this.
|
|
778
|
+
constructor(node) {
|
|
779
|
+
this.node = node;
|
|
787
780
|
this.type = ViewerActionTypes.RefreshPreview;
|
|
788
781
|
}
|
|
789
782
|
}
|
|
@@ -796,7 +789,7 @@ class PluginPreviewAction {
|
|
|
796
789
|
}
|
|
797
790
|
|
|
798
791
|
/*!
|
|
799
|
-
* Copyright © 2005-
|
|
792
|
+
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
800
793
|
*
|
|
801
794
|
* Alfresco Example Content Application
|
|
802
795
|
*
|
|
@@ -827,7 +820,7 @@ class SetInfoDrawerMetadataAspectAction {
|
|
|
827
820
|
}
|
|
828
821
|
|
|
829
822
|
/*!
|
|
830
|
-
* Copyright © 2005-
|
|
823
|
+
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
831
824
|
*
|
|
832
825
|
* Alfresco Example Content Application
|
|
833
826
|
*
|
|
@@ -873,7 +866,7 @@ class CreateFromTemplateSuccess {
|
|
|
873
866
|
}
|
|
874
867
|
|
|
875
868
|
/*!
|
|
876
|
-
* Copyright © 2005-
|
|
869
|
+
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
877
870
|
*
|
|
878
871
|
* Alfresco Example Content Application
|
|
879
872
|
*
|
|
@@ -903,7 +896,7 @@ class ContextMenu {
|
|
|
903
896
|
}
|
|
904
897
|
|
|
905
898
|
/*!
|
|
906
|
-
* Copyright © 2005-
|
|
899
|
+
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
907
900
|
*
|
|
908
901
|
* Alfresco Example Content Application
|
|
909
902
|
*
|
|
@@ -939,7 +932,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
|
|
|
939
932
|
}], ctorParameters: function () { return [{ type: i2.Actions }, { type: i2$1.MatDialog }]; } });
|
|
940
933
|
|
|
941
934
|
/*!
|
|
942
|
-
* Copyright © 2005-
|
|
935
|
+
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
943
936
|
*
|
|
944
937
|
* Alfresco Example Content Application
|
|
945
938
|
*
|
|
@@ -1042,7 +1035,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
|
|
|
1042
1035
|
}], ctorParameters: function () { return [{ type: i1.Store }, { type: i2.Actions }, { type: i3.Router }, { type: i4.Location }]; } });
|
|
1043
1036
|
|
|
1044
1037
|
/*!
|
|
1045
|
-
* Copyright © 2005-
|
|
1038
|
+
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
1046
1039
|
*
|
|
1047
1040
|
* Alfresco Example Content Application
|
|
1048
1041
|
*
|
|
@@ -1115,7 +1108,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
|
|
|
1115
1108
|
}], ctorParameters: function () { return [{ type: i1.Store }, { type: i2.Actions }, { type: i3$1.MatSnackBar }, { type: i4$1.TranslationService }]; } });
|
|
1116
1109
|
|
|
1117
1110
|
/*!
|
|
1118
|
-
* Copyright © 2005-
|
|
1111
|
+
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
1119
1112
|
*
|
|
1120
1113
|
* Alfresco Example Content Application
|
|
1121
1114
|
*
|
|
@@ -1139,7 +1132,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
|
|
|
1139
1132
|
*/
|
|
1140
1133
|
|
|
1141
1134
|
/*!
|
|
1142
|
-
* Copyright © 2005-
|
|
1135
|
+
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
1143
1136
|
*
|
|
1144
1137
|
* Alfresco Example Content Application
|
|
1145
1138
|
*
|
|
@@ -1163,7 +1156,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
|
|
|
1163
1156
|
*/
|
|
1164
1157
|
|
|
1165
1158
|
/*!
|
|
1166
|
-
* Copyright © 2005-
|
|
1159
|
+
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
1167
1160
|
*
|
|
1168
1161
|
* Alfresco Example Content Application
|
|
1169
1162
|
*
|
|
@@ -1187,7 +1180,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
|
|
|
1187
1180
|
*/
|
|
1188
1181
|
|
|
1189
1182
|
/*!
|
|
1190
|
-
* Copyright © 2005-
|
|
1183
|
+
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
1191
1184
|
*
|
|
1192
1185
|
* Alfresco Example Content Application
|
|
1193
1186
|
*
|
|
@@ -1217,7 +1210,7 @@ var SearchOptionIds;
|
|
|
1217
1210
|
})(SearchOptionIds || (SearchOptionIds = {}));
|
|
1218
1211
|
|
|
1219
1212
|
/*!
|
|
1220
|
-
* Copyright © 2005-
|
|
1213
|
+
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
1221
1214
|
*
|
|
1222
1215
|
* Alfresco Example Content Application
|
|
1223
1216
|
*
|
|
@@ -1239,22 +1232,18 @@ var SearchOptionIds;
|
|
|
1239
1232
|
* You should have received a copy of the GNU Lesser General Public License
|
|
1240
1233
|
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
1241
1234
|
*/
|
|
1235
|
+
const HXI_CONNECTOR = 'alfresco-hxinsight-connector-prediction-applier-extension';
|
|
1242
1236
|
const selectApp = (state) => state.app;
|
|
1243
|
-
const getAppName = createSelector(selectApp, (state) => state.appName);
|
|
1244
|
-
const getLogoPath = createSelector(selectApp, (state) => state.logoPath);
|
|
1245
|
-
const getCustomCssPath = createSelector(selectApp, (state) => state.customCssPath);
|
|
1246
|
-
const getCustomWebFontPath = createSelector(selectApp, (state) => state.webFontPath);
|
|
1247
1237
|
const getUserProfile = createSelector(selectApp, (state) => state.user);
|
|
1248
1238
|
const getCurrentFolder = createSelector(selectApp, (state) => state.navigation.currentFolder);
|
|
1249
1239
|
const getCurrentVersion = createSelector(selectApp, (state) => state.currentNodeVersion);
|
|
1250
1240
|
const getAppSelection = createSelector(selectApp, (state) => state.selection);
|
|
1251
|
-
const getSharedUrl = createSelector(selectApp, (state) => state.sharedUrl);
|
|
1252
1241
|
const getNavigationState = createSelector(selectApp, (state) => state.navigation);
|
|
1253
1242
|
const isInfoDrawerOpened = createSelector(selectApp, (state) => state.infoDrawerOpened);
|
|
1254
1243
|
const infoDrawerPreview = createSelector(selectApp, (state) => state.infoDrawerPreview);
|
|
1255
|
-
const showFacetFilter = createSelector(selectApp, (state) => state.showFacetFilter);
|
|
1256
1244
|
const getRepositoryStatus = createSelector(selectApp, (state) => state.repository);
|
|
1257
1245
|
const isQuickShareEnabled = createSelector(getRepositoryStatus, (info) => info.status.isQuickShareEnabled);
|
|
1246
|
+
const isHXIConnectorEnabled = createSelector(getRepositoryStatus, (info) => !!info?.modules?.find((module) => module.id === HXI_CONNECTOR));
|
|
1258
1247
|
const isAdmin = createSelector(selectApp, (state) => state.user.isAdmin);
|
|
1259
1248
|
const getFileUploadingDialog = createSelector(selectApp, (state) => state.fileUploadingDialog);
|
|
1260
1249
|
const showLoaderSelector = createSelector(selectApp, (state) => state.showLoader);
|
|
@@ -1271,7 +1260,7 @@ const getRuleContext = createSelector(getAppSelection, getNavigationState, getUs
|
|
|
1271
1260
|
const infoDrawerMetadataAspect = createSelector(selectApp, (state) => state.infoDrawerMetadataAspect);
|
|
1272
1261
|
|
|
1273
1262
|
/*!
|
|
1274
|
-
* Copyright © 2005-
|
|
1263
|
+
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
1275
1264
|
*
|
|
1276
1265
|
* Alfresco Example Content Application
|
|
1277
1266
|
*
|
|
@@ -1293,10 +1282,43 @@ const infoDrawerMetadataAspect = createSelector(selectApp, (state) => state.info
|
|
|
1293
1282
|
* You should have received a copy of the GNU Lesser General Public License
|
|
1294
1283
|
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
1295
1284
|
*/
|
|
1285
|
+
/** @deprecated no longer used */
|
|
1296
1286
|
const STORE_INITIAL_APP_DATA = new InjectionToken('STORE_INITIAL_APP_DATA');
|
|
1287
|
+
const INITIAL_APP_STATE = {
|
|
1288
|
+
user: {
|
|
1289
|
+
isAdmin: null,
|
|
1290
|
+
id: null,
|
|
1291
|
+
firstName: '',
|
|
1292
|
+
lastName: ''
|
|
1293
|
+
},
|
|
1294
|
+
selection: {
|
|
1295
|
+
nodes: [],
|
|
1296
|
+
libraries: [],
|
|
1297
|
+
isEmpty: true,
|
|
1298
|
+
count: 0
|
|
1299
|
+
},
|
|
1300
|
+
navigation: {
|
|
1301
|
+
currentFolder: null
|
|
1302
|
+
},
|
|
1303
|
+
currentNodeVersion: null,
|
|
1304
|
+
infoDrawerOpened: false,
|
|
1305
|
+
infoDrawerPreview: false,
|
|
1306
|
+
infoDrawerMetadataAspect: '',
|
|
1307
|
+
fileUploadingDialog: true,
|
|
1308
|
+
showLoader: false,
|
|
1309
|
+
repository: {
|
|
1310
|
+
status: {
|
|
1311
|
+
isQuickShareEnabled: true
|
|
1312
|
+
}
|
|
1313
|
+
}
|
|
1314
|
+
};
|
|
1315
|
+
/** @deprecated no longer used */
|
|
1316
|
+
const INITIAL_STATE = {
|
|
1317
|
+
app: INITIAL_APP_STATE
|
|
1318
|
+
};
|
|
1297
1319
|
|
|
1298
1320
|
/*!
|
|
1299
|
-
* Copyright © 2005-
|
|
1321
|
+
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
1300
1322
|
*
|
|
1301
1323
|
* Alfresco Example Content Application
|
|
1302
1324
|
*
|
|
@@ -1331,7 +1353,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
|
|
|
1331
1353
|
}] });
|
|
1332
1354
|
|
|
1333
1355
|
/*!
|
|
1334
|
-
* Copyright © 2005-
|
|
1356
|
+
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
1335
1357
|
*
|
|
1336
1358
|
* Alfresco Example Content Application
|
|
1337
1359
|
*
|
|
@@ -1358,5 +1380,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
|
|
|
1358
1380
|
* Generated bundle index. Do not edit.
|
|
1359
1381
|
*/
|
|
1360
1382
|
|
|
1361
|
-
export { AddFavoriteAction, AppActionTypes, CloseModalDialogsAction, ClosePreviewAction, ContextMenu, ContextMenuActionTypes, CopyNodesAction, CreateFolderAction, CreateFromTemplate, CreateFromTemplateSuccess, CreateLibraryAction, DeleteLibraryAction, DeleteNodesAction, DialogEffects, DownloadNodesAction, EditFolderAction, EditOfflineAction, ExpandInfoDrawerAction, FileFromTemplate, FolderFromTemplate, FullscreenViewerAction, LeaveLibraryAction, LibraryActionTypes, LogoutAction, ManageAspectsAction, ManagePermissionsAction, ManageRulesAction, ManageVersionsAction, MoveNodesAction, NavigateLibraryAction, NavigateRouteAction, NavigateToFolder, NavigateToParentFolder, NavigateToPreviousPage, NavigateUrlAction, NodeActionTypes, PluginPreviewAction, PrintFileAction, PurgeDeletedNodesAction, RefreshPreviewAction, ReloadDocumentListAction, RemoveFavoriteAction, ResetSelectionAction, RestoreDeletedNodesAction, RouterActionTypes, RouterEffects, SET_INFO_DRAWER_METADATA_ASPECT, STORE_INITIAL_APP_DATA, SearchAction, SearchActionTypes, SearchByTermAction, SearchOptionIds, SetCurrentFolderAction, SetCurrentNodeVersionAction, SetCurrentUrlAction, SetFileUploadingDialogAction, SetInfoDrawerMetadataAspectAction, SetInfoDrawerPreviewStateAction, SetInfoDrawerStateAction,
|
|
1383
|
+
export { AddFavoriteAction, AppActionTypes, CloseModalDialogsAction, ClosePreviewAction, ContextMenu, ContextMenuActionTypes, CopyNodesAction, CreateFolderAction, CreateFromTemplate, CreateFromTemplateSuccess, CreateLibraryAction, DeleteLibraryAction, DeleteNodesAction, DialogEffects, DownloadNodesAction, EditFolderAction, EditOfflineAction, ExpandInfoDrawerAction, FileFromTemplate, FolderFromTemplate, FullscreenViewerAction, INITIAL_APP_STATE, INITIAL_STATE, LeaveLibraryAction, LibraryActionTypes, LogoutAction, ManageAspectsAction, ManagePermissionsAction, ManageRulesAction, ManageVersionsAction, MoveNodesAction, NavigateLibraryAction, NavigateRouteAction, NavigateToFolder, NavigateToParentFolder, NavigateToPreviousPage, NavigateUrlAction, NodeActionTypes, PluginPreviewAction, PrintFileAction, PurgeDeletedNodesAction, RefreshPreviewAction, ReloadDocumentListAction, RemoveFavoriteAction, ResetSelectionAction, RestoreDeletedNodesAction, RouterActionTypes, RouterEffects, SET_INFO_DRAWER_METADATA_ASPECT, STORE_INITIAL_APP_DATA, SearchAction, SearchActionTypes, SearchByTermAction, SearchOptionIds, SetCurrentFolderAction, SetCurrentNodeVersionAction, SetCurrentUrlAction, SetFileUploadingDialogAction, SetInfoDrawerMetadataAspectAction, SetInfoDrawerPreviewStateAction, SetInfoDrawerStateAction, SetRepositoryInfoAction, SetSelectedNodesAction, SetUserProfileAction, ShareNodeAction, SharedStoreModule, ShowInfoDrawerPreviewAction, ShowLoaderAction, SnackbarActionTypes, SnackbarEffects, SnackbarErrorAction, SnackbarInfoAction, SnackbarUserAction, SnackbarWarningAction, TemplateActionTypes, ToggleInfoDrawerAction, UndoDeleteNodesAction, UnlockWriteAction, UnshareNodesAction, UpdateLibraryAction, UploadActionTypes, UploadFileVersionAction, UploadFilesAction, UploadFolderAction, ViewFileAction, ViewNodeAction, ViewNodeVersionAction, ViewerActionTypes, getAppSelection, getCurrentFolder, getCurrentVersion, getFileUploadingDialog, getNavigationState, getRepositoryStatus, getRuleContext, getSideNavState, getUserProfile, infoDrawerMetadataAspect, infoDrawerPreview, isAdmin, isHXIConnectorEnabled, isInfoDrawerOpened, isQuickShareEnabled, selectApp, showLoaderSelector };
|
|
1362
1384
|
//# sourceMappingURL=alfresco-aca-shared-store.mjs.map
|