@blueking/ai-ui-sdk 0.1.12-beta.22 → 0.1.12-beta.24
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/components/render-aside/index.vue.css +9 -9
- package/dist/components/render-aside/index.vue.js +1 -1
- package/dist/components/render-auth/auth-dialog.script.vue.js.js +2 -8
- package/dist/components/render-auto-height-textarea/index.vue.css +11 -11
- package/dist/components/render-auto-height-textarea/index.vue.js +1 -1
- package/dist/components/render-auto-refresh/index.vue.css +8 -8
- package/dist/components/render-auto-refresh/index.vue.js +1 -1
- package/dist/components/render-checkbox/index.vue.css +9 -9
- package/dist/components/render-checkbox/index.vue.js +1 -1
- package/dist/components/render-choose-tag/index.vue.css +7 -7
- package/dist/components/render-choose-tag/index.vue.js +1 -1
- package/dist/components/render-collapse/index.vue.css +2 -2
- package/dist/components/render-collapse/index.vue.js +1 -1
- package/dist/components/render-dataset/components/batch-review-dataset-data/index.script.vue.js.js +9 -27
- package/dist/components/render-dataset/components/dataset-data-tool-icons/index.script.vue.js +1 -1
- package/dist/components/render-dataset/components/edit-dataset-data/index.script.vue.js.js +11 -46
- package/dist/components/render-dataset/components/edit-dataset-data/index.vue.css +3 -3
- package/dist/components/render-dataset/components/edit-dataset-data/index.vue.js +1 -1
- package/dist/components/render-dataset/components/operation-record/index.vue.css +4 -4
- package/dist/components/render-dataset/components/operation-record/index.vue.js +1 -1
- package/dist/components/render-dataset/components/operation-record/table/index.script.vue.js.js +1 -4
- package/dist/components/render-dataset/components/operation-record/table/index.vue.css +1 -1
- package/dist/components/render-dataset/components/operation-record/table/index.vue.js +1 -1
- package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.css +2 -2
- package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.js +1 -1
- package/dist/components/render-dataset/components/plus-dataset/dataset-footer.script.vue.js.js +2 -8
- package/dist/components/render-dataset/components/plus-dataset/index.vue.css +2 -2
- package/dist/components/render-dataset/components/plus-dataset/index.vue.js +1 -1
- package/dist/components/render-dataset/components/plus-dataset-data/form/file.script.vue.js.js +3 -12
- package/dist/components/render-dataset/components/plus-dataset-data/form/footer.script.vue.js.js +2 -8
- package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.css +1 -1
- package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.js +1 -1
- package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.css +2 -2
- package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.js +1 -1
- package/dist/components/render-dataset/components/plus-dataset-data/index.script.vue.js.js +1 -4
- package/dist/components/render-dataset/components/review-dataset-data/index.script.vue.js.js +5 -21
- package/dist/components/render-dataset/components/review-dataset-data/index.vue.css +10 -10
- package/dist/components/render-dataset/components/review-dataset-data/index.vue.js +1 -1
- package/dist/components/render-dataset/index.vue.css +1 -1
- package/dist/components/render-dataset/index.vue.js +1 -1
- package/dist/components/render-dataset-detail/components/header.script.vue.js.js +2 -77
- package/dist/components/render-dataset-detail/index.script.vue.js.js +2 -8
- package/dist/components/render-dataset-detail-origin-data/components/batch-operation/index.script.vue.js.js +9 -12
- package/dist/components/render-dataset-detail-origin-data/components/table/index.script.vue.js +37 -203
- package/dist/components/render-dataset-detail-origin-data/components/table/index.vue.css +10 -0
- package/dist/components/render-dataset-detail-origin-data/components/table/index.vue.js +2 -0
- package/dist/components/render-dataset-detail-origin-data/index.script.vue.js.js +14 -29
- package/dist/components/render-dataset-detail-origin-data/index.vue.css +3 -3
- package/dist/components/render-dataset-detail-origin-data/index.vue.js +1 -1
- package/dist/components/render-dataset-list/components/main.script.vue.js.js +1 -4
- package/dist/components/render-dataset-list/components/main.vue.css +3 -3
- package/dist/components/render-dataset-list/components/main.vue.js +1 -1
- package/dist/components/render-dataset-list/components/table.script.vue.js.js +21 -21
- package/dist/components/render-expand-collapse/index.vue.css +3 -3
- package/dist/components/render-expand-collapse/index.vue.js +1 -1
- package/dist/components/render-file-card/index.vue.css +11 -11
- package/dist/components/render-file-card/index.vue.js +1 -1
- package/dist/components/render-file-type-icon/index.vue.css +5 -5
- package/dist/components/render-file-type-icon/index.vue.js +1 -1
- package/dist/components/render-header/index.vue.css +5 -5
- package/dist/components/render-header/index.vue.js +1 -1
- package/dist/components/render-router-tab/index.vue.css +3 -3
- package/dist/components/render-router-tab/index.vue.js +1 -1
- package/dist/hooks/use-dataset-http.ts.js +0 -20
- package/dist/http/helper/agent.ts.js +2 -1
- package/dist/http/helper/knowledge.ts.js +2 -4
- package/dist/http/helper/session.ts.js +0 -2
- package/dist/types/enum.ts.js +0 -2
- package/dist/types.ts.js +0 -1
- package/package.json +1 -1
- package/dist/common/chart-helper.d.ts +0 -32
- package/dist/common/util.d.ts +0 -97
- package/dist/components/render-aside/index.vue.d.ts +0 -26
- package/dist/components/render-auth/auth-dialog-fn.d.ts +0 -2
- package/dist/components/render-auth/auth-dialog.vue.d.ts +0 -5
- package/dist/components/render-auto-height-textarea/index.vue.d.ts +0 -19
- package/dist/components/render-auto-refresh/index.vue.d.ts +0 -6
- package/dist/components/render-checkbox/index.vue.d.ts +0 -11
- package/dist/components/render-choose-tag/index.vue.d.ts +0 -13
- package/dist/components/render-collapse/index.vue.d.ts +0 -18
- package/dist/components/render-dataset/components/batch-review-dataset-data/index.vue.d.ts +0 -15
- package/dist/components/render-dataset/components/dataset-data-level/index.vue.d.ts +0 -6
- package/dist/components/render-dataset/components/dataset-data-status/index.vue.d.ts +0 -7
- package/dist/components/render-dataset/components/dataset-data-tool-icons/index.vue.d.ts +0 -5
- package/dist/components/render-dataset/components/edit-dataset-data/index.vue.d.ts +0 -20
- package/dist/components/render-dataset/components/operation-record/index.vue.d.ts +0 -13
- package/dist/components/render-dataset/components/operation-record/table/index.vue.d.ts +0 -8
- package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.d.ts +0 -11
- package/dist/components/render-dataset/components/plus-dataset/dataset-footer.vue.d.ts +0 -16
- package/dist/components/render-dataset/components/plus-dataset/dataset-form.vue.d.ts +0 -17
- package/dist/components/render-dataset/components/plus-dataset/index.vue.d.ts +0 -16
- package/dist/components/render-dataset/components/plus-dataset-data/form/category.vue.d.ts +0 -10
- package/dist/components/render-dataset/components/plus-dataset-data/form/dataset.vue.d.ts +0 -17
- package/dist/components/render-dataset/components/plus-dataset-data/form/file.vue.d.ts +0 -15
- package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.d.ts +0 -15
- package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.d.ts +0 -17
- package/dist/components/render-dataset/components/plus-dataset-data/form/manual.vue.d.ts +0 -15
- package/dist/components/render-dataset/components/plus-dataset-data/index.vue.d.ts +0 -15
- package/dist/components/render-dataset/components/review-dataset-data/index.vue.d.ts +0 -17
- package/dist/components/render-dataset/components/search-dataset/index.vue.d.ts +0 -13
- package/dist/components/render-dataset/components/search-dataset-data/index.vue.d.ts +0 -12
- package/dist/components/render-dataset/components/search-operation-record/index.vue.d.ts +0 -11
- package/dist/components/render-dataset/components/source-type-icon/index.vue.d.ts +0 -6
- package/dist/components/render-dataset/index.vue.d.ts +0 -7
- package/dist/components/render-dataset-detail/components/header.vue.d.ts +0 -8
- package/dist/components/render-dataset-detail/components/tab.vue.d.ts +0 -2
- package/dist/components/render-dataset-detail/index.vue.d.ts +0 -8
- package/dist/components/render-dataset-detail-origin-data/components/batch-operation/index.vue.d.ts +0 -17
- package/dist/components/render-dataset-detail-origin-data/components/table/index.vue.d.ts +0 -20
- package/dist/components/render-dataset-detail-origin-data/index.vue.d.ts +0 -10
- package/dist/components/render-dataset-list/components/header.vue.d.ts +0 -2
- package/dist/components/render-dataset-list/components/main.vue.d.ts +0 -14
- package/dist/components/render-dataset-list/components/table.vue.d.ts +0 -11
- package/dist/components/render-dataset-list/index.vue.d.ts +0 -14
- package/dist/components/render-expand-collapse/index.vue.d.ts +0 -12
- package/dist/components/render-file-card/index.vue.d.ts +0 -20
- package/dist/components/render-file-type-icon/index.vue.d.ts +0 -5
- package/dist/components/render-header/index.vue.d.ts +0 -58
- package/dist/components/render-router-tab/index.vue.d.ts +0 -8
- package/dist/components/render-search-select/index.vue.d.ts +0 -28
- package/dist/components.d.ts +0 -12
- package/dist/enums.d.ts +0 -1
- package/dist/event/index.d.ts +0 -4
- package/dist/events.d.ts +0 -1
- package/dist/helpers.d.ts +0 -1
- package/dist/hooks/use-chat.d.ts +0 -895
- package/dist/hooks/use-click-proxy.d.ts +0 -1
- package/dist/hooks/use-dataset-http.d.ts +0 -50
- package/dist/hooks/use-form-leave-confirm.d.ts +0 -4
- package/dist/hooks/use-form-rule.d.ts +0 -29
- package/dist/hooks/use-meta-http.d.ts +0 -16
- package/dist/hooks/use-mouse-drag.d.ts +0 -13
- package/dist/hooks/use-permission-http.d.ts +0 -7
- package/dist/hooks/use-permission.d.ts +0 -9
- package/dist/hooks/use-reference-doc.d.ts +0 -14
- package/dist/hooks/use-session-http.d.ts +0 -16
- package/dist/hooks/use-style.d.ts +0 -3
- package/dist/hooks/use-summary.d.ts +0 -9
- package/dist/hooks/use-table.d.ts +0 -27
- package/dist/hooks/use-think.d.ts +0 -21
- package/dist/hooks.d.ts +0 -9
- package/dist/http/fetch/error-interceptor.d.ts +0 -3
- package/dist/http/fetch/index.d.ts +0 -25
- package/dist/http/fetch/request-error.d.ts +0 -6
- package/dist/http/fetch/success-interceptor.d.ts +0 -3
- package/dist/http/helper/agent.d.ts +0 -7
- package/dist/http/helper/dataset.d.ts +0 -117
- package/dist/http/helper/knowledge.d.ts +0 -43
- package/dist/http/helper/meta.d.ts +0 -2
- package/dist/http/helper/model.d.ts +0 -2
- package/dist/http/helper/permission.d.ts +0 -13
- package/dist/http/helper/session.d.ts +0 -41
- package/dist/http/helper/tool.d.ts +0 -13
- package/dist/https.d.ts +0 -2
- package/dist/transforms.d.ts +0 -5
- package/dist/types/agent.d.ts +0 -19
- package/dist/types/common.d.ts +0 -23
- package/dist/types/common.ts.js +0 -1
- package/dist/types/dataset.d.ts +0 -298
- package/dist/types/enum.d.ts +0 -202
- package/dist/types/file.d.ts +0 -23
- package/dist/types/knowledge.d.ts +0 -139
- package/dist/types/meta.d.ts +0 -8
- package/dist/types/model.d.ts +0 -31
- package/dist/types/permission.d.ts +0 -92
- package/dist/types/session.d.ts +0 -157
- package/dist/types/tool.d.ts +0 -60
- package/dist/types.d.ts +0 -9
|
@@ -51,7 +51,7 @@ function _object_spread_props(target, source) {
|
|
|
51
51
|
return target;
|
|
52
52
|
}
|
|
53
53
|
import { defineComponent as _defineComponent } from 'vue';
|
|
54
|
-
import { unref as _unref, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, normalizeClass as _normalizeClass, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, resolveDirective as _resolveDirective,
|
|
54
|
+
import { unref as _unref, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, normalizeClass as _normalizeClass, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, resolveDirective as _resolveDirective, createElementBlock as _createElementBlock, withDirectives as _withDirectives, Fragment as _Fragment } from "vue";
|
|
55
55
|
const _hoisted_1 = {
|
|
56
56
|
class: "g-more-menu"
|
|
57
57
|
};
|
|
@@ -202,6 +202,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
202
202
|
tempDataset.value = row;
|
|
203
203
|
};
|
|
204
204
|
const handleShowDelete = (row)=>{
|
|
205
|
+
if (row.datasetItemCount > 0) return;
|
|
205
206
|
deleteRef.value[row.id].popoverRef.show();
|
|
206
207
|
};
|
|
207
208
|
const handleHidePopover = (row)=>{
|
|
@@ -242,6 +243,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
242
243
|
const _component_bk_pop_confirm = _resolveComponent("bk-pop-confirm");
|
|
243
244
|
const _component_bk_popover = _resolveComponent("bk-popover");
|
|
244
245
|
const _component_bk_table = _resolveComponent("bk-table");
|
|
246
|
+
const _directive_bk_tooltips = _resolveDirective("bk-tooltips");
|
|
245
247
|
const _directive_bkloading = _resolveDirective("bkloading");
|
|
246
248
|
return _openBlock(), _createElementBlock(_Fragment, null, [
|
|
247
249
|
_withDirectives((_openBlock(), _createBlock(_component_bk_table, {
|
|
@@ -389,10 +391,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
389
391
|
default: _withCtx(()=>_cache[3] || (_cache[3] = [
|
|
390
392
|
_createTextVNode(" 查看详情 ")
|
|
391
393
|
])),
|
|
392
|
-
_: 2 /* DYNAMIC */
|
|
393
|
-
__: [
|
|
394
|
-
3
|
|
395
|
-
]
|
|
394
|
+
_: 2 /* DYNAMIC */
|
|
396
395
|
}, 1032 /* PROPS, DYNAMIC_SLOTS */ , [
|
|
397
396
|
"class",
|
|
398
397
|
"onMouseenter",
|
|
@@ -426,10 +425,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
426
425
|
default: _withCtx(()=>_cache[4] || (_cache[4] = [
|
|
427
426
|
_createTextVNode(" 编辑数据集 ")
|
|
428
427
|
])),
|
|
429
|
-
_: 2 /* DYNAMIC */
|
|
430
|
-
__: [
|
|
431
|
-
4
|
|
432
|
-
]
|
|
428
|
+
_: 2 /* DYNAMIC */
|
|
433
429
|
}, 1032 /* PROPS, DYNAMIC_SLOTS */ , [
|
|
434
430
|
"class",
|
|
435
431
|
"onMouseenter",
|
|
@@ -454,10 +450,7 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
454
450
|
default: _withCtx(()=>_cache[5] || (_cache[5] = [
|
|
455
451
|
_createTextVNode(" 操作记录 ")
|
|
456
452
|
])),
|
|
457
|
-
_: 2 /* DYNAMIC */
|
|
458
|
-
__: [
|
|
459
|
-
5
|
|
460
|
-
]
|
|
453
|
+
_: 2 /* DYNAMIC */
|
|
461
454
|
}, 1032 /* PROPS, DYNAMIC_SLOTS */ , [
|
|
462
455
|
"class",
|
|
463
456
|
"onMouseenter",
|
|
@@ -476,16 +469,26 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
476
469
|
onConfirm: ($event)=>handleDeleteDataset(row)
|
|
477
470
|
}, {
|
|
478
471
|
default: _withCtx(()=>[
|
|
479
|
-
|
|
472
|
+
_withDirectives((_openBlock(), _createElementBlock("li", {
|
|
480
473
|
class: _normalizeClass({
|
|
481
|
-
'g-disabled': !isDatasetManagePermission(row)
|
|
474
|
+
'g-disabled': row.datasetItemCount > 0 || !isDatasetManagePermission(row)
|
|
482
475
|
}),
|
|
483
476
|
onMouseenter: ($event)=>_unref(handleMouseEnter)(isDatasetManagePermission(row)),
|
|
484
477
|
onMousemove: (event)=>_unref(handleMouseMove)(event, isDatasetManagePermission(row)),
|
|
485
478
|
onMouseleave: _cache[0] || (_cache[0] = //@ts-ignore
|
|
486
479
|
(...args)=>_unref(handleMouseLeave) && _unref(handleMouseLeave)(...args)),
|
|
487
480
|
onClick: ($event)=>handleManagePermissionMouseClick(()=>handleShowDelete(row), row)
|
|
488
|
-
},
|
|
481
|
+
}, _cache[6] || (_cache[6] = [
|
|
482
|
+
_createTextVNode(" 删除 ")
|
|
483
|
+
]), 42 /* CLASS, PROPS, NEED_HYDRATION */ , _hoisted_4)), [
|
|
484
|
+
[
|
|
485
|
+
_directive_bk_tooltips,
|
|
486
|
+
{
|
|
487
|
+
content: '有数据的数据集不能删除',
|
|
488
|
+
disabled: row.datasetItemCount <= 0
|
|
489
|
+
}
|
|
490
|
+
]
|
|
491
|
+
])
|
|
489
492
|
]),
|
|
490
493
|
_: 2 /* DYNAMIC */
|
|
491
494
|
}, 1032 /* PROPS, DYNAMIC_SLOTS */ , [
|
|
@@ -494,14 +497,11 @@ export default /*@__PURE__*/ _defineComponent({
|
|
|
494
497
|
])
|
|
495
498
|
]),
|
|
496
499
|
default: _withCtx(()=>[
|
|
497
|
-
_cache[
|
|
500
|
+
_cache[7] || (_cache[7] = _createElementVNode("i", {
|
|
498
501
|
class: "ai-ui-sdk-icon ai-ui-sdk-gengduo-2 g-text-16 g-ml-12 g-cursor-pointer"
|
|
499
502
|
}, null, -1 /* HOISTED */ ))
|
|
500
503
|
]),
|
|
501
|
-
_: 2 /* DYNAMIC */
|
|
502
|
-
__: [
|
|
503
|
-
6
|
|
504
|
-
]
|
|
504
|
+
_: 2 /* DYNAMIC */
|
|
505
505
|
}, 1536 /* NEED_PATCH, DYNAMIC_SLOTS */ )
|
|
506
506
|
]),
|
|
507
507
|
_: 1 /* STABLE */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
.expend-collapse-home[data-v-
|
|
2
|
+
.expend-collapse-home[data-v-20w7yl9r] {
|
|
3
3
|
width: 16px;
|
|
4
4
|
height: 64px;
|
|
5
5
|
background: #DCDEE5;
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
cursor: pointer;
|
|
16
16
|
z-index: 1550;
|
|
17
17
|
}
|
|
18
|
-
.expend-collapse-home[data-v-
|
|
18
|
+
.expend-collapse-home[data-v-20w7yl9r]:hover {
|
|
19
19
|
background: #979BA5;
|
|
20
20
|
}
|
|
21
|
-
.expend-collapse-home.is-close[data-v-
|
|
21
|
+
.expend-collapse-home.is-close[data-v-20w7yl9r] {
|
|
22
22
|
left: 0;
|
|
23
23
|
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
|
|
2
|
-
.upload-file-home[data-v-
|
|
2
|
+
.upload-file-home[data-v-z2f174d3] {
|
|
3
3
|
position: relative;
|
|
4
4
|
background: #FFFFFF;
|
|
5
5
|
border: 1px solid #DCDEE5;
|
|
6
6
|
border-radius: 4px;
|
|
7
7
|
padding: 12px 12px 10px 12px;
|
|
8
8
|
}
|
|
9
|
-
.upload-file-home[data-v-
|
|
9
|
+
.upload-file-home[data-v-z2f174d3]:hover {
|
|
10
10
|
border: 1px solid #3A84FF;
|
|
11
11
|
}
|
|
12
|
-
.upload-file-home:hover .file-icons[data-v-
|
|
12
|
+
.upload-file-home:hover .file-icons[data-v-z2f174d3] {
|
|
13
13
|
display: flex;
|
|
14
14
|
}
|
|
15
|
-
.upload-file-home .file-icon[data-v-
|
|
15
|
+
.upload-file-home .file-icon[data-v-z2f174d3] {
|
|
16
16
|
font-size: 32px;
|
|
17
17
|
}
|
|
18
|
-
.upload-file-home .file-content[data-v-
|
|
18
|
+
.upload-file-home .file-content[data-v-z2f174d3] {
|
|
19
19
|
font-size: 12px;
|
|
20
20
|
flex: 1;
|
|
21
21
|
align-items: flex-start;
|
|
@@ -23,28 +23,28 @@
|
|
|
23
23
|
font-weight: normal;
|
|
24
24
|
width: 0;
|
|
25
25
|
}
|
|
26
|
-
.upload-file-home .file-content .file-name[data-v-
|
|
26
|
+
.upload-file-home .file-content .file-name[data-v-z2f174d3] {
|
|
27
27
|
width: 100%;
|
|
28
28
|
font-size: 14px;
|
|
29
29
|
line-height: 20px;
|
|
30
30
|
}
|
|
31
|
-
.upload-file-home .file-content .file-size[data-v-
|
|
31
|
+
.upload-file-home .file-content .file-size[data-v-z2f174d3] {
|
|
32
32
|
font-size: 12px;
|
|
33
33
|
color: #979BA5;
|
|
34
34
|
line-height: 20px;
|
|
35
35
|
}
|
|
36
|
-
.upload-file-home .file-icons[data-v-
|
|
36
|
+
.upload-file-home .file-icons[data-v-z2f174d3] {
|
|
37
37
|
display: none;
|
|
38
38
|
color: #979BA5;
|
|
39
39
|
}
|
|
40
|
-
.upload-file-home .file-icons .bkaidev-icon[data-v-
|
|
40
|
+
.upload-file-home .file-icons .bkaidev-icon[data-v-z2f174d3] {
|
|
41
41
|
cursor: pointer;
|
|
42
42
|
margin-right: 15px;
|
|
43
43
|
font-size: 16px;
|
|
44
44
|
}
|
|
45
|
-
.upload-file-home .file-icons .bkaidev-icon[data-v-
|
|
45
|
+
.upload-file-home .file-icons .bkaidev-icon[data-v-z2f174d3]:hover {
|
|
46
46
|
color: #3A84FF;
|
|
47
47
|
}
|
|
48
|
-
.upload-file-home .file-icons .bkaidev-delete[data-v-
|
|
48
|
+
.upload-file-home .file-icons .bkaidev-delete[data-v-z2f174d3] {
|
|
49
49
|
margin: 0;
|
|
50
50
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
|
|
2
|
-
.ai-ui-sdk-icon.ai-ui-sdk-pdf[data-v-
|
|
2
|
+
.ai-ui-sdk-icon.ai-ui-sdk-pdf[data-v-hs9p54yg] {
|
|
3
3
|
color: #EA3636;
|
|
4
4
|
}
|
|
5
|
-
.ai-ui-sdk-icon.ai-ui-sdk-doc-2[data-v-
|
|
5
|
+
.ai-ui-sdk-icon.ai-ui-sdk-doc-2[data-v-hs9p54yg], .ai-ui-sdk-icon.ai-ui-sdk-ppt-2[data-v-hs9p54yg], .ai-ui-sdk-icon.ai-ui-sdk-markdown[data-v-hs9p54yg] {
|
|
6
6
|
color: #3A84FF;
|
|
7
7
|
}
|
|
8
|
-
.ai-ui-sdk-icon.ai-ui-sdk-folder-fill[data-v-
|
|
8
|
+
.ai-ui-sdk-icon.ai-ui-sdk-folder-fill[data-v-hs9p54yg] {
|
|
9
9
|
color: #C4C6CC;
|
|
10
10
|
}
|
|
11
|
-
.ai-ui-sdk-icon.ai-ui-sdk-excel[data-v-
|
|
11
|
+
.ai-ui-sdk-icon.ai-ui-sdk-excel[data-v-hs9p54yg] {
|
|
12
12
|
color: #2DCB56;
|
|
13
13
|
}
|
|
14
|
-
.ai-ui-sdk-icon.ai-ui-sdk-wangye[data-v-
|
|
14
|
+
.ai-ui-sdk-icon.ai-ui-sdk-wangye[data-v-hs9p54yg] {
|
|
15
15
|
color: #14A568;
|
|
16
16
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
.header-home[data-v-
|
|
2
|
+
.header-home[data-v-lckq2jw9] {
|
|
3
3
|
width: 100%;
|
|
4
4
|
height: 52px;
|
|
5
5
|
background: #FFFFFF;
|
|
@@ -7,14 +7,14 @@
|
|
|
7
7
|
position: relative;
|
|
8
8
|
z-index: 2;
|
|
9
9
|
}
|
|
10
|
-
.header-title[data-v-
|
|
10
|
+
.header-title[data-v-lckq2jw9] {
|
|
11
11
|
position: absolute;
|
|
12
12
|
left: 24px;
|
|
13
13
|
top: 14px;
|
|
14
14
|
font-size: 16px;
|
|
15
15
|
color: #313238;
|
|
16
16
|
}
|
|
17
|
-
.header-main[data-v-
|
|
17
|
+
.header-main[data-v-lckq2jw9] {
|
|
18
18
|
display: flex;
|
|
19
19
|
align-items: center;
|
|
20
20
|
justify-content: flex-end;
|
|
@@ -22,13 +22,13 @@
|
|
|
22
22
|
height: 100%;
|
|
23
23
|
margin: 0 auto;
|
|
24
24
|
}
|
|
25
|
-
.header-select[data-v-
|
|
25
|
+
.header-select[data-v-lckq2jw9] {
|
|
26
26
|
width: 300px;
|
|
27
27
|
margin-right: 8px;
|
|
28
28
|
z-index: 9;
|
|
29
29
|
font-size: 12px;
|
|
30
30
|
}
|
|
31
|
-
.header-input[data-v-
|
|
31
|
+
.header-input[data-v-lckq2jw9] {
|
|
32
32
|
width: 300px;
|
|
33
33
|
font-size: 12px;
|
|
34
34
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
.router-tab[data-v-
|
|
2
|
+
.router-tab[data-v-95e5041k] {
|
|
3
3
|
margin-top: 2px;
|
|
4
4
|
height: 42px;
|
|
5
5
|
background: #FFFFFF;
|
|
6
6
|
box-shadow: 0 2px 4px 0 #1919290d;
|
|
7
7
|
padding: 0 45px;
|
|
8
8
|
}
|
|
9
|
-
.router-tab a[data-v-
|
|
9
|
+
.router-tab a[data-v-95e5041k] {
|
|
10
10
|
padding: 0 8px;
|
|
11
11
|
margin-right: 24px;
|
|
12
12
|
font-size: 14px;
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
color: #4D4F56;
|
|
16
16
|
box-sizing: border-box;
|
|
17
17
|
}
|
|
18
|
-
.router-tab a.router-link-exact-active[data-v-
|
|
18
|
+
.router-tab a.router-link-exact-active[data-v-95e5041k] {
|
|
19
19
|
color: #3A84FF;
|
|
20
20
|
border-bottom: 2px solid #3A84FF;
|
|
21
21
|
}
|
|
@@ -80,12 +80,6 @@ export const useDatasetHttp = (apiPrefix, spaceId)=>{
|
|
|
80
80
|
noCheckPermission: true,
|
|
81
81
|
globalError: false
|
|
82
82
|
}).then(transferDatasetApi2Dataset);
|
|
83
|
-
// 获取数据集状态信息
|
|
84
|
-
const getDatasetStatusInfo = (id)=>fetch.get(`${apiPrefix}/${datasetPerfix}/dataset/${id}/info/`, undefined, {
|
|
85
|
-
headers: {
|
|
86
|
-
'x-space-id': spaceId === null || spaceId === void 0 ? void 0 : spaceId.value
|
|
87
|
-
}
|
|
88
|
-
});
|
|
89
83
|
// 创建数据集
|
|
90
84
|
const createDataset = (data)=>fetch.post(`${apiPrefix}/${datasetPerfix}/dataset/`, transferDatasetForm2DatasetFormApi(data), {
|
|
91
85
|
headers: {
|
|
@@ -104,17 +98,6 @@ export const useDatasetHttp = (apiPrefix, spaceId)=>{
|
|
|
104
98
|
'x-space-id': spaceId === null || spaceId === void 0 ? void 0 : spaceId.value
|
|
105
99
|
}
|
|
106
100
|
});
|
|
107
|
-
// 导出数据集
|
|
108
|
-
const exportDataset = (id)=>{
|
|
109
|
-
const url = `${apiPrefix}/${datasetPerfix}/dataset/${id}/export/`;
|
|
110
|
-
window.open(url, '_blank');
|
|
111
|
-
};
|
|
112
|
-
// 获取数据集数据 ID 列表
|
|
113
|
-
const getDatasetDataIds = (query)=>fetch.post(`${apiPrefix}/${datasetPerfix}/dataset_item/ids/`, transferDatasetDataParam2DatasetDataParamApi(query), {
|
|
114
|
-
headers: {
|
|
115
|
-
'x-space-id': spaceId === null || spaceId === void 0 ? void 0 : spaceId.value
|
|
116
|
-
}
|
|
117
|
-
});
|
|
118
101
|
// 获取数据集数据列表
|
|
119
102
|
const getDatasetDataList = (query)=>fetch.post(`${apiPrefix}/${datasetPerfix}/dataset_item/list/`, transferDatasetDataParam2DatasetDataParamApi(query), {
|
|
120
103
|
headers: {
|
|
@@ -225,12 +208,9 @@ export const useDatasetHttp = (apiPrefix, spaceId)=>{
|
|
|
225
208
|
getComponentList,
|
|
226
209
|
getDatasetList,
|
|
227
210
|
getDataset,
|
|
228
|
-
getDatasetStatusInfo,
|
|
229
211
|
createDataset,
|
|
230
212
|
updateDataset,
|
|
231
213
|
deleteDataset,
|
|
232
|
-
exportDataset,
|
|
233
|
-
getDatasetDataIds,
|
|
234
214
|
getDatasetDataList,
|
|
235
215
|
createDatasetData,
|
|
236
216
|
updateDatasetData,
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
},
|
|
12
12
|
promptSetting: {
|
|
13
13
|
content: data === null || data === void 0 ? void 0 : (_data_prompt_setting = data.prompt_setting) === null || _data_prompt_setting === void 0 ? void 0 : _data_prompt_setting.content
|
|
14
|
-
}
|
|
14
|
+
},
|
|
15
|
+
agentName: data === null || data === void 0 ? void 0 : data.agent_name
|
|
15
16
|
};
|
|
16
17
|
};
|
|
@@ -95,8 +95,7 @@ import { transferResourcePermission } from './permission.ts.js';
|
|
|
95
95
|
knowledge_base_id: data.knowledgebaseId,
|
|
96
96
|
parent_anchor_path: data.parentAnchorPath,
|
|
97
97
|
anchor_path: mergeStringWithoutLastSlash(data.parentAnchorPath, data.fileName),
|
|
98
|
-
index_config: data.indexConfig
|
|
99
|
-
credential_id: data.credentialId
|
|
98
|
+
index_config: data.indexConfig
|
|
100
99
|
});
|
|
101
100
|
/**
|
|
102
101
|
* 接口转换为ui使用
|
|
@@ -134,8 +133,7 @@ import { transferResourcePermission } from './permission.ts.js';
|
|
|
134
133
|
isStructured: data.is_structured,
|
|
135
134
|
updatedAt: data.updated_at,
|
|
136
135
|
updatedBy: data.updated_by,
|
|
137
|
-
indexConfig: data.index_config
|
|
138
|
-
credentialId: data.credential_id
|
|
136
|
+
indexConfig: data.index_config
|
|
139
137
|
};
|
|
140
138
|
};
|
|
141
139
|
/**
|
|
@@ -66,7 +66,6 @@ import { SessionContentRole, SessionPromptRole } from '../../types/enum.ts.js';
|
|
|
66
66
|
[SessionContentRole.Guide]: SessionPromptRole.Guide,
|
|
67
67
|
[SessionContentRole.Time]: SessionPromptRole.System,
|
|
68
68
|
[SessionContentRole.Role]: SessionPromptRole.System,
|
|
69
|
-
[SessionContentRole.Placeholder]: SessionPromptRole.Placeholder,
|
|
70
69
|
[SessionContentRole.HiddenAi]: SessionPromptRole.HiddenAssistant,
|
|
71
70
|
[SessionContentRole.HiddenGuide]: SessionPromptRole.HiddenGuide,
|
|
72
71
|
[SessionContentRole.HiddenRole]: SessionPromptRole.HiddenSystem,
|
|
@@ -97,7 +96,6 @@ import { SessionContentRole, SessionPromptRole } from '../../types/enum.ts.js';
|
|
|
97
96
|
[SessionPromptRole.System]: SessionContentRole.Role,
|
|
98
97
|
[SessionPromptRole.Hidden]: SessionContentRole.Hidden,
|
|
99
98
|
[SessionPromptRole.Guide]: SessionContentRole.Guide,
|
|
100
|
-
[SessionPromptRole.Placeholder]: SessionContentRole.Placeholder,
|
|
101
99
|
[SessionPromptRole.HiddenAssistant]: SessionContentRole.HiddenAi,
|
|
102
100
|
[SessionPromptRole.HiddenGuide]: SessionContentRole.HiddenGuide,
|
|
103
101
|
[SessionPromptRole.HiddenSystem]: SessionContentRole.HiddenRole,
|
package/dist/types/enum.ts.js
CHANGED
|
@@ -7,7 +7,6 @@ export var SessionPromptRole;
|
|
|
7
7
|
SessionPromptRole["Guide"] = "guide";
|
|
8
8
|
SessionPromptRole["Pause"] = "pause";
|
|
9
9
|
SessionPromptRole["UserImage"] = "user-image";
|
|
10
|
-
SessionPromptRole["Placeholder"] = "placeholder";
|
|
11
10
|
SessionPromptRole["Hidden"] = "hidden";
|
|
12
11
|
SessionPromptRole["HiddenUser"] = "hidden-user";
|
|
13
12
|
SessionPromptRole["HiddenAssistant"] = "hidden-assistant";
|
|
@@ -37,7 +36,6 @@ export var SessionContentRole;
|
|
|
37
36
|
SessionContentRole["Pause"] = "pause";
|
|
38
37
|
SessionContentRole["TokenExpired"] = "token-expired";
|
|
39
38
|
SessionContentRole["UserImage"] = "user-image";
|
|
40
|
-
SessionContentRole["Placeholder"] = "placeholder";
|
|
41
39
|
SessionContentRole["HiddenUser"] = "hidden-user";
|
|
42
40
|
SessionContentRole["HiddenAi"] = "hidden-ai";
|
|
43
41
|
SessionContentRole["HiddenRole"] = "hidden-role";
|
package/dist/types.ts.js
CHANGED
package/package.json
CHANGED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import type { Document } from '../types/session';
|
|
2
|
-
type HandleStart = (sessionCode: string) => any;
|
|
3
|
-
type HandleText = (sessionCode: string, message: string, cover?: boolean) => void;
|
|
4
|
-
type HandleReferenceDoc = (sessionCode: string, documents: Document[], cover?: boolean) => void;
|
|
5
|
-
type HandleThink = (sessionCode: string, content: string, cover?: boolean, elapsed_time?: number) => void;
|
|
6
|
-
type HandleEnd = (sessionCode: string, message?: string) => void;
|
|
7
|
-
type HandleError = (sessionCode: string, message: string, code: string) => any;
|
|
8
|
-
export declare class ChatHelper {
|
|
9
|
-
handleStart: HandleStart;
|
|
10
|
-
handleText: HandleText;
|
|
11
|
-
handleReferenceDoc?: HandleReferenceDoc;
|
|
12
|
-
handleThink?: HandleThink;
|
|
13
|
-
handleEnd: HandleEnd;
|
|
14
|
-
handleError: HandleError;
|
|
15
|
-
controllerMap: Record<string, AbortController>;
|
|
16
|
-
constructor({ handleStart, handleText, handleReferenceDoc, handleThink, handleEnd, handleError, }: {
|
|
17
|
-
handleStart: HandleStart;
|
|
18
|
-
handleText: HandleText;
|
|
19
|
-
handleReferenceDoc?: HandleReferenceDoc;
|
|
20
|
-
handleThink?: HandleThink;
|
|
21
|
-
handleEnd: HandleEnd;
|
|
22
|
-
handleError: HandleError;
|
|
23
|
-
});
|
|
24
|
-
stream({ sessionCode, url, headers, data, }: {
|
|
25
|
-
sessionCode: string;
|
|
26
|
-
url: string;
|
|
27
|
-
headers?: Record<string, string>;
|
|
28
|
-
data?: Record<string, any>;
|
|
29
|
-
}): Promise<void>;
|
|
30
|
-
stop(sessionCode: string): void;
|
|
31
|
-
}
|
|
32
|
-
export {};
|
package/dist/common/util.d.ts
DELETED
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 选择要上传的文件
|
|
3
|
-
* @param accept 可接受的类型
|
|
4
|
-
* @param size 大小限制
|
|
5
|
-
* @param multiple 是否多选
|
|
6
|
-
* @param number 限制数量
|
|
7
|
-
* @param allowFolder 是否允许选择文件夹
|
|
8
|
-
* @returns Promise
|
|
9
|
-
*/
|
|
10
|
-
export declare function chooseFile(accept: string, size: number, multiple: boolean, allowFolder: boolean): Promise<File[]>;
|
|
11
|
-
/**
|
|
12
|
-
* 将大小转换成需要展示的文本
|
|
13
|
-
* @param size 大小
|
|
14
|
-
* @returns 展示的文本
|
|
15
|
-
*/
|
|
16
|
-
export declare const getFileSizeTxt: (size: number) => string;
|
|
17
|
-
/**
|
|
18
|
-
* 数据格式转换
|
|
19
|
-
* @param val 值
|
|
20
|
-
* @param fixed 位数
|
|
21
|
-
* @param locales 语言
|
|
22
|
-
* @returns 格式化后的字符串
|
|
23
|
-
*/
|
|
24
|
-
export declare const numberFormatter: (val?: number, fixed?: number, locales?: string) => string;
|
|
25
|
-
/**
|
|
26
|
-
* 节流,每隔一段时间执行
|
|
27
|
-
* @param {*} fn 需要执行的函数
|
|
28
|
-
* @param {*} delay 延迟时间,默认200
|
|
29
|
-
* @returns
|
|
30
|
-
*/
|
|
31
|
-
export declare const throttle: <T1, T2, R>(fn: (p1?: T1, p2?: T2) => R, delay?: number) => (p1?: T1, p2?: T2) => boolean;
|
|
32
|
-
/**
|
|
33
|
-
* 判断是否是 JSON 字符串
|
|
34
|
-
* @param str 字符串
|
|
35
|
-
* @returns 是否是 JSON 字符串
|
|
36
|
-
*/
|
|
37
|
-
export declare const isJSON: (str: string) => boolean;
|
|
38
|
-
/**
|
|
39
|
-
* 检查是不是 object 类型
|
|
40
|
-
* @param item
|
|
41
|
-
* @returns {boolean}
|
|
42
|
-
*/
|
|
43
|
-
export declare function isObject(item: any): boolean;
|
|
44
|
-
/**
|
|
45
|
-
* 获取 cookie
|
|
46
|
-
* @param key cookie key
|
|
47
|
-
* @returns cookie value
|
|
48
|
-
*/
|
|
49
|
-
export declare function getCookies(key: string): string;
|
|
50
|
-
/**
|
|
51
|
-
* 深度合并多个对象
|
|
52
|
-
* @param objectArray 待合并列表
|
|
53
|
-
* @returns {object} 合并后的对象
|
|
54
|
-
*/
|
|
55
|
-
export declare function deepMerge(...objectArray: object[]): any;
|
|
56
|
-
export declare const mergeStringWithoutLeadingSlash: (str1?: string, str2?: string) => string;
|
|
57
|
-
export declare const mergeStringWithoutLastSlash: (str1?: string, str2?: string) => string;
|
|
58
|
-
/**
|
|
59
|
-
* 响应时间格式化
|
|
60
|
-
* @param val 待格式化时间,xxms
|
|
61
|
-
* @returns 格式化后的时间,xx小时xx分钟xx秒
|
|
62
|
-
*/
|
|
63
|
-
export declare function durationFormatter(val: number): string;
|
|
64
|
-
/**
|
|
65
|
-
* 前端下载文件
|
|
66
|
-
* @param {*} source 文件内容
|
|
67
|
-
* @param {*} filename 文件名
|
|
68
|
-
*/
|
|
69
|
-
export declare function handleDownLoad(source: string, filename?: string): void;
|
|
70
|
-
export declare const handleCopy: (text: string) => void;
|
|
71
|
-
/**
|
|
72
|
-
* 时间格式化
|
|
73
|
-
* @param val 待格式化时间
|
|
74
|
-
* @param format 格式
|
|
75
|
-
* @returns 格式化后的时间
|
|
76
|
-
*/
|
|
77
|
-
export declare function timeFormatter(val: string, format?: string): string;
|
|
78
|
-
/**
|
|
79
|
-
* 处理提示词模板,替换模板中的变量
|
|
80
|
-
* @param prompt 提示词模板
|
|
81
|
-
* @param selectedText 选中的文本
|
|
82
|
-
* @returns 处理后的提示词
|
|
83
|
-
*/
|
|
84
|
-
export declare const processPromptTemplate: (prompt: string, selectedText: string) => string;
|
|
85
|
-
/**
|
|
86
|
-
* 获取全屏的父元素
|
|
87
|
-
* @param target 全屏按钮
|
|
88
|
-
* @returns 全屏的父元素
|
|
89
|
-
*/
|
|
90
|
-
export declare const getFullScreenWrap: (target: HTMLElement) => HTMLElement;
|
|
91
|
-
/**
|
|
92
|
-
* 判断元素的父节点们有没有某个class
|
|
93
|
-
* @param ele 当前元素
|
|
94
|
-
* @param cls class名
|
|
95
|
-
* @returns 是否有
|
|
96
|
-
*/
|
|
97
|
-
export declare const isParentHasClass: (ele: HTMLElement, cls: string) => boolean;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import type { ITab } from '@/types/common';
|
|
2
|
-
declare const _default: <T extends ITab>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
|
-
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
4
|
-
readonly onCreate?: () => any;
|
|
5
|
-
readonly "onUpdate:tabId"?: (val: string | number) => any;
|
|
6
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onCreate" | "onUpdate:tabId"> & {
|
|
7
|
-
buttonText?: string;
|
|
8
|
-
tabId?: string | number;
|
|
9
|
-
tabs: T[];
|
|
10
|
-
} & Partial<{}>> & import("vue").PublicProps;
|
|
11
|
-
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
|
12
|
-
attrs: any;
|
|
13
|
-
slots: {
|
|
14
|
-
suffix?: (props: {}) => any;
|
|
15
|
-
};
|
|
16
|
-
emit: {
|
|
17
|
-
(event: "create"): void;
|
|
18
|
-
(event: "update:tabId", val: string | number): void;
|
|
19
|
-
};
|
|
20
|
-
}>) => import("vue").VNode & {
|
|
21
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
22
|
-
};
|
|
23
|
-
export default _default;
|
|
24
|
-
type __VLS_PrettifyLocal<T> = {
|
|
25
|
-
[K in keyof T]: T[K];
|
|
26
|
-
} & {};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { IPermissionApplyData } from '@/types/permission';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<{}, {
|
|
3
|
-
handleShow: (data: IPermissionApplyData, callback?: Function) => void;
|
|
4
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
5
|
-
export default _default;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
interface IProps {
|
|
2
|
-
modelValue?: string;
|
|
3
|
-
placeholder?: string;
|
|
4
|
-
height: number;
|
|
5
|
-
maxHeight?: number;
|
|
6
|
-
focusShowHeight?: boolean;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
}
|
|
9
|
-
declare const _default: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
-
input: (...args: any[]) => void;
|
|
11
|
-
"update:modelValue": (...args: any[]) => void;
|
|
12
|
-
}, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{
|
|
13
|
-
onInput?: (...args: any[]) => any;
|
|
14
|
-
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
15
|
-
}>, {
|
|
16
|
-
maxHeight: number;
|
|
17
|
-
focusShowHeight: boolean;
|
|
18
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
|
-
export default _default;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
2
|
-
update: () => any;
|
|
3
|
-
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
4
|
-
onUpdate?: () => any;
|
|
5
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
-
export default _default;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
interface IProps {
|
|
2
|
-
checked: boolean;
|
|
3
|
-
indeterminate?: boolean;
|
|
4
|
-
disabled?: boolean;
|
|
5
|
-
}
|
|
6
|
-
declare const _default: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
7
|
-
change: (checked: boolean) => any;
|
|
8
|
-
}, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{
|
|
9
|
-
onChange?: (checked: boolean) => any;
|
|
10
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
-
export default _default;
|