@bethinkpl/design-system 26.14.9 → 26.15.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.
Files changed (233) hide show
  1. package/.eslintrc.cjs +0 -1
  2. package/.storybook/main.ts +8 -8
  3. package/.storybook/scss-preview-styles-plugin.ts +31 -31
  4. package/dist/design-system.umd.cjs +18 -18
  5. package/dist/design-system.umd.cjs.map +1 -1
  6. package/docs/assets/{AccessStatus-CGnNcMlb.js → AccessStatus-BdbWaHQP.js} +1 -1
  7. package/docs/assets/{AccessStatus.stories-D-joThPx.js → AccessStatus.stories-DqcEfuBA.js} +1 -1
  8. package/docs/assets/{Avatar-Ce5XbKKY.js → Avatar-BfMssJty.js} +1 -1
  9. package/docs/assets/{Avatar.stories-DSstbDoo.js → Avatar.stories-DUjrdPxd.js} +1 -1
  10. package/docs/assets/{Badge-DwaAe2hE.js → Badge-D6TIWhxN.js} +1 -1
  11. package/docs/assets/{Badge.stories-Cbakkf_B.js → Badge.stories-Bv5vOVUm.js} +2 -2
  12. package/docs/assets/{BadgeScore-wy93bXgK.js → BadgeScore-Cb9gd56c.js} +1 -1
  13. package/docs/assets/{BadgeScore.stories-DY6gfwYr.js → BadgeScore.stories-BsD5r0Lb.js} +1 -1
  14. package/docs/assets/{Banner-B9Tr_i8L.js → Banner-Bc-GaNQo.js} +1 -1
  15. package/docs/assets/{Banner.stories-DWEKk5dM.js → Banner.stories-DkCWYPus.js} +1 -1
  16. package/docs/assets/BasicRichListItem-D0Wk0hG3.js +1 -0
  17. package/docs/assets/{BasicRichListItem.stories-ISlFYvCI.js → BasicRichListItem.stories-Du92pfHC.js} +1 -1
  18. package/docs/assets/{BlockadeStatus-CMiMJ44p.js → BlockadeStatus-BAO7ZSMR.js} +1 -1
  19. package/docs/assets/{BlockedeStatus.stories-BYDVudbT.js → BlockedeStatus.stories-DPgKWNlb.js} +1 -1
  20. package/docs/assets/{Button-BspEkV6x.js → Button-DTM9D6tQ.js} +1 -1
  21. package/docs/assets/{Button.stories-DZ52UjGc.js → Button.stories-Drsp2tgd.js} +2 -2
  22. package/docs/assets/{Card-YhM4NzlD.js → Card-KSW_Q55y.js} +1 -1
  23. package/docs/assets/{Card.stories-CyZBsJ2u.js → Card.stories-Bqmd77lg.js} +2 -2
  24. package/docs/assets/CardExpandable-DZ5qdj_Y.js +1 -0
  25. package/docs/assets/{CardExpandable.stories-CIwn6Vo9.js → CardExpandable.stories-cFQsWRUN.js} +1 -1
  26. package/docs/assets/{Checkbox-C4-1HpKO.js → Checkbox-yVtwyPI-.js} +1 -1
  27. package/docs/assets/{Checkbox.stories-BbnMf-xs.js → Checkbox.stories-UYUu1WCA.js} +1 -1
  28. package/docs/assets/{Chip-DQKjSxOw.js → Chip-C-ttDDPa.js} +1 -1
  29. package/docs/assets/{Chip.stories-D59LB8Li.js → Chip.stories-DEv2a6cC.js} +1 -1
  30. package/docs/assets/Color-ERTF36HU-Cq4yGxVI.js +1 -0
  31. package/docs/assets/{Colors.stories-C8hIYHsM.js → Colors.stories-BrNisWwH.js} +3 -3
  32. package/docs/assets/{ColorsThemes.stories-g01vwZZd.js → ColorsThemes.stories-DvZl0m40.js} +2 -2
  33. package/docs/assets/ColorsTokensLms.stories-D3nA1ro1.js +11 -0
  34. package/docs/assets/{ColorsTokensPrimaryBodywork.stories-YrgPsIZE.js → ColorsTokensPrimaryBodywork.stories-w4A7RjpQ.js} +1 -1
  35. package/docs/assets/{ColorsTokensPrimaryWnl.stories-pfaw97Pu.js → ColorsTokensPrimaryWnl.stories-CncgXEG5.js} +1 -1
  36. package/docs/assets/{CounterToggle-BHx5fQcS.js → CounterToggle-DleD8vtl.js} +1 -1
  37. package/docs/assets/{CounterToggle.stories-bp-J5qBR.js → CounterToggle.stories-gIBPTeUE.js} +1 -1
  38. package/docs/assets/{DateBox.stories-C6CMLw_w.js → DateBox.stories-ITuNN3NV.js} +3 -3
  39. package/docs/assets/DatePicker-MzMuc8fk.js +1 -0
  40. package/docs/assets/{DatePicker.stories-_mZqvqHL.js → DatePicker.stories-DZ4fuxm9.js} +2 -2
  41. package/docs/assets/DateRangePicker-D1PXeiHM.js +1 -0
  42. package/docs/assets/{DateRangePicker.stories-93Slgmlz.js → DateRangePicker.stories-D-RLAJHJ.js} +2 -2
  43. package/docs/assets/{Divider-C8Drds6C.js → Divider-9o-i_zKL.js} +1 -1
  44. package/docs/assets/{Divider.stories-jAhp6jPo.js → Divider.stories-IQKEznYT.js} +2 -2
  45. package/docs/assets/DocsRenderer-CFRXHY34-ciQO70gR.js +639 -0
  46. package/docs/assets/{Drawer-DbgJzgqG.js → Drawer-ClrSDwUZ.js} +1 -1
  47. package/docs/assets/{Drawer.stories-C6cSORhx.js → Drawer.stories-DR-CXra3.js} +1 -1
  48. package/docs/assets/{DrawerContent-CaU7wIbB.js → DrawerContent-D6Bl5GA-.js} +1 -1
  49. package/docs/assets/{DrawerContent.stories-ChrmYVDB.js → DrawerContent.stories-BR11egKi.js} +1 -1
  50. package/docs/assets/{DrawerDivider-1FPi8JiH.js → DrawerDivider-DMhjaSPk.js} +1 -1
  51. package/docs/assets/{DrawerDivider.stories-BdIRw3cE.js → DrawerDivider.stories-DdcVRbtO.js} +2 -2
  52. package/docs/assets/{DrawerHeader-4iw56M9S.js → DrawerHeader-Wv_4-y80.js} +1 -1
  53. package/docs/assets/{DrawerHeader.stories-DbjD5Kob.js → DrawerHeader.stories-oX2zW_qZ.js} +1 -1
  54. package/docs/assets/DrawerListItem-CIEm2YIc.js +1 -0
  55. package/docs/assets/{DrawerListItem.stories-BTDse0Ly.js → DrawerListItem.stories-CT4AHRKW.js} +1 -1
  56. package/docs/assets/{DrawerListItemGroup-DHghqnvr.js → DrawerListItemGroup-B5XadRVV.js} +1 -1
  57. package/docs/assets/{DrawerListItemGroup.stories-CCjEl3Qc.js → DrawerListItemGroup.stories-B541RV6U.js} +1 -1
  58. package/docs/assets/{DrawerSection-CJve_uPO.js → DrawerSection-Di_ofHSH.js} +1 -1
  59. package/docs/assets/{DrawerSection.stories-CW3ar6_9.js → DrawerSection.stories-C4ixwQIo.js} +1 -1
  60. package/docs/assets/{DrawerTile-CJMOxl7M.js → DrawerTile-DMIeqQC0.js} +1 -1
  61. package/docs/assets/{DrawerTile.stories-D-WFiGyA.js → DrawerTile.stories-WzAPfUy9.js} +1 -1
  62. package/docs/assets/Dropdown-CYFZ3OvV.js +1 -0
  63. package/docs/assets/{Dropdown.stories-DYgrjeCS.js → Dropdown.stories-BEI0k1ws.js} +2 -2
  64. package/docs/assets/{FeatureIcon-D1pT2eRN.js → FeatureIcon-JKiMnOvS.js} +1 -1
  65. package/docs/assets/{FeatureIcon.stories-Pjv2IhFN.js → FeatureIcon.stories-DyY2g0uS.js} +1 -1
  66. package/docs/assets/{GroupRichListItem-ZRcp4uu7.js → GroupRichListItem-BvLfDPjh.js} +1 -1
  67. package/docs/assets/{GroupRichListItem.stories-CANW2eUN.js → GroupRichListItem.stories-C6gd1aBX.js} +1 -1
  68. package/docs/assets/Icon-DLflpryl.js +761 -0
  69. package/docs/assets/{Icon.stories-QBxgAX7L.js → Icon.stories-C0zrdS-E.js} +1 -1
  70. package/docs/assets/{IconButton-D1G48iNF.js → IconButton-jIBOZaL6.js} +1 -1
  71. package/docs/assets/{IconButton.stories-nkUTGd5p.js → IconButton.stories-u8ZnxA0r.js} +6 -6
  72. package/docs/assets/{IconText-CQ2EOPS3.js → IconText-D16p7ozy.js} +1 -1
  73. package/docs/assets/{IconText.stories-CYyY8k8w.js → IconText.stories-90zCvZeb.js} +2 -2
  74. package/docs/assets/{Image-DBf62AYO.js → Image-Dbv2u4ta.js} +1 -1
  75. package/docs/assets/{Image.stories-8CR2Xgh1.js → Image.stories-CUWPBT5K.js} +1 -1
  76. package/docs/assets/{ItemsList-wyz4ig57.js → ItemsList-CJTCYbgI.js} +1 -1
  77. package/docs/assets/{LoadingBar-BrB35t4Q.js → LoadingBar-Dc_eLNsl.js} +1 -1
  78. package/docs/assets/{LoadingBar.stories-DKbRUeve.js → LoadingBar.stories-DWH4VmcD.js} +1 -1
  79. package/docs/assets/{Modal-D7FYbnpP.js → Modal-BNfy5y5G.js} +1 -1
  80. package/docs/assets/Modal.stories-DfgQe09K.js +53 -0
  81. package/docs/assets/ModalDialog-C3_bDqrz.js +1 -0
  82. package/docs/assets/ModalDialog.stories-rQ8IipQ0.js +43 -0
  83. package/docs/assets/{NumberInCircle-Bl3O1NY9.js → NumberInCircle-DnPE2szs.js} +1 -1
  84. package/docs/assets/{NumberInCircle.stories-CvQo4d_n.js → NumberInCircle.stories-Tn0v6S_I.js} +1 -1
  85. package/docs/assets/{OutlineDivider-DLeaEHJV.js → OutlineDivider-UaRb6wKt.js} +1 -1
  86. package/docs/assets/{OutlineDivider.stories-kRQwvLLq.js → OutlineDivider.stories-D9Hzkdbe.js} +2 -2
  87. package/docs/assets/{OutlineItem-DxyGNhy0.js → OutlineItem-k4o2gAd_.js} +1 -1
  88. package/docs/assets/{OutlineItem.stories-DYkOeuFr.js → OutlineItem.stories-qRcEu4u8.js} +2 -2
  89. package/docs/assets/{OutlineSectionHeader-D0yWigNU.js → OutlineSectionHeader-LGOAi424.js} +1 -1
  90. package/docs/assets/{OutlineSectionHeader.stories-rgGBTWra.js → OutlineSectionHeader.stories-PPIsaHhR.js} +1 -1
  91. package/docs/assets/OverlayHeader-CM0t7lPr.js +1 -0
  92. package/docs/assets/{OverlayHeader.stories-DRA9O825.js → OverlayHeader.stories-DdUnt5mJ.js} +2 -2
  93. package/docs/assets/{PageHeader-Bm1rvulD.js → PageHeader-DkHlb7_P.js} +1 -1
  94. package/docs/assets/{PageHeader.stories-BGuwpE2Y.js → PageHeader.stories-WThxfLse.js} +1 -1
  95. package/docs/assets/{Pagination-B2EizK9F.js → Pagination-TTyuIJ3s.js} +1 -1
  96. package/docs/assets/{Pagination.stories-DhUcDKHI.js → Pagination.stories-CCT0nhBs.js} +1 -1
  97. package/docs/assets/{PopOver-CEiHBD0K.js → PopOver-BtWRUcqR.js} +1 -1
  98. package/docs/assets/{PopOver.stories-jIxSKRkg.js → PopOver.stories-DdmtSmb1.js} +1 -1
  99. package/docs/assets/ProgressBar-bPl8V4zL.js +1 -0
  100. package/docs/assets/{ProgressBar.stories-Z4jewKzH.js → ProgressBar.stories-DPWwdCMP.js} +2 -2
  101. package/docs/assets/ProgressDonutChart-B42JFhmC.js +1 -0
  102. package/docs/assets/{ProgressDonutChart.stories-DvgOxiji.js → ProgressDonutChart.stories-139yf9qk.js} +1 -1
  103. package/docs/assets/{RadioButton-BP_xSqRz.js → RadioButton-CocBbkKQ.js} +1 -1
  104. package/docs/assets/{RadioButton.stories-gdWo9JRu.js → RadioButton.stories-Dj4K2DOd.js} +1 -1
  105. package/docs/assets/{RichListItem.stories-Bhq-H3o3.js → RichListItem.stories-B7axni5v.js} +1 -1
  106. package/docs/assets/{SectionHeader-BB4a8U3x.js → SectionHeader-CoK_3gzJ.js} +1 -1
  107. package/docs/assets/SectionHeader.stories-r1QYbspK.js +24 -0
  108. package/docs/assets/{SectionTitle-B_bXkybY.js → SectionTitle-DLcFKzRH.js} +1 -1
  109. package/docs/assets/{SectionTitle.stories-BwEqWW1e.js → SectionTitle.stories-Dybq4paM.js} +1 -1
  110. package/docs/assets/{SelectList-D5Bts8VC.js → SelectList-B323Y2el.js} +1 -1
  111. package/docs/assets/{SelectList.stories-wPjCN2Hi.js → SelectList.stories-C89bpLpi.js} +2 -2
  112. package/docs/assets/{SelectListItem-Bd8O0NCh.js → SelectListItem-BfrNC0lN.js} +1 -1
  113. package/docs/assets/{SelectListItem.stories-CkpKE3P4.js → SelectListItem.stories-7_Hgwc0t.js} +2 -2
  114. package/docs/assets/{SelectListItemDivider-CMQALpY4.js → SelectListItemDivider-lDLIwtP8.js} +1 -1
  115. package/docs/assets/{SelectListItemDivider.stories-D9qt2vAD.js → SelectListItemDivider.stories-BZ6_HOBG.js} +1 -1
  116. package/docs/assets/{SelectListItemTile-CXr5iXVh.js → SelectListItemTile-VUKxo3Ph.js} +1 -1
  117. package/docs/assets/{SelectListItemTile.stories-C_Z3MQ0H.js → SelectListItemTile.stories-zTWQ8pfo.js} +1 -1
  118. package/docs/assets/{SelectListItemToggle-D3c7ZwdI.js → SelectListItemToggle-DVeIonzN.js} +1 -1
  119. package/docs/assets/{SelectListItemToggle.stories-DXmW5UuX.js → SelectListItemToggle.stories-isbsW94B.js} +2 -2
  120. package/docs/assets/{SelectListSectionTitle-DqFzixd5.js → SelectListSectionTitle-BFbrwNgw.js} +1 -1
  121. package/docs/assets/{SelectListSectionTitle.stories-Bff6cW1U.js → SelectListSectionTitle.stories-NKPegok4.js} +1 -1
  122. package/docs/assets/{SelectionControl-k2rO_ZDX.js → SelectionControl-JHBohZVS.js} +1 -1
  123. package/docs/assets/{SelectionTile-BFDhuh-k.js → SelectionTile-jvSsuAJD.js} +2 -2
  124. package/docs/assets/{SelectionTile.stories-DIRy9HXD.js → SelectionTile.stories-BtKHjKvZ.js} +2 -2
  125. package/docs/assets/Skeleton-DhyJ4ZKG.js +179 -0
  126. package/docs/assets/{Skeleton.stories-BcZQO1fR.js → Skeleton.stories-CsZjBoj1.js} +1 -1
  127. package/docs/assets/SurveyQuestionOpenEnded-Cc4cKSQ6.js +1 -0
  128. package/docs/assets/{SurveyQuestionOpenEnded.stories-CGdAFkuU.js → SurveyQuestionOpenEnded.stories-RzpJn8fr.js} +1 -1
  129. package/docs/assets/{SurveyQuestionScale-DJkJami8.js → SurveyQuestionScale-DECnKlLN.js} +1 -1
  130. package/docs/assets/{SurveyQuestionScale.stories-Dv_IfI4O.js → SurveyQuestionScale.stories-CIEPsvni.js} +1 -1
  131. package/docs/assets/SurveyToggle-DBYCLMcd.js +1 -0
  132. package/docs/assets/SurveyToggle.stories-C0M1EYrR.js +14 -0
  133. package/docs/assets/{Switch-BW1DYjhE.js → Switch-CJmb9Pod.js} +1 -1
  134. package/docs/assets/{Switch.stories-On5GbpK0.js → Switch.stories-B_SvqqVw.js} +2 -2
  135. package/docs/assets/{TabItem-cCxUq9SH.js → TabItem-DHcL0LcY.js} +1 -1
  136. package/docs/assets/{TabItem.stories-KQLETE1X.js → TabItem.stories-D-hHY4xD.js} +1 -1
  137. package/docs/assets/{TextGroup-CYKZ-tOo.js → TextGroup-AUUBIFJZ.js} +1 -1
  138. package/docs/assets/{TextGroup.stories-cU3ZCXVQ.js → TextGroup.stories-CqwkdBAO.js} +2 -2
  139. package/docs/assets/{ThreeColumnLayout-DyxM7a22.js → ThreeColumnLayout-DXA1815_.js} +1 -1
  140. package/docs/assets/{ThreeColumnLayout.stories-BakzsXzp.js → ThreeColumnLayout.stories-BA08mTZ7.js} +1 -1
  141. package/docs/assets/{Tile-DXOYbUz7.js → Tile-C-0-l9Zd.js} +1 -1
  142. package/docs/assets/{Tile.sb.shared-9_Eyhwmq.js → Tile.sb.shared-CPS5WnqW.js} +2 -2
  143. package/docs/assets/{Tile.stories-CjBrMb2f.js → Tile.stories-CS3Brfmz.js} +1 -1
  144. package/docs/assets/{Toast-CZcuGptt.js → Toast-CiehGYa_.js} +1 -1
  145. package/docs/assets/{Toast.stories-CJsok2aE.js → Toast.stories-a73EHj2n.js} +2 -2
  146. package/docs/assets/{ToggleButton-BOxfkVg6.js → ToggleButton-B2K48hG5.js} +1 -1
  147. package/docs/assets/{ToggleButton.stories-B3LGwwTO.js → ToggleButton.stories-DU0K3-Gd.js} +2 -2
  148. package/docs/assets/{Tooltip-Du7SUpMn.js → Tooltip-DZi9yXjr.js} +1 -1
  149. package/docs/assets/{Tooltip.stories-C4fS4gBL.js → Tooltip.stories-d9VyD_0V.js} +1 -1
  150. package/docs/assets/TypographyTokensLms.stories-CZpPPUwu.js +11 -0
  151. package/docs/assets/{TypographyVariables.stories-DUTx2qnw.js → TypographyVariables.stories-B4Lg96R3.js} +2 -2
  152. package/docs/assets/{Well-CFXJEAct.js → Well-Cuj5KPHL.js} +1 -1
  153. package/docs/assets/{Well.stories-CD3NOykX.js → Well.stories-BeM1zP19.js} +1 -1
  154. package/docs/assets/_commonjsHelpers-CDR5Xrri.js +1 -0
  155. package/docs/assets/decorator-B_8W69Nd.js +1 -0
  156. package/docs/assets/entry-preview-docs-Bz8Se46p.js +16 -0
  157. package/docs/assets/{entry-preview-BOTW3a15.js → entry-preview-lHccVHf5.js} +1 -1
  158. package/docs/assets/{iframe-BorftRc6.js → iframe-bbt6wJ1S.js} +3 -3
  159. package/docs/assets/{index-BFHz6C5r.js → index-BK1XWU9Y.js} +1 -1
  160. package/docs/assets/index-C7dYv50j.js +8 -0
  161. package/docs/assets/{index-DHVt3G8q.js → index-Cmt-_kET.js} +1 -1
  162. package/docs/assets/pl-1OaNPZt2.js +1 -0
  163. package/docs/assets/preview-Br-h4d84.js +1 -0
  164. package/docs/assets/preview-Cl6G_t91.js +64 -0
  165. package/docs/assets/{preview-DFphXfmq.js → preview-DH_HFzT6.js} +1 -1
  166. package/docs/assets/{preview-e9x7yjLo.js → preview-pqm_1-Xy.js} +2 -2
  167. package/docs/assets/{string-FgB6VwTw.js → string-BUK4JyUO.js} +1 -1
  168. package/docs/assets/v4-CwV2VaSl.js +1 -0
  169. package/docs/assets/vue-popper-DoPHnofs.js +24 -0
  170. package/docs/assets/{vue.esm-bundler-C__e7YM5.js → vue.esm-bundler-DD4BrEtS.js} +2 -2
  171. package/docs/iframe.html +1 -1
  172. package/docs/project.json +1 -1
  173. package/lib/js/components/Avatar/Avatar.spec.ts +46 -50
  174. package/lib/js/components/Badge/Badge.spec.ts +1 -0
  175. package/lib/js/components/BadgeScore/BadgeScore.spec.ts +1 -0
  176. package/lib/js/components/Buttons/Button/Button.spec.ts +1 -0
  177. package/lib/js/components/Cards/Card/Card.spec.ts +1 -0
  178. package/lib/js/components/Cards/CardExpandable/CardExpandable.spec.ts +1 -0
  179. package/lib/js/components/Chip/Chip.spec.ts +1 -0
  180. package/lib/js/components/Modal/Modal.spec.ts +1 -0
  181. package/lib/js/components/Modals/Modal/Modal.spec.ts +21 -0
  182. package/lib/js/components/Modals/Modal/Modal.stories.ts +5 -0
  183. package/lib/js/components/Modals/Modal/Modal.vue +27 -20
  184. package/lib/js/components/Modals/ModalDialog/ModalDialog.spec.ts +24 -0
  185. package/lib/js/components/Modals/ModalDialog/ModalDialog.stories.ts +4 -0
  186. package/lib/js/components/Modals/ModalDialog/ModalDialog.vue +3 -0
  187. package/lib/js/components/Pagination/Pagination.spec.ts +1 -0
  188. package/lib/js/components/ProgressDonutChart/ProgressDonutChart.spec.ts +1 -0
  189. package/lib/js/components/Statuses/AccessStatus/AccessStatus.spec.ts +1 -0
  190. package/lib/js/components/Statuses/BlockadeStatus/BlockadeStatus.spec.ts +1 -0
  191. package/lib/js/components/SurveyQuestions/SurveyQuestionScale/SurveyQuestionScale.spec.ts +1 -0
  192. package/lib/js/components/SurveyToggle/SurveyToggle.spec.ts +1 -0
  193. package/lib/js/components/TabItem/TabItem.spec.ts +1 -0
  194. package/lib/js/components/Tile/Tile.spec.ts +1 -0
  195. package/lib/js/components/Toggles/CounterToggle/CounterToggle.spec.ts +1 -0
  196. package/package.json +11 -13
  197. package/stylelint.config.cjs +1 -5
  198. package/tools/importers/SynchronizeTypographyTokens.spec.ts +1 -0
  199. package/tsconfig.base.json +40 -0
  200. package/tsconfig.json +4 -44
  201. package/vite.config.ts +7 -10
  202. package/docs/assets/BasicRichListItem-EHksywrU.js +0 -1
  203. package/docs/assets/CardExpandable-BWWt4G-H.js +0 -1
  204. package/docs/assets/Color-ERTF36HU-uH_nFL28.js +0 -1
  205. package/docs/assets/ColorsTokensLms.stories-cGNfW5nL.js +0 -11
  206. package/docs/assets/DatePicker-C-1wTByq.js +0 -2
  207. package/docs/assets/DateRangePicker-BgM4UM4T.js +0 -1
  208. package/docs/assets/DocsRenderer-CFRXHY34-tOqzxQlO.js +0 -639
  209. package/docs/assets/DrawerListItem-BcMjiOPy.js +0 -1
  210. package/docs/assets/Dropdown-T-DajGjx.js +0 -1
  211. package/docs/assets/Icon-CytrC3Ws.js +0 -761
  212. package/docs/assets/Modal.stories-B4nhKbEw.js +0 -53
  213. package/docs/assets/ModalDialog-hJS5-Cvl.js +0 -1
  214. package/docs/assets/ModalDialog.stories-CbShiK1Z.js +0 -43
  215. package/docs/assets/OverlayHeader-CoWd_rAb.js +0 -1
  216. package/docs/assets/ProgressBar-BvzrsS6B.js +0 -1
  217. package/docs/assets/ProgressDonutChart-B7aAm79i.js +0 -1
  218. package/docs/assets/SectionHeader.stories-CkORFOdL.js +0 -24
  219. package/docs/assets/Skeleton-Cpsye1IX.js +0 -179
  220. package/docs/assets/SurveyQuestionOpenEnded-jQ5oxfE_.js +0 -1
  221. package/docs/assets/SurveyToggle-Da_RDBHk.js +0 -1
  222. package/docs/assets/SurveyToggle.stories-Dc1xWmo3.js +0 -14
  223. package/docs/assets/TypographyTokensLms.stories-CLfM1Xav.js +0 -11
  224. package/docs/assets/_commonjsHelpers-Chg3vePA.js +0 -1
  225. package/docs/assets/decorator-CSnIf-k5.js +0 -1
  226. package/docs/assets/entry-preview-docs-Cvbf5NiE.js +0 -16
  227. package/docs/assets/index-vG0co4wr.js +0 -8
  228. package/docs/assets/pl-Cy1N1vsP.js +0 -1
  229. package/docs/assets/preview-CqdwwHjh.js +0 -64
  230. package/docs/assets/preview-DFmD0pui.js +0 -1
  231. package/docs/assets/v4-BZawosSj.js +0 -1
  232. package/docs/assets/vue-popper-BvR5iCy5.js +0 -24
  233. package/jest.config.js +0 -28
@@ -25,7 +25,7 @@
25
25
  `,-1),c())),e.components.length&&(dr(e.components,"component",n),(e.directives.length||e.temps>0)&&c()),e.directives.length&&(dr(e.directives,"directive",n),e.temps>0&&c()),e.filters&&e.filters.length&&(c(),dr(e.filters,"filter",n),c()),e.temps>0){i("let ");for(let A=0;A<e.temps;A++)i(`${A>0?", ":""}_temp${A}`)}return(e.components.length||e.directives.length||e.temps)&&(i(`
26
26
  `,0),c()),f||i("return "),e.codegenNode?Me(e.codegenNode,n):i("null"),g&&(l(),i("}")),l(),i("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function Sg(e,t){const{ssr:n,prefixIdentifiers:s,push:i,newline:r,runtimeModuleName:o,runtimeGlobalName:l,ssrRuntimeModuleName:c}=t,a=l,f=Array.from(e.helpers);if(f.length>0&&(i(`const _Vue = ${a}
27
27
  `,-1),e.hoists.length)){const u=[Ho,Uo,xs,jo,pu].filter(d=>f.includes(d)).map(Pu).join(", ");i(`const { ${u} } = _Vue
28
- `,-1)}vg(e.hoists,t),r(),i("return ")}function dr(e,t,{helper:n,push:s,newline:i,isTS:r}){const o=n(t==="filter"?Go:t==="component"?Ko:qo);for(let l=0;l<e.length;l++){let c=e[l];const a=c.endsWith("__self");a&&(c=c.slice(0,-6)),s(`const ${ps(c,t)} = ${o}(${JSON.stringify(c)}${a?", true":""})${r?"!":""}`),l<e.length-1&&i()}}function vg(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:s}=t;s();for(let i=0;i<e.length;i++){const r=e[i];r&&(n(`const _hoisted_${i+1} = `),Me(r,t),s())}t.pure=!1}function rl(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),Os(e,t,n),n&&t.deindent(),t.push("]")}function Os(e,t,n=!1,s=!0){const{push:i,newline:r}=t;for(let o=0;o<e.length;o++){const l=e[o];Z(l)?i(l,-3):B(l)?rl(l,t):Me(l,t),o<e.length-1&&(n?(s&&i(","),r()):s&&i(", "))}}function Me(e,t){if(Z(e)){t.push(e,-3);return}if(Ke(e)){t.push(t.helper(e));return}switch(e.type){case 1:case 9:case 11:Me(e.codegenNode,t);break;case 2:Eg(e,t);break;case 4:Mu(e,t);break;case 5:Tg(e,t);break;case 12:Me(e.codegenNode,t);break;case 8:ku(e,t);break;case 3:Ag(e,t);break;case 13:Ng(e,t);break;case 14:xg(e,t);break;case 15:Ig(e,t);break;case 17:Og(e,t);break;case 18:Rg(e,t);break;case 19:Pg(e,t);break;case 20:Mg(e,t);break;case 21:Os(e.body,t,!0,!1);break}}function Eg(e,t){t.push(JSON.stringify(e.content),-3,e)}function Mu(e,t){const{content:n,isStatic:s}=e;t.push(s?JSON.stringify(n):n,-3,e)}function Tg(e,t){const{push:n,helper:s,pure:i}=t;i&&n(Xi),n(`${s(Gi)}(`),Me(e.content,t),n(")")}function ku(e,t){for(let n=0;n<e.children.length;n++){const s=e.children[n];Z(s)?t.push(s,-3):Me(s,t)}}function Cg(e,t){const{push:n}=t;if(e.type===8)n("["),ku(e,t),n("]");else if(e.isStatic){const s=sl(e.content)?e.content:JSON.stringify(e.content);n(s,-2,e)}else n(`[${e.content}]`,-3,e)}function Ag(e,t){const{push:n,helper:s,pure:i}=t;i&&n(Xi),n(`${s(xs)}(${JSON.stringify(e.content)})`,-3,e)}function Ng(e,t){const{push:n,helper:s,pure:i}=t,{tag:r,props:o,children:l,patchFlag:c,dynamicProps:a,directives:f,isBlock:u,disableTracking:d,isComponent:g}=e;let b;c&&(b=String(c)),f&&n(s(Jo)+"("),u&&n(`(${s(cn)}(${d?"true":""}), `),i&&n(Xi);const _=u?Ln(t.inSSR,g):kn(t.inSSR,g);n(s(_)+"(",-2,e),Os(wg([r,o,l,b,a]),t),n(")"),u&&n(")"),f&&(n(", "),Me(f,t),n(")"))}function wg(e){let t=e.length;for(;t--&&e[t]==null;);return e.slice(0,t+1).map(n=>n||"null")}function xg(e,t){const{push:n,helper:s,pure:i}=t,r=Z(e.callee)?e.callee:s(e.callee);i&&n(Xi),n(r+"(",-2,e),Os(e.arguments,t),n(")")}function Ig(e,t){const{push:n,indent:s,deindent:i,newline:r}=t,{properties:o}=e;if(!o.length){n("{}",-2,e);return}const l=o.length>1||!1;n(l?"{":"{ "),l&&s();for(let c=0;c<o.length;c++){const{key:a,value:f}=o[c];Cg(a,t),n(": "),Me(f,t),c<o.length-1&&(n(","),r())}l&&i(),n(l?"}":" }")}function Og(e,t){rl(e.elements,t)}function Rg(e,t){const{push:n,indent:s,deindent:i}=t,{params:r,returns:o,body:l,newline:c,isSlot:a}=e;a&&n(`_${Pn[zo]}(`),n("(",-2,e),B(r)?Os(r,t):r&&Me(r,t),n(") => "),(c||l)&&(n("{"),s()),o?(c&&n("return "),B(o)?rl(o,t):Me(o,t)):l&&Me(l,t),(c||l)&&(i(),n("}")),a&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}function Pg(e,t){const{test:n,consequent:s,alternate:i,newline:r}=e,{push:o,indent:l,deindent:c,newline:a}=t;if(n.type===4){const u=!sl(n.content);u&&o("("),Mu(n,t),u&&o(")")}else o("("),Me(n,t),o(")");r&&l(),t.indentLevel++,r||o(" "),o("? "),Me(s,t),t.indentLevel--,r&&a(),r||o(" "),o(": ");const f=i.type===19;f||t.indentLevel++,Me(i,t),f||t.indentLevel--,r&&c(!0)}function Mg(e,t){const{push:n,helper:s,indent:i,deindent:r,newline:o}=t,{needPauseTracking:l,needArraySpread:c}=e;c&&n("[...("),n(`_cache[${e.index}] || (`),l&&(i(),n(`${s(bi)}(-1),`),o(),n("(")),n(`_cache[${e.index}] = `),Me(e.value,t),l&&(n(`).cacheIndex = ${e.index},`),o(),n(`${s(bi)}(1),`),o(),n(`_cache[${e.index}]`),r()),n(")"),c&&n(")]")}new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b");const kg=Ru(/^(if|else|else-if)$/,(e,t,n)=>Lg(e,t,n,(s,i,r)=>{const o=n.parent.children;let l=o.indexOf(s),c=0;for(;l-->=0;){const a=o[l];a&&a.type===9&&(c+=a.branches.length)}return()=>{if(r)s.codegenNode=ic(i,c,n);else{const a=Dg(s.codegenNode);a.alternate=ic(i,c+s.branches.length-1,n)}}}));function Lg(e,t,n,s){if(t.name!=="else"&&(!t.exp||!t.exp.content.trim())){const i=t.exp?t.exp.loc:e.loc;n.onError(de(28,t.loc)),t.exp=Q("true",!1,i)}if(t.name==="if"){const i=sc(e,t),r={type:9,loc:cg(e.loc),branches:[i]};if(n.replaceNode(r),s)return s(r,i,!0)}else{const i=n.parent.children;let r=i.indexOf(e);for(;r-->=-1;){const o=i[r];if(o&&o.type===3){n.removeNode(o);continue}if(o&&o.type===2&&!o.content.trim().length){n.removeNode(o);continue}if(o&&o.type===9){t.name==="else-if"&&o.branches[o.branches.length-1].condition===void 0&&n.onError(de(30,e.loc)),n.removeNode();const l=sc(e,t);o.branches.push(l);const c=s&&s(o,l,!1);Yi(l,n),c&&c(),n.currentNode=null}else n.onError(de(30,e.loc));break}}}function sc(e,t){const n=e.tagType===3;return{type:10,loc:e.loc,condition:t.name==="else"?void 0:t.exp,children:n&&!tt(e,"for")?e.children:[e],userKey:Ji(e,"key"),isTemplateIf:n}}function ic(e,t,n){return e.condition?kr(e.condition,rc(e,t,n),ve(n.helper(xs),['""',"true"])):rc(e,t,n)}function rc(e,t,n){const{helper:s}=n,i=ye("key",Q(`${t}`,!1,ze,2)),{children:r}=e,o=r[0];if(r.length!==1||o.type!==1)if(r.length===1&&o.type===11){const c=o.codegenNode;return Ei(c,i,n),c}else return hs(n,s(fs),nt([i]),r,64,void 0,void 0,!0,!1,!1,e.loc);else{const c=o.codegenNode,a=Zp(c);return a.type===13&&tl(a,n),Ei(a,i,n),c}}function Dg(e){for(;;)if(e.type===19)if(e.alternate.type===19)e=e.alternate;else return e;else e.type===20&&(e=e.value)}const Fg=(e,t,n)=>{const{modifiers:s,loc:i}=e,r=e.arg;let{exp:o}=e;if(o&&o.type===4&&!o.content.trim()&&(o=void 0),!o){if(r.type!==4||!r.isStatic)return n.onError(de(52,r.loc)),{props:[ye(r,Q("",!0,i))]};Lu(e),o=e.exp}return r.type!==4?(r.children.unshift("("),r.children.push(') || ""')):r.isStatic||(r.content=`${r.content} || ""`),s.some(l=>l.content==="camel")&&(r.type===4?r.isStatic?r.content=ue(r.content):r.content=`${n.helperString(Pr)}(${r.content})`:(r.children.unshift(`${n.helperString(Pr)}(`),r.children.push(")"))),n.inSSR||(s.some(l=>l.content==="prop")&&oc(r,"."),s.some(l=>l.content==="attr")&&oc(r,"^")),{props:[ye(r,o)]}},Lu=(e,t)=>{const n=e.arg,s=ue(n.content);e.exp=Q(s,!1,n.loc)},oc=(e,t)=>{e.type===4?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},Vg=Ru("for",(e,t,n)=>{const{helper:s,removeHelper:i}=n;return $g(e,t,n,r=>{const o=ve(s(Yo),[r.source]),l=Si(e),c=tt(e,"memo"),a=Ji(e,"key",!1,!0);a&&a.type===7&&!a.exp&&Lu(a);const f=a&&(a.type===6?a.value?Q(a.value.content,!0):void 0:a.exp),u=a&&f?ye("key",f):null,d=r.source.type===4&&r.source.constType>0,g=d?64:a?128:256;return r.codegenNode=hs(n,s(fs),void 0,o,g,void 0,void 0,!0,!d,!1,e.loc),()=>{let b;const{children:_}=r,k=_.length!==1||_[0].type!==1,w=vi(e)?e:l&&e.children.length===1&&vi(e.children[0])?e.children[0]:null;if(w?(b=w.codegenNode,l&&u&&Ei(b,u,n)):k?b=hs(n,s(fs),u?nt([u]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(b=_[0].codegenNode,l&&u&&Ei(b,u,n),b.isBlock!==!d&&(b.isBlock?(i(cn),i(Ln(n.inSSR,b.isComponent))):i(kn(n.inSSR,b.isComponent))),b.isBlock=!d,b.isBlock?(s(cn),s(Ln(n.inSSR,b.isComponent))):s(kn(n.inSSR,b.isComponent))),c){const A=Mn(Fr(r.parseResult,[Q("_cached")]));A.body=Vp([ct(["const _memo = (",c.exp,")"]),ct(["if (_cached",...f?[" && _cached.key === ",f]:[],` && ${n.helperString(yu)}(_cached, _memo)) return _cached`]),ct(["const _item = ",b]),Q("_item.memo = _memo"),Q("return _item")]),o.arguments.push(A,Q("_cache"),Q(String(n.cached.length))),n.cached.push(null)}else o.arguments.push(Mn(Fr(r.parseResult),b,!0))}})});function $g(e,t,n,s){if(!t.exp){n.onError(de(31,t.loc));return}const i=t.forParseResult;if(!i){n.onError(de(32,t.loc));return}Du(i);const{addIdentifiers:r,removeIdentifiers:o,scopes:l}=n,{source:c,value:a,key:f,index:u}=i,d={type:11,loc:t.loc,source:c,valueAlias:a,keyAlias:f,objectIndexAlias:u,parseResult:i,children:Si(e)?e.children:[e]};n.replaceNode(d),l.vFor++;const g=s&&s(d);return()=>{l.vFor--,g&&g()}}function Du(e,t){e.finalized||(e.finalized=!0)}function Fr({value:e,key:t,index:n},s=[]){return Bg([e,t,n,...s])}function Bg(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((n,s)=>n||Q("_".repeat(s+1),!1))}const lc=Q("undefined",!1),Hg=(e,t)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){const n=tt(e,"slot");if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},Ug=(e,t,n,s)=>Mn(e,n,!1,!0,n.length?n[0].loc:s);function jg(e,t,n=Ug){t.helper(zo);const{children:s,loc:i}=e,r=[],o=[];let l=t.scopes.vSlot>0||t.scopes.vFor>0;const c=tt(e,"slot",!0);if(c){const{arg:k,exp:w}=c;k&&!Ue(k)&&(l=!0),r.push(ye(k||Q("default",!0),n(w,void 0,s,i)))}let a=!1,f=!1;const u=[],d=new Set;let g=0;for(let k=0;k<s.length;k++){const w=s[k];let A;if(!Si(w)||!(A=tt(w,"slot",!0))){w.type!==3&&u.push(w);continue}if(c){t.onError(de(37,A.loc));break}a=!0;const{children:m,loc:y}=w,{arg:v=Q("default",!0),exp:x,loc:V}=A;let O;Ue(v)?O=v?v.content:"default":l=!0;const S=tt(w,"for"),T=n(x,S,m,y);let M,C;if(M=tt(w,"if"))l=!0,o.push(kr(M.exp,js(v,T,g++),lc));else if(C=tt(w,/^else(-if)?$/,!0)){let D=k,W;for(;D--&&(W=s[D],W.type===3););if(W&&Si(W)&&tt(W,/^(else-)?if$/)){let J=o[o.length-1];for(;J.alternate.type===19;)J=J.alternate;J.alternate=C.exp?kr(C.exp,js(v,T,g++),lc):js(v,T,g++)}else t.onError(de(30,C.loc))}else if(S){l=!0;const D=S.forParseResult;D?(Du(D),o.push(ve(t.helper(Yo),[D.source,Mn(Fr(D),js(v,T),!0)]))):t.onError(de(32,S.loc))}else{if(O){if(d.has(O)){t.onError(de(38,V));continue}d.add(O),O==="default"&&(f=!0)}r.push(ye(v,T))}}if(!c){const k=(w,A)=>{const m=n(w,void 0,A,i);return t.compatConfig&&(m.isNonScopedSlot=!0),ye("default",m)};a?u.length&&u.some(w=>Fu(w))&&(f?t.onError(de(39,u[0].loc)):r.push(k(void 0,u))):r.push(k(void 0,s))}const b=l?2:Qs(e.children)?3:1;let _=nt(r.concat(ye("_",Q(b+"",!1))),i);return o.length&&(_=ve(t.helper(mu),[_,nn(o)])),{slots:_,hasDynamicSlots:l}}function js(e,t,n){const s=[ye("name",e),ye("fn",t)];return n!=null&&s.push(ye("key",Q(String(n),!0))),nt(s)}function Qs(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(n.tagType===2||Qs(n.children))return!0;break;case 9:if(Qs(n.branches))return!0;break;case 10:case 11:if(Qs(n.children))return!0;break}}return!1}function Fu(e){return e.type!==2&&e.type!==12?!0:e.type===2?!!e.content.trim():Fu(e.content)}const Vu=new WeakMap,Kg=(e,t)=>function(){if(e=t.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;const{tag:s,props:i}=e,r=e.tagType===1;let o=r?Wg(e,t):`"${s}"`;const l=le(o)&&o.callee===Wo;let c,a,f=0,u,d,g,b=l||o===es||o===Bo||!r&&(s==="svg"||s==="foreignObject"||s==="math");if(i.length>0){const _=$u(e,t,void 0,r,l);c=_.props,f=_.patchFlag,d=_.dynamicPropNames;const k=_.directives;g=k&&k.length?nn(k.map(w=>Gg(w,t))):void 0,_.shouldUseBlock&&(b=!0)}if(e.children.length>0)if(o===mi&&(b=!0,f|=1024),r&&o!==es&&o!==mi){const{slots:k,hasDynamicSlots:w}=jg(e,t);a=k,w&&(f|=1024)}else if(e.children.length===1&&o!==es){const k=e.children[0],w=k.type,A=w===5||w===8;A&&Ye(k,t)===0&&(f|=1),A||w===2?a=k:a=e.children}else a=e.children;d&&d.length&&(u=Jg(d)),e.codegenNode=hs(t,o,c,a,f===0?void 0:f,u,g,!!b,!1,r,e.loc)};function Wg(e,t,n=!1){let{tag:s}=e;const i=Vr(s),r=Ji(e,"is",!1,!0);if(r)if(i||sn("COMPILER_IS_ON_ELEMENT",t)){let l;if(r.type===6?l=r.value&&Q(r.value.content,!0):(l=r.exp,l||(l=Q("is",!1,r.arg.loc))),l)return ve(t.helper(Wo),[l])}else r.type===6&&r.value.content.startsWith("vue:")&&(s=r.value.content.slice(4));const o=_u(s)||t.isBuiltInComponent(s);return o?(n||t.helper(o),o):(t.helper(Ko),t.components.add(s),ps(s,"component"))}function $u(e,t,n=e.props,s,i,r=!1){const{tag:o,loc:l,children:c}=e;let a=[];const f=[],u=[],d=c.length>0;let g=!1,b=0,_=!1,k=!1,w=!1,A=!1,m=!1,y=!1;const v=[],x=T=>{a.length&&(f.push(nt(cc(a),l)),a=[]),T&&f.push(T)},V=()=>{t.scopes.vFor>0&&a.push(ye(Q("ref_for",!0),Q("true")))},O=({key:T,value:M})=>{if(Ue(T)){const C=T.content,D=an(C);if(D&&(!s||i)&&C.toLowerCase()!=="onclick"&&C!=="onUpdate:modelValue"&&!Vt(C)&&(A=!0),D&&Vt(C)&&(y=!0),D&&M.type===14&&(M=M.arguments[0]),M.type===20||(M.type===4||M.type===8)&&Ye(M,t)>0)return;C==="ref"?_=!0:C==="class"?k=!0:C==="style"?w=!0:C!=="key"&&!v.includes(C)&&v.push(C),s&&(C==="class"||C==="style")&&!v.includes(C)&&v.push(C)}else m=!0};for(let T=0;T<n.length;T++){const M=n[T];if(M.type===6){const{loc:C,name:D,nameLoc:W,value:J}=M;let U=!0;if(D==="ref"&&(_=!0,V()),D==="is"&&(Vr(o)||J&&J.content.startsWith("vue:")||sn("COMPILER_IS_ON_ELEMENT",t)))continue;a.push(ye(Q(D,!0,W),Q(J?J.content:"",U,J?J.loc:C)))}else{const{name:C,arg:D,exp:W,loc:J,modifiers:U}=M,Y=C==="bind",j=C==="on";if(C==="slot"){s||t.onError(de(40,J));continue}if(C==="once"||C==="memo"||C==="is"||Y&&Zt(D,"is")&&(Vr(o)||sn("COMPILER_IS_ON_ELEMENT",t))||j&&r)continue;if((Y&&Zt(D,"key")||j&&d&&Zt(D,"vue:before-update"))&&(g=!0),Y&&Zt(D,"ref")&&V(),!D&&(Y||j)){if(m=!0,W)if(Y){if(V(),x(),sn("COMPILER_V_BIND_OBJECT_ORDER",t)){f.unshift(W);continue}f.push(W)}else x({type:14,loc:J,callee:t.helper(Qo),arguments:s?[W]:[W,"true"]});else t.onError(de(Y?34:35,J));continue}Y&&U.some(ft=>ft.content==="prop")&&(b|=32);const be=t.directiveTransforms[C];if(be){const{props:ft,needRuntime:it}=be(M,e,t);!r&&ft.forEach(O),j&&D&&!Ue(D)?x(nt(ft,l)):a.push(...ft),it&&(u.push(M),Ke(it)&&Vu.set(M,it))}else ih(C)||(u.push(M),d&&(g=!0))}}let S;if(f.length?(x(),f.length>1?S=ve(t.helper(yi),f,l):S=f[0]):a.length&&(S=nt(cc(a),l)),m?b|=16:(k&&!s&&(b|=2),w&&!s&&(b|=4),v.length&&(b|=8),A&&(b|=32)),!g&&(b===0||b===32)&&(_||y||u.length>0)&&(b|=512),!t.inSSR&&S)switch(S.type){case 15:let T=-1,M=-1,C=!1;for(let J=0;J<S.properties.length;J++){const U=S.properties[J].key;Ue(U)?U.content==="class"?T=J:U.content==="style"&&(M=J):U.isHandlerKey||(C=!0)}const D=S.properties[T],W=S.properties[M];C?S=ve(t.helper(us),[S]):(D&&!Ue(D.value)&&(D.value=ve(t.helper(Xo),[D.value])),W&&(w||W.value.type===4&&W.value.content.trim()[0]==="["||W.value.type===17)&&(W.value=ve(t.helper(Zo),[W.value])));break;case 14:break;default:S=ve(t.helper(us),[ve(t.helper(Is),[S])]);break}return{props:S,directives:u,patchFlag:b,dynamicPropNames:v,shouldUseBlock:g}}function cc(e){const t=new Map,n=[];for(let s=0;s<e.length;s++){const i=e[s];if(i.key.type===8||!i.key.isStatic){n.push(i);continue}const r=i.key.content,o=t.get(r);o?(r==="style"||r==="class"||an(r))&&qg(o,i):(t.set(r,i),n.push(i))}return n}function qg(e,t){e.value.type===17?e.value.elements.push(t.value):e.value=nn([e.value,t.value],e.loc)}function Gg(e,t){const n=[],s=Vu.get(e);s?n.push(t.helperString(s)):(t.helper(qo),t.directives.add(e.name),n.push(ps(e.name,"directive")));const{loc:i}=e;if(e.exp&&n.push(e.exp),e.arg&&(e.exp||n.push("void 0"),n.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const r=Q("true",!1,i);n.push(nt(e.modifiers.map(o=>ye(o,r)),i))}return nn(n,e.loc)}function Jg(e){let t="[";for(let n=0,s=e.length;n<s;n++)t+=JSON.stringify(e[n]),n<s-1&&(t+=", ");return t+"]"}function Vr(e){return e==="component"||e==="Component"}const Yg=(e,t)=>{if(vi(e)){const{children:n,loc:s}=e,{slotName:i,slotProps:r}=Xg(e,t),o=[t.prefixIdentifiers?"_ctx.$slots":"$slots",i,"{}","undefined","true"];let l=2;r&&(o[2]=r,l=3),n.length&&(o[3]=Mn([],n,!1,!1,s),l=4),t.scopeId&&!t.slotted&&(l=5),o.splice(l),e.codegenNode=ve(t.helper(gu),o,s)}};function Xg(e,t){let n='"default"',s;const i=[];for(let r=0;r<e.props.length;r++){const o=e.props[r];if(o.type===6)o.value&&(o.name==="name"?n=JSON.stringify(o.value.content):(o.name=ue(o.name),i.push(o)));else if(o.name==="bind"&&Zt(o.arg,"name")){if(o.exp)n=o.exp;else if(o.arg&&o.arg.type===4){const l=ue(o.arg.content);n=o.exp=Q(l,!1,o.arg.loc)}}else o.name==="bind"&&o.arg&&Ue(o.arg)&&(o.arg.content=ue(o.arg.content)),i.push(o)}if(i.length>0){const{props:r,directives:o}=$u(e,t,i,!1,!1);s=r,o.length&&t.onError(de(36,o[0].loc))}return{slotName:n,slotProps:s}}const Bu=(e,t,n,s)=>{const{loc:i,modifiers:r,arg:o}=e;!e.exp&&!r.length&&n.onError(de(35,i));let l;if(o.type===4)if(o.isStatic){let u=o.content;u.startsWith("vue:")&&(u=`vnode-${u.slice(4)}`);const d=t.tagType!==0||u.startsWith("vnode")||!/[A-Z]/.test(u)?zt(ue(u)):`on:${u}`;l=Q(d,!0,o.loc)}else l=ct([`${n.helperString(Mr)}(`,o,")"]);else l=o,l.children.unshift(`${n.helperString(Mr)}(`),l.children.push(")");let c=e.exp;c&&!c.content.trim()&&(c=void 0);let a=n.cacheHandlers&&!c&&!n.inVOnce;if(c){const u=vu(c),d=!(u||Gp(c)),g=c.content.includes(";");(d||a&&u)&&(c=ct([`${d?"$event":"(...args)"} => ${g?"{":"("}`,c,g?"}":")"]))}let f={props:[ye(l,c||Q("() => {}",!1,i))]};return s&&(f=s(f)),a&&(f.props[0].value=n.cache(f.props[0].value)),f.props.forEach(u=>u.key.isHandlerKey=!0),f},Zg=(e,t)=>{if(e.type===0||e.type===1||e.type===11||e.type===10)return()=>{const n=e.children;let s,i=!1;for(let r=0;r<n.length;r++){const o=n[r];if(hr(o)){i=!0;for(let l=r+1;l<n.length;l++){const c=n[l];if(hr(c))s||(s=n[r]=ct([o],o.loc)),s.children.push(" + ",c),n.splice(l,1),l--;else{s=void 0;break}}}}if(!(!i||n.length===1&&(e.type===0||e.type===1&&e.tagType===0&&!e.props.find(r=>r.type===7&&!t.directiveTransforms[r.name])&&e.tag!=="template")))for(let r=0;r<n.length;r++){const o=n[r];if(hr(o)||o.type===8){const l=[];(o.type!==2||o.content!==" ")&&l.push(o),!t.ssr&&Ye(o,t)===0&&l.push("1"),n[r]={type:12,content:o,loc:o.loc,codegenNode:ve(t.helper(jo),l)}}}}},ac=new WeakSet,Qg=(e,t)=>{if(e.type===1&&tt(e,"once",!0))return ac.has(e)||t.inVOnce||t.inSSR?void 0:(ac.add(e),t.inVOnce=!0,t.helper(bi),()=>{t.inVOnce=!1;const n=t.currentNode;n.codegenNode&&(n.codegenNode=t.cache(n.codegenNode,!0))})},Hu=(e,t,n)=>{const{exp:s,arg:i}=e;if(!s)return n.onError(de(41,e.loc)),Ks();const r=s.loc.source.trim(),o=s.type===4?s.content:r,l=n.bindingMetadata[r];if(l==="props"||l==="props-aliased")return n.onError(de(44,s.loc)),Ks();if(!o.trim()||!vu(s)&&!!1)return n.onError(de(42,s.loc)),Ks();const a=i||Q("modelValue",!0),f=i?Ue(i)?`onUpdate:${ue(i.content)}`:ct(['"onUpdate:" + ',i]):"onUpdate:modelValue";let u;const d=n.isTS?"($event: any)":"$event";u=ct([`${d} => ((`,s,") = $event)"]);const g=[ye(a,e.exp),ye(f,u)];if(e.modifiers.length&&t.tagType===1){const b=e.modifiers.map(k=>k.content).map(k=>(sl(k)?k:JSON.stringify(k))+": true").join(", "),_=i?Ue(i)?`${i.content}Modifiers`:ct([i,' + "Modifiers"']):"modelModifiers";g.push(ye(_,Q(`{ ${b} }`,!1,e.loc,2)))}return Ks(g)};function Ks(e=[]){return{props:e}}const zg=/[\w).+\-_$\]]/,em=(e,t)=>{sn("COMPILER_FILTERS",t)&&(e.type===5?Ti(e.content,t):e.type===1&&e.props.forEach(n=>{n.type===7&&n.name!=="for"&&n.exp&&Ti(n.exp,t)}))};function Ti(e,t){if(e.type===4)fc(e,t);else for(let n=0;n<e.children.length;n++){const s=e.children[n];typeof s=="object"&&(s.type===4?fc(s,t):s.type===8?Ti(e,t):s.type===5&&Ti(s.content,t))}}function fc(e,t){const n=e.content;let s=!1,i=!1,r=!1,o=!1,l=0,c=0,a=0,f=0,u,d,g,b,_=[];for(g=0;g<n.length;g++)if(d=u,u=n.charCodeAt(g),s)u===39&&d!==92&&(s=!1);else if(i)u===34&&d!==92&&(i=!1);else if(r)u===96&&d!==92&&(r=!1);else if(o)u===47&&d!==92&&(o=!1);else if(u===124&&n.charCodeAt(g+1)!==124&&n.charCodeAt(g-1)!==124&&!l&&!c&&!a)b===void 0?(f=g+1,b=n.slice(0,g).trim()):k();else{switch(u){case 34:i=!0;break;case 39:s=!0;break;case 96:r=!0;break;case 40:a++;break;case 41:a--;break;case 91:c++;break;case 93:c--;break;case 123:l++;break;case 125:l--;break}if(u===47){let w=g-1,A;for(;w>=0&&(A=n.charAt(w),A===" ");w--);(!A||!zg.test(A))&&(o=!0)}}b===void 0?b=n.slice(0,g).trim():f!==0&&k();function k(){_.push(n.slice(f,g).trim()),f=g+1}if(_.length){for(g=0;g<_.length;g++)b=tm(b,_[g],t);e.content=b,e.ast=void 0}}function tm(e,t,n){n.helper(Go);const s=t.indexOf("(");if(s<0)return n.filters.add(t),`${ps(t,"filter")}(${e})`;{const i=t.slice(0,s),r=t.slice(s+1);return n.filters.add(i),`${ps(i,"filter")}(${e}${r!==")"?","+r:r}`}}const uc=new WeakSet,nm=(e,t)=>{if(e.type===1){const n=tt(e,"memo");return!n||uc.has(e)?void 0:(uc.add(e),()=>{const s=e.codegenNode||t.currentNode.codegenNode;s&&s.type===13&&(e.tagType!==1&&tl(s,t),e.codegenNode=ve(t.helper(el),[n.exp,Mn(void 0,s),"_cache",String(t.cached.length)]),t.cached.push(null))})}};function sm(e){return[[Qg,kg,nm,Vg,em,Yg,Kg,Hg,Zg],{on:Bu,bind:Fg,model:Hu}]}function im(e,t={}){const n=t.onError||nl,s=t.mode==="module";t.prefixIdentifiers===!0?n(de(47)):s&&n(de(48));const i=!1;t.cacheHandlers&&n(de(49)),t.scopeId&&!s&&n(de(50));const r=ee({},t,{prefixIdentifiers:i}),o=Z(e)?ug(e,r):e,[l,c]=sm();return gg(o,ee({},r,{nodeTransforms:[...l,...t.nodeTransforms||[]],directiveTransforms:ee({},c,t.directiveTransforms||{})})),_g(o,r)}const rm=()=>({props:[]});/**
28
+ `,-1)}vg(e.hoists,t),r(),i("return ")}function dr(e,t,{helper:n,push:s,newline:i,isTS:r}){const o=n(t==="filter"?Go:t==="component"?Ko:qo);for(let l=0;l<e.length;l++){let c=e[l];const a=c.endsWith("__self");a&&(c=c.slice(0,-6)),s(`const ${ps(c,t)} = ${o}(${JSON.stringify(c)}${a?", true":""})${r?"!":""}`),l<e.length-1&&i()}}function vg(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:s}=t;s();for(let i=0;i<e.length;i++){const r=e[i];r&&(n(`const _hoisted_${i+1} = `),Me(r,t),s())}t.pure=!1}function rl(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),Os(e,t,n),n&&t.deindent(),t.push("]")}function Os(e,t,n=!1,s=!0){const{push:i,newline:r}=t;for(let o=0;o<e.length;o++){const l=e[o];Z(l)?i(l,-3):B(l)?rl(l,t):Me(l,t),o<e.length-1&&(n?(s&&i(","),r()):s&&i(", "))}}function Me(e,t){if(Z(e)){t.push(e,-3);return}if(Ke(e)){t.push(t.helper(e));return}switch(e.type){case 1:case 9:case 11:Me(e.codegenNode,t);break;case 2:Eg(e,t);break;case 4:Mu(e,t);break;case 5:Tg(e,t);break;case 12:Me(e.codegenNode,t);break;case 8:ku(e,t);break;case 3:Ag(e,t);break;case 13:Ng(e,t);break;case 14:xg(e,t);break;case 15:Ig(e,t);break;case 17:Og(e,t);break;case 18:Rg(e,t);break;case 19:Pg(e,t);break;case 20:Mg(e,t);break;case 21:Os(e.body,t,!0,!1);break}}function Eg(e,t){t.push(JSON.stringify(e.content),-3,e)}function Mu(e,t){const{content:n,isStatic:s}=e;t.push(s?JSON.stringify(n):n,-3,e)}function Tg(e,t){const{push:n,helper:s,pure:i}=t;i&&n(Xi),n(`${s(Gi)}(`),Me(e.content,t),n(")")}function ku(e,t){for(let n=0;n<e.children.length;n++){const s=e.children[n];Z(s)?t.push(s,-3):Me(s,t)}}function Cg(e,t){const{push:n}=t;if(e.type===8)n("["),ku(e,t),n("]");else if(e.isStatic){const s=sl(e.content)?e.content:JSON.stringify(e.content);n(s,-2,e)}else n(`[${e.content}]`,-3,e)}function Ag(e,t){const{push:n,helper:s,pure:i}=t;i&&n(Xi),n(`${s(xs)}(${JSON.stringify(e.content)})`,-3,e)}function Ng(e,t){const{push:n,helper:s,pure:i}=t,{tag:r,props:o,children:l,patchFlag:c,dynamicProps:a,directives:f,isBlock:u,disableTracking:d,isComponent:g}=e;let b;c&&(b=String(c)),f&&n(s(Jo)+"("),u&&n(`(${s(cn)}(${d?"true":""}), `),i&&n(Xi);const _=u?Ln(t.inSSR,g):kn(t.inSSR,g);n(s(_)+"(",-2,e),Os(wg([r,o,l,b,a]),t),n(")"),u&&n(")"),f&&(n(", "),Me(f,t),n(")"))}function wg(e){let t=e.length;for(;t--&&e[t]==null;);return e.slice(0,t+1).map(n=>n||"null")}function xg(e,t){const{push:n,helper:s,pure:i}=t,r=Z(e.callee)?e.callee:s(e.callee);i&&n(Xi),n(r+"(",-2,e),Os(e.arguments,t),n(")")}function Ig(e,t){const{push:n,indent:s,deindent:i,newline:r}=t,{properties:o}=e;if(!o.length){n("{}",-2,e);return}const l=o.length>1||!1;n(l?"{":"{ "),l&&s();for(let c=0;c<o.length;c++){const{key:a,value:f}=o[c];Cg(a,t),n(": "),Me(f,t),c<o.length-1&&(n(","),r())}l&&i(),n(l?"}":" }")}function Og(e,t){rl(e.elements,t)}function Rg(e,t){const{push:n,indent:s,deindent:i}=t,{params:r,returns:o,body:l,newline:c,isSlot:a}=e;a&&n(`_${Pn[zo]}(`),n("(",-2,e),B(r)?Os(r,t):r&&Me(r,t),n(") => "),(c||l)&&(n("{"),s()),o?(c&&n("return "),B(o)?rl(o,t):Me(o,t)):l&&Me(l,t),(c||l)&&(i(),n("}")),a&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}function Pg(e,t){const{test:n,consequent:s,alternate:i,newline:r}=e,{push:o,indent:l,deindent:c,newline:a}=t;if(n.type===4){const u=!sl(n.content);u&&o("("),Mu(n,t),u&&o(")")}else o("("),Me(n,t),o(")");r&&l(),t.indentLevel++,r||o(" "),o("? "),Me(s,t),t.indentLevel--,r&&a(),r||o(" "),o(": ");const f=i.type===19;f||t.indentLevel++,Me(i,t),f||t.indentLevel--,r&&c(!0)}function Mg(e,t){const{push:n,helper:s,indent:i,deindent:r,newline:o}=t,{needPauseTracking:l,needArraySpread:c}=e;c&&n("[...("),n(`_cache[${e.index}] || (`),l&&(i(),n(`${s(bi)}(-1),`),o(),n("(")),n(`_cache[${e.index}] = `),Me(e.value,t),l&&(n(`).cacheIndex = ${e.index},`),o(),n(`${s(bi)}(1),`),o(),n(`_cache[${e.index}]`),r()),n(")"),c&&n(")]")}new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b");const kg=Ru(/^(if|else|else-if)$/,(e,t,n)=>Lg(e,t,n,(s,i,r)=>{const o=n.parent.children;let l=o.indexOf(s),c=0;for(;l-->=0;){const a=o[l];a&&a.type===9&&(c+=a.branches.length)}return()=>{if(r)s.codegenNode=ic(i,c,n);else{const a=Dg(s.codegenNode);a.alternate=ic(i,c+s.branches.length-1,n)}}}));function Lg(e,t,n,s){if(t.name!=="else"&&(!t.exp||!t.exp.content.trim())){const i=t.exp?t.exp.loc:e.loc;n.onError(de(28,t.loc)),t.exp=Q("true",!1,i)}if(t.name==="if"){const i=sc(e,t),r={type:9,loc:cg(e.loc),branches:[i]};if(n.replaceNode(r),s)return s(r,i,!0)}else{const i=n.parent.children;let r=i.indexOf(e);for(;r-->=-1;){const o=i[r];if(o&&o.type===3){n.removeNode(o);continue}if(o&&o.type===2&&!o.content.trim().length){n.removeNode(o);continue}if(o&&o.type===9){t.name==="else-if"&&o.branches[o.branches.length-1].condition===void 0&&n.onError(de(30,e.loc)),n.removeNode();const l=sc(e,t);o.branches.push(l);const c=s&&s(o,l,!1);Yi(l,n),c&&c(),n.currentNode=null}else n.onError(de(30,e.loc));break}}}function sc(e,t){const n=e.tagType===3;return{type:10,loc:e.loc,condition:t.name==="else"?void 0:t.exp,children:n&&!tt(e,"for")?e.children:[e],userKey:Ji(e,"key"),isTemplateIf:n}}function ic(e,t,n){return e.condition?kr(e.condition,rc(e,t,n),ve(n.helper(xs),['""',"true"])):rc(e,t,n)}function rc(e,t,n){const{helper:s}=n,i=ye("key",Q(`${t}`,!1,ze,2)),{children:r}=e,o=r[0];if(r.length!==1||o.type!==1)if(r.length===1&&o.type===11){const c=o.codegenNode;return Ei(c,i,n),c}else return hs(n,s(fs),nt([i]),r,64,void 0,void 0,!0,!1,!1,e.loc);else{const c=o.codegenNode,a=Zp(c);return a.type===13&&tl(a,n),Ei(a,i,n),c}}function Dg(e){for(;;)if(e.type===19)if(e.alternate.type===19)e=e.alternate;else return e;else e.type===20&&(e=e.value)}const Fg=(e,t,n)=>{const{modifiers:s,loc:i}=e,r=e.arg;let{exp:o}=e;if(o&&o.type===4&&!o.content.trim()&&(o=void 0),!o){if(r.type!==4||!r.isStatic)return n.onError(de(52,r.loc)),{props:[ye(r,Q("",!0,i))]};Lu(e),o=e.exp}return r.type!==4?(r.children.unshift("("),r.children.push(') || ""')):r.isStatic||(r.content=`${r.content} || ""`),s.some(l=>l.content==="camel")&&(r.type===4?r.isStatic?r.content=ue(r.content):r.content=`${n.helperString(Pr)}(${r.content})`:(r.children.unshift(`${n.helperString(Pr)}(`),r.children.push(")"))),n.inSSR||(s.some(l=>l.content==="prop")&&oc(r,"."),s.some(l=>l.content==="attr")&&oc(r,"^")),{props:[ye(r,o)]}},Lu=(e,t)=>{const n=e.arg,s=ue(n.content);e.exp=Q(s,!1,n.loc)},oc=(e,t)=>{e.type===4?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},Vg=Ru("for",(e,t,n)=>{const{helper:s,removeHelper:i}=n;return $g(e,t,n,r=>{const o=ve(s(Yo),[r.source]),l=Si(e),c=tt(e,"memo"),a=Ji(e,"key",!1,!0);a&&a.type===7&&!a.exp&&Lu(a);const f=a&&(a.type===6?a.value?Q(a.value.content,!0):void 0:a.exp),u=a&&f?ye("key",f):null,d=r.source.type===4&&r.source.constType>0,g=d?64:a?128:256;return r.codegenNode=hs(n,s(fs),void 0,o,g,void 0,void 0,!0,!d,!1,e.loc),()=>{let b;const{children:_}=r,k=_.length!==1||_[0].type!==1,w=vi(e)?e:l&&e.children.length===1&&vi(e.children[0])?e.children[0]:null;if(w?(b=w.codegenNode,l&&u&&Ei(b,u,n)):k?b=hs(n,s(fs),u?nt([u]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(b=_[0].codegenNode,l&&u&&Ei(b,u,n),b.isBlock!==!d&&(b.isBlock?(i(cn),i(Ln(n.inSSR,b.isComponent))):i(kn(n.inSSR,b.isComponent))),b.isBlock=!d,b.isBlock?(s(cn),s(Ln(n.inSSR,b.isComponent))):s(kn(n.inSSR,b.isComponent))),c){const A=Mn(Fr(r.parseResult,[Q("_cached")]));A.body=Vp([ct(["const _memo = (",c.exp,")"]),ct(["if (_cached",...f?[" && _cached.key === ",f]:[],` && ${n.helperString(yu)}(_cached, _memo)) return _cached`]),ct(["const _item = ",b]),Q("_item.memo = _memo"),Q("return _item")]),o.arguments.push(A,Q("_cache"),Q(String(n.cached.length))),n.cached.push(null)}else o.arguments.push(Mn(Fr(r.parseResult),b,!0))}})});function $g(e,t,n,s){if(!t.exp){n.onError(de(31,t.loc));return}const i=t.forParseResult;if(!i){n.onError(de(32,t.loc));return}Du(i);const{addIdentifiers:r,removeIdentifiers:o,scopes:l}=n,{source:c,value:a,key:f,index:u}=i,d={type:11,loc:t.loc,source:c,valueAlias:a,keyAlias:f,objectIndexAlias:u,parseResult:i,children:Si(e)?e.children:[e]};n.replaceNode(d),l.vFor++;const g=s&&s(d);return()=>{l.vFor--,g&&g()}}function Du(e,t){e.finalized||(e.finalized=!0)}function Fr({value:e,key:t,index:n},s=[]){return Bg([e,t,n,...s])}function Bg(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((n,s)=>n||Q("_".repeat(s+1),!1))}const lc=Q("undefined",!1),Hg=(e,t)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){const n=tt(e,"slot");if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},Ug=(e,t,n,s)=>Mn(e,n,!1,!0,n.length?n[0].loc:s);function jg(e,t,n=Ug){t.helper(zo);const{children:s,loc:i}=e,r=[],o=[];let l=t.scopes.vSlot>0||t.scopes.vFor>0;const c=tt(e,"slot",!0);if(c){const{arg:k,exp:w}=c;k&&!Ue(k)&&(l=!0),r.push(ye(k||Q("default",!0),n(w,void 0,s,i)))}let a=!1,f=!1;const u=[],d=new Set;let g=0;for(let k=0;k<s.length;k++){const w=s[k];let A;if(!Si(w)||!(A=tt(w,"slot",!0))){w.type!==3&&u.push(w);continue}if(c){t.onError(de(37,A.loc));break}a=!0;const{children:m,loc:y}=w,{arg:v=Q("default",!0),exp:x,loc:V}=A;let O;Ue(v)?O=v?v.content:"default":l=!0;const S=tt(w,"for"),T=n(x,S,m,y);let M,C;if(M=tt(w,"if"))l=!0,o.push(kr(M.exp,js(v,T,g++),lc));else if(C=tt(w,/^else(-if)?$/,!0)){let D=k,W;for(;D--&&(W=s[D],W.type===3););if(W&&Si(W)&&tt(W,/^(else-)?if$/)){let J=o[o.length-1];for(;J.alternate.type===19;)J=J.alternate;J.alternate=C.exp?kr(C.exp,js(v,T,g++),lc):js(v,T,g++)}else t.onError(de(30,C.loc))}else if(S){l=!0;const D=S.forParseResult;D?(Du(D),o.push(ve(t.helper(Yo),[D.source,Mn(Fr(D),js(v,T),!0)]))):t.onError(de(32,S.loc))}else{if(O){if(d.has(O)){t.onError(de(38,V));continue}d.add(O),O==="default"&&(f=!0)}r.push(ye(v,T))}}if(!c){const k=(w,A)=>{const m=n(w,void 0,A,i);return t.compatConfig&&(m.isNonScopedSlot=!0),ye("default",m)};a?u.length&&u.some(w=>Fu(w))&&(f?t.onError(de(39,u[0].loc)):r.push(k(void 0,u))):r.push(k(void 0,s))}const b=l?2:Qs(e.children)?3:1;let _=nt(r.concat(ye("_",Q(b+"",!1))),i);return o.length&&(_=ve(t.helper(mu),[_,nn(o)])),{slots:_,hasDynamicSlots:l}}function js(e,t,n){const s=[ye("name",e),ye("fn",t)];return n!=null&&s.push(ye("key",Q(String(n),!0))),nt(s)}function Qs(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(n.tagType===2||Qs(n.children))return!0;break;case 9:if(Qs(n.branches))return!0;break;case 10:case 11:if(Qs(n.children))return!0;break}}return!1}function Fu(e){return e.type!==2&&e.type!==12?!0:e.type===2?!!e.content.trim():Fu(e.content)}const Vu=new WeakMap,Kg=(e,t)=>function(){if(e=t.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;const{tag:s,props:i}=e,r=e.tagType===1;let o=r?Wg(e,t):`"${s}"`;const l=le(o)&&o.callee===Wo;let c,a,f=0,u,d,g,b=l||o===es||o===Bo||!r&&(s==="svg"||s==="foreignObject"||s==="math");if(i.length>0){const _=$u(e,t,void 0,r,l);c=_.props,f=_.patchFlag,d=_.dynamicPropNames;const k=_.directives;g=k&&k.length?nn(k.map(w=>Gg(w,t))):void 0,_.shouldUseBlock&&(b=!0)}if(e.children.length>0)if(o===mi&&(b=!0,f|=1024),r&&o!==es&&o!==mi){const{slots:k,hasDynamicSlots:w}=jg(e,t);a=k,w&&(f|=1024)}else if(e.children.length===1&&o!==es){const k=e.children[0],w=k.type,A=w===5||w===8;A&&Ye(k,t)===0&&(f|=1),A||w===2?a=k:a=e.children}else a=e.children;d&&d.length&&(u=Jg(d)),e.codegenNode=hs(t,o,c,a,f===0?void 0:f,u,g,!!b,!1,r,e.loc)};function Wg(e,t,n=!1){let{tag:s}=e;const i=Vr(s),r=Ji(e,"is",!1,!0);if(r)if(i||sn("COMPILER_IS_ON_ELEMENT",t)){let l;if(r.type===6?l=r.value&&Q(r.value.content,!0):(l=r.exp,l||(l=Q("is",!1,r.arg.loc))),l)return ve(t.helper(Wo),[l])}else r.type===6&&r.value.content.startsWith("vue:")&&(s=r.value.content.slice(4));const o=_u(s)||t.isBuiltInComponent(s);return o?(n||t.helper(o),o):(t.helper(Ko),t.components.add(s),ps(s,"component"))}function $u(e,t,n=e.props,s,i,r=!1){const{tag:o,loc:l,children:c}=e;let a=[];const f=[],u=[],d=c.length>0;let g=!1,b=0,_=!1,k=!1,w=!1,A=!1,m=!1,y=!1;const v=[],x=T=>{a.length&&(f.push(nt(cc(a),l)),a=[]),T&&f.push(T)},V=()=>{t.scopes.vFor>0&&a.push(ye(Q("ref_for",!0),Q("true")))},O=({key:T,value:M})=>{if(Ue(T)){const C=T.content,D=an(C);if(D&&(!s||i)&&C.toLowerCase()!=="onclick"&&C!=="onUpdate:modelValue"&&!Vt(C)&&(A=!0),D&&Vt(C)&&(y=!0),D&&M.type===14&&(M=M.arguments[0]),M.type===20||(M.type===4||M.type===8)&&Ye(M,t)>0)return;C==="ref"?_=!0:C==="class"?k=!0:C==="style"?w=!0:C!=="key"&&!v.includes(C)&&v.push(C),s&&(C==="class"||C==="style")&&!v.includes(C)&&v.push(C)}else m=!0};for(let T=0;T<n.length;T++){const M=n[T];if(M.type===6){const{loc:C,name:D,nameLoc:W,value:J}=M;let U=!0;if(D==="ref"&&(_=!0,V()),D==="is"&&(Vr(o)||J&&J.content.startsWith("vue:")||sn("COMPILER_IS_ON_ELEMENT",t)))continue;a.push(ye(Q(D,!0,W),Q(J?J.content:"",U,J?J.loc:C)))}else{const{name:C,arg:D,exp:W,loc:J,modifiers:U}=M,Y=C==="bind",j=C==="on";if(C==="slot"){s||t.onError(de(40,J));continue}if(C==="once"||C==="memo"||C==="is"||Y&&Zt(D,"is")&&(Vr(o)||sn("COMPILER_IS_ON_ELEMENT",t))||j&&r)continue;if((Y&&Zt(D,"key")||j&&d&&Zt(D,"vue:before-update"))&&(g=!0),Y&&Zt(D,"ref")&&V(),!D&&(Y||j)){if(m=!0,W)if(Y){if(V(),x(),sn("COMPILER_V_BIND_OBJECT_ORDER",t)){f.unshift(W);continue}f.push(W)}else x({type:14,loc:J,callee:t.helper(Qo),arguments:s?[W]:[W,"true"]});else t.onError(de(Y?34:35,J));continue}Y&&U.some(ft=>ft.content==="prop")&&(b|=32);const be=t.directiveTransforms[C];if(be){const{props:ft,needRuntime:it}=be(M,e,t);!r&&ft.forEach(O),j&&D&&!Ue(D)?x(nt(ft,l)):a.push(...ft),it&&(u.push(M),Ke(it)&&Vu.set(M,it))}else ih(C)||(u.push(M),d&&(g=!0))}}let S;if(f.length?(x(),f.length>1?S=ve(t.helper(yi),f,l):S=f[0]):a.length&&(S=nt(cc(a),l)),m?b|=16:(k&&!s&&(b|=2),w&&!s&&(b|=4),v.length&&(b|=8),A&&(b|=32)),!g&&(b===0||b===32)&&(_||y||u.length>0)&&(b|=512),!t.inSSR&&S)switch(S.type){case 15:let T=-1,M=-1,C=!1;for(let J=0;J<S.properties.length;J++){const U=S.properties[J].key;Ue(U)?U.content==="class"?T=J:U.content==="style"&&(M=J):U.isHandlerKey||(C=!0)}const D=S.properties[T],W=S.properties[M];C?S=ve(t.helper(us),[S]):(D&&!Ue(D.value)&&(D.value=ve(t.helper(Xo),[D.value])),W&&(w||W.value.type===4&&W.value.content.trim()[0]==="["||W.value.type===17)&&(W.value=ve(t.helper(Zo),[W.value])));break;case 14:break;default:S=ve(t.helper(us),[ve(t.helper(Is),[S])]);break}return{props:S,directives:u,patchFlag:b,dynamicPropNames:v,shouldUseBlock:g}}function cc(e){const t=new Map,n=[];for(let s=0;s<e.length;s++){const i=e[s];if(i.key.type===8||!i.key.isStatic){n.push(i);continue}const r=i.key.content,o=t.get(r);o?(r==="style"||r==="class"||an(r))&&qg(o,i):(t.set(r,i),n.push(i))}return n}function qg(e,t){e.value.type===17?e.value.elements.push(t.value):e.value=nn([e.value,t.value],e.loc)}function Gg(e,t){const n=[],s=Vu.get(e);s?n.push(t.helperString(s)):(t.helper(qo),t.directives.add(e.name),n.push(ps(e.name,"directive")));const{loc:i}=e;if(e.exp&&n.push(e.exp),e.arg&&(e.exp||n.push("void 0"),n.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const r=Q("true",!1,i);n.push(nt(e.modifiers.map(o=>ye(o,r)),i))}return nn(n,e.loc)}function Jg(e){let t="[";for(let n=0,s=e.length;n<s;n++)t+=JSON.stringify(e[n]),n<s-1&&(t+=", ");return t+"]"}function Vr(e){return e==="component"||e==="Component"}const Yg=(e,t)=>{if(vi(e)){const{children:n,loc:s}=e,{slotName:i,slotProps:r}=Xg(e,t),o=[t.prefixIdentifiers?"_ctx.$slots":"$slots",i,"{}","undefined","true"];let l=2;r&&(o[2]=r,l=3),n.length&&(o[3]=Mn([],n,!1,!1,s),l=4),t.scopeId&&!t.slotted&&(l=5),o.splice(l),e.codegenNode=ve(t.helper(gu),o,s)}};function Xg(e,t){let n='"default"',s;const i=[];for(let r=0;r<e.props.length;r++){const o=e.props[r];if(o.type===6)o.value&&(o.name==="name"?n=JSON.stringify(o.value.content):(o.name=ue(o.name),i.push(o)));else if(o.name==="bind"&&Zt(o.arg,"name")){if(o.exp)n=o.exp;else if(o.arg&&o.arg.type===4){const l=ue(o.arg.content);n=o.exp=Q(l,!1,o.arg.loc)}}else o.name==="bind"&&o.arg&&Ue(o.arg)&&(o.arg.content=ue(o.arg.content)),i.push(o)}if(i.length>0){const{props:r,directives:o}=$u(e,t,i,!1,!1);s=r,o.length&&t.onError(de(36,o[0].loc))}return{slotName:n,slotProps:s}}const Bu=(e,t,n,s)=>{const{loc:i,modifiers:r,arg:o}=e;!e.exp&&!r.length&&n.onError(de(35,i));let l;if(o.type===4)if(o.isStatic){let u=o.content;u.startsWith("vue:")&&(u=`vnode-${u.slice(4)}`);const d=t.tagType!==0||u.startsWith("vnode")||!/[A-Z]/.test(u)?zt(ue(u)):`on:${u}`;l=Q(d,!0,o.loc)}else l=ct([`${n.helperString(Mr)}(`,o,")"]);else l=o,l.children.unshift(`${n.helperString(Mr)}(`),l.children.push(")");let c=e.exp;c&&!c.content.trim()&&(c=void 0);let a=n.cacheHandlers&&!c&&!n.inVOnce;if(c){const u=vu(c),d=!(u||Gp(c)),g=c.content.includes(";");(d||a&&u)&&(c=ct([`${d?"$event":"(...args)"} => ${g?"{":"("}`,c,g?"}":")"]))}let f={props:[ye(l,c||Q("() => {}",!1,i))]};return s&&(f=s(f)),a&&(f.props[0].value=n.cache(f.props[0].value)),f.props.forEach(u=>u.key.isHandlerKey=!0),f},Zg=(e,t)=>{if(e.type===0||e.type===1||e.type===11||e.type===10)return()=>{const n=e.children;let s,i=!1;for(let r=0;r<n.length;r++){const o=n[r];if(hr(o)){i=!0;for(let l=r+1;l<n.length;l++){const c=n[l];if(hr(c))s||(s=n[r]=ct([o],o.loc)),s.children.push(" + ",c),n.splice(l,1),l--;else{s=void 0;break}}}}if(!(!i||n.length===1&&(e.type===0||e.type===1&&e.tagType===0&&!e.props.find(r=>r.type===7&&!t.directiveTransforms[r.name])&&e.tag!=="template")))for(let r=0;r<n.length;r++){const o=n[r];if(hr(o)||o.type===8){const l=[];(o.type!==2||o.content!==" ")&&l.push(o),!t.ssr&&Ye(o,t)===0&&l.push("1"),n[r]={type:12,content:o,loc:o.loc,codegenNode:ve(t.helper(jo),l)}}}}},ac=new WeakSet,Qg=(e,t)=>{if(e.type===1&&tt(e,"once",!0))return ac.has(e)||t.inVOnce||t.inSSR?void 0:(ac.add(e),t.inVOnce=!0,t.helper(bi),()=>{t.inVOnce=!1;const n=t.currentNode;n.codegenNode&&(n.codegenNode=t.cache(n.codegenNode,!0))})},Hu=(e,t,n)=>{const{exp:s,arg:i}=e;if(!s)return n.onError(de(41,e.loc)),Ks();const r=s.loc.source.trim(),o=s.type===4?s.content:r,l=n.bindingMetadata[r];if(l==="props"||l==="props-aliased")return n.onError(de(44,s.loc)),Ks();if(!o.trim()||!vu(s))return n.onError(de(42,s.loc)),Ks();const c=i||Q("modelValue",!0),a=i?Ue(i)?`onUpdate:${ue(i.content)}`:ct(['"onUpdate:" + ',i]):"onUpdate:modelValue";let f;const u=n.isTS?"($event: any)":"$event";f=ct([`${u} => ((`,s,") = $event)"]);const d=[ye(c,e.exp),ye(a,f)];if(e.modifiers.length&&t.tagType===1){const g=e.modifiers.map(_=>_.content).map(_=>(sl(_)?_:JSON.stringify(_))+": true").join(", "),b=i?Ue(i)?`${i.content}Modifiers`:ct([i,' + "Modifiers"']):"modelModifiers";d.push(ye(b,Q(`{ ${g} }`,!1,e.loc,2)))}return Ks(d)};function Ks(e=[]){return{props:e}}const zg=/[\w).+\-_$\]]/,em=(e,t)=>{sn("COMPILER_FILTERS",t)&&(e.type===5?Ti(e.content,t):e.type===1&&e.props.forEach(n=>{n.type===7&&n.name!=="for"&&n.exp&&Ti(n.exp,t)}))};function Ti(e,t){if(e.type===4)fc(e,t);else for(let n=0;n<e.children.length;n++){const s=e.children[n];typeof s=="object"&&(s.type===4?fc(s,t):s.type===8?Ti(e,t):s.type===5&&Ti(s.content,t))}}function fc(e,t){const n=e.content;let s=!1,i=!1,r=!1,o=!1,l=0,c=0,a=0,f=0,u,d,g,b,_=[];for(g=0;g<n.length;g++)if(d=u,u=n.charCodeAt(g),s)u===39&&d!==92&&(s=!1);else if(i)u===34&&d!==92&&(i=!1);else if(r)u===96&&d!==92&&(r=!1);else if(o)u===47&&d!==92&&(o=!1);else if(u===124&&n.charCodeAt(g+1)!==124&&n.charCodeAt(g-1)!==124&&!l&&!c&&!a)b===void 0?(f=g+1,b=n.slice(0,g).trim()):k();else{switch(u){case 34:i=!0;break;case 39:s=!0;break;case 96:r=!0;break;case 40:a++;break;case 41:a--;break;case 91:c++;break;case 93:c--;break;case 123:l++;break;case 125:l--;break}if(u===47){let w=g-1,A;for(;w>=0&&(A=n.charAt(w),A===" ");w--);(!A||!zg.test(A))&&(o=!0)}}b===void 0?b=n.slice(0,g).trim():f!==0&&k();function k(){_.push(n.slice(f,g).trim()),f=g+1}if(_.length){for(g=0;g<_.length;g++)b=tm(b,_[g],t);e.content=b,e.ast=void 0}}function tm(e,t,n){n.helper(Go);const s=t.indexOf("(");if(s<0)return n.filters.add(t),`${ps(t,"filter")}(${e})`;{const i=t.slice(0,s),r=t.slice(s+1);return n.filters.add(i),`${ps(i,"filter")}(${e}${r!==")"?","+r:r}`}}const uc=new WeakSet,nm=(e,t)=>{if(e.type===1){const n=tt(e,"memo");return!n||uc.has(e)?void 0:(uc.add(e),()=>{const s=e.codegenNode||t.currentNode.codegenNode;s&&s.type===13&&(e.tagType!==1&&tl(s,t),e.codegenNode=ve(t.helper(el),[n.exp,Mn(void 0,s),"_cache",String(t.cached.length)]),t.cached.push(null))})}};function sm(e){return[[Qg,kg,nm,Vg,em,Yg,Kg,Hg,Zg],{on:Bu,bind:Fg,model:Hu}]}function im(e,t={}){const n=t.onError||nl,s=t.mode==="module";t.prefixIdentifiers===!0?n(de(47)):s&&n(de(48));const i=!1;t.cacheHandlers&&n(de(49)),t.scopeId&&!s&&n(de(50));const r=ee({},t,{prefixIdentifiers:i}),o=Z(e)?ug(e,r):e,[l,c]=sm();return gg(o,ee({},r,{nodeTransforms:[...l,...t.nodeTransforms||[]],directiveTransforms:ee({},c,t.directiveTransforms||{})})),_g(o,r)}const rm=()=>({props:[]});/**
29
29
  * @vue/compiler-dom v3.5.12
30
30
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
31
31
  * @license MIT
@@ -33,4 +33,4 @@
33
33
  * vue v3.5.12
34
34
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
35
35
  * @license MIT
36
- **/const dc=Object.create(null);function Qu(e,t){if(!Z(e))if(e.nodeType)e=e.innerHTML;else return Pe;const n=lh(e,t),s=dc[n];if(s)return s;if(e[0]==="#"){const l=document.querySelector(e);e=l?l.innerHTML:""}const i=ee({hoistStatic:!0,onError:void 0,onWarn:Pe},t);!i.isCustomElement&&typeof customElements!="undefined"&&(i.isCustomElement=l=>!!customElements.get(l));const{code:r}=Em(e,i),o=new Function("Vue",r)(Ip);return o._rc=!0,dc[n]=o}xo(Qu);const Tm=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:to,BaseTransitionPropsValidators:Vi,Comment:me,DeprecationTypes:Ff,EffectScope:xi,ErrorCodes:Qc,ErrorTypeStrings:Rf,Fragment:Se,KeepAlive:va,ReactiveEffect:wn,Static:Bt,Suspense:hf,Teleport:aa,Text:Nt,TrackOpTypes:Gc,Transition:Hf,TransitionGroup:zf,TriggerOpTypes:Jc,VueElement:ws,assertNumber:Zc,callWithAsyncErrorHandling:Xe,callWithErrorHandling:un,camelize:ue,capitalize:Kt,cloneVNode:at,compatUtils:Df,compile:Qu,computed:Io,createApp:gi,createBlock:cs,createCommentVNode:vf,createElementBlock:yf,createElementVNode:ji,createHydrationRenderer:bo,createPropsRestProxy:ja,createRenderer:yo,createSSRApp:$o,createSlots:xa,createStaticVNode:Sf,createTextVNode:Ki,createVNode:fe,customRef:Qr,defineAsyncComponent:Sa,defineComponent:$i,defineCustomElement:ko,defineEmits:Pa,defineExpose:Ma,defineModel:Da,defineOptions:ka,defineProps:Ra,defineSSRCustomElement:Jf,defineSlots:La,devtools:Pf,effect:xc,effectScope:vc,getCurrentInstance:Qe,getCurrentScope:Wr,getCurrentWatcher:Yc,getTransitionRawChildren:Ss,guardReactiveProps:Ao,h:Oo,handleError:Gt,hasInjectionContext:Ga,hydrate:lu,hydrateOnIdle:ma,hydrateOnInteraction:_a,hydrateOnMediaQuery:ba,hydrateOnVisible:ya,initCustomFormatter:xf,initDirectivesForSSR:fu,inject:Cn,isMemoSame:Ro,isProxy:ys,isReactive:At,isReadonly:xt,isRef:_e,isRuntimeOnly:Af,isShallow:je,isVNode:mt,markRaw:Xr,mergeDefaults:Ha,mergeModels:Ua,mergeProps:wo,nextTick:_s,normalizeClass:Vn,normalizeProps:yc,normalizeStyle:Fn,onActivated:so,onBeforeMount:Hi,onBeforeUnmount:Ts,onBeforeUpdate:ro,onDeactivated:io,onErrorCaptured:ao,onMounted:$n,onRenderTracked:co,onRenderTriggered:lo,onScopeDispose:Ec,onServerPrefetch:oo,onUnmounted:Cs,onUpdated:Es,onWatcherCleanup:zr,openBlock:xn,popScopeId:ia,provide:go,proxyRefs:ki,pushScopeId:sa,queuePostFlushCb:ss,reactive:ms,readonly:Pi,ref:En,registerRuntimeCompiler:xo,render:Vo,renderList:wa,renderSlot:Ia,resolveComponent:Ta,resolveDirective:Na,resolveDynamicComponent:Aa,resolveFilter:Lf,resolveTransitionHooks:rn,setBlockTracking:ai,setDevtoolsHook:Mf,setTransitionHooks:gt,shallowReactive:Yr,shallowReadonly:Bc,shallowRef:Zr,ssrContextKey:So,ssrUtils:kf,stop:Ic,toDisplayString:Kr,toHandlerKey:zt,toHandlers:Oa,toRaw:te,toRef:Wc,toRefs:Kc,toValue:jc,transformVNodeArgs:bf,triggerRef:Uc,unref:bs,useAttrs:$a,useCssModule:Xf,useCssVars:Gf,useHost:Lo,useId:pa,useModel:af,useSSRContext:vo,useShadowRoot:Yf,useSlots:Va,useTemplateRef:ga,useTransitionState:Fi,vModelCheckbox:Wi,vModelDynamic:Fo,vModelRadio:qi,vModelSelect:Do,vModelText:as,vShow:Mo,version:Po,warn:Of,watch:An,watchEffect:lf,watchPostEffect:Eo,watchSyncEffect:To,withAsyncContext:Ka,withCtx:Di,withDefaults:Fa,withDirectives:oa,withKeys:su,withMemo:If,withModifiers:nu,withScopeId:ra},Symbol.toStringTag,{value:"Module"}));export{su as A,oa as B,Na as C,Tm as D,Cs as E,Se as F,Pi as G,Qe as H,$n as I,_s as J,ms as K,Oo as L,Sf as M,gi as N,At as O,aa as T,ji as a,cs as b,yf as c,$i as d,Di as e,Ia as f,vf as g,xa as h,mt as i,Kr as j,fe as k,Ki as l,wa as m,Vn as n,xn as o,wo as p,Io as q,Ta as r,Fn as s,te as t,bs as u,En as v,An as w,nu as x,Sa as y,Aa as z};
36
+ **/const dc=Object.create(null);function Qu(e,t){if(!Z(e))if(e.nodeType)e=e.innerHTML;else return Pe;const n=lh(e,t),s=dc[n];if(s)return s;if(e[0]==="#"){const l=document.querySelector(e);e=l?l.innerHTML:""}const i=ee({hoistStatic:!0,onError:void 0,onWarn:Pe},t);!i.isCustomElement&&typeof customElements!="undefined"&&(i.isCustomElement=l=>!!customElements.get(l));const{code:r}=Em(e,i),o=new Function("Vue",r)(Ip);return o._rc=!0,dc[n]=o}xo(Qu);const Tm=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:to,BaseTransitionPropsValidators:Vi,Comment:me,DeprecationTypes:Ff,EffectScope:xi,ErrorCodes:Qc,ErrorTypeStrings:Rf,Fragment:Se,KeepAlive:va,ReactiveEffect:wn,Static:Bt,Suspense:hf,Teleport:aa,Text:Nt,TrackOpTypes:Gc,Transition:Hf,TransitionGroup:zf,TriggerOpTypes:Jc,VueElement:ws,assertNumber:Zc,callWithAsyncErrorHandling:Xe,callWithErrorHandling:un,camelize:ue,capitalize:Kt,cloneVNode:at,compatUtils:Df,compile:Qu,computed:Io,createApp:gi,createBlock:cs,createCommentVNode:vf,createElementBlock:yf,createElementVNode:ji,createHydrationRenderer:bo,createPropsRestProxy:ja,createRenderer:yo,createSSRApp:$o,createSlots:xa,createStaticVNode:Sf,createTextVNode:Ki,createVNode:fe,customRef:Qr,defineAsyncComponent:Sa,defineComponent:$i,defineCustomElement:ko,defineEmits:Pa,defineExpose:Ma,defineModel:Da,defineOptions:ka,defineProps:Ra,defineSSRCustomElement:Jf,defineSlots:La,devtools:Pf,effect:xc,effectScope:vc,getCurrentInstance:Qe,getCurrentScope:Wr,getCurrentWatcher:Yc,getTransitionRawChildren:Ss,guardReactiveProps:Ao,h:Oo,handleError:Gt,hasInjectionContext:Ga,hydrate:lu,hydrateOnIdle:ma,hydrateOnInteraction:_a,hydrateOnMediaQuery:ba,hydrateOnVisible:ya,initCustomFormatter:xf,initDirectivesForSSR:fu,inject:Cn,isMemoSame:Ro,isProxy:ys,isReactive:At,isReadonly:xt,isRef:_e,isRuntimeOnly:Af,isShallow:je,isVNode:mt,markRaw:Xr,mergeDefaults:Ha,mergeModels:Ua,mergeProps:wo,nextTick:_s,normalizeClass:Vn,normalizeProps:yc,normalizeStyle:Fn,onActivated:so,onBeforeMount:Hi,onBeforeUnmount:Ts,onBeforeUpdate:ro,onDeactivated:io,onErrorCaptured:ao,onMounted:$n,onRenderTracked:co,onRenderTriggered:lo,onScopeDispose:Ec,onServerPrefetch:oo,onUnmounted:Cs,onUpdated:Es,onWatcherCleanup:zr,openBlock:xn,popScopeId:ia,provide:go,proxyRefs:ki,pushScopeId:sa,queuePostFlushCb:ss,reactive:ms,readonly:Pi,ref:En,registerRuntimeCompiler:xo,render:Vo,renderList:wa,renderSlot:Ia,resolveComponent:Ta,resolveDirective:Na,resolveDynamicComponent:Aa,resolveFilter:Lf,resolveTransitionHooks:rn,setBlockTracking:ai,setDevtoolsHook:Mf,setTransitionHooks:gt,shallowReactive:Yr,shallowReadonly:Bc,shallowRef:Zr,ssrContextKey:So,ssrUtils:kf,stop:Ic,toDisplayString:Kr,toHandlerKey:zt,toHandlers:Oa,toRaw:te,toRef:Wc,toRefs:Kc,toValue:jc,transformVNodeArgs:bf,triggerRef:Uc,unref:bs,useAttrs:$a,useCssModule:Xf,useCssVars:Gf,useHost:Lo,useId:pa,useModel:af,useSSRContext:vo,useShadowRoot:Yf,useSlots:Va,useTemplateRef:ga,useTransitionState:Fi,vModelCheckbox:Wi,vModelDynamic:Fo,vModelRadio:qi,vModelSelect:Do,vModelText:as,vShow:Mo,version:Po,warn:Of,watch:An,watchEffect:lf,watchPostEffect:Eo,watchSyncEffect:To,withAsyncContext:Ka,withCtx:Di,withDefaults:Fa,withDirectives:oa,withKeys:su,withMemo:If,withModifiers:nu,withScopeId:ra},Symbol.toStringTag,{value:"Module"}));export{su as A,oa as B,Na as C,Tm as D,Cs as E,Se as F,Pi as G,Qe as H,$n as I,_s as J,ms as K,Oo as L,Sf as M,gi as N,At as O,aa as T,ji as a,cs as b,yf as c,$i as d,Di as e,Ia as f,vf as g,xa as h,mt as i,fe as j,Kr as k,Ki as l,wa as m,Vn as n,xn as o,wo as p,Io as q,Ta as r,Fn as s,te as t,bs as u,En as v,An as w,nu as x,Sa as y,Aa as z};
package/docs/iframe.html CHANGED
@@ -510,7 +510,7 @@
510
510
  </script>
511
511
  <link rel="stylesheet" href="./preview.css">
512
512
 
513
- <script type="module" crossorigin src="./assets/iframe-BorftRc6.js"></script>
513
+ <script type="module" crossorigin src="./assets/iframe-bbt6wJ1S.js"></script>
514
514
  </head>
515
515
 
516
516
  <body>
package/docs/project.json CHANGED
@@ -1 +1 @@
1
- {"generatedAt":1749208164242,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":true,"hasStorybookEslint":true,"refCount":0,"testPackages":{"@types/jest":"29.5.13","@vue/vue3-jest":"29.2.2","jest":"29.7.0","jest-environment-jsdom":"29.7.0","ts-jest":"29.0.5"},"packageManager":{"type":"yarn","version":"1.22.22"},"preview":{"usesGlobals":false},"framework":{"name":"@storybook/vue3-vite","options":{}},"builder":"@storybook/builder-vite","renderer":"@storybook/vue3","portableStoriesFileCount":2,"storybookVersion":"8.3.4","storybookVersionSpecifier":"^8.3.4","language":"typescript","storybookPackages":{"@storybook/vue3":{"version":"8.3.4"},"@storybook/vue3-vite":{"version":"8.3.4"},"eslint-plugin-storybook":{"version":"0.8.0"},"storybook":{"version":"8.3.4"}},"addons":{"@storybook/addon-actions":{"version":"8.3.4"},"@storybook/addon-designs":{"version":"8.0.3"},"@storybook/addon-docs":{"version":"8.3.4"},"@storybook/addon-controls":{"version":"8.3.4"},"@storybook/addon-storysource":{"version":"8.3.4"},"@storybook/addon-viewport":{"version":"8.3.4"}}}
1
+ {"generatedAt":1749706739935,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":true,"hasStorybookEslint":true,"refCount":0,"testPackages":{"@vitest/coverage-c8":"0.33.0","@vitest/ui":"3.1.4","vitest":"3.1.4"},"packageManager":{"type":"yarn","version":"1.22.22"},"preview":{"usesGlobals":false},"framework":{"name":"@storybook/vue3-vite","options":{}},"builder":"@storybook/builder-vite","renderer":"@storybook/vue3","portableStoriesFileCount":3,"storybookVersion":"8.3.4","storybookVersionSpecifier":"^8.3.4","language":"typescript","storybookPackages":{"@storybook/vue3":{"version":"8.3.4"},"@storybook/vue3-vite":{"version":"8.3.4"},"eslint-plugin-storybook":{"version":"0.8.0"},"storybook":{"version":"8.3.4"}},"addons":{"@storybook/addon-actions":{"version":"8.3.4"},"@storybook/addon-designs":{"version":"8.0.3"},"@storybook/addon-docs":{"version":"8.3.4"},"@storybook/addon-controls":{"version":"8.3.4"},"@storybook/addon-storysource":{"version":"8.3.4"},"@storybook/addon-viewport":{"version":"8.3.4"}}}
@@ -1,18 +1,28 @@
1
+ import { describe, expect, it } from 'vitest';
1
2
  import { mount } from '@vue/test-utils';
2
3
  import Avatar from './Avatar.vue';
3
4
  import { AVATAR_ACCESS_STATUSES, AVATAR_ACTIVITY_STATUSES, AVATAR_SIZES } from './Avatar.consts';
4
5
  import { ICONS } from '../Icons/Icon';
6
+ import { ComponentProps } from 'vue-component-type-helpers';
5
7
 
6
8
  const avatarUrl = 'https://wiecejnizlek.pl/avatar.jpg';
7
9
 
10
+ const setup = (props: ComponentProps<typeof Avatar>) =>
11
+ mount(Avatar, {
12
+ props,
13
+ global: {
14
+ directives: {
15
+ pvTooltip: () => {},
16
+ },
17
+ },
18
+ });
19
+
8
20
  describe('Avatar', () => {
9
21
  it('should render avatar without badges', () => {
10
- const wrapper = mount(Avatar, {
11
- props: {
12
- size: AVATAR_SIZES.MEDIUM,
13
- username: 'Dariusz Chrapek',
14
- avatarUrl,
15
- },
22
+ const wrapper = setup({
23
+ size: AVATAR_SIZES.MEDIUM,
24
+ username: 'Dariusz Chrapek',
25
+ avatarUrl,
16
26
  });
17
27
  expect(wrapper.find('img').exists()).toBe(true);
18
28
  expect(wrapper.find('img').attributes('src')).toBe(avatarUrl);
@@ -52,22 +62,18 @@ describe('Avatar', () => {
52
62
  initials: 'PS',
53
63
  },
54
64
  ])('should render `$initials` initials for `$username`', ({ username, initials }) => {
55
- const wrapper = mount(Avatar, {
56
- props: {
57
- size: AVATAR_SIZES.MEDIUM,
58
- username,
59
- },
65
+ const wrapper = setup({
66
+ size: AVATAR_SIZES.MEDIUM,
67
+ username,
60
68
  });
61
69
  expect(wrapper.find('.ds-avatar').classes()).toContain('-ds-medium');
62
70
  expect(wrapper.find('.ds-avatar').text()).toBe(initials);
63
71
  });
64
72
 
65
73
  it.each(Object.values(AVATAR_SIZES))('should render in size: %s', (size) => {
66
- const wrapper = mount(Avatar, {
67
- props: {
68
- size,
69
- username: 'Dariusz Chrapek',
70
- },
74
+ const wrapper = setup({
75
+ size,
76
+ username: 'Dariusz Chrapek',
71
77
  });
72
78
  expect(wrapper.find('.ds-avatar').classes()).toContain(`-ds-${size}`);
73
79
  });
@@ -114,11 +120,9 @@ describe('Avatar', () => {
114
120
  color: '#2c3e50',
115
121
  },
116
122
  ])('should render `$username` with background color `$color`', ({ username, color }) => {
117
- const wrapper = mount(Avatar, {
118
- props: {
119
- size: AVATAR_SIZES.MEDIUM,
120
- username,
121
- },
123
+ const wrapper = setup({
124
+ size: AVATAR_SIZES.MEDIUM,
125
+ username,
122
126
  });
123
127
 
124
128
  const hexToRgb = (hex: string) => {
@@ -151,13 +155,11 @@ describe('Avatar', () => {
151
155
  ])(
152
156
  'should render activity status: $activityStatus',
153
157
  ({ activityStatus, expectedColorClass }) => {
154
- const wrapper = mount(Avatar, {
155
- props: {
156
- size: AVATAR_SIZES.MEDIUM,
157
- username: 'Dariusz Chrapek',
158
- avatarUrl,
159
- activityStatus,
160
- },
158
+ const wrapper = setup({
159
+ size: AVATAR_SIZES.MEDIUM,
160
+ username: 'Dariusz Chrapek',
161
+ avatarUrl,
162
+ activityStatus,
161
163
  });
162
164
 
163
165
  const activityStatusElement = wrapper.find('.ds-avatar__activityStatus');
@@ -184,13 +186,11 @@ describe('Avatar', () => {
184
186
  expectedIcon: ICONS.FA_LOCK_KEYHOLE,
185
187
  },
186
188
  ])('should render access status: $accessStatus', ({ accessStatus, expectedIcon }) => {
187
- const wrapper = mount(Avatar, {
188
- props: {
189
- size: AVATAR_SIZES.MEDIUM,
190
- username: 'Dariusz Chrapek',
191
- avatarUrl,
192
- accessStatus,
193
- },
189
+ const wrapper = setup({
190
+ size: AVATAR_SIZES.MEDIUM,
191
+ username: 'Dariusz Chrapek',
192
+ avatarUrl,
193
+ accessStatus,
194
194
  });
195
195
 
196
196
  const accessStatusElement = wrapper.find('.ds-avatar__accessStatus');
@@ -200,14 +200,12 @@ describe('Avatar', () => {
200
200
 
201
201
  it('should render team member image', () => {
202
202
  const teamMemberImageUrl = 'https://lek.wiecejnizlek.pl/images/lek/logo-badge.svg';
203
- const wrapper = mount(Avatar, {
204
- props: {
205
- size: AVATAR_SIZES.MEDIUM,
206
- username: 'Dariusz Chrapek',
207
- avatarUrl,
208
- accessStatus: AVATAR_ACCESS_STATUSES.TEAM_MEMBER,
209
- teamMemberImageUrl,
210
- },
203
+ const wrapper = setup({
204
+ size: AVATAR_SIZES.MEDIUM,
205
+ username: 'Dariusz Chrapek',
206
+ avatarUrl,
207
+ accessStatus: AVATAR_ACCESS_STATUSES.TEAM_MEMBER,
208
+ teamMemberImageUrl,
211
209
  });
212
210
 
213
211
  const accessStatusElement = wrapper.find('.ds-avatar__accessStatus');
@@ -217,13 +215,11 @@ describe('Avatar', () => {
217
215
 
218
216
  it('should pass activityStatusTooltip to the tooltip component', () => {
219
217
  const tooltipText = 'Active now';
220
- const wrapper = mount(Avatar, {
221
- props: {
222
- size: AVATAR_SIZES.MEDIUM,
223
- username: 'Dariusz Chrapek',
224
- activityStatus: AVATAR_ACTIVITY_STATUSES.ACTIVE,
225
- activityStatusTooltip: tooltipText,
226
- },
218
+ const wrapper = setup({
219
+ size: AVATAR_SIZES.MEDIUM,
220
+ username: 'Dariusz Chrapek',
221
+ activityStatus: AVATAR_ACTIVITY_STATUSES.ACTIVE,
222
+ activityStatusTooltip: tooltipText,
227
223
  });
228
224
 
229
225
  const tooltip = wrapper.findComponent({ name: 'Tooltip' });
@@ -1,3 +1,4 @@
1
+ import { describe, expect, it } from 'vitest';
1
2
  import { mount } from '@vue/test-utils';
2
3
  import Badge from './Badge.vue';
3
4
  import { BADGE_COLORS, BADGE_ELEVATIONS, BADGE_SIZES } from './Badge.consts';
@@ -1,3 +1,4 @@
1
+ import { describe, expect, it } from 'vitest';
1
2
  import { shallowMount } from '@vue/test-utils';
2
3
 
3
4
  import BadgeScore from './BadgeScore.vue';
@@ -1,3 +1,4 @@
1
+ import { describe, expect, it, test } from 'vitest';
1
2
  import { shallowMount } from '@vue/test-utils';
2
3
 
3
4
  import Button from './Button.vue';
@@ -1,3 +1,4 @@
1
+ import { describe, expect, it } from 'vitest';
1
2
  import { shallowMount } from '@vue/test-utils';
2
3
 
3
4
  import Card from './Card.vue';
@@ -1,3 +1,4 @@
1
+ import { describe, expect, it } from 'vitest';
1
2
  import { mount } from '@vue/test-utils';
2
3
 
3
4
  import CardExpandable from './CardExpandable.vue';
@@ -1,3 +1,4 @@
1
+ import { describe, expect, it, test } from 'vitest';
1
2
  import { shallowMount } from '@vue/test-utils';
2
3
 
3
4
  import Chip from './Chip.vue';
@@ -1,3 +1,4 @@
1
+ import { describe, expect, it } from 'vitest';
1
2
  import { shallowMount } from '@vue/test-utils';
2
3
 
3
4
  import Modal from './Modal.vue';
@@ -0,0 +1,21 @@
1
+ import { describe, it, expect } from 'vitest';
2
+ import { mount } from '@vue/test-utils';
3
+ import { h } from 'vue';
4
+ import Modal from './Modal.vue';
5
+
6
+ describe('Modal', () => {
7
+ it('renders with right actions slot', () => {
8
+ const wrapper = mount(Modal, {
9
+ slots: {
10
+ rightActions: () => h('button', { id: 'test-right-action' }, 'Test button'),
11
+ },
12
+ global: {
13
+ stubs: {
14
+ teleport: true,
15
+ },
16
+ },
17
+ });
18
+
19
+ expect(wrapper.find('#test-right-action').exists()).toBe(true);
20
+ });
21
+ });
@@ -24,6 +24,7 @@ const StoryTemplate: StoryFn<typeof Modal> = (args) => ({
24
24
  ':footerTertiaryButtonText="footerTertiaryButtonText" :footerTertiaryButtonIcon="ICONS[footerTertiaryButtonIcon]" :footerTertiaryButtonState="footerTertiaryButtonState" ' +
25
25
  ':footerCheckboxText="footerCheckboxText" :headerImage="headerImage">' +
26
26
  '<div v-html="defaultSlot" />' +
27
+ '<template v-if="rightActionsSlot" #rightActions><div style="display: inline-flex;" v-html="rightActionsSlot" /></template>' +
27
28
  '</modal>',
28
29
  data() {
29
30
  return {
@@ -37,6 +38,7 @@ export const Interactive = StoryTemplate.bind({});
37
38
  const args = {
38
39
  defaultSlot:
39
40
  '<p style="margin-top: 0">Text. Occaecati qui debitis ut minima ab ut ipsa. Eos qui eum. Vel eaque sint. Aut voluptatem est. Eos est aut sit soluta est facere qui soluta aspernatur. Et sint repellat sunt.</p><p style="margin-top: 0; margin-bottom: 0">Text. Occaecati qui debitis ut minima ab ut ipsa. Eos qui eum. Vel eaque sint. Aut voluptatem est. Eos est aut sit soluta est facere qui soluta aspernatur. Et sint repellat sunt.</p>',
41
+ rightActionsSlot: 'Right actions',
40
42
  size: MODAL_SIZES.MEDIUM,
41
43
  danger: false,
42
44
  contentCentered: false,
@@ -128,6 +130,7 @@ Interactive.parameters = {
128
130
  const argsDanger = {
129
131
  defaultSlot:
130
132
  '<p style="margin-top: 0">Text. Occaecati qui debitis ut minima ab ut ipsa. Eos qui eum. Vel eaque sint. Aut voluptatem est. Eos est aut sit soluta est facere qui soluta aspernatur. Et sint repellat sunt.</p><p style="margin-top: 0; margin-bottom: 0">Text. Occaecati qui debitis ut minima ab ut ipsa. Eos qui eum. Vel eaque sint. Aut voluptatem est. Eos est aut sit soluta est facere qui soluta aspernatur. Et sint repellat sunt.</p>',
133
+ rightActionsSlot: 'Right actions',
131
134
  size: MODAL_SIZES.MEDIUM,
132
135
  danger: true,
133
136
  contentCentered: false,
@@ -156,6 +159,7 @@ Danger.args = argsDanger;
156
159
  const argsWithImage = {
157
160
  defaultSlot:
158
161
  '<p style="margin-top: 0">Text. Occaecati qui debitis ut minima ab ut ipsa. Eos qui eum. Vel eaque sint. Aut voluptatem est. Eos est aut sit soluta est facere qui soluta aspernatur. Et sint repellat sunt.</p><p style="margin-top: 0; margin-bottom: 0">Text. Occaecati qui debitis ut minima ab ut ipsa. Eos qui eum. Vel eaque sint. Aut voluptatem est. Eos est aut sit soluta est facere qui soluta aspernatur. Et sint repellat sunt.</p>',
162
+ rightActionsSlot: 'Right actions',
159
163
  size: MODAL_SIZES.MEDIUM,
160
164
  danger: false,
161
165
  contentCentered: false,
@@ -185,6 +189,7 @@ WithImage.args = argsWithImage;
185
189
  const argsSmallHeaderAndCentered = {
186
190
  defaultSlot:
187
191
  '<p style="margin-top: 0">Text. Occaecati qui debitis ut minima ab ut ipsa. Eos qui eum. Vel eaque sint. Aut voluptatem est. Eos est aut sit soluta est facere qui soluta aspernatur. Et sint repellat sunt.</p><p style="margin-top: 0; margin-bottom: 0">Text. Occaecati qui debitis ut minima ab ut ipsa. Eos qui eum. Vel eaque sint. Aut voluptatem est. Eos est aut sit soluta est facere qui soluta aspernatur. Et sint repellat sunt.</p>',
192
+ rightActionsSlot: 'Right actions',
188
193
  size: MODAL_SIZES.SMALL,
189
194
  danger: false,
190
195
  contentCentered: true,
@@ -2,15 +2,17 @@
2
2
  <teleport to="body">
3
3
  <div class="ds-modal" v-bind="$attrs" @click.self="$emit('close-modal')">
4
4
  <div class="ds-modal__wrapper" :class="{ '-ds-small': size === MODAL_SIZES.SMALL }">
5
- <wnl-icon-button
6
- touchable
7
- :icon="ICONS.FA_XMARK"
8
- class="ds-modal__close"
9
- :size="ICON_SIZES.SMALL"
10
- :elevation="BUTTON_ELEVATIONS.X_SMALL"
11
- :color="ICON_BUTTON_COLORS.NEUTRAL_WEAK"
12
- @click.stop="$emit('close-modal')"
13
- />
5
+ <div class="ds-modal__rightActions">
6
+ <slot name="rightActions" />
7
+ <wnl-icon-button
8
+ touchable
9
+ :icon="ICONS.FA_XMARK"
10
+ :size="ICON_SIZES.SMALL"
11
+ :elevation="BUTTON_ELEVATIONS.X_SMALL"
12
+ :color="ICON_BUTTON_COLORS.NEUTRAL_WEAK"
13
+ @click.stop="$emit('close-modal')"
14
+ />
15
+ </div>
14
16
  <div class="ds-modal__scrollableWrapper">
15
17
  <img v-if="headerImage" class="ds-modal__image" :src="headerImage" alt="" />
16
18
  <div class="ds-modal__content" :class="{ '-ds-centered': contentCentered }">
@@ -119,7 +121,7 @@
119
121
  @import '../../../../styles/settings/media-queries';
120
122
  @import '../../../../styles/settings/z-indexes';
121
123
 
122
- $modal-medium-width: 700px;
124
+ $modal-medium-width: 800px;
123
125
  $modal-small-width: 460px;
124
126
  $image-height: 200px;
125
127
  $image-height-small: 140px;
@@ -147,12 +149,19 @@ $image-height-small: 140px;
147
149
  background: $color-default-background;
148
150
  border-radius: $radius-m;
149
151
  box-shadow: $shadow-xl;
152
+ display: flex;
150
153
  margin: 0 auto;
154
+ max-height: calc(100vh - #{2 * $space-l});
151
155
  max-width: $modal-medium-width;
152
156
  overflow: hidden;
157
+ padding-top: $space-xl;
153
158
  position: relative;
154
159
  width: 100%;
155
160
 
161
+ @media #{breakpoint-s()} {
162
+ max-height: 84vh;
163
+ }
164
+
156
165
  &.-ds-small {
157
166
  max-width: $modal-small-width;
158
167
 
@@ -170,19 +179,15 @@ $image-height-small: 140px;
170
179
  }
171
180
 
172
181
  &__scrollableWrapper {
173
- max-height: calc(100vh - #{2 * $space-l});
182
+ flex: 1;
174
183
  overflow-y: auto;
175
-
176
- @media #{breakpoint-s()} {
177
- max-height: 84vh;
178
- }
179
184
  }
180
185
 
181
186
  &__content {
182
- padding: $space-l $space-s;
187
+ padding: 0 $space-s $space-l;
183
188
 
184
189
  @media #{breakpoint-s()} {
185
- padding: $space-l $space-xl;
190
+ padding: 0 $space-xl $space-l;
186
191
  }
187
192
 
188
193
  &.-ds-centered {
@@ -246,10 +251,12 @@ $image-height-small: 140px;
246
251
  margin-left: $space-2xs;
247
252
  }
248
253
 
249
- &__close {
254
+ &__rightActions {
250
255
  position: absolute;
251
- right: $space-3xs;
252
- top: $space-3xs;
256
+ right: $space-4xs;
257
+ top: $space-4xs;
258
+ // z-index needs to be higher than 0 to cover the content elements with `position: relative`
259
+ z-index: 1;
253
260
  }
254
261
 
255
262
  &__image {
@@ -0,0 +1,24 @@
1
+ import { describe, it, expect } from 'vitest';
2
+ import { mount } from '@vue/test-utils';
3
+ import { h } from 'vue';
4
+ import ModalDialog from './ModalDialog.vue';
5
+
6
+ describe('ModalDialog', () => {
7
+ it('renders with right actions slot', () => {
8
+ const wrapper = mount(ModalDialog, {
9
+ props: {
10
+ headerTitle: 'Test Modal',
11
+ },
12
+ slots: {
13
+ rightActions: () => h('button', { id: 'test-right-action' }, 'Test button'),
14
+ },
15
+ global: {
16
+ stubs: {
17
+ teleport: true,
18
+ },
19
+ },
20
+ });
21
+
22
+ expect(wrapper.find('#test-right-action').exists()).toBe(true);
23
+ });
24
+ });
@@ -22,6 +22,7 @@ const StoryTemplate: StoryFn<typeof ModalDialog> = (args) => ({
22
22
  ':headerImage="headerImage" ' +
23
23
  ':footerSecondaryButtonText="footerSecondaryButtonText" :footerSecondaryButtonIcon="footerSecondaryButtonIcon" :footerSecondaryButtonState="footerSecondaryButtonState">' +
24
24
  '<div v-html="defaultSlot" />' +
25
+ '<template v-if="rightActionsSlot" #rightActions><div style="display: inline-flex;" v-html="rightActionsSlot" /></template>' +
25
26
  '</modal-dialog>',
26
27
  data() {
27
28
  return {
@@ -36,6 +37,7 @@ export const Interactive = StoryTemplate.bind({});
36
37
  const args = {
37
38
  defaultSlot:
38
39
  '<p style="margin-top: 0">Text. Occaecati qui debitis ut minima ab ut ipsa. Eos qui eum. Vel eaque sint. Aut voluptatem est. Eos est aut sit soluta est facere qui soluta aspernatur. Et sint repellat sunt.</p><p style="margin-top: 0; margin-bottom: 0">Text. Occaecati qui debitis ut minima ab ut ipsa. Eos qui eum. Vel eaque sint. Aut voluptatem est. Eos est aut sit soluta est facere qui soluta aspernatur. Et sint repellat sunt.</p>',
40
+ rightActionsSlot: 'Right actions',
39
41
  danger: false,
40
42
  headerImage: '',
41
43
  headerTitle: 'Modal Title Accusantium occaecati atque similique gg provident nobis.',
@@ -102,6 +104,7 @@ Interactive.parameters = {
102
104
  const argsDanger = {
103
105
  defaultSlot:
104
106
  '<p style="margin-top: 0">Text. Occaecati qui debitis ut minima ab ut ipsa. Eos qui eum. Vel eaque sint. Aut voluptatem est. Eos est aut sit soluta est facere qui soluta aspernatur. Et sint repellat sunt.</p><p style="margin-top: 0; margin-bottom: 0">Text. Occaecati qui debitis ut minima ab ut ipsa. Eos qui eum. Vel eaque sint. Aut voluptatem est. Eos est aut sit soluta est facere qui soluta aspernatur. Et sint repellat sunt.</p>',
107
+ rightActionsSlot: 'Right actions',
105
108
  danger: true,
106
109
  headerImage: '',
107
110
  headerTitle: 'Modal Title Accusantium occaecati atque similique gg provident nobis.',
@@ -123,6 +126,7 @@ Danger.args = argsDanger;
123
126
 
124
127
  const argsWithImage = {
125
128
  defaultSlot: '',
129
+ rightActionsSlot: '',
126
130
  danger: false,
127
131
  headerImage:
128
132
  'https://wiecejnizlek.pl/wp-content/themes/uncode-child/assets/patterns/pattern-black.png',
@@ -21,6 +21,9 @@
21
21
  @secondary-button-click="$emit('secondary-button-click')"
22
22
  >
23
23
  <slot />
24
+ <template #rightActions>
25
+ <slot name="rightActions" />
26
+ </template>
24
27
  </ds-modal>
25
28
  </template>
26
29
 
@@ -1,3 +1,4 @@
1
+ import { describe, expect, it, test } from 'vitest';
1
2
  import { shallowMount } from '@vue/test-utils';
2
3
 
3
4
  import Pagination from './Pagination.vue';
@@ -1,3 +1,4 @@
1
+ import { describe, expect, it } from 'vitest';
1
2
  import { shallowMount } from '@vue/test-utils';
2
3
 
3
4
  import ProgressDonutChart from './ProgressDonutChart.vue';
@@ -1,3 +1,4 @@
1
+ import { describe, expect, test } from 'vitest';
1
2
  import { shallowMount } from '@vue/test-utils';
2
3
 
3
4
  import AccessStatus from './AccessStatus.vue';
@@ -1,3 +1,4 @@
1
+ import { describe, expect, test } from 'vitest';
1
2
  import { shallowMount } from '@vue/test-utils';
2
3
 
3
4
  import BlockadeStatus from './BlockadeStatus.vue';
@@ -1,3 +1,4 @@
1
+ import { describe, expect, it } from 'vitest';
1
2
  import { mount } from '@vue/test-utils';
2
3
 
3
4
  import SurveyQuestionScale from './SurveyQuestionScale.vue';
@@ -1,3 +1,4 @@
1
+ import { describe, expect, it } from 'vitest';
1
2
  import { shallowMount } from '@vue/test-utils';
2
3
 
3
4
  import SurveyToggle from './SurveyToggle.vue';
@@ -1,3 +1,4 @@
1
+ import { describe, expect, it } from 'vitest';
1
2
  import { shallowMount } from '@vue/test-utils';
2
3
 
3
4
  import TabItem from './TabItem.vue';