@pristy/pristy-libvue 1.17.3 → 1.19.0
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/pristy-libvue.css +1 -1
- package/dist/pristy-libvue.es.js +4241 -3924
- package/dist/pristy-libvue.es.js.map +1 -1
- package/dist/pristy-libvue.umd.js +6 -6
- package/dist/pristy-libvue.umd.js.map +1 -1
- package/dist/src/components/CodeMirrorEditor.vue.d.ts.map +1 -1
- package/dist/src/components/FolderUpload.vue.d.ts +1 -1
- package/dist/src/components/PristyIcon.vue.d.ts +3 -3
- package/dist/src/components/UploadStatus.vue.d.ts +1 -1
- package/dist/src/components/navigation/ContentGridView.vue.d.ts +9 -5
- package/dist/src/components/navigation/ContentGridView.vue.d.ts.map +1 -1
- package/dist/src/components/navigation/ContentListView.vue.d.ts +9 -5
- package/dist/src/components/navigation/ContentListView.vue.d.ts.map +1 -1
- package/dist/src/components/navigation/ContentTableView.vue.d.ts +9 -5
- package/dist/src/components/navigation/ContentTableView.vue.d.ts.map +1 -1
- package/dist/src/components/navigation/DynamicContentView.vue.d.ts +27 -15
- package/dist/src/components/navigation/DynamicContentView.vue.d.ts.map +1 -1
- package/dist/src/components/popup/ImportPopupWithWorker.vue.d.ts +2 -2
- package/dist/src/composables/useCollabEditor.d.ts.map +1 -1
- package/dist/src/composables/useCollabWebSocket.d.ts.map +1 -1
- package/dist/src/i18n/index.d.ts +4 -0
- package/dist/src/i18n/index.d.ts.map +1 -1
- package/dist/src/i18n/primevue-locale.d.ts +117 -0
- package/dist/src/i18n/primevue-locale.d.ts.map +1 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/services/AlfrescoFileService.d.ts +55 -8
- package/dist/src/services/AlfrescoFileService.d.ts.map +1 -1
- package/dist/src/services/MenuService.d.ts.map +1 -1
- package/dist/src/services/PeopleService.d.ts.map +1 -1
- package/dist/src/services/PreviewService.d.ts +36 -0
- package/dist/src/services/PreviewService.d.ts.map +1 -0
- package/dist/src/services/WorkspaceService.d.ts +1 -1
- package/dist/src/services/WorkspaceService.d.ts.map +1 -1
- package/dist/src/stores/config.d.ts +3 -0
- package/dist/src/stores/config.d.ts.map +1 -1
- package/dist/src/stores/upload.d.ts +4 -1
- package/dist/src/stores/upload.d.ts.map +1 -1
- package/dist/src/stores/user.d.ts.map +1 -1
- package/package.json +16 -16
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CodeMirrorEditor.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CodeMirrorEditor.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"CodeMirrorEditor.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CodeMirrorEditor.vue"],"names":[],"mappings":";AA8VA;"}
|
|
@@ -9,7 +9,7 @@ declare const _default: DefineComponent<{}, {}, {
|
|
|
9
9
|
triggerFileInput(): void;
|
|
10
10
|
handleDragOver(): void;
|
|
11
11
|
handleDragLeave(): void;
|
|
12
|
-
startUpload: (uploadItems: any, nodeId: any) => void;
|
|
12
|
+
startUpload: (uploadItems: any, nodeId: any, metadata?: any) => void;
|
|
13
13
|
initializeWorker: () => void;
|
|
14
14
|
handleUploadRequest: (item: any, nodeId: any) => Promise<void>;
|
|
15
15
|
cancelUpload: (fileName: any) => void;
|
|
@@ -4,9 +4,9 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
4
4
|
default: string;
|
|
5
5
|
type: StringConstructor;
|
|
6
6
|
};
|
|
7
|
-
}>, {}, {
|
|
8
|
-
src:
|
|
9
|
-
}, {},
|
|
7
|
+
}>, {}, {}, {
|
|
8
|
+
src(): any;
|
|
9
|
+
}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
10
10
|
svgFileName: {
|
|
11
11
|
default: string;
|
|
12
12
|
type: StringConstructor;
|
|
@@ -13,7 +13,7 @@ declare const _default: DefineComponent<{}, {}, {
|
|
|
13
13
|
getIconColor(status: any): "" | "color: green" | "color: red";
|
|
14
14
|
iconForStatus(status: any): "" | "ri-checkbox-circle-fill text-2xl" | "ri-close-circle-fill text-2xl";
|
|
15
15
|
openFile(node: any): void;
|
|
16
|
-
startUpload: (uploadItems: any, nodeId: any) => void;
|
|
16
|
+
startUpload: (uploadItems: any, nodeId: any, metadata?: any) => void;
|
|
17
17
|
initializeWorker: () => void;
|
|
18
18
|
handleUploadRequest: (item: any, nodeId: any) => Promise<void>;
|
|
19
19
|
cancelUpload: (fileName: any) => void;
|
|
@@ -42,6 +42,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
42
42
|
uploadFile(nodeId: any, opts: any, file: any): any;
|
|
43
43
|
createRendition(nodeId: any, rendition: any): Promise<any>;
|
|
44
44
|
createAllRendition(nodeId: any): Promise<any>;
|
|
45
|
+
createMissingRenditions(nodeId: any, wanted?: string[]): Promise<any>;
|
|
45
46
|
_createRendition(nodeId: any, renditionBodyCreate: any): Promise<any>;
|
|
46
47
|
createVersionRendition(nodeId: any, versionId: any, rendition: any): Promise<any>;
|
|
47
48
|
getVersionRendition(nodeId: any, versionId: any, renditionId: any): Promise< RenditionEntry>;
|
|
@@ -50,8 +51,11 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
50
51
|
onPreviewLoadFailure(event: any, node: any): void;
|
|
51
52
|
_requestRenditionCreation(node: any): void;
|
|
52
53
|
isThumbnailSupported(node: any): any;
|
|
53
|
-
|
|
54
|
-
|
|
54
|
+
_findRenditionStatus(paging: any, rendition: any): string | null;
|
|
55
|
+
_renditionNotAvailable(nodeId: any, rendition: any): Error;
|
|
56
|
+
_waitForRendition(getRendition: any, getUrl: any, rendition: any): any;
|
|
57
|
+
getRenditionUrl(nodeId: any, rendition?: string): Promise<string>;
|
|
58
|
+
getVersionRenditionUrl(nodeId: any, versionId: any, rendition?: string): Promise<string>;
|
|
55
59
|
getProtocolForFileExtension(fileExtension: any): any;
|
|
56
60
|
getFileExtension(fileName: any): any;
|
|
57
61
|
isDoc(item: any): boolean;
|
|
@@ -130,9 +134,9 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
130
134
|
default: string;
|
|
131
135
|
type: StringConstructor;
|
|
132
136
|
};
|
|
133
|
-
}>, {}, {
|
|
134
|
-
src:
|
|
135
|
-
}, {},
|
|
137
|
+
}>, {}, {}, {
|
|
138
|
+
src(): any;
|
|
139
|
+
}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
136
140
|
svgFileName: {
|
|
137
141
|
default: string;
|
|
138
142
|
type: StringConstructor;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContentGridView.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/ContentGridView.vue"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"ContentGridView.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/ContentGridView.vue"],"names":[],"mappings":";;;AA+JA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAsRmB,iBAAiB;qBACf,mBAAmB;kBACtB,gBAAgB"}
|
|
@@ -41,6 +41,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
41
41
|
uploadFile(nodeId: any, opts: any, file: any): any;
|
|
42
42
|
createRendition(nodeId: any, rendition: any): Promise<any>;
|
|
43
43
|
createAllRendition(nodeId: any): Promise<any>;
|
|
44
|
+
createMissingRenditions(nodeId: any, wanted?: string[]): Promise<any>;
|
|
44
45
|
_createRendition(nodeId: any, renditionBodyCreate: any): Promise<any>;
|
|
45
46
|
createVersionRendition(nodeId: any, versionId: any, rendition: any): Promise<any>;
|
|
46
47
|
getVersionRendition(nodeId: any, versionId: any, renditionId: any): Promise< RenditionEntry>;
|
|
@@ -49,8 +50,11 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
49
50
|
onPreviewLoadFailure(event: any, node: any): void;
|
|
50
51
|
_requestRenditionCreation(node: any): void;
|
|
51
52
|
isThumbnailSupported(node: any): any;
|
|
52
|
-
|
|
53
|
-
|
|
53
|
+
_findRenditionStatus(paging: any, rendition: any): string | null;
|
|
54
|
+
_renditionNotAvailable(nodeId: any, rendition: any): Error;
|
|
55
|
+
_waitForRendition(getRendition: any, getUrl: any, rendition: any): any;
|
|
56
|
+
getRenditionUrl(nodeId: any, rendition?: string): Promise<string>;
|
|
57
|
+
getVersionRenditionUrl(nodeId: any, versionId: any, rendition?: string): Promise<string>;
|
|
54
58
|
getProtocolForFileExtension(fileExtension: any): any;
|
|
55
59
|
getFileExtension(fileName: any): any;
|
|
56
60
|
isDoc(item: any): boolean;
|
|
@@ -125,9 +129,9 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
125
129
|
default: string;
|
|
126
130
|
type: StringConstructor;
|
|
127
131
|
};
|
|
128
|
-
}>, {}, {
|
|
129
|
-
src:
|
|
130
|
-
}, {},
|
|
132
|
+
}>, {}, {}, {
|
|
133
|
+
src(): any;
|
|
134
|
+
}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
131
135
|
svgFileName: {
|
|
132
136
|
default: string;
|
|
133
137
|
type: StringConstructor;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContentListView.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/ContentListView.vue"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"ContentListView.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/ContentListView.vue"],"names":[],"mappings":";;;AA0LA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBA0SmB,iBAAiB;qBACf,mBAAmB"}
|
|
@@ -76,6 +76,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
76
76
|
uploadFile(nodeId: any, opts: any, file: any): any;
|
|
77
77
|
createRendition(nodeId: any, rendition: any): Promise<any>;
|
|
78
78
|
createAllRendition(nodeId: any): Promise<any>;
|
|
79
|
+
createMissingRenditions(nodeId: any, wanted?: string[]): Promise<any>;
|
|
79
80
|
_createRendition(nodeId: any, renditionBodyCreate: any): Promise<any>;
|
|
80
81
|
createVersionRendition(nodeId: any, versionId: any, rendition: any): Promise<any>;
|
|
81
82
|
getVersionRendition(nodeId: any, versionId: any, renditionId: any): Promise< RenditionEntry>;
|
|
@@ -84,8 +85,11 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
84
85
|
onPreviewLoadFailure(event: any, node: any): void;
|
|
85
86
|
_requestRenditionCreation(node: any): void;
|
|
86
87
|
isThumbnailSupported(node: any): any;
|
|
87
|
-
|
|
88
|
-
|
|
88
|
+
_findRenditionStatus(paging: any, rendition: any): string | null;
|
|
89
|
+
_renditionNotAvailable(nodeId: any, rendition: any): Error;
|
|
90
|
+
_waitForRendition(getRendition: any, getUrl: any, rendition: any): any;
|
|
91
|
+
getRenditionUrl(nodeId: any, rendition?: string): Promise<string>;
|
|
92
|
+
getVersionRenditionUrl(nodeId: any, versionId: any, rendition?: string): Promise<string>;
|
|
89
93
|
getProtocolForFileExtension(fileExtension: any): any;
|
|
90
94
|
getFileExtension(fileName: any): any;
|
|
91
95
|
isDoc(item: any): boolean;
|
|
@@ -187,9 +191,9 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
187
191
|
default: string;
|
|
188
192
|
type: StringConstructor;
|
|
189
193
|
};
|
|
190
|
-
}>, {}, {
|
|
191
|
-
src:
|
|
192
|
-
}, {},
|
|
194
|
+
}>, {}, {}, {
|
|
195
|
+
src(): any;
|
|
196
|
+
}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
193
197
|
svgFileName: {
|
|
194
198
|
default: string;
|
|
195
199
|
type: StringConstructor;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContentTableView.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/ContentTableView.vue"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"ContentTableView.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/ContentTableView.vue"],"names":[],"mappings":";;;AAgOA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAwbmB,iBAAiB;kBAClB,gBAAgB;sBACZ,oBAAoB;qBACrB,mBAAmB;mBACrB,iBAAiB"}
|
|
@@ -233,6 +233,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
233
233
|
uploadFile(nodeId: any, opts: any, file: any): any;
|
|
234
234
|
createRendition(nodeId: any, rendition: any): Promise<any>;
|
|
235
235
|
createAllRendition(nodeId: any): Promise<any>;
|
|
236
|
+
createMissingRenditions(nodeId: any, wanted?: string[]): Promise<any>;
|
|
236
237
|
_createRendition(nodeId: any, renditionBodyCreate: any): Promise<any>;
|
|
237
238
|
createVersionRendition(nodeId: any, versionId: any, rendition: any): Promise<any>;
|
|
238
239
|
getVersionRendition(nodeId: any, versionId: any, renditionId: any): Promise< RenditionEntry>;
|
|
@@ -241,8 +242,11 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
241
242
|
onPreviewLoadFailure(event: any, node: any): void;
|
|
242
243
|
_requestRenditionCreation(node: any): void;
|
|
243
244
|
isThumbnailSupported(node: any): any;
|
|
244
|
-
|
|
245
|
-
|
|
245
|
+
_findRenditionStatus(paging: any, rendition: any): string | null;
|
|
246
|
+
_renditionNotAvailable(nodeId: any, rendition: any): Error;
|
|
247
|
+
_waitForRendition(getRendition: any, getUrl: any, rendition: any): any;
|
|
248
|
+
getRenditionUrl(nodeId: any, rendition?: string): Promise<string>;
|
|
249
|
+
getVersionRenditionUrl(nodeId: any, versionId: any, rendition?: string): Promise<string>;
|
|
246
250
|
getProtocolForFileExtension(fileExtension: any): any;
|
|
247
251
|
getFileExtension(fileName: any): any;
|
|
248
252
|
isDoc(item: any): boolean;
|
|
@@ -321,9 +325,9 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
321
325
|
default: string;
|
|
322
326
|
type: StringConstructor;
|
|
323
327
|
};
|
|
324
|
-
}>, {}, {
|
|
325
|
-
src:
|
|
326
|
-
}, {},
|
|
328
|
+
}>, {}, {}, {
|
|
329
|
+
src(): any;
|
|
330
|
+
}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
327
331
|
svgFileName: {
|
|
328
332
|
default: string;
|
|
329
333
|
type: StringConstructor;
|
|
@@ -375,6 +379,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
375
379
|
uploadFile(nodeId: any, opts: any, file: any): any;
|
|
376
380
|
createRendition(nodeId: any, rendition: any): Promise<any>;
|
|
377
381
|
createAllRendition(nodeId: any): Promise<any>;
|
|
382
|
+
createMissingRenditions(nodeId: any, wanted?: string[]): Promise<any>;
|
|
378
383
|
_createRendition(nodeId: any, renditionBodyCreate: any): Promise<any>;
|
|
379
384
|
createVersionRendition(nodeId: any, versionId: any, rendition: any): Promise<any>;
|
|
380
385
|
getVersionRendition(nodeId: any, versionId: any, renditionId: any): Promise< RenditionEntry>;
|
|
@@ -383,8 +388,11 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
383
388
|
onPreviewLoadFailure(event: any, node: any): void;
|
|
384
389
|
_requestRenditionCreation(node: any): void;
|
|
385
390
|
isThumbnailSupported(node: any): any;
|
|
386
|
-
|
|
387
|
-
|
|
391
|
+
_findRenditionStatus(paging: any, rendition: any): string | null;
|
|
392
|
+
_renditionNotAvailable(nodeId: any, rendition: any): Error;
|
|
393
|
+
_waitForRendition(getRendition: any, getUrl: any, rendition: any): any;
|
|
394
|
+
getRenditionUrl(nodeId: any, rendition?: string): Promise<string>;
|
|
395
|
+
getVersionRenditionUrl(nodeId: any, versionId: any, rendition?: string): Promise<string>;
|
|
388
396
|
getProtocolForFileExtension(fileExtension: any): any;
|
|
389
397
|
getFileExtension(fileName: any): any;
|
|
390
398
|
isDoc(item: any): boolean;
|
|
@@ -459,9 +467,9 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
459
467
|
default: string;
|
|
460
468
|
type: StringConstructor;
|
|
461
469
|
};
|
|
462
|
-
}>, {}, {
|
|
463
|
-
src:
|
|
464
|
-
}, {},
|
|
470
|
+
}>, {}, {}, {
|
|
471
|
+
src(): any;
|
|
472
|
+
}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
465
473
|
svgFileName: {
|
|
466
474
|
default: string;
|
|
467
475
|
type: StringConstructor;
|
|
@@ -544,6 +552,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
544
552
|
uploadFile(nodeId: any, opts: any, file: any): any;
|
|
545
553
|
createRendition(nodeId: any, rendition: any): Promise<any>;
|
|
546
554
|
createAllRendition(nodeId: any): Promise<any>;
|
|
555
|
+
createMissingRenditions(nodeId: any, wanted?: string[]): Promise<any>;
|
|
547
556
|
_createRendition(nodeId: any, renditionBodyCreate: any): Promise<any>;
|
|
548
557
|
createVersionRendition(nodeId: any, versionId: any, rendition: any): Promise<any>;
|
|
549
558
|
getVersionRendition(nodeId: any, versionId: any, renditionId: any): Promise< RenditionEntry>;
|
|
@@ -552,8 +561,11 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
552
561
|
onPreviewLoadFailure(event: any, node: any): void;
|
|
553
562
|
_requestRenditionCreation(node: any): void;
|
|
554
563
|
isThumbnailSupported(node: any): any;
|
|
555
|
-
|
|
556
|
-
|
|
564
|
+
_findRenditionStatus(paging: any, rendition: any): string | null;
|
|
565
|
+
_renditionNotAvailable(nodeId: any, rendition: any): Error;
|
|
566
|
+
_waitForRendition(getRendition: any, getUrl: any, rendition: any): any;
|
|
567
|
+
getRenditionUrl(nodeId: any, rendition?: string): Promise<string>;
|
|
568
|
+
getVersionRenditionUrl(nodeId: any, versionId: any, rendition?: string): Promise<string>;
|
|
557
569
|
getProtocolForFileExtension(fileExtension: any): any;
|
|
558
570
|
getFileExtension(fileName: any): any;
|
|
559
571
|
isDoc(item: any): boolean;
|
|
@@ -655,9 +667,9 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
655
667
|
default: string;
|
|
656
668
|
type: StringConstructor;
|
|
657
669
|
};
|
|
658
|
-
}>, {}, {
|
|
659
|
-
src:
|
|
660
|
-
}, {},
|
|
670
|
+
}>, {}, {}, {
|
|
671
|
+
src(): any;
|
|
672
|
+
}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
661
673
|
svgFileName: {
|
|
662
674
|
default: string;
|
|
663
675
|
type: StringConstructor;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DynamicContentView.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/DynamicContentView.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAyLA
|
|
1
|
+
{"version":3,"file":"DynamicContentView.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/DynamicContentView.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAyLA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBA6jBmB,iBAAiB;qBAEf,mBAAmB;qBADnB,mBAAmB"}
|
|
@@ -17,7 +17,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
17
17
|
}, {
|
|
18
18
|
closePopup(): void;
|
|
19
19
|
handleUpload(event: any): void;
|
|
20
|
-
startUpload: (uploadItems: any, nodeId: any) => void;
|
|
20
|
+
startUpload: (uploadItems: any, nodeId: any, metadata?: any) => void;
|
|
21
21
|
initializeWorker: () => void;
|
|
22
22
|
handleUploadRequest: (item: any, nodeId: any) => Promise<void>;
|
|
23
23
|
cancelUpload: (fileName: any) => void;
|
|
@@ -54,7 +54,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
54
54
|
triggerFileInput(): void;
|
|
55
55
|
handleDragOver(): void;
|
|
56
56
|
handleDragLeave(): void;
|
|
57
|
-
startUpload: (uploadItems: any, nodeId: any) => void;
|
|
57
|
+
startUpload: (uploadItems: any, nodeId: any, metadata?: any) => void;
|
|
58
58
|
initializeWorker: () => void;
|
|
59
59
|
handleUploadRequest: (item: any, nodeId: any) => Promise<void>;
|
|
60
60
|
cancelUpload: (fileName: any) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCollabEditor.d.ts","sourceRoot":"","sources":["../../../src/composables/useCollabEditor.js"],"names":[],"mappings":"AAiKA;;;;;GAKG;AACH,
|
|
1
|
+
{"version":3,"file":"useCollabEditor.d.ts","sourceRoot":"","sources":["../../../src/composables/useCollabEditor.js"],"names":[],"mappings":"AAiKA;;;;;GAKG;AACH,uCA48BC;AA1kCD,0BAA2B,QAAQ,CAAC;AACpC,4BAA6B,UAAU,CAAC;AAExC;;;;GAIG;AACH,+BAAgC,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCollabWebSocket.d.ts","sourceRoot":"","sources":["../../../src/composables/useCollabWebSocket.js"],"names":[],"mappings":"AA0CA;;;;;;GAMG;AACH,
|
|
1
|
+
{"version":3,"file":"useCollabWebSocket.d.ts","sourceRoot":"","sources":["../../../src/composables/useCollabWebSocket.js"],"names":[],"mappings":"AA0CA;;;;;;GAMG;AACH,sDAsTC"}
|
package/dist/src/i18n/index.d.ts
CHANGED
|
@@ -680,6 +680,8 @@ declare const i18n: I18n<{
|
|
|
680
680
|
observersTooltip: string;
|
|
681
681
|
messageTooLarge: string;
|
|
682
682
|
connectionFailed: string;
|
|
683
|
+
authExpired: string;
|
|
684
|
+
reload: string;
|
|
683
685
|
copyContent: string;
|
|
684
686
|
contentCopied: string;
|
|
685
687
|
retryConnection: string;
|
|
@@ -1478,6 +1480,8 @@ declare const i18n: I18n<{
|
|
|
1478
1480
|
observersTooltip: string;
|
|
1479
1481
|
messageTooLarge: string;
|
|
1480
1482
|
connectionFailed: string;
|
|
1483
|
+
authExpired: string;
|
|
1484
|
+
reload: string;
|
|
1481
1485
|
copyContent: string;
|
|
1482
1486
|
contentCopied: string;
|
|
1483
1487
|
retryConnection: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/i18n/index.js"],"names":[],"mappings":";;AAsBA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/i18n/index.js"],"names":[],"mappings":";;AAsBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAOG"}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
export namespace primeLocaleFr {
|
|
2
|
+
let startsWith: string;
|
|
3
|
+
let contains: string;
|
|
4
|
+
let notContains: string;
|
|
5
|
+
let endsWith: string;
|
|
6
|
+
let equals: string;
|
|
7
|
+
let notEquals: string;
|
|
8
|
+
let noFilter: string;
|
|
9
|
+
let lt: string;
|
|
10
|
+
let lte: string;
|
|
11
|
+
let gt: string;
|
|
12
|
+
let gte: string;
|
|
13
|
+
let dateIs: string;
|
|
14
|
+
let dateIsNot: string;
|
|
15
|
+
let dateBefore: string;
|
|
16
|
+
let dateAfter: string;
|
|
17
|
+
let clear: string;
|
|
18
|
+
let apply: string;
|
|
19
|
+
let matchAll: string;
|
|
20
|
+
let matchAny: string;
|
|
21
|
+
let addRule: string;
|
|
22
|
+
let removeRule: string;
|
|
23
|
+
let accept: string;
|
|
24
|
+
let reject: string;
|
|
25
|
+
let choose: string;
|
|
26
|
+
let upload: string;
|
|
27
|
+
let cancel: string;
|
|
28
|
+
let completed: string;
|
|
29
|
+
let pending: string;
|
|
30
|
+
let dayNames: string[];
|
|
31
|
+
let dayNamesShort: string[];
|
|
32
|
+
let dayNamesMin: string[];
|
|
33
|
+
let monthNames: string[];
|
|
34
|
+
let monthNamesShort: string[];
|
|
35
|
+
let chooseYear: string;
|
|
36
|
+
let chooseMonth: string;
|
|
37
|
+
let chooseDate: string;
|
|
38
|
+
let prevDecade: string;
|
|
39
|
+
let nextDecade: string;
|
|
40
|
+
let prevYear: string;
|
|
41
|
+
let nextYear: string;
|
|
42
|
+
let prevMonth: string;
|
|
43
|
+
let nextMonth: string;
|
|
44
|
+
let prevHour: string;
|
|
45
|
+
let nextHour: string;
|
|
46
|
+
let prevMinute: string;
|
|
47
|
+
let nextMinute: string;
|
|
48
|
+
let prevSecond: string;
|
|
49
|
+
let nextSecond: string;
|
|
50
|
+
let am: string;
|
|
51
|
+
let pm: string;
|
|
52
|
+
let today: string;
|
|
53
|
+
let weekHeader: string;
|
|
54
|
+
let firstDayOfWeek: number;
|
|
55
|
+
let dateFormat: string;
|
|
56
|
+
let weak: string;
|
|
57
|
+
let medium: string;
|
|
58
|
+
let strong: string;
|
|
59
|
+
let passwordPrompt: string;
|
|
60
|
+
let emptyFilterMessage: string;
|
|
61
|
+
let searchMessage: string;
|
|
62
|
+
let selectionMessage: string;
|
|
63
|
+
let emptySelectionMessage: string;
|
|
64
|
+
let emptySearchMessage: string;
|
|
65
|
+
let emptyMessage: string;
|
|
66
|
+
namespace aria {
|
|
67
|
+
let trueLabel: string;
|
|
68
|
+
let falseLabel: string;
|
|
69
|
+
let nullLabel: string;
|
|
70
|
+
let star: string;
|
|
71
|
+
let stars: string;
|
|
72
|
+
let selectAll: string;
|
|
73
|
+
let unselectAll: string;
|
|
74
|
+
let close: string;
|
|
75
|
+
let previous: string;
|
|
76
|
+
let next: string;
|
|
77
|
+
let navigation: string;
|
|
78
|
+
let scrollTop: string;
|
|
79
|
+
let moveTop: string;
|
|
80
|
+
let moveUp: string;
|
|
81
|
+
let moveDown: string;
|
|
82
|
+
let moveBottom: string;
|
|
83
|
+
let moveToTarget: string;
|
|
84
|
+
let moveToSource: string;
|
|
85
|
+
let moveAllToTarget: string;
|
|
86
|
+
let moveAllToSource: string;
|
|
87
|
+
let pageLabel: string;
|
|
88
|
+
let firstPageLabel: string;
|
|
89
|
+
let lastPageLabel: string;
|
|
90
|
+
let nextPageLabel: string;
|
|
91
|
+
let previousPageLabel: string;
|
|
92
|
+
let rowsPerPageLabel: string;
|
|
93
|
+
let jumpToPageDropdownLabel: string;
|
|
94
|
+
let jumpToPageInputLabel: string;
|
|
95
|
+
let selectRow: string;
|
|
96
|
+
let unselectRow: string;
|
|
97
|
+
let expandRow: string;
|
|
98
|
+
let collapseRow: string;
|
|
99
|
+
let showFilterMenu: string;
|
|
100
|
+
let hideFilterMenu: string;
|
|
101
|
+
let filterOperator: string;
|
|
102
|
+
let filterConstraint: string;
|
|
103
|
+
let editRow: string;
|
|
104
|
+
let saveEdit: string;
|
|
105
|
+
let cancelEdit: string;
|
|
106
|
+
let listView: string;
|
|
107
|
+
let gridView: string;
|
|
108
|
+
let slide: string;
|
|
109
|
+
let slideNumber: string;
|
|
110
|
+
let zoomImage: string;
|
|
111
|
+
let zoomIn: string;
|
|
112
|
+
let zoomOut: string;
|
|
113
|
+
let rotateRight: string;
|
|
114
|
+
let rotateLeft: string;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
//# sourceMappingURL=primevue-locale.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"primevue-locale.d.ts","sourceRoot":"","sources":["../../../src/i18n/primevue-locale.js"],"names":[],"mappings":""}
|
package/dist/src/index.d.ts
CHANGED
|
@@ -63,6 +63,7 @@ export { default as iconeService } from '../services/IconeService.js';
|
|
|
63
63
|
export { default as keyboardShortcutsService } from '../services/KeyboardShortcutsService.js';
|
|
64
64
|
export { default as menuService } from '../services/MenuService.js';
|
|
65
65
|
export { default as peopleService } from '../services/PeopleService.js';
|
|
66
|
+
export { default as previewService } from '../services/PreviewService.js';
|
|
66
67
|
export { default as translationService } from '../services/TranslationService.js';
|
|
67
68
|
export { default as workflowService } from '../services/WorkflowService.js';
|
|
68
69
|
export { default as workspaceService } from '../services/WorkspaceService.js';
|
|
@@ -76,6 +77,7 @@ export { default as rocketChatAuthService } from '../services/RocketChatAuthServ
|
|
|
76
77
|
export { default as vueKeyCloak } from '../plugins/KeycloakPlugin.js';
|
|
77
78
|
export { default as i18n } from '../i18n';
|
|
78
79
|
export { messages } from '../i18n/locales';
|
|
80
|
+
export { primeLocaleFr } from '../i18n/primevue-locale';
|
|
79
81
|
export * from '../AlfrescoApi';
|
|
80
82
|
export { useCollaboraStore } from '../stores/collabora';
|
|
81
83
|
export { useCollabStore } from '../stores/collab.js';
|
package/dist/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAwEE,iCAsDC;;yBA7GsB,sCAAsC;uBACxC,6BAA6B;+BAFrB,gDAAgD;4BAGnD,wCAAwC;yBAC3C,+BAA+B;+BACzB,gDAAgD;+BAChD,gDAAgD;6BAClD,8CAA8C;4BAC/C,6CAA6C;4BAC7C,6CAA6C;+BAC1C,gDAAgD;iCAC9C,kDAAkD;wBAC3D,qCAAqC;wBACrC,qCAAqC;yBACpC,0CAA0C;2BAOxC,4CAA4C;2BAC5C,iCAAiC;4BALhC,kCAAkC;uBAMvC,mCAAmC;uBACnC,kCAAkC;+BAC1B,2CAA2C;yBAGjD,+BAA+B;6BAD3B,mCAAmC;yBADvC,+BAA+B;kCAItB,+CAA+C;4BACrD,yCAAyC;6BACxC,0CAA0C;4BAC3C,yCAAyC;yBAC5C,sCAAsC;8BACjC,2CAA2C;8BAC3C,2CAA2C;gCACzC,6CAA6C;8BAC/C,2CAA2C;wBACjD,qCAAqC;6BAChC,0CAA0C;oCACnC,iDAAiD;0BAC3D,uCAAuC;8BACnC,6CAA6C;6BAC9C,mCAAmC;6BACnC,mCAAmC;wBACxC,qCAAqC;+BAC9B,4CAA4C;gCAhC3C,4CAA4C;kCAC1C,8CAA8C;2BAErD,uCAAuC;4BACtC,wCAAwC;0BAC1C,sCAAsC;kCAS9B,8CAA8C;2BAmBrD,iCAAiC;sBACtC,iCAAiC;wBAC/B,mCAAmC;sBACrC,iCAAiC;yBAC9B,oCAAoC"}
|
|
@@ -16,6 +16,19 @@ declare class AlfrescoFileService {
|
|
|
16
16
|
uploadFile(nodeId: any, opts: any, file: any): any;
|
|
17
17
|
createRendition(nodeId: any, rendition: any): Promise<any>;
|
|
18
18
|
createAllRendition(nodeId: any): Promise<any>;
|
|
19
|
+
/**
|
|
20
|
+
* Request creation of the wanted renditions, but only those that are both
|
|
21
|
+
* applicable to the node (present in listRenditions) and not yet created.
|
|
22
|
+
*
|
|
23
|
+
* Unlike {@link createAllRendition}, this never asks Alfresco to transform a
|
|
24
|
+
* type that cannot produce the rendition (archives, binaries, ...), avoiding
|
|
25
|
+
* the failed createRendition calls that polluted the logs.
|
|
26
|
+
*
|
|
27
|
+
* @param nodeId
|
|
28
|
+
* @param wanted rendition ids to ensure, default ["doclib", "imgpreview"]
|
|
29
|
+
* @returns {Promise<*>}
|
|
30
|
+
*/
|
|
31
|
+
createMissingRenditions(nodeId: any, wanted?: string[]): Promise<any>;
|
|
19
32
|
_createRendition(nodeId: any, renditionBodyCreate: any): Promise<any>;
|
|
20
33
|
createVersionRendition(nodeId: any, versionId: any, rendition: any): Promise<any>;
|
|
21
34
|
getVersionRendition(nodeId: any, versionId: any, renditionId: any): Promise< RenditionEntry>;
|
|
@@ -38,20 +51,54 @@ declare class AlfrescoFileService {
|
|
|
38
51
|
_requestRenditionCreation(node: any): void;
|
|
39
52
|
isThumbnailSupported(node: any): any;
|
|
40
53
|
/**
|
|
41
|
-
*
|
|
54
|
+
* Status of a rendition from a listRenditions/listVersionRenditions response.
|
|
55
|
+
* @param paging RenditionPaging response
|
|
56
|
+
* @param rendition the rendition id (e.g. "pdf")
|
|
57
|
+
* @returns {string|null} "CREATED" / "NOT_CREATED", or null when the rendition
|
|
58
|
+
* is not applicable to the node (i.e. cannot be produced for its mimetype)
|
|
59
|
+
*/
|
|
60
|
+
_findRenditionStatus(paging: any, rendition: any): string | null;
|
|
61
|
+
/**
|
|
62
|
+
* Build the error thrown when a rendition cannot be produced for a node.
|
|
63
|
+
* Callers can detect it via `error.code === "RENDITION_NOT_AVAILABLE"` to
|
|
64
|
+
* show the default icon / a download-only view instead of retrying.
|
|
65
|
+
*/
|
|
66
|
+
_renditionNotAvailable(nodeId: any, rendition: any): Error;
|
|
67
|
+
/**
|
|
68
|
+
* Poll a not-yet-created rendition until it becomes CREATED, then resolve its
|
|
69
|
+
* content URL. Rejects once retries are exhausted.
|
|
70
|
+
* @param getRendition () => Promise<RenditionEntry>
|
|
71
|
+
* @param getUrl () => string content URL once the rendition is ready
|
|
72
|
+
* @param rendition the rendition id, for logging
|
|
73
|
+
*/
|
|
74
|
+
_waitForRendition(getRendition: any, getUrl: any, rendition: any): any;
|
|
75
|
+
/**
|
|
76
|
+
* Resolve the content URL of a node rendition.
|
|
77
|
+
*
|
|
78
|
+
* Lists the renditions applicable to the node first: listRenditions returns
|
|
79
|
+
* every rendition *possible* for the node's source mimetype, each with a
|
|
80
|
+
* status (CREATED / NOT_CREATED). We decide up-front instead of blindly
|
|
81
|
+
* requesting a rendition for a type that cannot produce it (which only
|
|
82
|
+
* generated errors and log noise):
|
|
83
|
+
* - rendition absent from the list -> reject with RENDITION_NOT_AVAILABLE
|
|
84
|
+
* - CREATED -> return its content URL
|
|
85
|
+
* - NOT_CREATED -> request creation, then wait until ready
|
|
86
|
+
*
|
|
42
87
|
* @param nodeId
|
|
43
|
-
* @param rendition default
|
|
44
|
-
* @returns {Promise<
|
|
88
|
+
* @param rendition default "pdf"
|
|
89
|
+
* @returns {Promise<string>} the rendition content URL
|
|
45
90
|
*/
|
|
46
|
-
getRenditionUrl(nodeId: any, rendition?: string): Promise<
|
|
91
|
+
getRenditionUrl(nodeId: any, rendition?: string): Promise<string>;
|
|
47
92
|
/**
|
|
48
|
-
*
|
|
93
|
+
* Resolve the content URL of a version rendition. Same strategy as
|
|
94
|
+
* {@link getRenditionUrl}, using the version rendition endpoints.
|
|
95
|
+
*
|
|
49
96
|
* @param nodeId
|
|
50
97
|
* @param versionId
|
|
51
|
-
* @param rendition default
|
|
52
|
-
* @returns {
|
|
98
|
+
* @param rendition default "pdf"
|
|
99
|
+
* @returns {Promise<string>} the rendition content URL
|
|
53
100
|
*/
|
|
54
|
-
getVersionRenditionUrl(nodeId: any, versionId: any, rendition?: string):
|
|
101
|
+
getVersionRenditionUrl(nodeId: any, versionId: any, rendition?: string): Promise<string>;
|
|
55
102
|
getProtocolForFileExtension(fileExtension: any): any;
|
|
56
103
|
getFileExtension(fileName: any): any;
|
|
57
104
|
isDoc(item: any): boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AlfrescoFileService.d.ts","sourceRoot":"","sources":["../../../src/services/AlfrescoFileService.js"],"names":[],"mappings":";;;AAiCA;;GAEG;AACH;IAEI,4BAGE;IAEF,4BAAkC;IAClC,qCAGE;IAEJ,kCAQC;IAED,gCAQC;IAED,gCAQC;IAED,uDAQC;IAED,mDAeC;IAED,2DAIC;IAED,8CASC;IAED,sEAeC;IAED,kFAIC;IAED,uHAEC;IAED;;;;;OAKG;IACH,+BAFW,KAAK,QAkBf;IAED;;;;;;OAMG;IACH,0BAHW,KAAK,mBAMf;IAED,kDAOC;IAED,
|
|
1
|
+
{"version":3,"file":"AlfrescoFileService.d.ts","sourceRoot":"","sources":["../../../src/services/AlfrescoFileService.js"],"names":[],"mappings":";;;AAiCA;;GAEG;AACH;IAEI,4BAGE;IAEF,4BAAkC;IAClC,qCAGE;IAEJ,kCAQC;IAED,gCAQC;IAED,gCAQC;IAED,uDAQC;IAED,mDAeC;IAED,2DAIC;IAED,8CASC;IAED;;;;;;;;;;;OAWG;IACH,yDAFa,OAAO,CAAC,GAAC,CAAC,CAkBtB;IAED,sEAeC;IAED,kFAIC;IAED,uHAEC;IAED;;;;;OAKG;IACH,+BAFW,KAAK,QAkBf;IAED;;;;;;OAMG;IACH,0BAHW,KAAK,mBAMf;IAED,kDAOC;IAED,2CA8BC;IAED,qCAYC;IAED;;;;;;OAMG;IACH,mDAHa,MAAM,GAAC,IAAI,CAMvB;IAED;;;;OAIG;IACH,2DAMC;IAED;;;;;;OAMG;IACH,uEAsBC;IAED;;;;;;;;;;;;;;;OAeG;IACH,kDAFa,OAAO,CAAC,MAAM,CAAC,CAkB3B;IAED;;;;;;;;OAQG;IACH,yEAFa,OAAO,CAAC,MAAM,CAAC,CAqB3B;IACD,qDAwCC;IACD,qCAMC;IACD,0BAOC;IACD,mCAqBC;IACD,wCAYC;IACD,sCA+BC;IACD,+EAcC;IACD,qBAEC;IACD,mBAEC;IACD,uBAEC;IACD,kCAqCC;IACD;;;;;;OAMG;IACH,+BALW,MAAM,QACN,MAAM,QACN,IAAI,gBAUd;IAED;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,yBAdG;QAAqB,UAAU;QACV,UAAU;QAKT,UAAU;QACV,UAAU;QACV,UAAU;KAEhC,GAAU,MAAM,CAmBlB;IAED;;;;OAIG;IACH,qDAQC;CACF;qBA1mBoB,WAAW"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuService.d.ts","sourceRoot":"","sources":["../../../src/services/MenuService.js"],"names":[],"mappings":";;AAsBA;;GAEG;AACH;IAEI,mCAGE;IAEJ,wBAEC;IAED,
|
|
1
|
+
{"version":3,"file":"MenuService.d.ts","sourceRoot":"","sources":["../../../src/services/MenuService.js"],"names":[],"mappings":";;AAsBA;;GAEG;AACH;IAEI,mCAGE;IAEJ,wBAEC;IAED,qCAkBC;IAED;;;;;;;;SAeC;IAED,gDAgBC;IAED,8CAkBC;IAED,8CA8BC;IAED;;;;OAIG;IACH;;;;;;;;;;MAgBC;IAED;;;;;;;;;;;;;;;;;;MAkCC;CACF;qBAtLoB,WAAW"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PeopleService.d.ts","sourceRoot":"","sources":["../../../src/services/PeopleService.js"],"names":[],"mappings":";;;AAqBA;;GAEG;AACH;IAEI,wCAGE;IACF,8BAGE;IAGJ,mCAkBC;IAED,sDAeC;IAED,2FAkBC;IAED,yDAgBC;IAED,2CAmBC;IAED,8DAkBC;IAED,wCAEC;IAED,
|
|
1
|
+
{"version":3,"file":"PeopleService.d.ts","sourceRoot":"","sources":["../../../src/services/PeopleService.js"],"names":[],"mappings":";;;AAqBA;;GAEG;AACH;IAEI,wCAGE;IACF,8BAGE;IAGJ,mCAkBC;IAED,sDAeC;IAED,2FAkBC;IAED,yDAgBC;IAED,2CAmBC;IAED,8DAkBC;IAED,wCAEC;IAED,sGAmDC;IAED,4DAeC;CACF;qBA9MoB,WAAW"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
declare const _default: PreviewService;
|
|
2
|
+
export default _default;
|
|
3
|
+
/**
|
|
4
|
+
* Service deciding whether a node can be previewed in the browser.
|
|
5
|
+
*
|
|
6
|
+
* Some file types are rendered natively (images, videos, PDF). Every other
|
|
7
|
+
* type relies on a server-side "pdf" rendition produced by Alfresco's
|
|
8
|
+
* transform service. Asking Alfresco to create that rendition for a type it
|
|
9
|
+
* cannot transform (archives, binaries, ...) generates noise in the logs and
|
|
10
|
+
* dead-end viewers.
|
|
11
|
+
*
|
|
12
|
+
* `listRenditions` (GET /nodes/{id}/renditions) returns only the renditions
|
|
13
|
+
* applicable to the node's source mimetype and does NOT trigger any transform,
|
|
14
|
+
* so it is a cheap, side-effect-free way to know up-front whether a "pdf"
|
|
15
|
+
* rendition is available. Results are cached per mimetype for the session and
|
|
16
|
+
* are reusable across apps (espaces, marches, media, ...).
|
|
17
|
+
*/
|
|
18
|
+
declare class PreviewService {
|
|
19
|
+
previewableByMimeType: Map<any, any>;
|
|
20
|
+
/**
|
|
21
|
+
* Types rendered directly by the front-end, without a server-side rendition.
|
|
22
|
+
* @param {string} mimeType
|
|
23
|
+
* @returns {boolean}
|
|
24
|
+
*/
|
|
25
|
+
isNativelyPreviewable(mimeType: string): boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Tell whether the given node can be previewed (natively or through a "pdf"
|
|
28
|
+
* rendition). Never throws: on error it returns false so callers can fall
|
|
29
|
+
* back to a download-only view.
|
|
30
|
+
*
|
|
31
|
+
* @param {object} node a node with `id` and `content.mimeType`
|
|
32
|
+
* @returns {Promise<boolean>}
|
|
33
|
+
*/
|
|
34
|
+
isPreviewable(node: object): Promise<boolean>;
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=PreviewService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PreviewService.d.ts","sourceRoot":"","sources":["../../../src/services/PreviewService.js"],"names":[],"mappings":";;AAkBA;;;;;;;;;;;;;;GAcG;AACH;IAGI,qCAAsC;IAGxC;;;;OAIG;IACH,gCAHW,MAAM,GACJ,OAAO,CAWnB;IAED;;;;;;;OAOG;IACH,oBAHW,MAAM,GACJ,OAAO,CAAC,OAAO,CAAC,CA4B5B;CACF"}
|