mrxy-yk 1.13.3 → 1.13.4

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.
@@ -12,6 +12,7 @@ type __VLS_Slots = {} & {
12
12
  };
13
13
  declare const __VLS_base: DefineComponent<__VLS_Props, {
14
14
  readonly hotInstance: HotInstance;
15
+ readonly getPhysicalData: Record<PropertyKey, any>[];
15
16
  redrawing(data?: Record<PropertyKey, any>[]): void;
16
17
  validate(): Promise<unknown>;
17
18
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
@@ -128,8 +128,17 @@ var FormTable_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ define
128
128
  get hotInstance() {
129
129
  return hotInstance;
130
130
  },
131
+ get getPhysicalData() {
132
+ const data = hotInstance.getData();
133
+ const result = [];
134
+ for (let i = 0, len = data.length; i < len; i++) {
135
+ const physicalRow = hotInstance.toPhysicalRow(i);
136
+ result.push(physicalRow);
137
+ }
138
+ return result;
139
+ },
131
140
  redrawing(data) {
132
- if (data) tableData = data;
141
+ if (data) tableData = toRaw(data);
133
142
  hotInstance?.loadData(tableData);
134
143
  },
135
144
  validate() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mrxy-yk",
3
- "version": "1.13.3",
3
+ "version": "1.13.4",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "A collection of Vue 3 components and utilities",
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "framework": "vue",
3
3
  "name": "mrxy-yk",
4
- "version": "1.13.3",
4
+ "version": "1.13.4",
5
5
  "js-types-syntax": "typescript",
6
6
  "contributions": {
7
7
  "html": {