@mozaic-ds/web-components 0.1.0 → 0.2.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 (377) hide show
  1. package/README.md +76 -2
  2. package/package.json +1 -1
  3. package/public/{DataTableUtilities-be64e0a0.js → DataTableUtilities-60220c78.js} +2 -2
  4. package/public/DataTableUtilities-60220c78.js.map +1 -0
  5. package/public/EventForward-c82e97d9.js +2 -0
  6. package/public/EventForward-c82e97d9.js.map +1 -0
  7. package/public/{EventHandler-02058705.js → EventHandler-316af043.js} +2 -2
  8. package/public/{EventHandler-02058705.js.map → EventHandler-316af043.js.map} +1 -1
  9. package/public/adeo/{DataTableUtilities-be64e0a0.js → DataTableUtilities-60220c78.js} +2 -2
  10. package/public/adeo/DataTableUtilities-60220c78.js.map +1 -0
  11. package/public/adeo/EventForward-c82e97d9.js +2 -0
  12. package/public/adeo/EventForward-c82e97d9.js.map +1 -0
  13. package/public/adeo/{EventHandler-02058705.js → EventHandler-316af043.js} +2 -2
  14. package/public/adeo/{EventHandler-02058705.js.map → EventHandler-316af043.js.map} +1 -1
  15. package/public/adeo/bundle.js +10 -0
  16. package/public/adeo/components/accordion/Accordion.js +1 -1
  17. package/public/adeo/components/autocomplete/Autocomplete.js +1 -1
  18. package/public/adeo/components/autocomplete/Autocomplete.js.map +1 -1
  19. package/public/adeo/components/autocomplete/Autocomplete.svelte +6 -0
  20. package/public/adeo/components/badge/Badge.js +1 -1
  21. package/public/adeo/components/badge/Badge.js.map +1 -1
  22. package/public/adeo/components/badge/Badge.nested.js +1 -1
  23. package/public/adeo/components/breadcrumb/Breadcrumb.js +1 -1
  24. package/public/adeo/components/breadcrumb/Breadcrumb.nested.js +1 -1
  25. package/public/adeo/components/button/Button.js +1 -1
  26. package/public/adeo/components/card/Card.js +1 -1
  27. package/public/adeo/components/chart/BarChart.js +1 -1
  28. package/public/adeo/components/chart/Donut.js +1 -1
  29. package/public/adeo/components/chart/Donut.js.map +1 -1
  30. package/public/adeo/components/chart/GroupedBarChart.js +1 -1
  31. package/public/adeo/components/chart/LineChart.js +1 -1
  32. package/public/adeo/components/chart/Radar.js +1 -1
  33. package/public/adeo/components/chart/StackedBarChart.js +1 -1
  34. package/public/adeo/components/checkbox/Checkbox.js +1 -1
  35. package/public/adeo/components/checkboxgroup/checkboxGroup.js +1 -1
  36. package/public/adeo/components/datatable/DataTable.js +1 -1
  37. package/public/adeo/components/datatable/DataTable.js.map +1 -1
  38. package/public/adeo/components/datatable/DataTable.svelte +2 -0
  39. package/public/adeo/components/datatable/DataTableDefaultAction.nested.js +1 -1
  40. package/public/adeo/components/datatable/DataTableDefaultAction.nested.js.map +1 -1
  41. package/public/adeo/components/datatable/DataTableDefaultEdtion.nested.js +1 -1
  42. package/public/adeo/components/datatable/DataTableDefaultFilterTags.nested.js +1 -1
  43. package/public/adeo/components/datatable/DataTableDefaultSelection.nested.js +1 -1
  44. package/public/adeo/components/datatable/DataTableDefaultSelectionLabel.nested.js +1 -1
  45. package/public/adeo/components/datatable/DataTableFooter.nested.js +1 -1
  46. package/public/adeo/components/datatabledefaultaction/DataTableDefaultAction.nested.svelte +7 -1
  47. package/public/adeo/components/donut/Donut.svelte +0 -1
  48. package/public/adeo/components/dropdown/Dropdown.js +1 -1
  49. package/public/adeo/components/dropdown/Dropdown.js.map +1 -1
  50. package/public/adeo/components/dropdown/Dropdown.svelte +6 -0
  51. package/public/adeo/components/field/Field.js +1 -1
  52. package/public/adeo/components/fileuploader/FileUploader.js +2 -0
  53. package/public/adeo/components/fileuploader/FileUploader.js.map +1 -0
  54. package/public/adeo/components/fileuploader/FileUploader.svelte +93 -0
  55. package/public/adeo/components/fileuploader/ResultFile.nested.js +2 -0
  56. package/public/adeo/components/fileuploader/ResultFile.nested.js.map +1 -0
  57. package/public/adeo/components/flag/Flag.js +1 -1
  58. package/public/adeo/components/header/Header.js +1 -1
  59. package/public/adeo/components/hero/Hero.js +1 -1
  60. package/public/adeo/components/layer/Layer.js +1 -1
  61. package/public/adeo/components/link/Link.js +1 -1
  62. package/public/adeo/components/listbox/Listbox.js +1 -1
  63. package/public/adeo/components/listbox/Listbox.nested.js +1 -1
  64. package/public/adeo/components/listbox/Listbox.nested.js.map +1 -1
  65. package/public/adeo/components/listbox/Listbox.nested.svelte +5 -3
  66. package/public/adeo/components/loader/Loader.js +1 -1
  67. package/public/adeo/components/loader/Loader.nested.js +1 -1
  68. package/public/adeo/components/modal/Modal.js +1 -1
  69. package/public/adeo/components/notification/Notification.js +1 -1
  70. package/public/adeo/components/optionbutton/OptionButton.js +1 -1
  71. package/public/adeo/components/optionbutton/OptionButton.js.map +1 -1
  72. package/public/adeo/components/optionbutton/OptionButton.svelte +8 -5
  73. package/public/adeo/components/overlay/Overlay.js +1 -1
  74. package/public/adeo/components/overlay/OverlayLoader.js +1 -1
  75. package/public/adeo/components/pagination/Pagination.js +1 -1
  76. package/public/adeo/components/passwordinput/PasswordInput.js +1 -1
  77. package/public/adeo/components/phonenumber/PhoneNumber.js +1 -1
  78. package/public/adeo/components/price/Price.js +1 -1
  79. package/public/adeo/components/progressbar/ProgressBar.js +1 -1
  80. package/public/adeo/components/quantityselector/QuantitySelector.js +1 -1
  81. package/public/adeo/components/radio/Radio.js +1 -1
  82. package/public/adeo/components/radiogroup/RadioGroup.js +1 -1
  83. package/public/adeo/components/ratings/StarsInput.js +1 -1
  84. package/public/adeo/components/ratings/StarsResult.js +1 -1
  85. package/public/adeo/components/resultfile/ResultFile.nested.svelte +118 -0
  86. package/public/adeo/components/select/Select.js +1 -1
  87. package/public/adeo/components/sidebar/Sidebar.js +1 -1
  88. package/public/adeo/components/sidebar/sidebar-feature-group.nested.js +1 -1
  89. package/public/adeo/components/sidebar/sidebar-feature.nested.js +1 -1
  90. package/public/adeo/components/sidebar/sidebar-section.nested.js +1 -1
  91. package/public/adeo/components/sidebar/sidebar-segment.nested.js +1 -1
  92. package/public/adeo/components/sidebar/sidebar-separator.nested.js +1 -1
  93. package/public/adeo/components/sidebar/sidebar-sub-features.nested.js +1 -1
  94. package/public/adeo/components/sidebar/sidebar-user.nested.js +1 -1
  95. package/public/adeo/components/stepper/Stepper.js +1 -1
  96. package/public/adeo/components/tabs/Tabs.js +1 -1
  97. package/public/adeo/components/tabs/Tabs.nested.js +1 -1
  98. package/public/adeo/components/tag/Tag.js +1 -1
  99. package/public/adeo/components/tag/Tag.js.map +1 -1
  100. package/public/adeo/components/tag/Tag.nested.js +1 -1
  101. package/public/adeo/components/tag/Tag.nested.js.map +1 -1
  102. package/public/adeo/components/tag/Tag.nested.svelte +10 -11
  103. package/public/adeo/components/tag/Tag.svelte +9 -10
  104. package/public/adeo/components/tag/tag.types.d.ts +6 -0
  105. package/public/adeo/components/tag/tag.types.d.ts.map +1 -1
  106. package/public/adeo/components/taglist/TagList.js +2 -0
  107. package/public/adeo/components/taglist/TagList.js.map +1 -0
  108. package/public/adeo/components/taglist/TagList.svelte +79 -0
  109. package/public/adeo/components/textarea/Textarea.js +1 -1
  110. package/public/adeo/components/textinput/Textinput.js +1 -1
  111. package/public/adeo/components/textinput/Textinput.nested.js +1 -1
  112. package/public/adeo/components/toggle/Toggle.js +1 -1
  113. package/public/adeo/components/tooltip/Tooltip.js +1 -1
  114. package/public/adeo/{index-c33b3772.js → index-17a01ab4.js} +2 -2
  115. package/public/adeo/{index-c33b3772.js.map → index-17a01ab4.js.map} +1 -1
  116. package/public/adeo/main.d.ts +2 -0
  117. package/public/adeo/main.d.ts.map +1 -1
  118. package/public/adeo/{sidebar-service-6bb0964f.js → sidebar-service-f8a96839.js} +2 -2
  119. package/public/{bricoman/sidebar-service-6bb0964f.js.map → adeo/sidebar-service-f8a96839.js.map} +1 -1
  120. package/public/adeo/utilities/DataTableUtilities.d.ts +3 -0
  121. package/public/adeo/utilities/DataTableUtilities.d.ts.map +1 -1
  122. package/public/adeo/utilities/DataTableUtilities.ts +4 -0
  123. package/public/adeo/utilities/EventForward.d.ts.map +1 -1
  124. package/public/adeo/utilities/EventForward.ts +0 -1
  125. package/public/bricoman/{DataTableUtilities-be64e0a0.js → DataTableUtilities-60220c78.js} +2 -2
  126. package/public/bricoman/DataTableUtilities-60220c78.js.map +1 -0
  127. package/public/bricoman/EventForward-c82e97d9.js +2 -0
  128. package/public/bricoman/EventForward-c82e97d9.js.map +1 -0
  129. package/public/bricoman/{EventHandler-02058705.js → EventHandler-316af043.js} +2 -2
  130. package/public/bricoman/{EventHandler-02058705.js.map → EventHandler-316af043.js.map} +1 -1
  131. package/public/bricoman/bundle.js +10 -0
  132. package/public/bricoman/components/accordion/Accordion.js +1 -1
  133. package/public/bricoman/components/autocomplete/Autocomplete.js +1 -1
  134. package/public/bricoman/components/autocomplete/Autocomplete.js.map +1 -1
  135. package/public/bricoman/components/autocomplete/Autocomplete.svelte +6 -0
  136. package/public/bricoman/components/badge/Badge.js +1 -1
  137. package/public/bricoman/components/badge/Badge.nested.js +1 -1
  138. package/public/bricoman/components/breadcrumb/Breadcrumb.js +1 -1
  139. package/public/bricoman/components/breadcrumb/Breadcrumb.nested.js +1 -1
  140. package/public/bricoman/components/button/Button.js +1 -1
  141. package/public/bricoman/components/card/Card.js +1 -1
  142. package/public/bricoman/components/chart/BarChart.js +1 -1
  143. package/public/bricoman/components/chart/Donut.js +1 -1
  144. package/public/bricoman/components/chart/Donut.js.map +1 -1
  145. package/public/bricoman/components/chart/GroupedBarChart.js +1 -1
  146. package/public/bricoman/components/chart/LineChart.js +1 -1
  147. package/public/bricoman/components/chart/Radar.js +1 -1
  148. package/public/bricoman/components/chart/StackedBarChart.js +1 -1
  149. package/public/bricoman/components/checkbox/Checkbox.js +1 -1
  150. package/public/bricoman/components/checkboxgroup/checkboxGroup.js +1 -1
  151. package/public/bricoman/components/datatable/DataTable.js +1 -1
  152. package/public/bricoman/components/datatable/DataTable.js.map +1 -1
  153. package/public/bricoman/components/datatable/DataTable.svelte +2 -0
  154. package/public/bricoman/components/datatable/DataTableDefaultAction.nested.js +1 -1
  155. package/public/bricoman/components/datatable/DataTableDefaultAction.nested.js.map +1 -1
  156. package/public/bricoman/components/datatable/DataTableDefaultEdtion.nested.js +1 -1
  157. package/public/bricoman/components/datatable/DataTableDefaultFilterTags.nested.js +1 -1
  158. package/public/bricoman/components/datatable/DataTableDefaultSelection.nested.js +1 -1
  159. package/public/bricoman/components/datatable/DataTableDefaultSelectionLabel.nested.js +1 -1
  160. package/public/bricoman/components/datatable/DataTableFooter.nested.js +1 -1
  161. package/public/bricoman/components/datatabledefaultaction/DataTableDefaultAction.nested.svelte +7 -1
  162. package/public/bricoman/components/donut/Donut.svelte +0 -1
  163. package/public/bricoman/components/dropdown/Dropdown.js +1 -1
  164. package/public/bricoman/components/dropdown/Dropdown.js.map +1 -1
  165. package/public/bricoman/components/dropdown/Dropdown.svelte +6 -0
  166. package/public/bricoman/components/field/Field.js +1 -1
  167. package/public/bricoman/components/fileuploader/FileUploader.js +2 -0
  168. package/public/bricoman/components/fileuploader/FileUploader.js.map +1 -0
  169. package/public/bricoman/components/fileuploader/FileUploader.svelte +93 -0
  170. package/public/bricoman/components/fileuploader/ResultFile.nested.js +2 -0
  171. package/public/bricoman/components/fileuploader/ResultFile.nested.js.map +1 -0
  172. package/public/bricoman/components/flag/Flag.js +1 -1
  173. package/public/bricoman/components/header/Header.js +1 -1
  174. package/public/bricoman/components/hero/Hero.js +1 -1
  175. package/public/bricoman/components/layer/Layer.js +1 -1
  176. package/public/bricoman/components/link/Link.js +1 -1
  177. package/public/bricoman/components/listbox/Listbox.js +1 -1
  178. package/public/bricoman/components/listbox/Listbox.nested.js +1 -1
  179. package/public/bricoman/components/listbox/Listbox.nested.js.map +1 -1
  180. package/public/bricoman/components/listbox/Listbox.nested.svelte +5 -3
  181. package/public/bricoman/components/loader/Loader.js +1 -1
  182. package/public/bricoman/components/loader/Loader.nested.js +1 -1
  183. package/public/bricoman/components/modal/Modal.js +1 -1
  184. package/public/bricoman/components/notification/Notification.js +1 -1
  185. package/public/bricoman/components/optionbutton/OptionButton.js +1 -1
  186. package/public/bricoman/components/optionbutton/OptionButton.js.map +1 -1
  187. package/public/bricoman/components/optionbutton/OptionButton.svelte +8 -5
  188. package/public/bricoman/components/overlay/Overlay.js +1 -1
  189. package/public/bricoman/components/overlay/OverlayLoader.js +1 -1
  190. package/public/bricoman/components/pagination/Pagination.js +1 -1
  191. package/public/bricoman/components/passwordinput/PasswordInput.js +1 -1
  192. package/public/bricoman/components/phonenumber/PhoneNumber.js +1 -1
  193. package/public/bricoman/components/price/Price.js +1 -1
  194. package/public/bricoman/components/progressbar/ProgressBar.js +1 -1
  195. package/public/bricoman/components/quantityselector/QuantitySelector.js +1 -1
  196. package/public/bricoman/components/radio/Radio.js +1 -1
  197. package/public/bricoman/components/radiogroup/RadioGroup.js +1 -1
  198. package/public/bricoman/components/ratings/StarsInput.js +1 -1
  199. package/public/bricoman/components/ratings/StarsResult.js +1 -1
  200. package/public/bricoman/components/resultfile/ResultFile.nested.svelte +118 -0
  201. package/public/bricoman/components/select/Select.js +1 -1
  202. package/public/bricoman/components/sidebar/Sidebar.js +1 -1
  203. package/public/bricoman/components/sidebar/sidebar-feature-group.nested.js +1 -1
  204. package/public/bricoman/components/sidebar/sidebar-feature.nested.js +1 -1
  205. package/public/bricoman/components/sidebar/sidebar-section.nested.js +1 -1
  206. package/public/bricoman/components/sidebar/sidebar-segment.nested.js +1 -1
  207. package/public/bricoman/components/sidebar/sidebar-separator.nested.js +1 -1
  208. package/public/bricoman/components/sidebar/sidebar-sub-features.nested.js +1 -1
  209. package/public/bricoman/components/sidebar/sidebar-user.nested.js +1 -1
  210. package/public/bricoman/components/stepper/Stepper.js +1 -1
  211. package/public/bricoman/components/tabs/Tabs.js +1 -1
  212. package/public/bricoman/components/tabs/Tabs.nested.js +1 -1
  213. package/public/bricoman/components/tag/Tag.js +1 -1
  214. package/public/bricoman/components/tag/Tag.js.map +1 -1
  215. package/public/bricoman/components/tag/Tag.nested.js +1 -1
  216. package/public/bricoman/components/tag/Tag.nested.js.map +1 -1
  217. package/public/bricoman/components/tag/Tag.nested.svelte +10 -11
  218. package/public/bricoman/components/tag/Tag.svelte +9 -10
  219. package/public/bricoman/components/tag/tag.types.d.ts +6 -0
  220. package/public/bricoman/components/tag/tag.types.d.ts.map +1 -1
  221. package/public/bricoman/components/taglist/TagList.js +2 -0
  222. package/public/bricoman/components/taglist/TagList.js.map +1 -0
  223. package/public/bricoman/components/taglist/TagList.svelte +79 -0
  224. package/public/bricoman/components/textarea/Textarea.js +1 -1
  225. package/public/bricoman/components/textinput/Textinput.js +1 -1
  226. package/public/bricoman/components/textinput/Textinput.nested.js +1 -1
  227. package/public/bricoman/components/toggle/Toggle.js +1 -1
  228. package/public/bricoman/components/tooltip/Tooltip.js +1 -1
  229. package/public/bricoman/{index-c33b3772.js → index-17a01ab4.js} +2 -2
  230. package/public/bricoman/{index-c33b3772.js.map → index-17a01ab4.js.map} +1 -1
  231. package/public/bricoman/main.d.ts +2 -0
  232. package/public/bricoman/main.d.ts.map +1 -1
  233. package/public/bricoman/{sidebar-service-6bb0964f.js → sidebar-service-f8a96839.js} +2 -2
  234. package/public/{adeo/sidebar-service-6bb0964f.js.map → bricoman/sidebar-service-f8a96839.js.map} +1 -1
  235. package/public/bricoman/utilities/DataTableUtilities.d.ts +3 -0
  236. package/public/bricoman/utilities/DataTableUtilities.d.ts.map +1 -1
  237. package/public/bricoman/utilities/DataTableUtilities.ts +4 -0
  238. package/public/bricoman/utilities/EventForward.d.ts.map +1 -1
  239. package/public/bricoman/utilities/EventForward.ts +0 -1
  240. package/public/bundle.js +10 -0
  241. package/public/components/accordion/Accordion.js +1 -1
  242. package/public/components/autocomplete/Autocomplete.js +1 -1
  243. package/public/components/autocomplete/Autocomplete.js.map +1 -1
  244. package/public/components/autocomplete/Autocomplete.svelte +6 -0
  245. package/public/components/badge/Badge.js +1 -1
  246. package/public/components/badge/Badge.nested.js +1 -1
  247. package/public/components/breadcrumb/Breadcrumb.js +1 -1
  248. package/public/components/breadcrumb/Breadcrumb.nested.js +1 -1
  249. package/public/components/button/Button.js +1 -1
  250. package/public/components/card/Card.js +1 -1
  251. package/public/components/chart/BarChart.js +1 -1
  252. package/public/components/chart/Donut.js +1 -1
  253. package/public/components/chart/Donut.js.map +1 -1
  254. package/public/components/chart/GroupedBarChart.js +1 -1
  255. package/public/components/chart/LineChart.js +1 -1
  256. package/public/components/chart/Radar.js +1 -1
  257. package/public/components/chart/StackedBarChart.js +1 -1
  258. package/public/components/checkbox/Checkbox.js +1 -1
  259. package/public/components/checkboxgroup/checkboxGroup.js +1 -1
  260. package/public/components/datatable/DataTable.js +1 -1
  261. package/public/components/datatable/DataTable.js.map +1 -1
  262. package/public/components/datatable/DataTable.svelte +2 -0
  263. package/public/components/datatable/DataTableDefaultAction.nested.js +1 -1
  264. package/public/components/datatable/DataTableDefaultAction.nested.js.map +1 -1
  265. package/public/components/datatable/DataTableDefaultEdtion.nested.js +1 -1
  266. package/public/components/datatable/DataTableDefaultFilterTags.nested.js +1 -1
  267. package/public/components/datatable/DataTableDefaultSelection.nested.js +1 -1
  268. package/public/components/datatable/DataTableDefaultSelectionLabel.nested.js +1 -1
  269. package/public/components/datatable/DataTableFooter.nested.js +1 -1
  270. package/public/components/datatabledefaultaction/DataTableDefaultAction.nested.svelte +7 -1
  271. package/public/components/donut/Donut.svelte +0 -1
  272. package/public/components/dropdown/Dropdown.js +1 -1
  273. package/public/components/dropdown/Dropdown.js.map +1 -1
  274. package/public/components/dropdown/Dropdown.svelte +6 -0
  275. package/public/components/field/Field.js +1 -1
  276. package/public/components/fileuploader/FileUploader.js +2 -0
  277. package/public/components/fileuploader/FileUploader.js.map +1 -0
  278. package/public/components/fileuploader/FileUploader.svelte +93 -0
  279. package/public/components/fileuploader/ResultFile.nested.js +2 -0
  280. package/public/components/fileuploader/ResultFile.nested.js.map +1 -0
  281. package/public/components/flag/Flag.js +1 -1
  282. package/public/components/header/Header.js +1 -1
  283. package/public/components/hero/Hero.js +1 -1
  284. package/public/components/layer/Layer.js +1 -1
  285. package/public/components/link/Link.js +1 -1
  286. package/public/components/listbox/Listbox.js +1 -1
  287. package/public/components/listbox/Listbox.nested.js +1 -1
  288. package/public/components/listbox/Listbox.nested.js.map +1 -1
  289. package/public/components/listbox/Listbox.nested.svelte +5 -3
  290. package/public/components/loader/Loader.js +1 -1
  291. package/public/components/loader/Loader.js.map +1 -1
  292. package/public/components/loader/Loader.nested.js +1 -1
  293. package/public/components/modal/Modal.js +1 -1
  294. package/public/components/notification/Notification.js +1 -1
  295. package/public/components/optionbutton/OptionButton.js +1 -1
  296. package/public/components/optionbutton/OptionButton.js.map +1 -1
  297. package/public/components/optionbutton/OptionButton.svelte +8 -5
  298. package/public/components/overlay/Overlay.js +1 -1
  299. package/public/components/overlay/OverlayLoader.js +1 -1
  300. package/public/components/pagination/Pagination.js +1 -1
  301. package/public/components/passwordinput/PasswordInput.js +1 -1
  302. package/public/components/phonenumber/PhoneNumber.js +1 -1
  303. package/public/components/price/Price.js +1 -1
  304. package/public/components/progressbar/ProgressBar.js +1 -1
  305. package/public/components/quantityselector/QuantitySelector.js +1 -1
  306. package/public/components/radio/Radio.js +1 -1
  307. package/public/components/radiogroup/RadioGroup.js +1 -1
  308. package/public/components/ratings/StarsInput.js +1 -1
  309. package/public/components/ratings/StarsResult.js +1 -1
  310. package/public/components/resultfile/ResultFile.nested.svelte +118 -0
  311. package/public/components/select/Select.js +1 -1
  312. package/public/components/sidebar/Sidebar.js +1 -1
  313. package/public/components/sidebar/sidebar-feature-group.nested.js +1 -1
  314. package/public/components/sidebar/sidebar-feature.nested.js +1 -1
  315. package/public/components/sidebar/sidebar-section.nested.js +1 -1
  316. package/public/components/sidebar/sidebar-segment.nested.js +1 -1
  317. package/public/components/sidebar/sidebar-separator.nested.js +1 -1
  318. package/public/components/sidebar/sidebar-sub-features.nested.js +1 -1
  319. package/public/components/sidebar/sidebar-user.nested.js +1 -1
  320. package/public/components/stepper/Stepper.js +1 -1
  321. package/public/components/tabs/Tabs.js +1 -1
  322. package/public/components/tabs/Tabs.nested.js +1 -1
  323. package/public/components/tag/Tag.js +1 -1
  324. package/public/components/tag/Tag.js.map +1 -1
  325. package/public/components/tag/Tag.nested.js +1 -1
  326. package/public/components/tag/Tag.nested.js.map +1 -1
  327. package/public/components/tag/Tag.nested.svelte +10 -11
  328. package/public/components/tag/Tag.svelte +9 -10
  329. package/public/components/tag/tag.types.d.ts +6 -0
  330. package/public/components/tag/tag.types.d.ts.map +1 -1
  331. package/public/components/taglist/TagList.js +2 -0
  332. package/public/components/taglist/TagList.js.map +1 -0
  333. package/public/components/taglist/TagList.svelte +79 -0
  334. package/public/components/textarea/Textarea.js +1 -1
  335. package/public/components/textinput/Textinput.js +1 -1
  336. package/public/components/textinput/Textinput.nested.js +1 -1
  337. package/public/components/toggle/Toggle.js +1 -1
  338. package/public/components/tooltip/Tooltip.js +1 -1
  339. package/public/{index-c33b3772.js → index-17a01ab4.js} +2 -2
  340. package/public/{index-c33b3772.js.map → index-17a01ab4.js.map} +1 -1
  341. package/public/main.d.ts +2 -0
  342. package/public/main.d.ts.map +1 -1
  343. package/public/{sidebar-service-6bb0964f.js → sidebar-service-f8a96839.js} +2 -2
  344. package/public/{sidebar-service-6bb0964f.js.map → sidebar-service-f8a96839.js.map} +1 -1
  345. package/public/utilities/DataTableUtilities.d.ts +3 -0
  346. package/public/utilities/DataTableUtilities.d.ts.map +1 -1
  347. package/public/utilities/DataTableUtilities.ts +4 -0
  348. package/public/utilities/EventForward.d.ts.map +1 -1
  349. package/public/utilities/EventForward.js +1 -1
  350. package/public/utilities/EventForward.js.map +1 -1
  351. package/public/utilities/EventForward.ts +0 -1
  352. package/public/utilities/components/tag/tag.types.d.ts +6 -0
  353. package/public/utilities/components/tag/tag.types.d.ts.map +1 -1
  354. package/public/utilities/main.d.ts +2 -0
  355. package/public/utilities/main.d.ts.map +1 -1
  356. package/public/utilities/stories/autocomplete/Autocomplete.stories.d.ts.map +1 -1
  357. package/public/utilities/stories/datatable/DataTable.stories.d.ts.map +1 -1
  358. package/public/utilities/stories/dropdown/Dropdown.stories.d.ts.map +1 -1
  359. package/public/utilities/stories/fileuploader/FileUploader.stories.d.ts +10 -0
  360. package/public/utilities/stories/fileuploader/FileUploader.stories.d.ts.map +1 -0
  361. package/public/utilities/stories/optionbutton/OptionButton.stories.d.ts +1 -0
  362. package/public/utilities/stories/optionbutton/OptionButton.stories.d.ts.map +1 -1
  363. package/public/utilities/stories/tag/Tag.stories.d.ts.map +1 -1
  364. package/public/utilities/stories/taglist/Taglist.stories.d.ts +6 -0
  365. package/public/utilities/stories/taglist/Taglist.stories.d.ts.map +1 -0
  366. package/public/utilities/utilities/DataTableUtilities.d.ts +3 -0
  367. package/public/utilities/utilities/DataTableUtilities.d.ts.map +1 -1
  368. package/public/utilities/utilities/EventForward.d.ts.map +1 -1
  369. package/public/DataTableUtilities-be64e0a0.js.map +0 -1
  370. package/public/EventForward-3dbb2f25.js +0 -2
  371. package/public/EventForward-3dbb2f25.js.map +0 -1
  372. package/public/adeo/DataTableUtilities-be64e0a0.js.map +0 -1
  373. package/public/adeo/EventForward-3dbb2f25.js +0 -2
  374. package/public/adeo/EventForward-3dbb2f25.js.map +0 -1
  375. package/public/bricoman/DataTableUtilities-be64e0a0.js.map +0 -1
  376. package/public/bricoman/EventForward-3dbb2f25.js +0 -2
  377. package/public/bricoman/EventForward-3dbb2f25.js.map +0 -1
@@ -1,2 +1,2 @@
1
- import{S as t,i as e,a as r,b as n,f as s,s as o,e as a,d as i,T as c,n as l,y as f,g as d,o as h,J as u,a1 as g,t as m,j as p,k as x,K as b,v as $,Z as k}from"../../index-c33b3772.js";import{s as y}from"../../transform-15d69d5d.js";import{E as w}from"../../EventHandler-02058705.js";import{c as v,a as A}from"../../array-5b770a93.js";import{a as N,b as j}from"../../axis-fbc0f7b5.js";import{b as _}from"../../band-d7a07d2c.js";import{l as S}from"../../linear-f46d7e9e.js";function E(t,e){if((s=t.length)>1)for(var r,n,s,o=1,a=t[e[0]],i=a.length;o<s;++o)for(n=a,a=t[e[o]],r=0;r<i;++r)a[r][1]+=a[r][0]=isNaN(n[r][1])?n[r][0]:n[r][1]}function O(t){for(var e=t.length,r=new Array(e);--e>=0;)r[e]=e;return r}function J(t,e){return t[e]}function z(t){const e=[];return e.key=t,e}function R(){var t=v([]),e=O,r=E,n=J;function s(s){var o,a,i=Array.from(t.apply(this,arguments),z),c=i.length,l=-1;for(const t of s)for(o=0,++l;o<c;++o)(i[o][l]=[0,+n(t,i[o].key,l,s)]).data=t;for(o=0,a=A(e(i));o<c;++o)i[a[o]].index=o;return r(i,a),i}return s.keys=function(e){return arguments.length?(t="function"==typeof e?e:v(Array.from(e)),s):t},s.value=function(t){return arguments.length?(n="function"==typeof t?t:v(+t),s):n},s.order=function(t){return arguments.length?(e=null==t?O:"function"==typeof t?t:v(Array.from(t)),s):e},s.offset=function(t){return arguments.length?(r=null==t?E:t,s):r},s}function C(t,e,r){const n=t.slice();return n[6]=e[r],n}function F(t,e,r){const n=t.slice();return n[32]=e[r],n}function q(t){let e,r,s,o=t[3].text+"";return{c(){e=a("div"),r=m(o),d(e,"class","tooltip"),d(e,"style",s=`top: ${t[3].top}px; left: ${t[3].left}px; width: ${t[3].width}px;`)},m(t,s){n(t,e,s),p(e,r)},p(t,n){8&n[0]&&o!==(o=t[3].text+"")&&x(r,o),8&n[0]&&s!==(s=`top: ${t[3].top}px; left: ${t[3].left}px; width: ${t[3].width}px;`)&&d(e,"style",s)},d(t){t&&h(e)}}}function I(t){let e,r,s,o,l,f,u,g,b=t[32]+"";return{c(){e=a("div"),r=c("svg"),s=c("rect"),l=i(),f=a("span"),u=m(b),g=i(),d(s,"x","0"),d(s,"y","0"),d(s,"width","24"),d(s,"height","16"),d(s,"fill",o=t[1][t[32]]),d(r,"class","legend__box"),d(f,"class","legend__title"),d(e,"class","legend__item")},m(t,o){n(t,e,o),p(e,r),p(r,s),p(e,l),p(e,f),p(f,u),p(e,g)},p(t,e){18&e[0]&&o!==(o=t[1][t[32]])&&d(s,"fill",o),16&e[0]&&b!==(b=t[32]+"")&&x(u,b)},d(t){t&&h(e)}}}function B(t){let e,r,s=t[6]+"";return{c(){e=new k(!1),r=b(),e.a=r},m(t,o){e.m(s,t,o),n(t,r,o)},p(t,r){32&r[0]&&s!==(s=t[6]+"")&&e.p(s)},d(t){t&&h(r),t&&e.d()}}}function D(t){let e,r,s,o,g,m,p,x,b=t[3].show&&q(t),$=t[4],k=[];for(let e=0;e<$.length;e+=1)k[e]=I(F(t,$,e));let y=t[5],w=[];for(let e=0;e<y.length;e+=1)w[e]=B(C(t,y,e));return{c(){e=a("div"),r=i(),b&&b.c(),s=i(),o=a("div");for(let t=0;t<k.length;t+=1)k[t].c();g=i(),m=a("div");for(let t=0;t<w.length;t+=1)w[t].c();p=i(),x=c("text"),this.c=l,f(e,"background-color",t[0]),d(o,"class","legend"),f(m,"height","0"),f(m,"width","0"),d(m,"class","pattern")},m(a,i){n(a,e,i),t[19](e),n(a,r,i),b&&b.m(a,i),n(a,s,i),n(a,o,i);for(let t=0;t<k.length;t+=1)k[t]&&k[t].m(o,null);n(a,g,i),n(a,m,i);for(let t=0;t<w.length;t+=1)w[t]&&w[t].m(m,null);n(a,p,i),n(a,x,i)},p(t,r){if(1&r[0]&&f(e,"background-color",t[0]),t[3].show?b?b.p(t,r):(b=q(t),b.c(),b.m(s.parentNode,s)):b&&(b.d(1),b=null),18&r[0]){let e;for($=t[4],e=0;e<$.length;e+=1){const n=F(t,$,e);k[e]?k[e].p(n,r):(k[e]=I(n),k[e].c(),k[e].m(o,null))}for(;e<k.length;e+=1)k[e].d(1);k.length=$.length}if(32&r[0]){let e;for(y=t[5],e=0;e<y.length;e+=1){const n=C(t,y,e);w[e]?w[e].p(n,r):(w[e]=B(n),w[e].c(),w[e].m(m,null))}for(;e<w.length;e+=1)w[e].d(1);w.length=y.length}},i:l,o:l,d(n){n&&h(e),t[19](null),n&&h(r),b&&b.d(n),n&&h(s),n&&h(o),u(k,n),n&&h(g),n&&h(m),u(w,n),n&&h(p),n&&h(x)}}}function H(t){return t?JSON.parse(t):{top:10,right:40,bottom:20,left:60,xAxis:20}}function K(t,e,r){let n,s,o,a,i,c,l,f,d,{data:h=""}=e,{chartheight:u="300"}=e,{backgroundcolor:m="#fff"}=e,{scalemax:p=50}=e,{ticknumbers:x=4}=e,{tickleftformat:b=(t=>`${Number(t)}`)}=e,{tickbottomformat:k=(t=>`${Number(t)}`)}=e,{margins:v}=e,{svgs:A}=e,{colors:E}=e,O=!1,J={show:!1,text:"",top:0,left:0,width:0},z=new w;function C(){let t=y(f).style("width");return""!==t&&t||(t=""+window.innerWidth/2),parseInt(t)}function F(t){return{x:_().domain(s).range([0,t-(H(v).left/2+H(v).right/2)]).padding(.2),y:S().domain([0,p]).range([a,0])}}function q(t,e){const s=R().keys(o)(n);d.append("g").selectAll("g").data(s).enter().append("g").attr("fill",(t=>c[t.key]||"black")).attr("class","bar").selectAll("rect").data((t=>t)).enter().append("rect").attr("x",(e=>t(e.data.group.toString()))).attr("y",(t=>e(t[1]))).attr("width",t.bandwidth()).attr("height",(t=>e(t[0])-e(t[1]))).style("cursor","pointer").on("mouseout",((t,e)=>{d.selectAll("rect").filter((function(t){return t!=e})).style("opacity",1),r(3,J.show=!1,J)})).on("mouseover",((t,e)=>{d.selectAll("rect").filter((function(t){return t!=e})).style("opacity",.7);const{left:n,top:s,width:o}=t.target.getBoundingClientRect();r(3,J={show:!0,text:e.data.customtooltip?e.data.customtooltip:""+(e[1]-e[0]),left:n,top:s-50,width:o})})).on("click",((t,e)=>{z.dispatch("bar-clicked",e)}))}function I(t,e){d.select(".x-axis").call(N(t).tickFormat(k)),d.select(".y-axis").call(j(e).ticks(x).tickFormat(b));const r=C();d.selectAll(".y-axis .tick line").attr("stroke","#EEEDEA").attr("stroke-width","1px").attr("x2",r)}function B(){var t;if(l){const e=C();null===(t=f.querySelector("#svg-chart"))||void 0===t||t.setAttribute("width",`${e}px`);const{x:r,y:s}=F(e);I(r,s);const a=R().keys(o)(n);d.selectAll(".bar").data(a).selectAll("rect").data((t=>t)).attr("x",(t=>r(t.data.group.toString()))).attr("y",(t=>s(t[1]))).attr("width",r.bandwidth()).attr("height",(t=>s(t[0])-s(t[1])))}}return g((()=>{new ResizeObserver(B).observe(f),r(17,O=!0)})),t.$$set=t=>{"data"in t&&r(7,h=t.data),"chartheight"in t&&r(8,u=t.chartheight),"backgroundcolor"in t&&r(0,m=t.backgroundcolor),"scalemax"in t&&r(9,p=t.scalemax),"ticknumbers"in t&&r(10,x=t.ticknumbers),"tickleftformat"in t&&r(11,b=t.tickleftformat),"tickbottomformat"in t&&r(12,k=t.tickbottomformat),"margins"in t&&r(13,v=t.margins),"svgs"in t&&r(14,A=t.svgs),"colors"in t&&r(15,E=t.colors)},t.$$.update=()=>{128&t.$$.dirty[0]&&r(18,n=h?JSON.parse(h):[]),262144&t.$$.dirty[0]&&(s=n.map((t=>t.group))),262144&t.$$.dirty[0]&&r(4,o=n[0]?Object.keys(n[0]).filter((t=>"group"!==t)):[]),256&t.$$.dirty[0]&&(a=parseInt(u,10)),16384&t.$$.dirty[0]&&r(5,i=A?JSON.parse(A):[]),32768&t.$$.dirty[0]&&r(1,c=E?JSON.parse(E):{}),196736&t.$$.dirty[0]&&h.length>0&&O&&(l?h!==l&&(!function(){var t;const e=C();null===(t=f.querySelector("#svg-chart"))||void 0===t||t.setAttribute("width",`${e}px`);const{x:r,y:n}=F(e);I(r,n),d.selectAll(".bar").remove(),q(r,n)}(),r(16,l=h)):(!function(){const t=C(),{x:e,y:n}=F(t);r(6,d=y(f).append("svg").attr("width",t).attr("height",Number(a)+Number(H(v).top)+Number(H(v).bottom)+Number(H(v).xAxis)).attr("id","svg-chart").append("g").attr("transform",`translate(${H(v).left/2+H(v).right/2},${H(v).top})`)),d.append("g").attr("transform",`translate(0, ${Number(a)+Number(H(v).xAxis)})`).call(N(e)).attr("class","x-axis").attr("stroke-width","0"),d.append("g").call(j(n).ticks(x).tickFormat(b)).attr("class","y-axis").attr("stroke-width","0"),q(e,n)}(),r(16,l=h)))},[m,c,f,J,o,i,d,h,u,p,x,b,k,v,A,E,l,O,n,function(t){$[t?"unshift":"push"]((()=>{f=t,r(2,f)}))}]}class L extends t{constructor(t){super();const a=document.createElement("style");a.textContent='.legend{margin-top:1rem;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:0 1.5rem;height:100%;color:#000000;gap:1rem}.legend__item{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;font-size:0.875rem;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.legend__title{white-space:nowrap;margin:0}.legend__box{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-right:0.25rem;height:16px;width:24px}.tooltip{height:auto;background-color:#4d4d4d;border-radius:4px;color:#ffffff;text-align:center;padding:0.5rem 0;position:absolute}.pattern{z-index:-1;position:relative}text{font-family:"LeroyMerlin", sans-serif;font-size:0.875rem;color:#4d4d4d}',this.shadowRoot.appendChild(a),e(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},K,D,o,{data:7,chartheight:8,backgroundcolor:0,scalemax:9,ticknumbers:10,tickleftformat:11,tickbottomformat:12,margins:13,svgs:14,colors:15},null,[-1,-1]),t&&(t.target&&n(t.target,this,t.anchor),t.props&&(this.$set(t.props),s()))}static get observedAttributes(){return["data","chartheight","backgroundcolor","scalemax","ticknumbers","tickleftformat","tickbottomformat","margins","svgs","colors"]}get data(){return this.$$.ctx[7]}set data(t){this.$$set({data:t}),s()}get chartheight(){return this.$$.ctx[8]}set chartheight(t){this.$$set({chartheight:t}),s()}get backgroundcolor(){return this.$$.ctx[0]}set backgroundcolor(t){this.$$set({backgroundcolor:t}),s()}get scalemax(){return this.$$.ctx[9]}set scalemax(t){this.$$set({scalemax:t}),s()}get ticknumbers(){return this.$$.ctx[10]}set ticknumbers(t){this.$$set({ticknumbers:t}),s()}get tickleftformat(){return this.$$.ctx[11]}set tickleftformat(t){this.$$set({tickleftformat:t}),s()}get tickbottomformat(){return this.$$.ctx[12]}set tickbottomformat(t){this.$$set({tickbottomformat:t}),s()}get margins(){return this.$$.ctx[13]}set margins(t){this.$$set({margins:t}),s()}get svgs(){return this.$$.ctx[14]}set svgs(t){this.$$set({svgs:t}),s()}get colors(){return this.$$.ctx[15]}set colors(t){this.$$set({colors:t}),s()}}export{L as default};
1
+ import{S as t,i as e,a as r,b as n,f as s,s as a,e as o,d as i,T as l,n as c,y as f,g as d,o as h,J as u,a1 as g,t as m,j as p,k as x,K as b,v as $,Z as k}from"../../index-17a01ab4.js";import{s as y}from"../../transform-15d69d5d.js";import{E as w}from"../../EventHandler-316af043.js";import{c as v,a as A}from"../../array-5b770a93.js";import{a as N,b as j}from"../../axis-fbc0f7b5.js";import{b as _}from"../../band-d7a07d2c.js";import{l as S}from"../../linear-f46d7e9e.js";function E(t,e){if((s=t.length)>1)for(var r,n,s,a=1,o=t[e[0]],i=o.length;a<s;++a)for(n=o,o=t[e[a]],r=0;r<i;++r)o[r][1]+=o[r][0]=isNaN(n[r][1])?n[r][0]:n[r][1]}function O(t){for(var e=t.length,r=new Array(e);--e>=0;)r[e]=e;return r}function J(t,e){return t[e]}function z(t){const e=[];return e.key=t,e}function R(){var t=v([]),e=O,r=E,n=J;function s(s){var a,o,i=Array.from(t.apply(this,arguments),z),l=i.length,c=-1;for(const t of s)for(a=0,++c;a<l;++a)(i[a][c]=[0,+n(t,i[a].key,c,s)]).data=t;for(a=0,o=A(e(i));a<l;++a)i[o[a]].index=a;return r(i,o),i}return s.keys=function(e){return arguments.length?(t="function"==typeof e?e:v(Array.from(e)),s):t},s.value=function(t){return arguments.length?(n="function"==typeof t?t:v(+t),s):n},s.order=function(t){return arguments.length?(e=null==t?O:"function"==typeof t?t:v(Array.from(t)),s):e},s.offset=function(t){return arguments.length?(r=null==t?E:t,s):r},s}function C(t,e,r){const n=t.slice();return n[6]=e[r],n}function F(t,e,r){const n=t.slice();return n[32]=e[r],n}function q(t){let e,r,s,a=t[3].text+"";return{c(){e=o("div"),r=m(a),d(e,"class","tooltip"),d(e,"style",s=`top: ${t[3].top}px; left: ${t[3].left}px; width: ${t[3].width}px;`)},m(t,s){n(t,e,s),p(e,r)},p(t,n){8&n[0]&&a!==(a=t[3].text+"")&&x(r,a),8&n[0]&&s!==(s=`top: ${t[3].top}px; left: ${t[3].left}px; width: ${t[3].width}px;`)&&d(e,"style",s)},d(t){t&&h(e)}}}function I(t){let e,r,s,a,c,f,u,g,b=t[32]+"";return{c(){e=o("div"),r=l("svg"),s=l("rect"),c=i(),f=o("span"),u=m(b),g=i(),d(s,"x","0"),d(s,"y","0"),d(s,"width","24"),d(s,"height","16"),d(s,"fill",a=t[1][t[32]]),d(r,"class","legend__box"),d(f,"class","legend__title"),d(e,"class","legend__item")},m(t,a){n(t,e,a),p(e,r),p(r,s),p(e,c),p(e,f),p(f,u),p(e,g)},p(t,e){18&e[0]&&a!==(a=t[1][t[32]])&&d(s,"fill",a),16&e[0]&&b!==(b=t[32]+"")&&x(u,b)},d(t){t&&h(e)}}}function B(t){let e,r,s=t[6]+"";return{c(){e=new k(!1),r=b(),e.a=r},m(t,a){e.m(s,t,a),n(t,r,a)},p(t,r){32&r[0]&&s!==(s=t[6]+"")&&e.p(s)},d(t){t&&h(r),t&&e.d()}}}function D(t){let e,r,s,a,g,m,p,x,b=t[3].show&&q(t),$=t[4],k=[];for(let e=0;e<$.length;e+=1)k[e]=I(F(t,$,e));let y=t[5],w=[];for(let e=0;e<y.length;e+=1)w[e]=B(C(t,y,e));return{c(){e=o("div"),r=i(),b&&b.c(),s=i(),a=o("div");for(let t=0;t<k.length;t+=1)k[t].c();g=i(),m=o("div");for(let t=0;t<w.length;t+=1)w[t].c();p=i(),x=l("text"),this.c=c,f(e,"background-color",t[0]),d(a,"class","legend"),f(m,"height","0"),f(m,"width","0"),d(m,"class","pattern")},m(o,i){n(o,e,i),t[19](e),n(o,r,i),b&&b.m(o,i),n(o,s,i),n(o,a,i);for(let t=0;t<k.length;t+=1)k[t]&&k[t].m(a,null);n(o,g,i),n(o,m,i);for(let t=0;t<w.length;t+=1)w[t]&&w[t].m(m,null);n(o,p,i),n(o,x,i)},p(t,r){if(1&r[0]&&f(e,"background-color",t[0]),t[3].show?b?b.p(t,r):(b=q(t),b.c(),b.m(s.parentNode,s)):b&&(b.d(1),b=null),18&r[0]){let e;for($=t[4],e=0;e<$.length;e+=1){const n=F(t,$,e);k[e]?k[e].p(n,r):(k[e]=I(n),k[e].c(),k[e].m(a,null))}for(;e<k.length;e+=1)k[e].d(1);k.length=$.length}if(32&r[0]){let e;for(y=t[5],e=0;e<y.length;e+=1){const n=C(t,y,e);w[e]?w[e].p(n,r):(w[e]=B(n),w[e].c(),w[e].m(m,null))}for(;e<w.length;e+=1)w[e].d(1);w.length=y.length}},i:c,o:c,d(n){n&&h(e),t[19](null),n&&h(r),b&&b.d(n),n&&h(s),n&&h(a),u(k,n),n&&h(g),n&&h(m),u(w,n),n&&h(p),n&&h(x)}}}function H(t){return t?JSON.parse(t):{top:10,right:40,bottom:20,left:60,xAxis:20}}function K(t,e,r){let n,s,a,o,i,l,c,f,d,{data:h=""}=e,{chartheight:u="300"}=e,{backgroundcolor:m="#fff"}=e,{scalemax:p=50}=e,{ticknumbers:x=4}=e,{tickleftformat:b=(t=>`${Number(t)}`)}=e,{tickbottomformat:k=(t=>`${Number(t)}`)}=e,{margins:v}=e,{svgs:A}=e,{colors:E}=e,O=!1,J={show:!1,text:"",top:0,left:0,width:0},z=new w;function C(){let t=y(f).style("width");return""!==t&&t||(t=""+window.innerWidth/2),parseInt(t)}function F(t){return{x:_().domain(s).range([0,t-(H(v).left/2+H(v).right/2)]).padding(.2),y:S().domain([0,p]).range([o,0])}}function q(t,e){const s=R().keys(a)(n);d.append("g").selectAll("g").data(s).enter().append("g").attr("fill",(t=>l[t.key]||"black")).attr("class","bar").selectAll("rect").data((t=>t)).enter().append("rect").attr("x",(e=>t(e.data.group.toString()))).attr("y",(t=>e(t[1]))).attr("width",t.bandwidth()).attr("height",(t=>e(t[0])-e(t[1]))).style("cursor","pointer").on("mouseout",((t,e)=>{d.selectAll("rect").filter((function(t){return t!=e})).style("opacity",1),r(3,J.show=!1,J)})).on("mouseover",((t,e)=>{d.selectAll("rect").filter((function(t){return t!=e})).style("opacity",.7);const{left:n,top:s,width:a}=t.target.getBoundingClientRect();r(3,J={show:!0,text:e.data.customtooltip?e.data.customtooltip:""+(e[1]-e[0]),left:n,top:s-50,width:a})})).on("click",((t,e)=>{z.dispatch("bar-clicked",e)}))}function I(t,e){d.select(".x-axis").call(N(t).tickFormat(k)),d.select(".y-axis").call(j(e).ticks(x).tickFormat(b));const r=C();d.selectAll(".y-axis .tick line").attr("stroke","#EEEDEA").attr("stroke-width","1px").attr("x2",r)}function B(){var t;if(c){const e=C();null===(t=f.querySelector("#svg-chart"))||void 0===t||t.setAttribute("width",`${e}px`);const{x:r,y:s}=F(e);I(r,s);const o=R().keys(a)(n);d.selectAll(".bar").data(o).selectAll("rect").data((t=>t)).attr("x",(t=>r(t.data.group.toString()))).attr("y",(t=>s(t[1]))).attr("width",r.bandwidth()).attr("height",(t=>s(t[0])-s(t[1])))}}return g((()=>{new ResizeObserver(B).observe(f),r(17,O=!0)})),t.$$set=t=>{"data"in t&&r(7,h=t.data),"chartheight"in t&&r(8,u=t.chartheight),"backgroundcolor"in t&&r(0,m=t.backgroundcolor),"scalemax"in t&&r(9,p=t.scalemax),"ticknumbers"in t&&r(10,x=t.ticknumbers),"tickleftformat"in t&&r(11,b=t.tickleftformat),"tickbottomformat"in t&&r(12,k=t.tickbottomformat),"margins"in t&&r(13,v=t.margins),"svgs"in t&&r(14,A=t.svgs),"colors"in t&&r(15,E=t.colors)},t.$$.update=()=>{128&t.$$.dirty[0]&&r(18,n=h?JSON.parse(h):[]),262144&t.$$.dirty[0]&&(s=n.map((t=>t.group))),262144&t.$$.dirty[0]&&r(4,a=n[0]?Object.keys(n[0]).filter((t=>"group"!==t)):[]),256&t.$$.dirty[0]&&(o=parseInt(u,10)),16384&t.$$.dirty[0]&&r(5,i=A?JSON.parse(A):[]),32768&t.$$.dirty[0]&&r(1,l=E?JSON.parse(E):{}),196736&t.$$.dirty[0]&&h.length>0&&O&&(c?h!==c&&(!function(){var t;const e=C();null===(t=f.querySelector("#svg-chart"))||void 0===t||t.setAttribute("width",`${e}px`);const{x:r,y:n}=F(e);I(r,n),d.selectAll(".bar").remove(),q(r,n)}(),r(16,c=h)):(!function(){const t=C(),{x:e,y:n}=F(t);r(6,d=y(f).append("svg").attr("width",t).attr("height",Number(o)+Number(H(v).top)+Number(H(v).bottom)+Number(H(v).xAxis)).attr("id","svg-chart").append("g").attr("transform",`translate(${H(v).left/2+H(v).right/2},${H(v).top})`)),d.append("g").attr("transform",`translate(0, ${Number(o)+Number(H(v).xAxis)})`).call(N(e)).attr("class","x-axis").attr("stroke-width","0"),d.append("g").call(j(n).ticks(x).tickFormat(b)).attr("class","y-axis").attr("stroke-width","0"),q(e,n)}(),r(16,c=h)))},[m,l,f,J,a,i,d,h,u,p,x,b,k,v,A,E,c,O,n,function(t){$[t?"unshift":"push"]((()=>{f=t,r(2,f)}))}]}class L extends t{constructor(t){super();const o=document.createElement("style");o.textContent='.legend{margin-top:1rem;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:0 1.5rem;height:100%;color:#000000;gap:1rem}.legend__item{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;font-size:0.875rem;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.legend__title{white-space:nowrap;margin:0}.legend__box{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-right:0.25rem;height:16px;width:24px}.tooltip{height:auto;background-color:#4d4d4d;border-radius:4px;color:#ffffff;text-align:center;padding:0.5rem 0;position:absolute}.pattern{z-index:-1;position:relative}text{font-family:"LeroyMerlin", sans-serif;font-size:0.875rem;color:#4d4d4d}',this.shadowRoot.appendChild(o),e(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},K,D,a,{data:7,chartheight:8,backgroundcolor:0,scalemax:9,ticknumbers:10,tickleftformat:11,tickbottomformat:12,margins:13,svgs:14,colors:15},null,[-1,-1]),t&&(t.target&&n(t.target,this,t.anchor),t.props&&(this.$set(t.props),s()))}static get observedAttributes(){return["data","chartheight","backgroundcolor","scalemax","ticknumbers","tickleftformat","tickbottomformat","margins","svgs","colors"]}get data(){return this.$$.ctx[7]}set data(t){this.$$set({data:t}),s()}get chartheight(){return this.$$.ctx[8]}set chartheight(t){this.$$set({chartheight:t}),s()}get backgroundcolor(){return this.$$.ctx[0]}set backgroundcolor(t){this.$$set({backgroundcolor:t}),s()}get scalemax(){return this.$$.ctx[9]}set scalemax(t){this.$$set({scalemax:t}),s()}get ticknumbers(){return this.$$.ctx[10]}set ticknumbers(t){this.$$set({ticknumbers:t}),s()}get tickleftformat(){return this.$$.ctx[11]}set tickleftformat(t){this.$$set({tickleftformat:t}),s()}get tickbottomformat(){return this.$$.ctx[12]}set tickbottomformat(t){this.$$set({tickbottomformat:t}),s()}get margins(){return this.$$.ctx[13]}set margins(t){this.$$set({margins:t}),s()}get svgs(){return this.$$.ctx[14]}set svgs(t){this.$$set({svgs:t}),s()}get colors(){return this.$$.ctx[15]}set colors(t){this.$$set({colors:t}),s()}}export{L as default};
2
2
  //# sourceMappingURL=StackedBarChart.js.map
@@ -1,2 +1,2 @@
1
- import{S as e,i,a as c,b as t,f as n,s as o,c as a,e as r,d,n as s,g as l,h as m,j as b,B as h,l as g,m as p,o as u,H as x,p as k,r as _,q as f,t as M,k as v}from"../../index-c33b3772.js";import{E as I}from"../../EventHandler-02058705.js";import{c as w}from"../../EventForward-3dbb2f25.js";function y(e){let i,c;return{c(){i=r("label"),c=M(e[5]),l(i,"for",e[0]),l(i,"class","mc-checkbox__label")},m(e,n){t(e,i,n),b(i,c)},p(e,t){32&t&&v(c,e[5]),1&t&&l(i,"for",e[0])},d(e){e&&u(i)}}}function A(e){let i,c,n,o,k,_,f,M=e[5]&&y(e),v=[{class:k="mc-checkbox "+e[7]},e[6]],I={};for(let e=0;e<v.length;e+=1)I=a(I,v[e]);return{c(){i=r("div"),c=r("input"),o=d(),M&&M.c(),this.c=s,l(c,"id",e[0]),l(c,"type","checkbox"),l(c,"class",n="mc-checkbox__input "+(e[4]?" is-invalid":"")),l(c,"aria-invalid",e[4]),l(c,"name",e[0]),c.checked=e[1],c.disabled=e[3],c.indeterminate=e[2],m(i,I)},m(n,a){t(n,i,a),b(i,c),b(i,o),M&&M.m(i,null),_||(f=[h(e[8].call(null,c)),g(c,"change",e[9])],_=!0)},p(e,[t]){1&t&&l(c,"id",e[0]),16&t&&n!==(n="mc-checkbox__input "+(e[4]?" is-invalid":""))&&l(c,"class",n),16&t&&l(c,"aria-invalid",e[4]),1&t&&l(c,"name",e[0]),2&t&&(c.checked=e[1]),8&t&&(c.disabled=e[3]),4&t&&(c.indeterminate=e[2]),e[5]?M?M.p(e,t):(M=y(e),M.c(),M.m(i,null)):M&&(M.d(1),M=null),m(i,I=p(v,[128&t&&k!==(k="mc-checkbox "+e[7])&&{class:k},64&t&&e[6]]))},i:s,o:s,d(e){e&&u(i),M&&M.d(),_=!1,x(f)}}}function Z(e,i,c){let t,n,o;const r=["name","checked","indeterminate","disabled","isinvalid","label"];let d=k(i,r),{name:s}=i,{checked:l}=i,{indeterminate:m}=i,{disabled:b=!1}=i,{isinvalid:h=!1}=i,{label:g}=i;const p=w(_());let u=new I;return e.$$set=e=>{c(13,i=a(a({},i),f(e))),c(12,d=k(i,r)),"name"in e&&c(0,s=e.name),"checked"in e&&c(1,l=e.checked),"indeterminate"in e&&c(2,m=e.indeterminate),"disabled"in e&&c(3,b=e.disabled),"isinvalid"in e&&c(4,h=e.isinvalid),"label"in e&&c(5,g=e.label)},e.$$.update=()=>{2&e.$$.dirty&&(t=!!l),c(7,n=i.class),c(6,o=Object.assign({},d)),64&e.$$.dirty&&delete o.class},i=f(i),[s,l,m,b,h,g,o,n,p,function(){t=!t,u.dispatch("input",t)}]}class $ extends e{constructor(e){super();const a=document.createElement("style");a.textContent='@charset "UTF-8";.mc-checkbox{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex}.mc-checkbox__label{font-size:1rem;line-height:1.125;cursor:pointer;margin-left:0.5rem;color:#000000}.mc-checkbox__input{font-family:"Roboto", sans-serif;font-weight:400;-webkit-box-sizing:border-box;box-sizing:border-box;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;margin:0;-webkit-box-shadow:none;box-shadow:none;border:none;min-width:20px;min-height:20px;width:1.25rem;height:1.25rem;border-radius:4px;border:2px solid #666666;background-color:#ffffff;position:relative;-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease;cursor:pointer}.mc-checkbox__input[type=number]::-webkit-inner-spin-button,.mc-checkbox__input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;appearance:none;margin:0}.mc-checkbox__input[type=number]{-moz-appearance:textfield}.mc-checkbox__input[type=search]::-webkit-search-decoration:hover,.mc-checkbox__input[type=search]::-webkit-search-cancel-button:hover{cursor:pointer}.mc-checkbox__input::-ms-check{background-color:#ffffff;border:2px solid #666666;border-radius:4px;color:#ffffff}.mc-checkbox__input.is-hover,.mc-checkbox__input:hover{border-color:#191919}.mc-checkbox__input.is-hover::-ms-check,.mc-checkbox__input:hover::-ms-check{border-color:#191919}.mc-checkbox__input.is-focus,.mc-checkbox__input:focus{-webkit-box-shadow:0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #758992;box-shadow:0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #758992}.mc-checkbox__input.is-focus::-ms-check,.mc-checkbox__input:focus::-ms-check{box-shadow:0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #758992}.mc-checkbox__input:checked,.mc-checkbox__input:indeterminate{background-color:#00919f;border-color:#00919f;background-size:1rem 1rem}.mc-checkbox__input:checked{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMXJlbSIgd2lkdGg9IjFyZW0iIGZpbGw9IiNmZmZmZmYiIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTcuNjMgMTEuMjFhMSAxIDAgMCAxLTEuMzggMGwtMi45Mi0yLjZhMSAxIDAgMSAxIDEuMzQtMS40OGwyLjIyIDIgNC40MS00LjM0YTEgMSAwIDEgMSAxLjQgMS40MnoiLz48L3N2Zz4=");background-position:center center}.mc-checkbox__input:checked::-ms-check{background-color:#00919f;border-color:#00919f}.mc-checkbox__input:checked:hover:not(:disabled){border-color:#004e57}.mc-checkbox__input:checked:hover:not(:disabled)::-ms-check{border-color:#004e57}.mc-checkbox__input:indeterminate{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMXJlbSIgd2lkdGg9IjFyZW0iIGZpbGw9IiNmZmZmZmYiIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTEyIDlINGExIDEgMCAwMTAtMmg4YTEgMSAwIDAxMCAyeiIvPjwvc3ZnPg==")}.mc-checkbox__input:disabled{background-color:#e6e6e6;border-color:#e6e6e6;cursor:not-allowed}.mc-checkbox__input:disabled::-ms-check{background-color:#e6e6e6;border-color:#e6e6e6}.mc-checkbox__input:disabled:checked{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMXJlbSIgd2lkdGg9IjFyZW0iIGZpbGw9IiM5OTk5OTkiIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTcuNjMgMTEuMjFhMSAxIDAgMCAxLTEuMzggMGwtMi45Mi0yLjZhMSAxIDAgMSAxIDEuMzQtMS40OGwyLjIyIDIgNC40MS00LjM0YTEgMSAwIDEgMSAxLjQgMS40MnoiLz48L3N2Zz4=")}.mc-checkbox__input:disabled:indeterminate{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMXJlbSIgd2lkdGg9IjFyZW0iIGZpbGw9IiM5OTk5OTkiIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTEyIDlINGExIDEgMCAwMTAtMmg4YTEgMSAwIDAxMCAyeiIvPjwvc3ZnPg==")}.mc-checkbox__input:disabled+.mc-checkbox__label{color:#808080}.mc-checkbox__input.is-invalid{border-color:#c61112}.mc-checkbox__input.is-invalid::-ms-check{border-color:#c61112}.mc-checkbox__input.is-invalid.is-hover,.mc-checkbox__input.is-invalid:hover{border-color:#530000}.mc-checkbox__input.is-invalid.is-hover::-ms-check,.mc-checkbox__input.is-invalid:hover::-ms-check{border-color:#530000}.mc-field__label,.mc-field__legend{font-size:0.875rem;line-height:1.2857142857;font-weight:400;color:#333333}.mc-field__legend{padding-left:0;padding-right:0}.mc-field__requirement,.mc-field__help{font-size:0.75rem;line-height:1.3333333333;font-weight:400;color:#666666}.mc-field__requirement::before{content:" - "}.mc-field__help{display:block;margin-top:0.125rem}@media screen and (min-width: 769px){.mc-field__container--inline{display:-webkit-box;display:-ms-flexbox;display:flex}}@media screen and (min-width: 769px){}@media screen and (min-width: 1024px){}.mc-field__item:not(:last-child){margin-bottom:1rem}.mc-field__error-message{font-size:0.875rem;line-height:1.2857142857;color:#c61112;display:inline-block;margin-top:0.25rem}.mc-field--group{border:none;margin-left:0;margin-right:0;padding:0}',this.shadowRoot.appendChild(a),i(this,{target:this.shadowRoot,props:c(this.attributes),customElement:!0},Z,A,o,{name:0,checked:1,indeterminate:2,disabled:3,isinvalid:4,label:5},null),e&&(e.target&&t(e.target,this,e.anchor),e.props&&(this.$set(e.props),n()))}static get observedAttributes(){return["name","checked","indeterminate","disabled","isinvalid","label"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),n()}get checked(){return this.$$.ctx[1]}set checked(e){this.$$set({checked:e}),n()}get indeterminate(){return this.$$.ctx[2]}set indeterminate(e){this.$$set({indeterminate:e}),n()}get disabled(){return this.$$.ctx[3]}set disabled(e){this.$$set({disabled:e}),n()}get isinvalid(){return this.$$.ctx[4]}set isinvalid(e){this.$$set({isinvalid:e}),n()}get label(){return this.$$.ctx[5]}set label(e){this.$$set({label:e}),n()}}export{$ as default};
1
+ import{S as e,i,a as c,b as t,f as n,s as o,c as a,e as r,d,n as s,g as l,h as m,j as b,B as h,l as g,m as p,o as u,H as x,p as k,r as _,q as f,t as M,k as v}from"../../index-17a01ab4.js";import{E as I}from"../../EventHandler-316af043.js";import{c as w}from"../../EventForward-c82e97d9.js";function y(e){let i,c;return{c(){i=r("label"),c=M(e[5]),l(i,"for",e[0]),l(i,"class","mc-checkbox__label")},m(e,n){t(e,i,n),b(i,c)},p(e,t){32&t&&v(c,e[5]),1&t&&l(i,"for",e[0])},d(e){e&&u(i)}}}function A(e){let i,c,n,o,k,_,f,M=e[5]&&y(e),v=[{class:k="mc-checkbox "+e[7]},e[6]],I={};for(let e=0;e<v.length;e+=1)I=a(I,v[e]);return{c(){i=r("div"),c=r("input"),o=d(),M&&M.c(),this.c=s,l(c,"id",e[0]),l(c,"type","checkbox"),l(c,"class",n="mc-checkbox__input "+(e[4]?" is-invalid":"")),l(c,"aria-invalid",e[4]),l(c,"name",e[0]),c.checked=e[1],c.disabled=e[3],c.indeterminate=e[2],m(i,I)},m(n,a){t(n,i,a),b(i,c),b(i,o),M&&M.m(i,null),_||(f=[h(e[8].call(null,c)),g(c,"change",e[9])],_=!0)},p(e,[t]){1&t&&l(c,"id",e[0]),16&t&&n!==(n="mc-checkbox__input "+(e[4]?" is-invalid":""))&&l(c,"class",n),16&t&&l(c,"aria-invalid",e[4]),1&t&&l(c,"name",e[0]),2&t&&(c.checked=e[1]),8&t&&(c.disabled=e[3]),4&t&&(c.indeterminate=e[2]),e[5]?M?M.p(e,t):(M=y(e),M.c(),M.m(i,null)):M&&(M.d(1),M=null),m(i,I=p(v,[128&t&&k!==(k="mc-checkbox "+e[7])&&{class:k},64&t&&e[6]]))},i:s,o:s,d(e){e&&u(i),M&&M.d(),_=!1,x(f)}}}function Z(e,i,c){let t,n,o;const r=["name","checked","indeterminate","disabled","isinvalid","label"];let d=k(i,r),{name:s}=i,{checked:l}=i,{indeterminate:m}=i,{disabled:b=!1}=i,{isinvalid:h=!1}=i,{label:g}=i;const p=w(_());let u=new I;return e.$$set=e=>{c(13,i=a(a({},i),f(e))),c(12,d=k(i,r)),"name"in e&&c(0,s=e.name),"checked"in e&&c(1,l=e.checked),"indeterminate"in e&&c(2,m=e.indeterminate),"disabled"in e&&c(3,b=e.disabled),"isinvalid"in e&&c(4,h=e.isinvalid),"label"in e&&c(5,g=e.label)},e.$$.update=()=>{2&e.$$.dirty&&(t=!!l),c(7,n=i.class),c(6,o=Object.assign({},d)),64&e.$$.dirty&&delete o.class},i=f(i),[s,l,m,b,h,g,o,n,p,function(){t=!t,u.dispatch("input",t)}]}class $ extends e{constructor(e){super();const a=document.createElement("style");a.textContent='@charset "UTF-8";.mc-checkbox{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex}.mc-checkbox__label{font-size:1rem;line-height:1.125;cursor:pointer;margin-left:0.5rem;color:#000000}.mc-checkbox__input{font-family:"Roboto", sans-serif;font-weight:400;-webkit-box-sizing:border-box;box-sizing:border-box;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;margin:0;-webkit-box-shadow:none;box-shadow:none;border:none;min-width:20px;min-height:20px;width:1.25rem;height:1.25rem;border-radius:4px;border:2px solid #666666;background-color:#ffffff;position:relative;-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease;cursor:pointer}.mc-checkbox__input[type=number]::-webkit-inner-spin-button,.mc-checkbox__input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;appearance:none;margin:0}.mc-checkbox__input[type=number]{-moz-appearance:textfield}.mc-checkbox__input[type=search]::-webkit-search-decoration:hover,.mc-checkbox__input[type=search]::-webkit-search-cancel-button:hover{cursor:pointer}.mc-checkbox__input::-ms-check{background-color:#ffffff;border:2px solid #666666;border-radius:4px;color:#ffffff}.mc-checkbox__input.is-hover,.mc-checkbox__input:hover{border-color:#191919}.mc-checkbox__input.is-hover::-ms-check,.mc-checkbox__input:hover::-ms-check{border-color:#191919}.mc-checkbox__input.is-focus,.mc-checkbox__input:focus{-webkit-box-shadow:0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #758992;box-shadow:0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #758992}.mc-checkbox__input.is-focus::-ms-check,.mc-checkbox__input:focus::-ms-check{box-shadow:0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #758992}.mc-checkbox__input:checked,.mc-checkbox__input:indeterminate{background-color:#00919f;border-color:#00919f;background-size:1rem 1rem}.mc-checkbox__input:checked{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMXJlbSIgd2lkdGg9IjFyZW0iIGZpbGw9IiNmZmZmZmYiIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTcuNjMgMTEuMjFhMSAxIDAgMCAxLTEuMzggMGwtMi45Mi0yLjZhMSAxIDAgMSAxIDEuMzQtMS40OGwyLjIyIDIgNC40MS00LjM0YTEgMSAwIDEgMSAxLjQgMS40MnoiLz48L3N2Zz4=");background-position:center center}.mc-checkbox__input:checked::-ms-check{background-color:#00919f;border-color:#00919f}.mc-checkbox__input:checked:hover:not(:disabled){border-color:#004e57}.mc-checkbox__input:checked:hover:not(:disabled)::-ms-check{border-color:#004e57}.mc-checkbox__input:indeterminate{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMXJlbSIgd2lkdGg9IjFyZW0iIGZpbGw9IiNmZmZmZmYiIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTEyIDlINGExIDEgMCAwMTAtMmg4YTEgMSAwIDAxMCAyeiIvPjwvc3ZnPg==")}.mc-checkbox__input:disabled{background-color:#e6e6e6;border-color:#e6e6e6;cursor:not-allowed}.mc-checkbox__input:disabled::-ms-check{background-color:#e6e6e6;border-color:#e6e6e6}.mc-checkbox__input:disabled:checked{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMXJlbSIgd2lkdGg9IjFyZW0iIGZpbGw9IiM5OTk5OTkiIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTcuNjMgMTEuMjFhMSAxIDAgMCAxLTEuMzggMGwtMi45Mi0yLjZhMSAxIDAgMSAxIDEuMzQtMS40OGwyLjIyIDIgNC40MS00LjM0YTEgMSAwIDEgMSAxLjQgMS40MnoiLz48L3N2Zz4=")}.mc-checkbox__input:disabled:indeterminate{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMXJlbSIgd2lkdGg9IjFyZW0iIGZpbGw9IiM5OTk5OTkiIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTEyIDlINGExIDEgMCAwMTAtMmg4YTEgMSAwIDAxMCAyeiIvPjwvc3ZnPg==")}.mc-checkbox__input:disabled+.mc-checkbox__label{color:#808080}.mc-checkbox__input.is-invalid{border-color:#c61112}.mc-checkbox__input.is-invalid::-ms-check{border-color:#c61112}.mc-checkbox__input.is-invalid.is-hover,.mc-checkbox__input.is-invalid:hover{border-color:#530000}.mc-checkbox__input.is-invalid.is-hover::-ms-check,.mc-checkbox__input.is-invalid:hover::-ms-check{border-color:#530000}.mc-field__label,.mc-field__legend{font-size:0.875rem;line-height:1.2857142857;font-weight:400;color:#333333}.mc-field__legend{padding-left:0;padding-right:0}.mc-field__requirement,.mc-field__help{font-size:0.75rem;line-height:1.3333333333;font-weight:400;color:#666666}.mc-field__requirement::before{content:" - "}.mc-field__help{display:block;margin-top:0.125rem}@media screen and (min-width: 769px){.mc-field__container--inline{display:-webkit-box;display:-ms-flexbox;display:flex}}@media screen and (min-width: 769px){}@media screen and (min-width: 1024px){}.mc-field__item:not(:last-child){margin-bottom:1rem}.mc-field__error-message{font-size:0.875rem;line-height:1.2857142857;color:#c61112;display:inline-block;margin-top:0.25rem}.mc-field--group{border:none;margin-left:0;margin-right:0;padding:0}',this.shadowRoot.appendChild(a),i(this,{target:this.shadowRoot,props:c(this.attributes),customElement:!0},Z,A,o,{name:0,checked:1,indeterminate:2,disabled:3,isinvalid:4,label:5},null),e&&(e.target&&t(e.target,this,e.anchor),e.props&&(this.$set(e.props),n()))}static get observedAttributes(){return["name","checked","indeterminate","disabled","isinvalid","label"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),n()}get checked(){return this.$$.ctx[1]}set checked(e){this.$$set({checked:e}),n()}get indeterminate(){return this.$$.ctx[2]}set indeterminate(e){this.$$set({indeterminate:e}),n()}get disabled(){return this.$$.ctx[3]}set disabled(e){this.$$set({disabled:e}),n()}get isinvalid(){return this.$$.ctx[4]}set isinvalid(e){this.$$set({isinvalid:e}),n()}get label(){return this.$$.ctx[5]}set label(e){this.$$set({label:e}),n()}}export{$ as default};
2
2
  //# sourceMappingURL=Checkbox.js.map
@@ -1,2 +1,2 @@
1
- import{S as e,i,a as c,b as n,f as o,s as t,c as r,e as d,d as l,n as a,g as s,h as m,j as b,a2 as h,m as g,o as p,p as u,a1 as _,q as f,t as x,k,l as M,a3 as I}from"../../index-c33b3772.js";import{E as v}from"../../EventHandler-02058705.js";function w(e,i,c){const n=e.slice();return n[10]=i[c],n}function y(e){let i,c;return{c(){i=d("legend"),c=x(e[1]),s(i,"class","mc-field__legend")},m(e,o){n(e,i,o),b(i,c)},p(e,i){2&i&&k(c,e[1])},d(e){e&&p(i)}}}function A(e){let i,c,o,t=e[10].label+"";return{c(){i=d("label"),c=x(t),s(i,"for",o=e[10].id),s(i,"class","mc-checkbox__label")},m(e,o){n(e,i,o),b(i,c)},p(e,n){8&n&&t!==(t=e[10].label+"")&&k(c,t),8&n&&o!==(o=e[10].id)&&s(i,"for",o)},d(e){e&&p(i)}}}function Z(e,i){let c,o,t,r,a,m,h,g,u,_,f,x,k,I;function v(){return i[7](i[10])}let w=i[10].label&&A(i);return{key:e,first:null,c(){c=d("div"),o=d("input"),_=l(),w&&w.c(),f=l(),s(o,"type","checkbox"),s(o,"class",t="mc-checkbox__input "+(i[10].isinvalid?" is-invalid":"")),s(o,"id",r=i[10].id),s(o,"name",a=i[10].name),o.checked=m=i[10].checked,o.disabled=h=i[10].disabled,o.indeterminate=g=i[10].indeterminate,s(o,"aria-invalid",u=i[10].isinvalid),s(c,"class",x="mc-checkbox mc-field__item "+i[5].class),this.first=c},m(e,i){n(e,c,i),b(c,o),b(c,_),w&&w.m(c,null),b(c,f),k||(I=M(o,"click",v),k=!0)},p(e,n){i=e,8&n&&t!==(t="mc-checkbox__input "+(i[10].isinvalid?" is-invalid":""))&&s(o,"class",t),8&n&&r!==(r=i[10].id)&&s(o,"id",r),8&n&&a!==(a=i[10].name)&&s(o,"name",a),8&n&&m!==(m=i[10].checked)&&(o.checked=m),8&n&&h!==(h=i[10].disabled)&&(o.disabled=h),8&n&&g!==(g=i[10].indeterminate)&&(o.indeterminate=g),8&n&&u!==(u=i[10].isinvalid)&&s(o,"aria-invalid",u),i[10].label?w?w.p(i,n):(w=A(i),w.c(),w.m(c,f)):w&&(w.d(1),w=null),32&n&&x!==(x="mc-checkbox mc-field__item "+i[5].class)&&s(c,"class",x)},d(e){e&&p(c),w&&w.d(),k=!1,I()}}}function j(e){let i,c,o,t,u=[],_=new Map,f=e[1]&&e[1].length&&y(e),x=e[3];const k=e=>e[10].id;for(let i=0;i<x.length;i+=1){let c=w(e,x,i),n=k(c);_.set(n,u[i]=Z(n,c))}let M=[{id:e[0]},{class:"checkbox-group-container"},e[2]],v={};for(let e=0;e<M.length;e+=1)v=r(v,M[e]);return{c(){i=d("div"),c=d("fieldset"),f&&f.c(),o=l(),t=d("div");for(let e=0;e<u.length;e+=1)u[e].c();this.c=a,s(t,"class","mc-field__container"),s(c,"class","mc-field mc-field--group"),m(i,v)},m(e,r){n(e,i,r),b(i,c),f&&f.m(c,null),b(c,o),b(c,t);for(let e=0;e<u.length;e+=1)u[e]&&u[e].m(t,null)},p(e,[n]){e[1]&&e[1].length?f?f.p(e,n):(f=y(e),f.c(),f.m(c,o)):f&&(f.d(1),f=null),56&n&&(x=e[3],u=h(u,n,k,1,e,x,_,t,I,Z,null,w)),m(i,v=g(M,[1&n&&{id:e[0]},{class:"checkbox-group-container"},4&n&&e[2]]))},i:a,o:a,d(e){e&&p(i),f&&f.d();for(let e=0;e<u.length;e+=1)u[e].d()}}}function D(e,i,c){let n,o;const t=["id","options","legend"];let d=u(i,t),{id:l}=i,{options:a}=i,{legend:s}=i,m=new v;function b(e){n&&n.length&&(c(3,n=n.map((i=>{const c=i.value===e?!i.checked:i.checked;return Object.assign(Object.assign({},i),{checked:c})}))),m.dispatch("change",e))}_((()=>{b("")}));return e.$$set=e=>{c(5,i=r(r({},i),f(e))),c(9,d=u(i,t)),"id"in e&&c(0,l=e.id),"options"in e&&c(6,a=e.options),"legend"in e&&c(1,s=e.legend)},e.$$.update=()=>{64&e.$$.dirty&&c(3,n=a?JSON.parse(a):[]),c(2,o=Object.assign({},d)),4&e.$$.dirty&&delete o.class},i=f(i),[l,s,o,n,b,i,a,e=>b(e.value)]}class G extends e{constructor(e){super();const r=document.createElement("style");r.textContent='@charset "UTF-8";.mc-checkbox{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex}.mc-checkbox__label{font-size:1rem;line-height:1.125;cursor:pointer;margin-left:0.5rem;color:#000000}.mc-checkbox__input{font-family:"Roboto", sans-serif;font-weight:400;-webkit-box-sizing:border-box;box-sizing:border-box;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;margin:0;-webkit-box-shadow:none;box-shadow:none;border:none;min-width:20px;min-height:20px;width:1.25rem;height:1.25rem;border-radius:4px;border:2px solid #666666;background-color:#ffffff;position:relative;-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease;cursor:pointer}.mc-checkbox__input[type=number]::-webkit-inner-spin-button,.mc-checkbox__input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;appearance:none;margin:0}.mc-checkbox__input[type=number]{-moz-appearance:textfield}.mc-checkbox__input[type=search]::-webkit-search-decoration:hover,.mc-checkbox__input[type=search]::-webkit-search-cancel-button:hover{cursor:pointer}.mc-checkbox__input::-ms-check{background-color:#ffffff;border:2px solid #666666;border-radius:4px;color:#ffffff}.mc-checkbox__input.is-hover,.mc-checkbox__input:hover{border-color:#191919}.mc-checkbox__input.is-hover::-ms-check,.mc-checkbox__input:hover::-ms-check{border-color:#191919}.mc-checkbox__input.is-focus,.mc-checkbox__input:focus{-webkit-box-shadow:0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #758992;box-shadow:0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #758992}.mc-checkbox__input.is-focus::-ms-check,.mc-checkbox__input:focus::-ms-check{box-shadow:0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #758992}.mc-checkbox__input:checked,.mc-checkbox__input:indeterminate{background-color:#00919f;border-color:#00919f;background-size:1rem 1rem}.mc-checkbox__input:checked{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMXJlbSIgd2lkdGg9IjFyZW0iIGZpbGw9IiNmZmZmZmYiIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTcuNjMgMTEuMjFhMSAxIDAgMCAxLTEuMzggMGwtMi45Mi0yLjZhMSAxIDAgMSAxIDEuMzQtMS40OGwyLjIyIDIgNC40MS00LjM0YTEgMSAwIDEgMSAxLjQgMS40MnoiLz48L3N2Zz4=");background-position:center center}.mc-checkbox__input:checked::-ms-check{background-color:#00919f;border-color:#00919f}.mc-checkbox__input:checked:hover:not(:disabled){border-color:#004e57}.mc-checkbox__input:checked:hover:not(:disabled)::-ms-check{border-color:#004e57}.mc-checkbox__input:indeterminate{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMXJlbSIgd2lkdGg9IjFyZW0iIGZpbGw9IiNmZmZmZmYiIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTEyIDlINGExIDEgMCAwMTAtMmg4YTEgMSAwIDAxMCAyeiIvPjwvc3ZnPg==")}.mc-checkbox__input:disabled{background-color:#e6e6e6;border-color:#e6e6e6;cursor:not-allowed}.mc-checkbox__input:disabled::-ms-check{background-color:#e6e6e6;border-color:#e6e6e6}.mc-checkbox__input:disabled:checked{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMXJlbSIgd2lkdGg9IjFyZW0iIGZpbGw9IiM5OTk5OTkiIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTcuNjMgMTEuMjFhMSAxIDAgMCAxLTEuMzggMGwtMi45Mi0yLjZhMSAxIDAgMSAxIDEuMzQtMS40OGwyLjIyIDIgNC40MS00LjM0YTEgMSAwIDEgMSAxLjQgMS40MnoiLz48L3N2Zz4=")}.mc-checkbox__input:disabled:indeterminate{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMXJlbSIgd2lkdGg9IjFyZW0iIGZpbGw9IiM5OTk5OTkiIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTEyIDlINGExIDEgMCAwMTAtMmg4YTEgMSAwIDAxMCAyeiIvPjwvc3ZnPg==")}.mc-checkbox__input:disabled+.mc-checkbox__label{color:#808080}.mc-checkbox__input.is-invalid{border-color:#c61112}.mc-checkbox__input.is-invalid::-ms-check{border-color:#c61112}.mc-checkbox__input.is-invalid.is-hover,.mc-checkbox__input.is-invalid:hover{border-color:#530000}.mc-checkbox__input.is-invalid.is-hover::-ms-check,.mc-checkbox__input.is-invalid:hover::-ms-check{border-color:#530000}.mc-field__label,.mc-field__legend{font-size:0.875rem;line-height:1.2857142857;font-weight:400;color:#333333}.mc-field__legend{padding-left:0;padding-right:0}.mc-field__legend+.mc-field__container,.mc-field__help+.mc-field__container{margin-top:1rem}.mc-field__requirement,.mc-field__help{font-size:0.75rem;line-height:1.3333333333;font-weight:400;color:#666666}.mc-field__requirement::before{content:" - "}.mc-field__help{display:block;margin-top:0.125rem}.mc-field .mc-field__input,.mc-field .mc-field__element{margin-top:0.5rem}@media screen and (min-width: 769px){.mc-field__container--inline{display:-webkit-box;display:-ms-flexbox;display:flex}}@media screen and (min-width: 769px){.mc-field__container--inline .mc-field__item:not(:last-child){margin-bottom:0;margin-right:1rem}}@media screen and (min-width: 1024px){.mc-field__container--inline .mc-field__item:not(:last-child){margin-right:2rem}}.mc-field__item:not(:last-child){margin-bottom:1rem}.mc-field__error-message{font-size:0.875rem;line-height:1.2857142857;color:#c61112;display:inline-block;margin-top:0.25rem}.mc-field--group{border:none;margin-left:0;margin-right:0;padding:0}.mc-field--group .mc-field__error-message{margin-top:0.5rem}',this.shadowRoot.appendChild(r),i(this,{target:this.shadowRoot,props:c(this.attributes),customElement:!0},D,j,t,{id:0,options:6,legend:1},null),e&&(e.target&&n(e.target,this,e.anchor),e.props&&(this.$set(e.props),o()))}static get observedAttributes(){return["id","options","legend"]}get id(){return this.$$.ctx[0]}set id(e){this.$$set({id:e}),o()}get options(){return this.$$.ctx[6]}set options(e){this.$$set({options:e}),o()}get legend(){return this.$$.ctx[1]}set legend(e){this.$$set({legend:e}),o()}}export{G as default};
1
+ import{S as e,i,a as c,b as n,f as o,s as t,c as r,e as d,d as l,n as a,g as s,h as m,j as b,a2 as h,m as g,o as p,p as u,a1 as _,q as f,t as x,k,l as M,a3 as I}from"../../index-17a01ab4.js";import{E as v}from"../../EventHandler-316af043.js";function w(e,i,c){const n=e.slice();return n[10]=i[c],n}function y(e){let i,c;return{c(){i=d("legend"),c=x(e[1]),s(i,"class","mc-field__legend")},m(e,o){n(e,i,o),b(i,c)},p(e,i){2&i&&k(c,e[1])},d(e){e&&p(i)}}}function A(e){let i,c,o,t=e[10].label+"";return{c(){i=d("label"),c=x(t),s(i,"for",o=e[10].id),s(i,"class","mc-checkbox__label")},m(e,o){n(e,i,o),b(i,c)},p(e,n){8&n&&t!==(t=e[10].label+"")&&k(c,t),8&n&&o!==(o=e[10].id)&&s(i,"for",o)},d(e){e&&p(i)}}}function Z(e,i){let c,o,t,r,a,m,h,g,u,_,f,x,k,I;function v(){return i[7](i[10])}let w=i[10].label&&A(i);return{key:e,first:null,c(){c=d("div"),o=d("input"),_=l(),w&&w.c(),f=l(),s(o,"type","checkbox"),s(o,"class",t="mc-checkbox__input "+(i[10].isinvalid?" is-invalid":"")),s(o,"id",r=i[10].id),s(o,"name",a=i[10].name),o.checked=m=i[10].checked,o.disabled=h=i[10].disabled,o.indeterminate=g=i[10].indeterminate,s(o,"aria-invalid",u=i[10].isinvalid),s(c,"class",x="mc-checkbox mc-field__item "+i[5].class),this.first=c},m(e,i){n(e,c,i),b(c,o),b(c,_),w&&w.m(c,null),b(c,f),k||(I=M(o,"click",v),k=!0)},p(e,n){i=e,8&n&&t!==(t="mc-checkbox__input "+(i[10].isinvalid?" is-invalid":""))&&s(o,"class",t),8&n&&r!==(r=i[10].id)&&s(o,"id",r),8&n&&a!==(a=i[10].name)&&s(o,"name",a),8&n&&m!==(m=i[10].checked)&&(o.checked=m),8&n&&h!==(h=i[10].disabled)&&(o.disabled=h),8&n&&g!==(g=i[10].indeterminate)&&(o.indeterminate=g),8&n&&u!==(u=i[10].isinvalid)&&s(o,"aria-invalid",u),i[10].label?w?w.p(i,n):(w=A(i),w.c(),w.m(c,f)):w&&(w.d(1),w=null),32&n&&x!==(x="mc-checkbox mc-field__item "+i[5].class)&&s(c,"class",x)},d(e){e&&p(c),w&&w.d(),k=!1,I()}}}function j(e){let i,c,o,t,u=[],_=new Map,f=e[1]&&e[1].length&&y(e),x=e[3];const k=e=>e[10].id;for(let i=0;i<x.length;i+=1){let c=w(e,x,i),n=k(c);_.set(n,u[i]=Z(n,c))}let M=[{id:e[0]},{class:"checkbox-group-container"},e[2]],v={};for(let e=0;e<M.length;e+=1)v=r(v,M[e]);return{c(){i=d("div"),c=d("fieldset"),f&&f.c(),o=l(),t=d("div");for(let e=0;e<u.length;e+=1)u[e].c();this.c=a,s(t,"class","mc-field__container"),s(c,"class","mc-field mc-field--group"),m(i,v)},m(e,r){n(e,i,r),b(i,c),f&&f.m(c,null),b(c,o),b(c,t);for(let e=0;e<u.length;e+=1)u[e]&&u[e].m(t,null)},p(e,[n]){e[1]&&e[1].length?f?f.p(e,n):(f=y(e),f.c(),f.m(c,o)):f&&(f.d(1),f=null),56&n&&(x=e[3],u=h(u,n,k,1,e,x,_,t,I,Z,null,w)),m(i,v=g(M,[1&n&&{id:e[0]},{class:"checkbox-group-container"},4&n&&e[2]]))},i:a,o:a,d(e){e&&p(i),f&&f.d();for(let e=0;e<u.length;e+=1)u[e].d()}}}function D(e,i,c){let n,o;const t=["id","options","legend"];let d=u(i,t),{id:l}=i,{options:a}=i,{legend:s}=i,m=new v;function b(e){n&&n.length&&(c(3,n=n.map((i=>{const c=i.value===e?!i.checked:i.checked;return Object.assign(Object.assign({},i),{checked:c})}))),m.dispatch("change",e))}_((()=>{b("")}));return e.$$set=e=>{c(5,i=r(r({},i),f(e))),c(9,d=u(i,t)),"id"in e&&c(0,l=e.id),"options"in e&&c(6,a=e.options),"legend"in e&&c(1,s=e.legend)},e.$$.update=()=>{64&e.$$.dirty&&c(3,n=a?JSON.parse(a):[]),c(2,o=Object.assign({},d)),4&e.$$.dirty&&delete o.class},i=f(i),[l,s,o,n,b,i,a,e=>b(e.value)]}class G extends e{constructor(e){super();const r=document.createElement("style");r.textContent='@charset "UTF-8";.mc-checkbox{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex}.mc-checkbox__label{font-size:1rem;line-height:1.125;cursor:pointer;margin-left:0.5rem;color:#000000}.mc-checkbox__input{font-family:"Roboto", sans-serif;font-weight:400;-webkit-box-sizing:border-box;box-sizing:border-box;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;margin:0;-webkit-box-shadow:none;box-shadow:none;border:none;min-width:20px;min-height:20px;width:1.25rem;height:1.25rem;border-radius:4px;border:2px solid #666666;background-color:#ffffff;position:relative;-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease;cursor:pointer}.mc-checkbox__input[type=number]::-webkit-inner-spin-button,.mc-checkbox__input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;appearance:none;margin:0}.mc-checkbox__input[type=number]{-moz-appearance:textfield}.mc-checkbox__input[type=search]::-webkit-search-decoration:hover,.mc-checkbox__input[type=search]::-webkit-search-cancel-button:hover{cursor:pointer}.mc-checkbox__input::-ms-check{background-color:#ffffff;border:2px solid #666666;border-radius:4px;color:#ffffff}.mc-checkbox__input.is-hover,.mc-checkbox__input:hover{border-color:#191919}.mc-checkbox__input.is-hover::-ms-check,.mc-checkbox__input:hover::-ms-check{border-color:#191919}.mc-checkbox__input.is-focus,.mc-checkbox__input:focus{-webkit-box-shadow:0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #758992;box-shadow:0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #758992}.mc-checkbox__input.is-focus::-ms-check,.mc-checkbox__input:focus::-ms-check{box-shadow:0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #758992}.mc-checkbox__input:checked,.mc-checkbox__input:indeterminate{background-color:#00919f;border-color:#00919f;background-size:1rem 1rem}.mc-checkbox__input:checked{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMXJlbSIgd2lkdGg9IjFyZW0iIGZpbGw9IiNmZmZmZmYiIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTcuNjMgMTEuMjFhMSAxIDAgMCAxLTEuMzggMGwtMi45Mi0yLjZhMSAxIDAgMSAxIDEuMzQtMS40OGwyLjIyIDIgNC40MS00LjM0YTEgMSAwIDEgMSAxLjQgMS40MnoiLz48L3N2Zz4=");background-position:center center}.mc-checkbox__input:checked::-ms-check{background-color:#00919f;border-color:#00919f}.mc-checkbox__input:checked:hover:not(:disabled){border-color:#004e57}.mc-checkbox__input:checked:hover:not(:disabled)::-ms-check{border-color:#004e57}.mc-checkbox__input:indeterminate{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMXJlbSIgd2lkdGg9IjFyZW0iIGZpbGw9IiNmZmZmZmYiIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTEyIDlINGExIDEgMCAwMTAtMmg4YTEgMSAwIDAxMCAyeiIvPjwvc3ZnPg==")}.mc-checkbox__input:disabled{background-color:#e6e6e6;border-color:#e6e6e6;cursor:not-allowed}.mc-checkbox__input:disabled::-ms-check{background-color:#e6e6e6;border-color:#e6e6e6}.mc-checkbox__input:disabled:checked{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMXJlbSIgd2lkdGg9IjFyZW0iIGZpbGw9IiM5OTk5OTkiIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTcuNjMgMTEuMjFhMSAxIDAgMCAxLTEuMzggMGwtMi45Mi0yLjZhMSAxIDAgMSAxIDEuMzQtMS40OGwyLjIyIDIgNC40MS00LjM0YTEgMSAwIDEgMSAxLjQgMS40MnoiLz48L3N2Zz4=")}.mc-checkbox__input:disabled:indeterminate{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMXJlbSIgd2lkdGg9IjFyZW0iIGZpbGw9IiM5OTk5OTkiIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTEyIDlINGExIDEgMCAwMTAtMmg4YTEgMSAwIDAxMCAyeiIvPjwvc3ZnPg==")}.mc-checkbox__input:disabled+.mc-checkbox__label{color:#808080}.mc-checkbox__input.is-invalid{border-color:#c61112}.mc-checkbox__input.is-invalid::-ms-check{border-color:#c61112}.mc-checkbox__input.is-invalid.is-hover,.mc-checkbox__input.is-invalid:hover{border-color:#530000}.mc-checkbox__input.is-invalid.is-hover::-ms-check,.mc-checkbox__input.is-invalid:hover::-ms-check{border-color:#530000}.mc-field__label,.mc-field__legend{font-size:0.875rem;line-height:1.2857142857;font-weight:400;color:#333333}.mc-field__legend{padding-left:0;padding-right:0}.mc-field__legend+.mc-field__container,.mc-field__help+.mc-field__container{margin-top:1rem}.mc-field__requirement,.mc-field__help{font-size:0.75rem;line-height:1.3333333333;font-weight:400;color:#666666}.mc-field__requirement::before{content:" - "}.mc-field__help{display:block;margin-top:0.125rem}.mc-field .mc-field__input,.mc-field .mc-field__element{margin-top:0.5rem}@media screen and (min-width: 769px){.mc-field__container--inline{display:-webkit-box;display:-ms-flexbox;display:flex}}@media screen and (min-width: 769px){.mc-field__container--inline .mc-field__item:not(:last-child){margin-bottom:0;margin-right:1rem}}@media screen and (min-width: 1024px){.mc-field__container--inline .mc-field__item:not(:last-child){margin-right:2rem}}.mc-field__item:not(:last-child){margin-bottom:1rem}.mc-field__error-message{font-size:0.875rem;line-height:1.2857142857;color:#c61112;display:inline-block;margin-top:0.25rem}.mc-field--group{border:none;margin-left:0;margin-right:0;padding:0}.mc-field--group .mc-field__error-message{margin-top:0.5rem}',this.shadowRoot.appendChild(r),i(this,{target:this.shadowRoot,props:c(this.attributes),customElement:!0},D,j,t,{id:0,options:6,legend:1},null),e&&(e.target&&n(e.target,this,e.anchor),e.props&&(this.$set(e.props),o()))}static get observedAttributes(){return["id","options","legend"]}get id(){return this.$$.ctx[0]}set id(e){this.$$set({id:e}),o()}get options(){return this.$$.ctx[6]}set options(e){this.$$set({options:e}),o()}get legend(){return this.$$.ctx[1]}set legend(e){this.$$set({legend:e}),o()}}export{G as default};
2
2
  //# sourceMappingURL=checkboxGroup.js.map