@rebilly/revel 6.10.0 → 6.10.2
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 +14 -0
- package/dist/common/helpers/get-shadow-parent.d.ts +1 -0
- package/dist/common/helpers/index.d.ts +2 -1
- package/dist/components/r-date-input/r-date-range-button-group.vue.d.ts +6 -6
- package/dist/components/r-date-input/r-range-calendar.vue.d.ts +3 -3
- package/dist/components/r-grid/columnTypes/badge.vue.d.ts +1 -1
- package/dist/components/r-grid/columnTypes/index.d.ts +1 -1
- package/dist/components/r-grid/r-grid.vue.d.ts +23 -21
- package/dist/components/r-select/r-select.vue.d.ts +1 -1
- package/dist/revel.mjs +9395 -9386
- package/dist/revel.umd.js +4 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [6.10.2](https://github.com/Rebilly/rebilly/compare/revel-v6.10.1...revel-v6.10.2) (2024-01-16)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **revel:** Fixed display issues with tooltip, badge, and pagination on the `RGrid` component ([#2913](https://github.com/Rebilly/rebilly/issues/2913)) ([999d2a1](https://github.com/Rebilly/rebilly/commit/999d2a122ade06b8da9da85a65df421cf5c5e19b))
|
|
7
|
+
|
|
8
|
+
## [6.10.1](https://github.com/Rebilly/rebilly/compare/revel-v6.10.0...revel-v6.10.1) (2024-01-15)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **revel:** Fix `RGrid` props, types and component call ([#2903](https://github.com/Rebilly/rebilly/issues/2903)) ([e067ea8](https://github.com/Rebilly/rebilly/commit/e067ea8848aa7f708e6942e7f22d55b2bea1845c))
|
|
14
|
+
|
|
1
15
|
## [6.10.0](https://github.com/Rebilly/rebilly/compare/revel-v6.9.0...revel-v6.10.0) (2024-01-15)
|
|
2
16
|
|
|
3
17
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getShadowParent(element: HTMLElement | Node): ShadowRoot | null;
|
|
@@ -6,4 +6,5 @@ import { isKebabCase } from './is-kebab-case';
|
|
|
6
6
|
import { isObject } from './is-object';
|
|
7
7
|
import { kebabCase } from './kebab-case';
|
|
8
8
|
import { unCamelCase } from './un-camel-case';
|
|
9
|
-
|
|
9
|
+
import { getShadowParent } from './get-shadow-parent';
|
|
10
|
+
export { capitalizeFirstLetter, debounce, deepClone, formatDate, isKebabCase, isObject, kebabCase, unCamelCase, getShadowParent, };
|
|
@@ -79,19 +79,19 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
79
79
|
} | null;
|
|
80
80
|
isRelativePreset(): boolean | null;
|
|
81
81
|
selectedPeriod(): {
|
|
82
|
-
start: string |
|
|
83
|
-
end: string |
|
|
82
|
+
start: string | Moment | Date;
|
|
83
|
+
end: string | Moment | Date;
|
|
84
84
|
isRelative: boolean;
|
|
85
85
|
relativeFilterValue: import("../../types").Nullable<string>;
|
|
86
86
|
presetName: string;
|
|
87
87
|
presetLabel: string;
|
|
88
88
|
} | {
|
|
89
|
-
start: string |
|
|
90
|
-
end: string |
|
|
89
|
+
start: string | Moment | Date;
|
|
90
|
+
end: string | Moment | Date;
|
|
91
91
|
} | null;
|
|
92
92
|
selectedDate(): {
|
|
93
|
-
start: string |
|
|
94
|
-
end: string |
|
|
93
|
+
start: string | Moment | Date;
|
|
94
|
+
end: string | Moment | Date;
|
|
95
95
|
} | {
|
|
96
96
|
start: null;
|
|
97
97
|
end: null;
|
|
@@ -8,7 +8,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
8
8
|
* @model
|
|
9
9
|
*/
|
|
10
10
|
modelValue: {
|
|
11
|
-
type: PropType<string | Date | DateRange<
|
|
11
|
+
type: PropType<string | Date | DateRange<moment.Moment | Date>>;
|
|
12
12
|
default: () => Date;
|
|
13
13
|
};
|
|
14
14
|
/**
|
|
@@ -152,7 +152,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
152
152
|
* @model
|
|
153
153
|
*/
|
|
154
154
|
modelValue: {
|
|
155
|
-
type: PropType<string | Date | DateRange<
|
|
155
|
+
type: PropType<string | Date | DateRange<moment.Moment | Date>>;
|
|
156
156
|
default: () => Date;
|
|
157
157
|
};
|
|
158
158
|
/**
|
|
@@ -202,7 +202,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
202
202
|
}, {
|
|
203
203
|
placeholder: string;
|
|
204
204
|
disabled: boolean;
|
|
205
|
-
modelValue: string | Date | DateRange<
|
|
205
|
+
modelValue: string | Date | DateRange<moment.Moment | Date>;
|
|
206
206
|
validate: ValidationState;
|
|
207
207
|
timezone: string;
|
|
208
208
|
is24hr: boolean;
|
|
@@ -24,7 +24,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
24
24
|
required: true;
|
|
25
25
|
};
|
|
26
26
|
}, unknown, unknown, {
|
|
27
|
-
badgeType():
|
|
27
|
+
badgeType(): string;
|
|
28
28
|
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
29
29
|
value: {
|
|
30
30
|
type: (StringConstructor | BooleanConstructor | ArrayConstructor | NumberConstructor)[];
|
|
@@ -13,7 +13,7 @@ export declare const ColumnTypes: {
|
|
|
13
13
|
required: true;
|
|
14
14
|
};
|
|
15
15
|
}, unknown, unknown, {
|
|
16
|
-
badgeType():
|
|
16
|
+
badgeType(): string;
|
|
17
17
|
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
18
|
value: {
|
|
19
19
|
type: (StringConstructor | BooleanConstructor | ArrayConstructor | NumberConstructor)[];
|
|
@@ -4,11 +4,11 @@ interface Column extends GridColumn {
|
|
|
4
4
|
[key: string]: unknown;
|
|
5
5
|
name: string;
|
|
6
6
|
renderOptions?: Record<string, unknown>;
|
|
7
|
-
class
|
|
8
|
-
style
|
|
9
|
-
highlight
|
|
7
|
+
class?: Record<string, boolean>;
|
|
8
|
+
style?: Record<string, unknown>;
|
|
9
|
+
highlight?: boolean;
|
|
10
10
|
header?: (column: unknown) => string;
|
|
11
|
-
label
|
|
11
|
+
label?: string;
|
|
12
12
|
}
|
|
13
13
|
declare const _default: import("vue").DefineComponent<{
|
|
14
14
|
/**
|
|
@@ -38,7 +38,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
38
38
|
* Returns some data to be rendered by the default scoped slot
|
|
39
39
|
*/
|
|
40
40
|
provider: {
|
|
41
|
-
type: (
|
|
41
|
+
type: PropType<() => object[] | object[] | Promise<object[]>>;
|
|
42
42
|
required: true;
|
|
43
43
|
};
|
|
44
44
|
/**
|
|
@@ -66,14 +66,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
66
66
|
type: ObjectConstructor;
|
|
67
67
|
required: true;
|
|
68
68
|
};
|
|
69
|
+
/**
|
|
70
|
+
* Specify if the grid has frozen (fixed) left column
|
|
71
|
+
*/
|
|
69
72
|
column: {
|
|
70
73
|
type: PropType<GridColumn>;
|
|
71
|
-
required: true;
|
|
72
|
-
* Specify if the grid has frozen (fixed) left column
|
|
73
|
-
*/
|
|
74
|
+
required: true;
|
|
74
75
|
};
|
|
75
76
|
}, unknown, unknown, {
|
|
76
|
-
badgeType():
|
|
77
|
+
badgeType(): string;
|
|
77
78
|
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
78
79
|
value: {
|
|
79
80
|
type: (StringConstructor | BooleanConstructor | ArrayConstructor | NumberConstructor)[];
|
|
@@ -83,11 +84,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
83
84
|
type: ObjectConstructor;
|
|
84
85
|
required: true;
|
|
85
86
|
};
|
|
87
|
+
/**
|
|
88
|
+
* Specify if the grid has frozen (fixed) left column
|
|
89
|
+
*/
|
|
86
90
|
column: {
|
|
87
91
|
type: PropType<GridColumn>;
|
|
88
|
-
required: true;
|
|
89
|
-
* Specify if the grid has frozen (fixed) left column
|
|
90
|
-
*/
|
|
92
|
+
required: true;
|
|
91
93
|
};
|
|
92
94
|
}>>, {}> | import("vue").DefineComponent<{
|
|
93
95
|
column: {
|
|
@@ -100,10 +102,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
100
102
|
};
|
|
101
103
|
value: {
|
|
102
104
|
type: StringConstructor;
|
|
103
|
-
default: null;
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
105
|
+
default: null;
|
|
106
|
+
}; /**
|
|
107
|
+
* Specify the columns
|
|
108
|
+
*/
|
|
107
109
|
}, unknown, unknown, {
|
|
108
110
|
buttons(): import("./columnTypes/types").ButtonOptions[];
|
|
109
111
|
}, {
|
|
@@ -119,10 +121,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
119
121
|
};
|
|
120
122
|
value: {
|
|
121
123
|
type: StringConstructor;
|
|
122
|
-
default: null;
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
124
|
+
default: null;
|
|
125
|
+
}; /**
|
|
126
|
+
* Specify the columns
|
|
127
|
+
*/
|
|
126
128
|
}>>, {
|
|
127
129
|
value: string;
|
|
128
130
|
}> | import("vue").DefineComponent<{
|
|
@@ -213,7 +215,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
213
215
|
* Returns some data to be rendered by the default scoped slot
|
|
214
216
|
*/
|
|
215
217
|
provider: {
|
|
216
|
-
type: (
|
|
218
|
+
type: PropType<() => object[] | object[] | Promise<object[]>>;
|
|
217
219
|
required: true;
|
|
218
220
|
};
|
|
219
221
|
/**
|
|
@@ -386,7 +386,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
386
386
|
handleAsyncLoadPrev(): Promise<void>;
|
|
387
387
|
handleAsyncLoadMore(count: number): Promise<void>;
|
|
388
388
|
handleAsyncLoadByQuery({ limit, offset }: Partial<Query>): Promise<void>;
|
|
389
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "close" | "
|
|
389
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "close" | "open" | "update:modelValue" | "async-loaded" | "search-change" | "remove" | "tag")[], "select" | "close" | "open" | "update:modelValue" | "async-loaded" | "search-change" | "remove" | "tag", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
390
390
|
/**
|
|
391
391
|
* Specify if no option can be selected
|
|
392
392
|
*/
|