@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.
- package/README.md +1 -0
- package/dist/index.css +1 -0
- package/dist/kengic-uni.js +1374 -0
- package/dist/src/components/index.d.ts +5 -0
- package/dist/src/components/uni-ui/uni-badge/uni-badge.vue.d.ts +108 -0
- package/dist/src/components/uni-ui/uni-breadcrumb/uni-breadcrumb.vue.d.ts +23 -0
- package/dist/src/components/uni-ui/uni-breadcrumb-item/uni-breadcrumb-item.vue.d.ts +30 -0
- package/dist/src/components/uni-ui/uni-calendar/calendar.d.ts +67 -0
- package/dist/src/components/uni-ui/uni-calendar/i18n/index.d.ts +39 -0
- package/dist/src/components/uni-ui/uni-calendar/uni-calendar-item.vue.d.ts +47 -0
- package/dist/src/components/uni-ui/uni-calendar/uni-calendar.vue.d.ts +166 -0
- package/dist/src/components/uni-ui/uni-calendar/util.d.ts +211 -0
- package/dist/src/components/uni-ui/uni-card/uni-card.vue.d.ts +117 -0
- package/dist/src/components/uni-ui/uni-col/uni-col.vue.d.ts +70 -0
- package/dist/src/components/uni-ui/uni-collapse/uni-collapse.vue.d.ts +45 -0
- package/dist/src/components/uni-ui/uni-collapse-item/uni-collapse-item.vue.d.ts +102 -0
- package/dist/src/components/uni-ui/uni-combox/uni-combox.vue.d.ts +95 -0
- package/dist/src/components/uni-ui/uni-countdown/i18n/index.d.ts +21 -0
- package/dist/src/components/uni-ui/uni-countdown/uni-countdown.vue.d.ts +158 -0
- package/dist/src/components/uni-ui/uni-data-checkbox/uni-data-checkbox.vue.d.ts +192 -0
- package/dist/src/components/uni-ui/uni-data-picker/uni-data-picker.vue.d.ts +267 -0
- package/dist/src/components/uni-ui/uni-data-pickerview/uni-data-picker.d.ts +221 -0
- package/dist/src/components/uni-ui/uni-data-pickerview/uni-data-pickerview.vue.d.ts +169 -0
- package/dist/src/components/uni-ui/uni-data-select/uni-data-select.vue.d.ts +125 -0
- package/dist/src/components/uni-ui/uni-dateformat/date-format.d.ts +6 -0
- package/dist/src/components/uni-ui/uni-dateformat/uni-dateformat.vue.d.ts +57 -0
- package/dist/src/components/uni-ui/uni-datetime-picker/calendar-item.vue.d.ts +44 -0
- package/dist/src/components/uni-ui/uni-datetime-picker/calendar.vue.d.ts +253 -0
- package/dist/src/components/uni-ui/uni-datetime-picker/i18n/index.d.ts +69 -0
- package/dist/src/components/uni-ui/uni-datetime-picker/time-picker.vue.d.ts +225 -0
- package/dist/src/components/uni-ui/uni-datetime-picker/uni-datetime-picker.vue.d.ts +236 -0
- package/dist/src/components/uni-ui/uni-datetime-picker/util.d.ts +171 -0
- package/dist/src/components/uni-ui/uni-drawer/keypress.d.ts +14 -0
- package/dist/src/components/uni-ui/uni-drawer/uni-drawer.vue.d.ts +78 -0
- package/dist/src/components/uni-ui/uni-easyinput/uni-easyinput.vue.d.ts +269 -0
- package/dist/src/components/uni-ui/uni-fab/uni-fab.vue.d.ts +109 -0
- package/dist/src/components/uni-ui/uni-fav/i18n/index.d.ts +15 -0
- package/dist/src/components/uni-ui/uni-fav/uni-fav.vue.d.ts +99 -0
- package/dist/src/components/uni-ui/uni-file-picker/choose-and-upload-file.d.ts +4 -0
- package/dist/src/components/uni-ui/uni-file-picker/uni-file-picker.vue.d.ts +254 -0
- package/dist/src/components/uni-ui/uni-file-picker/upload-file.vue.d.ts +81 -0
- package/dist/src/components/uni-ui/uni-file-picker/upload-image.vue.d.ts +90 -0
- package/dist/src/components/uni-ui/uni-file-picker/utils.d.ts +22 -0
- package/dist/src/components/uni-ui/uni-forms/uni-forms.vue.d.ts +160 -0
- package/dist/src/components/uni-ui/uni-forms/utils.d.ts +20 -0
- package/dist/src/components/uni-ui/uni-forms/validate.d.ts +42 -0
- package/dist/src/components/uni-ui/uni-forms-item/uni-forms-item.vue.d.ts +127 -0
- package/dist/src/components/uni-ui/uni-goods-nav/i18n/index.d.ts +21 -0
- package/dist/src/components/uni-ui/uni-goods-nav/uni-goods-nav.vue.d.ts +61 -0
- package/dist/src/components/uni-ui/uni-grid/uni-grid.vue.d.ts +59 -0
- package/dist/src/components/uni-ui/uni-grid-item/uni-grid-item.vue.d.ts +26 -0
- package/dist/src/components/uni-ui/uni-group/uni-group.vue.d.ts +52 -0
- package/dist/src/components/uni-ui/uni-icons/icons.d.ts +15 -0
- package/dist/src/components/uni-ui/uni-icons/uni-icons.vue.d.ts +56 -0
- package/dist/src/components/uni-ui/uni-indexed-list/uni-indexed-list-item.vue.d.ts +45 -0
- package/dist/src/components/uni-ui/uni-indexed-list/uni-indexed-list.vue.d.ts +49 -0
- package/dist/src/components/uni-ui/uni-link/uni-link.vue.d.ts +75 -0
- package/dist/src/components/uni-ui/uni-list/uni-list.vue.d.ts +53 -0
- package/dist/src/components/uni-ui/uni-list/uni-refresh.vue.d.ts +22 -0
- package/dist/src/components/uni-ui/uni-list-ad/uni-list-ad.vue.d.ts +25 -0
- package/dist/src/components/uni-ui/uni-list-chat/uni-list-chat.vue.d.ts +123 -0
- package/dist/src/components/uni-ui/uni-list-item/uni-list-item.vue.d.ts +248 -0
- package/dist/src/components/uni-ui/uni-load-more/i18n/index.d.ts +18 -0
- package/dist/src/components/uni-ui/uni-load-more/uni-load-more.vue.d.ts +89 -0
- package/dist/src/components/uni-ui/uni-nav-bar/uni-nav-bar.vue.d.ts +163 -0
- package/dist/src/components/uni-ui/uni-nav-bar/uni-status-bar.vue.d.ts +4 -0
- package/dist/src/components/uni-ui/uni-notice-bar/uni-notice-bar.vue.d.ts +138 -0
- package/dist/src/components/uni-ui/uni-number-box/uni-number-box.vue.d.ts +90 -0
- package/dist/src/components/uni-ui/uni-pagination/i18n/index.d.ts +28 -0
- package/dist/src/components/uni-ui/uni-pagination/uni-pagination.vue.d.ts +127 -0
- package/dist/src/components/uni-ui/uni-popup/i18n/index.d.ts +24 -0
- package/dist/src/components/uni-ui/uni-popup/keypress.d.ts +14 -0
- package/dist/src/components/uni-ui/uni-popup/popup.d.ts +17 -0
- package/dist/src/components/uni-ui/uni-popup/uni-popup.vue.d.ts +136 -0
- package/dist/src/components/uni-ui/uni-popup-dialog/uni-popup-dialog.vue.d.ts +123 -0
- package/dist/src/components/uni-ui/uni-popup-message/uni-popup-message.vue.d.ts +67 -0
- package/dist/src/components/uni-ui/uni-popup-share/uni-popup-share.vue.d.ts +49 -0
- package/dist/src/components/uni-ui/uni-rate/uni-rate.vue.d.ts +154 -0
- package/dist/src/components/uni-ui/uni-row/uni-row.vue.d.ts +41 -0
- package/dist/src/components/uni-ui/uni-search-bar/i18n/index.d.ts +15 -0
- package/dist/src/components/uni-ui/uni-search-bar/uni-search-bar.vue.d.ts +126 -0
- package/dist/src/components/uni-ui/uni-section/uni-section.vue.d.ts +85 -0
- package/dist/src/components/uni-ui/uni-segmented-control/uni-segmented-control.vue.d.ts +47 -0
- package/dist/src/components/uni-ui/uni-steps/uni-steps.vue.d.ts +59 -0
- package/dist/src/components/uni-ui/uni-swipe-action/uni-swipe-action.vue.d.ts +6 -0
- package/dist/src/components/uni-ui/uni-swiper-dot/uni-swiper-dot.vue.d.ts +65 -0
- package/dist/src/components/uni-ui/uni-table/uni-table.vue.d.ts +99 -0
- package/dist/src/components/uni-ui/uni-tag/uni-tag.vue.d.ts +84 -0
- package/dist/src/components/uni-ui/uni-tbody/uni-tbody.vue.d.ts +2 -0
- package/dist/src/components/uni-ui/uni-td/uni-td.vue.d.ts +48 -0
- package/dist/src/components/uni-ui/uni-th/filter-dropdown.vue.d.ts +99 -0
- package/dist/src/components/uni-ui/uni-th/uni-th.vue.d.ts +97 -0
- package/dist/src/components/uni-ui/uni-thead/uni-thead.vue.d.ts +15 -0
- package/dist/src/components/uni-ui/uni-title/uni-title.vue.d.ts +54 -0
- package/dist/src/components/uni-ui/uni-tooltip/uni-tooltip.vue.d.ts +23 -0
- package/dist/src/components/uni-ui/uni-tr/table-checkbox.vue.d.ts +58 -0
- package/dist/src/components/uni-ui/uni-tr/uni-tr.vue.d.ts +39 -0
- package/dist/src/components/uni-ui/uni-transition/createAnimation.d.ts +16 -0
- package/dist/src/components/uni-ui/uni-transition/uni-transition.vue.d.ts +240 -0
- package/dist/src/consts/i18n/en.d.ts +45 -0
- package/dist/src/consts/i18n/index.d.ts +90 -0
- package/dist/src/consts/i18n/zh_CN.d.ts +45 -0
- package/dist/src/consts/index.d.ts +1 -0
- package/dist/src/helpers/tsx.helper.d.ts +13 -0
- package/dist/src/index.d.ts +3 -0
- package/dist/src/utils/index.d.ts +1 -0
- package/dist/src/utils/kg.util.d.ts +5 -0
- package/package.json +79 -0
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
managedMode: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: boolean;
|
|
5
|
+
};
|
|
6
|
+
ellipsis: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
}, any, any, {}, {
|
|
11
|
+
onPropsChange(): void;
|
|
12
|
+
handleSelect(index: any): void;
|
|
13
|
+
handleNodeClick(item: any, i: any, j: any): void;
|
|
14
|
+
updateData(data: any): void;
|
|
15
|
+
onDataChange(): void;
|
|
16
|
+
onSelectedChange(node: any, isleaf: any): void;
|
|
17
|
+
_dispatchEvent(): void;
|
|
18
|
+
}, {
|
|
19
|
+
props: {
|
|
20
|
+
localdata: {
|
|
21
|
+
type: (ArrayConstructor | ObjectConstructor)[];
|
|
22
|
+
default(): never[];
|
|
23
|
+
};
|
|
24
|
+
spaceInfo: {
|
|
25
|
+
type: ObjectConstructor;
|
|
26
|
+
default(): {};
|
|
27
|
+
};
|
|
28
|
+
collection: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
action: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
field: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
orderby: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
default: string;
|
|
43
|
+
};
|
|
44
|
+
where: {
|
|
45
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
pageData: {
|
|
49
|
+
type: StringConstructor;
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
52
|
+
pageCurrent: {
|
|
53
|
+
type: NumberConstructor;
|
|
54
|
+
default: number;
|
|
55
|
+
};
|
|
56
|
+
pageSize: {
|
|
57
|
+
type: NumberConstructor;
|
|
58
|
+
default: number;
|
|
59
|
+
};
|
|
60
|
+
getcount: {
|
|
61
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
62
|
+
default: boolean;
|
|
63
|
+
};
|
|
64
|
+
getone: {
|
|
65
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
66
|
+
default: boolean;
|
|
67
|
+
};
|
|
68
|
+
gettree: {
|
|
69
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
70
|
+
default: boolean;
|
|
71
|
+
};
|
|
72
|
+
manual: {
|
|
73
|
+
type: BooleanConstructor;
|
|
74
|
+
default: boolean;
|
|
75
|
+
};
|
|
76
|
+
value: {
|
|
77
|
+
type: (StringConstructor | NumberConstructor | ArrayConstructor)[];
|
|
78
|
+
default(): never[];
|
|
79
|
+
};
|
|
80
|
+
modelValue: {
|
|
81
|
+
type: (StringConstructor | NumberConstructor | ArrayConstructor)[];
|
|
82
|
+
default(): never[];
|
|
83
|
+
};
|
|
84
|
+
preload: {
|
|
85
|
+
type: BooleanConstructor;
|
|
86
|
+
default: boolean;
|
|
87
|
+
};
|
|
88
|
+
stepSearh: {
|
|
89
|
+
type: BooleanConstructor;
|
|
90
|
+
default: boolean;
|
|
91
|
+
};
|
|
92
|
+
selfField: {
|
|
93
|
+
type: StringConstructor;
|
|
94
|
+
default: string;
|
|
95
|
+
};
|
|
96
|
+
parentField: {
|
|
97
|
+
type: StringConstructor;
|
|
98
|
+
default: string;
|
|
99
|
+
};
|
|
100
|
+
multiple: {
|
|
101
|
+
type: BooleanConstructor;
|
|
102
|
+
default: boolean;
|
|
103
|
+
};
|
|
104
|
+
map: {
|
|
105
|
+
type: ObjectConstructor;
|
|
106
|
+
default(): {
|
|
107
|
+
text: string;
|
|
108
|
+
value: string;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
data(): any;
|
|
113
|
+
computed: {
|
|
114
|
+
isLocalData(): any;
|
|
115
|
+
isCloudData(): any;
|
|
116
|
+
isCloudDataList(): any;
|
|
117
|
+
isCloudDataTree(): any;
|
|
118
|
+
dataValue(): any;
|
|
119
|
+
hasValue(): boolean;
|
|
120
|
+
};
|
|
121
|
+
created(): void;
|
|
122
|
+
methods: {
|
|
123
|
+
onPropsChange(): void;
|
|
124
|
+
loadData(): Promise<void>;
|
|
125
|
+
loadLocalData(): Promise<void>;
|
|
126
|
+
loadCloudDataList(): Promise<void>;
|
|
127
|
+
loadCloudDataTree(): Promise<void>;
|
|
128
|
+
loadCloudDataNode(callback: any): Promise<void>;
|
|
129
|
+
getCloudDataValue(): any;
|
|
130
|
+
getCloudDataListValue(): any;
|
|
131
|
+
getCloudDataTreeValue(): any;
|
|
132
|
+
getCommand(options?: {}): UniCloud.Database;
|
|
133
|
+
_cloudDataPostField(): string;
|
|
134
|
+
_cloudDataTreeWhere(): string;
|
|
135
|
+
_cloudDataNodeWhere(): string | any[];
|
|
136
|
+
_getWhereByForeignKey(): string;
|
|
137
|
+
_getForeignKeyByField(): any;
|
|
138
|
+
_updateBindData(node: any): {
|
|
139
|
+
isleaf: boolean;
|
|
140
|
+
hasNodes: boolean;
|
|
141
|
+
};
|
|
142
|
+
_updateSelected(): void;
|
|
143
|
+
_filterData(data: any, paths: any): {
|
|
144
|
+
dataList: any[];
|
|
145
|
+
hasNodes: boolean;
|
|
146
|
+
};
|
|
147
|
+
_extractTree(nodes: any, result: any, parent_value: any): void;
|
|
148
|
+
_extractTreePath(nodes: any, result: any): void;
|
|
149
|
+
_findNodePath(key: any, nodes: any, path?: any[]): any;
|
|
150
|
+
};
|
|
151
|
+
}, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue" | "nodeclick" | "datachange")[], "change" | "update:modelValue" | "nodeclick" | "datachange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
152
|
+
managedMode: {
|
|
153
|
+
type: BooleanConstructor;
|
|
154
|
+
default: boolean;
|
|
155
|
+
};
|
|
156
|
+
ellipsis: {
|
|
157
|
+
type: BooleanConstructor;
|
|
158
|
+
default: boolean;
|
|
159
|
+
};
|
|
160
|
+
}>> & {
|
|
161
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
162
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
163
|
+
onNodeclick?: ((...args: any[]) => any) | undefined;
|
|
164
|
+
onDatachange?: ((...args: any[]) => any) | undefined;
|
|
165
|
+
}, {
|
|
166
|
+
managedMode: boolean;
|
|
167
|
+
ellipsis: boolean;
|
|
168
|
+
}>;
|
|
169
|
+
export default _default;
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
localdata: {
|
|
3
|
+
type: ArrayConstructor;
|
|
4
|
+
default(): never[];
|
|
5
|
+
};
|
|
6
|
+
value: {
|
|
7
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
modelValue: {
|
|
11
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
label: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
placeholder: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
emptyTips: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
clear: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
defItem: {
|
|
31
|
+
type: NumberConstructor;
|
|
32
|
+
default: number;
|
|
33
|
+
};
|
|
34
|
+
disabled: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
format: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
}, any, {
|
|
43
|
+
showSelector: boolean;
|
|
44
|
+
current: string;
|
|
45
|
+
mixinDatacomResData: never[];
|
|
46
|
+
apps: never[];
|
|
47
|
+
channels: never[];
|
|
48
|
+
cacheKey: string;
|
|
49
|
+
}, {
|
|
50
|
+
typePlaceholder(): string;
|
|
51
|
+
valueCom(): string | number;
|
|
52
|
+
}, {
|
|
53
|
+
debounce(fn: any, time?: number): (...args: any[]) => void;
|
|
54
|
+
query(): void;
|
|
55
|
+
onMixinDatacomPropsChange(): void;
|
|
56
|
+
initDefVal(): void;
|
|
57
|
+
/**
|
|
58
|
+
* @param {[String, Number]} value
|
|
59
|
+
* 判断用户给的 value 是否同时为禁用状态
|
|
60
|
+
*/
|
|
61
|
+
isDisabled(value: [string, number]): false;
|
|
62
|
+
clearVal(): void;
|
|
63
|
+
change(item: any): void;
|
|
64
|
+
emit(val: any): void;
|
|
65
|
+
toggleSelector(): void;
|
|
66
|
+
formatItemName(item: any): any;
|
|
67
|
+
getLoadData(): never[];
|
|
68
|
+
getCurrentCacheKey(): never;
|
|
69
|
+
getCache(name?: any): any;
|
|
70
|
+
setCache(value: any, name?: any): void;
|
|
71
|
+
removeCache(name?: any): void;
|
|
72
|
+
}, any, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
73
|
+
localdata: {
|
|
74
|
+
type: ArrayConstructor;
|
|
75
|
+
default(): never[];
|
|
76
|
+
};
|
|
77
|
+
value: {
|
|
78
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
79
|
+
default: string;
|
|
80
|
+
};
|
|
81
|
+
modelValue: {
|
|
82
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
83
|
+
default: string;
|
|
84
|
+
};
|
|
85
|
+
label: {
|
|
86
|
+
type: StringConstructor;
|
|
87
|
+
default: string;
|
|
88
|
+
};
|
|
89
|
+
placeholder: {
|
|
90
|
+
type: StringConstructor;
|
|
91
|
+
default: string;
|
|
92
|
+
};
|
|
93
|
+
emptyTips: {
|
|
94
|
+
type: StringConstructor;
|
|
95
|
+
default: string;
|
|
96
|
+
};
|
|
97
|
+
clear: {
|
|
98
|
+
type: BooleanConstructor;
|
|
99
|
+
default: boolean;
|
|
100
|
+
};
|
|
101
|
+
defItem: {
|
|
102
|
+
type: NumberConstructor;
|
|
103
|
+
default: number;
|
|
104
|
+
};
|
|
105
|
+
disabled: {
|
|
106
|
+
type: BooleanConstructor;
|
|
107
|
+
default: boolean;
|
|
108
|
+
};
|
|
109
|
+
format: {
|
|
110
|
+
type: StringConstructor;
|
|
111
|
+
default: string;
|
|
112
|
+
};
|
|
113
|
+
}>>, {
|
|
114
|
+
value: string | number;
|
|
115
|
+
label: string;
|
|
116
|
+
clear: boolean;
|
|
117
|
+
modelValue: string | number;
|
|
118
|
+
disabled: boolean;
|
|
119
|
+
placeholder: string;
|
|
120
|
+
emptyTips: string;
|
|
121
|
+
localdata: unknown[];
|
|
122
|
+
defItem: number;
|
|
123
|
+
format: string;
|
|
124
|
+
}>;
|
|
125
|
+
export default _default;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
date: {
|
|
3
|
+
type: (StringConstructor | NumberConstructor | ObjectConstructor)[];
|
|
4
|
+
default(): "-";
|
|
5
|
+
};
|
|
6
|
+
locale: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
threshold: {
|
|
11
|
+
type: ArrayConstructor;
|
|
12
|
+
default(): number[];
|
|
13
|
+
};
|
|
14
|
+
format: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
refreshRate: {
|
|
19
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
20
|
+
default: number;
|
|
21
|
+
};
|
|
22
|
+
}, any, {
|
|
23
|
+
refreshMark: number;
|
|
24
|
+
}, {
|
|
25
|
+
dateShow(): any;
|
|
26
|
+
}, {
|
|
27
|
+
refresh(): void;
|
|
28
|
+
setAutoRefresh(): void;
|
|
29
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
30
|
+
date: {
|
|
31
|
+
type: (StringConstructor | NumberConstructor | ObjectConstructor)[];
|
|
32
|
+
default(): "-";
|
|
33
|
+
};
|
|
34
|
+
locale: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
threshold: {
|
|
39
|
+
type: ArrayConstructor;
|
|
40
|
+
default(): number[];
|
|
41
|
+
};
|
|
42
|
+
format: {
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
|
+
refreshRate: {
|
|
47
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
48
|
+
default: number;
|
|
49
|
+
};
|
|
50
|
+
}>>, {
|
|
51
|
+
date: string | number | Record<string, any>;
|
|
52
|
+
format: string;
|
|
53
|
+
locale: string;
|
|
54
|
+
threshold: unknown[];
|
|
55
|
+
refreshRate: string | number;
|
|
56
|
+
}>;
|
|
57
|
+
export default _default;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
weeks: {
|
|
3
|
+
type: ObjectConstructor;
|
|
4
|
+
default(): {};
|
|
5
|
+
};
|
|
6
|
+
calendar: {
|
|
7
|
+
type: ObjectConstructor;
|
|
8
|
+
default: () => {};
|
|
9
|
+
};
|
|
10
|
+
selected: {
|
|
11
|
+
type: ArrayConstructor;
|
|
12
|
+
default: () => never[];
|
|
13
|
+
};
|
|
14
|
+
checkHover: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
}, any, any, {}, {
|
|
19
|
+
choiceDate(weeks: any): void;
|
|
20
|
+
handleMousemove(weeks: any): void;
|
|
21
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
22
|
+
weeks: {
|
|
23
|
+
type: ObjectConstructor;
|
|
24
|
+
default(): {};
|
|
25
|
+
};
|
|
26
|
+
calendar: {
|
|
27
|
+
type: ObjectConstructor;
|
|
28
|
+
default: () => {};
|
|
29
|
+
};
|
|
30
|
+
selected: {
|
|
31
|
+
type: ArrayConstructor;
|
|
32
|
+
default: () => never[];
|
|
33
|
+
};
|
|
34
|
+
checkHover: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
}>>, {
|
|
39
|
+
weeks: Record<string, any>;
|
|
40
|
+
calendar: Record<string, any>;
|
|
41
|
+
selected: unknown[];
|
|
42
|
+
checkHover: boolean;
|
|
43
|
+
}>;
|
|
44
|
+
export default _default;
|
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
date: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
defTime: {
|
|
7
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
selectableTimes: {
|
|
11
|
+
type: ObjectConstructor[];
|
|
12
|
+
default(): {};
|
|
13
|
+
};
|
|
14
|
+
selected: {
|
|
15
|
+
type: ArrayConstructor;
|
|
16
|
+
default(): never[];
|
|
17
|
+
};
|
|
18
|
+
startDate: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
endDate: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
startPlaceholder: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
endPlaceholder: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
range: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
hasTime: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
default: boolean;
|
|
41
|
+
};
|
|
42
|
+
insert: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
46
|
+
showMonth: {
|
|
47
|
+
type: BooleanConstructor;
|
|
48
|
+
default: boolean;
|
|
49
|
+
};
|
|
50
|
+
clearDate: {
|
|
51
|
+
type: BooleanConstructor;
|
|
52
|
+
default: boolean;
|
|
53
|
+
};
|
|
54
|
+
checkHover: {
|
|
55
|
+
type: BooleanConstructor;
|
|
56
|
+
default: boolean;
|
|
57
|
+
};
|
|
58
|
+
hideSecond: {
|
|
59
|
+
type: BooleanConstructor[];
|
|
60
|
+
default: boolean;
|
|
61
|
+
};
|
|
62
|
+
pleStatus: {
|
|
63
|
+
type: ObjectConstructor;
|
|
64
|
+
default(): {
|
|
65
|
+
before: string;
|
|
66
|
+
after: string;
|
|
67
|
+
data: never[];
|
|
68
|
+
fulldate: string;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
defaultValue: {
|
|
72
|
+
type: (StringConstructor | ArrayConstructor | ObjectConstructor)[];
|
|
73
|
+
default: string;
|
|
74
|
+
};
|
|
75
|
+
}, any, {
|
|
76
|
+
show: boolean;
|
|
77
|
+
weeks: never[];
|
|
78
|
+
calendar: {};
|
|
79
|
+
nowDate: {};
|
|
80
|
+
aniMaskShow: boolean;
|
|
81
|
+
firstEnter: boolean;
|
|
82
|
+
time: string;
|
|
83
|
+
timeRange: {
|
|
84
|
+
startTime: string;
|
|
85
|
+
endTime: string;
|
|
86
|
+
};
|
|
87
|
+
tempSingleDate: string;
|
|
88
|
+
tempRange: {
|
|
89
|
+
before: string;
|
|
90
|
+
after: string;
|
|
91
|
+
};
|
|
92
|
+
}, {
|
|
93
|
+
timepickerStartTime(): any;
|
|
94
|
+
timepickerEndTime(): any;
|
|
95
|
+
/**
|
|
96
|
+
* for i18n
|
|
97
|
+
*/
|
|
98
|
+
selectDateText(): any;
|
|
99
|
+
startDateText(): any;
|
|
100
|
+
endDateText(): any;
|
|
101
|
+
okText(): any;
|
|
102
|
+
yearText(): any;
|
|
103
|
+
monthText(): any;
|
|
104
|
+
MONText(): any;
|
|
105
|
+
TUEText(): any;
|
|
106
|
+
WEDText(): any;
|
|
107
|
+
THUText(): any;
|
|
108
|
+
FRIText(): any;
|
|
109
|
+
SATText(): any;
|
|
110
|
+
SUNText(): any;
|
|
111
|
+
confirmText(): any;
|
|
112
|
+
}, {
|
|
113
|
+
leaveCale(): void;
|
|
114
|
+
handleMouse(weeks: any): void;
|
|
115
|
+
rangeWithinMonth(A: any, B: any): boolean;
|
|
116
|
+
maskClick(): void;
|
|
117
|
+
clearCalender(): void;
|
|
118
|
+
bindDateChange(e: any): void;
|
|
119
|
+
/**
|
|
120
|
+
* 初始化日期显示
|
|
121
|
+
* @param {Object} date
|
|
122
|
+
*/
|
|
123
|
+
init(date: Object): void;
|
|
124
|
+
/**
|
|
125
|
+
* 打开日历弹窗
|
|
126
|
+
*/
|
|
127
|
+
open(): void;
|
|
128
|
+
/**
|
|
129
|
+
* 关闭日历弹窗
|
|
130
|
+
*/
|
|
131
|
+
close(): void;
|
|
132
|
+
/**
|
|
133
|
+
* 确认按钮
|
|
134
|
+
*/
|
|
135
|
+
confirm(): void;
|
|
136
|
+
/**
|
|
137
|
+
* 变化触发
|
|
138
|
+
*/
|
|
139
|
+
change(): void;
|
|
140
|
+
/**
|
|
141
|
+
* 选择月份触发
|
|
142
|
+
*/
|
|
143
|
+
monthSwitch(): void;
|
|
144
|
+
/**
|
|
145
|
+
* 派发事件
|
|
146
|
+
* @param {Object} name
|
|
147
|
+
*/
|
|
148
|
+
setEmit(name: Object): void;
|
|
149
|
+
/**
|
|
150
|
+
* 选择天触发
|
|
151
|
+
* @param {Object} weeks
|
|
152
|
+
*/
|
|
153
|
+
choiceDate(weeks: Object): void;
|
|
154
|
+
changeMonth(type: any): void;
|
|
155
|
+
/**
|
|
156
|
+
* 设置日期
|
|
157
|
+
* @param {Object} date
|
|
158
|
+
*/
|
|
159
|
+
setDate(date: Object): void;
|
|
160
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
161
|
+
date: {
|
|
162
|
+
type: StringConstructor;
|
|
163
|
+
default: string;
|
|
164
|
+
};
|
|
165
|
+
defTime: {
|
|
166
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
167
|
+
default: string;
|
|
168
|
+
};
|
|
169
|
+
selectableTimes: {
|
|
170
|
+
type: ObjectConstructor[];
|
|
171
|
+
default(): {};
|
|
172
|
+
};
|
|
173
|
+
selected: {
|
|
174
|
+
type: ArrayConstructor;
|
|
175
|
+
default(): never[];
|
|
176
|
+
};
|
|
177
|
+
startDate: {
|
|
178
|
+
type: StringConstructor;
|
|
179
|
+
default: string;
|
|
180
|
+
};
|
|
181
|
+
endDate: {
|
|
182
|
+
type: StringConstructor;
|
|
183
|
+
default: string;
|
|
184
|
+
};
|
|
185
|
+
startPlaceholder: {
|
|
186
|
+
type: StringConstructor;
|
|
187
|
+
default: string;
|
|
188
|
+
};
|
|
189
|
+
endPlaceholder: {
|
|
190
|
+
type: StringConstructor;
|
|
191
|
+
default: string;
|
|
192
|
+
};
|
|
193
|
+
range: {
|
|
194
|
+
type: BooleanConstructor;
|
|
195
|
+
default: boolean;
|
|
196
|
+
};
|
|
197
|
+
hasTime: {
|
|
198
|
+
type: BooleanConstructor;
|
|
199
|
+
default: boolean;
|
|
200
|
+
};
|
|
201
|
+
insert: {
|
|
202
|
+
type: BooleanConstructor;
|
|
203
|
+
default: boolean;
|
|
204
|
+
};
|
|
205
|
+
showMonth: {
|
|
206
|
+
type: BooleanConstructor;
|
|
207
|
+
default: boolean;
|
|
208
|
+
};
|
|
209
|
+
clearDate: {
|
|
210
|
+
type: BooleanConstructor;
|
|
211
|
+
default: boolean;
|
|
212
|
+
};
|
|
213
|
+
checkHover: {
|
|
214
|
+
type: BooleanConstructor;
|
|
215
|
+
default: boolean;
|
|
216
|
+
};
|
|
217
|
+
hideSecond: {
|
|
218
|
+
type: BooleanConstructor[];
|
|
219
|
+
default: boolean;
|
|
220
|
+
};
|
|
221
|
+
pleStatus: {
|
|
222
|
+
type: ObjectConstructor;
|
|
223
|
+
default(): {
|
|
224
|
+
before: string;
|
|
225
|
+
after: string;
|
|
226
|
+
data: never[];
|
|
227
|
+
fulldate: string;
|
|
228
|
+
};
|
|
229
|
+
};
|
|
230
|
+
defaultValue: {
|
|
231
|
+
type: (StringConstructor | ArrayConstructor | ObjectConstructor)[];
|
|
232
|
+
default: string;
|
|
233
|
+
};
|
|
234
|
+
}>>, {
|
|
235
|
+
selected: unknown[];
|
|
236
|
+
date: string;
|
|
237
|
+
startDate: string;
|
|
238
|
+
endDate: string;
|
|
239
|
+
range: boolean;
|
|
240
|
+
insert: boolean;
|
|
241
|
+
showMonth: boolean;
|
|
242
|
+
clearDate: boolean;
|
|
243
|
+
checkHover: boolean;
|
|
244
|
+
hideSecond: boolean;
|
|
245
|
+
defTime: string | Record<string, any>;
|
|
246
|
+
pleStatus: Record<string, any>;
|
|
247
|
+
selectableTimes: Record<string, any>;
|
|
248
|
+
startPlaceholder: string;
|
|
249
|
+
endPlaceholder: string;
|
|
250
|
+
hasTime: boolean;
|
|
251
|
+
defaultValue: string | unknown[] | Record<string, any>;
|
|
252
|
+
}>;
|
|
253
|
+
export default _default;
|