@bethinkpl/design-system 26.12.0 → 26.13.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 (160) hide show
  1. package/dist/design-system.umd.cjs +18 -18
  2. package/dist/design-system.umd.cjs.map +1 -1
  3. package/dist/lib/js/components/Banner/Banner.vue.d.ts +4 -0
  4. package/dist/lib/js/components/Buttons/Button/Button.vue.d.ts +1 -0
  5. package/dist/lib/js/components/Buttons/IconButton/IconButton.vue.d.ts +2 -0
  6. package/dist/lib/js/components/Cards/CardExpandable/CardExpandable.vue.d.ts +1 -0
  7. package/dist/lib/js/components/Chip/Chip.vue.d.ts +9 -5
  8. package/dist/lib/js/components/DatePickers/DateBox/DateBox.vue.d.ts +1 -0
  9. package/dist/lib/js/components/DatePickers/DatePicker/DatePicker.vue.d.ts +2 -0
  10. package/dist/lib/js/components/DatePickers/DateRangePicker/DateRangePicker.vue.d.ts +1 -0
  11. package/dist/lib/js/components/Drawer/DrawerHeader/DrawerHeader.vue.d.ts +10 -2
  12. package/dist/lib/js/components/Drawer/DrawerListItem/DrawerListItem.vue.d.ts +1 -0
  13. package/dist/lib/js/components/Drawer/DrawerSection/DrawerSection.vue.d.ts +4 -0
  14. package/dist/lib/js/components/Drawer/DrawerTile/DrawerTile.vue.d.ts +1 -0
  15. package/dist/lib/js/components/Form/Checkbox/Checkbox.vue.d.ts +1 -0
  16. package/dist/lib/js/components/Form/RadioButton/RadioButton.vue.d.ts +1 -0
  17. package/dist/lib/js/components/Headers/OverlayHeader/OverlayHeader.vue.d.ts +3 -0
  18. package/dist/lib/js/components/Headers/SectionHeader/SectionHeader.vue.d.ts +3 -0
  19. package/dist/lib/js/components/Icons/Icon/Icon.consts.d.ts +1 -0
  20. package/dist/lib/js/components/Modal/Modal.vue.d.ts +1 -0
  21. package/dist/lib/js/components/Modals/Modal/Modal.vue.d.ts +4 -0
  22. package/dist/lib/js/components/Modals/ModalDialog/ModalDialog.vue.d.ts +4 -0
  23. package/dist/lib/js/components/Outline/OutlineItem/OutlineItem.vue.d.ts +1 -0
  24. package/dist/lib/js/components/Pagination/Pagination.vue.d.ts +4 -0
  25. package/dist/lib/js/components/ProgressBar/ProgressBar.vue.d.ts +1 -0
  26. package/dist/lib/js/components/ProgressDonutChart/ProgressDonutChart.vue.d.ts +1 -0
  27. package/dist/lib/js/components/RichList/BasicRichListItem/BasicRichListItem.vue.d.ts +14 -3
  28. package/dist/lib/js/components/RichList/RichListItem/RichListItem.vue.d.ts +2 -0
  29. package/dist/lib/js/components/SelectList/SelectListItem/SelectListItem.vue.d.ts +1 -0
  30. package/dist/lib/js/components/SelectList/SelectListItemTile/SelectListItemTile.vue.d.ts +1 -0
  31. package/dist/lib/js/components/SelectList/SelectListItemToggle/SelectListItemToggle.vue.d.ts +1 -0
  32. package/dist/lib/js/components/SelectionTile/SelectionTile.vue.d.ts +3 -0
  33. package/dist/lib/js/components/Statuses/AccessStatus/AccessStatus.vue.d.ts +1 -0
  34. package/dist/lib/js/components/Statuses/BlockadeStatus/BlockadeStatus.vue.d.ts +1 -0
  35. package/dist/lib/js/components/SurveyQuestions/SurveyQuestionOpenEnded/SurveyQuestionOpenEnded.vue.d.ts +5 -0
  36. package/dist/lib/js/components/SurveyQuestions/SurveyQuestionScale/SurveyQuestionScale.vue.d.ts +5 -0
  37. package/dist/lib/js/components/Switch/Switch.vue.d.ts +1 -0
  38. package/dist/lib/js/components/Tile/Tile.sb.shared.d.ts +5 -0
  39. package/dist/lib/js/components/Tile/Tile.vue.d.ts +1 -0
  40. package/dist/lib/js/components/Toast/Toast.vue.d.ts +1 -0
  41. package/dist/lib/js/components/Toggles/ToggleButton/ToggleButton.vue.d.ts +1 -0
  42. package/dist/lib/js/icons/fontawesome.d.ts +1 -0
  43. package/docs/assets/{AccessStatus-9JQyuc7W.js → AccessStatus-BKJi9u47.js} +1 -1
  44. package/docs/assets/{AccessStatus.stories--EX9iZIr.js → AccessStatus.stories-XvWRutdA.js} +1 -1
  45. package/docs/assets/{Avatar-BK-QYdBb.js → Avatar-U_7Z6nZ2.js} +1 -1
  46. package/docs/assets/{Avatar.stories-DeG1BvTp.js → Avatar.stories-CVysqINz.js} +1 -1
  47. package/docs/assets/{Badge-DoA9PSt1.js → Badge-DSmH78WU.js} +1 -1
  48. package/docs/assets/{Badge.stories-CR3OCNAJ.js → Badge.stories-D-06ABBo.js} +1 -1
  49. package/docs/assets/{BadgeScore-DLegDXlH.js → BadgeScore-GfZixoUY.js} +1 -1
  50. package/docs/assets/{BadgeScore.stories-QVxhupec.js → BadgeScore.stories-D3zFKjT2.js} +1 -1
  51. package/docs/assets/{Banner-DsBGvY85.js → Banner-DDGfdClH.js} +1 -1
  52. package/docs/assets/{Banner.stories-Dwht3Bb9.js → Banner.stories-DRjfHQB5.js} +1 -1
  53. package/docs/assets/BasicRichListItem-CEiYZukO.js +1 -0
  54. package/docs/assets/{BasicRichListItem.stories-BlzhLCc3.js → BasicRichListItem.stories-BEJ0NthN.js} +8 -4
  55. package/docs/assets/{BlockadeStatus-Da8KTxG1.js → BlockadeStatus-D6w6lZhK.js} +1 -1
  56. package/docs/assets/{BlockedeStatus.stories-Do9jrnuL.js → BlockedeStatus.stories-BPVIJ-7M.js} +1 -1
  57. package/docs/assets/{Button-C4sEOlKs.js → Button-yeAor0pZ.js} +1 -1
  58. package/docs/assets/{Button.stories-NdVmJ33i.js → Button.stories-C905FtVz.js} +1 -1
  59. package/docs/assets/{CardExpandable-NhyjRkWt.js → CardExpandable-t59MJJJ1.js} +1 -1
  60. package/docs/assets/{CardExpandable.stories-C_tWFj8w.js → CardExpandable.stories-GrQybWeN.js} +1 -1
  61. package/docs/assets/{Checkbox-DkAY8NEs.js → Checkbox-K_NwPnQU.js} +1 -1
  62. package/docs/assets/{Checkbox.stories-BrwBQXJR.js → Checkbox.stories-C5rsfJfn.js} +1 -1
  63. package/docs/assets/Chip-DmzVP4Nc.js +1 -0
  64. package/docs/assets/{Chip.stories-kPLmTkNS.js → Chip.stories-BHVdQEET.js} +1 -1
  65. package/docs/assets/{Color-ERTF36HU-Clm3cjkG.js → Color-ERTF36HU-6VQes8GD.js} +1 -1
  66. package/docs/assets/{CounterToggle-UIp8wWvW.js → CounterToggle-UTpNPOSH.js} +1 -1
  67. package/docs/assets/{CounterToggle.stories-Bq4qXiSK.js → CounterToggle.stories-7sAIDH2d.js} +1 -1
  68. package/docs/assets/{DateBox.stories-D5ffs0iR.js → DateBox.stories-DQkN-NA-.js} +1 -1
  69. package/docs/assets/{DatePicker-e_OeoKNz.js → DatePicker-Dfk2S4XE.js} +1 -1
  70. package/docs/assets/{DatePicker.stories-D9PiUfVD.js → DatePicker.stories-BuPRHUPO.js} +1 -1
  71. package/docs/assets/{DateRangePicker-D48XtTCY.js → DateRangePicker-C591NaMz.js} +1 -1
  72. package/docs/assets/{DateRangePicker.stories-DnSY5vgk.js → DateRangePicker.stories-U0CpMcdr.js} +1 -1
  73. package/docs/assets/{DocsRenderer-CFRXHY34-DCdQFGQN.js → DocsRenderer-CFRXHY34-BtI7lPJt.js} +5 -5
  74. package/docs/assets/{DrawerHeader-CX7e6Nrr.js → DrawerHeader-CivXan1m.js} +1 -1
  75. package/docs/assets/{DrawerHeader.stories-m4CFnGvM.js → DrawerHeader.stories-B-6VXMB_.js} +1 -1
  76. package/docs/assets/{DrawerListItem-BZDRNfYO.js → DrawerListItem-BCPF0NKt.js} +1 -1
  77. package/docs/assets/{DrawerListItem.stories-C2-JTk6I.js → DrawerListItem.stories-Cyjmm297.js} +1 -1
  78. package/docs/assets/{DrawerListItemGroup.stories-DZR5aikG.js → DrawerListItemGroup.stories-COuFavcC.js} +1 -1
  79. package/docs/assets/{DrawerSection-B5Oegmdv.js → DrawerSection-B6PrbMVD.js} +1 -1
  80. package/docs/assets/{DrawerSection.stories-DjMQ5gil.js → DrawerSection.stories-DUmVgH2v.js} +1 -1
  81. package/docs/assets/{DrawerTile-BGBdJHoD.js → DrawerTile-CTrRTsz5.js} +1 -1
  82. package/docs/assets/{DrawerTile.stories-DF9kUMHL.js → DrawerTile.stories-BVrU34zb.js} +1 -1
  83. package/docs/assets/{Dropdown.stories-CZcJt8LC.js → Dropdown.stories-DHicOtyD.js} +1 -1
  84. package/docs/assets/{FeatureIcon-DClbrBzB.js → FeatureIcon-Zls5aPDA.js} +1 -1
  85. package/docs/assets/{FeatureIcon.stories-LYqkoMeR.js → FeatureIcon.stories-fkGRpy1k.js} +1 -1
  86. package/docs/assets/{GroupRichListItem-ClZnBLO7.js → GroupRichListItem-8v8vJXgH.js} +1 -1
  87. package/docs/assets/{GroupRichListItem.stories--Nh0_xJQ.js → GroupRichListItem.stories-KjZ2JDho.js} +1 -1
  88. package/docs/assets/Icon-BPz80dqH.js +761 -0
  89. package/docs/assets/{Icon.stories-CBt3qHn_.js → Icon.stories-nMGhxKkt.js} +1 -1
  90. package/docs/assets/{IconButton-ClJVjUWD.js → IconButton-gTykCZIi.js} +1 -1
  91. package/docs/assets/{IconButton.stories-BBFkBebq.js → IconButton.stories-D4XVg9xV.js} +1 -1
  92. package/docs/assets/{IconText-s1bOsGRx.js → IconText-7zvo_ew8.js} +1 -1
  93. package/docs/assets/{IconText.stories-Q1DLLa96.js → IconText.stories-WHFYLn8K.js} +1 -1
  94. package/docs/assets/{Modal-DdUk6fYB.js → Modal-D7RDnkRT.js} +1 -1
  95. package/docs/assets/{Modal.stories-Bqs5-con.js → Modal.stories-DtonpbNd.js} +1 -1
  96. package/docs/assets/{ModalDialog-wYXqCv1T.js → ModalDialog-D-FrIv9r.js} +1 -1
  97. package/docs/assets/{ModalDialog.stories-tc5eJMKj.js → ModalDialog.stories-BO4kM0oI.js} +1 -1
  98. package/docs/assets/{OutlineItem-D6blFpRm.js → OutlineItem-DqMRN7G1.js} +1 -1
  99. package/docs/assets/{OutlineItem.stories-BuIiQaaq.js → OutlineItem.stories-wBYF6_YS.js} +1 -1
  100. package/docs/assets/{OverlayHeader-DqAhQk90.js → OverlayHeader-D3BWUMCs.js} +1 -1
  101. package/docs/assets/{OverlayHeader.stories-DGOKHV71.js → OverlayHeader.stories-D22gEPwS.js} +1 -1
  102. package/docs/assets/{Pagination-9012fp-V.js → Pagination-xRPA6q3h.js} +1 -1
  103. package/docs/assets/{Pagination.stories-Dxy1hEXW.js → Pagination.stories-_aA1bDru.js} +1 -1
  104. package/docs/assets/{PopOver-DSFUlM-F.js → PopOver-DlmHqZVO.js} +1 -1
  105. package/docs/assets/{PopOver.stories-AVke2TUi.js → PopOver.stories-BrDXwbSj.js} +1 -1
  106. package/docs/assets/{ProgressBar-_uDnSqB3.js → ProgressBar-DcRQqf-M.js} +1 -1
  107. package/docs/assets/{ProgressBar.stories-Bb7Sit3i.js → ProgressBar.stories-DpjJPck1.js} +1 -1
  108. package/docs/assets/{ProgressDonutChart-n1jrTcby.js → ProgressDonutChart-O1ep3At7.js} +1 -1
  109. package/docs/assets/{ProgressDonutChart.stories-Cr2KMSFp.js → ProgressDonutChart.stories-DTDXTcvn.js} +1 -1
  110. package/docs/assets/{RadioButton-UNJFeydk.js → RadioButton-CO43G0Ta.js} +1 -1
  111. package/docs/assets/{RadioButton.stories-CuHc0c63.js → RadioButton.stories-BidHbpYh.js} +1 -1
  112. package/docs/assets/{RichListItem.stories-fvpCZzP3.js → RichListItem.stories-B66Eh4Ya.js} +1 -1
  113. package/docs/assets/{SectionHeader-sQNtwLem.js → SectionHeader-CwB5neO2.js} +1 -1
  114. package/docs/assets/{SectionHeader.stories-DhIVzBMe.js → SectionHeader.stories-DU-5pOpU.js} +1 -1
  115. package/docs/assets/{SelectList.stories-hmXO5iG5.js → SelectList.stories-B8NokTyi.js} +1 -1
  116. package/docs/assets/{SelectListItem-u_v1_FGX.js → SelectListItem-DPuR0fG2.js} +1 -1
  117. package/docs/assets/{SelectListItem.stories-C_RQ0fTl.js → SelectListItem.stories-oxeMJs_v.js} +1 -1
  118. package/docs/assets/{SelectListItemTile-DPBYsYPw.js → SelectListItemTile-CWD-7N0p.js} +1 -1
  119. package/docs/assets/{SelectListItemTile.stories-Bz6D1rUb.js → SelectListItemTile.stories-qL9td0K7.js} +1 -1
  120. package/docs/assets/{SelectListItemToggle-DhuofgTc.js → SelectListItemToggle-Bd5zU5Vc.js} +1 -1
  121. package/docs/assets/{SelectListItemToggle.stories-hcEpayse.js → SelectListItemToggle.stories-DjnspGSK.js} +1 -1
  122. package/docs/assets/{SelectionControl-Bfsf0ykk.js → SelectionControl-Xe-aYMrS.js} +1 -1
  123. package/docs/assets/{SelectionTile-CElEjx03.js → SelectionTile-CTk2qsoq.js} +2 -2
  124. package/docs/assets/{SelectionTile.stories-Bj3p90ml.js → SelectionTile.stories-BQdf1ZAm.js} +1 -1
  125. package/docs/assets/{SurveyQuestionOpenEnded-DyfuygAa.js → SurveyQuestionOpenEnded-DUybHAVt.js} +1 -1
  126. package/docs/assets/{SurveyQuestionOpenEnded.stories-Ce3wMMqQ.js → SurveyQuestionOpenEnded.stories-BgpHtIPu.js} +1 -1
  127. package/docs/assets/{SurveyQuestionScale-BFy_7BO5.js → SurveyQuestionScale-I7rmD2z-.js} +1 -1
  128. package/docs/assets/{SurveyQuestionScale.stories-BM_Zkn-d.js → SurveyQuestionScale.stories-D0AleMVQ.js} +1 -1
  129. package/docs/assets/{SurveyToggle-Cc-TFYAQ.js → SurveyToggle-BECsKZHH.js} +1 -1
  130. package/docs/assets/{SurveyToggle.stories-Dlz7KagF.js → SurveyToggle.stories-Bg752kec.js} +1 -1
  131. package/docs/assets/{Switch-DXVtM6f3.js → Switch-C8il24TP.js} +1 -1
  132. package/docs/assets/{Switch.stories-C0z2C6hD.js → Switch.stories-LgRcO-ZF.js} +1 -1
  133. package/docs/assets/{TabItem-CSiyWkmu.js → TabItem-Cceq5FQB.js} +1 -1
  134. package/docs/assets/{TabItem.stories-CdlIKUaz.js → TabItem.stories-CrJjqpPf.js} +1 -1
  135. package/docs/assets/{Tile-64IgKF2L.js → Tile-DvjxsEPO.js} +1 -1
  136. package/docs/assets/{Tile.sb.shared-C2zULufz.js → Tile.sb.shared-Cl6kkjNS.js} +1 -1
  137. package/docs/assets/{Tile.stories-C-whbIrd.js → Tile.stories-02ZVx-3c.js} +1 -1
  138. package/docs/assets/{Toast-BQ-Wj1-c.js → Toast-DKAzASvr.js} +1 -1
  139. package/docs/assets/{Toast.stories-DCt3TUKe.js → Toast.stories-CMk56GoR.js} +1 -1
  140. package/docs/assets/{ToggleButton-CPVawFGQ.js → ToggleButton-eR3n1vbs.js} +1 -1
  141. package/docs/assets/{ToggleButton.stories-47wxhxGb.js → ToggleButton.stories-Bu6_fUaj.js} +1 -1
  142. package/docs/assets/{Tooltip.stories-TJPAmU9m.js → Tooltip.stories-DKvJ8iAI.js} +1 -1
  143. package/docs/assets/{iframe-DdYOFeJw.js → iframe-D0_R78Pi.js} +6 -6
  144. package/docs/assets/{index-DtuWn4_o.js → index-CmxKferx.js} +1 -1
  145. package/docs/assets/{index-XtR2TUpS.js → index-_KmMzH9C.js} +1 -1
  146. package/docs/assets/{preview-CxCnGinY.js → preview-BVg41aHH.js} +1 -1
  147. package/docs/assets/{preview-CYLlXYqB.js → preview-bQNvU0Tw.js} +2 -2
  148. package/docs/assets/{string-WbDRKdc6.js → string-CFc0pFCE.js} +1 -1
  149. package/docs/iframe.html +1 -1
  150. package/docs/project.json +1 -1
  151. package/lib/js/components/Avatar/Avatar.vue +2 -0
  152. package/lib/js/components/Chip/Chip.vue +15 -16
  153. package/lib/js/components/RichList/BasicRichListItem/BasicRichListItem.stories.ts +7 -4
  154. package/lib/js/components/RichList/BasicRichListItem/BasicRichListItem.vue +14 -10
  155. package/lib/js/components/RichList/RichListItem/RichListItem.vue +11 -7
  156. package/lib/js/icons/fontawesome.ts +2 -0
  157. package/package.json +1 -1
  158. package/docs/assets/BasicRichListItem-DphHumDQ.js +0 -1
  159. package/docs/assets/Chip-B-ADwxNO.js +0 -1
  160. package/docs/assets/Icon-Dtb7OFDy.js +0 -761
@@ -139,6 +139,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
139
139
  readonly FA_CALENDAR_DAY: import('@fortawesome/fontawesome-common-types').IconDefinition;
140
140
  readonly FA_CALENDAR_DAYS: import('@fortawesome/fontawesome-common-types').IconDefinition;
141
141
  readonly FA_CALENDAR_RANGE: import('@fortawesome/fontawesome-common-types').IconDefinition;
142
+ readonly FA_CALENDAR_XMARK: import('@fortawesome/fontawesome-common-types').IconDefinition;
142
143
  readonly FA_CAMERA_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
143
144
  readonly FA_CARET_SQUARE_RIGHT_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
144
145
  readonly FA_CART_SHOPPING: import('@fortawesome/fontawesome-common-types').IconDefinition;
@@ -532,6 +533,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
532
533
  readonly FA_CALENDAR_DAY: import('@fortawesome/fontawesome-common-types').IconDefinition;
533
534
  readonly FA_CALENDAR_DAYS: import('@fortawesome/fontawesome-common-types').IconDefinition;
534
535
  readonly FA_CALENDAR_RANGE: import('@fortawesome/fontawesome-common-types').IconDefinition;
536
+ readonly FA_CALENDAR_XMARK: import('@fortawesome/fontawesome-common-types').IconDefinition;
535
537
  readonly FA_CAMERA_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
536
538
  readonly FA_CARET_SQUARE_RIGHT_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
537
539
  readonly FA_CART_SHOPPING: import('@fortawesome/fontawesome-common-types').IconDefinition;
@@ -96,6 +96,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
96
96
  readonly FA_CALENDAR_DAY: import('@fortawesome/fontawesome-common-types').IconDefinition;
97
97
  readonly FA_CALENDAR_DAYS: import('@fortawesome/fontawesome-common-types').IconDefinition;
98
98
  readonly FA_CALENDAR_RANGE: import('@fortawesome/fontawesome-common-types').IconDefinition;
99
+ readonly FA_CALENDAR_XMARK: import('@fortawesome/fontawesome-common-types').IconDefinition;
99
100
  readonly FA_CAMERA_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
100
101
  readonly FA_CARET_SQUARE_RIGHT_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
101
102
  readonly FA_CART_SHOPPING: import('@fortawesome/fontawesome-common-types').IconDefinition;
@@ -250,6 +250,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
250
250
  readonly FA_CALENDAR_DAY: import('@fortawesome/fontawesome-common-types').IconDefinition;
251
251
  readonly FA_CALENDAR_DAYS: import('@fortawesome/fontawesome-common-types').IconDefinition;
252
252
  readonly FA_CALENDAR_RANGE: import('@fortawesome/fontawesome-common-types').IconDefinition;
253
+ readonly FA_CALENDAR_XMARK: import('@fortawesome/fontawesome-common-types').IconDefinition;
253
254
  readonly FA_CAMERA_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
254
255
  readonly FA_CARET_SQUARE_RIGHT_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
255
256
  readonly FA_CART_SHOPPING: import('@fortawesome/fontawesome-common-types').IconDefinition;
@@ -184,6 +184,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
184
184
  readonly FA_CALENDAR_DAY: import('@fortawesome/fontawesome-common-types').IconDefinition;
185
185
  readonly FA_CALENDAR_DAYS: import('@fortawesome/fontawesome-common-types').IconDefinition;
186
186
  readonly FA_CALENDAR_RANGE: import('@fortawesome/fontawesome-common-types').IconDefinition;
187
+ readonly FA_CALENDAR_XMARK: import('@fortawesome/fontawesome-common-types').IconDefinition;
187
188
  readonly FA_CAMERA_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
188
189
  readonly FA_CARET_SQUARE_RIGHT_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
189
190
  readonly FA_CART_SHOPPING: import('@fortawesome/fontawesome-common-types').IconDefinition;
@@ -81,6 +81,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
81
81
  readonly FA_CALENDAR_DAY: import('@fortawesome/fontawesome-common-types').IconDefinition;
82
82
  readonly FA_CALENDAR_DAYS: import('@fortawesome/fontawesome-common-types').IconDefinition;
83
83
  readonly FA_CALENDAR_RANGE: import('@fortawesome/fontawesome-common-types').IconDefinition;
84
+ readonly FA_CALENDAR_XMARK: import('@fortawesome/fontawesome-common-types').IconDefinition;
84
85
  readonly FA_CAMERA_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
85
86
  readonly FA_CARET_SQUARE_RIGHT_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
86
87
  readonly FA_CART_SHOPPING: import('@fortawesome/fontawesome-common-types').IconDefinition;
@@ -644,6 +645,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
644
645
  readonly FA_CALENDAR_DAY: import('@fortawesome/fontawesome-common-types').IconDefinition;
645
646
  readonly FA_CALENDAR_DAYS: import('@fortawesome/fontawesome-common-types').IconDefinition;
646
647
  readonly FA_CALENDAR_RANGE: import('@fortawesome/fontawesome-common-types').IconDefinition;
648
+ readonly FA_CALENDAR_XMARK: import('@fortawesome/fontawesome-common-types').IconDefinition;
647
649
  readonly FA_CAMERA_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
648
650
  readonly FA_CARET_SQUARE_RIGHT_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
649
651
  readonly FA_CART_SHOPPING: import('@fortawesome/fontawesome-common-types').IconDefinition;
@@ -1083,6 +1085,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1083
1085
  readonly FA_CALENDAR_DAY: import('@fortawesome/fontawesome-common-types').IconDefinition;
1084
1086
  readonly FA_CALENDAR_DAYS: import('@fortawesome/fontawesome-common-types').IconDefinition;
1085
1087
  readonly FA_CALENDAR_RANGE: import('@fortawesome/fontawesome-common-types').IconDefinition;
1088
+ readonly FA_CALENDAR_XMARK: import('@fortawesome/fontawesome-common-types').IconDefinition;
1086
1089
  readonly FA_CAMERA_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
1087
1090
  readonly FA_CARET_SQUARE_RIGHT_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
1088
1091
  readonly FA_CART_SHOPPING: import('@fortawesome/fontawesome-common-types').IconDefinition;
@@ -54,6 +54,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
54
54
  readonly FA_CALENDAR_DAY: import('@fortawesome/fontawesome-common-types').IconDefinition;
55
55
  readonly FA_CALENDAR_DAYS: import('@fortawesome/fontawesome-common-types').IconDefinition;
56
56
  readonly FA_CALENDAR_RANGE: import('@fortawesome/fontawesome-common-types').IconDefinition;
57
+ readonly FA_CALENDAR_XMARK: import('@fortawesome/fontawesome-common-types').IconDefinition;
57
58
  readonly FA_CAMERA_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
58
59
  readonly FA_CARET_SQUARE_RIGHT_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
59
60
  readonly FA_CART_SHOPPING: import('@fortawesome/fontawesome-common-types').IconDefinition;
@@ -54,6 +54,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
54
54
  readonly FA_CALENDAR_DAY: import('@fortawesome/fontawesome-common-types').IconDefinition;
55
55
  readonly FA_CALENDAR_DAYS: import('@fortawesome/fontawesome-common-types').IconDefinition;
56
56
  readonly FA_CALENDAR_RANGE: import('@fortawesome/fontawesome-common-types').IconDefinition;
57
+ readonly FA_CALENDAR_XMARK: import('@fortawesome/fontawesome-common-types').IconDefinition;
57
58
  readonly FA_CAMERA_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
58
59
  readonly FA_CARET_SQUARE_RIGHT_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
59
60
  readonly FA_CART_SHOPPING: import('@fortawesome/fontawesome-common-types').IconDefinition;
@@ -72,6 +72,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
72
72
  readonly FA_CALENDAR_DAY: import('@fortawesome/fontawesome-common-types').IconDefinition;
73
73
  readonly FA_CALENDAR_DAYS: import('@fortawesome/fontawesome-common-types').IconDefinition;
74
74
  readonly FA_CALENDAR_RANGE: import('@fortawesome/fontawesome-common-types').IconDefinition;
75
+ readonly FA_CALENDAR_XMARK: import('@fortawesome/fontawesome-common-types').IconDefinition;
75
76
  readonly FA_CAMERA_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
76
77
  readonly FA_CARET_SQUARE_RIGHT_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
77
78
  readonly FA_CART_SHOPPING: import('@fortawesome/fontawesome-common-types').IconDefinition;
@@ -419,6 +420,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
419
420
  readonly FA_CALENDAR_DAY: import('@fortawesome/fontawesome-common-types').IconDefinition;
420
421
  readonly FA_CALENDAR_DAYS: import('@fortawesome/fontawesome-common-types').IconDefinition;
421
422
  readonly FA_CALENDAR_RANGE: import('@fortawesome/fontawesome-common-types').IconDefinition;
423
+ readonly FA_CALENDAR_XMARK: import('@fortawesome/fontawesome-common-types').IconDefinition;
422
424
  readonly FA_CAMERA_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
423
425
  readonly FA_CARET_SQUARE_RIGHT_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
424
426
  readonly FA_CART_SHOPPING: import('@fortawesome/fontawesome-common-types').IconDefinition;
@@ -1035,6 +1037,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1035
1037
  readonly FA_CALENDAR_DAY: import('@fortawesome/fontawesome-common-types').IconDefinition;
1036
1038
  readonly FA_CALENDAR_DAYS: import('@fortawesome/fontawesome-common-types').IconDefinition;
1037
1039
  readonly FA_CALENDAR_RANGE: import('@fortawesome/fontawesome-common-types').IconDefinition;
1040
+ readonly FA_CALENDAR_XMARK: import('@fortawesome/fontawesome-common-types').IconDefinition;
1038
1041
  readonly FA_CAMERA_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
1039
1042
  readonly FA_CARET_SQUARE_RIGHT_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
1040
1043
  readonly FA_CART_SHOPPING: import('@fortawesome/fontawesome-common-types').IconDefinition;
@@ -1481,6 +1484,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1481
1484
  readonly FA_CALENDAR_DAY: import('@fortawesome/fontawesome-common-types').IconDefinition;
1482
1485
  readonly FA_CALENDAR_DAYS: import('@fortawesome/fontawesome-common-types').IconDefinition;
1483
1486
  readonly FA_CALENDAR_RANGE: import('@fortawesome/fontawesome-common-types').IconDefinition;
1487
+ readonly FA_CALENDAR_XMARK: import('@fortawesome/fontawesome-common-types').IconDefinition;
1484
1488
  readonly FA_CAMERA_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
1485
1489
  readonly FA_CARET_SQUARE_RIGHT_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
1486
1490
  readonly FA_CART_SHOPPING: import('@fortawesome/fontawesome-common-types').IconDefinition;
@@ -1883,6 +1887,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1883
1887
  readonly FA_CALENDAR_DAY: import('@fortawesome/fontawesome-common-types').IconDefinition;
1884
1888
  readonly FA_CALENDAR_DAYS: import('@fortawesome/fontawesome-common-types').IconDefinition;
1885
1889
  readonly FA_CALENDAR_RANGE: import('@fortawesome/fontawesome-common-types').IconDefinition;
1890
+ readonly FA_CALENDAR_XMARK: import('@fortawesome/fontawesome-common-types').IconDefinition;
1886
1891
  readonly FA_CAMERA_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
1887
1892
  readonly FA_CARET_SQUARE_RIGHT_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
1888
1893
  readonly FA_CART_SHOPPING: import('@fortawesome/fontawesome-common-types').IconDefinition;
@@ -91,6 +91,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
91
91
  readonly FA_CALENDAR_DAY: import('@fortawesome/fontawesome-common-types').IconDefinition;
92
92
  readonly FA_CALENDAR_DAYS: import('@fortawesome/fontawesome-common-types').IconDefinition;
93
93
  readonly FA_CALENDAR_RANGE: import('@fortawesome/fontawesome-common-types').IconDefinition;
94
+ readonly FA_CALENDAR_XMARK: import('@fortawesome/fontawesome-common-types').IconDefinition;
94
95
  readonly FA_CAMERA_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
95
96
  readonly FA_CARET_SQUARE_RIGHT_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
96
97
  readonly FA_CART_SHOPPING: import('@fortawesome/fontawesome-common-types').IconDefinition;
@@ -664,6 +665,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
664
665
  readonly FA_CALENDAR_DAY: import('@fortawesome/fontawesome-common-types').IconDefinition;
665
666
  readonly FA_CALENDAR_DAYS: import('@fortawesome/fontawesome-common-types').IconDefinition;
666
667
  readonly FA_CALENDAR_RANGE: import('@fortawesome/fontawesome-common-types').IconDefinition;
668
+ readonly FA_CALENDAR_XMARK: import('@fortawesome/fontawesome-common-types').IconDefinition;
667
669
  readonly FA_CAMERA_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
668
670
  readonly FA_CARET_SQUARE_RIGHT_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
669
671
  readonly FA_CART_SHOPPING: import('@fortawesome/fontawesome-common-types').IconDefinition;
@@ -1110,6 +1112,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1110
1112
  readonly FA_CALENDAR_DAY: import('@fortawesome/fontawesome-common-types').IconDefinition;
1111
1113
  readonly FA_CALENDAR_DAYS: import('@fortawesome/fontawesome-common-types').IconDefinition;
1112
1114
  readonly FA_CALENDAR_RANGE: import('@fortawesome/fontawesome-common-types').IconDefinition;
1115
+ readonly FA_CALENDAR_XMARK: import('@fortawesome/fontawesome-common-types').IconDefinition;
1113
1116
  readonly FA_CAMERA_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
1114
1117
  readonly FA_CARET_SQUARE_RIGHT_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
1115
1118
  readonly FA_CART_SHOPPING: import('@fortawesome/fontawesome-common-types').IconDefinition;
@@ -1685,6 +1688,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1685
1688
  readonly FA_CALENDAR_DAY: import('@fortawesome/fontawesome-common-types').IconDefinition;
1686
1689
  readonly FA_CALENDAR_DAYS: import('@fortawesome/fontawesome-common-types').IconDefinition;
1687
1690
  readonly FA_CALENDAR_RANGE: import('@fortawesome/fontawesome-common-types').IconDefinition;
1691
+ readonly FA_CALENDAR_XMARK: import('@fortawesome/fontawesome-common-types').IconDefinition;
1688
1692
  readonly FA_CAMERA_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
1689
1693
  readonly FA_CARET_SQUARE_RIGHT_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
1690
1694
  readonly FA_CART_SHOPPING: import('@fortawesome/fontawesome-common-types').IconDefinition;
@@ -2045,6 +2049,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
2045
2049
  readonly FA_CALENDAR_DAY: import('@fortawesome/fontawesome-common-types').IconDefinition;
2046
2050
  readonly FA_CALENDAR_DAYS: import('@fortawesome/fontawesome-common-types').IconDefinition;
2047
2051
  readonly FA_CALENDAR_RANGE: import('@fortawesome/fontawesome-common-types').IconDefinition;
2052
+ readonly FA_CALENDAR_XMARK: import('@fortawesome/fontawesome-common-types').IconDefinition;
2048
2053
  readonly FA_CAMERA_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
2049
2054
  readonly FA_CARET_SQUARE_RIGHT_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
2050
2055
  readonly FA_CART_SHOPPING: import('@fortawesome/fontawesome-common-types').IconDefinition;
@@ -92,6 +92,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
92
92
  readonly FA_CALENDAR_DAY: import('@fortawesome/fontawesome-common-types').IconDefinition;
93
93
  readonly FA_CALENDAR_DAYS: import('@fortawesome/fontawesome-common-types').IconDefinition;
94
94
  readonly FA_CALENDAR_RANGE: import('@fortawesome/fontawesome-common-types').IconDefinition;
95
+ readonly FA_CALENDAR_XMARK: import('@fortawesome/fontawesome-common-types').IconDefinition;
95
96
  readonly FA_CAMERA_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
96
97
  readonly FA_CARET_SQUARE_RIGHT_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
97
98
  readonly FA_CART_SHOPPING: import('@fortawesome/fontawesome-common-types').IconDefinition;
@@ -52,6 +52,7 @@ export declare const data: () => {
52
52
  readonly FA_CALENDAR_DAY: import('@fortawesome/fontawesome-common-types').IconDefinition;
53
53
  readonly FA_CALENDAR_DAYS: import('@fortawesome/fontawesome-common-types').IconDefinition;
54
54
  readonly FA_CALENDAR_RANGE: import('@fortawesome/fontawesome-common-types').IconDefinition;
55
+ readonly FA_CALENDAR_XMARK: import('@fortawesome/fontawesome-common-types').IconDefinition;
55
56
  readonly FA_CAMERA_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
56
57
  readonly FA_CARET_SQUARE_RIGHT_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
57
58
  readonly FA_CART_SHOPPING: import('@fortawesome/fontawesome-common-types').IconDefinition;
@@ -372,6 +373,7 @@ export declare const components: {
372
373
  readonly FA_CALENDAR_DAY: import('@fortawesome/fontawesome-common-types').IconDefinition;
373
374
  readonly FA_CALENDAR_DAYS: import('@fortawesome/fontawesome-common-types').IconDefinition;
374
375
  readonly FA_CALENDAR_RANGE: import('@fortawesome/fontawesome-common-types').IconDefinition;
376
+ readonly FA_CALENDAR_XMARK: import('@fortawesome/fontawesome-common-types').IconDefinition;
375
377
  readonly FA_CAMERA_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
376
378
  readonly FA_CARET_SQUARE_RIGHT_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
377
379
  readonly FA_CART_SHOPPING: import('@fortawesome/fontawesome-common-types').IconDefinition;
@@ -685,6 +687,7 @@ export declare const components: {
685
687
  readonly FA_CALENDAR_DAY: import('@fortawesome/fontawesome-common-types').IconDefinition;
686
688
  readonly FA_CALENDAR_DAYS: import('@fortawesome/fontawesome-common-types').IconDefinition;
687
689
  readonly FA_CALENDAR_RANGE: import('@fortawesome/fontawesome-common-types').IconDefinition;
690
+ readonly FA_CALENDAR_XMARK: import('@fortawesome/fontawesome-common-types').IconDefinition;
688
691
  readonly FA_CAMERA_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
689
692
  readonly FA_CARET_SQUARE_RIGHT_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
690
693
  readonly FA_CART_SHOPPING: import('@fortawesome/fontawesome-common-types').IconDefinition;
@@ -1171,6 +1174,7 @@ export declare const components: {
1171
1174
  readonly FA_CALENDAR_DAY: import('@fortawesome/fontawesome-common-types').IconDefinition;
1172
1175
  readonly FA_CALENDAR_DAYS: import('@fortawesome/fontawesome-common-types').IconDefinition;
1173
1176
  readonly FA_CALENDAR_RANGE: import('@fortawesome/fontawesome-common-types').IconDefinition;
1177
+ readonly FA_CALENDAR_XMARK: import('@fortawesome/fontawesome-common-types').IconDefinition;
1174
1178
  readonly FA_CAMERA_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
1175
1179
  readonly FA_CARET_SQUARE_RIGHT_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
1176
1180
  readonly FA_CART_SHOPPING: import('@fortawesome/fontawesome-common-types').IconDefinition;
@@ -1617,6 +1621,7 @@ export declare const components: {
1617
1621
  readonly FA_CALENDAR_DAY: import('@fortawesome/fontawesome-common-types').IconDefinition;
1618
1622
  readonly FA_CALENDAR_DAYS: import('@fortawesome/fontawesome-common-types').IconDefinition;
1619
1623
  readonly FA_CALENDAR_RANGE: import('@fortawesome/fontawesome-common-types').IconDefinition;
1624
+ readonly FA_CALENDAR_XMARK: import('@fortawesome/fontawesome-common-types').IconDefinition;
1620
1625
  readonly FA_CAMERA_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
1621
1626
  readonly FA_CARET_SQUARE_RIGHT_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
1622
1627
  readonly FA_CART_SHOPPING: import('@fortawesome/fontawesome-common-types').IconDefinition;
@@ -113,6 +113,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
113
113
  readonly FA_CALENDAR_DAY: import('@fortawesome/fontawesome-common-types').IconDefinition;
114
114
  readonly FA_CALENDAR_DAYS: import('@fortawesome/fontawesome-common-types').IconDefinition;
115
115
  readonly FA_CALENDAR_RANGE: import('@fortawesome/fontawesome-common-types').IconDefinition;
116
+ readonly FA_CALENDAR_XMARK: import('@fortawesome/fontawesome-common-types').IconDefinition;
116
117
  readonly FA_CAMERA_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
117
118
  readonly FA_CARET_SQUARE_RIGHT_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
118
119
  readonly FA_CART_SHOPPING: import('@fortawesome/fontawesome-common-types').IconDefinition;
@@ -245,6 +245,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
245
245
  readonly FA_CALENDAR_DAY: import('@fortawesome/fontawesome-common-types').IconDefinition;
246
246
  readonly FA_CALENDAR_DAYS: import('@fortawesome/fontawesome-common-types').IconDefinition;
247
247
  readonly FA_CALENDAR_RANGE: import('@fortawesome/fontawesome-common-types').IconDefinition;
248
+ readonly FA_CALENDAR_XMARK: import('@fortawesome/fontawesome-common-types').IconDefinition;
248
249
  readonly FA_CAMERA_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
249
250
  readonly FA_CARET_SQUARE_RIGHT_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
250
251
  readonly FA_CART_SHOPPING: import('@fortawesome/fontawesome-common-types').IconDefinition;
@@ -109,6 +109,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
109
109
  readonly FA_CALENDAR_DAY: import('@fortawesome/fontawesome-common-types').IconDefinition;
110
110
  readonly FA_CALENDAR_DAYS: import('@fortawesome/fontawesome-common-types').IconDefinition;
111
111
  readonly FA_CALENDAR_RANGE: import('@fortawesome/fontawesome-common-types').IconDefinition;
112
+ readonly FA_CALENDAR_XMARK: import('@fortawesome/fontawesome-common-types').IconDefinition;
112
113
  readonly FA_CAMERA_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
113
114
  readonly FA_CARET_SQUARE_RIGHT_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
114
115
  readonly FA_CART_SHOPPING: import('@fortawesome/fontawesome-common-types').IconDefinition;
@@ -40,6 +40,7 @@ export declare const FONTAWESOME_ICONS: {
40
40
  readonly FA_CALENDAR_DAY: import('@fortawesome/fontawesome-common-types').IconDefinition;
41
41
  readonly FA_CALENDAR_DAYS: import('@fortawesome/fontawesome-common-types').IconDefinition;
42
42
  readonly FA_CALENDAR_RANGE: import('@fortawesome/fontawesome-common-types').IconDefinition;
43
+ readonly FA_CALENDAR_XMARK: import('@fortawesome/fontawesome-common-types').IconDefinition;
43
44
  readonly FA_CAMERA_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
44
45
  readonly FA_CARET_SQUARE_RIGHT_SOLID: import('@fortawesome/fontawesome-common-types').IconDefinition;
45
46
  readonly FA_CART_SHOPPING: import('@fortawesome/fontawesome-common-types').IconDefinition;
@@ -1 +1 @@
1
- import{d as r,c as o,k as c,a as i,j as u,n as S,r as p,o as _}from"./vue.esm-bundler-DmkhfO_9.js";import{a as d,I as e,b as m}from"./Icon-Dtb7OFDy.js";import{C as s}from"./user-_JB5aHqq.js";import{_ as A}from"./_plugin-vue_export-helper-DlAUqK2U.js";const a=r({name:"AccessStatus",components:{Icon:d},props:{status:{type:String,required:!0}},data(){return{ICONS:Object.freeze(e),ICON_SIZES:Object.freeze(m)}},computed:{icon(){return this.status===s.ACTIVE?e.FA_UNLOCK_KEYHOLE:this.status===s.AWAITING?e.FA_HOURGLASS_START:e.FA_LOCK_KEYHOLE},statusClass(){return this.status===s.ACTIVE?"-ds-active":this.status===s.SUSPENDED?"-ds-suspended":""},text(){return this.status===s.ACTIVE?"Aktywny":this.status===s.AWAITING?"Oczekujący":this.status===s.SUSPENDED?"Zawieszony":this.status===s.DEACTIVATED?"Dezaktywowany":"Zakończony"}}}),f={class:"ds-accessStatus__text"};function C(t,I,E,l,N,O){const n=p("icon");return _(),o("div",{class:S(["ds-accessStatus",t.statusClass])},[c(n,{size:t.ICON_SIZES.X_SMALL,icon:t.icon,class:"ds-accessStatus__icon"},null,8,["size","icon"]),i("span",f,u(t.text),1)],2)}const k=A(a,[["render",C],["__scopeId","data-v-e1478a91"]]);a.__docgenInfo={displayName:"AccessStatus",exportName:"default",description:"",tags:{},props:[{name:"status",type:{name:"string"},required:!0}],sourceFiles:["/home/runner/work/design-system/design-system/lib/js/components/Statuses/AccessStatus/AccessStatus.vue"]};export{k as A};
1
+ import{d as r,c as o,k as c,a as i,j as u,n as S,r as p,o as _}from"./vue.esm-bundler-DmkhfO_9.js";import{a as d,I as e,b as m}from"./Icon-BPz80dqH.js";import{C as s}from"./user-_JB5aHqq.js";import{_ as A}from"./_plugin-vue_export-helper-DlAUqK2U.js";const a=r({name:"AccessStatus",components:{Icon:d},props:{status:{type:String,required:!0}},data(){return{ICONS:Object.freeze(e),ICON_SIZES:Object.freeze(m)}},computed:{icon(){return this.status===s.ACTIVE?e.FA_UNLOCK_KEYHOLE:this.status===s.AWAITING?e.FA_HOURGLASS_START:e.FA_LOCK_KEYHOLE},statusClass(){return this.status===s.ACTIVE?"-ds-active":this.status===s.SUSPENDED?"-ds-suspended":""},text(){return this.status===s.ACTIVE?"Aktywny":this.status===s.AWAITING?"Oczekujący":this.status===s.SUSPENDED?"Zawieszony":this.status===s.DEACTIVATED?"Dezaktywowany":"Zakończony"}}}),f={class:"ds-accessStatus__text"};function C(t,I,E,l,N,O){const n=p("icon");return _(),o("div",{class:S(["ds-accessStatus",t.statusClass])},[c(n,{size:t.ICON_SIZES.X_SMALL,icon:t.icon,class:"ds-accessStatus__icon"},null,8,["size","icon"]),i("span",f,u(t.text),1)],2)}const k=A(a,[["render",C],["__scopeId","data-v-e1478a91"]]);a.__docgenInfo={displayName:"AccessStatus",exportName:"default",description:"",tags:{},props:[{name:"status",type:{name:"string"},required:!0}],sourceFiles:["/home/runner/work/design-system/design-system/lib/js/components/Statuses/AccessStatus/AccessStatus.vue"]};export{k as A};
@@ -1,4 +1,4 @@
1
- import{A as r}from"./AccessStatus-9JQyuc7W.js";import{C as o}from"./user-_JB5aHqq.js";import"./vue.esm-bundler-DmkhfO_9.js";import"./Icon-Dtb7OFDy.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";const l={title:"Components/Statuses/AccessStatus",component:r},c=n=>({components:{AccessStatus:r},setup(){return n},template:'<access-status :status="status" />'}),t=c.bind({}),p={status:o.ACTIVE},m={status:{control:"select",options:Object.values(o)}};t.argTypes=m;t.args=p;t.parameters={design:{type:"figma",url:"https://www.figma.com/file/izQdYyiBR1GQgFkaOIfIJI/LMS---DS---Components?node-id=3040%3A70712"}};var s,e,a;t.parameters={...t.parameters,docs:{...(s=t.parameters)==null?void 0:s.docs,source:{originalSource:`args => ({
1
+ import{A as r}from"./AccessStatus-BKJi9u47.js";import{C as o}from"./user-_JB5aHqq.js";import"./vue.esm-bundler-DmkhfO_9.js";import"./Icon-BPz80dqH.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";const l={title:"Components/Statuses/AccessStatus",component:r},c=n=>({components:{AccessStatus:r},setup(){return n},template:'<access-status :status="status" />'}),t=c.bind({}),p={status:o.ACTIVE},m={status:{control:"select",options:Object.values(o)}};t.argTypes=m;t.args=p;t.parameters={design:{type:"figma",url:"https://www.figma.com/file/izQdYyiBR1GQgFkaOIfIJI/LMS---DS---Components?node-id=3040%3A70712"}};var s,e,a;t.parameters={...t.parameters,docs:{...(s=t.parameters)==null?void 0:s.docs,source:{originalSource:`args => ({
2
2
  components: {
3
3
  AccessStatus
4
4
  },
@@ -1 +1 @@
1
- import{d as G,q as i,c as u,a as b,j as k,u as e,s as p,k as I,g as v,n as h,o}from"./vue.esm-bundler-DmkhfO_9.js";import{c as M,B as C,b as l,a as s}from"./Badge-DoA9PSt1.js";import{I as d}from"./Icon-Dtb7OFDy.js";import{_ as O}from"./_plugin-vue_export-helper-DlAUqK2U.js";const a={XX_SMALL:"xx-small",X_SMALL:"x-small",SMALL:"small",MEDIUM:"medium",LARGE:"large",X_LARGE:"x-large"},_={ACTIVE:"active",INACTIVE:"inactive"},c={ACTIVE:"active",INACTIVE:"inactive",AWAITING:"awaiting",BLOCKED:"blocked",TEAM_MEMBER:"team-member"},q=["src","alt"],w={key:1,class:"ds-avatar__initials"},K={key:0,class:"ds-avatar__activityStatus"},F={key:1,class:"ds-avatar__accessStatus"},f=G({__name:"Avatar",props:{username:{},avatarUrl:{},size:{default:()=>a.X_SMALL},activityStatus:{},accessStatus:{},teamMemberImageUrl:{}},setup(r){const{initials:g,initialBackgroundColor:y}=V(),{accessStatusColor:T,accessStatusIcon:U,accessStatusSize:z,accessStatusImage:R}=B(),{activityStatusColor:X,activityStatusSize:N}=D();function V(){const t=["#1abc9c","#2ecc71","#3498db","#9b59b6","#34495e","#16a085","#27ae60","#2980b9","#8e44ad","#2c3e50","#f1c40f","#e67e22","#e74c3c","#f39c12","#d35400","#c0392b"];function n(A){const[m,E]=A.split(/\s+/);return m&&E?`${m[0]}${E[0]}`.toUpperCase():m.substring(0,2).toUpperCase()}const S=i(()=>{if(r.avatarUrl)return;const A=(r.username.charCodeAt(0)-65)%16;return t[A]});return{initials:i(()=>n(r.username)),initialBackgroundColor:S}}function B(){const t=i(()=>{switch(r.accessStatus){case c.ACTIVE:return l.SUCCESS;case c.INACTIVE:case c.AWAITING:return l.NEUTRAL;case c.BLOCKED:return l.DANGER;default:return}}),n=i(()=>{switch(r.accessStatus){case c.ACTIVE:return d.FA_UNLOCK_KEYHOLE;case c.BLOCKED:case c.INACTIVE:return d.FA_LOCK_KEYHOLE;case c.AWAITING:return d.FA_HOURGLASS_START;default:return}}),S=i(()=>{switch(r.size){case a.XX_SMALL:return s.SMALL;case a.X_SMALL:return s.SMALL;case a.SMALL:return s.SMALL;case a.MEDIUM:return s.MEDIUM;case a.LARGE:return s.MEDIUM;case a.X_LARGE:default:return s.X_LARGE}}),L=i(()=>{if(r.accessStatus===c.TEAM_MEMBER)return r.teamMemberImageUrl});return{accessStatusColor:t,accessStatusIcon:n,accessStatusSize:S,accessStatusImage:L}}function D(){const t=i(()=>{switch(r.activityStatus){case _.ACTIVE:return l.SUCCESS;default:case _.INACTIVE:return l.NEUTRAL}}),n=i(()=>{switch(r.size){case a.XX_SMALL:return s.X_SMALL;case a.X_SMALL:return s.SMALL;case a.SMALL:return s.SMALL;case a.MEDIUM:return s.MEDIUM;case a.LARGE:return s.MEDIUM;case a.X_LARGE:default:return s.MEDIUM}});return{activityStatusColor:t,activityStatusSize:n}}return(t,n)=>(o(),u("div",{class:h(["ds-avatar",{"-ds-xx-small":t.size===e(a).XX_SMALL,"-ds-x-small":t.size===e(a).X_SMALL,"-ds-small":t.size===e(a).SMALL,"-ds-medium":t.size===e(a).MEDIUM,"-ds-large":t.size===e(a).LARGE,"-ds-x-large":t.size===e(a).X_LARGE}])},[b("div",{class:"ds-avatar__content",style:p({backgroundColor:e(y)})},[t.avatarUrl?(o(),u("img",{key:0,src:t.avatarUrl,alt:t.username,class:"ds-avatar__image"},null,8,q)):(o(),u("span",w,k(e(g)),1))],4),t.activityStatus?(o(),u("div",K,[I(e(C),{color:e(X),elevation:e(M).X_SMALL,size:e(N)},null,8,["color","elevation","size"])])):v("",!0),t.accessStatus?(o(),u("div",F,[I(e(C),{color:e(T),elevation:e(M).SMALL,icon:e(U),size:e(z),"image-url":e(R)},null,8,["color","elevation","icon","size","image-url"])])):v("",!0)],2))}}),x=O(f,[["__scopeId","data-v-5e14d35a"]]);f.__docgenInfo={exportName:"default",displayName:"Avatar",description:"",tags:{},props:[{name:"username",required:!0,type:{name:"string"}},{name:"avatarUrl",required:!1,type:{name:"string"}},{name:"size",required:!1,type:{name:"AvatarSize"}},{name:"activityStatus",required:!1,type:{name:"AvatarActivityStatus"}},{name:"accessStatus",required:!1,type:{name:"AvatarAccessStatus"}},{name:"teamMemberImageUrl",required:!1,type:{name:"string"}}],sourceFiles:["/home/runner/work/design-system/design-system/lib/js/components/Avatar/Avatar.vue"]};export{x as A,a,c as b,_ as c};
1
+ import{d as G,q as i,c as u,a as b,j as k,u as e,s as p,k as I,g as v,n as h,o}from"./vue.esm-bundler-DmkhfO_9.js";import{c as M,B as C,b as l,a as s}from"./Badge-DSmH78WU.js";import{I as d}from"./Icon-BPz80dqH.js";import{_ as O}from"./_plugin-vue_export-helper-DlAUqK2U.js";const a={XX_SMALL:"xx-small",X_SMALL:"x-small",SMALL:"small",MEDIUM:"medium",LARGE:"large",X_LARGE:"x-large"},_={ACTIVE:"active",INACTIVE:"inactive"},c={ACTIVE:"active",INACTIVE:"inactive",AWAITING:"awaiting",BLOCKED:"blocked",TEAM_MEMBER:"team-member"},q=["src","alt"],w={key:1,class:"ds-avatar__initials"},K={key:0,class:"ds-avatar__activityStatus"},F={key:1,class:"ds-avatar__accessStatus"},f=G({__name:"Avatar",props:{username:{},avatarUrl:{},size:{default:()=>a.X_SMALL},activityStatus:{},accessStatus:{},teamMemberImageUrl:{}},setup(r){const{initials:g,initialBackgroundColor:y}=V(),{accessStatusColor:T,accessStatusIcon:U,accessStatusSize:z,accessStatusImage:R}=B(),{activityStatusColor:X,activityStatusSize:N}=D();function V(){const t=["#1abc9c","#2ecc71","#3498db","#9b59b6","#34495e","#16a085","#27ae60","#2980b9","#8e44ad","#2c3e50","#f1c40f","#e67e22","#e74c3c","#f39c12","#d35400","#c0392b"];function n(A){const[m,E]=A.split(/\s+/);return m&&E?`${m[0]}${E[0]}`.toUpperCase():m.substring(0,2).toUpperCase()}const S=i(()=>{if(r.avatarUrl)return;const A=(r.username.charCodeAt(0)-65)%16;return t[A]});return{initials:i(()=>n(r.username)),initialBackgroundColor:S}}function B(){const t=i(()=>{switch(r.accessStatus){case c.ACTIVE:return l.SUCCESS;case c.INACTIVE:case c.AWAITING:return l.NEUTRAL;case c.BLOCKED:return l.DANGER;default:return}}),n=i(()=>{switch(r.accessStatus){case c.ACTIVE:return d.FA_UNLOCK_KEYHOLE;case c.BLOCKED:case c.INACTIVE:return d.FA_LOCK_KEYHOLE;case c.AWAITING:return d.FA_HOURGLASS_START;default:return}}),S=i(()=>{switch(r.size){case a.XX_SMALL:return s.SMALL;case a.X_SMALL:return s.SMALL;case a.SMALL:return s.SMALL;case a.MEDIUM:return s.MEDIUM;case a.LARGE:return s.MEDIUM;case a.X_LARGE:default:return s.X_LARGE}}),L=i(()=>{if(r.accessStatus===c.TEAM_MEMBER)return r.teamMemberImageUrl});return{accessStatusColor:t,accessStatusIcon:n,accessStatusSize:S,accessStatusImage:L}}function D(){const t=i(()=>{switch(r.activityStatus){case _.ACTIVE:return l.SUCCESS;default:case _.INACTIVE:return l.NEUTRAL}}),n=i(()=>{switch(r.size){case a.XX_SMALL:return s.X_SMALL;case a.X_SMALL:return s.SMALL;case a.SMALL:return s.SMALL;case a.MEDIUM:return s.MEDIUM;case a.LARGE:return s.MEDIUM;case a.X_LARGE:default:return s.MEDIUM}});return{activityStatusColor:t,activityStatusSize:n}}return(t,n)=>(o(),u("div",{class:h(["ds-avatar",{"-ds-xx-small":t.size===e(a).XX_SMALL,"-ds-x-small":t.size===e(a).X_SMALL,"-ds-small":t.size===e(a).SMALL,"-ds-medium":t.size===e(a).MEDIUM,"-ds-large":t.size===e(a).LARGE,"-ds-x-large":t.size===e(a).X_LARGE}])},[b("div",{class:"ds-avatar__content",style:p({backgroundColor:e(y)})},[t.avatarUrl?(o(),u("img",{key:0,src:t.avatarUrl,alt:t.username,class:"ds-avatar__image"},null,8,q)):(o(),u("span",w,k(e(g)),1))],4),t.activityStatus?(o(),u("div",K,[I(e(C),{color:e(X),elevation:e(M).X_SMALL,size:e(N)},null,8,["color","elevation","size"])])):v("",!0),t.accessStatus?(o(),u("div",F,[I(e(C),{color:e(T),elevation:e(M).SMALL,icon:e(U),size:e(z),"image-url":e(R)},null,8,["color","elevation","icon","size","image-url"])])):v("",!0)],2))}}),x=O(f,[["__scopeId","data-v-e662d6a3"]]);f.__docgenInfo={exportName:"default",displayName:"Avatar",description:"",tags:{},props:[{name:"username",required:!0,type:{name:"string"}},{name:"avatarUrl",required:!1,type:{name:"string"}},{name:"size",required:!1,type:{name:"AvatarSize"}},{name:"activityStatus",required:!1,type:{name:"AvatarActivityStatus"}},{name:"accessStatus",required:!1,type:{name:"AvatarAccessStatus"}},{name:"teamMemberImageUrl",required:!1,type:{name:"string"}}],sourceFiles:["/home/runner/work/design-system/design-system/lib/js/components/Avatar/Avatar.vue"]};export{x as A,a,c as b,_ as c};
@@ -1,4 +1,4 @@
1
- import{A as o,a as r,b as k,c as m}from"./Avatar-BK-QYdBb.js";import"./vue.esm-bundler-DmkhfO_9.js";import"./Badge-DoA9PSt1.js";import"./Icon-Dtb7OFDy.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";const v={title:"Components/Avatar",component:o,render:s=>({components:{Avatar:o},setup(){return{args:s}},template:'<Avatar v-bind="args" />'}),argTypes:{size:{control:"select",options:Object.values(r)},accessStatus:{control:{type:"select",labels:{undefined:"None (undefined)"}},options:[void 0,...Object.values(k)]},activityStatus:{control:{type:"select",labels:{undefined:"None (undefined)"}},options:[void 0,...Object.values(m)]}}},e={args:{size:r.X_SMALL,username:"Dariusz Chrapek",avatarUrl:"https://wiecejnizlek.pl/wp-content/uploads/2021/08/Dariusz_Chrapek-uai-2996x2996-1-scaled.jpeg",teamMemberImageUrl:"https://lek.wiecejnizlek.pl/images/lek/logo-badge.svg"}};e.parameters={design:{type:"figma",url:"https://www.figma.com/design/izQdYyiBR1GQgFkaOIfIJI/LMS---DS-Components?node-id=12364-12175&t=UpUoIm9oCAaH4dEp-4"}};const a={render:s=>({components:{Avatar:o},setup(){return{args:s,names:["Arkadiusz Kowalski","Bartosz Nowak","Cezary Kowalczyk","Dariusz Chrapek","Edward Nowak","Feliks Kowalski","Grzegorz Nowak","Henryk Kowalczyk","Ireneusz Nowak","Jacek Kowalski","Kamil Nowak","Leszek Kowalczyk","Marek Nowak","Norbert Kowalski","Oskar Nowak","Piotr Kowalczyk"]}},template:'<div style="display: flex; gap: 12px; flex-wrap: wrap;"><div v-for="name in names"><Avatar v-bind="args" :username="name" /></div></div>'}),argTypes:{size:{control:"select",options:Object.values(r)},username:{control:!1},avatarUrl:{control:!1}},args:{size:r.X_SMALL,teamMemberImageUrl:"https://lek.wiecejnizlek.pl/images/lek/logo-badge.svg"}};var t,l,i;e.parameters={...e.parameters,docs:{...(t=e.parameters)==null?void 0:t.docs,source:{originalSource:`{
1
+ import{A as o,a as r,b as k,c as m}from"./Avatar-U_7Z6nZ2.js";import"./vue.esm-bundler-DmkhfO_9.js";import"./Badge-DSmH78WU.js";import"./Icon-BPz80dqH.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";const v={title:"Components/Avatar",component:o,render:s=>({components:{Avatar:o},setup(){return{args:s}},template:'<Avatar v-bind="args" />'}),argTypes:{size:{control:"select",options:Object.values(r)},accessStatus:{control:{type:"select",labels:{undefined:"None (undefined)"}},options:[void 0,...Object.values(k)]},activityStatus:{control:{type:"select",labels:{undefined:"None (undefined)"}},options:[void 0,...Object.values(m)]}}},e={args:{size:r.X_SMALL,username:"Dariusz Chrapek",avatarUrl:"https://wiecejnizlek.pl/wp-content/uploads/2021/08/Dariusz_Chrapek-uai-2996x2996-1-scaled.jpeg",teamMemberImageUrl:"https://lek.wiecejnizlek.pl/images/lek/logo-badge.svg"}};e.parameters={design:{type:"figma",url:"https://www.figma.com/design/izQdYyiBR1GQgFkaOIfIJI/LMS---DS-Components?node-id=12364-12175&t=UpUoIm9oCAaH4dEp-4"}};const a={render:s=>({components:{Avatar:o},setup(){return{args:s,names:["Arkadiusz Kowalski","Bartosz Nowak","Cezary Kowalczyk","Dariusz Chrapek","Edward Nowak","Feliks Kowalski","Grzegorz Nowak","Henryk Kowalczyk","Ireneusz Nowak","Jacek Kowalski","Kamil Nowak","Leszek Kowalczyk","Marek Nowak","Norbert Kowalski","Oskar Nowak","Piotr Kowalczyk"]}},template:'<div style="display: flex; gap: 12px; flex-wrap: wrap;"><div v-for="name in names"><Avatar v-bind="args" :username="name" /></div></div>'}),argTypes:{size:{control:"select",options:Object.values(r)},username:{control:!1},avatarUrl:{control:!1}},args:{size:r.X_SMALL,teamMemberImageUrl:"https://lek.wiecejnizlek.pl/images/lek/logo-badge.svg"}};var t,l,i;e.parameters={...e.parameters,docs:{...(t=e.parameters)==null?void 0:t.docs,source:{originalSource:`{
2
2
  args: {
3
3
  size: AVATAR_SIZES.X_SMALL,
4
4
  username: 'Dariusz Chrapek',
@@ -1 +1 @@
1
- import{d as u,q as g,c as n,a as A,n as m,u as a,j as S,g as i,b as p,o as l}from"./vue.esm-bundler-DmkhfO_9.js";import{a as E,b as r}from"./Icon-Dtb7OFDy.js";import{_ as f}from"./_plugin-vue_export-helper-DlAUqK2U.js";const s={X_SMALL:"x-small",SMALL:"small",MEDIUM:"medium",LARGE:"large",X_LARGE:"x-large"},o={PRIMARY:"primary",SUCCESS:"success",DANGER:"danger",FAIL:"fail",NEUTRAL:"neutral"},d={NONE:"none",X_SMALL:"x-small",SMALL:"small"},M={key:0,class:"ds-badge__content"},_=["src"],t=u({__name:"Badge",props:{color:{default:()=>o.PRIMARY},size:{default:()=>s.SMALL},label:{},icon:{},imageUrl:{},elevation:{default:()=>d.X_SMALL}},setup(c){const L=g(()=>{switch(c.size){case s.SMALL:return r.XXX_SMALL;case s.MEDIUM:return r.XX_SMALL;case s.LARGE:return r.X_SMALL;case s.X_LARGE:default:return r.SMALL}});return(e,I)=>(l(),n("div",{class:m(["ds-badge",{"-ds-x-small":e.size===a(s).X_SMALL,"-ds-small":e.size===a(s).SMALL,"-ds-medium":e.size===a(s).MEDIUM,"-ds-large":e.size===a(s).LARGE,"-ds-x-large":e.size===a(s).X_LARGE,"-ds-color-primary":e.color===a(o).PRIMARY,"-ds-color-success":e.color===a(o).SUCCESS,"-ds-color-fail":e.color===a(o).FAIL,"-ds-color-danger":e.color===a(o).DANGER,"-ds-color-neutral":e.color===a(o).NEUTRAL}])},[A("div",{class:m(["ds-badge__elevation",{"-ds-no-elevation":e.elevation===a(d).NONE,"-ds-elevation-s":e.elevation===a(d).SMALL}])},null,2),!e.imageUrl&&!e.icon?(l(),n("div",M,S(e.label),1)):i("",!0),!e.imageUrl&&e.icon?(l(),p(a(E),{key:1,icon:e.icon,size:L.value,class:"ds-badge__icon"},null,8,["icon","size"])):i("",!0),e.imageUrl?(l(),n("img",{key:2,src:e.imageUrl,class:"ds-badge__image"},null,8,_)):i("",!0)],2))}}),v=f(t,[["__scopeId","data-v-a2fff7e3"]]);t.__docgenInfo={exportName:"default",displayName:"Badge",description:"",tags:{},props:[{name:"color",required:!1,type:{name:"BadgeColor"}},{name:"size",required:!1,type:{name:"BadgeSize"}},{name:"label",required:!1,type:{name:"string"}},{name:"icon",required:!1,type:{name:"IconItem"}},{name:"imageUrl",required:!1,type:{name:"string"}},{name:"elevation",required:!1,type:{name:"BadgeElevation"}}],sourceFiles:["/home/runner/work/design-system/design-system/lib/js/components/Badge/Badge.vue"]};export{v as B,s as a,o as b,d as c};
1
+ import{d as u,q as g,c as n,a as A,n as m,u as a,j as S,g as i,b as p,o as l}from"./vue.esm-bundler-DmkhfO_9.js";import{a as E,b as r}from"./Icon-BPz80dqH.js";import{_ as f}from"./_plugin-vue_export-helper-DlAUqK2U.js";const s={X_SMALL:"x-small",SMALL:"small",MEDIUM:"medium",LARGE:"large",X_LARGE:"x-large"},o={PRIMARY:"primary",SUCCESS:"success",DANGER:"danger",FAIL:"fail",NEUTRAL:"neutral"},d={NONE:"none",X_SMALL:"x-small",SMALL:"small"},M={key:0,class:"ds-badge__content"},_=["src"],t=u({__name:"Badge",props:{color:{default:()=>o.PRIMARY},size:{default:()=>s.SMALL},label:{},icon:{},imageUrl:{},elevation:{default:()=>d.X_SMALL}},setup(c){const L=g(()=>{switch(c.size){case s.SMALL:return r.XXX_SMALL;case s.MEDIUM:return r.XX_SMALL;case s.LARGE:return r.X_SMALL;case s.X_LARGE:default:return r.SMALL}});return(e,I)=>(l(),n("div",{class:m(["ds-badge",{"-ds-x-small":e.size===a(s).X_SMALL,"-ds-small":e.size===a(s).SMALL,"-ds-medium":e.size===a(s).MEDIUM,"-ds-large":e.size===a(s).LARGE,"-ds-x-large":e.size===a(s).X_LARGE,"-ds-color-primary":e.color===a(o).PRIMARY,"-ds-color-success":e.color===a(o).SUCCESS,"-ds-color-fail":e.color===a(o).FAIL,"-ds-color-danger":e.color===a(o).DANGER,"-ds-color-neutral":e.color===a(o).NEUTRAL}])},[A("div",{class:m(["ds-badge__elevation",{"-ds-no-elevation":e.elevation===a(d).NONE,"-ds-elevation-s":e.elevation===a(d).SMALL}])},null,2),!e.imageUrl&&!e.icon?(l(),n("div",M,S(e.label),1)):i("",!0),!e.imageUrl&&e.icon?(l(),p(a(E),{key:1,icon:e.icon,size:L.value,class:"ds-badge__icon"},null,8,["icon","size"])):i("",!0),e.imageUrl?(l(),n("img",{key:2,src:e.imageUrl,class:"ds-badge__image"},null,8,_)):i("",!0)],2))}}),v=f(t,[["__scopeId","data-v-a2fff7e3"]]);t.__docgenInfo={exportName:"default",displayName:"Badge",description:"",tags:{},props:[{name:"color",required:!1,type:{name:"BadgeColor"}},{name:"size",required:!1,type:{name:"BadgeSize"}},{name:"label",required:!1,type:{name:"string"}},{name:"icon",required:!1,type:{name:"IconItem"}},{name:"imageUrl",required:!1,type:{name:"string"}},{name:"elevation",required:!1,type:{name:"BadgeElevation"}}],sourceFiles:["/home/runner/work/design-system/design-system/lib/js/components/Badge/Badge.vue"]};export{v as B,s as a,o as b,d as c};
@@ -1,4 +1,4 @@
1
- import{B as r,a as o,b as t,c as a}from"./Badge-DoA9PSt1.js";import{I as s}from"./Icon-Dtb7OFDy.js";import{B as A,a as v}from"./Banner-DsBGvY85.js";import"./vue.esm-bundler-DmkhfO_9.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./Button-C4sEOlKs.js";import"./Divider-CeZli6az.js";import"./IconButton-ClJVjUWD.js";import"./device-9fgosCm4.js";function I(e){return`<div style="display: inline-flex; background: #ccc; padding: 16px; line-height: 0; margin-bottom: 16px;">${e}</div>
1
+ import{B as r,a as o,b as t,c as a}from"./Badge-DSmH78WU.js";import{I as s}from"./Icon-BPz80dqH.js";import{B as A,a as v}from"./Banner-DDGfdClH.js";import"./vue.esm-bundler-DmkhfO_9.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./Button-yeAor0pZ.js";import"./Divider-CeZli6az.js";import"./IconButton-gTykCZIi.js";import"./device-9fgosCm4.js";function I(e){return`<div style="display: inline-flex; background: #ccc; padding: 16px; line-height: 0; margin-bottom: 16px;">${e}</div>
2
2
  <ds-banner :color="BANNER_COLORS.WARNING" title="Taka kombinacja jest niezgodna z design systemem!" v-if="invalidUsage" />
3
3
  `}const f={title:"Components/Badges/Badge",component:r,render:e=>({components:{Badge:r,DsBanner:A},setup(){return{BANNER_COLORS:v}},computed:{invalidUsage(){const L=(e.size===o.X_SMALL||e.size===o.SMALL)&&e.label,S=e.size===o.X_SMALL&&(e.icon||e.imageUrl);return L||S},props(){return{...e,icon:s[e.icon]}}},template:I('<Badge v-bind="props" />')}),argTypes:{color:{control:"select",options:Object.values(t)},size:{control:"select",options:Object.values(o)},icon:{control:"select",options:[null,...Object.keys(s)]},elevation:{control:"select",options:Object.values(a)}}},n={args:{color:t.PRIMARY,size:o.SMALL,label:"",icon:void 0,imageUrl:"",elevation:a.X_SMALL}};n.parameters={design:{type:"figma",url:"https://www.figma.com/design/izQdYyiBR1GQgFkaOIfIJI/LMS---DS-Components?node-id=12364-10601&m=dev"}};const i={args:{color:t.PRIMARY,size:o.SMALL,label:"",icon:void 0,imageUrl:"https://lek.wiecejnizlek.pl/images/lek/logo-badge.svg",elevation:a.X_SMALL}};var l,c,m;n.parameters={...n.parameters,docs:{...(l=n.parameters)==null?void 0:l.docs,source:{originalSource:`{
4
4
  args: {
@@ -1 +1 @@
1
- import{a as u,I as d,b as s}from"./Icon-Dtb7OFDy.js";import{d as S,t as c,c as f,b as E,g as m,a as n,j as r,n as O,r as p,o}from"./vue.esm-bundler-DmkhfO_9.js";import{_}from"./_plugin-vue_export-helper-DlAUqK2U.js";const l={SUCCESS:"success",WARNING:"warning",FAIL:"fail",INVERTED:"inverted",NEUTRAL:"neutral",NEUTRAL_WEAK:"neutral-weak"},a={MEDIUM:"medium",SMALL:"small",XSMALL:"extra small"},t=S({name:"BadgeScore",components:{WnlIcon:u},props:{text:{type:String,required:!0},suffix:{type:String,required:!1,default:null},color:{type:String,required:!0,validator(e){return Object.values(l).includes(e)}},icon:{type:Object,default:null,validator(e){return Object.values(d).includes(c(e))}},size:{type:String,default:a.MEDIUM,validator(e){return Object.values(a).includes(e)}},fullWidth:{type:Boolean,default:!1}},data(){return{ICON_SIZES:Object.freeze(s),BADGE_SCORE_COLORS:Object.freeze(l),BADGE_SCORE_SIZES:Object.freeze(a)}},computed:{iconSize(){return this.size===a.SMALL?s.X_SMALL:this.size===a.XSMALL?s.XXX_SMALL:s.SMALL}}}),A={class:"ds-badgeScore__text"},C={class:"ds-badgeScore__suffix"};function L(e,R,g,B,I,D){const i=p("wnl-icon");return o(),f("div",{class:O(["ds-badgeScore",{"-ds-success":e.color===e.BADGE_SCORE_COLORS.SUCCESS,"-ds-warning":e.color===e.BADGE_SCORE_COLORS.WARNING,"-ds-fail":e.color===e.BADGE_SCORE_COLORS.FAIL,"-ds-inverted":e.color===e.BADGE_SCORE_COLORS.INVERTED,"-ds-neutralWeak":e.color===e.BADGE_SCORE_COLORS.NEUTRAL_WEAK,"-ds-neutral":e.color===e.BADGE_SCORE_COLORS.NEUTRAL,"-ds-small":e.size===e.BADGE_SCORE_SIZES.SMALL,"-ds-xsmall":e.size===e.BADGE_SCORE_SIZES.XSMALL,"-ds-fullWidth":e.fullWidth}])},[e.icon?(o(),E(i,{key:0,class:"ds-badgeScore__icon",icon:e.icon,size:e.iconSize},null,8,["icon","size"])):m("",!0),n("div",A,r(e.text),1),n("span",C,r(e.suffix),1)],2)}const N=_(t,[["render",L],["__scopeId","data-v-90b52384"]]);t.__docgenInfo={displayName:"BadgeScore",exportName:"default",description:"",tags:{},props:[{name:"text",type:{name:"string"},required:!0},{name:"suffix",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"null"}},{name:"color",type:{name:"string"},required:!0},{name:"icon",type:{name:"object"},defaultValue:{func:!1,value:"null"}},{name:"size",type:{name:"string"},defaultValue:{func:!1,value:"BADGE_SCORE_SIZES.MEDIUM"}},{name:"fullWidth",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}}],sourceFiles:["/home/runner/work/design-system/design-system/lib/js/components/BadgeScore/BadgeScore.vue"]};export{N as B,l as a,a as b};
1
+ import{a as u,I as d,b as s}from"./Icon-BPz80dqH.js";import{d as S,t as c,c as f,b as E,g as m,a as n,j as r,n as O,r as p,o}from"./vue.esm-bundler-DmkhfO_9.js";import{_}from"./_plugin-vue_export-helper-DlAUqK2U.js";const l={SUCCESS:"success",WARNING:"warning",FAIL:"fail",INVERTED:"inverted",NEUTRAL:"neutral",NEUTRAL_WEAK:"neutral-weak"},a={MEDIUM:"medium",SMALL:"small",XSMALL:"extra small"},t=S({name:"BadgeScore",components:{WnlIcon:u},props:{text:{type:String,required:!0},suffix:{type:String,required:!1,default:null},color:{type:String,required:!0,validator(e){return Object.values(l).includes(e)}},icon:{type:Object,default:null,validator(e){return Object.values(d).includes(c(e))}},size:{type:String,default:a.MEDIUM,validator(e){return Object.values(a).includes(e)}},fullWidth:{type:Boolean,default:!1}},data(){return{ICON_SIZES:Object.freeze(s),BADGE_SCORE_COLORS:Object.freeze(l),BADGE_SCORE_SIZES:Object.freeze(a)}},computed:{iconSize(){return this.size===a.SMALL?s.X_SMALL:this.size===a.XSMALL?s.XXX_SMALL:s.SMALL}}}),A={class:"ds-badgeScore__text"},C={class:"ds-badgeScore__suffix"};function L(e,R,g,B,I,D){const i=p("wnl-icon");return o(),f("div",{class:O(["ds-badgeScore",{"-ds-success":e.color===e.BADGE_SCORE_COLORS.SUCCESS,"-ds-warning":e.color===e.BADGE_SCORE_COLORS.WARNING,"-ds-fail":e.color===e.BADGE_SCORE_COLORS.FAIL,"-ds-inverted":e.color===e.BADGE_SCORE_COLORS.INVERTED,"-ds-neutralWeak":e.color===e.BADGE_SCORE_COLORS.NEUTRAL_WEAK,"-ds-neutral":e.color===e.BADGE_SCORE_COLORS.NEUTRAL,"-ds-small":e.size===e.BADGE_SCORE_SIZES.SMALL,"-ds-xsmall":e.size===e.BADGE_SCORE_SIZES.XSMALL,"-ds-fullWidth":e.fullWidth}])},[e.icon?(o(),E(i,{key:0,class:"ds-badgeScore__icon",icon:e.icon,size:e.iconSize},null,8,["icon","size"])):m("",!0),n("div",A,r(e.text),1),n("span",C,r(e.suffix),1)],2)}const N=_(t,[["render",L],["__scopeId","data-v-90b52384"]]);t.__docgenInfo={displayName:"BadgeScore",exportName:"default",description:"",tags:{},props:[{name:"text",type:{name:"string"},required:!0},{name:"suffix",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"null"}},{name:"color",type:{name:"string"},required:!0},{name:"icon",type:{name:"object"},defaultValue:{func:!1,value:"null"}},{name:"size",type:{name:"string"},defaultValue:{func:!1,value:"BADGE_SCORE_SIZES.MEDIUM"}},{name:"fullWidth",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}}],sourceFiles:["/home/runner/work/design-system/design-system/lib/js/components/BadgeScore/BadgeScore.vue"]};export{N as B,l as a,a as b};
@@ -1,4 +1,4 @@
1
- import{B as s,a,b as S}from"./BadgeScore-DLegDXlH.js";import{I as m}from"./Icon-Dtb7OFDy.js";import"./vue.esm-bundler-DmkhfO_9.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";const B={title:"Components/Badges/BadgeScore",component:s},C=o=>({components:{BadgeScore:s},setup(){return o},template:'<badge-score :color="color" :suffix="suffix" :text="text" :size="size" :icon="ICONS[icon]" :fullWidth="fullWidth" />',data(){return{ICONS:Object.freeze(m)}}}),e=C.bind({});e.args={text:"42",suffix:"%",fullWidth:!1,color:a.SUCCESS,icon:"FA_LIGHTBULB",size:S.MEDIUM};e.argTypes={text:{control:"text"},suffix:{control:"text"},color:{control:"select",options:Object.values(a)},icon:{control:"select",options:[null,...Object.keys(m)]},size:{control:"select",options:Object.values(S)}};e.parameters={design:{type:"figma",url:"https://www.figma.com/file/izQdYyiBR1GQgFkaOIfIJI/LMS---DS---Components?node-id=4348%3A77330"}};const g=o=>({components:{BadgeScore:s},setup(){return o},template:'<badge-score :color="BADGE_SCORE_COLORS.WARNING" suffix="%" text="1" :full-width="fullWidth" />',data(){return{BADGE_SCORE_COLORS:Object.freeze(a)}}}),t=g.bind({});t.args={fullWidth:!1};const r=g.bind({});r.args={fullWidth:!0};var c,i,l;e.parameters={...e.parameters,docs:{...(c=e.parameters)==null?void 0:c.docs,source:{originalSource:`args => ({
1
+ import{B as s,a,b as S}from"./BadgeScore-GfZixoUY.js";import{I as m}from"./Icon-BPz80dqH.js";import"./vue.esm-bundler-DmkhfO_9.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";const B={title:"Components/Badges/BadgeScore",component:s},C=o=>({components:{BadgeScore:s},setup(){return o},template:'<badge-score :color="color" :suffix="suffix" :text="text" :size="size" :icon="ICONS[icon]" :fullWidth="fullWidth" />',data(){return{ICONS:Object.freeze(m)}}}),e=C.bind({});e.args={text:"42",suffix:"%",fullWidth:!1,color:a.SUCCESS,icon:"FA_LIGHTBULB",size:S.MEDIUM};e.argTypes={text:{control:"text"},suffix:{control:"text"},color:{control:"select",options:Object.values(a)},icon:{control:"select",options:[null,...Object.keys(m)]},size:{control:"select",options:Object.values(S)}};e.parameters={design:{type:"figma",url:"https://www.figma.com/file/izQdYyiBR1GQgFkaOIfIJI/LMS---DS---Components?node-id=4348%3A77330"}};const g=o=>({components:{BadgeScore:s},setup(){return o},template:'<badge-score :color="BADGE_SCORE_COLORS.WARNING" suffix="%" text="1" :full-width="fullWidth" />',data(){return{BADGE_SCORE_COLORS:Object.freeze(a)}}}),t=g.bind({});t.args={fullWidth:!1};const r=g.bind({});r.args={fullWidth:!0};var c,i,l;e.parameters={...e.parameters,docs:{...(c=e.parameters)==null?void 0:c.docs,source:{originalSource:`args => ({
2
2
  components: {
3
3
  BadgeScore
4
4
  },
@@ -1 +1 @@
1
- import{D as m,b as E,c as b,B as C,a as v,i as B,I as R}from"./Button-C4sEOlKs.js";import{D as U,a as A}from"./Divider-CeZli6az.js";import{a as L,I as p}from"./Icon-Dtb7OFDy.js";import{I as h}from"./IconButton-ClJVjUWD.js";import{d as y,t as g,c as s,a,n as r,k as l,g as o,j as O,f as u,e as D,r as i,o as t,l as k}from"./vue.esm-bundler-DmkhfO_9.js";import{_ as V}from"./_plugin-vue_export-helper-DlAUqK2U.js";const n={DEFAULT:"default",NEUTRAL:"neutral",INFO:"info",SUCCESS:"success",WARNING:"warning",FAIL:"fail",DANGER:"danger"},c={HORIZONTAL:"horizontal",VERTICAL:"vertical"},T=y({name:"Banner",components:{DsButton:m,DsDivider:U,DsIconButton:h,DsIcon:L},props:{icon:{type:Object,default:null,validator:e=>Object.values(p).includes(g(e))},buttonText:{type:String,default:null},closable:{type:Boolean,default:!1},color:{type:String,default:n.DEFAULT,validator:e=>Object.values(n).includes(e)},title:{type:String,required:!0},layout:{type:String,default:c.HORIZONTAL,validator:e=>Object.values(c).includes(e)},isExpanded:{type:Boolean,default:!1},isIconHiddenOnMobile:{type:Boolean,default:!1}},emits:["button-clicked","close","update:isExpanded"],data(){return{isExpandedInternal:!1,BUTTON_COLORS:Object.freeze(E),BUTTON_RADIUSES:Object.freeze(b),BUTTON_SIZES:Object.freeze(C),BUTTON_TYPES:Object.freeze(v),DIVIDER_PROMINENCES:Object.freeze(A),ICON_BUTTON_COLORS:Object.freeze(B),ICON_BUTTON_SIZES:Object.freeze(R),ICONS:Object.freeze(p)}},computed:{colorClass(){return{[n.NEUTRAL]:"-ds-neutral",[n.DEFAULT]:"-ds-default",[n.FAIL]:"-ds-fail",[n.INFO]:"-ds-info",[n.SUCCESS]:"-ds-success",[n.WARNING]:"-ds-warning",[n.DANGER]:"-ds-danger"}[this.color]},layoutClass(){return this.layout===c.VERTICAL?"-ds-vertical":"-ds-horizontal"}},watch:{isExpanded:{handler(e){e!==this.isExpandedInternal&&(this.isExpandedInternal=e)},immediate:!0}},methods:{toggleExpandedText(){this.isExpandedInternal=!this.isExpandedInternal,this.$emit("update:isExpanded",this.isExpandedInternal)}}}),z={class:"ds-banner"},$={class:"ds-banner__content"},j={class:"ds-banner__header"},x={class:"ds-banner__textWrapper"},F={class:"ds-banner__titleWrapper"},M=["textContent"],Z={key:0,class:"ds-banner__defaultText"},P={class:"ds-banner__rightWrapper"},H={key:0,class:"ds-banner__buttonWrapper"},W={key:1,class:"ds-banner__rightSlot"},w={key:0,class:"ds-banner__expander"},G={key:1,class:"ds-banner__close"},Y={key:0,class:"ds-banner__expandedContainer"},q={class:"ds-banner__expandedText"};function K(e,d,X,J,Q,ee){const N=i("ds-icon"),f=i("ds-button"),_=i("ds-icon-button"),S=i("ds-divider");return t(),s("div",z,[a("div",{class:r(["ds-banner__inner",[e.colorClass,e.layoutClass]])},[a("div",$,[a("div",j,[e.icon?(t(),s("div",{key:0,class:r(["ds-banner__iconContainer",{"-ds-hideOnMobile":e.isIconHiddenOnMobile}])},[l(N,{class:r(["ds-banner__icon",[e.colorClass]]),icon:e.icon},null,8,["class","icon"])],2)):o("",!0),a("div",x,[a("div",F,[a("div",{class:"ds-banner__title",textContent:O(e.title)},null,8,M),e.$slots.defaultText?(t(),s("div",Z,[u(e.$slots,"defaultText",{},void 0,!0)])):o("",!0)]),a("div",P,[e.buttonText?(t(),s("div",H,[l(f,{class:"ds-banner__ctaButton",color:e.BUTTON_COLORS.NEUTRAL,type:e.BUTTON_TYPES.OUTLINED,size:e.BUTTON_SIZES.SMALL,onClick:d[0]||(d[0]=I=>e.$emit("button-clicked"))},{default:D(()=>[k(O(e.buttonText),1)]),_:1},8,["color","type","size"])])):o("",!0),e.$slots.rightSlot?(t(),s("div",W,[u(e.$slots,"rightSlot",{},void 0,!0)])):o("",!0)])])]),e.$slots.expandedText?(t(),s("div",w,[l(_,{size:e.ICON_BUTTON_SIZES.SMALL,icon:e.isExpandedInternal?e.ICONS.FA_CHEVRON_UP:e.ICONS.FA_CHEVRON_DOWN,color:e.ICON_BUTTON_COLORS.NEUTRAL,radius:e.BUTTON_RADIUSES.CAPSULE,touchable:!1,onClick:e.toggleExpandedText},null,8,["size","icon","color","radius","onClick"])])):o("",!0),!e.$slots.expandedText&&e.closable?(t(),s("div",G,[l(_,{size:e.ICON_BUTTON_SIZES.SMALL,icon:e.ICONS.FA_XMARK,color:e.ICON_BUTTON_COLORS.NEUTRAL,radius:e.BUTTON_RADIUSES.CAPSULE,touchable:!1,onClick:d[1]||(d[1]=I=>e.$emit("close"))},null,8,["size","icon","color","radius"])])):o("",!0)]),e.$slots.expandedText&&e.isExpandedInternal?(t(),s("div",Y,[l(S,{prominence:e.DIVIDER_PROMINENCES.STRONG},null,8,["prominence"]),a("div",q,[u(e.$slots,"expandedText",{},void 0,!0)])])):o("",!0)],2)])}const de=V(T,[["render",K],["__scopeId","data-v-bc9b0b1a"]]);T.__docgenInfo={displayName:"Banner",exportName:"default",description:"",tags:{},props:[{name:"icon",type:{name:"object"},defaultValue:{func:!1,value:"null"}},{name:"buttonText",type:{name:"string"},defaultValue:{func:!1,value:"null"}},{name:"closable",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}},{name:"color",type:{name:"string"},defaultValue:{func:!1,value:"BANNER_COLORS.DEFAULT"}},{name:"title",type:{name:"string"},required:!0},{name:"layout",type:{name:"string"},defaultValue:{func:!1,value:"BANNER_LAYOUTS.HORIZONTAL"}},{name:"isExpanded",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}},{name:"isIconHiddenOnMobile",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}}],events:[{name:"button-clicked"},{name:"close"},{name:"update:isExpanded",type:{names:["undefined"]}}],slots:[{name:"defaultText"},{name:"rightSlot"},{name:"expandedText"}],sourceFiles:["/home/runner/work/design-system/design-system/lib/js/components/Banner/Banner.vue"]};export{de as B,n as a,c as b};
1
+ import{D as m,b as E,c as b,B as C,a as v,i as B,I as R}from"./Button-yeAor0pZ.js";import{D as U,a as A}from"./Divider-CeZli6az.js";import{a as L,I as p}from"./Icon-BPz80dqH.js";import{I as h}from"./IconButton-gTykCZIi.js";import{d as y,t as g,c as s,a,n as r,k as l,g as o,j as O,f as u,e as D,r as i,o as t,l as k}from"./vue.esm-bundler-DmkhfO_9.js";import{_ as V}from"./_plugin-vue_export-helper-DlAUqK2U.js";const n={DEFAULT:"default",NEUTRAL:"neutral",INFO:"info",SUCCESS:"success",WARNING:"warning",FAIL:"fail",DANGER:"danger"},c={HORIZONTAL:"horizontal",VERTICAL:"vertical"},T=y({name:"Banner",components:{DsButton:m,DsDivider:U,DsIconButton:h,DsIcon:L},props:{icon:{type:Object,default:null,validator:e=>Object.values(p).includes(g(e))},buttonText:{type:String,default:null},closable:{type:Boolean,default:!1},color:{type:String,default:n.DEFAULT,validator:e=>Object.values(n).includes(e)},title:{type:String,required:!0},layout:{type:String,default:c.HORIZONTAL,validator:e=>Object.values(c).includes(e)},isExpanded:{type:Boolean,default:!1},isIconHiddenOnMobile:{type:Boolean,default:!1}},emits:["button-clicked","close","update:isExpanded"],data(){return{isExpandedInternal:!1,BUTTON_COLORS:Object.freeze(E),BUTTON_RADIUSES:Object.freeze(b),BUTTON_SIZES:Object.freeze(C),BUTTON_TYPES:Object.freeze(v),DIVIDER_PROMINENCES:Object.freeze(A),ICON_BUTTON_COLORS:Object.freeze(B),ICON_BUTTON_SIZES:Object.freeze(R),ICONS:Object.freeze(p)}},computed:{colorClass(){return{[n.NEUTRAL]:"-ds-neutral",[n.DEFAULT]:"-ds-default",[n.FAIL]:"-ds-fail",[n.INFO]:"-ds-info",[n.SUCCESS]:"-ds-success",[n.WARNING]:"-ds-warning",[n.DANGER]:"-ds-danger"}[this.color]},layoutClass(){return this.layout===c.VERTICAL?"-ds-vertical":"-ds-horizontal"}},watch:{isExpanded:{handler(e){e!==this.isExpandedInternal&&(this.isExpandedInternal=e)},immediate:!0}},methods:{toggleExpandedText(){this.isExpandedInternal=!this.isExpandedInternal,this.$emit("update:isExpanded",this.isExpandedInternal)}}}),z={class:"ds-banner"},$={class:"ds-banner__content"},j={class:"ds-banner__header"},x={class:"ds-banner__textWrapper"},F={class:"ds-banner__titleWrapper"},M=["textContent"],Z={key:0,class:"ds-banner__defaultText"},P={class:"ds-banner__rightWrapper"},H={key:0,class:"ds-banner__buttonWrapper"},W={key:1,class:"ds-banner__rightSlot"},w={key:0,class:"ds-banner__expander"},G={key:1,class:"ds-banner__close"},Y={key:0,class:"ds-banner__expandedContainer"},q={class:"ds-banner__expandedText"};function K(e,d,X,J,Q,ee){const N=i("ds-icon"),f=i("ds-button"),_=i("ds-icon-button"),S=i("ds-divider");return t(),s("div",z,[a("div",{class:r(["ds-banner__inner",[e.colorClass,e.layoutClass]])},[a("div",$,[a("div",j,[e.icon?(t(),s("div",{key:0,class:r(["ds-banner__iconContainer",{"-ds-hideOnMobile":e.isIconHiddenOnMobile}])},[l(N,{class:r(["ds-banner__icon",[e.colorClass]]),icon:e.icon},null,8,["class","icon"])],2)):o("",!0),a("div",x,[a("div",F,[a("div",{class:"ds-banner__title",textContent:O(e.title)},null,8,M),e.$slots.defaultText?(t(),s("div",Z,[u(e.$slots,"defaultText",{},void 0,!0)])):o("",!0)]),a("div",P,[e.buttonText?(t(),s("div",H,[l(f,{class:"ds-banner__ctaButton",color:e.BUTTON_COLORS.NEUTRAL,type:e.BUTTON_TYPES.OUTLINED,size:e.BUTTON_SIZES.SMALL,onClick:d[0]||(d[0]=I=>e.$emit("button-clicked"))},{default:D(()=>[k(O(e.buttonText),1)]),_:1},8,["color","type","size"])])):o("",!0),e.$slots.rightSlot?(t(),s("div",W,[u(e.$slots,"rightSlot",{},void 0,!0)])):o("",!0)])])]),e.$slots.expandedText?(t(),s("div",w,[l(_,{size:e.ICON_BUTTON_SIZES.SMALL,icon:e.isExpandedInternal?e.ICONS.FA_CHEVRON_UP:e.ICONS.FA_CHEVRON_DOWN,color:e.ICON_BUTTON_COLORS.NEUTRAL,radius:e.BUTTON_RADIUSES.CAPSULE,touchable:!1,onClick:e.toggleExpandedText},null,8,["size","icon","color","radius","onClick"])])):o("",!0),!e.$slots.expandedText&&e.closable?(t(),s("div",G,[l(_,{size:e.ICON_BUTTON_SIZES.SMALL,icon:e.ICONS.FA_XMARK,color:e.ICON_BUTTON_COLORS.NEUTRAL,radius:e.BUTTON_RADIUSES.CAPSULE,touchable:!1,onClick:d[1]||(d[1]=I=>e.$emit("close"))},null,8,["size","icon","color","radius"])])):o("",!0)]),e.$slots.expandedText&&e.isExpandedInternal?(t(),s("div",Y,[l(S,{prominence:e.DIVIDER_PROMINENCES.STRONG},null,8,["prominence"]),a("div",q,[u(e.$slots,"expandedText",{},void 0,!0)])])):o("",!0)],2)])}const de=V(T,[["render",K],["__scopeId","data-v-bc9b0b1a"]]);T.__docgenInfo={displayName:"Banner",exportName:"default",description:"",tags:{},props:[{name:"icon",type:{name:"object"},defaultValue:{func:!1,value:"null"}},{name:"buttonText",type:{name:"string"},defaultValue:{func:!1,value:"null"}},{name:"closable",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}},{name:"color",type:{name:"string"},defaultValue:{func:!1,value:"BANNER_COLORS.DEFAULT"}},{name:"title",type:{name:"string"},required:!0},{name:"layout",type:{name:"string"},defaultValue:{func:!1,value:"BANNER_LAYOUTS.HORIZONTAL"}},{name:"isExpanded",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}},{name:"isIconHiddenOnMobile",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}}],events:[{name:"button-clicked"},{name:"close"},{name:"update:isExpanded",type:{names:["undefined"]}}],slots:[{name:"defaultText"},{name:"rightSlot"},{name:"expandedText"}],sourceFiles:["/home/runner/work/design-system/design-system/lib/js/components/Banner/Banner.vue"]};export{de as B,n as a,c as b};
@@ -1,4 +1,4 @@
1
- import{B as a,a as l,b as s}from"./Banner-DsBGvY85.js";import{I as d}from"./Icon-Dtb7OFDy.js";import"./Button-C4sEOlKs.js";import"./vue.esm-bundler-DmkhfO_9.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./Divider-CeZli6az.js";import"./IconButton-ClJVjUWD.js";import"./device-9fgosCm4.js";const{useArgs:c}=__STORYBOOK_MODULE_PREVIEW_API__,E={title:"Components/Banner",component:a},m=r=>{const[b,i]=c();return{components:{Banner:a},setup(){return r},data(){return{ICONS:Object.freeze(d)}},methods:{onIsExpandedUpdated(p){i({isExpanded:p})}},template:`
1
+ import{B as a,a as l,b as s}from"./Banner-DDGfdClH.js";import{I as d}from"./Icon-BPz80dqH.js";import"./Button-yeAor0pZ.js";import"./vue.esm-bundler-DmkhfO_9.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./Divider-CeZli6az.js";import"./IconButton-gTykCZIi.js";import"./device-9fgosCm4.js";const{useArgs:c}=__STORYBOOK_MODULE_PREVIEW_API__,E={title:"Components/Banner",component:a},m=r=>{const[b,i]=c();return{components:{Banner:a},setup(){return r},data(){return{ICONS:Object.freeze(d)}},methods:{onIsExpandedUpdated(p){i({isExpanded:p})}},template:`
2
2
  <banner
3
3
  :closable="closable"
4
4
  :icon="ICONS[icon]"
@@ -0,0 +1 @@
1
+ import{d as y,t as v,b,h as T,e as l,n as S,r as u,o as g,f as n,a as E,k as L}from"./vue.esm-bundler-DmkhfO_9.js";import{I as R,c as C}from"./Icon-BPz80dqH.js";import{D as h,T as r,c as i}from"./TextGroup-D5le3QVY.js";import{i as O,R as d,c as s,b as p,a as t,d as _,e as f,f as D}from"./GroupRichListItem-8v8vJXgH.js";import{_ as V}from"./_plugin-vue_export-helper-DlAUqK2U.js";const m=y({name:"BasicRichListItem",components:{DsTextGroup:h,RichListItem:O},props:{type:{type:String,default:d.DEFAULT,validator(e){return Object.values(d).includes(e)}},state:{type:String,default:s.DEFAULT,validator(e){return Object.values(s).includes(e)}},layout:{type:String,default:p.HORIZONTAL,validator(e){return Object.values(p).includes(e)}},size:{type:String,default:t.MEDIUM,validator(e){return Object.values(t).includes(e)}},isInteractive:{type:Boolean,default:!0},isDimmed:{type:Boolean,default:!1},isDraggable:{type:Boolean,default:!0},icon:{type:Object,default:null,validator(e){return Object.values(R).includes(v(e))}},iconColor:{type:String,default:null,validator(e){return Object.values(C).includes(e)}},iconColorHex:{type:String,default:null},borderColor:{type:String,default:null,validator(e){return Object.values(_).includes(e)}},borderColorHex:{type:String,default:null},text:{type:String,required:!0},textEllipsis:{type:Boolean,default:!1},eyebrow:{type:String,default:null},eyebrowEllipsis:{type:Boolean,default:!1},isEyebrowUppercase:{type:Boolean,default:!1},supportingText:{type:String,default:null},supportingTextEllipsis:{type:Boolean,default:!1},isSupportingTextTooltipEnabled:{type:Boolean,default:!1},backgroundColor:{type:String,default:f.NEUTRAL,validator(e){return Object.values(f).includes(e)}},elevation:{type:String,default:null,validator(e){return Object.values(D).includes(e)}},hasDraggableHandler:{type:Boolean,default:!0},hasActionsSlotDivider:{type:Boolean,default:!0},isSelectable:{type:Boolean,default:!0},isSelected:{type:Boolean,default:!1},isTextGroupSelected:{type:Boolean,default:!1}},emits:{"update:is-selected":e=>!0},data(){return{hovered:!1,RICH_LIST_ITEM_SIZE:Object.freeze(t),RICH_LIST_ITEM_STATE:Object.freeze(s)}},computed:{textGroupSize(){return{[t.SMALL]:r.SMALL,[t.MEDIUM]:r.MEDIUM}[this.size]},textGroupState(){return this.state===s.LOADING?i.LOADING:this.hovered&&this.isInteractive?i.HOVERED:i.DEFAULT}}}),M={class:"ds-basicRichListItem__content"};function A(e,a,H,B,U,w){const c=u("ds-text-group"),I=u("rich-list-item");return g(),b(I,{size:e.size,type:e.type,layout:e.layout,"is-interactive":e.isInteractive,"is-draggable":e.isDraggable,icon:e.icon,"icon-color":e.iconColor,"icon-color-hex":e.iconColorHex,"is-dimmed":e.isDimmed,"border-color":e.borderColor,"border-color-hex":e.borderColorHex,state:e.state,"background-color":e.backgroundColor,elevation:e.elevation,"has-draggable-handler":e.hasDraggableHandler,"has-actions-slot-divider":e.hasActionsSlotDivider,"is-selectable":e.isSelectable,"is-selected":e.isSelected,class:S(["ds-basicRichListItem",{"-ds-loading":e.state===e.RICH_LIST_ITEM_STATE.LOADING,"-ds-small":e.size===e.RICH_LIST_ITEM_SIZE.SMALL}]),onMouseover:a[0]||(a[0]=o=>e.hovered=!0),onMouseleave:a[1]||(a[1]=o=>e.hovered=!1),"onUpdate:isSelected":a[2]||(a[2]=o=>e.$emit("update:is-selected",o))},T({content:l(()=>[E("div",M,[L(c,{"eyebrow-text":e.eyebrow,"eyebrow-text-ellipsis":e.eyebrowEllipsis,"is-eyebrow-text-uppercase":e.isEyebrowUppercase,"is-selected":e.isTextGroupSelected,"is-interactive":!1,"main-text":e.text,"main-text-ellipsis":e.textEllipsis,"supporting-text":e.supportingText,"supporting-text-ellipsis":e.supportingTextEllipsis,size:e.textGroupSize,state:e.textGroupState,"is-supporting-text-tooltip-enabled":e.isSupportingTextTooltipEnabled},null,8,["eyebrow-text","eyebrow-text-ellipsis","is-eyebrow-text-uppercase","is-selected","main-text","main-text-ellipsis","supporting-text","supporting-text-ellipsis","size","state","is-supporting-text-tooltip-enabled"])])]),_:2},[e.$slots.media?{name:"media",fn:l(()=>[n(e.$slots,"media",{},void 0,!0)]),key:"0"}:void 0,e.$slots.metadata?{name:"metadata",fn:l(()=>[n(e.$slots,"metadata",{},void 0,!0)]),key:"1"}:void 0,e.$slots.actions?{name:"actions",fn:l(()=>[n(e.$slots,"actions",{},void 0,!0)]),key:"2"}:void 0]),1032,["size","type","layout","is-interactive","is-draggable","icon","icon-color","icon-color-hex","is-dimmed","border-color","border-color-hex","state","background-color","elevation","has-draggable-handler","has-actions-slot-divider","is-selectable","is-selected","class"])}const k=V(m,[["render",A],["__scopeId","data-v-c8b54c95"]]);m.__docgenInfo={displayName:"BasicRichListItem",exportName:"default",description:"",tags:{},props:[{name:"type",type:{name:"RichListItemType"},defaultValue:{func:!1,value:"RICH_LIST_ITEM_TYPE.DEFAULT"}},{name:"state",type:{name:"RichListItemState"},defaultValue:{func:!1,value:"RICH_LIST_ITEM_STATE.DEFAULT"}},{name:"layout",type:{name:"RichListItemLayout"},defaultValue:{func:!1,value:"RICH_LIST_ITEM_LAYOUT.HORIZONTAL"}},{name:"size",type:{name:"RichListItemSize"},defaultValue:{func:!1,value:"RICH_LIST_ITEM_SIZE.MEDIUM"}},{name:"isInteractive",type:{name:"boolean"},defaultValue:{func:!1,value:"true"}},{name:"isDimmed",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}},{name:"isDraggable",type:{name:"boolean"},defaultValue:{func:!1,value:"true"}},{name:"icon",type:{name:"IconItem"},defaultValue:{func:!1,value:"null"}},{name:"iconColor",type:{name:"IconColor"},defaultValue:{func:!1,value:"null"}},{name:"iconColorHex",type:{name:"string"},defaultValue:{func:!1,value:"null"}},{name:"borderColor",type:{name:"RichListItemBorderColor"},defaultValue:{func:!1,value:"null"}},{name:"borderColorHex",type:{name:"string"},defaultValue:{func:!1,value:"null"}},{name:"text",type:{name:"string"},required:!0},{name:"textEllipsis",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}},{name:"eyebrow",type:{name:"string"},defaultValue:{func:!1,value:"null"}},{name:"eyebrowEllipsis",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}},{name:"isEyebrowUppercase",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}},{name:"supportingText",type:{name:"string"},defaultValue:{func:!1,value:"null"}},{name:"supportingTextEllipsis",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}},{name:"isSupportingTextTooltipEnabled",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}},{name:"backgroundColor",type:{name:"RichListItemBackgroundColor"},defaultValue:{func:!1,value:"RICH_LIST_ITEM_BACKGROUND_COLOR.NEUTRAL"}},{name:"elevation",type:{name:"RichListItemElevation"},defaultValue:{func:!1,value:"null"}},{name:"hasDraggableHandler",type:{name:"boolean"},defaultValue:{func:!1,value:"true"}},{name:"hasActionsSlotDivider",type:{name:"boolean"},defaultValue:{func:!1,value:"true"}},{name:"isSelectable",type:{name:"boolean"},defaultValue:{func:!1,value:"true"}},{name:"isSelected",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}},{name:"isTextGroupSelected",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}}],events:[{name:"update:is-selected"}],slots:[{name:"media"},{name:"metadata"},{name:"actions"}],sourceFiles:["/home/runner/work/design-system/design-system/lib/js/components/RichList/BasicRichListItem/BasicRichListItem.vue"]};export{k as B};
@@ -1,4 +1,4 @@
1
- import{B as l}from"./BasicRichListItem-DphHumDQ.js";import{R as p,a as n,b as c,c as m,d as h,e as d,f as C}from"./GroupRichListItem-ClZnBLO7.js";import{c as T,I as a}from"./Icon-Dtb7OFDy.js";import"./Avatar-BK-QYdBb.js";import"./Badge-DoA9PSt1.js";import"./BadgeScore-DLegDXlH.js";import"./Banner-DsBGvY85.js";import"./Button-C4sEOlKs.js";import"./ToggleButton-CPVawFGQ.js";import"./Card-BzXb8FVb.js";import"./CardExpandable-NhyjRkWt.js";import"./DatePicker-e_OeoKNz.js";import"./DateRangePicker-D48XtTCY.js";import"./Divider-CeZli6az.js";import"./FeatureIcon-DClbrBzB.js";import"./IconButton-ClJVjUWD.js";import"./string-WbDRKdc6.js";import"./Modal-DdUk6fYB.js";import"./ModalDialog-wYXqCv1T.js";import"./NumberInCircle-CYZFaZ00.js";import"./TabItem-CSiyWkmu.js";import"./Tile-64IgKF2L.js";import"./Toast-BQ-Wj1-c.js";import"./AccessStatus-9JQyuc7W.js";import"./BlockadeStatus-Da8KTxG1.js";import"./SurveyToggle-Cc-TFYAQ.js";import"./SurveyQuestionScale-BFy_7BO5.js";import"./SurveyQuestionOpenEnded-DyfuygAa.js";import"./SectionHeader-sQNtwLem.js";import"./PageHeader-C5oCP3S2.js";import"./SectionTitle-BQZh7aFs.js";import"./Drawer-BAhS1Aex.js";import"./DrawerContent-BC_l9IKr.js";import"./DrawerDivider-DuTuIbLz.js";import"./DrawerHeader-CX7e6Nrr.js";import"./DrawerListItem-BZDRNfYO.js";import"./DrawerListItemGroup-BTfrsZ_p.js";import"./DrawerTile-BGBdJHoD.js";import"./DrawerSection-B5Oegmdv.js";import"./OutlineItem-D6blFpRm.js";import"./OutlineDivider-DItdz99b.js";import"./OutlineSectionHeader-CtypBCqR.js";import"./Chip-B-ADwxNO.js";import"./CounterToggle-UIp8wWvW.js";import"./SelectList-T6eJOYPv.js";import"./SelectListItem-u_v1_FGX.js";import"./SelectListItemDivider-CTuILyj9.js";import"./SelectListItemToggle-DhuofgTc.js";import"./SelectListItemTile-DPBYsYPw.js";import"./SelectListSectionTitle-BOCjrVHo.js";import"./SelectionTile-CElEjx03.js";import"./LoadingBar-C1yAImWt.js";import"./PopOver-DSFUlM-F.js";import"./Dropdown-B75bqkCY.js";import"./ProgressBar-_uDnSqB3.js";import"./ProgressDonutChart-n1jrTcby.js";import"./IconText-s1bOsGRx.js";import"./Pagination-9012fp-V.js";import"./OverlayHeader-DqAhQk90.js";import"./Well-Chn1RK_x.js";import"./ThreeColumnLayout-CFf8NRwP.js";import"./Switch-DXVtM6f3.js";import"./TextGroup-D5le3QVY.js";import"./Tooltip-DB8acOEc.js";import{I as E}from"./Image-B9jnhF_n.js";import"./Skeleton-DMxKKJ0Z.js";import{w as O}from"./decorator-CSnIf-k5.js";import"./vue.esm-bundler-DmkhfO_9.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./Checkbox-DkAY8NEs.js";import"./SelectionControl-Bfsf0ykk.js";import"./iframe-DdYOFeJw.js";import"../sb-preview/runtime.js";import"./device-9fgosCm4.js";import"./user-_JB5aHqq.js";import"./vue-popper-DQfdblyw.js";import"./_commonjsHelpers-Chg3vePA.js";import"./v4-BZawosSj.js";const{useArgs:y}=__STORYBOOK_MODULE_PREVIEW_API__,Xe={title:"Components/RichList/BasicRichListItem",component:l,decorators:[e=>({components:{story:e},template:"<div style='display: flex;padding: 16px;'><story /></div>"}),O]},v=(e,i={})=>(e.argTypes={type:{options:Object.values(p),control:"select"},size:{options:Object.values(n),control:"select"},layout:{options:Object.values(c),control:{type:"select"}},state:{options:Object.values(m),control:"select"},iconColor:{options:[null,...Object.values(T)],control:"select"},borderColor:{options:[null,...Object.values(h)],control:"select"},icon:{options:[null,...Object.keys(a)],control:"select"},iconColorHex:{control:"text"},borderColorHex:{control:"text"},eyebrow:{control:"text"},eyebrowEllipsis:{control:"boolean"},isEyebrowUppercase:{control:"boolean"},text:{control:"text"},textEllipsis:{control:"boolean"},supportingText:{control:"text"},supportingTextEllipsis:{control:"boolean"},isSupportingTextTooltipEnabled:{control:"boolean"},metadata:{control:"text"},actions:{control:"text"},draggableIconClassName:{control:"text"},backgroundColor:{options:[null,...Object.values(d)],control:"select"},elevation:{options:[null,...Object.values(C)],control:"select"}},e.args={size:n.MEDIUM,type:p.DEFAULT,layout:c.HORIZONTAL,backgroundColor:d.NEUTRAL,elevation:null,isDimmed:!1,isDraggable:!0,hasDraggableHandler:!0,icon:null,iconColor:null,iconColorHex:"",hasActionsSlotDivider:!0,isSelectable:!0,isSelected:!0,borderColor:null,borderColorHex:"",state:m.DEFAULT,isInteractive:!0,draggableIconClassName:"draggableIconClassName-1",eyebrow:"Eyebrow Uppercase",eyebrowEllipsis:!1,isEyebrowUppercase:!1,text:"Długa nazwa gdy się nie mieści Praesentium dicta sit. Molestiae unde voluptatem eaque labore.",textEllipsis:!1,supportingText:"null",supportingTextEllipsis:!1,isSupportingTextTooltipEnabled:!1,metadata:"Metadata Slot",actions:"ACS",...i},e.parameters={actions:{handles:["icon-click","click","update:is-selected"]},layout:"fullscreen",design:{type:"figma",url:"https://www.figma.com/file/izQdYyiBR1GQgFkaOIfIJI/LMS---DS-Components?type=design&node-id=8673-2345&mode=design&t=QeEz8TmzxDbrGYK3-4"}},e),w=e=>{const[i,r]=y();return{components:{BasicRichListItem:l},setup(){return e},data(){return{ICONS:Object.freeze(a)}},methods:{updateIsSelected(s){r({isSelected:s})}},template:`
1
+ import{B as l}from"./BasicRichListItem-CEiYZukO.js";import{w as h}from"./decorator-CSnIf-k5.js";import"./Avatar-U_7Z6nZ2.js";import"./Badge-DSmH78WU.js";import"./BadgeScore-GfZixoUY.js";import"./Banner-DDGfdClH.js";import"./Button-yeAor0pZ.js";import"./ToggleButton-eR3n1vbs.js";import"./Card-BzXb8FVb.js";import"./CardExpandable-t59MJJJ1.js";import"./DatePicker-Dfk2S4XE.js";import"./DateRangePicker-C591NaMz.js";import"./Divider-CeZli6az.js";import"./FeatureIcon-Zls5aPDA.js";import{c as T,I as a}from"./Icon-BPz80dqH.js";import"./IconButton-gTykCZIi.js";import"./string-CFc0pFCE.js";import"./Modal-D7RDnkRT.js";import"./ModalDialog-D-FrIv9r.js";import"./NumberInCircle-CYZFaZ00.js";import"./TabItem-Cceq5FQB.js";import"./Tile-DvjxsEPO.js";import"./Toast-DKAzASvr.js";import"./AccessStatus-BKJi9u47.js";import"./BlockadeStatus-D6w6lZhK.js";import"./SurveyToggle-BECsKZHH.js";import"./SurveyQuestionScale-I7rmD2z-.js";import"./SurveyQuestionOpenEnded-DUybHAVt.js";import"./SectionHeader-CwB5neO2.js";import"./PageHeader-C5oCP3S2.js";import"./SectionTitle-BQZh7aFs.js";import"./Drawer-BAhS1Aex.js";import"./DrawerContent-BC_l9IKr.js";import"./DrawerDivider-DuTuIbLz.js";import"./DrawerHeader-CivXan1m.js";import"./DrawerListItem-BCPF0NKt.js";import"./DrawerListItemGroup-BTfrsZ_p.js";import"./DrawerTile-CTrRTsz5.js";import"./DrawerSection-B6PrbMVD.js";import"./OutlineItem-DqMRN7G1.js";import"./OutlineDivider-DItdz99b.js";import"./OutlineSectionHeader-CtypBCqR.js";import"./Chip-DmzVP4Nc.js";import"./CounterToggle-UTpNPOSH.js";import"./SelectList-T6eJOYPv.js";import"./SelectListItem-DPuR0fG2.js";import"./SelectListItemDivider-CTuILyj9.js";import"./SelectListItemToggle-Bd5zU5Vc.js";import"./SelectListItemTile-CWD-7N0p.js";import"./SelectListSectionTitle-BOCjrVHo.js";import"./SelectionTile-CTk2qsoq.js";import"./LoadingBar-C1yAImWt.js";import"./PopOver-DlmHqZVO.js";import"./Dropdown-B75bqkCY.js";import"./ProgressBar-DcRQqf-M.js";import"./ProgressDonutChart-O1ep3At7.js";import"./IconText-7zvo_ew8.js";import"./Pagination-xRPA6q3h.js";import"./OverlayHeader-D3BWUMCs.js";import"./Well-Chn1RK_x.js";import"./ThreeColumnLayout-CFf8NRwP.js";import{R as p,a as c,b as n,c as d,d as C,e as m,f as E}from"./GroupRichListItem-8v8vJXgH.js";import"./Switch-C8il24TP.js";import"./TextGroup-D5le3QVY.js";import"./Tooltip-DB8acOEc.js";import{I as O}from"./Image-B9jnhF_n.js";import"./Skeleton-DMxKKJ0Z.js";import"./vue.esm-bundler-DmkhfO_9.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./v4-BZawosSj.js";import"./iframe-D0_R78Pi.js";import"../sb-preview/runtime.js";import"./device-9fgosCm4.js";import"./user-_JB5aHqq.js";import"./SelectionControl-Xe-aYMrS.js";import"./vue-popper-DQfdblyw.js";import"./_commonjsHelpers-Chg3vePA.js";import"./Checkbox-K_NwPnQU.js";const{useArgs:y}=__STORYBOOK_MODULE_PREVIEW_API__,Xe={title:"Components/RichList/BasicRichListItem",component:l,decorators:[e=>({components:{story:e},template:"<div style='display: flex;padding: 16px;'><story /></div>"}),h]},v=(e,i={})=>(e.argTypes={type:{options:Object.values(p),control:"select"},size:{options:Object.values(c),control:"select"},layout:{options:Object.values(n),control:{type:"select"}},state:{options:Object.values(d),control:"select"},iconColor:{options:[null,...Object.values(T)],control:"select"},borderColor:{options:[null,...Object.values(C)],control:"select"},icon:{options:[null,...Object.keys(a)],control:"select"},iconColorHex:{control:"text"},borderColorHex:{control:"text"},eyebrow:{control:"text"},eyebrowEllipsis:{control:"boolean"},isEyebrowUppercase:{control:"boolean"},text:{control:"text"},textEllipsis:{control:"boolean"},supportingText:{control:"text"},supportingTextEllipsis:{control:"boolean"},isSupportingTextTooltipEnabled:{control:"boolean"},metadata:{control:"text"},actions:{control:"text"},draggableIconClassName:{control:"text"},backgroundColor:{options:[null,...Object.values(m)],control:"select"},elevation:{options:[null,...Object.values(E)],control:"select"}},e.args={size:c.MEDIUM,type:p.DEFAULT,layout:n.HORIZONTAL,backgroundColor:m.NEUTRAL,elevation:null,isDimmed:!1,isDraggable:!0,hasDraggableHandler:!0,icon:null,iconColor:null,iconColorHex:"",hasActionsSlotDivider:!0,isSelectable:!0,isSelected:!0,isTextGroupSelected:!1,borderColor:null,borderColorHex:"",state:d.DEFAULT,isInteractive:!0,draggableIconClassName:"draggableIconClassName-1",eyebrow:"Eyebrow Uppercase",eyebrowEllipsis:!1,isEyebrowUppercase:!1,text:"Długa nazwa gdy się nie mieści Praesentium dicta sit. Molestiae unde voluptatem eaque labore.",textEllipsis:!1,supportingText:"null",supportingTextEllipsis:!1,isSupportingTextTooltipEnabled:!1,metadata:"Metadata Slot",actions:"ACS",...i},e.parameters={actions:{handles:["icon-click","click","update:is-selected"]},layout:"fullscreen",design:{type:"figma",url:"https://www.figma.com/file/izQdYyiBR1GQgFkaOIfIJI/LMS---DS-Components?type=design&node-id=8673-2345&mode=design&t=QeEz8TmzxDbrGYK3-4"}},e),w=e=>{const[i,r]=y();return{components:{BasicRichListItem:l},setup(){return e},data(){return{ICONS:Object.freeze(a)}},methods:{updateIsSelected(s){r({isSelected:s})}},template:`
2
2
  <basic-rich-list-item
3
3
  :size="size"
4
4
  :type="type"
@@ -26,6 +26,7 @@ import{B as l}from"./BasicRichListItem-DphHumDQ.js";import{R as p,a as n,b as c,
26
26
  :has-actions-slot-divider="hasActionsSlotDivider"
27
27
  :is-selectable="isSelectable"
28
28
  :is-selected="isSelected"
29
+ :is-text-group-selected="isTextGroupSelected"
29
30
  @update:is-selected="updateIsSelected"
30
31
  >
31
32
  <template v-if="metadata" #metadata>
@@ -34,7 +35,7 @@ import{B as l}from"./BasicRichListItem-DphHumDQ.js";import{R as p,a as n,b as c,
34
35
  <template v-if="actions" #actions>
35
36
  <div v-html="actions" />
36
37
  </template>
37
- </basic-rich-list-item>`}},t=w.bind({});v(t);const _=e=>{const[i,r]=y();return{components:{BasicRichListItem:l,DsImage:E},setup(){return e},data(){return{ICONS:Object.freeze(a)}},methods:{updateIsSelected(s){r({isSelected:s})}},template:`
38
+ </basic-rich-list-item>`}},t=w.bind({});v(t);const _=e=>{const[i,r]=y();return{components:{BasicRichListItem:l,DsImage:O},setup(){return e},data(){return{ICONS:Object.freeze(a)}},methods:{updateIsSelected(s){r({isSelected:s})}},template:`
38
39
  <basic-rich-list-item
39
40
  :size="size"
40
41
  :type="type"
@@ -62,6 +63,7 @@ import{B as l}from"./BasicRichListItem-DphHumDQ.js";import{R as p,a as n,b as c,
62
63
  :has-actions-slot-divider="hasActionsSlotDivider"
63
64
  :is-selectable="isSelectable"
64
65
  :is-selected="isSelected"
66
+ :is-text-group-selected="isTextGroupSelected"
65
67
  @update:is-selected="updateIsSelected"
66
68
  >
67
69
  <template #media>
@@ -122,6 +124,7 @@ import{B as l}from"./BasicRichListItem-DphHumDQ.js";import{R as p,a as n,b as c,
122
124
  :has-actions-slot-divider="hasActionsSlotDivider"
123
125
  :is-selectable="isSelectable"
124
126
  :is-selected="isSelected"
127
+ :is-text-group-selected="isTextGroupSelected"
125
128
  @update:is-selected="updateIsSelected"
126
129
  >
127
130
  <template v-if="metadata" #metadata>
@@ -132,7 +135,7 @@ import{B as l}from"./BasicRichListItem-DphHumDQ.js";import{R as p,a as n,b as c,
132
135
  </template>
133
136
  </basic-rich-list-item>\`
134
137
  };
135
- }`,...(g=(b=t.parameters)==null?void 0:b.docs)==null?void 0:g.source}}};var x,I,S;o.parameters={...o.parameters,docs:{...(x=o.parameters)==null?void 0:x.docs,source:{originalSource:`args => {
138
+ }`,...(g=(b=t.parameters)==null?void 0:b.docs)==null?void 0:g.source}}};var x,S,I;o.parameters={...o.parameters,docs:{...(x=o.parameters)==null?void 0:x.docs,source:{originalSource:`args => {
136
139
  const [_, updateArgs] = useArgs();
137
140
  return {
138
141
  components: {
@@ -182,6 +185,7 @@ import{B as l}from"./BasicRichListItem-DphHumDQ.js";import{R as p,a as n,b as c,
182
185
  :has-actions-slot-divider="hasActionsSlotDivider"
183
186
  :is-selectable="isSelectable"
184
187
  :is-selected="isSelected"
188
+ :is-text-group-selected="isTextGroupSelected"
185
189
  @update:is-selected="updateIsSelected"
186
190
  >
187
191
  <template #media>
@@ -195,4 +199,4 @@ import{B as l}from"./BasicRichListItem-DphHumDQ.js";import{R as p,a as n,b as c,
195
199
  </template>
196
200
  </basic-rich-list-item>\`
197
201
  };
198
- }`,...(S=(I=o.parameters)==null?void 0:I.docs)==null?void 0:S.source}}};const $e=["Interactive","WithMedia"];export{t as Interactive,o as WithMedia,$e as __namedExportsOrder,Xe as default};
202
+ }`,...(I=(S=o.parameters)==null?void 0:S.docs)==null?void 0:I.source}}};const $e=["Interactive","WithMedia"];export{t as Interactive,o as WithMedia,$e as __namedExportsOrder,Xe as default};
@@ -1 +1 @@
1
- import{d as n,c as r,k as c,a as i,j as u,n as d,r as p,o as l}from"./vue.esm-bundler-DmkhfO_9.js";import{a as _,I as t,b as m}from"./Icon-Dtb7OFDy.js";import{a as e}from"./user-_JB5aHqq.js";import{_ as S}from"./_plugin-vue_export-helper-DlAUqK2U.js";const a=n({name:"BlockadeStatus",components:{Icon:_},props:{status:{type:String,required:!0}},data(){return{ICONS:Object.freeze(t),ICON_SIZES:Object.freeze(m)}},computed:{icon(){return this.status===e.ACTIVE?t.FA_LOCK_KEYHOLE:t.FA_UNLOCK_KEYHOLE},statusClass(){return this.status===e.ACTIVE?"-ds-active":""},text(){return this.status===e.ACTIVE?"Blokada dostępu":"Blokada zakończona"}}}),C={class:"ds-blockadeStatus__text"};function f(s,k,I,E,O,B){const o=p("icon");return l(),r("div",{class:d(["ds-blockadeStatus",s.statusClass])},[c(o,{size:s.ICON_SIZES.X_SMALL,icon:s.icon,class:"ds-blockadeStatus__icon"},null,8,["size","icon"]),i("span",C,u(s.text),1)],2)}const z=S(a,[["render",f],["__scopeId","data-v-a48935bf"]]);a.__docgenInfo={displayName:"BlockadeStatus",exportName:"default",description:"",tags:{},props:[{name:"status",type:{name:"string"},required:!0}],sourceFiles:["/home/runner/work/design-system/design-system/lib/js/components/Statuses/BlockadeStatus/BlockadeStatus.vue"]};export{z as B};
1
+ import{d as n,c as r,k as c,a as i,j as u,n as d,r as p,o as l}from"./vue.esm-bundler-DmkhfO_9.js";import{a as _,I as t,b as m}from"./Icon-BPz80dqH.js";import{a as e}from"./user-_JB5aHqq.js";import{_ as S}from"./_plugin-vue_export-helper-DlAUqK2U.js";const a=n({name:"BlockadeStatus",components:{Icon:_},props:{status:{type:String,required:!0}},data(){return{ICONS:Object.freeze(t),ICON_SIZES:Object.freeze(m)}},computed:{icon(){return this.status===e.ACTIVE?t.FA_LOCK_KEYHOLE:t.FA_UNLOCK_KEYHOLE},statusClass(){return this.status===e.ACTIVE?"-ds-active":""},text(){return this.status===e.ACTIVE?"Blokada dostępu":"Blokada zakończona"}}}),C={class:"ds-blockadeStatus__text"};function f(s,k,I,E,O,B){const o=p("icon");return l(),r("div",{class:d(["ds-blockadeStatus",s.statusClass])},[c(o,{size:s.ICON_SIZES.X_SMALL,icon:s.icon,class:"ds-blockadeStatus__icon"},null,8,["size","icon"]),i("span",C,u(s.text),1)],2)}const z=S(a,[["render",f],["__scopeId","data-v-a48935bf"]]);a.__docgenInfo={displayName:"BlockadeStatus",exportName:"default",description:"",tags:{},props:[{name:"status",type:{name:"string"},required:!0}],sourceFiles:["/home/runner/work/design-system/design-system/lib/js/components/Statuses/BlockadeStatus/BlockadeStatus.vue"]};export{z as B};
@@ -1,4 +1,4 @@
1
- import{B as o}from"./BlockadeStatus-Da8KTxG1.js";import{a as r}from"./user-_JB5aHqq.js";import"./vue.esm-bundler-DmkhfO_9.js";import"./Icon-Dtb7OFDy.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";const g={title:"Components/Statuses/BlockadeStatus",component:o},c=n=>({components:{BlockadeStatus:o},setup(){return n},template:'<blockade-status :status="status" />'}),t=c.bind({}),p={status:r.ACTIVE},m={status:{control:"select",options:Object.values(r)}};t.argTypes=m;t.args=p;t.parameters={design:{type:"figma",url:"https://www.figma.com/file/izQdYyiBR1GQgFkaOIfIJI/LMS---DS---Components?node-id=3040%3A70712"}};var s,e,a;t.parameters={...t.parameters,docs:{...(s=t.parameters)==null?void 0:s.docs,source:{originalSource:`args => ({
1
+ import{B as o}from"./BlockadeStatus-D6w6lZhK.js";import{a as r}from"./user-_JB5aHqq.js";import"./vue.esm-bundler-DmkhfO_9.js";import"./Icon-BPz80dqH.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";const g={title:"Components/Statuses/BlockadeStatus",component:o},c=n=>({components:{BlockadeStatus:o},setup(){return n},template:'<blockade-status :status="status" />'}),t=c.bind({}),p={status:r.ACTIVE},m={status:{control:"select",options:Object.values(r)}};t.argTypes=m;t.args=p;t.parameters={design:{type:"figma",url:"https://www.figma.com/file/izQdYyiBR1GQgFkaOIfIJI/LMS---DS---Components?node-id=3040%3A70712"}};var s,e,a;t.parameters={...t.parameters,docs:{...(s=t.parameters)==null?void 0:s.docs,source:{originalSource:`args => ({
2
2
  components: {
3
3
  BlockadeStatus
4
4
  },