bkui-vue 1.0.3-beta.34 → 1.0.3-beta.36
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 +23 -23
- package/dist/index.esm.js +1800 -1780
- package/dist/index.umd.js +19 -19
- package/lib/date-picker/common.d.ts +2 -2
- package/lib/date-picker/index.js +48 -76
- package/lib/table/components/table-column.d.ts +104 -1
- package/lib/table/index.d.ts +44 -1
- package/lib/table/index.js +131 -99
- package/lib/table-column/index.d.ts +110 -3
- package/lib/table-column/index.js +130 -10
- package/package.json +1 -1
package/lib/table/index.js
CHANGED
@@ -123,6 +123,94 @@ function defineProperty_defineProperty(obj, key, value) {
|
|
123
123
|
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
124
124
|
var external_vue_y = x => () => x
|
125
125
|
const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragment, ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createTextVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["inject"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.inject, ["isProxy"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.isProxy, ["isVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.isVNode, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps, ["nextTick"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.nextTick, ["onBeforeUnmount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeUnmount, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["provide"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.provide, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["toRaw"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.toRaw, ["toRef"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.toRef, ["unref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.unref, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch, ["watchEffect"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watchEffect });
|
126
|
+
;// CONCATENATED MODULE: ../../node_modules/uuid/dist/esm-browser/native.js
|
127
|
+
const randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);
|
128
|
+
/* harmony default export */ const esm_browser_native = ({
|
129
|
+
randomUUID
|
130
|
+
});
|
131
|
+
;// CONCATENATED MODULE: ../../node_modules/uuid/dist/esm-browser/rng.js
|
132
|
+
// Unique ID creation requires a high quality random # generator. In the browser we therefore
|
133
|
+
// require the crypto API and do not support built-in fallback to lower quality random number
|
134
|
+
// generators (like Math.random()).
|
135
|
+
let getRandomValues;
|
136
|
+
const rnds8 = new Uint8Array(16);
|
137
|
+
function rng() {
|
138
|
+
// lazy load so that environments that need to polyfill have a chance to do so
|
139
|
+
if (!getRandomValues) {
|
140
|
+
// getRandomValues needs to be invoked in a context where "this" is a Crypto implementation.
|
141
|
+
getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto);
|
142
|
+
|
143
|
+
if (!getRandomValues) {
|
144
|
+
throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');
|
145
|
+
}
|
146
|
+
}
|
147
|
+
|
148
|
+
return getRandomValues(rnds8);
|
149
|
+
}
|
150
|
+
;// CONCATENATED MODULE: ../../node_modules/uuid/dist/esm-browser/stringify.js
|
151
|
+
|
152
|
+
/**
|
153
|
+
* Convert array of 16 byte values to UUID string format of the form:
|
154
|
+
* XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
|
155
|
+
*/
|
156
|
+
|
157
|
+
const byteToHex = [];
|
158
|
+
|
159
|
+
for (let i = 0; i < 256; ++i) {
|
160
|
+
byteToHex.push((i + 0x100).toString(16).slice(1));
|
161
|
+
}
|
162
|
+
|
163
|
+
function unsafeStringify(arr, offset = 0) {
|
164
|
+
// Note: Be careful editing this code! It's been tuned for performance
|
165
|
+
// and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434
|
166
|
+
return byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]];
|
167
|
+
}
|
168
|
+
|
169
|
+
function stringify(arr, offset = 0) {
|
170
|
+
const uuid = unsafeStringify(arr, offset); // Consistency check for valid UUID. If this throws, it's likely due to one
|
171
|
+
// of the following:
|
172
|
+
// - One or more input array values don't map to a hex octet (leading to
|
173
|
+
// "undefined" in the uuid)
|
174
|
+
// - Invalid input values for the RFC `version` or `variant` fields
|
175
|
+
|
176
|
+
if (!validate(uuid)) {
|
177
|
+
throw TypeError('Stringified UUID is invalid');
|
178
|
+
}
|
179
|
+
|
180
|
+
return uuid;
|
181
|
+
}
|
182
|
+
|
183
|
+
/* harmony default export */ const esm_browser_stringify = ((/* unused pure expression or super */ null && (stringify)));
|
184
|
+
;// CONCATENATED MODULE: ../../node_modules/uuid/dist/esm-browser/v4.js
|
185
|
+
|
186
|
+
|
187
|
+
|
188
|
+
|
189
|
+
function v4(options, buf, offset) {
|
190
|
+
if (esm_browser_native.randomUUID && !buf && !options) {
|
191
|
+
return esm_browser_native.randomUUID();
|
192
|
+
}
|
193
|
+
|
194
|
+
options = options || {};
|
195
|
+
const rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
|
196
|
+
|
197
|
+
rnds[6] = rnds[6] & 0x0f | 0x40;
|
198
|
+
rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided
|
199
|
+
|
200
|
+
if (buf) {
|
201
|
+
offset = offset || 0;
|
202
|
+
|
203
|
+
for (let i = 0; i < 16; ++i) {
|
204
|
+
buf[offset + i] = rnds[i];
|
205
|
+
}
|
206
|
+
|
207
|
+
return buf;
|
208
|
+
}
|
209
|
+
|
210
|
+
return unsafeStringify(rnds);
|
211
|
+
}
|
212
|
+
|
213
|
+
/* harmony default export */ const esm_browser_v4 = (v4);
|
126
214
|
;// CONCATENATED MODULE: ../../packages/table/src/const.ts
|
127
215
|
|
128
216
|
/*
|
@@ -670,6 +758,7 @@ var tableProps = {
|
|
670
758
|
|
671
759
|
|
672
760
|
|
761
|
+
|
673
762
|
var TableColumnProp = {
|
674
763
|
label: LabelFunctionStringType,
|
675
764
|
field: LabelFunctionStringType,
|
@@ -688,7 +777,10 @@ var TableColumnProp = {
|
|
688
777
|
align: TableAlign,
|
689
778
|
className: RowClassFunctionStringType,
|
690
779
|
prop: LabelFunctionStringType,
|
691
|
-
index: shared_namespaceObject.PropTypes.number.def(undefined)
|
780
|
+
index: shared_namespaceObject.PropTypes.number.def(undefined),
|
781
|
+
uniqueId: shared_namespaceObject.PropTypes.object.def({
|
782
|
+
val: ''
|
783
|
+
})
|
692
784
|
};
|
693
785
|
/* harmony default export */ const table_column = ((0,external_vue_namespaceObject.defineComponent)({
|
694
786
|
name: 'TableColumn',
|
@@ -729,6 +821,7 @@ var TableColumnProp = {
|
|
729
821
|
this.updateColumnDefine(true);
|
730
822
|
},
|
731
823
|
mounted: function mounted() {
|
824
|
+
this.setNodeUid();
|
732
825
|
this.updateColumnDefine();
|
733
826
|
},
|
734
827
|
updated: function updated() {
|
@@ -757,15 +850,35 @@ var TableColumnProp = {
|
|
757
850
|
rsolveIndexedColumn: function rsolveIndexedColumn() {
|
758
851
|
// 如果是设置了Index,则先添加Index列,不做自动递归读取Column
|
759
852
|
if (/\d+\.?\d*/.test("".concat(this.$props.index))) {
|
760
|
-
var
|
761
|
-
|
762
|
-
|
853
|
+
var _props$render;
|
854
|
+
var props = this.$.vnode.props;
|
855
|
+
var resolveProp = Object.assign({}, this.copyProps(props), {
|
856
|
+
field: props.prop || props.field,
|
857
|
+
render: (_props$render = props.render) !== null && _props$render !== void 0 ? _props$render : this.$slots["default"],
|
858
|
+
uniqueId: this.getNodeUid(props)
|
763
859
|
});
|
764
860
|
this.initColumns(resolveProp);
|
765
861
|
return false;
|
766
862
|
}
|
767
863
|
return true;
|
768
864
|
},
|
865
|
+
setNodeUid: function setNodeUid() {
|
866
|
+
var props = this.$.vnode.props;
|
867
|
+
if (props.uniqueId && !props.uniqueId.val) {
|
868
|
+
props.uniqueId.val = esm_browser_v4();
|
869
|
+
}
|
870
|
+
if (!props.uniqueId && !(0,external_vue_namespaceObject.isProxy)(props)) {
|
871
|
+
Object.assign(props, {
|
872
|
+
uniqueId: {
|
873
|
+
val: esm_browser_v4()
|
874
|
+
}
|
875
|
+
});
|
876
|
+
}
|
877
|
+
},
|
878
|
+
getNodeUid: function getNodeUid(props) {
|
879
|
+
var _props$uniqueId;
|
880
|
+
return (_props$uniqueId = props.uniqueId) === null || _props$uniqueId === void 0 ? void 0 : _props$uniqueId.val;
|
881
|
+
},
|
769
882
|
updateColumnDefineByParent: function updateColumnDefineByParent() {
|
770
883
|
var _this = this;
|
771
884
|
if (!this.rsolveIndexedColumn()) {
|
@@ -773,7 +886,7 @@ var TableColumnProp = {
|
|
773
886
|
}
|
774
887
|
var fn = function fn() {
|
775
888
|
// @ts-ignore
|
776
|
-
var selfVnode = _this
|
889
|
+
var selfVnode = _this.$;
|
777
890
|
var getTableNode = function getTableNode(root) {
|
778
891
|
var _parentVnode$type;
|
779
892
|
if (root === document.body || !root) {
|
@@ -785,6 +898,9 @@ var TableColumnProp = {
|
|
785
898
|
}
|
786
899
|
return getTableNode(parentVnode);
|
787
900
|
};
|
901
|
+
var getNodeUid = function getNodeUid(node) {
|
902
|
+
return _this.getNodeUid(node.props);
|
903
|
+
};
|
788
904
|
var tableNode = getTableNode(selfVnode);
|
789
905
|
if (!tableNode) {
|
790
906
|
return;
|
@@ -797,12 +913,13 @@ var TableColumnProp = {
|
|
797
913
|
return null;
|
798
914
|
}
|
799
915
|
if (((_node$type = node.type) === null || _node$type === void 0 ? void 0 : _node$type.name) === 'TableColumn') {
|
800
|
-
var _node$children;
|
916
|
+
var _node$props$render, _node$children;
|
801
917
|
var resolveProp = Object.assign({
|
802
918
|
index: index
|
803
919
|
}, _this.copyProps(node.props), {
|
804
920
|
field: node.props.prop || node.props.field,
|
805
|
-
render: (_node$children = node.children) === null || _node$children === void 0 ? void 0 : _node$children["default"]
|
921
|
+
render: (_node$props$render = node.props.render) !== null && _node$props$render !== void 0 ? _node$props$render : (_node$children = node.children) === null || _node$children === void 0 ? void 0 : _node$children["default"],
|
922
|
+
uniqueId: getNodeUid(node)
|
806
923
|
});
|
807
924
|
sortColumns.push((0,external_vue_namespaceObject.unref)(resolveProp));
|
808
925
|
index = index + 1;
|
@@ -841,9 +958,12 @@ var TableColumnProp = {
|
|
841
958
|
}
|
842
959
|
},
|
843
960
|
unmountColumn: function unmountColumn() {
|
961
|
+
var _props$render2;
|
962
|
+
var props = this.$.vnode.props;
|
844
963
|
var resolveProp = Object.assign({}, this.copyProps(this.$props), {
|
845
|
-
field:
|
846
|
-
render: this.$slots["default"]
|
964
|
+
field: props.prop || props.field,
|
965
|
+
render: (_props$render2 = props.render) !== null && _props$render2 !== void 0 ? _props$render2 : this.$slots["default"],
|
966
|
+
uniqueId: this.getNodeUid(props)
|
847
967
|
});
|
848
968
|
this.initColumns(resolveProp, true);
|
849
969
|
}
|
@@ -2461,94 +2581,6 @@ var index = (function () {
|
|
2461
2581
|
|
2462
2582
|
/* harmony default export */ const ResizeObserver_es = (index);
|
2463
2583
|
|
2464
|
-
;// CONCATENATED MODULE: ../../node_modules/uuid/dist/esm-browser/native.js
|
2465
|
-
const randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);
|
2466
|
-
/* harmony default export */ const esm_browser_native = ({
|
2467
|
-
randomUUID
|
2468
|
-
});
|
2469
|
-
;// CONCATENATED MODULE: ../../node_modules/uuid/dist/esm-browser/rng.js
|
2470
|
-
// Unique ID creation requires a high quality random # generator. In the browser we therefore
|
2471
|
-
// require the crypto API and do not support built-in fallback to lower quality random number
|
2472
|
-
// generators (like Math.random()).
|
2473
|
-
let getRandomValues;
|
2474
|
-
const rnds8 = new Uint8Array(16);
|
2475
|
-
function rng() {
|
2476
|
-
// lazy load so that environments that need to polyfill have a chance to do so
|
2477
|
-
if (!getRandomValues) {
|
2478
|
-
// getRandomValues needs to be invoked in a context where "this" is a Crypto implementation.
|
2479
|
-
getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto);
|
2480
|
-
|
2481
|
-
if (!getRandomValues) {
|
2482
|
-
throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');
|
2483
|
-
}
|
2484
|
-
}
|
2485
|
-
|
2486
|
-
return getRandomValues(rnds8);
|
2487
|
-
}
|
2488
|
-
;// CONCATENATED MODULE: ../../node_modules/uuid/dist/esm-browser/stringify.js
|
2489
|
-
|
2490
|
-
/**
|
2491
|
-
* Convert array of 16 byte values to UUID string format of the form:
|
2492
|
-
* XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
|
2493
|
-
*/
|
2494
|
-
|
2495
|
-
const byteToHex = [];
|
2496
|
-
|
2497
|
-
for (let i = 0; i < 256; ++i) {
|
2498
|
-
byteToHex.push((i + 0x100).toString(16).slice(1));
|
2499
|
-
}
|
2500
|
-
|
2501
|
-
function unsafeStringify(arr, offset = 0) {
|
2502
|
-
// Note: Be careful editing this code! It's been tuned for performance
|
2503
|
-
// and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434
|
2504
|
-
return byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]];
|
2505
|
-
}
|
2506
|
-
|
2507
|
-
function stringify(arr, offset = 0) {
|
2508
|
-
const uuid = unsafeStringify(arr, offset); // Consistency check for valid UUID. If this throws, it's likely due to one
|
2509
|
-
// of the following:
|
2510
|
-
// - One or more input array values don't map to a hex octet (leading to
|
2511
|
-
// "undefined" in the uuid)
|
2512
|
-
// - Invalid input values for the RFC `version` or `variant` fields
|
2513
|
-
|
2514
|
-
if (!validate(uuid)) {
|
2515
|
-
throw TypeError('Stringified UUID is invalid');
|
2516
|
-
}
|
2517
|
-
|
2518
|
-
return uuid;
|
2519
|
-
}
|
2520
|
-
|
2521
|
-
/* harmony default export */ const esm_browser_stringify = ((/* unused pure expression or super */ null && (stringify)));
|
2522
|
-
;// CONCATENATED MODULE: ../../node_modules/uuid/dist/esm-browser/v4.js
|
2523
|
-
|
2524
|
-
|
2525
|
-
|
2526
|
-
|
2527
|
-
function v4(options, buf, offset) {
|
2528
|
-
if (esm_browser_native.randomUUID && !buf && !options) {
|
2529
|
-
return esm_browser_native.randomUUID();
|
2530
|
-
}
|
2531
|
-
|
2532
|
-
options = options || {};
|
2533
|
-
const rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
|
2534
|
-
|
2535
|
-
rnds[6] = rnds[6] & 0x0f | 0x40;
|
2536
|
-
rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided
|
2537
|
-
|
2538
|
-
if (buf) {
|
2539
|
-
offset = offset || 0;
|
2540
|
-
|
2541
|
-
for (let i = 0; i < 16; ++i) {
|
2542
|
-
buf[offset + i] = rnds[i];
|
2543
|
-
}
|
2544
|
-
|
2545
|
-
return buf;
|
2546
|
-
}
|
2547
|
-
|
2548
|
-
return unsafeStringify(rnds);
|
2549
|
-
}
|
2550
|
-
|
2551
|
-
/* harmony default export */ const esm_browser_v4 = (v4);
|
2552
2584
|
;// CONCATENATED MODULE: ../../packages/table/src/utils.tsx
|
2553
2585
|
|
2554
2586
|
|
@@ -4135,7 +4167,7 @@ var tableSchemaResponse = function tableSchemaResponse(props) {
|
|
4135
4167
|
if (!remove) {
|
4136
4168
|
resolveColumns.forEach(function (col) {
|
4137
4169
|
var index = targetColumns.findIndex(function (tc) {
|
4138
|
-
return tc.label === col.label && tc.field === col.field;
|
4170
|
+
return tc.label === col.label && tc.field === col.field && tc.uniqueId === col.uniqueId;
|
4139
4171
|
});
|
4140
4172
|
if (index >= 0) {
|
4141
4173
|
Object.assign(targetColumns[index], col);
|
@@ -4149,7 +4181,7 @@ var tableSchemaResponse = function tableSchemaResponse(props) {
|
|
4149
4181
|
} else {
|
4150
4182
|
resolveColumns.forEach(function (col) {
|
4151
4183
|
var matchColIndex = targetColumns.findIndex(function (c) {
|
4152
|
-
return c.label === col.label && c.field === col.field;
|
4184
|
+
return c.label === col.label && c.field === col.field && c.uniqueId === col.uniqueId;
|
4153
4185
|
});
|
4154
4186
|
if (matchColIndex >= 0) {
|
4155
4187
|
targetColumns.splice(matchColIndex, 1);
|
@@ -48,6 +48,17 @@ declare const BkTableColumn: {
|
|
48
48
|
} & {
|
49
49
|
default: number;
|
50
50
|
};
|
51
|
+
uniqueId: import("vue-types").VueTypeValidableDef<{
|
52
|
+
[key: string]: any;
|
53
|
+
}> & {
|
54
|
+
default: () => {
|
55
|
+
[key: string]: any;
|
56
|
+
};
|
57
|
+
} & {
|
58
|
+
default: () => {
|
59
|
+
[key: string]: any;
|
60
|
+
};
|
61
|
+
};
|
51
62
|
}>>, {
|
52
63
|
isIndexPropChanged: import("vue").Ref<boolean>;
|
53
64
|
setIsIndexChanged: (val: boolean) => void;
|
@@ -93,6 +104,9 @@ declare const BkTableColumn: {
|
|
93
104
|
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
94
105
|
};
|
95
106
|
};
|
107
|
+
uniqueId?: {
|
108
|
+
[key: string]: any;
|
109
|
+
};
|
96
110
|
render?: import("../table/props").RenderFunctionString;
|
97
111
|
sort?: string | boolean | {
|
98
112
|
sortFn?: Function;
|
@@ -178,8 +192,23 @@ declare const BkTableColumn: {
|
|
178
192
|
} & {
|
179
193
|
default: number;
|
180
194
|
};
|
181
|
-
|
195
|
+
uniqueId: import("vue-types").VueTypeValidableDef<{
|
196
|
+
[key: string]: any;
|
197
|
+
}> & {
|
198
|
+
default: () => {
|
199
|
+
[key: string]: any;
|
200
|
+
};
|
201
|
+
} & {
|
202
|
+
default: () => {
|
203
|
+
[key: string]: any;
|
204
|
+
};
|
205
|
+
};
|
206
|
+
}>> | {
|
207
|
+
[key: string]: any;
|
208
|
+
}): {};
|
182
209
|
rsolveIndexedColumn(): boolean;
|
210
|
+
setNodeUid(): void;
|
211
|
+
getNodeUid(props: any): any;
|
183
212
|
updateColumnDefineByParent(): void;
|
184
213
|
unmountColumn(): void;
|
185
214
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
@@ -231,6 +260,17 @@ declare const BkTableColumn: {
|
|
231
260
|
} & {
|
232
261
|
default: number;
|
233
262
|
};
|
263
|
+
uniqueId: import("vue-types").VueTypeValidableDef<{
|
264
|
+
[key: string]: any;
|
265
|
+
}> & {
|
266
|
+
default: () => {
|
267
|
+
[key: string]: any;
|
268
|
+
};
|
269
|
+
} & {
|
270
|
+
default: () => {
|
271
|
+
[key: string]: any;
|
272
|
+
};
|
273
|
+
};
|
234
274
|
}>>, {
|
235
275
|
fixed: boolean | "right" | "left";
|
236
276
|
resizable: boolean;
|
@@ -239,6 +279,9 @@ declare const BkTableColumn: {
|
|
239
279
|
columnKey: string;
|
240
280
|
colspan: import("../table/props").SpanFunctionString;
|
241
281
|
rowspan: import("../table/props").SpanFunctionString;
|
282
|
+
uniqueId: {
|
283
|
+
[key: string]: any;
|
284
|
+
};
|
242
285
|
}, true, {}, {}, {
|
243
286
|
P: {};
|
244
287
|
B: {};
|
@@ -295,6 +338,17 @@ declare const BkTableColumn: {
|
|
295
338
|
} & {
|
296
339
|
default: number;
|
297
340
|
};
|
341
|
+
uniqueId: import("vue-types").VueTypeValidableDef<{
|
342
|
+
[key: string]: any;
|
343
|
+
}> & {
|
344
|
+
default: () => {
|
345
|
+
[key: string]: any;
|
346
|
+
};
|
347
|
+
} & {
|
348
|
+
default: () => {
|
349
|
+
[key: string]: any;
|
350
|
+
};
|
351
|
+
};
|
298
352
|
}>>, {
|
299
353
|
isIndexPropChanged: import("vue").Ref<boolean>;
|
300
354
|
setIsIndexChanged: (val: boolean) => void;
|
@@ -340,6 +394,9 @@ declare const BkTableColumn: {
|
|
340
394
|
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
341
395
|
};
|
342
396
|
};
|
397
|
+
uniqueId?: {
|
398
|
+
[key: string]: any;
|
399
|
+
};
|
343
400
|
render?: import("../table/props").RenderFunctionString;
|
344
401
|
sort?: string | boolean | {
|
345
402
|
sortFn?: Function;
|
@@ -425,8 +482,23 @@ declare const BkTableColumn: {
|
|
425
482
|
} & {
|
426
483
|
default: number;
|
427
484
|
};
|
428
|
-
|
485
|
+
uniqueId: import("vue-types").VueTypeValidableDef<{
|
486
|
+
[key: string]: any;
|
487
|
+
}> & {
|
488
|
+
default: () => {
|
489
|
+
[key: string]: any;
|
490
|
+
};
|
491
|
+
} & {
|
492
|
+
default: () => {
|
493
|
+
[key: string]: any;
|
494
|
+
};
|
495
|
+
};
|
496
|
+
}>> | {
|
497
|
+
[key: string]: any;
|
498
|
+
}): {};
|
429
499
|
rsolveIndexedColumn(): boolean;
|
500
|
+
setNodeUid(): void;
|
501
|
+
getNodeUid(props: any): any;
|
430
502
|
updateColumnDefineByParent(): void;
|
431
503
|
unmountColumn(): void;
|
432
504
|
}, {
|
@@ -437,6 +509,9 @@ declare const BkTableColumn: {
|
|
437
509
|
columnKey: string;
|
438
510
|
colspan: import("../table/props").SpanFunctionString;
|
439
511
|
rowspan: import("../table/props").SpanFunctionString;
|
512
|
+
uniqueId: {
|
513
|
+
[key: string]: any;
|
514
|
+
};
|
440
515
|
}>;
|
441
516
|
__isFragment?: never;
|
442
517
|
__isTeleport?: never;
|
@@ -490,6 +565,17 @@ declare const BkTableColumn: {
|
|
490
565
|
} & {
|
491
566
|
default: number;
|
492
567
|
};
|
568
|
+
uniqueId: import("vue-types").VueTypeValidableDef<{
|
569
|
+
[key: string]: any;
|
570
|
+
}> & {
|
571
|
+
default: () => {
|
572
|
+
[key: string]: any;
|
573
|
+
};
|
574
|
+
} & {
|
575
|
+
default: () => {
|
576
|
+
[key: string]: any;
|
577
|
+
};
|
578
|
+
};
|
493
579
|
}>>, {
|
494
580
|
isIndexPropChanged: import("vue").Ref<boolean>;
|
495
581
|
setIsIndexChanged: (val: boolean) => void;
|
@@ -535,6 +621,9 @@ declare const BkTableColumn: {
|
|
535
621
|
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
536
622
|
};
|
537
623
|
};
|
624
|
+
uniqueId?: {
|
625
|
+
[key: string]: any;
|
626
|
+
};
|
538
627
|
render?: import("../table/props").RenderFunctionString;
|
539
628
|
sort?: string | boolean | {
|
540
629
|
sortFn?: Function;
|
@@ -620,8 +709,23 @@ declare const BkTableColumn: {
|
|
620
709
|
} & {
|
621
710
|
default: number;
|
622
711
|
};
|
623
|
-
|
712
|
+
uniqueId: import("vue-types").VueTypeValidableDef<{
|
713
|
+
[key: string]: any;
|
714
|
+
}> & {
|
715
|
+
default: () => {
|
716
|
+
[key: string]: any;
|
717
|
+
};
|
718
|
+
} & {
|
719
|
+
default: () => {
|
720
|
+
[key: string]: any;
|
721
|
+
};
|
722
|
+
};
|
723
|
+
}>> | {
|
724
|
+
[key: string]: any;
|
725
|
+
}): {};
|
624
726
|
rsolveIndexedColumn(): boolean;
|
727
|
+
setNodeUid(): void;
|
728
|
+
getNodeUid(props: any): any;
|
625
729
|
updateColumnDefineByParent(): void;
|
626
730
|
unmountColumn(): void;
|
627
731
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
@@ -632,5 +736,8 @@ declare const BkTableColumn: {
|
|
632
736
|
columnKey: string;
|
633
737
|
colspan: import("../table/props").SpanFunctionString;
|
634
738
|
rowspan: import("../table/props").SpanFunctionString;
|
739
|
+
uniqueId: {
|
740
|
+
[key: string]: any;
|
741
|
+
};
|
635
742
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
|
636
743
|
export default BkTableColumn;
|