@wx-design/components 1.1.13 → 1.1.15
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/es/index.mjs +3 -1
- package/es/style.css +1 -1
- package/lib/index.js +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/types/table/table-set.d.ts +2 -0
package/es/index.mjs
CHANGED
|
@@ -17334,6 +17334,7 @@ const BX = /* @__PURE__ */ Dr(_X), WX = "sab-table-config-", CC = (e) => `${WX}$
|
|
|
17334
17334
|
columns: {},
|
|
17335
17335
|
getTableConfig: { type: Function },
|
|
17336
17336
|
setTableConfig: { type: Function },
|
|
17337
|
+
onSetTableConfig: { type: Function },
|
|
17337
17338
|
tableRef: {}
|
|
17338
17339
|
},
|
|
17339
17340
|
emits: ["update:columns"],
|
|
@@ -17345,11 +17346,12 @@ const BX = /* @__PURE__ */ Dr(_X), WX = "sab-table-config-", CC = (e) => `${WX}$
|
|
|
17345
17346
|
},
|
|
17346
17347
|
set: Di(
|
|
17347
17348
|
async (c) => {
|
|
17349
|
+
var u;
|
|
17348
17350
|
const d = {
|
|
17349
17351
|
name: n.name,
|
|
17350
17352
|
config: c
|
|
17351
17353
|
};
|
|
17352
|
-
typeof n.setTableConfig == "function" ? await n.setTableConfig(d) : await jX(d);
|
|
17354
|
+
typeof n.setTableConfig == "function" ? await n.setTableConfig(d) : await jX(d), (u = n.onSetTableConfig) == null || u.call(n);
|
|
17353
17355
|
},
|
|
17354
17356
|
500,
|
|
17355
17357
|
{
|