@rebilly/revel 12.35.0 → 12.36.1

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
- ## [12.35.0](https://github.com/Rebilly/rebilly/compare/revel-v12.34.14...revel-v12.35.0) (2026-06-05)
2
-
3
-
4
- ### Features
5
-
6
- * **recomm:** Add filters to payout request batch table ([#22197](https://github.com/Rebilly/rebilly/issues/22197)) ([415c5a4](https://github.com/Rebilly/rebilly/commit/415c5a42e451442197b0905ede9113d00cd76f9b))
1
+ ## [12.36.1](https://github.com/Rebilly/rebilly/compare/revel-v12.36.0...revel-v12.36.1) (2026-06-08)
@@ -9,6 +9,7 @@ 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
11
  export { default as RInputErrors } from './r-input-errors/r-input-errors.vue';
12
+ export { default as RFileDropzone } from './r-file-dropzone/r-file-dropzone.vue';
12
13
  export { default as RFileUpload } from './r-file-upload/r-file-upload.vue';
13
14
  export { default as RFlex } from './r-flex/r-flex.vue';
14
15
  export { default as RFlexItem } from './r-flex/r-flex-item.vue';
@@ -0,0 +1 @@
1
+ export declare function prettyFileNameFormat(accept: string): string | null;
@@ -0,0 +1 @@
1
+ export declare function prettyFileSizeFormat(bytes: number): string;
@@ -0,0 +1,13 @@
1
+ import { type ConvertedFile } from './types';
2
+ type __VLS_Props = {
3
+ /**
4
+ * File to display as thumbnail
5
+ */
6
+ file: ConvertedFile;
7
+ };
8
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
9
+ remove: () => any;
10
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
11
+ onRemove?: (() => any) | undefined;
12
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ export default _default;
@@ -0,0 +1,13 @@
1
+ import { type ConvertedFile } from './types';
2
+ type __VLS_Props = {
3
+ /**
4
+ * Converted files
5
+ */
6
+ files: ConvertedFile[];
7
+ };
8
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
9
+ remove: (arg: number) => any;
10
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
11
+ onRemove?: ((arg: number) => any) | undefined;
12
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ export default _default;
@@ -0,0 +1,13 @@
1
+ import { type ConvertedFile } from './types';
2
+ type __VLS_Props = {
3
+ /**
4
+ * Converted files
5
+ */
6
+ files: ConvertedFile[];
7
+ };
8
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
9
+ remove: (arg: number) => any;
10
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
11
+ onRemove?: ((arg: number) => any) | undefined;
12
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ export default _default;
@@ -0,0 +1,55 @@
1
+ import { type RevelFile } from './types';
2
+ type PreviewType = 'list' | 'gallery';
3
+ interface Props {
4
+ /**
5
+ * Model value
6
+ */
7
+ modelValue: RevelFile | RevelFile[];
8
+ /**
9
+ * Allows the user to select more than one file
10
+ */
11
+ multiple?: boolean;
12
+ /**
13
+ * String that defines the file format which the dropzone should accept (comma-separated e.g. "image/*,application/pdf,.docx")
14
+ */
15
+ accept?: string;
16
+ /**
17
+ * Disables the upload action
18
+ */
19
+ disabled?: boolean;
20
+ /**
21
+ * Hides selected file preview
22
+ */
23
+ previewType?: PreviewType;
24
+ /**
25
+ * Hides selected file preview
26
+ */
27
+ hidePreview?: boolean;
28
+ /**
29
+ * Maximum file size in MB. Files larger than this will be omitted when dropped.
30
+ */
31
+ maxFileSize?: number | undefined;
32
+ }
33
+ declare var __VLS_1: {};
34
+ type __VLS_Slots = {} & {
35
+ default?: (props: typeof __VLS_1) => any;
36
+ };
37
+ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
38
+ "update:modelValue": (arg: RevelFile | RevelFile[]) => any;
39
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
40
+ "onUpdate:modelValue"?: ((arg: RevelFile | RevelFile[]) => any) | undefined;
41
+ }>, {
42
+ disabled: boolean;
43
+ multiple: boolean;
44
+ accept: string;
45
+ previewType: PreviewType;
46
+ hidePreview: boolean;
47
+ maxFileSize: number;
48
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
49
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
50
+ export default _default;
51
+ type __VLS_WithSlots<T, S> = T & {
52
+ new (): {
53
+ $slots: S;
54
+ };
55
+ };
@@ -0,0 +1,13 @@
1
+ export type ConvertedFile = {
2
+ name: string;
3
+ url?: string;
4
+ size?: string;
5
+ image?: File;
6
+ };
7
+ export interface UploadedFile {
8
+ url: string;
9
+ name: string;
10
+ size: number;
11
+ }
12
+ export type RevelFile = File | UploadedFile;
13
+ export declare function isUploadedFile(file: RevelFile | ConvertedFile): file is UploadedFile;
@@ -407,7 +407,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
407
407
  handleAsyncLoadPrev(): Promise<void>;
408
408
  handleAsyncLoadMore(count: number): Promise<void>;
409
409
  handleAsyncLoadByQuery({ limit, offset }: Partial<Query>): Promise<void>;
410
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "tag" | "select" | "open" | "update:modelValue" | "async-loaded" | "search-change" | "remove")[], "close" | "tag" | "select" | "open" | "update:modelValue" | "async-loaded" | "search-change" | "remove", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
410
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "tag" | "select" | "open" | "update:modelValue" | "remove" | "async-loaded" | "search-change")[], "close" | "tag" | "select" | "open" | "update:modelValue" | "remove" | "async-loaded" | "search-change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
411
411
  /**
412
412
  * Specify if no option can be selected
413
413
  */
@@ -711,11 +711,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
711
711
  onSelect?: ((...args: any[]) => any) | undefined;
712
712
  onClose?: ((...args: any[]) => any) | undefined;
713
713
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
714
+ onRemove?: ((...args: any[]) => any) | undefined;
714
715
  onTag?: ((...args: any[]) => any) | undefined;
715
716
  onOpen?: ((...args: any[]) => any) | undefined;
716
717
  "onAsync-loaded"?: ((...args: any[]) => any) | undefined;
717
718
  "onSearch-change"?: ((...args: any[]) => any) | undefined;
718
- onRemove?: ((...args: any[]) => any) | undefined;
719
719
  }>, {
720
720
  loading: boolean;
721
721
  id: string;