@ouestfrance/sipa-bms-ui 8.4.0 → 8.5.0
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/form/BmsAutocomplete.vue.d.ts +3 -9
- package/dist/components/form/BmsInputBooleanCheckbox.vue.d.ts +3 -9
- package/dist/components/form/BmsInputCheckboxCaption.vue.d.ts +1 -1
- package/dist/components/form/BmsInputCheckboxGroup.vue.d.ts +4 -11
- package/dist/components/form/BmsInputCode.vue.d.ts +4 -11
- package/dist/components/form/BmsInputFile.vue.d.ts +2 -9
- package/dist/components/form/BmsInputRadioCaptionGroup.vue.d.ts +2 -9
- package/dist/components/form/BmsInputRadioGroup.vue.d.ts +2 -9
- package/dist/components/form/BmsInputText.vue.d.ts +10 -12
- package/dist/components/form/BmsInputToggle.vue.d.ts +5 -6
- package/dist/components/form/BmsMultiSelect.vue.d.ts +3 -9
- package/dist/components/form/BmsSearch.vue.d.ts +11 -5
- package/dist/components/form/BmsSelect.vue.d.ts +3 -8
- package/dist/components/form/BmsTag.vue.d.ts +1 -0
- package/dist/components/form/BmsTextArea.vue.d.ts +2 -9
- package/dist/components/form/RawAutocomplete.vue.d.ts +10 -11
- package/dist/components/form/RawInputText.vue.d.ts +3 -5
- package/dist/components/navigation/UiTenantSwitcher.vue.d.ts +11 -5
- package/dist/components/table/BmsTableFilters.vue.d.ts +11 -5
- package/dist/mockServiceWorker.js +1 -1
- package/dist/plugins/field/FieldComponent.vue.d.ts +3 -11
- package/dist/plugins/field/FieldDatalist.vue.d.ts +2 -0
- package/dist/plugins/field/field-component.model.d.ts +11 -0
- package/dist/sipa-bms-ui.css +134 -110
- package/dist/sipa-bms-ui.es.js +2782 -2645
- package/dist/sipa-bms-ui.es.js.map +1 -1
- package/dist/sipa-bms-ui.umd.js +2782 -2645
- package/dist/sipa-bms-ui.umd.js.map +1 -1
- package/package.json +14 -14
- package/src/components/form/BmsAutocomplete.stories.js +10 -0
- package/src/components/form/BmsAutocomplete.vue +4 -9
- package/src/components/form/BmsBetweenInput.vue +1 -10
- package/src/components/form/BmsFilePicker.stories.js +0 -7
- package/src/components/form/BmsInputBooleanCheckbox.stories.js +6 -0
- package/src/components/form/BmsInputBooleanCheckbox.vue +3 -16
- package/src/components/form/BmsInputCheckboxCaptionGroup.vue +1 -9
- package/src/components/form/BmsInputCheckboxGroup.vue +3 -18
- package/src/components/form/BmsInputCode.stories.js +2 -0
- package/src/components/form/BmsInputCode.vue +3 -18
- package/src/components/form/BmsInputDateTime.stories.js +2 -0
- package/src/components/form/BmsInputFile.stories.js +4 -1
- package/src/components/form/BmsInputFile.vue +5 -20
- package/src/components/form/BmsInputNumber.stories.js +5 -0
- package/src/components/form/BmsInputRadioCaptionGroup.vue +3 -18
- package/src/components/form/BmsInputRadioGroup.stories.js +12 -0
- package/src/components/form/BmsInputRadioGroup.vue +4 -19
- package/src/components/form/BmsInputText.spec.ts +1 -1
- package/src/components/form/BmsInputText.stories.js +5 -0
- package/src/components/form/BmsInputText.vue +5 -19
- package/src/components/form/BmsInputToggle.stories.js +3 -0
- package/src/components/form/BmsInputToggle.vue +13 -15
- package/src/components/form/BmsMultiSelect.stories.js +10 -1
- package/src/components/form/BmsMultiSelect.vue +5 -17
- package/src/components/form/BmsSearch.stories.js +2 -0
- package/src/components/form/BmsSelect.stories.js +4 -1
- package/src/components/form/BmsSelect.vue +7 -20
- package/src/components/form/BmsTag.stories.js +9 -0
- package/src/components/form/BmsTag.vue +9 -6
- package/src/components/form/BmsTextArea.stories.js +3 -2
- package/src/components/form/BmsTextArea.vue +12 -21
- package/src/components/form/RawAutocomplete.vue +5 -18
- package/src/components/form/RawInputText.vue +11 -9
- package/src/components/form/UiBmsInputCheckbox.stories.js +10 -0
- package/src/plugins/field/FieldComponent.stories.js +8 -1
- package/src/plugins/field/FieldComponent.vue +29 -15
- package/src/plugins/field/FieldDatalist.stories.js +2 -0
- package/src/plugins/field/FieldDatalist.vue +12 -2
- package/src/plugins/field/field-component.model.ts +12 -0
- package/src/showroom/pages/forms.vue +28 -0
|
@@ -1,15 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { InputOption } from '../../models';
|
|
2
|
+
import { FieldComponentProps } from '../../plugins/field/field-component.model';
|
|
3
|
+
export interface Props extends FieldComponentProps {
|
|
3
4
|
options: string[] | InputOption[];
|
|
4
5
|
modelValue?: string;
|
|
5
|
-
label?: string;
|
|
6
|
-
required?: boolean;
|
|
7
|
-
optional?: boolean;
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
helperText?: string;
|
|
10
6
|
placeholder?: string;
|
|
11
|
-
captions?: string[] | Caption[];
|
|
12
|
-
errors?: string[] | Caption[];
|
|
13
7
|
open?: boolean;
|
|
14
8
|
canAddNewOption?: boolean;
|
|
15
9
|
}
|
|
@@ -1,14 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface Props {
|
|
1
|
+
import { FieldComponentProps } from '../../plugins/field/field-component.model';
|
|
2
|
+
export interface Props extends FieldComponentProps {
|
|
3
3
|
modelValue: any;
|
|
4
4
|
labelValue: string;
|
|
5
5
|
name: string;
|
|
6
|
-
label?: string;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
helperText?: string;
|
|
9
|
-
captions?: string[] | Caption[];
|
|
10
|
-
errors?: string[] | Caption[];
|
|
11
|
-
required?: boolean;
|
|
12
6
|
}
|
|
13
7
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
14
8
|
"update:modelValue": (value: boolean) => any;
|
|
@@ -18,7 +12,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Pr
|
|
|
18
12
|
label: string;
|
|
19
13
|
required: boolean;
|
|
20
14
|
disabled: boolean;
|
|
21
|
-
errors: string[] | Caption[];
|
|
15
|
+
errors: string[] | import('../..').Caption[];
|
|
22
16
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
23
17
|
label?(_: {}): any;
|
|
24
18
|
}>;
|
|
@@ -18,8 +18,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Pr
|
|
|
18
18
|
required: boolean;
|
|
19
19
|
disabled: boolean;
|
|
20
20
|
errors: string[] | Caption[];
|
|
21
|
-
value: any;
|
|
22
21
|
captions: string[] | Caption[];
|
|
22
|
+
value: any;
|
|
23
23
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>, {
|
|
24
24
|
label?(_: {}): any;
|
|
25
25
|
}>;
|
|
@@ -1,15 +1,8 @@
|
|
|
1
1
|
import { BmsInputCheckboxGroupOption } from '../../models';
|
|
2
|
-
import {
|
|
3
|
-
export interface Props {
|
|
2
|
+
import { FieldComponentProps } from '../../plugins/field/field-component.model';
|
|
3
|
+
export interface Props extends FieldComponentProps {
|
|
4
4
|
values: string[] | BmsInputCheckboxGroupOption[];
|
|
5
5
|
modelValue: any[];
|
|
6
|
-
label?: string;
|
|
7
|
-
required?: boolean;
|
|
8
|
-
optional?: boolean;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
helperText?: string;
|
|
11
|
-
captions?: string[] | Caption[];
|
|
12
|
-
errors?: string[] | Caption[];
|
|
13
6
|
align?: 'row' | 'column';
|
|
14
7
|
}
|
|
15
8
|
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
@@ -17,8 +10,8 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
17
10
|
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
18
11
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
19
12
|
}>, {
|
|
20
|
-
errors: string[] | Caption[];
|
|
21
|
-
captions: string[] | Caption[];
|
|
13
|
+
errors: string[] | import('../../models').Caption[];
|
|
14
|
+
captions: string[] | import('../../models').Caption[];
|
|
22
15
|
align: "row" | "column";
|
|
23
16
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
24
17
|
export default _default;
|
|
@@ -1,14 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface Props {
|
|
1
|
+
import { FieldComponentProps } from '../../plugins/field/field-component.model';
|
|
2
|
+
export interface Props extends FieldComponentProps {
|
|
3
3
|
type: 'html' | 'json';
|
|
4
4
|
modelValue: string;
|
|
5
|
-
label?: string;
|
|
6
|
-
required?: boolean;
|
|
7
|
-
optional?: boolean;
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
helperText?: string;
|
|
10
|
-
captions?: string[] | Caption[];
|
|
11
|
-
errors?: string[] | Caption[];
|
|
12
5
|
}
|
|
13
6
|
type __VLS_Props = Props;
|
|
14
7
|
declare const input: import('vue').ModelRef<string, string, string, string>;
|
|
@@ -21,7 +14,7 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
21
14
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
22
15
|
}>, {
|
|
23
16
|
modelValue: string;
|
|
24
|
-
errors: string[] | Caption[];
|
|
25
|
-
captions: string[] | Caption[];
|
|
17
|
+
errors: string[] | import('../..').Caption[];
|
|
18
|
+
captions: string[] | import('../..').Caption[];
|
|
26
19
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
27
20
|
export default _default;
|
|
@@ -1,15 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
interface Props {
|
|
3
|
-
label: string;
|
|
1
|
+
import { FieldComponentProps } from '../../plugins/field/field-component.model';
|
|
2
|
+
interface Props extends FieldComponentProps {
|
|
4
3
|
modelValue: File[];
|
|
5
4
|
limit?: number;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
required?: boolean;
|
|
8
|
-
optional?: boolean;
|
|
9
|
-
helperText?: string;
|
|
10
5
|
placeholder?: string;
|
|
11
|
-
captions?: string[] | Caption[];
|
|
12
|
-
errors?: string[] | Caption[];
|
|
13
6
|
wide?: boolean;
|
|
14
7
|
accept?: string;
|
|
15
8
|
}
|
|
@@ -1,15 +1,8 @@
|
|
|
1
1
|
import { BmsInputRadioCaptionGroupOption } from '../../models';
|
|
2
|
-
import {
|
|
3
|
-
export interface Props {
|
|
2
|
+
import { FieldComponentProps } from '../../plugins/field/field-component.model';
|
|
3
|
+
export interface Props extends FieldComponentProps {
|
|
4
4
|
options?: BmsInputRadioCaptionGroupOption[];
|
|
5
5
|
modelValue: any;
|
|
6
|
-
label?: string;
|
|
7
|
-
required?: boolean;
|
|
8
|
-
optional?: boolean;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
helperText?: string;
|
|
11
|
-
captions?: string[] | Caption[];
|
|
12
|
-
errors?: string[] | Caption[];
|
|
13
6
|
align?: 'row' | 'column';
|
|
14
7
|
}
|
|
15
8
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
@@ -1,15 +1,8 @@
|
|
|
1
1
|
import { BmsInputRadioGroupOption } from '../../models';
|
|
2
|
-
import {
|
|
3
|
-
export interface Props {
|
|
2
|
+
import { FieldComponentProps } from '../../plugins/field/field-component.model';
|
|
3
|
+
export interface Props extends FieldComponentProps {
|
|
4
4
|
values?: string[] | BmsInputRadioGroupOption[];
|
|
5
5
|
modelValue: any;
|
|
6
|
-
label?: string;
|
|
7
|
-
required?: boolean;
|
|
8
|
-
optional?: boolean;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
helperText?: string;
|
|
11
|
-
captions?: string[] | Caption[];
|
|
12
|
-
errors?: string[] | Caption[];
|
|
13
6
|
align?: 'row' | 'column';
|
|
14
7
|
}
|
|
15
8
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
@@ -1,16 +1,9 @@
|
|
|
1
|
-
import { Caption } from '../../models/caption.model';
|
|
2
1
|
import { InputType } from '../../models';
|
|
3
|
-
|
|
2
|
+
import { FieldComponentProps } from '../../plugins/field/field-component.model';
|
|
3
|
+
export interface Props extends FieldComponentProps {
|
|
4
4
|
inputType?: InputType.TEXT | InputType.NUMBER | InputType.DATE | InputType.DATETIME;
|
|
5
5
|
modelValue: string | number;
|
|
6
|
-
label?: string;
|
|
7
|
-
required?: boolean;
|
|
8
|
-
optional?: boolean;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
helperText?: string;
|
|
11
6
|
placeholder?: string;
|
|
12
|
-
captions?: string[] | Caption[];
|
|
13
|
-
errors?: string[] | Caption[];
|
|
14
7
|
}
|
|
15
8
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Props, {
|
|
16
9
|
setFocus: () => void;
|
|
@@ -31,12 +24,17 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Pr
|
|
|
31
24
|
$data: {};
|
|
32
25
|
$props: {
|
|
33
26
|
readonly modelValue: string | number;
|
|
34
|
-
readonly required?: boolean | undefined;
|
|
35
27
|
readonly placeholder?: string | undefined;
|
|
36
|
-
readonly disabled?: boolean | undefined;
|
|
37
28
|
readonly focus?: boolean | undefined;
|
|
38
29
|
readonly type?: InputType | undefined;
|
|
39
|
-
readonly
|
|
30
|
+
readonly label?: string | undefined;
|
|
31
|
+
readonly required?: boolean | undefined;
|
|
32
|
+
readonly optional?: boolean | undefined;
|
|
33
|
+
readonly helperText?: string | undefined;
|
|
34
|
+
readonly errors?: string[] | import('../../models').Caption[] | undefined;
|
|
35
|
+
readonly captions?: string[] | import('../../models').Caption[] | undefined;
|
|
36
|
+
readonly disabled?: boolean | undefined;
|
|
37
|
+
readonly small?: boolean | undefined;
|
|
40
38
|
readonly onBlur?: (() => any) | undefined;
|
|
41
39
|
readonly onKeyDown?: (() => any) | undefined;
|
|
42
40
|
readonly onKeyUp?: (() => any) | undefined;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { FieldComponentProps } from '../../plugins/field/field-component.model';
|
|
2
|
+
interface Props extends FieldComponentProps {
|
|
3
3
|
name: string;
|
|
4
4
|
modelValue: boolean;
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
8
7
|
"update:modelValue": (value: any) => any;
|
|
9
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
10
9
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
11
10
|
}>, {
|
|
12
11
|
disabled: boolean;
|
|
@@ -1,13 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { InputOption } from '../../models';
|
|
2
|
+
import { FieldComponentProps } from '../../plugins/field/field-component.model';
|
|
3
|
+
export interface Props extends FieldComponentProps {
|
|
3
4
|
options: InputOption[];
|
|
4
|
-
label?: string;
|
|
5
|
-
errors?: string[] | Caption[];
|
|
6
|
-
captions?: string[] | Caption[];
|
|
7
|
-
required?: boolean;
|
|
8
|
-
optional?: boolean;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
helperText?: string;
|
|
11
5
|
placeholder?: string;
|
|
12
6
|
}
|
|
13
7
|
type __VLS_Props = Props;
|
|
@@ -20,14 +20,15 @@ declare const _default: import('vue').DefineComponent<Props, {
|
|
|
20
20
|
$props: {
|
|
21
21
|
readonly inputType?: import('../..').InputType | undefined;
|
|
22
22
|
readonly modelValue: string | number;
|
|
23
|
+
readonly placeholder?: string | undefined;
|
|
23
24
|
readonly label?: string | undefined;
|
|
24
25
|
readonly required?: boolean | undefined;
|
|
25
26
|
readonly optional?: boolean | undefined;
|
|
26
|
-
readonly disabled?: boolean | undefined;
|
|
27
27
|
readonly helperText?: string | undefined;
|
|
28
|
-
readonly placeholder?: string | undefined;
|
|
29
|
-
readonly captions?: string[] | Caption[] | undefined;
|
|
30
28
|
readonly errors?: string[] | Caption[] | undefined;
|
|
29
|
+
readonly captions?: string[] | Caption[] | undefined;
|
|
30
|
+
readonly disabled?: boolean | undefined;
|
|
31
|
+
readonly small?: boolean | undefined;
|
|
31
32
|
readonly onBlur?: (() => any) | undefined;
|
|
32
33
|
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
33
34
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
@@ -42,12 +43,17 @@ declare const _default: import('vue').DefineComponent<Props, {
|
|
|
42
43
|
$data: {};
|
|
43
44
|
$props: {
|
|
44
45
|
readonly modelValue: string | number;
|
|
45
|
-
readonly required?: boolean | undefined;
|
|
46
46
|
readonly placeholder?: string | undefined;
|
|
47
|
-
readonly disabled?: boolean | undefined;
|
|
48
47
|
readonly focus?: boolean | undefined;
|
|
49
48
|
readonly type?: import('../..').InputType | undefined;
|
|
49
|
+
readonly label?: string | undefined;
|
|
50
|
+
readonly required?: boolean | undefined;
|
|
51
|
+
readonly optional?: boolean | undefined;
|
|
52
|
+
readonly helperText?: string | undefined;
|
|
50
53
|
readonly errors?: string[] | Caption[] | undefined;
|
|
54
|
+
readonly captions?: string[] | Caption[] | undefined;
|
|
55
|
+
readonly disabled?: boolean | undefined;
|
|
56
|
+
readonly small?: boolean | undefined;
|
|
51
57
|
readonly onBlur?: (() => any) | undefined;
|
|
52
58
|
readonly onKeyDown?: (() => any) | undefined;
|
|
53
59
|
readonly onKeyUp?: (() => any) | undefined;
|
|
@@ -1,14 +1,8 @@
|
|
|
1
|
-
import { Caption } from '../../models/caption.model';
|
|
2
1
|
import { InputOption } from '../../models';
|
|
3
|
-
|
|
2
|
+
import { FieldComponentProps } from '../../plugins/field/field-component.model';
|
|
3
|
+
export interface Props extends FieldComponentProps {
|
|
4
4
|
options: InputOption[];
|
|
5
|
-
label?: string;
|
|
6
|
-
errors?: string[] | Caption[];
|
|
7
|
-
captions?: string[] | Caption[];
|
|
8
|
-
required?: boolean;
|
|
9
5
|
optional?: boolean;
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
helperText?: string;
|
|
12
6
|
placeholder?: string;
|
|
13
7
|
}
|
|
14
8
|
type __VLS_Props = Props;
|
|
@@ -26,6 +20,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
26
20
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
27
21
|
}>, {
|
|
28
22
|
label: string;
|
|
23
|
+
small: boolean;
|
|
29
24
|
required: boolean;
|
|
30
25
|
disabled: boolean;
|
|
31
26
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
@@ -2,6 +2,7 @@ interface Props {
|
|
|
2
2
|
active?: boolean;
|
|
3
3
|
disabled?: boolean;
|
|
4
4
|
canBeDismissed?: boolean;
|
|
5
|
+
small?: boolean;
|
|
5
6
|
}
|
|
6
7
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
8
|
click: (...args: any[]) => void;
|
|
@@ -1,14 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface Props {
|
|
1
|
+
import { FieldComponentProps } from '../../plugins/field/field-component.model';
|
|
2
|
+
export interface Props extends FieldComponentProps {
|
|
3
3
|
modelValue: string;
|
|
4
|
-
label?: string;
|
|
5
|
-
required?: boolean;
|
|
6
|
-
optional?: boolean;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
helperText?: string;
|
|
9
4
|
placeholder?: string;
|
|
10
|
-
captions?: string[];
|
|
11
|
-
errors?: string[] | Caption[];
|
|
12
5
|
}
|
|
13
6
|
declare const _default: import('vue').DefineComponent<Props, {
|
|
14
7
|
setFocus: () => void;
|
|
@@ -1,15 +1,9 @@
|
|
|
1
|
-
import { Caption } from '../../models/caption.model';
|
|
2
1
|
import { InputOption, InputType } from '../../models';
|
|
3
|
-
|
|
2
|
+
import { FieldComponentProps } from '../../plugins/field/field-component.model';
|
|
3
|
+
export interface Props extends FieldComponentProps {
|
|
4
4
|
options: InputOption[];
|
|
5
5
|
label?: string;
|
|
6
|
-
required?: boolean;
|
|
7
|
-
optional?: boolean;
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
helperText?: string;
|
|
10
6
|
placeholder?: string;
|
|
11
|
-
captions?: string[] | Caption[];
|
|
12
|
-
errors?: string[] | Caption[];
|
|
13
7
|
open?: boolean;
|
|
14
8
|
canAddNewOption?: boolean;
|
|
15
9
|
newOption?: string;
|
|
@@ -37,12 +31,17 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
37
31
|
$data: {};
|
|
38
32
|
$props: {
|
|
39
33
|
readonly modelValue: string | number;
|
|
40
|
-
readonly required?: boolean | undefined;
|
|
41
34
|
readonly placeholder?: string | undefined;
|
|
42
|
-
readonly disabled?: boolean | undefined;
|
|
43
35
|
readonly focus?: boolean | undefined;
|
|
44
36
|
readonly type?: InputType | undefined;
|
|
45
|
-
readonly
|
|
37
|
+
readonly label?: string | undefined;
|
|
38
|
+
readonly required?: boolean | undefined;
|
|
39
|
+
readonly optional?: boolean | undefined;
|
|
40
|
+
readonly helperText?: string | undefined;
|
|
41
|
+
readonly errors?: string[] | import('../../models').Caption[] | undefined;
|
|
42
|
+
readonly captions?: string[] | import('../../models').Caption[] | undefined;
|
|
43
|
+
readonly disabled?: boolean | undefined;
|
|
44
|
+
readonly small?: boolean | undefined;
|
|
46
45
|
readonly onBlur?: (() => any) | undefined;
|
|
47
46
|
readonly onKeyDown?: (() => any) | undefined;
|
|
48
47
|
readonly onKeyUp?: (() => any) | undefined;
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { InputType } from '../../models';
|
|
2
|
+
import { FieldComponentProps } from '../../plugins/field/field-component.model';
|
|
3
|
+
export interface Props extends FieldComponentProps {
|
|
3
4
|
modelValue: string | number;
|
|
4
|
-
required?: boolean;
|
|
5
5
|
placeholder?: string;
|
|
6
|
-
disabled?: boolean;
|
|
7
6
|
focus?: boolean;
|
|
8
7
|
type?: InputType.TEXT | InputType.NUMBER | InputType.DATE | InputType.DATETIME;
|
|
9
|
-
errors?: string[] | Caption[];
|
|
10
8
|
}
|
|
11
9
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Props, {
|
|
12
10
|
setFocus: () => void;
|
|
@@ -21,14 +21,15 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
21
21
|
$props: {
|
|
22
22
|
readonly inputType?: import('../../models').InputType | undefined;
|
|
23
23
|
readonly modelValue: string | number;
|
|
24
|
+
readonly placeholder?: string | undefined;
|
|
24
25
|
readonly label?: string | undefined;
|
|
25
26
|
readonly required?: boolean | undefined;
|
|
26
27
|
readonly optional?: boolean | undefined;
|
|
27
|
-
readonly disabled?: boolean | undefined;
|
|
28
28
|
readonly helperText?: string | undefined;
|
|
29
|
-
readonly placeholder?: string | undefined;
|
|
30
|
-
readonly captions?: string[] | import('../../models').Caption[] | undefined;
|
|
31
29
|
readonly errors?: string[] | import('../../models').Caption[] | undefined;
|
|
30
|
+
readonly captions?: string[] | import('../../models').Caption[] | undefined;
|
|
31
|
+
readonly disabled?: boolean | undefined;
|
|
32
|
+
readonly small?: boolean | undefined;
|
|
32
33
|
readonly onBlur?: (() => any) | undefined;
|
|
33
34
|
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
34
35
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
@@ -43,12 +44,17 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
43
44
|
$data: {};
|
|
44
45
|
$props: {
|
|
45
46
|
readonly modelValue: string | number;
|
|
46
|
-
readonly required?: boolean | undefined;
|
|
47
47
|
readonly placeholder?: string | undefined;
|
|
48
|
-
readonly disabled?: boolean | undefined;
|
|
49
48
|
readonly focus?: boolean | undefined;
|
|
50
49
|
readonly type?: import('../../models').InputType | undefined;
|
|
50
|
+
readonly label?: string | undefined;
|
|
51
|
+
readonly required?: boolean | undefined;
|
|
52
|
+
readonly optional?: boolean | undefined;
|
|
53
|
+
readonly helperText?: string | undefined;
|
|
51
54
|
readonly errors?: string[] | import('../../models').Caption[] | undefined;
|
|
55
|
+
readonly captions?: string[] | import('../../models').Caption[] | undefined;
|
|
56
|
+
readonly disabled?: boolean | undefined;
|
|
57
|
+
readonly small?: boolean | undefined;
|
|
52
58
|
readonly onBlur?: (() => any) | undefined;
|
|
53
59
|
readonly onKeyDown?: (() => any) | undefined;
|
|
54
60
|
readonly onKeyUp?: (() => any) | undefined;
|
|
@@ -21,14 +21,15 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
21
21
|
$props: {
|
|
22
22
|
readonly inputType?: import('../../models').InputType | undefined;
|
|
23
23
|
readonly modelValue: string | number;
|
|
24
|
+
readonly placeholder?: string | undefined;
|
|
24
25
|
readonly label?: string | undefined;
|
|
25
26
|
readonly required?: boolean | undefined;
|
|
26
27
|
readonly optional?: boolean | undefined;
|
|
27
|
-
readonly disabled?: boolean | undefined;
|
|
28
28
|
readonly helperText?: string | undefined;
|
|
29
|
-
readonly placeholder?: string | undefined;
|
|
30
|
-
readonly captions?: string[] | import('../../models').Caption[] | undefined;
|
|
31
29
|
readonly errors?: string[] | import('../../models').Caption[] | undefined;
|
|
30
|
+
readonly captions?: string[] | import('../../models').Caption[] | undefined;
|
|
31
|
+
readonly disabled?: boolean | undefined;
|
|
32
|
+
readonly small?: boolean | undefined;
|
|
32
33
|
readonly onBlur?: (() => any) | undefined;
|
|
33
34
|
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
34
35
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
@@ -43,12 +44,17 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
43
44
|
$data: {};
|
|
44
45
|
$props: {
|
|
45
46
|
readonly modelValue: string | number;
|
|
46
|
-
readonly required?: boolean | undefined;
|
|
47
47
|
readonly placeholder?: string | undefined;
|
|
48
|
-
readonly disabled?: boolean | undefined;
|
|
49
48
|
readonly focus?: boolean | undefined;
|
|
50
49
|
readonly type?: import('../../models').InputType | undefined;
|
|
50
|
+
readonly label?: string | undefined;
|
|
51
|
+
readonly required?: boolean | undefined;
|
|
52
|
+
readonly optional?: boolean | undefined;
|
|
53
|
+
readonly helperText?: string | undefined;
|
|
51
54
|
readonly errors?: string[] | import('../../models').Caption[] | undefined;
|
|
55
|
+
readonly captions?: string[] | import('../../models').Caption[] | undefined;
|
|
56
|
+
readonly disabled?: boolean | undefined;
|
|
57
|
+
readonly small?: boolean | undefined;
|
|
52
58
|
readonly onBlur?: (() => any) | undefined;
|
|
53
59
|
readonly onKeyDown?: (() => any) | undefined;
|
|
54
60
|
readonly onKeyUp?: (() => any) | undefined;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* - Please do NOT modify this file.
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
const PACKAGE_VERSION = '2.10.
|
|
10
|
+
const PACKAGE_VERSION = '2.10.5'
|
|
11
11
|
const INTEGRITY_CHECKSUM = 'f5825c521429caf22a4dd13b66e243af'
|
|
12
12
|
const IS_MOCKED_RESPONSE = Symbol('isMockedResponse')
|
|
13
13
|
const activeClientIds = new Set()
|
|
@@ -1,15 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
label?: string;
|
|
4
|
-
required?: boolean;
|
|
5
|
-
optional?: boolean;
|
|
6
|
-
helperText?: string;
|
|
7
|
-
errors?: string[] | Caption[];
|
|
8
|
-
captions?: string[] | Caption[];
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
}
|
|
11
|
-
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
1
|
+
import { FieldComponentProps } from './field-component.model';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<FieldComponentProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<FieldComponentProps> & Readonly<{}>, {
|
|
12
3
|
label: string;
|
|
4
|
+
small: boolean;
|
|
13
5
|
optional: boolean;
|
|
14
6
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
15
7
|
datalist: HTMLSpanElement;
|
|
@@ -4,6 +4,7 @@ export interface Props {
|
|
|
4
4
|
isInputFocused: boolean;
|
|
5
5
|
canAddNewOption?: boolean;
|
|
6
6
|
newOption?: string;
|
|
7
|
+
small?: boolean;
|
|
7
8
|
}
|
|
8
9
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
10
|
select: (option: any) => any;
|
|
@@ -12,6 +13,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Pr
|
|
|
12
13
|
onSelect?: ((option: any) => any) | undefined;
|
|
13
14
|
onAddNewOption?: ((option: string) => any) | undefined;
|
|
14
15
|
}>, {
|
|
16
|
+
small: boolean;
|
|
15
17
|
canAddNewOption: boolean;
|
|
16
18
|
newOption: string;
|
|
17
19
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLUListElement>, {
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Caption } from '../../models';
|
|
2
|
+
export interface FieldComponentProps {
|
|
3
|
+
label?: string;
|
|
4
|
+
required?: boolean;
|
|
5
|
+
optional?: boolean;
|
|
6
|
+
helperText?: string;
|
|
7
|
+
errors?: string[] | Caption[];
|
|
8
|
+
captions?: string[] | Caption[];
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
small?: boolean;
|
|
11
|
+
}
|