kui-vue 5.2.2 → 5.3.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.
- package/dist/index.js +2 -2
- package/es/index.js +3385 -363
- package/es/locale/de.js +7 -1
- package/es/locale/el.js +7 -1
- package/es/locale/en.js +7 -1
- package/es/locale/fr.js +7 -1
- package/es/locale/it.js +7 -1
- package/es/locale/ja.js +7 -1
- package/es/locale/ko.js +7 -1
- package/es/locale/ru.js +7 -1
- package/es/locale/th.js +7 -1
- package/es/locale/uk.js +7 -1
- package/es/locale/vi.js +7 -1
- package/es/locale/zh-CN.js +7 -1
- package/es/locale/zh-TW.js +7 -1
- package/lib/index.js +2 -2
- package/lib/locale/de.js +2 -2
- package/lib/locale/el.js +2 -2
- package/lib/locale/en.js +2 -2
- package/lib/locale/fr.js +2 -2
- package/lib/locale/it.js +2 -2
- package/lib/locale/ja.js +2 -2
- package/lib/locale/ko.js +2 -2
- package/lib/locale/ru.js +2 -2
- package/lib/locale/th.js +2 -2
- package/lib/locale/uk.js +2 -2
- package/lib/locale/vi.js +2 -2
- package/lib/locale/zh-CN.js +2 -2
- package/lib/locale/zh-TW.js +2 -2
- package/package.json +20 -19
- package/style/index.css +2 -2
- package/types/avatar/avatar-group.d.ts +1 -1
- package/types/badge/index.d.ts +4 -4
- package/types/color-picker/index.d.ts +1 -1
- package/types/components.d.ts +6 -2
- package/types/date-picker/index.d.ts +1 -1
- package/types/descriptions/descriptions-item.d.ts +1 -1
- package/types/descriptions/descriptions.d.ts +1 -1
- package/types/divider/index.d.ts +1 -1
- package/types/drawer/index.d.ts +1 -1
- package/types/dropdown/dropdown-button.d.ts +1 -1
- package/types/dropdown/dropdown.d.ts +1 -1
- package/types/empty/index.d.ts +1 -1
- package/types/flex/index.d.ts +1 -1
- package/types/global.d.ts +8 -4
- package/types/input/input-box.d.ts +1 -1
- package/types/input/input-group.d.ts +1 -1
- package/types/input/input.d.ts +3 -3
- package/types/input/textarea.d.ts +2 -2
- package/types/input-number/index.d.ts +1 -1
- package/types/layout/index.d.ts +2 -2
- package/types/loading/index.d.ts +1 -1
- package/types/locale/de.d.ts +6 -0
- package/types/locale/el.d.ts +6 -0
- package/types/locale/en.d.ts +6 -0
- package/types/locale/fr.d.ts +6 -0
- package/types/locale/it.d.ts +6 -0
- package/types/locale/ja.d.ts +6 -0
- package/types/locale/ko.d.ts +6 -0
- package/types/locale/ru.d.ts +6 -0
- package/types/locale/th.d.ts +6 -0
- package/types/locale/uk.d.ts +6 -0
- package/types/locale/vi.d.ts +6 -0
- package/types/locale/zh-CN.d.ts +6 -0
- package/types/locale/zh-TW.d.ts +6 -0
- package/types/menu/menu-group.d.ts +1 -1
- package/types/menu/menu-item.d.ts +1 -1
- package/types/menu/menu.d.ts +1 -1
- package/types/menu/sub-menu.d.ts +1 -1
- package/types/modal/modal.d.ts +27 -7
- package/types/page/index.d.ts +1 -1
- package/types/popconfirm/index.d.ts +1 -1
- package/types/poptip/index.d.ts +1 -1
- package/types/progress/index.d.ts +1 -1
- package/types/qrcode/index.d.ts +165 -0
- package/types/radio/radio-button.d.ts +1 -1
- package/types/radio/radio-group.d.ts +1 -1
- package/types/radio/radio.d.ts +1 -1
- package/types/rate/index.d.ts +1 -1
- package/types/rate/star.d.ts +1 -1
- package/types/row-col/col.d.ts +1 -1
- package/types/row-col/row.d.ts +1 -1
- package/types/select/option.d.ts +1 -1
- package/types/select/select.d.ts +1 -1
- package/types/slider/index.d.ts +1 -1
- package/types/space/index.d.ts +1 -1
- package/types/spin/index.d.ts +1 -1
- package/types/stat-card/stat-card.d.ts +1 -1
- package/types/stat-card/stat-number.d.ts +1 -1
- package/types/switch/index.d.ts +1 -1
- package/types/table/index.d.ts +2 -2
- package/types/tabs/tab-panel.d.ts +1 -1
- package/types/tabs/tabs.d.ts +1 -4
- package/types/tag/index.d.ts +1 -1
- package/types/time-line/timeline-item.d.ts +1 -1
- package/types/time-line/timeline.d.ts +1 -1
- package/types/tooltip/index.d.ts +1 -1
- package/types/tree/index.d.ts +1 -1
- package/types/tree-select/index.d.ts +1 -1
- package/types/upload/file-list.d.ts +1 -1
- package/types/upload/index.d.ts +1 -1
- package/types/upload/selector.d.ts +1 -1
- package/types/utils/share.d.ts +12 -0
- package/types/watermark/index.d.ts +197 -0
- package/vetur/attributes.json +149 -37
- package/vetur/tags.json +52 -18
- package/vetur/web-types.json +282 -68
- package/es/affix/index.d.ts +0 -49
- package/es/alert/index.d.ts +0 -61
- package/es/anchor/anchor-link.d.ts +0 -23
- package/es/anchor/anchor.d.ts +0 -67
- package/es/anchor/index.d.ts +0 -5
- package/es/avatar/avatar-group.d.ts +0 -39
- package/es/avatar/avatar.d.ts +0 -43
- package/es/avatar/index.d.ts +0 -5
- package/es/back-top/index.d.ts +0 -46
- package/es/badge/index.d.ts +0 -49
- package/es/base/transition.d.ts +0 -3
- package/es/breadcrumb/breadcrumb-item.d.ts +0 -15
- package/es/breadcrumb/breadcrumb.d.ts +0 -22
- package/es/breadcrumb/index.d.ts +0 -5
- package/es/button/button-group.d.ts +0 -21
- package/es/button/button.d.ts +0 -39
- package/es/button/index.d.ts +0 -5
- package/es/card/index.d.ts +0 -30
- package/es/carousel/carousel-item.d.ts +0 -2
- package/es/carousel/carousel.d.ts +0 -84
- package/es/carousel/index.d.ts +0 -4
- package/es/checkbox/checkbox-group.d.ts +0 -79
- package/es/checkbox/checkbox.d.ts +0 -105
- package/es/checkbox/index.d.ts +0 -6
- package/es/collapse/collapse-panel.d.ts +0 -15
- package/es/collapse/collapse.d.ts +0 -32
- package/es/collapse/index.d.ts +0 -6
- package/es/color-picker/alpha.d.ts +0 -15
- package/es/color-picker/hue.d.ts +0 -17
- package/es/color-picker/index.d.ts +0 -110
- package/es/color-picker/mode.d.ts +0 -25
- package/es/color-picker/paint.d.ts +0 -26
- package/es/color-picker/presets.d.ts +0 -20
- package/es/components.d.ts +0 -113
- package/es/config/context.d.ts +0 -10
- package/es/config/index.d.ts +0 -16
- package/es/const/types.d.ts +0 -19
- package/es/const/var.d.ts +0 -1
- package/es/date-picker/index.d.ts +0 -277
- package/es/descriptions/descriptions-item.d.ts +0 -35
- package/es/descriptions/descriptions.d.ts +0 -54
- package/es/descriptions/index.d.ts +0 -4
- package/es/directives/outsiteclick.d.ts +0 -2
- package/es/directives/resize.d.ts +0 -3
- package/es/directives/scroll.d.ts +0 -2
- package/es/directives/transfer.d.ts +0 -2
- package/es/divider/index.d.ts +0 -42
- package/es/drawer/index.d.ts +0 -177
- package/es/dropdown/dropdown-button.d.ts +0 -45
- package/es/dropdown/dropdown.d.ts +0 -72
- package/es/dropdown/index.d.ts +0 -4
- package/es/dropdown/trigger.d.ts +0 -11
- package/es/empty/index.d.ts +0 -9
- package/es/flex/index.d.ts +0 -45
- package/es/form/form-item.d.ts +0 -24
- package/es/form/form.d.ts +0 -92
- package/es/form/index.d.ts +0 -6
- package/es/form/types.d.ts +0 -14
- package/es/grid/grid-item.d.ts +0 -22
- package/es/grid/grid.d.ts +0 -39
- package/es/grid/index.d.ts +0 -5
- package/es/grid/useBreakpoint.d.ts +0 -3
- package/es/icon/demo/search.d.ts +0 -2
- package/es/icon/demo/tags.d.ts +0 -4
- package/es/icon/index.d.ts +0 -45
- package/es/image/group.d.ts +0 -11
- package/es/image/image.d.ts +0 -45
- package/es/image/index.d.ts +0 -5
- package/es/image/instance.d.ts +0 -2
- package/es/image/preview.d.ts +0 -36
- package/es/image/utils.d.ts +0 -6
- package/es/index.d.ts +0 -10
- package/es/input/index.d.ts +0 -8
- package/es/input/input-box.d.ts +0 -39
- package/es/input/input-group.d.ts +0 -58
- package/es/input/input.d.ts +0 -56
- package/es/input/textarea.d.ts +0 -25
- package/es/input-number/index.d.ts +0 -127
- package/es/layout/index.d.ts +0 -136
- package/es/loading/index.d.ts +0 -16
- package/es/locale/de.d.ts +0 -59
- package/es/locale/el.d.ts +0 -59
- package/es/locale/en.d.ts +0 -59
- package/es/locale/fr.d.ts +0 -59
- package/es/locale/it.d.ts +0 -59
- package/es/locale/ja.d.ts +0 -59
- package/es/locale/ko.d.ts +0 -59
- package/es/locale/ru.d.ts +0 -59
- package/es/locale/th.d.ts +0 -59
- package/es/locale/uk.d.ts +0 -59
- package/es/locale/vi.d.ts +0 -59
- package/es/locale/zh-CN.d.ts +0 -59
- package/es/locale/zh-TW.d.ts +0 -59
- package/es/menu/index.d.ts +0 -7
- package/es/menu/menu-divider.d.ts +0 -2
- package/es/menu/menu-group.d.ts +0 -20
- package/es/menu/menu-item.d.ts +0 -22
- package/es/menu/menu.d.ts +0 -92
- package/es/menu/recursive-menu.d.ts +0 -17
- package/es/menu/sub-menu.d.ts +0 -24
- package/es/message/index.d.ts +0 -23
- package/es/modal/index.d.ts +0 -26
- package/es/modal/modal.d.ts +0 -176
- package/es/modal/toast.d.ts +0 -32
- package/es/notice/container.d.ts +0 -6
- package/es/notice/content.d.ts +0 -54
- package/es/notice/index.d.ts +0 -23
- package/es/notice/instance.d.ts +0 -8
- package/es/page/index.d.ts +0 -115
- package/es/popconfirm/index.d.ts +0 -75
- package/es/poptip/index.d.ts +0 -66
- package/es/progress/index.d.ts +0 -125
- package/es/radio/index.d.ts +0 -7
- package/es/radio/radio-button.d.ts +0 -76
- package/es/radio/radio-group.d.ts +0 -77
- package/es/radio/radio.d.ts +0 -73
- package/es/radio/types.d.ts +0 -5
- package/es/rate/index.d.ts +0 -99
- package/es/rate/star.d.ts +0 -65
- package/es/row-col/col.d.ts +0 -17
- package/es/row-col/index.d.ts +0 -5
- package/es/row-col/row.d.ts +0 -43
- package/es/select/index.d.ts +0 -5
- package/es/select/option.d.ts +0 -23
- package/es/select/select.d.ts +0 -150
- package/es/skeleton/index.d.ts +0 -7
- package/es/skeleton/skeleton-avatar.d.ts +0 -58
- package/es/skeleton/skeleton-button.d.ts +0 -58
- package/es/skeleton/skeleton-image.d.ts +0 -58
- package/es/skeleton/skeleton-text.d.ts +0 -58
- package/es/skeleton/skeleton.d.ts +0 -61
- package/es/skeleton/types.d.ts +0 -29
- package/es/slider/index.d.ts +0 -112
- package/es/slider/thumb.d.ts +0 -58
- package/es/space/index.d.ts +0 -50
- package/es/spin/index.d.ts +0 -58
- package/es/splitter/index.d.ts +0 -4
- package/es/splitter/splitter-panel.d.ts +0 -35
- package/es/splitter/splitter.d.ts +0 -32
- package/es/stat-card/countup.d.ts +0 -56
- package/es/stat-card/index.d.ts +0 -5
- package/es/stat-card/rollup.d.ts +0 -32
- package/es/stat-card/stat-card.d.ts +0 -72
- package/es/stat-card/stat-number.d.ts +0 -100
- package/es/stat-card/utils/countup.d.ts +0 -127
- package/es/stat-card/utils/odometer.d.ts +0 -13
- package/es/switch/index.d.ts +0 -72
- package/es/table/index.d.ts +0 -185
- package/es/tabs/index.d.ts +0 -5
- package/es/tabs/tab-panel.d.ts +0 -22
- package/es/tabs/tabs.d.ts +0 -44
- package/es/tabs/types.d.ts +0 -16
- package/es/tag/index.d.ts +0 -57
- package/es/time-line/index.d.ts +0 -5
- package/es/time-line/timeline-item.d.ts +0 -20
- package/es/time-line/timeline.d.ts +0 -26
- package/es/tooltip/index.d.ts +0 -42
- package/es/tree/index.d.ts +0 -179
- package/es/tree/utils.d.ts +0 -32
- package/es/tree-select/index.d.ts +0 -224
- package/es/upload/file-list.d.ts +0 -59
- package/es/upload/index.d.ts +0 -190
- package/es/upload/selector.d.ts +0 -73
- package/es/utils/checked.d.ts +0 -2
- package/es/utils/color.d.ts +0 -1
- package/es/utils/element.d.ts +0 -4
- package/es/utils/mouse.d.ts +0 -1
- package/es/utils/number.d.ts +0 -6
- package/es/utils/placement.d.ts +0 -16
- package/es/utils/theme.d.ts +0 -5
- package/es/utils/vnode.d.ts +0 -5
- package/es/utils/vue.d.ts +0 -5
package/vetur/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "kui-vue",
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.3.0",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"js-types-syntax": "typescript",
|
|
7
7
|
"contributions": {
|
|
@@ -8265,6 +8265,14 @@
|
|
|
8265
8265
|
"kind": "expression"
|
|
8266
8266
|
}
|
|
8267
8267
|
},
|
|
8268
|
+
{
|
|
8269
|
+
"name": "value",
|
|
8270
|
+
"description": "Props for value",
|
|
8271
|
+
"value": {
|
|
8272
|
+
"type": "any",
|
|
8273
|
+
"kind": "expression"
|
|
8274
|
+
}
|
|
8275
|
+
},
|
|
8268
8276
|
{
|
|
8269
8277
|
"name": "prefix",
|
|
8270
8278
|
"description": "扩展前缀",
|
|
@@ -8305,14 +8313,6 @@
|
|
|
8305
8313
|
"kind": "expression"
|
|
8306
8314
|
}
|
|
8307
8315
|
},
|
|
8308
|
-
{
|
|
8309
|
-
"name": "maxlength",
|
|
8310
|
-
"description": "Props for maxlength",
|
|
8311
|
-
"value": {
|
|
8312
|
-
"type": "number | undefined",
|
|
8313
|
-
"kind": "expression"
|
|
8314
|
-
}
|
|
8315
|
-
},
|
|
8316
8316
|
{
|
|
8317
8317
|
"name": "onIconClick",
|
|
8318
8318
|
"description": "图标点击事件的回调",
|
|
@@ -9169,14 +9169,6 @@
|
|
|
9169
9169
|
"kind": "expression"
|
|
9170
9170
|
}
|
|
9171
9171
|
},
|
|
9172
|
-
{
|
|
9173
|
-
"name": "value",
|
|
9174
|
-
"description": "Props for value",
|
|
9175
|
-
"value": {
|
|
9176
|
-
"type": "any",
|
|
9177
|
-
"kind": "expression"
|
|
9178
|
-
}
|
|
9179
|
-
},
|
|
9180
9172
|
{
|
|
9181
9173
|
"name": "innerHTML",
|
|
9182
9174
|
"description": "Props for innerHTML",
|
|
@@ -9993,6 +9985,14 @@
|
|
|
9993
9985
|
"kind": "expression"
|
|
9994
9986
|
}
|
|
9995
9987
|
},
|
|
9988
|
+
{
|
|
9989
|
+
"name": "maxlength",
|
|
9990
|
+
"description": "Props for maxlength",
|
|
9991
|
+
"value": {
|
|
9992
|
+
"type": "Numberish | undefined",
|
|
9993
|
+
"kind": "expression"
|
|
9994
|
+
}
|
|
9995
|
+
},
|
|
9996
9996
|
{
|
|
9997
9997
|
"name": "min",
|
|
9998
9998
|
"description": "Props for min",
|
|
@@ -10135,6 +10135,14 @@
|
|
|
10135
10135
|
"kind": "expression"
|
|
10136
10136
|
}
|
|
10137
10137
|
},
|
|
10138
|
+
{
|
|
10139
|
+
"name": "value",
|
|
10140
|
+
"description": "Props for value",
|
|
10141
|
+
"value": {
|
|
10142
|
+
"type": "any",
|
|
10143
|
+
"kind": "expression"
|
|
10144
|
+
}
|
|
10145
|
+
},
|
|
10138
10146
|
{
|
|
10139
10147
|
"name": "placeholder",
|
|
10140
10148
|
"description": "Props for placeholder",
|
|
@@ -10943,14 +10951,6 @@
|
|
|
10943
10951
|
"kind": "expression"
|
|
10944
10952
|
}
|
|
10945
10953
|
},
|
|
10946
|
-
{
|
|
10947
|
-
"name": "value",
|
|
10948
|
-
"description": "Props for value",
|
|
10949
|
-
"value": {
|
|
10950
|
-
"type": "string | number | readonly string[] | null | undefined",
|
|
10951
|
-
"kind": "expression"
|
|
10952
|
-
}
|
|
10953
|
-
},
|
|
10954
10954
|
{
|
|
10955
10955
|
"name": "innerHTML",
|
|
10956
10956
|
"description": "Props for innerHTML",
|
|
@@ -11688,18 +11688,18 @@
|
|
|
11688
11688
|
}
|
|
11689
11689
|
},
|
|
11690
11690
|
{
|
|
11691
|
-
"name": "
|
|
11692
|
-
"description": "Props for
|
|
11691
|
+
"name": "autocomplete",
|
|
11692
|
+
"description": "Props for autocomplete",
|
|
11693
11693
|
"value": {
|
|
11694
|
-
"type": "
|
|
11694
|
+
"type": "string | undefined",
|
|
11695
11695
|
"kind": "expression"
|
|
11696
11696
|
}
|
|
11697
11697
|
},
|
|
11698
11698
|
{
|
|
11699
|
-
"name": "
|
|
11700
|
-
"description": "Props for
|
|
11699
|
+
"name": "maxlength",
|
|
11700
|
+
"description": "Props for maxlength",
|
|
11701
11701
|
"value": {
|
|
11702
|
-
"type": "
|
|
11702
|
+
"type": "Numberish | undefined",
|
|
11703
11703
|
"kind": "expression"
|
|
11704
11704
|
}
|
|
11705
11705
|
},
|
|
@@ -12668,6 +12668,113 @@
|
|
|
12668
12668
|
],
|
|
12669
12669
|
"events": []
|
|
12670
12670
|
},
|
|
12671
|
+
{
|
|
12672
|
+
"name": "qrcode",
|
|
12673
|
+
"source": {
|
|
12674
|
+
"symbol": "QRCode"
|
|
12675
|
+
},
|
|
12676
|
+
"description": "Kui Vue component: QRCode",
|
|
12677
|
+
"doc-url": "https://k-ui.cn/components/qrcode",
|
|
12678
|
+
"attributes": [
|
|
12679
|
+
{
|
|
12680
|
+
"name": "bordered",
|
|
12681
|
+
"description": "是否显示外边框容器,开启后会自带微弱的投影与圆角包裹,提升视觉高级感。",
|
|
12682
|
+
"value": {
|
|
12683
|
+
"type": "boolean",
|
|
12684
|
+
"kind": "expression"
|
|
12685
|
+
}
|
|
12686
|
+
},
|
|
12687
|
+
{
|
|
12688
|
+
"name": "size",
|
|
12689
|
+
"description": "二维码的正方形边长,单位 `px`。组件内部已做高清屏适配,大屏拉伸不模糊。",
|
|
12690
|
+
"value": {
|
|
12691
|
+
"type": "number",
|
|
12692
|
+
"kind": "expression"
|
|
12693
|
+
}
|
|
12694
|
+
},
|
|
12695
|
+
{
|
|
12696
|
+
"name": "status",
|
|
12697
|
+
"description": "二维码的当前业务状态。可选值:<br>• `'active'`: 正常可扫描状态<br>• `'loading'`: 安全链路加载中状态<br>• `'expired'`: 长期未扫码已失效状态(展示刷新按钮)<br>• `'scanned'`: 已成功扫描状态(可配合插槽定制遮罩)",
|
|
12698
|
+
"value": {
|
|
12699
|
+
"type": "QRCodeStatus",
|
|
12700
|
+
"kind": "expression"
|
|
12701
|
+
}
|
|
12702
|
+
},
|
|
12703
|
+
{
|
|
12704
|
+
"name": "colorDark",
|
|
12705
|
+
"description": "前景色(二维码实点颜色)。支持十六进制、RGB 以及 CSS 变量,组件会自动监听根节点 `theme-mode` 属性进行动态重绘适配。",
|
|
12706
|
+
"value": {
|
|
12707
|
+
"type": "string",
|
|
12708
|
+
"kind": "expression"
|
|
12709
|
+
}
|
|
12710
|
+
},
|
|
12711
|
+
{
|
|
12712
|
+
"name": "colorLight",
|
|
12713
|
+
"description": "背景色。支持十六进制、RGB 以及 CSS 变量。暗黑模式下建议设置为深色系,切勿设为完全透明以免影响扫码识别率。",
|
|
12714
|
+
"value": {
|
|
12715
|
+
"type": "string",
|
|
12716
|
+
"kind": "expression"
|
|
12717
|
+
}
|
|
12718
|
+
},
|
|
12719
|
+
{
|
|
12720
|
+
"name": "logo",
|
|
12721
|
+
"description": "二维码正中心的 Logo 图片地址(支持网络 URL 或 Base64)。",
|
|
12722
|
+
"value": {
|
|
12723
|
+
"type": "string",
|
|
12724
|
+
"kind": "expression"
|
|
12725
|
+
}
|
|
12726
|
+
},
|
|
12727
|
+
{
|
|
12728
|
+
"name": "margin",
|
|
12729
|
+
"description": "二维码矩阵区域四周的空白边距(即白边格子的层数)。",
|
|
12730
|
+
"value": {
|
|
12731
|
+
"type": "number",
|
|
12732
|
+
"kind": "expression"
|
|
12733
|
+
}
|
|
12734
|
+
},
|
|
12735
|
+
{
|
|
12736
|
+
"name": "logoRadius",
|
|
12737
|
+
"description": "正中心 Logo 的圆角弧度,单位 `px`。",
|
|
12738
|
+
"value": {
|
|
12739
|
+
"type": "number",
|
|
12740
|
+
"kind": "expression"
|
|
12741
|
+
}
|
|
12742
|
+
},
|
|
12743
|
+
{
|
|
12744
|
+
"name": "logoBorder",
|
|
12745
|
+
"description": "Logo 是否开启白色隔离保护边框。开启后会在 Logo 外围自动绘制一圈背景色保护带,防止二维码矩阵格子死死贴住 Logo 导致视觉杂乱。",
|
|
12746
|
+
"value": {
|
|
12747
|
+
"type": "boolean",
|
|
12748
|
+
"kind": "expression"
|
|
12749
|
+
}
|
|
12750
|
+
},
|
|
12751
|
+
{
|
|
12752
|
+
"name": "errorLevel",
|
|
12753
|
+
"description": "二维码的容错率纠错级别。可选值:`'L'` (7%), `'M'` (15%), `'Q'` (25%), `'H'` (30%)。<br>_注:如果需要在正中心嵌入 Logo,建议维持在 'M' 或强行改为 'H',以确保中心被遮挡后依然能百分百被识别。_",
|
|
12754
|
+
"value": {
|
|
12755
|
+
"type": "QRCodeErrorLevel",
|
|
12756
|
+
"kind": "expression"
|
|
12757
|
+
}
|
|
12758
|
+
},
|
|
12759
|
+
{
|
|
12760
|
+
"name": "value",
|
|
12761
|
+
"description": "二维码解析的文本内容或跳转链接。",
|
|
12762
|
+
"value": {
|
|
12763
|
+
"type": "string | undefined",
|
|
12764
|
+
"kind": "expression"
|
|
12765
|
+
}
|
|
12766
|
+
},
|
|
12767
|
+
{
|
|
12768
|
+
"name": "logoSize",
|
|
12769
|
+
"description": "正中心 Logo 的尺寸大小,单位 `px`。如果不传,组件内部会自动计算为整个二维码尺寸的 `22%`。",
|
|
12770
|
+
"value": {
|
|
12771
|
+
"type": "number | undefined",
|
|
12772
|
+
"kind": "expression"
|
|
12773
|
+
}
|
|
12774
|
+
}
|
|
12775
|
+
],
|
|
12776
|
+
"events": []
|
|
12777
|
+
},
|
|
12671
12778
|
{
|
|
12672
12779
|
"name": "radio",
|
|
12673
12780
|
"source": {
|
|
@@ -15340,6 +15447,84 @@
|
|
|
15340
15447
|
"attributes": [],
|
|
15341
15448
|
"events": []
|
|
15342
15449
|
},
|
|
15450
|
+
{
|
|
15451
|
+
"name": "splitter",
|
|
15452
|
+
"source": {
|
|
15453
|
+
"symbol": "Splitter"
|
|
15454
|
+
},
|
|
15455
|
+
"description": "Kui Vue component: Splitter",
|
|
15456
|
+
"doc-url": "https://k-ui.cn/components/splitter",
|
|
15457
|
+
"attributes": [
|
|
15458
|
+
{
|
|
15459
|
+
"name": "direction",
|
|
15460
|
+
"description": "布局方向",
|
|
15461
|
+
"value": {
|
|
15462
|
+
"type": "DirectionType",
|
|
15463
|
+
"kind": "expression"
|
|
15464
|
+
}
|
|
15465
|
+
},
|
|
15466
|
+
{
|
|
15467
|
+
"name": "onResize",
|
|
15468
|
+
"description": "面板大小变化回调",
|
|
15469
|
+
"value": {
|
|
15470
|
+
"type": "((sizes: number[]) => void) | undefined",
|
|
15471
|
+
"kind": "expression"
|
|
15472
|
+
}
|
|
15473
|
+
},
|
|
15474
|
+
{
|
|
15475
|
+
"name": "onResizeEnd",
|
|
15476
|
+
"description": "拖拽结束回调",
|
|
15477
|
+
"value": {
|
|
15478
|
+
"type": "((sizes: number[]) => void) | undefined",
|
|
15479
|
+
"kind": "expression"
|
|
15480
|
+
}
|
|
15481
|
+
},
|
|
15482
|
+
{
|
|
15483
|
+
"name": "onResizeStart",
|
|
15484
|
+
"description": "开始拖拽之前回调",
|
|
15485
|
+
"value": {
|
|
15486
|
+
"type": "((sizes: number[]) => void) | undefined",
|
|
15487
|
+
"kind": "expression"
|
|
15488
|
+
}
|
|
15489
|
+
}
|
|
15490
|
+
],
|
|
15491
|
+
"events": []
|
|
15492
|
+
},
|
|
15493
|
+
{
|
|
15494
|
+
"name": "splitter-panel",
|
|
15495
|
+
"source": {
|
|
15496
|
+
"symbol": "SplitterPanel"
|
|
15497
|
+
},
|
|
15498
|
+
"description": "Kui Vue component: SplitterPanel",
|
|
15499
|
+
"doc-url": "https://k-ui.cn/components/splitter-panel",
|
|
15500
|
+
"attributes": [
|
|
15501
|
+
{
|
|
15502
|
+
"name": "size",
|
|
15503
|
+
"description": "宽度",
|
|
15504
|
+
"value": {
|
|
15505
|
+
"type": "string | number | undefined",
|
|
15506
|
+
"kind": "expression"
|
|
15507
|
+
}
|
|
15508
|
+
},
|
|
15509
|
+
{
|
|
15510
|
+
"name": "max",
|
|
15511
|
+
"description": "最大阈值,支持数字 px 或者文字 '百分比%' 类型",
|
|
15512
|
+
"value": {
|
|
15513
|
+
"type": "string | number | undefined",
|
|
15514
|
+
"kind": "expression"
|
|
15515
|
+
}
|
|
15516
|
+
},
|
|
15517
|
+
{
|
|
15518
|
+
"name": "min",
|
|
15519
|
+
"description": "最小阈值,支持数字 px 或者文字 '百分比%' 类型",
|
|
15520
|
+
"value": {
|
|
15521
|
+
"type": "string | number | undefined",
|
|
15522
|
+
"kind": "expression"
|
|
15523
|
+
}
|
|
15524
|
+
}
|
|
15525
|
+
],
|
|
15526
|
+
"events": []
|
|
15527
|
+
},
|
|
15343
15528
|
{
|
|
15344
15529
|
"name": "table",
|
|
15345
15530
|
"source": {
|
|
@@ -16535,77 +16720,106 @@
|
|
|
16535
16720
|
"events": []
|
|
16536
16721
|
},
|
|
16537
16722
|
{
|
|
16538
|
-
"name": "
|
|
16723
|
+
"name": "watermark",
|
|
16539
16724
|
"source": {
|
|
16540
|
-
"symbol": "
|
|
16725
|
+
"symbol": "Watermark"
|
|
16541
16726
|
},
|
|
16542
|
-
"description": "Kui Vue component:
|
|
16543
|
-
"doc-url": "https://k-ui.cn/components/
|
|
16727
|
+
"description": "Kui Vue component: Watermark",
|
|
16728
|
+
"doc-url": "https://k-ui.cn/components/watermark",
|
|
16544
16729
|
"attributes": [
|
|
16545
16730
|
{
|
|
16546
|
-
"name": "
|
|
16547
|
-
"description": "
|
|
16731
|
+
"name": "height",
|
|
16732
|
+
"description": "单个水印区域的高度,单位 `px`。",
|
|
16548
16733
|
"value": {
|
|
16549
|
-
"type": "
|
|
16734
|
+
"type": "number",
|
|
16550
16735
|
"kind": "expression"
|
|
16551
16736
|
}
|
|
16552
16737
|
},
|
|
16553
16738
|
{
|
|
16554
|
-
"name": "
|
|
16555
|
-
"description": "
|
|
16739
|
+
"name": "layout",
|
|
16740
|
+
"description": "水印的排列布局模式。可选值:`'grid'` (传统正交网格) 或 `'stagger'` (高级奇偶行交错错落网格)。",
|
|
16556
16741
|
"value": {
|
|
16557
|
-
"type": "
|
|
16742
|
+
"type": "WatermarkLayoutType",
|
|
16558
16743
|
"kind": "expression"
|
|
16559
16744
|
}
|
|
16560
16745
|
},
|
|
16561
16746
|
{
|
|
16562
|
-
"name": "
|
|
16563
|
-
"description": "
|
|
16747
|
+
"name": "content",
|
|
16748
|
+
"description": "水印的文本内容。支持传入字符串,或者数组以支持多行。传入对象数组时,可独立控制每行样式。",
|
|
16564
16749
|
"value": {
|
|
16565
|
-
"type": "
|
|
16750
|
+
"type": "string | string[] | WatermarkTextItem[]",
|
|
16566
16751
|
"kind": "expression"
|
|
16567
16752
|
}
|
|
16568
16753
|
},
|
|
16569
16754
|
{
|
|
16570
|
-
"name": "
|
|
16571
|
-
"description": "
|
|
16755
|
+
"name": "width",
|
|
16756
|
+
"description": "单个水印区域的宽度,单位 `px`。",
|
|
16572
16757
|
"value": {
|
|
16573
|
-
"type": "
|
|
16758
|
+
"type": "number",
|
|
16574
16759
|
"kind": "expression"
|
|
16575
16760
|
}
|
|
16576
|
-
}
|
|
16577
|
-
],
|
|
16578
|
-
"events": []
|
|
16579
|
-
},
|
|
16580
|
-
{
|
|
16581
|
-
"name": "splitter-panel",
|
|
16582
|
-
"source": {
|
|
16583
|
-
"symbol": "SplitterPanel"
|
|
16584
|
-
},
|
|
16585
|
-
"description": "Kui Vue component: SplitterPanel",
|
|
16586
|
-
"doc-url": "https://k-ui.cn/components/splitter-panel",
|
|
16587
|
-
"attributes": [
|
|
16761
|
+
},
|
|
16588
16762
|
{
|
|
16589
|
-
"name": "
|
|
16590
|
-
"description": "
|
|
16763
|
+
"name": "image",
|
|
16764
|
+
"description": "图片水印的源地址(Base64 或 URL)。开启后优先渲染图片水印。",
|
|
16591
16765
|
"value": {
|
|
16592
|
-
"type": "string
|
|
16766
|
+
"type": "string",
|
|
16593
16767
|
"kind": "expression"
|
|
16594
16768
|
}
|
|
16595
16769
|
},
|
|
16596
16770
|
{
|
|
16597
|
-
"name": "
|
|
16598
|
-
"description": "
|
|
16771
|
+
"name": "offset",
|
|
16772
|
+
"description": "水印网格平铺时的起始原点偏移量,格式为 `[x, y]`,用于微调边缘留白。",
|
|
16599
16773
|
"value": {
|
|
16600
|
-
"type": "
|
|
16774
|
+
"type": "number[]",
|
|
16601
16775
|
"kind": "expression"
|
|
16602
16776
|
}
|
|
16603
16777
|
},
|
|
16604
16778
|
{
|
|
16605
|
-
"name": "
|
|
16606
|
-
"description": "
|
|
16779
|
+
"name": "rotate",
|
|
16780
|
+
"description": "水印的倾斜旋转角度。",
|
|
16607
16781
|
"value": {
|
|
16608
|
-
"type": "
|
|
16782
|
+
"type": "number",
|
|
16783
|
+
"kind": "expression"
|
|
16784
|
+
}
|
|
16785
|
+
},
|
|
16786
|
+
{
|
|
16787
|
+
"name": "zIndex",
|
|
16788
|
+
"description": "水印挂载节点的层级,在 Modal/Drawer 等高级别弹窗中使用时建议调大。",
|
|
16789
|
+
"value": {
|
|
16790
|
+
"type": "number",
|
|
16791
|
+
"kind": "expression"
|
|
16792
|
+
}
|
|
16793
|
+
},
|
|
16794
|
+
{
|
|
16795
|
+
"name": "fullscreen",
|
|
16796
|
+
"description": "是否为全屏水印。若为 `true`,则会直接挂载到 `body` 上。",
|
|
16797
|
+
"value": {
|
|
16798
|
+
"type": "boolean",
|
|
16799
|
+
"kind": "expression"
|
|
16800
|
+
}
|
|
16801
|
+
},
|
|
16802
|
+
{
|
|
16803
|
+
"name": "antiTamper",
|
|
16804
|
+
"description": "是否开启高防篡改守护(通过 `MutationObserver` 监听 DOM 节点的删除与属性修改)。",
|
|
16805
|
+
"value": {
|
|
16806
|
+
"type": "boolean",
|
|
16807
|
+
"kind": "expression"
|
|
16808
|
+
}
|
|
16809
|
+
},
|
|
16810
|
+
{
|
|
16811
|
+
"name": "font",
|
|
16812
|
+
"description": "全局水印文本的默认兜底样式(包含颜色、字号、粗细、字体族及字形)。",
|
|
16813
|
+
"value": {
|
|
16814
|
+
"type": "Font",
|
|
16815
|
+
"kind": "expression"
|
|
16816
|
+
}
|
|
16817
|
+
},
|
|
16818
|
+
{
|
|
16819
|
+
"name": "gap",
|
|
16820
|
+
"description": "水印格子之间的横向与纵向间距,格式为 `[x, y]`。",
|
|
16821
|
+
"value": {
|
|
16822
|
+
"type": "number[]",
|
|
16609
16823
|
"kind": "expression"
|
|
16610
16824
|
}
|
|
16611
16825
|
}
|
package/es/affix/index.d.ts
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
declare const affixProps: {
|
|
3
|
-
offsetTop: {
|
|
4
|
-
type: NumberConstructor;
|
|
5
|
-
default: number;
|
|
6
|
-
};
|
|
7
|
-
offsetBottom: NumberConstructor;
|
|
8
|
-
target: {
|
|
9
|
-
type: PropType<() => any>;
|
|
10
|
-
default: () => (Window & typeof globalThis) | null;
|
|
11
|
-
};
|
|
12
|
-
onChange: {
|
|
13
|
-
type: PropType<(affixed: boolean) => void>;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
export type AffixProps = ExtractPropTypes<typeof affixProps>;
|
|
17
|
-
declare const Affix: import('vue').DefineComponent<ExtractPropTypes<{
|
|
18
|
-
offsetTop: {
|
|
19
|
-
type: NumberConstructor;
|
|
20
|
-
default: number;
|
|
21
|
-
};
|
|
22
|
-
offsetBottom: NumberConstructor;
|
|
23
|
-
target: {
|
|
24
|
-
type: PropType<() => any>;
|
|
25
|
-
default: () => (Window & typeof globalThis) | null;
|
|
26
|
-
};
|
|
27
|
-
onChange: {
|
|
28
|
-
type: PropType<(affixed: boolean) => void>;
|
|
29
|
-
};
|
|
30
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
|
|
31
|
-
offsetTop: {
|
|
32
|
-
type: NumberConstructor;
|
|
33
|
-
default: number;
|
|
34
|
-
};
|
|
35
|
-
offsetBottom: NumberConstructor;
|
|
36
|
-
target: {
|
|
37
|
-
type: PropType<() => any>;
|
|
38
|
-
default: () => (Window & typeof globalThis) | null;
|
|
39
|
-
};
|
|
40
|
-
onChange: {
|
|
41
|
-
type: PropType<(affixed: boolean) => void>;
|
|
42
|
-
};
|
|
43
|
-
}>> & Readonly<{}>, {
|
|
44
|
-
offsetTop: number;
|
|
45
|
-
target: () => any;
|
|
46
|
-
}, {}, {}, {
|
|
47
|
-
resize: import('vue').ObjectDirective<any, any, string, any>;
|
|
48
|
-
}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
49
|
-
export default Affix;
|
package/es/alert/index.d.ts
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
import { BooleanType } from '../const/types';
|
|
3
|
-
import { IconType } from '../icon';
|
|
4
|
-
declare const alertProps: {
|
|
5
|
-
type: {
|
|
6
|
-
type: PropType<"info" | "success" | "warning" | "error">;
|
|
7
|
-
default: string;
|
|
8
|
-
};
|
|
9
|
-
closable: BooleanType;
|
|
10
|
-
showIcon: {
|
|
11
|
-
type: BooleanType;
|
|
12
|
-
default: boolean;
|
|
13
|
-
};
|
|
14
|
-
icon: PropType<IconType[]>;
|
|
15
|
-
message: StringConstructor;
|
|
16
|
-
description: StringConstructor;
|
|
17
|
-
bordered: BooleanType;
|
|
18
|
-
onClose: {
|
|
19
|
-
type: PropType<(e: MouseEvent) => void>;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
export type AlertProps = ExtractPropTypes<typeof alertProps>;
|
|
23
|
-
declare const Alert: import('vue').DefineComponent<ExtractPropTypes<{
|
|
24
|
-
type: {
|
|
25
|
-
type: PropType<"info" | "success" | "warning" | "error">;
|
|
26
|
-
default: string;
|
|
27
|
-
};
|
|
28
|
-
closable: BooleanType;
|
|
29
|
-
showIcon: {
|
|
30
|
-
type: BooleanType;
|
|
31
|
-
default: boolean;
|
|
32
|
-
};
|
|
33
|
-
icon: PropType<IconType[]>;
|
|
34
|
-
message: StringConstructor;
|
|
35
|
-
description: StringConstructor;
|
|
36
|
-
bordered: BooleanType;
|
|
37
|
-
onClose: {
|
|
38
|
-
type: PropType<(e: MouseEvent) => void>;
|
|
39
|
-
};
|
|
40
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
|
|
41
|
-
type: {
|
|
42
|
-
type: PropType<"info" | "success" | "warning" | "error">;
|
|
43
|
-
default: string;
|
|
44
|
-
};
|
|
45
|
-
closable: BooleanType;
|
|
46
|
-
showIcon: {
|
|
47
|
-
type: BooleanType;
|
|
48
|
-
default: boolean;
|
|
49
|
-
};
|
|
50
|
-
icon: PropType<IconType[]>;
|
|
51
|
-
message: StringConstructor;
|
|
52
|
-
description: StringConstructor;
|
|
53
|
-
bordered: BooleanType;
|
|
54
|
-
onClose: {
|
|
55
|
-
type: PropType<(e: MouseEvent) => void>;
|
|
56
|
-
};
|
|
57
|
-
}>> & Readonly<{}>, {
|
|
58
|
-
type: "error" | "warning" | "success" | "info";
|
|
59
|
-
showIcon: boolean | undefined;
|
|
60
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
61
|
-
export default Alert;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ExtractPropTypes } from 'vue';
|
|
2
|
-
declare const anchorLinkProps: {
|
|
3
|
-
href: {
|
|
4
|
-
type: StringConstructor;
|
|
5
|
-
required: boolean;
|
|
6
|
-
};
|
|
7
|
-
title: StringConstructor;
|
|
8
|
-
};
|
|
9
|
-
export type AnchorLinkProps = ExtractPropTypes<typeof anchorLinkProps>;
|
|
10
|
-
declare const AnchorLink: import('vue').DefineComponent<ExtractPropTypes<{
|
|
11
|
-
href: {
|
|
12
|
-
type: StringConstructor;
|
|
13
|
-
required: boolean;
|
|
14
|
-
};
|
|
15
|
-
title: StringConstructor;
|
|
16
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
|
|
17
|
-
href: {
|
|
18
|
-
type: StringConstructor;
|
|
19
|
-
required: boolean;
|
|
20
|
-
};
|
|
21
|
-
title: StringConstructor;
|
|
22
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
23
|
-
export default AnchorLink;
|
package/es/anchor/anchor.d.ts
DELETED
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType, Ref } from 'vue';
|
|
2
|
-
import { BooleanType } from '../const/types';
|
|
3
|
-
export interface AnchorContext {
|
|
4
|
-
activeLink: Ref<string>;
|
|
5
|
-
registerLink: (link: string) => void;
|
|
6
|
-
unregisterLink: (link: string) => void;
|
|
7
|
-
handleScrollTo: (link: string) => void;
|
|
8
|
-
}
|
|
9
|
-
declare const anchorProps: {
|
|
10
|
-
affix: {
|
|
11
|
-
type: BooleanType;
|
|
12
|
-
default: boolean;
|
|
13
|
-
};
|
|
14
|
-
offsetTop: {
|
|
15
|
-
type: NumberConstructor;
|
|
16
|
-
default: number;
|
|
17
|
-
};
|
|
18
|
-
bounds: {
|
|
19
|
-
type: NumberConstructor;
|
|
20
|
-
default: number;
|
|
21
|
-
};
|
|
22
|
-
container: PropType<string | HTMLElement | Window>;
|
|
23
|
-
onChange: {
|
|
24
|
-
type: PropType<(activeLink: string) => void>;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
export type AnchorProps = ExtractPropTypes<typeof anchorProps>;
|
|
28
|
-
declare const Anchor: import('vue').DefineComponent<ExtractPropTypes<{
|
|
29
|
-
affix: {
|
|
30
|
-
type: BooleanType;
|
|
31
|
-
default: boolean;
|
|
32
|
-
};
|
|
33
|
-
offsetTop: {
|
|
34
|
-
type: NumberConstructor;
|
|
35
|
-
default: number;
|
|
36
|
-
};
|
|
37
|
-
bounds: {
|
|
38
|
-
type: NumberConstructor;
|
|
39
|
-
default: number;
|
|
40
|
-
};
|
|
41
|
-
container: PropType<string | HTMLElement | Window>;
|
|
42
|
-
onChange: {
|
|
43
|
-
type: PropType<(activeLink: string) => void>;
|
|
44
|
-
};
|
|
45
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
|
|
46
|
-
affix: {
|
|
47
|
-
type: BooleanType;
|
|
48
|
-
default: boolean;
|
|
49
|
-
};
|
|
50
|
-
offsetTop: {
|
|
51
|
-
type: NumberConstructor;
|
|
52
|
-
default: number;
|
|
53
|
-
};
|
|
54
|
-
bounds: {
|
|
55
|
-
type: NumberConstructor;
|
|
56
|
-
default: number;
|
|
57
|
-
};
|
|
58
|
-
container: PropType<string | HTMLElement | Window>;
|
|
59
|
-
onChange: {
|
|
60
|
-
type: PropType<(activeLink: string) => void>;
|
|
61
|
-
};
|
|
62
|
-
}>> & Readonly<{}>, {
|
|
63
|
-
offsetTop: number;
|
|
64
|
-
affix: boolean | undefined;
|
|
65
|
-
bounds: number;
|
|
66
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
67
|
-
export default Anchor;
|
package/es/anchor/index.d.ts
DELETED