@xwiki/cristal-dsvuetify 0.17.0 → 0.18.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 (79) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/{index-ptn5-s1m.js → index-C-c8K0Z_.js} +7211 -7177
  3. package/dist/index-C-c8K0Z_.js.map +1 -0
  4. package/dist/index.es.js +5 -5
  5. package/dist/index.umd.js +10 -10
  6. package/dist/index.umd.js.map +1 -1
  7. package/dist/{translations-k4crOAds.js → translations-BVK9UR9x.js} +4 -1
  8. package/dist/{translations-k4crOAds.js.map → translations-BVK9UR9x.js.map} +1 -1
  9. package/dist/vue/form/x-form.vue.d.ts +1195 -3
  10. package/dist/vue/form/x-select.vue.d.ts +11 -0
  11. package/dist/{x-alert-CRdF8zFB.js → x-alert-gEtl8xCI.js} +10 -10
  12. package/dist/x-alert-gEtl8xCI.js.map +1 -0
  13. package/dist/{x-avatar-Ds9aYRI9.js → x-avatar-WnkeGyHH.js} +2 -2
  14. package/dist/x-avatar-WnkeGyHH.js.map +1 -0
  15. package/dist/{x-breadcrumb-C2iUd4Sf.js → x-breadcrumb-CyjqjISE.js} +3 -3
  16. package/dist/{x-breadcrumb-C2iUd4Sf.js.map → x-breadcrumb-CyjqjISE.js.map} +1 -1
  17. package/dist/{x-btn-DwTcXGgx.js → x-btn-DzH2bk-f.js} +4 -4
  18. package/dist/{x-btn-DwTcXGgx.js.map → x-btn-DzH2bk-f.js.map} +1 -1
  19. package/dist/{x-card-CRM9KUby.js → x-card-BlUD5hbt.js} +3 -3
  20. package/dist/{x-card-CRM9KUby.js.map → x-card-BlUD5hbt.js.map} +1 -1
  21. package/dist/{x-checkbox-DkOHWnw9.js → x-checkbox-D6cpCtlt.js} +4 -4
  22. package/dist/{x-checkbox-DkOHWnw9.js.map → x-checkbox-D6cpCtlt.js.map} +1 -1
  23. package/dist/x-dialog-Ccb-vGZ2.js +49 -0
  24. package/dist/x-dialog-Ccb-vGZ2.js.map +1 -0
  25. package/dist/{x-divider-Buudf0KI.js → x-divider-BOCxsH8h.js} +3 -3
  26. package/dist/x-divider-BOCxsH8h.js.map +1 -0
  27. package/dist/{x-file-input-BI6tqzny.js → x-file-input-DubSSwF4.js} +5 -5
  28. package/dist/{x-file-input-BI6tqzny.js.map → x-file-input-DubSSwF4.js.map} +1 -1
  29. package/dist/x-form-B2T8k_wn.js +36 -0
  30. package/dist/x-form-B2T8k_wn.js.map +1 -0
  31. package/dist/{x-img-BYgs_O1F.js → x-img-DWbVDNTs.js} +3 -3
  32. package/dist/{x-img-BYgs_O1F.js.map → x-img-DWbVDNTs.js.map} +1 -1
  33. package/dist/x-load-Bw4ftl3k.js +11 -0
  34. package/dist/x-load-Bw4ftl3k.js.map +1 -0
  35. package/dist/{x-menu-DDC7z1Wb.js → x-menu-BeWrqcFy.js} +5 -5
  36. package/dist/{x-menu-DDC7z1Wb.js.map → x-menu-BeWrqcFy.js.map} +1 -1
  37. package/dist/{x-menu-item-ByE5R9Bf.js → x-menu-item-CBdOhZc3.js} +3 -3
  38. package/dist/x-menu-item-CBdOhZc3.js.map +1 -0
  39. package/dist/{x-menu-label-DniImc0U.js → x-menu-label-D-sFcG_g.js} +3 -3
  40. package/dist/{x-menu-label-DniImc0U.js.map → x-menu-label-D-sFcG_g.js.map} +1 -1
  41. package/dist/{x-navigation-tree-BsHJIZki.js → x-navigation-tree-Cx21xHVH.js} +70 -70
  42. package/dist/x-navigation-tree-Cx21xHVH.js.map +1 -0
  43. package/dist/{x-navigation-tree-select-B8G-rNmk.js → x-navigation-tree-select-B3fRZYec.js} +10 -10
  44. package/dist/{x-navigation-tree-select-B8G-rNmk.js.map → x-navigation-tree-select-B3fRZYec.js.map} +1 -1
  45. package/dist/{x-search-C4yZLrSp.js → x-search-C7GhoCKj.js} +3 -3
  46. package/dist/{x-search-C4yZLrSp.js.map → x-search-C7GhoCKj.js.map} +1 -1
  47. package/dist/x-select-CgIqNkk3.js +39 -0
  48. package/dist/x-select-CgIqNkk3.js.map +1 -0
  49. package/dist/{x-tab-group-D1jmHXyJ.js → x-tab-group-BfEaq8Nj.js} +3 -3
  50. package/dist/{x-tab-group-D1jmHXyJ.js.map → x-tab-group-BfEaq8Nj.js.map} +1 -1
  51. package/dist/{x-tab-panel-YsSPuuLL.js → x-tab-panel-DysgiPCz.js} +3 -3
  52. package/dist/x-tab-panel-DysgiPCz.js.map +1 -0
  53. package/dist/{x-tab-OWsxC4de.js → x-tab-vRrbUjdK.js} +3 -3
  54. package/dist/x-tab-vRrbUjdK.js.map +1 -0
  55. package/dist/{x-text-field-DutyqCkJ.js → x-text-field-KwBy_u7M.js} +8 -8
  56. package/dist/{x-text-field-DutyqCkJ.js.map → x-text-field-KwBy_u7M.js.map} +1 -1
  57. package/langs/translation-de.json +1 -0
  58. package/langs/translation-en.json +1 -0
  59. package/langs/translation-fr.json +1 -0
  60. package/package.json +15 -15
  61. package/src/components/vuetifyDesignSystemLoader.ts +5 -0
  62. package/src/vue/css/style.css +4 -0
  63. package/src/vue/form/x-form.vue +19 -3
  64. package/src/vue/form/x-select.vue +57 -0
  65. package/src/vue/x-dialog.vue +1 -1
  66. package/dist/index-ptn5-s1m.js.map +0 -1
  67. package/dist/x-alert-CRdF8zFB.js.map +0 -1
  68. package/dist/x-avatar-Ds9aYRI9.js.map +0 -1
  69. package/dist/x-dialog-DCEnccuq.js +0 -48
  70. package/dist/x-dialog-DCEnccuq.js.map +0 -1
  71. package/dist/x-divider-Buudf0KI.js.map +0 -1
  72. package/dist/x-form-BVMvR_NO.js +0 -25
  73. package/dist/x-form-BVMvR_NO.js.map +0 -1
  74. package/dist/x-load-DipiCmNY.js +0 -11
  75. package/dist/x-load-DipiCmNY.js.map +0 -1
  76. package/dist/x-menu-item-ByE5R9Bf.js.map +0 -1
  77. package/dist/x-navigation-tree-BsHJIZki.js.map +0 -1
  78. package/dist/x-tab-OWsxC4de.js.map +0 -1
  79. package/dist/x-tab-panel-YsSPuuLL.js.map +0 -1
@@ -0,0 +1,11 @@
1
+ import { SelectProps } from '@xwiki/cristal-dsapi';
2
+ type __VLS_Props = SelectProps;
3
+ type __VLS_PublicProps = {
4
+ modelValue?: string;
5
+ } & __VLS_Props;
6
+ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ "update:modelValue": (value: string) => any;
8
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
9
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
10
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
+ export default _default;
@@ -1,6 +1,6 @@
1
- import { defineComponent as d, resolveComponent as n, openBlock as t, createBlock as a, withCtx as r, createElementBlock as l, Fragment as m, renderList as _, createTextVNode as u, toDisplayString as s, createCommentVNode as i, renderSlot as f } from "vue";
1
+ import { defineComponent as d, resolveComponent as n, createBlock as a, openBlock as t, withCtx as r, createElementBlock as l, createCommentVNode as s, renderSlot as m, Fragment as _, renderList as u, createTextVNode as f, toDisplayString as i } from "vue";
2
2
  import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
- const y = { key: 0 }, b = { key: 1 }, C = /* @__PURE__ */ d({
3
+ const y = { key: 0 }, b = { key: 1 }, v = /* @__PURE__ */ d({
4
4
  __name: "x-alert",
5
5
  props: {
6
6
  title: {},
@@ -10,7 +10,7 @@ const y = { key: 0 }, b = { key: 1 }, C = /* @__PURE__ */ d({
10
10
  closable: { type: Boolean },
11
11
  details: {}
12
12
  },
13
- setup(v) {
13
+ setup(C) {
14
14
  return (e, h) => {
15
15
  const c = n("x-btn"), p = n("v-alert");
16
16
  return t(), a(p, {
@@ -20,27 +20,27 @@ const y = { key: 0 }, b = { key: 1 }, C = /* @__PURE__ */ d({
20
20
  text: e.description
21
21
  }, {
22
22
  default: r(() => [
23
- (t(!0), l(m, null, _(e.actions, (o) => (t(), a(c, {
23
+ (t(!0), l(_, null, u(e.actions, (o) => (t(), a(c, {
24
24
  key: o.name,
25
25
  size: "small",
26
26
  variant: "text",
27
27
  onClick: o.callback
28
28
  }, {
29
29
  default: r(() => [
30
- u(s(o.name), 1)
30
+ f(i(o.name), 1)
31
31
  ]),
32
32
  _: 2
33
33
  }, 1032, ["onClick"]))), 128)),
34
- e.details ? (t(), l("br", y)) : i("", !0),
35
- e.details ? (t(), l("small", b, s(e.details), 1)) : i("", !0),
36
- f(e.$slots, "default", {}, void 0, !0)
34
+ e.details ? (t(), l("br", y)) : s("", !0),
35
+ e.details ? (t(), l("small", b, i(e.details), 1)) : s("", !0),
36
+ m(e.$slots, "default", {}, void 0, !0)
37
37
  ]),
38
38
  _: 3
39
39
  }, 8, ["closable", "title", "type", "text"]);
40
40
  };
41
41
  }
42
- }), g = /* @__PURE__ */ k(C, [["__scopeId", "data-v-c679f3ce"]]);
42
+ }), g = /* @__PURE__ */ k(v, [["__scopeId", "data-v-c679f3ce"]]);
43
43
  export {
44
44
  g as default
45
45
  };
46
- //# sourceMappingURL=x-alert-CRdF8zFB.js.map
46
+ //# sourceMappingURL=x-alert-gEtl8xCI.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x-alert-gEtl8xCI.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,4 +1,4 @@
1
- import { defineComponent as r, resolveComponent as n, openBlock as a, createBlock as o, withCtx as m, createElementBlock as i, toDisplayString as p } from "vue";
1
+ import { defineComponent as r, resolveComponent as n, createBlock as o, openBlock as a, withCtx as m, createElementBlock as i, toDisplayString as p } from "vue";
2
2
  const c = { key: 1 }, g = /* @__PURE__ */ r({
3
3
  __name: "x-avatar",
4
4
  props: {
@@ -25,4 +25,4 @@ const c = { key: 1 }, g = /* @__PURE__ */ r({
25
25
  export {
26
26
  g as default
27
27
  };
28
- //# sourceMappingURL=x-avatar-Ds9aYRI9.js.map
28
+ //# sourceMappingURL=x-avatar-WnkeGyHH.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x-avatar-WnkeGyHH.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,4 +1,4 @@
1
- import { defineComponent as m, computed as n, resolveComponent as a, openBlock as p, createBlock as _ } from "vue";
1
+ import { defineComponent as m, computed as n, resolveComponent as a, createBlock as p, openBlock 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 c = a("v-breadcrumbs");
15
- return p(), _(c, { items: s.value }, null, 8, ["items"]);
15
+ return _(), p(c, { items: s.value }, null, 8, ["items"]);
16
16
  };
17
17
  }
18
18
  }), b = /* @__PURE__ */ u(i, [["__scopeId", "data-v-7547965a"]]);
19
19
  export {
20
20
  b as default
21
21
  };
22
- //# sourceMappingURL=x-breadcrumb-C2iUd4Sf.js.map
22
+ //# sourceMappingURL=x-breadcrumb-CyjqjISE.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-breadcrumb-C2iUd4Sf.js","sources":["../src/vue/x-breadcrumb.vue"],"sourcesContent":["<!--\nSee the LICENSE file distributed with this work for additional\ninformation regarding copyright ownership.\n\nThis is free software; you can redistribute it and/or modify it\nunder the terms of the GNU Lesser General Public License as\npublished by the Free Software Foundation; either version 2.1 of\nthe License, or (at your option) any later version.\n\nThis software is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this software; if not, write to the Free\nSoftware Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n<script setup lang=\"ts\">\nimport { BreadcrumbProps } from \"@xwiki/cristal-dsapi\";\nimport { computed } from \"vue\";\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"],"mappings":";;;;;;;;AAuBA,UAAMA,IAAQC,GAERC,IAAQC,EAAS,MACdH,EAAM,MAAM,IAAI,CAAC,EAAE,OAAAI,GAAO,KAAAC,SACxB;AAAA,MACL,OAAOD;AAAA,MACP,MAAMC;AAAA,IACR,EACD,CACF;;;;;;;"}
1
+ {"version":3,"file":"x-breadcrumb-CyjqjISE.js","sources":["../src/vue/x-breadcrumb.vue"],"sourcesContent":["<!--\nSee the LICENSE file distributed with this work for additional\ninformation regarding copyright ownership.\n\nThis is free software; you can redistribute it and/or modify it\nunder the terms of the GNU Lesser General Public License as\npublished by the Free Software Foundation; either version 2.1 of\nthe License, or (at your option) any later version.\n\nThis software is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this software; if not, write to the Free\nSoftware Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n<script setup lang=\"ts\">\nimport { BreadcrumbProps } from \"@xwiki/cristal-dsapi\";\nimport { computed } from \"vue\";\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"],"mappings":";;;;;;;;AAuBA,UAAMA,IAAQC,GAERC,IAAQC,EAAS,MACdH,EAAM,MAAM,IAAI,CAAC,EAAE,OAAAI,GAAO,KAAAC,SACxB;AAAA,MACL,OAAOD;AAAA,MACP,MAAMC;AAAA,IACR,EACD,CACF;;;;;;;"}
@@ -1,4 +1,4 @@
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";
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";
2
2
  const m = /* @__PURE__ */ c({
3
3
  __name: "x-btn",
4
4
  props: {
@@ -30,9 +30,9 @@ const m = /* @__PURE__ */ c({
30
30
  }
31
31
  return e;
32
32
  }), n = r(() => a.variant == "text" ? "text" : "tonal");
33
- return (e, d) => {
33
+ return (e, v) => {
34
34
  const o = s("v-btn");
35
- return l(), i(o, {
35
+ return i(), l(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-DwTcXGgx.js.map
50
+ //# sourceMappingURL=x-btn-DzH2bk-f.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-btn-DwTcXGgx.js","sources":["../src/vue/x-btn.vue"],"sourcesContent":["<!--\nSee the LICENSE file distributed with this work for additional\ninformation regarding copyright ownership.\n\nThis is free software; you can redistribute it and/or modify it\nunder the terms of the GNU Lesser General Public License as\npublished by the Free Software Foundation; either version 2.1 of\nthe License, or (at your option) any later version.\n\nThis software is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this software; if not, write to the Free\nSoftware Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n02110-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/cristal-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"],"mappings":";;;;;;;;;AA0BM,UAAAA,IAAQC,EAAS,MAAM;AAC3B,UAAID;AACJ,cAAQE,EAAO,SAAE;AAAA,QACf,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;AAEGA,aAAAA;AAAAA,IAAA,CACR,GAEKG,IAAWF,EAAS,MAAOC,EAAA,WAAW,SAAS,SAAS,OAAQ;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"x-btn-DzH2bk-f.js","sources":["../src/vue/x-btn.vue"],"sourcesContent":["<!--\nSee the LICENSE file distributed with this work for additional\ninformation regarding copyright ownership.\n\nThis is free software; you can redistribute it and/or modify it\nunder the terms of the GNU Lesser General Public License as\npublished by the Free Software Foundation; either version 2.1 of\nthe License, or (at your option) any later version.\n\nThis software is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this software; if not, write to the Free\nSoftware Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n02110-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/cristal-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"],"mappings":";;;;;;;;;AA0BM,UAAAA,IAAQC,EAAS,MAAM;AAC3B,UAAID;AACJ,cAAQE,EAAO,SAAE;AAAA,QACf,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;AAEGA,aAAAA;AAAAA,IAAA,CACR,GAEKG,IAAWF,EAAS,MAAOC,EAAA,WAAW,SAAS,SAAS,OAAQ;;;;;;;;;;;;;;;"}
@@ -1,11 +1,11 @@
1
- import { resolveComponent as o, openBlock as n, createBlock as a, withCtx as c, renderSlot as i } from "vue";
1
+ import { resolveComponent as o, createBlock as n, openBlock 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 n(), a(r, {
8
+ return a(), n(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-CRM9KUby.js.map
22
+ //# sourceMappingURL=x-card-BlUD5hbt.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-card-CRM9KUby.js","sources":["../src/vue/x-card.vue"],"sourcesContent":["<!--\nSee the LICENSE file distributed with this work for additional\ninformation regarding copyright ownership.\n\nThis is free software; you can redistribute it and/or modify it\nunder the terms of the GNU Lesser General Public License as\npublished by the Free Software Foundation; either version 2.1 of\nthe License, or (at your option) any later version.\n\nThis software is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this software; if not, write to the Free\nSoftware Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n02110-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","_resolveComponent","_openBlock","_createBlock","_component_v_card","$props","_renderSlot","_ctx"],"mappings":";;AAyBA,MAAeA,IAAA;AAAA,EACb,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,UAAU,GAAO,EAAA;AACnD;;YAPEC,EAES,QAAA;AAFc,SAAAC,EAAA,GAAkBC,EAAAC,GAAA;AAAA,IAAA,OAAAC,EAAA;AAAA,IApB3C,SAAA;AAAA,EAAA,GAAA;AAAA;MAAAC,EAAAC,EAAA,QAAA,SAAA;AAAA,IAAA,CAAA;AAAA;;;;"}
1
+ {"version":3,"file":"x-card-BlUD5hbt.js","sources":["../src/vue/x-card.vue"],"sourcesContent":["<!--\nSee the LICENSE file distributed with this work for additional\ninformation regarding copyright ownership.\n\nThis is free software; you can redistribute it and/or modify it\nunder the terms of the GNU Lesser General Public License as\npublished by the Free Software Foundation; either version 2.1 of\nthe License, or (at your option) any later version.\n\nThis software is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this software; if not, write to the Free\nSoftware Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n02110-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","_resolveComponent","_openBlock","_createBlock","_component_v_card","$props","_renderSlot","_ctx"],"mappings":";;AAyBA,MAAeA,IAAA;AAAA,EACb,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,UAAU,GAAO,EAAA;AACnD;;YAPEC,EAES,QAAA;AAFc,SAAAC,EAAA,GAAkBC,EAAAC,GAAA;AAAA,IAAA,OAAAC,EAAA;AAAA,IApB3C,SAAA;AAAA,EAAA,GAAA;AAAA;MAAAC,EAAAC,EAAA,QAAA,SAAA;AAAA,IAAA,CAAA;AAAA;;;;"}
@@ -1,5 +1,5 @@
1
- import { defineComponent as s, mergeModels as u, useModel as d, openBlock as n, createBlock as t, unref as p } from "vue";
2
- import { x as r } from "./index-ptn5-s1m.js";
1
+ import { defineComponent as s, mergeModels as u, useModel as d, createBlock as n, openBlock as t, unref as p } from "vue";
2
+ import { x as r } from "./index-C-c8K0Z_.js";
3
3
  const V = /* @__PURE__ */ s({
4
4
  __name: "x-checkbox",
5
5
  props: /* @__PURE__ */ u({
@@ -13,7 +13,7 @@ const V = /* @__PURE__ */ s({
13
13
  emits: ["update:modelValue"],
14
14
  setup(a) {
15
15
  const e = d(a, "modelValue");
16
- return (l, o) => (n(), t(p(r), {
16
+ return (l, o) => (t(), n(p(r), {
17
17
  modelValue: e.value,
18
18
  "onUpdate:modelValue": o[0] || (o[0] = (m) => e.value = m),
19
19
  label: l.label,
@@ -25,4 +25,4 @@ const V = /* @__PURE__ */ s({
25
25
  export {
26
26
  V as default
27
27
  };
28
- //# sourceMappingURL=x-checkbox-DkOHWnw9.js.map
28
+ //# sourceMappingURL=x-checkbox-D6cpCtlt.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-checkbox-DkOHWnw9.js","sources":["../src/vue/form/x-checkbox.vue"],"sourcesContent":["<!--\nSee the LICENSE file distributed with this work for additional\ninformation regarding copyright ownership.\n\nThis is free software; you can redistribute it and/or modify it\nunder the terms of the GNU Lesser General Public License as\npublished by the Free Software Foundation; either version 2.1 of\nthe License, or (at your option) any later version.\n\nThis software is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this software; if not, write to the Free\nSoftware Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n02110-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/cristal-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"],"mappings":";;;;;;;;;;;;;;AAyBM,UAAAA,IAAUC,iBAA4B;;;;;;;;;;"}
1
+ {"version":3,"file":"x-checkbox-D6cpCtlt.js","sources":["../src/vue/form/x-checkbox.vue"],"sourcesContent":["<!--\nSee the LICENSE file distributed with this work for additional\ninformation regarding copyright ownership.\n\nThis is free software; you can redistribute it and/or modify it\nunder the terms of the GNU Lesser General Public License as\npublished by the Free Software Foundation; either version 2.1 of\nthe License, or (at your option) any later version.\n\nThis software is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this software; if not, write to the Free\nSoftware Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n02110-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/cristal-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"],"mappings":";;;;;;;;;;;;;;AAyBM,UAAAA,IAAUC,iBAA4B;;;;;;;;;;"}
@@ -0,0 +1,49 @@
1
+ import { defineComponent as p, resolveComponent as o, createBlock as r, openBlock as n, withCtx as e, createVNode as d, createCommentVNode as v, renderSlot as a, createElementVNode as m, normalizeProps as u, guardReactiveProps as f } from "vue";
2
+ import { _ as h } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
+ const w = /* @__PURE__ */ p({
4
+ __name: "x-dialog",
5
+ props: {
6
+ title: {},
7
+ width: {}
8
+ },
9
+ setup(g) {
10
+ return (t, C) => {
11
+ const c = o("v-card-text"), l = o("v-card-actions"), s = o("v-card"), i = o("v-dialog");
12
+ return n(), r(i, {
13
+ width: t.width,
14
+ attach: "#view",
15
+ scrollable: ""
16
+ }, {
17
+ activator: e(({ props: _ }) => [
18
+ m("span", u(f(_)), [
19
+ a(t.$slots, "activator", {}, void 0, !0)
20
+ ], 16)
21
+ ]),
22
+ default: e(() => [
23
+ d(s, { title: t.title }, {
24
+ default: e(() => [
25
+ d(c, null, {
26
+ default: e(() => [
27
+ a(t.$slots, "default", {}, void 0, !0)
28
+ ]),
29
+ _: 3
30
+ }),
31
+ t.$slots.footer ? (n(), r(l, { key: 0 }, {
32
+ default: e(() => [
33
+ a(t.$slots, "footer", {}, void 0, !0)
34
+ ]),
35
+ _: 3
36
+ })) : v("", !0)
37
+ ]),
38
+ _: 3
39
+ }, 8, ["title"])
40
+ ]),
41
+ _: 3
42
+ }, 8, ["width"]);
43
+ };
44
+ }
45
+ }), N = /* @__PURE__ */ h(w, [["__scopeId", "data-v-937b761f"]]);
46
+ export {
47
+ N as default
48
+ };
49
+ //# sourceMappingURL=x-dialog-Ccb-vGZ2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x-dialog-Ccb-vGZ2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,12 +1,12 @@
1
- import { resolveComponent as o, openBlock as r, createBlock as c } from "vue";
1
+ import { resolveComponent as o, createBlock as r, openBlock 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 r(), c(e);
6
+ return c(), r(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-Buudf0KI.js.map
12
+ //# sourceMappingURL=x-divider-BOCxsH8h.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x-divider-BOCxsH8h.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
@@ -1,7 +1,7 @@
1
- import { defineComponent as s, mergeModels as m, useModel as p, computed as d, openBlock as i, createBlock as f, unref as c } from "vue";
2
- import { t as V } from "./translations-k4crOAds.js";
1
+ import { defineComponent as s, mergeModels as m, useModel as p, computed as d, createBlock as i, openBlock as f, unref as c } from "vue";
2
+ import { t as V } from "./translations-BVK9UR9x.js";
3
3
  import { useI18n as y } from "vue-i18n";
4
- import { b } from "./index-ptn5-s1m.js";
4
+ import { b } from "./index-C-c8K0Z_.js";
5
5
  const k = /* @__PURE__ */ s({
6
6
  __name: "x-file-input",
7
7
  props: /* @__PURE__ */ m({
@@ -25,7 +25,7 @@ const k = /* @__PURE__ */ s({
25
25
  const e = [];
26
26
  return a.required && e.push((l) => l ? !0 : u("vuetify.file.input.mandatory")), e;
27
27
  });
28
- return (e, l) => (i(), f(c(b), {
28
+ return (e, l) => (f(), i(c(b), {
29
29
  modelValue: t.value,
30
30
  "onUpdate:modelValue": l[0] || (l[0] = (n) => t.value = n),
31
31
  label: e.label,
@@ -37,4 +37,4 @@ const k = /* @__PURE__ */ s({
37
37
  export {
38
38
  k as default
39
39
  };
40
- //# sourceMappingURL=x-file-input-BI6tqzny.js.map
40
+ //# sourceMappingURL=x-file-input-DubSSwF4.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-file-input-BI6tqzny.js","sources":["../src/vue/form/x-file-input.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport messages from \"../../translations\";\nimport { computed, defineModel } from \"vue\";\nimport { useI18n } from \"vue-i18n\";\nimport { VFileInput } from \"vuetify/components/VFileInput\";\nimport type { FileInputModel, TextFieldProps } from \"@xwiki/cristal-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"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAOM,UAAA,EAAE,GAAAA,EAAE,IAAIC,EAAQ;AAAA,MACpBC,UAAAA;AAAAA,IAAA,CACD,GAEKC,IAAQC,iBAA4B,GACpCC,IAAQC,GAERC,IAAQC,EAAS,MAAM;AAC3B,YAAMC,IAAY,CAAC;AACnB,aAAIJ,EAAM,YACEI,EAAA,KAAK,CAACC,MACVA,IACK,KAEAV,EAAE,8BAA8B,CAE1C,GAEIS;AAAA,IAAA,CACR;;;;;;;;;;"}
1
+ {"version":3,"file":"x-file-input-DubSSwF4.js","sources":["../src/vue/form/x-file-input.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport messages from \"../../translations\";\nimport { computed, defineModel } from \"vue\";\nimport { useI18n } from \"vue-i18n\";\nimport { VFileInput } from \"vuetify/components/VFileInput\";\nimport type { FileInputModel, TextFieldProps } from \"@xwiki/cristal-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"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAOM,UAAA,EAAE,GAAAA,EAAE,IAAIC,EAAQ;AAAA,MACpBC,UAAAA;AAAAA,IAAA,CACD,GAEKC,IAAQC,iBAA4B,GACpCC,IAAQC,GAERC,IAAQC,EAAS,MAAM;AAC3B,YAAMC,IAAY,CAAC;AACnB,aAAIJ,EAAM,YACEI,EAAA,KAAK,CAACC,MACVA,IACK,KAEAV,EAAE,8BAA8B,CAE1C,GAEIS;AAAA,IAAA,CACR;;;;;;;;;;"}
@@ -0,0 +1,36 @@
1
+ import { defineComponent as n, ref as a, createBlock as c, openBlock as u, unref as _, withModifiers as p, withCtx as d, renderSlot as l } from "vue";
2
+ import { V as v } from "./index-C-c8K0Z_.js";
3
+ import { _ as x } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
+ const b = /* @__PURE__ */ n({
5
+ __name: "x-form",
6
+ emits: ["formSubmit"],
7
+ setup(S, { expose: r, emit: s }) {
8
+ const t = a(void 0), m = s;
9
+ r({
10
+ reset: f
11
+ });
12
+ async function f() {
13
+ var e;
14
+ (e = t.value) == null || e.reset();
15
+ }
16
+ async function i() {
17
+ var o;
18
+ const e = await ((o = t.value) == null ? void 0 : o.validate());
19
+ e != null && e.valid && m("formSubmit");
20
+ }
21
+ return (e, o) => (u(), c(_(v), {
22
+ ref_key: "form",
23
+ ref: t,
24
+ onSubmit: p(i, ["prevent"])
25
+ }, {
26
+ default: d(() => [
27
+ l(e.$slots, "default", {}, void 0, !0)
28
+ ]),
29
+ _: 3
30
+ }, 512));
31
+ }
32
+ }), y = /* @__PURE__ */ x(b, [["__scopeId", "data-v-8592890c"]]);
33
+ export {
34
+ y as default
35
+ };
36
+ //# sourceMappingURL=x-form-B2T8k_wn.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x-form-B2T8k_wn.js","sources":["../src/vue/form/x-form.vue"],"sourcesContent":["<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","_a","submit","validation"],"mappings":";;;;;;;AAKM,UAAAA,IAA+BC,EAAI,MAAS,GAC5CC,IAAQC;AAED,IAAAC,EAAA;AAAA,MACX,OAAAC;AAAA,IAAA,CACD;AAED,mBAAeA,IAAQ;;AACrB,OAAAC,IAAAN,EAAK,UAAL,QAAAM,EAAY;AAAA,IAAM;AAGpB,mBAAeC,IAAS;;AACtB,YAAMC,IAAa,QAAMF,IAAAN,EAAK,UAAL,gBAAAM,EAAY;AACrC,MAAIE,KAAA,QAAAA,EAAY,SACdN,EAAM,YAAY;AAAA,IACpB;;;;;;;;;;;;;"}
@@ -1,13 +1,13 @@
1
- import { openBlock as e, createElementBlock as t } from "vue";
1
+ import { createElementBlock as e, openBlock 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 e(), t("img", { src: r.src }, null, 8, s);
7
+ return t(), e("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-BYgs_O1F.js.map
13
+ //# sourceMappingURL=x-img-DWbVDNTs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-img-BYgs_O1F.js","sources":["../src/vue/x-img.vue"],"sourcesContent":["<!--\nSee the LICENSE file distributed with this work for additional\ninformation regarding copyright ownership.\n\nThis is free software; you can redistribute it and/or modify it\nunder the terms of the GNU Lesser General Public License as\npublished by the Free Software Foundation; either version 2.1 of\nthe License, or (at your option) any later version.\n\nThis software is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this software; if not, write to the Free\nSoftware Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n02110-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"],"mappings":";;AAwBA,MAAeA,IAAA;AAAA,EACb,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,UAAU,GAAO,EAAA;AACjD;;;;;"}
1
+ {"version":3,"file":"x-img-DWbVDNTs.js","sources":["../src/vue/x-img.vue"],"sourcesContent":["<!--\nSee the LICENSE file distributed with this work for additional\ninformation regarding copyright ownership.\n\nThis is free software; you can redistribute it and/or modify it\nunder the terms of the GNU Lesser General Public License as\npublished by the Free Software Foundation; either version 2.1 of\nthe License, or (at your option) any later version.\n\nThis software is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this software; if not, write to the Free\nSoftware Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n02110-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"],"mappings":";;AAwBA,MAAeA,IAAA;AAAA,EACb,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,UAAU,GAAO,EAAA;AACjD;;;;;"}
@@ -0,0 +1,11 @@
1
+ import { defineComponent as e, createElementBlock as n, openBlock as o } from "vue";
2
+ const p = /* @__PURE__ */ e({
3
+ __name: "x-load",
4
+ setup(t) {
5
+ return (r, a) => (o(), n("span"));
6
+ }
7
+ });
8
+ export {
9
+ p as default
10
+ };
11
+ //# sourceMappingURL=x-load-Bw4ftl3k.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x-load-Bw4ftl3k.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
@@ -1,20 +1,20 @@
1
- import { resolveComponent as o, openBlock as s, createBlock as l, withCtx as e, createElementVNode as i, normalizeProps as d, guardReactiveProps as _, renderSlot as n, createVNode as u } from "vue";
1
+ import { resolveComponent as o, createBlock as s, openBlock as l, withCtx as e, createVNode as i, renderSlot as n, createElementVNode as d, normalizeProps as _, guardReactiveProps as u } from "vue";
2
2
  import { _ as f } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
3
  const p = {};
4
4
  function m(t, v) {
5
5
  const a = o("v-list"), r = o("v-menu");
6
- return s(), l(r, {
6
+ return l(), s(r, {
7
7
  "close-on-content-click": !1,
8
8
  attach: "#xwCristalApp",
9
9
  "z-index": "initial"
10
10
  }, {
11
11
  activator: e(({ props: c }) => [
12
- i("span", d(_(c)), [
12
+ d("span", _(u(c)), [
13
13
  n(t.$slots, "activator", {}, void 0, !0)
14
14
  ], 16)
15
15
  ]),
16
16
  default: e(() => [
17
- u(a, null, {
17
+ i(a, null, {
18
18
  default: e(() => [
19
19
  n(t.$slots, "default", {}, void 0, !0)
20
20
  ]),
@@ -28,4 +28,4 @@ const k = /* @__PURE__ */ f(p, [["render", m], ["__scopeId", "data-v-ef2ba5a0"]]
28
28
  export {
29
29
  k as default
30
30
  };
31
- //# sourceMappingURL=x-menu-DDC7z1Wb.js.map
31
+ //# sourceMappingURL=x-menu-BeWrqcFy.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-menu-DDC7z1Wb.js","sources":["../src/vue/x-menu.vue"],"sourcesContent":["<!--\nSee the LICENSE file distributed with this work for additional\ninformation regarding copyright ownership.\n\nThis is free software; you can redistribute it and/or modify it\nunder the terms of the GNU Lesser General Public License as\npublished by the Free Software Foundation; either version 2.1 of\nthe License, or (at your option) any later version.\n\nThis software is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this software; if not, write to the Free\nSoftware Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n02110-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>\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":["_openBlock","_createBlock","_component_v_menu","_withCtx","props","_normalizeProps","_guardReactiveProps","_createVNode","_component_v_list"],"mappings":";;;;;AAwBK,SAAAA,EAAA,GAAAC,EAA6BC,GAAA;AAAA,IAC9B,0BAAsB;AAAA,IACtB,QAAA;AAAA;KAEoB;AAAA,eAGXC,EAAA,CAAA,EAAA,OAAAC,QA/Bb;AAAA,QA8BiC,QAAAC,EAAAC,EAAAF,CAAA,CAAA,GAAA;AAAA;;IA9BjC,CAAA;AAAA,aAmCaD,EAAA,MAAA;AAAA,MAnCbI,EAAAC,GAkC6B,MAAA;AAAA,iBAAAL,EAAA,MAAA;AAAA;SAlC7B;AAAA;;KAAA;AAAA;;;;"}
1
+ {"version":3,"file":"x-menu-BeWrqcFy.js","sources":["../src/vue/x-menu.vue"],"sourcesContent":["<!--\nSee the LICENSE file distributed with this work for additional\ninformation regarding copyright ownership.\n\nThis is free software; you can redistribute it and/or modify it\nunder the terms of the GNU Lesser General Public License as\npublished by the Free Software Foundation; either version 2.1 of\nthe License, or (at your option) any later version.\n\nThis software is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this software; if not, write to the Free\nSoftware Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n02110-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>\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":["_openBlock","_createBlock","_component_v_menu","_withCtx","props","_normalizeProps","_guardReactiveProps","_createVNode","_component_v_list"],"mappings":";;;;;AAwBK,SAAAA,EAAA,GAAAC,EAA6BC,GAAA;AAAA,IAC9B,0BAAsB;AAAA,IACtB,QAAA;AAAA;KAEoB;AAAA,eAGXC,EAAA,CAAA,EAAA,OAAAC,QA/Bb;AAAA,QA8BiC,QAAAC,EAAAC,EAAAF,CAAA,CAAA,GAAA;AAAA;;IA9BjC,CAAA;AAAA,aAmCaD,EAAA,MAAA;AAAA,MAnCbI,EAAAC,GAkC6B,MAAA;AAAA,iBAAAL,EAAA,MAAA;AAAA;SAlC7B;AAAA;;KAAA;AAAA;;;;"}
@@ -1,4 +1,4 @@
1
- import { defineComponent as o, resolveComponent as n, openBlock as l, createBlock as r, withCtx as a, renderSlot as s } from "vue";
1
+ import { defineComponent as o, resolveComponent as n, createBlock as l, openBlock as r, withCtx as a, renderSlot as s } from "vue";
2
2
  const _ = /* @__PURE__ */ o({
3
3
  __name: "x-menu-item",
4
4
  props: {
@@ -7,7 +7,7 @@ const _ = /* @__PURE__ */ o({
7
7
  setup(m) {
8
8
  return (e, p) => {
9
9
  const t = n("v-list-item");
10
- return l(), r(t, { value: e.value }, {
10
+ return r(), l(t, { value: e.value }, {
11
11
  default: a(() => [
12
12
  s(e.$slots, "default")
13
13
  ]),
@@ -19,4 +19,4 @@ const _ = /* @__PURE__ */ o({
19
19
  export {
20
20
  _ as default
21
21
  };
22
- //# sourceMappingURL=x-menu-item-ByE5R9Bf.js.map
22
+ //# sourceMappingURL=x-menu-item-CBdOhZc3.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x-menu-item-CBdOhZc3.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;"}
@@ -1,9 +1,9 @@
1
- import { resolveComponent as o, openBlock as r, createBlock as n, withCtx as s, renderSlot as c } from "vue";
1
+ import { resolveComponent as o, createBlock as r, openBlock 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 r(), n(t, null, {
6
+ return n(), r(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-DniImc0U.js.map
17
+ //# sourceMappingURL=x-menu-label-D-sFcG_g.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-menu-label-DniImc0U.js","sources":["../src/vue/x-menu-label.vue"],"sourcesContent":["<!--\nSee the LICENSE file distributed with this work for additional\ninformation regarding copyright ownership.\n\nThis is free software; you can redistribute it and/or modify it\nunder the terms of the GNU Lesser General Public License as\npublished by the Free Software Foundation; either version 2.1 of\nthe License, or (at your option) any later version.\n\nThis software is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this software; if not, write to the Free\nSoftware Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n02110-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":["_openBlock","_createBlock","_component_v_list_subheader","_withCtx"],"mappings":";;;;;AAAA,SAAAA,EAsBI,GAAuBC,EAAAC,GAAA,MAAA;AAAA,aAAAC,EAAA,MAAA;AAAA;KAtB3B;AAAA;;;;"}
1
+ {"version":3,"file":"x-menu-label-D-sFcG_g.js","sources":["../src/vue/x-menu-label.vue"],"sourcesContent":["<!--\nSee the LICENSE file distributed with this work for additional\ninformation regarding copyright ownership.\n\nThis is free software; you can redistribute it and/or modify it\nunder the terms of the GNU Lesser General Public License as\npublished by the Free Software Foundation; either version 2.1 of\nthe License, or (at your option) any later version.\n\nThis software is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this software; if not, write to the Free\nSoftware Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n02110-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":["_openBlock","_createBlock","_component_v_list_subheader","_withCtx"],"mappings":";;;;;AAAA,SAAAA,EAsBI,GAAuBC,EAAAC,GAAA,MAAA;AAAA,aAAAC,EAAA,MAAA;AAAA;KAtB3B;AAAA;;;;"}