@pristy/pristy-libvue 2.4.0 → 2.5.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 (50) hide show
  1. package/dist/pristy-libvue.css +1 -1
  2. package/dist/pristy-libvue.es.js +10368 -9176
  3. package/dist/pristy-libvue.es.js.map +1 -1
  4. package/dist/pristy-libvue.umd.js +22 -22
  5. package/dist/pristy-libvue.umd.js.map +1 -1
  6. package/dist/src/components/breadcrumb/ComplexBreadcrumb.vue.d.ts +16 -0
  7. package/dist/src/components/breadcrumb/ComplexBreadcrumb.vue.d.ts.map +1 -1
  8. package/dist/src/components/classification/AdminClassificationPage.vue.d.ts +75 -0
  9. package/dist/src/components/classification/AdminClassificationPage.vue.d.ts.map +1 -1
  10. package/dist/src/components/classification/MetadataFormFields.vue.d.ts +152 -4
  11. package/dist/src/components/classification/NatureSelector.vue.d.ts +150 -2
  12. package/dist/src/components/classification/RequalifyPlanPopup.vue.d.ts +452 -8
  13. package/dist/src/components/classification/UploadPlanPopup.vue.d.ts +452 -8
  14. package/dist/src/components/classification/ViewSelectorPopup.vue.d.ts +74 -0
  15. package/dist/src/components/classification/ViewSelectorPopup.vue.d.ts.map +1 -0
  16. package/dist/src/components/navigation/ContentCompactTableView.vue.d.ts +1 -0
  17. package/dist/src/components/navigation/ContentCompactTableView.vue.d.ts.map +1 -1
  18. package/dist/src/components/navigation/ContentTableView.vue.d.ts +1 -0
  19. package/dist/src/components/navigation/DynamicContentView.vue.d.ts +2 -0
  20. package/dist/src/components/search/AddCriterionPopup.vue.d.ts.map +1 -1
  21. package/dist/src/components/search/AdvancedSearchPanel.vue.d.ts +48 -4
  22. package/dist/src/components/search/AdvancedSearchPanel.vue.d.ts.map +1 -1
  23. package/dist/src/components/search/AdvancedViewPanel.vue.d.ts +89 -16
  24. package/dist/src/components/search/AdvancedViewPanel.vue.d.ts.map +1 -1
  25. package/dist/src/components/search/FavoriteViewMenu.vue.d.ts +2 -0
  26. package/dist/src/components/search/SaveViewPopup.vue.d.ts +28 -0
  27. package/dist/src/components/search/SaveViewPopup.vue.d.ts.map +1 -1
  28. package/dist/src/components/search/UserViewsFavoritesPanel.vue.d.ts +18 -4
  29. package/dist/src/components/search/UserViewsFavoritesPanel.vue.d.ts.map +1 -1
  30. package/dist/src/components/search/ViewResultsPanel.vue.d.ts +275 -0
  31. package/dist/src/components/search/ViewResultsPanel.vue.d.ts.map +1 -0
  32. package/dist/src/components/views/PredefinedViewsPanel.vue.d.ts +12 -239
  33. package/dist/src/components/views/PredefinedViewsPanel.vue.d.ts.map +1 -1
  34. package/dist/src/i18n/index.d.ts +149 -1
  35. package/dist/src/i18n/index.d.ts.map +1 -1
  36. package/dist/src/index.d.ts +5 -1
  37. package/dist/src/index.d.ts.map +1 -1
  38. package/dist/src/services/AftsQueryBuilder.d.ts +43 -0
  39. package/dist/src/services/AftsQueryBuilder.d.ts.map +1 -0
  40. package/dist/src/services/UserViewService.d.ts +2 -1
  41. package/dist/src/services/UserViewService.d.ts.map +1 -1
  42. package/dist/src/services/ViewConfigService.d.ts +39 -0
  43. package/dist/src/services/ViewConfigService.d.ts.map +1 -0
  44. package/dist/src/stores/config.d.ts +0 -3
  45. package/dist/src/stores/config.d.ts.map +1 -1
  46. package/dist/src/stores/filingPlan.d.ts +51 -0
  47. package/dist/src/stores/filingPlan.d.ts.map +1 -0
  48. package/dist/src/stores/userView.d.ts +42 -6
  49. package/dist/src/stores/userView.d.ts.map +1 -1
  50. package/package.json +1 -1
@@ -9,6 +9,8 @@ declare const i18n: I18n<{
9
9
  dossier: string;
10
10
  save: string;
11
11
  cancel: string;
12
+ next: string;
13
+ previous: string;
12
14
  selectFolder: string;
13
15
  dropFolder: string;
14
16
  error: string;
@@ -276,6 +278,39 @@ declare const i18n: I18n<{
276
278
  object: string;
277
279
  };
278
280
  };
281
+ vuesFavorites: {
282
+ title: string;
283
+ loadedViewMessage: string;
284
+ noSavedViews: string;
285
+ personalViews: string;
286
+ selectPersonalView: string;
287
+ globalViews: string;
288
+ selectGlobalView: string;
289
+ filterSavedViews: string;
290
+ };
291
+ vuesUtilisateurs: {
292
+ saveView: string;
293
+ modifyView: string;
294
+ cancelButton: string;
295
+ saveViewPopup: {
296
+ title: string;
297
+ nameLabel: string;
298
+ nameRequired: string;
299
+ descriptionLabel: string;
300
+ detailsLabel: string;
301
+ scopeLabel: string;
302
+ scopeDescription: string;
303
+ scopeUser: string;
304
+ scopeGlobal: string;
305
+ fileIdLabel: string;
306
+ fileIdDescription: string;
307
+ fileIdPlaceholder: string;
308
+ personalDescription: string;
309
+ };
310
+ modifyViewPopup: {
311
+ title: string;
312
+ };
313
+ };
279
314
  rechercheAvancee: {
280
315
  sitePlaceholder: string;
281
316
  folderPlaceholder: string;
@@ -310,7 +345,7 @@ declare const i18n: I18n<{
310
345
  locationValuePlaceholder: string;
311
346
  criteriaTitle: string;
312
347
  noCriteria: string;
313
- "addCcliquant on Button": string;
348
+ addCriterionButton: string;
314
349
  advancedSearchActive: string;
315
350
  savedViews: string;
316
351
  noSavedViews: string;
@@ -335,6 +370,33 @@ declare const i18n: I18n<{
335
370
  favorite: string;
336
371
  addFavorite: string;
337
372
  removeFavorite: string;
373
+ closeView: string;
374
+ activeView: string;
375
+ loadedViewMessage: string;
376
+ locationsTitle: string;
377
+ locationsHint: string;
378
+ noLocations: string;
379
+ addLocationButton: string;
380
+ addLocationTitle: string;
381
+ addLocationConfirm: string;
382
+ removeLocation: string;
383
+ includePrefix: string;
384
+ excludePrefix: string;
385
+ locationTypeLabel: string;
386
+ saveViewAsNew: string;
387
+ saveViewModifications: string;
388
+ deleteView: string;
389
+ deleteViewSuccess: string;
390
+ confirmDeleteTitle: string;
391
+ confirmDelete: string;
392
+ noResults: string;
393
+ showMore: string;
394
+ addAsIncludeLocation: string;
395
+ addAsExcludeLocation: string;
396
+ addAsIncludeFolder: string;
397
+ addAsExcludeFolder: string;
398
+ addAsIncludeSite: string;
399
+ addAsExcludeSite: string;
338
400
  };
339
401
  pdfTools: {
340
402
  title: string;
@@ -631,6 +693,7 @@ declare const i18n: I18n<{
631
693
  label: string;
632
694
  display: string;
633
695
  categories: string;
696
+ views: string;
634
697
  };
635
698
  buttons: {
636
699
  newNature: string;
@@ -691,6 +754,17 @@ declare const i18n: I18n<{
691
754
  invalidFilename: string;
692
755
  filenameMustStartWithPlan: string;
693
756
  };
757
+ viewSelector: {
758
+ title: string;
759
+ search: string;
760
+ selected: string;
761
+ available: string;
762
+ searchResults: string;
763
+ noViews: string;
764
+ nViews: string;
765
+ validate: string;
766
+ noResults: string;
767
+ };
694
768
  };
695
769
  natureForm: {
696
770
  name: string;
@@ -926,6 +1000,8 @@ declare const i18n: I18n<{
926
1000
  dossier: string;
927
1001
  save: string;
928
1002
  cancel: string;
1003
+ next: string;
1004
+ previous: string;
929
1005
  selectFolder: string;
930
1006
  dropFolder: string;
931
1007
  error: string;
@@ -1193,6 +1269,39 @@ declare const i18n: I18n<{
1193
1269
  object: string;
1194
1270
  };
1195
1271
  };
1272
+ vuesFavorites: {
1273
+ title: string;
1274
+ loadedViewMessage: string;
1275
+ noSavedViews: string;
1276
+ personalViews: string;
1277
+ selectPersonalView: string;
1278
+ globalViews: string;
1279
+ selectGlobalView: string;
1280
+ filterSavedViews: string;
1281
+ };
1282
+ vuesUtilisateurs: {
1283
+ saveView: string;
1284
+ modifyView: string;
1285
+ cancelButton: string;
1286
+ saveViewPopup: {
1287
+ title: string;
1288
+ nameLabel: string;
1289
+ nameRequired: string;
1290
+ descriptionLabel: string;
1291
+ detailsLabel: string;
1292
+ scopeLabel: string;
1293
+ scopeDescription: string;
1294
+ scopeUser: string;
1295
+ scopeGlobal: string;
1296
+ fileIdLabel: string;
1297
+ fileIdDescription: string;
1298
+ fileIdPlaceholder: string;
1299
+ personalDescription: string;
1300
+ };
1301
+ modifyViewPopup: {
1302
+ title: string;
1303
+ };
1304
+ };
1196
1305
  rechercheAvancee: {
1197
1306
  sitePlaceholder: string;
1198
1307
  folderPlaceholder: string;
@@ -1250,6 +1359,33 @@ declare const i18n: I18n<{
1250
1359
  selectPersonalSearch: string;
1251
1360
  selectGlobalSearch: string;
1252
1361
  favorite: string;
1362
+ closeView: string;
1363
+ activeView: string;
1364
+ loadedViewMessage: string;
1365
+ locationsTitle: string;
1366
+ locationsHint: string;
1367
+ noLocations: string;
1368
+ addLocationButton: string;
1369
+ addLocationTitle: string;
1370
+ addLocationConfirm: string;
1371
+ removeLocation: string;
1372
+ includePrefix: string;
1373
+ excludePrefix: string;
1374
+ locationTypeLabel: string;
1375
+ saveViewAsNew: string;
1376
+ saveViewModifications: string;
1377
+ deleteView: string;
1378
+ deleteViewSuccess: string;
1379
+ confirmDeleteTitle: string;
1380
+ confirmDelete: string;
1381
+ noResults: string;
1382
+ showMore: string;
1383
+ addAsIncludeLocation: string;
1384
+ addAsExcludeLocation: string;
1385
+ addAsIncludeFolder: string;
1386
+ addAsExcludeFolder: string;
1387
+ addAsIncludeSite: string;
1388
+ addAsExcludeSite: string;
1253
1389
  };
1254
1390
  pdfTools: {
1255
1391
  title: string;
@@ -1546,6 +1682,7 @@ declare const i18n: I18n<{
1546
1682
  label: string;
1547
1683
  display: string;
1548
1684
  categories: string;
1685
+ views: string;
1549
1686
  };
1550
1687
  buttons: {
1551
1688
  newNature: string;
@@ -1606,6 +1743,17 @@ declare const i18n: I18n<{
1606
1743
  invalidFilename: string;
1607
1744
  filenameMustStartWithPlan: string;
1608
1745
  };
1746
+ viewSelector: {
1747
+ title: string;
1748
+ search: string;
1749
+ selected: string;
1750
+ available: string;
1751
+ searchResults: string;
1752
+ noViews: string;
1753
+ nViews: string;
1754
+ validate: string;
1755
+ noResults: string;
1756
+ };
1609
1757
  };
1610
1758
  natureForm: {
1611
1759
  name: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/i18n/index.js"],"names":[],"mappings":";;AAsBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAOG"}
@@ -39,6 +39,7 @@ import { default as ExactSearch } from '../components/search/ExactSearch.vue';
39
39
  import { default as FavoriteViewMenu } from '../components/search/FavoriteViewMenu.vue';
40
40
  import { default as UserViewsFavoritesPanel } from '../components/search/UserViewsFavoritesPanel.vue';
41
41
  import { default as SaveViewPopup } from '../components/search/SaveViewPopup.vue';
42
+ import { default as ViewResultsPanel } from '../components/search/ViewResultsPanel.vue';
42
43
  import { default as PdfToolsComponent } from '../components/pdfTools/PdfToolsComponent.vue';
43
44
  import { default as CodeMirrorEditor } from '../components/CodeMirrorEditor.vue';
44
45
  import { default as DiffViewerDialog } from '../components/DiffViewerDialog.vue';
@@ -95,6 +96,8 @@ export { default as rocketChatService } from './services/RocketChatService.js';
95
96
  export { default as rocketChatAuthService } from './services/RocketChatAuthService.js';
96
97
  export { default as classificationService } from './services/ClassificationService.js';
97
98
  export { default as classificationFileService } from './services/ClassificationFileService.js';
99
+ export { default as viewConfigService } from './services/ViewConfigService.js';
100
+ export { default as aftsQueryBuilder } from './services/AftsQueryBuilder.js';
98
101
  export { default as vueKeyCloak } from './plugins/KeycloakPlugin.js';
99
102
  export { default as i18n } from './i18n';
100
103
  export { messages } from './i18n/locales';
@@ -115,13 +118,14 @@ export { useScreenStore } from './stores/screen';
115
118
  export { useUploadStore } from './stores/upload';
116
119
  export { useUserViewStore } from './stores/userView.js';
117
120
  export { useChatStore } from './stores/chat.js';
121
+ export { useFilingPlanStore } from './stores/filingPlan.js';
118
122
  export { default as LoginPage } from './pages/LoginPage.vue';
119
123
  export { default as NotFoundPages } from './pages/NotFoundPages.vue';
120
124
  export { default as ErrorPage } from './pages/ErrorPage.vue';
121
125
  export namespace componentLibrary {
122
126
  function install(app: any): void;
123
127
  }
124
- export { PDFComponent, PristyIcon, PaginatorComponent, CopyOrMovePopup, TreeExplorer, EllipsisBreadcrumb, BreadCrumbAlfresco, ComplexBreadcrumb, ContentTableView, ContentListView, ContentCompactTableView, ContentGridView, DynamicContentView, ContentFiltersHeader, ImageViewer, VideoPlayer, AudioPlayer, PreviewPanel, LayoutSelector, ColumnTogglePanel, HelpKeyMessage, SelectionStatus, MemberList, ActionMenu, CustomToastContent, FolderUpload, UploadTargetInfo, UploadStatus, AddPairInConfigDialog, ConfigDatatable, ConfigItemEditor, ConfigSplitView, ConfigUpload, ListVersionConfig, AddCriterionPopup, AdvancedSearchPanel, AdvancedViewPanel, ExactSearch, FavoriteViewMenu, UserViewsFavoritesPanel, SaveViewPopup, PdfToolsComponent, CodeMirrorEditor, DiffViewerDialog, ArrayEditor, WorkspaceCard, WorkspaceList, PredefinedViewsPanel, CreateWorkflowPopup, ImportNewVersionPopup, ShareLinkPopup, MemberListPopup, SendMailPopup, ImportPopupWithWorker, ErrorComponent, AppLayout, AppSidebar, AppTopbar, AppSubmenu, AppFooter, AppMobileLayout, ChatPanel, ChatMessage, ChatInput, ChatRoomList, AdminClassificationLauncher, ClassificationPlanList, ClassificationPlanCreate, AdminClassificationPage, NatureForm, FieldForm, EmplacementForm, UploadPlanPopup, RequalifyPlanPopup };
128
+ export { PDFComponent, PristyIcon, PaginatorComponent, CopyOrMovePopup, TreeExplorer, EllipsisBreadcrumb, BreadCrumbAlfresco, ComplexBreadcrumb, ContentTableView, ContentListView, ContentCompactTableView, ContentGridView, DynamicContentView, ContentFiltersHeader, ImageViewer, VideoPlayer, AudioPlayer, PreviewPanel, LayoutSelector, ColumnTogglePanel, 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, CreateWorkflowPopup, ImportNewVersionPopup, ShareLinkPopup, MemberListPopup, SendMailPopup, ImportPopupWithWorker, ErrorComponent, AppLayout, AppSidebar, AppTopbar, AppSubmenu, AppFooter, AppMobileLayout, ChatPanel, ChatMessage, ChatInput, ChatRoomList, AdminClassificationLauncher, ClassificationPlanList, ClassificationPlanCreate, AdminClassificationPage, NatureForm, FieldForm, EmplacementForm, UploadPlanPopup, RequalifyPlanPopup };
125
129
  export { default as filingPlanService, NatureDocument, TypeDossier } from './services/FilingPlanService.js';
126
130
  export { useLayout, MENU_MODES, MENU_THEMES } from './composables/useLayout.js';
127
131
  export { checkNotNull, checkString } from './directives/assert.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAiGE,iCAiEC;;yBAjJsB,sCAAsC;uBACxC,6BAA6B;+BAFrB,gDAAgD;4BAGnD,wCAAwC;yBAC3C,+BAA+B;+BACzB,gDAAgD;+BAChD,gDAAgD;8BACjD,+CAA+C;6BAChD,8CAA8C;4BAC/C,6CAA6C;oCACrC,qDAAqD;4BAC7D,6CAA6C;+BAC1C,gDAAgD;iCAC9C,kDAAkD;wBAC3D,qCAAqC;wBACrC,qCAAqC;wBACrC,qCAAqC;yBACpC,0CAA0C;2BAOxC,4CAA4C;8BACzC,+CAA+C;2BAClD,iCAAiC;4BANhC,kCAAkC;uBAOvC,mCAAmC;uBACnC,kCAAkC;+BAC1B,2CAA2C;yBAGjD,+BAA+B;6BAD3B,mCAAmC;yBADvC,+BAA+B;kCAItB,+CAA+C;4BACrD,yCAAyC;6BACxC,0CAA0C;4BAC3C,yCAAyC;yBAC5C,sCAAsC;8BACjC,2CAA2C;8BAC3C,2CAA2C;gCACzC,6CAA6C;8BAC/C,2CAA2C;wBACjD,qCAAqC;6BAChC,0CAA0C;oCACnC,iDAAiD;0BAC3D,uCAAuC;8BACnC,6CAA6C;6BAC9C,mCAAmC;6BACnC,mCAAmC;wBACxC,qCAAqC;0BAMnC,0CAA0C;0BAC1C,0CAA0C;iCACnC,6CAA6C;gCAxC9C,4CAA4C;kCAC1C,8CAA8C;2BAErD,uCAAuC;4BACtC,wCAAwC;0BAC1C,sCAAsC;kCAU9B,8CAA8C;2BAkBrD,iCAAiC;sBAqBtC,oCAAoC;uBACnC,qCAAqC;sBACtC,oCAAoC;uBACnC,qCAAqC;sBACtC,oCAAoC;4BAC9B,0CAA0C;sBA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AU9B,8CAA8C;2BAmBrD,iCAAiC;sBAqBtC,oCAAoC;uBACnC,qCAAqC;sBACtC,oCAAoC;uBACnC,qCAAqC;sBACtC,oCAAoC;4BAC9B,0CAA0C;sBAzBhD,iCAAiC;wBAC/B,mCAAmC;sBACrC,iCAAiC;yBAC9B,oCAAoC;wCAMrB,6DAA6D;mCAClE,wDAAwD;qCACtD,0DAA0D;oCAC3D,yDAAyD;uBACtE,4CAA4C;sBAC7C,2CAA2C;4BACrC,iDAAiD;4BACjD,iDAAiD;+BAC9C,oDAAoD"}
@@ -0,0 +1,43 @@
1
+ declare const _default: AftsQueryBuilder;
2
+ export default _default;
3
+ /**
4
+ * Stateless service for building AFTS (Alfresco Full-Text Search) queries
5
+ * from a structured JSON configuration (locations + criteria).
6
+ */
7
+ declare class AftsQueryBuilder {
8
+ /**
9
+ * Maps a property alias to its Solr field name.
10
+ * Returns the original property if no alias mapping is found.
11
+ * @param {string} prop - The property name or alias.
12
+ * @returns {string} The resolved Solr field name.
13
+ */
14
+ mapAliasToSolr(prop: string): string;
15
+ /**
16
+ * Builds an AFTS query string from a structured JSON configuration.
17
+ *
18
+ * The queryJson object should have the following structure:
19
+ * {
20
+ * locations: [{ type: 'Site'|'Folder', value: string, negation: boolean }],
21
+ * criteria: [{
22
+ * property: { id: string, input: string },
23
+ * operator: string,
24
+ * negation: boolean,
25
+ * value: any,
26
+ * value_end?: any
27
+ * }]
28
+ * }
29
+ *
30
+ * Also supports legacy criteria format with a raw `query` property:
31
+ * { query: "TYPE:'cm:content'" }
32
+ *
33
+ * @param {Object} queryJson - The structured query configuration.
34
+ * @param {Array} [queryJson.locations] - Array of location filters.
35
+ * @param {Array} [queryJson.criteria] - Array of search criteria.
36
+ * @returns {string} The constructed AFTS query string.
37
+ */
38
+ buildAftsQueryFromJSON(queryJson: {
39
+ locations?: any[];
40
+ criteria?: any[];
41
+ }): string;
42
+ }
43
+ //# sourceMappingURL=AftsQueryBuilder.d.ts.map
@@ -0,0 +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,CA6GlB;CACF"}
@@ -62,7 +62,8 @@ declare class UserViewService {
62
62
  */
63
63
  getPersonalViewsAndGlobalFavorites(): Promise<any>;
64
64
  /**
65
- * Retrieves all global views from the config store.
65
+ * Retrieves all global views from vue-*.json config files.
66
+ * Falls back to SAVED_VIEWS_GLOBAL from env-config.json for backward compatibility.
66
67
  * @returns {Promise<Array>} A list of global saved views.
67
68
  */
68
69
  getGlobalViews(): Promise<any[]>;
@@ -1 +1 @@
1
- {"version":3,"file":"UserViewService.d.ts","sourceRoot":"","sources":["../../../src/services/UserViewService.js"],"names":[],"mappings":";;;AA6BA;;GAEG;AACH;IACE;;;;;;;OAOG;IACH,yBAyBC;IAED;;;;;;OAMG;IACH,8BAoCC;IAED,wEAYC;IAED;;;;OAIG;IACH,0BAqCC;IAED;;;;;;OAMG;IACH,8BAYC;IAED;;;;;;OAMG;IACH,8BAgBC;IAED;;;;;OAKG;IACH,oBAHa,OAAO,OAAO,CAc1B;IAED;;;;;;;OAOG;IACH,sCALa,OAAO,KAAQ,CAiB3B;IAED;;;OAGG;IACH,kBAFa,OAAO,OAAO,CAK1B;IAED;;;;OAIG;IACH,iCAHW,MAAM,GACJ,OAAO,KAAQ,CAe3B;IAED,kDA8CC;IAED;;;;OAIG;IACH,2BAFa,OAAO,CAAC,IAAI,CAAC,CA6CzB;IACD,sFAgDC;IAED;;;;OAIG;IACH,+BAFa,OAAO,KAAQ,CAoD3B;IACD,sDAgCC;IAED;;;;OAIG;IACH,+BAFa,OAAO,CAAC,IAAI,CAAC,CA0BzB;IACD;;;;;OAKG;IACH,mBAJW,MAAM,GAAC,QAAQ,UACf,MAAM,GACJ,OAAO,CAAC,MAAO,IAAI,CAAC,CAehC;IAED;;;;;;OAMG;IACH,uCAFa,OAAO,KAAQ,CA2C3B;CACF"}
1
+ {"version":3,"file":"UserViewService.d.ts","sourceRoot":"","sources":["../../../src/services/UserViewService.js"],"names":[],"mappings":";;;AA8BA;;GAEG;AACH;IACE;;;;;;;OAOG;IACH,yBAyBC;IAED;;;;;;OAMG;IACH,8BAoCC;IAED,wEAYC;IAED;;;;OAIG;IACH,0BAqCC;IAED;;;;;;OAMG;IACH,8BAYC;IAED;;;;;;OAMG;IACH,8BAgBC;IAED;;;;;OAKG;IACH,oBAHa,OAAO,OAAO,CAc1B;IAED;;;;;;;OAOG;IACH,sCALa,OAAO,KAAQ,CAiB3B;IAED;;;;OAIG;IACH,kBAFa,OAAO,OAAO,CAiC1B;IAED;;;;OAIG;IACH,iCAHW,MAAM,GACJ,OAAO,KAAQ,CAe3B;IAED,kDA8CC;IAED;;;;OAIG;IACH,2BAFa,OAAO,CAAC,IAAI,CAAC,CA6CzB;IACD,sFAgDC;IAED;;;;OAIG;IACH,+BAFa,OAAO,KAAQ,CAoD3B;IACD,sDAgCC;IAED;;;;OAIG;IACH,+BAFa,OAAO,CAAC,IAAI,CAAC,CA0BzB;IACD;;;;;OAKG;IACH,mBAJW,MAAM,GAAC,QAAQ,UACf,MAAM,GACJ,OAAO,CAAC,MAAO,IAAI,CAAC,CAehC;IAED;;;;;;OAMG;IACH,uCAFa,OAAO,KAAQ,CA2C3B;CACF"}
@@ -0,0 +1,39 @@
1
+ declare const _default: ViewConfigService;
2
+ export default _default;
3
+ /**
4
+ * Service for managing vue-*.json configuration files.
5
+ * Follows the same pattern as ClassificationService.
6
+ */
7
+ declare class ViewConfigService {
8
+ /**
9
+ * Fetches a specific view configuration file.
10
+ * @param {string} filename The name of the view file (e.g., 'vue-exec-pieces.json').
11
+ * @returns {Promise<Object>} A promise that resolves with the JSON content of the view.
12
+ */
13
+ getView(filename: string): Promise<any>;
14
+ /**
15
+ * Saves a view configuration file.
16
+ * @param {string} filename The name of the view file.
17
+ * @param {Object} content The view configuration object to save.
18
+ * @returns {Promise<void>} A promise that resolves when the operation is complete.
19
+ */
20
+ saveView(filename: string, content: any): Promise<void>;
21
+ /**
22
+ * Deletes a view configuration file by saving null/empty content.
23
+ * Note: Actual deletion depends on the backend implementation.
24
+ * @param {string} filename The name of the view file to delete.
25
+ * @returns {Promise<void>} A promise that resolves when the operation is complete.
26
+ */
27
+ deleteView(filename: string): Promise<void>;
28
+ /**
29
+ * Lists all existing view configuration file names.
30
+ * @returns {Promise<string[]>} A promise that resolves with an array of filenames.
31
+ */
32
+ listViews(): Promise<string[]>;
33
+ /**
34
+ * Lists all existing view configuration entries (full Alfresco nodes).
35
+ * @returns {Promise<Object[]>} A promise that resolves with an array of Alfresco entry objects.
36
+ */
37
+ listViewEntries(): Promise<any[]>;
38
+ }
39
+ //# sourceMappingURL=ViewConfigService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ViewConfigService.d.ts","sourceRoot":"","sources":["../../../src/services/ViewConfigService.js"],"names":[],"mappings":";;AAqBA;;;GAGG;AACH;IACE;;;;OAIG;IACH,kBAHW,MAAM,GACJ,OAAO,KAAQ,CAO3B;IAED;;;;;OAKG;IACH,mBAJW,MAAM,iBAEJ,OAAO,CAAC,IAAI,CAAC,CASzB;IAED;;;;;OAKG;IACH,qBAHW,MAAM,GACJ,OAAO,CAAC,IAAI,CAAC,CASzB;IAED;;;OAGG;IACH,aAFa,OAAO,CAAC,MAAM,EAAE,CAAC,CAa7B;IAED;;;OAGG;IACH,mBAFa,OAAO,CAAC,KAAQ,CAAC,CAa7B;CACF"}
@@ -66,7 +66,6 @@ export const useConfigStore: StoreDefinition<"ConfigStore", {
66
66
  }[];
67
67
  SEARCH_USER_QUERY: string;
68
68
  SAVED_VIEWS_GLOBAL: any[];
69
- PREDEFINED_VIEWS: any[];
70
69
  DASHBOARD_CONFIG: any[];
71
70
  MDPH_CODE: any;
72
71
  WORKSPACE_TYPE_ACTES_ENABLED: boolean;
@@ -141,7 +140,6 @@ export const useConfigStore: StoreDefinition<"ConfigStore", {
141
140
  }[];
142
141
  SEARCH_USER_QUERY: string;
143
142
  SAVED_VIEWS_GLOBAL: any[];
144
- PREDEFINED_VIEWS: any[];
145
143
  DASHBOARD_CONFIG: any[];
146
144
  MDPH_CODE: any;
147
145
  WORKSPACE_TYPE_ACTES_ENABLED: boolean;
@@ -215,7 +213,6 @@ export const useConfigStore: StoreDefinition<"ConfigStore", {
215
213
  }[];
216
214
  SEARCH_USER_QUERY: string;
217
215
  SAVED_VIEWS_GLOBAL: any[];
218
- PREDEFINED_VIEWS: any[];
219
216
  DASHBOARD_CONFIG: any[];
220
217
  MDPH_CODE: any;
221
218
  WORKSPACE_TYPE_ACTES_ENABLED: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/stores/config.js"],"names":[],"mappings":";AAoBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA+JI;;OAEG;;IAiBH;;;;;OAKG;0CADS,OAAO,CAAC,IAAI,CAAC;GA8B1B"}
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/stores/config.js"],"names":[],"mappings":";AAoBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA8JI;;OAEG;;IAiBH;;;;;OAKG;0CADS,OAAO,CAAC,IAAI,CAAC;GA8B1B"}
@@ -0,0 +1,51 @@
1
+ import { StoreDefinition, PiniaCustomStateProperties } from 'pinia';
2
+ export const useFilingPlanStore: StoreDefinition<"filingPlan", {
3
+ currentPlanName: any;
4
+ planClassement: any[];
5
+ natures: any[];
6
+ viewCategories: any[];
7
+ dynamicViews: any[];
8
+ loading: boolean;
9
+ loaded: boolean;
10
+ }, {
11
+ enabledNatures: (state: {
12
+ currentPlanName: any;
13
+ planClassement: any[];
14
+ natures: any[];
15
+ viewCategories: any[];
16
+ dynamicViews: any[];
17
+ loading: boolean;
18
+ loaded: boolean;
19
+ } & PiniaCustomStateProperties<{
20
+ currentPlanName: any;
21
+ planClassement: any[];
22
+ natures: any[];
23
+ viewCategories: any[];
24
+ dynamicViews: any[];
25
+ loading: boolean;
26
+ loaded: boolean;
27
+ }>) => any[];
28
+ hasPlan: (state: {
29
+ currentPlanName: any;
30
+ planClassement: any[];
31
+ natures: any[];
32
+ viewCategories: any[];
33
+ dynamicViews: any[];
34
+ loading: boolean;
35
+ loaded: boolean;
36
+ } & PiniaCustomStateProperties<{
37
+ currentPlanName: any;
38
+ planClassement: any[];
39
+ natures: any[];
40
+ viewCategories: any[];
41
+ dynamicViews: any[];
42
+ loading: boolean;
43
+ loaded: boolean;
44
+ }>) => boolean;
45
+ }, {
46
+ loadPlan(planName: any, force?: boolean): Promise<any>;
47
+ _doLoad(planName: any): Promise<void>;
48
+ _loadDynamicViews(): Promise<void>;
49
+ reset(): void;
50
+ }>;
51
+ //# sourceMappingURL=filingPlan.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filingPlan.d.ts","sourceRoot":"","sources":["../../../src/stores/filingPlan.js"],"names":[],"mappings":";AAMA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuFG"}
@@ -10,8 +10,11 @@ import { StoreDefinition } from 'pinia';
10
10
  */
11
11
  /**
12
12
  * @typedef {Object} ViewLocation
13
- * @property {'Site'|'Path'|'Folder'|null} type - The type of location.
13
+ * @property {number} id - Unique identifier for the location.
14
+ * @property {'Site'|'Folder'|null} type - The type of location.
14
15
  * @property {string} value - The value for the location (e.g., site ID or nodeRef).
16
+ * @property {boolean} negation - Whether the location is excluded (true) or included (false).
17
+ * @property {string} label - Human-readable label for the location.
15
18
  */
16
19
  /**
17
20
  * @typedef {Object} SavedView
@@ -21,7 +24,7 @@ import { StoreDefinition } from 'pinia';
21
24
  * @property {'user'|'global'} scope - The scope of the view.
22
25
  * @property {boolean} [isFavorite] - Whether the view is marked as a favorite.
23
26
  * @property {Object} config - The view configuration.
24
- * @property {ViewLocation} config.location - The location criteria.
27
+ * @property {ViewLocation[]} config.locations - The location criteria (array).
25
28
  * @property {ViewCriterion[]} config.criteria - The list of search criteria.
26
29
  */
27
30
  /**
@@ -34,14 +37,35 @@ export const useUserViewStore: StoreDefinition<"userView", any, {
34
37
  * @returns {boolean} - True if a view is loaded, false otherwise.
35
38
  */
36
39
  isSavedViewLoaded(state: any): boolean;
40
+ /**
41
+ * Backward-compatible getter: returns the first location or a default empty object.
42
+ * @param {Object} state - The store's state.
43
+ * @returns {ViewLocation|{type: null, value: string}}
44
+ */
45
+ location(state: any): ViewLocation | {
46
+ type: null;
47
+ value: string;
48
+ };
37
49
  }, {
38
50
  /**
39
- * Loads a saved view into the store, updating location, criteria, and the loaded view reference.
51
+ * Loads a saved view into the store, updating locations, criteria, and the loaded view reference.
52
+ * Supports both old single-location format (config.location) and new multi-location format (config.locations).
40
53
  * @param {SavedView} savedView - The saved view object to load.
41
54
  */
42
55
  loadView(savedView: SavedView): void;
43
56
  /**
44
- * Sets the location for the user view.
57
+ * Adds a new location to the locations list.
58
+ * @param {ViewLocation} loc - The location to add.
59
+ */
60
+ addLocation(loc: ViewLocation): void;
61
+ /**
62
+ * Removes a location from the locations list by its index.
63
+ * @param {number} index - The index of the location to remove.
64
+ */
65
+ removeLocation(index: number): void;
66
+ /**
67
+ * Sets the location for the user view (backward-compatible).
68
+ * Replaces all locations with a single one.
45
69
  * @param {ViewLocation} newLocation - The new location object.
46
70
  */
47
71
  setLocation(newLocation: ViewLocation): void;
@@ -119,14 +143,26 @@ export type ViewCriterion = {
119
143
  value_end: any | null;
120
144
  };
121
145
  export type ViewLocation = {
146
+ /**
147
+ * - Unique identifier for the location.
148
+ */
149
+ id: number;
122
150
  /**
123
151
  * - The type of location.
124
152
  */
125
- type: "Site" | "Path" | "Folder" | null;
153
+ type: "Site" | "Folder" | null;
126
154
  /**
127
155
  * - The value for the location (e.g., site ID or nodeRef).
128
156
  */
129
157
  value: string;
158
+ /**
159
+ * - Whether the location is excluded (true) or included (false).
160
+ */
161
+ negation: boolean;
162
+ /**
163
+ * - Human-readable label for the location.
164
+ */
165
+ label: string;
130
166
  };
131
167
  export type SavedView = {
132
168
  /**
@@ -153,7 +189,7 @@ export type SavedView = {
153
189
  * - The view configuration.
154
190
  */
155
191
  config: {
156
- location: ViewLocation;
192
+ locations: ViewLocation[];
157
193
  criteria: ViewCriterion[];
158
194
  };
159
195
  };
@@ -1 +1 @@
1
- {"version":3,"file":"userView.d.ts","sourceRoot":"","sources":["../../../src/stores/userView.js"],"names":[],"mappings":";AAGA;;;;;;;;GAQG;AAEH;;;;GAIG;AAEH;;;;;;;;;;GAUG;AAEH;;GAEG;AACH;IA8BI;;;;OAIG;mCADU,OAAO;;IAUpB;;;OAGG;wBADQ,SAAS;IAcpB;;;OAGG;6BADQ,YAAY;IAKvB;;;;OAIG;6BADQ,aAAa,EAAE;IAM1B;;;OAGG;4BADQ,aAAa;IAKxB;;;OAGG;2BADQ,MAAM;IAKjB;;OAEG;;IAMH;;;OAGG;gCADQ,SAAS;IAYpB;;;OAGG;oCADQ,SAAS;IAWp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;eACD,GAAC,GAAC,IAAI;;;;;;QAKN,MAAM;;;;UACN,MAAM,GAAC,QAAQ,GAAC,IAAI;;;;WACpB,MAAM;;;;cACN,OAAO;;;;WACP,MAAM;;;;;;QAKN,MAAM;;;;UACN,MAAM;;;;kBACN,MAAM;;;;WACN,MAAM,GAAC,QAAQ;;;;iBACf,OAAO;;;;YAElB;QAAkC,SAAS,EAAhC,YAAY,EAAE;QACU,QAAQ,EAAhC,aAAa,EAAE;KAC5B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pristy/pristy-libvue",
3
- "version": "2.4.0",
3
+ "version": "2.5.0",
4
4
  "description": "Core library used by all Pristy applications",
5
5
  "homepage": "https://pristy.fr/en/",
6
6
  "author": "JECI SARL",