bkui-vue 0.0.2-beta.98 → 0.0.2-modal-refactor.1
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 +48 -48
- package/dist/index.esm.js +12578 -12295
- package/dist/index.umd.js +34 -34
- 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/affix.css +0 -122
- package/lib/affix/affix.variable.css +5 -245
- package/lib/alert/alert.css +3 -125
- package/lib/alert/alert.variable.css +5 -245
- package/lib/backtop/backtop.css +3 -125
- package/lib/backtop/backtop.variable.css +8 -370
- package/lib/badge/badge.css +34 -150
- package/lib/badge/badge.less +8 -4
- package/lib/badge/badge.variable.css +13 -247
- package/lib/breadcrumb/breadcrumb.css +5 -127
- package/lib/breadcrumb/breadcrumb.variable.css +10 -372
- package/lib/button/button-group.d.ts +2 -2
- package/lib/button/button.css +137 -256
- package/lib/button/button.d.ts +1 -1
- package/lib/button/button.less +98 -93
- package/lib/button/button.variable.css +23 -260
- package/lib/button/index.d.ts +5 -5
- package/lib/card/card.css +11 -133
- package/lib/card/card.less +7 -7
- package/lib/card/card.variable.css +16 -378
- package/lib/cascader/cascader-panel.d.ts +1 -0
- package/lib/cascader/cascader.css +26 -148
- package/lib/cascader/cascader.d.ts +1 -0
- package/lib/cascader/cascader.less +4 -6
- package/lib/cascader/cascader.variable.css +31 -393
- package/lib/cascader/index.d.ts +4 -0
- package/lib/cascader/index.js +31 -14
- package/lib/checkbox/checkbox.css +22 -132
- package/lib/checkbox/checkbox.d.ts +9 -8
- package/lib/checkbox/checkbox.less +15 -1
- package/lib/checkbox/checkbox.variable.css +18 -246
- package/lib/checkbox/common.d.ts +1 -0
- package/lib/checkbox/index.d.ts +15 -12
- package/lib/checkbox/index.js +33 -9
- package/lib/code-diff/code-diff.css +0 -122
- package/lib/code-diff/code-diff.variable.css +5 -245
- package/lib/collapse/collapse.css +1 -123
- package/lib/collapse/collapse.variable.css +5 -245
- package/lib/collapse-transition/collapse-transition.css +0 -122
- package/lib/collapse-transition/collapse-transition.variable.css +5 -245
- package/lib/color-picker/color-picker.css +0 -122
- package/lib/color-picker/color-picker.variable.css +5 -245
- package/lib/config-provider/config-provider.css +0 -122
- package/lib/config-provider/config-provider.d.ts +18 -0
- package/lib/config-provider/config-provider.variable.css +5 -245
- package/lib/config-provider/index.d.ts +24 -0
- package/lib/config-provider/token.d.ts +6 -0
- package/lib/container/container.css +0 -122
- package/lib/container/container.variable.css +5 -367
- package/lib/date-picker/common.d.ts +2 -0
- package/lib/date-picker/date-picker.css +17 -139
- package/lib/date-picker/date-picker.d.ts +2 -0
- package/lib/date-picker/date-picker.variable.css +5 -245
- package/lib/date-picker/index.d.ts +6 -0
- package/lib/date-picker/index.js +184 -110
- package/lib/date-picker/panel/date.d.ts +2 -2
- package/lib/date-picker/panel/time-range.d.ts +17 -0
- package/lib/date-picker/panel/time.d.ts +17 -1
- package/lib/date-picker/time-picker.d.ts +2 -0
- package/lib/dialog/dialog.css +66 -162
- package/lib/dialog/dialog.d.ts +16 -7
- package/lib/dialog/dialog.less +9 -8
- package/lib/dialog/dialog.variable.css +71 -407
- package/lib/dialog/index.d.ts +28 -12
- package/lib/dialog/index.js +4 -7
- package/lib/dialog/props.d.ts +7 -3
- package/lib/directives/index.js +15 -4
- package/lib/divider/divider.css +3 -125
- package/lib/divider/divider.variable.css +5 -245
- package/lib/dropdown/dropdown.css +1 -123
- package/lib/dropdown/dropdown.variable.css +6 -368
- package/lib/dropdown/index.js +2 -2
- package/lib/exception/exception.css +0 -122
- package/lib/exception/exception.variable.css +5 -245
- package/lib/fixed-navbar/fixed-navbar.css +4 -126
- package/lib/fixed-navbar/fixed-navbar.variable.css +5 -245
- package/lib/form/form.css +2 -123
- package/lib/form/form.less +3 -2
- package/lib/form/form.variable.css +7 -246
- package/lib/icon/index.d.ts +1 -0
- package/lib/icon/index.js +58 -25
- package/lib/icon/loading.d.ts +4 -0
- package/lib/icon/loading.js +276 -0
- package/lib/image/image-viewer.css +0 -122
- package/lib/image/image-viewer.variable.css +5 -245
- package/lib/image/image.css +0 -122
- package/lib/image/image.variable.css +5 -367
- package/lib/info-box/index.js +4 -7
- package/lib/info-box/info-box.css +0 -122
- package/lib/info-box/info-box.d.ts +4 -0
- package/lib/info-box/info-box.variable.css +5 -245
- package/lib/input/index.d.ts +4 -4
- package/lib/input/index.js +12 -5
- package/lib/input/input.css +84 -190
- package/lib/input/input.d.ts +3 -3
- package/lib/input/input.less +19 -0
- package/lib/input/input.variable.css +89 -435
- package/lib/link/link.css +16 -138
- package/lib/link/link.variable.css +5 -245
- package/lib/loading/index.d.ts +3 -3
- package/lib/loading/loading.css +25 -147
- package/lib/loading/loading.d.ts +1 -1
- package/lib/loading/loading.less +14 -9
- package/lib/loading/loading.variable.css +30 -392
- package/lib/locale/index.js +14 -2
- package/lib/locale/lang/en.d.ts +6 -0
- package/lib/menu/menu.css +18 -140
- package/lib/menu/menu.variable.css +23 -385
- package/lib/menu/submenu.css +0 -122
- package/lib/menu/submenu.variable.css +5 -245
- package/lib/message/message.css +21 -143
- package/lib/message/message.variable.css +5 -245
- package/lib/modal/index.d.ts +97 -54
- package/lib/modal/index.js +131 -103
- package/lib/modal/modal.css +25 -122
- package/lib/modal/modal.d.ts +36 -18
- package/lib/modal/modal.less +33 -0
- package/lib/modal/modal.variable.css +30 -367
- package/lib/modal/props.mixin.d.ts +7 -3
- package/lib/navigation/navigation.css +2 -124
- package/lib/navigation/navigation.variable.css +5 -245
- package/lib/notify/notify.css +13 -135
- package/lib/notify/notify.less +6 -6
- package/lib/notify/notify.variable.css +11 -251
- package/lib/overflow-title/components/overflow-title.d.ts +0 -1
- package/lib/overflow-title/index.js +2 -178
- package/lib/pagination/index.d.ts +4 -4
- package/lib/pagination/pagination.css +2 -123
- package/lib/pagination/pagination.d.ts +3 -3
- package/lib/pagination/pagination.less +1 -0
- package/lib/pagination/pagination.variable.css +6 -245
- package/lib/plugin-popover/index.js +31 -103
- package/lib/pop-confirm/index.d.ts +42 -3
- package/lib/pop-confirm/index.js +55 -47
- package/lib/pop-confirm/pop-confirm.css +4 -126
- package/lib/pop-confirm/pop-confirm.d.ts +14 -1
- package/lib/pop-confirm/pop-confirm.less +4 -4
- package/lib/pop-confirm/pop-confirm.variable.css +9 -249
- package/lib/popover/index.js +31 -103
- package/lib/popover/popover.css +1 -123
- package/lib/popover/popover.less +1 -1
- package/lib/popover/popover.variable.css +6 -246
- package/lib/preset.d.ts +12 -0
- package/lib/process/process.css +13 -135
- package/lib/process/process.variable.css +5 -245
- package/lib/progress/index.d.ts +4 -4
- package/lib/progress/progress.css +11 -129
- package/lib/progress/progress.d.ts +3 -3
- package/lib/progress/progress.less +8 -3
- package/lib/progress/progress.variable.css +16 -374
- package/lib/radio/common.d.ts +1 -0
- package/lib/radio/index.d.ts +8 -2
- package/lib/radio/index.js +11 -3
- package/lib/radio/radio-button.d.ts +4 -3
- package/lib/radio/radio-group.d.ts +3 -0
- package/lib/radio/radio.css +49 -157
- package/lib/radio/radio.d.ts +1 -0
- package/lib/radio/radio.less +42 -8
- package/lib/radio/radio.variable.css +25 -251
- package/lib/rate/index.d.ts +4 -4
- package/lib/rate/index.js +22 -6
- package/lib/rate/rate.css +0 -122
- package/lib/rate/rate.d.ts +2 -2
- package/lib/rate/rate.variable.css +5 -245
- package/lib/rate/star.css +3 -122
- package/lib/rate/star.less +3 -0
- package/lib/rate/star.variable.css +8 -245
- package/lib/resize-layout/index.d.ts +3 -3
- package/lib/resize-layout/resize-layout.css +2 -124
- package/lib/resize-layout/resize-layout.d.ts +1 -1
- package/lib/resize-layout/resize-layout.less +2 -2
- package/lib/resize-layout/resize-layout.variable.css +7 -247
- package/lib/search-select/index.js +6 -6
- package/lib/search-select/search-select.css +34 -156
- package/lib/search-select/search-select.less +9 -9
- package/lib/search-select/search-select.variable.css +39 -401
- package/lib/select/common.d.ts +3 -1
- package/lib/select/index.d.ts +92 -21
- package/lib/select/index.js +193 -63
- package/lib/select/option.d.ts +1 -0
- package/lib/select/select.css +27 -146
- package/lib/select/select.d.ts +38 -9
- package/lib/select/select.less +3 -0
- package/lib/select/select.variable.css +32 -391
- package/lib/select/selectTagInput.d.ts +2 -0
- package/lib/select/type.d.ts +3 -0
- package/lib/shared/index.d.ts +1 -0
- package/lib/shared/index.js +50 -5
- package/lib/shared/mask.d.ts +11 -0
- package/lib/shared/vue-types.d.ts +1 -1
- package/lib/sideslider/index.d.ts +28 -12
- package/lib/sideslider/index.js +0 -11
- package/lib/sideslider/sideslider.css +12 -134
- package/lib/sideslider/sideslider.d.ts +16 -7
- package/lib/sideslider/sideslider.less +80 -77
- package/lib/sideslider/sideslider.variable.css +16 -256
- package/lib/slider/index.js +7 -1
- package/lib/slider/slider.css +6 -126
- package/lib/slider/slider.less +2 -0
- package/lib/slider/slider.variable.css +7 -245
- package/lib/steps/index.d.ts +4 -4
- package/lib/steps/index.js +1 -1
- package/lib/steps/steps.css +53 -163
- package/lib/steps/steps.d.ts +3 -3
- package/lib/steps/steps.less +26 -5
- package/lib/steps/steps.variable.css +23 -251
- package/lib/styles/index.d.ts +1 -0
- package/lib/styles/mixins/animate.css +0 -122
- package/lib/styles/mixins/animate.variable.css +5 -245
- package/lib/styles/mixins/mixins.css +0 -122
- package/lib/styles/mixins/mixins.variable.css +0 -122
- package/lib/styles/mixins/popper.css +0 -122
- package/lib/styles/mixins/popper.variable.css +5 -245
- package/lib/styles/mixins/scroll.css +0 -122
- package/lib/styles/mixins/scroll.variable.css +5 -245
- package/lib/styles/reset.css +0 -122
- package/lib/styles/reset.variable.css +5 -245
- package/lib/styles/themes/themes.less +124 -289
- package/lib/swiper/swiper.css +0 -122
- package/lib/swiper/swiper.variable.css +5 -245
- package/lib/switcher/index.d.ts +4 -4
- package/lib/switcher/switcher.css +17 -139
- package/lib/switcher/switcher.d.ts +3 -3
- package/lib/switcher/switcher.variable.css +22 -384
- package/lib/tab/tab.css +17 -139
- package/lib/tab/tab.variable.css +5 -245
- package/lib/table/components/table-column.d.ts +5 -4
- package/lib/table/index.d.ts +8 -7
- package/lib/table/index.js +877 -630
- package/lib/table/plugins/body-empty.d.ts +1 -1
- package/lib/table/plugins/head-filter.css +1 -150
- package/lib/table/plugins/head-filter.less +2 -34
- package/lib/table/plugins/head-filter.variable.css +6 -273
- package/lib/table/plugins/head-sort.css +0 -122
- package/lib/table/plugins/head-sort.variable.css +5 -245
- package/lib/table/plugins/settings.css +0 -122
- package/lib/table/plugins/settings.d.ts +0 -7
- package/lib/table/plugins/settings.variable.css +5 -245
- package/lib/table/plugins/use-head-cell.d.ts +7 -0
- package/lib/table/plugins/use-pagination.d.ts +2 -1
- package/lib/table/props.d.ts +3 -1
- package/lib/table/table.css +207 -337
- package/lib/table/table.d.ts +1 -1
- package/lib/table/table.less +27 -21
- package/lib/table/table.variable.css +212 -582
- package/lib/table/use-attributes.d.ts +5 -1
- package/lib/table/use-column.d.ts +3 -0
- package/lib/table/use-common.d.ts +0 -1
- package/lib/table/utils.d.ts +6 -4
- package/lib/table-column/index.d.ts +13 -10
- package/lib/tag/tag.css +5 -127
- package/lib/tag/tag.variable.css +5 -245
- package/lib/tag-input/index.js +17 -13
- package/lib/tag-input/list-tag-render.d.ts +11 -0
- package/lib/tag-input/tag-input.css +18 -140
- package/lib/tag-input/tag-input.d.ts +14 -2
- package/lib/tag-input/tag-input.variable.css +5 -245
- package/lib/time-picker/index.d.ts +6 -0
- package/lib/time-picker/time-picker.css +4 -125
- package/lib/time-picker/time-picker.less +5 -9
- package/lib/time-picker/time-picker.variable.css +9 -248
- package/lib/timeline/timeline.css +19 -141
- package/lib/timeline/timeline.variable.css +5 -245
- package/lib/transfer/transfer.css +21 -143
- package/lib/transfer/transfer.less +2 -2
- package/lib/transfer/transfer.variable.css +7 -247
- package/lib/tree/index.d.ts +3 -3
- package/lib/tree/index.js +54 -8
- package/lib/tree/tree.css +22 -132
- package/lib/tree/tree.d.ts +5 -1
- package/lib/tree/tree.variable.css +27 -377
- package/lib/tree/use-empty.d.ts +1 -3
- package/lib/upload/index.js +2 -2
- package/lib/upload/upload.css +27 -149
- package/lib/upload/upload.variable.css +32 -394
- package/lib/virtual-render/index.js +71 -30
- package/lib/virtual-render/use-fix-top.d.ts +18 -0
- package/lib/virtual-render/v-virtual-render.d.ts +5 -0
- package/lib/virtual-render/virtual-render.css +0 -122
- package/lib/virtual-render/virtual-render.variable.css +5 -367
- package/package.json +4 -3
- package/lib/styles/themes/themes.css +0 -122
- package/lib/styles/themes/themes.variable.css +0 -122
- package/lib/table/render.d.ts +0 -130
- /package/lib/overflow-title/{overflow.css → overflow-title.css} +0 -0
- /package/lib/overflow-title/{overflow.less → overflow-title.less} +0 -0
- /package/lib/overflow-title/{overflow.variable.css → overflow-title.variable.css} +0 -0
@@ -245,6 +245,52 @@ var virtualRenderProps = _objectSpread({
|
|
245
245
|
autoReset: external_shared_namespaceObject.PropTypes.bool.def(true),
|
246
246
|
wrapperStyle: external_shared_namespaceObject.PropTypes.any.def({})
|
247
247
|
}, EventProps);
|
248
|
+
;// CONCATENATED MODULE: ../../packages/virtual-render/src/use-fix-top.tsx
|
249
|
+
/* harmony default export */ const use_fix_top = (function (props, refRoot) {
|
250
|
+
var scrollTo = function scrollTo() {
|
251
|
+
var option = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {
|
252
|
+
left: 0,
|
253
|
+
top: 0
|
254
|
+
};
|
255
|
+
var left = option.left,
|
256
|
+
top = option.top;
|
257
|
+
refRoot.value.scrollTo(left, top);
|
258
|
+
};
|
259
|
+
/**
|
260
|
+
* 指定元素滚动到顶部
|
261
|
+
* @param param0
|
262
|
+
*/
|
263
|
+
var fixToTop = function fixToTop(params) {
|
264
|
+
var id = params.id,
|
265
|
+
index = params.index,
|
266
|
+
item = params.item;
|
267
|
+
var targetIndex = typeof index === 'number' ? index - 1 : 0;
|
268
|
+
if (id !== undefined) {
|
269
|
+
var _props$list$findIndex;
|
270
|
+
targetIndex = (_props$list$findIndex = props.list.findIndex(function (row) {
|
271
|
+
return row[props.rowKey] === id;
|
272
|
+
})) !== null && _props$list$findIndex !== void 0 ? _props$list$findIndex : targetIndex;
|
273
|
+
}
|
274
|
+
if (item !== undefined) {
|
275
|
+
var _props$list$findIndex2;
|
276
|
+
targetIndex = (_props$list$findIndex2 = props.list.findIndex(function (row) {
|
277
|
+
return item[props.rowKey] === row[props.rowKey];
|
278
|
+
})) !== null && _props$list$findIndex2 !== void 0 ? _props$list$findIndex2 : targetIndex;
|
279
|
+
}
|
280
|
+
if (typeof targetIndex === 'number') {
|
281
|
+
var resolvedIndex = targetIndex >= 0 ? targetIndex : 0;
|
282
|
+
var offsetY = resolvedIndex * props.lineHeight;
|
283
|
+
scrollTo({
|
284
|
+
left: 0,
|
285
|
+
top: offsetY
|
286
|
+
});
|
287
|
+
}
|
288
|
+
};
|
289
|
+
return {
|
290
|
+
fixToTop: fixToTop,
|
291
|
+
scrollTo: scrollTo
|
292
|
+
};
|
293
|
+
});
|
248
294
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/classCallCheck.js
|
249
295
|
function _classCallCheck(instance, Constructor) {
|
250
296
|
if (!(instance instanceof Constructor)) {
|
@@ -483,6 +529,7 @@ function use_tag_render_objectSpread(target) { for (var i = 1; i < arguments.len
|
|
483
529
|
*/
|
484
530
|
|
485
531
|
|
532
|
+
|
486
533
|
/* harmony default export */ const use_tag_render = (function (props, ctx) {
|
487
534
|
var renderAs = props.renderAs,
|
488
535
|
contentAs = props.contentAs;
|
@@ -505,13 +552,6 @@ function use_tag_render_objectSpread(target) { for (var i = 1; i < arguments.len
|
|
505
552
|
};
|
506
553
|
});
|
507
554
|
var refRoot = (0,external_vue_namespaceObject.ref)(null);
|
508
|
-
var scrollTo = function scrollTo(_ref) {
|
509
|
-
var _ref$left = _ref.left,
|
510
|
-
left = _ref$left === void 0 ? 0 : _ref$left,
|
511
|
-
_ref$top = _ref.top,
|
512
|
-
top = _ref$top === void 0 ? 0 : _ref$top;
|
513
|
-
refRoot.value.scrollTo(left, top);
|
514
|
-
};
|
515
555
|
/** 虚拟渲染外层容器样式 */
|
516
556
|
var wrapperStyle = (0,external_vue_namespaceObject.computed)(function () {
|
517
557
|
var _props$maxHeight;
|
@@ -523,8 +563,12 @@ function use_tag_render_objectSpread(target) { for (var i = 1; i < arguments.len
|
|
523
563
|
maxHeight: (_props$maxHeight = props.maxHeight) !== null && _props$maxHeight !== void 0 ? _props$maxHeight : height
|
524
564
|
}, props.wrapperStyle);
|
525
565
|
});
|
566
|
+
var _useFixTop = use_fix_top(props, refRoot),
|
567
|
+
scrollTo = _useFixTop.scrollTo,
|
568
|
+
fixToTop = _useFixTop.fixToTop;
|
526
569
|
ctx.expose({
|
527
|
-
scrollTo: scrollTo
|
570
|
+
scrollTo: scrollTo,
|
571
|
+
fixToTop: fixToTop
|
528
572
|
});
|
529
573
|
(0,external_vue_namespaceObject.onMounted)(function () {
|
530
574
|
instance = new VisibleRender(binding, refRoot.value);
|
@@ -593,6 +637,7 @@ function virtual_render_objectSpread(target) { for (var i = 1; i < arguments.len
|
|
593
637
|
|
594
638
|
|
595
639
|
|
640
|
+
|
596
641
|
/* harmony default export */ const virtual_render = ((0,external_vue_namespaceObject.defineComponent)({
|
597
642
|
name: 'VirtualRender',
|
598
643
|
directives: {
|
@@ -677,18 +722,6 @@ function virtual_render_objectSpread(target) { for (var i = 1; i < arguments.len
|
|
677
722
|
var _instance;
|
678
723
|
(_instance = instance) === null || _instance === void 0 ? void 0 : _instance.uninstall();
|
679
724
|
});
|
680
|
-
(0,external_vue_namespaceObject.watch)(function () {
|
681
|
-
return [props.lineHeight, props.height, props.list, props.maxHeight];
|
682
|
-
}, function () {
|
683
|
-
var _instance2;
|
684
|
-
(_instance2 = instance) === null || _instance2 === void 0 ? void 0 : _instance2.setBinding(binding);
|
685
|
-
handleChangeListConfig();
|
686
|
-
(0,external_vue_namespaceObject.nextTick)(function () {
|
687
|
-
afterListDataReset();
|
688
|
-
});
|
689
|
-
}, {
|
690
|
-
deep: true
|
691
|
-
});
|
692
725
|
var handleChangeListConfig = function handleChangeListConfig() {
|
693
726
|
/** 数据改变时激活当前表单,使其渲染DOM */
|
694
727
|
handleListChanged(props.list);
|
@@ -788,18 +821,26 @@ function virtual_render_objectSpread(target) { for (var i = 1; i < arguments.len
|
|
788
821
|
handleChangeListConfig();
|
789
822
|
afterListDataReset();
|
790
823
|
};
|
791
|
-
var
|
792
|
-
|
793
|
-
|
794
|
-
|
795
|
-
|
796
|
-
|
797
|
-
|
798
|
-
|
799
|
-
|
824
|
+
var _useFixTop = use_fix_top(props, refRoot),
|
825
|
+
scrollTo = _useFixTop.scrollTo,
|
826
|
+
fixToTop = _useFixTop.fixToTop;
|
827
|
+
(0,external_vue_namespaceObject.watch)(function () {
|
828
|
+
return [props.lineHeight, props.height, props.list, props.maxHeight];
|
829
|
+
}, function () {
|
830
|
+
var _instance2;
|
831
|
+
(_instance2 = instance) === null || _instance2 === void 0 ? void 0 : _instance2.setBinding(binding);
|
832
|
+
handleChangeListConfig();
|
833
|
+
(0,external_vue_namespaceObject.nextTick)(function () {
|
834
|
+
afterListDataReset();
|
835
|
+
});
|
836
|
+
}, {
|
837
|
+
deep: true,
|
838
|
+
immediate: true
|
839
|
+
});
|
800
840
|
ctx.expose({
|
801
841
|
reset: reset,
|
802
|
-
scrollTo: scrollTo
|
842
|
+
scrollTo: scrollTo,
|
843
|
+
fixToTop: fixToTop
|
803
844
|
});
|
804
845
|
return function () {
|
805
846
|
var _ctx$slots$beforeCont, _ctx$slots$beforeCont2, _ctx$slots, _ctx$slots$default, _ctx$slots$default2, _ctx$slots2, _ctx$slots$afterConte, _ctx$slots$afterConte2, _ctx$slots3, _ctx$slots$afterSecti, _ctx$slots$afterSecti2, _ctx$slots4;
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { Ref } from 'vue';
|
2
|
+
import { VirtualRenderProps } from './props';
|
3
|
+
type IFixToTopParams = {
|
4
|
+
index?: number;
|
5
|
+
id?: string;
|
6
|
+
item?: {
|
7
|
+
[key: string]: any;
|
8
|
+
};
|
9
|
+
position: number[];
|
10
|
+
};
|
11
|
+
declare const _default: (props: VirtualRenderProps, refRoot: Ref<HTMLElement>) => {
|
12
|
+
fixToTop: (params: IFixToTopParams) => void;
|
13
|
+
scrollTo: (option?: {
|
14
|
+
left: number;
|
15
|
+
top: number;
|
16
|
+
}) => void;
|
17
|
+
};
|
18
|
+
export default _default;
|
@@ -1,3 +1,8 @@
|
|
1
|
+
export declare function getMatchedIndex(maxCount: number, maxHeight: number, groupItemCount: number, callback: (index: number, items: any[]) => 0): {
|
2
|
+
startIndex: number;
|
3
|
+
height: number;
|
4
|
+
diffHeight: number;
|
5
|
+
};
|
1
6
|
export declare function computedVirtualIndex(lineHeight: any, callback: any, pagination: any, _el: any, event: any): {
|
2
7
|
targetStartIndex: number;
|
3
8
|
targetEndIndex: number;
|
@@ -1,125 +1,3 @@
|
|
1
|
-
:root {
|
2
|
-
--bk-prefix: bk;
|
3
|
-
--popover-max-height: 216px;
|
4
|
-
--primary-color: #3a84ff;
|
5
|
-
--success-color: #2dcb56;
|
6
|
-
--warning-color: #ff9c01;
|
7
|
-
--danger-color: #ea3636;
|
8
|
-
--default-color: #63656e;
|
9
|
-
--gray-color: #979ba5;
|
10
|
-
--light-gray: #c4c6cc;
|
11
|
-
--white-color: white;
|
12
|
-
--whitesmoke-color: #fafbfd;
|
13
|
-
--disable-color: #dcdee5;
|
14
|
-
--font-size-base: 12px;
|
15
|
-
--font-size-medium: 14px;
|
16
|
-
--font-size-large: 16px;
|
17
|
-
--line-height-base: 16px;
|
18
|
-
--line-height-medium: 16px;
|
19
|
-
--line-height-large: 18px;
|
20
|
-
--component-size-small: 26px;
|
21
|
-
--component-size-base: 32px;
|
22
|
-
--component-size-large: 40px;
|
23
|
-
--border-width-base: 1px;
|
24
|
-
--border-style-base: solid;
|
25
|
-
--border-radius-base: 2px;
|
26
|
-
--border-style-color: var(--light-gray);
|
27
|
-
--input-disabled-bg: #fafbfd;
|
28
|
-
--input-disabled-border: var(--disable-color);
|
29
|
-
--input-height-base: var(--component-size-base);
|
30
|
-
--input-color: var(--default-color);
|
31
|
-
--input-bg: white;
|
32
|
-
--input-border-color: var(--light-gray);
|
33
|
-
--input-broder-radius: 3px;
|
34
|
-
--input-shadow-color: #a3c5fd;
|
35
|
-
--input-horizontal-padding: 10px;
|
36
|
-
--input-block-color: #f5f7fa;
|
37
|
-
--input-block-hover-color: #eaebf0;
|
38
|
-
--input-icon-size: var(--font-size-medium);
|
39
|
-
--input-maxlength-color: #979ba5;
|
40
|
-
--button-primary-hover-color: #5594fa;
|
41
|
-
--button-danger-hover-color: #ff5656;
|
42
|
-
--button-success-hover-color: #45e35f;
|
43
|
-
--button-warning-hover-color: #ffb848;
|
44
|
-
--button-default-hover-border-color: #979ba5;
|
45
|
-
--button-primary-active-color: #2c77f4;
|
46
|
-
--button-danger-active-color: #db2626;
|
47
|
-
--button-success-active-color: #1ab943;
|
48
|
-
--button-warning-active-color: #eb9000;
|
49
|
-
--button-selected-bg-color: #e1ecff;
|
50
|
-
--button-disabled-selected-bg-color: #f0f1f5;
|
51
|
-
--radio-font-color: #63656e;
|
52
|
-
--radio-active-color: #3a84ff;
|
53
|
-
--radio-hover-border-color: #979ba5;
|
54
|
-
--radio-disabled-border: #dcdee5;
|
55
|
-
--radio-disabled-font-color: #c4c6cc;
|
56
|
-
--radio-disabled-checked-bg: #a3c5fd;
|
57
|
-
--radio-button-checked-bg: #e1ecff;
|
58
|
-
--radio-button-disabled-checked-bg: #fafbfd;
|
59
|
-
--checkbox-disabled-checked-bg: #a3c5fd;
|
60
|
-
--fixed-navbar-background: #fff;
|
61
|
-
--fixed-navbar-boxshadow-color: rgba(0, 0, 0, 0.1);
|
62
|
-
--switch-default-color: #fff;
|
63
|
-
--switch-grey-color: #c4c6cc;
|
64
|
-
--breadcrumb-black-color: #979ba5;
|
65
|
-
--breadcrumb-primary-hover-color: #0082ff;
|
66
|
-
--breadcrumb-fn-main-color: #63656e;
|
67
|
-
--link-default-hover-color: #979ba5;
|
68
|
-
--link-primary-hover-color: #699df4;
|
69
|
-
--link-success-hover-color: #45e35f;
|
70
|
-
--link-warning-hover-color: #ffb848;
|
71
|
-
--link-danger-hover-color: #ff5656;
|
72
|
-
--link-default-disabled-color: #dcdee5;
|
73
|
-
--link-primary-disabled-color: #a3c5fd;
|
74
|
-
--link-success-disabled-color: #94f5a4;
|
75
|
-
--link-warning-disabled-color: #ffd695;
|
76
|
-
--link-danger-disabled-color: #fd9c9c;
|
77
|
-
--message-color: var(--default-color);
|
78
|
-
--message-primary-bg-color: #f0f8ff;
|
79
|
-
--message-primary-border-color: #e1ecff;
|
80
|
-
--message-primary-shadow-color: #e1e8f4;
|
81
|
-
--message-warning-bg-color: #fff4e2;
|
82
|
-
--message-warning-border-color: #ffe8c3;
|
83
|
-
--message-warning-shadow-color: #ede6db;
|
84
|
-
--message-success-bg-color: #f2fff4;
|
85
|
-
--message-success-border-color: #dcffe2;
|
86
|
-
--message-success-shadow-color: #cef0d7;
|
87
|
-
--message-danger-bg-color: #ffeded;
|
88
|
-
--message-danger-border-color: #ffdddd;
|
89
|
-
--message-danger-shadow-color: #f6dada;
|
90
|
-
--slider-default-bg: #dcdee5;
|
91
|
-
--slider-disable-bar-bg: #979ba5;
|
92
|
-
--menu-bg-color: #182132;
|
93
|
-
--submenu-bg-color: #151d2c;
|
94
|
-
--menu-active-bg-color: linear-gradient(90deg, #3f87ff 0%, #3a84ff 100%);
|
95
|
-
--menu-color: #96a2b9;
|
96
|
-
--menu-group-color: var(--default-color);
|
97
|
-
--menu-width: 260px;
|
98
|
-
--menu-collapse-width: 60px;
|
99
|
-
--menu-active-color: white;
|
100
|
-
--nav-header-bg-color: #182132;
|
101
|
-
--nav-bg-color: #182132;
|
102
|
-
--date-picker-disabled-bg: #fafbfd;
|
103
|
-
--date-picker-dropdown-mb: 4px;
|
104
|
-
--date-picker-dropdown-bg: #fff;
|
105
|
-
--table-bg-color: var(--white-color);
|
106
|
-
--table-border-color: #dcdee5;
|
107
|
-
--table-head-bg-color: #fafbfd;
|
108
|
-
--table-head-font-color: #313238;
|
109
|
-
--table-body-font-color: #63656E;
|
110
|
-
--table-row-hover-bg-color: #f5f7fa;
|
111
|
-
--table-row-active-bg-color: #f0f1f5;
|
112
|
-
--cascader-panel-border-color: #dcdee5;
|
113
|
-
--cascader-panel-hover: #f5f7fa;
|
114
|
-
--cascader-panel-active: #e1ecff;
|
115
|
-
--cascader-panel-disabled-bg: #fff;
|
116
|
-
--search-select-focus-border-color: var(--primary-color);
|
117
|
-
--search-select-focus-color: #3c96ff;
|
118
|
-
--search-select-font-color: var(--default-color);
|
119
|
-
--search-select-placeholder-color: var(--light-gray);
|
120
|
-
--search-select-message-color: var(--danger-color);
|
121
|
-
--search-select-menu-border-color: var(--disable-color);
|
122
|
-
}
|
123
1
|
.bk-F-scroll-x {
|
124
2
|
overflow-x: auto;
|
125
3
|
scrollbar-color: #a0a0a0 transparent;
|