yuyeon 0.3.4-beta.15 → 0.3.4-beta.17
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/dist/yuyeon.js +336 -336
- package/dist/yuyeon.umd.cjs +1 -1
- package/lib/components/img/YImg.js +6 -6
- package/lib/components/img/YImg.js.map +1 -1
- package/lib/directives/plate-wave/index.js.map +1 -1
- package/package.json +1 -1
- package/types/components/dialog/YDialog.d.ts +4 -4
- package/types/components/img/YImg.d.ts +4 -1
- package/types/components/img/index.d.ts +1 -0
- package/types/components/index.d.ts +1 -0
- package/types/components/layer/YLayer.d.ts +2 -2
- package/types/components/menu/YMenu.d.ts +4 -4
- package/types/composables/coordinate/types.d.ts +1 -0
- package/types/directives/plate-wave/index.d.ts +1 -1
- package/types/shims.d.ts +5 -4
- package/types/components/table/composibles/header.d.ts +0 -207
- package/types/components/table/composibles/items.d.ts +0 -55
- package/types/components/table/composibles/measure.d.ts +0 -8
- package/types/components/table/composibles/options.d.ts +0 -11
- package/types/components/table/composibles/pagination.d.ts +0 -81
- package/types/components/table/composibles/selection.d.ts +0 -82
- package/types/components/table/composibles/sorted-items.d.ts +0 -7
- package/types/components/table/composibles/sorting.d.ts +0 -62
- package/types/src/abstract/items.d.ts +0 -49
- package/types/src/components/alert/YAlert.d.ts +0 -13
- package/types/src/components/alert/index.d.ts +0 -1
- package/types/src/components/app/YApp.d.ts +0 -8
- package/types/src/components/app/index.d.ts +0 -1
- package/types/src/components/badge/YBadge.d.ts +0 -126
- package/types/src/components/badge/index.d.ts +0 -1
- package/types/src/components/bench/YBench.d.ts +0 -4
- package/types/src/components/bench/index.d.ts +0 -1
- package/types/src/components/button/YButton.d.ts +0 -189
- package/types/src/components/button/index.d.ts +0 -1
- package/types/src/components/card/YCard.d.ts +0 -9
- package/types/src/components/card/YCardBody.d.ts +0 -2
- package/types/src/components/card/YCardFooter.d.ts +0 -2
- package/types/src/components/card/YCardHeader.d.ts +0 -2
- package/types/src/components/card/index.d.ts +0 -4
- package/types/src/components/checkbox/YCheckbox.d.ts +0 -23
- package/types/src/components/checkbox/YInputCheckbox.d.ts +0 -31
- package/types/src/components/checkbox/index.d.ts +0 -4
- package/types/src/components/chip/YChip.d.ts +0 -37
- package/types/src/components/chip/index.d.ts +0 -1
- package/types/src/components/date-picker/YDateCalendar.d.ts +0 -115
- package/types/src/components/date-picker/YDatePicker.d.ts +0 -94
- package/types/src/components/date-picker/YDatePickerControl.d.ts +0 -97
- package/types/src/components/date-picker/YMonthPicker.d.ts +0 -25
- package/types/src/components/date-picker/YYearPicker.d.ts +0 -38
- package/types/src/components/date-picker/index.d.ts +0 -3
- package/types/src/components/default-provider/YDefaultProvider.d.ts +0 -0
- package/types/src/components/default-provider/index.d.ts +0 -0
- package/types/src/components/dialog/YDialog.d.ts +0 -715
- package/types/src/components/dialog/index.d.ts +0 -1
- package/types/src/components/divider/YDivider.d.ts +0 -14
- package/types/src/components/divider/index.d.ts +0 -1
- package/types/src/components/draggable/YDraggable.d.ts +0 -36
- package/types/src/components/draggable/index.d.ts +0 -1
- package/types/src/components/dropdown/YDropdown.d.ts +0 -574
- package/types/src/components/dropdown/index.d.ts +0 -1
- package/types/src/components/field-input/YFieldInput.d.ts +0 -322
- package/types/src/components/field-input/index.d.ts +0 -1
- package/types/src/components/form/YForm.d.ts +0 -20
- package/types/src/components/form/index.d.ts +0 -1
- package/types/src/components/hover/YHover.d.ts +0 -57
- package/types/src/components/hover/index.d.ts +0 -1
- package/types/src/components/icon/YIcon.d.ts +0 -67
- package/types/src/components/icon/index.d.ts +0 -1
- package/types/src/components/icons/YIconCheckbox.d.ts +0 -6
- package/types/src/components/icons/YIconClear.d.ts +0 -1
- package/types/src/components/icons/YIconDropdown.d.ts +0 -1
- package/types/src/components/icons/YIconExpand.d.ts +0 -1
- package/types/src/components/icons/YIconPageControl.d.ts +0 -14
- package/types/src/components/icons/YIconSort.d.ts +0 -10
- package/types/src/components/icons/index.d.ts +0 -51
- package/types/src/components/img/YImg.d.ts +0 -136
- package/types/src/components/img/index.d.ts +0 -1
- package/types/src/components/index.d.ts +0 -39
- package/types/src/components/input/YInput.d.ts +0 -249
- package/types/src/components/input/index.d.ts +0 -1
- package/types/src/components/ip-field/YIpv4Field.d.ts +0 -65
- package/types/src/components/ip-field/index.d.ts +0 -1
- package/types/src/components/layer/YLayer.d.ts +0 -436
- package/types/src/components/layer/active-delay.d.ts +0 -4
- package/types/src/components/layer/active-stack.d.ts +0 -16
- package/types/src/components/layer/base.d.ts +0 -28
- package/types/src/components/layer/content.d.ts +0 -21
- package/types/src/components/layer/index.d.ts +0 -1
- package/types/src/components/layer/scroll-strategies.d.ts +0 -41
- package/types/src/components/list/YList.d.ts +0 -19
- package/types/src/components/list/YListItem.d.ts +0 -42
- package/types/src/components/list/index.d.ts +0 -2
- package/types/src/components/loading/YSpinnerRing.d.ts +0 -3
- package/types/src/components/loading/index.d.ts +0 -1
- package/types/src/components/menu/YMenu.d.ts +0 -517
- package/types/src/components/menu/index.d.ts +0 -1
- package/types/src/components/navigation/YNavigation.d.ts +0 -1
- package/types/src/components/navigation/index.d.ts +0 -1
- package/types/src/components/pagination/YPagination.d.ts +0 -137
- package/types/src/components/pagination/index.d.ts +0 -1
- package/types/src/components/panel/YDividePanel.d.ts +0 -5
- package/types/src/components/panel/index.d.ts +0 -1
- package/types/src/components/plate/YPlate.d.ts +0 -9
- package/types/src/components/plate/index.d.ts +0 -1
- package/types/src/components/progress-bar/YProgressBar.d.ts +0 -38
- package/types/src/components/progress-bar/index.d.ts +0 -1
- package/types/src/components/progress-ring/YProgressRing.d.ts +0 -34
- package/types/src/components/progress-ring/index.d.ts +0 -1
- package/types/src/components/radio/YRadio.d.ts +0 -25
- package/types/src/components/radio/YRadioIcon.d.ts +0 -6
- package/types/src/components/radio/index.d.ts +0 -2
- package/types/src/components/select/YSelect.d.ts +0 -1221
- package/types/src/components/select/index.d.ts +0 -1
- package/types/src/components/slider/YSlider.d.ts +0 -16
- package/types/src/components/slider/index.d.ts +0 -1
- package/types/src/components/slider/slider.d.ts +0 -0
- package/types/src/components/snackbar/YSnackbar.d.ts +0 -452
- package/types/src/components/snackbar/index.d.ts +0 -1
- package/types/src/components/switch/YSwitch.d.ts +0 -137
- package/types/src/components/switch/index.d.ts +0 -1
- package/types/src/components/tab/YTab.d.ts +0 -218
- package/types/src/components/tab/YTabs.d.ts +0 -98
- package/types/src/components/tab/index.d.ts +0 -3
- package/types/src/components/tab/shared.d.ts +0 -4
- package/types/src/components/tab/types.d.ts +0 -5
- package/types/src/components/table/YDataTable.d.ts +0 -459
- package/types/src/components/table/YDataTableBody.d.ts +0 -99
- package/types/src/components/table/YDataTableCell.d.ts +0 -32
- package/types/src/components/table/YDataTableControl.d.ts +0 -68
- package/types/src/components/table/YDataTableHead.d.ts +0 -54
- package/types/src/components/table/YDataTableLayer.d.ts +0 -13
- package/types/src/components/table/YDataTableLayerRow.d.ts +0 -22
- package/types/src/components/table/YDataTableLayerRows.d.ts +0 -9
- package/types/src/components/table/YDataTableRow.d.ts +0 -53
- package/types/src/components/table/YDataTableServer.d.ts +0 -502
- package/types/src/components/table/YTable.d.ts +0 -65
- package/types/src/components/table/composables/expand.d.ts +0 -42
- package/types/src/components/table/composables/header.d.ts +0 -175
- package/types/src/components/table/composables/items.d.ts +0 -55
- package/types/src/components/table/composables/measure.d.ts +0 -8
- package/types/src/components/table/composables/options.d.ts +0 -11
- package/types/src/components/table/composables/pagination.d.ts +0 -81
- package/types/src/components/table/composables/provides.d.ts +0 -15
- package/types/src/components/table/composables/selection.d.ts +0 -82
- package/types/src/components/table/composables/sorted-items.d.ts +0 -7
- package/types/src/components/table/composables/sorting.d.ts +0 -56
- package/types/src/components/table/index.d.ts +0 -10
- package/types/src/components/table/types/common.d.ts +0 -2
- package/types/src/components/table/types/header.d.ts +0 -25
- package/types/src/components/table/types/index.d.ts +0 -59
- package/types/src/components/table/types/item.d.ts +0 -23
- package/types/src/components/table/types/row.d.ts +0 -4
- package/types/src/components/text-ellipsis/YTextEllipsis.d.ts +0 -11
- package/types/src/components/text-ellipsis/index.d.ts +0 -1
- package/types/src/components/text-highlighter/YTextHighlighter.d.ts +0 -26
- package/types/src/components/text-highlighter/index.d.ts +0 -1
- package/types/src/components/text-interpolation/YTi.d.ts +0 -11
- package/types/src/components/text-interpolation/index.d.ts +0 -1
- package/types/src/components/textarea/YTextarea.d.ts +0 -583
- package/types/src/components/textarea/index.d.ts +0 -1
- package/types/src/components/toggle-button/YToggleButton.d.ts +0 -4
- package/types/src/components/toggle-button/index.d.ts +0 -1
- package/types/src/components/tooltip/YTooltip.d.ts +0 -502
- package/types/src/components/tooltip/index.d.ts +0 -1
- package/types/src/components/transitions/expand-transition.d.ts +0 -20
- package/types/src/components/transitions/index.d.ts +0 -38
- package/types/src/components/tree-view/YTreeView.d.ts +0 -172
- package/types/src/components/tree-view/YTreeViewNode.d.ts +0 -176
- package/types/src/components/tree-view/index.d.ts +0 -2
- package/types/src/components/tree-view/tree-view.d.ts +0 -51
- package/types/src/components/tree-view/types.d.ts +0 -17
- package/types/src/components/tree-view/util.d.ts +0 -6
- package/types/src/composables/choice-link.d.ts +0 -3
- package/types/src/composables/choice.d.ts +0 -113
- package/types/src/composables/communication.d.ts +0 -8
- package/types/src/composables/component.d.ts +0 -3
- package/types/src/composables/coordinate/arrangement.d.ts +0 -7
- package/types/src/composables/coordinate/index.d.ts +0 -87
- package/types/src/composables/coordinate/levitation.d.ts +0 -7
- package/types/src/composables/coordinate/types.d.ts +0 -8
- package/types/src/composables/coordinate/utils/point.d.ts +0 -22
- package/types/src/composables/date/factory.d.ts +0 -3
- package/types/src/composables/date/index.d.ts +0 -12
- package/types/src/composables/date/setting.d.ts +0 -5
- package/types/src/composables/date/types.d.ts +0 -13
- package/types/src/composables/defaults/index.d.ts +0 -11
- package/types/src/composables/defaults/share.d.ts +0 -4
- package/types/src/composables/defaults/types.d.ts +0 -12
- package/types/src/composables/dimension.d.ts +0 -54
- package/types/src/composables/focus.d.ts +0 -30
- package/types/src/composables/form.d.ts +0 -132
- package/types/src/composables/i18n/index.d.ts +0 -9
- package/types/src/composables/i18n/locale.d.ts +0 -3
- package/types/src/composables/i18n/rtl.d.ts +0 -21
- package/types/src/composables/i18n/share.d.ts +0 -1
- package/types/src/composables/icon.d.ts +0 -79
- package/types/src/composables/index.d.ts +0 -10
- package/types/src/composables/layer-group.d.ts +0 -10
- package/types/src/composables/layout.d.ts +0 -10
- package/types/src/composables/list-items.d.ts +0 -113
- package/types/src/composables/progress.d.ts +0 -4
- package/types/src/composables/ref.d.ts +0 -6
- package/types/src/composables/resize-observer.d.ts +0 -24
- package/types/src/composables/scope.d.ts +0 -3
- package/types/src/composables/style-color.d.ts +0 -14
- package/types/src/composables/theme/factory.d.ts +0 -4
- package/types/src/composables/theme/helper.d.ts +0 -3
- package/types/src/composables/theme/index.d.ts +0 -57
- package/types/src/composables/theme/setting.d.ts +0 -11
- package/types/src/composables/theme/types.d.ts +0 -29
- package/types/src/composables/timing.d.ts +0 -20
- package/types/src/composables/transition.d.ts +0 -40
- package/types/src/composables/validation.d.ts +0 -82
- package/types/src/composables/vue-router.d.ts +0 -43
- package/types/src/declares.d.ts +0 -1
- package/types/src/directives/complement-click/index.d.ts +0 -26
- package/types/src/directives/index.d.ts +0 -2
- package/types/src/directives/plate-wave/index.d.ts +0 -20
- package/types/src/directives/theme-class/index.d.ts +0 -4
- package/types/src/etc/index.d.ts +0 -1
- package/types/src/globals.d.ts +0 -20
- package/types/src/i18n/built-in.d.ts +0 -3
- package/types/src/i18n/config.d.ts +0 -81
- package/types/src/i18n/types.d.ts +0 -20
- package/types/src/index.d.ts +0 -13
- package/types/src/locales/en.d.ts +0 -6
- package/types/src/locales/index.d.ts +0 -2
- package/types/src/locales/ko.d.ts +0 -6
- package/types/src/mixins/di.d.ts +0 -2
- package/types/src/mixins/rebind-attrs.d.ts +0 -5
- package/types/src/shims.d.ts +0 -65
- package/types/src/types/index.d.ts +0 -9
- package/types/src/util/anchor.d.ts +0 -23
- package/types/src/util/array.d.ts +0 -2
- package/types/src/util/collection.d.ts +0 -1
- package/types/src/util/color/apca.d.ts +0 -29
- package/types/src/util/color/const.d.ts +0 -5
- package/types/src/util/color/contrast/contrast.d.ts +0 -74
- package/types/src/util/color/conversion.d.ts +0 -131
- package/types/src/util/color/hct/cam16.d.ts +0 -116
- package/types/src/util/color/hct/hct-solver.d.ts +0 -131
- package/types/src/util/color/hct/hct.d.ts +0 -71
- package/types/src/util/color/hct/viewing-conditions.d.ts +0 -58
- package/types/src/util/color/index.d.ts +0 -5
- package/types/src/util/color/palettes/core-palette.d.ts +0 -44
- package/types/src/util/color/palettes/tonal-palette.d.ts +0 -40
- package/types/src/util/color/types.d.ts +0 -14
- package/types/src/util/color/utils/math-utils.d.ts +0 -82
- package/types/src/util/common.d.ts +0 -17
- package/types/src/util/component/component.d.ts +0 -5
- package/types/src/util/component/index.d.ts +0 -11
- package/types/src/util/component/inject-self.d.ts +0 -3
- package/types/src/util/component/props.d.ts +0 -32
- package/types/src/util/component/types.d.ts +0 -21
- package/types/src/util/date/adapters/yuyeon-date-adapter.d.ts +0 -43
- package/types/src/util/date/built-in.d.ts +0 -41
- package/types/src/util/date/index.d.ts +0 -3
- package/types/src/util/date/types.d.ts +0 -167
- package/types/src/util/debounce.d.ts +0 -11
- package/types/src/util/dom.d.ts +0 -5
- package/types/src/util/environments.d.ts +0 -6
- package/types/src/util/frame-scheduler.d.ts +0 -7
- package/types/src/util/index.d.ts +0 -16
- package/types/src/util/reactivity.d.ts +0 -7
- package/types/src/util/rect.d.ts +0 -36
- package/types/src/util/scroll.d.ts +0 -3
- package/types/src/util/string.d.ts +0 -9
- package/types/src/util/ui.d.ts +0 -4
- package/types/src/util/validation.d.ts +0 -3
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ExtractPropTypes } from 'vue';
|
|
2
|
-
|
|
3
|
-
export declare const styleColorPropsOptions: {
|
|
4
|
-
color: StringConstructor;
|
|
5
|
-
background: StringConstructor;
|
|
6
|
-
backgroundOpacity: {
|
|
7
|
-
type: NumberConstructor;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
export declare function useStyleColor(props: ExtractPropTypes<typeof styleColorPropsOptions>, name: string): {
|
|
11
|
-
colorVars: import('vue').ComputedRef<{
|
|
12
|
-
[x: string]: string | undefined;
|
|
13
|
-
}>;
|
|
14
|
-
};
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { App, ComputedRef, PropType, Ref } from 'vue';
|
|
2
|
-
import { ThemeScheme } from './setting';
|
|
3
|
-
import { ThemeOptions } from './types';
|
|
4
|
-
|
|
5
|
-
export type { ThemeOptions };
|
|
6
|
-
export declare const Y_THEME_PREFIX = "y-theme";
|
|
7
|
-
export interface ThemeModuleInstance {
|
|
8
|
-
scheme: Ref<keyof typeof ThemeScheme | 'auto'>;
|
|
9
|
-
theme: Ref<[string, string?]>;
|
|
10
|
-
readonly themes: any;
|
|
11
|
-
readonly global: {
|
|
12
|
-
scheme: Ref<keyof typeof ThemeScheme | 'auto'>;
|
|
13
|
-
theme: Ref<[string, string?]>;
|
|
14
|
-
};
|
|
15
|
-
readonly currentThemeKey: Readonly<ComputedRef<string>>;
|
|
16
|
-
readonly themeClasses: Readonly<ComputedRef<string | undefined>>;
|
|
17
|
-
readonly computedThemes: Readonly<ComputedRef<any>>;
|
|
18
|
-
readonly computedPalette: Readonly<ComputedRef<any>>;
|
|
19
|
-
readonly supportedAutoMode: Readonly<Ref<boolean>>;
|
|
20
|
-
readonly preferColorScheme: Readonly<Ref<'light' | 'dark'>>;
|
|
21
|
-
}
|
|
22
|
-
export declare const YUYEON_THEME_KEY: unique symbol;
|
|
23
|
-
export declare const pressThemePropsOptions: <Defaults extends {
|
|
24
|
-
theme?: unknown;
|
|
25
|
-
} = {}>(defaults?: Defaults | undefined) => {
|
|
26
|
-
theme: unknown extends Defaults["theme"] ? PropType<string> : {
|
|
27
|
-
type: PropType<unknown extends Defaults["theme"] ? string : string | Defaults["theme"]>;
|
|
28
|
-
default: unknown extends Defaults["theme"] ? string : string | Defaults["theme"];
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
export declare function isDarkMode(): boolean;
|
|
32
|
-
export declare function isSupportAutoScheme(): boolean;
|
|
33
|
-
export declare function createThemeModule(options: ThemeOptions): {
|
|
34
|
-
install: (app: App) => void;
|
|
35
|
-
init: (yuyeon: any) => void;
|
|
36
|
-
scope: import('vue').EffectScope;
|
|
37
|
-
instance: {
|
|
38
|
-
global: {
|
|
39
|
-
scheme: Ref<string, string>;
|
|
40
|
-
theme: Ref<[string, string], [string, string]>;
|
|
41
|
-
};
|
|
42
|
-
themes: Ref<any, any>;
|
|
43
|
-
scheme: Ref<string, string>;
|
|
44
|
-
theme: Ref<[string, string], [string, string]>;
|
|
45
|
-
currentThemeKey: ComputedRef<string>;
|
|
46
|
-
currentThemeColors: ComputedRef<Record<string, string>>;
|
|
47
|
-
themeClasses: ComputedRef<string>;
|
|
48
|
-
computedThemes: ComputedRef<Record<string, import('./types').ThemeDefinition>>;
|
|
49
|
-
computedPalette: ComputedRef<Record<string, string>>;
|
|
50
|
-
supportedAutoMode: Readonly<Ref<boolean, boolean>>;
|
|
51
|
-
preferColorScheme: Readonly<Ref<string, string>>;
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
|
-
export declare function useLocalTheme(props: {
|
|
55
|
-
theme?: string;
|
|
56
|
-
}): ThemeModuleInstance;
|
|
57
|
-
export declare function useTheme(): ThemeModuleInstance;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { PaletteOption, ThemeOptions } from './types';
|
|
2
|
-
|
|
3
|
-
export declare const ThemeScheme: {
|
|
4
|
-
readonly light: "light";
|
|
5
|
-
readonly dark: "dark";
|
|
6
|
-
};
|
|
7
|
-
export declare const schemes: readonly ["light", "dark", "auto"];
|
|
8
|
-
export declare const defaultTonalLuminance: number[];
|
|
9
|
-
export declare const defaultPalette: PaletteOption;
|
|
10
|
-
export declare const defaultThemesValues: any;
|
|
11
|
-
export declare function configureOptions(options?: ThemeOptions): any;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
export interface ThemeOptions {
|
|
2
|
-
scheme: 'light' | 'dark' | 'auto';
|
|
3
|
-
theme: [string, string?];
|
|
4
|
-
themes: Record<string, ThemeDefinition>;
|
|
5
|
-
palette?: PaletteOption;
|
|
6
|
-
cspNonce?: string;
|
|
7
|
-
separation?: string;
|
|
8
|
-
}
|
|
9
|
-
export interface PaletteOption {
|
|
10
|
-
scaleMethod: 'manual' | 'luma' | 'tonal';
|
|
11
|
-
colors: Record<string, string | PaletteLevelColorOption | PaletteLumaColorOption>;
|
|
12
|
-
defaultLamaScale?: {
|
|
13
|
-
darken?: 0 | 1 | 2 | 3 | 4;
|
|
14
|
-
lighten?: 0 | 1 | 2 | 3 | 4 | 5;
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
type ScaleLevel = number;
|
|
18
|
-
export type PaletteLevelColorOption = Record<ScaleLevel, string>;
|
|
19
|
-
export type PaletteLumaColorOption = {
|
|
20
|
-
value: string;
|
|
21
|
-
darken?: 0 | 1 | 2 | 3 | 4;
|
|
22
|
-
lighten?: 0 | 1 | 2 | 3 | 4 | 5;
|
|
23
|
-
};
|
|
24
|
-
export interface ThemeDefinition {
|
|
25
|
-
isDark: boolean;
|
|
26
|
-
colors: Record<string, string>;
|
|
27
|
-
variables: Record<string, string>;
|
|
28
|
-
}
|
|
29
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { MaybeRef, Ref } from 'vue';
|
|
2
|
-
|
|
3
|
-
export declare function useLazy(eager: Ref<boolean | undefined>, updated: Ref<any>): {
|
|
4
|
-
entered: Ref<boolean, boolean>;
|
|
5
|
-
lazyValue: import('vue').ComputedRef<any>;
|
|
6
|
-
onAfterUpdate: () => void;
|
|
7
|
-
};
|
|
8
|
-
export declare function useTimer(cb: () => void, duration: MaybeRef<number>, options?: {
|
|
9
|
-
tickDuration: number;
|
|
10
|
-
}): {
|
|
11
|
-
start: () => void;
|
|
12
|
-
stop: () => void;
|
|
13
|
-
reset: () => void;
|
|
14
|
-
drift: Ref<number, number>;
|
|
15
|
-
isWork: Ref<boolean, boolean>;
|
|
16
|
-
};
|
|
17
|
-
export declare function useDelay(props: any, callback?: (active: boolean) => void): {
|
|
18
|
-
startOpenDelay: () => Promise<boolean>;
|
|
19
|
-
startCloseDelay: () => Promise<boolean>;
|
|
20
|
-
};
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { Component, FunctionalComponent, PropType, TransitionProps } from 'vue';
|
|
2
|
-
|
|
3
|
-
export declare const pressPolyTransitionPropsOptions: <Defaults extends {
|
|
4
|
-
transition?: unknown;
|
|
5
|
-
} = {}>(defaults?: Defaults | undefined) => {
|
|
6
|
-
transition: unknown extends Defaults["transition"] ? {
|
|
7
|
-
type: PropType<string | (TransitionProps & {
|
|
8
|
-
is?: Component;
|
|
9
|
-
})>;
|
|
10
|
-
default: string;
|
|
11
|
-
} : Omit<{
|
|
12
|
-
type: PropType<string | (TransitionProps & {
|
|
13
|
-
is?: Component;
|
|
14
|
-
})>;
|
|
15
|
-
default: string;
|
|
16
|
-
}, "type" | "default"> & {
|
|
17
|
-
type: PropType<unknown extends Defaults["transition"] ? string | (TransitionProps & {
|
|
18
|
-
is?: Component;
|
|
19
|
-
}) : Defaults["transition"] | NonNullable<string | (TransitionProps & {
|
|
20
|
-
is?: Component;
|
|
21
|
-
})>>;
|
|
22
|
-
default: unknown extends Defaults["transition"] ? string | (TransitionProps & {
|
|
23
|
-
is?: Component;
|
|
24
|
-
}) : Defaults["transition"] | NonNullable<string | (TransitionProps & {
|
|
25
|
-
is?: Component;
|
|
26
|
-
})>;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
export declare function usePolyTransition(props: {
|
|
30
|
-
transition: any;
|
|
31
|
-
}): {
|
|
32
|
-
polyTransitionBindProps: import('vue').ComputedRef<{
|
|
33
|
-
is: any;
|
|
34
|
-
transitionProps: any;
|
|
35
|
-
}>;
|
|
36
|
-
};
|
|
37
|
-
export declare const PolyTransition: FunctionalComponent<TransitionProps & {
|
|
38
|
-
is: string | Component;
|
|
39
|
-
transitionProps: TransitionProps;
|
|
40
|
-
}>;
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
|
|
3
|
-
export interface ValidationProps {
|
|
4
|
-
validateOn: 'input' | 'blur' | 'lazy' | 'submit' | string;
|
|
5
|
-
}
|
|
6
|
-
export declare const pressValidationPropsOptions: <Defaults extends {
|
|
7
|
-
readonly?: unknown;
|
|
8
|
-
disabled?: unknown;
|
|
9
|
-
status?: unknown;
|
|
10
|
-
helperText?: unknown;
|
|
11
|
-
validators?: unknown;
|
|
12
|
-
validateOn?: unknown;
|
|
13
|
-
validationValue?: unknown;
|
|
14
|
-
maxErrors?: unknown;
|
|
15
|
-
} = {}>(defaults?: Defaults | undefined) => {
|
|
16
|
-
readonly: unknown extends Defaults["readonly"] ? PropType<boolean> : {
|
|
17
|
-
type: PropType<unknown extends Defaults["readonly"] ? boolean : boolean | Defaults["readonly"]>;
|
|
18
|
-
default: unknown extends Defaults["readonly"] ? boolean : boolean | Defaults["readonly"];
|
|
19
|
-
};
|
|
20
|
-
disabled: unknown extends Defaults["disabled"] ? PropType<boolean> : {
|
|
21
|
-
type: PropType<unknown extends Defaults["disabled"] ? boolean : boolean | Defaults["disabled"]>;
|
|
22
|
-
default: unknown extends Defaults["disabled"] ? boolean : boolean | Defaults["disabled"];
|
|
23
|
-
};
|
|
24
|
-
status: unknown extends Defaults["status"] ? {
|
|
25
|
-
type: PropType<"success" | "warning" | "error" | undefined>;
|
|
26
|
-
validator(value: string): boolean;
|
|
27
|
-
} : Omit<{
|
|
28
|
-
type: PropType<"success" | "warning" | "error" | undefined>;
|
|
29
|
-
validator(value: string): boolean;
|
|
30
|
-
}, "type" | "default"> & {
|
|
31
|
-
type: PropType<unknown extends Defaults["status"] ? "error" | "warning" | "success" | undefined : Defaults["status"] | NonNullable<"error" | "warning" | "success" | undefined>>;
|
|
32
|
-
default: unknown extends Defaults["status"] ? "error" | "warning" | "success" | undefined : Defaults["status"] | NonNullable<"error" | "warning" | "success" | undefined>;
|
|
33
|
-
};
|
|
34
|
-
helperText: unknown extends Defaults["helperText"] ? StringConstructor : {
|
|
35
|
-
type: PropType<unknown extends Defaults["helperText"] ? string : string | Defaults["helperText"]>;
|
|
36
|
-
default: unknown extends Defaults["helperText"] ? string : string | Defaults["helperText"];
|
|
37
|
-
};
|
|
38
|
-
validators: unknown extends Defaults["validators"] ? PropType<string[] | ((v: any) => boolean | string)[]> : {
|
|
39
|
-
type: PropType<unknown extends Defaults["validators"] ? string[] | ((v: any) => boolean | string)[] : Defaults["validators"] | NonNullable<string[] | ((v: any) => boolean | string)[]>>;
|
|
40
|
-
default: unknown extends Defaults["validators"] ? string[] | ((v: any) => boolean | string)[] : Defaults["validators"] | NonNullable<string[] | ((v: any) => boolean | string)[]>;
|
|
41
|
-
};
|
|
42
|
-
validateOn: unknown extends Defaults["validateOn"] ? {
|
|
43
|
-
type: PropType<ValidationProps["validateOn"]>;
|
|
44
|
-
} : Omit<{
|
|
45
|
-
type: PropType<ValidationProps["validateOn"]>;
|
|
46
|
-
}, "type" | "default"> & {
|
|
47
|
-
type: PropType<unknown extends Defaults["validateOn"] ? string : string | Defaults["validateOn"]>;
|
|
48
|
-
default: unknown extends Defaults["validateOn"] ? string : string | Defaults["validateOn"];
|
|
49
|
-
};
|
|
50
|
-
validationValue: unknown extends Defaults["validationValue"] ? null : {
|
|
51
|
-
type: PropType<unknown extends Defaults["validationValue"] ? any : any>;
|
|
52
|
-
default: unknown extends Defaults["validationValue"] ? any : any;
|
|
53
|
-
};
|
|
54
|
-
maxErrors: unknown extends Defaults["maxErrors"] ? {
|
|
55
|
-
type: PropType<number | string>;
|
|
56
|
-
default: number;
|
|
57
|
-
} : Omit<{
|
|
58
|
-
type: PropType<number | string>;
|
|
59
|
-
default: number;
|
|
60
|
-
}, "type" | "default"> & {
|
|
61
|
-
type: PropType<unknown extends Defaults["maxErrors"] ? string | number : Defaults["maxErrors"] | NonNullable<string | number>>;
|
|
62
|
-
default: unknown extends Defaults["maxErrors"] ? string | number : Defaults["maxErrors"] | NonNullable<string | number>;
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
export declare function useValidation(props: any, name: string, uid?: number | undefined): {
|
|
66
|
-
invokeValidators: () => Promise<any[]>;
|
|
67
|
-
resetError: () => void;
|
|
68
|
-
validating: import('vue').Ref<boolean, boolean>;
|
|
69
|
-
validateOn: import('vue').ComputedRef<{
|
|
70
|
-
blur: boolean;
|
|
71
|
-
input: boolean;
|
|
72
|
-
lazy: boolean;
|
|
73
|
-
submit: boolean;
|
|
74
|
-
}>;
|
|
75
|
-
errorResult: import('vue').Ref<any, any>;
|
|
76
|
-
errors: import('vue').Ref<any[], any[]>;
|
|
77
|
-
isReadonly: import('vue').ComputedRef<any>;
|
|
78
|
-
isDisabled: import('vue').ComputedRef<any>;
|
|
79
|
-
isLoading: import('vue').ComputedRef<any>;
|
|
80
|
-
isError: import('vue').ComputedRef<boolean>;
|
|
81
|
-
isSuccess: import('vue').ComputedRef<boolean>;
|
|
82
|
-
};
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { ComputedRef, PropType, Ref, SetupContext } from 'vue';
|
|
2
|
-
import { RouteLocationRaw, useLink as _useLink } from 'vue-router';
|
|
3
|
-
import { EventProp } from '../util/component';
|
|
4
|
-
|
|
5
|
-
export interface LinkProps {
|
|
6
|
-
href: string | undefined;
|
|
7
|
-
replace: boolean | undefined;
|
|
8
|
-
to: RouteLocationRaw | undefined;
|
|
9
|
-
exact: boolean | undefined;
|
|
10
|
-
}
|
|
11
|
-
export interface LinkListeners {
|
|
12
|
-
onClick?: EventProp | undefined;
|
|
13
|
-
onClickOnce?: EventProp | undefined;
|
|
14
|
-
}
|
|
15
|
-
export declare const pressVueRouterPropsOptions: <Defaults extends {
|
|
16
|
-
href?: unknown;
|
|
17
|
-
replace?: unknown;
|
|
18
|
-
to?: unknown;
|
|
19
|
-
exact?: unknown;
|
|
20
|
-
} = {}>(defaults?: Defaults | undefined) => {
|
|
21
|
-
href: unknown extends Defaults["href"] ? StringConstructor : {
|
|
22
|
-
type: PropType<unknown extends Defaults["href"] ? string : string | Defaults["href"]>;
|
|
23
|
-
default: unknown extends Defaults["href"] ? string : string | Defaults["href"];
|
|
24
|
-
};
|
|
25
|
-
replace: unknown extends Defaults["replace"] ? BooleanConstructor : {
|
|
26
|
-
type: PropType<unknown extends Defaults["replace"] ? boolean : boolean | Defaults["replace"]>;
|
|
27
|
-
default: unknown extends Defaults["replace"] ? boolean : boolean | Defaults["replace"];
|
|
28
|
-
};
|
|
29
|
-
to: unknown extends Defaults["to"] ? PropType<string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric> : {
|
|
30
|
-
type: PropType<unknown extends Defaults["to"] ? string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric : Defaults["to"] | NonNullable<string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric>>;
|
|
31
|
-
default: unknown extends Defaults["to"] ? string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric : Defaults["to"] | NonNullable<string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric>;
|
|
32
|
-
};
|
|
33
|
-
exact: unknown extends Defaults["exact"] ? BooleanConstructor : {
|
|
34
|
-
type: PropType<unknown extends Defaults["exact"] ? boolean : boolean | Defaults["exact"]>;
|
|
35
|
-
default: unknown extends Defaults["exact"] ? boolean : boolean | Defaults["exact"];
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
export interface UseLink extends Omit<Partial<ReturnType<typeof _useLink>>, 'href'> {
|
|
39
|
-
isLink: ComputedRef<boolean>;
|
|
40
|
-
isClickable: ComputedRef<boolean>;
|
|
41
|
-
href: Ref<string | undefined>;
|
|
42
|
-
}
|
|
43
|
-
export declare function useLink(props: LinkProps & LinkListeners, attrs: SetupContext['attrs']): UseLink;
|
package/types/src/declares.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
declare module '*.scss';
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { DirectiveBinding } from 'vue';
|
|
2
|
-
|
|
3
|
-
interface ComplementClickDirectiveElementImplanted {
|
|
4
|
-
onClick: EventListener;
|
|
5
|
-
onMousedown: EventListener;
|
|
6
|
-
}
|
|
7
|
-
declare global {
|
|
8
|
-
interface Element {
|
|
9
|
-
_complementClick?: Record<number, ComplementClickDirectiveElementImplanted | undefined> & {
|
|
10
|
-
lastMousedownWasOutside: boolean;
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
export interface ComplementClickBindingOptions {
|
|
15
|
-
handler: (mouseEvent: MouseEvent) => void;
|
|
16
|
-
determine?: (event: Event) => boolean;
|
|
17
|
-
include?: () => (HTMLElement | undefined)[];
|
|
18
|
-
}
|
|
19
|
-
export interface ComplementClickBinding extends DirectiveBinding {
|
|
20
|
-
value: ((mouseEvent: MouseEvent) => void) | ComplementClickBindingOptions;
|
|
21
|
-
}
|
|
22
|
-
export declare const ComplementClick: {
|
|
23
|
-
mounted(element: HTMLElement, binding: ComplementClickBinding): void;
|
|
24
|
-
unmounted(element: HTMLElement, binding: ComplementClickBinding): void;
|
|
25
|
-
};
|
|
26
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Directive, DirectiveBinding } from 'vue';
|
|
2
|
-
|
|
3
|
-
export interface PlateWaveBinding extends Omit<DirectiveBinding, 'modifiers' | 'value'> {
|
|
4
|
-
value?: boolean;
|
|
5
|
-
modifiers: {
|
|
6
|
-
stop?: boolean;
|
|
7
|
-
};
|
|
8
|
-
}
|
|
9
|
-
export declare const PlateWave: {
|
|
10
|
-
mounted(el: HTMLElement, binding: PlateWaveBinding): void;
|
|
11
|
-
updated(el: HTMLElement, binding: PlateWaveBinding): void;
|
|
12
|
-
unmount(el: HTMLElement): void;
|
|
13
|
-
};
|
|
14
|
-
export type PlateWaveDirective = Directive<HTMLElement, PlateWaveBinding>;
|
|
15
|
-
declare module 'vue' {
|
|
16
|
-
interface ComponentCustomProperties {
|
|
17
|
-
vPlateWave: PlateWaveDirective;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
export default PlateWave;
|
package/types/src/etc/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const YUYEON_LOGO = ",--. ,--.,--.,--.,--. ,--.,---. ,---. ,--,--, \n \\ ' / | || | \\ ' /| .-. :| .-. || \\ \n \\ ' ' '' ' \\ ' \\ --.' '-' '| || | \n.-' / `----' .-' / `----' `---' `--''--' \n`---' `---' ";
|
package/types/src/globals.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { VNode } from 'vue';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
declare global {
|
|
5
|
-
namespace JSX {
|
|
6
|
-
interface Element extends VNode {}
|
|
7
|
-
|
|
8
|
-
interface IntrinsicAttributes {
|
|
9
|
-
[name: string]: any;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
declare module 'vue' {
|
|
15
|
-
export interface ComponentCustomProperties {}
|
|
16
|
-
|
|
17
|
-
export interface ComponentInternalInstance {
|
|
18
|
-
provides: Record<string, unknown>;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
export declare const localeCodesMap: {
|
|
2
|
-
af: string;
|
|
3
|
-
bg: string;
|
|
4
|
-
ca: string;
|
|
5
|
-
cs: string;
|
|
6
|
-
de: string;
|
|
7
|
-
el: string;
|
|
8
|
-
en: string;
|
|
9
|
-
et: string;
|
|
10
|
-
fa: string;
|
|
11
|
-
fi: string;
|
|
12
|
-
hr: string;
|
|
13
|
-
hu: string;
|
|
14
|
-
he: string;
|
|
15
|
-
id: string;
|
|
16
|
-
it: string;
|
|
17
|
-
ja: string;
|
|
18
|
-
ko: string;
|
|
19
|
-
lv: string;
|
|
20
|
-
lt: string;
|
|
21
|
-
nl: string;
|
|
22
|
-
no: string;
|
|
23
|
-
pl: string;
|
|
24
|
-
pt: string;
|
|
25
|
-
ro: string;
|
|
26
|
-
ru: string;
|
|
27
|
-
sk: string;
|
|
28
|
-
sl: string;
|
|
29
|
-
srCyrl: string;
|
|
30
|
-
srLatn: string;
|
|
31
|
-
sv: string;
|
|
32
|
-
th: string;
|
|
33
|
-
tr: string;
|
|
34
|
-
az: string;
|
|
35
|
-
uk: string;
|
|
36
|
-
vi: string;
|
|
37
|
-
zhHans: string;
|
|
38
|
-
zhHant: string;
|
|
39
|
-
};
|
|
40
|
-
export declare const defaultRtl: {
|
|
41
|
-
af: boolean;
|
|
42
|
-
ar: boolean;
|
|
43
|
-
bg: boolean;
|
|
44
|
-
ca: boolean;
|
|
45
|
-
cs: boolean;
|
|
46
|
-
de: boolean;
|
|
47
|
-
el: boolean;
|
|
48
|
-
en: boolean;
|
|
49
|
-
es: boolean;
|
|
50
|
-
et: boolean;
|
|
51
|
-
fa: boolean;
|
|
52
|
-
fi: boolean;
|
|
53
|
-
fr: boolean;
|
|
54
|
-
hr: boolean;
|
|
55
|
-
hu: boolean;
|
|
56
|
-
he: boolean;
|
|
57
|
-
id: boolean;
|
|
58
|
-
it: boolean;
|
|
59
|
-
ja: boolean;
|
|
60
|
-
ko: boolean;
|
|
61
|
-
lv: boolean;
|
|
62
|
-
lt: boolean;
|
|
63
|
-
nl: boolean;
|
|
64
|
-
no: boolean;
|
|
65
|
-
pl: boolean;
|
|
66
|
-
pt: boolean;
|
|
67
|
-
ro: boolean;
|
|
68
|
-
ru: boolean;
|
|
69
|
-
sk: boolean;
|
|
70
|
-
sl: boolean;
|
|
71
|
-
srCyrl: boolean;
|
|
72
|
-
srLatn: boolean;
|
|
73
|
-
sv: boolean;
|
|
74
|
-
th: boolean;
|
|
75
|
-
tr: boolean;
|
|
76
|
-
az: boolean;
|
|
77
|
-
uk: boolean;
|
|
78
|
-
vi: boolean;
|
|
79
|
-
zhHans: boolean;
|
|
80
|
-
zhHant: boolean;
|
|
81
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Ref } from 'vue';
|
|
2
|
-
|
|
3
|
-
export type LocaleMessages = {
|
|
4
|
-
[key: string]: LocaleMessages | string;
|
|
5
|
-
};
|
|
6
|
-
export interface LocaleOptions {
|
|
7
|
-
messages?: LocaleMessages;
|
|
8
|
-
locale?: string;
|
|
9
|
-
fallbackLocale?: string;
|
|
10
|
-
adapter?: LocaleModule;
|
|
11
|
-
}
|
|
12
|
-
export interface LocaleModule {
|
|
13
|
-
name: string;
|
|
14
|
-
locale: Ref<string>;
|
|
15
|
-
fallbackLocale: Ref<string>;
|
|
16
|
-
messages: Ref<LocaleMessages>;
|
|
17
|
-
t: (key: string, ...args: unknown[]) => string;
|
|
18
|
-
n: (value: number) => string;
|
|
19
|
-
getContext: (props: LocaleOptions) => LocaleModule;
|
|
20
|
-
}
|
package/types/src/index.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { App } from 'vue';
|
|
2
|
-
import { useTheme } from './composables/theme';
|
|
3
|
-
|
|
4
|
-
declare module 'vue' {
|
|
5
|
-
interface ComponentCustomProperties {
|
|
6
|
-
$yuyeon: any;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
export declare function init(options?: any): {
|
|
10
|
-
install: (app: App) => void;
|
|
11
|
-
};
|
|
12
|
-
export declare function useYuyeon(): any;
|
|
13
|
-
export { useTheme };
|
package/types/src/mixins/di.d.ts
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
export default _default;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {
|
|
2
|
-
attrs_$: any;
|
|
3
|
-
listeners_$: any;
|
|
4
|
-
}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
5
|
-
export default _default;
|
package/types/src/shims.d.ts
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { YAlert, YApp, YBadge, YButton, YCard, YCardBody, YCardFooter, YCardHeader, YCheckbox, YChip, YDataTable, YDataTableServer, YDateCalendar, YDatePicker, YDividePanel, YDivider, YExpandHTransition, YExpandVTransition, YFieldInput, YForm, YHover, YIcon, YImg, YInput, YIpv4Field, YLayer, YList, YListItem, YMenu, YMonthPicker, YPagination, YProgressBar, YProgressRing, YSelect, YSnackbar, YSpinnerRing, YSwitch, YTab, YTable, YTabs, YTextarea, YTextEllipsis, YTextHighlighter, YTi, YTooltip, YTreeView } from 'yuyeon/components';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
declare module "vue" {
|
|
5
|
-
export interface GlobalComponents {
|
|
6
|
-
// @define-components
|
|
7
|
-
YApp: YApp;
|
|
8
|
-
YButton: YButton;
|
|
9
|
-
YChip: YChip;
|
|
10
|
-
YInput: YInput;
|
|
11
|
-
YFieldInput: YFieldInput;
|
|
12
|
-
YTextarea: YTextarea;
|
|
13
|
-
YForm: YForm;
|
|
14
|
-
YCard: YCard;
|
|
15
|
-
YCardBody: YCardBody;
|
|
16
|
-
YCardHeader: YCardHeader;
|
|
17
|
-
YCardFooter: YCardFooter;
|
|
18
|
-
YDialog: YDialog;
|
|
19
|
-
YLayer: YLayer;
|
|
20
|
-
YSnackbar: YSnackbar;
|
|
21
|
-
YProgressBar: YProgressBar;
|
|
22
|
-
YSpinnerRing: YSpinnerRing;
|
|
23
|
-
YTooltip: YTooltip;
|
|
24
|
-
YExpandVTransition: YExpandVTransition;
|
|
25
|
-
YExpandHTransition: YExpandHTransition;
|
|
26
|
-
YDividePanel: YDividePanel;
|
|
27
|
-
YList: YList;
|
|
28
|
-
YListItem: YListItem;
|
|
29
|
-
YTreeView: YTreeView;
|
|
30
|
-
YTreeViewNode: YTreeViewNode;
|
|
31
|
-
YTable: YTable;
|
|
32
|
-
YDataTable: YDataTable;
|
|
33
|
-
YDataTableLayerRows: YDataTableLayerRows;
|
|
34
|
-
YDataTableLayerRow: YDataTableLayerRow;
|
|
35
|
-
YDataTableServer: YDataTableServer;
|
|
36
|
-
YMenu: YMenu;
|
|
37
|
-
YPagination: YPagination;
|
|
38
|
-
YInputCheckbox: YInputCheckbox;
|
|
39
|
-
YCheckbox: YCheckbox;
|
|
40
|
-
YSwitch: YSwitch;
|
|
41
|
-
YDropdown: YDropdown;
|
|
42
|
-
YSelect: YSelect;
|
|
43
|
-
YAlert: YAlert;
|
|
44
|
-
YTabs: YTabs;
|
|
45
|
-
YTab: YTab;
|
|
46
|
-
YDivider: YDivider;
|
|
47
|
-
YDateCalendar: YDateCalendar;
|
|
48
|
-
YIcon: YIcon;
|
|
49
|
-
YDatePicker: YDatePicker;
|
|
50
|
-
YMonthPicker: YMonthPicker;
|
|
51
|
-
YBadge: YBadge;
|
|
52
|
-
YIpv4Field: YIpv4Field;
|
|
53
|
-
YHover: YHover;
|
|
54
|
-
YTi: YTi;
|
|
55
|
-
YTextHighlighter: YTextHighlighter;
|
|
56
|
-
YProgressRing: YProgressRing;
|
|
57
|
-
YTextEllipsis: YTextEllipsis;
|
|
58
|
-
YImg: YImg;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
export interface GlobalDirectives {
|
|
62
|
-
vPlateWave: (typeof import("yuyeon/directives"))["PlateWave"];
|
|
63
|
-
vComplementClick: (typeof import("yuyeon/directives"))["ComplementClick"];
|
|
64
|
-
}
|
|
65
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ComponentPublicInstance, FunctionalComponent } from 'vue';
|
|
2
|
-
|
|
3
|
-
export type CandidateKey = string | number;
|
|
4
|
-
export type JSXComponent<Props = any> = FunctionalComponent<Props> | {
|
|
5
|
-
new (): ComponentPublicInstance<Props>;
|
|
6
|
-
};
|
|
7
|
-
export type CssProperties = {
|
|
8
|
-
[p: `--${string}`]: string | number | undefined;
|
|
9
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
declare const block: readonly ["top", "bottom"];
|
|
2
|
-
declare const inline: readonly ["start", "end", "left", "right"];
|
|
3
|
-
type Tblock = (typeof block)[number];
|
|
4
|
-
type Tinline = (typeof inline)[number];
|
|
5
|
-
export type Anchor = Tblock | Tinline | 'center' | 'center center' | `${Tblock} ${Tinline | 'center'}` | `${Tinline} ${Tblock | 'center'}`;
|
|
6
|
-
export type ParsedAnchor = {
|
|
7
|
-
side: 'center';
|
|
8
|
-
align: 'center';
|
|
9
|
-
} | {
|
|
10
|
-
side: Tblock;
|
|
11
|
-
align: 'left' | 'right' | 'center';
|
|
12
|
-
} | {
|
|
13
|
-
side: 'left' | 'right';
|
|
14
|
-
align: Tblock | 'center';
|
|
15
|
-
};
|
|
16
|
-
/** Parse a raw anchor string into an object */
|
|
17
|
-
export declare function parseAnchor(anchor: Anchor, isRtl: boolean): ParsedAnchor;
|
|
18
|
-
export declare function toPhysical(str: 'center' | Tblock | Tinline, isRtl: boolean): "bottom" | "left" | "right" | "top" | "center";
|
|
19
|
-
export declare function flipSide(anchor: ParsedAnchor): ParsedAnchor;
|
|
20
|
-
export declare function flipAlign(anchor: ParsedAnchor): ParsedAnchor;
|
|
21
|
-
export declare function flipCorner(anchor: ParsedAnchor): ParsedAnchor;
|
|
22
|
-
export declare function getAxis(anchor: ParsedAnchor): "y" | "x";
|
|
23
|
-
export {};
|