@pristy/pristy-libvue 1.19.0 → 1.19.2
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 +3769 -3582
- package/dist/pristy-libvue.es.js.map +1 -1
- package/dist/pristy-libvue.umd.js +11 -11
- package/dist/pristy-libvue.umd.js.map +1 -1
- package/dist/src/AlfrescoApi.d.ts +2 -1
- package/dist/src/AlfrescoApi.d.ts.map +1 -1
- package/dist/src/components/navigation/PreviewPanel.vue.d.ts +22 -2
- package/dist/src/components/navigation/PreviewPanel.vue.d.ts.map +1 -1
- package/dist/src/components/viewer/ImageViewer.vue.d.ts.map +1 -1
- package/dist/src/components/viewer/PDFComponent.vue.d.ts +9 -2
- package/dist/src/components/viewer/PDFComponent.vue.d.ts.map +1 -1
- package/dist/src/components/viewer/PdfSkeleton.vue.d.ts +12 -0
- package/dist/src/components/viewer/PdfSkeleton.vue.d.ts.map +1 -0
- package/dist/src/i18n/index.d.ts +6 -0
- package/dist/src/i18n/index.d.ts.map +1 -1
- package/dist/src/index.d.ts +2 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/services/AlfrescoFileService.d.ts.map +1 -1
- package/dist/src/services/PdfConfigService.d.ts +21 -0
- package/dist/src/services/PdfConfigService.d.ts.map +1 -0
- package/dist/src/stores/config.d.ts +3 -0
- package/dist/src/stores/config.d.ts.map +1 -1
- package/dist/src/stores/favorites.d.ts +25 -0
- package/dist/src/stores/favorites.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AlfrescoApi, ContentApi, UploadApi, RenditionsApi, NodesApi, SitesApi, SearchApi, PeopleApi, FavoritesApi, TrashcanApi, GroupsApi, SharedlinksApi, VersionsApi, ActionsApi, CategoriesApi, CommentsApi, DownloadsApi, TagsApi, AspectsApi, TypesApi, WebscriptApi, ActivitiesApi, DiscoveryApi, AuthenticationApi } from '@alfresco/js-api';
|
|
1
|
+
import { AlfrescoApi, ContentApi, UploadApi, RenditionsApi, NodesApi, SitesApi, SearchApi, PeopleApi, PreferencesApi, FavoritesApi, TrashcanApi, GroupsApi, SharedlinksApi, VersionsApi, ActionsApi, CategoriesApi, CommentsApi, DownloadsApi, TagsApi, AspectsApi, TypesApi, WebscriptApi, ActivitiesApi, DiscoveryApi, AuthenticationApi } from '@alfresco/js-api';
|
|
2
2
|
export const alfrescoApi: AlfrescoApi;
|
|
3
3
|
export const contentApi: ContentApi;
|
|
4
4
|
export const uploadApi: UploadApi;
|
|
@@ -7,6 +7,7 @@ export const nodesApi: NodesApi;
|
|
|
7
7
|
export const sitesApi: SitesApi;
|
|
8
8
|
export const searchApi: SearchApi;
|
|
9
9
|
export const peopleApi: PeopleApi;
|
|
10
|
+
export const preferencesApi: PreferencesApi;
|
|
10
11
|
export const favoritesApi: FavoritesApi;
|
|
11
12
|
export const trashcanApi: TrashcanApi;
|
|
12
13
|
export const groupsApi: GroupsApi;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AlfrescoApi.d.ts","sourceRoot":"","sources":["../../src/AlfrescoApi.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AlfrescoApi.d.ts","sourceRoot":"","sources":["../../src/AlfrescoApi.js"],"names":[],"mappings":"AA4CA,sCAA6C;AAE7C,oCAAsD;AAEtD,kCAAoD;AAEpD,0CAA4D;AAE5D,gCAAkD;AAElD,gCAAkD;AAElD,kCAAoD;AAEpD,kCAAoD;AAEpD,4CAA8D;AAE9D,wCAA0D;AAE1D,sCAAwD;AAExD,kCAAoD;AAEpD,4CAA8D;AAE9D,sCAAwD;AAExD,oCAAsD;AAEtD,0CAA4D;AAE5D,sCAAwD;AAExD,wCAA0D;AAE1D,8BAAgD;AAEhD,oCAAsD;AAEtD,gCAAkD;AAElD,wCAA0D;AAE1D,0CAA4D;AAE5D,wCAA0D;AAE1D,kDAAoE;4BAlD7D,kBAAkB;2BAAlB,kBAAkB;0BAAlB,kBAAkB;8BAAlB,kBAAkB;yBAAlB,kBAAkB;yBAAlB,kBAAkB;0BAAlB,kBAAkB;0BAAlB,kBAAkB;+BAAlB,kBAAkB;6BAAlB,kBAAkB;4BAAlB,kBAAkB;0BAAlB,kBAAkB;+BAAlB,kBAAkB;4BAAlB,kBAAkB;2BAAlB,kBAAkB;8BAAlB,kBAAkB;4BAAlB,kBAAkB;6BAAlB,kBAAkB;wBAAlB,kBAAkB;2BAAlB,kBAAkB;yBAAlB,kBAAkB;6BAAlB,kBAAkB;8BAAlB,kBAAkB;6BAAlB,kBAAkB;kCAAlB,kBAAkB"}
|
|
@@ -5,13 +5,14 @@ import { default as __DTS_DEFAULT_2__ } from 'primevue/image';
|
|
|
5
5
|
import { PDFDocumentLoadingTask } from 'pdfjs-dist/types/src/display/api';
|
|
6
6
|
import { WatermarkOptions, HighlightOptions, AnnotationEventPayload, HighlightEventPayload, TextLayerLoadedEventPayload } from '@tato30/vue-pdf';
|
|
7
7
|
import { PageViewport } from 'pdfjs-dist/types/src/display/display_utils';
|
|
8
|
-
import { default as __DTS_DEFAULT_3__ } from 'primevue/
|
|
8
|
+
import { default as __DTS_DEFAULT_3__ } from 'primevue/skeleton';
|
|
9
9
|
import { default as __DTS_DEFAULT_4__ } from 'primevue/divider';
|
|
10
10
|
import { default as __DTS_DEFAULT_5__ } from 'primevue/inputnumber';
|
|
11
11
|
import { default as __DTS_DEFAULT_6__ } from 'primevue/dialog';
|
|
12
12
|
import { default as __DTS_DEFAULT_7__ } from 'primevue/datatable';
|
|
13
13
|
import { default as __DTS_DEFAULT_8__ } from 'primevue/column';
|
|
14
14
|
import { default as Button } from 'primevue/button';
|
|
15
|
+
import { default as Message } from 'primevue/message';
|
|
15
16
|
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
16
17
|
isPreviewPanelVisible: {
|
|
17
18
|
type: BooleanConstructor;
|
|
@@ -27,6 +28,8 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
27
28
|
};
|
|
28
29
|
}>, {}, {
|
|
29
30
|
url: any;
|
|
31
|
+
isLoadingPreview: boolean;
|
|
32
|
+
previewError: boolean;
|
|
30
33
|
}, {
|
|
31
34
|
children: () => any[];
|
|
32
35
|
}, {
|
|
@@ -35,6 +38,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
35
38
|
closeContentPanel(): void;
|
|
36
39
|
showPreviousFile(nodes: any): void;
|
|
37
40
|
showNextFile(nodes: any): void;
|
|
41
|
+
retryPreview(): void;
|
|
38
42
|
computeUrl(node: any): void;
|
|
39
43
|
}, ComponentOptionsMixin, ComponentOptionsMixin, ("closeContentPanel" | "showPreviousFile" | "showNextFile")[], "closeContentPanel" | "showPreviousFile" | "showNextFile", PublicProps, Readonly< ExtractPropTypes<{
|
|
40
44
|
isPreviewPanelVisible: {
|
|
@@ -555,8 +559,15 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
555
559
|
}): any;
|
|
556
560
|
};
|
|
557
561
|
});
|
|
562
|
+
PdfSkeleton: DefineComponent<{}, {}, {
|
|
563
|
+
paragraphs: {
|
|
564
|
+
id: number;
|
|
565
|
+
lines: string[];
|
|
566
|
+
}[];
|
|
567
|
+
}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
|
|
568
|
+
PrimeSkeleton: __DTS_DEFAULT_3__;
|
|
569
|
+
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
558
570
|
PrimeButton: typeof Button;
|
|
559
|
-
PrimeProgressSpinner: __DTS_DEFAULT_3__;
|
|
560
571
|
PrimeDivider: __DTS_DEFAULT_4__;
|
|
561
572
|
PrimeTag: __DTS_DEFAULT_0__;
|
|
562
573
|
PrimeInputNumber: __DTS_DEFAULT_5__;
|
|
@@ -566,6 +577,14 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
566
577
|
}, {
|
|
567
578
|
tooltip: ObjectDirective<any, any, string, any>;
|
|
568
579
|
}, string, ComponentProvideOptions, true, {}, any>;
|
|
580
|
+
PdfSkeleton: DefineComponent<{}, {}, {
|
|
581
|
+
paragraphs: {
|
|
582
|
+
id: number;
|
|
583
|
+
lines: string[];
|
|
584
|
+
}[];
|
|
585
|
+
}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
|
|
586
|
+
PrimeSkeleton: __DTS_DEFAULT_3__;
|
|
587
|
+
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
569
588
|
CodeMirrorViewer: DefineComponent<{}, {
|
|
570
589
|
contentNode: Record<string, any>;
|
|
571
590
|
isSharedLink: boolean;
|
|
@@ -577,6 +596,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
577
596
|
editorContainer: HTMLDivElement;
|
|
578
597
|
}, HTMLDivElement>;
|
|
579
598
|
PrimeButton: typeof Button;
|
|
599
|
+
PrimeMessage: typeof Message;
|
|
580
600
|
}, {
|
|
581
601
|
tooltip: ObjectDirective<any, any, string, any>;
|
|
582
602
|
}, string, ComponentProvideOptions, true, {}, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PreviewPanel.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/PreviewPanel.vue"],"names":[],"mappings":";;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"PreviewPanel.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/PreviewPanel.vue"],"names":[],"mappings":";;;;;;;;;;;;;AAyIA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBA8RmB,iBAAiB;oBAChB,kBAAkB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageViewer.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/viewer/ImageViewer.vue"],"names":[],"mappings":";AAiFA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"ImageViewer.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/viewer/ImageViewer.vue"],"names":[],"mappings":";AAiFA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBA6OmB,iBAAiB;kBAClB,gBAAgB;oBACd,kBAAkB;gBAEtB,cAAc"}
|
|
@@ -2,8 +2,8 @@ import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps,
|
|
|
2
2
|
import { PDFDocumentLoadingTask } from 'pdfjs-dist/types/src/display/api';
|
|
3
3
|
import { WatermarkOptions, HighlightOptions, AnnotationEventPayload, HighlightEventPayload, TextLayerLoadedEventPayload } from '@tato30/vue-pdf';
|
|
4
4
|
import { PageViewport } from 'pdfjs-dist/types/src/display/display_utils';
|
|
5
|
+
import { default as __DTS_DEFAULT_0__ } from 'primevue/skeleton';
|
|
5
6
|
import { default as Button } from 'primevue/button';
|
|
6
|
-
import { default as ProgressSpinner } from 'primevue/progressspinner';
|
|
7
7
|
import { default as Divider } from 'primevue/divider';
|
|
8
8
|
import { default as Tag } from 'primevue/tag';
|
|
9
9
|
import { default as InputNumber } from 'primevue/inputnumber';
|
|
@@ -386,8 +386,15 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
386
386
|
}): any;
|
|
387
387
|
};
|
|
388
388
|
});
|
|
389
|
+
PdfSkeleton: DefineComponent<{}, {}, {
|
|
390
|
+
paragraphs: {
|
|
391
|
+
id: number;
|
|
392
|
+
lines: string[];
|
|
393
|
+
}[];
|
|
394
|
+
}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
|
|
395
|
+
PrimeSkeleton: __DTS_DEFAULT_0__;
|
|
396
|
+
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
389
397
|
PrimeButton: typeof Button;
|
|
390
|
-
PrimeProgressSpinner: typeof ProgressSpinner;
|
|
391
398
|
PrimeDivider: typeof Divider;
|
|
392
399
|
PrimeTag: typeof Tag;
|
|
393
400
|
PrimeInputNumber: typeof InputNumber;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PDFComponent.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/viewer/PDFComponent.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PDFComponent.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/viewer/PDFComponent.vue"],"names":[],"mappings":";;;;;AAmPA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAqnBmB,iBAAiB;oBAChB,kBAAkB;gBACtB,cAAc;wBACN,sBAAsB;mBAC3B,iBAAiB;sBACd,oBAAoB;mBACvB,iBAAiB"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
import { default as Skeleton } from 'primevue/skeleton';
|
|
3
|
+
declare const _default: DefineComponent<{}, {}, {
|
|
4
|
+
paragraphs: {
|
|
5
|
+
id: number;
|
|
6
|
+
lines: string[];
|
|
7
|
+
}[];
|
|
8
|
+
}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
|
|
9
|
+
PrimeSkeleton: typeof Skeleton;
|
|
10
|
+
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
11
|
+
export default _default;
|
|
12
|
+
//# sourceMappingURL=PdfSkeleton.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PdfSkeleton.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/viewer/PdfSkeleton.vue"],"names":[],"mappings":";AAqDA;;;;;;;;;;qBA+GqB,mBAAmB"}
|
package/dist/src/i18n/index.d.ts
CHANGED
|
@@ -306,6 +306,9 @@ declare const i18n: I18n<{
|
|
|
306
306
|
};
|
|
307
307
|
};
|
|
308
308
|
pdf: {
|
|
309
|
+
converting: string;
|
|
310
|
+
previewError: string;
|
|
311
|
+
retry: string;
|
|
309
312
|
on: string;
|
|
310
313
|
changePage: string;
|
|
311
314
|
scrolling: string;
|
|
@@ -1108,6 +1111,9 @@ declare const i18n: I18n<{
|
|
|
1108
1111
|
};
|
|
1109
1112
|
};
|
|
1110
1113
|
pdf: {
|
|
1114
|
+
converting: string;
|
|
1115
|
+
previewError: string;
|
|
1116
|
+
retry: string;
|
|
1111
1117
|
on: string;
|
|
1112
1118
|
scrolling: string;
|
|
1113
1119
|
pageToPage: 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"}
|
package/dist/src/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { default as PDFComponent } from '../components/viewer/PDFComponent.vue';
|
|
2
|
+
import { default as PdfSkeleton } from '../components/viewer/PdfSkeleton.vue';
|
|
2
3
|
import { default as PristyIcon } from '../components/PristyIcon.vue';
|
|
3
4
|
import { default as PaginatorComponent } from '../components/pagination/PaginatorComponent.vue';
|
|
4
5
|
import { default as CopyOrMovePopup } from '../components/popup/CopyOrMovePopup.vue';
|
|
@@ -102,7 +103,7 @@ export { default as ErrorPage } from '../pages/ErrorPage.vue';
|
|
|
102
103
|
export namespace componentLibrary {
|
|
103
104
|
function install(app: any): void;
|
|
104
105
|
}
|
|
105
|
-
export { PDFComponent, PristyIcon, PaginatorComponent, CopyOrMovePopup, TreeExplorer, EllipsisBreadcrumb, BreadCrumbAlfresco, ContentTableView, ContentListView, ContentGridView, DynamicContentView, ContentFiltersHeader, ImageViewer, VideoPlayer, PreviewPanel, LayoutSelector, HelpKeyMessage, SelectionStatus, MemberList, ActionMenu, CustomToastContent, FolderUpload, UploadTargetInfo, UploadStatus, AddPairInConfigDialog, ConfigDatatable, ConfigItemEditor, ConfigSplitView, ConfigUpload, ListVersionConfig, AddCriterionPopup, AdvancedSearchPanel, AdvancedViewPanel, ExactSearch, FavoriteViewMenu, UserViewsFavoritesPanel, SaveViewPopup, PdfToolsComponent, CodeMirrorEditor, DiffViewerDialog, ArrayEditor, ConfigHealthBanner, CreateWorkflowPopup, ImportNewVersionPopup, ShareLinkPopup, MemberListPopup, SendMailPopup, ImportPopupWithWorker, ErrorComponent, ChatPanel, ChatMessage, ChatInput, ChatRoomList };
|
|
106
|
+
export { PDFComponent, PdfSkeleton, PristyIcon, PaginatorComponent, CopyOrMovePopup, TreeExplorer, EllipsisBreadcrumb, BreadCrumbAlfresco, ContentTableView, ContentListView, ContentGridView, DynamicContentView, ContentFiltersHeader, ImageViewer, VideoPlayer, PreviewPanel, LayoutSelector, HelpKeyMessage, SelectionStatus, MemberList, ActionMenu, CustomToastContent, FolderUpload, UploadTargetInfo, UploadStatus, AddPairInConfigDialog, ConfigDatatable, ConfigItemEditor, ConfigSplitView, ConfigUpload, ListVersionConfig, AddCriterionPopup, AdvancedSearchPanel, AdvancedViewPanel, ExactSearch, FavoriteViewMenu, UserViewsFavoritesPanel, SaveViewPopup, PdfToolsComponent, CodeMirrorEditor, DiffViewerDialog, ArrayEditor, ConfigHealthBanner, CreateWorkflowPopup, ImportNewVersionPopup, ShareLinkPopup, MemberListPopup, SendMailPopup, ImportPopupWithWorker, ErrorComponent, ChatPanel, ChatMessage, ChatInput, ChatRoomList };
|
|
106
107
|
export { default as filingPlanService, NatureDocument, TypeDossier } from '../services/FilingPlanService.js';
|
|
107
108
|
export { checkNotNull, checkString } from '../directives/assert.js';
|
|
108
109
|
export { useCodeMirror, getLanguageExtension, getBaseExtensions, createEditorView } from '../composables/useCodeMirror.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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAyEE,iCAuDC;;yBA/GsB,sCAAsC;wBACvC,qCAAqC;uBACtC,6BAA6B;+BAHrB,gDAAgD;4BAInD,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"}
|
|
@@ -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;;;;;;;;;;;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,
|
|
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,uEAyBC;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;qBA7mBoB,WAAW"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Build the parameters passed to pdf.js getDocument (via usePDF).
|
|
3
|
+
*
|
|
4
|
+
* Since pdf.js 5.x, JPEG2000 (and JBIG2 / ICC color) images are decoded by
|
|
5
|
+
* WASM modules (openjpeg.wasm, qcms_bg.wasm) that pdf.js fetches at runtime
|
|
6
|
+
* from `wasmUrl`. When wasmUrl is left undefined it defaults to null, so the
|
|
7
|
+
* worker tries to fetch "nullopenjpeg.wasm", fails, and JPEG2000 images are
|
|
8
|
+
* not rendered (the rest of the page still renders). We therefore point
|
|
9
|
+
* wasmUrl at "<BASE_URL>pdfjs/wasm/", where vite-plugin-static-copy serves the
|
|
10
|
+
* pdfjs-dist/wasm/* files in the consuming app.
|
|
11
|
+
*
|
|
12
|
+
* BASE_URL is the consuming app's Vite base (e.g. "/espaces/"). It is read
|
|
13
|
+
* from the ConfigStore at runtime because this library is consumed as a
|
|
14
|
+
* pre-built bundle, so import.meta.env.BASE_URL would be frozen to the
|
|
15
|
+
* library's own base instead of the app's.
|
|
16
|
+
*
|
|
17
|
+
* @param {string|object} src - A PDF URL or a DocumentInitParameters object.
|
|
18
|
+
* @returns {object} DocumentInitParameters including wasmUrl.
|
|
19
|
+
*/
|
|
20
|
+
export function buildPdfSource(src: string | object): object;
|
|
21
|
+
//# sourceMappingURL=PdfConfigService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PdfConfigService.d.ts","sourceRoot":"","sources":["../../../src/services/PdfConfigService.js"],"names":[],"mappings":"AAkBA;;;;;;;;;;;;;;;;;;GAkBG;AACH,oCAHW,MAAM,GAAC,MAAM,GACX,MAAM,CAQlB"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { StoreDefinition, PiniaCustomStateProperties } from 'pinia';
|
|
2
2
|
export const useConfigStore: StoreDefinition<"ConfigStore", {
|
|
3
3
|
INSTANCE_NAME: string;
|
|
4
|
+
BASE_URL: string;
|
|
4
5
|
APP_ROOT_TITLE: string;
|
|
5
6
|
ALFRESCO_HOST: string;
|
|
6
7
|
ESPACES_HOST: string;
|
|
@@ -87,6 +88,7 @@ export const useConfigStore: StoreDefinition<"ConfigStore", {
|
|
|
87
88
|
}, {
|
|
88
89
|
oidc: (state: {
|
|
89
90
|
INSTANCE_NAME: string;
|
|
91
|
+
BASE_URL: string;
|
|
90
92
|
APP_ROOT_TITLE: string;
|
|
91
93
|
ALFRESCO_HOST: string;
|
|
92
94
|
ESPACES_HOST: string;
|
|
@@ -172,6 +174,7 @@ export const useConfigStore: StoreDefinition<"ConfigStore", {
|
|
|
172
174
|
MARCHES_DIRECTIONS_MAITRESSES: any[];
|
|
173
175
|
} & PiniaCustomStateProperties<{
|
|
174
176
|
INSTANCE_NAME: string;
|
|
177
|
+
BASE_URL: string;
|
|
175
178
|
APP_ROOT_TITLE: string;
|
|
176
179
|
ALFRESCO_HOST: string;
|
|
177
180
|
ESPACES_HOST: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/stores/config.js"],"names":[],"mappings":";AAoBA
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/stores/config.js"],"names":[],"mappings":";AAoBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAoLI;;OAEG;;IAkBH;;;;;OAKG;0CADS,OAAO,CAAC,IAAI,CAAC;GAgC1B"}
|
|
@@ -3,33 +3,47 @@ export const useFavoritesStore: StoreDefinition<"FavoritesStore", {
|
|
|
3
3
|
favorites: any[];
|
|
4
4
|
loaded: boolean;
|
|
5
5
|
loading: boolean;
|
|
6
|
+
loadError: boolean;
|
|
7
|
+
repairableGuid: any;
|
|
6
8
|
}, {
|
|
7
9
|
siteFavorites: (state: {
|
|
8
10
|
favorites: any[];
|
|
9
11
|
loaded: boolean;
|
|
10
12
|
loading: boolean;
|
|
13
|
+
loadError: boolean;
|
|
14
|
+
repairableGuid: any;
|
|
11
15
|
} & PiniaCustomStateProperties<{
|
|
12
16
|
favorites: any[];
|
|
13
17
|
loaded: boolean;
|
|
14
18
|
loading: boolean;
|
|
19
|
+
loadError: boolean;
|
|
20
|
+
repairableGuid: any;
|
|
15
21
|
}>) => any[];
|
|
16
22
|
fileFavorites: (state: {
|
|
17
23
|
favorites: any[];
|
|
18
24
|
loaded: boolean;
|
|
19
25
|
loading: boolean;
|
|
26
|
+
loadError: boolean;
|
|
27
|
+
repairableGuid: any;
|
|
20
28
|
} & PiniaCustomStateProperties<{
|
|
21
29
|
favorites: any[];
|
|
22
30
|
loaded: boolean;
|
|
23
31
|
loading: boolean;
|
|
32
|
+
loadError: boolean;
|
|
33
|
+
repairableGuid: any;
|
|
24
34
|
}>) => any[];
|
|
25
35
|
folderFavorites: (state: {
|
|
26
36
|
favorites: any[];
|
|
27
37
|
loaded: boolean;
|
|
28
38
|
loading: boolean;
|
|
39
|
+
loadError: boolean;
|
|
40
|
+
repairableGuid: any;
|
|
29
41
|
} & PiniaCustomStateProperties<{
|
|
30
42
|
favorites: any[];
|
|
31
43
|
loaded: boolean;
|
|
32
44
|
loading: boolean;
|
|
45
|
+
loadError: boolean;
|
|
46
|
+
repairableGuid: any;
|
|
33
47
|
}>) => any[];
|
|
34
48
|
}, {
|
|
35
49
|
/**
|
|
@@ -39,6 +53,17 @@ export const useFavoritesStore: StoreDefinition<"FavoritesStore", {
|
|
|
39
53
|
* @returns {Promise<Array>} The favorites array
|
|
40
54
|
*/
|
|
41
55
|
loadFavorites(force?: boolean): Promise<any[]>;
|
|
56
|
+
/**
|
|
57
|
+
* Remove favorites whose target node no longer resolves (e.g. deleted),
|
|
58
|
+
* which otherwise make the all-or-nothing list endpoint return 400.
|
|
59
|
+
*
|
|
60
|
+
* The endpoint stops at the first bad favorite, so orphans are discovered
|
|
61
|
+
* one at a time: delete the known one, reload, and repeat while a new
|
|
62
|
+
* repairable guid surfaces. Bounded by MAX_REPAIR_ITERATIONS.
|
|
63
|
+
*
|
|
64
|
+
* @returns {Promise<number>} The number of orphan favorites removed
|
|
65
|
+
*/
|
|
66
|
+
repairOrphanFavorites(): Promise<number>;
|
|
42
67
|
/**
|
|
43
68
|
* Add a favorite entry to the local cache after a successful API create.
|
|
44
69
|
* @param {Object} entry - The favorite entry returned by the API
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"favorites.d.ts","sourceRoot":"","sources":["../../../src/stores/favorites.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"favorites.d.ts","sourceRoot":"","sources":["../../../src/stores/favorites.js"],"names":[],"mappings":";AAmGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA4BI;;;;;OAKG;0BAFQ,OAAO,GACL,OAAO,OAAO;IA0E3B;;;;;;;;;OASG;6BADU,OAAO,CAAC,MAAM,CAAC;IAyC5B;;;OAGG;;IAKH;;;OAGG;wCADQ,MAAM;IAQjB;;OAEG;;GAUJ"}
|