@xwiki/cristal-dsvuetify 1.4.0 → 1.6.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 (92) hide show
  1. package/api-extractor.json +1 -1
  2. package/dist/_plugin-vue_export-helper-CHgC5LLL.js +10 -0
  3. package/dist/_plugin-vue_export-helper-CHgC5LLL.js.map +1 -0
  4. package/dist/components/componentsInit.d.ts +7 -0
  5. package/dist/components/vuetifyDesignSystemLoader.d.ts +5 -0
  6. package/dist/index-CXc6lLQs.js +30032 -0
  7. package/dist/index-CXc6lLQs.js.map +1 -0
  8. package/dist/index.d.cts +2 -0
  9. package/dist/index.d.ts +2 -0
  10. package/dist/index.es.js +14 -0
  11. package/dist/index.es.js.map +1 -0
  12. package/dist/index.umd.js +19 -0
  13. package/dist/index.umd.js.map +1 -0
  14. package/dist/translations-CXVK8zyA.js +21 -0
  15. package/dist/translations-CXVK8zyA.js.map +1 -0
  16. package/dist/translations.d.ts +21 -0
  17. package/dist/vue/__tests__/utils/vuetify.d.ts +24 -0
  18. package/dist/vue/form/x-checkbox.vue.d.ts +11 -0
  19. package/dist/vue/form/x-file-input.vue.d.ts +11 -0
  20. package/dist/vue/form/x-form.vue.d.ts +685 -0
  21. package/dist/vue/form/x-select.vue.d.ts +11 -0
  22. package/dist/vue/form/x-text-field.vue.d.ts +26 -0
  23. package/dist/vue/x-alert.vue.d.ts +18 -0
  24. package/dist/vue/x-avatar.vue.d.ts +3 -0
  25. package/dist/vue/x-breadcrumb.vue.d.ts +3 -0
  26. package/dist/vue/x-btn.vue.d.ts +18 -0
  27. package/dist/vue/x-card.vue.d.ts +12 -0
  28. package/dist/vue/x-dialog.vue.d.ts +23 -0
  29. package/dist/vue/x-divider.vue.d.ts +2 -0
  30. package/dist/vue/x-dropdown.vue.d.ts +19 -0
  31. package/dist/vue/x-img.vue.d.ts +12 -0
  32. package/dist/vue/x-load.vue.d.ts +2 -0
  33. package/dist/vue/x-menu-item.vue.d.ts +18 -0
  34. package/dist/vue/x-menu-label.vue.d.ts +17 -0
  35. package/dist/vue/x-menu.vue.d.ts +17 -0
  36. package/dist/vue/x-search.vue.d.ts +2 -0
  37. package/dist/vue/x-tab-group.vue.d.ts +22 -0
  38. package/dist/vue/x-tab-panel.vue.d.ts +18 -0
  39. package/dist/vue/x-tab.vue.d.ts +18 -0
  40. package/dist/vue/x-tree.vue.d.ts +20 -0
  41. package/dist/x-alert-ChVriu6T.js +48 -0
  42. package/dist/x-alert-ChVriu6T.js.map +1 -0
  43. package/dist/x-avatar-CSobfWTk.js +28 -0
  44. package/dist/x-avatar-CSobfWTk.js.map +1 -0
  45. package/dist/x-breadcrumb-GmZWw0HG.js +22 -0
  46. package/dist/x-breadcrumb-GmZWw0HG.js.map +1 -0
  47. package/dist/x-btn-B7EtO8yc.js +5 -0
  48. package/dist/x-btn-B7EtO8yc.js.map +1 -0
  49. package/dist/x-btn.vue_vue_type_script_setup_true_lang-WWoyaSKz.js +52 -0
  50. package/dist/x-btn.vue_vue_type_script_setup_true_lang-WWoyaSKz.js.map +1 -0
  51. package/dist/x-card-CRM9KUby.js +22 -0
  52. package/dist/x-card-CRM9KUby.js.map +1 -0
  53. package/dist/x-checkbox-CiXToUGv.js +28 -0
  54. package/dist/x-checkbox-CiXToUGv.js.map +1 -0
  55. package/dist/x-dialog-4cFJfisB.js +49 -0
  56. package/dist/x-dialog-4cFJfisB.js.map +1 -0
  57. package/dist/x-divider-Buudf0KI.js +12 -0
  58. package/dist/x-divider-Buudf0KI.js.map +1 -0
  59. package/dist/x-dropdown-BL_Wqa5N.js +40 -0
  60. package/dist/x-dropdown-BL_Wqa5N.js.map +1 -0
  61. package/dist/x-file-input-DhBfxlD0.js +40 -0
  62. package/dist/x-file-input-DhBfxlD0.js.map +1 -0
  63. package/dist/x-form-DVxY24K1.js +33 -0
  64. package/dist/x-form-DVxY24K1.js.map +1 -0
  65. package/dist/x-img-BYgs_O1F.js +13 -0
  66. package/dist/x-img-BYgs_O1F.js.map +1 -0
  67. package/dist/x-load-DipiCmNY.js +11 -0
  68. package/dist/x-load-DipiCmNY.js.map +1 -0
  69. package/dist/x-menu--XKGcL5D.js +17 -0
  70. package/dist/x-menu--XKGcL5D.js.map +1 -0
  71. package/dist/x-menu-item-C1ntozOO.js +26 -0
  72. package/dist/x-menu-item-C1ntozOO.js.map +1 -0
  73. package/dist/x-menu-label-DniImc0U.js +17 -0
  74. package/dist/x-menu-label-DniImc0U.js.map +1 -0
  75. package/dist/x-search-C4yZLrSp.js +20 -0
  76. package/dist/x-search-C4yZLrSp.js.map +1 -0
  77. package/dist/x-select-D3sY51DP.js +39 -0
  78. package/dist/x-select-D3sY51DP.js.map +1 -0
  79. package/dist/x-tab-D8ZXVkZ2.js +22 -0
  80. package/dist/x-tab-D8ZXVkZ2.js.map +1 -0
  81. package/dist/x-tab-group-BLxTkme8.js +46 -0
  82. package/dist/x-tab-group-BLxTkme8.js.map +1 -0
  83. package/dist/x-tab-panel-CwQdoT0T.js +22 -0
  84. package/dist/x-tab-panel-CwQdoT0T.js.map +1 -0
  85. package/dist/x-text-field-DDwIefcf.js +50 -0
  86. package/dist/x-text-field-DDwIefcf.js.map +1 -0
  87. package/dist/x-tree-BDJznk7Y.js +70 -0
  88. package/dist/x-tree-BDJznk7Y.js.map +1 -0
  89. package/langs/translation-uk.json +5 -0
  90. package/package.json +19 -17
  91. package/src/vue/x-tab-group.vue +2 -1
  92. package/tsconfig.json +1 -1
@@ -0,0 +1,11 @@
1
+ import { SelectProps } from '@xwiki/platform-dsapi';
2
+ type __VLS_Props = SelectProps;
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>;
11
+ export default _default;
@@ -0,0 +1,26 @@
1
+ import { TextFieldProps } from '@xwiki/platform-dsapi';
2
+ type __VLS_Props = TextFieldProps;
3
+ type __VLS_PublicProps = {
4
+ modelValue?: string;
5
+ } & __VLS_Props;
6
+ declare function __VLS_template(): {
7
+ attrs: Partial<{}>;
8
+ slots: {
9
+ default?(_: {}): any;
10
+ };
11
+ refs: {};
12
+ rootEl: any;
13
+ };
14
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
+ "update:modelValue": (value: string) => any;
17
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
18
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
19
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
20
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
21
+ export default _default;
22
+ type __VLS_WithTemplateSlots<T, S> = T & {
23
+ new (): {
24
+ $slots: S;
25
+ };
26
+ };
@@ -0,0 +1,18 @@
1
+ import { AlertProps } from '@xwiki/platform-dsapi';
2
+ declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
4
+ slots: {
5
+ default?(_: {}): any;
6
+ };
7
+ refs: {};
8
+ rootEl: any;
9
+ };
10
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
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>;
12
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
13
+ export default _default;
14
+ type __VLS_WithTemplateSlots<T, S> = T & {
15
+ new (): {
16
+ $slots: S;
17
+ };
18
+ };
@@ -0,0 +1,3 @@
1
+ import { AvatarProps } from '@xwiki/platform-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>;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { BreadcrumbProps } from '@xwiki/platform-dsapi';
2
+ declare const _default: import('vue').DefineComponent<BreadcrumbProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BreadcrumbProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
3
+ export default _default;
@@ -0,0 +1,18 @@
1
+ import { BtnProps } from '@xwiki/platform-dsapi';
2
+ declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
4
+ slots: {
5
+ default?(_: {}): any;
6
+ };
7
+ refs: {};
8
+ rootEl: any;
9
+ };
10
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
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>;
12
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
13
+ export default _default;
14
+ type __VLS_WithTemplateSlots<T, S> = T & {
15
+ new (): {
16
+ $slots: S;
17
+ };
18
+ };
@@ -0,0 +1,12 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ title: {
3
+ type: StringConstructor;
4
+ required: true;
5
+ };
6
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
7
+ title: {
8
+ type: StringConstructor;
9
+ required: true;
10
+ };
11
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
12
+ export default _default;
@@ -0,0 +1,23 @@
1
+ type __VLS_Props = {
2
+ title: string;
3
+ width: string | number | undefined;
4
+ };
5
+ declare function __VLS_template(): {
6
+ attrs: Partial<{}>;
7
+ slots: {
8
+ activator?(_: {}): any;
9
+ default?(_: {}): any;
10
+ footer?(_: {}): any;
11
+ };
12
+ refs: {};
13
+ rootEl: any;
14
+ };
15
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
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>;
17
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
18
+ export default _default;
19
+ type __VLS_WithTemplateSlots<T, S> = T & {
20
+ new (): {
21
+ $slots: S;
22
+ };
23
+ };
@@ -0,0 +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>;
2
+ export default _default;
@@ -0,0 +1,19 @@
1
+ import { DropdownProps } from '@xwiki/platform-dsapi';
2
+ declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
4
+ slots: {
5
+ activator?(_: {}): any;
6
+ default?(_: {}): any;
7
+ };
8
+ refs: {};
9
+ rootEl: any;
10
+ };
11
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
+ declare const __VLS_component: import('vue').DefineComponent<DropdownProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DropdownProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
13
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
14
+ export default _default;
15
+ type __VLS_WithTemplateSlots<T, S> = T & {
16
+ new (): {
17
+ $slots: S;
18
+ };
19
+ };
@@ -0,0 +1,12 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ src: {
3
+ type: StringConstructor;
4
+ required: true;
5
+ };
6
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
7
+ src: {
8
+ type: StringConstructor;
9
+ required: true;
10
+ };
11
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
12
+ export default _default;
@@ -0,0 +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, {}, HTMLSpanElement>;
2
+ export default _default;
@@ -0,0 +1,18 @@
1
+ import { MenuItemProps } from '@xwiki/platform-dsapi';
2
+ declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
4
+ slots: {
5
+ default?(_: {}): any;
6
+ };
7
+ refs: {};
8
+ rootEl: any;
9
+ };
10
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
+ declare const __VLS_component: import('vue').DefineComponent<MenuItemProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<MenuItemProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
12
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
13
+ export default _default;
14
+ type __VLS_WithTemplateSlots<T, S> = T & {
15
+ new (): {
16
+ $slots: S;
17
+ };
18
+ };
@@ -0,0 +1,17 @@
1
+ declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
3
+ slots: {
4
+ default?(_: {}): any;
5
+ };
6
+ refs: {};
7
+ rootEl: any;
8
+ };
9
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
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>;
11
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
12
+ export default _default;
13
+ type __VLS_WithTemplateSlots<T, S> = T & {
14
+ new (): {
15
+ $slots: S;
16
+ };
17
+ };
@@ -0,0 +1,17 @@
1
+ declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
3
+ slots: {
4
+ default?(_: {}): any;
5
+ };
6
+ refs: {};
7
+ rootEl: any;
8
+ };
9
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
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>;
11
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
12
+ export default _default;
13
+ type __VLS_WithTemplateSlots<T, S> = T & {
14
+ new (): {
15
+ $slots: S;
16
+ };
17
+ };
@@ -0,0 +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>;
2
+ export default _default;
@@ -0,0 +1,22 @@
1
+ declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
3
+ slots: {
4
+ tabs?(_: {}): any;
5
+ panels?(_: {}): any;
6
+ };
7
+ refs: {};
8
+ rootEl: any;
9
+ };
10
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
+ declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12
+ "tab-change": (...args: any[]) => void;
13
+ }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
14
+ "onTab-change"?: ((...args: any[]) => any) | undefined;
15
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
16
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
17
+ export default _default;
18
+ type __VLS_WithTemplateSlots<T, S> = T & {
19
+ new (): {
20
+ $slots: S;
21
+ };
22
+ };
@@ -0,0 +1,18 @@
1
+ import { TabPanelProps } from '@xwiki/platform-dsapi';
2
+ declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
4
+ slots: {
5
+ default?(_: {}): any;
6
+ };
7
+ refs: {};
8
+ rootEl: any;
9
+ };
10
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
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>;
12
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
13
+ export default _default;
14
+ type __VLS_WithTemplateSlots<T, S> = T & {
15
+ new (): {
16
+ $slots: S;
17
+ };
18
+ };
@@ -0,0 +1,18 @@
1
+ import { TabProps } from '@xwiki/platform-dsapi';
2
+ declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
4
+ slots: {
5
+ default?(_: {}): any;
6
+ };
7
+ refs: {};
8
+ rootEl: any;
9
+ };
10
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
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>;
12
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
13
+ export default _default;
14
+ type __VLS_WithTemplateSlots<T, S> = T & {
15
+ new (): {
16
+ $slots: S;
17
+ };
18
+ };
@@ -0,0 +1,20 @@
1
+ import { DisplayableTreeNode, TreeProps } from '@xwiki/platform-dsapi';
2
+ declare const _default: <T extends DisplayableTreeNode>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
4
+ readonly "onUpdate:activated"?: ((value: string | undefined) => any) | undefined;
5
+ readonly "onUpdate:opened"?: ((value: string[]) => any) | undefined;
6
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:opened" | "onUpdate:activated"> & ({
7
+ opened?: string[];
8
+ activated?: string | undefined;
9
+ } & TreeProps<T>) & Partial<{}>> & import('vue').PublicProps;
10
+ expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
11
+ attrs: any;
12
+ slots: {};
13
+ emit: ((evt: "update:activated", value: string | undefined) => void) & ((evt: "update:opened", value: string[]) => void);
14
+ }>) => import('vue').VNode & {
15
+ __ctx?: Awaited<typeof __VLS_setup>;
16
+ };
17
+ export default _default;
18
+ type __VLS_PrettifyLocal<T> = {
19
+ [K in keyof T]: T[K];
20
+ } & {};
@@ -0,0 +1,48 @@
1
+ import { defineComponent as f, resolveComponent as o, openBlock as t, createBlock as n, normalizeClass as u, withCtx as s, createElementBlock as a, Fragment as x, renderList as y, createTextVNode as b, toDisplayString as r, createCommentVNode as c, renderSlot as k } from "vue";
2
+ import { _ as C } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
+ const p = { key: 0 }, v = { key: 1 }, _ = /* @__PURE__ */ f({
4
+ __name: "x-alert",
5
+ props: {
6
+ title: {},
7
+ type: {},
8
+ description: {},
9
+ actions: {},
10
+ closable: { type: Boolean },
11
+ details: {},
12
+ flatCorners: { type: Boolean }
13
+ },
14
+ setup(e) {
15
+ return (i, B) => {
16
+ const d = o("x-btn"), m = o("v-alert");
17
+ return t(), n(m, {
18
+ closable: e.closable,
19
+ title: e.title,
20
+ type: e.type,
21
+ text: e.description,
22
+ class: u({ "flat-corners": e.flatCorners })
23
+ }, {
24
+ default: s(() => [
25
+ (t(!0), a(x, null, y(e.actions, (l) => (t(), n(d, {
26
+ key: l.name,
27
+ size: "small",
28
+ variant: "text",
29
+ onClick: l.callback
30
+ }, {
31
+ default: s(() => [
32
+ b(r(l.name), 1)
33
+ ]),
34
+ _: 2
35
+ }, 1032, ["onClick"]))), 128)),
36
+ e.details ? (t(), a("br", p)) : c("", !0),
37
+ e.details ? (t(), a("small", v, r(e.details), 1)) : c("", !0),
38
+ k(i.$slots, "default", {}, void 0, !0)
39
+ ]),
40
+ _: 3
41
+ }, 8, ["closable", "title", "type", "text", "class"]);
42
+ };
43
+ }
44
+ }), z = /* @__PURE__ */ C(_, [["__scopeId", "data-v-9b732fa3"]]);
45
+ export {
46
+ z as default
47
+ };
48
+ //# sourceMappingURL=x-alert-ChVriu6T.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x-alert-ChVriu6T.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/platform-dsapi\";\n\ndefineProps<AlertProps>();\n</script>\n<template>\n <v-alert\n :closable=\"closable\"\n :title=\"title\"\n :type=\"type\"\n :text=\"description\"\n :class=\"{ 'flat-corners': flatCorners }\"\n >\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),\n:deep(.v-alert__content a:visited) {\n color: inherit;\n text-decoration-color: inherit;\n}\n.flat-corners {\n border-radius: initial;\n}\n</style>\n"],"names":["_createBlock","_component_v_alert","__props","_createElementBlock","_Fragment","_renderList","action","_component_x_btn","_createTextVNode","_toDisplayString","_hoisted_1","_openBlock","_renderSlot","_ctx"],"mappings":";;;;;;;;;;;;;;;;kBAyBEA,EAkBUC,GAAA;AAAA,QAjBP,UAAUC,EAAA;AAAA,QACV,OAAOA,EAAA;AAAA,QACP,MAAMA,EAAA;AAAA,QACN,MAAMA,EAAA;AAAA,QACN,2BAAyBA,EAAA,aAAW;AAAA,MAAA;mBAGnC,MAAyB;AAAA,kBAD3BC,EAOCC,GAAA,MAAAC,EANkBH,EAAA,SAAO,CAAjBI,YADTN,EAOCO,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;;;UAEPJ,EAAA,gBAAVC,EAAqB,MAAAO,CAAA;UACRR,EAAA,WAAbS,EAAA,GAAAR,EAA2C,cAAlBD,EAAA,OAAO,GAAA,CAAA;UAChCU,EAAQC,EAAA,QAAA,WAAA,CAAA,GAAA,QAAA,EAAA;AAAA,QAAA;;;;;;"}
@@ -0,0 +1,28 @@
1
+ import { defineComponent as m, resolveComponent as a, openBlock as t, createBlock as n, withCtx as i, createElementBlock as s, toDisplayString as r } from "vue";
2
+ const l = { key: 1 }, u = /* @__PURE__ */ m({
3
+ __name: "x-avatar",
4
+ props: {
5
+ image: {},
6
+ size: {},
7
+ name: {}
8
+ },
9
+ setup(e) {
10
+ return (v, _) => {
11
+ const o = a("v-img"), c = a("v-avatar");
12
+ return t(), n(c, { size: e.size }, {
13
+ default: i(() => [
14
+ e.image ? (t(), n(o, {
15
+ key: 0,
16
+ alt: e.name,
17
+ src: e.image
18
+ }, null, 8, ["alt", "src"])) : (t(), s("span", l, r(e.name), 1))
19
+ ]),
20
+ _: 1
21
+ }, 8, ["size"]);
22
+ };
23
+ }
24
+ });
25
+ export {
26
+ u as default
27
+ };
28
+ //# sourceMappingURL=x-avatar-CSobfWTk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x-avatar-CSobfWTk.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/platform-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","__props","_component_v_img","_openBlock","_createElementBlock"],"mappings":";;;;;;;;;;;kBAyBEA,EAGWC,GAAA,EAHA,MAAMC,EAAA,QAAI;AAAA,mBACnB,MAAqD;AAAA,UAAxCA,EAAA,cAAbF,EAAqDG,GAAA;AAAA;YAAhC,KAAKD,EAAA;AAAA,YAAO,KAAKA,EAAA;AAAA,UAAA,gCACtCE,EAAA,GAAAC,EAA8B,aAAdH,EAAA,IAAI,GAAA,CAAA;AAAA,QAAA;;;;;;"}
@@ -0,0 +1,22 @@
1
+ import { defineComponent as m, computed as n, resolveComponent as p, openBlock as a, createBlock as _ } from "vue";
2
+ import { _ as u } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
+ const i = /* @__PURE__ */ m({
4
+ __name: "x-breadcrumb",
5
+ props: {
6
+ items: {}
7
+ },
8
+ setup(r) {
9
+ const o = r, c = n(() => o.items.map(({ label: e, url: t }) => ({
10
+ title: e,
11
+ href: t
12
+ })));
13
+ return (e, t) => {
14
+ const s = p("v-breadcrumbs");
15
+ return a(), _(s, { items: c.value }, null, 8, ["items"]);
16
+ };
17
+ }
18
+ }), l = /* @__PURE__ */ u(i, [["__scopeId", "data-v-e1be0c1e"]]);
19
+ export {
20
+ l as default
21
+ };
22
+ //# sourceMappingURL=x-breadcrumb-GmZWw0HG.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x-breadcrumb-GmZWw0HG.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 { computed } from \"vue\";\nimport type { BreadcrumbProps } from \"@xwiki/platform-dsapi\";\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;;;"}
@@ -0,0 +1,5 @@
1
+ import { _ as f } from "./x-btn.vue_vue_type_script_setup_true_lang-WWoyaSKz.js";
2
+ export {
3
+ f as default
4
+ };
5
+ //# sourceMappingURL=x-btn-B7EtO8yc.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x-btn-B7EtO8yc.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -0,0 +1,52 @@
1
+ import { defineComponent as c, computed as t, resolveComponent as s, openBlock as l, createBlock as i, withCtx as d, renderSlot as b } from "vue";
2
+ const p = /* @__PURE__ */ c({
3
+ __name: "x-btn",
4
+ props: {
5
+ variant: {},
6
+ size: {},
7
+ pill: { type: Boolean },
8
+ disabled: { type: Boolean }
9
+ },
10
+ setup(a) {
11
+ const r = t(() => {
12
+ let e;
13
+ switch (a.variant) {
14
+ case "default":
15
+ break;
16
+ case "primary":
17
+ e = "primary";
18
+ break;
19
+ case "success":
20
+ e = "success";
21
+ break;
22
+ case "neutral":
23
+ e = "secondary";
24
+ break;
25
+ case "warning":
26
+ e = "warning";
27
+ break;
28
+ case "danger":
29
+ e = "error";
30
+ break;
31
+ }
32
+ return e;
33
+ }), n = t(() => a.variant == "text" ? "text" : "tonal");
34
+ return (e, u) => {
35
+ const o = s("v-btn");
36
+ return l(), i(o, {
37
+ color: r.value,
38
+ variant: n.value,
39
+ disabled: a.disabled
40
+ }, {
41
+ default: d(() => [
42
+ b(e.$slots, "default")
43
+ ]),
44
+ _: 3
45
+ }, 8, ["color", "variant", "disabled"]);
46
+ };
47
+ }
48
+ });
49
+ export {
50
+ p as _
51
+ };
52
+ //# sourceMappingURL=x-btn.vue_vue_type_script_setup_true_lang-WWoyaSKz.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x-btn.vue_vue_type_script_setup_true_lang-WWoyaSKz.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/platform-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\" :disabled>\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,QAAW,UAAAD,EAAA;AAAA,MAAA;mBACzC,MAAQ;AAAA,UAARI,EAAQC,EAAA,QAAA,SAAA;AAAA,QAAA;;;;;;"}
@@ -0,0 +1,22 @@
1
+ import { resolveComponent as o, openBlock as n, createBlock as a, withCtx as c, renderSlot as i } from "vue";
2
+ import { _ as s } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
+ const l = {
4
+ props: { title: { type: String, required: !0 } }
5
+ };
6
+ function d(t, p, e, _, f, u) {
7
+ const r = o("v-card");
8
+ return n(), a(r, {
9
+ title: e.title,
10
+ variant: "outlined"
11
+ }, {
12
+ default: c(() => [
13
+ i(t.$slots, "default")
14
+ ]),
15
+ _: 3
16
+ }, 8, ["title"]);
17
+ }
18
+ const x = /* @__PURE__ */ s(l, [["render", d]]);
19
+ export {
20
+ x as default
21
+ };
22
+ //# sourceMappingURL=x-card-CRM9KUby.js.map
@@ -0,0 +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 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;;;;"}
@@ -0,0 +1,28 @@
1
+ import { defineComponent as m, useModel as t, openBlock as u, createBlock as d, unref as n, mergeModels as s } from "vue";
2
+ import { c } from "./index-CXc6lLQs.js";
3
+ const V = /* @__PURE__ */ m({
4
+ __name: "x-checkbox",
5
+ props: /* @__PURE__ */ s({
6
+ label: {},
7
+ help: {},
8
+ modelValue: { type: Boolean }
9
+ }, {
10
+ modelValue: { type: [Boolean, null] },
11
+ modelModifiers: {}
12
+ }),
13
+ emits: ["update:modelValue"],
14
+ setup(e) {
15
+ const l = t(e, "modelValue");
16
+ return (r, o) => (u(), d(n(c), {
17
+ modelValue: l.value,
18
+ "onUpdate:modelValue": o[0] || (o[0] = (a) => l.value = a),
19
+ label: e.label,
20
+ messages: e.help,
21
+ density: "compact"
22
+ }, null, 8, ["modelValue", "label", "messages"]));
23
+ }
24
+ });
25
+ export {
26
+ V as default
27
+ };
28
+ //# sourceMappingURL=x-checkbox-CiXToUGv.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x-checkbox-CiXToUGv.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/platform-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","__props"],"mappings":";;;;;;;;;;;;;;AAyBA,UAAMA,IAAUC,iBAA4B;2BAG1CC,EAKcC,EAAAC,CAAA,GAAA;AAAA,kBAJHJ,EAAA;AAAA,oDAAAA,EAAO,QAAAK;AAAA,MACf,OAAOC,EAAA;AAAA,MACP,UAAUA,EAAA;AAAA,MACX,SAAQ;AAAA,IAAA;;;"}
@@ -0,0 +1,49 @@
1
+ import { defineComponent as m, resolveComponent as o, openBlock as n, createBlock as c, withCtx as t, createVNode as d, renderSlot as a, createCommentVNode as p, createElementVNode as u, normalizeProps as f, guardReactiveProps as h } from "vue";
2
+ import { _ as w } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
+ const g = /* @__PURE__ */ m({
4
+ __name: "x-dialog",
5
+ props: {
6
+ title: {},
7
+ width: {}
8
+ },
9
+ setup(r) {
10
+ return (e, x) => {
11
+ const l = o("v-card-text"), i = o("v-card-actions"), s = o("v-card"), _ = o("v-dialog");
12
+ return n(), c(_, {
13
+ width: r.width,
14
+ attach: "#view",
15
+ scrollable: ""
16
+ }, {
17
+ activator: t(({ props: v }) => [
18
+ u("span", f(h(v)), [
19
+ a(e.$slots, "activator", {}, void 0, !0)
20
+ ], 16)
21
+ ]),
22
+ default: t(() => [
23
+ d(s, { title: r.title }, {
24
+ default: t(() => [
25
+ d(l, null, {
26
+ default: t(() => [
27
+ a(e.$slots, "default", {}, void 0, !0)
28
+ ]),
29
+ _: 3
30
+ }),
31
+ e.$slots.footer ? (n(), c(i, { key: 0 }, {
32
+ default: t(() => [
33
+ a(e.$slots, "footer", {}, void 0, !0)
34
+ ]),
35
+ _: 3
36
+ })) : p("", !0)
37
+ ]),
38
+ _: 3
39
+ }, 8, ["title"])
40
+ ]),
41
+ _: 3
42
+ }, 8, ["width"]);
43
+ };
44
+ }
45
+ }), k = /* @__PURE__ */ w(g, [["__scopeId", "data-v-9e36865e"]]);
46
+ export {
47
+ k as default
48
+ };
49
+ //# sourceMappingURL=x-dialog-4cFJfisB.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x-dialog-4cFJfisB.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","__props","_withCtx","props","_createElementVNode","_renderSlot","_ctx","_createVNode","_component_v_card","_component_v_card_text","$slots","_component_v_card_actions"],"mappings":";;;;;;;;;;;kBA2BEA,EAgBWC,GAAA;AAAA,QAhBA,OAAOC,EAAA;AAAA,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,OAAOP,EAAA,SAAK;AAAA,uBACnB,MAEc;AAAA,cAFdM,EAEcE,GAAA,MAAA;AAAA,2BADZ,MAAuB;AAAA,kBAAvBJ,EAAuBC,EAAA,QAAA,WAAA,CAAA,GAAA,QAAA,EAAA;AAAA,gBAAA;;;cAEHI,EAAAA,OAAO,eAA7BX,EAEiBY,GAAA,EAAA,KAAA,KAAA;AAAA,2BADf,MAAsB;AAAA,kBAAtBN,EAAsBC,EAAA,QAAA,UAAA,CAAA,GAAA,QAAA,EAAA;AAAA,gBAAA;;;;;;;;;;;;"}