@xwiki/cristal-dsvuetify 0.13.0 → 0.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist/{index-UP1o6s9t.js → index-BAakw3UY.js} +6415 -6339
  3. package/dist/index-BAakw3UY.js.map +1 -0
  4. package/dist/index.es.js +9 -6
  5. package/dist/index.umd.js +13 -10
  6. package/dist/index.umd.js.map +1 -1
  7. package/dist/translations-k4crOAds.js +24 -0
  8. package/dist/{translations-BNEIsfPR.js.map → translations-k4crOAds.js.map} +1 -1
  9. package/dist/vue/form/x-checkbox.vue.d.ts +11 -0
  10. package/dist/vue/form/x-file-input.vue.d.ts +6 -6
  11. package/dist/vue/form/x-form.vue.d.ts +2 -1
  12. package/dist/vue/form/x-navigation-tree-select.vue.d.ts +12 -0
  13. package/dist/vue/form/x-text-field.vue.d.ts +9 -1
  14. package/dist/vue/x-alert.vue.d.ts +2 -1
  15. package/dist/vue/x-avatar.vue.d.ts +2 -19
  16. package/dist/vue/x-btn.vue.d.ts +2 -1
  17. package/dist/vue/x-dialog.vue.d.ts +7 -8
  18. package/dist/vue/x-load.vue.d.ts +1 -1
  19. package/dist/vue/x-menu-item.vue.d.ts +6 -6
  20. package/dist/vue/x-menu-label.vue.d.ts +2 -1
  21. package/dist/vue/x-menu.vue.d.ts +2 -1
  22. package/dist/vue/x-navigation-tree.vue.d.ts +2 -10
  23. package/dist/vue/x-tab-group.vue.d.ts +4 -3
  24. package/dist/vue/x-tab-panel.vue.d.ts +2 -1
  25. package/dist/vue/x-tab.vue.d.ts +2 -1
  26. package/dist/x-alert-CRdF8zFB.js +46 -0
  27. package/dist/x-alert-CRdF8zFB.js.map +1 -0
  28. package/dist/x-avatar-Ds9aYRI9.js +28 -0
  29. package/dist/x-avatar-Ds9aYRI9.js.map +1 -0
  30. package/dist/{x-btn-DNlhiqjD.js → x-btn-DwTcXGgx.js} +8 -6
  31. package/dist/{x-btn-DNlhiqjD.js.map → x-btn-DwTcXGgx.js.map} +1 -1
  32. package/dist/x-checkbox-Fro597Ax.js +28 -0
  33. package/dist/x-checkbox-Fro597Ax.js.map +1 -0
  34. package/dist/x-dialog-DCEnccuq.js +48 -0
  35. package/dist/x-dialog-DCEnccuq.js.map +1 -0
  36. package/dist/x-file-input-CvH0AC3G.js +39 -0
  37. package/dist/{x-file-input-BsaodA0p.js.map → x-file-input-CvH0AC3G.js.map} +1 -1
  38. package/dist/x-form-DCHdDC6W.js +25 -0
  39. package/dist/x-form-DCHdDC6W.js.map +1 -0
  40. package/dist/x-navigation-tree-D_fUW-gW.js +520 -0
  41. package/dist/x-navigation-tree-D_fUW-gW.js.map +1 -0
  42. package/dist/x-navigation-tree-select-DaiYF3ux.js +95 -0
  43. package/dist/x-navigation-tree-select-DaiYF3ux.js.map +1 -0
  44. package/dist/{x-tab-group-ngNByee3.js → x-tab-group-Bp7V46k9.js} +5 -5
  45. package/dist/{x-tab-group-ngNByee3.js.map → x-tab-group-Bp7V46k9.js.map} +1 -1
  46. package/dist/x-text-field-2Sv6HUGW.js +43 -0
  47. package/dist/x-text-field-2Sv6HUGW.js.map +1 -0
  48. package/langs/translation-de.json +3 -1
  49. package/langs/translation-en.json +3 -1
  50. package/langs/translation-fr.json +6 -1
  51. package/package.json +15 -13
  52. package/src/components/vuetifyDesignSystemLoader.ts +12 -1
  53. package/src/translations.ts +4 -0
  54. package/src/vue/css/style.css +6 -0
  55. package/src/vue/form/x-checkbox.vue +35 -0
  56. package/src/vue/form/x-file-input.vue +2 -2
  57. package/src/vue/form/x-form.vue +8 -4
  58. package/src/vue/form/x-navigation-tree-select.vue +120 -0
  59. package/src/vue/form/x-text-field.vue +5 -0
  60. package/src/vue/x-alert.vue +8 -0
  61. package/src/vue/x-avatar.vue +9 -9
  62. package/src/vue/x-dialog.vue +1 -7
  63. package/src/vue/x-navigation-tree.vue +47 -24
  64. package/src/vue/x-tab-group.vue +2 -2
  65. package/src/vue/x-tab-panel.vue +0 -2
  66. package/dist/index-UP1o6s9t.js.map +0 -1
  67. package/dist/translations-BNEIsfPR.js +0 -10
  68. package/dist/x-alert-Bmt4mXHQ.js +0 -45
  69. package/dist/x-alert-Bmt4mXHQ.js.map +0 -1
  70. package/dist/x-avatar-But_Z7ic.js +0 -20
  71. package/dist/x-avatar-But_Z7ic.js.map +0 -1
  72. package/dist/x-dialog-C-dMkFJk.js +0 -49
  73. package/dist/x-dialog-C-dMkFJk.js.map +0 -1
  74. package/dist/x-file-input-BsaodA0p.js +0 -36
  75. package/dist/x-form-iQFXj1PW.js +0 -32
  76. package/dist/x-form-iQFXj1PW.js.map +0 -1
  77. package/dist/x-navigation-tree-DN2Qz7Sm.js +0 -501
  78. package/dist/x-navigation-tree-DN2Qz7Sm.js.map +0 -1
  79. package/dist/x-text-field-CTsLZhLE.js +0 -31
  80. package/dist/x-text-field-CTsLZhLE.js.map +0 -1
@@ -0,0 +1,24 @@
1
+ const e = {
2
+ "vuetify.file.input.mandatory": "Pflichtfeld",
3
+ "vuetify.text.input.mandatory": "Pflichtfeld",
4
+ "vuetify.tree.select.location.label": "Speicherort der Seite ändern",
5
+ "vuetify.tree.select.location.select": "Auswählen"
6
+ }, t = {
7
+ "vuetify.file.input.mandatory": "Mandatory field",
8
+ "vuetify.text.input.mandatory": "Mandatory field",
9
+ "vuetify.tree.select.location.label": "Change Page Location",
10
+ "vuetify.tree.select.location.select": "Select"
11
+ }, i = {
12
+ "vuetify.file.input.mandatory": "Champ obligatoire",
13
+ "vuetify.text.input.mandatory": "Champ obligatoire",
14
+ "vuetify.tree.select.location.label": "Changer l'emplacement de la page",
15
+ "vuetify.tree.select.location.select": "Sélectionner"
16
+ }, a = {
17
+ en: t,
18
+ fr: i,
19
+ de: e
20
+ };
21
+ export {
22
+ a as t
23
+ };
24
+ //# sourceMappingURL=translations-k4crOAds.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"translations-BNEIsfPR.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"],"mappings":";;;GAsBMA,IAAuD;AAAA,EAC3D,IAAAC;AACF;"}
1
+ {"version":3,"file":"translations-k4crOAds.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;"}
@@ -0,0 +1,11 @@
1
+ import { CheckboxProps } from '@xwiki/cristal-dsapi';
2
+ type __VLS_Props = CheckboxProps;
3
+ type __VLS_PublicProps = {
4
+ modelValue?: boolean;
5
+ } & __VLS_Props;
6
+ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ "update:modelValue": (value: boolean) => any;
8
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
9
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
10
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
+ export default _default;
@@ -1,11 +1,11 @@
1
- import { TextFieldModel, TextFieldProps } from '@xwiki/cristal-dsapi';
2
- declare let __VLS_typeProps: TextFieldProps;
1
+ import { FileInputModel, TextFieldProps } from '@xwiki/cristal-dsapi';
2
+ type __VLS_Props = TextFieldProps;
3
3
  type __VLS_PublicProps = {
4
- modelValue?: TextFieldModel;
5
- } & typeof __VLS_typeProps;
4
+ modelValue?: FileInputModel;
5
+ } & __VLS_Props;
6
6
  declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
- "update:modelValue": (modelValue: TextFieldModel) => any;
7
+ "update:modelValue": (value: FileInputModel) => any;
8
8
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
9
- "onUpdate:modelValue"?: ((modelValue: TextFieldModel) => any) | undefined;
9
+ "onUpdate:modelValue"?: ((value: FileInputModel) => any) | undefined;
10
10
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
11
  export default _default;
@@ -1,9 +1,10 @@
1
1
  declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
2
3
  slots: {
3
4
  default?(_: {}): any;
4
5
  };
5
6
  refs: {};
6
- attrs: Partial<{}>;
7
+ rootEl: any;
7
8
  };
8
9
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
9
10
  declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
@@ -0,0 +1,12 @@
1
+ import { SpaceReference } from '@xwiki/cristal-model-api';
2
+ import { NavigationTreeSelectProps } from '@xwiki/cristal-dsapi';
3
+ type __VLS_Props = NavigationTreeSelectProps;
4
+ type __VLS_PublicProps = {
5
+ modelValue?: SpaceReference;
6
+ } & __VLS_Props;
7
+ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
+ "update:modelValue": (value: SpaceReference) => any;
9
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
10
+ "onUpdate:modelValue"?: ((value: SpaceReference) => any) | undefined;
11
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
12
+ export default _default;
@@ -1,3 +1,11 @@
1
1
  import { TextFieldProps } from '@xwiki/cristal-dsapi';
2
- declare const _default: import('vue').DefineComponent<TextFieldProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TextFieldProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
2
+ type __VLS_Props = TextFieldProps;
3
+ type __VLS_PublicProps = {
4
+ modelValue?: string;
5
+ } & __VLS_Props;
6
+ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ "update:modelValue": (value: string) => any;
8
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
9
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
10
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
3
11
  export default _default;
@@ -1,10 +1,11 @@
1
1
  import { AlertProps } from '@xwiki/cristal-dsapi';
2
2
  declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
3
4
  slots: {
4
5
  default?(_: {}): any;
5
6
  };
6
7
  refs: {};
7
- attrs: Partial<{}>;
8
+ rootEl: any;
8
9
  };
9
10
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
11
  declare const __VLS_component: import('vue').DefineComponent<AlertProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<AlertProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
@@ -1,20 +1,3 @@
1
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
- image: {
3
- type: StringConstructor;
4
- required: true;
5
- };
6
- size: {
7
- type: StringConstructor;
8
- required: true;
9
- };
10
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
11
- image: {
12
- type: StringConstructor;
13
- required: true;
14
- };
15
- size: {
16
- type: StringConstructor;
17
- required: true;
18
- };
19
- }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
1
+ import { AvatarProps } from '@xwiki/cristal-dsapi';
2
+ declare const _default: import('vue').DefineComponent<AvatarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<AvatarProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
20
3
  export default _default;
@@ -1,10 +1,11 @@
1
1
  import { BtnProps } from '@xwiki/cristal-dsapi';
2
2
  declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
3
4
  slots: {
4
5
  default?(_: {}): any;
5
6
  };
6
7
  refs: {};
7
- attrs: Partial<{}>;
8
+ rootEl: any;
8
9
  };
9
10
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
11
  declare const __VLS_component: import('vue').DefineComponent<BtnProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BtnProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
@@ -1,20 +1,19 @@
1
+ type __VLS_Props = {
2
+ title: string;
3
+ width: string | number | undefined;
4
+ };
1
5
  declare function __VLS_template(): {
6
+ attrs: Partial<{}>;
2
7
  slots: {
3
8
  activator?(_: {}): any;
4
9
  default?(_: {}): any;
5
10
  footer?(_: {}): any;
6
11
  };
7
12
  refs: {};
8
- attrs: Partial<{}>;
13
+ rootEl: any;
9
14
  };
10
15
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
- declare const __VLS_component: import('vue').DefineComponent<{
12
- title: string;
13
- width: string | number | undefined;
14
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
15
- title: string;
16
- width: string | number | undefined;
17
- }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
16
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
18
17
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
19
18
  export default _default;
20
19
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,2 +1,2 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLSpanElement>;
2
2
  export default _default;
@@ -1,16 +1,16 @@
1
+ type __VLS_Props = {
2
+ value: string;
3
+ };
1
4
  declare function __VLS_template(): {
5
+ attrs: Partial<{}>;
2
6
  slots: {
3
7
  default?(_: {}): any;
4
8
  };
5
9
  refs: {};
6
- attrs: Partial<{}>;
10
+ rootEl: any;
7
11
  };
8
12
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
9
- declare const __VLS_component: import('vue').DefineComponent<{
10
- value: string;
11
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
12
- value: string;
13
- }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
13
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
14
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
15
15
  export default _default;
16
16
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,9 +1,10 @@
1
1
  declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
2
3
  slots: {
3
4
  default?(_: {}): any;
4
5
  };
5
6
  refs: {};
6
- attrs: Partial<{}>;
7
+ rootEl: any;
7
8
  };
8
9
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
9
10
  declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -1,10 +1,11 @@
1
1
  declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
2
3
  slots: {
3
4
  activator?(_: {}): any;
4
5
  default?(_: {}): any;
5
6
  };
6
7
  refs: {};
7
- attrs: Partial<{}>;
8
+ rootEl: any;
8
9
  };
9
10
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
11
  declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -1,11 +1,3 @@
1
- import { PageData } from '@xwiki/cristal-api';
2
- import { NavigationTreeNode } from '@xwiki/cristal-navigation-tree-api';
3
- type OnClickAction = (node: NavigationTreeNode) => void;
4
- declare const _default: import('vue').DefineComponent<{
5
- clickAction?: OnClickAction;
6
- currentPage?: PageData;
7
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
8
- clickAction?: OnClickAction;
9
- currentPage?: PageData;
10
- }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
1
+ import { NavigationTreeProps } from '@xwiki/cristal-dsapi';
2
+ declare const _default: import('vue').DefineComponent<NavigationTreeProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<NavigationTreeProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
3
  export default _default;
@@ -1,16 +1,17 @@
1
1
  declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
2
3
  slots: {
3
4
  tabs?(_: {}): any;
4
5
  panels?(_: {}): any;
5
6
  };
6
7
  refs: {};
7
- attrs: Partial<{}>;
8
+ rootEl: any;
8
9
  };
9
10
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
11
  declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
- change: (...args: any[]) => void;
12
+ "tab-change": (...args: any[]) => void;
12
13
  }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
13
- onChange?: ((...args: any[]) => any) | undefined;
14
+ "onTab-change"?: ((...args: any[]) => any) | undefined;
14
15
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
15
16
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
16
17
  export default _default;
@@ -1,10 +1,11 @@
1
1
  import { TabPanelProps } from '@xwiki/cristal-dsapi';
2
2
  declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
3
4
  slots: {
4
5
  default?(_: {}): any;
5
6
  };
6
7
  refs: {};
7
- attrs: Partial<{}>;
8
+ rootEl: any;
8
9
  };
9
10
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
11
  declare const __VLS_component: import('vue').DefineComponent<TabPanelProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TabPanelProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
@@ -1,10 +1,11 @@
1
1
  import { TabProps } from '@xwiki/cristal-dsapi';
2
2
  declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
3
4
  slots: {
4
5
  default?(_: {}): any;
5
6
  };
6
7
  refs: {};
7
- attrs: Partial<{}>;
8
+ rootEl: any;
8
9
  };
9
10
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
11
  declare const __VLS_component: import('vue').DefineComponent<TabProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TabProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
@@ -0,0 +1,46 @@
1
+ import { defineComponent as d, resolveComponent as n, openBlock as t, createBlock as a, withCtx as r, createElementBlock as l, Fragment as m, renderList as _, createTextVNode as u, toDisplayString as s, createCommentVNode as i, renderSlot as f } from "vue";
2
+ import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
+ const y = { key: 0 }, b = { key: 1 }, C = /* @__PURE__ */ d({
4
+ __name: "x-alert",
5
+ props: {
6
+ title: {},
7
+ type: {},
8
+ description: {},
9
+ actions: {},
10
+ closable: { type: Boolean },
11
+ details: {}
12
+ },
13
+ setup(v) {
14
+ return (e, h) => {
15
+ const c = n("x-btn"), p = n("v-alert");
16
+ return t(), a(p, {
17
+ closable: e.closable,
18
+ title: e.title,
19
+ type: e.type,
20
+ text: e.description
21
+ }, {
22
+ default: r(() => [
23
+ (t(!0), l(m, null, _(e.actions, (o) => (t(), a(c, {
24
+ key: o.name,
25
+ size: "small",
26
+ variant: "text",
27
+ onClick: o.callback
28
+ }, {
29
+ default: r(() => [
30
+ u(s(o.name), 1)
31
+ ]),
32
+ _: 2
33
+ }, 1032, ["onClick"]))), 128)),
34
+ e.details ? (t(), l("br", y)) : i("", !0),
35
+ e.details ? (t(), l("small", b, s(e.details), 1)) : i("", !0),
36
+ f(e.$slots, "default", {}, void 0, !0)
37
+ ]),
38
+ _: 3
39
+ }, 8, ["closable", "title", "type", "text"]);
40
+ };
41
+ }
42
+ }), g = /* @__PURE__ */ k(C, [["__scopeId", "data-v-c679f3ce"]]);
43
+ export {
44
+ g as default
45
+ };
46
+ //# sourceMappingURL=x-alert-CRdF8zFB.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x-alert-CRdF8zFB.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,28 @@
1
+ import { defineComponent as r, resolveComponent as n, openBlock as a, createBlock as o, withCtx as m, createElementBlock as i, toDisplayString as p } from "vue";
2
+ const c = { key: 1 }, g = /* @__PURE__ */ r({
3
+ __name: "x-avatar",
4
+ props: {
5
+ image: {},
6
+ size: {},
7
+ name: {}
8
+ },
9
+ setup(l) {
10
+ return (e, _) => {
11
+ const t = n("v-img"), s = n("v-avatar");
12
+ return a(), o(s, { size: e.size }, {
13
+ default: m(() => [
14
+ e.image ? (a(), o(t, {
15
+ key: 0,
16
+ alt: e.name,
17
+ src: e.image
18
+ }, null, 8, ["alt", "src"])) : (a(), i("span", c, p(e.name), 1))
19
+ ]),
20
+ _: 1
21
+ }, 8, ["size"]);
22
+ };
23
+ }
24
+ });
25
+ export {
26
+ g as default
27
+ };
28
+ //# sourceMappingURL=x-avatar-Ds9aYRI9.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x-avatar-Ds9aYRI9.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,8 +1,10 @@
1
- import { defineComponent as c, computed as r, resolveComponent as s, openBlock as l, createBlock as i, withCtx as u, renderSlot as v } from "vue";
2
- const p = /* @__PURE__ */ c({
1
+ import { defineComponent as c, computed as r, resolveComponent as s, openBlock as l, createBlock as i, withCtx as u, renderSlot as p } from "vue";
2
+ const m = /* @__PURE__ */ c({
3
3
  __name: "x-btn",
4
4
  props: {
5
- variant: {}
5
+ variant: {},
6
+ size: {},
7
+ pill: { type: Boolean }
6
8
  },
7
9
  setup(a) {
8
10
  const t = r(() => {
@@ -35,7 +37,7 @@ const p = /* @__PURE__ */ c({
35
37
  variant: n.value
36
38
  }, {
37
39
  default: u(() => [
38
- v(e.$slots, "default")
40
+ p(e.$slots, "default")
39
41
  ]),
40
42
  _: 3
41
43
  }, 8, ["color", "variant"]);
@@ -43,6 +45,6 @@ const p = /* @__PURE__ */ c({
43
45
  }
44
46
  });
45
47
  export {
46
- p as default
48
+ m as default
47
49
  };
48
- //# sourceMappingURL=x-btn-DNlhiqjD.js.map
50
+ //# sourceMappingURL=x-btn-DwTcXGgx.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-btn-DNlhiqjD.js","sources":["../src/vue/x-btn.vue"],"sourcesContent":["<!--\nSee the LICENSE file distributed with this work for additional\ninformation regarding copyright ownership.\n\nThis is free software; you can redistribute it and/or modify it\nunder the terms of the GNU Lesser General Public License as\npublished by the Free Software Foundation; either version 2.1 of\nthe License, or (at your option) any later version.\n\nThis software is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this software; if not, write to the Free\nSoftware Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n<script lang=\"ts\" setup>\nimport { computed } from \"vue\";\nimport type { BtnProps } from \"@xwiki/cristal-dsapi\";\n\nconst { variant } = defineProps<BtnProps>();\n\n// Map the variants to corresponding vuetify colors.\nconst color = computed(() => {\n let color = undefined;\n switch (variant) {\n case \"default\":\n break;\n case \"primary\":\n color = \"primary\";\n break;\n case \"success\":\n color = \"success\";\n break;\n case \"neutral\":\n color = \"secondary\";\n break;\n case \"warning\":\n color = \"warning\";\n break;\n case \"danger\":\n color = \"error\";\n break;\n }\n return color;\n});\n\nconst vVariant = computed(() => (variant == \"text\" ? \"text\" : \"tonal\"));\n</script>\n<template>\n <v-btn :color=\"color\" :variant=\"vVariant\">\n <slot />\n </v-btn>\n</template>\n"],"names":["color","computed","__props","vVariant"],"mappings":";;;;;;;AA0BM,UAAAA,IAAQC,EAAS,MAAM;AAC3B,UAAID;AACJ,cAAQE,EAAO,SAAE;AAAA,QACf,KAAK;AACH;AAAA,QACF,KAAK;AACHF,UAAAA,IAAQ;AACR;AAAA,QACF,KAAK;AACHA,UAAAA,IAAQ;AACR;AAAA,QACF,KAAK;AACHA,UAAAA,IAAQ;AACR;AAAA,QACF,KAAK;AACHA,UAAAA,IAAQ;AACR;AAAA,QACF,KAAK;AACHA,UAAAA,IAAQ;AACR;AAAA,MAAA;AAEGA,aAAAA;AAAAA,IAAA,CACR,GAEKG,IAAWF,EAAS,MAAOC,EAAA,WAAW,SAAS,SAAS,OAAQ;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"x-btn-DwTcXGgx.js","sources":["../src/vue/x-btn.vue"],"sourcesContent":["<!--\nSee the LICENSE file distributed with this work for additional\ninformation regarding copyright ownership.\n\nThis is free software; you can redistribute it and/or modify it\nunder the terms of the GNU Lesser General Public License as\npublished by the Free Software Foundation; either version 2.1 of\nthe License, or (at your option) any later version.\n\nThis software is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this software; if not, write to the Free\nSoftware Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n<script lang=\"ts\" setup>\nimport { computed } from \"vue\";\nimport type { BtnProps } from \"@xwiki/cristal-dsapi\";\n\nconst { variant } = defineProps<BtnProps>();\n\n// Map the variants to corresponding vuetify colors.\nconst color = computed(() => {\n let color = undefined;\n switch (variant) {\n case \"default\":\n break;\n case \"primary\":\n color = \"primary\";\n break;\n case \"success\":\n color = \"success\";\n break;\n case \"neutral\":\n color = \"secondary\";\n break;\n case \"warning\":\n color = \"warning\";\n break;\n case \"danger\":\n color = \"error\";\n break;\n }\n return color;\n});\n\nconst vVariant = computed(() => (variant == \"text\" ? \"text\" : \"tonal\"));\n</script>\n<template>\n <v-btn :color=\"color\" :variant=\"vVariant\">\n <slot />\n </v-btn>\n</template>\n"],"names":["color","computed","__props","vVariant"],"mappings":";;;;;;;;;AA0BM,UAAAA,IAAQC,EAAS,MAAM;AAC3B,UAAID;AACJ,cAAQE,EAAO,SAAE;AAAA,QACf,KAAK;AACH;AAAA,QACF,KAAK;AACHF,UAAAA,IAAQ;AACR;AAAA,QACF,KAAK;AACHA,UAAAA,IAAQ;AACR;AAAA,QACF,KAAK;AACHA,UAAAA,IAAQ;AACR;AAAA,QACF,KAAK;AACHA,UAAAA,IAAQ;AACR;AAAA,QACF,KAAK;AACHA,UAAAA,IAAQ;AACR;AAAA,MAAA;AAEGA,aAAAA;AAAAA,IAAA,CACR,GAEKG,IAAWF,EAAS,MAAOC,EAAA,WAAW,SAAS,SAAS,OAAQ;;;;;;;;;;;;;;;"}
@@ -0,0 +1,28 @@
1
+ import { defineComponent as s, mergeModels as d, useModel as t, openBlock as u, createBlock as n, unref as p } from "vue";
2
+ import { y as r } from "./index-BAakw3UY.js";
3
+ const V = /* @__PURE__ */ s({
4
+ __name: "x-checkbox",
5
+ props: /* @__PURE__ */ d({
6
+ label: {},
7
+ help: {},
8
+ modelValue: { type: Boolean }
9
+ }, {
10
+ modelValue: { type: Boolean },
11
+ modelModifiers: {}
12
+ }),
13
+ emits: ["update:modelValue"],
14
+ setup(a) {
15
+ const e = t(a, "modelValue");
16
+ return (l, o) => (u(), n(p(r), {
17
+ modelValue: e.value,
18
+ "onUpdate:modelValue": o[0] || (o[0] = (m) => e.value = m),
19
+ label: l.label,
20
+ messages: l.help,
21
+ density: "compact"
22
+ }, null, 8, ["modelValue", "label", "messages"]));
23
+ }
24
+ });
25
+ export {
26
+ V as default
27
+ };
28
+ //# sourceMappingURL=x-checkbox-Fro597Ax.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x-checkbox-Fro597Ax.js","sources":["../src/vue/form/x-checkbox.vue"],"sourcesContent":["<!--\nSee the LICENSE file distributed with this work for additional\ninformation regarding copyright ownership.\n\nThis is free software; you can redistribute it and/or modify it\nunder the terms of the GNU Lesser General Public License as\npublished by the Free Software Foundation; either version 2.1 of\nthe License, or (at your option) any later version.\n\nThis software is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this software; if not, write to the Free\nSoftware Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n<script lang=\"ts\" setup>\nimport { VCheckbox } from \"vuetify/components/VCheckbox\";\nimport type { CheckboxProps } from \"@xwiki/cristal-dsapi\";\n\ndefineProps<CheckboxProps>();\n\nconst checked = defineModel<boolean>();\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","__props"],"mappings":";;;;;;;;;;;;;;AAyBM,UAAAA,IAAUC,EAAoBC,GAAA,YAAC;;;;;;;;;;"}
@@ -0,0 +1,48 @@
1
+ import { defineComponent as p, resolveComponent as o, openBlock as n, createBlock as r, withCtx as t, createElementVNode as u, normalizeProps as f, guardReactiveProps as m, renderSlot as a, createVNode as d, createCommentVNode as v } from "vue";
2
+ import { _ as h } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
+ const g = /* @__PURE__ */ p({
4
+ __name: "x-dialog",
5
+ props: {
6
+ title: {},
7
+ width: {}
8
+ },
9
+ setup(w) {
10
+ return (e, C) => {
11
+ const l = o("v-card-text"), s = o("v-card-actions"), c = o("v-card"), i = o("v-dialog");
12
+ return n(), r(i, {
13
+ width: e.width,
14
+ scrollable: ""
15
+ }, {
16
+ activator: t(({ props: _ }) => [
17
+ u("span", f(m(_)), [
18
+ a(e.$slots, "activator", {}, void 0, !0)
19
+ ], 16)
20
+ ]),
21
+ default: t(() => [
22
+ d(c, { title: e.title }, {
23
+ default: t(() => [
24
+ d(l, null, {
25
+ default: t(() => [
26
+ a(e.$slots, "default", {}, void 0, !0)
27
+ ]),
28
+ _: 3
29
+ }),
30
+ e.$slots.footer ? (n(), r(s, { key: 0 }, {
31
+ default: t(() => [
32
+ a(e.$slots, "footer", {}, void 0, !0)
33
+ ]),
34
+ _: 3
35
+ })) : v("", !0)
36
+ ]),
37
+ _: 3
38
+ }, 8, ["title"])
39
+ ]),
40
+ _: 3
41
+ }, 8, ["width"]);
42
+ };
43
+ }
44
+ }), N = /* @__PURE__ */ h(g, [["__scopeId", "data-v-35b45241"]]);
45
+ export {
46
+ N as default
47
+ };
48
+ //# sourceMappingURL=x-dialog-DCEnccuq.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x-dialog-DCEnccuq.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,39 @@
1
+ import { defineComponent as s, mergeModels as m, useModel as d, computed as i, openBlock as p, createBlock as f, unref as c } from "vue";
2
+ import { t as V } from "./translations-k4crOAds.js";
3
+ import { useI18n as y } from "vue-i18n";
4
+ import { b } from "./index-BAakw3UY.js";
5
+ const k = /* @__PURE__ */ s({
6
+ __name: "x-file-input",
7
+ props: /* @__PURE__ */ m({
8
+ name: {},
9
+ label: {},
10
+ required: { type: Boolean },
11
+ autofocus: { type: Boolean },
12
+ modelValue: {},
13
+ help: {},
14
+ readonly: { type: Boolean }
15
+ }, {
16
+ modelValue: {},
17
+ modelModifiers: {}
18
+ }),
19
+ emits: ["update:modelValue"],
20
+ setup(o) {
21
+ const { t: u } = y({
22
+ messages: V
23
+ }), t = d(o, "modelValue"), a = o, r = i(() => {
24
+ const e = [];
25
+ return a.required && e.push((l) => l ? !0 : u("vuetify.file.input.mandatory")), e;
26
+ });
27
+ return (e, l) => (p(), f(c(b), {
28
+ modelValue: t.value,
29
+ "onUpdate:modelValue": l[0] || (l[0] = (n) => t.value = n),
30
+ label: e.label,
31
+ name: e.name,
32
+ rules: r.value
33
+ }, null, 8, ["modelValue", "label", "name", "rules"]));
34
+ }
35
+ });
36
+ export {
37
+ k as default
38
+ };
39
+ //# sourceMappingURL=x-file-input-CvH0AC3G.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-file-input-BsaodA0p.js","sources":["../src/vue/form/x-file-input.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport messages from \"../../translations\";\nimport { computed, defineModel } from \"vue\";\nimport { useI18n } from \"vue-i18n\";\nimport { VFileInput } from \"vuetify/components/VFileInput\";\nimport type { TextFieldModel, TextFieldProps } from \"@xwiki/cristal-dsapi\";\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":";;;;;;;;;;;;;;;;;AAOM,UAAA,EAAE,GAAAA,EAAE,IAAIC,EAAQ;AAAA,MACpBC,UAAAA;AAAAA,IAAA,CACD,GAEKC,IAAQC,iBAA4B,GACpCC,IAAQC,GAERC,IAAQC,EAAS,MAAM;AAC3B,YAAMC,IAAY,CAAC;AACnB,aAAIJ,EAAM,YACEI,EAAA,KAAK,CAACC,MACVA,IACK,KAEAV,EAAE,8BAA8B,CAE1C,GAEIS;AAAA,IAAA,CACR;;;;;;;;;;"}
1
+ {"version":3,"file":"x-file-input-CvH0AC3G.js","sources":["../src/vue/form/x-file-input.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport messages from \"../../translations\";\nimport { computed, defineModel } from \"vue\";\nimport { useI18n } from \"vue-i18n\";\nimport { VFileInput } from \"vuetify/components/VFileInput\";\nimport type { FileInputModel, TextFieldProps } from \"@xwiki/cristal-dsapi\";\n\nconst { t } = useI18n({\n messages,\n});\n\nconst model = defineModel<FileInputModel>();\nconst props = defineProps<TextFieldProps>();\n\nconst rules = computed(() => {\n const rulesList = [];\n if (props.required) {\n rulesList.push((value: unknown) => {\n if (value) {\n return true;\n } else {\n return t(\"vuetify.file.input.mandatory\");\n }\n });\n }\n return rulesList;\n});\n</script>\n\n<template>\n <v-file-input\n v-model=\"model\"\n :label=\"label\"\n :name=\"name\"\n :rules=\"rules\"\n ></v-file-input>\n</template>\n\n<style scoped></style>\n"],"names":["t","useI18n","messages","model","_useModel","props","__props","rules","computed","rulesList","value"],"mappings":";;;;;;;;;;;;;;;;;;;;AAOM,UAAA,EAAE,GAAAA,EAAE,IAAIC,EAAQ;AAAA,MACpBC,UAAAA;AAAAA,IAAA,CACD,GAEKC,IAAQC,iBAA4B,GACpCC,IAAQC,GAERC,IAAQC,EAAS,MAAM;AAC3B,YAAMC,IAAY,CAAC;AACnB,aAAIJ,EAAM,YACEI,EAAA,KAAK,CAACC,MACVA,IACK,KAEAV,EAAE,8BAA8B,CAE1C,GAEIS;AAAA,IAAA,CACR;;;;;;;;;;"}
@@ -0,0 +1,25 @@
1
+ import { defineComponent as m, openBlock as n, createBlock as i, unref as s, withModifiers as f, withCtx as u, renderSlot as a } from "vue";
2
+ import { V as c } from "./index-BAakw3UY.js";
3
+ import { _ } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
+ const p = /* @__PURE__ */ m({
5
+ __name: "x-form",
6
+ emits: ["formSubmit"],
7
+ setup(d, { emit: t }) {
8
+ const e = t;
9
+ function o() {
10
+ e("formSubmit");
11
+ }
12
+ return (r, l) => (n(), i(s(c), {
13
+ onSubmit: f(o, ["prevent"])
14
+ }, {
15
+ default: u(() => [
16
+ a(r.$slots, "default", {}, void 0, !0)
17
+ ]),
18
+ _: 3
19
+ }));
20
+ }
21
+ }), h = /* @__PURE__ */ _(p, [["__scopeId", "data-v-0c08a087"]]);
22
+ export {
23
+ h as default
24
+ };
25
+ //# sourceMappingURL=x-form-DCHdDC6W.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x-form-DCHdDC6W.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 <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":["emits","__emit","submit"],"mappings":";;;;;;;AAEA,UAAMA,IAAQC;AACd,aAASC,IAAS;AAChB,MAAAF,EAAM,YAAY;AAAA,IAAA;;;;;;;;;;;"}