@pristy/pristy-libvue 2.8.4 → 2.10.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-hEggqvVi.js +197 -0
- package/dist/ActivityHistory-hEggqvVi.js.map +1 -0
- package/dist/BookmarksComponent-uxfOgWPU.js +44 -0
- package/dist/BookmarksComponent-uxfOgWPU.js.map +1 -0
- package/dist/ChartWrapper-mNaipbXn.js +59 -0
- package/dist/ChartWrapper-mNaipbXn.js.map +1 -0
- package/dist/DisplayFileInDashboardComponent-BL-ooE6T.js +104 -0
- package/dist/DisplayFileInDashboardComponent-BL-ooE6T.js.map +1 -0
- package/dist/ExternalApps-C24Qf4mq.js +90 -0
- package/dist/ExternalApps-C24Qf4mq.js.map +1 -0
- package/dist/FavoriteList-CxDxCNii.js +361 -0
- package/dist/FavoriteList-CxDxCNii.js.map +1 -0
- package/dist/MarkdownComponent-jHr71rfh.js +56 -0
- package/dist/MarkdownComponent-jHr71rfh.js.map +1 -0
- package/dist/SearchInput-DojcDnQU.js +58 -0
- package/dist/SearchInput-DojcDnQU.js.map +1 -0
- package/dist/UnknownBlockType-Pc9ihwij.js +22 -0
- package/dist/UnknownBlockType-Pc9ihwij.js.map +1 -0
- package/dist/index-DxH0-3Sq.js +38076 -0
- package/dist/index-DxH0-3Sq.js.map +1 -0
- package/dist/pristy-libvue.css +1 -1
- package/dist/pristy-libvue.es.js +197 -32609
- package/dist/pristy-libvue.es.js.map +1 -1
- package/dist/pristy-libvue.umd.js +112 -15
- package/dist/pristy-libvue.umd.js.map +1 -1
- package/dist/src/components/CodeMirrorBase.vue.d.ts +34 -0
- package/dist/src/components/CodeMirrorBase.vue.d.ts.map +1 -0
- package/dist/src/components/CodeMirrorEditor.vue.d.ts.map +1 -1
- package/dist/src/components/FolderUpload.vue.d.ts +6 -0
- package/dist/src/components/IconPickerDialog.vue.d.ts +63 -0
- package/dist/src/components/IconPickerDialog.vue.d.ts.map +1 -0
- package/dist/src/components/UploadStatus.vue.d.ts +6 -0
- package/dist/src/components/breadcrumb/ComplexBreadcrumb.vue.d.ts.map +1 -1
- package/dist/src/components/classification/AdminClassificationPage.vue.d.ts +32 -3
- package/dist/src/components/classification/AdminClassificationPage.vue.d.ts.map +1 -1
- package/dist/src/components/classification/EmplacementForm.vue.d.ts +7 -0
- package/dist/src/components/classification/EmplacementForm.vue.d.ts.map +1 -1
- package/dist/src/components/classification/MetadataFormFields.vue.d.ts +6 -2541
- package/dist/src/components/classification/NatureForm.vue.d.ts +7 -0
- package/dist/src/components/classification/NatureForm.vue.d.ts.map +1 -1
- package/dist/src/components/classification/NatureSelector.vue.d.ts +15 -2541
- package/dist/src/components/classification/UploadPlanPopup.vue.d.ts +2 -0
- package/dist/src/components/classification/UploadPlanPopup.vue.d.ts.map +1 -1
- package/dist/src/components/dashboard/DashboardAdminPage.vue.d.ts +2007 -0
- package/dist/src/components/dashboard/DashboardAdminPage.vue.d.ts.map +1 -0
- package/dist/src/components/dashboard/DashboardComponent.vue.d.ts +702 -0
- package/dist/src/components/dashboard/DashboardComponent.vue.d.ts.map +1 -0
- package/dist/src/components/dashboard/editor/BlockConfigEditor.vue.d.ts +877 -0
- package/dist/src/components/dashboard/editor/BlockConfigEditor.vue.d.ts.map +1 -0
- package/dist/src/components/dashboard/editor/DashboardEditor.vue.d.ts +1893 -0
- package/dist/src/components/dashboard/editor/DashboardEditor.vue.d.ts.map +1 -0
- package/dist/src/components/dashboard/editor/FieldLabel.vue.d.ts +42 -0
- package/dist/src/components/dashboard/editor/FieldLabel.vue.d.ts.map +1 -0
- package/dist/src/components/dashboard/editor/JsonEditorDialog.vue.d.ts +80 -0
- package/dist/src/components/dashboard/editor/JsonEditorDialog.vue.d.ts.map +1 -0
- package/dist/src/components/dashboard/editor/MarkdownEditorDialog.vue.d.ts +77 -0
- package/dist/src/components/dashboard/editor/MarkdownEditorDialog.vue.d.ts.map +1 -0
- package/dist/src/components/dashboard/editor/VersionHistoryDialog.vue.d.ts +53 -0
- package/dist/src/components/dashboard/editor/VersionHistoryDialog.vue.d.ts.map +1 -0
- package/dist/src/components/dashboard/editor/block-configs/BookmarksConfig.vue.d.ts +61 -0
- package/dist/src/components/dashboard/editor/block-configs/BookmarksConfig.vue.d.ts.map +1 -0
- package/dist/src/components/dashboard/editor/block-configs/ChartConfig.vue.d.ts +76 -0
- package/dist/src/components/dashboard/editor/block-configs/ChartConfig.vue.d.ts.map +1 -0
- package/dist/src/components/dashboard/editor/block-configs/ExternalAppsConfig.vue.d.ts +221 -0
- package/dist/src/components/dashboard/editor/block-configs/ExternalAppsConfig.vue.d.ts.map +1 -0
- package/dist/src/components/dashboard/editor/block-configs/FavoritesConfig.vue.d.ts +76 -0
- package/dist/src/components/dashboard/editor/block-configs/FavoritesConfig.vue.d.ts.map +1 -0
- package/dist/src/components/dashboard/editor/block-configs/MarkdownConfig.vue.d.ts +72 -0
- package/dist/src/components/dashboard/editor/block-configs/MarkdownConfig.vue.d.ts.map +1 -0
- package/dist/src/components/dashboard/editor/block-configs/NoConfig.vue.d.ts +4 -0
- package/dist/src/components/dashboard/editor/block-configs/NoConfig.vue.d.ts.map +1 -0
- package/dist/src/components/dashboard/editor/block-configs/PdfImageConfig.vue.d.ts +60 -0
- package/dist/src/components/dashboard/editor/block-configs/PdfImageConfig.vue.d.ts.map +1 -0
- package/dist/src/components/dashboard/editor/grid/BasketPanel.vue.d.ts +38 -0
- package/dist/src/components/dashboard/editor/grid/BasketPanel.vue.d.ts.map +1 -0
- package/dist/src/components/dashboard/editor/grid/BlockTypeSelector.vue.d.ts +36 -0
- package/dist/src/components/dashboard/editor/grid/BlockTypeSelector.vue.d.ts.map +1 -0
- package/dist/src/components/dashboard/editor/grid/GridBlock.vue.d.ts +73 -0
- package/dist/src/components/dashboard/editor/grid/GridBlock.vue.d.ts.map +1 -0
- package/dist/src/components/dashboard/editor/grid/GridEditor.vue.d.ts +141 -0
- package/dist/src/components/dashboard/editor/grid/GridEditor.vue.d.ts.map +1 -0
- package/dist/src/components/dashboard/editor/grid/MinimapPanel.vue.d.ts +44 -0
- package/dist/src/components/dashboard/editor/grid/MinimapPanel.vue.d.ts.map +1 -0
- package/dist/src/components/dashboard/editor/validators.d.ts +24 -0
- package/dist/src/components/dashboard/editor/validators.d.ts.map +1 -0
- package/dist/src/components/dashboard/widgets/ActivityHistory.vue.d.ts +32 -0
- package/dist/src/components/dashboard/widgets/ActivityHistory.vue.d.ts.map +1 -0
- package/dist/src/components/dashboard/widgets/BookmarksComponent.vue.d.ts +27 -0
- package/dist/src/components/dashboard/widgets/BookmarksComponent.vue.d.ts.map +1 -0
- package/dist/src/components/dashboard/widgets/ChartWrapper.vue.d.ts +41 -0
- package/dist/src/components/dashboard/widgets/ChartWrapper.vue.d.ts.map +1 -0
- package/dist/src/components/dashboard/widgets/DisplayFileInDashboardComponent.vue.d.ts +337 -0
- package/dist/src/components/dashboard/widgets/DisplayFileInDashboardComponent.vue.d.ts.map +1 -0
- package/dist/src/components/dashboard/widgets/ExternalApps.vue.d.ts +32 -0
- package/dist/src/components/dashboard/widgets/ExternalApps.vue.d.ts.map +1 -0
- package/dist/src/components/dashboard/widgets/FavoriteFileList.vue.d.ts +36 -0
- package/dist/src/components/dashboard/widgets/FavoriteFileList.vue.d.ts.map +1 -0
- package/dist/src/components/dashboard/widgets/FavoriteFolderList.vue.d.ts +35 -0
- package/dist/src/components/dashboard/widgets/FavoriteFolderList.vue.d.ts.map +1 -0
- package/dist/src/components/dashboard/widgets/FavoriteList.vue.d.ts +131 -0
- package/dist/src/components/dashboard/widgets/FavoriteList.vue.d.ts.map +1 -0
- package/dist/src/components/dashboard/widgets/FavoriteSiteList.vue.d.ts +28 -0
- package/dist/src/components/dashboard/widgets/FavoriteSiteList.vue.d.ts.map +1 -0
- package/dist/src/components/dashboard/widgets/MarkdownComponent.vue.d.ts +31 -0
- package/dist/src/components/dashboard/widgets/MarkdownComponent.vue.d.ts.map +1 -0
- package/dist/src/components/dashboard/widgets/OnlyImageDisplayed.vue.d.ts +26 -0
- package/dist/src/components/dashboard/widgets/OnlyImageDisplayed.vue.d.ts.map +1 -0
- package/dist/src/components/dashboard/widgets/SearchInput.vue.d.ts +30 -0
- package/dist/src/components/dashboard/widgets/SearchInput.vue.d.ts.map +1 -0
- package/dist/src/components/dashboard/widgets/UnknownBlockType.vue.d.ts +14 -0
- package/dist/src/components/dashboard/widgets/UnknownBlockType.vue.d.ts.map +1 -0
- package/dist/src/components/layouts/AppLayout.vue.d.ts +2 -2
- package/dist/src/components/layouts/AppLayout.vue.d.ts.map +1 -1
- package/dist/src/components/layouts/AppTopbar.vue.d.ts +1 -1
- package/dist/src/components/navigation/ContentCompactTableView.vue.d.ts.map +1 -1
- package/dist/src/components/navigation/ContentTableView.vue.d.ts.map +1 -1
- package/dist/src/components/navigation/DynamicContentView.vue.d.ts +41 -0
- package/dist/src/components/navigation/DynamicContentView.vue.d.ts.map +1 -1
- package/dist/src/components/navigation/GhostNodeRow.vue.d.ts +34 -0
- package/dist/src/components/navigation/GhostNodeRow.vue.d.ts.map +1 -0
- package/dist/src/components/popup/ImportPopupWithWorker.vue.d.ts +12 -0
- package/dist/src/components/toast/CustomToastContent.vue.d.ts +1 -1
- package/dist/src/components/views/PredefinedViewsPanel.vue.d.ts.map +1 -1
- package/dist/src/components/workspace/WorkspaceList.vue.d.ts +1 -1
- package/dist/src/composables/useDragDrop.d.ts +17 -0
- package/dist/src/composables/useDragDrop.d.ts.map +1 -0
- package/dist/src/composables/useGhostNodes.d.ts +20 -0
- package/dist/src/composables/useGhostNodes.d.ts.map +1 -0
- package/dist/src/composables/useGridValidation.d.ts +12 -0
- package/dist/src/composables/useGridValidation.d.ts.map +1 -0
- package/dist/src/composables/useResize.d.ts +13 -0
- package/dist/src/composables/useResize.d.ts.map +1 -0
- package/dist/src/i18n/index.d.ts +564 -0
- package/dist/src/i18n/index.d.ts.map +1 -1
- package/dist/src/index.d.ts +13 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/services/DashboardService.d.ts +77 -0
- package/dist/src/services/DashboardService.d.ts.map +1 -0
- package/dist/src/services/GhostMatcher.d.ts +40 -0
- package/dist/src/services/GhostMatcher.d.ts.map +1 -0
- package/dist/src/stores/config.d.ts +12 -3
- package/dist/src/stores/config.d.ts.map +1 -1
- package/dist/src/stores/upload.d.ts +19 -0
- package/dist/src/stores/upload.d.ts.map +1 -1
- package/package.json +8 -8
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
declare const _default: DashboardService;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare class DashboardService {
|
|
4
|
+
/**
|
|
5
|
+
* Legacy method - retrieves dashboard config from webscript
|
|
6
|
+
*/
|
|
7
|
+
getDashboardConfig(dashboardFilename: any): Promise<any>;
|
|
8
|
+
/**
|
|
9
|
+
* Retrieves the user's hidden 'Configuration' folder.
|
|
10
|
+
* @private
|
|
11
|
+
*/
|
|
12
|
+
private _getHiddenFolder;
|
|
13
|
+
/**
|
|
14
|
+
* Retrieves or creates the 'dashboard.json' file within the user's hidden configuration folder.
|
|
15
|
+
* @private
|
|
16
|
+
*/
|
|
17
|
+
private _getOrCreateDashboardFile;
|
|
18
|
+
/**
|
|
19
|
+
* Get content from Alfresco node
|
|
20
|
+
* @private
|
|
21
|
+
*/
|
|
22
|
+
private _getContent;
|
|
23
|
+
/**
|
|
24
|
+
* Parses the JSON content of a given file node.
|
|
25
|
+
* @private
|
|
26
|
+
*/
|
|
27
|
+
private _parseFileContent;
|
|
28
|
+
/**
|
|
29
|
+
* Get user preferences from Configuration folder
|
|
30
|
+
* Returns default preferences if file doesn't exist
|
|
31
|
+
*/
|
|
32
|
+
getUserPreferences(): Promise<any>;
|
|
33
|
+
/**
|
|
34
|
+
* Set dashboard preference for user
|
|
35
|
+
* @param {string} preferredScope - Either 'user' or 'global'
|
|
36
|
+
*/
|
|
37
|
+
setDashboardPreference(preferredScope: string): Promise<any>;
|
|
38
|
+
/**
|
|
39
|
+
* Check if user has a personal dashboard
|
|
40
|
+
*/
|
|
41
|
+
hasPersonalDashboard(): Promise<boolean>;
|
|
42
|
+
/**
|
|
43
|
+
* Load personal dashboard config from user's Configuration folder
|
|
44
|
+
*/
|
|
45
|
+
getPersonalDashboard(): Promise<any>;
|
|
46
|
+
/**
|
|
47
|
+
* Load global dashboard config from dashboard-config.json
|
|
48
|
+
*/
|
|
49
|
+
getGlobalDashboard(): Promise<any>;
|
|
50
|
+
/**
|
|
51
|
+
* Load dashboard based on user preference
|
|
52
|
+
* Returns an object with { config, scope }
|
|
53
|
+
*/
|
|
54
|
+
loadDashboard(): Promise<{
|
|
55
|
+
config: any;
|
|
56
|
+
scope: string;
|
|
57
|
+
}>;
|
|
58
|
+
/**
|
|
59
|
+
* Get version history for user's dashboard file
|
|
60
|
+
* Returns array of versions with metadata
|
|
61
|
+
*/
|
|
62
|
+
getDashboardVersionHistory(scope?: string): Promise<any>;
|
|
63
|
+
/**
|
|
64
|
+
* Revert dashboard to a specific version
|
|
65
|
+
* @param {string} versionId - The version ID to revert to
|
|
66
|
+
* @param {string} scope - Either 'user' or 'global'
|
|
67
|
+
* @param {string} comment - Version comment (optional)
|
|
68
|
+
*/
|
|
69
|
+
revertDashboardToVersion(versionId: string, scope?: string, comment?: string): Promise<any>;
|
|
70
|
+
/**
|
|
71
|
+
* Save dashboard configuration with scope
|
|
72
|
+
* @param {Object} dashboardConfig - The dashboard configuration to save
|
|
73
|
+
* @param {string} scope - Either 'user' or 'global'
|
|
74
|
+
*/
|
|
75
|
+
saveDashboard(dashboardConfig: any, scope?: string): Promise<void>;
|
|
76
|
+
}
|
|
77
|
+
//# sourceMappingURL=DashboardService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DashboardService.d.ts","sourceRoot":"","sources":["../../../src/services/DashboardService.js"],"names":[],"mappings":";;AAyCA;IACE;;OAEG;IACH,yDAYC;IAED;;;OAGG;IACH,yBA4DC;IAED;;;OAGG;IACH,kCAqEC;IAED;;;OAGG;IACH,oBAWC;IAED;;;OAGG;IACH,0BAqCC;IAED;;;OAGG;IACH,mCAqCC;IAED;;;OAGG;IACH,uCAFW,MAAM,gBAgGhB;IAED;;OAEG;IACH,yCA2BC;IAED;;OAEG;IACH,qCA+BC;IAED;;OAEG;IACH,mCAaC;IAED;;;OAGG;IACH;;;OAyCC;IAED;;;OAGG;IACH,yDA2DC;IAED;;;;;OAKG;IACH,oCAJW,MAAM,UACN,MAAM,YACN,MAAM,gBAqEhB;IAED;;;;OAIG;IACH,4CAFW,MAAM,iBAkEhB;CACF"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
declare const _default: GhostMatcher;
|
|
2
|
+
export default _default;
|
|
3
|
+
/**
|
|
4
|
+
* Stateless service that evaluates whether a ghost node matches
|
|
5
|
+
* a view configuration (locations + criteriaGroups). Mirror of
|
|
6
|
+
* AftsQueryBuilder but for client-side matching.
|
|
7
|
+
*/
|
|
8
|
+
declare class GhostMatcher {
|
|
9
|
+
/**
|
|
10
|
+
* Checks if a ghost node matches a full view config.
|
|
11
|
+
* @param {Object} ghostNode - The ghost node with _uploadContext and properties.
|
|
12
|
+
* @param {Object} viewConfig - View config with locations and criteriaGroups.
|
|
13
|
+
* @returns {boolean}
|
|
14
|
+
*/
|
|
15
|
+
matchesViewConfig(ghostNode: any, viewConfig: any): boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Checks if a ghost node belongs to a specific folder.
|
|
18
|
+
* @param {Object} ghostNode
|
|
19
|
+
* @param {string} currentNodeId
|
|
20
|
+
* @returns {boolean}
|
|
21
|
+
*/
|
|
22
|
+
matchesFolder(ghostNode: any, currentNodeId: string): boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Checks if a ghost node belongs to a specific site.
|
|
25
|
+
* @param {Object} ghostNode
|
|
26
|
+
* @param {string} siteId
|
|
27
|
+
* @returns {boolean}
|
|
28
|
+
*/
|
|
29
|
+
matchesSite(ghostNode: any, siteId: string): boolean;
|
|
30
|
+
_matchesLocations(ghost: any, locations: any): boolean;
|
|
31
|
+
_matchesLocation(ghost: any, loc: any): boolean;
|
|
32
|
+
_matchesFlatCriteria(ghost: any, criteria: any): any;
|
|
33
|
+
_matchesCriteriaGroups(ghost: any, criteriaGroups: any): any;
|
|
34
|
+
_matchesGroup(ghost: any, group: any): any;
|
|
35
|
+
_matchesCriterion(ghost: any, criterion: any): boolean;
|
|
36
|
+
_evaluateMatch(ghostValue: any, criterion: any, inputType: any): boolean;
|
|
37
|
+
_matchesDate(ghostValue: any, criterion: any): boolean;
|
|
38
|
+
_matchesText(ghostValue: any, criterion: any): boolean;
|
|
39
|
+
}
|
|
40
|
+
//# sourceMappingURL=GhostMatcher.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GhostMatcher.d.ts","sourceRoot":"","sources":["../../../src/services/GhostMatcher.js"],"names":[],"mappings":";;AAqLA;;;;GAIG;AACH;IACE;;;;;OAKG;IACH,oDAFa,OAAO,CAkBnB;IAED;;;;;OAKG;IACH,6CAHW,MAAM,GACJ,OAAO,CAInB;IAED;;;;;OAKG;IACH,oCAHW,MAAM,GACJ,OAAO,CAInB;IAID,uDA6BC;IAED,gDAyBC;IAID,qDAMC;IAED,6DAiBC;IAED,2CAYC;IAED,uDA2BC;IAED,yEAYC;IAED,uDA8BC;IAED,uDAiCC;CACF"}
|
|
@@ -79,16 +79,19 @@ export const useConfigStore: StoreDefinition<"ConfigStore", {
|
|
|
79
79
|
}[];
|
|
80
80
|
SEARCH_USER_QUERY: string;
|
|
81
81
|
SAVED_VIEWS_GLOBAL: any[];
|
|
82
|
-
DASHBOARD_CONFIG: any[];
|
|
83
82
|
MDPH_CODE: any;
|
|
84
83
|
WORKSPACE_TYPE_ACTES_ENABLED: boolean;
|
|
85
84
|
WORKSPACE_TYPE_GALLERY_ENABLED: boolean;
|
|
86
85
|
CLASSIFICATION_PLAN_ENABLED: boolean;
|
|
86
|
+
DASHBOARD_PERSONAL_ENABLED: boolean;
|
|
87
87
|
CLASSIFICATION_PLAN_NAME: string;
|
|
88
88
|
CLASSIFICATION_PLAN_ALLOW_NO_NATURE: boolean;
|
|
89
89
|
CLASSIFICATION_PLAN_FULL_VIEW_THRESHOLD: number;
|
|
90
90
|
CLASSIFICATION_PLAN_INLINE_METADATA_THRESHOLD: number;
|
|
91
91
|
CLASSIFICATION_PLAN_NATURE_CODE_PROPERTY: string;
|
|
92
|
+
LIST_COLLECTIVITES: any[];
|
|
93
|
+
LIST_TYPE_CONTRATS: any[];
|
|
94
|
+
LIST_PROCEDURES: any[];
|
|
92
95
|
}, {
|
|
93
96
|
oidc: (state: {
|
|
94
97
|
INSTANCE_NAME: string;
|
|
@@ -170,16 +173,19 @@ export const useConfigStore: StoreDefinition<"ConfigStore", {
|
|
|
170
173
|
}[];
|
|
171
174
|
SEARCH_USER_QUERY: string;
|
|
172
175
|
SAVED_VIEWS_GLOBAL: any[];
|
|
173
|
-
DASHBOARD_CONFIG: any[];
|
|
174
176
|
MDPH_CODE: any;
|
|
175
177
|
WORKSPACE_TYPE_ACTES_ENABLED: boolean;
|
|
176
178
|
WORKSPACE_TYPE_GALLERY_ENABLED: boolean;
|
|
177
179
|
CLASSIFICATION_PLAN_ENABLED: boolean;
|
|
180
|
+
DASHBOARD_PERSONAL_ENABLED: boolean;
|
|
178
181
|
CLASSIFICATION_PLAN_NAME: string;
|
|
179
182
|
CLASSIFICATION_PLAN_ALLOW_NO_NATURE: boolean;
|
|
180
183
|
CLASSIFICATION_PLAN_FULL_VIEW_THRESHOLD: number;
|
|
181
184
|
CLASSIFICATION_PLAN_INLINE_METADATA_THRESHOLD: number;
|
|
182
185
|
CLASSIFICATION_PLAN_NATURE_CODE_PROPERTY: string;
|
|
186
|
+
LIST_COLLECTIVITES: any[];
|
|
187
|
+
LIST_TYPE_CONTRATS: any[];
|
|
188
|
+
LIST_PROCEDURES: any[];
|
|
183
189
|
} & PiniaCustomStateProperties<{
|
|
184
190
|
INSTANCE_NAME: string;
|
|
185
191
|
APP_ROOT_TITLE: string;
|
|
@@ -260,16 +266,19 @@ export const useConfigStore: StoreDefinition<"ConfigStore", {
|
|
|
260
266
|
}[];
|
|
261
267
|
SEARCH_USER_QUERY: string;
|
|
262
268
|
SAVED_VIEWS_GLOBAL: any[];
|
|
263
|
-
DASHBOARD_CONFIG: any[];
|
|
264
269
|
MDPH_CODE: any;
|
|
265
270
|
WORKSPACE_TYPE_ACTES_ENABLED: boolean;
|
|
266
271
|
WORKSPACE_TYPE_GALLERY_ENABLED: boolean;
|
|
267
272
|
CLASSIFICATION_PLAN_ENABLED: boolean;
|
|
273
|
+
DASHBOARD_PERSONAL_ENABLED: boolean;
|
|
268
274
|
CLASSIFICATION_PLAN_NAME: string;
|
|
269
275
|
CLASSIFICATION_PLAN_ALLOW_NO_NATURE: boolean;
|
|
270
276
|
CLASSIFICATION_PLAN_FULL_VIEW_THRESHOLD: number;
|
|
271
277
|
CLASSIFICATION_PLAN_INLINE_METADATA_THRESHOLD: number;
|
|
272
278
|
CLASSIFICATION_PLAN_NATURE_CODE_PROPERTY: string;
|
|
279
|
+
LIST_COLLECTIVITES: any[];
|
|
280
|
+
LIST_TYPE_CONTRATS: any[];
|
|
281
|
+
LIST_PROCEDURES: any[];
|
|
273
282
|
}>) => {
|
|
274
283
|
init: {
|
|
275
284
|
onLoad: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/stores/config.js"],"names":[],"mappings":";AAoBA
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/stores/config.js"],"names":[],"mappings":";AAoBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAwLI;;OAEG;;IAiBH;;;;;OAKG;0CADS,OAAO,CAAC,IAAI,CAAC;GAgC1B"}
|
|
@@ -10,6 +10,8 @@ export const useUploadStore: StoreDefinition<"upload", {
|
|
|
10
10
|
activeRequests: {};
|
|
11
11
|
classificationPlanFiles: any[];
|
|
12
12
|
onCompleteCallback: any;
|
|
13
|
+
pendingNodes: any[];
|
|
14
|
+
ghostContext: any;
|
|
13
15
|
}, {
|
|
14
16
|
overallMessage(state: {
|
|
15
17
|
isUploading: boolean;
|
|
@@ -22,6 +24,8 @@ export const useUploadStore: StoreDefinition<"upload", {
|
|
|
22
24
|
activeRequests: {};
|
|
23
25
|
classificationPlanFiles: any[];
|
|
24
26
|
onCompleteCallback: any;
|
|
27
|
+
pendingNodes: any[];
|
|
28
|
+
ghostContext: any;
|
|
25
29
|
} & PiniaCustomStateProperties<{
|
|
26
30
|
isUploading: boolean;
|
|
27
31
|
files: any[];
|
|
@@ -33,6 +37,8 @@ export const useUploadStore: StoreDefinition<"upload", {
|
|
|
33
37
|
activeRequests: {};
|
|
34
38
|
classificationPlanFiles: any[];
|
|
35
39
|
onCompleteCallback: any;
|
|
40
|
+
pendingNodes: any[];
|
|
41
|
+
ghostContext: any;
|
|
36
42
|
}>): string;
|
|
37
43
|
}, {
|
|
38
44
|
startUpload(uploadItems: any, nodeId: any): void;
|
|
@@ -40,6 +46,19 @@ export const useUploadStore: StoreDefinition<"upload", {
|
|
|
40
46
|
handleUploadRequest(item: any, nodeId: any): Promise<void>;
|
|
41
47
|
cancelUpload(fileName: any): void;
|
|
42
48
|
clearCompleted(): void;
|
|
49
|
+
setGhostContext(context: any): void;
|
|
50
|
+
addGhostNode(ghostData: any): void;
|
|
51
|
+
removeGhostNode(nodeId: any): void;
|
|
52
|
+
/**
|
|
53
|
+
* Update a pre-created ghost with real data after upload success.
|
|
54
|
+
* Finds the ghost by _originalFileName (stored at creation time).
|
|
55
|
+
*/
|
|
56
|
+
updateGhostAfterUpload(fileName: any, data: any): void;
|
|
57
|
+
/**
|
|
58
|
+
* Remove a pre-created ghost on upload failure.
|
|
59
|
+
*/
|
|
60
|
+
removeGhostByTempKey(fileName: any): void;
|
|
61
|
+
cleanExpiredGhosts(ttl?: number): void;
|
|
43
62
|
/**
|
|
44
63
|
* Start upload with classification plan
|
|
45
64
|
* Uses the injector webscript to upload files with metadata
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload.d.ts","sourceRoot":"","sources":["../../../src/stores/upload.js"],"names":[],"mappings":";AA6BA
|
|
1
|
+
{"version":3,"file":"upload.d.ts","sourceRoot":"","sources":["../../../src/stores/upload.js"],"names":[],"mappings":";AA6BA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAwRI;;;OAGG;;IAUH;;OAEG;;;IAiBH;;;;;;;;OAQG;uDALQ,MAAM,YACN,MAAM;IAsFjB;;;;;;;OAOG;4DAJQ,MAAM,SACN,IAAI,EAAE,eACN,KAAQ,qBACR,MAAM;IA+EjB;;;OAGG;;GAyHJ"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pristy/pristy-libvue",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.10.0",
|
|
4
4
|
"description": "Core library used by all Pristy applications",
|
|
5
5
|
"homepage": "https://pristy.fr/en/",
|
|
6
6
|
"author": "JECI SARL",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"testreport": "vitest run --reporter=junit --outputFile.junit=./testreport.xml"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
|
-
"@codemirror/autocomplete": "^6.20.
|
|
42
|
+
"@codemirror/autocomplete": "^6.20.2",
|
|
43
43
|
"@codemirror/collab": "^6.1.1",
|
|
44
44
|
"@codemirror/commands": "^6.10.3",
|
|
45
45
|
"@codemirror/lang-html": "^6.4.11",
|
|
@@ -49,15 +49,15 @@
|
|
|
49
49
|
"@codemirror/lang-yaml": "^6.1.3",
|
|
50
50
|
"@codemirror/language": "^6.12.3",
|
|
51
51
|
"@codemirror/legacy-modes": "^6.5.2",
|
|
52
|
-
"@codemirror/lint": "^6.9.
|
|
52
|
+
"@codemirror/lint": "^6.9.6",
|
|
53
53
|
"@codemirror/merge": "^6.12.1",
|
|
54
54
|
"@codemirror/search": "^6.7.0",
|
|
55
55
|
"@codemirror/state": "^6.6.0",
|
|
56
56
|
"@codemirror/theme-one-dark": "^6.1.3",
|
|
57
|
-
"@codemirror/view": "^6.
|
|
57
|
+
"@codemirror/view": "^6.42.1",
|
|
58
58
|
"codemirror": "6.0.2",
|
|
59
59
|
"vue": "^3.5.22",
|
|
60
|
-
"vue-i18n": "^11.4.
|
|
60
|
+
"vue-i18n": "^11.4.2",
|
|
61
61
|
"vue-router": "^4.6.4"
|
|
62
62
|
},
|
|
63
63
|
"resolutions": {
|
|
@@ -71,8 +71,8 @@
|
|
|
71
71
|
"@tato30/vue-pdf": "^1.11.5",
|
|
72
72
|
"@vueuse/core": "^12.8.2",
|
|
73
73
|
"async-retry": "^1.3.3",
|
|
74
|
-
"axios": "^1.
|
|
75
|
-
"dompurify": "^3.4.
|
|
74
|
+
"axios": "^1.16.0",
|
|
75
|
+
"dompurify": "^3.4.2",
|
|
76
76
|
"email-validator": "^2.0.4",
|
|
77
77
|
"highlight.js": "^11.11.1",
|
|
78
78
|
"jszip": "^3.10.1",
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
"rollup-plugin-visualizer": "^6.0.11",
|
|
107
107
|
"sass": "^1.99.0",
|
|
108
108
|
"svgo": "^4.0.1",
|
|
109
|
-
"vite": "^7.3.
|
|
109
|
+
"vite": "^7.3.3",
|
|
110
110
|
"vite-plugin-dts": "^4.5.4",
|
|
111
111
|
"vitest": "^3.2.4"
|
|
112
112
|
},
|