@sia.soul/sia-react-ui 0.1.70 → 0.1.71
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/index.cjs +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -23844,7 +23844,7 @@ function QueryForm({
|
|
|
23844
23844
|
]
|
|
23845
23845
|
}
|
|
23846
23846
|
),
|
|
23847
|
-
savedQueries.length
|
|
23847
|
+
savedQueries.length ? /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: "sia-query-form__saved", "aria-label": "\u5DF2\u4FDD\u5B58\u5FEB\u6377\u67E5\u8BE2", children: [
|
|
23848
23848
|
savedQueries.map((query, index) => /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
|
|
23849
23849
|
Tag,
|
|
23850
23850
|
{
|
package/dist/index.d.cts
CHANGED
|
@@ -3126,7 +3126,7 @@ interface QueryFormProps<T extends FormValues = FormValues> extends Omit<FormPro
|
|
|
3126
3126
|
* @defaultValue true
|
|
3127
3127
|
*/
|
|
3128
3128
|
collapsible?: boolean;
|
|
3129
|
-
/** 受控收起状态,需在 onCollapsedChange
|
|
3129
|
+
/** 受控收起状态,需在 onCollapsedChange 中更新;全部字段能单行显示时不执行收起。收起时保留字段挂载和值,只隐藏放不下的字段,底部快捷标签始终保留。 */
|
|
3130
3130
|
collapsed?: boolean;
|
|
3131
3131
|
/**
|
|
3132
3132
|
* 非受控模式的初始收起状态;默认展开全部查询条件,即使条件超过一行也不自动收起。显式传 true 时才初始收起。
|
|
@@ -3151,7 +3151,7 @@ interface QueryFormProps<T extends FormValues = FormValues> extends Omit<FormPro
|
|
|
3151
3151
|
*/
|
|
3152
3152
|
quickQuerySize?: ButtonSize;
|
|
3153
3153
|
/**
|
|
3154
|
-
*
|
|
3154
|
+
* 底部已保存快捷查询标签。点击回填该项条件并查询;收起时仍可使用。业务方负责加载数据,并在保存或删除成功后更新此数组。
|
|
3155
3155
|
* @defaultValue []
|
|
3156
3156
|
*/
|
|
3157
3157
|
savedQueries?: readonly QueryFormShortcut<T>[];
|
package/dist/index.d.ts
CHANGED
|
@@ -3126,7 +3126,7 @@ interface QueryFormProps<T extends FormValues = FormValues> extends Omit<FormPro
|
|
|
3126
3126
|
* @defaultValue true
|
|
3127
3127
|
*/
|
|
3128
3128
|
collapsible?: boolean;
|
|
3129
|
-
/** 受控收起状态,需在 onCollapsedChange
|
|
3129
|
+
/** 受控收起状态,需在 onCollapsedChange 中更新;全部字段能单行显示时不执行收起。收起时保留字段挂载和值,只隐藏放不下的字段,底部快捷标签始终保留。 */
|
|
3130
3130
|
collapsed?: boolean;
|
|
3131
3131
|
/**
|
|
3132
3132
|
* 非受控模式的初始收起状态;默认展开全部查询条件,即使条件超过一行也不自动收起。显式传 true 时才初始收起。
|
|
@@ -3151,7 +3151,7 @@ interface QueryFormProps<T extends FormValues = FormValues> extends Omit<FormPro
|
|
|
3151
3151
|
*/
|
|
3152
3152
|
quickQuerySize?: ButtonSize;
|
|
3153
3153
|
/**
|
|
3154
|
-
*
|
|
3154
|
+
* 底部已保存快捷查询标签。点击回填该项条件并查询;收起时仍可使用。业务方负责加载数据,并在保存或删除成功后更新此数组。
|
|
3155
3155
|
* @defaultValue []
|
|
3156
3156
|
*/
|
|
3157
3157
|
savedQueries?: readonly QueryFormShortcut<T>[];
|
package/dist/index.js
CHANGED
|
@@ -8888,7 +8888,7 @@ function QueryForm({
|
|
|
8888
8888
|
]
|
|
8889
8889
|
}
|
|
8890
8890
|
),
|
|
8891
|
-
savedQueries.length
|
|
8891
|
+
savedQueries.length ? /* @__PURE__ */ jsxs24("div", { className: "sia-query-form__saved", "aria-label": "\u5DF2\u4FDD\u5B58\u5FEB\u6377\u67E5\u8BE2", children: [
|
|
8892
8892
|
savedQueries.map((query, index) => /* @__PURE__ */ jsx26(
|
|
8893
8893
|
Tag,
|
|
8894
8894
|
{
|