buefy 3.0.5 → 3.0.6

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 (241) hide show
  1. package/dist/buefy.d.ts +63 -3
  2. package/dist/buefy.esm.js +209 -46
  3. package/dist/buefy.esm.min.js +2 -2
  4. package/dist/buefy.js +209 -44
  5. package/dist/buefy.min.js +2 -2
  6. package/dist/cjs/{Autocomplete-DEUs3z7g.js → Autocomplete-b0JUESTO.js} +3 -3
  7. package/dist/cjs/{Button-Cq7yqI8p.js → Button-Dw6VG6n7.js} +2 -2
  8. package/dist/cjs/{Checkbox-GPzAMQqM.js → Checkbox-cujzPKDl.js} +31 -3
  9. package/dist/cjs/{CompatFallthroughMixin-hhK0Gkhr.js → CompatFallthroughMixin-DI5L88ey.js} +1 -1
  10. package/dist/cjs/{Datepicker-DhsJpauU.js → Datepicker-DVB975q3.js} +9 -9
  11. package/dist/cjs/{Dropdown-BAXMPUCZ.js → Dropdown-CFh_lLvm.js} +1 -1
  12. package/dist/cjs/{DropdownItem-BOAAPdrW.js → DropdownItem-D2Ky1QIH.js} +1 -1
  13. package/dist/cjs/{Field-19ZCJFF8.js → Field-Dy73xhhY.js} +1 -1
  14. package/dist/cjs/{FormElementMixin-DavX4iOv.js → FormElementMixin-17PQ7TPR.js} +1 -1
  15. package/dist/cjs/{Icon-lsDKE2wQ.js → Icon-DrFLI3Zg.js} +48 -6
  16. package/dist/cjs/{Image-CocPwU3n.js → Image-D4AGl_2Z.js} +1 -1
  17. package/dist/cjs/{Input-BcloGeZ3.js → Input-z4Vlmbj8.js} +4 -4
  18. package/dist/cjs/{Modal-D1aZUehE.js → Modal-CVyLPawO.js} +1 -1
  19. package/dist/cjs/{NoticeMixin--3RjH43z.js → NoticeMixin-BlwAiMRV.js} +1 -1
  20. package/dist/cjs/{Pagination-D1MVdiLp.js → Pagination-54NHaQvi.js} +2 -2
  21. package/dist/cjs/{Progress-DT9Qc8Id.js → Progress-BlXLJ3zb.js} +1 -1
  22. package/dist/cjs/{Select-DayPKwCY.js → Select-DRXaEjlP.js} +3 -3
  23. package/dist/cjs/{TabbedChildMixin-B3JUUwcf.js → TabbedChildMixin-BFHsIyg6.js} +1 -1
  24. package/dist/cjs/{Tag-BprnwJJ1.js → Tag-BdL2uH8x.js} +1 -1
  25. package/dist/cjs/{Timepicker-DDYkLeNV.js → Timepicker-ujQPxzDF.js} +6 -6
  26. package/dist/cjs/{TimepickerMixin-C9WVvcUL.js → TimepickerMixin-C9OA8jWF.js} +3 -3
  27. package/dist/cjs/{Tooltip-Cgighv0j.js → Tooltip-j_3eF7QD.js} +1 -1
  28. package/dist/cjs/autocomplete.js +7 -6
  29. package/dist/cjs/breadcrumb.js +2 -2
  30. package/dist/cjs/button.js +4 -3
  31. package/dist/cjs/carousel.js +4 -3
  32. package/dist/cjs/checkbox.js +3 -1
  33. package/dist/cjs/clockpicker.js +8 -7
  34. package/dist/cjs/colorpicker.js +12 -11
  35. package/dist/cjs/{config-DR826Ki2.js → config-CXSF5Vky.js} +2 -1
  36. package/dist/cjs/config.js +1 -1
  37. package/dist/cjs/datepicker.js +11 -10
  38. package/dist/cjs/datetimepicker.js +13 -12
  39. package/dist/cjs/dialog.js +5 -4
  40. package/dist/cjs/dropdown.js +3 -3
  41. package/dist/cjs/field.js +2 -2
  42. package/dist/cjs/icon.js +5 -2
  43. package/dist/cjs/iconAliases-DoayKo0q.js +100 -0
  44. package/dist/cjs/image.js +2 -2
  45. package/dist/cjs/{index-BkFyTNWp.js → index-N35FRTpu.js} +8 -8
  46. package/dist/cjs/index.js +27 -24
  47. package/dist/cjs/input.js +6 -5
  48. package/dist/cjs/menu.js +4 -3
  49. package/dist/cjs/message.js +4 -3
  50. package/dist/cjs/modal.js +2 -2
  51. package/dist/cjs/navbar.js +2 -2
  52. package/dist/cjs/notification.js +5 -4
  53. package/dist/cjs/numberinput.js +6 -5
  54. package/dist/cjs/pagination.js +4 -3
  55. package/dist/cjs/progress.js +2 -2
  56. package/dist/cjs/rate.js +3 -2
  57. package/dist/cjs/select.js +6 -5
  58. package/dist/cjs/sidebar.js +1 -1
  59. package/dist/cjs/slider.js +3 -3
  60. package/dist/cjs/snackbar.js +2 -2
  61. package/dist/cjs/steps.js +4 -3
  62. package/dist/cjs/switch.js +1 -1
  63. package/dist/cjs/table.js +9 -8
  64. package/dist/cjs/tabs.js +4 -3
  65. package/dist/cjs/tag.js +4 -3
  66. package/dist/cjs/taginput.js +8 -7
  67. package/dist/cjs/timepicker.js +12 -11
  68. package/dist/cjs/toast.js +2 -2
  69. package/dist/cjs/tooltip.js +2 -2
  70. package/dist/cjs/upload.js +3 -3
  71. package/dist/components/autocomplete/index.js +122 -6
  72. package/dist/components/autocomplete/index.min.js +2 -2
  73. package/dist/components/breadcrumb/index.js +1 -1
  74. package/dist/components/breadcrumb/index.min.js +1 -1
  75. package/dist/components/button/index.js +122 -6
  76. package/dist/components/button/index.min.js +2 -2
  77. package/dist/components/carousel/index.js +122 -6
  78. package/dist/components/carousel/index.min.js +2 -2
  79. package/dist/components/checkbox/index.js +106 -4
  80. package/dist/components/checkbox/index.min.js +2 -2
  81. package/dist/components/clockpicker/index.js +126 -10
  82. package/dist/components/clockpicker/index.min.js +2 -2
  83. package/dist/components/collapse/index.js +1 -1
  84. package/dist/components/collapse/index.min.js +1 -1
  85. package/dist/components/colorpicker/index.js +126 -10
  86. package/dist/components/colorpicker/index.min.js +2 -2
  87. package/dist/components/datepicker/index.js +134 -18
  88. package/dist/components/datepicker/index.min.js +2 -2
  89. package/dist/components/datetimepicker/index.js +126 -10
  90. package/dist/components/datetimepicker/index.min.js +2 -2
  91. package/dist/components/dialog/index.js +122 -6
  92. package/dist/components/dialog/index.min.js +2 -2
  93. package/dist/components/dropdown/index.js +1 -1
  94. package/dist/components/dropdown/index.min.js +1 -1
  95. package/dist/components/field/index.js +1 -1
  96. package/dist/components/field/index.min.js +1 -1
  97. package/dist/components/icon/index.js +124 -6
  98. package/dist/components/icon/index.min.js +2 -2
  99. package/dist/components/image/index.js +1 -1
  100. package/dist/components/image/index.min.js +1 -1
  101. package/dist/components/input/index.js +122 -6
  102. package/dist/components/input/index.min.js +2 -2
  103. package/dist/components/loading/index.js +1 -1
  104. package/dist/components/loading/index.min.js +1 -1
  105. package/dist/components/menu/index.js +124 -8
  106. package/dist/components/menu/index.min.js +2 -2
  107. package/dist/components/message/index.js +122 -6
  108. package/dist/components/message/index.min.js +2 -2
  109. package/dist/components/modal/index.js +1 -1
  110. package/dist/components/modal/index.min.js +1 -1
  111. package/dist/components/navbar/index.js +1 -1
  112. package/dist/components/navbar/index.min.js +1 -1
  113. package/dist/components/notification/index.js +122 -6
  114. package/dist/components/notification/index.min.js +2 -2
  115. package/dist/components/numberinput/index.js +122 -6
  116. package/dist/components/numberinput/index.min.js +2 -2
  117. package/dist/components/pagination/index.js +122 -6
  118. package/dist/components/pagination/index.min.js +2 -2
  119. package/dist/components/progress/index.js +1 -1
  120. package/dist/components/progress/index.min.js +1 -1
  121. package/dist/components/radio/index.js +1 -1
  122. package/dist/components/radio/index.min.js +1 -1
  123. package/dist/components/rate/index.js +122 -6
  124. package/dist/components/rate/index.min.js +2 -2
  125. package/dist/components/select/index.js +122 -6
  126. package/dist/components/select/index.min.js +2 -2
  127. package/dist/components/sidebar/index.js +1 -1
  128. package/dist/components/sidebar/index.min.js +1 -1
  129. package/dist/components/skeleton/index.js +1 -1
  130. package/dist/components/skeleton/index.min.js +1 -1
  131. package/dist/components/slider/index.js +1 -1
  132. package/dist/components/slider/index.min.js +1 -1
  133. package/dist/components/snackbar/index.js +1 -1
  134. package/dist/components/snackbar/index.min.js +1 -1
  135. package/dist/components/steps/index.js +122 -6
  136. package/dist/components/steps/index.min.js +2 -2
  137. package/dist/components/switch/index.js +1 -1
  138. package/dist/components/switch/index.min.js +1 -1
  139. package/dist/components/table/index.js +156 -13
  140. package/dist/components/table/index.min.js +2 -2
  141. package/dist/components/tabs/index.js +122 -6
  142. package/dist/components/tabs/index.min.js +2 -2
  143. package/dist/components/tag/index.js +122 -6
  144. package/dist/components/tag/index.min.js +2 -2
  145. package/dist/components/taginput/index.js +122 -6
  146. package/dist/components/taginput/index.min.js +2 -2
  147. package/dist/components/timepicker/index.js +134 -18
  148. package/dist/components/timepicker/index.min.js +2 -2
  149. package/dist/components/toast/index.js +1 -1
  150. package/dist/components/toast/index.min.js +1 -1
  151. package/dist/components/tooltip/index.js +1 -1
  152. package/dist/components/tooltip/index.min.js +1 -1
  153. package/dist/components/upload/index.js +1 -1
  154. package/dist/components/upload/index.min.js +1 -1
  155. package/dist/css/buefy.css +21 -38
  156. package/dist/css/buefy.css.map +1 -1
  157. package/dist/css/buefy.min.css +1 -1
  158. package/dist/css/versions/buefy-no-reset.css +21 -38
  159. package/dist/css/versions/buefy-no-reset.css.map +1 -1
  160. package/dist/css/versions/buefy-no-reset.min.css +1 -1
  161. package/dist/css/versions/buefy-standalone.css +21 -38
  162. package/dist/css/versions/buefy-standalone.css.map +1 -1
  163. package/dist/css/versions/buefy-standalone.min.css +1 -1
  164. package/dist/esm/{Autocomplete-HsHD-6pc.js → Autocomplete-BsBIH0Mj.js} +3 -3
  165. package/dist/esm/{Button-Bvib75up.js → Button-BTP__-p5.js} +2 -2
  166. package/dist/esm/{Checkbox-u861Rije.js → Checkbox-C6pO3IzG.js} +31 -3
  167. package/dist/esm/{CompatFallthroughMixin-C8LPuwDr.js → CompatFallthroughMixin-LfFRwwlz.js} +1 -1
  168. package/dist/esm/{Datepicker-BZ5ORu0F.js → Datepicker-CrVKrZBF.js} +9 -9
  169. package/dist/esm/{Dropdown-BLadix4L.js → Dropdown-GHauDDcD.js} +1 -1
  170. package/dist/esm/{DropdownItem-Crhb4RQp.js → DropdownItem-By3tSZk2.js} +1 -1
  171. package/dist/esm/{Field-DZCOQuRO.js → Field-CU8ZBgMh.js} +1 -1
  172. package/dist/esm/{FormElementMixin-Dd_wkBN5.js → FormElementMixin-CKI7b4I4.js} +1 -1
  173. package/dist/esm/{Icon-iqPKMem5.js → Icon-pQAdaqZb.js} +49 -7
  174. package/dist/esm/{Image-By9o7ryD.js → Image-COmzg-EK.js} +1 -1
  175. package/dist/esm/{Input-JL4LWKyL.js → Input-CErQ1Jyw.js} +4 -4
  176. package/dist/esm/{Modal-BF2kchNd.js → Modal-C13NJijf.js} +1 -1
  177. package/dist/esm/{NoticeMixin-ByNlva3T.js → NoticeMixin-TQEF1Kx6.js} +1 -1
  178. package/dist/esm/{Pagination-BWFVCGiz.js → Pagination-DvgzxH87.js} +2 -2
  179. package/dist/esm/{Progress-BxT2PFEw.js → Progress-AeKn1Ttq.js} +1 -1
  180. package/dist/esm/{Select-dYTVc9W4.js → Select-CbkuxvSQ.js} +3 -3
  181. package/dist/esm/{TabbedChildMixin-BsuDQmWE.js → TabbedChildMixin-Bdu5A4iY.js} +1 -1
  182. package/dist/esm/{Tag-BFgiw0Ac.js → Tag-Dx_-Tavp.js} +1 -1
  183. package/dist/esm/{Timepicker-CYqyLHE9.js → Timepicker-0ojuPkqd.js} +6 -6
  184. package/dist/esm/{TimepickerMixin-Bikh6_Fg.js → TimepickerMixin-oNahYGFZ.js} +3 -3
  185. package/dist/esm/{Tooltip-Ds5fe3ZP.js → Tooltip-BnzQFdnQ.js} +1 -1
  186. package/dist/esm/autocomplete.js +7 -6
  187. package/dist/esm/breadcrumb.js +2 -2
  188. package/dist/esm/button.js +4 -3
  189. package/dist/esm/carousel.js +4 -3
  190. package/dist/esm/checkbox.js +3 -1
  191. package/dist/esm/clockpicker.js +8 -7
  192. package/dist/esm/colorpicker.js +12 -11
  193. package/dist/esm/{config-CKuo-p6e.js → config-f4Dyy8TN.js} +2 -1
  194. package/dist/esm/config.js +1 -1
  195. package/dist/esm/datepicker.js +11 -10
  196. package/dist/esm/datetimepicker.js +13 -12
  197. package/dist/esm/dialog.js +5 -4
  198. package/dist/esm/dropdown.js +3 -3
  199. package/dist/esm/field.js +2 -2
  200. package/dist/esm/icon.js +3 -2
  201. package/dist/esm/iconAliases-B-CydxNj.js +97 -0
  202. package/dist/esm/image.js +2 -2
  203. package/dist/esm/{index-mnzTDKh9.js → index-BYVep8cv.js} +8 -8
  204. package/dist/esm/index.js +26 -25
  205. package/dist/esm/input.js +6 -5
  206. package/dist/esm/menu.js +4 -3
  207. package/dist/esm/message.js +4 -3
  208. package/dist/esm/modal.js +2 -2
  209. package/dist/esm/navbar.js +2 -2
  210. package/dist/esm/notification.js +5 -4
  211. package/dist/esm/numberinput.js +6 -5
  212. package/dist/esm/pagination.js +4 -3
  213. package/dist/esm/progress.js +2 -2
  214. package/dist/esm/rate.js +3 -2
  215. package/dist/esm/select.js +6 -5
  216. package/dist/esm/sidebar.js +1 -1
  217. package/dist/esm/slider.js +3 -3
  218. package/dist/esm/snackbar.js +2 -2
  219. package/dist/esm/steps.js +4 -3
  220. package/dist/esm/switch.js +1 -1
  221. package/dist/esm/table.js +9 -8
  222. package/dist/esm/tabs.js +4 -3
  223. package/dist/esm/tag.js +4 -3
  224. package/dist/esm/taginput.js +8 -7
  225. package/dist/esm/timepicker.js +12 -11
  226. package/dist/esm/toast.js +2 -2
  227. package/dist/esm/tooltip.js +2 -2
  228. package/dist/esm/upload.js +3 -3
  229. package/package.json +1 -1
  230. package/src/components/checkbox/Checkbox.spec.ts +56 -26
  231. package/src/components/checkbox/Checkbox.vue +25 -1
  232. package/src/components/checkbox/__snapshots__/Checkbox.spec.ts.snap +1 -1
  233. package/src/components/datepicker/__snapshots__/Datepicker.spec.ts.snap +2 -2
  234. package/src/components/icon/Icon.spec.ts +67 -0
  235. package/src/components/icon/Icon.vue +40 -5
  236. package/src/components/icon/__snapshots__/Icon.spec.ts.snap +1 -1
  237. package/src/components/icon/index.ts +10 -0
  238. package/src/components/table/__snapshots__/TableMobileSort.spec.ts.snap +1 -1
  239. package/src/scss/components/_checkbox.scss +13 -15
  240. package/src/utils/config.ts +104 -2
  241. package/src/utils/iconAliases.ts +86 -0
@@ -1,4 +1,4 @@
1
- /*! Buefy v3.0.5 | MIT License | github.com/buefy/buefy */
1
+ /*! Buefy v3.0.6 | MIT License | github.com/buefy/buefy */
2
2
  (function (global, factory) {
3
3
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue')) :
4
4
  typeof define === 'function' && define.amd ? define(['exports', 'vue'], factory) :
@@ -70,6 +70,81 @@
70
70
  return icons;
71
71
  };
72
72
 
73
+ const defaultIconAliases = {
74
+ checkboxOn: {
75
+ type: "svg",
76
+ viewBox: "0 0 1 1",
77
+ path: "M 0.04038059,0.6267767 0.14644661,0.52071068 0.42928932,0.80355339 0.3232233,0.90961941 z M 0.21715729,0.80355339 0.85355339,0.16715729 0.95961941,0.2732233 0.3232233,0.90961941 z"
78
+ },
79
+ checkboxIndeterminate: {
80
+ type: "svg",
81
+ viewBox: "0 0 1 1",
82
+ path: "M 0.15,0.4 L 0.85,0.4 L 0.85,0.6 L 0.15,0.6 Z"
83
+ },
84
+ chevronLeft: {
85
+ type: "svg",
86
+ path: "M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z"
87
+ },
88
+ chevronRight: {
89
+ type: "svg",
90
+ path: "M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z"
91
+ },
92
+ chevronDown: {
93
+ type: "svg",
94
+ path: "M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z"
95
+ },
96
+ chevronUp: {
97
+ type: "svg",
98
+ path: "M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z"
99
+ },
100
+ menuDown: {
101
+ type: "svg",
102
+ path: "M7,10L12,15L17,10H7Z"
103
+ },
104
+ menuUp: {
105
+ type: "svg",
106
+ path: "M7,14L12,9L17,14H7Z"
107
+ },
108
+ check: {
109
+ type: "svg",
110
+ path: "M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"
111
+ },
112
+ alertCircle: {
113
+ type: "svg",
114
+ path: "M13,13H11V7H13M13,17H11V15H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"
115
+ },
116
+ alert: {
117
+ type: "svg",
118
+ path: "M13,14H11V10H13M13,18H11V16H13M1,21H23L12,2L1,21Z"
119
+ },
120
+ information: {
121
+ type: "svg",
122
+ path: "M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"
123
+ },
124
+ close: {
125
+ type: "svg",
126
+ path: "M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z"
127
+ },
128
+ closeCircle: {
129
+ type: "svg",
130
+ path: "M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z"
131
+ },
132
+ eye: {
133
+ type: "svg",
134
+ path: "M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17M12,4.5C7,4.5 2.73,7.61 1,12C2.73,16.39 7,19.5 12,19.5C17,19.5 21.27,16.39 23,12C21.27,7.61 17,4.5 12,4.5Z"
135
+ },
136
+ eyeOff: {
137
+ type: "svg",
138
+ path: "M11.83,9L15,12.16C15,12.11 15,12.05 15,12A3,3 0 0,0 12,9C11.94,9 11.89,9 11.83,9M7.53,9.8L9.08,11.35C9.03,11.56 9,11.77 9,12A3,3 0 0,0 12,15C12.22,15 12.44,14.97 12.65,14.92L14.2,16.47C13.53,16.8 12.79,17 12,17A5,5 0 0,1 7,12C7,11.21 7.2,10.47 7.53,9.8M2,4.27L4.28,6.55L4.73,7C3.08,8.3 1.78,10 1,12C2.73,16.39 7,19.5 12,19.5C13.55,19.5 15.03,19.18 16.38,18.6L16.81,19L19.73,22L21,20.73L3.27,3M12,7A5,5 0 0,1 17,12C17,12.64 16.87,13.26 16.64,13.82L19.57,16.75C21.07,15.5 22.27,13.86 23,12C21.27,7.61 17,4.5 12,4.5C10.6,4.5 9.26,4.75 8,5.2L10.17,7.35C10.74,7.13 11.35,7 12,7Z"
139
+ }
140
+ };
141
+ function getIconAliases() {
142
+ return defaultIconAliases;
143
+ }
144
+ function resolveAlias(name) {
145
+ return getIconAliases()[name];
146
+ }
147
+
73
148
  var _sfc_main$2 = vue.defineComponent({
74
149
  name: "BIcon",
75
150
  props: {
@@ -78,8 +153,11 @@
78
153
  pack: String,
79
154
  icon: {
80
155
  type: String,
81
- required: true
156
+ required: false,
157
+ default: void 0
82
158
  },
159
+ /** Key into IconAliases (e.g. "chevronLeft"). Takes precedence over icon/pack. */
160
+ alias: String,
83
161
  size: String,
84
162
  customSize: String,
85
163
  customClass: String,
@@ -87,6 +165,26 @@
87
165
  // This is used internally to show both MDI and FA icon
88
166
  },
89
167
  computed: {
168
+ resolvedAlias() {
169
+ var _a;
170
+ if (!this.alias) return null;
171
+ return (_a = resolveAlias(this.alias)) != null ? _a : null;
172
+ },
173
+ isSvgAlias() {
174
+ var _a;
175
+ return ((_a = this.resolvedAlias) == null ? void 0 : _a.type) === "svg";
176
+ },
177
+ isComponentAlias() {
178
+ var _a;
179
+ return ((_a = this.resolvedAlias) == null ? void 0 : _a.type) === "component";
180
+ },
181
+ // Typed accessors used in the template
182
+ resolvedAliasSvg() {
183
+ return this.resolvedAlias;
184
+ },
185
+ resolvedAliasComponent() {
186
+ return this.resolvedAlias;
187
+ },
90
188
  iconConfig() {
91
189
  const allIcons = getIcons();
92
190
  return allIcons[this.newPack];
@@ -103,7 +201,8 @@
103
201
  * internal icons are always MDI.
104
202
  */
105
203
  newIcon() {
106
- return `${this.iconPrefix}${this.getEquivalentIconOf(this.icon)}`;
204
+ var _a;
205
+ return `${this.iconPrefix}${this.getEquivalentIconOf((_a = this.icon) != null ? _a : "")}`;
107
206
  },
108
207
  newPack() {
109
208
  return this.pack || config.defaultIconPack;
@@ -170,6 +269,8 @@
170
269
  return target;
171
270
  };
172
271
 
272
+ const _hoisted_1$1 = ["viewBox"];
273
+ const _hoisted_2$1 = ["d"];
173
274
  function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
174
275
  return vue.openBlock(), vue.createElementBlock(
175
276
  "span",
@@ -177,17 +278,32 @@
177
278
  class: vue.normalizeClass(["icon", [_ctx.newType, _ctx.size]])
178
279
  },
179
280
  [
180
- !_ctx.useIconComponent ? (vue.openBlock(), vue.createElementBlock(
281
+ _ctx.isSvgAlias ? (vue.openBlock(), vue.createElementBlock("svg", {
282
+ key: 0,
283
+ viewBox: _ctx.resolvedAliasSvg.viewBox || "0 0 24 24",
284
+ xmlns: "http://www.w3.org/2000/svg",
285
+ class: vue.normalizeClass(_ctx.customClass),
286
+ "aria-hidden": "true"
287
+ }, [
288
+ vue.createElementVNode("path", {
289
+ fill: "currentColor",
290
+ d: _ctx.resolvedAliasSvg.path
291
+ }, null, 8, _hoisted_2$1)
292
+ ], 10, _hoisted_1$1)) : _ctx.isComponentAlias ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.resolvedAliasComponent.component), {
293
+ key: 1,
294
+ icon: _ctx.resolvedAliasComponent.icon,
295
+ class: vue.normalizeClass(_ctx.customClass)
296
+ }, null, 8, ["icon", "class"])) : !_ctx.useIconComponent ? (vue.openBlock(), vue.createElementBlock(
181
297
  "i",
182
298
  {
183
- key: 0,
299
+ key: 2,
184
300
  class: vue.normalizeClass([_ctx.newPack, _ctx.newIcon, _ctx.newCustomSize, _ctx.customClass])
185
301
  },
186
302
  null,
187
303
  2
188
304
  /* CLASS */
189
305
  )) : (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.useIconComponent), {
190
- key: 1,
306
+ key: 3,
191
307
  icon: [_ctx.newPack, _ctx.newIcon],
192
308
  size: _ctx.newCustomSize,
193
309
  class: vue.normalizeClass([_ctx.customClass])
@@ -1,2 +1,2 @@
1
- /*! Buefy v3.0.5 | MIT License | github.com/buefy/buefy */
2
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vue")):"function"==typeof define&&define.amd?define(["exports","vue"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).Steps={},e.Vue)}(this,(function(e,t){"use strict";let i="mdi",n=null,s="chevron-left",o="chevron-right";function a(e,t){return(e&t)===t}function r(e,t,i){return Math.max(t,Math.min(i,e))}const l={sizes:{default:"mdi-24px","is-small":null,"is-medium":"mdi-36px","is-large":"mdi-48px"},iconPrefix:"mdi-"},c=()=>{const e="fa-";return{sizes:{default:null,"is-small":null,"is-medium":e+"lg","is-large":e+"2x"},iconPrefix:e,internalIcons:{information:"info-circle",alert:"exclamation-triangle","alert-circle":"exclamation-circle","chevron-right":"angle-right","chevron-left":"angle-left","chevron-down":"angle-down","eye-off":"eye-slash","menu-down":"caret-down","menu-up":"caret-up","close-circle":"times-circle"}}};var d=(e,t)=>{const i=e.__vccOpts||e;for(const[e,n]of t)i[e]=n;return i};var u=d(t.defineComponent({name:"BIcon",props:{type:[String,Object],component:String,pack:String,icon:{type:String,required:!0},size:String,customSize:String,customClass:String,both:Boolean},computed:{iconConfig(){return{mdi:l,fa:c(),fas:c(),far:c(),fad:c(),fab:c(),fal:c(),"fa-solid":c(),"fa-regular":c(),"fa-light":c(),"fa-thin":c(),"fa-duotone":c(),"fa-brands":c()}[this.newPack]},iconPrefix(){return this.iconConfig&&this.iconConfig.iconPrefix?this.iconConfig.iconPrefix:""},newIcon(){return`${this.iconPrefix}${this.getEquivalentIconOf(this.icon)}`},newPack(){return this.pack||i},newType(){if(!this.type)return;let e=[];if("string"==typeof this.type)e=this.type.split("-");else for(const t in this.type)if(this.type[t]){e=t.split("-");break}if(e.length<=1)return;const[,...t]=e;return`has-text-${t.join("-")}`},newCustomSize(){return this.customSize||this.customSizeByPack},customSizeByPack(){if(this.iconConfig&&this.iconConfig.sizes){if(this.size&&void 0!==this.iconConfig.sizes[this.size])return this.iconConfig.sizes[this.size];if(this.iconConfig.sizes.default)return this.iconConfig.sizes.default}return null},useIconComponent(){return this.component||n}},methods:{getEquivalentIconOf(e){if(!this.both)return e;if(null==this.iconConfig)return e;const t=this.iconConfig;return t&&t.internalIcons&&t.internalIcons[e]?t.internalIcons[e]:e}}}),[["render",function(e,i,n,s,o,a){return t.openBlock(),t.createElementBlock("span",{class:t.normalizeClass(["icon",[e.newType,e.size]])},[e.useIconComponent?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.useIconComponent),{key:1,icon:[e.newPack,e.newIcon],size:e.newCustomSize,class:t.normalizeClass([e.customClass])},null,8,["icon","size","class"])):(t.openBlock(),t.createElementBlock("i",{key:0,class:t.normalizeClass([e.newPack,e.newIcon,e.newCustomSize,e.customClass])},null,2))],2)}]]),m=t.defineComponent({name:"BSlotComponent",props:{component:{type:Object,required:!0},name:{type:String,default:"default"},scoped:{type:Boolean},props:{type:Object},tag:{type:[String,Object],default:"div"}},methods:{refresh(){this.$forceUpdate()}},render(){return t.h(this.tag,{},this.component.$slots?this.scoped?this.component.$slots[this.name](this.props):this.component.$slots[this.name]():void 0)}}),p=Object.defineProperty,h=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,g=(e,t,i)=>t in e?p(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i;var I=(e,t)=>{const i={provide(){return{["b"+e]:this}}};return a(t,1)&&(i.data=function(){return((e,t)=>{for(var i in t||(t={}))f.call(t,i)&&g(e,i,t[i]);if(h)for(var i of h(t))v.call(t,i)&&g(e,i,t[i]);return e})({childItems:[]},a(t,3)?{nextIndex:0}:{})},i.methods={_registerItem(e){a(t,3)&&(e.dynamicIndex=this.nextIndex,++this.nextIndex),this.childItems.push(e)},_unregisterItem(e){this.childItems=this.childItems.filter((t=>t.uniqueValue!==e.uniqueValue))}},a(t,3)&&(i.computed={sortedItems(){return this.childItems.slice().sort(((e,t)=>e.index-t.index))}})),i};const b=["bottom","right","left"],x=["minimalist","compact"];var y,k=t.defineComponent({name:"BSteps",components:{BIcon:u},mixins:[(y="step",t.defineComponent({components:{BIcon:u,BSlotComponent:m},mixins:[I(y,3)],props:{modelValue:{type:[String,Number,null],default:void 0},size:String,animated:{type:Boolean,default:!0},animation:String,animateInitially:Boolean,vertical:{type:Boolean,default:!1},position:String,destroyOnHide:{type:Boolean,default:!1}},emits:{"update:modelValue":e=>!0},data(){return{activeId:this.modelValue,defaultSlots:[],contentHeight:0,isTransitioning:!1}},computed:{activeItem(){const e=this.childItems;return void 0===this.activeId?this.items[0]:null===this.activeId?null:e.find((e=>e.uniqueValue===this.activeId))},items(){return this.sortedItems}},watch:{modelValue(e){"number"==typeof e?(e=r(e,0,this.items.length-1),this.activeId=this.items[e].uniqueValue):this.activeId=e},activeId(e,t){const i=null!=t?this.childItems.find((e=>e.uniqueValue===t)):null;i&&this.activeItem&&(i.deactivate(this.activeItem.index),this.activeItem.activate(i.index)),(e=this.activeItem?"number"==typeof this.modelValue?this.items.indexOf(this.activeItem):this.activeItem.uniqueValue:void 0)!==this.modelValue&&this.$emit("update:modelValue",e)}},methods:{childClick(e){this.activeId=e.uniqueValue},getNextItemIdx(e,t=!1){let i=null;for(let n=0;n<this.items.length;n++){const s=this.items[n];if(e<s.index&&s.visible&&(!t||t&&!s.disabled)){i=s.index;break}}return i},getPrevItemIdx(e,t=!1){let i=null;for(let n=this.items.length-1;n>=0;n--){const s=this.items[n];if(s.index<e&&s.visible&&(!t||t&&!s.disabled)){i=s.index;break}}return i}},mounted(){if("number"==typeof this.modelValue){const e=r(this.modelValue,0,this.items.length-1);this.activeId=this.items[e].uniqueValue}else this.activeId=this.modelValue}}))],props:{type:[String,Object],iconPack:String,iconPrev:{type:String,default:()=>s},iconNext:{type:String,default:()=>o},hasNavigation:{type:Boolean,default:!0},labelPosition:{type:String,validator:e=>b.indexOf(e)>-1,default:"bottom"},rounded:{type:Boolean,default:!0},mobileMode:{type:String,validator:e=>x.indexOf(e)>-1,default:"minimalist"},ariaNextLabel:String,ariaPreviousLabel:String},computed:{activeItem(){return this.childItems.filter((e=>e.uniqueValue===this.activeId))[0]||this.items[0]},wrapperClasses(){return[this.size,{"is-vertical":this.vertical,[this.position]:this.position&&this.vertical}]},mainClasses(){return[this.type,{"has-label-right":"right"===this.labelPosition,"has-label-left":"left"===this.labelPosition,"is-animated":this.animated,"is-rounded":this.rounded,[`mobile-${this.mobileMode}`]:null!==this.mobileMode}]},hasPrev(){return null!==this.prevItemIdx},nextItemIdx(){const e=this.activeItem?this.activeItem.index:0;return this.getNextItemIdx(e)},nextItem(){let e=null;return null!==this.nextItemIdx&&(e=this.items.find((e=>e.index===this.nextItemIdx))),e},prevItemIdx(){if(!this.activeItem)return null;const e=this.activeItem.index;return this.getPrevItemIdx(e)},prevItem(){if(!this.activeItem)return null;let e=null;return null!==this.prevItemIdx&&(e=this.items.find((e=>e.index===this.prevItemIdx))),e},hasNext(){return null!==this.nextItemIdx},navigationProps(){return{previous:{disabled:!this.hasPrev,action:this.prev},next:{disabled:!this.hasNext,action:this.next}}}},methods:{isItemClickable(e){return void 0===e.clickable?e.index<this.activeItem.index:e.clickable},prev(){this.hasPrev&&(this.activeId=this.prevItem.uniqueValue)},next(){this.hasNext&&(this.activeId=this.nextItem.uniqueValue)}}});const C={class:"step-items"},S=["onClick"],P={class:"step-marker"},B={key:1},w={class:"step-details"},V={class:"step-title"},z={key:0,class:"step-navigation"},N=["disabled","aria-label"],O=["disabled","aria-label"];var E=d(k,[["render",function(e,i,n,s,o,a){const r=t.resolveComponent("b-icon");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["b-steps",e.wrapperClasses])},[t.createElementVNode("nav",{class:t.normalizeClass(["steps",e.mainClasses])},[t.createElementVNode("ul",C,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.items,(i=>t.withDirectives((t.openBlock(),t.createElementBlock("li",{key:i.uniqueValue,class:t.normalizeClass(["step-item",[i.type||e.type,i.headerClass,{"is-active":i.isActive,"is-previous":e.activeItem.index>i.index}]])},[t.createElementVNode("a",{class:t.normalizeClass(["step-link",{"is-clickable":e.isItemClickable(i)}]),onClick:t=>e.isItemClickable(i)&&e.childClick(i)},[t.createElementVNode("div",P,[i.icon?(t.openBlock(),t.createBlock(r,{key:0,icon:i.icon,pack:i.iconPack,size:e.size},null,8,["icon","pack","size"])):i.step?(t.openBlock(),t.createElementBlock("span",B,t.toDisplayString(i.step),1)):t.createCommentVNode("v-if",!0)]),t.createElementVNode("div",w,[t.createElementVNode("span",V,t.toDisplayString(i.label),1)])],10,S)],2)),[[t.vShow,i.visible]]))),128))])],2),t.createElementVNode("section",{class:t.normalizeClass(["step-content",{"is-transitioning":e.isTransitioning}])},[t.renderSlot(e.$slots,"default")],2),t.renderSlot(e.$slots,"navigation",{previous:e.navigationProps.previous,next:e.navigationProps.next},(()=>[e.hasNavigation?(t.openBlock(),t.createElementBlock("nav",z,[t.createElementVNode("a",{role:"button",class:"pagination-previous",disabled:e.navigationProps.previous.disabled||void 0,onClick:i[0]||(i[0]=t.withModifiers(((...t)=>e.navigationProps.previous.action&&e.navigationProps.previous.action(...t)),["prevent"])),"aria-label":e.ariaPreviousLabel},[t.createVNode(r,{icon:e.iconPrev,pack:e.iconPack,both:"","aria-hidden":"true"},null,8,["icon","pack"])],8,N),t.createElementVNode("a",{role:"button",class:"pagination-next",disabled:e.navigationProps.next.disabled||void 0,onClick:i[1]||(i[1]=t.withModifiers(((...t)=>e.navigationProps.next.action&&e.navigationProps.next.action(...t)),["prevent"])),"aria-label":e.ariaNextLabel},[t.createVNode(r,{icon:e.iconNext,pack:e.iconPack,both:"","aria-hidden":"true"},null,8,["icon","pack"])],8,O)])):t.createCommentVNode("v-if",!0)]))],2)}]]),j=Object.defineProperty,q=Object.defineProperties,$=Object.getOwnPropertyDescriptors,_=Object.getOwnPropertySymbols,T=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,A=(e,t,i)=>t in e?j(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,D=(e,t)=>{for(var i in t||(t={}))T.call(t,i)&&A(e,i,t[i]);if(_)for(var i of _(t))M.call(t,i)&&A(e,i,t[i]);return e},L=(e,t)=>q(e,$(t));var H,R=(e,t)=>{const i={inject:{parent:{from:"b"+e,default:""}},props:{value:{type:String,default:null}},computed:{uniqueValue(){return null!=this.value?this.value:this.$.uid}},created(){if(this.parent)this.parent._registerItem&&this.parent._registerItem(this);else if(!a(t,2))throw new Error("You should wrap "+this.$options.name+" in a "+e)},beforeUnmount(){this.parent&&this.parent._unregisterItem&&this.parent._unregisterItem(this)}};return a(t,1)&&(i.props=L(D({},i.props),{order:{type:Number,required:!1}}),i.data=()=>({dynamicIndex:void 0}),i.computed=L(D({},i.computed),{index(){return null!=this.order?this.order:this.dynamicIndex}})),i},U=t.defineComponent({name:"BStepItem",mixins:[(H="step",t.defineComponent({mixins:[R(H,1)],props:{label:String,icon:String,iconPack:String,visible:{type:Boolean,default:!0},headerClass:{type:[String,Array,Object],default:null}},data:()=>({transitionName:null,elementClass:"item",elementRole:null}),computed:{isActive(){return this.parent.activeItem===this}},methods:{activate(e){this.transitionName=this.index<e?this.parent.vertical?"slide-down":"slide-next":this.parent.vertical?"slide-up":"slide-prev"},deactivate(e){this.transitionName=e<this.index?this.parent.vertical?"slide-down":"slide-next":this.parent.vertical?"slide-up":"slide-prev"}},render(){var e;if(this.parent.destroyOnHide&&(!this.isActive||!this.visible))return;const i=t.withDirectives(t.h("div",{class:this.elementClass,role:this.elementRole,id:`${this.uniqueValue}-content`,"aria-labelledby":this.elementRole?`${this.uniqueValue}-label`:null,tabindex:this.isActive?0:-1},this.$slots),[[t.vShow,this.isActive&&this.visible]]);return this.parent.animated?t.h(t.Transition,{name:null!=(e=this.parent.animation||this.transitionName)?e:void 0,appear:!0===this.parent.animateInitially||void 0,onBeforeEnter:()=>{this.parent.isTransitioning=!0},onAfterEnter:()=>{this.parent.isTransitioning=!1}},{default:()=>i}):i}}))],props:{step:[String,Number],type:[String,Object],clickable:{type:Boolean,default:void 0}},data:()=>({elementClass:"step-item"})});const F=(e,t,i)=>{const n=t.name;if(null==n)throw new Error("Buefy.registerComponent: missing component name");e.component(n,t)},Y={install(e){F(e,E),F(e,U)}};e.BStepItem=U,e.BSteps=E,e.default=Y,Object.defineProperty(e,"__esModule",{value:!0})}));
1
+ /*! Buefy v3.0.6 | MIT License | github.com/buefy/buefy */
2
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vue")):"function"==typeof define&&define.amd?define(["exports","vue"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).Steps={},e.Vue)}(this,(function(e,t){"use strict";let i="mdi",n=null,s="chevron-left",o="chevron-right";function a(e,t){return(e&t)===t}function l(e,t,i){return Math.max(t,Math.min(i,e))}const r={sizes:{default:"mdi-24px","is-small":null,"is-medium":"mdi-36px","is-large":"mdi-48px"},iconPrefix:"mdi-"},c=()=>{const e="fa-";return{sizes:{default:null,"is-small":null,"is-medium":e+"lg","is-large":e+"2x"},iconPrefix:e,internalIcons:{information:"info-circle",alert:"exclamation-triangle","alert-circle":"exclamation-circle","chevron-right":"angle-right","chevron-left":"angle-left","chevron-down":"angle-down","eye-off":"eye-slash","menu-down":"caret-down","menu-up":"caret-up","close-circle":"times-circle"}}},d={checkboxOn:{type:"svg",viewBox:"0 0 1 1",path:"M 0.04038059,0.6267767 0.14644661,0.52071068 0.42928932,0.80355339 0.3232233,0.90961941 z M 0.21715729,0.80355339 0.85355339,0.16715729 0.95961941,0.2732233 0.3232233,0.90961941 z"},checkboxIndeterminate:{type:"svg",viewBox:"0 0 1 1",path:"M 0.15,0.4 L 0.85,0.4 L 0.85,0.6 L 0.15,0.6 Z"},chevronLeft:{type:"svg",path:"M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z"},chevronRight:{type:"svg",path:"M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z"},chevronDown:{type:"svg",path:"M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z"},chevronUp:{type:"svg",path:"M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z"},menuDown:{type:"svg",path:"M7,10L12,15L17,10H7Z"},menuUp:{type:"svg",path:"M7,14L12,9L17,14H7Z"},check:{type:"svg",path:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"},alertCircle:{type:"svg",path:"M13,13H11V7H13M13,17H11V15H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},alert:{type:"svg",path:"M13,14H11V10H13M13,18H11V16H13M1,21H23L12,2L1,21Z"},information:{type:"svg",path:"M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},close:{type:"svg",path:"M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z"},closeCircle:{type:"svg",path:"M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z"},eye:{type:"svg",path:"M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17M12,4.5C7,4.5 2.73,7.61 1,12C2.73,16.39 7,19.5 12,19.5C17,19.5 21.27,16.39 23,12C21.27,7.61 17,4.5 12,4.5Z"},eyeOff:{type:"svg",path:"M11.83,9L15,12.16C15,12.11 15,12.05 15,12A3,3 0 0,0 12,9C11.94,9 11.89,9 11.83,9M7.53,9.8L9.08,11.35C9.03,11.56 9,11.77 9,12A3,3 0 0,0 12,15C12.22,15 12.44,14.97 12.65,14.92L14.2,16.47C13.53,16.8 12.79,17 12,17A5,5 0 0,1 7,12C7,11.21 7.2,10.47 7.53,9.8M2,4.27L4.28,6.55L4.73,7C3.08,8.3 1.78,10 1,12C2.73,16.39 7,19.5 12,19.5C13.55,19.5 15.03,19.18 16.38,18.6L16.81,19L19.73,22L21,20.73L3.27,3M12,7A5,5 0 0,1 17,12C17,12.64 16.87,13.26 16.64,13.82L19.57,16.75C21.07,15.5 22.27,13.86 23,12C21.27,7.61 17,4.5 12,4.5C10.6,4.5 9.26,4.75 8,5.2L10.17,7.35C10.74,7.13 11.35,7 12,7Z"}};function u(e){return d[e]}var p=t.defineComponent({name:"BIcon",props:{type:[String,Object],component:String,pack:String,icon:{type:String,required:!1,default:void 0},alias:String,size:String,customSize:String,customClass:String,both:Boolean},computed:{resolvedAlias(){var e;return this.alias&&null!=(e=u(this.alias))?e:null},isSvgAlias(){var e;return"svg"===(null==(e=this.resolvedAlias)?void 0:e.type)},isComponentAlias(){var e;return"component"===(null==(e=this.resolvedAlias)?void 0:e.type)},resolvedAliasSvg(){return this.resolvedAlias},resolvedAliasComponent(){return this.resolvedAlias},iconConfig(){return{mdi:r,fa:c(),fas:c(),far:c(),fad:c(),fab:c(),fal:c(),"fa-solid":c(),"fa-regular":c(),"fa-light":c(),"fa-thin":c(),"fa-duotone":c(),"fa-brands":c()}[this.newPack]},iconPrefix(){return this.iconConfig&&this.iconConfig.iconPrefix?this.iconConfig.iconPrefix:""},newIcon(){var e;return`${this.iconPrefix}${this.getEquivalentIconOf(null!=(e=this.icon)?e:"")}`},newPack(){return this.pack||i},newType(){if(!this.type)return;let e=[];if("string"==typeof this.type)e=this.type.split("-");else for(const t in this.type)if(this.type[t]){e=t.split("-");break}if(e.length<=1)return;const[,...t]=e;return`has-text-${t.join("-")}`},newCustomSize(){return this.customSize||this.customSizeByPack},customSizeByPack(){if(this.iconConfig&&this.iconConfig.sizes){if(this.size&&void 0!==this.iconConfig.sizes[this.size])return this.iconConfig.sizes[this.size];if(this.iconConfig.sizes.default)return this.iconConfig.sizes.default}return null},useIconComponent(){return this.component||n}},methods:{getEquivalentIconOf(e){if(!this.both)return e;if(null==this.iconConfig)return e;const t=this.iconConfig;return t&&t.internalIcons&&t.internalIcons[e]?t.internalIcons[e]:e}}}),h=(e,t)=>{const i=e.__vccOpts||e;for(const[e,n]of t)i[e]=n;return i};const m=["viewBox"],v=["d"];var f=h(p,[["render",function(e,i,n,s,o,a){return t.openBlock(),t.createElementBlock("span",{class:t.normalizeClass(["icon",[e.newType,e.size]])},[e.isSvgAlias?(t.openBlock(),t.createElementBlock("svg",{key:0,viewBox:e.resolvedAliasSvg.viewBox||"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",class:t.normalizeClass(e.customClass),"aria-hidden":"true"},[t.createElementVNode("path",{fill:"currentColor",d:e.resolvedAliasSvg.path},null,8,v)],10,m)):e.isComponentAlias?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.resolvedAliasComponent.component),{key:1,icon:e.resolvedAliasComponent.icon,class:t.normalizeClass(e.customClass)},null,8,["icon","class"])):e.useIconComponent?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.useIconComponent),{key:3,icon:[e.newPack,e.newIcon],size:e.newCustomSize,class:t.normalizeClass([e.customClass])},null,8,["icon","size","class"])):(t.openBlock(),t.createElementBlock("i",{key:2,class:t.normalizeClass([e.newPack,e.newIcon,e.newCustomSize,e.customClass])},null,2))],2)}]]),g=t.defineComponent({name:"BSlotComponent",props:{component:{type:Object,required:!0},name:{type:String,default:"default"},scoped:{type:Boolean},props:{type:Object},tag:{type:[String,Object],default:"div"}},methods:{refresh(){this.$forceUpdate()}},render(){return t.h(this.tag,{},this.component.$slots?this.scoped?this.component.$slots[this.name](this.props):this.component.$slots[this.name]():void 0)}}),y=Object.defineProperty,I=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,C=(e,t,i)=>t in e?y(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i;var L=(e,t)=>{const i={provide(){return{["b"+e]:this}}};return a(t,1)&&(i.data=function(){return((e,t)=>{for(var i in t||(t={}))b.call(t,i)&&C(e,i,t[i]);if(I)for(var i of I(t))x.call(t,i)&&C(e,i,t[i]);return e})({childItems:[]},a(t,3)?{nextIndex:0}:{})},i.methods={_registerItem(e){a(t,3)&&(e.dynamicIndex=this.nextIndex,++this.nextIndex),this.childItems.push(e)},_unregisterItem(e){this.childItems=this.childItems.filter((t=>t.uniqueValue!==e.uniqueValue))}},a(t,3)&&(i.computed={sortedItems(){return this.childItems.slice().sort(((e,t)=>e.index-t.index))}})),i};const k=["bottom","right","left"],S=["minimalist","compact"];var w,B=t.defineComponent({name:"BSteps",components:{BIcon:f},mixins:[(w="step",t.defineComponent({components:{BIcon:f,BSlotComponent:g},mixins:[L(w,3)],props:{modelValue:{type:[String,Number,null],default:void 0},size:String,animated:{type:Boolean,default:!0},animation:String,animateInitially:Boolean,vertical:{type:Boolean,default:!1},position:String,destroyOnHide:{type:Boolean,default:!1}},emits:{"update:modelValue":e=>!0},data(){return{activeId:this.modelValue,defaultSlots:[],contentHeight:0,isTransitioning:!1}},computed:{activeItem(){const e=this.childItems;return void 0===this.activeId?this.items[0]:null===this.activeId?null:e.find((e=>e.uniqueValue===this.activeId))},items(){return this.sortedItems}},watch:{modelValue(e){"number"==typeof e?(e=l(e,0,this.items.length-1),this.activeId=this.items[e].uniqueValue):this.activeId=e},activeId(e,t){const i=null!=t?this.childItems.find((e=>e.uniqueValue===t)):null;i&&this.activeItem&&(i.deactivate(this.activeItem.index),this.activeItem.activate(i.index)),(e=this.activeItem?"number"==typeof this.modelValue?this.items.indexOf(this.activeItem):this.activeItem.uniqueValue:void 0)!==this.modelValue&&this.$emit("update:modelValue",e)}},methods:{childClick(e){this.activeId=e.uniqueValue},getNextItemIdx(e,t=!1){let i=null;for(let n=0;n<this.items.length;n++){const s=this.items[n];if(e<s.index&&s.visible&&(!t||t&&!s.disabled)){i=s.index;break}}return i},getPrevItemIdx(e,t=!1){let i=null;for(let n=this.items.length-1;n>=0;n--){const s=this.items[n];if(s.index<e&&s.visible&&(!t||t&&!s.disabled)){i=s.index;break}}return i}},mounted(){if("number"==typeof this.modelValue){const e=l(this.modelValue,0,this.items.length-1);this.activeId=this.items[e].uniqueValue}else this.activeId=this.modelValue}}))],props:{type:[String,Object],iconPack:String,iconPrev:{type:String,default:()=>s},iconNext:{type:String,default:()=>o},hasNavigation:{type:Boolean,default:!0},labelPosition:{type:String,validator:e=>k.indexOf(e)>-1,default:"bottom"},rounded:{type:Boolean,default:!0},mobileMode:{type:String,validator:e=>S.indexOf(e)>-1,default:"minimalist"},ariaNextLabel:String,ariaPreviousLabel:String},computed:{activeItem(){return this.childItems.filter((e=>e.uniqueValue===this.activeId))[0]||this.items[0]},wrapperClasses(){return[this.size,{"is-vertical":this.vertical,[this.position]:this.position&&this.vertical}]},mainClasses(){return[this.type,{"has-label-right":"right"===this.labelPosition,"has-label-left":"left"===this.labelPosition,"is-animated":this.animated,"is-rounded":this.rounded,[`mobile-${this.mobileMode}`]:null!==this.mobileMode}]},hasPrev(){return null!==this.prevItemIdx},nextItemIdx(){const e=this.activeItem?this.activeItem.index:0;return this.getNextItemIdx(e)},nextItem(){let e=null;return null!==this.nextItemIdx&&(e=this.items.find((e=>e.index===this.nextItemIdx))),e},prevItemIdx(){if(!this.activeItem)return null;const e=this.activeItem.index;return this.getPrevItemIdx(e)},prevItem(){if(!this.activeItem)return null;let e=null;return null!==this.prevItemIdx&&(e=this.items.find((e=>e.index===this.prevItemIdx))),e},hasNext(){return null!==this.nextItemIdx},navigationProps(){return{previous:{disabled:!this.hasPrev,action:this.prev},next:{disabled:!this.hasNext,action:this.next}}}},methods:{isItemClickable(e){return void 0===e.clickable?e.index<this.activeItem.index:e.clickable},prev(){this.hasPrev&&(this.activeId=this.prevItem.uniqueValue)},next(){this.hasNext&&(this.activeId=this.nextItem.uniqueValue)}}});const P={class:"step-items"},V=["onClick"],A={class:"step-marker"},z={key:1},M={class:"step-details"},O={class:"step-title"},N={key:0,class:"step-navigation"},E=["disabled","aria-label"],j=["disabled","aria-label"];var q=h(B,[["render",function(e,i,n,s,o,a){const l=t.resolveComponent("b-icon");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["b-steps",e.wrapperClasses])},[t.createElementVNode("nav",{class:t.normalizeClass(["steps",e.mainClasses])},[t.createElementVNode("ul",P,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.items,(i=>t.withDirectives((t.openBlock(),t.createElementBlock("li",{key:i.uniqueValue,class:t.normalizeClass(["step-item",[i.type||e.type,i.headerClass,{"is-active":i.isActive,"is-previous":e.activeItem.index>i.index}]])},[t.createElementVNode("a",{class:t.normalizeClass(["step-link",{"is-clickable":e.isItemClickable(i)}]),onClick:t=>e.isItemClickable(i)&&e.childClick(i)},[t.createElementVNode("div",A,[i.icon?(t.openBlock(),t.createBlock(l,{key:0,icon:i.icon,pack:i.iconPack,size:e.size},null,8,["icon","pack","size"])):i.step?(t.openBlock(),t.createElementBlock("span",z,t.toDisplayString(i.step),1)):t.createCommentVNode("v-if",!0)]),t.createElementVNode("div",M,[t.createElementVNode("span",O,t.toDisplayString(i.label),1)])],10,V)],2)),[[t.vShow,i.visible]]))),128))])],2),t.createElementVNode("section",{class:t.normalizeClass(["step-content",{"is-transitioning":e.isTransitioning}])},[t.renderSlot(e.$slots,"default")],2),t.renderSlot(e.$slots,"navigation",{previous:e.navigationProps.previous,next:e.navigationProps.next},(()=>[e.hasNavigation?(t.openBlock(),t.createElementBlock("nav",N,[t.createElementVNode("a",{role:"button",class:"pagination-previous",disabled:e.navigationProps.previous.disabled||void 0,onClick:i[0]||(i[0]=t.withModifiers(((...t)=>e.navigationProps.previous.action&&e.navigationProps.previous.action(...t)),["prevent"])),"aria-label":e.ariaPreviousLabel},[t.createVNode(l,{icon:e.iconPrev,pack:e.iconPack,both:"","aria-hidden":"true"},null,8,["icon","pack"])],8,E),t.createElementVNode("a",{role:"button",class:"pagination-next",disabled:e.navigationProps.next.disabled||void 0,onClick:i[1]||(i[1]=t.withModifiers(((...t)=>e.navigationProps.next.action&&e.navigationProps.next.action(...t)),["prevent"])),"aria-label":e.ariaNextLabel},[t.createVNode(l,{icon:e.iconNext,pack:e.iconPack,both:"","aria-hidden":"true"},null,8,["icon","pack"])],8,j)])):t.createCommentVNode("v-if",!0)]))],2)}]]),H=Object.defineProperty,$=Object.defineProperties,Z=Object.getOwnPropertyDescriptors,_=Object.getOwnPropertySymbols,D=Object.prototype.hasOwnProperty,T=Object.prototype.propertyIsEnumerable,R=(e,t,i)=>t in e?H(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,U=(e,t)=>{for(var i in t||(t={}))D.call(t,i)&&R(e,i,t[i]);if(_)for(var i of _(t))T.call(t,i)&&R(e,i,t[i]);return e},F=(e,t)=>$(e,Z(t));var Y,G=(e,t)=>{const i={inject:{parent:{from:"b"+e,default:""}},props:{value:{type:String,default:null}},computed:{uniqueValue(){return null!=this.value?this.value:this.$.uid}},created(){if(this.parent)this.parent._registerItem&&this.parent._registerItem(this);else if(!a(t,2))throw new Error("You should wrap "+this.$options.name+" in a "+e)},beforeUnmount(){this.parent&&this.parent._unregisterItem&&this.parent._unregisterItem(this)}};return a(t,1)&&(i.props=F(U({},i.props),{order:{type:Number,required:!1}}),i.data=()=>({dynamicIndex:void 0}),i.computed=F(U({},i.computed),{index(){return null!=this.order?this.order:this.dynamicIndex}})),i},J=t.defineComponent({name:"BStepItem",mixins:[(Y="step",t.defineComponent({mixins:[G(Y,1)],props:{label:String,icon:String,iconPack:String,visible:{type:Boolean,default:!0},headerClass:{type:[String,Array,Object],default:null}},data:()=>({transitionName:null,elementClass:"item",elementRole:null}),computed:{isActive(){return this.parent.activeItem===this}},methods:{activate(e){this.transitionName=this.index<e?this.parent.vertical?"slide-down":"slide-next":this.parent.vertical?"slide-up":"slide-prev"},deactivate(e){this.transitionName=e<this.index?this.parent.vertical?"slide-down":"slide-next":this.parent.vertical?"slide-up":"slide-prev"}},render(){var e;if(this.parent.destroyOnHide&&(!this.isActive||!this.visible))return;const i=t.withDirectives(t.h("div",{class:this.elementClass,role:this.elementRole,id:`${this.uniqueValue}-content`,"aria-labelledby":this.elementRole?`${this.uniqueValue}-label`:null,tabindex:this.isActive?0:-1},this.$slots),[[t.vShow,this.isActive&&this.visible]]);return this.parent.animated?t.h(t.Transition,{name:null!=(e=this.parent.animation||this.transitionName)?e:void 0,appear:!0===this.parent.animateInitially||void 0,onBeforeEnter:()=>{this.parent.isTransitioning=!0},onAfterEnter:()=>{this.parent.isTransitioning=!1}},{default:()=>i}):i}}))],props:{step:[String,Number],type:[String,Object],clickable:{type:Boolean,default:void 0}},data:()=>({elementClass:"step-item"})});const K=(e,t,i)=>{const n=t.name;if(null==n)throw new Error("Buefy.registerComponent: missing component name");e.component(n,t)},Q={install(e){K(e,q),K(e,J)}};e.BStepItem=J,e.BSteps=q,e.default=Q,Object.defineProperty(e,"__esModule",{value:!0})}));
@@ -1,4 +1,4 @@
1
- /*! Buefy v3.0.5 | MIT License | github.com/buefy/buefy */
1
+ /*! Buefy v3.0.6 | MIT License | github.com/buefy/buefy */
2
2
  (function (global, factory) {
3
3
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue')) :
4
4
  typeof define === 'function' && define.amd ? define(['exports', 'vue'], factory) :
@@ -1,2 +1,2 @@
1
- /*! Buefy v3.0.5 | MIT License | github.com/buefy/buefy */
1
+ /*! Buefy v3.0.6 | MIT License | github.com/buefy/buefy */
2
2
  !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vue")):"function"==typeof define&&define.amd?define(["exports","vue"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).Switch={},e.Vue)}(this,(function(e,t){"use strict";let l=!0;const a=t.defineComponent({name:"BSwitch",props:{modelValue:[String,Number,Boolean,Function,Object,Array,Date],nativeValue:[String,Number,Boolean,Function,Object,Array,Date],disabled:Boolean,type:String,passiveType:String,name:String,required:Boolean,size:String,ariaLabelledby:String,trueValue:{type:[String,Number,Boolean,Function,Object,Array,Date],default:!0},falseValue:{type:[String,Number,Boolean,Function,Object,Array,Date],default:!1},rounded:{type:Boolean,default:()=>l},outlined:{type:Boolean,default:!1},leftLabel:{type:Boolean,default:!1}},emits:["update:modelValue"],data(){return{newValue:this.modelValue,isMouseDown:!1}},computed:{computedValue:{get(){return this.newValue},set(e){this.newValue=e,this.$emit("update:modelValue",e)}},newClass(){return[this.size,{"is-disabled":this.disabled,"is-rounded":this.rounded,"is-outlined":this.outlined,"has-left-label":this.leftLabel}]},checkClasses(){return[{"is-elastic":this.isMouseDown&&!this.disabled},this.passiveType&&`${this.passiveType}-passive`,this.type]},showControlLabel(){return!!this.$slots.default},disabledOrUndefined(){return this.disabled||void 0}},watch:{modelValue(e){this.newValue=e}},methods:{focus(){this.$refs.input.focus()}}});const n=["disabled"],o=["disabled","name","required","value","true-value","false-value","aria-labelledby"],s=["id"];var i=((e,t)=>{const l=e.__vccOpts||e;for(const[e,a]of t)l[e]=a;return l})(a,[["render",function(e,l,a,i,u,r){return t.openBlock(),t.createElementBlock("label",{class:t.normalizeClass(["switch",e.newClass]),ref:"label",disabled:e.disabledOrUndefined,onClick:l[2]||(l[2]=(...t)=>e.focus&&e.focus(...t)),onKeydown:l[3]||(l[3]=t.withKeys(t.withModifiers((t=>e.$refs.label.click()),["prevent"]),["enter"])),onMousedown:l[4]||(l[4]=t=>e.isMouseDown=!0),onMouseup:l[5]||(l[5]=t=>e.isMouseDown=!1),onMouseout:l[6]||(l[6]=t=>e.isMouseDown=!1),onBlur:l[7]||(l[7]=t=>e.isMouseDown=!1)},[t.withDirectives(t.createElementVNode("input",{"onUpdate:modelValue":l[0]||(l[0]=t=>e.computedValue=t),type:"checkbox",ref:"input",onClick:l[1]||(l[1]=t.withModifiers((()=>{}),["stop"])),disabled:e.disabledOrUndefined,name:e.name,required:e.required,value:e.nativeValue,"true-value":e.trueValue,"false-value":e.falseValue,"aria-labelledby":e.ariaLabelledby},null,8,o),[[t.vModelCheckbox,e.computedValue]]),t.createElementVNode("span",{class:t.normalizeClass(["check",e.checkClasses])},null,2),e.showControlLabel?(t.openBlock(),t.createElementBlock("span",{key:0,id:e.ariaLabelledby,class:"control-label"},[t.renderSlot(e.$slots,"default")],8,s)):t.createCommentVNode("v-if",!0)],42,n)}]]);const u={install(e){((e,t)=>{const l=t.name;if(null==l)throw new Error("Buefy.registerComponent: missing component name");e.component(l,t)})(e,i)}};e.BSwitch=i,e.default=u,Object.defineProperty(e,"__esModule",{value:!0})}));
@@ -1,4 +1,4 @@
1
- /*! Buefy v3.0.5 | MIT License | github.com/buefy/buefy */
1
+ /*! Buefy v3.0.6 | MIT License | github.com/buefy/buefy */
2
2
  (function (global, factory) {
3
3
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue')) :
4
4
  typeof define === 'function' && define.amd ? define(['exports', 'vue'], factory) :
@@ -223,6 +223,81 @@
223
223
  }
224
224
  });
225
225
 
226
+ const defaultIconAliases = {
227
+ checkboxOn: {
228
+ type: "svg",
229
+ viewBox: "0 0 1 1",
230
+ path: "M 0.04038059,0.6267767 0.14644661,0.52071068 0.42928932,0.80355339 0.3232233,0.90961941 z M 0.21715729,0.80355339 0.85355339,0.16715729 0.95961941,0.2732233 0.3232233,0.90961941 z"
231
+ },
232
+ checkboxIndeterminate: {
233
+ type: "svg",
234
+ viewBox: "0 0 1 1",
235
+ path: "M 0.15,0.4 L 0.85,0.4 L 0.85,0.6 L 0.15,0.6 Z"
236
+ },
237
+ chevronLeft: {
238
+ type: "svg",
239
+ path: "M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z"
240
+ },
241
+ chevronRight: {
242
+ type: "svg",
243
+ path: "M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z"
244
+ },
245
+ chevronDown: {
246
+ type: "svg",
247
+ path: "M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z"
248
+ },
249
+ chevronUp: {
250
+ type: "svg",
251
+ path: "M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z"
252
+ },
253
+ menuDown: {
254
+ type: "svg",
255
+ path: "M7,10L12,15L17,10H7Z"
256
+ },
257
+ menuUp: {
258
+ type: "svg",
259
+ path: "M7,14L12,9L17,14H7Z"
260
+ },
261
+ check: {
262
+ type: "svg",
263
+ path: "M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"
264
+ },
265
+ alertCircle: {
266
+ type: "svg",
267
+ path: "M13,13H11V7H13M13,17H11V15H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"
268
+ },
269
+ alert: {
270
+ type: "svg",
271
+ path: "M13,14H11V10H13M13,18H11V16H13M1,21H23L12,2L1,21Z"
272
+ },
273
+ information: {
274
+ type: "svg",
275
+ path: "M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"
276
+ },
277
+ close: {
278
+ type: "svg",
279
+ path: "M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z"
280
+ },
281
+ closeCircle: {
282
+ type: "svg",
283
+ path: "M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z"
284
+ },
285
+ eye: {
286
+ type: "svg",
287
+ path: "M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17M12,4.5C7,4.5 2.73,7.61 1,12C2.73,16.39 7,19.5 12,19.5C17,19.5 21.27,16.39 23,12C21.27,7.61 17,4.5 12,4.5Z"
288
+ },
289
+ eyeOff: {
290
+ type: "svg",
291
+ path: "M11.83,9L15,12.16C15,12.11 15,12.05 15,12A3,3 0 0,0 12,9C11.94,9 11.89,9 11.83,9M7.53,9.8L9.08,11.35C9.03,11.56 9,11.77 9,12A3,3 0 0,0 12,15C12.22,15 12.44,14.97 12.65,14.92L14.2,16.47C13.53,16.8 12.79,17 12,17A5,5 0 0,1 7,12C7,11.21 7.2,10.47 7.53,9.8M2,4.27L4.28,6.55L4.73,7C3.08,8.3 1.78,10 1,12C2.73,16.39 7,19.5 12,19.5C13.55,19.5 15.03,19.18 16.38,18.6L16.81,19L19.73,22L21,20.73L3.27,3M12,7A5,5 0 0,1 17,12C17,12.64 16.87,13.26 16.64,13.82L19.57,16.75C21.07,15.5 22.27,13.86 23,12C21.27,7.61 17,4.5 12,4.5C10.6,4.5 9.26,4.75 8,5.2L10.17,7.35C10.74,7.13 11.35,7 12,7Z"
292
+ }
293
+ };
294
+ function getIconAliases() {
295
+ return defaultIconAliases;
296
+ }
297
+ function resolveAlias(name) {
298
+ return getIconAliases()[name];
299
+ }
300
+
226
301
  var _sfc_main$9 = vue.defineComponent({
227
302
  name: "BCheckbox",
228
303
  mixins: [CheckRadioMixin],
@@ -245,6 +320,19 @@
245
320
  type: String,
246
321
  default: ""
247
322
  }
323
+ },
324
+ computed: {
325
+ isChecked() {
326
+ const val = this.computedValue;
327
+ if (Array.isArray(val)) {
328
+ return val.includes(this.nativeValue);
329
+ }
330
+ return val === this.trueValue;
331
+ },
332
+ checkmarkAlias() {
333
+ const key = this.indeterminate ? "checkboxIndeterminate" : "checkboxOn";
334
+ return resolveAlias(key);
335
+ }
248
336
  }
249
337
  });
250
338
 
@@ -256,9 +344,11 @@
256
344
  return target;
257
345
  };
258
346
 
259
- const _hoisted_1$7 = ["disabled"];
260
- const _hoisted_2$6 = ["id", ".indeterminate", "autocomplete", "disabled", "required", "name", "value", "true-value", "false-value", "aria-labelledby"];
261
- const _hoisted_3$5 = ["id"];
347
+ const _hoisted_1$8 = ["disabled"];
348
+ const _hoisted_2$7 = ["id", ".indeterminate", "autocomplete", "disabled", "required", "name", "value", "true-value", "false-value", "aria-labelledby"];
349
+ const _hoisted_3$5 = ["viewBox"];
350
+ const _hoisted_4$5 = ["d"];
351
+ const _hoisted_5$3 = ["id"];
262
352
  function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
263
353
  return vue.openBlock(), vue.createElementBlock("label", {
264
354
  class: vue.normalizeClass(["b-checkbox checkbox", [_ctx.size, { "is-disabled": _ctx.disabled }]]),
@@ -287,7 +377,7 @@
287
377
  "true-value": _ctx.trueValue,
288
378
  "false-value": _ctx.falseValue,
289
379
  "aria-labelledby": _ctx.ariaLabelledby
290
- }, null, 40, _hoisted_2$6), [
380
+ }, null, 40, _hoisted_2$7), [
291
381
  [vue.vModelCheckbox, _ctx.computedValue]
292
382
  ]),
293
383
  vue.createElementVNode(
@@ -295,7 +385,19 @@
295
385
  {
296
386
  class: vue.normalizeClass(["check", _ctx.type])
297
387
  },
298
- null,
388
+ [
389
+ _ctx.isChecked || _ctx.indeterminate ? (vue.openBlock(), vue.createElementBlock("svg", {
390
+ key: 0,
391
+ viewBox: _ctx.checkmarkAlias.viewBox || "0 0 1 1",
392
+ xmlns: "http://www.w3.org/2000/svg",
393
+ "aria-hidden": "true"
394
+ }, [
395
+ vue.createElementVNode("path", {
396
+ fill: "currentColor",
397
+ d: _ctx.checkmarkAlias.path
398
+ }, null, 8, _hoisted_4$5)
399
+ ], 8, _hoisted_3$5)) : vue.createCommentVNode("v-if", true)
400
+ ],
299
401
  2
300
402
  /* CLASS */
301
403
  ),
@@ -304,8 +406,8 @@
304
406
  class: "control-label"
305
407
  }, [
306
408
  vue.renderSlot(_ctx.$slots, "default")
307
- ], 8, _hoisted_3$5)
308
- ], 42, _hoisted_1$7);
409
+ ], 8, _hoisted_5$3)
410
+ ], 42, _hoisted_1$8);
309
411
  }
310
412
  var BCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9]]);
311
413
 
@@ -369,8 +471,11 @@
369
471
  pack: String,
370
472
  icon: {
371
473
  type: String,
372
- required: true
474
+ required: false,
475
+ default: void 0
373
476
  },
477
+ /** Key into IconAliases (e.g. "chevronLeft"). Takes precedence over icon/pack. */
478
+ alias: String,
374
479
  size: String,
375
480
  customSize: String,
376
481
  customClass: String,
@@ -378,6 +483,26 @@
378
483
  // This is used internally to show both MDI and FA icon
379
484
  },
380
485
  computed: {
486
+ resolvedAlias() {
487
+ var _a;
488
+ if (!this.alias) return null;
489
+ return (_a = resolveAlias(this.alias)) != null ? _a : null;
490
+ },
491
+ isSvgAlias() {
492
+ var _a;
493
+ return ((_a = this.resolvedAlias) == null ? void 0 : _a.type) === "svg";
494
+ },
495
+ isComponentAlias() {
496
+ var _a;
497
+ return ((_a = this.resolvedAlias) == null ? void 0 : _a.type) === "component";
498
+ },
499
+ // Typed accessors used in the template
500
+ resolvedAliasSvg() {
501
+ return this.resolvedAlias;
502
+ },
503
+ resolvedAliasComponent() {
504
+ return this.resolvedAlias;
505
+ },
381
506
  iconConfig() {
382
507
  const allIcons = getIcons();
383
508
  return allIcons[this.newPack];
@@ -394,7 +519,8 @@
394
519
  * internal icons are always MDI.
395
520
  */
396
521
  newIcon() {
397
- return `${this.iconPrefix}${this.getEquivalentIconOf(this.icon)}`;
522
+ var _a;
523
+ return `${this.iconPrefix}${this.getEquivalentIconOf((_a = this.icon) != null ? _a : "")}`;
398
524
  },
399
525
  newPack() {
400
526
  return this.pack || config.defaultIconPack;
@@ -453,6 +579,8 @@
453
579
  }
454
580
  });
455
581
 
582
+ const _hoisted_1$7 = ["viewBox"];
583
+ const _hoisted_2$6 = ["d"];
456
584
  function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
457
585
  return vue.openBlock(), vue.createElementBlock(
458
586
  "span",
@@ -460,17 +588,32 @@
460
588
  class: vue.normalizeClass(["icon", [_ctx.newType, _ctx.size]])
461
589
  },
462
590
  [
463
- !_ctx.useIconComponent ? (vue.openBlock(), vue.createElementBlock(
591
+ _ctx.isSvgAlias ? (vue.openBlock(), vue.createElementBlock("svg", {
592
+ key: 0,
593
+ viewBox: _ctx.resolvedAliasSvg.viewBox || "0 0 24 24",
594
+ xmlns: "http://www.w3.org/2000/svg",
595
+ class: vue.normalizeClass(_ctx.customClass),
596
+ "aria-hidden": "true"
597
+ }, [
598
+ vue.createElementVNode("path", {
599
+ fill: "currentColor",
600
+ d: _ctx.resolvedAliasSvg.path
601
+ }, null, 8, _hoisted_2$6)
602
+ ], 10, _hoisted_1$7)) : _ctx.isComponentAlias ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.resolvedAliasComponent.component), {
603
+ key: 1,
604
+ icon: _ctx.resolvedAliasComponent.icon,
605
+ class: vue.normalizeClass(_ctx.customClass)
606
+ }, null, 8, ["icon", "class"])) : !_ctx.useIconComponent ? (vue.openBlock(), vue.createElementBlock(
464
607
  "i",
465
608
  {
466
- key: 0,
609
+ key: 2,
467
610
  class: vue.normalizeClass([_ctx.newPack, _ctx.newIcon, _ctx.newCustomSize, _ctx.customClass])
468
611
  },
469
612
  null,
470
613
  2
471
614
  /* CLASS */
472
615
  )) : (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.useIconComponent), {
473
- key: 1,
616
+ key: 3,
474
617
  icon: [_ctx.newPack, _ctx.newIcon],
475
618
  size: _ctx.newCustomSize,
476
619
  class: vue.normalizeClass([_ctx.customClass])