bkui-vue 1.0.3-beta.7 → 1.0.3-beta.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/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +4 -1
- package/dist/index.umd.js +1 -1
- package/lib/components.js +504 -63
- package/lib/dist.index.js +61 -5
- package/lib/hooks.js +48 -8
- package/lib/index.js +72 -8
- package/lib/preset.js +58 -18
- package/lib/table/index.js +7 -4
- package/lib/table/utils.d.ts +1 -1
- package/lib/table-column/index.js +3 -0
- package/package.json +1 -1
package/lib/dist.index.js
CHANGED
@@ -1,3 +1,58 @@
|
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE__styles_9b7bdad5__ from "./styles";
|
2
|
+
import * as __WEBPACK_EXTERNAL_MODULE__preset_b854ea38__ from "./preset";
|
3
|
+
import * as __WEBPACK_EXTERNAL_MODULE__components_96ad247a__ from "./components";
|
4
|
+
import * as __WEBPACK_EXTERNAL_MODULE__directives_37095733__ from "./directives";
|
5
|
+
import * as __WEBPACK_EXTERNAL_MODULE__config_provider_e8e4cbd4__ from "./config-provider";
|
6
|
+
/******/ // The require scope
|
7
|
+
/******/ var __webpack_require__ = {};
|
8
|
+
/******/
|
9
|
+
/************************************************************************/
|
10
|
+
/******/ /* webpack/runtime/define property getters */
|
11
|
+
/******/ (() => {
|
12
|
+
/******/ // define getter functions for harmony exports
|
13
|
+
/******/ __webpack_require__.d = (exports, definition) => {
|
14
|
+
/******/ for(var key in definition) {
|
15
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
16
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
17
|
+
/******/ }
|
18
|
+
/******/ }
|
19
|
+
/******/ };
|
20
|
+
/******/ })();
|
21
|
+
/******/
|
22
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
23
|
+
/******/ (() => {
|
24
|
+
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
25
|
+
/******/ })();
|
26
|
+
/******/
|
27
|
+
/************************************************************************/
|
28
|
+
var __webpack_exports__ = {};
|
29
|
+
|
30
|
+
// EXPORTS
|
31
|
+
__webpack_require__.d(__webpack_exports__, {
|
32
|
+
"default": () => (/* reexport */ external_preset_namespaceObject["default"])
|
33
|
+
});
|
34
|
+
|
35
|
+
;// CONCATENATED MODULE: external "./styles"
|
36
|
+
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
37
|
+
var y = x => () => x
|
38
|
+
const external_styles_namespaceObject = x({ });
|
39
|
+
;// CONCATENATED MODULE: external "./preset"
|
40
|
+
var external_preset_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
41
|
+
var external_preset_y = x => () => x
|
42
|
+
const external_preset_namespaceObject = external_preset_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE__preset_b854ea38__["default"] });
|
43
|
+
;// CONCATENATED MODULE: external "./components"
|
44
|
+
var external_components_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
45
|
+
var external_components_y = x => () => x
|
46
|
+
const external_components_namespaceObject = external_components_x({ });
|
47
|
+
;// CONCATENATED MODULE: external "./directives"
|
48
|
+
var external_directives_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
49
|
+
var external_directives_y = x => () => x
|
50
|
+
const external_directives_namespaceObject = external_directives_x({ });
|
51
|
+
;// CONCATENATED MODULE: external "./config-provider"
|
52
|
+
var external_config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
53
|
+
var external_config_provider_y = x => () => x
|
54
|
+
const external_config_provider_namespaceObject = external_config_provider_x({ });
|
55
|
+
;// CONCATENATED MODULE: ../../packages/bkui-vue/dist.index.ts
|
1
56
|
/*
|
2
57
|
* Tencent is pleased to support the open source community by making
|
3
58
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -23,9 +78,10 @@
|
|
23
78
|
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
24
79
|
* IN THE SOFTWARE.
|
25
80
|
*/
|
26
|
-
import './styles';
|
27
81
|
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
|
86
|
+
var __webpack_exports__default = __webpack_exports__["default"];
|
87
|
+
export { __webpack_exports__default as default };
|
package/lib/hooks.js
CHANGED
@@ -1,3 +1,43 @@
|
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE__config_provider_e8e4cbd4__ from "./config-provider";
|
2
|
+
/******/ // The require scope
|
3
|
+
/******/ var __webpack_require__ = {};
|
4
|
+
/******/
|
5
|
+
/************************************************************************/
|
6
|
+
/******/ /* webpack/runtime/define property getters */
|
7
|
+
/******/ (() => {
|
8
|
+
/******/ // define getter functions for harmony exports
|
9
|
+
/******/ __webpack_require__.d = (exports, definition) => {
|
10
|
+
/******/ for(var key in definition) {
|
11
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
12
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
13
|
+
/******/ }
|
14
|
+
/******/ }
|
15
|
+
/******/ };
|
16
|
+
/******/ })();
|
17
|
+
/******/
|
18
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
19
|
+
/******/ (() => {
|
20
|
+
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
21
|
+
/******/ })();
|
22
|
+
/******/
|
23
|
+
/************************************************************************/
|
24
|
+
var __webpack_exports__ = {};
|
25
|
+
|
26
|
+
// EXPORTS
|
27
|
+
__webpack_require__.d(__webpack_exports__, {
|
28
|
+
defaultRootConfig: () => (/* reexport */ external_config_provider_namespaceObject.defaultRootConfig),
|
29
|
+
provideGlobalConfig: () => (/* reexport */ external_config_provider_namespaceObject.provideGlobalConfig),
|
30
|
+
rootProviderKey: () => (/* reexport */ external_config_provider_namespaceObject.rootProviderKey),
|
31
|
+
useGlobalConfig: () => (/* reexport */ external_config_provider_namespaceObject.useGlobalConfig),
|
32
|
+
useLocale: () => (/* reexport */ external_config_provider_namespaceObject.useLocale),
|
33
|
+
usePrefix: () => (/* reexport */ external_config_provider_namespaceObject.usePrefix)
|
34
|
+
});
|
35
|
+
|
36
|
+
;// CONCATENATED MODULE: external "./config-provider"
|
37
|
+
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
38
|
+
var y = x => () => x
|
39
|
+
const external_config_provider_namespaceObject = x({ ["defaultRootConfig"]: () => __WEBPACK_EXTERNAL_MODULE__config_provider_e8e4cbd4__.defaultRootConfig, ["provideGlobalConfig"]: () => __WEBPACK_EXTERNAL_MODULE__config_provider_e8e4cbd4__.provideGlobalConfig, ["rootProviderKey"]: () => __WEBPACK_EXTERNAL_MODULE__config_provider_e8e4cbd4__.rootProviderKey, ["useGlobalConfig"]: () => __WEBPACK_EXTERNAL_MODULE__config_provider_e8e4cbd4__.useGlobalConfig, ["useLocale"]: () => __WEBPACK_EXTERNAL_MODULE__config_provider_e8e4cbd4__.useLocale, ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE__config_provider_e8e4cbd4__.usePrefix });
|
40
|
+
;// CONCATENATED MODULE: ../../packages/bkui-vue/hooks.ts
|
1
41
|
/*
|
2
42
|
* Tencent is pleased to support the open source community by making
|
3
43
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -23,11 +63,11 @@
|
|
23
63
|
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
24
64
|
* IN THE SOFTWARE.
|
25
65
|
*/
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
66
|
+
|
67
|
+
var __webpack_exports__defaultRootConfig = __webpack_exports__.defaultRootConfig;
|
68
|
+
var __webpack_exports__provideGlobalConfig = __webpack_exports__.provideGlobalConfig;
|
69
|
+
var __webpack_exports__rootProviderKey = __webpack_exports__.rootProviderKey;
|
70
|
+
var __webpack_exports__useGlobalConfig = __webpack_exports__.useGlobalConfig;
|
71
|
+
var __webpack_exports__useLocale = __webpack_exports__.useLocale;
|
72
|
+
var __webpack_exports__usePrefix = __webpack_exports__.usePrefix;
|
73
|
+
export { __webpack_exports__defaultRootConfig as defaultRootConfig, __webpack_exports__provideGlobalConfig as provideGlobalConfig, __webpack_exports__rootProviderKey as rootProviderKey, __webpack_exports__useGlobalConfig as useGlobalConfig, __webpack_exports__useLocale as useLocale, __webpack_exports__usePrefix as usePrefix };
|
package/lib/index.js
CHANGED
@@ -1,3 +1,64 @@
|
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE__preset_b854ea38__ from "./preset";
|
2
|
+
import * as __WEBPACK_EXTERNAL_MODULE__components_96ad247a__ from "./components";
|
3
|
+
import * as __WEBPACK_EXTERNAL_MODULE__directives_37095733__ from "./directives";
|
4
|
+
import * as __WEBPACK_EXTERNAL_MODULE__plugins_a82c42d7__ from "./plugins";
|
5
|
+
import * as __WEBPACK_EXTERNAL_MODULE__config_provider_e8e4cbd4__ from "./config-provider";
|
6
|
+
import * as __WEBPACK_EXTERNAL_MODULE__hooks_627f7bfe__ from "./hooks";
|
7
|
+
/******/ // The require scope
|
8
|
+
/******/ var __webpack_require__ = {};
|
9
|
+
/******/
|
10
|
+
/************************************************************************/
|
11
|
+
/******/ /* webpack/runtime/define property getters */
|
12
|
+
/******/ (() => {
|
13
|
+
/******/ // define getter functions for harmony exports
|
14
|
+
/******/ __webpack_require__.d = (exports, definition) => {
|
15
|
+
/******/ for(var key in definition) {
|
16
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
17
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
18
|
+
/******/ }
|
19
|
+
/******/ }
|
20
|
+
/******/ };
|
21
|
+
/******/ })();
|
22
|
+
/******/
|
23
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
24
|
+
/******/ (() => {
|
25
|
+
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
26
|
+
/******/ })();
|
27
|
+
/******/
|
28
|
+
/************************************************************************/
|
29
|
+
var __webpack_exports__ = {};
|
30
|
+
|
31
|
+
// EXPORTS
|
32
|
+
__webpack_require__.d(__webpack_exports__, {
|
33
|
+
"default": () => (/* reexport */ external_preset_namespaceObject["default"]),
|
34
|
+
plugins: () => (/* reexport */ external_plugins_namespaceObject)
|
35
|
+
});
|
36
|
+
|
37
|
+
;// CONCATENATED MODULE: external "./preset"
|
38
|
+
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
39
|
+
var y = x => () => x
|
40
|
+
const external_preset_namespaceObject = x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE__preset_b854ea38__["default"] });
|
41
|
+
;// CONCATENATED MODULE: external "./components"
|
42
|
+
var external_components_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
43
|
+
var external_components_y = x => () => x
|
44
|
+
const external_components_namespaceObject = external_components_x({ });
|
45
|
+
;// CONCATENATED MODULE: external "./directives"
|
46
|
+
var external_directives_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
47
|
+
var external_directives_y = x => () => x
|
48
|
+
const external_directives_namespaceObject = external_directives_x({ });
|
49
|
+
;// CONCATENATED MODULE: external "./plugins"
|
50
|
+
var external_plugins_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
51
|
+
var external_plugins_y = x => () => x
|
52
|
+
const external_plugins_namespaceObject = __WEBPACK_EXTERNAL_MODULE__plugins_a82c42d7__;
|
53
|
+
;// CONCATENATED MODULE: external "./config-provider"
|
54
|
+
var external_config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
55
|
+
var external_config_provider_y = x => () => x
|
56
|
+
const external_config_provider_namespaceObject = external_config_provider_x({ });
|
57
|
+
;// CONCATENATED MODULE: external "./hooks"
|
58
|
+
var external_hooks_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
59
|
+
var external_hooks_y = x => () => x
|
60
|
+
const external_hooks_namespaceObject = external_hooks_x({ });
|
61
|
+
;// CONCATENATED MODULE: ../../packages/bkui-vue/index.ts
|
1
62
|
/*
|
2
63
|
* Tencent is pleased to support the open source community by making
|
3
64
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -23,11 +84,14 @@
|
|
23
84
|
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
24
85
|
* IN THE SOFTWARE.
|
25
86
|
*/
|
26
|
-
// import '
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
87
|
+
// import '@bkui-vue/styles';
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
var __webpack_exports__default = __webpack_exports__["default"];
|
96
|
+
var __webpack_exports__plugins = __webpack_exports__.plugins;
|
97
|
+
export { __webpack_exports__default as default, __webpack_exports__plugins as plugins };
|
package/lib/preset.js
CHANGED
@@ -1,3 +1,43 @@
|
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE__config_provider_e8e4cbd4__ from "./config-provider";
|
2
|
+
import * as __WEBPACK_EXTERNAL_MODULE__components_96ad247a__ from "./components";
|
3
|
+
/******/ // The require scope
|
4
|
+
/******/ var __webpack_require__ = {};
|
5
|
+
/******/
|
6
|
+
/************************************************************************/
|
7
|
+
/******/ /* webpack/runtime/define property getters */
|
8
|
+
/******/ (() => {
|
9
|
+
/******/ // define getter functions for harmony exports
|
10
|
+
/******/ __webpack_require__.d = (exports, definition) => {
|
11
|
+
/******/ for(var key in definition) {
|
12
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
13
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
14
|
+
/******/ }
|
15
|
+
/******/ }
|
16
|
+
/******/ };
|
17
|
+
/******/ })();
|
18
|
+
/******/
|
19
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
20
|
+
/******/ (() => {
|
21
|
+
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
22
|
+
/******/ })();
|
23
|
+
/******/
|
24
|
+
/************************************************************************/
|
25
|
+
var __webpack_exports__ = {};
|
26
|
+
|
27
|
+
// EXPORTS
|
28
|
+
__webpack_require__.d(__webpack_exports__, {
|
29
|
+
"default": () => (/* binding */ preset)
|
30
|
+
});
|
31
|
+
|
32
|
+
;// CONCATENATED MODULE: external "./config-provider"
|
33
|
+
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
34
|
+
var y = x => () => x
|
35
|
+
const external_config_provider_namespaceObject = x({ ["provideGlobalConfig"]: () => __WEBPACK_EXTERNAL_MODULE__config_provider_e8e4cbd4__.provideGlobalConfig });
|
36
|
+
;// CONCATENATED MODULE: external "./components"
|
37
|
+
var external_components_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
38
|
+
var external_components_y = x => () => x
|
39
|
+
const external_components_namespaceObject = __WEBPACK_EXTERNAL_MODULE__components_96ad247a__;
|
40
|
+
;// CONCATENATED MODULE: ../../packages/bkui-vue/preset.ts
|
1
41
|
/*
|
2
42
|
* Tencent is pleased to support the open source community by making
|
3
43
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -24,30 +64,30 @@
|
|
24
64
|
* IN THE SOFTWARE.
|
25
65
|
*/
|
26
66
|
|
27
|
-
import { App } from 'vue';
|
28
|
-
|
29
|
-
import { ConfigProviderProps, provideGlobalConfig } from './config-provider';
|
30
67
|
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
Object.keys(components).forEach(key => {
|
38
|
-
const component = components[key];
|
68
|
+
var createInstall = function createInstall() {
|
69
|
+
var prefix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'Bk';
|
70
|
+
return function (app, options) {
|
71
|
+
var pre = app.config.globalProperties.bkUIPrefix || prefix;
|
72
|
+
Object.keys(external_components_namespaceObject).forEach(function (key) {
|
73
|
+
var component = external_components_namespaceObject[key];
|
39
74
|
if ('install' in component) {
|
40
|
-
app.use(component, {
|
75
|
+
app.use(component, {
|
76
|
+
prefix: pre
|
77
|
+
});
|
41
78
|
} else {
|
42
|
-
app.component(pre + key,
|
79
|
+
app.component(pre + key, external_components_namespaceObject[key]);
|
43
80
|
}
|
44
81
|
});
|
45
82
|
if (options) {
|
46
|
-
provideGlobalConfig(options, app);
|
83
|
+
(0,external_config_provider_namespaceObject.provideGlobalConfig)(options, app);
|
47
84
|
}
|
48
85
|
};
|
49
|
-
export default {
|
50
|
-
createInstall,
|
51
|
-
install: createInstall(),
|
52
|
-
version: '0.0.1',
|
53
86
|
};
|
87
|
+
/* harmony default export */ const preset = ({
|
88
|
+
createInstall: createInstall,
|
89
|
+
install: createInstall(),
|
90
|
+
version: '0.0.1'
|
91
|
+
});
|
92
|
+
var __webpack_exports__default = __webpack_exports__["default"];
|
93
|
+
export { __webpack_exports__default as default };
|
package/lib/table/index.js
CHANGED
@@ -716,6 +716,9 @@ var TableColumnProp = {
|
|
716
716
|
mounted: function mounted() {
|
717
717
|
this.updateColumnDefine();
|
718
718
|
},
|
719
|
+
updated: function updated() {
|
720
|
+
this.updateColumnDefineByParent();
|
721
|
+
},
|
719
722
|
methods: {
|
720
723
|
updateColumnDefine: function updateColumnDefine() {
|
721
724
|
var unmounted = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
@@ -2941,7 +2944,7 @@ var skipThisColumn = function skipThisColumn(columns, colIndex, row, rowIndex) {
|
|
2941
2944
|
for (var i = colIndex; i > 0; i--) {
|
2942
2945
|
var colspan = resolveColumnSpan(columns[i], i, row, rowIndex, 'colspan');
|
2943
2946
|
if (colspan > 1) {
|
2944
|
-
skip = colspan - 1
|
2947
|
+
skip = colspan - 1;
|
2945
2948
|
break;
|
2946
2949
|
}
|
2947
2950
|
}
|
@@ -6100,7 +6103,7 @@ function use_render_isSlot(s) {
|
|
6100
6103
|
}
|
6101
6104
|
return '';
|
6102
6105
|
};
|
6103
|
-
var getRowSpanConfig = function getRowSpanConfig(row,
|
6106
|
+
var getRowSpanConfig = function getRowSpanConfig(row, rowIndex, preRow, col, store) {
|
6104
6107
|
var _store$get$get, _store$get;
|
6105
6108
|
if (!store.has(row)) {
|
6106
6109
|
store.set(row, new WeakMap());
|
@@ -6115,7 +6118,7 @@ function use_render_isSlot(s) {
|
|
6115
6118
|
_ref$skipRowLen = _ref.skipRowLen,
|
6116
6119
|
skipRowLen = _ref$skipRowLen === void 0 ? 0 : _ref$skipRowLen;
|
6117
6120
|
var skipRow = false;
|
6118
|
-
var rowspan = resolveColumnSpan(col, null, row,
|
6121
|
+
var rowspan = resolveColumnSpan(col, null, row, rowIndex, 'rowspan');
|
6119
6122
|
if (skipRowLen > 1) {
|
6120
6123
|
skipRowLen = skipRowLen - 1;
|
6121
6124
|
skipRow = true;
|
@@ -6188,7 +6191,7 @@ function use_render_isSlot(s) {
|
|
6188
6191
|
rowspan = _resolveCellSpan.rowspan;
|
6189
6192
|
var _tableResp$getColumnA = tableResp.getColumnAttribute(column, COLUMN_ATTRIBUTE.COL_SPAN),
|
6190
6193
|
skipCol = _tableResp$getColumnA.skipCol;
|
6191
|
-
var _ref2 = needRowSpan && !isChild ? getRowSpanConfig(row,
|
6194
|
+
var _ref2 = needRowSpan && !isChild ? getRowSpanConfig(row, rowIndex, preRow, column, rowSpanMap) : {
|
6192
6195
|
skipRow: false
|
6193
6196
|
},
|
6194
6197
|
skipRow = _ref2.skipRow;
|
package/lib/table/utils.d.ts
CHANGED
@@ -111,7 +111,7 @@ export declare const resolveCellSpan: (column: Column, colIndex: number, row: an
|
|
111
111
|
colspan: any;
|
112
112
|
rowspan: any;
|
113
113
|
};
|
114
|
-
export declare const skipThisColumn: (columns: Column[], colIndex: number, row: any, rowIndex: number) =>
|
114
|
+
export declare const skipThisColumn: (columns: Column[], colIndex: number, row: any, rowIndex: number) => number | false;
|
115
115
|
export declare const getSortFn: (column: any, sortType: any, format?: any[]) => ((_a: any, _b: any) => boolean) | ((_a: any, _b: any) => number);
|
116
116
|
export declare const getNextSortType: (sortType: string) => string;
|
117
117
|
export declare const resolveSort: (sort: ISortPropShape, column: any, format?: any[]) => ({
|
@@ -677,6 +677,9 @@ var TableColumnProp = {
|
|
677
677
|
mounted: function mounted() {
|
678
678
|
this.updateColumnDefine();
|
679
679
|
},
|
680
|
+
updated: function updated() {
|
681
|
+
this.updateColumnDefineByParent();
|
682
|
+
},
|
680
683
|
methods: {
|
681
684
|
updateColumnDefine: function updateColumnDefine() {
|
682
685
|
var unmounted = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|