@ouestfrance/sipa-bms-ui 8.5.4 → 8.7.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 +2 -0
- package/dist/components/form/BmsInputBooleanCheckbox.vue.d.ts +1 -1
- package/dist/components/form/BmsInputCheckboxGroup.vue.d.ts +2 -2
- package/dist/components/form/BmsInputCode.vue.d.ts +2 -2
- package/dist/components/form/BmsInputNumber.vue.d.ts +2 -2
- package/dist/components/form/BmsInputRadio.vue.d.ts +2 -2
- package/dist/components/form/BmsInputText.vue.d.ts +24 -22
- package/dist/components/form/BmsMultiSelect.vue.d.ts +3 -4
- package/dist/components/form/BmsSearch.vue.d.ts +28 -24
- package/dist/components/form/BmsSelect.vue.d.ts +7 -17
- package/dist/components/form/RawAutocomplete.vue.d.ts +17 -21
- package/dist/components/form/RawInputText.vue.d.ts +9 -9
- package/dist/components/form/RawSelect.vue.d.ts +30 -0
- package/dist/components/navigation/UiTenantSwitcher.vue.d.ts +28 -24
- package/dist/components/table/BmsServerTable.vue.d.ts +18 -0
- package/dist/components/table/BmsTable.vue.d.ts +18 -1
- package/dist/components/table/BmsTableFilters.vue.d.ts +47 -25
- package/dist/components/table/UiBmsTableCell.vue.d.ts +7 -0
- package/dist/composables/search.composable.d.ts +1 -0
- package/dist/models/table.model.d.ts +6 -0
- package/dist/plugins/field/FieldDatalist.vue.d.ts +2 -0
- package/dist/plugins/field/field-component.model.d.ts +2 -2
- package/dist/sipa-bms-ui.css +173 -126
- package/dist/sipa-bms-ui.es.js +4875 -4484
- package/dist/sipa-bms-ui.es.js.map +1 -1
- package/dist/sipa-bms-ui.umd.js +4882 -4490
- package/dist/sipa-bms-ui.umd.js.map +1 -1
- package/package.json +11 -11
- package/src/components/form/BmsAutocomplete.vue +3 -0
- package/src/components/form/BmsInputNumber.spec.ts +26 -0
- package/src/components/form/BmsInputNumber.stories.js +20 -3
- package/src/components/form/BmsInputNumber.vue +36 -4
- package/src/components/form/BmsInputRadio.vue +1 -1
- package/src/components/form/BmsInputText.spec.ts +25 -0
- package/src/components/form/BmsInputText.stories.js +28 -3
- package/src/components/form/BmsInputText.vue +73 -12
- package/src/components/form/BmsMultiSelect.vue +67 -30
- package/src/components/form/BmsSelect.vue +60 -57
- package/src/components/form/RawAutocomplete.spec.ts +0 -8
- package/src/components/form/RawAutocomplete.vue +42 -24
- package/src/components/form/RawInputText.vue +14 -21
- package/src/components/form/RawSelect.vue +111 -0
- package/src/components/table/BmsServerTable.vue +18 -3
- package/src/components/table/BmsTable.vue +15 -2
- package/src/components/table/BmsTableFilters.vue +19 -7
- package/src/components/table/UiBmsTable.stories.js +37 -0
- package/src/components/table/UiBmsTableCell.vue +25 -0
- package/src/components/table/UiBmsTableRow.stories.js +30 -0
- package/src/components/table/UiBmsTableRow.vue +3 -2
- package/src/components/utils/BmsRelativeTime.vue +1 -1
- package/src/composables/search.composable.spec.ts +75 -0
- package/src/composables/search.composable.ts +54 -11
- package/src/models/table.model.ts +7 -0
- package/src/plugins/field/FieldComponent.vue +6 -4
- package/src/plugins/field/FieldDatalist.stories.js +0 -9
- package/src/plugins/field/FieldDatalist.vue +16 -13
- package/src/plugins/field/field-component.model.ts +2 -2
- package/src/showroom/pages/autocomplete.vue +22 -1
- package/src/showroom/pages/server-table.vue +53 -22
- package/src/showroom/pages/table.vue +46 -21
- package/dist/plugins/field/FieldDatalist.spec.d.ts +0 -1
- package/src/plugins/field/FieldDatalist.spec.ts +0 -35
|
@@ -22,15 +22,20 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
22
22
|
readonly inputType?: import('../../models').InputType | undefined;
|
|
23
23
|
readonly modelValue: string | number;
|
|
24
24
|
readonly placeholder?: string | undefined;
|
|
25
|
+
readonly min?: number | undefined;
|
|
26
|
+
readonly max?: number | undefined;
|
|
27
|
+
readonly minlength?: number | undefined;
|
|
28
|
+
readonly maxlength?: number | undefined;
|
|
25
29
|
readonly label?: string | undefined;
|
|
26
30
|
readonly required?: boolean | undefined;
|
|
27
31
|
readonly optional?: boolean | undefined;
|
|
28
32
|
readonly helperText?: string | undefined;
|
|
29
|
-
readonly errors?: string
|
|
30
|
-
readonly captions?: string
|
|
33
|
+
readonly errors?: (string | import('../../models').Caption)[] | undefined;
|
|
34
|
+
readonly captions?: (string | import('../../models').Caption)[] | undefined;
|
|
31
35
|
readonly disabled?: boolean | undefined;
|
|
32
36
|
readonly small?: boolean | undefined;
|
|
33
37
|
readonly onBlur?: (() => any) | undefined;
|
|
38
|
+
readonly onFocus?: (() => any) | undefined;
|
|
34
39
|
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
35
40
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
36
41
|
$attrs: {
|
|
@@ -46,21 +51,23 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
46
51
|
readonly modelValue: string | number;
|
|
47
52
|
readonly placeholder?: string | undefined;
|
|
48
53
|
readonly focus?: boolean | undefined;
|
|
54
|
+
readonly min?: number | undefined;
|
|
55
|
+
readonly max?: number | undefined;
|
|
56
|
+
readonly minlength?: number | undefined;
|
|
57
|
+
readonly maxlength?: number | undefined;
|
|
49
58
|
readonly type?: import('../../models').InputType | undefined;
|
|
50
59
|
readonly label?: string | undefined;
|
|
51
60
|
readonly required?: boolean | undefined;
|
|
52
61
|
readonly optional?: boolean | undefined;
|
|
53
62
|
readonly helperText?: string | undefined;
|
|
54
|
-
readonly errors?: string
|
|
55
|
-
readonly captions?: string
|
|
63
|
+
readonly errors?: (string | import('../../models').Caption)[] | undefined;
|
|
64
|
+
readonly captions?: (string | import('../../models').Caption)[] | undefined;
|
|
56
65
|
readonly disabled?: boolean | undefined;
|
|
57
66
|
readonly small?: boolean | undefined;
|
|
58
67
|
readonly onBlur?: (() => any) | undefined;
|
|
59
|
-
readonly
|
|
60
|
-
readonly
|
|
61
|
-
readonly onKeyEnter?: (() => any) | undefined;
|
|
68
|
+
readonly onClick?: (() => any) | undefined;
|
|
69
|
+
readonly onFocus?: (() => any) | undefined;
|
|
62
70
|
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
63
|
-
readonly "onUpdate:focus"?: ((value: boolean) => any) | undefined;
|
|
64
71
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
65
72
|
$attrs: {
|
|
66
73
|
[x: string]: unknown;
|
|
@@ -76,24 +83,20 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
76
83
|
$root: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
77
84
|
$parent: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
78
85
|
$host: Element | null;
|
|
79
|
-
$emit: ((event: "blur") => void) & ((event: "
|
|
86
|
+
$emit: ((event: "blur") => void) & ((event: "click") => void) & ((event: "focus") => void) & ((event: "update:modelValue", value: string) => void);
|
|
80
87
|
$el: HTMLSpanElement;
|
|
81
88
|
$options: import('vue').ComponentOptionsBase<Readonly<import('../form/RawInputText.vue').Props> & Readonly<{
|
|
82
89
|
onBlur?: (() => any) | undefined;
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
onKeyEnter?: (() => any) | undefined;
|
|
90
|
+
onClick?: (() => any) | undefined;
|
|
91
|
+
onFocus?: (() => any) | undefined;
|
|
86
92
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
87
|
-
"onUpdate:focus"?: ((value: boolean) => any) | undefined;
|
|
88
93
|
}>, {
|
|
89
94
|
setFocus: () => void;
|
|
90
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
95
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
91
96
|
blur: () => any;
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
keyEnter: () => any;
|
|
97
|
+
click: () => any;
|
|
98
|
+
focus: () => any;
|
|
95
99
|
"update:modelValue": (value: string) => any;
|
|
96
|
-
"update:focus": (value: boolean) => any;
|
|
97
100
|
}, string, {
|
|
98
101
|
focus: boolean;
|
|
99
102
|
type: import('../../models').InputType;
|
|
@@ -126,11 +129,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
126
129
|
disabled: boolean;
|
|
127
130
|
}> & Omit<Readonly<import('../form/RawInputText.vue').Props> & Readonly<{
|
|
128
131
|
onBlur?: (() => any) | undefined;
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
onKeyEnter?: (() => any) | undefined;
|
|
132
|
+
onClick?: (() => any) | undefined;
|
|
133
|
+
onFocus?: (() => any) | undefined;
|
|
132
134
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
133
|
-
"onUpdate:focus"?: ((value: boolean) => any) | undefined;
|
|
134
135
|
}>, "setFocus" | ("focus" | "type" | "required" | "disabled")> & import('vue').ShallowUnwrapRef<{
|
|
135
136
|
setFocus: () => void;
|
|
136
137
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
@@ -147,15 +148,17 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
147
148
|
$root: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
148
149
|
$parent: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
149
150
|
$host: Element | null;
|
|
150
|
-
$emit: ((event: "blur") => void) & ((event: "update:modelValue", value: string) => void);
|
|
151
|
+
$emit: ((event: "blur") => void) & ((event: "focus") => void) & ((event: "update:modelValue", value: string) => void);
|
|
151
152
|
$el: any;
|
|
152
153
|
$options: import('vue').ComponentOptionsBase<Readonly<import('../form/BmsInputText.vue').Props> & Readonly<{
|
|
153
154
|
onBlur?: (() => any) | undefined;
|
|
155
|
+
onFocus?: (() => any) | undefined;
|
|
154
156
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
155
157
|
}>, {
|
|
156
158
|
setFocus: () => void;
|
|
157
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
159
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
158
160
|
blur: () => any;
|
|
161
|
+
focus: () => any;
|
|
159
162
|
"update:modelValue": (value: string) => any;
|
|
160
163
|
}, string, {
|
|
161
164
|
label: string;
|
|
@@ -189,6 +192,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
189
192
|
inputType: import('../../models').InputType;
|
|
190
193
|
}> & Omit<Readonly<import('../form/BmsInputText.vue').Props> & Readonly<{
|
|
191
194
|
onBlur?: (() => any) | undefined;
|
|
195
|
+
onFocus?: (() => any) | undefined;
|
|
192
196
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
193
197
|
}>, "setFocus" | ("label" | "required" | "disabled" | "inputType")> & import('vue').ShallowUnwrapRef<{
|
|
194
198
|
setFocus: () => void;
|
|
@@ -37,11 +37,29 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
37
37
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
38
38
|
"update:selectedItems": (value: unknown[]) => any;
|
|
39
39
|
saveFilter: (value: SavedFilter) => any;
|
|
40
|
+
filterInput: (args_0: {
|
|
41
|
+
filterKey: string;
|
|
42
|
+
value: any;
|
|
43
|
+
e: InputEvent;
|
|
44
|
+
}) => any;
|
|
45
|
+
filterChange: (args_0: {
|
|
46
|
+
filterKey: string;
|
|
47
|
+
value: any;
|
|
48
|
+
}) => any;
|
|
40
49
|
deleteSavedFilter: (value: SavedFilter) => any;
|
|
41
50
|
"update:selectMode": (selectMode: SelectMode) => any;
|
|
42
51
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
43
52
|
"onUpdate:selectedItems"?: ((value: unknown[]) => any) | undefined;
|
|
44
53
|
onSaveFilter?: ((value: SavedFilter) => any) | undefined;
|
|
54
|
+
onFilterInput?: ((args_0: {
|
|
55
|
+
filterKey: string;
|
|
56
|
+
value: any;
|
|
57
|
+
e: InputEvent;
|
|
58
|
+
}) => any) | undefined;
|
|
59
|
+
onFilterChange?: ((args_0: {
|
|
60
|
+
filterKey: string;
|
|
61
|
+
value: any;
|
|
62
|
+
}) => any) | undefined;
|
|
45
63
|
onDeleteSavedFilter?: ((value: SavedFilter) => any) | undefined;
|
|
46
64
|
"onUpdate:selectMode"?: ((selectMode: SelectMode) => any) | undefined;
|
|
47
65
|
}>, {
|
|
@@ -25,12 +25,29 @@ type __VLS_PublicProps = {
|
|
|
25
25
|
} & __VLS_Props;
|
|
26
26
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
27
27
|
"update:selectedItems": (value: unknown[]) => any;
|
|
28
|
-
} & {
|
|
29
28
|
saveFilter: (value: SavedFilter) => any;
|
|
29
|
+
filterInput: (args_0: {
|
|
30
|
+
filterKey: string;
|
|
31
|
+
value: any;
|
|
32
|
+
e: InputEvent;
|
|
33
|
+
}) => any;
|
|
34
|
+
filterChange: (args_0: {
|
|
35
|
+
filterKey: string;
|
|
36
|
+
value: any;
|
|
37
|
+
}) => any;
|
|
30
38
|
deleteSavedFilter: (value: SavedFilter) => any;
|
|
31
39
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
32
40
|
"onUpdate:selectedItems"?: ((value: unknown[]) => any) | undefined;
|
|
33
41
|
onSaveFilter?: ((value: SavedFilter) => any) | undefined;
|
|
42
|
+
onFilterInput?: ((args_0: {
|
|
43
|
+
filterKey: string;
|
|
44
|
+
value: any;
|
|
45
|
+
e: InputEvent;
|
|
46
|
+
}) => any) | undefined;
|
|
47
|
+
onFilterChange?: ((args_0: {
|
|
48
|
+
filterKey: string;
|
|
49
|
+
value: any;
|
|
50
|
+
}) => any) | undefined;
|
|
34
51
|
onDeleteSavedFilter?: ((value: SavedFilter) => any) | undefined;
|
|
35
52
|
}>, {
|
|
36
53
|
mode: "normal" | "dense";
|
|
@@ -4,14 +4,32 @@ type __VLS_Props = {
|
|
|
4
4
|
modelValue: Filter[];
|
|
5
5
|
canSaveFilters?: boolean;
|
|
6
6
|
};
|
|
7
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
8
|
"update:modelValue": (filters: Filter[]) => any;
|
|
9
9
|
saveFilter: (value: SavedFilter) => any;
|
|
10
10
|
resetFilters: () => any;
|
|
11
|
+
filterInput: (args_0: {
|
|
12
|
+
filterKey: string;
|
|
13
|
+
value: any;
|
|
14
|
+
e: InputEvent;
|
|
15
|
+
}) => any;
|
|
16
|
+
filterChange: (args_0: {
|
|
17
|
+
filterKey: string;
|
|
18
|
+
value: any;
|
|
19
|
+
}) => any;
|
|
11
20
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
21
|
"onUpdate:modelValue"?: ((filters: Filter[]) => any) | undefined;
|
|
13
22
|
onSaveFilter?: ((value: SavedFilter) => any) | undefined;
|
|
14
23
|
onResetFilters?: (() => any) | undefined;
|
|
24
|
+
onFilterInput?: ((args_0: {
|
|
25
|
+
filterKey: string;
|
|
26
|
+
value: any;
|
|
27
|
+
e: InputEvent;
|
|
28
|
+
}) => any) | undefined;
|
|
29
|
+
onFilterChange?: ((args_0: {
|
|
30
|
+
filterKey: string;
|
|
31
|
+
value: any;
|
|
32
|
+
}) => any) | undefined;
|
|
15
33
|
}>, {
|
|
16
34
|
canSaveFilters: boolean;
|
|
17
35
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
@@ -22,15 +40,20 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
22
40
|
readonly inputType?: import('../../models').InputType | undefined;
|
|
23
41
|
readonly modelValue: string | number;
|
|
24
42
|
readonly placeholder?: string | undefined;
|
|
43
|
+
readonly min?: number | undefined;
|
|
44
|
+
readonly max?: number | undefined;
|
|
45
|
+
readonly minlength?: number | undefined;
|
|
46
|
+
readonly maxlength?: number | undefined;
|
|
25
47
|
readonly label?: string | undefined;
|
|
26
48
|
readonly required?: boolean | undefined;
|
|
27
49
|
readonly optional?: boolean | undefined;
|
|
28
50
|
readonly helperText?: string | undefined;
|
|
29
|
-
readonly errors?: string
|
|
30
|
-
readonly captions?: string
|
|
51
|
+
readonly errors?: (string | import('../../models').Caption)[] | undefined;
|
|
52
|
+
readonly captions?: (string | import('../../models').Caption)[] | undefined;
|
|
31
53
|
readonly disabled?: boolean | undefined;
|
|
32
54
|
readonly small?: boolean | undefined;
|
|
33
55
|
readonly onBlur?: (() => any) | undefined;
|
|
56
|
+
readonly onFocus?: (() => any) | undefined;
|
|
34
57
|
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
35
58
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
36
59
|
$attrs: {
|
|
@@ -46,21 +69,23 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
46
69
|
readonly modelValue: string | number;
|
|
47
70
|
readonly placeholder?: string | undefined;
|
|
48
71
|
readonly focus?: boolean | undefined;
|
|
72
|
+
readonly min?: number | undefined;
|
|
73
|
+
readonly max?: number | undefined;
|
|
74
|
+
readonly minlength?: number | undefined;
|
|
75
|
+
readonly maxlength?: number | undefined;
|
|
49
76
|
readonly type?: import('../../models').InputType | undefined;
|
|
50
77
|
readonly label?: string | undefined;
|
|
51
78
|
readonly required?: boolean | undefined;
|
|
52
79
|
readonly optional?: boolean | undefined;
|
|
53
80
|
readonly helperText?: string | undefined;
|
|
54
|
-
readonly errors?: string
|
|
55
|
-
readonly captions?: string
|
|
81
|
+
readonly errors?: (string | import('../../models').Caption)[] | undefined;
|
|
82
|
+
readonly captions?: (string | import('../../models').Caption)[] | undefined;
|
|
56
83
|
readonly disabled?: boolean | undefined;
|
|
57
84
|
readonly small?: boolean | undefined;
|
|
58
85
|
readonly onBlur?: (() => any) | undefined;
|
|
59
|
-
readonly
|
|
60
|
-
readonly
|
|
61
|
-
readonly onKeyEnter?: (() => any) | undefined;
|
|
86
|
+
readonly onClick?: (() => any) | undefined;
|
|
87
|
+
readonly onFocus?: (() => any) | undefined;
|
|
62
88
|
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
63
|
-
readonly "onUpdate:focus"?: ((value: boolean) => any) | undefined;
|
|
64
89
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
65
90
|
$attrs: {
|
|
66
91
|
[x: string]: unknown;
|
|
@@ -76,24 +101,20 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
76
101
|
$root: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
77
102
|
$parent: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
78
103
|
$host: Element | null;
|
|
79
|
-
$emit: ((event: "blur") => void) & ((event: "
|
|
104
|
+
$emit: ((event: "blur") => void) & ((event: "click") => void) & ((event: "focus") => void) & ((event: "update:modelValue", value: string) => void);
|
|
80
105
|
$el: HTMLSpanElement;
|
|
81
106
|
$options: import('vue').ComponentOptionsBase<Readonly<import('../form/RawInputText.vue').Props> & Readonly<{
|
|
82
107
|
onBlur?: (() => any) | undefined;
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
onKeyEnter?: (() => any) | undefined;
|
|
108
|
+
onClick?: (() => any) | undefined;
|
|
109
|
+
onFocus?: (() => any) | undefined;
|
|
86
110
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
87
|
-
"onUpdate:focus"?: ((value: boolean) => any) | undefined;
|
|
88
111
|
}>, {
|
|
89
112
|
setFocus: () => void;
|
|
90
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
113
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
91
114
|
blur: () => any;
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
keyEnter: () => any;
|
|
115
|
+
click: () => any;
|
|
116
|
+
focus: () => any;
|
|
95
117
|
"update:modelValue": (value: string) => any;
|
|
96
|
-
"update:focus": (value: boolean) => any;
|
|
97
118
|
}, string, {
|
|
98
119
|
focus: boolean;
|
|
99
120
|
type: import('../../models').InputType;
|
|
@@ -126,11 +147,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
126
147
|
disabled: boolean;
|
|
127
148
|
}> & Omit<Readonly<import('../form/RawInputText.vue').Props> & Readonly<{
|
|
128
149
|
onBlur?: (() => any) | undefined;
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
onKeyEnter?: (() => any) | undefined;
|
|
150
|
+
onClick?: (() => any) | undefined;
|
|
151
|
+
onFocus?: (() => any) | undefined;
|
|
132
152
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
133
|
-
"onUpdate:focus"?: ((value: boolean) => any) | undefined;
|
|
134
153
|
}>, "setFocus" | ("focus" | "type" | "required" | "disabled")> & import('vue').ShallowUnwrapRef<{
|
|
135
154
|
setFocus: () => void;
|
|
136
155
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
@@ -147,15 +166,17 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
147
166
|
$root: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
148
167
|
$parent: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
149
168
|
$host: Element | null;
|
|
150
|
-
$emit: ((event: "blur") => void) & ((event: "update:modelValue", value: string) => void);
|
|
169
|
+
$emit: ((event: "blur") => void) & ((event: "focus") => void) & ((event: "update:modelValue", value: string) => void);
|
|
151
170
|
$el: any;
|
|
152
171
|
$options: import('vue').ComponentOptionsBase<Readonly<import('../form/BmsInputText.vue').Props> & Readonly<{
|
|
153
172
|
onBlur?: (() => any) | undefined;
|
|
173
|
+
onFocus?: (() => any) | undefined;
|
|
154
174
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
155
175
|
}>, {
|
|
156
176
|
setFocus: () => void;
|
|
157
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
177
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
158
178
|
blur: () => any;
|
|
179
|
+
focus: () => any;
|
|
159
180
|
"update:modelValue": (value: string) => any;
|
|
160
181
|
}, string, {
|
|
161
182
|
label: string;
|
|
@@ -189,6 +210,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
189
210
|
inputType: import('../../models').InputType;
|
|
190
211
|
}> & Omit<Readonly<import('../form/BmsInputText.vue').Props> & Readonly<{
|
|
191
212
|
onBlur?: (() => any) | undefined;
|
|
213
|
+
onFocus?: (() => any) | undefined;
|
|
192
214
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
193
215
|
}>, "setFocus" | ("label" | "required" | "disabled" | "inputType")> & import('vue').ShallowUnwrapRef<{
|
|
194
216
|
setFocus: () => void;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { TableHeader } from '../../models';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
cell: TableHeader;
|
|
4
|
+
item: any;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
export default _default;
|
|
@@ -47,6 +47,7 @@ export declare const useSearch: (persistent?: boolean | Ref<boolean>, defaultFil
|
|
|
47
47
|
resetFilters: () => void;
|
|
48
48
|
selectSavedFilter: (savedFilter: SavedFilter) => void;
|
|
49
49
|
resetAllFilters: () => void;
|
|
50
|
+
updateFiltersFromProps: (updatedFilters: Filter[]) => void;
|
|
50
51
|
};
|
|
51
52
|
export declare const reflectFiltersToPath: (filters: Filter[]) => void;
|
|
52
53
|
export declare const reflectSearchToPath: (searchValue: string, key: string) => void;
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { InputType } from './form.model';
|
|
2
2
|
import { Sort, SortFunction } from './sort.model';
|
|
3
|
+
export declare enum ColumnType {
|
|
4
|
+
Boolean = "Boolean",
|
|
5
|
+
Date = "Date",
|
|
6
|
+
String = "String"
|
|
7
|
+
}
|
|
3
8
|
export interface TableHeader {
|
|
4
9
|
label: string;
|
|
5
10
|
key: string;
|
|
@@ -9,6 +14,7 @@ export interface TableHeader {
|
|
|
9
14
|
sortable?: boolean;
|
|
10
15
|
sortFunction?: SortFunction;
|
|
11
16
|
action?: boolean;
|
|
17
|
+
columnType?: ColumnType;
|
|
12
18
|
}
|
|
13
19
|
export interface ServerTableRequestParams {
|
|
14
20
|
size: number;
|
|
@@ -8,9 +8,11 @@ export interface Props {
|
|
|
8
8
|
}
|
|
9
9
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
10
|
select: (option: any) => any;
|
|
11
|
+
blur: () => any;
|
|
11
12
|
addNewOption: (option: string) => any;
|
|
12
13
|
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
13
14
|
onSelect?: ((option: any) => any) | undefined;
|
|
15
|
+
onBlur?: (() => any) | undefined;
|
|
14
16
|
onAddNewOption?: ((option: string) => any) | undefined;
|
|
15
17
|
}>, {
|
|
16
18
|
small: boolean;
|
|
@@ -4,8 +4,8 @@ export interface FieldComponentProps {
|
|
|
4
4
|
required?: boolean;
|
|
5
5
|
optional?: boolean;
|
|
6
6
|
helperText?: string;
|
|
7
|
-
errors?: string
|
|
8
|
-
captions?: string
|
|
7
|
+
errors?: (string | Caption)[];
|
|
8
|
+
captions?: (string | Caption)[];
|
|
9
9
|
disabled?: boolean;
|
|
10
10
|
small?: boolean;
|
|
11
11
|
}
|