@pristy/pristy-libvue 2.11.2 → 2.13.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.
Files changed (76) hide show
  1. package/dist/{ActivityHistory-Dvbc4pJJ.js → ActivityHistory-C88mXa5z.js} +6 -6
  2. package/dist/{ActivityHistory-Dvbc4pJJ.js.map → ActivityHistory-C88mXa5z.js.map} +1 -1
  3. package/dist/{BookmarksComponent--MeUpzdk.js → BookmarksComponent-DzFWTKuD.js} +4 -4
  4. package/dist/{BookmarksComponent--MeUpzdk.js.map → BookmarksComponent-DzFWTKuD.js.map} +1 -1
  5. package/dist/{ChartWrapper-DTaV2iGz.js → ChartWrapper-C8CJ723Y.js} +2 -2
  6. package/dist/{ChartWrapper-DTaV2iGz.js.map → ChartWrapper-C8CJ723Y.js.map} +1 -1
  7. package/dist/{DisplayFileInDashboardComponent-BteIB_Wo.js → DisplayFileInDashboardComponent-CPjuNG9s.js} +17 -17
  8. package/dist/{DisplayFileInDashboardComponent-BteIB_Wo.js.map → DisplayFileInDashboardComponent-CPjuNG9s.js.map} +1 -1
  9. package/dist/{ExternalApps-DFSifuKE.js → ExternalApps-CnTZSCQx.js} +9 -9
  10. package/dist/{ExternalApps-DFSifuKE.js.map → ExternalApps-CnTZSCQx.js.map} +1 -1
  11. package/dist/{FavoriteList-986Kirck.js → FavoriteList-DCy58fFe.js} +10 -10
  12. package/dist/{FavoriteList-986Kirck.js.map → FavoriteList-DCy58fFe.js.map} +1 -1
  13. package/dist/{MarkdownComponent-CofjgT1-.js → MarkdownComponent-005IvEeK.js} +4 -4
  14. package/dist/{MarkdownComponent-CofjgT1-.js.map → MarkdownComponent-005IvEeK.js.map} +1 -1
  15. package/dist/{SearchInput-nQshufOo.js → SearchInput-BafNshKY.js} +2 -2
  16. package/dist/{SearchInput-nQshufOo.js.map → SearchInput-BafNshKY.js.map} +1 -1
  17. package/dist/{UnknownBlockType-ltqGOaj-.js → UnknownBlockType-CdKn9YmQ.js} +2 -2
  18. package/dist/{UnknownBlockType-ltqGOaj-.js.map → UnknownBlockType-CdKn9YmQ.js.map} +1 -1
  19. package/dist/{index-R9eTDd-U.js → index-Dww-A_tC.js} +10412 -9918
  20. package/dist/index-Dww-A_tC.js.map +1 -0
  21. package/dist/pristy-libvue.css +1 -1
  22. package/dist/pristy-libvue.es.js +81 -79
  23. package/dist/pristy-libvue.umd.js +24 -24
  24. package/dist/pristy-libvue.umd.js.map +1 -1
  25. package/dist/src/components/CodeMirrorEditor.vue.d.ts.map +1 -1
  26. package/dist/src/components/PristyIcon.vue.d.ts +3 -3
  27. package/dist/src/components/classification/MetadataFormFields.vue.d.ts +9 -0
  28. package/dist/src/components/classification/MetadataFormFields.vue.d.ts.map +1 -1
  29. package/dist/src/components/classification/NatureSelector.vue.d.ts +9 -0
  30. package/dist/src/components/classification/NatureSelector.vue.d.ts.map +1 -1
  31. package/dist/src/components/classification/UploadPlanPopup.vue.d.ts.map +1 -1
  32. package/dist/src/components/navigation/ContentCompactTableView.vue.d.ts +17 -3
  33. package/dist/src/components/navigation/ContentCompactTableView.vue.d.ts.map +1 -1
  34. package/dist/src/components/navigation/ContentGridView.vue.d.ts +9 -5
  35. package/dist/src/components/navigation/ContentListView.vue.d.ts +9 -5
  36. package/dist/src/components/navigation/ContentTableView.vue.d.ts +23 -5
  37. package/dist/src/components/navigation/ContentTableView.vue.d.ts.map +1 -1
  38. package/dist/src/components/navigation/DynamicContentView.vue.d.ts +51 -17
  39. package/dist/src/components/navigation/DynamicContentView.vue.d.ts.map +1 -1
  40. package/dist/src/components/navigation/GhostNodeRow.vue.d.ts +3 -3
  41. package/dist/src/composables/useCollabEditor.d.ts.map +1 -1
  42. package/dist/src/composables/useCollabWebSocket.d.ts.map +1 -1
  43. package/dist/src/composables/useColumnFilter.d.ts +3 -0
  44. package/dist/src/composables/useColumnFilter.d.ts.map +1 -1
  45. package/dist/src/composables/useGhostNodes.d.ts +2 -2
  46. package/dist/src/composables/useGhostNodes.d.ts.map +1 -1
  47. package/dist/src/i18n/index.d.ts +14 -0
  48. package/dist/src/i18n/index.d.ts.map +1 -1
  49. package/dist/src/index.d.ts +2 -0
  50. package/dist/src/index.d.ts.map +1 -1
  51. package/dist/src/services/AftsQueryBuilder.d.ts.map +1 -1
  52. package/dist/src/services/AlfrescoFileService.d.ts +55 -8
  53. package/dist/src/services/AlfrescoFileService.d.ts.map +1 -1
  54. package/dist/src/services/AlfrescoProxyService.d.ts +29 -0
  55. package/dist/src/services/AlfrescoProxyService.d.ts.map +1 -0
  56. package/dist/src/services/ChatBackendService.d.ts +3 -13
  57. package/dist/src/services/ChatBackendService.d.ts.map +1 -1
  58. package/dist/src/services/DiffusionService.d.ts +61 -0
  59. package/dist/src/services/DiffusionService.d.ts.map +1 -0
  60. package/dist/src/services/GhostMatcher.d.ts.map +1 -1
  61. package/dist/src/services/MenuService.d.ts.map +1 -1
  62. package/dist/src/services/PeopleService.d.ts +5 -1
  63. package/dist/src/services/PeopleService.d.ts.map +1 -1
  64. package/dist/src/services/PreviewService.d.ts +36 -0
  65. package/dist/src/services/PreviewService.d.ts.map +1 -0
  66. package/dist/src/services/WorkspaceService.d.ts +1 -1
  67. package/dist/src/services/WorkspaceService.d.ts.map +1 -1
  68. package/dist/src/services/aliasMap.d.ts +20 -0
  69. package/dist/src/services/aliasMap.d.ts.map +1 -0
  70. package/dist/src/stores/config.d.ts +6 -0
  71. package/dist/src/stores/config.d.ts.map +1 -1
  72. package/dist/src/stores/user.d.ts.map +1 -1
  73. package/dist/src/utils/classificationPlanUtils.d.ts +32 -0
  74. package/dist/src/utils/classificationPlanUtils.d.ts.map +1 -1
  75. package/package.json +16 -16
  76. package/dist/index-R9eTDd-U.js.map +0 -1
@@ -1,8 +1,8 @@
1
1
  import { Ref, ComputedRef } from 'vue';
2
2
  /**
3
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.
4
+ * current display context and manages auto-refresh polling
5
+ * (10s initial delay, then every 3s, up to 20 retries).
6
6
  *
7
7
  * @param {Object} options
8
8
  * @param {import('vue').Ref<Object>} options.displayContext - Reactive context:
@@ -1 +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,CAiL/G"}
1
+ {"version":3,"file":"useGhostNodes.d.ts","sourceRoot":"","sources":["../../../src/composables/useGhostNodes.js"],"names":[],"mappings":";AA4BA;;;;;;;;;;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,CAmL/G"}
@@ -170,6 +170,8 @@ declare const i18n: I18n<{
170
170
  notContains: string;
171
171
  equals: string;
172
172
  clearAll: string;
173
+ from: string;
174
+ to: string;
173
175
  };
174
176
  howMuchResult: string;
175
177
  howMuchSelected: string;
@@ -586,6 +588,8 @@ declare const i18n: I18n<{
586
588
  peers: string;
587
589
  initError: string;
588
590
  sessionFull: string;
591
+ authExpired: string;
592
+ reload: string;
589
593
  locked: string;
590
594
  offline: string;
591
595
  participantsTooltip: string;
@@ -1192,12 +1196,14 @@ declare const i18n: I18n<{
1192
1196
  fileName: string;
1193
1197
  category: string;
1194
1198
  metadataBtn: string;
1199
+ metadataProgress: string;
1195
1200
  status: string;
1196
1201
  complete: string;
1197
1202
  incomplete: string;
1198
1203
  selectCategory: string;
1199
1204
  selectNature: string;
1200
1205
  selectCategoryFirst: string;
1206
+ autoDetectNature: string;
1201
1207
  searchNature: string;
1202
1208
  removeFile: string;
1203
1209
  metadataTitle: string;
@@ -1247,6 +1253,7 @@ declare const i18n: I18n<{
1247
1253
  summaryFrom: string;
1248
1254
  summaryTo: string;
1249
1255
  };
1256
+ autoExtracted: string;
1250
1257
  };
1251
1258
  chat: {
1252
1259
  title: string;
@@ -1777,6 +1784,8 @@ declare const i18n: I18n<{
1777
1784
  notContains: string;
1778
1785
  equals: string;
1779
1786
  clearAll: string;
1787
+ from: string;
1788
+ to: string;
1780
1789
  };
1781
1790
  howMuchResult: string;
1782
1791
  howMuchSelected: string;
@@ -2191,6 +2200,8 @@ declare const i18n: I18n<{
2191
2200
  peers: string;
2192
2201
  initError: string;
2193
2202
  sessionFull: string;
2203
+ authExpired: string;
2204
+ reload: string;
2194
2205
  locked: string;
2195
2206
  offline: string;
2196
2207
  participantsTooltip: string;
@@ -2797,12 +2808,14 @@ declare const i18n: I18n<{
2797
2808
  fileName: string;
2798
2809
  category: string;
2799
2810
  metadataBtn: string;
2811
+ metadataProgress: string;
2800
2812
  status: string;
2801
2813
  complete: string;
2802
2814
  incomplete: string;
2803
2815
  selectCategory: string;
2804
2816
  selectNature: string;
2805
2817
  selectCategoryFirst: string;
2818
+ autoDetectNature: string;
2806
2819
  searchNature: string;
2807
2820
  removeFile: string;
2808
2821
  metadataTitle: string;
@@ -2852,6 +2865,7 @@ declare const i18n: I18n<{
2852
2865
  summaryFrom: string;
2853
2866
  summaryTo: string;
2854
2867
  };
2868
+ autoExtracted: string;
2855
2869
  };
2856
2870
  chat: {
2857
2871
  title: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/i18n/index.js"],"names":[],"mappings":";;AAsBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAOG"}
@@ -97,6 +97,7 @@ export { default as iconeService } from '../services/IconeService.js';
97
97
  export { default as keyboardShortcutsService } from '../services/KeyboardShortcutsService.js';
98
98
  export { default as menuService } from '../services/MenuService.js';
99
99
  export { default as peopleService } from '../services/PeopleService.js';
100
+ export { default as previewService } from '../services/PreviewService.js';
100
101
  export { default as translationService } from '../services/TranslationService.js';
101
102
  export { default as workflowService } from '../services/WorkflowService.js';
102
103
  export { default as workspaceService } from '../services/WorkspaceService.js';
@@ -105,6 +106,7 @@ export { default as configHealthService } from '../services/ConfigHealthService.
105
106
  export { default as userViewService } from '../services/UserViewService.js';
106
107
  export { default as alfrescoModelService } from '../services/AlfrescoModelService.js';
107
108
  export { default as chatBackendService } from '../services/ChatBackendService.js';
109
+ export { default as diffusionService } from '../services/DiffusionService.js';
108
110
  export { default as rocketChatService } from '../services/RocketChatService.js';
109
111
  export { default as rocketChatAuthService } from '../services/RocketChatAuthService.js';
110
112
  export { default as classificationService } from '../services/ClassificationService.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAgHE,iCA4EC;;yBA3KsB,sCAAsC;uBACxC,6BAA6B;+BAFrB,gDAAgD;4BAGnD,wCAAwC;yBAC3C,+BAA+B;+BACzB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C;sBA8BtC,oCAAoC;uBACnC,qCAAqC;sBACtC,oCAAoC;uBACnC,qCAAqC;sBACtC,oCAAoC;4BAC9B,0CAA0C;kCACpC,gDAAgD;sBAnC5D,iCAAiC;wBAC/B,mCAAmC;sBACrC,iCAAiC;yBAC9B,oCAAoC;+BAO9B,+CAA+C;4BAClD,mDAAmD;+BAChD,+CAA+C;iCAC7C,wDAAwD;6BAC5D,mCAAmC;wCAGxB,6DAA6D;mCAClE,wDAAwD;qCACtD,0DAA0D;oCAC3D,yDAAyD;uBACtE,4CAA4C;sBAC7C,2CAA2C;4BACrC,iDAAiD;4BACjD,iDAAiD;2BAClD,gDAAgD;+BAC5C,oDAAoD"}
@@ -1 +1 @@
1
- {"version":3,"file":"AftsQueryBuilder.d.ts","sourceRoot":"","sources":["../../../src/services/AftsQueryBuilder.js"],"names":[],"mappings":";;AAmCA;;;GAGG;AACH;IACE;;;;;OAKG;IACH,qBAHW,MAAM,GACJ,MAAM,CAQlB;IAED;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,kCAJG;QAA0B,SAAS;QACT,QAAQ;KAClC,GAAU,MAAM,CAyDlB;IAED;;;;OAIG;IACH,6BAFa,MAAM,GAAC,IAAI,CAkEvB;IAED;;;;OAIG;IACH,8BAFa,MAAM,GAAC,IAAI,CAavB;IAED;;;;OAIG;IACH,wCAFa,MAAM,GAAC,IAAI,CAavB;CACF"}
1
+ {"version":3,"file":"AftsQueryBuilder.d.ts","sourceRoot":"","sources":["../../../src/services/AftsQueryBuilder.js"],"names":[],"mappings":";;AAmBA;;;GAGG;AACH;IACE;;;;;OAKG;IACH,qBAHW,MAAM,GACJ,MAAM,CAQlB;IAED;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,kCAJG;QAA0B,SAAS;QACT,QAAQ;KAClC,GAAU,MAAM,CAyDlB;IAED;;;;OAIG;IACH,6BAFa,MAAM,GAAC,IAAI,CAkEvB;IAED;;;;OAIG;IACH,8BAFa,MAAM,GAAC,IAAI,CAavB;IAED;;;;OAIG;IACH,wCAFa,MAAM,GAAC,IAAI,CAavB;CACF"}
@@ -16,6 +16,19 @@ declare class AlfrescoFileService {
16
16
  uploadFile(nodeId: any, opts: any, file: any): any;
17
17
  createRendition(nodeId: any, rendition: any): Promise<any>;
18
18
  createAllRendition(nodeId: any): Promise<any>;
19
+ /**
20
+ * Request creation of the wanted renditions, but only those that are both
21
+ * applicable to the node (present in listRenditions) and not yet created.
22
+ *
23
+ * Unlike {@link createAllRendition}, this never asks Alfresco to transform a
24
+ * type that cannot produce the rendition (archives, binaries, ...), avoiding
25
+ * the failed createRendition calls that polluted the logs.
26
+ *
27
+ * @param nodeId
28
+ * @param wanted rendition ids to ensure, default ["doclib", "imgpreview"]
29
+ * @returns {Promise<*>}
30
+ */
31
+ createMissingRenditions(nodeId: any, wanted?: string[]): Promise<any>;
19
32
  _createRendition(nodeId: any, renditionBodyCreate: any): Promise<any>;
20
33
  createVersionRendition(nodeId: any, versionId: any, rendition: any): Promise<any>;
21
34
  getVersionRendition(nodeId: any, versionId: any, renditionId: any): Promise< RenditionEntry>;
@@ -36,20 +49,54 @@ declare class AlfrescoFileService {
36
49
  onImageLoadFailure(event: Event, node: any): void;
37
50
  isThumbnailSupported(node: any): any;
38
51
  /**
39
- * Get rendition of the selected node. The method will retry 5 times, waiting for rendition to be created
52
+ * Status of a rendition from a listRenditions/listVersionRenditions response.
53
+ * @param paging RenditionPaging response
54
+ * @param rendition the rendition id (e.g. "pdf")
55
+ * @returns {string|null} "CREATED" / "NOT_CREATED", or null when the rendition
56
+ * is not applicable to the node (i.e. cannot be produced for its mimetype)
57
+ */
58
+ _findRenditionStatus(paging: any, rendition: any): string | null;
59
+ /**
60
+ * Build the error thrown when a rendition cannot be produced for a node.
61
+ * Callers can detect it via `error.code === "RENDITION_NOT_AVAILABLE"` to
62
+ * show the default icon / a download-only view instead of retrying.
63
+ */
64
+ _renditionNotAvailable(nodeId: any, rendition: any): Error;
65
+ /**
66
+ * Poll a not-yet-created rendition until it becomes CREATED, then resolve its
67
+ * content URL. Rejects once retries are exhausted.
68
+ * @param getRendition () => Promise<RenditionEntry>
69
+ * @param getUrl () => string content URL once the rendition is ready
70
+ * @param rendition the rendition id, for logging
71
+ */
72
+ _waitForRendition(getRendition: any, getUrl: any, rendition: any): any;
73
+ /**
74
+ * Resolve the content URL of a node rendition.
75
+ *
76
+ * Lists the renditions applicable to the node first: listRenditions returns
77
+ * every rendition *possible* for the node's source mimetype, each with a
78
+ * status (CREATED / NOT_CREATED). We decide up-front instead of blindly
79
+ * requesting a rendition for a type that cannot produce it (which only
80
+ * generated errors and log noise):
81
+ * - rendition absent from the list -> reject with RENDITION_NOT_AVAILABLE
82
+ * - CREATED -> return its content URL
83
+ * - NOT_CREATED -> request creation, then wait until ready
84
+ *
40
85
  * @param nodeId
41
- * @param rendition default to pdf"
42
- * @returns {Promise<unknown>}
86
+ * @param rendition default "pdf"
87
+ * @returns {Promise<string>} the rendition content URL
43
88
  */
44
- getRenditionUrl(nodeId: any, rendition?: string): Promise<unknown>;
89
+ getRenditionUrl(nodeId: any, rendition?: string): Promise<string>;
45
90
  /**
46
- * Get rendition of the selected version. The method will retry 5 times, waiting for rendition to be created
91
+ * Resolve the content URL of a version rendition. Same strategy as
92
+ * {@link getRenditionUrl}, using the version rendition endpoints.
93
+ *
47
94
  * @param nodeId
48
95
  * @param versionId
49
- * @param rendition default to pdf"
50
- * @returns {*}
96
+ * @param rendition default "pdf"
97
+ * @returns {Promise<string>} the rendition content URL
51
98
  */
52
- getVersionRenditionUrl(nodeId: any, versionId: any, rendition?: string): any;
99
+ getVersionRenditionUrl(nodeId: any, versionId: any, rendition?: string): Promise<string>;
53
100
  getProtocolForFileExtension(fileExtension: any): any;
54
101
  getFileExtension(fileName: any): any;
55
102
  isDoc(item: any): boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"AlfrescoFileService.d.ts","sourceRoot":"","sources":["../../../src/services/AlfrescoFileService.js"],"names":[],"mappings":";;;AAiCA;;GAEG;AACH;IAEI,4BAGE;IAEF,4BAAkC;IAClC,qCAGE;IAEJ,kCAQC;IAED,gCAQC;IAED,gCAQC;IAED,uDAQC;IAED,mDAeC;IAED,2DAIC;IAED,8CASC;IAED,sEAeC;IAED,kFAIC;IAED,uHAEC;IAED;;;;;OAKG;IACH,+BAFW,KAAK,QAkBf;IAED;;;;;;OAMG;IACH,0BAHW,KAAK,mBAkCf;IAED,qCAYC;IAED;;;;;OAKG;IACH,kDAFa,OAAO,CAAC,OAAO,CAAC,CA0C5B;IAED;;;;;;OAMG;IACH,yEAFa,GAAC,CA6Cb;IACD,qDAwCC;IACD,qCAMC;IACD,0BAOC;IACD,mCAqBC;IACD,wCAYC;IACD,sCA+BC;IACD,+EAcC;IACD,qBAEC;IACD,mBAEC;IACD,uBAEC;IACD,kCAqCC;IACD;;;;;;OAMG;IACH,+BALW,MAAM,QACN,MAAM,QACN,IAAI,gBAUd;IAED;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,yBAdG;QAAqB,UAAU;QACV,UAAU;QAKT,UAAU;QACV,UAAU;QACV,UAAU;KAEhC,GAAU,MAAM,CAmBlB;IAED;;;;OAIG;IACH,qDAQC;CACF;qBA3iBoB,WAAW"}
1
+ {"version":3,"file":"AlfrescoFileService.d.ts","sourceRoot":"","sources":["../../../src/services/AlfrescoFileService.js"],"names":[],"mappings":";;;AAiCA;;GAEG;AACH;IAEI,4BAGE;IAEF,4BAAkC;IAClC,qCAGE;IAEJ,kCAQC;IAED,gCAQC;IAED,gCAQC;IAED,uDAQC;IAED,mDAeC;IAED,2DAIC;IAED,8CASC;IAED;;;;;;;;;;;OAWG;IACH,yDAFa,OAAO,CAAC,GAAC,CAAC,CAkBtB;IAED,sEAeC;IAED,kFAIC;IAED,uHAEC;IAED;;;;;OAKG;IACH,+BAFW,KAAK,QAkBf;IAED;;;;;;OAMG;IACH,0BAHW,KAAK,mBAoCf;IAED,qCAYC;IAED;;;;;;OAMG;IACH,mDAHa,MAAM,GAAC,IAAI,CAMvB;IAED;;;;OAIG;IACH,2DAMC;IAED;;;;;;OAMG;IACH,uEAsBC;IAED;;;;;;;;;;;;;;;OAeG;IACH,kDAFa,OAAO,CAAC,MAAM,CAAC,CAkB3B;IAED;;;;;;;;OAQG;IACH,yEAFa,OAAO,CAAC,MAAM,CAAC,CAqB3B;IACD,qDAwCC;IACD,qCAMC;IACD,0BAOC;IACD,mCAqBC;IACD,wCAYC;IACD,sCA+BC;IACD,+EAcC;IACD,qBAEC;IACD,mBAEC;IACD,uBAEC;IACD,kCAqCC;IACD;;;;;;OAMG;IACH,+BALW,MAAM,QACN,MAAM,QACN,IAAI,gBAUd;IAED;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,yBAdG;QAAqB,UAAU;QACV,UAAU;QAKT,UAAU;QACV,UAAU;QACV,UAAU;KAEhC,GAAU,MAAM,CAmBlB;IAED;;;;OAIG;IACH,qDAQC;CACF;qBA/lBoB,WAAW"}
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Base class for services that communicate with Alfresco webscripts.
3
+ * Delegates HTTP, authentication (ticket) and error handling to the shared
4
+ * `webscriptApi` from @alfresco/js-api, so no manual fetch/auth is needed.
5
+ */
6
+ export default class AlfrescoProxyService {
7
+ constructor(serviceName: any);
8
+ serviceName: any;
9
+ /**
10
+ * GET request to an Alfresco webscript.
11
+ * @param {string} scriptPath - path relative to /alfresco/s/ (ex: "fr/jeci/pristy/...")
12
+ * @param {*} fallback - value returned on error (default: null)
13
+ */
14
+ get(scriptPath: string, fallback?: any): Promise<any>;
15
+ /**
16
+ * POST request to an Alfresco webscript.
17
+ * @param {string} scriptPath - path relative to /alfresco/s/
18
+ * @param {Object} body
19
+ * @param {Object} options - { throwOnError: false }
20
+ */
21
+ post(scriptPath: string, body?: any, { throwOnError }?: any): Promise<any>;
22
+ /**
23
+ * DELETE request to an Alfresco webscript.
24
+ * @param {string} scriptPath - path relative to /alfresco/s/
25
+ * @returns {Promise<boolean>} True if deleted successfully
26
+ */
27
+ delete(scriptPath: string): Promise<boolean>;
28
+ }
29
+ //# sourceMappingURL=AlfrescoProxyService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AlfrescoProxyService.d.ts","sourceRoot":"","sources":["../../../src/services/AlfrescoProxyService.js"],"names":[],"mappings":"AAuCA;;;;GAIG;AACH;IACE,8BAEC;IADC,iBAA8B;IAGhC;;;;OAIG;IACH,gBAHW,MAAM,aACN,GAAC,gBAeX;IAED;;;;;OAKG;IACH,iBAJW,MAAM,oDAsBhB;IAED;;;;OAIG;IACH,mBAHW,MAAM,GACJ,OAAO,CAAC,OAAO,CAAC,CAgB5B;CACF"}
@@ -1,22 +1,12 @@
1
+ import { default as AlfrescoProxyService } from './AlfrescoProxyService';
1
2
  declare const _default: ChatBackendService;
2
3
  export default _default;
3
4
  /**
4
5
  * Service for communicating with the Pristy Chat backend (Alfresco webscripts).
5
6
  * Handles workspace room creation and user token retrieval.
6
7
  */
7
- declare class ChatBackendService {
8
- /**
9
- * Get the base URL for API calls.
10
- */
11
- getBaseUrl(): string;
12
- /**
13
- * Get the authentication ticket.
14
- */
15
- getTicket(): Promise<string>;
16
- /**
17
- * Create the authorization header.
18
- */
19
- createAuthHeader(ticket: any): string;
8
+ declare class ChatBackendService extends AlfrescoProxyService {
9
+ constructor();
20
10
  /**
21
11
  * Check if chat integration is enabled.
22
12
  *
@@ -1 +1 @@
1
- {"version":3,"file":"ChatBackendService.d.ts","sourceRoot":"","sources":["../../../src/services/ChatBackendService.js"],"names":[],"mappings":";;AAmBA;;;GAGG;AACH;IACE;;OAEG;IACH,qBAEC;IAED;;OAEG;IACH,6BAEC;IAED;;OAEG;IACH,sCAEC;IAED;;;;OAIG;IACH,aAFa,OAAO,CAAC;QAAC,OAAO,EAAE,OAAO,CAAA;KAAC,CAAC,CAyBvC;IAED;;;;;OAKG;IACH,yBAHW,MAAM,GACJ,OAAO,CAAC;QAAC,KAAK,EAAE,OAAO,CAAC;QAAC,MAAM,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QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAC,CAAC,CAM/E;IAED;;;;;;OAMG;IACH,0BAJW,MAAM,SACN,MAAM,GACJ,OAAO,CAAC;QAAC,OAAO,EAAE,OAAO,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAA;KAAC,CAAC,CAQzD;CACF;iCArEgC,wBAAwB"}
@@ -0,0 +1,61 @@
1
+ import { default as AlfrescoProxyService } from './AlfrescoProxyService';
2
+ declare const _default: DiffusionService;
3
+ export default _default;
4
+ /**
5
+ * Service for communicating with the Pristy Diffusion backend (Alfresco webscripts proxy).
6
+ * Handles site creation, templates, sync and CRUD operations.
7
+ */
8
+ declare class DiffusionService extends AlfrescoProxyService {
9
+ constructor();
10
+ /**
11
+ * Check if diffusion integration is enabled.
12
+ *
13
+ * @returns {Promise<{enabled: boolean}>}
14
+ */
15
+ getStatus(): Promise<{
16
+ enabled: boolean;
17
+ }>;
18
+ /**
19
+ * Get available diffusion templates.
20
+ *
21
+ * @returns {Promise<Array>} List of templates
22
+ */
23
+ getTemplates(): Promise<any[]>;
24
+ /**
25
+ * Get diffusion sites for a workspace.
26
+ *
27
+ * @param {string} workspaceId - The workspace ID (site name)
28
+ * @returns {Promise<Array>} List of diffusion sites for this workspace
29
+ */
30
+ getSites(workspaceId: string): Promise<any[]>;
31
+ /**
32
+ * Create a new diffusion site.
33
+ *
34
+ * @param {Object} payload - Site creation data
35
+ * @returns {Promise<Object|null>} Created site or null on error
36
+ */
37
+ createSite(payload: any): Promise<any | null>;
38
+ /**
39
+ * Update an existing diffusion site.
40
+ *
41
+ * @param {Object} payload - Site update data (must include `id`)
42
+ * @returns {Promise<Object|null>} Updated site or null on error
43
+ */
44
+ updateSite(payload: any): Promise<any | null>;
45
+ /**
46
+ * Delete a diffusion site.
47
+ *
48
+ * @param {string} siteId - The diffusion site ID
49
+ * @returns {Promise<boolean>} True if deleted successfully
50
+ */
51
+ deleteSite(siteId: string): Promise<boolean>;
52
+ /**
53
+ * Trigger synchronization for a diffusion site.
54
+ *
55
+ * @param {string} siteId - The diffusion site ID
56
+ * @param {string} [workspaceId] - The Alfresco site shortName (to grant sync account access)
57
+ * @returns {Promise<Object|null>} Sync job details or null on error
58
+ */
59
+ triggerSync(siteId: string, workspaceId?: string): Promise<any | null>;
60
+ }
61
+ //# sourceMappingURL=DiffusionService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DiffusionService.d.ts","sourceRoot":"","sources":["../../../src/services/DiffusionService.js"],"names":[],"mappings":";;AAmBA;;;GAGG;AACH;IACE,cAEC;IAED;;;;OAIG;IACH,aAFa,OAAO,CAAC;QAAC,OAAO,EAAE,OAAO,CAAA;KAAC,CAAC,CAMvC;IAED;;;;OAIG;IACH,gBAFa,OAAO,OAAO,CAI1B;IAED;;;;;OAKG;IACH,sBAHW,MAAM,GACJ,OAAO,OAAO,CAI1B;IAED;;;;;OAKG;IACH,0BAFa,OAAO,CAAC,MAAO,IAAI,CAAC,CAMhC;IAED;;;;;OAKG;IACH,0BAFa,OAAO,CAAC,MAAO,IAAI,CAAC,CAMhC;IAED;;;;;OAKG;IACH,mBAHW,MAAM,GACJ,OAAO,CAAC,OAAO,CAAC,CAI5B;IAED;;;;;;OAMG;IACH,oBAJW,MAAM,gBACN,MAAM,GACJ,OAAO,CAAC,MAAO,IAAI,CAAC,CAUhC;CACF;iCA3FgC,wBAAwB"}
@@ -1 +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"}
1
+ {"version":3,"file":"GhostMatcher.d.ts","sourceRoot":"","sources":["../../../src/services/GhostMatcher.js"],"names":[],"mappings":";;AAqKA;;;;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,uDA6BC;IAED,yEAYC;IAED,uDA8BC;IAED,uDAiCC;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"MenuService.d.ts","sourceRoot":"","sources":["../../../src/services/MenuService.js"],"names":[],"mappings":";;AAsBA;;GAEG;AACH;IAEI,mCAGE;IAEJ,wBAEC;IAED,qCAsBC;IAED;;;;;;;;SAeC;IAED,gDAgBC;IAED,8CAkBC;IAED,8CA8BC;IAED;;;;OAIG;IACH;;;;;;;;;;MAgBC;IAED;;;;;;;;;;;;;;;;;;MAkCC;CACF;qBA1LoB,WAAW"}
1
+ {"version":3,"file":"MenuService.d.ts","sourceRoot":"","sources":["../../../src/services/MenuService.js"],"names":[],"mappings":";;AAsBA;;GAEG;AACH;IAEI,mCAGE;IAEJ,wBAEC;IAED,qCAkBC;IAED;;;;;;;;SAeC;IAED,gDAgBC;IAED,8CAkBC;IAED,8CA8BC;IAED;;;;OAIG;IACH;;;;;;;;;;MAgBC;IAED;;;;;;;;;;;;;;;;;;MAkCC;CACF;qBAtLoB,WAAW"}
@@ -15,7 +15,11 @@ declare class PeopleService {
15
15
  listUsers(refresh?: boolean): Promise<any>;
16
16
  listUsersWithOpts(opts: any, refresh?: boolean): Promise<any>;
17
17
  capitalizeFirstLetter(string: any): any;
18
- searchUser(userInput: any, sort: any, opts?: {}): Promise< ResultSetPaging>;
18
+ searchUser(userInput: any, sort: any, opts?: {}): Promise< ResultSetPaging> | Promise<{
19
+ list: {
20
+ entries: any[];
21
+ };
22
+ }>;
19
23
  getUserGroups(userId: any, refresh?: boolean): Promise<any>;
20
24
  }
21
25
  //# sourceMappingURL=PeopleService.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PeopleService.d.ts","sourceRoot":"","sources":["../../../src/services/PeopleService.js"],"names":[],"mappings":";;;AAqBA;;GAEG;AACH;IAEI,wCAGE;IACF,8BAGE;IAGJ,mCAkBC;IAED,sDAeC;IAED,2FAkBC;IAED,yDAgBC;IAED,2CAmBC;IAED,8DAkBC;IAED,wCAEC;IAED,sGA8CC;IAED,4DAeC;CACF;qBAzMoB,WAAW"}
1
+ {"version":3,"file":"PeopleService.d.ts","sourceRoot":"","sources":["../../../src/services/PeopleService.js"],"names":[],"mappings":";;;AAqBA;;GAEG;AACH;IAEI,wCAGE;IACF,8BAGE;IAGJ,mCAkBC;IAED,sDAeC;IAED,2FAkBC;IAED,yDAgBC;IAED,2CAmBC;IAED,8DAkBC;IAED,wCAEC;IAED;;;;OAsEC;IAED,4DAeC;CACF;qBAjOoB,WAAW"}
@@ -0,0 +1,36 @@
1
+ declare const _default: PreviewService;
2
+ export default _default;
3
+ /**
4
+ * Service deciding whether a node can be previewed in the browser.
5
+ *
6
+ * Some file types are rendered natively (images, videos, PDF). Every other
7
+ * type relies on a server-side "pdf" rendition produced by Alfresco's
8
+ * transform service. Asking Alfresco to create that rendition for a type it
9
+ * cannot transform (archives, binaries, ...) generates noise in the logs and
10
+ * dead-end viewers.
11
+ *
12
+ * `listRenditions` (GET /nodes/{id}/renditions) returns only the renditions
13
+ * applicable to the node's source mimetype and does NOT trigger any transform,
14
+ * so it is a cheap, side-effect-free way to know up-front whether a "pdf"
15
+ * rendition is available. Results are cached per mimetype for the session and
16
+ * are reusable across apps (espaces, marches, media, ...).
17
+ */
18
+ declare class PreviewService {
19
+ previewableByMimeType: Map<any, any>;
20
+ /**
21
+ * Types rendered directly by the front-end, without a server-side rendition.
22
+ * @param {string} mimeType
23
+ * @returns {boolean}
24
+ */
25
+ isNativelyPreviewable(mimeType: string): boolean;
26
+ /**
27
+ * Tell whether the given node can be previewed (natively or through a "pdf"
28
+ * rendition). Never throws: on error it returns false so callers can fall
29
+ * back to a download-only view.
30
+ *
31
+ * @param {object} node a node with `id` and `content.mimeType`
32
+ * @returns {Promise<boolean>}
33
+ */
34
+ isPreviewable(node: object): Promise<boolean>;
35
+ }
36
+ //# sourceMappingURL=PreviewService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PreviewService.d.ts","sourceRoot":"","sources":["../../../src/services/PreviewService.js"],"names":[],"mappings":";;AAkBA;;;;;;;;;;;;;;GAcG;AACH;IAGI,qCAAsC;IAGxC;;;;OAIG;IACH,gCAHW,MAAM,GACJ,OAAO,CAWnB;IAED;;;;;;;OAOG;IACH,oBAHW,MAAM,GACJ,OAAO,CAAC,OAAO,CAAC,CA4B5B;CACF"}
@@ -54,7 +54,7 @@ declare class WorkspaceService {
54
54
  * @returns {Promise<Array>} Normalized group list
55
55
  */
56
56
  searchGroups(term: string, maxItems?: number): Promise<any[]>;
57
- deleteWorkspace(siteId: any): Promise<void>;
57
+ deleteWorkspace(siteId: any, permanent?: boolean): Promise<void>;
58
58
  updateWorkspace(id: any, opts: any): Promise< SiteEntry>;
59
59
  }
60
60
  //# sourceMappingURL=WorkspaceService.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"WorkspaceService.d.ts","sourceRoot":"","sources":["../../../src/services/WorkspaceService.js"],"names":[],"mappings":";;;AAqBA;;GAEG;AACH;IAEI,kCAGE;IAEJ,8BAqBC;IAED,uDAoCC;IAED;;;;OAIG;IACH,uBAFa,OAAO,CAAC,IAAI,CAAC,CAmBzB;IAED,+CAkBC;IAED,kEAeC;IAED,6DAgBC;IAED,0CAkBC;IAED,iHAWC;IAED,iHAeC;IAED;;;OAGG;IACH,gCAcC;IAED,2GAgBC;IAED,4GAgBC;IAED,qHAeC;IAED,sHAeC;IAED,6DAUC;IAED,+DAUC;IAED,iGAgBC;IAED,6FAUC;IAED;;;;;OAKG;IACH,kBAJW,MAAM,aACN,MAAM,GACJ,OAAO,OAAO,CA2C1B;IAED;;;;;;;;;;;OAWG;IACH,mBAJW,MAAM,aACN,MAAM,GACJ,OAAO,OAAO,CA+C1B;IAED,4CAMC;IAED,mFAIC;CACF;qBAndoB,WAAW"}
1
+ {"version":3,"file":"WorkspaceService.d.ts","sourceRoot":"","sources":["../../../src/services/WorkspaceService.js"],"names":[],"mappings":";;;AAqBA;;GAEG;AACH;IAEI,kCAGE;IAEJ,8BAqBC;IAED,uDAoCC;IAED;;;;OAIG;IACH,uBAFa,OAAO,CAAC,IAAI,CAAC,CAmBzB;IAED,+CAkBC;IAED,kEAeC;IAED,6DAgBC;IAED,0CAkBC;IAED,iHAWC;IAED,iHAeC;IAED;;;OAGG;IACH,gCAcC;IAED,2GAgBC;IAED,4GAgBC;IAED,qHAeC;IAED,sHAeC;IAED,6DAUC;IAED,+DAUC;IAED,iGAgBC;IAED,6FAUC;IAED;;;;;OAKG;IACH,kBAJW,MAAM,aACN,MAAM,GACJ,OAAO,OAAO,CA+C1B;IAED;;;;;;;;;;;OAWG;IACH,mBAJW,MAAM,aACN,MAAM,GACJ,OAAO,OAAO,CAoD1B;IAED,iEAMC;IAED,mFAIC;CACF;qBA5doB,WAAW"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Resolves a property alias to its full field name.
3
+ * @param {string} prop - The property name or alias.
4
+ * @returns {string} The resolved field name.
5
+ */
6
+ export function resolveAlias(prop: string): string;
7
+ export namespace ALIAS_MAP {
8
+ let modifiedat: string;
9
+ let createdat: string;
10
+ let createdbyuser: string;
11
+ let modifiedbyuser: string;
12
+ let name: string;
13
+ let title: string;
14
+ let description: string;
15
+ let mimetype: string;
16
+ let encoding: string;
17
+ let sizeinbytes: string;
18
+ let type: string;
19
+ }
20
+ //# sourceMappingURL=aliasMap.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aliasMap.d.ts","sourceRoot":"","sources":["../../../src/services/aliasMap.js"],"names":[],"mappings":"AAmCA;;;;GAIG;AACH,mCAHW,MAAM,GACJ,MAAM,CAOlB"}
@@ -60,6 +60,7 @@ export const useConfigStore: StoreDefinition<"ConfigStore", {
60
60
  ROW_PER_PAGE_OPTIONS: any[];
61
61
  COLLAB_ENABLED: boolean;
62
62
  CHAT_ENABLED: boolean;
63
+ DIFFUSION_ENABLED: boolean;
63
64
  ROCKETCHAT_HOST: string;
64
65
  ROCKETCHAT_WS_URL: string;
65
66
  CHAT_OAUTH_ENABLED: boolean;
@@ -83,6 +84,7 @@ export const useConfigStore: StoreDefinition<"ConfigStore", {
83
84
  WORKSPACE_TYPE_ACTES_ENABLED: boolean;
84
85
  WORKSPACE_TYPE_GALLERY_ENABLED: boolean;
85
86
  CLASSIFICATION_PLAN_ENABLED: boolean;
87
+ FILENAME_NATURE_DETECTION: boolean;
86
88
  DASHBOARD_PERSONAL_ENABLED: boolean;
87
89
  CLASSIFICATION_PLAN_NAME: string;
88
90
  CLASSIFICATION_PLAN_ALLOW_NO_NATURE: boolean;
@@ -154,6 +156,7 @@ export const useConfigStore: StoreDefinition<"ConfigStore", {
154
156
  ROW_PER_PAGE_OPTIONS: any[];
155
157
  COLLAB_ENABLED: boolean;
156
158
  CHAT_ENABLED: boolean;
159
+ DIFFUSION_ENABLED: boolean;
157
160
  ROCKETCHAT_HOST: string;
158
161
  ROCKETCHAT_WS_URL: string;
159
162
  CHAT_OAUTH_ENABLED: boolean;
@@ -177,6 +180,7 @@ export const useConfigStore: StoreDefinition<"ConfigStore", {
177
180
  WORKSPACE_TYPE_ACTES_ENABLED: boolean;
178
181
  WORKSPACE_TYPE_GALLERY_ENABLED: boolean;
179
182
  CLASSIFICATION_PLAN_ENABLED: boolean;
183
+ FILENAME_NATURE_DETECTION: boolean;
180
184
  DASHBOARD_PERSONAL_ENABLED: boolean;
181
185
  CLASSIFICATION_PLAN_NAME: string;
182
186
  CLASSIFICATION_PLAN_ALLOW_NO_NATURE: boolean;
@@ -247,6 +251,7 @@ export const useConfigStore: StoreDefinition<"ConfigStore", {
247
251
  ROW_PER_PAGE_OPTIONS: any[];
248
252
  COLLAB_ENABLED: boolean;
249
253
  CHAT_ENABLED: boolean;
254
+ DIFFUSION_ENABLED: boolean;
250
255
  ROCKETCHAT_HOST: string;
251
256
  ROCKETCHAT_WS_URL: string;
252
257
  CHAT_OAUTH_ENABLED: boolean;
@@ -270,6 +275,7 @@ export const useConfigStore: StoreDefinition<"ConfigStore", {
270
275
  WORKSPACE_TYPE_ACTES_ENABLED: boolean;
271
276
  WORKSPACE_TYPE_GALLERY_ENABLED: boolean;
272
277
  CLASSIFICATION_PLAN_ENABLED: boolean;
278
+ FILENAME_NATURE_DETECTION: boolean;
273
279
  DASHBOARD_PERSONAL_ENABLED: boolean;
274
280
  CLASSIFICATION_PLAN_NAME: string;
275
281
  CLASSIFICATION_PLAN_ALLOW_NO_NATURE: boolean;
@@ -1 +1 @@
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"}
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/stores/config.js"],"names":[],"mappings":";AAoBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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OAAO,CAAC,MAAM,CAAC;GAwB5B"}
1
+ {"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../src/stores/user.js"],"names":[],"mappings":";AAsCA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH;;;;;;;;;;;;;;;;;;;;;;;;;;;IAiBI;;;OAGG;cADS,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;IAqC7C;;;OAGG;uBADS,OAAO,CAAC;QAAC,EAAE,EAAC,MAAM,CAAA;KAAC,CAAC;IA0BhC;;;;OAIG;2BADS,OAAO,CAAC,IAAI,CAAC;IA0BzB;;;;;OAKG;6BAFQ,GAAG,GACF,OAAO,CAAC;QAAC,EAAE,EAAE,MAAM,CAAA;KAAC,CAAC;IASjC;;;OAGG;oBADS,OAAO,CAAC;QAAC,EAAE,EAAC,MAAM,CAAA;KAAC,GAAG,SAAS,CAAC;IAwC5C;;;OAGG;iBADS,OAAO,CAAC,MAAM,CAAC;IAyC3B;;;OAGG;;IAoBH;;;;;OAKG;gBAHQ,MAAM,YACN,MAAM,GACL,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC;IASnC;;;;;OAKG;gBAHQ,MAAM,KACN,MAAM,GACL,OAAO,CAAC,GAAG,CAAC;IAcxB;;;OAGG;oBADS,OAAO,CAAC,IAAI,CAAC;IAUzB;;;;OAIG;2BAFQ,MAAM,GACL,OAAO,CAAC,MAAM,CAAC;GAwB5B"}
@@ -46,4 +46,36 @@ export function buildIncrementedName(baseName: string, increment: number, extens
46
46
  * @returns {string[]} - deduplicated names, in the same order
47
47
  */
48
48
  export function deduplicateFileNames(newNames: string[], existingNames: string[]): string[];
49
+ /**
50
+ * Build a regex from a nature's cm:name template string.
51
+ * Each ${field} placeholder becomes a named capture group.
52
+ * @param {string} template - e.g. "${NUMMARCHE}_${NATURE}"
53
+ * @param {Map<string, Object>} fieldMap - Map of field name → field definition
54
+ * @returns {{ regex: RegExp, fieldNames: Array<{groupName: string, fieldName: string}> } | null}
55
+ */
56
+ export function buildTemplateRegex(template: string, fieldMap: Map<string, any>): {
57
+ regex: RegExp;
58
+ fieldNames: Array<{
59
+ groupName: string;
60
+ fieldName: string;
61
+ }>;
62
+ } | null;
63
+ /**
64
+ * Compute the specificity score of a template string.
65
+ * Specificity = length of static text (everything outside ${…}) after removing underscores.
66
+ * @param {string} template - e.g. "${NUM}-FAC-${NATURE}"
67
+ * @returns {number}
68
+ */
69
+ export function computeTemplateSpecificity(template: string): number;
70
+ /**
71
+ * Detect a document nature by matching a filename against nature templates.
72
+ * @param {string} filename - filename with extension
73
+ * @param {Array} natures - array of nature definitions (with metadata["cm:name"].template)
74
+ * @param {Array} fields - array of field definitions
75
+ * @returns {{ nature: Object, extractedMetadata: Object } | null}
76
+ */
77
+ export function detectNatureFromFilename(filename: string, natures: any[], fields: any[]): {
78
+ nature: any;
79
+ extractedMetadata: any;
80
+ } | null;
49
81
  //# sourceMappingURL=classificationPlanUtils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"classificationPlanUtils.d.ts","sourceRoot":"","sources":["../../../src/utils/classificationPlanUtils.js"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,2CAHW,MAAM,GACJ,MAAM,EAAE,CASpB;AAED;;;;;;;;;GASG;AACH,0CALW,MAAM,gCAGJ,MAAM,CAkClB;AAED;;;;;;;GAOG;AACH,wCAHW,MAAM,GACJ;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,CAYtE;AAED;;;;;;;;GAQG;AACH,+CALW,MAAM,aACN,MAAM,aACN,MAAM,GACJ,MAAM,CAOlB;AAED;;;;;GAKG;AACH,+CAJW,MAAM,EAAE,iBACR,MAAM,EAAE,GACN,MAAM,EAAE,CA4CpB"}
1
+ {"version":3,"file":"classificationPlanUtils.d.ts","sourceRoot":"","sources":["../../../src/utils/classificationPlanUtils.js"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,2CAHW,MAAM,GACJ,MAAM,EAAE,CASpB;AAED;;;;;;;;;GASG;AACH,0CALW,MAAM,gCAGJ,MAAM,CAkClB;AAED;;;;;;;GAOG;AACH,wCAHW,MAAM,GACJ;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,CAYtE;AAED;;;;;;;;GAQG;AACH,+CALW,MAAM,aACN,MAAM,aACN,MAAM,GACJ,MAAM,CAOlB;AAED;;;;;GAKG;AACH,+CAJW,MAAM,EAAE,iBACR,MAAM,EAAE,GACN,MAAM,EAAE,CA4CpB;AAED;;;;;;GAMG;AACH,6CAJW,MAAM,YACN,GAAG,CAAC,MAAM,MAAS,GACjB;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,KAAK,CAAC;QAAC,SAAS,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAAC,CAAC,CAAA;CAAE,GAAG,IAAI,CA0D/F;AAED;;;;;GAKG;AACH,qDAHW,MAAM,GACJ,MAAM,CAKlB;AAED;;;;;;GAMG;AACH,mDALW,MAAM,kCAGJ;IAAE,MAAM,MAAS;IAAC,iBAAiB,MAAQ;CAAE,GAAG,IAAI,CAoDhE"}