knt-shared 1.10.2 → 1.10.3
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTable.d.ts","sourceRoot":"","sources":["../../../src/components/Table/useTable.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,cAAc,EAA0C,MAAM,SAAS,CAAC;AAGpH;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,OAAO,GAAE,eAAoB,GAAG;IACvD,CAAC,aAAa,EAAE,GAAG,EAAE,YAAY,CAAC,EAAE,GAAG,KAAK,IAAI;IAChD,IAAI,CAAC,cAAc,EAAE,UAAU,CAAC;CACjC,
|
|
1
|
+
{"version":3,"file":"useTable.d.ts","sourceRoot":"","sources":["../../../src/components/Table/useTable.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,cAAc,EAA0C,MAAM,SAAS,CAAC;AAGpH;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,OAAO,GAAE,eAAoB,GAAG;IACvD,CAAC,aAAa,EAAE,GAAG,EAAE,YAAY,CAAC,EAAE,GAAG,KAAK,IAAI;IAChD,IAAI,CAAC,cAAc,EAAE,UAAU,CAAC;CACjC,CA+iBA;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,WAAW,EAAE,GAAG,WAAW,EAAE,CAKxE;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,GAAG,OAAO,EAAE,WAAW,EAAE,EAAE,GAAG,WAAW,EAAE,CAE5E"}
|
package/dist/index.cjs.js
CHANGED
|
@@ -8358,8 +8358,9 @@ function useTable(options = {}) {
|
|
|
8358
8358
|
tableRef.value = tableInstance;
|
|
8359
8359
|
formRef.value = formInstance;
|
|
8360
8360
|
loadedRef.value = true;
|
|
8361
|
-
|
|
8362
|
-
|
|
8361
|
+
const mergedProps = { ...options, ...propsRef.value };
|
|
8362
|
+
if (Object.keys(mergedProps).length > 0) {
|
|
8363
|
+
await setProps(mergedProps);
|
|
8363
8364
|
}
|
|
8364
8365
|
if (options.immediate) {
|
|
8365
8366
|
if (options.api) {
|