@xwiki/cristal-dsvuetify 0.20.0 → 0.21.1

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 (133) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/dist/index-BrgIqIDX.js +22337 -0
  3. package/dist/index-BrgIqIDX.js.map +1 -0
  4. package/dist/index.es.js +10 -10
  5. package/dist/index.umd.js +15 -43
  6. package/dist/index.umd.js.map +1 -1
  7. package/dist/translations-BVK9UR9x.js.map +1 -1
  8. package/dist/translations.d.ts +19 -0
  9. package/dist/vue/__tests__/utils/vuetify.d.ts +19 -0
  10. package/dist/vue/form/x-form.vue.d.ts +8 -0
  11. package/dist/x-alert-DKgk3dOE.js +46 -0
  12. package/dist/x-alert-DKgk3dOE.js.map +1 -0
  13. package/dist/{x-avatar-Cp8QVkHc.js → x-avatar-WnkeGyHH.js} +5 -5
  14. package/dist/x-avatar-WnkeGyHH.js.map +1 -0
  15. package/dist/x-breadcrumb-DAVkDLuc.js +22 -0
  16. package/dist/x-breadcrumb-DAVkDLuc.js.map +1 -0
  17. package/dist/x-btn-DzH2bk-f.js +50 -0
  18. package/dist/x-btn-DzH2bk-f.js.map +1 -0
  19. package/dist/x-card-BlUD5hbt.js +22 -0
  20. package/dist/x-card-BlUD5hbt.js.map +1 -0
  21. package/dist/x-checkbox-BgfaZdm4.js +28 -0
  22. package/dist/x-checkbox-BgfaZdm4.js.map +1 -0
  23. package/dist/x-dialog-CvZUbP80.js +49 -0
  24. package/dist/x-dialog-CvZUbP80.js.map +1 -0
  25. package/dist/x-divider-BOCxsH8h.js +12 -0
  26. package/dist/x-divider-BOCxsH8h.js.map +1 -0
  27. package/dist/x-file-input-CavZBvoc.js +40 -0
  28. package/dist/x-file-input-CavZBvoc.js.map +1 -0
  29. package/dist/x-form-By-DBhfe.js +33 -0
  30. package/dist/x-form-By-DBhfe.js.map +1 -0
  31. package/dist/{x-img-BB3GSMHr.js → x-img-DWbVDNTs.js} +3 -3
  32. package/dist/x-img-DWbVDNTs.js.map +1 -0
  33. package/dist/x-load-Bw4ftl3k.js +11 -0
  34. package/dist/x-load-Bw4ftl3k.js.map +1 -0
  35. package/dist/x-menu-CZMwPcag.js +31 -0
  36. package/dist/x-menu-CZMwPcag.js.map +1 -0
  37. package/dist/x-menu-item-CBdOhZc3.js +22 -0
  38. package/dist/x-menu-item-CBdOhZc3.js.map +1 -0
  39. package/dist/x-menu-label-D-sFcG_g.js +17 -0
  40. package/dist/x-menu-label-D-sFcG_g.js.map +1 -0
  41. package/dist/x-navigation-tree-DDzkOI4X.js +189 -0
  42. package/dist/x-navigation-tree-DDzkOI4X.js.map +1 -0
  43. package/dist/{x-navigation-tree-select-CZMM_WJl.js → x-navigation-tree-select-BSwLmNS-.js} +33 -32
  44. package/dist/x-navigation-tree-select-BSwLmNS-.js.map +1 -0
  45. package/dist/x-search-C7GhoCKj.js +20 -0
  46. package/dist/x-search-C7GhoCKj.js.map +1 -0
  47. package/dist/x-select-BMnDdspj.js +39 -0
  48. package/dist/x-select-BMnDdspj.js.map +1 -0
  49. package/dist/x-tab-group-BfEaq8Nj.js +49 -0
  50. package/dist/x-tab-group-BfEaq8Nj.js.map +1 -0
  51. package/dist/x-tab-panel-DysgiPCz.js +22 -0
  52. package/dist/x-tab-panel-DysgiPCz.js.map +1 -0
  53. package/dist/x-tab-vRrbUjdK.js +22 -0
  54. package/dist/x-tab-vRrbUjdK.js.map +1 -0
  55. package/dist/{x-text-field-CaWcwz2v.js → x-text-field-OCXMbIfP.js} +15 -14
  56. package/dist/x-text-field-OCXMbIfP.js.map +1 -0
  57. package/package.json +17 -16
  58. package/src/components/componentsInit.ts +1 -1
  59. package/src/components/vuetifyDesignSystemLoader.ts +2 -3
  60. package/src/index.ts +1 -1
  61. package/src/translations.ts +1 -1
  62. package/src/vue/__tests__/utils/vuetify.ts +1 -1
  63. package/src/vue/__tests__/x-btn.test.ts +1 -1
  64. package/src/vue/css/style.css +1 -1
  65. package/src/vue/form/x-checkbox.vue +14 -14
  66. package/src/vue/form/x-file-input.vue +19 -0
  67. package/src/vue/form/x-form.vue +19 -0
  68. package/src/vue/form/x-navigation-tree-select.vue +14 -14
  69. package/src/vue/form/x-select.vue +14 -14
  70. package/src/vue/form/x-text-field.vue +19 -0
  71. package/src/vue/x-alert.vue +14 -14
  72. package/src/vue/x-avatar.vue +14 -14
  73. package/src/vue/x-breadcrumb.vue +14 -14
  74. package/src/vue/x-btn.vue +14 -14
  75. package/src/vue/x-card.vue +14 -14
  76. package/src/vue/x-dialog.vue +14 -14
  77. package/src/vue/x-divider.vue +14 -14
  78. package/src/vue/x-img.vue +14 -14
  79. package/src/vue/x-load.vue +14 -14
  80. package/src/vue/x-menu-item.vue +14 -14
  81. package/src/vue/x-menu-label.vue +14 -14
  82. package/src/vue/x-menu.vue +14 -14
  83. package/src/vue/x-navigation-tree.vue +15 -15
  84. package/src/vue/x-search.vue +14 -14
  85. package/src/vue/x-tab-group.vue +14 -14
  86. package/src/vue/x-tab-panel.vue +14 -14
  87. package/src/vue/x-tab.vue +14 -14
  88. package/vite.config.ts +1 -1
  89. package/vitest.config.ts +1 -1
  90. package/dist/index-DNHsU4Fr.js +0 -27009
  91. package/dist/index-DNHsU4Fr.js.map +0 -1
  92. package/dist/x-alert-CAlwFn5B.js +0 -46
  93. package/dist/x-alert-CAlwFn5B.js.map +0 -1
  94. package/dist/x-avatar-Cp8QVkHc.js.map +0 -1
  95. package/dist/x-breadcrumb-BQVk_ZI_.js +0 -22
  96. package/dist/x-breadcrumb-BQVk_ZI_.js.map +0 -1
  97. package/dist/x-btn-BXn20OTM.js +0 -50
  98. package/dist/x-btn-BXn20OTM.js.map +0 -1
  99. package/dist/x-card-BjsZr1mV.js +0 -22
  100. package/dist/x-card-BjsZr1mV.js.map +0 -1
  101. package/dist/x-checkbox-DqUXQoJU.js +0 -27
  102. package/dist/x-checkbox-DqUXQoJU.js.map +0 -1
  103. package/dist/x-dialog-te6-Vgkm.js +0 -49
  104. package/dist/x-dialog-te6-Vgkm.js.map +0 -1
  105. package/dist/x-divider-B3cbVfv2.js +0 -12
  106. package/dist/x-divider-B3cbVfv2.js.map +0 -1
  107. package/dist/x-file-input-DGLWq0E0.js +0 -39
  108. package/dist/x-file-input-DGLWq0E0.js.map +0 -1
  109. package/dist/x-form-C5fVEKNp.js +0 -32
  110. package/dist/x-form-C5fVEKNp.js.map +0 -1
  111. package/dist/x-img-BB3GSMHr.js.map +0 -1
  112. package/dist/x-load-DPuiSh1i.js +0 -11
  113. package/dist/x-load-DPuiSh1i.js.map +0 -1
  114. package/dist/x-menu-9krdqSZB.js +0 -31
  115. package/dist/x-menu-9krdqSZB.js.map +0 -1
  116. package/dist/x-menu-item-BSondWPp.js +0 -22
  117. package/dist/x-menu-item-BSondWPp.js.map +0 -1
  118. package/dist/x-menu-label-Dp7gEYzE.js +0 -17
  119. package/dist/x-menu-label-Dp7gEYzE.js.map +0 -1
  120. package/dist/x-navigation-tree-BMLu80ML.js +0 -518
  121. package/dist/x-navigation-tree-BMLu80ML.js.map +0 -1
  122. package/dist/x-navigation-tree-select-CZMM_WJl.js.map +0 -1
  123. package/dist/x-search-NPeNBHNh.js +0 -20
  124. package/dist/x-search-NPeNBHNh.js.map +0 -1
  125. package/dist/x-select-DCWNJiNk.js +0 -38
  126. package/dist/x-select-DCWNJiNk.js.map +0 -1
  127. package/dist/x-tab-UmfRst-i.js +0 -22
  128. package/dist/x-tab-UmfRst-i.js.map +0 -1
  129. package/dist/x-tab-group-C0nWDupY.js +0 -49
  130. package/dist/x-tab-group-C0nWDupY.js.map +0 -1
  131. package/dist/x-tab-panel-CjY4vyG0.js +0 -22
  132. package/dist/x-tab-panel-CjY4vyG0.js.map +0 -1
  133. package/dist/x-text-field-CaWcwz2v.js.map +0 -1
@@ -1,46 +0,0 @@
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 +0,0 @@
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 +0,0 @@
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;;;;;;"}
@@ -1,22 +0,0 @@
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 +0,0 @@
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;;;"}
@@ -1,50 +0,0 @@
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 +0,0 @@
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;;;;;;"}
@@ -1,22 +0,0 @@
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 +0,0 @@
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;;;;"}
@@ -1,27 +0,0 @@
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 +0,0 @@
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;;;"}
@@ -1,49 +0,0 @@
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 +0,0 @@
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;;;;;;;;;;;;"}
@@ -1,12 +0,0 @@
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 +0,0 @@
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;;;"}
@@ -1,39 +0,0 @@
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 +0,0 @@
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;;;"}
@@ -1,32 +0,0 @@
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 +0,0 @@
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 +0,0 @@
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;;;"}
@@ -1,11 +0,0 @@
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 +0,0 @@
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;;"}
@@ -1,31 +0,0 @@
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 +0,0 @@
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;;;;;;;;"}
@@ -1,22 +0,0 @@
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 +0,0 @@
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;;;;;;"}
@@ -1,17 +0,0 @@
1
- import { r as t, b as s, w as r, o as n, e as a } from "./index-DNHsU4Fr.js";
2
- import { _ as c } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
- const l = {};
4
- function _(e, f) {
5
- const o = t("v-list-subheader");
6
- return n(), s(o, null, {
7
- default: r(() => [
8
- a(e.$slots, "default")
9
- ]),
10
- _: 3
11
- });
12
- }
13
- const i = /* @__PURE__ */ c(l, [["render", _]]);
14
- export {
15
- i as default
16
- };
17
- //# sourceMappingURL=x-menu-label-Dp7gEYzE.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"x-menu-label-Dp7gEYzE.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":["_createBlock","_component_v_list_subheader","_renderSlot","_ctx"],"mappings":";;;;;cAqBEA,EAEmBC,GAAA,MAAA;AAAA,eADjB,MAAuB;AAAA,MAAvBC,EAAuBC,EAAA,QAAA,SAAA;AAAA;;;;;"}