vxe-table 4.18.6 → 4.18.8
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/LICENSE +20 -20
- package/README.en.md +118 -118
- package/README.ja-JP.md +117 -117
- package/README.md +268 -268
- package/README.zh-TW.md +117 -117
- package/es/style.css +1 -1
- package/es/table/src/table.js +89 -79
- package/es/table/src/util.js +6 -0
- package/es/table/style.css +18 -48
- package/es/ui/index.js +1 -1
- package/es/ui/src/dom.js +21 -0
- package/es/ui/src/log.js +1 -1
- package/es/vxe-table/style.css +18 -48
- package/lib/index.common.js +2 -1
- package/lib/index.umd.js +2762 -2833
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/table/src/table.js +15 -12
- package/lib/table/src/table.min.js +1 -1
- package/lib/table/src/util.js +6 -0
- package/lib/table/src/util.min.js +1 -1
- package/lib/table/style/style.css +18 -48
- package/lib/ui/index.js +1 -1
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/dom.js +23 -0
- package/lib/ui/src/dom.min.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/lib/ui/src/log.min.js +1 -1
- package/lib/v-x-e-table/index.js +2 -1
- package/lib/v-x-e-table/index.min.js +1 -1
- package/lib/vxe-colgroup/index.js +2 -1
- package/lib/vxe-colgroup/index.min.js +1 -1
- package/lib/vxe-column/index.js +2 -1
- package/lib/vxe-column/index.min.js +1 -1
- package/lib/vxe-grid/index.js +2 -1
- package/lib/vxe-grid/index.min.js +1 -1
- package/lib/vxe-table/index.js +2 -1
- package/lib/vxe-table/index.min.js +1 -1
- package/lib/vxe-table/style/style.css +18 -48
- package/lib/vxe-toolbar/index.js +2 -1
- package/lib/vxe-toolbar/index.min.js +1 -1
- package/lib/vxe-ui/index.js +2 -1
- package/lib/vxe-ui/index.min.js +1 -1
- package/lib/vxe-v-x-e-table/index.js +2 -1
- package/lib/vxe-v-x-e-table/index.min.js +1 -1
- package/package.json +91 -91
- package/packages/colgroup/index.ts +22 -22
- package/packages/column/index.ts +22 -22
- package/packages/components.ts +43 -43
- package/packages/grid/index.ts +18 -18
- package/packages/grid/src/emits.ts +19 -19
- package/packages/grid/src/grid.ts +1768 -1768
- package/packages/grid/src/props.ts +23 -23
- package/packages/index.ts +4 -4
- package/packages/locale/lang/ar-EG.ts +832 -832
- package/packages/locale/lang/de-DE.ts +832 -832
- package/packages/locale/lang/en-US.ts +832 -832
- package/packages/locale/lang/es-ES.ts +832 -832
- package/packages/locale/lang/fr-FR.ts +832 -832
- package/packages/locale/lang/hu-HU.ts +832 -832
- package/packages/locale/lang/hy-AM.ts +832 -832
- package/packages/locale/lang/id-ID.ts +832 -832
- package/packages/locale/lang/it-IT.ts +832 -832
- package/packages/locale/lang/ja-JP.ts +832 -832
- package/packages/locale/lang/ko-KR.ts +832 -832
- package/packages/locale/lang/ms-MY.ts +832 -832
- package/packages/locale/lang/nb-NO.ts +832 -832
- package/packages/locale/lang/pt-BR.ts +832 -832
- package/packages/locale/lang/ru-RU.ts +832 -832
- package/packages/locale/lang/th-TH.ts +832 -832
- package/packages/locale/lang/ug-CN.ts +832 -832
- package/packages/locale/lang/uk-UA.ts +832 -832
- package/packages/locale/lang/uz-UZ.ts +832 -832
- package/packages/locale/lang/vi-VN.ts +832 -832
- package/packages/locale/lang/zh-CHT.ts +832 -832
- package/packages/locale/lang/zh-CN.ts +832 -832
- package/packages/locale/lang/zh-HK.ts +3 -3
- package/packages/locale/lang/zh-MO.ts +3 -3
- package/packages/locale/lang/zh-TC.ts +3 -3
- package/packages/locale/lang/zh-TW.ts +3 -3
- package/packages/table/index.ts +26 -26
- package/packages/table/module/custom/hook.ts +359 -359
- package/packages/table/module/custom/panel.ts +1331 -1331
- package/packages/table/module/edit/hook.ts +1032 -1032
- package/packages/table/module/export/export-panel.ts +567 -567
- package/packages/table/module/export/hook.ts +1654 -1654
- package/packages/table/module/export/import-panel.ts +266 -266
- package/packages/table/module/export/util.ts +24 -24
- package/packages/table/module/filter/hook.ts +468 -468
- package/packages/table/module/filter/panel.ts +301 -301
- package/packages/table/module/keyboard/hook.ts +495 -495
- package/packages/table/module/menu/hook.ts +325 -325
- package/packages/table/module/menu/panel.ts +201 -201
- package/packages/table/module/validator/hook.ts +631 -631
- package/packages/table/render/index.ts +1440 -1440
- package/packages/table/src/body.ts +932 -932
- package/packages/table/src/cell.ts +1290 -1290
- package/packages/table/src/column.ts +190 -190
- package/packages/table/src/columnInfo.ts +225 -225
- package/packages/table/src/emits.ts +123 -123
- package/packages/table/src/footer.ts +368 -368
- package/packages/table/src/group.ts +59 -59
- package/packages/table/src/header.ts +559 -559
- package/packages/table/src/props.ts +324 -324
- package/packages/table/src/store.ts +14 -14
- package/packages/table/src/table.ts +14010 -14001
- package/packages/table/src/use/cell-view.ts +44 -44
- package/packages/table/src/use/index.ts +1 -1
- package/packages/table/src/util.ts +1070 -1064
- package/packages/toolbar/index.ts +18 -18
- package/packages/toolbar/src/toolbar.ts +701 -701
- package/packages/ui/index.ts +530 -530
- package/packages/ui/src/anime.ts +52 -52
- package/packages/ui/src/comp.ts +3 -3
- package/packages/ui/src/dom.ts +259 -236
- package/packages/ui/src/log.ts +8 -8
- package/packages/ui/src/utils.ts +56 -56
- package/packages/ui/src/vn.ts +55 -55
- package/packages/v-x-e-table/index.d.ts +4 -4
- package/packages/v-x-e-table/index.ts +4 -4
- package/styles/all.scss +7 -7
- package/styles/base.scss +16 -16
- package/styles/components/grid.scss +89 -89
- package/styles/components/icon.scss +225 -225
- package/styles/components/old-icon.scss +715 -715
- package/styles/components/table-module/all.scss +6 -6
- package/styles/components/table-module/custom.scss +527 -527
- package/styles/components/table-module/export.scss +130 -130
- package/styles/components/table-module/filter.scss +130 -130
- package/styles/components/table-module/menu.scss +81 -81
- package/styles/components/table.scss +2679 -2679
- package/styles/components/toolbar.scss +119 -119
- package/styles/default.scss +2 -2
- package/styles/helpers/baseMixin.scss +95 -95
- package/styles/index.scss +4 -4
- package/styles/modules.scss +5 -5
- package/styles/theme/base.scss +93 -93
- package/styles/theme/dark.scss +49 -49
- package/styles/theme/light.scss +44 -44
- package/styles/variable.scss +43 -43
- package/types/all.d.ts +37 -37
- package/types/index.d.ts +4 -4
- /package/es/{iconfont.1773972993993.ttf → iconfont.1774240404046.ttf} +0 -0
- /package/es/{iconfont.1773972993993.woff → iconfont.1774240404046.woff} +0 -0
- /package/es/{iconfont.1773972993993.woff2 → iconfont.1774240404046.woff2} +0 -0
- /package/lib/{iconfont.1773972993993.ttf → iconfont.1774240404046.ttf} +0 -0
- /package/lib/{iconfont.1773972993993.woff → iconfont.1774240404046.woff} +0 -0
- /package/lib/{iconfont.1773972993993.woff2 → iconfont.1774240404046.woff2} +0 -0
|
@@ -2507,12 +2507,12 @@
|
|
|
2507
2507
|
}
|
|
2508
2508
|
|
|
2509
2509
|
/*header*/
|
|
2510
|
-
.vxe-table .vxe-table--header-wrapper {
|
|
2511
|
-
color: var(--vxe-ui-table-header-font-color);
|
|
2512
|
-
}
|
|
2513
2510
|
.vxe-table {
|
|
2514
2511
|
/*排序*/
|
|
2515
2512
|
}
|
|
2513
|
+
.vxe-table .vxe-table--header-wrapper {
|
|
2514
|
+
color: var(--vxe-ui-table-header-font-color);
|
|
2515
|
+
}
|
|
2516
2516
|
.vxe-table .vxe-cell--sort {
|
|
2517
2517
|
text-align: center;
|
|
2518
2518
|
position: relative;
|
|
@@ -2866,6 +2866,21 @@
|
|
|
2866
2866
|
color: var(--vxe-ui-font-color);
|
|
2867
2867
|
font-family: var(--vxe-ui-font-family);
|
|
2868
2868
|
direction: ltr;
|
|
2869
|
+
/*边框*/
|
|
2870
|
+
/*边框线*/
|
|
2871
|
+
/*树形节点*/
|
|
2872
|
+
/*行分组*/
|
|
2873
|
+
/*单元格高度*/
|
|
2874
|
+
/*溢出列*/
|
|
2875
|
+
/*展开行*/
|
|
2876
|
+
/*拖拽列*/
|
|
2877
|
+
/*拖拽行把柄*/
|
|
2878
|
+
/*暂无数据*/
|
|
2879
|
+
/*校验不通过*/
|
|
2880
|
+
/*已废弃,旧的校验样式**/
|
|
2881
|
+
/*单元格标记删除状态*/
|
|
2882
|
+
/*单元格编辑状态*/
|
|
2883
|
+
/*可编辑*/
|
|
2869
2884
|
}
|
|
2870
2885
|
.vxe-table--render-default .vxe-table--body-wrapper {
|
|
2871
2886
|
background-color: var(--vxe-ui-layout-background-color);
|
|
@@ -3034,9 +3049,6 @@
|
|
|
3034
3049
|
.vxe-table--render-default .vxe-body--row.row--hover.row--current > .vxe-body--column {
|
|
3035
3050
|
background-color: var(--vxe-ui-table-row-hover-current-background-color);
|
|
3036
3051
|
}
|
|
3037
|
-
.vxe-table--render-default {
|
|
3038
|
-
/*边框*/
|
|
3039
|
-
}
|
|
3040
3052
|
.vxe-table--render-default.border--default.sy-pos--right .vxe-table--scroll-y-top-corner, .vxe-table--render-default.border--full.sy-pos--right .vxe-table--scroll-y-top-corner, .vxe-table--render-default.border--outer.sy-pos--right .vxe-table--scroll-y-top-corner, .vxe-table--render-default.border--inner.sy-pos--right .vxe-table--scroll-y-top-corner {
|
|
3041
3053
|
background-image: linear-gradient(var(--vxe-ui-table-border-color), var(--vxe-ui-table-border-color)), linear-gradient(var(--vxe-ui-table-border-color), var(--vxe-ui-table-border-color));
|
|
3042
3054
|
background-repeat: no-repeat;
|
|
@@ -3401,9 +3413,6 @@
|
|
|
3401
3413
|
width: 0;
|
|
3402
3414
|
float: left;
|
|
3403
3415
|
}
|
|
3404
|
-
.vxe-table--render-default {
|
|
3405
|
-
/*边框线*/
|
|
3406
|
-
}
|
|
3407
3416
|
.vxe-table--render-default .vxe-table--border-line {
|
|
3408
3417
|
position: absolute;
|
|
3409
3418
|
top: 0;
|
|
@@ -3414,9 +3423,6 @@
|
|
|
3414
3423
|
pointer-events: none;
|
|
3415
3424
|
border: var(--vxe-ui-table-border-width) solid var(--vxe-ui-table-border-color);
|
|
3416
3425
|
}
|
|
3417
|
-
.vxe-table--render-default {
|
|
3418
|
-
/*树形节点*/
|
|
3419
|
-
}
|
|
3420
3426
|
.vxe-table--render-default .vxe-tree--line-wrapper {
|
|
3421
3427
|
position: relative;
|
|
3422
3428
|
display: block;
|
|
@@ -3463,9 +3469,6 @@
|
|
|
3463
3469
|
user-select: none;
|
|
3464
3470
|
cursor: pointer;
|
|
3465
3471
|
}
|
|
3466
|
-
.vxe-table--render-default {
|
|
3467
|
-
/*行分组*/
|
|
3468
|
-
}
|
|
3469
3472
|
.vxe-table--render-default .vxe-row-group--node-btn:hover {
|
|
3470
3473
|
color: var(--vxe-ui-font-color);
|
|
3471
3474
|
}
|
|
@@ -3474,9 +3477,6 @@
|
|
|
3474
3477
|
color: var(--vxe-ui-font-lighten-color);
|
|
3475
3478
|
transition: transform 0.1s ease-in-out;
|
|
3476
3479
|
}
|
|
3477
|
-
.vxe-table--render-default {
|
|
3478
|
-
/*单元格高度*/
|
|
3479
|
-
}
|
|
3480
3480
|
.vxe-table--render-default .vxe-body--column.col--ellipsis > .vxe-cell .vxe-row-group-cell,
|
|
3481
3481
|
.vxe-table--render-default .vxe-body--column.col--ellipsis > .vxe-cell .vxe-tree-cell {
|
|
3482
3482
|
overflow: hidden;
|
|
@@ -3497,9 +3497,6 @@
|
|
|
3497
3497
|
flex-direction: row;
|
|
3498
3498
|
align-items: center;
|
|
3499
3499
|
}
|
|
3500
|
-
.vxe-table--render-default {
|
|
3501
|
-
/*溢出列*/
|
|
3502
|
-
}
|
|
3503
3500
|
.vxe-table--render-default .vxe-header--column:not(.col--active).col--ellipsis > .vxe-cell,
|
|
3504
3501
|
.vxe-table--render-default .vxe-body--column:not(.col--active).col--ellipsis > .vxe-cell,
|
|
3505
3502
|
.vxe-table--render-default .vxe-footer--column:not(.col--active).col--ellipsis > .vxe-cell {
|
|
@@ -3533,9 +3530,6 @@
|
|
|
3533
3530
|
flex-direction: row;
|
|
3534
3531
|
align-items: center;
|
|
3535
3532
|
}
|
|
3536
|
-
.vxe-table--render-default {
|
|
3537
|
-
/*展开行*/
|
|
3538
|
-
}
|
|
3539
3533
|
.vxe-table--render-default .vxe-table--row-expanded-wrapper {
|
|
3540
3534
|
position: absolute;
|
|
3541
3535
|
top: 0;
|
|
@@ -3606,18 +3600,12 @@
|
|
|
3606
3600
|
overflow: auto;
|
|
3607
3601
|
outline: 0;
|
|
3608
3602
|
}
|
|
3609
|
-
.vxe-table--render-default {
|
|
3610
|
-
/*拖拽列*/
|
|
3611
|
-
}
|
|
3612
3603
|
.vxe-table--render-default .vxe-table--column.col--drag-move {
|
|
3613
3604
|
transition: transform 0.5s ease;
|
|
3614
3605
|
}
|
|
3615
3606
|
.vxe-table--render-default .vxe-table--column.col--drag-origin > .vxe-cell {
|
|
3616
3607
|
opacity: 0.3;
|
|
3617
3608
|
}
|
|
3618
|
-
.vxe-table--render-default {
|
|
3619
|
-
/*拖拽行把柄*/
|
|
3620
|
-
}
|
|
3621
3609
|
.vxe-table--render-default .vxe-cell--drag-handle {
|
|
3622
3610
|
-webkit-user-select: none;
|
|
3623
3611
|
-moz-user-select: none;
|
|
@@ -3681,9 +3669,6 @@
|
|
|
3681
3669
|
.vxe-table--render-default.size--mini .vxe-cell--radio {
|
|
3682
3670
|
font-size: var(--vxe-radio-font-size-mini);
|
|
3683
3671
|
}
|
|
3684
|
-
.vxe-table--render-default {
|
|
3685
|
-
/*暂无数据*/
|
|
3686
|
-
}
|
|
3687
3672
|
.vxe-table--render-default .vxe-table--empty-placeholder,
|
|
3688
3673
|
.vxe-table--render-default .vxe-table--empty-block {
|
|
3689
3674
|
color: var(--vxe-ui-input-placeholder-color);
|
|
@@ -3724,9 +3709,6 @@
|
|
|
3724
3709
|
.vxe-table--render-default .vxe-body--column.col--selected {
|
|
3725
3710
|
box-shadow: inset 0px 0px 0px 2px var(--vxe-ui-font-primary-color);
|
|
3726
3711
|
}
|
|
3727
|
-
.vxe-table--render-default {
|
|
3728
|
-
/*校验不通过*/
|
|
3729
|
-
}
|
|
3730
3712
|
.vxe-table--render-default .vxe-body--column .vxe-cell--valid-error-tip {
|
|
3731
3713
|
width: 100%;
|
|
3732
3714
|
position: absolute;
|
|
@@ -3783,9 +3765,6 @@
|
|
|
3783
3765
|
.vxe-table--render-default.valid-msg--full .vxe-body--row:last-child .vxe-cell--valid-error-tip {
|
|
3784
3766
|
top: calc(100% - 1.3em);
|
|
3785
3767
|
}
|
|
3786
|
-
.vxe-table--render-default {
|
|
3787
|
-
/*已废弃,旧的校验样式**/
|
|
3788
|
-
}
|
|
3789
3768
|
.vxe-table--render-default.old-cell-valid .vxe-body--column.col--valid-error .vxe-cell--valid-error-tip {
|
|
3790
3769
|
width: 320px;
|
|
3791
3770
|
position: absolute;
|
|
@@ -3813,9 +3792,6 @@
|
|
|
3813
3792
|
transform: translateX(0);
|
|
3814
3793
|
text-align: left;
|
|
3815
3794
|
}
|
|
3816
|
-
.vxe-table--render-default {
|
|
3817
|
-
/*单元格标记删除状态*/
|
|
3818
|
-
}
|
|
3819
3795
|
.vxe-table--render-default .vxe-body--row.row--pending {
|
|
3820
3796
|
color: var(--vxe-ui-font-disabled-color);
|
|
3821
3797
|
opacity: 0.5;
|
|
@@ -3835,9 +3811,6 @@
|
|
|
3835
3811
|
border-bottom: 1px solid var(--vxe-ui-table-validate-error-color);
|
|
3836
3812
|
z-index: 1;
|
|
3837
3813
|
}
|
|
3838
|
-
.vxe-table--render-default {
|
|
3839
|
-
/*单元格编辑状态*/
|
|
3840
|
-
}
|
|
3841
3814
|
.vxe-table--render-default .vxe-body--row.row--new > .vxe-body--column {
|
|
3842
3815
|
position: relative;
|
|
3843
3816
|
}
|
|
@@ -3864,9 +3837,6 @@
|
|
|
3864
3837
|
border-color: transparent var(--vxe-ui-table-cell-dirty-update-color) transparent transparent;
|
|
3865
3838
|
transform: rotate(45deg);
|
|
3866
3839
|
}
|
|
3867
|
-
.vxe-table--render-default {
|
|
3868
|
-
/*可编辑*/
|
|
3869
|
-
}
|
|
3870
3840
|
.vxe-table--render-default.vxe-editable.cell--highlight .vxe-body--column.col--active {
|
|
3871
3841
|
box-shadow: inset 0px 0px 0px 2px var(--vxe-ui-font-primary-color);
|
|
3872
3842
|
}
|
package/lib/vxe-toolbar/index.js
CHANGED
|
@@ -17,5 +17,6 @@ Object.keys(_toolbar).forEach(function (key) {
|
|
|
17
17
|
}
|
|
18
18
|
});
|
|
19
19
|
});
|
|
20
|
-
function
|
|
20
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
21
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
21
22
|
var _default = exports.default = _toolbar.default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,"__esModule",{value:!0});var _exportNames={},_toolbar=(exports.default=void 0,_interopRequireWildcard(require("../toolbar")));function
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});var _exportNames={},_toolbar=(exports.default=void 0,_interopRequireWildcard(require("../toolbar")));function _getRequireWildcardCache(e){var t,r;return"function"!=typeof WeakMap?null:(t=new WeakMap,r=new WeakMap,(_getRequireWildcardCache=function(e){return e?r:t})(e))}function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};t=_getRequireWildcardCache(t);if(t&&t.has(e))return t.get(e);var r,o,a={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in e)"default"!==r&&{}.hasOwnProperty.call(e,r)&&((o=n?Object.getOwnPropertyDescriptor(e,r):null)&&(o.get||o.set)?Object.defineProperty(a,r,o):a[r]=e[r]);return a.default=e,t&&t.set(e,a),a}Object.keys(_toolbar).forEach(function(e){"default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(_exportNames,e)||e in exports&&exports[e]===_toolbar[e]||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return _toolbar[e]}})});var _default=exports.default=_toolbar.default;
|
package/lib/vxe-ui/index.js
CHANGED
|
@@ -17,5 +17,6 @@ Object.keys(_ui).forEach(function (key) {
|
|
|
17
17
|
}
|
|
18
18
|
});
|
|
19
19
|
});
|
|
20
|
-
function
|
|
20
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
21
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
21
22
|
var _default = exports.default = _ui.default;
|
package/lib/vxe-ui/index.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,"__esModule",{value:!0});var _exportNames={},_ui=(exports.default=void 0,_interopRequireWildcard(require("../ui")));function
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});var _exportNames={},_ui=(exports.default=void 0,_interopRequireWildcard(require("../ui")));function _getRequireWildcardCache(e){var t,r;return"function"!=typeof WeakMap?null:(t=new WeakMap,r=new WeakMap,(_getRequireWildcardCache=function(e){return e?r:t})(e))}function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};t=_getRequireWildcardCache(t);if(t&&t.has(e))return t.get(e);var r,u,o={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in e)"default"!==r&&{}.hasOwnProperty.call(e,r)&&((u=n?Object.getOwnPropertyDescriptor(e,r):null)&&(u.get||u.set)?Object.defineProperty(o,r,u):o[r]=e[r]);return o.default=e,t&&t.set(e,o),o}Object.keys(_ui).forEach(function(e){"default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(_exportNames,e)||e in exports&&exports[e]===_ui[e]||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return _ui[e]}})});var _default=exports.default=_ui.default;
|
|
@@ -17,5 +17,6 @@ Object.keys(_vXETable).forEach(function (key) {
|
|
|
17
17
|
}
|
|
18
18
|
});
|
|
19
19
|
});
|
|
20
|
-
function
|
|
20
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
21
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
21
22
|
var _default = exports.default = _vXETable.default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,"__esModule",{value:!0});var _exportNames={},_vXETable=(exports.default=void 0,_interopRequireWildcard(require("../v-x-e-table")));function
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});var _exportNames={},_vXETable=(exports.default=void 0,_interopRequireWildcard(require("../v-x-e-table")));function _getRequireWildcardCache(e){var t,r;return"function"!=typeof WeakMap?null:(t=new WeakMap,r=new WeakMap,(_getRequireWildcardCache=function(e){return e?r:t})(e))}function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};t=_getRequireWildcardCache(t);if(t&&t.has(e))return t.get(e);var r,a,o={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in e)"default"!==r&&{}.hasOwnProperty.call(e,r)&&((a=n?Object.getOwnPropertyDescriptor(e,r):null)&&(a.get||a.set)?Object.defineProperty(o,r,a):o[r]=e[r]);return o.default=e,t&&t.set(e,o),o}Object.keys(_vXETable).forEach(function(e){"default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(_exportNames,e)||e in exports&&exports[e]===_vXETable[e]||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return _vXETable[e]}})});var _default=exports.default=_vXETable.default;
|
package/package.json
CHANGED
|
@@ -1,91 +1,91 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "vxe-table",
|
|
3
|
-
"version": "4.18.
|
|
4
|
-
"description": "A PC-end table component based on Vxe UI, supporting copy-paste, data pivot table, and high-performance virtual list table solution.",
|
|
5
|
-
"scripts": {
|
|
6
|
-
"update": "npm install --legacy-peer-deps",
|
|
7
|
-
"serve": "vue-cli-service serve",
|
|
8
|
-
"lint": "vue-cli-service lint",
|
|
9
|
-
"build": "vue-cli-service build",
|
|
10
|
-
"lib:modules": "gulp build",
|
|
11
|
-
"lib:pack": "vue-cli-service build --target lib --name index --dest lib_temp index.ts",
|
|
12
|
-
"lib": "npm run lib:pack && npm run lib:modules",
|
|
13
|
-
"format": "eslint --fix examples/**/*.{js,ts,vue}"
|
|
14
|
-
},
|
|
15
|
-
"files": [
|
|
16
|
-
"lib",
|
|
17
|
-
"es",
|
|
18
|
-
"src",
|
|
19
|
-
"helper",
|
|
20
|
-
"types",
|
|
21
|
-
"styles",
|
|
22
|
-
"packages"
|
|
23
|
-
],
|
|
24
|
-
"main": "lib/index.common.js",
|
|
25
|
-
"module": "es/index.esm.js",
|
|
26
|
-
"unpkg": "lib/index.umd.js",
|
|
27
|
-
"jsdelivr": "lib/index.umd.js",
|
|
28
|
-
"style": "lib/style.css",
|
|
29
|
-
"typings": "types/index.d.ts",
|
|
30
|
-
"dependencies": {
|
|
31
|
-
"vxe-pc-ui": "^4.13.0"
|
|
32
|
-
},
|
|
33
|
-
"devDependencies": {
|
|
34
|
-
"@types/resize-observer-browser": "^0.1.11",
|
|
35
|
-
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
|
36
|
-
"@typescript-eslint/parser": "^6.21.0",
|
|
37
|
-
"@vue/cli-plugin-babel": "~5.0.0",
|
|
38
|
-
"@vue/cli-plugin-eslint": "~5.0.0",
|
|
39
|
-
"@vue/cli-plugin-router": "~5.0.0",
|
|
40
|
-
"@vue/cli-plugin-typescript": "~5.0.0",
|
|
41
|
-
"@vue/cli-plugin-vuex": "~5.0.0",
|
|
42
|
-
"@vue/cli-service": "~5.0.0",
|
|
43
|
-
"@vue/eslint-config-standard": "^6.1.0",
|
|
44
|
-
"@vue/eslint-config-typescript": "^9.1.0",
|
|
45
|
-
"core-js": "^3.8.3",
|
|
46
|
-
"del": "^6.1.1",
|
|
47
|
-
"eslint": "^7.32.0",
|
|
48
|
-
"eslint-plugin-import": "^2.29.1",
|
|
49
|
-
"eslint-plugin-node": "^11.1.0",
|
|
50
|
-
"eslint-plugin-promise": "^6.1.1",
|
|
51
|
-
"eslint-plugin-vue": "^8.0.3",
|
|
52
|
-
"gulp": "^4.0.2",
|
|
53
|
-
"gulp-autoprefixer": "^8.0.0",
|
|
54
|
-
"gulp-babel": "^8.0.0",
|
|
55
|
-
"gulp-clean-css": "^4.3.0",
|
|
56
|
-
"gulp-concat": "^2.6.1",
|
|
57
|
-
"gulp-rename": "^2.0.0",
|
|
58
|
-
"gulp-replace": "^1.1.4",
|
|
59
|
-
"gulp-sass": "^5.1.0",
|
|
60
|
-
"gulp-sourcemaps": "^3.0.0",
|
|
61
|
-
"gulp-typescript": "^5.0.1",
|
|
62
|
-
"gulp-uglify": "^3.0.2",
|
|
63
|
-
"postcss": "^8.4.38",
|
|
64
|
-
"sass": "^1.80.4",
|
|
65
|
-
"sass-loader": "^14.2.0",
|
|
66
|
-
"typescript": "~4.7.4",
|
|
67
|
-
"vue": "3.4.27",
|
|
68
|
-
"vue-router": "~4.5.1"
|
|
69
|
-
},
|
|
70
|
-
"vetur": {
|
|
71
|
-
"tags": "helper/vetur/tags.json",
|
|
72
|
-
"attributes": "helper/vetur/attributes.json"
|
|
73
|
-
},
|
|
74
|
-
"repository": {
|
|
75
|
-
"type": "git",
|
|
76
|
-
"url": "git+https://github.com/x-extends/vxe-table.git"
|
|
77
|
-
},
|
|
78
|
-
"keywords": [
|
|
79
|
-
"vxe",
|
|
80
|
-
"vxe-ui",
|
|
81
|
-
"vxe-table"
|
|
82
|
-
],
|
|
83
|
-
"author": {
|
|
84
|
-
"name": "Xu Liangzhan",
|
|
85
|
-
"email": "xu_liangzhan@163.com"
|
|
86
|
-
},
|
|
87
|
-
"license": "MIT",
|
|
88
|
-
"bugs": {
|
|
89
|
-
"url": "https://github.com/x-extends/vxe-table/issues"
|
|
90
|
-
}
|
|
91
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "vxe-table",
|
|
3
|
+
"version": "4.18.8",
|
|
4
|
+
"description": "A PC-end table component based on Vxe UI, supporting copy-paste, data pivot table, and high-performance virtual list table solution.",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"update": "npm install --legacy-peer-deps",
|
|
7
|
+
"serve": "vue-cli-service serve",
|
|
8
|
+
"lint": "vue-cli-service lint",
|
|
9
|
+
"build": "vue-cli-service build",
|
|
10
|
+
"lib:modules": "gulp build",
|
|
11
|
+
"lib:pack": "vue-cli-service build --target lib --name index --dest lib_temp index.ts",
|
|
12
|
+
"lib": "npm run lib:pack && npm run lib:modules",
|
|
13
|
+
"format": "eslint --fix examples/**/*.{js,ts,vue}"
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"lib",
|
|
17
|
+
"es",
|
|
18
|
+
"src",
|
|
19
|
+
"helper",
|
|
20
|
+
"types",
|
|
21
|
+
"styles",
|
|
22
|
+
"packages"
|
|
23
|
+
],
|
|
24
|
+
"main": "lib/index.common.js",
|
|
25
|
+
"module": "es/index.esm.js",
|
|
26
|
+
"unpkg": "lib/index.umd.js",
|
|
27
|
+
"jsdelivr": "lib/index.umd.js",
|
|
28
|
+
"style": "lib/style.css",
|
|
29
|
+
"typings": "types/index.d.ts",
|
|
30
|
+
"dependencies": {
|
|
31
|
+
"vxe-pc-ui": "^4.13.0"
|
|
32
|
+
},
|
|
33
|
+
"devDependencies": {
|
|
34
|
+
"@types/resize-observer-browser": "^0.1.11",
|
|
35
|
+
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
|
36
|
+
"@typescript-eslint/parser": "^6.21.0",
|
|
37
|
+
"@vue/cli-plugin-babel": "~5.0.0",
|
|
38
|
+
"@vue/cli-plugin-eslint": "~5.0.0",
|
|
39
|
+
"@vue/cli-plugin-router": "~5.0.0",
|
|
40
|
+
"@vue/cli-plugin-typescript": "~5.0.0",
|
|
41
|
+
"@vue/cli-plugin-vuex": "~5.0.0",
|
|
42
|
+
"@vue/cli-service": "~5.0.0",
|
|
43
|
+
"@vue/eslint-config-standard": "^6.1.0",
|
|
44
|
+
"@vue/eslint-config-typescript": "^9.1.0",
|
|
45
|
+
"core-js": "^3.8.3",
|
|
46
|
+
"del": "^6.1.1",
|
|
47
|
+
"eslint": "^7.32.0",
|
|
48
|
+
"eslint-plugin-import": "^2.29.1",
|
|
49
|
+
"eslint-plugin-node": "^11.1.0",
|
|
50
|
+
"eslint-plugin-promise": "^6.1.1",
|
|
51
|
+
"eslint-plugin-vue": "^8.0.3",
|
|
52
|
+
"gulp": "^4.0.2",
|
|
53
|
+
"gulp-autoprefixer": "^8.0.0",
|
|
54
|
+
"gulp-babel": "^8.0.0",
|
|
55
|
+
"gulp-clean-css": "^4.3.0",
|
|
56
|
+
"gulp-concat": "^2.6.1",
|
|
57
|
+
"gulp-rename": "^2.0.0",
|
|
58
|
+
"gulp-replace": "^1.1.4",
|
|
59
|
+
"gulp-sass": "^5.1.0",
|
|
60
|
+
"gulp-sourcemaps": "^3.0.0",
|
|
61
|
+
"gulp-typescript": "^5.0.1",
|
|
62
|
+
"gulp-uglify": "^3.0.2",
|
|
63
|
+
"postcss": "^8.4.38",
|
|
64
|
+
"sass": "^1.80.4",
|
|
65
|
+
"sass-loader": "^14.2.0",
|
|
66
|
+
"typescript": "~4.7.4",
|
|
67
|
+
"vue": "3.4.27",
|
|
68
|
+
"vue-router": "~4.5.1"
|
|
69
|
+
},
|
|
70
|
+
"vetur": {
|
|
71
|
+
"tags": "helper/vetur/tags.json",
|
|
72
|
+
"attributes": "helper/vetur/attributes.json"
|
|
73
|
+
},
|
|
74
|
+
"repository": {
|
|
75
|
+
"type": "git",
|
|
76
|
+
"url": "git+https://github.com/x-extends/vxe-table.git"
|
|
77
|
+
},
|
|
78
|
+
"keywords": [
|
|
79
|
+
"vxe",
|
|
80
|
+
"vxe-ui",
|
|
81
|
+
"vxe-table"
|
|
82
|
+
],
|
|
83
|
+
"author": {
|
|
84
|
+
"name": "Xu Liangzhan",
|
|
85
|
+
"email": "xu_liangzhan@163.com"
|
|
86
|
+
},
|
|
87
|
+
"license": "MIT",
|
|
88
|
+
"bugs": {
|
|
89
|
+
"url": "https://github.com/x-extends/vxe-table/issues"
|
|
90
|
+
}
|
|
91
|
+
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { App } from 'vue'
|
|
2
|
-
import { VxeUI } from '../ui'
|
|
3
|
-
import VxeColgroupComponent from '../table/src/group'
|
|
4
|
-
|
|
5
|
-
export const VxeColgroup = Object.assign({}, VxeColgroupComponent, {
|
|
6
|
-
install (app: App) {
|
|
7
|
-
app.component(VxeColgroupComponent.name as string, VxeColgroupComponent)
|
|
8
|
-
// 兼容旧用法
|
|
9
|
-
app.component('VxeTableColgroup', VxeColgroupComponent)
|
|
10
|
-
}
|
|
11
|
-
})
|
|
12
|
-
|
|
13
|
-
if (VxeUI.dynamicApp) {
|
|
14
|
-
VxeUI.dynamicApp.component(VxeColgroupComponent.name as string, VxeColgroupComponent)
|
|
15
|
-
// 兼容旧用法
|
|
16
|
-
VxeUI.dynamicApp.component('VxeTableColgroup', VxeColgroupComponent)
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
VxeUI.component(VxeColgroupComponent)
|
|
20
|
-
|
|
21
|
-
export const Colgroup = VxeColgroup
|
|
22
|
-
export default VxeColgroup
|
|
1
|
+
import { App } from 'vue'
|
|
2
|
+
import { VxeUI } from '../ui'
|
|
3
|
+
import VxeColgroupComponent from '../table/src/group'
|
|
4
|
+
|
|
5
|
+
export const VxeColgroup = Object.assign({}, VxeColgroupComponent, {
|
|
6
|
+
install (app: App) {
|
|
7
|
+
app.component(VxeColgroupComponent.name as string, VxeColgroupComponent)
|
|
8
|
+
// 兼容旧用法
|
|
9
|
+
app.component('VxeTableColgroup', VxeColgroupComponent)
|
|
10
|
+
}
|
|
11
|
+
})
|
|
12
|
+
|
|
13
|
+
if (VxeUI.dynamicApp) {
|
|
14
|
+
VxeUI.dynamicApp.component(VxeColgroupComponent.name as string, VxeColgroupComponent)
|
|
15
|
+
// 兼容旧用法
|
|
16
|
+
VxeUI.dynamicApp.component('VxeTableColgroup', VxeColgroupComponent)
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
VxeUI.component(VxeColgroupComponent)
|
|
20
|
+
|
|
21
|
+
export const Colgroup = VxeColgroup
|
|
22
|
+
export default VxeColgroup
|
package/packages/column/index.ts
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { App } from 'vue'
|
|
2
|
-
import { VxeUI } from '../ui'
|
|
3
|
-
import VxeColumnComponent from '../table/src/column'
|
|
4
|
-
|
|
5
|
-
export const VxeColumn = Object.assign({}, VxeColumnComponent, {
|
|
6
|
-
install (app: App) {
|
|
7
|
-
app.component(VxeColumnComponent.name as string, VxeColumnComponent)
|
|
8
|
-
// 兼容旧用法
|
|
9
|
-
app.component('VxeTableColumn', VxeColumnComponent)
|
|
10
|
-
}
|
|
11
|
-
})
|
|
12
|
-
|
|
13
|
-
if (VxeUI.dynamicApp) {
|
|
14
|
-
VxeUI.dynamicApp.component(VxeColumnComponent.name as string, VxeColumnComponent)
|
|
15
|
-
// 兼容旧用法
|
|
16
|
-
VxeUI.dynamicApp.component('VxeTableColumn', VxeColumnComponent)
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
VxeUI.component(VxeColumnComponent)
|
|
20
|
-
|
|
21
|
-
export const Column = VxeColumn
|
|
22
|
-
export default VxeColumn
|
|
1
|
+
import { App } from 'vue'
|
|
2
|
+
import { VxeUI } from '../ui'
|
|
3
|
+
import VxeColumnComponent from '../table/src/column'
|
|
4
|
+
|
|
5
|
+
export const VxeColumn = Object.assign({}, VxeColumnComponent, {
|
|
6
|
+
install (app: App) {
|
|
7
|
+
app.component(VxeColumnComponent.name as string, VxeColumnComponent)
|
|
8
|
+
// 兼容旧用法
|
|
9
|
+
app.component('VxeTableColumn', VxeColumnComponent)
|
|
10
|
+
}
|
|
11
|
+
})
|
|
12
|
+
|
|
13
|
+
if (VxeUI.dynamicApp) {
|
|
14
|
+
VxeUI.dynamicApp.component(VxeColumnComponent.name as string, VxeColumnComponent)
|
|
15
|
+
// 兼容旧用法
|
|
16
|
+
VxeUI.dynamicApp.component('VxeTableColumn', VxeColumnComponent)
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
VxeUI.component(VxeColumnComponent)
|
|
20
|
+
|
|
21
|
+
export const Column = VxeColumn
|
|
22
|
+
export default VxeColumn
|
package/packages/components.ts
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
import { App } from 'vue'
|
|
2
|
-
import { VxeUI } from './ui'
|
|
3
|
-
|
|
4
|
-
import { VxeColumn } from './column'
|
|
5
|
-
import { VxeColgroup } from './colgroup'
|
|
6
|
-
import { VxeGrid } from './grid'
|
|
7
|
-
import { VxeTable } from './table'
|
|
8
|
-
import { VxeToolbar } from './toolbar'
|
|
9
|
-
|
|
10
|
-
import zhCN from './locale/lang/zh-CN'
|
|
11
|
-
|
|
12
|
-
import type { VxeGlobalConfig } from '../types'
|
|
13
|
-
|
|
14
|
-
const components = [
|
|
15
|
-
VxeColumn,
|
|
16
|
-
VxeColgroup,
|
|
17
|
-
VxeGrid,
|
|
18
|
-
VxeTable,
|
|
19
|
-
VxeToolbar
|
|
20
|
-
]
|
|
21
|
-
|
|
22
|
-
// 默认安装
|
|
23
|
-
export function install (app: App, options?: VxeGlobalConfig) {
|
|
24
|
-
VxeUI.setConfig(options)
|
|
25
|
-
components.forEach(component => component.install(app))
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
// 保留兼容老版本
|
|
29
|
-
if (!VxeUI.hasLanguage('zh-CN')) {
|
|
30
|
-
const defaultLanguage = 'zh-CN'
|
|
31
|
-
VxeUI.setI18n(defaultLanguage, zhCN)
|
|
32
|
-
VxeUI.setLanguage(defaultLanguage)
|
|
33
|
-
}
|
|
34
|
-
VxeUI.setTheme('light')
|
|
35
|
-
|
|
36
|
-
export * from './ui'
|
|
37
|
-
|
|
38
|
-
// Components
|
|
39
|
-
export * from './table'
|
|
40
|
-
export * from './column'
|
|
41
|
-
export * from './colgroup'
|
|
42
|
-
export * from './grid'
|
|
43
|
-
export * from './toolbar'
|
|
1
|
+
import { App } from 'vue'
|
|
2
|
+
import { VxeUI } from './ui'
|
|
3
|
+
|
|
4
|
+
import { VxeColumn } from './column'
|
|
5
|
+
import { VxeColgroup } from './colgroup'
|
|
6
|
+
import { VxeGrid } from './grid'
|
|
7
|
+
import { VxeTable } from './table'
|
|
8
|
+
import { VxeToolbar } from './toolbar'
|
|
9
|
+
|
|
10
|
+
import zhCN from './locale/lang/zh-CN'
|
|
11
|
+
|
|
12
|
+
import type { VxeGlobalConfig } from '../types'
|
|
13
|
+
|
|
14
|
+
const components = [
|
|
15
|
+
VxeColumn,
|
|
16
|
+
VxeColgroup,
|
|
17
|
+
VxeGrid,
|
|
18
|
+
VxeTable,
|
|
19
|
+
VxeToolbar
|
|
20
|
+
]
|
|
21
|
+
|
|
22
|
+
// 默认安装
|
|
23
|
+
export function install (app: App, options?: VxeGlobalConfig) {
|
|
24
|
+
VxeUI.setConfig(options)
|
|
25
|
+
components.forEach(component => component.install(app))
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
// 保留兼容老版本
|
|
29
|
+
if (!VxeUI.hasLanguage('zh-CN')) {
|
|
30
|
+
const defaultLanguage = 'zh-CN'
|
|
31
|
+
VxeUI.setI18n(defaultLanguage, zhCN)
|
|
32
|
+
VxeUI.setLanguage(defaultLanguage)
|
|
33
|
+
}
|
|
34
|
+
VxeUI.setTheme('light')
|
|
35
|
+
|
|
36
|
+
export * from './ui'
|
|
37
|
+
|
|
38
|
+
// Components
|
|
39
|
+
export * from './table'
|
|
40
|
+
export * from './column'
|
|
41
|
+
export * from './colgroup'
|
|
42
|
+
export * from './grid'
|
|
43
|
+
export * from './toolbar'
|
package/packages/grid/index.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { App } from 'vue'
|
|
2
|
-
import { VxeUI } from '../ui'
|
|
3
|
-
import VxeGridComponent from './src/grid'
|
|
4
|
-
|
|
5
|
-
export const VxeGrid = Object.assign({}, VxeGridComponent, {
|
|
6
|
-
install (app: App) {
|
|
7
|
-
app.component(VxeGridComponent.name as string, VxeGridComponent)
|
|
8
|
-
}
|
|
9
|
-
})
|
|
10
|
-
|
|
11
|
-
if (VxeUI.dynamicApp) {
|
|
12
|
-
VxeUI.dynamicApp.component(VxeGridComponent.name as string, VxeGridComponent)
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
VxeUI.component(VxeGridComponent)
|
|
16
|
-
|
|
17
|
-
export const Grid = VxeGrid
|
|
18
|
-
export default VxeGrid
|
|
1
|
+
import { App } from 'vue'
|
|
2
|
+
import { VxeUI } from '../ui'
|
|
3
|
+
import VxeGridComponent from './src/grid'
|
|
4
|
+
|
|
5
|
+
export const VxeGrid = Object.assign({}, VxeGridComponent, {
|
|
6
|
+
install (app: App) {
|
|
7
|
+
app.component(VxeGridComponent.name as string, VxeGridComponent)
|
|
8
|
+
}
|
|
9
|
+
})
|
|
10
|
+
|
|
11
|
+
if (VxeUI.dynamicApp) {
|
|
12
|
+
VxeUI.dynamicApp.component(VxeGridComponent.name as string, VxeGridComponent)
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
VxeUI.component(VxeGridComponent)
|
|
16
|
+
|
|
17
|
+
export const Grid = VxeGrid
|
|
18
|
+
export default VxeGrid
|