@pristy/pristy-libvue 2.15.0 → 2.16.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/{ActivityHistory-sxbMlSfr.js → ActivityHistory-DgugopJu.js} +2 -2
- package/dist/{ActivityHistory-sxbMlSfr.js.map → ActivityHistory-DgugopJu.js.map} +1 -1
- package/dist/{BookmarksComponent-DTh-oCqW.js → BookmarksComponent-BsVkjHDs.js} +2 -2
- package/dist/{BookmarksComponent-DTh-oCqW.js.map → BookmarksComponent-BsVkjHDs.js.map} +1 -1
- package/dist/{ChartWrapper-KF1bh33I.js → ChartWrapper-Cn4qvZrN.js} +2 -2
- package/dist/{ChartWrapper-KF1bh33I.js.map → ChartWrapper-Cn4qvZrN.js.map} +1 -1
- package/dist/{DisplayFileInDashboardComponent-k04ZYClB.js → DisplayFileInDashboardComponent-DFbgjJQD.js} +2 -2
- package/dist/{DisplayFileInDashboardComponent-k04ZYClB.js.map → DisplayFileInDashboardComponent-DFbgjJQD.js.map} +1 -1
- package/dist/{ExternalApps-BVoa-yFy.js → ExternalApps-DtVKaN6h.js} +2 -2
- package/dist/{ExternalApps-BVoa-yFy.js.map → ExternalApps-DtVKaN6h.js.map} +1 -1
- package/dist/{FavoriteList-DGT-B0wo.js → FavoriteList-2ffRI8Ov.js} +2 -2
- package/dist/{FavoriteList-DGT-B0wo.js.map → FavoriteList-2ffRI8Ov.js.map} +1 -1
- package/dist/{MarkdownComponent-BLIrIQbV.js → MarkdownComponent-Cd34LCLP.js} +2 -2
- package/dist/{MarkdownComponent-BLIrIQbV.js.map → MarkdownComponent-Cd34LCLP.js.map} +1 -1
- package/dist/{SearchInput-10PYLLs9.js → SearchInput-DDR4-OwU.js} +2 -2
- package/dist/{SearchInput-10PYLLs9.js.map → SearchInput-DDR4-OwU.js.map} +1 -1
- package/dist/{UnknownBlockType-B9t36sV5.js → UnknownBlockType-CPdBnteG.js} +2 -2
- package/dist/{UnknownBlockType-B9t36sV5.js.map → UnknownBlockType-CPdBnteG.js.map} +1 -1
- package/dist/{index-BLyGibYv.js → index-ljscfG6r.js} +6269 -6139
- package/dist/index-ljscfG6r.js.map +1 -0
- package/dist/pristy-libvue.css +1 -1
- package/dist/pristy-libvue.es.js +1 -1
- package/dist/pristy-libvue.umd.js +14 -14
- package/dist/pristy-libvue.umd.js.map +1 -1
- package/dist/src/AlfrescoApi.d.ts.map +1 -1
- package/dist/src/components/classification/DictionaryForm.vue.d.ts.map +1 -1
- package/dist/src/components/classification/LexiconForm.vue.d.ts.map +1 -1
- package/dist/src/components/classification/NatureSelector.vue.d.ts.map +1 -1
- package/dist/src/components/layouts/AppLayout.vue.d.ts +33 -0
- package/dist/src/components/layouts/AppLayout.vue.d.ts.map +1 -1
- package/dist/src/components/layouts/AppSidebar.vue.d.ts +24 -0
- package/dist/src/components/layouts/AppSidebar.vue.d.ts.map +1 -1
- package/dist/src/components/layouts/AppSubmenu.vue.d.ts +8 -4
- package/dist/src/components/layouts/AppSubmenu.vue.d.ts.map +1 -1
- package/dist/src/components/layouts/SidebarProfileSection.vue.d.ts +15 -0
- package/dist/src/components/layouts/SidebarProfileSection.vue.d.ts.map +1 -1
- package/dist/src/composables/collabProtocol.d.ts +45 -0
- package/dist/src/composables/collabProtocol.d.ts.map +1 -0
- package/dist/src/composables/useCollabEditor.d.ts.map +1 -1
- package/dist/src/httpClientPatch.d.ts +29 -0
- package/dist/src/httpClientPatch.d.ts.map +1 -0
- package/package.json +4 -4
- package/dist/index-BLyGibYv.js.map +0 -1
|
@@ -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":"AA6CA,sCAA6C;AAQ7C,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;4BAzD7D,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DictionaryForm.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/classification/DictionaryForm.vue"],"names":[],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"DictionaryForm.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/classification/DictionaryForm.vue"],"names":[],"mappings":";;;;;;AAkGA;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LexiconForm.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/classification/LexiconForm.vue"],"names":[],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"LexiconForm.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/classification/LexiconForm.vue"],"names":[],"mappings":";;;;;;AA2FA;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NatureSelector.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/classification/NatureSelector.vue"],"names":[],"mappings":";;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"NatureSelector.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/classification/NatureSelector.vue"],"names":[],"mappings":";;;;;;;;;;;AAyLA;"}
|
|
@@ -117,6 +117,13 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
117
117
|
type: StringConstructor;
|
|
118
118
|
default: string;
|
|
119
119
|
};
|
|
120
|
+
/**
|
|
121
|
+
* Whether to show the portal link in the sidebar profile menu
|
|
122
|
+
*/
|
|
123
|
+
showPortalLink: {
|
|
124
|
+
type: BooleanConstructor;
|
|
125
|
+
default: boolean;
|
|
126
|
+
};
|
|
120
127
|
/**
|
|
121
128
|
* Logo for mobile topbar
|
|
122
129
|
*/
|
|
@@ -326,6 +333,13 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
326
333
|
type: StringConstructor;
|
|
327
334
|
default: string;
|
|
328
335
|
};
|
|
336
|
+
/**
|
|
337
|
+
* Whether to show the portal link in the sidebar profile menu
|
|
338
|
+
*/
|
|
339
|
+
showPortalLink: {
|
|
340
|
+
type: BooleanConstructor;
|
|
341
|
+
default: boolean;
|
|
342
|
+
};
|
|
329
343
|
/**
|
|
330
344
|
* Logo for mobile topbar
|
|
331
345
|
*/
|
|
@@ -360,6 +374,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
360
374
|
onLogout?: (...args: any[]) => any;
|
|
361
375
|
}>, {
|
|
362
376
|
menuItems: unknown[];
|
|
377
|
+
showPortalLink: boolean;
|
|
363
378
|
portalUrl: string;
|
|
364
379
|
showSearch: boolean;
|
|
365
380
|
searchRoute: string;
|
|
@@ -397,6 +412,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
397
412
|
type: StringConstructor;
|
|
398
413
|
default: string;
|
|
399
414
|
};
|
|
415
|
+
showPortalLink: {
|
|
416
|
+
type: BooleanConstructor;
|
|
417
|
+
default: boolean;
|
|
418
|
+
};
|
|
400
419
|
}>, {
|
|
401
420
|
layoutState: {
|
|
402
421
|
menuMode: string;
|
|
@@ -436,8 +455,13 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
436
455
|
type: StringConstructor;
|
|
437
456
|
default: string;
|
|
438
457
|
};
|
|
458
|
+
showPortalLink: {
|
|
459
|
+
type: BooleanConstructor;
|
|
460
|
+
default: boolean;
|
|
461
|
+
};
|
|
439
462
|
}>> & Readonly<{}>, {
|
|
440
463
|
menuItems: unknown[];
|
|
464
|
+
showPortalLink: boolean;
|
|
441
465
|
logoFull: string;
|
|
442
466
|
logoIcon: string;
|
|
443
467
|
logoAlt: string;
|
|
@@ -469,6 +493,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
469
493
|
type: BooleanConstructor;
|
|
470
494
|
default: boolean;
|
|
471
495
|
};
|
|
496
|
+
showPortalLink: {
|
|
497
|
+
type: BooleanConstructor;
|
|
498
|
+
default: boolean;
|
|
499
|
+
};
|
|
472
500
|
}>, {
|
|
473
501
|
t: ComposerTranslation<{
|
|
474
502
|
[x: string]: LocaleMessage<VueMessageType>;
|
|
@@ -495,8 +523,13 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
495
523
|
type: BooleanConstructor;
|
|
496
524
|
default: boolean;
|
|
497
525
|
};
|
|
526
|
+
showPortalLink: {
|
|
527
|
+
type: BooleanConstructor;
|
|
528
|
+
default: boolean;
|
|
529
|
+
};
|
|
498
530
|
}>> & Readonly<{}>, {
|
|
499
531
|
isSlimMode: boolean;
|
|
532
|
+
showPortalLink: boolean;
|
|
500
533
|
}, {}, {
|
|
501
534
|
PrimeMenu: DefineComponent<MenuProps, MenuSlots, ((e: "focus", event: Event) => void) & ((e: "blur", event: Event) => void) & ((e: "show") => void) & ((e: "hide") => void), MenuMethods>;
|
|
502
535
|
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppLayout.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/layouts/AppLayout.vue"],"names":[],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"AppLayout.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/layouts/AppLayout.vue"],"names":[],"mappings":";;;;;AA8HA;;IAo9CI;;;OAGG;;;;;IASH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IASH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IASH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;;OAGG;;;;;IAKH;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA7JH;;;OAGG;;;;;IASH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IASH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IASH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;;OAGG;;;;;IAKH;;;OAGG"}
|
|
@@ -35,6 +35,13 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
35
35
|
type: StringConstructor;
|
|
36
36
|
default: string;
|
|
37
37
|
};
|
|
38
|
+
/**
|
|
39
|
+
* Whether to show the portal link in the profile menu
|
|
40
|
+
*/
|
|
41
|
+
showPortalLink: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
38
45
|
}>, {
|
|
39
46
|
layoutState: {
|
|
40
47
|
menuMode: string;
|
|
@@ -89,8 +96,16 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
89
96
|
type: StringConstructor;
|
|
90
97
|
default: string;
|
|
91
98
|
};
|
|
99
|
+
/**
|
|
100
|
+
* Whether to show the portal link in the profile menu
|
|
101
|
+
*/
|
|
102
|
+
showPortalLink: {
|
|
103
|
+
type: BooleanConstructor;
|
|
104
|
+
default: boolean;
|
|
105
|
+
};
|
|
92
106
|
}>> & Readonly<{}>, {
|
|
93
107
|
menuItems: unknown[];
|
|
108
|
+
showPortalLink: boolean;
|
|
94
109
|
logoFull: string;
|
|
95
110
|
logoIcon: string;
|
|
96
111
|
logoAlt: string;
|
|
@@ -122,6 +137,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
122
137
|
type: BooleanConstructor;
|
|
123
138
|
default: boolean;
|
|
124
139
|
};
|
|
140
|
+
showPortalLink: {
|
|
141
|
+
type: BooleanConstructor;
|
|
142
|
+
default: boolean;
|
|
143
|
+
};
|
|
125
144
|
}>, {
|
|
126
145
|
t: ComposerTranslation<{
|
|
127
146
|
[x: string]: LocaleMessage<VueMessageType>;
|
|
@@ -148,8 +167,13 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
148
167
|
type: BooleanConstructor;
|
|
149
168
|
default: boolean;
|
|
150
169
|
};
|
|
170
|
+
showPortalLink: {
|
|
171
|
+
type: BooleanConstructor;
|
|
172
|
+
default: boolean;
|
|
173
|
+
};
|
|
151
174
|
}>> & Readonly<{}>, {
|
|
152
175
|
isSlimMode: boolean;
|
|
176
|
+
showPortalLink: boolean;
|
|
153
177
|
}, {}, {
|
|
154
178
|
PrimeMenu: DefineComponent<MenuProps, MenuSlots, ((e: "focus", event: Event) => void) & ((e: "blur", event: Event) => void) & ((e: "show") => void) & ((e: "hide") => void), MenuMethods>;
|
|
155
179
|
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppSidebar.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/layouts/AppSidebar.vue"],"names":[],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"AppSidebar.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/layouts/AppSidebar.vue"],"names":[],"mappings":";;;;;AAwEA;;IAwRI;;;OAGG;;;;;IAKH;;;OAGG;;;;;IAKH;;;OAGG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAjCH;;;OAGG;;;;;IAKH;;;OAGG;;;;;IAKH;;;OAGG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG"}
|
|
@@ -2,11 +2,13 @@ import { DefineComponent, ExtractPropTypes, Ref, ComputedRef, ComponentOptionsMi
|
|
|
2
2
|
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
3
3
|
/**
|
|
4
4
|
* Menu items array
|
|
5
|
-
* Each item can have: { label, labelKey, icon, to, badge, items }
|
|
5
|
+
* Each item can have: { label, labelKey, icon, to, url, target, badge, items }
|
|
6
6
|
* - label: Display text (used if labelKey not provided)
|
|
7
7
|
* - labelKey: i18n translation key
|
|
8
8
|
* - icon: Icon class (e.g., 'ri-home-line')
|
|
9
|
-
* - to: Route path
|
|
9
|
+
* - to: Route path (internal navigation)
|
|
10
|
+
* - url: External URL (opens in new tab by default)
|
|
11
|
+
* - target: Link target (defaults to '_self' for external URLs)
|
|
10
12
|
* - badge: Optional badge text
|
|
11
13
|
* - items: Array of sub-items (same structure)
|
|
12
14
|
*/
|
|
@@ -26,11 +28,13 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
26
28
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
27
29
|
/**
|
|
28
30
|
* Menu items array
|
|
29
|
-
* Each item can have: { label, labelKey, icon, to, badge, items }
|
|
31
|
+
* Each item can have: { label, labelKey, icon, to, url, target, badge, items }
|
|
30
32
|
* - label: Display text (used if labelKey not provided)
|
|
31
33
|
* - labelKey: i18n translation key
|
|
32
34
|
* - icon: Icon class (e.g., 'ri-home-line')
|
|
33
|
-
* - to: Route path
|
|
35
|
+
* - to: Route path (internal navigation)
|
|
36
|
+
* - url: External URL (opens in new tab by default)
|
|
37
|
+
* - target: Link target (defaults to '_self' for external URLs)
|
|
34
38
|
* - badge: Optional badge text
|
|
35
39
|
* - items: Array of sub-items (same structure)
|
|
36
40
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppSubmenu.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/layouts/AppSubmenu.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"AppSubmenu.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/layouts/AppSubmenu.vue"],"names":[],"mappings":";AAuIA;;IA+hBI;;;;;;;;;;;OAWG;;;;;;;;;;;;;;;IAXH;;;;;;;;;;;OAWG"}
|
|
@@ -11,6 +11,13 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
11
11
|
type: BooleanConstructor;
|
|
12
12
|
default: boolean;
|
|
13
13
|
};
|
|
14
|
+
/**
|
|
15
|
+
* Whether to show the portal link in the profile menu
|
|
16
|
+
*/
|
|
17
|
+
showPortalLink: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
14
21
|
}>, {
|
|
15
22
|
t: ComposerTranslation<{
|
|
16
23
|
[x: string]: LocaleMessage<VueMessageType>;
|
|
@@ -40,8 +47,16 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
40
47
|
type: BooleanConstructor;
|
|
41
48
|
default: boolean;
|
|
42
49
|
};
|
|
50
|
+
/**
|
|
51
|
+
* Whether to show the portal link in the profile menu
|
|
52
|
+
*/
|
|
53
|
+
showPortalLink: {
|
|
54
|
+
type: BooleanConstructor;
|
|
55
|
+
default: boolean;
|
|
56
|
+
};
|
|
43
57
|
}>> & Readonly<{}>, {
|
|
44
58
|
isSlimMode: boolean;
|
|
59
|
+
showPortalLink: boolean;
|
|
45
60
|
}, {}, {
|
|
46
61
|
PrimeMenu: DefineComponent<MenuProps, MenuSlots, ((e: "focus", event: Event) => void) & ((e: "blur", event: Event) => void) & ((e: "show") => void) & ((e: "hide") => void), MenuMethods>;
|
|
47
62
|
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SidebarProfileSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/layouts/SidebarProfileSection.vue"],"names":[],"mappings":";;;;;AAuEA;;
|
|
1
|
+
{"version":3,"file":"SidebarProfileSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/layouts/SidebarProfileSection.vue"],"names":[],"mappings":";;;;;AAuEA;;IAgWI;;OAEG;;;;;IAKH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;IATH;;OAEG;;;;;IAKH;;OAEG"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pure decision helpers for the CodeMirror collab protocol.
|
|
3
|
+
* Shared by useCollabEditor.js (production) and the OT protocol test harness
|
|
4
|
+
* (collab-ot-protocol.test.js), so the tests exercise the exact logic that
|
|
5
|
+
* runs in production instead of a hand-maintained copy.
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Decides how an incoming "updates" broadcast must be handled.
|
|
9
|
+
*
|
|
10
|
+
* receiveUpdates() from @codemirror/collab is only correct when the incoming
|
|
11
|
+
* updates begin exactly at the client's synced version. The server sends
|
|
12
|
+
* message.version = the version AFTER applying the batch, so the batch base
|
|
13
|
+
* is (messageVersion - updateCount).
|
|
14
|
+
*
|
|
15
|
+
* @param {number} syncedVersion - getSyncedVersion(state) of the client
|
|
16
|
+
* @param {number} messageVersion - server version AFTER applying the batch
|
|
17
|
+
* @param {number} updateCount - number of updates in the batch
|
|
18
|
+
* @returns {{action: "apply", skip: number}|{action: "ignore"}|{action: "gap"}}
|
|
19
|
+
* - apply: feed updates.slice(skip) to receiveUpdates()
|
|
20
|
+
* - ignore: the whole batch was already applied (duplicate/stale delivery)
|
|
21
|
+
* - gap: updates are missing in between; applying would corrupt the document
|
|
22
|
+
*/
|
|
23
|
+
export function planUpdatesApplication(syncedVersion: number, messageVersion: number, updateCount: number): {
|
|
24
|
+
action: "apply";
|
|
25
|
+
skip: number;
|
|
26
|
+
} | {
|
|
27
|
+
action: "ignore";
|
|
28
|
+
} | {
|
|
29
|
+
action: "gap";
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* A resync snapshot is only authoritative when it is AHEAD of the client.
|
|
33
|
+
*
|
|
34
|
+
* A stale or equal-version resync — typically emitted by the server for a
|
|
35
|
+
* rejected push whose own confirmation broadcast was still in flight (which
|
|
36
|
+
* happens whenever RTT > push debounce) — carries nothing the client does not
|
|
37
|
+
* already have, but applying it would destroy unconfirmed local updates: the
|
|
38
|
+
* user's latest keystrokes.
|
|
39
|
+
*
|
|
40
|
+
* @param {number} syncedVersion - getSyncedVersion(state) of the client
|
|
41
|
+
* @param {number} resyncVersion - version carried by the resync message
|
|
42
|
+
* @returns {boolean} true when the snapshot must be applied
|
|
43
|
+
*/
|
|
44
|
+
export function shouldApplyResync(syncedVersion: number, resyncVersion: number): boolean;
|
|
45
|
+
//# sourceMappingURL=collabProtocol.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collabProtocol.d.ts","sourceRoot":"","sources":["../../../src/composables/collabProtocol.js"],"names":[],"mappings":"AAiBA;;;;;GAKG;AAEH;;;;;;;;;;;;;;;GAeG;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;;;;;;;;;;;;GAYG;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,uCAo6BC;AAniCD,0BAA2B,QAAQ,CAAC;AACpC,4BAA6B,UAAU,CAAC;AACxC,+BAAgC,CAAC,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Whether a request body is raw binary that must be sent as-is.
|
|
3
|
+
*
|
|
4
|
+
* fetch() and XMLHttpRequest.send() both accept Blob/File, ArrayBuffer and
|
|
5
|
+
* typed arrays (ArrayBuffer views) natively, so these must never be serialized.
|
|
6
|
+
*
|
|
7
|
+
* @param {*} bodyParam - The candidate request body.
|
|
8
|
+
* @returns {boolean} true when bodyParam is a binary payload.
|
|
9
|
+
*/
|
|
10
|
+
export function isBinaryBody(bodyParam: any): boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Patch a @alfresco/js-api FetchHttpClient so binary request bodies survive.
|
|
13
|
+
*
|
|
14
|
+
* FetchHttpClient.buildBody() serializes every non-string body with
|
|
15
|
+
* JSON.stringify(). A binary File/Blob has no enumerable own properties, so it
|
|
16
|
+
* becomes the string "{}" and the uploaded content is destroyed. This bug is
|
|
17
|
+
* present up to @alfresco/js-api 9.5.0 (and the 10.1.0 pre-releases) and breaks
|
|
18
|
+
* PUT /nodes/{id}/content (updateNodeContent), i.e. uploading a new version of
|
|
19
|
+
* a file. A plain multipart upload is unaffected because it goes through the
|
|
20
|
+
* multipart/form-data branch instead.
|
|
21
|
+
*
|
|
22
|
+
* We wrap buildBody so binary bodies are returned untouched while every other
|
|
23
|
+
* case is delegated to the original implementation.
|
|
24
|
+
*
|
|
25
|
+
* @param {object} httpClient - The client exposing buildBody (alfrescoApi.httpClient).
|
|
26
|
+
* @returns {object} The same client, patched in place.
|
|
27
|
+
*/
|
|
28
|
+
export function passBinaryBodyThrough(httpClient: object): object;
|
|
29
|
+
//# sourceMappingURL=httpClientPatch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"httpClientPatch.d.ts","sourceRoot":"","sources":["../../src/httpClientPatch.js"],"names":[],"mappings":"AAiBA;;;;;;;;GAQG;AACH,wCAHW,GAAC,GACC,OAAO,CAcnB;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,kDAHW,MAAM,GACJ,MAAM,CAclB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pristy/pristy-libvue",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.16.0",
|
|
4
4
|
"description": "Core library used by all Pristy applications",
|
|
5
5
|
"homepage": "https://pristy.fr/en/",
|
|
6
6
|
"author": "JECI SARL",
|
|
@@ -52,9 +52,9 @@
|
|
|
52
52
|
"@codemirror/lint": "^6.9.7",
|
|
53
53
|
"@codemirror/merge": "^6.12.2",
|
|
54
54
|
"@codemirror/search": "^6.7.1",
|
|
55
|
-
"@codemirror/state": "^6.7.
|
|
55
|
+
"@codemirror/state": "^6.7.1",
|
|
56
56
|
"@codemirror/theme-one-dark": "^6.1.3",
|
|
57
|
-
"@codemirror/view": "^6.43.
|
|
57
|
+
"@codemirror/view": "^6.43.6",
|
|
58
58
|
"codemirror": "6.0.2",
|
|
59
59
|
"vue": "^3.5.22",
|
|
60
60
|
"vue-i18n": "^11.4.6",
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"@eslint/js": "^9.37.0",
|
|
94
94
|
"@vitejs/plugin-legacy": "^7.2.1",
|
|
95
95
|
"@vitejs/plugin-vue": "^6.0.7",
|
|
96
|
-
"@vitest/coverage-v8": "^3.2.
|
|
96
|
+
"@vitest/coverage-v8": "^3.2.7",
|
|
97
97
|
"eslint": "^9.39.4",
|
|
98
98
|
"eslint-config-prettier": "^10.1.8",
|
|
99
99
|
"eslint-plugin-import": "^2.32.0",
|