twcpt 0.0.15 → 0.0.17
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/j-tw-confirm-dialog/index.d.ts +11 -2
- package/dist/components/j-tw-confirm-dialog/types.d.ts +13 -3
- package/dist/components/j-tw-datetime-picker/index.d.ts +1645 -0
- package/dist/components/j-tw-datetime-picker/types.d.ts +70 -0
- package/dist/components/j-tw-dialog/index.d.ts +10 -7
- package/dist/components/j-tw-dialog/{jwDialog.d.ts → twDialog.d.ts} +3 -3
- package/dist/components/j-tw-dialog/types.d.ts +7 -1
- package/dist/components/j-tw-messages/MessageItem.d.ts +11 -2
- package/dist/components/j-tw-messages/index.d.ts +15 -5
- package/dist/components/j-tw-messages/state.d.ts +5 -3
- package/dist/components/j-tw-messages/types.d.ts +5 -2
- package/dist/global.d.ts +10 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/twcpt.cjs.js +9 -9
- package/dist/twcpt.es.js +3651 -3368
- package/package.json +1 -1
|
@@ -13,9 +13,13 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
13
13
|
default: boolean;
|
|
14
14
|
};
|
|
15
15
|
message: {
|
|
16
|
-
type: StringConstructor;
|
|
16
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
17
17
|
required: true;
|
|
18
18
|
};
|
|
19
|
+
html: {
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
19
23
|
icon: {
|
|
20
24
|
type: PropType<JTWConfirmDialogIconType>;
|
|
21
25
|
default: "warn";
|
|
@@ -42,9 +46,13 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
42
46
|
default: boolean;
|
|
43
47
|
};
|
|
44
48
|
message: {
|
|
45
|
-
type: StringConstructor;
|
|
49
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
46
50
|
required: true;
|
|
47
51
|
};
|
|
52
|
+
html: {
|
|
53
|
+
type: BooleanConstructor;
|
|
54
|
+
default: boolean;
|
|
55
|
+
};
|
|
48
56
|
icon: {
|
|
49
57
|
type: PropType<JTWConfirmDialogIconType>;
|
|
50
58
|
default: "warn";
|
|
@@ -63,6 +71,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
63
71
|
}>, {
|
|
64
72
|
icon: JTWConfirmDialogIconType;
|
|
65
73
|
visible: boolean;
|
|
74
|
+
html: boolean;
|
|
66
75
|
confirmText: string;
|
|
67
76
|
cancelText: string;
|
|
68
77
|
}, {}, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DefineComponent } from 'vue';
|
|
1
|
+
import { DefineComponent, VNode } from 'vue';
|
|
2
2
|
/** 确认对话框图标类型常量 */
|
|
3
3
|
export declare const JTWConfirmDialogIcon: {
|
|
4
4
|
readonly WARN: "warn";
|
|
@@ -15,7 +15,12 @@ export interface JTWConfirmDialogOptions {
|
|
|
15
15
|
/**
|
|
16
16
|
* 提示内容
|
|
17
17
|
*/
|
|
18
|
-
message: string;
|
|
18
|
+
message: string | VNode;
|
|
19
|
+
/**
|
|
20
|
+
* 是否渲染为 HTML
|
|
21
|
+
* @default false
|
|
22
|
+
*/
|
|
23
|
+
html?: boolean;
|
|
19
24
|
/**
|
|
20
25
|
* 图标类型
|
|
21
26
|
* @default 'warn'
|
|
@@ -44,7 +49,12 @@ export interface JTWConfirmDialogProps {
|
|
|
44
49
|
/**
|
|
45
50
|
* 提示内容
|
|
46
51
|
*/
|
|
47
|
-
message: string;
|
|
52
|
+
message: string | VNode;
|
|
53
|
+
/**
|
|
54
|
+
* 是否渲染为 HTML
|
|
55
|
+
* @default false
|
|
56
|
+
*/
|
|
57
|
+
html?: boolean;
|
|
48
58
|
/**
|
|
49
59
|
* 图标类型
|
|
50
60
|
* @default 'warn'
|