@pristy/pristy-libvue 3.3.1 → 3.3.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/{ActivityHistory-DRTOIiYj.js → ActivityHistory-mPCJixsu.js} +2 -2
- package/dist/{ActivityHistory-DRTOIiYj.js.map → ActivityHistory-mPCJixsu.js.map} +1 -1
- package/dist/{BookmarksComponent-C8u93u06.js → BookmarksComponent-xDUbiTVV.js} +2 -2
- package/dist/{BookmarksComponent-C8u93u06.js.map → BookmarksComponent-xDUbiTVV.js.map} +1 -1
- package/dist/{ChartWrapper-BsLpA0RO.js → ChartWrapper-BSZ2RaKH.js} +2 -2
- package/dist/{ChartWrapper-BsLpA0RO.js.map → ChartWrapper-BSZ2RaKH.js.map} +1 -1
- package/dist/{DisplayFileInDashboardComponent-BKTCuwEB.js → DisplayFileInDashboardComponent-CqHoGf2Q.js} +3 -3
- package/dist/{DisplayFileInDashboardComponent-BKTCuwEB.js.map → DisplayFileInDashboardComponent-CqHoGf2Q.js.map} +1 -1
- package/dist/{ExternalApps-H9qpOwm8.js → ExternalApps-BK_066QL.js} +2 -2
- package/dist/{ExternalApps-H9qpOwm8.js.map → ExternalApps-BK_066QL.js.map} +1 -1
- package/dist/{FavoriteList-CEgRUW6F.js → FavoriteList-JUAJUJr4.js} +2 -2
- package/dist/{FavoriteList-CEgRUW6F.js.map → FavoriteList-JUAJUJr4.js.map} +1 -1
- package/dist/{MarkdownComponent-drRXRocX.js → MarkdownComponent-D_fqYWV_.js} +2 -2
- package/dist/{MarkdownComponent-drRXRocX.js.map → MarkdownComponent-D_fqYWV_.js.map} +1 -1
- package/dist/{PDFComponent-lmx_h6g8.js → PDFComponent-B4yA2RzZ.js} +3 -3
- package/dist/{PDFComponent-lmx_h6g8.js.map → PDFComponent-B4yA2RzZ.js.map} +1 -1
- package/dist/{PdfConfigService-C7ttjLQg.js → PdfConfigService-Dv6LG1qD.js} +2 -2
- package/dist/{PdfConfigService-C7ttjLQg.js.map → PdfConfigService-Dv6LG1qD.js.map} +1 -1
- package/dist/{PdfToolsComponent-qvMKgogN.js → PdfToolsComponent-CDWy61FX.js} +3 -3
- package/dist/{PdfToolsComponent-qvMKgogN.js.map → PdfToolsComponent-CDWy61FX.js.map} +1 -1
- package/dist/{PlanTreePdfService-Ka-n_9wQ.js → PlanTreePdfService-DA5BC0I2.js} +2 -2
- package/dist/{PlanTreePdfService-Ka-n_9wQ.js.map → PlanTreePdfService-DA5BC0I2.js.map} +1 -1
- package/dist/{SearchInput-BTAhRkC9.js → SearchInput-D-ECPIYd.js} +2 -2
- package/dist/{SearchInput-BTAhRkC9.js.map → SearchInput-D-ECPIYd.js.map} +1 -1
- package/dist/{UnknownBlockType-CLARiaMA.js → UnknownBlockType-C5JDcmf_.js} +2 -2
- package/dist/{UnknownBlockType-CLARiaMA.js.map → UnknownBlockType-C5JDcmf_.js.map} +1 -1
- package/dist/components/FolderUpload.vue.d.ts.map +1 -1
- package/dist/components/layouts/AppSwitcher.vue.d.ts +4 -4
- package/dist/components/layouts/AppSwitcher.vue.d.ts.map +1 -1
- package/dist/components/popup/ImportPopupWithWorker.vue.d.ts +23 -85
- package/dist/components/popup/ImportPopupWithWorker.vue.d.ts.map +1 -1
- package/dist/{dracula-QecUsuQb.js → dracula-BbtD8yvj.js} +2 -2
- package/dist/{dracula-QecUsuQb.js.map → dracula-BbtD8yvj.js.map} +1 -1
- package/dist/{github-Dm_cBuEg.js → github-eAHreirM.js} +2 -2
- package/dist/{github-Dm_cBuEg.js.map → github-eAHreirM.js.map} +1 -1
- package/dist/i18n/index.d.ts +12 -0
- package/dist/i18n/index.d.ts.map +1 -1
- package/dist/{index-BT7k4MMw.js → index-Cx1jO8jm.js} +6240 -6151
- package/dist/index-Cx1jO8jm.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/{nord-BhgtjT33.js → nord-DSvqR8Ul.js} +2 -2
- package/dist/{nord-BhgtjT33.js.map → nord-DSvqR8Ul.js.map} +1 -1
- package/dist/{one-CFdc8AVK.js → one-BnndR5mM.js} +2 -2
- package/dist/{one-CFdc8AVK.js.map → one-BnndR5mM.js.map} +1 -1
- package/dist/pristy-libvue.css +1 -1
- package/dist/pristy-libvue.es.js +275 -273
- package/dist/pristy-libvue.umd.js +33 -33
- package/dist/pristy-libvue.umd.js.map +1 -1
- package/dist/services/AppSwitcherService.d.ts +13 -0
- package/dist/services/AppSwitcherService.d.ts.map +1 -1
- package/dist/services/UploadSelectionService.d.ts +46 -0
- package/dist/services/UploadSelectionService.d.ts.map +1 -0
- package/dist/{solarized-ArJzWm1G.js → solarized-BdT-Wbvz.js} +2 -2
- package/dist/{solarized-ArJzWm1G.js.map → solarized-BdT-Wbvz.js.map} +1 -1
- package/dist/stores/config.d.ts +9 -0
- package/dist/stores/config.d.ts.map +1 -1
- package/dist/stores/navigation.d.ts +2 -0
- package/dist/stores/navigation.d.ts.map +1 -1
- package/package.json +1 -1
- 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;
|
|
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,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"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { q as e } from "./index-
|
|
1
|
+
import { q as e } from "./index-Cx1jO8jm.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-
|
|
47
|
+
//# sourceMappingURL=solarized-BdT-Wbvz.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"solarized-
|
|
1
|
+
{"version":3,"file":"solarized-BdT-Wbvz.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;"}
|
package/dist/stores/config.d.ts
CHANGED
|
@@ -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
|
|
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"}
|
|
@@ -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
|
|
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"}
|