@yzsf2e/render-core 1.0.2-alpha.205 → 1.0.2-alpha.207
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/dist/render-core.mjs +4 -7
- package/dist/render-core.umd.js +18 -18
- package/package.json +1 -1
package/dist/render-core.mjs
CHANGED
|
@@ -5,10 +5,10 @@ import { CloseOutlined as Uu, ShrinkOutlined as Hu, ArrowsAltOutlined as Vu, Hol
|
|
|
5
5
|
import { useI18n as Va } from "vue-i18n";
|
|
6
6
|
import { useRouter as Gu } from "vue-router";
|
|
7
7
|
/*!
|
|
8
|
-
* @yzsf2e/render-core v1.0.2-alpha.
|
|
8
|
+
* @yzsf2e/render-core v1.0.2-alpha.207 Thu Sep 04 2025 14:31:46 GMT+0800 (中国标准时间)
|
|
9
9
|
* (c) 2023 @yzsf2e.
|
|
10
10
|
*/
|
|
11
|
-
const Zu = "@yzsf2e/render-core", Ju = "1.0.2-alpha.
|
|
11
|
+
const Zu = "@yzsf2e/render-core", Ju = "1.0.2-alpha.207", Qu = "dist/render-core", tc = "dist/render-core", ec = [
|
|
12
12
|
"dist"
|
|
13
13
|
], rc = {
|
|
14
14
|
dev: "storybook dev -p 6006",
|
|
@@ -7664,6 +7664,7 @@ function zv(c, k, t, b, g, u) {
|
|
|
7664
7664
|
], 64)) : (vt(), qt(r, {
|
|
7665
7665
|
key: 1,
|
|
7666
7666
|
size: "small",
|
|
7667
|
+
"allow-clear": "",
|
|
7667
7668
|
value: c.formState[c.pageName][R.dataIndex],
|
|
7668
7669
|
"onUpdate:value": (B) => c.formState[c.pageName][R.dataIndex] = B,
|
|
7669
7670
|
onChange: c.onHeaderFilterChange,
|
|
@@ -34747,11 +34748,7 @@ const R2 = /* @__PURE__ */ ur(C2, [["render", O2]]), [I2] = er("page-renderer"),
|
|
|
34747
34748
|
var y, v;
|
|
34748
34749
|
if ((v = (y = c == null ? void 0 : c.options) == null ? void 0 : y.page) != null && v.defaultQuery) {
|
|
34749
34750
|
const w = Object.keys(x), _ = Object.keys(x).filter((T) => c.options.page.defaultQuery[T] === x[T]);
|
|
34750
|
-
|
|
34751
|
-
const T = Object.assign(c.options.page.defaultQuery, _.reduce((j, F) => (j[F] = "", j), {}));
|
|
34752
|
-
Object.assign(c.options.page.defaultQuery, T);
|
|
34753
|
-
}
|
|
34754
|
-
Object.assign(c.options.page.defaultQuery, x);
|
|
34751
|
+
_.length > 0 && _.length === w.length && Object.assign(c.options.page.defaultQuery, _.reduce((T, j) => (T[j] = "", T), {})), Object.assign(c.options.page.defaultQuery, x);
|
|
34755
34752
|
}
|
|
34756
34753
|
}
|
|
34757
34754
|
return t({ run: N, resetSearch: B, clearSelect: z, getSearchFormState: $, setSearchFormState: E }), {
|