@pristy/pristy-libvue 3.3.1 → 3.4.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 (82) hide show
  1. package/README.md +2 -0
  2. package/dist/{ActivityHistory-DRTOIiYj.js → ActivityHistory-xss84z8U.js} +2 -2
  3. package/dist/{ActivityHistory-DRTOIiYj.js.map → ActivityHistory-xss84z8U.js.map} +1 -1
  4. package/dist/{BookmarksComponent-C8u93u06.js → BookmarksComponent-CbimlpVr.js} +2 -2
  5. package/dist/{BookmarksComponent-C8u93u06.js.map → BookmarksComponent-CbimlpVr.js.map} +1 -1
  6. package/dist/{ChartWrapper-BsLpA0RO.js → ChartWrapper-C-ZYKb6V.js} +2 -2
  7. package/dist/{ChartWrapper-BsLpA0RO.js.map → ChartWrapper-C-ZYKb6V.js.map} +1 -1
  8. package/dist/{DisplayFileInDashboardComponent-BKTCuwEB.js → DisplayFileInDashboardComponent-D-FCR9LG.js} +3 -3
  9. package/dist/{DisplayFileInDashboardComponent-BKTCuwEB.js.map → DisplayFileInDashboardComponent-D-FCR9LG.js.map} +1 -1
  10. package/dist/{ExternalApps-H9qpOwm8.js → ExternalApps-CT9aFskA.js} +2 -2
  11. package/dist/{ExternalApps-H9qpOwm8.js.map → ExternalApps-CT9aFskA.js.map} +1 -1
  12. package/dist/{FavoriteList-CEgRUW6F.js → FavoriteList-DI5maFU4.js} +2 -2
  13. package/dist/{FavoriteList-CEgRUW6F.js.map → FavoriteList-DI5maFU4.js.map} +1 -1
  14. package/dist/{MarkdownComponent-drRXRocX.js → MarkdownComponent-Dh35ReGl.js} +2 -2
  15. package/dist/{MarkdownComponent-drRXRocX.js.map → MarkdownComponent-Dh35ReGl.js.map} +1 -1
  16. package/dist/{PDFComponent-lmx_h6g8.js → PDFComponent-DmbXDQt_.js} +3 -3
  17. package/dist/{PDFComponent-lmx_h6g8.js.map → PDFComponent-DmbXDQt_.js.map} +1 -1
  18. package/dist/{PdfConfigService-C7ttjLQg.js → PdfConfigService-BChxov7p.js} +2 -2
  19. package/dist/{PdfConfigService-C7ttjLQg.js.map → PdfConfigService-BChxov7p.js.map} +1 -1
  20. package/dist/{PdfToolsComponent-qvMKgogN.js → PdfToolsComponent-DGnsKMBd.js} +3 -3
  21. package/dist/{PdfToolsComponent-qvMKgogN.js.map → PdfToolsComponent-DGnsKMBd.js.map} +1 -1
  22. package/dist/{PlanTreePdfService-Ka-n_9wQ.js → PlanTreePdfService-C3hz4pUC.js} +2 -2
  23. package/dist/{PlanTreePdfService-Ka-n_9wQ.js.map → PlanTreePdfService-C3hz4pUC.js.map} +1 -1
  24. package/dist/{SearchInput-BTAhRkC9.js → SearchInput-BfrNd7e7.js} +2 -2
  25. package/dist/{SearchInput-BTAhRkC9.js.map → SearchInput-BfrNd7e7.js.map} +1 -1
  26. package/dist/{UnknownBlockType-CLARiaMA.js → UnknownBlockType-FUFvZDfZ.js} +2 -2
  27. package/dist/{UnknownBlockType-CLARiaMA.js.map → UnknownBlockType-FUFvZDfZ.js.map} +1 -1
  28. package/dist/components/FolderUpload.vue.d.ts.map +1 -1
  29. package/dist/components/UploadStatus.vue.d.ts +4 -0
  30. package/dist/components/UploadStatus.vue.d.ts.map +1 -1
  31. package/dist/components/classification/AdminClassificationPage.vue.d.ts +2 -2
  32. package/dist/components/classification/FieldForm.vue.d.ts +1 -1
  33. package/dist/components/classification/PlanAiContextPanel.vue.d.ts +1 -1
  34. package/dist/components/layouts/AppSwitcher.vue.d.ts +4 -4
  35. package/dist/components/layouts/AppSwitcher.vue.d.ts.map +1 -1
  36. package/dist/components/navigation/ColumnTogglePanel.vue.d.ts +9 -0
  37. package/dist/components/navigation/ColumnTogglePanel.vue.d.ts.map +1 -1
  38. package/dist/components/navigation/ContentCompactTableView.vue.d.ts +6 -0
  39. package/dist/components/navigation/ContentCompactTableView.vue.d.ts.map +1 -1
  40. package/dist/components/navigation/ContentTableView.vue.d.ts +6 -0
  41. package/dist/components/navigation/ContentTableView.vue.d.ts.map +1 -1
  42. package/dist/components/navigation/DynamicContentView.vue.d.ts +11 -1
  43. package/dist/components/navigation/DynamicContentView.vue.d.ts.map +1 -1
  44. package/dist/components/popup/ImportPopupWithWorker.vue.d.ts +23 -85
  45. package/dist/components/popup/ImportPopupWithWorker.vue.d.ts.map +1 -1
  46. package/dist/{dracula-QecUsuQb.js → dracula-BPgKBR7L.js} +2 -2
  47. package/dist/{dracula-QecUsuQb.js.map → dracula-BPgKBR7L.js.map} +1 -1
  48. package/dist/{github-Dm_cBuEg.js → github-BPy3vGQK.js} +2 -2
  49. package/dist/{github-Dm_cBuEg.js.map → github-BPy3vGQK.js.map} +1 -1
  50. package/dist/i18n/index.d.ts +46 -0
  51. package/dist/i18n/index.d.ts.map +1 -1
  52. package/dist/{index-BT7k4MMw.js → index-Baapte1j.js} +8164 -7893
  53. package/dist/index-Baapte1j.js.map +1 -0
  54. package/dist/index.d.ts +3 -2
  55. package/dist/{nord-BhgtjT33.js → nord-EssHWQ3z.js} +2 -2
  56. package/dist/{nord-BhgtjT33.js.map → nord-EssHWQ3z.js.map} +1 -1
  57. package/dist/{one-CFdc8AVK.js → one-d8p0vQVk.js} +2 -2
  58. package/dist/{one-CFdc8AVK.js.map → one-d8p0vQVk.js.map} +1 -1
  59. package/dist/pages/LoginPage.vue.d.ts +20 -18
  60. package/dist/pages/LoginPage.vue.d.ts.map +1 -1
  61. package/dist/pristy-libvue.css +1 -1
  62. package/dist/pristy-libvue.es.js +280 -273
  63. package/dist/pristy-libvue.umd.js +33 -33
  64. package/dist/pristy-libvue.umd.js.map +1 -1
  65. package/dist/services/AppSwitcherService.d.ts +13 -0
  66. package/dist/services/AppSwitcherService.d.ts.map +1 -1
  67. package/dist/services/DateFormatPreferenceService.d.ts +41 -0
  68. package/dist/services/DateFormatPreferenceService.d.ts.map +1 -0
  69. package/dist/services/UploadSelectionService.d.ts +46 -0
  70. package/dist/services/UploadSelectionService.d.ts.map +1 -0
  71. package/dist/services/ZipDownloadService.d.ts +18 -3
  72. package/dist/services/ZipDownloadService.d.ts.map +1 -1
  73. package/dist/{solarized-ArJzWm1G.js → solarized-DEOIzyfC.js} +2 -2
  74. package/dist/{solarized-ArJzWm1G.js.map → solarized-DEOIzyfC.js.map} +1 -1
  75. package/dist/stores/config.d.ts +9 -0
  76. package/dist/stores/config.d.ts.map +1 -1
  77. package/dist/stores/export.d.ts +20 -1
  78. package/dist/stores/export.d.ts.map +1 -1
  79. package/dist/stores/navigation.d.ts +2 -0
  80. package/dist/stores/navigation.d.ts.map +1 -1
  81. package/package.json +1 -1
  82. package/dist/index-BT7k4MMw.js.map +0 -1
@@ -13,6 +13,15 @@ export function listApplications(config: any, currentApp?: string): Array<{
13
13
  url: string;
14
14
  current: boolean;
15
15
  }>;
16
+ /**
17
+ * Build the sidebar entries linking to the other applications of the common configuration scope.
18
+ *
19
+ * @param {Object} config ConfigStore state, read for its commonApplications
20
+ * @param {string} currentApp key of the application being displayed, left out of the entries
21
+ * @param {Function} t translation function resolving the appSwitcher.* keys
22
+ * @returns {Array<Object>} one link entry per application followed by a separator, or an empty array when no other application is declared
23
+ */
24
+ export function applicationMenuItems(config: any, currentApp: string, t: Function): Array<any>;
16
25
  export const KNOWN_APPLICATIONS: ({
17
26
  key: string;
18
27
  labelKey: string;
@@ -28,9 +37,13 @@ export const KNOWN_APPLICATIONS: ({
28
37
  path: string;
29
38
  flag: string;
30
39
  })[];
40
+ /** Key of the separator closing the application links of a sidebar menu. */
41
+ export const APPLICATIONS_SEPARATOR_KEY: "separatorApps";
31
42
  declare namespace _default {
32
43
  export { listApplications };
44
+ export { applicationMenuItems };
33
45
  export { KNOWN_APPLICATIONS };
46
+ export { APPLICATIONS_SEPARATOR_KEY };
34
47
  }
35
48
  export default _default;
36
49
  //# sourceMappingURL=AppSwitcherService.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AppSwitcherService.d.ts","sourceRoot":"","sources":["../../src/services/AppSwitcherService.js"],"names":[],"mappings":"AA6GA;;;;;;GAMG;AACH,2DAHW,MAAM,GACJ,KAAK,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,KAAK,EAAG,MAAM,OAAA,CAAC;IAAC,QAAQ,EAAG,MAAM,OAAA,CAAC;IAAC,IAAI,EAAG,MAAM,OAAA,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,OAAO,CAAA;CAAC,CAAC,CAgBjH;AAjHD;;;;;;;;;;;;;;KAgDE"}
1
+ {"version":3,"file":"AppSwitcherService.d.ts","sourceRoot":"","sources":["../../src/services/AppSwitcherService.js"],"names":[],"mappings":"AA6GA;;;;;;GAMG;AACH,2DAHW,MAAM,GACJ,KAAK,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,KAAK,EAAG,MAAM,OAAA,CAAC;IAAC,QAAQ,EAAG,MAAM,OAAA,CAAC;IAAC,IAAI,EAAG,MAAM,OAAA,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,OAAO,CAAA;CAAC,CAAC,CAgBjH;AASD;;;;;;;GAOG;AACH,8DAJW,MAAM,gBAEJ,KAAK,KAAQ,CAqBzB;AArJD;;;;;;;;;;;;;;KAgDE;AAmEF,4EAA4E;AAC5E,yCAA0C,eAAe,CAAC"}
@@ -0,0 +1,41 @@
1
+ /**
2
+ * The identifier of the date format chosen by the user, a key of
3
+ * `DATE_FORMATS`. Reactive: a render reading it updates when it changes.
4
+ *
5
+ * @returns {string}
6
+ */
7
+ export function getDateFormat(): string;
8
+ /**
9
+ * Chooses the date format and saves it in the browser. An unknown
10
+ * identifier is ignored.
11
+ *
12
+ * @param {string} format - A key of `DATE_FORMATS`
13
+ */
14
+ export function setDateFormat(format: string): void;
15
+ /**
16
+ * Formats a date in the local time zone with the format chosen by the user.
17
+ *
18
+ * @param {string|number|Date} value
19
+ * @param {string} [format] - A key of `DATE_FORMATS`, the user's choice by default
20
+ * @returns {string} An empty string for a missing or invalid date
21
+ */
22
+ export function formatPreferredDate(value: string | number | Date, format?: string): string;
23
+ /**
24
+ * The `localStorage` key holding the date format chosen by the user.
25
+ */
26
+ export const DATE_FORMAT_STORAGE_KEY: "dateFormat";
27
+ /**
28
+ * Date formats offered in the column settings, by identifier, as
29
+ * `@vueuse/core` `formatDate` patterns.
30
+ */
31
+ export const DATE_FORMATS: {
32
+ dmy: string;
33
+ "dmy-time": string;
34
+ ymd: string;
35
+ "ymd-time": string;
36
+ };
37
+ /**
38
+ * The date format used until the user chooses one.
39
+ */
40
+ export const DEFAULT_DATE_FORMAT: "dmy";
41
+ //# sourceMappingURL=DateFormatPreferenceService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DateFormatPreferenceService.d.ts","sourceRoot":"","sources":["../../src/services/DateFormatPreferenceService.js"],"names":[],"mappings":"AAmDA;;;;;GAKG;AACH,iCAFa,MAAM,CAIlB;AAED;;;;;GAKG;AACH,sCAFW,MAAM,QAYhB;AAED;;;;;;GAMG;AACH,2CAJW,MAAM,GAAC,MAAM,GAAC,IAAI,WAClB,MAAM,GACJ,MAAM,CAWlB;AA5ED;;GAEG;AACH,sCAAuC,YAAY,CAAC;AAEpD;;;GAGG;AACH;;;;;EAKE;AAEF;;GAEG;AACH,kCAAmC,KAAK,CAAC"}
@@ -0,0 +1,46 @@
1
+ /**
2
+ * Reads the entries of a drop. Must be called synchronously in the `drop` handler:
3
+ * the browser empties the items once the handler yields.
4
+ *
5
+ * @param {DataTransfer} dataTransfer
6
+ * @returns {Array<FileSystemEntry>}
7
+ */
8
+ export function droppedEntries(dataTransfer: DataTransfer): Array<FileSystemEntry>;
9
+ /**
10
+ * Every file of the dropped entries, files and folders mixed, folders walked
11
+ * recursively. Hidden files and folders (name starting with a dot) are left out.
12
+ *
13
+ * @param {Array<FileSystemEntry>} entries see {@link droppedEntries}
14
+ * @returns {Promise<UploadItem[]>}
15
+ */
16
+ export function uploadItemsOfEntries(entries: Array<FileSystemEntry>): Promise<UploadItem[]>;
17
+ /**
18
+ * The files chosen in a file input, either several files or a whole folder
19
+ * (`webkitdirectory`). Hidden files and folders are left out.
20
+ *
21
+ * @param {FileList|File[]} files
22
+ * @returns {UploadItem[]}
23
+ */
24
+ export function uploadItemsOfFiles(files: FileList | File[]): UploadItem[];
25
+ /**
26
+ * @param {File} file
27
+ * @param {?string} accept the `accept` attribute of a file input
28
+ * (`image/*,.pdf,application/zip`)
29
+ * @returns {boolean} whether the file matches, always true without `accept`
30
+ */
31
+ export function matchesAccept(file: File, accept: string | null): boolean;
32
+ /**
33
+ * @param {UploadItem[]} items
34
+ * @returns {boolean} whether the items rebuild folders below the target
35
+ */
36
+ export function createsFolders(items: UploadItem[]): boolean;
37
+ export type UploadItem = {
38
+ file: File;
39
+ /**
40
+ * path of the file below the drop or the chosen
41
+ * folder, folders separated by `/`; the file name alone, or empty, for a file
42
+ * imported directly into the target folder
43
+ */
44
+ relativePath: string;
45
+ };
46
+ //# sourceMappingURL=UploadSelectionService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UploadSelectionService.d.ts","sourceRoot":"","sources":["../../src/services/UploadSelectionService.js"],"names":[],"mappings":"AAiCA;;;;;;GAMG;AACH,6CAHW,YAAY,GACV,KAAK,CAAC,eAAe,CAAC,CAOlC;AAoBD;;;;;;GAMG;AACH,8CAHW,KAAK,CAAC,eAAe,CAAC,GACpB,OAAO,CAAC,UAAU,EAAE,CAAC,CAkBjC;AAED;;;;;;GAMG;AACH,0CAHW,QAAQ,GAAC,IAAI,EAAE,GACb,UAAU,EAAE,CAQxB;AAED;;;;;GAKG;AACH,oCALW,IAAI,UACH,MAAM,OAAA,GAEL,OAAO,CAqBnB;AAED;;;GAGG;AACH,sCAHW,UAAU,EAAE,GACV,OAAO,CAInB;;UAvHa,IAAI;;;;;;kBACJ,MAAM"}
@@ -34,16 +34,31 @@ export function waitForZip(downloadId: string, options?: {
34
34
  sleep?: Function;
35
35
  }): Promise<any>;
36
36
  /**
37
- * Fetches a built zip, reporting the bytes received: the `@alfresco/js-api`
38
- * client reports upload progress only. See `docs/Export.md`.
37
+ * @param {string} nodeId
38
+ * @returns {string} the URL of the node content, as an attachment
39
+ */
40
+ export function nodeContentUrl(nodeId: string): string;
41
+ /**
42
+ * Fetches a built zip, reporting the bytes received. See {@link fetchContent}.
39
43
  *
40
44
  * @param {string} downloadId
45
+ * @param {Function} [onProgress] called with `{loaded, total}`
46
+ * @returns {Promise<Blob>}
47
+ */
48
+ export function fetchZip(downloadId: string, onProgress?: Function): Promise<Blob>;
49
+ /**
50
+ * Fetches a repository content, reporting the bytes received: the
51
+ * `@alfresco/js-api` client reports upload progress only. See `docs/Export.md`.
52
+ *
53
+ * @param {string} url a content URL of the repository
41
54
  * @param {Function} [onProgress] called with `{loaded, total}`, `total` null
42
55
  * when the server sends no `Content-Length`
56
+ * @param {string} [fallbackType] the blob type when the server sends no
57
+ * `Content-Type`
43
58
  * @returns {Promise<Blob>} rejects with an Error carrying `reason`
44
59
  * {@link ZIP_FAILURE}.FAILED when refused
45
60
  */
46
- export function fetchZip(downloadId: string, onProgress?: Function): Promise<Blob>;
61
+ export function fetchContent(url: string, onProgress?: Function, fallbackType?: string): Promise<Blob>;
47
62
  /**
48
63
  * Hands a blob to the browser as a file download.
49
64
  *
@@ -1 +1 @@
1
- {"version":3,"file":"ZipDownloadService.d.ts","sourceRoot":"","sources":["../../src/services/ZipDownloadService.js"],"names":[],"mappings":"AA8BA;;;;GAIG;AACH,mCAJW,MAAM,UACN,GAAC,GACC,KAAK,CAIjB;AAED;;;GAGG;AACH,0BAHW,MAAM,GACJ,OAAO,CAAC,IAAI,CAAC,CAIzB;AAED;;;;;GAKG;AACH,sCAHW,MAAM,GACJ,OAAO,CAAC,IAAI,CAAC,CAiBzB;AAUD;;;;;;;;;GASG;AACH,uCAPW,MAAM,YACN;IAAC,UAAU,CAAC,WAAW;IAAC,YAAY,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,YAAY,CAAC,EAAG,MAAM,OAAA,CAAC;IAAC,KAAK,CAAC,WAAU;CAAC,GAGxG,OAAO,KAAQ,CAkD3B;AAED;;;;;;;;;GASG;AACH,qCANW,MAAM,0BAGJ,OAAO,CAAC,IAAI,CAAC,CA+BzB;AAED;;;;;GAKG;AACH,+BAHW,IAAI,QACJ,MAAM,QAYhB;AA/KD;;;;;;GAMG"}
1
+ {"version":3,"file":"ZipDownloadService.d.ts","sourceRoot":"","sources":["../../src/services/ZipDownloadService.js"],"names":[],"mappings":"AA8BA;;;;GAIG;AACH,mCAJW,MAAM,UACN,GAAC,GACC,KAAK,CAIjB;AAED;;;GAGG;AACH,0BAHW,MAAM,GACJ,OAAO,CAAC,IAAI,CAAC,CAIzB;AAED;;;;;GAKG;AACH,sCAHW,MAAM,GACJ,OAAO,CAAC,IAAI,CAAC,CAiBzB;AAUD;;;;;;;;;GASG;AACH,uCAPW,MAAM,YACN;IAAC,UAAU,CAAC,WAAW;IAAC,YAAY,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,YAAY,CAAC,EAAG,MAAM,OAAA,CAAC;IAAC,KAAK,CAAC,WAAU;CAAC,GAGxG,OAAO,KAAQ,CAkD3B;AAED;;;GAGG;AACH,uCAHW,MAAM,GACJ,MAAM,CAIlB;AAED;;;;;;GAMG;AACH,qCAJW,MAAM,0BAEJ,OAAO,CAAC,IAAI,CAAC,CAIzB;AAED;;;;;;;;;;;GAWG;AACH,kCARW,MAAM,wCAGN,MAAM,GAEJ,OAAO,CAAC,IAAI,CAAC,CA8BzB;AAED;;;;;GAKG;AACH,+BAHW,IAAI,QACJ,MAAM,QAYhB;AAnMD;;;;;;GAMG"}
@@ -1,4 +1,4 @@
1
- import { q as e } from "./index-BT7k4MMw.js";
1
+ import { q as e } from "./index-Baapte1j.js";
2
2
  const r = {
3
3
  comment: "#93a1a1",
4
4
  keyword: "#859900",
@@ -44,4 +44,4 @@ const r = {
44
44
  export {
45
45
  t as default
46
46
  };
47
- //# sourceMappingURL=solarized-ArJzWm1G.js.map
47
+ //# sourceMappingURL=solarized-DEOIzyfC.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"solarized-ArJzWm1G.js","sources":["../src/composables/editorThemes/solarized.js"],"sourcesContent":["/*\n Copyright (C) 2026 - Jeci SARL - https://jeci.fr\n\n This program is free software: you can redistribute it and/or modify\n it under the terms of the GNU Affero General Public License as\n published by the Free Software Foundation, either version 3 of the\n License, or (at your option) any later version.\n\n This program is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU Affero General Public License for more details.\n\n You should have received a copy of the GNU Affero General Public License\n along with this program. If not, see https://www.gnu.org/licenses/agpl-3.0.html.\n*/\n\nimport { buildEditorTheme } from \"@/composables/editorThemes/buildEditorTheme.js\";\n\nconst accents = {\n comment: \"#93a1a1\",\n keyword: \"#859900\",\n string: \"#2aa198\",\n number: \"#d33682\",\n function: \"#268bd2\",\n type: \"#b58900\",\n property: \"#268bd2\",\n tag: \"#268bd2\",\n attribute: \"#b58900\",\n heading: \"#cb4b16\",\n link: \"#6c71c4\",\n code: \"#2aa198\",\n list: \"#cb4b16\",\n invalid: \"#dc322f\",\n};\n\nexport default {\n light: buildEditorTheme({\n ...accents,\n dark: false,\n background: \"#fdf6e3\",\n foreground: \"#657b83\",\n gutterBackground: \"#eee8d5\",\n gutterForeground: \"#93a1a1\",\n activeLine: \"#eee8d5\",\n selection: \"#e3dcc6\",\n cursor: \"#586e75\",\n variable: \"#657b83\",\n }),\n dark: buildEditorTheme({\n ...accents,\n dark: true,\n comment: \"#586e75\",\n background: \"#002b36\",\n foreground: \"#839496\",\n gutterBackground: \"#073642\",\n gutterForeground: \"#586e75\",\n activeLine: \"#073642\",\n selection: \"#0a4a5c\",\n cursor: \"#93a1a1\",\n variable: \"#839496\",\n }),\n};\n"],"names":["accents","solarized","buildEditorTheme"],"mappings":";AAmBA,MAAMA,IAAU;AAAA,EACd,SAAS;AAAA,EACT,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,UAAU;AAAA,EACV,MAAM;AAAA,EACN,UAAU;AAAA,EACV,KAAK;AAAA,EACL,WAAW;AAAA,EACX,SAAS;AAAA,EACT,MAAM;AAAA,EACN,MAAM;AAAA,EACN,MAAM;AAAA,EACN,SAAS;AACX,GAEAC,IAAe;AAAA,EACb,OAAOC,EAAiB;AAAA,IACtB,GAAGF;AAAA,IACH,MAAM;AAAA,IACN,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,kBAAkB;AAAA,IAClB,kBAAkB;AAAA,IAClB,YAAY;AAAA,IACZ,WAAW;AAAA,IACX,QAAQ;AAAA,IACR,UAAU;AAAA,EACd,CAAG;AAAA,EACD,MAAME,EAAiB;AAAA,IACrB,GAAGF;AAAA,IACH,MAAM;AAAA,IACN,SAAS;AAAA,IACT,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,kBAAkB;AAAA,IAClB,kBAAkB;AAAA,IAClB,YAAY;AAAA,IACZ,WAAW;AAAA,IACX,QAAQ;AAAA,IACR,UAAU;AAAA,EACd,CAAG;AACH;"}
1
+ {"version":3,"file":"solarized-DEOIzyfC.js","sources":["../src/composables/editorThemes/solarized.js"],"sourcesContent":["/*\n Copyright (C) 2026 - Jeci SARL - https://jeci.fr\n\n This program is free software: you can redistribute it and/or modify\n it under the terms of the GNU Affero General Public License as\n published by the Free Software Foundation, either version 3 of the\n License, or (at your option) any later version.\n\n This program is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU Affero General Public License for more details.\n\n You should have received a copy of the GNU Affero General Public License\n along with this program. If not, see https://www.gnu.org/licenses/agpl-3.0.html.\n*/\n\nimport { buildEditorTheme } from \"@/composables/editorThemes/buildEditorTheme.js\";\n\nconst accents = {\n comment: \"#93a1a1\",\n keyword: \"#859900\",\n string: \"#2aa198\",\n number: \"#d33682\",\n function: \"#268bd2\",\n type: \"#b58900\",\n property: \"#268bd2\",\n tag: \"#268bd2\",\n attribute: \"#b58900\",\n heading: \"#cb4b16\",\n link: \"#6c71c4\",\n code: \"#2aa198\",\n list: \"#cb4b16\",\n invalid: \"#dc322f\",\n};\n\nexport default {\n light: buildEditorTheme({\n ...accents,\n dark: false,\n background: \"#fdf6e3\",\n foreground: \"#657b83\",\n gutterBackground: \"#eee8d5\",\n gutterForeground: \"#93a1a1\",\n activeLine: \"#eee8d5\",\n selection: \"#e3dcc6\",\n cursor: \"#586e75\",\n variable: \"#657b83\",\n }),\n dark: buildEditorTheme({\n ...accents,\n dark: true,\n comment: \"#586e75\",\n background: \"#002b36\",\n foreground: \"#839496\",\n gutterBackground: \"#073642\",\n gutterForeground: \"#586e75\",\n activeLine: \"#073642\",\n selection: \"#0a4a5c\",\n cursor: \"#93a1a1\",\n variable: \"#839496\",\n }),\n};\n"],"names":["accents","solarized","buildEditorTheme"],"mappings":";AAmBA,MAAMA,IAAU;AAAA,EACd,SAAS;AAAA,EACT,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,UAAU;AAAA,EACV,MAAM;AAAA,EACN,UAAU;AAAA,EACV,KAAK;AAAA,EACL,WAAW;AAAA,EACX,SAAS;AAAA,EACT,MAAM;AAAA,EACN,MAAM;AAAA,EACN,MAAM;AAAA,EACN,SAAS;AACX,GAEAC,IAAe;AAAA,EACb,OAAOC,EAAiB;AAAA,IACtB,GAAGF;AAAA,IACH,MAAM;AAAA,IACN,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,kBAAkB;AAAA,IAClB,kBAAkB;AAAA,IAClB,YAAY;AAAA,IACZ,WAAW;AAAA,IACX,QAAQ;AAAA,IACR,UAAU;AAAA,EACd,CAAG;AAAA,EACD,MAAME,EAAiB;AAAA,IACrB,GAAGF;AAAA,IACH,MAAM;AAAA,IACN,SAAS;AAAA,IACT,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,kBAAkB;AAAA,IAClB,kBAAkB;AAAA,IAClB,YAAY;AAAA,IACZ,WAAW;AAAA,IACX,QAAQ;AAAA,IACR,UAAU;AAAA,EACd,CAAG;AACH;"}
@@ -21,6 +21,7 @@ export const useConfigStore: StoreDefinition<"ConfigStore", {
21
21
  EDIT_WITH_MSOFFICE: boolean;
22
22
  NEW_PASSWORD_RULES: string;
23
23
  APPLICATIONS: any[];
24
+ commonApplications: any[];
24
25
  MENU_ESPACES: boolean;
25
26
  MENU_ACTES: boolean;
26
27
  MENU_MARCHES: boolean;
@@ -122,6 +123,7 @@ export const useConfigStore: StoreDefinition<"ConfigStore", {
122
123
  EDIT_WITH_MSOFFICE: boolean;
123
124
  NEW_PASSWORD_RULES: string;
124
125
  APPLICATIONS: any[];
126
+ commonApplications: any[];
125
127
  MENU_ESPACES: boolean;
126
128
  MENU_ACTES: boolean;
127
129
  MENU_MARCHES: boolean;
@@ -222,6 +224,7 @@ export const useConfigStore: StoreDefinition<"ConfigStore", {
222
224
  EDIT_WITH_MSOFFICE: boolean;
223
225
  NEW_PASSWORD_RULES: string;
224
226
  APPLICATIONS: any[];
227
+ commonApplications: any[];
225
228
  MENU_ESPACES: boolean;
226
229
  MENU_ACTES: boolean;
227
230
  MENU_MARCHES: boolean;
@@ -343,5 +346,11 @@ export const useConfigStore: StoreDefinition<"ConfigStore", {
343
346
  * @return {Promise<void>} resolved even when the scope declares no configuration
344
347
  */
345
348
  loadRepositoryConfig(scope: string): Promise<void>;
349
+ /**
350
+ * Replace the application list of the common scope, e.g. after the common file was saved.
351
+ *
352
+ * @param {Array<Object>} applications APPLICATIONS entries of the common file; anything else empties the list
353
+ */
354
+ setCommonApplications(applications: Array<any>): void;
346
355
  }>;
347
356
  //# sourceMappingURL=config.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/stores/config.js"],"names":[],"mappings":";AAuBA,uFAAuF;AACvF,kCAAmC,QAAQ,CAAC;AAE5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAoMI;;;;;;;;;;OAUG;gCADU,OAAO;;;IASpB;;OAEG;;IAkBH;;;;;OAKG;0CADS,OAAO,CAAC,IAAI,CAAC;IAoBzB;;;;;OAKG;gCAFQ,MAAM,GACL,OAAO,CAAC,IAAI,CAAC;GAkB1B"}
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/stores/config.js"],"names":[],"mappings":";AAuBA,uFAAuF;AACvF,kCAAmC,QAAQ,CAAC;AAE5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAqMI;;;;;;;;;;OAUG;gCADU,OAAO;;;IASpB;;OAEG;;IAkBH;;;;;OAKG;0CADS,OAAO,CAAC,IAAI,CAAC;IAoBzB;;;;;OAKG;gCAFQ,MAAM,GACL,OAAO,CAAC,IAAI,CAAC;IAsBzB;;;;OAIG;wCADQ,KAAK,KAAQ;GAMzB"}
@@ -7,6 +7,10 @@ export const EXPORT_STATUS: Readonly<{
7
7
  CANCELLED: "cancelled";
8
8
  FAILED: "failed";
9
9
  }>;
10
+ export const EXPORT_KIND: Readonly<{
11
+ ZIP: "zip";
12
+ FILE: "file";
13
+ }>;
10
14
  export const AUTO_DOWNLOAD_DELAY: 5000;
11
15
  export const STALL_TIMEOUT: number;
12
16
  /**
@@ -44,7 +48,22 @@ export const useExportStore: StoreDefinition<"export", {
44
48
  start(nodeIds: string[], name: string): Promise<any>;
45
49
  fail(job: any, error: any): void;
46
50
  /**
47
- * Downloads the zip of a job being prepared, ready or already downloaded.
51
+ * Downloads the content of a node, or its rendition, and follows it like
52
+ * an export.
53
+ *
54
+ * @param {string} nodeId
55
+ * @param {string} name the file name offered to the user
56
+ * @param {{rendition?: string}} [options] `rendition` downloads that
57
+ * rendition instead of the content, created first when missing
58
+ * @returns {Promise<Object>} the job once settled
59
+ */
60
+ downloadNode(nodeId: string, name: string, { rendition }?: {
61
+ rendition?: string;
62
+ }): Promise<any>;
63
+ fetchBlob(job: any, onProgress: any): Promise<Blob>;
64
+ /**
65
+ * Downloads the zip of a job being prepared, ready or already downloaded,
66
+ * or the file of a file job again.
48
67
  *
49
68
  * @param {number} jobId
50
69
  * @returns {Promise<void>}
@@ -1 +1 @@
1
- {"version":3,"file":"export.d.ts","sourceRoot":"","sources":["../../src/stores/export.js"],"names":[],"mappings":";AA0BA;;;;;;;GAOG;AAEH,kCAAmC,IAAI,CAAC;AACxC,mCAA2C;AAe3C;;;;GAIG;AACH;;;;;;;;;;;;;;;;;;;IAWI;;;;;;;OAOG;mBAHQ,MAAM,EAAE,QACR,MAAM,GACJ,OAAO,KAAQ;;IA2D5B;;;;;OAKG;oBAFQ,MAAM,GACJ,OAAO,CAAC,IAAI,CAAC;IA0B1B;;;OAGG;kBAFQ,MAAM,GACJ,OAAO,CAAC,IAAI,CAAC;IAY1B;;OAEG;;;GAqBJ"}
1
+ {"version":3,"file":"export.d.ts","sourceRoot":"","sources":["../../src/stores/export.js"],"names":[],"mappings":";AA6BA;;;;;;;GAOG;AAEH;;;GAGG;AAEH,kCAAmC,IAAI,CAAC;AACxC,mCAA2C;AAe3C;;;;GAIG;AACH;;;;;;;;;;;;;;;;;;;IAWI;;;;;;;OAOG;mBAHQ,MAAM,EAAE,QACR,MAAM,GACJ,OAAO,KAAQ;;IA4D5B;;;;;;;;;OASG;yBALQ,MAAM,QACN,MAAM,kBACN;QAAC,SAAS,CAAC,EAAE,MAAM,CAAA;KAAC,GAElB,OAAO,KAAQ;;IAkC5B;;;;;;OAMG;oBAFQ,MAAM,GACJ,OAAO,CAAC,IAAI,CAAC;IA+B1B;;;OAGG;kBAFQ,MAAM,GACJ,OAAO,CAAC,IAAI,CAAC;IAY1B;;OAEG;;;GAqBJ"}
@@ -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":";AAuBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH;;;;;;;;;;;;;;;;;;;;IA2BI;;;;;;OAMG;;IAiEH;;;;;;;;;;OAUG;0EADS,OAAO,CAAC,MAAO,SAAS,CAAC;IA2FrC;;;;;;OAMG;;IA4BH;;;;;;OAMG;;GA4GJ"}
1
+ {"version":3,"file":"navigation.d.ts","sourceRoot":"","sources":["../../src/stores/navigation.js"],"names":[],"mappings":";AAuBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH;;;;;;;;;;;;;;;;;;;;;IA4BI;;;;;;OAMG;;IAiEH;;;;;;;;;;OAUG;0EADS,OAAO,CAAC,MAAO,SAAS,CAAC;IA2FrC;;;;;;OAMG;;IA4BH;;;;;;OAMG;;GA4GJ"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pristy/pristy-libvue",
3
- "version": "3.3.1",
3
+ "version": "3.4.0",
4
4
  "description": "Core library used by all Pristy applications",
5
5
  "homepage": "https://pristy.fr/en/",
6
6
  "author": "JECI SARL",