@tmagic/table 1.5.21 → 1.5.23

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.
@@ -118,8 +118,8 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
118
118
  default: withCtx(() => _cache[0] || (_cache[0] = [
119
119
  createTextVNode("保存")
120
120
  ])),
121
- _: 2
122
- /* DYNAMIC */
121
+ _: 2,
122
+ __: [0]
123
123
  }, 1032, ["onClick"]), [
124
124
  [vShow, _ctx.editState[scope.$index]]
125
125
  ]),
@@ -133,8 +133,8 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
133
133
  default: withCtx(() => _cache[1] || (_cache[1] = [
134
134
  createTextVNode("取消")
135
135
  ])),
136
- _: 2
137
- /* DYNAMIC */
136
+ _: 2,
137
+ __: [1]
138
138
  }, 1032, ["onClick"]), [
139
139
  [vShow, _ctx.editState[scope.$index]]
140
140
  ])
@@ -2143,8 +2143,8 @@
2143
2143
  default: vue.withCtx(() => _cache[0] || (_cache[0] = [
2144
2144
  vue.createTextVNode("保存")
2145
2145
  ])),
2146
- _: 2
2147
- /* DYNAMIC */
2146
+ _: 2,
2147
+ __: [0]
2148
2148
  }, 1032, ["onClick"]), [
2149
2149
  [vue.vShow, _ctx.editState[scope.$index]]
2150
2150
  ]),
@@ -2158,8 +2158,8 @@
2158
2158
  default: vue.withCtx(() => _cache[1] || (_cache[1] = [
2159
2159
  vue.createTextVNode("取消")
2160
2160
  ])),
2161
- _: 2
2162
- /* DYNAMIC */
2161
+ _: 2,
2162
+ __: [1]
2163
2163
  }, 1032, ["onClick"]), [
2164
2164
  [vue.vShow, _ctx.editState[scope.$index]]
2165
2165
  ])
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.5.21",
2
+ "version": "1.5.23",
3
3
  "name": "@tmagic/table",
4
4
  "type": "module",
5
5
  "sideEffects": [
@@ -42,10 +42,10 @@
42
42
  "@types/lodash-es": "^4.17.4"
43
43
  },
44
44
  "peerDependencies": {
45
- "vue": ">=3.5.0",
46
- "typescript": "*",
47
- "@tmagic/design": "1.5.21",
48
- "@tmagic/form": "1.5.21"
45
+ "vue": "^3.5.17",
46
+ "typescript": "^5.8.3",
47
+ "@tmagic/design": "1.5.23",
48
+ "@tmagic/form": "1.5.23"
49
49
  },
50
50
  "peerDependenciesMeta": {
51
51
  "typescript": {
package/types/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import * as vue from 'vue';
2
1
  import { App } from 'vue';
2
+ import * as _vue_runtime_core from '@vue/runtime-core';
3
3
  import { FormConfig, FormValue } from '@tmagic/form';
4
4
 
5
5
  interface ColumnActionConfig {
@@ -84,11 +84,11 @@ type __VLS_Props = {
84
84
  /** 是否带有纵向边框 */
85
85
  border?: boolean;
86
86
  };
87
- declare const _default$1: vue.DefineComponent<__VLS_Props, {
87
+ declare const _default$1: _vue_runtime_core.DefineComponent<__VLS_Props, {
88
88
  toggleRowSelection: (row: any, selected: boolean) => void;
89
89
  toggleRowExpansion: (row: any, expanded: boolean) => void;
90
90
  clearSelection: () => void;
91
- }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
91
+ }, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
92
92
  select: (...args: any[]) => void;
93
93
  "sort-change": (...args: any[]) => void;
94
94
  "expand-change": (...args: any[]) => void;
@@ -96,7 +96,7 @@ declare const _default$1: vue.DefineComponent<__VLS_Props, {
96
96
  "after-action": (...args: any[]) => void;
97
97
  "select-all": (...args: any[]) => void;
98
98
  "selection-change": (...args: any[]) => void;
99
- }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
99
+ }, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props> & Readonly<{
100
100
  onSelect?: ((...args: any[]) => any) | undefined;
101
101
  "onSort-change"?: ((...args: any[]) => any) | undefined;
102
102
  "onExpand-change"?: ((...args: any[]) => any) | undefined;
@@ -110,7 +110,7 @@ declare const _default$1: vue.DefineComponent<__VLS_Props, {
110
110
  defaultExpandAll: boolean;
111
111
  columns: ColumnConfig[];
112
112
  showHeader: boolean;
113
- }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
113
+ }, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
114
114
 
115
115
  declare const formatter: (item: ColumnConfig, row: any, data: {
116
116
  index: number;