@opentiny/vue-renderless 3.18.5 → 3.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (122) hide show
  1. package/action-menu/index.js +2 -2
  2. package/action-menu/vue.js +2 -2
  3. package/anchor/index.js +8 -6
  4. package/anchor/vue.js +1 -1
  5. package/badge/index.js +4 -3
  6. package/base-select/index.js +3 -3
  7. package/breadcrumb-item/vue.js +1 -1
  8. package/bulletin-board/index.js +1 -1
  9. package/button/index.js +1 -1
  10. package/button-group/index.js +6 -1
  11. package/carousel-item/index.js +1 -1
  12. package/cascader/vue.js +17 -4
  13. package/chart-core/deps/utils.js +1 -1
  14. package/checkbox/index.js +1 -1
  15. package/common/deps/dom.js +9 -1
  16. package/common/deps/useWindowSize.js +23 -0
  17. package/common/deps/vue-popper.js +1 -1
  18. package/common/index.js +2 -2
  19. package/common/prop-util.js +43 -0
  20. package/common/runtime.js +1 -1
  21. package/crop/index.js +14 -22
  22. package/crop/vue.js +33 -29
  23. package/date-panel/index.js +13 -2
  24. package/date-panel/vue.js +16 -10
  25. package/dialog-select/index.js +78 -0
  26. package/dialog-select/vue.js +28 -6
  27. package/drawer/index.js +14 -1
  28. package/drawer/vue.js +4 -3
  29. package/dropdown-item/index.js +2 -2
  30. package/dropdown-item/vue.js +9 -6
  31. package/espace/index.js +1 -1
  32. package/fall-menu/index.js +5 -1
  33. package/fall-menu/vue.js +15 -2
  34. package/filter-box/vue.js +5 -2
  35. package/floatbar/index.js +1 -1
  36. package/fluent-editor/options.js +26 -24
  37. package/form/index.js +7 -4
  38. package/form/vue.js +1 -1
  39. package/grid/plugins/export.js +1 -1
  40. package/grid/utils/dom.js +3 -1
  41. package/guide/index.js +17 -2
  42. package/guide/vue.js +5 -3
  43. package/image-viewer/vue.js +1 -1
  44. package/input/index.js +6 -7
  45. package/input/vue.js +10 -11
  46. package/ip-address/index.js +0 -10
  47. package/ip-address/vue.js +2 -5
  48. package/load-list/index.js +43 -0
  49. package/load-list/vue.js +69 -0
  50. package/locales/index.js +1 -5
  51. package/logout/index.js +1 -1
  52. package/milestone/index.js +55 -8
  53. package/milestone/vue.js +16 -3
  54. package/modal/index.js +6 -6
  55. package/modal/vue.js +4 -3
  56. package/nav-menu/index.js +1 -1
  57. package/package.json +1 -1
  58. package/pager/index.js +25 -0
  59. package/pager/vue.js +18 -4
  60. package/picker/index.js +3 -3
  61. package/picker/vue.js +1 -1
  62. package/popeditor/index.js +12 -1
  63. package/popeditor/vue.js +9 -5
  64. package/rich-text/table-module.js +4 -3
  65. package/roles/index.js +1 -1
  66. package/select/index.js +6 -6
  67. package/select/vue.js +2 -1
  68. package/selected-box/vue.js +2 -1
  69. package/slider/index.js +2 -2
  70. package/slider-button-group/vue.js +3 -2
  71. package/split/vue.js +4 -2
  72. package/sticky/index.js +89 -0
  73. package/sticky/vue.js +74 -0
  74. package/tabbar-item/vue.js +1 -1
  75. package/tall-storage/index.js +1 -1
  76. package/time/vue.js +2 -1
  77. package/time-range/vue.js +4 -1
  78. package/time-spinner/index.js +4 -1
  79. package/toggle-menu/index.js +1 -1
  80. package/transfer-panel/vue.js +7 -6
  81. package/tree/index.js +17 -7
  82. package/tree/vue.js +10 -6
  83. package/tree-node/index.js +2 -2
  84. package/tree-node/vue.js +6 -2
  85. package/types/action-menu.type.d.ts +1 -1
  86. package/types/alert.type.d.ts +2 -0
  87. package/types/anchor.type.d.ts +5 -1
  88. package/types/badge.type.d.ts +1 -1
  89. package/types/button-group.type.d.ts +3 -0
  90. package/types/button.type.d.ts +1 -1
  91. package/types/date-picker.type.d.ts +3 -0
  92. package/types/drawer.type.d.ts +5 -1
  93. package/types/{dropdown-item.type-16d59fd0.d.ts → dropdown-item.type-c9badbc1.d.ts} +2 -2
  94. package/types/dropdown-item.type.d.ts +1 -1
  95. package/types/dropdown-menu.type.d.ts +1 -1
  96. package/types/fall-menu.type.d.ts +1 -0
  97. package/types/file-upload.type.d.ts +1 -1
  98. package/types/image.type.d.ts +4 -0
  99. package/types/input.type.d.ts +8 -4
  100. package/types/load-list.type.d.ts +58 -0
  101. package/types/milestone.type.d.ts +27 -1
  102. package/types/modal.type.d.ts +3 -2
  103. package/types/pager.type.d.ts +5 -1
  104. package/types/picker.type.d.ts +3 -0
  105. package/types/popover.type.d.ts +1 -1
  106. package/types/search.type.d.ts +0 -3
  107. package/types/steps.type.d.ts +1 -0
  108. package/types/tag.type.d.ts +1 -0
  109. package/types/tooltip.type.d.ts +3 -0
  110. package/types/transfer.type.d.ts +3 -3
  111. package/types/tree-menu.type.d.ts +8 -0
  112. package/types/upload-dragger.type.d.ts +1 -1
  113. package/types/{upload-list.type-4194f534.d.ts → upload-list.type-26173587.d.ts} +11 -3
  114. package/types/upload-list.type.d.ts +1 -1
  115. package/types/upload.type.d.ts +1 -1
  116. package/types/user-contact.type.d.ts +127 -1
  117. package/types/user-head.type.d.ts +1 -4
  118. package/upload-list/vue.js +7 -7
  119. package/virtual-scroll-box/index.js +294 -0
  120. package/virtual-scroll-box/vue.js +43 -0
  121. package/virtual-tree/index.js +168 -0
  122. package/virtual-tree/vue.js +53 -0
package/tree-node/vue.js CHANGED
@@ -48,7 +48,7 @@ const api = [
48
48
  "deleteNode",
49
49
  "handleCheckChange"
50
50
  ];
51
- const initState = ({ reactive, treeRoot, props, emitter, $parentEmitter, vm, api: api2, computed }) => {
51
+ const initState = ({ reactive, treeRoot, props, emitter, $parentEmitter, vm, api: api2, TreeAdapter, computed }) => {
52
52
  const state = reactive({
53
53
  tree: treeRoot,
54
54
  expanded: false,
@@ -66,6 +66,9 @@ const initState = ({ reactive, treeRoot, props, emitter, $parentEmitter, vm, api
66
66
  parentEmitter: $parentEmitter,
67
67
  isSaaSTheme: (props.theme || vm.theme) === "saas",
68
68
  props: treeRoot.props,
69
+ renderedChildNodes: computed(() => {
70
+ return props.node.childNodes.filter((childNode) => TreeAdapter ? TreeAdapter.shouldRender(childNode) : true);
71
+ }),
69
72
  computedExpandIcon: computed(() => api2.computedExpandIcon(treeRoot, state)),
70
73
  computedIndent: computed(() => api2.computedIndent(props, state))
71
74
  });
@@ -114,7 +117,8 @@ const renderless = (props, { reactive, watch, inject, provide, computed }, { vm,
114
117
  const api2 = {};
115
118
  const treeRoot = inject("TreeRoot");
116
119
  const $parentEmitter = inject("parentEmitter");
117
- const state = initState({ reactive, treeRoot, props, emitter, $parentEmitter, vm, api: api2, computed });
120
+ const TreeAdapter = inject("TreeAdapter", null);
121
+ const state = initState({ reactive, treeRoot, props, emitter, $parentEmitter, vm, api: api2, TreeAdapter, computed });
118
122
  if (state.tree.accordion) {
119
123
  state.parentEmitter.on("sibling-node-toggle-expand", (event) => api2.onSiblingToggleExpand(event));
120
124
  }
@@ -68,7 +68,7 @@ declare const actionMenuProps: {
68
68
  */
69
69
 
70
70
  declare const computedMaxShowNum: ({ props, state }: Pick<IActionMenuRenderlessParams, 'props' | 'state'>) => () => number;
71
- declare const computedSpacing: ({ props, state }: Pick<IActionMenuRenderlessParams, 'props' | 'state'>) => () => string;
71
+ declare const computedSpacing: ({ props, state, designConfig }: any) => () => string;
72
72
  declare const computedMoreText: ({ props, state, t }: any) => () => string;
73
73
  declare const computedSuffixIcon: ({ props, state }: Pick<IActionMenuRenderlessParams, 'props' | 'state'>) => () => string | Object;
74
74
  declare const handleMoreClick: (emit: IActionMenuRenderlessParams['emit']) => () => void;
@@ -7,6 +7,7 @@ declare const $constants: {
7
7
  error: string;
8
8
  info: string;
9
9
  warning: string;
10
+ simple: string;
10
11
  };
11
12
  TITLE_MAP: {
12
13
  success: string;
@@ -25,6 +26,7 @@ declare const alertProps: {
25
26
  error: string;
26
27
  info: string;
27
28
  warning: string;
29
+ simple: string;
28
30
  };
29
31
  TITLE_MAP: {
30
32
  success: string;
@@ -22,6 +22,10 @@ declare const anchorProps: {
22
22
  type: StringConstructor;
23
23
  default: string;
24
24
  };
25
+ offsetTop: {
26
+ type: NumberConstructor;
27
+ default: number;
28
+ };
25
29
  };
26
30
 
27
31
  /**
@@ -57,7 +61,7 @@ interface IAnchorState {
57
61
  currentHash: string;
58
62
  isScroll: boolean;
59
63
  scrollTimer: number;
60
- offsetTop: number;
64
+ childOffsetTop: number;
61
65
  }
62
66
  type IAnchorProps = ExtractPropTypes<typeof anchorProps>;
63
67
  interface IAnchorLinkItem {
@@ -58,7 +58,7 @@ declare const badgeProps: {
58
58
  */
59
59
 
60
60
  declare const computedContent: ({ props, state }: Pick<IBadgeRenderlessParams, 'props' | 'state'>) => () => IBadgeContent;
61
- declare const computedValueRef: ({ props }: Pick<IBadgeRenderlessParams, 'props'>) => () => number | undefined;
61
+ declare const computedValueRef: ({ props }: Pick<IBadgeRenderlessParams, 'props'>) => () => number | string | undefined;
62
62
  declare const computedTransform: ({ designConfig, props }: Pick<IBadgeRenderlessParams, 'designConfig' | 'props'>) => () => StyleValue;
63
63
 
64
64
  type IBadgeContent = string | number | undefined;
@@ -57,6 +57,9 @@ type IButtonGroupProps = ExtractPropTypes<typeof buttonGroupProps>;
57
57
  interface IButtonGroupItemClass {
58
58
  disabled?: boolean;
59
59
  plain?: boolean;
60
+ medium?: boolean;
61
+ small?: boolean;
62
+ mini?: boolean;
60
63
  }
61
64
  interface IButtonGroupNode {
62
65
  text?: string;
@@ -75,7 +75,7 @@ declare const buttonProps: {
75
75
  tiny_mode_root: BooleanConstructor;
76
76
  tiny_template: (FunctionConstructor | ObjectConstructor)[];
77
77
  tiny_renderless: FunctionConstructor;
78
- tiny_theme: StringConstructor; /** 是否加载中状态 */
78
+ tiny_theme: StringConstructor;
79
79
  tiny_chart_theme: ObjectConstructor;
80
80
  };
81
81
 
@@ -191,6 +191,9 @@ declare const datePickerProps: {
191
191
  type: BooleanConstructor;
192
192
  default: boolean;
193
193
  };
194
+ nowClick: {
195
+ type: FunctionConstructor;
196
+ };
194
197
  tiny_mode: StringConstructor;
195
198
  tiny_mode_root: BooleanConstructor;
196
199
  tiny_template: (FunctionConstructor | ObjectConstructor)[];
@@ -4,6 +4,7 @@ import { ISharedRenderlessParamUtils, ISharedRenderlessFunctionParams } from './
4
4
  declare const $constants: {
5
5
  SCROLL_LOCK_CLASS(mode: string): string;
6
6
  DEFAULT_WIDTH: string;
7
+ DEFAULT_HEIGHT: string;
7
8
  };
8
9
  declare const drawerProps: {
9
10
  _constants: {
@@ -11,6 +12,7 @@ declare const drawerProps: {
11
12
  default: () => {
12
13
  SCROLL_LOCK_CLASS(mode: string): string;
13
14
  DEFAULT_WIDTH: string;
15
+ DEFAULT_HEIGHT: string;
14
16
  };
15
17
  };
16
18
  visible: {
@@ -25,6 +27,9 @@ declare const drawerProps: {
25
27
  width: {
26
28
  type: StringConstructor;
27
29
  };
30
+ height: {
31
+ type: StringConstructor;
32
+ };
28
33
  title: StringConstructor;
29
34
  showClose: {
30
35
  type: BooleanConstructor;
@@ -111,7 +116,6 @@ interface IDrawerState {
111
116
  offsetHeight: number;
112
117
  };
113
118
  computedWidth: string;
114
- btnOrderReversed: boolean;
115
119
  }
116
120
  type IDrawerProps = ExtractPropTypes<typeof drawerProps>;
117
121
  interface IDrawerApi {
@@ -250,7 +250,7 @@ declare const reset: ({ emit, props }: Pick<IDropdownItemRenderlessParams, 'emit
250
250
  declare const clickOutside: (parent: IDropdownItemRenderlessParams['parent']) => () => void;
251
251
  declare const handleClick: ({ state, props, dispatch, vm, emit }: Pick<IDropdownItemRenderlessParams, 'state' | 'props' | 'dispatch' | 'vm' | 'emit'>) => (event: MouseEvent) => void;
252
252
  declare const computedGetIcon: ({ constants, designConfig }: Pick<IDropdownItemRenderlessParams, 'constants' | 'designConfig'>) => (name?: string) => object | string;
253
- declare const getTip: ({ props, vm }: Pick<IDropdownItemRenderlessParams, 'props' | 'vm'>) => string;
253
+ declare const computedTip: ({ props, vm }: Pick<IDropdownItemRenderlessParams, 'props' | 'vm'>) => string;
254
254
 
255
255
  type IDropdownItemVm = ComponentPublicInstance & {
256
256
  type: string;
@@ -300,7 +300,7 @@ interface IDropdownItemApi {
300
300
  confirm: ReturnType<typeof confirm>;
301
301
  handleClick: ReturnType<typeof handleClick>;
302
302
  computedGetIcon: ReturnType<typeof computedGetIcon>;
303
- getTip: ReturnType<typeof getTip>;
303
+ computedTip: ReturnType<typeof computedTip>;
304
304
  }
305
305
  type IDropdownItemRenderlessParams = ISharedRenderlessFunctionParams<IDropdownItemConstants> & {
306
306
  state: IDropdownItemState;
@@ -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-16d59fd0.js';
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-c9badbc1.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-16d59fd0.js';
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-c9badbc1.js';
3
3
  import './shared.type.js';
4
4
  import './dropdown.type.js';
@@ -67,6 +67,7 @@ interface IPagerData {
67
67
  }
68
68
  interface IFallMenuState {
69
69
  pager: number;
70
+ active: number;
70
71
  level2data: IFallMenuProps['data'];
71
72
  activeNode: null;
72
73
  isActive: boolean;
@@ -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-4194f534.js';
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-26173587.js';
3
3
  import './shared.type.js';
@@ -63,6 +63,10 @@ declare const imageProps: {
63
63
  type: BooleanConstructor;
64
64
  default: boolean;
65
65
  };
66
+ appendToBody: {
67
+ type: BooleanConstructor;
68
+ default: boolean;
69
+ };
66
70
  tiny_mode: StringConstructor;
67
71
  tiny_mode_root: BooleanConstructor;
68
72
  tiny_template: (FunctionConstructor | ObjectConstructor)[];
@@ -192,6 +192,12 @@ declare const inputProps: {
192
192
  type: BooleanConstructor;
193
193
  default: boolean;
194
194
  };
195
+ /** 输入框的边框模式,当值为underline时,只显示一条底部直线 */
196
+ inputBoxType: {
197
+ type: StringConstructor;
198
+ default: string;
199
+ validator: (value: string) => boolean;
200
+ };
195
201
  tiny_mode: StringConstructor;
196
202
  tiny_mode_root: BooleanConstructor;
197
203
  tiny_template: (FunctionConstructor | ObjectConstructor)[];
@@ -241,7 +247,7 @@ declare const calculateNodeStyling: () => (targetElement: HTMLElement) => {
241
247
  borderSize: number;
242
248
  boxSizing: string;
243
249
  };
244
- declare const calcTextareaHeight: ({ api, hiddenTextarea, props, state, mode, constants }: Pick<IInputRenderlessParams, "mode" | "props" | "state" | "api" | "constants"> & {
250
+ declare const calcTextareaHeight: ({ api, hiddenTextarea, props, state, mode, constants }: Pick<IInputRenderlessParams, "state" | "props" | "mode" | "api" | "constants"> & {
245
251
  hiddenTextarea: HTMLTextAreaElement | null;
246
252
  }) => (targetElement: HTMLTextAreaElement, minRows?: number, maxRows?: null) => {
247
253
  minHeight?: string | undefined;
@@ -252,9 +258,7 @@ declare const focus: (api: IInputApi) => () => void;
252
258
  declare const handleInput: ({ api, emit, nextTick, state }: Pick<IInputRenderlessParams, 'api' | 'emit' | 'nextTick' | 'state'>) => (event: Event) => void;
253
259
  declare const resizeTextarea: ({ api, parent, vm, state, props }: Pick<IInputRenderlessParams, 'api' | 'parent' | 'vm' | 'state' | 'props'>) => () => void;
254
260
  declare const setNativeInputValue: ({ api, state }: Pick<IInputRenderlessParams, 'api' | 'state'>) => () => void;
255
- declare const calcIconOffset: ({ CLASS_PREFIX, parent }: Pick<IInputRenderlessParams, "parent"> & {
256
- CLASS_PREFIX: IInputClassPrefixConstants;
257
- }) => (place: 'prefix' | 'suffix') => void;
261
+ declare const calcIconOffset: ({ vm, parent }: Pick<IInputRenderlessParams, 'parent' | 'vm'>) => (place: 'prefix' | 'suffix') => void;
258
262
  declare const updateIconOffset: (api: IInputApi) => () => void;
259
263
  declare const watchFormSelect: ({ emit, props, state }: Pick<IInputRenderlessParams, 'emit' | 'props' | 'state'>) => (value: string | number | undefined) => void;
260
264
  declare const hiddenPassword: ({ state, props }: Pick<IInputRenderlessParams, 'state' | 'props'>) => () => string;
@@ -0,0 +1,58 @@
1
+ import { ExtractPropTypes } from 'vue';
2
+ import { ISharedRenderlessFunctionParams } from './shared.type.js';
3
+
4
+ declare const loadListProps: {
5
+ direction: {
6
+ type: StringConstructor;
7
+ default: string;
8
+ validator: (value: any) => boolean;
9
+ };
10
+ offset: {
11
+ type: (StringConstructor | NumberConstructor)[];
12
+ default: number;
13
+ };
14
+ disabled: BooleanConstructor;
15
+ scroller: ObjectConstructor;
16
+ immediateCheck: {
17
+ type: BooleanConstructor;
18
+ default: boolean;
19
+ };
20
+ error: BooleanConstructor;
21
+ errorText: {
22
+ type: StringConstructor;
23
+ default: any;
24
+ };
25
+ loading: BooleanConstructor;
26
+ loadingText: {
27
+ type: StringConstructor;
28
+ default: any;
29
+ };
30
+ finished: BooleanConstructor;
31
+ finishedText: {
32
+ type: StringConstructor;
33
+ default: any;
34
+ };
35
+ delay: {
36
+ type: (StringConstructor | NumberConstructor)[];
37
+ default: number;
38
+ };
39
+ tiny_mode: StringConstructor;
40
+ tiny_mode_root: BooleanConstructor;
41
+ tiny_template: (FunctionConstructor | ObjectConstructor)[];
42
+ tiny_renderless: FunctionConstructor;
43
+ tiny_theme: StringConstructor;
44
+ tiny_chart_theme: ObjectConstructor;
45
+ };
46
+
47
+ interface ILoadListState {
48
+ }
49
+ interface ILoadListApi {
50
+ }
51
+ type ILoadListProps = ExtractPropTypes<typeof loadListProps>;
52
+ type ILoadListRenderlessParams = ISharedRenderlessFunctionParams<never> & {
53
+ state: ILoadListState;
54
+ props: ILoadListProps;
55
+ api: ILoadListApi;
56
+ };
57
+
58
+ export { ILoadListApi, ILoadListProps, ILoadListRenderlessParams, ILoadListState };
@@ -6,6 +6,13 @@ declare const $constants: {
6
6
  DEFAULT_BACK_COLOR: string;
7
7
  BOX_SHADOW_PX: string;
8
8
  FLAG_CONTENT_CLS: string;
9
+ STATUS_MAP: {
10
+ COMPLETED: string;
11
+ DOING: string;
12
+ BACK: string;
13
+ END: string;
14
+ CANEL: string;
15
+ };
9
16
  };
10
17
  declare const milestoneProps: {
11
18
  _constants: {
@@ -15,6 +22,13 @@ declare const milestoneProps: {
15
22
  DEFAULT_BACK_COLOR: string;
16
23
  BOX_SHADOW_PX: string;
17
24
  FLAG_CONTENT_CLS: string;
25
+ STATUS_MAP: {
26
+ COMPLETED: string;
27
+ DOING: string;
28
+ BACK: string;
29
+ END: string;
30
+ CANEL: string;
31
+ };
18
32
  };
19
33
  };
20
34
  showNumber: {
@@ -109,6 +123,9 @@ interface IMilestoneIconStyle {
109
123
  color: string;
110
124
  boxShadow: string;
111
125
  }
126
+ interface IMilestoneFlagStyle {
127
+ left: string;
128
+ }
112
129
  interface IMilestoneGetMileContentParams {
113
130
  data: IMilestoneNode[];
114
131
  index: number;
@@ -138,7 +155,16 @@ interface IMilestoneApi {
138
155
  handleClick: ({ index, node }: IMilestoneHandleClickParams) => void;
139
156
  getMileIcon: (node: IMilestoneNode) => IMilestoneIconStyle;
140
157
  flagOperate: ({ event, over, text }: IMilestoneFlagOperateParams) => void;
158
+ hexToRgb: (hex: string) => {
159
+ r: number;
160
+ g: number;
161
+ b: number;
162
+ };
163
+ getFlagStyle: ({ index, idx }: {
164
+ index: any;
165
+ idx: any;
166
+ }) => IMilestoneFlagStyle;
141
167
  }
142
168
  type IMilestoneRenderlessParamUtils = ISharedRenderlessParamUtils<IMilestoneConstants>;
143
169
 
144
- export { IMilestoneApi, IMilestoneConstants, IMilestoneFlagOperateParams, IMilestoneGetMileContentParams, IMilestoneHandleClickParams, IMilestoneHandleFlagClickParams, IMilestoneIconStyle, IMilestoneNode, IMilestoneProps, IMilestonePropsDataFlags, IMilestoneRenderlessParamUtils, IMilestoneRenderlessParams, IMilestoneState };
170
+ export { IMilestoneApi, IMilestoneConstants, IMilestoneFlagOperateParams, IMilestoneFlagStyle, IMilestoneGetMileContentParams, IMilestoneHandleClickParams, IMilestoneHandleFlagClickParams, IMilestoneIconStyle, IMilestoneNode, IMilestoneProps, IMilestonePropsDataFlags, IMilestoneRenderlessParamUtils, IMilestoneRenderlessParams, IMilestoneState };
@@ -64,6 +64,7 @@ declare const modalProps: {
64
64
  type: (StringConstructor | NumberConstructor)[];
65
65
  default: () => number;
66
66
  };
67
+ messageClosable: BooleanConstructor;
67
68
  escClosable: BooleanConstructor;
68
69
  events: ObjectConstructor;
69
70
  fullscreen: BooleanConstructor;
@@ -163,8 +164,8 @@ declare const modalProps: {
163
164
  *
164
165
  */
165
166
 
166
- declare const mouseEnterEvent: () => () => void;
167
- declare const mouseLeaveEvent: ({ api, props }: Pick<IModalRenderlessParams, 'api' | 'props'>) => () => void;
167
+ declare const mouseEnterEvent: (state: any) => () => void;
168
+ declare const mouseLeaveEvent: ({ api, props, state }: Pick<IModalRenderlessParams, 'api' | 'props' | 'state'>) => () => void;
168
169
 
169
170
  type zoomLocatType = null | {
170
171
  top: number;
@@ -28,6 +28,9 @@ declare const pagerProps: {
28
28
  type: NumberConstructor;
29
29
  default: () => number;
30
30
  };
31
+ pageSizeText: {
32
+ type: StringConstructor;
33
+ };
31
34
  pageSizes: {
32
35
  type: PropType<number[]>;
33
36
  default: () => number[];
@@ -120,10 +123,11 @@ interface IPagerState {
120
123
  internalLayout: string[];
121
124
  totalText: string;
122
125
  internalPageCount: number | null;
123
- showJumperSufix: boolean;
126
+ showJumperSuffix: boolean;
124
127
  align: 'left' | 'center' | 'right';
125
128
  totalI18n: 'total' | 'totals';
126
129
  totalFixedLeft: boolean;
130
+ pageSizeText: string;
127
131
  }
128
132
  interface IPagerApi {
129
133
  state: IPagerState;
@@ -124,6 +124,9 @@ declare const pickerProps: {
124
124
  type: BooleanConstructor;
125
125
  default: boolean;
126
126
  };
127
+ nowClick: {
128
+ type: FunctionConstructor;
129
+ };
127
130
  };
128
131
 
129
132
  type IPickerProps = ExtractPropTypes<typeof pickerProps>;
@@ -92,7 +92,7 @@ declare const popoverProps: {
92
92
  *
93
93
  */
94
94
 
95
- declare const mounted: ({ api, state, constants, props, nextTick, mode }: Pick<IPopoverRenderlessParams, "mode" | "props" | "state" | "api" | "nextTick"> & {
95
+ declare const mounted: ({ api, state, constants, props, nextTick, mode }: Pick<IPopoverRenderlessParams, "state" | "props" | "nextTick" | "mode" | "api"> & {
96
96
  constants: {
97
97
  IDPREFIX: string;
98
98
  };
@@ -82,9 +82,6 @@ declare const searchProps: {
82
82
  };
83
83
  tiny_mode: StringConstructor;
84
84
  tiny_mode_root: BooleanConstructor;
85
- /**
86
- * 配置主题色,primary:蓝 gray:灰
87
- */
88
85
  tiny_template: (FunctionConstructor | ObjectConstructor)[];
89
86
  tiny_renderless: FunctionConstructor;
90
87
  tiny_theme: StringConstructor;
@@ -41,6 +41,7 @@ declare const stepsProps: {
41
41
  default: boolean;
42
42
  };
43
43
  line: BooleanConstructor;
44
+ dot: BooleanConstructor;
44
45
  duration: {
45
46
  type: NumberConstructor;
46
47
  default: number;
@@ -15,6 +15,7 @@ declare const tagProps: {
15
15
  operable: BooleanConstructor;
16
16
  disabled: BooleanConstructor;
17
17
  selectable: BooleanConstructor;
18
+ onlyIcon: BooleanConstructor;
18
19
  customClass: {
19
20
  type: StringConstructor;
20
21
  default: string;
@@ -96,6 +96,9 @@ declare const tooltipProps: {
96
96
  type: StringConstructor;
97
97
  default: () => string;
98
98
  };
99
+ contentMaxHeight: {
100
+ type: StringConstructor;
101
+ };
99
102
  tiny_mode: StringConstructor;
100
103
  tiny_mode_root: BooleanConstructor;
101
104
  tiny_template: (FunctionConstructor | ObjectConstructor)[];
@@ -108,14 +108,14 @@ declare const getSourceData: ({ props, Tree }: Pick<ITransferRenderlessParams, "
108
108
  Tree: string;
109
109
  }) => () => unknown[];
110
110
  /** 返回右边的数据项 */
111
- declare const getTargetData: ({ props, state, Tree, Table }: Pick<ITransferRenderlessParams, "props" | "state"> & {
111
+ declare const getTargetData: ({ props, state, Tree, Table }: Pick<ITransferRenderlessParams, "state" | "props"> & {
112
112
  Tree: string;
113
113
  Table: string;
114
114
  }) => () => unknown;
115
115
  declare const onSourceCheckedChange: ({ emit, state }: Pick<ITransferRenderlessParams, 'emit' | 'state'>) => (val: string[], movedKeys: string[]) => void;
116
116
  declare const onTargetCheckedChange: ({ emit, state }: Pick<ITransferRenderlessParams, 'emit' | 'state'>) => (val: string[], movedKeys: string[]) => void;
117
117
  declare const addToLeft: ({ emit, props, state }: Pick<ITransferRenderlessParams, 'emit' | 'props' | 'state'>) => (value: undefined | 'all') => void;
118
- declare const addToRight: ({ emit, refs, props, state, Tree }: Pick<ITransferRenderlessParams, "emit" | "props" | "state" | "refs"> & {
118
+ declare const addToRight: ({ emit, refs, props, state, Tree }: Pick<ITransferRenderlessParams, "state" | "props" | "refs" | "emit"> & {
119
119
  Tree: string;
120
120
  }) => (value: undefined | 'all') => void;
121
121
  declare const clearQuery: (refs: ITransferRenderlessParams['refs']) => (which: 'left' | 'right') => void;
@@ -126,7 +126,7 @@ declare const logicFun: ({ props, emit, state }: Pick<ITransferRenderlessParams,
126
126
  pullMode?: "sort" | undefined;
127
127
  }) => void;
128
128
  /** 组件加载后,给左右面板初始化Sortable的功能 */
129
- declare const sortableEvent: ({ api, droppanel, props, queryDom, refs }: Pick<ITransferRenderlessParams, "props" | "api" | "refs"> & {
129
+ declare const sortableEvent: ({ api, droppanel, props, queryDom, refs }: Pick<ITransferRenderlessParams, "props" | "refs" | "api"> & {
130
130
  droppanel: string;
131
131
  queryDom: string;
132
132
  }) => () => void;
@@ -87,6 +87,14 @@ declare const treeMenuProps: {
87
87
  type: BooleanConstructor;
88
88
  default: boolean;
89
89
  };
90
+ highlightQuery: {
91
+ type: BooleanConstructor;
92
+ default: boolean;
93
+ };
94
+ widthAdapt: {
95
+ type: BooleanConstructor;
96
+ default: boolean;
97
+ };
90
98
  tiny_mode: StringConstructor;
91
99
  tiny_mode_root: BooleanConstructor;
92
100
  tiny_template: (FunctionConstructor | ObjectConstructor)[];
@@ -1,6 +1,6 @@
1
1
  import { ExtractPropTypes } from 'vue';
2
2
  import { ISharedRenderlessParamUtils, ISharedRenderlessFunctionParams } from './shared.type.js';
3
- import { I as IFileUploadVm, a as IFileUploadConstants } from './upload-list.type-4194f534.js';
3
+ import { I as IFileUploadVm, a as IFileUploadConstants } from './upload-list.type-26173587.js';
4
4
 
5
5
  declare const UploadDraggerProps: {
6
6
  disabled: BooleanConstructor;
@@ -366,6 +366,10 @@ declare const fileUploadProps: {
366
366
  watermark: string;
367
367
  };
368
368
  };
369
+ promptTip: {
370
+ type: BooleanConstructor;
371
+ default: boolean;
372
+ };
369
373
  isHidden: {
370
374
  type: BooleanConstructor;
371
375
  default: boolean;
@@ -406,7 +410,7 @@ declare const beforeUpload: ({ props, api, Modal, constants, t, state }: Pick<IF
406
410
  declare const startUpload: ({ state, constants, vm, Modal, api, t }: Pick<IFileUploadRenderlessParams, 'state' | 'constants' | 'vm' | 'api' | 't'> & IFileUploadModalVm) => (file: IFileUploadFile, isList: boolean) => void;
407
411
  declare const properFileSize: ({ props, state, api, constants, Modal, t }: Pick<IFileUploadRenderlessParams, 'props' | 'state' | 'constants' | 'api' | 't'> & IFileUploadModalVm) => (file: IFileUploadFile) => boolean;
408
412
  declare const addFileToList: ({ api, constants, emit, props, state, mode }: Pick<IFileUploadRenderlessParams, 'api' | 'constants' | 'emit' | 'props' | 'state' | 'mode'>) => (rawFile: IFileUploadFile, updateId: string, reUpload: boolean) => void;
409
- declare const getFileHash: ({ emit, Modal, constants, t, CryptoJS, state }: Pick<IFileUploadRenderlessParams, "emit" | "state" | "t" | "constants"> & IFileUploadModalVm & {
413
+ declare const getFileHash: ({ emit, Modal, constants, t, CryptoJS, state }: Pick<IFileUploadRenderlessParams, "state" | "emit" | "t" | "constants"> & IFileUploadModalVm & {
410
414
  CryptoJS: object;
411
415
  }) => ({ file, chunkSize, showTips }: {
412
416
  file: IFileUploadFile;
@@ -486,13 +490,13 @@ declare const sliceDownloadChunk: ({ state }: Pick<IFileUploadRenderlessParams,
486
490
  declare const batchSegmentDownload: ({ state, api }: Pick<IFileUploadRenderlessParams, 'state' | 'api'>) => ({ batchIndex, batches, docId, isBatch, isLessThan17G }: IFileUploadBatchSegmentDownload) => void;
487
491
  declare const downloadFileInner: ({ api, props, state }: Pick<IFileUploadRenderlessParams, 'api' | 'props' | 'state'>) => ({ batchIndex, file, range, isBatch, isChunk, isLessThan17G }: IFileUploadDownloadFileInner) => void;
488
492
  declare const afterDownload: ({ api, state }: Pick<IFileUploadRenderlessParams, 'api' | 'state'>) => ({ batchIndex, range, data, file, isBatch, isChunk, isLessThan17G }: IFileUploadAfterDownload) => void;
489
- declare const setWriterFile: ({ state, emit, Streamsaver }: Pick<IFileUploadRenderlessParams, "emit" | "state"> & {
493
+ declare const setWriterFile: ({ state, emit, Streamsaver }: Pick<IFileUploadRenderlessParams, "state" | "emit"> & {
490
494
  Streamsaver: IFileUploadStreamsaver;
491
495
  }) => ({ data, index, isLessThan17G, file }: IFileUploadSetWriterFile) => Function;
492
496
  declare const getFormData$1: ({ constants, props, state }: Pick<IFileUploadRenderlessParams, 'constants' | 'props' | 'state'>) => ({ formData, file, type }: IFileUploadGetFormData) => IUploadFormData;
493
497
  declare const largeDocumentUpload: ({ api, Modal, state, t, emit, constants }: Pick<IFileUploadRenderlessParams, 'api' | 'state' | 't' | 'emit' | 'constants'> & IFileUploadModalVm) => (file: IFileUploadFile) => void;
494
498
  declare const segmentUploadInit: ({ api, props, service, state, constants }: Pick<IFileUploadRenderlessParams, 'api' | 'props' | 'service' | 'state' | 'constants'>) => (file: IFileUploadFile) => Promise<unknown>;
495
- declare const segmentUpload: ({ api, props, service, state, emit, constants, CryptoJS }: Pick<IFileUploadRenderlessParams, "emit" | "props" | "state" | "api" | "constants" | "service"> & {
499
+ declare const segmentUpload: ({ api, props, service, state, emit, constants, CryptoJS }: Pick<IFileUploadRenderlessParams, "state" | "props" | "emit" | "api" | "constants" | "service"> & {
496
500
  CryptoJS: object;
497
501
  }) => (batchIndex: number, file: IFileUploadFile, progress: {
498
502
  file: IFileUploadFile;
@@ -683,6 +687,10 @@ declare const uploadProps: {
683
687
  type: StringConstructor;
684
688
  default: string;
685
689
  };
690
+ promptTip: {
691
+ type: BooleanConstructor;
692
+ default: boolean;
693
+ };
686
694
  tiny_mode: StringConstructor;
687
695
  tiny_mode_root: BooleanConstructor;
688
696
  tiny_template: (FunctionConstructor | ObjectConstructor)[];
@@ -1,3 +1,3 @@
1
1
  import 'vue';
2
- export { H as IUploadListApi, J as IUploadListProps, K as IUploadListRenderlessParamUtils, L as IUploadListRenderlessParams, G as IUploadListState, M as IUploadListVideoParam } from './upload-list.type-4194f534.js';
2
+ export { H as IUploadListApi, J as IUploadListProps, K as IUploadListRenderlessParamUtils, L as IUploadListRenderlessParams, G as IUploadListState, M as IUploadListVideoParam } from './upload-list.type-26173587.js';
3
3
  import './shared.type.js';
@@ -1,3 +1,3 @@
1
1
  import 'vue';
2
- export { d as IUploadApi, i as IUploadFormData, k as IUploadOptionsOfHwh5, j as IUploadOptionsOfPost, e as IUploadProps, h as IUploadRenderlessOtherParams, f as IUploadRenderlessParamUtils, g as IUploadRenderlessParams, c as IUploadState, b as IUploadStateHeader } from './upload-list.type-4194f534.js';
2
+ export { d as IUploadApi, i as IUploadFormData, k as IUploadOptionsOfHwh5, j as IUploadOptionsOfPost, e as IUploadProps, h as IUploadRenderlessOtherParams, f as IUploadRenderlessParamUtils, g as IUploadRenderlessParams, c as IUploadState, b as IUploadStateHeader } from './upload-list.type-26173587.js';
3
3
  import './shared.type.js';