@pristy/pristy-libvue 1.19.3 → 1.21.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.
Files changed (47) hide show
  1. package/dist/pristy-libvue.css +1 -1
  2. package/dist/pristy-libvue.es.js +7572 -6997
  3. package/dist/pristy-libvue.es.js.map +1 -1
  4. package/dist/pristy-libvue.umd.js +11 -11
  5. package/dist/pristy-libvue.umd.js.map +1 -1
  6. package/dist/src/components/auth/OidcCallback.vue.d.ts +4 -0
  7. package/dist/src/components/auth/OidcCallback.vue.d.ts.map +1 -0
  8. package/dist/src/components/pdfTools/PdfToolsComponent.vue.d.ts +4 -0
  9. package/dist/src/components/pdfTools/PdfToolsComponent.vue.d.ts.map +1 -1
  10. package/dist/src/components/search/AdvancedSearchPanel.vue.d.ts +14 -10
  11. package/dist/src/components/search/AdvancedSearchPanel.vue.d.ts.map +1 -1
  12. package/dist/src/components/search/AdvancedViewPanel.vue.d.ts +14 -10
  13. package/dist/src/components/search/AdvancedViewPanel.vue.d.ts.map +1 -1
  14. package/dist/src/components/search/ExactSearch.vue.d.ts.map +1 -1
  15. package/dist/src/components/search/SaveViewPopup.vue.d.ts +7 -5
  16. package/dist/src/components/search/SaveViewPopup.vue.d.ts.map +1 -1
  17. package/dist/src/components/viewer/PDFComponent.vue.d.ts.map +1 -1
  18. package/dist/src/i18n/index.d.ts +44 -6
  19. package/dist/src/i18n/index.d.ts.map +1 -1
  20. package/dist/src/index.d.ts +1 -0
  21. package/dist/src/index.d.ts.map +1 -1
  22. package/dist/src/plugins/KeycloakPlugin.d.ts +1 -1
  23. package/dist/src/plugins/KeycloakPlugin.d.ts.map +1 -1
  24. package/dist/src/services/LibVueActionService.d.ts.map +1 -1
  25. package/dist/src/services/PdfCommentService.d.ts +30 -0
  26. package/dist/src/services/PdfCommentService.d.ts.map +1 -0
  27. package/dist/src/services/PdfRedactionService.d.ts +30 -0
  28. package/dist/src/services/PdfRedactionService.d.ts.map +1 -0
  29. package/dist/src/services/PdfTextService.d.ts +25 -0
  30. package/dist/src/services/PdfTextService.d.ts.map +1 -0
  31. package/dist/src/services/WorkflowService.d.ts +13 -11
  32. package/dist/src/services/WorkflowService.d.ts.map +1 -1
  33. package/dist/src/services/auth/KeycloakAuthProvider.d.ts +44 -0
  34. package/dist/src/services/auth/KeycloakAuthProvider.d.ts.map +1 -0
  35. package/dist/src/services/auth/OidcAuthProvider.d.ts +38 -0
  36. package/dist/src/services/auth/OidcAuthProvider.d.ts.map +1 -0
  37. package/dist/src/services/auth/__tests__/FakeAuthProvider.d.ts +32 -0
  38. package/dist/src/services/auth/__tests__/FakeAuthProvider.d.ts.map +1 -0
  39. package/dist/src/services/auth/authProvider.d.ts +57 -0
  40. package/dist/src/services/auth/authProvider.d.ts.map +1 -0
  41. package/dist/src/services/auth/buildOidcSettings.d.ts +29 -0
  42. package/dist/src/services/auth/buildOidcSettings.d.ts.map +1 -0
  43. package/dist/src/stores/config.d.ts +21 -6
  44. package/dist/src/stores/config.d.ts.map +1 -1
  45. package/dist/src/stores/user.d.ts +49 -22
  46. package/dist/src/stores/user.d.ts.map +1 -1
  47. package/package.json +27 -30
@@ -0,0 +1,57 @@
1
+ /**
2
+ * Select the implementation. The default stays keycloak-js until an instance has
3
+ * been validated on oidc-client-ts, so installing the façade changes nothing in
4
+ * production. Any unrecognised value falls back to keycloak-js on purpose: a
5
+ * configuration typo must not switch a production instance.
6
+ *
7
+ * @param {Object} config the ConfigStore
8
+ * @param {Object} init merged legacy keycloak-js options
9
+ * @returns {AuthProvider}
10
+ */
11
+ export function createAuthProvider(config: any, init: any): AuthProvider;
12
+ /**
13
+ * @param {AuthProvider} provider
14
+ * @param {Promise<void>} [ready] resolves once `init()` has settled
15
+ */
16
+ export function setAuthProvider(provider: AuthProvider, ready?: Promise<void>): void;
17
+ /** @returns {AuthProvider|null} */
18
+ export function getAuthProvider(): AuthProvider | null;
19
+ /** @returns {Promise<void>} */
20
+ export function whenAuthReady(): Promise<void>;
21
+ /** Test helper: forget the installed provider. */
22
+ export function resetAuthProvider(): void;
23
+ /**
24
+ * The authentication façade. Implementations must never be stored in Pinia
25
+ * state: Pinia makes state deeply reactive, and proxying a class that owns
26
+ * timers and event subscriptions breaks object identity and leaks listeners.
27
+ * That is why the instance lives in this module instead.
28
+ */
29
+ export type AuthProvider = {
30
+ /**
31
+ * restore a session from storage
32
+ */
33
+ init: () => Promise<void>;
34
+ isAuthenticated: () => boolean;
35
+ /**
36
+ * redirects to the IdP
37
+ */
38
+ login: (returnTo?: string) => Promise<void>;
39
+ /**
40
+ * consumes the IdP redirect and
41
+ * returns the in-app path to navigate to
42
+ */
43
+ completeLogin: () => Promise<string>;
44
+ logout: () => Promise<void>;
45
+ getAccessToken: () => string | null;
46
+ getUsername: () => string | null;
47
+ getAccountConsoleUrl: (section: string) => string | null;
48
+ /**
49
+ * appends a subscriber
50
+ */
51
+ onTokenRenewed: (cb: () => void) => void;
52
+ /**
53
+ * appends a subscriber
54
+ */
55
+ onSessionLost: (cb: () => void) => void;
56
+ };
57
+ //# sourceMappingURL=authProvider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"authProvider.d.ts","sourceRoot":"","sources":["../../../../src/services/auth/authProvider.js"],"names":[],"mappings":"AA2CA;;;;;;;;;GASG;AACH,4DAFa,YAAY,CAOxB;AAED;;;GAGG;AACH,0CAHW,YAAY,UACZ,OAAO,CAAC,IAAI,CAAC,QAKvB;AAED,mCAAmC;AACnC,mCADc,YAAY,GAAC,IAAI,CAG9B;AAED,+BAA+B;AAC/B,iCADc,OAAO,CAAC,IAAI,CAAC,CAG1B;AAED,kDAAkD;AAClD,0CAGC;;;;;;;;;;;UAxDa,MAAM,OAAO,CAAC,IAAI,CAAC;qBACnB,MAAM,OAAO;;;;WACb,CAAC,QAAQ,CAAC,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC;;;;;mBACpC,MAAM,OAAO,CAAC,MAAM,CAAC;YAErB,MAAM,OAAO,CAAC,IAAI,CAAC;oBACnB,MAAM,MAAM,GAAC,IAAI;iBACjB,MAAM,MAAM,GAAC,IAAI;0BACjB,CAAC,OAAO,EAAE,MAAM,KAAK,MAAM,GAAC,IAAI;;;;oBAChC,CAAC,EAAE,EAAE,MAAM,IAAI,KAAK,IAAI;;;;mBACxB,CAAC,EAAE,EAAE,MAAM,IAAI,KAAK,IAAI"}
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Translate the legacy keycloak-js configuration into oidc-client-ts settings.
3
+ *
4
+ * This function is the whole backward-compatibility layer of the migration:
5
+ * every configuration shape that exists in a deployed `env-config.json` must
6
+ * keep working here. It is deliberately pure — no globals, no I/O — so it can
7
+ * be table-tested, following the same rule as `collabProtocol.js`.
8
+ *
9
+ * @param {Object} init merged legacy options, i.e.
10
+ * `{ ...config.oidc.init, ...config.OIDC_CUSTOM }`
11
+ * @param {Object} env
12
+ * @param {string} env.baseUrl the application base path, e.g. "/espaces/"
13
+ * @param {string} env.origin `window.location.origin`
14
+ * @returns {Object} settings accepted by `UserManager`
15
+ */
16
+ export function buildOidcSettings(init: any, { baseUrl, origin }: {
17
+ baseUrl: string;
18
+ origin: string;
19
+ }): any;
20
+ /**
21
+ * Normalise a `ConfigStore.BASE_URL` value into a root-relative path with a
22
+ * trailing slash, defaulting to "/" when missing. Exported so callers that
23
+ * build URLs under the same base (e.g. `OidcCallback.retry()`) stay in sync
24
+ * with the redirect URIs computed here.
25
+ * @param {string} [baseUrl]
26
+ * @returns {string}
27
+ */
28
+ export function normaliseBase(baseUrl?: string): string;
29
+ //# sourceMappingURL=buildOidcSettings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"buildOidcSettings.d.ts","sourceRoot":"","sources":["../../../../src/services/auth/buildOidcSettings.js"],"names":[],"mappings":"AAiBA;;;;;;;;;;;;;;GAcG;AACH,kEAJG;IAAoB,OAAO,EAAnB,MAAM;IACM,MAAM,EAAlB,MAAM;CACd,OA4CF;AAoBD;;;;;;;GAOG;AACH,wCAHW,MAAM,GACJ,MAAM,CAKlB"}
@@ -39,6 +39,9 @@ export const useConfigStore: StoreDefinition<"ConfigStore", {
39
39
  OIDC_PROVIDER: string;
40
40
  OIDC_CUSTOM: {};
41
41
  OIDC_RESPONSE_TYPE: string;
42
+ OIDC_CLIENT: string;
43
+ OIDC_USERNAME_CLAIM: string;
44
+ OIDC_ACCOUNT_URLS: {};
42
45
  OPEN_PDF_WITH_COLLABORA: boolean;
43
46
  primeConfig: {
44
47
  ripple: boolean;
@@ -53,8 +56,6 @@ export const useConfigStore: StoreDefinition<"ConfigStore", {
53
56
  };
54
57
  ACA_LINK: string;
55
58
  SHOW_ACA_LOGIN_LINK: boolean;
56
- SENTRY_ENABLE: boolean;
57
- SENTRY_DSN: string;
58
59
  MATOMO_ENABLE: boolean;
59
60
  MATOMO_INSTANCE_URL: string;
60
61
  MATOMO_SITE_ID: string;
@@ -126,6 +127,9 @@ export const useConfigStore: StoreDefinition<"ConfigStore", {
126
127
  OIDC_PROVIDER: string;
127
128
  OIDC_CUSTOM: {};
128
129
  OIDC_RESPONSE_TYPE: string;
130
+ OIDC_CLIENT: string;
131
+ OIDC_USERNAME_CLAIM: string;
132
+ OIDC_ACCOUNT_URLS: {};
129
133
  OPEN_PDF_WITH_COLLABORA: boolean;
130
134
  primeConfig: {
131
135
  ripple: boolean;
@@ -140,8 +144,6 @@ export const useConfigStore: StoreDefinition<"ConfigStore", {
140
144
  };
141
145
  ACA_LINK: string;
142
146
  SHOW_ACA_LOGIN_LINK: boolean;
143
- SENTRY_ENABLE: boolean;
144
- SENTRY_DSN: string;
145
147
  MATOMO_ENABLE: boolean;
146
148
  MATOMO_INSTANCE_URL: string;
147
149
  MATOMO_SITE_ID: string;
@@ -212,6 +214,9 @@ export const useConfigStore: StoreDefinition<"ConfigStore", {
212
214
  OIDC_PROVIDER: string;
213
215
  OIDC_CUSTOM: {};
214
216
  OIDC_RESPONSE_TYPE: string;
217
+ OIDC_CLIENT: string;
218
+ OIDC_USERNAME_CLAIM: string;
219
+ OIDC_ACCOUNT_URLS: {};
215
220
  OPEN_PDF_WITH_COLLABORA: boolean;
216
221
  primeConfig: {
217
222
  ripple: boolean;
@@ -226,8 +231,6 @@ export const useConfigStore: StoreDefinition<"ConfigStore", {
226
231
  };
227
232
  ACA_LINK: string;
228
233
  SHOW_ACA_LOGIN_LINK: boolean;
229
- SENTRY_ENABLE: boolean;
230
- SENTRY_DSN: string;
231
234
  MATOMO_ENABLE: boolean;
232
235
  MATOMO_INSTANCE_URL: string;
233
236
  MATOMO_SITE_ID: string;
@@ -267,6 +270,18 @@ export const useConfigStore: StoreDefinition<"ConfigStore", {
267
270
  } | {
268
271
  init?: undefined;
269
272
  };
273
+ /**
274
+ * True when authentication is delegated to an OpenID Connect provider.
275
+ *
276
+ * Applications must branch on this rather than enumerating `AUTH` values:
277
+ * the mode list belongs here, once per library, instead of being duplicated
278
+ * in every application router. Omitting a mode in one of those copies is how
279
+ * `azuread` silently stopped redirecting to the IdP.
280
+ *
281
+ * @param {Object} state
282
+ * @returns {boolean}
283
+ */
284
+ isOidcAuth: (state: any) => boolean;
270
285
  }, {
271
286
  setInstanceName(name: any): void;
272
287
  /**
@@ -1 +1 @@
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"}
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/stores/config.js"],"names":[],"mappings":";AAuBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAuLI;;;;;;;;;;OAUG;gCADU,OAAO;;;IASpB;;OAEG;;IAkBH;;;;;OAKG;0CADS,OAAO,CAAC,IAAI,CAAC;GAgC1B"}
@@ -11,17 +11,18 @@ import { StoreDefinition, PiniaCustomStateProperties } from 'pinia';
11
11
  * - `isAdmin` {boolean} - Indicates whether the current user is an administrator.
12
12
  * - `isLoggedIn` {boolean} - Tracks whether the user is currently logged in.
13
13
  * - `person` {object|null} - Stores the person details of the logged-in user.
14
- * - `keycloak` {object|null} - Represents Keycloak authentication configuration.
15
14
  * - `homeFolder` {string|null} - Stores the user's home folder path.
16
15
  *
17
16
  * Getters:
18
17
  * - `displayName` {string} - Returns the display name of the logged-in user, or an empty string if no user is logged in.
19
18
  *
20
19
  * Actions:
21
- * - `logout` - Logs out the current user and stops the auto-renew for the OIDC connection.
22
- * - `validateSession` - Checks if the client is logged in and retrieves the Alfresco ticket using the Keycloak Bearer Token.
23
- * - `connectKeycloak` - Handles the redirection and connection to Keycloak for unauthenticated users.
24
- * - `keycloakReady` - Stores the Keycloak object and retrieves the Alfresco ticket using the Keycloak Bearer Token.
20
+ * - `logout` - Logs out the current user and delegates to the auth provider.
21
+ * - `validateSession` - Checks if the client is logged in and retrieves the Alfresco ticket using the OIDC Bearer Token.
22
+ * - `connectKeycloak` - Redirects to the IdP for unauthenticated users, otherwise loads the current Person.
23
+ * - `keycloakReady` - Subscribes to the auth provider and retrieves the Alfresco ticket using the OIDC Bearer Token.
24
+ * - `completeLogin` - Consumes the IdP redirect and opens the Alfresco session.
25
+ * - `accountConsoleUrl` - Returns the IdP account console URL for a given section, when available.
25
26
  * - `getAlfTicket` - Logs into Alfresco with the Bearer token and retrieves the Alfresco ticket.
26
27
  * - `getPerson` - Retrieves the person details for the currently authenticated user.
27
28
  * - `login` - Attempts to log in a user with a username and password.
@@ -34,7 +35,6 @@ export const useUserStore: StoreDefinition<"UserStore", {
34
35
  isAdmin: boolean;
35
36
  isLoggedIn: boolean;
36
37
  person: any;
37
- keycloak: any;
38
38
  homeFolder: any;
39
39
  isPristyAdmin: any;
40
40
  }, {
@@ -43,7 +43,6 @@ export const useUserStore: StoreDefinition<"UserStore", {
43
43
  isAdmin: boolean;
44
44
  isLoggedIn: boolean;
45
45
  person: any;
46
- keycloak: any;
47
46
  homeFolder: any;
48
47
  isPristyAdmin: any;
49
48
  } & PiniaCustomStateProperties<{
@@ -51,7 +50,6 @@ export const useUserStore: StoreDefinition<"UserStore", {
51
50
  isAdmin: boolean;
52
51
  isLoggedIn: boolean;
53
52
  person: any;
54
- keycloak: any;
55
53
  homeFolder: any;
56
54
  isPristyAdmin: any;
57
55
  }>): any;
@@ -62,32 +60,61 @@ export const useUserStore: StoreDefinition<"UserStore", {
62
60
  */
63
61
  logout(): Promise<axios.AxiosResponse<any>>;
64
62
  /**
65
- * Check if the client is logged and get alf_ticket using Keycloak Bearer Token
66
- * @return {Promise<{id:string}>} Current alf_token
63
+ * Check whether the client is logged in and, when authentication is
64
+ * delegated to an OIDC provider via the AuthProvider façade, refresh the
65
+ * Alfresco ticket using its Bearer token.
66
+ * @return {Promise<{id:string}|undefined>} Current alf_token, or
67
+ * undefined when the session cannot be validated
67
68
  */
68
69
  validateSession(): Promise<{
69
70
  id: string;
70
- }>;
71
+ } | undefined>;
71
72
  /**
72
- * Redirect to Keycloak if unauthent, else retrieve current Person
73
- * form Alfresco.
73
+ * Ensure the user is authenticated. Redirects to the IdP when they are not,
74
+ * otherwise loads their Person from Alfresco.
75
+ * @param {string} [returnTo] in-app path to return to after login
74
76
  * @return {Promise<void>}
75
77
  */
76
- connectKeycloak: () => Promise<void>;
78
+ connectKeycloak: (returnTo?: string) => Promise<void>;
79
+ /**
80
+ * Consume the IdP redirect and open the Alfresco session.
81
+ * @return {Promise<string>} the in-app path to navigate to
82
+ */
83
+ completeLogin: () => Promise<string>;
77
84
  /**
78
- * Store Keycloak object and get alf_ticket using Keycloak Bearer Token.
79
- * We will ask alf_ticket every ALF_TOKEN_TTL_MS (60s)
80
- * @param {any} _keycloak Keycloak object yet authenticate
81
- * @return {Promise<{id: string}>}
85
+ * @param {string} section "profile" or "password"
86
+ * @return {string|null} the IdP account console URL, when one is available
82
87
  */
83
- keycloakReady(_keycloak: any): Promise<{
88
+ accountConsoleUrl(section: string): string | null;
89
+ /**
90
+ * Subscribe to the provider and open the Alfresco session. The Alfresco
91
+ * ticket is refreshed when the OIDC token is renewed, replacing the former
92
+ * unconditional 60 s poll.
93
+ *
94
+ * Does nothing beyond registering the two subscriptions when the provider
95
+ * has no session yet: `OidcAuthProvider.init()` resolves happily for an
96
+ * anonymous browser (unlike keycloak-js's `onLoad: "login-required"`), so
97
+ * requesting a ticket here would send `Authorization: Bearer null` and
98
+ * surface a misleading initialization error. A later login still
99
+ * refreshes the ticket via the `onTokenRenewed` subscription.
100
+ * @param {Object} provider the auth provider, already initialised
101
+ * @return {Promise<{id: string}|undefined>}
102
+ */
103
+ keycloakReady(provider: any): Promise<{
84
104
  id: string;
85
- }>;
105
+ } | undefined>;
86
106
  /**
87
- * Log to Alfresco with Bearer token and set alf_token
107
+ * Log to Alfresco with Bearer token and set alf_token.
108
+ *
109
+ * Retries exactly once on an HTTP 401, per the design spec ("single retry
110
+ * on 401 on `/tickets/-me-`"): this replaces the 60 s poller the migration
111
+ * deleted, since under an OIDC IdP (e.g. Entra) the token and the
112
+ * Alfresco ticket can have comparable lifetimes, so an idle tab may lose
113
+ * its ticket with nothing else scheduled to refresh it.
114
+ * @param {boolean} [isRetry] internal guard, never pass this explicitly
88
115
  * @return {Promise<{id:string} | undefined>} Current alf_token or undefined if not using OIDC
89
116
  */
90
- getAlfTicket(): Promise<{
117
+ getAlfTicket(isRetry?: boolean): Promise<{
91
118
  id: string;
92
119
  } | undefined>;
93
120
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../src/stores/user.js"],"names":[],"mappings":";AAsCA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH;;;;;;;;;;;;;;;;;;;;;;;;;;;IAiBI;;;OAGG;cADS,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;IAqC7C;;;OAGG;uBADS,OAAO,CAAC;QAAC,EAAE,EAAC,MAAM,CAAA;KAAC,CAAC;IA0BhC;;;;OAIG;2BADS,OAAO,CAAC,IAAI,CAAC;IA0BzB;;;;;OAKG;6BAFQ,GAAG,GACF,OAAO,CAAC;QAAC,EAAE,EAAE,MAAM,CAAA;KAAC,CAAC;IASjC;;;OAGG;oBADS,OAAO,CAAC;QAAC,EAAE,EAAC,MAAM,CAAA;KAAC,GAAG,SAAS,CAAC;IAwC5C;;;OAGG;iBADS,OAAO,CAAC,MAAM,CAAC;IAyC3B;;;OAGG;;IAoBH;;;;;OAKG;gBAHQ,MAAM,YACN,MAAM,GACL,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC;IASnC;;;;;OAKG;gBAHQ,MAAM,KACN,MAAM,GACL,OAAO,CAAC,GAAG,CAAC;IAcxB;;;OAGG;oBADS,OAAO,CAAC,IAAI,CAAC;IAUzB;;;;OAIG;2BAFQ,MAAM,GACL,OAAO,CAAC,MAAM,CAAC;GAwB5B"}
1
+ {"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../src/stores/user.js"],"names":[],"mappings":";AAiDA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH;;;;;;;;;;;;;;;;;;;;;;;;IAgBI;;;OAGG;cADS,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;IA+B7C;;;;;;OAMG;uBAFS,OAAO,CAAC;QAAC,EAAE,EAAC,MAAM,CAAA;KAAC,GAAC,SAAS,CAAC;IAsB1C;;;;;OAKG;iCAFQ,MAAM,KACL,OAAO,CAAC,IAAI,CAAC;IAmBzB;;;OAGG;yBADS,OAAO,CAAC,MAAM,CAAC;IAU3B;;;OAGG;+BAFQ,MAAM,GACL,MAAM,GAAC,IAAI;IAMvB;;;;;;;;;;;;;OAaG;kCADS,OAAO,CAAC;QAAC,EAAE,EAAE,MAAM,CAAA;KAAC,GAAC,SAAS,CAAC;IAkB3C;;;;;;;;;;OAUG;2BAFQ,OAAO,GACN,OAAO,CAAC;QAAC,EAAE,EAAC,MAAM,CAAA;KAAC,GAAG,SAAS,CAAC;IAqC5C;;;OAGG;iBADS,OAAO,CAAC,MAAM,CAAC;IAyC3B;;;OAGG;;IAoBH;;;;;OAKG;gBAHQ,MAAM,YACN,MAAM,GACL,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC;IASnC;;;;;OAKG;gBAHQ,MAAM,KACN,MAAM,GACL,OAAO,CAAC,GAAG,CAAC;IAcxB;;;OAGG;oBADS,OAAO,CAAC,IAAI,CAAC;IAUzB;;;;OAIG;2BAFQ,MAAM,GACL,OAAO,CAAC,MAAM,CAAC;GAwB5B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pristy/pristy-libvue",
3
- "version": "1.19.3",
3
+ "version": "1.21.0",
4
4
  "description": "Core library used by all Pristy applications",
5
5
  "homepage": "https://pristy.fr/en/",
6
6
  "author": "JECI SARL",
@@ -41,30 +41,27 @@
41
41
  "peerDependencies": {
42
42
  "@codemirror/autocomplete": "^6.20.3",
43
43
  "@codemirror/collab": "^6.1.1",
44
- "@codemirror/commands": "^6.10.3",
45
- "@codemirror/lang-html": "^6.4.11",
44
+ "@codemirror/commands": "^6.11.0",
45
+ "@codemirror/lang-html": "^6.4.12",
46
46
  "@codemirror/lang-json": "^6.0.2",
47
- "@codemirror/lang-markdown": "^6.5.0",
47
+ "@codemirror/lang-markdown": "^6.5.2",
48
48
  "@codemirror/lang-xml": "^6.1.0",
49
49
  "@codemirror/lang-yaml": "^6.1.3",
50
- "@codemirror/language": "^6.12.3",
50
+ "@codemirror/language": "^6.12.4",
51
51
  "@codemirror/legacy-modes": "^6.5.3",
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.6.0",
55
+ "@codemirror/state": "^6.7.1",
56
56
  "@codemirror/theme-one-dark": "^6.1.3",
57
- "@codemirror/view": "^6.43.1",
57
+ "@codemirror/view": "^6.43.9",
58
58
  "codemirror": "6.0.2",
59
- "vue": "^3.5.22",
60
- "vue-i18n": "^11.4.6",
59
+ "vue": "^3.5.42",
60
+ "vue-i18n": "^11.4.10",
61
61
  "vue-router": "^4.6.4"
62
62
  },
63
- "resolutions": {
64
- "@codemirror/state": "6.5.2"
65
- },
66
63
  "overrides": {
67
- "minimatch@>=10.0.0 <10.2.3": "10.2.4"
64
+ "minimatch": "^10.2.6"
68
65
  },
69
66
  "dependencies": {
70
67
  "@alfresco/js-api": "^9.5.0",
@@ -72,41 +69,41 @@
72
69
  "@tato30/vue-pdf": "^1.11.5",
73
70
  "@vueuse/core": "^12.8.2",
74
71
  "async-retry": "^1.3.3",
75
- "axios": "^1.18.0",
76
- "dompurify": "^3.4.11",
72
+ "axios": "^1.20.0",
73
+ "dompurify": "^3.4.14",
77
74
  "email-validator": "^2.0.4",
78
- "highlight.js": "^11.11.1",
75
+ "highlight.js": "^11.12.0",
79
76
  "keycloak-js": "^26.2.4",
80
77
  "marked": "^16.4.2",
81
78
  "marked-highlight": "^2.2.4",
79
+ "oidc-client-ts": "^3.5.0",
82
80
  "p-limit": "^6.2.0",
83
81
  "pdf-lib": "^1.17.1",
84
82
  "pinia": "^2.3.1",
85
83
  "primevue": "^3.53.1",
86
84
  "quick-lru": "^7.3.0",
87
- "sanitize-html": "^2.17.5",
85
+ "sanitize-html": "^2.17.7",
88
86
  "type-check": "^0.4.0",
89
87
  "vue-draggable-next": "^2.3.0"
90
88
  },
91
89
  "devDependencies": {
92
90
  "@codemirror/collab": "^6.1.1",
93
- "@eslint/js": "^9.37.0",
91
+ "@eslint/js": "^10.0.1",
94
92
  "@vitejs/plugin-legacy": "^7.2.1",
95
- "@vitejs/plugin-vue": "^6.0.7",
96
- "@vitest/coverage-v8": "^3.2.6",
97
- "eslint": "^9.39.4",
98
- "eslint-config-prettier": "^10.1.8",
99
- "eslint-plugin-import": "^2.32.0",
100
- "eslint-plugin-n": "^17.24.0",
93
+ "@vitejs/plugin-vue": "^6.0.8",
94
+ "@vitest/coverage-v8": "^3.2.7",
95
+ "@vue/test-utils": "^2.5.0",
96
+ "eslint": "^10.9.1",
101
97
  "eslint-plugin-prettier": "^5.5.6",
102
- "eslint-plugin-promise": "^7.3.0",
103
- "eslint-plugin-vue": "^9.33.0",
98
+ "eslint-plugin-vue": "^10.10.0",
99
+ "globals": "^17.11.0",
104
100
  "jsdom": "^27.4.0",
105
- "prettier": "^3.8.4",
101
+ "prettier": "^3.9.6",
106
102
  "rollup-plugin-visualizer": "^6.0.11",
107
- "sass": "^1.101.0",
108
- "svgo": "^4.0.1",
109
- "vite": "^7.3.5",
103
+ "sass": "^1.103.1",
104
+ "svgo": "^4.1.0",
105
+ "typescript": "^6.0.3",
106
+ "vite": "^7.3.6",
110
107
  "vite-plugin-dts": "^4.5.4",
111
108
  "vitest": "^3.2.4"
112
109
  },