@ouestfrance/sipa-bms-ui 8.41.0 → 8.42.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.
@@ -3,12 +3,14 @@ type __VLS_Props = {
3
3
  collapsed?: boolean;
4
4
  showFloatingPanel?: boolean;
5
5
  panelWidth?: string;
6
+ mode?: 'overlay' | 'push';
6
7
  };
7
8
  declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
9
  "update:showFloatingPanel": (value: boolean) => any;
9
10
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
10
11
  "onUpdate:showFloatingPanel"?: ((value: boolean) => any) | undefined;
11
12
  }>, {
13
+ mode: "push" | "overlay";
12
14
  align: "left" | "right";
13
15
  collapsed: boolean;
14
16
  showFloatingPanel: boolean;
@@ -16,6 +18,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
16
18
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>, {
17
19
  default?(_: {}): any;
18
20
  floating?(_: {}): any;
21
+ floating?(_: {}): any;
19
22
  }>;
20
23
  export default _default;
21
24
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -591,7 +591,7 @@
591
591
  width: 1em;
592
592
  height: 1em;
593
593
  display: block;
594
- }.bms-tooltip__text[data-v-d11085a5] {
594
+ }.bms-tooltip__text[data-v-71bd64fd] {
595
595
  --bms-tooltip-background-color: var(--bms-white);
596
596
  --bms-tooltip-color: inherit;
597
597
  --bms-tooltip-margin: 4px;
@@ -610,10 +610,10 @@
610
610
  transform: var(--bms-tooltip-transform);
611
611
  overflow-wrap: break-word;
612
612
  }
613
- .bms-tooltip__text.floating-window__expand-btn__bms-tooltip[data-v-d11085a5] {
613
+ .bms-tooltip__text.floating-window__expand-btn__bms-tooltip[data-v-71bd64fd], .bms-tooltip__text.bms-in-modal[data-v-71bd64fd] {
614
614
  z-index: calc(var(--bms-z-index-modal) + 1);
615
615
  }
616
- .bms-tooltip__text[data-v-d11085a5]::before {
616
+ .bms-tooltip__text[data-v-71bd64fd]::before {
617
617
  content: "";
618
618
  position: absolute;
619
619
  right: var(--bms-tooltip-indicator-position-right);
@@ -625,56 +625,56 @@
625
625
  border-style: solid;
626
626
  border-color: var(--bms-tooltip-indicator-border);
627
627
  }
628
- .bms-tooltip__text--top[data-v-d11085a5], .bms-tooltip__text--bottom[data-v-d11085a5] {
628
+ .bms-tooltip__text--top[data-v-71bd64fd], .bms-tooltip__text--bottom[data-v-71bd64fd] {
629
629
  --bms-tooltip-indicator-position-left: 50%;
630
630
  --bms-tooltip-indicator-position-right: initial;
631
631
  }
632
- .bms-tooltip__text--bottom[data-v-d11085a5] {
632
+ .bms-tooltip__text--bottom[data-v-71bd64fd] {
633
633
  --bms-tooltip-indicator-position-top: initial;
634
634
  --bms-tooltip-indicator-position-bottom: 100%;
635
635
  --bms-tooltip-indicator-border: transparent transparent
636
636
  var(--bms-tooltip-background-color) transparent;
637
637
  }
638
- .bms-tooltip__text--top[data-v-d11085a5] {
638
+ .bms-tooltip__text--top[data-v-71bd64fd] {
639
639
  --bms-tooltip-indicator-position-top: 100%;
640
640
  --bms-tooltip-indicator-position-bottom: initial;
641
641
  --bms-tooltip-indicator-border: var(--bms-tooltip-background-color)
642
642
  transparent transparent transparent;
643
643
  }
644
- .bms-tooltip__text--left[data-v-d11085a5], .bms-tooltip__text--right[data-v-d11085a5] {
644
+ .bms-tooltip__text--left[data-v-71bd64fd], .bms-tooltip__text--right[data-v-71bd64fd] {
645
645
  --bms-tooltip-indicator-position-top: 50%;
646
646
  --bms-tooltip-indicator-position-bottom: initial;
647
647
  }
648
- .bms-tooltip__text--left[data-v-d11085a5] {
648
+ .bms-tooltip__text--left[data-v-71bd64fd] {
649
649
  --bms-tooltip-indicator-position-right: initial;
650
650
  --bms-tooltip-indicator-position-left: 100%;
651
651
  --bms-tooltip-indicator-border: transparent transparent transparent
652
652
  var(--bms-tooltip-background-color);
653
653
  }
654
- .bms-tooltip__text--right[data-v-d11085a5] {
654
+ .bms-tooltip__text--right[data-v-71bd64fd] {
655
655
  --bms-tooltip-indicator-position-right: 100%;
656
656
  --bms-tooltip-indicator-position-left: initial;
657
657
  --bms-tooltip-indicator-border: transparent
658
658
  var(--bms-tooltip-background-color) transparent transparent;
659
659
  }
660
- .tooltip-fade-enter-active[data-v-d11085a5] {
660
+ .tooltip-fade-enter-active[data-v-71bd64fd] {
661
661
  transition: opacity 0.2s ease;
662
662
  }
663
- .tooltip-fade-enter-from[data-v-d11085a5] {
663
+ .tooltip-fade-enter-from[data-v-71bd64fd] {
664
664
  opacity: 0;
665
665
  }
666
- .tooltip-fade-enter-to[data-v-d11085a5] {
666
+ .tooltip-fade-enter-to[data-v-71bd64fd] {
667
667
  opacity: 1;
668
668
  }
669
- .tooltip-fade-leave-active[data-v-d11085a5] {
669
+ .tooltip-fade-leave-active[data-v-71bd64fd] {
670
670
  transition: opacity 0.3s ease;
671
671
  }
672
- .tooltip-fade-leave-from[data-v-d11085a5] {
672
+ .tooltip-fade-leave-from[data-v-71bd64fd] {
673
673
  opacity: 1;
674
674
  }
675
- .tooltip-fade-leave-to[data-v-d11085a5] {
675
+ .tooltip-fade-leave-to[data-v-71bd64fd] {
676
676
  opacity: 0;
677
- }.bms-tooltip-anchor-wrapper[data-v-704269d2] {
677
+ }.bms-tooltip-anchor-wrapper[data-v-e56e3ab4] {
678
678
  position: relative;
679
679
  display: inline-block;
680
680
  outline: none;
@@ -1881,7 +1881,7 @@ input[type=radio][data-v-c0c9efa3]:checked::before {
1881
1881
  }
1882
1882
  .priority[data-v-383b958c] {
1883
1883
  z-index: calc(var(--bms-z-index-modal) + 10);
1884
- }.ui-modal[data-v-7d6b5522] {
1884
+ }.ui-modal[data-v-7797fd4d] {
1885
1885
  --modal-header-border-size: 1px;
1886
1886
  --modal-header-color: var(--bms-grey-10);
1887
1887
  position: fixed;
@@ -1894,23 +1894,23 @@ input[type=radio][data-v-c0c9efa3]:checked::before {
1894
1894
  justify-content: center;
1895
1895
  z-index: var(--bms-z-index-fixed);
1896
1896
  }
1897
- .ui-modal.Default[data-v-7d6b5522] {
1897
+ .ui-modal.Default[data-v-7797fd4d] {
1898
1898
  --modal-header-border-size: 1px;
1899
1899
  --modal-header-color: var(--bms-grey-10);
1900
1900
  }
1901
- .ui-modal.success[data-v-7d6b5522] {
1901
+ .ui-modal.success[data-v-7797fd4d] {
1902
1902
  --modal-header-border-size: 4px;
1903
1903
  --modal-header-color: var(--bms-success-color);
1904
1904
  }
1905
- .ui-modal.warning[data-v-7d6b5522] {
1905
+ .ui-modal.warning[data-v-7797fd4d] {
1906
1906
  --modal-header-border-size: 4px;
1907
1907
  --modal-header-color: var(--bms-warning-color);
1908
1908
  }
1909
- .ui-modal.danger[data-v-7d6b5522] {
1909
+ .ui-modal.danger[data-v-7797fd4d] {
1910
1910
  --modal-header-border-size: 4px;
1911
1911
  --modal-header-color: var(--bms-danger-color);
1912
1912
  }
1913
- .ui-modal__loader[data-v-7d6b5522] {
1913
+ .ui-modal__loader[data-v-7797fd4d] {
1914
1914
  position: absolute;
1915
1915
  top: 0;
1916
1916
  left: 0;
@@ -1924,11 +1924,11 @@ input[type=radio][data-v-c0c9efa3]:checked::before {
1924
1924
  background: var(--bms-white);
1925
1925
  z-index: calc(var(--bms-z-index-fixed) + 5);
1926
1926
  }
1927
- .ui-modal__loader p[data-v-7d6b5522] {
1927
+ .ui-modal__loader p[data-v-7797fd4d] {
1928
1928
  margin: 0;
1929
1929
  font-size: 0.88em;
1930
1930
  }
1931
- .ui-modal__title[data-v-7d6b5522] {
1931
+ .ui-modal__title[data-v-7797fd4d] {
1932
1932
  display: flex;
1933
1933
  align-items: center;
1934
1934
  gap: 1rem;
@@ -1936,10 +1936,10 @@ input[type=radio][data-v-c0c9efa3]:checked::before {
1936
1936
  font-size: 1.5em;
1937
1937
  font-weight: bold;
1938
1938
  }
1939
- .ui-modal__title .title-indicator[data-v-7d6b5522] {
1939
+ .ui-modal__title .title-indicator[data-v-7797fd4d] {
1940
1940
  color: var(--modal-header-color);
1941
1941
  }
1942
- .ui-modal__inner[data-v-7d6b5522] {
1942
+ .ui-modal__inner[data-v-7797fd4d] {
1943
1943
  position: relative;
1944
1944
  pointer-events: all;
1945
1945
  background: var(--bms-white);
@@ -1948,52 +1948,52 @@ input[type=radio][data-v-c0c9efa3]:checked::before {
1948
1948
  padding: 1em;
1949
1949
  border-radius: var(--bms-border-radius-large);
1950
1950
  }
1951
- .ui-modal__content[data-v-7d6b5522] {
1951
+ .ui-modal__content[data-v-7797fd4d] {
1952
1952
  margin-top: 1rem;
1953
1953
  max-height: 60vh;
1954
1954
  overflow: auto;
1955
1955
  }
1956
- .ui-modal__header[data-v-7d6b5522], .ui-modal__footer[data-v-7d6b5522] {
1956
+ .ui-modal__header[data-v-7797fd4d], .ui-modal__footer[data-v-7797fd4d] {
1957
1957
  margin: -1em;
1958
1958
  position: sticky;
1959
1959
  background: var(--bms-white);
1960
1960
  z-index: var(--bms-z-index-fixed);
1961
1961
  }
1962
- .ui-modal__header[data-v-7d6b5522] {
1962
+ .ui-modal__header[data-v-7797fd4d] {
1963
1963
  padding: 1em 1em 0.5em 1em;
1964
1964
  border-bottom: var(--modal-header-border-size) solid var(--modal-header-color);
1965
1965
  margin-bottom: 0;
1966
1966
  top: -1em;
1967
1967
  display: flex;
1968
1968
  }
1969
- .ui-modal__header-inner[data-v-7d6b5522] {
1969
+ .ui-modal__header-inner[data-v-7797fd4d] {
1970
1970
  flex: 1 1 auto;
1971
1971
  }
1972
- .ui-modal__footer[data-v-7d6b5522] {
1972
+ .ui-modal__footer[data-v-7797fd4d] {
1973
1973
  padding: 1em;
1974
1974
  margin-top: 0;
1975
1975
  bottom: -1em;
1976
1976
  }
1977
- .ui-modal__buttons[data-v-7d6b5522] {
1977
+ .ui-modal__buttons[data-v-7797fd4d] {
1978
1978
  display: flex;
1979
1979
  align-items: center;
1980
1980
  justify-content: flex-end;
1981
1981
  gap: 1em;
1982
1982
  }
1983
- .content-fade-enter-active[data-v-7d6b5522],
1984
- .content-fade-leave-active[data-v-7d6b5522] {
1983
+ .content-fade-enter-active[data-v-7797fd4d],
1984
+ .content-fade-leave-active[data-v-7797fd4d] {
1985
1985
  transition: opacity 0.3s ease;
1986
1986
  }
1987
- .content-fade-enter-from[data-v-7d6b5522],
1988
- .content-fade-leave-to[data-v-7d6b5522] {
1987
+ .content-fade-enter-from[data-v-7797fd4d],
1988
+ .content-fade-leave-to[data-v-7797fd4d] {
1989
1989
  opacity: 0;
1990
1990
  }
1991
- .content-fade-enter-active .ui-modal[data-v-7d6b5522],
1992
- .content-fade-leave-active .ui-modal[data-v-7d6b5522] {
1991
+ .content-fade-enter-active .ui-modal[data-v-7797fd4d],
1992
+ .content-fade-leave-active .ui-modal[data-v-7797fd4d] {
1993
1993
  transition: transform 0.3s ease;
1994
1994
  }
1995
- .content-fade-enter-from .ui-modal[data-v-7d6b5522],
1996
- .content-fade-leave-to .ui-modal[data-v-7d6b5522] {
1995
+ .content-fade-enter-from .ui-modal[data-v-7797fd4d],
1996
+ .content-fade-leave-to .ui-modal[data-v-7797fd4d] {
1997
1997
  transform: scale(0.8);
1998
1998
  }.header[data-v-f83835f4] h1,
1999
1999
  .header[data-v-f83835f4] h2,
@@ -2041,18 +2041,18 @@ input[type=radio][data-v-c0c9efa3]:checked::before {
2041
2041
  .bms-side-panel--right[data-v-97f7f97d] > * {
2042
2042
  flex: 1 1 auto;
2043
2043
  min-height: 0;
2044
- }.bms-sliding-panel-shell[data-v-94197de5] {
2044
+ }.bms-sliding-panel-shell[data-v-c553bc07] {
2045
2045
  position: relative;
2046
2046
  display: flex;
2047
2047
  height: 100%;
2048
2048
  min-height: 0;
2049
2049
  overflow: visible;
2050
2050
  }
2051
- .bms-sliding-panel-shell[data-v-94197de5] .bms-side-panel {
2051
+ .bms-sliding-panel-shell--overlay[data-v-c553bc07] .bms-side-panel {
2052
2052
  position: relative;
2053
2053
  z-index: 2;
2054
2054
  }
2055
- .bms-sliding-panel-shell__drawer[data-v-94197de5] {
2055
+ .bms-sliding-panel-shell--overlay .bms-sliding-panel-shell__drawer[data-v-c553bc07] {
2056
2056
  position: absolute;
2057
2057
  top: 0;
2058
2058
  width: var(--bms-panel-width);
@@ -2061,26 +2061,50 @@ input[type=radio][data-v-c0c9efa3]:checked::before {
2061
2061
  z-index: 1;
2062
2062
  overflow-y: auto;
2063
2063
  }
2064
- .bms-sliding-panel-shell--left .bms-sliding-panel-shell__drawer[data-v-94197de5] {
2064
+ .bms-sliding-panel-shell--overlay.bms-sliding-panel-shell--left .bms-sliding-panel-shell__drawer[data-v-c553bc07] {
2065
2065
  left: var(--bms-panel-width);
2066
2066
  border-right: 1px solid var(--bms-border-color);
2067
2067
  }
2068
- .bms-sliding-panel-shell--right .bms-sliding-panel-shell__drawer[data-v-94197de5] {
2068
+ .bms-sliding-panel-shell--overlay.bms-sliding-panel-shell--right .bms-sliding-panel-shell__drawer[data-v-c553bc07] {
2069
2069
  right: var(--bms-panel-width);
2070
2070
  border-left: 1px solid var(--bms-border-color);
2071
2071
  }
2072
- .bms-slide-left-enter-active[data-v-94197de5],
2073
- .bms-slide-left-leave-active[data-v-94197de5],
2074
- .bms-slide-right-enter-active[data-v-94197de5],
2075
- .bms-slide-right-leave-active[data-v-94197de5] {
2072
+ .bms-sliding-panel-shell__push-wrapper[data-v-c553bc07] {
2073
+ width: 0;
2074
+ overflow: hidden;
2075
+ flex-shrink: 0;
2076
+ transition: width 200ms ease;
2077
+ }
2078
+ .bms-sliding-panel-shell__push-wrapper--open[data-v-c553bc07] {
2079
+ width: var(--bms-panel-width);
2080
+ }
2081
+ .bms-sliding-panel-shell--push.bms-sliding-panel-shell--right .bms-sliding-panel-shell__push-wrapper[data-v-c553bc07] {
2082
+ order: -1;
2083
+ }
2084
+ .bms-sliding-panel-shell--push .bms-sliding-panel-shell__drawer[data-v-c553bc07] {
2085
+ width: var(--bms-panel-width);
2086
+ height: 100%;
2087
+ background: var(--bms-white);
2088
+ overflow-y: auto;
2089
+ }
2090
+ .bms-sliding-panel-shell--push.bms-sliding-panel-shell--left .bms-sliding-panel-shell__drawer[data-v-c553bc07] {
2091
+ border-right: 1px solid var(--bms-border-color);
2092
+ }
2093
+ .bms-sliding-panel-shell--push.bms-sliding-panel-shell--right .bms-sliding-panel-shell__drawer[data-v-c553bc07] {
2094
+ border-left: 1px solid var(--bms-border-color);
2095
+ }
2096
+ .bms-slide-left-enter-active[data-v-c553bc07],
2097
+ .bms-slide-left-leave-active[data-v-c553bc07],
2098
+ .bms-slide-right-enter-active[data-v-c553bc07],
2099
+ .bms-slide-right-leave-active[data-v-c553bc07] {
2076
2100
  transition: transform 200ms ease;
2077
2101
  }
2078
- .bms-slide-left-enter-from[data-v-94197de5],
2079
- .bms-slide-left-leave-to[data-v-94197de5] {
2102
+ .bms-slide-left-enter-from[data-v-c553bc07],
2103
+ .bms-slide-left-leave-to[data-v-c553bc07] {
2080
2104
  transform: translateX(-100%);
2081
2105
  }
2082
- .bms-slide-right-enter-from[data-v-94197de5],
2083
- .bms-slide-right-leave-to[data-v-94197de5] {
2106
+ .bms-slide-right-enter-from[data-v-c553bc07],
2107
+ .bms-slide-right-leave-to[data-v-c553bc07] {
2084
2108
  transform: translateX(100%);
2085
2109
  }.split-window[data-v-b6e704f4] {
2086
2110
  display: grid;