@dczy/tie-mobile 0.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/dist/base/DCell/index.d.ts +198 -0
- package/dist/base/DCell/index.d.ts.map +1 -0
- package/dist/base/DCell/index.vue.d.ts +118 -0
- package/dist/base/DCell/index.vue.d.ts.map +1 -0
- package/dist/base/DCell/type.d.ts +12 -0
- package/dist/base/DCell/type.d.ts.map +1 -0
- package/dist/base/DInput/index.d.ts +12 -0
- package/dist/base/DInput/index.d.ts.map +1 -0
- package/dist/base/DInput/index.vue.d.ts +11 -0
- package/dist/base/DInput/index.vue.d.ts.map +1 -0
- package/dist/base/DSearch/index.d.ts +340 -0
- package/dist/base/DSearch/index.d.ts.map +1 -0
- package/dist/base/DSearch/index.vue.d.ts +195 -0
- package/dist/base/DSearch/index.vue.d.ts.map +1 -0
- package/dist/base/DSearch/type.d.ts +12 -0
- package/dist/base/DSearch/type.d.ts.map +1 -0
- package/dist/base/DTab/index.d.ts +85 -0
- package/dist/base/DTab/index.d.ts.map +1 -0
- package/dist/base/DTab/index.vue.d.ts +53 -0
- package/dist/base/DTab/index.vue.d.ts.map +1 -0
- package/dist/base/DTab/type.d.ts +7 -0
- package/dist/base/DTab/type.d.ts.map +1 -0
- package/dist/base/DTabs/index.d.ts +277 -0
- package/dist/base/DTabs/index.d.ts.map +1 -0
- package/dist/base/DTabs/index.vue.d.ts +158 -0
- package/dist/base/DTabs/index.vue.d.ts.map +1 -0
- package/dist/base/DTabs/type.d.ts +7 -0
- package/dist/base/DTabs/type.d.ts.map +1 -0
- package/dist/base/DczyCard/DczyCard.vue.d.ts +29 -0
- package/dist/base/DczyCard/DczyCard.vue.d.ts.map +1 -0
- package/dist/base/DczyCard/index.d.ts +3 -0
- package/dist/base/DczyCard/index.d.ts.map +1 -0
- package/dist/base/DczyCard/types.d.ts +9 -0
- package/dist/base/DczyCard/types.d.ts.map +1 -0
- package/dist/base/index.d.ts +13 -0
- package/dist/base/index.d.ts.map +1 -0
- package/dist/business/DDateSelect/index.d.ts +3 -0
- package/dist/business/DDateSelect/index.d.ts.map +1 -0
- package/dist/business/DDateSelect/index.vue.d.ts +3 -0
- package/dist/business/DDateSelect/index.vue.d.ts.map +1 -0
- package/dist/business/index.d.ts +2 -0
- package/dist/business/index.d.ts.map +1 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/install.d.ts +1015 -0
- package/dist/install.d.ts.map +1 -0
- package/dist/provider/DThemeProvider/index.vue.d.ts +13 -0
- package/dist/provider/DThemeProvider/index.vue.d.ts.map +1 -0
- package/dist/provider/index.d.ts +3 -0
- package/dist/provider/index.d.ts.map +1 -0
- package/dist/store/modules/useHostStore.d.ts +6 -0
- package/dist/store/modules/useHostStore.d.ts.map +1 -0
- package/dist/store/modules/useThemeStore.d.ts +6 -0
- package/dist/store/modules/useThemeStore.d.ts.map +1 -0
- package/dist/store/piniaHelper.d.ts +6 -0
- package/dist/store/piniaHelper.d.ts.map +1 -0
- package/dist/store/type.d.ts +16 -0
- package/dist/store/type.d.ts.map +1 -0
- package/dist/tie-mobile.css +1 -0
- package/dist/tie-mobile.js +578 -0
- package/dist/tie-mobile.umd.cjs +1 -0
- package/dist/ui/DCard/index.d.ts +62 -0
- package/dist/ui/DCard/index.d.ts.map +1 -0
- package/dist/ui/DCard/index.vue.d.ts +31 -0
- package/dist/ui/DCard/index.vue.d.ts.map +1 -0
- package/dist/ui/DCard/types.d.ts +14 -0
- package/dist/ui/DCard/types.d.ts.map +1 -0
- package/dist/ui/DNoData/index.d.ts +58 -0
- package/dist/ui/DNoData/index.d.ts.map +1 -0
- package/dist/ui/DNoData/index.vue.d.ts +29 -0
- package/dist/ui/DNoData/index.vue.d.ts.map +1 -0
- package/dist/ui/DNoData/type.d.ts +14 -0
- package/dist/ui/DNoData/type.d.ts.map +1 -0
- package/dist/ui/DcAliIcon/index.d.ts +9 -0
- package/dist/ui/DcAliIcon/index.d.ts.map +1 -0
- package/dist/ui/DcAliIcon/index.vue.d.ts +9 -0
- package/dist/ui/DcAliIcon/index.vue.d.ts.map +1 -0
- package/dist/ui/DcAliIcon/type.d.ts +15 -0
- package/dist/ui/DcAliIcon/type.d.ts.map +1 -0
- package/dist/ui/index.d.ts +6 -0
- package/dist/ui/index.d.ts.map +1 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/typescript.d.ts +23 -0
- package/dist/utils/typescript.d.ts.map +1 -0
- package/dist/utils/withInstall.d.ts +9 -0
- package/dist/utils/withInstall.d.ts.map +1 -0
- package/package.json +58 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import "vant/lib/divider/index.css";
|
|
2
|
+
import type { DCardProps } from "./types";
|
|
3
|
+
type __VLS_Slots = {
|
|
4
|
+
header?: () => any;
|
|
5
|
+
footer?: () => any;
|
|
6
|
+
default?: () => any;
|
|
7
|
+
more?: () => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_component: import("vue").DefineComponent<DCardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
10
|
+
clickFooter: () => any;
|
|
11
|
+
clickHeader: () => any;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<DCardProps> & Readonly<{
|
|
13
|
+
onClickFooter?: (() => any) | undefined;
|
|
14
|
+
onClickHeader?: (() => any) | undefined;
|
|
15
|
+
}>, {
|
|
16
|
+
customClass: string | string[];
|
|
17
|
+
dividerDashed: boolean;
|
|
18
|
+
footerLayout: "between" | "center" | "right";
|
|
19
|
+
isShowCollapse: boolean;
|
|
20
|
+
shadow: boolean;
|
|
21
|
+
footerTitle: string;
|
|
22
|
+
showFooter: boolean;
|
|
23
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
24
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
25
|
+
export default _default;
|
|
26
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
27
|
+
new (): {
|
|
28
|
+
$slots: S;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=index.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../src/ui/DCard/index.vue"],"names":[],"mappings":"AAmFA,OAAO,4BAA4B,CAAC;AAEpC,OAAO,KAAK,EAAc,UAAU,EAAE,MAAM,SAAS,CAAC;AAmBtD,KAAK,WAAW,GAAG;IACjB,MAAM,CAAC,EAAE,MAAM,GAAG,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,GAAG,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,GAAG,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,GAAG,CAAC;CAClB,CAAC;AAmJF,QAAA,MAAM,eAAe;;;;;;;;;;;;;;6EAQnB,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,14 @@
|
|
|
1
|
+
export interface DCardProps {
|
|
2
|
+
dividerDashed?: boolean;
|
|
3
|
+
footerLayout?: "between" | "center" | "right";
|
|
4
|
+
isShowCollapse?: boolean;
|
|
5
|
+
shadow?: boolean;
|
|
6
|
+
footerTitle?: string;
|
|
7
|
+
customClass?: string | string[];
|
|
8
|
+
showFooter?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export interface DCardEmits {
|
|
11
|
+
(eventName: "clickFooter"): void;
|
|
12
|
+
(eventName: "clickHeader"): void;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/ui/DCard/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,YAAY,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,OAAO,CAAC;IAC9C,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC/B,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;AAED,MAAM,WAAW,UAAU;IACzB,CAAC,SAAS,EAAE,aAAa,GAAG,IAAI,CAAC;IACjC,CAAC,SAAS,EAAE,aAAa,GAAG,IAAI,CAAC;CAClC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
export declare const DNoData: import("../../utils/typescript").SFCWithInstall<{
|
|
2
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("./type").DNoDataProps> & Readonly<{
|
|
3
|
+
onClick?: (() => any) | undefined;
|
|
4
|
+
onClickTips?: (() => any) | undefined;
|
|
5
|
+
onClickImages?: (() => any) | undefined;
|
|
6
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
7
|
+
click: () => any;
|
|
8
|
+
clickTips: () => any;
|
|
9
|
+
clickImages: () => any;
|
|
10
|
+
}, import("vue").PublicProps, {
|
|
11
|
+
type: import("./type").ImgType;
|
|
12
|
+
className: string | string[];
|
|
13
|
+
layout: "vertical" | "horizontal";
|
|
14
|
+
errImg: string;
|
|
15
|
+
tips: string;
|
|
16
|
+
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
17
|
+
P: {};
|
|
18
|
+
B: {};
|
|
19
|
+
D: {};
|
|
20
|
+
C: {};
|
|
21
|
+
M: {};
|
|
22
|
+
Defaults: {};
|
|
23
|
+
}, Readonly<import("./type").DNoDataProps> & Readonly<{
|
|
24
|
+
onClick?: (() => any) | undefined;
|
|
25
|
+
onClickTips?: (() => any) | undefined;
|
|
26
|
+
onClickImages?: (() => any) | undefined;
|
|
27
|
+
}>, {}, {}, {}, {}, {
|
|
28
|
+
type: import("./type").ImgType;
|
|
29
|
+
className: string | string[];
|
|
30
|
+
layout: "vertical" | "horizontal";
|
|
31
|
+
errImg: string;
|
|
32
|
+
tips: string;
|
|
33
|
+
}>;
|
|
34
|
+
__isFragment?: never;
|
|
35
|
+
__isTeleport?: never;
|
|
36
|
+
__isSuspense?: never;
|
|
37
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("./type").DNoDataProps> & Readonly<{
|
|
38
|
+
onClick?: (() => any) | undefined;
|
|
39
|
+
onClickTips?: (() => any) | undefined;
|
|
40
|
+
onClickImages?: (() => any) | undefined;
|
|
41
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
42
|
+
click: () => any;
|
|
43
|
+
clickTips: () => any;
|
|
44
|
+
clickImages: () => any;
|
|
45
|
+
}, string, {
|
|
46
|
+
type: import("./type").ImgType;
|
|
47
|
+
className: string | string[];
|
|
48
|
+
layout: "vertical" | "horizontal";
|
|
49
|
+
errImg: string;
|
|
50
|
+
tips: string;
|
|
51
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
52
|
+
$slots: {
|
|
53
|
+
default?: (props: {}) => any;
|
|
54
|
+
};
|
|
55
|
+
})> & Record<string, any>;
|
|
56
|
+
export default DNoData;
|
|
57
|
+
export * from "./index.vue";
|
|
58
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ui/DNoData/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAAsB,CAAC;AAC3C,eAAe,OAAO,CAAC;AAEvB,cAAc,aAAa,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import "vant/lib/image/style/index";
|
|
2
|
+
import type { DNoDataProps, ImgType } from "./type";
|
|
3
|
+
declare var __VLS_1: {};
|
|
4
|
+
type __VLS_Slots = {} & {
|
|
5
|
+
default?: (props: typeof __VLS_1) => any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_component: import("vue").DefineComponent<DNoDataProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
8
|
+
click: () => any;
|
|
9
|
+
clickTips: () => any;
|
|
10
|
+
clickImages: () => any;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<DNoDataProps> & Readonly<{
|
|
12
|
+
onClick?: (() => any) | undefined;
|
|
13
|
+
onClickTips?: (() => any) | undefined;
|
|
14
|
+
onClickImages?: (() => any) | undefined;
|
|
15
|
+
}>, {
|
|
16
|
+
type: ImgType;
|
|
17
|
+
className: string | string[];
|
|
18
|
+
layout: "vertical" | "horizontal";
|
|
19
|
+
errImg: string;
|
|
20
|
+
tips: string;
|
|
21
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
25
|
+
new (): {
|
|
26
|
+
$slots: S;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=index.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../src/ui/DNoData/index.vue"],"names":[],"mappings":"AA+DA,OAAO,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAgB,YAAY,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AA0GlE,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;AAwB/C,QAAA,MAAM,eAAe;;;;;;;;;;;;;;6EAQnB,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,14 @@
|
|
|
1
|
+
export type ImgType = "noSearch" | "noData";
|
|
2
|
+
export interface DNoDataProps {
|
|
3
|
+
layout?: "vertical" | "horizontal";
|
|
4
|
+
type?: ImgType;
|
|
5
|
+
errImg?: string;
|
|
6
|
+
tips?: string;
|
|
7
|
+
className?: string | string[];
|
|
8
|
+
}
|
|
9
|
+
export interface DNoDataEmits {
|
|
10
|
+
(eventName: "clickTips"): void;
|
|
11
|
+
(eventName: "clickImages"): void;
|
|
12
|
+
(eventName: "click"): void;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../src/ui/DNoData/type.ts"],"names":[],"mappings":"AACA,MAAM,MAAM,OAAO,GAAG,UAAU,GAAG,QAAQ,CAAE;AAC7C,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC;IACnC,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CAC9B;AAED,MAAM,WAAW,YAAY;IAC3B,CAAC,SAAS,EAAE,WAAW,GAAG,IAAI,CAAC;IAC/B,CAAC,SAAS,EAAE,aAAa,GAAG,IAAI,CAAC;IACjC,CAAC,SAAS,EAAE,OAAO,GAAG,IAAI,CAAC;CAC5B"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const DcIcon: import("../../utils/typescript").SFCWithInstall<import("vue").DefineComponent<import("./type").DcIconProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("./type").DcIconProps> & Readonly<{}>, {
|
|
2
|
+
prefixCls: string;
|
|
3
|
+
iconName: string;
|
|
4
|
+
width: string | number;
|
|
5
|
+
height: string | number;
|
|
6
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>> & Record<string, any>;
|
|
7
|
+
export default DcIcon;
|
|
8
|
+
export * from "./index.vue";
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ui/DcAliIcon/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;oGAAoB,CAAC;AACxC,eAAe,MAAM,CAAC;AAEtB,cAAc,aAAa,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { DcIconProps } from "./type";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<DcIconProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DcIconProps> & Readonly<{}>, {
|
|
3
|
+
prefixCls: string;
|
|
4
|
+
iconName: string;
|
|
5
|
+
width: string | number;
|
|
6
|
+
height: string | number;
|
|
7
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
export default _default;
|
|
9
|
+
//# sourceMappingURL=index.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../src/ui/DcAliIcon/index.vue"],"names":[],"mappings":"AAwEA,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;;;;;;;AAkGrC,wBAOG"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import DcIcon from "./index.vue";
|
|
2
|
+
/**
|
|
3
|
+
* 定义props类型
|
|
4
|
+
*/
|
|
5
|
+
export interface DcIconProps {
|
|
6
|
+
prefixCls?: string;
|
|
7
|
+
iconName: string;
|
|
8
|
+
width?: string | number;
|
|
9
|
+
height?: string | number;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* 定义instance类型
|
|
13
|
+
*/
|
|
14
|
+
export type DcIconInstance = InstanceType<typeof DcIcon>;
|
|
15
|
+
//# sourceMappingURL=type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../src/ui/DcAliIcon/type.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,aAAa,CAAC;AAEjC;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC1B;AAED;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,YAAY,CAAC,OAAO,MAAM,CAAC,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { DCard, default as DCardPlugin } from "./DCard";
|
|
2
|
+
export { DNoData, default as DNoDataPlugin } from "./DNoData";
|
|
3
|
+
export { DcIcon, default as DcIconPlugin } from "./DcAliIcon";
|
|
4
|
+
export { DNoData as DczyNoData } from "./DNoData";
|
|
5
|
+
export { DcIcon as DczyAliIcon } from "./DcAliIcon";
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ui/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,SAAS,CAAA;AACvD,OAAO,EAAE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,WAAW,CAAA;AAC7D,OAAO,EAAE,MAAM,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,aAAa,CAAA;AAE7D,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,WAAW,CAAA;AACjD,OAAO,EAAE,MAAM,IAAI,WAAW,EAAE,MAAM,aAAa,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { AppContext, Plugin } from "vue";
|
|
2
|
+
export type SFCWithInstall<T> = T & Plugin;
|
|
3
|
+
export type SFCInstallWithContext<T> = SFCWithInstall<T> & {
|
|
4
|
+
_context: AppContext | null;
|
|
5
|
+
};
|
|
6
|
+
export interface IConfig {
|
|
7
|
+
theme: {
|
|
8
|
+
primary: string;
|
|
9
|
+
success: string;
|
|
10
|
+
danger: string;
|
|
11
|
+
error: string;
|
|
12
|
+
};
|
|
13
|
+
request: {
|
|
14
|
+
base_url: string;
|
|
15
|
+
login_url: string;
|
|
16
|
+
file_url: string;
|
|
17
|
+
getfile_url: string;
|
|
18
|
+
tokenName: string;
|
|
19
|
+
useCrypto?: boolean;
|
|
20
|
+
cryptoType?: number;
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=typescript.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typescript.d.ts","sourceRoot":"","sources":["../../src/utils/typescript.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,KAAK,CAAC;AAE9C,MAAM,MAAM,cAAc,CAAC,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC;AAE3C,MAAM,MAAM,qBAAqB,CAAC,CAAC,IAAI,cAAc,CAAC,CAAC,CAAC,GAAG;IACzD,QAAQ,EAAE,UAAU,GAAG,IAAI,CAAC;CAC7B,CAAC;AAEF,MAAM,WAAW,OAAO;IACtB,KAAK,EAAE;QACL,OAAO,EAAE,MAAM,CAAC;QAChB,OAAO,EAAE,MAAM,CAAC;QAChB,MAAM,EAAE,MAAM,CAAC;QACf,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,OAAO,EAAE;QACP,QAAQ,EAAE,MAAM,CAAC;QACjB,SAAS,EAAE,MAAM,CAAC;QAClB,QAAQ,EAAE,MAAM,CAAC;QACjB,WAAW,EAAE,MAAM,CAAC;QACpB,SAAS,EAAE,MAAM,CAAC;QAClB,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB,CAAC;CACH"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { App, Directive, Plugin } from "vue";
|
|
2
|
+
import type { IConfig, SFCInstallWithContext, SFCWithInstall } from "./typescript";
|
|
3
|
+
export declare const withInstall: <T, E extends Record<string, any>>(main: T, extra?: E) => SFCWithInstall<T> & E;
|
|
4
|
+
export declare const withInstallFunction: <T>(fn: T, name: string) => SFCInstallWithContext<T>;
|
|
5
|
+
export declare const withInstallDirective: <T extends Directive>(directive: T, name: string) => SFCWithInstall<T>;
|
|
6
|
+
export declare const makeInstaller: (components?: Plugin[]) => {
|
|
7
|
+
install: (app: App, config?: IConfig) => void;
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=withInstall.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"withInstall.d.ts","sourceRoot":"","sources":["../../src/utils/withInstall.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,KAAK,CAAC;AAElD,OAAO,KAAK,EACV,OAAO,EACP,qBAAqB,EACrB,cAAc,EACf,MAAM,cAAc,CAAC;AAGtB,eAAO,MAAM,WAAW,GAAI,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC1D,MAAM,CAAC,EACP,QAAQ,CAAC,KAaM,cAAc,CAAC,CAAC,CAAC,GAAG,CACpC,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,CAAC,EAAE,IAAI,CAAC,EAAE,MAAM,MAAM,KAM3C,qBAAqB,CAAC,CAAC,CACrC,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,CAAC,SAAS,SAAS,EACtD,WAAW,CAAC,EACZ,MAAM,MAAM,KAMQ,cAAc,CAAC,CAAC,CACrC,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,aAAY,MAAM,EAAO;mBAC/B,GAAG,WAAW,OAAO;CAe5C,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@dczy/tie-mobile",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"private": false,
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/tie-mobile.umd.cjs",
|
|
7
|
+
"module": "./dist/tie-mobile.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"import": "./dist/tie-mobile.js"
|
|
13
|
+
},
|
|
14
|
+
"./base/DczyCard": {
|
|
15
|
+
"types": "./dist/base/DczyCard/index.d.ts",
|
|
16
|
+
"import": "./dist/tie-mobile.js"
|
|
17
|
+
},
|
|
18
|
+
"./base": {
|
|
19
|
+
"types": "./dist/base/index.d.ts",
|
|
20
|
+
"import": "./dist/tie-mobile.js"
|
|
21
|
+
},
|
|
22
|
+
"./ui": {
|
|
23
|
+
"types": "./dist/ui/index.d.ts",
|
|
24
|
+
"import": "./dist/tie-mobile.js"
|
|
25
|
+
},
|
|
26
|
+
"./business": {
|
|
27
|
+
"types": "./dist/business/index.d.ts",
|
|
28
|
+
"import": "./dist/tie-mobile.js"
|
|
29
|
+
},
|
|
30
|
+
"./provider": {
|
|
31
|
+
"types": "./dist/provider/index.d.ts",
|
|
32
|
+
"import": "./dist/tie-mobile.js"
|
|
33
|
+
},
|
|
34
|
+
"./styles.css": "./dist/tie-mobile.css"
|
|
35
|
+
},
|
|
36
|
+
"files": [
|
|
37
|
+
"dist"
|
|
38
|
+
],
|
|
39
|
+
"sideEffects": [
|
|
40
|
+
"*.css",
|
|
41
|
+
"**/*.css",
|
|
42
|
+
"**/*.vue"
|
|
43
|
+
],
|
|
44
|
+
"dependencies": {
|
|
45
|
+
"@dczy/tie-core": "0.1.0",
|
|
46
|
+
"@dczy/tie-tools": "0.1.0"
|
|
47
|
+
},
|
|
48
|
+
"peerDependencies": {
|
|
49
|
+
"pinia": "^3.0.0",
|
|
50
|
+
"vant": "^4.0.0",
|
|
51
|
+
"vue": "^3.4.0 || ^3.5.0"
|
|
52
|
+
},
|
|
53
|
+
"scripts": {
|
|
54
|
+
"build": "vite build && vue-tsc -p tsconfig.build.json",
|
|
55
|
+
"test": "vitest run --config ../../vitest.config.ts",
|
|
56
|
+
"typecheck": "vue-tsc -p tsconfig.json --noEmit"
|
|
57
|
+
}
|
|
58
|
+
}
|