@rebilly/revel 8.5.0 → 8.6.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 +1 -6
- package/dist/components/r-checkbox/r-checkbox.vue.d.ts +4 -4
- package/dist/components/r-date-input/r-date-input.vue.d.ts +11 -4
- package/dist/components/r-input/r-input.vue.d.ts +10 -2
- package/dist/components/r-select/r-select.vue.d.ts +17 -1
- package/dist/composables/use-validate.d.ts +5 -0
- package/dist/revel.mjs +4657 -4625
- package/dist/revel.umd.js +121 -121
- package/dist/style.css +1 -1
- package/dist/types.d.ts +11 -13
- package/package.json +4 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1 @@
|
|
|
1
|
-
## [8.
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
### Features
|
|
5
|
-
|
|
6
|
-
* **revel:** Add multiple terms search support for RSelect ([#9826](https://github.com/Rebilly/rebilly/issues/9826)) ([57d0871](https://github.com/Rebilly/rebilly/commit/57d0871a969ebd48de3a5fd2387aa4593541e346))
|
|
1
|
+
## [8.6.1](https://github.com/Rebilly/rebilly/compare/revel-v8.6.0...revel-v8.6.1) (2025-02-03)
|
|
@@ -33,7 +33,7 @@ interface Props {
|
|
|
33
33
|
/**
|
|
34
34
|
* Validation result sent by Vuelidate
|
|
35
35
|
*/
|
|
36
|
-
validate?: ValidationState
|
|
36
|
+
validate?: Nullable<ValidationState>;
|
|
37
37
|
}
|
|
38
38
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
39
39
|
label: string;
|
|
@@ -43,7 +43,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
43
43
|
value: string;
|
|
44
44
|
fuzzy: boolean;
|
|
45
45
|
disabled: boolean;
|
|
46
|
-
validate:
|
|
46
|
+
validate: null;
|
|
47
47
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
48
48
|
"update:modelValue": (value: string | number | boolean | string[]) => void;
|
|
49
49
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
@@ -54,7 +54,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
54
54
|
value: string;
|
|
55
55
|
fuzzy: boolean;
|
|
56
56
|
disabled: boolean;
|
|
57
|
-
validate:
|
|
57
|
+
validate: null;
|
|
58
58
|
}>>> & {
|
|
59
59
|
"onUpdate:modelValue"?: ((value: string | number | boolean | string[]) => any) | undefined;
|
|
60
60
|
}, {
|
|
@@ -65,7 +65,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
65
65
|
value: string | boolean;
|
|
66
66
|
modelValue: string | number | boolean | string[];
|
|
67
67
|
fuzzy: boolean;
|
|
68
|
-
validate: ValidationState
|
|
68
|
+
validate: Nullable<ValidationState>;
|
|
69
69
|
}>, {
|
|
70
70
|
label?(_: {}): any;
|
|
71
71
|
}>;
|
|
@@ -25,7 +25,11 @@ interface Props {
|
|
|
25
25
|
/**
|
|
26
26
|
* Validation result sent by Vuelidate
|
|
27
27
|
*/
|
|
28
|
-
validate?: ValidationState
|
|
28
|
+
validate?: Nullable<ValidationState>;
|
|
29
|
+
/**
|
|
30
|
+
* Show validation messages
|
|
31
|
+
*/
|
|
32
|
+
showValidateMessages?: boolean;
|
|
29
33
|
/**
|
|
30
34
|
* Time zone
|
|
31
35
|
*/
|
|
@@ -86,7 +90,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
86
90
|
caption: undefined;
|
|
87
91
|
modelValue: () => Date;
|
|
88
92
|
disabled: boolean;
|
|
89
|
-
validate:
|
|
93
|
+
validate: null;
|
|
94
|
+
showValidateMessages: boolean;
|
|
90
95
|
timezone: string;
|
|
91
96
|
availableDates: undefined;
|
|
92
97
|
columns: number;
|
|
@@ -108,7 +113,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
108
113
|
caption: undefined;
|
|
109
114
|
modelValue: () => Date;
|
|
110
115
|
disabled: boolean;
|
|
111
|
-
validate:
|
|
116
|
+
validate: null;
|
|
117
|
+
showValidateMessages: boolean;
|
|
112
118
|
timezone: string;
|
|
113
119
|
availableDates: undefined;
|
|
114
120
|
columns: number;
|
|
@@ -132,7 +138,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
132
138
|
type: string;
|
|
133
139
|
disabled: boolean;
|
|
134
140
|
modelValue: string | object | Date;
|
|
135
|
-
validate: ValidationState
|
|
141
|
+
validate: Nullable<ValidationState>;
|
|
136
142
|
placement: string;
|
|
137
143
|
timezone: string;
|
|
138
144
|
masks: object;
|
|
@@ -143,6 +149,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
143
149
|
maxDate: string | object | Date;
|
|
144
150
|
placeholder: string;
|
|
145
151
|
timePicker: boolean;
|
|
152
|
+
showValidateMessages: boolean;
|
|
146
153
|
availableDates: object;
|
|
147
154
|
}>;
|
|
148
155
|
export default _default;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import type { IconNames } from '../r-icon/r-icon-sprites';
|
|
2
|
+
import type { ValidationState } from '../../types';
|
|
2
3
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
3
4
|
label: null;
|
|
4
5
|
modelValue: null;
|
|
5
6
|
validate: null;
|
|
7
|
+
showValidateMessages: boolean;
|
|
6
8
|
helpText: null;
|
|
7
9
|
multiline: boolean;
|
|
8
10
|
submitOnEnter: boolean;
|
|
@@ -44,6 +46,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
44
46
|
label: null;
|
|
45
47
|
modelValue: null;
|
|
46
48
|
validate: null;
|
|
49
|
+
showValidateMessages: boolean;
|
|
47
50
|
helpText: null;
|
|
48
51
|
multiline: boolean;
|
|
49
52
|
submitOnEnter: boolean;
|
|
@@ -79,9 +82,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
79
82
|
}, {
|
|
80
83
|
label: Nullable<string>;
|
|
81
84
|
modelValue: Nullable<string | number | boolean>;
|
|
82
|
-
validate: Nullable<
|
|
85
|
+
validate: Nullable<ValidationState>;
|
|
83
86
|
inputEvents: Record<string, unknown>;
|
|
84
87
|
rightIcon: Nullable<"fingerprint" | "dashboard" | "lists" | "automation" | "customers" | "orders" | "transactions" | "guides" | "settings" | "alerts" | "stream" | "search" | "filter" | "collapse-segments" | "resize-columns" | "segments" | "lock" | "caret-up" | "caret-down" | "caret-down-s" | "caret-left" | "caret-right" | "arrow-up" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-up-l" | "arrow-down-l" | "arrow-left-l" | "arrow-right-l" | "close" | "close-s" | "logout" | "actions" | "circle" | "eye" | "eye-closed" | "burger" | "help" | "info" | "dash-l" | "company" | "website" | "email" | "external-link" | "trash" | "bank" | "map-marker" | "credit-card" | "checkout" | "check-s" | "custom-fields" | "calendar" | "columns" | "blocklists" | "webhooks" | "sticky-note" | "clip" | "loading" | "product" | "api-key" | "coupon" | "average" | "payments" | "tag" | "clone" | "copy" | "edit" | "edit-s" | "stop" | "unlock" | "event" | "invoices" | "rules" | "users" | "sharp" | "at" | "file" | "download" | "export" | "data-exports" | "shipping" | "plus" | "drag" | "reset" | "drag-move" | "world" | "integrations" | "id" | "phone" | "batch" | "merge" | "placeholders" | "caret-double-left" | "caret-double-right" | "heart" | "checkbox-checkmark" | "radio-checkmark" | "star" | "star-empty" | "report-match" | "emulate" | "billing-portal" | "app-store" | "kyc" | "cake" | "briefcase" | "tag-untag" | "risk-score" | "list" | "notifications" | "one-column" | "rebilly-logo" | "two-columns" | "meter" | "reports" | "allowlists" | "collapse-layout" | "rebilly-icon" | "sun" | "moon" | "upload" | "camera">;
|
|
88
|
+
showValidateMessages: boolean;
|
|
85
89
|
name: string;
|
|
86
90
|
helpText: Nullable<string>;
|
|
87
91
|
multiline: boolean;
|
|
@@ -118,7 +122,11 @@ interface Props {
|
|
|
118
122
|
/**
|
|
119
123
|
* Validation object (Vuelidate)
|
|
120
124
|
*/
|
|
121
|
-
validate?: Nullable<
|
|
125
|
+
validate?: Nullable<ValidationState>;
|
|
126
|
+
/**
|
|
127
|
+
* Show validation messages
|
|
128
|
+
*/
|
|
129
|
+
showValidateMessages?: boolean;
|
|
122
130
|
/**
|
|
123
131
|
* Help text that displays below the input
|
|
124
132
|
*/
|
|
@@ -73,6 +73,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
73
73
|
type: PropType<ValidationState>;
|
|
74
74
|
default: null;
|
|
75
75
|
};
|
|
76
|
+
/**
|
|
77
|
+
* Show validation messages
|
|
78
|
+
*/
|
|
79
|
+
showValidateMessages: {
|
|
80
|
+
type: BooleanConstructor;
|
|
81
|
+
default: boolean;
|
|
82
|
+
};
|
|
76
83
|
/**
|
|
77
84
|
* Disable the select field
|
|
78
85
|
*/
|
|
@@ -317,6 +324,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
317
324
|
searchElement: import("vue").Ref<HTMLInputElement | null>;
|
|
318
325
|
tagsElement: import("vue").Ref<HTMLDivElement | null>;
|
|
319
326
|
listElement: import("vue").Ref<HTMLDivElement | null>;
|
|
327
|
+
validateErrorMessages: import("vue").ComputedRef<string[]>;
|
|
328
|
+
isInvalid: import("vue").ComputedRef<boolean>;
|
|
320
329
|
}, State, {
|
|
321
330
|
computedLabel(): string;
|
|
322
331
|
computedOptions(): Options;
|
|
@@ -336,7 +345,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
336
345
|
labelClasses(): {
|
|
337
346
|
'r-select-block-pointer-events': boolean;
|
|
338
347
|
};
|
|
339
|
-
isInvalid(): boolean;
|
|
340
348
|
inputStyle(): StyleValue;
|
|
341
349
|
internalValue(): Options;
|
|
342
350
|
isAbove(): boolean;
|
|
@@ -445,6 +453,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
445
453
|
type: PropType<ValidationState>;
|
|
446
454
|
default: null;
|
|
447
455
|
};
|
|
456
|
+
/**
|
|
457
|
+
* Show validation messages
|
|
458
|
+
*/
|
|
459
|
+
showValidateMessages: {
|
|
460
|
+
type: BooleanConstructor;
|
|
461
|
+
default: boolean;
|
|
462
|
+
};
|
|
448
463
|
/**
|
|
449
464
|
* Disable the select field
|
|
450
465
|
*/
|
|
@@ -702,6 +717,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
702
717
|
modelValue: Nullable<OptionItem | Options>;
|
|
703
718
|
validate: ValidationState;
|
|
704
719
|
placeholder: string;
|
|
720
|
+
showValidateMessages: boolean;
|
|
705
721
|
name: string;
|
|
706
722
|
multiple: boolean;
|
|
707
723
|
helpText: string;
|