@rebilly/revel 6.30.12 → 6.30.14

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 @@
1
- ## [6.30.12](https://github.com/Rebilly/rebilly/compare/revel-v6.30.11...revel-v6.30.12) (2024-07-10)
2
-
3
-
4
- ### Bug Fixes
5
-
6
- * **revel:** Introduce template refs via composition API ([#6403](https://github.com/Rebilly/rebilly/issues/6403)) ([8aa8e92](https://github.com/Rebilly/rebilly/commit/8aa8e9247882a55811e50a2a3aa0678af31aa7b9))
1
+ ## [6.30.14](https://github.com/Rebilly/rebilly/compare/revel-v6.30.13...revel-v6.30.14) (2024-07-12)
@@ -1,73 +1,59 @@
1
- import { type PropType } from 'vue';
2
- type AlertType = 'default' | 'negative' | 'positive' | 'info' | 'warning';
3
- declare const _default: import("vue").DefineComponent<{
1
+ interface Props {
4
2
  /**
5
3
  * A title text
6
4
  */
7
- title: {
8
- type: StringConstructor;
9
- default: null;
10
- };
11
- /**
12
- * Displays the level of urgency
13
- */
14
- type: {
15
- type: PropType<AlertType>;
16
- default: string;
17
- };
18
- /**
19
- * Keeps the alert open
20
- */
21
- permanent: {
22
- type: BooleanConstructor;
23
- default: boolean;
24
- };
25
- /**
26
- * Icon to display
27
- */
28
- icon: {
29
- type: StringConstructor;
30
- default: null;
31
- };
32
- }, unknown, {
33
- isAlertOpen: boolean;
34
- }, {
35
- styles(): Record<string, boolean>;
36
- }, {
37
- closeAlert(): void;
38
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
39
- /**
40
- * A title text
41
- */
42
- title: {
43
- type: StringConstructor;
44
- default: null;
45
- };
5
+ title?: string;
46
6
  /**
47
7
  * Displays the level of urgency
48
8
  */
49
- type: {
50
- type: PropType<AlertType>;
51
- default: string;
52
- };
9
+ type?: 'default' | 'negative' | 'positive' | 'info' | 'warning';
53
10
  /**
54
11
  * Keeps the alert open
55
12
  */
56
- permanent: {
57
- type: BooleanConstructor;
58
- default: boolean;
59
- };
13
+ permanent?: boolean;
60
14
  /**
61
15
  * Icon to display
62
16
  */
63
- icon: {
64
- type: StringConstructor;
65
- default: null;
66
- };
67
- }>>, {
17
+ icon?: string;
18
+ }
19
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
20
+ title: undefined;
21
+ icon: undefined;
22
+ type: string;
23
+ permanent: boolean;
24
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
25
+ title: undefined;
26
+ icon: undefined;
27
+ type: string;
28
+ permanent: boolean;
29
+ }>>>, {
68
30
  icon: string;
69
- type: AlertType;
31
+ type: "default" | "warning" | "info" | "positive" | "negative";
70
32
  title: string;
71
33
  permanent: boolean;
34
+ }>, {
35
+ content?(_: {}): any;
72
36
  }>;
73
37
  export default _default;
38
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
39
+ type __VLS_TypePropsToRuntimeProps<T> = {
40
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
41
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
42
+ } : {
43
+ type: import('vue').PropType<T[K]>;
44
+ required: true;
45
+ };
46
+ };
47
+ type __VLS_WithDefaults<P, D> = {
48
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
49
+ default: D[K];
50
+ }> : P[K];
51
+ };
52
+ type __VLS_Prettify<T> = {
53
+ [K in keyof T]: T[K];
54
+ } & {};
55
+ type __VLS_WithTemplateSlots<T, S> = T & {
56
+ new (): {
57
+ $slots: S;
58
+ };
59
+ };