@limetech/lime-elements 36.4.0 → 37.0.0-dev.1

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 (942) hide show
  1. package/dist/cjs/_arrayIncludesWith-29083f83.js +2 -0
  2. package/dist/cjs/_arrayIncludesWith-29083f83.js.map +1 -0
  3. package/dist/cjs/_assignValue-7c18d8d6.js +2 -0
  4. package/dist/cjs/_assignValue-7c18d8d6.js.map +1 -0
  5. package/dist/cjs/_commonjsHelpers-0c557e26.js +2 -0
  6. package/dist/cjs/_commonjsHelpers-0c557e26.js.map +1 -0
  7. package/dist/cjs/_defineProperty-8f56146d.js +2 -0
  8. package/dist/cjs/_defineProperty-8f56146d.js.map +1 -0
  9. package/dist/cjs/_getNative-60328036.js +2 -0
  10. package/dist/cjs/_getNative-60328036.js.map +1 -0
  11. package/dist/cjs/animationframe-e4c1798e.js +2 -0
  12. package/dist/cjs/animationframe-e4c1798e.js.map +1 -0
  13. package/dist/cjs/{checkbox.template-60ed3ee2.js → checkbox.template-234f4813.js} +3 -1
  14. package/dist/cjs/checkbox.template-234f4813.js.map +1 -0
  15. package/dist/cjs/component-66df95e7.js +2 -0
  16. package/dist/cjs/component-66df95e7.js.map +1 -0
  17. package/dist/cjs/component-67144c1c.js +2 -0
  18. package/dist/cjs/component-67144c1c.js.map +1 -0
  19. package/dist/cjs/component-ae3bfacf.js +2 -0
  20. package/dist/cjs/component-ae3bfacf.js.map +1 -0
  21. package/dist/cjs/component-cf490570.js +2 -0
  22. package/dist/cjs/component-cf490570.js.map +1 -0
  23. package/dist/cjs/component-dd795ff0.js +2 -0
  24. package/dist/cjs/component-dd795ff0.js.map +1 -0
  25. package/dist/cjs/config-c6520559.js +2 -0
  26. package/dist/cjs/config-c6520559.js.map +1 -0
  27. package/dist/cjs/device-c5841113.js +2 -0
  28. package/dist/cjs/device-c5841113.js.map +1 -0
  29. package/dist/cjs/dispatch-resize-event-4462d78f.js +2 -0
  30. package/dist/cjs/dispatch-resize-event-4462d78f.js.map +1 -0
  31. package/dist/cjs/dom-eb080f70.js +2 -0
  32. package/dist/cjs/dom-eb080f70.js.map +1 -0
  33. package/dist/cjs/eq-9a943b00.js +2 -0
  34. package/dist/cjs/eq-9a943b00.js.map +1 -0
  35. package/dist/cjs/format-5b928cf3.js +2 -0
  36. package/dist/cjs/format-5b928cf3.js.map +1 -0
  37. package/dist/cjs/identity-6dc34885.js +2 -0
  38. package/dist/cjs/identity-6dc34885.js.map +1 -0
  39. package/dist/cjs/{index-287e25e0.js → index-aafa56ee.js} +209 -23
  40. package/dist/cjs/index-aafa56ee.js.map +1 -0
  41. package/dist/cjs/index.cjs.js +2 -0
  42. package/dist/cjs/index.cjs.js.map +1 -0
  43. package/dist/cjs/isArray-d188a04f.js +2 -0
  44. package/dist/cjs/isArray-d188a04f.js.map +1 -0
  45. package/dist/cjs/isArrayLike-ac53bdac.js +2 -0
  46. package/dist/cjs/isArrayLike-ac53bdac.js.map +1 -0
  47. package/dist/cjs/isEqual-d2a13a24.js +2 -0
  48. package/dist/cjs/isEqual-d2a13a24.js.map +1 -0
  49. package/dist/cjs/isObject-e28b7997.js +2 -0
  50. package/dist/cjs/isObject-e28b7997.js.map +1 -0
  51. package/dist/cjs/isObjectLike-3e3f0cba.js +2 -0
  52. package/dist/cjs/isObjectLike-3e3f0cba.js.map +1 -0
  53. package/dist/cjs/isSymbol-d22b2798.js +2 -0
  54. package/dist/cjs/isSymbol-d22b2798.js.map +1 -0
  55. package/dist/cjs/keyboard-9477d3a8.js +2 -0
  56. package/dist/cjs/keyboard-9477d3a8.js.map +1 -0
  57. package/dist/cjs/keycodes-3949f425.js +2 -0
  58. package/dist/cjs/keycodes-3949f425.js.map +1 -0
  59. package/dist/cjs/lime-elements.cjs.js +12 -3
  60. package/dist/cjs/lime-elements.cjs.js.map +1 -0
  61. package/dist/cjs/limel-action-bar-item_2.cjs.entry.js +3 -1
  62. package/dist/cjs/limel-action-bar-item_2.cjs.entry.js.map +1 -0
  63. package/dist/cjs/limel-action-bar.cjs.entry.js +3 -1
  64. package/dist/cjs/limel-action-bar.cjs.entry.js.map +1 -0
  65. package/dist/cjs/limel-badge.cjs.entry.js +3 -1
  66. package/dist/cjs/limel-badge.cjs.entry.js.map +1 -0
  67. package/dist/cjs/limel-banner.cjs.entry.js +3 -1
  68. package/dist/cjs/limel-banner.cjs.entry.js.map +1 -0
  69. package/dist/cjs/limel-button-group.cjs.entry.js +3 -1
  70. package/dist/cjs/limel-button-group.cjs.entry.js.map +1 -0
  71. package/dist/cjs/limel-button.cjs.entry.js +3 -1
  72. package/dist/cjs/limel-button.cjs.entry.js.map +1 -0
  73. package/dist/cjs/limel-callout.cjs.entry.js +3 -1
  74. package/dist/cjs/limel-callout.cjs.entry.js.map +1 -0
  75. package/dist/cjs/limel-checkbox.cjs.entry.js +4 -2
  76. package/dist/cjs/limel-checkbox.cjs.entry.js.map +1 -0
  77. package/dist/cjs/limel-chip-set.cjs.entry.js +3 -1
  78. package/dist/cjs/limel-chip-set.cjs.entry.js.map +1 -0
  79. package/dist/cjs/limel-circular-progress_2.cjs.entry.js +3 -1
  80. package/dist/cjs/limel-circular-progress_2.cjs.entry.js.map +1 -0
  81. package/dist/cjs/limel-code-editor.cjs.entry.js +3 -1
  82. package/dist/cjs/limel-code-editor.cjs.entry.js.map +1 -0
  83. package/dist/cjs/limel-collapsible-section.cjs.entry.js +3 -1
  84. package/dist/cjs/limel-collapsible-section.cjs.entry.js.map +1 -0
  85. package/dist/cjs/limel-color-picker-palette.cjs.entry.js +3 -1
  86. package/dist/cjs/limel-color-picker-palette.cjs.entry.js.map +1 -0
  87. package/dist/cjs/limel-color-picker.cjs.entry.js +3 -1
  88. package/dist/cjs/limel-color-picker.cjs.entry.js.map +1 -0
  89. package/dist/cjs/limel-config.cjs.entry.js +3 -1
  90. package/dist/cjs/limel-config.cjs.entry.js.map +1 -0
  91. package/dist/cjs/limel-date-picker.cjs.entry.js +3 -1
  92. package/dist/cjs/limel-date-picker.cjs.entry.js.map +1 -0
  93. package/dist/cjs/limel-dialog.cjs.entry.js +3 -1
  94. package/dist/cjs/limel-dialog.cjs.entry.js.map +1 -0
  95. package/dist/cjs/limel-dock-button.cjs.entry.js +3 -1
  96. package/dist/cjs/limel-dock-button.cjs.entry.js.map +1 -0
  97. package/dist/cjs/limel-dock.cjs.entry.js +3 -1
  98. package/dist/cjs/limel-dock.cjs.entry.js.map +1 -0
  99. package/dist/cjs/limel-file.cjs.entry.js +3 -1
  100. package/dist/cjs/limel-file.cjs.entry.js.map +1 -0
  101. package/dist/cjs/limel-flatpickr-adapter.cjs.entry.js +3 -1
  102. package/dist/cjs/limel-flatpickr-adapter.cjs.entry.js.map +1 -0
  103. package/dist/cjs/limel-flex-container.cjs.entry.js +3 -1
  104. package/dist/cjs/limel-flex-container.cjs.entry.js.map +1 -0
  105. package/dist/cjs/limel-form.cjs.entry.js +3 -1
  106. package/dist/cjs/limel-form.cjs.entry.js.map +1 -0
  107. package/dist/cjs/limel-grid.cjs.entry.js +3 -1
  108. package/dist/cjs/limel-grid.cjs.entry.js.map +1 -0
  109. package/dist/cjs/limel-header.cjs.entry.js +3 -1
  110. package/dist/cjs/limel-header.cjs.entry.js.map +1 -0
  111. package/dist/cjs/limel-helper-line.cjs.entry.js +3 -1
  112. package/dist/cjs/limel-helper-line.cjs.entry.js.map +1 -0
  113. package/dist/cjs/limel-icon-button.cjs.entry.js +3 -1
  114. package/dist/cjs/limel-icon-button.cjs.entry.js.map +1 -0
  115. package/dist/cjs/limel-icon.cjs.entry.js +3 -1
  116. package/dist/cjs/limel-icon.cjs.entry.js.map +1 -0
  117. package/dist/cjs/limel-info-tile.cjs.entry.js +3 -1
  118. package/dist/cjs/limel-info-tile.cjs.entry.js.map +1 -0
  119. package/dist/cjs/limel-input-field.cjs.entry.js +3 -1
  120. package/dist/cjs/limel-input-field.cjs.entry.js.map +1 -0
  121. package/dist/cjs/limel-list_2.cjs.entry.js +4 -2
  122. package/dist/cjs/limel-list_2.cjs.entry.js.map +1 -0
  123. package/dist/cjs/limel-menu_2.cjs.entry.js +3 -1
  124. package/dist/cjs/limel-menu_2.cjs.entry.js.map +1 -0
  125. package/dist/cjs/limel-picker.cjs.entry.js +3 -1
  126. package/dist/cjs/limel-picker.cjs.entry.js.map +1 -0
  127. package/dist/cjs/limel-popover_2.cjs.entry.js +3 -1
  128. package/dist/cjs/limel-popover_2.cjs.entry.js.map +1 -0
  129. package/dist/cjs/limel-portal.cjs.entry.js +15 -13
  130. package/dist/cjs/limel-portal.cjs.entry.js.map +1 -0
  131. package/dist/cjs/limel-progress-flow-item.cjs.entry.js +3 -1
  132. package/dist/cjs/limel-progress-flow-item.cjs.entry.js.map +1 -0
  133. package/dist/cjs/limel-progress-flow.cjs.entry.js +3 -1
  134. package/dist/cjs/limel-progress-flow.cjs.entry.js.map +1 -0
  135. package/dist/cjs/limel-select.cjs.entry.js +3 -1
  136. package/dist/cjs/limel-select.cjs.entry.js.map +1 -0
  137. package/dist/cjs/limel-shortcut.cjs.entry.js +3 -1
  138. package/dist/cjs/limel-shortcut.cjs.entry.js.map +1 -0
  139. package/dist/cjs/limel-slider.cjs.entry.js +3 -1
  140. package/dist/cjs/limel-slider.cjs.entry.js.map +1 -0
  141. package/dist/cjs/limel-snackbar.cjs.entry.js +3 -1
  142. package/dist/cjs/limel-snackbar.cjs.entry.js.map +1 -0
  143. package/dist/cjs/limel-spinner.cjs.entry.js +3 -1
  144. package/dist/cjs/limel-spinner.cjs.entry.js.map +1 -0
  145. package/dist/cjs/limel-split-button.cjs.entry.js +3 -1
  146. package/dist/cjs/limel-split-button.cjs.entry.js.map +1 -0
  147. package/dist/cjs/limel-switch.cjs.entry.js +3 -1
  148. package/dist/cjs/limel-switch.cjs.entry.js.map +1 -0
  149. package/dist/cjs/limel-tab-bar.cjs.entry.js +3 -1
  150. package/dist/cjs/limel-tab-bar.cjs.entry.js.map +1 -0
  151. package/dist/cjs/limel-tab-panel.cjs.entry.js +3 -1
  152. package/dist/cjs/limel-tab-panel.cjs.entry.js.map +1 -0
  153. package/dist/cjs/limel-table.cjs.entry.js +3 -1
  154. package/dist/cjs/limel-table.cjs.entry.js.map +1 -0
  155. package/dist/cjs/limel-tooltip_2.cjs.entry.js +3 -1
  156. package/dist/cjs/limel-tooltip_2.cjs.entry.js.map +1 -0
  157. package/dist/cjs/link-helper-4f75d41d.js +2 -0
  158. package/dist/cjs/link-helper-4f75d41d.js.map +1 -0
  159. package/dist/cjs/loader.cjs.js +6 -3
  160. package/dist/cjs/loader.cjs.js.map +1 -0
  161. package/dist/cjs/moment-d1e35cdc.js +2 -0
  162. package/dist/cjs/moment-d1e35cdc.js.map +1 -0
  163. package/dist/cjs/multiple-2af83b6d.js +2 -0
  164. package/dist/cjs/multiple-2af83b6d.js.map +1 -0
  165. package/dist/cjs/pickBy-3ef47bf2.js +2 -0
  166. package/dist/cjs/pickBy-3ef47bf2.js.map +1 -0
  167. package/dist/cjs/ponyfill-98ca4766.js +2 -0
  168. package/dist/cjs/ponyfill-98ca4766.js.map +1 -0
  169. package/dist/cjs/random-string-4c3b7f1c.js +2 -0
  170. package/dist/cjs/random-string-4c3b7f1c.js.map +1 -0
  171. package/dist/cjs/sv-dffe48b5.js +2 -0
  172. package/dist/cjs/sv-dffe48b5.js.map +1 -0
  173. package/dist/cjs/toNumber-062ea29c.js +2 -0
  174. package/dist/cjs/toNumber-062ea29c.js.map +1 -0
  175. package/dist/cjs/translations-f8080c48.js +2 -0
  176. package/dist/cjs/translations-f8080c48.js.map +1 -0
  177. package/dist/cjs/util-b0f5741e.js +2 -0
  178. package/dist/cjs/util-b0f5741e.js.map +1 -0
  179. package/dist/cjs/zipObject-93a471fa.js +2 -0
  180. package/dist/cjs/zipObject-93a471fa.js.map +1 -0
  181. package/dist/collection/collection-manifest.json +2 -2
  182. package/dist/collection/components/action-bar/action-bar-item/action-bar-item.js +1 -0
  183. package/dist/collection/components/action-bar/action-bar-item/action-bar-item.js.map +1 -0
  184. package/dist/collection/components/action-bar/action-bar-item/action-bar-overflow-menu.js +2 -1
  185. package/dist/collection/components/action-bar/action-bar-item/action-bar-overflow-menu.js.map +1 -0
  186. package/dist/collection/components/action-bar/action-bar.js +1 -0
  187. package/dist/collection/components/action-bar/action-bar.js.map +1 -0
  188. package/dist/collection/components/action-bar/action-bar.types.js +1 -0
  189. package/dist/collection/components/action-bar/action-bar.types.js.map +1 -0
  190. package/dist/collection/components/action-bar/isItem.js +1 -0
  191. package/dist/collection/components/action-bar/isItem.js.map +1 -0
  192. package/dist/collection/components/badge/badge.js +1 -0
  193. package/dist/collection/components/badge/badge.js.map +1 -0
  194. package/dist/collection/components/badge/format.js +1 -0
  195. package/dist/collection/components/badge/format.js.map +1 -0
  196. package/dist/collection/components/banner/banner.js +1 -0
  197. package/dist/collection/components/banner/banner.js.map +1 -0
  198. package/dist/collection/components/button/button.js +1 -0
  199. package/dist/collection/components/button/button.js.map +1 -0
  200. package/dist/collection/components/button/button.types.js +1 -0
  201. package/dist/collection/components/button/button.types.js.map +1 -0
  202. package/dist/collection/components/button-group/button-group.js +1 -0
  203. package/dist/collection/components/button-group/button-group.js.map +1 -0
  204. package/dist/collection/components/callout/callout.helpers.js +1 -0
  205. package/dist/collection/components/callout/callout.helpers.js.map +1 -0
  206. package/dist/collection/components/callout/callout.js +3 -2
  207. package/dist/collection/components/callout/callout.js.map +1 -0
  208. package/dist/collection/components/callout/callout.types.js +1 -0
  209. package/dist/collection/components/callout/callout.types.js.map +1 -0
  210. package/dist/collection/components/checkbox/checkbox.js +1 -0
  211. package/dist/collection/components/checkbox/checkbox.js.map +1 -0
  212. package/dist/collection/components/checkbox/checkbox.template.js +1 -0
  213. package/dist/collection/components/checkbox/checkbox.template.js.map +1 -0
  214. package/dist/collection/components/chip-set/chip-set-input-helpers.js +1 -0
  215. package/dist/collection/components/chip-set/chip-set-input-helpers.js.map +1 -0
  216. package/dist/collection/components/chip-set/chip-set.js +6 -5
  217. package/dist/collection/components/chip-set/chip-set.js.map +1 -0
  218. package/dist/collection/components/chip-set/chip.types.js +1 -0
  219. package/dist/collection/components/chip-set/chip.types.js.map +1 -0
  220. package/dist/collection/components/circular-progress/circular-progress.js +1 -0
  221. package/dist/collection/components/circular-progress/circular-progress.js.map +1 -0
  222. package/dist/collection/components/circular-progress/circular-progress.types.js +1 -0
  223. package/dist/collection/components/circular-progress/circular-progress.types.js.map +1 -0
  224. package/dist/collection/components/code-editor/code-editor.js +1 -0
  225. package/dist/collection/components/code-editor/code-editor.js.map +1 -0
  226. package/dist/collection/components/code-editor/code-editor.types.js +1 -0
  227. package/dist/collection/components/code-editor/code-editor.types.js.map +1 -0
  228. package/dist/collection/components/collapsible-section/action.js +1 -0
  229. package/dist/collection/components/collapsible-section/action.js.map +1 -0
  230. package/dist/collection/components/collapsible-section/collapsible-section.js +1 -0
  231. package/dist/collection/components/collapsible-section/collapsible-section.js.map +1 -0
  232. package/dist/collection/components/color-picker/color-picker-palette.js +1 -0
  233. package/dist/collection/components/color-picker/color-picker-palette.js.map +1 -0
  234. package/dist/collection/components/color-picker/color-picker.js +1 -0
  235. package/dist/collection/components/color-picker/color-picker.js.map +1 -0
  236. package/dist/collection/components/color-picker/swatches.js +1 -0
  237. package/dist/collection/components/color-picker/swatches.js.map +1 -0
  238. package/dist/collection/components/config/config.js +1 -0
  239. package/dist/collection/components/config/config.js.map +1 -0
  240. package/dist/collection/components/date-picker/date-picker.js +5 -4
  241. package/dist/collection/components/date-picker/date-picker.js.map +1 -0
  242. package/dist/collection/components/date-picker/date.types.js +1 -0
  243. package/dist/collection/components/date-picker/date.types.js.map +1 -0
  244. package/dist/collection/components/date-picker/dateFormatter.js +1 -0
  245. package/dist/collection/components/date-picker/dateFormatter.js.map +1 -0
  246. package/dist/collection/components/date-picker/flatpickr-adapter/flatpickr-adapter.js +5 -4
  247. package/dist/collection/components/date-picker/flatpickr-adapter/flatpickr-adapter.js.map +1 -0
  248. package/dist/collection/components/date-picker/pickers/DatePicker.js +1 -0
  249. package/dist/collection/components/date-picker/pickers/DatePicker.js.map +1 -0
  250. package/dist/collection/components/date-picker/pickers/DatetimePicker.js +1 -0
  251. package/dist/collection/components/date-picker/pickers/DatetimePicker.js.map +1 -0
  252. package/dist/collection/components/date-picker/pickers/MonthPicker.js +1 -0
  253. package/dist/collection/components/date-picker/pickers/MonthPicker.js.map +1 -0
  254. package/dist/collection/components/date-picker/pickers/Picker.js +1 -0
  255. package/dist/collection/components/date-picker/pickers/Picker.js.map +1 -0
  256. package/dist/collection/components/date-picker/pickers/QuarterPicker.js +1 -0
  257. package/dist/collection/components/date-picker/pickers/QuarterPicker.js.map +1 -0
  258. package/dist/collection/components/date-picker/pickers/TimePicker.js +1 -0
  259. package/dist/collection/components/date-picker/pickers/TimePicker.js.map +1 -0
  260. package/dist/collection/components/date-picker/pickers/WeekPicker.js +1 -0
  261. package/dist/collection/components/date-picker/pickers/WeekPicker.js.map +1 -0
  262. package/dist/collection/components/date-picker/pickers/YearPicker.js +1 -0
  263. package/dist/collection/components/date-picker/pickers/YearPicker.js.map +1 -0
  264. package/dist/collection/components/dialog/dialog.js +6 -3
  265. package/dist/collection/components/dialog/dialog.js.map +1 -0
  266. package/dist/collection/components/dialog/dialog.types.js +1 -0
  267. package/dist/collection/components/dialog/dialog.types.js.map +1 -0
  268. package/dist/collection/components/dock/dock-button/dock-button.js +1 -0
  269. package/dist/collection/components/dock/dock-button/dock-button.js.map +1 -0
  270. package/dist/collection/components/dock/dock.js +1 -0
  271. package/dist/collection/components/dock/dock.js.map +1 -0
  272. package/dist/collection/components/dock/dock.types.js +1 -0
  273. package/dist/collection/components/dock/dock.types.js.map +1 -0
  274. package/dist/collection/components/file/file-metadata.js +1 -0
  275. package/dist/collection/components/file/file-metadata.js.map +1 -0
  276. package/dist/collection/components/file/file.js +7 -4
  277. package/dist/collection/components/file/file.js.map +1 -0
  278. package/dist/collection/components/file/file.types.js +1 -0
  279. package/dist/collection/components/file/file.types.js.map +1 -0
  280. package/dist/collection/components/file/icon-background-colors.js +1 -0
  281. package/dist/collection/components/file/icon-background-colors.js.map +1 -0
  282. package/dist/collection/components/file/icon-fill-colors.js +1 -0
  283. package/dist/collection/components/file/icon-fill-colors.js.map +1 -0
  284. package/dist/collection/components/file/icons.js +1 -0
  285. package/dist/collection/components/file/icons.js.map +1 -0
  286. package/dist/collection/components/flex-container/flex-container.js +7 -6
  287. package/dist/collection/components/flex-container/flex-container.js.map +1 -0
  288. package/dist/collection/components/flex-container/flex-container.types.js +1 -0
  289. package/dist/collection/components/flex-container/flex-container.types.js.map +1 -0
  290. package/dist/collection/components/form/adapters/base-adapter.js +3 -1
  291. package/dist/collection/components/form/adapters/base-adapter.js.map +1 -0
  292. package/dist/collection/components/form/adapters/index.js +1 -0
  293. package/dist/collection/components/form/adapters/index.js.map +1 -0
  294. package/dist/collection/components/form/adapters/widget-adapter.js +1 -0
  295. package/dist/collection/components/form/adapters/widget-adapter.js.map +1 -0
  296. package/dist/collection/components/form/fields/array-field.js +1 -0
  297. package/dist/collection/components/form/fields/array-field.js.map +1 -0
  298. package/dist/collection/components/form/fields/field-helpers.js +1 -0
  299. package/dist/collection/components/form/fields/field-helpers.js.map +1 -0
  300. package/dist/collection/components/form/fields/object-field.js +1 -0
  301. package/dist/collection/components/form/fields/object-field.js.map +1 -0
  302. package/dist/collection/components/form/fields/schema-field.js +1 -0
  303. package/dist/collection/components/form/fields/schema-field.js.map +1 -0
  304. package/dist/collection/components/form/fields/types.js +1 -0
  305. package/dist/collection/components/form/fields/types.js.map +1 -0
  306. package/dist/collection/components/form/form.js +1 -0
  307. package/dist/collection/components/form/form.js.map +1 -0
  308. package/dist/collection/components/form/form.types.js +1 -0
  309. package/dist/collection/components/form/form.types.js.map +1 -0
  310. package/dist/collection/components/form/internal.types.js +1 -0
  311. package/dist/collection/components/form/internal.types.js.map +1 -0
  312. package/dist/collection/components/form/row/row.js +1 -0
  313. package/dist/collection/components/form/row/row.js.map +1 -0
  314. package/dist/collection/components/form/schema.js +1 -0
  315. package/dist/collection/components/form/schema.js.map +1 -0
  316. package/dist/collection/components/form/templates/array-field-collapsible-item.js +1 -0
  317. package/dist/collection/components/form/templates/array-field-collapsible-item.js.map +1 -0
  318. package/dist/collection/components/form/templates/array-field-simple-item.js +1 -0
  319. package/dist/collection/components/form/templates/array-field-simple-item.js.map +1 -0
  320. package/dist/collection/components/form/templates/array-field.js +1 -0
  321. package/dist/collection/components/form/templates/array-field.js.map +1 -0
  322. package/dist/collection/components/form/templates/common.js +1 -0
  323. package/dist/collection/components/form/templates/common.js.map +1 -0
  324. package/dist/collection/components/form/templates/field.js +1 -0
  325. package/dist/collection/components/form/templates/field.js.map +1 -0
  326. package/dist/collection/components/form/templates/grid-layout.js +1 -0
  327. package/dist/collection/components/form/templates/grid-layout.js.map +1 -0
  328. package/dist/collection/components/form/templates/index.js +1 -0
  329. package/dist/collection/components/form/templates/index.js.map +1 -0
  330. package/dist/collection/components/form/templates/object-field.js +1 -0
  331. package/dist/collection/components/form/templates/object-field.js.map +1 -0
  332. package/dist/collection/components/form/templates/row-layout.js +1 -0
  333. package/dist/collection/components/form/templates/row-layout.js.map +1 -0
  334. package/dist/collection/components/form/templates/types.js +1 -0
  335. package/dist/collection/components/form/templates/types.js.map +1 -0
  336. package/dist/collection/components/form/validators/format.js +1 -0
  337. package/dist/collection/components/form/validators/format.js.map +1 -0
  338. package/dist/collection/components/form/validators/index.js +1 -0
  339. package/dist/collection/components/form/validators/index.js.map +1 -0
  340. package/dist/collection/components/form/widgets/checkbox.js +1 -0
  341. package/dist/collection/components/form/widgets/checkbox.js.map +1 -0
  342. package/dist/collection/components/form/widgets/code-editor.js +1 -0
  343. package/dist/collection/components/form/widgets/code-editor.js.map +1 -0
  344. package/dist/collection/components/form/widgets/date-picker.js +1 -0
  345. package/dist/collection/components/form/widgets/date-picker.js.map +1 -0
  346. package/dist/collection/components/form/widgets/index.js +1 -0
  347. package/dist/collection/components/form/widgets/index.js.map +1 -0
  348. package/dist/collection/components/form/widgets/input-field.js +1 -0
  349. package/dist/collection/components/form/widgets/input-field.js.map +1 -0
  350. package/dist/collection/components/form/widgets/select.js +1 -0
  351. package/dist/collection/components/form/widgets/select.js.map +1 -0
  352. package/dist/collection/components/form/widgets/slider.js +1 -0
  353. package/dist/collection/components/form/widgets/slider.js.map +1 -0
  354. package/dist/collection/components/form/widgets/types.js +1 -0
  355. package/dist/collection/components/form/widgets/types.js.map +1 -0
  356. package/dist/collection/components/grid/grid.js +1 -0
  357. package/dist/collection/components/grid/grid.js.map +1 -0
  358. package/dist/collection/components/header/header.js +1 -0
  359. package/dist/collection/components/header/header.js.map +1 -0
  360. package/dist/collection/components/helper-line/helper-line.js +1 -0
  361. package/dist/collection/components/helper-line/helper-line.js.map +1 -0
  362. package/dist/collection/components/icon/icon.js +1 -0
  363. package/dist/collection/components/icon/icon.js.map +1 -0
  364. package/dist/collection/components/icon/icon.types.js +1 -0
  365. package/dist/collection/components/icon/icon.types.js.map +1 -0
  366. package/dist/collection/components/icon-button/icon-button.js +1 -0
  367. package/dist/collection/components/icon-button/icon-button.js.map +1 -0
  368. package/dist/collection/components/info-tile/info-tile.js +5 -2
  369. package/dist/collection/components/info-tile/info-tile.js.map +1 -0
  370. package/dist/collection/components/info-tile/info-tile.types.js +1 -0
  371. package/dist/collection/components/info-tile/info-tile.types.js.map +1 -0
  372. package/dist/collection/components/input-field/input-field.js +1 -0
  373. package/dist/collection/components/input-field/input-field.js.map +1 -0
  374. package/dist/collection/components/input-field/input-field.types.js +1 -0
  375. package/dist/collection/components/input-field/input-field.types.js.map +1 -0
  376. package/dist/collection/components/linear-progress/linear-progress.js +1 -0
  377. package/dist/collection/components/linear-progress/linear-progress.js.map +1 -0
  378. package/dist/collection/components/list/list-item.types.js +1 -0
  379. package/dist/collection/components/list/list-item.types.js.map +1 -0
  380. package/dist/collection/components/list/list-renderer-config.js +1 -0
  381. package/dist/collection/components/list/list-renderer-config.js.map +1 -0
  382. package/dist/collection/components/list/list-renderer.js +1 -0
  383. package/dist/collection/components/list/list-renderer.js.map +1 -0
  384. package/dist/collection/components/list/list.js +6 -5
  385. package/dist/collection/components/list/list.js.map +1 -0
  386. package/dist/collection/components/list/list.types.js +1 -0
  387. package/dist/collection/components/list/list.types.js.map +1 -0
  388. package/dist/collection/components/list/radio-button/radio-button.template.js +1 -0
  389. package/dist/collection/components/list/radio-button/radio-button.template.js.map +1 -0
  390. package/dist/collection/components/menu/menu.js +3 -2
  391. package/dist/collection/components/menu/menu.js.map +1 -0
  392. package/dist/collection/components/menu/menu.types.js +1 -0
  393. package/dist/collection/components/menu/menu.types.js.map +1 -0
  394. package/dist/collection/components/menu-list/menu-list-renderer-config.js +1 -0
  395. package/dist/collection/components/menu-list/menu-list-renderer-config.js.map +1 -0
  396. package/dist/collection/components/menu-list/menu-list-renderer.js +1 -0
  397. package/dist/collection/components/menu-list/menu-list-renderer.js.map +1 -0
  398. package/dist/collection/components/menu-list/menu-list.js +5 -4
  399. package/dist/collection/components/menu-list/menu-list.js.map +1 -0
  400. package/dist/collection/components/menu-list/menu-list.types.js +1 -0
  401. package/dist/collection/components/menu-list/menu-list.types.js.map +1 -0
  402. package/dist/collection/components/menu-surface/menu-surface.js +1 -0
  403. package/dist/collection/components/menu-surface/menu-surface.js.map +1 -0
  404. package/dist/collection/components/picker/actions.types.js +1 -0
  405. package/dist/collection/components/picker/actions.types.js.map +1 -0
  406. package/dist/collection/components/picker/picker.js +12 -7
  407. package/dist/collection/components/picker/picker.js.map +1 -0
  408. package/dist/collection/components/picker/searcher.types.js +1 -0
  409. package/dist/collection/components/picker/searcher.types.js.map +1 -0
  410. package/dist/collection/components/popover/popover.js +1 -0
  411. package/dist/collection/components/popover/popover.js.map +1 -0
  412. package/dist/collection/components/popover-surface/popover-surface.js +1 -0
  413. package/dist/collection/components/popover-surface/popover-surface.js.map +1 -0
  414. package/dist/collection/components/portal/contains.js +1 -0
  415. package/dist/collection/components/portal/contains.js.map +1 -0
  416. package/dist/collection/components/portal/portal.js +12 -11
  417. package/dist/collection/components/portal/portal.js.map +1 -0
  418. package/dist/collection/components/progress-flow/progress-flow-item/progress-flow-item.js +1 -0
  419. package/dist/collection/components/progress-flow/progress-flow-item/progress-flow-item.js.map +1 -0
  420. package/dist/collection/components/progress-flow/progress-flow.js +1 -0
  421. package/dist/collection/components/progress-flow/progress-flow.js.map +1 -0
  422. package/dist/collection/components/progress-flow/progress-flow.types.js +1 -0
  423. package/dist/collection/components/progress-flow/progress-flow.types.js.map +1 -0
  424. package/dist/collection/components/select/option.types.js +1 -0
  425. package/dist/collection/components/select/option.types.js.map +1 -0
  426. package/dist/collection/components/select/select.js +8 -5
  427. package/dist/collection/components/select/select.js.map +1 -0
  428. package/dist/collection/components/select/select.template.js +1 -0
  429. package/dist/collection/components/select/select.template.js.map +1 -0
  430. package/dist/collection/components/shortcut/shortcut.js +5 -2
  431. package/dist/collection/components/shortcut/shortcut.js.map +1 -0
  432. package/dist/collection/components/slider/getPercentageClass.js +1 -0
  433. package/dist/collection/components/slider/getPercentageClass.js.map +1 -0
  434. package/dist/collection/components/slider/slider.js +1 -0
  435. package/dist/collection/components/slider/slider.js.map +1 -0
  436. package/dist/collection/components/snackbar/snackbar.js +3 -2
  437. package/dist/collection/components/snackbar/snackbar.js.map +1 -0
  438. package/dist/collection/components/spinner/spinner.js +3 -2
  439. package/dist/collection/components/spinner/spinner.js.map +1 -0
  440. package/dist/collection/components/spinner/spinner.types.js +1 -0
  441. package/dist/collection/components/spinner/spinner.types.js.map +1 -0
  442. package/dist/collection/components/split-button/split-button.js +3 -2
  443. package/dist/collection/components/split-button/split-button.js.map +1 -0
  444. package/dist/collection/components/switch/switch.js +1 -0
  445. package/dist/collection/components/switch/switch.js.map +1 -0
  446. package/dist/collection/components/tab-bar/tab-bar.js +1 -0
  447. package/dist/collection/components/tab-bar/tab-bar.js.map +1 -0
  448. package/dist/collection/components/tab-bar/tab.types.js +1 -0
  449. package/dist/collection/components/tab-bar/tab.types.js.map +1 -0
  450. package/dist/collection/components/tab-bar/tabs.js +1 -0
  451. package/dist/collection/components/tab-bar/tabs.js.map +1 -0
  452. package/dist/collection/components/tab-panel/tab-panel.js +1 -0
  453. package/dist/collection/components/tab-panel/tab-panel.js.map +1 -0
  454. package/dist/collection/components/tab-panel/tab-panel.types.js +1 -0
  455. package/dist/collection/components/tab-panel/tab-panel.types.js.map +1 -0
  456. package/dist/collection/components/table/columns.js +1 -0
  457. package/dist/collection/components/table/columns.js.map +1 -0
  458. package/dist/collection/components/table/element-pool.js +1 -0
  459. package/dist/collection/components/table/element-pool.js.map +1 -0
  460. package/dist/collection/components/table/layout.js +1 -0
  461. package/dist/collection/components/table/layout.js.map +1 -0
  462. package/dist/collection/components/table/selection.js +1 -0
  463. package/dist/collection/components/table/selection.js.map +1 -0
  464. package/dist/collection/components/table/table-selection.js +1 -0
  465. package/dist/collection/components/table/table-selection.js.map +1 -0
  466. package/dist/collection/components/table/table.js +1 -0
  467. package/dist/collection/components/table/table.js.map +1 -0
  468. package/dist/collection/components/table/table.types.js +1 -0
  469. package/dist/collection/components/table/table.types.js.map +1 -0
  470. package/dist/collection/components/tooltip/tooltip-content.js +1 -0
  471. package/dist/collection/components/tooltip/tooltip-content.js.map +1 -0
  472. package/dist/collection/components/tooltip/tooltip.js +1 -0
  473. package/dist/collection/components/tooltip/tooltip.js.map +1 -0
  474. package/dist/collection/global/config.js +1 -0
  475. package/dist/collection/global/config.js.map +1 -0
  476. package/dist/collection/global/icon-cache.js +1 -0
  477. package/dist/collection/global/icon-cache.js.map +1 -0
  478. package/dist/collection/global/shared-types/link.types.js +1 -0
  479. package/dist/collection/global/shared-types/link.types.js.map +1 -0
  480. package/dist/collection/global/translations.js +1 -0
  481. package/dist/collection/global/translations.js.map +1 -0
  482. package/dist/collection/index.js +1 -0
  483. package/dist/collection/index.js.map +1 -0
  484. package/dist/collection/translations/da.js +1 -0
  485. package/dist/collection/translations/da.js.map +1 -0
  486. package/dist/collection/translations/en.js +1 -0
  487. package/dist/collection/translations/en.js.map +1 -0
  488. package/dist/collection/translations/fi.js +1 -0
  489. package/dist/collection/translations/fi.js.map +1 -0
  490. package/dist/collection/translations/nl.js +1 -0
  491. package/dist/collection/translations/nl.js.map +1 -0
  492. package/dist/collection/translations/no.js +1 -0
  493. package/dist/collection/translations/no.js.map +1 -0
  494. package/dist/collection/translations/sv.js +1 -0
  495. package/dist/collection/translations/sv.js.map +1 -0
  496. package/dist/collection/util/device.js +1 -0
  497. package/dist/collection/util/device.js.map +1 -0
  498. package/dist/collection/util/dispatch-resize-event.js +1 -0
  499. package/dist/collection/util/dispatch-resize-event.js.map +1 -0
  500. package/dist/collection/util/dom.js +1 -0
  501. package/dist/collection/util/dom.js.map +1 -0
  502. package/dist/collection/util/keycodes.js +1 -0
  503. package/dist/collection/util/keycodes.js.map +1 -0
  504. package/dist/collection/util/link-helper.js +1 -0
  505. package/dist/collection/util/link-helper.js.map +1 -0
  506. package/dist/collection/util/multiple.js +1 -0
  507. package/dist/collection/util/multiple.js.map +1 -0
  508. package/dist/collection/util/random-string.js +1 -0
  509. package/dist/collection/util/random-string.js.map +1 -0
  510. package/dist/esm/_arrayIncludesWith-969bccda.js +2 -0
  511. package/dist/esm/_arrayIncludesWith-969bccda.js.map +1 -0
  512. package/dist/esm/_assignValue-fb2bf80a.js +2 -0
  513. package/dist/esm/_assignValue-fb2bf80a.js.map +1 -0
  514. package/dist/esm/_commonjsHelpers-5ec8f9b7.js +2 -0
  515. package/dist/esm/_commonjsHelpers-5ec8f9b7.js.map +1 -0
  516. package/dist/esm/_defineProperty-2105cb48.js +2 -0
  517. package/dist/esm/_defineProperty-2105cb48.js.map +1 -0
  518. package/dist/esm/_getNative-93d6bfe9.js +2 -0
  519. package/dist/esm/_getNative-93d6bfe9.js.map +1 -0
  520. package/dist/esm/animationframe-b52af02d.js +2 -0
  521. package/dist/esm/animationframe-b52af02d.js.map +1 -0
  522. package/dist/esm/{checkbox.template-4ce8d92f.js → checkbox.template-c838ee7b.js} +3 -1
  523. package/dist/esm/checkbox.template-c838ee7b.js.map +1 -0
  524. package/dist/esm/component-19eb6e2b.js +2 -0
  525. package/dist/esm/component-19eb6e2b.js.map +1 -0
  526. package/dist/esm/component-288691f3.js +2 -0
  527. package/dist/esm/component-288691f3.js.map +1 -0
  528. package/dist/esm/component-410aad5a.js +2 -0
  529. package/dist/esm/component-410aad5a.js.map +1 -0
  530. package/dist/esm/component-5b4ac85a.js +2 -0
  531. package/dist/esm/component-5b4ac85a.js.map +1 -0
  532. package/dist/esm/component-fffa3419.js +2 -0
  533. package/dist/esm/component-fffa3419.js.map +1 -0
  534. package/dist/esm/config-f7362aeb.js +2 -0
  535. package/dist/esm/config-f7362aeb.js.map +1 -0
  536. package/dist/esm/device-39db3b5f.js +2 -0
  537. package/dist/esm/device-39db3b5f.js.map +1 -0
  538. package/dist/esm/dispatch-resize-event-cd1d230c.js +2 -0
  539. package/dist/esm/dispatch-resize-event-cd1d230c.js.map +1 -0
  540. package/dist/esm/dom-2fe617e7.js +2 -0
  541. package/dist/esm/dom-2fe617e7.js.map +1 -0
  542. package/dist/esm/eq-c1c7f528.js +2 -0
  543. package/dist/esm/eq-c1c7f528.js.map +1 -0
  544. package/dist/esm/format-c76733cb.js +2 -0
  545. package/dist/esm/format-c76733cb.js.map +1 -0
  546. package/dist/esm/identity-87aa3962.js +2 -0
  547. package/dist/esm/identity-87aa3962.js.map +1 -0
  548. package/dist/esm/{index-cdfd351d.js → index-9bd6d7c6.js} +209 -24
  549. package/dist/esm/index-9bd6d7c6.js.map +1 -0
  550. package/dist/esm/index.js +2 -0
  551. package/dist/esm/index.js.map +1 -0
  552. package/dist/esm/isArray-80298bc7.js +2 -0
  553. package/dist/esm/isArray-80298bc7.js.map +1 -0
  554. package/dist/esm/isArrayLike-385e0f31.js +2 -0
  555. package/dist/esm/isArrayLike-385e0f31.js.map +1 -0
  556. package/dist/esm/isEqual-c5a636a4.js +2 -0
  557. package/dist/esm/isEqual-c5a636a4.js.map +1 -0
  558. package/dist/esm/isObject-c74e273c.js +2 -0
  559. package/dist/esm/isObject-c74e273c.js.map +1 -0
  560. package/dist/esm/isObjectLike-38996507.js +2 -0
  561. package/dist/esm/isObjectLike-38996507.js.map +1 -0
  562. package/dist/esm/isSymbol-5bf20921.js +2 -0
  563. package/dist/esm/isSymbol-5bf20921.js.map +1 -0
  564. package/dist/esm/keyboard-4b9e12e3.js +2 -0
  565. package/dist/esm/keyboard-4b9e12e3.js.map +1 -0
  566. package/dist/esm/keycodes-44c01beb.js +2 -0
  567. package/dist/esm/keycodes-44c01beb.js.map +1 -0
  568. package/dist/esm/lime-elements.js +9 -3
  569. package/dist/esm/lime-elements.js.map +1 -0
  570. package/dist/esm/limel-action-bar-item_2.entry.js +3 -1
  571. package/dist/esm/limel-action-bar-item_2.entry.js.map +1 -0
  572. package/dist/esm/limel-action-bar.entry.js +3 -1
  573. package/dist/esm/limel-action-bar.entry.js.map +1 -0
  574. package/dist/esm/limel-badge.entry.js +3 -1
  575. package/dist/esm/limel-badge.entry.js.map +1 -0
  576. package/dist/esm/limel-banner.entry.js +3 -1
  577. package/dist/esm/limel-banner.entry.js.map +1 -0
  578. package/dist/esm/limel-button-group.entry.js +3 -1
  579. package/dist/esm/limel-button-group.entry.js.map +1 -0
  580. package/dist/esm/limel-button.entry.js +3 -1
  581. package/dist/esm/limel-button.entry.js.map +1 -0
  582. package/dist/esm/limel-callout.entry.js +3 -1
  583. package/dist/esm/limel-callout.entry.js.map +1 -0
  584. package/dist/esm/limel-checkbox.entry.js +4 -2
  585. package/dist/esm/limel-checkbox.entry.js.map +1 -0
  586. package/dist/esm/limel-chip-set.entry.js +3 -1
  587. package/dist/esm/limel-chip-set.entry.js.map +1 -0
  588. package/dist/esm/limel-circular-progress_2.entry.js +3 -1
  589. package/dist/esm/limel-circular-progress_2.entry.js.map +1 -0
  590. package/dist/esm/limel-code-editor.entry.js +3 -1
  591. package/dist/esm/limel-code-editor.entry.js.map +1 -0
  592. package/dist/esm/limel-collapsible-section.entry.js +3 -1
  593. package/dist/esm/limel-collapsible-section.entry.js.map +1 -0
  594. package/dist/esm/limel-color-picker-palette.entry.js +3 -1
  595. package/dist/esm/limel-color-picker-palette.entry.js.map +1 -0
  596. package/dist/esm/limel-color-picker.entry.js +3 -1
  597. package/dist/esm/limel-color-picker.entry.js.map +1 -0
  598. package/dist/esm/limel-config.entry.js +3 -1
  599. package/dist/esm/limel-config.entry.js.map +1 -0
  600. package/dist/esm/limel-date-picker.entry.js +3 -1
  601. package/dist/esm/limel-date-picker.entry.js.map +1 -0
  602. package/dist/esm/limel-dialog.entry.js +3 -1
  603. package/dist/esm/limel-dialog.entry.js.map +1 -0
  604. package/dist/esm/limel-dock-button.entry.js +3 -1
  605. package/dist/esm/limel-dock-button.entry.js.map +1 -0
  606. package/dist/esm/limel-dock.entry.js +3 -1
  607. package/dist/esm/limel-dock.entry.js.map +1 -0
  608. package/dist/esm/limel-file.entry.js +3 -1
  609. package/dist/esm/limel-file.entry.js.map +1 -0
  610. package/dist/esm/limel-flatpickr-adapter.entry.js +3 -1
  611. package/dist/esm/limel-flatpickr-adapter.entry.js.map +1 -0
  612. package/dist/esm/limel-flex-container.entry.js +3 -1
  613. package/dist/esm/limel-flex-container.entry.js.map +1 -0
  614. package/dist/esm/limel-form.entry.js +3 -1
  615. package/dist/esm/limel-form.entry.js.map +1 -0
  616. package/dist/esm/limel-grid.entry.js +3 -1
  617. package/dist/esm/limel-grid.entry.js.map +1 -0
  618. package/dist/esm/limel-header.entry.js +3 -1
  619. package/dist/esm/limel-header.entry.js.map +1 -0
  620. package/dist/esm/limel-helper-line.entry.js +3 -1
  621. package/dist/esm/limel-helper-line.entry.js.map +1 -0
  622. package/dist/esm/limel-icon-button.entry.js +3 -1
  623. package/dist/esm/limel-icon-button.entry.js.map +1 -0
  624. package/dist/esm/limel-icon.entry.js +3 -1
  625. package/dist/esm/limel-icon.entry.js.map +1 -0
  626. package/dist/esm/limel-info-tile.entry.js +3 -1
  627. package/dist/esm/limel-info-tile.entry.js.map +1 -0
  628. package/dist/esm/limel-input-field.entry.js +3 -1
  629. package/dist/esm/limel-input-field.entry.js.map +1 -0
  630. package/dist/esm/limel-list_2.entry.js +4 -2
  631. package/dist/esm/limel-list_2.entry.js.map +1 -0
  632. package/dist/esm/limel-menu_2.entry.js +3 -1
  633. package/dist/esm/limel-menu_2.entry.js.map +1 -0
  634. package/dist/esm/limel-picker.entry.js +3 -1
  635. package/dist/esm/limel-picker.entry.js.map +1 -0
  636. package/dist/esm/limel-popover_2.entry.js +3 -1
  637. package/dist/esm/limel-popover_2.entry.js.map +1 -0
  638. package/dist/esm/limel-portal.entry.js +15 -13
  639. package/dist/esm/limel-portal.entry.js.map +1 -0
  640. package/dist/esm/limel-progress-flow-item.entry.js +3 -1
  641. package/dist/esm/limel-progress-flow-item.entry.js.map +1 -0
  642. package/dist/esm/limel-progress-flow.entry.js +3 -1
  643. package/dist/esm/limel-progress-flow.entry.js.map +1 -0
  644. package/dist/esm/limel-select.entry.js +3 -1
  645. package/dist/esm/limel-select.entry.js.map +1 -0
  646. package/dist/esm/limel-shortcut.entry.js +3 -1
  647. package/dist/esm/limel-shortcut.entry.js.map +1 -0
  648. package/dist/esm/limel-slider.entry.js +3 -1
  649. package/dist/esm/limel-slider.entry.js.map +1 -0
  650. package/dist/esm/limel-snackbar.entry.js +3 -1
  651. package/dist/esm/limel-snackbar.entry.js.map +1 -0
  652. package/dist/esm/limel-spinner.entry.js +3 -1
  653. package/dist/esm/limel-spinner.entry.js.map +1 -0
  654. package/dist/esm/limel-split-button.entry.js +3 -1
  655. package/dist/esm/limel-split-button.entry.js.map +1 -0
  656. package/dist/esm/limel-switch.entry.js +3 -1
  657. package/dist/esm/limel-switch.entry.js.map +1 -0
  658. package/dist/esm/limel-tab-bar.entry.js +3 -1
  659. package/dist/esm/limel-tab-bar.entry.js.map +1 -0
  660. package/dist/esm/limel-tab-panel.entry.js +3 -1
  661. package/dist/esm/limel-tab-panel.entry.js.map +1 -0
  662. package/dist/esm/limel-table.entry.js +3 -1
  663. package/dist/esm/limel-table.entry.js.map +1 -0
  664. package/dist/esm/limel-tooltip_2.entry.js +3 -1
  665. package/dist/esm/limel-tooltip_2.entry.js.map +1 -0
  666. package/dist/esm/link-helper-b08fe56c.js +2 -0
  667. package/dist/esm/link-helper-b08fe56c.js.map +1 -0
  668. package/dist/esm/loader.js +6 -3
  669. package/dist/esm/loader.js.map +1 -0
  670. package/dist/esm/moment-faa8a4a8.js +2 -0
  671. package/dist/esm/moment-faa8a4a8.js.map +1 -0
  672. package/dist/esm/multiple-0bd62427.js +2 -0
  673. package/dist/esm/multiple-0bd62427.js.map +1 -0
  674. package/dist/esm/pickBy-d359eb12.js +2 -0
  675. package/dist/esm/pickBy-d359eb12.js.map +1 -0
  676. package/dist/esm/polyfills/css-shim.js +1 -1
  677. package/dist/esm/ponyfill-30263d5e.js +2 -0
  678. package/dist/esm/ponyfill-30263d5e.js.map +1 -0
  679. package/dist/esm/random-string-2246b81e.js +2 -0
  680. package/dist/esm/random-string-2246b81e.js.map +1 -0
  681. package/dist/esm/sv-336c4576.js +2 -0
  682. package/dist/esm/sv-336c4576.js.map +1 -0
  683. package/dist/esm/toNumber-a6ed64f0.js +2 -0
  684. package/dist/esm/toNumber-a6ed64f0.js.map +1 -0
  685. package/dist/esm/translations-f88bb584.js +2 -0
  686. package/dist/esm/translations-f88bb584.js.map +1 -0
  687. package/dist/esm/util-f1bde91c.js +2 -0
  688. package/dist/esm/util-f1bde91c.js.map +1 -0
  689. package/dist/esm/zipObject-2bb1968e.js +2 -0
  690. package/dist/esm/zipObject-2bb1968e.js.map +1 -0
  691. package/dist/lime-elements/index.esm.js +2 -0
  692. package/dist/lime-elements/index.esm.js.map +1 -0
  693. package/dist/lime-elements/lime-elements.esm.js +2 -1
  694. package/dist/lime-elements/lime-elements.esm.js.map +1 -0
  695. package/dist/lime-elements/p-0137d2fb.entry.js +2 -0
  696. package/dist/lime-elements/p-0137d2fb.entry.js.map +1 -0
  697. package/dist/lime-elements/p-0b1af919.js +2 -1
  698. package/dist/lime-elements/p-0b1af919.js.map +1 -0
  699. package/dist/lime-elements/p-0eabb204.js +2 -1
  700. package/dist/lime-elements/p-0eabb204.js.map +1 -0
  701. package/dist/lime-elements/p-13ed01eb.entry.js +236 -0
  702. package/dist/lime-elements/p-13ed01eb.entry.js.map +1 -0
  703. package/dist/lime-elements/p-17ac8cca.entry.js +2 -0
  704. package/dist/lime-elements/p-17ac8cca.entry.js.map +1 -0
  705. package/dist/lime-elements/p-1a80da5e.entry.js +104 -0
  706. package/dist/lime-elements/p-1a80da5e.entry.js.map +1 -0
  707. package/dist/lime-elements/p-1c284626.js +372 -5
  708. package/dist/lime-elements/p-1c284626.js.map +1 -0
  709. package/dist/lime-elements/p-1dc042e5.entry.js +2 -0
  710. package/dist/lime-elements/p-1dc042e5.entry.js.map +1 -0
  711. package/dist/lime-elements/p-2118b9ae.entry.js +2 -0
  712. package/dist/lime-elements/p-2118b9ae.entry.js.map +1 -0
  713. package/dist/lime-elements/p-2359d139.entry.js +82 -0
  714. package/dist/lime-elements/p-2359d139.entry.js.map +1 -0
  715. package/dist/lime-elements/p-240fda3b.js +2 -1
  716. package/dist/lime-elements/p-240fda3b.js.map +1 -0
  717. package/dist/lime-elements/p-2565927b.entry.js +21 -0
  718. package/dist/lime-elements/p-2565927b.entry.js.map +1 -0
  719. package/dist/lime-elements/p-28da3c47.entry.js +2 -0
  720. package/dist/lime-elements/p-28da3c47.entry.js.map +1 -0
  721. package/dist/lime-elements/p-2b0c6ccd.entry.js +17 -0
  722. package/dist/lime-elements/p-2b0c6ccd.entry.js.map +1 -0
  723. package/dist/lime-elements/p-2f71d4d4.js +2 -1
  724. package/dist/lime-elements/p-2f71d4d4.js.map +1 -0
  725. package/dist/lime-elements/p-30df2bb6.entry.js +2 -0
  726. package/dist/lime-elements/p-30df2bb6.entry.js.map +1 -0
  727. package/dist/lime-elements/p-365098fe.js +2 -1
  728. package/dist/lime-elements/p-365098fe.js.map +1 -0
  729. package/dist/lime-elements/p-3670f018.entry.js +2 -0
  730. package/dist/lime-elements/p-3670f018.entry.js.map +1 -0
  731. package/dist/lime-elements/p-40b7d717.entry.js +2 -0
  732. package/dist/lime-elements/p-40b7d717.entry.js.map +1 -0
  733. package/dist/lime-elements/p-4114c214.entry.js +82 -0
  734. package/dist/lime-elements/p-4114c214.entry.js.map +1 -0
  735. package/dist/lime-elements/p-42a24572.entry.js +2 -0
  736. package/dist/lime-elements/p-42a24572.entry.js.map +1 -0
  737. package/dist/lime-elements/p-48105d44.js +2 -1
  738. package/dist/lime-elements/p-48105d44.js.map +1 -0
  739. package/dist/lime-elements/p-48d4ef20.js +4 -3
  740. package/dist/lime-elements/p-48d4ef20.js.map +1 -0
  741. package/dist/lime-elements/p-4c3358cb.js +2 -1
  742. package/dist/lime-elements/p-4c3358cb.js.map +1 -0
  743. package/dist/lime-elements/p-4dd9a5a5.js +12 -5
  744. package/dist/lime-elements/p-4dd9a5a5.js.map +1 -0
  745. package/dist/lime-elements/p-4ed75a11.entry.js +162 -0
  746. package/dist/lime-elements/p-4ed75a11.entry.js.map +1 -0
  747. package/dist/lime-elements/p-4ef9aa7d.entry.js +104 -0
  748. package/dist/lime-elements/p-4ef9aa7d.entry.js.map +1 -0
  749. package/dist/lime-elements/p-55a09930.entry.js +126 -0
  750. package/dist/lime-elements/p-55a09930.entry.js.map +1 -0
  751. package/dist/lime-elements/p-5b374246.entry.js +476 -0
  752. package/dist/lime-elements/p-5b374246.entry.js.map +1 -0
  753. package/dist/lime-elements/p-5b6d2d55.js +2 -0
  754. package/dist/lime-elements/p-5b6d2d55.js.map +1 -0
  755. package/dist/lime-elements/p-5f020b3c.js +2 -1
  756. package/dist/lime-elements/p-5f020b3c.js.map +1 -0
  757. package/dist/lime-elements/p-5fdb83c9.js +2 -1
  758. package/dist/lime-elements/p-5fdb83c9.js.map +1 -0
  759. package/dist/lime-elements/p-623d09d9.entry.js +2 -0
  760. package/dist/lime-elements/p-623d09d9.entry.js.map +1 -0
  761. package/dist/lime-elements/p-63111b62.entry.js +2 -0
  762. package/dist/lime-elements/p-63111b62.entry.js.map +1 -0
  763. package/dist/lime-elements/p-648d9057.entry.js +2 -0
  764. package/dist/lime-elements/p-648d9057.entry.js.map +1 -0
  765. package/dist/lime-elements/p-669626e5.js +2 -1
  766. package/dist/lime-elements/p-669626e5.js.map +1 -0
  767. package/dist/lime-elements/p-6b952164.entry.js +2 -0
  768. package/dist/lime-elements/p-6b952164.entry.js.map +1 -0
  769. package/dist/lime-elements/p-6c094f3f.js +2 -1
  770. package/dist/lime-elements/p-6c094f3f.js.map +1 -0
  771. package/dist/lime-elements/p-6e219bb4.js +2 -1
  772. package/dist/lime-elements/p-6e219bb4.js.map +1 -0
  773. package/dist/lime-elements/p-715d3252.entry.js +2 -0
  774. package/dist/lime-elements/p-715d3252.entry.js.map +1 -0
  775. package/dist/lime-elements/p-753f500b.entry.js +82 -0
  776. package/dist/lime-elements/p-753f500b.entry.js.map +1 -0
  777. package/dist/lime-elements/p-795079c9.entry.js +2 -0
  778. package/dist/lime-elements/p-795079c9.entry.js.map +1 -0
  779. package/dist/lime-elements/p-7a3f58cd.entry.js +2 -0
  780. package/dist/lime-elements/p-7a3f58cd.entry.js.map +1 -0
  781. package/dist/lime-elements/p-7cda574b.js +2 -1
  782. package/dist/lime-elements/p-7cda574b.js.map +1 -0
  783. package/dist/lime-elements/p-848437f8.entry.js +2 -0
  784. package/dist/lime-elements/p-848437f8.entry.js.map +1 -0
  785. package/dist/lime-elements/p-858c6b82.js +2 -1
  786. package/dist/lime-elements/p-858c6b82.js.map +1 -0
  787. package/dist/lime-elements/p-896043d6.entry.js +2 -0
  788. package/dist/lime-elements/p-896043d6.entry.js.map +1 -0
  789. package/dist/lime-elements/p-8b339748.entry.js +2 -0
  790. package/dist/lime-elements/p-8b339748.entry.js.map +1 -0
  791. package/dist/lime-elements/p-945afca2.js +3 -2
  792. package/dist/lime-elements/p-945afca2.js.map +1 -0
  793. package/dist/lime-elements/p-9aab2892.entry.js +2 -0
  794. package/dist/lime-elements/p-9aab2892.entry.js.map +1 -0
  795. package/dist/lime-elements/p-9acf7b5d.js +2 -1
  796. package/dist/lime-elements/p-9acf7b5d.js.map +1 -0
  797. package/dist/lime-elements/p-9e78a21c.entry.js +16 -0
  798. package/dist/lime-elements/p-9e78a21c.entry.js.map +1 -0
  799. package/dist/lime-elements/p-9faad6eb.js +2 -1
  800. package/dist/lime-elements/p-9faad6eb.js.map +1 -0
  801. package/dist/lime-elements/p-9fe3bc64.entry.js +2 -0
  802. package/dist/lime-elements/p-9fe3bc64.entry.js.map +1 -0
  803. package/dist/lime-elements/p-a11a971e.entry.js +2 -0
  804. package/dist/lime-elements/p-a11a971e.entry.js.map +1 -0
  805. package/dist/lime-elements/p-a3bea367.entry.js +2 -0
  806. package/dist/lime-elements/p-a3bea367.entry.js.map +1 -0
  807. package/dist/lime-elements/p-a40e05c3.entry.js +2 -0
  808. package/dist/lime-elements/p-a40e05c3.entry.js.map +1 -0
  809. package/dist/lime-elements/p-a8714655.entry.js +2 -0
  810. package/dist/lime-elements/p-a8714655.entry.js.map +1 -0
  811. package/dist/lime-elements/p-acf307d9.js +2 -1
  812. package/dist/lime-elements/p-acf307d9.js.map +1 -0
  813. package/dist/lime-elements/p-ad8cb388.js +2 -1
  814. package/dist/lime-elements/p-ad8cb388.js.map +1 -0
  815. package/dist/lime-elements/p-ade76f1d.js +2 -1
  816. package/dist/lime-elements/p-ade76f1d.js.map +1 -0
  817. package/dist/lime-elements/p-b28128d2.js +2 -1
  818. package/dist/lime-elements/p-b28128d2.js.map +1 -0
  819. package/dist/lime-elements/p-b59e4287.js +2 -1
  820. package/dist/lime-elements/p-b59e4287.js.map +1 -0
  821. package/dist/lime-elements/p-b8ed25b3.entry.js +2 -0
  822. package/dist/lime-elements/p-b8ed25b3.entry.js.map +1 -0
  823. package/dist/lime-elements/p-c647b197.entry.js +2 -0
  824. package/dist/lime-elements/p-c647b197.entry.js.map +1 -0
  825. package/dist/lime-elements/p-c70b1ea3.js +2 -1
  826. package/dist/lime-elements/p-c70b1ea3.js.map +1 -0
  827. package/dist/lime-elements/p-c8818b66.js +3 -0
  828. package/dist/lime-elements/p-c8818b66.js.map +1 -0
  829. package/dist/lime-elements/p-c93050d6.js +2 -1
  830. package/dist/lime-elements/p-c93050d6.js.map +1 -0
  831. package/dist/lime-elements/p-ca9b383b.entry.js +2 -0
  832. package/dist/lime-elements/p-ca9b383b.entry.js.map +1 -0
  833. package/dist/lime-elements/p-cbc43682.js +27 -4
  834. package/dist/lime-elements/p-cbc43682.js.map +1 -0
  835. package/dist/lime-elements/p-cc9ebbef.js +2 -1
  836. package/dist/lime-elements/p-cc9ebbef.js.map +1 -0
  837. package/dist/lime-elements/p-d07f1a1f.entry.js +2 -0
  838. package/dist/lime-elements/p-d07f1a1f.entry.js.map +1 -0
  839. package/dist/lime-elements/p-d0a7de87.js +48 -3
  840. package/dist/lime-elements/p-d0a7de87.js.map +1 -0
  841. package/dist/lime-elements/p-d228fd62.entry.js +2 -0
  842. package/dist/lime-elements/p-d228fd62.entry.js.map +1 -0
  843. package/dist/lime-elements/p-d529bb7d.js +2 -1
  844. package/dist/lime-elements/p-d529bb7d.js.map +1 -0
  845. package/dist/lime-elements/p-d7801e00.js +2 -1
  846. package/dist/lime-elements/p-d7801e00.js.map +1 -0
  847. package/dist/lime-elements/p-d7c39d02.entry.js +126 -0
  848. package/dist/lime-elements/p-d7c39d02.entry.js.map +1 -0
  849. package/dist/lime-elements/p-da25e94d.entry.js +2 -0
  850. package/dist/lime-elements/p-da25e94d.entry.js.map +1 -0
  851. package/dist/lime-elements/p-dcc97cc2.js +2 -1
  852. package/dist/lime-elements/p-dcc97cc2.js.map +1 -0
  853. package/dist/lime-elements/p-dfba92de.js +88 -8
  854. package/dist/lime-elements/p-dfba92de.js.map +1 -0
  855. package/dist/lime-elements/p-e0fa49ca.entry.js +2 -0
  856. package/dist/lime-elements/p-e0fa49ca.entry.js.map +1 -0
  857. package/dist/lime-elements/p-e59e0040.entry.js +2 -0
  858. package/dist/lime-elements/p-e59e0040.entry.js.map +1 -0
  859. package/dist/lime-elements/p-eab67c09.js +2 -1
  860. package/dist/lime-elements/p-eab67c09.js.map +1 -0
  861. package/dist/lime-elements/p-eda23c05.js +2 -1
  862. package/dist/lime-elements/p-eda23c05.js.map +1 -0
  863. package/dist/lime-elements/p-f1d9723a.entry.js +2 -0
  864. package/dist/lime-elements/p-f1d9723a.entry.js.map +1 -0
  865. package/dist/lime-elements/p-fa607ed3.js +2 -1
  866. package/dist/lime-elements/p-fa607ed3.js.map +1 -0
  867. package/dist/lime-elements/p-fb799569.entry.js +2 -0
  868. package/dist/lime-elements/p-fb799569.entry.js.map +1 -0
  869. package/dist/loader/index.d.ts +9 -0
  870. package/dist/types/components/callout/callout.types.d.ts +1 -1
  871. package/dist/types/components/circular-progress/circular-progress.types.d.ts +1 -1
  872. package/dist/types/components/code-editor/code-editor.types.d.ts +2 -2
  873. package/dist/types/components/date-picker/date.types.d.ts +2 -2
  874. package/dist/types/components/file/file-metadata.d.ts +5 -5
  875. package/dist/types/components/flex-container/flex-container.types.d.ts +3 -3
  876. package/dist/types/components/form/form.types.d.ts +1 -1
  877. package/dist/types/components/form/templates/types.d.ts +3 -3
  878. package/dist/types/components/form/widgets/index.d.ts +1 -1
  879. package/dist/types/components/icon/icon.types.d.ts +1 -1
  880. package/dist/types/components/input-field/input-field.types.d.ts +1 -1
  881. package/dist/types/components/list/list.types.d.ts +1 -1
  882. package/dist/types/components/menu/menu.types.d.ts +1 -1
  883. package/dist/types/components/menu-list/menu-list.types.d.ts +1 -1
  884. package/dist/types/components/picker/actions.types.d.ts +2 -2
  885. package/dist/types/components/picker/searcher.types.d.ts +1 -1
  886. package/dist/types/components/spinner/spinner.types.d.ts +1 -1
  887. package/dist/types/components/table/layout.d.ts +1 -1
  888. package/dist/types/components/table/table.types.d.ts +2 -2
  889. package/dist/types/components.d.ts +2848 -0
  890. package/dist/types/interface.d.ts +5 -14
  891. package/dist/types/stencil-public-runtime.d.ts +74 -15
  892. package/package.json +2 -2
  893. package/dist/lime-elements/p-076de623.entry.js +0 -1
  894. package/dist/lime-elements/p-07dd6729.entry.js +0 -1
  895. package/dist/lime-elements/p-094dd76a.entry.js +0 -126
  896. package/dist/lime-elements/p-10e259de.entry.js +0 -1
  897. package/dist/lime-elements/p-123f5fbb.entry.js +0 -1
  898. package/dist/lime-elements/p-29350441.entry.js +0 -37
  899. package/dist/lime-elements/p-30f5cc4d.entry.js +0 -1
  900. package/dist/lime-elements/p-35a6ab13.entry.js +0 -1
  901. package/dist/lime-elements/p-3618f8be.entry.js +0 -1
  902. package/dist/lime-elements/p-3be2dfc7.entry.js +0 -1
  903. package/dist/lime-elements/p-3cdc210b.entry.js +0 -1
  904. package/dist/lime-elements/p-3fda3473.entry.js +0 -1
  905. package/dist/lime-elements/p-46a76d55.entry.js +0 -1
  906. package/dist/lime-elements/p-4a62273c.entry.js +0 -1
  907. package/dist/lime-elements/p-4eeabc1f.entry.js +0 -1
  908. package/dist/lime-elements/p-5338663b.entry.js +0 -1
  909. package/dist/lime-elements/p-55900379.entry.js +0 -59
  910. package/dist/lime-elements/p-55c8cb64.entry.js +0 -131
  911. package/dist/lime-elements/p-6b8142ba.entry.js +0 -73
  912. package/dist/lime-elements/p-6c38b505.entry.js +0 -1
  913. package/dist/lime-elements/p-727fd4ea.entry.js +0 -38
  914. package/dist/lime-elements/p-7719a91d.entry.js +0 -1
  915. package/dist/lime-elements/p-79049482.entry.js +0 -1
  916. package/dist/lime-elements/p-7d7d19de.entry.js +0 -1
  917. package/dist/lime-elements/p-803cc4b7.entry.js +0 -1
  918. package/dist/lime-elements/p-82cd7bb6.entry.js +0 -1
  919. package/dist/lime-elements/p-8a2d1761.entry.js +0 -11
  920. package/dist/lime-elements/p-8acabe02.entry.js +0 -59
  921. package/dist/lime-elements/p-9336fd7f.entry.js +0 -1
  922. package/dist/lime-elements/p-95cefb5f.entry.js +0 -1
  923. package/dist/lime-elements/p-a3acc38f.entry.js +0 -83
  924. package/dist/lime-elements/p-a5d5efc4.entry.js +0 -1
  925. package/dist/lime-elements/p-b0bfec52.entry.js +0 -1
  926. package/dist/lime-elements/p-b40f37d7.entry.js +0 -1
  927. package/dist/lime-elements/p-b526ebd4.entry.js +0 -1
  928. package/dist/lime-elements/p-b80de0ea.entry.js +0 -1
  929. package/dist/lime-elements/p-bf3d6097.entry.js +0 -1
  930. package/dist/lime-elements/p-c6e913a4.entry.js +0 -82
  931. package/dist/lime-elements/p-cb2c9562.entry.js +0 -16
  932. package/dist/lime-elements/p-cc3529bb.entry.js +0 -82
  933. package/dist/lime-elements/p-cfaa685f.entry.js +0 -1
  934. package/dist/lime-elements/p-d2a3d50b.js +0 -1
  935. package/dist/lime-elements/p-d4e788e1.js +0 -2
  936. package/dist/lime-elements/p-d55d88a5.entry.js +0 -1
  937. package/dist/lime-elements/p-da4d1bc1.entry.js +0 -16
  938. package/dist/lime-elements/p-eda87f8c.entry.js +0 -1
  939. package/dist/lime-elements/p-edbd8d62.entry.js +0 -1
  940. package/dist/lime-elements/p-ef93fd3e.entry.js +0 -1
  941. package/dist/lime-elements/p-f11e7ce1.entry.js +0 -1
  942. package/dist/lime-elements/p-f979c0f2.entry.js +0 -1
@@ -1 +0,0 @@
1
- import{r,h as e}from"./p-d4e788e1.js";const n=class{constructor(e){r(this,e),this.message=void 0,this.icon=void 0,this.isOpen=!1}async open(){this.isOpen=!0}async close(){this.isOpen=!1}render(){return e("div",{class:"lime-banner "+(this.isOpen?"lime-banner--open":"")},e("div",{class:"lime-banner__surface"},e("div",{class:"lime-banner__content"},this.renderIcon(),e("div",{class:"mdc-typography--body2"},this.message),e("div",{class:"lime-banner__actions"},e("slot",{name:"buttons"})))))}renderIcon(){if(this.icon)return e("div",{class:"lime-banner__icon"},e("limel-icon",{name:this.icon,badge:!0,size:"large"}))}};n.style=":host{--mdc-theme-primary:var(\n --lime-primary-color,\n rgb(var(--color-teal-default))\n );--mdc-theme-secondary:var(\n --lime-secondary-color,\n rgb(var(--contrast-1100))\n );--mdc-theme-on-primary:var(\n --lime-on-primary-color,\n rgb(var(--contrast-100))\n );--mdc-theme-on-secondary:var(\n --lime-on-secondary-color,\n rgb(var(--contrast-100))\n );--mdc-theme-text-disabled-on-background:var(\n --lime-text-disabled-on-background-color,\n rgba(var(--contrast-1700), 0.38)\n );--mdc-theme-text-primary-on-background:var(\n --lime-text-primary-on-background-color,\n rgba(var(--contrast-1700), 0.87)\n );--mdc-theme-text-secondary-on-background:var(\n --lime-text-secondary-on-background-color,\n rgba(var(--contrast-1700), 0.54)\n );--mdc-theme-error:var(\n --lime-error-background-color,\n rgb(var(--color-red-dark))\n );--lime-error-text-color:rgb(var(--color-red-darker));--mdc-theme-surface:var(\n --lime-surface-background-color,\n rgb(var(--contrast-100))\n );--mdc-theme-on-surface:var(\n --lime-on-surface-color,\n rgb(var(--contrast-1500))\n )}.lime-banner{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.8125rem;font-size:var(--mdc-typography-body2-font-size, 0.8125rem);line-height:1.625rem;line-height:var(--mdc-typography-body2-line-height, 1.625rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:0.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, 0.0178571429em);text-decoration:inherit;text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit);min-height:3.25rem;display:none;background-color:rgba(var(--contrast-100), 0.7);backdrop-filter:blur(0.3125rem);box-shadow:var(--shadow-depth-16)}.lime-banner.lime-banner--open{display:block}.lime-banner.lime-banner--open .lime-banner__surface{opacity:1}.lime-banner .lime-banner__surface{display:flex;justify-content:center;box-sizing:border-box;opacity:0}.lime-banner .lime-banner__content{display:flex;align-items:center;align-content:stretch;padding:1rem;flex-wrap:wrap}.lime-banner div[class^=mdc-typography]{color:rgb(var(--contrast-1200))}.lime-banner .lime-banner__icon{margin:0 0.625rem;align-self:flex-start}.lime-banner .lime-banner__actions{margin-left:3.125rem;display:flex;justify-content:flex-end}.lime-banner limel-icon{color:var(--banner-icon-fill-color, rgb(var(--contrast-100)));background-color:var(--banner-icon-background-color, rgb(var(--contrast-800)))}";export{n as limel_banner}
@@ -1,82 +0,0 @@
1
- import{r as c,c as e,h as t,g as i}from"./p-d4e788e1.js";import{c as r}from"./p-6c094f3f.js";import{_ as d,b as s,c as a,d as o,e as n,M as l,a as h}from"./p-48d4ef20.js";import{M as m,b as w}from"./p-cbc43682.js";import"./p-dcc97cc2.js";
2
- /*! *****************************************************************************
3
- Copyright (c) Microsoft Corporation.
4
-
5
- Permission to use, copy, modify, and/or distribute this software for any
6
- purpose with or without fee is hereby granted.
7
-
8
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
9
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
11
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14
- PERFORMANCE OF THIS SOFTWARE.
15
- ***************************************************************************** */var p=function(c,e){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,e){c.__proto__=e}||function(c,e){for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(c[t]=e[t])})(c,e)};function f(c,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function t(){this.constructor=c}p(c,e),c.prototype=null===e?Object.create(e):(t.prototype=e.prototype,new t)}var u,b,v=function(){return(v=Object.assign||function(c){for(var e,t=1,i=arguments.length;t<i;t++)for(var r in e=arguments[t])Object.prototype.hasOwnProperty.call(e,r)&&(c[r]=e[r]);return c}).apply(this,arguments)};
16
- /**
17
- * @license
18
- * Copyright 2021 Google Inc.
19
- *
20
- * Permission is hereby granted, free of charge, to any person obtaining a copy
21
- * of this software and associated documentation files (the "Software"), to deal
22
- * in the Software without restriction, including without limitation the rights
23
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
24
- * copies of the Software, and to permit persons to whom the Software is
25
- * furnished to do so, subject to the following conditions:
26
- *
27
- * The above copyright notice and this permission notice shall be included in
28
- * all copies or substantial portions of the Software.
29
- *
30
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
31
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
32
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
33
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
34
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
35
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
36
- * THE SOFTWARE.
37
- */!function(c){c.PROCESSING="mdc-switch--processing",c.SELECTED="mdc-switch--selected",c.UNSELECTED="mdc-switch--unselected"}(u||(u={})),function(c){c.RIPPLE=".mdc-switch__ripple"}(b||(b={}));var _=new WeakMap,g=function(c){function e(){return null!==c&&c.apply(this,arguments)||this}return f(e,c),e.prototype.init=function(){c.prototype.init.call(this),this.observe(this.adapter.state,{disabled:this.onDisabledChange,processing:this.onProcessingChange,selected:this.onSelectedChange})},e.prototype.initFromDOM=function(){this.setObserversEnabled(this.adapter.state,!1),this.adapter.state.selected=this.adapter.hasClass(u.SELECTED),this.onSelectedChange(),this.adapter.state.disabled=this.adapter.isDisabled(),this.adapter.state.processing=this.adapter.hasClass(u.PROCESSING),this.setObserversEnabled(this.adapter.state,!0),this.stopProcessingIfDisabled()},e.prototype.onDisabledChange=function(){this.adapter.setDisabled(this.adapter.state.disabled)},e.prototype.onProcessingChange=function(){this.toggleClass(this.adapter.state.processing,u.PROCESSING)},e.prototype.onSelectedChange=function(){this.adapter.setAriaChecked(String(this.adapter.state.selected)),this.toggleClass(this.adapter.state.selected,u.SELECTED),this.toggleClass(!this.adapter.state.selected,u.UNSELECTED)},e.prototype.toggleClass=function(c,e){c?this.adapter.addClass(e):this.adapter.removeClass(e)},e}(function(c){function e(e){var t=c.call(this,e)||this;return t.handleClick=t.handleClick.bind(t),t}return f(e,c),e.prototype.init=function(){this.observe(this.adapter.state,{disabled:this.stopProcessingIfDisabled,processing:this.stopProcessingIfDisabled})},e.prototype.handleClick=function(){this.adapter.state.disabled||(this.adapter.state.selected=!this.adapter.state.selected)},e.prototype.stopProcessingIfDisabled=function(){this.adapter.state.disabled&&(this.adapter.state.processing=!1)},e}(function(c){function e(e){var t=c.call(this,e)||this;return t.unobserves=new Set,t}return a(e,c),e.prototype.destroy=function(){c.prototype.destroy.call(this),this.unobserve()},e.prototype.observe=function(c,e){var t,i,r=this,d=[];try{for(var a=s(Object.keys(e)),o=a.next();!o.done;o=a.next()){var n=o.value,l=e[n].bind(this);d.push(this.observeProperty(c,n,l))}}catch(c){t={error:c}}finally{try{o&&!o.done&&(i=a.return)&&i.call(a)}finally{if(t)throw t.error}}var h=function(){var c,e;try{for(var t=s(d),i=t.next();!i.done;i=t.next())(0,i.value)()}catch(e){c={error:e}}finally{try{i&&!i.done&&(e=t.return)&&e.call(t)}finally{if(c)throw c.error}}r.unobserves.delete(h)};return this.unobserves.add(h),h},e.prototype.observeProperty=function(c,e,t){
38
- /**
39
- * @license
40
- * Copyright 2021 Google Inc.
41
- *
42
- * Permission is hereby granted, free of charge, to any person obtaining a copy
43
- * of this software and associated documentation files (the "Software"), to deal
44
- * in the Software without restriction, including without limitation the rights
45
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
46
- * copies of the Software, and to permit persons to whom the Software is
47
- * furnished to do so, subject to the following conditions:
48
- *
49
- * The above copyright notice and this permission notice shall be included in
50
- * all copies or substantial portions of the Software.
51
- *
52
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
53
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
54
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
55
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
56
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
57
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
58
- * THE SOFTWARE.
59
- */
60
- return function(c,e,t){var i=function(c,e){var t=new Map;_.has(c)||_.set(c,{isEnabled:!0,getObservers:function(c){var e=t.get(c)||[];return t.has(c)||t.set(c,e),e},installedProperties:new Set});var i=_.get(c);if(i.installedProperties.has(e))return i;var r=function(c,e){for(var t,i=c;i&&!(t=Object.getOwnPropertyDescriptor(i,e));)i=Object.getPrototypeOf(i);return t}(c,e)||{configurable:!0,enumerable:!0,value:c[e],writable:!0},a=d({},r),o=r.get,n=r.set;if("value"in r){delete a.value,delete a.writable;var l=r.value;o=function(){return l},r.writable&&(n=function(c){l=c})}return o&&(a.get=function(){return o.call(this)}),n&&(a.set=function(c){var t,r,d=o?o.call(this):c;if(n.call(this,c),i.isEnabled&&(!o||c!==d))try{for(var a=s(i.getObservers(e)),l=a.next();!l.done;l=a.next())(0,l.value)(c,d)}catch(c){t={error:c}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}}),i.installedProperties.add(e),Object.defineProperty(c,e,a),i}(c,e).getObservers(e);return i.push(t),function(){i.splice(i.indexOf(t),1)}}(c,e,t)},e.prototype.setObserversEnabled=function(c,e){!function(c,e){var t=_.get(c);t&&(t.isEnabled=e)}
61
- /**
62
- * @license
63
- * Copyright 2021 Google Inc.
64
- *
65
- * Permission is hereby granted, free of charge, to any person obtaining a copy
66
- * of this software and associated documentation files (the "Software"), to deal
67
- * in the Software without restriction, including without limitation the rights
68
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
69
- * copies of the Software, and to permit persons to whom the Software is
70
- * furnished to do so, subject to the following conditions:
71
- *
72
- * The above copyright notice and this permission notice shall be included in
73
- * all copies or substantial portions of the Software.
74
- *
75
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
76
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
77
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
78
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
79
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
80
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
81
- * THE SOFTWARE.
82
- */(c,e)},e.prototype.unobserve=function(){var c,e;try{for(var t=s(o([],n(this.unobserves))),i=t.next();!i.done;i=t.next())(0,i.value)()}catch(e){c={error:e}}finally{try{i&&!i.done&&(e=t.return)&&e.call(t)}finally{if(c)throw c.error}}},e}(l))),y=function(c){function e(e,t){var i=c.call(this,e,t)||this;return i.root=e,i}return f(e,c),e.attachTo=function(c){return new e(c)},e.prototype.initialize=function(){this.ripple=new m(this.root,this.createRippleFoundation())},e.prototype.initialSyncWithDOM=function(){var c=this.root.querySelector(b.RIPPLE);if(!c)throw new Error("Switch "+b.RIPPLE+" element is required.");this.rippleElement=c,this.root.addEventListener("click",this.foundation.handleClick),this.foundation.initFromDOM()},e.prototype.destroy=function(){c.prototype.destroy.call(this),this.ripple.destroy(),this.root.removeEventListener("click",this.foundation.handleClick)},e.prototype.getDefaultFoundation=function(){return new g(this.createAdapter())},e.prototype.createAdapter=function(){var c=this;return{addClass:function(e){c.root.classList.add(e)},hasClass:function(e){return c.root.classList.contains(e)},isDisabled:function(){return c.root.disabled},removeClass:function(e){c.root.classList.remove(e)},setAriaChecked:function(e){return c.root.setAttribute("aria-checked",e)},setDisabled:function(e){c.root.disabled=e},state:this}},e.prototype.createRippleFoundation=function(){return new w(this.createRippleAdapter())},e.prototype.createRippleAdapter=function(){var c=this;return v(v({},m.createAdapter(this)),{computeBoundingRect:function(){return c.rippleElement.getBoundingClientRect()},isUnbounded:function(){return!0}})},e}(h);const k=class{constructor(t){c(this,t),this.change=e(this,"change",7),this.handleClick=c=>{c.stopPropagation(),this.change.emit(!this.value)},this.label=void 0,this.disabled=!1,this.readonly=!1,this.value=!1,this.fieldId=r()}connectedCallback(){this.initialize()}componentDidLoad(){this.initialize()}initialize(){const c=this.host.shadowRoot.querySelector(".mdc-switch");c&&(this.mdcSwitch=new y(c))}disconnectedCallback(){var c;null===(c=this.mdcSwitch)||void 0===c||c.destroy()}render(){return[t("button",{id:this.fieldId,class:{"mdc-switch":!0,"lime-switch--readonly":this.readonly,"mdc-switch--unselected":!this.value,"mdc-switch--selected":this.value},type:"button",role:"switch","aria-checked":this.value,disabled:this.disabled||this.readonly,onClick:this.handleClick},t("div",{class:"mdc-switch__track"}),t("div",{class:"mdc-switch__handle-track"},t("div",{class:"mdc-switch__handle"},t("div",{class:"mdc-switch__shadow"},t("div",{class:"mdc-elevation-overlay"})),t("div",{class:"mdc-switch__ripple"}),t("div",{class:"mdc-switch__icons"},t("svg",{class:"mdc-switch__icon mdc-switch__icon--on",viewBox:"0 0 24 24"},t("path",{d:"M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"})),t("svg",{class:"mdc-switch__icon mdc-switch__icon--off",viewBox:"0 0 24 24"},t("path",{d:"M20 13H4v-2h16v2z"})))))),t("label",{class:this.disabled||this.readonly?"disabled":"",htmlFor:this.fieldId},this.label)]}valueWatcher(c){this.mdcSwitch&&(this.mdcSwitch.selected=c)}get host(){return i(this)}static get watchers(){return{value:["valueWatcher"]}}};k.style=':host{--mdc-theme-primary:var(\n --lime-primary-color,\n rgb(var(--color-teal-default))\n );--mdc-theme-secondary:var(\n --lime-secondary-color,\n rgb(var(--contrast-1100))\n );--mdc-theme-on-primary:var(\n --lime-on-primary-color,\n rgb(var(--contrast-100))\n );--mdc-theme-on-secondary:var(\n --lime-on-secondary-color,\n rgb(var(--contrast-100))\n );--mdc-theme-text-disabled-on-background:var(\n --lime-text-disabled-on-background-color,\n rgba(var(--contrast-1700), 0.38)\n );--mdc-theme-text-primary-on-background:var(\n --lime-text-primary-on-background-color,\n rgba(var(--contrast-1700), 0.87)\n );--mdc-theme-text-secondary-on-background:var(\n --lime-text-secondary-on-background-color,\n rgba(var(--contrast-1700), 0.54)\n );--mdc-theme-error:var(\n --lime-error-background-color,\n rgb(var(--color-red-dark))\n );--lime-error-text-color:rgb(var(--color-red-darker));--mdc-theme-surface:var(\n --lime-surface-background-color,\n rgb(var(--contrast-100))\n );--mdc-theme-on-surface:var(\n --lime-on-surface-color,\n rgb(var(--contrast-1500))\n )}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:0;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:#fff;background-color:var(--mdc-elevation-overlay-color, #fff)}.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative}.mdc-switch:disabled{cursor:default;pointer-events:none}.mdc-switch__track{overflow:hidden;position:relative;width:100%}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid transparent;border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(-100%)}[dir=rtl] .mdc-switch__track::after,.mdc-switch__track[dir=rtl]::after{transform:translateX(100%);}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track[dir=rtl]::before{transform:translateX(-100%);}.mdc-switch--selected .mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0)}[dir=rtl] .mdc-switch__handle-track,.mdc-switch__handle-track[dir=rtl]{left:auto;right:0;}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track,.mdc-switch--selected .mdc-switch__handle-track[dir=rtl]{transform:translateX(-100%);}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto}[dir=rtl] .mdc-switch__handle,.mdc-switch__handle[dir=rtl]{left:auto;right:0;}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid transparent;border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1), border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-elevation-overlay{bottom:0;left:0;right:0;top:0}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1}.mdc-switch:disabled .mdc-switch__ripple{display:none}.mdc-switch__icons{height:100%;position:relative;width:100%;z-index:1}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mdc-switch{--mdc-ripple-fg-size:0;--mdc-ripple-left:0;--mdc-ripple-top:0;--mdc-ripple-fg-scale:1;--mdc-ripple-fg-translate-end:0;--mdc-ripple-fg-translate-start:0;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);will-change:transform, opacity}@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-opacity-in{from{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{from{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}.mdc-switch .mdc-switch__ripple::before,.mdc-switch .mdc-switch__ripple::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-switch .mdc-switch__ripple::before{transition:opacity 15ms linear, background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-switch .mdc-switch__ripple::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-switch.mdc-ripple-upgraded .mdc-switch__ripple::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-switch.mdc-ripple-upgraded .mdc-switch__ripple::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-switch.mdc-ripple-upgraded--unbounded .mdc-switch__ripple::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-switch.mdc-ripple-upgraded--foreground-activation .mdc-switch__ripple::after{animation:mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards}.mdc-switch.mdc-ripple-upgraded--foreground-deactivation .mdc-switch__ripple::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-switch .mdc-switch__ripple::before,.mdc-switch .mdc-switch__ripple::after{top:calc(50% - 50%);left:calc(50% - 50%);width:100%;height:100%}.mdc-switch.mdc-ripple-upgraded .mdc-switch__ripple::before,.mdc-switch.mdc-ripple-upgraded .mdc-switch__ripple::after{top:var(--mdc-ripple-top, calc(50% - 50%));left:var(--mdc-ripple-left, calc(50% - 50%));width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-switch.mdc-ripple-upgraded .mdc-switch__ripple::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-switch{width:36px;width:var(--mdc-switch-track-width, 36px)}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__handle::after{background:#26a69a;background:var(--mdc-switch-selected-handle-color, var(--mdc-theme-primary, #26a69a))}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:#26534f;background:var(--mdc-switch-selected-hover-handle-color, #26534f)}.mdc-switch.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:#26534f;background:var(--mdc-switch-selected-focus-handle-color, #26534f)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:#26534f;background:var(--mdc-switch-selected-pressed-handle-color, #26534f)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__handle::after{background:#424242;background:var(--mdc-switch-disabled-selected-handle-color, #424242)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:#616161;background:var(--mdc-switch-unselected-handle-color, #616161)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:#212121;background:var(--mdc-switch-unselected-hover-handle-color, #212121)}.mdc-switch.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:#212121;background:var(--mdc-switch-unselected-focus-handle-color, #212121)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:#212121;background:var(--mdc-switch-unselected-pressed-handle-color, #212121)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__handle::after{background:#424242;background:var(--mdc-switch-disabled-unselected-handle-color, #424242)}.mdc-switch .mdc-switch__handle::before{background:#fff;background:var(--mdc-switch-handle-surface-color, var(--mdc-theme-surface, #fff))}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12);box-shadow:var(--mdc-switch-handle-elevation, var(--mdc-elevation-box-shadow-for-gss));--mdc-elevation-box-shadow-for-gss:0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12)}.mdc-switch:disabled .mdc-switch__shadow{box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12);box-shadow:var(--mdc-switch-disabled-handle-elevation, var(--mdc-elevation-box-shadow-for-gss));--mdc-elevation-box-shadow-for-gss:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12)}.mdc-switch .mdc-switch__handle{height:20px;height:var(--mdc-switch-handle-height, 20px)}.mdc-switch:disabled .mdc-switch__handle::after{opacity:0.38;opacity:var(--mdc-switch-disabled-handle-opacity, 0.38)}.mdc-switch .mdc-switch__handle{border-radius:10px;border-radius:var(--mdc-switch-handle-shape, 10px)}.mdc-switch .mdc-switch__handle{width:20px;width:var(--mdc-switch-handle-width, 20px)}.mdc-switch .mdc-switch__handle-track{width:calc(100% - 20px);width:calc(100% - var(--mdc-switch-handle-width, 20px))}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon{fill:#fff;fill:var(--mdc-switch-selected-icon-color, var(--mdc-theme-on-primary, #fff))}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:#fff;fill:var(--mdc-switch-disabled-selected-icon-color, var(--mdc-theme-on-primary, #fff))}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon{fill:#fff;fill:var(--mdc-switch-unselected-icon-color, var(--mdc-theme-on-primary, #fff))}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:#fff;fill:var(--mdc-switch-disabled-unselected-icon-color, var(--mdc-theme-on-primary, #fff))}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:0.38;opacity:var(--mdc-switch-disabled-selected-icon-opacity, 0.38)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:0.38;opacity:var(--mdc-switch-disabled-unselected-icon-opacity, 0.38)}.mdc-switch.mdc-switch--selected .mdc-switch__icon{width:18px;width:var(--mdc-switch-selected-icon-size, 18px);height:18px;height:var(--mdc-switch-selected-icon-size, 18px)}.mdc-switch.mdc-switch--unselected .mdc-switch__icon{width:18px;width:var(--mdc-switch-unselected-icon-size, 18px);height:18px;height:var(--mdc-switch-unselected-icon-size, 18px)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:#26a69a;background-color:var(--mdc-switch-selected-hover-state-layer-color, var(--mdc-theme-primary, #26a69a))}.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background-color:#26a69a;background-color:var(--mdc-switch-selected-focus-state-layer-color, var(--mdc-theme-primary, #26a69a))}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background-color:#26a69a;background-color:var(--mdc-switch-selected-pressed-state-layer-color, var(--mdc-theme-primary, #26a69a))}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:#424242;background-color:var(--mdc-switch-unselected-hover-state-layer-color, #424242)}.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background-color:#424242;background-color:var(--mdc-switch-unselected-focus-state-layer-color, #424242)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background-color:#424242;background-color:var(--mdc-switch-unselected-pressed-state-layer-color, #424242)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:0.04;opacity:var(--mdc-switch-selected-hover-state-layer-opacity, 0.04)}.mdc-switch.mdc-switch--selected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-switch-selected-focus-state-layer-opacity, 0.12)}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:0.1;opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, 0.1)}.mdc-switch.mdc-switch--selected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, 0.1)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:0.04;opacity:var(--mdc-switch-unselected-hover-state-layer-opacity, 0.04)}.mdc-switch.mdc-switch--unselected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-switch-unselected-focus-state-layer-opacity, 0.12)}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:0.1;opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, 0.1)}.mdc-switch.mdc-switch--unselected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, 0.1)}.mdc-switch .mdc-switch__ripple{height:48px;height:var(--mdc-switch-state-layer-size, 48px);width:48px;width:var(--mdc-switch-state-layer-size, 48px)}.mdc-switch .mdc-switch__track{height:14px;height:var(--mdc-switch-track-height, 14px)}.mdc-switch:disabled .mdc-switch__track{opacity:0.12;opacity:var(--mdc-switch-disabled-track-opacity, 0.12)}.mdc-switch:enabled .mdc-switch__track::after{background:#c1f1ec;background:var(--mdc-switch-selected-track-color, #c1f1ec)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:#c1f1ec;background:var(--mdc-switch-selected-hover-track-color, #c1f1ec)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:#c1f1ec;background:var(--mdc-switch-selected-focus-track-color, #c1f1ec)}.mdc-switch:enabled:active .mdc-switch__track::after{background:#c1f1ec;background:var(--mdc-switch-selected-pressed-track-color, #c1f1ec)}.mdc-switch:disabled .mdc-switch__track::after{background:#424242;background:var(--mdc-switch-disabled-selected-track-color, #424242)}.mdc-switch:enabled .mdc-switch__track::before{background:#e0e0e0;background:var(--mdc-switch-unselected-track-color, #e0e0e0)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:#e0e0e0;background:var(--mdc-switch-unselected-hover-track-color, #e0e0e0)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:#e0e0e0;background:var(--mdc-switch-unselected-focus-track-color, #e0e0e0)}.mdc-switch:enabled:active .mdc-switch__track::before{background:#e0e0e0;background:var(--mdc-switch-unselected-pressed-track-color, #e0e0e0)}.mdc-switch:disabled .mdc-switch__track::before{background:#424242;background:var(--mdc-switch-disabled-unselected-track-color, #424242)}.mdc-switch .mdc-switch__track{border-radius:7px;border-radius:var(--mdc-switch-track-shape, 7px)}@media screen and (forced-colors: active), (-ms-high-contrast: active){.mdc-switch:enabled .mdc-switch__shadow{}.mdc-switch:disabled .mdc-switch__shadow{}.mdc-switch:disabled .mdc-switch__handle::after{opacity:1;opacity:var(--mdc-switch-disabled-handle-opacity, 1)}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon{fill:ButtonText;fill:var(--mdc-switch-selected-icon-color, ButtonText)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:GrayText;fill:var(--mdc-switch-disabled-selected-icon-color, GrayText)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon{fill:ButtonText;fill:var(--mdc-switch-unselected-icon-color, ButtonText)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:GrayText;fill:var(--mdc-switch-disabled-unselected-icon-color, GrayText)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:1;opacity:var(--mdc-switch-disabled-selected-icon-opacity, 1)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:1;opacity:var(--mdc-switch-disabled-unselected-icon-opacity, 1)}.mdc-switch:disabled .mdc-switch__track{opacity:1;opacity:var(--mdc-switch-disabled-track-opacity, 1)}}:host(limel-switch){display:inline-flex;align-items:center;--mdc-switch-selected-icon-color:transparent;--mdc-switch-unselected-icon-color:transparent;--mdc-switch-disabled-selected-icon-opacity:1;--mdc-switch-disabled-unselected-icon-opacity:1;--mdc-switch-selected-icon-size:0.75rem;--mdc-switch-unselected-icon-size:0.75rem;--mdc-switch-track-height:1.25rem;--mdc-switch-track-shape:var(--mdc-switch-track-height);--mdc-switch-unselected-focus-handle-color:var(\n --lime-elevated-surface-background-color\n );--mdc-switch-selected-focus-handle-color:var(\n --lime-elevated-surface-background-color\n );--mdc-switch-unselected-pressed-handle-color:var(\n --lime-elevated-surface-background-color\n );--mdc-switch-selected-pressed-handle-color:var(\n --lime-elevated-surface-background-color\n );--mdc-switch-unselected-handle-color:var(\n --lime-elevated-surface-background-color\n );--mdc-switch-unselected-hover-handle-color:var(\n --lime-elevated-surface-background-color\n );--mdc-switch-selected-handle-color:var(\n --lime-elevated-surface-background-color\n );--mdc-switch-selected-hover-handle-color:var(\n --lime-elevated-surface-background-color\n );--mdc-switch-unselected-track-color:rgb(var(--contrast-700));--mdc-switch-unselected-focus-track-color:rgb(var(--contrast-800));--mdc-switch-unselected-pressed-track-color:rgb(var(--contrast-800));--mdc-switch-unselected-hover-track-color:rgb(var(--contrast-800));--mdc-switch-selected-focus-track-color:var(--mdc-theme-primary);--mdc-switch-selected-pressed-track-color:var(--mdc-theme-primary);--mdc-switch-selected-track-color:var(--mdc-theme-primary);--mdc-switch-selected-hover-track-color:var(--mdc-theme-primary);--mdc-switch-handle-elevation:var(--button-shadow-normal);--mdc-switch-disabled-track-opacity:0.4}.mdc-switch{margin-right:0.5rem}.mdc-switch:hover{--mdc-switch-handle-elevation:var(--button-shadow-hovered)}label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.8125rem;font-size:var(--mdc-typography-body2-font-size, 0.8125rem);line-height:1.625rem;line-height:var(--mdc-typography-body2-line-height, 1.625rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:0.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, 0.0178571429em);text-decoration:inherit;text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit);color:var(--mdc-theme-on-surface);cursor:pointer}label.disabled{cursor:not-allowed;pointer-events:none;opacity:0.4}.mdc-switch.mdc-switch--selected .mdc-switch__handle:after,.mdc-switch.mdc-switch--selected .mdc-switch__handle:before,.mdc-switch.mdc-switch.mdc-switch--unselected .mdc-switch__handle:after,.mdc-switch.mdc-switch.mdc-switch--unselected .mdc-switch__handle:before{transform:scale(0.8)}.mdc-switch .mdc-switch__shadow{transform:scale(0.8)}.mdc-switch.lime-switch--readonly{--mdc-switch-disabled-selected-track-color:var(--mdc-theme-primary);--mdc-switch-disabled-unselected-track-color:rgb(\n var(--color-red-default)\n );--mdc-switch-handle-surface-color:transparent;--mdc-switch-disabled-selected-handle-color:transparent;--mdc-switch-disabled-unselected-handle-color:transparent;--mdc-switch-disabled-track-opacity:1}.mdc-switch.lime-switch--readonly+label.disabled{cursor:default;opacity:1}';export{k as limel_switch}
@@ -1,16 +0,0 @@
1
- import{r as t,c as i,h as s,g as e}from"./p-d4e788e1.js";import{i as n}from"./p-5f020b3c.js";import{T as h,E as r,a as o,b as l,c as a,d as c,A as u,e as d,f as p,g as m}from"./p-d7801e00.js";import{c as f}from"./p-6c094f3f.js";function v(t){return"function"==typeof t?t():t}function y(){var t={};return t.promise=new Promise((function(i,s){t.resolve=i,t.reject=s})),t}function g(t){var i=null,s=null,e=new Promise((function(t,e){i=t,s=e}));return t&&t.then((function(t){i&&i(t)}),(function(t){s&&s(t)})),{promise:e,resolve:function(t){i&&i(t)},reject:function(t){s&&s(t)},cancel:function(){i=null,s=null}}}
2
- /*! *****************************************************************************
3
- Copyright (c) Microsoft Corporation. All rights reserved.
4
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use
5
- this file except in compliance with the License. You may obtain a copy of the
6
- License at http://www.apache.org/licenses/LICENSE-2.0
7
-
8
- THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
9
- KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
10
- WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
11
- MERCHANTABLITY OR NON-INFRINGEMENT.
12
-
13
- See the Apache Version 2.0 License for specific language governing permissions
14
- and limitations under the License.
15
- ***************************************************************************** */
16
- var b=function(){return(b=Object.assign||function(t){for(var i,s=1,e=arguments.length;s<e;s++)for(var n in i=arguments[s])Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n]);return t}).apply(this,arguments)},w={key:function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return null},onlyResolvesLast:!0},C=function(){function t(t){this.config=t,this.debounceSingleton=null,this.debounceCache={}}return t.prototype._createDebouncedFunction=function(){var t,i,s=function(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},e=void 0,n=void 0,h=void 0,r=[];return function(){var l=v(i),a=(new Date).getTime(),c=!e||a-e>l;e=a;for(var u=arguments.length,d=Array(u),p=0;p<u;p++)d[p]=arguments[p];if(c&&s.leading)return s.accumulate?Promise.resolve(t.call(this,[d])).then((function(t){return t[0]})):Promise.resolve(t.call.apply(t,[this].concat(d)));if(n?clearTimeout(h):n=y(),r.push(d),h=setTimeout(o.bind(this),l),s.accumulate){var m=r.length-1;return n.promise.then((function(t){return t[m]}))}return n.promise};function o(){var i=n;clearTimeout(h),Promise.resolve(s.accumulate?t.call(this,r):t.apply(this,r[r.length-1])).then(i.resolve,i.reject),r=[],n=null}}(this.config.func,this.config.wait,this.config.options);return this.config.options.onlyResolvesLast&&(t=s,i=null,s=function(){for(var s=[],e=0;e<arguments.length;e++)s[e]=arguments[e];i&&i();var n=g(t.apply(void 0,s));return i=n.cancel,n.promise}),{func:s}},t.prototype.getDebouncedFunction=function(t){var i,s=(i=this.config.options).key.apply(i,t);return null==s?(this.debounceSingleton||(this.debounceSingleton=this._createDebouncedFunction()),this.debounceSingleton):(this.debounceCache[s]||(this.debounceCache[s]=this._createDebouncedFunction()),this.debounceCache[s])},t}();const D=class{constructor(s){t(this,s),this.change=i(this,"change",7),this.interact=i(this,"interact",7),this.action=i(this,"action",7),this.chipSetEditMode=!1,this.disabled=!1,this.readonly=!1,this.label=void 0,this.searchLabel=void 0,this.helperText=void 0,this.leadingIcon=void 0,this.emptyResultMessage=void 0,this.required=!1,this.value=void 0,this.searcher=void 0,this.multiple=!1,this.delimiter=null,this.actions=[],this.actionPosition="bottom",this.actionScrollBehavior="sticky",this.badgeIcons=!0,this.items=void 0,this.textValue="",this.loading=!1,this.chips=[],this.handleTextInput=this.handleTextInput.bind(this),this.handleInputKeyDown=this.handleInputKeyDown.bind(this),this.handleDropdownKeyDown=this.handleDropdownKeyDown.bind(this),this.handleInputFieldFocus=this.handleInputFieldFocus.bind(this),this.handleChange=this.handleChange.bind(this),this.handleInteract=this.handleInteract.bind(this),this.handleListChange=this.handleListChange.bind(this),this.handleActionListChange=this.handleActionListChange.bind(this),this.handleStopEditAndBlur=this.handleStopEditAndBlur.bind(this),this.createDebouncedSearcher=this.createDebouncedSearcher.bind(this),this.handleCloseMenu=this.handleCloseMenu.bind(this),this.onListKeyDown=this.onListKeyDown.bind(this),this.portalId=f()}componentWillLoad(){this.chips=this.createChips(this.value)}componentDidLoad(){this.createDebouncedSearcher(this.searcher),this.chipSet=this.host.shadowRoot.querySelector("limel-chip-set")}async componentWillUpdate(){this.chipSetEditMode=!1,this.chipSet&&(this.chipSetEditMode=await this.chipSet.getEditMode())}render(){this.chips.forEach((t=>{"iconBackgroundColor"in t&&t.iconBackgroundColor&&(t.iconFillColor="rgb(var(--color-white))")}));const t={};return this.multiple||(t.maxItems=1),[s("limel-chip-set",Object.assign({type:"input",inputType:"search",label:this.label,helperText:this.helperText,leadingIcon:this.leadingIcon,value:this.chips,disabled:this.disabled,delimiter:this.renderDelimiter(),readonly:this.readonly,required:this.required,searchLabel:this.searchLabel,onInput:this.handleTextInput,onKeyDown:this.handleInputKeyDown,onChange:this.handleChange,onInteract:this.handleInteract,onStartEdit:this.handleInputFieldFocus,onStopEdit:this.handleStopEditAndBlur,emptyInputOnBlur:!1,clearAllButton:this.multiple},t)),this.renderDropdown()]}onChangeValue(){this.chips=this.createChips(this.value)}createDebouncedSearcher(t){var i,s,e;"function"==typeof t&&(this.debouncedSearch=(i=t,500,s=b({},w,undefined),e=new C({func:i,wait:500,options:s}),function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return e.getDebouncedFunction(t).func.apply(void 0,t)}))}renderDelimiter(){return this.multiple?this.delimiter:null}createChips(t){return t?this.multiple?t.map(this.createChip):[this.createChip(t)]:[]}createChip(t){return{id:`${t.value}`,text:t.text,removable:!0,icon:t.icon,iconBackgroundColor:t.iconColor,value:t}}renderDropdown(){const t=this.getDropdownContent(),i=[];if(this.shouldShowDropDownContent()){const s=this.getActionContent();"top"===this.actionPosition&&i.push(s),t&&i.push(t),"bottom"===this.actionPosition&&i.push(s)}return this.renderPortal(i)}getActionContent(){var t,i;return 0===(null!==(i=null===(t=this.actions)||void 0===t?void 0:t.length)&&void 0!==i?i:0)?null:[s("limel-list",{class:{"static-actions-list":!0,"is-on-top":"top"===this.actionPosition,"is-at-bottom":"bottom"===this.actionPosition,"has-position-sticky":"sticky"===this.actionScrollBehavior},badgeIcons:!0,type:"selectable",onChange:this.handleActionListChange,items:this.actions.map(this.removeUnusedPropertiesOnAction)})]}removeUnusedPropertiesOnAction(t){return Object.assign(Object.assign({},t),{actions:[]})}shouldShowDropDownContent(){return!this.isFull()&&!!this.chipSetEditMode}getDropdownContent(){if(this.shouldShowDropDownContent())return this.loading?this.renderSpinner():this.items&&this.items.length?this.renderListResult():this.renderEmptyMessage()}isFull(){return!this.multiple&&!!this.value}renderSpinner(){return s("div",{style:{width:"100%",display:"flex","align-items":"center","justify-content":"center",padding:"1rem 0"}},s("limel-spinner",{limeBranded:!1}))}renderEmptyMessage(){if(this.emptyResultMessage)return s("p",{style:{color:"rgb(var(--contrast-1100))","text-align":"center",margin:"0.5rem 1rem"}},this.emptyResultMessage)}renderListResult(){const t=this.items.some((t=>"icon"in t&&!!t.icon));return s("limel-list",{badgeIcons:t&&this.badgeIcons,onChange:this.handleListChange,onKeyDown:this.onListKeyDown,type:"selectable",items:this.items})}onListKeyDown(t){const i=[h,r,o].includes(t.key),s=[l,a,c].includes(t.keyCode);(i||s)&&this.chipSet.setFocus()}renderPortal(t=[]){const i=getComputedStyle(this.host).getPropertyValue("--dropdown-z-index");return s("limel-portal",{visible:t.length>0,containerId:this.portalId,inheritParentWidth:!0,containerStyle:{"z-index":i}},s("limel-menu-surface",{open:t.length>0,allowClicksElement:this.host,style:{"--mdc-menu-min-width":"100%","max-height":"inherit",display:"flex"},onDismiss:this.handleCloseMenu},t))}handleStopEditAndBlur(){const t=this.host.shadowRoot.activeElement||document.activeElement,i=document.querySelector(`#${this.portalId}`);n(t,this.host)||n(t,i)||this.clearInputField()}async handleTextInput(t){t.stopPropagation();const i=t.detail;this.textValue=i,this.loading=!0;const s=""===i?this.searcher:this.debouncedSearch,e=await s(i);this.handleSearchResult(i,e)}handleListChange(t){var i;if(t.stopPropagation(),!this.value||this.value!==t.detail){let i=t.detail;this.multiple&&(i=[...this.value,t.detail]),this.change.emit(i),this.items=[]}this.multiple&&(null===(i=this.chipSet)||void 0===i||i.setFocus(!0))}handleActionListChange(t){t.stopPropagation(),t.detail&&(this.action.emit(t.detail.value),this.items=[])}async handleInputFieldFocus(){this.loading=!0;const t=this.textValue,i=await this.searcher(t);this.handleSearchResult(t,i)}handleChange(t){t.stopPropagation();let i=null;this.multiple&&(i=t.detail.map((t=>this.value.find((i=>`${i.value}`===t.id))))),this.change.emit(i)}handleInteract(t){t.stopPropagation(),this.interact.emit(t.detail?t.detail.value:t.detail)}handleInputKeyDown(t){const i=!(t.key!==h&&t.keyCode!==l||t.altKey||t.metaKey||t.shiftKey),s=t.key===u||t.keyCode===d,e=t.key===p||t.keyCode===m;if(!i&&!s&&!e)return;const n=document.querySelector(` #${this.portalId} limel-list`);n&&(t.preventDefault(),i||e?n.shadowRoot.querySelector(".mdc-deprecated-list-item:first-child").focus():s&&n.shadowRoot.querySelector(".mdc-deprecated-list-item:last-child").focus())}handleDropdownKeyDown(t){(t.key===r||t.keyCode===a)&&(t.preventDefault(),this.textValue="",this.chipSet.setFocus(!0))}handleSearchResult(t,i){if(t===this.textValue){if(this.items=i,this.multiple){const t=this.value;this.items=i.filter((i=>!t.includes(i)))}this.loading=!1}}handleCloseMenu(){this.items.length>0||this.clearInputField()}clearInputField(){this.chipSet.emptyInput(),this.textValue="",this.handleSearchResult("",[])}get host(){return e(this)}static get watchers(){return{value:["onChangeValue"],searcher:["createDebouncedSearcher"]}}};D.style=":host{position:relative;display:block}:host([hidden]){display:none}";export{D as limel_picker}
@@ -1,82 +0,0 @@
1
- import{r as i,c as t,h as o,g as e}from"./p-d4e788e1.js";import{d as a}from"./p-c70b1ea3.js";import{c as n}from"./p-6c094f3f.js";import{M as d,a as c}from"./p-48d4ef20.js";import{m as r,c as l}from"./p-dcc97cc2.js";import{M as s}from"./p-cbc43682.js";import{A as m}from"./p-48105d44.js";import{i as g}from"./p-ade76f1d.js";import"./p-eda23c05.js";import"./p-c93050d6.js";import"./p-4c3358cb.js";import"./p-0b1af919.js";import"./p-858c6b82.js";import"./p-9acf7b5d.js";
2
- /**
3
- * @license
4
- * Copyright 2016 Google Inc.
5
- *
6
- * Permission is hereby granted, free of charge, to any person obtaining a copy
7
- * of this software and associated documentation files (the "Software"), to deal
8
- * in the Software without restriction, including without limitation the rights
9
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
- * copies of the Software, and to permit persons to whom the Software is
11
- * furnished to do so, subject to the following conditions:
12
- *
13
- * The above copyright notice and this permission notice shall be included in
14
- * all copies or substantial portions of the Software.
15
- *
16
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22
- * THE SOFTWARE.
23
- */
24
- /*! *****************************************************************************
25
- Copyright (c) Microsoft Corporation.
26
-
27
- Permission to use, copy, modify, and/or distribute this software for any
28
- purpose with or without fee is hereby granted.
29
-
30
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
31
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
32
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
33
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
34
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
35
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
36
- PERFORMANCE OF THIS SOFTWARE.
37
- ***************************************************************************** */
38
- var h=function(i,t){return(h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,t){i.__proto__=t}||function(i,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(i[o]=t[o])})(i,t)};function u(i,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=i}h(i,t),i.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}var f,p=function(){return(p=Object.assign||function(i){for(var t,o=1,e=arguments.length;o<e;o++)for(var a in t=arguments[o])Object.prototype.hasOwnProperty.call(t,a)&&(i[a]=t[a]);return i}).apply(this,arguments)},_=function(){function i(i,t){void 0===t&&(t={}),this.root=i,this.options=t,this.elFocusedBeforeTrapFocus=null}return i.prototype.trapFocus=function(){var i=this.getFocusableElements(this.root);if(0===i.length)throw new Error("FocusTrap: Element must have at least one focusable child.");this.elFocusedBeforeTrapFocus=document.activeElement instanceof HTMLElement?document.activeElement:null,this.wrapTabFocus(this.root),this.options.skipInitialFocus||this.focusInitialElement(i,this.options.initialFocusEl)},i.prototype.releaseFocus=function(){[].slice.call(this.root.querySelectorAll(".mdc-dom-focus-sentinel")).forEach((function(i){i.parentElement.removeChild(i)})),!this.options.skipRestoreFocus&&this.elFocusedBeforeTrapFocus&&this.elFocusedBeforeTrapFocus.focus()},i.prototype.wrapTabFocus=function(i){var t=this,o=this.createSentinel(),e=this.createSentinel();o.addEventListener("focus",(function(){var o=t.getFocusableElements(i);o.length>0&&o[o.length-1].focus()})),e.addEventListener("focus",(function(){var o=t.getFocusableElements(i);o.length>0&&o[0].focus()})),i.insertBefore(o,i.children[0]),i.appendChild(e)},i.prototype.focusInitialElement=function(i,t){var o=0;t&&(o=Math.max(i.indexOf(t),0)),i[o].focus()},i.prototype.getFocusableElements=function(i){return[].slice.call(i.querySelectorAll("[autofocus], [tabindex], a, input, textarea, select, button")).filter((function(i){var t="true"===i.getAttribute("aria-disabled")||null!=i.getAttribute("disabled")||null!=i.getAttribute("hidden")||"true"===i.getAttribute("aria-hidden"),o=i.tabIndex>=0&&i.getBoundingClientRect().width>0&&!i.classList.contains("mdc-dom-focus-sentinel")&&!t,e=!1;if(o){var a=getComputedStyle(i);e="none"===a.display||"hidden"===a.visibility}return o&&!e}))},i.prototype.createSentinel=function(){var i=document.createElement("div");return i.setAttribute("tabindex","0"),i.setAttribute("aria-hidden","true"),i.classList.add("mdc-dom-focus-sentinel"),i},i}(),b={CLOSING:"mdc-dialog--closing",OPEN:"mdc-dialog--open",OPENING:"mdc-dialog--opening",SCROLLABLE:"mdc-dialog--scrollable",SCROLL_LOCK:"mdc-dialog-scroll-lock",STACKED:"mdc-dialog--stacked",FULLSCREEN:"mdc-dialog--fullscreen",SCROLL_DIVIDER_HEADER:"mdc-dialog-scroll-divider-header",SCROLL_DIVIDER_FOOTER:"mdc-dialog-scroll-divider-footer",SURFACE_SCRIM_SHOWN:"mdc-dialog__surface-scrim--shown",SURFACE_SCRIM_SHOWING:"mdc-dialog__surface-scrim--showing",SURFACE_SCRIM_HIDING:"mdc-dialog__surface-scrim--hiding",SCRIM_HIDDEN:"mdc-dialog__scrim--hidden"},x={ACTION_ATTRIBUTE:"data-mdc-dialog-action",BUTTON_DEFAULT_ATTRIBUTE:"data-mdc-dialog-button-default",BUTTON_SELECTOR:".mdc-dialog__button",CLOSED_EVENT:"MDCDialog:closed",CLOSE_ACTION:"close",CLOSING_EVENT:"MDCDialog:closing",CONTAINER_SELECTOR:".mdc-dialog__container",CONTENT_SELECTOR:".mdc-dialog__content",DESTROY_ACTION:"destroy",INITIAL_FOCUS_ATTRIBUTE:"data-mdc-dialog-initial-focus",OPENED_EVENT:"MDCDialog:opened",OPENING_EVENT:"MDCDialog:opening",SCRIM_SELECTOR:".mdc-dialog__scrim",SUPPRESS_DEFAULT_PRESS_SELECTOR:["textarea",".mdc-menu .mdc-list-item",".mdc-menu .mdc-deprecated-list-item"].join(", "),SURFACE_SELECTOR:".mdc-dialog__surface"},v={DIALOG_ANIMATION_CLOSE_TIME_MS:75,DIALOG_ANIMATION_OPEN_TIME_MS:150};!function(i){i.POLL_SCROLL_POS="poll_scroll_position",i.POLL_LAYOUT_CHANGE="poll_layout_change"}(f||(f={}));var y=function(i){function t(o){var e=i.call(this,p(p({},t.defaultAdapter),o))||this;return e.dialogOpen=!1,e.isFullscreen=!1,e.animationFrame=0,e.animationTimer=0,e.escapeKeyAction=x.CLOSE_ACTION,e.scrimClickAction=x.CLOSE_ACTION,e.autoStackButtons=!0,e.areButtonsStacked=!1,e.suppressDefaultPressSelector=x.SUPPRESS_DEFAULT_PRESS_SELECTOR,e.animFrame=new m,e.contentScrollHandler=function(){e.handleScrollEvent()},e.windowResizeHandler=function(){e.layout()},e.windowOrientationChangeHandler=function(){e.layout()},e}return u(t,i),Object.defineProperty(t,"cssClasses",{get:function(){return b},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return x},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return v},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addBodyClass:function(){},addClass:function(){},areButtonsStacked:function(){return!1},clickDefaultButton:function(){},eventTargetMatches:function(){return!1},getActionFromEvent:function(){return""},getInitialFocusEl:function(){return null},hasClass:function(){return!1},isContentScrollable:function(){return!1},notifyClosed:function(){},notifyClosing:function(){},notifyOpened:function(){},notifyOpening:function(){},releaseFocus:function(){},removeBodyClass:function(){},removeClass:function(){},reverseButtons:function(){},trapFocus:function(){},registerContentEventHandler:function(){},deregisterContentEventHandler:function(){},isScrollableContentAtTop:function(){return!1},isScrollableContentAtBottom:function(){return!1},registerWindowEventHandler:function(){},deregisterWindowEventHandler:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){this.adapter.hasClass(b.STACKED)&&this.setAutoStackButtons(!1),this.isFullscreen=this.adapter.hasClass(b.FULLSCREEN)},t.prototype.destroy=function(){this.animationTimer&&(clearTimeout(this.animationTimer),this.handleAnimationTimerEnd()),this.isFullscreen&&this.adapter.deregisterContentEventHandler("scroll",this.contentScrollHandler),this.animFrame.cancelAll(),this.adapter.deregisterWindowEventHandler("resize",this.windowResizeHandler),this.adapter.deregisterWindowEventHandler("orientationchange",this.windowOrientationChangeHandler)},t.prototype.open=function(i){var t=this;this.dialogOpen=!0,this.adapter.notifyOpening(),this.adapter.addClass(b.OPENING),this.isFullscreen&&this.adapter.registerContentEventHandler("scroll",this.contentScrollHandler),i&&i.isAboveFullscreenDialog&&this.adapter.addClass(b.SCRIM_HIDDEN),this.adapter.registerWindowEventHandler("resize",this.windowResizeHandler),this.adapter.registerWindowEventHandler("orientationchange",this.windowOrientationChangeHandler),this.runNextAnimationFrame((function(){t.adapter.addClass(b.OPEN),t.adapter.addBodyClass(b.SCROLL_LOCK),t.layout(),t.animationTimer=setTimeout((function(){t.handleAnimationTimerEnd(),t.adapter.trapFocus(t.adapter.getInitialFocusEl()),t.adapter.notifyOpened()}),v.DIALOG_ANIMATION_OPEN_TIME_MS)}))},t.prototype.close=function(i){var t=this;void 0===i&&(i=""),this.dialogOpen&&(this.dialogOpen=!1,this.adapter.notifyClosing(i),this.adapter.addClass(b.CLOSING),this.adapter.removeClass(b.OPEN),this.adapter.removeBodyClass(b.SCROLL_LOCK),this.isFullscreen&&this.adapter.deregisterContentEventHandler("scroll",this.contentScrollHandler),this.adapter.deregisterWindowEventHandler("resize",this.windowResizeHandler),this.adapter.deregisterWindowEventHandler("orientationchange",this.windowOrientationChangeHandler),cancelAnimationFrame(this.animationFrame),this.animationFrame=0,clearTimeout(this.animationTimer),this.animationTimer=setTimeout((function(){t.adapter.releaseFocus(),t.handleAnimationTimerEnd(),t.adapter.notifyClosed(i)}),v.DIALOG_ANIMATION_CLOSE_TIME_MS))},t.prototype.showSurfaceScrim=function(){var i=this;this.adapter.addClass(b.SURFACE_SCRIM_SHOWING),this.runNextAnimationFrame((function(){i.adapter.addClass(b.SURFACE_SCRIM_SHOWN)}))},t.prototype.hideSurfaceScrim=function(){this.adapter.removeClass(b.SURFACE_SCRIM_SHOWN),this.adapter.addClass(b.SURFACE_SCRIM_HIDING)},t.prototype.handleSurfaceScrimTransitionEnd=function(){this.adapter.removeClass(b.SURFACE_SCRIM_HIDING),this.adapter.removeClass(b.SURFACE_SCRIM_SHOWING)},t.prototype.isOpen=function(){return this.dialogOpen},t.prototype.getEscapeKeyAction=function(){return this.escapeKeyAction},t.prototype.setEscapeKeyAction=function(i){this.escapeKeyAction=i},t.prototype.getScrimClickAction=function(){return this.scrimClickAction},t.prototype.setScrimClickAction=function(i){this.scrimClickAction=i},t.prototype.getAutoStackButtons=function(){return this.autoStackButtons},t.prototype.setAutoStackButtons=function(i){this.autoStackButtons=i},t.prototype.getSuppressDefaultPressSelector=function(){return this.suppressDefaultPressSelector},t.prototype.setSuppressDefaultPressSelector=function(i){this.suppressDefaultPressSelector=i},t.prototype.layout=function(){var i=this;this.animFrame.request(f.POLL_LAYOUT_CHANGE,(function(){i.layoutInternal()}))},t.prototype.handleClick=function(i){if(this.adapter.eventTargetMatches(i.target,x.SCRIM_SELECTOR)&&""!==this.scrimClickAction)this.close(this.scrimClickAction);else{var t=this.adapter.getActionFromEvent(i);t&&this.close(t)}},t.prototype.handleKeydown=function(i){var t="Enter"===i.key||13===i.keyCode;if(t&&!this.adapter.getActionFromEvent(i)){var o=i.composedPath?i.composedPath()[0]:i.target,e=!this.suppressDefaultPressSelector||!this.adapter.eventTargetMatches(o,this.suppressDefaultPressSelector);t&&e&&this.adapter.clickDefaultButton()}},t.prototype.handleDocumentKeydown=function(i){("Escape"===i.key||27===i.keyCode)&&""!==this.escapeKeyAction&&this.close(this.escapeKeyAction)},t.prototype.handleScrollEvent=function(){var i=this;this.animFrame.request(f.POLL_SCROLL_POS,(function(){i.toggleScrollDividerHeader(),i.toggleScrollDividerFooter()}))},t.prototype.layoutInternal=function(){this.autoStackButtons&&this.detectStackedButtons(),this.toggleScrollableClasses()},t.prototype.handleAnimationTimerEnd=function(){this.animationTimer=0,this.adapter.removeClass(b.OPENING),this.adapter.removeClass(b.CLOSING)},t.prototype.runNextAnimationFrame=function(i){var t=this;cancelAnimationFrame(this.animationFrame),this.animationFrame=requestAnimationFrame((function(){t.animationFrame=0,clearTimeout(t.animationTimer),t.animationTimer=setTimeout(i,0)}))},t.prototype.detectStackedButtons=function(){this.adapter.removeClass(b.STACKED);var i=this.adapter.areButtonsStacked();i&&this.adapter.addClass(b.STACKED),i!==this.areButtonsStacked&&(this.adapter.reverseButtons(),this.areButtonsStacked=i)},t.prototype.toggleScrollableClasses=function(){this.adapter.removeClass(b.SCROLLABLE),this.adapter.isContentScrollable()&&(this.adapter.addClass(b.SCROLLABLE),this.isFullscreen&&(this.toggleScrollDividerHeader(),this.toggleScrollDividerFooter()))},t.prototype.toggleScrollDividerHeader=function(){this.adapter.isScrollableContentAtTop()?this.adapter.hasClass(b.SCROLL_DIVIDER_HEADER)&&this.adapter.removeClass(b.SCROLL_DIVIDER_HEADER):this.adapter.addClass(b.SCROLL_DIVIDER_HEADER)},t.prototype.toggleScrollDividerFooter=function(){this.adapter.isScrollableContentAtBottom()?this.adapter.hasClass(b.SCROLL_DIVIDER_FOOTER)&&this.adapter.removeClass(b.SCROLL_DIVIDER_FOOTER):this.adapter.addClass(b.SCROLL_DIVIDER_FOOTER)},t}(d),w=y.strings,E=function(i){function t(){return null!==i&&i.apply(this,arguments)||this}return u(t,i),Object.defineProperty(t.prototype,"isOpen",{get:function(){return this.foundation.isOpen()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"escapeKeyAction",{get:function(){return this.foundation.getEscapeKeyAction()},set:function(i){this.foundation.setEscapeKeyAction(i)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scrimClickAction",{get:function(){return this.foundation.getScrimClickAction()},set:function(i){this.foundation.setScrimClickAction(i)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"autoStackButtons",{get:function(){return this.foundation.getAutoStackButtons()},set:function(i){this.foundation.setAutoStackButtons(i)},enumerable:!1,configurable:!0}),t.attachTo=function(i){return new t(i)},t.prototype.initialize=function(i){var t,o;void 0===i&&(i=function(i,t){return new _(i,t)});var e=this.root.querySelector(w.CONTAINER_SELECTOR);if(!e)throw new Error("Dialog component requires a "+w.CONTAINER_SELECTOR+" container element");this.container=e,this.content=this.root.querySelector(w.CONTENT_SELECTOR),this.buttons=[].slice.call(this.root.querySelectorAll(w.BUTTON_SELECTOR)),this.defaultButton=this.root.querySelector("["+w.BUTTON_DEFAULT_ATTRIBUTE+"]"),this.focusTrapFactory=i,this.buttonRipples=[];try{for(var a=function(i){var t="function"==typeof Symbol&&Symbol.iterator,o=t&&i[t],e=0;if(o)return o.call(i);if(i&&"number"==typeof i.length)return{next:function(){return i&&e>=i.length&&(i=void 0),{value:i&&i[e++],done:!i}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}
39
- /**
40
- * @license
41
- * Copyright 2020 Google Inc.
42
- *
43
- * Permission is hereby granted, free of charge, to any person obtaining a copy
44
- * of this software and associated documentation files (the "Software"), to deal
45
- * in the Software without restriction, including without limitation the rights
46
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
47
- * copies of the Software, and to permit persons to whom the Software is
48
- * furnished to do so, subject to the following conditions:
49
- *
50
- * The above copyright notice and this permission notice shall be included in
51
- * all copies or substantial portions of the Software.
52
- *
53
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
54
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
55
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
56
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
57
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
58
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
59
- * THE SOFTWARE.
60
- */(this.buttons),n=a.next();!n.done;n=a.next())this.buttonRipples.push(new s(n.value))}catch(i){t={error:i}}finally{try{n&&!n.done&&(o=a.return)&&o.call(a)}finally{if(t)throw t.error}}},t.prototype.initialSyncWithDOM=function(){var i=this;this.focusTrap=(0,this.focusTrapFactory)(this.container,{initialFocusEl:this.getInitialFocusEl()||void 0}),this.handleClick=this.foundation.handleClick.bind(this.foundation),this.handleKeydown=this.foundation.handleKeydown.bind(this.foundation),this.handleDocumentKeydown=this.foundation.handleDocumentKeydown.bind(this.foundation),this.handleOpening=function(){document.addEventListener("keydown",i.handleDocumentKeydown)},this.handleClosing=function(){document.removeEventListener("keydown",i.handleDocumentKeydown)},this.listen("click",this.handleClick),this.listen("keydown",this.handleKeydown),this.listen(w.OPENING_EVENT,this.handleOpening),this.listen(w.CLOSING_EVENT,this.handleClosing)},t.prototype.destroy=function(){this.unlisten("click",this.handleClick),this.unlisten("keydown",this.handleKeydown),this.unlisten(w.OPENING_EVENT,this.handleOpening),this.unlisten(w.CLOSING_EVENT,this.handleClosing),this.handleClosing(),this.buttonRipples.forEach((function(i){i.destroy()})),i.prototype.destroy.call(this)},t.prototype.layout=function(){this.foundation.layout()},t.prototype.open=function(){this.foundation.open()},t.prototype.close=function(i){void 0===i&&(i=""),this.foundation.close(i)},t.prototype.getDefaultFoundation=function(){var i=this;return new y({addBodyClass:function(i){return document.body.classList.add(i)},addClass:function(t){return i.root.classList.add(t)},areButtonsStacked:function(){return t=i.buttons,o=new Set,[].forEach.call(t,(function(i){return o.add(i.offsetTop)})),o.size>1;var t,o},clickDefaultButton:function(){i.defaultButton&&!i.defaultButton.disabled&&i.defaultButton.click()},eventTargetMatches:function(i,t){return!!i&&r(i,t)},getActionFromEvent:function(i){if(!i.target)return"";var t=l(i.target,"["+w.ACTION_ATTRIBUTE+"]");return t&&t.getAttribute(w.ACTION_ATTRIBUTE)},getInitialFocusEl:function(){return i.getInitialFocusEl()},hasClass:function(t){return i.root.classList.contains(t)},isContentScrollable:function(){return!!(t=i.content)&&t.scrollHeight>t.offsetHeight;var t},notifyClosed:function(t){return i.emit(w.CLOSED_EVENT,t?{action:t}:{})},notifyClosing:function(t){return i.emit(w.CLOSING_EVENT,t?{action:t}:{})},notifyOpened:function(){return i.emit(w.OPENED_EVENT,{})},notifyOpening:function(){return i.emit(w.OPENING_EVENT,{})},releaseFocus:function(){i.focusTrap.releaseFocus()},removeBodyClass:function(i){return document.body.classList.remove(i)},removeClass:function(t){return i.root.classList.remove(t)},reverseButtons:function(){i.buttons.reverse(),i.buttons.forEach((function(i){i.parentElement.appendChild(i)}))},trapFocus:function(){i.focusTrap.trapFocus()},registerContentEventHandler:function(t,o){i.content instanceof HTMLElement&&i.content.addEventListener(t,o)},deregisterContentEventHandler:function(t,o){i.content instanceof HTMLElement&&i.content.removeEventListener(t,o)},isScrollableContentAtTop:function(){return!!(t=i.content)&&0===t.scrollTop;var t},isScrollableContentAtBottom:function(){return!!(t=i.content)&&Math.ceil(t.scrollHeight-t.scrollTop)===t.clientHeight;var t},registerWindowEventHandler:function(i,t){window.addEventListener(i,t)},deregisterWindowEventHandler:function(i,t){window.removeEventListener(i,t)}})},t.prototype.getInitialFocusEl=function(){return this.root.querySelector("["+w.INITIAL_FOCUS_ATTRIBUTE+"]")},t}(c);
61
- /**
62
- * @license
63
- * Copyright 2017 Google Inc.
64
- *
65
- * Permission is hereby granted, free of charge, to any person obtaining a copy
66
- * of this software and associated documentation files (the "Software"), to deal
67
- * in the Software without restriction, including without limitation the rights
68
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
69
- * copies of the Software, and to permit persons to whom the Software is
70
- * furnished to do so, subject to the following conditions:
71
- *
72
- * The above copyright notice and this permission notice shall be included in
73
- * all copies or substantial portions of the Software.
74
- *
75
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
76
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
77
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
78
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
79
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
80
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
81
- * THE SOFTWARE.
82
- */const C=class{constructor(o){i(this,o),this.close=t(this,"close",7),this.closing=t(this,"closing",7),this.showFooter=!0,this.heading=void 0,this.fullscreen=!1,this.open=!1,this.closingActions={escapeKey:!0,scrimClick:!0},this.handleMdcOpened=this.handleMdcOpened.bind(this),this.handleMdcClosed=this.handleMdcClosed.bind(this),this.handleMdcClosing=this.handleMdcClosing.bind(this)}connectedCallback(){this.initialize()}componentWillLoad(){this.id=n(),this.showFooter=!!this.host.querySelector('[slot="button"]')}componentDidLoad(){this.initialize()}initialize(){const i=this.host.shadowRoot.querySelector(".mdc-dialog");i&&(this.mdcDialog=new E(i),this.open&&this.mdcDialog.open(),this.mdcDialog.listen("MDCDialog:opened",this.handleMdcOpened),this.mdcDialog.listen("MDCDialog:closed",this.handleMdcClosed),this.mdcDialog.listen("MDCDialog:closing",this.handleMdcClosing),this.setClosingActions())}disconnectedCallback(){this.mdcDialog.unlisten("MDCDialog:opened",this.handleMdcOpened),this.mdcDialog.unlisten("MDCDialog:closed",this.handleMdcClosed),this.mdcDialog.unlisten("MDCDialog:closing",this.handleMdcClosing),this.mdcDialog.destroy()}render(){return o("div",{class:{"mdc-dialog":!0,"full-screen":!!this.fullscreen},role:"alertdialog","aria-modal":"true","aria-labelledby":"limel-dialog-title-"+this.id,"aria-describedby":"limel-dialog-content-"+this.id},o("input",{hidden:!0,id:"initialFocusEl"}),o("div",{class:"mdc-dialog__container"},o("div",{class:"mdc-dialog__surface"},o("input",{type:"text",id:"initialFocusElement"}),this.renderHeading(),o("div",{class:"mdc-dialog__content scrollbox",id:"limel-dialog-content-"+this.id},o("slot",null)),this.renderFooter())),o("div",{class:"mdc-dialog__scrim"}))}watchHandler(i,t){t!==i&&this.mdcDialog&&(i?this.mdcDialog.open():this.mdcDialog.close())}closingActionsChanged(i,t){g(i,t)||this.setClosingActions()}handleMdcOpened(){setTimeout(a,100)}handleMdcClosed(){this.open&&this.close.emit(),this.open=!1}handleMdcClosing(){this.closing.emit()}isBadgeHeading(i){return"object"==typeof i&&!!i.title&&!!i.icon}renderHeading(){if(this.isBadgeHeading(this.heading)){const{title:i,subtitle:t,supportingText:e,icon:a}=this.heading;return o("limel-header",{icon:a,heading:i,subheading:t,supportingText:e})}return"string"==typeof this.heading?o("limel-header",{heading:this.heading}):null}renderFooter(){if(this.showFooter)return o("footer",{class:"mdc-dialog__actions"},o("slot",{name:"button"}))}setClosingActions(){this.mdcDialog.scrimClickAction="",this.closingActions.scrimClick&&(this.mdcDialog.scrimClickAction="close"),this.mdcDialog.escapeKeyAction="",this.closingActions.escapeKey&&(this.mdcDialog.escapeKeyAction="close")}get host(){return e(this)}static get watchers(){return{open:["watchHandler"],closingActions:["closingActionsChanged"]}}};C.style=':host{--mdc-theme-primary:var(\n --lime-primary-color,\n rgb(var(--color-teal-default))\n );--mdc-theme-secondary:var(\n --lime-secondary-color,\n rgb(var(--contrast-1100))\n );--mdc-theme-on-primary:var(\n --lime-on-primary-color,\n rgb(var(--contrast-100))\n );--mdc-theme-on-secondary:var(\n --lime-on-secondary-color,\n rgb(var(--contrast-100))\n );--mdc-theme-text-disabled-on-background:var(\n --lime-text-disabled-on-background-color,\n rgba(var(--contrast-1700), 0.38)\n );--mdc-theme-text-primary-on-background:var(\n --lime-text-primary-on-background-color,\n rgba(var(--contrast-1700), 0.87)\n );--mdc-theme-text-secondary-on-background:var(\n --lime-text-secondary-on-background-color,\n rgba(var(--contrast-1700), 0.54)\n );--mdc-theme-error:var(\n --lime-error-background-color,\n rgb(var(--color-red-dark))\n );--lime-error-text-color:rgb(var(--color-red-darker));--mdc-theme-surface:var(\n --lime-surface-background-color,\n rgb(var(--contrast-100))\n );--mdc-theme-on-surface:var(\n --lime-on-surface-color,\n rgb(var(--contrast-1500))\n )}:host{--dialog-background-color:var(--lime-elevated-surface-background-color);--header-heading-color:var(--dialog-heading-title-color);--header-subheading-color:var(--dialog-heading-subtitle-color);--header-supporting-text-color:var(--dialog-heading-supporting-text-color);--header-icon-color:var(--dialog-heading-icon-color);--header-icon-background-color:var(--dialog-heading-icon-background-color)}.mdc-dialog .mdc-dialog__surface{background-color:#fff;background-color:var(--mdc-theme-surface, #fff)}.mdc-dialog .mdc-dialog__scrim{background-color:rgba(0, 0, 0, 0.32)}.mdc-dialog .mdc-dialog__surface-scrim{background-color:rgba(0, 0, 0, 0.32)}.mdc-dialog .mdc-dialog__title{color:rgba(0, 0, 0, 0.87)}.mdc-dialog .mdc-dialog__content{color:rgba(0, 0, 0, 0.6)}.mdc-dialog .mdc-dialog__close{color:#000;color:var(--mdc-theme-on-surface, #000)}.mdc-dialog .mdc-dialog__close .mdc-icon-button__ripple::before,.mdc-dialog .mdc-dialog__close .mdc-icon-button__ripple::after{background-color:#000;background-color:var(--mdc-ripple-color, var(--mdc-theme-on-surface, #000))}.mdc-dialog .mdc-dialog__close:hover .mdc-icon-button__ripple::before,.mdc-dialog .mdc-dialog__close.mdc-ripple-surface--hover .mdc-icon-button__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-dialog .mdc-dialog__close.mdc-ripple-upgraded--background-focused .mdc-icon-button__ripple::before,.mdc-dialog .mdc-dialog__close:not(.mdc-ripple-upgraded):focus .mdc-icon-button__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-dialog .mdc-dialog__close:not(.mdc-ripple-upgraded) .mdc-icon-button__ripple::after{transition:opacity 150ms linear}.mdc-dialog .mdc-dialog__close:not(.mdc-ripple-upgraded):active .mdc-icon-button__ripple::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-dialog .mdc-dialog__close.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-dialog.mdc-dialog--scrollable .mdc-dialog__title,.mdc-dialog.mdc-dialog--scrollable .mdc-dialog__actions,.mdc-dialog.mdc-dialog--scrollable.mdc-dialog-scroll-divider-footer .mdc-dialog__actions{border-color:rgba(0, 0, 0, 0.12)}.mdc-dialog.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:1px solid rgba(0, 0, 0, 0.12);margin-bottom:0}.mdc-dialog.mdc-dialog-scroll-divider-header.mdc-dialog--fullscreen .mdc-dialog__header{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}.mdc-dialog .mdc-dialog__surface{border-radius:4px;border-radius:var(--mdc-shape-medium, 4px)}.mdc-dialog__surface{box-shadow:0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12)}.mdc-dialog__title{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-headline6-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-headline6-font-size, 0.875rem);line-height:0.875rem;line-height:var(--mdc-typography-headline6-line-height, 0.875rem);font-weight:500;font-weight:var(--mdc-typography-headline6-font-weight, 500);letter-spacing:0.0125em;letter-spacing:var(--mdc-typography-headline6-letter-spacing, 0.0125em);text-decoration:inherit;text-decoration:var(--mdc-typography-headline6-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline6-text-transform, inherit)}.mdc-dialog__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.8125rem;font-size:var(--mdc-typography-body1-font-size, 0.8125rem);line-height:1.5rem;line-height:var(--mdc-typography-body1-line-height, 1.5rem);font-weight:400;font-weight:var(--mdc-typography-body1-font-weight, 400);letter-spacing:0.03125em;letter-spacing:var(--mdc-typography-body1-letter-spacing, 0.03125em);text-decoration:inherit;text-decoration:var(--mdc-typography-body1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body1-text-transform, inherit)}.mdc-dialog__title-icon{}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:0;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:#fff;background-color:var(--mdc-elevation-overlay-color, #fff)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:7;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media (max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media (min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}@media all and (-ms-high-contrast: none), (-ms-high-contrast: active){.mdc-dialog .mdc-dialog__container{}}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media (max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media (max-width: 720px) and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media (max-width: 720px) and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media (max-width: 720px) and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media (max-width: 720px) and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media (max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media (max-width: 720px) and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media (max-width: 600px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media (min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right;}@media screen and (forced-colors: active), (-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid transparent;border-radius:inherit;content:"";pointer-events:none}@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right;}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid transparent;display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid transparent}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;-webkit-overflow-scrolling:touch}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid transparent}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px;}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0;}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left;}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear, transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1;z-index:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog{z-index:var(--dialog-z-index, 7);padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}@media (max-width: 16032px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media (min-width: 16032px){.mdc-dialog .mdc-dialog__surface{max-width:16000px}}@media (max-height: 16032px){.mdc-dialog.full-screen .mdc-dialog__surface{max-height:calc(100% - 32px)}}@media (min-height: 16032px){.mdc-dialog.full-screen .mdc-dialog__surface{max-height:16000px}}@media all and (-ms-high-contrast: none), (-ms-high-contrast: active){.mdc-dialog.full-screen .mdc-dialog__container{}}@media (-ms-high-contrast: none) and (min-height: 16032px), (-ms-high-contrast: active) and (min-height: 16032px){.mdc-dialog.full-screen .mdc-dialog__container{align-items:stretch;height:auto}}.mdc-dialog.full-screen .mdc-dialog__container{height:100%;width:100%}.mdc-dialog.full-screen .mdc-dialog__container .mdc-dialog__surface{height:100%;width:100%}.mdc-dialog .mdc-dialog__scrim{background-color:rgba(var(--color-black), 0.4)}.mdc-dialog .mdc-dialog__container{height:100%;width:var(--dialog-width, auto)}.mdc-dialog .mdc-dialog__surface{width:var(--dialog-width, auto);height:var(--dialog-height, auto);background-color:var(--dialog-background-color);box-shadow:var(--shadow-depth-64);max-width:var(--dialog-max-width, calc(100vw - 2rem));max-height:var(--dialog-max-height, calc(100% - 2rem));border-radius:var(--dialog-border-radius, 0.25rem)}.mdc-dialog .mdc-dialog__content{color:var(--mdc-theme-on-surface);padding:var(--dialog-padding-top-bottom, min(1.5rem, 3vw)) var(--dialog-padding-left-right, min(1.25rem, 3vw))}.scrollbox{--dialog-background-color-transparent:rgba(var(--contrast-100), 0);--dialog-scroll-shadow-color:rgba(var(--color-black), 0.2);--dialog-scroll-shadow-color-transparent:rgba(var(--color-black), 0);background:linear-gradient(var(--dialog-background-color) 30%, var(--dialog-background-color-transparent)), linear-gradient(var(--dialog-background-color-transparent), var(--dialog-background-color) 70%) 0 100%, radial-gradient(farthest-side at 50% 0, var(--dialog-scroll-shadow-color), var(--dialog-scroll-shadow-color-transparent)), radial-gradient(farthest-side at 50% 100%, var(--dialog-scroll-shadow-color), var(--dialog-scroll-shadow-color-transparent)) 0 100%;background-repeat:no-repeat;background-color:var(--dialog-background-color);background-size:100% 2.5rem, 100% 2.5rem, 100% 0.875rem, 100% 0.875rem;background-attachment:local, local, scroll, scroll}#initialFocusElement{position:absolute;opacity:0;pointer-events:none;z-index:-1}slot[name=header]{display:none}slot[name=button]{display:flex;gap:0.5rem;width:100%;justify-content:flex-end}@media screen and (max-width: 760px){slot[name=button]{flex-direction:column-reverse}.mdc-dialog__actions{padding:min(1.5rem, 3vw);padding-top:1rem}}';export{C as limel_dialog}
@@ -1 +0,0 @@
1
- import{r as e,c as t,h as r,g as s}from"./p-d4e788e1.js";const o=class{constructor(r){e(this,r),this.interact=t(this,"interact",7),this.handleClick=()=>{this.interact.emit()},this.item=null,this.disabled=!1,this.readonly=!1}render(){var e;if(this.item)return[r("button",{tabindex:"0",title:this.getToolTipText(),type:"button",class:{step:!0,selected:null===(e=this.item)||void 0===e?void 0:e.selected,disabled:this.isDisabled(),readonly:this.readonly},onClick:this.handleClick,disabled:this.isDisabled()},this.renderIcon(),r("span",{class:"text"},this.item.text),this.renderDivider()),this.renderSecondaryText()]}isDisabled(){var e;return(null===(e=this.item)||void 0===e?void 0:e.disabled)||this.readonly||this.disabled}getToolTipText(){return this.item.secondaryText?[this.item.text,this.item.secondaryText].join(" · "):this.item.text}renderSecondaryText(){var e;if(null===(e=this.item)||void 0===e?void 0:e.secondaryText)return r("div",{class:"secondary-text"},this.item.secondaryText)}renderIcon(){if(this.item.icon)return r("limel-icon",{name:this.item.icon,size:"small",class:"icon"})}renderDivider(){if(!this.item.isOffProgress)return r("div",{class:"divider"})}get element(){return s(this)}};o.style=".flow-item{--step-background:var(\n --progress-flow-step-background-color,\n rgb(var(--contrast-600))\n );--step-background--selected:var(\n --progress-flow-step-background-color--selected,\n var(--mdc-theme-primary)\n );--step-background--passed:var(\n --progress-flow-step-background-color--passed,\n var(--step-background--selected)\n );--step-text:var(\n --progress-flow-step-text-color,\n rgb(var(--contrast-1200))\n );--step-text--selected:var(\n --progress-flow-step-text-color--selected,\n var(--mdc-theme-on-primary)\n );--step-text--passed:var(\n --progress-flow-step-text-color--passed,\n var(--step-text--selected)\n );--step-divider-color:var(\n --progress-flow-step-divider-color,\n rgb(var(--contrast-100))\n );position:relative;width:100%;display:flex;flex-direction:column;align-items:stretch}.flow-item:not(.off-progress-item,.last) .divider:after{content:\"\"}.flow-item.off-progress-item{padding-left:0.5rem}.flow-item.first-off-progress-item{padding-left:1rem}.step{transition:background-color 0.2s ease, box-shadow 0.2s ease;display:flex;justify-content:center;align-items:center;position:relative;width:100%;height:var(--step-height);border:none;font-size:0.875rem}.step.disabled{cursor:not-allowed}.step.disabled.readonly{opacity:1;cursor:default}.step:focus{outline:none}.step:focus-visible{box-shadow:var(--shadow-depth-8-focused)}.flow-item:not(.off-progress-item,.first) .step{padding-left:calc(var(--step-height) / 2)}.flow-item:not(.selected) .step:not(.disabled){cursor:pointer}.flow-item:not(.selected) .step:not(.disabled):hover{box-shadow:var(--button-shadow-normal)}.flow-item:not(.selected) .step:not(.disabled):active{box-shadow:var(--button-shadow-pressed)}.off-progress-item .step{border-radius:0.25rem;padding:0 0.75rem}.off-progress-item .step .icon{margin-left:0}.flow-item.first .step{border-top-left-radius:var(--step-height);border-bottom-left-radius:var(--step-height);padding-left:1.25rem}.flow-item.last .step{border-top-right-radius:var(--step-height);border-bottom-right-radius:var(--step-height);padding-right:1.25rem}.divider{display:flex;align-items:center;justify-content:center;width:var(--step-height);height:var(--step-height);position:absolute;z-index:1;right:calc(var(--step-height) / 2 * -1);overflow:hidden}.divider:after{position:absolute;display:block;box-sizing:border-box;transition:background-color 0.2s ease;width:100%;height:100%;right:calc(var(--step-height) / 5);transform:rotate(45deg);border-style:solid;border-width:0.125rem 0.125rem 0 0;border-radius:0 0.5rem 0 0;border-color:var(--step-divider-color)}.flow-item.last .divider{width:0}.text,.secondary-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:var(--max-text-width);z-index:2}.secondary-text{font-size:0.75rem;margin:auto;padding-left:calc(var(--step-height) / 2)}.icon{margin:0 0.5rem 0 0.25rem;z-index:2}.step:before,.step:after{pointer-events:none;box-sizing:border-box;z-index:2;position:absolute;right:var(--selected-indicator-right);border-radius:50%}.last .step:before,.last .step:after{right:0.5rem}.flow-item:not(.off-progress-item) .step.selected:before,.flow-item:not(.off-progress-item) .step.selected:after{content:\"\";width:0.375rem;height:0.375rem}.flow-item:not(.off-progress-item) .step.selected:before{background-color:var(--step-divider-color);opacity:0.7}.flow-item:not(.off-progress-item) .step.disabled:before,.flow-item:not(.off-progress-item) .step.disabled:after{width:0.75rem;height:0.75rem}.flow-item:not(.off-progress-item) .step.disabled:after{content:\"\";background-image:url(\"data:image/svg+xml;charset=utf-8, <svg viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg' xml:space='preserve' fill-rule='evenodd' clip-rule='evenodd' stroke-linejoin='round' stroke-miterlimit='2'><path fill='rgb(127,127,127)' d='M32.18 13.711c0-2.207-1.793-4-4.002-4H11.821c-2.208 0-4 1.793-4 4V28.29a4 4 0 0 0 4 4h16.357a4.002 4.002 0 0 0 4.001-4V13.711Z'/><path fill='rgb(127,127,127)' d='M11.211 9.758V7.673A7.489 7.489 0 0 1 18.696.188h2.608a7.489 7.489 0 0 1 7.485 7.485v2.085h-3V7.673a4.488 4.488 0 0 0-4.485-4.485h-2.608a4.488 4.488 0 0 0-4.485 4.485v2.085h-3Z'/></svg>\");background-size:90%;background-repeat:no-repeat;background-position:center;mix-blend-mode:multiply}.step{color:var(--step-text);background-color:var(--step-background)}.step .icon{color:var(--progress-flow-icon-color--inactive, var(--step-text))}.flow-item.selected .step{color:var(--step-text--selected);background-color:var(--step-background--selected)}.flow-item.selected .step .divider:after{background-color:var(--step-background--selected)}.flow-item.selected .step .icon{color:var(--step-text--selected)}.flow-item.passed .step{color:var(--step-text--passed);background-color:var(--step-background--passed)}.flow-item.passed .step .divider:after{background-color:var(--step-background--passed)}.flow-item.passed .step .icon{color:var(--step-text--passed)}.divider:after{border-color:var(--step-divider-color);background-color:var(--step-background)}";export{o as limel_progress_flow_item}
@@ -1 +0,0 @@
1
- import{h as c}from"./p-d4e788e1.js";const e=e=>{const o={};return e.indeterminate&&(o["data-indeterminate"]="true"),[c("div",{class:"mdc-form-field "},c("div",{class:{"mdc-checkbox":!0,"mdc-checkbox--invalid":e.invalid,"mdc-checkbox--disabled":e.disabled,"mdc-checkbox--required":e.required,"mdc-checkbox--indeterminate":e.indeterminate,"lime-checkbox--readonly":e.readonly}},c("input",Object.assign({type:"checkbox",class:"mdc-checkbox__native-control",id:e.id,checked:e.checked,disabled:e.disabled||e.readonly,required:e.required,onChange:e.onChange},o)),c("div",{class:"mdc-checkbox__background"},c("svg",{class:"mdc-checkbox__checkmark",viewBox:"0 0 24 24"},c("path",{class:"mdc-checkbox__checkmark-path",fill:"none",d:"M1.73,12.91 8.1,19.28 22.79,4.59"})),c("div",{class:"mdc-checkbox__mixedmark"}))),c("label",{class:{"mdc-checkbox--invalid":e.invalid,"mdc-checkbox--disabled":e.disabled,"mdc-checkbox--required":e.required,"mdc-checkbox--indeterminate":e.indeterminate,"lime-checkbox--readonly":e.readonly},htmlFor:e.id},e.label)),c(d,{text:e.helperText})]},d=e=>{if("string"==typeof e.text)return c("limel-helper-line",{helperText:e.text.trim()})};export{e as C}
@@ -1,2 +0,0 @@
1
- let e,t,n=!1,l=!1;const s="http://www.w3.org/1999/xlink",o={},i=e=>"object"==(e=typeof e)||"function"===e,c=(e,t,...n)=>{let l=null,s=null,o=!1,c=!1;const a=[],f=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?f(l):null!=l&&"boolean"!=typeof l&&((o="function"!=typeof e&&!i(l))&&(l+=""),o&&c?a[a.length-1].t+=l:a.push(o?r(null,l):l),c=o)};if(f(n),t){t.key&&(s=t.key);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,a,u);const d=r(e,null);return d.l=t,a.length>0&&(d.o=a),d.i=s,d},r=(e,t)=>({u:0,p:e,t,h:null,o:null,l:null,i:null}),a={},u={forEach:(e,t)=>e.map(f).forEach(t),map:(e,t)=>e.map(f).map(t).map(d)},f=e=>({vattrs:e.l,vchildren:e.o,vkey:e.i,vname:e.m,vtag:e.p,vtext:e.t}),d=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),c(e.vtag,t,...e.vchildren||[])}const t=r(e.vtag,e.vtext);return t.l=e.vattrs,t.o=e.vchildren,t.i=e.vkey,t.m=e.vname,t},p=e=>G(e).$,h=(e,t,n)=>{const l=p(e);return{emit:e=>m(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},m=(e,t,n)=>{const l=ne.ce(t,n);return e.dispatchEvent(l),l},y=new WeakMap,$=e=>"sc-"+e.g,b=(e,t,n,l,o,c)=>{if(n!==l){let r=K(e,t),a=t.toLowerCase();if("class"===t){const t=e.classList,s=g(n),o=g(l);t.remove(...s.filter((e=>e&&!o.includes(e)))),t.add(...o.filter((e=>e&&!s.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("key"===t);else if("ref"===t)l&&l(e);else if(r||"o"!==t[0]||"n"!==t[1]){const u=i(l);if((r||u&&null!==l)&&!o)try{if(e.tagName.includes("-"))e[t]=l;else{const s=null==l?"":l;"list"===t?r=!1:null!=n&&e[t]==s||(e[t]=s)}}catch(e){}let f=!1;a!==(a=a.replace(/^xlink\:?/,""))&&(t=a,f=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(f?e.removeAttributeNS(s,t):e.removeAttribute(t)):(!r||4&c||o)&&!u&&(l=!0===l?"":l,f?e.setAttributeNS(s,t,l):e.setAttribute(t,l))}else t="-"===t[2]?t.slice(3):K(ee,a)?a.slice(2):a[2]+t.slice(3),n&&ne.rel(e,t,n,!1),l&&ne.ael(e,t,l,!1)}},w=/\s/,g=e=>e?e.split(w):[],v=(e,t,n,l)=>{const s=11===t.h.nodeType&&t.h.host?t.h.host:t.h,i=e&&e.l||o,c=t.l||o;for(l in i)l in c||b(s,l,i[l],void 0,n,t.u);for(l in c)b(s,l,i[l],c[l],n,t.u)},j=(t,l,s)=>{const o=l.o[s];let i,c,r=0;if(null!==o.t)i=o.h=te.createTextNode(o.t);else{if(n||(n="svg"===o.p),i=o.h=te.createElementNS(n?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o.p),n&&"foreignObject"===o.p&&(n=!1),v(null,o,n),null!=e&&i["s-si"]!==e&&i.classList.add(i["s-si"]=e),o.o)for(r=0;r<o.o.length;++r)c=j(t,o,r),c&&i.appendChild(c);"svg"===o.p?n=!1:"foreignObject"===i.tagName&&(n=!0)}return i},k=(e,n,l,s,o,i)=>{let c,r=e;for(r.shadowRoot&&r.tagName===t&&(r=r.shadowRoot);o<=i;++o)s[o]&&(c=j(null,l,o),c&&(s[o].h=c,r.insertBefore(c,n)))},S=(e,t,n,l,s)=>{for(;t<=n;++t)(l=e[t])&&(s=l.h,M(l),s.remove())},O=(e,t)=>e.p===t.p&&e.i===t.i,C=(e,t)=>{const l=t.h=e.h,s=e.o,o=t.o,i=t.p,c=t.t;null===c?(n="svg"===i||"foreignObject"!==i&&n,"slot"===i||v(e,t,n),null!==s&&null!==o?((e,t,n,l)=>{let s,o,i=0,c=0,r=0,a=0,u=t.length-1,f=t[0],d=t[u],p=l.length-1,h=l[0],m=l[p];for(;i<=u&&c<=p;)if(null==f)f=t[++i];else if(null==d)d=t[--u];else if(null==h)h=l[++c];else if(null==m)m=l[--p];else if(O(f,h))C(f,h),f=t[++i],h=l[++c];else if(O(d,m))C(d,m),d=t[--u],m=l[--p];else if(O(f,m))C(f,m),e.insertBefore(f.h,d.h.nextSibling),f=t[++i],m=l[--p];else if(O(d,h))C(d,h),e.insertBefore(d.h,f.h),d=t[--u],h=l[++c];else{for(r=-1,a=i;a<=u;++a)if(t[a]&&null!==t[a].i&&t[a].i===h.i){r=a;break}r>=0?(o=t[r],o.p!==h.p?s=j(t&&t[c],n,r):(C(o,h),t[r]=void 0,s=o.h),h=l[++c]):(s=j(t&&t[c],n,c),h=l[++c]),s&&f.h.parentNode.insertBefore(s,f.h)}i>u?k(e,null==l[p+1]?null:l[p+1].h,n,l,c,p):c>p&&S(t,i,u)})(l,s,t,o):null!==o?(null!==e.t&&(l.textContent=""),k(l,null,t,o,0,o.length-1)):null!==s&&S(s,0,s.length-1),n&&"svg"===i&&(n=!1)):e.t!==c&&(l.data=c)},M=e=>{e.l&&e.l.ref&&e.l.ref(null),e.o&&e.o.map(M)},x=(e,t)=>{t&&!e.v&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.v=t)))},P=(e,t)=>{if(e.u|=16,!(4&e.u))return x(e,e.j),fe((()=>E(e,t)));e.u|=512},E=(e,t)=>{const n=e.k;let l;return t?(e.u|=256,e.S&&(e.S.map((([e,t])=>N(n,e,t))),e.S=null),l=N(n,"componentWillLoad")):l=N(n,"componentWillUpdate"),R(l,(()=>L(e,n,t)))},L=async(e,t,n)=>{const l=e.$,s=l["s-rc"];n&&(e=>{const t=e.O,n=e.$,l=t.u,s=((e,t)=>{let n=$(t);const l=Z.get(n);if(e=11===e.nodeType?e:te,l)if("string"==typeof l){let t,s=y.get(e=e.head||e);s||y.set(e,s=new Set),s.has(n)||(t=te.createElement("style"),t.innerHTML=l,e.insertBefore(t,e.querySelector("link")),s&&s.add(n))}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return n})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=s,n.classList.add(s+"-h"))})(e);U(e,t),s&&(s.map((e=>e())),l["s-rc"]=void 0);{const t=l["s-p"],n=()=>W(e);0===t.length?n():(Promise.all(t).then(n),e.u|=4,t.length=0)}},U=(n,l)=>{try{l=l.render(),n.u&=-17,n.u|=2,((n,l)=>{const s=n.$,o=n.O,i=n.C||r(null,null),u=(e=>e&&e.p===a)(l)?l:c(null,null,l);t=s.tagName,o.M&&(u.l=u.l||{},o.M.map((([e,t])=>u.l[t]=s[e]))),u.p=null,u.u|=4,n.C=u,u.h=i.h=s.shadowRoot||s,e=s["s-sc"],C(i,u)})(n,l)}catch(e){Q(e,n.$)}return null},W=e=>{const t=e.$,n=e.k,l=e.j;N(n,"componentDidRender"),64&e.u?N(n,"componentDidUpdate"):(e.u|=64,T(t),N(n,"componentDidLoad"),e.P(t),l||D()),e.L(t),e.v&&(e.v(),e.v=void 0),512&e.u&&ue((()=>P(e,!1))),e.u&=-517},D=()=>{T(te.documentElement),ue((()=>m(ee,"appload",{detail:{namespace:"lime-elements"}})))},N=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){Q(e)}},R=(e,t)=>e&&e.then?e.then(t):t(),T=e=>e.classList.add("hydrated"),A=(e,t,n)=>{if(t.U){e.watchers&&(t.W=e.watchers);const l=Object.entries(t.U),s=e.prototype;if(l.map((([e,[l]])=>{31&l||2&n&&32&l?Object.defineProperty(s,e,{get(){return((e,t)=>G(this).D.get(t))(0,e)},set(n){((e,t,n,l)=>{const s=G(e),o=s.$,c=s.D.get(t),r=s.u,a=s.k;if(n=((e,t)=>null==e||i(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(n,l.U[t][0]),(!(8&r)||void 0===c)&&n!==c&&(!Number.isNaN(c)||!Number.isNaN(n))&&(s.D.set(t,n),a)){if(l.W&&128&r){const e=l.W[t];e&&e.map((e=>{try{a[e](n,c,t)}catch(e){Q(e,o)}}))}2==(18&r)&&P(s,!1)}})(this,e,n,t)},configurable:!0,enumerable:!0}):1&n&&64&l&&Object.defineProperty(s,e,{value(...t){const n=G(this);return n.N.then((()=>n.k[e](...t)))}})})),1&n){const n=new Map;s.attributeChangedCallback=function(e,t,l){ne.jmp((()=>{const t=n.get(e);if(this.hasOwnProperty(t))l=this[t],delete this[t];else if(s.hasOwnProperty(t)&&"number"==typeof this[t]&&this[t]==l)return;this[t]=(null!==l||"boolean"!=typeof this[t])&&l}))},e.observedAttributes=l.filter((([e,t])=>15&t[0])).map((([e,l])=>{const s=l[1]||e;return n.set(s,e),512&l[0]&&t.M.push([e,s]),s}))}}return e},F=e=>{N(e,"connectedCallback")},H=(e,t={})=>{const n=[],l=t.exclude||[],s=ee.customElements,o=te.head,i=o.querySelector("meta[charset]"),c=te.createElement("style"),r=[];let a,u=!0;Object.assign(ne,t),ne.R=new URL(t.resourcesUrl||"./",te.baseURI).href,e.map((e=>{e[1].map((t=>{const o={u:t[0],g:t[1],U:t[2],T:t[3]};o.U=t[2],o.T=t[3],o.M=[],o.W={};const i=o.g,c=class extends HTMLElement{constructor(e){super(e),J(e=this,o),1&o.u&&e.attachShadow({mode:"open"})}connectedCallback(){a&&(clearTimeout(a),a=null),u?r.push(this):ne.jmp((()=>(e=>{if(0==(1&ne.u)){const t=G(e),n=t.O,l=()=>{};if(1&t.u)q(e,t,n.T),F(t.k);else{t.u|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){x(t,t.j=n);break}}n.U&&Object.entries(n.U).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n,l,s)=>{if(0==(32&t.u)){{if(t.u|=32,(s=Y(n)).then){const e=()=>{};s=await s,e()}s.isProxied||(n.W=s.watchers,A(s,n,2),s.isProxied=!0);const e=()=>{};t.u|=8;try{new s(t)}catch(e){Q(e)}t.u&=-9,t.u|=128,e(),F(t.k)}if(s.style){let e=s.style;const t=$(n);if(!Z.has(t)){const l=()=>{};((e,t,n)=>{let l=Z.get(e);se&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,Z.set(e,l)})(t,e,!!(1&n.u)),l()}}}const o=t.j,i=()=>P(t,!0);o&&o["s-rc"]?o["s-rc"].push(i):i()})(0,t,n)}l()}})(this)))}disconnectedCallback(){ne.jmp((()=>(()=>{if(0==(1&ne.u)){const e=G(this),t=e.k;e.A&&(e.A.map((e=>e())),e.A=void 0),N(t,"disconnectedCallback")}})()))}componentOnReady(){return G(this).F}};o.H=e[0],l.includes(i)||s.get(i)||(n.push(i),s.define(i,A(c,o,1)))}))})),c.innerHTML=n+"{visibility:hidden}.hydrated{visibility:inherit}",c.setAttribute("data-styles",""),o.insertBefore(c,i?i.nextSibling:o.firstChild),u=!1,r.length?r.map((e=>e.connectedCallback())):ne.jmp((()=>a=setTimeout(D,30)))},q=(e,t,n)=>{n&&n.map((([n,l,s])=>{const o=_(e,n),i=V(t,s),c=z(n);ne.ael(o,l,i,c),(t.A=t.A||[]).push((()=>ne.rel(o,l,i,c)))}))},V=(e,t)=>n=>{try{256&e.u?e.k[t](n):(e.S=e.S||[]).push([t,n])}catch(e){Q(e)}},_=(e,t)=>8&t?ee:e,z=e=>0!=(2&e),B=new WeakMap,G=e=>B.get(e),I=(e,t)=>B.set(t.k=e,t),J=(e,t)=>{const n={u:0,$:e,O:t,D:new Map};return n.N=new Promise((e=>n.L=e)),n.F=new Promise((e=>n.P=e)),e["s-p"]=[],e["s-rc"]=[],q(e,n,t.T),B.set(e,n)},K=(e,t)=>t in e,Q=(e,t)=>(0,console.error)(e,t),X=new Map,Y=e=>{const t=e.g.replace(/-/g,"_"),n=e.H,l=X.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(X.set(n,e),e[t])),Q)
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},Z=new Map,ee="undefined"!=typeof window?window:{},te=ee.document||{head:{}},ne={u:0,R:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},le=e=>Promise.resolve(e),se=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),oe=[],ie=[],ce=(e,t)=>n=>{e.push(n),l||(l=!0,t&&4&ne.u?ue(ae):ne.raf(ae))},re=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){Q(e)}e.length=0},ae=()=>{re(oe),re(ie),(l=oe.length>0)&&ne.raf(ae)},ue=e=>le().then(e),fe=ce(ie,!0);export{a as H,H as b,h as c,p as g,c as h,le as p,I as r}
@@ -1 +0,0 @@
1
- import{r as t,h as i,g as e}from"./p-d4e788e1.js";import{c as r}from"./p-240fda3b.js";const s=new class{constructor(){this.promises={},this.cache=caches.open("@limetech/lime-elements/icons")}async get(t,i=""){const e=await this.cache,r=this.getUrl(t,i);let s=await e.match(r);return s||(s=await this.fetchData(r,e)),this.getIcon(s)}async fetchData(t,i){let e=this.promises[t];return void 0===e&&(e=i.add(t),this.promises[t]=e),await e,i.match(t)}async getIcon(t){let i=await t.text();if(i=i.replace(/#000000/g,"currentColor"),!this.validSvg(i))throw new Error("Invalid SVG");return i}validSvg(t){return"svg"===(new DOMParser).parseFromString(t,"image/svg+xml").documentElement.tagName.toLowerCase()}getUrl(t,i){let e=i||"";return i&&!i.endsWith("/")&&(e=`${i}/`),`${e}assets/icons/${t}.svg`}},a=class{constructor(i){t(this,i),this.size=void 0,this.name=void 0,this.badge=void 0}componentDidLoad(){this.loadIcon(this.name)}render(){return i("div",{class:"container"})}async loadIcon(t){if(void 0===t||""===t)return;const i=await this.loadSvg(t);this.renderSvg(i)}loadSvg(t){return s.get(t,r.iconPath)}renderSvg(t){const i=this.host.shadowRoot.querySelector("div.container");i&&(i.innerHTML=t)}get host(){return e(this)}static get watchers(){return{name:["loadIcon"]}}};a.style=":host{background-color:var(--icon-background-color, transparent);border-radius:50%;display:inline-block;line-height:0;box-sizing:border-box}:host svg{fill:currentColor;height:100%;pointer-events:none;width:100%}:host([hidden]){display:none}:host([size=x-small]){height:0.9375rem !important;width:0.9375rem !important}:host([size=small]){height:1.25rem !important;width:1.25rem !important}:host([size=medium]){height:1.5625rem !important;width:1.5625rem !important}:host([size=large]){height:1.875rem !important;width:1.875rem !important}:host([badge][size=x-small]){height:1.4375rem !important;width:1.4375rem !important}:host([badge][size=x-small])>div{margin:0.25rem}:host([badge][size=small]){height:1.875rem !important;width:1.875rem !important}:host([badge][size=small])>div{margin:0.3125rem}:host([badge][size=medium]){height:2.5rem !important;width:2.5rem !important}:host([badge][size=medium])>div{margin:0.5rem}:host([badge][size=large]){height:2.875rem !important;width:2.875rem !important}:host([badge][size=large])>div{margin:0.5rem}";export{a as limel_icon}