@rft-rc/recycle-ui 0.0.3-rc.1 → 0.0.3-rc.11
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/button/index.d.ts.map +1 -1
- package/dist/components/button/index.vue.d.ts +7 -0
- package/dist/components/button/index.vue.d.ts.map +1 -1
- package/dist/components/calendar/index.d.ts.map +1 -1
- package/dist/components/checkbox/button.vue.d.ts +51 -0
- package/dist/components/checkbox/button.vue.d.ts.map +1 -0
- package/dist/components/checkbox/group.vue.d.ts +58 -0
- package/dist/components/checkbox/group.vue.d.ts.map +1 -0
- package/dist/components/checkbox/index.d.ts +8 -0
- package/dist/components/checkbox/index.d.ts.map +1 -0
- package/dist/components/checkbox/index.vue.d.ts +60 -0
- package/dist/components/checkbox/index.vue.d.ts.map +1 -0
- package/dist/components/descriptions/index.d.ts +12 -0
- package/dist/components/descriptions/index.d.ts.map +1 -1
- package/dist/components/descriptions/index.vue.d.ts +3 -0
- package/dist/components/descriptions/index.vue.d.ts.map +1 -1
- package/dist/components/descriptions/item.vue.d.ts +3 -0
- package/dist/components/descriptions/item.vue.d.ts.map +1 -1
- package/dist/components/dropdown/index.d.ts.map +1 -1
- package/dist/components/dropdown/index.vue.d.ts.map +1 -1
- package/dist/components/form/index.d.ts +8 -0
- package/dist/components/form/index.d.ts.map +1 -0
- package/dist/components/form/index.vue.d.ts +76 -0
- package/dist/components/form/index.vue.d.ts.map +1 -0
- package/dist/components/form/item.vue.d.ts +49 -0
- package/dist/components/form/item.vue.d.ts.map +1 -0
- package/dist/components/icon/index.d.ts.map +1 -1
- package/dist/components/input/index.d.ts.map +1 -1
- package/dist/components/input/index.vue.d.ts +22 -3
- package/dist/components/input/index.vue.d.ts.map +1 -1
- package/dist/components/popup/index.d.ts.map +1 -1
- package/dist/components/popup/index.vue.d.ts.map +1 -1
- package/dist/components/radio/button.vue.d.ts +42 -0
- package/dist/components/radio/button.vue.d.ts.map +1 -0
- package/dist/components/radio/group.vue.d.ts +50 -0
- package/dist/components/radio/group.vue.d.ts.map +1 -0
- package/dist/components/radio/index.d.ts +8 -0
- package/dist/components/radio/index.d.ts.map +1 -0
- package/dist/components/radio/index.vue.d.ts +48 -0
- package/dist/components/radio/index.vue.d.ts.map +1 -0
- package/dist/components/toast/index.vue.d.ts +2 -2
- package/dist/components/toast/index.vue.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +2513 -1493
- package/dist/index.mjs.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +15 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../src/components/input/index.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../src/components/input/index.vue"],"names":[],"mappings":"AA6pCA,KAAK,UAAU,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;AACrD,KAAK,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,OAAO,CAAC;AAC/C,KAAK,SAAS,GAAG,MAAM,GAAG,UAAU,GAAG,UAAU,GAAG,QAAQ,CAAC;AAC7D,KAAK,cAAc,GAAG,OAAO,GAAG;IAAE,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AACvE,KAAK,UAAU,GAAG,IAAI,GAAG,QAAQ,CAAC;AAElC,UAAU,KAAK;IACb,YAAY;IACZ,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,yEAAyE;IACzE,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,SAAS;IACT,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,UAAU;IACV,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW;IACX,QAAQ,CAAC,EAAE,OAAO,C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AAM;eAED,MAAM;cAEP,OAAO;iBAEJ,OAAO;6EAqkCrB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/popup/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC/B,OAAO,KAAK,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/popup/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC/B,OAAO,KAAK,MAAM,aAAa,CAAC;AAQhC,wBAAgB,OAAO,CAAC,GAAG,EAAE,GAAG,YAM/B;AAED,eAAe,KAAK,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../src/components/popup/index.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../src/components/popup/index.vue"],"names":[],"mappings":"AAyWA,KAAK,aAAa,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,CAAC;AACpE,KAAK,iBAAiB,GAAG,UAAU,GAAG,WAAW,GAAG,aAAa,GAAG,cAAc,CAAC;AAEnF,UAAU,KAAK;IACb,cAAc;IACd,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW;IACX,QAAQ,CAAC,EAAE,aAAa,CAAC;IACzB,cAAc;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,cAAc;IACd,YAAY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** 绑定值,使用 RadioGroup 时不需要单独设置 */
|
|
3
|
+
modelValue?: string | number | boolean;
|
|
4
|
+
/** Radio 的 value */
|
|
5
|
+
label?: string | number | boolean;
|
|
6
|
+
/** 是否禁用 */
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
/** 原生 name 属性 */
|
|
9
|
+
name?: string;
|
|
10
|
+
};
|
|
11
|
+
declare var __VLS_1: {};
|
|
12
|
+
type __VLS_Slots = {} & {
|
|
13
|
+
default?: (props: typeof __VLS_1) => any;
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
16
|
+
radioRef: import("vue").Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
17
|
+
focus: () => void;
|
|
18
|
+
blur: () => void;
|
|
19
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
20
|
+
"update:modelValue": (value: string | number | boolean) => any;
|
|
21
|
+
change: (value: string | number | boolean) => any;
|
|
22
|
+
blur: (event: FocusEvent) => any;
|
|
23
|
+
focus: (event: FocusEvent) => any;
|
|
24
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
25
|
+
"onUpdate:modelValue"?: ((value: string | number | boolean) => any) | undefined;
|
|
26
|
+
onChange?: ((value: string | number | boolean) => any) | undefined;
|
|
27
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
28
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
29
|
+
}>, {
|
|
30
|
+
name: string;
|
|
31
|
+
label: string | number | boolean;
|
|
32
|
+
disabled: boolean;
|
|
33
|
+
modelValue: string | number | boolean;
|
|
34
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
35
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
36
|
+
export default _default;
|
|
37
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
38
|
+
new (): {
|
|
39
|
+
$slots: S;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
//# sourceMappingURL=button.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button.vue.d.ts","sourceRoot":"","sources":["../../../src/components/radio/button.vue"],"names":[],"mappings":"AA6TA,KAAK,WAAW,GAAG;IACjB,iCAAiC;IACjC,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;IACvC,oBAAoB;IACpB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;IAClC,WAAW;IACX,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iBAAiB;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAuLF,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAgC/C,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;UA1NZ,MAAM;WAJL,MAAM,GAAG,MAAM,GAAG,OAAO;cAEtB,OAAO;gBAJL,MAAM,GAAG,MAAM,GAAG,OAAO;6EAyOtC,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { type ComputedRef } from 'vue';
|
|
2
|
+
export interface RadioGroupContext {
|
|
3
|
+
modelValue: ComputedRef<string | number | boolean>;
|
|
4
|
+
changeEvent: (value: string | number | boolean) => void;
|
|
5
|
+
size?: 'large' | 'default' | 'small';
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
name?: string;
|
|
8
|
+
fill?: string;
|
|
9
|
+
textColor?: string;
|
|
10
|
+
}
|
|
11
|
+
type __VLS_Props = {
|
|
12
|
+
/** 绑定值 */
|
|
13
|
+
modelValue?: string | number | boolean;
|
|
14
|
+
/** Radio 按钮组尺寸,仅对按钮样式的 Radio 有效 */
|
|
15
|
+
size?: 'large' | 'default' | 'small';
|
|
16
|
+
/** 是否禁用 */
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
/** 按钮形式的 Radio 激活时的文本颜色 */
|
|
19
|
+
textColor?: string;
|
|
20
|
+
/** 按钮形式的 Radio 激活时的填充色和边框色 */
|
|
21
|
+
fill?: string;
|
|
22
|
+
/** 原生 name 属性 */
|
|
23
|
+
name?: string;
|
|
24
|
+
};
|
|
25
|
+
declare var __VLS_1: {};
|
|
26
|
+
type __VLS_Slots = {} & {
|
|
27
|
+
default?: (props: typeof __VLS_1) => any;
|
|
28
|
+
};
|
|
29
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
30
|
+
"update:modelValue": (value: string | number | boolean) => any;
|
|
31
|
+
change: (value: string | number | boolean) => any;
|
|
32
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
33
|
+
"onUpdate:modelValue"?: ((value: string | number | boolean) => any) | undefined;
|
|
34
|
+
onChange?: ((value: string | number | boolean) => any) | undefined;
|
|
35
|
+
}>, {
|
|
36
|
+
name: string;
|
|
37
|
+
fill: string;
|
|
38
|
+
size: "large" | "default" | "small";
|
|
39
|
+
disabled: boolean;
|
|
40
|
+
modelValue: string | number | boolean;
|
|
41
|
+
textColor: string;
|
|
42
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
43
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
44
|
+
export default _default;
|
|
45
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
46
|
+
new (): {
|
|
47
|
+
$slots: S;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
//# sourceMappingURL=group.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"group.vue.d.ts","sourceRoot":"","sources":["../../../src/components/radio/group.vue"],"names":[],"mappings":"AAuFA,OAAO,EAAoC,KAAK,WAAW,EAAE,MAAM,KAAK,CAAC;AAIzE,MAAM,WAAW,iBAAiB;IAChC,UAAU,EAAE,WAAW,CAAC,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC;IACnD,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,KAAK,IAAI,CAAC;IACxD,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,OAAO,CAAC;IACrC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,KAAK,WAAW,GAAG;IACjB,UAAU;IACV,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;IACvC,mCAAmC;IACnC,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,OAAO,CAAC;IACrC,WAAW;IACX,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,2BAA2B;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,8BAA8B;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,iBAAiB;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAsEF,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAqB/C,QAAA,MAAM,eAAe;;;;;;;UA9FZ,MAAM;UAFN,MAAM;UANN,OAAO,GAAG,SAAS,GAAG,OAAO;cAEzB,OAAO;gBAJL,MAAM,GAAG,MAAM,GAAG,OAAO;eAM1B,MAAM;6EA0GlB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { App } from 'vue';
|
|
2
|
+
import Radio from './index.vue';
|
|
3
|
+
import RadioGroup from './group.vue';
|
|
4
|
+
import RadioButton from './button.vue';
|
|
5
|
+
export declare function install(app: App): App<any>;
|
|
6
|
+
export { RadioGroup, RadioButton };
|
|
7
|
+
export default Radio;
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/radio/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC/B,OAAO,KAAK,MAAM,aAAa,CAAC;AAChC,OAAO,UAAU,MAAM,aAAa,CAAC;AACrC,OAAO,WAAW,MAAM,cAAc,CAAC;AAMvC,wBAAgB,OAAO,CAAC,GAAG,EAAE,GAAG,YAQ/B;AAED,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,CAAC;AACnC,eAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/** 绑定值,使用 RadioGroup 时不需要单独设置 */
|
|
3
|
+
modelValue?: string | number | boolean;
|
|
4
|
+
/** Radio 的 value */
|
|
5
|
+
label?: string | number | boolean;
|
|
6
|
+
/** 是否禁用 */
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
/** 是否显示边框 */
|
|
9
|
+
border?: boolean;
|
|
10
|
+
/** Radio 的尺寸,仅在 border 为真时有效 */
|
|
11
|
+
size?: 'large' | 'default' | 'small';
|
|
12
|
+
/** 原生 name 属性 */
|
|
13
|
+
name?: string;
|
|
14
|
+
};
|
|
15
|
+
declare var __VLS_1: {};
|
|
16
|
+
type __VLS_Slots = {} & {
|
|
17
|
+
default?: (props: typeof __VLS_1) => any;
|
|
18
|
+
};
|
|
19
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
20
|
+
radioRef: import("vue").Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
21
|
+
focus: () => void;
|
|
22
|
+
blur: () => void;
|
|
23
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
24
|
+
"update:modelValue": (value: string | number | boolean) => any;
|
|
25
|
+
change: (value: string | number | boolean) => any;
|
|
26
|
+
blur: (event: FocusEvent) => any;
|
|
27
|
+
focus: (event: FocusEvent) => any;
|
|
28
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
29
|
+
"onUpdate:modelValue"?: ((value: string | number | boolean) => any) | undefined;
|
|
30
|
+
onChange?: ((value: string | number | boolean) => any) | undefined;
|
|
31
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
32
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
33
|
+
}>, {
|
|
34
|
+
name: string;
|
|
35
|
+
size: "large" | "default" | "small";
|
|
36
|
+
label: string | number | boolean;
|
|
37
|
+
disabled: boolean;
|
|
38
|
+
modelValue: string | number | boolean;
|
|
39
|
+
border: boolean;
|
|
40
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
41
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
42
|
+
export default _default;
|
|
43
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
44
|
+
new (): {
|
|
45
|
+
$slots: S;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
//# sourceMappingURL=index.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../src/components/radio/index.vue"],"names":[],"mappings":"AA4VA,KAAK,WAAW,GAAG;IACjB,iCAAiC;IACjC,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;IACvC,oBAAoB;IACpB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;IAClC,WAAW;IACX,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa;IACb,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,gCAAgC;IAChC,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,OAAO,CAAC;IACrC,iBAAiB;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAkLF,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AA6B/C,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;UAlNZ,MAAM;UAFN,OAAO,GAAG,SAAS,GAAG,OAAO;WAN5B,MAAM,GAAG,MAAM,GAAG,OAAO;cAEtB,OAAO;gBAJL,MAAM,GAAG,MAAM,GAAG,OAAO;YAM7B,OAAO;6EA+NhB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -8,9 +8,9 @@ export interface ToastProps {
|
|
|
8
8
|
onAfterLeave?: () => void;
|
|
9
9
|
}
|
|
10
10
|
declare function close(): void;
|
|
11
|
-
declare var
|
|
11
|
+
declare var __VLS_17: {};
|
|
12
12
|
type __VLS_Slots = {} & {
|
|
13
|
-
default?: (props: typeof
|
|
13
|
+
default?: (props: typeof __VLS_17) => any;
|
|
14
14
|
};
|
|
15
15
|
declare const __VLS_component: import("vue").DefineComponent<ToastProps, {
|
|
16
16
|
close: typeof close;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../src/components/toast/index.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../src/components/toast/index.vue"],"names":[],"mappings":"AAkKA,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAAC;AAChE,MAAM,WAAW,UAAU;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,qBAAqB;IACrB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B;AAoBD,iBAAS,KAAK,SAGb;AA+HD,QAAA,IAAI,QAAQ,IAAY,CAAE;AAC1B,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAqBhD,QAAA,MAAM,eAAe;;;UAlLZ,SAAS;UAET,OAAO;aAHJ,MAAM;cAEL,MAAM;6EAyLjB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|