@ouestfrance/sipa-bms-ui 8.23.5 → 8.24.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/dist/components/form/BmsBetweenInput.vue.d.ts +2 -2
- package/dist/components/form/BmsInputCheckboxCaption.vue.d.ts +4 -4
- package/dist/components/form/BmsInputCheckboxCaptionGroup.vue.d.ts +4 -4
- package/dist/components/form/BmsInputDateTime.vue.d.ts +4 -2
- package/dist/components/form/BmsInputNumber.vue.d.ts +2 -0
- package/dist/components/form/BmsInputRadioCaption.vue.d.ts +4 -4
- package/dist/components/form/BmsInputText.vue.d.ts +6 -2
- package/dist/components/form/BmsInputTime.vue.d.ts +26 -0
- package/dist/components/form/BmsSearch.vue.d.ts +6 -2
- package/dist/components/form/RawAutocomplete.vue.d.ts +4 -1
- package/dist/components/form/RawInputText.vue.d.ts +3 -1
- package/dist/components/navigation/UiTenantSwitcher.vue.d.ts +5 -1
- package/dist/components/table/BmsTableFilters.vue.d.ts +5 -1
- package/dist/index.d.ts +2 -1
- package/dist/models/form.model.d.ts +4 -3
- package/dist/sipa-bms-ui.css +49 -48
- package/dist/sipa-bms-ui.es.js +204 -134
- package/dist/sipa-bms-ui.es.js.map +1 -1
- package/dist/sipa-bms-ui.umd.js +211 -140
- package/dist/sipa-bms-ui.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/form/BmsBetweenInput.vue +3 -3
- package/src/components/form/BmsInputCheckboxCaption.vue +2 -2
- package/src/components/form/BmsInputCheckboxCaptionGroup.vue +2 -2
- package/src/components/form/BmsInputDateTime.stories.js +7 -0
- package/src/components/form/BmsInputDateTime.vue +5 -2
- package/src/components/form/BmsInputNumber.stories.js +8 -0
- package/src/components/form/BmsInputNumber.vue +3 -0
- package/src/components/form/BmsInputRadioCaption.vue +2 -2
- package/src/components/form/BmsInputText.stories.js +3 -5
- package/src/components/form/BmsInputText.vue +4 -1
- package/src/components/form/BmsInputTime.stories.js +65 -0
- package/src/components/form/BmsInputTime.vue +62 -0
- package/src/components/form/BmsMultiSelect.vue +1 -1
- package/src/components/form/BmsSearch.vue +1 -1
- package/src/components/form/BmsTag.vue +3 -2
- package/src/components/form/RawInputText.vue +19 -1
- package/src/index.ts +3 -0
- package/src/models/form.model.ts +3 -2
|
@@ -11,8 +11,8 @@ export interface Props {
|
|
|
11
11
|
helperText?: string;
|
|
12
12
|
placeholderFrom?: string;
|
|
13
13
|
placeholderTo?: string;
|
|
14
|
-
captions?: string
|
|
15
|
-
errors?: string
|
|
14
|
+
captions?: (string | Caption)[];
|
|
15
|
+
errors?: (string | Caption)[];
|
|
16
16
|
}
|
|
17
17
|
declare const _default: import('vue').DefineComponent<Props, {
|
|
18
18
|
setFocus: () => void;
|
|
@@ -6,8 +6,8 @@ export interface Props {
|
|
|
6
6
|
name: string;
|
|
7
7
|
disabled?: boolean;
|
|
8
8
|
required?: boolean;
|
|
9
|
-
errors?: string
|
|
10
|
-
captions?: string
|
|
9
|
+
errors?: (string | Caption)[];
|
|
10
|
+
captions?: (string | Caption)[];
|
|
11
11
|
}
|
|
12
12
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
13
13
|
"update:modelValue": (value: any) => any;
|
|
@@ -17,8 +17,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Pr
|
|
|
17
17
|
label: string;
|
|
18
18
|
required: boolean;
|
|
19
19
|
disabled: boolean;
|
|
20
|
-
errors: string
|
|
21
|
-
captions: string
|
|
20
|
+
errors: (string | Caption)[];
|
|
21
|
+
captions: (string | Caption)[];
|
|
22
22
|
value: any;
|
|
23
23
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>, {
|
|
24
24
|
label?(_: {}): any;
|
|
@@ -8,8 +8,8 @@ export interface Props {
|
|
|
8
8
|
optional?: boolean;
|
|
9
9
|
disabled?: boolean;
|
|
10
10
|
helperText?: string;
|
|
11
|
-
captions?: string
|
|
12
|
-
errors?: string
|
|
11
|
+
captions?: (string | Caption)[];
|
|
12
|
+
errors?: (string | Caption)[];
|
|
13
13
|
align?: 'row' | 'column';
|
|
14
14
|
}
|
|
15
15
|
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
@@ -18,8 +18,8 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
18
18
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
19
19
|
}>, {
|
|
20
20
|
options: BmsInputCheckboxCaptionGroupOption[];
|
|
21
|
-
errors: string
|
|
22
|
-
captions: string
|
|
21
|
+
errors: (string | Caption)[];
|
|
22
|
+
captions: (string | Caption)[];
|
|
23
23
|
align: "row" | "column";
|
|
24
24
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
25
25
|
export default _default;
|
|
@@ -7,9 +7,10 @@ export interface Props {
|
|
|
7
7
|
disabled?: boolean;
|
|
8
8
|
helperText?: string;
|
|
9
9
|
placeholder?: string;
|
|
10
|
-
captions?: string
|
|
11
|
-
errors?: string
|
|
10
|
+
captions?: (string | Caption)[];
|
|
11
|
+
errors?: (string | Caption)[];
|
|
12
12
|
hasTime?: boolean;
|
|
13
|
+
step?: number;
|
|
13
14
|
}
|
|
14
15
|
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
15
16
|
"update:modelValue": (value: string) => any;
|
|
@@ -18,6 +19,7 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
18
19
|
}>, {
|
|
19
20
|
label: string;
|
|
20
21
|
required: boolean;
|
|
22
|
+
step: number;
|
|
21
23
|
disabled: boolean;
|
|
22
24
|
hasTime: boolean;
|
|
23
25
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -9,6 +9,7 @@ export interface Props {
|
|
|
9
9
|
placeholder?: string;
|
|
10
10
|
captions?: (string | Caption)[];
|
|
11
11
|
errors?: (string | Caption)[];
|
|
12
|
+
step?: number;
|
|
12
13
|
max?: number;
|
|
13
14
|
min?: number;
|
|
14
15
|
}
|
|
@@ -21,6 +22,7 @@ declare const _default: import('vue').DefineComponent<Props, {
|
|
|
21
22
|
}>, {
|
|
22
23
|
label: string;
|
|
23
24
|
required: boolean;
|
|
25
|
+
step: number;
|
|
24
26
|
disabled: boolean;
|
|
25
27
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
26
28
|
export default _default;
|
|
@@ -6,8 +6,8 @@ export interface Props {
|
|
|
6
6
|
label?: string;
|
|
7
7
|
disabled?: boolean;
|
|
8
8
|
required?: boolean;
|
|
9
|
-
errors?: string
|
|
10
|
-
captions?: string
|
|
9
|
+
errors?: (string | Caption)[];
|
|
10
|
+
captions?: (string | Caption)[];
|
|
11
11
|
}
|
|
12
12
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
13
13
|
"update:modelValue": (value: any) => any;
|
|
@@ -17,8 +17,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Pr
|
|
|
17
17
|
label: string;
|
|
18
18
|
required: boolean;
|
|
19
19
|
disabled: boolean;
|
|
20
|
-
errors: string
|
|
21
|
-
captions: string
|
|
20
|
+
errors: (string | Caption)[];
|
|
21
|
+
captions: (string | Caption)[];
|
|
22
22
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>, {
|
|
23
23
|
label?(_: {}): any;
|
|
24
24
|
}>;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { Caption, InputType } from '../../models';
|
|
2
2
|
import { FieldComponentProps } from '../../plugins/field/field-component.model';
|
|
3
3
|
export interface Props extends FieldComponentProps {
|
|
4
|
-
inputType?: InputType.TEXT | InputType.NUMBER | InputType.DATE | InputType.DATETIME;
|
|
4
|
+
inputType?: InputType.TEXT | InputType.NUMBER | InputType.DATE | InputType.DATETIME | InputType.TIME;
|
|
5
5
|
modelValue: string | number;
|
|
6
6
|
placeholder?: string;
|
|
7
7
|
min?: number;
|
|
8
8
|
max?: number;
|
|
9
9
|
minlength?: number;
|
|
10
10
|
maxlength?: number;
|
|
11
|
+
step?: number;
|
|
11
12
|
}
|
|
12
13
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Props, {
|
|
13
14
|
setFocus: () => void;
|
|
@@ -37,6 +38,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Pr
|
|
|
37
38
|
readonly max?: number | undefined;
|
|
38
39
|
readonly minlength?: number | undefined;
|
|
39
40
|
readonly maxlength?: number | undefined;
|
|
41
|
+
readonly step?: number | undefined;
|
|
40
42
|
readonly type?: InputType | undefined;
|
|
41
43
|
readonly label?: string | undefined;
|
|
42
44
|
readonly loading?: boolean | undefined;
|
|
@@ -85,6 +87,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Pr
|
|
|
85
87
|
focus: boolean;
|
|
86
88
|
type: InputType;
|
|
87
89
|
required: boolean;
|
|
90
|
+
step: number;
|
|
88
91
|
disabled: boolean;
|
|
89
92
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
90
93
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -110,13 +113,14 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Pr
|
|
|
110
113
|
focus: boolean;
|
|
111
114
|
type: InputType;
|
|
112
115
|
required: boolean;
|
|
116
|
+
step: number;
|
|
113
117
|
disabled: boolean;
|
|
114
118
|
}> & Omit<Readonly<import('./RawInputText.vue').Props> & Readonly<{
|
|
115
119
|
onBlur?: (() => any) | undefined;
|
|
116
120
|
onClick?: (() => any) | undefined;
|
|
117
121
|
onFocus?: (() => any) | undefined;
|
|
118
122
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
119
|
-
}>, "setFocus" | ("focus" | "type" | "required" | "disabled")> & import('vue').ShallowUnwrapRef<{
|
|
123
|
+
}>, "setFocus" | ("focus" | "type" | "required" | "step" | "disabled")> & import('vue').ShallowUnwrapRef<{
|
|
120
124
|
setFocus: () => void;
|
|
121
125
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
122
126
|
$slots: {
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Caption } from '../../models/caption.model';
|
|
2
|
+
export interface Props {
|
|
3
|
+
modelValue: string;
|
|
4
|
+
label?: string;
|
|
5
|
+
required?: boolean;
|
|
6
|
+
optional?: boolean;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
helperText?: string;
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
captions?: (string | Caption)[];
|
|
11
|
+
errors?: (string | Caption)[];
|
|
12
|
+
step?: number;
|
|
13
|
+
hasSeconds?: boolean;
|
|
14
|
+
}
|
|
15
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
16
|
+
"update:modelValue": (value: string) => any;
|
|
17
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
18
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
19
|
+
}>, {
|
|
20
|
+
label: string;
|
|
21
|
+
required: boolean;
|
|
22
|
+
step: number;
|
|
23
|
+
disabled: boolean;
|
|
24
|
+
hasSeconds: boolean;
|
|
25
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
26
|
+
export default _default;
|
|
@@ -3,7 +3,7 @@ export interface Props {
|
|
|
3
3
|
modelValue: string;
|
|
4
4
|
placeholder?: string;
|
|
5
5
|
disabled?: boolean;
|
|
6
|
-
errors?: string
|
|
6
|
+
errors?: (string | Caption)[];
|
|
7
7
|
}
|
|
8
8
|
declare const _default: import('vue').DefineComponent<Props, {
|
|
9
9
|
setFocus: () => void;
|
|
@@ -25,6 +25,7 @@ declare const _default: import('vue').DefineComponent<Props, {
|
|
|
25
25
|
readonly max?: number | undefined;
|
|
26
26
|
readonly minlength?: number | undefined;
|
|
27
27
|
readonly maxlength?: number | undefined;
|
|
28
|
+
readonly step?: number | undefined;
|
|
28
29
|
readonly label?: string | undefined;
|
|
29
30
|
readonly loading?: boolean | undefined;
|
|
30
31
|
readonly required?: boolean | undefined;
|
|
@@ -56,6 +57,7 @@ declare const _default: import('vue').DefineComponent<Props, {
|
|
|
56
57
|
readonly max?: number | undefined;
|
|
57
58
|
readonly minlength?: number | undefined;
|
|
58
59
|
readonly maxlength?: number | undefined;
|
|
60
|
+
readonly step?: number | undefined;
|
|
59
61
|
readonly type?: import('../..').InputType | undefined;
|
|
60
62
|
readonly label?: string | undefined;
|
|
61
63
|
readonly loading?: boolean | undefined;
|
|
@@ -104,6 +106,7 @@ declare const _default: import('vue').DefineComponent<Props, {
|
|
|
104
106
|
focus: boolean;
|
|
105
107
|
type: import('../..').InputType;
|
|
106
108
|
required: boolean;
|
|
109
|
+
step: number;
|
|
107
110
|
disabled: boolean;
|
|
108
111
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
109
112
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -129,13 +132,14 @@ declare const _default: import('vue').DefineComponent<Props, {
|
|
|
129
132
|
focus: boolean;
|
|
130
133
|
type: import('../..').InputType;
|
|
131
134
|
required: boolean;
|
|
135
|
+
step: number;
|
|
132
136
|
disabled: boolean;
|
|
133
137
|
}> & Omit<Readonly<import('./RawInputText.vue').Props> & Readonly<{
|
|
134
138
|
onBlur?: (() => any) | undefined;
|
|
135
139
|
onClick?: (() => any) | undefined;
|
|
136
140
|
onFocus?: (() => any) | undefined;
|
|
137
141
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
138
|
-
}>, "setFocus" | ("focus" | "type" | "required" | "disabled")> & import('vue').ShallowUnwrapRef<{
|
|
142
|
+
}>, "setFocus" | ("focus" | "type" | "required" | "step" | "disabled")> & import('vue').ShallowUnwrapRef<{
|
|
139
143
|
setFocus: () => void;
|
|
140
144
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
141
145
|
$slots: {
|
|
@@ -46,6 +46,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
46
46
|
readonly max?: number | undefined;
|
|
47
47
|
readonly minlength?: number | undefined;
|
|
48
48
|
readonly maxlength?: number | undefined;
|
|
49
|
+
readonly step?: number | undefined;
|
|
49
50
|
readonly type?: InputType | undefined;
|
|
50
51
|
readonly label?: string | undefined;
|
|
51
52
|
readonly loading?: boolean | undefined;
|
|
@@ -94,6 +95,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
94
95
|
focus: boolean;
|
|
95
96
|
type: InputType;
|
|
96
97
|
required: boolean;
|
|
98
|
+
step: number;
|
|
97
99
|
disabled: boolean;
|
|
98
100
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
99
101
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -119,13 +121,14 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
119
121
|
focus: boolean;
|
|
120
122
|
type: InputType;
|
|
121
123
|
required: boolean;
|
|
124
|
+
step: number;
|
|
122
125
|
disabled: boolean;
|
|
123
126
|
}> & Omit<Readonly<import('./RawInputText.vue').Props> & Readonly<{
|
|
124
127
|
onBlur?: (() => any) | undefined;
|
|
125
128
|
onClick?: (() => any) | undefined;
|
|
126
129
|
onFocus?: (() => any) | undefined;
|
|
127
130
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
128
|
-
}>, "setFocus" | ("focus" | "type" | "required" | "disabled")> & import('vue').ShallowUnwrapRef<{
|
|
131
|
+
}>, "setFocus" | ("focus" | "type" | "required" | "step" | "disabled")> & import('vue').ShallowUnwrapRef<{
|
|
129
132
|
setFocus: () => void;
|
|
130
133
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
131
134
|
$slots: {
|
|
@@ -8,7 +8,8 @@ export interface Props extends FieldComponentProps {
|
|
|
8
8
|
max?: number;
|
|
9
9
|
minlength?: number;
|
|
10
10
|
maxlength?: number;
|
|
11
|
-
|
|
11
|
+
step?: number;
|
|
12
|
+
type?: InputType.TEXT | InputType.NUMBER | InputType.DATE | InputType.DATETIME | InputType.TIME;
|
|
12
13
|
}
|
|
13
14
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Props, {
|
|
14
15
|
setFocus: () => void;
|
|
@@ -26,6 +27,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Pr
|
|
|
26
27
|
focus: boolean;
|
|
27
28
|
type: InputType;
|
|
28
29
|
required: boolean;
|
|
30
|
+
step: number;
|
|
29
31
|
disabled: boolean;
|
|
30
32
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
31
33
|
input: HTMLInputElement;
|
|
@@ -26,6 +26,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
26
26
|
readonly max?: number | undefined;
|
|
27
27
|
readonly minlength?: number | undefined;
|
|
28
28
|
readonly maxlength?: number | undefined;
|
|
29
|
+
readonly step?: number | undefined;
|
|
29
30
|
readonly label?: string | undefined;
|
|
30
31
|
readonly loading?: boolean | undefined;
|
|
31
32
|
readonly required?: boolean | undefined;
|
|
@@ -57,6 +58,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
57
58
|
readonly max?: number | undefined;
|
|
58
59
|
readonly minlength?: number | undefined;
|
|
59
60
|
readonly maxlength?: number | undefined;
|
|
61
|
+
readonly step?: number | undefined;
|
|
60
62
|
readonly type?: import('../../models').InputType | undefined;
|
|
61
63
|
readonly label?: string | undefined;
|
|
62
64
|
readonly loading?: boolean | undefined;
|
|
@@ -105,6 +107,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
105
107
|
focus: boolean;
|
|
106
108
|
type: import('../../models').InputType;
|
|
107
109
|
required: boolean;
|
|
110
|
+
step: number;
|
|
108
111
|
disabled: boolean;
|
|
109
112
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
110
113
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -130,13 +133,14 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
130
133
|
focus: boolean;
|
|
131
134
|
type: import('../../models').InputType;
|
|
132
135
|
required: boolean;
|
|
136
|
+
step: number;
|
|
133
137
|
disabled: boolean;
|
|
134
138
|
}> & Omit<Readonly<import('../form/RawInputText.vue').Props> & Readonly<{
|
|
135
139
|
onBlur?: (() => any) | undefined;
|
|
136
140
|
onClick?: (() => any) | undefined;
|
|
137
141
|
onFocus?: (() => any) | undefined;
|
|
138
142
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
139
|
-
}>, "setFocus" | ("focus" | "type" | "required" | "disabled")> & import('vue').ShallowUnwrapRef<{
|
|
143
|
+
}>, "setFocus" | ("focus" | "type" | "required" | "step" | "disabled")> & import('vue').ShallowUnwrapRef<{
|
|
140
144
|
setFocus: () => void;
|
|
141
145
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
142
146
|
$slots: {
|
|
@@ -46,6 +46,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
46
46
|
readonly max?: number | undefined;
|
|
47
47
|
readonly minlength?: number | undefined;
|
|
48
48
|
readonly maxlength?: number | undefined;
|
|
49
|
+
readonly step?: number | undefined;
|
|
49
50
|
readonly label?: string | undefined;
|
|
50
51
|
readonly loading?: boolean | undefined;
|
|
51
52
|
readonly required?: boolean | undefined;
|
|
@@ -77,6 +78,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
77
78
|
readonly max?: number | undefined;
|
|
78
79
|
readonly minlength?: number | undefined;
|
|
79
80
|
readonly maxlength?: number | undefined;
|
|
81
|
+
readonly step?: number | undefined;
|
|
80
82
|
readonly type?: import('../../models').InputType | undefined;
|
|
81
83
|
readonly label?: string | undefined;
|
|
82
84
|
readonly loading?: boolean | undefined;
|
|
@@ -125,6 +127,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
125
127
|
focus: boolean;
|
|
126
128
|
type: import('../../models').InputType;
|
|
127
129
|
required: boolean;
|
|
130
|
+
step: number;
|
|
128
131
|
disabled: boolean;
|
|
129
132
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
130
133
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -150,13 +153,14 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
150
153
|
focus: boolean;
|
|
151
154
|
type: import('../../models').InputType;
|
|
152
155
|
required: boolean;
|
|
156
|
+
step: number;
|
|
153
157
|
disabled: boolean;
|
|
154
158
|
}> & Omit<Readonly<import('../form/RawInputText.vue').Props> & Readonly<{
|
|
155
159
|
onBlur?: (() => any) | undefined;
|
|
156
160
|
onClick?: (() => any) | undefined;
|
|
157
161
|
onFocus?: (() => any) | undefined;
|
|
158
162
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
159
|
-
}>, "setFocus" | ("focus" | "type" | "required" | "disabled")> & import('vue').ShallowUnwrapRef<{
|
|
163
|
+
}>, "setFocus" | ("focus" | "type" | "required" | "step" | "disabled")> & import('vue').ShallowUnwrapRef<{
|
|
160
164
|
setFocus: () => void;
|
|
161
165
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
162
166
|
$slots: {
|
package/dist/index.d.ts
CHANGED
|
@@ -33,6 +33,7 @@ import { default as BmsSearch } from './components/form/BmsSearch.vue';
|
|
|
33
33
|
import { default as BmsSelect } from './components/form/BmsSelect.vue';
|
|
34
34
|
import { default as BmsTag } from './components/form/BmsTag.vue';
|
|
35
35
|
import { default as BmsTextArea } from './components/form/BmsTextArea.vue';
|
|
36
|
+
import { default as BmsInputTime } from './components/form/BmsInputTime.vue';
|
|
36
37
|
import { default as BmsContentPageLayout } from './components/layout/BmsContentPageLayout.vue';
|
|
37
38
|
import { default as BmsCard } from './components/layout/BmsCard.vue';
|
|
38
39
|
import { default as BmsFloatingWindow } from './components/layout/BmsFloatingWindow.vue';
|
|
@@ -76,4 +77,4 @@ export * from './plugins/confirm';
|
|
|
76
77
|
export * from './plugins/runtime-env';
|
|
77
78
|
export * from './plugins/router-history';
|
|
78
79
|
export * from './services';
|
|
79
|
-
export { BmsButton, BmsIconButton, BmsToggleIcon, BmsAlert, BmsBadge, BmsCaption, BmsCircularProgress, BmsGhost, BmsLoader, BmsTooltip, BmsAutocomplete, BmsServerAutocomplete, BmsBetweenInput, BmsChip, BmsFilePicker, BmsInputBooleanCheckbox, BmsInputCheckboxGroup, BmsInputCheckboxCaption, BmsInputCheckboxCaptionGroup, BmsInputCode, BmsInputDateTime, BmsInputFile, BmsInputNumber, BmsInputRadio, BmsInputRadioGroup, BmsInputRadioCaption, BmsInputRadioCaptionGroup, BmsInputText, BmsInputToggle, BmsMultiSelect, BmsSearch, BmsSelect, BmsTag, BmsTextArea, BmsContentPageLayout, BmsCard, BmsFloatingWindow, BmsForm, BmsHeader, BmsHeaderTitle, BmsModal, BmsOverlay, BmsSection, BmsSplitWindow, BmsStep, BmsStepper, BmsBackButton, BmsBreadcrumb, BmsFixedMenu, BmsLink, BmsMenu, BmsMenuNav, BmsShortLinkMenu, BmsTabs, BmsTenantSwitcher, BmsDraggableList, BmsEmptyScreen, BmsPagination, BmsServerTable, BmsTable, BmsCocarde, BmsProblem, BmsRelativeTime, };
|
|
80
|
+
export { BmsButton, BmsIconButton, BmsToggleIcon, BmsAlert, BmsBadge, BmsCaption, BmsCircularProgress, BmsGhost, BmsLoader, BmsTooltip, BmsAutocomplete, BmsServerAutocomplete, BmsBetweenInput, BmsChip, BmsFilePicker, BmsInputBooleanCheckbox, BmsInputCheckboxGroup, BmsInputCheckboxCaption, BmsInputCheckboxCaptionGroup, BmsInputCode, BmsInputDateTime, BmsInputFile, BmsInputNumber, BmsInputRadio, BmsInputRadioGroup, BmsInputRadioCaption, BmsInputRadioCaptionGroup, BmsInputText, BmsInputTime, BmsInputToggle, BmsMultiSelect, BmsSearch, BmsSelect, BmsTag, BmsTextArea, BmsContentPageLayout, BmsCard, BmsFloatingWindow, BmsForm, BmsHeader, BmsHeaderTitle, BmsModal, BmsOverlay, BmsSection, BmsSplitWindow, BmsStep, BmsStepper, BmsBackButton, BmsBreadcrumb, BmsFixedMenu, BmsLink, BmsMenu, BmsMenuNav, BmsShortLinkMenu, BmsTabs, BmsTenantSwitcher, BmsDraggableList, BmsEmptyScreen, BmsPagination, BmsServerTable, BmsTable, BmsCocarde, BmsProblem, BmsRelativeTime, };
|
|
@@ -11,18 +11,19 @@ export interface BmsInputCheckboxGroupOption {
|
|
|
11
11
|
export interface BmsInputRadioCaptionGroupOption {
|
|
12
12
|
value: any;
|
|
13
13
|
label?: string;
|
|
14
|
-
captions: string
|
|
14
|
+
captions: (string | Caption)[];
|
|
15
15
|
}
|
|
16
16
|
export interface BmsInputCheckboxCaptionGroupOption {
|
|
17
17
|
value: any;
|
|
18
18
|
label?: string;
|
|
19
|
-
captions: string
|
|
19
|
+
captions: (string | Caption)[];
|
|
20
20
|
}
|
|
21
21
|
export declare enum InputType {
|
|
22
22
|
TEXT = "text",
|
|
23
23
|
NUMBER = "number",
|
|
24
24
|
DATE = "date",
|
|
25
|
-
DATETIME = "datetime-local"
|
|
25
|
+
DATETIME = "datetime-local",
|
|
26
|
+
TIME = "time"
|
|
26
27
|
}
|
|
27
28
|
export interface InputOption {
|
|
28
29
|
label: string;
|