@volverjs/ui-vue 0.0.9 → 0.0.10-beta.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +64 -1
- package/auto-imports.d.ts +1 -1
- package/bin/icons.cjs +1 -1
- package/bin/icons.js +34 -19
- package/dist/components/VvAccordion/VvAccordion.es.js +33 -4
- package/dist/components/VvAccordion/VvAccordion.umd.js +1 -1
- package/dist/components/VvAccordion/VvAccordion.vue.d.ts +4 -4
- package/dist/components/VvAccordion/index.d.ts +1 -1
- package/dist/components/VvAccordionGroup/VvAccordionGroup.es.js +75 -27
- package/dist/components/VvAccordionGroup/VvAccordionGroup.umd.js +1 -1
- package/dist/components/VvAccordionGroup/VvAccordionGroup.vue.d.ts +5 -5
- package/dist/components/VvAction/VvAction.es.js +26 -4
- package/dist/components/VvAction/VvAction.umd.js +1 -1
- package/dist/components/VvAction/VvAction.vue.d.ts +17 -4
- package/dist/components/VvAction/index.d.ts +5 -0
- package/dist/components/VvAlert/VvAlert.es.js +96 -45
- package/dist/components/VvAlert/VvAlert.umd.js +1 -1
- package/dist/components/VvAlert/VvAlert.vue.d.ts +4 -4
- package/dist/components/VvAlertGroup/VvAlertGroup.es.js +136 -66
- package/dist/components/VvAlertGroup/VvAlertGroup.umd.js +1 -1
- package/dist/components/VvAlertGroup/VvAlertGroup.vue.d.ts +4 -4
- package/dist/components/VvAvatar/VvAvatar.es.js +22 -1
- package/dist/components/VvAvatar/VvAvatar.umd.js +1 -1
- package/dist/components/VvAvatarGroup/VvAvatarGroup.es.js +79 -28
- package/dist/components/VvAvatarGroup/VvAvatarGroup.umd.js +1 -1
- package/dist/components/VvBadge/VvBadge.es.js +39 -8
- package/dist/components/VvBadge/VvBadge.umd.js +1 -1
- package/dist/components/VvBreadcrumb/VvBreadcrumb.es.js +224 -41
- package/dist/components/VvBreadcrumb/VvBreadcrumb.umd.js +1 -1
- package/dist/components/VvBreadcrumb/VvBreadcrumb.vue.d.ts +14 -3
- package/dist/components/VvBreadcrumb/index.d.ts +2 -9
- package/dist/components/VvButton/VvButton.es.js +70 -25
- package/dist/components/VvButton/VvButton.umd.js +1 -1
- package/dist/components/VvButton/VvButton.vue.d.ts +25 -9
- package/dist/components/VvButton/index.d.ts +5 -0
- package/dist/components/VvButtonGroup/VvButtonGroup.es.js +33 -6
- package/dist/components/VvButtonGroup/VvButtonGroup.umd.js +1 -1
- package/dist/components/VvButtonGroup/VvButtonGroup.vue.d.ts +6 -6
- package/dist/components/VvCard/VvCard.es.js +47 -16
- package/dist/components/VvCard/VvCard.umd.js +1 -1
- package/dist/components/VvCheckbox/VvCheckbox.es.js +35 -7
- package/dist/components/VvCheckbox/VvCheckbox.umd.js +1 -1
- package/dist/components/VvCheckbox/VvCheckbox.vue.d.ts +8 -8
- package/dist/components/VvCheckbox/index.d.ts +1 -1
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.es.js +106 -51
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.umd.js +1 -1
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.vue.d.ts +7 -7
- package/dist/components/VvCheckboxGroup/index.d.ts +1 -1
- package/dist/components/VvCombobox/VvCombobox.es.js +635 -400
- package/dist/components/VvCombobox/VvCombobox.umd.js +1 -1
- package/dist/components/VvCombobox/VvCombobox.vue.d.ts +112 -112
- package/dist/components/VvCombobox/index.d.ts +32 -32
- package/dist/components/VvDialog/VvDialog.es.js +65 -27
- package/dist/components/VvDialog/VvDialog.umd.js +1 -1
- package/dist/components/VvDialog/VvDialog.vue.d.ts +4 -4
- package/dist/components/VvDropdown/VvDropdown.es.js +87 -46
- package/dist/components/VvDropdown/VvDropdown.umd.js +1 -1
- package/dist/components/VvDropdown/VvDropdown.vue.d.ts +203 -189
- package/dist/components/VvDropdown/VvDropdownAction.vue.d.ts +12 -0
- package/dist/components/VvDropdown/index.d.ts +32 -32
- package/dist/components/VvDropdownAction/VvDropdownAction.es.js +46 -12
- package/dist/components/VvDropdownAction/VvDropdownAction.umd.js +1 -1
- package/dist/components/VvDropdownItem/VvDropdownItem.es.js +13 -7
- package/dist/components/VvDropdownOptgroup/VvDropdownOptgroup.es.js +28 -1
- package/dist/components/VvDropdownOptgroup/VvDropdownOptgroup.umd.js +1 -1
- package/dist/components/VvDropdownOption/VvDropdownOption.es.js +40 -8
- package/dist/components/VvDropdownOption/VvDropdownOption.umd.js +1 -1
- package/dist/components/VvIcon/VvIcon.es.js +1 -1
- package/dist/components/VvIcon/VvIcon.umd.js +1 -1
- package/dist/components/VvInputText/VvInputClearAction.d.ts +1 -1
- package/dist/components/VvInputText/VvInputText.es.js +149 -99
- package/dist/components/VvInputText/VvInputText.umd.js +1 -1
- package/dist/components/VvInputText/VvInputText.vue.d.ts +10 -10
- package/dist/components/VvInputText/index.d.ts +8 -2
- package/dist/components/VvNav/VvNav.es.js +115 -63
- package/dist/components/VvNav/VvNav.umd.js +1 -1
- package/dist/components/VvNav/VvNav.vue.d.ts +31 -12
- package/dist/components/VvNav/VvNavItem.vue.d.ts +9 -0
- package/dist/components/VvNav/index.d.ts +1 -12
- package/dist/components/VvNavItem/VvNavItem.es.js +413 -0
- package/dist/components/VvNavItem/VvNavItem.umd.js +1 -0
- package/dist/components/VvNavSeparator/VvNavSeparator.es.js +24 -0
- package/dist/components/VvNavSeparator/VvNavSeparator.umd.js +1 -0
- package/dist/components/VvProgress/VvProgress.es.js +33 -6
- package/dist/components/VvProgress/VvProgress.umd.js +1 -1
- package/dist/components/VvRadio/VvRadio.es.js +35 -7
- package/dist/components/VvRadio/VvRadio.umd.js +1 -1
- package/dist/components/VvRadio/VvRadio.vue.d.ts +8 -8
- package/dist/components/VvRadio/index.d.ts +1 -1
- package/dist/components/VvRadioGroup/VvRadioGroup.es.js +106 -51
- package/dist/components/VvRadioGroup/VvRadioGroup.umd.js +1 -1
- package/dist/components/VvRadioGroup/VvRadioGroup.vue.d.ts +7 -7
- package/dist/components/VvRadioGroup/index.d.ts +1 -1
- package/dist/components/VvSelect/VvSelect.es.js +159 -99
- package/dist/components/VvSelect/VvSelect.umd.js +1 -1
- package/dist/components/VvSelect/VvSelect.vue.d.ts +13 -13
- package/dist/components/VvSelect/index.d.ts +1 -1
- package/dist/components/VvTab/VvTab.es.js +214 -99
- package/dist/components/VvTab/VvTab.umd.js +1 -1
- package/dist/components/VvTab/VvTab.vue.d.ts +40 -11
- package/dist/components/VvTab/index.d.ts +9 -3
- package/dist/components/VvTextarea/VvTextarea.es.js +123 -77
- package/dist/components/VvTextarea/VvTextarea.umd.js +1 -1
- package/dist/components/VvTextarea/VvTextarea.vue.d.ts +10 -10
- package/dist/components/VvTooltip/VvTooltip.es.js +40 -9
- package/dist/components/VvTooltip/VvTooltip.umd.js +1 -1
- package/dist/components/index.es.js +1593 -1012
- package/dist/components/index.umd.js +1 -1
- package/dist/composables/group/useInjectedGroupState.d.ts +1 -1
- package/dist/composables/useOptions.d.ts +1 -1
- package/dist/composables/useVolver.d.ts +1 -1
- package/dist/directives/index.d.ts +3 -5
- package/dist/directives/index.es.js +60 -23
- package/dist/directives/index.umd.js +1 -1
- package/dist/directives/v-tooltip.es.js +58 -18
- package/dist/directives/v-tooltip.umd.js +1 -1
- package/dist/icons.es.js +3 -3
- package/dist/icons.umd.js +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.es.js +19 -16
- package/dist/index.umd.js +1 -1
- package/dist/props/index.d.ts +58 -34
- package/dist/stories/AccordionGroup/AccordionGroup.stories.d.ts +50 -15
- package/dist/stories/AccordionGroup/AccordionGroupSlots.stories.d.ts +332 -83
- package/dist/stories/Combobox/Combobox.settings.d.ts +8 -0
- package/dist/stories/Combobox/ComboboxOptions.stories.d.ts +1 -0
- package/dist/stories/InputText/InputTextMask.stories.d.ts +1 -1
- package/dist/stories/Tab/Tab.settings.d.ts +4 -37
- package/dist/types/alert.d.ts +13 -0
- package/dist/types/floating-ui.d.ts +6 -0
- package/dist/types/generic.d.ts +4 -0
- package/dist/types/group.d.ts +37 -0
- package/dist/types/index.d.ts +5 -0
- package/dist/types/nav.d.ts +17 -0
- package/package.json +61 -52
- package/src/Volver.ts +22 -16
- package/src/assets/icons/detailed.json +1 -1
- package/src/assets/icons/normal.json +1 -1
- package/src/assets/icons/simple.json +1 -1
- package/src/components/VvAccordion/VvAccordion.vue +2 -2
- package/src/components/VvAction/VvAction.vue +5 -2
- package/src/components/VvBreadcrumb/VvBreadcrumb.vue +20 -19
- package/src/components/VvBreadcrumb/index.ts +2 -8
- package/src/components/VvCombobox/VvCombobox.vue +32 -33
- package/src/components/VvCombobox/index.ts +4 -0
- package/src/components/VvInputText/VvInputText.vue +2 -2
- package/src/components/VvNav/VvNav.vue +30 -50
- package/src/components/VvNav/VvNavItem.vue +18 -0
- package/src/components/VvNav/VvNavSeparator.vue +11 -0
- package/src/components/VvNav/index.ts +2 -15
- package/src/components/VvSelect/VvSelect.vue +4 -4
- package/src/components/VvTab/VvTab.vue +63 -35
- package/src/components/VvTab/index.ts +10 -4
- package/src/components/VvTextarea/VvTextarea.vue +1 -1
- package/src/composables/useOptions.ts +2 -2
- package/src/composables/useUniqueId.ts +2 -2
- package/src/directives/index.ts +1 -4
- package/src/directives/v-tooltip.ts +19 -10
- package/src/index.ts +3 -1
- package/src/props/index.ts +27 -3
- package/src/stories/Button/ButtonModifiers.stories.ts +4 -14
- package/src/stories/Combobox/Combobox.settings.ts +8 -0
- package/src/stories/Combobox/ComboboxOptions.stories.ts +18 -0
- package/src/stories/InputText/InputTextMask.stories.ts +1 -1
- package/src/stories/Nav/Nav.settings.ts +3 -4
- package/src/stories/Nav/Nav.test.ts +4 -15
- package/src/stories/Tab/Tab.settings.ts +9 -9
- package/src/stories/Tab/Tab.stories.ts +2 -2
- package/src/stories/Tab/Tab.test.ts +6 -14
- package/src/stories/argTypes.ts +1 -1
- package/src/types/generic.ts +6 -0
- package/src/types/index.ts +5 -0
- package/src/types/nav.ts +19 -0
- package/src/utils/ObjectUtilities.ts +3 -2
- package/dist/components/VvNav/VvNavItemTitle.vue.d.ts +0 -6
- package/dist/components/VvNavItemTitle/VvNavItemTitle.es.js +0 -19
- package/dist/components/VvNavItemTitle/VvNavItemTitle.umd.js +0 -1
- package/src/components/VvNav/VvNavItemTitle.vue +0 -11
- package/src/components/VvNav/VvNavSeparator.ts +0 -8
- package/src/types/generic.d.ts +0 -6
- /package/dist/components/VvNav/{VvNavSeparator.d.ts → VvNavSeparator.vue.d.ts} +0 -0
- /package/src/types/{alert.d.ts → alert.ts} +0 -0
- /package/src/types/{floating-ui.d.ts → floating-ui.ts} +0 -0
- /package/src/types/{group.d.ts → group.ts} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import VolverPlugin from './Volver';
|
|
2
|
-
import type { Volver } from './Volver';
|
|
2
|
+
import type { Volver, VolverOptions } from './Volver';
|
|
3
3
|
export { VolverPlugin };
|
|
4
|
+
export * from './types';
|
|
5
|
+
export type { Volver, VolverOptions };
|
|
4
6
|
declare module 'vue' {
|
|
5
7
|
interface ComponentCustomProperties {
|
|
6
8
|
$vv?: typeof Volver.prototype;
|
package/dist/index.es.js
CHANGED
|
@@ -21,25 +21,28 @@ function useDefaultProps(component, defaults, name) {
|
|
|
21
21
|
return {
|
|
22
22
|
...component,
|
|
23
23
|
name: componentName,
|
|
24
|
-
props: Object.keys(props).reduce(
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
24
|
+
props: Object.keys(props).reduce(
|
|
25
|
+
(acc, key) => {
|
|
26
|
+
if (!(key in componentDefaults)) {
|
|
27
|
+
acc[key] = props[key];
|
|
28
|
+
return acc;
|
|
29
|
+
}
|
|
30
|
+
const customDefault = componentDefaults[key];
|
|
31
|
+
if (typeof props[key] === "function" || Array.isArray(props[key])) {
|
|
32
|
+
acc[key] = {
|
|
33
|
+
type: props[key],
|
|
34
|
+
default: customDefault
|
|
35
|
+
};
|
|
36
|
+
return acc;
|
|
37
|
+
}
|
|
31
38
|
acc[key] = {
|
|
32
|
-
|
|
39
|
+
...props[key],
|
|
33
40
|
default: customDefault
|
|
34
41
|
};
|
|
35
42
|
return acc;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
default: customDefault
|
|
40
|
-
};
|
|
41
|
-
return acc;
|
|
42
|
-
}, {})
|
|
43
|
+
},
|
|
44
|
+
{}
|
|
45
|
+
)
|
|
43
46
|
};
|
|
44
47
|
}
|
|
45
48
|
class Volver {
|
|
@@ -111,7 +114,7 @@ const VolverPlugin = {
|
|
|
111
114
|
* @param {App} Vue
|
|
112
115
|
* @param {Object} options
|
|
113
116
|
*/
|
|
114
|
-
install(app, options) {
|
|
117
|
+
install(app, options = {}) {
|
|
115
118
|
const volver = new Volver(options);
|
|
116
119
|
app.config.globalProperties.$vv = volver;
|
|
117
120
|
if (options.components) {
|
package/dist/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@iconify/vue"),require("vue")):"function"==typeof define&&define.amd?define(["exports","@iconify/vue","vue"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).volver={},e.vue$1,e.vue)}(this,(function(e,t,o){"use strict";var i=Object.defineProperty,n=(e,t,o)=>(((e,t,o)=>{t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o})(e,"symbol"!=typeof t?t+"":t,o),o);const r=Symbol.for("volver");function s(e,t,o){const i=o||e.name;if(!i)return e;const n=null==t?void 0:t[i],r=e.props;return n&&r?{...e,name:i,props:Object.keys(r).reduce(((e,t)=>{if(!(t in n))return e[t]=r[t],e;const o=n[t];return"function"==typeof r[t]||Array.isArray(r[t])?(e[t]={type:r[t],default:o},e):(e[t]={...r[t],default:o},e)}),{})}:{...e,name:i}}class c{constructor({fetchWithCredentials:e,fetchOptions:t,iconsProvider:i,nuxt:r,iconsCollections:s,defaults:c}={}){n(this,"_fetchOptions",{}),n(this,"_iconsCollections",[]),n(this,"_iconsProvider","vv"),n(this,"_nuxt",!1),n(this,"defaults",o.ref({})),t&&(this._fetchOptions=t),e&&(this._fetchOptions={...this._fetchOptions,credentials:"include"}),i&&(this._iconsProvider=i),r&&(this._nuxt=r),s&&Array.isArray(s)&&s.forEach((e=>{this.addCollection(e,this._iconsProvider)})),c&&(this.defaults.value=c)}get nuxt(){return this._nuxt}get iconsProvider(){return this._iconsProvider}get iconsCollections(){return this._iconsCollections}addCollection(e,o=this._iconsProvider){return this._iconsCollections.push(e),t.addCollection(e,o)}addIcon(e,o){return t.addIcon(e,o)}addIconsAPIProvider(e,o){return t.addAPIProvider(e,o)}fetchIcon(e,t={cache:"force-cache"}){return new Promise(((o,i)=>{fetch(e,{...this._fetchOptions,...t}).catch((e=>i(e))).then((e=>null==e?void 0:e.text())).then((e=>o(e)))}))}}const l={install(e,t){const o=new c(t);e.config.globalProperties.$vv=o,t.components&&Object.entries(t.components).forEach((([o,i])=>{e.component(o,s(i,t.defaults))})),t.aliases&&Object.entries(t.aliases).forEach((([o,i])=>{e.component(o,s(i,t.defaults,o))})),t.directives&&Object.entries(t.directives).forEach((([t,o])=>{e.directive(t,o)})),e.provide(r,o)}};e.VolverPlugin=l,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}));
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@iconify/vue"),require("vue")):"function"==typeof define&&define.amd?define(["exports","@iconify/vue","vue"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).volver={},e.vue$1,e.vue)}(this,(function(e,t,o){"use strict";var i=Object.defineProperty,n=(e,t,o)=>(((e,t,o)=>{t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o})(e,"symbol"!=typeof t?t+"":t,o),o);const r=Symbol.for("volver");function s(e,t,o){const i=o||e.name;if(!i)return e;const n=null==t?void 0:t[i],r=e.props;return n&&r?{...e,name:i,props:Object.keys(r).reduce(((e,t)=>{if(!(t in n))return e[t]=r[t],e;const o=n[t];return"function"==typeof r[t]||Array.isArray(r[t])?(e[t]={type:r[t],default:o},e):(e[t]={...r[t],default:o},e)}),{})}:{...e,name:i}}class c{constructor({fetchWithCredentials:e,fetchOptions:t,iconsProvider:i,nuxt:r,iconsCollections:s,defaults:c}={}){n(this,"_fetchOptions",{}),n(this,"_iconsCollections",[]),n(this,"_iconsProvider","vv"),n(this,"_nuxt",!1),n(this,"defaults",o.ref({})),t&&(this._fetchOptions=t),e&&(this._fetchOptions={...this._fetchOptions,credentials:"include"}),i&&(this._iconsProvider=i),r&&(this._nuxt=r),s&&Array.isArray(s)&&s.forEach((e=>{this.addCollection(e,this._iconsProvider)})),c&&(this.defaults.value=c)}get nuxt(){return this._nuxt}get iconsProvider(){return this._iconsProvider}get iconsCollections(){return this._iconsCollections}addCollection(e,o=this._iconsProvider){return this._iconsCollections.push(e),t.addCollection(e,o)}addIcon(e,o){return t.addIcon(e,o)}addIconsAPIProvider(e,o){return t.addAPIProvider(e,o)}fetchIcon(e,t={cache:"force-cache"}){return new Promise(((o,i)=>{fetch(e,{...this._fetchOptions,...t}).catch((e=>i(e))).then((e=>null==e?void 0:e.text())).then((e=>o(e)))}))}}const l={install(e,t={}){const o=new c(t);e.config.globalProperties.$vv=o,t.components&&Object.entries(t.components).forEach((([o,i])=>{e.component(o,s(i,t.defaults))})),t.aliases&&Object.entries(t.aliases).forEach((([o,i])=>{e.component(o,s(i,t.defaults,o))})),t.directives&&Object.entries(t.directives).forEach((([t,o])=>{e.directive(t,o)})),e.provide(r,o)}};e.VolverPlugin=l,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}));
|
package/dist/props/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type { Option } from '
|
|
3
|
-
import {
|
|
2
|
+
import type { Option } from '@/types/generic';
|
|
3
|
+
import type { NavItem } from '@/types/nav';
|
|
4
|
+
import { Placement, Strategy, Position, Side, AnchorTarget, ButtonType, ActionTag } from '@/constants';
|
|
4
5
|
export declare const LinkProps: {
|
|
5
6
|
/**
|
|
6
7
|
* The router-link/nuxt-link property, if it is defined the button is rendered as a ruouter-link or nuxt-link.
|
|
@@ -79,6 +80,12 @@ export declare const ActiveProps: {
|
|
|
79
80
|
*/
|
|
80
81
|
active: BooleanConstructor;
|
|
81
82
|
};
|
|
83
|
+
export declare const CurrentProps: {
|
|
84
|
+
/**
|
|
85
|
+
* Whether the item is current
|
|
86
|
+
*/
|
|
87
|
+
current: BooleanConstructor;
|
|
88
|
+
};
|
|
82
89
|
export declare const PressedProps: {
|
|
83
90
|
/**
|
|
84
91
|
* Whether the item is pressed
|
|
@@ -241,24 +248,24 @@ export declare const DropdownProps: {
|
|
|
241
248
|
*/
|
|
242
249
|
shift: {
|
|
243
250
|
type: PropType<boolean | {
|
|
244
|
-
mainAxis?: boolean | undefined;
|
|
245
|
-
crossAxis?: boolean | undefined;
|
|
246
251
|
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
247
252
|
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
248
253
|
altBoundary?: boolean | undefined;
|
|
249
|
-
padding?: import("@floating-ui/
|
|
254
|
+
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
255
|
+
crossAxis?: boolean | undefined;
|
|
256
|
+
mainAxis?: boolean | undefined;
|
|
250
257
|
limiter?: {
|
|
251
258
|
fn: (state: import("@floating-ui/core").MiddlewareState) => import("@floating-ui/core").Coords;
|
|
252
259
|
options?: any;
|
|
253
260
|
} | undefined;
|
|
254
261
|
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
255
262
|
} | import("@floating-ui/dom").Derivable<{
|
|
256
|
-
mainAxis?: boolean | undefined;
|
|
257
|
-
crossAxis?: boolean | undefined;
|
|
258
263
|
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
259
264
|
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
260
265
|
altBoundary?: boolean | undefined;
|
|
261
|
-
padding?: import("@floating-ui/
|
|
266
|
+
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
267
|
+
crossAxis?: boolean | undefined;
|
|
268
|
+
mainAxis?: boolean | undefined;
|
|
262
269
|
limiter?: {
|
|
263
270
|
fn: (state: import("@floating-ui/core").MiddlewareState) => import("@floating-ui/core").Coords;
|
|
264
271
|
options?: any;
|
|
@@ -273,25 +280,25 @@ export declare const DropdownProps: {
|
|
|
273
280
|
*/
|
|
274
281
|
flip: {
|
|
275
282
|
type: PropType<boolean | {
|
|
276
|
-
mainAxis?: boolean | undefined;
|
|
277
|
-
crossAxis?: boolean | undefined;
|
|
278
283
|
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
279
284
|
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
280
285
|
altBoundary?: boolean | undefined;
|
|
281
|
-
padding?: import("@floating-ui/
|
|
282
|
-
|
|
286
|
+
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
287
|
+
crossAxis?: boolean | undefined;
|
|
288
|
+
mainAxis?: boolean | undefined;
|
|
289
|
+
fallbackPlacements?: import("@floating-ui/utils").Placement[] | undefined;
|
|
283
290
|
fallbackStrategy?: "initialPlacement" | "bestFit" | undefined;
|
|
284
291
|
fallbackAxisSideDirection?: "start" | "end" | "none" | undefined;
|
|
285
292
|
flipAlignment?: boolean | undefined;
|
|
286
293
|
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
287
294
|
} | import("@floating-ui/dom").Derivable<{
|
|
288
|
-
mainAxis?: boolean | undefined;
|
|
289
|
-
crossAxis?: boolean | undefined;
|
|
290
295
|
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
291
296
|
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
292
297
|
altBoundary?: boolean | undefined;
|
|
293
|
-
padding?: import("@floating-ui/
|
|
294
|
-
|
|
298
|
+
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
299
|
+
crossAxis?: boolean | undefined;
|
|
300
|
+
mainAxis?: boolean | undefined;
|
|
301
|
+
fallbackPlacements?: import("@floating-ui/utils").Placement[] | undefined;
|
|
295
302
|
fallbackStrategy?: "initialPlacement" | "bestFit" | undefined;
|
|
296
303
|
fallbackAxisSideDirection?: "start" | "end" | "none" | undefined;
|
|
297
304
|
flipAlignment?: boolean | undefined;
|
|
@@ -308,16 +315,16 @@ export declare const DropdownProps: {
|
|
|
308
315
|
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
309
316
|
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
310
317
|
altBoundary?: boolean | undefined;
|
|
311
|
-
padding?: import("@floating-ui/
|
|
318
|
+
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
312
319
|
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
313
320
|
apply?: ((args: {
|
|
314
321
|
x: number;
|
|
315
322
|
y: number;
|
|
316
|
-
initialPlacement: import("@floating-ui/
|
|
317
|
-
placement: import("@floating-ui/
|
|
318
|
-
strategy: import("@floating-ui/
|
|
323
|
+
initialPlacement: import("@floating-ui/utils").Placement;
|
|
324
|
+
placement: import("@floating-ui/utils").Placement;
|
|
325
|
+
strategy: import("@floating-ui/utils").Strategy;
|
|
319
326
|
middlewareData: import("@floating-ui/core").MiddlewareData;
|
|
320
|
-
rects: import("@floating-ui/
|
|
327
|
+
rects: import("@floating-ui/utils").ElementRects;
|
|
321
328
|
platform: import("@floating-ui/core").Platform;
|
|
322
329
|
elements: import("@floating-ui/dom").Elements;
|
|
323
330
|
} & {
|
|
@@ -328,16 +335,16 @@ export declare const DropdownProps: {
|
|
|
328
335
|
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
329
336
|
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
330
337
|
altBoundary?: boolean | undefined;
|
|
331
|
-
padding?: import("@floating-ui/
|
|
338
|
+
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
332
339
|
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
333
340
|
apply?: ((args: {
|
|
334
341
|
x: number;
|
|
335
342
|
y: number;
|
|
336
|
-
initialPlacement: import("@floating-ui/
|
|
337
|
-
placement: import("@floating-ui/
|
|
338
|
-
strategy: import("@floating-ui/
|
|
343
|
+
initialPlacement: import("@floating-ui/utils").Placement;
|
|
344
|
+
placement: import("@floating-ui/utils").Placement;
|
|
345
|
+
strategy: import("@floating-ui/utils").Strategy;
|
|
339
346
|
middlewareData: import("@floating-ui/core").MiddlewareData;
|
|
340
|
-
rects: import("@floating-ui/
|
|
347
|
+
rects: import("@floating-ui/utils").ElementRects;
|
|
341
348
|
platform: import("@floating-ui/core").Platform;
|
|
342
349
|
elements: import("@floating-ui/dom").Elements;
|
|
343
350
|
} & {
|
|
@@ -355,24 +362,24 @@ export declare const DropdownProps: {
|
|
|
355
362
|
*/
|
|
356
363
|
autoPlacement: {
|
|
357
364
|
type: PropType<boolean | {
|
|
358
|
-
crossAxis?: boolean | undefined;
|
|
359
365
|
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
360
366
|
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
361
367
|
altBoundary?: boolean | undefined;
|
|
362
|
-
padding?: import("@floating-ui/
|
|
363
|
-
|
|
368
|
+
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
369
|
+
crossAxis?: boolean | undefined;
|
|
370
|
+
alignment?: import("@floating-ui/utils").Alignment | null | undefined;
|
|
364
371
|
autoAlignment?: boolean | undefined;
|
|
365
|
-
allowedPlacements?: import("@floating-ui/
|
|
372
|
+
allowedPlacements?: import("@floating-ui/utils").Placement[] | undefined;
|
|
366
373
|
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
367
374
|
} | import("@floating-ui/dom").Derivable<{
|
|
368
|
-
crossAxis?: boolean | undefined;
|
|
369
375
|
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
370
376
|
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
371
377
|
altBoundary?: boolean | undefined;
|
|
372
|
-
padding?: import("@floating-ui/
|
|
373
|
-
|
|
378
|
+
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
379
|
+
crossAxis?: boolean | undefined;
|
|
380
|
+
alignment?: import("@floating-ui/utils").Alignment | null | undefined;
|
|
374
381
|
autoAlignment?: boolean | undefined;
|
|
375
|
-
allowedPlacements?: import("@floating-ui/
|
|
382
|
+
allowedPlacements?: import("@floating-ui/utils").Placement[] | undefined;
|
|
376
383
|
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
377
384
|
}> | undefined>;
|
|
378
385
|
default: boolean;
|
|
@@ -770,6 +777,13 @@ export declare const ActionProps: {
|
|
|
770
777
|
type: StringConstructor;
|
|
771
778
|
default: undefined;
|
|
772
779
|
};
|
|
780
|
+
/**
|
|
781
|
+
* Default tag for the action
|
|
782
|
+
*/
|
|
783
|
+
defaultTag: {
|
|
784
|
+
type: StringConstructor;
|
|
785
|
+
default: ActionTag;
|
|
786
|
+
};
|
|
773
787
|
/**
|
|
774
788
|
* The router-link/nuxt-link property, if it is defined the button is rendered as a ruouter-link or nuxt-link.
|
|
775
789
|
* @see Documentation of [router-link](https://router.vuejs.org/api/#router-link) and [nuxt-link](https://nuxtjs.org/api/components-nuxt-link/)
|
|
@@ -795,6 +809,10 @@ export declare const ActionProps: {
|
|
|
795
809
|
type: StringConstructor;
|
|
796
810
|
default: string;
|
|
797
811
|
};
|
|
812
|
+
/**
|
|
813
|
+
* Whether the item is current
|
|
814
|
+
*/
|
|
815
|
+
current: BooleanConstructor;
|
|
798
816
|
/**
|
|
799
817
|
* Whether the item is active
|
|
800
818
|
*/
|
|
@@ -812,3 +830,9 @@ export declare const ActionProps: {
|
|
|
812
830
|
*/
|
|
813
831
|
disabled: BooleanConstructor;
|
|
814
832
|
};
|
|
833
|
+
export declare const NavProps: {
|
|
834
|
+
items: {
|
|
835
|
+
type: PropType<NavItem[]>;
|
|
836
|
+
default: () => never[];
|
|
837
|
+
};
|
|
838
|
+
};
|
|
@@ -5,20 +5,57 @@ declare const _default: Meta<{
|
|
|
5
5
|
$: import("vue").ComponentInternalInstance;
|
|
6
6
|
$data: {};
|
|
7
7
|
$props: {
|
|
8
|
-
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
9
8
|
disabled?: boolean | undefined;
|
|
10
|
-
not?: boolean | undefined;
|
|
11
9
|
collapse?: boolean | undefined;
|
|
10
|
+
not?: boolean | undefined;
|
|
12
11
|
items?: import("../../components/VvAccordionGroup").VvAccordionGroupItem[] | undefined;
|
|
13
12
|
itemModifiers?: string | string[] | undefined;
|
|
14
|
-
|
|
13
|
+
key?: string | number | symbol | undefined;
|
|
15
14
|
readonly modelValue?: string | unknown[] | undefined;
|
|
16
15
|
readonly modifiers?: string | string[] | undefined;
|
|
17
|
-
|
|
16
|
+
ref?: import("vue").VNodeRef | undefined;
|
|
18
17
|
style?: unknown;
|
|
19
18
|
class?: unknown;
|
|
20
19
|
ref_for?: boolean | undefined;
|
|
21
20
|
ref_key?: string | undefined;
|
|
21
|
+
onVnodeBeforeMount?: ((vnode: globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
22
|
+
[key: string]: any;
|
|
23
|
+
}>) => void) | ((vnode: globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
24
|
+
[key: string]: any;
|
|
25
|
+
}>) => void)[] | undefined;
|
|
26
|
+
onVnodeMounted?: ((vnode: globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
}>) => void) | ((vnode: globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
29
|
+
[key: string]: any;
|
|
30
|
+
}>) => void)[] | undefined;
|
|
31
|
+
onVnodeBeforeUpdate?: ((vnode: globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
32
|
+
[key: string]: any;
|
|
33
|
+
}>, oldVNode: globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
34
|
+
[key: string]: any;
|
|
35
|
+
}>) => void) | ((vnode: globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
36
|
+
[key: string]: any;
|
|
37
|
+
}>, oldVNode: globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
38
|
+
[key: string]: any;
|
|
39
|
+
}>) => void)[] | undefined;
|
|
40
|
+
onVnodeUpdated?: ((vnode: globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
41
|
+
[key: string]: any;
|
|
42
|
+
}>, oldVNode: globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
43
|
+
[key: string]: any;
|
|
44
|
+
}>) => void) | ((vnode: globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
45
|
+
[key: string]: any;
|
|
46
|
+
}>, oldVNode: globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
47
|
+
[key: string]: any;
|
|
48
|
+
}>) => void)[] | undefined;
|
|
49
|
+
onVnodeBeforeUnmount?: ((vnode: globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
50
|
+
[key: string]: any;
|
|
51
|
+
}>) => void) | ((vnode: globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
52
|
+
[key: string]: any;
|
|
53
|
+
}>) => void)[] | undefined;
|
|
54
|
+
onVnodeUnmounted?: ((vnode: globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
55
|
+
[key: string]: any;
|
|
56
|
+
}>) => void) | ((vnode: globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
57
|
+
[key: string]: any;
|
|
58
|
+
}>) => void)[] | undefined;
|
|
22
59
|
readonly storeKey?: string | undefined;
|
|
23
60
|
};
|
|
24
61
|
$attrs: {
|
|
@@ -49,12 +86,12 @@ declare const _default: Meta<{
|
|
|
49
86
|
not: BooleanConstructor;
|
|
50
87
|
storeKey: StringConstructor;
|
|
51
88
|
modifiers: globalThis.PropType<string | string[]>;
|
|
52
|
-
}
|
|
53
|
-
[x:
|
|
54
|
-
},
|
|
89
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
90
|
+
[x: string]: (...args: any[]) => void;
|
|
91
|
+
}, string, {
|
|
55
92
|
disabled: boolean;
|
|
56
|
-
not: boolean;
|
|
57
93
|
collapse: boolean;
|
|
94
|
+
not: boolean;
|
|
58
95
|
items: import("../../components/VvAccordionGroup").VvAccordionGroupItem[];
|
|
59
96
|
itemModifiers: string | string[];
|
|
60
97
|
}, {}, string, {}> & {
|
|
@@ -92,9 +129,7 @@ declare const _default: Meta<{
|
|
|
92
129
|
not: BooleanConstructor;
|
|
93
130
|
storeKey: StringConstructor;
|
|
94
131
|
modifiers: globalThis.PropType<string | string[]>;
|
|
95
|
-
}>> & {
|
|
96
|
-
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
97
|
-
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
132
|
+
}>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
98
133
|
__isFragment?: undefined;
|
|
99
134
|
__isTeleport?: undefined;
|
|
100
135
|
__isSuspense?: undefined;
|
|
@@ -113,12 +148,12 @@ declare const _default: Meta<{
|
|
|
113
148
|
not: BooleanConstructor;
|
|
114
149
|
storeKey: StringConstructor;
|
|
115
150
|
modifiers: globalThis.PropType<string | string[]>;
|
|
116
|
-
}
|
|
117
|
-
[x:
|
|
118
|
-
},
|
|
151
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
152
|
+
[x: string]: (...args: any[]) => void;
|
|
153
|
+
}, string, {
|
|
119
154
|
disabled: boolean;
|
|
120
|
-
not: boolean;
|
|
121
155
|
collapse: boolean;
|
|
156
|
+
not: boolean;
|
|
122
157
|
items: import("../../components/VvAccordionGroup").VvAccordionGroupItem[];
|
|
123
158
|
itemModifiers: string | string[];
|
|
124
159
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|