@mozaic-ds/web-components 0.11.0 → 0.12.0-beta.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 (357) hide show
  1. package/README.md +2 -1
  2. package/package.json +5 -5
  3. package/public/ClickOutside-63071e7a.js +15 -1
  4. package/public/ClickOutside-63071e7a.js.map +1 -1
  5. package/public/DataTableDefaultAction.nested-46712849.js +762 -0
  6. package/public/DataTableDefaultAction.nested-46712849.js.map +1 -0
  7. package/public/DataTableUtilities-313a448d.js +386 -0
  8. package/public/DataTableUtilities-313a448d.js.map +1 -0
  9. package/public/EventForward-8492ff62.js +109 -1
  10. package/public/EventForward-8492ff62.js.map +1 -1
  11. package/public/EventHandler-02058705.js +15 -1
  12. package/public/EventHandler-02058705.js.map +1 -1
  13. package/public/adeo/components/autocomplete/Autocomplete.js +1 -1
  14. package/public/adeo/components/autocomplete/Autocomplete.js.map +1 -1
  15. package/public/adeo/components/autocomplete/Autocomplete.svelte +7 -5
  16. package/public/adeo/components/header/Header.js +1 -1
  17. package/public/adeo/components/header/Header.js.map +1 -1
  18. package/public/adeo/components/pagination/Pagination.js +1 -1
  19. package/public/adeo/components/pagination/Pagination.js.map +1 -1
  20. package/public/adeo/components/pagination/Pagination.svelte +5 -4
  21. package/public/adeo/components/sidebar/sidebar-feature-group.nested.js +1 -1
  22. package/public/adeo/components/sidebar/sidebar-feature-group.nested.js.map +1 -1
  23. package/public/adeo/components/sidebar/sidebar-segment.nested.js +1 -1
  24. package/public/adeo/components/sidebar/sidebar-segment.nested.js.map +1 -1
  25. package/public/adeo/components/sidebar-feature-group/sidebar-feature-group.nested.svelte +1 -1
  26. package/public/adeo/components/sidebar-segment/sidebar-segment.nested.svelte +1 -1
  27. package/public/array-5b770a93.js +13 -1
  28. package/public/array-5b770a93.js.map +1 -1
  29. package/public/axis-fbc0f7b5.js +174 -1
  30. package/public/axis-fbc0f7b5.js.map +1 -1
  31. package/public/band-d7a07d2c.js +186 -1
  32. package/public/band-d7a07d2c.js.map +1 -1
  33. package/public/bricoman/components/autocomplete/Autocomplete.js +1 -1
  34. package/public/bricoman/components/autocomplete/Autocomplete.js.map +1 -1
  35. package/public/bricoman/components/autocomplete/Autocomplete.svelte +7 -5
  36. package/public/bricoman/components/header/Header.js +1 -1
  37. package/public/bricoman/components/header/Header.js.map +1 -1
  38. package/public/bricoman/components/pagination/Pagination.js +1 -1
  39. package/public/bricoman/components/pagination/Pagination.js.map +1 -1
  40. package/public/bricoman/components/pagination/Pagination.svelte +5 -4
  41. package/public/bricoman/components/sidebar/sidebar-feature-group.nested.js +1 -1
  42. package/public/bricoman/components/sidebar/sidebar-feature-group.nested.js.map +1 -1
  43. package/public/bricoman/components/sidebar/sidebar-segment.nested.js +1 -1
  44. package/public/bricoman/components/sidebar/sidebar-segment.nested.js.map +1 -1
  45. package/public/bricoman/components/sidebar-feature-group/sidebar-feature-group.nested.svelte +1 -1
  46. package/public/bricoman/components/sidebar-segment/sidebar-segment.nested.svelte +1 -1
  47. package/public/bundle.js +56 -60
  48. package/public/components/accordion/Accordion.js +365 -1
  49. package/public/components/accordion/Accordion.js.map +1 -1
  50. package/public/components/autocomplete/Autocomplete.js +1515 -1
  51. package/public/components/autocomplete/Autocomplete.js.map +1 -1
  52. package/public/components/autocomplete/Autocomplete.svelte +15 -34
  53. package/public/components/badge/Badge.js +155 -1
  54. package/public/components/badge/Badge.js.map +1 -1
  55. package/public/components/badge/Badge.nested.js +101 -1
  56. package/public/components/badge/Badge.nested.js.map +1 -1
  57. package/public/components/breadcrumb/Breadcrumb.js +372 -1
  58. package/public/components/breadcrumb/Breadcrumb.js.map +1 -1
  59. package/public/components/breadcrumb/Breadcrumb.nested.js +319 -1
  60. package/public/components/breadcrumb/Breadcrumb.nested.js.map +1 -1
  61. package/public/components/button/Button.js +1141 -1
  62. package/public/components/button/Button.js.map +1 -1
  63. package/public/components/button/Button.nested.js +1005 -0
  64. package/public/components/button/Button.nested.js.map +1 -0
  65. package/public/components/button/Button.nested.svelte +173 -0
  66. package/public/components/button/Button.svelte +2 -2
  67. package/public/components/card/Card.js +369 -1
  68. package/public/components/card/Card.js.map +1 -1
  69. package/public/components/carousel/Carousel.js +710 -0
  70. package/public/components/carousel/Carousel.js.map +1 -0
  71. package/public/components/carousel/Carousel.svelte +408 -0
  72. package/public/components/carousel/CarouselCard.nested.js +140 -0
  73. package/public/components/carousel/CarouselCard.nested.js.map +1 -0
  74. package/public/components/carousel/carousel.types.d.ts +20 -0
  75. package/public/components/carousel/carousel.types.d.ts.map +1 -0
  76. package/public/components/carouselcard/CarouselCard.nested.svelte +54 -0
  77. package/public/components/chart/BarChart.js +583 -1
  78. package/public/components/chart/BarChart.js.map +1 -1
  79. package/public/components/chart/Donut.js +1189 -1
  80. package/public/components/chart/Donut.js.map +1 -1
  81. package/public/components/chart/GroupedBarChart.js +750 -1
  82. package/public/components/chart/GroupedBarChart.js.map +1 -1
  83. package/public/components/chart/LineChart.js +1731 -1
  84. package/public/components/chart/LineChart.js.map +1 -1
  85. package/public/components/chart/Radar.js +729 -1
  86. package/public/components/chart/Radar.js.map +1 -1
  87. package/public/components/chart/StackedBarChart.js +745 -1
  88. package/public/components/chart/StackedBarChart.js.map +1 -1
  89. package/public/components/checkbox/Checkbox.js +307 -1
  90. package/public/components/checkbox/Checkbox.js.map +1 -1
  91. package/public/components/checkboxgroup/checkboxGroup.js +404 -1
  92. package/public/components/checkboxgroup/checkboxGroup.js.map +1 -1
  93. package/public/components/checkboxgroup/checkboxgroup.types.d.ts.map +1 -1
  94. package/public/components/datatable/DataTable.js +3098 -1
  95. package/public/components/datatable/DataTable.js.map +1 -1
  96. package/public/components/datatable/DataTable.svelte +19 -44
  97. package/public/components/datatable/DataTableDefaultAction.nested.js +4 -1
  98. package/public/components/datatable/DataTableDefaultAction.nested.js.map +1 -1
  99. package/public/components/datatable/DataTableDefaultEdtion.nested.js +164 -1
  100. package/public/components/datatable/DataTableDefaultEdtion.nested.js.map +1 -1
  101. package/public/components/datatable/DataTableDefaultFilterTags.nested.js +380 -1
  102. package/public/components/datatable/DataTableDefaultFilterTags.nested.js.map +1 -1
  103. package/public/components/datatable/DataTableDefaultSelection.nested.js +424 -1
  104. package/public/components/datatable/DataTableDefaultSelection.nested.js.map +1 -1
  105. package/public/components/datatable/DataTableDefaultSelectionLabel.nested.js +263 -1
  106. package/public/components/datatable/DataTableDefaultSelectionLabel.nested.js.map +1 -1
  107. package/public/components/datatable/DataTableFooter.nested.js +637 -1
  108. package/public/components/datatable/DataTableFooter.nested.js.map +1 -1
  109. package/public/components/datatable/data.d.ts.map +1 -1
  110. package/public/components/datatable/datatable.types.d.ts +2 -16
  111. package/public/components/datatable/datatable.types.d.ts.map +1 -1
  112. package/public/components/datatabledefaultaction/DataTableDefaultAction.nested.svelte +0 -18
  113. package/public/components/dropdown/Dropdown.js +1426 -1
  114. package/public/components/dropdown/Dropdown.js.map +1 -1
  115. package/public/components/field/Field.js +375 -1
  116. package/public/components/field/Field.js.map +1 -1
  117. package/public/components/fileuploader/FileUploader.js +603 -1
  118. package/public/components/fileuploader/FileUploader.js.map +1 -1
  119. package/public/components/fileuploader/ResultFile.nested.js +344 -1
  120. package/public/components/fileuploader/ResultFile.nested.js.map +1 -1
  121. package/public/components/flag/Flag.js +174 -1
  122. package/public/components/flag/Flag.js.map +1 -1
  123. package/public/components/header/Header.js +918 -1
  124. package/public/components/header/Header.js.map +1 -1
  125. package/public/components/header/Header.types.d.ts.map +1 -1
  126. package/public/components/hero/Hero.js +271 -1
  127. package/public/components/hero/Hero.js.map +1 -1
  128. package/public/components/kpi/Kpi.js +404 -1
  129. package/public/components/kpi/Kpi.js.map +1 -1
  130. package/public/components/layer/Layer.js +471 -1
  131. package/public/components/layer/Layer.js.map +1 -1
  132. package/public/components/link/Link.js +380 -1
  133. package/public/components/link/Link.js.map +1 -1
  134. package/public/components/link/Link.nested.js +285 -0
  135. package/public/components/link/Link.nested.js.map +1 -0
  136. package/public/components/link/Link.nested.svelte +78 -0
  137. package/public/components/listbox/Listbox.js +595 -1
  138. package/public/components/listbox/Listbox.js.map +1 -1
  139. package/public/components/listbox/Listbox.nested.js +629 -1
  140. package/public/components/listbox/Listbox.nested.js.map +1 -1
  141. package/public/components/loader/Loader.js +246 -1
  142. package/public/components/loader/Loader.js.map +1 -1
  143. package/public/components/loader/Loader.nested.js +176 -1
  144. package/public/components/loader/Loader.nested.js.map +1 -1
  145. package/public/components/modal/Modal.js +395 -1
  146. package/public/components/modal/Modal.js.map +1 -1
  147. package/public/components/notification/Notification.js +458 -1
  148. package/public/components/notification/Notification.js.map +1 -1
  149. package/public/components/optionbutton/OptionButton.js +316 -1
  150. package/public/components/optionbutton/OptionButton.js.map +1 -1
  151. package/public/components/overlay/Overlay.js +104 -1
  152. package/public/components/overlay/Overlay.js.map +1 -1
  153. package/public/components/overlay/OverlayLoader.js +151 -1
  154. package/public/components/overlay/OverlayLoader.js.map +1 -1
  155. package/public/components/pagination/Pagination.js +613 -1
  156. package/public/components/pagination/Pagination.js.map +1 -1
  157. package/public/components/passwordinput/PasswordInput.js +291 -1
  158. package/public/components/passwordinput/PasswordInput.js.map +1 -1
  159. package/public/components/phonenumber/PhoneNumber.js +6894 -1
  160. package/public/components/phonenumber/PhoneNumber.js.map +1 -1
  161. package/public/components/phonenumber/PhoneNumber.svelte +1 -1
  162. package/public/components/price/Price.js +768 -1
  163. package/public/components/price/Price.js.map +1 -1
  164. package/public/components/progressbar/ProgressBar.js +278 -1
  165. package/public/components/progressbar/ProgressBar.js.map +1 -1
  166. package/public/components/quantityselector/QuantitySelector.js +397 -1
  167. package/public/components/quantityselector/QuantitySelector.js.map +1 -1
  168. package/public/components/radio/Radio.js +273 -1
  169. package/public/components/radio/Radio.js.map +1 -1
  170. package/public/components/radiogroup/RadioGroup.js +414 -1
  171. package/public/components/radiogroup/RadioGroup.js.map +1 -1
  172. package/public/components/radiogroup/radioGroup.types.d.ts.map +1 -1
  173. package/public/components/ratings/StarsInput.js +292 -1
  174. package/public/components/ratings/StarsInput.js.map +1 -1
  175. package/public/components/ratings/StarsResult.js +246 -1
  176. package/public/components/ratings/StarsResult.js.map +1 -1
  177. package/public/components/select/Select.js +451 -1
  178. package/public/components/select/Select.js.map +1 -1
  179. package/public/components/sidebar/Sidebar.js +784 -1
  180. package/public/components/sidebar/Sidebar.js.map +1 -1
  181. package/public/components/sidebar/sidebar-feature-group.nested.js +592 -1
  182. package/public/components/sidebar/sidebar-feature-group.nested.js.map +1 -1
  183. package/public/components/sidebar/sidebar-feature.nested.js +402 -1
  184. package/public/components/sidebar/sidebar-feature.nested.js.map +1 -1
  185. package/public/components/sidebar/sidebar-section.nested.js +394 -1
  186. package/public/components/sidebar/sidebar-section.nested.js.map +1 -1
  187. package/public/components/sidebar/sidebar-segment.nested.js +198 -1
  188. package/public/components/sidebar/sidebar-segment.nested.js.map +1 -1
  189. package/public/components/sidebar/sidebar-separator.nested.js +49 -1
  190. package/public/components/sidebar/sidebar-separator.nested.js.map +1 -1
  191. package/public/components/sidebar/sidebar-service.d.ts.map +1 -1
  192. package/public/components/sidebar/sidebar-sub-features.nested.js +312 -1
  193. package/public/components/sidebar/sidebar-sub-features.nested.js.map +1 -1
  194. package/public/components/sidebar/sidebar-user.nested.js +733 -1
  195. package/public/components/sidebar/sidebar-user.nested.js.map +1 -1
  196. package/public/components/sidebar/sidebar.types.d.ts.map +1 -1
  197. package/public/components/sidebar-user/sidebar-user.nested.svelte +0 -1
  198. package/public/components/starsinput/StarsInput.svelte +2 -9
  199. package/public/components/stepper/Stepper.js +371 -1
  200. package/public/components/stepper/Stepper.js.map +1 -1
  201. package/public/components/tabs/Tabs.js +615 -1
  202. package/public/components/tabs/Tabs.js.map +1 -1
  203. package/public/components/tabs/Tabs.nested.js +472 -1
  204. package/public/components/tabs/Tabs.nested.js.map +1 -1
  205. package/public/components/tag/Tag.js +665 -1
  206. package/public/components/tag/Tag.js.map +1 -1
  207. package/public/components/tag/Tag.nested.js +554 -1
  208. package/public/components/tag/Tag.nested.js.map +1 -1
  209. package/public/components/tag/Tag.nested.svelte +5 -5
  210. package/public/components/tag/Tag.svelte +5 -5
  211. package/public/components/taglist/TagList.js +475 -1
  212. package/public/components/taglist/TagList.js.map +1 -1
  213. package/public/components/textarea/Textarea.js +303 -1
  214. package/public/components/textarea/Textarea.js.map +1 -1
  215. package/public/components/textinput/Textinput.js +497 -1
  216. package/public/components/textinput/Textinput.js.map +1 -1
  217. package/public/components/textinput/Textinput.nested.js +320 -1
  218. package/public/components/textinput/Textinput.nested.js.map +1 -1
  219. package/public/components/toggle/Toggle.js +278 -1
  220. package/public/components/toggle/Toggle.js.map +1 -1
  221. package/public/components/tooltip/Tooltip.js +173 -1
  222. package/public/components/tooltip/Tooltip.js.map +1 -1
  223. package/public/icons/Billzloty24.js +2 -0
  224. package/public/icons/Billzloty24.js.map +1 -0
  225. package/public/icons/Billzloty32.js +2 -0
  226. package/public/icons/Billzloty32.js.map +1 -0
  227. package/public/icons/Billzloty48.js +2 -0
  228. package/public/icons/Billzloty48.js.map +1 -0
  229. package/public/icons/Billzloty64.js +2 -0
  230. package/public/icons/Billzloty64.js.map +1 -0
  231. package/public/icons/CardFundingzloty24.js +2 -0
  232. package/public/icons/CardFundingzloty24.js.map +1 -0
  233. package/public/icons/CardFundingzloty32.js +2 -0
  234. package/public/icons/CardFundingzloty32.js.map +1 -0
  235. package/public/icons/CardFundingzloty48.js +2 -0
  236. package/public/icons/CardFundingzloty48.js.map +1 -0
  237. package/public/icons/CardFundingzloty64.js +2 -0
  238. package/public/icons/CardFundingzloty64.js.map +1 -0
  239. package/public/icons/Fundingzloty24.js +2 -0
  240. package/public/icons/Fundingzloty24.js.map +1 -0
  241. package/public/icons/Fundingzloty32.js +2 -0
  242. package/public/icons/Fundingzloty32.js.map +1 -0
  243. package/public/icons/Fundingzloty48.js +2 -0
  244. package/public/icons/Fundingzloty48.js.map +1 -0
  245. package/public/icons/Fundingzloty64.js +2 -0
  246. package/public/icons/Fundingzloty64.js.map +1 -0
  247. package/public/icons/MonochromeStoreLocationbm24.js +2 -0
  248. package/public/icons/MonochromeStoreLocationbm24.js.map +1 -0
  249. package/public/icons/MonochromeStoreLocationbm32.js +2 -0
  250. package/public/icons/MonochromeStoreLocationbm32.js.map +1 -0
  251. package/public/icons/MonochromeStoreLocationbm48.js +2 -0
  252. package/public/icons/MonochromeStoreLocationbm48.js.map +1 -0
  253. package/public/icons/MonochromeStoreLocationbm64.js +2 -0
  254. package/public/icons/MonochromeStoreLocationbm64.js.map +1 -0
  255. package/public/icons/PaymentMonochromeBonificoBancario24.js +2 -0
  256. package/public/icons/PaymentMonochromeBonificoBancario24.js.map +1 -0
  257. package/public/icons/PaymentMonochromeBonificoBancario32.js +2 -0
  258. package/public/icons/PaymentMonochromeBonificoBancario32.js.map +1 -0
  259. package/public/icons/PaymentMonochromeBonificoBancario48.js +2 -0
  260. package/public/icons/PaymentMonochromeBonificoBancario48.js.map +1 -0
  261. package/public/icons/PaymentMonochromeBonificoBancario64.js +2 -0
  262. package/public/icons/PaymentMonochromeBonificoBancario64.js.map +1 -0
  263. package/public/icons/Receiptzloty24.js +2 -0
  264. package/public/icons/Receiptzloty24.js.map +1 -0
  265. package/public/icons/Receiptzloty32.js +2 -0
  266. package/public/icons/Receiptzloty32.js.map +1 -0
  267. package/public/icons/Receiptzloty48.js +2 -0
  268. package/public/icons/Receiptzloty48.js.map +1 -0
  269. package/public/icons/Receiptzloty64.js +2 -0
  270. package/public/icons/Receiptzloty64.js.map +1 -0
  271. package/public/icons/Renewableenergy24.js +2 -0
  272. package/public/icons/Renewableenergy24.js.map +1 -0
  273. package/public/icons/Renewableenergy32.js +2 -0
  274. package/public/icons/Renewableenergy32.js.map +1 -0
  275. package/public/icons/Renewableenergy48.js +2 -0
  276. package/public/icons/Renewableenergy48.js.map +1 -0
  277. package/public/icons/Renewableenergy64.js +2 -0
  278. package/public/icons/Renewableenergy64.js.map +1 -0
  279. package/public/icons/StoreBM24.js +2 -0
  280. package/public/icons/StoreBM24.js.map +1 -0
  281. package/public/icons/StoreBM32.js +2 -0
  282. package/public/icons/StoreBM32.js.map +1 -0
  283. package/public/icons/StoreBM48.js +2 -0
  284. package/public/icons/StoreBM48.js.map +1 -0
  285. package/public/icons/StoreBM64.js +2 -0
  286. package/public/icons/StoreBM64.js.map +1 -0
  287. package/public/icons/Wood24.js +2 -0
  288. package/public/icons/Wood24.js.map +1 -0
  289. package/public/icons/Wood32.js +2 -0
  290. package/public/icons/Wood32.js.map +1 -0
  291. package/public/icons/Wood48.js +2 -0
  292. package/public/icons/Wood48.js.map +1 -0
  293. package/public/icons/Wood64.js +2 -0
  294. package/public/icons/Wood64.js.map +1 -0
  295. package/public/icons/Woodflooring24.js +2 -0
  296. package/public/icons/Woodflooring24.js.map +1 -0
  297. package/public/icons/Woodflooring32.js +2 -0
  298. package/public/icons/Woodflooring32.js.map +1 -0
  299. package/public/icons/Woodflooring48.js +2 -0
  300. package/public/icons/Woodflooring48.js.map +1 -0
  301. package/public/icons/Woodflooring64.js +2 -0
  302. package/public/icons/Woodflooring64.js.map +1 -0
  303. package/public/icons/Woodflooringalt24.js +2 -0
  304. package/public/icons/Woodflooringalt24.js.map +1 -0
  305. package/public/icons/Woodflooringalt32.js +2 -0
  306. package/public/icons/Woodflooringalt32.js.map +1 -0
  307. package/public/icons/Woodflooringalt48.js +2 -0
  308. package/public/icons/Woodflooringalt48.js.map +1 -0
  309. package/public/icons/Woodflooringalt64.js +2 -0
  310. package/public/icons/Woodflooringalt64.js.map +1 -0
  311. package/public/icons/Zloty24.js +2 -0
  312. package/public/icons/Zloty24.js.map +1 -0
  313. package/public/icons/Zloty32.js +2 -0
  314. package/public/icons/Zloty32.js.map +1 -0
  315. package/public/icons/Zloty48.js +2 -0
  316. package/public/icons/Zloty48.js.map +1 -0
  317. package/public/icons/Zloty64.js +2 -0
  318. package/public/icons/Zloty64.js.map +1 -0
  319. package/public/icons.js +888 -696
  320. package/public/index-c33b3772.js +873 -1
  321. package/public/index-c33b3772.js.map +1 -1
  322. package/public/linear-f46d7e9e.js +700 -1
  323. package/public/linear-f46d7e9e.js.map +1 -1
  324. package/public/main.d.ts +1 -0
  325. package/public/main.d.ts.map +1 -1
  326. package/public/path-1b5da959.js +186 -1
  327. package/public/path-1b5da959.js.map +1 -1
  328. package/public/sidebar-service-275bf9ef.js +129 -1
  329. package/public/sidebar-service-275bf9ef.js.map +1 -1
  330. package/public/sidebar-service-589b271b.js +125 -0
  331. package/public/sidebar-service-589b271b.js.map +1 -0
  332. package/public/stories/carousel/items.d.ts +3 -0
  333. package/public/stories/carousel/items.d.ts.map +1 -0
  334. package/public/symbol-b05a6e2b.js +169 -1
  335. package/public/symbol-b05a6e2b.js.map +1 -1
  336. package/public/transform-15d69d5d.js +2743 -1
  337. package/public/transform-15d69d5d.js.map +1 -1
  338. package/public/utilities/DataTableUtilities.d.ts.map +1 -1
  339. package/public/utilities/DataTableUtilities.ts +0 -12
  340. package/public/utilities/EventForward.js +136 -1
  341. package/public/utilities/EventForward.js.map +1 -1
  342. package/public/utilities/EventHandler.js +36 -1
  343. package/public/utilities/EventHandler.js.map +1 -1
  344. package/public/utilities/components/carousel/carousel.types.d.ts +20 -0
  345. package/public/utilities/components/carousel/carousel.types.d.ts.map +1 -0
  346. package/public/utilities/components/datatable/data.d.ts.map +1 -1
  347. package/public/utilities/components/datatable/datatable.types.d.ts +2 -16
  348. package/public/utilities/components/datatable/datatable.types.d.ts.map +1 -1
  349. package/public/utilities/main.d.ts +1 -0
  350. package/public/utilities/main.d.ts.map +1 -1
  351. package/public/utilities/stories/carousel/Carousel.stories.d.ts +8 -0
  352. package/public/utilities/stories/carousel/Carousel.stories.d.ts.map +1 -0
  353. package/public/utilities/stories/carousel/items.d.ts +3 -0
  354. package/public/utilities/stories/carousel/items.d.ts.map +1 -0
  355. package/public/utilities/stories/datatable/DataTable.stories.d.ts.map +1 -1
  356. package/public/utilities/stories/ratings/StarsResult.stories.d.ts.map +1 -1
  357. package/public/utilities/utilities/DataTableUtilities.d.ts.map +1 -1
@@ -0,0 +1,1005 @@
1
+ import { P as SvelteComponent, i as init, s as safe_not_equal, Q as append_styles, c as assign, e as element, d as space, h as set_attributes, z as toggle_class, b as insert, j as append, B as action_destroyer, C as transition_in, D as transition_out, E as check_outros, m as get_spread_update, o as detach, p as compute_rest_props, r as get_current_component, q as exclude_internal_props, g as attr, M as group_outros, Z as HtmlTag, K as empty, n as noop, x as create_component, A as mount_component, G as destroy_component, t as text, k as set_data } from '../../index-c33b3772.js';
2
+ import { c as createEventForwarder } from '../../EventForward-8492ff62.js';
3
+ import Loader_nested from '../loader/Loader.nested.js';
4
+
5
+ /* src/components/button/Button.nested.svelte generated by Svelte v3.58.0 */
6
+
7
+ function add_css(target) {
8
+ append_styles(target, "svelte-1bvydp8", ".mc-button.svelte-1bvydp8.svelte-1bvydp8{margin:0;-webkit-box-shadow:none;box-shadow:none;text-decoration:none;outline:none;border:none;cursor:pointer;padding:0;color:#ffffff;background-color:#188803;font-family:\"LeroyMerlin\", sans-serif;font-weight:600;font-size:1rem;line-height:1.375;padding:0.6875rem 1.5rem;min-height:3rem;min-width:3rem;cursor:pointer;border-radius:4px;text-align:center;border:2px solid transparent;-webkit-transition:all ease 200ms;-o-transition:all ease 200ms;transition:all ease 200ms;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;vertical-align:middle;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;-webkit-box-sizing:border-box;box-sizing:border-box;fill:currentColor}.mc-button.is-hover.svelte-1bvydp8.svelte-1bvydp8,.mc-button.svelte-1bvydp8.svelte-1bvydp8:hover{background-color:#006902;color:#ffffff}.mc-button.is-active.svelte-1bvydp8.svelte-1bvydp8,.mc-button.svelte-1bvydp8.svelte-1bvydp8:active{background-color:#006902}.mc-button.svelte-1bvydp8.svelte-1bvydp8:disabled,.mc-button.is-disabled.svelte-1bvydp8.svelte-1bvydp8{background-color:#cccccc;border-color:transparent;color:#666666;cursor:not-allowed}.mc-button.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8{width:1.5rem;height:1.5rem}.mc-button.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8:first-child,.mc-button.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8:last-child{margin-bottom:-1px;margin-top:-1px}.mc-button.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button.is-focus.svelte-1bvydp8.svelte-1bvydp8,.mc-button.svelte-1bvydp8.svelte-1bvydp8:focus{-webkit-box-shadow:0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #0b96cc;box-shadow:0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #0b96cc}.mc-button--s.svelte-1bvydp8.svelte-1bvydp8{font-size:0.875rem;line-height:1.2857142857;padding:0.3125rem 1rem;min-height:2rem;min-width:2rem}.mc-button--s.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8{width:1.5rem;height:1.5rem}.mc-button--s.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8:first-child,.mc-button--s.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8:last-child{margin-bottom:-0.1875rem;margin-top:-0.1875rem}.mc-button--s.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8:only-child{margin-bottom:0;margin-top:0;width:1.5rem;height:1.5rem}.mc-button--m.svelte-1bvydp8.svelte-1bvydp8{font-size:1rem;line-height:1.375;padding:0.6875rem 1.5rem;min-height:3rem;min-width:3rem}.mc-button--m.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8{width:1.5rem;height:1.5rem}.mc-button--m.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8:first-child,.mc-button--m.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8:last-child{margin-bottom:-1px;margin-top:-1px}.mc-button--m.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button--l.svelte-1bvydp8.svelte-1bvydp8{font-size:1.125rem;line-height:1.3333333333;padding:0.875rem 1.5rem;min-height:3.5rem;min-width:3.5rem}.mc-button--l.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8{width:2rem;height:2rem}.mc-button--l.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8:first-child,.mc-button--l.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8:last-child{margin-bottom:-0.25rem;margin-top:-0.25rem}.mc-button--l.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button--fit.svelte-1bvydp8.svelte-1bvydp8{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;width:auto}.mc-button--full.svelte-1bvydp8.svelte-1bvydp8{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}@supports (width: -webkit-fill-available) or (width: -moz-available) or (width: stretch){.mc-button--full.svelte-1bvydp8.svelte-1bvydp8{width:-webkit-fill-available;width:-moz-available;width:stretch}}.mc-button--square.svelte-1bvydp8.svelte-1bvydp8{-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:0;padding:0}.mc-button__icon.svelte-1bvydp8.svelte-1bvydp8{-ms-flex-negative:0;flex-shrink:0}.mc-button__icon.svelte-1bvydp8.svelte-1bvydp8:last-child{margin-left:0.5rem;margin-right:-0.25rem}.mc-button__icon.svelte-1bvydp8.svelte-1bvydp8:first-child{margin-right:0.5rem;margin-left:-0.25rem}.mc-button__icon.svelte-1bvydp8.svelte-1bvydp8:only-child{margin:0}.mc-button__label.svelte-1bvydp8.svelte-1bvydp8{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;pointer-events:none}.mc-button--solid-primary-02.svelte-1bvydp8.svelte-1bvydp8{background-color:#6a7081}.mc-button--solid-primary-02.is-hover.svelte-1bvydp8.svelte-1bvydp8,.mc-button--solid-primary-02.svelte-1bvydp8.svelte-1bvydp8:hover{background-color:#242938}.mc-button--solid-primary-02.is-active.svelte-1bvydp8.svelte-1bvydp8,.mc-button--solid-primary-02.svelte-1bvydp8.svelte-1bvydp8:active{background-color:#171b26}.mc-button--solid-primary-02.svelte-1bvydp8.svelte-1bvydp8:disabled,.mc-button--solid-primary-02.is-disabled.svelte-1bvydp8.svelte-1bvydp8{background-color:#cccccc;border-color:transparent;color:#666666;cursor:not-allowed}.mc-button--solid-neutral.svelte-1bvydp8.svelte-1bvydp8{background-color:#333333}.mc-button--solid-neutral.is-hover.svelte-1bvydp8.svelte-1bvydp8,.mc-button--solid-neutral.svelte-1bvydp8.svelte-1bvydp8:hover{background-color:#191919}.mc-button--solid-neutral.is-active.svelte-1bvydp8.svelte-1bvydp8,.mc-button--solid-neutral.svelte-1bvydp8.svelte-1bvydp8:active{background-color:#333333}.mc-button--solid-neutral.svelte-1bvydp8.svelte-1bvydp8:disabled,.mc-button--solid-neutral.is-disabled.svelte-1bvydp8.svelte-1bvydp8{background-color:#cccccc;border-color:transparent;color:#666666;cursor:not-allowed}.mc-button--solid-danger.svelte-1bvydp8.svelte-1bvydp8{background-color:#c61112}.mc-button--solid-danger.is-hover.svelte-1bvydp8.svelte-1bvydp8,.mc-button--solid-danger.svelte-1bvydp8.svelte-1bvydp8:hover{background-color:#8c0003}.mc-button--solid-danger.is-active.svelte-1bvydp8.svelte-1bvydp8,.mc-button--solid-danger.svelte-1bvydp8.svelte-1bvydp8:active{background-color:#8c0003}.mc-button--solid-danger.svelte-1bvydp8.svelte-1bvydp8:disabled,.mc-button--solid-danger.is-disabled.svelte-1bvydp8.svelte-1bvydp8{background-color:#cccccc;border-color:transparent;color:#666666;cursor:not-allowed}.mc-button--bordered.svelte-1bvydp8.svelte-1bvydp8{color:#188803;border-color:#188803;background-color:#ffffff}.mc-button--bordered.is-hover.svelte-1bvydp8.svelte-1bvydp8,.mc-button--bordered.svelte-1bvydp8.svelte-1bvydp8:hover{background-color:#ebf5de;color:#006902}.mc-button--bordered.is-active.svelte-1bvydp8.svelte-1bvydp8,.mc-button--bordered.svelte-1bvydp8.svelte-1bvydp8:active{background-color:#c5e39e;color:#035010}.mc-button--bordered.is-active.svelte-1bvydp8.svelte-1bvydp8,.mc-button--bordered.svelte-1bvydp8.svelte-1bvydp8:active{background-color:#c5e39e;color:#035010}.mc-button--bordered.svelte-1bvydp8.svelte-1bvydp8:disabled,.mc-button--bordered.is-disabled.svelte-1bvydp8.svelte-1bvydp8{background-color:#cccccc;border-color:transparent;color:#666666;cursor:not-allowed}.mc-button--bordered-primary-02.svelte-1bvydp8.svelte-1bvydp8{color:#6a7081;border-color:#6a7081;background-color:#ffffff}.mc-button--bordered-primary-02.is-hover.svelte-1bvydp8.svelte-1bvydp8,.mc-button--bordered-primary-02.svelte-1bvydp8.svelte-1bvydp8:hover{background-color:#eeeff1;color:#6a7081}.mc-button--bordered-primary-02.is-active.svelte-1bvydp8.svelte-1bvydp8,.mc-button--bordered-primary-02.svelte-1bvydp8.svelte-1bvydp8:active{background-color:#cfd2d8}.mc-button--bordered-primary-02.svelte-1bvydp8.svelte-1bvydp8:disabled,.mc-button--bordered-primary-02.is-disabled.svelte-1bvydp8.svelte-1bvydp8{background-color:#cccccc;border-color:transparent;color:#666666;cursor:not-allowed}.mc-button--bordered-neutral.svelte-1bvydp8.svelte-1bvydp8{color:#333333;border-color:#333333;background-color:#ffffff}.mc-button--bordered-neutral.is-hover.svelte-1bvydp8.svelte-1bvydp8,.mc-button--bordered-neutral.svelte-1bvydp8.svelte-1bvydp8:hover{background-color:#e6e6e6;color:#333333}.mc-button--bordered-neutral.is-active.svelte-1bvydp8.svelte-1bvydp8,.mc-button--bordered-neutral.svelte-1bvydp8.svelte-1bvydp8:active{background-color:#cccccc}.mc-button--bordered-neutral.svelte-1bvydp8.svelte-1bvydp8:disabled,.mc-button--bordered-neutral.is-disabled.svelte-1bvydp8.svelte-1bvydp8{background-color:#cccccc;border-color:transparent;color:#666666;cursor:not-allowed}.mc-button--bordered-danger.svelte-1bvydp8.svelte-1bvydp8{color:#c61112;border-color:#c61112;background-color:#ffffff}.mc-button--bordered-danger.is-hover.svelte-1bvydp8.svelte-1bvydp8,.mc-button--bordered-danger.svelte-1bvydp8.svelte-1bvydp8:hover{background-color:#fdeaea;color:#8c0003}.mc-button--bordered-danger.is-active.svelte-1bvydp8.svelte-1bvydp8,.mc-button--bordered-danger.svelte-1bvydp8.svelte-1bvydp8:active{background-color:#f8bcbb;color:#530000}.mc-button--bordered-danger.is-active.svelte-1bvydp8.svelte-1bvydp8,.mc-button--bordered-danger.svelte-1bvydp8.svelte-1bvydp8:active{background-color:#f8bcbb;color:#530000}.mc-button--bordered-danger.svelte-1bvydp8.svelte-1bvydp8:disabled,.mc-button--bordered-danger.is-disabled.svelte-1bvydp8.svelte-1bvydp8{background-color:#cccccc;border-color:transparent;color:#666666;cursor:not-allowed}@media screen and (min-width: 680px){.mc-button--s\\@from-m.svelte-1bvydp8.svelte-1bvydp8{font-size:0.875rem;line-height:1.2857142857;padding:0.3125rem 1rem;min-height:2rem;min-width:2rem}.mc-button--s\\@from-m.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8{width:1.5rem;height:1.5rem}.mc-button--s\\@from-m.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8:first-child,.mc-button--s\\@from-m.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8:last-child{margin-bottom:-0.1875rem;margin-top:-0.1875rem}.mc-button--s\\@from-m.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8:only-child{margin-bottom:0;margin-top:0;width:1.5rem;height:1.5rem}.mc-button--m\\@from-m.svelte-1bvydp8.svelte-1bvydp8{font-size:1rem;line-height:1.375;padding:0.6875rem 1.5rem;min-height:3rem;min-width:3rem}.mc-button--m\\@from-m.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8{width:1.5rem;height:1.5rem}.mc-button--m\\@from-m.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8:first-child,.mc-button--m\\@from-m.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8:last-child{margin-bottom:-1px;margin-top:-1px}.mc-button--m\\@from-m.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button--l\\@from-m.svelte-1bvydp8.svelte-1bvydp8{font-size:1.125rem;line-height:1.3333333333;padding:0.875rem 1.5rem;min-height:3.5rem;min-width:3.5rem}.mc-button--l\\@from-m.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8{width:2rem;height:2rem}.mc-button--l\\@from-m.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8:first-child,.mc-button--l\\@from-m.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8:last-child{margin-bottom:-0.25rem;margin-top:-0.25rem}.mc-button--l\\@from-m.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button--fit\\@from-m.svelte-1bvydp8.svelte-1bvydp8{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;width:auto}.mc-button--full\\@from-m.svelte-1bvydp8.svelte-1bvydp8{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}@supports (width: -webkit-fill-available) or (width: -moz-available) or (width: stretch){.mc-button--full\\@from-m.svelte-1bvydp8.svelte-1bvydp8{width:-webkit-fill-available;width:-moz-available;width:stretch}}}@media screen and (min-width: 1024px){.mc-button--s\\@from-l.svelte-1bvydp8.svelte-1bvydp8{font-size:0.875rem;line-height:1.2857142857;padding:0.3125rem 1rem;min-height:2rem;min-width:2rem}.mc-button--s\\@from-l.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8{width:1.5rem;height:1.5rem}.mc-button--s\\@from-l.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8:first-child,.mc-button--s\\@from-l.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8:last-child{margin-bottom:-0.1875rem;margin-top:-0.1875rem}.mc-button--s\\@from-l.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8:only-child{margin-bottom:0;margin-top:0;width:1.5rem;height:1.5rem}.mc-button--m\\@from-l.svelte-1bvydp8.svelte-1bvydp8{font-size:1rem;line-height:1.375;padding:0.6875rem 1.5rem;min-height:3rem;min-width:3rem}.mc-button--m\\@from-l.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8{width:1.5rem;height:1.5rem}.mc-button--m\\@from-l.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8:first-child,.mc-button--m\\@from-l.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8:last-child{margin-bottom:-1px;margin-top:-1px}.mc-button--m\\@from-l.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button--l\\@from-l.svelte-1bvydp8.svelte-1bvydp8{font-size:1.125rem;line-height:1.3333333333;padding:0.875rem 1.5rem;min-height:3.5rem;min-width:3.5rem}.mc-button--l\\@from-l.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8{width:2rem;height:2rem}.mc-button--l\\@from-l.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8:first-child,.mc-button--l\\@from-l.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8:last-child{margin-bottom:-0.25rem;margin-top:-0.25rem}.mc-button--l\\@from-l.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button--fit\\@from-l.svelte-1bvydp8.svelte-1bvydp8{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;width:auto}.mc-button--full\\@from-l.svelte-1bvydp8.svelte-1bvydp8{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}@supports (width: -webkit-fill-available) or (width: -moz-available) or (width: stretch){.mc-button--full\\@from-l.svelte-1bvydp8.svelte-1bvydp8{width:-webkit-fill-available;width:-moz-available;width:stretch}}.mc-button--square.svelte-1bvydp8.svelte-1bvydp8{padding:0}}@media screen and (min-width: 1280px){.mc-button--s\\@from-xl.svelte-1bvydp8.svelte-1bvydp8{font-size:0.875rem;line-height:1.2857142857;padding:0.3125rem 1rem;min-height:2rem;min-width:2rem}.mc-button--s\\@from-xl.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8{width:1.5rem;height:1.5rem}.mc-button--s\\@from-xl.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8:first-child,.mc-button--s\\@from-xl.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8:last-child{margin-bottom:-0.1875rem;margin-top:-0.1875rem}.mc-button--s\\@from-xl.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8:only-child{margin-bottom:0;margin-top:0;width:1.5rem;height:1.5rem}.mc-button--m\\@from-xl.svelte-1bvydp8.svelte-1bvydp8{font-size:1rem;line-height:1.375;padding:0.6875rem 1.5rem;min-height:3rem;min-width:3rem}.mc-button--m\\@from-xl.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8{width:1.5rem;height:1.5rem}.mc-button--m\\@from-xl.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8:first-child,.mc-button--m\\@from-xl.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8:last-child{margin-bottom:-1px;margin-top:-1px}.mc-button--m\\@from-xl.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button--l\\@from-xl.svelte-1bvydp8.svelte-1bvydp8{font-size:1.125rem;line-height:1.3333333333;padding:0.875rem 1.5rem;min-height:3.5rem;min-width:3.5rem}.mc-button--l\\@from-xl.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8{width:2rem;height:2rem}.mc-button--l\\@from-xl.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8:first-child,.mc-button--l\\@from-xl.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8:last-child{margin-bottom:-0.25rem;margin-top:-0.25rem}.mc-button--l\\@from-xl.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button--fit\\@from-xl.svelte-1bvydp8.svelte-1bvydp8{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;width:auto}.mc-button--full\\@from-xl.svelte-1bvydp8.svelte-1bvydp8{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}@supports (width: -webkit-fill-available) or (width: -moz-available) or (width: stretch){.mc-button--full\\@from-xl.svelte-1bvydp8.svelte-1bvydp8{width:-webkit-fill-available;width:-moz-available;width:stretch}}}@media screen and (min-width: 1920px){.mc-button--s\\@from-xxl.svelte-1bvydp8.svelte-1bvydp8{font-size:0.875rem;line-height:1.2857142857;padding:0.3125rem 1rem;min-height:2rem;min-width:2rem}.mc-button--s\\@from-xxl.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8{width:1.5rem;height:1.5rem}.mc-button--s\\@from-xxl.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8:first-child,.mc-button--s\\@from-xxl.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8:last-child{margin-bottom:-0.1875rem;margin-top:-0.1875rem}.mc-button--s\\@from-xxl.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8:only-child{margin-bottom:0;margin-top:0;width:1.5rem;height:1.5rem}.mc-button--m\\@from-xxl.svelte-1bvydp8.svelte-1bvydp8{font-size:1rem;line-height:1.375;padding:0.6875rem 1.5rem;min-height:3rem;min-width:3rem}.mc-button--m\\@from-xxl.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8{width:1.5rem;height:1.5rem}.mc-button--m\\@from-xxl.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8:first-child,.mc-button--m\\@from-xxl.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8:last-child{margin-bottom:-1px;margin-top:-1px}.mc-button--m\\@from-xxl.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button--l\\@from-xxl.svelte-1bvydp8.svelte-1bvydp8{font-size:1.125rem;line-height:1.3333333333;padding:0.875rem 1.5rem;min-height:3.5rem;min-width:3.5rem}.mc-button--l\\@from-xxl.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8{width:2rem;height:2rem}.mc-button--l\\@from-xxl.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8:first-child,.mc-button--l\\@from-xxl.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8:last-child{margin-bottom:-0.25rem;margin-top:-0.25rem}.mc-button--l\\@from-xxl.svelte-1bvydp8 .mc-button__icon.svelte-1bvydp8:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button--fit\\@from-xxl.svelte-1bvydp8.svelte-1bvydp8{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;width:auto}.mc-button--full\\@from-xxl.svelte-1bvydp8.svelte-1bvydp8{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}@supports (width: -webkit-fill-available) or (width: -moz-available) or (width: stretch){.mc-button--full\\@from-xxl.svelte-1bvydp8.svelte-1bvydp8{width:-webkit-fill-available;width:-moz-available;width:stretch}}}.mc-button__icon.svelte-1bvydp8.svelte-1bvydp8{pointer-events:none}");
9
+ }
10
+
11
+ // (89:2) {#if iconname && iconmode === 'left'}
12
+ function create_if_block_6(ctx) {
13
+ let span;
14
+ let current_block_type_index;
15
+ let if_block;
16
+ let current;
17
+ const if_block_creators = [create_if_block_7, create_else_block_3];
18
+ const if_blocks = [];
19
+
20
+ function select_block_type(ctx, dirty) {
21
+ if (/*isLoading*/ ctx[13] && /*loaderPosition*/ ctx[12] === 'left') return 0;
22
+ return 1;
23
+ }
24
+
25
+ current_block_type_index = select_block_type(ctx);
26
+ if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
27
+
28
+ return {
29
+ c() {
30
+ span = element("span");
31
+ if_block.c();
32
+ attr(span, "class", "mc-button__icon svelte-1bvydp8");
33
+ },
34
+ m(target, anchor) {
35
+ insert(target, span, anchor);
36
+ if_blocks[current_block_type_index].m(span, null);
37
+ current = true;
38
+ },
39
+ p(ctx, dirty) {
40
+ let previous_block_index = current_block_type_index;
41
+ current_block_type_index = select_block_type(ctx);
42
+
43
+ if (current_block_type_index === previous_block_index) {
44
+ if_blocks[current_block_type_index].p(ctx, dirty);
45
+ } else {
46
+ group_outros();
47
+
48
+ transition_out(if_blocks[previous_block_index], 1, 1, () => {
49
+ if_blocks[previous_block_index] = null;
50
+ });
51
+
52
+ check_outros();
53
+ if_block = if_blocks[current_block_type_index];
54
+
55
+ if (!if_block) {
56
+ if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
57
+ if_block.c();
58
+ } else {
59
+ if_block.p(ctx, dirty);
60
+ }
61
+
62
+ transition_in(if_block, 1);
63
+ if_block.m(span, null);
64
+ }
65
+ },
66
+ i(local) {
67
+ if (current) return;
68
+ transition_in(if_block);
69
+ current = true;
70
+ },
71
+ o(local) {
72
+ transition_out(if_block);
73
+ current = false;
74
+ },
75
+ d(detaching) {
76
+ if (detaching) detach(span);
77
+ if_blocks[current_block_type_index].d();
78
+ }
79
+ };
80
+ }
81
+
82
+ // (93:6) {:else}
83
+ function create_else_block_3(ctx) {
84
+ let html_tag;
85
+ let raw_value = `<${generateIconName(/*size*/ ctx[2], /*iconmode*/ ctx[6], /*iconname*/ ctx[5])} />` + "";
86
+ let html_anchor;
87
+
88
+ return {
89
+ c() {
90
+ html_tag = new HtmlTag(false);
91
+ html_anchor = empty();
92
+ html_tag.a = html_anchor;
93
+ },
94
+ m(target, anchor) {
95
+ html_tag.m(raw_value, target, anchor);
96
+ insert(target, html_anchor, anchor);
97
+ },
98
+ p(ctx, dirty) {
99
+ if (dirty & /*size, iconmode, iconname*/ 100 && raw_value !== (raw_value = `<${generateIconName(/*size*/ ctx[2], /*iconmode*/ ctx[6], /*iconname*/ ctx[5])} />` + "")) html_tag.p(raw_value);
100
+ },
101
+ i: noop,
102
+ o: noop,
103
+ d(detaching) {
104
+ if (detaching) detach(html_anchor);
105
+ if (detaching) html_tag.d();
106
+ }
107
+ };
108
+ }
109
+
110
+ // (91:6) {#if isLoading && loaderPosition === 'left'}
111
+ function create_if_block_7(ctx) {
112
+ let loader_1;
113
+ let current;
114
+
115
+ loader_1 = new Loader_nested({
116
+ props: {
117
+ size: "s",
118
+ theme: /*loaderTheme*/ ctx[11],
119
+ text: "TEST"
120
+ }
121
+ });
122
+
123
+ return {
124
+ c() {
125
+ create_component(loader_1.$$.fragment);
126
+ },
127
+ m(target, anchor) {
128
+ mount_component(loader_1, target, anchor);
129
+ current = true;
130
+ },
131
+ p(ctx, dirty) {
132
+ const loader_1_changes = {};
133
+ if (dirty & /*loaderTheme*/ 2048) loader_1_changes.theme = /*loaderTheme*/ ctx[11];
134
+ loader_1.$set(loader_1_changes);
135
+ },
136
+ i(local) {
137
+ if (current) return;
138
+ transition_in(loader_1.$$.fragment, local);
139
+ current = true;
140
+ },
141
+ o(local) {
142
+ transition_out(loader_1.$$.fragment, local);
143
+ current = false;
144
+ },
145
+ d(detaching) {
146
+ destroy_component(loader_1, detaching);
147
+ }
148
+ };
149
+ }
150
+
151
+ // (107:2) {:else}
152
+ function create_else_block_2(ctx) {
153
+ let t0;
154
+ let span;
155
+ let t1;
156
+ let t2;
157
+ let if_block1_anchor;
158
+ let current;
159
+ let if_block0 = /*isLoading*/ ctx[13] && /*loaderPosition*/ ctx[12] === 'left' && !/*iconname*/ ctx[5] && create_if_block_5(ctx);
160
+ let if_block1 = /*isLoading*/ ctx[13] && /*loaderPosition*/ ctx[12] === 'right' && !/*iconname*/ ctx[5] && create_if_block_4(ctx);
161
+
162
+ return {
163
+ c() {
164
+ if (if_block0) if_block0.c();
165
+ t0 = space();
166
+ span = element("span");
167
+ t1 = text(/*label*/ ctx[4]);
168
+ t2 = space();
169
+ if (if_block1) if_block1.c();
170
+ if_block1_anchor = empty();
171
+ attr(span, "class", "mc-button__label svelte-1bvydp8");
172
+ },
173
+ m(target, anchor) {
174
+ if (if_block0) if_block0.m(target, anchor);
175
+ insert(target, t0, anchor);
176
+ insert(target, span, anchor);
177
+ append(span, t1);
178
+ insert(target, t2, anchor);
179
+ if (if_block1) if_block1.m(target, anchor);
180
+ insert(target, if_block1_anchor, anchor);
181
+ current = true;
182
+ },
183
+ p(ctx, dirty) {
184
+ if (/*isLoading*/ ctx[13] && /*loaderPosition*/ ctx[12] === 'left' && !/*iconname*/ ctx[5]) {
185
+ if (if_block0) {
186
+ if_block0.p(ctx, dirty);
187
+
188
+ if (dirty & /*isLoading, loaderPosition, iconname*/ 12320) {
189
+ transition_in(if_block0, 1);
190
+ }
191
+ } else {
192
+ if_block0 = create_if_block_5(ctx);
193
+ if_block0.c();
194
+ transition_in(if_block0, 1);
195
+ if_block0.m(t0.parentNode, t0);
196
+ }
197
+ } else if (if_block0) {
198
+ group_outros();
199
+
200
+ transition_out(if_block0, 1, 1, () => {
201
+ if_block0 = null;
202
+ });
203
+
204
+ check_outros();
205
+ }
206
+
207
+ if (!current || dirty & /*label*/ 16) set_data(t1, /*label*/ ctx[4]);
208
+
209
+ if (/*isLoading*/ ctx[13] && /*loaderPosition*/ ctx[12] === 'right' && !/*iconname*/ ctx[5]) {
210
+ if (if_block1) {
211
+ if_block1.p(ctx, dirty);
212
+
213
+ if (dirty & /*isLoading, loaderPosition, iconname*/ 12320) {
214
+ transition_in(if_block1, 1);
215
+ }
216
+ } else {
217
+ if_block1 = create_if_block_4(ctx);
218
+ if_block1.c();
219
+ transition_in(if_block1, 1);
220
+ if_block1.m(if_block1_anchor.parentNode, if_block1_anchor);
221
+ }
222
+ } else if (if_block1) {
223
+ group_outros();
224
+
225
+ transition_out(if_block1, 1, 1, () => {
226
+ if_block1 = null;
227
+ });
228
+
229
+ check_outros();
230
+ }
231
+ },
232
+ i(local) {
233
+ if (current) return;
234
+ transition_in(if_block0);
235
+ transition_in(if_block1);
236
+ current = true;
237
+ },
238
+ o(local) {
239
+ transition_out(if_block0);
240
+ transition_out(if_block1);
241
+ current = false;
242
+ },
243
+ d(detaching) {
244
+ if (if_block0) if_block0.d(detaching);
245
+ if (detaching) detach(t0);
246
+ if (detaching) detach(span);
247
+ if (detaching) detach(t2);
248
+ if (if_block1) if_block1.d(detaching);
249
+ if (detaching) detach(if_block1_anchor);
250
+ }
251
+ };
252
+ }
253
+
254
+ // (99:2) {#if iconname && iconmode === 'only'}
255
+ function create_if_block_2(ctx) {
256
+ let span;
257
+ let current_block_type_index;
258
+ let if_block;
259
+ let current;
260
+ const if_block_creators = [create_if_block_3, create_else_block_1];
261
+ const if_blocks = [];
262
+
263
+ function select_block_type_2(ctx, dirty) {
264
+ if (/*isLoading*/ ctx[13]) return 0;
265
+ return 1;
266
+ }
267
+
268
+ current_block_type_index = select_block_type_2(ctx);
269
+ if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
270
+
271
+ return {
272
+ c() {
273
+ span = element("span");
274
+ if_block.c();
275
+ attr(span, "class", "mc-button__icon svelte-1bvydp8");
276
+ },
277
+ m(target, anchor) {
278
+ insert(target, span, anchor);
279
+ if_blocks[current_block_type_index].m(span, null);
280
+ current = true;
281
+ },
282
+ p(ctx, dirty) {
283
+ let previous_block_index = current_block_type_index;
284
+ current_block_type_index = select_block_type_2(ctx);
285
+
286
+ if (current_block_type_index === previous_block_index) {
287
+ if_blocks[current_block_type_index].p(ctx, dirty);
288
+ } else {
289
+ group_outros();
290
+
291
+ transition_out(if_blocks[previous_block_index], 1, 1, () => {
292
+ if_blocks[previous_block_index] = null;
293
+ });
294
+
295
+ check_outros();
296
+ if_block = if_blocks[current_block_type_index];
297
+
298
+ if (!if_block) {
299
+ if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
300
+ if_block.c();
301
+ } else {
302
+ if_block.p(ctx, dirty);
303
+ }
304
+
305
+ transition_in(if_block, 1);
306
+ if_block.m(span, null);
307
+ }
308
+ },
309
+ i(local) {
310
+ if (current) return;
311
+ transition_in(if_block);
312
+ current = true;
313
+ },
314
+ o(local) {
315
+ transition_out(if_block);
316
+ current = false;
317
+ },
318
+ d(detaching) {
319
+ if (detaching) detach(span);
320
+ if_blocks[current_block_type_index].d();
321
+ }
322
+ };
323
+ }
324
+
325
+ // (108:4) {#if isLoading && loaderPosition === 'left' && !iconname}
326
+ function create_if_block_5(ctx) {
327
+ let span;
328
+ let loader_1;
329
+ let current;
330
+
331
+ loader_1 = new Loader_nested({
332
+ props: {
333
+ size: "s",
334
+ theme: /*loaderTheme*/ ctx[11],
335
+ text: ""
336
+ }
337
+ });
338
+
339
+ return {
340
+ c() {
341
+ span = element("span");
342
+ create_component(loader_1.$$.fragment);
343
+ attr(span, "class", "mc-button__icon svelte-1bvydp8");
344
+ },
345
+ m(target, anchor) {
346
+ insert(target, span, anchor);
347
+ mount_component(loader_1, span, null);
348
+ current = true;
349
+ },
350
+ p(ctx, dirty) {
351
+ const loader_1_changes = {};
352
+ if (dirty & /*loaderTheme*/ 2048) loader_1_changes.theme = /*loaderTheme*/ ctx[11];
353
+ loader_1.$set(loader_1_changes);
354
+ },
355
+ i(local) {
356
+ if (current) return;
357
+ transition_in(loader_1.$$.fragment, local);
358
+ current = true;
359
+ },
360
+ o(local) {
361
+ transition_out(loader_1.$$.fragment, local);
362
+ current = false;
363
+ },
364
+ d(detaching) {
365
+ if (detaching) detach(span);
366
+ destroy_component(loader_1);
367
+ }
368
+ };
369
+ }
370
+
371
+ // (114:4) {#if isLoading && loaderPosition === 'right' && !iconname}
372
+ function create_if_block_4(ctx) {
373
+ let span;
374
+ let loader_1;
375
+ let current;
376
+
377
+ loader_1 = new Loader_nested({
378
+ props: {
379
+ size: "s",
380
+ theme: /*loaderTheme*/ ctx[11],
381
+ text: ""
382
+ }
383
+ });
384
+
385
+ return {
386
+ c() {
387
+ span = element("span");
388
+ create_component(loader_1.$$.fragment);
389
+ attr(span, "class", "mc-button__icon svelte-1bvydp8");
390
+ },
391
+ m(target, anchor) {
392
+ insert(target, span, anchor);
393
+ mount_component(loader_1, span, null);
394
+ current = true;
395
+ },
396
+ p(ctx, dirty) {
397
+ const loader_1_changes = {};
398
+ if (dirty & /*loaderTheme*/ 2048) loader_1_changes.theme = /*loaderTheme*/ ctx[11];
399
+ loader_1.$set(loader_1_changes);
400
+ },
401
+ i(local) {
402
+ if (current) return;
403
+ transition_in(loader_1.$$.fragment, local);
404
+ current = true;
405
+ },
406
+ o(local) {
407
+ transition_out(loader_1.$$.fragment, local);
408
+ current = false;
409
+ },
410
+ d(detaching) {
411
+ if (detaching) detach(span);
412
+ destroy_component(loader_1);
413
+ }
414
+ };
415
+ }
416
+
417
+ // (103:6) {:else}
418
+ function create_else_block_1(ctx) {
419
+ let html_tag;
420
+ let raw_value = `<${generateIconName(/*size*/ ctx[2], /*iconmode*/ ctx[6], /*iconname*/ ctx[5])} size="100%" />` + "";
421
+ let html_anchor;
422
+
423
+ return {
424
+ c() {
425
+ html_tag = new HtmlTag(false);
426
+ html_anchor = empty();
427
+ html_tag.a = html_anchor;
428
+ },
429
+ m(target, anchor) {
430
+ html_tag.m(raw_value, target, anchor);
431
+ insert(target, html_anchor, anchor);
432
+ },
433
+ p(ctx, dirty) {
434
+ if (dirty & /*size, iconmode, iconname*/ 100 && raw_value !== (raw_value = `<${generateIconName(/*size*/ ctx[2], /*iconmode*/ ctx[6], /*iconname*/ ctx[5])} size="100%" />` + "")) html_tag.p(raw_value);
435
+ },
436
+ i: noop,
437
+ o: noop,
438
+ d(detaching) {
439
+ if (detaching) detach(html_anchor);
440
+ if (detaching) html_tag.d();
441
+ }
442
+ };
443
+ }
444
+
445
+ // (101:6) {#if isLoading}
446
+ function create_if_block_3(ctx) {
447
+ let loader_1;
448
+ let current;
449
+
450
+ loader_1 = new Loader_nested({
451
+ props: {
452
+ size: "m",
453
+ theme: /*loaderTheme*/ ctx[11],
454
+ text: ""
455
+ }
456
+ });
457
+
458
+ return {
459
+ c() {
460
+ create_component(loader_1.$$.fragment);
461
+ },
462
+ m(target, anchor) {
463
+ mount_component(loader_1, target, anchor);
464
+ current = true;
465
+ },
466
+ p(ctx, dirty) {
467
+ const loader_1_changes = {};
468
+ if (dirty & /*loaderTheme*/ 2048) loader_1_changes.theme = /*loaderTheme*/ ctx[11];
469
+ loader_1.$set(loader_1_changes);
470
+ },
471
+ i(local) {
472
+ if (current) return;
473
+ transition_in(loader_1.$$.fragment, local);
474
+ current = true;
475
+ },
476
+ o(local) {
477
+ transition_out(loader_1.$$.fragment, local);
478
+ current = false;
479
+ },
480
+ d(detaching) {
481
+ destroy_component(loader_1, detaching);
482
+ }
483
+ };
484
+ }
485
+
486
+ // (121:2) {#if iconname && iconmode === 'right'}
487
+ function create_if_block(ctx) {
488
+ let span;
489
+ let current_block_type_index;
490
+ let if_block;
491
+ let current;
492
+ const if_block_creators = [create_if_block_1, create_else_block];
493
+ const if_blocks = [];
494
+
495
+ function select_block_type_3(ctx, dirty) {
496
+ if (/*isLoading*/ ctx[13] && /*loaderPosition*/ ctx[12] === 'right') return 0;
497
+ return 1;
498
+ }
499
+
500
+ current_block_type_index = select_block_type_3(ctx);
501
+ if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
502
+
503
+ return {
504
+ c() {
505
+ span = element("span");
506
+ if_block.c();
507
+ attr(span, "class", "mc-button__icon svelte-1bvydp8");
508
+ },
509
+ m(target, anchor) {
510
+ insert(target, span, anchor);
511
+ if_blocks[current_block_type_index].m(span, null);
512
+ current = true;
513
+ },
514
+ p(ctx, dirty) {
515
+ let previous_block_index = current_block_type_index;
516
+ current_block_type_index = select_block_type_3(ctx);
517
+
518
+ if (current_block_type_index === previous_block_index) {
519
+ if_blocks[current_block_type_index].p(ctx, dirty);
520
+ } else {
521
+ group_outros();
522
+
523
+ transition_out(if_blocks[previous_block_index], 1, 1, () => {
524
+ if_blocks[previous_block_index] = null;
525
+ });
526
+
527
+ check_outros();
528
+ if_block = if_blocks[current_block_type_index];
529
+
530
+ if (!if_block) {
531
+ if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
532
+ if_block.c();
533
+ } else {
534
+ if_block.p(ctx, dirty);
535
+ }
536
+
537
+ transition_in(if_block, 1);
538
+ if_block.m(span, null);
539
+ }
540
+ },
541
+ i(local) {
542
+ if (current) return;
543
+ transition_in(if_block);
544
+ current = true;
545
+ },
546
+ o(local) {
547
+ transition_out(if_block);
548
+ current = false;
549
+ },
550
+ d(detaching) {
551
+ if (detaching) detach(span);
552
+ if_blocks[current_block_type_index].d();
553
+ }
554
+ };
555
+ }
556
+
557
+ // (125:6) {:else}
558
+ function create_else_block(ctx) {
559
+ let html_tag;
560
+ let raw_value = `<${generateIconName(/*size*/ ctx[2], /*iconmode*/ ctx[6], /*iconname*/ ctx[5])} />` + "";
561
+ let html_anchor;
562
+
563
+ return {
564
+ c() {
565
+ html_tag = new HtmlTag(false);
566
+ html_anchor = empty();
567
+ html_tag.a = html_anchor;
568
+ },
569
+ m(target, anchor) {
570
+ html_tag.m(raw_value, target, anchor);
571
+ insert(target, html_anchor, anchor);
572
+ },
573
+ p(ctx, dirty) {
574
+ if (dirty & /*size, iconmode, iconname*/ 100 && raw_value !== (raw_value = `<${generateIconName(/*size*/ ctx[2], /*iconmode*/ ctx[6], /*iconname*/ ctx[5])} />` + "")) html_tag.p(raw_value);
575
+ },
576
+ i: noop,
577
+ o: noop,
578
+ d(detaching) {
579
+ if (detaching) detach(html_anchor);
580
+ if (detaching) html_tag.d();
581
+ }
582
+ };
583
+ }
584
+
585
+ // (123:6) {#if isLoading && loaderPosition === 'right'}
586
+ function create_if_block_1(ctx) {
587
+ let loader_1;
588
+ let current;
589
+
590
+ loader_1 = new Loader_nested({
591
+ props: {
592
+ size: "s",
593
+ theme: /*loaderTheme*/ ctx[11],
594
+ text: ""
595
+ }
596
+ });
597
+
598
+ return {
599
+ c() {
600
+ create_component(loader_1.$$.fragment);
601
+ },
602
+ m(target, anchor) {
603
+ mount_component(loader_1, target, anchor);
604
+ current = true;
605
+ },
606
+ p(ctx, dirty) {
607
+ const loader_1_changes = {};
608
+ if (dirty & /*loaderTheme*/ 2048) loader_1_changes.theme = /*loaderTheme*/ ctx[11];
609
+ loader_1.$set(loader_1_changes);
610
+ },
611
+ i(local) {
612
+ if (current) return;
613
+ transition_in(loader_1.$$.fragment, local);
614
+ current = true;
615
+ },
616
+ o(local) {
617
+ transition_out(loader_1.$$.fragment, local);
618
+ current = false;
619
+ },
620
+ d(detaching) {
621
+ destroy_component(loader_1, detaching);
622
+ }
623
+ };
624
+ }
625
+
626
+ function create_fragment(ctx) {
627
+ let button;
628
+ let t0;
629
+ let current_block_type_index;
630
+ let if_block1;
631
+ let t1;
632
+ let button_class_value;
633
+ let current;
634
+ let mounted;
635
+ let dispose;
636
+ let if_block0 = /*iconname*/ ctx[5] && /*iconmode*/ ctx[6] === 'left' && create_if_block_6(ctx);
637
+ const if_block_creators = [create_if_block_2, create_else_block_2];
638
+ const if_blocks = [];
639
+
640
+ function select_block_type_1(ctx, dirty) {
641
+ if (/*iconname*/ ctx[5] && /*iconmode*/ ctx[6] === 'only') return 0;
642
+ return 1;
643
+ }
644
+
645
+ current_block_type_index = select_block_type_1(ctx);
646
+ if_block1 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
647
+ let if_block2 = /*iconname*/ ctx[5] && /*iconmode*/ ctx[6] === 'right' && create_if_block(ctx);
648
+
649
+ let button_levels = [
650
+ { type: /*type*/ ctx[8] },
651
+ {
652
+ class: button_class_value = "" + (/*getClasses*/ ctx[15](/*theme*/ ctx[1], /*bordered*/ ctx[0], /*size*/ ctx[2], /*full*/ ctx[3]) + " " + /*userClass*/ ctx[10])
653
+ },
654
+ { disabled: /*disabled*/ ctx[7] },
655
+ /*attributes*/ ctx[9]
656
+ ];
657
+
658
+ let button_data = {};
659
+
660
+ for (let i = 0; i < button_levels.length; i += 1) {
661
+ button_data = assign(button_data, button_levels[i]);
662
+ }
663
+
664
+ return {
665
+ c() {
666
+ button = element("button");
667
+ if (if_block0) if_block0.c();
668
+ t0 = space();
669
+ if_block1.c();
670
+ t1 = space();
671
+ if (if_block2) if_block2.c();
672
+ set_attributes(button, button_data);
673
+ toggle_class(button, "mc-button--square", /*iconmode*/ ctx[6]);
674
+ toggle_class(button, "svelte-1bvydp8", true);
675
+ },
676
+ m(target, anchor) {
677
+ insert(target, button, anchor);
678
+ if (if_block0) if_block0.m(button, null);
679
+ append(button, t0);
680
+ if_blocks[current_block_type_index].m(button, null);
681
+ append(button, t1);
682
+ if (if_block2) if_block2.m(button, null);
683
+ if (button.autofocus) button.focus();
684
+ current = true;
685
+
686
+ if (!mounted) {
687
+ dispose = action_destroyer(/*forwardEvents*/ ctx[14].call(null, button));
688
+ mounted = true;
689
+ }
690
+ },
691
+ p(ctx, [dirty]) {
692
+ if (/*iconname*/ ctx[5] && /*iconmode*/ ctx[6] === 'left') {
693
+ if (if_block0) {
694
+ if_block0.p(ctx, dirty);
695
+
696
+ if (dirty & /*iconname, iconmode*/ 96) {
697
+ transition_in(if_block0, 1);
698
+ }
699
+ } else {
700
+ if_block0 = create_if_block_6(ctx);
701
+ if_block0.c();
702
+ transition_in(if_block0, 1);
703
+ if_block0.m(button, t0);
704
+ }
705
+ } else if (if_block0) {
706
+ group_outros();
707
+
708
+ transition_out(if_block0, 1, 1, () => {
709
+ if_block0 = null;
710
+ });
711
+
712
+ check_outros();
713
+ }
714
+
715
+ let previous_block_index = current_block_type_index;
716
+ current_block_type_index = select_block_type_1(ctx);
717
+
718
+ if (current_block_type_index === previous_block_index) {
719
+ if_blocks[current_block_type_index].p(ctx, dirty);
720
+ } else {
721
+ group_outros();
722
+
723
+ transition_out(if_blocks[previous_block_index], 1, 1, () => {
724
+ if_blocks[previous_block_index] = null;
725
+ });
726
+
727
+ check_outros();
728
+ if_block1 = if_blocks[current_block_type_index];
729
+
730
+ if (!if_block1) {
731
+ if_block1 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
732
+ if_block1.c();
733
+ } else {
734
+ if_block1.p(ctx, dirty);
735
+ }
736
+
737
+ transition_in(if_block1, 1);
738
+ if_block1.m(button, t1);
739
+ }
740
+
741
+ if (/*iconname*/ ctx[5] && /*iconmode*/ ctx[6] === 'right') {
742
+ if (if_block2) {
743
+ if_block2.p(ctx, dirty);
744
+
745
+ if (dirty & /*iconname, iconmode*/ 96) {
746
+ transition_in(if_block2, 1);
747
+ }
748
+ } else {
749
+ if_block2 = create_if_block(ctx);
750
+ if_block2.c();
751
+ transition_in(if_block2, 1);
752
+ if_block2.m(button, null);
753
+ }
754
+ } else if (if_block2) {
755
+ group_outros();
756
+
757
+ transition_out(if_block2, 1, 1, () => {
758
+ if_block2 = null;
759
+ });
760
+
761
+ check_outros();
762
+ }
763
+
764
+ set_attributes(button, button_data = get_spread_update(button_levels, [
765
+ (!current || dirty & /*type*/ 256) && { type: /*type*/ ctx[8] },
766
+ (!current || dirty & /*theme, bordered, size, full, userClass*/ 1039 && button_class_value !== (button_class_value = "" + (/*getClasses*/ ctx[15](/*theme*/ ctx[1], /*bordered*/ ctx[0], /*size*/ ctx[2], /*full*/ ctx[3]) + " " + /*userClass*/ ctx[10]))) && { class: button_class_value },
767
+ (!current || dirty & /*disabled*/ 128) && { disabled: /*disabled*/ ctx[7] },
768
+ dirty & /*attributes*/ 512 && /*attributes*/ ctx[9]
769
+ ]));
770
+
771
+ toggle_class(button, "mc-button--square", /*iconmode*/ ctx[6]);
772
+ toggle_class(button, "svelte-1bvydp8", true);
773
+ },
774
+ i(local) {
775
+ if (current) return;
776
+ transition_in(if_block0);
777
+ transition_in(if_block1);
778
+ transition_in(if_block2);
779
+ current = true;
780
+ },
781
+ o(local) {
782
+ transition_out(if_block0);
783
+ transition_out(if_block1);
784
+ transition_out(if_block2);
785
+ current = false;
786
+ },
787
+ d(detaching) {
788
+ if (detaching) detach(button);
789
+ if (if_block0) if_block0.d();
790
+ if_blocks[current_block_type_index].d();
791
+ if (if_block2) if_block2.d();
792
+ mounted = false;
793
+ dispose();
794
+ }
795
+ };
796
+ }
797
+
798
+ function generateIconName(size, iconMode, iconName) {
799
+ const isIconOnly = iconMode === 'only';
800
+ let iconSize;
801
+
802
+ switch (size) {
803
+ case 's':
804
+ iconSize = '24px';
805
+ break;
806
+ case 'm':
807
+ iconSize = isIconOnly ? '32px' : '24px';
808
+ break;
809
+ case 'l':
810
+ iconSize = isIconOnly ? '100%' : '32px';
811
+ break;
812
+ }
813
+
814
+ return `${iconName} size="${iconSize}" class="no"`;
815
+ }
816
+
817
+ function getAppearanceClass(theme, isBordered) {
818
+ if (!isBordered && !theme) {
819
+ return '';
820
+ }
821
+
822
+ const type = isBordered ? 'bordered' : 'solid';
823
+
824
+ if (theme) {
825
+ return `mc-button--${type}-${theme}`;
826
+ }
827
+
828
+ return `mc-button--${type}`;
829
+ }
830
+
831
+ function instance($$self, $$props, $$invalidate) {
832
+ let loaderOpts;
833
+ let isLoading;
834
+ let loaderPosition;
835
+ let loaderTheme;
836
+ let userClass;
837
+ let attributes;
838
+
839
+ const omit_props_names = [
840
+ "bordered","theme","size","full","label","iconname","iconmode","disabled","responsivesize","responsivewidth","type","loader"
841
+ ];
842
+
843
+ let $$restProps = compute_rest_props($$props, omit_props_names);
844
+ var _a, _b, _c;
845
+ let { bordered = false } = $$props;
846
+ let { theme = undefined } = $$props;
847
+ let { size = 'm' } = $$props;
848
+ let { full = false } = $$props;
849
+ let { label } = $$props;
850
+ let { iconname } = $$props;
851
+ let { iconmode } = $$props;
852
+ let { disabled = false } = $$props;
853
+ let { responsivesize = undefined } = $$props;
854
+ let { responsivewidth = undefined } = $$props;
855
+ let { type = 'button' } = $$props;
856
+ let { loader } = $$props;
857
+ const forwardEvents = createEventForwarder(get_current_component());
858
+
859
+ function getClasses(theme, isBordered, size, isFull) {
860
+ const classes = ['mc-button'];
861
+ const appearanceClass = getAppearanceClass(theme, isBordered);
862
+
863
+ if (appearanceClass) {
864
+ classes.push(appearanceClass);
865
+ }
866
+
867
+ if (size) {
868
+ classes.push(`mc-button--${size}`);
869
+ }
870
+
871
+ if (isFull) {
872
+ classes.push(`mc-button--full`);
873
+ } else {
874
+ classes.push(`mc-button--fit`);
875
+ }
876
+
877
+ if (iconmode === 'only') {
878
+ classes.push('mc-button--square');
879
+ }
880
+
881
+ if (responsivesize) {
882
+ classes.push(`mc-button--${responsivesize}`);
883
+ }
884
+
885
+ if (responsivewidth) {
886
+ classes.push(`mc-button--${responsivewidth}`);
887
+ }
888
+
889
+ return classes.join(' ');
890
+ }
891
+
892
+ $$self.$$set = $$new_props => {
893
+ $$invalidate(24, $$props = assign(assign({}, $$props), exclude_internal_props($$new_props)));
894
+ $$invalidate(23, $$restProps = compute_rest_props($$props, omit_props_names));
895
+ if ('bordered' in $$new_props) $$invalidate(0, bordered = $$new_props.bordered);
896
+ if ('theme' in $$new_props) $$invalidate(1, theme = $$new_props.theme);
897
+ if ('size' in $$new_props) $$invalidate(2, size = $$new_props.size);
898
+ if ('full' in $$new_props) $$invalidate(3, full = $$new_props.full);
899
+ if ('label' in $$new_props) $$invalidate(4, label = $$new_props.label);
900
+ if ('iconname' in $$new_props) $$invalidate(5, iconname = $$new_props.iconname);
901
+ if ('iconmode' in $$new_props) $$invalidate(6, iconmode = $$new_props.iconmode);
902
+ if ('disabled' in $$new_props) $$invalidate(7, disabled = $$new_props.disabled);
903
+ if ('responsivesize' in $$new_props) $$invalidate(16, responsivesize = $$new_props.responsivesize);
904
+ if ('responsivewidth' in $$new_props) $$invalidate(17, responsivewidth = $$new_props.responsivewidth);
905
+ if ('type' in $$new_props) $$invalidate(8, type = $$new_props.type);
906
+ if ('loader' in $$new_props) $$invalidate(18, loader = $$new_props.loader);
907
+ };
908
+
909
+ $$self.$$.update = () => {
910
+ if ($$self.$$.dirty & /*loader*/ 262144) {
911
+ $$invalidate(22, loaderOpts = loader ? JSON.parse(loader) : undefined);
912
+ }
913
+
914
+ if ($$self.$$.dirty & /*loaderOpts, _a*/ 4718592) {
915
+ $$invalidate(13, isLoading = $$invalidate(19, _a = loaderOpts === null || loaderOpts === void 0
916
+ ? void 0
917
+ : loaderOpts.enabled) !== null && _a !== void 0
918
+ ? _a
919
+ : false);
920
+ }
921
+
922
+ if ($$self.$$.dirty & /*loaderOpts, _b*/ 5242880) {
923
+ $$invalidate(12, loaderPosition = $$invalidate(20, _b = loaderOpts === null || loaderOpts === void 0
924
+ ? void 0
925
+ : loaderOpts.position) !== null && _b !== void 0
926
+ ? _b
927
+ : 'left');
928
+ }
929
+
930
+ if ($$self.$$.dirty & /*loaderOpts, _c*/ 6291456) {
931
+ $$invalidate(11, loaderTheme = $$invalidate(21, _c = loaderOpts === null || loaderOpts === void 0
932
+ ? void 0
933
+ : loaderOpts.theme) !== null && _c !== void 0
934
+ ? _c
935
+ : 'primary');
936
+ }
937
+
938
+ $$invalidate(10, userClass = $$props.class);
939
+ $$invalidate(9, attributes = Object.assign({}, $$restProps));
940
+
941
+ if ($$self.$$.dirty & /*attributes*/ 512) {
942
+ delete attributes.class;
943
+ }
944
+ };
945
+
946
+ $$props = exclude_internal_props($$props);
947
+
948
+ return [
949
+ bordered,
950
+ theme,
951
+ size,
952
+ full,
953
+ label,
954
+ iconname,
955
+ iconmode,
956
+ disabled,
957
+ type,
958
+ attributes,
959
+ userClass,
960
+ loaderTheme,
961
+ loaderPosition,
962
+ isLoading,
963
+ forwardEvents,
964
+ getClasses,
965
+ responsivesize,
966
+ responsivewidth,
967
+ loader,
968
+ _a,
969
+ _b,
970
+ _c,
971
+ loaderOpts
972
+ ];
973
+ }
974
+
975
+ class Button_nested extends SvelteComponent {
976
+ constructor(options) {
977
+ super();
978
+
979
+ init(
980
+ this,
981
+ options,
982
+ instance,
983
+ create_fragment,
984
+ safe_not_equal,
985
+ {
986
+ bordered: 0,
987
+ theme: 1,
988
+ size: 2,
989
+ full: 3,
990
+ label: 4,
991
+ iconname: 5,
992
+ iconmode: 6,
993
+ disabled: 7,
994
+ responsivesize: 16,
995
+ responsivewidth: 17,
996
+ type: 8,
997
+ loader: 18
998
+ },
999
+ add_css
1000
+ );
1001
+ }
1002
+ }
1003
+
1004
+ export { Button_nested as default };
1005
+ //# sourceMappingURL=Button.nested.js.map