@rebilly/revel 6.30.10 → 6.30.12
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 +6 -1
- package/dist/components/r-date-input/r-date-range-button-group.vue.d.ts +9 -2
- package/dist/components/r-file-upload/r-file-upload.vue.d.ts +3 -1
- package/dist/components/r-input/r-input.vue.d.ts +4 -1
- package/dist/components/r-modal/r-modal.vue.d.ts +3 -1
- package/dist/components/r-month-picker/r-month-picker.vue.d.ts +8 -1
- package/dist/components/r-popper/r-popper.vue.d.ts +7 -4
- package/dist/components/r-select/r-select.vue.d.ts +5 -1
- package/dist/components/r-toast/r-toast.vue.d.ts +1 -1
- package/dist/revel.mjs +389 -345
- package/dist/revel.umd.js +4 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1 +1,6 @@
|
|
|
1
|
-
## [6.30.
|
|
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))
|
|
@@ -2,6 +2,11 @@ import { type PropType } from 'vue';
|
|
|
2
2
|
import type { Moment } from 'moment';
|
|
3
3
|
import { type CalendarPresetLabel, type CalendarPreset } from './calendar-presets';
|
|
4
4
|
import type { DateRange } from './types';
|
|
5
|
+
interface PopperElement extends HTMLElement {
|
|
6
|
+
popper?: {
|
|
7
|
+
toggle: () => void;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
5
10
|
declare const _default: import("vue").DefineComponent<{
|
|
6
11
|
modelValue: {
|
|
7
12
|
type: PropType<string | DateRange>;
|
|
@@ -47,7 +52,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
47
52
|
type: BooleanConstructor;
|
|
48
53
|
default: boolean;
|
|
49
54
|
};
|
|
50
|
-
},
|
|
55
|
+
}, {
|
|
56
|
+
presets: import("vue").Ref<PopperElement | null>;
|
|
57
|
+
}, unknown, {
|
|
51
58
|
isMobile(): boolean;
|
|
52
59
|
calendarPresets(): {
|
|
53
60
|
readonly today: "today";
|
|
@@ -100,7 +107,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
100
107
|
getPresetLabel(presetName: CalendarPresetLabel): "Today" | "Yesterday" | "This week" | "Last week" | "Last 30 days" | "This month" | "Last month" | "Last 3 months" | "Last 6 months" | "This year" | "Last year";
|
|
101
108
|
getFormattedPresetPeriod(presetName: CalendarPreset): string;
|
|
102
109
|
validateDatesPeriod(period: Voidable<Moment | string | Date>): boolean;
|
|
103
|
-
toggle(
|
|
110
|
+
toggle(): void;
|
|
104
111
|
parsePeriod(period: string | DateRange): import("./calendar-presets").CalendarPresetPeriod | DateRange | {
|
|
105
112
|
start: string;
|
|
106
113
|
end: string;
|
|
@@ -175,7 +175,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
175
175
|
type: StringConstructor;
|
|
176
176
|
default: string;
|
|
177
177
|
};
|
|
178
|
-
},
|
|
178
|
+
}, {
|
|
179
|
+
textAreaElement: import("vue").Ref<HTMLTextAreaElement | null>;
|
|
180
|
+
inputElement: import("vue").Ref<HTMLInputElement | null>;
|
|
181
|
+
}, unknown, {
|
|
179
182
|
isInvalid(): any;
|
|
180
183
|
isGroupedInput(): string | false | import("vue").Slot | undefined;
|
|
181
184
|
fieldStyles(): Record<string, boolean>;
|
|
@@ -48,7 +48,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
48
48
|
type: NumberConstructor;
|
|
49
49
|
default: number;
|
|
50
50
|
};
|
|
51
|
-
},
|
|
51
|
+
}, {
|
|
52
|
+
containerElement: import("vue").Ref<HTMLDivElement | null>;
|
|
53
|
+
}, unknown, {
|
|
52
54
|
transitionDuration(): {
|
|
53
55
|
'transition-duration': string;
|
|
54
56
|
};
|
|
@@ -7,6 +7,11 @@ interface Month {
|
|
|
7
7
|
interface State {
|
|
8
8
|
months: string[];
|
|
9
9
|
}
|
|
10
|
+
interface MonthPickerElement extends HTMLElement {
|
|
11
|
+
popper: {
|
|
12
|
+
toggle: () => void;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
10
15
|
export interface Props {
|
|
11
16
|
label?: string;
|
|
12
17
|
caption?: string;
|
|
@@ -76,7 +81,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
76
81
|
type: PropType<Month>;
|
|
77
82
|
default: () => {};
|
|
78
83
|
};
|
|
79
|
-
},
|
|
84
|
+
}, {
|
|
85
|
+
monthPickerElement: import("vue").Ref<MonthPickerElement | null>;
|
|
86
|
+
}, State, {
|
|
80
87
|
selectedDateLabel(): string;
|
|
81
88
|
isYearDecrementDisabled(): boolean | 0;
|
|
82
89
|
isYearIncrementDisabled(): boolean | 0;
|
|
@@ -117,9 +117,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
117
117
|
type: NumberConstructor;
|
|
118
118
|
default: number;
|
|
119
119
|
};
|
|
120
|
-
},
|
|
121
|
-
|
|
122
|
-
|
|
120
|
+
}, {
|
|
121
|
+
popperElement: import("vue").Ref<HTMLDivElement | null>;
|
|
122
|
+
popperContentElement: import("vue").Ref<HTMLDivElement | null>;
|
|
123
|
+
}, State, {
|
|
124
|
+
triggerEl(): HTMLDivElement | null;
|
|
125
|
+
contentEl(): HTMLDivElement | null;
|
|
123
126
|
/**
|
|
124
127
|
* The actions and properties available to the parent component.
|
|
125
128
|
* @returns {{}} Object of functions and properties
|
|
@@ -137,7 +140,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
137
140
|
calculateContentPosition(): {
|
|
138
141
|
top: number;
|
|
139
142
|
left: number;
|
|
140
|
-
};
|
|
143
|
+
} | undefined;
|
|
141
144
|
positionContent(): void;
|
|
142
145
|
getTriggerMargins(): Nullable<Margin>;
|
|
143
146
|
convertPixelsToNumber(value: string): number;
|
|
@@ -312,7 +312,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
312
312
|
type: StringConstructor;
|
|
313
313
|
default: string;
|
|
314
314
|
};
|
|
315
|
-
},
|
|
315
|
+
}, {
|
|
316
|
+
searchElement: import("vue").Ref<HTMLInputElement | null>;
|
|
317
|
+
tagsElement: import("vue").Ref<HTMLDivElement | null>;
|
|
318
|
+
listElement: import("vue").Ref<HTMLDivElement | null>;
|
|
319
|
+
}, State, {
|
|
316
320
|
computedLabel(): string;
|
|
317
321
|
computedOptions(): Options;
|
|
318
322
|
computedTrackBy(): string;
|
|
@@ -132,9 +132,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
132
132
|
title: string;
|
|
133
133
|
autoHide: boolean;
|
|
134
134
|
hideDelay: number;
|
|
135
|
-
container: Nullable<HTMLElement>;
|
|
136
135
|
visible: boolean;
|
|
137
136
|
message: string | Function;
|
|
138
137
|
allowClose: boolean;
|
|
138
|
+
container: Nullable<HTMLElement>;
|
|
139
139
|
}>;
|
|
140
140
|
export default _default;
|