@pristy/pristy-libvue 2.18.2 → 2.19.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 (77) hide show
  1. package/README.md +13 -0
  2. package/dist/{ActivityHistory-Ceg-TT2z.js → ActivityHistory-_0tW0rvq.js} +46 -36
  3. package/dist/ActivityHistory-_0tW0rvq.js.map +1 -0
  4. package/dist/{BookmarksComponent-B9Cs5W3M.js → BookmarksComponent-Cho18tdw.js} +2 -2
  5. package/dist/{BookmarksComponent-B9Cs5W3M.js.map → BookmarksComponent-Cho18tdw.js.map} +1 -1
  6. package/dist/{ChartWrapper-FvxEDgfp.js → ChartWrapper-SxW9ySdd.js} +2 -2
  7. package/dist/{ChartWrapper-FvxEDgfp.js.map → ChartWrapper-SxW9ySdd.js.map} +1 -1
  8. package/dist/{DisplayFileInDashboardComponent-CNJXyoYF.js → DisplayFileInDashboardComponent-DybH5peP.js} +2 -2
  9. package/dist/{DisplayFileInDashboardComponent-CNJXyoYF.js.map → DisplayFileInDashboardComponent-DybH5peP.js.map} +1 -1
  10. package/dist/{ExternalApps-C7affsUK.js → ExternalApps-CAgQ4Fj6.js} +2 -2
  11. package/dist/{ExternalApps-C7affsUK.js.map → ExternalApps-CAgQ4Fj6.js.map} +1 -1
  12. package/dist/{FavoriteList-By-5ScJW.js → FavoriteList-CIvIXlWH.js} +2 -2
  13. package/dist/{FavoriteList-By-5ScJW.js.map → FavoriteList-CIvIXlWH.js.map} +1 -1
  14. package/dist/{MarkdownComponent-D3pdlWVI.js → MarkdownComponent-ClspMFPD.js} +2 -2
  15. package/dist/{MarkdownComponent-D3pdlWVI.js.map → MarkdownComponent-ClspMFPD.js.map} +1 -1
  16. package/dist/{SearchInput-DzA1MVbI.js → SearchInput-DqVul-dd.js} +2 -2
  17. package/dist/{SearchInput-DzA1MVbI.js.map → SearchInput-DqVul-dd.js.map} +1 -1
  18. package/dist/{UnknownBlockType-BfQLAxi6.js → UnknownBlockType-GuPCc_3z.js} +2 -2
  19. package/dist/{UnknownBlockType-BfQLAxi6.js.map → UnknownBlockType-GuPCc_3z.js.map} +1 -1
  20. package/dist/{index-B82yEdg6.js → index-Bat41R_Q.js} +10703 -9896
  21. package/dist/index-Bat41R_Q.js.map +1 -0
  22. package/dist/{jszip.min-BrmBkVmG.js → jszip.min-BNqdRFyY.js} +445 -443
  23. package/dist/jszip.min-BNqdRFyY.js.map +1 -0
  24. package/dist/pristy-libvue.css +1 -1
  25. package/dist/pristy-libvue.es.js +190 -186
  26. package/dist/pristy-libvue.umd.js +30 -22
  27. package/dist/pristy-libvue.umd.js.map +1 -1
  28. package/dist/src/components/classification/AdminClassificationPage.vue.d.ts +3 -0
  29. package/dist/src/components/classification/FieldForm.vue.d.ts +3 -0
  30. package/dist/src/components/classification/FieldForm.vue.d.ts.map +1 -1
  31. package/dist/src/components/config/ListVersionConfig.vue.d.ts +1 -1
  32. package/dist/src/components/dashboard/DashboardAdminPage.vue.d.ts +72 -0
  33. package/dist/src/components/dashboard/DashboardComponent.vue.d.ts +11 -0
  34. package/dist/src/components/dashboard/editor/BlockConfigEditor.vue.d.ts +61 -0
  35. package/dist/src/components/dashboard/editor/DashboardEditor.vue.d.ts +72 -0
  36. package/dist/src/components/dashboard/editor/block-configs/MyActivityConfig.vue.d.ts +66 -0
  37. package/dist/src/components/dashboard/editor/block-configs/MyActivityConfig.vue.d.ts.map +1 -0
  38. package/dist/src/components/dashboard/widgets/ActivityHistory.vue.d.ts +11 -0
  39. package/dist/src/components/layouts/AppSubmenu.vue.d.ts +4 -2
  40. package/dist/src/components/layouts/AppSubmenu.vue.d.ts.map +1 -1
  41. package/dist/src/components/layouts/AppSwitcher.vue.d.ts +63 -0
  42. package/dist/src/components/layouts/AppSwitcher.vue.d.ts.map +1 -0
  43. package/dist/src/components/navigation/DynamicContentView.vue.d.ts +29 -5
  44. package/dist/src/components/navigation/DynamicContentView.vue.d.ts.map +1 -1
  45. package/dist/src/components/navigation/PreviewPanel.vue.d.ts +10 -0
  46. package/dist/src/components/popup/SendMailPopup.vue.d.ts +31 -5
  47. package/dist/src/components/popup/SendMailPopup.vue.d.ts.map +1 -1
  48. package/dist/src/components/search/AdvancedSearchPanel.vue.d.ts +1 -1
  49. package/dist/src/components/search/AdvancedSearchPanel.vue.d.ts.map +1 -1
  50. package/dist/src/components/search/AdvancedViewPanel.vue.d.ts +1 -1
  51. package/dist/src/components/search/ExactSearch.vue.d.ts.map +1 -1
  52. package/dist/src/components/search/SaveViewPopup.vue.d.ts +1 -1
  53. package/dist/src/components/viewer/PDFComponent.vue.d.ts +10 -0
  54. package/dist/src/components/viewer/PDFComponent.vue.d.ts.map +1 -1
  55. package/dist/src/components/viewer/PdfSignaturePanel.vue.d.ts +9 -0
  56. package/dist/src/components/viewer/PdfSignaturePanel.vue.d.ts.map +1 -0
  57. package/dist/src/composables/useClassificationPlan.d.ts.map +1 -1
  58. package/dist/src/i18n/index.d.ts +96 -0
  59. package/dist/src/i18n/index.d.ts.map +1 -1
  60. package/dist/src/index.d.ts +3 -1
  61. package/dist/src/index.d.ts.map +1 -1
  62. package/dist/src/services/AppSwitcherService.d.ts +36 -0
  63. package/dist/src/services/AppSwitcherService.d.ts.map +1 -0
  64. package/dist/src/services/PdfSignatureService.d.ts +2 -0
  65. package/dist/src/services/PdfSignatureService.d.ts.map +1 -0
  66. package/dist/src/services/userSearchQuery.d.ts +31 -0
  67. package/dist/src/services/userSearchQuery.d.ts.map +1 -0
  68. package/dist/src/stores/config.d.ts +3 -0
  69. package/dist/src/stores/config.d.ts.map +1 -1
  70. package/dist/src/stores/search.d.ts +2 -0
  71. package/dist/src/stores/search.d.ts.map +1 -1
  72. package/dist/src/utils/classificationPlanUtils.d.ts +16 -0
  73. package/dist/src/utils/classificationPlanUtils.d.ts.map +1 -1
  74. package/package.json +16 -13
  75. package/dist/ActivityHistory-Ceg-TT2z.js.map +0 -1
  76. package/dist/index-B82yEdg6.js.map +0 -1
  77. package/dist/jszip.min-BrmBkVmG.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import { _ as i, d } from "./index-B82yEdg6.js";
1
+ import { _ as i, d } from "./index-Bat41R_Q.js";
2
2
  import { marked as o } from "marked";
3
3
  import r from "dompurify";
4
4
  import { openBlock as s, createElementBlock as m } from "vue";
@@ -53,4 +53,4 @@ const _ = /* @__PURE__ */ i(l, [["render", u]]);
53
53
  export {
54
54
  _ as default
55
55
  };
56
- //# sourceMappingURL=MarkdownComponent-D3pdlWVI.js.map
56
+ //# sourceMappingURL=MarkdownComponent-ClspMFPD.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"MarkdownComponent-D3pdlWVI.js","sources":["../src/components/dashboard/widgets/MarkdownComponent.vue"],"sourcesContent":["<!--\n Copyright (C) 2022 - Jeci SARL - https://jeci.fr\n\n This program is free software: you can redistribute it and/or modify\n it under the terms of the GNU Affero General Public License as\n published by the Free Software Foundation, either version 3 of the\n License, or (at your option) any later version.\n\n This program is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU Affero General Public License for more details.\n\n You should have received a copy of the GNU Affero General Public License\n along with this program. If not, see https://www.gnu.org/licenses/agpl-3.0.html.\n-->\n<template>\n <div :id=\"`content-${uniqueId}`\"></div>\n</template>\n\n<script>\nimport alfrescoNodeService from \"@/services/AlfrescoNodeService.js\";\nimport { marked } from \"marked\";\nimport DOMPurify from \"dompurify\";\n\nexport default {\n name: \"MarkdownComponent\",\n props: {\n id: {\n type: String,\n default: null,\n },\n markdownContent: {\n type: String,\n default: null,\n },\n },\n data() {\n return {\n uniqueId: `markdown-${Math.random().toString(36).substr(2, 9)}`,\n };\n },\n mounted() {\n // Priority: id from Alfresco > inline markdown content > default sample\n if (this.id && this.id.trim()) {\n this.loadMarkdown();\n } else if (this.markdownContent && this.markdownContent.trim()) {\n this.loadInlineMarkdown();\n } else {\n this.loadSampleMarkDown();\n }\n },\n methods: {\n loadInlineMarkdown() {\n const element = document.getElementById(`content-${this.uniqueId}`);\n if (element && this.markdownContent) {\n element.innerHTML = DOMPurify.sanitize(\n marked.parse(this.markdownContent),\n );\n }\n },\n loadSampleMarkDown() {\n const sample = this.$t(\"dashboard.markdownSample\");\n const element = document.getElementById(`content-${this.uniqueId}`);\n if (element) {\n element.innerHTML = DOMPurify.sanitize(marked.parse(sample));\n }\n },\n async loadMarkdown() {\n try {\n const contentBlob = await alfrescoNodeService.getNodeContent(this.id);\n let rawMarkdown = await contentBlob.text();\n const element = document.getElementById(`content-${this.uniqueId}`);\n if (element) {\n element.innerHTML = DOMPurify.sanitize(marked.parse(rawMarkdown));\n }\n } catch (error) {\n console.error(\"Erreur lors du chargement du markdown:\", error);\n }\n },\n },\n};\n</script>\n<style scoped></style>\n"],"names":["_sfc_main","element","DOMPurify","marked","sample","rawMarkdown","alfrescoNodeService","error","_createElementBlock","$data"],"mappings":";;;;AAyBA,MAAKA,IAAU;AAAA,EACb,MAAM;AAAA,EACN,OAAO;AAAA,IACL,IAAI;AAAA,MACF,MAAM;AAAA,MACN,SAAS;AAAA;IAEX,iBAAiB;AAAA,MACf,MAAM;AAAA,MACN,SAAS;AAAA;;EAGb,OAAO;AACL,WAAO;AAAA,MACL,UAAU,YAAY,KAAK,OAAM,EAAG,SAAS,EAAE,EAAE,OAAO,GAAG,CAAC,CAAC;AAAA;EAEjE;AAAA,EACA,UAAU;AAER,IAAI,KAAK,MAAM,KAAK,GAAG,KAAI,IACzB,KAAK,aAAY,IACR,KAAK,mBAAmB,KAAK,gBAAgB,SACtD,KAAK,mBAAkB,IAEvB,KAAK,mBAAkB;AAAA,EAE3B;AAAA,EACA,SAAS;AAAA,IACP,qBAAqB;AACnB,YAAMC,IAAU,SAAS,eAAe,WAAW,KAAK,QAAQ,EAAE;AAClE,MAAIA,KAAW,KAAK,oBAClBA,EAAQ,YAAYC,EAAU;AAAA,QAC5BC,EAAO,MAAM,KAAK,eAAe;AAAA;IAGvC;AAAA,IACA,qBAAqB;AACnB,YAAMC,IAAS,KAAK,GAAG,0BAA0B,GAC3CH,IAAU,SAAS,eAAe,WAAW,KAAK,QAAQ,EAAE;AAClE,MAAIA,MACFA,EAAQ,YAAYC,EAAU,SAASC,EAAO,MAAMC,CAAM,CAAC;AAAA,IAE/D;AAAA,IACA,MAAM,eAAe;AACnB,UAAI;AAEF,YAAIC,IAAc,OADE,MAAMC,EAAoB,eAAe,KAAK,EAAE,GAChC,KAAI;AACxC,cAAML,IAAU,SAAS,eAAe,WAAW,KAAK,QAAQ,EAAE;AAClE,QAAIA,MACFA,EAAQ,YAAYC,EAAU,SAASC,EAAO,MAAME,CAAW,CAAC;AAAA,MAEpE,SAASE,GAAO;AACd,gBAAQ,MAAM,0CAA0CA,CAAK;AAAA,MAC/D;AAAA,IACF;AAAA;AAEJ;;cAhEEC,EAAuC,OAAA;AAAA,IAAjC,eAAeC,EAAA,QAAQ;AAAA;;;"}
1
+ {"version":3,"file":"MarkdownComponent-ClspMFPD.js","sources":["../src/components/dashboard/widgets/MarkdownComponent.vue"],"sourcesContent":["<!--\n Copyright (C) 2022 - Jeci SARL - https://jeci.fr\n\n This program is free software: you can redistribute it and/or modify\n it under the terms of the GNU Affero General Public License as\n published by the Free Software Foundation, either version 3 of the\n License, or (at your option) any later version.\n\n This program is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU Affero General Public License for more details.\n\n You should have received a copy of the GNU Affero General Public License\n along with this program. If not, see https://www.gnu.org/licenses/agpl-3.0.html.\n-->\n<template>\n <div :id=\"`content-${uniqueId}`\"></div>\n</template>\n\n<script>\nimport alfrescoNodeService from \"@/services/AlfrescoNodeService.js\";\nimport { marked } from \"marked\";\nimport DOMPurify from \"dompurify\";\n\nexport default {\n name: \"MarkdownComponent\",\n props: {\n id: {\n type: String,\n default: null,\n },\n markdownContent: {\n type: String,\n default: null,\n },\n },\n data() {\n return {\n uniqueId: `markdown-${Math.random().toString(36).substr(2, 9)}`,\n };\n },\n mounted() {\n // Priority: id from Alfresco > inline markdown content > default sample\n if (this.id && this.id.trim()) {\n this.loadMarkdown();\n } else if (this.markdownContent && this.markdownContent.trim()) {\n this.loadInlineMarkdown();\n } else {\n this.loadSampleMarkDown();\n }\n },\n methods: {\n loadInlineMarkdown() {\n const element = document.getElementById(`content-${this.uniqueId}`);\n if (element && this.markdownContent) {\n element.innerHTML = DOMPurify.sanitize(\n marked.parse(this.markdownContent),\n );\n }\n },\n loadSampleMarkDown() {\n const sample = this.$t(\"dashboard.markdownSample\");\n const element = document.getElementById(`content-${this.uniqueId}`);\n if (element) {\n element.innerHTML = DOMPurify.sanitize(marked.parse(sample));\n }\n },\n async loadMarkdown() {\n try {\n const contentBlob = await alfrescoNodeService.getNodeContent(this.id);\n let rawMarkdown = await contentBlob.text();\n const element = document.getElementById(`content-${this.uniqueId}`);\n if (element) {\n element.innerHTML = DOMPurify.sanitize(marked.parse(rawMarkdown));\n }\n } catch (error) {\n console.error(\"Erreur lors du chargement du markdown:\", error);\n }\n },\n },\n};\n</script>\n<style scoped></style>\n"],"names":["_sfc_main","element","DOMPurify","marked","sample","rawMarkdown","alfrescoNodeService","error","_createElementBlock","$data"],"mappings":";;;;AAyBA,MAAKA,IAAU;AAAA,EACb,MAAM;AAAA,EACN,OAAO;AAAA,IACL,IAAI;AAAA,MACF,MAAM;AAAA,MACN,SAAS;AAAA;IAEX,iBAAiB;AAAA,MACf,MAAM;AAAA,MACN,SAAS;AAAA;;EAGb,OAAO;AACL,WAAO;AAAA,MACL,UAAU,YAAY,KAAK,OAAM,EAAG,SAAS,EAAE,EAAE,OAAO,GAAG,CAAC,CAAC;AAAA;EAEjE;AAAA,EACA,UAAU;AAER,IAAI,KAAK,MAAM,KAAK,GAAG,KAAI,IACzB,KAAK,aAAY,IACR,KAAK,mBAAmB,KAAK,gBAAgB,SACtD,KAAK,mBAAkB,IAEvB,KAAK,mBAAkB;AAAA,EAE3B;AAAA,EACA,SAAS;AAAA,IACP,qBAAqB;AACnB,YAAMC,IAAU,SAAS,eAAe,WAAW,KAAK,QAAQ,EAAE;AAClE,MAAIA,KAAW,KAAK,oBAClBA,EAAQ,YAAYC,EAAU;AAAA,QAC5BC,EAAO,MAAM,KAAK,eAAe;AAAA;IAGvC;AAAA,IACA,qBAAqB;AACnB,YAAMC,IAAS,KAAK,GAAG,0BAA0B,GAC3CH,IAAU,SAAS,eAAe,WAAW,KAAK,QAAQ,EAAE;AAClE,MAAIA,MACFA,EAAQ,YAAYC,EAAU,SAASC,EAAO,MAAMC,CAAM,CAAC;AAAA,IAE/D;AAAA,IACA,MAAM,eAAe;AACnB,UAAI;AAEF,YAAIC,IAAc,OADE,MAAMC,EAAoB,eAAe,KAAK,EAAE,GAChC,KAAI;AACxC,cAAML,IAAU,SAAS,eAAe,WAAW,KAAK,QAAQ,EAAE;AAClE,QAAIA,MACFA,EAAQ,YAAYC,EAAU,SAASC,EAAO,MAAME,CAAW,CAAC;AAAA,MAEpE,SAASE,GAAO;AACd,gBAAQ,MAAM,0CAA0CA,CAAK;AAAA,MAC/D;AAAA,IACF;AAAA;AAEJ;;cAhEEC,EAAuC,OAAA;AAAA,IAAjC,eAAeC,EAAA,QAAQ;AAAA;;;"}
@@ -1,5 +1,5 @@
1
1
  import { mapState as l } from "pinia";
2
- import { _ as m, b as u } from "./index-B82yEdg6.js";
2
+ import { _ as m, b as u } from "./index-Bat41R_Q.js";
3
3
  import h from "primevue/iconfield";
4
4
  import I from "primevue/inputicon";
5
5
  import d from "primevue/inputtext";
@@ -55,4 +55,4 @@ const K = /* @__PURE__ */ m(x, [["render", v], ["__scopeId", "data-v-5c1914e9"]]
55
55
  export {
56
56
  K as default
57
57
  };
58
- //# sourceMappingURL=SearchInput-DzA1MVbI.js.map
58
+ //# sourceMappingURL=SearchInput-DqVul-dd.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SearchInput-DzA1MVbI.js","sources":["../src/components/dashboard/widgets/SearchInput.vue"],"sourcesContent":["<!--\n Copyright (C) 2022 - Jeci SARL - https://jeci.fr\n\n This program is free software: you can redistribute it and/or modify\n it under the terms of the GNU Affero General Public License as\n published by the Free Software Foundation, either version 3 of the\n License, or (at your option) any later version.\n\n This program is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU Affero General Public License for more details.\n\n You should have received a copy of the GNU Affero General Public License\n along with this program. If not, see https://www.gnu.org/licenses/agpl-3.0.html.\n-->\n\n<template>\n <div>\n <PrimeIconField iconPosition=\"left\">\n <PrimeInputIcon class=\"ri-search-line\" />\n <PrimeInputText\n v-model=\"searchInput\"\n class=\"search-input\"\n ref=\"search\"\n type=\"text\"\n :placeholder=\"$t('search')\"\n @keyup.enter=\"search\"\n />\n </PrimeIconField>\n </div>\n</template>\n<script>\nimport { mapState } from \"pinia\";\nimport { useConfigStore } from \"@/stores/config\";\nimport IconField from \"primevue/iconfield\";\nimport InputIcon from \"primevue/inputicon\";\nimport InputText from \"primevue/inputtext\";\n\nexport default {\n name: \"SearchInput\",\n components: {\n PrimeIconField: IconField,\n PrimeInputIcon: InputIcon,\n PrimeInputText: InputText,\n },\n props: {\n searchResolver: {\n type: Function,\n default: null,\n },\n },\n data() {\n return {\n searchInput: \"\",\n };\n },\n methods: {\n search() {\n if (this.searchResolver) {\n this.searchResolver(this.searchInput);\n } else {\n window.location = `${this.ESPACES_HOST}/espaces/recherche?search=${this.searchInput}`;\n }\n },\n },\n computed: {\n ...mapState(useConfigStore, [\"ESPACES_HOST\"]),\n },\n};\n</script>\n<style scoped>\n.search-input {\n width: 100%;\n height: 100%;\n}\n</style>\n"],"names":["_sfc_main","IconField","InputIcon","InputText","mapState","useConfigStore","_createElementBlock","_createVNode","_component_PrimeIconField","_component_PrimeInputIcon","_component_PrimeInputText","$data","$event","_ctx","$options"],"mappings":";;;;;;AAuCA,MAAKA,IAAU;AAAA,EACb,MAAM;AAAA,EACN,YAAY;AAAA,IACV,gBAAgBC;AAAA,IAChB,gBAAgBC;AAAA,IAChB,gBAAgBC;AAAA;EAElB,OAAO;AAAA,IACL,gBAAgB;AAAA,MACd,MAAM;AAAA,MACN,SAAS;AAAA;;EAGb,OAAO;AACL,WAAO;AAAA,MACL,aAAa;AAAA;EAEjB;AAAA,EACA,SAAS;AAAA,IACP,SAAS;AACP,MAAI,KAAK,iBACP,KAAK,eAAe,KAAK,WAAW,IAEpC,OAAO,WAAW,GAAG,KAAK,YAAY,6BAA6B,KAAK,WAAW;AAAA,IAEvF;AAAA;EAEF,UAAU;AAAA,IACR,GAAGC,EAASC,GAAgB,CAAC,cAAc,CAAC;AAAA;AAEhD;;;cAnDEC,EAYM,OAAA,MAAA;AAAA,IAXJC,EAUiBC,GAAA,EAVD,cAAa,OAAM,GAAA;AAAA,iBACjC,MAAyC;AAAA,QAAzCD,EAAyCE,GAAA,EAAzB,OAAM,iBAAgB,CAAA;AAAA,QACtCF,EAOEG,GAAA;AAAA,sBANSC,EAAA;AAAA,wDAAAA,EAAA,cAAWC;AAAA,UACpB,OAAM;AAAA,UACN,KAAI;AAAA,UACJ,MAAK;AAAA,UACJ,aAAaC,EAAA,GAAE,QAAA;AAAA,UACf,WAAaC,EAAA,QAAM,CAAA,OAAA,CAAA;AAAA;;;;;;;"}
1
+ {"version":3,"file":"SearchInput-DqVul-dd.js","sources":["../src/components/dashboard/widgets/SearchInput.vue"],"sourcesContent":["<!--\n Copyright (C) 2022 - Jeci SARL - https://jeci.fr\n\n This program is free software: you can redistribute it and/or modify\n it under the terms of the GNU Affero General Public License as\n published by the Free Software Foundation, either version 3 of the\n License, or (at your option) any later version.\n\n This program is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU Affero General Public License for more details.\n\n You should have received a copy of the GNU Affero General Public License\n along with this program. If not, see https://www.gnu.org/licenses/agpl-3.0.html.\n-->\n\n<template>\n <div>\n <PrimeIconField iconPosition=\"left\">\n <PrimeInputIcon class=\"ri-search-line\" />\n <PrimeInputText\n v-model=\"searchInput\"\n class=\"search-input\"\n ref=\"search\"\n type=\"text\"\n :placeholder=\"$t('search')\"\n @keyup.enter=\"search\"\n />\n </PrimeIconField>\n </div>\n</template>\n<script>\nimport { mapState } from \"pinia\";\nimport { useConfigStore } from \"@/stores/config\";\nimport IconField from \"primevue/iconfield\";\nimport InputIcon from \"primevue/inputicon\";\nimport InputText from \"primevue/inputtext\";\n\nexport default {\n name: \"SearchInput\",\n components: {\n PrimeIconField: IconField,\n PrimeInputIcon: InputIcon,\n PrimeInputText: InputText,\n },\n props: {\n searchResolver: {\n type: Function,\n default: null,\n },\n },\n data() {\n return {\n searchInput: \"\",\n };\n },\n methods: {\n search() {\n if (this.searchResolver) {\n this.searchResolver(this.searchInput);\n } else {\n window.location = `${this.ESPACES_HOST}/espaces/recherche?search=${this.searchInput}`;\n }\n },\n },\n computed: {\n ...mapState(useConfigStore, [\"ESPACES_HOST\"]),\n },\n};\n</script>\n<style scoped>\n.search-input {\n width: 100%;\n height: 100%;\n}\n</style>\n"],"names":["_sfc_main","IconField","InputIcon","InputText","mapState","useConfigStore","_createElementBlock","_createVNode","_component_PrimeIconField","_component_PrimeInputIcon","_component_PrimeInputText","$data","$event","_ctx","$options"],"mappings":";;;;;;AAuCA,MAAKA,IAAU;AAAA,EACb,MAAM;AAAA,EACN,YAAY;AAAA,IACV,gBAAgBC;AAAA,IAChB,gBAAgBC;AAAA,IAChB,gBAAgBC;AAAA;EAElB,OAAO;AAAA,IACL,gBAAgB;AAAA,MACd,MAAM;AAAA,MACN,SAAS;AAAA;;EAGb,OAAO;AACL,WAAO;AAAA,MACL,aAAa;AAAA;EAEjB;AAAA,EACA,SAAS;AAAA,IACP,SAAS;AACP,MAAI,KAAK,iBACP,KAAK,eAAe,KAAK,WAAW,IAEpC,OAAO,WAAW,GAAG,KAAK,YAAY,6BAA6B,KAAK,WAAW;AAAA,IAEvF;AAAA;EAEF,UAAU;AAAA,IACR,GAAGC,EAASC,GAAgB,CAAC,cAAc,CAAC;AAAA;AAEhD;;;cAnDEC,EAYM,OAAA,MAAA;AAAA,IAXJC,EAUiBC,GAAA,EAVD,cAAa,OAAM,GAAA;AAAA,iBACjC,MAAyC;AAAA,QAAzCD,EAAyCE,GAAA,EAAzB,OAAM,iBAAgB,CAAA;AAAA,QACtCF,EAOEG,GAAA;AAAA,sBANSC,EAAA;AAAA,wDAAAA,EAAA,cAAWC;AAAA,UACpB,OAAM;AAAA,UACN,KAAI;AAAA,UACJ,MAAK;AAAA,UACJ,aAAaC,EAAA,GAAE,QAAA;AAAA,UACf,WAAaC,EAAA,QAAM,CAAA,OAAA,CAAA;AAAA;;;;;;;"}
@@ -1,5 +1,5 @@
1
1
  import { openBlock as r, createElementBlock as p, createElementVNode as e, toDisplayString as s } from "vue";
2
- import { _ as c } from "./index-B82yEdg6.js";
2
+ import { _ as c } from "./index-Bat41R_Q.js";
3
3
  const l = {
4
4
  name: "UnknownBlockType",
5
5
  props: {
@@ -19,4 +19,4 @@ const m = /* @__PURE__ */ c(l, [["render", i], ["__scopeId", "data-v-067b7fb9"]]
19
19
  export {
20
20
  m as default
21
21
  };
22
- //# sourceMappingURL=UnknownBlockType-BfQLAxi6.js.map
22
+ //# sourceMappingURL=UnknownBlockType-GuPCc_3z.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"UnknownBlockType-BfQLAxi6.js","sources":["../src/components/dashboard/widgets/UnknownBlockType.vue"],"sourcesContent":["<!--\n Copyright (C) 2022 - Jeci SARL - https://jeci.fr\n\n This program is free software: you can redistribute it and/or modify\n it under the terms of the GNU Affero General Public License as\n published by the Free Software Foundation, either version 3 of the\n License, or (at your option) any later version.\n\n This program is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU Affero General Public License for more details.\n\n You should have received a copy of the GNU Affero General Public License\n along with this program. If not, see https://www.gnu.org/licenses/agpl-3.0.html.\n-->\n<template>\n <div class=\"unknown-block\">\n <i class=\"ri-error-warning-line unknown-block-icon\"></i>\n <p>{{ $t(\"dashboard.unknownBlockType\", { type: type }) }}</p>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"UnknownBlockType\",\n props: {\n type: {\n type: String,\n required: true,\n },\n },\n};\n</script>\n\n<style scoped>\n.unknown-block {\n text-align: center;\n color: var(--p-text-muted-color);\n padding: 1rem;\n}\n\n.unknown-block-icon {\n font-size: 2.25rem;\n margin-bottom: 0.5rem;\n}\n</style>\n"],"names":["_sfc_main","_hoisted_1","_openBlock","_createElementBlock","_createElementVNode","_toDisplayString","_ctx","$props"],"mappings":";;AAwBA,MAAKA,IAAU;AAAA,EACb,MAAM;AAAA,EACN,OAAO;AAAA,IACL,MAAM;AAAA,MACJ,MAAM;AAAA,MACN,UAAU;AAAA;;AAGhB,GAfOC,IAAA,EAAA,OAAM,gBAAe;;AAA1B,SAAAC,EAAA,GAAAC,EAGM,OAHNF,GAGM;AAAA,oBAFJG,EAAwD,KAAA,EAArD,OAAM,2CAA0C,GAAA,MAAA,EAAA;AAAA,IACnDA,EAA6D,KAAA,MAAAC,EAAvDC,EAAA,GAAE,8BAAA,EAAA,MAAuCC,EAAA,KAAI,CAAA,CAAA,GAAA,CAAA;AAAA;;;"}
1
+ {"version":3,"file":"UnknownBlockType-GuPCc_3z.js","sources":["../src/components/dashboard/widgets/UnknownBlockType.vue"],"sourcesContent":["<!--\n Copyright (C) 2022 - Jeci SARL - https://jeci.fr\n\n This program is free software: you can redistribute it and/or modify\n it under the terms of the GNU Affero General Public License as\n published by the Free Software Foundation, either version 3 of the\n License, or (at your option) any later version.\n\n This program is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU Affero General Public License for more details.\n\n You should have received a copy of the GNU Affero General Public License\n along with this program. If not, see https://www.gnu.org/licenses/agpl-3.0.html.\n-->\n<template>\n <div class=\"unknown-block\">\n <i class=\"ri-error-warning-line unknown-block-icon\"></i>\n <p>{{ $t(\"dashboard.unknownBlockType\", { type: type }) }}</p>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"UnknownBlockType\",\n props: {\n type: {\n type: String,\n required: true,\n },\n },\n};\n</script>\n\n<style scoped>\n.unknown-block {\n text-align: center;\n color: var(--p-text-muted-color);\n padding: 1rem;\n}\n\n.unknown-block-icon {\n font-size: 2.25rem;\n margin-bottom: 0.5rem;\n}\n</style>\n"],"names":["_sfc_main","_hoisted_1","_openBlock","_createElementBlock","_createElementVNode","_toDisplayString","_ctx","$props"],"mappings":";;AAwBA,MAAKA,IAAU;AAAA,EACb,MAAM;AAAA,EACN,OAAO;AAAA,IACL,MAAM;AAAA,MACJ,MAAM;AAAA,MACN,UAAU;AAAA;;AAGhB,GAfOC,IAAA,EAAA,OAAM,gBAAe;;AAA1B,SAAAC,EAAA,GAAAC,EAGM,OAHNF,GAGM;AAAA,oBAFJG,EAAwD,KAAA,EAArD,OAAM,2CAA0C,GAAA,MAAA,EAAA;AAAA,IACnDA,EAA6D,KAAA,MAAAC,EAAvDC,EAAA,GAAE,8BAAA,EAAA,MAAuCC,EAAA,KAAI,CAAA,CAAA,GAAA,CAAA;AAAA;;;"}