@pristy/pristy-libvue 3.3.2 → 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.
- package/README.md +2 -0
- package/dist/{ActivityHistory-mPCJixsu.js → ActivityHistory-xss84z8U.js} +2 -2
- package/dist/{ActivityHistory-mPCJixsu.js.map → ActivityHistory-xss84z8U.js.map} +1 -1
- package/dist/{BookmarksComponent-xDUbiTVV.js → BookmarksComponent-CbimlpVr.js} +2 -2
- package/dist/{BookmarksComponent-xDUbiTVV.js.map → BookmarksComponent-CbimlpVr.js.map} +1 -1
- package/dist/{ChartWrapper-BSZ2RaKH.js → ChartWrapper-C-ZYKb6V.js} +2 -2
- package/dist/{ChartWrapper-BSZ2RaKH.js.map → ChartWrapper-C-ZYKb6V.js.map} +1 -1
- package/dist/{DisplayFileInDashboardComponent-CqHoGf2Q.js → DisplayFileInDashboardComponent-D-FCR9LG.js} +3 -3
- package/dist/{DisplayFileInDashboardComponent-CqHoGf2Q.js.map → DisplayFileInDashboardComponent-D-FCR9LG.js.map} +1 -1
- package/dist/{ExternalApps-BK_066QL.js → ExternalApps-CT9aFskA.js} +2 -2
- package/dist/{ExternalApps-BK_066QL.js.map → ExternalApps-CT9aFskA.js.map} +1 -1
- package/dist/{FavoriteList-JUAJUJr4.js → FavoriteList-DI5maFU4.js} +2 -2
- package/dist/{FavoriteList-JUAJUJr4.js.map → FavoriteList-DI5maFU4.js.map} +1 -1
- package/dist/{MarkdownComponent-D_fqYWV_.js → MarkdownComponent-Dh35ReGl.js} +2 -2
- package/dist/{MarkdownComponent-D_fqYWV_.js.map → MarkdownComponent-Dh35ReGl.js.map} +1 -1
- package/dist/{PDFComponent-B4yA2RzZ.js → PDFComponent-DmbXDQt_.js} +3 -3
- package/dist/{PDFComponent-B4yA2RzZ.js.map → PDFComponent-DmbXDQt_.js.map} +1 -1
- package/dist/{PdfConfigService-Dv6LG1qD.js → PdfConfigService-BChxov7p.js} +2 -2
- package/dist/{PdfConfigService-Dv6LG1qD.js.map → PdfConfigService-BChxov7p.js.map} +1 -1
- package/dist/{PdfToolsComponent-CDWy61FX.js → PdfToolsComponent-DGnsKMBd.js} +3 -3
- package/dist/{PdfToolsComponent-CDWy61FX.js.map → PdfToolsComponent-DGnsKMBd.js.map} +1 -1
- package/dist/{PlanTreePdfService-DA5BC0I2.js → PlanTreePdfService-C3hz4pUC.js} +2 -2
- package/dist/{PlanTreePdfService-DA5BC0I2.js.map → PlanTreePdfService-C3hz4pUC.js.map} +1 -1
- package/dist/{SearchInput-D-ECPIYd.js → SearchInput-BfrNd7e7.js} +2 -2
- package/dist/{SearchInput-D-ECPIYd.js.map → SearchInput-BfrNd7e7.js.map} +1 -1
- package/dist/{UnknownBlockType-C5JDcmf_.js → UnknownBlockType-FUFvZDfZ.js} +2 -2
- package/dist/{UnknownBlockType-C5JDcmf_.js.map → UnknownBlockType-FUFvZDfZ.js.map} +1 -1
- package/dist/components/UploadStatus.vue.d.ts +4 -0
- package/dist/components/UploadStatus.vue.d.ts.map +1 -1
- package/dist/components/classification/AdminClassificationPage.vue.d.ts +2 -2
- package/dist/components/classification/FieldForm.vue.d.ts +1 -1
- package/dist/components/classification/PlanAiContextPanel.vue.d.ts +1 -1
- package/dist/components/navigation/ColumnTogglePanel.vue.d.ts +9 -0
- package/dist/components/navigation/ColumnTogglePanel.vue.d.ts.map +1 -1
- package/dist/components/navigation/ContentCompactTableView.vue.d.ts +6 -0
- package/dist/components/navigation/ContentCompactTableView.vue.d.ts.map +1 -1
- package/dist/components/navigation/ContentTableView.vue.d.ts +6 -0
- package/dist/components/navigation/ContentTableView.vue.d.ts.map +1 -1
- package/dist/components/navigation/DynamicContentView.vue.d.ts +11 -1
- package/dist/components/navigation/DynamicContentView.vue.d.ts.map +1 -1
- package/dist/{dracula-BbtD8yvj.js → dracula-BPgKBR7L.js} +2 -2
- package/dist/{dracula-BbtD8yvj.js.map → dracula-BPgKBR7L.js.map} +1 -1
- package/dist/{github-eAHreirM.js → github-BPy3vGQK.js} +2 -2
- package/dist/{github-eAHreirM.js.map → github-BPy3vGQK.js.map} +1 -1
- package/dist/i18n/index.d.ts +34 -0
- package/dist/i18n/index.d.ts.map +1 -1
- package/dist/{index-Cx1jO8jm.js → index-Baapte1j.js} +8885 -8703
- package/dist/index-Baapte1j.js.map +1 -0
- package/dist/index.d.ts +2 -1
- package/dist/{nord-DSvqR8Ul.js → nord-EssHWQ3z.js} +2 -2
- package/dist/{nord-DSvqR8Ul.js.map → nord-EssHWQ3z.js.map} +1 -1
- package/dist/{one-BnndR5mM.js → one-d8p0vQVk.js} +2 -2
- package/dist/{one-BnndR5mM.js.map → one-d8p0vQVk.js.map} +1 -1
- package/dist/pages/LoginPage.vue.d.ts +20 -18
- package/dist/pages/LoginPage.vue.d.ts.map +1 -1
- package/dist/pristy-libvue.css +1 -1
- package/dist/pristy-libvue.es.js +256 -251
- package/dist/pristy-libvue.umd.js +33 -33
- package/dist/pristy-libvue.umd.js.map +1 -1
- package/dist/services/DateFormatPreferenceService.d.ts +41 -0
- package/dist/services/DateFormatPreferenceService.d.ts.map +1 -0
- package/dist/services/ZipDownloadService.d.ts +18 -3
- package/dist/services/ZipDownloadService.d.ts.map +1 -1
- package/dist/{solarized-BdT-Wbvz.js → solarized-DEOIzyfC.js} +2 -2
- package/dist/{solarized-BdT-Wbvz.js.map → solarized-DEOIzyfC.js.map} +1 -1
- package/dist/stores/export.d.ts +20 -1
- package/dist/stores/export.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/index-Cx1jO8jm.js.map +0 -1
|
@@ -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"}
|
|
@@ -34,16 +34,31 @@ export function waitForZip(downloadId: string, options?: {
|
|
|
34
34
|
sleep?: Function;
|
|
35
35
|
}): Promise<any>;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
38
|
-
*
|
|
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
|
|
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,mCA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AAnMD;;;;;;GAMG"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { q as e } from "./index-
|
|
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-
|
|
47
|
+
//# sourceMappingURL=solarized-DEOIzyfC.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"solarized-
|
|
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;"}
|
package/dist/stores/export.d.ts
CHANGED
|
@@ -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
|
|
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":";
|
|
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"}
|