bkui-vue 2.0.1-beta.49 → 2.0.1-beta.50
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 +489 -483
- package/dist/index.umd.js +1 -1
- package/lib/index.js +1 -1
- package/lib/table/index.js +13 -2
- package/lib/table/props.d.ts +2 -2
- package/package.json +1 -1
package/lib/index.js
CHANGED
package/lib/table/index.js
CHANGED
@@ -22416,6 +22416,17 @@ var ROW_HEIGHT = 32;
|
|
22416
22416
|
isOpen: false,
|
22417
22417
|
checked: checked.value
|
22418
22418
|
});
|
22419
|
+
(0,external_vue_namespaceObject.watch)(function () {
|
22420
|
+
return checked;
|
22421
|
+
}, function () {
|
22422
|
+
var _state$checked;
|
22423
|
+
state.checked.length = 0;
|
22424
|
+
state.checked = [];
|
22425
|
+
(_state$checked = state.checked).push.apply(_state$checked, _toConsumableArray(checked.value));
|
22426
|
+
// handleBtnSaveClick();
|
22427
|
+
}, {
|
22428
|
+
deep: true
|
22429
|
+
});
|
22419
22430
|
var headClass = (0,external_vue_namespaceObject.computed)(function () {
|
22420
22431
|
return (0,shared_namespaceObject.classes)(defineProperty_defineProperty(defineProperty_defineProperty(defineProperty_defineProperty(defineProperty_defineProperty(defineProperty_defineProperty({}, resolveClassName('table-head-action'), true), 'column-filter', true), '--row-height', "".concat(props.height, "px")), "active", state.checked.length), "opened", state.isOpen));
|
22421
22432
|
});
|
@@ -22536,7 +22547,7 @@ var ROW_HEIGHT = 32;
|
|
22536
22547
|
});
|
22537
22548
|
};
|
22538
22549
|
var handleValueChange = function handleValueChange(val, item) {
|
22539
|
-
var _state$
|
22550
|
+
var _state$checked2;
|
22540
22551
|
var setValue = new Set(state.checked);
|
22541
22552
|
if (val) {
|
22542
22553
|
setValue.add(item.value);
|
@@ -22544,7 +22555,7 @@ var ROW_HEIGHT = 32;
|
|
22544
22555
|
setValue["delete"](item.value);
|
22545
22556
|
}
|
22546
22557
|
state.checked.length = 0;
|
22547
|
-
(_state$
|
22558
|
+
(_state$checked2 = state.checked).push.apply(_state$checked2, _toConsumableArray(Array.from(setValue)));
|
22548
22559
|
handleFilterChange();
|
22549
22560
|
};
|
22550
22561
|
var renderFilterList = function renderFilterList(scope) {
|
package/lib/table/props.d.ts
CHANGED
@@ -125,8 +125,8 @@ export type HeadRenderArgs = {
|
|
125
125
|
cell?: Record<string, object>;
|
126
126
|
data?: Record<string, object>[];
|
127
127
|
row?: Record<string, object>;
|
128
|
-
column
|
129
|
-
index
|
128
|
+
column?: Column;
|
129
|
+
index?: number;
|
130
130
|
rows?: Record<string, object>[];
|
131
131
|
};
|
132
132
|
export type RenderFunctionString = (args: HeadRenderArgs) => JSX.Element | boolean | number | string;
|