@opentinyvue/vue-grid 2.26.0 → 2.27.0

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/lib/index.js CHANGED
@@ -263,6 +263,7 @@ function _extends() {
263
263
  var GlobalConfig$1 = {
264
264
  validConfig: {
265
265
  message: "tooltip",
266
+ highlightError: false,
266
267
  icon: iconError()
267
268
  },
268
269
  editConfig: {
@@ -2035,6 +2036,38 @@ var getEventParams = function getEventParams2(_ref17, $table) {
2035
2036
  var isOperateMouse = function isOperateMouse2($table) {
2036
2037
  return $table._isResize || $table.lastScrollTime && Date.now() < $table.lastScrollTime + $table.optimizeOpts.delayHover;
2037
2038
  };
2039
+ var hideAlignLines = function hideAlignLines2($table, cell) {
2040
+ var _$table$mouseConfig;
2041
+ if (!((_$table$mouseConfig = $table.mouseConfig) != null && _$table$mouseConfig.hover) || cell) {
2042
+ return;
2043
+ }
2044
+ var xBar = $table.elemStore["main-body-alignXBar"];
2045
+ var yBar = $table.elemStore["main-body-alignYBar"];
2046
+ if (xBar) {
2047
+ xBar.style.display = "none";
2048
+ }
2049
+ if (yBar) {
2050
+ yBar.style.display = "none";
2051
+ }
2052
+ };
2053
+ var showAlignLines = function showAlignLines2($table, cell) {
2054
+ var _$table$mouseConfig2;
2055
+ if (!((_$table$mouseConfig2 = $table.mouseConfig) != null && _$table$mouseConfig2.hover)) {
2056
+ return;
2057
+ }
2058
+ var xBar = $table.elemStore["main-body-alignXBar"];
2059
+ var yBar = $table.elemStore["main-body-alignYBar"];
2060
+ if (xBar) {
2061
+ xBar.style.display = "block";
2062
+ xBar.style.top = cell.offsetTop - 1 + "px";
2063
+ xBar.style.setProperty("--after-top-offset", cell.offsetHeight + "px");
2064
+ }
2065
+ if (yBar) {
2066
+ yBar.style.display = "block";
2067
+ yBar.style.left = cell.offsetLeft - 1 + "px";
2068
+ yBar.style.setProperty("--after-left-offset", cell.offsetWidth + "px");
2069
+ }
2070
+ };
2038
2071
  var useCellEvent = function useCellEvent2(_ref21) {
2039
2072
  var table = _ref21.table, $table = _ref21.$table;
2040
2073
  var isBound = false;
@@ -2082,7 +2115,7 @@ var useCellEvent = function useCellEvent2(_ref21) {
2082
2115
  var source = getEventSource(e, $table);
2083
2116
  if (source) {
2084
2117
  var params = getEventParams(source, $table);
2085
- var _$table$mouseConfig = $table.mouseConfig, mouseConfig = _$table$mouseConfig === void 0 ? {} : _$table$mouseConfig;
2118
+ var _$table$mouseConfig3 = $table.mouseConfig, mouseConfig = _$table$mouseConfig3 === void 0 ? {} : _$table$mouseConfig3;
2086
2119
  if (source.part === "header" && mouseConfig.checked) {
2087
2120
  $table.triggerHeaderCellMousedownEvent(e, params);
2088
2121
  }
@@ -2100,7 +2133,7 @@ var useCellEvent = function useCellEvent2(_ref21) {
2100
2133
  var satisfy = function satisfy2(equal, trigger2) {
2101
2134
  return trigger2 === "row" || equal(column) && trigger2 === "cell";
2102
2135
  };
2103
- var editConfig = $table.editConfig, _$table$expandConfig = $table.expandConfig, expandConfig = _$table$expandConfig === void 0 ? {} : _$table$expandConfig, highlightCurrentColumn = $table.highlightCurrentColumn, highlightCurrentRow = $table.highlightCurrentRow, _$table$mouseConfig2 = $table.mouseConfig, mouseConfig = _$table$mouseConfig2 === void 0 ? {} : _$table$mouseConfig2, _$table$radioConfig = $table.radioConfig, radioConfig = _$table$radioConfig === void 0 ? {} : _$table$radioConfig, _$table$selectConfig = $table.selectConfig, selectConfig = _$table$selectConfig === void 0 ? {} : _$table$selectConfig, sortOpts2 = $table.sortOpts, tableListeners = $table.tableListeners, _$table$treeConfig = $table.treeConfig, treeConfig = _$table$treeConfig === void 0 ? {} : _$table$treeConfig;
2136
+ var editConfig = $table.editConfig, _$table$expandConfig = $table.expandConfig, expandConfig = _$table$expandConfig === void 0 ? {} : _$table$expandConfig, highlightCurrentColumn = $table.highlightCurrentColumn, highlightCurrentRow = $table.highlightCurrentRow, _$table$mouseConfig4 = $table.mouseConfig, mouseConfig = _$table$mouseConfig4 === void 0 ? {} : _$table$mouseConfig4, _$table$radioConfig = $table.radioConfig, radioConfig = _$table$radioConfig === void 0 ? {} : _$table$radioConfig, _$table$selectConfig = $table.selectConfig, selectConfig = _$table$selectConfig === void 0 ? {} : _$table$selectConfig, sortOpts2 = $table.sortOpts, tableListeners = $table.tableListeners, _$table$treeConfig = $table.treeConfig, treeConfig = _$table$treeConfig === void 0 ? {} : _$table$treeConfig;
2104
2137
  if (source.part === "header" && (highlightCurrentColumn || tableListeners["header-cell-click"] || mouseConfig.checked || sortOpts2.trigger === "cell")) {
2105
2138
  $table.triggerHeaderCellClickEvent(e, params);
2106
2139
  }
@@ -2232,6 +2265,7 @@ var useCellEvent = function useCellEvent2(_ref21) {
2232
2265
  if (tableListeners["cell-mouseleave"]) {
2233
2266
  emitEvent($table, "cell-mouseleave", [params, e]);
2234
2267
  }
2268
+ hideAlignLines($table, curCell);
2235
2269
  }
2236
2270
  }
2237
2271
  if (curCell) {
@@ -2241,6 +2275,7 @@ var useCellEvent = function useCellEvent2(_ref21) {
2241
2275
  if (tableListeners["cell-mouseenter"]) {
2242
2276
  emitEvent($table, "cell-mouseenter", [_params, _e]);
2243
2277
  }
2278
+ showAlignLines($table, curCell);
2244
2279
  }
2245
2280
  }
2246
2281
  });
@@ -2781,7 +2816,7 @@ function renderColumn(_ref39) {
2781
2816
  row: row2,
2782
2817
  column
2783
2818
  } : _ref40$params;
2784
- var isMessageDefault = validOpts2.isMessageDefault, isMessageInline = validOpts2.isMessageInline;
2819
+ var isMessageDefault = validOpts2.isMessageDefault, isMessageInline = validOpts2.isMessageInline, highlightError = validOpts2.highlightError;
2785
2820
  var actived = editStore.actived;
2786
2821
  var validated = validatedMap[column.id + "-" + row2[rowId]];
2787
2822
  var validError = validStore.row === row2 && validStore.column === column;
@@ -2810,7 +2845,7 @@ function renderColumn(_ref39) {
2810
2845
  "rowspan": attrs.rowspan > 1 ? attrs.rowspan : void 0,
2811
2846
  "colspan": attrs.colspan > 1 ? attrs.colspan : void 0
2812
2847
  },
2813
- "class": ["tiny-grid-body__column", column.id, (_ref41 = {}, _ref41["col__" + cellAlign] = cellAlign, _ref41["col__edit"] = editor, _ref41["col__index"] = column.type === "index", _ref41["col__radio"] = column.type === "radio", _ref41["col__selection"] = column.type === "selection", _ref41["col__ellipsis"] = cellOverflowHint, _ref41["edit__visible"] = editor && editor.type === "visible", _ref41["col__dirty"] = isDirty, _ref41["col__actived"] = columnActived, _ref41["col__valid-error"] = validError && validated, _ref41["col__valid-success"] = columnActived ? !validError && !validated : isDirty && !validated, _ref41["col__treenode"] = column.treeNode, _ref41), getClass(className, params), getClass(cellClassName, params), getFixedClass(column, $table), attrs._stickyClass || ""]
2848
+ "class": ["tiny-grid-body__column", column.id, (_ref41 = {}, _ref41["col__" + cellAlign] = cellAlign, _ref41["col__edit"] = editor, _ref41["col__index"] = column.type === "index", _ref41["col__radio"] = column.type === "radio", _ref41["col__selection"] = column.type === "selection", _ref41["col__ellipsis"] = cellOverflowHint, _ref41["edit__visible"] = editor && editor.type === "visible", _ref41["col__dirty"] = isDirty, _ref41["col__actived"] = columnActived, _ref41["col__highlight-error"] = highlightError && validated, _ref41["col__valid-error"] = validError && validated, _ref41["col__valid-success"] = columnActived ? !validError && !validated : isDirty && !validated, _ref41["col__treenode"] = column.treeNode, _ref41), getClass(className, params), getClass(cellClassName, params), getFixedClass(column, $table), attrs._stickyClass || ""]
2814
2849
  }, [[
2815
2850
  // 行拖拽手柄
2816
2851
  dropConfig.rowHandle === "index" && column.type === "index" ? h("div", {
@@ -2847,7 +2882,7 @@ function renderHeaderRows(_vm) {
2847
2882
  var $table = _vm.$parent, headerTable = _vm.headerTable;
2848
2883
  var headerCellClassName = $table.headerCellClassName, headerRowClassName = $table.headerRowClassName, headerSuffixIconAbsolute = $table.headerSuffixIconAbsolute;
2849
2884
  var allAlign = $table.align, border = $table.border, allHeaderAlign = $table.headerAlign, resizable = $table.resizable;
2850
- var editConfig = $table.editConfig, operationColumnResizable = $table.operationColumnResizable, _$table$mouseConfig3 = $table.mouseConfig, mouseConfig = _$table$mouseConfig3 === void 0 ? {} : _$table$mouseConfig3, _$table$dropConfig2 = $table.dropConfig, dropConfig = _$table$dropConfig2 === void 0 ? {} : _$table$dropConfig2;
2885
+ var editConfig = $table.editConfig, operationColumnResizable = $table.operationColumnResizable, _$table$mouseConfig5 = $table.mouseConfig, mouseConfig = _$table$mouseConfig5 === void 0 ? {} : _$table$mouseConfig5, _$table$dropConfig2 = $table.dropConfig, dropConfig = _$table$dropConfig2 === void 0 ? {} : _$table$dropConfig2;
2851
2886
  return headerTable.map(function(cols, $rowIndex) {
2852
2887
  return h("tr", {
2853
2888
  "attrs": {
@@ -3427,6 +3462,8 @@ var Body = defineComponent({
3427
3462
  var thead = hooks.ref();
3428
3463
  var tbody = hooks.ref();
3429
3464
  var ySpace = hooks.ref();
3465
+ var alignXBar = hooks.ref();
3466
+ var alignYBar = hooks.ref();
3430
3467
  hooks.watch(wrapperScrollLeft, function(wrapperScrollLeft2) {
3431
3468
  var el = stickyWrapper.value;
3432
3469
  if (!el) return;
@@ -3452,13 +3489,15 @@ var Body = defineComponent({
3452
3489
  $table
3453
3490
  });
3454
3491
  var _useCellSpan = useCellSpan(vm, props), normalRows = _useCellSpan.normalRows, footerRows = _useCellSpan.footerRows;
3455
- hooks.watch([body, table, thead, tbody, ySpace], function() {
3492
+ hooks.watch([body, table, thead, tbody, ySpace, alignXBar, alignYBar], function() {
3456
3493
  var elemStore = $table.elemStore;
3457
3494
  elemStore["main-body-wrapper"] = body.value;
3458
3495
  elemStore["main-body-table"] = table.value;
3459
3496
  elemStore["main-body-headerList"] = thead.value;
3460
3497
  elemStore["main-body-list"] = tbody.value;
3461
3498
  elemStore["main-body-ySpace"] = ySpace.value;
3499
+ elemStore["main-body-alignXBar"] = alignXBar.value;
3500
+ elemStore["main-body-alignYBar"] = alignYBar.value;
3462
3501
  });
3463
3502
  var bodyClientWidth = hooks.ref(0);
3464
3503
  var resizeObserver = new ResizeObserver(function(entries) {
@@ -3533,6 +3572,8 @@ var Body = defineComponent({
3533
3572
  thead,
3534
3573
  tbody,
3535
3574
  ySpace,
3575
+ alignXBar,
3576
+ alignYBar,
3536
3577
  normalRows,
3537
3578
  footerRows,
3538
3579
  resetStickyWrapperScrollPos
@@ -3554,11 +3595,26 @@ var Body = defineComponent({
3554
3595
  "no-data": isNoData && $table.isShapeTable
3555
3596
  },
3556
3597
  "style": {
3598
+ "--body-container-scroll-height": containerScrollHeight + "px",
3599
+ "--body-container-scroll-width": containerScrollWidth + "px",
3557
3600
  height: bodyWrapperHeight ? bodyWrapperHeight + "px" : void 0,
3558
3601
  minHeight: bodyWrapperMinHeight ? bodyWrapperMinHeight + "px" : void 0,
3559
3602
  maxHeight: bodyWrapperMaxHeight ? bodyWrapperMaxHeight + "px" : void 0
3560
3603
  }
3561
3604
  }, [[
3605
+ mouseConfig != null && mouseConfig.hover ? [h2("div", {
3606
+ "ref": "alignYBar",
3607
+ "class": "tiny-grid-body__hover-align-y-bar",
3608
+ "style": {
3609
+ height: containerScrollHeight + "px"
3610
+ }
3611
+ }), h2("div", {
3612
+ "ref": "alignXBar",
3613
+ "class": "tiny-grid-body__hover-align-x-bar",
3614
+ "style": {
3615
+ width: containerScrollWidth + "px"
3616
+ }
3617
+ })] : null,
3562
3618
  h2("div", {
3563
3619
  "class": "tiny-grid-body__x-space",
3564
3620
  "style": {
@@ -7560,19 +7616,26 @@ var Methods$d = {
7560
7616
  clearAll: function clearAll(silent) {
7561
7617
  var _this$$grid$fetchOpti = this.$grid.fetchOption, fetchOption = _this$$grid$fetchOpti === void 0 ? {} : _this$$grid$fetchOpti;
7562
7618
  var isReloadFilter = fetchOption.isReloadFilter, _fetchOption$isReload = fetchOption.isReloadScroll, isReloadScroll = _fetchOption$isReload === void 0 ? false : _fetchOption$isReload;
7563
- var functionNames = ["clearScroll", "clearSort", "clearCurrentRow", "clearCurrentColumn", "clearSelection", "clearRowExpand", "clearTreeExpand"];
7564
- if (isReloadScroll) {
7565
- functionNames = functionNames.filter(function(i) {
7566
- return i !== "clearScroll";
7567
- });
7619
+ this.clearSort();
7620
+ this.clearCurrentRow();
7621
+ this.clearCurrentColumn();
7622
+ this.clearSelection();
7623
+ this.clearRowExpand();
7624
+ this.clearTreeExpand();
7625
+ this.clearValidateMap();
7626
+ if (!isReloadScroll) {
7627
+ this.clearScroll();
7568
7628
  }
7569
- run(functionNames, this);
7570
7629
  this.cellStatus.clear();
7571
7630
  if (typeof isReloadFilter === "undefined" ? Grid$1._filter : !isReloadFilter) {
7572
7631
  this.clearFilter(silent);
7573
7632
  }
7574
7633
  if (this.keyboardConfig || this.mouseConfig) {
7575
- run(["clearIndexChecked", "clearHeaderChecked", "clearChecked", "clearSelected", "clearCopyed"], this);
7634
+ this.clearIndexChecked();
7635
+ this.clearHeaderChecked();
7636
+ this.clearChecked();
7637
+ this.clearSelected();
7638
+ this.clearCopyed();
7576
7639
  }
7577
7640
  return this.clearActived();
7578
7641
  },
@@ -7581,6 +7644,7 @@ var Methods$d = {
7581
7644
  var next = function next2() {
7582
7645
  _this16.tableData = [];
7583
7646
  _this16.cellStatus.clear();
7647
+ _this16.clearValidateMap();
7584
7648
  return _this16.loadTableData(data7 || _this16.tableFullData);
7585
7649
  };
7586
7650
  return this.$nextTick().then(next);
@@ -10983,7 +11047,8 @@ var Table = defineComponent({
10983
11047
  id: "",
10984
11048
  multi: false,
10985
11049
  options: [],
10986
- visible: false
11050
+ visible: false,
11051
+ searchValue: ""
10987
11052
  },
10988
11053
  // 所有列已禁用
10989
11054
  headerCheckDisabled: false,
@@ -11265,6 +11330,8 @@ var Table = defineComponent({
11265
11330
  var bodyWrapperHeight = hooks.ref();
11266
11331
  var bodyWrapperMinHeight = hooks.ref();
11267
11332
  var bodyWrapperMaxHeight = hooks.ref();
11333
+ var containerScrollWidth = hooks.ref(0);
11334
+ var containerScrollHeight = hooks.ref(0);
11268
11335
  var bodyTableWidth = hooks.ref();
11269
11336
  var scrollLoadScrollHeight = hooks.ref();
11270
11337
  var columnStore = hooks.ref({
@@ -11425,6 +11492,8 @@ var Table = defineComponent({
11425
11492
  bodyWrapperHeight,
11426
11493
  bodyWrapperMinHeight,
11427
11494
  bodyWrapperMaxHeight,
11495
+ containerScrollWidth,
11496
+ containerScrollHeight,
11428
11497
  bodyTableWidth,
11429
11498
  scrollLoadScrollHeight,
11430
11499
  columnStore,
@@ -11446,7 +11515,7 @@ var Table = defineComponent({
11446
11515
  return h("div", {
11447
11516
  class: (_class4 = {
11448
11517
  "tiny-grid h-full sm:h-auto !bg-transparent sm:!bg-color-bg-1 after:border-none sm:after:border-solid": true
11449
- }, _class4["row__valid-" + validOpts2.message] = true, _class4["size__" + vSize3] = vSize3, _class4["tiny-grid-editable"] = editConfig, _class4["show__head"] = showHeader, _class4["show__foot"] = showFooter, _class4["scroll__y"] = overflowY, _class4["scroll__x"] = overflowX, _class4["all-overflow"] = showOverflow, _class4["all-head-overflow"] = showHeaderOverflow, _class4["tiny-grid-cell__highlight"] = highlightCell, _class4["tiny-grid__animat"] = optimizeOpts.animat, _class4["tiny-grid__stripe"] = !isThemeSaas3 && stripe, _class4["tiny-grid__stripe-saas"] = isThemeSaas3 && stripeSaas, _class4["tiny-grid__border"] = border || isGroup2, _class4["tiny-grid__border-saas"] = isThemeSaas3 && borderSaas, _class4["tiny-grid__group-saas"] = isThemeSaas3 && isGroup2, _class4["tiny-grid__border-vertical"] = borderVertical, _class4["tiny-grid__checked"] = mouseConfig.checked, _class4["mark-insert"] = editConfig && editConfig.markInsert, _class4["edit__no-border"] = editConfig && editConfig.showBorder === false, _class4["is__loading"] = loading, _class4["row__highlight"] = highlightHoverRow, _class4["column__highlight"] = highlightHoverColumn, _class4["is__row-span"] = rowSpan && rowSpan.length > 0 || typeof spanMethod === "function", _class4["row__drop-handle--index"] = dropConfig.rowHandle === "index", _class4["fixed__sticky"] = horizonScroll.fixed, _class4["tiny-grid-fixed__left"] = !horizonScroll.isLeft, _class4["tiny-grid-fixed__right"] = !horizonScroll.isRight, _class4)
11518
+ }, _class4["row__valid-" + validOpts2.message] = true, _class4["size__" + vSize3] = vSize3, _class4["tiny-grid-editable"] = editConfig, _class4["show__head"] = showHeader, _class4["show__foot"] = showFooter, _class4["scroll__y"] = overflowY, _class4["scroll__x"] = overflowX, _class4["all-overflow"] = showOverflow, _class4["all-head-overflow"] = showHeaderOverflow, _class4["tiny-grid-cell__highlight"] = highlightCell, _class4["tiny-grid__animat"] = optimizeOpts.animat, _class4["tiny-grid__stripe"] = !isThemeSaas3 && stripe, _class4["tiny-grid__stripe-saas"] = isThemeSaas3 && stripeSaas, _class4["tiny-grid__border"] = border || isGroup2, _class4["tiny-grid__border-saas"] = isThemeSaas3 && borderSaas, _class4["tiny-grid__group-saas"] = isThemeSaas3 && isGroup2, _class4["tiny-grid__border-vertical"] = borderVertical, _class4["tiny-grid__checked"] = mouseConfig.checked, _class4["tiny-grid__hover-align"] = mouseConfig.hover, _class4["mark-insert"] = editConfig && editConfig.markInsert, _class4["edit__no-border"] = editConfig && editConfig.showBorder === false, _class4["is__loading"] = loading, _class4["row__highlight"] = highlightHoverRow, _class4["column__highlight"] = highlightHoverColumn, _class4["is__row-span"] = rowSpan && rowSpan.length > 0 || typeof spanMethod === "function", _class4["row__drop-handle--index"] = dropConfig.rowHandle === "index", _class4["fixed__sticky"] = horizonScroll.fixed, _class4["tiny-grid-fixed__left"] = !horizonScroll.isLeft, _class4["tiny-grid-fixed__right"] = !horizonScroll.isRight, _class4)
11450
11519
  }, [
11451
11520
  // 隐藏列
11452
11521
  h("div", {
@@ -11474,9 +11543,10 @@ var Table = defineComponent({
11474
11543
  key: "tinyGridResizeBar"
11475
11544
  }) : null,
11476
11545
  // 加载中
11477
- h(loadingComponent || Loading, {
11546
+ h(Loading, {
11478
11547
  props: {
11479
- visible: loading
11548
+ visible: loading,
11549
+ loadingComponent
11480
11550
  },
11481
11551
  class: this.viewCls("gridLoading")
11482
11552
  }),
@@ -13975,6 +14045,13 @@ var Methods$a = {
13975
14045
  this.clostValidTooltip(void 0);
13976
14046
  return this.$nextTick();
13977
14047
  },
14048
+ clearValidateMap: function clearValidateMap() {
14049
+ if (this.validatedMap) {
14050
+ for (var key in this.validatedMap) {
14051
+ this.validatedMap[key] = false;
14052
+ }
14053
+ }
14054
+ },
13978
14055
  // 触发校验
13979
14056
  triggerValidate: function triggerValidate(type) {
13980
14057
  var _this70 = this;
package/package.json CHANGED
@@ -1,29 +1,29 @@
1
1
  {
2
2
  "name": "@opentinyvue/vue-grid",
3
3
  "type": "module",
4
- "version": "2.26.0",
4
+ "version": "2.27.0",
5
5
  "description": "",
6
6
  "license": "MIT",
7
7
  "sideEffects": false,
8
8
  "main": "./lib/index.js",
9
9
  "module": "./lib/index.js",
10
10
  "dependencies": {
11
- "@opentinyvue/utils": "~3.26.0",
12
- "@opentinyvue/vue-common": "~2.26.0",
13
- "@opentinyvue/vue-directive": "~2.26.0",
14
- "@opentinyvue/vue-dropdown": "~2.26.0",
15
- "@opentinyvue/vue-dropdown-item": "~2.26.0",
16
- "@opentinyvue/vue-dropdown-menu": "~2.26.0",
17
- "@opentinyvue/vue-exception": "~2.26.0",
18
- "@opentinyvue/vue-icon": "~2.26.0",
19
- "@opentinyvue/vue-loading": "~2.26.0",
20
- "@opentinyvue/vue-locale": "~2.26.0",
21
- "@opentinyvue/vue-modal": "~2.26.0",
22
- "@opentinyvue/vue-pager": "~2.26.0",
23
- "@opentinyvue/vue-renderless": "~3.26.0",
24
- "@opentinyvue/vue-tag": "~2.26.0",
25
- "@opentinyvue/vue-theme": "~3.26.0",
26
- "@opentinyvue/vue-tooltip": "~2.26.0"
11
+ "@opentinyvue/utils": "~3.27.0",
12
+ "@opentinyvue/vue-common": "~2.27.0",
13
+ "@opentinyvue/vue-directive": "~2.27.0",
14
+ "@opentinyvue/vue-dropdown": "~2.27.0",
15
+ "@opentinyvue/vue-dropdown-item": "~2.27.0",
16
+ "@opentinyvue/vue-dropdown-menu": "~2.27.0",
17
+ "@opentinyvue/vue-exception": "~2.27.0",
18
+ "@opentinyvue/vue-icon": "~2.27.0",
19
+ "@opentinyvue/vue-loading": "~2.27.0",
20
+ "@opentinyvue/vue-locale": "~2.27.0",
21
+ "@opentinyvue/vue-modal": "~2.27.0",
22
+ "@opentinyvue/vue-pager": "~2.27.0",
23
+ "@opentinyvue/vue-renderless": "~3.27.0",
24
+ "@opentinyvue/vue-tag": "~2.27.0",
25
+ "@opentinyvue/vue-theme": "~3.27.0",
26
+ "@opentinyvue/vue-tooltip": "~2.27.0"
27
27
  },
28
28
  "types": "index.d.ts",
29
29
  "scripts": {
package/src/config.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  declare const GlobalConfig: {
2
2
  validConfig: {
3
3
  message: string;
4
+ highlightError: boolean;
4
5
  icon: any;
5
6
  };
6
7
  editConfig: {
@@ -35,6 +35,7 @@ declare const _default: {
35
35
  */
36
36
  validCellRules(type: any, row: any, column: any, defaultValue: any): Promise<void>;
37
37
  _clearValidate(): any;
38
+ clearValidateMap(): void;
38
39
  triggerValidate(type: any): Promise<void>;
39
40
  showValidTooltip(params: any): void;
40
41
  clostValidTooltip(): any;