@avenirs-esr/avenirs-dsav 0.1.47 → 0.1.50

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.
Files changed (175) hide show
  1. package/dist/avenirs-dsav.css +1 -1
  2. package/dist/avenirs-dsav.es.js +54 -46
  3. package/dist/avenirs-dsav.umd.js +1 -1
  4. package/package.json +7 -3
  5. package/src/styles/main.scss +6 -1
  6. package/dist/App.vue.d.ts +0 -2
  7. package/dist/components/badges/AvBadge/AvBadge.stories.d.ts +0 -36
  8. package/dist/components/badges/AvBadge/AvBadge.stub.d.ts +0 -18
  9. package/dist/components/badges/AvBadge/AvBadge.test.d.ts +0 -1
  10. package/dist/components/badges/AvBadge/AvBadge.vue.d.ts +0 -44
  11. package/dist/components/badges/index.d.ts +0 -2
  12. package/dist/components/base/AvIconText/AvIconText.stories.d.ts +0 -36
  13. package/dist/components/base/AvIconText/AvIconText.test.d.ts +0 -1
  14. package/dist/components/base/AvIconText/AvIconText.vue.d.ts +0 -40
  15. package/dist/components/base/AvNotice/AvNotice.stories.d.ts +0 -56
  16. package/dist/components/base/AvNotice/AvNotice.test.d.ts +0 -1
  17. package/dist/components/base/AvNotice/AvNotice.vue.d.ts +0 -22
  18. package/dist/components/base/AvVIcon/AvVIcon.stories.d.ts +0 -40
  19. package/dist/components/base/AvVIcon/AvVIcon.stub.d.ts +0 -5
  20. package/dist/components/base/AvVIcon/AvVIcon.vue.d.ts +0 -54
  21. package/dist/components/base/index.d.ts +0 -4
  22. package/dist/components/cards/AvCard/AvCard.stories.d.ts +0 -28
  23. package/dist/components/cards/AvCard/AvCard.test.d.ts +0 -1
  24. package/dist/components/cards/AvCard/AvCard.vue.d.ts +0 -58
  25. package/dist/components/cards/index.d.ts +0 -1
  26. package/dist/components/feedback/AvAlert/AvAlert.test.d.ts +0 -1
  27. package/dist/components/feedback/AvAlert/AvAlert.vue.d.ts +0 -77
  28. package/dist/components/feedback/AvToaster/AvToaster.test.d.ts +0 -1
  29. package/dist/components/feedback/AvToaster/AvToaster.vue.d.ts +0 -79
  30. package/dist/components/feedback/index.d.ts +0 -2
  31. package/dist/components/header/AvHeader/AvHeader.test.d.ts +0 -1
  32. package/dist/components/header/AvHeader/AvHeader.vue.d.ts +0 -132
  33. package/dist/components/header/AvHeaderMenuLinks/AvHeaderMenuLinks.test.d.ts +0 -1
  34. package/dist/components/header/AvHeaderMenuLinks/AvHeaderMenuLinks.vue.d.ts +0 -38
  35. package/dist/components/header/AvLogo.vue.d.ts +0 -2
  36. package/dist/components/header/EsupLogo.test.d.ts +0 -1
  37. package/dist/components/header/EsupLogo.vue.d.ts +0 -7
  38. package/dist/components/header/index.d.ts +0 -5
  39. package/dist/components/index.d.ts +0 -8
  40. package/dist/components/interaction/accordions/AvAccordion/AvAccordion.stories.d.ts +0 -30
  41. package/dist/components/interaction/accordions/AvAccordion/AvAccordion.test.d.ts +0 -1
  42. package/dist/components/interaction/accordions/AvAccordion/AvAccordion.vue.d.ts +0 -31
  43. package/dist/components/interaction/accordions/AvAccordionsGroup/AvAccordionsGroup.stories.d.ts +0 -41
  44. package/dist/components/interaction/accordions/AvAccordionsGroup/AvAccordionsGroup.test.d.ts +0 -1
  45. package/dist/components/interaction/accordions/AvAccordionsGroup/AvAccordionsGroup.vue.d.ts +0 -36
  46. package/dist/components/interaction/accordions/index.d.ts +0 -2
  47. package/dist/components/interaction/buttons/AvButton/AvButton.stories.d.ts +0 -66
  48. package/dist/components/interaction/buttons/AvButton/AvButton.stub.d.ts +0 -6
  49. package/dist/components/interaction/buttons/AvButton/AvButton.test.d.ts +0 -1
  50. package/dist/components/interaction/buttons/AvButton/AvButton.vue.d.ts +0 -78
  51. package/dist/components/interaction/buttons/AvCancelConfirmButtons/AvCancelConfirmButtons.stories.d.ts +0 -44
  52. package/dist/components/interaction/buttons/AvCancelConfirmButtons/AvCancelConfirmButtons.stub.d.ts +0 -6
  53. package/dist/components/interaction/buttons/AvCancelConfirmButtons/AvCancelConfirmButtons.test.d.ts +0 -1
  54. package/dist/components/interaction/buttons/AvCancelConfirmButtons/AvCancelConfirmButtons.vue.d.ts +0 -47
  55. package/dist/components/interaction/buttons/AvRichButton/AvRichButton.stories.d.ts +0 -39
  56. package/dist/components/interaction/buttons/AvRichButton/AvRichButton.test.d.ts +0 -1
  57. package/dist/components/interaction/buttons/AvRichButton/AvRichButton.vue.d.ts +0 -48
  58. package/dist/components/interaction/buttons/index.d.ts +0 -4
  59. package/dist/components/interaction/files/AvFileUpload/AvFileUpload.stories.d.ts +0 -22
  60. package/dist/components/interaction/files/AvFileUpload/AvFileUpload.test.d.ts +0 -1
  61. package/dist/components/interaction/files/AvFileUpload/AvFileUpload.vue.d.ts +0 -121
  62. package/dist/components/interaction/files/AvFileUpload/AvFileUploadAlert.vue.d.ts +0 -19
  63. package/dist/components/interaction/files/index.d.ts +0 -1
  64. package/dist/components/interaction/index.d.ts +0 -10
  65. package/dist/components/interaction/inputs/AvInput/AvInput.stories.d.ts +0 -61
  66. package/dist/components/interaction/inputs/AvInput/AvInput.test.d.ts +0 -1
  67. package/dist/components/interaction/inputs/AvInput/AvInput.vue.d.ts +0 -123
  68. package/dist/components/interaction/inputs/index.d.ts +0 -1
  69. package/dist/components/interaction/lists/AvList/AvList.stories.d.ts +0 -55
  70. package/dist/components/interaction/lists/AvList/AvList.stub.d.ts +0 -5
  71. package/dist/components/interaction/lists/AvList/AvList.test.d.ts +0 -1
  72. package/dist/components/interaction/lists/AvList/AvList.vue.d.ts +0 -74
  73. package/dist/components/interaction/lists/AvListItem/AvListItem.stories.d.ts +0 -59
  74. package/dist/components/interaction/lists/AvListItem/AvListItem.stub.d.ts +0 -6
  75. package/dist/components/interaction/lists/AvListItem/AvListItem.test.d.ts +0 -1
  76. package/dist/components/interaction/lists/AvListItem/AvListItem.vue.d.ts +0 -112
  77. package/dist/components/interaction/lists/index.d.ts +0 -4
  78. package/dist/components/interaction/pickers/AvPageSizePicker/AvPageSizePicker.stories.d.ts +0 -24
  79. package/dist/components/interaction/pickers/AvPageSizePicker/AvPageSizePicker.test.d.ts +0 -1
  80. package/dist/components/interaction/pickers/AvPageSizePicker/AvPageSizePicker.vue.d.ts +0 -23
  81. package/dist/components/interaction/pickers/AvTagPicker/AvTagPicker.stories.d.ts +0 -96
  82. package/dist/components/interaction/pickers/AvTagPicker/AvTagPicker.stub.d.ts +0 -5
  83. package/dist/components/interaction/pickers/AvTagPicker/AvTagPicker.test.d.ts +0 -1
  84. package/dist/components/interaction/pickers/AvTagPicker/AvTagPicker.vue.d.ts +0 -79
  85. package/dist/components/interaction/pickers/index.d.ts +0 -3
  86. package/dist/components/interaction/radios/AvRadioButton/AvRadioButton.stories.d.ts +0 -34
  87. package/dist/components/interaction/radios/AvRadioButton/AvRadioButton.test.d.ts +0 -1
  88. package/dist/components/interaction/radios/AvRadioButton/AvRadioButton.vue.d.ts +0 -38
  89. package/dist/components/interaction/radios/AvRadioButtonSet/AvRadioButtonSet.stories.d.ts +0 -47
  90. package/dist/components/interaction/radios/AvRadioButtonSet/AvRadioButtonSet.test.d.ts +0 -1
  91. package/dist/components/interaction/radios/AvRadioButtonSet/AvRadioButtonSet.vue.d.ts +0 -76
  92. package/dist/components/interaction/radios/index.d.ts +0 -2
  93. package/dist/components/interaction/selects/AvAutocomplete/AvAutocomplete.stories.d.ts +0 -565
  94. package/dist/components/interaction/selects/AvAutocomplete/AvAutocomplete.stub.d.ts +0 -6
  95. package/dist/components/interaction/selects/AvAutocomplete/AvAutocomplete.test.d.ts +0 -1
  96. package/dist/components/interaction/selects/AvAutocomplete/AvAutocomplete.types.d.ts +0 -101
  97. package/dist/components/interaction/selects/AvAutocomplete/AvAutocomplete.vue.d.ts +0 -204
  98. package/dist/components/interaction/selects/AvAutocomplete/AvAutocompleteContext.d.ts +0 -14
  99. package/dist/components/interaction/selects/AvAutocomplete/AvAutocompleteDropdown.vue.d.ts +0 -60
  100. package/dist/components/interaction/selects/AvAutocomplete/AvAutocompleteInput.vue.d.ts +0 -585
  101. package/dist/components/interaction/selects/AvAutocomplete/AvAutocompleteSelectedTags.vue.d.ts +0 -42
  102. package/dist/components/interaction/selects/AvMultiselect/AvMultiselect.stories.d.ts +0 -132
  103. package/dist/components/interaction/selects/AvMultiselect/AvMultiselect.test.d.ts +0 -1
  104. package/dist/components/interaction/selects/AvMultiselect/AvMultiselect.vue.d.ts +0 -94
  105. package/dist/components/interaction/selects/AvSelect/AvSelect.stories.d.ts +0 -96
  106. package/dist/components/interaction/selects/AvSelect/AvSelect.stub.d.ts +0 -11
  107. package/dist/components/interaction/selects/AvSelect/AvSelect.test.d.ts +0 -1
  108. package/dist/components/interaction/selects/AvSelect/AvSelect.vue.d.ts +0 -63
  109. package/dist/components/interaction/selects/index.d.ts +0 -6
  110. package/dist/components/interaction/tabs/AvTab/AvTab.stories.d.ts +0 -34
  111. package/dist/components/interaction/tabs/AvTab/AvTab.test.d.ts +0 -1
  112. package/dist/components/interaction/tabs/AvTab/AvTab.vue.d.ts +0 -31
  113. package/dist/components/interaction/tabs/AvTabs/AvTabs.stories.d.ts +0 -45
  114. package/dist/components/interaction/tabs/AvTabs/AvTabs.test.d.ts +0 -1
  115. package/dist/components/interaction/tabs/AvTabs/AvTabs.vue.d.ts +0 -46
  116. package/dist/components/interaction/tabs/index.d.ts +0 -2
  117. package/dist/components/interaction/toggles/AvToggle/AvToggle.stories.d.ts +0 -21
  118. package/dist/components/interaction/toggles/AvToggle/AvToggle.test.d.ts +0 -1
  119. package/dist/components/interaction/toggles/AvToggle/AvToggle.vue.d.ts +0 -46
  120. package/dist/components/interaction/toggles/index.d.ts +0 -1
  121. package/dist/components/navigation/AvNavigation/AvNavigation.stories.d.ts +0 -27
  122. package/dist/components/navigation/AvNavigation/AvNavigation.test.d.ts +0 -1
  123. package/dist/components/navigation/AvNavigation/AvNavigation.vue.d.ts +0 -16
  124. package/dist/components/navigation/AvNavigation/index.d.ts +0 -1
  125. package/dist/components/navigation/AvPagination/AvPagination.test.d.ts +0 -1
  126. package/dist/components/navigation/AvPagination/AvPagination.vue.d.ts +0 -57
  127. package/dist/components/navigation/AvPagination/utils.d.ts +0 -14
  128. package/dist/components/navigation/AvPagination/utils.test.d.ts +0 -1
  129. package/dist/components/navigation/AvSideMenu/AvSideMenu.stories.d.ts +0 -55
  130. package/dist/components/navigation/AvSideMenu/AvSideMenu.test.d.ts +0 -1
  131. package/dist/components/navigation/AvSideMenu/AvSideMenu.vue.d.ts +0 -61
  132. package/dist/components/navigation/AvSideNavigation/AvSideNavigation.stories.d.ts +0 -59
  133. package/dist/components/navigation/AvSideNavigation/AvSideNavigation.stub.d.ts +0 -11
  134. package/dist/components/navigation/AvSideNavigation/AvSideNavigation.test.d.ts +0 -1
  135. package/dist/components/navigation/AvSideNavigation/AvSideNavigation.vue.d.ts +0 -42
  136. package/dist/components/navigation/AvStepper/AvStepper.stories.d.ts +0 -28
  137. package/dist/components/navigation/AvStepper/AvStepper.stub.d.ts +0 -14
  138. package/dist/components/navigation/AvStepper/AvStepper.test.d.ts +0 -1
  139. package/dist/components/navigation/AvStepper/AvStepper.vue.d.ts +0 -19
  140. package/dist/components/navigation/index.d.ts +0 -8
  141. package/dist/components/overlay/drawers/AvDrawer/AvDrawer.stories.d.ts +0 -53
  142. package/dist/components/overlay/drawers/AvDrawer/AvDrawer.stub.d.ts +0 -6
  143. package/dist/components/overlay/drawers/AvDrawer/AvDrawer.test.d.ts +0 -1
  144. package/dist/components/overlay/drawers/AvDrawer/AvDrawer.vue.d.ts +0 -60
  145. package/dist/components/overlay/index.d.ts +0 -4
  146. package/dist/components/overlay/modals/AvModal/AvModal.test.d.ts +0 -1
  147. package/dist/components/overlay/modals/AvModal/AvModal.vue.d.ts +0 -92
  148. package/dist/components/overlay/popovers/AvPopover/AvPopover.stories.d.ts +0 -49
  149. package/dist/components/overlay/popovers/AvPopover/AvPopover.test.d.ts +0 -1
  150. package/dist/components/overlay/popovers/AvPopover/AvPopover.vue.d.ts +0 -48
  151. package/dist/components/overlay/popovers/AvPopover/use-popover.d.ts +0 -41
  152. package/dist/components/overlay/popovers/AvPopover/use-popover.test.d.ts +0 -1
  153. package/dist/composables/index.d.ts +0 -2
  154. package/dist/composables/use-breakpoint/use-breakpoint.d.ts +0 -54
  155. package/dist/composables/use-breakpoint/use-breakpoint.test.d.ts +0 -1
  156. package/dist/composables/use-focus-trap/use-focus-trap.d.ts +0 -25
  157. package/dist/composables/use-focus-trap/use-focus-trap.test.d.ts +0 -1
  158. package/dist/config/breakpoints.d.ts +0 -10
  159. package/dist/config/index.d.ts +0 -2
  160. package/dist/config/page-sizes.d.ts +0 -6
  161. package/dist/index.d.ts +0 -7
  162. package/dist/main.d.ts +0 -8
  163. package/dist/stories/foundations/icons.stories.d.ts +0 -6
  164. package/dist/stories/foundations/typography.stories.d.ts +0 -5
  165. package/dist/tests/index.d.ts +0 -1
  166. package/dist/tests/stubs.d.ts +0 -41
  167. package/dist/tests/utils.d.ts +0 -30
  168. package/dist/tokens/icons.d.ts +0 -92
  169. package/dist/tokens/index.d.ts +0 -1
  170. package/dist/utils/array/array.d.ts +0 -8
  171. package/dist/utils/forms/form.test.d.ts +0 -1
  172. package/dist/utils/forms/forms.d.ts +0 -6
  173. package/dist/utils/index.d.ts +0 -3
  174. package/dist/utils/string/string.d.ts +0 -27
  175. package/dist/utils/string/string.test.d.ts +0 -1
@@ -41,4 +41,4 @@
41
41
  * focus-trap 7.6.5
42
42
  * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
43
43
  */function Oe(t,n){(n==null||n>t.length)&&(n=t.length);for(var a=0,r=Array(n);a<n;a++)r[a]=t[a];return r}function Kl(t){if(Array.isArray(t))return Oe(t)}function Gl(t,n,a){return(n=ti(n))in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t}function Jl(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function _l(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
44
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Nt(t,n){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),a.push.apply(a,r)}return a}function kt(t){for(var n=1;n<arguments.length;n++){var a=arguments[n]!=null?arguments[n]:{};n%2?Nt(Object(a),!0).forEach(function(r){Gl(t,r,a[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):Nt(Object(a)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(a,r))})}return t}function $l(t){return Kl(t)||Jl(t)||ni(t)||_l()}function ei(t,n){if(typeof t!="object"||!t)return t;var a=t[Symbol.toPrimitive];if(a!==void 0){var r=a.call(t,n);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(t)}function ti(t){var n=ei(t,"string");return typeof n=="symbol"?n:n+""}function ni(t,n){if(t){if(typeof t=="string")return Oe(t,n);var a={}.toString.call(t).slice(8,-1);return a==="Object"&&t.constructor&&(a=t.constructor.name),a==="Map"||a==="Set"?Array.from(t):a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?Oe(t,n):void 0}}var Tt={activateTrap:function(n,a){if(n.length>0){var r=n[n.length-1];r!==a&&r._setPausedState(!0)}var o=n.indexOf(a);o===-1||n.splice(o,1),n.push(a)},deactivateTrap:function(n,a){var r=n.indexOf(a);r!==-1&&n.splice(r,1),n.length>0&&!n[n.length-1]._isManuallyPaused()&&n[n.length-1]._setPausedState(!1)}},ai=function(n){return n.tagName&&n.tagName.toLowerCase()==="input"&&typeof n.select=="function"},ri=function(n){return(n==null?void 0:n.key)==="Escape"||(n==null?void 0:n.key)==="Esc"||(n==null?void 0:n.keyCode)===27},Ae=function(n){return(n==null?void 0:n.key)==="Tab"||(n==null?void 0:n.keyCode)===9},oi=function(n){return Ae(n)&&!n.shiftKey},li=function(n){return Ae(n)&&n.shiftKey},Bt=function(n){return setTimeout(n,0)},ce=function(n){for(var a=arguments.length,r=new Array(a>1?a-1:0),o=1;o<a;o++)r[o-1]=arguments[o];return typeof n=="function"?n.apply(void 0,r):n},ye=function(n){return n.target.shadowRoot&&typeof n.composedPath=="function"?n.composedPath()[0]:n.target},ii=[],Ai=function(n,a){var r=(a==null?void 0:a.document)||document,o=(a==null?void 0:a.trapStack)||ii,i=kt({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:oi,isKeyBackward:li},a),l={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},c,A=function(f,h,E){return f&&f[h]!==void 0?f[h]:i[E||h]},s=function(f,h){var E=typeof(h==null?void 0:h.composedPath)=="function"?h.composedPath():void 0;return l.containerGroups.findIndex(function(Q){var v=Q.container,j=Q.tabbableNodes;return v.contains(f)||(E==null?void 0:E.includes(v))||j.find(function(B){return B===f})})},d=function(f){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},E=h.hasFallback,Q=E===void 0?!1:E,v=h.params,j=v===void 0?[]:v,B=i[f];if(typeof B=="function"&&(B=B.apply(void 0,$l(j))),B===!0&&(B=void 0),!B){if(B===void 0||B===!1)return B;throw new Error("`".concat(f,"` was specified but was not a node, or did not return a node"))}var P=B;if(typeof B=="string"){try{P=r.querySelector(B)}catch(W){throw new Error("`".concat(f,'` appears to be an invalid selector; error="').concat(W.message,'"'))}if(!P&&!Q)throw new Error("`".concat(f,"` as selector refers to no known node"))}return P},u=function(){var f=d("initialFocus",{hasFallback:!0});if(f===!1)return!1;if(f===void 0||f&&!ve(f,i.tabbableOptions))if(s(r.activeElement)>=0)f=r.activeElement;else{var h=l.tabbableGroups[0],E=h&&h.firstTabbableNode;f=E||d("fallbackFocus")}else f===null&&(f=d("fallbackFocus"));if(!f)throw new Error("Your focus-trap needs to have at least one focusable element");return f},I=function(){if(l.containerGroups=l.containers.map(function(f){var h=Yl(f,i.tabbableOptions),E=Rl(f,i.tabbableOptions),Q=h.length>0?h[0]:void 0,v=h.length>0?h[h.length-1]:void 0,j=E.find(function(W){return ae(W)}),B=E.slice().reverse().find(function(W){return ae(W)}),P=!!h.find(function(W){return $(W)>0});return{container:f,tabbableNodes:h,focusableNodes:E,posTabIndexesFound:P,firstTabbableNode:Q,lastTabbableNode:v,firstDomTabbableNode:j,lastDomTabbableNode:B,nextTabbableNode:function(ee){var se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,K=h.indexOf(ee);return K<0?se?E.slice(E.indexOf(ee)+1).find(function(de){return ae(de)}):E.slice(0,E.indexOf(ee)).reverse().find(function(de){return ae(de)}):h[K+(se?1:-1)]}}}),l.tabbableGroups=l.containerGroups.filter(function(f){return f.tabbableNodes.length>0}),l.tabbableGroups.length<=0&&!d("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(l.containerGroups.find(function(f){return f.posTabIndexesFound})&&l.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},g=function(f){var h=f.activeElement;if(h)return h.shadowRoot&&h.shadowRoot.activeElement!==null?g(h.shadowRoot):h},m=function(f){if(f!==!1&&f!==g(document)){if(!f||!f.focus){m(u());return}f.focus({preventScroll:!!i.preventScroll}),l.mostRecentlyFocusedNode=f,ai(f)&&f.select()}},b=function(f){var h=d("setReturnFocus",{params:[f]});return h||(h===!1?!1:f)},y=function(f){var h=f.target,E=f.event,Q=f.isBackward,v=Q===void 0?!1:Q;h=h||ye(E),I();var j=null;if(l.tabbableGroups.length>0){var B=s(h,E),P=B>=0?l.containerGroups[B]:void 0;if(B<0)v?j=l.tabbableGroups[l.tabbableGroups.length-1].lastTabbableNode:j=l.tabbableGroups[0].firstTabbableNode;else if(v){var W=l.tabbableGroups.findIndex(function(ze){var Ve=ze.firstTabbableNode;return h===Ve});if(W<0&&(P.container===h||ve(h,i.tabbableOptions)&&!ae(h,i.tabbableOptions)&&!P.nextTabbableNode(h,!1))&&(W=B),W>=0){var ee=W===0?l.tabbableGroups.length-1:W-1,se=l.tabbableGroups[ee];j=$(h)>=0?se.lastTabbableNode:se.lastDomTabbableNode}else Ae(E)||(j=P.nextTabbableNode(h,!1))}else{var K=l.tabbableGroups.findIndex(function(ze){var Ve=ze.lastTabbableNode;return h===Ve});if(K<0&&(P.container===h||ve(h,i.tabbableOptions)&&!ae(h,i.tabbableOptions)&&!P.nextTabbableNode(h))&&(K=B),K>=0){var de=K===l.tabbableGroups.length-1?0:K+1,St=l.tabbableGroups[de];j=$(h)>=0?St.firstTabbableNode:St.firstDomTabbableNode}else Ae(E)||(j=P.nextTabbableNode(h))}}else j=d("fallbackFocus");return j},M=function(f){var h=ye(f);if(!(s(h,f)>=0)){if(ce(i.clickOutsideDeactivates,f)){c.deactivate({returnFocus:i.returnFocusOnDeactivate});return}ce(i.allowOutsideClick,f)||f.preventDefault()}},N=function(f){var h=ye(f),E=s(h,f)>=0;if(E||h instanceof Document)E&&(l.mostRecentlyFocusedNode=h);else{f.stopImmediatePropagation();var Q,v=!0;if(l.mostRecentlyFocusedNode)if($(l.mostRecentlyFocusedNode)>0){var j=s(l.mostRecentlyFocusedNode),B=l.containerGroups[j].tabbableNodes;if(B.length>0){var P=B.findIndex(function(W){return W===l.mostRecentlyFocusedNode});P>=0&&(i.isKeyForward(l.recentNavEvent)?P+1<B.length&&(Q=B[P+1],v=!1):P-1>=0&&(Q=B[P-1],v=!1))}}else l.containerGroups.some(function(W){return W.tabbableNodes.some(function(ee){return $(ee)>0})})||(v=!1);else v=!1;v&&(Q=y({target:l.mostRecentlyFocusedNode,isBackward:i.isKeyBackward(l.recentNavEvent)})),m(Q||l.mostRecentlyFocusedNode||u())}l.recentNavEvent=void 0},p=function(f){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;l.recentNavEvent=f;var E=y({event:f,isBackward:h});E&&(Ae(f)&&f.preventDefault(),m(E))},k=function(f){(i.isKeyForward(f)||i.isKeyBackward(f))&&p(f,i.isKeyBackward(f))},D=function(f){ri(f)&&ce(i.escapeDeactivates,f)!==!1&&(f.preventDefault(),c.deactivate())},L=function(f){var h=ye(f);s(h,f)>=0||ce(i.clickOutsideDeactivates,f)||ce(i.allowOutsideClick,f)||(f.preventDefault(),f.stopImmediatePropagation())},S=function(){if(l.active)return Tt.activateTrap(o,c),l.delayInitialFocusTimer=i.delayInitialFocus?Bt(function(){m(u())}):m(u()),r.addEventListener("focusin",N,!0),r.addEventListener("mousedown",M,{capture:!0,passive:!1}),r.addEventListener("touchstart",M,{capture:!0,passive:!1}),r.addEventListener("click",L,{capture:!0,passive:!1}),r.addEventListener("keydown",k,{capture:!0,passive:!1}),r.addEventListener("keydown",D),c},H=function(){if(l.active)return r.removeEventListener("focusin",N,!0),r.removeEventListener("mousedown",M,!0),r.removeEventListener("touchstart",M,!0),r.removeEventListener("click",L,!0),r.removeEventListener("keydown",k,!0),r.removeEventListener("keydown",D),c},T=function(f){var h=f.some(function(E){var Q=Array.from(E.removedNodes);return Q.some(function(v){return v===l.mostRecentlyFocusedNode})});h&&m(u())},q=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(T):void 0,U=function(){q&&(q.disconnect(),l.active&&!l.paused&&l.containers.map(function(f){q.observe(f,{subtree:!0,childList:!0})}))};return c={get active(){return l.active},get paused(){return l.paused},activate:function(f){if(l.active)return this;var h=A(f,"onActivate"),E=A(f,"onPostActivate"),Q=A(f,"checkCanFocusTrap");Q||I(),l.active=!0,l.paused=!1,l.nodeFocusedBeforeActivation=g(r),h==null||h();var v=function(){Q&&I(),S(),U(),E==null||E()};return Q?(Q(l.containers.concat()).then(v,v),this):(v(),this)},deactivate:function(f){if(!l.active)return this;var h=kt({onDeactivate:i.onDeactivate,onPostDeactivate:i.onPostDeactivate,checkCanReturnFocus:i.checkCanReturnFocus},f);clearTimeout(l.delayInitialFocusTimer),l.delayInitialFocusTimer=void 0,H(),l.active=!1,l.paused=!1,U(),Tt.deactivateTrap(o,c);var E=A(h,"onDeactivate"),Q=A(h,"onPostDeactivate"),v=A(h,"checkCanReturnFocus"),j=A(h,"returnFocus","returnFocusOnDeactivate");E==null||E();var B=function(){Bt(function(){j&&m(b(l.nodeFocusedBeforeActivation)),Q==null||Q()})};return j&&v?(v(b(l.nodeFocusedBeforeActivation)).then(B,B),this):(B(),this)},pause:function(f){return l.active?(l.manuallyPaused=!0,this._setPausedState(!0,f)):this},unpause:function(f){return l.active?(l.manuallyPaused=!1,o[o.length-1]!==this?this:this._setPausedState(!1,f)):this},updateContainerElements:function(f){var h=[].concat(f).filter(Boolean);return l.containers=h.map(function(E){return typeof E=="string"?r.querySelector(E):E}),l.active&&I(),U(),this}},Object.defineProperties(c,{_isManuallyPaused:{value:function(){return l.manuallyPaused}},_setPausedState:{value:function(f,h){if(l.paused===f)return this;if(l.paused=f,f){var E=A(h,"onPause"),Q=A(h,"onPostPause");E==null||E(),H(),U(),Q==null||Q()}else{var v=A(h,"onUnpause"),j=A(h,"onPostUnpause");v==null||v(),I(),S(),U(),j==null||j()}return this}}}),c.updateContainerElements(n),c};function Qt(t,n){let a=null;function r(){!t.value||!t.value.querySelector('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])')||(a=Ai(t.value,{escapeDeactivates:!0,onDeactivate:n,returnFocusOnDeactivate:!0,clickOutsideDeactivates:!0}),a.activate())}function o(){a==null||a.deactivate(),a=null}return{initializeFocusTrap:r,cleanupFocusTrap:o}}const ci={class:"av-popover-wrapper"},si=w(e.defineComponent({__name:"AvPopover",props:{width:{default:"12.5rem"},padding:{default:"var(--spacing-md)"}},setup(t,{expose:n}){e.useCssVars(u=>({v75959032:u.width,v330e9906:u.padding}));const a=e.ref(null),r=e.ref(null),{showPopover:o,popoverPosition:i,togglePopover:l,closePopover:c}=Dl(a,r),{initializeFocusTrap:A,cleanupFocusTrap:s}=Qt(r,c);function d(u){if(!u){a.value=null;return}if(u instanceof HTMLElement){a.value=u;return}const I=u.$el;I instanceof HTMLElement?a.value=I:a.value=null}return n({setTriggerRef:d,triggerRef:a}),e.watch(o,async u=>{u?(await e.nextTick(),A()):s()}),e.onBeforeUnmount(()=>{s()}),(u,I)=>(e.openBlock(),e.createElementBlock("div",ci,[e.createElementVNode("div",{ref:d,class:"av-popover-trigger-wrapper"},[e.renderSlot(u.$slots,"trigger",{toggle:e.unref(l)},void 0,!0)]),(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[e.unref(o)?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"popoverRef",ref:r,tabindex:"-1",class:"av-popover",style:e.normalizeStyle(`top: ${e.unref(i).top}rem; left: ${e.unref(i).left}rem;`),onKeydown:I[0]||(I[0]=e.withKeys(e.withModifiers((...g)=>e.unref(c)&&e.unref(c)(...g),["prevent"]),["esc"]))},[e.renderSlot(u.$slots,"popover",{close:e.unref(c)},void 0,!0)],36)):e.createCommentVNode("",!0)]))]))}}),[["__scopeId","data-v-6a5eaa47"]]),di={name:"DsfrBadge",template:'<div class="dsfr-badge" />',props:["label","type","small","ellipsis"]},ui={name:"DsfrModal",props:["opened","title"],template:'<div class="dsfr-modal"><slot /><slot name="footer" /></div>',emits:["keydown"],methods:{triggerEscape(){this.$emit("keydown",{key:"Escape"})}}},fi={name:"DsfrNavigation",props:{navItems:Array},template:'<nav class="dsfr-navigation-mock"><slot /></nav>'},mi={name:"VIcon",props:["name","size","color"],template:'<div class="v-icon-stub"></div>'};Object.defineProperty(C,"registerNavigationLinkKey",{enumerable:!0,get:()=>x.registerNavigationLinkKey}),C.AvAccordion=Dn,C.AvAccordionsGroup=On,C.AvAlert=We,C.AvAutocomplete=Mo,C.AvAutocompleteStub=kr,C.AvBadge=Lt,C.AvBadgeStub=Dt,C.AvButton=Y,C.AvButtonStub=zn,C.AvCancelConfirmButtons=Xe,C.AvCard=Wt,C.AvDrawer=Tl,C.AvDrawerStub=Cl,C.AvFileUpload=ea,C.AvHeader=Nn,C.AvHeaderMenuLinks=Ee,C.AvIconText=je,C.AvInput=tt,C.AvList=Ne,C.AvListItem=ke,C.AvListItemStub=ur,C.AvListStub=sr,C.AvLogo=Ue,C.AvModal=Sl,C.AvMultiselect=ko,C.AvNavigation=Uo,C.AvNotice=Vt,C.AvPageSizePicker=Er,C.AvPagination=al,C.AvPopover=si,C.AvRadioButton=rt,C.AvRadioButtonSet=Nr,C.AvRichButton=Wn,C.AvSelect=Bo,C.AvSelectStub=To,C.AvSideMenu=It,C.AvSideNavigation=cl,C.AvSideNavigationStub=Al,C.AvStepper=bl,C.AvStepperStub=sl,C.AvTab=Qo,C.AvTabs=So,C.AvTagPicker=nt,C.AvTagPickerStub=Mr,C.AvToaster=Gt,C.AvToggle=Po,C.AvVIcon=X,C.AvVIconStub=jt,C.BREAKPOINTS=at,C.DropdownState=J,C.DsfrBadgeStub=di,C.DsfrModalStub=ui,C.DsfrNavigationStub=fi,C.EsupLogo=Sn,C.ICONS_DATA_URL=Xt,C.MDI_ICONS=V,C.PageSizes=Te,C.RI_ICONS=Ut,C.VIconStub=mi,C.formatTextToHtml=xe,C.getPaginationPages=rl,C.isValidEmail=Ht,C.pageSizeValues=pr,C.removeDuplicates=Pe,C.toSentenceCase=ue,C.useBreakpoint=wl,C.useFocusTrap=Qt,Object.defineProperty(C,Symbol.toStringTag,{value:"Module"})}));
44
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Nt(t,n){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),a.push.apply(a,r)}return a}function kt(t){for(var n=1;n<arguments.length;n++){var a=arguments[n]!=null?arguments[n]:{};n%2?Nt(Object(a),!0).forEach(function(r){Gl(t,r,a[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):Nt(Object(a)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(a,r))})}return t}function $l(t){return Kl(t)||Jl(t)||ni(t)||_l()}function ei(t,n){if(typeof t!="object"||!t)return t;var a=t[Symbol.toPrimitive];if(a!==void 0){var r=a.call(t,n);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(t)}function ti(t){var n=ei(t,"string");return typeof n=="symbol"?n:n+""}function ni(t,n){if(t){if(typeof t=="string")return Oe(t,n);var a={}.toString.call(t).slice(8,-1);return a==="Object"&&t.constructor&&(a=t.constructor.name),a==="Map"||a==="Set"?Array.from(t):a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?Oe(t,n):void 0}}var Tt={activateTrap:function(n,a){if(n.length>0){var r=n[n.length-1];r!==a&&r._setPausedState(!0)}var o=n.indexOf(a);o===-1||n.splice(o,1),n.push(a)},deactivateTrap:function(n,a){var r=n.indexOf(a);r!==-1&&n.splice(r,1),n.length>0&&!n[n.length-1]._isManuallyPaused()&&n[n.length-1]._setPausedState(!1)}},ai=function(n){return n.tagName&&n.tagName.toLowerCase()==="input"&&typeof n.select=="function"},ri=function(n){return(n==null?void 0:n.key)==="Escape"||(n==null?void 0:n.key)==="Esc"||(n==null?void 0:n.keyCode)===27},Ae=function(n){return(n==null?void 0:n.key)==="Tab"||(n==null?void 0:n.keyCode)===9},oi=function(n){return Ae(n)&&!n.shiftKey},li=function(n){return Ae(n)&&n.shiftKey},Bt=function(n){return setTimeout(n,0)},ce=function(n){for(var a=arguments.length,r=new Array(a>1?a-1:0),o=1;o<a;o++)r[o-1]=arguments[o];return typeof n=="function"?n.apply(void 0,r):n},ye=function(n){return n.target.shadowRoot&&typeof n.composedPath=="function"?n.composedPath()[0]:n.target},ii=[],Ai=function(n,a){var r=(a==null?void 0:a.document)||document,o=(a==null?void 0:a.trapStack)||ii,i=kt({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:oi,isKeyBackward:li},a),l={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},c,A=function(f,h,E){return f&&f[h]!==void 0?f[h]:i[E||h]},s=function(f,h){var E=typeof(h==null?void 0:h.composedPath)=="function"?h.composedPath():void 0;return l.containerGroups.findIndex(function(Q){var v=Q.container,j=Q.tabbableNodes;return v.contains(f)||(E==null?void 0:E.includes(v))||j.find(function(B){return B===f})})},d=function(f){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},E=h.hasFallback,Q=E===void 0?!1:E,v=h.params,j=v===void 0?[]:v,B=i[f];if(typeof B=="function"&&(B=B.apply(void 0,$l(j))),B===!0&&(B=void 0),!B){if(B===void 0||B===!1)return B;throw new Error("`".concat(f,"` was specified but was not a node, or did not return a node"))}var P=B;if(typeof B=="string"){try{P=r.querySelector(B)}catch(W){throw new Error("`".concat(f,'` appears to be an invalid selector; error="').concat(W.message,'"'))}if(!P&&!Q)throw new Error("`".concat(f,"` as selector refers to no known node"))}return P},u=function(){var f=d("initialFocus",{hasFallback:!0});if(f===!1)return!1;if(f===void 0||f&&!ve(f,i.tabbableOptions))if(s(r.activeElement)>=0)f=r.activeElement;else{var h=l.tabbableGroups[0],E=h&&h.firstTabbableNode;f=E||d("fallbackFocus")}else f===null&&(f=d("fallbackFocus"));if(!f)throw new Error("Your focus-trap needs to have at least one focusable element");return f},I=function(){if(l.containerGroups=l.containers.map(function(f){var h=Yl(f,i.tabbableOptions),E=Rl(f,i.tabbableOptions),Q=h.length>0?h[0]:void 0,v=h.length>0?h[h.length-1]:void 0,j=E.find(function(W){return ae(W)}),B=E.slice().reverse().find(function(W){return ae(W)}),P=!!h.find(function(W){return $(W)>0});return{container:f,tabbableNodes:h,focusableNodes:E,posTabIndexesFound:P,firstTabbableNode:Q,lastTabbableNode:v,firstDomTabbableNode:j,lastDomTabbableNode:B,nextTabbableNode:function(ee){var se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,K=h.indexOf(ee);return K<0?se?E.slice(E.indexOf(ee)+1).find(function(de){return ae(de)}):E.slice(0,E.indexOf(ee)).reverse().find(function(de){return ae(de)}):h[K+(se?1:-1)]}}}),l.tabbableGroups=l.containerGroups.filter(function(f){return f.tabbableNodes.length>0}),l.tabbableGroups.length<=0&&!d("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(l.containerGroups.find(function(f){return f.posTabIndexesFound})&&l.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},g=function(f){var h=f.activeElement;if(h)return h.shadowRoot&&h.shadowRoot.activeElement!==null?g(h.shadowRoot):h},m=function(f){if(f!==!1&&f!==g(document)){if(!f||!f.focus){m(u());return}f.focus({preventScroll:!!i.preventScroll}),l.mostRecentlyFocusedNode=f,ai(f)&&f.select()}},b=function(f){var h=d("setReturnFocus",{params:[f]});return h||(h===!1?!1:f)},y=function(f){var h=f.target,E=f.event,Q=f.isBackward,v=Q===void 0?!1:Q;h=h||ye(E),I();var j=null;if(l.tabbableGroups.length>0){var B=s(h,E),P=B>=0?l.containerGroups[B]:void 0;if(B<0)v?j=l.tabbableGroups[l.tabbableGroups.length-1].lastTabbableNode:j=l.tabbableGroups[0].firstTabbableNode;else if(v){var W=l.tabbableGroups.findIndex(function(ze){var Ve=ze.firstTabbableNode;return h===Ve});if(W<0&&(P.container===h||ve(h,i.tabbableOptions)&&!ae(h,i.tabbableOptions)&&!P.nextTabbableNode(h,!1))&&(W=B),W>=0){var ee=W===0?l.tabbableGroups.length-1:W-1,se=l.tabbableGroups[ee];j=$(h)>=0?se.lastTabbableNode:se.lastDomTabbableNode}else Ae(E)||(j=P.nextTabbableNode(h,!1))}else{var K=l.tabbableGroups.findIndex(function(ze){var Ve=ze.lastTabbableNode;return h===Ve});if(K<0&&(P.container===h||ve(h,i.tabbableOptions)&&!ae(h,i.tabbableOptions)&&!P.nextTabbableNode(h))&&(K=B),K>=0){var de=K===l.tabbableGroups.length-1?0:K+1,St=l.tabbableGroups[de];j=$(h)>=0?St.firstTabbableNode:St.firstDomTabbableNode}else Ae(E)||(j=P.nextTabbableNode(h))}}else j=d("fallbackFocus");return j},M=function(f){var h=ye(f);if(!(s(h,f)>=0)){if(ce(i.clickOutsideDeactivates,f)){c.deactivate({returnFocus:i.returnFocusOnDeactivate});return}ce(i.allowOutsideClick,f)||f.preventDefault()}},N=function(f){var h=ye(f),E=s(h,f)>=0;if(E||h instanceof Document)E&&(l.mostRecentlyFocusedNode=h);else{f.stopImmediatePropagation();var Q,v=!0;if(l.mostRecentlyFocusedNode)if($(l.mostRecentlyFocusedNode)>0){var j=s(l.mostRecentlyFocusedNode),B=l.containerGroups[j].tabbableNodes;if(B.length>0){var P=B.findIndex(function(W){return W===l.mostRecentlyFocusedNode});P>=0&&(i.isKeyForward(l.recentNavEvent)?P+1<B.length&&(Q=B[P+1],v=!1):P-1>=0&&(Q=B[P-1],v=!1))}}else l.containerGroups.some(function(W){return W.tabbableNodes.some(function(ee){return $(ee)>0})})||(v=!1);else v=!1;v&&(Q=y({target:l.mostRecentlyFocusedNode,isBackward:i.isKeyBackward(l.recentNavEvent)})),m(Q||l.mostRecentlyFocusedNode||u())}l.recentNavEvent=void 0},p=function(f){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;l.recentNavEvent=f;var E=y({event:f,isBackward:h});E&&(Ae(f)&&f.preventDefault(),m(E))},k=function(f){(i.isKeyForward(f)||i.isKeyBackward(f))&&p(f,i.isKeyBackward(f))},D=function(f){ri(f)&&ce(i.escapeDeactivates,f)!==!1&&(f.preventDefault(),c.deactivate())},L=function(f){var h=ye(f);s(h,f)>=0||ce(i.clickOutsideDeactivates,f)||ce(i.allowOutsideClick,f)||(f.preventDefault(),f.stopImmediatePropagation())},S=function(){if(l.active)return Tt.activateTrap(o,c),l.delayInitialFocusTimer=i.delayInitialFocus?Bt(function(){m(u())}):m(u()),r.addEventListener("focusin",N,!0),r.addEventListener("mousedown",M,{capture:!0,passive:!1}),r.addEventListener("touchstart",M,{capture:!0,passive:!1}),r.addEventListener("click",L,{capture:!0,passive:!1}),r.addEventListener("keydown",k,{capture:!0,passive:!1}),r.addEventListener("keydown",D),c},H=function(){if(l.active)return r.removeEventListener("focusin",N,!0),r.removeEventListener("mousedown",M,!0),r.removeEventListener("touchstart",M,!0),r.removeEventListener("click",L,!0),r.removeEventListener("keydown",k,!0),r.removeEventListener("keydown",D),c},T=function(f){var h=f.some(function(E){var Q=Array.from(E.removedNodes);return Q.some(function(v){return v===l.mostRecentlyFocusedNode})});h&&m(u())},q=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(T):void 0,U=function(){q&&(q.disconnect(),l.active&&!l.paused&&l.containers.map(function(f){q.observe(f,{subtree:!0,childList:!0})}))};return c={get active(){return l.active},get paused(){return l.paused},activate:function(f){if(l.active)return this;var h=A(f,"onActivate"),E=A(f,"onPostActivate"),Q=A(f,"checkCanFocusTrap");Q||I(),l.active=!0,l.paused=!1,l.nodeFocusedBeforeActivation=g(r),h==null||h();var v=function(){Q&&I(),S(),U(),E==null||E()};return Q?(Q(l.containers.concat()).then(v,v),this):(v(),this)},deactivate:function(f){if(!l.active)return this;var h=kt({onDeactivate:i.onDeactivate,onPostDeactivate:i.onPostDeactivate,checkCanReturnFocus:i.checkCanReturnFocus},f);clearTimeout(l.delayInitialFocusTimer),l.delayInitialFocusTimer=void 0,H(),l.active=!1,l.paused=!1,U(),Tt.deactivateTrap(o,c);var E=A(h,"onDeactivate"),Q=A(h,"onPostDeactivate"),v=A(h,"checkCanReturnFocus"),j=A(h,"returnFocus","returnFocusOnDeactivate");E==null||E();var B=function(){Bt(function(){j&&m(b(l.nodeFocusedBeforeActivation)),Q==null||Q()})};return j&&v?(v(b(l.nodeFocusedBeforeActivation)).then(B,B),this):(B(),this)},pause:function(f){return l.active?(l.manuallyPaused=!0,this._setPausedState(!0,f)):this},unpause:function(f){return l.active?(l.manuallyPaused=!1,o[o.length-1]!==this?this:this._setPausedState(!1,f)):this},updateContainerElements:function(f){var h=[].concat(f).filter(Boolean);return l.containers=h.map(function(E){return typeof E=="string"?r.querySelector(E):E}),l.active&&I(),U(),this}},Object.defineProperties(c,{_isManuallyPaused:{value:function(){return l.manuallyPaused}},_setPausedState:{value:function(f,h){if(l.paused===f)return this;if(l.paused=f,f){var E=A(h,"onPause"),Q=A(h,"onPostPause");E==null||E(),H(),U(),Q==null||Q()}else{var v=A(h,"onUnpause"),j=A(h,"onPostUnpause");v==null||v(),I(),S(),U(),j==null||j()}return this}}}),c.updateContainerElements(n),c};function Qt(t,n){let a=null;function r(){!t.value||!t.value.querySelector('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])')||(a=Ai(t.value,{escapeDeactivates:!0,onDeactivate:n,returnFocusOnDeactivate:!0,clickOutsideDeactivates:!0}),a.activate())}function o(){a==null||a.deactivate(),a=null}return{initializeFocusTrap:r,cleanupFocusTrap:o}}function ci(t){e.onMounted(()=>{document.documentElement.style.setProperty("--global-background-color",t)}),e.onUnmounted(()=>{document.documentElement.style.setProperty("--global-background-color","var(--default-global-background-color)")})}const si={class:"av-popover-wrapper"},di=w(e.defineComponent({__name:"AvPopover",props:{width:{default:"12.5rem"},padding:{default:"var(--spacing-md)"}},setup(t,{expose:n}){e.useCssVars(u=>({v75959032:u.width,v330e9906:u.padding}));const a=e.ref(null),r=e.ref(null),{showPopover:o,popoverPosition:i,togglePopover:l,closePopover:c}=Dl(a,r),{initializeFocusTrap:A,cleanupFocusTrap:s}=Qt(r,c);function d(u){if(!u){a.value=null;return}if(u instanceof HTMLElement){a.value=u;return}const I=u.$el;I instanceof HTMLElement?a.value=I:a.value=null}return n({setTriggerRef:d,triggerRef:a}),e.watch(o,async u=>{u?(await e.nextTick(),A()):s()}),e.onBeforeUnmount(()=>{s()}),(u,I)=>(e.openBlock(),e.createElementBlock("div",si,[e.createElementVNode("div",{ref:d,class:"av-popover-trigger-wrapper"},[e.renderSlot(u.$slots,"trigger",{toggle:e.unref(l)},void 0,!0)]),(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[e.unref(o)?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"popoverRef",ref:r,tabindex:"-1",class:"av-popover",style:e.normalizeStyle(`top: ${e.unref(i).top}rem; left: ${e.unref(i).left}rem;`),onKeydown:I[0]||(I[0]=e.withKeys(e.withModifiers((...g)=>e.unref(c)&&e.unref(c)(...g),["prevent"]),["esc"]))},[e.renderSlot(u.$slots,"popover",{close:e.unref(c)},void 0,!0)],36)):e.createCommentVNode("",!0)]))]))}}),[["__scopeId","data-v-6a5eaa47"]]),ui={name:"DsfrBadge",template:'<div class="dsfr-badge" />',props:["label","type","small","ellipsis"]},fi={name:"DsfrModal",props:["opened","title"],template:'<div class="dsfr-modal"><slot /><slot name="footer" /></div>',emits:["keydown"],methods:{triggerEscape(){this.$emit("keydown",{key:"Escape"})}}},mi={name:"DsfrNavigation",props:{navItems:Array},template:'<nav class="dsfr-navigation-mock"><slot /></nav>'},gi={name:"VIcon",props:["name","size","color"],template:'<div class="v-icon-stub"></div>'};Object.defineProperty(C,"registerNavigationLinkKey",{enumerable:!0,get:()=>x.registerNavigationLinkKey}),C.AvAccordion=Dn,C.AvAccordionsGroup=On,C.AvAlert=We,C.AvAutocomplete=Mo,C.AvAutocompleteStub=kr,C.AvBadge=Lt,C.AvBadgeStub=Dt,C.AvButton=Y,C.AvButtonStub=zn,C.AvCancelConfirmButtons=Xe,C.AvCard=Wt,C.AvDrawer=Tl,C.AvDrawerStub=Cl,C.AvFileUpload=ea,C.AvHeader=Nn,C.AvHeaderMenuLinks=Ee,C.AvIconText=je,C.AvInput=tt,C.AvList=Ne,C.AvListItem=ke,C.AvListItemStub=ur,C.AvListStub=sr,C.AvLogo=Ue,C.AvModal=Sl,C.AvMultiselect=ko,C.AvNavigation=Uo,C.AvNotice=Vt,C.AvPageSizePicker=Er,C.AvPagination=al,C.AvPopover=di,C.AvRadioButton=rt,C.AvRadioButtonSet=Nr,C.AvRichButton=Wn,C.AvSelect=Bo,C.AvSelectStub=To,C.AvSideMenu=It,C.AvSideNavigation=cl,C.AvSideNavigationStub=Al,C.AvStepper=bl,C.AvStepperStub=sl,C.AvTab=Qo,C.AvTabs=So,C.AvTagPicker=nt,C.AvTagPickerStub=Mr,C.AvToaster=Gt,C.AvToggle=Po,C.AvVIcon=X,C.AvVIconStub=jt,C.BREAKPOINTS=at,C.DropdownState=J,C.DsfrBadgeStub=ui,C.DsfrModalStub=fi,C.DsfrNavigationStub=mi,C.EsupLogo=Sn,C.ICONS_DATA_URL=Xt,C.MDI_ICONS=V,C.PageSizes=Te,C.RI_ICONS=Ut,C.VIconStub=gi,C.formatTextToHtml=xe,C.getPaginationPages=rl,C.isValidEmail=Ht,C.pageSizeValues=pr,C.removeDuplicates=Pe,C.toSentenceCase=ue,C.useBreakpoint=wl,C.useFocusTrap=Qt,C.useGlobalBackgroundColor=ci,Object.defineProperty(C,Symbol.toStringTag,{value:"Module"})}));
package/package.json CHANGED
@@ -1,7 +1,11 @@
1
1
  {
2
2
  "name": "@avenirs-esr/avenirs-dsav",
3
3
  "type": "module",
4
- "version": "0.1.47",
4
+ "version": "0.1.50",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/avenirs-esr/avenirs-dsav"
8
+ },
5
9
  "main": "dist/avenirs-dsav.umd.js",
6
10
  "module": "dist/avenirs-dsav.es.js",
7
11
  "types": "dist/index.d.ts",
@@ -64,7 +68,7 @@
64
68
  "@chromatic-com/storybook": "^4.1.1",
65
69
  "@commitlint/cli": "^19.8.1",
66
70
  "@commitlint/config-conventional": "^19.8.1",
67
- "@playwright/test": "^1.55.0",
71
+ "@playwright/test": "1.56.0",
68
72
  "@rushstack/eslint-patch": "^1.10.4",
69
73
  "@storybook/addon-a11y": "^9.1.6",
70
74
  "@storybook/addon-docs": "^9.1.6",
@@ -92,7 +96,7 @@
92
96
  "jsdom": "^25.0.0",
93
97
  "lint-staged": "^16.1.6",
94
98
  "npm-run-all2": "^6.2.2",
95
- "playwright": "^1.55.0",
99
+ "playwright": "1.56.0",
96
100
  "rimraf": "^5.0.10",
97
101
  "sass-embedded": "^1.92.1",
98
102
  "storybook": "^9.1.6",
@@ -8,11 +8,16 @@
8
8
  @use './dimensions.scss' as *;
9
9
  @use './breakpoints.scss' as *;
10
10
 
11
+ :root {
12
+ --default-global-background-color: var(--other-background-base)
13
+ --global-background-color: var(--default-global-background-color);
14
+ }
15
+
11
16
  html,
12
17
  body,
13
18
  #app {
14
19
  height: 100%;
15
- background-color: var(--surface-background);
20
+ background-color: var(--global-background-color);
16
21
  }
17
22
 
18
23
  .fr-container {
package/dist/App.vue.d.ts DELETED
@@ -1,2 +0,0 @@
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;
@@ -1,36 +0,0 @@
1
- import type { Meta, StoryFn } from '@storybook/vue3';
2
- import { type AvBadgeProps } from '@/components/badges/AvBadge/AvBadge.vue';
3
- /**
4
- * <h1 class="n1">Badges - <code>AvBadge</code></h1>
5
- *
6
- * <h2 class="n2">✨ Introduction</h2>
7
- *
8
- * <p>
9
- * <span class="b2-regular">
10
- * The <code>AvBadge</code> is ideal for displaying short, important information, such as categories, labels, or statuses.
11
- * </span>
12
- * </p>
13
- *
14
- * <h2 class="n2">🏗️ Structure</h2>
15
- *
16
- * <ul>
17
- * <li>
18
- * <span class="b2-regular">The component is a <code>p</code> element with the <code>fr-badge</code> class.</span>
19
- * </li>
20
- * <li>
21
- * <span class="b2-regular">Props allow you to modify the badge appearance according to the props: color, icon presence, size, and handling of overly long text.</span>
22
- * </li>
23
- * <li>
24
- * <span class="b2-regular">The <code>label</code> is displayed inside a <code>span</code>, potentially with the <code>ellipsis</code> prop and a defined or maximum size to handle truncated text.</span>
25
- * </li>
26
- * </ul>
27
- */
28
- declare const meta: Meta<AvBadgeProps>;
29
- export default meta;
30
- export declare const Default: StoryFn<AvBadgeProps>;
31
- export declare const WithoutIcon: StoryFn<AvBadgeProps>;
32
- export declare const SmallEllipsis: StoryFn<AvBadgeProps>;
33
- export declare const StatusNotStarted: StoryFn<AvBadgeProps>;
34
- export declare const StatusInProgress: StoryFn<AvBadgeProps>;
35
- export declare const StatusSubmitted: StoryFn<AvBadgeProps>;
36
- export declare const StatusCompleted: StoryFn<AvBadgeProps>;
@@ -1,18 +0,0 @@
1
- export declare const AvBadgeStub: {
2
- name: string;
3
- template: string;
4
- props: {
5
- label: StringConstructor;
6
- small: {
7
- type: BooleanConstructor;
8
- default: boolean;
9
- };
10
- ellipsis: {
11
- type: BooleanConstructor;
12
- default: boolean;
13
- };
14
- color: StringConstructor;
15
- backgroundColor: StringConstructor;
16
- iconPath: StringConstructor;
17
- };
18
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,44 +0,0 @@
1
- export interface AvBadgeProps {
2
- /**
3
- * The color of the text to display in the badge.
4
- */
5
- color: string;
6
- /**
7
- * The background color of the badge.
8
- */
9
- backgroundColor: string;
10
- /**
11
- * The color of the badge border.
12
- */
13
- borderColor?: string;
14
- /**
15
- * The link to the public icon in the project (e.g., `/assets/icons/calendar-clock-outline.svg`).
16
- */
17
- iconPath?: string;
18
- /**
19
- * The text to display in the badge.
20
- */
21
- label: string;
22
- /**
23
- * Sets the badge type.
24
- * @default 'info'
25
- */
26
- type?: 'success' | 'error' | 'new' | 'info' | 'warning' | undefined;
27
- /**
28
- * If true, the badge is displayed without an icon.
29
- * @default false
30
- */
31
- noIcon?: boolean | undefined;
32
- /**
33
- * If true, displays a reduced-size badge.
34
- * @default false
35
- */
36
- small?: boolean | undefined;
37
- /**
38
- * If true, the text is truncated with an ellipsis if it is too long.
39
- * @default false
40
- */
41
- ellipsis?: boolean | undefined;
42
- }
43
- declare const _default: import("vue").DefineComponent<AvBadgeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<AvBadgeProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
44
- export default _default;
@@ -1,2 +0,0 @@
1
- export { AvBadgeStub } from './AvBadge/AvBadge.stub';
2
- export { default as AvBadge } from './AvBadge/AvBadge.vue';
@@ -1,36 +0,0 @@
1
- import type { Meta, StoryFn } from '@storybook/vue3';
2
- import { type AvIconTextProps } from './AvIconText.vue';
3
- /**
4
- * <h1 class="n1">Texts with icon - <code>AvIconText</code></h1>
5
- *
6
- * <h2 class="n2">✨ Introduction</h2>
7
- *
8
- * <p>
9
- * <span class="b2-regular">
10
- * The <code>AvIconText</code> is a component that allows you to display text with an icon on the left
11
- * (preferably an
12
- * <a href="https://icon-sets.iconify.design/mdi/" target="_blank" rel="noopener noreferrer">MDI</a>
13
- * icon). This View component is ideal for displaying text with an icon that allows you to visualize
14
- * the type of information conveyed by the text.
15
- * </span>
16
- * </p>
17
- *
18
- * <h2 class="n2">🏗️ Structure</h2>
19
- *
20
- * <ul>
21
- * <li>
22
- * <span class="b2-regular">The component is a <code>div</code> element composed of an <code>AvVIcon</code> component and a <code>span</code>.</span>
23
- * </li>
24
- * <li>
25
- * <span class="b2-regular">Props allow you to modify the appearance of the icon and text according to the props: color, icon, size, and handling of overly long text.</span>
26
- * </li>
27
- * <li>
28
- * <span class="b2-regular">The <code>label</code> is displayed inside a <code>span</code>, potentially with the <code>ellipsis</code> prop to handle truncated text.</span>
29
- * </li>
30
- * </ul>
31
- */
32
- declare const meta: Meta<AvIconTextProps>;
33
- export default meta;
34
- export declare const Default: StoryFn<AvIconTextProps>;
35
- export declare const InlineNoEllipsis: StoryFn<AvIconTextProps>;
36
- export declare const CustomColors: StoryFn<AvIconTextProps>;
@@ -1 +0,0 @@
1
- export {};
@@ -1,40 +0,0 @@
1
- /**
2
- * AvIconText component props.
3
- */
4
- export interface AvIconTextProps {
5
- /**
6
- * The text color.
7
- * @default 'var(--text1)'
8
- */
9
- textColor?: string;
10
- /**
11
- * The icon color.
12
- * @default 'var(--text1)'
13
- */
14
- iconColor?: string;
15
- /**
16
- * The icon name according to the naming convention of Iconify-vue.
17
- */
18
- icon: string;
19
- /**
20
- * The text to display.
21
- */
22
- text: string;
23
- /**
24
- * The typography class to use for the text.
25
- * @default 'b2-regular'
26
- */
27
- typographyClass?: string;
28
- /**
29
- * The space between the icon and the text.
30
- * @default '0.25rem'
31
- */
32
- gap?: string;
33
- /**
34
- * If `false`, text that is too long will be truncated.
35
- * @default false
36
- */
37
- inline?: boolean;
38
- }
39
- declare const _default: import("vue").DefineComponent<AvIconTextProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<AvIconTextProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
40
- export default _default;
@@ -1,56 +0,0 @@
1
- import type { Meta, StoryFn } from '@storybook/vue3';
2
- import { type AvNoticeProps } from '@/components/base/AvNotice/AvNotice.vue';
3
- /**
4
- * <h1 class="n1">Important information banner - <code>AvNotice</code></h1>
5
- *
6
- * <h2 class="n2">✨ Introduction</h2>
7
- *
8
- * <p>
9
- * <span class="b2-regular">
10
- * The <code>AvNotice</code> is an important information banner that allow
11
- * users to view or access important and temporary information.
12
- * </span>
13
- * </p>
14
- *
15
- * <p>
16
- * <span class="b2-regular">
17
- * It is displayed on all pages on desktop and mobile devices. It displays important and urgent information
18
- * (overuse may cause this banner to "disappear").
19
- * </span>
20
- * </p>
21
- *
22
- * <h2 class="n2">🏗️ Structure</h2>
23
- *
24
- * <p><span class="b2-regular">The notice consists of the following elements:</span></p>
25
- *
26
- * <ul>
27
- * <li>
28
- * <span class="b2-regular">A title (prop <code>title</code>, of type <code>string</code>):</span>
29
- * <ul>
30
- * <li><span class="b2-regular">Optional with a default value <code>''</code></span></li>
31
- * </ul>
32
- * </li>
33
- * <li>
34
- * <span class="b2-regular">A text (prop <code>text</code>, of type <code>string</code>):</span>
35
- * <ul>
36
- * <li><span class="b2-regular">Optional with a default value <code>''</code></span></li>
37
- * </ul>
38
- * </li>
39
- * <li>
40
- * <span class="b2-regular">A pictogram and a color determined by the prop <code>type</code>, which can be one of the following strings:</span>
41
- * <ul>
42
- * <li><span class="b2-regular"><code>'info'</code></span></li>
43
- * <li><span class="b2-regular"><code>'warning'</code></span></li>
44
- * <li><span class="b2-regular"><code>'alert'</code></span></li>
45
- * </ul>
46
- * </li>
47
- * <li>
48
- * <span class="b2-regular">An information icon</span>
49
- * </li>
50
- * </ul>
51
- */
52
- declare const meta: Meta<AvNoticeProps>;
53
- export default meta;
54
- export declare const Default: StoryFn<AvNoticeProps>;
55
- export declare const InfoNotice: StoryFn<AvNoticeProps>;
56
- export declare const AlertNotice: StoryFn<AvNoticeProps>;
@@ -1 +0,0 @@
1
- export {};
@@ -1,22 +0,0 @@
1
- /**
2
- * AvNotice component props.
3
- */
4
- export interface AvNoticeProps {
5
- /**
6
- * The banner title.
7
- * @default ''
8
- */
9
- title?: string;
10
- /**
11
- * The banner text. Any text surrounded by a ** will be underlined.
12
- * @default ''
13
- */
14
- text?: string;
15
- /**
16
- * The banner type.
17
- * Can be 'info', 'warning', or 'alert'.
18
- */
19
- type: 'info' | 'warning' | 'alert';
20
- }
21
- declare const _default: import("vue").DefineComponent<AvNoticeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<AvNoticeProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
- export default _default;
@@ -1,40 +0,0 @@
1
- import type { Meta, StoryFn } from '@storybook/vue3';
2
- import { type AvVIconProps } from '@/components/base/AvVIcon/AvVIcon.vue';
3
- /**
4
- * <h1 class="n1">Icons - <code>AvVIcon</code></h1>
5
- *
6
- * <h2 class="n2">✨ Introduction</h2>
7
- *
8
- * <p>
9
- * <span class="b2-regular">
10
- * The <code>AvVIcon</code> component places a <code>VIcon</code> in a square <code>div</code> of configurable size.
11
- * It's a Vue.js component for displaying icons with a wide range of customization options, including animations, colors, and sizes.
12
- * It's designed to be flexible and performant, with support for various display options, flip options, and accessible titles.
13
- * </span>
14
- * </p>
15
- *
16
- * <p>
17
- * <span class="b2-regular">
18
- * It has exactly the same API as OhVueIcon, and uses <code>@iconify/vue</code> under the hood.
19
- * </span>
20
- * </p>
21
- *
22
- * <p>
23
- * <span class="b2-regular">
24
- * <strong>⚠️ Icon names must be those from </strong>
25
- * <a href="https://icon-sets.iconify.design/" target="_blank" rel="noopener noreferrer">Iconify-vue</a>
26
- * </span>
27
- * </p>
28
- *
29
- * <h2 class="n2">🏗️ Structure</h2>
30
- *
31
- * <p>
32
- * <span class="b2-regular">
33
- * The icon is composed of a square <code>div</code> of configurable size containing the <code>VIcon</code> component.
34
- * </span>
35
- * </p>
36
- */
37
- declare const meta: Meta<AvVIconProps>;
38
- export default meta;
39
- export declare const Default: StoryFn<AvVIconProps>;
40
- export declare const Animated: StoryFn<AvVIconProps>;
@@ -1,5 +0,0 @@
1
- export declare const AvVIconStub: {
2
- name: string;
3
- props: string[];
4
- template: string;
5
- };
@@ -1,54 +0,0 @@
1
- export interface AvVIconProps {
2
- /**
3
- * The size in rem of the icon container and a ratio for the icon scale.
4
- * @default 1
5
- */
6
- size?: number;
7
- /**
8
- * The name of the icon to display.
9
- */
10
- name: string;
11
- /**
12
- * Vertical alignment of the icon relative to the baseline.
13
- * @default '-0.2em'
14
- */
15
- verticalAlign?: string;
16
- /**
17
- * Animation type applied to the icon.
18
- * Can be 'spin', 'wrench', 'pulse', 'spin-pulse', 'flash', or 'float'.
19
- */
20
- animation?: 'spin' | 'wrench' | 'pulse' | 'spin-pulse' | 'flash' | 'float';
21
- /**
22
- * Animation speed, if set.
23
- * Can be 'fast' or 'slow'.
24
- */
25
- speed?: 'fast' | 'slow';
26
- /**
27
- * Flips the icon horizontally, vertically, or both.
28
- */
29
- flip?: 'horizontal' | 'vertical' | 'both';
30
- /**
31
- * ARIA label for accessibility.
32
- */
33
- label?: string;
34
- /**
35
- * Icon title (`<title>` tag), used for accessibility and tooltips.
36
- */
37
- title?: string;
38
- /**
39
- * Main color of the icon.
40
- */
41
- color?: string;
42
- /**
43
- * Applies an inverted color to the icon.
44
- * @default false
45
- */
46
- inverse?: boolean;
47
- /**
48
- * Enables server-side rendering.
49
- * @default true
50
- */
51
- ssr?: boolean;
52
- }
53
- declare const _default: import("vue").DefineComponent<AvVIconProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<AvVIconProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
54
- export default _default;
@@ -1,4 +0,0 @@
1
- export { default as AvIconText } from './AvIconText/AvIconText.vue';
2
- export { default as AvNotice } from './AvNotice/AvNotice.vue';
3
- export { AvVIconStub } from './AvVIcon/AvVIcon.stub';
4
- export { default as AvVIcon } from './AvVIcon/AvVIcon.vue';
@@ -1,28 +0,0 @@
1
- import type { Meta, StoryFn } from '@storybook/vue3';
2
- import { type AvCardProps } from '@/components/cards/AvCard/AvCard.vue';
3
- /**
4
- * <h1 class="n1">Cards - <code>AvCard</code></h1>
5
- *
6
- * <h2 class="n2">✨ Introduction</h2>
7
- *
8
- * <p>
9
- * <span class="b2-regular">
10
- * The <code>AvCard</code> card is a component for creating customizable styled containers.
11
- * </span>
12
- * </p>
13
- *
14
- * <h2 class="n2">🏗️ Structure</h2>
15
- *
16
- * <p>
17
- * <span class="b2-regular">
18
- * The card is composed of a main <code>div</code> containing a div for the title (slot <code>title</code>),
19
- * a generic slot by default, a div for the body (slot <code>body</code>) as well as a div for the footer
20
- * (slot <code>footer</code>).
21
- * </span>
22
- * </p>
23
- */
24
- declare const meta: Meta<AvCardProps>;
25
- export default meta;
26
- export declare const Default: StoryFn<AvCardProps>;
27
- export declare const WithCustomColors: StoryFn<AvCardProps>;
28
- export declare const WithOnlyDefaultSlot: StoryFn<AvCardProps>;
@@ -1 +0,0 @@
1
- export {};
@@ -1,58 +0,0 @@
1
- import type { Slot } from 'vue';
2
- /**
3
- * AvCard component props.
4
- */
5
- export interface AvCardProps {
6
- /**
7
- * The background color of the card.
8
- * @default 'var(--card)'
9
- */
10
- backgroundColor?: string;
11
- /**
12
- * The border color of the card.
13
- * @default 'var(--stroke)'
14
- */
15
- borderColor?: string;
16
- /**
17
- * The background color of the card title.
18
- * @default 'var(--surface-background)'
19
- */
20
- titleBackground?: string;
21
- /**
22
- * The height of the card title.
23
- */
24
- titleHeight?: string;
25
- }
26
- /**
27
- * Slots available in the AvCard component.
28
- *
29
- * @slot title - Slot for the card title.
30
- * @slot body - Slot for the card body.
31
- * @slot footer - Slot for card footer.
32
- * @slot default - Default slot for global content.
33
- */
34
- type __VLS_Slots = {
35
- /**
36
- * Slot for the card title.
37
- */
38
- title?: Slot;
39
- /**
40
- * Slot for the card body.
41
- */
42
- body?: Slot;
43
- /**
44
- * Slot for the card footer.
45
- */
46
- footer?: Slot;
47
- /**
48
- * Default slot for global content.
49
- */
50
- default?: Slot;
51
- };
52
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<AvCardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<AvCardProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, __VLS_Slots>;
53
- export default _default;
54
- type __VLS_WithSlots<T, S> = T & {
55
- new (): {
56
- $slots: S;
57
- };
58
- };
@@ -1 +0,0 @@
1
- export { default as AvCard } from './AvCard/AvCard.vue';
@@ -1 +0,0 @@
1
- export {};