@xwiki/cristal-dsvuetify 0.19.0 → 0.20.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 (80) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/dist/index-DNHsU4Fr.js +27009 -0
  3. package/dist/index-DNHsU4Fr.js.map +1 -0
  4. package/dist/index.es.js +4 -4
  5. package/dist/index.umd.js +37 -9
  6. package/dist/index.umd.js.map +1 -1
  7. package/dist/vue/form/x-navigation-tree-select.vue.d.ts +4 -4
  8. package/dist/x-alert-CAlwFn5B.js +46 -0
  9. package/dist/{x-alert-gEtl8xCI.js.map → x-alert-CAlwFn5B.js.map} +1 -1
  10. package/dist/{x-avatar-WnkeGyHH.js → x-avatar-Cp8QVkHc.js} +5 -5
  11. package/dist/{x-avatar-WnkeGyHH.js.map → x-avatar-Cp8QVkHc.js.map} +1 -1
  12. package/dist/x-breadcrumb-BQVk_ZI_.js +22 -0
  13. package/dist/{x-breadcrumb-CyjqjISE.js.map → x-breadcrumb-BQVk_ZI_.js.map} +1 -1
  14. package/dist/x-btn-BXn20OTM.js +50 -0
  15. package/dist/{x-btn-DzH2bk-f.js.map → x-btn-BXn20OTM.js.map} +1 -1
  16. package/dist/x-card-BjsZr1mV.js +22 -0
  17. package/dist/{x-card-BlUD5hbt.js.map → x-card-BjsZr1mV.js.map} +1 -1
  18. package/dist/x-checkbox-DqUXQoJU.js +27 -0
  19. package/dist/{x-checkbox-CV2j3kg9.js.map → x-checkbox-DqUXQoJU.js.map} +1 -1
  20. package/dist/x-dialog-te6-Vgkm.js +49 -0
  21. package/dist/{x-dialog-Ccb-vGZ2.js.map → x-dialog-te6-Vgkm.js.map} +1 -1
  22. package/dist/x-divider-B3cbVfv2.js +12 -0
  23. package/dist/{x-divider-BOCxsH8h.js.map → x-divider-B3cbVfv2.js.map} +1 -1
  24. package/dist/x-file-input-DGLWq0E0.js +39 -0
  25. package/dist/{x-file-input-WC5u-psN.js.map → x-file-input-DGLWq0E0.js.map} +1 -1
  26. package/dist/x-form-C5fVEKNp.js +32 -0
  27. package/dist/{x-form-66u_n6Xf.js.map → x-form-C5fVEKNp.js.map} +1 -1
  28. package/dist/{x-img-DWbVDNTs.js → x-img-BB3GSMHr.js} +3 -3
  29. package/dist/{x-img-DWbVDNTs.js.map → x-img-BB3GSMHr.js.map} +1 -1
  30. package/dist/x-load-DPuiSh1i.js +11 -0
  31. package/dist/{x-load-Bw4ftl3k.js.map → x-load-DPuiSh1i.js.map} +1 -1
  32. package/dist/x-menu-9krdqSZB.js +31 -0
  33. package/dist/{x-menu-BeWrqcFy.js.map → x-menu-9krdqSZB.js.map} +1 -1
  34. package/dist/x-menu-item-BSondWPp.js +22 -0
  35. package/dist/{x-menu-item-CBdOhZc3.js.map → x-menu-item-BSondWPp.js.map} +1 -1
  36. package/dist/x-menu-label-Dp7gEYzE.js +17 -0
  37. package/dist/{x-menu-label-D-sFcG_g.js.map → x-menu-label-Dp7gEYzE.js.map} +1 -1
  38. package/dist/x-navigation-tree-BMLu80ML.js +518 -0
  39. package/dist/x-navigation-tree-BMLu80ML.js.map +1 -0
  40. package/dist/x-navigation-tree-select-CZMM_WJl.js +109 -0
  41. package/dist/x-navigation-tree-select-CZMM_WJl.js.map +1 -0
  42. package/dist/x-search-NPeNBHNh.js +20 -0
  43. package/dist/{x-search-C7GhoCKj.js.map → x-search-NPeNBHNh.js.map} +1 -1
  44. package/dist/x-select-DCWNJiNk.js +38 -0
  45. package/dist/{x-select-qbcXbRjw.js.map → x-select-DCWNJiNk.js.map} +1 -1
  46. package/dist/x-tab-UmfRst-i.js +22 -0
  47. package/dist/{x-tab-vRrbUjdK.js.map → x-tab-UmfRst-i.js.map} +1 -1
  48. package/dist/x-tab-group-C0nWDupY.js +49 -0
  49. package/dist/{x-tab-group-BfEaq8Nj.js.map → x-tab-group-C0nWDupY.js.map} +1 -1
  50. package/dist/x-tab-panel-CjY4vyG0.js +22 -0
  51. package/dist/{x-tab-panel-DysgiPCz.js.map → x-tab-panel-CjY4vyG0.js.map} +1 -1
  52. package/dist/{x-text-field-B2S1QZum.js → x-text-field-CaWcwz2v.js} +14 -15
  53. package/dist/{x-text-field-B2S1QZum.js.map → x-text-field-CaWcwz2v.js.map} +1 -1
  54. package/package.json +15 -14
  55. package/src/vue/form/x-navigation-tree-select.vue +28 -7
  56. package/src/vue/x-navigation-tree.vue +34 -12
  57. package/dist/index-BZqZR8-g.js +0 -21866
  58. package/dist/index-BZqZR8-g.js.map +0 -1
  59. package/dist/x-alert-gEtl8xCI.js +0 -46
  60. package/dist/x-breadcrumb-CyjqjISE.js +0 -22
  61. package/dist/x-btn-DzH2bk-f.js +0 -50
  62. package/dist/x-card-BlUD5hbt.js +0 -22
  63. package/dist/x-checkbox-CV2j3kg9.js +0 -28
  64. package/dist/x-dialog-Ccb-vGZ2.js +0 -49
  65. package/dist/x-divider-BOCxsH8h.js +0 -12
  66. package/dist/x-file-input-WC5u-psN.js +0 -40
  67. package/dist/x-form-66u_n6Xf.js +0 -36
  68. package/dist/x-load-Bw4ftl3k.js +0 -11
  69. package/dist/x-menu-BeWrqcFy.js +0 -31
  70. package/dist/x-menu-item-CBdOhZc3.js +0 -22
  71. package/dist/x-menu-label-D-sFcG_g.js +0 -17
  72. package/dist/x-navigation-tree-CA9rdB38.js +0 -543
  73. package/dist/x-navigation-tree-CA9rdB38.js.map +0 -1
  74. package/dist/x-navigation-tree-select-D5olgFJB.js +0 -99
  75. package/dist/x-navigation-tree-select-D5olgFJB.js.map +0 -1
  76. package/dist/x-search-C7GhoCKj.js +0 -20
  77. package/dist/x-select-qbcXbRjw.js +0 -39
  78. package/dist/x-tab-group-BfEaq8Nj.js +0 -49
  79. package/dist/x-tab-panel-DysgiPCz.js +0 -22
  80. package/dist/x-tab-vRrbUjdK.js +0 -22
@@ -1,13 +1,13 @@
1
- import { SpaceReference } from '@xwiki/cristal-model-api';
1
+ import { SpaceReference, DocumentReference } from '@xwiki/cristal-model-api';
2
2
  import { NavigationTreeSelectProps } from '@xwiki/cristal-dsapi';
3
3
  type __VLS_Props = NavigationTreeSelectProps;
4
4
  type __VLS_PublicProps = {
5
- modelValue?: SpaceReference;
5
+ modelValue?: SpaceReference | DocumentReference;
6
6
  } & __VLS_Props;
7
7
  declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
- "update:modelValue": (value: SpaceReference) => any;
8
+ "update:modelValue": (value: SpaceReference | DocumentReference) => any;
9
9
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
10
- "onUpdate:modelValue"?: ((value: SpaceReference) => any) | undefined;
10
+ "onUpdate:modelValue"?: ((value: SpaceReference | DocumentReference) => any) | undefined;
11
11
  }>, {
12
12
  includeTerminals: boolean;
13
13
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
@@ -0,0 +1,46 @@
1
+ import { d, r as s, b as l, w as n, o as t, c as o, f as r, e as m, F as _, g as u, h as f, t as i } from "./index-DNHsU4Fr.js";
2
+ import { _ as b } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
+ const k = { key: 0 }, y = { key: 1 }, v = /* @__PURE__ */ d({
4
+ __name: "x-alert",
5
+ props: {
6
+ title: {},
7
+ type: {},
8
+ description: {},
9
+ actions: {},
10
+ closable: { type: Boolean },
11
+ details: {}
12
+ },
13
+ setup(C) {
14
+ return (e, h) => {
15
+ const c = s("x-btn"), p = s("v-alert");
16
+ return t(), l(p, {
17
+ closable: e.closable,
18
+ title: e.title,
19
+ type: e.type,
20
+ text: e.description
21
+ }, {
22
+ default: n(() => [
23
+ (t(!0), o(_, null, u(e.actions, (a) => (t(), l(c, {
24
+ key: a.name,
25
+ size: "small",
26
+ variant: "text",
27
+ onClick: a.callback
28
+ }, {
29
+ default: n(() => [
30
+ f(i(a.name), 1)
31
+ ]),
32
+ _: 2
33
+ }, 1032, ["onClick"]))), 128)),
34
+ e.details ? (t(), o("br", k)) : r("", !0),
35
+ e.details ? (t(), o("small", y, i(e.details), 1)) : r("", !0),
36
+ m(e.$slots, "default", {}, void 0, !0)
37
+ ]),
38
+ _: 3
39
+ }, 8, ["closable", "title", "type", "text"]);
40
+ };
41
+ }
42
+ }), x = /* @__PURE__ */ b(v, [["__scopeId", "data-v-c679f3ce"]]);
43
+ export {
44
+ x as default
45
+ };
46
+ //# sourceMappingURL=x-alert-CAlwFn5B.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-alert-gEtl8xCI.js","sources":["../src/vue/x-alert.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 type { AlertProps } from \"@xwiki/cristal-dsapi\";\n\ndefineProps<AlertProps>();\n</script>\n<template>\n <v-alert :closable=\"closable\" :title=\"title\" :type=\"type\" :text=\"description\">\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.router-link-active),\n:deep(.v-alert__content a.router-link-active:visited) {\n color: inherit;\n text-decoration-color: inherit;\n}\n</style>\n"],"names":["_createBlock","_component_v_alert","closable","title","type","description","_createElementBlock","_Fragment","_renderList","actions","action","_component_x_btn","_createTextVNode","_toDisplayString","details","_hoisted_1","_openBlock","_renderSlot","_ctx"],"mappings":";;;;;;;;;;;;;;;kBAyBEA,EAYUC,GAAA;AAAA,QAZA,UAAUC,EAAQ;AAAA,QAAG,OAAOC,EAAK;AAAA,QAAG,MAAMC,EAAI;AAAA,QAAG,MAAMC,EAAW;AAAA,MAAA;mBAExE,MAAyB;AAAA,kBAD3BC,EAOCC,GAAA,MAAAC,EANkBC,EAAO,SAAA,CAAjBC,YADTV,EAOCW,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;;;UAEPI,EAAO,gBAAjBR,EAAqB,MAAAS,CAAA;UACRD,EAAO,WAApBE,EAAA,GAAAV,EAA2C,cAAlBQ,EAAO,OAAA,GAAA,CAAA;UAChCG,EAAQC,EAAA,QAAA,WAAA,CAAA,GAAA,QAAA,EAAA;AAAA,QAAA;;;;;;"}
1
+ {"version":3,"file":"x-alert-CAlwFn5B.js","sources":["../src/vue/x-alert.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 type { AlertProps } from \"@xwiki/cristal-dsapi\";\n\ndefineProps<AlertProps>();\n</script>\n<template>\n <v-alert :closable=\"closable\" :title=\"title\" :type=\"type\" :text=\"description\">\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.router-link-active),\n:deep(.v-alert__content a.router-link-active:visited) {\n color: inherit;\n text-decoration-color: inherit;\n}\n</style>\n"],"names":["_createBlock","_component_v_alert","closable","title","type","description","_createElementBlock","_Fragment","_renderList","actions","action","_component_x_btn","_createTextVNode","_toDisplayString","details","_hoisted_1","_openBlock","_renderSlot","_ctx"],"mappings":";;;;;;;;;;;;;;;kBAyBEA,EAYUC,GAAA;AAAA,QAZA,UAAUC,EAAQ;AAAA,QAAG,OAAOC,EAAK;AAAA,QAAG,MAAMC,EAAI;AAAA,QAAG,MAAMC,EAAW;AAAA,MAAA;mBAExE,MAAyB;AAAA,kBAD3BC,EAOCC,GAAA,MAAAC,EANkBC,EAAO,SAAA,CAAjBC,YADTV,EAOCW,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;;;UAEPI,EAAO,gBAAjBR,EAAqB,MAAAS,CAAA;UACRD,EAAO,WAApBE,EAAA,GAAAV,EAA2C,cAAlBQ,EAAO,OAAA,GAAA,CAAA;UAChCG,EAAQC,EAAA,QAAA,WAAA,CAAA,GAAA,QAAA,EAAA;AAAA,QAAA;;;;;;"}
@@ -1,4 +1,4 @@
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";
1
+ import { d as r, r as s, b as n, w as m, o as a, c as i, t as p } from "./index-DNHsU4Fr.js";
2
2
  const c = { key: 1 }, g = /* @__PURE__ */ r({
3
3
  __name: "x-avatar",
4
4
  props: {
@@ -8,10 +8,10 @@ const c = { key: 1 }, g = /* @__PURE__ */ r({
8
8
  },
9
9
  setup(l) {
10
10
  return (e, _) => {
11
- const t = n("v-img"), s = n("v-avatar");
12
- return a(), o(s, { size: e.size }, {
11
+ const o = s("v-img"), t = s("v-avatar");
12
+ return a(), n(t, { size: e.size }, {
13
13
  default: m(() => [
14
- e.image ? (a(), o(t, {
14
+ e.image ? (a(), n(o, {
15
15
  key: 0,
16
16
  alt: e.name,
17
17
  src: e.image
@@ -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-WnkeGyHH.js.map
28
+ //# sourceMappingURL=x-avatar-Cp8QVkHc.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-avatar-WnkeGyHH.js","sources":["../src/vue/x-avatar.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 type { AvatarProps } from \"@xwiki/cristal-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","size","image","_component_v_img","name","_openBlock","_createElementBlock"],"mappings":";;;;;;;;;;;kBAyBEA,EAGWC,GAAA,EAHA,MAAMC,EAAI,QAAA;AAAA,mBACnB,MAAqD;AAAA,UAAxCC,EAAK,cAAlBH,EAAqDI,GAAA;AAAA;YAAhC,KAAKC,EAAI;AAAA,YAAG,KAAKF,EAAK;AAAA,UAAA,gCAC3CG,EAAA,GAAAC,EAA8B,aAAdF,EAAI,IAAA,GAAA,CAAA;AAAA,QAAA;;;;;;"}
1
+ {"version":3,"file":"x-avatar-Cp8QVkHc.js","sources":["../src/vue/x-avatar.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 type { AvatarProps } from \"@xwiki/cristal-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","size","image","_component_v_img","name","_openBlock","_createElementBlock"],"mappings":";;;;;;;;;;;kBAyBEA,EAGWC,GAAA,EAHA,MAAMC,EAAI,QAAA;AAAA,mBACnB,MAAqD;AAAA,UAAxCC,EAAK,cAAlBH,EAAqDI,GAAA;AAAA;YAAhC,KAAKC,EAAI;AAAA,YAAG,KAAKF,EAAK;AAAA,UAAA,gCAC3CG,EAAA,GAAAC,EAA8B,aAAdF,EAAI,IAAA,GAAA,CAAA;AAAA,QAAA;;;;;;"}
@@ -0,0 +1,22 @@
1
+ import { d as c, a as m, r as n, b as p, o as _ } from "./index-DNHsU4Fr.js";
2
+ import { _ as u } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
+ const d = /* @__PURE__ */ c({
4
+ __name: "x-breadcrumb",
5
+ props: {
6
+ items: {}
7
+ },
8
+ setup(r) {
9
+ const o = r, s = m(() => o.items.map(({ label: e, url: t }) => ({
10
+ title: e,
11
+ href: t
12
+ })));
13
+ return (e, t) => {
14
+ const a = n("v-breadcrumbs");
15
+ return _(), p(a, { items: s.value }, null, 8, ["items"]);
16
+ };
17
+ }
18
+ }), l = /* @__PURE__ */ u(d, [["__scopeId", "data-v-7547965a"]]);
19
+ export {
20
+ l as default
21
+ };
22
+ //# sourceMappingURL=x-breadcrumb-BQVk_ZI_.js.map
@@ -1 +1 @@
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","_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,IACR,EACD,CACF;;;kBAICC,EAA8CC,GAAA,EAA9B,OAAOL,EAAK,MAAA,GAAA,MAAA,GAAA,CAAA,OAAA,CAAA;AAAA;;;"}
1
+ {"version":3,"file":"x-breadcrumb-BQVk_ZI_.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","_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,IACR,EACD,CACF;;;kBAICC,EAA8CC,GAAA,EAA9B,OAAOL,EAAK,MAAA,GAAA,MAAA,GAAA,CAAA,OAAA,CAAA;AAAA;;;"}
@@ -0,0 +1,50 @@
1
+ import { d as s, a as r, r as c, b as l, o as i, w as u, e as p } from "./index-DNHsU4Fr.js";
2
+ const b = /* @__PURE__ */ s({
3
+ __name: "x-btn",
4
+ props: {
5
+ variant: {},
6
+ size: {},
7
+ pill: { type: Boolean }
8
+ },
9
+ setup(e) {
10
+ const t = r(() => {
11
+ let a;
12
+ switch (e.variant) {
13
+ case "default":
14
+ break;
15
+ case "primary":
16
+ a = "primary";
17
+ break;
18
+ case "success":
19
+ a = "success";
20
+ break;
21
+ case "neutral":
22
+ a = "secondary";
23
+ break;
24
+ case "warning":
25
+ a = "warning";
26
+ break;
27
+ case "danger":
28
+ a = "error";
29
+ break;
30
+ }
31
+ return a;
32
+ }), n = r(() => e.variant == "text" ? "text" : "tonal");
33
+ return (a, v) => {
34
+ const o = c("v-btn");
35
+ return i(), l(o, {
36
+ color: t.value,
37
+ variant: n.value
38
+ }, {
39
+ default: u(() => [
40
+ p(a.$slots, "default")
41
+ ]),
42
+ _: 3
43
+ }, 8, ["color", "variant"]);
44
+ };
45
+ }
46
+ });
47
+ export {
48
+ b as default
49
+ };
50
+ //# sourceMappingURL=x-btn-BXn20OTM.js.map
@@ -1 +1 @@
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","_createBlock","_component_v_btn","_renderSlot","_ctx"],"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;;;kBAGpEE,EAEQC,GAAA;AAAA,QAFA,OAAOL,EAAK;AAAA,QAAG,SAASG,EAAQ;AAAA,MAAA;mBACtC,MAAQ;AAAA,UAARG,EAAQC,EAAA,QAAA,SAAA;AAAA,QAAA;;;;;;"}
1
+ {"version":3,"file":"x-btn-BXn20OTM.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","_createBlock","_component_v_btn","_renderSlot","_ctx"],"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;;;kBAGpEE,EAEQC,GAAA;AAAA,QAFA,OAAOL,EAAK;AAAA,QAAG,SAASG,EAAQ;AAAA,MAAA;mBACtC,MAAQ;AAAA,UAARG,EAAQC,EAAA,QAAA,SAAA;AAAA,QAAA;;;;;;"}
@@ -0,0 +1,22 @@
1
+ import { r as o, b as a, w as n, o as s, e as c } from "./index-DNHsU4Fr.js";
2
+ import { _ as i } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
+ const l = {
4
+ props: { title: { type: String, required: !0 } }
5
+ };
6
+ function d(t, p, e, _, f, u) {
7
+ const r = o("v-card");
8
+ return s(), a(r, {
9
+ title: e.title,
10
+ variant: "outlined"
11
+ }, {
12
+ default: n(() => [
13
+ c(t.$slots, "default")
14
+ ]),
15
+ _: 3
16
+ }, 8, ["title"]);
17
+ }
18
+ const x = /* @__PURE__ */ i(l, [["render", d]]);
19
+ export {
20
+ x as default
21
+ };
22
+ //# sourceMappingURL=x-card-BjsZr1mV.js.map
@@ -1 +1 @@
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","_createBlock","_component_v_card","$props","_renderSlot","_ctx"],"mappings":";;AAyBA,MAAeA,IAAA;AAAA,EACb,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,UAAU,GAAO,EAAA;AACnD;;;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-BjsZr1mV.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","_createBlock","_component_v_card","$props","_renderSlot","_ctx"],"mappings":";;AAyBA,MAAeA,IAAA;AAAA,EACb,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,UAAU,GAAO,EAAA;AACnD;;;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;;;;"}
@@ -0,0 +1,27 @@
1
+ import { d as u, p as d, q as m, b as n, u as t, o as p, a2 as r } from "./index-DNHsU4Fr.js";
2
+ const V = /* @__PURE__ */ u({
3
+ __name: "x-checkbox",
4
+ props: /* @__PURE__ */ d({
5
+ label: {},
6
+ help: {},
7
+ modelValue: { type: Boolean }
8
+ }, {
9
+ modelValue: { type: [Boolean, null] },
10
+ modelModifiers: {}
11
+ }),
12
+ emits: ["update:modelValue"],
13
+ setup(o) {
14
+ const e = m(o, "modelValue");
15
+ return (l, a) => (p(), n(t(r), {
16
+ modelValue: e.value,
17
+ "onUpdate:modelValue": a[0] || (a[0] = (s) => e.value = s),
18
+ label: l.label,
19
+ messages: l.help,
20
+ density: "compact"
21
+ }, null, 8, ["modelValue", "label", "messages"]));
22
+ }
23
+ });
24
+ export {
25
+ V as default
26
+ };
27
+ //# sourceMappingURL=x-checkbox-DqUXQoJU.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-checkbox-CV2j3kg9.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","_createBlock","_unref","VCheckbox","$event","label","help"],"mappings":";;;;;;;;;;;;;;AAyBM,UAAAA,IAAUC,iBAA4B;2BAG1CC,EAKcC,EAAAC,CAAA,GAAA;AAAA,kBAJHJ,EAAO;AAAA,oDAAPA,EAAO,QAAAK;AAAA,MACf,OAAOC,EAAK;AAAA,MACZ,UAAUC,EAAI;AAAA,MACf,SAAQ;AAAA,IAAA;;;"}
1
+ {"version":3,"file":"x-checkbox-DqUXQoJU.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","_createBlock","_unref","VCheckbox","$event","label","help"],"mappings":";;;;;;;;;;;;;AAyBM,UAAAA,IAAUC,iBAA4B;2BAG1CC,EAKcC,EAAAC,CAAA,GAAA;AAAA,kBAJHJ,EAAO;AAAA,oDAAPA,EAAO,QAAAK;AAAA,MACf,OAAOC,EAAK;AAAA,MACZ,UAAUC,EAAI;AAAA,MACf,SAAQ;AAAA,IAAA;;;"}
@@ -0,0 +1,49 @@
1
+ import { d as p, r as e, b as s, w as o, o as r, i as n, f as v, e as a, j as f, n as m, k as u } from "./index-DNHsU4Fr.js";
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, k) => {
11
+ const d = e("v-card-text"), c = e("v-card-actions"), i = e("v-card"), l = e("v-dialog");
12
+ return r(), s(l, {
13
+ width: t.width,
14
+ attach: "#view",
15
+ scrollable: ""
16
+ }, {
17
+ activator: o(({ props: _ }) => [
18
+ f("span", m(u(_)), [
19
+ a(t.$slots, "activator", {}, void 0, !0)
20
+ ], 16)
21
+ ]),
22
+ default: o(() => [
23
+ n(i, { title: t.title }, {
24
+ default: o(() => [
25
+ n(d, null, {
26
+ default: o(() => [
27
+ a(t.$slots, "default", {}, void 0, !0)
28
+ ]),
29
+ _: 3
30
+ }),
31
+ t.$slots.footer ? (r(), s(c, { key: 0 }, {
32
+ default: o(() => [
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
+ }), b = /* @__PURE__ */ h(w, [["__scopeId", "data-v-937b761f"]]);
46
+ export {
47
+ b as default
48
+ };
49
+ //# sourceMappingURL=x-dialog-te6-Vgkm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-dialog-Ccb-vGZ2.js","sources":["../src/vue/x-dialog.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>\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","width","_withCtx","props","_createElementVNode","_renderSlot","_ctx","_createVNode","_component_v_card","title","_component_v_card_text","$slots","_component_v_card_actions"],"mappings":";;;;;;;;;;;kBA2BEA,EAgBWC,GAAA;AAAA,QAhBA,OAAOC,EAAK;AAAA,QAAE,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,OAAOC,EAAK,SAAA;AAAA,uBACnB,MAEc;AAAA,cAFdF,EAEcG,GAAA,MAAA;AAAA,2BADZ,MAAuB;AAAA,kBAAvBL,EAAuBC,EAAA,QAAA,WAAA,CAAA,GAAA,QAAA,EAAA;AAAA,gBAAA;;;cAEHK,EAAAA,OAAO,eAA7BZ,EAEiBa,GAAA,EAAA,KAAA,KAAA;AAAA,2BADf,MAAsB;AAAA,kBAAtBP,EAAsBC,EAAA,QAAA,UAAA,CAAA,GAAA,QAAA,EAAA;AAAA,gBAAA;;;;;;;;;;;;"}
1
+ {"version":3,"file":"x-dialog-te6-Vgkm.js","sources":["../src/vue/x-dialog.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>\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","width","_withCtx","props","_createElementVNode","_renderSlot","_ctx","_createVNode","_component_v_card","title","_component_v_card_text","$slots","_component_v_card_actions"],"mappings":";;;;;;;;;;;kBA2BEA,EAgBWC,GAAA;AAAA,QAhBA,OAAOC,EAAK;AAAA,QAAE,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,OAAOC,EAAK,SAAA;AAAA,uBACnB,MAEc;AAAA,cAFdF,EAEcG,GAAA,MAAA;AAAA,2BADZ,MAAuB;AAAA,kBAAvBL,EAAuBC,EAAA,QAAA,WAAA,CAAA,GAAA,QAAA,EAAA;AAAA,gBAAA;;;cAEHK,EAAAA,OAAO,eAA7BZ,EAEiBa,GAAA,EAAA,KAAA,KAAA;AAAA,2BADf,MAAsB;AAAA,kBAAtBP,EAAsBC,EAAA,QAAA,UAAA,CAAA,GAAA,QAAA,EAAA;AAAA,gBAAA;;;;;;;;;;;;"}
@@ -0,0 +1,12 @@
1
+ import { r as o, b as r, o as c } from "./index-DNHsU4Fr.js";
2
+ import { _ as n } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
+ const t = {};
4
+ function s(_, i) {
5
+ const e = o("v-divider");
6
+ return c(), r(e);
7
+ }
8
+ const f = /* @__PURE__ */ n(t, [["render", s]]);
9
+ export {
10
+ f as default
11
+ };
12
+ //# sourceMappingURL=x-divider-B3cbVfv2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-divider-BOCxsH8h.js","sources":["../src/vue/x-divider.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-divider />\n</template>\n"],"names":["_createBlock","_component_v_divider"],"mappings":";;;;;cAoBEA,EAAaC,CAAA;;;"}
1
+ {"version":3,"file":"x-divider-B3cbVfv2.js","sources":["../src/vue/x-divider.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-divider />\n</template>\n"],"names":["_createBlock","_component_v_divider"],"mappings":";;;;;cAoBEA,EAAaC,CAAA;;;"}
@@ -0,0 +1,39 @@
1
+ import { d as r, p as m, q as d, a as p, b as i, u as f, o as c, v as V } from "./index-DNHsU4Fr.js";
2
+ import { t as y } from "./translations-BVK9UR9x.js";
3
+ import { useI18n as b } from "vue-i18n";
4
+ const M = /* @__PURE__ */ r({
5
+ __name: "x-file-input",
6
+ props: /* @__PURE__ */ m({
7
+ name: {},
8
+ label: {},
9
+ required: { type: Boolean },
10
+ autofocus: { type: Boolean },
11
+ modelValue: {},
12
+ help: {},
13
+ readonly: { type: Boolean },
14
+ type: {}
15
+ }, {
16
+ modelValue: {},
17
+ modelModifiers: {}
18
+ }),
19
+ emits: ["update:modelValue"],
20
+ setup(o) {
21
+ const { t } = b({
22
+ messages: y
23
+ }), a = d(o, "modelValue"), u = o, s = p(() => {
24
+ const e = [];
25
+ return u.required && e.push((l) => l ? !0 : t("vuetify.file.input.mandatory")), e;
26
+ });
27
+ return (e, l) => (c(), i(f(V), {
28
+ modelValue: a.value,
29
+ "onUpdate:modelValue": l[0] || (l[0] = (n) => a.value = n),
30
+ label: e.label,
31
+ name: e.name,
32
+ rules: s.value
33
+ }, null, 8, ["modelValue", "label", "name", "rules"]));
34
+ }
35
+ });
36
+ export {
37
+ M as default
38
+ };
39
+ //# sourceMappingURL=x-file-input-DGLWq0E0.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-file-input-WC5u-psN.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","_createBlock","_unref","VFileInput","$event","label","name"],"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;2BAICE,EAKgBC,EAAAC,CAAA,GAAA;AAAA,kBAJLV,EAAK;AAAA,oDAALA,EAAK,QAAAW;AAAA,MACb,OAAOC,EAAK;AAAA,MACZ,MAAMC,EAAI;AAAA,MACV,OAAOT,EAAK;AAAA,IAAA;;;"}
1
+ {"version":3,"file":"x-file-input-DGLWq0E0.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":["useI18n","messages","model","_useModel","props","__props","rules","computed","rulesList","value","_createBlock","_unref","VFileInput","$event","label","name"],"mappings":";;;;;;;;;;;;;;;;;;;;AAOM,UAAA,EAAE,EAAE,IAAIA,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,KAEA,EAAE,8BAA8B,CAE1C,GAEID;AAAA,IAAA,CACR;2BAICE,EAKgBC,EAAAC,CAAA,GAAA;AAAA,kBAJLV,EAAK;AAAA,oDAALA,EAAK,QAAAW;AAAA,MACb,OAAOC,EAAK;AAAA,MACZ,MAAMC,EAAI;AAAA,MACV,OAAOT,EAAK;AAAA,IAAA;;;"}
@@ -0,0 +1,32 @@
1
+ import { d as n, l as m, b as f, w as c, m as u, u as d, o as l, e as _, V as p } from "./index-DNHsU4Fr.js";
2
+ import { _ as v } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
+ const x = /* @__PURE__ */ n({
4
+ __name: "x-form",
5
+ emits: ["formSubmit"],
6
+ setup(b, { expose: o, emit: a }) {
7
+ const e = m(void 0), s = a;
8
+ o({
9
+ reset: r
10
+ });
11
+ async function r() {
12
+ e.value?.reset();
13
+ }
14
+ async function i() {
15
+ (await e.value?.validate())?.valid && s("formSubmit");
16
+ }
17
+ return (t, w) => (l(), f(d(p), {
18
+ ref_key: "form",
19
+ ref: e,
20
+ onSubmit: u(i, ["prevent"])
21
+ }, {
22
+ default: c(() => [
23
+ _(t.$slots, "default", {}, void 0, !0)
24
+ ]),
25
+ _: 3
26
+ }, 512));
27
+ }
28
+ }), k = /* @__PURE__ */ v(x, [["__scopeId", "data-v-8592890c"]]);
29
+ export {
30
+ k as default
31
+ };
32
+ //# sourceMappingURL=x-form-C5fVEKNp.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-form-66u_n6Xf.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","_createBlock","_unref","VForm","_renderSlot","_ctx"],"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;2BAKAO,EAESC,EAAAC,CAAA,GAAA;AAAA,eAFG;AAAA,MAAJ,KAAIX;AAAA,MAAQ,YAAgBO,GAAM,CAAA,SAAA,CAAA;AAAA,IAAA;iBACxC,MAAa;AAAA,QAAbK,EAAaC,EAAA,QAAA,WAAA,CAAA,GAAA,QAAA,EAAA;AAAA,MAAA;;;;;"}
1
+ {"version":3,"file":"x-form-C5fVEKNp.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","submit","_createBlock","_unref","VForm","_renderSlot","_ctx"],"mappings":";;;;;;AAKM,UAAAA,IAA+BC,EAAI,MAAS,GAC5CC,IAAQC;AAED,IAAAC,EAAA;AAAA,MACX,OAAAC;AAAA,IAAA,CACD;AAED,mBAAeA,IAAQ;AACrB,MAAAL,EAAK,OAAO,MAAM;AAAA,IAAA;AAGpB,mBAAeM,IAAS;AAEtB,OADmB,MAAMN,EAAK,OAAO,SAAS,IAC9B,SACdE,EAAM,YAAY;AAAA,IACpB;2BAKAK,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 { c as e, o as t } from "./index-DNHsU4Fr.js";
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
- function n(_, p, r, i, a, m) {
6
+ function n(_, a, r, p, i, m) {
7
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-DWbVDNTs.js.map
13
+ //# sourceMappingURL=x-img-BB3GSMHr.js.map
@@ -1 +1 @@
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","_createElementBlock","$props","_hoisted_1"],"mappings":";;AAwBA,MAAeA,IAAA;AAAA,EACb,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,UAAU,GAAO,EAAA;AACjD;;cALEC,EAAkB,OAAA,EAAZ,KAAKC,EAAG,IAAA,GAAA,MAAA,GAAAC,CAAA;;;"}
1
+ {"version":3,"file":"x-img-BB3GSMHr.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","_createElementBlock","$props","_hoisted_1"],"mappings":";;AAwBA,MAAeA,IAAA;AAAA,EACb,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,UAAU,GAAO,EAAA;AACjD;;cALEC,EAAkB,OAAA,EAAZ,KAAKC,EAAG,IAAA,GAAA,MAAA,GAAAC,CAAA;;;"}
@@ -0,0 +1,11 @@
1
+ import { d as e, c as o, o as a } from "./index-DNHsU4Fr.js";
2
+ const s = /* @__PURE__ */ e({
3
+ __name: "x-load",
4
+ setup(n) {
5
+ return (t, c) => (a(), o("span"));
6
+ }
7
+ });
8
+ export {
9
+ s as default
10
+ };
11
+ //# sourceMappingURL=x-load-DPuiSh1i.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-load-Bw4ftl3k.js","sources":["../src/vue/x-load.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 \"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-DPuiSh1i.js","sources":["../src/vue/x-load.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 \"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;;"}
@@ -0,0 +1,31 @@
1
+ import { r as a, b as c, w as e, o as i, i as l, e as o, j as d, n as _, k as u } from "./index-DNHsU4Fr.js";
2
+ import { _ as f } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
+ const p = {};
4
+ function m(t, v) {
5
+ const n = a("v-list"), s = a("v-menu");
6
+ return i(), c(s, {
7
+ "close-on-content-click": !1,
8
+ attach: "#xwCristalApp",
9
+ "z-index": "initial"
10
+ }, {
11
+ activator: e(({ props: r }) => [
12
+ d("span", _(u(r)), [
13
+ o(t.$slots, "activator", {}, void 0, !0)
14
+ ], 16)
15
+ ]),
16
+ default: e(() => [
17
+ l(n, null, {
18
+ default: e(() => [
19
+ o(t.$slots, "default", {}, void 0, !0)
20
+ ]),
21
+ _: 3
22
+ })
23
+ ]),
24
+ _: 3
25
+ });
26
+ }
27
+ const h = /* @__PURE__ */ f(p, [["render", m], ["__scopeId", "data-v-ef2ba5a0"]]);
28
+ export {
29
+ h as default
30
+ };
31
+ //# sourceMappingURL=x-menu-9krdqSZB.js.map
@@ -1 +1 @@
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":["_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,MAAA;AAAA,mBADP,MAAuB;AAAA,UAAvBH,EAAuBC,EAAA,QAAA,WAAA,CAAA,GAAA,QAAA,EAAA;AAAA;;;;;;;;"}
1
+ {"version":3,"file":"x-menu-9krdqSZB.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":["_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,MAAA;AAAA,mBADP,MAAuB;AAAA,UAAvBH,EAAuBC,EAAA,QAAA,WAAA,CAAA,GAAA,QAAA,EAAA;AAAA;;;;;;;;"}
@@ -0,0 +1,22 @@
1
+ import { d as o, r as a, b as s, w as n, o as l, e as r } from "./index-DNHsU4Fr.js";
2
+ const _ = /* @__PURE__ */ o({
3
+ __name: "x-menu-item",
4
+ props: {
5
+ value: {}
6
+ },
7
+ setup(m) {
8
+ return (e, p) => {
9
+ const t = a("v-list-item");
10
+ return l(), s(t, { value: e.value }, {
11
+ default: n(() => [
12
+ r(e.$slots, "default")
13
+ ]),
14
+ _: 3
15
+ }, 8, ["value"]);
16
+ };
17
+ }
18
+ });
19
+ export {
20
+ _ as default
21
+ };
22
+ //# sourceMappingURL=x-menu-item-BSondWPp.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-menu-item-CBdOhZc3.js","sources":["../src/vue/x-menu-item.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>\ndefineProps<{\n value: string;\n}>();\n</script>\n<template>\n <v-list-item :value=\"value\">\n <slot name=\"default\" />\n </v-list-item>\n</template>\n"],"names":["_createBlock","_component_v_list_item","value","_renderSlot","_ctx"],"mappings":";;;;;;;;;kBAyBEA,EAEcC,GAAA,EAFA,OAAOC,EAAK,SAAA;AAAA,mBACxB,MAAuB;AAAA,UAAvBC,EAAuBC,EAAA,QAAA,SAAA;AAAA,QAAA;;;;;;"}
1
+ {"version":3,"file":"x-menu-item-BSondWPp.js","sources":["../src/vue/x-menu-item.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>\ndefineProps<{\n value: string;\n}>();\n</script>\n<template>\n <v-list-item :value=\"value\">\n <slot name=\"default\" />\n </v-list-item>\n</template>\n"],"names":["_createBlock","_component_v_list_item","value","_renderSlot","_ctx"],"mappings":";;;;;;;;;kBAyBEA,EAEcC,GAAA,EAFA,OAAOC,EAAK,SAAA;AAAA,mBACxB,MAAuB;AAAA,UAAvBC,EAAuBC,EAAA,QAAA,SAAA;AAAA,QAAA;;;;;;"}