@opentiny/vue-renderless 3.13.2 → 3.14.1
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/action-sheet/index.js +20 -13
- package/action-sheet/vue.js +8 -7
- package/amount/index.js +100 -25
- package/amount/vue.js +102 -26
- package/anchor/index.js +1 -0
- package/area/index.js +8 -8
- package/area/vue.js +5 -5
- package/async-flowchart/index.js +16 -3
- package/autocomplete/index.js +58 -14
- package/autocomplete/vue.js +40 -12
- package/badge/index.js +12 -0
- package/badge/vue.js +6 -4
- package/breadcrumb/vue.js +3 -1
- package/breadcrumb-item/vue.js +6 -2
- package/button/index.js +5 -1
- package/calendar/index.js +2 -86
- package/calendar-bar/index.js +18 -4
- package/calendar-view/index.js +5 -1
- package/calendar-view/vue.js +16 -3
- package/card-group/vue.js +4 -2
- package/cascader/index.js +86 -34
- package/cascader/vue.js +61 -20
- package/cascader-menu/index.js +7 -7
- package/cascader-menu/vue.js +2 -3
- package/cascader-mobile/index.js +36 -23
- package/cascader-mobile/vue.js +6 -0
- package/cascader-node/index.js +13 -1
- package/cascader-node/vue.js +15 -4
- package/cascader-panel/index.js +1 -1
- package/cascader-select/column-index.js +150 -0
- package/cascader-select/column.js +120 -0
- package/cascader-select/index.js +29 -165
- package/cascader-select/usePicker.js +251 -0
- package/cascader-select/useTouch.js +65 -0
- package/cascader-select/vue.js +35 -47
- package/cell/vue.js +2 -1
- package/chart-bar/index.js +2 -3
- package/chart-core/deps/constants.js +43 -43
- package/chart-core/index.js +1 -1
- package/chart-gauge/index.js +2 -2
- package/chart-heatmap/index.js +17 -10
- package/chart-line/index.js +8 -9
- package/chart-tree/index.js +2 -2
- package/chart-waterfall/index.js +4 -6
- package/checkbox/index.js +18 -1
- package/checkbox/vue.js +15 -7
- package/checkbox-group/vue.js +1 -0
- package/col/vue.js +1 -1
- package/collapse/index.js +3 -3
- package/color-select-panel/vue.js +0 -7
- package/column-list-item/index.js +17 -1
- package/column-list-item/vue.js +8 -3
- package/common/bigInt.js +2 -2
- package/common/date.js +7 -5
- package/common/deps/clickoutside.js +6 -2
- package/common/deps/date-util.js +4 -2
- package/common/deps/dom.js +19 -4
- package/common/deps/popper.js +44 -11
- package/common/deps/resize-event.js +1 -0
- package/common/deps/touch-emulator.js +4 -1
- package/common/deps/tree-model/node.js +2 -2
- package/common/deps/tree-model/tree-store.js +2 -13
- package/common/deps/useRect.js +25 -0
- package/common/deps/vue-popper.js +38 -20
- package/common/index.js +2 -2
- package/common/runtime.js +1 -1
- package/common/string.js +2 -2
- package/common/type.js +2 -1
- package/common/validate/rules/enum.js +1 -1
- package/common/validate/rules/pattern.js +2 -2
- package/common/validate/rules/range.js +8 -5
- package/common/validate/rules/required.js +1 -1
- package/common/validate/rules/type.js +5 -5
- package/common/validate/rules/whitespace.js +1 -1
- package/common/validate/util.js +15 -16
- package/common/validate/validations/integer.js +1 -1
- package/common/validate/validations/method.js +1 -1
- package/currency/index.js +74 -7
- package/currency/vue.js +21 -5
- package/date-panel/index.js +16 -0
- package/date-panel/vue.js +8 -2
- package/date-picker-mobile/index.js +12 -0
- package/date-picker-mobile/vue.js +7 -1
- package/date-range/vue.js +15 -6
- package/date-table/index.js +35 -53
- package/date-table/vue.js +4 -2
- package/dialog-box/index.js +46 -14
- package/dialog-box/vue.js +30 -7
- package/dialog-select/index.js +6 -3
- package/dialog-select/vue.js +8 -4
- package/drawer/index.js +27 -5
- package/drawer/vue.js +14 -7
- package/dropdown/index.js +7 -7
- package/dropdown/vue.js +6 -2
- package/dropdown-item/index.js +9 -1
- package/dropdown-item/mf.js +6 -10
- package/dropdown-item/vue.js +20 -7
- package/dropdown-menu/index.js +20 -7
- package/dropdown-menu/vue.js +4 -3
- package/exception/index.js +2 -7
- package/exception/vue.js +7 -10
- package/fall-menu/index.js +5 -1
- package/fall-menu/vue.js +13 -2
- package/file-upload/index.js +68 -18
- package/file-upload/vue.js +38 -8
- package/filter-box/index.js +1 -0
- package/float-button/index.js +42 -0
- package/float-button/vue.js +101 -0
- package/floating-button/index.js +62 -16
- package/floating-button/vue.js +27 -9
- package/flowchart/index.js +134 -25
- package/flowchart/node.js +13 -4
- package/flowchart/vue.js +16 -4
- package/form/vue.js +8 -0
- package/form-item/index.js +5 -5
- package/form-item/vue.js +3 -1
- package/fullscreen/index.js +5 -5
- package/fullscreen/vue.js +3 -3
- package/grid/plugins/export.js +5 -2
- package/grid/utils/column.js +1 -0
- package/grid/utils/dom.js +7 -1
- package/image/index.js +6 -1
- package/image/vue.js +6 -3
- package/image-viewer/index.js +62 -51
- package/image-viewer/vue.js +17 -5
- package/input/index.js +81 -20
- package/input/vue.js +44 -18
- package/ip-address/index.js +61 -19
- package/ip-address/vue.js +22 -4
- package/link/vue.js +3 -1
- package/loading/index.js +2 -2
- package/loading/vue.js +8 -2
- package/logout/index.js +1 -1
- package/menu/index.js +15 -2
- package/menu/vue.js +22 -17
- package/mind-map/index.js +47 -0
- package/mind-map/vue.js +53 -0
- package/modal/index.js +44 -4
- package/modal/vue.js +18 -4
- package/multi-select/index.js +186 -11
- package/multi-select/vue.js +60 -15
- package/multi-select-item/index.js +23 -0
- package/multi-select-item/vue.js +31 -0
- package/numeric/index.js +48 -12
- package/numeric/vue.js +44 -19
- package/option/index.js +27 -9
- package/option/vue.js +37 -21
- package/option-group/index.js +3 -3
- package/package.json +1 -1
- package/pager/index.js +18 -4
- package/pager/vue.js +16 -5
- package/picker/index.js +290 -77
- package/picker/mb.js +42 -0
- package/picker/vue.js +76 -20
- package/picker-column/index.js +1 -1
- package/pop-upload/vue.js +3 -0
- package/popconfirm/index.js +3 -6
- package/popconfirm/vue.js +1 -1
- package/popeditor/index.js +73 -34
- package/popeditor/vue.js +15 -11
- package/popover/index.js +4 -4
- package/popover/vue.js +6 -6
- package/popup/index.js +3 -3
- package/popup/vue.js +5 -5
- package/pull-refresh/index.js +13 -13
- package/pull-refresh/vue.js +5 -4
- package/radio/index.js +0 -17
- package/radio/vue.js +4 -10
- package/rate/index.js +1 -1
- package/rate/vue.js +0 -2
- package/record/index.js +4 -1
- package/rich-text/clipboard.js +54 -0
- package/rich-text/index.js +192 -0
- package/rich-text/module/file-upload.js +107 -0
- package/rich-text/module/image-drop.js +63 -0
- package/rich-text/module/image-upload.js +89 -0
- package/rich-text/options.js +141 -0
- package/rich-text/table-module.js +382 -0
- package/rich-text/vue.js +102 -0
- package/{rich-text-edtior → rich-text-editor}/index.js +2 -2
- package/{rich-text-edtior → rich-text-editor}/vue.js +2 -5
- package/scrollbar/index.js +11 -11
- package/scrollbar/vue-bar.js +3 -3
- package/scrollbar/vue.js +5 -5
- package/search/index.js +9 -9
- package/search/vue.js +8 -6
- package/select/index.js +442 -393
- package/select/vue.js +278 -164
- package/select-dropdown/index.js +61 -3
- package/select-dropdown/vue.js +85 -8
- package/select-view/index.js +3 -1
- package/selected-box/index.js +2 -0
- package/selected-box/vue.js +6 -3
- package/signature/index.js +241 -0
- package/signature/vue.js +88 -0
- package/skeleton/index.js +14 -0
- package/skeleton/vue.js +15 -0
- package/skeleton-item/vue.js +15 -0
- package/slider/index.js +70 -17
- package/slider/vue.js +16 -7
- package/split/index.js +5 -3
- package/split/vue.js +4 -6
- package/standard-list-item/index.js +15 -1
- package/standard-list-item/vue.js +6 -5
- package/steps/index.js +25 -2
- package/steps/slide-bar.js +8 -1
- package/steps/vue.js +15 -3
- package/tab-item-mf/vue.js +14 -8
- package/tab-nav/index.js +30 -5
- package/tab-nav/vue.js +16 -4
- package/tabbar/vue.js +9 -3
- package/tabbar-item/vue.js +3 -2
- package/tabs/index.js +16 -4
- package/tabs/vue.js +2 -1
- package/tabs-mf/index.js +20 -6
- package/tabs-mf/vue-nav.js +26 -11
- package/tabs-mf/vue.js +7 -7
- package/tabs-mf/wheel.js +1 -0
- package/tag/index.js +1 -1
- package/tag-group/index.js +2 -1
- package/time/index.js +5 -2
- package/time/vue.js +1 -1
- package/time-line/index.js +3 -3
- package/time-line/vue.js +2 -2
- package/time-picker-mobile/index.js +24 -5
- package/time-picker-mobile/vue.js +17 -7
- package/time-range/index.js +2 -0
- package/timeline-item/vue.js +1 -1
- package/tooltip/index.js +6 -3
- package/tooltip/vue.js +4 -4
- package/transfer/index.js +20 -22
- package/transfer/vue.js +1 -6
- package/transfer-panel/vue.js +3 -5
- package/tree/index.js +21 -4
- package/tree/vue.js +10 -8
- package/tree-menu/index.js +29 -3
- package/tree-menu/vue.js +28 -15
- package/tree-node/index.js +18 -18
- package/tree-node/vue.js +6 -5
- package/types/action-sheet.type.d.ts +118 -1
- package/types/amount.type.d.ts +168 -1
- package/types/area.type.d.ts +134 -1
- package/types/async-flowchart.type.d.ts +72 -0
- package/types/autocomplete.type.d.ts +199 -1
- package/types/badge.type.d.ts +3 -1
- package/types/breadcrumb-item.type.d.ts +2 -0
- package/types/breadcrumb.type.d.ts +2 -0
- package/types/button-group.type.d.ts +3 -3
- package/types/button.type.d.ts +4 -0
- package/types/cascader-menu.type.d.ts +3 -4
- package/types/cascader-node.type.d.ts +5 -2
- package/types/cascader-panel.type-2bd03be3.d.ts +241 -0
- package/types/cascader-panel.type.d.ts +3 -241
- package/types/cascader.type.d.ts +329 -1
- package/types/checkbox.type.d.ts +6 -0
- package/types/collapse.type.d.ts +19 -2
- package/types/date-picker.type.d.ts +38 -1
- package/types/dialog-box.type.d.ts +13 -3
- package/types/drawer.type.d.ts +133 -1
- package/types/{dropdown-item.type-8ea6c633.d.ts → dropdown-item.type-8475a549.d.ts} +7 -13
- package/types/dropdown-item.type.d.ts +1 -1
- package/types/dropdown-menu.type.d.ts +1 -1
- package/types/dropdown.type.d.ts +1 -5
- package/types/fall-menu.type.d.ts +94 -1
- package/types/file-upload.type.d.ts +1 -1
- package/types/float-button.type.d.ts +123 -0
- package/types/form-item.type.d.ts +1 -1
- package/types/{form.type-d0fd42f3.d.ts → form.type-a2dc0099.d.ts} +4 -1
- package/types/form.type.d.ts +1 -1
- package/types/{index-e0250f63.d.ts → index-b012f687.d.ts} +9 -0
- package/types/input.type.d.ts +2 -6
- package/types/ip-address.type.d.ts +160 -1
- package/types/link.type.d.ts +6 -3
- package/types/loading.type.d.ts +7 -0
- package/types/mind-map.type.d.ts +20 -0
- package/types/modal.type.d.ts +29 -2
- package/types/numeric.type.d.ts +41 -10
- package/types/pager.type.d.ts +12 -0
- package/types/picker.type.d.ts +18 -0
- package/types/popconfirm.type.d.ts +86 -1
- package/types/popeditor.type.d.ts +4 -0
- package/types/popover.type.d.ts +3 -3
- package/types/progress.type.d.ts +2 -0
- package/types/radio.type.d.ts +0 -4
- package/types/rate.type.d.ts +236 -1
- package/types/search.type.d.ts +88 -1
- package/types/shared.type.d.ts +1 -1
- package/types/skeleton-item.type.d.ts +38 -0
- package/types/skeleton.type.d.ts +45 -0
- package/types/slider.type.d.ts +49 -10
- package/types/steps.type.d.ts +14 -3
- package/types/tab-bar.type.d.ts +1 -1
- package/types/tab-nav.type.d.ts +7 -2
- package/types/tabs.type.d.ts +9 -1
- package/types/tag-group.type.d.ts +64 -1
- package/types/{time-line.type-d7daa669.d.ts → time-line.type-b155cb4f.d.ts} +12 -0
- package/types/time-line.type.d.ts +1 -1
- package/types/timeline-item.type.d.ts +1 -1
- package/types/tooltip.type.d.ts +2 -2
- package/types/transfer.type.d.ts +185 -1
- package/types/tree-menu.type.d.ts +210 -1
- package/types/upload-dragger.type.d.ts +1 -1
- package/types/{upload-list.type-343e8c11.d.ts → upload-list.type-6d6e3d0e.d.ts} +35 -8
- package/types/upload-list.type.d.ts +1 -1
- package/types/upload.type.d.ts +1 -1
- package/types/user-head.type.d.ts +146 -1
- package/types/wizard.type.d.ts +1 -0
- package/upload/index.js +64 -34
- package/upload/vue.js +9 -5
- package/upload-dragger/index.js +22 -20
- package/upload-list/index.js +24 -18
- package/upload-list/vue.js +9 -4
- package/user/index.js +35 -26
- package/user/vue.js +1 -1
- package/user-head/index.js +3 -3
- package/watermark/index.js +11 -0
- package/wheel/index.js +3 -0
- package/wizard/vue.js +4 -2
- package/common/deps/modal-queue.js +0 -6
- package/common/deps/requestAnimationFrame.js +0 -25
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import 'vue';
|
|
2
|
-
export { k as IDropdownItemApi, i as IDropdownItemConstants, q as IDropdownItemMfDataStore, p as IDropdownItemOptionStyle, h as IDropdownItemProps, m as IDropdownItemRenderlessParamUtils, l as IDropdownItemRenderlessParams, j as IDropdownItemState, n as IDropdownItemStyle, o as IDropdownItemTag, g as IDropdownItemVm } from './dropdown-item.type-
|
|
2
|
+
export { k as IDropdownItemApi, i as IDropdownItemConstants, q as IDropdownItemMfDataStore, p as IDropdownItemOptionStyle, h as IDropdownItemProps, m as IDropdownItemRenderlessParamUtils, l as IDropdownItemRenderlessParams, j as IDropdownItemState, n as IDropdownItemStyle, o as IDropdownItemTag, g as IDropdownItemVm } from './dropdown-item.type-8475a549.js';
|
|
3
3
|
import './shared.type.js';
|
|
4
4
|
import './dropdown.type.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import 'vue';
|
|
2
|
-
export { b as IDropdownMenuApi, e as IDropdownMenuPopperParams, I as IDropdownMenuProps, d as IDropdownMenuRenderlessParamUtils, c as IDropdownMenuRenderlessParams, a as IDropdownMenuState, f as IDropdownMenuVm } from './dropdown-item.type-
|
|
2
|
+
export { b as IDropdownMenuApi, e as IDropdownMenuPopperParams, I as IDropdownMenuProps, d as IDropdownMenuRenderlessParamUtils, c as IDropdownMenuRenderlessParams, a as IDropdownMenuState, f as IDropdownMenuVm } from './dropdown-item.type-8475a549.js';
|
|
3
3
|
import './shared.type.js';
|
|
4
4
|
import './dropdown.type.js';
|
package/types/dropdown.type.d.ts
CHANGED
|
@@ -4,10 +4,7 @@ import { ISharedRenderlessFunctionParams, ISharedRenderlessParamUtils } from './
|
|
|
4
4
|
declare const dropdownProps: {
|
|
5
5
|
modelValue: (StringConstructor | NumberConstructor)[];
|
|
6
6
|
type: StringConstructor;
|
|
7
|
-
trigger:
|
|
8
|
-
type: StringConstructor;
|
|
9
|
-
default: string;
|
|
10
|
-
};
|
|
7
|
+
trigger: StringConstructor;
|
|
11
8
|
size: {
|
|
12
9
|
type: StringConstructor;
|
|
13
10
|
default: string;
|
|
@@ -103,7 +100,6 @@ interface IDropdownState {
|
|
|
103
100
|
listId: string;
|
|
104
101
|
showIcon: boolean;
|
|
105
102
|
showSelfIcon: boolean;
|
|
106
|
-
isDisabled: boolean;
|
|
107
103
|
designConfig: IDropdownRenderlessParamUtils['designConfig'];
|
|
108
104
|
}
|
|
109
105
|
interface IDropdownApi {
|
|
@@ -1,2 +1,95 @@
|
|
|
1
|
+
import { ExtractPropTypes, Ref } from 'vue';
|
|
1
2
|
|
|
2
|
-
|
|
3
|
+
interface IData {
|
|
4
|
+
children: IData[];
|
|
5
|
+
url: string;
|
|
6
|
+
}
|
|
7
|
+
declare const fallMenuProps: {
|
|
8
|
+
data: {
|
|
9
|
+
type: {
|
|
10
|
+
(arrayLength: number): IData[];
|
|
11
|
+
(...items: IData[]): IData[];
|
|
12
|
+
new (arrayLength: number): IData[];
|
|
13
|
+
new (...items: IData[]): IData[];
|
|
14
|
+
isArray(arg: any): arg is any[];
|
|
15
|
+
readonly prototype: any[];
|
|
16
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
17
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
18
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
19
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
20
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
21
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
22
|
+
};
|
|
23
|
+
default: () => never[];
|
|
24
|
+
};
|
|
25
|
+
tiny_mode: StringConstructor;
|
|
26
|
+
tiny_mode_root: BooleanConstructor;
|
|
27
|
+
tiny_template: (FunctionConstructor | ObjectConstructor)[];
|
|
28
|
+
tiny_renderless: FunctionConstructor;
|
|
29
|
+
tiny_theme: StringConstructor;
|
|
30
|
+
tiny_chart_theme: ObjectConstructor;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
declare const arrowClick: (state: IFallMenuState) => (opt: any) => void;
|
|
34
|
+
declare const overContent: (state: IFallMenuState) => (on: any) => void;
|
|
35
|
+
declare const mouseover: ({ fall, props, state }: {
|
|
36
|
+
fall: any;
|
|
37
|
+
props: IFallMenuProps;
|
|
38
|
+
state: IFallMenuState;
|
|
39
|
+
}) => (index: any) => void;
|
|
40
|
+
declare const mouseout: (state: IFallMenuState) => () => void;
|
|
41
|
+
declare const computePx: ({ props, refs, state }: {
|
|
42
|
+
props: IFallMenuProps;
|
|
43
|
+
refs: any;
|
|
44
|
+
state: IFallMenuState;
|
|
45
|
+
}) => () => void;
|
|
46
|
+
declare const reRender: ({ api, state, timeout }: {
|
|
47
|
+
api: IFallMenuApi;
|
|
48
|
+
state: IFallMenuState;
|
|
49
|
+
timeout?: NodeJS.Timeout | undefined;
|
|
50
|
+
}) => () => void;
|
|
51
|
+
declare const mounted: ({ api }: {
|
|
52
|
+
api: any;
|
|
53
|
+
}) => () => void;
|
|
54
|
+
declare const beforeDestroy: (api: any) => () => void;
|
|
55
|
+
declare const computeLeft: ({ state }: {
|
|
56
|
+
state: any;
|
|
57
|
+
}) => () => any;
|
|
58
|
+
declare const computeData: ({ props }: {
|
|
59
|
+
props: IFallMenuProps;
|
|
60
|
+
}) => () => IData[];
|
|
61
|
+
|
|
62
|
+
interface IPagerData {
|
|
63
|
+
data: IFallMenuProps['data'];
|
|
64
|
+
offset: string[];
|
|
65
|
+
index: number[];
|
|
66
|
+
size?: number;
|
|
67
|
+
}
|
|
68
|
+
interface IFallMenuState {
|
|
69
|
+
pager: number;
|
|
70
|
+
level2data: IFallMenuProps['data'];
|
|
71
|
+
activeNode: null;
|
|
72
|
+
isActive: boolean;
|
|
73
|
+
pagerData: IPagerData;
|
|
74
|
+
left: any;
|
|
75
|
+
data: IFallMenuProps['data'];
|
|
76
|
+
}
|
|
77
|
+
type IFallMenuProps = ExtractPropTypes<typeof fallMenuProps> & {
|
|
78
|
+
value: boolean;
|
|
79
|
+
};
|
|
80
|
+
interface IFallMenuApi {
|
|
81
|
+
fall: Ref<null>;
|
|
82
|
+
state: IFallMenuState;
|
|
83
|
+
computePx: ReturnType<typeof computePx>;
|
|
84
|
+
mounted: ReturnType<typeof mounted>;
|
|
85
|
+
computeLeft: ReturnType<typeof computeLeft>;
|
|
86
|
+
beforeDestroy: ReturnType<typeof beforeDestroy>;
|
|
87
|
+
computeData: ReturnType<typeof computeData>;
|
|
88
|
+
arrowClick: ReturnType<typeof arrowClick>;
|
|
89
|
+
overContent: ReturnType<typeof overContent>;
|
|
90
|
+
mouseout: ReturnType<typeof mouseout>;
|
|
91
|
+
mouseover: ReturnType<typeof mouseover>;
|
|
92
|
+
reRender: ReturnType<typeof reRender>;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export { IFallMenuApi, IFallMenuProps, IFallMenuState, IPagerData };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import 'vue';
|
|
2
|
-
export { C as IFileUploadAfterDownload, m as IFileUploadApi, D as IFileUploadBatchSegmentDownload, y as IFileUploadBatchSegmentUpload, a as IFileUploadConstants, w as IFileUploadDownloadFileInner, x as IFileUploadDownloadFileSingle, u as IFileUploadDownloadFileSingleInner, t as IFileUploadEdmDownload, s as IFileUploadFile, A as IFileUploadGetFormData, v as IFileUploadLargeDocumentDownload, r as IFileUploadModalVm, o as IFileUploadProps, p as IFileUploadRenderlessParamUtils, q as IFileUploadRenderlessParams, z as IFileUploadSegmentUploadInner, n as IFileUploadService, B as IFileUploadSetWriterFile, E as IFileUploadSliceDownloadChunk, l as IFileUploadState, F as IFileUploadStreamsaver, I as IFileUploadVm } from './upload-list.type-
|
|
2
|
+
export { C as IFileUploadAfterDownload, m as IFileUploadApi, D as IFileUploadBatchSegmentDownload, y as IFileUploadBatchSegmentUpload, a as IFileUploadConstants, w as IFileUploadDownloadFileInner, x as IFileUploadDownloadFileSingle, u as IFileUploadDownloadFileSingleInner, t as IFileUploadEdmDownload, s as IFileUploadFile, A as IFileUploadGetFormData, v as IFileUploadLargeDocumentDownload, r as IFileUploadModalVm, o as IFileUploadProps, p as IFileUploadRenderlessParamUtils, q as IFileUploadRenderlessParams, z as IFileUploadSegmentUploadInner, n as IFileUploadService, B as IFileUploadSetWriterFile, E as IFileUploadSliceDownloadChunk, l as IFileUploadState, F as IFileUploadStreamsaver, I as IFileUploadVm } from './upload-list.type-6d6e3d0e.js';
|
|
3
3
|
import './shared.type.js';
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { ComputedRef, ExtractPropTypes } from 'vue';
|
|
2
|
+
import { ISharedRenderlessFunctionParams, ISharedRenderlessParamUtils } from './shared.type.js';
|
|
3
|
+
|
|
4
|
+
declare const floatButtonProps: {
|
|
5
|
+
trigger: {
|
|
6
|
+
default: string;
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
validator(val: string): boolean;
|
|
9
|
+
};
|
|
10
|
+
open: BooleanConstructor;
|
|
11
|
+
shape: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
14
|
+
validator(val: string): boolean;
|
|
15
|
+
};
|
|
16
|
+
top: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
bottom: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
right: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
left: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
href: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
target: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
type: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
default: string;
|
|
43
|
+
};
|
|
44
|
+
icon: {
|
|
45
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
description: {
|
|
49
|
+
type: StringConstructor;
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
52
|
+
tooltip: {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
56
|
+
resetTime: {
|
|
57
|
+
type: NumberConstructor;
|
|
58
|
+
default: number;
|
|
59
|
+
};
|
|
60
|
+
size: {
|
|
61
|
+
type: StringConstructor;
|
|
62
|
+
default: string;
|
|
63
|
+
validator(val: string): boolean;
|
|
64
|
+
};
|
|
65
|
+
loading: BooleanConstructor;
|
|
66
|
+
disabled: BooleanConstructor;
|
|
67
|
+
backTop: BooleanConstructor;
|
|
68
|
+
visibilityHeight: {
|
|
69
|
+
default: number;
|
|
70
|
+
type: NumberConstructor;
|
|
71
|
+
};
|
|
72
|
+
element: {
|
|
73
|
+
default: HTMLElement;
|
|
74
|
+
type: {
|
|
75
|
+
new (): HTMLElement;
|
|
76
|
+
prototype: HTMLElement;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
tiny_mode: StringConstructor;
|
|
80
|
+
tiny_mode_root: BooleanConstructor;
|
|
81
|
+
tiny_template: (FunctionConstructor | ObjectConstructor)[];
|
|
82
|
+
tiny_renderless: FunctionConstructor;
|
|
83
|
+
tiny_theme: StringConstructor;
|
|
84
|
+
tiny_chart_theme: ObjectConstructor;
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Copyright (c) 2022 - present TinyVue Authors.
|
|
89
|
+
* Copyright (c) 2022 - present Huawei Cloud Computing Technologies Co., Ltd.
|
|
90
|
+
*
|
|
91
|
+
* Use of this source code is governed by an MIT-style license.
|
|
92
|
+
*
|
|
93
|
+
* THE OPEN SOURCE SOFTWARE IN THIS PRODUCT IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL,
|
|
94
|
+
* BUT WITHOUT ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR
|
|
95
|
+
* A PARTICULAR PURPOSE. SEE THE APPLICABLE LICENSES FOR MORE DETAILS.
|
|
96
|
+
*
|
|
97
|
+
*/
|
|
98
|
+
|
|
99
|
+
declare const handleClick: ({ emit, props, state }: Pick<IFloatButtonRenderlessParams, 'emit' | 'props' | 'state'>) => (event: MouseEvent) => void;
|
|
100
|
+
declare const clearTimer: (state: IFloatButtonState) => () => void;
|
|
101
|
+
|
|
102
|
+
interface IFloatButtonState {
|
|
103
|
+
timer: number;
|
|
104
|
+
disabled: boolean;
|
|
105
|
+
open: Boolean;
|
|
106
|
+
show: Boolean;
|
|
107
|
+
hasEvent: Boolean;
|
|
108
|
+
formDisabled: ComputedRef<boolean>;
|
|
109
|
+
buttonDisabled: ComputedRef<boolean>;
|
|
110
|
+
}
|
|
111
|
+
type IFloatButtonRenderlessParams = ISharedRenderlessFunctionParams<never> & {
|
|
112
|
+
state: IFloatButtonState;
|
|
113
|
+
props: IFloatButtonProps;
|
|
114
|
+
};
|
|
115
|
+
type IFloatButtonProps = ExtractPropTypes<typeof floatButtonProps>;
|
|
116
|
+
interface IFloatButtonApi {
|
|
117
|
+
state: IFloatButtonState;
|
|
118
|
+
clearTimer: ReturnType<typeof clearTimer>;
|
|
119
|
+
handleClick: ReturnType<typeof handleClick>;
|
|
120
|
+
}
|
|
121
|
+
type IFloatButtonRenderlessParamUtils = ISharedRenderlessParamUtils<never>;
|
|
122
|
+
|
|
123
|
+
export { IFloatButtonApi, IFloatButtonProps, IFloatButtonRenderlessParamUtils, IFloatButtonRenderlessParams, IFloatButtonState };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import 'vue';
|
|
2
|
-
export { i as IFormItemApi, f as IFormItemConstants, I as IFormItemDisplayedValueParam, k as IFormItemInstance, c as IFormItemLabelStyle, g as IFormItemProps, j as IFormItemRenderlessParamUtils, h as IFormItemRenderlessParams, d as IFormItemRule, e as IFormItemState, b as IFormItemTrigger, a as IFormItemValidateStatus } from './form.type-
|
|
2
|
+
export { i as IFormItemApi, f as IFormItemConstants, I as IFormItemDisplayedValueParam, k as IFormItemInstance, c as IFormItemLabelStyle, g as IFormItemProps, j as IFormItemRenderlessParamUtils, h as IFormItemRenderlessParams, d as IFormItemRule, e as IFormItemState, b as IFormItemTrigger, a as IFormItemValidateStatus } from './form.type-a2dc0099.js';
|
|
3
3
|
import './shared.type.js';
|
|
@@ -136,7 +136,7 @@ declare const formItemProps: {
|
|
|
136
136
|
prop: StringConstructor;
|
|
137
137
|
required: {
|
|
138
138
|
type: BooleanConstructor;
|
|
139
|
-
default:
|
|
139
|
+
default: undefined;
|
|
140
140
|
};
|
|
141
141
|
rules: (ObjectConstructor | ArrayConstructor)[];
|
|
142
142
|
showMessage: {
|
|
@@ -279,6 +279,7 @@ interface IFormItemState {
|
|
|
279
279
|
validateIcon: object | null;
|
|
280
280
|
isErrorInline: boolean;
|
|
281
281
|
isErrorBlock: boolean;
|
|
282
|
+
tooltipType: string;
|
|
282
283
|
}
|
|
283
284
|
type IFormItemConstants = typeof $constants;
|
|
284
285
|
type IFormItemProps = ExtractPropTypes<typeof formItemProps>;
|
|
@@ -373,6 +374,8 @@ interface IFormState {
|
|
|
373
374
|
validateIcon: object | null;
|
|
374
375
|
isErrorInline: boolean;
|
|
375
376
|
isErrorBlock: boolean;
|
|
377
|
+
labelWidth: string;
|
|
378
|
+
tooltipType: string;
|
|
376
379
|
}
|
|
377
380
|
type IFormProps = ExtractPropTypes<typeof formProps>;
|
|
378
381
|
type IFormRenderlessParams = ISharedRenderlessFunctionParams<never> & {
|
package/types/form.type.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import 'vue';
|
|
2
|
-
export { p as IFormApi, r as IFormInstance, n as IFormProps, q as IFormRenderlessParamUtils, o as IFormRenderlessParams, l as IFormRules, m as IFormState } from './form.type-
|
|
2
|
+
export { p as IFormApi, r as IFormInstance, n as IFormProps, q as IFormRenderlessParamUtils, o as IFormRenderlessParams, l as IFormRules, m as IFormState } from './form.type-a2dc0099.js';
|
|
3
3
|
import './shared.type.js';
|
|
@@ -5,6 +5,7 @@ declare const tabNavPcProps: {
|
|
|
5
5
|
};
|
|
6
6
|
currentName: StringConstructor;
|
|
7
7
|
editable: BooleanConstructor;
|
|
8
|
+
overflowTitle: BooleanConstructor;
|
|
8
9
|
onTabClick: {
|
|
9
10
|
type: FunctionConstructor;
|
|
10
11
|
default: () => void;
|
|
@@ -18,10 +19,18 @@ declare const tabNavPcProps: {
|
|
|
18
19
|
showMoreTabs: BooleanConstructor;
|
|
19
20
|
showPanesCount: NumberConstructor;
|
|
20
21
|
popperClass: StringConstructor;
|
|
22
|
+
popperAppendToBody: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
21
26
|
dropConfig: {
|
|
22
27
|
type: ObjectConstructor;
|
|
23
28
|
default: () => null;
|
|
24
29
|
};
|
|
30
|
+
titleWidth: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
25
34
|
tooltipConfig: (StringConstructor | ObjectConstructor)[];
|
|
26
35
|
tiny_mode: StringConstructor;
|
|
27
36
|
tiny_mode_root: BooleanConstructor;
|
package/types/input.type.d.ts
CHANGED
|
@@ -231,7 +231,7 @@ declare const calculateNodeStyling: () => (targetElement: HTMLElement) => {
|
|
|
231
231
|
borderSize: number;
|
|
232
232
|
boxSizing: string;
|
|
233
233
|
};
|
|
234
|
-
declare const calcTextareaHeight: ({ api, hiddenTextarea, props, state }: Pick<IInputRenderlessParams, "state" | "
|
|
234
|
+
declare const calcTextareaHeight: ({ api, hiddenTextarea, props, state }: Pick<IInputRenderlessParams, "state" | "props" | "api"> & {
|
|
235
235
|
hiddenTextarea: HTMLTextAreaElement | null;
|
|
236
236
|
}) => (targetElement: HTMLTextAreaElement, minRows?: number, maxRows?: null) => {
|
|
237
237
|
minHeight?: string | undefined;
|
|
@@ -240,7 +240,7 @@ declare const calcTextareaHeight: ({ api, hiddenTextarea, props, state }: Pick<I
|
|
|
240
240
|
declare const getInput: (vm: IInputRenderlessParamUtils['vm']) => () => HTMLTextAreaElement | HTMLInputElement;
|
|
241
241
|
declare const focus: (api: IInputApi) => () => void;
|
|
242
242
|
declare const handleInput: ({ api, emit, nextTick, state }: Pick<IInputRenderlessParams, 'api' | 'emit' | 'nextTick' | 'state'>) => (event: Event) => void;
|
|
243
|
-
declare const resizeTextarea: ({ api, parent,
|
|
243
|
+
declare const resizeTextarea: ({ api, parent, vm, state, props }: Pick<IInputRenderlessParams, 'api' | 'parent' | 'vm' | 'state' | 'props'>) => () => void;
|
|
244
244
|
declare const setNativeInputValue: ({ api, state }: Pick<IInputRenderlessParams, 'api' | 'state'>) => () => void;
|
|
245
245
|
declare const calcIconOffset: ({ CLASS_PREFIX, parent }: Pick<IInputRenderlessParams, "parent"> & {
|
|
246
246
|
CLASS_PREFIX: IInputClassPrefixConstants;
|
|
@@ -248,8 +248,6 @@ declare const calcIconOffset: ({ CLASS_PREFIX, parent }: Pick<IInputRenderlessPa
|
|
|
248
248
|
declare const updateIconOffset: (api: IInputApi) => () => void;
|
|
249
249
|
declare const watchFormSelect: ({ emit, props, state }: Pick<IInputRenderlessParams, 'emit' | 'props' | 'state'>) => (value: string | number | undefined) => void;
|
|
250
250
|
declare const hiddenPassword: ({ state, props }: Pick<IInputRenderlessParams, 'state' | 'props'>) => () => string;
|
|
251
|
-
declare const dispatchDisplayedValue: ({ state, props, dispatch, api }: Pick<IInputRenderlessParams, 'state' | 'props' | 'dispatch' | 'api'>) => () => void;
|
|
252
|
-
declare const getDisplayedValue: ({ state, props }: Pick<IInputRenderlessParams, 'state' | 'props'>) => () => string;
|
|
253
251
|
|
|
254
252
|
interface IInputState {
|
|
255
253
|
mode: string;
|
|
@@ -291,7 +289,6 @@ interface IInputApi extends Pick<IInputRenderlessParamUtils, 'dispatch'> {
|
|
|
291
289
|
setNativeInputValue: ReturnType<typeof setNativeInputValue>;
|
|
292
290
|
resizeTextarea: ReturnType<typeof resizeTextarea>;
|
|
293
291
|
updateIconOffset: ReturnType<typeof updateIconOffset>;
|
|
294
|
-
dispatchDisplayedValue: ReturnType<typeof dispatchDisplayedValue>;
|
|
295
292
|
hiddenPassword: ReturnType<typeof hiddenPassword>;
|
|
296
293
|
watchFormSelect: ReturnType<typeof watchFormSelect>;
|
|
297
294
|
getInput: ReturnType<typeof getInput>;
|
|
@@ -300,7 +297,6 @@ interface IInputApi extends Pick<IInputRenderlessParamUtils, 'dispatch'> {
|
|
|
300
297
|
handleInput: ReturnType<typeof handleInput>;
|
|
301
298
|
calcIconOffset: ReturnType<typeof calcIconOffset>;
|
|
302
299
|
focus: ReturnType<typeof focus>;
|
|
303
|
-
getDisplayedValue: ReturnType<typeof getDisplayedValue>;
|
|
304
300
|
inputStyle: ReturnType<typeof inputStyle>;
|
|
305
301
|
}
|
|
306
302
|
type IInputRenderlessParams = ISharedRenderlessFunctionParams<IInputConstants> & {
|
|
@@ -1,2 +1,161 @@
|
|
|
1
|
+
import { ComputedRef, ExtractPropTypes } from 'vue';
|
|
2
|
+
import { ITinyVm, ISharedRenderlessParamUtils } from './shared.type.js';
|
|
1
3
|
|
|
2
|
-
|
|
4
|
+
declare const ipAddressProps: {
|
|
5
|
+
size: StringConstructor;
|
|
6
|
+
/**
|
|
7
|
+
* @property {String} value - 显示值
|
|
8
|
+
*/
|
|
9
|
+
modelValue: StringConstructor;
|
|
10
|
+
/**
|
|
11
|
+
* @property {String} [type = IPv4] - IP地址输入组件类型('IPv4', 'IPv6',)可选择
|
|
12
|
+
*/
|
|
13
|
+
type: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
|
+
validator: (value: string) => boolean;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* @property {Boolean} readonly - 只读
|
|
20
|
+
*/
|
|
21
|
+
readonly: BooleanConstructor;
|
|
22
|
+
/**
|
|
23
|
+
* @property {Boolean} disabled - 禁用
|
|
24
|
+
*/
|
|
25
|
+
disabled: BooleanConstructor;
|
|
26
|
+
/**
|
|
27
|
+
* @property {String, Object} [delimiter = .] - 组件IP段显示的分隔符改为图标
|
|
28
|
+
*/
|
|
29
|
+
delimiter: {
|
|
30
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
tiny_mode: StringConstructor; /**
|
|
34
|
+
* @property {Boolean} readonly - 只读
|
|
35
|
+
*/
|
|
36
|
+
tiny_mode_root: BooleanConstructor;
|
|
37
|
+
tiny_template: (FunctionConstructor | ObjectConstructor)[];
|
|
38
|
+
/**
|
|
39
|
+
* @property {Boolean} disabled - 禁用
|
|
40
|
+
*/
|
|
41
|
+
tiny_renderless: FunctionConstructor;
|
|
42
|
+
tiny_theme: StringConstructor;
|
|
43
|
+
tiny_chart_theme: ObjectConstructor;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
declare const isIP6: (str: string) => boolean;
|
|
47
|
+
declare const isIP4: (str: string) => boolean;
|
|
48
|
+
declare const ipValidator: ({ props, api }: {
|
|
49
|
+
props: IIpAddressProps;
|
|
50
|
+
api: IIpAddressApi;
|
|
51
|
+
}) => (value: string) => boolean;
|
|
52
|
+
declare const getCursorPosition: (el: any) => number;
|
|
53
|
+
declare const getValue: ({ api, props, state }: {
|
|
54
|
+
api: IIpAddressApi;
|
|
55
|
+
props: IIpAddressProps;
|
|
56
|
+
state: IIpAddressState;
|
|
57
|
+
}) => () => string;
|
|
58
|
+
declare const setValue: ({ api, props, state }: {
|
|
59
|
+
api: IIpAddressApi;
|
|
60
|
+
props: IIpAddressProps;
|
|
61
|
+
state: IIpAddressState;
|
|
62
|
+
}) => (value: string) => void;
|
|
63
|
+
declare const focus: ({ emit, parent, state }: {
|
|
64
|
+
emit: IIpAddressRenderlessParamUtils['emit'];
|
|
65
|
+
parent: IIpAddressRenderlessParamUtils['parent'];
|
|
66
|
+
state: IIpAddressState;
|
|
67
|
+
props?: IIpAddressProps | undefined;
|
|
68
|
+
}) => ({ index, event }: {
|
|
69
|
+
index: number;
|
|
70
|
+
event?: any;
|
|
71
|
+
}) => void;
|
|
72
|
+
declare const select: ({ emit, parent, state }: {
|
|
73
|
+
emit: IIpAddressRenderlessParamUtils['emit'];
|
|
74
|
+
parent: IIpAddressRenderlessParamUtils['parent'];
|
|
75
|
+
state: IIpAddressState;
|
|
76
|
+
props?: IIpAddressProps | undefined;
|
|
77
|
+
}) => ({ index, event }: {
|
|
78
|
+
index: number;
|
|
79
|
+
event?: any;
|
|
80
|
+
}) => void;
|
|
81
|
+
declare const inputEvent: ({ api, componentName, emit, eventName, props }: {
|
|
82
|
+
api: IIpAddressApi;
|
|
83
|
+
componentName: any;
|
|
84
|
+
emit: any;
|
|
85
|
+
eventName: any;
|
|
86
|
+
props: any;
|
|
87
|
+
}) => ({ item, index }: {
|
|
88
|
+
item: any;
|
|
89
|
+
index: any;
|
|
90
|
+
}) => void;
|
|
91
|
+
declare const change: ({ api, emit }: {
|
|
92
|
+
api: IIpAddressApi;
|
|
93
|
+
emit: IIpAddressRenderlessParamUtils['emit'];
|
|
94
|
+
}) => () => void;
|
|
95
|
+
declare const blur: ({ api, componentName, emit, eventName, props, state }: {
|
|
96
|
+
api: IIpAddressApi;
|
|
97
|
+
componentName: string;
|
|
98
|
+
emit: IIpAddressRenderlessParamUtils['emit'];
|
|
99
|
+
eventName: string;
|
|
100
|
+
props: IIpAddressProps;
|
|
101
|
+
state: IIpAddressState;
|
|
102
|
+
}) => ({ item, index }: {
|
|
103
|
+
item: any;
|
|
104
|
+
index: any;
|
|
105
|
+
}) => void;
|
|
106
|
+
declare const keyup: ({ api, props }: {
|
|
107
|
+
api: IIpAddressApi;
|
|
108
|
+
props: IIpAddressProps;
|
|
109
|
+
parent?: ITinyVm<null> | undefined;
|
|
110
|
+
}) => ({ item, index, event }: {
|
|
111
|
+
item: any;
|
|
112
|
+
index: any;
|
|
113
|
+
event: any;
|
|
114
|
+
}) => false | undefined;
|
|
115
|
+
declare const keydown: ({ api, props, state }: {
|
|
116
|
+
api: IIpAddressApi;
|
|
117
|
+
props: IIpAddressProps;
|
|
118
|
+
state: IIpAddressState;
|
|
119
|
+
}) => ({ item, index, event }: {
|
|
120
|
+
item: any;
|
|
121
|
+
index: number;
|
|
122
|
+
event: KeyboardEvent;
|
|
123
|
+
}) => false | undefined;
|
|
124
|
+
|
|
125
|
+
interface IIpAddressState {
|
|
126
|
+
active: boolean;
|
|
127
|
+
isDel: boolean;
|
|
128
|
+
isSelected: boolean;
|
|
129
|
+
filterKeyCodes: number[];
|
|
130
|
+
formDisabled: ComputedRef<boolean>;
|
|
131
|
+
disabled: ComputedRef<boolean>;
|
|
132
|
+
heightStyle: ComputedRef<string>;
|
|
133
|
+
lineHeightStyle: ComputedRef<string>;
|
|
134
|
+
allHeightStyle: ComputedRef<string>;
|
|
135
|
+
api: Record<string, (str: any) => boolean>;
|
|
136
|
+
address: {
|
|
137
|
+
value: string;
|
|
138
|
+
}[];
|
|
139
|
+
}
|
|
140
|
+
type IIpAddressProps = ExtractPropTypes<typeof ipAddressProps>;
|
|
141
|
+
interface IIpAddressApi {
|
|
142
|
+
state: IIpAddressState;
|
|
143
|
+
dispatch: IIpAddressRenderlessParamUtils['dispatch'];
|
|
144
|
+
broadcast: IIpAddressRenderlessParamUtils['broadcast'];
|
|
145
|
+
getCursorPosition: typeof getCursorPosition;
|
|
146
|
+
focus: ReturnType<typeof focus>;
|
|
147
|
+
select: ReturnType<typeof select>;
|
|
148
|
+
blur: ReturnType<typeof blur>;
|
|
149
|
+
keyup: ReturnType<typeof keyup>;
|
|
150
|
+
change: ReturnType<typeof change>;
|
|
151
|
+
keydown: ReturnType<typeof keydown>;
|
|
152
|
+
inputEvent: ReturnType<typeof inputEvent>;
|
|
153
|
+
isIP6: typeof isIP6;
|
|
154
|
+
isIP4: typeof isIP4;
|
|
155
|
+
getValue?: ReturnType<typeof getValue>;
|
|
156
|
+
setValue?: ReturnType<typeof setValue>;
|
|
157
|
+
ipValidator?: ReturnType<typeof ipValidator>;
|
|
158
|
+
}
|
|
159
|
+
type IIpAddressRenderlessParamUtils = ISharedRenderlessParamUtils<null>;
|
|
160
|
+
|
|
161
|
+
export { IIpAddressApi, IIpAddressProps, IIpAddressRenderlessParamUtils, IIpAddressState };
|
package/types/link.type.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExtractPropTypes
|
|
1
|
+
import { ExtractPropTypes } from 'vue';
|
|
2
2
|
import { ISharedRenderlessFunctionParams, ISharedRenderlessParamUtils } from './shared.type.js';
|
|
3
3
|
|
|
4
4
|
declare const linkProps: {
|
|
@@ -6,6 +6,7 @@ declare const linkProps: {
|
|
|
6
6
|
type: StringConstructor;
|
|
7
7
|
default: string;
|
|
8
8
|
};
|
|
9
|
+
value: StringConstructor;
|
|
9
10
|
underline: {
|
|
10
11
|
type: BooleanConstructor;
|
|
11
12
|
default: boolean;
|
|
@@ -13,6 +14,7 @@ declare const linkProps: {
|
|
|
13
14
|
href: StringConstructor;
|
|
14
15
|
icon: (StringConstructor | ObjectConstructor)[];
|
|
15
16
|
disabled: BooleanConstructor;
|
|
17
|
+
size: StringConstructor;
|
|
16
18
|
tiny_mode: StringConstructor;
|
|
17
19
|
tiny_mode_root: BooleanConstructor;
|
|
18
20
|
tiny_template: (FunctionConstructor | ObjectConstructor)[];
|
|
@@ -23,8 +25,9 @@ declare const linkProps: {
|
|
|
23
25
|
|
|
24
26
|
type ILinkProps = ExtractPropTypes<typeof linkProps>;
|
|
25
27
|
interface ILinkState {
|
|
26
|
-
formDisabled:
|
|
27
|
-
disabled:
|
|
28
|
+
formDisabled: boolean;
|
|
29
|
+
disabled: boolean;
|
|
30
|
+
href: string;
|
|
28
31
|
}
|
|
29
32
|
interface ILinkApi {
|
|
30
33
|
state: ILinkState;
|
package/types/loading.type.d.ts
CHANGED
|
@@ -23,6 +23,13 @@ declare const loadingProps: {
|
|
|
23
23
|
LOAD_ICON_TEXT: string;
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
|
+
loadingImg: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
};
|
|
29
|
+
size: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
26
33
|
tiny_mode: StringConstructor;
|
|
27
34
|
tiny_mode_root: BooleanConstructor;
|
|
28
35
|
tiny_template: (FunctionConstructor | ObjectConstructor)[];
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ExtractPropTypes } from 'vue';
|
|
2
|
+
|
|
3
|
+
declare const MindMapProps: {
|
|
4
|
+
_constants: {
|
|
5
|
+
type: ObjectConstructor;
|
|
6
|
+
default: () => {};
|
|
7
|
+
};
|
|
8
|
+
modelValue: ObjectConstructor;
|
|
9
|
+
options: ObjectConstructor;
|
|
10
|
+
tiny_mode: StringConstructor;
|
|
11
|
+
tiny_mode_root: BooleanConstructor;
|
|
12
|
+
tiny_template: (FunctionConstructor | ObjectConstructor)[];
|
|
13
|
+
tiny_renderless: FunctionConstructor;
|
|
14
|
+
tiny_theme: StringConstructor;
|
|
15
|
+
tiny_chart_theme: ObjectConstructor;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
type IMindMapProps = ExtractPropTypes<typeof MindMapProps>;
|
|
19
|
+
|
|
20
|
+
export { IMindMapProps };
|
package/types/modal.type.d.ts
CHANGED
|
@@ -21,6 +21,10 @@ declare const $constants: {
|
|
|
21
21
|
ERROR: string;
|
|
22
22
|
LOADING: string;
|
|
23
23
|
};
|
|
24
|
+
PC_SCROLL_LOCK_CLASS: string;
|
|
25
|
+
MOBILE_FIRST_SCROLL_LOCK_CLASS: string;
|
|
26
|
+
Mode: string;
|
|
27
|
+
SCROLL_LOCK_CLASS(mode: any): any;
|
|
24
28
|
};
|
|
25
29
|
declare const modalProps: {
|
|
26
30
|
_constants: {
|
|
@@ -45,6 +49,10 @@ declare const modalProps: {
|
|
|
45
49
|
ERROR: string;
|
|
46
50
|
LOADING: string;
|
|
47
51
|
};
|
|
52
|
+
PC_SCROLL_LOCK_CLASS: string;
|
|
53
|
+
MOBILE_FIRST_SCROLL_LOCK_CLASS: string;
|
|
54
|
+
Mode: string;
|
|
55
|
+
SCROLL_LOCK_CLASS(mode: any): any;
|
|
48
56
|
};
|
|
49
57
|
};
|
|
50
58
|
animat: {
|
|
@@ -79,7 +87,7 @@ declare const modalProps: {
|
|
|
79
87
|
default: () => boolean;
|
|
80
88
|
};
|
|
81
89
|
maskClosable: BooleanConstructor;
|
|
82
|
-
message: (StringConstructor | FunctionConstructor)[];
|
|
90
|
+
message: (StringConstructor | FunctionConstructor | ObjectConstructor)[];
|
|
83
91
|
minHeight: {
|
|
84
92
|
type: (StringConstructor | NumberConstructor)[];
|
|
85
93
|
default: () => number;
|
|
@@ -133,14 +141,31 @@ declare const modalProps: {
|
|
|
133
141
|
type: ObjectConstructor;
|
|
134
142
|
default: () => {};
|
|
135
143
|
};
|
|
144
|
+
footerDragable: BooleanConstructor;
|
|
145
|
+
tiny_theme: StringConstructor;
|
|
146
|
+
slots: ObjectConstructor;
|
|
136
147
|
tiny_mode: StringConstructor;
|
|
137
148
|
tiny_mode_root: BooleanConstructor;
|
|
138
149
|
tiny_template: (FunctionConstructor | ObjectConstructor)[];
|
|
139
150
|
tiny_renderless: FunctionConstructor;
|
|
140
|
-
tiny_theme: StringConstructor;
|
|
141
151
|
tiny_chart_theme: ObjectConstructor;
|
|
142
152
|
};
|
|
143
153
|
|
|
154
|
+
/**
|
|
155
|
+
* Copyright (c) 2022 - present TinyVue Authors.
|
|
156
|
+
* Copyright (c) 2022 - present Huawei Cloud Computing Technologies Co., Ltd.
|
|
157
|
+
*
|
|
158
|
+
* Use of this source code is governed by an MIT-style license.
|
|
159
|
+
*
|
|
160
|
+
* THE OPEN SOURCE SOFTWARE IN THIS PRODUCT IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL,
|
|
161
|
+
* BUT WITHOUT ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR
|
|
162
|
+
* A PARTICULAR PURPOSE. SEE THE APPLICABLE LICENSES FOR MORE DETAILS.
|
|
163
|
+
*
|
|
164
|
+
*/
|
|
165
|
+
|
|
166
|
+
declare const mouseEnterEvent: () => () => void;
|
|
167
|
+
declare const mouseLeaveEvent: ({ api, props }: Pick<IModalRenderlessParams, 'api' | 'props'>) => () => void;
|
|
168
|
+
|
|
144
169
|
type zoomLocatType = null | {
|
|
145
170
|
top: number;
|
|
146
171
|
left: number;
|
|
@@ -178,6 +203,8 @@ interface IModalApi {
|
|
|
178
203
|
mounted: () => void;
|
|
179
204
|
beforeUnmouted: () => void;
|
|
180
205
|
selfClickEvent: (event: MouseEvent) => void;
|
|
206
|
+
mouseEnterEvent: ReturnType<typeof mouseEnterEvent>;
|
|
207
|
+
mouseLeaveEvent: ReturnType<typeof mouseLeaveEvent>;
|
|
181
208
|
updateZindex: () => void;
|
|
182
209
|
handleEvent: (type: string, event: Event, options?: any[]) => void;
|
|
183
210
|
closeEvent: (event: PointerEvent) => void;
|