@pristy/pristy-libvue 2.8.4 → 2.9.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.
@@ -62,8 +62,8 @@ declare const _default: DefineComponent<ExtractPropTypes<{
62
62
  }>> & Readonly<{}>, {
63
63
  link: string;
64
64
  summary: string;
65
- message: string;
66
65
  severity: string;
66
+ message: string;
67
67
  linkText: string;
68
68
  messageBeforeLink: string;
69
69
  messageAfterLink: string;
@@ -0,0 +1,20 @@
1
+ import { Ref, ComputedRef } from 'vue';
2
+ /**
3
+ * Composable that provides the list of ghost nodes relevant to the
4
+ * current display context and manages auto-refresh with exponential
5
+ * backoff polling.
6
+ *
7
+ * @param {Object} options
8
+ * @param {import('vue').Ref<Object>} options.displayContext - Reactive context:
9
+ * { type: 'view'|'folder'|'search'|'site-root', viewConfig, currentNodeId, siteId, entries }
10
+ * @param {Function} options.onRefresh - Callback to trigger a data reload.
11
+ * @returns {{ relevantGhosts: import('vue').ComputedRef<Array>, hasGhosts: import('vue').ComputedRef<boolean> }}
12
+ */
13
+ export function useGhostNodes({ displayContext, onRefresh }: {
14
+ displayContext: Ref<any>;
15
+ onRefresh: Function;
16
+ }): {
17
+ relevantGhosts: ComputedRef<any[]>;
18
+ hasGhosts: ComputedRef<boolean>;
19
+ };
20
+ //# sourceMappingURL=useGhostNodes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useGhostNodes.d.ts","sourceRoot":"","sources":["../../../src/composables/useGhostNodes.js"],"names":[],"mappings":";AA2BA;;;;;;;;;;GAUG;AACH,6DALG;IAA2C,cAAc,EAAjD,OAAO,KAAK,EAAE,GAAG,KAAQ;IAEP,SAAS;CACnC,GAAU;IAAE,cAAc,EAAE,OAAO,KAAK,EAAE,WAAW,OAAO,CAAC;IAAC,SAAS,EAAE,OAAO,KAAK,EAAE,WAAW,CAAC,OAAO,CAAC,CAAA;CAAE,CAuK/G"}
@@ -1269,6 +1269,11 @@ declare const i18n: I18n<{
1269
1269
  action: string;
1270
1270
  };
1271
1271
  };
1272
+ ghost: {
1273
+ indexing: string;
1274
+ tooltip: string;
1275
+ panelTitle: string;
1276
+ };
1272
1277
  };
1273
1278
  fr: {
1274
1279
  pagination: {
@@ -2536,6 +2541,11 @@ declare const i18n: I18n<{
2536
2541
  action: string;
2537
2542
  };
2538
2543
  };
2544
+ ghost: {
2545
+ indexing: string;
2546
+ tooltip: string;
2547
+ panelTitle: string;
2548
+ };
2539
2549
  };
2540
2550
  }, {}, {}, string, true>;
2541
2551
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/i18n/index.js"],"names":[],"mappings":";;AAsBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAOG"}
@@ -11,6 +11,7 @@ import { default as ContentListView } from '../components/navigation/ContentList
11
11
  import { default as ContentCompactTableView } from '../components/navigation/ContentCompactTableView.vue';
12
12
  import { default as ContentGridView } from '../components/navigation/ContentGridView.vue';
13
13
  import { default as DynamicContentView } from '../components/navigation/DynamicContentView.vue';
14
+ import { default as GhostNodeRow } from '../components/navigation/GhostNodeRow.vue';
14
15
  import { default as ContentFiltersHeader } from '../components/navigation/ContentFiltersHeader.vue';
15
16
  import { default as ImageViewer } from '../components/viewer/ImageViewer.vue';
16
17
  import { default as VideoPlayer } from '../components/viewer/VideoPlayer.vue';
@@ -105,6 +106,7 @@ export { default as classificationService } from '../services/ClassificationServ
105
106
  export { default as classificationFileService } from '../services/ClassificationFileService.js';
106
107
  export { default as viewConfigService } from '../services/ViewConfigService.js';
107
108
  export { default as aftsQueryBuilder } from '../services/AftsQueryBuilder.js';
109
+ export { default as ghostMatcher } from '../services/GhostMatcher.js';
108
110
  export { default as vueKeyCloak } from '../plugins/KeycloakPlugin.js';
109
111
  export { default as i18n } from '../i18n';
110
112
  export { messages } from '../i18n/locales';
@@ -132,10 +134,11 @@ export { default as LoginPage } from '../pages/LoginPage.vue';
132
134
  export { default as NotFoundPages } from '../pages/NotFoundPages.vue';
133
135
  export { default as ErrorPage } from '../pages/ErrorPage.vue';
134
136
  export { useClassificationPlan } from '../composables/useClassificationPlan.js';
137
+ export { useGhostNodes } from '../composables/useGhostNodes.js';
135
138
  export namespace componentLibrary {
136
139
  function install(app: any): void;
137
140
  }
138
- export { PDFComponent, PristyIcon, PaginatorComponent, CopyOrMovePopup, TreeExplorer, EllipsisBreadcrumb, BreadCrumbAlfresco, ComplexBreadcrumb, ContentTableView, ContentListView, ContentCompactTableView, ContentGridView, DynamicContentView, ContentFiltersHeader, ImageViewer, VideoPlayer, AudioPlayer, PreviewPanel, LayoutSelector, ColumnTogglePanel, ContentToolbar, SelectionBar, HelpKeyMessage, SelectionStatus, MemberList, ActionMenu, CustomToastContent, FolderUpload, UploadTargetInfo, UploadStatus, AddPairInConfigDialog, ConfigDatatable, ConfigItemEditor, ConfigSplitView, ConfigUpload, ListVersionConfig, AddCriterionPopup, AdvancedSearchPanel, AdvancedViewPanel, ExactSearch, FavoriteViewMenu, UserViewsFavoritesPanel, SaveViewPopup, ViewResultsPanel, PdfToolsComponent, CodeMirrorEditor, DiffViewerDialog, ArrayEditor, WorkspaceCard, WorkspaceList, PredefinedViewsPanel, ViewList, ConfigHealthBanner, CreateWorkflowPopup, ImportNewVersionPopup, ShareLinkPopup, MemberListPopup, SendMailPopup, ImportPopupWithWorker, ErrorComponent, AppLayout, AppSidebar, AppTopbar, AppSubmenu, AppFooter, AppMobileLayout, SidebarProfileSection, ChatPanel, ChatMessage, ChatInput, ChatRoomList, AdminClassificationLauncher, ClassificationPlanList, ClassificationPlanCreate, AdminClassificationPage, NatureForm, FieldForm, EmplacementForm, UploadPlanPopup, NatureSelector, MetadataFormFields };
141
+ export { PDFComponent, PristyIcon, PaginatorComponent, CopyOrMovePopup, TreeExplorer, EllipsisBreadcrumb, BreadCrumbAlfresco, ComplexBreadcrumb, ContentTableView, ContentListView, ContentCompactTableView, ContentGridView, DynamicContentView, GhostNodeRow, ContentFiltersHeader, ImageViewer, VideoPlayer, AudioPlayer, PreviewPanel, LayoutSelector, ColumnTogglePanel, ContentToolbar, SelectionBar, HelpKeyMessage, SelectionStatus, MemberList, ActionMenu, CustomToastContent, FolderUpload, UploadTargetInfo, UploadStatus, AddPairInConfigDialog, ConfigDatatable, ConfigItemEditor, ConfigSplitView, ConfigUpload, ListVersionConfig, AddCriterionPopup, AdvancedSearchPanel, AdvancedViewPanel, ExactSearch, FavoriteViewMenu, UserViewsFavoritesPanel, SaveViewPopup, ViewResultsPanel, PdfToolsComponent, CodeMirrorEditor, DiffViewerDialog, ArrayEditor, WorkspaceCard, WorkspaceList, PredefinedViewsPanel, ViewList, ConfigHealthBanner, CreateWorkflowPopup, ImportNewVersionPopup, ShareLinkPopup, MemberListPopup, SendMailPopup, ImportPopupWithWorker, ErrorComponent, AppLayout, AppSidebar, AppTopbar, AppSubmenu, AppFooter, AppMobileLayout, SidebarProfileSection, ChatPanel, ChatMessage, ChatInput, ChatRoomList, AdminClassificationLauncher, ClassificationPlanList, ClassificationPlanCreate, AdminClassificationPage, NatureForm, FieldForm, EmplacementForm, UploadPlanPopup, NatureSelector, MetadataFormFields };
139
142
  export { default as filingPlanService, NatureDocument, TypeDossier } from '../services/FilingPlanService.js';
140
143
  export { useLayout, MENU_MODES, MENU_THEMES } from '../composables/useLayout.js';
141
144
  export { checkNotNull, checkString } from '../directives/assert.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAwGE,iCAsEC;;yBA7JsB,sCAAsC;uBACxC,6BAA6B;+BAFrB,gDAAgD;4BAGnD,wCAAwC;yBAC3C,+BAA+B;+BACzB,gDAAgD;+BAChD,gDAAgD;8BACjD,+CAA+C;6BAChD,8CAA8C;4BAC/C,6CAA6C;oCACrC,qDAAqD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6DAA6D;mCAClE,wDAAwD;qCACtD,0DAA0D;oCAC3D,yDAAyD;uBACtE,4CAA4C;sBAC7C,2CAA2C;4BACrC,iDAAiD;4BACjD,iDAAiD;2BAClD,gDAAgD;+BAC5C,oDAAoD"}
@@ -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"}
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAuNI;;;;;;;;OAQG;uDALQ,MAAM,YACN,MAAM;IA+DjB;;;;;;;OAOG;4DAJQ,MAAM,SACN,IAAI,EAAE,eACN,KAAQ,qBACR,MAAM;IAoDjB;;;OAGG;;GA0GJ"}
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.8.4",
3
+ "version": "2.9.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.1",
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,12 +49,12 @@
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.5",
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.41.1",
57
+ "@codemirror/view": "^6.42.0",
58
58
  "codemirror": "6.0.2",
59
59
  "vue": "^3.5.22",
60
60
  "vue-i18n": "^11.4.0",
@@ -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.15.2",
75
- "dompurify": "^3.4.1",
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",