@rebilly/revel 12.18.2 → 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 +1,6 @@
1
- ## [12.18.2](https://github.com/Rebilly/rebilly/compare/revel-v12.18.1...revel-v12.18.2) (2026-02-16)
1
+ ## [12.20.0](https://github.com/Rebilly/rebilly/compare/revel-v12.19.0...revel-v12.20.0) (2026-02-25)
2
+
3
+
4
+ ### Features
5
+
6
+ * **recomm:** Change how tabs behave ([#18834](https://github.com/Rebilly/rebilly/issues/18834)) ([a8bb222](https://github.com/Rebilly/rebilly/commit/a8bb22273e7d1bbf9437f68270aa3348bde101af))
@@ -8,6 +8,7 @@ export { default as RCheckbox } from './r-checkbox/r-checkbox.vue';
8
8
  export { default as RDateInput } from './r-date-input/r-date-input.vue';
9
9
  export { default as RDateRange } from './r-date-range/r-date-range.vue';
10
10
  export type { DateRange } from './r-date-range/types';
11
+ export { default as RInputErrors } from './r-input-errors/r-input-errors.vue';
11
12
  export { default as RFileUpload } from './r-file-upload/r-file-upload.vue';
12
13
  export { default as RFlex } from './r-flex/r-flex.vue';
13
14
  export { default as RFlexItem } from './r-flex/r-flex-item.vue';
@@ -0,0 +1,10 @@
1
+ import type { ValidationState } from '../../types';
2
+ export interface Props {
3
+ validate?: Nullable<ValidationState>;
4
+ showValidateMessages?: boolean;
5
+ }
6
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
7
+ validate: Nullable<ValidationState>;
8
+ showValidateMessages: boolean;
9
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
+ export default _default;
@@ -327,7 +327,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
327
327
  searchElement: import("vue").Ref<HTMLInputElement | null, HTMLInputElement | null>;
328
328
  tagsElement: import("vue").Ref<HTMLDivElement | null, HTMLDivElement | null>;
329
329
  listElement: import("vue").Ref<HTMLDivElement | null, HTMLDivElement | null>;
330
- validateErrorMessages: import("vue").ComputedRef<string[]>;
331
330
  isInvalid: import("vue").ComputedRef<boolean>;
332
331
  }, State, {
333
332
  computedLabel(): string;
@@ -763,6 +762,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
763
762
  asyncValuePropsKey: string;
764
763
  trackAsyncUpdatesByObject: boolean;
765
764
  }, {}, {
765
+ RInputErrors: import("vue").DefineComponent<import("../r-input-errors/r-input-errors.vue").Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("../r-input-errors/r-input-errors.vue").Props> & Readonly<{}>, {
766
+ validate: Nullable<ValidationState>;
767
+ showValidateMessages: boolean;
768
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
766
769
  RIcon: import("vue").DefineComponent<import("../r-icon/r-icon.vue").Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
767
770
  click: (event: MouseEvent) => any;
768
771
  }, string, import("vue").PublicProps, Readonly<import("../r-icon/r-icon.vue").Props> & Readonly<{
@@ -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;