@solar-taro/ui-sun 1.6.5 → 2.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/CHANGELOG.md +31 -0
- package/accordion/index.vue.d.ts +22 -16
- package/chip/index.vue.d.ts +15 -36
- package/circular-progress/index.vue.d.ts +4 -30
- package/fab/fab-group.vue.d.ts +9 -3
- package/fab/fab.vue.d.ts +9 -3
- package/fab/index.scss +11 -3
- package/icon/index.scss +4 -3
- package/icon/index.vue.d.ts +3 -22
- package/index.d.ts +3 -0
- package/index.js +32 -26
- package/index10.js +24 -33
- package/index11.js +33 -75
- package/index12.js +75 -19
- package/index13.js +19 -49
- package/index14.js +46 -141
- package/index15.js +142 -27
- package/index16.js +29 -21
- package/index17.js +18 -21
- package/index18.js +42 -11
- package/index19.js +21 -26
- package/index20.js +11 -118
- package/index21.js +33 -10
- package/index22.js +123 -10
- package/index23.js +12 -8
- package/index24.js +10 -2
- package/index25.js +10 -2
- package/index26.js +10 -2
- package/index28.js +1 -1
- package/index29.js +1 -1
- package/index31.js +1 -1
- package/index32.js +1 -1
- package/index33.js +1 -1
- package/index34.js +1 -1
- package/index35.js +1 -1
- package/index36.js +1 -1
- package/index38.js +1 -1
- package/index39.js +1 -1
- package/index40.js +1 -1
- package/index41.js +1 -1
- package/index42.js +1 -1
- package/index43.js +2 -526
- package/index44.js +2 -3
- package/index45.js +2 -66
- package/index46.js +2 -12
- package/index47.js +2 -25
- package/index48.js +526 -14
- package/index49.js +3 -5
- package/index50.js +66 -26
- package/index51.js +12 -2
- package/index52.js +25 -506
- package/index53.js +14 -79
- package/index54.js +4 -69
- package/index55.js +24 -67
- package/index56.js +2 -543
- package/index57.js +506 -2
- package/index58.js +79 -2
- package/index59.js +70 -2
- package/index60.js +68 -3
- package/index61.js +543 -2
- package/index62.js +2 -4
- package/index64.js +2 -2
- package/index65.js +4 -2
- package/index66.js +2 -48
- package/index67.js +4 -82
- package/index69.js +2 -2
- package/index7.js +7 -9
- package/index70.js +2 -2
- package/index71.js +48 -2
- package/index72.js +84 -0
- package/index73.js +4 -0
- package/index74.js +4 -0
- package/index75.js +4 -0
- package/index76.js +4 -0
- package/index8.js +29 -17
- package/index9.js +19 -25
- package/item/index.d.ts +1 -0
- package/item/index.scss +40 -0
- package/item/index.vue.d.ts +26 -0
- package/lazy-render/index.vue.d.ts +13 -29
- package/list-header/index.scss +1 -1
- package/list-header/index.vue.d.ts +9 -3
- package/navbar/index.vue.d.ts +10 -4
- package/package.json +2 -2
- package/page-header/index.d.ts +1 -0
- package/page-header/index.scss +5 -0
- package/page-header/index.vue.d.ts +17 -0
- package/plugin.d.ts +0 -1
- package/popover/index.scss +1 -0
- package/popover/index.vue.d.ts +24 -41
- package/qrcode/index.vue.d.ts +6 -31
- package/segment/injection.d.ts +0 -1
- package/segment/segment-btn.vue.d.ts +12 -16
- package/segment/segment.vue.d.ts +16 -20
- package/slider-captcha/index.vue.d.ts +7 -36
- package/spinner/index.scss +1 -0
- package/spinner/index.vue.d.ts +14 -33
- package/sudoku/sudoku-item.vue.d.ts +9 -3
- package/sudoku/sudoku.vue.d.ts +9 -3
- package/tabbar/index.d.ts +1 -0
- package/tabbar/index.scss +74 -0
- package/tabbar/index.vue.d.ts +38 -0
- package/table/_table.scss +1 -1
- package/table/table-cell.vue.d.ts +13 -24
- package/table/table-row.vue.d.ts +12 -17
- package/table/table.vue.d.ts +17 -43
- package/virtual-scroll/index.vue.d.ts +35 -74
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {};
|
|
7
|
+
rootEl: SVGViewElement;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, SVGViewElement>;
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
package/plugin.d.ts
CHANGED
package/popover/index.scss
CHANGED
package/popover/index.vue.d.ts
CHANGED
|
@@ -1,51 +1,34 @@
|
|
|
1
1
|
type PlacementX = 'left' | 'right' | 'start' | 'end' | 'center';
|
|
2
2
|
type PlacementY = 'top' | 'bottom' | 'start' | 'end' | 'center';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
placement: [PlacementX, PlacementY];
|
|
5
|
+
offset?: string;
|
|
6
|
+
background?: string;
|
|
7
|
+
color?: string;
|
|
6
8
|
};
|
|
7
|
-
|
|
8
|
-
show
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
required: true;
|
|
16
|
-
};
|
|
17
|
-
offset: {
|
|
18
|
-
type: import('vue').PropType<string>;
|
|
19
|
-
default: string;
|
|
20
|
-
};
|
|
21
|
-
background: {
|
|
22
|
-
type: import('vue').PropType<string>;
|
|
23
|
-
default: string;
|
|
24
|
-
};
|
|
25
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
26
|
-
show: import('vue').PropType<boolean>;
|
|
27
|
-
color: {
|
|
28
|
-
type: import('vue').PropType<string>;
|
|
29
|
-
default: string;
|
|
30
|
-
};
|
|
31
|
-
placement: {
|
|
32
|
-
type: import('vue').PropType<[PlacementX, PlacementY]>;
|
|
33
|
-
required: true;
|
|
34
|
-
};
|
|
35
|
-
offset: {
|
|
36
|
-
type: import('vue').PropType<string>;
|
|
37
|
-
default: string;
|
|
38
|
-
};
|
|
39
|
-
background: {
|
|
40
|
-
type: import('vue').PropType<string>;
|
|
41
|
-
default: string;
|
|
9
|
+
type __VLS_PublicProps = {
|
|
10
|
+
'show'?: boolean;
|
|
11
|
+
} & __VLS_Props;
|
|
12
|
+
declare function __VLS_template(): {
|
|
13
|
+
attrs: Partial<{}>;
|
|
14
|
+
slots: {
|
|
15
|
+
default?(_: {}): any;
|
|
16
|
+
content?(_: {}): any;
|
|
42
17
|
};
|
|
43
|
-
|
|
18
|
+
refs: {};
|
|
19
|
+
rootEl: SVGViewElement;
|
|
20
|
+
};
|
|
21
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
22
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
23
|
+
"update:show": (value: boolean) => any;
|
|
24
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
25
|
+
"onUpdate:show"?: ((value: boolean) => any) | undefined;
|
|
26
|
+
}>, {
|
|
44
27
|
color: string;
|
|
45
28
|
offset: string;
|
|
46
29
|
background: string;
|
|
47
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
48
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
30
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, SVGViewElement>;
|
|
31
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
49
32
|
export default _default;
|
|
50
33
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
51
34
|
new (): {
|
package/qrcode/index.vue.d.ts
CHANGED
|
@@ -1,47 +1,22 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
2
|
value: string;
|
|
3
3
|
color?: string;
|
|
4
4
|
backgroundColor?: string;
|
|
5
5
|
level?: "M" | "H" | "L" | "Q";
|
|
6
|
-
}
|
|
7
|
-
color: string;
|
|
8
|
-
backgroundColor: string;
|
|
9
|
-
level: string;
|
|
10
|
-
}>>, {
|
|
6
|
+
}, {
|
|
11
7
|
getDataURL: () => string;
|
|
12
8
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
-
rendered: () =>
|
|
14
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
9
|
+
rendered: () => any;
|
|
10
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
15
11
|
value: string;
|
|
16
12
|
color?: string;
|
|
17
13
|
backgroundColor?: string;
|
|
18
14
|
level?: "M" | "H" | "L" | "Q";
|
|
19
|
-
}
|
|
20
|
-
color: string;
|
|
21
|
-
backgroundColor: string;
|
|
22
|
-
level: string;
|
|
23
|
-
}>>> & Readonly<{
|
|
15
|
+
}> & Readonly<{
|
|
24
16
|
onRendered?: (() => any) | undefined;
|
|
25
17
|
}>, {
|
|
26
18
|
color: string;
|
|
27
19
|
backgroundColor: string;
|
|
28
20
|
level: "M" | "H" | "L" | "Q";
|
|
29
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
21
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, SVGViewElement>;
|
|
30
22
|
export default _default;
|
|
31
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
32
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
33
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
34
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
35
|
-
} : {
|
|
36
|
-
type: import('vue').PropType<T[K]>;
|
|
37
|
-
required: true;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
type __VLS_WithDefaults<P, D> = {
|
|
41
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
42
|
-
default: D[K];
|
|
43
|
-
}> : P[K];
|
|
44
|
-
};
|
|
45
|
-
type __VLS_Prettify<T> = {
|
|
46
|
-
[K in keyof T]: T[K];
|
|
47
|
-
} & {};
|
package/segment/injection.d.ts
CHANGED
|
@@ -1,22 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
default?(_: {}): any;
|
|
3
|
-
};
|
|
4
|
-
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
1
|
+
type __VLS_Props = {
|
|
5
2
|
value: unknown;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
13
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
|
-
} : {
|
|
16
|
-
type: import('vue').PropType<T[K]>;
|
|
17
|
-
required: true;
|
|
3
|
+
};
|
|
4
|
+
declare function __VLS_template(): {
|
|
5
|
+
attrs: Partial<{}>;
|
|
6
|
+
slots: {
|
|
7
|
+
default?(_: {}): any;
|
|
18
8
|
};
|
|
9
|
+
refs: {};
|
|
10
|
+
rootEl: SVGViewElement;
|
|
19
11
|
};
|
|
12
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, SVGViewElement>;
|
|
14
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
15
|
+
export default _default;
|
|
20
16
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
21
17
|
new (): {
|
|
22
18
|
$slots: S;
|
package/segment/segment.vue.d.ts
CHANGED
|
@@ -1,34 +1,30 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
modelValue: unknown;
|
|
3
|
+
};
|
|
1
4
|
declare function __VLS_template(): {
|
|
2
|
-
|
|
5
|
+
attrs: Partial<{}>;
|
|
6
|
+
slots: {
|
|
7
|
+
default?(_: {}): any;
|
|
8
|
+
};
|
|
9
|
+
refs: {};
|
|
10
|
+
rootEl: SVGViewElement;
|
|
3
11
|
};
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
-
"update:modelValue": (v: unknown) => void;
|
|
12
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
8
14
|
change: (v: {
|
|
9
15
|
value: unknown;
|
|
10
16
|
index: number;
|
|
11
|
-
}) =>
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}>>> & Readonly<{
|
|
17
|
+
}) => any;
|
|
18
|
+
"update:modelValue": (v: unknown) => any;
|
|
19
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
20
|
onChange?: ((v: {
|
|
16
21
|
value: unknown;
|
|
17
22
|
index: number;
|
|
18
23
|
}) => any) | undefined;
|
|
19
24
|
"onUpdate:modelValue"?: ((v: unknown) => any) | undefined;
|
|
20
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
21
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
25
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, SVGViewElement>;
|
|
26
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
22
27
|
export default _default;
|
|
23
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
24
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
25
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
26
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
27
|
-
} : {
|
|
28
|
-
type: import('vue').PropType<T[K]>;
|
|
29
|
-
required: true;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
28
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
33
29
|
new (): {
|
|
34
30
|
$slots: S;
|
|
@@ -1,47 +1,18 @@
|
|
|
1
|
-
import { Result } from '@solar-kit/planets/sun';
|
|
2
1
|
import { Captcha } from '@solar-kit/planets/mercury';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
height?: number;
|
|
6
|
-
width?: number;
|
|
7
|
-
url: string;
|
|
8
|
-
verifyUrl: string;
|
|
9
|
-
verifyData?: Record<string, any>;
|
|
10
|
-
}>, {
|
|
11
|
-
height: number;
|
|
12
|
-
width: number;
|
|
13
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
|
-
verified: (args_0: Result<Captcha>) => void;
|
|
15
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
import { Result } from '@solar-kit/planets/sun';
|
|
3
|
+
type __VLS_Props = {
|
|
16
4
|
height?: number;
|
|
17
5
|
width?: number;
|
|
18
6
|
url: string;
|
|
19
7
|
verifyUrl: string;
|
|
20
8
|
verifyData?: Record<string, any>;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
9
|
+
};
|
|
10
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
+
verified: (args_0: Result<Captcha>) => any;
|
|
12
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
25
13
|
onVerified?: ((args_0: Result<Captcha>) => any) | undefined;
|
|
26
14
|
}>, {
|
|
27
15
|
height: number;
|
|
28
16
|
width: number;
|
|
29
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
17
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, SVGViewElement>;
|
|
30
18
|
export default _default;
|
|
31
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
32
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
33
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
34
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
35
|
-
} : {
|
|
36
|
-
type: import('vue').PropType<T[K]>;
|
|
37
|
-
required: true;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
type __VLS_WithDefaults<P, D> = {
|
|
41
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
42
|
-
default: D[K];
|
|
43
|
-
}> : P[K];
|
|
44
|
-
};
|
|
45
|
-
type __VLS_Prettify<T> = {
|
|
46
|
-
[K in keyof T]: T[K];
|
|
47
|
-
} & {};
|
package/spinner/index.scss
CHANGED
package/spinner/index.vue.d.ts
CHANGED
|
@@ -1,41 +1,22 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
size?: 'small' | 'middle' | 'large';
|
|
3
|
+
spinning?: boolean;
|
|
4
|
+
};
|
|
1
5
|
declare function __VLS_template(): {
|
|
2
|
-
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {};
|
|
11
|
+
rootEl: SVGViewElement;
|
|
3
12
|
};
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
spinning?: boolean;
|
|
7
|
-
}>, {
|
|
8
|
-
size: string;
|
|
9
|
-
spinning: boolean;
|
|
10
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
11
|
-
size?: "small" | "middle" | "large";
|
|
12
|
-
spinning?: boolean;
|
|
13
|
-
}>, {
|
|
14
|
-
size: string;
|
|
15
|
-
spinning: boolean;
|
|
16
|
-
}>>> & Readonly<{}>, {
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
17
15
|
size: "small" | "middle" | "large";
|
|
18
16
|
spinning: boolean;
|
|
19
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
20
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
17
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, SVGViewElement>;
|
|
18
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
21
19
|
export default _default;
|
|
22
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
23
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
24
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
25
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
26
|
-
} : {
|
|
27
|
-
type: import('vue').PropType<T[K]>;
|
|
28
|
-
required: true;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
type __VLS_WithDefaults<P, D> = {
|
|
32
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
33
|
-
default: D[K];
|
|
34
|
-
}> : P[K];
|
|
35
|
-
};
|
|
36
|
-
type __VLS_Prettify<T> = {
|
|
37
|
-
[K in keyof T]: T[K];
|
|
38
|
-
} & {};
|
|
39
20
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
40
21
|
new (): {
|
|
41
22
|
$slots: S;
|
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
declare function __VLS_template(): {
|
|
2
|
-
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {};
|
|
7
|
+
rootEl: SVGViewElement;
|
|
3
8
|
};
|
|
4
|
-
|
|
5
|
-
declare const
|
|
9
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, SVGViewElement>;
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
6
12
|
export default _default;
|
|
7
13
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
8
14
|
new (): {
|
package/sudoku/sudoku.vue.d.ts
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
declare function __VLS_template(): {
|
|
2
|
-
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {};
|
|
7
|
+
rootEl: SVGViewElement;
|
|
3
8
|
};
|
|
9
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
4
10
|
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
5
11
|
size: StringConstructor;
|
|
6
12
|
count: {
|
|
@@ -15,8 +21,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
15
21
|
};
|
|
16
22
|
}>> & Readonly<{}>, {
|
|
17
23
|
count: number;
|
|
18
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {},
|
|
19
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
24
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, SVGViewElement>;
|
|
25
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
20
26
|
export default _default;
|
|
21
27
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
22
28
|
new (): {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as SunTabbar } from './index.vue';
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
.sun-tabbar {
|
|
2
|
+
--height: 60px;
|
|
3
|
+
--background: #f8fafc;
|
|
4
|
+
--color: #64748b;
|
|
5
|
+
--border-color: #e2e8f0;
|
|
6
|
+
position: fixed;
|
|
7
|
+
left: 0;
|
|
8
|
+
bottom: 0;
|
|
9
|
+
display: flex;
|
|
10
|
+
height: var(--height);
|
|
11
|
+
width: 100vw;
|
|
12
|
+
overflow-x: auto;
|
|
13
|
+
overflow-y: hidden;
|
|
14
|
+
padding-bottom: var(--safe-bottom);
|
|
15
|
+
box-sizing: content-box;
|
|
16
|
+
background: var(--background);
|
|
17
|
+
|
|
18
|
+
&-item {
|
|
19
|
+
position: relative;
|
|
20
|
+
display: flex;
|
|
21
|
+
flex-direction: column;
|
|
22
|
+
justify-content: center;
|
|
23
|
+
align-items: center;
|
|
24
|
+
height: var(--height);
|
|
25
|
+
color: var(--color);
|
|
26
|
+
flex: auto;
|
|
27
|
+
flex-shrink: 0;
|
|
28
|
+
gap: 1px;
|
|
29
|
+
min-width: 150rpx;
|
|
30
|
+
font-size: 12px;
|
|
31
|
+
border-top: 0.5px solid var(--border-color);
|
|
32
|
+
transition: color ease-out 0.25s;
|
|
33
|
+
|
|
34
|
+
&-icon {
|
|
35
|
+
position: relative;
|
|
36
|
+
display: flex;
|
|
37
|
+
justify-content: center;
|
|
38
|
+
align-items: center;
|
|
39
|
+
font-size: 24px;
|
|
40
|
+
width: 50px !important;
|
|
41
|
+
height: 28px !important;
|
|
42
|
+
|
|
43
|
+
&::after {
|
|
44
|
+
content: "";
|
|
45
|
+
position: absolute;
|
|
46
|
+
top: 0;
|
|
47
|
+
left: 0;
|
|
48
|
+
width: 100%;
|
|
49
|
+
height: 100%;
|
|
50
|
+
border-radius: 99px;
|
|
51
|
+
transform: scaleX(0.75);
|
|
52
|
+
transition:
|
|
53
|
+
background-color ease-out 0.25s,
|
|
54
|
+
transform ease-out 0.25s;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&-icon-only &-icon {
|
|
59
|
+
font-size: 26px;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
&-active {
|
|
63
|
+
font-weight: bold;
|
|
64
|
+
color: var(--color-primary);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&-active &-icon {
|
|
68
|
+
&::after {
|
|
69
|
+
transform: scaleX(1) translateZ(0);
|
|
70
|
+
background-color: rgba(var(--color-primary-rgb), 0.1);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
tabs: {
|
|
3
|
+
icon?: [activeIcon: string, unactiveIcon?: string];
|
|
4
|
+
text?: string;
|
|
5
|
+
}[];
|
|
6
|
+
active?: number;
|
|
7
|
+
};
|
|
8
|
+
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
10
|
+
slots: {
|
|
11
|
+
default?(_: {
|
|
12
|
+
tab: {
|
|
13
|
+
icon?: [activeIcon: string, unactiveIcon?: string];
|
|
14
|
+
text?: string;
|
|
15
|
+
};
|
|
16
|
+
index: number;
|
|
17
|
+
}): any;
|
|
18
|
+
};
|
|
19
|
+
refs: {};
|
|
20
|
+
rootEl: any;
|
|
21
|
+
};
|
|
22
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
23
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
24
|
+
toggle: (v: number) => any;
|
|
25
|
+
"update:active": (v: number) => any;
|
|
26
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
27
|
+
onToggle?: ((v: number) => any) | undefined;
|
|
28
|
+
"onUpdate:active"?: ((v: number) => any) | undefined;
|
|
29
|
+
}>, {
|
|
30
|
+
active: number;
|
|
31
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
32
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
33
|
+
export default _default;
|
|
34
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
35
|
+
new (): {
|
|
36
|
+
$slots: S;
|
|
37
|
+
};
|
|
38
|
+
};
|
package/table/_table.scss
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
};
|
|
4
|
-
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
-
sticky?: "left" | "right";
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
sticky?: 'left' | 'right';
|
|
6
3
|
head?: boolean;
|
|
7
4
|
width?: string;
|
|
8
5
|
maxWidth?: string;
|
|
@@ -10,27 +7,19 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
10
7
|
ellipsis?: boolean;
|
|
11
8
|
/** 文本换行 */
|
|
12
9
|
breakWord?: boolean;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
/** 溢出省略 */
|
|
19
|
-
ellipsis?: boolean;
|
|
20
|
-
/** 文本换行 */
|
|
21
|
-
breakWord?: boolean;
|
|
22
|
-
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
23
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
24
|
-
export default _default;
|
|
25
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
26
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
27
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
28
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
29
|
-
} : {
|
|
30
|
-
type: import('vue').PropType<T[K]>;
|
|
31
|
-
required: true;
|
|
10
|
+
};
|
|
11
|
+
declare function __VLS_template(): {
|
|
12
|
+
attrs: Partial<{}>;
|
|
13
|
+
slots: {
|
|
14
|
+
default?(_: {}): any;
|
|
32
15
|
};
|
|
16
|
+
refs: {};
|
|
17
|
+
rootEl: SVGViewElement;
|
|
33
18
|
};
|
|
19
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
20
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, SVGViewElement>;
|
|
21
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
22
|
+
export default _default;
|
|
34
23
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
35
24
|
new (): {
|
|
36
25
|
$slots: S;
|
package/table/table-row.vue.d.ts
CHANGED
|
@@ -1,24 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
default?(_: {}): any;
|
|
3
|
-
};
|
|
4
|
-
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
-
head?: boolean;
|
|
6
|
-
foot?: boolean;
|
|
7
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
1
|
+
type __VLS_Props = {
|
|
8
2
|
head?: boolean;
|
|
9
3
|
foot?: boolean;
|
|
10
|
-
}
|
|
11
|
-
declare
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
16
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
17
|
-
} : {
|
|
18
|
-
type: import('vue').PropType<T[K]>;
|
|
19
|
-
required: true;
|
|
4
|
+
};
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
default?(_: {}): any;
|
|
20
9
|
};
|
|
10
|
+
refs: {};
|
|
11
|
+
rootEl: SVGViewElement;
|
|
21
12
|
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, SVGViewElement>;
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
|
+
export default _default;
|
|
22
17
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
23
18
|
new (): {
|
|
24
19
|
$slots: S;
|