wave-ui 3.10.1 → 3.12.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 (109) hide show
  1. package/dist/types/$waveui.d.ts +221 -0
  2. package/dist/types/$waveui.js +2 -0
  3. package/dist/types/colors.d.ts +503 -0
  4. package/dist/types/colors.js +2 -0
  5. package/dist/types/components/WAccordion.d.ts +226 -0
  6. package/dist/types/components/WAccordion.js +2 -0
  7. package/dist/types/components/WAlert.d.ts +225 -0
  8. package/dist/types/components/WAlert.js +2 -0
  9. package/dist/types/components/WApp.d.ts +84 -0
  10. package/dist/types/components/WApp.js +2 -0
  11. package/dist/types/components/WBadge.d.ts +194 -0
  12. package/dist/types/components/WBadge.js +2 -0
  13. package/dist/types/components/WBreadcrumbs.d.ts +129 -0
  14. package/dist/types/components/WBreadcrumbs.js +2 -0
  15. package/dist/types/components/WButton.d.ts +218 -0
  16. package/dist/types/components/WButton.js +2 -0
  17. package/dist/types/components/WCard.d.ts +140 -0
  18. package/dist/types/components/WCard.js +2 -0
  19. package/dist/types/components/WCheckbox.d.ts +132 -0
  20. package/dist/types/components/WCheckbox.js +2 -0
  21. package/dist/types/components/WCheckboxes.d.ts +141 -0
  22. package/dist/types/components/WCheckboxes.js +2 -0
  23. package/dist/types/components/WConfirm.d.ts +250 -0
  24. package/dist/types/components/WConfirm.js +2 -0
  25. package/dist/types/components/WDialog.d.ts +189 -0
  26. package/dist/types/components/WDialog.js +2 -0
  27. package/dist/types/components/WDivider.d.ts +49 -0
  28. package/dist/types/components/WDivider.js +2 -0
  29. package/dist/types/components/WDrawer.d.ts +249 -0
  30. package/dist/types/components/WDrawer.js +2 -0
  31. package/dist/types/components/WFlex.d.ts +137 -0
  32. package/dist/types/components/WFlex.js +2 -0
  33. package/dist/types/components/WForm.d.ts +165 -0
  34. package/dist/types/components/WForm.js +2 -0
  35. package/dist/types/components/WFormElement.d.ts +112 -0
  36. package/dist/types/components/WFormElement.js +2 -0
  37. package/dist/types/components/WGrid.d.ts +51 -0
  38. package/dist/types/components/WGrid.js +2 -0
  39. package/dist/types/components/WIcon.d.ts +167 -0
  40. package/dist/types/components/WIcon.js +2 -0
  41. package/dist/types/components/WImage.d.ts +172 -0
  42. package/dist/types/components/WImage.js +2 -0
  43. package/dist/types/components/WInput.d.ts +352 -0
  44. package/dist/types/components/WInput.js +2 -0
  45. package/dist/types/components/WList.d.ts +336 -0
  46. package/dist/types/components/WList.js +2 -0
  47. package/dist/types/components/WMenu.d.ts +250 -0
  48. package/dist/types/components/WMenu.js +2 -0
  49. package/dist/types/components/WNotification.d.ts +283 -0
  50. package/dist/types/components/WNotification.js +2 -0
  51. package/dist/types/components/WNotificationManager.d.ts +33 -0
  52. package/dist/types/components/WNotificationManager.js +2 -0
  53. package/dist/types/components/WOverlay.d.ts +118 -0
  54. package/dist/types/components/WOverlay.js +2 -0
  55. package/dist/types/components/WProgress.d.ts +177 -0
  56. package/dist/types/components/WProgress.js +2 -0
  57. package/dist/types/components/WRadio.d.ts +121 -0
  58. package/dist/types/components/WRadio.js +2 -0
  59. package/dist/types/components/WRadios.d.ts +129 -0
  60. package/dist/types/components/WRadios.js +2 -0
  61. package/dist/types/components/WRating.d.ts +176 -0
  62. package/dist/types/components/WRating.js +2 -0
  63. package/dist/types/components/WSelect.d.ts +416 -0
  64. package/dist/types/components/WSelect.js +2 -0
  65. package/dist/types/components/WSlider.d.ts +263 -0
  66. package/dist/types/components/WSlider.js +2 -0
  67. package/dist/types/components/WSpinner.d.ts +101 -0
  68. package/dist/types/components/WSpinner.js +2 -0
  69. package/dist/types/components/WSteps.d.ts +29 -0
  70. package/dist/types/components/WSteps.js +2 -0
  71. package/dist/types/components/WSwitch.d.ts +132 -0
  72. package/dist/types/components/WSwitch.js +2 -0
  73. package/dist/types/components/WTable.d.ts +504 -0
  74. package/dist/types/components/WTable.js +2 -0
  75. package/dist/types/components/WTabs.d.ts +343 -0
  76. package/dist/types/components/WTabs.js +2 -0
  77. package/dist/types/components/WTag.d.ts +160 -0
  78. package/dist/types/components/WTag.js +2 -0
  79. package/dist/types/components/WTextarea.d.ts +257 -0
  80. package/dist/types/components/WTextarea.js +2 -0
  81. package/dist/types/components/WTimeline.d.ts +102 -0
  82. package/dist/types/components/WTimeline.js +2 -0
  83. package/dist/types/components/WToolbar.d.ts +134 -0
  84. package/dist/types/components/WToolbar.js +2 -0
  85. package/dist/types/components/WTooltip.d.ts +170 -0
  86. package/dist/types/components/WTooltip.js +2 -0
  87. package/dist/types/components/WTree.d.ts +359 -0
  88. package/dist/types/components/WTree.js +2 -0
  89. package/dist/types/components/index.d.ts +42 -0
  90. package/dist/types/components/index.js +2 -0
  91. package/dist/types/extra-vue-types.d.ts +8 -0
  92. package/dist/types/extra-vue-types.js +2 -0
  93. package/dist/types/index.d.ts +5 -0
  94. package/dist/types/index.js +4 -0
  95. package/dist/types/plugin.d.ts +19 -0
  96. package/dist/types/plugin.js +2 -0
  97. package/dist/wave-ui.cjs.js +1 -1
  98. package/dist/wave-ui.css +1 -1
  99. package/dist/wave-ui.es.js +359 -333
  100. package/dist/wave-ui.umd.js +1 -1
  101. package/package.json +8 -2
  102. package/src/wave-ui/components/w-autocomplete.vue +1 -8
  103. package/src/wave-ui/components/w-input.vue +1 -0
  104. package/src/wave-ui/components/w-parallax.vue +0 -1
  105. package/src/wave-ui/components/w-select.vue +10 -8
  106. package/src/wave-ui/components/w-switch.vue +1 -1
  107. package/src/wave-ui/components/w-table.vue +18 -1
  108. package/src/wave-ui/components/w-textarea.vue +12 -10
  109. package/src/wave-ui/index.d.ts +21 -0
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,132 @@
1
+ import { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
+ import { PublicProps, ResolveProps } from '../extra-vue-types';
3
+ export interface WaveCheckboxProps {
4
+ /**
5
+ * TODO: Add Description
6
+ * @property {any} wCheckboxes - Default: null
7
+ * @see https://antoniandre.github.io/wave-ui/w-checkbox
8
+ */
9
+ wCheckboxes?: any;
10
+ /**
11
+ * ``value` in Vue 2.`
12
+ * Provide a boolean to dictate the checked state the checkbox.
13
+ * This value gets updated when using a v-model.
14
+ * @property {any} modelValue - Default: false
15
+ * @see https://antoniandre.github.io/wave-ui/w-checkbox
16
+ */
17
+ modelValue?: any;
18
+ /**
19
+ * Since the native HTML checkbox element uses the `value` attribute to define the checked state, the `return-value` prop let you specify a value to return to the `v-model` when the checkbox is checked (instead of returning `true`).
20
+ * @property {any} returnValue
21
+ * @see https://antoniandre.github.io/wave-ui/w-checkbox
22
+ */
23
+ returnValue?: any;
24
+ /**
25
+ * Sets a visible label for the checkbox.
26
+ * @property {string} label
27
+ * @see https://antoniandre.github.io/wave-ui/w-checkbox
28
+ */
29
+ label?: string;
30
+ /**
31
+ * Moves the label to the left of the checkbox. By default the label is displayed on the right.
32
+ * @property {boolean} labelOnLeft
33
+ * @see https://antoniandre.github.io/wave-ui/w-checkbox
34
+ */
35
+ labelOnLeft?: boolean;
36
+ /**
37
+ * Applies a color to the checkbox when active. Accepts all the color names of the color palette, status colors, or custom colors (learn more about the colors in the `colors` knowledge base page).
38
+ * Providing a color hex, rgb(a) or hsl(a) will not work.
39
+ * @property {string} color - Default: 'primary'
40
+ * @see https://antoniandre.github.io/wave-ui/w-checkbox
41
+ * @see https://antoniandre.github.io/wave-ui/colors
42
+ */
43
+ color?: string;
44
+ /**
45
+ * Applies a specific color to the checkbox's label. Note that on validation failure, the validation-color takes precedence.
46
+ * Accepts all the color names of the color palette, status colors, or custom colors (learn more about the colors in the `colors` knowledge base page).
47
+ * Providing a color hex, rgb(a) or hsl(a) will not work.
48
+ * @property {string} labelColor - Default: 'primary'
49
+ * @see https://antoniandre.github.io/wave-ui/w-checkbox
50
+ * @see https://antoniandre.github.io/wave-ui/colors
51
+ */
52
+ labelColor?: string;
53
+ /**
54
+ * Removes the ripple animation on check.
55
+ * @property {boolean} noRipple
56
+ * @see https://antoniandre.github.io/wave-ui/w-checkbox
57
+ */
58
+ noRipple?: boolean;
59
+ /**
60
+ * Applies an indeterminate state on the checkbox. E.g. when it represents the selected state of a collection of elements where some are checked and some not.
61
+ * @property {boolean} indeterminate
62
+ * @see https://antoniandre.github.io/wave-ui/w-checkbox
63
+ */
64
+ indeterminate?: boolean;
65
+ /**
66
+ * Displays a round checkbox instead of a square one.
67
+ * @property {boolean} round
68
+ * @see https://antoniandre.github.io/wave-ui/w-checkbox
69
+ */
70
+ round?: boolean;
71
+ /**
72
+ * TODO: Add Description
73
+ * @property {boolean} dark
74
+ * @see https://antoniandre.github.io/wave-ui/w-checkbox
75
+ */
76
+ dark?: boolean;
77
+ /**
78
+ * TODO: Add Description
79
+ * @property {boolean} light
80
+ * @see https://antoniandre.github.io/wave-ui/w-checkbox
81
+ */
82
+ light?: boolean;
83
+ }
84
+ export interface WaveCheckboxEmits {
85
+ /**
86
+ * TODO: Add Description
87
+ * @see https://antoniandre.github.io/wave-ui/w-checkbox
88
+ */
89
+ 'onInput'?: () => void;
90
+ /**
91
+ * TODO: Add Description
92
+ * @see https://antoniandre.github.io/wave-ui/w-checkbox
93
+ */
94
+ 'onUpdate:modelValue'?: () => void;
95
+ /**
96
+ * TODO: Add Description
97
+ * @see https://antoniandre.github.io/wave-ui/w-checkbox
98
+ */
99
+ 'onFocus'?: () => void;
100
+ /**
101
+ * TODO: Add Description
102
+ * @see https://antoniandre.github.io/wave-ui/w-checkbox
103
+ */
104
+ 'onBlur'?: () => void;
105
+ }
106
+ export interface WaveCheckboxComputeds extends ComputedOptions {
107
+ /**
108
+ * TODO: Add Description
109
+ * @see https://antoniandre.github.io/wave-ui/w-checkbox
110
+ */
111
+ hasLabel: ComputedGetter<any>;
112
+ /**
113
+ * TODO: Add Description
114
+ * @see https://antoniandre.github.io/wave-ui/w-checkbox
115
+ */
116
+ classes: ComputedGetter<any>;
117
+ }
118
+ export interface WaveCheckboxMethods extends MethodOptions {
119
+ /**
120
+ * TODO: Add Description
121
+ * @see https://antoniandre.github.io/wave-ui/w-checkbox
122
+ */
123
+ onInput(): void;
124
+ }
125
+ export type WaveCheckboxSlots = SlotsType<{
126
+ /**
127
+ * The checkbox label content.
128
+ * @see https://antoniandre.github.io/wave-ui/w-checkbox
129
+ */
130
+ 'default': () => any;
131
+ }>;
132
+ export type WCheckbox = DefineComponent<WaveCheckboxProps, {}, {}, WaveCheckboxComputeds, WaveCheckboxMethods, {}, {}, WaveCheckboxEmits & EmitsOptions, string, PublicProps, ResolveProps<WaveCheckboxProps & WaveCheckboxEmits, EmitsOptions>, ExtractDefaultPropTypes<WaveCheckboxProps>, WaveCheckboxSlots>;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,141 @@
1
+ import { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
+ import { PublicProps, ResolveProps } from '../extra-vue-types';
3
+ export interface WaveCheckboxesProps {
4
+ /**
5
+ * An array of checkbox items to display. Each item object should contain at least a `label` or a `value` attribute.
6
+ * @property {Array<any>} [items]
7
+ * @see https://antoniandre.github.io/wave-ui/w-checkboxes
8
+ */
9
+ items: Array<any>;
10
+ /**
11
+ * ``value` in Vue 2.`
12
+ * Provide an array of values to dictate the checked state of all the checkboxes.
13
+ * This value gets updated when using a v-model.
14
+ * @property {Array<any>} modelValue
15
+ * @see https://antoniandre.github.io/wave-ui/w-checkboxes
16
+ */
17
+ modelValue?: Array<any>;
18
+ /**
19
+ * Moves the label to the left of each checkbox.
20
+ * @property {boolean} labelOnLeft
21
+ * @see https://antoniandre.github.io/wave-ui/w-checkboxes
22
+ */
23
+ labelOnLeft?: boolean;
24
+ /**
25
+ * The property name (aka "key") in each item object where to find the label of the item (if any).
26
+ * @property {string} itemLabelKey - Default: 'label'
27
+ * @see https://antoniandre.github.io/wave-ui/w-checkboxes
28
+ */
29
+ itemLabelKey?: string;
30
+ /**
31
+ * The property name (aka "key") in each item object where to find the value of the item (if any).
32
+ * @property {string} itemValueKey - Default: 'value'
33
+ * @see https://antoniandre.github.io/wave-ui/w-checkboxes
34
+ */
35
+ itemValueKey?: string;
36
+ /**
37
+ * The property name (aka "key") in each item object where to find the color of the item (if any).
38
+ * @property {string} itemColorKey - Default: 'color'
39
+ * @see https://antoniandre.github.io/wave-ui/w-checkboxes
40
+ */
41
+ itemColorKey?: string;
42
+ /**
43
+ * Displays all the checkboxes inline instead of in column.
44
+ * @property {boolean} inline
45
+ * @see https://antoniandre.github.io/wave-ui/w-checkboxes
46
+ */
47
+ inline?: boolean;
48
+ /**
49
+ * Displays round checkboxes instead of square ones.
50
+ * @property {boolean} round
51
+ * @see https://antoniandre.github.io/wave-ui/w-checkboxes
52
+ */
53
+ round?: boolean;
54
+ /**
55
+ * Applies a color to the active checkbox. Accepts all the color names of the color palette, status colors, or custom colors (learn more about the colors in the `colors` knowledge base page).
56
+ * Providing a color hex, rgb(a) or hsl(a) will not work.
57
+ * @property {string} color - Default: 'primary'
58
+ * @see https://antoniandre.github.io/wave-ui/w-checkboxes
59
+ * @see https://antoniandre.github.io/wave-ui/colors
60
+ */
61
+ color?: string;
62
+ /**
63
+ * Applies a specific color to the checkboxes labels. Note that on validation failure, the validation-color takes precedence.
64
+ * Accepts all the color names of the color palette, status colors, or custom colors (learn more about the colors in the `colors` knowledge base page).
65
+ * Providing a color hex, rgb(a) or hsl(a) will not work.
66
+ * @property {string} labelColor - Default: 'primary'
67
+ * @see https://antoniandre.github.io/wave-ui/w-checkboxes
68
+ * @see https://antoniandre.github.io/wave-ui/colors
69
+ */
70
+ labelColor?: string;
71
+ }
72
+ export interface WaveCheckboxesEmits {
73
+ /**
74
+ * TODO: Add Description
75
+ * @see https://antoniandre.github.io/wave-ui/w-checkboxes
76
+ */
77
+ 'onInput'?: () => void;
78
+ /**
79
+ * TODO: Add Description
80
+ * @see https://antoniandre.github.io/wave-ui/w-checkboxes
81
+ */
82
+ 'onUpdate:modelValue'?: () => void;
83
+ /**
84
+ * TODO: Add Description
85
+ * @see https://antoniandre.github.io/wave-ui/w-checkboxes
86
+ */
87
+ 'onFocus'?: () => void;
88
+ }
89
+ export interface WaveCheckboxesComputeds extends ComputedOptions {
90
+ /**
91
+ * TODO: Add Description
92
+ * @see https://antoniandre.github.io/wave-ui/w-checkboxes
93
+ */
94
+ checkboxItems: ComputedGetter<any>;
95
+ /**
96
+ * TODO: Add Description
97
+ * @see https://antoniandre.github.io/wave-ui/w-checkboxes
98
+ */
99
+ classes: ComputedGetter<any>;
100
+ }
101
+ export interface WaveCheckboxesMethods extends MethodOptions {
102
+ /**
103
+ * TODO: Add Description
104
+ * @see https://antoniandre.github.io/wave-ui/w-checkboxes
105
+ */
106
+ reset(): void;
107
+ /**
108
+ * TODO: Add Description
109
+ * @param {any} checkbox
110
+ * @param {any} isChecked
111
+ * @see https://antoniandre.github.io/wave-ui/w-checkboxes
112
+ */
113
+ toggleCheck(checkbox: any, isChecked: any): void;
114
+ /**
115
+ * TODO: Add Description
116
+ * @param {any} item
117
+ * @see https://antoniandre.github.io/wave-ui/w-checkboxes
118
+ */
119
+ getOriginalItem(item: any): void;
120
+ }
121
+ export type WaveCheckboxesSlots = SlotsType<{
122
+ /**
123
+ * TODO: Add Description
124
+ * @param {any} item TODO: Describe me!
125
+ * @param {any} checked TODO: Describe me!
126
+ * @param {any} index TODO: Describe me!
127
+ * @see https://antoniandre.github.io/wave-ui/w-checkboxes
128
+ */
129
+ 'item.x': (_: {
130
+ item: any;
131
+ checked: any;
132
+ index: any;
133
+ }) => any;
134
+ } & {
135
+ [k in `item'${number}`]: (_: {
136
+ item: any;
137
+ checked: any;
138
+ index: any;
139
+ }) => any;
140
+ }>;
141
+ export type WCheckboxes = DefineComponent<WaveCheckboxesProps, {}, {}, WaveCheckboxesComputeds, WaveCheckboxesMethods, {}, {}, WaveCheckboxesEmits & EmitsOptions, string, PublicProps, ResolveProps<WaveCheckboxesProps & WaveCheckboxesEmits, EmitsOptions>, ExtractDefaultPropTypes<WaveCheckboxesProps>, WaveCheckboxesSlots>;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,250 @@
1
+ import { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
+ import { PublicProps, ResolveProps } from '../extra-vue-types';
3
+ export interface WaveConfirmProps {
4
+ /**
5
+ * Applies a color to the main button's background.
6
+ * If no `color` and no `bg-color` are set, and if neither `outline` nor `text` are set to true, the `primary` color will be applied.
7
+ * Accepts all the color names of the color palette, status colors, or custom colors (learn more about the colors in the `colors` knowledge base page).
8
+ * Providing a color hex, rgb(a) or hsl(a) will not work.
9
+ * @property {string} bgColor
10
+ * @see https://antoniandre.github.io/wave-ui/w-confirm
11
+ * @see https://antoniandre.github.io/wave-ui/colors
12
+ */
13
+ bgColor?: string;
14
+ /**
15
+ * Applies a color to the main button's text.
16
+ * If no `color` and no `bg-color` are set, and if either `outline` or `text` is set to true, the `primary` color will be applied.
17
+ * Accepts all the color names of the color palette, status colors, or custom colors (learn more about the colors in the `colors` knowledge base page).
18
+ * Providing a color hex, rgb(a) or hsl(a) will not work.
19
+ * @property {string} color
20
+ * @see https://antoniandre.github.io/wave-ui/w-confirm
21
+ * @see https://antoniandre.github.io/wave-ui/colors
22
+ */
23
+ color?: string;
24
+ /**
25
+ * Sets the button to a round icon style, containing only an icon.
26
+ * Accepts a string: e.g. `mdi mdi-home`.
27
+ * @property {string} icon
28
+ * @see https://antoniandre.github.io/wave-ui/w-confirm
29
+ */
30
+ icon?: string;
31
+ /**
32
+ * TODO: Add Description
33
+ * @property {boolean} disablePrompt
34
+ * @see https://antoniandre.github.io/wave-ui/w-confirm
35
+ */
36
+ disablePrompt?: boolean;
37
+ /**
38
+ * For more customization, this prop accepts an object of props to pass down to the main button (all the options that the `w-button` component can handle).
39
+ * @property {{}} mainButton
40
+ * @see https://antoniandre.github.io/wave-ui/w-confirm
41
+ */
42
+ mainButton?: {};
43
+ /**
44
+ * TODO: Add Description
45
+ * @property {string} question - Default: 'Are you sure?'
46
+ * @see https://antoniandre.github.io/wave-ui/w-confirm
47
+ */
48
+ question?: string;
49
+ /**
50
+ * Accept either `false` to remove the button, a `String` for the button label, or an `Object` in order to define `w-button` props to further customize it (all the options that the `w-button` component can handle).
51
+ * In addition to all the `w-button` props, the object also accepts a `label` key to customize the button label.
52
+ * The default button label is "Cancel".
53
+ * @property {boolean|{}|string} cancel - Default: undefined
54
+ * @see https://antoniandre.github.io/wave-ui/w-confirm
55
+ */
56
+ cancel?: boolean | {} | string;
57
+ /**
58
+ * Accept either a `String` for the button label, or an `Object` in order to define `w-button` props to further customize it (all the options that the `w-button` component can handle).
59
+ * In addition to all the `w-button` props, the object also accepts a `label` key to customize the button label.
60
+ * The default button label is "Confirm".
61
+ * @property {{}|string} confirm
62
+ * @see https://antoniandre.github.io/wave-ui/w-confirm
63
+ */
64
+ confirm?: {} | string;
65
+ /**
66
+ * Displays the question inline with the buttons, inside the menu.
67
+ * @property {boolean} inline
68
+ * @see https://antoniandre.github.io/wave-ui/w-confirm
69
+ */
70
+ inline?: boolean;
71
+ /**
72
+ * For more customization, this prop accepts an object of props to pass down to the menu (all the options that the `w-menu` component can handle).
73
+ * @property {{}} menu - Default: () => ({})
74
+ * @see https://antoniandre.github.io/wave-ui/w-confirm
75
+ */
76
+ menu?: {};
77
+ /**
78
+ * Accept either `false` for no tooltip (by default), a `String` to display as a tooltip on the main button, or an `Object` in order to define `w-tooltip` props to further customize the tooltip (all the options that the `w-tooltip` component can handle).
79
+ * In addition to all the `w-tooltip` props, the object also accepts a `label` key to provide the tooltip string in the object.
80
+ * By default, the tooltip shows on hover, and at the bottom.
81
+ * @property {boolean|{}|string} tooltip
82
+ * @see https://antoniandre.github.io/wave-ui/w-confirm
83
+ */
84
+ tooltip?: boolean | {} | string;
85
+ /**
86
+ * By default the confirmation menu displays an arrow pointing toward the main button.
87
+ * The arrow can simply be removed with this prop.
88
+ * @property {boolean} noArrow
89
+ * @see https://antoniandre.github.io/wave-ui/w-confirm
90
+ */
91
+ noArrow?: boolean;
92
+ /**
93
+ * Places the menu above the main button.
94
+ * @property {boolean} top
95
+ * @see https://antoniandre.github.io/wave-ui/w-confirm
96
+ */
97
+ top?: boolean;
98
+ /**
99
+ * Places the below the main button.
100
+ * @property {boolean} bottom
101
+ * @see https://antoniandre.github.io/wave-ui/w-confirm
102
+ */
103
+ bottom?: boolean;
104
+ /**
105
+ * Places the menu on the left of the main button.
106
+ * @property {boolean} left
107
+ * @see https://antoniandre.github.io/wave-ui/w-confirm
108
+ */
109
+ left?: boolean;
110
+ /**
111
+ * Places the menu at the right of the main button.
112
+ * @property {boolean} right
113
+ * @see https://antoniandre.github.io/wave-ui/w-confirm
114
+ */
115
+ right?: boolean;
116
+ /**
117
+ * Aligns the top of the menu with the top of the main button.
118
+ * @property {boolean} alignTop
119
+ * @see https://antoniandre.github.io/wave-ui/w-confirm
120
+ */
121
+ alignTop?: boolean;
122
+ /**
123
+ * Aligns the bottom of the menu with the bottom of the main button.
124
+ * @property {boolean} alignBottom
125
+ * @see https://antoniandre.github.io/wave-ui/w-confirm
126
+ */
127
+ alignBottom?: boolean;
128
+ /**
129
+ * Aligns the left side of the menu with the left side of the main button.
130
+ * @property {boolean} alignLeft
131
+ * @see https://antoniandre.github.io/wave-ui/w-confirm
132
+ */
133
+ alignLeft?: boolean;
134
+ /**
135
+ * Aligns the right side of the menu with the right side of the main button.
136
+ * @property {boolean} alignRight
137
+ * @see https://antoniandre.github.io/wave-ui/w-confirm
138
+ */
139
+ alignRight?: boolean;
140
+ /**
141
+ * When set to `true`, clicking outside of the menu will not close the menu.
142
+ * @property {boolean} persistent
143
+ * @see https://antoniandre.github.io/wave-ui/w-confirm
144
+ */
145
+ persistent?: boolean;
146
+ /**
147
+ * Applies a particular transition to the menu element when showing and hiding.
148
+ * Accepts all the transitions listed in the `transitions` knowledge base page. You can also disable the transition by setting this prop to an empty string.
149
+ * @property {string} transition
150
+ * @see https://antoniandre.github.io/wave-ui/w-confirm
151
+ * @see https://antoniandre.github.io/wave-ui//transitions
152
+ */
153
+ transition?: string;
154
+ /**
155
+ * TODO: Add Description
156
+ * @property {boolean} dark
157
+ * @see https://antoniandre.github.io/wave-ui/w-confirm
158
+ */
159
+ dark?: boolean;
160
+ /**
161
+ * TODO: Add Description
162
+ * @property {boolean} light
163
+ * @see https://antoniandre.github.io/wave-ui/w-confirm
164
+ */
165
+ light?: boolean;
166
+ }
167
+ export interface WaveConfirmEmits {
168
+ /**
169
+ * TODO: Add Description
170
+ * @see https://antoniandre.github.io/wave-ui/w-confirm
171
+ */
172
+ 'onCancel'?: () => void;
173
+ /**
174
+ * TODO: Add Description
175
+ * @see https://antoniandre.github.io/wave-ui/w-confirm
176
+ */
177
+ 'onConfirm'?: () => void;
178
+ }
179
+ export interface WaveConfirmComputeds extends ComputedOptions {
180
+ /**
181
+ * TODO: Add Description
182
+ * @see https://antoniandre.github.io/wave-ui/w-confirm
183
+ */
184
+ cancelButton: ComputedGetter<any>;
185
+ /**
186
+ * TODO: Add Description
187
+ * @see https://antoniandre.github.io/wave-ui/w-confirm
188
+ */
189
+ cancelButtonProps: ComputedGetter<any>;
190
+ /**
191
+ * TODO: Add Description
192
+ * @see https://antoniandre.github.io/wave-ui/w-confirm
193
+ */
194
+ confirmButton: ComputedGetter<any>;
195
+ /**
196
+ * TODO: Add Description
197
+ * @see https://antoniandre.github.io/wave-ui/w-confirm
198
+ */
199
+ confirmButtonProps: ComputedGetter<any>;
200
+ /**
201
+ * TODO: Add Description
202
+ * @see https://antoniandre.github.io/wave-ui/w-confirm
203
+ */
204
+ wMenuProps: ComputedGetter<any>;
205
+ /**
206
+ * TODO: Add Description
207
+ * @see https://antoniandre.github.io/wave-ui/w-confirm
208
+ */
209
+ tooltipObject: ComputedGetter<any>;
210
+ /**
211
+ * TODO: Add Description
212
+ * @see https://antoniandre.github.io/wave-ui/w-confirm
213
+ */
214
+ buttonProps: ComputedGetter<any>;
215
+ }
216
+ export interface WaveConfirmMethods extends MethodOptions {
217
+ /**
218
+ * TODO: Add Description
219
+ * @see https://antoniandre.github.io/wave-ui/w-confirm
220
+ */
221
+ onCancel(): void;
222
+ /**
223
+ * TODO: Add Description
224
+ * @see https://antoniandre.github.io/wave-ui/w-confirm
225
+ */
226
+ onConfirm(): void;
227
+ }
228
+ export type WaveConfirmSlots = SlotsType<{
229
+ /**
230
+ * The main button contents.
231
+ * @see https://antoniandre.github.io/wave-ui/w-confirm
232
+ */
233
+ 'default': () => any;
234
+ /**
235
+ * The question to ask for confirmation in the menu.
236
+ * @see https://antoniandre.github.io/wave-ui/w-confirm
237
+ */
238
+ 'question': () => any;
239
+ /**
240
+ * The cancel button contents, in the menu.
241
+ * @see https://antoniandre.github.io/wave-ui/w-confirm
242
+ */
243
+ 'cancel': () => any;
244
+ /**
245
+ * The confirm button contents, in the menu.
246
+ * @see https://antoniandre.github.io/wave-ui/w-confirm
247
+ */
248
+ 'confirm': () => any;
249
+ }>;
250
+ export type WConfirm = DefineComponent<WaveConfirmProps, {}, {}, WaveConfirmComputeds, WaveConfirmMethods, {}, {}, WaveConfirmEmits & EmitsOptions, string, PublicProps, ResolveProps<WaveConfirmProps & WaveConfirmEmits, EmitsOptions>, ExtractDefaultPropTypes<WaveConfirmProps>, WaveConfirmSlots>;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });