@xwiki/cristal-dsvuetify 0.20.0 → 0.21.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 +16 -0
- package/dist/{index-DNHsU4Fr.js → index-CPGfq5JL.js} +11490 -10285
- package/dist/index-CPGfq5JL.js.map +1 -0
- package/dist/index.es.js +10 -10
- package/dist/index.umd.js +31 -31
- package/dist/index.umd.js.map +1 -1
- package/dist/translations-BVK9UR9x.js.map +1 -1
- package/dist/translations.d.ts +19 -0
- package/dist/vue/__tests__/utils/vuetify.d.ts +19 -0
- package/dist/vue/form/x-form.vue.d.ts +8 -0
- package/dist/{x-alert-CAlwFn5B.js → x-alert-Bqf5Ghy4.js} +3 -3
- package/dist/x-alert-Bqf5Ghy4.js.map +1 -0
- package/dist/{x-avatar-Cp8QVkHc.js → x-avatar-DDWQUeZJ.js} +2 -2
- package/dist/x-avatar-DDWQUeZJ.js.map +1 -0
- package/dist/{x-breadcrumb-BQVk_ZI_.js → x-breadcrumb-Ca8UqeNm.js} +4 -4
- package/dist/x-breadcrumb-Ca8UqeNm.js.map +1 -0
- package/dist/{x-btn-BXn20OTM.js → x-btn-CEN-gSJs.js} +2 -2
- package/dist/x-btn-CEN-gSJs.js.map +1 -0
- package/dist/{x-card-BjsZr1mV.js → x-card-ywmTDQq1.js} +2 -2
- package/dist/x-card-ywmTDQq1.js.map +1 -0
- package/dist/{x-checkbox-DqUXQoJU.js → x-checkbox-DioEzg6D.js} +2 -2
- package/dist/x-checkbox-DioEzg6D.js.map +1 -0
- package/dist/{x-dialog-te6-Vgkm.js → x-dialog-BR0aOJnF.js} +11 -11
- package/dist/x-dialog-BR0aOJnF.js.map +1 -0
- package/dist/{x-divider-B3cbVfv2.js → x-divider-DdCNaWK9.js} +2 -2
- package/dist/x-divider-DdCNaWK9.js.map +1 -0
- package/dist/{x-file-input-DGLWq0E0.js → x-file-input-CR_baWpm.js} +2 -2
- package/dist/x-file-input-CR_baWpm.js.map +1 -0
- package/dist/{x-form-C5fVEKNp.js → x-form-DXezCfh2.js} +3 -3
- package/dist/x-form-DXezCfh2.js.map +1 -0
- package/dist/{x-img-BB3GSMHr.js → x-img-X-qoosGi.js} +2 -2
- package/dist/x-img-X-qoosGi.js.map +1 -0
- package/dist/{x-load-DPuiSh1i.js → x-load-CXDfm5l3.js} +2 -2
- package/dist/x-load-CXDfm5l3.js.map +1 -0
- package/dist/{x-menu-9krdqSZB.js → x-menu-C7rglNy2.js} +6 -6
- package/dist/x-menu-C7rglNy2.js.map +1 -0
- package/dist/{x-menu-item-BSondWPp.js → x-menu-item-CCcPUrHX.js} +2 -2
- package/dist/x-menu-item-CCcPUrHX.js.map +1 -0
- package/dist/{x-menu-label-Dp7gEYzE.js → x-menu-label-gVnEylDY.js} +2 -2
- package/dist/x-menu-label-gVnEylDY.js.map +1 -0
- package/dist/x-navigation-tree-BNc0pKUi.js +188 -0
- package/dist/x-navigation-tree-BNc0pKUi.js.map +1 -0
- package/dist/{x-navigation-tree-select-CZMM_WJl.js → x-navigation-tree-select-CHoauT-L.js} +21 -21
- package/dist/x-navigation-tree-select-CHoauT-L.js.map +1 -0
- package/dist/{x-search-NPeNBHNh.js → x-search-BgVWZd4f.js} +2 -2
- package/dist/x-search-BgVWZd4f.js.map +1 -0
- package/dist/{x-select-DCWNJiNk.js → x-select-bQRFdVPL.js} +2 -2
- package/dist/x-select-bQRFdVPL.js.map +1 -0
- package/dist/{x-tab-UmfRst-i.js → x-tab-CFwL72L6.js} +2 -2
- package/dist/x-tab-CFwL72L6.js.map +1 -0
- package/dist/{x-tab-group-C0nWDupY.js → x-tab-group-Bs17utO_.js} +2 -2
- package/dist/x-tab-group-Bs17utO_.js.map +1 -0
- package/dist/{x-tab-panel-CjY4vyG0.js → x-tab-panel-DL228tOt.js} +2 -2
- package/dist/x-tab-panel-DL228tOt.js.map +1 -0
- package/dist/{x-text-field-CaWcwz2v.js → x-text-field-DtCbDE_F.js} +2 -2
- package/dist/x-text-field-DtCbDE_F.js.map +1 -0
- package/package.json +17 -16
- package/src/components/componentsInit.ts +1 -1
- package/src/components/vuetifyDesignSystemLoader.ts +2 -3
- package/src/index.ts +1 -1
- package/src/translations.ts +1 -1
- package/src/vue/__tests__/utils/vuetify.ts +1 -1
- package/src/vue/__tests__/x-btn.test.ts +1 -1
- package/src/vue/css/style.css +1 -1
- package/src/vue/form/x-checkbox.vue +14 -14
- package/src/vue/form/x-file-input.vue +19 -0
- package/src/vue/form/x-form.vue +19 -0
- package/src/vue/form/x-navigation-tree-select.vue +14 -14
- package/src/vue/form/x-select.vue +14 -14
- package/src/vue/form/x-text-field.vue +19 -0
- package/src/vue/x-alert.vue +14 -14
- package/src/vue/x-avatar.vue +14 -14
- package/src/vue/x-breadcrumb.vue +14 -14
- package/src/vue/x-btn.vue +14 -14
- package/src/vue/x-card.vue +14 -14
- package/src/vue/x-dialog.vue +14 -14
- package/src/vue/x-divider.vue +14 -14
- package/src/vue/x-img.vue +14 -14
- package/src/vue/x-load.vue +14 -14
- package/src/vue/x-menu-item.vue +14 -14
- package/src/vue/x-menu-label.vue +14 -14
- package/src/vue/x-menu.vue +14 -14
- package/src/vue/x-navigation-tree.vue +15 -15
- package/src/vue/x-search.vue +14 -14
- package/src/vue/x-tab-group.vue +14 -14
- package/src/vue/x-tab-panel.vue +14 -14
- package/src/vue/x-tab.vue +14 -14
- package/vite.config.ts +1 -1
- package/vitest.config.ts +1 -1
- package/dist/index-DNHsU4Fr.js.map +0 -1
- package/dist/x-alert-CAlwFn5B.js.map +0 -1
- package/dist/x-avatar-Cp8QVkHc.js.map +0 -1
- package/dist/x-breadcrumb-BQVk_ZI_.js.map +0 -1
- package/dist/x-btn-BXn20OTM.js.map +0 -1
- package/dist/x-card-BjsZr1mV.js.map +0 -1
- package/dist/x-checkbox-DqUXQoJU.js.map +0 -1
- package/dist/x-dialog-te6-Vgkm.js.map +0 -1
- package/dist/x-divider-B3cbVfv2.js.map +0 -1
- package/dist/x-file-input-DGLWq0E0.js.map +0 -1
- package/dist/x-form-C5fVEKNp.js.map +0 -1
- package/dist/x-img-BB3GSMHr.js.map +0 -1
- package/dist/x-load-DPuiSh1i.js.map +0 -1
- package/dist/x-menu-9krdqSZB.js.map +0 -1
- package/dist/x-menu-item-BSondWPp.js.map +0 -1
- package/dist/x-menu-label-Dp7gEYzE.js.map +0 -1
- package/dist/x-navigation-tree-BMLu80ML.js +0 -518
- package/dist/x-navigation-tree-BMLu80ML.js.map +0 -1
- package/dist/x-navigation-tree-select-CZMM_WJl.js.map +0 -1
- package/dist/x-search-NPeNBHNh.js.map +0 -1
- package/dist/x-select-DCWNJiNk.js.map +0 -1
- package/dist/x-tab-UmfRst-i.js.map +0 -1
- package/dist/x-tab-group-C0nWDupY.js.map +0 -1
- package/dist/x-tab-panel-CjY4vyG0.js.map +0 -1
- package/dist/x-text-field-CaWcwz2v.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translations-BVK9UR9x.js","sources":["../src/translations.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"translations-BVK9UR9x.js","sources":["../src/translations.ts"],"sourcesContent":["/**\n * See the LICENSE file distributed with this work for additional\n * information regarding copyright ownership.\n *\n * This is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation; either version 2.1 of\n * the License, or (at your option) any later version.\n *\n * This software is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this software; if not, write to the Free\n * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n * 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n */\n\nimport de from \"../langs/translation-de.json\";\nimport en from \"../langs/translation-en.json\";\nimport fr from \"../langs/translation-fr.json\";\n\nconst translations: Record<string, Record<string, string>> = {\n en,\n fr,\n de,\n};\nexport default translations;\n"],"names":["translations","en","fr","de"],"mappings":";;;;;;;;;;;;;;;;;;GAwBMA,IAAuD;AAAA,EAC3D,IAAAC;AAAA,EACA,IAAAC;AAAA,EACA,IAAAC;AACF;"}
|
package/dist/translations.d.ts
CHANGED
|
@@ -1,2 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* See the LICENSE file distributed with this work for additional
|
|
3
|
+
* information regarding copyright ownership.
|
|
4
|
+
*
|
|
5
|
+
* This is free software; you can redistribute it and/or modify it
|
|
6
|
+
* under the terms of the GNU Lesser General Public License as
|
|
7
|
+
* published by the Free Software Foundation; either version 2.1 of
|
|
8
|
+
* the License, or (at your option) any later version.
|
|
9
|
+
*
|
|
10
|
+
* This software is distributed in the hope that it will be useful,
|
|
11
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
12
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
13
|
+
* Lesser General Public License for more details.
|
|
14
|
+
*
|
|
15
|
+
* You should have received a copy of the GNU Lesser General Public
|
|
16
|
+
* License along with this software; if not, write to the Free
|
|
17
|
+
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
|
|
18
|
+
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
|
|
19
|
+
*/
|
|
1
20
|
declare const translations: Record<string, Record<string, string>>;
|
|
2
21
|
export default translations;
|
|
@@ -1,3 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* See the LICENSE file distributed with this work for additional
|
|
3
|
+
* information regarding copyright ownership.
|
|
4
|
+
*
|
|
5
|
+
* This is free software; you can redistribute it and/or modify it
|
|
6
|
+
* under the terms of the GNU Lesser General Public License as
|
|
7
|
+
* published by the Free Software Foundation; either version 2.1 of
|
|
8
|
+
* the License, or (at your option) any later version.
|
|
9
|
+
*
|
|
10
|
+
* This software is distributed in the hope that it will be useful,
|
|
11
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
12
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
13
|
+
* Lesser General Public License for more details.
|
|
14
|
+
*
|
|
15
|
+
* You should have received a copy of the GNU Lesser General Public
|
|
16
|
+
* License along with this software; if not, write to the Free
|
|
17
|
+
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
|
|
18
|
+
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
|
|
19
|
+
*/
|
|
1
20
|
/**
|
|
2
21
|
* Provide the required options for testing vuetify, and merge them with existing
|
|
3
22
|
* @param options - the existing options to merge
|
|
@@ -17,6 +17,8 @@ declare function __VLS_template(): {
|
|
|
17
17
|
class?: any;
|
|
18
18
|
} & {
|
|
19
19
|
$children?: import('vue').VNodeChild | {
|
|
20
|
+
$stable?: boolean;
|
|
21
|
+
} | {
|
|
20
22
|
default?: ((arg: {
|
|
21
23
|
errors: import('vue').Ref<{
|
|
22
24
|
id: number | string;
|
|
@@ -339,6 +341,8 @@ declare function __VLS_template(): {
|
|
|
339
341
|
class?: any;
|
|
340
342
|
} & {
|
|
341
343
|
$children?: import('vue').VNodeChild | {
|
|
344
|
+
$stable?: boolean;
|
|
345
|
+
} | {
|
|
342
346
|
default?: ((arg: {
|
|
343
347
|
errors: import('vue').Ref<{
|
|
344
348
|
id: number | string;
|
|
@@ -621,6 +625,8 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
621
625
|
class?: any;
|
|
622
626
|
} & {
|
|
623
627
|
$children?: import('vue').VNodeChild | {
|
|
628
|
+
$stable?: boolean;
|
|
629
|
+
} | {
|
|
624
630
|
default?: ((arg: {
|
|
625
631
|
errors: import('vue').Ref<{
|
|
626
632
|
id: number | string;
|
|
@@ -943,6 +949,8 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
943
949
|
class?: any;
|
|
944
950
|
} & {
|
|
945
951
|
$children?: import('vue').VNodeChild | {
|
|
952
|
+
$stable?: boolean;
|
|
953
|
+
} | {
|
|
946
954
|
default?: ((arg: {
|
|
947
955
|
errors: import('vue').Ref<{
|
|
948
956
|
id: number | string;
|
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-CPGfq5JL.js";
|
|
2
2
|
import { _ as b } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
3
|
const k = { key: 0 }, y = { key: 1 }, v = /* @__PURE__ */ d({
|
|
4
4
|
__name: "x-alert",
|
|
@@ -39,8 +39,8 @@ const k = { key: 0 }, y = { key: 1 }, v = /* @__PURE__ */ d({
|
|
|
39
39
|
}, 8, ["closable", "title", "type", "text"]);
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
|
-
}), x = /* @__PURE__ */ b(v, [["__scopeId", "data-v-
|
|
42
|
+
}), x = /* @__PURE__ */ b(v, [["__scopeId", "data-v-3b5794fd"]]);
|
|
43
43
|
export {
|
|
44
44
|
x as default
|
|
45
45
|
};
|
|
46
|
-
//# sourceMappingURL=x-alert-
|
|
46
|
+
//# sourceMappingURL=x-alert-Bqf5Ghy4.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-alert-Bqf5Ghy4.js","sources":["../src/vue/x-alert.vue"],"sourcesContent":["<!--\n See the LICENSE file distributed with this work for additional\n information regarding copyright ownership.\n\n This is free software; you can redistribute it and/or modify it\n under the terms of the GNU Lesser General Public License as\n published by the Free Software Foundation; either version 2.1 of\n the License, or (at your option) any later version.\n\n This software is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this software; if not, write to the Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n 02110-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,EAAAA;AAAAA,QAAW,OAAOC,EAAAA;AAAAA,QAAQ,MAAMC,EAAAA;AAAAA,QAAO,MAAMC,EAAAA;AAAAA,MAAAA;mBAE7D,MAAyB;AAAA,kBAD3BC,EAOCC,GAAA,MAAAC,EANkBC,EAAAA,SAAO,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,EAAAA,gBAAVR,EAAqB,MAAAS,CAAA;UACRD,EAAAA,WAAbE,EAAA,GAAAV,EAA2C,cAAlBQ,EAAAA,OAAO,GAAA,CAAA;UAChCG,EAAQC,EAAA,QAAA,WAAA,CAAA,GAAA,QAAA,EAAA;AAAA,QAAA;;;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-CPGfq5JL.js";
|
|
2
2
|
const c = { key: 1 }, g = /* @__PURE__ */ r({
|
|
3
3
|
__name: "x-avatar",
|
|
4
4
|
props: {
|
|
@@ -25,4 +25,4 @@ const c = { key: 1 }, g = /* @__PURE__ */ r({
|
|
|
25
25
|
export {
|
|
26
26
|
g as default
|
|
27
27
|
};
|
|
28
|
-
//# sourceMappingURL=x-avatar-
|
|
28
|
+
//# sourceMappingURL=x-avatar-DDWQUeZJ.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-avatar-DDWQUeZJ.js","sources":["../src/vue/x-avatar.vue"],"sourcesContent":["<!--\n See the LICENSE file distributed with this work for additional\n information regarding copyright ownership.\n\n This is free software; you can redistribute it and/or modify it\n under the terms of the GNU Lesser General Public License as\n published by the Free Software Foundation; either version 2.1 of\n the License, or (at your option) any later version.\n\n This software is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this software; if not, write to the Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n 02110-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,EAAAA,QAAI;AAAA,mBACnB,MAAqD;AAAA,UAAxCC,EAAAA,cAAbH,EAAqDI,GAAA;AAAA;YAAhC,KAAKC,EAAAA;AAAAA,YAAO,KAAKF,EAAAA;AAAAA,UAAAA,gCACtCG,EAAA,GAAAC,EAA8B,aAAdF,EAAAA,IAAI,GAAA,CAAA;AAAA,QAAA;;;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as c, a as m, r as n, b as p, o as _ } from "./index-
|
|
1
|
+
import { d as c, a as m, r as n, b as p, o as _ } from "./index-CPGfq5JL.js";
|
|
2
2
|
import { _ as u } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
3
|
const d = /* @__PURE__ */ c({
|
|
4
4
|
__name: "x-breadcrumb",
|
|
@@ -15,8 +15,8 @@ const d = /* @__PURE__ */ c({
|
|
|
15
15
|
return _(), p(a, { items: s.value }, null, 8, ["items"]);
|
|
16
16
|
};
|
|
17
17
|
}
|
|
18
|
-
}),
|
|
18
|
+
}), f = /* @__PURE__ */ u(d, [["__scopeId", "data-v-f224004b"]]);
|
|
19
19
|
export {
|
|
20
|
-
|
|
20
|
+
f as default
|
|
21
21
|
};
|
|
22
|
-
//# sourceMappingURL=x-breadcrumb-
|
|
22
|
+
//# sourceMappingURL=x-breadcrumb-Ca8UqeNm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-breadcrumb-Ca8UqeNm.js","sources":["../src/vue/x-breadcrumb.vue"],"sourcesContent":["<!--\n See the LICENSE file distributed with this work for additional\n information regarding copyright ownership.\n\n This is free software; you can redistribute it and/or modify it\n under the terms of the GNU Lesser General Public License as\n published by the Free Software Foundation; either version 2.1 of\n the License, or (at your option) any later version.\n\n This software is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this software; if not, write to the Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n 02110-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,IAAA,EAET,CACF;;;kBAICC,EAA8CC,GAAA,EAA9B,OAAOL,EAAA,MAAA,GAAK,MAAA,GAAA,CAAA,OAAA,CAAA;AAAA;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-CPGfq5JL.js";
|
|
2
2
|
const b = /* @__PURE__ */ s({
|
|
3
3
|
__name: "x-btn",
|
|
4
4
|
props: {
|
|
@@ -47,4 +47,4 @@ const b = /* @__PURE__ */ s({
|
|
|
47
47
|
export {
|
|
48
48
|
b as default
|
|
49
49
|
};
|
|
50
|
-
//# sourceMappingURL=x-btn-
|
|
50
|
+
//# sourceMappingURL=x-btn-CEN-gSJs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-btn-CEN-gSJs.js","sources":["../src/vue/x-btn.vue"],"sourcesContent":["<!--\n See the LICENSE file distributed with this work for additional\n information regarding copyright ownership.\n\n This is free software; you can redistribute it and/or modify it\n under the terms of the GNU Lesser General Public License as\n published by the Free Software Foundation; either version 2.1 of\n the License, or (at your option) any later version.\n\n This software is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this software; if not, write to the Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n 02110-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":";;;;;;;;;AA0BA,UAAMA,IAAQC,EAAS,MAAM;AAC3B,UAAID;AACJ,cAAQE,EAAA,SAAA;AAAA,QACN,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;AAEJ,aAAOA;AAAAA,IACT,CAAC,GAEKG,IAAWF,EAAS,MAAOC,EAAA,WAAW,SAAS,SAAS,OAAQ;;;kBAGpEE,EAEQC,GAAA;AAAA,QAFA,OAAOL,EAAA;AAAA,QAAQ,SAASG,EAAA;AAAA,MAAA;mBAC9B,MAAQ;AAAA,UAARG,EAAQC,EAAA,QAAA,SAAA;AAAA,QAAA;;;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as o, b as a, w as n, o as s, e as c } from "./index-
|
|
1
|
+
import { r as o, b as a, w as n, o as s, e as c } from "./index-CPGfq5JL.js";
|
|
2
2
|
import { _ as i } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
3
|
const l = {
|
|
4
4
|
props: { title: { type: String, required: !0 } }
|
|
@@ -19,4 +19,4 @@ const x = /* @__PURE__ */ i(l, [["render", d]]);
|
|
|
19
19
|
export {
|
|
20
20
|
x as default
|
|
21
21
|
};
|
|
22
|
-
//# sourceMappingURL=x-card-
|
|
22
|
+
//# sourceMappingURL=x-card-ywmTDQq1.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-card-ywmTDQq1.js","sources":["../src/vue/x-card.vue"],"sourcesContent":["<!--\n See the LICENSE file distributed with this work for additional\n information regarding copyright ownership.\n\n This is free software; you can redistribute it and/or modify it\n under the terms of the GNU Lesser General Public License as\n published by the Free Software Foundation; either version 2.1 of\n the License, or (at your option) any later version.\n\n This software is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this software; if not, write to the Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n 02110-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,MAAAA,IAAe;AAAA,EACb,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,UAAU,KAAK;AACjD;;;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,4 +1,4 @@
|
|
|
1
|
-
import { d as u, p as d, q as m, b as n, u as t, o as p,
|
|
1
|
+
import { d as u, p as d, q as m, b as n, u as t, o as p, C as r } from "./index-CPGfq5JL.js";
|
|
2
2
|
const V = /* @__PURE__ */ u({
|
|
3
3
|
__name: "x-checkbox",
|
|
4
4
|
props: /* @__PURE__ */ d({
|
|
@@ -24,4 +24,4 @@ const V = /* @__PURE__ */ u({
|
|
|
24
24
|
export {
|
|
25
25
|
V as default
|
|
26
26
|
};
|
|
27
|
-
//# sourceMappingURL=x-checkbox-
|
|
27
|
+
//# sourceMappingURL=x-checkbox-DioEzg6D.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-checkbox-DioEzg6D.js","sources":["../src/vue/form/x-checkbox.vue"],"sourcesContent":["<!--\n See the LICENSE file distributed with this work for additional\n information regarding copyright ownership.\n\n This is free software; you can redistribute it and/or modify it\n under the terms of the GNU Lesser General Public License as\n published by the Free Software Foundation; either version 2.1 of\n the License, or (at your option) any later version.\n\n This software is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this software; if not, write to the Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n 02110-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":";;;;;;;;;;;;;AAyBA,UAAMA,IAAUC,iBAA4B;2BAG1CC,EAKcC,EAAAC,CAAA,GAAA;AAAA,kBAJHJ,EAAA;AAAA,oDAAAA,EAAO,QAAAK;AAAA,MACf,OAAOC,EAAAA;AAAAA,MACP,UAAUC,EAAAA;AAAAA,MACX,SAAQ;AAAA,IAAA;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as p, r as
|
|
1
|
+
import { d as p, r as o, b as s, w as e, o as r, i as n, f as v, e as a, j as m, n as u, k as f } from "./index-CPGfq5JL.js";
|
|
2
2
|
import { _ as h } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
3
|
const w = /* @__PURE__ */ p({
|
|
4
4
|
__name: "x-dialog",
|
|
@@ -8,28 +8,28 @@ const w = /* @__PURE__ */ p({
|
|
|
8
8
|
},
|
|
9
9
|
setup(g) {
|
|
10
10
|
return (t, k) => {
|
|
11
|
-
const d =
|
|
11
|
+
const d = o("v-card-text"), c = o("v-card-actions"), i = o("v-card"), l = o("v-dialog");
|
|
12
12
|
return r(), s(l, {
|
|
13
13
|
width: t.width,
|
|
14
14
|
attach: "#view",
|
|
15
15
|
scrollable: ""
|
|
16
16
|
}, {
|
|
17
|
-
activator:
|
|
18
|
-
|
|
17
|
+
activator: e(({ props: _ }) => [
|
|
18
|
+
m("span", u(f(_)), [
|
|
19
19
|
a(t.$slots, "activator", {}, void 0, !0)
|
|
20
20
|
], 16)
|
|
21
21
|
]),
|
|
22
|
-
default:
|
|
22
|
+
default: e(() => [
|
|
23
23
|
n(i, { title: t.title }, {
|
|
24
|
-
default:
|
|
24
|
+
default: e(() => [
|
|
25
25
|
n(d, null, {
|
|
26
|
-
default:
|
|
26
|
+
default: e(() => [
|
|
27
27
|
a(t.$slots, "default", {}, void 0, !0)
|
|
28
28
|
]),
|
|
29
29
|
_: 3
|
|
30
30
|
}),
|
|
31
31
|
t.$slots.footer ? (r(), s(c, { key: 0 }, {
|
|
32
|
-
default:
|
|
32
|
+
default: e(() => [
|
|
33
33
|
a(t.$slots, "footer", {}, void 0, !0)
|
|
34
34
|
]),
|
|
35
35
|
_: 3
|
|
@@ -42,8 +42,8 @@ const w = /* @__PURE__ */ p({
|
|
|
42
42
|
}, 8, ["width"]);
|
|
43
43
|
};
|
|
44
44
|
}
|
|
45
|
-
}),
|
|
45
|
+
}), B = /* @__PURE__ */ h(w, [["__scopeId", "data-v-9e36865e"]]);
|
|
46
46
|
export {
|
|
47
|
-
|
|
47
|
+
B as default
|
|
48
48
|
};
|
|
49
|
-
//# sourceMappingURL=x-dialog-
|
|
49
|
+
//# sourceMappingURL=x-dialog-BR0aOJnF.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-dialog-BR0aOJnF.js","sources":["../src/vue/x-dialog.vue"],"sourcesContent":["<!--\n See the LICENSE file distributed with this work for additional\n information regarding copyright ownership.\n\n This is free software; you can redistribute it and/or modify it\n under the terms of the GNU Lesser General Public License as\n published by the Free Software Foundation; either version 2.1 of\n the License, or (at your option) any later version.\n\n This software is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this software; if not, write to the Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n 02110-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,EAAAA;AAAAA,QAAO,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,EAAAA,SAAK;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,4 +1,4 @@
|
|
|
1
|
-
import { r as o, b as r, o as c } from "./index-
|
|
1
|
+
import { r as o, b as r, o as c } from "./index-CPGfq5JL.js";
|
|
2
2
|
import { _ as n } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
3
|
const t = {};
|
|
4
4
|
function s(_, i) {
|
|
@@ -9,4 +9,4 @@ const f = /* @__PURE__ */ n(t, [["render", s]]);
|
|
|
9
9
|
export {
|
|
10
10
|
f as default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=x-divider-
|
|
12
|
+
//# sourceMappingURL=x-divider-DdCNaWK9.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-divider-DdCNaWK9.js","sources":["../src/vue/x-divider.vue"],"sourcesContent":["<!--\n See the LICENSE file distributed with this work for additional\n information regarding copyright ownership.\n\n This is free software; you can redistribute it and/or modify it\n under the terms of the GNU Lesser General Public License as\n published by the Free Software Foundation; either version 2.1 of\n the License, or (at your option) any later version.\n\n This software is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this software; if not, write to the Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n 02110-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,4 +1,4 @@
|
|
|
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-
|
|
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-CPGfq5JL.js";
|
|
2
2
|
import { t as y } from "./translations-BVK9UR9x.js";
|
|
3
3
|
import { useI18n as b } from "vue-i18n";
|
|
4
4
|
const M = /* @__PURE__ */ r({
|
|
@@ -36,4 +36,4 @@ const M = /* @__PURE__ */ r({
|
|
|
36
36
|
export {
|
|
37
37
|
M as default
|
|
38
38
|
};
|
|
39
|
-
//# sourceMappingURL=x-file-input-
|
|
39
|
+
//# sourceMappingURL=x-file-input-CR_baWpm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-file-input-CR_baWpm.js","sources":["../src/vue/form/x-file-input.vue"],"sourcesContent":["<!--\n See the LICENSE file distributed with this work for additional\n information regarding copyright ownership.\n\n This is free software; you can redistribute it and/or modify it\n under the terms of the GNU Lesser General Public License as\n published by the Free Software Foundation; either version 2.1 of\n the License, or (at your option) any later version.\n\n This software is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this software; if not, write to the Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n<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":";;;;;;;;;;;;;;;;;;;;AA0BA,UAAM,EAAE,EAAA,IAAMA,EAAQ;AAAA,MAAA,UACpBC;AAAAA,IAAA,CACD,GAEKC,IAAQC,iBAA4B,GACpCC,IAAQC,GAERC,IAAQC,EAAS,MAAM;AAC3B,YAAMC,IAAY,CAAA;AAClB,aAAIJ,EAAM,YACRI,EAAU,KAAK,CAACC,MACVA,IACK,KAEA,EAAE,8BAA8B,CAE1C,GAEID;AAAA,IACT,CAAC;2BAICE,EAKgBC,EAAAC,CAAA,GAAA;AAAA,kBAJLV,EAAA;AAAA,oDAAAA,EAAK,QAAAW;AAAA,MACb,OAAOC,EAAAA;AAAAA,MACP,MAAMC,EAAAA;AAAAA,MACN,OAAOT,EAAA;AAAA,IAAA;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-CPGfq5JL.js";
|
|
2
2
|
import { _ as v } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
3
|
const x = /* @__PURE__ */ n({
|
|
4
4
|
__name: "x-form",
|
|
@@ -25,8 +25,8 @@ const x = /* @__PURE__ */ n({
|
|
|
25
25
|
_: 3
|
|
26
26
|
}, 512));
|
|
27
27
|
}
|
|
28
|
-
}), k = /* @__PURE__ */ v(x, [["__scopeId", "data-v-
|
|
28
|
+
}), k = /* @__PURE__ */ v(x, [["__scopeId", "data-v-5c07499c"]]);
|
|
29
29
|
export {
|
|
30
30
|
k as default
|
|
31
31
|
};
|
|
32
|
-
//# sourceMappingURL=x-form-
|
|
32
|
+
//# sourceMappingURL=x-form-DXezCfh2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-form-DXezCfh2.js","sources":["../src/vue/form/x-form.vue"],"sourcesContent":["<!--\n See the LICENSE file distributed with this work for additional\n information regarding copyright ownership.\n\n This is free software; you can redistribute it and/or modify it\n under the terms of the GNU Lesser General Public License as\n published by the Free Software Foundation; either version 2.1 of\n the License, or (at your option) any later version.\n\n This software is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this software; if not, write to the Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n<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":";;;;;;AAwBA,UAAMA,IAA+BC,EAAI,MAAS,GAC5CC,IAAQC;AAEd,IAAAC,EAAa;AAAA,MACX,OAAAC;AAAA,IAAA,CACD;AAED,mBAAeA,IAAQ;AACrB,MAAAL,EAAK,OAAO,MAAA;AAAA,IACd;AAEA,mBAAeM,IAAS;AAEtB,OADmB,MAAMN,EAAK,OAAO,SAAA,IACrB,SACdE,EAAM,YAAY;AAAA,IAEtB;2BAIEK,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,4 +1,4 @@
|
|
|
1
|
-
import { c as e, o as t } from "./index-
|
|
1
|
+
import { c as e, o as t } from "./index-CPGfq5JL.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 } }
|
|
@@ -10,4 +10,4 @@ const d = /* @__PURE__ */ c(o, [["render", n]]);
|
|
|
10
10
|
export {
|
|
11
11
|
d as default
|
|
12
12
|
};
|
|
13
|
-
//# sourceMappingURL=x-img-
|
|
13
|
+
//# sourceMappingURL=x-img-X-qoosGi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-img-X-qoosGi.js","sources":["../src/vue/x-img.vue"],"sourcesContent":["<!--\n See the LICENSE file distributed with this work for additional\n information regarding copyright ownership.\n\n This is free software; you can redistribute it and/or modify it\n under the terms of the GNU Lesser General Public License as\n published by the Free Software Foundation; either version 2.1 of\n the License, or (at your option) any later version.\n\n This software is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this software; if not, write to the Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n 02110-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,MAAAA,IAAe;AAAA,EACb,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,UAAU,KAAK;AAC/C;;cALEC,EAAkB,OAAA,EAAZ,KAAKC,EAAA,IAAA,GAAG,MAAA,GAAAC,CAAA;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as e, c as o, o as a } from "./index-
|
|
1
|
+
import { d as e, c as o, o as a } from "./index-CPGfq5JL.js";
|
|
2
2
|
const s = /* @__PURE__ */ e({
|
|
3
3
|
__name: "x-load",
|
|
4
4
|
setup(n) {
|
|
@@ -8,4 +8,4 @@ const s = /* @__PURE__ */ e({
|
|
|
8
8
|
export {
|
|
9
9
|
s as default
|
|
10
10
|
};
|
|
11
|
-
//# sourceMappingURL=x-load-
|
|
11
|
+
//# sourceMappingURL=x-load-CXDfm5l3.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-load-CXDfm5l3.js","sources":["../src/vue/x-load.vue"],"sourcesContent":["<!--\n See the LICENSE file distributed with this work for additional\n information regarding copyright ownership.\n\n This is free software; you can redistribute it and/or modify it\n under the terms of the GNU Lesser General Public License as\n published by the Free Software Foundation; either version 2.1 of\n the License, or (at your option) any later version.\n\n This software is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this software; if not, write to the Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n 02110-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,20 +1,20 @@
|
|
|
1
|
-
import { r as a, b as c, w as e, o as
|
|
1
|
+
import { r as a, b as c, w as e, o as d, i, e as o, j as l, n as _, k as u } from "./index-CPGfq5JL.js";
|
|
2
2
|
import { _ as f } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
3
|
const p = {};
|
|
4
4
|
function m(t, v) {
|
|
5
5
|
const n = a("v-list"), s = a("v-menu");
|
|
6
|
-
return
|
|
6
|
+
return d(), c(s, {
|
|
7
7
|
"close-on-content-click": !1,
|
|
8
8
|
attach: "#xwCristalApp",
|
|
9
9
|
"z-index": "initial"
|
|
10
10
|
}, {
|
|
11
11
|
activator: e(({ props: r }) => [
|
|
12
|
-
|
|
12
|
+
l("span", _(u(r)), [
|
|
13
13
|
o(t.$slots, "activator", {}, void 0, !0)
|
|
14
14
|
], 16)
|
|
15
15
|
]),
|
|
16
16
|
default: e(() => [
|
|
17
|
-
|
|
17
|
+
i(n, null, {
|
|
18
18
|
default: e(() => [
|
|
19
19
|
o(t.$slots, "default", {}, void 0, !0)
|
|
20
20
|
]),
|
|
@@ -24,8 +24,8 @@ function m(t, v) {
|
|
|
24
24
|
_: 3
|
|
25
25
|
});
|
|
26
26
|
}
|
|
27
|
-
const h = /* @__PURE__ */ f(p, [["render", m], ["__scopeId", "data-v-
|
|
27
|
+
const h = /* @__PURE__ */ f(p, [["render", m], ["__scopeId", "data-v-dd1f30d6"]]);
|
|
28
28
|
export {
|
|
29
29
|
h as default
|
|
30
30
|
};
|
|
31
|
-
//# sourceMappingURL=x-menu-
|
|
31
|
+
//# sourceMappingURL=x-menu-C7rglNy2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-menu-C7rglNy2.js","sources":["../src/vue/x-menu.vue"],"sourcesContent":["<!--\n See the LICENSE file distributed with this work for additional\n information regarding copyright ownership.\n\n This is free software; you can redistribute it and/or modify it\n under the terms of the GNU Lesser General Public License as\n published by the Free Software Foundation; either version 2.1 of\n the License, or (at your option) any later version.\n\n This software is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this software; if not, write to the Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n 02110-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,4 +1,4 @@
|
|
|
1
|
-
import { d as o, r as a, b as s, w as n, o as l, e as r } from "./index-
|
|
1
|
+
import { d as o, r as a, b as s, w as n, o as l, e as r } from "./index-CPGfq5JL.js";
|
|
2
2
|
const _ = /* @__PURE__ */ o({
|
|
3
3
|
__name: "x-menu-item",
|
|
4
4
|
props: {
|
|
@@ -19,4 +19,4 @@ const _ = /* @__PURE__ */ o({
|
|
|
19
19
|
export {
|
|
20
20
|
_ as default
|
|
21
21
|
};
|
|
22
|
-
//# sourceMappingURL=x-menu-item-
|
|
22
|
+
//# sourceMappingURL=x-menu-item-CCcPUrHX.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-menu-item-CCcPUrHX.js","sources":["../src/vue/x-menu-item.vue"],"sourcesContent":["<!--\n See the LICENSE file distributed with this work for additional\n information regarding copyright ownership.\n\n This is free software; you can redistribute it and/or modify it\n under the terms of the GNU Lesser General Public License as\n published by the Free Software Foundation; either version 2.1 of\n the License, or (at your option) any later version.\n\n This software is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this software; if not, write to the Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n 02110-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,EAAAA,SAAK;AAAA,mBACxB,MAAuB;AAAA,UAAvBC,EAAuBC,EAAA,QAAA,SAAA;AAAA,QAAA;;;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as t, b as s, w as r, o as n, e as a } from "./index-
|
|
1
|
+
import { r as t, b as s, w as r, o as n, e as a } from "./index-CPGfq5JL.js";
|
|
2
2
|
import { _ as c } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
3
|
const l = {};
|
|
4
4
|
function _(e, f) {
|
|
@@ -14,4 +14,4 @@ const i = /* @__PURE__ */ c(l, [["render", _]]);
|
|
|
14
14
|
export {
|
|
15
15
|
i as default
|
|
16
16
|
};
|
|
17
|
-
//# sourceMappingURL=x-menu-label-
|
|
17
|
+
//# sourceMappingURL=x-menu-label-gVnEylDY.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-menu-label-gVnEylDY.js","sources":["../src/vue/x-menu-label.vue"],"sourcesContent":["<!--\n See the LICENSE file distributed with this work for additional\n information regarding copyright ownership.\n\n This is free software; you can redistribute it and/or modify it\n under the terms of the GNU Lesser General Public License as\n published by the Free Software Foundation; either version 2.1 of\n the License, or (at your option) any later version.\n\n This software is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this software; if not, write to the Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n 02110-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;;;;;"}
|