@pristy/pristy-libvue 2.8.3 → 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.
- package/dist/pristy-libvue.css +1 -1
- package/dist/pristy-libvue.es.js +9996 -9498
- package/dist/pristy-libvue.es.js.map +1 -1
- package/dist/pristy-libvue.umd.js +15 -15
- package/dist/pristy-libvue.umd.js.map +1 -1
- 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/UploadStatus.vue.d.ts +6 -0
- package/dist/src/components/classification/MetadataFormFields.vue.d.ts +37 -1
- package/dist/src/components/classification/NatureSelector.vue.d.ts +37 -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/composables/useCollabEditor.d.ts.map +1 -1
- package/dist/src/composables/useGhostNodes.d.ts +20 -0
- package/dist/src/composables/useGhostNodes.d.ts.map +1 -0
- package/dist/src/i18n/index.d.ts +36 -0
- package/dist/src/i18n/index.d.ts.map +1 -1
- package/dist/src/index.d.ts +4 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/services/GhostMatcher.d.ts +40 -0
- package/dist/src/services/GhostMatcher.d.ts.map +1 -0
- package/dist/src/stores/upload.d.ts +19 -0
- package/dist/src/stores/upload.d.ts.map +1 -1
- package/package.json +11 -11
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GhostNodeRow.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/GhostNodeRow.vue"],"names":[],"mappings":";AA2BA;"}
|
|
@@ -30,6 +30,12 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
30
30
|
handleUploadRequest: (item: any, nodeId: any) => Promise<void>;
|
|
31
31
|
cancelUpload: (fileName: any) => void;
|
|
32
32
|
clearCompleted: () => void;
|
|
33
|
+
setGhostContext: (context: any) => void;
|
|
34
|
+
addGhostNode: (ghostData: any) => void;
|
|
35
|
+
removeGhostNode: (nodeId: any) => void;
|
|
36
|
+
updateGhostAfterUpload: (fileName: any, data: any) => void;
|
|
37
|
+
removeGhostByTempKey: (fileName: any) => void;
|
|
38
|
+
cleanExpiredGhosts: (ttl?: number) => void;
|
|
33
39
|
startUploadWithClassificationPlan: (workspaceSiteId: string, pathFull: string, files: any[], metadata: any, fileRenames: any[], destinationNodeId: any) => void;
|
|
34
40
|
startUploadWithClassificationPlanMulti: (workspaceSiteId: string, files: File[], perFileData: any[], destinationNodeId: string) => void;
|
|
35
41
|
handleClassificationPlanUpload: (item: any) => Promise<void>;
|
|
@@ -76,6 +82,12 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
76
82
|
handleUploadRequest: (item: any, nodeId: any) => Promise<void>;
|
|
77
83
|
cancelUpload: (fileName: any) => void;
|
|
78
84
|
clearCompleted: () => void;
|
|
85
|
+
setGhostContext: (context: any) => void;
|
|
86
|
+
addGhostNode: (ghostData: any) => void;
|
|
87
|
+
removeGhostNode: (nodeId: any) => void;
|
|
88
|
+
updateGhostAfterUpload: (fileName: any, data: any) => void;
|
|
89
|
+
removeGhostByTempKey: (fileName: any) => void;
|
|
90
|
+
cleanExpiredGhosts: (ttl?: number) => void;
|
|
79
91
|
startUploadWithClassificationPlan: (workspaceSiteId: string, pathFull: string, files: any[], metadata: any, fileRenames: any[], destinationNodeId: any) => void;
|
|
80
92
|
startUploadWithClassificationPlanMulti: (workspaceSiteId: string, files: File[], perFileData: any[], destinationNodeId: string) => void;
|
|
81
93
|
handleClassificationPlanUpload: (item: any) => Promise<void>;
|
|
@@ -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;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCollabEditor.d.ts","sourceRoot":"","sources":["../../../src/composables/useCollabEditor.js"],"names":[],"mappings":"AA2JA;;;;;GAKG;AACH,
|
|
1
|
+
{"version":3,"file":"useCollabEditor.d.ts","sourceRoot":"","sources":["../../../src/composables/useCollabEditor.js"],"names":[],"mappings":"AA2JA;;;;;GAKG;AACH,uCAm0BC;AA37BD,0BAA2B,QAAQ,CAAC;AACpC,4BAA6B,UAAU,CAAC;AACxC,+BAAgC,CAAC,CAAC"}
|
|
@@ -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"}
|
package/dist/src/i18n/index.d.ts
CHANGED
|
@@ -591,6 +591,19 @@ declare const i18n: I18n<{
|
|
|
591
591
|
participantsTooltip: string;
|
|
592
592
|
editorsTooltip: string;
|
|
593
593
|
observersTooltip: string;
|
|
594
|
+
unavailable: string;
|
|
595
|
+
unavailableReason: {
|
|
596
|
+
INVALID_DOCUMENT: string;
|
|
597
|
+
SESSION_FULL: string;
|
|
598
|
+
NO_READ_PERMISSION: string;
|
|
599
|
+
};
|
|
600
|
+
unavailableDetail: {
|
|
601
|
+
NODE_NOT_FOUND: string;
|
|
602
|
+
NO_CONTENT: string;
|
|
603
|
+
UNSUPPORTED_MIMETYPE: string;
|
|
604
|
+
FILE_TOO_LARGE: string;
|
|
605
|
+
INTERNAL_ERROR: string;
|
|
606
|
+
};
|
|
594
607
|
};
|
|
595
608
|
diffViewer: {
|
|
596
609
|
compareTitle: string;
|
|
@@ -1256,6 +1269,11 @@ declare const i18n: I18n<{
|
|
|
1256
1269
|
action: string;
|
|
1257
1270
|
};
|
|
1258
1271
|
};
|
|
1272
|
+
ghost: {
|
|
1273
|
+
indexing: string;
|
|
1274
|
+
tooltip: string;
|
|
1275
|
+
panelTitle: string;
|
|
1276
|
+
};
|
|
1259
1277
|
};
|
|
1260
1278
|
fr: {
|
|
1261
1279
|
pagination: {
|
|
@@ -1845,6 +1863,19 @@ declare const i18n: I18n<{
|
|
|
1845
1863
|
participantsTooltip: string;
|
|
1846
1864
|
editorsTooltip: string;
|
|
1847
1865
|
observersTooltip: string;
|
|
1866
|
+
unavailable: string;
|
|
1867
|
+
unavailableReason: {
|
|
1868
|
+
INVALID_DOCUMENT: string;
|
|
1869
|
+
SESSION_FULL: string;
|
|
1870
|
+
NO_READ_PERMISSION: string;
|
|
1871
|
+
};
|
|
1872
|
+
unavailableDetail: {
|
|
1873
|
+
NODE_NOT_FOUND: string;
|
|
1874
|
+
NO_CONTENT: string;
|
|
1875
|
+
UNSUPPORTED_MIMETYPE: string;
|
|
1876
|
+
FILE_TOO_LARGE: string;
|
|
1877
|
+
INTERNAL_ERROR: string;
|
|
1878
|
+
};
|
|
1848
1879
|
};
|
|
1849
1880
|
diffViewer: {
|
|
1850
1881
|
compareTitle: string;
|
|
@@ -2510,6 +2541,11 @@ declare const i18n: I18n<{
|
|
|
2510
2541
|
action: string;
|
|
2511
2542
|
};
|
|
2512
2543
|
};
|
|
2544
|
+
ghost: {
|
|
2545
|
+
indexing: string;
|
|
2546
|
+
tooltip: string;
|
|
2547
|
+
panelTitle: string;
|
|
2548
|
+
};
|
|
2513
2549
|
};
|
|
2514
2550
|
}, {}, {}, string, true>;
|
|
2515
2551
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/i18n/index.js"],"names":[],"mappings":";;AAsBA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/i18n/index.js"],"names":[],"mappings":";;AAsBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAOG"}
|
package/dist/src/index.d.ts
CHANGED
|
@@ -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';
|
package/dist/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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wD;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
|
|
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.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.
|
|
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,34 +49,34 @@
|
|
|
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
|
-
"@codemirror/search": "^6.
|
|
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.0",
|
|
58
58
|
"codemirror": "6.0.2",
|
|
59
59
|
"vue": "^3.5.22",
|
|
60
|
-
"vue-i18n": "^11.
|
|
60
|
+
"vue-i18n": "^11.4.0",
|
|
61
61
|
"vue-router": "^4.6.4"
|
|
62
62
|
},
|
|
63
63
|
"resolutions": {
|
|
64
64
|
"@codemirror/state": "6.5.2"
|
|
65
65
|
},
|
|
66
66
|
"dependencies": {
|
|
67
|
-
"@alfresco/js-api": "^9.
|
|
67
|
+
"@alfresco/js-api": "^9.4.1",
|
|
68
68
|
"@codemirror/language-data": "^6.5.2",
|
|
69
69
|
"@primeuix/themes": "^2.0.3",
|
|
70
70
|
"@primevue/core": "^4.3.3",
|
|
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",
|
|
79
|
-
"keycloak-js": "^26.2.
|
|
79
|
+
"keycloak-js": "^26.2.4",
|
|
80
80
|
"marked": "^16.4.2",
|
|
81
81
|
"marked-highlight": "^2.2.4",
|
|
82
82
|
"p-limit": "^6.2.0",
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
"eslint-plugin-import": "^2.32.0",
|
|
100
100
|
"eslint-plugin-n": "^17.24.0",
|
|
101
101
|
"eslint-plugin-prettier": "^5.5.5",
|
|
102
|
-
"eslint-plugin-promise": "^7.
|
|
102
|
+
"eslint-plugin-promise": "^7.3.0",
|
|
103
103
|
"eslint-plugin-vue": "^9.33.0",
|
|
104
104
|
"jsdom": "^27.4.0",
|
|
105
105
|
"prettier": "^3.8.3",
|