@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,46 +0,0 @@
1
- import { defineComponent as d, resolveComponent as n, createBlock as a, openBlock as t, withCtx as r, createElementBlock as l, createCommentVNode as s, renderSlot as m, Fragment as _, renderList as u, createTextVNode as f, toDisplayString as i } from "vue";
2
- import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
- const y = { key: 0 }, b = { 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 = n("x-btn"), p = n("v-alert");
16
- return t(), a(p, {
17
- closable: e.closable,
18
- title: e.title,
19
- type: e.type,
20
- text: e.description
21
- }, {
22
- default: r(() => [
23
- (t(!0), l(_, null, u(e.actions, (o) => (t(), a(c, {
24
- key: o.name,
25
- size: "small",
26
- variant: "text",
27
- onClick: o.callback
28
- }, {
29
- default: r(() => [
30
- f(i(o.name), 1)
31
- ]),
32
- _: 2
33
- }, 1032, ["onClick"]))), 128)),
34
- e.details ? (t(), l("br", y)) : s("", !0),
35
- e.details ? (t(), l("small", b, i(e.details), 1)) : s("", !0),
36
- m(e.$slots, "default", {}, void 0, !0)
37
- ]),
38
- _: 3
39
- }, 8, ["closable", "title", "type", "text"]);
40
- };
41
- }
42
- }), g = /* @__PURE__ */ k(v, [["__scopeId", "data-v-c679f3ce"]]);
43
- export {
44
- g as default
45
- };
46
- //# sourceMappingURL=x-alert-gEtl8xCI.js.map
@@ -1,22 +0,0 @@
1
- import { defineComponent as m, computed as n, resolveComponent as a, createBlock as p, openBlock as _ } from "vue";
2
- import { _ as u } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
- const i = /* @__PURE__ */ m({
4
- __name: "x-breadcrumb",
5
- props: {
6
- items: {}
7
- },
8
- setup(r) {
9
- const o = r, s = n(() => o.items.map(({ label: e, url: t }) => ({
10
- title: e,
11
- href: t
12
- })));
13
- return (e, t) => {
14
- const c = a("v-breadcrumbs");
15
- return _(), p(c, { items: s.value }, null, 8, ["items"]);
16
- };
17
- }
18
- }), b = /* @__PURE__ */ u(i, [["__scopeId", "data-v-7547965a"]]);
19
- export {
20
- b as default
21
- };
22
- //# sourceMappingURL=x-breadcrumb-CyjqjISE.js.map
@@ -1,50 +0,0 @@
1
- import { defineComponent as c, computed as r, resolveComponent as s, createBlock as l, openBlock as i, withCtx as u, renderSlot as p } from "vue";
2
- const m = /* @__PURE__ */ c({
3
- __name: "x-btn",
4
- props: {
5
- variant: {},
6
- size: {},
7
- pill: { type: Boolean }
8
- },
9
- setup(a) {
10
- const t = r(() => {
11
- let e;
12
- switch (a.variant) {
13
- case "default":
14
- break;
15
- case "primary":
16
- e = "primary";
17
- break;
18
- case "success":
19
- e = "success";
20
- break;
21
- case "neutral":
22
- e = "secondary";
23
- break;
24
- case "warning":
25
- e = "warning";
26
- break;
27
- case "danger":
28
- e = "error";
29
- break;
30
- }
31
- return e;
32
- }), n = r(() => a.variant == "text" ? "text" : "tonal");
33
- return (e, v) => {
34
- const o = s("v-btn");
35
- return i(), l(o, {
36
- color: t.value,
37
- variant: n.value
38
- }, {
39
- default: u(() => [
40
- p(e.$slots, "default")
41
- ]),
42
- _: 3
43
- }, 8, ["color", "variant"]);
44
- };
45
- }
46
- });
47
- export {
48
- m as default
49
- };
50
- //# sourceMappingURL=x-btn-DzH2bk-f.js.map
@@ -1,22 +0,0 @@
1
- import { resolveComponent as o, createBlock as n, openBlock as a, withCtx as c, renderSlot as i } from "vue";
2
- import { _ as s } 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 a(), n(r, {
9
- title: e.title,
10
- variant: "outlined"
11
- }, {
12
- default: c(() => [
13
- i(t.$slots, "default")
14
- ]),
15
- _: 3
16
- }, 8, ["title"]);
17
- }
18
- const x = /* @__PURE__ */ s(l, [["render", d]]);
19
- export {
20
- x as default
21
- };
22
- //# sourceMappingURL=x-card-BlUD5hbt.js.map
@@ -1,28 +0,0 @@
1
- import { defineComponent as s, mergeModels as u, useModel as d, createBlock as n, openBlock as t, unref as p } from "vue";
2
- import { x as r } from "./index-BZqZR8-g.js";
3
- const V = /* @__PURE__ */ s({
4
- __name: "x-checkbox",
5
- props: /* @__PURE__ */ u({
6
- label: {},
7
- help: {},
8
- modelValue: { type: Boolean }
9
- }, {
10
- modelValue: { type: [Boolean, null] },
11
- modelModifiers: {}
12
- }),
13
- emits: ["update:modelValue"],
14
- setup(a) {
15
- const e = d(a, "modelValue");
16
- return (l, o) => (t(), n(p(r), {
17
- modelValue: e.value,
18
- "onUpdate:modelValue": o[0] || (o[0] = (m) => e.value = m),
19
- label: l.label,
20
- messages: l.help,
21
- density: "compact"
22
- }, null, 8, ["modelValue", "label", "messages"]));
23
- }
24
- });
25
- export {
26
- V as default
27
- };
28
- //# sourceMappingURL=x-checkbox-CV2j3kg9.js.map
@@ -1,49 +0,0 @@
1
- import { defineComponent as p, resolveComponent as o, createBlock as r, openBlock as n, withCtx as e, createVNode as d, createCommentVNode as v, renderSlot as a, createElementVNode as m, normalizeProps as u, guardReactiveProps as f } from "vue";
2
- import { _ as h } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
- const w = /* @__PURE__ */ p({
4
- __name: "x-dialog",
5
- props: {
6
- title: {},
7
- width: {}
8
- },
9
- setup(g) {
10
- return (t, C) => {
11
- const c = o("v-card-text"), l = o("v-card-actions"), s = o("v-card"), i = o("v-dialog");
12
- return n(), r(i, {
13
- width: t.width,
14
- attach: "#view",
15
- scrollable: ""
16
- }, {
17
- activator: e(({ props: _ }) => [
18
- m("span", u(f(_)), [
19
- a(t.$slots, "activator", {}, void 0, !0)
20
- ], 16)
21
- ]),
22
- default: e(() => [
23
- d(s, { title: t.title }, {
24
- default: e(() => [
25
- d(c, null, {
26
- default: e(() => [
27
- a(t.$slots, "default", {}, void 0, !0)
28
- ]),
29
- _: 3
30
- }),
31
- t.$slots.footer ? (n(), r(l, { key: 0 }, {
32
- default: e(() => [
33
- a(t.$slots, "footer", {}, void 0, !0)
34
- ]),
35
- _: 3
36
- })) : v("", !0)
37
- ]),
38
- _: 3
39
- }, 8, ["title"])
40
- ]),
41
- _: 3
42
- }, 8, ["width"]);
43
- };
44
- }
45
- }), N = /* @__PURE__ */ h(w, [["__scopeId", "data-v-937b761f"]]);
46
- export {
47
- N as default
48
- };
49
- //# sourceMappingURL=x-dialog-Ccb-vGZ2.js.map
@@ -1,12 +0,0 @@
1
- import { resolveComponent as o, createBlock as r, openBlock as c } from "vue";
2
- import { _ as n } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
- const t = {};
4
- function _(i, s) {
5
- const e = o("v-divider");
6
- return c(), r(e);
7
- }
8
- const m = /* @__PURE__ */ n(t, [["render", _]]);
9
- export {
10
- m as default
11
- };
12
- //# sourceMappingURL=x-divider-BOCxsH8h.js.map
@@ -1,40 +0,0 @@
1
- import { defineComponent as s, mergeModels as m, useModel as p, computed as d, createBlock as i, openBlock as f, unref as c } from "vue";
2
- import { t as V } from "./translations-BVK9UR9x.js";
3
- import { useI18n as y } from "vue-i18n";
4
- import { b } from "./index-BZqZR8-g.js";
5
- const k = /* @__PURE__ */ s({
6
- __name: "x-file-input",
7
- props: /* @__PURE__ */ m({
8
- name: {},
9
- label: {},
10
- required: { type: Boolean },
11
- autofocus: { type: Boolean },
12
- modelValue: {},
13
- help: {},
14
- readonly: { type: Boolean },
15
- type: {}
16
- }, {
17
- modelValue: {},
18
- modelModifiers: {}
19
- }),
20
- emits: ["update:modelValue"],
21
- setup(o) {
22
- const { t: u } = y({
23
- messages: V
24
- }), t = p(o, "modelValue"), a = o, r = d(() => {
25
- const e = [];
26
- return a.required && e.push((l) => l ? !0 : u("vuetify.file.input.mandatory")), e;
27
- });
28
- return (e, l) => (f(), i(c(b), {
29
- modelValue: t.value,
30
- "onUpdate:modelValue": l[0] || (l[0] = (n) => t.value = n),
31
- label: e.label,
32
- name: e.name,
33
- rules: r.value
34
- }, null, 8, ["modelValue", "label", "name", "rules"]));
35
- }
36
- });
37
- export {
38
- k as default
39
- };
40
- //# sourceMappingURL=x-file-input-WC5u-psN.js.map
@@ -1,36 +0,0 @@
1
- import { defineComponent as n, ref as a, createBlock as c, openBlock as u, unref as _, withModifiers as p, withCtx as d, renderSlot as l } from "vue";
2
- import { V as v } from "./index-BZqZR8-g.js";
3
- import { _ as x } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
- const b = /* @__PURE__ */ n({
5
- __name: "x-form",
6
- emits: ["formSubmit"],
7
- setup(S, { expose: r, emit: s }) {
8
- const t = a(void 0), m = s;
9
- r({
10
- reset: f
11
- });
12
- async function f() {
13
- var e;
14
- (e = t.value) == null || e.reset();
15
- }
16
- async function i() {
17
- var o;
18
- const e = await ((o = t.value) == null ? void 0 : o.validate());
19
- e != null && e.valid && m("formSubmit");
20
- }
21
- return (e, o) => (u(), c(_(v), {
22
- ref_key: "form",
23
- ref: t,
24
- onSubmit: p(i, ["prevent"])
25
- }, {
26
- default: d(() => [
27
- l(e.$slots, "default", {}, void 0, !0)
28
- ]),
29
- _: 3
30
- }, 512));
31
- }
32
- }), y = /* @__PURE__ */ x(b, [["__scopeId", "data-v-8592890c"]]);
33
- export {
34
- y as default
35
- };
36
- //# sourceMappingURL=x-form-66u_n6Xf.js.map
@@ -1,11 +0,0 @@
1
- import { defineComponent as e, createElementBlock as n, openBlock as o } from "vue";
2
- const p = /* @__PURE__ */ e({
3
- __name: "x-load",
4
- setup(t) {
5
- return (r, a) => (o(), n("span"));
6
- }
7
- });
8
- export {
9
- p as default
10
- };
11
- //# sourceMappingURL=x-load-Bw4ftl3k.js.map
@@ -1,31 +0,0 @@
1
- import { resolveComponent as o, createBlock as s, openBlock as l, withCtx as e, createVNode as i, renderSlot as n, createElementVNode as d, normalizeProps as _, guardReactiveProps as u } from "vue";
2
- import { _ as f } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
- const p = {};
4
- function m(t, v) {
5
- const a = o("v-list"), r = o("v-menu");
6
- return l(), s(r, {
7
- "close-on-content-click": !1,
8
- attach: "#xwCristalApp",
9
- "z-index": "initial"
10
- }, {
11
- activator: e(({ props: c }) => [
12
- d("span", _(u(c)), [
13
- n(t.$slots, "activator", {}, void 0, !0)
14
- ], 16)
15
- ]),
16
- default: e(() => [
17
- i(a, null, {
18
- default: e(() => [
19
- n(t.$slots, "default", {}, void 0, !0)
20
- ]),
21
- _: 3
22
- })
23
- ]),
24
- _: 3
25
- });
26
- }
27
- const k = /* @__PURE__ */ f(p, [["render", m], ["__scopeId", "data-v-ef2ba5a0"]]);
28
- export {
29
- k as default
30
- };
31
- //# sourceMappingURL=x-menu-BeWrqcFy.js.map
@@ -1,22 +0,0 @@
1
- import { defineComponent as o, resolveComponent as n, createBlock as l, openBlock as r, withCtx as a, renderSlot as s } from "vue";
2
- const _ = /* @__PURE__ */ o({
3
- __name: "x-menu-item",
4
- props: {
5
- value: {}
6
- },
7
- setup(m) {
8
- return (e, p) => {
9
- const t = n("v-list-item");
10
- return r(), l(t, { value: e.value }, {
11
- default: a(() => [
12
- s(e.$slots, "default")
13
- ]),
14
- _: 3
15
- }, 8, ["value"]);
16
- };
17
- }
18
- });
19
- export {
20
- _ as default
21
- };
22
- //# sourceMappingURL=x-menu-item-CBdOhZc3.js.map
@@ -1,17 +0,0 @@
1
- import { resolveComponent as o, createBlock as r, openBlock as n, withCtx as s, renderSlot as c } from "vue";
2
- import { _ as l } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
- const _ = {};
4
- function a(e, f) {
5
- const t = o("v-list-subheader");
6
- return n(), r(t, null, {
7
- default: s(() => [
8
- c(e.$slots, "default")
9
- ]),
10
- _: 3
11
- });
12
- }
13
- const i = /* @__PURE__ */ l(_, [["render", a]]);
14
- export {
15
- i as default
16
- };
17
- //# sourceMappingURL=x-menu-label-D-sFcG_g.js.map