bkui-vue 1.0.0 → 1.0.2
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.cjs.js +47 -47
- package/dist/index.esm.js +10405 -10394
- package/dist/index.umd.js +47 -47
- package/dist/locale/en.esm.js +1 -1
- package/dist/locale/en.esm.js.map +1 -1
- package/dist/locale/en.umd.js +1 -1
- package/dist/locale/en.umd.js.map +1 -1
- package/dist/locale/zh-cn.esm.js +1 -1
- package/dist/locale/zh-cn.esm.js.map +1 -1
- package/dist/locale/zh-cn.umd.js +1 -1
- package/dist/locale/zh-cn.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/index.d.ts +57 -111
- package/lib/affix/index.js +19 -19
- package/lib/alert/alert.d.ts +1 -1
- package/lib/alert/index.d.ts +82 -132
- package/lib/alert/index.js +20 -20
- package/lib/animate-number/index.d.ts +33 -96
- package/lib/backtop/index.d.ts +69 -117
- package/lib/badge/badge.d.ts +1 -1
- package/lib/badge/index.d.ts +120 -153
- package/lib/badge/index.js +19 -19
- package/lib/breadcrumb/index.d.ts +67 -119
- package/lib/breadcrumb/index.js +17 -17
- package/lib/button/button.d.ts +2 -2
- package/lib/button/index.d.ts +119 -155
- package/lib/button/index.js +19 -20
- package/lib/card/card.d.ts +1 -1
- package/lib/card/index.d.ts +129 -158
- package/lib/card/index.js +20 -22
- package/lib/cascader/cascader.d.ts +3 -3
- package/lib/cascader/index.d.ts +393 -354
- package/lib/cascader/index.js +233 -234
- package/lib/checkbox/checkbox.d.ts +1 -1
- package/lib/checkbox/index.d.ts +119 -161
- package/lib/checkbox/index.js +39 -41
- package/lib/code-diff/index.d.ts +65 -82
- package/lib/code-diff/index.js +381 -438
- package/lib/collapse/index.d.ts +144 -168
- package/lib/collapse/index.js +21 -21
- package/lib/collapse-transition/index.d.ts +19 -94
- package/lib/color-picker/color-picker.d.ts +1 -1
- package/lib/color-picker/index.d.ts +128 -154
- package/lib/color-picker/index.js +25 -28
- package/lib/config-provider/config-provider.d.ts +9 -0
- package/lib/config-provider/index.d.ts +168 -223
- package/lib/config-provider/index.js +19 -19
- package/lib/config-provider/token.d.ts +3 -0
- package/lib/container/container.d.ts +1 -1
- package/lib/container/index.d.ts +74 -85
- package/lib/container/index.js +19 -19
- package/lib/date-picker/base/picker-dropdown.d.ts +1 -1
- package/lib/date-picker/base/time-spinner.d.ts +3 -3
- package/lib/date-picker/date-picker.d.ts +3 -3
- package/lib/date-picker/index.d.ts +384 -351
- package/lib/date-picker/index.js +92 -104
- package/lib/date-picker/panel/date-range.d.ts +1 -1
- package/lib/date-picker/panel/date.d.ts +1 -1
- package/lib/date-picker/panel/time-range.d.ts +2 -2
- package/lib/date-picker/panel/time.d.ts +1 -1
- package/lib/date-picker/time-picker.d.ts +3 -3
- package/lib/dialog/index.d.ts +355 -309
- package/lib/dialog/index.js +227 -228
- package/lib/directives/index.js +27 -27
- package/lib/divider/index.d.ts +57 -111
- package/lib/dropdown/dropdown.d.ts +1 -1
- package/lib/dropdown/index.d.ts +94 -136
- package/lib/dropdown/index.js +17 -17
- package/lib/exception/index.d.ts +41 -102
- package/lib/exception/index.js +18 -19
- package/lib/fixed-navbar/index.d.ts +59 -113
- package/lib/form/form.css +3 -0
- package/lib/form/form.d.ts +1 -1
- package/lib/form/form.less +3 -0
- package/lib/form/form.variable.css +3 -0
- package/lib/form/index.d.ts +80 -132
- package/lib/form/index.js +29 -27
- package/lib/icon/angle-double-down-line.js +21 -21
- package/lib/icon/angle-double-left-line.js +21 -21
- package/lib/icon/angle-double-left.js +21 -21
- package/lib/icon/angle-double-right-line.js +21 -21
- package/lib/icon/angle-double-right.js +21 -21
- package/lib/icon/angle-double-up-line.js +21 -21
- package/lib/icon/angle-down-fill.js +21 -21
- package/lib/icon/angle-down-line.js +21 -21
- package/lib/icon/angle-down.js +21 -21
- package/lib/icon/angle-left.js +21 -21
- package/lib/icon/angle-right.js +21 -21
- package/lib/icon/angle-up-fill.js +21 -21
- package/lib/icon/angle-up.js +21 -21
- package/lib/icon/archive-fill.js +21 -21
- package/lib/icon/arrows-left.js +21 -21
- package/lib/icon/arrows-right.js +21 -21
- package/lib/icon/assistant.js +21 -21
- package/lib/icon/audio-fill.js +21 -21
- package/lib/icon/bk.js +21 -21
- package/lib/icon/circle.js +21 -21
- package/lib/icon/close-line.js +21 -21
- package/lib/icon/close.js +21 -21
- package/lib/icon/code.js +21 -21
- package/lib/icon/cog-shape.js +21 -21
- package/lib/icon/collapse-left.js +21 -21
- package/lib/icon/copy-shape.js +21 -21
- package/lib/icon/copy.js +21 -21
- package/lib/icon/data-shape.js +21 -21
- package/lib/icon/del.js +21 -21
- package/lib/icon/doc-fill.js +21 -21
- package/lib/icon/done.js +21 -21
- package/lib/icon/down-shape.js +21 -21
- package/lib/icon/down-small.js +21 -21
- package/lib/icon/edit-line.js +21 -21
- package/lib/icon/ellipsis.js +21 -21
- package/lib/icon/enlarge-line.js +21 -21
- package/lib/icon/error.js +21 -21
- package/lib/icon/excel-fill.js +21 -21
- package/lib/icon/exclamation-circle-shape.js +21 -21
- package/lib/icon/eye.js +21 -21
- package/lib/icon/filliscreen-line.js +21 -21
- package/lib/icon/fix-line.js +21 -21
- package/lib/icon/fix-shape.js +21 -21
- package/lib/icon/folder-open.js +21 -21
- package/lib/icon/folder-shape-open.js +21 -21
- package/lib/icon/folder-shape.js +21 -21
- package/lib/icon/folder.js +21 -21
- package/lib/icon/funnel.js +21 -21
- package/lib/icon/grag-fill.js +21 -21
- package/lib/icon/help-document-fill.js +21 -21
- package/lib/icon/help-fill.js +21 -21
- package/lib/icon/help.js +21 -21
- package/lib/icon/image-fill.js +22 -22
- package/lib/icon/img-error.js +22 -22
- package/lib/icon/img-placehoulder.js +22 -22
- package/lib/icon/index.js +192 -192
- package/lib/icon/info-line.js +22 -22
- package/lib/icon/info.js +22 -22
- package/lib/icon/left-shape.js +22 -22
- package/lib/icon/left-turn-line.js +22 -22
- package/lib/icon/loading.js +22 -22
- package/lib/icon/narrow-line.js +22 -22
- package/lib/icon/original.js +22 -22
- package/lib/icon/pdf-fill.js +22 -22
- package/lib/icon/play-shape.js +22 -22
- package/lib/icon/plus.js +22 -22
- package/lib/icon/ppt-fill.js +22 -22
- package/lib/icon/qq.js +22 -22
- package/lib/icon/right-shape.js +22 -22
- package/lib/icon/right-turn-line.js +22 -22
- package/lib/icon/search.js +22 -22
- package/lib/icon/share.js +22 -22
- package/lib/icon/spinner.js +22 -22
- package/lib/icon/success.js +22 -22
- package/lib/icon/switcher-loading.js +22 -22
- package/lib/icon/text-file.js +22 -22
- package/lib/icon/text-fill.js +22 -22
- package/lib/icon/transfer.js +22 -22
- package/lib/icon/tree-application-shape.js +22 -22
- package/lib/icon/unfull-screen.js +22 -22
- package/lib/icon/unvisible.js +22 -22
- package/lib/icon/up-shape.js +22 -22
- package/lib/icon/upload.js +22 -22
- package/lib/icon/video-fill.js +22 -22
- package/lib/icon/warn.js +22 -22
- package/lib/icon/weixin-pro.js +22 -22
- package/lib/icon/weixin.js +22 -22
- package/lib/image/index.d.ts +113 -149
- package/lib/image/index.js +19 -19
- package/lib/info-box/index.js +231 -232
- package/lib/input/index.d.ts +326 -293
- package/lib/input/index.js +256 -258
- package/lib/link/index.d.ts +73 -122
- package/lib/loading/index.d.ts +132 -158
- package/lib/loading/index.js +23 -25
- package/lib/loading/loading.d.ts +4 -4
- package/lib/locale/index.js +8 -12
- package/lib/locale/lang/en.d.ts +3 -0
- package/lib/menu/index.d.ts +51 -112
- package/lib/menu/index.js +25 -25
- package/lib/message/index.js +28 -30
- package/lib/message/messageConstructor.d.ts +5 -5
- package/lib/modal/index.d.ts +261 -249
- package/lib/modal/index.js +492 -33
- package/lib/navigation/index.d.ts +152 -188
- package/lib/notify/index.js +22 -24
- package/lib/notify/notifyConstructor.d.ts +1 -1
- package/lib/overflow-title/index.d.ts +314 -242
- package/lib/overflow-title/index.js +1 -1
- package/lib/pagination/index.d.ts +194 -205
- package/lib/pagination/index.js +49 -56
- package/lib/plugin-popover/index.js +192 -98
- package/lib/pop-confirm/index.d.ts +126 -159
- package/lib/pop-confirm/index.js +0 -1
- package/lib/pop-confirm/pop-confirm.d.ts +1 -1
- package/lib/popover/content.d.ts +1 -1
- package/lib/popover/index.d.ts +374 -330
- package/lib/popover/index.js +192 -98
- package/lib/popover2/index.d.ts +8 -83
- package/lib/preset.d.ts +287 -2
- package/lib/preset.js +3 -1
- package/lib/process/index.d.ts +93 -137
- package/lib/process/index.js +225 -226
- package/lib/progress/index.d.ts +178 -187
- package/lib/progress/index.js +19 -19
- package/lib/progress/progress.d.ts +2 -2
- package/lib/radio/index.d.ts +83 -135
- package/lib/radio/index.js +41 -43
- package/lib/rate/index.d.ts +55 -112
- package/lib/rate/index.js +19 -20
- package/lib/resize-layout/index.d.ts +156 -185
- package/lib/resize-layout/index.js +20 -21
- package/lib/resize-layout/resize-layout.d.ts +2 -2
- package/lib/search-select/index.d.ts +292 -327
- package/lib/search-select/index.js +239 -240
- package/lib/search-select/input.d.ts +2 -2
- package/lib/search-select/search-select.d.ts +3 -3
- package/lib/search-select/selected.d.ts +2 -2
- package/lib/select/index.d.ts +1234 -1135
- package/lib/select/index.js +259 -262
- package/lib/select/select.d.ts +121 -161
- package/lib/select/selectTagInput.d.ts +2 -2
- package/lib/shared/helper.d.ts +4 -0
- package/lib/shared/index.js +81 -63
- package/lib/sideslider/index.d.ts +247 -233
- package/lib/sideslider/index.js +241 -247
- package/lib/slider/index.d.ts +204 -204
- package/lib/slider/index.js +208 -209
- package/lib/steps/index.d.ts +114 -150
- package/lib/steps/index.js +227 -228
- package/lib/swiper/index.d.ts +81 -127
- package/lib/swiper/index.js +18 -18
- package/lib/switcher/index.d.ts +152 -174
- package/lib/switcher/index.js +20 -22
- package/lib/tab/index.d.ts +199 -211
- package/lib/tab/index.js +23 -25
- package/lib/table/components/table-column.d.ts +2 -2
- package/lib/table/index.d.ts +605 -593
- package/lib/table/index.js +81 -95
- package/lib/table/plugins/use-pagination.d.ts +1 -1
- package/lib/table/table.d.ts +1 -1
- package/lib/table/use-common.d.ts +67 -34
- package/lib/table-column/index.d.ts +207 -243
- package/lib/table-column/index.js +18 -19
- package/lib/tag/index.d.ts +95 -142
- package/lib/tag/index.js +19 -19
- package/lib/tag-input/index.d.ts +690 -498
- package/lib/tag-input/index.js +54 -62
- package/lib/tag-input/tag-input.d.ts +5 -5
- package/lib/time-picker/index.d.ts +442 -385
- package/lib/timeline/index.d.ts +50 -109
- package/lib/timeline/index.js +6 -6
- package/lib/transfer/index.d.ts +191 -206
- package/lib/tree/index.d.ts +322 -288
- package/lib/tree/index.js +36 -39
- package/lib/tree/tree.d.ts +1 -1
- package/lib/tree/use-tree-init.d.ts +1 -1
- package/lib/upload/index.d.ts +281 -254
- package/lib/upload/index.js +254 -257
- package/lib/upload/upload.d.ts +2 -2
- package/lib/virtual-render/index.d.ts +337 -242
- package/lib/virtual-render/index.js +30 -30
- package/lib/virtual-render/virtual-render.d.ts +1 -1
- package/package.json +7 -13
@@ -74,38 +74,38 @@ function _toConsumableArray(arr) {
|
|
74
74
|
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
75
75
|
}
|
76
76
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
77
|
-
function _typeof(
|
77
|
+
function _typeof(o) {
|
78
78
|
"@babel/helpers - typeof";
|
79
79
|
|
80
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (
|
81
|
-
return typeof
|
82
|
-
} : function (
|
83
|
-
return
|
84
|
-
}, _typeof(
|
80
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
81
|
+
return typeof o;
|
82
|
+
} : function (o) {
|
83
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
84
|
+
}, _typeof(o);
|
85
85
|
}
|
86
86
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
87
87
|
|
88
|
-
function
|
89
|
-
if (
|
90
|
-
var
|
91
|
-
if (
|
92
|
-
var
|
93
|
-
if (
|
88
|
+
function toPrimitive(t, r) {
|
89
|
+
if ("object" != _typeof(t) || !t) return t;
|
90
|
+
var e = t[Symbol.toPrimitive];
|
91
|
+
if (void 0 !== e) {
|
92
|
+
var i = e.call(t, r || "default");
|
93
|
+
if ("object" != _typeof(i)) return i;
|
94
94
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
95
95
|
}
|
96
|
-
return (
|
96
|
+
return ("string" === r ? String : Number)(t);
|
97
97
|
}
|
98
98
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
99
99
|
|
100
100
|
|
101
|
-
function
|
102
|
-
var
|
103
|
-
return _typeof(
|
101
|
+
function toPropertyKey(t) {
|
102
|
+
var i = toPrimitive(t, "string");
|
103
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
104
104
|
}
|
105
105
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
106
106
|
|
107
107
|
function _defineProperty(obj, key, value) {
|
108
|
-
key =
|
108
|
+
key = toPropertyKey(key);
|
109
109
|
if (key in obj) {
|
110
110
|
Object.defineProperty(obj, key, {
|
111
111
|
value: value,
|
@@ -128,8 +128,8 @@ var config_provider_y = x => () => x
|
|
128
128
|
const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix });
|
129
129
|
;// CONCATENATED MODULE: ../../packages/virtual-render/src/props.ts
|
130
130
|
|
131
|
-
function ownKeys(
|
132
|
-
function _objectSpread(
|
131
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
132
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
133
133
|
/*
|
134
134
|
* Tencent is pleased to support the open source community by making
|
135
135
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -306,7 +306,7 @@ function _defineProperties(target, props) {
|
|
306
306
|
descriptor.enumerable = descriptor.enumerable || false;
|
307
307
|
descriptor.configurable = true;
|
308
308
|
if ("value" in descriptor) descriptor.writable = true;
|
309
|
-
Object.defineProperty(target,
|
309
|
+
Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor);
|
310
310
|
}
|
311
311
|
}
|
312
312
|
function _createClass(Constructor, protoProps, staticProps) {
|
@@ -462,13 +462,13 @@ var VisibleRender = /*#__PURE__*/function () {
|
|
462
462
|
key: "install",
|
463
463
|
value: function install() {
|
464
464
|
var _this$wrapper;
|
465
|
-
(_this$wrapper = this.wrapper) === null || _this$wrapper === void 0
|
465
|
+
(_this$wrapper = this.wrapper) === null || _this$wrapper === void 0 || _this$wrapper.addEventListener('scroll', this.executeThrottledRender.bind(this));
|
466
466
|
}
|
467
467
|
}, {
|
468
468
|
key: "uninstall",
|
469
469
|
value: function uninstall() {
|
470
470
|
var _this$wrapper2, _this$wrapper2$remove;
|
471
|
-
(_this$wrapper2 = this.wrapper) === null || _this$wrapper2 === void 0 || (_this$wrapper2$remove = _this$wrapper2.removeListener) === null || _this$wrapper2$remove === void 0
|
471
|
+
(_this$wrapper2 = this.wrapper) === null || _this$wrapper2 === void 0 || (_this$wrapper2$remove = _this$wrapper2.removeListener) === null || _this$wrapper2$remove === void 0 || _this$wrapper2$remove.call(_this$wrapper2, 'scroll', this.executeThrottledRender.bind(this));
|
472
472
|
}
|
473
473
|
}, {
|
474
474
|
key: "setBinding",
|
@@ -487,7 +487,7 @@ var instance = null;
|
|
487
487
|
},
|
488
488
|
updated: function updated(_el, binding) {
|
489
489
|
var _instance;
|
490
|
-
(_instance = instance) === null || _instance === void 0
|
490
|
+
(_instance = instance) === null || _instance === void 0 || _instance.setBinding(binding);
|
491
491
|
},
|
492
492
|
unbind: function unbind(el) {
|
493
493
|
if (el) {
|
@@ -501,8 +501,8 @@ var instance = null;
|
|
501
501
|
});
|
502
502
|
;// CONCATENATED MODULE: ../../packages/virtual-render/src/use-tag-render.tsx
|
503
503
|
|
504
|
-
function use_tag_render_ownKeys(
|
505
|
-
function use_tag_render_objectSpread(
|
504
|
+
function use_tag_render_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
505
|
+
function use_tag_render_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? use_tag_render_ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : use_tag_render_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
506
506
|
/*
|
507
507
|
* Tencent is pleased to support the open source community by making
|
508
508
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -577,7 +577,7 @@ function use_tag_render_objectSpread(target) { for (var i = 1; i < arguments.len
|
|
577
577
|
});
|
578
578
|
(0,external_vue_namespaceObject.onUnmounted)(function () {
|
579
579
|
var _instance;
|
580
|
-
(_instance = instance) === null || _instance === void 0
|
580
|
+
(_instance = instance) === null || _instance === void 0 || _instance.uninstall();
|
581
581
|
});
|
582
582
|
return {
|
583
583
|
rendAsTag: function rendAsTag() {
|
@@ -601,8 +601,8 @@ function use_tag_render_objectSpread(target) { for (var i = 1; i < arguments.len
|
|
601
601
|
|
602
602
|
|
603
603
|
|
604
|
-
function virtual_render_ownKeys(
|
605
|
-
function virtual_render_objectSpread(
|
604
|
+
function virtual_render_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
605
|
+
function virtual_render_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? virtual_render_ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : virtual_render_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
606
606
|
/*
|
607
607
|
* Tencent is pleased to support the open source community by making
|
608
608
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -721,7 +721,7 @@ function virtual_render_objectSpread(target) { for (var i = 1; i < arguments.len
|
|
721
721
|
});
|
722
722
|
(0,external_vue_namespaceObject.onUnmounted)(function () {
|
723
723
|
var _instance;
|
724
|
-
(_instance = instance) === null || _instance === void 0
|
724
|
+
(_instance = instance) === null || _instance === void 0 || _instance.uninstall();
|
725
725
|
});
|
726
726
|
var handleChangeListConfig = function handleChangeListConfig() {
|
727
727
|
/** 数据改变时激活当前表单,使其渲染DOM */
|
@@ -829,7 +829,7 @@ function virtual_render_objectSpread(target) { for (var i = 1; i < arguments.len
|
|
829
829
|
return [props.lineHeight, props.height, props.list, props.maxHeight];
|
830
830
|
}, function () {
|
831
831
|
var _instance2;
|
832
|
-
(_instance2 = instance) === null || _instance2 === void 0
|
832
|
+
(_instance2 = instance) === null || _instance2 === void 0 || _instance2.setBinding(binding);
|
833
833
|
handleChangeListConfig();
|
834
834
|
(0,external_vue_namespaceObject.nextTick)(function () {
|
835
835
|
afterListDataReset();
|
@@ -280,12 +280,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
280
280
|
maxHeight: number;
|
281
281
|
enabled: boolean;
|
282
282
|
list: unknown[];
|
283
|
-
lineHeight: any;
|
284
283
|
minHeight: number;
|
285
284
|
wrapperStyle: any;
|
286
285
|
className: string | {
|
287
286
|
[key: string]: any;
|
288
287
|
};
|
288
|
+
lineHeight: any;
|
289
289
|
scrollEvent: boolean;
|
290
290
|
contentClassName: string | {
|
291
291
|
[key: string]: any;
|
package/package.json
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
{
|
2
2
|
"name": "bkui-vue",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.2",
|
4
4
|
"workspaces": {
|
5
5
|
"packages": [
|
6
6
|
"packages/!(**.bak)*",
|
7
|
-
"scripts
|
7
|
+
"scripts/cli",
|
8
|
+
"site"
|
8
9
|
]
|
9
10
|
},
|
10
11
|
"files": [
|
@@ -28,9 +29,10 @@
|
|
28
29
|
"prepublishOnly": "npm run build && node scripts/pre-publish.js",
|
29
30
|
"postpublish": "node scripts/post-publish.js",
|
30
31
|
"prepare": "husky install",
|
31
|
-
"dev": "
|
32
|
+
"dev": "lerna run --stream --scope site dev",
|
33
|
+
"debug": "TS_NODE_PROJECT=./scripts/cli/tsconfig.declaration.json node --inspect-brk -r ts-node/register ./scripts/cli/index.ts lib",
|
32
34
|
"build": "run-s build:dist build:lib",
|
33
|
-
"build:site": "
|
35
|
+
"build:site": "lerna run --stream --scope site build && cp -r ./site/views/ ./site/dist/views",
|
34
36
|
"build:dist": "rimraf dist && lerna run --stream --scope cli dist",
|
35
37
|
"build:lib": "rimraf lib && lerna run --stream --scope cli lib",
|
36
38
|
"help:release": "lerna run --stream --scope cli release",
|
@@ -57,7 +59,6 @@
|
|
57
59
|
"@babel/plugin-transform-runtime": "~7.22.9",
|
58
60
|
"@babel/preset-env": "~7.22.9",
|
59
61
|
"@babel/preset-typescript": "~7.22.5",
|
60
|
-
"@blueking/magicbox-header": "~1.1.61",
|
61
62
|
"@commitlint/cli": "~16.2.3",
|
62
63
|
"@commitlint/config-conventional": "~16.2.1",
|
63
64
|
"@types/jest": "~29.5.3",
|
@@ -66,8 +67,6 @@
|
|
66
67
|
"@types/postcss-less": "~4.0.2",
|
67
68
|
"@typescript-eslint/eslint-plugin": "^5.20.0",
|
68
69
|
"@typescript-eslint/parser": "^5.20.0",
|
69
|
-
"@vitejs/plugin-vue": "~4.2.3",
|
70
|
-
"@vitejs/plugin-vue-jsx": "~3.0.1",
|
71
70
|
"@vue/babel-plugin-jsx": "~1.1.5",
|
72
71
|
"@vue/eslint-config-standard": "~6.1.0",
|
73
72
|
"@vue/eslint-config-typescript": "~10.0.0",
|
@@ -97,7 +96,6 @@
|
|
97
96
|
"less": "~4.2.0",
|
98
97
|
"less-loader": "~10.2.0",
|
99
98
|
"lint-staged": "~12.3.7",
|
100
|
-
"markdown-it-container": "~3.0.0",
|
101
99
|
"normalize-wheel": "~1.0.1",
|
102
100
|
"npm-run-all": "~4.1.5",
|
103
101
|
"plop": "~3.1.2",
|
@@ -118,17 +116,13 @@
|
|
118
116
|
"ts-node": "~10.9.1",
|
119
117
|
"typescript": "~4.9.5",
|
120
118
|
"uuid": "~9.0.1",
|
121
|
-
"vite": "5.1.4",
|
122
|
-
"vite-plugin-vue-markdown": "~0.23.7",
|
123
119
|
"vue": "~3.3.4",
|
124
120
|
"vue-eslint-parser": "~9.3.1",
|
125
|
-
"vue-i18n": "~9.2.2",
|
126
|
-
"vue-router": "~4.2.4",
|
127
121
|
"vue-types": "~4.1.1"
|
128
122
|
},
|
129
123
|
"peerDependencies": {
|
130
124
|
"highlight.js": "~11.5.0",
|
131
|
-
"vue": "^3.
|
125
|
+
"vue": "^3.2.0"
|
132
126
|
},
|
133
127
|
"module": "lib/index.js",
|
134
128
|
"typings": "lib/index.d.ts",
|