@xwiki/cristal-dsvuetify 1.0.0 → 1.1.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 (52) hide show
  1. package/dist/{index-CkeFEgm6.js → index-5yb_QWW0.js} +1945 -1941
  2. package/dist/index-5yb_QWW0.js.map +1 -0
  3. package/dist/index.es.js +2 -2
  4. package/dist/index.umd.js +7 -7
  5. package/dist/index.umd.js.map +1 -1
  6. package/dist/{x-alert-C1NRkhdt.js → x-alert-ChVriu6T.js} +7 -7
  7. package/dist/{x-alert-C1NRkhdt.js.map → x-alert-ChVriu6T.js.map} +1 -1
  8. package/dist/{x-avatar-B5IoAQPQ.js → x-avatar-CSobfWTk.js} +2 -2
  9. package/dist/{x-avatar-B5IoAQPQ.js.map → x-avatar-CSobfWTk.js.map} +1 -1
  10. package/dist/{x-breadcrumb-DaJw0U-E.js → x-breadcrumb-GmZWw0HG.js} +3 -3
  11. package/dist/{x-breadcrumb-DaJw0U-E.js.map → x-breadcrumb-GmZWw0HG.js.map} +1 -1
  12. package/dist/{x-btn-DzH2bk-f.js → x-btn-BsiSIiiO.js} +3 -3
  13. package/dist/{x-btn-DzH2bk-f.js.map → x-btn-BsiSIiiO.js.map} +1 -1
  14. package/dist/{x-card-BlUD5hbt.js → x-card-CRM9KUby.js} +3 -3
  15. package/dist/{x-card-BlUD5hbt.js.map → x-card-CRM9KUby.js.map} +1 -1
  16. package/dist/{x-checkbox-CxPnLGd0.js → x-checkbox-vREi3-wS.js} +6 -6
  17. package/dist/{x-checkbox-CxPnLGd0.js.map → x-checkbox-vREi3-wS.js.map} +1 -1
  18. package/dist/{x-dialog-C3nQDBym.js → x-dialog-4cFJfisB.js} +4 -4
  19. package/dist/{x-dialog-C3nQDBym.js.map → x-dialog-4cFJfisB.js.map} +1 -1
  20. package/dist/{x-divider-BOCxsH8h.js → x-divider-Buudf0KI.js} +3 -3
  21. package/dist/{x-divider-BOCxsH8h.js.map → x-divider-Buudf0KI.js.map} +1 -1
  22. package/dist/{x-file-input-CEz4Wmf4.js → x-file-input-f35OKy3m.js} +6 -6
  23. package/dist/{x-file-input-CEz4Wmf4.js.map → x-file-input-f35OKy3m.js.map} +1 -1
  24. package/dist/{x-form-SvpVocOb.js → x-form-ClKnXXd0.js} +4 -4
  25. package/dist/{x-form-SvpVocOb.js.map → x-form-ClKnXXd0.js.map} +1 -1
  26. package/dist/{x-img-DWbVDNTs.js → x-img-BYgs_O1F.js} +3 -3
  27. package/dist/{x-img-DWbVDNTs.js.map → x-img-BYgs_O1F.js.map} +1 -1
  28. package/dist/x-load-DipiCmNY.js +11 -0
  29. package/dist/{x-load-Bw4ftl3k.js.map → x-load-DipiCmNY.js.map} +1 -1
  30. package/dist/{x-menu-DUp-JvdG.js → x-menu-Dvd5JVz3.js} +3 -3
  31. package/dist/{x-menu-DUp-JvdG.js.map → x-menu-Dvd5JVz3.js.map} +1 -1
  32. package/dist/{x-menu-item-Ph5-wwcR.js → x-menu-item-C1ntozOO.js} +3 -3
  33. package/dist/{x-menu-item-Ph5-wwcR.js.map → x-menu-item-C1ntozOO.js.map} +1 -1
  34. package/dist/{x-menu-label-D-sFcG_g.js → x-menu-label-DniImc0U.js} +3 -3
  35. package/dist/{x-menu-label-D-sFcG_g.js.map → x-menu-label-DniImc0U.js.map} +1 -1
  36. package/dist/{x-search-C7GhoCKj.js → x-search-C4yZLrSp.js} +3 -3
  37. package/dist/{x-search-C7GhoCKj.js.map → x-search-C4yZLrSp.js.map} +1 -1
  38. package/dist/{x-select-BduzHCet.js → x-select-B-9ebdG3.js} +7 -7
  39. package/dist/{x-select-BduzHCet.js.map → x-select-B-9ebdG3.js.map} +1 -1
  40. package/dist/{x-tab-B8YFmNK2.js → x-tab-D8ZXVkZ2.js} +3 -3
  41. package/dist/{x-tab-B8YFmNK2.js.map → x-tab-D8ZXVkZ2.js.map} +1 -1
  42. package/dist/{x-tab-group-BfEaq8Nj.js → x-tab-group-D1jmHXyJ.js} +3 -3
  43. package/dist/{x-tab-group-BfEaq8Nj.js.map → x-tab-group-D1jmHXyJ.js.map} +1 -1
  44. package/dist/{x-tab-panel-B7a_xbQd.js → x-tab-panel-CwQdoT0T.js} +3 -3
  45. package/dist/{x-tab-panel-B7a_xbQd.js.map → x-tab-panel-CwQdoT0T.js.map} +1 -1
  46. package/dist/{x-text-field-CvC6id2f.js → x-text-field-BoIZJ_CH.js} +8 -8
  47. package/dist/{x-text-field-CvC6id2f.js.map → x-text-field-BoIZJ_CH.js.map} +1 -1
  48. package/dist/{x-tree-CbliYwVw.js → x-tree-CrHakAmV.js} +9 -9
  49. package/dist/{x-tree-CbliYwVw.js.map → x-tree-CrHakAmV.js.map} +1 -1
  50. package/package.json +14 -14
  51. package/dist/index-CkeFEgm6.js.map +0 -1
  52. package/dist/x-load-Bw4ftl3k.js +0 -11
@@ -1,4 +1,4 @@
1
- import { defineComponent as f, resolveComponent as o, createBlock as n, openBlock as t, normalizeClass as u, withCtx as s, createElementBlock as a, createCommentVNode as r, renderSlot as x, Fragment as y, renderList as b, createTextVNode as k, toDisplayString as c } from "vue";
1
+ import { defineComponent as f, resolveComponent as o, openBlock as t, createBlock as n, normalizeClass as u, withCtx as s, createElementBlock as a, Fragment as x, renderList as y, createTextVNode as b, toDisplayString as r, createCommentVNode as c, renderSlot as k } from "vue";
2
2
  import { _ as C } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
3
  const p = { key: 0 }, v = { key: 1 }, _ = /* @__PURE__ */ f({
4
4
  __name: "x-alert",
@@ -22,20 +22,20 @@ const p = { key: 0 }, v = { key: 1 }, _ = /* @__PURE__ */ f({
22
22
  class: u({ "flat-corners": e.flatCorners })
23
23
  }, {
24
24
  default: s(() => [
25
- (t(!0), a(y, null, b(e.actions, (l) => (t(), n(d, {
25
+ (t(!0), a(x, null, y(e.actions, (l) => (t(), n(d, {
26
26
  key: l.name,
27
27
  size: "small",
28
28
  variant: "text",
29
29
  onClick: l.callback
30
30
  }, {
31
31
  default: s(() => [
32
- k(c(l.name), 1)
32
+ b(r(l.name), 1)
33
33
  ]),
34
34
  _: 2
35
35
  }, 1032, ["onClick"]))), 128)),
36
- e.details ? (t(), a("br", p)) : r("", !0),
37
- e.details ? (t(), a("small", v, c(e.details), 1)) : r("", !0),
38
- x(i.$slots, "default", {}, void 0, !0)
36
+ e.details ? (t(), a("br", p)) : c("", !0),
37
+ e.details ? (t(), a("small", v, r(e.details), 1)) : c("", !0),
38
+ k(i.$slots, "default", {}, void 0, !0)
39
39
  ]),
40
40
  _: 3
41
41
  }, 8, ["closable", "title", "type", "text", "class"]);
@@ -45,4 +45,4 @@ const p = { key: 0 }, v = { key: 1 }, _ = /* @__PURE__ */ f({
45
45
  export {
46
46
  z as default
47
47
  };
48
- //# sourceMappingURL=x-alert-C1NRkhdt.js.map
48
+ //# sourceMappingURL=x-alert-ChVriu6T.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-alert-C1NRkhdt.js","sources":["../src/vue/x-alert.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 { AlertProps } from \"@xwiki/platform-dsapi\";\n\ndefineProps<AlertProps>();\n</script>\n<template>\n <v-alert\n :closable=\"closable\"\n :title=\"title\"\n :type=\"type\"\n :text=\"description\"\n :class=\"{ 'flat-corners': flatCorners }\"\n >\n <x-btn\n v-for=\"action of actions\"\n :key=\"action.name\"\n size=\"small\"\n variant=\"text\"\n @click=\"action.callback\"\n >{{ action.name }}</x-btn\n >\n <br v-if=\"details\" />\n <small v-if=\"details\">{{ details }}</small>\n <slot />\n </v-alert>\n</template>\n\n<style scoped>\n:deep(.v-alert__content a),\n:deep(.v-alert__content a:visited) {\n color: inherit;\n text-decoration-color: inherit;\n}\n.flat-corners {\n border-radius: initial;\n}\n</style>\n"],"names":["_createBlock","_component_v_alert","__props","_createElementBlock","_Fragment","_renderList","action","_component_x_btn","_createTextVNode","_toDisplayString","_hoisted_1","_openBlock","_renderSlot","_ctx"],"mappings":";;;;;;;;;;;;;;;;kBAyBEA,EAkBUC,GAAA;AAAA,QAjBP,UAAUC,EAAA;AAAA,QACV,OAAOA,EAAA;AAAA,QACP,MAAMA,EAAA;AAAA,QACN,MAAMA,EAAA;AAAA,QACN,2BAAyBA,EAAA,aAAW;AAAA,MAAA;mBAGnC,MAAyB;AAAA,kBAD3BC,EAOCC,GAAA,MAAAC,EANkBH,EAAA,SAAO,CAAjBI,YADTN,EAOCO,GAAA;AAAA,YALE,KAAKD,EAAO;AAAA,YACb,MAAK;AAAA,YACL,SAAQ;AAAA,YACP,SAAOA,EAAO;AAAA,UAAA;uBACd,MAAiB;AAAA,cAAdE,EAAAC,EAAAH,EAAO,IAAI,GAAA,CAAA;AAAA,YAAA;;;UAEPJ,EAAA,gBAAVC,EAAqB,MAAAO,CAAA;UACRR,EAAA,WAAbS,EAAA,GAAAR,EAA2C,cAAlBD,EAAA,OAAO,GAAA,CAAA;UAChCU,EAAQC,EAAA,QAAA,WAAA,CAAA,GAAA,QAAA,EAAA;AAAA,QAAA;;;;;;"}
1
+ {"version":3,"file":"x-alert-ChVriu6T.js","sources":["../src/vue/x-alert.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 { AlertProps } from \"@xwiki/platform-dsapi\";\n\ndefineProps<AlertProps>();\n</script>\n<template>\n <v-alert\n :closable=\"closable\"\n :title=\"title\"\n :type=\"type\"\n :text=\"description\"\n :class=\"{ 'flat-corners': flatCorners }\"\n >\n <x-btn\n v-for=\"action of actions\"\n :key=\"action.name\"\n size=\"small\"\n variant=\"text\"\n @click=\"action.callback\"\n >{{ action.name }}</x-btn\n >\n <br v-if=\"details\" />\n <small v-if=\"details\">{{ details }}</small>\n <slot />\n </v-alert>\n</template>\n\n<style scoped>\n:deep(.v-alert__content a),\n:deep(.v-alert__content a:visited) {\n color: inherit;\n text-decoration-color: inherit;\n}\n.flat-corners {\n border-radius: initial;\n}\n</style>\n"],"names":["_createBlock","_component_v_alert","__props","_createElementBlock","_Fragment","_renderList","action","_component_x_btn","_createTextVNode","_toDisplayString","_hoisted_1","_openBlock","_renderSlot","_ctx"],"mappings":";;;;;;;;;;;;;;;;kBAyBEA,EAkBUC,GAAA;AAAA,QAjBP,UAAUC,EAAA;AAAA,QACV,OAAOA,EAAA;AAAA,QACP,MAAMA,EAAA;AAAA,QACN,MAAMA,EAAA;AAAA,QACN,2BAAyBA,EAAA,aAAW;AAAA,MAAA;mBAGnC,MAAyB;AAAA,kBAD3BC,EAOCC,GAAA,MAAAC,EANkBH,EAAA,SAAO,CAAjBI,YADTN,EAOCO,GAAA;AAAA,YALE,KAAKD,EAAO;AAAA,YACb,MAAK;AAAA,YACL,SAAQ;AAAA,YACP,SAAOA,EAAO;AAAA,UAAA;uBACd,MAAiB;AAAA,cAAdE,EAAAC,EAAAH,EAAO,IAAI,GAAA,CAAA;AAAA,YAAA;;;UAEPJ,EAAA,gBAAVC,EAAqB,MAAAO,CAAA;UACRR,EAAA,WAAbS,EAAA,GAAAR,EAA2C,cAAlBD,EAAA,OAAO,GAAA,CAAA;UAChCU,EAAQC,EAAA,QAAA,WAAA,CAAA,GAAA,QAAA,EAAA;AAAA,QAAA;;;;;;"}
@@ -1,4 +1,4 @@
1
- import { defineComponent as m, resolveComponent as a, createBlock as n, openBlock as t, withCtx as i, createElementBlock as s, toDisplayString as r } from "vue";
1
+ import { defineComponent as m, resolveComponent as a, openBlock as t, createBlock as n, withCtx as i, createElementBlock as s, toDisplayString as r } from "vue";
2
2
  const l = { key: 1 }, u = /* @__PURE__ */ m({
3
3
  __name: "x-avatar",
4
4
  props: {
@@ -25,4 +25,4 @@ const l = { key: 1 }, u = /* @__PURE__ */ m({
25
25
  export {
26
26
  u as default
27
27
  };
28
- //# sourceMappingURL=x-avatar-B5IoAQPQ.js.map
28
+ //# sourceMappingURL=x-avatar-CSobfWTk.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-avatar-B5IoAQPQ.js","sources":["../src/vue/x-avatar.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 { AvatarProps } from \"@xwiki/platform-dsapi\";\n\ndefineProps<AvatarProps>();\n</script>\n<template>\n <v-avatar :size=\"size\">\n <v-img v-if=\"image\" :alt=\"name\" :src=\"image\"></v-img>\n <span v-else>{{ name }}</span>\n </v-avatar>\n</template>\n"],"names":["_createBlock","_component_v_avatar","__props","_component_v_img","_openBlock","_createElementBlock"],"mappings":";;;;;;;;;;;kBAyBEA,EAGWC,GAAA,EAHA,MAAMC,EAAA,QAAI;AAAA,mBACnB,MAAqD;AAAA,UAAxCA,EAAA,cAAbF,EAAqDG,GAAA;AAAA;YAAhC,KAAKD,EAAA;AAAA,YAAO,KAAKA,EAAA;AAAA,UAAA,gCACtCE,EAAA,GAAAC,EAA8B,aAAdH,EAAA,IAAI,GAAA,CAAA;AAAA,QAAA;;;;;;"}
1
+ {"version":3,"file":"x-avatar-CSobfWTk.js","sources":["../src/vue/x-avatar.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 { AvatarProps } from \"@xwiki/platform-dsapi\";\n\ndefineProps<AvatarProps>();\n</script>\n<template>\n <v-avatar :size=\"size\">\n <v-img v-if=\"image\" :alt=\"name\" :src=\"image\"></v-img>\n <span v-else>{{ name }}</span>\n </v-avatar>\n</template>\n"],"names":["_createBlock","_component_v_avatar","__props","_component_v_img","_openBlock","_createElementBlock"],"mappings":";;;;;;;;;;;kBAyBEA,EAGWC,GAAA,EAHA,MAAMC,EAAA,QAAI;AAAA,mBACnB,MAAqD;AAAA,UAAxCA,EAAA,cAAbF,EAAqDG,GAAA;AAAA;YAAhC,KAAKD,EAAA;AAAA,YAAO,KAAKA,EAAA;AAAA,UAAA,gCACtCE,EAAA,GAAAC,EAA8B,aAAdH,EAAA,IAAI,GAAA,CAAA;AAAA,QAAA;;;;;;"}
@@ -1,4 +1,4 @@
1
- import { defineComponent as m, computed as n, resolveComponent as p, createBlock as a, openBlock as _ } from "vue";
1
+ import { defineComponent as m, computed as n, resolveComponent as p, openBlock as a, createBlock as _ } from "vue";
2
2
  import { _ as u } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
3
  const i = /* @__PURE__ */ m({
4
4
  __name: "x-breadcrumb",
@@ -12,11 +12,11 @@ const i = /* @__PURE__ */ m({
12
12
  })));
13
13
  return (e, t) => {
14
14
  const s = p("v-breadcrumbs");
15
- return _(), a(s, { items: c.value }, null, 8, ["items"]);
15
+ return a(), _(s, { items: c.value }, null, 8, ["items"]);
16
16
  };
17
17
  }
18
18
  }), l = /* @__PURE__ */ u(i, [["__scopeId", "data-v-e1be0c1e"]]);
19
19
  export {
20
20
  l as default
21
21
  };
22
- //# sourceMappingURL=x-breadcrumb-DaJw0U-E.js.map
22
+ //# sourceMappingURL=x-breadcrumb-GmZWw0HG.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-breadcrumb-DaJw0U-E.js","sources":["../src/vue/x-breadcrumb.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 { computed } from \"vue\";\nimport type { BreadcrumbProps } from \"@xwiki/platform-dsapi\";\n\nconst props = defineProps<BreadcrumbProps>();\n// Converts props items to the format expected by v-breadcrumbs\nconst items = computed(() => {\n return props.items.map(({ label, url }) => {\n return {\n title: label,\n href: url,\n };\n });\n});\n</script>\n\n<template>\n <v-breadcrumbs :items=\"items\"></v-breadcrumbs>\n</template>\n\n<style scoped>\n.v-breadcrumbs {\n padding: 0;\n}\n</style>\n"],"names":["props","__props","items","computed","label","url","_createBlock","_component_v_breadcrumbs"],"mappings":";;;;;;;;AAuBA,UAAMA,IAAQC,GAERC,IAAQC,EAAS,MACdH,EAAM,MAAM,IAAI,CAAC,EAAE,OAAAI,GAAO,KAAAC,SACxB;AAAA,MACL,OAAOD;AAAA,MACP,MAAMC;AAAA,IAAA,EAET,CACF;;;kBAICC,EAA8CC,GAAA,EAA9B,OAAOL,EAAA,MAAA,GAAK,MAAA,GAAA,CAAA,OAAA,CAAA;AAAA;;;"}
1
+ {"version":3,"file":"x-breadcrumb-GmZWw0HG.js","sources":["../src/vue/x-breadcrumb.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 { computed } from \"vue\";\nimport type { BreadcrumbProps } from \"@xwiki/platform-dsapi\";\n\nconst props = defineProps<BreadcrumbProps>();\n// Converts props items to the format expected by v-breadcrumbs\nconst items = computed(() => {\n return props.items.map(({ label, url }) => {\n return {\n title: label,\n href: url,\n };\n });\n});\n</script>\n\n<template>\n <v-breadcrumbs :items=\"items\"></v-breadcrumbs>\n</template>\n\n<style scoped>\n.v-breadcrumbs {\n padding: 0;\n}\n</style>\n"],"names":["props","__props","items","computed","label","url","_createBlock","_component_v_breadcrumbs"],"mappings":";;;;;;;;AAuBA,UAAMA,IAAQC,GAERC,IAAQC,EAAS,MACdH,EAAM,MAAM,IAAI,CAAC,EAAE,OAAAI,GAAO,KAAAC,SACxB;AAAA,MACL,OAAOD;AAAA,MACP,MAAMC;AAAA,IAAA,EAET,CACF;;;kBAICC,EAA8CC,GAAA,EAA9B,OAAOL,EAAA,MAAA,GAAK,MAAA,GAAA,CAAA,OAAA,CAAA;AAAA;;;"}
@@ -1,4 +1,4 @@
1
- import { defineComponent as c, computed as r, resolveComponent as s, createBlock as l, openBlock as i, withCtx as u, renderSlot as p } from "vue";
1
+ import { defineComponent as c, computed as r, resolveComponent as s, openBlock as l, createBlock as i, withCtx as u, renderSlot as p } from "vue";
2
2
  const m = /* @__PURE__ */ c({
3
3
  __name: "x-btn",
4
4
  props: {
@@ -32,7 +32,7 @@ const m = /* @__PURE__ */ c({
32
32
  }), n = r(() => a.variant == "text" ? "text" : "tonal");
33
33
  return (e, v) => {
34
34
  const o = s("v-btn");
35
- return i(), l(o, {
35
+ return l(), i(o, {
36
36
  color: t.value,
37
37
  variant: n.value
38
38
  }, {
@@ -47,4 +47,4 @@ const m = /* @__PURE__ */ c({
47
47
  export {
48
48
  m as default
49
49
  };
50
- //# sourceMappingURL=x-btn-DzH2bk-f.js.map
50
+ //# sourceMappingURL=x-btn-BsiSIiiO.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-btn-DzH2bk-f.js","sources":["../src/vue/x-btn.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 { computed } from \"vue\";\nimport type { BtnProps } from \"@xwiki/platform-dsapi\";\n\nconst { variant } = defineProps<BtnProps>();\n\n// Map the variants to corresponding vuetify colors.\nconst color = computed(() => {\n let color = undefined;\n switch (variant) {\n case \"default\":\n break;\n case \"primary\":\n color = \"primary\";\n break;\n case \"success\":\n color = \"success\";\n break;\n case \"neutral\":\n color = \"secondary\";\n break;\n case \"warning\":\n color = \"warning\";\n break;\n case \"danger\":\n color = \"error\";\n break;\n }\n return color;\n});\n\nconst vVariant = computed(() => (variant == \"text\" ? \"text\" : \"tonal\"));\n</script>\n<template>\n <v-btn :color=\"color\" :variant=\"vVariant\">\n <slot />\n </v-btn>\n</template>\n"],"names":["color","computed","__props","vVariant","_createBlock","_component_v_btn","_renderSlot","_ctx"],"mappings":";;;;;;;;;AA0BA,UAAMA,IAAQC,EAAS,MAAM;AAC3B,UAAID;AACJ,cAAQE,EAAA,SAAA;AAAA,QACN,KAAK;AACH;AAAA,QACF,KAAK;AACHF,UAAAA,IAAQ;AACR;AAAA,QACF,KAAK;AACHA,UAAAA,IAAQ;AACR;AAAA,QACF,KAAK;AACHA,UAAAA,IAAQ;AACR;AAAA,QACF,KAAK;AACHA,UAAAA,IAAQ;AACR;AAAA,QACF,KAAK;AACHA,UAAAA,IAAQ;AACR;AAAA,MAAA;AAEJ,aAAOA;AAAAA,IACT,CAAC,GAEKG,IAAWF,EAAS,MAAOC,EAAA,WAAW,SAAS,SAAS,OAAQ;;;kBAGpEE,EAEQC,GAAA;AAAA,QAFA,OAAOL,EAAA;AAAA,QAAQ,SAASG,EAAA;AAAA,MAAA;mBAC9B,MAAQ;AAAA,UAARG,EAAQC,EAAA,QAAA,SAAA;AAAA,QAAA;;;;;;"}
1
+ {"version":3,"file":"x-btn-BsiSIiiO.js","sources":["../src/vue/x-btn.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 { computed } from \"vue\";\nimport type { BtnProps } from \"@xwiki/platform-dsapi\";\n\nconst { variant } = defineProps<BtnProps>();\n\n// Map the variants to corresponding vuetify colors.\nconst color = computed(() => {\n let color = undefined;\n switch (variant) {\n case \"default\":\n break;\n case \"primary\":\n color = \"primary\";\n break;\n case \"success\":\n color = \"success\";\n break;\n case \"neutral\":\n color = \"secondary\";\n break;\n case \"warning\":\n color = \"warning\";\n break;\n case \"danger\":\n color = \"error\";\n break;\n }\n return color;\n});\n\nconst vVariant = computed(() => (variant == \"text\" ? \"text\" : \"tonal\"));\n</script>\n<template>\n <v-btn :color=\"color\" :variant=\"vVariant\">\n <slot />\n </v-btn>\n</template>\n"],"names":["color","computed","__props","vVariant","_createBlock","_component_v_btn","_renderSlot","_ctx"],"mappings":";;;;;;;;;AA0BA,UAAMA,IAAQC,EAAS,MAAM;AAC3B,UAAID;AACJ,cAAQE,EAAA,SAAA;AAAA,QACN,KAAK;AACH;AAAA,QACF,KAAK;AACHF,UAAAA,IAAQ;AACR;AAAA,QACF,KAAK;AACHA,UAAAA,IAAQ;AACR;AAAA,QACF,KAAK;AACHA,UAAAA,IAAQ;AACR;AAAA,QACF,KAAK;AACHA,UAAAA,IAAQ;AACR;AAAA,QACF,KAAK;AACHA,UAAAA,IAAQ;AACR;AAAA,MAAA;AAEJ,aAAOA;AAAAA,IACT,CAAC,GAEKG,IAAWF,EAAS,MAAOC,EAAA,WAAW,SAAS,SAAS,OAAQ;;;kBAGpEE,EAEQC,GAAA;AAAA,QAFA,OAAOL,EAAA;AAAA,QAAQ,SAASG,EAAA;AAAA,MAAA;mBAC9B,MAAQ;AAAA,UAARG,EAAQC,EAAA,QAAA,SAAA;AAAA,QAAA;;;;;;"}
@@ -1,11 +1,11 @@
1
- import { resolveComponent as o, createBlock as n, openBlock as a, withCtx as c, renderSlot as i } from "vue";
1
+ import { resolveComponent as o, openBlock as n, createBlock as a, withCtx as c, renderSlot as i } from "vue";
2
2
  import { _ as s } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
3
  const l = {
4
4
  props: { title: { type: String, required: !0 } }
5
5
  };
6
6
  function d(t, p, e, _, f, u) {
7
7
  const r = o("v-card");
8
- return a(), n(r, {
8
+ return n(), a(r, {
9
9
  title: e.title,
10
10
  variant: "outlined"
11
11
  }, {
@@ -19,4 +19,4 @@ const x = /* @__PURE__ */ s(l, [["render", d]]);
19
19
  export {
20
20
  x as default
21
21
  };
22
- //# sourceMappingURL=x-card-BlUD5hbt.js.map
22
+ //# sourceMappingURL=x-card-CRM9KUby.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-card-BlUD5hbt.js","sources":["../src/vue/x-card.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 <v-card :title=\"title\" variant=\"outlined\">\n <slot />\n </v-card>\n</template>\n<script lang=\"ts\">\nexport default {\n props: { title: { type: String, required: true } },\n};\n</script>\n"],"names":["_sfc_main","_createBlock","_component_v_card","$props","_renderSlot","_ctx"],"mappings":";;AAyBA,MAAAA,IAAe;AAAA,EACb,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,UAAU,KAAK;AACjD;;;cAPEC,EAESC,GAAA;AAAA,IAFA,OAAOC,EAAA;AAAA,IAAO,SAAQ;AAAA,EAAA,GAAA;AAAA,eAC7B,MAAQ;AAAA,MAARC,EAAQC,EAAA,QAAA,SAAA;AAAA,IAAA,CAAA;AAAA;;;;"}
1
+ {"version":3,"file":"x-card-CRM9KUby.js","sources":["../src/vue/x-card.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 <v-card :title=\"title\" variant=\"outlined\">\n <slot />\n </v-card>\n</template>\n<script lang=\"ts\">\nexport default {\n props: { title: { type: String, required: true } },\n};\n</script>\n"],"names":["_sfc_main","_createBlock","_component_v_card","$props","_renderSlot","_ctx"],"mappings":";;AAyBA,MAAAA,IAAe;AAAA,EACb,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,UAAU,KAAK;AACjD;;;cAPEC,EAESC,GAAA;AAAA,IAFA,OAAOC,EAAA;AAAA,IAAO,SAAQ;AAAA,EAAA,GAAA;AAAA,eAC7B,MAAQ;AAAA,MAARC,EAAQC,EAAA,QAAA,SAAA;AAAA,IAAA,CAAA;AAAA;;;;"}
@@ -1,8 +1,8 @@
1
- import { defineComponent as m, mergeModels as t, useModel as u, createBlock as d, openBlock as n, unref as s } from "vue";
2
- import { c } from "./index-CkeFEgm6.js";
1
+ import { defineComponent as m, useModel as t, openBlock as u, createBlock as d, unref as n, mergeModels as s } from "vue";
2
+ import { c } from "./index-5yb_QWW0.js";
3
3
  const V = /* @__PURE__ */ m({
4
4
  __name: "x-checkbox",
5
- props: /* @__PURE__ */ t({
5
+ props: /* @__PURE__ */ s({
6
6
  label: {},
7
7
  help: {},
8
8
  modelValue: { type: Boolean }
@@ -12,8 +12,8 @@ const V = /* @__PURE__ */ m({
12
12
  }),
13
13
  emits: ["update:modelValue"],
14
14
  setup(e) {
15
- const l = u(e, "modelValue");
16
- return (r, o) => (n(), d(s(c), {
15
+ const l = t(e, "modelValue");
16
+ return (r, o) => (u(), d(n(c), {
17
17
  modelValue: l.value,
18
18
  "onUpdate:modelValue": o[0] || (o[0] = (a) => l.value = a),
19
19
  label: e.label,
@@ -25,4 +25,4 @@ const V = /* @__PURE__ */ m({
25
25
  export {
26
26
  V as default
27
27
  };
28
- //# sourceMappingURL=x-checkbox-CxPnLGd0.js.map
28
+ //# sourceMappingURL=x-checkbox-vREi3-wS.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-checkbox-CxPnLGd0.js","sources":["../src/vue/form/x-checkbox.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 { VCheckbox } from \"vuetify/components/VCheckbox\";\nimport type { CheckboxProps } from \"@xwiki/platform-dsapi\";\n\ndefineProps<CheckboxProps>();\n\nconst checked = defineModel<boolean | null>();\n</script>\n<template>\n <v-checkbox\n v-model=\"checked\"\n :label=\"label\"\n :messages=\"help\"\n density=\"compact\"\n ></v-checkbox>\n</template>\n"],"names":["checked","_useModel","_createBlock","_unref","VCheckbox","$event","__props"],"mappings":";;;;;;;;;;;;;;AAyBA,UAAMA,IAAUC,iBAA4B;2BAG1CC,EAKcC,EAAAC,CAAA,GAAA;AAAA,kBAJHJ,EAAA;AAAA,oDAAAA,EAAO,QAAAK;AAAA,MACf,OAAOC,EAAA;AAAA,MACP,UAAUA,EAAA;AAAA,MACX,SAAQ;AAAA,IAAA;;;"}
1
+ {"version":3,"file":"x-checkbox-vREi3-wS.js","sources":["../src/vue/form/x-checkbox.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 { VCheckbox } from \"vuetify/components/VCheckbox\";\nimport type { CheckboxProps } from \"@xwiki/platform-dsapi\";\n\ndefineProps<CheckboxProps>();\n\nconst checked = defineModel<boolean | null>();\n</script>\n<template>\n <v-checkbox\n v-model=\"checked\"\n :label=\"label\"\n :messages=\"help\"\n density=\"compact\"\n ></v-checkbox>\n</template>\n"],"names":["checked","_useModel","_createBlock","_unref","VCheckbox","$event","__props"],"mappings":";;;;;;;;;;;;;;AAyBA,UAAMA,IAAUC,iBAA4B;2BAG1CC,EAKcC,EAAAC,CAAA,GAAA;AAAA,kBAJHJ,EAAA;AAAA,oDAAAA,EAAO,QAAAK;AAAA,MACf,OAAOC,EAAA;AAAA,MACP,UAAUA,EAAA;AAAA,MACX,SAAQ;AAAA,IAAA;;;"}
@@ -1,4 +1,4 @@
1
- import { defineComponent as m, resolveComponent as o, createBlock as n, openBlock as c, withCtx as t, createVNode as d, createCommentVNode as p, renderSlot as a, createElementVNode as u, normalizeProps as f, guardReactiveProps as h } from "vue";
1
+ import { defineComponent as m, resolveComponent as o, openBlock as n, createBlock as c, withCtx as t, createVNode as d, renderSlot as a, createCommentVNode as p, createElementVNode as u, normalizeProps as f, guardReactiveProps as h } from "vue";
2
2
  import { _ as w } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
3
  const g = /* @__PURE__ */ m({
4
4
  __name: "x-dialog",
@@ -9,7 +9,7 @@ const g = /* @__PURE__ */ m({
9
9
  setup(r) {
10
10
  return (e, x) => {
11
11
  const l = o("v-card-text"), i = o("v-card-actions"), s = o("v-card"), _ = o("v-dialog");
12
- return c(), n(_, {
12
+ return n(), c(_, {
13
13
  width: r.width,
14
14
  attach: "#view",
15
15
  scrollable: ""
@@ -28,7 +28,7 @@ const g = /* @__PURE__ */ m({
28
28
  ]),
29
29
  _: 3
30
30
  }),
31
- e.$slots.footer ? (c(), n(i, { key: 0 }, {
31
+ e.$slots.footer ? (n(), c(i, { key: 0 }, {
32
32
  default: t(() => [
33
33
  a(e.$slots, "footer", {}, void 0, !0)
34
34
  ]),
@@ -46,4 +46,4 @@ const g = /* @__PURE__ */ m({
46
46
  export {
47
47
  k as default
48
48
  };
49
- //# sourceMappingURL=x-dialog-C3nQDBym.js.map
49
+ //# sourceMappingURL=x-dialog-4cFJfisB.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-dialog-C3nQDBym.js","sources":["../src/vue/x-dialog.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>\ndefineProps<{\n title: string;\n width: string | number | undefined;\n}>();\n</script>\n\n<template>\n <v-dialog :width=\"width\" attach=\"#view\" scrollable>\n <template #activator=\"{ props }\">\n <span v-bind=\"props\">\n <slot name=\"activator\" />\n </span>\n </template>\n <template #default>\n <v-card :title=\"title\">\n <v-card-text>\n <slot name=\"default\" />\n </v-card-text>\n <v-card-actions v-if=\"$slots.footer\">\n <slot name=\"footer\" />\n </v-card-actions>\n </v-card>\n </template>\n </v-dialog>\n</template>\n\n<style scoped>\n:deep(.v-card-actions) {\n padding: var(--cr-spacing-large);\n}\n</style>\n"],"names":["_createBlock","_component_v_dialog","__props","_withCtx","props","_createElementVNode","_renderSlot","_ctx","_createVNode","_component_v_card","_component_v_card_text","$slots","_component_v_card_actions"],"mappings":";;;;;;;;;;;kBA2BEA,EAgBWC,GAAA;AAAA,QAhBA,OAAOC,EAAA;AAAA,QAAO,QAAO;AAAA,QAAQ,YAAA;AAAA,MAAA;QAC3B,WAASC,EAClB,CAEO,EAHe,OAAAC,QAAK;AAAA,UAC3BC,EAEO,YAFOD,CAAK,CAAA,GAAA;AAAA,YACjBE,EAAyBC,EAAA,QAAA,aAAA,CAAA,GAAA,QAAA,EAAA;AAAA,UAAA;;QAGlB,WACT,MAOS;AAAA,UAPTC,EAOSC,GAAA,EAPA,OAAOP,EAAA,SAAK;AAAA,uBACnB,MAEc;AAAA,cAFdM,EAEcE,GAAA,MAAA;AAAA,2BADZ,MAAuB;AAAA,kBAAvBJ,EAAuBC,EAAA,QAAA,WAAA,CAAA,GAAA,QAAA,EAAA;AAAA,gBAAA;;;cAEHI,EAAAA,OAAO,eAA7BX,EAEiBY,GAAA,EAAA,KAAA,KAAA;AAAA,2BADf,MAAsB;AAAA,kBAAtBN,EAAsBC,EAAA,QAAA,UAAA,CAAA,GAAA,QAAA,EAAA;AAAA,gBAAA;;;;;;;;;;;;"}
1
+ {"version":3,"file":"x-dialog-4cFJfisB.js","sources":["../src/vue/x-dialog.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>\ndefineProps<{\n title: string;\n width: string | number | undefined;\n}>();\n</script>\n\n<template>\n <v-dialog :width=\"width\" attach=\"#view\" scrollable>\n <template #activator=\"{ props }\">\n <span v-bind=\"props\">\n <slot name=\"activator\" />\n </span>\n </template>\n <template #default>\n <v-card :title=\"title\">\n <v-card-text>\n <slot name=\"default\" />\n </v-card-text>\n <v-card-actions v-if=\"$slots.footer\">\n <slot name=\"footer\" />\n </v-card-actions>\n </v-card>\n </template>\n </v-dialog>\n</template>\n\n<style scoped>\n:deep(.v-card-actions) {\n padding: var(--cr-spacing-large);\n}\n</style>\n"],"names":["_createBlock","_component_v_dialog","__props","_withCtx","props","_createElementVNode","_renderSlot","_ctx","_createVNode","_component_v_card","_component_v_card_text","$slots","_component_v_card_actions"],"mappings":";;;;;;;;;;;kBA2BEA,EAgBWC,GAAA;AAAA,QAhBA,OAAOC,EAAA;AAAA,QAAO,QAAO;AAAA,QAAQ,YAAA;AAAA,MAAA;QAC3B,WAASC,EAClB,CAEO,EAHe,OAAAC,QAAK;AAAA,UAC3BC,EAEO,YAFOD,CAAK,CAAA,GAAA;AAAA,YACjBE,EAAyBC,EAAA,QAAA,aAAA,CAAA,GAAA,QAAA,EAAA;AAAA,UAAA;;QAGlB,WACT,MAOS;AAAA,UAPTC,EAOSC,GAAA,EAPA,OAAOP,EAAA,SAAK;AAAA,uBACnB,MAEc;AAAA,cAFdM,EAEcE,GAAA,MAAA;AAAA,2BADZ,MAAuB;AAAA,kBAAvBJ,EAAuBC,EAAA,QAAA,WAAA,CAAA,GAAA,QAAA,EAAA;AAAA,gBAAA;;;cAEHI,EAAAA,OAAO,eAA7BX,EAEiBY,GAAA,EAAA,KAAA,KAAA;AAAA,2BADf,MAAsB;AAAA,kBAAtBN,EAAsBC,EAAA,QAAA,UAAA,CAAA,GAAA,QAAA,EAAA;AAAA,gBAAA;;;;;;;;;;;;"}
@@ -1,12 +1,12 @@
1
- import { resolveComponent as o, createBlock as r, openBlock as c } from "vue";
1
+ import { resolveComponent as o, openBlock as r, createBlock as c } from "vue";
2
2
  import { _ as n } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
3
  const t = {};
4
4
  function _(i, s) {
5
5
  const e = o("v-divider");
6
- return c(), r(e);
6
+ return r(), c(e);
7
7
  }
8
8
  const m = /* @__PURE__ */ n(t, [["render", _]]);
9
9
  export {
10
10
  m as default
11
11
  };
12
- //# sourceMappingURL=x-divider-BOCxsH8h.js.map
12
+ //# sourceMappingURL=x-divider-Buudf0KI.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-divider-BOCxsH8h.js","sources":["../src/vue/x-divider.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 <v-divider />\n</template>\n"],"names":["_createBlock","_component_v_divider"],"mappings":";;;;;cAoBEA,EAAaC,CAAA;;;"}
1
+ {"version":3,"file":"x-divider-Buudf0KI.js","sources":["../src/vue/x-divider.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 <v-divider />\n</template>\n"],"names":["_createBlock","_component_v_divider"],"mappings":";;;;;cAoBEA,EAAaC,CAAA;;;"}
@@ -1,10 +1,10 @@
1
- import { defineComponent as m, mergeModels as s, useModel as d, computed as i, createBlock as p, openBlock as f, unref as c } from "vue";
1
+ import { defineComponent as m, useModel as s, computed as d, openBlock as i, createBlock as p, unref as f, mergeModels as c } from "vue";
2
2
  import { t as V } from "./translations-CXVK8zyA.js";
3
3
  import { useI18n as y } from "vue-i18n";
4
- import { b } from "./index-CkeFEgm6.js";
4
+ import { b } from "./index-5yb_QWW0.js";
5
5
  const g = /* @__PURE__ */ m({
6
6
  __name: "x-file-input",
7
- props: /* @__PURE__ */ s({
7
+ props: /* @__PURE__ */ c({
8
8
  name: {},
9
9
  label: {},
10
10
  required: { type: Boolean },
@@ -21,11 +21,11 @@ const g = /* @__PURE__ */ m({
21
21
  setup(e) {
22
22
  const { t: u } = y({
23
23
  messages: V
24
- }), t = d(e, "modelValue"), a = e, n = i(() => {
24
+ }), t = s(e, "modelValue"), a = e, n = d(() => {
25
25
  const o = [];
26
26
  return a.required && o.push((l) => l ? !0 : u("vuetify.file.input.mandatory")), o;
27
27
  });
28
- return (o, l) => (f(), p(c(b), {
28
+ return (o, l) => (i(), p(f(b), {
29
29
  modelValue: t.value,
30
30
  "onUpdate:modelValue": l[0] || (l[0] = (r) => t.value = r),
31
31
  label: e.label,
@@ -37,4 +37,4 @@ const g = /* @__PURE__ */ m({
37
37
  export {
38
38
  g as default
39
39
  };
40
- //# sourceMappingURL=x-file-input-CEz4Wmf4.js.map
40
+ //# sourceMappingURL=x-file-input-f35OKy3m.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-file-input-CEz4Wmf4.js","sources":["../src/vue/form/x-file-input.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 { VFileInput } from \"vuetify/components/VFileInput\";\nimport type { FileInputModel, TextFieldProps } from \"@xwiki/platform-dsapi\";\n\nconst { t } = useI18n({\n messages,\n});\n\nconst model = defineModel<FileInputModel>();\nconst props = defineProps<TextFieldProps>();\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.file.input.mandatory\");\n }\n });\n }\n return rulesList;\n});\n</script>\n\n<template>\n <v-file-input\n v-model=\"model\"\n :label=\"label\"\n :name=\"name\"\n :rules=\"rules\"\n ></v-file-input>\n</template>\n\n<style scoped></style>\n"],"names":["t","useI18n","messages","model","_useModel","props","__props","rules","computed","rulesList","value","_createBlock","_unref","VFileInput","$event"],"mappings":";;;;;;;;;;;;;;;;;;;;;AA0BA,UAAM,EAAE,GAAAA,EAAA,IAAMC,EAAQ;AAAA,MAAA,UACpBC;AAAAA,IAAA,CACD,GAEKC,IAAQC,iBAA4B,GACpCC,IAAQC,GAERC,IAAQC,EAAS,MAAM;AAC3B,YAAMC,IAAY,CAAA;AAClB,aAAIJ,EAAM,YACRI,EAAU,KAAK,CAACC,MACVA,IACK,KAEAV,EAAE,8BAA8B,CAE1C,GAEIS;AAAA,IACT,CAAC;2BAICE,EAKgBC,EAAAC,CAAA,GAAA;AAAA,kBAJLV,EAAA;AAAA,oDAAAA,EAAK,QAAAW;AAAA,MACb,OAAOR,EAAA;AAAA,MACP,MAAMA,EAAA;AAAA,MACN,OAAOC,EAAA;AAAA,IAAA;;;"}
1
+ {"version":3,"file":"x-file-input-f35OKy3m.js","sources":["../src/vue/form/x-file-input.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 { VFileInput } from \"vuetify/components/VFileInput\";\nimport type { FileInputModel, TextFieldProps } from \"@xwiki/platform-dsapi\";\n\nconst { t } = useI18n({\n messages,\n});\n\nconst model = defineModel<FileInputModel>();\nconst props = defineProps<TextFieldProps>();\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.file.input.mandatory\");\n }\n });\n }\n return rulesList;\n});\n</script>\n\n<template>\n <v-file-input\n v-model=\"model\"\n :label=\"label\"\n :name=\"name\"\n :rules=\"rules\"\n ></v-file-input>\n</template>\n\n<style scoped></style>\n"],"names":["t","useI18n","messages","model","_useModel","props","__props","rules","computed","rulesList","value","_createBlock","_unref","VFileInput","$event"],"mappings":";;;;;;;;;;;;;;;;;;;;;AA0BA,UAAM,EAAE,GAAAA,EAAA,IAAMC,EAAQ;AAAA,MAAA,UACpBC;AAAAA,IAAA,CACD,GAEKC,IAAQC,iBAA4B,GACpCC,IAAQC,GAERC,IAAQC,EAAS,MAAM;AAC3B,YAAMC,IAAY,CAAA;AAClB,aAAIJ,EAAM,YACRI,EAAU,KAAK,CAACC,MACVA,IACK,KAEAV,EAAE,8BAA8B,CAE1C,GAEIS;AAAA,IACT,CAAC;2BAICE,EAKgBC,EAAAC,CAAA,GAAA;AAAA,kBAJLV,EAAA;AAAA,oDAAAA,EAAK,QAAAW;AAAA,MACb,OAAOR,EAAA;AAAA,MACP,MAAMA,EAAA;AAAA,MACN,OAAOC,EAAA;AAAA,IAAA;;;"}
@@ -1,5 +1,5 @@
1
- import { defineComponent as s, ref as m, createBlock as f, openBlock as c, unref as u, withModifiers as d, withCtx as _, renderSlot as l } from "vue";
2
- import { V as p } from "./index-CkeFEgm6.js";
1
+ import { defineComponent as s, ref as m, openBlock as f, createBlock as c, unref as u, withModifiers as d, withCtx as _, renderSlot as l } from "vue";
2
+ import { V as p } from "./index-5yb_QWW0.js";
3
3
  import { _ as v } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  const x = /* @__PURE__ */ s({
5
5
  __name: "x-form",
@@ -15,7 +15,7 @@ const x = /* @__PURE__ */ s({
15
15
  async function n() {
16
16
  (await t.value?.validate())?.valid && i("formSubmit");
17
17
  }
18
- return (e, S) => (c(), f(u(p), {
18
+ return (e, S) => (f(), c(u(p), {
19
19
  ref_key: "form",
20
20
  ref: t,
21
21
  onSubmit: d(n, ["prevent"])
@@ -30,4 +30,4 @@ const x = /* @__PURE__ */ s({
30
30
  export {
31
31
  y as default
32
32
  };
33
- //# sourceMappingURL=x-form-SvpVocOb.js.map
33
+ //# sourceMappingURL=x-form-ClKnXXd0.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-form-SvpVocOb.js","sources":["../src/vue/form/x-form.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 { VForm } from \"vuetify/components/VForm\";\nimport type { Ref } from \"vue\";\n\nconst form: Ref<VForm | undefined> = ref(undefined);\nconst emits = defineEmits([\"formSubmit\"]);\n\ndefineExpose({\n reset,\n});\n\nasync function reset() {\n form.value?.reset();\n}\n\nasync function submit() {\n const validation = await form.value?.validate();\n if (validation?.valid) {\n emits(\"formSubmit\");\n }\n}\n</script>\n\n<template>\n <v-form ref=\"form\" @submit.prevent=\"submit\">\n <slot></slot>\n </v-form>\n</template>\n\n<style scoped>\n.v-form {\n display: flex;\n flex-direction: column;\n gap: var(--cr-spacing-x-small);\n}\n</style>\n"],"names":["form","ref","emits","__emit","__expose","reset","submit","_createBlock","_unref","VForm","_renderSlot","_ctx"],"mappings":";;;;;;;AAwBA,UAAMA,IAA+BC,EAAI,MAAS,GAC5CC,IAAQC;AAEd,IAAAC,EAAa;AAAA,MACX,OAAAC;AAAA,IAAA,CACD;AAED,mBAAeA,IAAQ;AACrB,MAAAL,EAAK,OAAO,MAAA;AAAA,IACd;AAEA,mBAAeM,IAAS;AAEtB,OADmB,MAAMN,EAAK,OAAO,SAAA,IACrB,SACdE,EAAM,YAAY;AAAA,IAEtB;2BAIEK,EAESC,EAAAC,CAAA,GAAA;AAAA,eAFG;AAAA,MAAJ,KAAIT;AAAA,MAAQ,YAAgBM,GAAM,CAAA,SAAA,CAAA;AAAA,IAAA;iBACxC,MAAa;AAAA,QAAbI,EAAaC,EAAA,QAAA,WAAA,CAAA,GAAA,QAAA,EAAA;AAAA,MAAA;;;;;"}
1
+ {"version":3,"file":"x-form-ClKnXXd0.js","sources":["../src/vue/form/x-form.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 { VForm } from \"vuetify/components/VForm\";\nimport type { Ref } from \"vue\";\n\nconst form: Ref<VForm | undefined> = ref(undefined);\nconst emits = defineEmits([\"formSubmit\"]);\n\ndefineExpose({\n reset,\n});\n\nasync function reset() {\n form.value?.reset();\n}\n\nasync function submit() {\n const validation = await form.value?.validate();\n if (validation?.valid) {\n emits(\"formSubmit\");\n }\n}\n</script>\n\n<template>\n <v-form ref=\"form\" @submit.prevent=\"submit\">\n <slot></slot>\n </v-form>\n</template>\n\n<style scoped>\n.v-form {\n display: flex;\n flex-direction: column;\n gap: var(--cr-spacing-x-small);\n}\n</style>\n"],"names":["form","ref","emits","__emit","__expose","reset","submit","_createBlock","_unref","VForm","_renderSlot","_ctx"],"mappings":";;;;;;;AAwBA,UAAMA,IAA+BC,EAAI,MAAS,GAC5CC,IAAQC;AAEd,IAAAC,EAAa;AAAA,MACX,OAAAC;AAAA,IAAA,CACD;AAED,mBAAeA,IAAQ;AACrB,MAAAL,EAAK,OAAO,MAAA;AAAA,IACd;AAEA,mBAAeM,IAAS;AAEtB,OADmB,MAAMN,EAAK,OAAO,SAAA,IACrB,SACdE,EAAM,YAAY;AAAA,IAEtB;2BAIEK,EAESC,EAAAC,CAAA,GAAA;AAAA,eAFG;AAAA,MAAJ,KAAIT;AAAA,MAAQ,YAAgBM,GAAM,CAAA,SAAA,CAAA;AAAA,IAAA;iBACxC,MAAa;AAAA,QAAbI,EAAaC,EAAA,QAAA,WAAA,CAAA,GAAA,QAAA,EAAA;AAAA,MAAA;;;;;"}
@@ -1,13 +1,13 @@
1
- import { createElementBlock as e, openBlock as t } from "vue";
1
+ import { openBlock as e, createElementBlock as t } from "vue";
2
2
  import { _ as c } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
3
  const o = {
4
4
  props: { src: { type: String, required: !0 } }
5
5
  }, s = ["src"];
6
6
  function n(_, p, r, i, a, m) {
7
- return t(), e("img", { src: r.src }, null, 8, s);
7
+ return e(), t("img", { src: r.src }, null, 8, s);
8
8
  }
9
9
  const d = /* @__PURE__ */ c(o, [["render", n]]);
10
10
  export {
11
11
  d as default
12
12
  };
13
- //# sourceMappingURL=x-img-DWbVDNTs.js.map
13
+ //# sourceMappingURL=x-img-BYgs_O1F.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-img-DWbVDNTs.js","sources":["../src/vue/x-img.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 <!-- TODO: add an alt attribute for accessibility -->\n <img :src=\"src\" />\n</template>\n<script lang=\"ts\">\nexport default {\n props: { src: { type: String, required: true } },\n};\n</script>\n"],"names":["_sfc_main","_createElementBlock","$props","_hoisted_1"],"mappings":";;AAwBA,MAAAA,IAAe;AAAA,EACb,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,UAAU,KAAK;AAC/C;;cALEC,EAAkB,OAAA,EAAZ,KAAKC,EAAA,IAAA,GAAG,MAAA,GAAAC,CAAA;;;"}
1
+ {"version":3,"file":"x-img-BYgs_O1F.js","sources":["../src/vue/x-img.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 <!-- TODO: add an alt attribute for accessibility -->\n <img :src=\"src\" />\n</template>\n<script lang=\"ts\">\nexport default {\n props: { src: { type: String, required: true } },\n};\n</script>\n"],"names":["_sfc_main","_createElementBlock","$props","_hoisted_1"],"mappings":";;AAwBA,MAAAA,IAAe;AAAA,EACb,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,UAAU,KAAK;AAC/C;;cALEC,EAAkB,OAAA,EAAZ,KAAKC,EAAA,IAAA,GAAG,MAAA,GAAAC,CAAA;;;"}
@@ -0,0 +1,11 @@
1
+ import { defineComponent as e, openBlock as n, createElementBlock as o } from "vue";
2
+ const p = /* @__PURE__ */ e({
3
+ __name: "x-load",
4
+ setup(t) {
5
+ return (r, a) => (n(), o("span"));
6
+ }
7
+ });
8
+ export {
9
+ p as default
10
+ };
11
+ //# sourceMappingURL=x-load-DipiCmNY.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-load-Bw4ftl3k.js","sources":["../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":";;;;2BAwBUA,EAAa,MAAA;AAAA;;"}
1
+ {"version":3,"file":"x-load-DipiCmNY.js","sources":["../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":";;;;2BAwBUA,EAAa,MAAA;AAAA;;"}
@@ -1,9 +1,9 @@
1
- import { resolveComponent as o, createBlock as s, openBlock as i, withCtx as e, createVNode as l, renderSlot as n, createElementVNode as d, normalizeProps as _, guardReactiveProps as f } from "vue";
1
+ import { resolveComponent as o, openBlock as s, createBlock as i, withCtx as e, createVNode as l, renderSlot as n, createElementVNode as d, normalizeProps as _, guardReactiveProps as f } from "vue";
2
2
  import { _ as p } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
3
  const u = {};
4
4
  function m(t, v) {
5
5
  const a = o("v-list"), c = o("v-menu");
6
- return i(), s(c, {
6
+ return s(), i(c, {
7
7
  "close-on-content-click": !1,
8
8
  attach: "#xwCristalApp",
9
9
  "z-index": "initial"
@@ -28,4 +28,4 @@ const k = /* @__PURE__ */ p(u, [["render", m], ["__scopeId", "data-v-f4270af8"]]
28
28
  export {
29
29
  k as default
30
30
  };
31
- //# sourceMappingURL=x-menu-DUp-JvdG.js.map
31
+ //# sourceMappingURL=x-menu-Dvd5JVz3.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-menu-DUp-JvdG.js","sources":["../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-menu needs to be attached inside Cristal DOM to fix its z-index.\n We also reset the default z-index to set it in the style section. -->\n <v-menu\n :close-on-content-click=\"false\"\n attach=\"#xwCristalApp\"\n z-index=\"initial\"\n >\n <template #activator=\"{ props }\">\n <span v-bind=\"props\">\n <slot name=\"activator\" />\n </span>\n </template>\n <v-list density=\"compact\">\n <slot name=\"default\" />\n </v-list>\n </v-menu>\n</template>\n<style scoped>\n.v-overlay {\n z-index: var(--cr-z-index-dropdown);\n}\n</style>\n"],"names":["_createBlock","_component_v_menu","_withCtx","props","_createElementVNode","_renderSlot","_ctx","_createVNode","_component_v_list"],"mappings":";;;;;cAuBEA,EAaSC,GAAA;AAAA,IAZN,0BAAwB;AAAA,IACzB,QAAO;AAAA,IACP,WAAQ;AAAA;IAEG,WAASC,EAClB,CAEO,EAHe,OAAAC,QAAK;AAAA,MAC3BC,EAEO,YAFOD,CAAK,CAAA,GAAA;AAAA,QACjBE,EAAyBC,EAAA,QAAA,aAAA,CAAA,GAAA,QAAA,EAAA;AAAA;;eAG7B,MAES;AAAA,MAFTC,EAESC,GAAA,EAFD,SAAQ,UAAS,GAAA;AAAA,mBACvB,MAAuB;AAAA,UAAvBH,EAAuBC,EAAA,QAAA,WAAA,CAAA,GAAA,QAAA,EAAA;AAAA;;;;;;;;"}
1
+ {"version":3,"file":"x-menu-Dvd5JVz3.js","sources":["../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-menu needs to be attached inside Cristal DOM to fix its z-index.\n We also reset the default z-index to set it in the style section. -->\n <v-menu\n :close-on-content-click=\"false\"\n attach=\"#xwCristalApp\"\n z-index=\"initial\"\n >\n <template #activator=\"{ props }\">\n <span v-bind=\"props\">\n <slot name=\"activator\" />\n </span>\n </template>\n <v-list density=\"compact\">\n <slot name=\"default\" />\n </v-list>\n </v-menu>\n</template>\n<style scoped>\n.v-overlay {\n z-index: var(--cr-z-index-dropdown);\n}\n</style>\n"],"names":["_createBlock","_component_v_menu","_withCtx","props","_createElementVNode","_renderSlot","_ctx","_createVNode","_component_v_list"],"mappings":";;;;;cAuBEA,EAaSC,GAAA;AAAA,IAZN,0BAAwB;AAAA,IACzB,QAAO;AAAA,IACP,WAAQ;AAAA;IAEG,WAASC,EAClB,CAEO,EAHe,OAAAC,QAAK;AAAA,MAC3BC,EAEO,YAFOD,CAAK,CAAA,GAAA;AAAA,QACjBE,EAAyBC,EAAA,QAAA,aAAA,CAAA,GAAA,QAAA,EAAA;AAAA;;eAG7B,MAES;AAAA,MAFTC,EAESC,GAAA,EAFD,SAAQ,UAAS,GAAA;AAAA,mBACvB,MAAuB;AAAA,UAAvBH,EAAuBC,EAAA,QAAA,WAAA,CAAA,GAAA,QAAA,EAAA;AAAA;;;;;;;;"}
@@ -1,4 +1,4 @@
1
- import { defineComponent as o, resolveComponent as a, createBlock as n, openBlock as s, withCtx as d, renderSlot as i } from "vue";
1
+ import { defineComponent as o, resolveComponent as a, openBlock as n, createBlock as s, withCtx as d, renderSlot as i } from "vue";
2
2
  const u = /* @__PURE__ */ o({
3
3
  __name: "x-menu-item",
4
4
  props: {
@@ -8,7 +8,7 @@ const u = /* @__PURE__ */ o({
8
8
  setup(e) {
9
9
  return (t, m) => {
10
10
  const l = a("v-list-item");
11
- return s(), n(l, {
11
+ return n(), s(l, {
12
12
  value: e.value,
13
13
  disabled: e.disabled
14
14
  }, {
@@ -23,4 +23,4 @@ const u = /* @__PURE__ */ o({
23
23
  export {
24
24
  u as default
25
25
  };
26
- //# sourceMappingURL=x-menu-item-Ph5-wwcR.js.map
26
+ //# sourceMappingURL=x-menu-item-C1ntozOO.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-menu-item-Ph5-wwcR.js","sources":["../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":";;;;;;;;;;kBAyBEA,EAEcC,GAAA;AAAA,QAFA,OAAOC,EAAA;AAAA,QAAQ,UAAUA,EAAA;AAAA,MAAA;mBACrC,MAAuB;AAAA,UAAvBC,EAAuBC,EAAA,QAAA,SAAA;AAAA,QAAA;;;;;;"}
1
+ {"version":3,"file":"x-menu-item-C1ntozOO.js","sources":["../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":";;;;;;;;;;kBAyBEA,EAEcC,GAAA;AAAA,QAFA,OAAOC,EAAA;AAAA,QAAQ,UAAUA,EAAA;AAAA,MAAA;mBACrC,MAAuB;AAAA,UAAvBC,EAAuBC,EAAA,QAAA,SAAA;AAAA,QAAA;;;;;;"}
@@ -1,9 +1,9 @@
1
- import { resolveComponent as o, createBlock as r, openBlock as n, withCtx as s, renderSlot as c } from "vue";
1
+ import { resolveComponent as o, openBlock as r, createBlock as n, withCtx as s, renderSlot as c } from "vue";
2
2
  import { _ as l } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
3
  const _ = {};
4
4
  function a(e, f) {
5
5
  const t = o("v-list-subheader");
6
- return n(), r(t, null, {
6
+ return r(), n(t, null, {
7
7
  default: s(() => [
8
8
  c(e.$slots, "default")
9
9
  ]),
@@ -14,4 +14,4 @@ const i = /* @__PURE__ */ l(_, [["render", a]]);
14
14
  export {
15
15
  i as default
16
16
  };
17
- //# sourceMappingURL=x-menu-label-D-sFcG_g.js.map
17
+ //# sourceMappingURL=x-menu-label-DniImc0U.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-menu-label-D-sFcG_g.js","sources":["../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":";;;;;cAqBEA,EAEmBC,GAAA,MAAA;AAAA,eADjB,MAAuB;AAAA,MAAvBC,EAAuBC,EAAA,QAAA,SAAA;AAAA;;;;;"}
1
+ {"version":3,"file":"x-menu-label-DniImc0U.js","sources":["../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":";;;;;cAqBEA,EAEmBC,GAAA,MAAA;AAAA,eADjB,MAAuB;AAAA,MAAvBC,EAAuBC,EAAA,QAAA,SAAA;AAAA;;;;;"}
@@ -1,9 +1,9 @@
1
- import { resolveComponent as o, createBlock as n, openBlock as t } from "vue";
1
+ import { resolveComponent as o, openBlock as n, createBlock as t } from "vue";
2
2
  import { _ as c } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
3
  const r = {};
4
4
  function a(m, s) {
5
5
  const e = o("v-autocomplete");
6
- return t(), n(e, {
6
+ return n(), t(e, {
7
7
  density: "comfortable",
8
8
  "menu-icon": "",
9
9
  placeholder: "Search",
@@ -17,4 +17,4 @@ const _ = /* @__PURE__ */ c(r, [["render", a]]);
17
17
  export {
18
18
  _ as default
19
19
  };
20
- //# sourceMappingURL=x-search-C7GhoCKj.js.map
20
+ //# sourceMappingURL=x-search-C4yZLrSp.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-search-C7GhoCKj.js","sources":["../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":";;;;;cAsBEA,EAQkBC,GAAA;AAAA,IAPhB,SAAQ;AAAA,IACR,aAAU;AAAA,IACV,aAAY;AAAA,IACZ,sBAAmB;AAAA,IACnB,SAAQ;AAAA,IACR,qBAAA;AAAA,IACA,SAAA;AAAA;;;"}
1
+ {"version":3,"file":"x-search-C4yZLrSp.js","sources":["../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":";;;;;cAsBEA,EAQkBC,GAAA;AAAA,IAPhB,SAAQ;AAAA,IACR,aAAU;AAAA,IACV,aAAY;AAAA,IACZ,sBAAmB;AAAA,IACnB,SAAQ;AAAA,IACR,qBAAA;AAAA,IACA,SAAA;AAAA;;;"}
@@ -1,10 +1,10 @@
1
- import { defineComponent as m, mergeModels as n, useModel as d, computed as i, createBlock as c, openBlock as f, unref as p } from "vue";
1
+ import { defineComponent as m, useModel as n, computed as d, openBlock as i, createBlock as c, unref as f, mergeModels as p } from "vue";
2
2
  import { t as V } from "./translations-CXVK8zyA.js";
3
3
  import { useI18n as b } from "vue-i18n";
4
- import { d as g } from "./index-CkeFEgm6.js";
4
+ import { d as g } from "./index-5yb_QWW0.js";
5
5
  const B = /* @__PURE__ */ m({
6
6
  __name: "x-select",
7
- props: /* @__PURE__ */ n({
7
+ props: /* @__PURE__ */ p({
8
8
  label: {},
9
9
  items: {},
10
10
  help: {},
@@ -16,13 +16,13 @@ const B = /* @__PURE__ */ m({
16
16
  }),
17
17
  emits: ["update:modelValue"],
18
18
  setup(e) {
19
- const r = e, s = d(e, "modelValue"), { t: a } = b({
19
+ const r = e, s = n(e, "modelValue"), { t: a } = b({
20
20
  messages: V
21
- }), o = i(() => {
21
+ }), o = d(() => {
22
22
  const t = [];
23
23
  return r.required && t.push((l) => l ? !0 : a("vuetify.select.input.mandatory")), t;
24
24
  });
25
- return (t, l) => (f(), c(p(g), {
25
+ return (t, l) => (i(), c(f(g), {
26
26
  modelValue: s.value,
27
27
  "onUpdate:modelValue": l[0] || (l[0] = (u) => s.value = u),
28
28
  label: e.label,
@@ -36,4 +36,4 @@ const B = /* @__PURE__ */ m({
36
36
  export {
37
37
  B as default
38
38
  };
39
- //# sourceMappingURL=x-select-BduzHCet.js.map
39
+ //# sourceMappingURL=x-select-B-9ebdG3.js.map