@ouestfrance/sipa-bms-ui 8.38.2 → 8.40.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/layout/BmsSidePanel.vue.d.ts +17 -0
- package/dist/components/layout/BmsSlidingPanelShell.vue.d.ts +21 -0
- package/dist/index.d.ts +3 -1
- package/dist/models/menu.model.d.ts +1 -0
- package/dist/sipa-bms-ui.css +89 -17
- package/dist/sipa-bms-ui.es.js +349 -260
- package/dist/sipa-bms-ui.es.js.map +1 -1
- package/dist/sipa-bms-ui.umd.js +358 -267
- package/dist/sipa-bms-ui.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/layout/BmsSidePanel.stories.js +51 -0
- package/src/components/layout/BmsSidePanel.vue +63 -0
- package/src/components/layout/BmsSlidingPanelShell.stories.js +61 -0
- package/src/components/layout/BmsSlidingPanelShell.vue +88 -0
- package/src/components/navigation/BmsMenuNav.spec.ts +36 -0
- package/src/components/navigation/BmsMenuNav.stories.js +24 -0
- package/src/components/navigation/BmsMenuNav.vue +23 -5
- package/src/index.ts +6 -0
- package/src/models/menu.model.ts +1 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
align: 'left' | 'right';
|
|
3
|
+
collapsed?: boolean;
|
|
4
|
+
width?: string;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
7
|
+
width: string;
|
|
8
|
+
collapsed: boolean;
|
|
9
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>, {
|
|
10
|
+
default?(_: {}): any;
|
|
11
|
+
}>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
align?: 'left' | 'right';
|
|
3
|
+
collapsed?: boolean;
|
|
4
|
+
showFloatingPanel?: boolean;
|
|
5
|
+
panelWidth?: string;
|
|
6
|
+
};
|
|
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
|
+
align: "left" | "right";
|
|
9
|
+
collapsed: boolean;
|
|
10
|
+
showFloatingPanel: boolean;
|
|
11
|
+
panelWidth: string;
|
|
12
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>, {
|
|
13
|
+
default?(_: {}): any;
|
|
14
|
+
floating?(_: {}): any;
|
|
15
|
+
}>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
package/dist/index.d.ts
CHANGED
|
@@ -44,6 +44,8 @@ import { default as BmsHeaderTitle } from './components/layout/BmsHeaderTitle.vu
|
|
|
44
44
|
import { default as BmsModal } from './components/layout/BmsModal.vue';
|
|
45
45
|
import { default as BmsOverlay } from './components/layout/BmsOverlay.vue';
|
|
46
46
|
import { default as BmsSection } from './components/layout/BmsSection.vue';
|
|
47
|
+
import { default as BmsSidePanel } from './components/layout/BmsSidePanel.vue';
|
|
48
|
+
import { default as BmsSlidingPanelShell } from './components/layout/BmsSlidingPanelShell.vue';
|
|
47
49
|
import { default as BmsSplitWindow } from './components/layout/BmsSplitWindow.vue';
|
|
48
50
|
import { default as BmsStep } from './components/layout/BmsStep.vue';
|
|
49
51
|
import { default as BmsStepper } from './components/layout/BmsStepper.vue';
|
|
@@ -78,4 +80,4 @@ export * from './plugins/confirm';
|
|
|
78
80
|
export * from './plugins/runtime-env';
|
|
79
81
|
export * from './plugins/router-history';
|
|
80
82
|
export * from './services';
|
|
81
|
-
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, BmsCombobox, 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, };
|
|
83
|
+
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, BmsCombobox, BmsTag, BmsTextArea, BmsContentPageLayout, BmsCard, BmsFloatingWindow, BmsForm, BmsHeader, BmsHeaderTitle, BmsModal, BmsOverlay, BmsSection, BmsSidePanel, BmsSlidingPanelShell, BmsSplitWindow, BmsStep, BmsStepper, BmsBackButton, BmsBreadcrumb, BmsFixedMenu, BmsLink, BmsMenu, BmsMenuNav, BmsShortLinkMenu, BmsTabs, BmsTenantSwitcher, BmsDraggableList, BmsEmptyScreen, BmsPagination, BmsServerTable, BmsTable, BmsCocarde, BmsProblem, BmsRelativeTime, };
|
package/dist/sipa-bms-ui.css
CHANGED
|
@@ -2012,6 +2012,76 @@ input[type=radio][data-v-c0c9efa3]:checked::before {
|
|
|
2012
2012
|
background-color: var(--bms-white);
|
|
2013
2013
|
border-radius: var(--bms-border-radius-large);
|
|
2014
2014
|
padding: 1em 2em 1em 2em;
|
|
2015
|
+
}.bms-side-panel[data-v-97f7f97d] {
|
|
2016
|
+
background: var(--bms-white);
|
|
2017
|
+
max-height: 100%;
|
|
2018
|
+
overflow-y: auto;
|
|
2019
|
+
overflow-x: hidden;
|
|
2020
|
+
}
|
|
2021
|
+
.bms-side-panel--left[data-v-97f7f97d] {
|
|
2022
|
+
border-right: 1px solid var(--bms-border-color);
|
|
2023
|
+
height: 100%;
|
|
2024
|
+
width: var(--bms-side-panel-width);
|
|
2025
|
+
min-width: 0;
|
|
2026
|
+
opacity: 1;
|
|
2027
|
+
transition: width 500ms, opacity 500ms;
|
|
2028
|
+
}
|
|
2029
|
+
.bms-side-panel--left.bms-side-panel--collapsed[data-v-97f7f97d] {
|
|
2030
|
+
width: 0;
|
|
2031
|
+
opacity: 0;
|
|
2032
|
+
}
|
|
2033
|
+
.bms-side-panel--right[data-v-97f7f97d] {
|
|
2034
|
+
border-left: 1px solid var(--bms-border-color);
|
|
2035
|
+
flex-shrink: 0;
|
|
2036
|
+
display: flex;
|
|
2037
|
+
flex-direction: column;
|
|
2038
|
+
height: 100%;
|
|
2039
|
+
overflow: hidden;
|
|
2040
|
+
}
|
|
2041
|
+
.bms-side-panel--right[data-v-97f7f97d] > * {
|
|
2042
|
+
flex: 1 1 auto;
|
|
2043
|
+
min-height: 0;
|
|
2044
|
+
}.bms-sliding-panel-shell[data-v-01e7a741] {
|
|
2045
|
+
position: relative;
|
|
2046
|
+
display: flex;
|
|
2047
|
+
height: 100%;
|
|
2048
|
+
min-height: 0;
|
|
2049
|
+
overflow: visible;
|
|
2050
|
+
}
|
|
2051
|
+
.bms-sliding-panel-shell[data-v-01e7a741] .bms-side-panel {
|
|
2052
|
+
position: relative;
|
|
2053
|
+
z-index: 2;
|
|
2054
|
+
}
|
|
2055
|
+
.bms-sliding-panel-shell__drawer[data-v-01e7a741] {
|
|
2056
|
+
position: absolute;
|
|
2057
|
+
top: 0;
|
|
2058
|
+
width: var(--bms-panel-width);
|
|
2059
|
+
height: 100%;
|
|
2060
|
+
background: var(--bms-white);
|
|
2061
|
+
z-index: 1;
|
|
2062
|
+
overflow-y: auto;
|
|
2063
|
+
}
|
|
2064
|
+
.bms-sliding-panel-shell--left .bms-sliding-panel-shell__drawer[data-v-01e7a741] {
|
|
2065
|
+
left: var(--bms-panel-width);
|
|
2066
|
+
border-right: 1px solid var(--bms-border-color);
|
|
2067
|
+
}
|
|
2068
|
+
.bms-sliding-panel-shell--right .bms-sliding-panel-shell__drawer[data-v-01e7a741] {
|
|
2069
|
+
right: var(--bms-panel-width);
|
|
2070
|
+
border-left: 1px solid var(--bms-border-color);
|
|
2071
|
+
}
|
|
2072
|
+
.bms-slide-left-enter-active[data-v-01e7a741],
|
|
2073
|
+
.bms-slide-left-leave-active[data-v-01e7a741],
|
|
2074
|
+
.bms-slide-right-enter-active[data-v-01e7a741],
|
|
2075
|
+
.bms-slide-right-leave-active[data-v-01e7a741] {
|
|
2076
|
+
transition: transform 200ms ease;
|
|
2077
|
+
}
|
|
2078
|
+
.bms-slide-left-enter-from[data-v-01e7a741],
|
|
2079
|
+
.bms-slide-left-leave-to[data-v-01e7a741] {
|
|
2080
|
+
transform: translateX(-100%);
|
|
2081
|
+
}
|
|
2082
|
+
.bms-slide-right-enter-from[data-v-01e7a741],
|
|
2083
|
+
.bms-slide-right-leave-to[data-v-01e7a741] {
|
|
2084
|
+
transform: translateX(100%);
|
|
2015
2085
|
}.split-window[data-v-b6e704f4] {
|
|
2016
2086
|
display: grid;
|
|
2017
2087
|
width: 100%;
|
|
@@ -2234,7 +2304,7 @@ a svg[data-v-02d02028] {
|
|
|
2234
2304
|
display: flex;
|
|
2235
2305
|
align-items: center;
|
|
2236
2306
|
gap: 4px;
|
|
2237
|
-
}nav[data-v-
|
|
2307
|
+
}nav[data-v-43dce565] {
|
|
2238
2308
|
display: flex;
|
|
2239
2309
|
flex-direction: column;
|
|
2240
2310
|
flex: 1 1 auto;
|
|
@@ -2242,61 +2312,63 @@ a svg[data-v-02d02028] {
|
|
|
2242
2312
|
padding: 6rem 0 2rem;
|
|
2243
2313
|
background-color: var(--bms-white);
|
|
2244
2314
|
}
|
|
2245
|
-
nav ul[data-v-
|
|
2315
|
+
nav ul[data-v-43dce565] {
|
|
2246
2316
|
margin: 0;
|
|
2247
2317
|
padding: 0;
|
|
2248
2318
|
}
|
|
2249
|
-
nav ul li[data-v-
|
|
2319
|
+
nav ul li[data-v-43dce565] {
|
|
2250
2320
|
display: flex;
|
|
2251
2321
|
align-items: center;
|
|
2252
2322
|
list-style-type: none;
|
|
2253
|
-
cursor: pointer;
|
|
2254
2323
|
width: 100%;
|
|
2255
2324
|
}
|
|
2256
|
-
nav ul li .parent-container[data-v-
|
|
2325
|
+
nav ul li .parent-container[data-v-43dce565] {
|
|
2257
2326
|
width: 100%;
|
|
2258
2327
|
}
|
|
2259
|
-
nav ul li .parent-container .parent-item[data-v-
|
|
2328
|
+
nav ul li .parent-container .parent-item[data-v-43dce565] {
|
|
2260
2329
|
display: flex;
|
|
2261
2330
|
justify-content: space-between;
|
|
2262
2331
|
align-items: center;
|
|
2263
2332
|
color: var(--bms-grey-75);
|
|
2264
2333
|
padding: 14px 8px;
|
|
2265
2334
|
}
|
|
2266
|
-
nav ul li .parent-container .parent-item[data-v-
|
|
2335
|
+
nav ul li .parent-container .parent-item[data-v-43dce565] .internal-link {
|
|
2267
2336
|
color: inherit;
|
|
2268
2337
|
}
|
|
2269
|
-
nav ul li .parent-container .parent-item__custom-icon[data-v-
|
|
2338
|
+
nav ul li .parent-container .parent-item__custom-icon[data-v-43dce565] {
|
|
2270
2339
|
width: 1em;
|
|
2271
2340
|
height: 1em;
|
|
2272
2341
|
}
|
|
2273
|
-
nav ul li .parent-container .parent-item[data-v-
|
|
2342
|
+
nav ul li .parent-container .parent-item.is-clickable[data-v-43dce565] {
|
|
2343
|
+
cursor: pointer;
|
|
2344
|
+
}
|
|
2345
|
+
nav ul li .parent-container .parent-item.is-clickable[data-v-43dce565]:hover {
|
|
2274
2346
|
color: var(--bms-main-100);
|
|
2275
2347
|
text-decoration: none;
|
|
2276
2348
|
}
|
|
2277
|
-
nav ul li .parent-container .parent-item .parent-label[data-v-
|
|
2349
|
+
nav ul li .parent-container .parent-item .parent-label[data-v-43dce565] {
|
|
2278
2350
|
line-height: 16px;
|
|
2279
2351
|
font-size: 14px;
|
|
2280
2352
|
text-transform: uppercase;
|
|
2281
2353
|
}
|
|
2282
|
-
nav .additional[data-v-
|
|
2354
|
+
nav .additional[data-v-43dce565] {
|
|
2283
2355
|
display: flex;
|
|
2284
2356
|
flex-direction: column;
|
|
2285
2357
|
flex-grow: 1;
|
|
2286
2358
|
}
|
|
2287
|
-
.open-enter-active[data-v-
|
|
2359
|
+
.open-enter-active[data-v-43dce565] {
|
|
2288
2360
|
transition: all 0.7s ease;
|
|
2289
2361
|
}
|
|
2290
|
-
.open-leave-active[data-v-
|
|
2362
|
+
.open-leave-active[data-v-43dce565] {
|
|
2291
2363
|
transition: all 0.25s linear;
|
|
2292
2364
|
}
|
|
2293
|
-
.open-enter-from[data-v-
|
|
2294
|
-
.open-leave-to[data-v-
|
|
2365
|
+
.open-enter-from[data-v-43dce565],
|
|
2366
|
+
.open-leave-to[data-v-43dce565] {
|
|
2295
2367
|
max-height: 0;
|
|
2296
2368
|
opacity: 0;
|
|
2297
2369
|
}
|
|
2298
|
-
.open-enter-to[data-v-
|
|
2299
|
-
.open-leave-from[data-v-
|
|
2370
|
+
.open-enter-to[data-v-43dce565],
|
|
2371
|
+
.open-leave-from[data-v-43dce565] {
|
|
2300
2372
|
max-height: 500px;
|
|
2301
2373
|
opacity: 1;
|
|
2302
2374
|
}.menu__container[data-v-83979eb0] {
|