@ouestfrance/sipa-bms-ui 8.19.0 → 8.21.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/BmsFilePicker.vue.d.ts +4 -0
- package/dist/components/form/BmsInputText.vue.d.ts +1 -0
- package/dist/components/form/BmsMultiSelect.vue.d.ts +4 -0
- package/dist/components/form/BmsSearch.vue.d.ts +3 -1
- package/dist/components/form/RawAutocomplete.vue.d.ts +8 -0
- package/dist/components/layout/BmsSplitWindow.vue.d.ts +1 -0
- package/dist/components/navigation/UiTenantSwitcher.vue.d.ts +3 -1
- package/dist/components/table/BmsTableFilters.vue.d.ts +3 -1
- package/dist/mockServiceWorker.js +1 -1
- package/dist/sipa-bms-ui.css +54 -368
- package/dist/sipa-bms-ui.es.js +118 -47
- package/dist/sipa-bms-ui.es.js.map +1 -1
- package/dist/sipa-bms-ui.umd.js +117 -46
- package/dist/sipa-bms-ui.umd.js.map +1 -1
- package/package.json +13 -12
- package/src/assets/scss/_conf.scss +0 -1
- package/src/assets/scss/app.scss +0 -1
- package/src/components/button/BmsAllButtons.stories.js +50 -23
- package/src/components/button/BmsButton.stories.js +151 -65
- package/src/components/button/BmsIconButton.stories.js +14 -8
- package/src/components/button/UiButton.stories.js +31 -0
- package/src/components/feedback/BmsCircularProgress.stories.js +0 -7
- package/src/components/feedback/BmsLoader.stories.js +0 -6
- package/src/components/feedback/BmsTooltip.stories.js +1 -0
- package/src/components/feedback/UiTooltip.stories.js +1 -0
- package/src/components/form/BmsAutocomplete.stories.js +11 -1
- package/src/components/form/BmsBetweenInput.stories.js +17 -1
- package/src/components/form/BmsFilePicker.stories.js +8 -1
- package/src/components/form/BmsFilePicker.vue +10 -5
- package/src/components/form/BmsInputBooleanCheckbox.stories.js +9 -0
- package/src/components/form/BmsInputCheckboxCaption.stories.js +16 -0
- package/src/components/form/BmsInputCheckboxCaptionGroup.stories.js +21 -1
- package/src/components/form/BmsInputText.vue +1 -0
- package/src/components/form/BmsMultiSelect.vue +32 -25
- package/src/components/form/BmsSelect.vue +18 -16
- package/src/components/form/RawAutocomplete.vue +16 -4
- package/src/components/form/RawInputText.vue +1 -0
- package/src/components/form/UiBmsInputCheckbox.stories.js +1 -0
- package/src/components/form/UiBmsSwitch.stories.js +1 -5
- package/src/components/layout/BmsForm_retrocompat.stories.js +1 -0
- package/src/components/layout/BmsModal.stories.js +2 -1
- package/src/components/layout/BmsSplitWindow.vue +4 -3
- package/src/components/navigation/BmsBreadcrumb.stories.js +0 -18
- package/src/components/navigation/BmsMenu.stories.js +4 -4
- package/src/components/navigation/BmsMenuNav.stories.js +4 -3
- package/src/components/navigation/UiMenuItem.stories.js +53 -2
- package/src/components/navigation/UiTab.stories.js +1 -0
- package/src/components/navigation/UiTenantSwitcher.stories.js +1 -0
- package/src/components/table/BmsEmptyScreen.stories.js +0 -7
- package/src/components/table/BmsTableFilters.vue +1 -1
- package/src/components/table/UiBmsTable.stories.js +1 -0
- package/src/components/table/UiFilterButton.stories.js +3 -8
- package/src/components/utils/BmsRelativeTime.stories.js +0 -6
- package/src/documentation/button/primaryButton.mdx +142 -0
- package/src/documentation/{secondaryButton.mdx → button/secondaryButton.mdx} +2 -2
- package/src/documentation/foundation/contributing.mdx +72 -0
- package/src/documentation/foundation/gettingstarted.mdx +7 -0
- package/src/documentation/{principles.mdx → foundation/principles.mdx} +9 -9
- package/src/documentation/icons.mdx +43 -0
- package/src/showroom/pages/forms.vue +10 -1
- package/src/assets/scss/_formkit.scss +0 -353
- package/src/components/feedback/Notification.stories.js +0 -37
- package/src/components/form/Form.stories.js +0 -35
- package/src/components/navigation/UiMenuItemStatus.stories.js +0 -64
- package/src/documentation/primaryButton.mdx +0 -20
- /package/src/documentation/{button.mdx → button/button.mdx} +0 -0
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
+
dragOverMessage?: string;
|
|
3
|
+
dragOffMessage?: string;
|
|
2
4
|
modelValue?: File[];
|
|
3
5
|
limit: number;
|
|
4
6
|
};
|
|
@@ -7,6 +9,8 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
7
9
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
10
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
9
11
|
}>, {
|
|
12
|
+
dragOverMessage: string;
|
|
13
|
+
dragOffMessage: string;
|
|
10
14
|
limit: number;
|
|
11
15
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
12
16
|
export default _default;
|
|
@@ -9,8 +9,12 @@ type __VLS_PublicProps = {
|
|
|
9
9
|
'modelValue'?: string[] | null;
|
|
10
10
|
} & __VLS_Props;
|
|
11
11
|
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
+
select: (option: string | InputOption) => any;
|
|
13
|
+
input: (e: InputEvent) => any;
|
|
12
14
|
"update:modelValue": (value: string[] | null) => any;
|
|
13
15
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
16
|
+
onSelect?: ((option: string | InputOption) => any) | undefined;
|
|
17
|
+
onInput?: ((e: InputEvent) => any) | undefined;
|
|
14
18
|
"onUpdate:modelValue"?: ((value: string[] | null) => any) | undefined;
|
|
15
19
|
}>, {
|
|
16
20
|
label: string;
|
|
@@ -165,6 +165,7 @@ declare const _default: import('vue').DefineComponent<Props, {
|
|
|
165
165
|
"update:modelValue": (value: string) => any;
|
|
166
166
|
}, string, {
|
|
167
167
|
label: string;
|
|
168
|
+
small: boolean;
|
|
168
169
|
required: boolean;
|
|
169
170
|
disabled: boolean;
|
|
170
171
|
inputType: import('../..').InputType;
|
|
@@ -190,6 +191,7 @@ declare const _default: import('vue').DefineComponent<Props, {
|
|
|
190
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;
|
|
191
192
|
} & Readonly<{
|
|
192
193
|
label: string;
|
|
194
|
+
small: boolean;
|
|
193
195
|
required: boolean;
|
|
194
196
|
disabled: boolean;
|
|
195
197
|
inputType: import('../..').InputType;
|
|
@@ -197,7 +199,7 @@ declare const _default: import('vue').DefineComponent<Props, {
|
|
|
197
199
|
onBlur?: (() => any) | undefined;
|
|
198
200
|
onFocus?: (() => any) | undefined;
|
|
199
201
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
200
|
-
}>, "setFocus" | ("label" | "required" | "disabled" | "inputType")> & import('vue').ShallowUnwrapRef<{
|
|
202
|
+
}>, "setFocus" | ("label" | "small" | "required" | "disabled" | "inputType")> & import('vue').ShallowUnwrapRef<{
|
|
201
203
|
setFocus: () => void;
|
|
202
204
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
203
205
|
$slots: {
|
|
@@ -16,10 +16,18 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
16
16
|
setFocus: () => void;
|
|
17
17
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
18
18
|
select: (option: InputOption) => any;
|
|
19
|
+
input: (e: InputEvent) => any;
|
|
20
|
+
blur: () => any;
|
|
21
|
+
click: () => any;
|
|
22
|
+
focus: () => any;
|
|
19
23
|
addNewOption: (newOption: string) => any;
|
|
20
24
|
"update:modelValue": (value: string | null) => any;
|
|
21
25
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
22
26
|
onSelect?: ((option: InputOption) => any) | undefined;
|
|
27
|
+
onInput?: ((e: InputEvent) => any) | undefined;
|
|
28
|
+
onBlur?: (() => any) | undefined;
|
|
29
|
+
onClick?: (() => any) | undefined;
|
|
30
|
+
onFocus?: (() => any) | undefined;
|
|
23
31
|
onAddNewOption?: ((newOption: string) => any) | undefined;
|
|
24
32
|
"onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
|
|
25
33
|
}>, {
|
|
@@ -166,6 +166,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
166
166
|
"update:modelValue": (value: string) => any;
|
|
167
167
|
}, string, {
|
|
168
168
|
label: string;
|
|
169
|
+
small: boolean;
|
|
169
170
|
required: boolean;
|
|
170
171
|
disabled: boolean;
|
|
171
172
|
inputType: import('../../models').InputType;
|
|
@@ -191,6 +192,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
191
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;
|
|
192
193
|
} & Readonly<{
|
|
193
194
|
label: string;
|
|
195
|
+
small: boolean;
|
|
194
196
|
required: boolean;
|
|
195
197
|
disabled: boolean;
|
|
196
198
|
inputType: import('../../models').InputType;
|
|
@@ -198,7 +200,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
198
200
|
onBlur?: (() => any) | undefined;
|
|
199
201
|
onFocus?: (() => any) | undefined;
|
|
200
202
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
201
|
-
}>, "setFocus" | ("label" | "required" | "disabled" | "inputType")> & import('vue').ShallowUnwrapRef<{
|
|
203
|
+
}>, "setFocus" | ("label" | "small" | "required" | "disabled" | "inputType")> & import('vue').ShallowUnwrapRef<{
|
|
202
204
|
setFocus: () => void;
|
|
203
205
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
204
206
|
$slots: {
|
|
@@ -184,6 +184,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
184
184
|
"update:modelValue": (value: string) => any;
|
|
185
185
|
}, string, {
|
|
186
186
|
label: string;
|
|
187
|
+
small: boolean;
|
|
187
188
|
required: boolean;
|
|
188
189
|
disabled: boolean;
|
|
189
190
|
inputType: import('../../models').InputType;
|
|
@@ -209,6 +210,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
209
210
|
$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;
|
|
210
211
|
} & Readonly<{
|
|
211
212
|
label: string;
|
|
213
|
+
small: boolean;
|
|
212
214
|
required: boolean;
|
|
213
215
|
disabled: boolean;
|
|
214
216
|
inputType: import('../../models').InputType;
|
|
@@ -216,7 +218,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
216
218
|
onBlur?: (() => any) | undefined;
|
|
217
219
|
onFocus?: (() => any) | undefined;
|
|
218
220
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
219
|
-
}>, "setFocus" | ("label" | "required" | "disabled" | "inputType")> & import('vue').ShallowUnwrapRef<{
|
|
221
|
+
}>, "setFocus" | ("label" | "small" | "required" | "disabled" | "inputType")> & import('vue').ShallowUnwrapRef<{
|
|
220
222
|
setFocus: () => void;
|
|
221
223
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
222
224
|
$slots: {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* - Please do NOT modify this file.
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
const PACKAGE_VERSION = '2.12.
|
|
10
|
+
const PACKAGE_VERSION = '2.12.4'
|
|
11
11
|
const INTEGRITY_CHECKSUM = '4db4a41e972cec1b64cc569c66952d82'
|
|
12
12
|
const IS_MOCKED_RESPONSE = Symbol('isMockedResponse')
|
|
13
13
|
const activeClientIds = new Set()
|