@opentinyvue/vue-grid 2.21.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 (103) hide show
  1. package/LICENSE +22 -0
  2. package/index.d.ts +8 -0
  3. package/lib/index.js +16799 -0
  4. package/package.json +32 -0
  5. package/src/adapter/index.d.ts +51 -0
  6. package/src/adapter/src/renderer.d.ts +5 -0
  7. package/src/adapter/src/setup.d.ts +2 -0
  8. package/src/body/index.d.ts +26 -0
  9. package/src/body/src/body.d.ts +26 -0
  10. package/src/cell/index.d.ts +46 -0
  11. package/src/cell/src/cell.d.ts +35 -0
  12. package/src/checkbox/index.d.ts +5 -0
  13. package/src/checkbox/src/handleSelectRow.d.ts +6 -0
  14. package/src/checkbox/src/methods.d.ts +21 -0
  15. package/src/checkbox/src/setAllSelection.d.ts +27 -0
  16. package/src/column/index.d.ts +13 -0
  17. package/src/column/src/column.d.ts +2 -0
  18. package/src/column-anchor/index.d.ts +5 -0
  19. package/src/column-anchor/src/methods.d.ts +16 -0
  20. package/src/composable/index.d.ts +2 -0
  21. package/src/composable/useDrag/dnd.d.ts +3 -0
  22. package/src/composable/useDrag/index.d.ts +5 -0
  23. package/src/composable/useRowGroup.d.ts +6 -0
  24. package/src/config.d.ts +195 -0
  25. package/src/dragger/index.d.ts +5 -0
  26. package/src/dragger/src/methods.d.ts +5 -0
  27. package/src/dragger/src/rowDrop.d.ts +9 -0
  28. package/src/edit/index.d.ts +4 -0
  29. package/src/edit/src/methods.d.ts +79 -0
  30. package/src/edit/src/utils/handleActived.d.ts +39 -0
  31. package/src/export/index.d.ts +4 -0
  32. package/src/fetch-data/index.d.ts +5 -0
  33. package/src/fetch-data/src/methods.d.ts +18 -0
  34. package/src/filter/index.d.ts +2 -0
  35. package/src/filter/src/handleLocalFilter.d.ts +38 -0
  36. package/src/filter/src/methods.d.ts +17 -0
  37. package/src/filter/src/panel.d.ts +26 -0
  38. package/src/footer/index.d.ts +26 -0
  39. package/src/footer/src/footer.d.ts +26 -0
  40. package/src/grid/grid.d.ts +26 -0
  41. package/src/header/index.d.ts +26 -0
  42. package/src/header/src/header.d.ts +26 -0
  43. package/src/index.d.ts +13 -0
  44. package/src/keyboard/index.d.ts +4 -0
  45. package/src/keyboard/src/methods.d.ts +33 -0
  46. package/src/keyboard/src/utils/moveTabSelected.d.ts +13 -0
  47. package/src/keyboard/src/utils/triggerCellMousedownEvent.d.ts +20 -0
  48. package/src/keyboard/src/utils/triggerHeaderCellMousedownEvent.d.ts +8 -0
  49. package/src/loading/index.d.ts +2 -0
  50. package/src/loading/src/loading.d.ts +13 -0
  51. package/src/menu/index.d.ts +2 -0
  52. package/src/menu/src/children.d.ts +2 -0
  53. package/src/menu/src/methods.d.ts +19 -0
  54. package/src/menu/src/panel.d.ts +2 -0
  55. package/src/mobile-first/column-content.vue.d.ts +2 -0
  56. package/src/mobile-first/column-layout.vue.d.ts +2 -0
  57. package/src/mobile-first/column-link.vue.d.ts +2 -0
  58. package/src/mobile-first/column-type.vue.d.ts +2 -0
  59. package/src/mobile-first/custom-view.vue.d.ts +2 -0
  60. package/src/mobile-first/gantt-view.vue.d.ts +2 -0
  61. package/src/mobile-first/index.vue.d.ts +2 -0
  62. package/src/mobile-first/list-view.vue.d.ts +2 -0
  63. package/src/mobile-first/table-row.vue.d.ts +2 -0
  64. package/src/mobile-first/type.d.ts +46 -0
  65. package/src/mobile-first/utils.d.ts +4 -0
  66. package/src/pager/index.d.ts +5 -0
  67. package/src/pager/src/methods.d.ts +17 -0
  68. package/src/radio/index.d.ts +2 -0
  69. package/src/radio/src/radio.d.ts +2 -0
  70. package/src/resize/index.d.ts +4 -0
  71. package/src/resize/src/methods.d.ts +5 -0
  72. package/src/sort/index.d.ts +5 -0
  73. package/src/sort/src/methods.d.ts +2 -0
  74. package/src/table/index.d.ts +13 -0
  75. package/src/table/src/events.d.ts +47 -0
  76. package/src/table/src/funcs.d.ts +5 -0
  77. package/src/table/src/methods.d.ts +178 -0
  78. package/src/table/src/strategy.d.ts +34 -0
  79. package/src/table/src/table.d.ts +2 -0
  80. package/src/table/src/utils/autoCellWidth.d.ts +39 -0
  81. package/src/table/src/utils/computeScrollLoad.d.ts +16 -0
  82. package/src/table/src/utils/handleFixedColumn.d.ts +6 -0
  83. package/src/table/src/utils/handleGlobalKeydownEvent.d.ts +1 -0
  84. package/src/table/src/utils/handleGlobalMousedownEvent.d.ts +56 -0
  85. package/src/table/src/utils/handleOtherKeyDown.d.ts +25 -0
  86. package/src/table/src/utils/handleResolveColumn.d.ts +28 -0
  87. package/src/table/src/utils/refreshColumn.d.ts +46 -0
  88. package/src/table/src/utils/triggerCellClickEvent.d.ts +74 -0
  89. package/src/table/src/utils/updateStyle.d.ts +5 -0
  90. package/src/toolbar/index.d.ts +5 -0
  91. package/src/toolbar/src/methods.d.ts +43 -0
  92. package/src/tools/formatter.d.ts +36 -0
  93. package/src/tools/index.d.ts +4 -0
  94. package/src/tools/logger.d.ts +2 -0
  95. package/src/tooltip/index.d.ts +5 -0
  96. package/src/tooltip/src/handleTooltip.d.ts +16 -0
  97. package/src/tooltip/src/methods.d.ts +11 -0
  98. package/src/tree/index.d.ts +5 -0
  99. package/src/tree/src/methods.d.ts +12 -0
  100. package/src/types/index.type.d.ts +4 -0
  101. package/src/validator/index.d.ts +4 -0
  102. package/src/validator/src/methods.d.ts +42 -0
  103. package/src/validator/src/utils/beginValidate.d.ts +22 -0
@@ -0,0 +1,39 @@
1
+ export declare function handleActivedCheckCell({ actived, column, editConfig, row }: {
2
+ actived: any;
3
+ column: any;
4
+ editConfig: any;
5
+ row: any;
6
+ }): boolean;
7
+ export declare function handleActivedCanActive({ editConfig, params }: {
8
+ editConfig: any;
9
+ params: any;
10
+ }): any;
11
+ export declare function handleActivedDoActive({ _vm, actived, canActive, cell, column, editConfig, event, params, row, tableColumn, type }: {
12
+ _vm: any;
13
+ actived: any;
14
+ canActive: any;
15
+ cell: any;
16
+ column: any;
17
+ editConfig: any;
18
+ event: any;
19
+ params: any;
20
+ row: any;
21
+ tableColumn: any;
22
+ type: any;
23
+ }): any;
24
+ export declare function handleActivedClearActive({ _vm, canActive, event }: {
25
+ _vm: any;
26
+ canActive: any;
27
+ event: any;
28
+ }): void;
29
+ export declare function handleActivedTryActive({ _vm, actived, cell, column, editor, event, isActiveCell, params, row }: {
30
+ _vm: any;
31
+ actived: any;
32
+ cell: any;
33
+ column: any;
34
+ editor: any;
35
+ event: any;
36
+ isActiveCell: any;
37
+ params: any;
38
+ row: any;
39
+ }): void;
@@ -0,0 +1,4 @@
1
+ declare const _default: {
2
+ install(Table: any): void;
3
+ };
4
+ export default _default;
@@ -0,0 +1,5 @@
1
+ declare const _default: {
2
+ host: string;
3
+ install(host: any): void;
4
+ };
5
+ export default _default;
@@ -0,0 +1,18 @@
1
+ declare const _default: {
2
+ /**
3
+ * 初始化fetch-data配置项
4
+ * @returns {object}
5
+ */
6
+ initFetchOption(): {
7
+ api: any;
8
+ dataset: any;
9
+ fields: any;
10
+ loading: any;
11
+ isReloadFilter: boolean;
12
+ isReloadScroll: boolean;
13
+ } | undefined;
14
+ handleFetch(code: any, sortArg: any): any;
15
+ clearActiveAnchor(): void;
16
+ loadFetchData(rest: any): void;
17
+ };
18
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import Panel from './src/panel';
2
+ export default Panel;
@@ -0,0 +1,38 @@
1
+ export declare function handleFilterConditionCustom({ column, condition, method, property, row }: {
2
+ column: any;
3
+ condition: any;
4
+ method: any;
5
+ property: any;
6
+ row: any;
7
+ }): {
8
+ flag: boolean;
9
+ result: null;
10
+ };
11
+ export declare function handleFilterConditionExtend({ column, condition, property, row }: {
12
+ column: any;
13
+ condition: any;
14
+ property: any;
15
+ row: any;
16
+ }): {
17
+ flag: boolean;
18
+ result: null;
19
+ };
20
+ export declare function handleFilterRelations({ inputFilter }: {
21
+ inputFilter: any;
22
+ }): never[];
23
+ export declare function handleFilterCheckStr({ column, relationMethod, relations, row }: {
24
+ column: any;
25
+ relationMethod: any;
26
+ relations: any;
27
+ row: any;
28
+ }): (value: any, input: any, relation: any, dateList: any) => boolean;
29
+ export declare function handleFilterCheck({ checkStr, empty, input, property, relation, row, valueList, dateList }: {
30
+ checkStr: any;
31
+ empty: any;
32
+ input: any;
33
+ property: any;
34
+ relation: any;
35
+ row: any;
36
+ valueList: any;
37
+ dateList: any;
38
+ }): () => any;
@@ -0,0 +1,17 @@
1
+ declare const _default: {
2
+ filter(field: any, callback: any): any;
3
+ closeFilter(): any;
4
+ handleLocalFilter(row: any, column: any): any;
5
+ getOptions({ property, filter }: {
6
+ property: any;
7
+ filter: any;
8
+ }): any;
9
+ /**
10
+ * 点击筛选事件
11
+ */
12
+ triggerFilterEvent(event: any, column: any, params: any): void;
13
+ confirmFilterEvent(): void;
14
+ clearFilter(field: any): any;
15
+ getAllFilter(): any;
16
+ };
17
+ export default _default;
@@ -0,0 +1,26 @@
1
+ /**
2
+ * MIT License
3
+ *
4
+ * Copyright (c) 2019 Xu Liangzhan
5
+ *
6
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ * of this software and associated documentation files (the "Software"), to deal
8
+ * in the Software without restriction, including without limitation the rights
9
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ * copies of the Software, and to permit persons to whom the Software is
11
+ * furnished to do so, subject to the following conditions:
12
+ *
13
+ * The above copyright notice and this permission notice shall be included in all
14
+ * copies or substantial portions of the Software.
15
+ *
16
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ * SOFTWARE.
23
+ *
24
+ */
25
+ declare const _default: any;
26
+ export default _default;
@@ -0,0 +1,26 @@
1
+ /**
2
+ * MIT License
3
+ *
4
+ * Copyright (c) 2019 Xu Liangzhan
5
+ *
6
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ * of this software and associated documentation files (the "Software"), to deal
8
+ * in the Software without restriction, including without limitation the rights
9
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ * copies of the Software, and to permit persons to whom the Software is
11
+ * furnished to do so, subject to the following conditions:
12
+ *
13
+ * The above copyright notice and this permission notice shall be included in all
14
+ * copies or substantial portions of the Software.
15
+ *
16
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ * SOFTWARE.
23
+ *
24
+ */
25
+ import Footer from './src/footer';
26
+ export default Footer;
@@ -0,0 +1,26 @@
1
+ /**
2
+ * MIT License
3
+ *
4
+ * Copyright (c) 2019 Xu Liangzhan
5
+ *
6
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ * of this software and associated documentation files (the "Software"), to deal
8
+ * in the Software without restriction, including without limitation the rights
9
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ * copies of the Software, and to permit persons to whom the Software is
11
+ * furnished to do so, subject to the following conditions:
12
+ *
13
+ * The above copyright notice and this permission notice shall be included in all
14
+ * copies or substantial portions of the Software.
15
+ *
16
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ * SOFTWARE.
23
+ *
24
+ */
25
+ declare const _default: any;
26
+ export default _default;
@@ -0,0 +1,26 @@
1
+ /**
2
+ * MIT License
3
+ *
4
+ * Copyright (c) 2019 Xu Liangzhan
5
+ *
6
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ * of this software and associated documentation files (the "Software"), to deal
8
+ * in the Software without restriction, including without limitation the rights
9
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ * copies of the Software, and to permit persons to whom the Software is
11
+ * furnished to do so, subject to the following conditions:
12
+ *
13
+ * The above copyright notice and this permission notice shall be included in all
14
+ * copies or substantial portions of the Software.
15
+ *
16
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ * SOFTWARE.
23
+ *
24
+ */
25
+ declare const _default: any;
26
+ export default _default;
@@ -0,0 +1,26 @@
1
+ /**
2
+ * MIT License
3
+ *
4
+ * Copyright (c) 2019 Xu Liangzhan
5
+ *
6
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ * of this software and associated documentation files (the "Software"), to deal
8
+ * in the Software without restriction, including without limitation the rights
9
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ * copies of the Software, and to permit persons to whom the Software is
11
+ * furnished to do so, subject to the following conditions:
12
+ *
13
+ * The above copyright notice and this permission notice shall be included in all
14
+ * copies or substantial portions of the Software.
15
+ *
16
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ * SOFTWARE.
23
+ *
24
+ */
25
+ import Header from './src/header';
26
+ export default Header;
@@ -0,0 +1,26 @@
1
+ /**
2
+ * MIT License
3
+ *
4
+ * Copyright (c) 2019 Xu Liangzhan
5
+ *
6
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ * of this software and associated documentation files (the "Software"), to deal
8
+ * in the Software without restriction, including without limitation the rights
9
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ * copies of the Software, and to permit persons to whom the Software is
11
+ * furnished to do so, subject to the following conditions:
12
+ *
13
+ * The above copyright notice and this permission notice shall be included in all
14
+ * copies or substantial portions of the Software.
15
+ *
16
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ * SOFTWARE.
23
+ *
24
+ */
25
+ declare const _default: any;
26
+ export default _default;
package/src/index.d.ts ADDED
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Copyright (c) 2022 - present TinyVue Authors.
3
+ * Copyright (c) 2022 - present Huawei Cloud Computing Technologies Co., Ltd.
4
+ *
5
+ * Use of this source code is governed by an MIT-style license.
6
+ *
7
+ * THE OPEN SOURCE SOFTWARE IN THIS PRODUCT IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL,
8
+ * BUT WITHOUT ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR
9
+ * A PARTICULAR PURPOSE. SEE THE APPLICABLE LICENSES FOR MORE DETAILS.
10
+ *
11
+ */
12
+ import Grid from './grid/grid';
13
+ export default Grid;
@@ -0,0 +1,4 @@
1
+ declare const _default: {
2
+ install(Table: any): void;
3
+ };
4
+ export default _default;
@@ -0,0 +1,33 @@
1
+ declare const _default: {
2
+ moveTabSelected(args: any, isLeft: any, event: any, edit: any): void;
3
+ moveCurrentRow(isUpArrow: any, isDwArrow: any, event: any): void;
4
+ moveSelected({ args, isLeftArrow, isUpArrow, isRightArrow, isDownArrow, event }: {
5
+ args: any;
6
+ isLeftArrow: any;
7
+ isUpArrow: any;
8
+ isRightArrow: any;
9
+ isDownArrow: any;
10
+ event: any;
11
+ }): void;
12
+ triggerHeaderCellMousedownEvent(event: any, params: any): void;
13
+ triggerCellMousedownEvent(event: any, params: any): void;
14
+ _clearSelected(keep: any): any;
15
+ _clearChecked(): any;
16
+ _getMouseCheckeds(): {
17
+ rows: never[];
18
+ columns: never[];
19
+ rowNodes: any;
20
+ };
21
+ _getMouseSelecteds(): object | null;
22
+ handleChecked(rowNodes: any): void;
23
+ handleAllChecked(event: any): void;
24
+ handleIndexChecked(rowNodes: any): void;
25
+ _clearIndexChecked(): any;
26
+ handleHeaderChecked(rowNodes: any): void;
27
+ _clearHeaderChecked(): any;
28
+ _clearCopyed(): any;
29
+ handleCopyed(cut: any): void;
30
+ handlePaste(): void;
31
+ handleClearMouseChecked(event: any): void;
32
+ };
33
+ export default _default;
@@ -0,0 +1,13 @@
1
+ export declare function findLeft(params: any): {
2
+ targetColumn: any;
3
+ targetColumnIndex: any;
4
+ targetRow: any;
5
+ targetRowIndex: any;
6
+ };
7
+ export declare function findRight(params: any): {
8
+ targetColumn: any;
9
+ targetColumnIndex: any;
10
+ targetRow: any;
11
+ targetRowIndex: any;
12
+ };
13
+ export declare function processTarget(args1: any): void;
@@ -0,0 +1,20 @@
1
+ export declare function onCellMousedownGridEl(args: any): void;
2
+ export declare function handleCellMousedownEvent(args1: any): void;
3
+ export declare function onCellMousedownSelectEditable(args: any): void;
4
+ export declare function onCellMousedownSelect({ _vm, editConfig, event, mouseConfig, params }: {
5
+ _vm: any;
6
+ editConfig: any;
7
+ event: any;
8
+ mouseConfig: any;
9
+ params: any;
10
+ }): void;
11
+ export declare function onCellMousedownIndexColumn(args: any): void;
12
+ export declare function onCellMousedownNotIndexColumn({ _vm, cell, column, event, headerList, isIndex, params }: {
13
+ _vm: any;
14
+ cell: any;
15
+ column: any;
16
+ event: any;
17
+ headerList: any;
18
+ isIndex: any;
19
+ params: any;
20
+ }): void;
@@ -0,0 +1,8 @@
1
+ export declare function handleHeaderCellMousedownEvent({ $el, _vm, bodyList, cell, headerList, startCell }: {
2
+ $el: any;
3
+ _vm: any;
4
+ bodyList: any;
5
+ cell: any;
6
+ headerList: any;
7
+ startCell: any;
8
+ }): void;
@@ -0,0 +1,2 @@
1
+ import Loading from './src/loading';
2
+ export default Loading;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Copyright (c) 2022 - present TinyVue Authors.
3
+ * Copyright (c) 2022 - present Huawei Cloud Computing Technologies Co., Ltd.
4
+ *
5
+ * Use of this source code is governed by an MIT-style license.
6
+ *
7
+ * THE OPEN SOURCE SOFTWARE IN THIS PRODUCT IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL,
8
+ * BUT WITHOUT ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR
9
+ * A PARTICULAR PURPOSE. SEE THE APPLICABLE LICENSES FOR MORE DETAILS.
10
+ *
11
+ */
12
+ declare const _default: any;
13
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import Panel from './src/panel';
2
+ export default Panel;
@@ -0,0 +1,2 @@
1
+ declare const _default: any;
2
+ export default _default;
@@ -0,0 +1,19 @@
1
+ declare const _default: {
2
+ _closeMenu(): any;
3
+ moveCtxMenu({ event, keyCode, ctxMenuStore, property, operKey, operRest, menuList }: {
4
+ event: any;
5
+ keyCode: any;
6
+ ctxMenuStore: any;
7
+ property: any;
8
+ operKey: any;
9
+ operRest: any;
10
+ menuList: any;
11
+ }): void;
12
+ handleGlobalContextmenuEvent(event: any): void;
13
+ openContextMenu(event: any, type: any, params: any): void;
14
+ ctxMenuMouseoverEvent(event: any, item: any, child: any): void;
15
+ ctxMenuMouseoutEvent(event: any, item: any): void;
16
+ ctxMenuLinkEvent(event: any, menu: any): void;
17
+ toKebab(code: any): string;
18
+ };
19
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: any;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: any;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: any;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: any;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: any;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: any;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: any;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: any;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: any;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: any;
2
+ export default _default;
@@ -0,0 +1,46 @@
1
+ export interface Column {
2
+ type: string;
3
+ [property: string]: string;
4
+ visible: any;
5
+ renderCell: any;
6
+ renderHeader: any;
7
+ }
8
+ export interface FieldConfig {
9
+ render?: Function;
10
+ }
11
+ export type FieldType = [string, FieldConfig];
12
+ export type Field = string | FieldType;
13
+ export interface CardConfig {
14
+ primaryField?: Field;
15
+ contentFields?: Array<Field>;
16
+ logoField?: Field;
17
+ tagFields?: Array<Field>;
18
+ tagColorFields?: Array<Field>;
19
+ minCardWidth?: number;
20
+ gapWidth?: number;
21
+ selectable?: boolean;
22
+ renderLink?: Function;
23
+ split?: string;
24
+ operable?: boolean;
25
+ few?: number;
26
+ showTip?: boolean;
27
+ }
28
+ export interface Datas {
29
+ primaryColumn: Column;
30
+ contentColumns: Array<Column>;
31
+ genParams: Function;
32
+ config: Config;
33
+ cardView: boolean;
34
+ row: Object;
35
+ selectionColumn: Column;
36
+ slotLink: Function;
37
+ operationColumn: Column;
38
+ hasType: boolean;
39
+ hasOperation: boolean;
40
+ hasLink: boolean;
41
+ rowClass: string;
42
+ }
43
+ export interface Config {
44
+ tableVm: Object;
45
+ cardConfig: CardConfig;
46
+ }
@@ -0,0 +1,4 @@
1
+ import type { Field, FieldConfig } from './type';
2
+ export declare const fnField: (field: Field) => string;
3
+ export declare const fnFields: (fields: Array<Field>) => Array<string>;
4
+ export declare const fnFieldConfig: (field: Field) => FieldConfig;
@@ -0,0 +1,5 @@
1
+ declare const _default: {
2
+ host: string;
3
+ install(host: any): void;
4
+ };
5
+ export default _default;
@@ -0,0 +1,17 @@
1
+ declare const _default: {
2
+ initPagerConfig(): any;
3
+ renderPager({ $slots, _vm, loading, pager, pagerConfig, tableLoading, vSize }: {
4
+ $slots: any;
5
+ _vm: any;
6
+ loading: any;
7
+ pager: any;
8
+ pagerConfig: any;
9
+ tableLoading: any;
10
+ vSize: any;
11
+ }): null;
12
+ pageChangeEvent(params: any): void;
13
+ pageSizeChange(size: any, load: any): void;
14
+ pageCurrentChange(current: any): void;
15
+ beforePageChangeHandler(params: any): void;
16
+ };
17
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import Radio from './src/radio';
2
+ export default Radio;
@@ -0,0 +1,2 @@
1
+ declare const _default: any;
2
+ export default _default;
@@ -0,0 +1,4 @@
1
+ declare const _default: {
2
+ install(Table: any): void;
3
+ };
4
+ export default _default;
@@ -0,0 +1,5 @@
1
+ declare const _default: {
2
+ bindResize(): void;
3
+ unbindResize(): void;
4
+ };
5
+ export default _default;
@@ -0,0 +1,5 @@
1
+ declare const _default: {
2
+ host: string;
3
+ install(host: any): void;
4
+ };
5
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: {};
2
+ export default _default;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Copyright (c) 2022 - present TinyVue Authors.
3
+ * Copyright (c) 2022 - present Huawei Cloud Computing Technologies Co., Ltd.
4
+ *
5
+ * Use of this source code is governed by an MIT-style license.
6
+ *
7
+ * THE OPEN SOURCE SOFTWARE IN THIS PRODUCT IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL,
8
+ * BUT WITHOUT ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR
9
+ * A PARTICULAR PURPOSE. SEE THE APPLICABLE LICENSES FOR MORE DETAILS.
10
+ *
11
+ */
12
+ import Table from './src/table';
13
+ export default Table;