@ug666/ui-vue 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/accordion.vue.d.ts +108 -0
- package/dist/components/accordion.vue.d.ts.map +1 -0
- package/dist/components/alert.vue.d.ts +41 -0
- package/dist/components/alert.vue.d.ts.map +1 -0
- package/dist/components/avatar-group.vue.d.ts +26 -0
- package/dist/components/avatar-group.vue.d.ts.map +1 -0
- package/dist/components/avatar.vue.d.ts +84 -0
- package/dist/components/avatar.vue.d.ts.map +1 -0
- package/dist/components/badge.vue.d.ts +28 -0
- package/dist/components/badge.vue.d.ts.map +1 -0
- package/dist/components/breadcrumb.vue.d.ts +75 -0
- package/dist/components/breadcrumb.vue.d.ts.map +1 -0
- package/dist/components/button.vue.d.ts +48 -0
- package/dist/components/button.vue.d.ts.map +1 -0
- package/dist/components/card.vue.d.ts +63 -0
- package/dist/components/card.vue.d.ts.map +1 -0
- package/dist/components/checkbox.vue.d.ts +42 -0
- package/dist/components/checkbox.vue.d.ts.map +1 -0
- package/dist/components/context/accordion-context.d.ts +22 -0
- package/dist/components/context/accordion-context.d.ts.map +1 -0
- package/dist/components/context/avatar-context.d.ts +8 -0
- package/dist/components/context/avatar-context.d.ts.map +1 -0
- package/dist/components/context/context-menu-context.d.ts +17 -0
- package/dist/components/context/context-menu-context.d.ts.map +1 -0
- package/dist/components/context/drawer-context.d.ts +13 -0
- package/dist/components/context/drawer-context.d.ts.map +1 -0
- package/dist/components/context/dropdown-context.d.ts +13 -0
- package/dist/components/context/dropdown-context.d.ts.map +1 -0
- package/dist/components/context/form-context.d.ts +11 -0
- package/dist/components/context/form-context.d.ts.map +1 -0
- package/dist/components/context/navigation-menu-context.d.ts +14 -0
- package/dist/components/context/navigation-menu-context.d.ts.map +1 -0
- package/dist/components/context/popover-context.d.ts +17 -0
- package/dist/components/context/popover-context.d.ts.map +1 -0
- package/dist/components/context/radio-context.d.ts +13 -0
- package/dist/components/context/radio-context.d.ts.map +1 -0
- package/dist/components/context/tabs-context.d.ts +9 -0
- package/dist/components/context/tabs-context.d.ts.map +1 -0
- package/dist/components/context/tooltip-context.d.ts +13 -0
- package/dist/components/context/tooltip-context.d.ts.map +1 -0
- package/dist/components/context-menu.vue.d.ts +116 -0
- package/dist/components/context-menu.vue.d.ts.map +1 -0
- package/dist/components/descriptions.vue.d.ts +77 -0
- package/dist/components/descriptions.vue.d.ts.map +1 -0
- package/dist/components/dialog.vue.d.ts +37 -0
- package/dist/components/dialog.vue.d.ts.map +1 -0
- package/dist/components/drawer.vue.d.ts +140 -0
- package/dist/components/drawer.vue.d.ts.map +1 -0
- package/dist/components/dropdown.vue.d.ts +137 -0
- package/dist/components/dropdown.vue.d.ts.map +1 -0
- package/dist/components/empty-state.vue.d.ts +37 -0
- package/dist/components/empty-state.vue.d.ts.map +1 -0
- package/dist/components/form.vue.d.ts +167 -0
- package/dist/components/form.vue.d.ts.map +1 -0
- package/dist/components/input.vue.d.ts +56 -0
- package/dist/components/input.vue.d.ts.map +1 -0
- package/dist/components/label.vue.d.ts +30 -0
- package/dist/components/label.vue.d.ts.map +1 -0
- package/dist/components/modal.vue.d.ts +53 -0
- package/dist/components/modal.vue.d.ts.map +1 -0
- package/dist/components/navigation-menu.vue.d.ts +112 -0
- package/dist/components/navigation-menu.vue.d.ts.map +1 -0
- package/dist/components/number-input.vue.d.ts +38 -0
- package/dist/components/number-input.vue.d.ts.map +1 -0
- package/dist/components/otp-input.vue.d.ts +25 -0
- package/dist/components/otp-input.vue.d.ts.map +1 -0
- package/dist/components/pagination.vue.d.ts +21 -0
- package/dist/components/pagination.vue.d.ts.map +1 -0
- package/dist/components/popover.vue.d.ts +100 -0
- package/dist/components/popover.vue.d.ts.map +1 -0
- package/dist/components/progress.vue.d.ts +20 -0
- package/dist/components/progress.vue.d.ts.map +1 -0
- package/dist/components/radio-group.vue.d.ts +41 -0
- package/dist/components/radio-group.vue.d.ts.map +1 -0
- package/dist/components/radio.vue.d.ts +28 -0
- package/dist/components/radio.vue.d.ts.map +1 -0
- package/dist/components/select.vue.d.ts +57 -0
- package/dist/components/select.vue.d.ts.map +1 -0
- package/dist/components/separator.vue.d.ts +14 -0
- package/dist/components/separator.vue.d.ts.map +1 -0
- package/dist/components/sheet.vue.d.ts +54 -0
- package/dist/components/sheet.vue.d.ts.map +1 -0
- package/dist/components/sidebar.vue.d.ts +40 -0
- package/dist/components/sidebar.vue.d.ts.map +1 -0
- package/dist/components/skeleton.vue.d.ts +13 -0
- package/dist/components/skeleton.vue.d.ts.map +1 -0
- package/dist/components/slider.vue.d.ts +34 -0
- package/dist/components/slider.vue.d.ts.map +1 -0
- package/dist/components/spinner.vue.d.ts +16 -0
- package/dist/components/spinner.vue.d.ts.map +1 -0
- package/dist/components/statistic.vue.d.ts +47 -0
- package/dist/components/statistic.vue.d.ts.map +1 -0
- package/dist/components/steps.vue.d.ts +31 -0
- package/dist/components/steps.vue.d.ts.map +1 -0
- package/dist/components/switch.vue.d.ts +32 -0
- package/dist/components/switch.vue.d.ts.map +1 -0
- package/dist/components/table.vue.d.ts +63 -0
- package/dist/components/table.vue.d.ts.map +1 -0
- package/dist/components/tabs.vue.d.ts +114 -0
- package/dist/components/tabs.vue.d.ts.map +1 -0
- package/dist/components/tag.vue.d.ts +45 -0
- package/dist/components/tag.vue.d.ts.map +1 -0
- package/dist/components/textarea.vue.d.ts +54 -0
- package/dist/components/textarea.vue.d.ts.map +1 -0
- package/dist/components/toast-state.d.ts +29 -0
- package/dist/components/toast-state.d.ts.map +1 -0
- package/dist/components/toast.vue.d.ts +12 -0
- package/dist/components/toast.vue.d.ts.map +1 -0
- package/dist/components/tooltip.vue.d.ts +63 -0
- package/dist/components/tooltip.vue.d.ts.map +1 -0
- package/dist/composables/index.cjs +1 -0
- package/dist/composables/index.d.ts +21 -0
- package/dist/composables/index.d.ts.map +1 -0
- package/dist/composables/index.js +2 -0
- package/dist/composables/use-click-outside.d.ts +17 -0
- package/dist/composables/use-click-outside.d.ts.map +1 -0
- package/dist/composables/use-copy-to-clipboard.d.ts +21 -0
- package/dist/composables/use-copy-to-clipboard.d.ts.map +1 -0
- package/dist/composables/use-debounce.d.ts +17 -0
- package/dist/composables/use-debounce.d.ts.map +1 -0
- package/dist/composables/use-event-listener.d.ts +25 -0
- package/dist/composables/use-event-listener.d.ts.map +1 -0
- package/dist/composables/use-form.d.ts +31 -0
- package/dist/composables/use-form.d.ts.map +1 -0
- package/dist/composables/use-hotkeys.d.ts +27 -0
- package/dist/composables/use-hotkeys.d.ts.map +1 -0
- package/dist/composables/use-interval.d.ts +20 -0
- package/dist/composables/use-interval.d.ts.map +1 -0
- package/dist/composables/use-local-storage.d.ts +17 -0
- package/dist/composables/use-local-storage.d.ts.map +1 -0
- package/dist/composables/use-media-query.d.ts +14 -0
- package/dist/composables/use-media-query.d.ts.map +1 -0
- package/dist/composables/use-mounted.d.ts +19 -0
- package/dist/composables/use-mounted.d.ts.map +1 -0
- package/dist/composables/use-pagination.d.ts +36 -0
- package/dist/composables/use-pagination.d.ts.map +1 -0
- package/dist/composables/use-timeout.d.ts +20 -0
- package/dist/composables/use-timeout.d.ts.map +1 -0
- package/dist/composables/use-toast.d.ts +16 -0
- package/dist/composables/use-toast.d.ts.map +1 -0
- package/dist/composables/use-toggle.d.ts +25 -0
- package/dist/composables/use-toggle.d.ts.map +1 -0
- package/dist/composables-BwdwEG7n.js +296 -0
- package/dist/composables-BwdwEG7n.js.map +1 -0
- package/dist/composables-Cxcf-3ov.cjs +2 -0
- package/dist/composables-Cxcf-3ov.cjs.map +1 -0
- package/dist/index.cjs +2 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +53 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2941 -0
- package/dist/index.js.map +1 -0
- package/dist/tokens.css +9 -0
- package/package.json +51 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { InjectionKey, Ref } from 'vue';
|
|
2
|
+
export interface DropdownContextValue {
|
|
3
|
+
/** 当前菜单是否打开 */
|
|
4
|
+
open: Ref<boolean>;
|
|
5
|
+
/** 触发器元素引用 */
|
|
6
|
+
triggerRef: Ref<HTMLElement | null>;
|
|
7
|
+
/** 设置菜单状态 */
|
|
8
|
+
setOpen: (value: boolean) => void;
|
|
9
|
+
/** 切换菜单状态 */
|
|
10
|
+
toggleOpen: () => void;
|
|
11
|
+
}
|
|
12
|
+
export declare const DROPDOWN_CONTEXT_KEY: InjectionKey<DropdownContextValue>;
|
|
13
|
+
//# sourceMappingURL=dropdown-context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dropdown-context.d.ts","sourceRoot":"","sources":["../../../src/components/context/dropdown-context.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAE5C,MAAM,WAAW,oBAAoB;IACnC,eAAe;IACf,IAAI,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IAClB,cAAc;IACd,UAAU,EAAE,GAAG,CAAC,WAAW,GAAG,IAAI,CAAC,CAAA;IACnC,aAAa;IACb,OAAO,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAA;IACjC,aAAa;IACb,UAAU,EAAE,MAAM,IAAI,CAAA;CACvB;AAED,eAAO,MAAM,oBAAoB,EAAoC,YAAY,CAAC,oBAAoB,CAAC,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { InjectionKey, Ref } from 'vue';
|
|
2
|
+
export interface FormFieldContextValue {
|
|
3
|
+
/** 字段名称 */
|
|
4
|
+
name: Ref<string>;
|
|
5
|
+
/** 字段错误信息,无错误时为 undefined */
|
|
6
|
+
error: Ref<string | undefined>;
|
|
7
|
+
/** 自动生成的控件 id,用于 label htmlFor 关联 */
|
|
8
|
+
id: Ref<string>;
|
|
9
|
+
}
|
|
10
|
+
export declare const FORM_FIELD_CONTEXT_KEY: InjectionKey<FormFieldContextValue>;
|
|
11
|
+
//# sourceMappingURL=form-context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-context.d.ts","sourceRoot":"","sources":["../../../src/components/context/form-context.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAE5C,MAAM,WAAW,qBAAqB;IACpC,WAAW;IACX,IAAI,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IACjB,6BAA6B;IAC7B,KAAK,EAAE,GAAG,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IAC9B,qCAAqC;IACrC,EAAE,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;CAChB;AAED,eAAO,MAAM,sBAAsB,EAAsC,YAAY,CAAC,qBAAqB,CAAC,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { InjectionKey, Ref } from 'vue';
|
|
2
|
+
export interface NavigationMenuContextValue {
|
|
3
|
+
/** 当前展开的菜单项 ID,null 表示全部收起 */
|
|
4
|
+
activeItem: Ref<string | null>;
|
|
5
|
+
/** 设置当前展开的菜单项 */
|
|
6
|
+
setActiveItem: (id: string | null) => void;
|
|
7
|
+
}
|
|
8
|
+
export declare const NAVIGATION_MENU_CONTEXT_KEY: InjectionKey<NavigationMenuContextValue>;
|
|
9
|
+
export interface NavigationMenuItemContextValue {
|
|
10
|
+
/** 当前 Item 的唯一 ID */
|
|
11
|
+
itemId: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const NAVIGATION_MENU_ITEM_CONTEXT_KEY: InjectionKey<NavigationMenuItemContextValue>;
|
|
14
|
+
//# sourceMappingURL=navigation-menu-context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"navigation-menu-context.d.ts","sourceRoot":"","sources":["../../../src/components/context/navigation-menu-context.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAE5C,MAAM,WAAW,0BAA0B;IACzC,8BAA8B;IAC9B,UAAU,EAAE,GAAG,CAAC,MAAM,GAAG,IAAI,CAAC,CAAA;IAC9B,iBAAiB;IACjB,aAAa,EAAE,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAA;CAC3C;AAED,eAAO,MAAM,2BAA2B,EAA2C,YAAY,CAAC,0BAA0B,CAAC,CAAA;AAE3H,MAAM,WAAW,8BAA8B;IAC7C,qBAAqB;IACrB,MAAM,EAAE,MAAM,CAAA;CACf;AAED,eAAO,MAAM,gCAAgC,EAAgD,YAAY,CAAC,8BAA8B,CAAC,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { InjectionKey, Ref } from 'vue';
|
|
2
|
+
/** 浮层显示方向 */
|
|
3
|
+
export type PopoverSide = 'top' | 'right' | 'bottom' | 'left';
|
|
4
|
+
/** 浮层对齐方式 */
|
|
5
|
+
export type PopoverAlign = 'start' | 'center' | 'end';
|
|
6
|
+
export interface PopoverContextValue {
|
|
7
|
+
/** 当前浮层是否显示 */
|
|
8
|
+
open: Ref<boolean>;
|
|
9
|
+
/** 触发器元素引用 */
|
|
10
|
+
triggerRef: Ref<HTMLElement | null>;
|
|
11
|
+
/** 设置显示状态 */
|
|
12
|
+
setOpen: (value: boolean) => void;
|
|
13
|
+
/** 切换显示状态 */
|
|
14
|
+
toggleOpen: () => void;
|
|
15
|
+
}
|
|
16
|
+
export declare const POPOVER_CONTEXT_KEY: InjectionKey<PopoverContextValue>;
|
|
17
|
+
//# sourceMappingURL=popover-context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"popover-context.d.ts","sourceRoot":"","sources":["../../../src/components/context/popover-context.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAE5C,aAAa;AACb,MAAM,MAAM,WAAW,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAA;AAE7D,aAAa;AACb,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAA;AAErD,MAAM,WAAW,mBAAmB;IAClC,eAAe;IACf,IAAI,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IAClB,cAAc;IACd,UAAU,EAAE,GAAG,CAAC,WAAW,GAAG,IAAI,CAAC,CAAA;IACnC,aAAa;IACb,OAAO,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAA;IACjC,aAAa;IACb,UAAU,EAAE,MAAM,IAAI,CAAA;CACvB;AAED,eAAO,MAAM,mBAAmB,EAAmC,YAAY,CAAC,mBAAmB,CAAC,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ComputedRef, InjectionKey } from 'vue';
|
|
2
|
+
export interface RadioGroupContextValue {
|
|
3
|
+
/** 当前选中值 */
|
|
4
|
+
value: ComputedRef<string | undefined>;
|
|
5
|
+
/** 选中值变化回调 */
|
|
6
|
+
onValueChange: (value: string) => void;
|
|
7
|
+
/** 表单 name */
|
|
8
|
+
name: ComputedRef<string | undefined>;
|
|
9
|
+
/** 是否整组禁用 */
|
|
10
|
+
disabled: ComputedRef<boolean>;
|
|
11
|
+
}
|
|
12
|
+
export declare const RADIO_GROUP_CONTEXT_KEY: InjectionKey<RadioGroupContextValue>;
|
|
13
|
+
//# sourceMappingURL=radio-context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio-context.d.ts","sourceRoot":"","sources":["../../../src/components/context/radio-context.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,KAAK,CAAA;AAEpD,MAAM,WAAW,sBAAsB;IACrC,YAAY;IACZ,KAAK,EAAE,WAAW,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IACtC,cAAc;IACd,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACtC,cAAc;IACd,IAAI,EAAE,WAAW,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IACrC,aAAa;IACb,QAAQ,EAAE,WAAW,CAAC,OAAO,CAAC,CAAA;CAC/B;AAED,eAAO,MAAM,uBAAuB,EAAuC,YAAY,CAAC,sBAAsB,CAAC,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { InjectionKey, Ref } from 'vue';
|
|
2
|
+
export interface TabsContextValue {
|
|
3
|
+
/** 当前激活的标签值 */
|
|
4
|
+
modelValue: Ref<string>;
|
|
5
|
+
/** 更新当前激活值 */
|
|
6
|
+
setValue: (value: string) => void;
|
|
7
|
+
}
|
|
8
|
+
export declare const TABS_CONTEXT_KEY: InjectionKey<TabsContextValue>;
|
|
9
|
+
//# sourceMappingURL=tabs-context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tabs-context.d.ts","sourceRoot":"","sources":["../../../src/components/context/tabs-context.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAE5C,MAAM,WAAW,gBAAgB;IAC/B,eAAe;IACf,UAAU,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IACvB,cAAc;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CAClC;AAED,eAAO,MAAM,gBAAgB,EAAgC,YAAY,CAAC,gBAAgB,CAAC,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { InjectionKey, Ref } from 'vue';
|
|
2
|
+
export interface TooltipContextValue {
|
|
3
|
+
/** 当前提示是否显示 */
|
|
4
|
+
open: Ref<boolean>;
|
|
5
|
+
/** 触发器元素引用 */
|
|
6
|
+
triggerRef: Ref<HTMLElement | null>;
|
|
7
|
+
/** 延迟显示定时器 */
|
|
8
|
+
delayTimer: Ref<number | null>;
|
|
9
|
+
/** 设置显示状态 */
|
|
10
|
+
setOpen: (value: boolean) => void;
|
|
11
|
+
}
|
|
12
|
+
export declare const TOOLTIP_CONTEXT_KEY: InjectionKey<TooltipContextValue>;
|
|
13
|
+
//# sourceMappingURL=tooltip-context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tooltip-context.d.ts","sourceRoot":"","sources":["../../../src/components/context/tooltip-context.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAE5C,MAAM,WAAW,mBAAmB;IAClC,eAAe;IACf,IAAI,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IAClB,cAAc;IACd,UAAU,EAAE,GAAG,CAAC,WAAW,GAAG,IAAI,CAAC,CAAA;IACnC,cAAc;IACd,UAAU,EAAE,GAAG,CAAC,MAAM,GAAG,IAAI,CAAC,CAAA;IAC9B,aAAa;IACb,OAAO,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAA;CAClC;AAED,eAAO,MAAM,mBAAmB,EAAmC,YAAY,CAAC,mBAAmB,CAAC,CAAA"}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
/** 右键触发区域包裹元素 */
|
|
2
|
+
export declare const UContextMenuTrigger: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
/** 额外 CSS 类名 */
|
|
4
|
+
class: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
default: undefined;
|
|
7
|
+
};
|
|
8
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
11
|
+
/** 额外 CSS 类名 */
|
|
12
|
+
class: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: undefined;
|
|
15
|
+
};
|
|
16
|
+
}>> & Readonly<{}>, {
|
|
17
|
+
class: string;
|
|
18
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
19
|
+
/** 右键菜单内容面板,fixed 定位到鼠标位置 */
|
|
20
|
+
export declare const UContextMenuContent: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
21
|
+
/** 额外 CSS 类名 */
|
|
22
|
+
class: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: undefined;
|
|
25
|
+
};
|
|
26
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
}> | null, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
29
|
+
/** 额外 CSS 类名 */
|
|
30
|
+
class: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: undefined;
|
|
33
|
+
};
|
|
34
|
+
}>> & Readonly<{}>, {
|
|
35
|
+
class: string;
|
|
36
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
37
|
+
/** 右键菜单项 */
|
|
38
|
+
export declare const UContextMenuItem: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
39
|
+
/** 是否为危险操作样式 */
|
|
40
|
+
destructive: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: boolean;
|
|
43
|
+
};
|
|
44
|
+
/** 是否禁用 */
|
|
45
|
+
disabled: {
|
|
46
|
+
type: BooleanConstructor;
|
|
47
|
+
default: boolean;
|
|
48
|
+
};
|
|
49
|
+
/** 额外 CSS 类名 */
|
|
50
|
+
class: {
|
|
51
|
+
type: StringConstructor;
|
|
52
|
+
default: undefined;
|
|
53
|
+
};
|
|
54
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
55
|
+
[key: string]: any;
|
|
56
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
57
|
+
click: (_event: MouseEvent) => true;
|
|
58
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
59
|
+
/** 是否为危险操作样式 */
|
|
60
|
+
destructive: {
|
|
61
|
+
type: BooleanConstructor;
|
|
62
|
+
default: boolean;
|
|
63
|
+
};
|
|
64
|
+
/** 是否禁用 */
|
|
65
|
+
disabled: {
|
|
66
|
+
type: BooleanConstructor;
|
|
67
|
+
default: boolean;
|
|
68
|
+
};
|
|
69
|
+
/** 额外 CSS 类名 */
|
|
70
|
+
class: {
|
|
71
|
+
type: StringConstructor;
|
|
72
|
+
default: undefined;
|
|
73
|
+
};
|
|
74
|
+
}>> & Readonly<{
|
|
75
|
+
onClick?: ((_event: MouseEvent) => any) | undefined;
|
|
76
|
+
}>, {
|
|
77
|
+
destructive: boolean;
|
|
78
|
+
disabled: boolean;
|
|
79
|
+
class: string;
|
|
80
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
81
|
+
/** 右键菜单分隔线 */
|
|
82
|
+
export declare const UContextMenuSeparator: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
83
|
+
/** 额外 CSS 类名 */
|
|
84
|
+
class: {
|
|
85
|
+
type: StringConstructor;
|
|
86
|
+
default: undefined;
|
|
87
|
+
};
|
|
88
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
89
|
+
[key: string]: any;
|
|
90
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
91
|
+
/** 额外 CSS 类名 */
|
|
92
|
+
class: {
|
|
93
|
+
type: StringConstructor;
|
|
94
|
+
default: undefined;
|
|
95
|
+
};
|
|
96
|
+
}>> & Readonly<{}>, {
|
|
97
|
+
class: string;
|
|
98
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
99
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
100
|
+
/** 额外 CSS 类名 */
|
|
101
|
+
class?: string;
|
|
102
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
103
|
+
/** 额外 CSS 类名 */
|
|
104
|
+
class?: string;
|
|
105
|
+
}> & Readonly<{}>, {
|
|
106
|
+
class: string;
|
|
107
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>, {
|
|
108
|
+
default?(_: {}): any;
|
|
109
|
+
}>;
|
|
110
|
+
export default _default;
|
|
111
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
112
|
+
new (): {
|
|
113
|
+
$slots: S;
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
//# sourceMappingURL=context-menu.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context-menu.vue.d.ts","sourceRoot":"","sources":["../../src/components/context-menu.vue"],"names":[],"mappings":"AAyRA,iBAAiB;AACjB,eAAO,MAAM,mBAAmB;IAG5B,gBAAgB;;;;;;;;IAAhB,gBAAgB;;;;;;;4EAyBlB,CAAA;AAEF,6BAA6B;AAC7B,eAAO,MAAM,mBAAmB;IAG5B,gBAAgB;;;;;;;;IAAhB,gBAAgB;;;;;;;4EAyElB,CAAA;AAEF,YAAY;AACZ,eAAO,MAAM,gBAAgB;IAGzB,gBAAgB;;;;;IAKhB,WAAW;;;;;IAKX,gBAAgB;;;;;;;;oBAOA,UAAU;;IAjB1B,gBAAgB;;;;;IAKhB,WAAW;;;;;IAKX,gBAAgB;;;;;;;;;;;4EAsClB,CAAA;AAEF,cAAc;AACd,eAAO,MAAM,qBAAqB;IAG9B,gBAAgB;;;;;;;;IAAhB,gBAAgB;;;;;;;4EAUlB,CACD;;IAOC,gBAAgB;YACR,MAAM;;IADd,gBAAgB;YACR,MAAM;;WAAN,MAAM;;qBA4Ca,GAAG;;AAnDhC,wBAuFK;AAaL,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { VNode } from 'vue';
|
|
2
|
+
export declare const UDescriptionsItem: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
/** 标签文案(必需) */
|
|
4
|
+
label: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
/** 占几列,默认 1 */
|
|
9
|
+
span: {
|
|
10
|
+
type: NumberConstructor;
|
|
11
|
+
default: number;
|
|
12
|
+
};
|
|
13
|
+
/** 额外 CSS 类名 */
|
|
14
|
+
class: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: undefined;
|
|
17
|
+
};
|
|
18
|
+
}>, () => VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
19
|
+
[key: string]: any;
|
|
20
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
21
|
+
/** 标签文案(必需) */
|
|
22
|
+
label: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
/** 占几列,默认 1 */
|
|
27
|
+
span: {
|
|
28
|
+
type: NumberConstructor;
|
|
29
|
+
default: number;
|
|
30
|
+
};
|
|
31
|
+
/** 额外 CSS 类名 */
|
|
32
|
+
class: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
default: undefined;
|
|
35
|
+
};
|
|
36
|
+
}>> & Readonly<{}>, {
|
|
37
|
+
class: string;
|
|
38
|
+
span: number;
|
|
39
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
40
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
41
|
+
/** 列数,默认 2 */
|
|
42
|
+
column?: 1 | 2 | 3 | 4;
|
|
43
|
+
/** 是否显示边框(类表格样式) */
|
|
44
|
+
bordered?: boolean;
|
|
45
|
+
/** 尺寸 */
|
|
46
|
+
size?: "default" | "sm" | "lg";
|
|
47
|
+
/** 标题 */
|
|
48
|
+
title?: string;
|
|
49
|
+
/** 额外 CSS 类名 */
|
|
50
|
+
class?: string;
|
|
51
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
52
|
+
/** 列数,默认 2 */
|
|
53
|
+
column?: 1 | 2 | 3 | 4;
|
|
54
|
+
/** 是否显示边框(类表格样式) */
|
|
55
|
+
bordered?: boolean;
|
|
56
|
+
/** 尺寸 */
|
|
57
|
+
size?: "default" | "sm" | "lg";
|
|
58
|
+
/** 标题 */
|
|
59
|
+
title?: string;
|
|
60
|
+
/** 额外 CSS 类名 */
|
|
61
|
+
class?: string;
|
|
62
|
+
}> & Readonly<{}>, {
|
|
63
|
+
size: "default" | "sm" | "lg";
|
|
64
|
+
class: string;
|
|
65
|
+
title: string;
|
|
66
|
+
column: 1 | 2 | 3 | 4;
|
|
67
|
+
bordered: boolean;
|
|
68
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>, {
|
|
69
|
+
default?(_: {}): any;
|
|
70
|
+
}>;
|
|
71
|
+
export default _default;
|
|
72
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
73
|
+
new (): {
|
|
74
|
+
$slots: S;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
//# sourceMappingURL=descriptions.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"descriptions.vue.d.ts","sourceRoot":"","sources":["../../src/components/descriptions.vue"],"names":[],"mappings":"AAKA;AAuLA,OAAO,EAAsB,KAAK,KAAK,EAAE,MAAM,KAAK,CAAA;AAOpD,eAAO,MAAM,iBAAiB;IAG1B,eAAe;;;;;IAKf,eAAe;;;;;IAKf,gBAAgB;;;;;;;;IAVhB,eAAe;;;;;IAKf,eAAe;;;;;IAKf,gBAAgB;;;;;;;;4EAiBlB,CACD;;IAgBG,cAAc;;IAEd,oBAAoB;eACT,OAAO;IAClB,SAAS;;IAET,SAAS;YACD,MAAM;IACd,gBAAgB;YACR,MAAM;;IATd,cAAc;;IAEd,oBAAoB;eACT,OAAO;IAClB,SAAS;;IAET,SAAS;YACD,MAAM;IACd,gBAAgB;YACR,MAAM;;;WAAN,MAAM;WAFN,MAAM;;cAJH,OAAO;;qBAwJO,GAAG;;AA1KhC,wBAmNK;AAaL,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/** Dialog 变体类型 */
|
|
2
|
+
type DialogVariant = 'default' | 'destructive';
|
|
3
|
+
interface Props {
|
|
4
|
+
/** 对话框标题 */
|
|
5
|
+
title: string;
|
|
6
|
+
/** 对话框描述文字 */
|
|
7
|
+
description?: string;
|
|
8
|
+
/** 变体:default(默认深色确认)或 destructive(红色危险确认) */
|
|
9
|
+
variant?: DialogVariant;
|
|
10
|
+
/** 取消按钮文案 */
|
|
11
|
+
cancelText?: string;
|
|
12
|
+
/** 确认按钮文案 */
|
|
13
|
+
confirmText?: string;
|
|
14
|
+
/** 根节点额外 CSS 类名 */
|
|
15
|
+
class?: string;
|
|
16
|
+
}
|
|
17
|
+
type __VLS_Props = Props;
|
|
18
|
+
type __VLS_PublicProps = {
|
|
19
|
+
'open'?: boolean;
|
|
20
|
+
} & __VLS_Props;
|
|
21
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
22
|
+
cancel: () => any;
|
|
23
|
+
"update:open": (value: boolean) => any;
|
|
24
|
+
confirm: () => any;
|
|
25
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
26
|
+
onCancel?: (() => any) | undefined;
|
|
27
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
28
|
+
onConfirm?: (() => any) | undefined;
|
|
29
|
+
}>, {
|
|
30
|
+
variant: DialogVariant;
|
|
31
|
+
class: string;
|
|
32
|
+
description: string;
|
|
33
|
+
cancelText: string;
|
|
34
|
+
confirmText: string;
|
|
35
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
36
|
+
export default _default;
|
|
37
|
+
//# sourceMappingURL=dialog.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dialog.vue.d.ts","sourceRoot":"","sources":["../../src/components/dialog.vue"],"names":[],"mappings":"AAuLA,kBAAkB;AAClB,KAAK,aAAa,GAAG,SAAS,GAAG,aAAa,CAAA;AAE9C,UAAU,KAAK;IACb,YAAY;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,cAAc;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,8CAA8C;IAC9C,OAAO,CAAC,EAAE,aAAa,CAAA;IACvB,aAAa;IACb,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,aAAa;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,mBAAmB;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,KAAK,WAAW,GAAG,KAAK,CAAC;AAuFzB,KAAK,iBAAiB,GAAG;IACzB,MAAM,CAAC,EAAE,OAAO,CAAC;CAChB,GAAG,WAAW,CAAC;;;;;;;;;;aAlGJ,aAAa;WAMf,MAAM;iBARA,MAAM;gBAIP,MAAM;iBAEL,MAAM;;AA0MtB,wBASG"}
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import { DrawerSide } from './context/drawer-context';
|
|
2
|
+
export declare const UDrawerContent: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
/** 额外 CSS 类名 */
|
|
4
|
+
class: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
default: undefined;
|
|
7
|
+
};
|
|
8
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
}> | null, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
11
|
+
/** 额外 CSS 类名 */
|
|
12
|
+
class: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: undefined;
|
|
15
|
+
};
|
|
16
|
+
}>> & Readonly<{}>, {
|
|
17
|
+
class: string;
|
|
18
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
19
|
+
export declare const UDrawerHeader: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
20
|
+
/** 额外 CSS 类名 */
|
|
21
|
+
class: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
default: undefined;
|
|
24
|
+
};
|
|
25
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
26
|
+
[key: string]: any;
|
|
27
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
28
|
+
/** 额外 CSS 类名 */
|
|
29
|
+
class: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default: undefined;
|
|
32
|
+
};
|
|
33
|
+
}>> & Readonly<{}>, {
|
|
34
|
+
class: string;
|
|
35
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
36
|
+
export declare const UDrawerTitle: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
37
|
+
/** 额外 CSS 类名 */
|
|
38
|
+
class: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
default: undefined;
|
|
41
|
+
};
|
|
42
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
43
|
+
[key: string]: any;
|
|
44
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
45
|
+
/** 额外 CSS 类名 */
|
|
46
|
+
class: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
default: undefined;
|
|
49
|
+
};
|
|
50
|
+
}>> & Readonly<{}>, {
|
|
51
|
+
class: string;
|
|
52
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
53
|
+
export declare const UDrawerDescription: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
54
|
+
/** 额外 CSS 类名 */
|
|
55
|
+
class: {
|
|
56
|
+
type: StringConstructor;
|
|
57
|
+
default: undefined;
|
|
58
|
+
};
|
|
59
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
60
|
+
[key: string]: any;
|
|
61
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
62
|
+
/** 额外 CSS 类名 */
|
|
63
|
+
class: {
|
|
64
|
+
type: StringConstructor;
|
|
65
|
+
default: undefined;
|
|
66
|
+
};
|
|
67
|
+
}>> & Readonly<{}>, {
|
|
68
|
+
class: string;
|
|
69
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
70
|
+
export declare const UDrawerFooter: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
71
|
+
/** 额外 CSS 类名 */
|
|
72
|
+
class: {
|
|
73
|
+
type: StringConstructor;
|
|
74
|
+
default: undefined;
|
|
75
|
+
};
|
|
76
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
77
|
+
[key: string]: any;
|
|
78
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
79
|
+
/** 额外 CSS 类名 */
|
|
80
|
+
class: {
|
|
81
|
+
type: StringConstructor;
|
|
82
|
+
default: undefined;
|
|
83
|
+
};
|
|
84
|
+
}>> & Readonly<{}>, {
|
|
85
|
+
class: string;
|
|
86
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
87
|
+
export declare const UDrawerClose: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
88
|
+
/** 额外 CSS 类名 */
|
|
89
|
+
class: {
|
|
90
|
+
type: StringConstructor;
|
|
91
|
+
default: undefined;
|
|
92
|
+
};
|
|
93
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
94
|
+
[key: string]: any;
|
|
95
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
96
|
+
click: (_event: MouseEvent) => true;
|
|
97
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
98
|
+
/** 额外 CSS 类名 */
|
|
99
|
+
class: {
|
|
100
|
+
type: StringConstructor;
|
|
101
|
+
default: undefined;
|
|
102
|
+
};
|
|
103
|
+
}>> & Readonly<{
|
|
104
|
+
onClick?: ((_event: MouseEvent) => any) | undefined;
|
|
105
|
+
}>, {
|
|
106
|
+
class: string;
|
|
107
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
108
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
109
|
+
open?: boolean;
|
|
110
|
+
} & {
|
|
111
|
+
/** 抽屉滑出方向 */
|
|
112
|
+
side?: DrawerSide;
|
|
113
|
+
/** 根容器额外 CSS 类名 */
|
|
114
|
+
class?: string;
|
|
115
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
116
|
+
openChange: (open: boolean) => any;
|
|
117
|
+
"update:open": (value: boolean) => any;
|
|
118
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
119
|
+
open?: boolean;
|
|
120
|
+
} & {
|
|
121
|
+
/** 抽屉滑出方向 */
|
|
122
|
+
side?: DrawerSide;
|
|
123
|
+
/** 根容器额外 CSS 类名 */
|
|
124
|
+
class?: string;
|
|
125
|
+
}> & Readonly<{
|
|
126
|
+
onOpenChange?: ((open: boolean) => any) | undefined;
|
|
127
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
128
|
+
}>, {
|
|
129
|
+
class: string;
|
|
130
|
+
side: DrawerSide;
|
|
131
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
132
|
+
default?(_: {}): any;
|
|
133
|
+
}>;
|
|
134
|
+
export default _default;
|
|
135
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
136
|
+
new (): {
|
|
137
|
+
$slots: S;
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
//# sourceMappingURL=drawer.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"drawer.vue.d.ts","sourceRoot":"","sources":["../../src/components/drawer.vue"],"names":[],"mappings":"AA8PA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAA;AAmC1D,eAAO,MAAM,cAAc;IAGvB,gBAAgB;;;;;;;;IAAhB,gBAAgB;;;;;;;4EAsClB,CAAA;AAEF,eAAO,MAAM,aAAa;IAGtB,gBAAgB;;;;;;;;IAAhB,gBAAgB;;;;;;;4EAYlB,CAAA;AAEF,eAAO,MAAM,YAAY;IAGrB,gBAAgB;;;;;;;;IAAhB,gBAAgB;;;;;;;4EAYlB,CAAA;AAEF,eAAO,MAAM,kBAAkB;IAG3B,gBAAgB;;;;;;;;IAAhB,gBAAgB;;;;;;;4EAYlB,CAAA;AAEF,eAAO,MAAM,aAAa;IAGtB,gBAAgB;;;;;;;;IAAhB,gBAAgB;;;;;;;4EAYlB,CAAA;AAEF,eAAO,MAAM,YAAY;IAGrB,gBAAgB;;;;;;;;oBAOA,UAAU;;IAP1B,gBAAgB;;;;;;;;;4EA8BlB,CACD;;WA0EQ,OAAO;;IAnEd,aAAa;WACN,UAAU;IACjB,mBAAmB;YACX,MAAM;;;;;WAgEP,OAAO;;IAnEd,aAAa;WACN,UAAU;IACjB,mBAAmB;YACX,MAAM;;;;;WAAN,MAAM;UAFP,UAAU;;qBAkFU,GAAG;;AAzFhC,wBA6HK;AAaL,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
export declare const UDropdownTrigger: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
/** 额外 CSS 类名 */
|
|
3
|
+
class: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
default: undefined;
|
|
6
|
+
};
|
|
7
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
8
|
+
[key: string]: any;
|
|
9
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
|
+
click: (_event: MouseEvent) => true;
|
|
11
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
12
|
+
/** 额外 CSS 类名 */
|
|
13
|
+
class: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: undefined;
|
|
16
|
+
};
|
|
17
|
+
}>> & Readonly<{
|
|
18
|
+
onClick?: ((_event: MouseEvent) => any) | undefined;
|
|
19
|
+
}>, {
|
|
20
|
+
class: string;
|
|
21
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
22
|
+
export declare const UDropdownContent: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
23
|
+
/** 内容对齐方式 */
|
|
24
|
+
align: {
|
|
25
|
+
type: () => "start" | "end";
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
/** 额外 CSS 类名 */
|
|
29
|
+
class: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default: undefined;
|
|
32
|
+
};
|
|
33
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
34
|
+
[key: string]: any;
|
|
35
|
+
}> | null, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
36
|
+
/** 内容对齐方式 */
|
|
37
|
+
align: {
|
|
38
|
+
type: () => "start" | "end";
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
/** 额外 CSS 类名 */
|
|
42
|
+
class: {
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
default: undefined;
|
|
45
|
+
};
|
|
46
|
+
}>> & Readonly<{}>, {
|
|
47
|
+
class: string;
|
|
48
|
+
align: "end" | "start";
|
|
49
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
50
|
+
export declare const UDropdownItem: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
51
|
+
/** 是否为危险操作样式 */
|
|
52
|
+
destructive: {
|
|
53
|
+
type: BooleanConstructor;
|
|
54
|
+
default: boolean;
|
|
55
|
+
};
|
|
56
|
+
/** 是否禁用 */
|
|
57
|
+
disabled: {
|
|
58
|
+
type: BooleanConstructor;
|
|
59
|
+
default: boolean;
|
|
60
|
+
};
|
|
61
|
+
/** 额外 CSS 类名 */
|
|
62
|
+
class: {
|
|
63
|
+
type: StringConstructor;
|
|
64
|
+
default: undefined;
|
|
65
|
+
};
|
|
66
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
67
|
+
[key: string]: any;
|
|
68
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
69
|
+
click: (_event: MouseEvent) => true;
|
|
70
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
71
|
+
/** 是否为危险操作样式 */
|
|
72
|
+
destructive: {
|
|
73
|
+
type: BooleanConstructor;
|
|
74
|
+
default: boolean;
|
|
75
|
+
};
|
|
76
|
+
/** 是否禁用 */
|
|
77
|
+
disabled: {
|
|
78
|
+
type: BooleanConstructor;
|
|
79
|
+
default: boolean;
|
|
80
|
+
};
|
|
81
|
+
/** 额外 CSS 类名 */
|
|
82
|
+
class: {
|
|
83
|
+
type: StringConstructor;
|
|
84
|
+
default: undefined;
|
|
85
|
+
};
|
|
86
|
+
}>> & Readonly<{
|
|
87
|
+
onClick?: ((_event: MouseEvent) => any) | undefined;
|
|
88
|
+
}>, {
|
|
89
|
+
destructive: boolean;
|
|
90
|
+
disabled: boolean;
|
|
91
|
+
class: string;
|
|
92
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
93
|
+
export declare const UDropdownSeparator: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
94
|
+
/** 额外 CSS 类名 */
|
|
95
|
+
class: {
|
|
96
|
+
type: StringConstructor;
|
|
97
|
+
default: undefined;
|
|
98
|
+
};
|
|
99
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
100
|
+
[key: string]: any;
|
|
101
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
102
|
+
/** 额外 CSS 类名 */
|
|
103
|
+
class: {
|
|
104
|
+
type: StringConstructor;
|
|
105
|
+
default: undefined;
|
|
106
|
+
};
|
|
107
|
+
}>> & Readonly<{}>, {
|
|
108
|
+
class: string;
|
|
109
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
110
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
111
|
+
open?: boolean;
|
|
112
|
+
} & {
|
|
113
|
+
/** 根容器额外 CSS 类名 */
|
|
114
|
+
class?: string;
|
|
115
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
116
|
+
openChange: (open: boolean) => any;
|
|
117
|
+
"update:open": (value: boolean) => any;
|
|
118
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
119
|
+
open?: boolean;
|
|
120
|
+
} & {
|
|
121
|
+
/** 根容器额外 CSS 类名 */
|
|
122
|
+
class?: string;
|
|
123
|
+
}> & Readonly<{
|
|
124
|
+
onOpenChange?: ((open: boolean) => any) | undefined;
|
|
125
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
126
|
+
}>, {
|
|
127
|
+
class: string;
|
|
128
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>, {
|
|
129
|
+
default?(_: {}): any;
|
|
130
|
+
}>;
|
|
131
|
+
export default _default;
|
|
132
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
133
|
+
new (): {
|
|
134
|
+
$slots: S;
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
//# sourceMappingURL=dropdown.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dropdown.vue.d.ts","sourceRoot":"","sources":["../../src/components/dropdown.vue"],"names":[],"mappings":"AAKA;AAqSA,eAAO,MAAM,gBAAgB;IAGzB,gBAAgB;;;;;;;;oBAOA,UAAU;;IAP1B,gBAAgB;;;;;;;;;4EAiClB,CAAA;AAEF,eAAO,MAAM,gBAAgB;IAGzB,aAAa;;cAEK,MAAM,OAAO,GAAG,KAAK;;;IAGvC,gBAAgB;;;;;;;;IALhB,aAAa;;cAEK,MAAM,OAAO,GAAG,KAAK;;;IAGvC,gBAAgB;;;;;;;;4EA0ElB,CAAA;AAEF,eAAO,MAAM,aAAa;IAGtB,gBAAgB;;;;;IAKhB,WAAW;;;;;IAKX,gBAAgB;;;;;;;;oBAOA,UAAU;;IAjB1B,gBAAgB;;;;;IAKhB,WAAW;;;;;IAKX,gBAAgB;;;;;;;;;;;4EAkClB,CAAA;AAEF,eAAO,MAAM,kBAAkB;IAG3B,gBAAgB;;;;;;;;IAAhB,gBAAgB;;;;;;;4EAUlB,CACD;;WAkDQ,OAAO;;IA3Cd,mBAAmB;YACX,MAAM;;;;;WA0CP,OAAO;;IA3Cd,mBAAmB;YACX,MAAM;;;;;WAAN,MAAM;;qBA6Da,GAAG;;AApEhC,wBA0GK;AAaL,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|