@pristy/pristy-libvue 1.21.4 → 1.22.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/README.md +2 -0
- package/dist/pristy-libvue.css +1 -1
- package/dist/pristy-libvue.es.js +3817 -3711
- package/dist/pristy-libvue.es.js.map +1 -1
- package/dist/pristy-libvue.umd.js +8 -8
- package/dist/pristy-libvue.umd.js.map +1 -1
- package/dist/src/components/breadcrumb/BreadCrumbAlfresco.vue.d.ts +1 -0
- package/dist/src/components/breadcrumb/BreadCrumbAlfresco.vue.d.ts.map +1 -1
- package/dist/src/components/navigation/PreviewPanel.vue.d.ts +13 -2
- package/dist/src/components/navigation/PreviewPanel.vue.d.ts.map +1 -1
- package/dist/src/components/viewer/ImageViewer.vue.d.ts +13 -2
- package/dist/src/components/viewer/ImageViewer.vue.d.ts.map +1 -1
- package/dist/src/composables/collabProtocol.d.ts +28 -0
- package/dist/src/composables/collabProtocol.d.ts.map +1 -0
- package/dist/src/composables/useCollabEditor.d.ts.map +1 -1
- package/dist/src/i18n/index.d.ts +16 -0
- package/dist/src/i18n/index.d.ts.map +1 -1
- package/dist/src/services/KeyboardShortcutsService.d.ts.map +1 -1
- package/dist/src/stores/navigation.d.ts +2 -0
- package/dist/src/stores/navigation.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -32,6 +32,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
32
32
|
isInUserHome: () => boolean;
|
|
33
33
|
}, {
|
|
34
34
|
isLastItem(item: any): boolean;
|
|
35
|
+
isCurrentPage(item: any): boolean;
|
|
35
36
|
toggleMenuActionButton(event: any, item: any): void;
|
|
36
37
|
isNodeIgnore(item: any, index: any): boolean;
|
|
37
38
|
}, ComponentOptionsMixin, ComponentOptionsMixin, "reload"[], "reload", PublicProps, Readonly< ExtractPropTypes<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BreadCrumbAlfresco.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/breadcrumb/BreadCrumbAlfresco.vue"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"BreadCrumbAlfresco.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/breadcrumb/BreadCrumbAlfresco.vue"],"names":[],"mappings":";;;AA+FA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBA8NmB,iBAAiB;uBACb,qBAAqB"}
|
|
@@ -132,10 +132,19 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
132
132
|
zoomLevel: number;
|
|
133
133
|
maxZoomLevel: number;
|
|
134
134
|
minZoomLevel: number;
|
|
135
|
+
zoomStep: number;
|
|
136
|
+
naturalWidth: number;
|
|
137
|
+
naturalHeight: number;
|
|
135
138
|
}, {
|
|
136
139
|
zoomStyle(): {
|
|
137
|
-
|
|
138
|
-
|
|
140
|
+
width?: undefined;
|
|
141
|
+
maxWidth?: undefined;
|
|
142
|
+
height?: undefined;
|
|
143
|
+
transition?: undefined;
|
|
144
|
+
} | {
|
|
145
|
+
width: string;
|
|
146
|
+
maxWidth: string;
|
|
147
|
+
height: string;
|
|
139
148
|
transition: string;
|
|
140
149
|
};
|
|
141
150
|
hasContentUrl(): boolean;
|
|
@@ -144,7 +153,9 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
144
153
|
reload(): void;
|
|
145
154
|
download(): void;
|
|
146
155
|
loadImage(): void;
|
|
156
|
+
onImageLoad(event: any): void;
|
|
147
157
|
fitAuto(): void;
|
|
158
|
+
actualSize(): void;
|
|
148
159
|
zoomIn(): void;
|
|
149
160
|
zoomOut(): void;
|
|
150
161
|
}, ComponentOptionsMixin, ComponentOptionsMixin, "reload"[], "reload", PublicProps, Readonly< ExtractPropTypes<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PreviewPanel.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/PreviewPanel.vue"],"names":[],"mappings":";;;;;;;;;;;;;AAyIA
|
|
1
|
+
{"version":3,"file":"PreviewPanel.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/PreviewPanel.vue"],"names":[],"mappings":";;;;;;;;;;;;;AAyIA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBA8RmB,iBAAiB;oBAChB,kBAAkB"}
|
|
@@ -29,10 +29,19 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
29
29
|
zoomLevel: number;
|
|
30
30
|
maxZoomLevel: number;
|
|
31
31
|
minZoomLevel: number;
|
|
32
|
+
zoomStep: number;
|
|
33
|
+
naturalWidth: number;
|
|
34
|
+
naturalHeight: number;
|
|
32
35
|
}, {
|
|
33
36
|
zoomStyle(): {
|
|
34
|
-
|
|
35
|
-
|
|
37
|
+
width?: undefined;
|
|
38
|
+
maxWidth?: undefined;
|
|
39
|
+
height?: undefined;
|
|
40
|
+
transition?: undefined;
|
|
41
|
+
} | {
|
|
42
|
+
width: string;
|
|
43
|
+
maxWidth: string;
|
|
44
|
+
height: string;
|
|
36
45
|
transition: string;
|
|
37
46
|
};
|
|
38
47
|
hasContentUrl(): boolean;
|
|
@@ -41,7 +50,9 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
41
50
|
reload(): void;
|
|
42
51
|
download(): void;
|
|
43
52
|
loadImage(): void;
|
|
53
|
+
onImageLoad(event: any): void;
|
|
44
54
|
fitAuto(): void;
|
|
55
|
+
actualSize(): void;
|
|
45
56
|
zoomIn(): void;
|
|
46
57
|
zoomOut(): void;
|
|
47
58
|
}, ComponentOptionsMixin, ComponentOptionsMixin, "reload"[], "reload", PublicProps, Readonly< ExtractPropTypes<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageViewer.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/viewer/ImageViewer.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"ImageViewer.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/viewer/ImageViewer.vue"],"names":[],"mappings":";AA0FA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAsRmB,iBAAiB;kBAClB,gBAAgB;oBACd,kBAAkB;gBAEtB,cAAc"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Decides how an incoming "updates" broadcast must be handled.
|
|
3
|
+
*
|
|
4
|
+
* @param {number} syncedVersion - getSyncedVersion(state) of the client
|
|
5
|
+
* @param {number} messageVersion - server version AFTER applying the batch
|
|
6
|
+
* @param {number} updateCount - number of updates in the batch
|
|
7
|
+
* @returns {{action: "apply", skip: number}|{action: "ignore"}|{action: "gap"}}
|
|
8
|
+
* - apply: feed updates.slice(skip) to receiveUpdates()
|
|
9
|
+
* - ignore: the whole batch was already applied
|
|
10
|
+
* - gap: updates are missing in between
|
|
11
|
+
*/
|
|
12
|
+
export function planUpdatesApplication(syncedVersion: number, messageVersion: number, updateCount: number): {
|
|
13
|
+
action: "apply";
|
|
14
|
+
skip: number;
|
|
15
|
+
} | {
|
|
16
|
+
action: "ignore";
|
|
17
|
+
} | {
|
|
18
|
+
action: "gap";
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Tells whether a resync snapshot must replace the client state.
|
|
22
|
+
*
|
|
23
|
+
* @param {number} syncedVersion - getSyncedVersion(state) of the client
|
|
24
|
+
* @param {number} resyncVersion - version carried by the resync message
|
|
25
|
+
* @returns {boolean} true when the snapshot is ahead of the client
|
|
26
|
+
*/
|
|
27
|
+
export function shouldApplyResync(syncedVersion: number, resyncVersion: number): boolean;
|
|
28
|
+
//# sourceMappingURL=collabProtocol.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collabProtocol.d.ts","sourceRoot":"","sources":["../../../src/composables/collabProtocol.js"],"names":[],"mappings":"AAiBA;;;;;;;;;;GAUG;AACH,sDARW,MAAM,kBACN,MAAM,eACN,MAAM,GACJ;IAAC,MAAM,EAAE,OAAO,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAC,GAAC;IAAC,MAAM,EAAE,QAAQ,CAAA;CAAC,GAAC;IAAC,MAAM,EAAE,KAAK,CAAA;CAAC,CAmB9E;AAED;;;;;;GAMG;AACH,iDAJW,MAAM,iBACN,MAAM,GACJ,OAAO,CAInB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCollabEditor.d.ts","sourceRoot":"","sources":["../../../src/composables/useCollabEditor.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useCollabEditor.d.ts","sourceRoot":"","sources":["../../../src/composables/useCollabEditor.js"],"names":[],"mappings":"AAmKA;;;;;GAKG;AACH,uCA0gCC;AAzoCD,0BAA2B,QAAQ,CAAC;AACpC,4BAA6B,UAAU,CAAC;AAExC;;;;GAIG;AACH,+BAAgC,CAAC,CAAC"}
|
package/dist/src/i18n/index.d.ts
CHANGED
|
@@ -261,6 +261,9 @@ declare const i18n: I18n<{
|
|
|
261
261
|
fichier_config: string;
|
|
262
262
|
fichier_log: string;
|
|
263
263
|
espace: string;
|
|
264
|
+
imageViewer: {
|
|
265
|
+
actualSize: string;
|
|
266
|
+
};
|
|
264
267
|
menu: {
|
|
265
268
|
espaces: string;
|
|
266
269
|
favoris: string;
|
|
@@ -830,6 +833,11 @@ declare const i18n: I18n<{
|
|
|
830
833
|
action: string;
|
|
831
834
|
};
|
|
832
835
|
};
|
|
836
|
+
breadcrumb: {
|
|
837
|
+
label: string;
|
|
838
|
+
home: string;
|
|
839
|
+
actions: string;
|
|
840
|
+
};
|
|
833
841
|
};
|
|
834
842
|
fr: {
|
|
835
843
|
emptyPasswordOrUser: string;
|
|
@@ -1091,6 +1099,9 @@ declare const i18n: I18n<{
|
|
|
1091
1099
|
fichier_config: string;
|
|
1092
1100
|
fichier_log: string;
|
|
1093
1101
|
espace: string;
|
|
1102
|
+
imageViewer: {
|
|
1103
|
+
actualSize: string;
|
|
1104
|
+
};
|
|
1094
1105
|
menu: {
|
|
1095
1106
|
espaces: string;
|
|
1096
1107
|
favoris: string;
|
|
@@ -1658,6 +1669,11 @@ declare const i18n: I18n<{
|
|
|
1658
1669
|
action: string;
|
|
1659
1670
|
};
|
|
1660
1671
|
};
|
|
1672
|
+
breadcrumb: {
|
|
1673
|
+
label: string;
|
|
1674
|
+
home: string;
|
|
1675
|
+
actions: string;
|
|
1676
|
+
};
|
|
1661
1677
|
};
|
|
1662
1678
|
}, {}, {}, string, true>;
|
|
1663
1679
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/i18n/index.js"],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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAOG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KeyboardShortcutsService.d.ts","sourceRoot":"","sources":["../../../src/services/KeyboardShortcutsService.js"],"names":[],"mappings":";;AAiBA;;;GAGG;AACH;IACE;;;;OAIG;IACH,iDAMC;IAED;;;OAGG;IACH,uDAwBC;IAED;;;OAGG;IACH,
|
|
1
|
+
{"version":3,"file":"KeyboardShortcutsService.d.ts","sourceRoot":"","sources":["../../../src/services/KeyboardShortcutsService.js"],"names":[],"mappings":";;AAiBA;;;GAGG;AACH;IACE;;;;OAIG;IACH,iDAMC;IAED;;;OAGG;IACH,uDAwBC;IAED;;;OAGG;IACH,mDAkBC;CACF"}
|
|
@@ -16,6 +16,7 @@ import { StoreDefinition } from 'pinia';
|
|
|
16
16
|
* - `loading`: A boolean indicating if the application is in a loading state.
|
|
17
17
|
* - `emptyFolder`: A boolean indicating if the current folder is empty.
|
|
18
18
|
* - `role`: The user's role within the current workspace.
|
|
19
|
+
* - `visibility`: The visibility of the current workspace.
|
|
19
20
|
* - `canUpload`: A boolean indicating if the user has permission to upload.
|
|
20
21
|
* - `pagination`: Pagination details for managing viewable content.
|
|
21
22
|
* - `isInConsultation`: A boolean indicating if the user is in consultation mode.
|
|
@@ -41,6 +42,7 @@ export const useNavigationStore: StoreDefinition<"NavigationStore", {
|
|
|
41
42
|
loading: boolean;
|
|
42
43
|
emptyFolder: boolean;
|
|
43
44
|
role: any;
|
|
45
|
+
visibility: any;
|
|
44
46
|
canUpload: boolean;
|
|
45
47
|
pagination: any;
|
|
46
48
|
isInConsultation: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"navigation.d.ts","sourceRoot":"","sources":["../../../src/stores/navigation.js"],"names":[],"mappings":";AAoBA
|
|
1
|
+
{"version":3,"file":"navigation.d.ts","sourceRoot":"","sources":["../../../src/stores/navigation.js"],"names":[],"mappings":";AAoBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH;;;;;;;;;;;;;;;;;;;;;IA4BI;;;;;;OAMG;;;IAkJH;;;;;;OAMG;;GA4GJ"}
|