@kengic/uni 0.3.2-beta.3

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.
Files changed (108) hide show
  1. package/README.md +1 -0
  2. package/dist/index.css +1 -0
  3. package/dist/kengic-uni.js +1374 -0
  4. package/dist/src/components/index.d.ts +5 -0
  5. package/dist/src/components/uni-ui/uni-badge/uni-badge.vue.d.ts +108 -0
  6. package/dist/src/components/uni-ui/uni-breadcrumb/uni-breadcrumb.vue.d.ts +23 -0
  7. package/dist/src/components/uni-ui/uni-breadcrumb-item/uni-breadcrumb-item.vue.d.ts +30 -0
  8. package/dist/src/components/uni-ui/uni-calendar/calendar.d.ts +67 -0
  9. package/dist/src/components/uni-ui/uni-calendar/i18n/index.d.ts +39 -0
  10. package/dist/src/components/uni-ui/uni-calendar/uni-calendar-item.vue.d.ts +47 -0
  11. package/dist/src/components/uni-ui/uni-calendar/uni-calendar.vue.d.ts +166 -0
  12. package/dist/src/components/uni-ui/uni-calendar/util.d.ts +211 -0
  13. package/dist/src/components/uni-ui/uni-card/uni-card.vue.d.ts +117 -0
  14. package/dist/src/components/uni-ui/uni-col/uni-col.vue.d.ts +70 -0
  15. package/dist/src/components/uni-ui/uni-collapse/uni-collapse.vue.d.ts +45 -0
  16. package/dist/src/components/uni-ui/uni-collapse-item/uni-collapse-item.vue.d.ts +102 -0
  17. package/dist/src/components/uni-ui/uni-combox/uni-combox.vue.d.ts +95 -0
  18. package/dist/src/components/uni-ui/uni-countdown/i18n/index.d.ts +21 -0
  19. package/dist/src/components/uni-ui/uni-countdown/uni-countdown.vue.d.ts +158 -0
  20. package/dist/src/components/uni-ui/uni-data-checkbox/uni-data-checkbox.vue.d.ts +192 -0
  21. package/dist/src/components/uni-ui/uni-data-picker/uni-data-picker.vue.d.ts +267 -0
  22. package/dist/src/components/uni-ui/uni-data-pickerview/uni-data-picker.d.ts +221 -0
  23. package/dist/src/components/uni-ui/uni-data-pickerview/uni-data-pickerview.vue.d.ts +169 -0
  24. package/dist/src/components/uni-ui/uni-data-select/uni-data-select.vue.d.ts +125 -0
  25. package/dist/src/components/uni-ui/uni-dateformat/date-format.d.ts +6 -0
  26. package/dist/src/components/uni-ui/uni-dateformat/uni-dateformat.vue.d.ts +57 -0
  27. package/dist/src/components/uni-ui/uni-datetime-picker/calendar-item.vue.d.ts +44 -0
  28. package/dist/src/components/uni-ui/uni-datetime-picker/calendar.vue.d.ts +253 -0
  29. package/dist/src/components/uni-ui/uni-datetime-picker/i18n/index.d.ts +69 -0
  30. package/dist/src/components/uni-ui/uni-datetime-picker/time-picker.vue.d.ts +225 -0
  31. package/dist/src/components/uni-ui/uni-datetime-picker/uni-datetime-picker.vue.d.ts +236 -0
  32. package/dist/src/components/uni-ui/uni-datetime-picker/util.d.ts +171 -0
  33. package/dist/src/components/uni-ui/uni-drawer/keypress.d.ts +14 -0
  34. package/dist/src/components/uni-ui/uni-drawer/uni-drawer.vue.d.ts +78 -0
  35. package/dist/src/components/uni-ui/uni-easyinput/uni-easyinput.vue.d.ts +269 -0
  36. package/dist/src/components/uni-ui/uni-fab/uni-fab.vue.d.ts +109 -0
  37. package/dist/src/components/uni-ui/uni-fav/i18n/index.d.ts +15 -0
  38. package/dist/src/components/uni-ui/uni-fav/uni-fav.vue.d.ts +99 -0
  39. package/dist/src/components/uni-ui/uni-file-picker/choose-and-upload-file.d.ts +4 -0
  40. package/dist/src/components/uni-ui/uni-file-picker/uni-file-picker.vue.d.ts +254 -0
  41. package/dist/src/components/uni-ui/uni-file-picker/upload-file.vue.d.ts +81 -0
  42. package/dist/src/components/uni-ui/uni-file-picker/upload-image.vue.d.ts +90 -0
  43. package/dist/src/components/uni-ui/uni-file-picker/utils.d.ts +22 -0
  44. package/dist/src/components/uni-ui/uni-forms/uni-forms.vue.d.ts +160 -0
  45. package/dist/src/components/uni-ui/uni-forms/utils.d.ts +20 -0
  46. package/dist/src/components/uni-ui/uni-forms/validate.d.ts +42 -0
  47. package/dist/src/components/uni-ui/uni-forms-item/uni-forms-item.vue.d.ts +127 -0
  48. package/dist/src/components/uni-ui/uni-goods-nav/i18n/index.d.ts +21 -0
  49. package/dist/src/components/uni-ui/uni-goods-nav/uni-goods-nav.vue.d.ts +61 -0
  50. package/dist/src/components/uni-ui/uni-grid/uni-grid.vue.d.ts +59 -0
  51. package/dist/src/components/uni-ui/uni-grid-item/uni-grid-item.vue.d.ts +26 -0
  52. package/dist/src/components/uni-ui/uni-group/uni-group.vue.d.ts +52 -0
  53. package/dist/src/components/uni-ui/uni-icons/icons.d.ts +15 -0
  54. package/dist/src/components/uni-ui/uni-icons/uni-icons.vue.d.ts +56 -0
  55. package/dist/src/components/uni-ui/uni-indexed-list/uni-indexed-list-item.vue.d.ts +45 -0
  56. package/dist/src/components/uni-ui/uni-indexed-list/uni-indexed-list.vue.d.ts +49 -0
  57. package/dist/src/components/uni-ui/uni-link/uni-link.vue.d.ts +75 -0
  58. package/dist/src/components/uni-ui/uni-list/uni-list.vue.d.ts +53 -0
  59. package/dist/src/components/uni-ui/uni-list/uni-refresh.vue.d.ts +22 -0
  60. package/dist/src/components/uni-ui/uni-list-ad/uni-list-ad.vue.d.ts +25 -0
  61. package/dist/src/components/uni-ui/uni-list-chat/uni-list-chat.vue.d.ts +123 -0
  62. package/dist/src/components/uni-ui/uni-list-item/uni-list-item.vue.d.ts +248 -0
  63. package/dist/src/components/uni-ui/uni-load-more/i18n/index.d.ts +18 -0
  64. package/dist/src/components/uni-ui/uni-load-more/uni-load-more.vue.d.ts +89 -0
  65. package/dist/src/components/uni-ui/uni-nav-bar/uni-nav-bar.vue.d.ts +163 -0
  66. package/dist/src/components/uni-ui/uni-nav-bar/uni-status-bar.vue.d.ts +4 -0
  67. package/dist/src/components/uni-ui/uni-notice-bar/uni-notice-bar.vue.d.ts +138 -0
  68. package/dist/src/components/uni-ui/uni-number-box/uni-number-box.vue.d.ts +90 -0
  69. package/dist/src/components/uni-ui/uni-pagination/i18n/index.d.ts +28 -0
  70. package/dist/src/components/uni-ui/uni-pagination/uni-pagination.vue.d.ts +127 -0
  71. package/dist/src/components/uni-ui/uni-popup/i18n/index.d.ts +24 -0
  72. package/dist/src/components/uni-ui/uni-popup/keypress.d.ts +14 -0
  73. package/dist/src/components/uni-ui/uni-popup/popup.d.ts +17 -0
  74. package/dist/src/components/uni-ui/uni-popup/uni-popup.vue.d.ts +136 -0
  75. package/dist/src/components/uni-ui/uni-popup-dialog/uni-popup-dialog.vue.d.ts +123 -0
  76. package/dist/src/components/uni-ui/uni-popup-message/uni-popup-message.vue.d.ts +67 -0
  77. package/dist/src/components/uni-ui/uni-popup-share/uni-popup-share.vue.d.ts +49 -0
  78. package/dist/src/components/uni-ui/uni-rate/uni-rate.vue.d.ts +154 -0
  79. package/dist/src/components/uni-ui/uni-row/uni-row.vue.d.ts +41 -0
  80. package/dist/src/components/uni-ui/uni-search-bar/i18n/index.d.ts +15 -0
  81. package/dist/src/components/uni-ui/uni-search-bar/uni-search-bar.vue.d.ts +126 -0
  82. package/dist/src/components/uni-ui/uni-section/uni-section.vue.d.ts +85 -0
  83. package/dist/src/components/uni-ui/uni-segmented-control/uni-segmented-control.vue.d.ts +47 -0
  84. package/dist/src/components/uni-ui/uni-steps/uni-steps.vue.d.ts +59 -0
  85. package/dist/src/components/uni-ui/uni-swipe-action/uni-swipe-action.vue.d.ts +6 -0
  86. package/dist/src/components/uni-ui/uni-swiper-dot/uni-swiper-dot.vue.d.ts +65 -0
  87. package/dist/src/components/uni-ui/uni-table/uni-table.vue.d.ts +99 -0
  88. package/dist/src/components/uni-ui/uni-tag/uni-tag.vue.d.ts +84 -0
  89. package/dist/src/components/uni-ui/uni-tbody/uni-tbody.vue.d.ts +2 -0
  90. package/dist/src/components/uni-ui/uni-td/uni-td.vue.d.ts +48 -0
  91. package/dist/src/components/uni-ui/uni-th/filter-dropdown.vue.d.ts +99 -0
  92. package/dist/src/components/uni-ui/uni-th/uni-th.vue.d.ts +97 -0
  93. package/dist/src/components/uni-ui/uni-thead/uni-thead.vue.d.ts +15 -0
  94. package/dist/src/components/uni-ui/uni-title/uni-title.vue.d.ts +54 -0
  95. package/dist/src/components/uni-ui/uni-tooltip/uni-tooltip.vue.d.ts +23 -0
  96. package/dist/src/components/uni-ui/uni-tr/table-checkbox.vue.d.ts +58 -0
  97. package/dist/src/components/uni-ui/uni-tr/uni-tr.vue.d.ts +39 -0
  98. package/dist/src/components/uni-ui/uni-transition/createAnimation.d.ts +16 -0
  99. package/dist/src/components/uni-ui/uni-transition/uni-transition.vue.d.ts +240 -0
  100. package/dist/src/consts/i18n/en.d.ts +45 -0
  101. package/dist/src/consts/i18n/index.d.ts +90 -0
  102. package/dist/src/consts/i18n/zh_CN.d.ts +45 -0
  103. package/dist/src/consts/index.d.ts +1 -0
  104. package/dist/src/helpers/tsx.helper.d.ts +13 -0
  105. package/dist/src/index.d.ts +3 -0
  106. package/dist/src/utils/index.d.ts +1 -0
  107. package/dist/src/utils/kg.util.d.ts +5 -0
  108. package/package.json +79 -0
@@ -0,0 +1,138 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ text: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ moreText: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
10
+ backgroundColor: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ speed: {
15
+ type: NumberConstructor;
16
+ default: number;
17
+ };
18
+ color: {
19
+ type: StringConstructor;
20
+ default: string;
21
+ };
22
+ fontSize: {
23
+ type: NumberConstructor;
24
+ default: number;
25
+ };
26
+ moreColor: {
27
+ type: StringConstructor;
28
+ default: string;
29
+ };
30
+ single: {
31
+ type: (StringConstructor | BooleanConstructor)[];
32
+ default: boolean;
33
+ };
34
+ scrollable: {
35
+ type: (StringConstructor | BooleanConstructor)[];
36
+ default: boolean;
37
+ };
38
+ showIcon: {
39
+ type: (StringConstructor | BooleanConstructor)[];
40
+ default: boolean;
41
+ };
42
+ showGetMore: {
43
+ type: (StringConstructor | BooleanConstructor)[];
44
+ default: boolean;
45
+ };
46
+ showClose: {
47
+ type: (StringConstructor | BooleanConstructor)[];
48
+ default: boolean;
49
+ };
50
+ }, any, {
51
+ textWidth: number;
52
+ boxWidth: number;
53
+ wrapWidth: string;
54
+ webviewHide: boolean;
55
+ stopAnimation: boolean;
56
+ elId: string;
57
+ elIdBox: string;
58
+ show: boolean;
59
+ animationDuration: string;
60
+ animationPlayState: string;
61
+ animationDelay: string;
62
+ }, {
63
+ isShowGetMore(): boolean;
64
+ isShowClose(): boolean;
65
+ }, {
66
+ initSize(): void;
67
+ loopAnimation(): void;
68
+ clickMore(): void;
69
+ close(): void;
70
+ onClick(): void;
71
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "close" | "getmore")[], "click" | "close" | "getmore", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
72
+ text: {
73
+ type: StringConstructor;
74
+ default: string;
75
+ };
76
+ moreText: {
77
+ type: StringConstructor;
78
+ default: string;
79
+ };
80
+ backgroundColor: {
81
+ type: StringConstructor;
82
+ default: string;
83
+ };
84
+ speed: {
85
+ type: NumberConstructor;
86
+ default: number;
87
+ };
88
+ color: {
89
+ type: StringConstructor;
90
+ default: string;
91
+ };
92
+ fontSize: {
93
+ type: NumberConstructor;
94
+ default: number;
95
+ };
96
+ moreColor: {
97
+ type: StringConstructor;
98
+ default: string;
99
+ };
100
+ single: {
101
+ type: (StringConstructor | BooleanConstructor)[];
102
+ default: boolean;
103
+ };
104
+ scrollable: {
105
+ type: (StringConstructor | BooleanConstructor)[];
106
+ default: boolean;
107
+ };
108
+ showIcon: {
109
+ type: (StringConstructor | BooleanConstructor)[];
110
+ default: boolean;
111
+ };
112
+ showGetMore: {
113
+ type: (StringConstructor | BooleanConstructor)[];
114
+ default: boolean;
115
+ };
116
+ showClose: {
117
+ type: (StringConstructor | BooleanConstructor)[];
118
+ default: boolean;
119
+ };
120
+ }>> & {
121
+ onClick?: ((...args: any[]) => any) | undefined;
122
+ onClose?: ((...args: any[]) => any) | undefined;
123
+ onGetmore?: ((...args: any[]) => any) | undefined;
124
+ }, {
125
+ text: string;
126
+ backgroundColor: string;
127
+ color: string;
128
+ fontSize: number;
129
+ showIcon: string | boolean;
130
+ moreText: string;
131
+ speed: number;
132
+ moreColor: string;
133
+ single: string | boolean;
134
+ scrollable: string | boolean;
135
+ showGetMore: string | boolean;
136
+ showClose: string | boolean;
137
+ }>;
138
+ export default _default;
@@ -0,0 +1,90 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ value: {
3
+ type: (StringConstructor | NumberConstructor)[];
4
+ default: number;
5
+ };
6
+ modelValue: {
7
+ type: (StringConstructor | NumberConstructor)[];
8
+ default: number;
9
+ };
10
+ min: {
11
+ type: NumberConstructor;
12
+ default: number;
13
+ };
14
+ max: {
15
+ type: NumberConstructor;
16
+ default: number;
17
+ };
18
+ step: {
19
+ type: NumberConstructor;
20
+ default: number;
21
+ };
22
+ background: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ };
26
+ color: {
27
+ type: StringConstructor;
28
+ default: string;
29
+ };
30
+ disabled: {
31
+ type: BooleanConstructor;
32
+ default: boolean;
33
+ };
34
+ }, any, {
35
+ inputValue: number;
36
+ }, {}, {
37
+ _calcValue(type: any): void;
38
+ _getDecimalScale(): number;
39
+ _onBlur(event: any): void;
40
+ _onFocus(event: any): void;
41
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "input" | "update:modelValue" | "focus" | "blur")[], "input" | "change" | "update:modelValue" | "focus" | "blur", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
42
+ value: {
43
+ type: (StringConstructor | NumberConstructor)[];
44
+ default: number;
45
+ };
46
+ modelValue: {
47
+ type: (StringConstructor | NumberConstructor)[];
48
+ default: number;
49
+ };
50
+ min: {
51
+ type: NumberConstructor;
52
+ default: number;
53
+ };
54
+ max: {
55
+ type: NumberConstructor;
56
+ default: number;
57
+ };
58
+ step: {
59
+ type: NumberConstructor;
60
+ default: number;
61
+ };
62
+ background: {
63
+ type: StringConstructor;
64
+ default: string;
65
+ };
66
+ color: {
67
+ type: StringConstructor;
68
+ default: string;
69
+ };
70
+ disabled: {
71
+ type: BooleanConstructor;
72
+ default: boolean;
73
+ };
74
+ }>> & {
75
+ onFocus?: ((...args: any[]) => any) | undefined;
76
+ onBlur?: ((...args: any[]) => any) | undefined;
77
+ onChange?: ((...args: any[]) => any) | undefined;
78
+ onInput?: ((...args: any[]) => any) | undefined;
79
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
80
+ }, {
81
+ value: string | number;
82
+ color: string;
83
+ background: string;
84
+ modelValue: string | number;
85
+ disabled: boolean;
86
+ min: number;
87
+ max: number;
88
+ step: number;
89
+ }>;
90
+ export default _default;
@@ -0,0 +1,28 @@
1
+ declare const _default: {
2
+ en: {
3
+ "uni-pagination.prevText": string;
4
+ "uni-pagination.nextText": string;
5
+ "uni-pagination.piecePerPage": string;
6
+ };
7
+ es: {
8
+ "uni-pagination.prevText": string;
9
+ "uni-pagination.nextText": string;
10
+ "uni-pagination.piecePerPage": string;
11
+ };
12
+ fr: {
13
+ "uni-pagination.prevText": string;
14
+ "uni-pagination.nextText": string;
15
+ "uni-pagination.piecePerPage": string;
16
+ };
17
+ 'zh-Hans': {
18
+ "uni-pagination.prevText": string;
19
+ "uni-pagination.nextText": string;
20
+ "uni-pagination.piecePerPage": string;
21
+ };
22
+ 'zh-Hant': {
23
+ "uni-pagination.prevText": string;
24
+ "uni-pagination.nextText": string;
25
+ "uni-pagination.piecePerPage": string;
26
+ };
27
+ };
28
+ export default _default;
@@ -0,0 +1,127 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ value: {
3
+ type: (StringConstructor | NumberConstructor)[];
4
+ default: number;
5
+ };
6
+ modelValue: {
7
+ type: (StringConstructor | NumberConstructor)[];
8
+ default: number;
9
+ };
10
+ prevText: {
11
+ type: StringConstructor;
12
+ };
13
+ nextText: {
14
+ type: StringConstructor;
15
+ };
16
+ piecePerPageText: {
17
+ type: StringConstructor;
18
+ };
19
+ current: {
20
+ type: (StringConstructor | NumberConstructor)[];
21
+ default: number;
22
+ };
23
+ total: {
24
+ type: (StringConstructor | NumberConstructor)[];
25
+ default: number;
26
+ };
27
+ pageSize: {
28
+ type: (StringConstructor | NumberConstructor)[];
29
+ default: number;
30
+ };
31
+ showIcon: {
32
+ type: (StringConstructor | BooleanConstructor)[];
33
+ default: boolean;
34
+ };
35
+ showPageSize: {
36
+ type: (StringConstructor | BooleanConstructor)[];
37
+ default: boolean;
38
+ };
39
+ pagerCount: {
40
+ type: NumberConstructor;
41
+ default: number;
42
+ };
43
+ pageSizeRange: {
44
+ type: ArrayConstructor;
45
+ default: () => number[];
46
+ };
47
+ }, any, {
48
+ pageSizeIndex: number;
49
+ currentIndex: number;
50
+ paperData: never[];
51
+ pickerShow: boolean;
52
+ }, {
53
+ piecePerPage(): any;
54
+ prevPageText(): any;
55
+ nextPageText(): any;
56
+ maxPage(): number;
57
+ paper(): (string | number)[];
58
+ }, {
59
+ pickerChange(e: any): void;
60
+ pickerClick(): void;
61
+ selectPage(e: any, index: any): void;
62
+ clickLeft(): void;
63
+ clickRight(): void;
64
+ change(e: any): void;
65
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "input" | "update:modelValue" | "pageSizeChange")[], "input" | "change" | "update:modelValue" | "pageSizeChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
66
+ value: {
67
+ type: (StringConstructor | NumberConstructor)[];
68
+ default: number;
69
+ };
70
+ modelValue: {
71
+ type: (StringConstructor | NumberConstructor)[];
72
+ default: number;
73
+ };
74
+ prevText: {
75
+ type: StringConstructor;
76
+ };
77
+ nextText: {
78
+ type: StringConstructor;
79
+ };
80
+ piecePerPageText: {
81
+ type: StringConstructor;
82
+ };
83
+ current: {
84
+ type: (StringConstructor | NumberConstructor)[];
85
+ default: number;
86
+ };
87
+ total: {
88
+ type: (StringConstructor | NumberConstructor)[];
89
+ default: number;
90
+ };
91
+ pageSize: {
92
+ type: (StringConstructor | NumberConstructor)[];
93
+ default: number;
94
+ };
95
+ showIcon: {
96
+ type: (StringConstructor | BooleanConstructor)[];
97
+ default: boolean;
98
+ };
99
+ showPageSize: {
100
+ type: (StringConstructor | BooleanConstructor)[];
101
+ default: boolean;
102
+ };
103
+ pagerCount: {
104
+ type: NumberConstructor;
105
+ default: number;
106
+ };
107
+ pageSizeRange: {
108
+ type: ArrayConstructor;
109
+ default: () => number[];
110
+ };
111
+ }>> & {
112
+ onChange?: ((...args: any[]) => any) | undefined;
113
+ onInput?: ((...args: any[]) => any) | undefined;
114
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
115
+ onPageSizeChange?: ((...args: any[]) => any) | undefined;
116
+ }, {
117
+ value: string | number;
118
+ modelValue: string | number;
119
+ pageSize: string | number;
120
+ current: string | number;
121
+ total: string | number;
122
+ showIcon: string | boolean;
123
+ showPageSize: string | boolean;
124
+ pagerCount: number;
125
+ pageSizeRange: unknown[];
126
+ }>;
127
+ export default _default;
@@ -0,0 +1,24 @@
1
+ declare const _default: {
2
+ en: {
3
+ "uni-popup.cancel": string;
4
+ "uni-popup.ok": string;
5
+ "uni-popup.placeholder": string;
6
+ "uni-popup.title": string;
7
+ "uni-popup.shareTitle": string;
8
+ };
9
+ 'zh-Hans': {
10
+ "uni-popup.cancel": string;
11
+ "uni-popup.ok": string;
12
+ "uni-popup.placeholder": string;
13
+ "uni-popup.title": string;
14
+ "uni-popup.shareTitle": string;
15
+ };
16
+ 'zh-Hant': {
17
+ "uni-popup.cancel": string;
18
+ "uni-popup.ok": string;
19
+ "uni-popup.placeholder": string;
20
+ "uni-popup.title": string;
21
+ "uni-popup.shareTitle": string;
22
+ };
23
+ };
24
+ export default _default;
@@ -0,0 +1,14 @@
1
+ declare namespace _default {
2
+ const name: string;
3
+ namespace props {
4
+ namespace disable {
5
+ export const type: BooleanConstructor;
6
+ const _default: boolean;
7
+ export { _default as default };
8
+ }
9
+ }
10
+ function mounted(): void;
11
+ function mounted(): void;
12
+ function render(): void;
13
+ }
14
+ export default _default;
@@ -0,0 +1,17 @@
1
+ declare namespace _default {
2
+ function data(): {};
3
+ function data(): {};
4
+ function created(): void;
5
+ function created(): void;
6
+ namespace methods {
7
+ /**
8
+ * 获取父元素实例
9
+ */
10
+ function getParent(name?: string): any;
11
+ /**
12
+ * 获取父元素实例
13
+ */
14
+ function getParent(name?: string): any;
15
+ }
16
+ }
17
+ export default _default;
@@ -0,0 +1,136 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ animation: {
3
+ type: BooleanConstructor;
4
+ default: boolean;
5
+ };
6
+ type: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
10
+ isMaskClick: {
11
+ type: BooleanConstructor;
12
+ default: null;
13
+ };
14
+ maskClick: {
15
+ type: BooleanConstructor;
16
+ default: null;
17
+ };
18
+ backgroundColor: {
19
+ type: StringConstructor;
20
+ default: string;
21
+ };
22
+ safeArea: {
23
+ type: BooleanConstructor;
24
+ default: boolean;
25
+ };
26
+ maskBackgroundColor: {
27
+ type: StringConstructor;
28
+ default: string;
29
+ };
30
+ }, any, {
31
+ duration: number;
32
+ ani: never[];
33
+ showPopup: boolean;
34
+ showTrans: boolean;
35
+ popupWidth: number;
36
+ popupHeight: number;
37
+ config: {
38
+ top: string;
39
+ bottom: string;
40
+ center: string;
41
+ left: string;
42
+ right: string;
43
+ message: string;
44
+ dialog: string;
45
+ share: string;
46
+ };
47
+ maskClass: {
48
+ position: string;
49
+ bottom: number;
50
+ top: number;
51
+ left: number;
52
+ right: number;
53
+ backgroundColor: string;
54
+ };
55
+ transClass: {
56
+ position: string;
57
+ left: number;
58
+ right: number;
59
+ };
60
+ maskShow: boolean;
61
+ mkclick: boolean;
62
+ popupstyle: string;
63
+ }, {
64
+ isDesktop(): boolean;
65
+ bg(): string;
66
+ }, {
67
+ setH5Visible(): void;
68
+ /**
69
+ * 公用方法,不显示遮罩层
70
+ */
71
+ closeMask(): void;
72
+ /**
73
+ * 公用方法,遮罩层禁止点击
74
+ */
75
+ disableMask(): void;
76
+ clear(e: any): void;
77
+ open(direction: any): void;
78
+ close(type: any): void;
79
+ touchstart(): void;
80
+ onTap(): void;
81
+ /**
82
+ * 顶部弹出样式处理
83
+ */
84
+ top(type: any): void;
85
+ /**
86
+ * 底部弹出样式处理
87
+ */
88
+ bottom(type: any): void;
89
+ /**
90
+ * 中间弹出样式处理
91
+ */
92
+ center(type: any): void;
93
+ left(type: any): void;
94
+ right(type: any): void;
95
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "maskClick")[], "change" | "maskClick", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
96
+ animation: {
97
+ type: BooleanConstructor;
98
+ default: boolean;
99
+ };
100
+ type: {
101
+ type: StringConstructor;
102
+ default: string;
103
+ };
104
+ isMaskClick: {
105
+ type: BooleanConstructor;
106
+ default: null;
107
+ };
108
+ maskClick: {
109
+ type: BooleanConstructor;
110
+ default: null;
111
+ };
112
+ backgroundColor: {
113
+ type: StringConstructor;
114
+ default: string;
115
+ };
116
+ safeArea: {
117
+ type: BooleanConstructor;
118
+ default: boolean;
119
+ };
120
+ maskBackgroundColor: {
121
+ type: StringConstructor;
122
+ default: string;
123
+ };
124
+ }>> & {
125
+ onChange?: ((...args: any[]) => any) | undefined;
126
+ onMaskClick?: ((...args: any[]) => any) | undefined;
127
+ }, {
128
+ type: string;
129
+ backgroundColor: string;
130
+ animation: boolean;
131
+ maskClick: boolean;
132
+ isMaskClick: boolean;
133
+ safeArea: boolean;
134
+ maskBackgroundColor: string;
135
+ }>;
136
+ export default _default;
@@ -0,0 +1,123 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ inputType: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ value: {
7
+ type: (StringConstructor | NumberConstructor)[];
8
+ default: string;
9
+ };
10
+ placeholder: {
11
+ type: (StringConstructor | NumberConstructor)[];
12
+ default: string;
13
+ };
14
+ type: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ };
18
+ mode: {
19
+ type: StringConstructor;
20
+ default: string;
21
+ };
22
+ title: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ };
26
+ content: {
27
+ type: StringConstructor;
28
+ default: string;
29
+ };
30
+ beforeClose: {
31
+ type: BooleanConstructor;
32
+ default: boolean;
33
+ };
34
+ cancelText: {
35
+ type: StringConstructor;
36
+ default: string;
37
+ };
38
+ confirmText: {
39
+ type: StringConstructor;
40
+ default: string;
41
+ };
42
+ }, any, {
43
+ dialogType: string;
44
+ focus: boolean;
45
+ val: string;
46
+ }, {
47
+ okText(): any;
48
+ closeText(): any;
49
+ placeholderText(): any;
50
+ titleText(): any;
51
+ }, {
52
+ /**
53
+ * 点击确认按钮
54
+ */
55
+ onOk(): void;
56
+ /**
57
+ * 点击取消按钮
58
+ */
59
+ closeDialog(): void;
60
+ close(): void;
61
+ }, {
62
+ data(): {};
63
+ created(): void;
64
+ methods: {
65
+ getParent(name?: string): any;
66
+ };
67
+ }, import("vue").ComponentOptionsMixin, ("close" | "confirm")[], "close" | "confirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
68
+ inputType: {
69
+ type: StringConstructor;
70
+ default: string;
71
+ };
72
+ value: {
73
+ type: (StringConstructor | NumberConstructor)[];
74
+ default: string;
75
+ };
76
+ placeholder: {
77
+ type: (StringConstructor | NumberConstructor)[];
78
+ default: string;
79
+ };
80
+ type: {
81
+ type: StringConstructor;
82
+ default: string;
83
+ };
84
+ mode: {
85
+ type: StringConstructor;
86
+ default: string;
87
+ };
88
+ title: {
89
+ type: StringConstructor;
90
+ default: string;
91
+ };
92
+ content: {
93
+ type: StringConstructor;
94
+ default: string;
95
+ };
96
+ beforeClose: {
97
+ type: BooleanConstructor;
98
+ default: boolean;
99
+ };
100
+ cancelText: {
101
+ type: StringConstructor;
102
+ default: string;
103
+ };
104
+ confirmText: {
105
+ type: StringConstructor;
106
+ default: string;
107
+ };
108
+ }>> & {
109
+ onClose?: ((...args: any[]) => any) | undefined;
110
+ onConfirm?: ((...args: any[]) => any) | undefined;
111
+ }, {
112
+ type: string;
113
+ value: string | number;
114
+ title: string;
115
+ content: string;
116
+ mode: string;
117
+ cancelText: string;
118
+ placeholder: string | number;
119
+ confirmText: string;
120
+ inputType: string;
121
+ beforeClose: boolean;
122
+ }>;
123
+ export default _default;