@deot/vc-components 1.0.37 → 1.0.38
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 +5 -6
- package/dist/index.iife.js +53 -17240
- package/dist/index.js +3 -4
- package/dist/index.umd.cjs +53 -17240
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { reactive, defineComponent, createVNode, ref, watch, getCurrentInstance, computed, TransitionGroup, Transition as Transition$1, h, inject, provide, shallowRef, onMounted, onUnmounted, withDirectives, vShow, createApp, onBeforeUnmount, Fragment as Fragment$1, Teleport, withModifiers, nextTick, isVNode, onBeforeMount, mergeProps, createTextVNode, toRaw, onUpdated, useAttrs as useAttrs$1 } from 'vue';
|
|
2
|
-
import { debounce, isEqualWith, pick, startCase, throttle, cloneDeep, max, merge
|
|
2
|
+
import { debounce, isEqualWith, pick, startCase, throttle, cloneDeep, concat, max, merge, isEmpty as isEmpty$1, kebabCase } from 'lodash-es';
|
|
3
3
|
import { Resize } from '@deot/helper-resize';
|
|
4
4
|
import { Utils as Utils$1, IS_SERVER as IS_SERVER$1 } from '@deot/vc-shared';
|
|
5
5
|
import * as Utils from '@deot/helper-utils';
|
|
@@ -14,7 +14,6 @@ import { Storage } from '@deot/helper-cache';
|
|
|
14
14
|
import * as Load from '@deot/helper-load';
|
|
15
15
|
import { style } from '@deot/helper-load';
|
|
16
16
|
import { Interrupter } from '@deot/helper-scheduler';
|
|
17
|
-
import { concat, merge, debounce as debounce$1 } from 'lodash';
|
|
18
17
|
import { compose } from '@deot/helper-fp';
|
|
19
18
|
|
|
20
19
|
class VcError {
|
|
@@ -15243,7 +15242,7 @@ class Store extends BaseWatcher {
|
|
|
15243
15242
|
this.table.emit("selection-change", newSelection);
|
|
15244
15243
|
}
|
|
15245
15244
|
}
|
|
15246
|
-
toggleAllSelection = debounce
|
|
15245
|
+
toggleAllSelection = debounce(() => {
|
|
15247
15246
|
const { indeterminate } = this.table.props;
|
|
15248
15247
|
const { selection, isAllSelected, selectable } = this.states;
|
|
15249
15248
|
const value = indeterminate ? !isAllSelected : !(isAllSelected || selection.length);
|
|
@@ -17196,7 +17195,7 @@ const TableColumn = /* @__PURE__ */ defineComponent({
|
|
|
17196
17195
|
realAlign,
|
|
17197
17196
|
realHeaderAlign
|
|
17198
17197
|
};
|
|
17199
|
-
let column = merge
|
|
17198
|
+
let column = merge(defaults, getPropsData(Object.keys(props)));
|
|
17200
17199
|
|
|
17201
17200
|
// minWidth/realWidth/renderHeader
|
|
17202
17201
|
column = compose(setColumnRenders, setColumnWidth, setColumnForcedProps)(column);
|