@xwiki/cristal-electron-renderer 1.2.0 → 1.4.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 (269) hide show
  1. package/package.json +19 -19
  2. package/dist/AttachmentPreview-DNQ6Ebkw.css +0 -1
  3. package/dist/AttachmentPreview-Ecn8Pmvf.js +0 -2
  4. package/dist/AttachmentPreview-Ecn8Pmvf.js.map +0 -1
  5. package/dist/AuthServiceBanner-7KaHK0Au.js +0 -2
  6. package/dist/AuthServiceBanner-7KaHK0Au.js.map +0 -1
  7. package/dist/AuthServiceBanner-BArubXdu.css +0 -1
  8. package/dist/DeletePage-DA6E5XYv.js +0 -2
  9. package/dist/DeletePage-DA6E5XYv.js.map +0 -1
  10. package/dist/GitHubLoginMenu-Crh899SM.js +0 -2
  11. package/dist/GitHubLoginMenu-Crh899SM.js.map +0 -1
  12. package/dist/LoggedInMenu-kH3kWMGK.js +0 -2
  13. package/dist/LoggedInMenu-kH3kWMGK.js.map +0 -1
  14. package/dist/LoginMenu-D_c21AxX.js +0 -2
  15. package/dist/LoginMenu-D_c21AxX.js.map +0 -1
  16. package/dist/MovePage-BHS998Jm.css +0 -1
  17. package/dist/MovePage-Du2Z2i7H.js +0 -2
  18. package/dist/MovePage-Du2Z2i7H.js.map +0 -1
  19. package/dist/NextcloudLoginMenu-BTVdL-FM.js +0 -2
  20. package/dist/NextcloudLoginMenu-BTVdL-FM.js.map +0 -1
  21. package/dist/NextcloudLoginMenu-DGCgMCya.css +0 -1
  22. package/dist/RenamePage-CQF0H3Kh.js +0 -2
  23. package/dist/RenamePage-CQF0H3Kh.js.map +0 -1
  24. package/dist/SettingsConfigurations-B9GWI5mw.css +0 -1
  25. package/dist/SettingsConfigurations-Cy7Cfmm4.js +0 -2
  26. package/dist/SettingsConfigurations-Cy7Cfmm4.js.map +0 -1
  27. package/dist/c-config-menu-BGV5XXU8.css +0 -1
  28. package/dist/c-config-menu-C99poXWy.js +0 -2
  29. package/dist/c-config-menu-C99poXWy.js.map +0 -1
  30. package/dist/c-edit-blocknote-ByH5aYGe.js +0 -257
  31. package/dist/c-edit-blocknote-ByH5aYGe.js.map +0 -1
  32. package/dist/c-edit-blocknote-gIdUYHeV.css +0 -1
  33. package/dist/chunk.24ZZSBUF-BmQPh48m.js +0 -89
  34. package/dist/chunk.24ZZSBUF-BmQPh48m.js.map +0 -1
  35. package/dist/chunk.36O46B5H-Cv2poSyf.js +0 -64
  36. package/dist/chunk.36O46B5H-Cv2poSyf.js.map +0 -1
  37. package/dist/chunk.3LWOA5DF-D8Va5Pmw.js +0 -77
  38. package/dist/chunk.3LWOA5DF-D8Va5Pmw.js.map +0 -1
  39. package/dist/chunk.3RPBFEDE-DI7eSlIl.js +0 -2
  40. package/dist/chunk.3RPBFEDE-DI7eSlIl.js.map +0 -1
  41. package/dist/chunk.4TUIT776-BvlNwMXD.js +0 -18
  42. package/dist/chunk.4TUIT776-BvlNwMXD.js.map +0 -1
  43. package/dist/chunk.6CTB5ZDJ-9Su7bEUQ.js +0 -2
  44. package/dist/chunk.6CTB5ZDJ-9Su7bEUQ.js.map +0 -1
  45. package/dist/chunk.7E4JTYWU-Ci99jpyG.js +0 -75
  46. package/dist/chunk.7E4JTYWU-Ci99jpyG.js.map +0 -1
  47. package/dist/chunk.AJ3ENQ5C-zot94vv9.js +0 -2
  48. package/dist/chunk.AJ3ENQ5C-zot94vv9.js.map +0 -1
  49. package/dist/chunk.B4BZKR24-B0iVuGLD.js +0 -2
  50. package/dist/chunk.B4BZKR24-B0iVuGLD.js.map +0 -1
  51. package/dist/chunk.D5YQDJ7X-_UyNui_V.js +0 -2
  52. package/dist/chunk.D5YQDJ7X-_UyNui_V.js.map +0 -1
  53. package/dist/chunk.DFHYNK3F-bS0lNIuO.js +0 -86
  54. package/dist/chunk.DFHYNK3F-bS0lNIuO.js.map +0 -1
  55. package/dist/chunk.GMYPQTFK-BT1AAYXJ.js +0 -2
  56. package/dist/chunk.GMYPQTFK-BT1AAYXJ.js.map +0 -1
  57. package/dist/chunk.J5ZM7LIC-n6gjp3-L.js +0 -244
  58. package/dist/chunk.J5ZM7LIC-n6gjp3-L.js.map +0 -1
  59. package/dist/chunk.JCXLDPQF-BOaK9AtU.js +0 -622
  60. package/dist/chunk.JCXLDPQF-BOaK9AtU.js.map +0 -1
  61. package/dist/chunk.JHOXTQXA-CWkZ1weQ.js +0 -24
  62. package/dist/chunk.JHOXTQXA-CWkZ1weQ.js.map +0 -1
  63. package/dist/chunk.JQBT7BOV-BKSO0Hfn.js +0 -3378
  64. package/dist/chunk.JQBT7BOV-BKSO0Hfn.js.map +0 -1
  65. package/dist/chunk.JXOKFADN-DpK3Q_uU.js +0 -785
  66. package/dist/chunk.JXOKFADN-DpK3Q_uU.js.map +0 -1
  67. package/dist/chunk.KPLQLAWP-DUYDfZ7-.js +0 -163
  68. package/dist/chunk.KPLQLAWP-DUYDfZ7-.js.map +0 -1
  69. package/dist/chunk.LD4M4QGE-cX1_6HT7.js +0 -2
  70. package/dist/chunk.LD4M4QGE-cX1_6HT7.js.map +0 -1
  71. package/dist/chunk.NYIIDP5N-AHr3eTN0.js +0 -2
  72. package/dist/chunk.NYIIDP5N-AHr3eTN0.js.map +0 -1
  73. package/dist/chunk.R45OWEVP-WMyXo-Fn.js +0 -181
  74. package/dist/chunk.R45OWEVP-WMyXo-Fn.js.map +0 -1
  75. package/dist/chunk.RWUUFNUL-BJhNq5wM.js +0 -2
  76. package/dist/chunk.RWUUFNUL-BJhNq5wM.js.map +0 -1
  77. package/dist/chunk.RY756JLP-BUknFjxa.js +0 -22
  78. package/dist/chunk.RY756JLP-BUknFjxa.js.map +0 -1
  79. package/dist/chunk.SI4ACBFK-BB831ml8.js +0 -58
  80. package/dist/chunk.SI4ACBFK-BB831ml8.js.map +0 -1
  81. package/dist/chunk.TRHSUYII-DFnBKJNh.js +0 -140
  82. package/dist/chunk.TRHSUYII-DFnBKJNh.js.map +0 -1
  83. package/dist/chunk.XA43ZQPC-maNlqVLX.js +0 -395
  84. package/dist/chunk.XA43ZQPC-maNlqVLX.js.map +0 -1
  85. package/dist/chunk.XSFJLY2D-ldEKWtxN.js +0 -178
  86. package/dist/chunk.XSFJLY2D-ldEKWtxN.js.map +0 -1
  87. package/dist/chunk.YHLNUJ7P-BGNuPG1R.js +0 -109
  88. package/dist/chunk.YHLNUJ7P-BGNuPG1R.js.map +0 -1
  89. package/dist/chunk.ZGGPD2XJ-DD1S3h7C.js +0 -2
  90. package/dist/chunk.ZGGPD2XJ-DD1S3h7C.js.map +0 -1
  91. package/dist/chunk.ZH2AND3P-CzagA8cz.js +0 -288
  92. package/dist/chunk.ZH2AND3P-CzagA8cz.js.map +0 -1
  93. package/dist/class-map-DmaCJs8c.js +0 -2
  94. package/dist/class-map-DmaCJs8c.js.map +0 -1
  95. package/dist/filesystem-internal-link-serializer-BmtbMUwV.js +0 -2
  96. package/dist/filesystem-internal-link-serializer-BmtbMUwV.js.map +0 -1
  97. package/dist/floating-ui.dom-1S43Ew4Q.js +0 -2
  98. package/dist/floating-ui.dom-1S43Ew4Q.js.map +0 -1
  99. package/dist/github-CRi3Ye_z.js +0 -3
  100. package/dist/github-CRi3Ye_z.js.map +0 -1
  101. package/dist/github-internal-link-serializer-ChUBU16v.js +0 -2
  102. package/dist/github-internal-link-serializer-ChUBU16v.js.map +0 -1
  103. package/dist/hocuspocus-provider.esm-DpwNtHpL.js +0 -2
  104. package/dist/hocuspocus-provider.esm-DpwNtHpL.js.map +0 -1
  105. package/dist/if-defined-O-hFrvt0.js +0 -2
  106. package/dist/if-defined-O-hFrvt0.js.map +0 -1
  107. package/dist/index-B1WxkRNy.js +0 -254
  108. package/dist/index-B1WxkRNy.js.map +0 -1
  109. package/dist/index-BgL5UHSB.css +0 -1
  110. package/dist/index-DWPjg9z3.js +0 -2
  111. package/dist/index-DWPjg9z3.js.map +0 -1
  112. package/dist/index-qhuTooVL.js +0 -3
  113. package/dist/index-qhuTooVL.js.map +0 -1
  114. package/dist/index.html +0 -13
  115. package/dist/live-z5w0O4st.js +0 -2
  116. package/dist/live-z5w0O4st.js.map +0 -1
  117. package/dist/module-RjUF93sV.js +0 -717
  118. package/dist/module-RjUF93sV.js.map +0 -1
  119. package/dist/native-48B9X9Wg.js +0 -2
  120. package/dist/native-48B9X9Wg.js.map +0 -1
  121. package/dist/nextcloud-B3M7otLC.js +0 -31
  122. package/dist/nextcloud-B3M7otLC.js.map +0 -1
  123. package/dist/nextcloud-internal-link-serializer-6Syv5TEU.js +0 -7
  124. package/dist/nextcloud-internal-link-serializer-6Syv5TEU.js.map +0 -1
  125. package/dist/offline-3x82kJQp.js +0 -4
  126. package/dist/offline-3x82kJQp.js.map +0 -1
  127. package/dist/query-x48B6FB_.js +0 -2
  128. package/dist/query-x48B6FB_.js.map +0 -1
  129. package/dist/shoelace-ZF5apisL.js +0 -3
  130. package/dist/shoelace-ZF5apisL.js.map +0 -1
  131. package/dist/static-Dm20cmTz.js +0 -3
  132. package/dist/static-Dm20cmTz.js.map +0 -1
  133. package/dist/staticBuild-BOgweg16.js +0 -2
  134. package/dist/staticBuild-BOgweg16.js.map +0 -1
  135. package/dist/translations-D5nOIu3x.js +0 -2
  136. package/dist/translations-D5nOIu3x.js.map +0 -1
  137. package/dist/translations-Ds9OkLNv.js +0 -2
  138. package/dist/translations-Ds9OkLNv.js.map +0 -1
  139. package/dist/vuetify-BxGNBe1U.js +0 -19
  140. package/dist/vuetify-BxGNBe1U.js.map +0 -1
  141. package/dist/vuetify-DJa-zcj7.css +0 -1
  142. package/dist/worker-BgcG6AhJ.js +0 -202
  143. package/dist/worker-BgcG6AhJ.js.map +0 -1
  144. package/dist/x-alert-BeYgGEHw.js +0 -2
  145. package/dist/x-alert-BeYgGEHw.js.map +0 -1
  146. package/dist/x-alert-BhErtBtU.css +0 -1
  147. package/dist/x-alert-DfYpLdml.css +0 -1
  148. package/dist/x-alert-Dy2REhpp.js +0 -2
  149. package/dist/x-alert-Dy2REhpp.js.map +0 -1
  150. package/dist/x-avatar-2efH4gNX.css +0 -1
  151. package/dist/x-avatar-C4CTlSRd.js +0 -2
  152. package/dist/x-avatar-C4CTlSRd.js.map +0 -1
  153. package/dist/x-avatar-DzYlPdwz.js +0 -2
  154. package/dist/x-avatar-DzYlPdwz.js.map +0 -1
  155. package/dist/x-breadcrumb-3U5TzpgN.js +0 -2
  156. package/dist/x-breadcrumb-3U5TzpgN.js.map +0 -1
  157. package/dist/x-breadcrumb-BMSNlvvi.css +0 -1
  158. package/dist/x-breadcrumb-BYgHeSE3.js +0 -2
  159. package/dist/x-breadcrumb-BYgHeSE3.js.map +0 -1
  160. package/dist/x-btn-9AKb7ryY.js +0 -2
  161. package/dist/x-btn-9AKb7ryY.js.map +0 -1
  162. package/dist/x-btn-CWfGjEgy.js +0 -2
  163. package/dist/x-btn-CWfGjEgy.js.map +0 -1
  164. package/dist/x-btn-DPGq6Sd-.css +0 -1
  165. package/dist/x-btn.vue_vue_type_script_setup_true_lang-D3pg_1oq.js +0 -2
  166. package/dist/x-btn.vue_vue_type_script_setup_true_lang-D3pg_1oq.js.map +0 -1
  167. package/dist/x-card-BiFAsKLZ.js +0 -2
  168. package/dist/x-card-BiFAsKLZ.js.map +0 -1
  169. package/dist/x-card-blonMcP4.js +0 -2
  170. package/dist/x-card-blonMcP4.js.map +0 -1
  171. package/dist/x-checkbox-BoqoQxdA.css +0 -1
  172. package/dist/x-checkbox-CfFCxOCr.js +0 -2
  173. package/dist/x-checkbox-CfFCxOCr.js.map +0 -1
  174. package/dist/x-checkbox-VDSX4CX7.js +0 -2
  175. package/dist/x-checkbox-VDSX4CX7.js.map +0 -1
  176. package/dist/x-col-DsUQg5Gm.js +0 -2
  177. package/dist/x-col-DsUQg5Gm.js.map +0 -1
  178. package/dist/x-container-B1osS5wH.js +0 -2
  179. package/dist/x-container-B1osS5wH.js.map +0 -1
  180. package/dist/x-dialog-Bk9LE0HR.css +0 -1
  181. package/dist/x-dialog-Cwb1fieH.js +0 -2
  182. package/dist/x-dialog-Cwb1fieH.js.map +0 -1
  183. package/dist/x-dialog-VzzVz38L.css +0 -1
  184. package/dist/x-dialog-eOwazoAI.js +0 -2
  185. package/dist/x-dialog-eOwazoAI.js.map +0 -1
  186. package/dist/x-divider-Bf6b5P6D.js +0 -2
  187. package/dist/x-divider-Bf6b5P6D.js.map +0 -1
  188. package/dist/x-divider-D36BIsQM.js +0 -2
  189. package/dist/x-divider-D36BIsQM.js.map +0 -1
  190. package/dist/x-dropdown-CxWpPIwn.css +0 -1
  191. package/dist/x-dropdown-DfwjES9w.js +0 -2
  192. package/dist/x-dropdown-DfwjES9w.js.map +0 -1
  193. package/dist/x-dropdown-GNs7ILlc.css +0 -1
  194. package/dist/x-dropdown-ds5_iBZ4.js +0 -2
  195. package/dist/x-dropdown-ds5_iBZ4.js.map +0 -1
  196. package/dist/x-file-input-B9mfyR4z.js +0 -2
  197. package/dist/x-file-input-B9mfyR4z.js.map +0 -1
  198. package/dist/x-file-input-BSstA5LD.css +0 -1
  199. package/dist/x-file-input-DftepgSQ.js +0 -2
  200. package/dist/x-file-input-DftepgSQ.js.map +0 -1
  201. package/dist/x-form-C5eClK9q.js +0 -2
  202. package/dist/x-form-C5eClK9q.js.map +0 -1
  203. package/dist/x-form-CK24VrXN.css +0 -1
  204. package/dist/x-form-DGUS5Veh.css +0 -1
  205. package/dist/x-form-etxLXE0R.js +0 -2
  206. package/dist/x-form-etxLXE0R.js.map +0 -1
  207. package/dist/x-img-CNPL9bZj.js +0 -2
  208. package/dist/x-img-CNPL9bZj.js.map +0 -1
  209. package/dist/x-img-DYWmHySi.js +0 -2
  210. package/dist/x-img-DYWmHySi.js.map +0 -1
  211. package/dist/x-load-BlPeW_ej.css +0 -1
  212. package/dist/x-load-CM4p-BU2.css +0 -1
  213. package/dist/x-load-CatWwBSt.js +0 -2
  214. package/dist/x-load-CatWwBSt.js.map +0 -1
  215. package/dist/x-load-pklPPw3d.js +0 -2
  216. package/dist/x-load-pklPPw3d.js.map +0 -1
  217. package/dist/x-menu-BmuGyRjl.css +0 -1
  218. package/dist/x-menu-C0JNNHR2.js +0 -2
  219. package/dist/x-menu-C0JNNHR2.js.map +0 -1
  220. package/dist/x-menu-CKBWYMym.js +0 -2
  221. package/dist/x-menu-CKBWYMym.js.map +0 -1
  222. package/dist/x-menu-item-9k48D3Mw.js +0 -2
  223. package/dist/x-menu-item-9k48D3Mw.js.map +0 -1
  224. package/dist/x-menu-item-fSf-cD7q.js +0 -2
  225. package/dist/x-menu-item-fSf-cD7q.js.map +0 -1
  226. package/dist/x-menu-label-BDlCFsFH.js +0 -2
  227. package/dist/x-menu-label-BDlCFsFH.js.map +0 -1
  228. package/dist/x-menu-label-C8o6TwqC.js +0 -2
  229. package/dist/x-menu-label-C8o6TwqC.js.map +0 -1
  230. package/dist/x-menu-label-DhRAj-fk.css +0 -1
  231. package/dist/x-row-DsUQg5Gm.js +0 -2
  232. package/dist/x-row-DsUQg5Gm.js.map +0 -1
  233. package/dist/x-search-C6XAaOXg.js +0 -2
  234. package/dist/x-search-C6XAaOXg.js.map +0 -1
  235. package/dist/x-search-CmWnWxsP.js +0 -2
  236. package/dist/x-search-CmWnWxsP.js.map +0 -1
  237. package/dist/x-select-C8GSGs-Z.js +0 -2
  238. package/dist/x-select-C8GSGs-Z.js.map +0 -1
  239. package/dist/x-select-Da6f14h4.js +0 -2
  240. package/dist/x-select-Da6f14h4.js.map +0 -1
  241. package/dist/x-tab-BDpZS53n.js +0 -2
  242. package/dist/x-tab-BDpZS53n.js.map +0 -1
  243. package/dist/x-tab-DV937RB-.js +0 -2
  244. package/dist/x-tab-DV937RB-.js.map +0 -1
  245. package/dist/x-tab-group-C3YcH4jU.js +0 -2
  246. package/dist/x-tab-group-C3YcH4jU.js.map +0 -1
  247. package/dist/x-tab-group-CT7pAQGH.js +0 -2
  248. package/dist/x-tab-group-CT7pAQGH.js.map +0 -1
  249. package/dist/x-tab-panel--wEPqeL9.js +0 -2
  250. package/dist/x-tab-panel--wEPqeL9.js.map +0 -1
  251. package/dist/x-tab-panel-BV2Axw5I.js +0 -2
  252. package/dist/x-tab-panel-BV2Axw5I.js.map +0 -1
  253. package/dist/x-text-field-B0juKwq0.js +0 -2
  254. package/dist/x-text-field-B0juKwq0.js.map +0 -1
  255. package/dist/x-text-field-CNuOWA3c.js +0 -2
  256. package/dist/x-text-field-CNuOWA3c.js.map +0 -1
  257. package/dist/x-tree-Aj-ivC70.js +0 -2
  258. package/dist/x-tree-Aj-ivC70.js.map +0 -1
  259. package/dist/x-tree-CUnE9yj-.js +0 -2
  260. package/dist/x-tree-CUnE9yj-.js.map +0 -1
  261. package/dist/x-tree-D0WG-8EM.css +0 -1
  262. package/dist/x-tree-OLo4IKf9.css +0 -1
  263. package/dist/xwiki-BeDAdEBl.js +0 -4
  264. package/dist/xwiki-BeDAdEBl.js.map +0 -1
  265. package/dist/xwiki-internal-link-serializer-Cd8xorru-_7nXuj98.js +0 -2
  266. package/dist/xwiki-internal-link-serializer-Cd8xorru-_7nXuj98.js.map +0 -1
  267. package/dist/xwiki-logo-color-DZ9bdNW4.svg +0 -18
  268. package/dist/yjs-VtUl3AlT.js +0 -6
  269. package/dist/yjs-VtUl3AlT.js.map +0 -1
@@ -1,2 +0,0 @@
1
- import{l as e,ax as a,aA as n}from"./index-B1WxkRNy.js";const c=e({__name:"x-load",setup(o){return(t,r)=>(a(),n("span"))}});export{c as default};
2
- //# sourceMappingURL=x-load-CatWwBSt.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"x-load-CatWwBSt.js","sources":["../../../ds/shoelace/src/vue/x-load.vue"],"sourcesContent":["<!--\n See the LICENSE file distributed with this work for additional\n information regarding copyright ownership.\n\n This is free software; you can redistribute it and/or modify it\n under the terms of the GNU Lesser General Public License as\n published by the Free Software Foundation; either version 2.1 of\n the License, or (at your option) any later version.\n\n This software 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 GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this software; if not, write to the Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n<script setup lang=\"ts\">\nimport \"@shoelace-style/shoelace/dist/themes/light.css\";\nimport \"./css/style.css\";\n</script>\n\n<template><span></span></template>\n\n<style scoped></style>\n"],"names":["_createElementBlock"],"mappings":"8GAwBUA,EAAa,MAAA"}
@@ -1,2 +0,0 @@
1
- import{l as e,ax as a,aA as n}from"./index-B1WxkRNy.js";const c=e({__name:"x-load",setup(o){return(t,r)=>(a(),n("span"))}});export{c as default};
2
- //# sourceMappingURL=x-load-pklPPw3d.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"x-load-pklPPw3d.js","sources":["../../../ds/vuetify/src/vue/x-load.vue"],"sourcesContent":["<!--\n See the LICENSE file distributed with this work for additional\n information regarding copyright ownership.\n\n This is free software; you can redistribute it and/or modify it\n under the terms of the GNU Lesser General Public License as\n published by the Free Software Foundation; either version 2.1 of\n the License, or (at your option) any later version.\n\n This software 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 GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this software; if not, write to the Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n<script setup lang=\"ts\">\nimport \"vuetify/styles\";\nimport \"./css/style.css\";\n</script>\n\n<template><span></span></template>\n\n<style scoped></style>\n"],"names":["_createElementBlock"],"mappings":"8GAwBUA,EAAa,MAAA"}
@@ -1 +0,0 @@
1
- .v-overlay[data-v-654a70f0]{z-index:var(--cr-z-index-dropdown)}
@@ -1,2 +0,0 @@
1
- import"./chunk.3RPBFEDE-DI7eSlIl.js";import"./chunk.J5ZM7LIC-n6gjp3-L.js";import"./chunk.JQBT7BOV-BKSO0Hfn.js";import"./chunk.RY756JLP-BUknFjxa.js";import"./chunk.DFHYNK3F-bS0lNIuO.js";import"./chunk.ZH2AND3P-CzagA8cz.js";import"./chunk.JXOKFADN-DpK3Q_uU.js";import"./chunk.XA43ZQPC-maNlqVLX.js";import"./chunk.JHOXTQXA-CWkZ1weQ.js";import"./chunk.4TUIT776-BvlNwMXD.js";import"./chunk.ZGGPD2XJ-DD1S3h7C.js";import"./chunk.KPLQLAWP-DUYDfZ7-.js";import"./chunk.D5YQDJ7X-_UyNui_V.js";import"./chunk.XSFJLY2D-ldEKWtxN.js";import"./chunk.SI4ACBFK-BB831ml8.js";import"./chunk.3LWOA5DF-D8Va5Pmw.js";import"./chunk.TRHSUYII-DFnBKJNh.js";import"./chunk.24ZZSBUF-BmQPh48m.js";import"./chunk.JCXLDPQF-BOaK9AtU.js";import"./chunk.36O46B5H-Cv2poSyf.js";import"./chunk.R45OWEVP-WMyXo-Fn.js";import"./chunk.7E4JTYWU-Ci99jpyG.js";import"./chunk.6CTB5ZDJ-9Su7bEUQ.js";import"./chunk.YHLNUJ7P-BGNuPG1R.js";import{l as r,a4 as m,ax as p,ay as i,az as e,aU as a}from"./index-B1WxkRNy.js";import"./chunk.AJ3ENQ5C-zot94vv9.js";import"./chunk.GMYPQTFK-BT1AAYXJ.js";import"./class-map-DmaCJs8c.js";import"./live-z5w0O4st.js";import"./query-x48B6FB_.js";import"./chunk.NYIIDP5N-AHr3eTN0.js";import"./if-defined-O-hFrvt0.js";import"./static-Dm20cmTz.js";import"./chunk.RWUUFNUL-BJhNq5wM.js";import"./chunk.LD4M4QGE-cX1_6HT7.js";import"./chunk.B4BZKR24-B0iVuGLD.js";import"./floating-ui.dom-1S43Ew4Q.js";const R=r({__name:"x-menu",setup(n){return(o,s)=>{const t=m("sl-menu");return p(),i(t,null,{default:e(()=>[a(o.$slots,"default")]),_:3})}}});export{R as default};
2
- //# sourceMappingURL=x-menu-C0JNNHR2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"x-menu-C0JNNHR2.js","sources":["../../../ds/shoelace/src/vue/x-menu.vue"],"sourcesContent":["<!--\n See the LICENSE file distributed with this work for additional\n information regarding copyright ownership.\n\n This is free software; you can redistribute it and/or modify it\n under the terms of the GNU Lesser General Public License as\n published by the Free Software Foundation; either version 2.1 of\n the License, or (at your option) any later version.\n\n This software 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 GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this software; if not, write to the Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n<script lang=\"ts\" setup>\nimport \"@shoelace-style/shoelace\";\n</script>\n<template>\n <sl-menu>\n <slot name=\"default\" />\n </sl-menu>\n</template>\n"],"names":["_createBlock","_component_sl_menu","_renderSlot","_ctx"],"mappings":"m7CAuBEA,EAEUC,EAAA,KAAA,WADR,IAAuB,CAAvBC,EAAuBC,EAAA,OAAA,SAAA,CAAA"}
@@ -1,2 +0,0 @@
1
- import{aG as a,a4 as o,ax as s,ay as n,az as c,aU as r}from"./index-B1WxkRNy.js";const _={};function d(e,f){const t=o("v-list");return s(),n(t,{density:"compact"},{default:c(()=>[r(e.$slots,"default",{},void 0,!0)]),_:3})}const i=a(_,[["render",d],["__scopeId","data-v-654a70f0"]]);export{i as default};
2
- //# sourceMappingURL=x-menu-CKBWYMym.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"x-menu-CKBWYMym.js","sources":["../../../ds/vuetify/src/vue/x-menu.vue"],"sourcesContent":["<!--\n See the LICENSE file distributed with this work for additional\n information regarding copyright ownership.\n\n This is free software; you can redistribute it and/or modify it\n under the terms of the GNU Lesser General Public License as\n published by the Free Software Foundation; either version 2.1 of\n the License, or (at your option) any later version.\n\n This software 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 GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this software; if not, write to the Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n<script lang=\"ts\" setup></script>\n<template>\n <v-list density=\"compact\">\n <slot name=\"default\" />\n </v-list>\n</template>\n<style scoped>\n.v-overlay {\n z-index: var(--cr-z-index-dropdown);\n}\n</style>\n"],"names":["_createBlock","_component_v_list","_renderSlot","_ctx"],"mappings":"2IAqBEA,EAESC,EAAA,CAFD,QAAQ,WAAS,WACvB,IAAuB,CAAvBC,EAAuBC,EAAA,OAAA,UAAA,CAAA,EAAA,OAAA,EAAA"}
@@ -1,2 +0,0 @@
1
- import"./chunk.JHOXTQXA-CWkZ1weQ.js";import"./chunk.4TUIT776-BvlNwMXD.js";import{l as o,a4 as l,ax as s,ay as n,az as m,aU as i}from"./index-B1WxkRNy.js";import"./query-x48B6FB_.js";const _=o({__name:"x-menu-item",props:{value:{},disabled:{type:Boolean}},setup(e){return(a,r)=>{const t=l("sl-menu-item");return s(),n(t,{value:e.value,disabled:e.disabled},{default:m(()=>[i(a.$slots,"default")]),_:3},8,["value","disabled"])}}});export{_ as default};
2
- //# sourceMappingURL=x-menu-item-9k48D3Mw.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"x-menu-item-9k48D3Mw.js","sources":["../../../ds/shoelace/src/vue/x-menu-item.vue"],"sourcesContent":["<!--\n See the LICENSE file distributed with this work for additional\n information regarding copyright ownership.\n\n This is free software; you can redistribute it and/or modify it\n under the terms of the GNU Lesser General Public License as\n published by the Free Software Foundation; either version 2.1 of\n the License, or (at your option) any later version.\n\n This software 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 GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this software; if not, write to the Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n<script lang=\"ts\" setup>\nimport \"@shoelace-style/shoelace/dist/components/menu/menu\";\nimport type { MenuItemProps } from \"@xwiki/platform-dsapi\";\n\ndefineProps<MenuItemProps>();\n</script>\n<template>\n <sl-menu-item :value=\"value\" :disabled=\"disabled\">\n <slot />\n </sl-menu-item>\n</template>\n"],"names":["_createBlock","_component_sl_menu_item","__props","_renderSlot","_ctx"],"mappings":"2TA0BEA,EAEeC,EAAA,CAFA,MAAOC,EAAA,MAAQ,SAAUA,EAAA,QAAA,aACtC,IAAQ,CAARC,EAAQC,EAAA,OAAA,SAAA,CAAA"}
@@ -1,2 +0,0 @@
1
- import{l,a4 as s,ax as o,ay as n,az as d,aU as i}from"./index-B1WxkRNy.js";const u=l({__name:"x-menu-item",props:{value:{},disabled:{type:Boolean}},setup(e){return(a,m)=>{const t=s("v-list-item");return o(),n(t,{value:e.value,disabled:e.disabled},{default:d(()=>[i(a.$slots,"default")]),_:3},8,["value","disabled"])}}});export{u as default};
2
- //# sourceMappingURL=x-menu-item-fSf-cD7q.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"x-menu-item-fSf-cD7q.js","sources":["../../../ds/vuetify/src/vue/x-menu-item.vue"],"sourcesContent":["<!--\n See the LICENSE file distributed with this work for additional\n information regarding copyright ownership.\n\n This is free software; you can redistribute it and/or modify it\n under the terms of the GNU Lesser General Public License as\n published by the Free Software Foundation; either version 2.1 of\n the License, or (at your option) any later version.\n\n This software 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 GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this software; if not, write to the Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n<script lang=\"ts\" setup>\nimport type { MenuItemProps } from \"@xwiki/platform-dsapi\";\n\ndefineProps<MenuItemProps>();\n</script>\n<template>\n <v-list-item :value=\"value\" :disabled=\"disabled\">\n <slot name=\"default\" />\n </v-list-item>\n</template>\n"],"names":["_createBlock","_component_v_list_item","__props","_renderSlot","_ctx"],"mappings":"+MAyBEA,EAEcC,EAAA,CAFA,MAAOC,EAAA,MAAQ,SAAUA,EAAA,QAAA,aACrC,IAAuB,CAAvBC,EAAuBC,EAAA,OAAA,SAAA,CAAA"}
@@ -1,2 +0,0 @@
1
- import"./chunk.JHOXTQXA-CWkZ1weQ.js";import"./chunk.4TUIT776-BvlNwMXD.js";import{l as o,a4 as t,ax as n,ay as s,az as l,aU as r,aG as _}from"./index-B1WxkRNy.js";import"./query-x48B6FB_.js";const p=o({__name:"x-menu-label",setup(m){return(e,c)=>{const a=t("sl-menu-label");return n(),s(a,null,{default:l(()=>[r(e.$slots,"default",{},void 0,!0)]),_:3})}}}),x=_(p,[["__scopeId","data-v-90093174"]]);export{x as default};
2
- //# sourceMappingURL=x-menu-label-BDlCFsFH.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"x-menu-label-BDlCFsFH.js","sources":["../../../ds/shoelace/src/vue/x-menu-label.vue"],"sourcesContent":["<!--\n See the LICENSE file distributed with this work for additional\n information regarding copyright ownership.\n\n This is free software; you can redistribute it and/or modify it\n under the terms of the GNU Lesser General Public License as\n published by the Free Software Foundation; either version 2.1 of\n the License, or (at your option) any later version.\n\n This software 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 GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this software; if not, write to the Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n<script lang=\"ts\" setup>\nimport \"@shoelace-style/shoelace/dist/components/menu/menu\";\n</script>\n<template>\n <sl-menu-label>\n <slot />\n </sl-menu-label>\n</template>\n\n<style scoped>\nsl-menu-label::part(base) {\n padding-top: 0;\n padding-bottom: 0;\n}\n</style>\n"],"names":["_createBlock","_component_sl_menu_label","_renderSlot","_ctx"],"mappings":"4RAuBEA,EAEgBC,EAAA,KAAA,WADd,IAAQ,CAARC,EAAQC,EAAA,OAAA,UAAA,CAAA,EAAA,OAAA,EAAA,CAAA"}
@@ -1,2 +0,0 @@
1
- import{aG as s,a4 as t,ax as o,ay as n,az as r,aU as c}from"./index-B1WxkRNy.js";const l={};function _(e,u){const a=t("v-list-subheader");return o(),n(a,null,{default:r(()=>[c(e.$slots,"default")]),_:3})}const f=s(l,[["render",_]]);export{f as default};
2
- //# sourceMappingURL=x-menu-label-C8o6TwqC.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"x-menu-label-C8o6TwqC.js","sources":["../../../ds/vuetify/src/vue/x-menu-label.vue"],"sourcesContent":["<!--\n See the LICENSE file distributed with this work for additional\n information regarding copyright ownership.\n\n This is free software; you can redistribute it and/or modify it\n under the terms of the GNU Lesser General Public License as\n published by the Free Software Foundation; either version 2.1 of\n the License, or (at your option) any later version.\n\n This software 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 GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this software; if not, write to the Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n<script lang=\"ts\" setup></script>\n<template>\n <v-list-subheader>\n <slot name=\"default\" />\n </v-list-subheader>\n</template>\n"],"names":["_createBlock","_component_v_list_subheader","_renderSlot","_ctx"],"mappings":"qJAqBEA,EAEmBC,EAAA,KAAA,WADjB,IAAuB,CAAvBC,EAAuBC,EAAA,OAAA,SAAA"}
@@ -1 +0,0 @@
1
- sl-menu-label[data-v-90093174]::part(base){padding-top:0;padding-bottom:0}
@@ -1,2 +0,0 @@
1
- import{aG as a,ax as o,aA as r,aU as t}from"./index-B1WxkRNy.js";const n={};function s(e,c){return o(),r("div",null,[t(e.$slots,"default")])}const f=a(n,[["render",s]]);export{f as default};
2
- //# sourceMappingURL=x-row-DsUQg5Gm.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"x-row-DsUQg5Gm.js","sources":["../../../ds/shoelace/src/vue/x-row.vue"],"sourcesContent":["<!--\n See the LICENSE file distributed with this work for additional\n information regarding copyright ownership.\n\n This is free software; you can redistribute it and/or modify it\n under the terms of the GNU Lesser General Public License as\n published by the Free Software Foundation; either version 2.1 of\n the License, or (at your option) any later version.\n\n This software 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 GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this software; if not, write to the Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n<template>\n <div>\n <slot />\n </div>\n</template>\n"],"names":["_createElementBlock","_renderSlot","_ctx"],"mappings":"uGAoBEA,EAEM,MAAA,KAAA,CADJC,EAAQC,EAAA,OAAA,SAAA"}
@@ -1,2 +0,0 @@
1
- import{aG as o,a4 as n,ax as a,ay as c}from"./index-B1WxkRNy.js";const t={};function r(s,i){const e=n("v-autocomplete");return a(),c(e,{density:"comfortable","menu-icon":"",placeholder:"Search","prepend-inner-icon":"mdi-magnify",variant:"solo","auto-select-first":"",rounded:""})}const m=o(t,[["render",r]]);export{m as default};
2
- //# sourceMappingURL=x-search-C6XAaOXg.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"x-search-C6XAaOXg.js","sources":["../../../ds/vuetify/src/vue/x-search.vue"],"sourcesContent":["<!--\n See the LICENSE file distributed with this work for additional\n information regarding copyright ownership.\n\n This is free software; you can redistribute it and/or modify it\n under the terms of the GNU Lesser General Public License as\n published by the Free Software Foundation; either version 2.1 of\n the License, or (at your option) any later version.\n\n This software 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 GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this software; if not, write to the Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n<script setup lang=\"ts\"></script>\n\n<template>\n <v-autocomplete\n density=\"comfortable\"\n menu-icon=\"\"\n placeholder=\"Search\"\n prepend-inner-icon=\"mdi-magnify\"\n variant=\"solo\"\n auto-select-first\n rounded\n ></v-autocomplete>\n</template>\n\n<style scoped></style>\n"],"names":["_createBlock","_component_v_autocomplete"],"mappings":"mIAsBEA,EAQkBC,EAAA,CAPhB,QAAQ,cACR,YAAU,GACV,YAAY,SACZ,qBAAmB,cACnB,QAAQ,OACR,oBAAA,GACA,QAAA"}
@@ -1,2 +0,0 @@
1
- import"./chunk.XA43ZQPC-maNlqVLX.js";import"./chunk.4TUIT776-BvlNwMXD.js";import"./chunk.SI4ACBFK-BB831ml8.js";import"./chunk.3RPBFEDE-DI7eSlIl.js";import"./chunk.6CTB5ZDJ-9Su7bEUQ.js";import"./chunk.YHLNUJ7P-BGNuPG1R.js";import"./chunk.ZGGPD2XJ-DD1S3h7C.js";import{l as p,a4 as o,ax as r,ay as i,az as m,n as a}from"./index-B1WxkRNy.js";import"./live-z5w0O4st.js";import"./class-map-DmaCJs8c.js";import"./chunk.NYIIDP5N-AHr3eTN0.js";import"./chunk.GMYPQTFK-BT1AAYXJ.js";import"./if-defined-O-hFrvt0.js";import"./query-x48B6FB_.js";const N=p({__name:"x-search",setup(n){return(s,c)=>{const t=o("sl-icon"),e=o("sl-input");return r(),i(e,{placeholder:"Search",size:"small",pill:""},{default:m(()=>[a(t,{slot:"prefix",name:"home"})]),_:1})}}});export{N as default};
2
- //# sourceMappingURL=x-search-CmWnWxsP.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"x-search-CmWnWxsP.js","sources":["../../../ds/shoelace/src/vue/x-search.vue"],"sourcesContent":["<!--\n See the LICENSE file distributed with this work for additional\n information regarding copyright ownership.\n\n This is free software; you can redistribute it and/or modify it\n under the terms of the GNU Lesser General Public License as\n published by the Free Software Foundation; either version 2.1 of\n the License, or (at your option) any later version.\n\n This software 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 GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this software; if not, write to the Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n<script setup lang=\"ts\">\nimport \"@shoelace-style/shoelace/dist/components/input/input\";\nimport \"@shoelace-style/shoelace/dist/components/icon/icon\";\n</script>\n\n<template>\n <sl-input placeholder=\"Search\" size=\"small\" pill>\n <!--eslint-disable-next-line vue/no-deprecated-slot-attribute -->\n <sl-icon slot=\"prefix\" name=\"home\"></sl-icon>\n </sl-input>\n</template>\n\n<style scoped></style>\n"],"names":["_createBlock","_component_sl_input","_createVNode","_component_sl_icon"],"mappings":"wnBAyBEA,EAGWC,EAAA,CAHD,YAAY,SAAS,KAAK,QAAQ,KAAA,EAAA,aAE1C,IAA6C,CAA7CC,EAA6CC,EAAA,CAApC,KAAK,SAAS,KAAK,MAAA"}
@@ -1,2 +0,0 @@
1
- import{t as m}from"./translations-D5nOIu3x.js";import{l as n,aP as d,av as i,ax as c,ay as f,u as p,aR as V,k as b}from"./index-B1WxkRNy.js";import{d as v}from"./vuetify-BxGNBe1U.js";const k=n({__name:"x-select",props:V({label:{},items:{},help:{},required:{type:Boolean},modelValue:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=e,s=d(e,"modelValue"),{t:u}=i({messages:m}),r=b(()=>{const a=[];return t.required&&a.push(l=>l?!0:u("vuetify.select.input.mandatory")),a});return(a,l)=>(c(),f(p(v),{modelValue:s.value,"onUpdate:modelValue":l[0]||(l[0]=o=>s.value=o),label:e.label,messages:e.help,items:e.items,rules:r.value,clearable:!e.required},null,8,["modelValue","label","messages","items","rules","clearable"]))}});export{k as default};
2
- //# sourceMappingURL=x-select-C8GSGs-Z.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"x-select-C8GSGs-Z.js","sources":["../../../ds/vuetify/src/vue/form/x-select.vue"],"sourcesContent":["<!--\n See the LICENSE file distributed with this work for additional\n information regarding copyright ownership.\n\n This is free software; you can redistribute it and/or modify it\n under the terms of the GNU Lesser General Public License as\n published by the Free Software Foundation; either version 2.1 of\n the License, or (at your option) any later version.\n\n This software 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 GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this software; if not, write to the Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n<script lang=\"ts\" setup>\nimport messages from \"../../translations\";\nimport { computed } from \"vue\";\nimport { useI18n } from \"vue-i18n\";\nimport { VSelect } from \"vuetify/components/VSelect\";\nimport type { SelectProps } from \"@xwiki/platform-dsapi\";\n\nconst props = defineProps<SelectProps>();\nconst selected = defineModel<string>();\n\nconst { t } = useI18n({\n messages,\n});\n\nconst rules = computed(() => {\n const rulesList = [];\n if (props.required) {\n rulesList.push((value: unknown) => {\n if (value) {\n return true;\n } else {\n return t(\"vuetify.select.input.mandatory\");\n }\n });\n }\n return rulesList;\n});\n</script>\n<template>\n <v-select\n v-model=\"selected\"\n :label=\"label\"\n :messages=\"help\"\n :items=\"items\"\n :rules=\"rules\"\n :clearable=\"!required\"\n ></v-select>\n</template>\n"],"names":["props","__props","selected","_useModel","t","useI18n","messages","rules","computed","rulesList","value","_createBlock","_unref","VSelect","$event"],"mappings":"sWA0BA,MAAMA,EAAQC,EACRC,EAAWC,EAAmBF,EAAA,YAAC,EAE/B,CAAE,EAAAG,CAAA,EAAMC,EAAQ,CAAA,SACpBC,CAAA,CACD,EAEKC,EAAQC,EAAS,IAAM,CAC3B,MAAMC,EAAY,CAAA,EAClB,OAAIT,EAAM,UACRS,EAAU,KAAMC,GACVA,EACK,GAEAN,EAAE,gCAAgC,CAE5C,EAEIK,CACT,CAAC,oBAGCE,EAOYC,EAAAC,CAAA,EAAA,YANDX,EAAA,2CAAAA,EAAQ,MAAAY,GAChB,MAAOb,EAAA,MACP,SAAUA,EAAA,KACV,MAAOA,EAAA,MACP,MAAOM,EAAA,MACP,WAAYN,EAAA,QAAA"}
@@ -1,2 +0,0 @@
1
- import{l as p,aP as u,a4 as r,ax as a,ay as i,az as s,aA as d,F as c,aT as f,Z as v,V as x,a2 as b,aR as V}from"./index-B1WxkRNy.js";import"./chunk.JXOKFADN-DpK3Q_uU.js";import"./chunk.6CTB5ZDJ-9Su7bEUQ.js";import"./chunk.YHLNUJ7P-BGNuPG1R.js";import"./chunk.4TUIT776-BvlNwMXD.js";import"./chunk.SI4ACBFK-BB831ml8.js";import"./chunk.3RPBFEDE-DI7eSlIl.js";import"./chunk.7E4JTYWU-Ci99jpyG.js";import"./class-map-DmaCJs8c.js";import"./chunk.RWUUFNUL-BJhNq5wM.js";import"./floating-ui.dom-1S43Ew4Q.js";import"./query-x48B6FB_.js";import"./chunk.AJ3ENQ5C-zot94vv9.js";import"./chunk.B4BZKR24-B0iVuGLD.js";import"./chunk.NYIIDP5N-AHr3eTN0.js";import"./chunk.GMYPQTFK-BT1AAYXJ.js";import"./static-Dm20cmTz.js";import"./if-defined-O-hFrvt0.js";const P=p({__name:"x-select",props:V({label:{},items:{},help:{},required:{type:Boolean},modelValue:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const o=u(e,"modelValue");return(g,l)=>{const m=r("sl-option"),n=r("sl-select");return a(),i(n,{label:e.label,"help-text":e.help,required:e.required,value:o.value,clearable:!e.required,onSlChange:l[0]||(l[0]=t=>o.value=t.target.value),onSlHide:l[1]||(l[1]=b(()=>{},["stop"]))},{default:s(()=>[(a(!0),d(c,null,f(e.items,t=>(a(),i(m,{key:t,value:t},{default:s(()=>[v(x(t),1)]),_:2},1032,["value"]))),128))]),_:1},8,["label","help-text","required","value","clearable"])}}});export{P as default};
2
- //# sourceMappingURL=x-select-Da6f14h4.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"x-select-Da6f14h4.js","sources":["../../../ds/shoelace/src/vue/form/x-select.vue"],"sourcesContent":["<!--\n See the LICENSE file distributed with this work for additional\n information regarding copyright ownership.\n\n This is free software; you can redistribute it and/or modify it\n under the terms of the GNU Lesser General Public License as\n published by the Free Software Foundation; either version 2.1 of\n the License, or (at your option) any later version.\n\n This software 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 GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this software; if not, write to the Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n<script lang=\"ts\" setup>\nimport \"@shoelace-style/shoelace/dist/components/option/option\";\nimport \"@shoelace-style/shoelace/dist/components/select/select\";\nimport type { SelectProps } from \"@xwiki/platform-dsapi\";\n\ndefineProps<SelectProps>();\n\nconst selected = defineModel<string>();\n</script>\n<template>\n <sl-select\n :label=\"label\"\n :help-text=\"help\"\n :required=\"required\"\n :value=\"selected\"\n :clearable=\"!required\"\n @sl-change=\"selected = $event.target.value\"\n @sl-hide.stop\n >\n <sl-option v-for=\"item in items\" :key=\"item\" :value=\"item\">{{\n item\n }}</sl-option>\n </sl-select>\n</template>\n"],"names":["selected","_useModel","__props","_createBlock","_component_sl_select","$event","_createElementBlock","_Fragment","_renderList","item","_component_sl_option"],"mappings":"g5BA0BA,MAAMA,EAAWC,EAAmBC,EAAA,YAAC,mEAGnCC,EAYYC,EAAA,CAXT,MAAOF,EAAA,MACP,YAAWA,EAAA,KACX,SAAUA,EAAA,SACV,MAAOF,EAAA,MACP,WAAYE,EAAA,SACZ,0BAAWF,EAAA,MAAWK,EAAO,OAAO,OACpC,uBAAD,IAAA,CAAA,EAAa,CAAA,MAAA,CAAA,EAAA,aAEF,IAAqB,QAAhCC,EAEcC,EAAA,KAAAC,EAFYN,EAAA,MAARO,QAAlBN,EAEcO,EAAA,CAFoB,IAAKD,EAAO,MAAOA,CAAA,aAAM,IAEzD,KADAA,CAAI,EAAA,CAAA,CAAA"}
@@ -1,2 +0,0 @@
1
- import{l as o,a4 as n,ax as s,ay as r,az as l,aU as c}from"./index-B1WxkRNy.js";const u=o({__name:"x-tab",props:{tabId:{}},setup(a){return(e,p)=>{const t=n("v-tab");return s(),r(t,{value:a.tabId},{default:l(()=>[c(e.$slots,"default")]),_:3},8,["value"])}}});export{u as default};
2
- //# sourceMappingURL=x-tab-BDpZS53n.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"x-tab-BDpZS53n.js","sources":["../../../ds/vuetify/src/vue/x-tab.vue"],"sourcesContent":["<!--\n See the LICENSE file distributed with this work for additional\n information regarding copyright ownership.\n\n This is free software; you can redistribute it and/or modify it\n under the terms of the GNU Lesser General Public License as\n published by the Free Software Foundation; either version 2.1 of\n the License, or (at your option) any later version.\n\n This software 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 GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this software; if not, write to the Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n<script setup lang=\"ts\">\nimport type { TabProps } from \"@xwiki/platform-dsapi\";\n\ndefineProps<TabProps>();\n</script>\n\n<template>\n <v-tab :value=\"tabId\"><slot></slot></v-tab>\n</template>\n\n<style scoped></style>\n"],"names":["_createBlock","_component_v_tab","__props","_renderSlot","_ctx"],"mappings":"gLA0BEA,EAA2CC,EAAA,CAAnC,MAAOC,EAAA,OAAK,WAAE,IAAa,CAAbC,EAAaC,EAAA,OAAA,SAAA,CAAA"}
@@ -1,2 +0,0 @@
1
- import"./chunk.DFHYNK3F-bS0lNIuO.js";import"./chunk.7E4JTYWU-Ci99jpyG.js";import"./chunk.6CTB5ZDJ-9Su7bEUQ.js";import"./chunk.YHLNUJ7P-BGNuPG1R.js";import"./chunk.4TUIT776-BvlNwMXD.js";import{l as e,a4 as r,ax as p,ay as n,az as s,aU as m}from"./index-B1WxkRNy.js";import"./chunk.GMYPQTFK-BT1AAYXJ.js";import"./class-map-DmaCJs8c.js";import"./query-x48B6FB_.js";import"./static-Dm20cmTz.js";import"./if-defined-O-hFrvt0.js";const v=e({__name:"x-tab",props:{tabId:{}},setup(t){return(o,i)=>{const a=r("sl-tab");return p(),n(a,{slot:"nav",panel:t.tabId},{default:s(()=>[m(o.$slots,"default")]),_:3},8,["panel"])}}});export{v as default};
2
- //# sourceMappingURL=x-tab-DV937RB-.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"x-tab-DV937RB-.js","sources":["../../../ds/shoelace/src/vue/x-tab.vue"],"sourcesContent":["<!--\n See the LICENSE file distributed with this work for additional\n information regarding copyright ownership.\n\n This is free software; you can redistribute it and/or modify it\n under the terms of the GNU Lesser General Public License as\n published by the Free Software Foundation; either version 2.1 of\n the License, or (at your option) any later version.\n\n This software 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 GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this software; if not, write to the Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n<script setup lang=\"ts\">\nimport \"@shoelace-style/shoelace/dist/components/tab/tab\";\nimport type { TabProps } from \"@xwiki/platform-dsapi\";\n\ndefineProps<TabProps>();\n</script>\n\n<template>\n <sl-tab slot=\"nav\" :panel=\"tabId\"><slot></slot></sl-tab>\n</template>\n\n<style scoped></style>\n"],"names":["_createBlock","_component_sl_tab","__props","_renderSlot","_ctx"],"mappings":"ygBA2BEA,EAAwDC,EAAA,CAAhD,KAAK,MAAO,MAAOC,EAAA,KAAA,aAAO,IAAa,CAAbC,EAAaC,EAAA,OAAA,SAAA,CAAA"}
@@ -1,2 +0,0 @@
1
- import"./chunk.ZH2AND3P-CzagA8cz.js";import"./chunk.7E4JTYWU-Ci99jpyG.js";import"./chunk.6CTB5ZDJ-9Su7bEUQ.js";import"./chunk.YHLNUJ7P-BGNuPG1R.js";import"./chunk.4TUIT776-BvlNwMXD.js";import{l as p,a4 as s,ax as m,ay as i,az as l,aU as o}from"./index-B1WxkRNy.js";import"./chunk.GMYPQTFK-BT1AAYXJ.js";import"./chunk.RWUUFNUL-BJhNq5wM.js";import"./class-map-DmaCJs8c.js";import"./query-x48B6FB_.js";import"./static-Dm20cmTz.js";import"./if-defined-O-hFrvt0.js";const $=p({__name:"x-tab-group",emits:["tab-change"],setup(c,{emit:a}){const e=a;function r(t){e("tab-change",t.detail.name)}return(t,_)=>{const n=s("sl-tab-group");return m(),i(n,{onSlTabShow:r},{default:l(()=>[o(t.$slots,"tabs"),o(t.$slots,"panels")]),_:3})}}});export{$ as default};
2
- //# sourceMappingURL=x-tab-group-C3YcH4jU.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"x-tab-group-C3YcH4jU.js","sources":["../../../ds/shoelace/src/vue/x-tab-group.vue"],"sourcesContent":["<!--\n See the LICENSE file distributed with this work for additional\n information regarding copyright ownership.\n\n This is free software; you can redistribute it and/or modify it\n under the terms of the GNU Lesser General Public License as\n published by the Free Software Foundation; either version 2.1 of\n the License, or (at your option) any later version.\n\n This software 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 GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this software; if not, write to the Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n<script setup lang=\"ts\">\nimport \"@shoelace-style/shoelace/dist/components/tab-group/tab-group\";\nconst emits = defineEmits([\"tab-change\"]);\n\nfunction change(event: CustomEvent<{ name: string }>) {\n emits(\"tab-change\", event.detail.name);\n}\n</script>\n\n<template>\n <sl-tab-group @sl-tab-show=\"change\">\n <slot name=\"tabs\"></slot>\n <slot name=\"panels\"></slot>\n </sl-tab-group>\n</template>\n\n<style scoped></style>\n"],"names":["emits","__emit","change","event","_createBlock","_component_sl_tab_group","_renderSlot","_ctx"],"mappings":"ohBAqBA,MAAMA,EAAQC,EAEd,SAASC,EAAOC,EAAsC,CACpDH,EAAM,aAAcG,EAAM,OAAO,IAAI,CACvC,oDAIEC,EAGeC,EAAA,CAHA,YAAaH,GAAM,WAChC,IAAyB,CAAzBI,EAAyBC,EAAA,OAAA,MAAA,EACzBD,EAA2BC,EAAA,OAAA,QAAA,CAAA"}
@@ -1,2 +0,0 @@
1
- import{l as f,a4 as o,ax as i,ay as b,az as n,n as l,aU as u,h as V}from"./index-B1WxkRNy.js";const w=f({__name:"x-tab-group",emits:["tab-change"],setup(x,{emit:d}){const a=V(),m=d;function r(e){typeof e=="string"&&m("tab-change",e)}return(e,t)=>{const _=o("v-tabs"),c=o("v-tabs-window"),p=o("v-card-text"),v=o("v-card");return i(),b(v,{class:"mx-auto"},{default:n(()=>[l(_,{modelValue:a.value,"onUpdate:modelValue":[t[0]||(t[0]=s=>a.value=s),r]},{default:n(()=>[u(e.$slots,"tabs")]),_:3},8,["modelValue"]),l(p,null,{default:n(()=>[l(c,{modelValue:a.value,"onUpdate:modelValue":t[1]||(t[1]=s=>a.value=s)},{default:n(()=>[u(e.$slots,"panels")]),_:3},8,["modelValue"])]),_:3})]),_:3})}}});export{w as default};
2
- //# sourceMappingURL=x-tab-group-CT7pAQGH.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"x-tab-group-CT7pAQGH.js","sources":["../../../ds/vuetify/src/vue/x-tab-group.vue"],"sourcesContent":["<!--\n See the LICENSE file distributed with this work for additional\n information regarding copyright ownership.\n\n This is free software; you can redistribute it and/or modify it\n under the terms of the GNU Lesser General Public License as\n published by the Free Software Foundation; either version 2.1 of\n the License, or (at your option) any later version.\n\n This software 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 GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this software; if not, write to the Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n<script setup lang=\"ts\">\nimport { ref } from \"vue\";\nimport type { Ref } from \"vue\";\nconst tab: Ref<unknown> = ref();\n\nconst emits = defineEmits([\"tab-change\"]);\n\nfunction change(tabId: unknown) {\n if (typeof tabId == \"string\") {\n emits(\"tab-change\", tabId);\n }\n}\n</script>\n\n<template>\n <v-card class=\"mx-auto\">\n <v-tabs v-model=\"tab\" @update:model-value=\"change\">\n <slot name=\"tabs\"></slot>\n </v-tabs>\n <v-card-text>\n <v-tabs-window v-model=\"tab\">\n <slot name=\"panels\"></slot>\n </v-tabs-window>\n </v-card-text>\n </v-card>\n</template>\n\n<style scoped></style>\n"],"names":["tab","ref","emits","__emit","change","tabId","_createBlock","_component_v_card","_createVNode","_component_v_tabs","$event","_renderSlot","_ctx","_component_v_card_text","_component_v_tabs_window"],"mappings":"qKAsBA,MAAMA,EAAoBC,EAAA,EAEpBC,EAAQC,EAEd,SAASC,EAAOC,EAAgB,CAC1B,OAAOA,GAAS,UAClBH,EAAM,aAAcG,CAAK,CAE7B,oGAIEC,EASSC,EAAA,CATD,MAAM,WAAS,WACrB,IAES,CAFTC,EAESC,EAAA,YAFQT,EAAA,4CAAAA,EAAG,MAAAU,GAAuBN,CAAA,cACzC,IAAyB,CAAzBO,EAAyBC,EAAA,OAAA,MAAA,CAAA,0BAE3BJ,EAIcK,EAAA,KAAA,WAHZ,IAEgB,CAFhBL,EAEgBM,EAAA,YAFQd,EAAA,2CAAAA,EAAG,MAAAU,EAAA,aACzB,IAA2B,CAA3BC,EAA2BC,EAAA,OAAA,QAAA,CAAA"}
@@ -1,2 +0,0 @@
1
- import{l as o,a4 as n,ax as s,ay as l,az as r,aU as _}from"./index-B1WxkRNy.js";const d=o({__name:"x-tab-panel",props:{tabId:{}},setup(a){return(e,p)=>{const t=n("v-tabs-window-item");return s(),l(t,{value:a.tabId},{default:r(()=>[_(e.$slots,"default")]),_:3},8,["value"])}}});export{d as default};
2
- //# sourceMappingURL=x-tab-panel--wEPqeL9.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"x-tab-panel--wEPqeL9.js","sources":["../../../ds/vuetify/src/vue/x-tab-panel.vue"],"sourcesContent":["<!--\n See the LICENSE file distributed with this work for additional\n information regarding copyright ownership.\n\n This is free software; you can redistribute it and/or modify it\n under the terms of the GNU Lesser General Public License as\n published by the Free Software Foundation; either version 2.1 of\n the License, or (at your option) any later version.\n\n This software 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 GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this software; if not, write to the Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n<script setup lang=\"ts\">\nimport type { TabPanelProps } from \"@xwiki/platform-dsapi\";\n\ndefineProps<TabPanelProps>();\n</script>\n\n<template>\n <v-tabs-window-item :value=\"tabId\"><slot></slot></v-tabs-window-item>\n</template>\n"],"names":["_createBlock","_component_v_tabs_window_item","__props","_renderSlot","_ctx"],"mappings":"mMA0BEA,EAAqEC,EAAA,CAAhD,MAAOC,EAAA,OAAK,WAAE,IAAa,CAAbC,EAAaC,EAAA,OAAA,SAAA,CAAA"}
@@ -1,2 +0,0 @@
1
- import"./chunk.RY756JLP-BUknFjxa.js";import"./chunk.4TUIT776-BvlNwMXD.js";import{l as o,a4 as n,ax as s,ay as p,az as r,aU as l}from"./index-B1WxkRNy.js";import"./chunk.GMYPQTFK-BT1AAYXJ.js";import"./class-map-DmaCJs8c.js";const u=o({__name:"x-tab-panel",props:{tabId:{}},setup(a){return(t,m)=>{const e=n("sl-tab-panel");return s(),p(e,{name:a.tabId},{default:r(()=>[l(t.$slots,"default")]),_:3},8,["name"])}}});export{u as default};
2
- //# sourceMappingURL=x-tab-panel-BV2Axw5I.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"x-tab-panel-BV2Axw5I.js","sources":["../../../ds/shoelace/src/vue/x-tab-panel.vue"],"sourcesContent":["<!--\n See the LICENSE file distributed with this work for additional\n information regarding copyright ownership.\n\n This is free software; you can redistribute it and/or modify it\n under the terms of the GNU Lesser General Public License as\n published by the Free Software Foundation; either version 2.1 of\n the License, or (at your option) any later version.\n\n This software 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 GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this software; if not, write to the Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n<script setup lang=\"ts\">\nimport \"@shoelace-style/shoelace/dist/components/tab-panel/tab-panel\";\nimport type { TabPanelProps } from \"@xwiki/platform-dsapi\";\n\ndefineProps<TabPanelProps>();\n</script>\n\n<template>\n <sl-tab-panel :name=\"tabId\"><slot></slot></sl-tab-panel>\n</template>\n\n<style scoped></style>\n"],"names":["_createBlock","_component_sl_tab_panel","__props","_renderSlot","_ctx"],"mappings":"4UA2BEA,EAAwDC,EAAA,CAAzC,KAAMC,EAAA,OAAK,WAAE,IAAa,CAAbC,EAAaC,EAAA,OAAA,SAAA,CAAA"}
@@ -1,2 +0,0 @@
1
- import{t as r}from"./translations-D5nOIu3x.js";import{l as d,av as i,aP as m,ax as f,ay as y,az as c,aU as p,u as h,aR as x,k as V}from"./index-B1WxkRNy.js";import{a as v}from"./vuetify-BxGNBe1U.js";const M=d({__name:"x-text-field",props:x({name:{},label:{},required:{type:Boolean},autofocus:{type:Boolean},modelValue:{},help:{},readonly:{type:Boolean},type:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const{t:o}=i({messages:r}),u=e,l=m(e,"modelValue"),n=V(()=>{const t=[];return u.required&&t.push(a=>a?!0:o("vuetify.text.input.mandatory")),t});return(t,a)=>(f(),y(h(v),{modelValue:l.value,"onUpdate:modelValue":a[0]||(a[0]=s=>l.value=s),label:e.label,name:e.name,autofocus:e.autofocus,hint:e.help,"persistent-hint":e.help!==void 0,rules:n.value,readonly:e.readonly,type:e.type??"text"},{default:c(()=>[p(t.$slots,"default")]),_:3},8,["modelValue","label","name","autofocus","hint","persistent-hint","rules","readonly","type"]))}});export{M as default};
2
- //# sourceMappingURL=x-text-field-B0juKwq0.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"x-text-field-B0juKwq0.js","sources":["../../../ds/vuetify/src/vue/form/x-text-field.vue"],"sourcesContent":["<!--\n See the LICENSE file distributed with this work for additional\n information regarding copyright ownership.\n\n This is free software; you can redistribute it and/or modify it\n under the terms of the GNU Lesser General Public License as\n published by the Free Software Foundation; either version 2.1 of\n the License, or (at your option) any later version.\n\n This software 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 GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this software; if not, write to the Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n<script setup lang=\"ts\">\nimport messages from \"../../translations\";\nimport { computed } from \"vue\";\nimport { useI18n } from \"vue-i18n\";\nimport { VTextField } from \"vuetify/components/VTextField\";\nimport type { TextFieldProps } from \"@xwiki/platform-dsapi\";\n\nconst { t } = useI18n({\n messages,\n});\nconst props = defineProps<TextFieldProps>();\nconst input = defineModel<string>();\n\nconst rules = computed(() => {\n const rulesList = [];\n if (props.required) {\n rulesList.push((value: unknown) => {\n if (value) {\n return true;\n } else {\n return t(\"vuetify.text.input.mandatory\");\n }\n });\n }\n return rulesList;\n});\n</script>\n\n<template>\n <v-text-field\n v-model=\"input\"\n :label=\"label\"\n :name=\"name\"\n :autofocus=\"autofocus\"\n :hint=\"help\"\n :persistent-hint=\"help !== undefined\"\n :rules=\"rules\"\n :readonly=\"readonly\"\n :type=\"type ?? 'text'\"\n >\n <template #default>\n <slot name=\"default\" />\n </template>\n </v-text-field>\n</template>\n\n<style scoped></style>\n"],"names":["t","useI18n","messages","props","__props","input","_useModel","rules","computed","rulesList","value","_createBlock","_unref","VTextField","$event","_renderSlot","_ctx"],"mappings":"kbA0BA,KAAM,CAAE,EAAAA,CAAA,EAAMC,EAAQ,CAAA,SACpBC,CAAA,CACD,EACKC,EAAQC,EACRC,EAAQC,EAAmBF,EAAA,YAAC,EAE5BG,EAAQC,EAAS,IAAM,CAC3B,MAAMC,EAAY,CAAA,EAClB,OAAIN,EAAM,UACRM,EAAU,KAAMC,GACVA,EACK,GAEAV,EAAE,8BAA8B,CAE1C,EAEIS,CACT,CAAC,oBAICE,EAceC,EAAAC,CAAA,EAAA,YAbJR,EAAA,2CAAAA,EAAK,MAAAS,GACb,MAAOV,EAAA,MACP,KAAMA,EAAA,KACN,UAAWA,EAAA,UACX,KAAMA,EAAA,KACN,kBAAiBA,EAAA,OAAS,OAC1B,MAAOG,EAAA,MACP,SAAUH,EAAA,SACV,KAAMA,EAAA,MAAI,MAAA,GAEA,UACT,IAAuB,CAAvBW,EAAuBC,EAAA,OAAA,SAAA,CAAA"}
@@ -1,2 +0,0 @@
1
- import"./chunk.XA43ZQPC-maNlqVLX.js";import"./chunk.4TUIT776-BvlNwMXD.js";import"./chunk.SI4ACBFK-BB831ml8.js";import"./chunk.3RPBFEDE-DI7eSlIl.js";import"./chunk.6CTB5ZDJ-9Su7bEUQ.js";import"./chunk.YHLNUJ7P-BGNuPG1R.js";import{l as u,aP as m,a4 as i,ax as l,ay as s,az as d,aA as p,aU as f,aD as c,aR as y}from"./index-B1WxkRNy.js";import"./live-z5w0O4st.js";import"./class-map-DmaCJs8c.js";import"./chunk.NYIIDP5N-AHr3eTN0.js";import"./chunk.GMYPQTFK-BT1AAYXJ.js";import"./if-defined-O-hFrvt0.js";import"./query-x48B6FB_.js";const x={key:0,slot:"prefix"},A=u({__name:"x-text-field",props:y({name:{},label:{},required:{type:Boolean},autofocus:{type:Boolean},modelValue:{},help:{},readonly:{type:Boolean},type:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=m(e,"modelValue");return(a,o)=>{const r=i("sl-input");return l(),s(r,{label:e.label,name:e.name,"help-text":e.help,required:e.required,"^autofocus":e.autofocus,value:t.value,readonly:e.readonly,type:e.type??"text",onInput:o[0]||(o[0]=n=>t.value=n.target.value)},{default:d(()=>[a.$slots.default?(l(),p("div",x,[f(a.$slots,"default")])):c("",!0)]),_:3},8,["label","name","help-text","required","^autofocus","value","readonly","type"])}}});export{A as default};
2
- //# sourceMappingURL=x-text-field-CNuOWA3c.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"x-text-field-CNuOWA3c.js","sources":["../../../ds/shoelace/src/vue/form/x-text-field.vue"],"sourcesContent":["<!--\n See the LICENSE file distributed with this work for additional\n information regarding copyright ownership.\n\n This is free software; you can redistribute it and/or modify it\n under the terms of the GNU Lesser General Public License as\n published by the Free Software Foundation; either version 2.1 of\n the License, or (at your option) any later version.\n\n This software 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 GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this software; if not, write to the Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n<script setup lang=\"ts\">\nimport type { TextFieldProps } from \"@xwiki/platform-dsapi\";\nimport \"@shoelace-style/shoelace/dist/components/input/input\";\n\ndefineProps<TextFieldProps>();\n\nconst input = defineModel<string>();\n</script>\n\n<template>\n <sl-input\n :label=\"label\"\n :name=\"name\"\n :help-text=\"help\"\n :required=\"required\"\n :autofocus.attr=\"autofocus\"\n :value=\"input\"\n :readonly=\"readonly\"\n :type=\"type ?? 'text'\"\n @input=\"input = $event.target.value\"\n >\n <!-- @vue-expect-error the slot attribute is shoelace specific and is not know by the typechecker.\n Disabling it for now as I did not find an elegant solution to declare this property. -->\n <!--eslint-disable-next-line vue/no-deprecated-slot-attribute -->\n <div slot=\"prefix\" v-if=\"$slots.default\">\n <slot name=\"default\" />\n </div>\n </sl-input>\n</template>\n\n<style scoped></style>\n"],"names":["input","_useModel","__props","_createBlock","_component_sl_input","$event","$slots","_openBlock","_createElementBlock","_hoisted_1","_renderSlot","_ctx"],"mappings":"mxBAyBA,MAAMA,EAAQC,EAAmBC,EAAA,YAAC,iDAIhCC,EAiBWC,EAAA,CAhBR,MAAOF,EAAA,MACP,KAAMA,EAAA,KACN,YAAWA,EAAA,KACX,SAAUA,EAAA,SACV,aAAgBA,EAAA,UAChB,MAAOF,EAAA,MACP,SAAUE,EAAA,SACV,KAAMA,EAAA,MAAI,OACV,uBAAOF,EAAA,MAAQK,EAAO,OAAO,MAAA,aAK9B,IAEM,CAFmBC,EAAAA,OAAO,SAAhCC,IAAAC,EAEM,MAFNC,EAEM,CADJC,EAAuBC,EAAA,OAAA,SAAA,CAAA"}
@@ -1,2 +0,0 @@
1
- import{l as y,aP as s,y as h,ax as i,ay as C,az as k,aA as u,a2 as m,V as v,u as w,aR as x,h as A,aG as z}from"./index-B1WxkRNy.js";import{e as M}from"./vuetify-BxGNBe1U.js";const N=["href","onClick"],b=["href","onClick"],B=y({__name:"x-tree",props:x({rootNode:{},showRootNode:{type:Boolean},activated:{},opened:{},lazyLoadChildren:{type:Function},nodeClickAction:{type:Function}},{opened:{default:[],type:Array},openedModifiers:{},activated:{},activatedModifiers:{}}),emits:["update:opened","update:activated"],setup(a){const f=a,n=s(a,"opened"),o=s(a,"activated"),l=A([]);h(o,c,{immediate:!0});function c(){l.value=o.value?[o.value]:[]}function r(t){t.activatable&&(o.value=t.id)}async function p(t){await f.lazyLoadChildren(t)}return(t,d)=>(i(),C(w(M),{density:"compact",activated:l.value,items:a.showRootNode?[a.rootNode]:a.rootNode.children,"load-children":a.lazyLoadChildren?p:void 0,activatable:"","active-strategy":"independent","item-value":"id",opened:n.value,"onUpdate:opened":[d[0]||(d[0]=e=>n.value=e),d[1]||(d[1]=e=>n.value=e)],"onUpdate:activated":c},{title:k(({item:e})=>[a.nodeClickAction?(i(),u("a",{key:0,href:e.url,onClick:m(async()=>{r(e),await a.nodeClickAction(e)},["prevent"])},v(e.label),9,N)):(i(),u("a",{key:1,href:e.url,onClick:L=>r(e)},v(e.label),9,b))]),_:1},8,["activated","items","load-children","opened"]))}}),F=z(B,[["__scopeId","data-v-4e691a16"]]);export{F as default};
2
- //# sourceMappingURL=x-tree-Aj-ivC70.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"x-tree-Aj-ivC70.js","sources":["../../../ds/vuetify/src/vue/x-tree.vue"],"sourcesContent":["<!--\n See the LICENSE file distributed with this work for additional\n information regarding copyright ownership.\n\n This is free software; you can redistribute it and/or modify it\n under the terms of the GNU Lesser General Public License as\n published by the Free Software Foundation; either version 2.1 of\n the License, or (at your option) any later version.\n\n This software 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 GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this software; if not, write to the Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n<script setup lang=\"ts\" generic=\"T extends DisplayableTreeNode\">\nimport { ref, watch } from \"vue\";\nimport { VTreeview } from \"vuetify/components/VTreeview\";\nimport type { DisplayableTreeNode, TreeProps } from \"@xwiki/platform-dsapi\";\nimport type { Ref } from \"vue\";\n\nconst props = defineProps<TreeProps<T>>();\nconst opened = defineModel(\"opened\", { default: [], type: Array<string> });\nconst activated = defineModel<string | undefined>(\"activated\");\n\nconst activatedNodes: Ref<Array<string>> = ref([]);\n\nwatch(activated, resetActivated, { immediate: true });\n\nfunction resetActivated() {\n // Clicking on a node would activate it and this can't be disabled easily.\n // With this listener, we ensure that only the node we want stays active.\n activatedNodes.value = activated.value ? [activated.value] : [];\n}\n\nfunction updateActivated(newActivatedNode: DisplayableTreeNode) {\n if (newActivatedNode.activatable) {\n activated.value = newActivatedNode.id;\n }\n}\n\nasync function lazyLoadChildrenWrapper(node: unknown) {\n // We need this wrapper because our props are more specific than Vuetify's.\n await props.lazyLoadChildren!(node as T);\n}\n</script>\n\n<template>\n <v-treeview\n density=\"compact\"\n :activated=\"activatedNodes\"\n :items=\"showRootNode ? [rootNode] : rootNode.children\"\n :load-children=\"lazyLoadChildren ? lazyLoadChildrenWrapper : undefined\"\n activatable\n active-strategy=\"independent\"\n item-value=\"id\"\n v-model:opened=\"opened as string[]\"\n @update:opened=\"($event: string[]) => (opened = $event)\"\n @update:activated=\"resetActivated\"\n >\n <template #title=\"{ item }\">\n <a\n v-if=\"nodeClickAction\"\n :href=\"item.url\"\n @click.prevent=\"\n async () => {\n updateActivated(item);\n await nodeClickAction!(item as T);\n }\n \"\n >{{ item.label }}</a\n >\n <a v-else :href=\"item.url\" @click=\"updateActivated(item)\">{{\n item.label\n }}</a>\n </template>\n </v-treeview>\n</template>\n\n<style scoped>\n/* Remove the background color from the root div element. */\n.v-list {\n background: none;\n}\n:deep(a) {\n text-decoration: none;\n color: var(--cr-base-text-color);\n}\n/* Disable hover on items. */\n:deep(.v-list-item__overlay) {\n --v-hover-opacity: 0;\n}\n/* Disable hand cursor on items, since we disable the default click action. */\n:deep(.v-list-item--link) {\n cursor: default;\n}\n</style>\n"],"names":["props","__props","opened","_useModel","activated","activatedNodes","ref","watch","resetActivated","updateActivated","newActivatedNode","lazyLoadChildrenWrapper","node","_createBlock","_unref","VTreeview","$event","_withCtx","item","_createElementBlock","_withModifiers","_toDisplayString","_hoisted_1","_hoisted_2"],"mappings":"ygBAyBA,MAAMA,EAAQC,EACRC,EAASC,EAAWF,EAAC,QAA8C,EACnEG,EAAYD,IAAgC,WAAW,EAEvDE,EAAqCC,EAAI,EAAE,EAEjDC,EAAMH,EAAWI,EAAgB,CAAE,UAAW,GAAM,EAEpD,SAASA,GAAiB,CAGxBH,EAAe,MAAQD,EAAU,MAAQ,CAACA,EAAU,KAAK,EAAI,CAAA,CAC/D,CAEA,SAASK,EAAgBC,EAAuC,CAC1DA,EAAiB,cACnBN,EAAU,MAAQM,EAAiB,GAEvC,CAEA,eAAeC,EAAwBC,EAAe,CAEpD,MAAMZ,EAAM,iBAAkBY,CAAS,CACzC,mBAIEC,EA4BaC,EAAAC,CAAA,EAAA,CA3BX,QAAQ,UACP,UAAWV,EAAA,MACX,MAAOJ,EAAA,aAAY,CAAIA,UAAQ,EAAIA,EAAA,SAAS,SAC5C,gBAAeA,EAAA,iBAAmBU,EAA0B,OAC7D,YAAA,GACA,kBAAgB,cAChB,aAAW,KACH,OAAQT,EAAA,wCAAAA,EAAA,MAAMc,eACLA,GAAsBd,EAAA,MAASc,EAAA,EAC/C,qBAAkBR,CAAA,GAER,MAAKS,EACd,CAUC,CAXiB,KAAAC,KAAI,CAEdjB,EAAA,qBADRkB,EAUC,IAAA,OARE,KAAMD,EAAK,IACX,QAAKE,YAA+CX,EAAgBS,CAAI,EAAqB,MAAAjB,EAAA,gBAAiBiB,CAAI,iBAM/GG,EAAAH,EAAK,KAAK,EAAA,EAAAI,CAAA,QAEhBH,EAEM,IAAA,OAFK,KAAMD,EAAK,IAAM,QAAKF,GAAEP,EAAgBS,CAAI,CAAA,EACrDG,EAAAH,EAAK,KAAK,EAAA,EAAAK,CAAA,EAAA"}
@@ -1,2 +0,0 @@
1
- import{l as h,aW as g,aP as s,a4 as y,ax as a,ay as v,a2 as p,az as x,aA as u,V as k,aT as z,F as L,aR as A,aG as N}from"./index-B1WxkRNy.js";import"./chunk.J5ZM7LIC-n6gjp3-L.js";import"./chunk.XSFJLY2D-ldEKWtxN.js";import"./chunk.4TUIT776-BvlNwMXD.js";import"./chunk.SI4ACBFK-BB831ml8.js";import"./chunk.36O46B5H-Cv2poSyf.js";import"./chunk.3RPBFEDE-DI7eSlIl.js";import"./chunk.6CTB5ZDJ-9Su7bEUQ.js";import"./chunk.YHLNUJ7P-BGNuPG1R.js";import"./chunk.AJ3ENQ5C-zot94vv9.js";import"./chunk.GMYPQTFK-BT1AAYXJ.js";import"./class-map-DmaCJs8c.js";import"./live-z5w0O4st.js";import"./query-x48B6FB_.js";import"./chunk.NYIIDP5N-AHr3eTN0.js";import"./if-defined-O-hFrvt0.js";const B=["href"],R=["href"],S=h({__name:"x-tree-item",props:A({node:{},slot:{},lazyLoadChildren:{type:Function},nodeClickAction:{type:Function}},{opened:{default:[]},openedModifiers:{},activated:{},activatedModifiers:{}}),emits:["update:opened","update:activated"],setup(e){const i=g("current"),t=e,n=s(e,"opened"),d=s(e,"activated");function c(){t.node.activatable&&(d.value=t.node.id)}function r(){n.value?.includes(t.node.id)||(n.value=[t.node.id,...n.value])}function l(){if(n.value?.includes(t.node.id)){const C=n.value.indexOf(t.node.id);n.value.splice(C,1)}}async function M(){await t.lazyLoadChildren(t.node),t.node.children||(i.value.loading=!1,i.value.isLeaf=!0)}return(C,o)=>{const w=y("x-tree-item",!0),F=y("sl-tree-item");return a(),v(F,{ref_key:"current",ref:i,"data-id":e.node.id,selected:e.node.id===d.value,expanded:n.value.includes(e.node.id),lazy:e.lazyLoadChildren&&e.node.children?.length==0,onSlExpand:p(r,["stop"]),onSlCollapse:p(l,["stop"]),onSlLazyLoadOnce:o[3]||(o[3]=m=>e.lazyLoadChildren?M():void 0)},{default:x(()=>[e.nodeClickAction?(a(),u("a",{key:0,class:"undecorated",href:e.node.url,onClick:o[0]||(o[0]=p(async()=>{c(),await e.nodeClickAction(e.node)},["prevent"]))},k(e.node.label),9,B)):(a(),u("a",{key:1,class:"undecorated",href:e.node.url,onClick:c},k(e.node.label),9,R)),(a(!0),u(L,null,z(e.node.children,m=>(a(),v(w,{slot:"children",key:m.id,node:m,"lazy-load-children":e.lazyLoadChildren,"node-click-action":e.nodeClickAction,activated:d.value,"onUpdate:activated":o[1]||(o[1]=f=>d.value=f),opened:n.value,"onUpdate:opened":o[2]||(o[2]=f=>n.value=f)},null,8,["node","lazy-load-children","node-click-action","activated","opened"]))),128))]),_:1},8,["data-id","selected","expanded","lazy"])}}}),U=N(S,[["__scopeId","data-v-940282c7"]]),K=h({__name:"x-tree",props:A({rootNode:{},showRootNode:{type:Boolean},activated:{},opened:{},lazyLoadChildren:{type:Function},nodeClickAction:{type:Function}},{opened:{default:[]},openedModifiers:{},activated:{},activatedModifiers:{}}),emits:["update:opened","update:activated"],setup(e){const i=s(e,"opened"),t=s(e,"activated");return(n,d)=>{const c=y("sl-tree");return a(),v(c,null,{default:x(()=>[(a(!0),u(L,null,z(e.showRootNode?[e.rootNode]:e.rootNode.children,r=>(a(),v(U,{key:r.id,node:r,"lazy-load-children":e.lazyLoadChildren,"node-click-action":e.nodeClickAction,activated:t.value,"onUpdate:activated":d[0]||(d[0]=l=>t.value=l),opened:i.value,"onUpdate:opened":d[1]||(d[1]=l=>i.value=l)},null,8,["node","lazy-load-children","node-click-action","activated","opened"]))),128))]),_:1})}}});export{K as default};
2
- //# sourceMappingURL=x-tree-CUnE9yj-.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"x-tree-CUnE9yj-.js","sources":["../../../ds/shoelace/src/vue/x-tree-item.vue","../../../ds/shoelace/src/vue/x-tree.vue"],"sourcesContent":["<!--\n See the LICENSE file distributed with this work for additional\n information regarding copyright ownership.\n\n This is free software; you can redistribute it and/or modify it\n under the terms of the GNU Lesser General Public License as\n published by the Free Software Foundation; either version 2.1 of\n the License, or (at your option) any later version.\n\n This software 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 GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this software; if not, write to the Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n<script setup lang=\"ts\" generic=\"T extends DisplayableTreeNode\">\nimport \"@shoelace-style/shoelace/dist/components/tree-item/tree-item\";\nimport { useTemplateRef } from \"vue\";\nimport type SlTreeItem from \"@shoelace-style/shoelace/dist/components/tree-item/tree-item.d.ts\";\nimport type { DisplayableTreeNode } from \"@xwiki/platform-dsapi\";\n\nconst current = useTemplateRef<SlTreeItem>(\"current\");\n\nconst props = defineProps<{\n node: T;\n slot?: string;\n lazyLoadChildren?: (node: T) => Promise<void>;\n nodeClickAction?: (node: T) => Promise<void>;\n}>();\nconst opened = defineModel<string[]>(\"opened\", { default: [] });\nconst activated = defineModel<string | undefined>(\"activated\");\n\nfunction updateActivated() {\n if (props.node.activatable) {\n activated.value = props.node.id;\n }\n}\n\nfunction onExpand() {\n if (!opened.value?.includes(props.node.id)) {\n opened.value = [props.node.id, ...opened.value];\n }\n}\n\nfunction onCollapse() {\n if (opened.value?.includes(props.node.id)) {\n const index = opened.value.indexOf(props.node.id);\n opened.value.splice(index, 1);\n }\n}\n\nasync function lazyLoadChildrenWrapper() {\n await props.lazyLoadChildren!(props.node);\n\n // If there were no children added, we need to manually disable the loading\n // state.\n if (!props.node.children) {\n current.value!.loading = false;\n current.value!.isLeaf = true;\n }\n}\n</script>\n\n<template>\n <sl-tree-item\n ref=\"current\"\n :data-id=\"node.id\"\n :selected=\"node.id === activated\"\n :expanded=\"opened.includes(node.id)\"\n :lazy=\"lazyLoadChildren && node.children?.length == 0\"\n @sl-expand.stop=\"onExpand\"\n @sl-collapse.stop=\"onCollapse\"\n @sl-lazy-load.once=\"\n lazyLoadChildren ? lazyLoadChildrenWrapper() : undefined\n \"\n >\n <a\n v-if=\"nodeClickAction\"\n class=\"undecorated\"\n :href=\"node.url\"\n @click.prevent=\"\n async () => {\n updateActivated();\n await nodeClickAction!(node);\n }\n \"\n >{{ node.label }}</a\n >\n <a v-else class=\"undecorated\" :href=\"node.url\" @click=\"updateActivated\">{{\n node.label\n }}</a>\n <!-- eslint-disable vue/no-deprecated-slot-attribute -->\n <x-tree-item\n slot=\"children\"\n v-for=\"item in node.children\"\n :key=\"item.id\"\n :node=\"item as T\"\n :lazy-load-children=\"lazyLoadChildren\"\n :node-click-action=\"nodeClickAction\"\n v-model:activated=\"activated\"\n v-model:opened=\"opened\"\n >\n </x-tree-item>\n <!-- eslint-enable vue/no-deprecated-slot-attribute -->\n </sl-tree-item>\n</template>\n\n<style scoped>\nsl-tree-item > a.undecorated {\n text-decoration: none;\n color: var(--cr-base-text-color);\n}\n/* Disable hand cursor on items, since we disable the default click action. */\nsl-tree-item::part(base) {\n cursor: default;\n}\n</style>\n","<!--\n See the LICENSE file distributed with this work for additional\n information regarding copyright ownership.\n\n This is free software; you can redistribute it and/or modify it\n under the terms of the GNU Lesser General Public License as\n published by the Free Software Foundation; either version 2.1 of\n the License, or (at your option) any later version.\n\n This software 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 GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this software; if not, write to the Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n<script setup lang=\"ts\" generic=\"T extends DisplayableTreeNode\">\nimport XTreeItem from \"./x-tree-item.vue\";\nimport \"@shoelace-style/shoelace/dist/components/tree/tree\";\nimport type { DisplayableTreeNode, TreeProps } from \"@xwiki/platform-dsapi\";\n\ndefineProps<TreeProps<T>>();\nconst opened = defineModel<string[]>(\"opened\", { default: [] });\nconst activated = defineModel<string | undefined>(\"activated\");\n</script>\n\n<template>\n <sl-tree>\n <x-tree-item\n v-for=\"item in showRootNode ? [rootNode] : rootNode.children\"\n :key=\"item.id\"\n :node=\"item as T\"\n :lazy-load-children=\"lazyLoadChildren\"\n :node-click-action=\"nodeClickAction\"\n v-model:activated=\"activated\"\n v-model:opened=\"opened\"\n >\n </x-tree-item>\n </sl-tree>\n</template>\n"],"names":["current","useTemplateRef","props","__props","opened","_useModel","activated","updateActivated","onExpand","onCollapse","index","lazyLoadChildrenWrapper","_createBlock","_component_sl_tree_item","_createElementBlock","_cache","_withModifiers","_toDisplayString","_hoisted_1","_hoisted_2","_openBlock","_Fragment","_renderList","item","_component_x_tree_item","$event","_component_sl_tree","XTreeItem"],"mappings":"+6BAyBA,MAAMA,EAAUC,EAA2B,SAAS,EAE9CC,EAAQC,EAMRC,EAASC,EAAqBF,EAAC,QAAyB,EACxDG,EAAYD,IAAgC,WAAW,EAE7D,SAASE,GAAkB,CACrBL,EAAM,KAAK,cACbI,EAAU,MAAQJ,EAAM,KAAK,GAEjC,CAEA,SAASM,GAAW,CACbJ,EAAO,OAAO,SAASF,EAAM,KAAK,EAAE,IACvCE,EAAO,MAAQ,CAACF,EAAM,KAAK,GAAI,GAAGE,EAAO,KAAK,EAElD,CAEA,SAASK,GAAa,CACpB,GAAIL,EAAO,OAAO,SAASF,EAAM,KAAK,EAAE,EAAG,CACzC,MAAMQ,EAAQN,EAAO,MAAM,QAAQF,EAAM,KAAK,EAAE,EAChDE,EAAO,MAAM,OAAOM,EAAO,CAAC,CAC9B,CACF,CAEA,eAAeC,GAA0B,CACvC,MAAMT,EAAM,iBAAkBA,EAAM,IAAI,EAInCA,EAAM,KAAK,WACdF,EAAQ,MAAO,QAAU,GACzBA,EAAQ,MAAO,OAAS,GAE5B,0EAIEY,EAwCeC,EAAA,SAvCT,UAAJ,IAAIb,EACH,UAASG,EAAA,KAAK,GACd,SAAUA,EAAA,KAAK,KAAOG,EAAA,MACtB,SAAUF,EAAA,MAAO,SAASD,EAAA,KAAK,EAAE,EACjC,KAAMA,EAAA,kBAAoBA,OAAK,UAAU,QAAM,EAC/C,aAAgBK,EAAQ,CAAA,MAAA,CAAA,EACxB,eAAkBC,EAAU,CAAA,MAAA,CAAA,kCACFN,EAAA,iBAAmBQ,EAAA,EAA4B,OAAA,aAI1E,IAWC,CAVOR,EAAA,qBADRW,EAWC,IAAA,OATC,MAAM,cACL,KAAMX,EAAA,KAAK,IACX,QAAKY,EAAA,CAAA,IAAAA,EAAA,CAAA,EAAAC,YAA2CT,EAAA,EAAmC,MAAAJ,EAAA,gBAAiBA,EAAA,IAAI,kBAMrGc,EAAAd,EAAA,KAAK,KAAK,EAAA,EAAAe,CAAA,QAEhBJ,EAEM,IAAA,OAFI,MAAM,cAAe,KAAMX,EAAA,KAAK,IAAM,QAAOI,CAAA,EACrDU,EAAAd,EAAA,KAAK,KAAK,EAAA,EAAAgB,CAAA,IAGZC,EAAA,EAAA,EAAAN,EAUcO,EAAA,KAAAC,EARGnB,EAAA,KAAK,SAAboB,QAFTX,EAUcY,EAAA,CATZ,KAAK,WAEJ,IAAKD,EAAK,GACV,KAAMA,EACN,qBAAoBpB,EAAA,iBACpB,oBAAmBA,EAAA,gBACZ,UAAWG,EAAA,0CAAAA,EAAS,MAAAmB,GACpB,OAAQrB,EAAA,uCAAAA,EAAM,MAAAqB,EAAA,ydC/E5B,MAAMrB,EAASC,EAAqBF,EAAC,QAAyB,EACxDG,EAAYD,IAAgC,WAAW,gDAI3DO,EAWUc,EAAA,KAAA,WATN,IAA6D,QAD/DZ,EAScO,EAAA,KAAAC,EARGnB,eAAY,CAAIA,EAAA,QAAQ,EAAIA,EAAA,SAAS,SAA7CoB,QADTX,EASce,EAAA,CAPX,IAAKJ,EAAK,GACV,KAAMA,EACN,qBAAoBpB,EAAA,iBACpB,oBAAmBA,EAAA,gBACZ,UAAWG,EAAA,0CAAAA,EAAS,MAAAmB,GACpB,OAAQrB,EAAA,uCAAAA,EAAM,MAAAqB,EAAA"}
@@ -1 +0,0 @@
1
- .v-list[data-v-4e691a16]{background:none}[data-v-4e691a16] a{text-decoration:none;color:var(--cr-base-text-color)}[data-v-4e691a16] .v-list-item__overlay{--v-hover-opacity: 0}[data-v-4e691a16] .v-list-item--link{cursor:default}
@@ -1 +0,0 @@
1
- sl-tree-item>a.undecorated[data-v-940282c7]{text-decoration:none;color:var(--cr-base-text-color)}sl-tree-item[data-v-940282c7]::part(base){cursor:default}
@@ -1,4 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./AuthServiceBanner-7KaHK0Au.js","./index-B1WxkRNy.js","./index-BgL5UHSB.css","./AuthServiceBanner-BArubXdu.css","./xwiki-internal-link-serializer-Cd8xorru-_7nXuj98.js"])))=>i.map(i=>d[i]);
2
- import{aq as I,ae as j,ag as m,ar as A,a8 as h,ac as p,ai as R,as as E,aj as x,ah as b,am as _,al as v,ak as $,ao as q,at as H,a7 as X}from"./index-B1WxkRNy.js";function B(e,t){return I(e,t)}var F=Object.getOwnPropertyDescriptor,Q=(e,t,i,r)=>{for(var n=r>1?void 0:r?F(t,i):t,a=e.length-1,s;a>=0;a--)(s=e[a])&&(n=s(n)||n);return n},g=(e,t)=>(i,r)=>t(i,r,e);let S=class{constructor(e,t,i,r,n,a,s){this.logger=e,this.cristalApp=t,this.defaultHierarchyResolver=i,this.authenticationManagerProvider=r,this.storageProvider=n,this.urlParser=a,this.referenceSerializer=s,this.logger.setModule("storage.components.XWikiPageHierarchyResolver")}async getPageHierarchy(e,t=!0){let i=this.referenceSerializer.serialize(e);e.type==m.SPACE&&(i+=".WebHome");const r=A(this.cristalApp.getWikiConfig(),i);try{const n=await this.authenticationManagerProvider.get()?.getAuthorizationHeader(),a={Accept:"application/json"};n&&(a.Authorization=n);const l=await(await fetch(`${r}?prettyNames=true`,{headers:a})).json(),c=[];if(l.hierarchy.items.forEach(o=>{(o.type=="document"&&!new URL(o.url).pathname.endsWith("/")||o.type=="space")&&c.push({label:o.label,pageId:this.storageProvider.get().getPageFromViewURL(o.url),url:this.cristalApp.getRouter().resolve({name:"view",params:{page:this.referenceSerializer.serialize(this.urlParser.parse(o.url))}}).href})}),t){const o=l.hierarchy.items[0];c.unshift({label:o.label,pageId:this.storageProvider.get().getPageFromViewURL(o.url),url:this.cristalApp.getRouter().resolve({name:"view",params:{page:this.referenceSerializer.serialize(this.urlParser.parse(o.url))}}).href})}return c}catch(n){return this.logger.error(n),this.logger.debug(`Could not load hierarchy for page ${i}, falling back to default hierarchy resolver.`),this.defaultHierarchyResolver.getPageHierarchy(e)}}};S=Q([h(),g(0,p("Logger")),g(1,p("CristalApp")),g(2,p("PageHierarchyResolver")),g(3,p("AuthenticationManagerProvider")),g(4,p("StorageProvider")),g(5,p("RemoteURLParser")),g(5,R("XWiki")),g(6,p("ModelReferenceSerializer")),g(6,R("XWiki"))],S);let V=class{constructor(t){t.bind(j).to(S).inSingletonScope().whenNamed("XWiki")}};var K=Object.getOwnPropertyDescriptor,G=(e,t,i,r)=>{for(var n=r>1?void 0:r?K(t,i):t,a=e.length-1,s;a>=0;a--)(s=e[a])&&(n=s(n)||n);return n},w=(e,t)=>(i,r)=>t(i,r,e);let y=class{constructor(e,t,i,r){this.logger=e,this.cristalApp=t,this.authenticationManagerProvider=i,this.alertsService=r,this.logger.setModule("history.xwiki.XWikiPageRevisionManager")}async getRevisions(e,t,i){const r=e.document.getIdentifier();if(r==null)return this.alertsService.error(`Could not load page history for ${e.name}.`),[];const n=new URLSearchParams;t&&n.append("number",t.toString()),i&&n.append("start",i.toString());const a=A(this.cristalApp.getWikiConfig(),r)+"/history",s=new Map([["XWiki.superadmin",new Promise(l=>{l({name:"superadmin",profile:""})})]]);try{const l=await this.authenticationManagerProvider.get()?.getAuthorizationHeader(),c={Accept:"application/json"};l&&(c.Authorization=l);const u=await(await fetch(a,{headers:c})).json();return await Promise.all(u.historySummaries.map(async d=>(s.has(d.modifier)||s.set(d.modifier,this.getUserName(d.modifier)),{version:d.version,date:new Date(d.modified),user:await s.get(d.modifier),comment:d.comment,url:this.cristalApp.getRouter().resolve({name:"view",params:{page:r,revision:d.version}}).href})))}catch(l){return this.logger.error(l),this.alertsService.error(`Could not load page history for ${e.name}.`),[]}}async getUserName(e){const t=A(this.cristalApp.getWikiConfig(),e)+"/objects/XWiki.XWikiUsers/0";try{const i=await this.authenticationManagerProvider.get()?.getAuthorizationHeader(),r={Accept:"application/json"};i&&(r.Authorization=i);const a=await(await fetch(t,{headers:r})).json(),s=a.properties.filter(u=>u.name=="first_name").map(u=>u.value)??"",l=a.properties.filter(u=>u.name=="last_name").map(u=>u.value)??"",c=`${s} ${l}`.trim();let o;return c!=""?o=c:o=a.pageName,{name:o,username:a.pageName,profile:this.cristalApp.getRouter().resolve({name:"view",params:{page:e}}).href}}catch(i){return this.logger.error(i),this.logger.debug(`Could not load user details for page ${e}.`),{name:e,profile:""}}}};y=G([h(),w(0,p("Logger")),w(1,p("CristalApp")),w(2,p("AuthenticationManagerProvider")),w(3,p("AlertsService"))],y);let J=class{constructor(t){t.bind(E).to(y).inSingletonScope().whenNamed("XWiki")}};var Y=Object.getOwnPropertyDescriptor,Z=(e,t,i,r)=>{for(var n=r>1?void 0:r?Y(t,i):t,a=e.length-1,s;a>=0;a--)(s=e[a])&&(n=s(n)||n);return n},P=(e,t)=>(i,r)=>t(i,r,e);let k=class{constructor(e,t,i,r){this.cristalApp=e,this.remoteURLSerializerProvider=t,this.modelReferenceParserProvider=i,this.authenticationManagerProvider=r}async getLinks(e,t,i){return(await this.executeQuery(t,i,e)).map(this.mapToLink.bind(this)).filter(n=>n!==void 0).filter(this.filterLinks(t,i))}async executeQuery(e,t,i){const r=this.cristalApp.getWikiConfig().baseURL,a={query:this.initializeSolrQueryParameters(e,t).map(c=>`fq=${c}`).join(`
3
- `),nb:"20",media:"json",input:`*${i}*`},s=new URLSearchParams(a).toString();return await(await fetch(`${r}/bin/get/XWiki/SuggestSolrService?${s}`,{headers:{...await this.getCredentials()}})).json()}initializeSolrQueryParameters(e,t){const i=["locale:*","wiki:xwiki"];return e&&(e==b.ATTACHMENT?i.push("type:ATTACHMENT"):i.push("type:PAGE")),t&&i.push(`mimetype:((${t}))`),i}filterLinks(e,t){return i=>{if(e==null)return!0;{const r=i.type==e;return r?t?r:!0:!1}}}mapToLink(e){const t=e.reference,i=e.type,r=this.remoteURLSerializerProvider.get()?.serialize(this.modelReferenceParserProvider.get()?.parse(t))??"";if(i=="ATTACHMENT")return{type:b.ATTACHMENT,id:e.id,url:r,reference:t,label:e.filename[0],hint:e.filename[0]};if(i=="DOCUMENT"){const n=e.title_;return{type:b.PAGE,id:e.id,url:r,reference:t,label:n,hint:n}}}async getCredentials(){const e=await this.authenticationManagerProvider.get()?.getAuthorizationHeader(),t={};return e&&(t.Authorization=e),t}};k=Z([h(),P(0,p("CristalApp")),P(1,p("RemoteURLSerializerProvider")),P(2,p("ModelReferenceParserProvider")),P(3,p("AuthenticationManagerProvider"))],k);let ee=class{constructor(t){t.bind(x).to(k).inSingletonScope().whenNamed("XWiki")}};var te=Object.getOwnPropertyDescriptor,re=(e,t,i,r)=>{for(var n=r>1?void 0:r?te(t,i):t,a=e.length-1,s;a>=0;a--)(s=e[a])&&(n=s(n)||n);return n};let C=class{createDocumentReference(e,t){const i=new _(t.wiki,...t.names,e);return new v("WebHome",i)}getTitle(e){switch(e.type){case m.WIKI:return e.name;case m.SPACE:return[...e.names].pop();case m.DOCUMENT:{const t=e.name;return t==="WebHome"&&e.space?this.getTitle(e.space):t}case m.ATTACHMENT:return e.name}return""}};C=re([h()],C);var ie=Object.getOwnPropertyDescriptor,ne=(e,t,i,r)=>{for(var n=r>1?void 0:r?ie(t,i):t,a=e.length-1,s;a>=0;a--)(s=e[a])&&(n=s(n)||n);return n},ae=(e,t)=>(i,r)=>t(i,r,e);let W=class{constructor(e){this.documentService=e}parse(e,t){if(/^https?:\/\//.test(e))throw new Error(`[${e}] is not a valid entity reference`);return this.innerParse(e,t?.type)}async parseAsync(e,t){return this.parse(e,t)}innerParse(e,t){const i=e.split(":"),r=i[i.length-1];if(r.includes("@")||i.includes("attach")||t==m.ATTACHMENT){const n=r.split("@");if(n.length==1){const a=this.getCurrentDocumentReference();return new $(n[0],a)}else{const a=this.parseDocumentReference(n[0]);return new $(n[1],a)}}else return this.parseDocumentReference(r)}parseDocumentReference(e){const t=e.split(".");if(B(t,["WebHome"])){const i=this.getCurrentDocumentReference();return new v(t[0],i.space)}else return new v(t[t.length-1],new _(void 0,...t.slice(0,t.length-1)))}getCurrentDocumentReference(){return this.documentService.getCurrentDocumentReference().value}};W=ne([h(),ae(0,p("DocumentService"))],W);var se=Object.getOwnPropertyDescriptor,oe=(e,t,i,r)=>{for(var n=r>1?void 0:r?se(t,i):t,a=e.length-1,s;a>=0;a--)(s=e[a])&&(n=s(n)||n);return n};let L=class{escapeSegment(e){return e.replace(/(\.|\\)/g,"\\$1")}serialize(e){if(!e)return;const t=e.type,{SPACE:i,ATTACHMENT:r,DOCUMENT:n,WIKI:a}=m;switch(t){case a:return e.name;case i:{const s=e,l=this.serialize(s.wiki),c=s.names.map(this.escapeSegment).join(".");return l===void 0?c:`${l}:${c}`}case n:{const s=e,l=this.serialize(s.space),c=this.escapeSegment(s.name);return l===void 0||l==""?c:`${l}.${c}`}case r:{const s=e,l=this.serialize(s.document),c=s.name;return`attach:${l}@${c}`}default:throw new Error(`Unknown reference type [${t}]`)}}};L=oe([h()],L);let ce=class{constructor(t){t.bind("ModelReferenceHandler").to(C).inSingletonScope().whenNamed("XWiki"),t.bind("ModelReferenceParser").to(W).inSingletonScope().whenNamed("XWiki"),t.bind("ModelReferenceSerializer").to(L).inSingletonScope().whenNamed("XWiki")}};var le=Object.getOwnPropertyDescriptor,pe=(e,t,i,r)=>{for(var n=r>1?void 0:r?le(t,i):t,a=e.length-1,s;a>=0;a--)(s=e[a])&&(n=s(n)||n);return n},ue=(e,t)=>(i,r)=>t(i,r,e);let M=class{constructor(e){this.cristalApp=e}parse(e){const t=this.cristalApp.getWikiConfig().baseURL;if(!e.startsWith(t))throw new Error(`[${e}] does not start with base url [${t}]`);const i=new URL(t),r=new URL(e);let a=decodeURI(r.pathname.replace(i.pathname,"")).split("/").map(c=>c.replace(/%2F/g,"/"));a[0]===""&&(a=a.slice(1)),a[a.length-1]===""&&(a[a.length-1]="WebHome");const[s,l]=a;if(s=="bin"&&(l=="view"||l=="create")){a=a.slice(2);const c=a[a.length-1],o=a.slice(0,a.length-1);return new v(c,new _(void 0,...o))}else if(s=="bin"&&l=="download"){a=a.slice(2);const c=a[a.length-1],o=a[a.length-2],u=a.slice(0,a.length-2);return new $(c,new v(o,new _(void 0,...u)))}else throw new Error(`Impossible to resolve [${e}] to an entity`)}};M=pe([h(),ue(0,p("CristalApp"))],M);var he=Object.getOwnPropertyDescriptor,me=(e,t,i,r)=>{for(var n=r>1?void 0:r?he(t,i):t,a=e.length-1,s;a>=0;a--)(s=e[a])&&(n=s(n)||n);return n},ge=(e,t)=>(i,r)=>t(i,r,e);let z=class{constructor(e){this.cristalApp=e}serialize(e){if(e)switch(e.type){case m.WIKI:throw new Error("Not implemented");case m.SPACE:throw new Error("Not implemented");case m.DOCUMENT:return this.serializeDocument(e);case m.ATTACHMENT:return this.serializeAttachment(e)}}serializeAttachment(e){const t=this.cristalApp.getWikiConfig().baseURL,i=e,r=i.document,n=r.space?.names.map(encodeURI).join("/");return`${t}/bin/download/${n}/${encodeURI(r.name)}/${encodeURI(i.name)}`}serializeDocument(e){const t=this.cristalApp.getWikiConfig().baseURL,i=e,r=i.space?.names.map(encodeURI).join("/");return i.name=="WebHome"?`${t}/bin/view/${r}/`:`${t}/bin/view/${r}/${encodeURI(i.name)}`}};z=me([h(),ge(0,p("CristalApp"))],z);let de=class{constructor(t){t.bind("RemoteURLParser").to(M).inSingletonScope().whenNamed("XWiki"),t.bind("RemoteURLSerializer").to(z).inSingletonScope().whenNamed("XWiki")}};var fe=Object.getOwnPropertyDescriptor,ve=(e,t,i,r)=>{for(var n=r>1?void 0:r?fe(t,i):t,a=e.length-1,s;a>=0;a--)(s=e[a])&&(n=s(n)||n);return n},f=(e,t)=>(i,r)=>t(i,r,e);let U=class{constructor(e,t,i,r,n){this.logger=e,this.cristalApp=t,this.authenticationManagerProvider=i,this.urlParser=r,this.referenceSerializer=n,this.logger.setModule("navigation-tree-xwiki.components.XWikiNavigationTreeSource")}async getChildNodes(e){const t=e||"#",i=[];try{const r=await this.authenticationManagerProvider.get()?.getAuthorizationHeader(),n={Accept:"application/json"};r&&(n.Authorization=r),i.push(...await this.fetchNodes(t,n,0))}catch(r){this.logger.error(r),this.logger.debug("Could not load navigation tree.")}return i}getParentNodesId(e,t=!0,i){const r=i?[""]:[];if(e.space){let n="";for(const a of e.space.names)n+=a,r.push(`document:xwiki:${n}.WebHome`),n+=".";e.name!="WebHome"&&t&&r.push(`document:xwiki:${this.referenceSerializer.serialize(e)}`)}return r}async fetchNodes(e,t,i){const r=[],n=this.cristalApp.getWikiConfig().baseURL.replace(/\/[^/]*$/,""),a=100,s=new URL(`${this.cristalApp.getWikiConfig().baseURL}/bin/get`);s.search=new URLSearchParams([["id",e],["outputSyntax","plain"],["sheet","XWiki.DocumentTree"],["data","children"],["compact","true"],["offset",i.toString()],["limit",a.toString()],["showTranslations","false"],["showAttachments","false"]]).toString();const c=await(await fetch(s,{headers:t})).json();for(const o of c)if(o.id=="pagination:wiki:xwiki")r.push(...await this.fetchNodes(e,t,o.data.offset));else if(!["attachments","translations"].includes(o.data.type)&&o.a_attr){const u=this.urlParser.parse(`${n}${o.a_attr.href}`);r.push({id:o.id,label:o.text,location:u.space,url:this.cristalApp.getRouter().resolve({name:"view",params:{page:this.referenceSerializer.serialize(u)}}).href,has_children:o.children,is_terminal:!o.id.endsWith(".WebHome")})}return c.length>=a&&r.push(...await this.fetchNodes(e,t,i+a)),r}};U=ve([h(),f(0,p("Logger")),f(1,p("CristalApp")),f(2,p("AuthenticationManagerProvider")),f(3,p("RemoteURLParser")),f(3,R("XWiki")),f(4,p("ModelReferenceSerializer")),f(4,R("XWiki"))],U);let we=class{constructor(t){t.bind(q).to(U).inSingletonScope().whenNamed("XWiki")}};var Pe=Object.getOwnPropertyDescriptor,Re=(e,t,i,r)=>{for(var n=r>1?void 0:r?Pe(t,i):t,a=e.length-1,s;a>=0;a--)(s=e[a])&&(n=s(n)||n);return n};const _e={html:{type:"string"},metadata:{type:"string"}};let T=class{infos={id:"xwikiHtmlBlock",name:"XWiki HTML Block Content",description:"HTML rendering of an XWiki macro block content",params:_e,paramsDescription:{html:"Server-rendered HTML content",metadata:"Metadata used to generate the XWiki macro"},defaultParameters:!1,bodyType:"none"};renderAs="block";render({html:e}){return[{type:"rawHtml",html:e}]}};T=Re([h()],T);var be=Object.getOwnPropertyDescriptor,Ae=(e,t,i,r)=>{for(var n=r>1?void 0:r?be(t,i):t,a=e.length-1,s;a>=0;a--)(s=e[a])&&(n=s(n)||n);return n};const $e={html:{type:"string"},metadata:{type:"string"}};let N=class{infos={id:"xwikiInlineHtml",name:"XWiki HTML Inline Content",description:"HTML rendering of an XWiki macro inline content",params:$e,paramsDescription:{html:"Server-rendered HTML content",metadata:"Metadata used to generate the XWiki macro"},defaultParameters:!1,bodyType:"none"};renderAs="inline";render({html:e}){return[{type:"rawHtml",html:e}]}};N=Ae([h()],N);let Se=class{constructor(t){t.bind("Macro").to(H(T)),t.bind("Macro").to(H(N))}};var ye=Object.getOwnPropertyDescriptor,ke=(e,t,i,r)=>{for(var n=r>1?void 0:r?ye(t,i):t,a=e.length-1,s;a>=0;a--)(s=e[a])&&(n=s(n)||n);return n},O=(e,t)=>(i,r)=>t(i,r,e);let D=class{constructor(e,t){this.authenticationManager=e,this.cristal=t}id="main.banner.authServiceBanner";uixpName="main.banner";order=1e3;parameters={};async component(){return(await X(async()=>{const{default:e}=await import("./AuthServiceBanner-7KaHK0Au.js");return{default:e}},__vite__mapDeps([0,1,2,3]),import.meta.url)).default}async enabled(){if(await this.authenticationManager.get()?.isAuthenticated()){const e=await fetch(`${this.cristal.getWikiConfig().baseURL}/rest/cristal/auth`);return e.ok&&await e.text()!="oidc-provider-bridge"}else return!1}};D=ke([h(),O(0,p("AuthenticationManagerProvider")),O(1,p("CristalApp"))],D);class Ce{constructor(t){t.bind("UIExtension").to(D).inSingletonScope()}}class We{constructor(t){Le(t)}}function Le(e){const t="XWiki";e.bind("Factory<InternalLinksSerializer>").toFactory(i=>async()=>{const r=(await X(async()=>{const{XWikiInternalLinkSerializer:n}=await import("./xwiki-internal-link-serializer-Cd8xorru-_7nXuj98.js");return{XWikiInternalLinkSerializer:n}},__vite__mapDeps([4,1,2]),import.meta.url)).XWikiInternalLinkSerializer;return Me(e,t,r,i)}).whenNamed(t)}function Me(e,t,i,r){return e.isBound("InternalLinksSerializer",{name:t})||e.bind("InternalLinksSerializer").to(i).whenNamed(t),r.get("InternalLinksSerializer",{name:t})}function je(e){new ee(e),new V(e),new we(e),new J(e),new de(e),new ce(e),new Se(e),new Ce(e),new We(e)}export{je as load};
4
- //# sourceMappingURL=xwiki-BeDAdEBl.js.map