pxd 0.0.39 → 0.0.41
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 +9 -3
- package/dist/components/active-graph/index.vue +10 -5
- package/dist/components/backtop/index.vue +75 -0
- package/dist/components/badge/index.vue +9 -7
- package/dist/components/book/index.vue +3 -3
- package/dist/components/browser/index.vue +2 -2
- package/dist/components/checkbox/index.vue +4 -3
- package/dist/components/checkbox-group/index.vue +1 -1
- package/dist/components/choicebox-group/index.vue +1 -1
- package/dist/components/command-menu/index.vue +124 -0
- package/dist/components/command-menu-group/index.vue +18 -0
- package/dist/components/command-menu-item/index.vue +13 -0
- package/dist/components/countdown/index.vue +2 -1
- package/dist/components/drawer/index.vue +26 -26
- package/dist/components/error/index.vue +2 -2
- package/dist/components/fader/index.vue +31 -17
- package/dist/components/grid/index.vue +2 -2
- package/dist/components/grid-item/index.vue +2 -2
- package/dist/components/hold-button/index.vue +1 -1
- package/dist/components/index.d.ts +7 -0
- package/dist/components/index.js +7 -0
- package/dist/components/input/index.vue +18 -10
- package/dist/components/intersection-observer/index.vue +5 -5
- package/dist/components/kbd/index.vue +21 -8
- package/dist/components/{intersection-observer/content.vue → keep-alive-container/index.vue} +3 -1
- package/dist/components/list/index.vue +100 -92
- package/dist/components/list-item/index.vue +35 -33
- package/dist/components/loading-bar/index.vue +149 -0
- package/dist/components/material/index.vue +8 -8
- package/dist/components/menu/index.vue +26 -16
- package/dist/components/message/index.vue +28 -18
- package/dist/components/modal/index.vue +32 -36
- package/dist/components/note/index.vue +1 -1
- package/dist/components/overlay/index.vue +77 -24
- package/dist/components/pagination/index.vue +2 -2
- package/dist/components/placeholder/index.vue +13 -6
- package/dist/components/popover/index.vue +97 -87
- package/dist/components/progress/index.vue +1 -1
- package/dist/components/radio/index.vue +4 -3
- package/dist/components/radio-group/index.vue +1 -1
- package/dist/components/scrollable/index.vue +161 -94
- package/dist/components/slider/index.vue +7 -7
- package/dist/components/stack/index.vue +4 -4
- package/dist/components/switch/index.vue +1 -1
- package/dist/components/text/index.vue +1 -1
- package/dist/components/theme-switcher/index.vue +6 -2
- package/dist/components/time-picker/index.vue +281 -0
- package/dist/components/tooltip/index.vue +7 -7
- package/dist/composables/index.d.ts +1 -0
- package/dist/composables/index.js +1 -0
- package/dist/composables/use-browser-observer.d.ts +5 -5
- package/dist/composables/use-color-scheme.d.ts +5 -1
- package/dist/composables/use-color-scheme.js +20 -1
- package/dist/composables/use-config-provider-context.d.ts +1 -1
- package/dist/composables/use-countdown.d.ts +6 -0
- package/dist/composables/use-countdown.js +21 -7
- package/dist/composables/use-delay-destroy.d.ts +4 -4
- package/dist/composables/use-delay-destroy.js +15 -11
- package/dist/composables/use-focus-trap.d.ts +2 -2
- package/dist/composables/use-focus-trap.js +6 -6
- package/dist/composables/use-loading-bar.d.ts +25 -0
- package/dist/composables/use-loading-bar.js +27 -0
- package/dist/composables/use-media-query.js +1 -1
- package/dist/composables/use-message.d.ts +4 -1
- package/dist/composables/use-message.js +18 -0
- package/dist/composables/use-pointer-gesture.d.ts +2 -2
- package/dist/composables/use-pointer-gesture.js +3 -3
- package/dist/composables/use-repeat-action.d.ts +2 -2
- package/dist/composables/use-repeat-action.js +5 -5
- package/dist/composables/use-virtual-list.d.ts +1 -1
- package/dist/contexts/avatar.d.ts +1 -1
- package/dist/contexts/carousel.d.ts +1 -1
- package/dist/contexts/checkbox.d.ts +1 -1
- package/dist/contexts/choicebox.d.ts +2 -2
- package/dist/contexts/collapse.d.ts +1 -1
- package/dist/contexts/list.d.ts +5 -6
- package/dist/contexts/list.js +3 -3
- package/dist/contexts/radio.d.ts +1 -1
- package/dist/contexts/resizable.d.ts +1 -1
- package/dist/contexts/switch.d.ts +2 -2
- package/dist/{components/carousel → dist/components/keep-alive-container}/index.vue.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/locales/en-us.d.ts +15 -7
- package/dist/locales/en-us.js +17 -9
- package/dist/locales/zh-cn.d.ts +15 -7
- package/dist/locales/zh-cn.js +17 -9
- package/dist/{components → src/components}/active-graph/index.vue.d.ts +7 -5
- package/dist/{components → src/components}/avatar-group/index.vue.d.ts +1 -1
- package/dist/src/components/backtop/index.vue.d.ts +20 -0
- package/dist/{components → src/components}/badge/index.vue.d.ts +2 -1
- package/dist/{components → src/components}/book/index.vue.d.ts +1 -1
- package/dist/{components → src/components}/browser/index.vue.d.ts +1 -1
- package/dist/{components → src/components}/button/index.vue.d.ts +1 -1
- package/dist/{components/intersection-observer/content.vue.d.ts → src/components/carousel/index.vue.d.ts} +1 -1
- package/dist/{components → src/components}/carousel-group/index.vue.d.ts +1 -1
- package/dist/{components → src/components}/chip/index.vue.d.ts +1 -1
- package/dist/{components → src/components}/choicebox/index.vue.d.ts +1 -1
- package/dist/{components → src/components}/choicebox-group/index.vue.d.ts +1 -1
- package/dist/{components → src/components}/collapse/index.vue.d.ts +1 -1
- package/dist/{components → src/components}/collapse-group/index.vue.d.ts +1 -1
- package/dist/src/components/command-menu/index.vue.d.ts +39 -0
- package/dist/src/components/command-menu-group/index.vue.d.ts +16 -0
- package/dist/src/components/command-menu-item/index.vue.d.ts +12 -0
- package/dist/{components → src/components}/config-provider/index.vue.d.ts +1 -1
- package/dist/{components → src/components}/description/index.vue.d.ts +1 -1
- package/dist/{components → src/components}/drawer/index.vue.d.ts +19 -14
- package/dist/{components → src/components}/empty-state/index.vue.d.ts +1 -1
- package/dist/{components → src/components}/error/index.vue.d.ts +1 -1
- package/dist/src/components/fader/index.vue.d.ts +11 -0
- package/dist/{components → src/components}/gauge/index.vue.d.ts +1 -1
- package/dist/{components → src/components}/grid/index.vue.d.ts +1 -1
- package/dist/{components → src/components}/grid-item/index.vue.d.ts +1 -1
- package/dist/{components → src/components}/hold-button/index.vue.d.ts +1 -1
- package/dist/{components → src/components}/input/index.vue.d.ts +9 -4
- package/dist/{components → src/components}/intersection-observer/index.vue.d.ts +3 -3
- package/dist/{components → src/components}/kbd/index.vue.d.ts +8 -5
- package/dist/src/components/keep-alive-container/index.vue.d.ts +12 -0
- package/dist/{components → src/components}/link-button/index.vue.d.ts +1 -1
- package/dist/src/components/list/index.vue.d.ts +40 -0
- package/dist/{components → src/components}/list-item/index.vue.d.ts +4 -4
- package/dist/src/components/loading-bar/index.vue.d.ts +14 -0
- package/dist/{components → src/components}/loading-dots/index.vue.d.ts +1 -1
- package/dist/{components → src/components}/material/index.vue.d.ts +1 -1
- package/dist/{components → src/components}/menu/index.vue.d.ts +11 -7
- package/dist/{components → src/components}/message/index.vue.d.ts +13 -13
- package/dist/{components → src/components}/modal/index.vue.d.ts +19 -14
- package/dist/{components → src/components}/more-button/index.vue.d.ts +1 -1
- package/dist/{components → src/components}/note/index.vue.d.ts +1 -1
- package/dist/{components → src/components}/number-input/index.vue.d.ts +1 -1
- package/dist/{components → src/components}/overlay/index.vue.d.ts +3 -4
- package/dist/{components → src/components}/pagination/index.vue.d.ts +1 -1
- package/dist/{components → src/components}/pin-input/index.vue.d.ts +1 -1
- package/dist/src/components/placeholder/index.vue.d.ts +9 -0
- package/dist/{components → src/components}/popover/index.vue.d.ts +10 -8
- package/dist/{components → src/components}/progress/index.vue.d.ts +1 -1
- package/dist/{components → src/components}/radio/index.vue.d.ts +1 -1
- package/dist/{components → src/components}/radio-group/index.vue.d.ts +1 -1
- package/dist/{components → src/components}/resizable/index.vue.d.ts +1 -1
- package/dist/src/components/resizable-handle/index.vue.d.ts +2 -0
- package/dist/{components → src/components}/resizable-panel/index.vue.d.ts +1 -1
- package/dist/{components → src/components}/skeleton/index.vue.d.ts +1 -1
- package/dist/{components → src/components}/slider/index.vue.d.ts +1 -1
- package/dist/{components → src/components}/snippet/index.vue.d.ts +1 -1
- package/dist/src/components/spinner/index.vue.d.ts +2 -0
- package/dist/{components → src/components}/stack/index.vue.d.ts +1 -1
- package/dist/{components → src/components}/status-dot/index.vue.d.ts +1 -1
- package/dist/{components → src/components}/switch/index.vue.d.ts +1 -1
- package/dist/{components → src/components}/switch-group/index.vue.d.ts +1 -1
- package/dist/{components → src/components}/teleport/index.vue.d.ts +1 -1
- package/dist/{components → src/components}/text/index.vue.d.ts +1 -1
- package/dist/{components → src/components}/textarea/index.vue.d.ts +1 -1
- package/dist/{components → src/components}/theme-switcher/index.vue.d.ts +1 -1
- package/dist/src/components/time-picker/index.vue.d.ts +25 -0
- package/dist/{components → src/components}/toggle/index.vue.d.ts +1 -1
- package/dist/{components → src/components}/tooltip/index.vue.d.ts +3 -5
- package/dist/{components → src/components}/virtual-list/index.vue.d.ts +1 -1
- package/dist/src/composables/use-browser-observer.d.ts +12 -0
- package/dist/src/composables/use-color-scheme.d.ts +11 -0
- package/dist/src/composables/use-config-provider-context.d.ts +7 -0
- package/dist/src/composables/use-copy-click.d.ts +4 -0
- package/dist/src/composables/use-countdown.d.ts +60 -0
- package/dist/src/composables/use-delay-change.d.ts +7 -0
- package/dist/src/composables/use-delay-destroy.d.ts +13 -0
- package/dist/src/composables/use-focus-trap.d.ts +4 -0
- package/dist/src/composables/use-loading-bar.d.ts +25 -0
- package/dist/src/composables/use-media-query.d.ts +15 -0
- package/dist/src/composables/use-message.d.ts +33 -0
- package/dist/src/composables/use-model-value.d.ts +11 -0
- package/dist/src/composables/use-pointer-gesture.d.ts +180 -0
- package/dist/src/composables/use-repeat-action.d.ts +16 -0
- package/dist/src/composables/use-unique-id-context.d.ts +2 -0
- package/dist/src/composables/use-virtual-list.d.ts +16 -0
- package/dist/src/contexts/avatar.d.ts +2 -0
- package/dist/src/contexts/carousel.d.ts +13 -0
- package/dist/src/contexts/checkbox.d.ts +2 -0
- package/dist/src/contexts/choicebox.d.ts +4 -0
- package/dist/src/contexts/collapse.d.ts +8 -0
- package/dist/src/contexts/list.d.ts +8 -0
- package/dist/src/contexts/radio.d.ts +2 -0
- package/dist/src/contexts/resizable.d.ts +35 -0
- package/dist/src/contexts/switch.d.ts +4 -0
- package/dist/src/locales/en-us.d.ts +42 -0
- package/dist/src/plugins/dayjs-millisecond-token.d.ts +3 -0
- package/dist/src/types/components/time-picker.d.ts +4 -0
- package/dist/src/utils/context.d.ts +17 -0
- package/dist/src/utils/date.d.ts +26 -0
- package/dist/src/utils/debounce/index.d.ts +73 -0
- package/dist/src/utils/debounce.d.ts +1 -0
- package/dist/src/utils/dom.d.ts +40 -0
- package/dist/{utils/events.d.ts → src/utils/event.d.ts} +1 -0
- package/dist/src/utils/format.d.ts +25 -0
- package/dist/src/utils/get.d.ts +11 -0
- package/dist/src/utils/is.d.ts +4 -0
- package/dist/src/utils/ref.d.ts +5 -0
- package/dist/src/utils/regexp.d.ts +8 -0
- package/dist/src/utils/responsive.d.ts +3 -0
- package/dist/src/utils/throttle/index.d.ts +53 -0
- package/dist/src/utils/throttle.d.ts +1 -0
- package/dist/src/utils/uid.d.ts +1 -0
- package/dist/styles/styles.css +2 -2
- package/dist/styles/tw.css +18 -1
- package/dist/types/components/list.d.ts +4 -3
- package/dist/types/components/time-picker.d.ts +4 -0
- package/dist/types/components/time-picker.js +0 -0
- package/dist/types/shared/utils.d.ts +5 -2
- package/dist/utils/date.d.ts +3 -3
- package/dist/utils/debounce/compat.d.ts +143 -0
- package/dist/utils/debounce/compat.js +47 -0
- package/dist/utils/debounce/index.d.ts +73 -0
- package/dist/utils/debounce/index.js +60 -0
- package/dist/utils/debounce.d.ts +1 -73
- package/dist/utils/debounce.js +1 -60
- package/dist/utils/event.d.ts +9 -0
- package/dist/utils/{events.js → event.js} +3 -0
- package/dist/utils/format.d.ts +4 -1
- package/dist/utils/format.js +6 -0
- package/dist/utils/ref.d.ts +2 -5
- package/dist/utils/regexp.d.ts +4 -0
- package/dist/utils/regexp.js +4 -0
- package/dist/utils/responsive.d.ts +2 -1
- package/dist/utils/responsive.js +4 -1
- package/dist/utils/throttle/compat.d.ts +79 -0
- package/dist/utils/throttle/compat.js +9 -0
- package/dist/utils/throttle/index.d.ts +53 -0
- package/dist/utils/throttle/index.js +34 -0
- package/dist/utils/throttle.d.ts +1 -53
- package/dist/utils/throttle.js +1 -34
- package/dist/utils/uid.js +1 -1
- package/package.json +11 -11
- package/volar.d.ts +7 -0
- package/dist/components/fader/index.vue.d.ts +0 -11
- package/dist/components/list/index.vue.d.ts +0 -29
- package/dist/components/placeholder/index.vue.d.ts +0 -8
- package/dist/components/resizable-handle/index.vue.d.ts +0 -2
- package/dist/components/spinner/index.vue.d.ts +0 -2
- /package/dist/{components → src/components}/avatar/index.vue.d.ts +0 -0
- /package/dist/{components → src/components}/checkbox/index.vue.d.ts +0 -0
- /package/dist/{components → src/components}/checkbox-group/index.vue.d.ts +0 -0
- /package/dist/{components → src/components}/countdown/index.vue.d.ts +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { VNode } from 'vue';
|
|
2
2
|
import type { ComponentClass } from '../types/shared/props';
|
|
3
3
|
interface Options {
|
|
4
|
-
key?: string;
|
|
4
|
+
key?: string | number;
|
|
5
5
|
type?: 'info' | 'success' | 'warning' | 'error' | 'loading' | '' | false | undefined;
|
|
6
6
|
class?: ComponentClass;
|
|
7
7
|
group?: string;
|
|
@@ -24,7 +24,10 @@ interface UseMessage {
|
|
|
24
24
|
error: (msg: string | VNode, options?: Options) => void;
|
|
25
25
|
loading: (msg: string | VNode, options?: Options) => void;
|
|
26
26
|
}
|
|
27
|
+
export declare const CLEAR_MESSAGES_EVENT_NAME = "#clear-messages";
|
|
27
28
|
export declare const CREATE_MESSAGE_EVENT_NAME = "#create-message";
|
|
28
29
|
export declare const REMOVE_MESSAGE_EVENT_NAME = "#remove-message";
|
|
29
30
|
export declare const useMessage: UseMessage;
|
|
31
|
+
export declare function closeMessage(group: Options['group'], key: Options['key']): void;
|
|
32
|
+
export declare function clearMessage(group: Options['group']): void;
|
|
30
33
|
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { isServer } from "../utils/is.js";
|
|
2
2
|
import { getUniqueId } from "../utils/uid.js";
|
|
3
|
+
export const CLEAR_MESSAGES_EVENT_NAME = "#clear-messages";
|
|
3
4
|
export const CREATE_MESSAGE_EVENT_NAME = "#create-message";
|
|
4
5
|
export const REMOVE_MESSAGE_EVENT_NAME = "#remove-message";
|
|
5
6
|
export const useMessage = (msg, options) => {
|
|
@@ -26,3 +27,20 @@ shortcutTypes.forEach((type) => {
|
|
|
26
27
|
useMessage(msg, { ...options ?? {}, type });
|
|
27
28
|
};
|
|
28
29
|
});
|
|
30
|
+
export function closeMessage(group, key) {
|
|
31
|
+
if (!key) {
|
|
32
|
+
return;
|
|
33
|
+
}
|
|
34
|
+
window.dispatchEvent(
|
|
35
|
+
new CustomEvent(REMOVE_MESSAGE_EVENT_NAME, {
|
|
36
|
+
detail: { group: group ?? "default", key }
|
|
37
|
+
})
|
|
38
|
+
);
|
|
39
|
+
}
|
|
40
|
+
export function clearMessage(group) {
|
|
41
|
+
window.dispatchEvent(
|
|
42
|
+
new CustomEvent(CLEAR_MESSAGES_EVENT_NAME, {
|
|
43
|
+
detail: { group: group ?? "default" }
|
|
44
|
+
})
|
|
45
|
+
);
|
|
46
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { MaybeElementRef } from '../types/shared/utils';
|
|
2
2
|
type Axis = 'x' | 'y' | 'both';
|
|
3
3
|
type Dir = 'left' | 'right' | 'up' | 'down' | null;
|
|
4
4
|
/**
|
|
@@ -159,7 +159,7 @@ export interface UsePointerGestureOptions {
|
|
|
159
159
|
*/
|
|
160
160
|
directionGuard?: (dir: Exclude<Dir, null>, ctx: PublicState) => boolean;
|
|
161
161
|
}
|
|
162
|
-
export declare function usePointerGesture(container:
|
|
162
|
+
export declare function usePointerGesture(container: MaybeElementRef<HTMLElement>, options?: UsePointerGestureOptions): {
|
|
163
163
|
isActive: import("vue").ShallowRef<boolean, boolean>;
|
|
164
164
|
isDragging: import("vue").ShallowRef<boolean, boolean>;
|
|
165
165
|
isLongPressing: import("vue").ShallowRef<boolean, boolean>;
|
|
@@ -26,8 +26,8 @@ export function usePointerGesture(container, options = {}) {
|
|
|
26
26
|
let start = null;
|
|
27
27
|
let last = null;
|
|
28
28
|
let lockedAxis = null;
|
|
29
|
-
let longPressTimer = null;
|
|
30
29
|
let activePointerId = null;
|
|
30
|
+
let longPressTimer;
|
|
31
31
|
let mayTriggerKind = null;
|
|
32
32
|
let boundEl = null;
|
|
33
33
|
let boundScrollEl = null;
|
|
@@ -136,7 +136,7 @@ export function usePointerGesture(container, options = {}) {
|
|
|
136
136
|
if (lp <= 0) {
|
|
137
137
|
return;
|
|
138
138
|
}
|
|
139
|
-
longPressTimer =
|
|
139
|
+
longPressTimer = setTimeout(() => {
|
|
140
140
|
isLongPressing.value = true;
|
|
141
141
|
options.onLongPress?.(publicState());
|
|
142
142
|
}, lp);
|
|
@@ -191,7 +191,7 @@ export function usePointerGesture(container, options = {}) {
|
|
|
191
191
|
if (e.button != null && e.button !== 0) {
|
|
192
192
|
return;
|
|
193
193
|
}
|
|
194
|
-
if (!options.pointerGuard
|
|
194
|
+
if (typeof options.pointerGuard === "function" && !options.pointerGuard(e)) {
|
|
195
195
|
return;
|
|
196
196
|
}
|
|
197
197
|
activePointerId = e.pointerId;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { MaybeRefOrGetter } from 'vue';
|
|
2
2
|
import type { Callback } from '../types/shared/utils';
|
|
3
3
|
interface RepeatActionReturnType {
|
|
4
4
|
start: Callback;
|
|
@@ -6,7 +6,7 @@ interface RepeatActionReturnType {
|
|
|
6
6
|
}
|
|
7
7
|
interface UseRepeatActionOptions {
|
|
8
8
|
action: Callback;
|
|
9
|
-
disabled?:
|
|
9
|
+
disabled?: MaybeRefOrGetter<boolean>;
|
|
10
10
|
finalInterval?: number;
|
|
11
11
|
initialInterval?: number;
|
|
12
12
|
accelerationDuration?: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { onBeforeUnmount } from "vue";
|
|
2
|
-
import { off,
|
|
2
|
+
import { off, once } from "../utils/event.js";
|
|
3
3
|
import { toValue } from "../utils/ref.js";
|
|
4
4
|
export function useRepeatAction(actionOrOptions) {
|
|
5
5
|
const {
|
|
@@ -36,12 +36,12 @@ export function useRepeatAction(actionOrOptions) {
|
|
|
36
36
|
startTime = Date.now();
|
|
37
37
|
action();
|
|
38
38
|
timer = setTimeout(step, initialInterval);
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
once(document, "pointerup", stop);
|
|
40
|
+
once(document, "pointercancel", stop);
|
|
41
41
|
};
|
|
42
42
|
onBeforeUnmount(() => {
|
|
43
|
-
off(document, "pointerup", stop
|
|
44
|
-
off(document, "pointercancel", stop
|
|
43
|
+
off(document, "pointerup", stop);
|
|
44
|
+
off(document, "pointercancel", stop);
|
|
45
45
|
});
|
|
46
46
|
return {
|
|
47
47
|
start,
|
|
@@ -5,7 +5,7 @@ export interface VirtualListProps {
|
|
|
5
5
|
itemSize: number;
|
|
6
6
|
}
|
|
7
7
|
export declare function useVirtualList<Props extends VirtualListProps>(props: Props): {
|
|
8
|
-
containerRef: import("vue").ShallowRef<HTMLElement, HTMLElement>;
|
|
8
|
+
containerRef: import("vue").ShallowRef<HTMLElement | undefined, HTMLElement | undefined>;
|
|
9
9
|
renderList: import("vue").ComputedRef<any[]>;
|
|
10
10
|
listHeight: import("vue").ComputedRef<number>;
|
|
11
11
|
listStyle: import("vue").ComputedRef<string>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { AvatarGroupProps } from '../types/components/avatar';
|
|
2
|
-
export declare const provideAvatarGroupContext: (contextValue: AvatarGroupProps) => AvatarGroupProps, useAvatarGroupContext: (fallback?: AvatarGroupProps) => AvatarGroupProps;
|
|
2
|
+
export declare const provideAvatarGroupContext: (contextValue: AvatarGroupProps) => AvatarGroupProps, useAvatarGroupContext: (fallback?: AvatarGroupProps | null | undefined) => AvatarGroupProps | null;
|
|
@@ -10,4 +10,4 @@ export interface CarouselGroupContext {
|
|
|
10
10
|
registerCarousel: (state: CarouselState) => void;
|
|
11
11
|
unregisterCarousel: (id: string) => void;
|
|
12
12
|
}
|
|
13
|
-
export declare const provideCarouselGroupContext: (contextValue: CarouselGroupContext) => CarouselGroupContext, useCarouselGroupContext: ((fallback?: CarouselGroupContext) => CarouselGroupContext) & ((fallback: null) => CarouselGroupContext);
|
|
13
|
+
export declare const provideCarouselGroupContext: (contextValue: CarouselGroupContext) => CarouselGroupContext, useCarouselGroupContext: ((fallback?: CarouselGroupContext | undefined) => CarouselGroupContext) & ((fallback: null) => CarouselGroupContext | null);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { CheckboxGroupProps } from '../types/components/checkbox';
|
|
2
|
-
export declare const provideCheckboxGroupContext: (contextValue: CheckboxGroupProps) => CheckboxGroupProps, useCheckboxGroupContext: (fallback?: CheckboxGroupProps) => CheckboxGroupProps;
|
|
2
|
+
export declare const provideCheckboxGroupContext: (contextValue: CheckboxGroupProps) => CheckboxGroupProps, useCheckboxGroupContext: (fallback?: CheckboxGroupProps | null | undefined) => CheckboxGroupProps | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { Ref } from 'vue';
|
|
2
2
|
import type { ChoiceboxGroupProps } from '../types/components/choicebox';
|
|
3
|
-
export declare const provideChoiceboxGroupContext: (contextValue: ChoiceboxGroupProps) => ChoiceboxGroupProps, useChoiceboxGroupContext: ((fallback?: ChoiceboxGroupProps) => ChoiceboxGroupProps) & ((fallback: null) => ChoiceboxGroupProps);
|
|
4
|
-
export declare const provideChoiceboxGroupModelValue: (contextValue: Ref<import("
|
|
3
|
+
export declare const provideChoiceboxGroupContext: (contextValue: ChoiceboxGroupProps) => ChoiceboxGroupProps, useChoiceboxGroupContext: ((fallback?: ChoiceboxGroupProps | undefined) => ChoiceboxGroupProps) & ((fallback: null) => ChoiceboxGroupProps | null);
|
|
4
|
+
export declare const provideChoiceboxGroupModelValue: (contextValue: Ref<import("..").ComponentValue | import("..").ComponentValue[] | undefined, import("..").ComponentValue | import("..").ComponentValue[] | undefined>) => Ref<import("..").ComponentValue | import("..").ComponentValue[] | undefined, import("..").ComponentValue | import("..").ComponentValue[] | undefined>, useChoiceboxGroupModelValue: ((fallback?: Ref<import("..").ComponentValue | import("..").ComponentValue[] | undefined, import("..").ComponentValue | import("..").ComponentValue[] | undefined> | undefined) => Ref<import("..").ComponentValue | import("..").ComponentValue[] | undefined, import("..").ComponentValue | import("..").ComponentValue[] | undefined>) & ((fallback: null) => Ref<import("..").ComponentValue | import("..").ComponentValue[] | undefined, import("..").ComponentValue | import("..").ComponentValue[] | undefined> | null);
|
|
@@ -4,5 +4,5 @@ interface CollapseGroupContext {
|
|
|
4
4
|
isExpanded: (id: string) => boolean;
|
|
5
5
|
toggleItem: (id: string, expanded: boolean) => void;
|
|
6
6
|
}
|
|
7
|
-
export declare const provideCollapseGroupContext: (contextValue: CollapseGroupContext) => CollapseGroupContext, useCollapseGroupContext: ((fallback?: CollapseGroupContext) => CollapseGroupContext) & ((fallback: null) => CollapseGroupContext);
|
|
7
|
+
export declare const provideCollapseGroupContext: (contextValue: CollapseGroupContext) => CollapseGroupContext, useCollapseGroupContext: ((fallback?: CollapseGroupContext | undefined) => CollapseGroupContext) & ((fallback: null) => CollapseGroupContext | null);
|
|
8
8
|
export {};
|
package/dist/contexts/list.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import type { Ref } from 'vue';
|
|
2
|
+
import type { ListOption } from '../types/components/list';
|
|
2
3
|
export interface ListContext {
|
|
3
|
-
|
|
4
|
-
onOptionClick:
|
|
5
|
-
registerListItem: (el: HTMLElement) => void;
|
|
6
|
-
unregisterListItem: (el: HTMLElement) => void;
|
|
4
|
+
activeValue: Ref<string>;
|
|
5
|
+
onOptionClick: ListOption['onClick'];
|
|
7
6
|
}
|
|
8
|
-
export declare const provideListContext: (contextValue: ListContext) => ListContext, useListContext: ((fallback?: ListContext) => ListContext) & ((fallback: null) => ListContext);
|
|
9
|
-
export declare const
|
|
7
|
+
export declare const provideListContext: (contextValue: ListContext) => ListContext, useListContext: ((fallback?: ListContext | undefined) => ListContext) & ((fallback: null) => ListContext | null);
|
|
8
|
+
export declare const provideListFilterValue: (contextValue: Ref<string, string>) => Ref<string, string>, useListFilterValue: (fallback?: Ref<string, string> | null | undefined) => Ref<string, string> | null;
|
package/dist/contexts/list.js
CHANGED
package/dist/contexts/radio.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { RadioGroupProps } from '../types/components/radio';
|
|
2
|
-
export declare const provideRadioGroupContext: (contextValue: RadioGroupProps) => RadioGroupProps, useRadioGroupContext: (fallback?: RadioGroupProps) => RadioGroupProps;
|
|
2
|
+
export declare const provideRadioGroupContext: (contextValue: RadioGroupProps) => RadioGroupProps, useRadioGroupContext: (fallback?: RadioGroupProps | null | undefined) => RadioGroupProps | null;
|
|
@@ -31,5 +31,5 @@ export interface ResizableContext {
|
|
|
31
31
|
unregisterPanel: (id: string) => void;
|
|
32
32
|
unregisterHandle: (id: string) => void;
|
|
33
33
|
}
|
|
34
|
-
export declare const provideResizableContext: (contextValue: ResizableContext) => ResizableContext, useResizableContext: ((fallback?: ResizableContext) => ResizableContext) & ((fallback: null) => ResizableContext);
|
|
34
|
+
export declare const provideResizableContext: (contextValue: ResizableContext) => ResizableContext, useResizableContext: ((fallback?: ResizableContext | undefined) => ResizableContext) & ((fallback: null) => ResizableContext | null);
|
|
35
35
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { Ref } from 'vue';
|
|
2
2
|
import type { SwitchGroupProps } from './../types/components/switch';
|
|
3
|
-
export declare const provideSwitchGroupContext: (contextValue: SwitchGroupProps) => SwitchGroupProps, useSwitchGroupContext: ((fallback?: SwitchGroupProps) => SwitchGroupProps) & ((fallback: null) => SwitchGroupProps);
|
|
4
|
-
export declare const provideSwitchGroupModelValue: (contextValue: Ref<string | number, string | number>) => Ref<string | number, string | number>, useSwitchGroupModelValue: ((fallback?: Ref<string | number, string | number>) => Ref<string | number, string | number>) & ((fallback: null) => Ref<string | number, string | number>);
|
|
3
|
+
export declare const provideSwitchGroupContext: (contextValue: SwitchGroupProps) => SwitchGroupProps, useSwitchGroupContext: ((fallback?: SwitchGroupProps | undefined) => SwitchGroupProps) & ((fallback: null) => SwitchGroupProps | null);
|
|
4
|
+
export declare const provideSwitchGroupModelValue: (contextValue: Ref<string | number | undefined, string | number | undefined>) => Ref<string | number | undefined, string | number | undefined>, useSwitchGroupModelValue: ((fallback?: Ref<string | number | undefined, string | number | undefined> | undefined) => Ref<string | number | undefined, string | number | undefined>) & ((fallback: null) => Ref<string | number | undefined, string | number | undefined> | null);
|
|
@@ -2,7 +2,7 @@ declare var __VLS_1: {};
|
|
|
2
2
|
type __VLS_Slots = {} & {
|
|
3
3
|
default?: (props: typeof __VLS_1) => any;
|
|
4
4
|
};
|
|
5
|
-
declare const __VLS_component: import("vue").DefineComponent<{},
|
|
5
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
6
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
7
7
|
export default _default;
|
|
8
8
|
type __VLS_WithSlots<T, S> = T & {
|
package/dist/index.d.ts
CHANGED
|
@@ -2,5 +2,5 @@ import type { App } from 'vue';
|
|
|
2
2
|
export * from './components/index.js';
|
|
3
3
|
export * from './composables/index.js';
|
|
4
4
|
export type * from './types/shared';
|
|
5
|
-
export declare const version = "0.0.
|
|
5
|
+
export declare const version = "0.0.41";
|
|
6
6
|
export default function install(app: App, prefix?: string): void;
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as components from "./components/index.js";
|
|
2
2
|
export * from "./components/index.js";
|
|
3
3
|
export * from "./composables/index.js";
|
|
4
|
-
export const version = "0.0.
|
|
4
|
+
export const version = "0.0.41";
|
|
5
5
|
export default function install(app, prefix = "P") {
|
|
6
6
|
Object.entries(components).forEach(([key, component]) => {
|
|
7
7
|
app.component(`${prefix}${key}`, component);
|
package/dist/locales/en-us.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
date: {
|
|
3
|
-
|
|
3
|
+
now: string;
|
|
4
|
+
day: {
|
|
4
5
|
0: string;
|
|
5
6
|
1: string;
|
|
6
7
|
2: string;
|
|
@@ -8,13 +9,8 @@ declare const _default: {
|
|
|
8
9
|
4: string;
|
|
9
10
|
5: string;
|
|
10
11
|
6: string;
|
|
11
|
-
7: string;
|
|
12
|
-
8: string;
|
|
13
|
-
9: string;
|
|
14
|
-
10: string;
|
|
15
|
-
11: string;
|
|
16
12
|
};
|
|
17
|
-
|
|
13
|
+
month: {
|
|
18
14
|
0: string;
|
|
19
15
|
1: string;
|
|
20
16
|
2: string;
|
|
@@ -22,6 +18,11 @@ declare const _default: {
|
|
|
22
18
|
4: string;
|
|
23
19
|
5: string;
|
|
24
20
|
6: string;
|
|
21
|
+
7: string;
|
|
22
|
+
8: string;
|
|
23
|
+
9: string;
|
|
24
|
+
10: string;
|
|
25
|
+
11: string;
|
|
25
26
|
};
|
|
26
27
|
};
|
|
27
28
|
compare: {
|
|
@@ -30,5 +31,12 @@ declare const _default: {
|
|
|
30
31
|
next: string;
|
|
31
32
|
prev: string;
|
|
32
33
|
};
|
|
34
|
+
empty: {
|
|
35
|
+
search: string;
|
|
36
|
+
};
|
|
37
|
+
confirm: {
|
|
38
|
+
ok: string;
|
|
39
|
+
cancel: string;
|
|
40
|
+
};
|
|
33
41
|
};
|
|
34
42
|
export default _default;
|
package/dist/locales/en-us.js
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
date: {
|
|
3
|
+
now: "Now",
|
|
4
|
+
day: {
|
|
5
|
+
0: "Sun",
|
|
6
|
+
1: "Mon",
|
|
7
|
+
2: "Tue",
|
|
8
|
+
3: "Wed",
|
|
9
|
+
4: "Thu",
|
|
10
|
+
5: "Fri",
|
|
11
|
+
6: "Sat"
|
|
12
|
+
},
|
|
3
13
|
month: {
|
|
4
14
|
0: "Jan",
|
|
5
15
|
1: "Feb",
|
|
@@ -13,15 +23,6 @@ export default {
|
|
|
13
23
|
9: "Oct",
|
|
14
24
|
10: "Nov",
|
|
15
25
|
11: "Dec"
|
|
16
|
-
},
|
|
17
|
-
day: {
|
|
18
|
-
0: "Sun",
|
|
19
|
-
1: "Mon",
|
|
20
|
-
2: "Tue",
|
|
21
|
-
3: "Wed",
|
|
22
|
-
4: "Thu",
|
|
23
|
-
5: "Fri",
|
|
24
|
-
6: "Sat"
|
|
25
26
|
}
|
|
26
27
|
},
|
|
27
28
|
compare: {
|
|
@@ -29,5 +30,12 @@ export default {
|
|
|
29
30
|
more: "More",
|
|
30
31
|
next: "Next",
|
|
31
32
|
prev: "Previous"
|
|
33
|
+
},
|
|
34
|
+
empty: {
|
|
35
|
+
search: "No results found for"
|
|
36
|
+
},
|
|
37
|
+
confirm: {
|
|
38
|
+
ok: "OK",
|
|
39
|
+
cancel: "Cancel"
|
|
32
40
|
}
|
|
33
41
|
};
|
package/dist/locales/zh-cn.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
date: {
|
|
3
|
-
|
|
3
|
+
now: string;
|
|
4
|
+
day: {
|
|
4
5
|
0: string;
|
|
5
6
|
1: string;
|
|
6
7
|
2: string;
|
|
@@ -8,13 +9,8 @@ declare const _default: {
|
|
|
8
9
|
4: string;
|
|
9
10
|
5: string;
|
|
10
11
|
6: string;
|
|
11
|
-
7: string;
|
|
12
|
-
8: string;
|
|
13
|
-
9: string;
|
|
14
|
-
10: string;
|
|
15
|
-
11: string;
|
|
16
12
|
};
|
|
17
|
-
|
|
13
|
+
month: {
|
|
18
14
|
0: string;
|
|
19
15
|
1: string;
|
|
20
16
|
2: string;
|
|
@@ -22,6 +18,11 @@ declare const _default: {
|
|
|
22
18
|
4: string;
|
|
23
19
|
5: string;
|
|
24
20
|
6: string;
|
|
21
|
+
7: string;
|
|
22
|
+
8: string;
|
|
23
|
+
9: string;
|
|
24
|
+
10: string;
|
|
25
|
+
11: string;
|
|
25
26
|
};
|
|
26
27
|
};
|
|
27
28
|
compare: {
|
|
@@ -30,5 +31,12 @@ declare const _default: {
|
|
|
30
31
|
next: string;
|
|
31
32
|
prev: string;
|
|
32
33
|
};
|
|
34
|
+
empty: {
|
|
35
|
+
search: string;
|
|
36
|
+
};
|
|
37
|
+
confirm: {
|
|
38
|
+
ok: string;
|
|
39
|
+
cancel: string;
|
|
40
|
+
};
|
|
33
41
|
};
|
|
34
42
|
export default _default;
|
package/dist/locales/zh-cn.js
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
date: {
|
|
3
|
+
now: "\u6B64\u523B",
|
|
4
|
+
day: {
|
|
5
|
+
0: "\u5468\u65E5",
|
|
6
|
+
1: "\u5468\u4E00",
|
|
7
|
+
2: "\u5468\u4E8C",
|
|
8
|
+
3: "\u5468\u4E09",
|
|
9
|
+
4: "\u5468\u56DB",
|
|
10
|
+
5: "\u5468\u4E94",
|
|
11
|
+
6: "\u5468\u516D"
|
|
12
|
+
},
|
|
3
13
|
month: {
|
|
4
14
|
0: "\u4E00\u6708",
|
|
5
15
|
1: "\u4E8C\u6708",
|
|
@@ -13,15 +23,6 @@ export default {
|
|
|
13
23
|
9: "\u5341\u6708",
|
|
14
24
|
10: "\u5341\u4E00\u6708",
|
|
15
25
|
11: "\u5341\u4E8C\u6708"
|
|
16
|
-
},
|
|
17
|
-
day: {
|
|
18
|
-
0: "\u5468\u65E5",
|
|
19
|
-
1: "\u5468\u4E00",
|
|
20
|
-
2: "\u5468\u4E8C",
|
|
21
|
-
3: "\u5468\u4E09",
|
|
22
|
-
4: "\u5468\u56DB",
|
|
23
|
-
5: "\u5468\u4E94",
|
|
24
|
-
6: "\u5468\u516D"
|
|
25
26
|
}
|
|
26
27
|
},
|
|
27
28
|
compare: {
|
|
@@ -29,5 +30,12 @@ export default {
|
|
|
29
30
|
more: "\u591A",
|
|
30
31
|
next: "\u4E4B\u540E",
|
|
31
32
|
prev: "\u4E4B\u524D"
|
|
33
|
+
},
|
|
34
|
+
empty: {
|
|
35
|
+
search: "\u672A\u627E\u5230\u7ED3\u679C"
|
|
36
|
+
},
|
|
37
|
+
confirm: {
|
|
38
|
+
ok: "\u786E\u5B9A",
|
|
39
|
+
cancel: "\u53D6\u6D88"
|
|
32
40
|
}
|
|
33
41
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
interface
|
|
1
|
+
interface FieldNames {
|
|
2
2
|
date: string;
|
|
3
|
-
count:
|
|
3
|
+
count: string;
|
|
4
4
|
}
|
|
5
5
|
interface Props {
|
|
6
|
-
data?:
|
|
6
|
+
data?: Record<string, any>[];
|
|
7
7
|
legend?: boolean;
|
|
8
8
|
startDate?: string | Date;
|
|
9
9
|
endDate?: string | Date;
|
|
@@ -12,6 +12,8 @@ interface Props {
|
|
|
12
12
|
transpose?: boolean;
|
|
13
13
|
tooltip?: boolean;
|
|
14
14
|
tooltipText?: string;
|
|
15
|
+
fieldNames?: FieldNames;
|
|
16
|
+
itemRadius?: string | number;
|
|
15
17
|
}
|
|
16
18
|
interface TooltipInfo {
|
|
17
19
|
date: string;
|
|
@@ -25,12 +27,12 @@ declare var __VLS_6: {
|
|
|
25
27
|
type __VLS_Slots = {} & {
|
|
26
28
|
tooltip?: (props: typeof __VLS_6) => any;
|
|
27
29
|
};
|
|
28
|
-
declare const __VLS_component: import("vue").DefineComponent<Props,
|
|
30
|
+
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
29
31
|
"cell-click": (args_0: MouseEvent, args_1: string) => any;
|
|
30
32
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
31
33
|
"onCell-click"?: (args_0: MouseEvent, args_1: string) => any;
|
|
32
34
|
}>, {
|
|
33
|
-
data:
|
|
35
|
+
data: Record<string, any>[];
|
|
34
36
|
legend: boolean;
|
|
35
37
|
tooltip: boolean;
|
|
36
38
|
startDate: string | Date;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AvatarGroupProps } from '../../types/components/avatar';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<AvatarGroupProps,
|
|
2
|
+
declare const _default: import("vue").DefineComponent<AvatarGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<AvatarGroupProps> & Readonly<{}>, {
|
|
3
3
|
max: number;
|
|
4
4
|
options: import("../../types/components/avatar").Options[];
|
|
5
5
|
size: number | string;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
right?: string | number;
|
|
3
|
+
bottom?: string | number;
|
|
4
|
+
zIndex?: string | number;
|
|
5
|
+
visibleThreshold?: number;
|
|
6
|
+
}
|
|
7
|
+
declare var __VLS_6: {};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
default?: (props: typeof __VLS_6) => any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_component: 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, true, {}, any>;
|
|
14
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -4,6 +4,7 @@ interface Props {
|
|
|
4
4
|
variant?: keyof typeof VARIANTS;
|
|
5
5
|
size?: keyof typeof SIZES;
|
|
6
6
|
href?: string;
|
|
7
|
+
to?: string;
|
|
7
8
|
}
|
|
8
9
|
declare const SIZES: {
|
|
9
10
|
sm: string;
|
|
@@ -37,7 +38,7 @@ declare var __VLS_7: {};
|
|
|
37
38
|
type __VLS_Slots = {} & {
|
|
38
39
|
default?: (props: typeof __VLS_7) => any;
|
|
39
40
|
};
|
|
40
|
-
declare const __VLS_component: import("vue").DefineComponent<Props,
|
|
41
|
+
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
41
42
|
variant: keyof typeof VARIANTS;
|
|
42
43
|
as: ComponentAs;
|
|
43
44
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -14,7 +14,7 @@ type __VLS_Slots = {} & {
|
|
|
14
14
|
} & {
|
|
15
15
|
icon?: (props: typeof __VLS_5) => any;
|
|
16
16
|
};
|
|
17
|
-
declare const __VLS_component: import("vue").DefineComponent<Props,
|
|
17
|
+
declare const __VLS_component: 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
20
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -5,7 +5,7 @@ declare var __VLS_38: {};
|
|
|
5
5
|
type __VLS_Slots = {} & {
|
|
6
6
|
default?: (props: typeof __VLS_38) => any;
|
|
7
7
|
};
|
|
8
|
-
declare const __VLS_component: import("vue").DefineComponent<Props,
|
|
8
|
+
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
9
9
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
10
10
|
export default _default;
|
|
11
11
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -7,7 +7,7 @@ type __VLS_Slots = {} & {
|
|
|
7
7
|
} & {
|
|
8
8
|
suffix?: (props: typeof __VLS_19) => any;
|
|
9
9
|
};
|
|
10
|
-
declare const __VLS_component: import("vue").DefineComponent<ButtonProps,
|
|
10
|
+
declare const __VLS_component: import("vue").DefineComponent<ButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
11
|
click: (args_0: MouseEvent) => any;
|
|
12
12
|
dblclick: (args_0: MouseEvent) => any;
|
|
13
13
|
}, string, import("vue").PublicProps, Readonly<ButtonProps> & Readonly<{
|
|
@@ -2,7 +2,7 @@ declare var __VLS_1: {};
|
|
|
2
2
|
type __VLS_Slots = {} & {
|
|
3
3
|
default?: (props: typeof __VLS_1) => any;
|
|
4
4
|
};
|
|
5
|
-
declare const __VLS_component: import("vue").DefineComponent<{},
|
|
5
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
6
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
7
7
|
export default _default;
|
|
8
8
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -8,7 +8,7 @@ type __VLS_Slots = {} & {
|
|
|
8
8
|
} & {
|
|
9
9
|
indicator?: (props: typeof __VLS_3) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_component: import("vue").DefineComponent<CarouselGroupProps,
|
|
11
|
+
declare const __VLS_component: import("vue").DefineComponent<CarouselGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
12
|
change: (index: number) => any;
|
|
13
13
|
}, string, import("vue").PublicProps, Readonly<CarouselGroupProps> & Readonly<{
|
|
14
14
|
onChange?: (index: number) => any;
|
|
@@ -9,7 +9,7 @@ declare var __VLS_1: {};
|
|
|
9
9
|
type __VLS_Slots = {} & {
|
|
10
10
|
default?: (props: typeof __VLS_1) => any;
|
|
11
11
|
};
|
|
12
|
-
declare const __VLS_component: import("vue").DefineComponent<Props,
|
|
12
|
+
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
13
13
|
variant: ComponentVariant | "secondary";
|
|
14
14
|
label: ComponentLabel;
|
|
15
15
|
size: number | string;
|
|
@@ -5,7 +5,7 @@ type __VLS_Slots = {} & {
|
|
|
5
5
|
} & {
|
|
6
6
|
description?: (props: typeof __VLS_9) => any;
|
|
7
7
|
};
|
|
8
|
-
declare const __VLS_component: import("vue").DefineComponent<ChoiceboxProps,
|
|
8
|
+
declare const __VLS_component: import("vue").DefineComponent<ChoiceboxProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ChoiceboxProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
9
9
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
10
10
|
export default _default;
|
|
11
11
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -5,7 +5,7 @@ type __VLS_Slots = {} & {
|
|
|
5
5
|
} & {
|
|
6
6
|
default?: (props: typeof __VLS_8) => any;
|
|
7
7
|
};
|
|
8
|
-
declare const __VLS_component: import("vue").DefineComponent<ChoiceboxGroupProps,
|
|
8
|
+
declare const __VLS_component: import("vue").DefineComponent<ChoiceboxGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
9
|
"update:modelValue": (args_0: NonNullable<import("../../types/shared").ComponentValue | import("../../types/shared").ComponentValue[]>) => any;
|
|
10
10
|
}, string, import("vue").PublicProps, Readonly<ChoiceboxGroupProps> & Readonly<{
|
|
11
11
|
"onUpdate:modelValue"?: (args_0: NonNullable<import("../../types/shared").ComponentValue | import("../../types/shared").ComponentValue[]>) => any;
|
|
@@ -8,7 +8,7 @@ type __VLS_Slots = {} & {
|
|
|
8
8
|
} & {
|
|
9
9
|
default?: (props: typeof __VLS_20) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_component: import("vue").DefineComponent<Props,
|
|
11
|
+
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
12
12
|
title: string;
|
|
13
13
|
expand: boolean;
|
|
14
14
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|