@xwiki/cristal-dsvuetify 0.8.0 → 0.10.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 (81) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/dist/index-BjjXwAdJ.js +20870 -0
  3. package/dist/index-BjjXwAdJ.js.map +1 -0
  4. package/dist/index.es.js +9 -20955
  5. package/dist/index.es.js.map +1 -1
  6. package/dist/index.umd.js +14 -25
  7. package/dist/index.umd.js.map +1 -1
  8. package/dist/translations-CFfpgNrx.js +10 -0
  9. package/dist/translations-CFfpgNrx.js.map +1 -0
  10. package/dist/translations.d.ts +2 -0
  11. package/dist/vue/form/x-file-input.vue.d.ts +32 -0
  12. package/dist/vue/form/x-form.vue.d.ts +15 -0
  13. package/dist/vue/form/x-text-field.vue.d.ts +13 -0
  14. package/dist/vue/x-alert.vue.d.ts +3 -2
  15. package/dist/vue/x-btn.vue.d.ts +4 -2
  16. package/dist/vue/x-dialog.vue.d.ts +7 -5
  17. package/dist/vue/x-menu-item.vue.d.ts +6 -4
  18. package/dist/vue/x-menu.vue.d.ts +7 -5
  19. package/dist/vue/x-navigation-tree.vue.d.ts +23 -0
  20. package/dist/vue/x-tab-group.vue.d.ts +16 -0
  21. package/dist/vue/x-tab-panel.vue.d.ts +22 -0
  22. package/dist/vue/x-tab.vue.d.ts +22 -0
  23. package/dist/x-alert-Cm6mzRpR.js.map +1 -1
  24. package/dist/x-avatar-But_Z7ic.js.map +1 -1
  25. package/dist/x-breadcrumb-DBZVExfF.js +21 -0
  26. package/dist/x-breadcrumb-DBZVExfF.js.map +1 -0
  27. package/dist/x-btn-DsACLwMY.js.map +1 -1
  28. package/dist/x-card-CRM9KUby.js.map +1 -1
  29. package/dist/x-divider-7cmRuxTV.js.map +1 -1
  30. package/dist/x-file-input-B6XyfogW.js +35 -0
  31. package/dist/x-file-input-B6XyfogW.js.map +1 -0
  32. package/dist/x-form-leyAZnAr.js +32 -0
  33. package/dist/x-form-leyAZnAr.js.map +1 -0
  34. package/dist/x-img-BYgs_O1F.js.map +1 -1
  35. package/dist/{x-load-CDyapJH_.js → x-load-DipiCmNY.js} +1 -1
  36. package/dist/x-load-DipiCmNY.js.map +1 -0
  37. package/dist/x-navigation-tree-B8JZ_wJm.js +470 -0
  38. package/dist/x-navigation-tree-B8JZ_wJm.js.map +1 -0
  39. package/dist/x-search-C4yZLrSp.js.map +1 -1
  40. package/dist/x-tab-OWsxC4de.js +22 -0
  41. package/dist/x-tab-OWsxC4de.js.map +1 -0
  42. package/dist/x-tab-group-ngNByee3.js +49 -0
  43. package/dist/x-tab-group-ngNByee3.js.map +1 -0
  44. package/dist/x-tab-panel-YsSPuuLL.js +22 -0
  45. package/dist/x-tab-panel-YsSPuuLL.js.map +1 -0
  46. package/dist/x-text-field-B88odaud.js +29 -0
  47. package/dist/x-text-field-B88odaud.js.map +1 -0
  48. package/langs/translation-en.json +4 -0
  49. package/langs/translation-fr.json +1 -0
  50. package/package.json +9 -10
  51. package/src/components/componentsInit.ts +4 -9
  52. package/src/components/vuetifyDesignSystemLoader.ts +35 -9
  53. package/src/index.ts +4 -9
  54. package/src/translations.ts +26 -0
  55. package/src/vue/css/style.css +31 -13
  56. package/src/vue/form/x-file-input.vue +40 -0
  57. package/src/vue/form/x-form.vue +17 -0
  58. package/src/vue/form/x-text-field.vue +32 -0
  59. package/src/vue/x-alert.vue +17 -23
  60. package/src/vue/x-avatar.vue +17 -23
  61. package/src/vue/x-breadcrumb.vue +28 -24
  62. package/src/vue/x-btn.vue +17 -23
  63. package/src/vue/x-card.vue +17 -23
  64. package/src/vue/x-dialog.vue +17 -23
  65. package/src/vue/x-divider.vue +17 -23
  66. package/src/vue/x-img.vue +17 -23
  67. package/src/vue/x-load.vue +17 -23
  68. package/src/vue/x-menu-item.vue +17 -23
  69. package/src/vue/x-menu.vue +17 -23
  70. package/src/vue/x-navigation-tree.vue +165 -0
  71. package/src/vue/x-search.vue +17 -23
  72. package/src/vue/x-tab-group.vue +46 -0
  73. package/src/vue/x-tab-panel.vue +30 -0
  74. package/src/vue/x-tab.vue +30 -0
  75. package/src/vue.d.ts +4 -9
  76. package/tsconfig.json +1 -0
  77. package/vite.config.ts +4 -9
  78. package/dist/style.css +0 -5
  79. package/dist/x-breadcrumb-DKUFjeVQ.js +0 -17
  80. package/dist/x-breadcrumb-DKUFjeVQ.js.map +0 -1
  81. package/dist/x-load-CDyapJH_.js.map +0 -1
@@ -0,0 +1,10 @@
1
+ const t = {
2
+ "vuetify.file.input.mandatory": "Mandatory field",
3
+ "vuetify.text.input.mandatory": "Mandatory field"
4
+ }, a = {
5
+ en: t
6
+ }, n = a;
7
+ export {
8
+ n as m
9
+ };
10
+ //# sourceMappingURL=translations-CFfpgNrx.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"translations-CFfpgNrx.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 en from \"../langs/translation-en.json\";\n\nconst translations: Record<string, Record<string, string>> = {\n en,\n};\nexport default translations;\n"],"names":["translations","en","messages"],"mappings":";;;GAsBMA,IAAuD;AAAA,EAC3D,IAAAC;AACF,GACAC,IAAeF;"}
@@ -0,0 +1,2 @@
1
+ declare const translations: Record<string, Record<string, string>>;
2
+ export default translations;
@@ -0,0 +1,32 @@
1
+ import { TextFieldModel } from '@xwiki/cristal-dsapi';
2
+
3
+ declare const _default: import('vue').DefineComponent<{
4
+ modelValue: import('vue').PropType<TextFieldModel>;
5
+ name: {
6
+ type: import('vue').PropType<string>;
7
+ required: true;
8
+ };
9
+ label: {
10
+ type: import('vue').PropType<string>;
11
+ required: true;
12
+ };
13
+ required: {
14
+ type: import('vue').PropType<boolean>;
15
+ required: true;
16
+ };
17
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
18
+ modelValue: import('vue').PropType<TextFieldModel>;
19
+ name: {
20
+ type: import('vue').PropType<string>;
21
+ required: true;
22
+ };
23
+ label: {
24
+ type: import('vue').PropType<string>;
25
+ required: true;
26
+ };
27
+ required: {
28
+ type: import('vue').PropType<boolean>;
29
+ required: true;
30
+ };
31
+ }>>, {}, {}>;
32
+ export default _default;
@@ -0,0 +1,15 @@
1
+ declare function __VLS_template(): {
2
+ default?(_: {}): any;
3
+ };
4
+ declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
5
+ formSubmit: (...args: any[]) => void;
6
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>> & {
7
+ onFormSubmit?: ((...args: any[]) => any) | undefined;
8
+ }, {}, {}>;
9
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
10
+ export default _default;
11
+ type __VLS_WithTemplateSlots<T, S> = T & {
12
+ new (): {
13
+ $slots: S;
14
+ };
15
+ };
@@ -0,0 +1,13 @@
1
+ import { TextFieldProps } from '@xwiki/cristal-dsapi';
2
+
3
+ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<TextFieldProps>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<TextFieldProps>>>, {}, {}>;
4
+ export default _default;
5
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
6
+ type __VLS_TypePropsToRuntimeProps<T> = {
7
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
8
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
9
+ } : {
10
+ type: import('vue').PropType<T[K]>;
11
+ required: true;
12
+ };
13
+ };
@@ -1,4 +1,5 @@
1
1
  import { PropType } from 'vue';
2
+ import { VAlert } from 'vuetify/lib/components/VAlert/index.mjs';
2
3
 
3
4
  declare const _default: import('vue').DefineComponent<{
4
5
  title: {
@@ -6,7 +7,7 @@ declare const _default: import('vue').DefineComponent<{
6
7
  required: true;
7
8
  };
8
9
  type: {
9
- type: PropType<"error" | "success" | "warning" | "info" | undefined>;
10
+ type: PropType<VAlert["type"] | undefined>;
10
11
  required: true;
11
12
  };
12
13
  }, unknown, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
@@ -15,7 +16,7 @@ declare const _default: import('vue').DefineComponent<{
15
16
  required: true;
16
17
  };
17
18
  type: {
18
- type: PropType<"error" | "success" | "warning" | "info" | undefined>;
19
+ type: PropType<VAlert["type"] | undefined>;
19
20
  required: true;
20
21
  };
21
22
  }>>, {}, {}>;
@@ -1,6 +1,8 @@
1
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>, {
1
+ declare function __VLS_template(): {
2
2
  default?(_: {}): any;
3
- }>;
3
+ };
4
+ declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
5
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
4
6
  export default _default;
5
7
  type __VLS_WithTemplateSlots<T, S> = T & {
6
8
  new (): {
@@ -1,13 +1,15 @@
1
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
1
+ declare function __VLS_template(): {
2
+ activator?(_: {}): any;
3
+ default?(_: {}): any;
4
+ };
5
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
6
  title: string;
3
7
  width: string | number | undefined;
4
8
  }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
5
9
  title: string;
6
10
  width: string | number | undefined;
7
- }>>>, {}, {}>, {
8
- activator?(_: {}): any;
9
- default?(_: {}): any;
10
- }>;
11
+ }>>>, {}, {}>;
12
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
11
13
  export default _default;
12
14
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
13
15
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,10 +1,12 @@
1
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
1
+ declare function __VLS_template(): {
2
+ default?(_: {}): any;
3
+ };
4
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
5
  title: string;
3
6
  }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
7
  title: string;
5
- }>>>, {}, {}>, {
6
- default?(_: {}): any;
7
- }>;
8
+ }>>>, {}, {}>;
9
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
8
10
  export default _default;
9
11
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
10
12
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,11 +1,13 @@
1
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
1
+ declare function __VLS_template(): {
2
+ activator?(_: {}): any;
3
+ default?(_: {}): any;
4
+ };
5
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
6
  title: string;
3
7
  }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
8
  title: string;
5
- }>>>, {}, {}>, {
6
- activator?(_: {}): any;
7
- default?(_: {}): any;
8
- }>;
9
+ }>>>, {}, {}>;
10
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
9
11
  export default _default;
10
12
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
11
13
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -0,0 +1,23 @@
1
+ import { PageData } from '@xwiki/cristal-api';
2
+ import { NavigationTreeSource, NavigationTreeNode } from '@xwiki/cristal-navigation-tree-api';
3
+
4
+ type OnClickAction = (node: NavigationTreeNode) => void;
5
+ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
6
+ treeSource: NavigationTreeSource;
7
+ clickAction?: OnClickAction;
8
+ currentPage?: PageData;
9
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
10
+ treeSource: NavigationTreeSource;
11
+ clickAction?: OnClickAction;
12
+ currentPage?: PageData;
13
+ }>>>, {}, {}>;
14
+ export default _default;
15
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
16
+ type __VLS_TypePropsToRuntimeProps<T> = {
17
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
18
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
19
+ } : {
20
+ type: import('vue').PropType<T[K]>;
21
+ required: true;
22
+ };
23
+ };
@@ -0,0 +1,16 @@
1
+ declare function __VLS_template(): {
2
+ tabs?(_: {}): any;
3
+ panels?(_: {}): any;
4
+ };
5
+ declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
+ change: (...args: any[]) => void;
7
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>> & {
8
+ onChange?: ((...args: any[]) => any) | undefined;
9
+ }, {}, {}>;
10
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
11
+ export default _default;
12
+ type __VLS_WithTemplateSlots<T, S> = T & {
13
+ new (): {
14
+ $slots: S;
15
+ };
16
+ };
@@ -0,0 +1,22 @@
1
+ import { TabPanelProps } from '@xwiki/cristal-dsapi';
2
+
3
+ declare function __VLS_template(): {
4
+ default?(_: {}): any;
5
+ };
6
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<TabPanelProps>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<TabPanelProps>>>, {}, {}>;
7
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
8
+ export default _default;
9
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
10
+ type __VLS_TypePropsToRuntimeProps<T> = {
11
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
12
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
13
+ } : {
14
+ type: import('vue').PropType<T[K]>;
15
+ required: true;
16
+ };
17
+ };
18
+ type __VLS_WithTemplateSlots<T, S> = T & {
19
+ new (): {
20
+ $slots: S;
21
+ };
22
+ };
@@ -0,0 +1,22 @@
1
+ import { TabProps } from '@xwiki/cristal-dsapi';
2
+
3
+ declare function __VLS_template(): {
4
+ default?(_: {}): any;
5
+ };
6
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<TabProps>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<TabProps>>>, {}, {}>;
7
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
8
+ export default _default;
9
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
10
+ type __VLS_TypePropsToRuntimeProps<T> = {
11
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
12
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
13
+ } : {
14
+ type: import('vue').PropType<T[K]>;
15
+ required: true;
16
+ };
17
+ };
18
+ type __VLS_WithTemplateSlots<T, S> = T & {
19
+ new (): {
20
+ $slots: S;
21
+ };
22
+ };
@@ -1 +1 @@
1
- {"version":3,"file":"x-alert-Cm6mzRpR.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 Affero 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 Affero 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 * This file is part of the Cristal Wiki software prototype\n * @copyright Copyright (c) 2023 XWiki SAS\n * @license http://opensource.org/licenses/AGPL-3.0 AGPL-3.0\n *\n **/\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":";;AAkCA,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,IA1BrC,MAAAA,EAAA;AAAA,EAAA,GAAA;AAAA;MAAAC,EAAAC,EAAA,QAAA,SAAA;AAAA,IAAA,CAAA;AAAA;;;;"}
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 +1 @@
1
- {"version":3,"file":"x-avatar-But_Z7ic.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 Affero 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 Affero 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 * This file is part of the Cristal Wiki software prototype\n * @copyright Copyright (c) 2023 XWiki SAS\n * @license http://opensource.org/licenses/AGPL-3.0 AGPL-3.0\n *\n **/\n-->\n<template>\n <v-avatar :image=\"image\" :size=\"size\"></v-avatar>\n</template>\n<script lang=\"ts\">\nexport default {\n props: {\n image: { type: String, required: true },\n size: { type: String, required: true },\n },\n};\n</script>\n"],"names":["_sfc_main","_resolveComponent","_openBlock","_createBlock","_component_v_avatar","$props"],"mappings":";;AA6BA,MAAeA,IAAA;AAAA,EACb,OAAO;AAAA,IACL,OAAO,EAAE,MAAM,QAAQ,UAAU,GAAK;AAAA,IACtC,MAAM,EAAE,MAAM,QAAQ,UAAU,GAAK;AAAA,EACvC;AACF;;YAREC,EAAiD,UAAA;SAAjBC,EAAI,GAAAC,EAAAC,GAAA;AAAA,IAAA,OAAAC,EAAA;AAAA;;;;"}
1
+ {"version":3,"file":"x-avatar-But_Z7ic.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<template>\n <v-avatar :image=\"image\" :size=\"size\"></v-avatar>\n</template>\n<script lang=\"ts\">\nexport default {\n props: {\n image: { type: String, required: true },\n size: { type: String, required: true },\n },\n};\n</script>\n"],"names":["_sfc_main","_resolveComponent","_openBlock","_createBlock","_component_v_avatar","$props"],"mappings":";;AAuBA,MAAeA,IAAA;AAAA,EACb,OAAO;AAAA,IACL,OAAO,EAAE,MAAM,QAAQ,UAAU,GAAK;AAAA,IACtC,MAAM,EAAE,MAAM,QAAQ,UAAU,GAAK;AAAA,EACvC;AACF;;YAREC,EAAiD,UAAA;SAAjBC,EAAI,GAAAC,EAAAC,GAAA;AAAA,IAAA,OAAAC,EAAA;AAAA;;;;"}
@@ -0,0 +1,21 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x-breadcrumb-DBZVExfF.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></style>\n"],"names":["props","__props","items","computed","label","url"],"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;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"x-btn-DsACLwMY.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 Affero 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 Affero 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 * This file is part of the Cristal Wiki software prototype\n * @copyright Copyright (c) 2023 XWiki SAS\n * @license http://opensource.org/licenses/AGPL-3.0 AGPL-3.0\n *\n **/\n-->\n<template>\n <v-btn>\n <slot />\n </v-btn>\n</template>\n"],"names":["_openBlock","_createBlock","_component_v_btn","_withCtx"],"mappings":";;;;;AAAA,SAAAA,EA2BI,GAAQC,EAAAC,GAAA,MAAA;AAAA,aAAAC,EAAA,MAAA;AAAA;KA3BZ;AAAA;;;;"}
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 +1 @@
1
- {"version":3,"file":"x-card-CRM9KUby.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 Affero 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 Affero 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 * This file is part of the Cristal Wiki software prototype\n * @copyright Copyright (c) 2023 XWiki SAS\n * @license http://opensource.org/licenses/AGPL-3.0 AGPL-3.0\n *\n **/\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","_resolveComponent","_openBlock","_createBlock","_component_v_card","$props","_renderSlot","_ctx"],"mappings":";;AA+BA,MAAeA,IAAA;AAAA,EACb,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,UAAU,KAAO;AACnD;;YAPEC,EAES,QAAA;AAFc,SAAAC,EAAA,GAAkBC,EAAAC,GAAA;AAAA,IAAA,OAAAC,EAAA;AAAA,IA1B3C,SAAA;AAAA,EAAA,GAAA;AAAA;MAAAC,EAAAC,EAAA,QAAA,SAAA;AAAA,IAAA,CAAA;AAAA;;;;"}
1
+ {"version":3,"file":"x-card-CRM9KUby.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","_resolveComponent","_openBlock","_createBlock","_component_v_card","$props","_renderSlot","_ctx"],"mappings":";;AAyBA,MAAeA,IAAA;AAAA,EACb,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,UAAU,KAAO;AACnD;;YAPEC,EAES,QAAA;AAFc,SAAAC,EAAA,GAAkBC,EAAAC,GAAA;AAAA,IAAA,OAAAC,EAAA;AAAA,IApB3C,SAAA;AAAA,EAAA,GAAA;AAAA;MAAAC,EAAAC,EAAA,QAAA,SAAA;AAAA,IAAA,CAAA;AAAA;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"x-divider-7cmRuxTV.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 Affero 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 Affero 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 * This file is part of the Cristal Wiki software prototype\n * @copyright Copyright (c) 2023 XWiki SAS\n * @license http://opensource.org/licenses/AGPL-3.0 AGPL-3.0\n *\n **/\n-->\n<template>\n <v-divider :thickness=\"2\" class=\"border-opacity-100\" color=\"info\" />\n</template>\n"],"names":["_openBlock","_createBlock","_component_v_divider"],"mappings":";;;;;AA0Bc,SAAAA,EAAY,GAAAC,EAAAC,GAAA;AAAA,IAAE,WAA0B;AAAA,IAAC,OAAM;AAAA;;;;"}
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;;;;"}
@@ -0,0 +1,35 @@
1
+ import { defineComponent as m, mergeModels as s, useModel as i, computed as d, openBlock as p, createBlock as f, unref as c } from "vue";
2
+ import { m as V } from "./translations-CFfpgNrx.js";
3
+ import { useI18n as b } from "vue-i18n";
4
+ import { b as v } from "./index-BjjXwAdJ.js";
5
+ const k = /* @__PURE__ */ m({
6
+ __name: "x-file-input",
7
+ props: /* @__PURE__ */ s({
8
+ name: {},
9
+ label: {},
10
+ required: { type: Boolean }
11
+ }, {
12
+ modelValue: {},
13
+ modelModifiers: {}
14
+ }),
15
+ emits: ["update:modelValue"],
16
+ setup(o) {
17
+ const { t: u } = b({
18
+ messages: V
19
+ }), r = i(o, "modelValue"), t = o, n = d(() => {
20
+ const e = [];
21
+ return t.required && e.push((l) => l ? !0 : u("vuetify.file.input.mandatory")), e;
22
+ });
23
+ return (e, l) => (p(), f(c(v), {
24
+ modelValue: r.value,
25
+ "onUpdate:modelValue": l[0] || (l[0] = (a) => r.value = a),
26
+ label: e.label,
27
+ name: e.name,
28
+ rules: n.value
29
+ }, null, 8, ["modelValue", "label", "name", "rules"]));
30
+ }
31
+ });
32
+ export {
33
+ k as default
34
+ };
35
+ //# sourceMappingURL=x-file-input-B6XyfogW.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x-file-input-B6XyfogW.js","sources":["../src/vue/form/x-file-input.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport type { TextFieldModel, TextFieldProps } from \"@xwiki/cristal-dsapi\";\nimport { computed } from \"vue\";\nimport { VFileInput } from \"vuetify/components/VFileInput\";\nimport messages from \"../../translations\";\nimport { useI18n } from \"vue-i18n\";\nimport { defineModel } from \"vue\";\n\nconst { t } = useI18n({\n messages,\n});\n\nconst model = defineModel<TextFieldModel>();\nconst props = defineProps<TextFieldProps>();\n\nconst rules = computed(() => {\n const rulesList = [];\n if (props.required) {\n rulesList.push((value: unknown) => {\n if (value) {\n return true;\n } else {\n return t(\"vuetify.file.input.mandatory\");\n }\n });\n }\n return rulesList;\n});\n</script>\n\n<template>\n <v-file-input\n v-model=\"model\"\n :label=\"label\"\n :name=\"name\"\n :rules=\"rules\"\n ></v-file-input>\n</template>\n\n<style scoped></style>\n"],"names":["t","useI18n","messages","model","_useModel","__props","props","rules","computed","rulesList","value"],"mappings":";;;;;;;;;;;;;;;;AAQM,UAAA,EAAE,GAAAA,EAAE,IAAIC,EAAQ;AAAA,MACpB,UAAAC;AAAA,IAAA,CACD,GAEKC,IAAQC,EAA2BC,GAAA,YAAC,GACpCC,IAAQD,GAERE,IAAQC,EAAS,MAAM;AAC3B,YAAMC,IAAY,CAAA;AAClB,aAAIH,EAAM,YACEG,EAAA,KAAK,CAACC,MACVA,IACK,KAEAV,EAAE,8BAA8B,CAE1C,GAEIS;AAAA,IAAA,CACR;;;;;;;;;;"}
@@ -0,0 +1,32 @@
1
+ import { defineComponent as i, resolveComponent as s, openBlock as c, createBlock as f, unref as u, withModifiers as a, withCtx as e, createVNode as _, renderSlot as l } from "vue";
2
+ import { V as p } from "./index-BjjXwAdJ.js";
3
+ const h = /* @__PURE__ */ i({
4
+ __name: "x-form",
5
+ emits: ["formSubmit"],
6
+ setup(d, { emit: t }) {
7
+ const o = t;
8
+ function n() {
9
+ o("formSubmit");
10
+ }
11
+ return (r, b) => {
12
+ const m = s("v-container");
13
+ return c(), f(u(p), {
14
+ onSubmit: a(n, ["prevent"])
15
+ }, {
16
+ default: e(() => [
17
+ _(m, null, {
18
+ default: e(() => [
19
+ l(r.$slots, "default")
20
+ ]),
21
+ _: 3
22
+ })
23
+ ]),
24
+ _: 3
25
+ });
26
+ };
27
+ }
28
+ });
29
+ export {
30
+ h as default
31
+ };
32
+ //# sourceMappingURL=x-form-leyAZnAr.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x-form-leyAZnAr.js","sources":["../src/vue/form/x-form.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { VForm } from \"vuetify/components/VForm\";\nconst emits = defineEmits([\"formSubmit\"]);\nfunction submit() {\n emits(\"formSubmit\");\n}\n</script>\n\n<template>\n <v-form @submit.prevent=\"submit\">\n <v-container>\n <slot></slot>\n </v-container>\n </v-form>\n</template>\n\n<style scoped></style>\n"],"names":["emits","__emit","submit"],"mappings":";;;;;;AAEA,UAAMA,IAAQC;AACd,aAASC,IAAS;AAChB,MAAAF,EAAM,YAAY;AAAA,IACpB;;;;;;;;;;;;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"x-img-BYgs_O1F.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 Affero 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 Affero 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 * This file is part of the Cristal Wiki software prototype\n * @copyright Copyright (c) 2023 XWiki SAS\n * @license http://opensource.org/licenses/AGPL-3.0 AGPL-3.0\n *\n **/\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"],"mappings":";;AA8BA,MAAeA,IAAA;AAAA,EACb,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,UAAU,KAAO;AACjD;;;;;"}
1
+ {"version":3,"file":"x-img-BYgs_O1F.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"],"mappings":";;AAwBA,MAAeA,IAAA;AAAA,EACb,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,UAAU,KAAO;AACjD;;;;;"}
@@ -8,4 +8,4 @@ const p = /* @__PURE__ */ e({
8
8
  export {
9
9
  p as default
10
10
  };
11
- //# sourceMappingURL=x-load-CDyapJH_.js.map
11
+ //# sourceMappingURL=x-load-DipiCmNY.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x-load-DipiCmNY.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}