@xwiki/cristal-dsvuetify 0.9.0 → 0.11.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.
- package/CHANGELOG.md +26 -0
- package/dist/components/componentsInit.d.ts +0 -1
- package/dist/components/vuetifyDesignSystemLoader.d.ts +0 -1
- package/dist/{index-CkW0K4NP.js → index-BMliq0dk.js} +7749 -7612
- package/dist/index-BMliq0dk.js.map +1 -0
- package/dist/index.d.ts +0 -1
- package/dist/index.es.js +7 -4
- package/dist/index.umd.js +12 -7
- package/dist/index.umd.js.map +1 -1
- package/dist/{translations-CFfpgNrx.js → translations-BNEIsfPR.js} +3 -3
- package/dist/{translations-CFfpgNrx.js.map → translations-BNEIsfPR.js.map} +1 -1
- package/dist/vue/__tests__/utils/vuetify.d.ts +5 -0
- package/dist/vue/form/x-file-input.vue.d.ts +10 -31
- package/dist/vue/form/x-form.vue.d.ts +9 -4
- package/dist/vue/form/x-text-field.vue.d.ts +1 -11
- package/dist/vue/x-alert.vue.d.ts +2 -22
- package/dist/vue/x-avatar.vue.d.ts +3 -3
- package/dist/vue/x-breadcrumb.vue.d.ts +1 -11
- package/dist/vue/x-btn.vue.d.ts +9 -3
- package/dist/vue/x-card.vue.d.ts +3 -3
- package/dist/vue/x-dialog.vue.d.ts +11 -15
- package/dist/vue/x-divider.vue.d.ts +1 -1
- package/dist/vue/x-img.vue.d.ts +3 -3
- package/dist/vue/x-load.vue.d.ts +1 -2
- package/dist/vue/x-menu-item.vue.d.ts +12 -16
- package/dist/vue/x-menu-label.vue.d.ts +16 -0
- package/dist/vue/x-menu.vue.d.ts +9 -17
- package/dist/vue/x-navigation-tree.vue.d.ts +13 -0
- package/dist/vue/x-search.vue.d.ts +1 -1
- package/dist/vue/x-tab-group.vue.d.ts +10 -5
- package/dist/vue/x-tab-panel.vue.d.ts +8 -13
- package/dist/vue/x-tab.vue.d.ts +8 -13
- package/dist/x-alert-D8oy1BPL.js +40 -0
- package/dist/x-alert-D8oy1BPL.js.map +1 -0
- package/dist/x-breadcrumb-C2iUd4Sf.js +22 -0
- package/dist/{x-breadcrumb-DBZVExfF.js.map → x-breadcrumb-C2iUd4Sf.js.map} +1 -1
- package/dist/x-btn-DNlhiqjD.js +48 -0
- package/dist/x-btn-DNlhiqjD.js.map +1 -0
- package/dist/x-divider-Buudf0KI.js +12 -0
- package/dist/x-divider-Buudf0KI.js.map +1 -0
- package/dist/{x-file-input-COSLRt5u.js → x-file-input-8euR7G64.js} +9 -9
- package/dist/{x-file-input-COSLRt5u.js.map → x-file-input-8euR7G64.js.map} +1 -1
- package/dist/{x-form-B5rljfJA.js → x-form-UiBYkCKP.js} +2 -2
- package/dist/{x-form-B5rljfJA.js.map → x-form-UiBYkCKP.js.map} +1 -1
- package/dist/x-menu-DDC7z1Wb.js +31 -0
- package/dist/x-menu-DDC7z1Wb.js.map +1 -0
- package/dist/x-menu-item-ByE5R9Bf.js +22 -0
- package/dist/x-menu-item-ByE5R9Bf.js.map +1 -0
- package/dist/x-menu-label-DniImc0U.js +17 -0
- package/dist/x-menu-label-DniImc0U.js.map +1 -0
- package/dist/x-navigation-tree-DkVWsvlI.js +449 -0
- package/dist/x-navigation-tree-DkVWsvlI.js.map +1 -0
- package/dist/x-tab-group-ngNByee3.js +49 -0
- package/dist/{x-tab-group-DTR-H8Sn.js.map → x-tab-group-ngNByee3.js.map} +1 -1
- package/dist/{x-text-field-Ccv2SH00.js → x-text-field-uL1ePP_x.js} +6 -6
- package/dist/{x-text-field-Ccv2SH00.js.map → x-text-field-uL1ePP_x.js.map} +1 -1
- package/langs/translation-fr.json +1 -0
- package/package.json +11 -9
- package/src/components/vuetifyDesignSystemLoader.ts +23 -0
- package/src/vue/__tests__/utils/vuetify.ts +42 -0
- package/src/vue/__tests__/x-btn.test.ts +53 -0
- package/src/vue/css/style.css +4 -3
- package/src/vue/x-alert.vue +14 -17
- package/src/vue/x-breadcrumb.vue +5 -1
- package/src/vue/x-btn.vue +34 -1
- package/src/vue/x-divider.vue +1 -1
- package/src/vue/x-menu-item.vue +2 -2
- package/src/vue/x-menu-label.vue +25 -0
- package/src/vue/x-menu.vue +13 -6
- package/src/vue/x-navigation-tree.vue +204 -0
- package/src/vue/x-tab-group.vue +4 -2
- package/tsconfig.json +2 -1
- package/{src/vue.d.ts → vitest.config.ts} +17 -7
- package/dist/index-CkW0K4NP.js.map +0 -1
- package/dist/x-alert-Cm6mzRpR.js +0 -29
- package/dist/x-alert-Cm6mzRpR.js.map +0 -1
- package/dist/x-breadcrumb-DBZVExfF.js +0 -21
- package/dist/x-btn-DsACLwMY.js +0 -17
- package/dist/x-btn-DsACLwMY.js.map +0 -1
- package/dist/x-divider-7cmRuxTV.js +0 -16
- package/dist/x-divider-7cmRuxTV.js.map +0 -1
- package/dist/x-menu-VerLAd9F.js +0 -32
- package/dist/x-menu-VerLAd9F.js.map +0 -1
- package/dist/x-menu-item-DGurfOCF.js +0 -22
- package/dist/x-menu-item-DGurfOCF.js.map +0 -1
- package/dist/x-tab-group-DTR-H8Sn.js +0 -49
package/dist/x-alert-Cm6mzRpR.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { resolveComponent as o, openBlock as n, createBlock as p, withCtx as c, renderSlot as l } from "vue";
|
|
2
|
-
import { _ as s } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
-
const i = {
|
|
4
|
-
components: {},
|
|
5
|
-
props: {
|
|
6
|
-
title: { type: String, required: !0 },
|
|
7
|
-
type: {
|
|
8
|
-
type: Object,
|
|
9
|
-
required: !0
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
};
|
|
13
|
-
function a(e, _, t, u, d, f) {
|
|
14
|
-
const r = o("v-alert");
|
|
15
|
-
return n(), p(r, {
|
|
16
|
-
title: t.title,
|
|
17
|
-
type: t.type
|
|
18
|
-
}, {
|
|
19
|
-
default: c(() => [
|
|
20
|
-
l(e.$slots, "default")
|
|
21
|
-
]),
|
|
22
|
-
_: 3
|
|
23
|
-
}, 8, ["title", "type"]);
|
|
24
|
-
}
|
|
25
|
-
const x = /* @__PURE__ */ s(i, [["render", a]]);
|
|
26
|
-
export {
|
|
27
|
-
x as default
|
|
28
|
-
};
|
|
29
|
-
//# sourceMappingURL=x-alert-Cm6mzRpR.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"x-alert-Cm6mzRpR.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<template>\n <v-alert :title=\"title\" :type=\"type\">\n <slot />\n </v-alert>\n</template>\n<script lang=\"ts\">\nimport type { PropType } from \"vue\";\nimport type { VAlert } from \"vuetify/lib/components/VAlert/index.mjs\";\n\nexport default {\n components: {},\n props: {\n title: { type: String, required: true },\n type: {\n type: Object as PropType<VAlert[\"type\"] | undefined>,\n required: true,\n },\n },\n};\n</script>\n"],"names":["_sfc_main","_resolveComponent","_openBlock","_createBlock","_component_v_alert","$props","_renderSlot","_ctx"],"mappings":";;AA4BA,MAAeA,IAAA;AAAA,EACb,YAAY,CAAC;AAAA,EACb,OAAO;AAAA,IACL,OAAO,EAAE,MAAM,QAAQ,UAAU,GAAK;AAAA,IACtC,MAAM;AAAA,MACJ,MAAM;AAAA,MACN,UAAU;AAAA,IACZ;AAAA,EACF;AACF;;YAjBEC,EAEU,SAAA;SAFqBC,EAAI,GAAAC,EAAAC,GAAA;AAAA,IAAA,OAAAC,EAAA;AAAA,IApBrC,MAAAA,EAAA;AAAA,EAAA,GAAA;AAAA;MAAAC,EAAAC,EAAA,QAAA,SAAA;AAAA,IAAA,CAAA;AAAA;;;;"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { defineComponent as s, computed as c, resolveComponent as p, openBlock as u, createBlock as a } from "vue";
|
|
2
|
-
const _ = /* @__PURE__ */ s({
|
|
3
|
-
__name: "x-breadcrumb",
|
|
4
|
-
props: {
|
|
5
|
-
items: {}
|
|
6
|
-
},
|
|
7
|
-
setup(r) {
|
|
8
|
-
const o = r, n = c(() => o.items.map(({ label: e, url: t }) => ({
|
|
9
|
-
title: e,
|
|
10
|
-
href: t
|
|
11
|
-
})));
|
|
12
|
-
return (e, t) => {
|
|
13
|
-
const m = p("v-breadcrumbs");
|
|
14
|
-
return u(), a(m, { items: n.value }, null, 8, ["items"]);
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
export {
|
|
19
|
-
_ as default
|
|
20
|
-
};
|
|
21
|
-
//# sourceMappingURL=x-breadcrumb-DBZVExfF.js.map
|
package/dist/x-btn-DsACLwMY.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { resolveComponent as o, openBlock as n, createBlock as r, withCtx as c, renderSlot as _ } from "vue";
|
|
2
|
-
import { _ as s } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
-
const l = {};
|
|
4
|
-
function f(t, a) {
|
|
5
|
-
const e = o("v-btn");
|
|
6
|
-
return n(), r(e, null, {
|
|
7
|
-
default: c(() => [
|
|
8
|
-
_(t.$slots, "default")
|
|
9
|
-
]),
|
|
10
|
-
_: 3
|
|
11
|
-
});
|
|
12
|
-
}
|
|
13
|
-
const d = /* @__PURE__ */ s(l, [["render", f]]);
|
|
14
|
-
export {
|
|
15
|
-
d as default
|
|
16
|
-
};
|
|
17
|
-
//# sourceMappingURL=x-btn-DsACLwMY.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"x-btn-DsACLwMY.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<template>\n <v-btn>\n <slot />\n </v-btn>\n</template>\n"],"names":["_openBlock","_createBlock","_component_v_btn","_withCtx"],"mappings":";;;;;AAAA,SAAAA,EAqBI,GAAQC,EAAAC,GAAA,MAAA;AAAA,aAAAC,EAAA,MAAA;AAAA;KArBZ;AAAA;;;;"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { resolveComponent as e, openBlock as r, createBlock as c } from "vue";
|
|
2
|
-
import { _ as n } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
-
const t = {};
|
|
4
|
-
function i(s, _) {
|
|
5
|
-
const o = e("v-divider");
|
|
6
|
-
return r(), c(o, {
|
|
7
|
-
thickness: 2,
|
|
8
|
-
class: "border-opacity-100",
|
|
9
|
-
color: "info"
|
|
10
|
-
});
|
|
11
|
-
}
|
|
12
|
-
const f = /* @__PURE__ */ n(t, [["render", i]]);
|
|
13
|
-
export {
|
|
14
|
-
f as default
|
|
15
|
-
};
|
|
16
|
-
//# sourceMappingURL=x-divider-7cmRuxTV.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"x-divider-7cmRuxTV.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 :thickness=\"2\" class=\"border-opacity-100\" color=\"info\" />\n</template>\n"],"names":["_openBlock","_createBlock","_component_v_divider"],"mappings":";;;;;AAoBc,SAAAA,EAAY,GAAAC,EAAAC,GAAA;AAAA,IAAE,WAA0B;AAAA,IAAC,OAAM;AAAA;;;;"}
|
package/dist/x-menu-VerLAd9F.js
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { defineComponent as l, resolveComponent as t, openBlock as p, createBlock as c, withCtx as e, createElementVNode as _, normalizeProps as m, guardReactiveProps as u, renderSlot as n, createVNode as i } from "vue";
|
|
2
|
-
const h = /* @__PURE__ */ l({
|
|
3
|
-
__name: "x-menu",
|
|
4
|
-
props: {
|
|
5
|
-
title: {}
|
|
6
|
-
},
|
|
7
|
-
setup(d) {
|
|
8
|
-
return (o, v) => {
|
|
9
|
-
const r = t("v-list"), a = t("v-menu");
|
|
10
|
-
return p(), c(a, { "open-on-hover": "" }, {
|
|
11
|
-
activator: e(({ props: s }) => [
|
|
12
|
-
_("span", m(u(s)), [
|
|
13
|
-
n(o.$slots, "activator")
|
|
14
|
-
], 16)
|
|
15
|
-
]),
|
|
16
|
-
default: e(() => [
|
|
17
|
-
i(r, null, {
|
|
18
|
-
default: e(() => [
|
|
19
|
-
n(o.$slots, "default")
|
|
20
|
-
]),
|
|
21
|
-
_: 3
|
|
22
|
-
})
|
|
23
|
-
]),
|
|
24
|
-
_: 3
|
|
25
|
-
});
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
});
|
|
29
|
-
export {
|
|
30
|
-
h as default
|
|
31
|
-
};
|
|
32
|
-
//# sourceMappingURL=x-menu-VerLAd9F.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"x-menu-VerLAd9F.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { defineComponent as o, resolveComponent as n, openBlock as l, createBlock as r, withCtx as s, renderSlot as _ } from "vue";
|
|
2
|
-
const c = /* @__PURE__ */ o({
|
|
3
|
-
__name: "x-menu-item",
|
|
4
|
-
props: {
|
|
5
|
-
title: {}
|
|
6
|
-
},
|
|
7
|
-
setup(m) {
|
|
8
|
-
return (e, p) => {
|
|
9
|
-
const t = n("v-list-item");
|
|
10
|
-
return l(), r(t, null, {
|
|
11
|
-
default: s(() => [
|
|
12
|
-
_(e.$slots, "default")
|
|
13
|
-
]),
|
|
14
|
-
_: 3
|
|
15
|
-
});
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
export {
|
|
20
|
-
c as default
|
|
21
|
-
};
|
|
22
|
-
//# sourceMappingURL=x-menu-item-DGurfOCF.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"x-menu-item-DGurfOCF.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { defineComponent as f, ref as i, resolveComponent as n, openBlock as b, createBlock as V, withCtx as a, createVNode as s, renderSlot as u } from "vue";
|
|
2
|
-
const g = /* @__PURE__ */ f({
|
|
3
|
-
__name: "x-tab-group",
|
|
4
|
-
emits: ["change"],
|
|
5
|
-
setup(w, { emit: d }) {
|
|
6
|
-
const e = i(null), m = d;
|
|
7
|
-
function _(t) {
|
|
8
|
-
m("change", t);
|
|
9
|
-
}
|
|
10
|
-
return (t, o) => {
|
|
11
|
-
const r = n("v-tabs"), c = n("v-tabs-window"), p = n("v-card-text"), v = n("v-card");
|
|
12
|
-
return b(), V(v, { class: "mx-auto" }, {
|
|
13
|
-
default: a(() => [
|
|
14
|
-
s(r, {
|
|
15
|
-
modelValue: e.value,
|
|
16
|
-
"onUpdate:modelValue": [
|
|
17
|
-
o[0] || (o[0] = (l) => e.value = l),
|
|
18
|
-
_
|
|
19
|
-
]
|
|
20
|
-
}, {
|
|
21
|
-
default: a(() => [
|
|
22
|
-
u(t.$slots, "tabs")
|
|
23
|
-
]),
|
|
24
|
-
_: 3
|
|
25
|
-
}, 8, ["modelValue"]),
|
|
26
|
-
s(p, null, {
|
|
27
|
-
default: a(() => [
|
|
28
|
-
s(c, {
|
|
29
|
-
modelValue: e.value,
|
|
30
|
-
"onUpdate:modelValue": o[1] || (o[1] = (l) => e.value = l)
|
|
31
|
-
}, {
|
|
32
|
-
default: a(() => [
|
|
33
|
-
u(t.$slots, "panels")
|
|
34
|
-
]),
|
|
35
|
-
_: 3
|
|
36
|
-
}, 8, ["modelValue"])
|
|
37
|
-
]),
|
|
38
|
-
_: 3
|
|
39
|
-
})
|
|
40
|
-
]),
|
|
41
|
-
_: 3
|
|
42
|
-
});
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
});
|
|
46
|
-
export {
|
|
47
|
-
g as default
|
|
48
|
-
};
|
|
49
|
-
//# sourceMappingURL=x-tab-group-DTR-H8Sn.js.map
|