@reinosoft-ui/core 0.1.26 → 0.1.28
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/dist/components/PasswordValidator/PasswordValidator.d.ts +17 -0
- package/dist/components/PasswordValidator/PasswordValidator.vue.d.ts +12 -0
- package/dist/components/PasswordValidator/index.d.ts +3 -0
- package/dist/index.d.ts +1 -0
- package/dist/reinosoft-ui.es.js +1405 -1297
- package/dist/reinosoft-ui.umd.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface Props {
|
|
2
|
+
id?: string;
|
|
3
|
+
password: string;
|
|
4
|
+
passwordConfirmation: string;
|
|
5
|
+
rules?: PasswordRule[];
|
|
6
|
+
labels?: string[];
|
|
7
|
+
strengthFillColor?: string;
|
|
8
|
+
}
|
|
9
|
+
export interface Emits {
|
|
10
|
+
(e: 'valid', value: boolean): void;
|
|
11
|
+
}
|
|
12
|
+
export interface PasswordRule {
|
|
13
|
+
key: string;
|
|
14
|
+
label: string;
|
|
15
|
+
validator: (password: string, confirmation?: string) => boolean;
|
|
16
|
+
}
|
|
17
|
+
export declare const defaultRules: PasswordRule[];
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type Props } from './PasswordValidator';
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
3
|
+
valid: (value: boolean) => any;
|
|
4
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
5
|
+
onValid?: ((value: boolean) => any) | undefined;
|
|
6
|
+
}>, {
|
|
7
|
+
rules: import("./PasswordValidator").PasswordRule[];
|
|
8
|
+
labels: string[];
|
|
9
|
+
strengthFillColor: string;
|
|
10
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
package/dist/index.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ export { default as Spinner } from './components/Spinner/Spinner.vue';
|
|
|
17
17
|
export { default as Checkbox } from './components/Checkbox/Checkbox.vue';
|
|
18
18
|
export { default as Textarea } from './components/Textarea/Textarea.vue';
|
|
19
19
|
export { default as Highlight } from './components/Highlight/Highlight.vue';
|
|
20
|
+
export { default as PasswordValidator } from './components/PasswordValidator';
|
|
20
21
|
export { default as Breadcrumb } from './components/Breadcrumb/Breadcrumb.vue';
|
|
21
22
|
export { default as RadioButton } from './components/RadioButton/RadioButton.vue';
|
|
22
23
|
export { default as Autocomplete } from './components/Autocomplete/Autocomplete.vue';
|