@utogether/utils 3.0.0-beta.3 → 3.0.0-beta.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.
@@ -18,12 +18,21 @@ export declare const formSearchButtons: {
18
18
  collapseNode: boolean;
19
19
  itemRender: {
20
20
  name: string;
21
- options: {
21
+ options: ({
22
22
  type: string;
23
+ submit: string;
23
24
  content: string;
24
25
  status: string;
25
26
  icon: string;
26
- }[];
27
+ name?: undefined;
28
+ } | {
29
+ type: string;
30
+ name: string;
31
+ content: string;
32
+ status: string;
33
+ icon: string;
34
+ submit?: undefined;
35
+ })[];
27
36
  events: null;
28
37
  };
29
38
  };
package/dist/utils.es.js CHANGED
@@ -18241,12 +18241,14 @@ const showMessage = (e, t = "message", l = {}) => {
18241
18241
  options: [
18242
18242
  {
18243
18243
  type: "submit",
18244
+ submit: "submit",
18244
18245
  content: "message.btn.search",
18245
18246
  status: "primary",
18246
18247
  icon: "ri-search-line"
18247
18248
  },
18248
18249
  {
18249
18250
  type: "reset",
18251
+ name: "reset",
18250
18252
  content: "message.btn.reset",
18251
18253
  status: "info",
18252
18254
  icon: "ri-refresh-line"