@alfresco/aca-shared 7.4.0-23139060722 → 7.4.0-23140432859
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.
|
@@ -165,94 +165,86 @@ var TemplateActionTypes;
|
|
|
165
165
|
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
166
166
|
*/
|
|
167
167
|
class SetCurrentFolderAction {
|
|
168
|
-
payload;
|
|
169
|
-
type = AppActionTypes.SetCurrentFolder;
|
|
170
168
|
constructor(payload) {
|
|
171
169
|
this.payload = payload;
|
|
170
|
+
this.type = AppActionTypes.SetCurrentFolder;
|
|
172
171
|
}
|
|
173
172
|
}
|
|
174
173
|
class SetCurrentNodeVersionAction {
|
|
175
|
-
payload;
|
|
176
|
-
type = AppActionTypes.SetCurrentVersion;
|
|
177
174
|
constructor(payload) {
|
|
178
175
|
this.payload = payload;
|
|
176
|
+
this.type = AppActionTypes.SetCurrentVersion;
|
|
179
177
|
}
|
|
180
178
|
}
|
|
181
179
|
class SetCurrentUrlAction {
|
|
182
|
-
payload;
|
|
183
|
-
type = AppActionTypes.SetCurrentUrl;
|
|
184
180
|
constructor(payload) {
|
|
185
181
|
this.payload = payload;
|
|
182
|
+
this.type = AppActionTypes.SetCurrentUrl;
|
|
186
183
|
}
|
|
187
184
|
}
|
|
188
185
|
class SetUserProfileAction {
|
|
189
|
-
payload;
|
|
190
|
-
type = AppActionTypes.SetUserProfile;
|
|
191
186
|
constructor(payload) {
|
|
192
187
|
this.payload = payload;
|
|
188
|
+
this.type = AppActionTypes.SetUserProfile;
|
|
193
189
|
}
|
|
194
190
|
}
|
|
195
191
|
class ToggleInfoDrawerAction {
|
|
196
|
-
|
|
192
|
+
constructor() {
|
|
193
|
+
this.type = AppActionTypes.ToggleInfoDrawer;
|
|
194
|
+
}
|
|
197
195
|
}
|
|
198
196
|
/** @deprecated use @alfresco/adf-content-services/DocumentListService.reload() instead */
|
|
199
197
|
class ReloadDocumentListAction {
|
|
200
|
-
payload;
|
|
201
|
-
type = AppActionTypes.ReloadDocumentList;
|
|
202
198
|
constructor(payload) {
|
|
203
199
|
this.payload = payload;
|
|
200
|
+
this.type = AppActionTypes.ReloadDocumentList;
|
|
204
201
|
}
|
|
205
202
|
}
|
|
206
203
|
class ResetSelectionAction {
|
|
207
|
-
payload;
|
|
208
|
-
type = AppActionTypes.ResetSelection;
|
|
209
204
|
constructor(payload) {
|
|
210
205
|
this.payload = payload;
|
|
206
|
+
this.type = AppActionTypes.ResetSelection;
|
|
211
207
|
}
|
|
212
208
|
}
|
|
213
209
|
class SetInfoDrawerStateAction {
|
|
214
|
-
payload;
|
|
215
|
-
type = AppActionTypes.SetInfoDrawerState;
|
|
216
210
|
constructor(payload) {
|
|
217
211
|
this.payload = payload;
|
|
212
|
+
this.type = AppActionTypes.SetInfoDrawerState;
|
|
218
213
|
}
|
|
219
214
|
}
|
|
220
215
|
class SetRepositoryInfoAction {
|
|
221
|
-
payload;
|
|
222
|
-
type = AppActionTypes.SetRepositoryInfo;
|
|
223
216
|
constructor(payload) {
|
|
224
217
|
this.payload = payload;
|
|
218
|
+
this.type = AppActionTypes.SetRepositoryInfo;
|
|
225
219
|
}
|
|
226
220
|
}
|
|
227
221
|
class SetFileUploadingDialogAction {
|
|
228
|
-
payload;
|
|
229
|
-
type = AppActionTypes.SetFileUploadingDialog;
|
|
230
222
|
constructor(payload) {
|
|
231
223
|
this.payload = payload;
|
|
224
|
+
this.type = AppActionTypes.SetFileUploadingDialog;
|
|
232
225
|
}
|
|
233
226
|
}
|
|
234
227
|
class ShowInfoDrawerPreviewAction {
|
|
235
|
-
|
|
228
|
+
constructor() {
|
|
229
|
+
this.type = AppActionTypes.ShowInfoDrawerPreview;
|
|
230
|
+
}
|
|
236
231
|
}
|
|
237
232
|
class SetInfoDrawerPreviewStateAction {
|
|
238
|
-
payload;
|
|
239
|
-
type = AppActionTypes.SetInfoDrawerPreviewState;
|
|
240
233
|
constructor(payload) {
|
|
241
234
|
this.payload = payload;
|
|
235
|
+
this.type = AppActionTypes.SetInfoDrawerPreviewState;
|
|
242
236
|
}
|
|
243
237
|
}
|
|
244
238
|
class ShowLoaderAction {
|
|
245
|
-
payload;
|
|
246
|
-
type = AppActionTypes.ShowLoaderAction;
|
|
247
239
|
constructor(payload) {
|
|
248
240
|
this.payload = payload;
|
|
241
|
+
this.type = AppActionTypes.ShowLoaderAction;
|
|
249
242
|
}
|
|
250
243
|
}
|
|
251
244
|
class SetSearchItemsTotalCountAction {
|
|
252
|
-
payload;
|
|
253
|
-
type = AppActionTypes.SetSearchItemsTotalCount;
|
|
254
245
|
constructor(payload) {
|
|
255
246
|
this.payload = payload;
|
|
247
|
+
this.type = AppActionTypes.SetSearchItemsTotalCount;
|
|
256
248
|
}
|
|
257
249
|
}
|
|
258
250
|
|
|
@@ -288,38 +280,34 @@ var LibraryActionTypes;
|
|
|
288
280
|
LibraryActionTypes["Leave"] = "LEAVE_LIBRARY";
|
|
289
281
|
})(LibraryActionTypes || (LibraryActionTypes = {}));
|
|
290
282
|
class DeleteLibraryAction {
|
|
291
|
-
payload;
|
|
292
|
-
type = LibraryActionTypes.Delete;
|
|
293
283
|
constructor(payload) {
|
|
294
284
|
this.payload = payload;
|
|
285
|
+
this.type = LibraryActionTypes.Delete;
|
|
295
286
|
}
|
|
296
287
|
}
|
|
297
288
|
class CreateLibraryAction {
|
|
298
|
-
|
|
289
|
+
constructor() {
|
|
290
|
+
this.type = LibraryActionTypes.Create;
|
|
291
|
+
}
|
|
299
292
|
}
|
|
300
293
|
class NavigateLibraryAction {
|
|
301
|
-
payload;
|
|
302
|
-
route;
|
|
303
|
-
type = LibraryActionTypes.Navigate;
|
|
304
294
|
constructor(payload, route) {
|
|
305
295
|
this.payload = payload;
|
|
306
296
|
this.route = route;
|
|
297
|
+
this.type = LibraryActionTypes.Navigate;
|
|
307
298
|
}
|
|
308
299
|
}
|
|
309
300
|
class UpdateLibraryAction {
|
|
310
|
-
payload;
|
|
311
|
-
type = LibraryActionTypes.Update;
|
|
312
301
|
constructor(payload) {
|
|
313
302
|
this.payload = payload;
|
|
303
|
+
this.type = LibraryActionTypes.Update;
|
|
314
304
|
}
|
|
315
305
|
}
|
|
316
306
|
class LeaveLibraryAction {
|
|
317
|
-
payload;
|
|
318
|
-
configuration;
|
|
319
|
-
type = LibraryActionTypes.Leave;
|
|
320
307
|
constructor(payload, configuration) {
|
|
321
308
|
this.payload = payload;
|
|
322
309
|
this.configuration = configuration;
|
|
310
|
+
this.type = LibraryActionTypes.Leave;
|
|
323
311
|
}
|
|
324
312
|
}
|
|
325
313
|
|
|
@@ -373,190 +361,154 @@ var NodeActionTypes;
|
|
|
373
361
|
NodeActionTypes["ManageRules"] = "MANAGE_RULES";
|
|
374
362
|
})(NodeActionTypes || (NodeActionTypes = {}));
|
|
375
363
|
class SetSelectedNodesAction {
|
|
376
|
-
payload;
|
|
377
|
-
type = NodeActionTypes.SetSelection;
|
|
378
364
|
constructor(payload = []) {
|
|
379
365
|
this.payload = payload;
|
|
366
|
+
this.type = NodeActionTypes.SetSelection;
|
|
380
367
|
}
|
|
381
368
|
}
|
|
382
369
|
class DeleteNodesAction {
|
|
383
|
-
payload;
|
|
384
|
-
allowUndo;
|
|
385
|
-
configuration;
|
|
386
|
-
type = NodeActionTypes.Delete;
|
|
387
370
|
constructor(payload = [], allowUndo = true, configuration) {
|
|
388
371
|
this.payload = payload;
|
|
389
372
|
this.allowUndo = allowUndo;
|
|
390
373
|
this.configuration = configuration;
|
|
374
|
+
this.type = NodeActionTypes.Delete;
|
|
391
375
|
}
|
|
392
376
|
}
|
|
393
377
|
class UndoDeleteNodesAction {
|
|
394
|
-
payload;
|
|
395
|
-
type = NodeActionTypes.UndoDelete;
|
|
396
378
|
constructor(payload = []) {
|
|
397
379
|
this.payload = payload;
|
|
380
|
+
this.type = NodeActionTypes.UndoDelete;
|
|
398
381
|
}
|
|
399
382
|
}
|
|
400
383
|
class RestoreDeletedNodesAction {
|
|
401
|
-
payload;
|
|
402
|
-
configuration;
|
|
403
|
-
type = NodeActionTypes.RestoreDeleted;
|
|
404
384
|
constructor(payload, configuration) {
|
|
405
385
|
this.payload = payload;
|
|
406
386
|
this.configuration = configuration;
|
|
387
|
+
this.type = NodeActionTypes.RestoreDeleted;
|
|
407
388
|
}
|
|
408
389
|
}
|
|
409
390
|
class PurgeDeletedNodesAction {
|
|
410
|
-
payload;
|
|
411
|
-
configuration;
|
|
412
|
-
type = NodeActionTypes.PurgeDeleted;
|
|
413
391
|
constructor(payload, configuration) {
|
|
414
392
|
this.payload = payload;
|
|
415
393
|
this.configuration = configuration;
|
|
394
|
+
this.type = NodeActionTypes.PurgeDeleted;
|
|
416
395
|
}
|
|
417
396
|
}
|
|
418
397
|
class DownloadNodesAction {
|
|
419
|
-
payload;
|
|
420
|
-
configuration;
|
|
421
|
-
type = NodeActionTypes.Download;
|
|
422
398
|
constructor(payload = [], configuration) {
|
|
423
399
|
this.payload = payload;
|
|
424
400
|
this.configuration = configuration;
|
|
401
|
+
this.type = NodeActionTypes.Download;
|
|
425
402
|
}
|
|
426
403
|
}
|
|
427
404
|
class CreateFolderAction {
|
|
428
|
-
payload;
|
|
429
|
-
type = NodeActionTypes.CreateFolder;
|
|
430
405
|
constructor(payload) {
|
|
431
406
|
this.payload = payload;
|
|
407
|
+
this.type = NodeActionTypes.CreateFolder;
|
|
432
408
|
}
|
|
433
409
|
}
|
|
434
410
|
class EditFolderAction {
|
|
435
|
-
payload;
|
|
436
|
-
configuration;
|
|
437
|
-
type = NodeActionTypes.EditFolder;
|
|
438
411
|
constructor(payload, configuration) {
|
|
439
412
|
this.payload = payload;
|
|
440
413
|
this.configuration = configuration;
|
|
414
|
+
this.type = NodeActionTypes.EditFolder;
|
|
441
415
|
}
|
|
442
416
|
}
|
|
443
417
|
class ShareNodeAction {
|
|
444
|
-
payload;
|
|
445
|
-
configuration;
|
|
446
|
-
type = NodeActionTypes.Share;
|
|
447
418
|
constructor(payload, configuration) {
|
|
448
419
|
this.payload = payload;
|
|
449
420
|
this.configuration = configuration;
|
|
421
|
+
this.type = NodeActionTypes.Share;
|
|
450
422
|
}
|
|
451
423
|
}
|
|
452
424
|
class UnshareNodesAction {
|
|
453
|
-
payload;
|
|
454
|
-
type = NodeActionTypes.Unshare;
|
|
455
425
|
constructor(payload) {
|
|
456
426
|
this.payload = payload;
|
|
427
|
+
this.type = NodeActionTypes.Unshare;
|
|
457
428
|
}
|
|
458
429
|
}
|
|
459
430
|
class CopyNodesAction {
|
|
460
|
-
payload;
|
|
461
|
-
configuration;
|
|
462
|
-
type = NodeActionTypes.Copy;
|
|
463
431
|
constructor(payload, configuration) {
|
|
464
432
|
this.payload = payload;
|
|
465
433
|
this.configuration = configuration;
|
|
434
|
+
this.type = NodeActionTypes.Copy;
|
|
466
435
|
}
|
|
467
436
|
}
|
|
468
437
|
class MoveNodesAction {
|
|
469
|
-
payload;
|
|
470
|
-
configuration;
|
|
471
|
-
type = NodeActionTypes.Move;
|
|
472
438
|
constructor(payload, configuration) {
|
|
473
439
|
this.payload = payload;
|
|
474
440
|
this.configuration = configuration;
|
|
441
|
+
this.type = NodeActionTypes.Move;
|
|
475
442
|
}
|
|
476
443
|
}
|
|
477
444
|
class ManagePermissionsAction {
|
|
478
|
-
payload;
|
|
479
|
-
type = NodeActionTypes.ManagePermissions;
|
|
480
445
|
constructor(payload) {
|
|
481
446
|
this.payload = payload;
|
|
447
|
+
this.type = NodeActionTypes.ManagePermissions;
|
|
482
448
|
}
|
|
483
449
|
}
|
|
484
450
|
class ExpandInfoDrawerAction {
|
|
485
|
-
payload;
|
|
486
|
-
type = NodeActionTypes.ExpandInfoDrawer;
|
|
487
451
|
constructor(payload) {
|
|
488
452
|
this.payload = payload;
|
|
453
|
+
this.type = NodeActionTypes.ExpandInfoDrawer;
|
|
489
454
|
}
|
|
490
455
|
}
|
|
491
456
|
class PrintFileAction {
|
|
492
|
-
payload;
|
|
493
|
-
type = NodeActionTypes.PrintFile;
|
|
494
457
|
constructor(payload) {
|
|
495
458
|
this.payload = payload;
|
|
459
|
+
this.type = NodeActionTypes.PrintFile;
|
|
496
460
|
}
|
|
497
461
|
}
|
|
498
462
|
class ManageVersionsAction {
|
|
499
|
-
payload;
|
|
500
|
-
configuration;
|
|
501
|
-
type = NodeActionTypes.ManageVersions;
|
|
502
463
|
constructor(payload, configuration) {
|
|
503
464
|
this.payload = payload;
|
|
504
465
|
this.configuration = configuration;
|
|
466
|
+
this.type = NodeActionTypes.ManageVersions;
|
|
505
467
|
}
|
|
506
468
|
}
|
|
507
469
|
class EditOfflineAction {
|
|
508
|
-
payload;
|
|
509
|
-
type = NodeActionTypes.EditOffline;
|
|
510
470
|
constructor(payload) {
|
|
511
471
|
this.payload = payload;
|
|
472
|
+
this.type = NodeActionTypes.EditOffline;
|
|
512
473
|
}
|
|
513
474
|
}
|
|
514
475
|
class UnlockWriteAction {
|
|
515
|
-
payload;
|
|
516
|
-
type = NodeActionTypes.UnlockForWriting;
|
|
517
476
|
constructor(payload) {
|
|
518
477
|
this.payload = payload;
|
|
478
|
+
this.type = NodeActionTypes.UnlockForWriting;
|
|
519
479
|
}
|
|
520
480
|
}
|
|
521
481
|
class AddFavoriteAction {
|
|
522
|
-
payload;
|
|
523
|
-
configuration;
|
|
524
|
-
type = NodeActionTypes.AddFavorite;
|
|
525
482
|
constructor(payload, configuration) {
|
|
526
483
|
this.payload = payload;
|
|
527
484
|
this.configuration = configuration;
|
|
485
|
+
this.type = NodeActionTypes.AddFavorite;
|
|
528
486
|
}
|
|
529
487
|
}
|
|
530
488
|
class RemoveFavoriteAction {
|
|
531
|
-
payload;
|
|
532
|
-
configuration;
|
|
533
|
-
type = NodeActionTypes.RemoveFavorite;
|
|
534
489
|
constructor(payload, configuration) {
|
|
535
490
|
this.payload = payload;
|
|
536
491
|
this.configuration = configuration;
|
|
492
|
+
this.type = NodeActionTypes.RemoveFavorite;
|
|
537
493
|
}
|
|
538
494
|
}
|
|
539
495
|
class ManageAspectsAction {
|
|
540
|
-
payload;
|
|
541
|
-
configuration;
|
|
542
|
-
type = NodeActionTypes.ChangeAspects;
|
|
543
496
|
constructor(payload, configuration) {
|
|
544
497
|
this.payload = payload;
|
|
545
498
|
this.configuration = configuration;
|
|
499
|
+
this.type = NodeActionTypes.ChangeAspects;
|
|
546
500
|
}
|
|
547
501
|
}
|
|
548
502
|
class ManageRulesAction {
|
|
549
|
-
payload;
|
|
550
|
-
type = NodeActionTypes.ManageRules;
|
|
551
503
|
constructor(payload) {
|
|
552
504
|
this.payload = payload;
|
|
505
|
+
this.type = NodeActionTypes.ManageRules;
|
|
553
506
|
}
|
|
554
507
|
}
|
|
555
508
|
class NodeInformationAction {
|
|
556
|
-
payload;
|
|
557
|
-
type = NodeActionTypes.NodeInformation;
|
|
558
509
|
constructor(payload) {
|
|
559
510
|
this.payload = payload;
|
|
511
|
+
this.type = NodeActionTypes.NodeInformation;
|
|
560
512
|
}
|
|
561
513
|
}
|
|
562
514
|
|
|
@@ -584,35 +536,33 @@ class NodeInformationAction {
|
|
|
584
536
|
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
585
537
|
*/
|
|
586
538
|
class NavigateUrlAction {
|
|
587
|
-
payload;
|
|
588
|
-
type = RouterActionTypes.NavigateUrl;
|
|
589
539
|
constructor(payload) {
|
|
590
540
|
this.payload = payload;
|
|
541
|
+
this.type = RouterActionTypes.NavigateUrl;
|
|
591
542
|
}
|
|
592
543
|
}
|
|
593
544
|
class NavigateRouteAction {
|
|
594
|
-
payload;
|
|
595
|
-
type = RouterActionTypes.NavigateRoute;
|
|
596
545
|
constructor(payload) {
|
|
597
546
|
this.payload = payload;
|
|
547
|
+
this.type = RouterActionTypes.NavigateRoute;
|
|
598
548
|
}
|
|
599
549
|
}
|
|
600
550
|
class NavigateToFolder {
|
|
601
|
-
payload;
|
|
602
|
-
type = RouterActionTypes.NavigateFolder;
|
|
603
551
|
constructor(payload) {
|
|
604
552
|
this.payload = payload;
|
|
553
|
+
this.type = RouterActionTypes.NavigateFolder;
|
|
605
554
|
}
|
|
606
555
|
}
|
|
607
556
|
class NavigateToParentFolder {
|
|
608
|
-
payload;
|
|
609
|
-
type = RouterActionTypes.NavigateParentFolder;
|
|
610
557
|
constructor(payload) {
|
|
611
558
|
this.payload = payload;
|
|
559
|
+
this.type = RouterActionTypes.NavigateParentFolder;
|
|
612
560
|
}
|
|
613
561
|
}
|
|
614
562
|
class NavigateToPreviousPage {
|
|
615
|
-
|
|
563
|
+
constructor() {
|
|
564
|
+
this.type = RouterActionTypes.NavigateToPreviousPage;
|
|
565
|
+
}
|
|
616
566
|
}
|
|
617
567
|
|
|
618
568
|
/*!
|
|
@@ -644,15 +594,15 @@ var SearchActionTypes;
|
|
|
644
594
|
SearchActionTypes["SearchByTerm"] = "SEARCH_BY_TERM";
|
|
645
595
|
})(SearchActionTypes || (SearchActionTypes = {}));
|
|
646
596
|
class SearchAction {
|
|
647
|
-
|
|
597
|
+
constructor() {
|
|
598
|
+
this.type = SearchActionTypes.Search;
|
|
599
|
+
}
|
|
648
600
|
}
|
|
649
601
|
class SearchByTermAction {
|
|
650
|
-
payload;
|
|
651
|
-
searchOptions;
|
|
652
|
-
type = SearchActionTypes.SearchByTerm;
|
|
653
602
|
constructor(payload, searchOptions) {
|
|
654
603
|
this.payload = payload;
|
|
655
604
|
this.searchOptions = searchOptions;
|
|
605
|
+
this.type = SearchActionTypes.SearchByTerm;
|
|
656
606
|
}
|
|
657
607
|
}
|
|
658
608
|
|
|
@@ -686,26 +636,22 @@ var UploadActionTypes;
|
|
|
686
636
|
UploadActionTypes["UploadFileVersion"] = "UPLOAD_FILE_VERSION";
|
|
687
637
|
})(UploadActionTypes || (UploadActionTypes = {}));
|
|
688
638
|
class UploadFilesAction {
|
|
689
|
-
payload;
|
|
690
|
-
type = UploadActionTypes.UploadFiles;
|
|
691
639
|
constructor(payload) {
|
|
692
640
|
this.payload = payload;
|
|
641
|
+
this.type = UploadActionTypes.UploadFiles;
|
|
693
642
|
}
|
|
694
643
|
}
|
|
695
644
|
class UploadFolderAction {
|
|
696
|
-
payload;
|
|
697
|
-
type = UploadActionTypes.UploadFolder;
|
|
698
645
|
constructor(payload) {
|
|
699
646
|
this.payload = payload;
|
|
647
|
+
this.type = UploadActionTypes.UploadFolder;
|
|
700
648
|
}
|
|
701
649
|
}
|
|
702
650
|
class UploadFileVersionAction {
|
|
703
|
-
payload;
|
|
704
|
-
configuration;
|
|
705
|
-
type = UploadActionTypes.UploadFileVersion;
|
|
706
651
|
constructor(payload, configuration) {
|
|
707
652
|
this.payload = payload;
|
|
708
653
|
this.configuration = configuration;
|
|
654
|
+
this.type = UploadActionTypes.UploadFileVersion;
|
|
709
655
|
}
|
|
710
656
|
}
|
|
711
657
|
|
|
@@ -743,62 +689,50 @@ var ViewerActionTypes;
|
|
|
743
689
|
ViewerActionTypes["PluginPreview"] = "PLUGIN_PREVIEW";
|
|
744
690
|
})(ViewerActionTypes || (ViewerActionTypes = {}));
|
|
745
691
|
class ViewFileAction {
|
|
746
|
-
payload;
|
|
747
|
-
parentId;
|
|
748
|
-
type = ViewerActionTypes.ViewFile;
|
|
749
692
|
constructor(payload, parentId) {
|
|
750
693
|
this.payload = payload;
|
|
751
694
|
this.parentId = parentId;
|
|
695
|
+
this.type = ViewerActionTypes.ViewFile;
|
|
752
696
|
}
|
|
753
697
|
}
|
|
754
698
|
class ViewNodeAction {
|
|
755
|
-
nodeId;
|
|
756
|
-
viewNodeExtras;
|
|
757
|
-
type = ViewerActionTypes.ViewNode;
|
|
758
699
|
constructor(nodeId, viewNodeExtras) {
|
|
759
700
|
this.nodeId = nodeId;
|
|
760
701
|
this.viewNodeExtras = viewNodeExtras;
|
|
702
|
+
this.type = ViewerActionTypes.ViewNode;
|
|
761
703
|
}
|
|
762
704
|
}
|
|
763
705
|
class ViewNodeVersionAction {
|
|
764
|
-
nodeId;
|
|
765
|
-
versionId;
|
|
766
|
-
viewNodeExtras;
|
|
767
|
-
type = ViewerActionTypes.ViewNodeVersion;
|
|
768
706
|
constructor(nodeId, versionId, viewNodeExtras) {
|
|
769
707
|
this.nodeId = nodeId;
|
|
770
708
|
this.versionId = versionId;
|
|
771
709
|
this.viewNodeExtras = viewNodeExtras;
|
|
710
|
+
this.type = ViewerActionTypes.ViewNodeVersion;
|
|
772
711
|
}
|
|
773
712
|
}
|
|
774
713
|
class FullscreenViewerAction {
|
|
775
|
-
payload;
|
|
776
|
-
type = ViewerActionTypes.FullScreen;
|
|
777
714
|
constructor(payload) {
|
|
778
715
|
this.payload = payload;
|
|
716
|
+
this.type = ViewerActionTypes.FullScreen;
|
|
779
717
|
}
|
|
780
718
|
}
|
|
781
719
|
class ClosePreviewAction {
|
|
782
|
-
payload;
|
|
783
|
-
type = ViewerActionTypes.ClosePreview;
|
|
784
720
|
constructor(payload) {
|
|
785
721
|
this.payload = payload;
|
|
722
|
+
this.type = ViewerActionTypes.ClosePreview;
|
|
786
723
|
}
|
|
787
724
|
}
|
|
788
725
|
class RefreshPreviewAction {
|
|
789
|
-
node;
|
|
790
|
-
type = ViewerActionTypes.RefreshPreview;
|
|
791
726
|
constructor(node) {
|
|
792
727
|
this.node = node;
|
|
728
|
+
this.type = ViewerActionTypes.RefreshPreview;
|
|
793
729
|
}
|
|
794
730
|
}
|
|
795
731
|
class PluginPreviewAction {
|
|
796
|
-
pluginRoute;
|
|
797
|
-
nodeId;
|
|
798
|
-
type = ViewerActionTypes.PluginPreview;
|
|
799
732
|
constructor(pluginRoute, nodeId) {
|
|
800
733
|
this.pluginRoute = pluginRoute;
|
|
801
734
|
this.nodeId = nodeId;
|
|
735
|
+
this.type = ViewerActionTypes.PluginPreview;
|
|
802
736
|
}
|
|
803
737
|
}
|
|
804
738
|
|
|
@@ -827,10 +761,9 @@ class PluginPreviewAction {
|
|
|
827
761
|
*/
|
|
828
762
|
const SET_INFO_DRAWER_METADATA_ASPECT = 'SET_INFO_DRAWER_METADATA_ASPECT';
|
|
829
763
|
class SetInfoDrawerMetadataAspectAction {
|
|
830
|
-
payload;
|
|
831
|
-
type = SET_INFO_DRAWER_METADATA_ASPECT;
|
|
832
764
|
constructor(payload) {
|
|
833
765
|
this.payload = payload;
|
|
766
|
+
this.type = SET_INFO_DRAWER_METADATA_ASPECT;
|
|
834
767
|
}
|
|
835
768
|
}
|
|
836
769
|
|
|
@@ -858,23 +791,25 @@ class SetInfoDrawerMetadataAspectAction {
|
|
|
858
791
|
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
859
792
|
*/
|
|
860
793
|
class FileFromTemplate {
|
|
861
|
-
|
|
794
|
+
constructor() {
|
|
795
|
+
this.type = TemplateActionTypes.FileFromTemplate;
|
|
796
|
+
}
|
|
862
797
|
}
|
|
863
798
|
class FolderFromTemplate {
|
|
864
|
-
|
|
799
|
+
constructor() {
|
|
800
|
+
this.type = TemplateActionTypes.FolderFromTemplate;
|
|
801
|
+
}
|
|
865
802
|
}
|
|
866
803
|
class CreateFromTemplate {
|
|
867
|
-
payload;
|
|
868
|
-
type = TemplateActionTypes.CreateFromTemplate;
|
|
869
804
|
constructor(payload) {
|
|
870
805
|
this.payload = payload;
|
|
806
|
+
this.type = TemplateActionTypes.CreateFromTemplate;
|
|
871
807
|
}
|
|
872
808
|
}
|
|
873
809
|
class CreateFromTemplateSuccess {
|
|
874
|
-
node;
|
|
875
|
-
type = TemplateActionTypes.CreateFromTemplateSuccess;
|
|
876
810
|
constructor(node) {
|
|
877
811
|
this.node = node;
|
|
812
|
+
this.type = TemplateActionTypes.CreateFromTemplateSuccess;
|
|
878
813
|
}
|
|
879
814
|
}
|
|
880
815
|
|
|
@@ -902,19 +837,16 @@ class CreateFromTemplateSuccess {
|
|
|
902
837
|
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
903
838
|
*/
|
|
904
839
|
class ContextMenu {
|
|
905
|
-
event;
|
|
906
|
-
type = ContextMenuActionTypes.ContextMenu;
|
|
907
840
|
constructor(event) {
|
|
908
841
|
this.event = event;
|
|
842
|
+
this.type = ContextMenuActionTypes.ContextMenu;
|
|
909
843
|
}
|
|
910
844
|
}
|
|
911
845
|
class CustomContextMenu {
|
|
912
|
-
event;
|
|
913
|
-
payload;
|
|
914
|
-
type = ContextMenuActionTypes.CustomContextMenu;
|
|
915
846
|
constructor(event, payload = []) {
|
|
916
847
|
this.event = event;
|
|
917
848
|
this.payload = payload;
|
|
849
|
+
this.type = ContextMenuActionTypes.CustomContextMenu;
|
|
918
850
|
}
|
|
919
851
|
}
|
|
920
852
|
|
|
@@ -947,19 +879,16 @@ var SearchAiActionTypes;
|
|
|
947
879
|
SearchAiActionTypes["ToggleAiSearchInput"] = "TOGGLE_AI_SEARCH_INPUT";
|
|
948
880
|
})(SearchAiActionTypes || (SearchAiActionTypes = {}));
|
|
949
881
|
class SearchByTermAiAction {
|
|
950
|
-
payload;
|
|
951
|
-
type = SearchAiActionTypes.SearchByTermAi;
|
|
952
882
|
constructor(payload) {
|
|
953
883
|
this.payload = payload;
|
|
884
|
+
this.type = SearchAiActionTypes.SearchByTermAi;
|
|
954
885
|
}
|
|
955
886
|
}
|
|
956
887
|
class ToggleAISearchInput {
|
|
957
|
-
agentId;
|
|
958
|
-
searchTerm;
|
|
959
|
-
type = SearchAiActionTypes.ToggleAiSearchInput;
|
|
960
888
|
constructor(agentId, searchTerm) {
|
|
961
889
|
this.agentId = agentId;
|
|
962
890
|
this.searchTerm = searchTerm;
|
|
891
|
+
this.type = SearchAiActionTypes.ToggleAiSearchInput;
|
|
963
892
|
}
|
|
964
893
|
}
|
|
965
894
|
|
|
@@ -987,29 +916,31 @@ class ToggleAISearchInput {
|
|
|
987
916
|
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
988
917
|
*/
|
|
989
918
|
class RouterEffects {
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
this.
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
919
|
+
constructor() {
|
|
920
|
+
this.notificationService = inject(NotificationService);
|
|
921
|
+
this.actions$ = inject(Actions);
|
|
922
|
+
this.router = inject(Router);
|
|
923
|
+
this.location = inject(Location);
|
|
924
|
+
this.navigateUrl$ = createEffect(() => this.actions$.pipe(ofType(RouterActionTypes.NavigateUrl), map((action) => {
|
|
925
|
+
if (action.payload) {
|
|
926
|
+
this.router.navigateByUrl(action.payload);
|
|
927
|
+
}
|
|
928
|
+
})), { dispatch: false });
|
|
929
|
+
this.navigateRoute$ = createEffect(() => this.actions$.pipe(ofType(RouterActionTypes.NavigateRoute), map((action) => {
|
|
930
|
+
this.router.navigate(action.payload);
|
|
931
|
+
})), { dispatch: false });
|
|
932
|
+
this.navigateToFolder$ = createEffect(() => this.actions$.pipe(ofType(RouterActionTypes.NavigateFolder), map((action) => {
|
|
933
|
+
if (action.payload?.entry) {
|
|
934
|
+
this.navigateToFolder(action.payload.entry);
|
|
935
|
+
}
|
|
936
|
+
})), { dispatch: false });
|
|
937
|
+
this.navigateToParentFolder$ = createEffect(() => this.actions$.pipe(ofType(RouterActionTypes.NavigateParentFolder), map((action) => {
|
|
938
|
+
if (action.payload?.entry) {
|
|
939
|
+
this.navigateToParentFolder(action.payload.entry);
|
|
940
|
+
}
|
|
941
|
+
})), { dispatch: false });
|
|
942
|
+
this.navigateToPreviousPage$ = createEffect(() => this.actions$.pipe(ofType(RouterActionTypes.NavigateToPreviousPage), map(() => this.location.back())), { dispatch: false });
|
|
943
|
+
}
|
|
1013
944
|
navigateToFolder(node) {
|
|
1014
945
|
let link = null;
|
|
1015
946
|
const { path, id } = node;
|
|
@@ -1057,8 +988,8 @@ class RouterEffects {
|
|
|
1057
988
|
isLibraryContent(path) {
|
|
1058
989
|
return path && path.elements.length >= 2 && path.elements[1].name === 'Sites';
|
|
1059
990
|
}
|
|
1060
|
-
static
|
|
1061
|
-
static
|
|
991
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: RouterEffects, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
992
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: RouterEffects }); }
|
|
1062
993
|
}
|
|
1063
994
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: RouterEffects, decorators: [{
|
|
1064
995
|
type: Injectable
|