@ouestfrance/sipa-bms-ui 8.22.2 → 8.23.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/button/BmsButton.vue.d.ts +1 -1
- package/dist/components/button/BmsIconButton.vue.d.ts +1 -1
- package/dist/components/button/BmsToggleIcon.vue.d.ts +24 -0
- package/dist/components/button/UiButton.vue.d.ts +1 -1
- package/dist/components/form/BmsInputText.vue.d.ts +1 -1
- package/dist/components/form/BmsSearch.vue.d.ts +3 -3
- package/dist/components/form/BmsSelect.vue.d.ts +1 -1
- package/dist/components/form/RawSelect.vue.d.ts +1 -1
- package/dist/components/layout/BmsHeaderTitle.vue.d.ts +1 -1
- package/dist/components/navigation/BmsBreadcrumb.vue.d.ts +1 -1
- package/dist/components/navigation/BmsShortLinkMenu.vue.d.ts +2 -2
- package/dist/components/navigation/UiTenantSwitcher.vue.d.ts +3 -3
- package/dist/components/table/BmsPagination.vue.d.ts +4 -2
- package/dist/components/table/BmsServerTable.vue.d.ts +3 -3
- package/dist/components/table/BmsTable.vue.d.ts +3 -3
- package/dist/components/table/BmsTableFilters.vue.d.ts +5 -3
- package/dist/components/table/UiBmsTable.vue.d.ts +3 -3
- package/dist/components/table/UiFilterButton.vue.d.ts +2 -0
- package/dist/index.d.ts +2 -1
- package/dist/models/table.model.d.ts +5 -0
- package/dist/plugins/field/FieldComponent.vue.d.ts +1 -1
- package/dist/plugins/router-history/router-history.composable.d.ts +1 -1
- package/dist/showroom/pages/table.vue.d.ts +2 -0
- package/dist/sipa-bms-ui.css +167 -103
- package/dist/sipa-bms-ui.es.js +3838 -3301
- package/dist/sipa-bms-ui.es.js.map +1 -1
- package/dist/sipa-bms-ui.umd.js +3842 -3303
- package/dist/sipa-bms-ui.umd.js.map +1 -1
- package/package.json +19 -19
- package/src/components/button/BmsButton.stories.js +142 -3
- package/src/components/button/BmsToggleIcon.stories.js +145 -0
- package/src/components/button/BmsToggleIcon.vue +108 -0
- package/src/components/form/BmsChip.stories.js +104 -2
- package/src/components/form/BmsInputCheckboxCaptionGroup.stories.js +157 -2
- package/src/components/form/BmsInputCheckboxGroup.stories.js +119 -2
- package/src/components/form/BmsInputCode.stories.js +109 -2
- package/src/components/form/BmsInputFile.stories.js +110 -2
- package/src/components/form/BmsInputNumber.stories.js +12 -2
- package/src/components/form/BmsInputNumber.vue +2 -1
- package/src/components/form/BmsInputRadioCaptionGroup.stories.js +138 -2
- package/src/components/form/BmsInputRadioGroup.stories.js +120 -2
- package/src/components/form/BmsInputText.stories.js +278 -1
- package/src/components/form/BmsInputText.vue +2 -0
- package/src/components/form/BmsMultiSelect.vue +3 -1
- package/src/components/form/BmsSearch.stories.js +89 -2
- package/src/components/form/BmsSelect.stories.js +220 -2
- package/src/components/form/BmsSelect.vue +5 -3
- package/src/components/form/BmsTag.stories.js +119 -3
- package/src/components/form/BmsTextArea.stories.js +146 -2
- package/src/components/form/RawAutocomplete.vue +3 -1
- package/src/components/layout/BmsFloatingWindow.vue +12 -1
- package/src/components/layout/BmsForm.stories.js +216 -0
- package/src/components/layout/BmsHeaderTitle.stories.js +136 -1
- package/src/components/layout/BmsSplitWindow.vue +1 -1
- package/src/components/table/BmsPagination.vue +3 -0
- package/src/components/table/BmsServerTable.stories.js +59 -3
- package/src/components/table/BmsServerTable.vue +9 -2
- package/src/components/table/BmsTable.stories.js +312 -2
- package/src/components/table/BmsTable.vue +14 -3
- package/src/components/table/BmsTableFilters.vue +15 -5
- package/src/components/table/UiBmsTable.stories.js +3 -0
- package/src/components/table/UiBmsTable.vue +14 -5
- package/src/components/table/UiFilterButton.vue +6 -1
- package/src/documentation/button/secondaryButton.mdx +114 -3
- package/src/documentation/checkboxCaptionGroup.mdx +99 -0
- package/src/documentation/checkboxGroup.mdx +99 -0
- package/src/documentation/chip.mdx +85 -11
- package/src/documentation/inputCode.mdx +97 -0
- package/src/documentation/inputFile.mdx +90 -13
- package/src/documentation/inputText.mdx +183 -0
- package/src/documentation/layout/form.mdx +74 -0
- package/src/documentation/layout/headerTitle.mdx +124 -0
- package/src/documentation/layout/table.mdx +111 -0
- package/src/documentation/radioCaptionGroup.mdx +86 -19
- package/src/documentation/radioGroup.mdx +85 -18
- package/src/documentation/search.mdx +85 -13
- package/src/documentation/select.mdx +137 -16
- package/src/documentation/tag.mdx +91 -11
- package/src/documentation/textArea.mdx +126 -13
- package/src/index.ts +3 -0
- package/src/models/table.model.ts +6 -0
- package/src/showroom/pages/floating-window.vue +36 -0
- package/src/documentation/fields_text.mdx +0 -31
|
@@ -9,7 +9,7 @@ interface Props {
|
|
|
9
9
|
}
|
|
10
10
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
11
11
|
submit: boolean;
|
|
12
|
-
to: string | import('vue-router/dist/router-
|
|
12
|
+
to: string | import('vue-router/dist/router-CWoNjPRp.mjs').kt | import('vue-router/dist/router-CWoNjPRp.mjs').Tt | null;
|
|
13
13
|
type: "primary" | "secondary" | "tertiary";
|
|
14
14
|
mode: StatusType.Danger | StatusType.Default;
|
|
15
15
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
@@ -10,8 +10,8 @@ interface Props {
|
|
|
10
10
|
small?: boolean;
|
|
11
11
|
}
|
|
12
12
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
13
|
-
to: string | import('vue-router/dist/router-BbqN7H95.mjs').RouteLocationAsRelativeGeneric | import('vue-router/dist/router-BbqN7H95.mjs').RouteLocationAsPathGeneric | null;
|
|
14
13
|
small: boolean;
|
|
14
|
+
to: string | import('vue-router/dist/router-CWoNjPRp.mjs').kt | import('vue-router/dist/router-CWoNjPRp.mjs').Tt | null;
|
|
15
15
|
mode: StatusType.Danger | StatusType.Information;
|
|
16
16
|
tooltipText: string;
|
|
17
17
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
modelValue?: boolean;
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
small?: boolean;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
7
|
+
click: (event: MouseEvent) => any;
|
|
8
|
+
"update:modelValue": (value: boolean) => any;
|
|
9
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
10
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
11
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
12
|
+
}>, {
|
|
13
|
+
small: boolean;
|
|
14
|
+
disabled: boolean;
|
|
15
|
+
modelValue: boolean;
|
|
16
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>, {
|
|
17
|
+
default?(_: {}): any;
|
|
18
|
+
}>;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -9,8 +9,8 @@ interface Props {
|
|
|
9
9
|
small?: boolean;
|
|
10
10
|
}
|
|
11
11
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
12
|
-
to: string | import('vue-router/dist/router-BbqN7H95.mjs').RouteLocationAsRelativeGeneric | import('vue-router/dist/router-BbqN7H95.mjs').RouteLocationAsPathGeneric | null;
|
|
13
12
|
small: boolean;
|
|
13
|
+
to: string | import('vue-router/dist/router-CWoNjPRp.mjs').kt | import('vue-router/dist/router-CWoNjPRp.mjs').Tt | null;
|
|
14
14
|
type: "submit" | "button";
|
|
15
15
|
color: StatusType;
|
|
16
16
|
mode: "fill" | "outline" | "ghost";
|
|
@@ -20,8 +20,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Pr
|
|
|
20
20
|
onFocus?: (() => any) | undefined;
|
|
21
21
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
22
22
|
}>, {
|
|
23
|
-
label: string;
|
|
24
23
|
small: boolean;
|
|
24
|
+
label: string;
|
|
25
25
|
required: boolean;
|
|
26
26
|
disabled: boolean;
|
|
27
27
|
inputType: InputType;
|
|
@@ -164,8 +164,8 @@ declare const _default: import('vue').DefineComponent<Props, {
|
|
|
164
164
|
focus: () => any;
|
|
165
165
|
"update:modelValue": (value: string) => any;
|
|
166
166
|
}, string, {
|
|
167
|
-
label: string;
|
|
168
167
|
small: boolean;
|
|
168
|
+
label: string;
|
|
169
169
|
required: boolean;
|
|
170
170
|
disabled: boolean;
|
|
171
171
|
inputType: import('../..').InputType;
|
|
@@ -190,8 +190,8 @@ declare const _default: import('vue').DefineComponent<Props, {
|
|
|
190
190
|
$nextTick: typeof import('vue').nextTick;
|
|
191
191
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import('@vue/reactivity').OnCleanup) => any : (args_0: any, args_1: any, args_2: import('@vue/reactivity').OnCleanup) => any, options?: import('vue').WatchOptions<boolean> | undefined): import('vue').WatchStopHandle;
|
|
192
192
|
} & Readonly<{
|
|
193
|
-
label: string;
|
|
194
193
|
small: boolean;
|
|
194
|
+
label: string;
|
|
195
195
|
required: boolean;
|
|
196
196
|
disabled: boolean;
|
|
197
197
|
inputType: import('../..').InputType;
|
|
@@ -199,7 +199,7 @@ declare const _default: import('vue').DefineComponent<Props, {
|
|
|
199
199
|
onBlur?: (() => any) | undefined;
|
|
200
200
|
onFocus?: (() => any) | undefined;
|
|
201
201
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
202
|
-
}>, "setFocus" | ("
|
|
202
|
+
}>, "setFocus" | ("small" | "label" | "required" | "disabled" | "inputType")> & import('vue').ShallowUnwrapRef<{
|
|
203
203
|
setFocus: () => void;
|
|
204
204
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
205
205
|
$slots: {
|
|
@@ -19,8 +19,8 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
|
19
19
|
onSelect?: ((value: any) => any) | undefined;
|
|
20
20
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
21
21
|
}>, {
|
|
22
|
-
label: string;
|
|
23
22
|
small: boolean;
|
|
23
|
+
label: string;
|
|
24
24
|
required: boolean;
|
|
25
25
|
disabled: boolean;
|
|
26
26
|
open: boolean;
|
|
@@ -11,8 +11,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Pr
|
|
|
11
11
|
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
12
12
|
onSelect?: ((selectedItem: any) => any) | undefined;
|
|
13
13
|
}>, {
|
|
14
|
-
label: string;
|
|
15
14
|
small: boolean;
|
|
15
|
+
label: string;
|
|
16
16
|
required: boolean;
|
|
17
17
|
disabled: boolean;
|
|
18
18
|
open: boolean;
|
|
@@ -7,7 +7,7 @@ type __VLS_Props = {
|
|
|
7
7
|
};
|
|
8
8
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
9
9
|
documentationUrl: string | null;
|
|
10
|
-
activityUrl: string | import('vue-router/dist/router-
|
|
10
|
+
activityUrl: string | import('vue-router/dist/router-CWoNjPRp.mjs').kt | import('vue-router/dist/router-CWoNjPRp.mjs').Tt | null;
|
|
11
11
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>, {
|
|
12
12
|
logo?(_: {}): any;
|
|
13
13
|
afterTitle?(_: {}): any;
|
|
@@ -7,6 +7,6 @@ type __VLS_Props = {
|
|
|
7
7
|
};
|
|
8
8
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
9
9
|
separator: string;
|
|
10
|
-
homeLocation: string | import('vue-router/dist/router-
|
|
10
|
+
homeLocation: string | import('vue-router/dist/router-CWoNjPRp.mjs').kt | import('vue-router/dist/router-CWoNjPRp.mjs').Tt;
|
|
11
11
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
12
12
|
export default _default;
|
|
@@ -6,8 +6,8 @@ type __VLS_Props = {
|
|
|
6
6
|
};
|
|
7
7
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
8
8
|
outline: boolean;
|
|
9
|
-
helpLink: string | import('vue-router/dist/router-
|
|
10
|
-
activityLink: string | import('vue-router/dist/router-
|
|
9
|
+
helpLink: string | import('vue-router/dist/router-CWoNjPRp.mjs').kt | import('vue-router/dist/router-CWoNjPRp.mjs').Tt | null;
|
|
10
|
+
activityLink: string | import('vue-router/dist/router-CWoNjPRp.mjs').kt | import('vue-router/dist/router-CWoNjPRp.mjs').Tt | null;
|
|
11
11
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
12
12
|
documentationIcon?(_: {}): any;
|
|
13
13
|
activityIcon?(_: {}): any;
|
|
@@ -165,8 +165,8 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
165
165
|
focus: () => any;
|
|
166
166
|
"update:modelValue": (value: string) => any;
|
|
167
167
|
}, string, {
|
|
168
|
-
label: string;
|
|
169
168
|
small: boolean;
|
|
169
|
+
label: string;
|
|
170
170
|
required: boolean;
|
|
171
171
|
disabled: boolean;
|
|
172
172
|
inputType: import('../../models').InputType;
|
|
@@ -191,8 +191,8 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
191
191
|
$nextTick: typeof nextTick;
|
|
192
192
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import('@vue/reactivity').OnCleanup) => any : (args_0: any, args_1: any, args_2: import('@vue/reactivity').OnCleanup) => any, options?: import('vue').WatchOptions<boolean> | undefined): import('vue').WatchStopHandle;
|
|
193
193
|
} & Readonly<{
|
|
194
|
-
label: string;
|
|
195
194
|
small: boolean;
|
|
195
|
+
label: string;
|
|
196
196
|
required: boolean;
|
|
197
197
|
disabled: boolean;
|
|
198
198
|
inputType: import('../../models').InputType;
|
|
@@ -200,7 +200,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
200
200
|
onBlur?: (() => any) | undefined;
|
|
201
201
|
onFocus?: (() => any) | undefined;
|
|
202
202
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
203
|
-
}>, "setFocus" | ("
|
|
203
|
+
}>, "setFocus" | ("small" | "label" | "required" | "disabled" | "inputType")> & import('vue').ShallowUnwrapRef<{
|
|
204
204
|
setFocus: () => void;
|
|
205
205
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
206
206
|
$slots: {
|
|
@@ -5,18 +5,20 @@ interface BmsPaginationProps {
|
|
|
5
5
|
currentPage: number;
|
|
6
6
|
pages: number;
|
|
7
7
|
selectLabel?: string;
|
|
8
|
+
small?: boolean;
|
|
8
9
|
}
|
|
9
10
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<BmsPaginationProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
11
|
+
go: (page: number) => any;
|
|
10
12
|
next: () => any;
|
|
11
13
|
"update:currentSize": (value: number) => any;
|
|
12
14
|
prev: () => any;
|
|
13
|
-
go: (page: number) => any;
|
|
14
15
|
}, string, import('vue').PublicProps, Readonly<BmsPaginationProps> & Readonly<{
|
|
16
|
+
onGo?: ((page: number) => any) | undefined;
|
|
15
17
|
onNext?: (() => any) | undefined;
|
|
16
18
|
"onUpdate:currentSize"?: ((value: number) => any) | undefined;
|
|
17
19
|
onPrev?: (() => any) | undefined;
|
|
18
|
-
onGo?: ((page: number) => any) | undefined;
|
|
19
20
|
}>, {
|
|
21
|
+
small: boolean;
|
|
20
22
|
selectLabel: string;
|
|
21
23
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
22
24
|
container: HTMLDivElement;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Filter, SavedFilter, SelectMode, ServerTableRequestParams, Sort, TableHeader } from '../../models';
|
|
1
|
+
import { Filter, SavedFilter, SelectMode, ServerTableRequestParams, Sort, TableHeader, TableMode } from '../../models';
|
|
2
2
|
interface UiTableProps {
|
|
3
3
|
disableSearch?: boolean;
|
|
4
4
|
headers: TableHeader[];
|
|
5
5
|
filters?: Filter[];
|
|
6
6
|
url?: string;
|
|
7
|
-
mode?:
|
|
7
|
+
mode?: TableMode;
|
|
8
8
|
persistent?: boolean;
|
|
9
9
|
pagination?: number[];
|
|
10
10
|
size?: number;
|
|
@@ -63,7 +63,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
63
63
|
onDeleteSavedFilter?: ((value: SavedFilter) => any) | undefined;
|
|
64
64
|
"onUpdate:selectMode"?: ((selectMode: SelectMode) => any) | undefined;
|
|
65
65
|
}>, {
|
|
66
|
-
mode:
|
|
66
|
+
mode: TableMode;
|
|
67
67
|
size: number;
|
|
68
68
|
request: (params: ServerTableRequestParams, abortController: AbortController, url?: string | undefined) => Promise<{
|
|
69
69
|
data: unknown[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Filter, SavedFilter, SelectMode, Sort, TableHeader } from '../../models';
|
|
1
|
+
import { Filter, SavedFilter, SelectMode, Sort, TableHeader, TableMode } from '../../models';
|
|
2
2
|
interface UiTableProps {
|
|
3
3
|
disableSearch?: boolean;
|
|
4
4
|
headers: TableHeader[];
|
|
@@ -6,7 +6,7 @@ interface UiTableProps {
|
|
|
6
6
|
savedFilters?: SavedFilter[];
|
|
7
7
|
canSaveFilters?: boolean;
|
|
8
8
|
items: unknown[];
|
|
9
|
-
mode?:
|
|
9
|
+
mode?: TableMode;
|
|
10
10
|
persistent?: boolean;
|
|
11
11
|
pagination?: number[];
|
|
12
12
|
size?: number;
|
|
@@ -51,7 +51,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
51
51
|
}) => any) | undefined;
|
|
52
52
|
onDeleteSavedFilter?: ((value: SavedFilter) => any) | undefined;
|
|
53
53
|
}>, {
|
|
54
|
-
mode:
|
|
54
|
+
mode: TableMode;
|
|
55
55
|
size: number;
|
|
56
56
|
filters: Filter[];
|
|
57
57
|
selectable: boolean;
|
|
@@ -3,6 +3,7 @@ import { nextTick } from 'vue';
|
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
modelValue: Filter[];
|
|
5
5
|
canSaveFilters?: boolean;
|
|
6
|
+
small?: boolean;
|
|
6
7
|
};
|
|
7
8
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
9
|
"update:modelValue": (filters: Filter[]) => any;
|
|
@@ -31,6 +32,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
31
32
|
value: any;
|
|
32
33
|
}) => any) | undefined;
|
|
33
34
|
}>, {
|
|
35
|
+
small: boolean;
|
|
34
36
|
canSaveFilters: boolean;
|
|
35
37
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
36
38
|
nameInput: ({
|
|
@@ -183,8 +185,8 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
183
185
|
focus: () => any;
|
|
184
186
|
"update:modelValue": (value: string) => any;
|
|
185
187
|
}, string, {
|
|
186
|
-
label: string;
|
|
187
188
|
small: boolean;
|
|
189
|
+
label: string;
|
|
188
190
|
required: boolean;
|
|
189
191
|
disabled: boolean;
|
|
190
192
|
inputType: import('../../models').InputType;
|
|
@@ -209,8 +211,8 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
209
211
|
$nextTick: typeof nextTick;
|
|
210
212
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import('@vue/reactivity').OnCleanup) => any : (args_0: any, args_1: any, args_2: import('@vue/reactivity').OnCleanup) => any, options?: import('vue').WatchOptions<boolean> | undefined): import('vue').WatchStopHandle;
|
|
211
213
|
} & Readonly<{
|
|
212
|
-
label: string;
|
|
213
214
|
small: boolean;
|
|
215
|
+
label: string;
|
|
214
216
|
required: boolean;
|
|
215
217
|
disabled: boolean;
|
|
216
218
|
inputType: import('../../models').InputType;
|
|
@@ -218,7 +220,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
218
220
|
onBlur?: (() => any) | undefined;
|
|
219
221
|
onFocus?: (() => any) | undefined;
|
|
220
222
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
221
|
-
}>, "setFocus" | ("
|
|
223
|
+
}>, "setFocus" | ("small" | "label" | "required" | "disabled" | "inputType")> & import('vue').ShallowUnwrapRef<{
|
|
222
224
|
setFocus: () => void;
|
|
223
225
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
224
226
|
$slots: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { SelectMode, Sort, TableHeader } from '../../models';
|
|
1
|
+
import { SelectMode, Sort, TableHeader, TableMode } from '../../models';
|
|
2
2
|
interface UiBmsTableProps {
|
|
3
3
|
headers: TableHeader[];
|
|
4
4
|
items: any[];
|
|
5
|
-
mode?:
|
|
5
|
+
mode?: TableMode;
|
|
6
6
|
loading?: boolean;
|
|
7
7
|
hasFilters?: boolean;
|
|
8
8
|
sort?: Sort;
|
|
@@ -32,7 +32,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
32
32
|
"onUpdate:selectedItems"?: ((value: unknown[]) => any) | undefined;
|
|
33
33
|
}>, {
|
|
34
34
|
sort: Sort;
|
|
35
|
-
mode:
|
|
35
|
+
mode: TableMode;
|
|
36
36
|
selectable: boolean;
|
|
37
37
|
selectMode: SelectMode;
|
|
38
38
|
selectableDisabled: boolean;
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
interface UiFilterButtonProps {
|
|
2
2
|
isFilterVisible: boolean;
|
|
3
3
|
activeFiltersNb: number;
|
|
4
|
+
small?: boolean;
|
|
4
5
|
}
|
|
5
6
|
declare const _default: import('vue').DefineComponent<UiFilterButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
6
7
|
toggleFilters: () => any;
|
|
7
8
|
}, string, import('vue').PublicProps, Readonly<UiFilterButtonProps> & Readonly<{
|
|
8
9
|
onToggleFilters?: (() => any) | undefined;
|
|
9
10
|
}>, {
|
|
11
|
+
small: boolean;
|
|
10
12
|
isFilterVisible: boolean;
|
|
11
13
|
activeFiltersNb: number;
|
|
12
14
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { App } from 'vue';
|
|
2
2
|
import { default as BmsButton } from './components/button/BmsButton.vue';
|
|
3
3
|
import { default as BmsIconButton } from './components/button/BmsIconButton.vue';
|
|
4
|
+
import { default as BmsToggleIcon } from './components/button/BmsToggleIcon.vue';
|
|
4
5
|
import { default as BmsAlert } from './components/feedback/BmsAlert.vue';
|
|
5
6
|
import { default as BmsBadge } from './components/feedback/BmsBadge.vue';
|
|
6
7
|
import { default as BmsCaption } from './components/feedback/BmsCaption.vue';
|
|
@@ -75,4 +76,4 @@ export * from './plugins/confirm';
|
|
|
75
76
|
export * from './plugins/runtime-env';
|
|
76
77
|
export * from './plugins/router-history';
|
|
77
78
|
export * from './services';
|
|
78
|
-
export { BmsButton, BmsIconButton, 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, };
|
|
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, };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FieldComponentProps } from './field-component.model';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<FieldComponentProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<FieldComponentProps> & Readonly<{}>, {
|
|
3
|
-
label: string;
|
|
4
3
|
small: boolean;
|
|
4
|
+
label: string;
|
|
5
5
|
loading: boolean;
|
|
6
6
|
optional: boolean;
|
|
7
7
|
ellipsisLabel: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
2
|
import { RouteLocationNormalizedLoaded, RouteLocationRaw } from 'vue-router';
|
|
3
3
|
export declare const useRouterHistory: () => {
|
|
4
|
-
historyRoutes: Ref<import('vue-router/dist/router-
|
|
4
|
+
historyRoutes: Ref<import('vue-router/dist/router-CWoNjPRp.mjs').zt[], import('vue-router/dist/router-CWoNjPRp.mjs').zt[]>;
|
|
5
5
|
addHistoryRoute: (route: RouteLocationNormalizedLoaded) => void;
|
|
6
6
|
goBack: (fallback?: RouteLocationRaw) => Promise<void>;
|
|
7
7
|
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|