bkui-vue 0.0.1-beta.397 → 0.0.1-beta.398
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 +26 -26
- package/dist/index.esm.js +6 -7
- package/dist/index.umd.js +3 -3
- package/lib/plugin-popover/index.js +1 -1
- package/lib/popover/index.d.ts +9 -31
- package/lib/popover/index.js +1 -1
- package/lib/popover/popover.d.ts +4 -14
- package/lib/popover/props.d.ts +2 -6
- package/lib/popover/use-floating.d.ts +1 -4
- package/lib/search-select/index.js +1 -1
- package/lib/select/index.d.ts +6 -18
- package/lib/select/select.d.ts +2 -6
- package/lib/table/index.js +1 -1
- package/lib/tag-input/index.d.ts +8 -24
- package/lib/tag-input/tag-input.d.ts +6 -26
- package/lib/tag-input/tag-props.d.ts +2 -6
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
@@ -11092,9 +11092,9 @@ const PopoverProps = __spreadValues({
|
|
11092
11092
|
height: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).def("auto"),
|
11093
11093
|
maxHeight: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).def("auto"),
|
11094
11094
|
content: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).def(""),
|
11095
|
-
placement: placementType().def(PlacementEnum.TOP),
|
11095
|
+
placement: PropTypes.oneOfType([placementType().def(PlacementEnum.TOP), PropTypes.string]),
|
11096
11096
|
theme: PropTypes.string.def("dark"),
|
11097
|
-
trigger: triggerType(),
|
11097
|
+
trigger: PropTypes.oneOfType([triggerType(), PropTypes.string]),
|
11098
11098
|
renderType: renderType(),
|
11099
11099
|
arrow: PropTypes.bool.def(true),
|
11100
11100
|
padding: PropTypes.number.def(5),
|
@@ -18727,15 +18727,16 @@ var useFixedColumn = (_props, colgroups, hasScrollY) => {
|
|
18727
18727
|
const getPreColumnOffset = (fixedPos, column, offset2 = 0) => {
|
18728
18728
|
const sourceId = column[COLUMN_ATTRIBUTE.COL_UID];
|
18729
18729
|
const opt = fixedPos === "right" ? -1 : 1;
|
18730
|
+
const filterColumns = colgroups.filter((col) => !col.isHidden);
|
18730
18731
|
const {
|
18731
18732
|
length
|
18732
|
-
} =
|
18733
|
+
} = filterColumns;
|
18733
18734
|
let start2 = fixedPos === "right" ? length * opt : 1;
|
18734
18735
|
let preOffset = 0;
|
18735
18736
|
for (start2; ; ) {
|
18736
18737
|
start2 = start2 + -1 * opt;
|
18737
18738
|
const index2 = Math.abs(start2);
|
18738
|
-
const current =
|
18739
|
+
const current = filterColumns[index2];
|
18739
18740
|
const curFixedPos = resolveFixColPos(current);
|
18740
18741
|
const id = current[COLUMN_ATTRIBUTE.COL_UID];
|
18741
18742
|
if (curFixedPos === fixedPos && sourceId !== id) {
|
@@ -19727,6 +19728,7 @@ const useInit = (props2, targetColumns) => {
|
|
19727
19728
|
}
|
19728
19729
|
});
|
19729
19730
|
reactiveSchema.rowActions.set(TABLE_ROW_ATTRIBUTE.ROW_SELECTION_INDETERMINATE, hasChecked && hasUnchecked);
|
19731
|
+
reactiveSchema.rowActions.set(TABLE_ROW_ATTRIBUTE.ROW_SELECTION_ALL, hasChecked && !hasUnchecked);
|
19730
19732
|
};
|
19731
19733
|
const isSelectionEnable = () => props2.columns.some((col) => col.type === "selection");
|
19732
19734
|
const initSelectionAllByData = () => {
|
@@ -38873,9 +38875,6 @@ var SearchSelectInput = defineComponent({
|
|
38873
38875
|
return;
|
38874
38876
|
}
|
38875
38877
|
usingItem.value.addValue(item);
|
38876
|
-
if (usingItem.value.multiple) {
|
38877
|
-
keyword.value = "";
|
38878
|
-
}
|
38879
38878
|
const res = await validateUsingItemValues(item);
|
38880
38879
|
if (!res)
|
38881
38880
|
return;
|