@solar-taro/ui-sun 1.6.4 → 2.0.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 +16 -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 +28 -22
- package/index10.js +24 -33
- package/index11.js +34 -20
- package/index12.js +72 -46
- package/index13.js +19 -144
- package/index14.js +48 -28
- package/index15.js +144 -21
- package/index16.js +29 -24
- package/index17.js +19 -10
- package/index18.js +41 -27
- package/index19.js +23 -118
- package/index20.js +15 -9
- package/index21.js +33 -10
- package/index22.js +123 -10
- package/index23.js +14 -2
- package/index24.js +10 -2
- package/index25.js +10 -2
- package/index26.js +1 -1
- package/index27.js +2 -7
- package/index28.js +1 -1
- package/index29.js +7 -2
- package/index30.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/index37.js +1 -1
- package/index38.js +1 -1
- package/index39.js +1 -1
- package/index40.js +1 -1
- package/index41.js +2 -66
- package/index42.js +2 -12
- package/index43.js +2 -25
- package/index44.js +2 -14
- package/index45.js +2 -5
- package/index46.js +2 -3
- package/index47.js +3 -26
- package/index48.js +66 -2
- package/index49.js +12 -506
- package/index50.js +24 -78
- package/index51.js +14 -70
- package/index52.js +4 -68
- package/index53.js +525 -542
- package/index54.js +26 -2
- package/index56.js +506 -2
- package/index57.js +78 -3
- package/index58.js +70 -2
- package/index59.js +69 -4
- package/index60.js +543 -2
- package/index63.js +2 -48
- package/index64.js +3 -81
- package/index66.js +4 -2
- package/index67.js +2 -2
- package/index68.js +2 -2
- package/index69.js +4 -0
- package/index7.js +7 -9
- package/index70.js +4 -0
- package/index71.js +50 -0
- package/index72.js +84 -0
- package/index73.js +4 -0
- package/index74.js +4 -0
- package/index75.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/plugin.d.ts +0 -1
- package/popover/index.vue.d.ts +24 -41
- package/qrcode/index.d.ts +1 -0
- package/qrcode/index.scss +9 -0
- package/qrcode/index.vue.d.ts +22 -0
- package/qrcode/qrcodegen.d.ts +83 -0
- 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
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 (): {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as SunQrcode } from './index.vue';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
value: string;
|
|
3
|
+
color?: string;
|
|
4
|
+
backgroundColor?: string;
|
|
5
|
+
level?: "M" | "H" | "L" | "Q";
|
|
6
|
+
}, {
|
|
7
|
+
getDataURL: () => string;
|
|
8
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
|
+
rendered: () => any;
|
|
10
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
11
|
+
value: string;
|
|
12
|
+
color?: string;
|
|
13
|
+
backgroundColor?: string;
|
|
14
|
+
level?: "M" | "H" | "L" | "Q";
|
|
15
|
+
}> & Readonly<{
|
|
16
|
+
onRendered?: (() => any) | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
color: string;
|
|
19
|
+
backgroundColor: string;
|
|
20
|
+
level: "M" | "H" | "L" | "Q";
|
|
21
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, SVGViewElement>;
|
|
22
|
+
export default _default;
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
type bit = number;
|
|
2
|
+
type byte = number;
|
|
3
|
+
type int = number;
|
|
4
|
+
export declare class QrCode {
|
|
5
|
+
readonly version: int;
|
|
6
|
+
readonly errorCorrectionLevel: QrCodeEcc;
|
|
7
|
+
static encodeText(text: string, ecl: QrCodeEcc): QrCode;
|
|
8
|
+
static encodeBinary(data: Readonly<Array<byte>>, ecl: QrCodeEcc): QrCode;
|
|
9
|
+
static encodeSegments(segs: Readonly<Array<QrSegment>>, ecl: QrCodeEcc, minVersion?: int, maxVersion?: int, mask?: int, boostEcl?: boolean): QrCode;
|
|
10
|
+
readonly size: int;
|
|
11
|
+
readonly mask: int;
|
|
12
|
+
private readonly modules;
|
|
13
|
+
private readonly isFunction;
|
|
14
|
+
constructor(version: int, errorCorrectionLevel: QrCodeEcc, dataCodewords: Readonly<Array<byte>>, msk: int);
|
|
15
|
+
getModule(x: int, y: int): boolean;
|
|
16
|
+
private drawFunctionPatterns;
|
|
17
|
+
private drawFormatBits;
|
|
18
|
+
private drawVersion;
|
|
19
|
+
private drawFinderPattern;
|
|
20
|
+
private drawAlignmentPattern;
|
|
21
|
+
private setFunctionModule;
|
|
22
|
+
private addEccAndInterleave;
|
|
23
|
+
private drawCodewords;
|
|
24
|
+
private applyMask;
|
|
25
|
+
private getPenaltyScore;
|
|
26
|
+
private getAlignmentPatternPositions;
|
|
27
|
+
private static getNumRawDataModules;
|
|
28
|
+
private static getNumDataCodewords;
|
|
29
|
+
private static reedSolomonComputeDivisor;
|
|
30
|
+
private static reedSolomonComputeRemainder;
|
|
31
|
+
private static reedSolomonMultiply;
|
|
32
|
+
private finderPenaltyCountPatterns;
|
|
33
|
+
private finderPenaltyTerminateAndCount;
|
|
34
|
+
private finderPenaltyAddHistory;
|
|
35
|
+
static readonly MIN_VERSION: int;
|
|
36
|
+
static readonly MAX_VERSION: int;
|
|
37
|
+
private static readonly PENALTY_N1;
|
|
38
|
+
private static readonly PENALTY_N2;
|
|
39
|
+
private static readonly PENALTY_N3;
|
|
40
|
+
private static readonly PENALTY_N4;
|
|
41
|
+
private static readonly ECC_CODEWORDS_PER_BLOCK;
|
|
42
|
+
private static readonly NUM_ERROR_CORRECTION_BLOCKS;
|
|
43
|
+
}
|
|
44
|
+
export declare class QrSegment {
|
|
45
|
+
readonly mode: QrSegmentMode;
|
|
46
|
+
readonly numChars: int;
|
|
47
|
+
private readonly bitData;
|
|
48
|
+
static makeBytes(data: Readonly<Array<byte>>): QrSegment;
|
|
49
|
+
static makeNumeric(digits: string): QrSegment;
|
|
50
|
+
static makeAlphanumeric(text: string): QrSegment;
|
|
51
|
+
static makeSegments(text: string): Array<QrSegment>;
|
|
52
|
+
static makeEci(assignVal: int): QrSegment;
|
|
53
|
+
static isNumeric(text: string): boolean;
|
|
54
|
+
static isAlphanumeric(text: string): boolean;
|
|
55
|
+
constructor(mode: QrSegmentMode, numChars: int, bitData: Array<bit>);
|
|
56
|
+
getData(): Array<bit>;
|
|
57
|
+
static getTotalBits(segs: Readonly<Array<QrSegment>>, version: int): number;
|
|
58
|
+
private static toUtf8ByteArray;
|
|
59
|
+
private static readonly NUMERIC_REGEX;
|
|
60
|
+
private static readonly ALPHANUMERIC_REGEX;
|
|
61
|
+
private static readonly ALPHANUMERIC_CHARSET;
|
|
62
|
+
}
|
|
63
|
+
export declare class QrCodeEcc {
|
|
64
|
+
readonly ordinal: int;
|
|
65
|
+
readonly formatBits: int;
|
|
66
|
+
static readonly LOW: QrCodeEcc;
|
|
67
|
+
static readonly MEDIUM: QrCodeEcc;
|
|
68
|
+
static readonly QUARTILE: QrCodeEcc;
|
|
69
|
+
static readonly HIGH: QrCodeEcc;
|
|
70
|
+
private constructor();
|
|
71
|
+
}
|
|
72
|
+
export declare class QrSegmentMode {
|
|
73
|
+
readonly modeBits: int;
|
|
74
|
+
private readonly numBitsCharCount;
|
|
75
|
+
static readonly NUMERIC: QrSegmentMode;
|
|
76
|
+
static readonly ALPHANUMERIC: QrSegmentMode;
|
|
77
|
+
static readonly BYTE: QrSegmentMode;
|
|
78
|
+
static readonly KANJI: QrSegmentMode;
|
|
79
|
+
static readonly ECI: QrSegmentMode;
|
|
80
|
+
private constructor();
|
|
81
|
+
numCharCountBits(ver: int): int;
|
|
82
|
+
}
|
|
83
|
+
export {};
|
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;
|