@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 CHANGED
@@ -15,7 +15,6 @@ const PhotoSwipeLightbox = require('photoswipe/lightbox');
15
15
  const helperCache = require('@deot/helper-cache');
16
16
  const Load = require('@deot/helper-load');
17
17
  const helperScheduler = require('@deot/helper-scheduler');
18
- const lodash = require('lodash');
19
18
  const helperFp = require('@deot/helper-fp');
20
19
 
21
20
  function _interopNamespaceDefault(e) {
@@ -14518,7 +14517,7 @@ class BaseWatcher {
14518
14517
  // compputeds
14519
14518
  isComplex: vue.computed(() => this.states.leftFixedColumns.length > 0 || this.states.rightFixedColumns.length > 0),
14520
14519
  isGroup: vue.computed(() => this.states.columns.length > this.states.originColumns.length),
14521
- columns: vue.computed(() => lodash.concat(this.states.leftFixedLeafColumns, this.states.leafColumns, this.states.rightFixedLeafColumns)),
14520
+ columns: vue.computed(() => lodashEs.concat(this.states.leftFixedLeafColumns, this.states.leafColumns, this.states.rightFixedLeafColumns)),
14522
14521
  leafColumns: vue.computed(() => flattenData(this.states.notFixedColumns)),
14523
14522
  leftFixedLeafColumns: vue.computed(() => flattenData(this.states.leftFixedColumns)),
14524
14523
  rightFixedLeafColumns: vue.computed(() => flattenData(this.states.rightFixedColumns)),
@@ -15004,7 +15003,7 @@ class Store extends BaseWatcher {
15004
15003
  layout;
15005
15004
  flatData = vue.computed(() => {
15006
15005
  if (this.table.props.expandSelectable) {
15007
- return lodash.concat(
15006
+ return lodashEs.concat(
15008
15007
  flattenData(this.states.data, { parent: true, cascader: true }),
15009
15008
  this.states.treeLazyData
15010
15009
  );
@@ -15023,7 +15022,7 @@ class Store extends BaseWatcher {
15023
15022
  this.tree = new Tree$1(this);
15024
15023
  this.layout = new Layout(this);
15025
15024
  const { props } = options.table;
15026
- lodash.merge(this.states, {
15025
+ lodashEs.merge(this.states, {
15027
15026
  expandSelectable: props.expandSelectable,
15028
15027
  treeLazy: props.lazy || false,
15029
15028
  treeLazyColumnIdentifier: props.treeMap.hasChildren || "hasChildren",
@@ -15166,7 +15165,7 @@ class Store extends BaseWatcher {
15166
15165
  leftFixedColumns.unshift(_columns[0]);
15167
15166
  }
15168
15167
  const notFixedColumns = _columns.filter((column) => !column.fixed);
15169
- const originColumns = lodash.concat(leftFixedColumns, notFixedColumns, rightFixedColumns);
15168
+ const originColumns = lodashEs.concat(leftFixedColumns, notFixedColumns, rightFixedColumns);
15170
15169
  const headerRows = columnsToRowsEffect(originColumns);
15171
15170
  states.leftFixedColumns = leftFixedColumns;
15172
15171
  states.notFixedColumns = notFixedColumns;
@@ -15265,7 +15264,7 @@ class Store extends BaseWatcher {
15265
15264
  this.table.emit("selection-change", newSelection);
15266
15265
  }
15267
15266
  }
15268
- toggleAllSelection = lodash.debounce(() => {
15267
+ toggleAllSelection = lodashEs.debounce(() => {
15269
15268
  const { indeterminate } = this.table.props;
15270
15269
  const { selection, isAllSelected, selectable } = this.states;
15271
15270
  const value = indeterminate ? !isAllSelected : !(isAllSelected || selection.length);