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,94 @@
1
+ {
2
+ "name": "NSpace",
3
+ "tag": "n-space",
4
+ "description": "这是个伟大的发明(不是我发明的)。",
5
+ "props": [
6
+ {
7
+ "name": "align",
8
+ "type": "string",
9
+ "description": "垂直排列方式",
10
+ "required": false,
11
+ "options": [
12
+ "start",
13
+ "end",
14
+ "center",
15
+ "baseline",
16
+ "stretch"
17
+ ]
18
+ },
19
+ {
20
+ "name": "inline",
21
+ "type": "boolean",
22
+ "description": "是否为行内元素",
23
+ "required": false,
24
+ "default": false
25
+ },
26
+ {
27
+ "name": "wrap-item",
28
+ "type": "boolean",
29
+ "description": "是否存在包裹子元素的容器,`false` 值只会对支持 flex gap 的浏览器生效",
30
+ "required": false,
31
+ "default": true
32
+ },
33
+ {
34
+ "name": "item-class",
35
+ "type": "string",
36
+ "description": "节点类名,当 `wrap-item` 为 `true` 时有效",
37
+ "required": false
38
+ },
39
+ {
40
+ "name": "item-style",
41
+ "type": "string",
42
+ "description": "节点样式,当 `wrap-item` 为 `true` 时有效",
43
+ "required": false
44
+ },
45
+ {
46
+ "name": "justify",
47
+ "type": "string",
48
+ "description": "水平排列方式",
49
+ "required": false,
50
+ "default": "start",
51
+ "options": [
52
+ "start",
53
+ "end",
54
+ "center",
55
+ "space-around",
56
+ "space-between",
57
+ "space-evenly"
58
+ ]
59
+ },
60
+ {
61
+ "name": "reverse",
62
+ "type": "boolean",
63
+ "description": "是否反向排列内部元素",
64
+ "required": false,
65
+ "default": false
66
+ },
67
+ {
68
+ "name": "size",
69
+ "type": "string",
70
+ "description": "为数字时,是水平和垂直间距;为数组时,是 [水平间距, 垂直间距]",
71
+ "required": false,
72
+ "default": "medium",
73
+ "options": [
74
+ "small",
75
+ "medium",
76
+ "large"
77
+ ]
78
+ },
79
+ {
80
+ "name": "vertical",
81
+ "type": "boolean",
82
+ "description": "是否垂直布局",
83
+ "required": false,
84
+ "default": false
85
+ },
86
+ {
87
+ "name": "wrap",
88
+ "type": "boolean",
89
+ "description": "是否超出换行",
90
+ "required": false,
91
+ "default": true
92
+ }
93
+ ]
94
+ }
@@ -0,0 +1,69 @@
1
+ {
2
+ "name": "NSpin",
3
+ "tag": "n-spin",
4
+ "description": "按理说它叫做 Loading 也可以,但是为啥叫 Spin 呢?因为还有一个属性更少的内部组件叫 Loading。",
5
+ "props": [
6
+ {
7
+ "name": "content-class",
8
+ "type": "string",
9
+ "description": "Spin 内容的类名",
10
+ "required": false
11
+ },
12
+ {
13
+ "name": "content-style",
14
+ "type": "string",
15
+ "description": "Spin 内容的样式",
16
+ "required": false
17
+ },
18
+ {
19
+ "name": "description",
20
+ "type": "string",
21
+ "description": "Spin 的文字信息",
22
+ "required": false
23
+ },
24
+ {
25
+ "name": "rotate",
26
+ "type": "boolean",
27
+ "description": "自定义的加载图标是否有旋转动画",
28
+ "required": false,
29
+ "default": true
30
+ },
31
+ {
32
+ "name": "size",
33
+ "type": "string",
34
+ "description": "Spin 的尺寸",
35
+ "required": false,
36
+ "default": "medium",
37
+ "options": [
38
+ "small",
39
+ "medium",
40
+ "large"
41
+ ]
42
+ },
43
+ {
44
+ "name": "show",
45
+ "type": "boolean",
46
+ "description": "在填入内容的情况下 Spin 是否激活,直接使用 Spin 时不生效",
47
+ "required": false,
48
+ "default": true
49
+ },
50
+ {
51
+ "name": "stroke-width",
52
+ "type": "number",
53
+ "description": "Spin 边缘的相对宽度,假定 Spin 的外侧半径是 100",
54
+ "required": false
55
+ },
56
+ {
57
+ "name": "stroke",
58
+ "type": "string",
59
+ "description": "Spin 的颜色",
60
+ "required": false
61
+ },
62
+ {
63
+ "name": "delay",
64
+ "type": "number",
65
+ "description": "延迟显示加载效果的时间, 单位为毫秒(避免闪烁)",
66
+ "required": false
67
+ }
68
+ ]
69
+ }
@@ -0,0 +1,116 @@
1
+ {
2
+ "name": "NSplit",
3
+ "tag": "n-split",
4
+ "description": "灵活的布局工具,提供了用户自定义界面布局的可能性。",
5
+ "props": [
6
+ {
7
+ "name": "default-size",
8
+ "type": "string",
9
+ "description": "Split 的默认分割大小,为 `number` 类型时应该为 0 ~ 1 之间的值,为 `string` 类型时应该为 `${number}px` 格式",
10
+ "required": false,
11
+ "default": 0.5
12
+ },
13
+ {
14
+ "name": "direction",
15
+ "type": "string",
16
+ "description": "Split 的分割方向",
17
+ "required": false,
18
+ "default": "horizontal",
19
+ "options": [
20
+ "horizontal",
21
+ "vertical"
22
+ ]
23
+ },
24
+ {
25
+ "name": "disabled",
26
+ "type": "boolean",
27
+ "description": "是否禁用",
28
+ "required": false,
29
+ "default": false
30
+ },
31
+ {
32
+ "name": "max",
33
+ "type": "string",
34
+ "description": "Split 的分割最大阈值,为 `number` 类型时应该为 0 ~ 1 之间的值,为 `string` 类型时应该为 `${number}px` 格式",
35
+ "required": false,
36
+ "default": 1
37
+ },
38
+ {
39
+ "name": "min",
40
+ "type": "string",
41
+ "description": "Split 的分割最小阈值,为 `number` 类型时应该为 0 ~ 1 之间的值,为 `string` 类型时应该为 `${number}px` 格式",
42
+ "required": false,
43
+ "default": 0
44
+ },
45
+ {
46
+ "name": "pane1-class",
47
+ "type": "string",
48
+ "description": "第一个面板的类名",
49
+ "required": false
50
+ },
51
+ {
52
+ "name": "pane1-style",
53
+ "type": "Object",
54
+ "description": "第一个面板的样式",
55
+ "required": false
56
+ },
57
+ {
58
+ "name": "pane2-class",
59
+ "type": "string",
60
+ "description": "第二个面板的类名",
61
+ "required": false
62
+ },
63
+ {
64
+ "name": "pane2-style",
65
+ "type": "Object",
66
+ "description": "第二个面板的样式",
67
+ "required": false
68
+ },
69
+ {
70
+ "name": "resize-trigger-size",
71
+ "type": "number",
72
+ "description": "Split 的分隔条大小",
73
+ "required": false,
74
+ "default": 3
75
+ },
76
+ {
77
+ "name": "size",
78
+ "type": "string",
79
+ "description": "Split 的受控分割大小,为 `number` 类型时应该为 0 ~ 1 之间的值,为 `string` 类型时应该为 `${number}px` 格式",
80
+ "required": false
81
+ },
82
+ {
83
+ "name": "watch-props",
84
+ "type": "Array<'defaultSize'>",
85
+ "description": "需要检测变更的默认属性,检测后组件状态会更新。注意:`watch-props` 本身不是响应式的",
86
+ "required": false,
87
+ "options": [
88
+ "defaultSize"
89
+ ]
90
+ },
91
+ {
92
+ "name": "on-drag-start",
93
+ "type": "(e: Event) => void",
94
+ "description": "开始拖拽的回调函数",
95
+ "required": false
96
+ },
97
+ {
98
+ "name": "on-drag-move",
99
+ "type": "(e: Event) => void",
100
+ "description": "拖拽中的回调函数",
101
+ "required": false
102
+ },
103
+ {
104
+ "name": "on-drag-end",
105
+ "type": "(e: Event) => void",
106
+ "description": "结束拖拽的回调函数",
107
+ "required": false
108
+ },
109
+ {
110
+ "name": "on-update:size",
111
+ "type": "(value: string",
112
+ "description": "组件 `size` 属性变化时触发的回调,如果 `props.value` 或 `props.defaultValue` 是 `string`, 则 `value` 为 `string`",
113
+ "required": false
114
+ }
115
+ ]
116
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "name": "NStatistic",
3
+ "tag": "n-statistic",
4
+ "description": "和它看起来一样简单。",
5
+ "props": [
6
+ {
7
+ "name": "label",
8
+ "type": "string",
9
+ "description": "展示的 `label` 信息",
10
+ "required": false
11
+ },
12
+ {
13
+ "name": "tabular-nums",
14
+ "type": "boolean",
15
+ "description": "是否让数字等宽",
16
+ "required": false,
17
+ "default": false
18
+ },
19
+ {
20
+ "name": "value",
21
+ "type": "string",
22
+ "description": "统计数据的值",
23
+ "required": false
24
+ }
25
+ ]
26
+ }
@@ -0,0 +1,38 @@
1
+ {
2
+ "name": "NStep",
3
+ "tag": "n-step",
4
+ "description": "<!--single-column-->",
5
+ "props": [
6
+ {
7
+ "name": "description",
8
+ "type": "string",
9
+ "description": "节点描述",
10
+ "required": false
11
+ },
12
+ {
13
+ "name": "disabled",
14
+ "type": "boolean",
15
+ "description": "是否可点击",
16
+ "required": false,
17
+ "default": false
18
+ },
19
+ {
20
+ "name": "status",
21
+ "type": "string",
22
+ "description": "节点状态",
23
+ "required": false,
24
+ "options": [
25
+ "process",
26
+ "finish",
27
+ "error",
28
+ "wait"
29
+ ]
30
+ },
31
+ {
32
+ "name": "title",
33
+ "type": "string",
34
+ "description": "节点标题",
35
+ "required": false
36
+ }
37
+ ]
38
+ }
@@ -0,0 +1,61 @@
1
+ {
2
+ "name": "NSteps",
3
+ "tag": "n-steps",
4
+ "description": "<!--single-column-->",
5
+ "props": [
6
+ {
7
+ "name": "content-placement",
8
+ "type": "string",
9
+ "description": "步骤条内容位置,仅在横向模式下生效",
10
+ "required": false,
11
+ "default": "right",
12
+ "options": [
13
+ "right",
14
+ "bottom"
15
+ ]
16
+ },
17
+ {
18
+ "name": "current",
19
+ "type": "number",
20
+ "description": "当前选中在第几步",
21
+ "required": false
22
+ },
23
+ {
24
+ "name": "size",
25
+ "type": "string",
26
+ "description": "步骤条大小",
27
+ "required": false,
28
+ "default": "medium",
29
+ "options": [
30
+ "small",
31
+ "medium"
32
+ ]
33
+ },
34
+ {
35
+ "name": "status",
36
+ "type": "string",
37
+ "description": "步骤条状态",
38
+ "required": false,
39
+ "default": "process",
40
+ "options": [
41
+ "process",
42
+ "finish",
43
+ "error",
44
+ "wait"
45
+ ]
46
+ },
47
+ {
48
+ "name": "vertical",
49
+ "type": "boolean",
50
+ "description": "步骤条方向",
51
+ "required": false,
52
+ "default": false
53
+ },
54
+ {
55
+ "name": "on-update:current",
56
+ "type": "(index: number) => void",
57
+ "description": "更新当前第几步的回调,设定后可点击切换步骤",
58
+ "required": false
59
+ }
60
+ ]
61
+ }
@@ -0,0 +1,86 @@
1
+ {
2
+ "name": "NSwitch",
3
+ "tag": "n-switch",
4
+ "description": "我有一个 Switch,不过没时间玩。每每这个时候,我都会回忆起童年玩 NDS 的快乐时光。",
5
+ "props": [
6
+ {
7
+ "name": "checked-value",
8
+ "type": "string",
9
+ "description": "选中时对应的值",
10
+ "required": false,
11
+ "default": true
12
+ },
13
+ {
14
+ "name": "default-value",
15
+ "type": "boolean",
16
+ "description": "非受控模式下的默认值",
17
+ "required": false,
18
+ "default": false
19
+ },
20
+ {
21
+ "name": "disabled",
22
+ "type": "boolean",
23
+ "description": "是否禁用",
24
+ "required": false,
25
+ "default": false
26
+ },
27
+ {
28
+ "name": "loading",
29
+ "type": "boolean",
30
+ "description": "是否加载",
31
+ "required": false,
32
+ "default": false
33
+ },
34
+ {
35
+ "name": "rail-style",
36
+ "type": "(info: { focused: boolean, checked: boolean }) => (CSSProperties",
37
+ "description": "创建轨道样式的函数",
38
+ "required": false
39
+ },
40
+ {
41
+ "name": "round",
42
+ "type": "boolean",
43
+ "description": "是否为圆形按钮",
44
+ "required": false,
45
+ "default": true
46
+ },
47
+ {
48
+ "name": "rubber-band",
49
+ "type": "boolean",
50
+ "description": "按钮是否有橡皮筋效果",
51
+ "required": false,
52
+ "default": true
53
+ },
54
+ {
55
+ "name": "size",
56
+ "type": "string",
57
+ "description": "开关大小",
58
+ "required": false,
59
+ "default": "medium",
60
+ "options": [
61
+ "small",
62
+ "medium",
63
+ "large"
64
+ ]
65
+ },
66
+ {
67
+ "name": "unchecked-value",
68
+ "type": "string",
69
+ "description": "未选中时对应的值",
70
+ "required": false,
71
+ "default": false
72
+ },
73
+ {
74
+ "name": "value",
75
+ "type": "string",
76
+ "description": "受控模式下的值",
77
+ "required": false
78
+ },
79
+ {
80
+ "name": "on-update:value",
81
+ "type": "(value: boolean) => void",
82
+ "description": "组件值发生变化的回调",
83
+ "required": false
84
+ }
85
+ ]
86
+ }
@@ -0,0 +1,51 @@
1
+ {
2
+ "name": "NTabPane",
3
+ "tag": "n-tab-pane",
4
+ "description": "在同一块区域切换内容。",
5
+ "props": [
6
+ {
7
+ "name": "closable",
8
+ "type": "boolean",
9
+ "description": "是否允许关闭标签,只在标签的 `type` 为 `card` 时生效",
10
+ "required": false,
11
+ "default": false
12
+ },
13
+ {
14
+ "name": "disabled",
15
+ "type": "boolean",
16
+ "description": "是否禁用",
17
+ "required": false,
18
+ "default": false
19
+ },
20
+ {
21
+ "name": "display-directive",
22
+ "type": "string",
23
+ "description": "选择性渲染使用的指令,`if` 对应 `v-if`,`show` 对应 `v-show`,使用 `show` 的时候标签页状态切换后不会被重置,使用 `show:lazy` 的时候显示效果跟 `show` 一致,不过内容会进行延迟加载",
24
+ "required": false,
25
+ "default": "if",
26
+ "options": [
27
+ "if",
28
+ "show",
29
+ "show:lazy"
30
+ ]
31
+ },
32
+ {
33
+ "name": "name",
34
+ "type": "string",
35
+ "description": "必填,标签的名称",
36
+ "required": false
37
+ },
38
+ {
39
+ "name": "tab",
40
+ "type": "string",
41
+ "description": "标签的 `tab`",
42
+ "required": false
43
+ },
44
+ {
45
+ "name": "tab-props",
46
+ "type": "Object",
47
+ "description": "标签 `tab` 的 DOM 属性",
48
+ "required": false
49
+ }
50
+ ]
51
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "name": "NTab",
3
+ "tag": "n-tab",
4
+ "description": "在同一块区域切换内容。",
5
+ "props": [
6
+ {
7
+ "name": "closable",
8
+ "type": "boolean",
9
+ "description": "是否允许关闭标签,只在标签的 `type` 为 `card` 时生效",
10
+ "required": true
11
+ },
12
+ {
13
+ "name": "disabled",
14
+ "type": "boolean",
15
+ "description": "是否禁用",
16
+ "required": true
17
+ },
18
+ {
19
+ "name": "name",
20
+ "type": "string",
21
+ "description": "必填,标签的名称",
22
+ "required": true
23
+ }
24
+ ]
25
+ }
@@ -0,0 +1,54 @@
1
+ {
2
+ "name": "NTable",
3
+ "tag": "n-table",
4
+ "description": "<!--single-column-->",
5
+ "props": [
6
+ {
7
+ "name": "bottom-bordered",
8
+ "type": "boolean",
9
+ "description": "表格底部是否有边框,在 `bordered` 为 `true` 时该参数无效",
10
+ "required": false,
11
+ "default": true
12
+ },
13
+ {
14
+ "name": "bordered",
15
+ "type": "boolean",
16
+ "description": "是否显示边框",
17
+ "required": false,
18
+ "default": true
19
+ },
20
+ {
21
+ "name": "single-column",
22
+ "type": "boolean",
23
+ "description": "是否不设定行的分割线,当参数为`true`时,则单元格没有下边线",
24
+ "required": false,
25
+ "default": false
26
+ },
27
+ {
28
+ "name": "single-line",
29
+ "type": "boolean",
30
+ "description": "是否不设定列的分割线,当参数值为 `true` 时,则单元格没有右边线",
31
+ "required": false,
32
+ "default": true
33
+ },
34
+ {
35
+ "name": "size",
36
+ "type": "string",
37
+ "description": "表格尺寸大小",
38
+ "required": false,
39
+ "default": "medium",
40
+ "options": [
41
+ "small",
42
+ "medium",
43
+ "large"
44
+ ]
45
+ },
46
+ {
47
+ "name": "striped",
48
+ "type": "boolean",
49
+ "description": "是否使用斑马线条纹",
50
+ "required": false,
51
+ "default": false
52
+ }
53
+ ]
54
+ }