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,141 @@
1
+ {
2
+ "name": "NModal",
3
+ "tag": "n-modal",
4
+ "description": "它会弹出来,然后给你看点东西。",
5
+ "props": [
6
+ {
7
+ "name": "auto-focus",
8
+ "type": "boolean",
9
+ "description": "是否自动聚焦 Modal 第一个可聚焦的元素",
10
+ "required": false,
11
+ "default": true
12
+ },
13
+ {
14
+ "name": "block-scroll",
15
+ "type": "boolean",
16
+ "description": "是否在打开时禁用 body 滚动",
17
+ "required": false,
18
+ "default": true
19
+ },
20
+ {
21
+ "name": "close-on-esc",
22
+ "type": "boolean",
23
+ "description": "是否在摁下 Esc 键的时候关闭 Modal",
24
+ "required": false,
25
+ "default": true
26
+ },
27
+ {
28
+ "name": "display-directive",
29
+ "type": "string",
30
+ "description": "使用何种指令控制模态框主体的条件渲染",
31
+ "required": false,
32
+ "default": "if",
33
+ "options": [
34
+ "if",
35
+ "show"
36
+ ]
37
+ },
38
+ {
39
+ "name": "draggable",
40
+ "type": "string",
41
+ "description": "是否可拖拽,`bounds === 'none'` 时拖拽可超出视口",
42
+ "required": false,
43
+ "default": false,
44
+ "options": [
45
+ "none"
46
+ ]
47
+ },
48
+ {
49
+ "name": "mask-closable",
50
+ "type": "boolean",
51
+ "description": "点击遮罩时是否发出 `update:show` 事件",
52
+ "required": false,
53
+ "default": true
54
+ },
55
+ {
56
+ "name": "preset",
57
+ "type": "string",
58
+ "description": "模态框使用何种预设",
59
+ "required": false,
60
+ "options": [
61
+ "dialog",
62
+ "card"
63
+ ]
64
+ },
65
+ {
66
+ "name": "show",
67
+ "type": "boolean",
68
+ "description": "是否展示 Modal",
69
+ "required": false,
70
+ "default": false
71
+ },
72
+ {
73
+ "name": "show-mask",
74
+ "type": "boolean",
75
+ "description": "是否显示遮罩层,如果设为 `false`,遮罩层相关的 API 将不起作用,焦点也不会被限制在 Modal 内部(这会导致键盘事件例如 Esc 不总是生效)。",
76
+ "required": false,
77
+ "default": true
78
+ },
79
+ {
80
+ "name": "to",
81
+ "type": "string",
82
+ "description": "Modal 的挂载位置",
83
+ "required": false,
84
+ "default": "body"
85
+ },
86
+ {
87
+ "name": "transform-origin",
88
+ "type": "string",
89
+ "description": "模态框动画出现的位置",
90
+ "required": false,
91
+ "default": "mouse",
92
+ "options": [
93
+ "mouse",
94
+ "center"
95
+ ]
96
+ },
97
+ {
98
+ "name": "trap-focus",
99
+ "type": "boolean",
100
+ "description": "是否将焦点锁定在 Modal 内部",
101
+ "required": false,
102
+ "default": true
103
+ },
104
+ {
105
+ "name": "z-index",
106
+ "type": "number",
107
+ "description": "Modal 的 z-index",
108
+ "required": false
109
+ },
110
+ {
111
+ "name": "on-after-enter",
112
+ "type": "() => void",
113
+ "description": "Modal 出现后的回调",
114
+ "required": false
115
+ },
116
+ {
117
+ "name": "on-after-leave",
118
+ "type": "() => void",
119
+ "description": "Modal 关闭后的回调",
120
+ "required": false
121
+ },
122
+ {
123
+ "name": "on-esc",
124
+ "type": "() => void",
125
+ "description": "焦点在 Modal 内部时按下 Esc 键的回调",
126
+ "required": false
127
+ },
128
+ {
129
+ "name": "on-mask-click",
130
+ "type": "() => void",
131
+ "description": "点击遮罩时的回调",
132
+ "required": false
133
+ },
134
+ {
135
+ "name": "on-update:show",
136
+ "type": "(value: boolean) => void",
137
+ "description": "模态框更新是否展示状态的回调",
138
+ "required": false
139
+ }
140
+ ]
141
+ }
@@ -0,0 +1,54 @@
1
+ {
2
+ "name": "NNotificationProvider",
3
+ "tag": "n-notification-provider",
4
+ "description": "通知某人。",
5
+ "props": [
6
+ {
7
+ "name": "container-class",
8
+ "type": "string",
9
+ "description": "容器的类名",
10
+ "required": false
11
+ },
12
+ {
13
+ "name": "container-style",
14
+ "type": "string",
15
+ "description": "容器的样式",
16
+ "required": false
17
+ },
18
+ {
19
+ "name": "max",
20
+ "type": "number",
21
+ "description": "限制通知框显示的个数",
22
+ "required": false
23
+ },
24
+ {
25
+ "name": "placement",
26
+ "type": "string",
27
+ "description": "所有通知框显示的位置",
28
+ "required": false,
29
+ "default": "top-right",
30
+ "options": [
31
+ "top",
32
+ "bottom",
33
+ "top-right",
34
+ "top-left",
35
+ "bottom-left",
36
+ "bottom-right"
37
+ ]
38
+ },
39
+ {
40
+ "name": "scrollable",
41
+ "type": "boolean",
42
+ "description": "通知是否可滚动,对于 `placement` 为 `'top'` 和 `'bottom'` 不生效",
43
+ "required": false,
44
+ "default": true
45
+ },
46
+ {
47
+ "name": "to",
48
+ "type": "string",
49
+ "description": "`Notification` 容器节点的位置",
50
+ "required": false,
51
+ "default": "body"
52
+ }
53
+ ]
54
+ }
@@ -0,0 +1,61 @@
1
+ {
2
+ "name": "NNumberAnimation",
3
+ "tag": "n-number-animation",
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": 3000
19
+ },
20
+ {
21
+ "name": "from",
22
+ "type": "number",
23
+ "description": "数值动画起始值",
24
+ "required": false,
25
+ "default": 0
26
+ },
27
+ {
28
+ "name": "locale",
29
+ "type": "string",
30
+ "description": "国际化的语言",
31
+ "required": false,
32
+ "default": "跟随 config provider"
33
+ },
34
+ {
35
+ "name": "precision",
36
+ "type": "number",
37
+ "description": "精度,保留小数点后几位",
38
+ "required": false,
39
+ "default": 0
40
+ },
41
+ {
42
+ "name": "show-separator",
43
+ "type": "boolean",
44
+ "description": "是否显示分隔符",
45
+ "required": false,
46
+ "default": false
47
+ },
48
+ {
49
+ "name": "to",
50
+ "type": "number",
51
+ "description": "目标值",
52
+ "required": false
53
+ },
54
+ {
55
+ "name": "on-finish",
56
+ "type": "() => void",
57
+ "description": "动画结束的回调",
58
+ "required": false
59
+ }
60
+ ]
61
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "name": "NP",
3
+ "tag": "n-p",
4
+ "description": "Naive UI 提供了常用 HTML 标签的一些基本样式,以及对文本渲染提供帮助的组件。",
5
+ "props": [
6
+ {
7
+ "name": "depth",
8
+ "type": "string",
9
+ "description": "文字深度",
10
+ "required": false,
11
+ "options": [
12
+ "1",
13
+ "2",
14
+ "3"
15
+ ]
16
+ }
17
+ ]
18
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "name": "NPageHeader",
3
+ "tag": "n-page-header",
4
+ "description": "我感觉你很可能用不上这个组件,因为根据你拿到的设计稿很可能是重写一个简单。",
5
+ "props": [
6
+ {
7
+ "name": "extra",
8
+ "type": "string",
9
+ "description": "额外的文本信息,当使用 `extra` 插槽时该参数无效",
10
+ "required": false
11
+ },
12
+ {
13
+ "name": "subtitle",
14
+ "type": "string",
15
+ "description": "副标题",
16
+ "required": false
17
+ },
18
+ {
19
+ "name": "title",
20
+ "type": "string",
21
+ "description": "主标题",
22
+ "required": false
23
+ },
24
+ {
25
+ "name": "on-back",
26
+ "type": "() => void",
27
+ "description": "点击返回按钮的回调",
28
+ "required": false
29
+ }
30
+ ]
31
+ }
@@ -0,0 +1,188 @@
1
+ {
2
+ "name": "NPagination",
3
+ "tag": "n-pagination",
4
+ "description": "<!--single-column-->",
5
+ "props": [
6
+ {
7
+ "name": "default-page",
8
+ "type": "number",
9
+ "description": "非受控模式下的当前页",
10
+ "required": false,
11
+ "default": 1
12
+ },
13
+ {
14
+ "name": "default-page-size",
15
+ "type": "number",
16
+ "description": "非受控模式下的分页大小",
17
+ "required": false,
18
+ "default": 10
19
+ },
20
+ {
21
+ "name": "disabled",
22
+ "type": "boolean",
23
+ "description": "是否禁用",
24
+ "required": false,
25
+ "default": false
26
+ },
27
+ {
28
+ "name": "display-order",
29
+ "type": "string",
30
+ "description": "不同部分的展示顺序",
31
+ "required": false,
32
+ "default": "['pages', 'size-picker', 'quick-jumper']",
33
+ "options": [
34
+ "pages",
35
+ "size-picker",
36
+ "quick-jumper"
37
+ ]
38
+ },
39
+ {
40
+ "name": "goto",
41
+ "type": "() => VNodeChild",
42
+ "description": "渲染快速跳转的文本内容",
43
+ "required": false
44
+ },
45
+ {
46
+ "name": "item-count",
47
+ "type": "number",
48
+ "description": "总条数",
49
+ "required": false
50
+ },
51
+ {
52
+ "name": "next",
53
+ "type": "(info: PaginationInfo) => VNodeChild",
54
+ "description": "下一页",
55
+ "required": false
56
+ },
57
+ {
58
+ "name": "prev",
59
+ "type": "(info: PaginationInfo) => VNodeChild",
60
+ "description": "上一页",
61
+ "required": false
62
+ },
63
+ {
64
+ "name": "label",
65
+ "type": "PaginationRenderLabel",
66
+ "description": "每一项的内容",
67
+ "required": false
68
+ },
69
+ {
70
+ "name": "page-count",
71
+ "type": "number",
72
+ "description": "总页数",
73
+ "required": false,
74
+ "default": 1
75
+ },
76
+ {
77
+ "name": "page-sizes",
78
+ "type": "Array<number",
79
+ "description": "每页条数, 可自定义",
80
+ "required": false,
81
+ "default": [
82
+ 10
83
+ ]
84
+ },
85
+ {
86
+ "name": "page-size",
87
+ "type": "number",
88
+ "description": "受控模式下的分页大小",
89
+ "required": false
90
+ },
91
+ {
92
+ "name": "page-slot",
93
+ "type": "number",
94
+ "description": "页码显示���个数",
95
+ "required": false,
96
+ "default": 9
97
+ },
98
+ {
99
+ "name": "page",
100
+ "type": "number",
101
+ "description": "受控模式下的当前页",
102
+ "required": false
103
+ },
104
+ {
105
+ "name": "prefix",
106
+ "type": "(info: PaginationInfo) => VNodeChild",
107
+ "description": "分页前缀",
108
+ "required": false
109
+ },
110
+ {
111
+ "name": "scrollbar-props",
112
+ "type": "ScrollbarProps",
113
+ "description": "属性参考 [Scrollbar props](scrollbar#Scrollbar-Props)",
114
+ "required": false
115
+ },
116
+ {
117
+ "name": "select-props",
118
+ "type": "SelectProps",
119
+ "description": "分页大小选择器的属性",
120
+ "required": false
121
+ },
122
+ {
123
+ "name": "show-quick-jumper",
124
+ "type": "boolean",
125
+ "description": "是否显示快速跳转",
126
+ "required": false,
127
+ "default": false
128
+ },
129
+ {
130
+ "name": "size",
131
+ "type": "string",
132
+ "description": "分页按钮的大小",
133
+ "required": false,
134
+ "default": "medium",
135
+ "options": [
136
+ "small",
137
+ "medium",
138
+ "large"
139
+ ]
140
+ },
141
+ {
142
+ "name": "simple",
143
+ "type": "boolean",
144
+ "description": "是否显示为简单分页",
145
+ "required": false,
146
+ "default": false
147
+ },
148
+ {
149
+ "name": "suffix",
150
+ "type": "(info: PaginationInfo) => VNodeChild",
151
+ "description": "分页后缀",
152
+ "required": false
153
+ },
154
+ {
155
+ "name": "show-size-picker",
156
+ "type": "boolean",
157
+ "description": "是否显示每页条数的选择器",
158
+ "required": false,
159
+ "default": false
160
+ },
161
+ {
162
+ "name": "show-quick-jump-dropdown",
163
+ "type": "boolean",
164
+ "description": "展示快速跳转的下拉菜单。如果页数过多,可能导致分页的数据创建性能消耗较高,可以通过设为 `false` 来提升性能",
165
+ "required": false,
166
+ "default": true
167
+ },
168
+ {
169
+ "name": "to",
170
+ "type": "string",
171
+ "description": "弹出菜单的容器节点,`false` 会待在原地",
172
+ "required": false,
173
+ "default": "body"
174
+ },
175
+ {
176
+ "name": "on-update:page",
177
+ "type": "(page: number) => void",
178
+ "description": "当前页发生改变时的回调函数",
179
+ "required": false
180
+ },
181
+ {
182
+ "name": "on-update:page-size",
183
+ "type": "(pageSize: number) => void",
184
+ "description": "当前分页大小发生改变时的回调函数",
185
+ "required": false
186
+ }
187
+ ]
188
+ }
@@ -0,0 +1,52 @@
1
+ {
2
+ "name": "NPopconfirm",
3
+ "tag": "n-popconfirm",
4
+ "description": "一个确认,弹出来的。",
5
+ "props": [
6
+ {
7
+ "name": "negative-button-props",
8
+ "type": "ButtonProps",
9
+ "description": "取消按钮的属性",
10
+ "required": false
11
+ },
12
+ {
13
+ "name": "negative-text",
14
+ "type": "string",
15
+ "description": "取消按钮文字",
16
+ "required": false,
17
+ "default": "取消"
18
+ },
19
+ {
20
+ "name": "positive-button-props",
21
+ "type": "ButtonProps",
22
+ "description": "确定按钮的属性",
23
+ "required": false
24
+ },
25
+ {
26
+ "name": "positive-text",
27
+ "type": "string",
28
+ "description": "确定按钮文字",
29
+ "required": false,
30
+ "default": "确认"
31
+ },
32
+ {
33
+ "name": "show-icon",
34
+ "type": "boolean",
35
+ "description": "是否显示图标",
36
+ "required": false,
37
+ "default": true
38
+ },
39
+ {
40
+ "name": "on-positive-click",
41
+ "type": "() => boolean",
42
+ "description": "点击确定的回调函数",
43
+ "required": false
44
+ },
45
+ {
46
+ "name": "on-negative-click",
47
+ "type": "() => boolean",
48
+ "description": "点击取消的回调函数",
49
+ "required": false
50
+ }
51
+ ]
52
+ }