@astryx-vue/core 0.2.6 → 0.3.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/THIRD_PARTY_NOTICES.md +9 -0
- package/dist/AlertDialog/index.js +1 -1
- package/dist/{AlertDialog-BBhl5P1X.js → AlertDialog-RAVA_cT1.js} +9 -3
- package/dist/AppShell/index.d.ts +1 -1
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-mrflO0Uy.js → AppShell-0wTvOo3H.js} +2 -2
- package/dist/Avatar/index.d.ts +1 -1
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/Banner/index.d.ts +1 -1
- package/dist/BottomSheet/index.d.ts +1 -1
- package/dist/BottomSheet/index.js +2 -2
- package/dist/{BottomSheet-DIVwbGr3.js → BottomSheet-JYMB_Ofl.js} +1 -1
- package/dist/{BottomSheet-eJ3FzTBD.js → BottomSheet-pt7m4CvC.js} +2 -0
- package/dist/Breadcrumbs/index.js +1 -1
- package/dist/{Breadcrumbs-DPVaziH4.js → Breadcrumbs-DIm4figq.js} +1 -1
- package/dist/Button/index.d.ts +1 -1
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Card/index.d.ts +1 -1
- package/dist/Card/index.js +1 -1
- package/dist/{Card-HAjZQg2s.js → Card-B-I24X9S.js} +2 -0
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-DAkOa7KK.js → Carousel-CA8zpD9v.js} +46 -29
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-DVoI6UOA.js → Chat-Bmna9EOA.js} +5 -0
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/ClickableCard/index.js +1 -1
- package/dist/{ClickableCard-Bhds4RRe.js → ClickableCard-DUsC-j03.js} +1 -1
- package/dist/Code/index.d.ts +1 -1
- package/dist/Code/index.js +1 -1
- package/dist/{CodeBlock-BUM3czCS.js → CodeBlock-D0BFubut.js} +4 -0
- package/dist/Collapsible/index.d.ts +1 -1
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-D6wYS30d.js → CommandPalette-YHsUNg3V.js} +4 -0
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-Bil81sfq.js → ComplexSelector-DWLdKPGI.js} +11 -4
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +1 -1
- package/dist/{ContextMenu-DdLJnxNN.js → ContextMenu-Bq9b3Ti5.js} +3 -1
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-u2XKccpK.js → DateInput-DT518j5E.js} +2 -2
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-u7LhH6up.js → DateRangeInput-Bqi5tlIA.js} +15 -9
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-DHp683jZ.js → DateTimeInput-A7m2O3bg.js} +2 -2
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Divider/index.d.ts +1 -1
- package/dist/DropdownMenu/index.js +2 -2
- package/dist/{DropdownMenu-SM_BEOgM.js → DropdownMenu-CoOQVlRp.js} +1 -1
- package/dist/{DropdownMenu-BEasdJ6R.js → DropdownMenu-DEb2dSSP.js} +3 -1
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/InputGroup/index.d.ts +1 -1
- package/dist/Layout/index.js +2 -2
- package/dist/{Layout-9X6eCUoY.js → Layout-C6RHllr-.js} +1 -1
- package/dist/{LayoutPanel-DeOh00p5.js → LayoutPanel-DXOsaeQb.js} +3 -0
- package/dist/Link/index.d.ts +2 -2
- package/dist/List/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-2CVyZDuB.js → Markdown-CvtN7HnF.js} +1 -1
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-C3dkrM98.js → MobileNavToggle-DxGz0xKA.js} +9 -3
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-D1WFGqGU.js → MoreMenu-Dlb7MLlW.js} +17 -10
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-BeV98x7X.js → MultiSelector-BtAUfQ3t.js} +3 -1
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-Cc4BrjQg.js → Pagination-DqwNQFRp.js} +1 -1
- package/dist/Popover/index.d.ts +1 -1
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-CtoBfVlD.js → Popover-DJf8POzL.js} +9 -3
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-DHoiObLn.js → PowerSearch-DvjiPqMZ.js} +10 -8
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/Radio/index.d.ts +1 -1
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/Resizable/index.d.ts +1 -1
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/ScrollableArea/index.js +1 -1
- package/dist/{ScrollableArea-CJiaALHm.js → ScrollableArea-D4dCJv9I.js} +13 -2
- package/dist/Scrollbars/index.d.ts +2 -0
- package/dist/Scrollbars/index.js +3 -0
- package/dist/Scrollbars-D_93hJYK.js +75 -0
- package/dist/SegmentedControl/index.d.ts +1 -1
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/SelectableCard/index.js +1 -1
- package/dist/{SelectableCard-Bj5s_tIN.js → SelectableCard-Cku4dRzc.js} +1 -1
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-DuVozKNq.js → Selector-DJ2BhUTV.js} +3 -1
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-Dtv8eA2j.js → SideNav-BF8mYDxl.js} +14 -5
- package/dist/Stack/index.js +2 -2
- package/dist/{Stack-CjQEavuq.js → Stack-CTsTFfar.js} +10 -3
- package/dist/{Stack-D_Bhs-3r.js → Stack-kQlYbbL4.js} +8 -2
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/TabList/index.d.ts +1 -1
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-hqZMmzfU.js → Table-fecqnm7P.js} +11 -6
- package/dist/Text/index.d.ts +2 -2
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/{TimeField-ByiJKBRM.js → TimeField-CoHDGmsP.js} +2 -0
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-S8n946tp.js → TimeInput-D2k3Ux3p.js} +1 -1
- package/dist/Timer/index.d.ts +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-41p035dX.js → Tokenizer-B5C_qY7t.js} +2 -0
- package/dist/Toolbar/index.d.ts +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-CeSeEMX3.js → TopNav-Ciq0l1w7.js} +1 -1
- package/dist/Typeahead/index.js +1 -1
- package/dist/{Typeahead-k3xhFxkr.js → Typeahead-JP9RT87x.js} +2 -0
- package/dist/{index-CQCTKjIO.d.ts → index-0QGtSf3r.d.ts} +2 -2
- package/dist/{index-CsTbMVDS.d.ts → index-B3Fomy15.d.ts} +1 -1
- package/dist/{index-DQmK3Lq_.d.ts → index-B42oE_F-.d.ts} +1 -1
- package/dist/{index-EFqQF2Bx.d.ts → index-B4OOtNP8.d.ts} +2 -2
- package/dist/{index-CY-KvZ9B.d.ts → index-B9e52paP.d.ts} +1 -1
- package/dist/{index-BXk7Wng7.d.ts → index-BULhhnGf.d.ts} +1 -1
- package/dist/{index-BNy3SW4S.d.ts → index-BVKivP59.d.ts} +1 -1
- package/dist/{index-BJMJ09K-.d.ts → index-BkjSF265.d.ts} +2 -2
- package/dist/{index-HV6W3xCx.d.ts → index-Byar3h1e.d.ts} +1 -1
- package/dist/{index-DamRHh1i.d.ts → index-C2nbK2AA.d.ts} +2 -2
- package/dist/{index-DdGck82Y.d.ts → index-CICeEoZV.d.ts} +1 -1
- package/dist/{index-DYp2RWkM.d.ts → index-CL1T2j4y.d.ts} +2 -2
- package/dist/{index-YKCx03zD.d.ts → index-COgrQZIL.d.ts} +2 -2
- package/dist/{index-Ca8VIE4l.d.ts → index-CVn0GBdB.d.ts} +1 -1
- package/dist/{index-uKnRGtzi.d.ts → index-CqE4Bf3Q.d.ts} +2 -2
- package/dist/{index-BPYzIIYn.d.ts → index-Crp3NFLW.d.ts} +1 -1
- package/dist/{index-jW-mP58D.d.ts → index-D41_xqjs.d.ts} +4 -4
- package/dist/{index-DUnDGFQE.d.ts → index-DNA2l1RN.d.ts} +1 -1
- package/dist/{index-CdtZjkmG.d.ts → index-DUaLJO7l.d.ts} +61 -53
- package/dist/{index-WnUY4Kxu.d.ts → index-DVmgNb78.d.ts} +2 -2
- package/dist/{index-BUEPz7BL.d.ts → index-GI9xIV9l.d.ts} +3 -3
- package/dist/{index-BJSxFVXH.d.ts → index-IBAInumL.d.ts} +2 -2
- package/dist/{index-B1eCxBCY.d.ts → index-TXcNH86P.d.ts} +1 -1
- package/dist/index-fAZaRruV.d.ts +125 -0
- package/dist/{index-COxy6LEW.d.ts → index-gW0HW02U.d.ts} +1 -1
- package/dist/{index-D5N9ikrS.d.ts → index-hCpxKePE.d.ts} +1 -1
- package/dist/{index-csA1lH_0.d.ts → index-xrzJC4wm.d.ts} +1 -1
- package/dist/{index-N7OVZ38M.d.ts → index-yT1yiiww.d.ts} +5 -5
- package/dist/index.d.ts +46 -45
- package/dist/index.js +66 -64
- package/dist/{types-H4Bbbxiw.d.ts → types-BnNTzEnd.d.ts} +1 -1
- package/dist/{types-BBWrcHMD.d.ts → types-Ckih2YJi.d.ts} +3 -2
- package/dist/useScrollbars-C2NJ6Qwq.js +43 -0
- package/package.json +7 -2
- package/styles/scrollbars.css +28 -0
|
@@ -32,10 +32,10 @@ declare const __VLS_base$2: import("vue").DefineComponent<ItemProps, {
|
|
|
32
32
|
focus: typeof focus;
|
|
33
33
|
blur: typeof blur;
|
|
34
34
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ItemProps> & Readonly<{}>, {
|
|
35
|
-
isSelected: boolean;
|
|
36
35
|
isDisabled: boolean;
|
|
37
|
-
density: ListDensity;
|
|
38
36
|
as: ItemElement;
|
|
37
|
+
density: ListDensity;
|
|
38
|
+
isSelected: boolean;
|
|
39
39
|
align: ItemAlign;
|
|
40
40
|
layout: ItemLayout;
|
|
41
41
|
isHighlighted: boolean;
|
|
@@ -53,8 +53,8 @@ type __VLS_Slots$1 = ListSlots;
|
|
|
53
53
|
declare const __VLS_base$1: import("vue").DefineComponent<ListProps, {
|
|
54
54
|
element: import("vue").ComputedRef<HTMLUListElement | HTMLOListElement | null>;
|
|
55
55
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ListProps> & Readonly<{}>, {
|
|
56
|
-
density: ListDensity;
|
|
57
56
|
start: number;
|
|
57
|
+
density: ListDensity;
|
|
58
58
|
hasDividers: boolean;
|
|
59
59
|
listStyle: ListMarkerStyle;
|
|
60
60
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -594,7 +594,7 @@ declare const _default$14: typeof __VLS_export$14;
|
|
|
594
594
|
//#endregion
|
|
595
595
|
//#region src/Chat/ChatDictationButton.vue.d.ts
|
|
596
596
|
declare const __VLS_export$13: import("vue").DefineComponent<ChatDictationButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ChatDictationButtonProps> & Readonly<{}>, {
|
|
597
|
-
size: "
|
|
597
|
+
size: "md" | "sm";
|
|
598
598
|
isHiddenWhenUnsupported: boolean;
|
|
599
599
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
600
600
|
declare const _default$13: typeof __VLS_export$13;
|
|
@@ -717,7 +717,7 @@ declare const __VLS_base$3: import("vue").DefineComponent<ChatSendButtonProps, {
|
|
|
717
717
|
onStop?: (() => any) | undefined;
|
|
718
718
|
onSend?: (() => any) | undefined;
|
|
719
719
|
}>, {
|
|
720
|
-
size: "
|
|
720
|
+
size: "md" | "sm";
|
|
721
721
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
722
722
|
declare const __VLS_export$5: __VLS_WithSlots$3<typeof __VLS_base$3, __VLS_Slots$3>;
|
|
723
723
|
declare const _default$5: typeof __VLS_export$5;
|
|
@@ -52,8 +52,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
52
52
|
"onUpdate:mobileNavOpen"?: ((value: boolean) => any) | undefined;
|
|
53
53
|
onMobileNavOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
54
54
|
}>, {
|
|
55
|
-
height: AppShellHeight;
|
|
56
55
|
variant: AppShellVariant;
|
|
56
|
+
height: AppShellHeight;
|
|
57
57
|
mobileNav: false | AppShellMobileNav;
|
|
58
58
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
59
59
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { InjectionKey, MaybeRefOrGetter, Ref } from "vue";
|
|
2
|
+
import { PartialOptions, ScrollbarsAutoHideBehavior } from "overlayscrollbars";
|
|
3
|
+
//#region src/Scrollbars/types.d.ts
|
|
4
|
+
/** 滚动条自动隐藏的时机:`never` 一直显示,`scroll` 滚动时显示,`leave` 指针离开后隐藏,`move` 指针移动时显示。 */
|
|
5
|
+
type ScrollbarsAutoHide = ScrollbarsAutoHideBehavior;
|
|
6
|
+
/** 透传给 OverlayScrollbars 的选项。 */
|
|
7
|
+
type ScrollbarsOptions = PartialOptions;
|
|
8
|
+
interface ScrollbarsProviderProps {
|
|
9
|
+
/**
|
|
10
|
+
* 子树里是否使用自绘滚动条。设为 `false` 时子树不初始化,已经挂上的会被销毁。
|
|
11
|
+
* 嵌套时内层的 provider 覆盖外层。
|
|
12
|
+
* @default true
|
|
13
|
+
*/
|
|
14
|
+
enabled?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* 滚动条自动隐藏的时机。
|
|
17
|
+
* @default 'scroll'
|
|
18
|
+
*/
|
|
19
|
+
autoHide?: ScrollbarsAutoHide;
|
|
20
|
+
/**
|
|
21
|
+
* 自动隐藏前等待的毫秒数。
|
|
22
|
+
* @default 800
|
|
23
|
+
*/
|
|
24
|
+
autoHideDelay?: number;
|
|
25
|
+
/**
|
|
26
|
+
* 透传给 OverlayScrollbars 的选项。最后合并,优先级最高。
|
|
27
|
+
*/
|
|
28
|
+
options?: ScrollbarsOptions;
|
|
29
|
+
}
|
|
30
|
+
interface ScrollbarsProviderSlots {
|
|
31
|
+
/** 使用自绘滚动条的子树。 */
|
|
32
|
+
default?: () => unknown;
|
|
33
|
+
}
|
|
34
|
+
interface UseScrollbarsOptions {
|
|
35
|
+
/**
|
|
36
|
+
* 这个滚动容器自己要不要使用自绘滚动条。外层 provider 关闭时,这里设为 `true` 也不会生效。
|
|
37
|
+
* @default true
|
|
38
|
+
*/
|
|
39
|
+
enabled?: MaybeRefOrGetter<boolean>;
|
|
40
|
+
}
|
|
41
|
+
interface UseScrollbarsResult {
|
|
42
|
+
/** 当前元素上是否已经挂上自绘滚动条。 */
|
|
43
|
+
active: Readonly<Ref<boolean>>;
|
|
44
|
+
}
|
|
45
|
+
/** `mount` 返回的句柄,用来更新选项或销毁滚动条。 */
|
|
46
|
+
interface ScrollbarsHandle {
|
|
47
|
+
/** 用新的选项整体替换当前选项。 */
|
|
48
|
+
update: (options: ScrollbarsOptions) => void;
|
|
49
|
+
/** 销毁滚动条,还原元素。 */
|
|
50
|
+
destroy: () => void;
|
|
51
|
+
}
|
|
52
|
+
/** `ScrollbarsProvider` 向子树提供的内容。 */
|
|
53
|
+
interface ScrollbarsContext {
|
|
54
|
+
/** 子树是否开启自绘滚动条。 */
|
|
55
|
+
enabled: Readonly<Ref<boolean>>;
|
|
56
|
+
/** 合并后的最终选项。 */
|
|
57
|
+
options: Readonly<Ref<ScrollbarsOptions>>;
|
|
58
|
+
/** 在滚动容器上挂自绘滚动条。容器本身就是视口,不会搬动子节点。 */
|
|
59
|
+
mount: (element: HTMLElement, options: ScrollbarsOptions) => ScrollbarsHandle;
|
|
60
|
+
}
|
|
61
|
+
//#endregion
|
|
62
|
+
//#region src/Scrollbars/context.d.ts
|
|
63
|
+
/**
|
|
64
|
+
* 最近的 `ScrollbarsProvider` 提供的内容。
|
|
65
|
+
*
|
|
66
|
+
* 这个文件只能用 `import type` 引 overlayscrollbars。
|
|
67
|
+
* 所有滚动组件都会引它,没有套 provider 的用户不应该因此把 overlayscrollbars 打进包。
|
|
68
|
+
*/
|
|
69
|
+
declare const scrollbarsKey: InjectionKey<ScrollbarsContext>;
|
|
70
|
+
//#endregion
|
|
71
|
+
//#region src/Scrollbars/ScrollbarsProvider.vue.d.ts
|
|
72
|
+
type __VLS_Slots = ScrollbarsProviderSlots;
|
|
73
|
+
declare const __VLS_base: import("vue").DefineComponent<ScrollbarsProviderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ScrollbarsProviderProps> & Readonly<{}>, {
|
|
74
|
+
options: {
|
|
75
|
+
paddingAbsolute?: boolean | undefined;
|
|
76
|
+
showNativeOverlaidScrollbars?: boolean | undefined;
|
|
77
|
+
update?: {
|
|
78
|
+
elementEvents?: [elementSelector: string, eventNames: string][] | null | undefined;
|
|
79
|
+
debounce?: {
|
|
80
|
+
mutation: import("overlayscrollbars").OptionsDebounceValue;
|
|
81
|
+
resize: import("overlayscrollbars").OptionsDebounceValue;
|
|
82
|
+
event: import("overlayscrollbars").OptionsDebounceValue;
|
|
83
|
+
env: import("overlayscrollbars").OptionsDebounceValue;
|
|
84
|
+
} | import("overlayscrollbars").OptionsDebounceValue | undefined;
|
|
85
|
+
attributes?: string[] | null | undefined;
|
|
86
|
+
ignoreMutation?: ((mutation: MutationRecord) => boolean | null | undefined | void) | null | undefined;
|
|
87
|
+
flowDirectionStyles?: ((viewport: HTMLElement) => Record<string, unknown> | false | null | undefined | void) | null | undefined;
|
|
88
|
+
} | undefined;
|
|
89
|
+
overflow?: {
|
|
90
|
+
x?: import("overlayscrollbars").OverflowBehavior | undefined;
|
|
91
|
+
y?: import("overlayscrollbars").OverflowBehavior | undefined;
|
|
92
|
+
} | undefined;
|
|
93
|
+
scrollbars?: {
|
|
94
|
+
theme?: string | null | undefined;
|
|
95
|
+
visibility?: import("overlayscrollbars").ScrollbarsVisibilityBehavior | undefined;
|
|
96
|
+
autoHide?: import("overlayscrollbars").ScrollbarsAutoHideBehavior | undefined;
|
|
97
|
+
autoHideDelay?: number | undefined;
|
|
98
|
+
autoHideSuspend?: boolean | undefined;
|
|
99
|
+
dragScroll?: boolean | undefined;
|
|
100
|
+
clickScroll?: import("overlayscrollbars").ScrollbarsClickScrollBehavior | undefined;
|
|
101
|
+
pointers?: string[] | null | undefined;
|
|
102
|
+
} | undefined;
|
|
103
|
+
};
|
|
104
|
+
enabled: boolean;
|
|
105
|
+
autoHide: import("overlayscrollbars").ScrollbarsAutoHideBehavior;
|
|
106
|
+
autoHideDelay: number;
|
|
107
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
108
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
109
|
+
declare const _default: typeof __VLS_export;
|
|
110
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
111
|
+
new (): {
|
|
112
|
+
$slots: S;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
//#endregion
|
|
116
|
+
//#region src/Scrollbars/useScrollbars.d.ts
|
|
117
|
+
/**
|
|
118
|
+
* 给一个滚动容器挂上自绘滚动条。
|
|
119
|
+
*
|
|
120
|
+
* 外层没有 `ScrollbarsProvider` 时,或者在服务端渲染时,什么都不做,也不建任何 watcher。
|
|
121
|
+
* 容器本身就是视口,所以容器的 overflow 怎么变,滚动条就怎么跟。
|
|
122
|
+
*/
|
|
123
|
+
declare function useScrollbars(target: MaybeRefOrGetter<HTMLElement | null | undefined>, options?: UseScrollbarsOptions): UseScrollbarsResult;
|
|
124
|
+
//#endregion
|
|
125
|
+
export { ScrollbarsContext as a, ScrollbarsProviderProps as c, UseScrollbarsResult as d, ScrollbarsAutoHide as i, ScrollbarsProviderSlots as l, _default as n, ScrollbarsHandle as o, scrollbarsKey as r, ScrollbarsOptions as s, useScrollbars as t, UseScrollbarsOptions as u };
|
|
@@ -125,8 +125,8 @@ declare const __VLS_base$1: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
125
125
|
onChange?: ((value: string) => any) | undefined;
|
|
126
126
|
"onUpdate:modelValue"?: ((...args: unknown[]) => any) | undefined;
|
|
127
127
|
}>, {
|
|
128
|
-
isDisabled: boolean;
|
|
129
128
|
size: SegmentedControlSize;
|
|
129
|
+
isDisabled: boolean;
|
|
130
130
|
layout: SegmentedControlLayout;
|
|
131
131
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
132
132
|
declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
@@ -209,8 +209,8 @@ declare const __VLS_export$1: import("vue").DefineComponent<CodeBlockProps, {
|
|
|
209
209
|
}, string, import("vue").PublicProps, Readonly<CodeBlockProps> & Readonly<{
|
|
210
210
|
onCopy?: (() => any) | undefined;
|
|
211
211
|
}>, {
|
|
212
|
-
width: string;
|
|
213
212
|
size: CodeBlockSize;
|
|
213
|
+
width: string;
|
|
214
214
|
container: CodeBlockContainer;
|
|
215
215
|
language: string;
|
|
216
216
|
hasLanguageLabel: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as TextType, l as TextWeight, n as TextColor, o as TextSize } from "./types-
|
|
1
|
+
import { c as TextType, l as TextWeight, n as TextColor, o as TextSize } from "./types-Ckih2YJi.js";
|
|
2
2
|
//#region src/Timer/format.d.ts
|
|
3
3
|
type TimerFormat = 'elapsed' | 'clock';
|
|
4
4
|
interface TimerPresentation {
|
|
@@ -148,20 +148,20 @@ declare const __VLS_base: import("vue").DefineComponent<SelectorProps, {}, {}, {
|
|
|
148
148
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
149
149
|
"onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
|
|
150
150
|
}>, {
|
|
151
|
-
variant: SelectorVariant;
|
|
152
|
-
indicatorPosition: SelectorIndicatorPosition;
|
|
153
|
-
status: SelectorStatusInput;
|
|
154
|
-
isOptional: boolean;
|
|
155
151
|
size: SelectorSize;
|
|
156
152
|
isLoading: boolean;
|
|
153
|
+
variant: SelectorVariant;
|
|
157
154
|
modelValue: string | number | null;
|
|
158
155
|
isLabelHidden: boolean;
|
|
156
|
+
isOptional: boolean;
|
|
159
157
|
isRequired: boolean;
|
|
158
|
+
status: SelectorStatusInput;
|
|
160
159
|
statusVariant: SelectorStatusVariant;
|
|
160
|
+
indicatorPosition: SelectorIndicatorPosition;
|
|
161
161
|
disabled: boolean;
|
|
162
162
|
clearable: boolean;
|
|
163
|
-
presentation: SelectorPresentation;
|
|
164
163
|
isReadOnly: boolean;
|
|
164
|
+
presentation: SelectorPresentation;
|
|
165
165
|
searchable: boolean;
|
|
166
166
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
167
167
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|