pxd 0.0.43 → 0.0.45
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/components/active-graph/index.d.vue.ts +51 -0
- package/dist/components/active-graph/index.vue +2 -2
- package/dist/{src/components → components}/active-graph/index.vue.d.ts +8 -7
- package/dist/components/avatar/index.d.vue.ts +34 -0
- package/dist/components/avatar/index.vue +1 -1
- package/dist/{src/components → components}/avatar/index.vue.d.ts +8 -7
- package/dist/components/avatar-group/index.d.vue.ts +8 -0
- package/dist/components/avatar-group/index.vue.d.ts +8 -0
- package/dist/components/backtop/index.d.vue.ts +21 -0
- package/dist/components/backtop/index.vue +1 -1
- package/dist/components/backtop/index.vue.d.ts +21 -0
- package/dist/components/badge/index.d.vue.ts +52 -0
- package/dist/components/badge/index.vue +1 -1
- package/dist/{src/components → components}/badge/index.vue.d.ts +7 -6
- package/dist/components/book/index.d.vue.ts +28 -0
- package/dist/{src/components → components}/book/index.vue.d.ts +4 -3
- package/dist/components/browser/index.d.vue.ts +16 -0
- package/dist/components/browser/index.vue +3 -1
- package/dist/components/browser/index.vue.d.ts +16 -0
- package/dist/components/button/index.d.vue.ts +29 -0
- package/dist/components/button/index.vue.d.ts +29 -0
- package/dist/components/carousel/index.d.vue.ts +13 -0
- package/dist/components/carousel/index.vue.d.ts +13 -0
- package/dist/components/carousel-group/index.d.vue.ts +36 -0
- package/dist/components/carousel-group/index.vue +29 -10
- package/dist/{src/components → components}/carousel-group/index.vue.d.ts +8 -7
- package/dist/components/checkbox/index.d.vue.ts +24 -0
- package/dist/{src/components → components}/checkbox/index.vue.d.ts +6 -5
- package/dist/components/checkbox-group/index.d.vue.ts +28 -0
- package/dist/{src/components → components}/checkbox-group/index.vue.d.ts +8 -7
- package/dist/components/chip/index.d.vue.ts +24 -0
- package/dist/components/chip/index.vue +1 -6
- package/dist/{src/components → components}/chip/index.vue.d.ts +6 -5
- package/dist/components/choicebox/index.d.vue.ts +16 -0
- package/dist/components/choicebox/index.vue.d.ts +16 -0
- package/dist/components/choicebox-group/index.d.vue.ts +24 -0
- package/dist/components/choicebox-group/index.vue.d.ts +24 -0
- package/dist/components/collapse/index.d.vue.ts +22 -0
- package/dist/components/collapse/index.vue +1 -10
- package/dist/components/collapse/index.vue.d.ts +22 -0
- package/dist/components/collapse-group/index.d.vue.ts +20 -0
- package/dist/components/collapse-group/index.vue.d.ts +20 -0
- package/dist/components/command-menu/index.d.vue.ts +40 -0
- package/dist/components/command-menu/index.vue +33 -35
- package/dist/{src/components → components}/command-menu/index.vue.d.ts +13 -12
- package/dist/components/command-menu-group/index.d.vue.ts +17 -0
- package/dist/components/command-menu-group/index.vue.d.ts +17 -0
- package/dist/components/command-menu-item/index.d.vue.ts +13 -0
- package/dist/components/command-menu-item/index.vue.d.ts +13 -0
- package/dist/components/config-provider/index.d.vue.ts +22 -0
- package/dist/components/config-provider/index.vue.d.ts +22 -0
- package/dist/components/countdown/index.d.vue.ts +51 -0
- package/dist/{src/components → components}/countdown/index.vue.d.ts +21 -20
- package/dist/components/dash-line/index.d.vue.ts +13 -0
- package/dist/components/dash-line/index.vue +78 -0
- package/dist/components/dash-line/index.vue.d.ts +13 -0
- package/dist/components/description/index.d.vue.ts +20 -0
- package/dist/components/description/index.vue.d.ts +20 -0
- package/dist/components/drawer/index.d.vue.ts +58 -0
- package/dist/components/drawer/index.vue +15 -75
- package/dist/{src/components → components}/drawer/index.vue.d.ts +20 -18
- package/dist/components/empty-state/index.d.vue.ts +23 -0
- package/dist/{src/components → components}/empty-state/index.vue.d.ts +3 -2
- package/dist/components/error/index.d.vue.ts +22 -0
- package/dist/{src/components → components}/error/index.vue.d.ts +4 -3
- package/dist/components/fader/index.d.vue.ts +12 -0
- package/dist/components/fader/index.vue +4 -3
- package/dist/components/fader/index.vue.d.ts +12 -0
- package/dist/components/gauge/index.d.vue.ts +14 -0
- package/dist/components/gauge/index.vue +1 -1
- package/dist/components/gauge/index.vue.d.ts +14 -0
- package/dist/components/grid/index.d.vue.ts +19 -0
- package/dist/components/grid/index.vue +1 -36
- package/dist/components/grid/index.vue.d.ts +19 -0
- package/dist/components/grid-item/index.d.vue.ts +18 -0
- package/dist/components/grid-item/index.vue.d.ts +18 -0
- package/dist/components/hold-button/index.d.vue.ts +42 -0
- package/dist/components/hold-button/index.vue +2 -1
- package/dist/components/hold-button/index.vue.d.ts +42 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +1 -0
- package/dist/components/input/index.d.vue.ts +54 -0
- package/dist/components/input/index.vue +7 -14
- package/dist/{src/components → components}/input/index.vue.d.ts +19 -18
- package/dist/components/intersection-observer/index.d.vue.ts +39 -0
- package/dist/components/intersection-observer/index.vue +3 -14
- package/dist/components/intersection-observer/index.vue.d.ts +39 -0
- package/dist/components/kbd/index.d.vue.ts +24 -0
- package/dist/components/kbd/index.vue +1 -1
- package/dist/{src/components → components}/kbd/index.vue.d.ts +3 -2
- package/dist/components/keep-alive-container/index.d.vue.ts +13 -0
- package/dist/components/keep-alive-container/index.vue.d.ts +13 -0
- package/dist/components/link-button/index.d.vue.ts +33 -0
- package/dist/{src/components → components}/link-button/index.vue.d.ts +9 -8
- package/dist/components/list/index.d.vue.ts +44 -0
- package/dist/components/list/index.vue +15 -6
- package/dist/{src/components → components}/list/index.vue.d.ts +12 -8
- package/dist/components/list-item/index.d.vue.ts +29 -0
- package/dist/{src/components → components}/list-item/index.vue.d.ts +8 -7
- package/dist/components/loading-bar/index.d.vue.ts +15 -0
- package/dist/components/loading-bar/index.vue.d.ts +15 -0
- package/dist/components/loading-dots/index.d.vue.ts +15 -0
- package/dist/components/loading-dots/index.vue +1 -10
- package/dist/components/loading-dots/index.vue.d.ts +15 -0
- package/dist/components/material/index.d.vue.ts +18 -0
- package/dist/components/material/index.vue.d.ts +18 -0
- package/dist/components/menu/index.d.vue.ts +33 -0
- package/dist/components/menu/index.vue +10 -4
- package/dist/{src/components → components}/menu/index.vue.d.ts +11 -10
- package/dist/components/message/index.d.vue.ts +114 -0
- package/dist/components/message/index.vue +6 -2
- package/dist/components/message/index.vue.d.ts +114 -0
- package/dist/components/modal/index.d.vue.ts +56 -0
- package/dist/components/modal/index.vue +18 -21
- package/dist/{src/components → components}/modal/index.vue.d.ts +19 -17
- package/dist/components/more-button/index.d.vue.ts +18 -0
- package/dist/components/more-button/index.vue +1 -7
- package/dist/components/more-button/index.vue.d.ts +18 -0
- package/dist/components/note/index.d.vue.ts +64 -0
- package/dist/components/note/index.vue +2 -2
- package/dist/components/note/index.vue.d.ts +64 -0
- package/dist/components/number-input/index.d.vue.ts +37 -0
- package/dist/components/number-input/index.vue +4 -8
- package/dist/{src/components → components}/number-input/index.vue.d.ts +11 -10
- package/dist/components/overlay/index.d.vue.ts +35 -0
- package/dist/components/overlay/index.vue +76 -61
- package/dist/components/overlay/index.vue.d.ts +35 -0
- package/dist/components/overlay/overlay-stack.d.ts +3 -0
- package/dist/components/overlay/overlay-stack.js +17 -0
- package/dist/components/pagination/index.d.vue.ts +21 -0
- package/dist/components/pagination/index.vue +2 -2
- package/dist/components/pagination/index.vue.d.ts +21 -0
- package/dist/components/pin-input/index.d.vue.ts +37 -0
- package/dist/{src/components → components}/pin-input/index.vue.d.ts +5 -4
- package/dist/components/placeholder/index.d.vue.ts +18 -0
- package/dist/components/placeholder/index.vue +15 -25
- package/dist/components/placeholder/index.vue.d.ts +18 -0
- package/dist/components/popover/index.d.vue.ts +78 -0
- package/dist/components/popover/index.vue +300 -278
- package/dist/{src/components → components}/popover/index.vue.d.ts +26 -33
- package/dist/components/progress/index.d.vue.ts +32 -0
- package/dist/{src/components → components}/progress/index.vue.d.ts +7 -6
- package/dist/components/radio/index.d.vue.ts +18 -0
- package/dist/{src/components → components}/radio/index.vue.d.ts +5 -4
- package/dist/components/radio-group/index.d.vue.ts +22 -0
- package/dist/components/radio-group/index.vue.d.ts +22 -0
- package/dist/components/resizable/index.d.vue.ts +19 -0
- package/dist/components/resizable/index.vue.d.ts +19 -0
- package/dist/components/resizable-handle/index.d.vue.ts +3 -0
- package/dist/components/resizable-handle/index.vue.d.ts +3 -0
- package/dist/components/resizable-panel/index.d.vue.ts +20 -0
- package/dist/components/resizable-panel/index.vue.d.ts +20 -0
- package/dist/components/scrollable/index.d.vue.ts +0 -0
- package/dist/components/scrollable/index.vue +17 -16
- package/dist/components/scrollable/index.vue.d.ts +0 -0
- package/dist/components/skeleton/index.d.vue.ts +26 -0
- package/dist/components/skeleton/index.vue +1 -17
- package/dist/{src/components → components}/skeleton/index.vue.d.ts +5 -4
- package/dist/components/slider/index.d.vue.ts +24 -0
- package/dist/components/slider/index.vue +1 -18
- package/dist/{src/components → components}/slider/index.vue.d.ts +7 -6
- package/dist/components/snippet/index.d.vue.ts +18 -0
- package/dist/components/snippet/index.vue +3 -2
- package/dist/{src/components → components}/snippet/index.vue.d.ts +3 -2
- package/dist/components/spinner/index.d.vue.ts +3 -0
- package/dist/components/spinner/index.vue +7 -7
- package/dist/components/spinner/index.vue.d.ts +3 -0
- package/dist/components/stack/index.d.vue.ts +30 -0
- package/dist/{src/components → components}/stack/index.vue.d.ts +9 -8
- package/dist/components/status-dot/index.d.vue.ts +10 -0
- package/dist/components/status-dot/index.vue.d.ts +10 -0
- package/dist/components/switch/index.d.vue.ts +20 -0
- package/dist/components/switch/index.vue.d.ts +20 -0
- package/dist/components/switch-group/index.d.vue.ts +21 -0
- package/dist/components/switch-group/index.vue.d.ts +21 -0
- package/dist/components/teleport/index.d.vue.ts +21 -0
- package/dist/components/teleport/index.vue.d.ts +21 -0
- package/dist/components/text/index.d.vue.ts +26 -0
- package/dist/{src/components → components}/text/index.vue.d.ts +7 -6
- package/dist/components/textarea/index.d.vue.ts +39 -0
- package/dist/{src/components → components}/textarea/index.vue.d.ts +10 -9
- package/dist/components/theme-switcher/index.d.vue.ts +8 -0
- package/dist/{src/components → components}/theme-switcher/index.vue.d.ts +3 -2
- package/dist/components/time-picker/index.d.vue.ts +26 -0
- package/dist/components/time-picker/index.vue +38 -46
- package/dist/{src/components → components}/time-picker/index.vue.d.ts +7 -6
- package/dist/components/toggle/index.d.vue.ts +44 -0
- package/dist/components/toggle/index.vue +3 -3
- package/dist/{src/components → components}/toggle/index.vue.d.ts +11 -10
- package/dist/components/tooltip/index.d.vue.ts +32 -0
- package/dist/components/tooltip/index.vue +1 -5
- package/dist/{src/components → components}/tooltip/index.vue.d.ts +7 -8
- package/dist/components/virtual-list/index.d.vue.ts +24 -0
- package/dist/components/virtual-list/index.vue.d.ts +24 -0
- package/dist/composables/index.d.ts +3 -0
- package/dist/composables/index.js +3 -0
- package/dist/composables/use-browser-observer.d.ts +4 -4
- package/dist/composables/use-browser-observer.js +12 -9
- package/dist/composables/use-countdown.d.ts +6 -4
- package/dist/composables/use-deferred-value.d.ts +12 -0
- package/dist/composables/use-deferred-value.js +31 -0
- package/dist/composables/use-delay-change.d.ts +7 -3
- package/dist/composables/use-delay-change.js +9 -3
- package/dist/composables/use-delay-destroy.d.ts +7 -6
- package/dist/composables/use-delay-destroy.js +41 -21
- package/dist/composables/use-focus-trap.d.ts +9 -1
- package/dist/composables/use-focus-trap.js +31 -54
- package/dist/composables/use-lock-scroll.d.ts +5 -0
- package/dist/composables/use-lock-scroll.js +40 -0
- package/dist/composables/use-media-query.js +2 -2
- package/dist/composables/use-message.js +2 -2
- package/dist/composables/use-outside-click.d.ts +10 -0
- package/dist/composables/use-outside-click.js +33 -0
- package/dist/composables/use-pointer-gesture.js +2 -2
- package/dist/composables/use-repeat-action.d.ts +7 -7
- package/dist/composables/use-repeat-action.js +9 -8
- package/dist/contexts/choicebox.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/styles/source.css +562 -0
- package/dist/styles/styles.css +2 -2
- package/dist/styles/tw.css +21 -17
- package/dist/utils/dom.d.ts +5 -4
- package/dist/utils/dom.js +47 -52
- package/dist/utils/event.d.ts +1 -1
- package/dist/utils/event.js +13 -21
- package/dist/utils/get.js +1 -1
- package/package.json +26 -26
- package/volar.d.ts +1 -0
- package/dist/dist/components/keep-alive-container/index.vue.d.ts +0 -12
- package/dist/src/components/avatar-group/index.vue.d.ts +0 -7
- package/dist/src/components/backtop/index.vue.d.ts +0 -20
- package/dist/src/components/browser/index.vue.d.ts +0 -15
- package/dist/src/components/button/index.vue.d.ts +0 -28
- package/dist/src/components/carousel/index.vue.d.ts +0 -12
- package/dist/src/components/choicebox/index.vue.d.ts +0 -15
- package/dist/src/components/choicebox-group/index.vue.d.ts +0 -23
- package/dist/src/components/collapse/index.vue.d.ts +0 -21
- package/dist/src/components/collapse-group/index.vue.d.ts +0 -19
- package/dist/src/components/command-menu-group/index.vue.d.ts +0 -16
- package/dist/src/components/command-menu-item/index.vue.d.ts +0 -12
- package/dist/src/components/config-provider/index.vue.d.ts +0 -21
- package/dist/src/components/description/index.vue.d.ts +0 -19
- package/dist/src/components/fader/index.vue.d.ts +0 -11
- package/dist/src/components/gauge/index.vue.d.ts +0 -13
- package/dist/src/components/grid/index.vue.d.ts +0 -18
- package/dist/src/components/grid-item/index.vue.d.ts +0 -17
- package/dist/src/components/hold-button/index.vue.d.ts +0 -41
- package/dist/src/components/intersection-observer/index.vue.d.ts +0 -38
- package/dist/src/components/keep-alive-container/index.vue.d.ts +0 -12
- package/dist/src/components/loading-bar/index.vue.d.ts +0 -14
- package/dist/src/components/loading-dots/index.vue.d.ts +0 -14
- package/dist/src/components/material/index.vue.d.ts +0 -17
- package/dist/src/components/message/index.vue.d.ts +0 -74
- package/dist/src/components/more-button/index.vue.d.ts +0 -17
- package/dist/src/components/note/index.vue.d.ts +0 -91
- package/dist/src/components/overlay/index.vue.d.ts +0 -31
- package/dist/src/components/pagination/index.vue.d.ts +0 -20
- package/dist/src/components/placeholder/index.vue.d.ts +0 -9
- package/dist/src/components/radio-group/index.vue.d.ts +0 -21
- package/dist/src/components/resizable/index.vue.d.ts +0 -18
- package/dist/src/components/resizable-handle/index.vue.d.ts +0 -2
- package/dist/src/components/resizable-panel/index.vue.d.ts +0 -19
- package/dist/src/components/spinner/index.vue.d.ts +0 -2
- package/dist/src/components/status-dot/index.vue.d.ts +0 -9
- package/dist/src/components/switch/index.vue.d.ts +0 -19
- package/dist/src/components/switch-group/index.vue.d.ts +0 -20
- package/dist/src/components/teleport/index.vue.d.ts +0 -20
- package/dist/src/components/virtual-list/index.vue.d.ts +0 -23
- package/dist/src/composables/use-browser-observer.d.ts +0 -12
- package/dist/src/composables/use-color-scheme.d.ts +0 -11
- package/dist/src/composables/use-config-provider-context.d.ts +0 -7
- package/dist/src/composables/use-copy-click.d.ts +0 -4
- package/dist/src/composables/use-countdown.d.ts +0 -60
- package/dist/src/composables/use-delay-change.d.ts +0 -7
- package/dist/src/composables/use-delay-destroy.d.ts +0 -13
- package/dist/src/composables/use-focus-trap.d.ts +0 -4
- package/dist/src/composables/use-loading-bar.d.ts +0 -25
- package/dist/src/composables/use-media-query.d.ts +0 -15
- package/dist/src/composables/use-message.d.ts +0 -33
- package/dist/src/composables/use-model-value.d.ts +0 -11
- package/dist/src/composables/use-pointer-gesture.d.ts +0 -180
- package/dist/src/composables/use-repeat-action.d.ts +0 -16
- package/dist/src/composables/use-unique-id-context.d.ts +0 -2
- package/dist/src/composables/use-virtual-list.d.ts +0 -16
- package/dist/src/contexts/avatar.d.ts +0 -2
- package/dist/src/contexts/carousel.d.ts +0 -13
- package/dist/src/contexts/checkbox.d.ts +0 -2
- package/dist/src/contexts/choicebox.d.ts +0 -4
- package/dist/src/contexts/collapse.d.ts +0 -8
- package/dist/src/contexts/list.d.ts +0 -8
- package/dist/src/contexts/radio.d.ts +0 -2
- package/dist/src/contexts/resizable.d.ts +0 -35
- package/dist/src/contexts/switch.d.ts +0 -4
- package/dist/src/locales/en-us.d.ts +0 -42
- package/dist/src/plugins/dayjs-millisecond-token.d.ts +0 -3
- package/dist/src/types/components/time-picker.d.ts +0 -4
- package/dist/src/utils/context.d.ts +0 -17
- package/dist/src/utils/date.d.ts +0 -26
- package/dist/src/utils/debounce/index.d.ts +0 -73
- package/dist/src/utils/debounce.d.ts +0 -1
- package/dist/src/utils/dom.d.ts +0 -40
- package/dist/src/utils/event.d.ts +0 -10
- package/dist/src/utils/format.d.ts +0 -25
- package/dist/src/utils/get.d.ts +0 -11
- package/dist/src/utils/is.d.ts +0 -5
- package/dist/src/utils/ref.d.ts +0 -5
- package/dist/src/utils/regexp.d.ts +0 -8
- package/dist/src/utils/responsive.d.ts +0 -3
- package/dist/src/utils/throttle/index.d.ts +0 -53
- package/dist/src/utils/throttle.d.ts +0 -1
- package/dist/src/utils/uid.d.ts +0 -1
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
interface FieldNames {
|
|
2
|
+
date: string;
|
|
3
|
+
count: string;
|
|
4
|
+
}
|
|
5
|
+
interface Props {
|
|
6
|
+
data?: Record<string, any>[];
|
|
7
|
+
legend?: boolean;
|
|
8
|
+
startDate?: string | Date;
|
|
9
|
+
endDate?: string | Date;
|
|
10
|
+
colors?: Record<string, string>;
|
|
11
|
+
graphOnly?: boolean;
|
|
12
|
+
transpose?: boolean;
|
|
13
|
+
tooltip?: boolean;
|
|
14
|
+
tooltipText?: string;
|
|
15
|
+
fieldNames?: FieldNames;
|
|
16
|
+
itemRadius?: string | number;
|
|
17
|
+
}
|
|
18
|
+
interface TooltipInfo {
|
|
19
|
+
date: string;
|
|
20
|
+
count: number;
|
|
21
|
+
left: number;
|
|
22
|
+
top: number;
|
|
23
|
+
}
|
|
24
|
+
declare var __VLS_7: {
|
|
25
|
+
data: TooltipInfo;
|
|
26
|
+
};
|
|
27
|
+
type __VLS_Slots = {} & {
|
|
28
|
+
tooltip?: (props: typeof __VLS_7) => any;
|
|
29
|
+
};
|
|
30
|
+
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
31
|
+
"cell-click": (args_0: MouseEvent, args_1: string) => any;
|
|
32
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
33
|
+
"onCell-click"?: ((args_0: MouseEvent, args_1: string) => any) | undefined;
|
|
34
|
+
}>, {
|
|
35
|
+
data: Record<string, any>[];
|
|
36
|
+
legend: boolean;
|
|
37
|
+
startDate: string | Date;
|
|
38
|
+
endDate: string | Date;
|
|
39
|
+
colors: Record<string, string>;
|
|
40
|
+
graphOnly: boolean;
|
|
41
|
+
tooltip: boolean;
|
|
42
|
+
tooltipText: string;
|
|
43
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
44
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
45
|
+
declare const _default: typeof __VLS_export;
|
|
46
|
+
export default _default;
|
|
47
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
48
|
+
new (): {
|
|
49
|
+
$slots: S;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
@@ -209,11 +209,11 @@ function onCellClick(event) {
|
|
|
209
209
|
}
|
|
210
210
|
let tbodyRect;
|
|
211
211
|
const tbodyRef = shallowRef();
|
|
212
|
+
const tooltipInfo = shallowRef({});
|
|
212
213
|
const {
|
|
213
214
|
value: showTooltip,
|
|
214
215
|
setValue: setShowTooltip
|
|
215
|
-
} = useDelayChange(false, 500);
|
|
216
|
-
const tooltipInfo = shallowRef({});
|
|
216
|
+
} = useDelayChange(false, { delay: 500 });
|
|
217
217
|
const formatTooltipText = computed(() => {
|
|
218
218
|
if (props.tooltipText) {
|
|
219
219
|
const { date = "", count = 0 } = tooltipInfo.value;
|
|
@@ -21,27 +21,28 @@ interface TooltipInfo {
|
|
|
21
21
|
left: number;
|
|
22
22
|
top: number;
|
|
23
23
|
}
|
|
24
|
-
declare var
|
|
24
|
+
declare var __VLS_7: {
|
|
25
25
|
data: TooltipInfo;
|
|
26
26
|
};
|
|
27
27
|
type __VLS_Slots = {} & {
|
|
28
|
-
tooltip?: (props: typeof
|
|
28
|
+
tooltip?: (props: typeof __VLS_7) => any;
|
|
29
29
|
};
|
|
30
|
-
declare const
|
|
30
|
+
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
31
31
|
"cell-click": (args_0: MouseEvent, args_1: string) => any;
|
|
32
32
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
33
|
-
"onCell-click"?: (args_0: MouseEvent, args_1: string) => any;
|
|
33
|
+
"onCell-click"?: ((args_0: MouseEvent, args_1: string) => any) | undefined;
|
|
34
34
|
}>, {
|
|
35
35
|
data: Record<string, any>[];
|
|
36
36
|
legend: boolean;
|
|
37
|
-
tooltip: boolean;
|
|
38
37
|
startDate: string | Date;
|
|
39
38
|
endDate: string | Date;
|
|
40
39
|
colors: Record<string, string>;
|
|
41
40
|
graphOnly: boolean;
|
|
41
|
+
tooltip: boolean;
|
|
42
42
|
tooltipText: string;
|
|
43
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
44
|
-
declare const
|
|
43
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
44
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
45
|
+
declare const _default: typeof __VLS_export;
|
|
45
46
|
export default _default;
|
|
46
47
|
type __VLS_WithSlots<T, S> = T & {
|
|
47
48
|
new (): {
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
src?: string;
|
|
3
|
+
alt?: string;
|
|
4
|
+
size?: number | string;
|
|
5
|
+
loading?: boolean;
|
|
6
|
+
placeholder?: boolean;
|
|
7
|
+
}
|
|
8
|
+
type LoadingStatus = 'idle' | 'loading' | 'loaded' | 'error';
|
|
9
|
+
declare function getLoadingStatus(): LoadingStatus;
|
|
10
|
+
declare var __VLS_1: {}, __VLS_3: {};
|
|
11
|
+
type __VLS_Slots = {} & {
|
|
12
|
+
default?: (props: typeof __VLS_1) => any;
|
|
13
|
+
} & {
|
|
14
|
+
icon?: (props: typeof __VLS_3) => any;
|
|
15
|
+
};
|
|
16
|
+
declare const __VLS_base: import("vue").DefineComponent<Props, {
|
|
17
|
+
getLoadingStatus: typeof getLoadingStatus;
|
|
18
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
|
+
load: (args_0: Event) => any;
|
|
20
|
+
error: (args_0: Event) => any;
|
|
21
|
+
loadstart: (args_0: Event) => any;
|
|
22
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
23
|
+
onLoad?: ((args_0: Event) => any) | undefined;
|
|
24
|
+
onError?: ((args_0: Event) => any) | undefined;
|
|
25
|
+
onLoadstart?: ((args_0: Event) => any) | undefined;
|
|
26
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
28
|
+
declare const _default: typeof __VLS_export;
|
|
29
|
+
export default _default;
|
|
30
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
31
|
+
new (): {
|
|
32
|
+
$slots: S;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
@@ -84,7 +84,7 @@ defineExpose({
|
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
&::before {
|
|
87
|
-
background-image: linear-gradient(270deg, var(--color-gray-alpha-100), var(--color-gray-alpha-
|
|
87
|
+
background-image: linear-gradient(270deg, var(--color-gray-alpha-100), var(--color-gray-alpha-300), var(--color-gray-alpha-300), var(--color-gray-alpha-100));
|
|
88
88
|
background-size: 400% 100%;
|
|
89
89
|
}
|
|
90
90
|
|
|
@@ -13,18 +13,19 @@ type __VLS_Slots = {} & {
|
|
|
13
13
|
} & {
|
|
14
14
|
icon?: (props: typeof __VLS_3) => any;
|
|
15
15
|
};
|
|
16
|
-
declare const
|
|
16
|
+
declare const __VLS_base: import("vue").DefineComponent<Props, {
|
|
17
17
|
getLoadingStatus: typeof getLoadingStatus;
|
|
18
18
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
|
-
error: (args_0: Event) => any;
|
|
20
19
|
load: (args_0: Event) => any;
|
|
20
|
+
error: (args_0: Event) => any;
|
|
21
21
|
loadstart: (args_0: Event) => any;
|
|
22
22
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
onLoadstart?: (args_0: Event) => any;
|
|
26
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
27
|
-
declare const
|
|
23
|
+
onLoad?: ((args_0: Event) => any) | undefined;
|
|
24
|
+
onError?: ((args_0: Event) => any) | undefined;
|
|
25
|
+
onLoadstart?: ((args_0: Event) => any) | undefined;
|
|
26
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
28
|
+
declare const _default: typeof __VLS_export;
|
|
28
29
|
export default _default;
|
|
29
30
|
type __VLS_WithSlots<T, S> = T & {
|
|
30
31
|
new (): {
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { AvatarGroupProps } from '../../types/components/avatar';
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<AvatarGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<AvatarGroupProps> & Readonly<{}>, {
|
|
3
|
+
size: number | string;
|
|
4
|
+
max: number;
|
|
5
|
+
options: import("../../types/components/avatar").Options[];
|
|
6
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { AvatarGroupProps } from '../../types/components/avatar';
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<AvatarGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<AvatarGroupProps> & Readonly<{}>, {
|
|
3
|
+
size: number | string;
|
|
4
|
+
max: number;
|
|
5
|
+
options: import("../../types/components/avatar").Options[];
|
|
6
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
right?: string | number;
|
|
3
|
+
bottom?: string | number;
|
|
4
|
+
zIndex?: string | number;
|
|
5
|
+
visibleThreshold?: number;
|
|
6
|
+
}
|
|
7
|
+
declare var __VLS_7: {};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
default?: (props: typeof __VLS_7) => any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
12
|
+
visibleThreshold: number;
|
|
13
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
right?: string | number;
|
|
3
|
+
bottom?: string | number;
|
|
4
|
+
zIndex?: string | number;
|
|
5
|
+
visibleThreshold?: number;
|
|
6
|
+
}
|
|
7
|
+
declare var __VLS_7: {};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
default?: (props: typeof __VLS_7) => any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
12
|
+
visibleThreshold: number;
|
|
13
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import type { ComponentAs } from '../../types/shared';
|
|
2
|
+
interface Props {
|
|
3
|
+
as?: ComponentAs;
|
|
4
|
+
variant?: keyof typeof VARIANTS;
|
|
5
|
+
size?: keyof typeof SIZES;
|
|
6
|
+
href?: string;
|
|
7
|
+
to?: string;
|
|
8
|
+
}
|
|
9
|
+
declare const SIZES: {
|
|
10
|
+
sm: string;
|
|
11
|
+
md: string;
|
|
12
|
+
lg: string;
|
|
13
|
+
};
|
|
14
|
+
declare const VARIANTS: {
|
|
15
|
+
pill: string;
|
|
16
|
+
gray: string;
|
|
17
|
+
blue: string;
|
|
18
|
+
purple: string;
|
|
19
|
+
amber: string;
|
|
20
|
+
red: string;
|
|
21
|
+
pink: string;
|
|
22
|
+
green: string;
|
|
23
|
+
teal: string;
|
|
24
|
+
'gray-subtle': string;
|
|
25
|
+
'blue-subtle': string;
|
|
26
|
+
'purple-subtle': string;
|
|
27
|
+
'amber-subtle': string;
|
|
28
|
+
'red-subtle': string;
|
|
29
|
+
'pink-subtle': string;
|
|
30
|
+
'green-subtle': string;
|
|
31
|
+
'teal-subtle': string;
|
|
32
|
+
inverted: string;
|
|
33
|
+
vue: string;
|
|
34
|
+
trial: string;
|
|
35
|
+
turborepo: string;
|
|
36
|
+
};
|
|
37
|
+
declare var __VLS_8: {};
|
|
38
|
+
type __VLS_Slots = {} & {
|
|
39
|
+
default?: (props: typeof __VLS_8) => any;
|
|
40
|
+
};
|
|
41
|
+
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
42
|
+
as: ComponentAs;
|
|
43
|
+
variant: keyof typeof VARIANTS;
|
|
44
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
45
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
46
|
+
declare const _default: typeof __VLS_export;
|
|
47
|
+
export default _default;
|
|
48
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
49
|
+
new (): {
|
|
50
|
+
$slots: S;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
@@ -43,7 +43,7 @@ const VARIANTS = {
|
|
|
43
43
|
const config = useConfigProvider();
|
|
44
44
|
const computedClass = computed(() => {
|
|
45
45
|
const classes = [
|
|
46
|
-
"pxd-badge font-medium
|
|
46
|
+
"pxd-badge font-medium gap-1 inline-flex items-center justify-center rounded-full font-sans text-nowrap whitespace-nowrap no-underline! motion-safe:transition-all",
|
|
47
47
|
getFallbackValue(props.variant, VARIANTS, "gray"),
|
|
48
48
|
getFallbackValue(props.size, SIZES, config.size),
|
|
49
49
|
props.variant
|
|
@@ -34,15 +34,16 @@ declare const VARIANTS: {
|
|
|
34
34
|
trial: string;
|
|
35
35
|
turborepo: string;
|
|
36
36
|
};
|
|
37
|
-
declare var
|
|
37
|
+
declare var __VLS_8: {};
|
|
38
38
|
type __VLS_Slots = {} & {
|
|
39
|
-
default?: (props: typeof
|
|
39
|
+
default?: (props: typeof __VLS_8) => any;
|
|
40
40
|
};
|
|
41
|
-
declare const
|
|
42
|
-
variant: keyof typeof VARIANTS;
|
|
41
|
+
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
43
42
|
as: ComponentAs;
|
|
44
|
-
|
|
45
|
-
|
|
43
|
+
variant: keyof typeof VARIANTS;
|
|
44
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
45
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
46
|
+
declare const _default: typeof __VLS_export;
|
|
46
47
|
export default _default;
|
|
47
48
|
type __VLS_WithSlots<T, S> = T & {
|
|
48
49
|
new (): {
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { ComponentLabel, ResponsiveValue } from '../../types/shared';
|
|
2
|
+
interface Props {
|
|
3
|
+
color?: string;
|
|
4
|
+
title?: ComponentLabel;
|
|
5
|
+
width?: ResponsiveValue<string | number>;
|
|
6
|
+
variant?: 'simple' | 'stripe';
|
|
7
|
+
textured?: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {};
|
|
10
|
+
type __VLS_Slots = {} & {
|
|
11
|
+
icon?: (props: typeof __VLS_1) => any;
|
|
12
|
+
} & {
|
|
13
|
+
title?: (props: typeof __VLS_3) => any;
|
|
14
|
+
} & {
|
|
15
|
+
icon?: (props: typeof __VLS_5) => any;
|
|
16
|
+
};
|
|
17
|
+
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
18
|
+
variant: "simple" | "stripe";
|
|
19
|
+
textured: boolean;
|
|
20
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
22
|
+
declare const _default: typeof __VLS_export;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
25
|
+
new (): {
|
|
26
|
+
$slots: S;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -14,11 +14,12 @@ type __VLS_Slots = {} & {
|
|
|
14
14
|
} & {
|
|
15
15
|
icon?: (props: typeof __VLS_5) => any;
|
|
16
16
|
};
|
|
17
|
-
declare const
|
|
17
|
+
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
18
18
|
variant: "simple" | "stripe";
|
|
19
19
|
textured: boolean;
|
|
20
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
21
|
-
declare const
|
|
20
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
22
|
+
declare const _default: typeof __VLS_export;
|
|
22
23
|
export default _default;
|
|
23
24
|
type __VLS_WithSlots<T, S> = T & {
|
|
24
25
|
new (): {
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
address?: string;
|
|
3
|
+
}
|
|
4
|
+
declare var __VLS_40: {};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
default?: (props: typeof __VLS_40) => any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
11
|
+
export default _default;
|
|
12
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
13
|
+
new (): {
|
|
14
|
+
$slots: S;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -4,6 +4,7 @@ import CheckIcon from "@gdsicon/vue/check";
|
|
|
4
4
|
import CopyIcon from "@gdsicon/vue/copy";
|
|
5
5
|
import LockClosedIcon from "@gdsicon/vue/lock-closed";
|
|
6
6
|
import RefreshClockwiseIcon from "@gdsicon/vue/refresh-clockwise";
|
|
7
|
+
import { computed } from "vue";
|
|
7
8
|
import { useCopyClick } from "../../composables/use-copy-click";
|
|
8
9
|
import PButton from "../button/index.vue";
|
|
9
10
|
defineOptions({
|
|
@@ -13,6 +14,7 @@ defineProps({
|
|
|
13
14
|
address: { type: String, required: false }
|
|
14
15
|
});
|
|
15
16
|
const { isCopied, copyText } = useCopyClick();
|
|
17
|
+
const renderIcon = computed(() => isCopied.value ? CheckIcon : CopyIcon);
|
|
16
18
|
</script>
|
|
17
19
|
|
|
18
20
|
<template>
|
|
@@ -42,7 +44,7 @@ const { isCopied, copyText } = useCopyClick();
|
|
|
42
44
|
|
|
43
45
|
<PButton variant="ghost" size="xs" shape="rounded" class="size-6" icon @click="copyText(address)">
|
|
44
46
|
<Transition name="pxd-transition--fade-scale" mode="out-in">
|
|
45
|
-
<Component :is="
|
|
47
|
+
<Component :is="renderIcon" class="text-sm text-foreground-secondary" />
|
|
46
48
|
</Transition>
|
|
47
49
|
</PButton>
|
|
48
50
|
</div>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
address?: string;
|
|
3
|
+
}
|
|
4
|
+
declare var __VLS_40: {};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
default?: (props: typeof __VLS_40) => any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
11
|
+
export default _default;
|
|
12
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
13
|
+
new (): {
|
|
14
|
+
$slots: S;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { ButtonProps } from '../../types/components/button';
|
|
2
|
+
declare var __VLS_16: {}, __VLS_18: {}, __VLS_20: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
prefix?: (props: typeof __VLS_16) => any;
|
|
5
|
+
} & {
|
|
6
|
+
default?: (props: typeof __VLS_18) => any;
|
|
7
|
+
} & {
|
|
8
|
+
suffix?: (props: typeof __VLS_20) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<ButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
click: (args_0: MouseEvent) => any;
|
|
12
|
+
dblclick: (args_0: MouseEvent) => any;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<ButtonProps> & Readonly<{
|
|
14
|
+
onClick?: ((args_0: MouseEvent) => any) | undefined;
|
|
15
|
+
onDblclick?: ((args_0: MouseEvent) => any) | undefined;
|
|
16
|
+
}>, {
|
|
17
|
+
icon: boolean;
|
|
18
|
+
as: import("../../types/shared").ComponentAs;
|
|
19
|
+
variant: import("../../types/shared").ComponentVariantWithDefault | "ghost" | "simple" | "icon";
|
|
20
|
+
align: "left" | "center" | "right";
|
|
21
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
23
|
+
declare const _default: typeof __VLS_export;
|
|
24
|
+
export default _default;
|
|
25
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
26
|
+
new (): {
|
|
27
|
+
$slots: S;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { ButtonProps } from '../../types/components/button';
|
|
2
|
+
declare var __VLS_16: {}, __VLS_18: {}, __VLS_20: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
prefix?: (props: typeof __VLS_16) => any;
|
|
5
|
+
} & {
|
|
6
|
+
default?: (props: typeof __VLS_18) => any;
|
|
7
|
+
} & {
|
|
8
|
+
suffix?: (props: typeof __VLS_20) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<ButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
click: (args_0: MouseEvent) => any;
|
|
12
|
+
dblclick: (args_0: MouseEvent) => any;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<ButtonProps> & Readonly<{
|
|
14
|
+
onClick?: ((args_0: MouseEvent) => any) | undefined;
|
|
15
|
+
onDblclick?: ((args_0: MouseEvent) => any) | undefined;
|
|
16
|
+
}>, {
|
|
17
|
+
icon: boolean;
|
|
18
|
+
as: import("../../types/shared").ComponentAs;
|
|
19
|
+
variant: import("../../types/shared").ComponentVariantWithDefault | "ghost" | "simple" | "icon";
|
|
20
|
+
align: "left" | "center" | "right";
|
|
21
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
23
|
+
declare const _default: typeof __VLS_export;
|
|
24
|
+
export default _default;
|
|
25
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
26
|
+
new (): {
|
|
27
|
+
$slots: S;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare var __VLS_1: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_1) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare var __VLS_1: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_1) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { CarouselGroupProps } from '../../types/components/carousel';
|
|
2
|
+
declare var __VLS_1: {}, __VLS_3: {
|
|
3
|
+
current: number;
|
|
4
|
+
total: number;
|
|
5
|
+
};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_1) => any;
|
|
8
|
+
} & {
|
|
9
|
+
indicator?: (props: typeof __VLS_3) => any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_base: import("vue").DefineComponent<CarouselGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
+
change: (index: number) => any;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<CarouselGroupProps> & Readonly<{
|
|
14
|
+
onChange?: ((index: number) => any) | undefined;
|
|
15
|
+
}>, {
|
|
16
|
+
index: number;
|
|
17
|
+
height: number | string;
|
|
18
|
+
loop: boolean;
|
|
19
|
+
arrow: boolean;
|
|
20
|
+
autoplay: boolean;
|
|
21
|
+
interval: number;
|
|
22
|
+
indicator: boolean;
|
|
23
|
+
direction: import("../../types/shared").ComponentDirection;
|
|
24
|
+
indicatorType: "dot" | "line";
|
|
25
|
+
indicatorPosition: import("../../types/shared").BasePosition;
|
|
26
|
+
pauseOnHover: boolean;
|
|
27
|
+
toggleOnWheel: boolean;
|
|
28
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
29
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
30
|
+
declare const _default: typeof __VLS_export;
|
|
31
|
+
export default _default;
|
|
32
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
33
|
+
new (): {
|
|
34
|
+
$slots: S;
|
|
35
|
+
};
|
|
36
|
+
};
|