@rebilly/revel 12.19.0 → 12.20.0

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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
- ## [12.19.0](https://github.com/Rebilly/rebilly/compare/revel-v12.18.2...revel-v12.19.0) (2026-02-25)
1
+ ## [12.20.0](https://github.com/Rebilly/rebilly/compare/revel-v12.19.0...revel-v12.20.0) (2026-02-25)
2
2
 
3
3
 
4
4
  ### Features
5
5
 
6
- * **revel:** Add r-input-errors component ([#18821](https://github.com/Rebilly/rebilly/issues/18821)) ([3a6de61](https://github.com/Rebilly/rebilly/commit/3a6de61921804b8bfa0428245b8146e976b9ca1b))
6
+ * **recomm:** Change how tabs behave ([#18834](https://github.com/Rebilly/rebilly/issues/18834)) ([a8bb222](https://github.com/Rebilly/rebilly/commit/a8bb22273e7d1bbf9437f68270aa3348bde101af))
@@ -28,6 +28,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
28
28
  type: BooleanConstructor;
29
29
  default: boolean;
30
30
  };
31
+ lazy: {
32
+ type: BooleanConstructor;
33
+ default: undefined;
34
+ };
31
35
  /**
32
36
  * Array of Vuelidate validation objects to aggregate their states for this tab.
33
37
  */
@@ -37,6 +41,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
37
41
  };
38
42
  }>, {
39
43
  shouldShowThisTab: import("vue").ComputedRef<boolean | undefined>;
44
+ resolvedLazy: import("vue").ComputedRef<boolean>;
40
45
  tabPanelId: import("vue").ComputedRef<string>;
41
46
  tabId: import("vue").ComputedRef<string>;
42
47
  addItemToTabsList: () => void;
@@ -67,6 +72,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
67
72
  type: BooleanConstructor;
68
73
  default: boolean;
69
74
  };
75
+ lazy: {
76
+ type: BooleanConstructor;
77
+ default: undefined;
78
+ };
70
79
  /**
71
80
  * Array of Vuelidate validation objects to aggregate their states for this tab.
72
81
  */
@@ -77,6 +86,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
77
86
  }>> & Readonly<{}>, {
78
87
  active: boolean;
79
88
  value: string;
89
+ lazy: boolean;
80
90
  validate: {
81
91
  readonly [key: string]: any;
82
92
  $model: unknown;
@@ -38,6 +38,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
38
38
  type: BooleanConstructor;
39
39
  default: boolean;
40
40
  };
41
+ /**
42
+ * Defines panel rendering strategy for nested tabs.
43
+ * true - lazy mount with v-if
44
+ * false - eager mount with v-show
45
+ */
46
+ lazy: {
47
+ type: BooleanConstructor;
48
+ default: boolean;
49
+ };
41
50
  }>, {}, State, {
42
51
  visibleTabs(): {
43
52
  tabId: string;
@@ -105,9 +114,19 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
105
114
  type: BooleanConstructor;
106
115
  default: boolean;
107
116
  };
117
+ /**
118
+ * Defines panel rendering strategy for nested tabs.
119
+ * true - lazy mount with v-if
120
+ * false - eager mount with v-show
121
+ */
122
+ lazy: {
123
+ type: BooleanConstructor;
124
+ default: boolean;
125
+ };
108
126
  }>> & Readonly<{
109
127
  "onTab-selected"?: ((...args: any[]) => any) | undefined;
110
128
  }>, {
129
+ lazy: boolean;
111
130
  showValidateMessages: boolean;
112
131
  divided: boolean;
113
132
  menuClass: string;
@@ -129,5 +148,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
129
148
  validateErrorMessages: Array<string>;
130
149
  isInvalid: boolean;
131
150
  }[]>;
151
+ tabsLazy: import("vue").ComputedRef<boolean>;
132
152
  }, true, {}, any>;
133
153
  export default _default;