fluekit 2.7.2 → 2.8.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/AlertDialog.d.ts +3 -3
- package/dist/Animated.d.ts +3 -0
- package/dist/AnimatedContainer.d.ts +2 -19
- package/dist/AnimatedOpacity.d.ts +28 -2
- package/dist/Box.d.ts +3 -3
- package/dist/BoxDecoration.d.ts +7 -7
- package/dist/ButtonStyle.d.ts +9 -3
- package/dist/Card.d.ts +4 -3
- package/dist/Clip.d.ts +2 -4
- package/dist/ClipOval.d.ts +3 -2
- package/dist/ClipRRect.d.ts +3 -2
- package/dist/Container.d.ts +4 -22
- package/dist/ContainerProps.d.ts +20 -0
- package/dist/Drawer.d.ts +1 -1
- package/dist/DropdownButton.d.ts +57 -0
- package/dist/FlexProps.d.ts +2 -0
- package/dist/FlueConfig.d.ts +1 -0
- package/dist/FlueConfigProvider.d.ts +2 -2
- package/dist/GridView.d.ts +2 -1
- package/dist/InputDecoration.d.ts +18 -4
- package/dist/Modal.d.ts +2 -2
- package/dist/Offset.d.ts +52 -0
- package/dist/PopupMenuButton.d.ts +5 -8
- package/dist/RangeSlider.d.ts +1 -1
- package/dist/ScrollView.d.ts +2 -1
- package/dist/Slider.d.ts +1 -1
- package/dist/Stack.d.ts +4 -3
- package/dist/Table.d.ts +3 -2
- package/dist/TextField.d.ts +5 -3
- package/dist/TextStyle.d.ts +6 -5
- package/dist/Upload.d.ts +1 -1
- package/dist/Wrap.d.ts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +2766 -2403
- package/dist/usePosition.d.ts +1 -0
- package/dist/utils.d.ts +5 -0
- package/package.json +1 -1
package/dist/Table.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { EdgeInsets } from './EdgeInsets';
|
|
|
3
3
|
import { BoxDecoration } from './BoxDecoration';
|
|
4
4
|
import { TextStyle } from './TextStyle';
|
|
5
5
|
import { Color } from './Color';
|
|
6
|
+
import { Clip } from './Clip';
|
|
6
7
|
export interface TableColumn {
|
|
7
8
|
title: string;
|
|
8
9
|
key: string;
|
|
@@ -32,7 +33,7 @@ interface Props {
|
|
|
32
33
|
headerCellStyle?: CSSProperties;
|
|
33
34
|
rowStyle?: CSSProperties;
|
|
34
35
|
cellStyle?: CSSProperties;
|
|
35
|
-
clipBehavior?:
|
|
36
|
+
clipBehavior?: Clip;
|
|
36
37
|
}
|
|
37
38
|
declare function __VLS_template(): {
|
|
38
39
|
attrs: Partial<{}>;
|
|
@@ -56,7 +57,7 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
56
57
|
}>, {
|
|
57
58
|
fixed: boolean;
|
|
58
59
|
border: boolean;
|
|
59
|
-
clipBehavior:
|
|
60
|
+
clipBehavior: Clip;
|
|
60
61
|
dataSource: any[];
|
|
61
62
|
stripe: boolean;
|
|
62
63
|
showHeader: boolean;
|
package/dist/TextField.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Color } from './Color';
|
|
2
2
|
import { InputDecoration } from './InputDecoration';
|
|
3
3
|
import { TextStyle } from './TextStyle';
|
|
4
|
-
interface
|
|
4
|
+
interface TextFieldProps {
|
|
5
5
|
modelValue?: string | number;
|
|
6
6
|
decoration?: InputDecoration;
|
|
7
7
|
enabled?: boolean;
|
|
@@ -20,6 +20,7 @@ interface Props {
|
|
|
20
20
|
textCapitalization?: "none" | "sentences" | "words" | "characters";
|
|
21
21
|
autocorrect?: boolean;
|
|
22
22
|
modelModifiers?: Record<string, boolean>;
|
|
23
|
+
autocomplete?: string;
|
|
23
24
|
}
|
|
24
25
|
declare function __VLS_template(): {
|
|
25
26
|
attrs: Partial<{}>;
|
|
@@ -37,12 +38,12 @@ declare function __VLS_template(): {
|
|
|
37
38
|
rootEl: any;
|
|
38
39
|
};
|
|
39
40
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
40
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
41
|
+
declare const __VLS_component: import('vue').DefineComponent<TextFieldProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
41
42
|
blur: (event: FocusEvent) => any;
|
|
42
43
|
focus: (event: FocusEvent) => any;
|
|
43
44
|
submit: (value: string) => any;
|
|
44
45
|
"update:modelValue": (value: string | number) => any;
|
|
45
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
46
|
+
}, string, import('vue').PublicProps, Readonly<TextFieldProps> & Readonly<{
|
|
46
47
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
47
48
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
48
49
|
onSubmit?: ((value: string) => any) | undefined;
|
|
@@ -57,6 +58,7 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
57
58
|
autoGrow: boolean;
|
|
58
59
|
autocorrect: boolean;
|
|
59
60
|
modelModifiers: Record<string, boolean>;
|
|
61
|
+
autocomplete: string;
|
|
60
62
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
61
63
|
prefixRef: HTMLDivElement;
|
|
62
64
|
inputRef: unknown;
|
package/dist/TextStyle.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CSSProperties } from 'vue';
|
|
2
|
+
import { PropsWithCopyWith } from './utils';
|
|
2
3
|
import { Color } from './Color';
|
|
3
4
|
/**
|
|
4
5
|
* 字体粗细枚举,对应 Flutter 的 FontWeight
|
|
@@ -119,13 +120,13 @@ export interface TextStyleProps {
|
|
|
119
120
|
overflow?: TextOverflow;
|
|
120
121
|
}
|
|
121
122
|
declare const TEXT_STYLE_SYMBOL: unique symbol;
|
|
122
|
-
export
|
|
123
|
+
export interface TextStyle extends PropsWithCopyWith<TextStyle>, TextStyleProps {
|
|
123
124
|
[TEXT_STYLE_SYMBOL]?: true;
|
|
124
|
-
}
|
|
125
|
-
export declare function
|
|
126
|
-
export
|
|
127
|
-
export declare function TextStyle(initial?: TextStyleProps, cloned?: TextStyleProps): TextStyle;
|
|
125
|
+
}
|
|
126
|
+
export declare function textStyleToStyle(props?: TextStyleProps): CSSProperties;
|
|
127
|
+
export declare function TextStyle(props: TextStyleProps): TextStyle;
|
|
128
128
|
/**
|
|
129
129
|
* 类型守卫:检查对象是否通过 TextStyle 构造函数创建
|
|
130
130
|
*/
|
|
131
131
|
export declare function isTextStyle(value: any): value is TextStyle;
|
|
132
|
+
export {};
|
package/dist/Upload.d.ts
CHANGED
|
@@ -43,9 +43,9 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
43
43
|
onExceed?: (() => any) | undefined;
|
|
44
44
|
"onUpdate:fileList"?: ((value: UploadFile[]) => any) | undefined;
|
|
45
45
|
}>, {
|
|
46
|
+
name: string;
|
|
46
47
|
multiple: boolean;
|
|
47
48
|
disabled: boolean;
|
|
48
|
-
name: string;
|
|
49
49
|
showFileList: boolean;
|
|
50
50
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
51
51
|
inputRef: HTMLInputElement;
|
package/dist/Wrap.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Clip } from './Clip';
|
|
1
2
|
interface Props {
|
|
2
3
|
direction?: "horizontal" | "vertical";
|
|
3
4
|
alignment?: "start" | "end" | "center" | "spaceBetween" | "spaceAround" | "spaceEvenly";
|
|
@@ -6,7 +7,7 @@ interface Props {
|
|
|
6
7
|
runSpacing?: number;
|
|
7
8
|
crossAxisAlignment?: "start" | "end" | "center";
|
|
8
9
|
verticalDirection?: "down" | "up";
|
|
9
|
-
clipBehavior?:
|
|
10
|
+
clipBehavior?: Clip;
|
|
10
11
|
}
|
|
11
12
|
declare function __VLS_template(): {
|
|
12
13
|
attrs: Partial<{}>;
|
|
@@ -19,7 +20,7 @@ declare function __VLS_template(): {
|
|
|
19
20
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
20
21
|
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
21
22
|
alignment: "start" | "end" | "center" | "spaceBetween" | "spaceAround" | "spaceEvenly";
|
|
22
|
-
clipBehavior:
|
|
23
|
+
clipBehavior: Clip;
|
|
23
24
|
direction: "horizontal" | "vertical";
|
|
24
25
|
crossAxisAlignment: "start" | "end" | "center";
|
|
25
26
|
spacing: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { default as BackdropFilter } from './BackdropFilter';
|
|
2
2
|
export { default as Align } from './Align';
|
|
3
3
|
export { default as AnimatedContainer } from './AnimatedContainer';
|
|
4
|
-
export {
|
|
4
|
+
export { AnimatedOpacity, Opacity } from './AnimatedOpacity.ts';
|
|
5
5
|
export { default as Box } from './Box';
|
|
6
6
|
export { default as Button } from './Button';
|
|
7
7
|
export { default as Card } from './Card';
|
|
@@ -19,7 +19,6 @@ export { default as Image } from './Image';
|
|
|
19
19
|
export { default as Icon } from './Icon';
|
|
20
20
|
export { default as ListView } from './ListView';
|
|
21
21
|
export { default as Modal } from './Modal';
|
|
22
|
-
export { default as Opacity } from './Opacity';
|
|
23
22
|
export { default as Padding } from './Padding';
|
|
24
23
|
export { default as Positioned } from './Positioned';
|
|
25
24
|
export { default as Row } from './Row';
|
|
@@ -32,6 +31,7 @@ export { default as Text } from './Text';
|
|
|
32
31
|
export { default as TextArea } from './TextArea';
|
|
33
32
|
export { default as LiquidGlassDialog, type LiquidGlassDialogAction, type LiquidGlassDialogProps, type LiquidGlassDialogActionPayload, type LiquidGlassDialogActionStyle, } from './LiquidGlassDialog';
|
|
34
33
|
export * from './showLiquidGlassDialog';
|
|
34
|
+
export { Offset } from './Offset.ts';
|
|
35
35
|
export { default as TextField } from './TextField';
|
|
36
36
|
export { Toast, toast, showToast, hideToast } from './Toast';
|
|
37
37
|
export type { ToastType, ToastOptions, ToastPosition } from './ToastComponent';
|
|
@@ -92,6 +92,7 @@ export { default as Table } from './Table';
|
|
|
92
92
|
export { default as Upload } from './Upload';
|
|
93
93
|
export * from './UploadTypes';
|
|
94
94
|
export { default as FlueConfigProvider } from './FlueConfigProvider';
|
|
95
|
+
export { default as DropdownButton } from './DropdownButton';
|
|
95
96
|
export { default as AnimationWidget } from './Animation';
|
|
96
97
|
export { StyleProvider } from './StyleProvider';
|
|
97
98
|
export * from './Animator';
|