@ouestfrance/sipa-bms-ui 8.15.1 → 8.16.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.
@@ -0,0 +1,19 @@
1
+ type __VLS_Props = {
2
+ title: string;
3
+ };
4
+ type __VLS_PublicProps = {
5
+ modelValue?: boolean;
6
+ } & __VLS_Props;
7
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
+ "update:modelValue": (value: boolean) => any;
9
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
10
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
11
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>, {
12
+ default?(_: {}): any;
13
+ }>;
14
+ export default _default;
15
+ type __VLS_WithTemplateSlots<T, S> = T & {
16
+ new (): {
17
+ $slots: S;
18
+ };
19
+ };
@@ -0,0 +1,35 @@
1
+ interface Props {
2
+ splitOrientation?: 'horizontal' | 'vertical';
3
+ min?: number;
4
+ max?: number;
5
+ primary?: 'first' | 'second';
6
+ collapsed?: boolean;
7
+ ariaLabel?: string;
8
+ }
9
+ type __VLS_Props = Props;
10
+ type __VLS_PublicProps = {
11
+ modelValue?: number;
12
+ } & __VLS_Props;
13
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
+ "update:collapsed": (...args: any[]) => void;
15
+ "update:modelValue": (value: number) => void;
16
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
17
+ "onUpdate:modelValue"?: ((value: number) => any) | undefined;
18
+ "onUpdate:collapsed"?: ((...args: any[]) => any) | undefined;
19
+ }>, {
20
+ primary: "first" | "second";
21
+ max: number;
22
+ min: number;
23
+ splitOrientation: "horizontal" | "vertical";
24
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
25
+ 'split-window': HTMLDivElement;
26
+ }, HTMLDivElement>, {
27
+ first?(_: {}): any;
28
+ second?(_: {}): any;
29
+ }>;
30
+ export default _default;
31
+ type __VLS_WithTemplateSlots<T, S> = T & {
32
+ new (): {
33
+ $slots: S;
34
+ };
35
+ };
package/dist/index.d.ts CHANGED
@@ -33,12 +33,14 @@ import { default as BmsTag } from './components/form/BmsTag.vue';
33
33
  import { default as BmsTextArea } from './components/form/BmsTextArea.vue';
34
34
  import { default as BmsContentPageLayout } from './components/layout/BmsContentPageLayout.vue';
35
35
  import { default as BmsCard } from './components/layout/BmsCard.vue';
36
+ import { default as BmsFloatingWindow } from './components/layout/BmsFloatingWindow.vue';
36
37
  import { default as BmsForm } from './components/layout/BmsForm.vue';
37
38
  import { default as BmsHeader } from './components/layout/BmsHeader.vue';
38
39
  import { default as BmsHeaderTitle } from './components/layout/BmsHeaderTitle.vue';
39
40
  import { default as BmsModal } from './components/layout/BmsModal.vue';
40
41
  import { default as BmsOverlay } from './components/layout/BmsOverlay.vue';
41
42
  import { default as BmsSection } from './components/layout/BmsSection.vue';
43
+ import { default as BmsSplitWindow } from './components/layout/BmsSplitWindow.vue';
42
44
  import { default as BmsStep } from './components/layout/BmsStep.vue';
43
45
  import { default as BmsStepper } from './components/layout/BmsStepper.vue';
44
46
  import { default as BmsBackButton } from './components/navigation/BmsBackButton.vue';
@@ -72,4 +74,4 @@ export * from './plugins/confirm';
72
74
  export * from './plugins/runtime-env';
73
75
  export * from './plugins/router-history';
74
76
  export * from './services';
75
- export { BmsButton, BmsIconButton, BmsAlert, BmsBadge, BmsCaption, BmsCircularProgress, 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, BmsForm, BmsHeader, BmsHeaderTitle, BmsModal, BmsOverlay, BmsSection, BmsStep, BmsStepper, BmsBackButton, BmsBreadcrumb, BmsFixedMenu, BmsLink, BmsMenu, BmsMenuNav, BmsShortLinkMenu, BmsTabs, BmsTenantSwitcher, BmsDraggableList, BmsEmptyScreen, BmsPagination, BmsServerTable, BmsTable, BmsCocarde, BmsProblem, BmsRelativeTime, };
77
+ export { BmsButton, BmsIconButton, BmsAlert, BmsBadge, BmsCaption, BmsCircularProgress, 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, };
@@ -7,7 +7,7 @@
7
7
  * - Please do NOT modify this file.
8
8
  */
9
9
 
10
- const PACKAGE_VERSION = '2.11.6'
10
+ const PACKAGE_VERSION = '2.12.3'
11
11
  const INTEGRITY_CHECKSUM = '4db4a41e972cec1b64cc569c66952d82'
12
12
  const IS_MOCKED_RESPONSE = Symbol('isMockedResponse')
13
13
  const activeClientIds = new Set()
@@ -643,18 +643,18 @@ ul li[data-v-ba5302fc]:hover, ul li.selected[data-v-ba5302fc] {
643
643
  }
644
644
  .icon[data-v-43ad5137] svg * {
645
645
  fill: currentColor !important;
646
- }.icon[data-v-49acc0c6] {
646
+ }.icon[data-v-d94effd6] {
647
647
  height: 1em;
648
648
  width: 1em;
649
649
  }
650
- .icon.datalist-icon[data-v-49acc0c6] {
650
+ .icon.datalist-icon[data-v-d94effd6] {
651
651
  margin: 0 0.5em;
652
652
  }
653
- .icon[data-v-49acc0c6] svg {
653
+ .icon[data-v-d94effd6] svg {
654
654
  height: 100%;
655
655
  width: 100%;
656
656
  }
657
- .icon[data-v-49acc0c6] svg * {
657
+ .icon[data-v-d94effd6] svg * {
658
658
  fill: currentColor !important;
659
659
  }.field-between__separator[data-v-f25b520b] {
660
660
  margin-left: 10px;
@@ -1202,28 +1202,30 @@ input[type=radio][data-v-c0c9efa3]:checked::before {
1202
1202
  --field-border-color: var(--bms-grey-25);
1203
1203
  --input-background-color: var(--bms-grey-25);
1204
1204
  pointer-events: none;
1205
- }.tags[data-v-584dc93e] {
1205
+ }.tags[data-v-b8b817ba] {
1206
1206
  display: flex;
1207
1207
  gap: 0.5em;
1208
1208
  padding: var(--field-margin);
1209
1209
  flex-wrap: wrap;
1210
1210
  width: 100%;
1211
1211
  }
1212
- .tags .search[data-v-584dc93e] {
1212
+ .tags .search[data-v-b8b817ba] {
1213
1213
  outline: none;
1214
1214
  border: none;
1215
1215
  background-color: transparent;
1216
1216
  flex-grow: 1;
1217
+ flex-basis: 40px;
1218
+ width: 100%;
1217
1219
  }
1218
- .icon-container[data-v-584dc93e] {
1220
+ .icon-container[data-v-b8b817ba] {
1219
1221
  height: 100%;
1220
1222
  display: flex;
1221
1223
  align-items: center;
1222
1224
  }
1223
- .icon-container[data-v-584dc93e]:hover {
1225
+ .icon-container[data-v-b8b817ba]:hover {
1224
1226
  cursor: pointer;
1225
1227
  }
1226
- .icon-container .icon[data-v-584dc93e] {
1228
+ .icon-container .icon[data-v-b8b817ba] {
1227
1229
  display: block;
1228
1230
  width: 1em;
1229
1231
  height: 1em;
@@ -1413,6 +1415,51 @@ input[type=radio][data-v-c0c9efa3]:checked::before {
1413
1415
  position: absolute;
1414
1416
  border-radius: 50%;
1415
1417
  filter: blur(10px);
1418
+ }.floating-window-wrapper[data-v-9bfb3c86] {
1419
+ --breakpoint: 900px;
1420
+ container-name: floating-window;
1421
+ container-type: inline-size;
1422
+ width: 100%;
1423
+ height: 100%;
1424
+ position: absolute;
1425
+ top: 0;
1426
+ left: 0;
1427
+ display: flex;
1428
+ justify-content: center;
1429
+ align-items: center;
1430
+ pointer-events: none;
1431
+ }
1432
+ .floating-window-wrapper .floating-window[data-v-9bfb3c86] {
1433
+ background-color: var(--bms-white);
1434
+ height: 100%;
1435
+ width: 100%;
1436
+ border-radius: var(--bms-border-radius-large);
1437
+ border: 1px solid var(--bms-grey-10);
1438
+ pointer-events: all;
1439
+ display: grid;
1440
+ grid-template-rows: auto 1fr;
1441
+ box-shadow: 0px 8px 8px 0px rgba(0, 0, 0, 0.25);
1442
+ }
1443
+ .floating-window-wrapper .floating-window__header[data-v-9bfb3c86] {
1444
+ display: flex;
1445
+ justify-content: space-between;
1446
+ align-items: center;
1447
+ border-bottom: 1px solid var(--bms-grey-10);
1448
+ padding: 1em;
1449
+ }
1450
+ .floating-window-wrapper .floating-window__header h2[data-v-9bfb3c86] {
1451
+ margin: 0;
1452
+ }
1453
+ .floating-window-wrapper .floating-window__content[data-v-9bfb3c86] {
1454
+ overflow-y: auto;
1455
+ height: auto;
1456
+ scrollbar-width: thin;
1457
+ }
1458
+ @container floating-window (min-width:900px) {
1459
+ .floating-window[data-v-9bfb3c86] {
1460
+ max-height: 300px;
1461
+ max-width: 80%;
1462
+ }
1416
1463
  }.form-section[data-v-b5bab57e] {
1417
1464
  display: flex;
1418
1465
  flex-direction: column;
@@ -1476,7 +1523,7 @@ input[type=radio][data-v-c0c9efa3]:checked::before {
1476
1523
  }
1477
1524
  .priority[data-v-383b958c] {
1478
1525
  z-index: calc(var(--bms-z-index-modal) + 10);
1479
- }.ui-modal[data-v-c222186a] {
1526
+ }.ui-modal[data-v-769d070b] {
1480
1527
  --modal-header-border-size: 1px;
1481
1528
  --modal-header-color: var(--bms-grey-10);
1482
1529
  position: fixed;
@@ -1487,25 +1534,25 @@ input[type=radio][data-v-c0c9efa3]:checked::before {
1487
1534
  display: flex;
1488
1535
  align-items: center;
1489
1536
  justify-content: center;
1490
- z-index: 10;
1537
+ z-index: var(--bms-z-index-fixed);
1491
1538
  }
1492
- .ui-modal.Default[data-v-c222186a] {
1539
+ .ui-modal.Default[data-v-769d070b] {
1493
1540
  --modal-header-border-size: 1px;
1494
1541
  --modal-header-color: var(--bms-grey-10);
1495
1542
  }
1496
- .ui-modal.success[data-v-c222186a] {
1543
+ .ui-modal.success[data-v-769d070b] {
1497
1544
  --modal-header-border-size: 4px;
1498
1545
  --modal-header-color: var(--bms-success-color);
1499
1546
  }
1500
- .ui-modal.warning[data-v-c222186a] {
1547
+ .ui-modal.warning[data-v-769d070b] {
1501
1548
  --modal-header-border-size: 4px;
1502
1549
  --modal-header-color: var(--bms-warning-color);
1503
1550
  }
1504
- .ui-modal.danger[data-v-c222186a] {
1551
+ .ui-modal.danger[data-v-769d070b] {
1505
1552
  --modal-header-border-size: 4px;
1506
1553
  --modal-header-color: var(--bms-danger-color);
1507
1554
  }
1508
- .ui-modal__loader[data-v-c222186a] {
1555
+ .ui-modal__loader[data-v-769d070b] {
1509
1556
  position: absolute;
1510
1557
  top: 0;
1511
1558
  left: 0;
@@ -1519,11 +1566,11 @@ input[type=radio][data-v-c0c9efa3]:checked::before {
1519
1566
  background: var(--bms-white);
1520
1567
  z-index: calc(var(--bms-z-index-fixed) + 5);
1521
1568
  }
1522
- .ui-modal__loader p[data-v-c222186a] {
1569
+ .ui-modal__loader p[data-v-769d070b] {
1523
1570
  margin: 0;
1524
1571
  font-size: 0.88em;
1525
1572
  }
1526
- .ui-modal__title[data-v-c222186a] {
1573
+ .ui-modal__title[data-v-769d070b] {
1527
1574
  display: flex;
1528
1575
  align-items: center;
1529
1576
  gap: 1rem;
@@ -1531,10 +1578,10 @@ input[type=radio][data-v-c0c9efa3]:checked::before {
1531
1578
  font-size: 1.5em;
1532
1579
  font-weight: bold;
1533
1580
  }
1534
- .ui-modal__title .title-indicator[data-v-c222186a] {
1581
+ .ui-modal__title .title-indicator[data-v-769d070b] {
1535
1582
  color: var(--modal-header-color);
1536
1583
  }
1537
- .ui-modal__inner[data-v-c222186a] {
1584
+ .ui-modal__inner[data-v-769d070b] {
1538
1585
  position: relative;
1539
1586
  pointer-events: all;
1540
1587
  background: var(--bms-white);
@@ -1545,50 +1592,50 @@ input[type=radio][data-v-c0c9efa3]:checked::before {
1545
1592
  padding: 1em;
1546
1593
  border-radius: var(--bms-border-radius-large);
1547
1594
  }
1548
- .ui-modal__content[data-v-c222186a] {
1595
+ .ui-modal__content[data-v-769d070b] {
1549
1596
  margin-top: 1rem;
1550
1597
  }
1551
- .ui-modal__header[data-v-c222186a], .ui-modal__footer[data-v-c222186a] {
1598
+ .ui-modal__header[data-v-769d070b], .ui-modal__footer[data-v-769d070b] {
1552
1599
  margin: -1em;
1553
1600
  position: sticky;
1554
1601
  background: var(--bms-white);
1555
1602
  z-index: var(--bms-z-index-fixed);
1556
1603
  }
1557
- .ui-modal__header[data-v-c222186a] {
1604
+ .ui-modal__header[data-v-769d070b] {
1558
1605
  padding: 1em 1em 0.5em 1em;
1559
1606
  border-bottom: var(--modal-header-border-size) solid var(--modal-header-color);
1560
1607
  margin-bottom: 0;
1561
1608
  top: -1em;
1562
1609
  display: flex;
1563
1610
  }
1564
- .ui-modal__header-inner[data-v-c222186a] {
1611
+ .ui-modal__header-inner[data-v-769d070b] {
1565
1612
  flex: 1 1 auto;
1566
1613
  }
1567
- .ui-modal__footer[data-v-c222186a] {
1614
+ .ui-modal__footer[data-v-769d070b] {
1568
1615
  padding: 1em;
1569
1616
  margin-top: 0;
1570
1617
  bottom: -1em;
1571
1618
  }
1572
- .ui-modal__buttons[data-v-c222186a] {
1619
+ .ui-modal__buttons[data-v-769d070b] {
1573
1620
  display: flex;
1574
1621
  align-items: center;
1575
1622
  justify-content: flex-end;
1576
1623
  gap: 1em;
1577
1624
  }
1578
- .content-fade-enter-active[data-v-c222186a],
1579
- .content-fade-leave-active[data-v-c222186a] {
1625
+ .content-fade-enter-active[data-v-769d070b],
1626
+ .content-fade-leave-active[data-v-769d070b] {
1580
1627
  transition: opacity 0.3s ease;
1581
1628
  }
1582
- .content-fade-enter-from[data-v-c222186a],
1583
- .content-fade-leave-to[data-v-c222186a] {
1629
+ .content-fade-enter-from[data-v-769d070b],
1630
+ .content-fade-leave-to[data-v-769d070b] {
1584
1631
  opacity: 0;
1585
1632
  }
1586
- .content-fade-enter-active .ui-modal[data-v-c222186a],
1587
- .content-fade-leave-active .ui-modal[data-v-c222186a] {
1633
+ .content-fade-enter-active .ui-modal[data-v-769d070b],
1634
+ .content-fade-leave-active .ui-modal[data-v-769d070b] {
1588
1635
  transition: transform 0.3s ease;
1589
1636
  }
1590
- .content-fade-enter-from .ui-modal[data-v-c222186a],
1591
- .content-fade-leave-to .ui-modal[data-v-c222186a] {
1637
+ .content-fade-enter-from .ui-modal[data-v-769d070b],
1638
+ .content-fade-leave-to .ui-modal[data-v-769d070b] {
1592
1639
  transform: scale(0.8);
1593
1640
  }.header[data-v-2e9192be] h1,
1594
1641
  .header[data-v-2e9192be] h2,
@@ -1607,6 +1654,45 @@ input[type=radio][data-v-c0c9efa3]:checked::before {
1607
1654
  background-color: var(--bms-white);
1608
1655
  border-radius: var(--bms-border-radius-large);
1609
1656
  padding: 1em 2em 1em 2em;
1657
+ }.split-window[data-v-61513081] {
1658
+ display: grid;
1659
+ width: 100%;
1660
+ height: 100%;
1661
+ }
1662
+ .split-window__separator[data-v-61513081] {
1663
+ position: relative;
1664
+ z-index: 2;
1665
+ }
1666
+ .split-window__separator[data-v-61513081]:before {
1667
+ content: "";
1668
+ position: absolute;
1669
+ top: 0;
1670
+ left: 0;
1671
+ }
1672
+ .split-window__separator[data-v-61513081]:focus-within:before {
1673
+ outline: 2px solid black;
1674
+ }
1675
+ .split-window--vertical .split-window__separator[data-v-61513081] {
1676
+ height: 100%;
1677
+ width: 0;
1678
+ }
1679
+ .split-window--vertical .split-window__separator[data-v-61513081]:before {
1680
+ content: "";
1681
+ width: 8px;
1682
+ height: 100%;
1683
+ transform: translate(-50%, 0);
1684
+ cursor: col-resize;
1685
+ }
1686
+ .split-window--horizontal .split-window__separator[data-v-61513081] {
1687
+ height: 0;
1688
+ width: 100%;
1689
+ }
1690
+ .split-window--horizontal .split-window__separator[data-v-61513081]:before {
1691
+ content: "";
1692
+ width: 100%;
1693
+ height: 8px;
1694
+ transform: translate(0, -50%);
1695
+ cursor: row-resize;
1610
1696
  }.step-buttons[data-v-fcce71d1] {
1611
1697
  padding-top: 2em;
1612
1698
  display: flex;