@evance/evance-ui 1.0.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.
- package/README.md +18 -0
- package/dist/components/EvAvatar/EvAvatar.d.ts +83 -0
- package/dist/components/EvAvatar/EvAvatar.vue.d.ts +69 -0
- package/dist/components/EvAvatar/index.d.ts +2 -0
- package/dist/components/EvBadge/EvBadge.d.ts +135 -0
- package/dist/components/EvBadge/EvBadge.vue.d.ts +104 -0
- package/dist/components/EvBadge/index.d.ts +2 -0
- package/dist/components/EvButton/EvButton.d.ts +178 -0
- package/dist/components/EvButton/EvButton.vue.d.ts +111 -0
- package/dist/components/EvButton/index.d.ts +2 -0
- package/dist/components/EvButtonGroup/EvButtonGroup.d.ts +66 -0
- package/dist/components/EvButtonGroup/EvButtonGroup.vue.d.ts +56 -0
- package/dist/components/EvButtonGroup/index.d.ts +2 -0
- package/dist/components/EvButtonToggle/EvButtonToggle.d.ts +133 -0
- package/dist/components/EvButtonToggle/EvButtonToggle.vue.d.ts +102 -0
- package/dist/components/EvButtonToggle/index.d.ts +2 -0
- package/dist/components/EvCheckbox/EvCheckbox.d.ts +123 -0
- package/dist/components/EvCheckbox/EvCheckbox.vue.d.ts +84 -0
- package/dist/components/EvCheckbox/index.d.ts +2 -0
- package/dist/components/EvDateField/EvDateField.d.ts +237 -0
- package/dist/components/EvDateField/EvDateField.vue.d.ts +158 -0
- package/dist/components/EvDateField/index.d.ts +2 -0
- package/dist/components/EvDatePicker/EvDatePicker.d.ts +68 -0
- package/dist/components/EvDatePicker/EvDatePicker.vue.d.ts +55 -0
- package/dist/components/EvDatePicker/EvDatePickerMonth/EvDatePickerMonth.d.ts +81 -0
- package/dist/components/EvDatePicker/EvDatePickerMonth/EvDatePickerMonth.vue.d.ts +44 -0
- package/dist/components/EvDatePicker/EvDatePickerMonth/index.d.ts +2 -0
- package/dist/components/EvDatePicker/EvDatePickerMonths/EvDatePickerMonths.d.ts +8 -0
- package/dist/components/EvDatePicker/EvDatePickerMonths/EvDatePickerMonths.vue.d.ts +11 -0
- package/dist/components/EvDatePicker/EvDatePickerMonths/index.d.ts +2 -0
- package/dist/components/EvDatePicker/EvDatePickerYears/EvDatePickerYears.d.ts +20 -0
- package/dist/components/EvDatePicker/EvDatePickerYears/EvDatePickerYears.vue.d.ts +15 -0
- package/dist/components/EvDatePicker/EvDatePickerYears/index.d.ts +2 -0
- package/dist/components/EvDatePicker/index.d.ts +2 -0
- package/dist/components/EvDefaultsProvider/EvDefaultsProvider.d.ts +37 -0
- package/dist/components/EvDefaultsProvider/EvDefaultsProvider.vue.d.ts +24 -0
- package/dist/components/EvDefaultsProvider/index.d.ts +2 -0
- package/dist/components/EvDialog/EvDialog.d.ts +362 -0
- package/dist/components/EvDialog/EvDialog.vue.d.ts +266 -0
- package/dist/components/EvDialog/EvDialogBody.vue.d.ts +9 -0
- package/dist/components/EvDialog/EvDialogFooter.vue.d.ts +9 -0
- package/dist/components/EvDialog/EvDialogHeader.vue.d.ts +23 -0
- package/dist/components/EvDialog/EvDialogInstance.d.ts +12 -0
- package/dist/components/EvDialog/EvDialogRenderer.d.ts +61 -0
- package/dist/components/EvDialog/EvDialogServiceOpener.d.ts +36 -0
- package/dist/components/EvDialog/EvDialogTransition.vue.d.ts +27 -0
- package/dist/components/EvDialog/index.d.ts +2 -0
- package/dist/components/EvDivider/EvDivider.vue.d.ts +60 -0
- package/dist/components/EvDivider/index.d.ts +1 -0
- package/dist/components/EvDrawer/EvDrawer.d.ts +317 -0
- package/dist/components/EvDrawer/EvDrawer.vue.d.ts +227 -0
- package/dist/components/EvDrawer/EvDrawerInstance.d.ts +12 -0
- package/dist/components/EvDrawer/EvDrawerRenderer.d.ts +61 -0
- package/dist/components/EvDrawer/EvDrawerServiceOpener.d.ts +22 -0
- package/dist/components/EvDrawer/index.d.ts +2 -0
- package/dist/components/EvErrors/EvErrors.d.ts +37 -0
- package/dist/components/EvErrors/EvErrors.vue.d.ts +29 -0
- package/dist/components/EvErrors/index.d.ts +2 -0
- package/dist/components/EvForm/EvForm.d.ts +51 -0
- package/dist/components/EvForm/EvForm.vue.d.ts +60 -0
- package/dist/components/EvForm/index.d.ts +2 -0
- package/dist/components/EvGrid/EvBlock/EvBlock.d.ts +101 -0
- package/dist/components/EvGrid/EvBlock/EvBlock.vue.d.ts +50 -0
- package/dist/components/EvGrid/EvBlock/index.d.ts +2 -0
- package/dist/components/EvGrid/EvContainer/EvContainer.d.ts +67 -0
- package/dist/components/EvGrid/EvContainer/EvContainer.vue.d.ts +51 -0
- package/dist/components/EvGrid/EvContainer/index.d.ts +2 -0
- package/dist/components/EvGrid/EvLayout/EvLayout.d.ts +105 -0
- package/dist/components/EvGrid/EvLayout/EvLayout.vue.d.ts +53 -0
- package/dist/components/EvGrid/EvLayout/index.d.ts +2 -0
- package/dist/components/EvGrid/EvSpacer/EvSpacer.d.ts +22 -0
- package/dist/components/EvGrid/EvSpacer/EvSpacer.vue.d.ts +24 -0
- package/dist/components/EvGrid/EvSpacer/index.d.ts +2 -0
- package/dist/components/EvGrid/index.d.ts +4 -0
- package/dist/components/EvIcon/EvIcon.d.ts +47 -0
- package/dist/components/EvIcon/EvIcon.vue.d.ts +29 -0
- package/dist/components/EvIcon/index.d.ts +2 -0
- package/dist/components/EvImg/EvImg.d.ts +180 -0
- package/dist/components/EvImg/EvImg.vue.d.ts +121 -0
- package/dist/components/EvImg/index.d.ts +2 -0
- package/dist/components/EvKbd/EvKbd.d.ts +32 -0
- package/dist/components/EvKbd/EvKbd.vue.d.ts +28 -0
- package/dist/components/EvKbd/index.d.ts +2 -0
- package/dist/components/EvLabel/EvLabel.d.ts +29 -0
- package/dist/components/EvLabel/EvLabel.vue.d.ts +29 -0
- package/dist/components/EvLabel/index.d.ts +2 -0
- package/dist/components/EvList/EvList.d.ts +211 -0
- package/dist/components/EvList/EvList.vue.d.ts +147 -0
- package/dist/components/EvList/EvListChildren.vue.d.ts +21 -0
- package/dist/components/EvList/index.d.ts +2 -0
- package/dist/components/EvListItem/EvListItem.d.ts +108 -0
- package/dist/components/EvListItem/EvListItem.vue.d.ts +87 -0
- package/dist/components/EvListItem/index.d.ts +2 -0
- package/dist/components/EvLozenge/EvLozenge.vue.d.ts +48 -0
- package/dist/components/EvLozenge/index.d.ts +1 -0
- package/dist/components/EvMenu/EvMenu.d.ts +336 -0
- package/dist/components/EvMenu/EvMenu.vue.d.ts +256 -0
- package/dist/components/EvMenu/EvMenuTransition.vue.d.ts +15 -0
- package/dist/components/EvMenu/index.d.ts +3 -0
- package/dist/components/EvMenu/shared.d.ts +9 -0
- package/dist/components/EvMessage/EvMessage.d.ts +147 -0
- package/dist/components/EvMessage/EvMessage.vue.d.ts +107 -0
- package/dist/components/EvMessage/index.d.ts +2 -0
- package/dist/components/EvNotification/EvNotification.d.ts +169 -0
- package/dist/components/EvNotification/EvNotification.vue.d.ts +138 -0
- package/dist/components/EvNotification/index.d.ts +2 -0
- package/dist/components/EvNotifications/EvNotifications.d.ts +14 -0
- package/dist/components/EvNotifications/EvNotifications.vue.d.ts +3 -0
- package/dist/components/EvNotifications/EvNotificationsManager.d.ts +92 -0
- package/dist/components/EvNotifications/index.d.ts +3 -0
- package/dist/components/EvNumberField/EvNumberField.d.ts +389 -0
- package/dist/components/EvNumberField/EvNumberField.vue.d.ts +177 -0
- package/dist/components/EvNumberField/index.d.ts +2 -0
- package/dist/components/EvOverlay/EvOverlay.d.ts +264 -0
- package/dist/components/EvOverlay/EvOverlay.vue.d.ts +196 -0
- package/dist/components/EvOverlay/activator.d.ts +227 -0
- package/dist/components/EvOverlay/index.d.ts +5 -0
- package/dist/components/EvOverlay/position-strategy/connected-position.d.ts +15 -0
- package/dist/components/EvOverlay/position-strategy/index.d.ts +2 -0
- package/dist/components/EvOverlay/position-strategy/static-position.d.ts +10 -0
- package/dist/components/EvOverlay/position.d.ts +81 -0
- package/dist/components/EvOverlay/scroll-strategy/block-scroll.d.ts +8 -0
- package/dist/components/EvOverlay/scroll-strategy/close-scroll.d.ts +7 -0
- package/dist/components/EvOverlay/scroll-strategy/index.d.ts +3 -0
- package/dist/components/EvOverlay/scroll-strategy/reposition-scroll.d.ts +10 -0
- package/dist/components/EvOverlay/scroll.d.ts +47 -0
- package/dist/components/EvProgress/EvProgress.vue.d.ts +42 -0
- package/dist/components/EvProgress/index.d.ts +1 -0
- package/dist/components/EvProgressCircular/EvProgressCircular.vue.d.ts +58 -0
- package/dist/components/EvProgressCircular/index.d.ts +1 -0
- package/dist/components/EvQuickfind/EvQuickfind.vue.d.ts +35 -0
- package/dist/components/EvQuickfind/index.d.ts +1 -0
- package/dist/components/EvRadio/EvRadio.d.ts +90 -0
- package/dist/components/EvRadio/EvRadio.vue.d.ts +74 -0
- package/dist/components/EvRadio/index.d.ts +2 -0
- package/dist/components/EvRadioGroup/EvRadioGroup.d.ts +91 -0
- package/dist/components/EvRadioGroup/EvRadioGroup.vue.d.ts +65 -0
- package/dist/components/EvRadioGroup/index.d.ts +2 -0
- package/dist/components/EvResponsive/EvResponsive.d.ts +85 -0
- package/dist/components/EvResponsive/EvResponsive.vue.d.ts +44 -0
- package/dist/components/EvResponsive/index.d.ts +2 -0
- package/dist/components/EvSelect/EvSelect.d.ts +378 -0
- package/dist/components/EvSelect/EvSelect.vue.d.ts +288 -0
- package/dist/components/EvSelect/index.d.ts +2 -0
- package/dist/components/EvSelect/useScrolling.d.ts +14 -0
- package/dist/components/EvSlideGroup/EvSlideGroup.d.ts +151 -0
- package/dist/components/EvSlideGroup/EvSlideGroup.vue.d.ts +100 -0
- package/dist/components/EvSlideGroup/EvSlideGroupItem.vue.d.ts +36 -0
- package/dist/components/EvSlideGroup/helpers.d.ts +40 -0
- package/dist/components/EvSlideGroup/index.d.ts +3 -0
- package/dist/components/EvSurface/EvSurface.d.ts +84 -0
- package/dist/components/EvSurface/EvSurface.vue.d.ts +52 -0
- package/dist/components/EvSurface/index.d.ts +2 -0
- package/dist/components/EvSwitch/EvSwitch.d.ts +106 -0
- package/dist/components/EvSwitch/EvSwitch.vue.d.ts +84 -0
- package/dist/components/EvSwitch/index.d.ts +2 -0
- package/dist/components/EvTabs/EvTab/EvTab.d.ts +166 -0
- package/dist/components/EvTabs/EvTab/EvTab.vue.d.ts +118 -0
- package/dist/components/EvTabs/EvTab/index.d.ts +2 -0
- package/dist/components/EvTabs/EvTabs.d.ts +179 -0
- package/dist/components/EvTabs/EvTabs.vue.d.ts +132 -0
- package/dist/components/EvTabs/index.d.ts +3 -0
- package/dist/components/EvTag/EvTag.d.ts +199 -0
- package/dist/components/EvTag/EvTag.vue.d.ts +138 -0
- package/dist/components/EvTag/index.d.ts +2 -0
- package/dist/components/EvTagGroup/EvTagGroup.d.ts +184 -0
- package/dist/components/EvTagGroup/EvTagGroup.vue.d.ts +129 -0
- package/dist/components/EvTagGroup/index.d.ts +2 -0
- package/dist/components/EvTextarea/EvTextarea.d.ts +132 -0
- package/dist/components/EvTextarea/EvTextarea.vue.d.ts +110 -0
- package/dist/components/EvTextarea/index.d.ts +2 -0
- package/dist/components/EvTextfield/EvTextfield.d.ts +187 -0
- package/dist/components/EvTextfield/EvTextfield.vue.d.ts +147 -0
- package/dist/components/EvTextfield/index.d.ts +2 -0
- package/dist/components/EvTooltip/EvTooltip.d.ts +336 -0
- package/dist/components/EvTooltip/EvTooltip.vue.d.ts +261 -0
- package/dist/components/EvTooltip/index.d.ts +2 -0
- package/dist/components/EvTransition/EvTransition.d.ts +50 -0
- package/dist/components/EvTransition/index.d.ts +1 -0
- package/dist/components/EvTransition/transitions/createTransition.d.ts +11 -0
- package/dist/components/EvTransition/transitions/expandTransition.d.ts +47 -0
- package/dist/components/EvTransition/transitions/index.d.ts +6 -0
- package/dist/components/EvVirtualScroll/EvVirtualScroll.d.ts +112 -0
- package/dist/components/EvVirtualScroll/EvVirtualScroll.vue.d.ts +64 -0
- package/dist/components/EvVirtualScroll/EvVirtualScrollItem.vue.d.ts +34 -0
- package/dist/components/EvVirtualScroll/index.d.ts +2 -0
- package/dist/components/EvWindow/EvWindow.d.ts +146 -0
- package/dist/components/EvWindow/EvWindow.vue.d.ts +125 -0
- package/dist/components/EvWindow/EvWindowItem/EvWindowItem.d.ts +71 -0
- package/dist/components/EvWindow/EvWindowItem/EvWindowItem.vue.d.ts +55 -0
- package/dist/components/EvWindow/EvWindowItem/index.d.ts +2 -0
- package/dist/components/EvWindow/index.d.ts +3 -0
- package/dist/components/index.d.ts +47 -0
- package/dist/composables/component.d.ts +26 -0
- package/dist/composables/date/DateAdapter.d.ts +33 -0
- package/dist/composables/date/DefaultDateAdapter.d.ts +194 -0
- package/dist/composables/date/date.d.ts +68 -0
- package/dist/composables/date/index.d.ts +3 -0
- package/dist/composables/defaults.d.ts +46 -0
- package/dist/composables/delay.d.ts +28 -0
- package/dist/composables/dialog.d.ts +21 -0
- package/dist/composables/dimensions.d.ts +59 -0
- package/dist/composables/display.d.ts +157 -0
- package/dist/composables/drawer.d.ts +21 -0
- package/dist/composables/filter.d.ts +105 -0
- package/dist/composables/focus.d.ts +46 -0
- package/dist/composables/form.d.ts +78 -0
- package/dist/composables/group.d.ts +99 -0
- package/dist/composables/groupItem.d.ts +70 -0
- package/dist/composables/hasSlotWithContent.d.ts +13 -0
- package/dist/composables/icons.d.ts +12 -0
- package/dist/composables/index.d.ts +7 -0
- package/dist/composables/lazy.d.ts +23 -0
- package/dist/composables/lists/index.d.ts +6 -0
- package/dist/composables/lists/list-items.d.ts +159 -0
- package/dist/composables/lists/list.d.ts +26 -0
- package/dist/composables/lists/move-strategies.d.ts +0 -0
- package/dist/composables/lists/nested.d.ts +134 -0
- package/dist/composables/lists/open-strategies.d.ts +72 -0
- package/dist/composables/lists/open-strategy/index.d.ts +3 -0
- package/dist/composables/lists/open-strategy/list.d.ts +6 -0
- package/dist/composables/lists/open-strategy/multiple.d.ts +6 -0
- package/dist/composables/lists/open-strategy/single.d.ts +6 -0
- package/dist/composables/lists/select-strategies.d.ts +83 -0
- package/dist/composables/lists/select-strategy/cascade-leaf.d.ts +14 -0
- package/dist/composables/lists/select-strategy/index.d.ts +5 -0
- package/dist/composables/lists/select-strategy/multi-any.d.ts +10 -0
- package/dist/composables/lists/select-strategy/multi-leaf.d.ts +10 -0
- package/dist/composables/lists/select-strategy/single-any.d.ts +10 -0
- package/dist/composables/lists/select-strategy/single-leaf.d.ts +10 -0
- package/dist/composables/lists/sequenced.d.ts +11 -0
- package/dist/composables/locale.d.ts +31 -0
- package/dist/composables/modelProxy.d.ts +11 -0
- package/dist/composables/notification.d.ts +19 -0
- package/dist/composables/position.d.ts +19 -0
- package/dist/composables/resizeObserver.d.ts +13 -0
- package/dist/composables/rounded.d.ts +26 -0
- package/dist/composables/router.d.ts +75 -0
- package/dist/composables/scopeId.d.ts +5 -0
- package/dist/composables/selectLink.d.ts +9 -0
- package/dist/composables/size.d.ts +30 -0
- package/dist/composables/ssrBoot.d.ts +9 -0
- package/dist/composables/stack.d.ts +19 -0
- package/dist/composables/tag.d.ts +17 -0
- package/dist/composables/teleport.d.ts +13 -0
- package/dist/composables/toggleScope.d.ts +3 -0
- package/dist/composables/validation.d.ts +107 -0
- package/dist/composables/virtual.d.ts +43 -0
- package/dist/directives/click-outside.d.ts +50 -0
- package/dist/directives/index.d.ts +4 -0
- package/dist/directives/intersect.d.ts +32 -0
- package/dist/directives/slots.d.ts +7 -0
- package/dist/directives/touch.d.ts +52 -0
- package/dist/entry-bundler.d.ts +11 -0
- package/dist/evance-ui.cjs.js +5 -0
- package/dist/evance-ui.css +1 -0
- package/dist/evance-ui.es.d.ts +1 -0
- package/dist/evance-ui.es.js +10460 -0
- package/dist/evance-ui.umd.js +5 -0
- package/dist/framework.d.ts +27 -0
- package/dist/icons/brand/index.d.ts +20 -0
- package/dist/icons/editor/index.d.ts +105 -0
- package/dist/icons/index.d.ts +244 -0
- package/dist/locale/en.d.ts +25 -0
- package/dist/modules/Form/Form.d.ts +67 -0
- package/dist/modules/Form/FormField.d.ts +96 -0
- package/dist/modules/Locale/LocaleCode.d.ts +18 -0
- package/dist/modules/Locale/LocaleManager.d.ts +28 -0
- package/dist/modules/Locale/Localized.d.ts +40 -0
- package/dist/modules/NumberFormatter.d.ts +9 -0
- package/dist/modules/Translation/LanguagePack.d.ts +26 -0
- package/dist/modules/Translation/Pluralization.d.ts +30 -0
- package/dist/modules/Translation/Translatable.d.ts +21 -0
- package/dist/modules/Translation/TranslationCode.d.ts +28 -0
- package/dist/modules/Translation/Translator.d.ts +77 -0
- package/dist/services/dialog.d.ts +9 -0
- package/dist/services/drawer.d.ts +9 -0
- package/dist/services/index.d.ts +3 -0
- package/dist/services/notification.d.ts +9 -0
- package/dist/util/anchor.d.ts +62 -0
- package/dist/util/animate.d.ts +38 -0
- package/dist/util/appearance.d.ts +148 -0
- package/dist/util/array.d.ts +11 -0
- package/dist/util/bindProps.d.ts +12 -0
- package/dist/util/browser.d.ts +13 -0
- package/dist/util/children.d.ts +24 -0
- package/dist/util/components.d.ts +10 -0
- package/dist/util/console.d.ts +10 -0
- package/dist/util/dimensions.d.ts +92 -0
- package/dist/util/events.d.ts +68 -0
- package/dist/util/helpers.d.ts +161 -0
- package/dist/util/index.d.ts +23 -0
- package/dist/util/injectSelf.d.ts +3 -0
- package/dist/util/is-functions.d.ts +100 -0
- package/dist/util/isFixedPosition.d.ts +1 -0
- package/dist/util/keyboard.d.ts +24 -0
- package/dist/util/modifiers.d.ts +27 -0
- package/dist/util/numbers.d.ts +9 -0
- package/dist/util/props.d.ts +62 -0
- package/dist/util/scroll.d.ts +51 -0
- package/dist/util/strings.d.ts +91 -0
- package/dist/util/style.d.ts +7 -0
- package/dist/util/units.d.ts +24 -0
- package/package.json +77 -0
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
import { ComponentInternalInstance, ComponentPublicInstance, ComputedRef, PropType, Ref } from 'vue';
|
|
2
|
+
import { DelayOpenCloseProps } from '../../composables/delay.ts';
|
|
3
|
+
|
|
4
|
+
type ActivatorSelector = 'parent' | string | Element | ComponentPublicInstance;
|
|
5
|
+
export interface ActivatorProps extends DelayOpenCloseProps {
|
|
6
|
+
activator?: ActivatorSelector;
|
|
7
|
+
activatorProps: Record<string, any>;
|
|
8
|
+
openOnClick: boolean | undefined;
|
|
9
|
+
openOnHover: boolean;
|
|
10
|
+
openOnFocus: boolean | undefined;
|
|
11
|
+
closeOnContentClick: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare const makeActivatorProps: <Defaults extends {
|
|
14
|
+
closeDelay?: unknown;
|
|
15
|
+
openDelay?: unknown;
|
|
16
|
+
activator?: unknown;
|
|
17
|
+
activatorProps?: unknown;
|
|
18
|
+
openOnClick?: unknown;
|
|
19
|
+
openOnHover?: unknown;
|
|
20
|
+
openOnFocus?: unknown;
|
|
21
|
+
closeOnContentClick?: unknown;
|
|
22
|
+
} = {}>(defaults?: Defaults | undefined) => {
|
|
23
|
+
closeDelay: unknown extends Defaults["closeDelay"] ? (StringConstructor | NumberConstructor)[] : {
|
|
24
|
+
type: PropType<unknown extends Defaults["closeDelay"] ? string | number : NonNullable<string | number> | Defaults["closeDelay"]>;
|
|
25
|
+
default: unknown extends Defaults["closeDelay"] ? string | number : NonNullable<string | number> | Defaults["closeDelay"];
|
|
26
|
+
};
|
|
27
|
+
openDelay: unknown extends Defaults["openDelay"] ? (StringConstructor | NumberConstructor)[] : {
|
|
28
|
+
type: PropType<unknown extends Defaults["openDelay"] ? string | number : NonNullable<string | number> | Defaults["openDelay"]>;
|
|
29
|
+
default: unknown extends Defaults["openDelay"] ? string | number : NonNullable<string | number> | Defaults["openDelay"];
|
|
30
|
+
};
|
|
31
|
+
activator: unknown extends Defaults["activator"] ? PropType<ActivatorSelector | undefined> : {
|
|
32
|
+
type: PropType<unknown extends Defaults["activator"] ? ActivatorSelector | undefined : Defaults["activator"] | NonNullable<ActivatorSelector | undefined>>;
|
|
33
|
+
default: unknown extends Defaults["activator"] ? ActivatorSelector | undefined : Defaults["activator"] | NonNullable<ActivatorSelector | undefined>;
|
|
34
|
+
};
|
|
35
|
+
activatorProps: unknown extends Defaults["activatorProps"] ? {
|
|
36
|
+
type: PropType<Record<string, any>>;
|
|
37
|
+
default: () => {};
|
|
38
|
+
} : Omit<{
|
|
39
|
+
type: PropType<Record<string, any>>;
|
|
40
|
+
default: () => {};
|
|
41
|
+
}, "type" | "default"> & {
|
|
42
|
+
type: PropType<unknown extends Defaults["activatorProps"] ? Record<string, any> : Record<string, any> | Defaults["activatorProps"]>;
|
|
43
|
+
default: unknown extends Defaults["activatorProps"] ? Record<string, any> : Record<string, any> | Defaults["activatorProps"];
|
|
44
|
+
};
|
|
45
|
+
openOnClick: unknown extends Defaults["openOnClick"] ? {
|
|
46
|
+
type: BooleanConstructor;
|
|
47
|
+
default: undefined;
|
|
48
|
+
} : Omit<{
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
default: undefined;
|
|
51
|
+
}, "type" | "default"> & {
|
|
52
|
+
type: PropType<unknown extends Defaults["openOnClick"] ? boolean : boolean | Defaults["openOnClick"]>;
|
|
53
|
+
default: unknown extends Defaults["openOnClick"] ? boolean : boolean | Defaults["openOnClick"];
|
|
54
|
+
};
|
|
55
|
+
openOnHover: unknown extends Defaults["openOnHover"] ? BooleanConstructor : {
|
|
56
|
+
type: PropType<unknown extends Defaults["openOnHover"] ? boolean : boolean | Defaults["openOnHover"]>;
|
|
57
|
+
default: unknown extends Defaults["openOnHover"] ? boolean : boolean | Defaults["openOnHover"];
|
|
58
|
+
};
|
|
59
|
+
openOnFocus: unknown extends Defaults["openOnFocus"] ? {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
default: undefined;
|
|
62
|
+
} : Omit<{
|
|
63
|
+
type: BooleanConstructor;
|
|
64
|
+
default: undefined;
|
|
65
|
+
}, "type" | "default"> & {
|
|
66
|
+
type: PropType<unknown extends Defaults["openOnFocus"] ? boolean : boolean | Defaults["openOnFocus"]>;
|
|
67
|
+
default: unknown extends Defaults["openOnFocus"] ? boolean : boolean | Defaults["openOnFocus"];
|
|
68
|
+
};
|
|
69
|
+
closeOnContentClick: unknown extends Defaults["closeOnContentClick"] ? BooleanConstructor : {
|
|
70
|
+
type: PropType<unknown extends Defaults["closeOnContentClick"] ? boolean : boolean | Defaults["closeOnContentClick"]>;
|
|
71
|
+
default: unknown extends Defaults["closeOnContentClick"] ? boolean : boolean | Defaults["closeOnContentClick"];
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
interface ActivatorEvents {
|
|
75
|
+
onBlur?: (e: FocusEvent) => void;
|
|
76
|
+
onClick?: (e: MouseEvent) => void;
|
|
77
|
+
onFocus?: (e: FocusEvent) => void;
|
|
78
|
+
onMouseenter?: (e: MouseEvent) => void;
|
|
79
|
+
onMouseleave?: (e: MouseEvent) => void;
|
|
80
|
+
}
|
|
81
|
+
interface ContentEvents {
|
|
82
|
+
onMouseenter?: () => void;
|
|
83
|
+
onMouseleave?: () => void;
|
|
84
|
+
onFocusin?: () => void;
|
|
85
|
+
onFocusout?: () => void;
|
|
86
|
+
onClick?: () => void;
|
|
87
|
+
}
|
|
88
|
+
interface VeilEvents {
|
|
89
|
+
onMouseenter?: () => void;
|
|
90
|
+
onMouseleave?: () => void;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* # UI Mouse Event
|
|
94
|
+
* `sourceCapabilities` is in labs according to MDN. So it is subject to change.
|
|
95
|
+
* It is also not included in TypeScript's MouseEvent, so this is a little bit
|
|
96
|
+
* of a hack to avoid issues with the build.
|
|
97
|
+
*/
|
|
98
|
+
interface UIMouseEvent extends MouseEvent {
|
|
99
|
+
sourceCapabilities?: {
|
|
100
|
+
firesTouchEvents: boolean;
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* # Use Activator
|
|
105
|
+
*
|
|
106
|
+
* @param props
|
|
107
|
+
* @param isActive
|
|
108
|
+
* @param isTopOfStack
|
|
109
|
+
*/
|
|
110
|
+
export declare function useActivator(props: ActivatorProps, isActive: Ref<boolean>, isTopOfStack: Ref<boolean>): Activator;
|
|
111
|
+
declare class Activator {
|
|
112
|
+
props: ActivatorProps;
|
|
113
|
+
isActive: Ref<boolean>;
|
|
114
|
+
isTopOfStack: Ref<boolean>;
|
|
115
|
+
readonly activatorEl: Ref<HTMLElement | undefined>;
|
|
116
|
+
readonly activatorEvents: ComputedRef<Partial<ActivatorEvents>>;
|
|
117
|
+
readonly activatorRef: Ref<any>;
|
|
118
|
+
readonly availableEvents: ActivatorEvents;
|
|
119
|
+
readonly component: ComponentInternalInstance;
|
|
120
|
+
readonly contentEvents: ComputedRef<Partial<ContentEvents>>;
|
|
121
|
+
readonly delayClose: () => Promise<boolean>;
|
|
122
|
+
readonly delayOpen: () => Promise<boolean>;
|
|
123
|
+
readonly openOnClick: ComputedRef<boolean>;
|
|
124
|
+
readonly openOnFocus: ComputedRef<boolean>;
|
|
125
|
+
readonly veilEvents: ComputedRef<Partial<VeilEvents>>;
|
|
126
|
+
isHovered: boolean;
|
|
127
|
+
isFocused: boolean;
|
|
128
|
+
firstEnter: boolean;
|
|
129
|
+
private watcher?;
|
|
130
|
+
private scope?;
|
|
131
|
+
constructor(props: ActivatorProps, isActive: Ref<boolean>, isTopOfStack: Ref<boolean>);
|
|
132
|
+
/**
|
|
133
|
+
* ## Create Activator Events
|
|
134
|
+
* Returns a computed set of partially available events.
|
|
135
|
+
* @private
|
|
136
|
+
*/
|
|
137
|
+
private createActivatorEvents;
|
|
138
|
+
/**
|
|
139
|
+
* ## Create Content Events
|
|
140
|
+
* @private
|
|
141
|
+
*/
|
|
142
|
+
private createContentEvents;
|
|
143
|
+
/**
|
|
144
|
+
* ## Create Delay Functions
|
|
145
|
+
* @private
|
|
146
|
+
*/
|
|
147
|
+
private createDelayFunctions;
|
|
148
|
+
/**
|
|
149
|
+
* ## Create Veil Events
|
|
150
|
+
* @private
|
|
151
|
+
*/
|
|
152
|
+
private createVeilEvents;
|
|
153
|
+
/**
|
|
154
|
+
*
|
|
155
|
+
* @param selector
|
|
156
|
+
* @private
|
|
157
|
+
*/
|
|
158
|
+
getActivatorEl(selector?: ActivatorSelector | undefined): HTMLElement | undefined;
|
|
159
|
+
/**
|
|
160
|
+
* ## Get Available Events
|
|
161
|
+
*/
|
|
162
|
+
getAvailableEvents(): ActivatorEvents;
|
|
163
|
+
/**
|
|
164
|
+
* ## Is Close on Content Click?
|
|
165
|
+
* Should we close overlays when the content of the overlay is clicked.
|
|
166
|
+
* For example, when a menu item is clicked.
|
|
167
|
+
*/
|
|
168
|
+
isCloseOnContentClick(): boolean;
|
|
169
|
+
/**
|
|
170
|
+
* ## Is Open On Click?
|
|
171
|
+
*/
|
|
172
|
+
isOpenOnClick(): boolean;
|
|
173
|
+
/**
|
|
174
|
+
* ## Is Open on Hover?
|
|
175
|
+
*/
|
|
176
|
+
isOpenOnHover(): boolean;
|
|
177
|
+
/**
|
|
178
|
+
* ## Is Open on Focus?
|
|
179
|
+
*/
|
|
180
|
+
isOpenOnFocus(): boolean;
|
|
181
|
+
/**
|
|
182
|
+
* ## On Blur
|
|
183
|
+
* @param e
|
|
184
|
+
*/
|
|
185
|
+
onBlur(e: FocusEvent): void;
|
|
186
|
+
/**
|
|
187
|
+
* ## On Click
|
|
188
|
+
* @param e
|
|
189
|
+
*/
|
|
190
|
+
onClick(e: MouseEvent): void;
|
|
191
|
+
/**
|
|
192
|
+
* ## On Focus
|
|
193
|
+
* @param e
|
|
194
|
+
*/
|
|
195
|
+
onFocus(e: FocusEvent): void;
|
|
196
|
+
/**
|
|
197
|
+
* ## On Mouse Enter (Hover)
|
|
198
|
+
* @param e
|
|
199
|
+
*/
|
|
200
|
+
onMouseenter(e: UIMouseEvent): void;
|
|
201
|
+
/**
|
|
202
|
+
* ## On Mouse Leave
|
|
203
|
+
* @param e
|
|
204
|
+
*/
|
|
205
|
+
onMouseleave(e: MouseEvent): void;
|
|
206
|
+
/**
|
|
207
|
+
* ## Set Activator Element
|
|
208
|
+
* @param activator
|
|
209
|
+
*/
|
|
210
|
+
setActivatorEl(activator?: HTMLElement): HTMLElement | undefined;
|
|
211
|
+
/**
|
|
212
|
+
* ## Watch Activator Prop
|
|
213
|
+
* @private
|
|
214
|
+
*/
|
|
215
|
+
private watchActivatorProp;
|
|
216
|
+
/**
|
|
217
|
+
* ## Watch for changes in `activatorEl`
|
|
218
|
+
* @private
|
|
219
|
+
*/
|
|
220
|
+
private watchActivatorEl;
|
|
221
|
+
/**
|
|
222
|
+
* ## Watch for changes in `isTopOfStack`.
|
|
223
|
+
* @private
|
|
224
|
+
*/
|
|
225
|
+
private watchIsTopOfStack;
|
|
226
|
+
}
|
|
227
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { StyleProp, Rect } from '../../../util';
|
|
2
|
+
import { Ref } from 'vue';
|
|
3
|
+
import { PositionStrategyData, PositionStrategyProps } from '../position.ts';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* # Connected Position Strategy
|
|
7
|
+
*
|
|
8
|
+
* Connected to a certain element
|
|
9
|
+
*/
|
|
10
|
+
export declare function connectedPositionStrategy(data: PositionStrategyData, props: PositionStrategyProps, contentStyles: Ref<StyleProp>): {
|
|
11
|
+
updatePosition: () => {
|
|
12
|
+
zoneRect: Rect;
|
|
13
|
+
contentRect: Rect;
|
|
14
|
+
} | undefined;
|
|
15
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { StyleProp } from '../../../util';
|
|
2
|
+
import { Ref } from 'vue';
|
|
3
|
+
import { PositionStrategyData, PositionStrategyProps } from '../position.ts';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* # Static Position Strategy
|
|
7
|
+
*
|
|
8
|
+
* Specific viewport position, usually centered.
|
|
9
|
+
*/
|
|
10
|
+
export declare function staticPositionStrategy(data: PositionStrategyData, props: PositionStrategyProps, contentStyles: Ref<StyleProp>): void;
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { AnchorSelector } from '../../util';
|
|
2
|
+
import { connectedPositionStrategy, staticPositionStrategy } from './position-strategy';
|
|
3
|
+
import { PropType, Ref } from 'vue';
|
|
4
|
+
|
|
5
|
+
export interface PositionStrategyData {
|
|
6
|
+
contentEl: Ref<HTMLElement | undefined>;
|
|
7
|
+
activatorEl: Ref<HTMLElement | undefined>;
|
|
8
|
+
isActive: Ref<boolean>;
|
|
9
|
+
isRtl: Ref<boolean>;
|
|
10
|
+
}
|
|
11
|
+
type PositionStrategyFn = (data: PositionStrategyData, props: PositionStrategyProps, contentStyles: Ref<Record<string, string>>) => undefined | {
|
|
12
|
+
updatePosition: (e: Event) => void;
|
|
13
|
+
};
|
|
14
|
+
declare const positionStrategies: {
|
|
15
|
+
static: typeof staticPositionStrategy;
|
|
16
|
+
connected: typeof connectedPositionStrategy;
|
|
17
|
+
};
|
|
18
|
+
export interface PositionStrategyProps {
|
|
19
|
+
positionStrategy: keyof typeof positionStrategies | PositionStrategyFn;
|
|
20
|
+
position: AnchorSelector;
|
|
21
|
+
origin: AnchorSelector | 'overlap';
|
|
22
|
+
offset?: number | string | number[];
|
|
23
|
+
maxHeight?: number | string;
|
|
24
|
+
maxWidth?: number | string;
|
|
25
|
+
minHeight?: number | string;
|
|
26
|
+
minWidth?: number | string;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* # Make Position Strategy Props
|
|
30
|
+
*/
|
|
31
|
+
export declare const makePositionStrategyProps: <Defaults extends {
|
|
32
|
+
positionStrategy?: unknown;
|
|
33
|
+
position?: unknown;
|
|
34
|
+
origin?: unknown;
|
|
35
|
+
offset?: unknown;
|
|
36
|
+
} = {}>(defaults?: Defaults | undefined) => {
|
|
37
|
+
positionStrategy: unknown extends Defaults["positionStrategy"] ? {
|
|
38
|
+
type: PropType<"static" | "connected" | PositionStrategyFn>;
|
|
39
|
+
default: string;
|
|
40
|
+
validator: (value: any) => boolean;
|
|
41
|
+
} : Omit<{
|
|
42
|
+
type: PropType<"static" | "connected" | PositionStrategyFn>;
|
|
43
|
+
default: string;
|
|
44
|
+
validator: (value: any) => boolean;
|
|
45
|
+
}, "type" | "default"> & {
|
|
46
|
+
type: PropType<unknown extends Defaults["positionStrategy"] ? "static" | "connected" | PositionStrategyFn : NonNullable<"static" | "connected" | PositionStrategyFn> | Defaults["positionStrategy"]>;
|
|
47
|
+
default: unknown extends Defaults["positionStrategy"] ? "static" | "connected" | PositionStrategyFn : NonNullable<"static" | "connected" | PositionStrategyFn> | Defaults["positionStrategy"];
|
|
48
|
+
};
|
|
49
|
+
position: unknown extends Defaults["position"] ? {
|
|
50
|
+
type: PropType<AnchorSelector>;
|
|
51
|
+
default: string;
|
|
52
|
+
} : Omit<{
|
|
53
|
+
type: PropType<AnchorSelector>;
|
|
54
|
+
default: string;
|
|
55
|
+
}, "type" | "default"> & {
|
|
56
|
+
type: PropType<unknown extends Defaults["position"] ? AnchorSelector : NonNullable<AnchorSelector> | Defaults["position"]>;
|
|
57
|
+
default: unknown extends Defaults["position"] ? AnchorSelector : NonNullable<AnchorSelector> | Defaults["position"];
|
|
58
|
+
};
|
|
59
|
+
origin: unknown extends Defaults["origin"] ? {
|
|
60
|
+
type: PropType<AnchorSelector | "overlap">;
|
|
61
|
+
default: string;
|
|
62
|
+
} : Omit<{
|
|
63
|
+
type: PropType<AnchorSelector | "overlap">;
|
|
64
|
+
default: string;
|
|
65
|
+
}, "type" | "default"> & {
|
|
66
|
+
type: PropType<unknown extends Defaults["origin"] ? AnchorSelector | "overlap" : NonNullable<AnchorSelector | "overlap"> | Defaults["origin"]>;
|
|
67
|
+
default: unknown extends Defaults["origin"] ? AnchorSelector | "overlap" : NonNullable<AnchorSelector | "overlap"> | Defaults["origin"];
|
|
68
|
+
};
|
|
69
|
+
offset: unknown extends Defaults["offset"] ? PropType<string | number | number[] | undefined> : {
|
|
70
|
+
type: PropType<unknown extends Defaults["offset"] ? string | number | number[] | undefined : NonNullable<string | number | number[] | undefined> | Defaults["offset"]>;
|
|
71
|
+
default: unknown extends Defaults["offset"] ? string | number | number[] | undefined : NonNullable<string | number | number[] | undefined> | Defaults["offset"];
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* # Use Position Strategies
|
|
76
|
+
*/
|
|
77
|
+
export declare function usePositionStrategies(props: PositionStrategyProps, data: PositionStrategyData): {
|
|
78
|
+
contentStyles: Ref<{}>;
|
|
79
|
+
updatePosition: Ref<((e: Event) => void) | undefined>;
|
|
80
|
+
};
|
|
81
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { EffectScope } from 'vue';
|
|
2
|
+
import { ScrollStrategyData, ScrollStrategyProps } from '../scroll.ts';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* # Reposition Scroll Strategy
|
|
6
|
+
* @param data
|
|
7
|
+
* @param props
|
|
8
|
+
* @param scope
|
|
9
|
+
*/
|
|
10
|
+
export declare function repositionScrollStrategy(data: ScrollStrategyData, props: ScrollStrategyProps, scope: EffectScope): void;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { blockScrollStrategy, closeScrollStrategy, repositionScrollStrategy } from './scroll-strategy';
|
|
2
|
+
import { EffectScope, PropType, Ref } from 'vue';
|
|
3
|
+
|
|
4
|
+
export interface ScrollStrategyData {
|
|
5
|
+
containerEl: Ref<HTMLElement | undefined>;
|
|
6
|
+
contentEl: Ref<HTMLElement | undefined>;
|
|
7
|
+
activatorEl: Ref<HTMLElement | undefined>;
|
|
8
|
+
isActive: Ref<boolean>;
|
|
9
|
+
updatePosition: Ref<((e: Event) => void) | undefined>;
|
|
10
|
+
}
|
|
11
|
+
type ScrollStrategyFn = (data: ScrollStrategyData, props: ScrollStrategyProps, scope: EffectScope) => void;
|
|
12
|
+
declare const scrollStrategies: {
|
|
13
|
+
none: null;
|
|
14
|
+
close: typeof closeScrollStrategy;
|
|
15
|
+
block: typeof blockScrollStrategy;
|
|
16
|
+
reposition: typeof repositionScrollStrategy;
|
|
17
|
+
};
|
|
18
|
+
export interface ScrollStrategyProps {
|
|
19
|
+
scrollStrategy: keyof typeof scrollStrategies | ScrollStrategyFn;
|
|
20
|
+
contained: boolean | undefined;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* # Make Scroll Strategy Props
|
|
24
|
+
*/
|
|
25
|
+
export declare const makeScrollStrategyProps: <Defaults extends {
|
|
26
|
+
scrollStrategy?: unknown;
|
|
27
|
+
} = {}>(defaults?: Defaults | undefined) => {
|
|
28
|
+
scrollStrategy: unknown extends Defaults["scrollStrategy"] ? {
|
|
29
|
+
type: PropType<"none" | "close" | "block" | ScrollStrategyFn | "reposition">;
|
|
30
|
+
default: string;
|
|
31
|
+
validator: (val: any) => boolean;
|
|
32
|
+
} : Omit<{
|
|
33
|
+
type: PropType<"none" | "close" | "block" | ScrollStrategyFn | "reposition">;
|
|
34
|
+
default: string;
|
|
35
|
+
validator: (val: any) => boolean;
|
|
36
|
+
}, "type" | "default"> & {
|
|
37
|
+
type: PropType<unknown extends Defaults["scrollStrategy"] ? "none" | "close" | "block" | ScrollStrategyFn | "reposition" : NonNullable<"none" | "close" | "block" | ScrollStrategyFn | "reposition"> | Defaults["scrollStrategy"]>;
|
|
38
|
+
default: unknown extends Defaults["scrollStrategy"] ? "none" | "close" | "block" | ScrollStrategyFn | "reposition" : NonNullable<"none" | "close" | "block" | ScrollStrategyFn | "reposition"> | Defaults["scrollStrategy"];
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* # Use Scroll Strategies
|
|
43
|
+
* @param props
|
|
44
|
+
* @param data
|
|
45
|
+
*/
|
|
46
|
+
export declare function useScrollStrategies(props: ScrollStrategyProps, data: ScrollStrategyData): void;
|
|
47
|
+
export {};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { AppearanceProp, InputSizeProp } from '../../util';
|
|
2
|
+
|
|
3
|
+
interface ProgressProps {
|
|
4
|
+
appearance?: AppearanceProp;
|
|
5
|
+
indeterminate?: boolean;
|
|
6
|
+
percentage?: number;
|
|
7
|
+
size?: InputSizeProp | number;
|
|
8
|
+
}
|
|
9
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ProgressProps>, {
|
|
10
|
+
appearance: string;
|
|
11
|
+
indeterminate: boolean;
|
|
12
|
+
percentage: number;
|
|
13
|
+
size: string;
|
|
14
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ProgressProps>, {
|
|
15
|
+
appearance: string;
|
|
16
|
+
indeterminate: boolean;
|
|
17
|
+
percentage: number;
|
|
18
|
+
size: string;
|
|
19
|
+
}>>>, {
|
|
20
|
+
appearance: "default" | "danger" | "information" | "notice" | "primary" | "success" | "warning";
|
|
21
|
+
size: number | InputSizeProp;
|
|
22
|
+
indeterminate: boolean;
|
|
23
|
+
percentage: number;
|
|
24
|
+
}, {}>;
|
|
25
|
+
export default _default;
|
|
26
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
27
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
28
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
29
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
30
|
+
} : {
|
|
31
|
+
type: import('vue').PropType<T[K]>;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
type __VLS_WithDefaults<P, D> = {
|
|
36
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
37
|
+
default: D[K];
|
|
38
|
+
}> : P[K];
|
|
39
|
+
};
|
|
40
|
+
type __VLS_Prettify<T> = {
|
|
41
|
+
[K in keyof T]: T[K];
|
|
42
|
+
} & {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as EvProgress } from './EvProgress.vue';
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { AppearanceProp } from '../../util';
|
|
2
|
+
|
|
3
|
+
type Size = 'default';
|
|
4
|
+
interface ProgressProps {
|
|
5
|
+
appearance?: AppearanceProp;
|
|
6
|
+
indeterminate?: boolean;
|
|
7
|
+
percentage?: number;
|
|
8
|
+
rotate?: number;
|
|
9
|
+
size?: Size | number;
|
|
10
|
+
thickness?: number;
|
|
11
|
+
}
|
|
12
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ProgressProps>, {
|
|
13
|
+
appearance: string;
|
|
14
|
+
size: string;
|
|
15
|
+
indeterminate: boolean;
|
|
16
|
+
percentage: number;
|
|
17
|
+
rotate: number;
|
|
18
|
+
thickness: number;
|
|
19
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ProgressProps>, {
|
|
20
|
+
appearance: string;
|
|
21
|
+
size: string;
|
|
22
|
+
indeterminate: boolean;
|
|
23
|
+
percentage: number;
|
|
24
|
+
rotate: number;
|
|
25
|
+
thickness: number;
|
|
26
|
+
}>>>, {
|
|
27
|
+
appearance: "default" | "danger" | "information" | "notice" | "primary" | "success" | "warning";
|
|
28
|
+
size: number | "default";
|
|
29
|
+
rotate: number;
|
|
30
|
+
indeterminate: boolean;
|
|
31
|
+
percentage: number;
|
|
32
|
+
thickness: number;
|
|
33
|
+
}, {}>, {
|
|
34
|
+
default?(_: {}): any;
|
|
35
|
+
}>;
|
|
36
|
+
export default _default;
|
|
37
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
38
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
39
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
40
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
41
|
+
} : {
|
|
42
|
+
type: import('vue').PropType<T[K]>;
|
|
43
|
+
required: true;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
type __VLS_WithDefaults<P, D> = {
|
|
47
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
48
|
+
default: D[K];
|
|
49
|
+
}> : P[K];
|
|
50
|
+
};
|
|
51
|
+
type __VLS_Prettify<T> = {
|
|
52
|
+
[K in keyof T]: T[K];
|
|
53
|
+
} & {};
|
|
54
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
55
|
+
new (): {
|
|
56
|
+
$slots: S;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as EvProgressCircular } from './EvProgressCircular.vue';
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
|
|
2
|
+
type QuickfindSize = 'small' | 'medium' | 'large';
|
|
3
|
+
interface QuickfindProps {
|
|
4
|
+
modelValue?: string | number;
|
|
5
|
+
bold?: boolean;
|
|
6
|
+
size?: QuickfindSize;
|
|
7
|
+
}
|
|
8
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<QuickfindProps>, {
|
|
9
|
+
bold: boolean;
|
|
10
|
+
size: string;
|
|
11
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<QuickfindProps>, {
|
|
12
|
+
bold: boolean;
|
|
13
|
+
size: string;
|
|
14
|
+
}>>>, {
|
|
15
|
+
bold: boolean;
|
|
16
|
+
size: QuickfindSize;
|
|
17
|
+
}, {}>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
20
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
21
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
22
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
23
|
+
} : {
|
|
24
|
+
type: import('vue').PropType<T[K]>;
|
|
25
|
+
required: true;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
type __VLS_WithDefaults<P, D> = {
|
|
29
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
30
|
+
default: D[K];
|
|
31
|
+
}> : P[K];
|
|
32
|
+
};
|
|
33
|
+
type __VLS_Prettify<T> = {
|
|
34
|
+
[K in keyof T]: T[K];
|
|
35
|
+
} & {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as EvQuickfind } from './EvQuickfind.vue';
|