naive-ui-language-server 0.1.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 (107) hide show
  1. package/cache/json/affix.json +43 -0
  2. package/cache/json/alert.json +61 -0
  3. package/cache/json/anchor-link.json +19 -0
  4. package/cache/json/anchor.json +60 -0
  5. package/cache/json/auto-complete.json +206 -0
  6. package/cache/json/avatar-group.json +52 -0
  7. package/cache/json/avatar.json +102 -0
  8. package/cache/json/back-top.json +53 -0
  9. package/cache/json/badge.json +73 -0
  10. package/cache/json/blockquote.json +14 -0
  11. package/cache/json/breadcrumb-item.json +34 -0
  12. package/cache/json/breadcrumb.json +14 -0
  13. package/cache/json/button-group.json +26 -0
  14. package/cache/json/button.json +196 -0
  15. package/cache/json/calendar.json +38 -0
  16. package/cache/json/card.json +165 -0
  17. package/cache/json/carousel.json +197 -0
  18. package/cache/json/cascader.json +314 -0
  19. package/cache/json/checkbox-group.json +49 -0
  20. package/cache/json/checkbox.json +86 -0
  21. package/cache/json/code.json +54 -0
  22. package/cache/json/collapse-item.json +37 -0
  23. package/cache/json/collapse-transition.json +21 -0
  24. package/cache/json/collapse.json +73 -0
  25. package/cache/json/color-picker.json +159 -0
  26. package/cache/json/config-provider.json +90 -0
  27. package/cache/json/countdown.json +40 -0
  28. package/cache/json/data-table.json +384 -0
  29. package/cache/json/descriptions.json +93 -0
  30. package/cache/json/dialog.json +161 -0
  31. package/cache/json/divider.json +33 -0
  32. package/cache/json/drawer-content.json +81 -0
  33. package/cache/json/drawer.json +220 -0
  34. package/cache/json/dropdown.json +111 -0
  35. package/cache/json/dynamic-input.json +100 -0
  36. package/cache/json/dynamic-tags.json +129 -0
  37. package/cache/json/element.json +14 -0
  38. package/cache/json/empty.json +42 -0
  39. package/cache/json/equation.json +25 -0
  40. package/cache/json/flex.json +53 -0
  41. package/cache/json/float-button.json +101 -0
  42. package/cache/json/form-item.json +171 -0
  43. package/cache/json/form.json +115 -0
  44. package/cache/json/gradient-text.json +33 -0
  45. package/cache/json/grid-item.json +28 -0
  46. package/cache/json/grid.json +67 -0
  47. package/cache/json/heatmap.json +118 -0
  48. package/cache/json/highlight.json +52 -0
  49. package/cache/json/icon-wrapper.json +33 -0
  50. package/cache/json/icon.json +31 -0
  51. package/cache/json/image-group.json +83 -0
  52. package/cache/json/image-preview.json +58 -0
  53. package/cache/json/image.json +121 -0
  54. package/cache/json/input-number.json +203 -0
  55. package/cache/json/input.json +226 -0
  56. package/cache/json/list.json +35 -0
  57. package/cache/json/loading-bar-provider.json +31 -0
  58. package/cache/json/log.json +88 -0
  59. package/cache/json/marquee.json +21 -0
  60. package/cache/json/mention.json +193 -0
  61. package/cache/json/menu.json +228 -0
  62. package/cache/json/message-provider.json +60 -0
  63. package/cache/json/modal-provider.json +14 -0
  64. package/cache/json/modal.json +141 -0
  65. package/cache/json/notification-provider.json +54 -0
  66. package/cache/json/number-animation.json +61 -0
  67. package/cache/json/p.json +18 -0
  68. package/cache/json/page-header.json +31 -0
  69. package/cache/json/pagination.json +188 -0
  70. package/cache/json/popconfirm.json +52 -0
  71. package/cache/json/popover.json +241 -0
  72. package/cache/json/popselect.json +78 -0
  73. package/cache/json/progress.json +150 -0
  74. package/cache/json/radio-group.json +52 -0
  75. package/cache/json/rate.json +78 -0
  76. package/cache/json/result.json +49 -0
  77. package/cache/json/scrollbar.json +71 -0
  78. package/cache/json/select.json +358 -0
  79. package/cache/json/skeleton.json +72 -0
  80. package/cache/json/slider.json +143 -0
  81. package/cache/json/space.json +94 -0
  82. package/cache/json/spin.json +69 -0
  83. package/cache/json/split.json +116 -0
  84. package/cache/json/statistic.json +26 -0
  85. package/cache/json/step.json +38 -0
  86. package/cache/json/steps.json +61 -0
  87. package/cache/json/switch.json +86 -0
  88. package/cache/json/tab-pane.json +51 -0
  89. package/cache/json/tab.json +25 -0
  90. package/cache/json/table.json +54 -0
  91. package/cache/json/tabs.json +188 -0
  92. package/cache/json/tag.json +108 -0
  93. package/cache/json/text.json +73 -0
  94. package/cache/json/thing.json +62 -0
  95. package/cache/json/time-picker.json +237 -0
  96. package/cache/json/time.json +52 -0
  97. package/cache/json/timeline-item.json +56 -0
  98. package/cache/json/timeline.json +42 -0
  99. package/cache/json/transfer.json +151 -0
  100. package/cache/json/tree-select.json +384 -0
  101. package/cache/json/tree.json +421 -0
  102. package/cache/json/upload-trigger.json +14 -0
  103. package/cache/json/upload.json +312 -0
  104. package/cache/json/watermark.json +193 -0
  105. package/dist/server.js +213851 -0
  106. package/dist/server.js.map +1 -0
  107. package/package.json +42 -0
@@ -0,0 +1,159 @@
1
+ {
2
+ "name": "NColorPicker",
3
+ "tag": "n-color-picker",
4
+ "description": "和真实世界比起来,它的空间是不连续的。",
5
+ "props": [
6
+ {
7
+ "name": "default-show",
8
+ "type": "boolean",
9
+ "description": "默认是否展示弹出层",
10
+ "required": false
11
+ },
12
+ {
13
+ "name": "default-value",
14
+ "type": "string",
15
+ "description": "默认的颜色值",
16
+ "required": false,
17
+ "default": "和第一个 mode 对应的黑色值"
18
+ },
19
+ {
20
+ "name": "modes",
21
+ "type": "string",
22
+ "description": "颜色选择器支持颜色的格式,注意一旦你在某个模式下选择了值,颜色选择器值的格式将跟随这个格式",
23
+ "required": false,
24
+ "default": "['rgb', 'hex', 'hsl']",
25
+ "options": [
26
+ "rgb",
27
+ "hex",
28
+ "hsl",
29
+ "hsv"
30
+ ]
31
+ },
32
+ {
33
+ "name": "placement",
34
+ "type": "string",
35
+ "description": "面板的弹出位置",
36
+ "required": false,
37
+ "default": "bottom-start",
38
+ "options": [
39
+ "top-start",
40
+ "top",
41
+ "top-end",
42
+ "right-start",
43
+ "right",
44
+ "right-end",
45
+ "bottom-start",
46
+ "bottom",
47
+ "bottom-end",
48
+ "left-start",
49
+ "left",
50
+ "left-end"
51
+ ]
52
+ },
53
+ {
54
+ "name": "render-label",
55
+ "type": "(color: string",
56
+ "description": "触发器的内容",
57
+ "required": false
58
+ },
59
+ {
60
+ "name": "show",
61
+ "type": "boolean",
62
+ "description": "是否展示面板",
63
+ "required": false
64
+ },
65
+ {
66
+ "name": "show-alpha",
67
+ "type": "boolean",
68
+ "description": "是否可调节 alpha 通道",
69
+ "required": false,
70
+ "default": true
71
+ },
72
+ {
73
+ "name": "show-preview",
74
+ "type": "boolean",
75
+ "description": "是否展示颜色预览块",
76
+ "required": false,
77
+ "default": false
78
+ },
79
+ {
80
+ "name": "size",
81
+ "type": "string",
82
+ "description": "颜色选择器的尺寸",
83
+ "required": false,
84
+ "default": "medium",
85
+ "options": [
86
+ "small",
87
+ "medium",
88
+ "large"
89
+ ]
90
+ },
91
+ {
92
+ "name": "disabled",
93
+ "type": "boolean",
94
+ "description": "是否禁用",
95
+ "required": false,
96
+ "default": false
97
+ },
98
+ {
99
+ "name": "swatches",
100
+ "type": "string[]",
101
+ "description": "色板的值",
102
+ "required": false
103
+ },
104
+ {
105
+ "name": "to",
106
+ "type": "string",
107
+ "description": "面板的卸载位置,`false` 会待在原地",
108
+ "required": false,
109
+ "default": "body"
110
+ },
111
+ {
112
+ "name": "value",
113
+ "type": "string",
114
+ "description": "颜色选择器的值",
115
+ "required": false
116
+ },
117
+ {
118
+ "name": "on-complete",
119
+ "type": "(value: string) => void",
120
+ "description": "颜色完成改变后的回调(在鼠标移动时候不会调用)",
121
+ "required": false
122
+ },
123
+ {
124
+ "name": "on-confirm",
125
+ "type": "(value: string) => void",
126
+ "description": "点击确定按钮的回调",
127
+ "required": false
128
+ },
129
+ {
130
+ "name": "on-clear",
131
+ "type": "() => void",
132
+ "description": "点击清除按钮的回调",
133
+ "required": false
134
+ },
135
+ {
136
+ "name": "on-update:show",
137
+ "type": "(value: boolean) => void",
138
+ "description": "面板可见状态改变的回调",
139
+ "required": false
140
+ },
141
+ {
142
+ "name": "on-update:value",
143
+ "type": "(value: string) => void",
144
+ "description": "颜色改变时的回调",
145
+ "required": false
146
+ },
147
+ {
148
+ "name": "actions",
149
+ "type": "string",
150
+ "description": "显示按钮",
151
+ "required": false,
152
+ "default": null,
153
+ "options": [
154
+ "confirm",
155
+ "clear"
156
+ ]
157
+ }
158
+ ]
159
+ }
@@ -0,0 +1,90 @@
1
+ {
2
+ "name": "NConfigProvider",
3
+ "tag": "n-config-provider",
4
+ "description": "全局化配置设置内部组件的主题、语言和组件卸载于其他位置的 DOM 的类名。",
5
+ "props": [
6
+ {
7
+ "name": "abstract",
8
+ "type": "boolean",
9
+ "description": "是否不存在 DOM 包裹",
10
+ "required": false,
11
+ "default": false
12
+ },
13
+ {
14
+ "name": "breakpoints",
15
+ "type": "{ [k: string]: number }",
16
+ "description": "屏幕响应式断点,对 `n-grid` 生效。这个属性不是响应式的,你需要在组件第一次挂载时就设定好",
17
+ "required": false,
18
+ "default": "{ xs: <640, s: ≥640, m: ≥1024, l: ≥1280, xl: ≥1536, xxl: ≥1920 }"
19
+ },
20
+ {
21
+ "name": "cls-prefix",
22
+ "type": "string",
23
+ "description": "内部所有组件的类的前缀。(从 `2.40.0` 开始)如果不设置 `n-config-provider` 的类前缀 `cls-prefix`,则默认继承父级的类前缀。注意,该属性不是响应式的。",
24
+ "required": false
25
+ },
26
+ {
27
+ "name": "date-locale",
28
+ "type": "DateLocale",
29
+ "description": "对后代组件生效的日期语言对象,为 `null` 时会使用默认 `dateEnUS`,为 `undefined` 时会继承上级 `n-config-provider`",
30
+ "required": false
31
+ },
32
+ {
33
+ "name": "inline-theme-disabled",
34
+ "type": "boolean",
35
+ "description": "是否禁用 inline css 主题变量,如果你不会频繁调整主题变量��并且需要 SSR 或者想让 devtools 看起来更干净,可以打开这个选项。注意,这个属性不是响应式的",
36
+ "required": false,
37
+ "default": false
38
+ },
39
+ {
40
+ "name": "katex",
41
+ "type": "object",
42
+ "description": "公式组件需要的 katex 对象",
43
+ "required": false
44
+ },
45
+ {
46
+ "name": "locale",
47
+ "type": "Locale",
48
+ "description": "对后代组件生效的语言对象,为 `null` 时会使用默认 `enUS`,为 `undefined` 时会继承上级 `n-config-provider`",
49
+ "required": false
50
+ },
51
+ {
52
+ "name": "namespace",
53
+ "type": "string",
54
+ "description": "`n-config-provider` 内部组件被卸载于其他位置的 DOM 的类名",
55
+ "required": false
56
+ },
57
+ {
58
+ "name": "preflight-style-disabled",
59
+ "type": "boolean",
60
+ "description": "是否禁用默认样式,如果你禁用了它,便可以完全控制全局样式。你也可以使用 `n-global-style` 去挂载全局样式(推荐,样式是响应式的)",
61
+ "required": false,
62
+ "default": false
63
+ },
64
+ {
65
+ "name": "style-mount-target",
66
+ "type": "ParentNode",
67
+ "description": "组件样式的挂载位置。注意,该属性不是响应式的。",
68
+ "required": false
69
+ },
70
+ {
71
+ "name": "tag",
72
+ "type": "string",
73
+ "description": "`n-config-provider` 被渲染成的元素",
74
+ "required": false,
75
+ "default": "div"
76
+ },
77
+ {
78
+ "name": "theme",
79
+ "type": "Theme",
80
+ "description": "对后代组件生效的主题对象,为 `null` 时会使用默认亮色,为 `undefined` 时会继承上级 `n-config-provider`。更多信息参见[调整主题](../docs/customize-theme)",
81
+ "required": false
82
+ },
83
+ {
84
+ "name": "theme-overrides",
85
+ "type": "ThemeOverrides",
86
+ "description": "对后代组件生效的主题变量覆盖,为 `null` 时会清除全部覆盖变量,为 `undefined` ���会继承上级 `n-config-provider`。更多信息参见[调整主题](../docs/customize-theme)",
87
+ "required": false
88
+ }
89
+ ]
90
+ }
@@ -0,0 +1,40 @@
1
+ {
2
+ "name": "NCountdown",
3
+ "tag": "n-countdown",
4
+ "description": "每过一秒,就会少一秒。",
5
+ "props": [
6
+ {
7
+ "name": "active",
8
+ "type": "boolean",
9
+ "description": "是否处于计时状态",
10
+ "required": false,
11
+ "default": true
12
+ },
13
+ {
14
+ "name": "duration",
15
+ "type": "number",
16
+ "description": "倒计时持续时间,单位毫秒,非响应式",
17
+ "required": false,
18
+ "default": 0
19
+ },
20
+ {
21
+ "name": "precision",
22
+ "type": "0",
23
+ "description": "倒计时的秒显示的精度",
24
+ "required": false,
25
+ "default": 0
26
+ },
27
+ {
28
+ "name": "render",
29
+ "type": "(props: { hours: number, minutes: number, seconds: number, milliseconds: number }) => VNodeChild",
30
+ "description": "时间的渲染函数",
31
+ "required": false
32
+ },
33
+ {
34
+ "name": "on-finish",
35
+ "type": "() => void",
36
+ "description": "倒计时结束的回调",
37
+ "required": false
38
+ }
39
+ ]
40
+ }
@@ -0,0 +1,384 @@
1
+ {
2
+ "name": "NDataTable",
3
+ "tag": "n-data-table",
4
+ "description": "<!--single-column-->",
5
+ "props": [
6
+ {
7
+ "name": "allow-checking-not-loaded",
8
+ "type": "boolean",
9
+ "description": "是否允许级联勾选还没有完全加载的节点。如果你要用这个属性,请记住 `checked-row-keys` 可能是不完整的",
10
+ "required": false,
11
+ "default": false
12
+ },
13
+ {
14
+ "name": "bordered",
15
+ "type": "boolean",
16
+ "description": "是否显示 border",
17
+ "required": false,
18
+ "default": true
19
+ },
20
+ {
21
+ "name": "bottom-bordered",
22
+ "type": "boolean",
23
+ "description": "是否显示 bottom border",
24
+ "required": false,
25
+ "default": true
26
+ },
27
+ {
28
+ "name": "checked-row-keys",
29
+ "type": "Array<string",
30
+ "description": "被选中的行的 key",
31
+ "required": false
32
+ },
33
+ {
34
+ "name": "cascade",
35
+ "type": "boolean",
36
+ "description": "在进行树型数据选择的时候是否级联",
37
+ "required": false,
38
+ "default": true
39
+ },
40
+ {
41
+ "name": "children-key",
42
+ "type": "string",
43
+ "description": "树形数据下后代节点在数据中的 key",
44
+ "required": false,
45
+ "default": "children"
46
+ },
47
+ {
48
+ "name": "columns",
49
+ "type": "Array<DataTableColumn>",
50
+ "description": "需要展示的列",
51
+ "required": false,
52
+ "default": []
53
+ },
54
+ {
55
+ "name": "data",
56
+ "type": "Array<object>",
57
+ "description": "需要展示的数据",
58
+ "required": false,
59
+ "default": []
60
+ },
61
+ {
62
+ "name": "default-checked-row-keys",
63
+ "type": "Array<string",
64
+ "description": "默认���中的 key 值",
65
+ "required": false,
66
+ "default": []
67
+ },
68
+ {
69
+ "name": "default-expanded-row-keys",
70
+ "type": "Array<string",
71
+ "description": "默认展开行的 key 值",
72
+ "required": false,
73
+ "default": []
74
+ },
75
+ {
76
+ "name": "default-expand-all",
77
+ "type": "boolean",
78
+ "description": "是否默认展开全部可展开的行,不可在异步展开行时使用",
79
+ "required": false,
80
+ "default": false
81
+ },
82
+ {
83
+ "name": "expanded-row-keys",
84
+ "type": "Array<string",
85
+ "description": "展开行的 key 值",
86
+ "required": false
87
+ },
88
+ {
89
+ "name": "filter-icon-popover-props",
90
+ "type": "PopoverProps",
91
+ "description": "过滤按钮的 Popover 属性,属性参考 [Popover props](popover#Popover-Props)",
92
+ "required": false,
93
+ "default": "{ trigger: click, placement: bottom }"
94
+ },
95
+ {
96
+ "name": "flex-height",
97
+ "type": "boolean",
98
+ "description": "是否让表格主体的高度自动适应整个表格区域的高度,打开这个选项会让 `table-layout` 始终为 `'fixed'`",
99
+ "required": false,
100
+ "default": false
101
+ },
102
+ {
103
+ "name": "get-csv-cell",
104
+ "type": "(value: any, row: object, col: DataTableBaseColumn) => string",
105
+ "description": "获取 CSV 的单元格数据",
106
+ "required": false
107
+ },
108
+ {
109
+ "name": "get-csv-header",
110
+ "type": "(cols: Array<DataTableColumn>) => string",
111
+ "description": "获取 CSV 的 header",
112
+ "required": false
113
+ },
114
+ {
115
+ "name": "header-height",
116
+ "type": "number",
117
+ "description": "在开启 `virtual-scroll-header` 属性的情况下,表头的高度",
118
+ "required": false,
119
+ "default": 28
120
+ },
121
+ {
122
+ "name": "height-for-row",
123
+ "type": "(rowData: object, index: number) => number",
124
+ "description": "每行高度的配置函数,必须配合 `virtual-scroll-x` 使用,如果不进行配置,每一行的高度会被设为 `min-row-height`",
125
+ "required": false
126
+ },
127
+ {
128
+ "name": "indent",
129
+ "type": "number",
130
+ "description": "使用树形数据时行内容的缩进",
131
+ "required": false,
132
+ "default": 16
133
+ },
134
+ {
135
+ "name": "loading",
136
+ "type": "boolean",
137
+ "description": "是否显示 loading 状态",
138
+ "required": false,
139
+ "default": false
140
+ },
141
+ {
142
+ "name": "max-height",
143
+ "type": "number",
144
+ "description": "表格内容的最大高度,可以是 CSS 属性值",
145
+ "required": false
146
+ },
147
+ {
148
+ "name": "min-height",
149
+ "type": "number",
150
+ "description": "表格内容的最低高度,可以是 CSS 属性值",
151
+ "required": false
152
+ },
153
+ {
154
+ "name": "min-row-height",
155
+ "type": "number",
156
+ "description": "在开启 `virtual-scroll` 或 `virtual-scroll-x` 的情况下,每一行的最小高度,所有的行的高度必须比这个值更大",
157
+ "required": false,
158
+ "default": 28
159
+ },
160
+ {
161
+ "name": "paginate-single-page",
162
+ "type": "boolean",
163
+ "description": "当表格数据只有一页时是否显示分页面",
164
+ "required": false,
165
+ "default": true
166
+ },
167
+ {
168
+ "name": "pagination",
169
+ "type": "false",
170
+ "description": "属性参考 [Pagination props](pagination#Pagination-Props)",
171
+ "required": false,
172
+ "default": false
173
+ },
174
+ {
175
+ "name": "pagination-behavior-on-filter",
176
+ "type": "string",
177
+ "description": "过滤操作后页面的状态,`'first'` 为回到首页,`'current'` 为停留在当前页",
178
+ "required": false,
179
+ "default": "current",
180
+ "options": [
181
+ "first",
182
+ "current"
183
+ ]
184
+ },
185
+ {
186
+ "name": "remote",
187
+ "type": "boolean",
188
+ "description": "表格是否自动分页数据,在异步的状况下你可能需要把它设为 `true`",
189
+ "required": false,
190
+ "default": false
191
+ },
192
+ {
193
+ "name": "render-cell",
194
+ "type": "(value: any, rowData: object, column: DataTableBaseColumn) => VNodeChild",
195
+ "description": "自定义单元格渲染,优先级低于列的 `render`",
196
+ "required": false
197
+ },
198
+ {
199
+ "name": "render-expand-icon",
200
+ "type": "({ expanded, rowData }: { expanded: boolean, rowData: object }) => VNodeChild",
201
+ "description": "自定义渲染展开图标",
202
+ "required": false
203
+ },
204
+ {
205
+ "name": "row-class-name",
206
+ "type": "string",
207
+ "description": "每一行上的类名",
208
+ "required": false
209
+ },
210
+ {
211
+ "name": "row-key",
212
+ "type": "(rowData: object) => (number",
213
+ "description": "通过行数据创建行的 key(如果你不想给每一行加上 key)",
214
+ "required": false
215
+ },
216
+ {
217
+ "name": "row-props",
218
+ "type": "(rowData: object, rowIndex : number) => HTMLAttributes",
219
+ "description": "自定义行属性",
220
+ "required": false
221
+ },
222
+ {
223
+ "name": "scroll-x",
224
+ "type": "number",
225
+ "description": "表格内容的横向宽度,如果列被水平固定了,则需要设定它",
226
+ "required": false
227
+ },
228
+ {
229
+ "name": "scrollbar-props",
230
+ "type": "ScrollbarProps",
231
+ "description": "属性参考 [Scrollbar props](scrollbar#Scrollbar-Props),`DataTable` 中已存在 `on-scroll` 属性,此处 `on-scroll` 属性不生效",
232
+ "required": false
233
+ },
234
+ {
235
+ "name": "single-column",
236
+ "type": "boolean",
237
+ "description": "是否不设定行的分割线,当参数为`true`时,则单元格没有下边线",
238
+ "required": false,
239
+ "default": false
240
+ },
241
+ {
242
+ "name": "single-line",
243
+ "type": "boolean",
244
+ "description": "是否不设定列的分割线,当参数值为 `true` 时,则单元格没有右边线",
245
+ "required": false,
246
+ "default": true
247
+ },
248
+ {
249
+ "name": "size",
250
+ "type": "string",
251
+ "description": "表格的尺寸",
252
+ "required": false,
253
+ "default": "medium",
254
+ "options": [
255
+ "small",
256
+ "medium",
257
+ "large"
258
+ ]
259
+ },
260
+ {
261
+ "name": "spin-props",
262
+ "type": "{ strokeWidth?: number, stroke?: string }",
263
+ "description": "表格 spin 的属性",
264
+ "required": false
265
+ },
266
+ {
267
+ "name": "sticky-expanded-rows",
268
+ "type": "boolean",
269
+ "description": "展开行是否不随表格横向滚动",
270
+ "required": false,
271
+ "default": false
272
+ },
273
+ {
274
+ "name": "striped",
275
+ "type": "boolean",
276
+ "description": "是否使用斑马线条纹",
277
+ "required": false,
278
+ "default": false
279
+ },
280
+ {
281
+ "name": "summary",
282
+ "type": "DataTableCreateSummary",
283
+ "description": "表格总���栏的数据,类型见 <n-a href=\"#DataTableCreateSummary-Type\">DataTableCreateSummary Type</n-a>",
284
+ "required": false
285
+ },
286
+ {
287
+ "name": "summary-placement",
288
+ "type": "string",
289
+ "description": "总结栏的位置",
290
+ "required": false,
291
+ "default": "bottom",
292
+ "options": [
293
+ "top",
294
+ "bottom"
295
+ ]
296
+ },
297
+ {
298
+ "name": "table-layout",
299
+ "type": "string",
300
+ "description": "表格的 `table-layout` 样式属性,在设定 `ellipsis` 或 `max-height` 的情况下固定为 `'fixed'`",
301
+ "required": false,
302
+ "default": "auto",
303
+ "options": [
304
+ "auto",
305
+ "fixed"
306
+ ]
307
+ },
308
+ {
309
+ "name": "virtual-scroll",
310
+ "type": "boolean",
311
+ "description": "是否开启虚拟滚动,应对大规模数据,开启前请设定好 `max-height`。当 `virtual-scroll` 为 `true` 时,`rowSpan` 将不生效",
312
+ "required": false,
313
+ "default": false
314
+ },
315
+ {
316
+ "name": "virtual-scroll-header",
317
+ "type": "boolean",
318
+ "description": "是否打开表头的虚拟滚动,如果横向列太多,可以考虑打开此属性,打开此属性会导致表头单元格跨行列的功能不可用,同时必须要配置 `header-height`",
319
+ "required": false,
320
+ "default": false
321
+ },
322
+ {
323
+ "name": "virtual-scroll-x",
324
+ "type": "boolean",
325
+ "description": "是否打开表主体的横向虚拟滚动,如果横向列太多,可以考虑打开此属性,打开此属性会导致单元格跨行列的功能不可用,此属性开启时,必须要和 `virtual-scroll`、`scroll-x`、`min-row-height`、`height-for-row`、`virtual-scroll-header`、`header-height` 属性配合使用,同时每一列必须都配置 `width` 属性,你可以参考 <n-a href=\"#virtual-x.vue\">完整的例子</n-a>",
326
+ "required": false,
327
+ "default": false
328
+ },
329
+ {
330
+ "name": "on-load",
331
+ "type": "(rowData: object) => Promise<void>",
332
+ "description": "异步���开树形数据的回调",
333
+ "required": false
334
+ },
335
+ {
336
+ "name": "on-scroll",
337
+ "type": "(e: Event) => void",
338
+ "description": "表格主体滚动的回调",
339
+ "required": false
340
+ },
341
+ {
342
+ "name": "on-update:checked-row-keys",
343
+ "type": "string",
344
+ "description": "checked-row-keys 值改变时触发的回调函数",
345
+ "required": false,
346
+ "options": [
347
+ "check",
348
+ "uncheck",
349
+ "checkAll",
350
+ "uncheckAll"
351
+ ]
352
+ },
353
+ {
354
+ "name": "on-update:expanded-row-keys",
355
+ "type": "(keys: Array<string",
356
+ "description": "expanded-row-keys 值改变时触发的回调函数",
357
+ "required": false
358
+ },
359
+ {
360
+ "name": "on-update:filters",
361
+ "type": "(filters: DataTableFilterState, initiatorColumn: DataTableBaseColumn)",
362
+ "description": "filters 数据改变时触发的回调函数",
363
+ "required": false
364
+ },
365
+ {
366
+ "name": "on-update:page",
367
+ "type": "(page: number)",
368
+ "description": "page 改变时触发的回调函数",
369
+ "required": false
370
+ },
371
+ {
372
+ "name": "on-update:page-size",
373
+ "type": "(pageSize: number) => void",
374
+ "description": "page-size 改变时触发的回调函数",
375
+ "required": false
376
+ },
377
+ {
378
+ "name": "on-update:sorter",
379
+ "type": "(options: DataTableSortState",
380
+ "description": "如果变动列为多列排序则返回 `DataTableSortState[] | null` 否则返回 `DataTableSortState | null`",
381
+ "required": false
382
+ }
383
+ ]
384
+ }