@umbraco-cms/backoffice 14.2.0 → 14.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1636) hide show
  1. package/dist-cms/apps/app/app-context-config.interface.d.ts +0 -1
  2. package/dist-cms/apps/backoffice/backoffice.context.d.ts +1 -0
  3. package/dist-cms/apps/backoffice/backoffice.context.js +6 -0
  4. package/dist-cms/apps/backoffice/backoffice.element.js +4 -0
  5. package/dist-cms/apps/backoffice/components/backoffice-header-logo.element.d.ts +3 -0
  6. package/dist-cms/apps/backoffice/components/backoffice-header-logo.element.js +55 -1
  7. package/dist-cms/apps/installer/installer.context.d.ts +0 -1
  8. package/dist-cms/apps/installer/installer.context.js +0 -1
  9. package/dist-cms/assets/lang/bs.js +5 -10
  10. package/dist-cms/assets/lang/bs.ts +5 -12
  11. package/dist-cms/assets/lang/cs-cz.js +1 -6
  12. package/dist-cms/assets/lang/cs-cz.ts +1 -8
  13. package/dist-cms/assets/lang/cy-gb.js +2 -7
  14. package/dist-cms/assets/lang/cy-gb.ts +2 -9
  15. package/dist-cms/assets/lang/da-dk.js +5 -3
  16. package/dist-cms/assets/lang/da-dk.ts +5 -3
  17. package/dist-cms/assets/lang/de-de.js +12 -8
  18. package/dist-cms/assets/lang/de-de.ts +12 -11
  19. package/dist-cms/assets/lang/en-us.js +7 -5
  20. package/dist-cms/assets/lang/en-us.ts +7 -5
  21. package/dist-cms/assets/lang/en.js +7 -5
  22. package/dist-cms/assets/lang/en.ts +7 -5
  23. package/dist-cms/assets/lang/es-es.js +1 -3
  24. package/dist-cms/assets/lang/es-es.ts +1 -5
  25. package/dist-cms/assets/lang/fr-fr.js +1 -6
  26. package/dist-cms/assets/lang/fr-fr.ts +1 -8
  27. package/dist-cms/assets/lang/he-il.js +1 -3
  28. package/dist-cms/assets/lang/he-il.ts +1 -5
  29. package/dist-cms/assets/lang/hr-hr.js +5 -10
  30. package/dist-cms/assets/lang/hr-hr.ts +5 -12
  31. package/dist-cms/assets/lang/it-it.js +4 -9
  32. package/dist-cms/assets/lang/it-it.ts +4 -12
  33. package/dist-cms/assets/lang/ja-jp.js +1 -3
  34. package/dist-cms/assets/lang/ja-jp.ts +1 -5
  35. package/dist-cms/assets/lang/ko-kr.js +1 -3
  36. package/dist-cms/assets/lang/ko-kr.ts +1 -5
  37. package/dist-cms/assets/lang/nb-no.js +1 -3
  38. package/dist-cms/assets/lang/nb-no.ts +1 -5
  39. package/dist-cms/assets/lang/nl-nl.js +4 -9
  40. package/dist-cms/assets/lang/nl-nl.ts +4 -13
  41. package/dist-cms/assets/lang/pl-pl.js +1 -3
  42. package/dist-cms/assets/lang/pl-pl.ts +1 -5
  43. package/dist-cms/assets/lang/pt-br.js +1 -3
  44. package/dist-cms/assets/lang/pt-br.ts +1 -5
  45. package/dist-cms/assets/lang/ru-ru.js +1 -3
  46. package/dist-cms/assets/lang/ru-ru.ts +1 -5
  47. package/dist-cms/assets/lang/sv-se.js +1 -3
  48. package/dist-cms/assets/lang/sv-se.ts +1 -5
  49. package/dist-cms/assets/lang/tr-tr.js +2 -7
  50. package/dist-cms/assets/lang/tr-tr.ts +2 -9
  51. package/dist-cms/assets/lang/uk-ua.js +1 -3
  52. package/dist-cms/assets/lang/uk-ua.ts +1 -5
  53. package/dist-cms/assets/lang/zh-cn.js +1 -3
  54. package/dist-cms/assets/lang/zh-cn.ts +1 -5
  55. package/dist-cms/assets/lang/zh-tw.js +1 -3
  56. package/dist-cms/assets/lang/zh-tw.ts +1 -5
  57. package/dist-cms/custom-elements.json +929 -182
  58. package/dist-cms/external/backend-api/index.js +1 -1
  59. package/dist-cms/external/backend-api/src/core/ApiRequestOptions.d.ts +7 -7
  60. package/dist-cms/external/backend-api/src/services.gen.d.ts +8 -1
  61. package/dist-cms/external/backend-api/src/types.gen.d.ts +907 -9263
  62. package/dist-cms/external/lit/index.d.ts +1 -1
  63. package/dist-cms/external/lit/index.js +30 -30
  64. package/dist-cms/external/marked/index.js +44 -44
  65. package/dist-cms/external/openid/errors.d.ts +2 -2
  66. package/dist-cms/external/router-slot/config.d.ts +1 -1
  67. package/dist-cms/external/router-slot/router-slot.d.ts +1 -1
  68. package/dist-cms/external/router-slot/util/events.d.ts +1 -1
  69. package/dist-cms/external/router-slot/util/history.d.ts +1 -1
  70. package/dist-cms/external/router-slot/util/router.d.ts +1 -1
  71. package/dist-cms/external/router-slot/util/shadow.d.ts +1 -1
  72. package/dist-cms/external/router-slot/util/url.d.ts +1 -1
  73. package/dist-cms/external/uui/index.js +266 -229
  74. package/dist-cms/libs/class-api/class.interface.d.ts +10 -10
  75. package/dist-cms/libs/context-api/consume/context-consumer.d.ts +6 -4
  76. package/dist-cms/libs/context-api/consume/context-consumer.js +13 -10
  77. package/dist-cms/libs/context-api/consume/context-request.event.d.ts +0 -2
  78. package/dist-cms/libs/context-api/consume/context-request.event.js +0 -1
  79. package/dist-cms/libs/context-api/debug/context-data.function.js +1 -1
  80. package/dist-cms/libs/context-api/provide/context-provide.event.d.ts +0 -4
  81. package/dist-cms/libs/context-api/provide/context-provide.event.js +0 -2
  82. package/dist-cms/libs/context-api/provide/context-provider.d.ts +0 -1
  83. package/dist-cms/libs/context-api/provide/context-provider.js +0 -1
  84. package/dist-cms/libs/context-api/token/context-token.d.ts +0 -1
  85. package/dist-cms/libs/context-api/token/context-token.js +0 -1
  86. package/dist-cms/libs/extension-api/controller/base-extension-initializer.controller.d.ts +0 -1
  87. package/dist-cms/libs/extension-api/controller/base-extension-initializer.controller.js +6 -2
  88. package/dist-cms/libs/extension-api/controller/base-extensions-initializer.controller.d.ts +0 -1
  89. package/dist-cms/libs/extension-api/controller/base-extensions-initializer.controller.js +6 -4
  90. package/dist-cms/libs/extension-api/controller/extension-api-initializer.controller.d.ts +0 -1
  91. package/dist-cms/libs/extension-api/controller/extension-api-initializer.controller.js +0 -1
  92. package/dist-cms/libs/extension-api/controller/extension-element-and-api-initializer.controller.d.ts +0 -1
  93. package/dist-cms/libs/extension-api/controller/extension-element-and-api-initializer.controller.js +0 -1
  94. package/dist-cms/libs/extension-api/controller/extension-element-initializer.controller.d.ts +0 -1
  95. package/dist-cms/libs/extension-api/controller/extension-element-initializer.controller.js +0 -1
  96. package/dist-cms/libs/extension-api/controller/extension-manifest-initializer.controller.d.ts +0 -1
  97. package/dist-cms/libs/extension-api/controller/extension-manifest-initializer.controller.js +0 -1
  98. package/dist-cms/libs/extension-api/controller/extensions-api-initializer.controller.d.ts +0 -1
  99. package/dist-cms/libs/extension-api/controller/extensions-api-initializer.controller.js +0 -1
  100. package/dist-cms/libs/extension-api/functions/create-extension-element-with-api.function.d.ts +1 -0
  101. package/dist-cms/libs/extension-api/functions/create-extension-element-with-api.function.js +1 -0
  102. package/dist-cms/libs/observable-api/states/array-state.d.ts +0 -1
  103. package/dist-cms/libs/observable-api/states/array-state.js +0 -1
  104. package/dist-cms/libs/observable-api/states/basic-state.d.ts +0 -1
  105. package/dist-cms/libs/observable-api/states/basic-state.js +0 -1
  106. package/dist-cms/libs/observable-api/states/boolean-state.d.ts +0 -1
  107. package/dist-cms/libs/observable-api/states/boolean-state.js +0 -1
  108. package/dist-cms/libs/observable-api/states/class-state.d.ts +1 -2
  109. package/dist-cms/libs/observable-api/states/class-state.js +1 -2
  110. package/dist-cms/libs/observable-api/states/deep-state.d.ts +0 -1
  111. package/dist-cms/libs/observable-api/states/deep-state.js +0 -1
  112. package/dist-cms/libs/observable-api/states/number-state.d.ts +0 -1
  113. package/dist-cms/libs/observable-api/states/number-state.js +0 -1
  114. package/dist-cms/libs/observable-api/states/object-state.d.ts +0 -1
  115. package/dist-cms/libs/observable-api/states/object-state.js +0 -1
  116. package/dist-cms/libs/observable-api/states/string-state.d.ts +0 -1
  117. package/dist-cms/libs/observable-api/states/string-state.js +0 -1
  118. package/dist-cms/libs/observable-api/utils/append-to-frozen-array.function.d.ts +0 -1
  119. package/dist-cms/libs/observable-api/utils/append-to-frozen-array.function.js +0 -1
  120. package/dist-cms/libs/observable-api/utils/create-observable-part.function.d.ts +0 -1
  121. package/dist-cms/libs/observable-api/utils/create-observable-part.function.js +0 -1
  122. package/dist-cms/libs/observable-api/utils/default-memoization.function.d.ts +0 -1
  123. package/dist-cms/libs/observable-api/utils/default-memoization.function.js +0 -1
  124. package/dist-cms/libs/observable-api/utils/filter-frozen-array.function.d.ts +0 -1
  125. package/dist-cms/libs/observable-api/utils/filter-frozen-array.function.js +0 -1
  126. package/dist-cms/libs/observable-api/utils/json-string-comparison.function.d.ts +0 -1
  127. package/dist-cms/libs/observable-api/utils/json-string-comparison.function.js +0 -1
  128. package/dist-cms/libs/observable-api/utils/merge-observables.function.d.ts +0 -1
  129. package/dist-cms/libs/observable-api/utils/merge-observables.function.js +0 -1
  130. package/dist-cms/libs/observable-api/utils/observe-multiple.function.d.ts +0 -1
  131. package/dist-cms/libs/observable-api/utils/observe-multiple.function.js +0 -1
  132. package/dist-cms/libs/observable-api/utils/partial-update-frozen-array.function.d.ts +0 -1
  133. package/dist-cms/libs/observable-api/utils/partial-update-frozen-array.function.js +0 -1
  134. package/dist-cms/libs/observable-api/utils/push-at-to-unique-array.function.d.ts +0 -1
  135. package/dist-cms/libs/observable-api/utils/push-at-to-unique-array.function.js +0 -1
  136. package/dist-cms/libs/observable-api/utils/push-to-unique-array.function.d.ts +0 -1
  137. package/dist-cms/libs/observable-api/utils/push-to-unique-array.function.js +0 -1
  138. package/dist-cms/libs/observable-api/utils/strict-equality-memoization.function.d.ts +0 -1
  139. package/dist-cms/libs/observable-api/utils/strict-equality-memoization.function.js +0 -1
  140. package/dist-cms/mocks/browser-handlers.js +1 -1
  141. package/dist-cms/mocks/data/data-type/data-type.data.js +27 -1
  142. package/dist-cms/mocks/data/document-type/document-type.data.js +54 -0
  143. package/dist-cms/mocks/data/utils/entity/entity-tree.manager.js +1 -1
  144. package/dist-cms/mocks/e2e-handlers.js +1 -1
  145. package/dist-cms/mocks/handlers/server.handlers.d.ts +1 -1
  146. package/dist-cms/mocks/handlers/server.handlers.js +41 -11
  147. package/dist-cms/packages/block/block/context/block-entries.context-token.d.ts +2 -1
  148. package/dist-cms/packages/block/block/context/block-entries.context.d.ts +7 -4
  149. package/dist-cms/packages/block/block/context/block-entries.context.js +6 -0
  150. package/dist-cms/packages/block/block/context/block-entry.context-token.d.ts +2 -1
  151. package/dist-cms/packages/block/block/context/block-entry.context.d.ts +2 -2
  152. package/dist-cms/packages/block/block/context/block-entry.context.js +4 -3
  153. package/dist-cms/packages/block/block/context/block-manager.context-token.d.ts +1 -1
  154. package/dist-cms/packages/block/block/context/block-manager.context.d.ts +11 -7
  155. package/dist-cms/packages/block/block/context/block-manager.context.js +18 -13
  156. package/dist-cms/packages/block/block/index.d.ts +1 -0
  157. package/dist-cms/packages/block/block/index.js +1 -0
  158. package/dist-cms/packages/block/block/modals/block-catalogue/block-catalogue-modal.element.d.ts +2 -2
  159. package/dist-cms/packages/block/block/modals/block-catalogue/block-catalogue-modal.element.js +44 -21
  160. package/dist-cms/packages/block/block/modals/block-catalogue/block-catalogue-modal.token.d.ts +8 -3
  161. package/dist-cms/packages/block/block/validation/block-data-property-validation-path-translator.controller.d.ts +6 -0
  162. package/dist-cms/packages/block/block/validation/block-data-property-validation-path-translator.controller.js +20 -0
  163. package/dist-cms/packages/block/block/validation/block-data-validation-path-translator.controller.d.ts +7 -0
  164. package/dist-cms/packages/block/block/validation/block-data-validation-path-translator.controller.js +20 -0
  165. package/dist-cms/packages/block/block/validation/data-path-element-data-query.function.d.ts +9 -0
  166. package/dist-cms/packages/block/block/validation/data-path-element-data-query.function.js +13 -0
  167. package/dist-cms/packages/block/block/validation/index.d.ts +2 -0
  168. package/dist-cms/packages/block/block/validation/index.js +2 -0
  169. package/dist-cms/packages/block/block/workspace/block-element-manager.d.ts +22 -2
  170. package/dist-cms/packages/block/block/workspace/block-element-manager.js +38 -3
  171. package/dist-cms/packages/block/block/workspace/block-element-property-dataset.context.d.ts +18 -6
  172. package/dist-cms/packages/block/block/workspace/block-element-property-dataset.context.js +32 -7
  173. package/dist-cms/packages/block/block/workspace/block-workspace-editor.element.d.ts +4 -1
  174. package/dist-cms/packages/block/block/workspace/block-workspace-editor.element.js +20 -3
  175. package/dist-cms/packages/block/block/workspace/block-workspace.context.d.ts +24 -0
  176. package/dist-cms/packages/block/block/workspace/block-workspace.context.js +69 -23
  177. package/dist-cms/packages/block/block/workspace/block-workspace.modal-token.d.ts +4 -1
  178. package/dist-cms/packages/block/block/workspace/block-workspace.modal-token.js +1 -1
  179. package/dist-cms/packages/block/block/workspace/views/edit/block-workspace-view-edit-content-no-router.element.js +4 -6
  180. package/dist-cms/packages/block/block/workspace/views/edit/block-workspace-view-edit-properties.element.d.ts +2 -0
  181. package/dist-cms/packages/block/block/workspace/views/edit/block-workspace-view-edit-properties.element.js +22 -4
  182. package/dist-cms/packages/block/block/workspace/views/edit/block-workspace-view-edit-tab.element.d.ts +1 -0
  183. package/dist-cms/packages/block/block/workspace/views/edit/block-workspace-view-edit-tab.element.js +11 -6
  184. package/dist-cms/packages/block/block/workspace/views/edit/block-workspace-view-edit.element.js +2 -2
  185. package/dist-cms/packages/block/block-grid/components/block-grid-area-config-entry/workspace/block-grid-area-type-workspace.context.d.ts +13 -0
  186. package/dist-cms/packages/block/block-grid/components/block-grid-area-config-entry/workspace/block-grid-area-type-workspace.context.js +13 -0
  187. package/dist-cms/packages/block/block-grid/components/block-grid-area-config-entry/workspace/views/settings.element.d.ts +4 -0
  188. package/dist-cms/packages/block/block-grid/components/block-grid-area-config-entry/workspace/views/settings.element.js +33 -12
  189. package/dist-cms/packages/block/block-grid/components/block-grid-block-inline/block-grid-inline-property-dataset.context.d.ts +16 -5
  190. package/dist-cms/packages/block/block-grid/components/block-grid-block-inline/block-grid-inline-property-dataset.context.js +21 -5
  191. package/dist-cms/packages/block/block-grid/components/block-grid-entries/block-grid-entries.element.js +50 -11
  192. package/dist-cms/packages/block/block-grid/components/block-grid-entry/block-grid-entry.element.d.ts +2 -0
  193. package/dist-cms/packages/block/block-grid/components/block-grid-entry/block-grid-entry.element.js +106 -20
  194. package/dist-cms/packages/block/block-grid/components/index.d.ts +1 -0
  195. package/dist-cms/packages/block/block-grid/components/index.js +1 -1
  196. package/dist-cms/packages/block/block-grid/context/block-grid-entries.context.d.ts +22 -4
  197. package/dist-cms/packages/block/block-grid/context/block-grid-entries.context.js +140 -30
  198. package/dist-cms/packages/block/block-grid/context/block-grid-manager.context.d.ts +8 -5
  199. package/dist-cms/packages/block/block-grid/context/block-grid-manager.context.js +20 -11
  200. package/dist-cms/packages/block/block-grid/property-editors/block-grid-areas-config/property-editor-ui-block-grid-areas-config.element.js +1 -4
  201. package/dist-cms/packages/block/block-grid/property-editors/block-grid-editor/property-editor-ui-block-grid.element.js +36 -9
  202. package/dist-cms/packages/block/block-grid/property-editors/block-grid-type-configuration/property-editor-ui-block-grid-type-configuration.element.js +9 -6
  203. package/dist-cms/packages/block/block-grid/workspace/block-grid-type-workspace.modal-token.js +1 -1
  204. package/dist-cms/packages/block/block-grid/workspace/block-grid-workspace.modal-token.d.ts +2 -2
  205. package/dist-cms/packages/block/block-grid/workspace/block-grid-workspace.modal-token.js +6 -1
  206. package/dist-cms/packages/block/block-list/components/block-list-entry/block-list-entry.element.d.ts +10 -1
  207. package/dist-cms/packages/block/block-list/components/block-list-entry/block-list-entry.element.js +103 -18
  208. package/dist-cms/packages/block/block-list/components/index.d.ts +1 -0
  209. package/dist-cms/packages/block/block-list/components/index.js +1 -1
  210. package/dist-cms/packages/block/block-list/components/inline-list-block/inline-list-block.element.d.ts +1 -0
  211. package/dist-cms/packages/block/block-list/components/inline-list-block/inline-list-block.element.js +124 -14
  212. package/dist-cms/packages/block/block-list/components/ref-list-block/ref-list-block.element.d.ts +1 -0
  213. package/dist-cms/packages/block/block-list/components/ref-list-block/ref-list-block.element.js +7 -3
  214. package/dist-cms/packages/block/block-list/context/block-list-entries.context.d.ts +4 -4
  215. package/dist-cms/packages/block/block-list/context/block-list-entries.context.js +25 -8
  216. package/dist-cms/packages/block/block-list/context/block-list-manager.context.d.ts +5 -4
  217. package/dist-cms/packages/block/block-list/context/block-list-manager.context.js +8 -5
  218. package/dist-cms/packages/block/block-list/property-editors/block-list-editor/manifests.js +1 -0
  219. package/dist-cms/packages/block/block-list/property-editors/block-list-editor/property-editor-ui-block-list.element.d.ts +12 -2
  220. package/dist-cms/packages/block/block-list/property-editors/block-list-editor/property-editor-ui-block-list.element.js +89 -18
  221. package/dist-cms/packages/block/block-list/workspace/block-list-workspace.modal-token.js +1 -1
  222. package/dist-cms/packages/block/block-rte/components/block-rte-entry/block-rte-entry.element.d.ts +1 -2
  223. package/dist-cms/packages/block/block-rte/components/block-rte-entry/block-rte-entry.element.js +2 -2
  224. package/dist-cms/packages/block/block-rte/context/block-rte-entries.context.d.ts +4 -4
  225. package/dist-cms/packages/block/block-rte/context/block-rte-entries.context.js +20 -6
  226. package/dist-cms/packages/block/block-rte/context/block-rte-manager.context.d.ts +3 -3
  227. package/dist-cms/packages/block/block-rte/context/block-rte-manager.context.js +4 -4
  228. package/dist-cms/packages/block/block-rte/tiny-mce-plugin/tiny-mce-block-picker.plugin.js +6 -2
  229. package/dist-cms/packages/block/block-rte/workspace/block-rte-workspace.modal-token.d.ts +3 -1
  230. package/dist-cms/packages/block/block-rte/workspace/block-rte-workspace.modal-token.js +1 -1
  231. package/dist-cms/packages/block/block-type/components/block-type-card/block-type-card.element.js +9 -4
  232. package/dist-cms/packages/block/block-type/workspace/block-type-workspace.context.d.ts +13 -0
  233. package/dist-cms/packages/block/block-type/workspace/block-type-workspace.context.js +13 -0
  234. package/dist-cms/packages/block/modals/manifest-viewer/manifest-viewer-modal.element.d.ts +1 -0
  235. package/dist-cms/packages/block/modals/manifest-viewer/manifest-viewer-modal.element.js +33 -15
  236. package/dist-cms/packages/code-editor/code-editor.controller.d.ts +0 -1
  237. package/dist-cms/packages/code-editor/code-editor.controller.js +0 -1
  238. package/dist-cms/packages/code-editor/components/code-editor.element.d.ts +1 -1
  239. package/dist-cms/packages/code-editor/components/code-editor.element.js +1 -1
  240. package/dist-cms/packages/code-editor/property-editor/manifests.js +2 -2
  241. package/dist-cms/packages/core/collection/action/collection-action-button.element.js +1 -1
  242. package/dist-cms/packages/core/collection/collection-item-picker-modal/collection-item-picker-modal.context.d.ts +6 -0
  243. package/dist-cms/packages/core/collection/collection-item-picker-modal/collection-item-picker-modal.context.js +7 -0
  244. package/dist-cms/packages/core/collection/collection-item-picker-modal/index.d.ts +1 -0
  245. package/dist-cms/packages/core/collection/collection-item-picker-modal/index.js +1 -0
  246. package/dist-cms/packages/core/collection/default/collection-default.context.js +6 -1
  247. package/dist-cms/packages/core/collection/index.d.ts +1 -0
  248. package/dist-cms/packages/core/collection/index.js +1 -0
  249. package/dist-cms/packages/core/components/body-layout/body-layout.element.d.ts +0 -1
  250. package/dist-cms/packages/core/components/body-layout/body-layout.element.js +0 -1
  251. package/dist-cms/packages/core/components/code-block/code-block.element.d.ts +2 -2
  252. package/dist-cms/packages/core/components/code-block/code-block.element.js +2 -2
  253. package/dist-cms/packages/core/components/dropdown/dropdown.element.js +13 -5
  254. package/dist-cms/packages/core/components/footer-layout/footer-layout.element.d.ts +0 -1
  255. package/dist-cms/packages/core/components/footer-layout/footer-layout.element.js +0 -1
  256. package/dist-cms/packages/core/components/input-date/input-date.element.d.ts +7 -0
  257. package/dist-cms/packages/core/components/input-date/input-date.element.js +12 -1
  258. package/dist-cms/packages/core/components/input-dropdown/input-dropdown-list.element.d.ts +7 -0
  259. package/dist-cms/packages/core/components/input-dropdown/input-dropdown-list.element.js +15 -1
  260. package/dist-cms/packages/core/components/input-radio-button-list/input-radio-button-list.element.d.ts +7 -0
  261. package/dist-cms/packages/core/components/input-radio-button-list/input-radio-button-list.element.js +11 -1
  262. package/dist-cms/packages/core/components/input-slider/input-slider.element.d.ts +7 -0
  263. package/dist-cms/packages/core/components/input-slider/input-slider.element.js +14 -2
  264. package/dist-cms/packages/core/components/input-with-alias/input-with-alias.element.d.ts +4 -2
  265. package/dist-cms/packages/core/components/input-with-alias/input-with-alias.element.js +30 -12
  266. package/dist-cms/packages/core/components/multiple-color-picker-input/multiple-color-picker-input.element.js +2 -1
  267. package/dist-cms/packages/core/components/multiple-color-picker-input/multiple-color-picker-item-input.element.js +22 -2
  268. package/dist-cms/packages/core/components/multiple-text-string-input/input-multiple-text-string-item.element.js +10 -2
  269. package/dist-cms/packages/core/components/multiple-text-string-input/input-multiple-text-string.element.js +1 -0
  270. package/dist-cms/packages/core/components/ref-item/ref-item.element.js +1 -1
  271. package/dist-cms/packages/core/components/table/table.element.js +14 -4
  272. package/dist-cms/packages/core/content/property-dataset-context/content-property-dataset.context.d.ts +4 -2
  273. package/dist-cms/packages/core/content/property-dataset-context/content-property-dataset.context.js +12 -2
  274. package/dist-cms/packages/core/content/workspace/content-workspace-context.interface.d.ts +2 -0
  275. package/dist-cms/packages/core/content/workspace/views/edit/conditions/has-properties/content-has-properties.condition.js +2 -3
  276. package/dist-cms/packages/core/content/workspace/views/edit/content-editor-properties.element.js +3 -3
  277. package/dist-cms/packages/core/content-type/components/property-type-based-property/property-type-based-property.element.d.ts +6 -0
  278. package/dist-cms/packages/core/content-type/components/property-type-based-property/property-type-based-property.element.js +32 -0
  279. package/dist-cms/packages/core/content-type/repository/structure/content-type-structure-server-data-source-base.d.ts +1 -1
  280. package/dist-cms/packages/core/content-type/repository/structure/content-type-structure-server-data-source-base.js +1 -1
  281. package/dist-cms/packages/core/content-type/structure/content-type-structure-manager.class.d.ts +11 -5
  282. package/dist-cms/packages/core/content-type/structure/content-type-structure-manager.class.js +27 -6
  283. package/dist-cms/packages/core/content-type/types.d.ts +6 -0
  284. package/dist-cms/packages/core/content-type/workspace/views/design/content-type-design-editor-property.element.js +37 -8
  285. package/dist-cms/packages/core/content-type/workspace/views/design/content-type-design-editor.element.js +3 -3
  286. package/dist-cms/packages/core/culture/repository/sources/culture.server.data.d.ts +4 -2
  287. package/dist-cms/packages/core/culture/repository/sources/culture.server.data.js +4 -2
  288. package/dist-cms/packages/core/entity/entity.context.d.ts +1 -2
  289. package/dist-cms/packages/core/entity/entity.context.js +1 -2
  290. package/dist-cms/packages/core/entity-action/entity-action-base.d.ts +0 -1
  291. package/dist-cms/packages/core/entity-action/entity-action-base.js +0 -1
  292. package/dist-cms/packages/core/entity-action/entity-action.interface.d.ts +0 -1
  293. package/dist-cms/packages/core/extension-registry/components/extension-slot/extension-slot.element.d.ts +1 -1
  294. package/dist-cms/packages/core/extension-registry/components/extension-slot/extension-slot.element.js +11 -4
  295. package/dist-cms/packages/core/extension-registry/components/extension-with-api-slot/extension-with-api-slot.element.d.ts +1 -1
  296. package/dist-cms/packages/core/extension-registry/components/extension-with-api-slot/extension-with-api-slot.element.js +10 -2
  297. package/dist-cms/packages/core/extension-registry/conditions/types.d.ts +2 -2
  298. package/dist-cms/packages/core/extension-registry/entity-actions/unregister/index.d.ts +1 -0
  299. package/dist-cms/packages/core/extension-registry/entity-actions/unregister/index.js +1 -1
  300. package/dist-cms/packages/core/extension-registry/interfaces/block-editor-custom-view-element.interface.d.ts +2 -0
  301. package/dist-cms/packages/core/extension-registry/interfaces/file-upload-preview.interface.d.ts +4 -0
  302. package/dist-cms/packages/core/extension-registry/interfaces/index.d.ts +1 -0
  303. package/dist-cms/packages/core/extension-registry/interfaces/index.js +1 -0
  304. package/dist-cms/packages/core/extension-registry/interfaces/property-editor-ui-element.interface.d.ts +2 -0
  305. package/dist-cms/packages/core/extension-registry/models/file-upload-preview.model.d.ts +11 -0
  306. package/dist-cms/packages/core/extension-registry/models/file-upload-preview.model.js +1 -0
  307. package/dist-cms/packages/core/extension-registry/models/index.d.ts +7 -1
  308. package/dist-cms/packages/core/extension-registry/models/monaco-markdown-editor-action.model.d.ts +1 -2
  309. package/dist-cms/packages/core/extension-registry/models/picker-search-result-item.model.d.ts +8 -0
  310. package/dist-cms/packages/core/extension-registry/models/picker-search-result-item.model.js +1 -0
  311. package/dist-cms/packages/core/extension-registry/models/ufm-filter.model.d.ts +11 -0
  312. package/dist-cms/packages/core/extension-registry/models/ufm-filter.model.js +1 -0
  313. package/dist-cms/packages/core/icon-registry/icon-dictionary.json +4 -0
  314. package/dist-cms/packages/core/icon-registry/icon-registry.context.d.ts +1 -1
  315. package/dist-cms/packages/core/icon-registry/icon-registry.context.js +2 -2
  316. package/dist-cms/packages/core/icon-registry/icon.registry.d.ts +0 -1
  317. package/dist-cms/packages/core/icon-registry/icon.registry.js +0 -1
  318. package/dist-cms/packages/core/icon-registry/icons/icon-history.d.ts +2 -0
  319. package/dist-cms/packages/core/icon-registry/icons/icon-history.js +16 -0
  320. package/dist-cms/packages/core/icon-registry/icons.d.ts +4 -0
  321. package/dist-cms/packages/core/icon-registry/icons.js +3 -0
  322. package/dist-cms/packages/core/lit-element/directives/destroy.lit-directive.d.ts +20 -0
  323. package/dist-cms/packages/core/lit-element/directives/destroy.lit-directive.js +30 -0
  324. package/dist-cms/packages/core/lit-element/directives/index.d.ts +1 -0
  325. package/dist-cms/packages/core/lit-element/directives/index.js +1 -0
  326. package/dist-cms/packages/core/localization/components/ui-culture-input/ui-culture-input.element.js +13 -12
  327. package/dist-cms/packages/core/manifests.js +16 -14
  328. package/dist-cms/packages/core/modal/common/confirm/confirm-modal.controller.d.ts +3 -2
  329. package/dist-cms/packages/core/modal/common/confirm/confirm-modal.controller.js +3 -2
  330. package/dist-cms/packages/core/modal/common/embedded-media/repository/oembed.server.data.d.ts +1 -2
  331. package/dist-cms/packages/core/modal/common/embedded-media/repository/oembed.server.data.js +1 -2
  332. package/dist-cms/packages/core/modal/token/property-editor-ui-picker-modal.token.d.ts +1 -0
  333. package/dist-cms/packages/core/modal/token/workspace-modal.token.d.ts +1 -0
  334. package/dist-cms/packages/core/modal/types.d.ts +5 -0
  335. package/dist-cms/packages/core/notification/notification-handler.d.ts +0 -1
  336. package/dist-cms/packages/core/notification/notification-handler.js +0 -1
  337. package/dist-cms/packages/core/notification/notification.context.d.ts +0 -2
  338. package/dist-cms/packages/{object-type → core/object-type}/input-object-type.element.d.ts +3 -3
  339. package/dist-cms/packages/{object-type → core/object-type}/input-object-type.element.js +3 -3
  340. package/dist-cms/packages/core/object-type/object-type.repository.d.ts +11 -0
  341. package/dist-cms/packages/{object-type → core/object-type}/object-type.repository.js +3 -3
  342. package/dist-cms/packages/core/picker/index.d.ts +4 -0
  343. package/dist-cms/packages/core/picker/index.js +4 -0
  344. package/dist-cms/packages/core/picker/manifests.d.ts +2 -0
  345. package/dist-cms/packages/core/picker/manifests.js +2 -0
  346. package/dist-cms/packages/core/picker/picker.context.d.ts +9 -0
  347. package/dist-cms/packages/core/picker/picker.context.js +11 -0
  348. package/dist-cms/packages/core/picker/picker.context.token.d.ts +3 -0
  349. package/dist-cms/packages/core/picker/picker.context.token.js +2 -0
  350. package/dist-cms/packages/core/picker/search/index.d.ts +3 -0
  351. package/dist-cms/packages/core/picker/search/index.js +3 -0
  352. package/dist-cms/packages/core/picker/search/manager/index.d.ts +2 -0
  353. package/dist-cms/packages/core/picker/search/manager/index.js +2 -0
  354. package/dist-cms/packages/core/picker/search/manager/picker-search.manager.d.ts +84 -0
  355. package/dist-cms/packages/core/picker/search/manager/picker-search.manager.js +170 -0
  356. package/dist-cms/packages/core/picker/search/manager/types.d.ts +3 -0
  357. package/dist-cms/packages/core/picker/search/manager/types.js +1 -0
  358. package/dist-cms/packages/core/picker/search/manifests.d.ts +2 -0
  359. package/dist-cms/packages/core/picker/search/manifests.js +2 -0
  360. package/dist-cms/packages/core/picker/search/picker-search-field.element.d.ts +18 -0
  361. package/dist-cms/packages/core/picker/search/picker-search-field.element.js +87 -0
  362. package/dist-cms/packages/core/picker/search/picker-search-result.element.d.ts +20 -0
  363. package/dist-cms/packages/core/picker/search/picker-search-result.element.js +63 -0
  364. package/dist-cms/packages/core/picker/search/result-item/default/default-picker-search-result-item.context.d.ts +6 -0
  365. package/dist-cms/packages/core/picker/search/result-item/default/default-picker-search-result-item.context.js +8 -0
  366. package/dist-cms/packages/core/picker/search/result-item/default/default-picker-search-result-item.context.token.d.ts +3 -0
  367. package/dist-cms/packages/core/picker/search/result-item/default/default-picker-search-result-item.context.token.js +2 -0
  368. package/dist-cms/packages/core/picker/search/result-item/default/default-picker-search-result-item.element.d.ts +19 -0
  369. package/dist-cms/packages/core/picker/search/result-item/default/default-picker-search-result-item.element.js +69 -0
  370. package/dist-cms/packages/core/picker/search/result-item/default/manifests.d.ts +2 -0
  371. package/dist-cms/packages/core/picker/search/result-item/default/manifests.js +13 -0
  372. package/dist-cms/packages/core/picker/search/result-item/manifests.d.ts +2 -0
  373. package/dist-cms/packages/core/picker/search/result-item/manifests.js +2 -0
  374. package/dist-cms/packages/core/picker/types.d.ts +6 -0
  375. package/dist-cms/packages/core/picker/types.js +1 -0
  376. package/dist-cms/packages/core/property/conditions/constants.d.ts +1 -0
  377. package/dist-cms/packages/core/property/conditions/constants.js +1 -0
  378. package/dist-cms/packages/core/property/conditions/index.d.ts +1 -0
  379. package/dist-cms/packages/core/property/conditions/index.js +1 -0
  380. package/dist-cms/packages/core/property/conditions/manifests.js +9 -0
  381. package/dist-cms/packages/core/property/conditions/writable-property.condition.d.ts +7 -0
  382. package/dist-cms/packages/core/property/conditions/writable-property.condition.js +13 -0
  383. package/dist-cms/packages/core/property/index.d.ts +3 -1
  384. package/dist-cms/packages/core/property/index.js +3 -1
  385. package/dist-cms/packages/core/property/manifests.d.ts +1 -0
  386. package/dist-cms/packages/core/property/manifests.js +2 -0
  387. package/dist-cms/packages/core/property/property/property.context.d.ts +90 -2
  388. package/dist-cms/packages/core/property/property/property.context.js +130 -11
  389. package/dist-cms/packages/core/property/property/property.element.d.ts +2 -0
  390. package/dist-cms/packages/core/property/property/property.element.js +72 -15
  391. package/dist-cms/packages/core/property/property-dataset/property-dataset-base-context.d.ts +16 -5
  392. package/dist-cms/packages/core/property/property-dataset/property-dataset-base-context.js +21 -6
  393. package/dist-cms/packages/core/property/property-dataset/property-dataset-context.interface.d.ts +2 -0
  394. package/dist-cms/packages/core/property/property-dataset/property-dataset.element.d.ts +0 -43
  395. package/dist-cms/packages/core/property/property-dataset/property-dataset.element.js +42 -43
  396. package/dist-cms/packages/core/property/property-layout/property-layout.element.js +2 -2
  397. package/dist-cms/packages/core/property/types/index.d.ts +1 -0
  398. package/dist-cms/packages/core/property/types/index.js +1 -0
  399. package/dist-cms/packages/core/property/types/unsupported-properties.type.d.ts +1 -0
  400. package/dist-cms/packages/core/property/types/unsupported-properties.type.js +1 -0
  401. package/dist-cms/packages/core/property/unsupported-property/index.d.ts +2 -0
  402. package/dist-cms/packages/core/property/unsupported-property/index.js +2 -0
  403. package/dist-cms/packages/core/property/unsupported-property/unsupported-property.element.d.ts +15 -0
  404. package/dist-cms/packages/core/property/unsupported-property/unsupported-property.element.js +50 -0
  405. package/dist-cms/packages/core/property/unsupported-property/utils.d.ts +2 -0
  406. package/dist-cms/packages/core/property/unsupported-property/utils.js +3 -0
  407. package/dist-cms/packages/core/property-action/components/property-action/property-action-base.controller.d.ts +0 -1
  408. package/dist-cms/packages/core/property-action/components/property-action/property-action-base.controller.js +0 -1
  409. package/dist-cms/packages/core/property-action/components/property-action-menu/property-action-menu.element.js +1 -0
  410. package/dist-cms/packages/core/property-action/manifests.js +11 -0
  411. package/dist-cms/packages/core/property-type/workspace/property-type-workspace.context.d.ts +14 -0
  412. package/dist-cms/packages/core/property-type/workspace/property-type-workspace.context.js +16 -0
  413. package/dist-cms/packages/core/property-type/workspace/views/settings/property-workspace-view-settings.element.d.ts +3 -0
  414. package/dist-cms/packages/core/property-type/workspace/views/settings/property-workspace-view-settings.element.js +123 -46
  415. package/dist-cms/packages/core/recycle-bin/contexts/is-trashed/is-trashed.entity-context.d.ts +0 -1
  416. package/dist-cms/packages/core/recycle-bin/contexts/is-trashed/is-trashed.entity-context.js +0 -1
  417. package/dist-cms/packages/core/recycle-bin/entity-action/empty-recycle-bin/empty-recycle-bin.action.d.ts +0 -1
  418. package/dist-cms/packages/core/recycle-bin/entity-action/empty-recycle-bin/empty-recycle-bin.action.js +0 -1
  419. package/dist-cms/packages/core/recycle-bin/entity-action/restore-from-recycle-bin/restore-from-recycle-bin.action.d.ts +0 -1
  420. package/dist-cms/packages/core/recycle-bin/entity-action/restore-from-recycle-bin/restore-from-recycle-bin.action.js +0 -1
  421. package/dist-cms/packages/core/recycle-bin/entity-action/trash/trash.action.d.ts +0 -1
  422. package/dist-cms/packages/core/recycle-bin/entity-action/trash/trash.action.js +0 -1
  423. package/dist-cms/packages/core/recycle-bin/recycle-bin-repository-base.d.ts +1 -2
  424. package/dist-cms/packages/core/recycle-bin/recycle-bin-repository-base.js +1 -2
  425. package/dist-cms/packages/core/repository/item/item-server-data-source-base.d.ts +2 -2
  426. package/dist-cms/packages/core/repository/item/item-server-data-source-base.js +2 -2
  427. package/dist-cms/packages/core/router/modal-registration/modal-route-registration.controller.d.ts +12 -14
  428. package/dist-cms/packages/core/router/modal-registration/modal-route-registration.controller.js +12 -14
  429. package/dist-cms/packages/core/section/components/input-section/input-section.context.d.ts +3 -1
  430. package/dist-cms/packages/core/section/components/input-section/input-section.context.js +3 -1
  431. package/dist-cms/packages/core/section/components/input-section/input-section.element.js +2 -2
  432. package/dist-cms/packages/core/section/section-default.element.d.ts +0 -1
  433. package/dist-cms/packages/core/section/section-default.element.js +0 -1
  434. package/dist-cms/packages/core/section/section-picker-modal/section-picker-modal.element.js +2 -3
  435. package/dist-cms/packages/core/section/section-sidebar-context-menu/section-sidebar-context-menu.element.js +1 -2
  436. package/dist-cms/packages/core/sorter/sorter.controller.d.ts +17 -1
  437. package/dist-cms/packages/core/sorter/sorter.controller.js +26 -1
  438. package/dist-cms/packages/core/store/detail/detail-store-base.d.ts +1 -2
  439. package/dist-cms/packages/core/store/detail/detail-store-base.js +1 -2
  440. package/dist-cms/packages/core/store/item/item-store-base.d.ts +1 -2
  441. package/dist-cms/packages/core/store/item/item-store-base.js +1 -2
  442. package/dist-cms/packages/core/temporary-file/temporary-file.repository.d.ts +1 -2
  443. package/dist-cms/packages/core/temporary-file/temporary-file.repository.js +1 -2
  444. package/dist-cms/packages/core/temporary-file/temporary-file.server.data-source.d.ts +1 -2
  445. package/dist-cms/packages/core/temporary-file/temporary-file.server.data-source.js +1 -2
  446. package/dist-cms/packages/core/tree/data/tree-data-source.interface.d.ts +0 -2
  447. package/dist-cms/packages/core/tree/data/tree-repository-base.d.ts +3 -2
  448. package/dist-cms/packages/core/tree/data/tree-repository-base.js +3 -2
  449. package/dist-cms/packages/core/tree/data/tree-repository.interface.d.ts +0 -1
  450. package/dist-cms/packages/core/tree/data/tree-server-data-source-base.d.ts +2 -2
  451. package/dist-cms/packages/core/tree/data/tree-server-data-source-base.js +2 -2
  452. package/dist-cms/packages/core/tree/data/tree-store.interface.d.ts +0 -1
  453. package/dist-cms/packages/core/tree/data/unique-tree-store.d.ts +0 -1
  454. package/dist-cms/packages/core/tree/data/unique-tree-store.js +0 -1
  455. package/dist-cms/packages/core/tree/default/default-tree.context.d.ts +5 -4
  456. package/dist-cms/packages/core/tree/default/default-tree.context.js +14 -9
  457. package/dist-cms/packages/core/tree/folder/index.js +2 -0
  458. package/dist-cms/packages/core/tree/index.d.ts +2 -2
  459. package/dist-cms/packages/core/tree/index.js +1 -1
  460. package/dist-cms/packages/core/tree/manifests.js +1 -1
  461. package/dist-cms/packages/core/tree/tree-item-picker/index.d.ts +1 -0
  462. package/dist-cms/packages/core/tree/tree-item-picker/index.js +1 -0
  463. package/dist-cms/packages/core/tree/tree-item-picker/tree-item-picker.context.d.ts +6 -0
  464. package/dist-cms/packages/core/tree/tree-item-picker/tree-item-picker.context.js +7 -0
  465. package/dist-cms/packages/core/tree/{tree-picker → tree-picker-modal}/tree-picker-modal.element.d.ts +5 -0
  466. package/dist-cms/packages/core/tree/{tree-picker → tree-picker-modal}/tree-picker-modal.element.js +103 -45
  467. package/dist-cms/packages/core/utils/index.d.ts +2 -0
  468. package/dist-cms/packages/core/utils/index.js +2 -0
  469. package/dist-cms/packages/core/utils/path/has-own-opener.function.js +1 -1
  470. package/dist-cms/packages/core/utils/path/remove-initial-slash-from-path.function.d.ts +1 -1
  471. package/dist-cms/packages/core/utils/path/remove-initial-slash-from-path.function.js +1 -1
  472. package/dist-cms/packages/core/utils/path/remove-last-slash-from-path.function.d.ts +5 -0
  473. package/dist-cms/packages/core/utils/path/remove-last-slash-from-path.function.js +7 -0
  474. package/dist-cms/packages/core/utils/selection-manager/selection.manager.d.ts +7 -1
  475. package/dist-cms/packages/core/utils/selection-manager/selection.manager.js +22 -2
  476. package/dist-cms/packages/core/utils/state-manager/index.d.ts +3 -0
  477. package/dist-cms/packages/core/utils/state-manager/index.js +3 -0
  478. package/dist-cms/packages/core/utils/state-manager/read-only-state.manager.d.ts +6 -0
  479. package/dist-cms/packages/core/utils/state-manager/read-only-state.manager.js +6 -0
  480. package/dist-cms/packages/core/utils/state-manager/read-only-variant-state.manager.d.ts +10 -0
  481. package/dist-cms/packages/core/utils/state-manager/read-only-variant-state.manager.js +6 -0
  482. package/dist-cms/packages/core/utils/state-manager/state.manager.d.ts +66 -0
  483. package/dist-cms/packages/core/utils/state-manager/state.manager.js +80 -0
  484. package/dist-cms/packages/core/validation/components/form-validation-message.element.d.ts +28 -0
  485. package/dist-cms/packages/core/validation/components/form-validation-message.element.js +98 -0
  486. package/dist-cms/packages/core/validation/const.d.ts +1 -0
  487. package/dist-cms/packages/core/validation/const.js +1 -0
  488. package/dist-cms/packages/core/validation/context/index.d.ts +2 -2
  489. package/dist-cms/packages/core/validation/context/index.js +2 -2
  490. package/dist-cms/packages/core/validation/context/server-model-validator.context-token.d.ts +3 -0
  491. package/dist-cms/packages/core/validation/context/server-model-validator.context-token.js +2 -0
  492. package/dist-cms/packages/core/validation/context/{server-model-validation.context.d.ts → server-model-validator.context.d.ts} +1 -4
  493. package/dist-cms/packages/core/validation/context/{server-model-validation.context.js → server-model-validator.context.js} +37 -44
  494. package/dist-cms/packages/core/validation/context/validation-messages.manager.d.ts +10 -4
  495. package/dist-cms/packages/core/validation/context/validation-messages.manager.js +70 -37
  496. package/dist-cms/packages/core/validation/context/validation.context-token.d.ts +2 -2
  497. package/dist-cms/packages/core/validation/context/validation.context.d.ts +13 -15
  498. package/dist-cms/packages/core/validation/context/validation.context.js +18 -90
  499. package/dist-cms/packages/core/validation/controllers/{bind-validation-message-to-form-control.controller.d.ts → bind-server-validation-to-form-control.controller.d.ts} +5 -1
  500. package/dist-cms/packages/core/validation/controllers/{bind-validation-message-to-form-control.controller.js → bind-server-validation-to-form-control.controller.js} +8 -4
  501. package/dist-cms/packages/core/validation/controllers/form-control-validator.controller.d.ts +4 -0
  502. package/dist-cms/packages/core/validation/controllers/form-control-validator.controller.js +4 -0
  503. package/dist-cms/packages/core/validation/controllers/index.d.ts +3 -2
  504. package/dist-cms/packages/core/validation/controllers/index.js +3 -2
  505. package/dist-cms/packages/core/validation/controllers/observe-validation-state.controller.d.ts +1 -1
  506. package/dist-cms/packages/core/validation/controllers/observe-validation-state.controller.js +2 -3
  507. package/dist-cms/packages/core/validation/controllers/validation.controller.d.ts +84 -0
  508. package/dist-cms/packages/core/validation/controllers/validation.controller.js +252 -0
  509. package/dist-cms/packages/core/validation/directives/bind-to-validation.lit-directive.d.ts +34 -0
  510. package/dist-cms/packages/core/validation/directives/bind-to-validation.lit-directive.js +69 -0
  511. package/dist-cms/packages/core/validation/index.d.ts +3 -0
  512. package/dist-cms/packages/core/validation/index.js +3 -0
  513. package/dist-cms/packages/core/validation/mixins/form-control.mixin.d.ts +6 -3
  514. package/dist-cms/packages/core/validation/mixins/form-control.mixin.js +72 -27
  515. package/dist-cms/packages/core/validation/translators/abstract-array-path-translator.controller.d.ts +8 -0
  516. package/dist-cms/packages/core/validation/translators/abstract-array-path-translator.controller.js +35 -0
  517. package/dist-cms/packages/core/validation/translators/index.d.ts +5 -2
  518. package/dist-cms/packages/core/validation/translators/index.js +4 -1
  519. package/dist-cms/packages/core/validation/translators/validation-message-path-translator.interface.d.ts +8 -0
  520. package/dist-cms/packages/core/validation/translators/validation-message-path-translator.interface.js +1 -0
  521. package/dist-cms/packages/core/validation/translators/validation-path-translator-base.controller.d.ts +10 -0
  522. package/dist-cms/packages/core/validation/translators/validation-path-translator-base.controller.js +17 -0
  523. package/dist-cms/packages/core/validation/translators/variant-values-validation-path-translator.controller.d.ts +6 -0
  524. package/dist-cms/packages/core/validation/translators/variant-values-validation-path-translator.controller.js +13 -0
  525. package/dist-cms/packages/core/validation/translators/variants-validation-path-translator.controller.d.ts +6 -0
  526. package/dist-cms/packages/core/validation/translators/variants-validation-path-translator.controller.js +13 -0
  527. package/dist-cms/packages/core/validation/utils/{data-path-property-value-filter.function.d.ts → data-path-property-value-query.function.d.ts} +2 -2
  528. package/dist-cms/packages/core/validation/utils/{data-path-property-value-filter.function.js → data-path-property-value-query.function.js} +6 -6
  529. package/dist-cms/packages/core/validation/utils/data-path-variant-query.function.d.ts +10 -0
  530. package/dist-cms/packages/core/validation/utils/data-path-variant-query.function.js +15 -0
  531. package/dist-cms/packages/core/validation/utils/index.d.ts +3 -1
  532. package/dist-cms/packages/core/validation/utils/index.js +3 -1
  533. package/dist-cms/packages/core/validation/utils/json-path.function.d.ts +11 -0
  534. package/dist-cms/packages/core/validation/utils/json-path.function.js +115 -0
  535. package/dist-cms/packages/core/variant/variant-id.class.d.ts +1 -1
  536. package/dist-cms/packages/core/variant/variant-id.class.js +3 -3
  537. package/dist-cms/packages/core/vite.config.js +2 -0
  538. package/dist-cms/packages/core/workspace/components/workspace-action/default/workspace-action.element.js +2 -1
  539. package/dist-cms/packages/core/workspace/components/workspace-action/workspace-action-base.controller.d.ts +0 -1
  540. package/dist-cms/packages/core/workspace/components/workspace-action/workspace-action-base.controller.js +0 -1
  541. package/dist-cms/packages/core/workspace/components/workspace-action-menu/workspace-action-menu.element.js +2 -2
  542. package/dist-cms/packages/core/workspace/components/workspace-action-menu-item/workspace-action-menu-item-base.controller.d.ts +0 -1
  543. package/dist-cms/packages/core/workspace/components/workspace-action-menu-item/workspace-action-menu-item-base.controller.js +0 -1
  544. package/dist-cms/packages/core/workspace/components/workspace-editor/workspace-editor.element.d.ts +0 -1
  545. package/dist-cms/packages/core/workspace/components/workspace-editor/workspace-editor.element.js +0 -2
  546. package/dist-cms/packages/core/workspace/components/workspace-footer/workspace-footer.element.d.ts +0 -1
  547. package/dist-cms/packages/core/workspace/components/workspace-footer/workspace-footer.element.js +1 -1
  548. package/dist-cms/packages/core/workspace/components/workspace-split-view/workspace-split-view-variant-selector.element.d.ts +7 -4
  549. package/dist-cms/packages/core/workspace/components/workspace-split-view/workspace-split-view-variant-selector.element.js +137 -91
  550. package/dist-cms/packages/core/workspace/conditions/index.d.ts +2 -0
  551. package/dist-cms/packages/core/workspace/conditions/manifests.js +2 -0
  552. package/dist-cms/packages/core/workspace/conditions/workspace-content-type-alias.condition.d.ts +24 -0
  553. package/dist-cms/packages/core/workspace/conditions/workspace-content-type-alias.condition.js +34 -0
  554. package/dist-cms/packages/core/workspace/contexts/submittable-workspace-context-base.d.ts +11 -2
  555. package/dist-cms/packages/core/workspace/contexts/submittable-workspace-context-base.js +26 -6
  556. package/dist-cms/packages/core/workspace/contexts/tokens/collection-workspace-context.interface.d.ts +0 -6
  557. package/dist-cms/packages/core/workspace/contexts/tokens/invariant-dataset-workspace-context.interface.d.ts +0 -6
  558. package/dist-cms/packages/core/workspace/contexts/tokens/submittable-workspace-context.interface.d.ts +0 -7
  559. package/dist-cms/packages/core/workspace/contexts/tokens/workspace-context.interface.d.ts +0 -7
  560. package/dist-cms/packages/core/workspace/controllers/workspace-split-view-manager.controller.d.ts +0 -1
  561. package/dist-cms/packages/core/workspace/controllers/workspace-split-view-manager.controller.js +0 -1
  562. package/dist-cms/packages/core/workspace/workspace-property-dataset/invariant-workspace-property-dataset-context.d.ts +8 -4
  563. package/dist-cms/packages/core/workspace/workspace-property-dataset/invariant-workspace-property-dataset-context.js +11 -2
  564. package/dist-cms/packages/data-type/collection/repository/data-type-collection.server.data-source.d.ts +1 -2
  565. package/dist-cms/packages/data-type/collection/repository/data-type-collection.server.data-source.js +1 -2
  566. package/dist-cms/packages/data-type/components/data-type-flow-input/data-type-flow-input.element.d.ts +4 -1
  567. package/dist-cms/packages/data-type/components/data-type-flow-input/data-type-flow-input.element.js +18 -5
  568. package/dist-cms/packages/data-type/components/data-type-input/data-type-input.context.d.ts +3 -1
  569. package/dist-cms/packages/data-type/components/data-type-input/data-type-input.context.js +3 -1
  570. package/dist-cms/packages/data-type/components/data-type-input/data-type-input.element.js +2 -2
  571. package/dist-cms/packages/data-type/components/property-editor-config/property-editor-config.element.js +2 -2
  572. package/dist-cms/packages/data-type/components/ref-data-type/ref-data-type.element.js +1 -2
  573. package/dist-cms/packages/data-type/entity-actions/duplicate/repository/data-type-duplicate.server.data-source.d.ts +1 -2
  574. package/dist-cms/packages/data-type/entity-actions/duplicate/repository/data-type-duplicate.server.data-source.js +1 -2
  575. package/dist-cms/packages/data-type/entity-actions/move-to/repository/data-type-move.server.data-source.d.ts +1 -2
  576. package/dist-cms/packages/data-type/entity-actions/move-to/repository/data-type-move.server.data-source.js +1 -2
  577. package/dist-cms/packages/data-type/modals/data-type-picker-flow/data-type-picker-flow-data-type-picker-modal.element.d.ts +1 -6
  578. package/dist-cms/packages/data-type/modals/data-type-picker-flow/data-type-picker-flow-data-type-picker-modal.element.js +31 -35
  579. package/dist-cms/packages/data-type/modals/data-type-picker-flow/data-type-picker-flow-modal.element.d.ts +0 -15
  580. package/dist-cms/packages/data-type/modals/data-type-picker-flow/data-type-picker-flow-modal.element.js +121 -101
  581. package/dist-cms/packages/data-type/modals/data-type-picker-flow/data-type-picker-flow-modal.token.d.ts +1 -0
  582. package/dist-cms/packages/data-type/modals/property-editor-ui-picker/property-editor-ui-picker-modal.element.d.ts +1 -5
  583. package/dist-cms/packages/data-type/modals/property-editor-ui-picker/property-editor-ui-picker-modal.element.js +53 -56
  584. package/dist-cms/packages/data-type/reference/repository/data-type-reference.server.data.d.ts +1 -2
  585. package/dist-cms/packages/data-type/reference/repository/data-type-reference.server.data.js +1 -2
  586. package/dist-cms/packages/data-type/repository/detail/data-type-detail.server.data-source.d.ts +4 -2
  587. package/dist-cms/packages/data-type/repository/detail/data-type-detail.server.data-source.js +4 -2
  588. package/dist-cms/packages/data-type/repository/detail/data-type-detail.store.d.ts +1 -2
  589. package/dist-cms/packages/data-type/repository/detail/data-type-detail.store.js +1 -2
  590. package/dist-cms/packages/data-type/repository/item/data-type-item.server.data-source.d.ts +1 -2
  591. package/dist-cms/packages/data-type/repository/item/data-type-item.server.data-source.js +1 -2
  592. package/dist-cms/packages/data-type/repository/item/data-type-item.store.d.ts +1 -2
  593. package/dist-cms/packages/data-type/repository/item/data-type-item.store.js +1 -2
  594. package/dist-cms/packages/data-type/search/data-type-search.server.data-source.d.ts +2 -2
  595. package/dist-cms/packages/data-type/search/data-type-search.server.data-source.js +2 -2
  596. package/dist-cms/packages/data-type/tree/data-type-tree.server.data-source.d.ts +1 -2
  597. package/dist-cms/packages/data-type/tree/data-type-tree.server.data-source.js +1 -2
  598. package/dist-cms/packages/data-type/tree/data-type-tree.store.d.ts +1 -2
  599. package/dist-cms/packages/data-type/tree/data-type-tree.store.js +1 -2
  600. package/dist-cms/packages/data-type/tree/folder/data-type-folder.server.data-source.d.ts +1 -2
  601. package/dist-cms/packages/data-type/tree/folder/data-type-folder.server.data-source.js +1 -2
  602. package/dist-cms/packages/data-type/workspace/data-type-workspace-editor.element.js +4 -1
  603. package/dist-cms/packages/data-type/workspace/data-type-workspace.context.d.ts +6 -0
  604. package/dist-cms/packages/data-type/workspace/data-type-workspace.context.js +8 -0
  605. package/dist-cms/packages/data-type/workspace/views/details/data-type-details-workspace-view.element.js +30 -24
  606. package/dist-cms/packages/data-type/workspace/views/info/data-type-workspace-view-info-reference.element.js +3 -0
  607. package/dist-cms/packages/dictionary/collection/repository/dictionary-collection.server.data-source.d.ts +1 -2
  608. package/dist-cms/packages/dictionary/collection/repository/dictionary-collection.server.data-source.js +1 -2
  609. package/dist-cms/packages/dictionary/components/input-dictionary/input-dictionary.context.d.ts +3 -1
  610. package/dist-cms/packages/dictionary/components/input-dictionary/input-dictionary.context.js +3 -1
  611. package/dist-cms/packages/dictionary/entity-action/move-to/repository/dictionary-move.server.data-source.d.ts +1 -2
  612. package/dist-cms/packages/dictionary/entity-action/move-to/repository/dictionary-move.server.data-source.js +1 -2
  613. package/dist-cms/packages/dictionary/repository/detail/dictionary-detail.server.data-source.d.ts +3 -2
  614. package/dist-cms/packages/dictionary/repository/detail/dictionary-detail.server.data-source.js +3 -2
  615. package/dist-cms/packages/dictionary/repository/detail/dictionary-detail.store.d.ts +1 -2
  616. package/dist-cms/packages/dictionary/repository/detail/dictionary-detail.store.js +1 -2
  617. package/dist-cms/packages/dictionary/repository/item/dictionary-item.server.data-source.d.ts +1 -2
  618. package/dist-cms/packages/dictionary/repository/item/dictionary-item.server.data-source.js +1 -2
  619. package/dist-cms/packages/dictionary/repository/item/dictionary-item.store.d.ts +1 -2
  620. package/dist-cms/packages/dictionary/repository/item/dictionary-item.store.js +1 -2
  621. package/dist-cms/packages/dictionary/tree/dictionary-tree.server.data-source.d.ts +1 -2
  622. package/dist-cms/packages/dictionary/tree/dictionary-tree.server.data-source.js +1 -2
  623. package/dist-cms/packages/dictionary/tree/dictionary-tree.store.d.ts +1 -2
  624. package/dist-cms/packages/dictionary/tree/dictionary-tree.store.js +1 -2
  625. package/dist-cms/packages/dictionary/tree/index.js +1 -0
  626. package/dist-cms/packages/dictionary/workspace/views/workspace-view-dictionary-editor.element.d.ts +3 -1
  627. package/dist-cms/packages/dictionary/workspace/views/workspace-view-dictionary-editor.element.js +51 -20
  628. package/dist-cms/packages/documents/document-blueprints/entity-actions/move-to/repository/document-blueprint-move.server.data-source.d.ts +1 -2
  629. package/dist-cms/packages/documents/document-blueprints/entity-actions/move-to/repository/document-blueprint-move.server.data-source.js +1 -2
  630. package/dist-cms/packages/documents/document-blueprints/repository/detail/document-blueprint-detail.server.data-source.d.ts +4 -2
  631. package/dist-cms/packages/documents/document-blueprints/repository/detail/document-blueprint-detail.server.data-source.js +4 -2
  632. package/dist-cms/packages/documents/document-blueprints/repository/detail/document-blueprint-detail.store.d.ts +1 -2
  633. package/dist-cms/packages/documents/document-blueprints/repository/detail/document-blueprint-detail.store.js +1 -2
  634. package/dist-cms/packages/documents/document-blueprints/repository/item/document-blueprint-item.server.data-source.d.ts +1 -2
  635. package/dist-cms/packages/documents/document-blueprints/repository/item/document-blueprint-item.server.data-source.js +1 -2
  636. package/dist-cms/packages/documents/document-blueprints/repository/item/document-blueprint-item.store.d.ts +1 -2
  637. package/dist-cms/packages/documents/document-blueprints/repository/item/document-blueprint-item.store.js +1 -2
  638. package/dist-cms/packages/documents/document-blueprints/tree/document-blueprint-tree.server.data-source.d.ts +1 -2
  639. package/dist-cms/packages/documents/document-blueprints/tree/document-blueprint-tree.server.data-source.js +1 -2
  640. package/dist-cms/packages/documents/document-blueprints/tree/document-blueprint-tree.store.d.ts +1 -2
  641. package/dist-cms/packages/documents/document-blueprints/tree/document-blueprint-tree.store.js +1 -2
  642. package/dist-cms/packages/documents/document-blueprints/tree/folder/document-blueprint-folder.server.data-source.d.ts +1 -2
  643. package/dist-cms/packages/documents/document-blueprints/tree/folder/document-blueprint-folder.server.data-source.js +1 -2
  644. package/dist-cms/packages/documents/document-blueprints/workspace/document-blueprint-workspace.context.d.ts +9 -0
  645. package/dist-cms/packages/documents/document-blueprints/workspace/document-blueprint-workspace.context.js +9 -0
  646. package/dist-cms/packages/documents/document-types/components/index.d.ts +1 -2
  647. package/dist-cms/packages/documents/document-types/components/index.js +1 -2
  648. package/dist-cms/packages/documents/document-types/components/input-document-type/index.d.ts +2 -0
  649. package/dist-cms/packages/documents/document-types/components/input-document-type/index.js +2 -0
  650. package/dist-cms/packages/documents/document-types/components/input-document-type/input-document-type.context.d.ts +3 -1
  651. package/dist-cms/packages/documents/document-types/components/input-document-type/input-document-type.context.js +3 -1
  652. package/dist-cms/packages/documents/document-types/components/input-document-type/input-document-type.element.js +2 -2
  653. package/dist-cms/packages/documents/document-types/entity-actions/create/modal/document-type-create-options-modal.element.js +1 -1
  654. package/dist-cms/packages/documents/document-types/entity-actions/duplicate/repository/document-type-duplicate.server.data-source.d.ts +1 -2
  655. package/dist-cms/packages/documents/document-types/entity-actions/duplicate/repository/document-type-duplicate.server.data-source.js +1 -2
  656. package/dist-cms/packages/documents/document-types/entity-actions/export/document-type-export.action.d.ts +6 -0
  657. package/dist-cms/packages/documents/document-types/entity-actions/export/document-type-export.action.js +15 -0
  658. package/dist-cms/packages/documents/document-types/entity-actions/export/manifests.d.ts +2 -0
  659. package/dist-cms/packages/documents/document-types/entity-actions/export/manifests.js +17 -0
  660. package/dist-cms/packages/documents/document-types/entity-actions/export/repository/constants.d.ts +1 -0
  661. package/dist-cms/packages/documents/document-types/entity-actions/export/repository/constants.js +1 -0
  662. package/dist-cms/packages/documents/document-types/entity-actions/export/repository/document-type-export.repository.d.ts +9 -0
  663. package/dist-cms/packages/documents/document-types/entity-actions/export/repository/document-type-export.repository.js +16 -0
  664. package/dist-cms/packages/documents/document-types/entity-actions/export/repository/document-type-export.server.data-source.d.ts +21 -0
  665. package/dist-cms/packages/documents/document-types/entity-actions/export/repository/document-type-export.server.data-source.js +28 -0
  666. package/dist-cms/packages/documents/document-types/entity-actions/export/repository/index.d.ts +2 -0
  667. package/dist-cms/packages/documents/document-types/entity-actions/export/repository/index.js +2 -0
  668. package/dist-cms/packages/documents/{documents/modals/rollback → document-types/entity-actions/export}/repository/manifests.d.ts +0 -1
  669. package/dist-cms/packages/documents/document-types/entity-actions/export/repository/manifests.js +8 -0
  670. package/dist-cms/packages/documents/document-types/entity-actions/import/document-type-import.action.d.ts +5 -0
  671. package/dist-cms/packages/documents/document-types/entity-actions/import/document-type-import.action.js +20 -0
  672. package/dist-cms/packages/documents/document-types/entity-actions/import/manifests.d.ts +2 -0
  673. package/dist-cms/packages/documents/document-types/entity-actions/import/manifests.js +18 -0
  674. package/dist-cms/packages/documents/document-types/entity-actions/import/modal/document-type-import-modal.element.d.ts +16 -0
  675. package/dist-cms/packages/documents/document-types/entity-actions/import/modal/document-type-import-modal.element.js +145 -0
  676. package/dist-cms/packages/documents/document-types/entity-actions/import/modal/document-type-import-modal.token.d.ts +7 -0
  677. package/dist-cms/packages/documents/document-types/entity-actions/import/modal/document-type-import-modal.token.js +7 -0
  678. package/dist-cms/packages/documents/document-types/entity-actions/import/modal/index.d.ts +1 -0
  679. package/dist-cms/packages/documents/document-types/entity-actions/import/modal/index.js +1 -0
  680. package/dist-cms/packages/documents/document-types/entity-actions/import/modal/manifests.d.ts +2 -0
  681. package/dist-cms/packages/documents/document-types/entity-actions/import/modal/manifests.js +8 -0
  682. package/dist-cms/packages/documents/document-types/entity-actions/import/repository/constants.d.ts +1 -0
  683. package/dist-cms/packages/documents/document-types/entity-actions/import/repository/constants.js +1 -0
  684. package/dist-cms/packages/documents/document-types/entity-actions/import/repository/document-type-import.repository.d.ts +9 -0
  685. package/dist-cms/packages/documents/document-types/entity-actions/import/repository/document-type-import.repository.js +16 -0
  686. package/dist-cms/packages/documents/document-types/entity-actions/import/repository/document-type-import.server.data-source.d.ts +22 -0
  687. package/dist-cms/packages/documents/document-types/entity-actions/import/repository/document-type-import.server.data-source.js +32 -0
  688. package/dist-cms/packages/documents/document-types/entity-actions/import/repository/index.d.ts +2 -0
  689. package/dist-cms/packages/documents/document-types/entity-actions/import/repository/index.js +2 -0
  690. package/dist-cms/packages/documents/document-types/entity-actions/import/repository/manifests.d.ts +2 -0
  691. package/dist-cms/packages/documents/document-types/entity-actions/import/repository/manifests.js +8 -0
  692. package/dist-cms/packages/documents/document-types/entity-actions/manifests.js +4 -0
  693. package/dist-cms/packages/documents/document-types/entity-actions/move-to/repository/document-type-move.server.data-source.d.ts +1 -2
  694. package/dist-cms/packages/documents/document-types/entity-actions/move-to/repository/document-type-move.server.data-source.js +1 -2
  695. package/dist-cms/packages/documents/document-types/modals/document-type-picker-modal.token.d.ts +1 -1
  696. package/dist-cms/packages/documents/document-types/modals/document-type-picker-modal.token.js +3 -2
  697. package/dist-cms/packages/documents/document-types/repository/composition/document-type-composition.server.data-source.d.ts +1 -2
  698. package/dist-cms/packages/documents/document-types/repository/composition/document-type-composition.server.data-source.js +1 -2
  699. package/dist-cms/packages/documents/document-types/repository/detail/document-type-detail.server.data-source.d.ts +4 -2
  700. package/dist-cms/packages/documents/document-types/repository/detail/document-type-detail.server.data-source.js +4 -2
  701. package/dist-cms/packages/documents/document-types/repository/detail/document-type-detail.store.d.ts +1 -2
  702. package/dist-cms/packages/documents/document-types/repository/detail/document-type-detail.store.js +1 -2
  703. package/dist-cms/packages/documents/document-types/repository/item/document-type-item.server.data-source.d.ts +1 -2
  704. package/dist-cms/packages/documents/document-types/repository/item/document-type-item.server.data-source.js +1 -2
  705. package/dist-cms/packages/documents/document-types/repository/item/document-type-item.store.d.ts +1 -2
  706. package/dist-cms/packages/documents/document-types/repository/item/document-type-item.store.js +1 -2
  707. package/dist-cms/packages/documents/document-types/repository/structure/document-type-structure.server.data-source.d.ts +1 -1
  708. package/dist-cms/packages/documents/document-types/repository/structure/document-type-structure.server.data-source.js +1 -1
  709. package/dist-cms/packages/documents/document-types/search/constants.d.ts +1 -0
  710. package/dist-cms/packages/documents/document-types/search/constants.js +1 -0
  711. package/dist-cms/packages/documents/document-types/search/document-type-search.server.data-source.d.ts +2 -2
  712. package/dist-cms/packages/documents/document-types/search/document-type-search.server.data-source.js +2 -2
  713. package/dist-cms/packages/documents/document-types/search/index.d.ts +1 -0
  714. package/dist-cms/packages/documents/document-types/search/index.js +1 -0
  715. package/dist-cms/packages/documents/document-types/search/manifests.js +2 -1
  716. package/dist-cms/packages/documents/document-types/tree/document-type.tree.server.data-source.d.ts +1 -2
  717. package/dist-cms/packages/documents/document-types/tree/document-type.tree.server.data-source.js +1 -2
  718. package/dist-cms/packages/documents/document-types/tree/document-type.tree.store.d.ts +1 -2
  719. package/dist-cms/packages/documents/document-types/tree/document-type.tree.store.js +1 -2
  720. package/dist-cms/packages/documents/document-types/tree/folder/document-type-folder.server.data-source.d.ts +1 -2
  721. package/dist-cms/packages/documents/document-types/tree/folder/document-type-folder.server.data-source.js +1 -2
  722. package/dist-cms/packages/documents/document-types/workspace/document-type-workspace-editor.element.js +5 -2
  723. package/dist-cms/packages/documents/document-types/workspace/document-type-workspace.context.js +2 -0
  724. package/dist-cms/packages/documents/documents/audit-log/repository/document-audit-log.repository.d.ts +1 -2
  725. package/dist-cms/packages/documents/documents/audit-log/repository/document-audit-log.repository.js +1 -2
  726. package/dist-cms/packages/documents/documents/audit-log/repository/document-audit-log.server.data-source.d.ts +1 -2
  727. package/dist-cms/packages/documents/documents/audit-log/repository/document-audit-log.server.data-source.js +1 -2
  728. package/dist-cms/packages/documents/documents/components/index.d.ts +1 -2
  729. package/dist-cms/packages/documents/documents/components/index.js +1 -2
  730. package/dist-cms/packages/documents/documents/components/input-document/index.d.ts +2 -0
  731. package/dist-cms/packages/documents/documents/components/input-document/index.js +2 -0
  732. package/dist-cms/packages/documents/documents/components/input-document/input-document.context.d.ts +3 -1
  733. package/dist-cms/packages/documents/documents/components/input-document/input-document.context.js +3 -1
  734. package/dist-cms/packages/documents/documents/components/input-document/input-document.element.d.ts +8 -0
  735. package/dist-cms/packages/documents/documents/components/input-document/input-document.element.js +51 -12
  736. package/dist-cms/packages/documents/documents/entity-actions/create/document-create-options-modal.element.js +28 -13
  737. package/dist-cms/packages/documents/documents/entity-actions/create-blueprint/repository/document-create-blueprint.server.data-source.d.ts +2 -2
  738. package/dist-cms/packages/documents/documents/entity-actions/create-blueprint/repository/document-create-blueprint.server.data-source.js +2 -2
  739. package/dist-cms/packages/documents/documents/entity-actions/culture-and-hostnames/repository/culture-and-hostnames.server.data.d.ts +1 -2
  740. package/dist-cms/packages/documents/documents/entity-actions/culture-and-hostnames/repository/culture-and-hostnames.server.data.js +1 -2
  741. package/dist-cms/packages/documents/documents/entity-actions/duplicate/duplicate-document.action.d.ts +1 -1
  742. package/dist-cms/packages/documents/documents/entity-actions/duplicate/repository/document-duplicate.server.data-source.d.ts +1 -2
  743. package/dist-cms/packages/documents/documents/entity-actions/duplicate/repository/document-duplicate.server.data-source.js +1 -2
  744. package/dist-cms/packages/documents/documents/entity-actions/manifests.js +2 -24
  745. package/dist-cms/packages/documents/documents/entity-actions/move-to/repository/document-move.server.data-source.d.ts +1 -2
  746. package/dist-cms/packages/documents/documents/entity-actions/move-to/repository/document-move.server.data-source.js +1 -2
  747. package/dist-cms/packages/{user/user/entity-actions/change-password/change-user-password.action.d.ts → documents/documents/entity-actions/notifications/document-notifications.action.d.ts} +3 -3
  748. package/dist-cms/packages/documents/documents/entity-actions/notifications/document-notifications.action.js +16 -0
  749. package/dist-cms/packages/documents/documents/entity-actions/notifications/index.d.ts +2 -0
  750. package/dist-cms/packages/documents/documents/entity-actions/notifications/index.js +2 -0
  751. package/dist-cms/packages/documents/documents/entity-actions/notifications/manifests.d.ts +1 -0
  752. package/dist-cms/packages/documents/documents/entity-actions/notifications/manifests.js +30 -0
  753. package/dist-cms/packages/documents/documents/entity-actions/notifications/modal/document-notifications-modal.element.d.ts +16 -0
  754. package/dist-cms/packages/documents/documents/entity-actions/notifications/modal/document-notifications-modal.element.js +118 -0
  755. package/dist-cms/packages/documents/documents/entity-actions/notifications/modal/document-notifications-modal.token.d.ts +6 -0
  756. package/dist-cms/packages/documents/documents/entity-actions/notifications/modal/document-notifications-modal.token.js +8 -0
  757. package/dist-cms/packages/documents/documents/entity-actions/notifications/modal/index.d.ts +1 -0
  758. package/dist-cms/packages/documents/documents/entity-actions/notifications/modal/index.js +1 -0
  759. package/dist-cms/packages/documents/documents/entity-actions/notifications/modal/manifests.d.ts +3 -0
  760. package/dist-cms/packages/documents/documents/entity-actions/notifications/modal/manifests.js +8 -0
  761. package/dist-cms/packages/documents/documents/entity-actions/notifications/repository/document-notifications.repository.d.ts +19 -0
  762. package/dist-cms/packages/documents/documents/entity-actions/notifications/repository/document-notifications.repository.js +39 -0
  763. package/dist-cms/packages/documents/documents/entity-actions/notifications/repository/document-notifications.server.data.d.ts +28 -0
  764. package/dist-cms/packages/documents/documents/entity-actions/notifications/repository/document-notifications.server.data.js +38 -0
  765. package/dist-cms/packages/documents/documents/entity-actions/notifications/repository/index.d.ts +2 -0
  766. package/dist-cms/packages/documents/documents/entity-actions/notifications/repository/index.js +2 -0
  767. package/dist-cms/packages/documents/documents/entity-actions/notifications/repository/manifests.d.ts +3 -0
  768. package/dist-cms/packages/documents/documents/entity-actions/notifications/repository/manifests.js +8 -0
  769. package/dist-cms/packages/documents/documents/entity-actions/public-access/repository/public-access.server.data.d.ts +2 -2
  770. package/dist-cms/packages/documents/documents/entity-actions/public-access/repository/public-access.server.data.js +2 -2
  771. package/dist-cms/packages/documents/documents/entity-actions/sort-children-of/repository/sort-children-of.server.data.d.ts +1 -2
  772. package/dist-cms/packages/documents/documents/entity-actions/sort-children-of/repository/sort-children-of.server.data.js +1 -2
  773. package/dist-cms/packages/documents/documents/manifests.d.ts +2 -2
  774. package/dist-cms/packages/documents/documents/manifests.js +4 -0
  775. package/dist-cms/packages/documents/documents/modals/document-picker-modal.token.js +4 -0
  776. package/dist-cms/packages/documents/documents/modals/manifests.d.ts +0 -1
  777. package/dist-cms/packages/documents/documents/modals/manifests.js +0 -7
  778. package/dist-cms/packages/documents/documents/modals/publish-modal/document-publish-modal.element.js +2 -1
  779. package/dist-cms/packages/documents/documents/modals/publish-with-descendants-modal/document-publish-with-descendants-modal.element.js +2 -1
  780. package/dist-cms/packages/documents/documents/modals/save-modal/document-save-modal.element.js +2 -1
  781. package/dist-cms/packages/documents/documents/modals/schedule-modal/document-schedule-modal.element.js +24 -12
  782. package/dist-cms/packages/documents/documents/modals/shared/document-variant-language-picker.element.d.ts +8 -1
  783. package/dist-cms/packages/documents/documents/modals/shared/document-variant-language-picker.element.js +31 -15
  784. package/dist-cms/packages/documents/documents/modals/types.d.ts +1 -0
  785. package/dist-cms/packages/documents/documents/modals/unpublish-modal/document-unpublish-modal.element.js +2 -1
  786. package/dist-cms/packages/documents/documents/picker/manifests.d.ts +2 -0
  787. package/dist-cms/packages/documents/documents/picker/manifests.js +10 -0
  788. package/dist-cms/packages/documents/documents/property-editors/document-picker/manifests.js +2 -1
  789. package/dist-cms/packages/documents/documents/property-editors/document-picker/property-editor-ui-document-picker.element.d.ts +7 -0
  790. package/dist-cms/packages/documents/documents/property-editors/document-picker/property-editor-ui-document-picker.element.js +12 -1
  791. package/dist-cms/packages/documents/documents/recycle-bin/entity-action/manifests.js +1 -1
  792. package/dist-cms/packages/documents/documents/recycle-bin/repository/types.d.ts +1 -0
  793. package/dist-cms/packages/documents/documents/recycle-bin/repository/types.js +1 -1
  794. package/dist-cms/packages/documents/documents/recycle-bin/tree/document-recycle-bin-tree.server.data-source.d.ts +1 -2
  795. package/dist-cms/packages/documents/documents/recycle-bin/tree/document-recycle-bin-tree.server.data-source.js +1 -2
  796. package/dist-cms/packages/documents/documents/recycle-bin/tree/document-recycle-bin-tree.store.d.ts +1 -2
  797. package/dist-cms/packages/documents/documents/recycle-bin/tree/document-recycle-bin-tree.store.js +1 -2
  798. package/dist-cms/packages/documents/documents/recycle-bin/tree/index.js +1 -0
  799. package/dist-cms/packages/documents/documents/reference/repository/document-reference.server.data.d.ts +1 -2
  800. package/dist-cms/packages/documents/documents/reference/repository/document-reference.server.data.js +1 -2
  801. package/dist-cms/packages/documents/documents/repository/detail/document-detail.server.data-source.d.ts +3 -2
  802. package/dist-cms/packages/documents/documents/repository/detail/document-detail.server.data-source.js +3 -2
  803. package/dist-cms/packages/documents/documents/repository/detail/document-detail.store.d.ts +1 -2
  804. package/dist-cms/packages/documents/documents/repository/detail/document-detail.store.js +1 -2
  805. package/dist-cms/packages/documents/documents/repository/item/document-item.server.data-source.d.ts +1 -2
  806. package/dist-cms/packages/documents/documents/repository/item/document-item.server.data-source.js +1 -2
  807. package/dist-cms/packages/documents/documents/repository/item/document-item.store.d.ts +1 -2
  808. package/dist-cms/packages/documents/documents/repository/item/document-item.store.js +1 -2
  809. package/dist-cms/packages/documents/documents/repository/publishing/document-publishing.server.data-source.d.ts +5 -2
  810. package/dist-cms/packages/documents/documents/repository/publishing/document-publishing.server.data-source.js +5 -2
  811. package/dist-cms/packages/documents/documents/repository/validation/document-validation.server.data-source.d.ts +2 -2
  812. package/dist-cms/packages/documents/documents/repository/validation/document-validation.server.data-source.js +2 -2
  813. package/dist-cms/packages/documents/documents/rollback/entity-action/manifests.d.ts +2 -0
  814. package/dist-cms/packages/documents/documents/rollback/entity-action/manifests.js +34 -0
  815. package/dist-cms/packages/documents/documents/rollback/entity-action/rollback.action.d.ts +6 -0
  816. package/dist-cms/packages/documents/documents/rollback/entity-action/rollback.action.js +18 -0
  817. package/dist-cms/packages/documents/documents/rollback/index.d.ts +2 -0
  818. package/dist-cms/packages/documents/documents/rollback/index.js +2 -0
  819. package/dist-cms/packages/documents/documents/rollback/manifests.d.ts +2 -0
  820. package/dist-cms/packages/documents/documents/rollback/manifests.js +4 -0
  821. package/dist-cms/packages/documents/documents/rollback/modal/constants.d.ts +1 -0
  822. package/dist-cms/packages/documents/documents/rollback/modal/constants.js +1 -0
  823. package/dist-cms/packages/documents/documents/rollback/modal/manifests.d.ts +2 -0
  824. package/dist-cms/packages/documents/documents/rollback/modal/manifests.js +9 -0
  825. package/dist-cms/packages/documents/documents/{modals/rollback → rollback/modal}/rollback-modal.element.d.ts +1 -1
  826. package/dist-cms/packages/documents/documents/{modals/rollback → rollback/modal}/rollback-modal.element.js +2 -2
  827. package/dist-cms/packages/documents/documents/{modals/rollback → rollback/modal}/rollback-modal.token.js +1 -1
  828. package/dist-cms/packages/documents/documents/rollback/repository/manifests.d.ts +3 -0
  829. package/dist-cms/packages/documents/documents/rollback/repository/rollback.repository.d.ts +12 -0
  830. package/dist-cms/packages/documents/documents/{modals/rollback → rollback}/repository/rollback.repository.js +1 -1
  831. package/dist-cms/packages/documents/documents/{modals/rollback → rollback}/repository/rollback.server.data-source.d.ts +9 -7
  832. package/dist-cms/packages/documents/documents/{modals/rollback → rollback}/repository/rollback.server.data-source.js +6 -4
  833. package/dist-cms/packages/documents/documents/search/constants.d.ts +1 -0
  834. package/dist-cms/packages/documents/documents/search/constants.js +1 -0
  835. package/dist-cms/packages/documents/documents/search/document-search.server.data-source.d.ts +2 -2
  836. package/dist-cms/packages/documents/documents/search/document-search.server.data-source.js +2 -2
  837. package/dist-cms/packages/documents/documents/search/index.d.ts +1 -0
  838. package/dist-cms/packages/documents/documents/search/index.js +1 -0
  839. package/dist-cms/packages/documents/documents/search/manifests.js +2 -1
  840. package/dist-cms/packages/documents/documents/tree/document-tree.server.data-source.d.ts +1 -2
  841. package/dist-cms/packages/documents/documents/tree/document-tree.server.data-source.js +1 -2
  842. package/dist-cms/packages/documents/documents/tree/document-tree.store.d.ts +1 -2
  843. package/dist-cms/packages/documents/documents/tree/document-tree.store.js +1 -2
  844. package/dist-cms/packages/documents/documents/user-permissions/input-document-granular-user-permission/input-document-granular-user-permission.element.js +1 -1
  845. package/dist-cms/packages/documents/documents/user-permissions/repository/document-permission.server.data.d.ts +1 -2
  846. package/dist-cms/packages/documents/documents/user-permissions/repository/document-permission.server.data.js +1 -2
  847. package/dist-cms/packages/documents/documents/utils.d.ts +4 -0
  848. package/dist-cms/packages/documents/documents/utils.js +25 -0
  849. package/dist-cms/packages/documents/documents/workspace/actions/save-and-preview.action.js +6 -1
  850. package/dist-cms/packages/documents/documents/workspace/actions/save-and-publish.action.js +6 -1
  851. package/dist-cms/packages/documents/documents/workspace/actions/save.action.js +6 -1
  852. package/dist-cms/packages/documents/documents/workspace/constants.d.ts +1 -0
  853. package/dist-cms/packages/documents/documents/workspace/constants.js +1 -0
  854. package/dist-cms/packages/documents/documents/workspace/document-workspace.context.d.ts +9 -0
  855. package/dist-cms/packages/documents/documents/workspace/document-workspace.context.js +51 -9
  856. package/dist-cms/packages/documents/documents/workspace/index.d.ts +1 -0
  857. package/dist-cms/packages/documents/documents/workspace/index.js +1 -0
  858. package/dist-cms/packages/documents/documents/workspace/manifests.d.ts +0 -1
  859. package/dist-cms/packages/documents/documents/workspace/manifests.js +7 -7
  860. package/dist-cms/packages/documents/documents/workspace/views/info/document-workspace-view-info-history.element.js +6 -34
  861. package/dist-cms/packages/documents/documents/workspace/views/info/document-workspace-view-info-reference.element.js +3 -0
  862. package/dist-cms/packages/documents/manifests.d.ts +2 -2
  863. package/dist-cms/packages/language/collection/repository/language-collection.server.data-source.d.ts +1 -2
  864. package/dist-cms/packages/language/collection/repository/language-collection.server.data-source.js +1 -2
  865. package/dist-cms/packages/language/components/index.d.ts +1 -1
  866. package/dist-cms/packages/language/components/index.js +1 -1
  867. package/dist-cms/packages/language/components/input-language/index.d.ts +2 -0
  868. package/dist-cms/packages/language/components/input-language/index.js +2 -0
  869. package/dist-cms/packages/language/components/input-language/input-language.context.d.ts +3 -1
  870. package/dist-cms/packages/language/components/input-language/input-language.context.js +3 -1
  871. package/dist-cms/packages/language/components/input-language/input-language.element.js +2 -2
  872. package/dist-cms/packages/language/manifests.js +12 -0
  873. package/dist-cms/packages/language/permissions/language-access.workspace-context.d.ts +7 -0
  874. package/dist-cms/packages/language/permissions/language-access.workspace-context.js +62 -0
  875. package/dist-cms/packages/language/permissions/language-access.workspace-context.token.d.ts +3 -0
  876. package/dist-cms/packages/language/permissions/language-access.workspace-context.token.js +2 -0
  877. package/dist-cms/packages/language/repository/detail/language-detail.server.data-source.d.ts +2 -2
  878. package/dist-cms/packages/language/repository/detail/language-detail.server.data-source.js +2 -2
  879. package/dist-cms/packages/language/repository/detail/language-detail.store.d.ts +1 -2
  880. package/dist-cms/packages/language/repository/detail/language-detail.store.js +1 -2
  881. package/dist-cms/packages/language/repository/item/language-item.server.data-source.d.ts +1 -2
  882. package/dist-cms/packages/language/repository/item/language-item.server.data-source.js +1 -2
  883. package/dist-cms/packages/language/repository/item/language-item.store.d.ts +1 -2
  884. package/dist-cms/packages/language/repository/item/language-item.store.js +1 -2
  885. package/dist-cms/packages/log-viewer/components/donut-chart/donut-chart.element.d.ts +0 -1
  886. package/dist-cms/packages/log-viewer/components/donut-chart/donut-chart.element.js +0 -1
  887. package/dist-cms/packages/log-viewer/components/donut-chart/donut-slice.element.d.ts +0 -1
  888. package/dist-cms/packages/log-viewer/components/donut-chart/donut-slice.element.js +0 -1
  889. package/dist-cms/packages/log-viewer/package.json +8 -0
  890. package/dist-cms/packages/log-viewer/repository/sources/log-viewer.server.data.d.ts +2 -4
  891. package/dist-cms/packages/log-viewer/repository/sources/log-viewer.server.data.js +2 -4
  892. package/dist-cms/packages/log-viewer/vite.config.d.ts +2 -0
  893. package/dist-cms/packages/log-viewer/vite.config.js +9 -0
  894. package/dist-cms/packages/log-viewer/workspace/logviewer-workspace.context.js +2 -2
  895. package/dist-cms/packages/log-viewer/workspace/views/search/components/log-viewer-message.element.js +6 -1
  896. package/dist-cms/packages/markdown-editor/components/input-markdown-editor/input-markdown.element.d.ts +8 -0
  897. package/dist-cms/packages/markdown-editor/components/input-markdown-editor/input-markdown.element.js +23 -1
  898. package/dist-cms/packages/markdown-editor/package.json +8 -0
  899. package/dist-cms/packages/markdown-editor/property-editors/markdown-editor/manifests.js +2 -1
  900. package/dist-cms/packages/markdown-editor/property-editors/markdown-editor/property-editor-ui-markdown-editor.element.d.ts +7 -0
  901. package/dist-cms/packages/markdown-editor/property-editors/markdown-editor/property-editor-ui-markdown-editor.element.js +12 -1
  902. package/dist-cms/packages/markdown-editor/vite.config.d.ts +2 -0
  903. package/dist-cms/packages/markdown-editor/vite.config.js +9 -0
  904. package/dist-cms/packages/media/imaging/imaging.server.data.d.ts +3 -2
  905. package/dist-cms/packages/media/imaging/imaging.server.data.js +3 -2
  906. package/dist-cms/packages/media/media/audit-log/repository/media-audit-log.repository.d.ts +1 -2
  907. package/dist-cms/packages/media/media/audit-log/repository/media-audit-log.repository.js +1 -2
  908. package/dist-cms/packages/media/media/audit-log/repository/media-audit-log.server.data-source.d.ts +1 -2
  909. package/dist-cms/packages/media/media/audit-log/repository/media-audit-log.server.data-source.js +1 -2
  910. package/dist-cms/packages/media/media/components/input-media/index.d.ts +1 -0
  911. package/dist-cms/packages/media/media/components/input-media/index.js +1 -0
  912. package/dist-cms/packages/media/media/components/input-media/input-media.context.d.ts +3 -1
  913. package/dist-cms/packages/media/media/components/input-media/input-media.context.js +3 -1
  914. package/dist-cms/packages/media/media/components/input-media/input-media.element.d.ts +8 -0
  915. package/dist-cms/packages/media/media/components/input-media/input-media.element.js +59 -25
  916. package/dist-cms/packages/media/media/components/input-rich-media/input-rich-media.element.d.ts +8 -0
  917. package/dist-cms/packages/media/media/components/input-rich-media/input-rich-media.element.js +58 -22
  918. package/dist-cms/packages/media/media/components/input-upload-field/index.d.ts +1 -5
  919. package/dist-cms/packages/media/media/components/input-upload-field/index.js +1 -5
  920. package/dist-cms/packages/media/media/components/input-upload-field/input-upload-field.element.d.ts +6 -3
  921. package/dist-cms/packages/media/media/components/input-upload-field/input-upload-field.element.js +80 -57
  922. package/dist-cms/packages/media/media/components/input-upload-field/manifests.d.ts +1 -0
  923. package/dist-cms/packages/media/media/components/input-upload-field/manifests.js +1 -0
  924. package/dist-cms/packages/media/media/components/input-upload-field/preview/index.d.ts +5 -0
  925. package/dist-cms/packages/media/media/components/input-upload-field/preview/index.js +5 -0
  926. package/dist-cms/packages/media/media/components/input-upload-field/preview/input-upload-field-audio.element.d.ts +11 -0
  927. package/dist-cms/packages/media/media/components/input-upload-field/{input-upload-field-audio.element.js → preview/input-upload-field-audio.element.js} +3 -3
  928. package/dist-cms/packages/media/media/components/input-upload-field/{input-upload-field-file.element.d.ts → preview/input-upload-field-file.element.d.ts} +4 -4
  929. package/dist-cms/packages/media/media/components/input-upload-field/{input-upload-field-file.element.js → preview/input-upload-field-file.element.js} +10 -11
  930. package/dist-cms/packages/media/media/components/input-upload-field/preview/input-upload-field-image.element.d.ts +11 -0
  931. package/dist-cms/packages/media/media/components/input-upload-field/{input-upload-field-image.element.js → preview/input-upload-field-image.element.js} +3 -3
  932. package/dist-cms/packages/media/media/components/input-upload-field/preview/input-upload-field-svg.element.d.ts +11 -0
  933. package/dist-cms/packages/media/media/components/input-upload-field/{input-upload-field-svg.element.js → preview/input-upload-field-svg.element.js} +3 -3
  934. package/dist-cms/packages/media/media/components/input-upload-field/preview/input-upload-field-video.element.d.ts +11 -0
  935. package/dist-cms/packages/media/media/components/input-upload-field/{input-upload-field-video.element.js → preview/input-upload-field-video.element.js} +3 -3
  936. package/dist-cms/packages/media/media/components/input-upload-field/preview/manifest.d.ts +2 -0
  937. package/dist-cms/packages/media/media/components/input-upload-field/preview/manifest.js +43 -0
  938. package/dist-cms/packages/media/media/components/input-upload-field/utils.d.ts +5 -0
  939. package/dist-cms/packages/media/media/components/input-upload-field/utils.js +828 -0
  940. package/dist-cms/packages/media/media/dropzone/dropzone-manager.class.d.ts +1 -0
  941. package/dist-cms/packages/media/media/dropzone/dropzone-manager.class.js +3 -6
  942. package/dist-cms/packages/media/media/entity-actions/move-to/repository/media-move.server.data-source.d.ts +1 -2
  943. package/dist-cms/packages/media/media/entity-actions/move-to/repository/media-move.server.data-source.js +1 -2
  944. package/dist-cms/packages/media/media/entity-actions/sort-children-of/repository/sort-children-of.server.data.d.ts +1 -2
  945. package/dist-cms/packages/media/media/entity-actions/sort-children-of/repository/sort-children-of.server.data.js +1 -2
  946. package/dist-cms/packages/media/media/manifests.js +2 -0
  947. package/dist-cms/packages/media/media/property-editors/image-cropper/manifests.js +1 -1
  948. package/dist-cms/packages/media/media/property-editors/media-entity-picker/manifests.js +1 -0
  949. package/dist-cms/packages/media/media/property-editors/media-entity-picker/property-editor-ui-media-entity-picker.element.d.ts +7 -0
  950. package/dist-cms/packages/media/media/property-editors/media-entity-picker/property-editor-ui-media-entity-picker.element.js +11 -0
  951. package/dist-cms/packages/media/media/property-editors/media-picker/manifests.js +2 -1
  952. package/dist-cms/packages/media/media/property-editors/media-picker/property-editor-ui-media-picker.element.d.ts +7 -0
  953. package/dist-cms/packages/media/media/property-editors/media-picker/property-editor-ui-media-picker.element.js +12 -1
  954. package/dist-cms/packages/media/media/property-editors/upload-field/manifests.js +1 -1
  955. package/dist-cms/packages/media/media/recycle-bin/tree/index.js +1 -0
  956. package/dist-cms/packages/media/media/recycle-bin/tree/media-recycle-bin-tree.server.data-source.d.ts +1 -2
  957. package/dist-cms/packages/media/media/recycle-bin/tree/media-recycle-bin-tree.server.data-source.js +1 -2
  958. package/dist-cms/packages/media/media/recycle-bin/tree/media-recycle-bin-tree.store.d.ts +1 -2
  959. package/dist-cms/packages/media/media/recycle-bin/tree/media-recycle-bin-tree.store.js +1 -2
  960. package/dist-cms/packages/media/media/reference/repository/media-reference.server.data.d.ts +1 -2
  961. package/dist-cms/packages/media/media/reference/repository/media-reference.server.data.js +1 -2
  962. package/dist-cms/packages/media/media/repository/detail/media-detail.server.data-source.d.ts +3 -2
  963. package/dist-cms/packages/media/media/repository/detail/media-detail.server.data-source.js +3 -2
  964. package/dist-cms/packages/media/media/repository/detail/media-detail.store.d.ts +1 -2
  965. package/dist-cms/packages/media/media/repository/detail/media-detail.store.js +1 -2
  966. package/dist-cms/packages/media/media/repository/item/media-item.server.data-source.d.ts +1 -2
  967. package/dist-cms/packages/media/media/repository/item/media-item.server.data-source.js +1 -2
  968. package/dist-cms/packages/media/media/repository/item/media-item.store.d.ts +1 -2
  969. package/dist-cms/packages/media/media/repository/item/media-item.store.js +1 -2
  970. package/dist-cms/packages/media/media/repository/url/media-url.server.data-source.d.ts +1 -2
  971. package/dist-cms/packages/media/media/repository/url/media-url.server.data-source.js +1 -2
  972. package/dist-cms/packages/media/media/repository/url/media-url.store.d.ts +1 -2
  973. package/dist-cms/packages/media/media/repository/url/media-url.store.js +1 -2
  974. package/dist-cms/packages/media/media/search/media-search.server.data-source.d.ts +2 -2
  975. package/dist-cms/packages/media/media/search/media-search.server.data-source.js +2 -2
  976. package/dist-cms/packages/media/media/tree/index.js +1 -0
  977. package/dist-cms/packages/media/media/tree/media-tree.server.data-source.d.ts +1 -2
  978. package/dist-cms/packages/media/media/tree/media-tree.server.data-source.js +1 -2
  979. package/dist-cms/packages/media/media/tree/media-tree.store.d.ts +1 -2
  980. package/dist-cms/packages/media/media/tree/media-tree.store.js +1 -2
  981. package/dist-cms/packages/media/media/utils/index.js +1 -1
  982. package/dist-cms/packages/media/media/workspace/media-workspace.context.d.ts +9 -0
  983. package/dist-cms/packages/media/media/workspace/media-workspace.context.js +9 -0
  984. package/dist-cms/packages/media/media/workspace/views/info/media-workspace-view-info-reference.element.js +4 -0
  985. package/dist-cms/packages/media/media-types/components/index.d.ts +1 -1
  986. package/dist-cms/packages/media/media-types/components/index.js +1 -1
  987. package/dist-cms/packages/media/media-types/components/input-media-type/index.d.ts +2 -0
  988. package/dist-cms/packages/media/media-types/components/input-media-type/index.js +2 -0
  989. package/dist-cms/packages/media/media-types/components/input-media-type/input-media-type.context.d.ts +3 -1
  990. package/dist-cms/packages/media/media-types/components/input-media-type/input-media-type.context.js +3 -1
  991. package/dist-cms/packages/media/media-types/components/input-media-type/input-media-type.element.js +2 -2
  992. package/dist-cms/packages/media/media-types/entity-actions/duplicate/repository/media-type-duplicate.server.data-source.d.ts +1 -2
  993. package/dist-cms/packages/media/media-types/entity-actions/duplicate/repository/media-type-duplicate.server.data-source.js +1 -2
  994. package/dist-cms/packages/media/media-types/entity-actions/export/manifests.d.ts +2 -0
  995. package/dist-cms/packages/media/media-types/entity-actions/export/manifests.js +17 -0
  996. package/dist-cms/packages/media/media-types/entity-actions/export/media-type-export.action.d.ts +6 -0
  997. package/dist-cms/packages/media/media-types/entity-actions/export/media-type-export.action.js +15 -0
  998. package/dist-cms/packages/media/media-types/entity-actions/export/repository/constants.d.ts +1 -0
  999. package/dist-cms/packages/media/media-types/entity-actions/export/repository/constants.js +1 -0
  1000. package/dist-cms/packages/media/media-types/entity-actions/export/repository/index.d.ts +2 -0
  1001. package/dist-cms/packages/media/media-types/entity-actions/export/repository/index.js +2 -0
  1002. package/dist-cms/packages/media/media-types/entity-actions/export/repository/manifests.d.ts +2 -0
  1003. package/dist-cms/packages/media/media-types/entity-actions/export/repository/manifests.js +8 -0
  1004. package/dist-cms/packages/media/media-types/entity-actions/export/repository/media-type-export.repository.d.ts +9 -0
  1005. package/dist-cms/packages/media/media-types/entity-actions/export/repository/media-type-export.repository.js +16 -0
  1006. package/dist-cms/packages/media/media-types/entity-actions/export/repository/media-type-export.server.data-source.d.ts +22 -0
  1007. package/dist-cms/packages/media/media-types/entity-actions/export/repository/media-type-export.server.data-source.js +29 -0
  1008. package/dist-cms/packages/media/media-types/entity-actions/import/manifests.d.ts +2 -0
  1009. package/dist-cms/packages/media/media-types/entity-actions/import/manifests.js +18 -0
  1010. package/dist-cms/packages/media/media-types/entity-actions/import/media-type-import.action.d.ts +5 -0
  1011. package/dist-cms/packages/media/media-types/entity-actions/import/media-type-import.action.js +20 -0
  1012. package/dist-cms/packages/media/media-types/entity-actions/import/modal/index.d.ts +1 -0
  1013. package/dist-cms/packages/media/media-types/entity-actions/import/modal/index.js +1 -0
  1014. package/dist-cms/packages/media/media-types/entity-actions/import/modal/manifests.d.ts +2 -0
  1015. package/dist-cms/packages/media/media-types/entity-actions/import/modal/manifests.js +8 -0
  1016. package/dist-cms/packages/media/media-types/entity-actions/import/modal/media-type-import-modal.element.d.ts +16 -0
  1017. package/dist-cms/packages/media/media-types/entity-actions/import/modal/media-type-import-modal.element.js +141 -0
  1018. package/dist-cms/packages/media/media-types/entity-actions/import/modal/media-type-import-modal.token.d.ts +7 -0
  1019. package/dist-cms/packages/media/media-types/entity-actions/import/modal/media-type-import-modal.token.js +7 -0
  1020. package/dist-cms/packages/media/media-types/entity-actions/import/repository/constants.d.ts +1 -0
  1021. package/dist-cms/packages/media/media-types/entity-actions/import/repository/constants.js +1 -0
  1022. package/dist-cms/packages/media/media-types/entity-actions/import/repository/index.d.ts +2 -0
  1023. package/dist-cms/packages/media/media-types/entity-actions/import/repository/index.js +2 -0
  1024. package/dist-cms/packages/media/media-types/entity-actions/import/repository/manifests.d.ts +2 -0
  1025. package/dist-cms/packages/media/media-types/entity-actions/import/repository/manifests.js +8 -0
  1026. package/dist-cms/packages/media/media-types/entity-actions/import/repository/media-type-import.repository.d.ts +9 -0
  1027. package/dist-cms/packages/media/media-types/entity-actions/import/repository/media-type-import.repository.js +16 -0
  1028. package/dist-cms/packages/media/media-types/entity-actions/import/repository/media-type-import.server.data-source.d.ts +22 -0
  1029. package/dist-cms/packages/media/media-types/entity-actions/import/repository/media-type-import.server.data-source.js +32 -0
  1030. package/dist-cms/packages/media/media-types/entity-actions/manifests.js +4 -0
  1031. package/dist-cms/packages/media/media-types/entity-actions/move-to/repository/media-type-move.server.data-source.d.ts +1 -2
  1032. package/dist-cms/packages/media/media-types/entity-actions/move-to/repository/media-type-move.server.data-source.js +1 -2
  1033. package/dist-cms/packages/media/media-types/repository/composition/media-type-composition.server.data-source.d.ts +1 -2
  1034. package/dist-cms/packages/media/media-types/repository/composition/media-type-composition.server.data-source.js +1 -2
  1035. package/dist-cms/packages/media/media-types/repository/detail/media-type-detail.server.data-source.d.ts +3 -2
  1036. package/dist-cms/packages/media/media-types/repository/detail/media-type-detail.server.data-source.js +3 -2
  1037. package/dist-cms/packages/media/media-types/repository/detail/media-type-detail.store.d.ts +1 -2
  1038. package/dist-cms/packages/media/media-types/repository/detail/media-type-detail.store.js +1 -2
  1039. package/dist-cms/packages/media/media-types/repository/item/media-type-item.server.data-source.d.ts +1 -2
  1040. package/dist-cms/packages/media/media-types/repository/item/media-type-item.server.data-source.js +1 -2
  1041. package/dist-cms/packages/media/media-types/repository/item/media-type-item.store.d.ts +1 -2
  1042. package/dist-cms/packages/media/media-types/repository/item/media-type-item.store.js +1 -2
  1043. package/dist-cms/packages/media/media-types/repository/structure/media-type-structure.server.data-source.d.ts +1 -1
  1044. package/dist-cms/packages/media/media-types/repository/structure/media-type-structure.server.data-source.js +1 -1
  1045. package/dist-cms/packages/media/media-types/search/media-type-search.server.data-source.d.ts +2 -2
  1046. package/dist-cms/packages/media/media-types/search/media-type-search.server.data-source.js +2 -2
  1047. package/dist-cms/packages/media/media-types/tree/folder/media-type-folder.server.data-source.d.ts +1 -2
  1048. package/dist-cms/packages/media/media-types/tree/folder/media-type-folder.server.data-source.js +1 -2
  1049. package/dist-cms/packages/media/media-types/tree/media-type-tree.server.data-source.d.ts +1 -2
  1050. package/dist-cms/packages/media/media-types/tree/media-type-tree.server.data-source.js +1 -2
  1051. package/dist-cms/packages/media/media-types/tree/media-type-tree.store.d.ts +1 -2
  1052. package/dist-cms/packages/media/media-types/tree/media-type-tree.store.js +1 -2
  1053. package/dist-cms/packages/members/manifests.d.ts +2 -2
  1054. package/dist-cms/packages/members/member/collection/repository/member-collection.server.data-source.d.ts +1 -2
  1055. package/dist-cms/packages/members/member/collection/repository/member-collection.server.data-source.js +1 -2
  1056. package/dist-cms/packages/members/member/components/index.d.ts +1 -1
  1057. package/dist-cms/packages/members/member/components/index.js +1 -1
  1058. package/dist-cms/packages/members/member/components/input-member/index.d.ts +2 -0
  1059. package/dist-cms/packages/members/member/components/input-member/index.js +2 -0
  1060. package/dist-cms/packages/members/member/components/input-member/input-member.context.d.ts +3 -1
  1061. package/dist-cms/packages/members/member/components/input-member/input-member.context.js +3 -1
  1062. package/dist-cms/packages/members/member/components/input-member/input-member.element.d.ts +8 -0
  1063. package/dist-cms/packages/members/member/components/input-member/input-member.element.js +48 -13
  1064. package/dist-cms/packages/members/member/components/member-picker-modal/member-picker-modal.element.d.ts +5 -1
  1065. package/dist-cms/packages/members/member/components/member-picker-modal/member-picker-modal.element.js +66 -35
  1066. package/dist-cms/packages/members/member/components/member-picker-modal/member-picker-modal.token.d.ts +2 -0
  1067. package/dist-cms/packages/members/member/components/member-picker-modal/member-picker-modal.token.js +6 -0
  1068. package/dist-cms/packages/members/member/index.d.ts +1 -0
  1069. package/dist-cms/packages/members/member/index.js +1 -0
  1070. package/dist-cms/packages/members/member/manifests.d.ts +2 -2
  1071. package/dist-cms/packages/members/member/manifests.js +2 -0
  1072. package/dist-cms/packages/members/member/picker/manifests.d.ts +2 -0
  1073. package/dist-cms/packages/members/member/picker/manifests.js +10 -0
  1074. package/dist-cms/packages/members/member/property-editor/member-picker/manifests.js +1 -0
  1075. package/dist-cms/packages/members/member/property-editor/member-picker/property-editor-ui-member-picker.element.d.ts +7 -0
  1076. package/dist-cms/packages/members/member/property-editor/member-picker/property-editor-ui-member-picker.element.js +19 -1
  1077. package/dist-cms/packages/members/member/repository/detail/member-detail.repository.d.ts +1 -2
  1078. package/dist-cms/packages/members/member/repository/detail/member-detail.repository.js +1 -2
  1079. package/dist-cms/packages/members/member/repository/detail/member-detail.server.data-source.d.ts +2 -2
  1080. package/dist-cms/packages/members/member/repository/detail/member-detail.server.data-source.js +2 -2
  1081. package/dist-cms/packages/members/member/repository/detail/member-detail.store.d.ts +1 -2
  1082. package/dist-cms/packages/members/member/repository/detail/member-detail.store.js +1 -2
  1083. package/dist-cms/packages/members/member/repository/item/member-item.server.data-source.d.ts +1 -2
  1084. package/dist-cms/packages/members/member/repository/item/member-item.server.data-source.js +1 -2
  1085. package/dist-cms/packages/members/member/repository/item/member-item.store.d.ts +1 -2
  1086. package/dist-cms/packages/members/member/repository/item/member-item.store.js +1 -2
  1087. package/dist-cms/packages/members/member/search/constants.d.ts +1 -0
  1088. package/dist-cms/packages/members/member/search/constants.js +1 -0
  1089. package/dist-cms/packages/members/member/search/index.d.ts +1 -0
  1090. package/dist-cms/packages/members/member/search/index.js +1 -0
  1091. package/dist-cms/packages/members/member/search/manifests.js +2 -1
  1092. package/dist-cms/packages/members/member/search/member-search.server.data-source.d.ts +2 -2
  1093. package/dist-cms/packages/members/member/search/member-search.server.data-source.js +2 -2
  1094. package/dist-cms/packages/members/member/workspace/member-workspace.context.d.ts +9 -0
  1095. package/dist-cms/packages/members/member/workspace/member-workspace.context.js +9 -0
  1096. package/dist-cms/packages/members/member-group/collection/repository/member-group-collection.server.data-source.d.ts +1 -2
  1097. package/dist-cms/packages/members/member-group/collection/repository/member-group-collection.server.data-source.js +1 -2
  1098. package/dist-cms/packages/members/member-group/components/index.d.ts +1 -1
  1099. package/dist-cms/packages/members/member-group/components/index.js +1 -1
  1100. package/dist-cms/packages/members/member-group/components/input-member-group/index.d.ts +2 -0
  1101. package/dist-cms/packages/members/member-group/components/input-member-group/index.js +2 -0
  1102. package/dist-cms/packages/members/member-group/components/input-member-group/input-member-group.context.d.ts +3 -1
  1103. package/dist-cms/packages/members/member-group/components/input-member-group/input-member-group.context.js +3 -1
  1104. package/dist-cms/packages/members/member-group/components/input-member-group/input-member-group.element.d.ts +8 -0
  1105. package/dist-cms/packages/members/member-group/components/input-member-group/input-member-group.element.js +51 -25
  1106. package/dist-cms/packages/members/member-group/index.d.ts +1 -0
  1107. package/dist-cms/packages/members/member-group/index.js +1 -0
  1108. package/dist-cms/packages/members/member-group/property-editor/member-group-picker/manifests.js +1 -0
  1109. package/dist-cms/packages/members/member-group/property-editor/member-group-picker/property-editor-ui-member-group-picker.element.d.ts +7 -0
  1110. package/dist-cms/packages/members/member-group/property-editor/member-group-picker/property-editor-ui-member-group-picker.element.js +12 -1
  1111. package/dist-cms/packages/members/member-group/repository/detail/member-group-detail.repository.d.ts +0 -1
  1112. package/dist-cms/packages/members/member-group/repository/detail/member-group-detail.repository.js +0 -1
  1113. package/dist-cms/packages/members/member-group/repository/detail/member-group-detail.server.data-source.d.ts +2 -2
  1114. package/dist-cms/packages/members/member-group/repository/detail/member-group-detail.server.data-source.js +2 -2
  1115. package/dist-cms/packages/members/member-group/repository/detail/member-group-detail.store.d.ts +1 -2
  1116. package/dist-cms/packages/members/member-group/repository/detail/member-group-detail.store.js +1 -2
  1117. package/dist-cms/packages/members/member-group/repository/item/member-group-item.server.data-source.d.ts +1 -2
  1118. package/dist-cms/packages/members/member-group/repository/item/member-group-item.server.data-source.js +1 -2
  1119. package/dist-cms/packages/members/member-group/repository/item/member-group-item.store.d.ts +1 -2
  1120. package/dist-cms/packages/members/member-group/repository/item/member-group-item.store.js +1 -2
  1121. package/dist-cms/packages/members/member-type/components/index.d.ts +1 -1
  1122. package/dist-cms/packages/members/member-type/components/index.js +1 -1
  1123. package/dist-cms/packages/members/member-type/components/input-member-type/index.d.ts +2 -0
  1124. package/dist-cms/packages/members/member-type/components/input-member-type/index.js +2 -0
  1125. package/dist-cms/packages/members/member-type/components/input-member-type/input-member-type.context.d.ts +3 -1
  1126. package/dist-cms/packages/members/member-type/components/input-member-type/input-member-type.context.js +3 -1
  1127. package/dist-cms/packages/members/member-type/components/input-member-type/input-member-type.element.js +2 -2
  1128. package/dist-cms/packages/members/member-type/entity-actions/duplicate/repository/member-type-duplicate.server.data-source.d.ts +1 -2
  1129. package/dist-cms/packages/members/member-type/entity-actions/duplicate/repository/member-type-duplicate.server.data-source.js +1 -2
  1130. package/dist-cms/packages/members/member-type/repository/composition/member-type-composition.server.data-source.d.ts +1 -2
  1131. package/dist-cms/packages/members/member-type/repository/composition/member-type-composition.server.data-source.js +1 -2
  1132. package/dist-cms/packages/members/member-type/repository/detail/member-type-detail.repository.d.ts +1 -2
  1133. package/dist-cms/packages/members/member-type/repository/detail/member-type-detail.repository.js +1 -2
  1134. package/dist-cms/packages/members/member-type/repository/detail/member-type-detail.server.data-source.d.ts +2 -2
  1135. package/dist-cms/packages/members/member-type/repository/detail/member-type-detail.server.data-source.js +8 -6
  1136. package/dist-cms/packages/members/member-type/repository/detail/member-type-detail.store.d.ts +1 -2
  1137. package/dist-cms/packages/members/member-type/repository/detail/member-type-detail.store.js +1 -2
  1138. package/dist-cms/packages/members/member-type/repository/item/member-type-item.server.data-source.d.ts +1 -2
  1139. package/dist-cms/packages/members/member-type/repository/item/member-type-item.server.data-source.js +1 -2
  1140. package/dist-cms/packages/members/member-type/repository/item/member-type-item.store.d.ts +1 -2
  1141. package/dist-cms/packages/members/member-type/repository/item/member-type-item.store.js +1 -2
  1142. package/dist-cms/packages/members/member-type/search/member-type-search.server.data-source.d.ts +2 -2
  1143. package/dist-cms/packages/members/member-type/search/member-type-search.server.data-source.js +2 -2
  1144. package/dist-cms/packages/members/member-type/tree/index.js +1 -0
  1145. package/dist-cms/packages/members/member-type/tree/member-type-tree.server.data-source.d.ts +1 -2
  1146. package/dist-cms/packages/members/member-type/tree/member-type-tree.server.data-source.js +1 -2
  1147. package/dist-cms/packages/members/member-type/tree/member-type-tree.store.d.ts +1 -2
  1148. package/dist-cms/packages/members/member-type/tree/member-type-tree.store.js +1 -2
  1149. package/dist-cms/packages/models-builder/package.json +8 -0
  1150. package/dist-cms/packages/models-builder/vite.config.d.ts +2 -0
  1151. package/dist-cms/packages/models-builder/vite.config.js +9 -0
  1152. package/dist-cms/packages/multi-url-picker/components/input-multi-url/input-multi-url.element.d.ts +8 -0
  1153. package/dist-cms/packages/multi-url-picker/components/input-multi-url/input-multi-url.element.js +55 -16
  1154. package/dist-cms/packages/multi-url-picker/link-picker-modal/link-picker-modal.element.js +0 -5
  1155. package/dist-cms/packages/multi-url-picker/property-editor/manifests.d.ts +1 -0
  1156. package/dist-cms/packages/multi-url-picker/property-editor/manifests.js +1 -0
  1157. package/dist-cms/packages/multi-url-picker/property-editor/property-editor-ui-multi-url-picker.element.d.ts +7 -0
  1158. package/dist-cms/packages/multi-url-picker/property-editor/property-editor-ui-multi-url-picker.element.js +11 -0
  1159. package/dist-cms/packages/packages/package/repository/constants.d.ts +2 -0
  1160. package/dist-cms/packages/packages/package/repository/constants.js +2 -0
  1161. package/dist-cms/packages/packages/package/repository/manifests.d.ts +0 -2
  1162. package/dist-cms/packages/packages/package/repository/manifests.js +1 -2
  1163. package/dist-cms/packages/packages/package/repository/package.repository.d.ts +1 -1
  1164. package/dist-cms/packages/packages/package/repository/package.repository.js +1 -1
  1165. package/dist-cms/packages/packages/package/repository/package.store.d.ts +1 -2
  1166. package/dist-cms/packages/packages/package/repository/package.store.js +1 -2
  1167. package/dist-cms/packages/packages/package/repository/sources/package.server.data.d.ts +1 -1
  1168. package/dist-cms/packages/packages/package/repository/sources/package.server.data.js +1 -1
  1169. package/dist-cms/packages/packages/package-builder/manifests.js +1 -3
  1170. package/dist-cms/packages/packages/package-builder/workspace/workspace-package-builder.element.js +10 -10
  1171. package/dist-cms/packages/packages/package-repo/manifests.js +1 -3
  1172. package/dist-cms/packages/packages/package.json +8 -0
  1173. package/dist-cms/packages/packages/vite.config.d.ts +2 -0
  1174. package/dist-cms/packages/packages/vite.config.js +16 -0
  1175. package/dist-cms/packages/{settings/dashboards/performance-profiling → performance-profiling}/dashboard-performance-profiling.element.d.ts +1 -1
  1176. package/dist-cms/packages/{settings/dashboards/performance-profiling → performance-profiling}/dashboard-performance-profiling.element.js +5 -5
  1177. package/dist-cms/packages/performance-profiling/manifests.d.ts +15 -0
  1178. package/dist-cms/packages/performance-profiling/manifests.js +19 -0
  1179. package/dist-cms/packages/performance-profiling/package.json +8 -0
  1180. package/dist-cms/packages/performance-profiling/umbraco-package.d.ts +7 -0
  1181. package/dist-cms/packages/performance-profiling/umbraco-package.js +9 -0
  1182. package/dist-cms/packages/performance-profiling/vite.config.d.ts +2 -0
  1183. package/dist-cms/packages/performance-profiling/vite.config.js +15 -0
  1184. package/dist-cms/packages/property-editors/checkbox-list/components/input-checkbox-list/input-checkbox-list.element.d.ts +7 -0
  1185. package/dist-cms/packages/property-editors/checkbox-list/components/input-checkbox-list/input-checkbox-list.element.js +15 -1
  1186. package/dist-cms/packages/property-editors/checkbox-list/manifests.js +1 -0
  1187. package/dist-cms/packages/property-editors/checkbox-list/property-editor-ui-checkbox-list.element.d.ts +7 -0
  1188. package/dist-cms/packages/property-editors/checkbox-list/property-editor-ui-checkbox-list.element.js +11 -0
  1189. package/dist-cms/packages/property-editors/content-picker/components/input-content/input-content.element.d.ts +7 -0
  1190. package/dist-cms/packages/property-editors/content-picker/components/input-content/input-content.element.js +13 -0
  1191. package/dist-cms/packages/property-editors/content-picker/dynamic-root/modals/dynamic-root-origin-picker-modal.element.js +2 -2
  1192. package/dist-cms/packages/property-editors/content-picker/dynamic-root/modals/dynamic-root-query-step-picker-modal.element.js +2 -2
  1193. package/dist-cms/packages/property-editors/content-picker/dynamic-root/repository/dynamic-root.repository.d.ts +0 -1
  1194. package/dist-cms/packages/property-editors/content-picker/dynamic-root/repository/dynamic-root.repository.js +0 -1
  1195. package/dist-cms/packages/property-editors/content-picker/dynamic-root/repository/dynamic-root.server.data.d.ts +0 -1
  1196. package/dist-cms/packages/property-editors/content-picker/dynamic-root/repository/dynamic-root.server.data.js +0 -1
  1197. package/dist-cms/packages/property-editors/content-picker/manifests.js +1 -0
  1198. package/dist-cms/packages/property-editors/content-picker/property-editor-ui-content-picker.element.d.ts +7 -0
  1199. package/dist-cms/packages/property-editors/content-picker/property-editor-ui-content-picker.element.js +14 -6
  1200. package/dist-cms/packages/property-editors/date-picker/manifests.js +1 -0
  1201. package/dist-cms/packages/property-editors/date-picker/property-editor-ui-date-picker.element.d.ts +7 -0
  1202. package/dist-cms/packages/property-editors/date-picker/property-editor-ui-date-picker.element.js +12 -1
  1203. package/dist-cms/packages/property-editors/dropdown/manifests.js +2 -1
  1204. package/dist-cms/packages/property-editors/dropdown/property-editor-ui-dropdown.element.d.ts +7 -0
  1205. package/dist-cms/packages/property-editors/dropdown/property-editor-ui-dropdown.element.js +17 -1
  1206. package/dist-cms/packages/property-editors/label/manifests.js +2 -1
  1207. package/dist-cms/packages/property-editors/number/manifests.js +2 -0
  1208. package/dist-cms/packages/property-editors/radio-button-list/manifests.js +1 -0
  1209. package/dist-cms/packages/property-editors/radio-button-list/property-editor-ui-radio-button-list.element.d.ts +7 -0
  1210. package/dist-cms/packages/property-editors/radio-button-list/property-editor-ui-radio-button-list.element.js +12 -1
  1211. package/dist-cms/packages/property-editors/slider/manifests.js +1 -0
  1212. package/dist-cms/packages/property-editors/slider/property-editor-ui-slider.element.d.ts +7 -0
  1213. package/dist-cms/packages/property-editors/slider/property-editor-ui-slider.element.js +12 -1
  1214. package/dist-cms/packages/property-editors/text-box/manifests.js +2 -0
  1215. package/dist-cms/packages/property-editors/text-box/property-editor-ui-text-box.element.d.ts +9 -1
  1216. package/dist-cms/packages/property-editors/text-box/property-editor-ui-text-box.element.js +13 -1
  1217. package/dist-cms/packages/property-editors/textarea/manifests.js +1 -0
  1218. package/dist-cms/packages/property-editors/toggle/manifests.js +1 -0
  1219. package/dist-cms/packages/{settings/dashboards/published-status → publish-cache}/dashboard-published-status.element.d.ts +1 -1
  1220. package/dist-cms/packages/{settings/dashboards/published-status → publish-cache}/dashboard-published-status.element.js +6 -6
  1221. package/dist-cms/packages/publish-cache/manifests.d.ts +15 -0
  1222. package/dist-cms/packages/publish-cache/manifests.js +19 -0
  1223. package/dist-cms/packages/publish-cache/package.json +8 -0
  1224. package/dist-cms/packages/publish-cache/umbraco-package.d.ts +7 -0
  1225. package/dist-cms/packages/publish-cache/umbraco-package.js +9 -0
  1226. package/dist-cms/packages/publish-cache/vite.config.d.ts +2 -0
  1227. package/dist-cms/packages/publish-cache/vite.config.js +15 -0
  1228. package/dist-cms/packages/relations/package.json +8 -0
  1229. package/dist-cms/packages/relations/relation-types/collection/constants.d.ts +1 -0
  1230. package/dist-cms/packages/relations/relation-types/collection/constants.js +1 -0
  1231. package/dist-cms/packages/relations/relation-types/collection/index.d.ts +1 -1
  1232. package/dist-cms/packages/relations/relation-types/collection/index.js +1 -1
  1233. package/dist-cms/packages/relations/relation-types/collection/manifests.d.ts +0 -1
  1234. package/dist-cms/packages/relations/relation-types/collection/manifests.js +1 -1
  1235. package/dist-cms/packages/relations/relation-types/collection/repository/constants.d.ts +1 -0
  1236. package/dist-cms/packages/relations/relation-types/collection/repository/constants.js +1 -0
  1237. package/dist-cms/packages/relations/relation-types/collection/repository/index.d.ts +1 -1
  1238. package/dist-cms/packages/relations/relation-types/collection/repository/index.js +1 -1
  1239. package/dist-cms/packages/relations/relation-types/collection/repository/manifests.d.ts +0 -1
  1240. package/dist-cms/packages/relations/relation-types/collection/repository/manifests.js +1 -1
  1241. package/dist-cms/packages/relations/relation-types/collection/repository/relation-type-collection.server.data-source.d.ts +1 -2
  1242. package/dist-cms/packages/relations/relation-types/collection/repository/relation-type-collection.server.data-source.js +1 -2
  1243. package/dist-cms/packages/relations/relation-types/repository/detail/constants.d.ts +2 -0
  1244. package/dist-cms/packages/relations/relation-types/repository/detail/constants.js +2 -0
  1245. package/dist-cms/packages/relations/relation-types/repository/detail/index.d.ts +1 -1
  1246. package/dist-cms/packages/relations/relation-types/repository/detail/index.js +1 -1
  1247. package/dist-cms/packages/relations/relation-types/repository/detail/manifests.d.ts +0 -2
  1248. package/dist-cms/packages/relations/relation-types/repository/detail/manifests.js +1 -2
  1249. package/dist-cms/packages/relations/relation-types/repository/detail/relation-type-detail.server.data-source.d.ts +1 -2
  1250. package/dist-cms/packages/relations/relation-types/repository/detail/relation-type-detail.server.data-source.js +1 -2
  1251. package/dist-cms/packages/relations/relation-types/repository/detail/relation-type-detail.store.d.ts +1 -2
  1252. package/dist-cms/packages/relations/relation-types/repository/detail/relation-type-detail.store.js +1 -2
  1253. package/dist-cms/packages/relations/relations/collection/repository/relation-collection.server.data-source.d.ts +1 -2
  1254. package/dist-cms/packages/relations/relations/collection/repository/relation-collection.server.data-source.js +1 -2
  1255. package/dist-cms/packages/relations/vite.config.d.ts +2 -0
  1256. package/dist-cms/packages/relations/vite.config.js +17 -0
  1257. package/dist-cms/packages/search/examine-management-dashboard/views/section-view-examine-searchers.js +4 -2
  1258. package/dist-cms/packages/search/package.json +8 -0
  1259. package/dist-cms/packages/search/types.d.ts +2 -2
  1260. package/dist-cms/packages/search/vite.config.d.ts +2 -0
  1261. package/dist-cms/packages/search/vite.config.js +9 -0
  1262. package/dist-cms/packages/settings/advanced/constants.d.ts +1 -0
  1263. package/dist-cms/packages/settings/advanced/constants.js +1 -0
  1264. package/dist-cms/packages/settings/advanced/index.d.ts +1 -0
  1265. package/dist-cms/packages/settings/advanced/index.js +1 -0
  1266. package/dist-cms/packages/settings/advanced/manifests.d.ts +23 -0
  1267. package/dist-cms/packages/settings/advanced/manifests.js +26 -0
  1268. package/dist-cms/packages/settings/index.d.ts +1 -1
  1269. package/dist-cms/packages/settings/index.js +1 -1
  1270. package/dist-cms/packages/settings/manifests.d.ts +2 -2
  1271. package/dist-cms/packages/settings/manifests.js +10 -2
  1272. package/dist-cms/packages/settings/section/constants.d.ts +1 -0
  1273. package/dist-cms/packages/settings/section/constants.js +1 -0
  1274. package/dist-cms/packages/settings/section/index.d.ts +2 -0
  1275. package/dist-cms/packages/settings/section/index.js +2 -0
  1276. package/dist-cms/packages/settings/section/manifests.d.ts +2 -0
  1277. package/dist-cms/packages/settings/section/manifests.js +19 -0
  1278. package/dist-cms/packages/settings/{paths.js → section/paths.js} +1 -1
  1279. package/dist-cms/packages/settings/structure/constants.d.ts +1 -0
  1280. package/dist-cms/packages/settings/structure/constants.js +1 -0
  1281. package/dist-cms/packages/settings/structure/index.d.ts +1 -0
  1282. package/dist-cms/packages/settings/structure/index.js +1 -0
  1283. package/dist-cms/packages/settings/structure/manifests.d.ts +2 -0
  1284. package/dist-cms/packages/settings/structure/manifests.js +26 -0
  1285. package/dist-cms/packages/settings/welcome/manifests.d.ts +2 -0
  1286. package/dist-cms/packages/{core/settings/welcome-dashboard → settings/welcome}/manifests.js +2 -1
  1287. package/dist-cms/packages/{core/settings/welcome-dashboard → settings/welcome}/settings-welcome-dashboard.element.d.ts +1 -1
  1288. package/dist-cms/packages/{core/settings/welcome-dashboard → settings/welcome}/settings-welcome-dashboard.element.js +3 -3
  1289. package/dist-cms/packages/static-file/components/input-static-file/input-static-file.context.d.ts +3 -1
  1290. package/dist-cms/packages/static-file/components/input-static-file/input-static-file.context.js +3 -1
  1291. package/dist-cms/packages/static-file/components/input-static-file/input-static-file.element.js +2 -2
  1292. package/dist-cms/packages/static-file/modals/static-file-picker-modal.token.js +1 -1
  1293. package/dist-cms/packages/static-file/package.json +8 -0
  1294. package/dist-cms/packages/static-file/repository/item/static-file-item.server.data-source.d.ts +1 -2
  1295. package/dist-cms/packages/static-file/repository/item/static-file-item.server.data-source.js +1 -2
  1296. package/dist-cms/packages/static-file/repository/item/static-file-item.store.d.ts +1 -2
  1297. package/dist-cms/packages/static-file/repository/item/static-file-item.store.js +1 -2
  1298. package/dist-cms/packages/static-file/tree/constants.d.ts +4 -0
  1299. package/dist-cms/packages/static-file/tree/constants.js +4 -0
  1300. package/dist-cms/packages/static-file/tree/index.d.ts +1 -1
  1301. package/dist-cms/packages/static-file/tree/index.js +1 -1
  1302. package/dist-cms/packages/static-file/tree/manifests.d.ts +0 -4
  1303. package/dist-cms/packages/static-file/tree/manifests.js +1 -4
  1304. package/dist-cms/packages/static-file/tree/static-file-tree.server.data-source.d.ts +1 -2
  1305. package/dist-cms/packages/static-file/tree/static-file-tree.server.data-source.js +1 -2
  1306. package/dist-cms/packages/static-file/tree/static-file-tree.store.d.ts +1 -2
  1307. package/dist-cms/packages/static-file/tree/static-file-tree.store.js +1 -2
  1308. package/dist-cms/packages/static-file/vite.config.d.ts +2 -0
  1309. package/dist-cms/packages/static-file/vite.config.js +9 -0
  1310. package/dist-cms/packages/sysinfo/components/new-version.element.d.ts +14 -0
  1311. package/dist-cms/packages/sysinfo/components/new-version.element.js +66 -0
  1312. package/dist-cms/packages/sysinfo/components/sysinfo.element.d.ts +16 -0
  1313. package/dist-cms/packages/sysinfo/components/sysinfo.element.js +129 -0
  1314. package/dist-cms/packages/sysinfo/index.d.ts +3 -0
  1315. package/dist-cms/packages/sysinfo/index.js +2 -0
  1316. package/dist-cms/packages/sysinfo/manifests.d.ts +2 -0
  1317. package/dist-cms/packages/sysinfo/manifests.js +15 -0
  1318. package/dist-cms/packages/sysinfo/modals/index.d.ts +2 -0
  1319. package/dist-cms/packages/sysinfo/modals/index.js +2 -0
  1320. package/dist-cms/packages/sysinfo/modals/new-version-modal.token.d.ts +4 -0
  1321. package/dist-cms/packages/sysinfo/modals/new-version-modal.token.js +7 -0
  1322. package/dist-cms/packages/sysinfo/modals/sysinfo-modal.token.d.ts +4 -0
  1323. package/dist-cms/packages/sysinfo/modals/sysinfo-modal.token.js +7 -0
  1324. package/dist-cms/packages/sysinfo/package.json +8 -0
  1325. package/dist-cms/packages/sysinfo/repository/index.d.ts +1 -0
  1326. package/dist-cms/packages/sysinfo/repository/index.js +1 -0
  1327. package/dist-cms/packages/sysinfo/repository/sysinfo.repository.d.ts +11 -0
  1328. package/dist-cms/packages/sysinfo/repository/sysinfo.repository.js +84 -0
  1329. package/dist-cms/packages/sysinfo/types.d.ts +5 -0
  1330. package/dist-cms/packages/sysinfo/types.js +1 -0
  1331. package/dist-cms/packages/sysinfo/umbraco-package.d.ts +8 -0
  1332. package/dist-cms/packages/sysinfo/umbraco-package.js +10 -0
  1333. package/dist-cms/packages/sysinfo/vite.config.d.ts +2 -0
  1334. package/dist-cms/packages/sysinfo/vite.config.js +9 -0
  1335. package/dist-cms/packages/tags/components/tags-input/tags-input.element.js +6 -1
  1336. package/dist-cms/packages/tags/property-editors/tags/manifests.js +1 -0
  1337. package/dist-cms/packages/tags/repository/sources/tag.server.data.d.ts +7 -2
  1338. package/dist-cms/packages/tags/repository/sources/tag.server.data.js +7 -2
  1339. package/dist-cms/packages/tags/repository/tag.store.d.ts +1 -2
  1340. package/dist-cms/packages/tags/repository/tag.store.js +1 -2
  1341. package/dist-cms/packages/{settings/dashboards/telemetry → telemetry}/dashboard-telemetry.element.d.ts +1 -1
  1342. package/dist-cms/packages/{settings/dashboards/telemetry → telemetry}/dashboard-telemetry.element.js +5 -5
  1343. package/dist-cms/packages/telemetry/manifests.d.ts +15 -0
  1344. package/dist-cms/packages/telemetry/manifests.js +19 -0
  1345. package/dist-cms/packages/telemetry/package.json +8 -0
  1346. package/dist-cms/packages/telemetry/umbraco-package.d.ts +7 -0
  1347. package/dist-cms/packages/telemetry/umbraco-package.js +9 -0
  1348. package/dist-cms/packages/telemetry/vite.config.d.ts +2 -0
  1349. package/dist-cms/packages/telemetry/vite.config.js +15 -0
  1350. package/dist-cms/packages/templating/partial-views/global-components/input-partial-view/input-partial-view.context.d.ts +3 -1
  1351. package/dist-cms/packages/templating/partial-views/global-components/input-partial-view/input-partial-view.context.js +3 -1
  1352. package/dist-cms/packages/templating/partial-views/repository/item/partial-view-item.server.data-source.d.ts +1 -2
  1353. package/dist-cms/packages/templating/partial-views/repository/item/partial-view-item.server.data-source.js +1 -2
  1354. package/dist-cms/packages/templating/partial-views/repository/item/partial-view-item.store.d.ts +1 -2
  1355. package/dist-cms/packages/templating/partial-views/repository/item/partial-view-item.store.js +1 -2
  1356. package/dist-cms/packages/templating/partial-views/repository/partial-view-detail.store.d.ts +0 -1
  1357. package/dist-cms/packages/templating/partial-views/repository/partial-view-detail.store.js +0 -1
  1358. package/dist-cms/packages/templating/partial-views/tree/folder/partial-view-folder.server.data-source.d.ts +1 -2
  1359. package/dist-cms/packages/templating/partial-views/tree/folder/partial-view-folder.server.data-source.js +1 -2
  1360. package/dist-cms/packages/templating/partial-views/tree/index.js +1 -0
  1361. package/dist-cms/packages/templating/partial-views/tree/partial-view-tree.server.data-source.d.ts +1 -2
  1362. package/dist-cms/packages/templating/partial-views/tree/partial-view-tree.server.data-source.js +1 -2
  1363. package/dist-cms/packages/templating/partial-views/tree/partial-view-tree.store.d.ts +1 -2
  1364. package/dist-cms/packages/templating/partial-views/tree/partial-view-tree.store.js +1 -2
  1365. package/dist-cms/packages/templating/scripts/global-components/input-script/input-script.context.d.ts +3 -1
  1366. package/dist-cms/packages/templating/scripts/global-components/input-script/input-script.context.js +3 -1
  1367. package/dist-cms/packages/templating/scripts/repository/item/script-item.server.data-source.d.ts +1 -2
  1368. package/dist-cms/packages/templating/scripts/repository/item/script-item.server.data-source.js +1 -2
  1369. package/dist-cms/packages/templating/scripts/repository/item/script-item.store.d.ts +1 -2
  1370. package/dist-cms/packages/templating/scripts/repository/item/script-item.store.js +1 -2
  1371. package/dist-cms/packages/templating/scripts/repository/script-detail.store.d.ts +0 -1
  1372. package/dist-cms/packages/templating/scripts/repository/script-detail.store.js +0 -1
  1373. package/dist-cms/packages/templating/scripts/tree/folder/script-folder.server.data-source.d.ts +1 -2
  1374. package/dist-cms/packages/templating/scripts/tree/folder/script-folder.server.data-source.js +1 -2
  1375. package/dist-cms/packages/templating/scripts/tree/index.js +1 -0
  1376. package/dist-cms/packages/templating/scripts/tree/script-tree.server.data-source.d.ts +1 -2
  1377. package/dist-cms/packages/templating/scripts/tree/script-tree.server.data-source.js +1 -2
  1378. package/dist-cms/packages/templating/scripts/tree/script-tree.store.d.ts +1 -2
  1379. package/dist-cms/packages/templating/scripts/tree/script-tree.store.js +1 -2
  1380. package/dist-cms/packages/templating/stylesheets/global-components/stylesheet-input/stylesheet-input.context.d.ts +3 -1
  1381. package/dist-cms/packages/templating/stylesheets/global-components/stylesheet-input/stylesheet-input.context.js +3 -1
  1382. package/dist-cms/packages/templating/stylesheets/global-components/stylesheet-input/stylesheet-input.element.js +2 -2
  1383. package/dist-cms/packages/templating/stylesheets/repository/index.js +1 -0
  1384. package/dist-cms/packages/templating/stylesheets/repository/item/stylesheet-item.server.data-source.d.ts +1 -2
  1385. package/dist-cms/packages/templating/stylesheets/repository/item/stylesheet-item.server.data-source.js +1 -2
  1386. package/dist-cms/packages/templating/stylesheets/repository/item/stylesheet-item.store.d.ts +1 -2
  1387. package/dist-cms/packages/templating/stylesheets/repository/item/stylesheet-item.store.js +1 -2
  1388. package/dist-cms/packages/templating/stylesheets/repository/stylesheet-detail.store.d.ts +0 -1
  1389. package/dist-cms/packages/templating/stylesheets/repository/stylesheet-detail.store.js +0 -1
  1390. package/dist-cms/packages/templating/stylesheets/tree/folder/stylesheet-folder.server.data-source.d.ts +1 -2
  1391. package/dist-cms/packages/templating/stylesheets/tree/folder/stylesheet-folder.server.data-source.js +1 -2
  1392. package/dist-cms/packages/templating/stylesheets/tree/index.js +1 -0
  1393. package/dist-cms/packages/templating/stylesheets/tree/stylesheet-tree.server.data-source.d.ts +1 -2
  1394. package/dist-cms/packages/templating/stylesheets/tree/stylesheet-tree.server.data-source.js +1 -2
  1395. package/dist-cms/packages/templating/stylesheets/tree/stylesheet-tree.store.d.ts +1 -2
  1396. package/dist-cms/packages/templating/stylesheets/tree/stylesheet-tree.store.js +1 -2
  1397. package/dist-cms/packages/templating/templates/global-components/input-template/input-template.context.d.ts +3 -1
  1398. package/dist-cms/packages/templating/templates/global-components/input-template/input-template.context.js +3 -1
  1399. package/dist-cms/packages/templating/templates/repository/detail/template-detail.server.data-source.d.ts +2 -2
  1400. package/dist-cms/packages/templating/templates/repository/detail/template-detail.server.data-source.js +2 -2
  1401. package/dist-cms/packages/templating/templates/repository/detail/template-detail.store.d.ts +1 -2
  1402. package/dist-cms/packages/templating/templates/repository/detail/template-detail.store.js +1 -2
  1403. package/dist-cms/packages/templating/templates/repository/item/template-item.server.data-source.d.ts +1 -2
  1404. package/dist-cms/packages/templating/templates/repository/item/template-item.server.data-source.js +1 -2
  1405. package/dist-cms/packages/templating/templates/repository/item/template-item.store.d.ts +1 -2
  1406. package/dist-cms/packages/templating/templates/repository/item/template-item.store.js +1 -2
  1407. package/dist-cms/packages/templating/templates/repository/query/template-query.server.data-source.d.ts +1 -2
  1408. package/dist-cms/packages/templating/templates/repository/query/template-query.server.data-source.js +1 -2
  1409. package/dist-cms/packages/templating/templates/search/template-search.server.data-source.d.ts +2 -2
  1410. package/dist-cms/packages/templating/templates/search/template-search.server.data-source.js +2 -2
  1411. package/dist-cms/packages/templating/templates/tree/index.js +1 -0
  1412. package/dist-cms/packages/templating/templates/tree/template-tree.server.data-source.d.ts +1 -2
  1413. package/dist-cms/packages/templating/templates/tree/template-tree.server.data-source.js +1 -2
  1414. package/dist-cms/packages/templating/templates/tree/template-tree.store.d.ts +1 -2
  1415. package/dist-cms/packages/templating/templates/tree/template-tree.store.js +1 -2
  1416. package/dist-cms/packages/tiny-mce/components/input-tiny-mce/input-tiny-mce.element.d.ts +8 -0
  1417. package/dist-cms/packages/tiny-mce/components/input-tiny-mce/input-tiny-mce.element.js +20 -0
  1418. package/dist-cms/packages/tiny-mce/property-editors/tiny-mce/Umbraco.RichText.js +9 -6
  1419. package/dist-cms/packages/tiny-mce/property-editors/tiny-mce/manifests.js +9 -1
  1420. package/dist-cms/packages/tiny-mce/property-editors/tiny-mce/property-editor-ui-tiny-mce.element.d.ts +8 -1
  1421. package/dist-cms/packages/tiny-mce/property-editors/tiny-mce/property-editor-ui-tiny-mce.element.js +22 -2
  1422. package/dist-cms/packages/ufm/components/content-name/content-name.component.d.ts +7 -0
  1423. package/dist-cms/packages/ufm/components/content-name/content-name.component.js +11 -0
  1424. package/dist-cms/packages/ufm/components/content-name/content-name.element.d.ts +13 -0
  1425. package/dist-cms/packages/ufm/components/content-name/content-name.element.js +64 -0
  1426. package/dist-cms/packages/ufm/components/index.d.ts +3 -0
  1427. package/dist-cms/packages/ufm/components/index.js +3 -0
  1428. package/dist-cms/packages/ufm/{ufm-components → components/label-value}/label-value.component.d.ts +2 -2
  1429. package/dist-cms/packages/ufm/{ufm-components → components/label-value}/label-value.component.js +3 -2
  1430. package/dist-cms/packages/ufm/{ufm-components → components/label-value}/label-value.element.d.ts +2 -4
  1431. package/dist-cms/packages/ufm/{ufm-components → components/label-value}/label-value.element.js +6 -12
  1432. package/dist-cms/packages/ufm/{ufm-components → components/localize}/localize.component.d.ts +3 -2
  1433. package/dist-cms/packages/ufm/components/localize/localize.component.js +11 -0
  1434. package/dist-cms/packages/ufm/components/localize/localize.element.d.ts +13 -0
  1435. package/dist-cms/packages/ufm/components/localize/localize.element.js +29 -0
  1436. package/dist-cms/packages/ufm/components/manifests.d.ts +2 -0
  1437. package/dist-cms/packages/ufm/components/manifests.js +23 -0
  1438. package/dist-cms/packages/ufm/{ufm-components → components}/ufm-component-base.d.ts +1 -0
  1439. package/dist-cms/packages/ufm/components/ufm-component-base.js +16 -0
  1440. package/dist-cms/packages/ufm/components/ufm-element-base.d.ts +10 -0
  1441. package/dist-cms/packages/ufm/components/ufm-element-base.js +54 -0
  1442. package/dist-cms/packages/ufm/components/ufm-render/ufm-render.element.d.ts +0 -2
  1443. package/dist-cms/packages/ufm/components/ufm-render/ufm-render.element.js +6 -46
  1444. package/dist-cms/packages/ufm/contexts/index.d.ts +1 -0
  1445. package/dist-cms/packages/ufm/contexts/index.js +1 -0
  1446. package/dist-cms/packages/ufm/contexts/manifest.d.ts +2 -0
  1447. package/dist-cms/packages/ufm/contexts/manifest.js +6 -0
  1448. package/dist-cms/packages/ufm/contexts/ufm.context.d.ts +18 -0
  1449. package/dist-cms/packages/ufm/contexts/ufm.context.js +74 -0
  1450. package/dist-cms/packages/ufm/filters/fallback.filter.d.ts +5 -0
  1451. package/dist-cms/packages/ufm/filters/fallback.filter.js +7 -0
  1452. package/dist-cms/packages/ufm/filters/lowercase.filter.d.ts +5 -0
  1453. package/dist-cms/packages/ufm/filters/lowercase.filter.js +7 -0
  1454. package/dist-cms/packages/ufm/filters/manifests.d.ts +2 -0
  1455. package/dist-cms/packages/ufm/filters/manifests.js +51 -0
  1456. package/dist-cms/packages/ufm/filters/strip-html.filter.d.ts +7 -0
  1457. package/dist-cms/packages/ufm/filters/strip-html.filter.js +12 -0
  1458. package/dist-cms/packages/ufm/filters/title-case.filter.d.ts +5 -0
  1459. package/dist-cms/packages/ufm/filters/title-case.filter.js +7 -0
  1460. package/dist-cms/packages/ufm/filters/truncate.filter.d.ts +5 -0
  1461. package/dist-cms/packages/ufm/filters/truncate.filter.js +14 -0
  1462. package/dist-cms/packages/ufm/filters/uppercase.filter.d.ts +5 -0
  1463. package/dist-cms/packages/ufm/filters/uppercase.filter.js +7 -0
  1464. package/dist-cms/packages/ufm/filters/word-limit.filter.d.ts +5 -0
  1465. package/dist-cms/packages/ufm/filters/word-limit.filter.js +8 -0
  1466. package/dist-cms/packages/ufm/index.d.ts +4 -2
  1467. package/dist-cms/packages/ufm/index.js +4 -2
  1468. package/dist-cms/packages/ufm/manifests.d.ts +2 -2
  1469. package/dist-cms/packages/ufm/manifests.js +4 -16
  1470. package/dist-cms/packages/ufm/package.json +8 -0
  1471. package/dist-cms/packages/ufm/plugins/index.d.ts +2 -0
  1472. package/dist-cms/packages/ufm/plugins/index.js +1 -0
  1473. package/dist-cms/packages/ufm/plugins/marked-ufm.plugin.d.ts +2 -1
  1474. package/dist-cms/packages/ufm/plugins/marked-ufm.plugin.js +2 -1
  1475. package/dist-cms/packages/ufm/types.d.ts +5 -0
  1476. package/dist-cms/packages/ufm/types.js +3 -0
  1477. package/dist-cms/packages/ufm/vite.config.d.ts +2 -0
  1478. package/dist-cms/packages/ufm/vite.config.js +9 -0
  1479. package/dist-cms/packages/user/{modals/change-password → change-password}/change-password-modal.element.d.ts +3 -3
  1480. package/dist-cms/packages/user/{modals/change-password → change-password}/change-password-modal.element.js +5 -5
  1481. package/dist-cms/packages/user/change-password/change-user-password.action.d.ts +8 -0
  1482. package/dist-cms/packages/user/change-password/change-user-password.action.js +33 -0
  1483. package/dist-cms/packages/user/change-password/manifests.d.ts +2 -0
  1484. package/dist-cms/packages/user/change-password/manifests.js +22 -0
  1485. package/dist-cms/packages/user/current-user/current-user.context.d.ts +15 -3
  1486. package/dist-cms/packages/user/current-user/current-user.context.js +16 -4
  1487. package/dist-cms/packages/user/current-user/index.d.ts +1 -0
  1488. package/dist-cms/packages/user/current-user/index.js +1 -0
  1489. package/dist-cms/packages/user/current-user/profile/change-password-current-user.action.js +5 -1
  1490. package/dist-cms/packages/user/current-user/repository/current-user.repository.d.ts +14 -1
  1491. package/dist-cms/packages/user/current-user/repository/current-user.repository.js +24 -1
  1492. package/dist-cms/packages/user/current-user/repository/current-user.server.data-source.d.ts +10 -2
  1493. package/dist-cms/packages/user/current-user/repository/current-user.server.data-source.js +17 -2
  1494. package/dist-cms/packages/user/manifests.js +2 -2
  1495. package/dist-cms/packages/user/user/collection/repository/user-collection.server.data-source.d.ts +1 -2
  1496. package/dist-cms/packages/user/user/collection/repository/user-collection.server.data-source.js +1 -2
  1497. package/dist-cms/packages/user/user/collection/views/grid/user-grid-collection-view.element.d.ts +2 -1
  1498. package/dist-cms/packages/user/user/collection/views/grid/user-grid-collection-view.element.js +1 -1
  1499. package/dist-cms/packages/user/user/components/index.d.ts +1 -1
  1500. package/dist-cms/packages/user/user/components/index.js +1 -1
  1501. package/dist-cms/packages/user/user/components/user-input/index.d.ts +2 -0
  1502. package/dist-cms/packages/user/user/components/user-input/index.js +2 -0
  1503. package/dist-cms/packages/user/user/components/user-input/user-input.context.d.ts +3 -1
  1504. package/dist-cms/packages/user/user/components/user-input/user-input.context.js +3 -1
  1505. package/dist-cms/packages/user/user/components/user-input/user-input.element.js +2 -2
  1506. package/dist-cms/packages/user/user/entity-actions/manifests.js +0 -13
  1507. package/dist-cms/packages/user/user/invite/repository/invite-user-server.data-source.d.ts +0 -1
  1508. package/dist-cms/packages/user/user/invite/repository/invite-user-server.data-source.js +0 -1
  1509. package/dist-cms/packages/user/user/repository/change-password/change-user-password.server.data-source.d.ts +1 -2
  1510. package/dist-cms/packages/user/user/repository/change-password/change-user-password.server.data-source.js +2 -3
  1511. package/dist-cms/packages/user/user/repository/detail/user-detail.server.data-source.d.ts +2 -2
  1512. package/dist-cms/packages/user/user/repository/detail/user-detail.server.data-source.js +2 -2
  1513. package/dist-cms/packages/user/user/repository/detail/user-detail.store.d.ts +1 -2
  1514. package/dist-cms/packages/user/user/repository/detail/user-detail.store.js +1 -2
  1515. package/dist-cms/packages/user/user/repository/disable/disable-user.server.data-source.d.ts +1 -2
  1516. package/dist-cms/packages/user/user/repository/disable/disable-user.server.data-source.js +1 -2
  1517. package/dist-cms/packages/user/user/repository/enable/enable-user.server.data-source.d.ts +1 -2
  1518. package/dist-cms/packages/user/user/repository/enable/enable-user.server.data-source.js +1 -2
  1519. package/dist-cms/packages/user/user/repository/item/user-item.server.data-source.d.ts +1 -2
  1520. package/dist-cms/packages/user/user/repository/item/user-item.server.data-source.js +1 -2
  1521. package/dist-cms/packages/user/user/repository/item/user-item.store.d.ts +1 -2
  1522. package/dist-cms/packages/user/user/repository/item/user-item.store.js +1 -2
  1523. package/dist-cms/packages/user/user/repository/new-password/new-user-password.repository.d.ts +1 -2
  1524. package/dist-cms/packages/user/user/repository/new-password/new-user-password.repository.js +1 -2
  1525. package/dist-cms/packages/user/user/repository/new-password/new-user-password.server.data-source.d.ts +1 -2
  1526. package/dist-cms/packages/user/user/repository/new-password/new-user-password.server.data-source.js +1 -2
  1527. package/dist-cms/packages/user/user/repository/sources/user-mfa.server.data-source.d.ts +1 -2
  1528. package/dist-cms/packages/user/user/repository/sources/user-mfa.server.data-source.js +1 -2
  1529. package/dist-cms/packages/user/user/repository/sources/user-set-group.server.data-source.d.ts +1 -2
  1530. package/dist-cms/packages/user/user/repository/sources/user-set-group.server.data-source.js +1 -2
  1531. package/dist-cms/packages/user/user/repository/unlock/unlock-user.server.data-source.d.ts +1 -2
  1532. package/dist-cms/packages/user/user/repository/unlock/unlock-user.server.data-source.js +1 -2
  1533. package/dist-cms/packages/user/user-group/collection/repository/user-group-collection.server.data-source.d.ts +1 -2
  1534. package/dist-cms/packages/user/user-group/collection/repository/user-group-collection.server.data-source.js +1 -2
  1535. package/dist-cms/packages/user/user-group/components/index.d.ts +2 -2
  1536. package/dist-cms/packages/user/user-group/components/index.js +2 -2
  1537. package/dist-cms/packages/user/user-group/components/input-user-group/index.d.ts +2 -0
  1538. package/dist-cms/packages/user/user-group/components/input-user-group/index.js +2 -0
  1539. package/dist-cms/packages/user/user-group/components/input-user-group/user-group-input.context.d.ts +3 -1
  1540. package/dist-cms/packages/user/user-group/components/input-user-group/user-group-input.context.js +3 -1
  1541. package/dist-cms/packages/user/user-group/components/input-user-group/user-group-input.element.js +2 -2
  1542. package/dist-cms/packages/user/user-group/components/user-group-ref/index.d.ts +1 -0
  1543. package/dist-cms/packages/user/user-group/components/user-group-ref/index.js +1 -0
  1544. package/dist-cms/packages/user/user-group/repository/detail/user-group-detail.server.data-source.d.ts +2 -2
  1545. package/dist-cms/packages/user/user-group/repository/detail/user-group-detail.server.data-source.js +2 -2
  1546. package/dist-cms/packages/user/user-group/repository/detail/user-group-detail.store.d.ts +1 -2
  1547. package/dist-cms/packages/user/user-group/repository/detail/user-group-detail.store.js +1 -2
  1548. package/dist-cms/packages/user/user-group/repository/item/user-group-item.server.data-source.d.ts +1 -2
  1549. package/dist-cms/packages/user/user-group/repository/item/user-group-item.server.data-source.js +1 -2
  1550. package/dist-cms/packages/user/user-group/repository/item/user-group-item.store.d.ts +1 -2
  1551. package/dist-cms/packages/user/user-group/repository/item/user-group-item.store.js +1 -2
  1552. package/dist-cms/packages/user/user-permission/components/input-entity-user-permission/input-entity-user-permission.element.js +6 -1
  1553. package/dist-cms/packages/webhook/collection/repository/webhook-collection.server.data-source.d.ts +2 -2
  1554. package/dist-cms/packages/webhook/collection/repository/webhook-collection.server.data-source.js +2 -2
  1555. package/dist-cms/packages/webhook/repository/detail/webhook-detail.server.data-source.d.ts +2 -2
  1556. package/dist-cms/packages/webhook/repository/detail/webhook-detail.server.data-source.js +2 -2
  1557. package/dist-cms/packages/webhook/repository/detail/webhook-detail.store.d.ts +1 -2
  1558. package/dist-cms/packages/webhook/repository/detail/webhook-detail.store.js +1 -2
  1559. package/dist-cms/packages/webhook/repository/event/webhook-event.server.data-source.d.ts +1 -2
  1560. package/dist-cms/packages/webhook/repository/event/webhook-event.server.data-source.js +1 -2
  1561. package/dist-cms/packages/webhook/repository/event/webhook-event.store.d.ts +1 -2
  1562. package/dist-cms/packages/webhook/repository/event/webhook-event.store.js +1 -2
  1563. package/dist-cms/packages/webhook/repository/item/webhook-item.server.data-source.d.ts +1 -2
  1564. package/dist-cms/packages/webhook/repository/item/webhook-item.server.data-source.js +1 -2
  1565. package/dist-cms/packages/webhook/repository/item/webhook-item.store.d.ts +2 -3
  1566. package/dist-cms/packages/webhook/repository/item/webhook-item.store.js +2 -3
  1567. package/dist-cms/tsconfig.build.tsbuildinfo +1 -1
  1568. package/dist-cms/umbraco-package-schema.json +259 -12
  1569. package/dist-cms/umbraco-package.json +1 -1
  1570. package/dist-cms/vscode-html-custom-data.json +477 -135
  1571. package/examples/block-custom-view/block-custom-view.ts +12 -1
  1572. package/examples/block-custom-view/index.ts +1 -1
  1573. package/examples/dashboard-with-property-dataset/README.md +5 -0
  1574. package/examples/dashboard-with-property-dataset/dataset-dashboard.ts +1 -1
  1575. package/examples/entity-content-type-condition/index.ts +22 -0
  1576. package/examples/entity-content-type-condition/workspace-view.element.ts +19 -0
  1577. package/examples/icons/README.md +7 -0
  1578. package/examples/icons/files/icon-heart.ts +14 -0
  1579. package/examples/icons/files/icon-wand.ts +19 -0
  1580. package/examples/icons/icons-dashboard.ts +36 -0
  1581. package/examples/icons/icons-dictionary.ts +10 -0
  1582. package/examples/icons/index.ts +21 -0
  1583. package/examples/sorter-with-nested-containers/sorter-group.ts +1 -1
  1584. package/examples/sorter-with-nested-containers/sorter-item.ts +1 -2
  1585. package/examples/sorter-with-two-containers/sorter-group.ts +2 -2
  1586. package/examples/sorter-with-two-containers/sorter-item.ts +1 -2
  1587. package/examples/ufm-custom-component/README.md +5 -0
  1588. package/examples/ufm-custom-component/custom-ufm-component.ts +26 -0
  1589. package/examples/ufm-custom-component/index.ts +13 -0
  1590. package/examples/workspace-context-counter/counter-workspace-context.ts +1 -1
  1591. package/package.json +9 -23
  1592. package/dist-cms/packages/core/settings/manifests.d.ts +0 -3
  1593. package/dist-cms/packages/core/settings/manifests.js +0 -65
  1594. package/dist-cms/packages/core/validation/context/server-model-validation.context-token.d.ts +0 -3
  1595. package/dist-cms/packages/core/validation/context/server-model-validation.context-token.js +0 -2
  1596. package/dist-cms/packages/core/validation/translators/validation-message-translator.interface.d.ts +0 -3
  1597. package/dist-cms/packages/core/validation/translators/variant-values-validation-message-translator.controller.d.ts +0 -10
  1598. package/dist-cms/packages/core/validation/translators/variant-values-validation-message-translator.controller.js +0 -37
  1599. package/dist-cms/packages/documents/documents/modals/rollback/repository/rollback.repository.d.ts +0 -12
  1600. package/dist-cms/packages/media/media/components/input-upload-field/input-upload-field-audio.element.d.ts +0 -11
  1601. package/dist-cms/packages/media/media/components/input-upload-field/input-upload-field-image.element.d.ts +0 -11
  1602. package/dist-cms/packages/media/media/components/input-upload-field/input-upload-field-svg.element.d.ts +0 -11
  1603. package/dist-cms/packages/media/media/components/input-upload-field/input-upload-field-video.element.d.ts +0 -11
  1604. package/dist-cms/packages/object-type/object-type.repository.d.ts +0 -11
  1605. package/dist-cms/packages/relations/index.d.ts +0 -3
  1606. package/dist-cms/packages/relations/index.js +0 -3
  1607. package/dist-cms/packages/settings/dashboards/manifests.d.ts +0 -2
  1608. package/dist-cms/packages/settings/dashboards/manifests.js +0 -55
  1609. package/dist-cms/packages/ufm/ufm-components/document-name.component.d.ts +0 -0
  1610. package/dist-cms/packages/ufm/ufm-components/document-name.component.js +0 -10
  1611. package/dist-cms/packages/ufm/ufm-components/document-name.element.d.ts +0 -0
  1612. package/dist-cms/packages/ufm/ufm-components/document-name.element.js +0 -42
  1613. package/dist-cms/packages/ufm/ufm-components/localize.component.js +0 -9
  1614. package/dist-cms/packages/ufm/ufm-components/ufm-component-base.js +0 -3
  1615. package/dist-cms/packages/user/modals/manifests.d.ts +0 -2
  1616. package/dist-cms/packages/user/modals/manifests.js +0 -9
  1617. package/dist-cms/packages/user/user/entity-actions/change-password/change-user-password.action.js +0 -24
  1618. /package/dist-cms/packages/core/{validation/translators/validation-message-translator.interface.js → extension-registry/interfaces/file-upload-preview.interface.js} +0 -0
  1619. /package/dist-cms/packages/{object-type → core/object-type}/index.d.ts +0 -0
  1620. /package/dist-cms/packages/{object-type → core/object-type}/index.js +0 -0
  1621. /package/dist-cms/packages/core/{settings/welcome-dashboard → property/conditions}/manifests.d.ts +0 -0
  1622. /package/dist-cms/packages/core/tree/{tree-picker → tree-picker-modal}/constants.d.ts +0 -0
  1623. /package/dist-cms/packages/core/tree/{tree-picker → tree-picker-modal}/constants.js +0 -0
  1624. /package/dist-cms/packages/core/tree/{tree-picker → tree-picker-modal}/index.d.ts +0 -0
  1625. /package/dist-cms/packages/core/tree/{tree-picker → tree-picker-modal}/index.js +0 -0
  1626. /package/dist-cms/packages/core/tree/{tree-picker → tree-picker-modal}/manifests.d.ts +0 -0
  1627. /package/dist-cms/packages/core/tree/{tree-picker → tree-picker-modal}/manifests.js +0 -0
  1628. /package/dist-cms/packages/core/tree/{tree-picker → tree-picker-modal}/tree-picker-modal.token.d.ts +0 -0
  1629. /package/dist-cms/packages/core/tree/{tree-picker → tree-picker-modal}/tree-picker-modal.token.js +0 -0
  1630. /package/dist-cms/packages/documents/documents/{modals/rollback → rollback/modal}/index.d.ts +0 -0
  1631. /package/dist-cms/packages/documents/documents/{modals/rollback → rollback/modal}/index.js +0 -0
  1632. /package/dist-cms/packages/documents/documents/{modals/rollback → rollback/modal}/rollback-modal.token.d.ts +0 -0
  1633. /package/dist-cms/packages/documents/documents/{modals/rollback → rollback}/repository/index.d.ts +0 -0
  1634. /package/dist-cms/packages/documents/documents/{modals/rollback → rollback}/repository/index.js +0 -0
  1635. /package/dist-cms/packages/documents/documents/{modals/rollback → rollback}/repository/manifests.js +0 -0
  1636. /package/dist-cms/packages/settings/{paths.d.ts → section/paths.d.ts} +0 -0
@@ -2,21 +2,21 @@
2
2
  * @license
3
3
  * Copyright 2019 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
5
- */const qr=globalThis,fs=qr.ShadowRoot&&(qr.ShadyCSS===void 0||qr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,vs=Symbol(),Bn=new WeakMap;let jn=class{constructor(t,i,o){if(this._$cssResult$=!0,o!==vs)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=i}get styleSheet(){let t=this.o;const i=this.t;if(fs&&t===void 0){const o=i!==void 0&&i.length===1;o&&(t=Bn.get(i)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&Bn.set(i,t))}return t}toString(){return this.cssText}};const dt=e=>new jn(typeof e=="string"?e:e+"",void 0,vs),p=(e,...t)=>{const i=e.length===1?e[0]:t.reduce((o,r,s)=>o+(n=>{if(n._$cssResult$===!0)return n.cssText;if(typeof n=="number")return n;throw Error("Value passed to 'css' function must be a 'css' function result: "+n+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+e[s+1],e[0]);return new jn(i,e,vs)},Iu=(e,t)=>{if(fs)e.adoptedStyleSheets=t.map(i=>i instanceof CSSStyleSheet?i:i.styleSheet);else for(const i of t){const o=document.createElement("style"),r=qr.litNonce;r!==void 0&&o.setAttribute("nonce",r),o.textContent=i.cssText,e.appendChild(o)}},Rn=fs?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let i="";for(const o of t.cssRules)i+=o.cssText;return dt(i)})(e):e;/**
5
+ */const qr=globalThis,fs=qr.ShadowRoot&&(qr.ShadyCSS===void 0||qr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,vs=Symbol(),jn=new WeakMap;let Rn=class{constructor(t,i,o){if(this._$cssResult$=!0,o!==vs)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=i}get styleSheet(){let t=this.o;const i=this.t;if(fs&&t===void 0){const o=i!==void 0&&i.length===1;o&&(t=jn.get(i)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&jn.set(i,t))}return t}toString(){return this.cssText}};const dt=e=>new Rn(typeof e=="string"?e:e+"",void 0,vs),p=(e,...t)=>{const i=e.length===1?e[0]:t.reduce((o,r,s)=>o+(n=>{if(n._$cssResult$===!0)return n.cssText;if(typeof n=="number")return n;throw Error("Value passed to 'css' function must be a 'css' function result: "+n+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+e[s+1],e[0]);return new Rn(i,e,vs)},Iu=(e,t)=>{if(fs)e.adoptedStyleSheets=t.map(i=>i instanceof CSSStyleSheet?i:i.styleSheet);else for(const i of t){const o=document.createElement("style"),r=qr.litNonce;r!==void 0&&o.setAttribute("nonce",r),o.textContent=i.cssText,e.appendChild(o)}},Fn=fs?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let i="";for(const o of t.cssRules)i+=o.cssText;return dt(i)})(e):e;/**
6
6
  * @license
7
7
  * Copyright 2017 Google LLC
8
8
  * SPDX-License-Identifier: BSD-3-Clause
9
- */const{is:Au,defineProperty:Uu,getOwnPropertyDescriptor:zu,getOwnPropertyNames:Du,getOwnPropertySymbols:Mu,getPrototypeOf:Lu}=Object,Kr=globalThis,Fn=Kr.trustedTypes,Tu=Fn?Fn.emptyScript:"",Vu=Kr.reactiveElementPolyfillSupport,Ji=(e,t)=>e,Yr={toAttribute(e,t){switch(t){case Boolean:e=e?Tu:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let i=e;switch(t){case Boolean:i=e!==null;break;case Number:i=e===null?null:Number(e);break;case Object:case Array:try{i=JSON.parse(e)}catch{i=null}}return i}},bs=(e,t)=>!Au(e,t),Wn={attribute:!0,type:String,converter:Yr,reflect:!1,hasChanged:bs};Symbol.metadata??=Symbol("metadata"),Kr.litPropertyMetadata??=new WeakMap;let si=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,i=Wn){if(i.state&&(i.attribute=!1),this._$Ei(),this.elementProperties.set(t,i),!i.noAccessor){const o=Symbol(),r=this.getPropertyDescriptor(t,o,i);r!==void 0&&Uu(this.prototype,t,r)}}static getPropertyDescriptor(t,i,o){const{get:r,set:s}=zu(this.prototype,t)??{get(){return this[i]},set(n){this[i]=n}};return{get(){return r?.call(this)},set(n){const u=r?.call(this);s.call(this,n),this.requestUpdate(t,u,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Wn}static _$Ei(){if(this.hasOwnProperty(Ji("elementProperties")))return;const t=Lu(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Ji("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ji("properties"))){const i=this.properties,o=[...Du(i),...Mu(i)];for(const r of o)this.createProperty(r,i[r])}const t=this[Symbol.metadata];if(t!==null){const i=litPropertyMetadata.get(t);if(i!==void 0)for(const[o,r]of i)this.elementProperties.set(o,r)}this._$Eh=new Map;for(const[i,o]of this.elementProperties){const r=this._$Eu(i,o);r!==void 0&&this._$Eh.set(r,i)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const i=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const r of o)i.unshift(Rn(r))}else t!==void 0&&i.push(Rn(t));return i}static _$Eu(t,i){const o=i.attribute;return o===!1?void 0:typeof o=="string"?o:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,i=this.constructor.elementProperties;for(const o of i.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Iu(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,i,o){this._$AK(t,o)}_$EC(t,i){const o=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,o);if(r!==void 0&&o.reflect===!0){const s=(o.converter?.toAttribute!==void 0?o.converter:Yr).toAttribute(i,o.type);this._$Em=t,s==null?this.removeAttribute(r):this.setAttribute(r,s),this._$Em=null}}_$AK(t,i){const o=this.constructor,r=o._$Eh.get(t);if(r!==void 0&&this._$Em!==r){const s=o.getPropertyOptions(r),n=typeof s.converter=="function"?{fromAttribute:s.converter}:s.converter?.fromAttribute!==void 0?s.converter:Yr;this._$Em=r,this[r]=n.fromAttribute(i,s.type),this._$Em=null}}requestUpdate(t,i,o){if(t!==void 0){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??bs)(this[t],i))return;this.P(t,i,o)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(t,i,o){this._$AL.has(t)||this._$AL.set(t,i),o.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(i){Promise.reject(i)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[r,s]of this._$Ep)this[r]=s;this._$Ep=void 0}const o=this.constructor.elementProperties;if(o.size>0)for(const[r,s]of o)s.wrapped!==!0||this._$AL.has(r)||this[r]===void 0||this.P(r,this[r],s)}let t=!1;const i=this._$AL;try{t=this.shouldUpdate(i),t?(this.willUpdate(i),this._$EO?.forEach(o=>o.hostUpdate?.()),this.update(i)):this._$EU()}catch(o){throw t=!1,this._$EU(),o}t&&this._$AE(i)}willUpdate(t){}_$AE(t){this._$EO?.forEach(i=>i.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach(i=>this._$EC(i,this[i])),this._$EU()}updated(t){}firstUpdated(t){}};si.elementStyles=[],si.shadowRootOptions={mode:"open"},si[Ji("elementProperties")]=new Map,si[Ji("finalized")]=new Map,Vu?.({ReactiveElement:si}),(Kr.reactiveElementVersions??=[]).push("2.0.4");/**
9
+ */const{is:Au,defineProperty:Uu,getOwnPropertyDescriptor:zu,getOwnPropertyNames:Du,getOwnPropertySymbols:Mu,getPrototypeOf:Lu}=Object,Kr=globalThis,Wn=Kr.trustedTypes,Tu=Wn?Wn.emptyScript:"",Vu=Kr.reactiveElementPolyfillSupport,Ji=(e,t)=>e,Yr={toAttribute(e,t){switch(t){case Boolean:e=e?Tu:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let i=e;switch(t){case Boolean:i=e!==null;break;case Number:i=e===null?null:Number(e);break;case Object:case Array:try{i=JSON.parse(e)}catch{i=null}}return i}},bs=(e,t)=>!Au(e,t),Gn={attribute:!0,type:String,converter:Yr,reflect:!1,hasChanged:bs};Symbol.metadata??=Symbol("metadata"),Kr.litPropertyMetadata??=new WeakMap;let si=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,i=Gn){if(i.state&&(i.attribute=!1),this._$Ei(),this.elementProperties.set(t,i),!i.noAccessor){const o=Symbol(),r=this.getPropertyDescriptor(t,o,i);r!==void 0&&Uu(this.prototype,t,r)}}static getPropertyDescriptor(t,i,o){const{get:r,set:s}=zu(this.prototype,t)??{get(){return this[i]},set(n){this[i]=n}};return{get(){return r?.call(this)},set(n){const u=r?.call(this);s.call(this,n),this.requestUpdate(t,u,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Gn}static _$Ei(){if(this.hasOwnProperty(Ji("elementProperties")))return;const t=Lu(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Ji("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ji("properties"))){const i=this.properties,o=[...Du(i),...Mu(i)];for(const r of o)this.createProperty(r,i[r])}const t=this[Symbol.metadata];if(t!==null){const i=litPropertyMetadata.get(t);if(i!==void 0)for(const[o,r]of i)this.elementProperties.set(o,r)}this._$Eh=new Map;for(const[i,o]of this.elementProperties){const r=this._$Eu(i,o);r!==void 0&&this._$Eh.set(r,i)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const i=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const r of o)i.unshift(Fn(r))}else t!==void 0&&i.push(Fn(t));return i}static _$Eu(t,i){const o=i.attribute;return o===!1?void 0:typeof o=="string"?o:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,i=this.constructor.elementProperties;for(const o of i.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Iu(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,i,o){this._$AK(t,o)}_$EC(t,i){const o=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,o);if(r!==void 0&&o.reflect===!0){const s=(o.converter?.toAttribute!==void 0?o.converter:Yr).toAttribute(i,o.type);this._$Em=t,s==null?this.removeAttribute(r):this.setAttribute(r,s),this._$Em=null}}_$AK(t,i){const o=this.constructor,r=o._$Eh.get(t);if(r!==void 0&&this._$Em!==r){const s=o.getPropertyOptions(r),n=typeof s.converter=="function"?{fromAttribute:s.converter}:s.converter?.fromAttribute!==void 0?s.converter:Yr;this._$Em=r,this[r]=n.fromAttribute(i,s.type),this._$Em=null}}requestUpdate(t,i,o){if(t!==void 0){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??bs)(this[t],i))return;this.P(t,i,o)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(t,i,o){this._$AL.has(t)||this._$AL.set(t,i),o.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(i){Promise.reject(i)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[r,s]of this._$Ep)this[r]=s;this._$Ep=void 0}const o=this.constructor.elementProperties;if(o.size>0)for(const[r,s]of o)s.wrapped!==!0||this._$AL.has(r)||this[r]===void 0||this.P(r,this[r],s)}let t=!1;const i=this._$AL;try{t=this.shouldUpdate(i),t?(this.willUpdate(i),this._$EO?.forEach(o=>o.hostUpdate?.()),this.update(i)):this._$EU()}catch(o){throw t=!1,this._$EU(),o}t&&this._$AE(i)}willUpdate(t){}_$AE(t){this._$EO?.forEach(i=>i.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach(i=>this._$EC(i,this[i])),this._$EU()}updated(t){}firstUpdated(t){}};si.elementStyles=[],si.shadowRootOptions={mode:"open"},si[Ji("elementProperties")]=new Map,si[Ji("finalized")]=new Map,Vu?.({ReactiveElement:si}),(Kr.reactiveElementVersions??=[]).push("2.0.4");/**
10
10
  * @license
11
11
  * Copyright 2017 Google LLC
12
12
  * SPDX-License-Identifier: BSD-3-Clause
13
- */const gs=globalThis,Xr=gs.trustedTypes,Gn=Xr?Xr.createPolicy("lit-html",{createHTML:e=>e}):void 0,ms="$lit$",We=`lit$${Math.random().toFixed(9).slice(2)}$`,_s="?"+We,Nu=`<${_s}>`,Pt=document,er=()=>Pt.createComment(""),tr=e=>e===null||typeof e!="object"&&typeof e!="function",qn=Array.isArray,Kn=e=>qn(e)||typeof e?.[Symbol.iterator]=="function",ys=`[
14
- \f\r]`,ir=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Yn=/-->/g,Xn=/>/g,St=RegExp(`>|${ys}(?:([^\\s"'>=/]+)(${ys}*=${ys}*(?:[^
15
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Zn=/'/g,Qn=/"/g,Jn=/^(?:script|style|textarea|title)$/i,ea=e=>(t,...i)=>({_$litType$:e,strings:t,values:i}),l=ea(1),y=ea(2),se=Symbol.for("lit-noChange"),C=Symbol.for("lit-nothing"),ta=new WeakMap,Ot=Pt.createTreeWalker(Pt,129);function ia(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Gn!==void 0?Gn.createHTML(t):t}const ra=(e,t)=>{const i=e.length-1,o=[];let r,s=t===2?"<svg>":"",n=ir;for(let u=0;u<i;u++){const c=e[u];let v,g,d=-1,k=0;for(;k<c.length&&(n.lastIndex=k,g=n.exec(c),g!==null);)k=n.lastIndex,n===ir?g[1]==="!--"?n=Yn:g[1]!==void 0?n=Xn:g[2]!==void 0?(Jn.test(g[2])&&(r=RegExp("</"+g[2],"g")),n=St):g[3]!==void 0&&(n=St):n===St?g[0]===">"?(n=r??ir,d=-1):g[1]===void 0?d=-2:(d=n.lastIndex-g[2].length,v=g[1],n=g[3]===void 0?St:g[3]==='"'?Qn:Zn):n===Qn||n===Zn?n=St:n===Yn||n===Xn?n=ir:(n=St,r=void 0);const h=n===St&&e[u+1].startsWith("/>")?" ":"";s+=n===ir?c+Nu:d>=0?(o.push(v),c.slice(0,d)+ms+c.slice(d)+We+h):c+We+(d===-2?u:h)}return[ia(e,s+(e[i]||"<?>")+(t===2?"</svg>":"")),o]};class Rr{constructor({strings:t,_$litType$:i},o){let r;this.parts=[];let s=0,n=0;const u=t.length-1,c=this.parts,[v,g]=ra(t,i);if(this.el=Rr.createElement(v,o),Ot.currentNode=this.el.content,i===2){const d=this.el.content.firstChild;d.replaceWith(...d.childNodes)}for(;(r=Ot.nextNode())!==null&&c.length<u;){if(r.nodeType===1){if(r.hasAttributes())for(const d of r.getAttributeNames())if(d.endsWith(ms)){const k=g[n++],h=r.getAttribute(d).split(We),_=/([.?@])?(.*)/.exec(k);c.push({type:1,index:s,name:_[2],strings:h,ctor:_[1]==="."?sa:_[1]==="?"?na:_[1]==="@"?aa:rr}),r.removeAttribute(d)}else d.startsWith(We)&&(c.push({type:6,index:s}),r.removeAttribute(d));if(Jn.test(r.tagName)){const d=r.textContent.split(We),k=d.length-1;if(k>0){r.textContent=Xr?Xr.emptyScript:"";for(let h=0;h<k;h++)r.append(d[h],er()),Ot.nextNode(),c.push({type:2,index:++s});r.append(d[k],er())}}}else if(r.nodeType===8)if(r.data===_s)c.push({type:2,index:s});else{let d=-1;for(;(d=r.data.indexOf(We,d+1))!==-1;)c.push({type:7,index:s}),d+=We.length-1}s++}}static createElement(t,i){const o=Pt.createElement("template");return o.innerHTML=t,o}}function It(e,t,i=e,o){if(t===se)return t;let r=o!==void 0?i._$Co?.[o]:i._$Cl;const s=tr(t)?void 0:t._$litDirective$;return r?.constructor!==s&&(r?._$AO?.(!1),s===void 0?r=void 0:(r=new s(e),r._$AT(e,i,o)),o!==void 0?(i._$Co??=[])[o]=r:i._$Cl=r),r!==void 0&&(t=It(e,r._$AS(e,t.values),r,o)),t}let oa=class{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:o}=this._$AD,r=(t?.creationScope??Pt).importNode(i,!0);Ot.currentNode=r;let s=Ot.nextNode(),n=0,u=0,c=o[0];for(;c!==void 0;){if(n===c.index){let v;c.type===2?v=new Zr(s,s.nextSibling,this,t):c.type===1?v=new c.ctor(s,c.name,c.strings,this,t):c.type===6&&(v=new la(s,this,t)),this._$AV.push(v),c=o[++u]}n!==c?.index&&(s=Ot.nextNode(),n++)}return Ot.currentNode=Pt,r}p(t){let i=0;for(const o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(t,o,i),i+=o.strings.length-2):o._$AI(t[i])),i++}},Zr=class Su{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,o,r){this.type=2,this._$AH=C,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=o,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return i!==void 0&&t?.nodeType===11&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=It(this,t,i),tr(t)?t===C||t==null||t===""?(this._$AH!==C&&this._$AR(),this._$AH=C):t!==this._$AH&&t!==se&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Kn(t)?this.k(t):this._(t)}S(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.S(t))}_(t){this._$AH!==C&&tr(this._$AH)?this._$AA.nextSibling.data=t:this.T(Pt.createTextNode(t)),this._$AH=t}$(t){const{values:i,_$litType$:o}=t,r=typeof o=="number"?this._$AC(t):(o.el===void 0&&(o.el=Rr.createElement(ia(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===r)this._$AH.p(i);else{const s=new oa(r,this),n=s.u(this.options);s.p(i),this.T(n),this._$AH=s}}_$AC(t){let i=ta.get(t.strings);return i===void 0&&ta.set(t.strings,i=new Rr(t)),i}k(t){qn(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let o,r=0;for(const s of t)r===i.length?i.push(o=new Su(this.S(er()),this.S(er()),this,this.options)):o=i[r],o._$AI(s),r++;r<i.length&&(this._$AR(o&&o._$AB.nextSibling,r),i.length=r)}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(!1,!0,i);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}};class rr{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,o,r,s){this.type=1,this._$AH=C,this._$AN=void 0,this.element=t,this.name=i,this._$AM=r,this.options=s,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=C}_$AI(t,i=this,o,r){const s=this.strings;let n=!1;if(s===void 0)t=It(this,t,i,0),n=!tr(t)||t!==this._$AH&&t!==se,n&&(this._$AH=t);else{const u=t;let c,v;for(t=s[0],c=0;c<s.length-1;c++)v=It(this,u[o+c],i,c),v===se&&(v=this._$AH[c]),n||=!tr(v)||v!==this._$AH[c],v===C?t=C:t!==C&&(t+=(v??"")+s[c+1]),this._$AH[c]=v}n&&!r&&this.j(t)}j(t){t===C?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}let sa=class extends rr{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===C?void 0:t}},na=class extends rr{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==C)}};class aa extends rr{constructor(t,i,o,r,s){super(t,i,o,r,s),this.type=5}_$AI(t,i=this){if((t=It(this,t,i,0)??C)===se)return;const o=this._$AH,r=t===C&&o!==C||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==C&&(o===C||r);r&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class la{constructor(t,i,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){It(this,t)}}const Hu={P:ms,A:We,C:_s,M:1,L:ra,R:oa,D:Kn,V:It,I:Zr,H:rr,N:na,U:aa,B:sa,F:la},Bu=gs.litHtmlPolyfillSupport;Bu?.(Rr,Zr),(gs.litHtmlVersions??=[]).push("3.1.4");const ju=(e,t,i)=>{const o=i?.renderBefore??t;let r=o._$litPart$;if(r===void 0){const s=i?.renderBefore??null;o._$litPart$=r=new Zr(t.insertBefore(er(),s),s,void 0,i??{})}return r._$AI(e),r};/**
13
+ */const gs=globalThis,Xr=gs.trustedTypes,qn=Xr?Xr.createPolicy("lit-html",{createHTML:e=>e}):void 0,ms="$lit$",We=`lit$${Math.random().toFixed(9).slice(2)}$`,_s="?"+We,Nu=`<${_s}>`,Pt=document,er=()=>Pt.createComment(""),tr=e=>e===null||typeof e!="object"&&typeof e!="function",ys=Array.isArray,Kn=e=>ys(e)||typeof e?.[Symbol.iterator]=="function",ws=`[
14
+ \f\r]`,ir=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Yn=/-->/g,Xn=/>/g,Ot=RegExp(`>|${ws}(?:([^\\s"'>=/]+)(${ws}*=${ws}*(?:[^
15
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Zn=/'/g,Qn=/"/g,Jn=/^(?:script|style|textarea|title)$/i,ea=e=>(t,...i)=>({_$litType$:e,strings:t,values:i}),l=ea(1),y=ea(2),ne=Symbol.for("lit-noChange"),k=Symbol.for("lit-nothing"),ta=new WeakMap,St=Pt.createTreeWalker(Pt,129);function ia(e,t){if(!ys(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return qn!==void 0?qn.createHTML(t):t}const ra=(e,t)=>{const i=e.length-1,o=[];let r,s=t===2?"<svg>":t===3?"<math>":"",n=ir;for(let u=0;u<i;u++){const c=e[u];let v,g,d=-1,C=0;for(;C<c.length&&(n.lastIndex=C,g=n.exec(c),g!==null);)C=n.lastIndex,n===ir?g[1]==="!--"?n=Yn:g[1]!==void 0?n=Xn:g[2]!==void 0?(Jn.test(g[2])&&(r=RegExp("</"+g[2],"g")),n=Ot):g[3]!==void 0&&(n=Ot):n===Ot?g[0]===">"?(n=r??ir,d=-1):g[1]===void 0?d=-2:(d=n.lastIndex-g[2].length,v=g[1],n=g[3]===void 0?Ot:g[3]==='"'?Qn:Zn):n===Qn||n===Zn?n=Ot:n===Yn||n===Xn?n=ir:(n=Ot,r=void 0);const h=n===Ot&&e[u+1].startsWith("/>")?" ":"";s+=n===ir?c+Nu:d>=0?(o.push(v),c.slice(0,d)+ms+c.slice(d)+We+h):c+We+(d===-2?u:h)}return[ia(e,s+(e[i]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),o]};class Rr{constructor({strings:t,_$litType$:i},o){let r;this.parts=[];let s=0,n=0;const u=t.length-1,c=this.parts,[v,g]=ra(t,i);if(this.el=Rr.createElement(v,o),St.currentNode=this.el.content,i===2||i===3){const d=this.el.content.firstChild;d.replaceWith(...d.childNodes)}for(;(r=St.nextNode())!==null&&c.length<u;){if(r.nodeType===1){if(r.hasAttributes())for(const d of r.getAttributeNames())if(d.endsWith(ms)){const C=g[n++],h=r.getAttribute(d).split(We),_=/([.?@])?(.*)/.exec(C);c.push({type:1,index:s,name:_[2],strings:h,ctor:_[1]==="."?sa:_[1]==="?"?na:_[1]==="@"?aa:rr}),r.removeAttribute(d)}else d.startsWith(We)&&(c.push({type:6,index:s}),r.removeAttribute(d));if(Jn.test(r.tagName)){const d=r.textContent.split(We),C=d.length-1;if(C>0){r.textContent=Xr?Xr.emptyScript:"";for(let h=0;h<C;h++)r.append(d[h],er()),St.nextNode(),c.push({type:2,index:++s});r.append(d[C],er())}}}else if(r.nodeType===8)if(r.data===_s)c.push({type:2,index:s});else{let d=-1;for(;(d=r.data.indexOf(We,d+1))!==-1;)c.push({type:7,index:s}),d+=We.length-1}s++}}static createElement(t,i){const o=Pt.createElement("template");return o.innerHTML=t,o}}function It(e,t,i=e,o){if(t===ne)return t;let r=o!==void 0?i.o?.[o]:i.l;const s=tr(t)?void 0:t._$litDirective$;return r?.constructor!==s&&(r?._$AO?.(!1),s===void 0?r=void 0:(r=new s(e),r._$AT(e,i,o)),o!==void 0?(i.o??=[])[o]=r:i.l=r),r!==void 0&&(t=It(e,r._$AS(e,t.values),r,o)),t}class oa{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:o}=this._$AD,r=(t?.creationScope??Pt).importNode(i,!0);St.currentNode=r;let s=St.nextNode(),n=0,u=0,c=o[0];for(;c!==void 0;){if(n===c.index){let v;c.type===2?v=new Zr(s,s.nextSibling,this,t):c.type===1?v=new c.ctor(s,c.name,c.strings,this,t):c.type===6&&(v=new la(s,this,t)),this._$AV.push(v),c=o[++u]}n!==c?.index&&(s=St.nextNode(),n++)}return St.currentNode=Pt,r}p(t){let i=0;for(const o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(t,o,i),i+=o.strings.length-2):o._$AI(t[i])),i++}}let Zr=class Ou{get _$AU(){return this._$AM?._$AU??this.v}constructor(t,i,o,r){this.type=2,this._$AH=k,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=o,this.options=r,this.v=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return i!==void 0&&t?.nodeType===11&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=It(this,t,i),tr(t)?t===k||t==null||t===""?(this._$AH!==k&&this._$AR(),this._$AH=k):t!==this._$AH&&t!==ne&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Kn(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==k&&tr(this._$AH)?this._$AA.nextSibling.data=t:this.T(Pt.createTextNode(t)),this._$AH=t}$(t){const{values:i,_$litType$:o}=t,r=typeof o=="number"?this._$AC(t):(o.el===void 0&&(o.el=Rr.createElement(ia(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===r)this._$AH.p(i);else{const s=new oa(r,this),n=s.u(this.options);s.p(i),this.T(n),this._$AH=s}}_$AC(t){let i=ta.get(t.strings);return i===void 0&&ta.set(t.strings,i=new Rr(t)),i}k(t){ys(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let o,r=0;for(const s of t)r===i.length?i.push(o=new Ou(this.O(er()),this.O(er()),this,this.options)):o=i[r],o._$AI(s),r++;r<i.length&&(this._$AR(o&&o._$AB.nextSibling,r),i.length=r)}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(!1,!0,i);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){this._$AM===void 0&&(this.v=t,this._$AP?.(t))}};class rr{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,o,r,s){this.type=1,this._$AH=k,this._$AN=void 0,this.element=t,this.name=i,this._$AM=r,this.options=s,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=k}_$AI(t,i=this,o,r){const s=this.strings;let n=!1;if(s===void 0)t=It(this,t,i,0),n=!tr(t)||t!==this._$AH&&t!==ne,n&&(this._$AH=t);else{const u=t;let c,v;for(t=s[0],c=0;c<s.length-1;c++)v=It(this,u[o+c],i,c),v===ne&&(v=this._$AH[c]),n||=!tr(v)||v!==this._$AH[c],v===k?t=k:t!==k&&(t+=(v??"")+s[c+1]),this._$AH[c]=v}n&&!r&&this.j(t)}j(t){t===k?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class sa extends rr{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===k?void 0:t}}class na extends rr{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==k)}}class aa extends rr{constructor(t,i,o,r,s){super(t,i,o,r,s),this.type=5}_$AI(t,i=this){if((t=It(this,t,i,0)??k)===ne)return;const o=this._$AH,r=t===k&&o!==k||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==k&&(o===k||r);r&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class la{constructor(t,i,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){It(this,t)}}const Hu={M:ms,P:We,A:_s,C:1,L:ra,R:oa,D:Kn,V:It,I:Zr,H:rr,N:na,U:aa,B:sa,F:la},Bu=gs.litHtmlPolyfillSupport;Bu?.(Rr,Zr),(gs.litHtmlVersions??=[]).push("3.2.0");const ju=(e,t,i)=>{const o=i?.renderBefore??t;let r=o._$litPart$;if(r===void 0){const s=i?.renderBefore??null;o._$litPart$=r=new Zr(t.insertBefore(er(),s),s,void 0,i??{})}return r._$AI(e),r};/**
16
16
  * @license
17
17
  * Copyright 2017 Google LLC
18
18
  * SPDX-License-Identifier: BSD-3-Clause
19
- */let b=class extends si{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const i=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=ju(i,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return se}};b._$litElement$=!0,b.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:b});const Ru=globalThis.litElementPolyfillSupport;Ru?.({LitElement:b}),(globalThis.litElementVersions??=[]).push("4.0.6");var Fu=`.uui-text {
19
+ */let b=class extends si{constructor(){super(...arguments),this.renderOptions={host:this},this.o=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const i=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this.o=ju(i,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this.o?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this.o?.setConnected(!1)}render(){return ne}};b._$litElement$=!0,b.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:b});const Ru=globalThis.litElementPolyfillSupport;Ru?.({LitElement:b}),(globalThis.litElementVersions??=[]).push("4.1.0");var Fu=`.uui-text {
20
20
  font-family: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
21
21
  font-size: 15px;
22
22
  line-height: calc(var(--uui-size-2,6px) * 4);
@@ -196,19 +196,19 @@
196
196
  * @license
197
197
  * Copyright 2017 Google LLC
198
198
  * SPDX-License-Identifier: BSD-3-Clause
199
- */const ws=(e,t,i)=>(i.configurable=!0,i.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(e,t,i),i);/**
199
+ */const xs=(e,t,i)=>(i.configurable=!0,i.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(e,t,i),i);/**
200
200
  * @license
201
201
  * Copyright 2017 Google LLC
202
202
  * SPDX-License-Identifier: BSD-3-Clause
203
- */function O(e,t){return(i,o,r)=>{const s=n=>n.renderRoot?.querySelector(e)??null;return ws(i,o,{get(){return s(this)}})}}/**
203
+ */function S(e,t){return(i,o,r)=>{const s=n=>n.renderRoot?.querySelector(e)??null;return xs(i,o,{get(){return s(this)}})}}/**
204
204
  * @license
205
205
  * Copyright 2017 Google LLC
206
206
  * SPDX-License-Identifier: BSD-3-Clause
207
- */let qu;function Ku(e){return(t,i)=>ws(t,i,{get(){return(this.renderRoot??(qu??=document.createDocumentFragment())).querySelectorAll(e)}})}/**
207
+ */let qu;function Ku(e){return(t,i)=>xs(t,i,{get(){return(this.renderRoot??(qu??=document.createDocumentFragment())).querySelectorAll(e)}})}/**
208
208
  * @license
209
209
  * Copyright 2021 Google LLC
210
210
  * SPDX-License-Identifier: BSD-3-Clause
211
- */function pt(e){return(t,i)=>{const{slot:o,selector:r}=e??{},s="slot"+(o?`[name=${o}]`:":not([name])");return ws(t,i,{get(){const n=this.renderRoot?.querySelector(s),u=n?.assignedElements(e)??[];return r===void 0?u:u.filter(c=>c.matches(r))}})}}const Yu=p`
211
+ */function pt(e){return(t,i)=>{const{slot:o,selector:r}=e??{},s="slot"+(o?`[name=${o}]`:":not([name])");return xs(t,i,{get(){const n=this.renderRoot?.querySelector(s),u=n?.assignedElements(e)??[];return r===void 0?u:u.filter(c=>c.matches(r))}})}}const Yu=p`
212
212
  @keyframes uui-blink {
213
213
  0%,
214
214
  100% {
@@ -259,14 +259,14 @@
259
259
  transform: translateX(2px);
260
260
  }
261
261
  }
262
- `,ec=dt("uui-horizontal-shake 600ms ease backwards");let xs=class extends Event{constructor(t,i={}){super(t,{...i}),this.detail=i.detail||{}}},Ge=class extends xs{constructor(t,i={}){super(t,{bubbles:!0,...i})}};Ge.VALID="valid",Ge.INVALID="invalid";let At=class extends xs{constructor(t,i={}){super(t,{bubbles:!0,cancelable:!0,...i})}};At.SELECTED="selected",At.DESELECTED="deselected";var tc=Object.defineProperty,ic=(e,t,i,o)=>{for(var r=void 0,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=n(t,i,r)||r);return r&&tc(t,i,r),r};const rc=e=>{class t extends e{constructor(){super(...arguments),this.active=!1}}return ic([a({type:Boolean,reflect:!0})],t.prototype,"active"),t};var oc=Object.defineProperty,ua=(e,t,i,o)=>{for(var r=void 0,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=n(t,i,r)||r);return r&&oc(t,i,r),r};const sc=(e,t)=>{class i extends t{constructor(){super(...arguments),this._labelSlotHasContent=!1}connectedCallback(){super.connectedCallback(),this.label||console.warn(this.tagName+" needs a `label`",this)}labelSlotChanged(r){this._labelSlotHasContent=r.target.assignedNodes({flatten:!0}).length>0}renderLabel(){return l`
262
+ `,ec=dt("uui-horizontal-shake 600ms ease backwards");let $s=class extends Event{constructor(t,i={}){super(t,{...i}),this.detail=i.detail||{}}},Ge=class extends $s{constructor(t,i={}){super(t,{bubbles:!0,...i})}};Ge.VALID="valid",Ge.INVALID="invalid";let At=class extends $s{constructor(t,i={}){super(t,{bubbles:!0,cancelable:!0,...i})}};At.SELECTED="selected",At.DESELECTED="deselected";var tc=Object.defineProperty,ic=(e,t,i,o)=>{for(var r=void 0,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=n(t,i,r)||r);return r&&tc(t,i,r),r};const rc=e=>{class t extends e{constructor(){super(...arguments),this.active=!1}}return ic([a({type:Boolean,reflect:!0})],t.prototype,"active"),t};var oc=Object.defineProperty,ua=(e,t,i,o)=>{for(var r=void 0,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=n(t,i,r)||r);return r&&oc(t,i,r),r};const sc=(e,t)=>{class i extends t{constructor(){super(...arguments),this._labelSlotHasContent=!1}connectedCallback(){super.connectedCallback(),this.label||console.warn(this.tagName+" needs a `label`",this)}labelSlotChanged(r){this._labelSlotHasContent=r.target.assignedNodes({flatten:!0}).length>0}renderLabel(){return l`
263
263
  ${this._labelSlotHasContent===!1?l`<span class="label">${this.label}</span>`:""}
264
264
  <slot
265
265
  class="label"
266
266
  style=${this._labelSlotHasContent?"":"visibility: hidden"}
267
267
  name=${e||""}
268
268
  @slotchange=${this.labelSlotChanged}></slot>
269
- `}}return ua([a({type:String})],i.prototype,"label"),ua([m()],i.prototype,"_labelSlotHasContent"),i};var nc=Object.defineProperty,ac=Object.getOwnPropertyDescriptor,ca=(e,t,i,o)=>{for(var r=o>1?void 0:o?ac(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&nc(t,i,r),r};const lc=e=>{class t extends e{constructor(...o){super(...o),this._selectable=!1,this.deselectable=!0,this.selected=!1,this.selectableTarget=this,this.handleSelectKeydown=r=>{if(this.selectableTarget===this){if(r.key!==" "&&r.key!=="Enter")return;this._toggleSelect()}},this.addEventListener("click",this._handleClick),this.addEventListener("keydown",this.handleSelectKeydown)}get selectable(){return this._selectable}set selectable(o){const r=this._selectable;this._selectable=o,this.selectableTarget||this.setAttribute("tabindex",`${o?"0":"-1"}`),this.requestUpdate("selectable",r)}_select(){if(!this.selectable)return;const o=new At(At.SELECTED);this.dispatchEvent(o),!o.defaultPrevented&&(this.selected=!0)}_deselect(){if(!this.deselectable)return;const o=new At(At.DESELECTED);this.dispatchEvent(o),!o.defaultPrevented&&(this.selected=!1)}_handleClick(o){o.composedPath().indexOf(this.selectableTarget)!==-1&&this._toggleSelect()}_toggleSelect(){this.selectable&&(this.deselectable===!1?this._select():this.selected?this._deselect():this._select())}}return ca([a({type:Boolean,reflect:!0})],t.prototype,"selectable",1),ca([a({type:Boolean,reflect:!0})],t.prototype,"selected",2),t};var uc=Object.defineProperty,cc=Object.getOwnPropertyDescriptor,hc=(e,t,i,o)=>{for(var r=cc(t,i),s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=n(t,i,r)||r);return r&&uc(t,i,r),r};const dc=e=>{class t extends e{constructor(){super(...arguments),this._selectOnly=!1}get selectOnly(){return this._selectOnly}set selectOnly(o){const r=this._selectOnly;this._selectOnly=o,this.requestUpdate("selectOnly",r)}}return hc([a({type:Boolean,reflect:!0,attribute:"select-only"})],t.prototype,"selectOnly"),t};var pc=Object.defineProperty,fc=Object.getOwnPropertyDescriptor,ha=e=>{throw TypeError(e)},Ut=(e,t,i,o)=>{for(var r=o>1?void 0:o?fc(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&pc(t,i,r),r},$s=(e,t,i)=>t.has(e)||ha("Cannot "+i),U=(e,t,i)=>($s(e,t,"read from private field"),i?i.call(e):t.get(e)),zt=(e,t,i)=>t.has(e)?ha("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,i),Cs=(e,t,i,o)=>($s(e,t,"write to private field"),t.set(e,i),i),Jr=(e,t,i)=>($s(e,t,"access private method"),i);const vc=(e,t)=>{var i,o,r,s,n,u,c,v,g;class d extends e{constructor(...h){super(...h),zt(this,u),this.name="",zt(this,i,{}),this._pristine=!0,this.required=!1,this.requiredMessage="This field is required",this.error=!1,this.errorMessage="This field is invalid",zt(this,o,t),zt(this,r,null),zt(this,s,[]),zt(this,n,[]),zt(this,g,()=>{this.pristine=!1}),this._internals=this.attachInternals(),this.setAttribute("pristine",""),this.addValidator("valueMissing",()=>this.requiredMessage,()=>this.hasAttribute("required")&&this.hasValue()===!1),this.addValidator("customError",()=>this.errorMessage,()=>this.error),this.addEventListener("blur",()=>{this.pristine=!1,this.checkValidity()})}get value(){return U(this,o)}set value(h){const _=U(this,o);Cs(this,o,h),"ElementInternals"in window&&"setFormValue"in window.ElementInternals.prototype&&this._internals.setFormValue(U(this,o)??null),this.requestUpdate("value",_)}set pristine(h){this._pristine!==h&&(this._pristine=h,h?this.setAttribute("pristine",""):this.removeAttribute("pristine"),Jr(this,u,v).call(this))}get pristine(){return this._pristine}hasValue(){return this.value!==this.getDefaultValue()}focusFirstInvalidElement(){const h=U(this,n).find(_=>_.validity.valid===!1);h?"focusFirstInvalidElement"in h?h.focusFirstInvalidElement():h.focus():this.focus()}disconnectedCallback(){super.disconnectedCallback(),Jr(this,u,c).call(this)}addValidator(h,_,L){const P={flagKey:h,getMessageMethod:_,checkMethod:L};return U(this,s).push(P),P}removeValidator(h){const _=U(this,s).indexOf(h);_!==-1&&U(this,s).splice(_,1)}addFormControlElement(h){U(this,n).push(h),h.addEventListener(Ge.INVALID,()=>{this._runValidators()}),h.addEventListener(Ge.VALID,()=>{this._runValidators()}),this._pristine===!1&&(h.checkValidity(),this._runValidators())}setCustomValidity(h){this._customValidityObject&&this.removeValidator(this._customValidityObject),h!=null&&h!==""&&(this._customValidityObject=this.addValidator("customError",()=>h,()=>!0)),this._runValidators()}_runValidators(){Cs(this,i,{});const h=new Set;let _;U(this,n).forEach(P=>{let K;for(K in P.validity)K!=="valid"&&P.validity[K]&&(U(this,i)[K]=!0,h.add(P.validationMessage),_??(_=P))}),U(this,s).forEach(P=>{P.checkMethod()&&(U(this,i)[P.flagKey]=!0,h.add(P.getMessageMethod()))});const L=Object.values(U(this,i)).includes(!0);U(this,i).valid=!L,this._internals.setValidity(U(this,i),[...h].join(", "),_??this.getFormElement()??void 0),Jr(this,u,v).call(this)}updated(h){super.updated(h),this._runValidators()}submit(){U(this,r)?.requestSubmit()}formAssociatedCallback(){Jr(this,u,c).call(this),Cs(this,r,this._internals.form),U(this,r)&&(U(this,r).hasAttribute("submit-invalid")&&(this.pristine=!1),U(this,r).addEventListener("submit",U(this,g)))}formResetCallback(){this.pristine=!0,this.value=this.getInitialValue()??this.getDefaultValue()}getDefaultValue(){return t}getInitialValue(){return this.getAttribute("value")}checkValidity(){this.pristine=!1,this._runValidators();for(const h in U(this,n))if(U(this,n)[h].checkValidity()===!1)return!1;return this._internals?.checkValidity()}get validity(){return U(this,i)}get validationMessage(){return this._internals?.validationMessage}}return i=new WeakMap,o=new WeakMap,r=new WeakMap,s=new WeakMap,n=new WeakMap,u=new WeakSet,c=function(){U(this,r)&&U(this,r).removeEventListener("submit",U(this,g))},v=function(){this._pristine!==!0&&(U(this,i).valid?this.dispatchEvent(new Ge(Ge.VALID)):this.dispatchEvent(new Ge(Ge.INVALID)))},g=new WeakMap,d.formAssociated=!0,Ut([a({type:String})],d.prototype,"name",2),Ut([a()],d.prototype,"value",1),Ut([a({type:Boolean,reflect:!0,attribute:"pristine"})],d.prototype,"pristine",1),Ut([a({type:Boolean,reflect:!0})],d.prototype,"required",2),Ut([a({type:String,attribute:"required-message"})],d.prototype,"requiredMessage",2),Ut([a({type:Boolean,reflect:!0})],d.prototype,"error",2),Ut([a({type:String,attribute:"error-message"})],d.prototype,"errorMessage",2),d};let bc=class{constructor(t,i){this._callback=t,this._timerId=null,this._remaining=null,this._onComplete=()=>{this._remaining=null,this._callback()},this.setDuration(i)}setDuration(t){this._duration=t,this._timerId!==null&&this.restart()}start(){this._timerId===null&&this.resume()}restart(){this._remaining=this._duration,this.resume()}pause(){this._timerId!==null&&(window.clearTimeout(this._timerId),this._timerId=null,this._remaining!==null&&(this._remaining-=Date.now()-this._startTime))}resume(){this._timerId!==null&&window.clearTimeout(this._timerId),this._remaining===null&&(this._remaining=this._duration),this._startTime=Date.now(),this._timerId=window.setTimeout(this._onComplete,this._remaining)}destroy(){this.pause()}};const gc=(e,t,i=`This element has to be present for ${e.nodeName} to work appropriate.`)=>{customElements.get(t)||console.warn(`%c ${e.nodeName} requires ${t} element to be registered!`,"font-weight: bold;",i,e)},mc=(e,t)=>{function i(r){const s=e.getBoundingClientRect(),n=e.ownerDocument.defaultView,u=s.left+n.scrollX,c=s.top+n.scrollY;let v;r instanceof TouchEvent?v=r.touches[0]:v=r;const g=v.pageX-u,d=v.pageY-c;t?.onMove&&t.onMove(g,d)}function o(){document.removeEventListener("pointermove",i),document.removeEventListener("pointerup",o),t?.onStop&&t.onStop()}document.addEventListener("pointermove",i,{passive:!0}),document.addEventListener("pointerup",o),t?.initialEvent&&i(t.initialEvent)},_c=(e,t,i)=>Math.min(Math.max(e,t),i),yc=(e,t,i)=>i+t-e,wc=e=>{const t=Math.round(e).toString(16);return t.length===1?`0${t}`:t},da=(e,t,i)=>{let o=e;for(;o!==null;){const r=o instanceof HTMLElement&&o.hasAttribute(t)&&o.getAttribute(t)===i,s=o.querySelector(`[${t}="${i}"]`)!==null;if(r)return o;if(s)return o.querySelector(`[${t}="${i}"]`);o=o.parentElement||o.parentNode||o.host||null}return null};function xc(e){return e?e.assignedNodes({flatten:!0}).length>0:!1}var $c=Object.defineProperty,pa=e=>{throw TypeError(e)},Cc=(e,t,i,o)=>{for(var r=void 0,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=n(t,i,r)||r);return r&&$c(t,i,r),r},fa=(e,t,i)=>t.has(e)||pa("Cannot "+i),va=(e,t,i)=>(fa(e,t,"read from private field"),t.get(e)),ba=(e,t,i)=>t.has(e)?pa("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,i),kc=(e,t,i,o)=>(fa(e,t,"write to private field"),t.set(e,i),i);const Ec=e=>{var t,i;class o extends e{constructor(...s){super(...s),ba(this,t,!1),this._togglePopover=()=>{if(!this.popoverContainerElement)return;const n=da(this,"id",this.popoverContainerElement);n&&(va(this,t)?n.hidePopover():n.showPopover())},ba(this,i,n=>{requestAnimationFrame(()=>{kc(this,t,n.detail.newState==="open")})}),this.addEventListener("uui-popover-before-toggle",va(this,i))}}return t=new WeakMap,i=new WeakMap,Cc([a({type:String,attribute:"popovertarget"})],o.prototype,"popoverContainerElement"),o};function Pc(e,t){return i=>{if(e.indexOf("-")>0===!1){console.error(`${e} is not a valid custom element name. A custom element name should consist of at least two words separated by a hyphen.`);return}window.customElements.get(e)||window.customElements.define(e,i,t)}}const Sc=["default","primary","secondary","outline","placeholder"],Oc=["default","positive","warning","danger"],Ic=["h1","h2","h3","h4","h5","h6"];function f(e,t){return i=>{if(e.indexOf("-")>0===!1){console.error(`${e} is not a valid custom element name. A custom element name should consist of at least two words separated by a hyphen.`);return}window.customElements.get(e)||window.customElements.define(e,i,t)}}var Ac=Object.defineProperty,Uc=Object.getOwnPropertyDescriptor,zc=(e,t,i,o)=>{for(var r=o>1?void 0:o?Uc(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Ac(t,i,r),r};let ni=class extends b{render(){return l`<slot></slot>`}};ni.styles=[p`
269
+ `}}return ua([a({type:String})],i.prototype,"label"),ua([m()],i.prototype,"_labelSlotHasContent"),i};var nc=Object.defineProperty,ac=Object.getOwnPropertyDescriptor,ca=(e,t,i,o)=>{for(var r=o>1?void 0:o?ac(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&nc(t,i,r),r};const lc=e=>{class t extends e{constructor(...o){super(...o),this._selectable=!1,this.deselectable=!0,this.selected=!1,this.selectableTarget=this,this.handleSelectKeydown=r=>{if(this.selectableTarget===this){if(r.key!==" "&&r.key!=="Enter")return;this._toggleSelect()}},this.addEventListener("click",this._handleClick),this.addEventListener("keydown",this.handleSelectKeydown)}get selectable(){return this._selectable}set selectable(o){const r=this._selectable;this._selectable=o,this.selectableTarget||this.setAttribute("tabindex",`${o?"0":"-1"}`),this.requestUpdate("selectable",r)}_select(){if(!this.selectable)return;const o=new At(At.SELECTED);this.dispatchEvent(o),!o.defaultPrevented&&(this.selected=!0)}_deselect(){if(!this.deselectable)return;const o=new At(At.DESELECTED);this.dispatchEvent(o),!o.defaultPrevented&&(this.selected=!1)}_handleClick(o){o.composedPath().indexOf(this.selectableTarget)!==-1&&this._toggleSelect()}_toggleSelect(){this.selectable&&(this.deselectable===!1?this._select():this.selected?this._deselect():this._select())}}return ca([a({type:Boolean,reflect:!0})],t.prototype,"selectable",1),ca([a({type:Boolean,reflect:!0})],t.prototype,"selected",2),t};var uc=Object.defineProperty,cc=Object.getOwnPropertyDescriptor,hc=(e,t,i,o)=>{for(var r=cc(t,i),s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=n(t,i,r)||r);return r&&uc(t,i,r),r};const dc=e=>{class t extends e{constructor(){super(...arguments),this._selectOnly=!1}get selectOnly(){return this._selectOnly}set selectOnly(o){const r=this._selectOnly;this._selectOnly=o,this.requestUpdate("selectOnly",r)}}return hc([a({type:Boolean,reflect:!0,attribute:"select-only"})],t.prototype,"selectOnly"),t};var pc=Object.defineProperty,fc=Object.getOwnPropertyDescriptor,ha=e=>{throw TypeError(e)},Ut=(e,t,i,o)=>{for(var r=o>1?void 0:o?fc(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&pc(t,i,r),r},ks=(e,t,i)=>t.has(e)||ha("Cannot "+i),I=(e,t,i)=>(ks(e,t,"read from private field"),i?i.call(e):t.get(e)),zt=(e,t,i)=>t.has(e)?ha("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,i),Cs=(e,t,i,o)=>(ks(e,t,"write to private field"),t.set(e,i),i),Jr=(e,t,i)=>(ks(e,t,"access private method"),i);const vc=["customError","valueMissing","badInput","typeMismatch","patternMismatch","rangeOverflow","rangeUnderflow","stepMismatch","tooLong","tooShort"],bc=(e,t)=>{var i,o,r,s,n,u,c,v,g;class d extends e{constructor(...h){super(...h),zt(this,u),this.name="",zt(this,i,{}),this._pristine=!0,this.required=!1,this.requiredMessage="This field is required",this.error=!1,this.errorMessage="This field is invalid",zt(this,o,t),zt(this,r,null),zt(this,s,[]),zt(this,n,[]),zt(this,g,()=>{this.pristine=!1}),this._internals=this.attachInternals(),this.setAttribute("pristine",""),this.addValidator("valueMissing",()=>this.requiredMessage,()=>this.hasAttribute("required")&&this.hasValue()===!1),this.addValidator("customError",()=>this.errorMessage,()=>this.error),this.addEventListener("blur",()=>{this.pristine=!1,this.checkValidity()})}get value(){return I(this,o)}set value(h){const _=I(this,o);Cs(this,o,h),"ElementInternals"in window&&"setFormValue"in window.ElementInternals.prototype&&this._internals.setFormValue(I(this,o)??null),this.requestUpdate("value",_)}set pristine(h){this._pristine!==h&&(this._pristine=h,h?this.setAttribute("pristine",""):this.removeAttribute("pristine"),Jr(this,u,v).call(this))}get pristine(){return this._pristine}hasValue(){return this.value!==this.getDefaultValue()}focusFirstInvalidElement(){const h=I(this,n).find(_=>_.validity.valid===!1);h?"focusFirstInvalidElement"in h?h.focusFirstInvalidElement():h.focus():this.focus()}disconnectedCallback(){super.disconnectedCallback(),Jr(this,u,c).call(this)}addValidator(h,_,L){const P={flagKey:h,getMessageMethod:_,checkMethod:L,weight:vc.indexOf(h)};return I(this,s).push(P),I(this,s).sort((V,te)=>V.weight>te.weight?1:te.weight>V.weight?-1:0),P}removeValidator(h){const _=I(this,s).indexOf(h);_!==-1&&I(this,s).splice(_,1)}addFormControlElement(h){I(this,n).push(h),h.addEventListener(Ge.INVALID,()=>{this._runValidators()}),h.addEventListener(Ge.VALID,()=>{this._runValidators()}),this._pristine===!1&&(h.checkValidity(),this._runValidators())}setCustomValidity(h){this._customValidityObject&&this.removeValidator(this._customValidityObject),h!=null&&h!==""&&(this._customValidityObject=this.addValidator("customError",()=>h,()=>!0)),this._runValidators()}_runValidators(){Cs(this,i,{});let h,_;I(this,s).some(P=>P.checkMethod()?(I(this,i)[P.flagKey]=!0,h=P.getMessageMethod(),!0):!1),h||I(this,n).some(P=>{let V;for(V in P.validity)if(V!=="valid"&&P.validity[V])return I(this,i)[V]=!0,h=P.validationMessage,_??(_=P),!0;return!1});const L=Object.values(I(this,i)).includes(!0);I(this,i).valid=!L,this._internals.setValidity(I(this,i),h,_??this.getFormElement()??void 0),Jr(this,u,v).call(this)}updated(h){super.updated(h),this._runValidators()}submit(){I(this,r)?.requestSubmit()}formAssociatedCallback(){Jr(this,u,c).call(this),Cs(this,r,this._internals.form),I(this,r)&&(I(this,r).hasAttribute("submit-invalid")&&(this.pristine=!1),I(this,r).addEventListener("submit",I(this,g)))}formResetCallback(){this.pristine=!0,this.value=this.getInitialValue()??this.getDefaultValue()}getDefaultValue(){return t}getInitialValue(){return this.getAttribute("value")}checkValidity(){this.pristine=!1,this._runValidators();for(const h in I(this,n))if(I(this,n)[h].checkValidity()===!1)return!1;return this._internals?.checkValidity()}get validity(){return I(this,i)}get validationMessage(){return this._internals?.validationMessage}}return i=new WeakMap,o=new WeakMap,r=new WeakMap,s=new WeakMap,n=new WeakMap,u=new WeakSet,c=function(){I(this,r)&&I(this,r).removeEventListener("submit",I(this,g))},v=function(){this._pristine!==!0&&(I(this,i).valid?this.dispatchEvent(new Ge(Ge.VALID)):this.dispatchEvent(new Ge(Ge.INVALID)))},g=new WeakMap,d.formAssociated=!0,Ut([a({type:String})],d.prototype,"name",2),Ut([a()],d.prototype,"value",1),Ut([a({type:Boolean,reflect:!0,attribute:"pristine"})],d.prototype,"pristine",1),Ut([a({type:Boolean,reflect:!0})],d.prototype,"required",2),Ut([a({type:String,attribute:"required-message"})],d.prototype,"requiredMessage",2),Ut([a({type:Boolean,reflect:!0})],d.prototype,"error",2),Ut([a({type:String,attribute:"error-message"})],d.prototype,"errorMessage",2),d};let gc=class{constructor(t,i){this._callback=t,this._timerId=null,this._remaining=null,this._onComplete=()=>{this._remaining=null,this._callback()},this.setDuration(i)}setDuration(t){this._duration=t,this._timerId!==null&&this.restart()}start(){this._timerId===null&&this.resume()}restart(){this._remaining=this._duration,this.resume()}pause(){this._timerId!==null&&(window.clearTimeout(this._timerId),this._timerId=null,this._remaining!==null&&(this._remaining-=Date.now()-this._startTime))}resume(){this._timerId!==null&&window.clearTimeout(this._timerId),this._remaining===null&&(this._remaining=this._duration),this._startTime=Date.now(),this._timerId=window.setTimeout(this._onComplete,this._remaining)}destroy(){this.pause()}};const mc=(e,t,i=`This element has to be present for ${e.nodeName} to work appropriate.`)=>{customElements.get(t)||console.warn(`%c ${e.nodeName} requires ${t} element to be registered!`,"font-weight: bold;",i,e)},_c=(e,t)=>{function i(r){const s=e.getBoundingClientRect(),n=e.ownerDocument.defaultView,u=s.left+n.scrollX,c=s.top+n.scrollY;let v;r instanceof TouchEvent?v=r.touches[0]:v=r;const g=v.pageX-u,d=v.pageY-c;t?.onMove&&t.onMove(g,d)}function o(){document.removeEventListener("pointermove",i),document.removeEventListener("pointerup",o),t?.onStop&&t.onStop()}document.addEventListener("pointermove",i,{passive:!0}),document.addEventListener("pointerup",o),t?.initialEvent&&i(t.initialEvent)},yc=(e,t,i)=>Math.min(Math.max(e,t),i),wc=(e,t,i)=>i+t-e,xc=e=>{const t=Math.round(e).toString(16);return t.length===1?`0${t}`:t},da=(e,t,i)=>{let o=e;for(;o!==null;){const r=o instanceof HTMLElement&&o.hasAttribute(t)&&o.getAttribute(t)===i,s=o.querySelector(`[${t}="${i}"]`)!==null;if(r)return o;if(s)return o.querySelector(`[${t}="${i}"]`);o=o.parentElement||o.parentNode||o.host||null}return null};function $c(e){return e?e.assignedNodes({flatten:!0}).length>0:!1}var kc=Object.defineProperty,pa=e=>{throw TypeError(e)},Cc=(e,t,i,o)=>{for(var r=void 0,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=n(t,i,r)||r);return r&&kc(t,i,r),r},fa=(e,t,i)=>t.has(e)||pa("Cannot "+i),va=(e,t,i)=>(fa(e,t,"read from private field"),t.get(e)),ba=(e,t,i)=>t.has(e)?pa("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,i),Ec=(e,t,i,o)=>(fa(e,t,"write to private field"),t.set(e,i),i);const Pc=e=>{var t,i;class o extends e{constructor(...s){super(...s),ba(this,t,!1),this._togglePopover=()=>{if(!this.popoverContainerElement)return;const n=da(this,"id",this.popoverContainerElement);n&&(va(this,t)?n.hidePopover():n.showPopover())},ba(this,i,n=>{requestAnimationFrame(()=>{Ec(this,t,n.detail.newState==="open")})}),this.addEventListener("uui-popover-before-toggle",va(this,i))}}return t=new WeakMap,i=new WeakMap,Cc([a({type:String,attribute:"popovertarget"})],o.prototype,"popoverContainerElement"),o};function Oc(e,t){return i=>{if(e.indexOf("-")>0===!1){console.error(`${e} is not a valid custom element name. A custom element name should consist of at least two words separated by a hyphen.`);return}window.customElements.get(e)||window.customElements.define(e,i,t)}}const Sc=["default","primary","secondary","outline","placeholder"],Ic=["default","positive","warning","danger"],Ac=["h1","h2","h3","h4","h5","h6"];function f(e,t){return i=>{if(e.indexOf("-")>0===!1){console.error(`${e} is not a valid custom element name. A custom element name should consist of at least two words separated by a hyphen.`);return}window.customElements.get(e)||window.customElements.define(e,i,t)}}var Uc=Object.defineProperty,zc=Object.getOwnPropertyDescriptor,Dc=(e,t,i,o)=>{for(var r=o>1?void 0:o?zc(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Uc(t,i,r),r};let ni=class extends b{render(){return l`<slot></slot>`}};ni.styles=[p`
270
270
  :host {
271
271
  display: inline-flex;
272
272
  align-items: stretch;
@@ -296,7 +296,7 @@
296
296
  ::slotted(*:hover) {
297
297
  z-index: 1;
298
298
  }
299
- `],ni=zc([f("uui-button-group")],ni);var Dc=Object.defineProperty,Mc=Object.getOwnPropertyDescriptor,Lc=(e,t,i,o)=>{for(var r=o>1?void 0:o?Mc(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Dc(t,i,r),r};let eo=class extends ni{};eo.styles=[...ni.styles,p`
299
+ `],ni=Dc([f("uui-button-group")],ni);var Mc=Object.defineProperty,Lc=Object.getOwnPropertyDescriptor,Tc=(e,t,i,o)=>{for(var r=o>1?void 0:o?Lc(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Mc(t,i,r),r};let eo=class extends ni{};eo.styles=[...ni.styles,p`
300
300
  ::slotted(*) {
301
301
  --uui-button-padding-left-factor: 0.5;
302
302
  --uui-button-padding-right-factor: 0.5;
@@ -338,7 +338,7 @@
338
338
  --uui-button-padding-left-factor: 1.5;
339
339
  --uui-button-padding-right-factor: 1.5;
340
340
  }
341
- `],eo=Lc([f("uui-action-bar")],eo);var Tc=Object.defineProperty,Vc=Object.getOwnPropertyDescriptor,to=(e,t,i,o)=>{for(var r=o>1?void 0:o?Vc(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Tc(t,i,r),r};let Dt=class extends b{constructor(){super(...arguments),this._avatarArray=[],this.limit=0}firstUpdated(){this._setAvatarArray()}_onSlotChange(){this._setAvatarArray(),this._updateAvatarVisibility()}_setAvatarArray(){this._avatarArray=this._avatarNodes?this._avatarNodes:[]}updated(e){e.has("limit")&&this._updateAvatarVisibility()}_updateAvatarVisibility(){this._avatarArray.forEach((e,t)=>{e.style.display=t<this.limit||this.limit===0?"":"none"})}_isLimitExceeded(){return this.limit!==0&&this._avatarArray.length>this.limit}render(){return l`
341
+ `],eo=Tc([f("uui-action-bar")],eo);var Vc=Object.defineProperty,Nc=Object.getOwnPropertyDescriptor,to=(e,t,i,o)=>{for(var r=o>1?void 0:o?Nc(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Vc(t,i,r),r};let Dt=class extends b{constructor(){super(...arguments),this._avatarArray=[],this.limit=0}firstUpdated(){this._setAvatarArray()}_onSlotChange(){this._setAvatarArray(),this._updateAvatarVisibility()}_setAvatarArray(){this._avatarArray=this._avatarNodes?this._avatarNodes:[]}updated(e){e.has("limit")&&this._updateAvatarVisibility()}_updateAvatarVisibility(){this._avatarArray.forEach((e,t)=>{e.style.display=t<this.limit||this.limit===0?"":"none"})}_isLimitExceeded(){return this.limit!==0&&this._avatarArray.length>this.limit}render(){return l`
342
342
  <slot @slotchange=${this._onSlotChange}></slot>
343
343
  ${this._isLimitExceeded()?l`<small id="overflow-indication">+${this._avatarArray.length-this.limit}</small>`:""}
344
344
  `}};Dt.styles=[p`
@@ -358,7 +358,7 @@
358
358
  #overflow-indication {
359
359
  margin-left: 6px;
360
360
  }
361
- `],to([pt({selector:"uui-avatar, [uui-avatar]",flatten:!0})],Dt.prototype,"_avatarNodes",2),to([m()],Dt.prototype,"_avatarArray",2),to([a({type:Number,attribute:!0})],Dt.prototype,"limit",2),Dt=to([f("uui-avatar-group")],Dt);var Nc=Object.defineProperty,Hc=Object.getOwnPropertyDescriptor,ai=(e,t,i,o)=>{for(var r=o>1?void 0:o?Hc(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Nc(t,i,r),r};let qe=class extends b{constructor(){super(...arguments),this.overflow=!0,this.imgSrc="",this.imgSrcset="",this._name="",this.initials=""}get name(){return this._name}set name(e){const t=this._name;this._name=e,this.initials=this.createInitials(this._name),this.requestUpdate("title",t)}connectedCallback(){super.connectedCallback(),this.name||console.warn(this.tagName+" needs a `name`",this)}createInitials(e){let t="";if(!e)return t;const i=e.match(/(\w+)/g);return i?.length?(t=i[0].substring(0,1),i.length>1&&(t+=i[i.length-1].substring(0,1)),t.toUpperCase()):t}renderImage(){return l` <img
361
+ `],to([pt({selector:"uui-avatar, [uui-avatar]",flatten:!0})],Dt.prototype,"_avatarNodes",2),to([m()],Dt.prototype,"_avatarArray",2),to([a({type:Number,attribute:!0})],Dt.prototype,"limit",2),Dt=to([f("uui-avatar-group")],Dt);var Hc=Object.defineProperty,Bc=Object.getOwnPropertyDescriptor,ai=(e,t,i,o)=>{for(var r=o>1?void 0:o?Bc(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Hc(t,i,r),r};let qe=class extends b{constructor(){super(...arguments),this.overflow=!0,this.imgSrc="",this.imgSrcset="",this._name="",this.initials=""}get name(){return this._name}set name(e){const t=this._name;this._name=e,this.initials=this.createInitials(this._name),this.requestUpdate("title",t)}connectedCallback(){super.connectedCallback(),this.name||console.warn(this.tagName+" needs a `name`",this)}createInitials(e){let t="";if(!e)return t;const i=e.match(/(\w+)/g);return i?.length?(t=i[0].substring(0,1),i.length>1&&(t+=i[i.length-1].substring(0,1)),t.toUpperCase()):t}renderImage(){return l` <img
362
362
  src="${this.imgSrc}"
363
363
  srcset="${this.imgSrcset}"
364
364
  alt="${this.initials}"
@@ -397,7 +397,7 @@
397
397
  overflow: hidden;
398
398
  border-radius: 50%;
399
399
  }
400
- `],ai([a({type:Boolean,attribute:!0,reflect:!0})],qe.prototype,"overflow",2),ai([a({type:String,attribute:"img-src"})],qe.prototype,"imgSrc",2),ai([a({type:String,attribute:"img-srcset"})],qe.prototype,"imgSrcset",2),ai([a({type:String,reflect:!0})],qe.prototype,"name",1),ai([m()],qe.prototype,"initials",2),qe=ai([f("uui-avatar")],qe);var Bc=Object.defineProperty,jc=Object.getOwnPropertyDescriptor,io=(e,t,i,o)=>{for(var r=o>1?void 0:o?jc(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Bc(t,i,r),r};let Mt=class extends b{constructor(){super(...arguments),this.color="default",this.look="primary",this.attention=!1}render(){return l` <slot></slot> `}};Mt.styles=[p`
400
+ `],ai([a({type:Boolean,attribute:!0,reflect:!0})],qe.prototype,"overflow",2),ai([a({type:String,attribute:"img-src"})],qe.prototype,"imgSrc",2),ai([a({type:String,attribute:"img-srcset"})],qe.prototype,"imgSrcset",2),ai([a({type:String,reflect:!0})],qe.prototype,"name",1),ai([m()],qe.prototype,"initials",2),qe=ai([f("uui-avatar")],qe);var jc=Object.defineProperty,Rc=Object.getOwnPropertyDescriptor,io=(e,t,i,o)=>{for(var r=o>1?void 0:o?Rc(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&jc(t,i,r),r};let Mt=class extends b{constructor(){super(...arguments),this.color="default",this.look="primary",this.attention=!1}render(){return l` <slot></slot> `}};Mt.styles=[p`
401
401
  :host {
402
402
  position: var(--uui-badge-position, absolute);
403
403
  display: flex;
@@ -507,14 +507,14 @@
507
507
  animation: none;
508
508
  }
509
509
  }
510
- `],io([a({reflect:!0})],Mt.prototype,"color",2),io([a({reflect:!0})],Mt.prototype,"look",2),io([a({type:Boolean,reflect:!0})],Mt.prototype,"attention",2),Mt=io([f("uui-badge")],Mt);var Rc=Object.defineProperty,Fc=(e,t,i,o)=>{for(var r=void 0,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=n(t,i,r)||r);return r&&Rc(t,i,r),r};const or=e=>{class t extends e{constructor(){super(...arguments),this.active=!1}}return Fc([a({type:Boolean,reflect:!0})],t.prototype,"active"),t};var Wc=Object.defineProperty,ga=(e,t,i,o)=>{for(var r=void 0,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=n(t,i,r)||r);return r&&Wc(t,i,r),r};const Ue=(e,t)=>{class i extends t{constructor(){super(...arguments),this._labelSlotHasContent=!1}connectedCallback(){super.connectedCallback(),this.label||console.warn(this.tagName+" needs a `label`",this)}labelSlotChanged(r){this._labelSlotHasContent=r.target.assignedNodes({flatten:!0}).length>0}renderLabel(){return l`
510
+ `],io([a({reflect:!0})],Mt.prototype,"color",2),io([a({reflect:!0})],Mt.prototype,"look",2),io([a({type:Boolean,reflect:!0})],Mt.prototype,"attention",2),Mt=io([f("uui-badge")],Mt);var Fc=Object.defineProperty,Wc=(e,t,i,o)=>{for(var r=void 0,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=n(t,i,r)||r);return r&&Fc(t,i,r),r};const or=e=>{class t extends e{constructor(){super(...arguments),this.active=!1}}return Wc([a({type:Boolean,reflect:!0})],t.prototype,"active"),t};var Gc=Object.defineProperty,ga=(e,t,i,o)=>{for(var r=void 0,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=n(t,i,r)||r);return r&&Gc(t,i,r),r};const Ue=(e,t)=>{class i extends t{constructor(){super(...arguments),this._labelSlotHasContent=!1}connectedCallback(){super.connectedCallback(),this.label||console.warn(this.tagName+" needs a `label`",this)}labelSlotChanged(r){this._labelSlotHasContent=r.target.assignedNodes({flatten:!0}).length>0}renderLabel(){return l`
511
511
  ${this._labelSlotHasContent===!1?l`<span class="label">${this.label}</span>`:""}
512
512
  <slot
513
513
  class="label"
514
514
  style=${this._labelSlotHasContent?"":"visibility: hidden"}
515
515
  name=${e||""}
516
516
  @slotchange=${this.labelSlotChanged}></slot>
517
- `}}return ga([a({type:String})],i.prototype,"label"),ga([m()],i.prototype,"_labelSlotHasContent"),i};let Gc=class extends Event{constructor(t,i={}){super(t,{...i}),this.detail=i.detail||{}}},li=class extends Gc{constructor(t,i={}){super(t,{bubbles:!0,cancelable:!0,...i})}};li.SELECTED="selected",li.DESELECTED="deselected";var qc=Object.defineProperty,Kc=Object.getOwnPropertyDescriptor,ma=(e,t,i,o)=>{for(var r=o>1?void 0:o?Kc(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&qc(t,i,r),r};const ui=e=>{class t extends e{constructor(...o){super(...o),this._selectable=!1,this.deselectable=!0,this.selected=!1,this.selectableTarget=this,this.handleSelectKeydown=r=>{if(this.selectableTarget===this){if(r.key!==" "&&r.key!=="Enter")return;this._toggleSelect()}},this.addEventListener("click",this._handleClick),this.addEventListener("keydown",this.handleSelectKeydown)}get selectable(){return this._selectable}set selectable(o){const r=this._selectable;this._selectable=o,this.selectableTarget||this.setAttribute("tabindex",`${o?"0":"-1"}`),this.requestUpdate("selectable",r)}_select(){if(!this.selectable)return;const o=new li(li.SELECTED);this.dispatchEvent(o),!o.defaultPrevented&&(this.selected=!0)}_deselect(){if(!this.deselectable)return;const o=new li(li.DESELECTED);this.dispatchEvent(o),!o.defaultPrevented&&(this.selected=!1)}_handleClick(o){o.composedPath().indexOf(this.selectableTarget)!==-1&&this._toggleSelect()}_toggleSelect(){this.selectable&&(this.deselectable===!1?this._select():this.selected?this._deselect():this._select())}}return ma([a({type:Boolean,reflect:!0})],t.prototype,"selectable",1),ma([a({type:Boolean,reflect:!0})],t.prototype,"selected",2),t};var Yc=Object.defineProperty,Xc=Object.getOwnPropertyDescriptor,Zc=(e,t,i,o)=>{for(var r=Xc(t,i),s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=n(t,i,r)||r);return r&&Yc(t,i,r),r};const ro=e=>{class t extends e{constructor(){super(...arguments),this._selectOnly=!1}get selectOnly(){return this._selectOnly}set selectOnly(o){const r=this._selectOnly;this._selectOnly=o,this.requestUpdate("selectOnly",r)}}return Zc([a({type:Boolean,reflect:!0,attribute:"select-only"})],t.prototype,"selectOnly"),t};let _a=class extends Event{constructor(t,i={}){super(t,{...i}),this.detail=i.detail||{}}},ft=class extends _a{constructor(t,i={}){super(t,{bubbles:!0,...i})}};ft.VALID="valid",ft.INVALID="invalid";let ya=class extends _a{constructor(t,i={}){super(t,{bubbles:!0,cancelable:!0,...i})}};ya.SELECTED="selected",ya.DESELECTED="deselected";var Qc=Object.defineProperty,Jc=Object.getOwnPropertyDescriptor,wa=e=>{throw TypeError(e)},Lt=(e,t,i,o)=>{for(var r=o>1?void 0:o?Jc(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Qc(t,i,r),r},ks=(e,t,i)=>t.has(e)||wa("Cannot "+i),z=(e,t,i)=>(ks(e,t,"read from private field"),i?i.call(e):t.get(e)),Tt=(e,t,i)=>t.has(e)?wa("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,i),Es=(e,t,i,o)=>(ks(e,t,"write to private field"),t.set(e,i),i),oo=(e,t,i)=>(ks(e,t,"access private method"),i);const ze=(e,t)=>{var i,o,r,s,n,u,c,v,g;class d extends e{constructor(...h){super(...h),Tt(this,u),this.name="",Tt(this,i,{}),this._pristine=!0,this.required=!1,this.requiredMessage="This field is required",this.error=!1,this.errorMessage="This field is invalid",Tt(this,o,t),Tt(this,r,null),Tt(this,s,[]),Tt(this,n,[]),Tt(this,g,()=>{this.pristine=!1}),this._internals=this.attachInternals(),this.setAttribute("pristine",""),this.addValidator("valueMissing",()=>this.requiredMessage,()=>this.hasAttribute("required")&&this.hasValue()===!1),this.addValidator("customError",()=>this.errorMessage,()=>this.error),this.addEventListener("blur",()=>{this.pristine=!1,this.checkValidity()})}get value(){return z(this,o)}set value(h){const _=z(this,o);Es(this,o,h),"ElementInternals"in window&&"setFormValue"in window.ElementInternals.prototype&&this._internals.setFormValue(z(this,o)??null),this.requestUpdate("value",_)}set pristine(h){this._pristine!==h&&(this._pristine=h,h?this.setAttribute("pristine",""):this.removeAttribute("pristine"),oo(this,u,v).call(this))}get pristine(){return this._pristine}hasValue(){return this.value!==this.getDefaultValue()}focusFirstInvalidElement(){const h=z(this,n).find(_=>_.validity.valid===!1);h?"focusFirstInvalidElement"in h?h.focusFirstInvalidElement():h.focus():this.focus()}disconnectedCallback(){super.disconnectedCallback(),oo(this,u,c).call(this)}addValidator(h,_,L){const P={flagKey:h,getMessageMethod:_,checkMethod:L};return z(this,s).push(P),P}removeValidator(h){const _=z(this,s).indexOf(h);_!==-1&&z(this,s).splice(_,1)}addFormControlElement(h){z(this,n).push(h),h.addEventListener(ft.INVALID,()=>{this._runValidators()}),h.addEventListener(ft.VALID,()=>{this._runValidators()}),this._pristine===!1&&(h.checkValidity(),this._runValidators())}setCustomValidity(h){this._customValidityObject&&this.removeValidator(this._customValidityObject),h!=null&&h!==""&&(this._customValidityObject=this.addValidator("customError",()=>h,()=>!0)),this._runValidators()}_runValidators(){Es(this,i,{});const h=new Set;let _;z(this,n).forEach(P=>{let K;for(K in P.validity)K!=="valid"&&P.validity[K]&&(z(this,i)[K]=!0,h.add(P.validationMessage),_??(_=P))}),z(this,s).forEach(P=>{P.checkMethod()&&(z(this,i)[P.flagKey]=!0,h.add(P.getMessageMethod()))});const L=Object.values(z(this,i)).includes(!0);z(this,i).valid=!L,this._internals.setValidity(z(this,i),[...h].join(", "),_??this.getFormElement()??void 0),oo(this,u,v).call(this)}updated(h){super.updated(h),this._runValidators()}submit(){z(this,r)?.requestSubmit()}formAssociatedCallback(){oo(this,u,c).call(this),Es(this,r,this._internals.form),z(this,r)&&(z(this,r).hasAttribute("submit-invalid")&&(this.pristine=!1),z(this,r).addEventListener("submit",z(this,g)))}formResetCallback(){this.pristine=!0,this.value=this.getInitialValue()??this.getDefaultValue()}getDefaultValue(){return t}getInitialValue(){return this.getAttribute("value")}checkValidity(){this.pristine=!1,this._runValidators();for(const h in z(this,n))if(z(this,n)[h].checkValidity()===!1)return!1;return this._internals?.checkValidity()}get validity(){return z(this,i)}get validationMessage(){return this._internals?.validationMessage}}return i=new WeakMap,o=new WeakMap,r=new WeakMap,s=new WeakMap,n=new WeakMap,u=new WeakSet,c=function(){z(this,r)&&z(this,r).removeEventListener("submit",z(this,g))},v=function(){this._pristine!==!0&&(z(this,i).valid?this.dispatchEvent(new ft(ft.VALID)):this.dispatchEvent(new ft(ft.INVALID)))},g=new WeakMap,d.formAssociated=!0,Lt([a({type:String})],d.prototype,"name",2),Lt([a()],d.prototype,"value",1),Lt([a({type:Boolean,reflect:!0,attribute:"pristine"})],d.prototype,"pristine",1),Lt([a({type:Boolean,reflect:!0})],d.prototype,"required",2),Lt([a({type:String,attribute:"required-message"})],d.prototype,"requiredMessage",2),Lt([a({type:Boolean,reflect:!0})],d.prototype,"error",2),Lt([a({type:String,attribute:"error-message"})],d.prototype,"errorMessage",2),d},eh=(e,t,i)=>{let o=e;for(;o!==null;){const r=o instanceof HTMLElement&&o.hasAttribute(t)&&o.getAttribute(t)===i,s=o.querySelector(`[${t}="${i}"]`)!==null;if(r)return o;if(s)return o.querySelector(`[${t}="${i}"]`);o=o.parentElement||o.parentNode||o.host||null}return null};var th=Object.defineProperty,xa=e=>{throw TypeError(e)},ih=(e,t,i,o)=>{for(var r=void 0,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=n(t,i,r)||r);return r&&th(t,i,r),r},$a=(e,t,i)=>t.has(e)||xa("Cannot "+i),Ca=(e,t,i)=>($a(e,t,"read from private field"),t.get(e)),ka=(e,t,i)=>t.has(e)?xa("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,i),rh=(e,t,i,o)=>($a(e,t,"write to private field"),t.set(e,i),i);const oh=e=>{var t,i;class o extends e{constructor(...s){super(...s),ka(this,t,!1),this._togglePopover=()=>{if(!this.popoverContainerElement)return;const n=eh(this,"id",this.popoverContainerElement);n&&(Ca(this,t)?n.hidePopover():n.showPopover())},ka(this,i,n=>{requestAnimationFrame(()=>{rh(this,t,n.detail.newState==="open")})}),this.addEventListener("uui-popover-before-toggle",Ca(this,i))}}return t=new WeakMap,i=new WeakMap,ih([a({type:String,attribute:"popovertarget"})],o.prototype,"popoverContainerElement"),o};class I extends Event{constructor(t,i={}){super(t,{...i}),this.detail=i.detail||{}}}class ci extends I{constructor(t,i={}){super(t,{bubbles:!0,...i})}}ci.VALID="valid",ci.INVALID="invalid";class vt extends I{constructor(t,i={}){super(t,{bubbles:!0,cancelable:!0,...i})}}vt.SELECTED="selected",vt.DESELECTED="deselected";class so extends I{constructor(t,i={}){super(t,{bubbles:!0,...i})}}so.CHANGE="change";var sh=Object.defineProperty,nh=Object.getOwnPropertyDescriptor,hi=(e,t,i,o)=>{for(var r=o>1?void 0:o?nh(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&sh(t,i,r),r};class fe extends ze(Ue("",b),""){constructor(t="checkbox"){super(),this._value="",this.labelPosition="right",this._checked=!1,this.indeterminate=!1,this.disabled=!1,this.readonly=!1,this._value===""&&(this._value="on"),this.inputRole=t,this.addEventListener("keypress",this._onKeypress)}get value(){return this._value}set value(t){const i=super.value;this._value=t,"ElementInternals"in window&&"setFormValue"in window.ElementInternals.prototype&&this._internals.setFormValue(this._checked&&this.name!==""?this._value:null),this.requestUpdate("value",i)}get checked(){return this._checked}set checked(t){const i=this._checked;this._checked=t,this._internals.setFormValue(this._checked&&this.name!==""?this._value?this._value:"on":null),this.requestUpdate("checked",i)}getFormElement(){return this._input}_onKeypress(t){t.key=="Enter"&&this.submit()}hasValue(){return this.checked}formResetCallback(){super.formResetCallback(),this.checked=this.hasAttribute("checked")}firstUpdated(t){super.firstUpdated(t);const i=this.shadowRoot?.querySelector("label");let o=!1;this._input.addEventListener("blur",()=>{o===!1&&this.style.setProperty("--uui-show-focus-outline","1"),o=!1}),i.addEventListener("mousedown",()=>{this.style.setProperty("--uui-show-focus-outline","0"),o=!0}),i.addEventListener("mouseup",()=>{o=!1})}async focus(){await this.updateComplete,this._input.focus()}async click(){await this.updateComplete,this._input.click()}_onInputChange(t){t.stopPropagation(),this.pristine=!1,this.checked=this._input.checked,this.indeterminate=this._input.indeterminate,this.dispatchEvent(new so(so.CHANGE))}render(){return l`
517
+ `}}return ga([a({type:String})],i.prototype,"label"),ga([m()],i.prototype,"_labelSlotHasContent"),i};let qc=class extends Event{constructor(t,i={}){super(t,{...i}),this.detail=i.detail||{}}},li=class extends qc{constructor(t,i={}){super(t,{bubbles:!0,cancelable:!0,...i})}};li.SELECTED="selected",li.DESELECTED="deselected";var Kc=Object.defineProperty,Yc=Object.getOwnPropertyDescriptor,ma=(e,t,i,o)=>{for(var r=o>1?void 0:o?Yc(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Kc(t,i,r),r};const ui=e=>{class t extends e{constructor(...o){super(...o),this._selectable=!1,this.deselectable=!0,this.selected=!1,this.selectableTarget=this,this.handleSelectKeydown=r=>{if(this.selectableTarget===this){if(r.key!==" "&&r.key!=="Enter")return;this._toggleSelect()}},this.addEventListener("click",this._handleClick),this.addEventListener("keydown",this.handleSelectKeydown)}get selectable(){return this._selectable}set selectable(o){const r=this._selectable;this._selectable=o,this.selectableTarget||this.setAttribute("tabindex",`${o?"0":"-1"}`),this.requestUpdate("selectable",r)}_select(){if(!this.selectable)return;const o=new li(li.SELECTED);this.dispatchEvent(o),!o.defaultPrevented&&(this.selected=!0)}_deselect(){if(!this.deselectable)return;const o=new li(li.DESELECTED);this.dispatchEvent(o),!o.defaultPrevented&&(this.selected=!1)}_handleClick(o){o.composedPath().indexOf(this.selectableTarget)!==-1&&this._toggleSelect()}_toggleSelect(){this.selectable&&(this.deselectable===!1?this._select():this.selected?this._deselect():this._select())}}return ma([a({type:Boolean,reflect:!0})],t.prototype,"selectable",1),ma([a({type:Boolean,reflect:!0})],t.prototype,"selected",2),t};var Xc=Object.defineProperty,Zc=Object.getOwnPropertyDescriptor,Qc=(e,t,i,o)=>{for(var r=Zc(t,i),s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=n(t,i,r)||r);return r&&Xc(t,i,r),r};const ro=e=>{class t extends e{constructor(){super(...arguments),this._selectOnly=!1}get selectOnly(){return this._selectOnly}set selectOnly(o){const r=this._selectOnly;this._selectOnly=o,this.requestUpdate("selectOnly",r)}}return Qc([a({type:Boolean,reflect:!0,attribute:"select-only"})],t.prototype,"selectOnly"),t};let _a=class extends Event{constructor(t,i={}){super(t,{...i}),this.detail=i.detail||{}}},ft=class extends _a{constructor(t,i={}){super(t,{bubbles:!0,...i})}};ft.VALID="valid",ft.INVALID="invalid";let ya=class extends _a{constructor(t,i={}){super(t,{bubbles:!0,cancelable:!0,...i})}};ya.SELECTED="selected",ya.DESELECTED="deselected";var Jc=Object.defineProperty,eh=Object.getOwnPropertyDescriptor,wa=e=>{throw TypeError(e)},Lt=(e,t,i,o)=>{for(var r=o>1?void 0:o?eh(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Jc(t,i,r),r},Es=(e,t,i)=>t.has(e)||wa("Cannot "+i),A=(e,t,i)=>(Es(e,t,"read from private field"),i?i.call(e):t.get(e)),Tt=(e,t,i)=>t.has(e)?wa("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,i),Ps=(e,t,i,o)=>(Es(e,t,"write to private field"),t.set(e,i),i),oo=(e,t,i)=>(Es(e,t,"access private method"),i);const th=["customError","valueMissing","badInput","typeMismatch","patternMismatch","rangeOverflow","rangeUnderflow","stepMismatch","tooLong","tooShort"],ze=(e,t)=>{var i,o,r,s,n,u,c,v,g;class d extends e{constructor(...h){super(...h),Tt(this,u),this.name="",Tt(this,i,{}),this._pristine=!0,this.required=!1,this.requiredMessage="This field is required",this.error=!1,this.errorMessage="This field is invalid",Tt(this,o,t),Tt(this,r,null),Tt(this,s,[]),Tt(this,n,[]),Tt(this,g,()=>{this.pristine=!1}),this._internals=this.attachInternals(),this.setAttribute("pristine",""),this.addValidator("valueMissing",()=>this.requiredMessage,()=>this.hasAttribute("required")&&this.hasValue()===!1),this.addValidator("customError",()=>this.errorMessage,()=>this.error),this.addEventListener("blur",()=>{this.pristine=!1,this.checkValidity()})}get value(){return A(this,o)}set value(h){const _=A(this,o);Ps(this,o,h),"ElementInternals"in window&&"setFormValue"in window.ElementInternals.prototype&&this._internals.setFormValue(A(this,o)??null),this.requestUpdate("value",_)}set pristine(h){this._pristine!==h&&(this._pristine=h,h?this.setAttribute("pristine",""):this.removeAttribute("pristine"),oo(this,u,v).call(this))}get pristine(){return this._pristine}hasValue(){return this.value!==this.getDefaultValue()}focusFirstInvalidElement(){const h=A(this,n).find(_=>_.validity.valid===!1);h?"focusFirstInvalidElement"in h?h.focusFirstInvalidElement():h.focus():this.focus()}disconnectedCallback(){super.disconnectedCallback(),oo(this,u,c).call(this)}addValidator(h,_,L){const P={flagKey:h,getMessageMethod:_,checkMethod:L,weight:th.indexOf(h)};return A(this,s).push(P),A(this,s).sort((V,te)=>V.weight>te.weight?1:te.weight>V.weight?-1:0),P}removeValidator(h){const _=A(this,s).indexOf(h);_!==-1&&A(this,s).splice(_,1)}addFormControlElement(h){A(this,n).push(h),h.addEventListener(ft.INVALID,()=>{this._runValidators()}),h.addEventListener(ft.VALID,()=>{this._runValidators()}),this._pristine===!1&&(h.checkValidity(),this._runValidators())}setCustomValidity(h){this._customValidityObject&&this.removeValidator(this._customValidityObject),h!=null&&h!==""&&(this._customValidityObject=this.addValidator("customError",()=>h,()=>!0)),this._runValidators()}_runValidators(){Ps(this,i,{});let h,_;A(this,s).some(P=>P.checkMethod()?(A(this,i)[P.flagKey]=!0,h=P.getMessageMethod(),!0):!1),h||A(this,n).some(P=>{let V;for(V in P.validity)if(V!=="valid"&&P.validity[V])return A(this,i)[V]=!0,h=P.validationMessage,_??(_=P),!0;return!1});const L=Object.values(A(this,i)).includes(!0);A(this,i).valid=!L,this._internals.setValidity(A(this,i),h,_??this.getFormElement()??void 0),oo(this,u,v).call(this)}updated(h){super.updated(h),this._runValidators()}submit(){A(this,r)?.requestSubmit()}formAssociatedCallback(){oo(this,u,c).call(this),Ps(this,r,this._internals.form),A(this,r)&&(A(this,r).hasAttribute("submit-invalid")&&(this.pristine=!1),A(this,r).addEventListener("submit",A(this,g)))}formResetCallback(){this.pristine=!0,this.value=this.getInitialValue()??this.getDefaultValue()}getDefaultValue(){return t}getInitialValue(){return this.getAttribute("value")}checkValidity(){this.pristine=!1,this._runValidators();for(const h in A(this,n))if(A(this,n)[h].checkValidity()===!1)return!1;return this._internals?.checkValidity()}get validity(){return A(this,i)}get validationMessage(){return this._internals?.validationMessage}}return i=new WeakMap,o=new WeakMap,r=new WeakMap,s=new WeakMap,n=new WeakMap,u=new WeakSet,c=function(){A(this,r)&&A(this,r).removeEventListener("submit",A(this,g))},v=function(){this._pristine!==!0&&(A(this,i).valid?this.dispatchEvent(new ft(ft.VALID)):this.dispatchEvent(new ft(ft.INVALID)))},g=new WeakMap,d.formAssociated=!0,Lt([a({type:String})],d.prototype,"name",2),Lt([a()],d.prototype,"value",1),Lt([a({type:Boolean,reflect:!0,attribute:"pristine"})],d.prototype,"pristine",1),Lt([a({type:Boolean,reflect:!0})],d.prototype,"required",2),Lt([a({type:String,attribute:"required-message"})],d.prototype,"requiredMessage",2),Lt([a({type:Boolean,reflect:!0})],d.prototype,"error",2),Lt([a({type:String,attribute:"error-message"})],d.prototype,"errorMessage",2),d},ih=(e,t,i)=>{let o=e;for(;o!==null;){const r=o instanceof HTMLElement&&o.hasAttribute(t)&&o.getAttribute(t)===i,s=o.querySelector(`[${t}="${i}"]`)!==null;if(r)return o;if(s)return o.querySelector(`[${t}="${i}"]`);o=o.parentElement||o.parentNode||o.host||null}return null};var rh=Object.defineProperty,xa=e=>{throw TypeError(e)},oh=(e,t,i,o)=>{for(var r=void 0,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=n(t,i,r)||r);return r&&rh(t,i,r),r},$a=(e,t,i)=>t.has(e)||xa("Cannot "+i),ka=(e,t,i)=>($a(e,t,"read from private field"),t.get(e)),Ca=(e,t,i)=>t.has(e)?xa("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,i),sh=(e,t,i,o)=>($a(e,t,"write to private field"),t.set(e,i),i);const nh=e=>{var t,i;class o extends e{constructor(...s){super(...s),Ca(this,t,!1),this._togglePopover=()=>{if(!this.popoverContainerElement)return;const n=ih(this,"id",this.popoverContainerElement);n&&(ka(this,t)?n.hidePopover():n.showPopover())},Ca(this,i,n=>{requestAnimationFrame(()=>{sh(this,t,n.detail.newState==="open")})}),this.addEventListener("uui-popover-before-toggle",ka(this,i))}}return t=new WeakMap,i=new WeakMap,oh([a({type:String,attribute:"popovertarget"})],o.prototype,"popoverContainerElement"),o};class U extends Event{constructor(t,i={}){super(t,{...i}),this.detail=i.detail||{}}}class ci extends U{constructor(t,i={}){super(t,{bubbles:!0,...i})}}ci.VALID="valid",ci.INVALID="invalid";class vt extends U{constructor(t,i={}){super(t,{bubbles:!0,cancelable:!0,...i})}}vt.SELECTED="selected",vt.DESELECTED="deselected";class so extends U{constructor(t,i={}){super(t,{bubbles:!0,...i})}}so.CHANGE="change";var ah=Object.defineProperty,lh=Object.getOwnPropertyDescriptor,hi=(e,t,i,o)=>{for(var r=o>1?void 0:o?lh(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&ah(t,i,r),r};class ve extends ze(Ue("",b),""){constructor(t="checkbox"){super(),this._value="",this.labelPosition="right",this._checked=!1,this.indeterminate=!1,this.disabled=!1,this.readonly=!1,this._value===""&&(this._value="on"),this.inputRole=t,this.addEventListener("keypress",this._onKeypress)}get value(){return this._value}set value(t){const i=super.value;this._value=t,"ElementInternals"in window&&"setFormValue"in window.ElementInternals.prototype&&this._internals.setFormValue(this._checked&&this.name!==""?this._value:null),this.requestUpdate("value",i)}get checked(){return this._checked}set checked(t){const i=this._checked;this._checked=t,this._internals.setFormValue(this._checked&&this.name!==""?this._value?this._value:"on":null),this.requestUpdate("checked",i)}getFormElement(){return this._input}_onKeypress(t){t.key=="Enter"&&this.submit()}hasValue(){return this.checked}formResetCallback(){super.formResetCallback(),this.checked=this.hasAttribute("checked")}firstUpdated(t){super.firstUpdated(t);const i=this.shadowRoot?.querySelector("label");let o=!1;this._input.addEventListener("blur",()=>{o===!1&&this.style.setProperty("--uui-show-focus-outline","1"),o=!1}),i.addEventListener("mousedown",()=>{this.style.setProperty("--uui-show-focus-outline","0"),o=!0}),i.addEventListener("mouseup",()=>{o=!1})}async focus(){await this.updateComplete,this._input.focus()}async click(){await this.updateComplete,this._input.click()}_onInputChange(t){t.stopPropagation(),this.pristine=!1,this.checked=this._input.checked,this.indeterminate=this._input.indeterminate,this.dispatchEvent(new so(so.CHANGE))}render(){return l`
518
518
  <label>
519
519
  <input
520
520
  id="input"
@@ -528,7 +528,7 @@
528
528
  role="${this.inputRole}" />
529
529
  ${this.renderCheckbox()} ${this.renderLabel()}
530
530
  </label>
531
- `}}fe.styles=[p`
531
+ `}}ve.styles=[p`
532
532
  :host {
533
533
  display: inline-block;
534
534
  }
@@ -573,11 +573,15 @@
573
573
  cursor: not-allowed;
574
574
  opacity: 0.5;
575
575
  }
576
- `],hi([a({type:String,attribute:"label-position",reflect:!0})],fe.prototype,"labelPosition",2),hi([a({type:Boolean})],fe.prototype,"checked",1),hi([a({type:Boolean,reflect:!0})],fe.prototype,"indeterminate",2),hi([a({type:Boolean,reflect:!0})],fe.prototype,"disabled",2),hi([a({type:Boolean,reflect:!0})],fe.prototype,"readonly",2),hi([O("#input")],fe.prototype,"_input",2);/**
576
+
577
+ .label {
578
+ display: block;
579
+ }
580
+ `],hi([a({type:String,attribute:"label-position",reflect:!0})],ve.prototype,"labelPosition",2),hi([a({type:Boolean})],ve.prototype,"checked",1),hi([a({type:Boolean,reflect:!0})],ve.prototype,"indeterminate",2),hi([a({type:Boolean,reflect:!0})],ve.prototype,"disabled",2),hi([a({type:Boolean,reflect:!0})],ve.prototype,"readonly",2),hi([S("#input")],ve.prototype,"_input",2);/**
577
581
  * @license
578
582
  * Copyright 2020 Google LLC
579
583
  * SPDX-License-Identifier: BSD-3-Clause
580
- */const Ea=Symbol.for(""),ah=e=>{if(e?.r===Ea)return e?._$litStatic$},Pa=e=>({_$litStatic$:e,r:Ea}),Sa=new Map,lh=e=>(t,...i)=>{const o=i.length;let r,s;const n=[],u=[];let c,v=0,g=!1;for(;v<o;){for(c=t[v];v<o&&(s=i[v],(r=ah(s))!==void 0);)c+=r+t[++v],g=!0;v!==o&&u.push(s),n.push(c),v++}if(v===o&&n.push(t[o]),g){const d=n.join("$$lit$$");(t=Sa.get(d))===void 0&&(n.raw=n,Sa.set(d,t=n)),i=u}return e(t,...i)},Oa=lh(l);var uh=Object.defineProperty,ch=Object.getOwnPropertyDescriptor,Vt=(e,t,i,o)=>{for(var r=o>1?void 0:o?ch(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&uh(t,i,r),r};function Ps(e){return e?e.assignedNodes({flatten:!0}).length>0:!1}let De=class extends b{constructor(){super(...arguments),this.headline=null,this._headlineVariantTag="h5",this._headlineSlotHasContent=!1,this._headlineSlotChanged=e=>{this._headlineSlotHasContent=Ps(e.target)},this._headerSlotHasContent=!1,this._headerSlotChanged=e=>{this._headerSlotHasContent=Ps(e.target)},this._headerActionsSlotHasContent=!1,this._headerActionsSlotChanged=e=>{this._headerActionsSlotHasContent=Ps(e.target)}}set headlineVariant(e){this._headlineVariantTag=e}get headlineVariant(){return this._headlineVariantTag}renderHeader(){return Oa`<div
584
+ */const Ea=Symbol.for(""),uh=e=>{if(e?.r===Ea)return e?._$litStatic$},Pa=e=>({_$litStatic$:e,r:Ea}),Oa=new Map,ch=e=>(t,...i)=>{const o=i.length;let r,s;const n=[],u=[];let c,v=0,g=!1;for(;v<o;){for(c=t[v];v<o&&(s=i[v],(r=uh(s))!==void 0);)c+=r+t[++v],g=!0;v!==o&&u.push(s),n.push(c),v++}if(v===o&&n.push(t[o]),g){const d=n.join("$$lit$$");(t=Oa.get(d))===void 0&&(n.raw=n,Oa.set(d,t=n)),i=u}return e(t,...i)},Sa=ch(l);var hh=Object.defineProperty,dh=Object.getOwnPropertyDescriptor,Vt=(e,t,i,o)=>{for(var r=o>1?void 0:o?dh(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&hh(t,i,r),r};function Os(e){return e?e.assignedNodes({flatten:!0}).length>0:!1}let De=class extends b{constructor(){super(...arguments),this.headline=null,this._headlineVariantTag="h5",this._headlineSlotHasContent=!1,this._headlineSlotChanged=e=>{this._headlineSlotHasContent=Os(e.target)},this._headerSlotHasContent=!1,this._headerSlotChanged=e=>{this._headerSlotHasContent=Os(e.target)},this._headerActionsSlotHasContent=!1,this._headerActionsSlotChanged=e=>{this._headerActionsSlotHasContent=Os(e.target)}}set headlineVariant(e){this._headlineVariantTag=e}get headlineVariant(){return this._headlineVariantTag}renderHeader(){return Sa`<div
581
585
  id="header"
582
586
  class="uui-text"
583
587
  style=${this._headerSlotHasContent||this._headlineSlotHasContent||this._headerActionsSlotHasContent||this.headline!==null?"":"display: none"}>
@@ -590,7 +594,7 @@
590
594
  </${Pa(this._headlineVariantTag)}>
591
595
  <slot name="header" @slotchange=${this._headerSlotChanged}></slot>
592
596
  <slot name="header-actions" @slotchange=${this._headerActionsSlotChanged}></slot>
593
- </div>`}render(){return Oa`
597
+ </div>`}render(){return Sa`
594
598
  ${this.renderHeader()}
595
599
  <slot></slot>
596
600
  `}};De.styles=[Qr,p`
@@ -622,7 +626,7 @@
622
626
  display: block;
623
627
  margin-left: auto;
624
628
  }
625
- `],Vt([a({type:String})],De.prototype,"headline",2),Vt([a({attribute:"headline-variant"})],De.prototype,"headlineVariant",1),Vt([m()],De.prototype,"_headlineVariantTag",2),Vt([m()],De.prototype,"_headlineSlotHasContent",2),Vt([m()],De.prototype,"_headerSlotHasContent",2),Vt([m()],De.prototype,"_headerActionsSlotHasContent",2),De=Vt([f("uui-box")],De);var hh=Object.defineProperty,dh=Object.getOwnPropertyDescriptor,Ss=(e,t,i,o)=>{for(var r=o>1?void 0:o?dh(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&hh(t,i,r),r};let Nt=class extends b{constructor(){super(...arguments),this.lastItem=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","listitem")}renderLinkAndSeparator(){const e=this.href?l`<a id="link" href=${this.href}><slot></slot></a>`:l`<span id="link"><slot></slot></span>`;return l`${e}<span part="separator"></span>`}renderCurrent(){return l`<span id="last-item"><slot></slot></span>`}render(){return l`${this.lastItem?this.renderCurrent():this.renderLinkAndSeparator()}`}};Nt.styles=[p`
629
+ `],Vt([a({type:String})],De.prototype,"headline",2),Vt([a({attribute:"headline-variant"})],De.prototype,"headlineVariant",1),Vt([m()],De.prototype,"_headlineVariantTag",2),Vt([m()],De.prototype,"_headlineSlotHasContent",2),Vt([m()],De.prototype,"_headerSlotHasContent",2),Vt([m()],De.prototype,"_headerActionsSlotHasContent",2),De=Vt([f("uui-box")],De);var ph=Object.defineProperty,fh=Object.getOwnPropertyDescriptor,Ss=(e,t,i,o)=>{for(var r=o>1?void 0:o?fh(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&ph(t,i,r),r};let Nt=class extends b{constructor(){super(...arguments),this.lastItem=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","listitem")}renderLinkAndSeparator(){const e=this.href?l`<a id="link" href=${this.href}><slot></slot></a>`:l`<span id="link"><slot></slot></span>`;return l`${e}<span part="separator"></span>`}renderCurrent(){return l`<span id="last-item"><slot></slot></span>`}render(){return l`${this.lastItem?this.renderCurrent():this.renderLinkAndSeparator()}`}};Nt.styles=[p`
626
630
  :host {
627
631
  font-size: var(--uui-type-small-size,12px);
628
632
  color: currentColor;
@@ -656,7 +660,7 @@
656
660
  overflow: hidden;
657
661
  text-overflow: ellipsis;
658
662
  }
659
- `],Ss([a()],Nt.prototype,"href",2),Ss([a({type:Boolean,attribute:"last-item"})],Nt.prototype,"lastItem",2),Nt=Ss([f("uui-breadcrumb-item")],Nt);var ph=Object.defineProperty,fh=Object.getOwnPropertyDescriptor,Ia=(e,t,i,o)=>{for(var r=o>1?void 0:o?fh(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&ph(t,i,r),r};let sr=class extends b{elementIsBreadcrumbItem(e){return e instanceof Nt}connectedCallback(){super.connectedCallback(),this.setAttribute("aria-label","breadcrumb"),this.setAttribute("role","navigation")}handleSlotChange(){if(this.slotNodes.length>0){const e=this.slotNodes[this.slotNodes.length-1];e.setAttribute("aria-current","page"),this.elementIsBreadcrumbItem(e)&&(e.lastItem=!0)}}render(){return l`<ol id="breadcrumbs-list">
663
+ `],Ss([a()],Nt.prototype,"href",2),Ss([a({type:Boolean,attribute:"last-item"})],Nt.prototype,"lastItem",2),Nt=Ss([f("uui-breadcrumb-item")],Nt);var vh=Object.defineProperty,bh=Object.getOwnPropertyDescriptor,Ia=(e,t,i,o)=>{for(var r=o>1?void 0:o?bh(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&vh(t,i,r),r};let sr=class extends b{elementIsBreadcrumbItem(e){return e instanceof Nt}connectedCallback(){super.connectedCallback(),this.setAttribute("aria-label","breadcrumb"),this.setAttribute("role","navigation")}handleSlotChange(){if(this.slotNodes.length>0){const e=this.slotNodes[this.slotNodes.length-1];e.setAttribute("aria-current","page"),this.elementIsBreadcrumbItem(e)&&(e.lastItem=!0)}}render(){return l`<ol id="breadcrumbs-list">
660
664
  <slot @slotchange=${this.handleSlotChange}></slot>
661
665
  </ol>`}};sr.styles=[p`
662
666
  :host {
@@ -672,7 +676,7 @@
672
676
  margin-inline-end: 0px;
673
677
  padding-inline-start: 0px;
674
678
  }
675
- `],Ia([pt({flatten:!0,selector:"uui-breadcrumb-item, [uui-breadcrumb-item], [role=listitem]"})],sr.prototype,"slotNodes",2),sr=Ia([f("uui-breadcrumbs")],sr);const vh=p`
679
+ `],Ia([pt({flatten:!0,selector:"uui-breadcrumb-item, [uui-breadcrumb-item], [role=listitem]"})],sr.prototype,"slotNodes",2),sr=Ia([f("uui-breadcrumbs")],sr);const gh=p`
676
680
  @keyframes uui-blink {
677
681
  0%,
678
682
  100% {
@@ -682,7 +686,7 @@
682
686
  opacity: 1;
683
687
  }
684
688
  }
685
- `,bh=dt("uui-blink 0.9s infinite both"),gh=p`
689
+ `,mh=dt("uui-blink 0.9s infinite both"),_h=p`
686
690
  @keyframes pulse {
687
691
  0% {
688
692
  -webkit-transform: translate(-50%, -50%) scale(0.2);
@@ -727,15 +731,15 @@
727
731
  * @license
728
732
  * Copyright 2017 Google LLC
729
733
  * SPDX-License-Identifier: BSD-3-Clause
730
- */const xe={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},di=e=>(...t)=>({_$litDirective$:e,values:t});let pi=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,i,o){this._$Ct=t,this._$AM=i,this._$Ci=o}_$AS(t,i){return this.update(t,i)}update(t,i){return this.render(...i)}};/**
734
+ */const $e={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},di=e=>(...t)=>({_$litDirective$:e,values:t});let pi=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,i,o){this.t=t,this._$AM=i,this.i=o}_$AS(t,i){return this.update(t,i)}update(t,i){return this.render(...i)}};/**
731
735
  * @license
732
736
  * Copyright 2018 Google LLC
733
737
  * SPDX-License-Identifier: BSD-3-Clause
734
- */const Aa="important",mh=" !"+Aa,Me=di(class extends pi{constructor(e){if(super(e),e.type!==xe.ATTRIBUTE||e.name!=="style"||e.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce((t,i)=>{const o=e[i];return o==null?t:t+`${i=i.includes("-")?i:i.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`},"")}update(e,[t]){const{style:i}=e.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(const o of this.ft)t[o]==null&&(this.ft.delete(o),o.includes("-")?i.removeProperty(o):i[o]=null);for(const o in t){const r=t[o];if(r!=null){this.ft.add(o);const s=typeof r=="string"&&r.endsWith(mh);o.includes("-")||s?i.setProperty(o,s?r.slice(0,-11):r,s?Aa:""):i[o]=r}}return se}});/**
738
+ */const Aa="important",yh=" !"+Aa,Me=di(class extends pi{constructor(e){if(super(e),e.type!==$e.ATTRIBUTE||e.name!=="style"||e.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce((t,i)=>{const o=e[i];return o==null?t:t+`${i=i.includes("-")?i:i.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`},"")}update(e,[t]){const{style:i}=e.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(const o of this.ft)t[o]==null&&(this.ft.delete(o),o.includes("-")?i.removeProperty(o):i[o]=null);for(const o in t){const r=t[o];if(r!=null){this.ft.add(o);const s=typeof r=="string"&&r.endsWith(yh);o.includes("-")||s?i.setProperty(o,s?r.slice(0,-11):r,s?Aa:""):i[o]=r}}return ne}});/**
735
739
  * @license
736
740
  * Copyright 2018 Google LLC
737
741
  * SPDX-License-Identifier: BSD-3-Clause
738
- */const w=e=>e??C;class lo extends I{constructor(t,i={}){super(t,{bubbles:!0,composed:!0,...i})}}lo.CLICK="click";var _h=Object.defineProperty,yh=Object.getOwnPropertyDescriptor,Ua=e=>{throw TypeError(e)},Ht=(e,t,i,o)=>{for(var r=o>1?void 0:o?yh(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&_h(t,i,r),r},wh=(e,t,i)=>t.has(e)||Ua("Cannot "+i),xh=(e,t,i)=>t.has(e)?Ua("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,i),uo=(e,t,i)=>(wh(e,t,"access private method"),i),fi,Os,za,Da;let Le=class extends b{constructor(){super(...arguments),xh(this,fi),this._position=0,this.vertical=!1}_onMouseMove(e){this._position=(this.vertical?e.offsetY:e.offsetX)-5}_handleClick(e){e.preventDefault(),e.stopImmediatePropagation(),e.target?.blur?.(),this.dispatchEvent(new lo(lo.CLICK))}render(){return this.href?uo(this,fi,za).call(this):uo(this,fi,Da).call(this)}};fi=new WeakSet,Os=function(){return l`
742
+ */const w=e=>e??k;class lo extends U{constructor(t,i={}){super(t,{bubbles:!0,composed:!0,...i})}}lo.CLICK="click";var wh=Object.defineProperty,xh=Object.getOwnPropertyDescriptor,Ua=e=>{throw TypeError(e)},Ht=(e,t,i,o)=>{for(var r=o>1?void 0:o?xh(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&wh(t,i,r),r},$h=(e,t,i)=>t.has(e)||Ua("Cannot "+i),kh=(e,t,i)=>t.has(e)?Ua("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,i),uo=(e,t,i)=>($h(e,t,"access private method"),i),fi,Is,za,Da;let Le=class extends b{constructor(){super(...arguments),kh(this,fi),this._position=0,this.vertical=!1}_onMouseMove(e){this._position=(this.vertical?e.offsetY:e.offsetX)-5}_handleClick(e){e.preventDefault(),e.stopImmediatePropagation(),e.target?.blur?.(),this.dispatchEvent(new lo(lo.CLICK))}render(){return this.href?uo(this,fi,za).call(this):uo(this,fi,Da).call(this)}};fi=new WeakSet,Is=function(){return l`
739
743
  <div
740
744
  id="plus"
741
745
  style=${Me({left:this.vertical?"":this._position+"px",top:this.vertical?this._position+"px":""})}>
@@ -754,16 +758,16 @@
754
758
  target=${w(this.target||void 0)}
755
759
  rel=${w(this.rel||w(this.target==="_blank"?"noopener noreferrer":void 0))}
756
760
  aria-label=${this.label?this.label:"create new element"}>
757
- ${uo(this,fi,Os).call(this)}
761
+ ${uo(this,fi,Is).call(this)}
758
762
  </a>`},Da=function(){return l`
759
763
  <button
760
764
  id="button-wrapper"
761
765
  @mousemove=${this._onMouseMove}
762
766
  @click=${this._handleClick}
763
767
  aria-label=${this.label?this.label:"create new element"}>
764
- ${uo(this,fi,Os).call(this)}
768
+ ${uo(this,fi,Is).call(this)}
765
769
  </button>
766
- `},Le.styles=[vh,p`
770
+ `},Le.styles=[gh,p`
767
771
  :host {
768
772
  display: flex;
769
773
  position: relative;
@@ -817,7 +821,7 @@
817
821
  :host(:focus) #button-wrapper:before,
818
822
  :host(:focus-within) #button-wrapper:before,
819
823
  :host(:hover) #button-wrapper:before {
820
- animation: ${bh};
824
+ animation: ${mh};
821
825
  background-color: var(--uui-color-interactive-emphasis,#3544b1);
822
826
  border-color: var(--uui-color-surface,#fff) !important;
823
827
  }
@@ -920,11 +924,11 @@
920
924
  #button-wrapper:active #plus {
921
925
  transform: scale(1.1);
922
926
  }
923
- `],Ht([m()],Le.prototype,"_position",2),Ht([a({type:String})],Le.prototype,"label",2),Ht([a({type:Boolean,reflect:!0})],Le.prototype,"vertical",2),Ht([a({type:String})],Le.prototype,"href",2),Ht([a({type:String})],Le.prototype,"target",2),Ht([a({type:String})],Le.prototype,"rel",2),Le=Ht([f("uui-button-inline-create")],Le);class $h{constructor(t,i){this._callback=t,this._timerId=null,this._remaining=null,this._onComplete=()=>{this._remaining=null,this._callback()},this.setDuration(i)}setDuration(t){this._duration=t,this._timerId!==null&&this.restart()}start(){this._timerId===null&&this.resume()}restart(){this._remaining=this._duration,this.resume()}pause(){this._timerId!==null&&(window.clearTimeout(this._timerId),this._timerId=null,this._remaining!==null&&(this._remaining-=Date.now()-this._startTime))}resume(){this._timerId!==null&&window.clearTimeout(this._timerId),this._remaining===null&&(this._remaining=this._duration),this._startTime=Date.now(),this._timerId=window.setTimeout(this._onComplete,this._remaining)}destroy(){this.pause()}}const x=(e,t,i=`This element has to be present for ${e.nodeName} to work appropriate.`)=>{customElements.get(t)||console.warn(`%c ${e.nodeName} requires ${t} element to be registered!`,"font-weight: bold;",i,e)},Ma=(e,t)=>{function i(r){const s=e.getBoundingClientRect(),n=e.ownerDocument.defaultView,u=s.left+n.scrollX,c=s.top+n.scrollY;let v;r instanceof TouchEvent?v=r.touches[0]:v=r;const g=v.pageX-u,d=v.pageY-c;t?.onMove&&t.onMove(g,d)}function o(){document.removeEventListener("pointermove",i),document.removeEventListener("pointerup",o),t?.onStop&&t.onStop()}document.addEventListener("pointermove",i,{passive:!0}),document.addEventListener("pointerup",o),t?.initialEvent&&i(t.initialEvent)},A=(e,t,i)=>Math.min(Math.max(e,t),i),La=(e,t,i)=>i+t-e,Ch=(e,t,i)=>{let o=e;for(;o!==null;){const r=o instanceof HTMLElement&&o.hasAttribute(t)&&o.getAttribute(t)===i,s=o.querySelector(`[${t}="${i}"]`)!==null;if(r)return o;if(s)return o.querySelector(`[${t}="${i}"]`);o=o.parentElement||o.parentNode||o.host||null}return null};function kh(e){return e?e.assignedNodes({flatten:!0}).length>0:!1}const co=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12" /></svg>`,Eh=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M3 6h18" /><path d="M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6" /><path d="M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2" /><line x1="10" x2="10" y1="11" y2="17" /><line x1="14" x2="14" y1="11" y2="17" /></svg>`,Ph=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><rect width="18" height="11" x="3" y="11" rx="2" ry="2" /><path d="M7 11V7a5 5 0 0 1 10 0v4" /></svg>`,Sh=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><rect width="18" height="18" x="3" y="3" rx="2" ry="2" /><circle cx="9" cy="9" r="2" /><path d="m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21" /></svg>`,Is=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M18 6 6 18" /><path d="m6 6 12 12" /></svg>`,Oh=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z" /><circle cx="12" cy="12" r="3" /></svg>`,Ih=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14" /></svg>`,Ah=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><rect width="18" height="11" x="3" y="11" rx="2" ry="2" /><path d="M7 11V7a5 5 0 0 1 9.9-1" /></svg>`,Uh=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M9.88 9.88a3 3 0 1 0 4.24 4.24" /><path d="M10.73 5.08A10.43 10.43 0 0 1 12 5c7 0 10 7 10 7a13.16 13.16 0 0 1-1.67 2.68" /><path d="M6.61 6.61A13.526 13.526 0 0 0 2 12s3 7 10 7a9.74 9.74 0 0 0 5.39-1.61" /><line x1="2" x2="22" y1="2" y2="22" /></svg>`,zh=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10" /><path d="m15 9-6 6" /><path d="m9 9 6 6" /></svg>`;var Dh=Object.defineProperty,Mh=Object.getOwnPropertyDescriptor,$e=(e,t,i,o)=>{for(var r=o>1?void 0:o?Mh(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Dh(t,i,r),r};let ne=class extends ze(Ue("",oh(b)),void 0){constructor(){super(),this.type="button",this.disabled=!1,this.look="default",this.color="default",this.compact=!1,this.state=void 0,this.addEventListener("click",this._onHostClick)}getFormElement(){return this._button}async focus(){await this.updateComplete,this._button.focus()}async blur(){await this.updateComplete,this._button.blur()}async click(){await this.updateComplete,this._button.click()}_onHostClick(e){if(this.disabled){e.preventDefault(),e.stopImmediatePropagation();return}if(this._internals?.form)switch(this.type){case"reset":this._internals.form.reset();break;case"button":break;default:this._internals.form.requestSubmit?this._internals.form.requestSubmit():this._internals.form.dispatchEvent(new SubmitEvent("submit"));break}this._togglePopover()}updated(e){super.updated(e),e.has("state")&&(clearTimeout(this._resetStateTimeout),(this.state==="success"||this.state==="failed")&&(this._resetStateTimeout=setTimeout(()=>this.state=void 0,2e3)))}renderState(){let e;switch(this.state){case"waiting":x(this,"uui-loader-circle"),e=l`<uui-loader-circle id="loader"></uui-loader-circle>`;break;case"success":x(this,"uui-icon"),e=l`<uui-icon
927
+ `],Ht([m()],Le.prototype,"_position",2),Ht([a({type:String})],Le.prototype,"label",2),Ht([a({type:Boolean,reflect:!0})],Le.prototype,"vertical",2),Ht([a({type:String})],Le.prototype,"href",2),Ht([a({type:String})],Le.prototype,"target",2),Ht([a({type:String})],Le.prototype,"rel",2),Le=Ht([f("uui-button-inline-create")],Le);class Ch{constructor(t,i){this._callback=t,this._timerId=null,this._remaining=null,this._onComplete=()=>{this._remaining=null,this._callback()},this.setDuration(i)}setDuration(t){this._duration=t,this._timerId!==null&&this.restart()}start(){this._timerId===null&&this.resume()}restart(){this._remaining=this._duration,this.resume()}pause(){this._timerId!==null&&(window.clearTimeout(this._timerId),this._timerId=null,this._remaining!==null&&(this._remaining-=Date.now()-this._startTime))}resume(){this._timerId!==null&&window.clearTimeout(this._timerId),this._remaining===null&&(this._remaining=this._duration),this._startTime=Date.now(),this._timerId=window.setTimeout(this._onComplete,this._remaining)}destroy(){this.pause()}}const x=(e,t,i=`This element has to be present for ${e.nodeName} to work appropriate.`)=>{customElements.get(t)||console.warn(`%c ${e.nodeName} requires ${t} element to be registered!`,"font-weight: bold;",i,e)},Ma=(e,t)=>{function i(r){const s=e.getBoundingClientRect(),n=e.ownerDocument.defaultView,u=s.left+n.scrollX,c=s.top+n.scrollY;let v;r instanceof TouchEvent?v=r.touches[0]:v=r;const g=v.pageX-u,d=v.pageY-c;t?.onMove&&t.onMove(g,d)}function o(){document.removeEventListener("pointermove",i),document.removeEventListener("pointerup",o),t?.onStop&&t.onStop()}document.addEventListener("pointermove",i,{passive:!0}),document.addEventListener("pointerup",o),t?.initialEvent&&i(t.initialEvent)},z=(e,t,i)=>Math.min(Math.max(e,t),i),La=(e,t,i)=>i+t-e,Eh=(e,t,i)=>{let o=e;for(;o!==null;){const r=o instanceof HTMLElement&&o.hasAttribute(t)&&o.getAttribute(t)===i,s=o.querySelector(`[${t}="${i}"]`)!==null;if(r)return o;if(s)return o.querySelector(`[${t}="${i}"]`);o=o.parentElement||o.parentNode||o.host||null}return null};function Ph(e){return e?e.assignedNodes({flatten:!0}).length>0:!1}const co=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12" /></svg>`,Oh=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M3 6h18" /><path d="M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6" /><path d="M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2" /><line x1="10" x2="10" y1="11" y2="17" /><line x1="14" x2="14" y1="11" y2="17" /></svg>`,Sh=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><rect width="18" height="11" x="3" y="11" rx="2" ry="2" /><path d="M7 11V7a5 5 0 0 1 10 0v4" /></svg>`,Ih=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><rect width="18" height="18" x="3" y="3" rx="2" ry="2" /><circle cx="9" cy="9" r="2" /><path d="m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21" /></svg>`,As=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M18 6 6 18" /><path d="m6 6 12 12" /></svg>`,Ah=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z" /><circle cx="12" cy="12" r="3" /></svg>`,Uh=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14" /></svg>`,zh=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><rect width="18" height="11" x="3" y="11" rx="2" ry="2" /><path d="M7 11V7a5 5 0 0 1 9.9-1" /></svg>`,Dh=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M9.88 9.88a3 3 0 1 0 4.24 4.24" /><path d="M10.73 5.08A10.43 10.43 0 0 1 12 5c7 0 10 7 10 7a13.16 13.16 0 0 1-1.67 2.68" /><path d="M6.61 6.61A13.526 13.526 0 0 0 2 12s3 7 10 7a9.74 9.74 0 0 0 5.39-1.61" /><line x1="2" x2="22" y1="2" y2="22" /></svg>`,Mh=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10" /><path d="m15 9-6 6" /><path d="m9 9 6 6" /></svg>`;var Lh=Object.defineProperty,Th=Object.getOwnPropertyDescriptor,ke=(e,t,i,o)=>{for(var r=o>1?void 0:o?Th(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Lh(t,i,r),r};let ae=class extends ze(Ue("",nh(b))){constructor(){super(),this.type="button",this.disabled=!1,this.look="default",this.color="default",this.compact=!1,this.state=void 0,this.addEventListener("click",this._onHostClick)}getFormElement(){return this._button}async focus(){await this.updateComplete,this._button.focus()}async blur(){await this.updateComplete,this._button.blur()}async click(){await this.updateComplete,this._button.click()}_onHostClick(e){if(this.disabled){e.preventDefault(),e.stopImmediatePropagation();return}if(this._internals?.form)switch(this.type){case"reset":this._internals.form.reset();break;case"button":break;default:this._internals.form.requestSubmit?this._internals.form.requestSubmit():this._internals.form.dispatchEvent(new SubmitEvent("submit"));break}this._togglePopover()}updated(e){super.updated(e),e.has("state")&&(clearTimeout(this._resetStateTimeout),(this.state==="success"||this.state==="failed")&&(this._resetStateTimeout=setTimeout(()=>this.state=void 0,2e3)))}renderState(){let e;switch(this.state){case"waiting":x(this,"uui-loader-circle"),e=l`<uui-loader-circle id="loader"></uui-loader-circle>`;break;case"success":x(this,"uui-icon"),e=l`<uui-icon
924
928
  name="check"
925
929
  .fallback=${co.strings[0]}></uui-icon>`;break;case"failed":x(this,"uui-icon"),e=l`<uui-icon
926
930
  name="wrong"
927
- .fallback=${zh.strings[0]}></uui-icon>`;break;default:return C}return l`<div id="state">${e}</div>`}render(){return this.href?l`
931
+ .fallback=${Mh.strings[0]}></uui-icon>`;break;default:return k}return l`<div id="state">${e}</div>`}render(){return this.href?l`
928
932
  <a
929
933
  id="button"
930
934
  aria-label=${w(this.label)}
@@ -942,7 +946,7 @@
942
946
  ${this.renderState()} ${this.renderLabel()}
943
947
  <slot name="extra"></slot>
944
948
  </button>
945
- `}};ne.styles=[no,p`
949
+ `}};ae.styles=[no,p`
946
950
  :host {
947
951
  position: relative;
948
952
  display: inline-flex;
@@ -1262,7 +1266,7 @@
1262
1266
  var(--color-standalone)
1263
1267
  );
1264
1268
  }
1265
- `],$e([a({type:String,reflect:!0})],ne.prototype,"type",2),$e([a({type:Boolean,reflect:!0})],ne.prototype,"disabled",2),$e([a({reflect:!0})],ne.prototype,"look",2),$e([a({reflect:!0})],ne.prototype,"color",2),$e([a({type:Boolean,reflect:!0})],ne.prototype,"compact",2),$e([a({type:String,reflect:!0})],ne.prototype,"state",2),$e([a({type:String})],ne.prototype,"href",2),$e([a({type:String})],ne.prototype,"target",2),$e([a({type:String})],ne.prototype,"rel",2),$e([O("#button")],ne.prototype,"_button",2),ne=$e([f("uui-button")],ne);class vi extends I{}vi.OPEN="open";var Lh=Object.defineProperty,Th=Object.getOwnPropertyDescriptor,bi=(e,t,i,o)=>{for(var r=o>1?void 0:o?Th(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Lh(t,i,r),r};let Z=class extends ro(ui(b)){constructor(){super(...arguments),this.disabled=!1,this.error=!1}handleOpenClick(e){this.disabled||(e.stopPropagation(),this.dispatchEvent(new vi(vi.OPEN)))}handleOpenKeydown(e){this.disabled||e.key==="Enter"&&(e.preventDefault(),e.stopPropagation(),this.dispatchEvent(new vi(vi.OPEN)))}render(){return l`<slot></slot>`}};Z.styles=[p`
1269
+ `],ke([a({type:String,reflect:!0})],ae.prototype,"type",2),ke([a({type:Boolean,reflect:!0})],ae.prototype,"disabled",2),ke([a({reflect:!0})],ae.prototype,"look",2),ke([a({reflect:!0})],ae.prototype,"color",2),ke([a({type:Boolean,reflect:!0})],ae.prototype,"compact",2),ke([a({type:String,reflect:!0})],ae.prototype,"state",2),ke([a({type:String})],ae.prototype,"href",2),ke([a({type:String})],ae.prototype,"target",2),ke([a({type:String})],ae.prototype,"rel",2),ke([S("#button")],ae.prototype,"_button",2),ae=ke([f("uui-button")],ae);class vi extends U{}vi.OPEN="open";var Vh=Object.defineProperty,Nh=Object.getOwnPropertyDescriptor,bi=(e,t,i,o)=>{for(var r=o>1?void 0:o?Nh(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Vh(t,i,r),r};let Z=class extends ro(ui(b)){constructor(){super(...arguments),this.disabled=!1,this.error=!1}handleOpenClick(e){this.disabled||(e.stopPropagation(),this.dispatchEvent(new vi(vi.OPEN)))}handleOpenKeydown(e){this.disabled||e.key==="Enter"&&(e.preventDefault(),e.stopPropagation(),this.dispatchEvent(new vi(vi.OPEN)))}render(){return l`<slot></slot>`}};Z.styles=[p`
1266
1270
  :host {
1267
1271
  position: relative;
1268
1272
  display: flex;
@@ -1351,7 +1355,7 @@
1351
1355
  text-decoration: none;
1352
1356
  color: inherit;
1353
1357
  }
1354
- `],bi([a({type:Boolean,reflect:!0,attribute:"disabled"})],Z.prototype,"disabled",2),bi([a({type:Boolean,reflect:!0})],Z.prototype,"error",2),bi([a({type:String})],Z.prototype,"href",2),bi([a({type:String})],Z.prototype,"target",2),bi([a({type:String})],Z.prototype,"rel",2),Z=bi([f("uui-card")],Z);var Vh=Object.defineProperty,Nh=Object.getOwnPropertyDescriptor,Ta=e=>{throw TypeError(e)},ho=(e,t,i,o)=>{for(var r=o>1?void 0:o?Nh(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Vh(t,i,r),r},Hh=(e,t,i)=>t.has(e)||Ta("Cannot "+i),Bh=(e,t,i)=>t.has(e)?Ta("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,i),Va=(e,t,i)=>(Hh(e,t,"access private method"),i),po,Na,Ha;let Bt=class extends Z{constructor(){super(...arguments),Bh(this,po),this.name=""}render(){return l`
1358
+ `],bi([a({type:Boolean,reflect:!0,attribute:"disabled"})],Z.prototype,"disabled",2),bi([a({type:Boolean,reflect:!0})],Z.prototype,"error",2),bi([a({type:String})],Z.prototype,"href",2),bi([a({type:String})],Z.prototype,"target",2),bi([a({type:String})],Z.prototype,"rel",2),Z=bi([f("uui-card")],Z);var Hh=Object.defineProperty,Bh=Object.getOwnPropertyDescriptor,Ta=e=>{throw TypeError(e)},ho=(e,t,i,o)=>{for(var r=o>1?void 0:o?Bh(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Hh(t,i,r),r},jh=(e,t,i)=>t.has(e)||Ta("Cannot "+i),Rh=(e,t,i)=>t.has(e)?Ta("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,i),Va=(e,t,i)=>(jh(e,t,"access private method"),i),po,Na,Ha;let Bt=class extends Z{constructor(){super(...arguments),Rh(this,po),this.name=""}render(){return l`
1355
1359
  <div
1356
1360
  id="portrait"
1357
1361
  style=${Me({backgroundColor:this.background})}>
@@ -1364,7 +1368,7 @@
1364
1368
  `}};po=new WeakSet,Na=function(){return l`
1365
1369
  <button
1366
1370
  id="open-part"
1367
- tabindex=${this.disabled?C:"0"}
1371
+ tabindex=${this.disabled?k:"0"}
1368
1372
  @click=${this.handleOpenClick}
1369
1373
  @keydown=${this.handleOpenKeydown}>
1370
1374
  <strong>${this.name}</strong><small>${this.description}</small>
@@ -1372,7 +1376,7 @@
1372
1376
  `},Ha=function(){return l`
1373
1377
  <a
1374
1378
  id="open-part"
1375
- tabindex=${this.disabled?C:"0"}
1379
+ tabindex=${this.disabled?k:"0"}
1376
1380
  href=${w(this.disabled?void 0:this.href)}
1377
1381
  target=${w(this.target||void 0)}
1378
1382
  rel=${w(this.rel||w(this.target==="_blank"?"noopener noreferrer":void 0))}>
@@ -1475,7 +1479,7 @@
1475
1479
  transition-duration: 120ms;
1476
1480
  transition-delay: 0s;
1477
1481
  }
1478
- `],ho([a({type:String})],Bt.prototype,"name",2),ho([a({type:String})],Bt.prototype,"description",2),ho([a({type:String,attribute:"background"})],Bt.prototype,"background",2),Bt=ho([f("uui-card-block-type")],Bt);var jh=Object.defineProperty,Rh=Object.getOwnPropertyDescriptor,Ba=e=>{throw TypeError(e)},As=(e,t,i,o)=>{for(var r=o>1?void 0:o?Rh(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&jh(t,i,r),r},Fh=(e,t,i)=>t.has(e)||Ba("Cannot "+i),Wh=(e,t,i)=>t.has(e)?Ba("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,i),ja=(e,t,i)=>(Fh(e,t,"access private method"),i),fo,Ra,Fa;let gi=class extends Z{constructor(){super(...arguments),Wh(this,fo),this.name="",this._iconSlotHasContent=!1,this.fallbackIcon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M396.441 138.878l-83.997-83.993-7.331-7.333H105.702v416.701h298.071V146.214l-7.332-7.336zM130.74 439.217V72.591h141.613c37.201 0 19.274 88.18 19.274 88.18s86-20.901 87.104 18.534v259.912H130.74z"></path></svg>'}_onSlotIconChange(e){this._iconSlotHasContent=e.target.assignedNodes({flatten:!0}).length>0}_renderFallbackIcon(){return x(this,"uui-icon"),l`<uui-icon .svg="${this.fallbackIcon}"></uui-icon>`}render(){return l`
1482
+ `],ho([a({type:String})],Bt.prototype,"name",2),ho([a({type:String})],Bt.prototype,"description",2),ho([a({type:String,attribute:"background"})],Bt.prototype,"background",2),Bt=ho([f("uui-card-block-type")],Bt);var Fh=Object.defineProperty,Wh=Object.getOwnPropertyDescriptor,Ba=e=>{throw TypeError(e)},Us=(e,t,i,o)=>{for(var r=o>1?void 0:o?Wh(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Fh(t,i,r),r},Gh=(e,t,i)=>t.has(e)||Ba("Cannot "+i),qh=(e,t,i)=>t.has(e)?Ba("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,i),ja=(e,t,i)=>(Gh(e,t,"access private method"),i),fo,Ra,Fa;let gi=class extends Z{constructor(){super(...arguments),qh(this,fo),this.name="",this._iconSlotHasContent=!1,this.fallbackIcon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M396.441 138.878l-83.997-83.993-7.331-7.333H105.702v416.701h298.071V146.214l-7.332-7.336zM130.74 439.217V72.591h141.613c37.201 0 19.274 88.18 19.274 88.18s86-20.901 87.104 18.534v259.912H130.74z"></path></svg>'}_onSlotIconChange(e){this._iconSlotHasContent=e.target.assignedNodes({flatten:!0}).length>0}_renderFallbackIcon(){return x(this,"uui-icon"),l`<uui-icon .svg="${this.fallbackIcon}"></uui-icon>`}render(){return l`
1479
1483
  ${this.href?ja(this,fo,Fa).call(this):ja(this,fo,Ra).call(this)}
1480
1484
  <!-- Select border must be right after #open-part -->
1481
1485
  <div id="select-border"></div>
@@ -1485,7 +1489,7 @@
1485
1489
  <slot name="actions"></slot>
1486
1490
  `}};fo=new WeakSet,Ra=function(){return l`<div
1487
1491
  id="open-part"
1488
- tabindex=${this.disabled?C:0}
1492
+ tabindex=${this.disabled?k:0}
1489
1493
  @click=${this.handleOpenClick}
1490
1494
  @keydown=${this.handleOpenKeydown}>
1491
1495
  <span id="icon">
@@ -1495,7 +1499,7 @@
1495
1499
  <span id="name"> ${this.name} </span>
1496
1500
  </div>`},Fa=function(){return l`<a
1497
1501
  id="open-part"
1498
- tabindex=${this.disabled?C:0}
1502
+ tabindex=${this.disabled?k:0}
1499
1503
  href=${w(this.disabled?void 0:this.href)}
1500
1504
  target=${w(this.target||void 0)}
1501
1505
  rel=${w(this.rel||w(this.target==="_blank"?"noopener noreferrer":void 0))}>
@@ -1572,7 +1576,7 @@
1572
1576
  #name {
1573
1577
  margin-top: 4px;
1574
1578
  }
1575
- `],As([a({type:String})],gi.prototype,"name",2),As([m()],gi.prototype,"_iconSlotHasContent",2),gi=As([f("uui-card-content-node")],gi);var Gh=Object.defineProperty,qh=Object.getOwnPropertyDescriptor,Wa=e=>{throw TypeError(e)},vo=(e,t,i,o)=>{for(var r=o>1?void 0:o?qh(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Gh(t,i,r),r},Kh=(e,t,i)=>t.has(e)||Wa("Cannot "+i),Yh=(e,t,i)=>t.has(e)?Wa("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,i),Ga=(e,t,i)=>(Kh(e,t,"access private method"),i),bo,qa,Ka;let jt=class extends Z{constructor(){super(...arguments),Yh(this,bo),this.name="",this.fileExt="",this.hasPreview=!1}connectedCallback(){super.connectedCallback(),x(this,"uui-symbol-folder"),x(this,"uui-symbol-file")}queryPreviews(e){this.hasPreview=e.composedPath()[0].assignedElements({flatten:!0}).length>0}renderMedia(){return this.hasPreview===!0?"":this.fileExt===""?l`<uui-symbol-folder id="folder-symbol"></uui-symbol-folder>`:l`<uui-symbol-file
1579
+ `],Us([a({type:String})],gi.prototype,"name",2),Us([m()],gi.prototype,"_iconSlotHasContent",2),gi=Us([f("uui-card-content-node")],gi);var Kh=Object.defineProperty,Yh=Object.getOwnPropertyDescriptor,Wa=e=>{throw TypeError(e)},vo=(e,t,i,o)=>{for(var r=o>1?void 0:o?Yh(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Kh(t,i,r),r},Xh=(e,t,i)=>t.has(e)||Wa("Cannot "+i),Zh=(e,t,i)=>t.has(e)?Wa("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,i),Ga=(e,t,i)=>(Xh(e,t,"access private method"),i),bo,qa,Ka;let jt=class extends Z{constructor(){super(...arguments),Zh(this,bo),this.name="",this.fileExt="",this.hasPreview=!1}connectedCallback(){super.connectedCallback(),x(this,"uui-symbol-folder"),x(this,"uui-symbol-file")}queryPreviews(e){this.hasPreview=e.composedPath()[0].assignedElements({flatten:!0}).length>0}renderMedia(){return this.hasPreview===!0?"":this.fileExt===""?l`<uui-symbol-folder id="folder-symbol"></uui-symbol-folder>`:l`<uui-symbol-file
1576
1580
  id="file-symbol"
1577
1581
  type="${this.fileExt}"></uui-symbol-file>`}render(){return l` ${this.renderMedia()}
1578
1582
  <slot @slotchange=${this.queryPreviews}></slot>
@@ -1584,7 +1588,7 @@
1584
1588
  <slot name="actions"></slot>`}};bo=new WeakSet,qa=function(){return l`
1585
1589
  <button
1586
1590
  id="open-part"
1587
- tabindex=${this.disabled?C:"0"}
1591
+ tabindex=${this.disabled?k:"0"}
1588
1592
  @click=${this.handleOpenClick}
1589
1593
  @keydown=${this.handleOpenKeydown}>
1590
1594
  <!--
@@ -1600,7 +1604,7 @@
1600
1604
  `},Ka=function(){return l`
1601
1605
  <a
1602
1606
  id="open-part"
1603
- tabindex=${this.disabled?C:"0"}
1607
+ tabindex=${this.disabled?k:"0"}
1604
1608
  href=${w(this.disabled?void 0:this.href)}
1605
1609
  target=${w(this.target||void 0)}
1606
1610
  rel=${w(this.rel||w(this.target==="_blank"?"noopener noreferrer":void 0))}>
@@ -1711,8 +1715,8 @@
1711
1715
  height: var(--uui-size-8);
1712
1716
  }
1713
1717
  */
1714
- `],vo([a({type:String})],jt.prototype,"name",2),vo([a({type:String,attribute:"file-ext"})],jt.prototype,"fileExt",2),vo([m()],jt.prototype,"hasPreview",2),jt=vo([f("uui-card-media")],jt);var Xh=Object.defineProperty,Zh=Object.getOwnPropertyDescriptor,Ya=e=>{throw TypeError(e)},Us=(e,t,i,o)=>{for(var r=o>1?void 0:o?Zh(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Xh(t,i,r),r},Qh=(e,t,i)=>t.has(e)||Ya("Cannot "+i),Jh=(e,t,i)=>t.has(e)?Ya("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,i),Xa=(e,t,i)=>(Qh(e,t,"access private method"),i),go,Za,Qa;let mi=class extends Z{constructor(){super(...arguments),Jh(this,go),this.name="",this._avatarSlotHasContent=!1,this._avatarSlotChanged=e=>{this._avatarSlotHasContent=kh(e.target)}}connectedCallback(){super.connectedCallback(),x(this,"uui-avatar")}render(){return l`
1715
- ${this._avatarSlotHasContent?C:l`<uui-avatar
1718
+ `],vo([a({type:String})],jt.prototype,"name",2),vo([a({type:String,attribute:"file-ext"})],jt.prototype,"fileExt",2),vo([m()],jt.prototype,"hasPreview",2),jt=vo([f("uui-card-media")],jt);var Qh=Object.defineProperty,Jh=Object.getOwnPropertyDescriptor,Ya=e=>{throw TypeError(e)},zs=(e,t,i,o)=>{for(var r=o>1?void 0:o?Jh(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Qh(t,i,r),r},ed=(e,t,i)=>t.has(e)||Ya("Cannot "+i),td=(e,t,i)=>t.has(e)?Ya("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,i),Xa=(e,t,i)=>(ed(e,t,"access private method"),i),go,Za,Qa;let mi=class extends Z{constructor(){super(...arguments),td(this,go),this.name="",this._avatarSlotHasContent=!1,this._avatarSlotChanged=e=>{this._avatarSlotHasContent=Ph(e.target)}}connectedCallback(){super.connectedCallback(),x(this,"uui-avatar")}render(){return l`
1719
+ ${this._avatarSlotHasContent?k:l`<uui-avatar
1716
1720
  id="avatar"
1717
1721
  name=${this.name}
1718
1722
  size="m"></uui-avatar>`}
@@ -1726,13 +1730,13 @@
1726
1730
  <slot name="actions"></slot>
1727
1731
  `}};go=new WeakSet,Za=function(){return l`<div
1728
1732
  id="open-part"
1729
- tabindex=${this.disabled?C:"0"}
1733
+ tabindex=${this.disabled?k:"0"}
1730
1734
  @click=${this.handleOpenClick}
1731
1735
  @keydown=${this.handleOpenKeydown}>
1732
1736
  <span> ${this.name} </span>
1733
1737
  </div>`},Qa=function(){return l`<a
1734
1738
  id="open-part"
1735
- tabindex=${this.disabled?C:"0"}
1739
+ tabindex=${this.disabled?k:"0"}
1736
1740
  href=${w(this.disabled?void 0:this.href)}
1737
1741
  target=${w(this.target||void 0)}
1738
1742
  rel=${w(this.rel||w(this.target==="_blank"?"noopener noreferrer":void 0))}>
@@ -1809,8 +1813,15 @@
1809
1813
  text-decoration: underline;
1810
1814
  color: var(--uui-color-interactive-emphasis,#3544b1);
1811
1815
  }
1812
- `],Us([a({type:String})],mi.prototype,"name",2),Us([m()],mi.prototype,"_avatarSlotHasContent",2),mi=Us([f("uui-card-user")],mi);var ed=Object.defineProperty,td=Object.getOwnPropertyDescriptor,Ja=(e,t,i,o)=>{for(var r=o>1?void 0:o?td(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&ed(t,i,r),r};let nr=class extends b{constructor(){super(),this.open=!1,console.error("\xB4uui-caret\xB4 is deprecated, please use \xB4uui-symbol-expand\xB4 or \xB4uui-symbol-sort\xB4")}render(){return l`<svg viewBox="0 0 512 512">
1813
- <path d="M 255.125 400.35 L 88.193 188.765 H 422.055 Z"></path>
1816
+ `],zs([a({type:String})],mi.prototype,"name",2),zs([m()],mi.prototype,"_avatarSlotHasContent",2),mi=zs([f("uui-card-user")],mi);var id=Object.defineProperty,rd=Object.getOwnPropertyDescriptor,Ja=(e,t,i,o)=>{for(var r=o>1?void 0:o?rd(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&id(t,i,r),r};let nr=class extends b{constructor(){super(),this.open=!1,console.error("\xB4uui-caret\xB4 is deprecated, please use \xB4uui-symbol-expand\xB4 or \xB4uui-symbol-sort\xB4")}render(){return l`<svg
1817
+ xmlns="http://www.w3.org/2000/svg"
1818
+ viewBox="0 0 24 24"
1819
+ fill="none"
1820
+ stroke="currentColor"
1821
+ stroke-width="3"
1822
+ stroke-linecap="round"
1823
+ stroke-linejoin="round">
1824
+ <path d="m4 9 8 8 8-8"></path>
1814
1825
  </svg>`}};nr.styles=[p`
1815
1826
  :host {
1816
1827
  display: inline-block;
@@ -1819,21 +1830,19 @@
1819
1830
  }
1820
1831
 
1821
1832
  svg {
1822
- fill: currentColor;
1823
1833
  transform-origin: 50% 50%;
1824
- transition: transform 280ms cubic-bezier(0.17, -0.88, 0.82, 1.84); /* Julia's beloved easing */
1825
- }
1834
+ transition: transform 100ms cubic-bezier(0.1, 0, 0.9, 1);
1826
1835
 
1827
1836
  :host([open]) svg {
1828
1837
  transform: rotate(180deg);
1829
1838
  }
1830
- `],Ja([a({type:Boolean,reflect:!0})],nr.prototype,"open",2),nr=Ja([f("uui-caret")],nr);var id=Object.defineProperty,rd=Object.getOwnPropertyDescriptor,od=(e,t,i,o)=>{for(var r=o>1?void 0:o?rd(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&id(t,i,r),r};let ar=class extends fe{renderCheckbox(){return l`
1839
+ `],Ja([a({type:Boolean,reflect:!0})],nr.prototype,"open",2),nr=Ja([f("uui-caret")],nr);var od=Object.defineProperty,sd=Object.getOwnPropertyDescriptor,nd=(e,t,i,o)=>{for(var r=o>1?void 0:o?sd(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&od(t,i,r),r};let ar=class extends ve{renderCheckbox(){return l`
1831
1840
  <div id="ticker">
1832
1841
  <div id="icon-check">
1833
- ${this.indeterminate?Ih:co}
1842
+ ${this.indeterminate?Uh:co}
1834
1843
  </div>
1835
1844
  </div>
1836
- `}};ar.formAssociated=!0,ar.styles=[...fe.styles,no,p`
1845
+ `}};ar.formAssociated=!0,ar.styles=[...ve.styles,no,p`
1837
1846
  :host {
1838
1847
  --uui-checkbox-size: 18px;
1839
1848
  }
@@ -2007,11 +2016,11 @@
2007
2016
  :host([disabled]) input:indeterminate + #ticker #icon-check {
2008
2017
  color: var(--uui-color-disabled-contrast,#c4c4c4);
2009
2018
  }
2010
- `],ar=od([f("uui-checkbox")],ar);/**
2019
+ `],ar=nd([f("uui-checkbox")],ar);/**
2011
2020
  * @license
2012
2021
  * Copyright 2018 Google LLC
2013
2022
  * SPDX-License-Identifier: BSD-3-Clause
2014
- */const zs=di(class extends pi{constructor(e){if(super(e),e.type!==xe.ATTRIBUTE||e.name!=="class"||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(this.st===void 0){this.st=new Set,e.strings!==void 0&&(this.nt=new Set(e.strings.join(" ").split(/\s/).filter(o=>o!=="")));for(const o in t)t[o]&&!this.nt?.has(o)&&this.st.add(o);return this.render(t)}const i=e.element.classList;for(const o of this.st)o in t||(i.remove(o),this.st.delete(o));for(const o in t){const r=!!t[o];r===this.st.has(o)||this.nt?.has(o)||(r?(i.add(o),this.st.add(o)):(i.remove(o),this.st.delete(o)))}return se}});var sd={grad:.9,turn:360,rad:360/(2*Math.PI)},Ke=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},Y=function(e,t,i){return t===void 0&&(t=0),i===void 0&&(i=Math.pow(10,t)),Math.round(i*e)/i+0},ve=function(e,t,i){return t===void 0&&(t=0),i===void 0&&(i=1),e>i?i:e>t?e:t},el=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},tl=function(e){return{r:ve(e.r,0,255),g:ve(e.g,0,255),b:ve(e.b,0,255),a:ve(e.a)}},Ds=function(e){return{r:Y(e.r),g:Y(e.g),b:Y(e.b),a:Y(e.a,3)}},nd=/^#([0-9a-f]{3,8})$/i,mo=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},il=function(e){var t=e.r,i=e.g,o=e.b,r=e.a,s=Math.max(t,i,o),n=s-Math.min(t,i,o),u=n?s===t?(i-o)/n:s===i?2+(o-t)/n:4+(t-i)/n:0;return{h:60*(u<0?u+6:u),s:s?n/s*100:0,v:s/255*100,a:r}},rl=function(e){var t=e.h,i=e.s,o=e.v,r=e.a;t=t/360*6,i/=100,o/=100;var s=Math.floor(t),n=o*(1-i),u=o*(1-(t-s)*i),c=o*(1-(1-t+s)*i),v=s%6;return{r:255*[o,u,n,n,c,o][v],g:255*[c,o,o,u,n,n][v],b:255*[n,n,c,o,o,u][v],a:r}},ol=function(e){return{h:el(e.h),s:ve(e.s,0,100),l:ve(e.l,0,100),a:ve(e.a)}},sl=function(e){return{h:Y(e.h),s:Y(e.s),l:Y(e.l),a:Y(e.a,3)}},nl=function(e){return rl((i=(t=e).s,{h:t.h,s:(i*=((o=t.l)<50?o:100-o)/100)>0?2*i/(o+i)*100:0,v:o+i,a:t.a}));var t,i,o},lr=function(e){return{h:(t=il(e)).h,s:(r=(200-(i=t.s))*(o=t.v)/100)>0&&r<200?i*o/100/(r<=100?r:200-r)*100:0,l:r/2,a:t.a};var t,i,o,r},ad=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,ld=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,ud=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,cd=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,al={string:[[function(e){var t=nd.exec(e);return t?(e=t[1]).length<=4?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?Y(parseInt(e[3]+e[3],16)/255,2):1}:e.length===6||e.length===8?{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:e.length===8?Y(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=ud.exec(e)||cd.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:tl({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):null},"rgb"],[function(e){var t=ad.exec(e)||ld.exec(e);if(!t)return null;var i,o,r=ol({h:(i=t[1],o=t[2],o===void 0&&(o="deg"),Number(i)*(sd[o]||1)),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return nl(r)},"hsl"]],object:[[function(e){var t=e.r,i=e.g,o=e.b,r=e.a,s=r===void 0?1:r;return Ke(t)&&Ke(i)&&Ke(o)?tl({r:Number(t),g:Number(i),b:Number(o),a:Number(s)}):null},"rgb"],[function(e){var t=e.h,i=e.s,o=e.l,r=e.a,s=r===void 0?1:r;if(!Ke(t)||!Ke(i)||!Ke(o))return null;var n=ol({h:Number(t),s:Number(i),l:Number(o),a:Number(s)});return nl(n)},"hsl"],[function(e){var t=e.h,i=e.s,o=e.v,r=e.a,s=r===void 0?1:r;if(!Ke(t)||!Ke(i)||!Ke(o))return null;var n=function(u){return{h:el(u.h),s:ve(u.s,0,100),v:ve(u.v,0,100),a:ve(u.a)}}({h:Number(t),s:Number(i),v:Number(o),a:Number(s)});return rl(n)},"hsv"]]},ll=function(e,t){for(var i=0;i<t.length;i++){var o=t[i][0](e);if(o)return[o,t[i][1]]}return[null,void 0]},hd=function(e){return typeof e=="string"?ll(e.trim(),al.string):typeof e=="object"&&e!==null?ll(e,al.object):[null,void 0]},Ms=function(e,t){var i=lr(e);return{h:i.h,s:ve(i.s+100*t,0,100),l:i.l,a:i.a}},Ls=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},ul=function(e,t){var i=lr(e);return{h:i.h,s:i.s,l:ve(i.l+100*t,0,100),a:i.a}},cl=function(){function e(t){this.parsed=hd(t)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return e.prototype.isValid=function(){return this.parsed!==null},e.prototype.brightness=function(){return Y(Ls(this.rgba),2)},e.prototype.isDark=function(){return Ls(this.rgba)<.5},e.prototype.isLight=function(){return Ls(this.rgba)>=.5},e.prototype.toHex=function(){return t=Ds(this.rgba),i=t.r,o=t.g,r=t.b,n=(s=t.a)<1?mo(Y(255*s)):"","#"+mo(i)+mo(o)+mo(r)+n;var t,i,o,r,s,n},e.prototype.toRgb=function(){return Ds(this.rgba)},e.prototype.toRgbString=function(){return t=Ds(this.rgba),i=t.r,o=t.g,r=t.b,(s=t.a)<1?"rgba("+i+", "+o+", "+r+", "+s+")":"rgb("+i+", "+o+", "+r+")";var t,i,o,r,s},e.prototype.toHsl=function(){return sl(lr(this.rgba))},e.prototype.toHslString=function(){return t=sl(lr(this.rgba)),i=t.h,o=t.s,r=t.l,(s=t.a)<1?"hsla("+i+", "+o+"%, "+r+"%, "+s+")":"hsl("+i+", "+o+"%, "+r+"%)";var t,i,o,r,s},e.prototype.toHsv=function(){return t=il(this.rgba),{h:Y(t.h),s:Y(t.s),v:Y(t.v),a:Y(t.a,3)};var t},e.prototype.invert=function(){return be({r:255-(t=this.rgba).r,g:255-t.g,b:255-t.b,a:t.a});var t},e.prototype.saturate=function(t){return t===void 0&&(t=.1),be(Ms(this.rgba,t))},e.prototype.desaturate=function(t){return t===void 0&&(t=.1),be(Ms(this.rgba,-t))},e.prototype.grayscale=function(){return be(Ms(this.rgba,-1))},e.prototype.lighten=function(t){return t===void 0&&(t=.1),be(ul(this.rgba,t))},e.prototype.darken=function(t){return t===void 0&&(t=.1),be(ul(this.rgba,-t))},e.prototype.rotate=function(t){return t===void 0&&(t=15),this.hue(this.hue()+t)},e.prototype.alpha=function(t){return typeof t=="number"?be({r:(i=this.rgba).r,g:i.g,b:i.b,a:t}):Y(this.rgba.a,3);var i},e.prototype.hue=function(t){var i=lr(this.rgba);return typeof t=="number"?be({h:t,s:i.s,l:i.l,a:i.a}):Y(i.h)},e.prototype.isEqual=function(t){return this.toHex()===be(t).toHex()},e}(),be=function(e){return e instanceof cl?e:new cl(e)};class _o extends I{constructor(t,i={}){super(t,{bubbles:!0,...i})}}_o.CHANGE="change";var dd=Object.defineProperty,pd=Object.getOwnPropertyDescriptor,Ye=(e,t,i,o)=>{for(var r=o>1?void 0:o?pd(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&dd(t,i,r),r};let ge=class extends b{constructor(){super(...arguments),this.isDraggingGridHandle=!1,this.hue=0,this.saturation=0,this.lightness=0,this.brightness=0,this.alpha=100,this._value="#000",this.disabled=!1}get value(){return this._value}set value(e){const t=this._value;this._value=e,this.requestUpdate("value",t);try{const i=be(e);if(i.isValid()){const{h:o,l:r,a:s}=i.toHsl();o!==0&&(this.hue=o),this.lightness=r,this.brightness=this.getBrightness(r),this.alpha=s*100}}catch(i){console.error("Something went wrong parsing the color string.",i)}}handleGridDrag(e){if(this.disabled)return;const t=this.shadowRoot.querySelector(".color-area"),i=t.querySelector(".color-area__handle"),{width:o,height:r}=t.getBoundingClientRect();i.focus(),e.preventDefault(),e.stopPropagation(),this.isDraggingGridHandle=!0,Ma(t,{onMove:(s,n)=>{isNaN(s)||isNaN(n)||(this.saturation=A(s/o*100,0,100),this.brightness=A(100-n/r*100,0,100),this.lightness=this.getLightness(this.brightness),this.syncValues())},onStop:()=>this.isDraggingGridHandle=!1,initialEvent:e})}handleGridKeyDown(e){if(this.disabled)return;const t=e.shiftKey?10:1;e.key==="ArrowLeft"&&(e.preventDefault(),this.saturation=A(this.saturation-t,0,100),this.syncValues()),e.key==="ArrowRight"&&(e.preventDefault(),this.saturation=A(this.saturation+t,0,100),this.syncValues()),e.key==="ArrowUp"&&(e.preventDefault(),this.brightness=A(this.brightness+t,0,100),this.lightness=this.getLightness(this.brightness),this.syncValues()),e.key==="ArrowDown"&&(e.preventDefault(),this.brightness=A(this.brightness-t,0,100),this.lightness=this.getLightness(this.brightness),this.syncValues())}getBrightness(e){return A(-1*(200*e/(this.saturation-200)),0,100)}getLightness(e){return A((200-this.saturation)*e/100*5/10,0,100)}syncValues(){const e=be({h:this.hue,s:this.saturation,l:this.lightness,a:this.alpha/100});this._value=e.toRgbString(),this.dispatchEvent(new _o(_o.CHANGE))}getHexString(e,t,i,o=100){const r=be(`hsla(${e}, ${t}%, ${i}%, ${o/100})`);return r.isValid()?r.toHex():""}render(){const e=this.saturation,t=100-this.brightness;return l`
2023
+ */const Ds=di(class extends pi{constructor(e){if(super(e),e.type!==$e.ATTRIBUTE||e.name!=="class"||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(this.st===void 0){this.st=new Set,e.strings!==void 0&&(this.nt=new Set(e.strings.join(" ").split(/\s/).filter(o=>o!=="")));for(const o in t)t[o]&&!this.nt?.has(o)&&this.st.add(o);return this.render(t)}const i=e.element.classList;for(const o of this.st)o in t||(i.remove(o),this.st.delete(o));for(const o in t){const r=!!t[o];r===this.st.has(o)||this.nt?.has(o)||(r?(i.add(o),this.st.add(o)):(i.remove(o),this.st.delete(o)))}return ne}});var ad={grad:.9,turn:360,rad:360/(2*Math.PI)},Ke=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},Y=function(e,t,i){return t===void 0&&(t=0),i===void 0&&(i=Math.pow(10,t)),Math.round(i*e)/i+0},be=function(e,t,i){return t===void 0&&(t=0),i===void 0&&(i=1),e>i?i:e>t?e:t},el=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},tl=function(e){return{r:be(e.r,0,255),g:be(e.g,0,255),b:be(e.b,0,255),a:be(e.a)}},Ms=function(e){return{r:Y(e.r),g:Y(e.g),b:Y(e.b),a:Y(e.a,3)}},ld=/^#([0-9a-f]{3,8})$/i,mo=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},il=function(e){var t=e.r,i=e.g,o=e.b,r=e.a,s=Math.max(t,i,o),n=s-Math.min(t,i,o),u=n?s===t?(i-o)/n:s===i?2+(o-t)/n:4+(t-i)/n:0;return{h:60*(u<0?u+6:u),s:s?n/s*100:0,v:s/255*100,a:r}},rl=function(e){var t=e.h,i=e.s,o=e.v,r=e.a;t=t/360*6,i/=100,o/=100;var s=Math.floor(t),n=o*(1-i),u=o*(1-(t-s)*i),c=o*(1-(1-t+s)*i),v=s%6;return{r:255*[o,u,n,n,c,o][v],g:255*[c,o,o,u,n,n][v],b:255*[n,n,c,o,o,u][v],a:r}},ol=function(e){return{h:el(e.h),s:be(e.s,0,100),l:be(e.l,0,100),a:be(e.a)}},sl=function(e){return{h:Y(e.h),s:Y(e.s),l:Y(e.l),a:Y(e.a,3)}},nl=function(e){return rl((i=(t=e).s,{h:t.h,s:(i*=((o=t.l)<50?o:100-o)/100)>0?2*i/(o+i)*100:0,v:o+i,a:t.a}));var t,i,o},lr=function(e){return{h:(t=il(e)).h,s:(r=(200-(i=t.s))*(o=t.v)/100)>0&&r<200?i*o/100/(r<=100?r:200-r)*100:0,l:r/2,a:t.a};var t,i,o,r},ud=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,cd=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,hd=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,dd=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,al={string:[[function(e){var t=ld.exec(e);return t?(e=t[1]).length<=4?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?Y(parseInt(e[3]+e[3],16)/255,2):1}:e.length===6||e.length===8?{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:e.length===8?Y(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=hd.exec(e)||dd.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:tl({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):null},"rgb"],[function(e){var t=ud.exec(e)||cd.exec(e);if(!t)return null;var i,o,r=ol({h:(i=t[1],o=t[2],o===void 0&&(o="deg"),Number(i)*(ad[o]||1)),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return nl(r)},"hsl"]],object:[[function(e){var t=e.r,i=e.g,o=e.b,r=e.a,s=r===void 0?1:r;return Ke(t)&&Ke(i)&&Ke(o)?tl({r:Number(t),g:Number(i),b:Number(o),a:Number(s)}):null},"rgb"],[function(e){var t=e.h,i=e.s,o=e.l,r=e.a,s=r===void 0?1:r;if(!Ke(t)||!Ke(i)||!Ke(o))return null;var n=ol({h:Number(t),s:Number(i),l:Number(o),a:Number(s)});return nl(n)},"hsl"],[function(e){var t=e.h,i=e.s,o=e.v,r=e.a,s=r===void 0?1:r;if(!Ke(t)||!Ke(i)||!Ke(o))return null;var n=function(u){return{h:el(u.h),s:be(u.s,0,100),v:be(u.v,0,100),a:be(u.a)}}({h:Number(t),s:Number(i),v:Number(o),a:Number(s)});return rl(n)},"hsv"]]},ll=function(e,t){for(var i=0;i<t.length;i++){var o=t[i][0](e);if(o)return[o,t[i][1]]}return[null,void 0]},pd=function(e){return typeof e=="string"?ll(e.trim(),al.string):typeof e=="object"&&e!==null?ll(e,al.object):[null,void 0]},Ls=function(e,t){var i=lr(e);return{h:i.h,s:be(i.s+100*t,0,100),l:i.l,a:i.a}},Ts=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},ul=function(e,t){var i=lr(e);return{h:i.h,s:i.s,l:be(i.l+100*t,0,100),a:i.a}},cl=function(){function e(t){this.parsed=pd(t)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return e.prototype.isValid=function(){return this.parsed!==null},e.prototype.brightness=function(){return Y(Ts(this.rgba),2)},e.prototype.isDark=function(){return Ts(this.rgba)<.5},e.prototype.isLight=function(){return Ts(this.rgba)>=.5},e.prototype.toHex=function(){return t=Ms(this.rgba),i=t.r,o=t.g,r=t.b,n=(s=t.a)<1?mo(Y(255*s)):"","#"+mo(i)+mo(o)+mo(r)+n;var t,i,o,r,s,n},e.prototype.toRgb=function(){return Ms(this.rgba)},e.prototype.toRgbString=function(){return t=Ms(this.rgba),i=t.r,o=t.g,r=t.b,(s=t.a)<1?"rgba("+i+", "+o+", "+r+", "+s+")":"rgb("+i+", "+o+", "+r+")";var t,i,o,r,s},e.prototype.toHsl=function(){return sl(lr(this.rgba))},e.prototype.toHslString=function(){return t=sl(lr(this.rgba)),i=t.h,o=t.s,r=t.l,(s=t.a)<1?"hsla("+i+", "+o+"%, "+r+"%, "+s+")":"hsl("+i+", "+o+"%, "+r+"%)";var t,i,o,r,s},e.prototype.toHsv=function(){return t=il(this.rgba),{h:Y(t.h),s:Y(t.s),v:Y(t.v),a:Y(t.a,3)};var t},e.prototype.invert=function(){return ge({r:255-(t=this.rgba).r,g:255-t.g,b:255-t.b,a:t.a});var t},e.prototype.saturate=function(t){return t===void 0&&(t=.1),ge(Ls(this.rgba,t))},e.prototype.desaturate=function(t){return t===void 0&&(t=.1),ge(Ls(this.rgba,-t))},e.prototype.grayscale=function(){return ge(Ls(this.rgba,-1))},e.prototype.lighten=function(t){return t===void 0&&(t=.1),ge(ul(this.rgba,t))},e.prototype.darken=function(t){return t===void 0&&(t=.1),ge(ul(this.rgba,-t))},e.prototype.rotate=function(t){return t===void 0&&(t=15),this.hue(this.hue()+t)},e.prototype.alpha=function(t){return typeof t=="number"?ge({r:(i=this.rgba).r,g:i.g,b:i.b,a:t}):Y(this.rgba.a,3);var i},e.prototype.hue=function(t){var i=lr(this.rgba);return typeof t=="number"?ge({h:t,s:i.s,l:i.l,a:i.a}):Y(i.h)},e.prototype.isEqual=function(t){return this.toHex()===ge(t).toHex()},e}(),ge=function(e){return e instanceof cl?e:new cl(e)};class _o extends U{constructor(t,i={}){super(t,{bubbles:!0,...i})}}_o.CHANGE="change";var fd=Object.defineProperty,vd=Object.getOwnPropertyDescriptor,Ye=(e,t,i,o)=>{for(var r=o>1?void 0:o?vd(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&fd(t,i,r),r};let me=class extends b{constructor(){super(...arguments),this.isDraggingGridHandle=!1,this.hue=0,this.saturation=0,this.lightness=0,this.brightness=0,this.alpha=100,this._value="#000",this.disabled=!1}get value(){return this._value}set value(e){const t=this._value;this._value=e,this.requestUpdate("value",t);try{const i=ge(e);if(i.isValid()){const{h:o,l:r,a:s}=i.toHsl();o!==0&&(this.hue=o),this.lightness=r,this.brightness=this.getBrightness(r),this.alpha=s*100}}catch(i){console.error("Something went wrong parsing the color string.",i)}}handleGridDrag(e){if(this.disabled)return;const t=this.shadowRoot.querySelector(".color-area"),i=t.querySelector(".color-area__handle"),{width:o,height:r}=t.getBoundingClientRect();i.focus(),e.preventDefault(),e.stopPropagation(),this.isDraggingGridHandle=!0,Ma(t,{onMove:(s,n)=>{isNaN(s)||isNaN(n)||(this.saturation=z(s/o*100,0,100),this.brightness=z(100-n/r*100,0,100),this.lightness=this.getLightness(this.brightness),this.syncValues())},onStop:()=>this.isDraggingGridHandle=!1,initialEvent:e})}handleGridKeyDown(e){if(this.disabled)return;const t=e.shiftKey?10:1;e.key==="ArrowLeft"&&(e.preventDefault(),this.saturation=z(this.saturation-t,0,100),this.syncValues()),e.key==="ArrowRight"&&(e.preventDefault(),this.saturation=z(this.saturation+t,0,100),this.syncValues()),e.key==="ArrowUp"&&(e.preventDefault(),this.brightness=z(this.brightness+t,0,100),this.lightness=this.getLightness(this.brightness),this.syncValues()),e.key==="ArrowDown"&&(e.preventDefault(),this.brightness=z(this.brightness-t,0,100),this.lightness=this.getLightness(this.brightness),this.syncValues())}getBrightness(e){return z(-1*(200*e/(this.saturation-200)),0,100)}getLightness(e){return z((200-this.saturation)*e/100*5/10,0,100)}syncValues(){const e=ge({h:this.hue,s:this.saturation,l:this.lightness,a:this.alpha/100});this._value=e.toRgbString(),this.dispatchEvent(new _o(_o.CHANGE))}getHexString(e,t,i,o=100){const r=ge(`hsla(${e}, ${t}%, ${i}%, ${o/100})`);return r.isValid()?r.toHex():""}render(){const e=this.saturation,t=100-this.brightness;return l`
2015
2024
  <div
2016
2025
  part="grid"
2017
2026
  class="color-area"
@@ -2020,14 +2029,14 @@
2020
2029
  @touchstart=${this.handleGridDrag}>
2021
2030
  <span
2022
2031
  part="grid-handle"
2023
- class=${zs({"color-area__handle":!0,"color-area__handle--dragging":this.isDraggingGridHandle})}
2032
+ class=${Ds({"color-area__handle":!0,"color-area__handle--dragging":this.isDraggingGridHandle})}
2024
2033
  style=${Me({top:`${t}%`,left:`${e}%`,backgroundColor:this.getHexString(this.hue,this.saturation,this.lightness,this.alpha)})}
2025
2034
  role="application"
2026
2035
  tabindex=${w(this.disabled?void 0:"0")}
2027
2036
  aria-label="HSB"
2028
2037
  @keydown=${this.handleGridKeyDown}></span>
2029
2038
  </div>
2030
- `}};ge.styles=[p`
2039
+ `}};me.styles=[p`
2031
2040
  :host {
2032
2041
  display: inline-block;
2033
2042
  width: 280px;
@@ -2077,17 +2086,17 @@
2077
2086
  .color-area__handle--empty {
2078
2087
  display: none;
2079
2088
  }
2080
- `],Ye([m()],ge.prototype,"isDraggingGridHandle",2),Ye([a({type:Number})],ge.prototype,"hue",2),Ye([a({type:Number})],ge.prototype,"saturation",2),Ye([a({type:Number})],ge.prototype,"lightness",2),Ye([a({type:Number})],ge.prototype,"brightness",2),Ye([a({type:Number})],ge.prototype,"alpha",2),Ye([a({type:String})],ge.prototype,"value",1),Ye([a({type:Boolean,reflect:!0})],ge.prototype,"disabled",2),ge=Ye([f("uui-color-area")],ge);/**
2089
+ `],Ye([m()],me.prototype,"isDraggingGridHandle",2),Ye([a({type:Number})],me.prototype,"hue",2),Ye([a({type:Number})],me.prototype,"saturation",2),Ye([a({type:Number})],me.prototype,"lightness",2),Ye([a({type:Number})],me.prototype,"brightness",2),Ye([a({type:Number})],me.prototype,"alpha",2),Ye([a({type:String})],me.prototype,"value",1),Ye([a({type:Boolean,reflect:!0})],me.prototype,"disabled",2),me=Ye([f("uui-color-area")],me);/**
2081
2090
  * @license
2082
2091
  * Copyright 2020 Google LLC
2083
2092
  * SPDX-License-Identifier: BSD-3-Clause
2084
- */const{I:fd}=Hu,hl=e=>e.strings===void 0,dl=()=>document.createComment(""),ur=(e,t,i)=>{const o=e._$AA.parentNode,r=t===void 0?e._$AB:t._$AA;if(i===void 0){const s=o.insertBefore(dl(),r),n=o.insertBefore(dl(),r);i=new fd(s,n,e,e.options)}else{const s=i._$AB.nextSibling,n=i._$AM,u=n!==e;if(u){let c;i._$AQ?.(e),i._$AM=e,i._$AP!==void 0&&(c=e._$AU)!==n._$AU&&i._$AP(c)}if(s!==r||u){let c=i._$AA;for(;c!==s;){const v=c.nextSibling;o.insertBefore(c,r),c=v}}}return i},Rt=(e,t,i=e)=>(e._$AI(t,i),e),vd={},pl=(e,t=vd)=>e._$AH=t,bd=e=>e._$AH,Ts=e=>{e._$AP?.(!1,!0);let t=e._$AA;const i=e._$AB.nextSibling;for(;t!==i;){const o=t.nextSibling;t.remove(),t=o}};/**
2093
+ */const{I:bd}=Hu,hl=e=>e.strings===void 0,dl=()=>document.createComment(""),ur=(e,t,i)=>{const o=e._$AA.parentNode,r=t===void 0?e._$AB:t._$AA;if(i===void 0){const s=o.insertBefore(dl(),r),n=o.insertBefore(dl(),r);i=new bd(s,n,e,e.options)}else{const s=i._$AB.nextSibling,n=i._$AM,u=n!==e;if(u){let c;i._$AQ?.(e),i._$AM=e,i._$AP!==void 0&&(c=e._$AU)!==n._$AU&&i._$AP(c)}if(s!==r||u){let c=i._$AA;for(;c!==s;){const v=c.nextSibling;o.insertBefore(c,r),c=v}}}return i},Rt=(e,t,i=e)=>(e._$AI(t,i),e),gd={},pl=(e,t=gd)=>e._$AH=t,md=e=>e._$AH,Vs=e=>{e._$AP?.(!1,!0);let t=e._$AA;const i=e._$AB.nextSibling;for(;t!==i;){const o=t.nextSibling;t.remove(),t=o}};/**
2085
2094
  * @license
2086
2095
  * Copyright 2020 Google LLC
2087
2096
  * SPDX-License-Identifier: BSD-3-Clause
2088
- */const gd=di(class extends pi{constructor(e){if(super(e),e.type!==xe.PROPERTY&&e.type!==xe.ATTRIBUTE&&e.type!==xe.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!hl(e))throw Error("`live` bindings can only contain a single expression")}render(e){return e}update(e,[t]){if(t===se||t===C)return t;const i=e.element,o=e.name;if(e.type===xe.PROPERTY){if(t===i[o])return se}else if(e.type===xe.BOOLEAN_ATTRIBUTE){if(!!t===i.hasAttribute(o))return se}else if(e.type===xe.ATTRIBUTE&&i.getAttribute(o)===t+"")return se;return pl(e),t}});var md={grad:.9,turn:360,rad:360/(2*Math.PI)},Xe=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},X=function(e,t,i){return t===void 0&&(t=0),i===void 0&&(i=Math.pow(10,t)),Math.round(i*e)/i+0},me=function(e,t,i){return t===void 0&&(t=0),i===void 0&&(i=1),e>i?i:e>t?e:t},fl=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},vl=function(e){return{r:me(e.r,0,255),g:me(e.g,0,255),b:me(e.b,0,255),a:me(e.a)}},Vs=function(e){return{r:X(e.r),g:X(e.g),b:X(e.b),a:X(e.a,3)}},_d=/^#([0-9a-f]{3,8})$/i,yo=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},bl=function(e){var t=e.r,i=e.g,o=e.b,r=e.a,s=Math.max(t,i,o),n=s-Math.min(t,i,o),u=n?s===t?(i-o)/n:s===i?2+(o-t)/n:4+(t-i)/n:0;return{h:60*(u<0?u+6:u),s:s?n/s*100:0,v:s/255*100,a:r}},gl=function(e){var t=e.h,i=e.s,o=e.v,r=e.a;t=t/360*6,i/=100,o/=100;var s=Math.floor(t),n=o*(1-i),u=o*(1-(t-s)*i),c=o*(1-(1-t+s)*i),v=s%6;return{r:255*[o,u,n,n,c,o][v],g:255*[c,o,o,u,n,n][v],b:255*[n,n,c,o,o,u][v],a:r}},ml=function(e){return{h:fl(e.h),s:me(e.s,0,100),l:me(e.l,0,100),a:me(e.a)}},_l=function(e){return{h:X(e.h),s:X(e.s),l:X(e.l),a:X(e.a,3)}},yl=function(e){return gl((i=(t=e).s,{h:t.h,s:(i*=((o=t.l)<50?o:100-o)/100)>0?2*i/(o+i)*100:0,v:o+i,a:t.a}));var t,i,o},cr=function(e){return{h:(t=bl(e)).h,s:(r=(200-(i=t.s))*(o=t.v)/100)>0&&r<200?i*o/100/(r<=100?r:200-r)*100:0,l:r/2,a:t.a};var t,i,o,r},yd=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,wd=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,xd=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,$d=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Ns={string:[[function(e){var t=_d.exec(e);return t?(e=t[1]).length<=4?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?X(parseInt(e[3]+e[3],16)/255,2):1}:e.length===6||e.length===8?{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:e.length===8?X(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=xd.exec(e)||$d.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:vl({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):null},"rgb"],[function(e){var t=yd.exec(e)||wd.exec(e);if(!t)return null;var i,o,r=ml({h:(i=t[1],o=t[2],o===void 0&&(o="deg"),Number(i)*(md[o]||1)),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return yl(r)},"hsl"]],object:[[function(e){var t=e.r,i=e.g,o=e.b,r=e.a,s=r===void 0?1:r;return Xe(t)&&Xe(i)&&Xe(o)?vl({r:Number(t),g:Number(i),b:Number(o),a:Number(s)}):null},"rgb"],[function(e){var t=e.h,i=e.s,o=e.l,r=e.a,s=r===void 0?1:r;if(!Xe(t)||!Xe(i)||!Xe(o))return null;var n=ml({h:Number(t),s:Number(i),l:Number(o),a:Number(s)});return yl(n)},"hsl"],[function(e){var t=e.h,i=e.s,o=e.v,r=e.a,s=r===void 0?1:r;if(!Xe(t)||!Xe(i)||!Xe(o))return null;var n=function(u){return{h:fl(u.h),s:me(u.s,0,100),v:me(u.v,0,100),a:me(u.a)}}({h:Number(t),s:Number(i),v:Number(o),a:Number(s)});return gl(n)},"hsv"]]},wl=function(e,t){for(var i=0;i<t.length;i++){var o=t[i][0](e);if(o)return[o,t[i][1]]}return[null,void 0]},Cd=function(e){return typeof e=="string"?wl(e.trim(),Ns.string):typeof e=="object"&&e!==null?wl(e,Ns.object):[null,void 0]},Hs=function(e,t){var i=cr(e);return{h:i.h,s:me(i.s+100*t,0,100),l:i.l,a:i.a}},Bs=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},xl=function(e,t){var i=cr(e);return{h:i.h,s:i.s,l:me(i.l+100*t,0,100),a:i.a}},wo=function(){function e(t){this.parsed=Cd(t)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return e.prototype.isValid=function(){return this.parsed!==null},e.prototype.brightness=function(){return X(Bs(this.rgba),2)},e.prototype.isDark=function(){return Bs(this.rgba)<.5},e.prototype.isLight=function(){return Bs(this.rgba)>=.5},e.prototype.toHex=function(){return t=Vs(this.rgba),i=t.r,o=t.g,r=t.b,n=(s=t.a)<1?yo(X(255*s)):"","#"+yo(i)+yo(o)+yo(r)+n;var t,i,o,r,s,n},e.prototype.toRgb=function(){return Vs(this.rgba)},e.prototype.toRgbString=function(){return t=Vs(this.rgba),i=t.r,o=t.g,r=t.b,(s=t.a)<1?"rgba("+i+", "+o+", "+r+", "+s+")":"rgb("+i+", "+o+", "+r+")";var t,i,o,r,s},e.prototype.toHsl=function(){return _l(cr(this.rgba))},e.prototype.toHslString=function(){return t=_l(cr(this.rgba)),i=t.h,o=t.s,r=t.l,(s=t.a)<1?"hsla("+i+", "+o+"%, "+r+"%, "+s+")":"hsl("+i+", "+o+"%, "+r+"%)";var t,i,o,r,s},e.prototype.toHsv=function(){return t=bl(this.rgba),{h:X(t.h),s:X(t.s),v:X(t.v),a:X(t.a,3)};var t},e.prototype.invert=function(){return Ce({r:255-(t=this.rgba).r,g:255-t.g,b:255-t.b,a:t.a});var t},e.prototype.saturate=function(t){return t===void 0&&(t=.1),Ce(Hs(this.rgba,t))},e.prototype.desaturate=function(t){return t===void 0&&(t=.1),Ce(Hs(this.rgba,-t))},e.prototype.grayscale=function(){return Ce(Hs(this.rgba,-1))},e.prototype.lighten=function(t){return t===void 0&&(t=.1),Ce(xl(this.rgba,t))},e.prototype.darken=function(t){return t===void 0&&(t=.1),Ce(xl(this.rgba,-t))},e.prototype.rotate=function(t){return t===void 0&&(t=15),this.hue(this.hue()+t)},e.prototype.alpha=function(t){return typeof t=="number"?Ce({r:(i=this.rgba).r,g:i.g,b:i.b,a:t}):X(this.rgba.a,3);var i},e.prototype.hue=function(t){var i=cr(this.rgba);return typeof t=="number"?Ce({h:t,s:i.s,l:i.l,a:i.a}):X(i.h)},e.prototype.isEqual=function(t){return this.toHex()===Ce(t).toHex()},e}(),Ce=function(e){return e instanceof wo?e:new wo(e)},$l=[],kd=function(e){e.forEach(function(t){$l.indexOf(t)<0&&(t(wo,Ns),$l.push(t))})};function Ed(e,t){var i={white:"#ffffff",bisque:"#ffe4c4",blue:"#0000ff",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",antiquewhite:"#faebd7",aqua:"#00ffff",azure:"#f0ffff",whitesmoke:"#f5f5f5",papayawhip:"#ffefd5",plum:"#dda0dd",blanchedalmond:"#ffebcd",black:"#000000",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",cornsilk:"#fff8dc",cornflowerblue:"#6495ed",burlywood:"#deb887",aquamarine:"#7fffd4",beige:"#f5f5dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkkhaki:"#bdb76b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",peachpuff:"#ffdab9",darkmagenta:"#8b008b",darkred:"#8b0000",darkorchid:"#9932cc",darkorange:"#ff8c00",darkslateblue:"#483d8b",gray:"#808080",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",deeppink:"#ff1493",deepskyblue:"#00bfff",wheat:"#f5deb3",firebrick:"#b22222",floralwhite:"#fffaf0",ghostwhite:"#f8f8ff",darkviolet:"#9400d3",magenta:"#ff00ff",green:"#008000",dodgerblue:"#1e90ff",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",blueviolet:"#8a2be2",forestgreen:"#228b22",lawngreen:"#7cfc00",indianred:"#cd5c5c",indigo:"#4b0082",fuchsia:"#ff00ff",brown:"#a52a2a",maroon:"#800000",mediumblue:"#0000cd",lightcoral:"#f08080",darkturquoise:"#00ced1",lightcyan:"#e0ffff",ivory:"#fffff0",lightyellow:"#ffffe0",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",linen:"#faf0e6",mediumaquamarine:"#66cdaa",lemonchiffon:"#fffacd",lime:"#00ff00",khaki:"#f0e68c",mediumseagreen:"#3cb371",limegreen:"#32cd32",mediumspringgreen:"#00fa9a",lightskyblue:"#87cefa",lightblue:"#add8e6",midnightblue:"#191970",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",mintcream:"#f5fffa",lightslategray:"#778899",lightslategrey:"#778899",navajowhite:"#ffdead",navy:"#000080",mediumvioletred:"#c71585",powderblue:"#b0e0e6",palegoldenrod:"#eee8aa",oldlace:"#fdf5e6",paleturquoise:"#afeeee",mediumturquoise:"#48d1cc",mediumorchid:"#ba55d3",rebeccapurple:"#663399",lightsteelblue:"#b0c4de",mediumslateblue:"#7b68ee",thistle:"#d8bfd8",tan:"#d2b48c",orchid:"#da70d6",mediumpurple:"#9370db",purple:"#800080",pink:"#ffc0cb",skyblue:"#87ceeb",springgreen:"#00ff7f",palegreen:"#98fb98",red:"#ff0000",yellow:"#ffff00",slateblue:"#6a5acd",lavenderblush:"#fff0f5",peru:"#cd853f",palevioletred:"#db7093",violet:"#ee82ee",teal:"#008080",slategray:"#708090",slategrey:"#708090",aliceblue:"#f0f8ff",darkseagreen:"#8fbc8f",darkolivegreen:"#556b2f",greenyellow:"#adff2f",seagreen:"#2e8b57",seashell:"#fff5ee",tomato:"#ff6347",silver:"#c0c0c0",sienna:"#a0522d",lavender:"#e6e6fa",lightgreen:"#90ee90",orange:"#ffa500",orangered:"#ff4500",steelblue:"#4682b4",royalblue:"#4169e1",turquoise:"#40e0d0",yellowgreen:"#9acd32",salmon:"#fa8072",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",darksalmon:"#e9967a",lightgoldenrodyellow:"#fafad2",snow:"#fffafa",lightgrey:"#d3d3d3",lightgray:"#d3d3d3",dimgray:"#696969",dimgrey:"#696969",olivedrab:"#6b8e23",olive:"#808000"},o={};for(var r in i)o[i[r]]=r;var s={};e.prototype.toName=function(n){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var u,c,v=o[this.toHex()];if(v)return v;if(n?.closest){var g=this.toRgb(),d=1/0,k="black";if(!s.length)for(var h in i)s[h]=new e(i[h]).toRgb();for(var _ in i){var L=(u=g,c=s[_],Math.pow(u.r-c.r,2)+Math.pow(u.g-c.g,2)+Math.pow(u.b-c.b,2));L<d&&(d=L,k=_)}return k}},t.string.push([function(n){var u=n.toLowerCase(),c=u==="transparent"?"#0000":i[u];return c?new e(c).toRgb():null},"name"])}class _i extends I{constructor(t,i={}){super(t,{bubbles:!0,...i})}}_i.CHANGE="change";var Pd=Object.defineProperty,Sd=Object.getOwnPropertyDescriptor,F=(e,t,i,o)=>{for(var r=o>1?void 0:o?Sd(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Pd(t,i,r),r};kd([Ed]);const Cl="EyeDropper"in window;let V=class extends Ue("label",b){constructor(){super(...arguments),this._value="",this.inputValue="",this.hue=0,this.saturation=0,this.lightness=0,this.alpha=0,this._colord=Ce("hsl(0, 0%, 0%)"),this.format="hex",this.name="",this.size="medium",this.noFormatToggle=!1,this.inline=!1,this.disabled=!1,this.opacity=!1,this.uppercase=!1,this.swatches=["#d0021b","#f5a623","#f8e71c","#8b572a","#7ed321","#417505","#bd10e0","#9013fe","#4a90e2","#50e3c2","#b8e986","#000","#444","#888","#ccc","#fff"]}set value(e){this.value!==e&&this.setColor(e),this._value=e}get value(){return this._value}connectedCallback(){super.connectedCallback(),x(this,"uui-icon"),x(this,"uui-icon-registry-essential"),x(this,"uui-input"),x(this,"uui-button"),x(this,"uui-button-group"),x(this,"uui-color-swatches"),x(this,"uui-color-swatch"),x(this,"uui-color-area"),x(this,"uui-color-slider"),x(this,"uui-popover-container")}getFormattedValue(e){const t=this.opacity?`${e}a`:e,i=this._colord.toHex(),o=i.length>7?i.substring(0,i.length-2):i,{r,g:s,b:n}=this._colord.toRgb(),{h:u,s:c,l:v}=this._colord.toHsl(),{v:g}=this._colord.toHsv(),d=this._colord.alpha();switch(t){case"hex":return this.setLetterCase(o);case"hexa":return this.setLetterCase(i);case"rgb":return this.setLetterCase(`rgb(${r}, ${s}, ${n})`);case"rgba":return this.setLetterCase(this._colord.toRgbString());case"hsl":return this.setLetterCase(`hsl(${u}, ${c}%, ${v}%)`);case"hsla":return this.setLetterCase(this._colord.toHslString());case"hsv":return this.setLetterCase(`hsv(${u}, ${c}%, ${v}%)`);case"hsva":return this.setLetterCase(`hsva(${u}, ${c}%, ${g}%, ${d})`);default:return""}}getBrightness(e){return A(-1*(200*e/(this.saturation-200)),0,100)}getLightness(e){return A((200-this.saturation)*e/100*5/10,0,100)}handleFormatToggle(){const e=["hex","rgb","hsl","hsv"],t=(e.indexOf(this.format)+1)%e.length;this.format=e[t],this._syncValues()}handleAlphaChange(e){e.stopPropagation(),this._swatches?.resetSelection();const t=e.target,i={h:this.hue,s:this.saturation,l:this.lightness,a:Math.round(t.value)/100};this.setColor(i)}handleHueChange(e){e.stopPropagation(),this._swatches?.resetSelection();const i={h:e.target.value,s:this.saturation,l:this.lightness,a:this.alpha/100};this.setColor(i)}handleGridChange(e){e.stopPropagation(),this._swatches?.resetSelection();const t=e.target,i={h:this.hue,s:t.saturation,l:t.lightness,a:this.alpha/100};this.setColor(i)}handleInputChange(e){e.stopImmediatePropagation(),this._swatches?.resetSelection(),this.inputValue=this._input.value,this.setColor(this.inputValue)}handleInputKeyDown(e){e.stopImmediatePropagation(),e.key==="Enter"&&(this._swatches?.resetSelection(),this.inputValue=this._input.value,this.setColor(this.inputValue),setTimeout(()=>this._input.select()))}handleColorSwatchChange(e){e.stopImmediatePropagation();const t=e.target;this.setColor(t.value)}handleCopy(){navigator.clipboard.writeText(this._input.value).then(()=>{this._previewButton.classList.add("color-picker__preview-color--copied"),this._previewButton.addEventListener("animationend",()=>{this._previewButton.classList.remove("color-picker__preview-color--copied")})})}handleEyeDropper(){if(!Cl)return;new EyeDropper().open().then(t=>this.setColor(t.sRGBHex)).catch(()=>{})}setColor(e){if(e===this.value)return;if(!e)return this.alpha=0,this.inputValue="",this._value=e,this.dispatchEvent(new _i(_i.CHANGE)),!0;const t=new wo(e),{h:i,s:o,l:r,a:s}=t.toHsl();this.hue=i,this.saturation=o,this.lightness=r,this.alpha=this.opacity?s*100:100;const n=e;return n&&n.h&&(this.hue=n.h),this._colord=t,this._syncValues(),this.dispatchEvent(new _i(_i.CHANGE)),!0}setLetterCase(e){return typeof e!="string"?"":this.uppercase?e.toUpperCase():e.toLowerCase()}getHexString(e,t,i,o=100){const r=Ce(`hsla(${e}, ${t}%, ${i}%, ${o/100})`);return r.isValid()?r.toHex():""}_syncValues(){this.inputValue=this.getFormattedValue(this.format),this._value=this.inputValue}_renderColorPicker(){return l`
2097
+ */const _d=di(class extends pi{constructor(e){if(super(e),e.type!==$e.PROPERTY&&e.type!==$e.ATTRIBUTE&&e.type!==$e.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!hl(e))throw Error("`live` bindings can only contain a single expression")}render(e){return e}update(e,[t]){if(t===ne||t===k)return t;const i=e.element,o=e.name;if(e.type===$e.PROPERTY){if(t===i[o])return ne}else if(e.type===$e.BOOLEAN_ATTRIBUTE){if(!!t===i.hasAttribute(o))return ne}else if(e.type===$e.ATTRIBUTE&&i.getAttribute(o)===t+"")return ne;return pl(e),t}});var yd={grad:.9,turn:360,rad:360/(2*Math.PI)},Xe=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},X=function(e,t,i){return t===void 0&&(t=0),i===void 0&&(i=Math.pow(10,t)),Math.round(i*e)/i+0},_e=function(e,t,i){return t===void 0&&(t=0),i===void 0&&(i=1),e>i?i:e>t?e:t},fl=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},vl=function(e){return{r:_e(e.r,0,255),g:_e(e.g,0,255),b:_e(e.b,0,255),a:_e(e.a)}},Ns=function(e){return{r:X(e.r),g:X(e.g),b:X(e.b),a:X(e.a,3)}},wd=/^#([0-9a-f]{3,8})$/i,yo=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},bl=function(e){var t=e.r,i=e.g,o=e.b,r=e.a,s=Math.max(t,i,o),n=s-Math.min(t,i,o),u=n?s===t?(i-o)/n:s===i?2+(o-t)/n:4+(t-i)/n:0;return{h:60*(u<0?u+6:u),s:s?n/s*100:0,v:s/255*100,a:r}},gl=function(e){var t=e.h,i=e.s,o=e.v,r=e.a;t=t/360*6,i/=100,o/=100;var s=Math.floor(t),n=o*(1-i),u=o*(1-(t-s)*i),c=o*(1-(1-t+s)*i),v=s%6;return{r:255*[o,u,n,n,c,o][v],g:255*[c,o,o,u,n,n][v],b:255*[n,n,c,o,o,u][v],a:r}},ml=function(e){return{h:fl(e.h),s:_e(e.s,0,100),l:_e(e.l,0,100),a:_e(e.a)}},_l=function(e){return{h:X(e.h),s:X(e.s),l:X(e.l),a:X(e.a,3)}},yl=function(e){return gl((i=(t=e).s,{h:t.h,s:(i*=((o=t.l)<50?o:100-o)/100)>0?2*i/(o+i)*100:0,v:o+i,a:t.a}));var t,i,o},cr=function(e){return{h:(t=bl(e)).h,s:(r=(200-(i=t.s))*(o=t.v)/100)>0&&r<200?i*o/100/(r<=100?r:200-r)*100:0,l:r/2,a:t.a};var t,i,o,r},xd=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,$d=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,kd=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Cd=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Hs={string:[[function(e){var t=wd.exec(e);return t?(e=t[1]).length<=4?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?X(parseInt(e[3]+e[3],16)/255,2):1}:e.length===6||e.length===8?{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:e.length===8?X(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=kd.exec(e)||Cd.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:vl({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):null},"rgb"],[function(e){var t=xd.exec(e)||$d.exec(e);if(!t)return null;var i,o,r=ml({h:(i=t[1],o=t[2],o===void 0&&(o="deg"),Number(i)*(yd[o]||1)),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return yl(r)},"hsl"]],object:[[function(e){var t=e.r,i=e.g,o=e.b,r=e.a,s=r===void 0?1:r;return Xe(t)&&Xe(i)&&Xe(o)?vl({r:Number(t),g:Number(i),b:Number(o),a:Number(s)}):null},"rgb"],[function(e){var t=e.h,i=e.s,o=e.l,r=e.a,s=r===void 0?1:r;if(!Xe(t)||!Xe(i)||!Xe(o))return null;var n=ml({h:Number(t),s:Number(i),l:Number(o),a:Number(s)});return yl(n)},"hsl"],[function(e){var t=e.h,i=e.s,o=e.v,r=e.a,s=r===void 0?1:r;if(!Xe(t)||!Xe(i)||!Xe(o))return null;var n=function(u){return{h:fl(u.h),s:_e(u.s,0,100),v:_e(u.v,0,100),a:_e(u.a)}}({h:Number(t),s:Number(i),v:Number(o),a:Number(s)});return gl(n)},"hsv"]]},wl=function(e,t){for(var i=0;i<t.length;i++){var o=t[i][0](e);if(o)return[o,t[i][1]]}return[null,void 0]},Ed=function(e){return typeof e=="string"?wl(e.trim(),Hs.string):typeof e=="object"&&e!==null?wl(e,Hs.object):[null,void 0]},Bs=function(e,t){var i=cr(e);return{h:i.h,s:_e(i.s+100*t,0,100),l:i.l,a:i.a}},js=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},xl=function(e,t){var i=cr(e);return{h:i.h,s:i.s,l:_e(i.l+100*t,0,100),a:i.a}},wo=function(){function e(t){this.parsed=Ed(t)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return e.prototype.isValid=function(){return this.parsed!==null},e.prototype.brightness=function(){return X(js(this.rgba),2)},e.prototype.isDark=function(){return js(this.rgba)<.5},e.prototype.isLight=function(){return js(this.rgba)>=.5},e.prototype.toHex=function(){return t=Ns(this.rgba),i=t.r,o=t.g,r=t.b,n=(s=t.a)<1?yo(X(255*s)):"","#"+yo(i)+yo(o)+yo(r)+n;var t,i,o,r,s,n},e.prototype.toRgb=function(){return Ns(this.rgba)},e.prototype.toRgbString=function(){return t=Ns(this.rgba),i=t.r,o=t.g,r=t.b,(s=t.a)<1?"rgba("+i+", "+o+", "+r+", "+s+")":"rgb("+i+", "+o+", "+r+")";var t,i,o,r,s},e.prototype.toHsl=function(){return _l(cr(this.rgba))},e.prototype.toHslString=function(){return t=_l(cr(this.rgba)),i=t.h,o=t.s,r=t.l,(s=t.a)<1?"hsla("+i+", "+o+"%, "+r+"%, "+s+")":"hsl("+i+", "+o+"%, "+r+"%)";var t,i,o,r,s},e.prototype.toHsv=function(){return t=bl(this.rgba),{h:X(t.h),s:X(t.s),v:X(t.v),a:X(t.a,3)};var t},e.prototype.invert=function(){return Ce({r:255-(t=this.rgba).r,g:255-t.g,b:255-t.b,a:t.a});var t},e.prototype.saturate=function(t){return t===void 0&&(t=.1),Ce(Bs(this.rgba,t))},e.prototype.desaturate=function(t){return t===void 0&&(t=.1),Ce(Bs(this.rgba,-t))},e.prototype.grayscale=function(){return Ce(Bs(this.rgba,-1))},e.prototype.lighten=function(t){return t===void 0&&(t=.1),Ce(xl(this.rgba,t))},e.prototype.darken=function(t){return t===void 0&&(t=.1),Ce(xl(this.rgba,-t))},e.prototype.rotate=function(t){return t===void 0&&(t=15),this.hue(this.hue()+t)},e.prototype.alpha=function(t){return typeof t=="number"?Ce({r:(i=this.rgba).r,g:i.g,b:i.b,a:t}):X(this.rgba.a,3);var i},e.prototype.hue=function(t){var i=cr(this.rgba);return typeof t=="number"?Ce({h:t,s:i.s,l:i.l,a:i.a}):X(i.h)},e.prototype.isEqual=function(t){return this.toHex()===Ce(t).toHex()},e}(),Ce=function(e){return e instanceof wo?e:new wo(e)},$l=[],Pd=function(e){e.forEach(function(t){$l.indexOf(t)<0&&(t(wo,Hs),$l.push(t))})};function Od(e,t){var i={white:"#ffffff",bisque:"#ffe4c4",blue:"#0000ff",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",antiquewhite:"#faebd7",aqua:"#00ffff",azure:"#f0ffff",whitesmoke:"#f5f5f5",papayawhip:"#ffefd5",plum:"#dda0dd",blanchedalmond:"#ffebcd",black:"#000000",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",cornsilk:"#fff8dc",cornflowerblue:"#6495ed",burlywood:"#deb887",aquamarine:"#7fffd4",beige:"#f5f5dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkkhaki:"#bdb76b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",peachpuff:"#ffdab9",darkmagenta:"#8b008b",darkred:"#8b0000",darkorchid:"#9932cc",darkorange:"#ff8c00",darkslateblue:"#483d8b",gray:"#808080",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",deeppink:"#ff1493",deepskyblue:"#00bfff",wheat:"#f5deb3",firebrick:"#b22222",floralwhite:"#fffaf0",ghostwhite:"#f8f8ff",darkviolet:"#9400d3",magenta:"#ff00ff",green:"#008000",dodgerblue:"#1e90ff",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",blueviolet:"#8a2be2",forestgreen:"#228b22",lawngreen:"#7cfc00",indianred:"#cd5c5c",indigo:"#4b0082",fuchsia:"#ff00ff",brown:"#a52a2a",maroon:"#800000",mediumblue:"#0000cd",lightcoral:"#f08080",darkturquoise:"#00ced1",lightcyan:"#e0ffff",ivory:"#fffff0",lightyellow:"#ffffe0",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",linen:"#faf0e6",mediumaquamarine:"#66cdaa",lemonchiffon:"#fffacd",lime:"#00ff00",khaki:"#f0e68c",mediumseagreen:"#3cb371",limegreen:"#32cd32",mediumspringgreen:"#00fa9a",lightskyblue:"#87cefa",lightblue:"#add8e6",midnightblue:"#191970",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",mintcream:"#f5fffa",lightslategray:"#778899",lightslategrey:"#778899",navajowhite:"#ffdead",navy:"#000080",mediumvioletred:"#c71585",powderblue:"#b0e0e6",palegoldenrod:"#eee8aa",oldlace:"#fdf5e6",paleturquoise:"#afeeee",mediumturquoise:"#48d1cc",mediumorchid:"#ba55d3",rebeccapurple:"#663399",lightsteelblue:"#b0c4de",mediumslateblue:"#7b68ee",thistle:"#d8bfd8",tan:"#d2b48c",orchid:"#da70d6",mediumpurple:"#9370db",purple:"#800080",pink:"#ffc0cb",skyblue:"#87ceeb",springgreen:"#00ff7f",palegreen:"#98fb98",red:"#ff0000",yellow:"#ffff00",slateblue:"#6a5acd",lavenderblush:"#fff0f5",peru:"#cd853f",palevioletred:"#db7093",violet:"#ee82ee",teal:"#008080",slategray:"#708090",slategrey:"#708090",aliceblue:"#f0f8ff",darkseagreen:"#8fbc8f",darkolivegreen:"#556b2f",greenyellow:"#adff2f",seagreen:"#2e8b57",seashell:"#fff5ee",tomato:"#ff6347",silver:"#c0c0c0",sienna:"#a0522d",lavender:"#e6e6fa",lightgreen:"#90ee90",orange:"#ffa500",orangered:"#ff4500",steelblue:"#4682b4",royalblue:"#4169e1",turquoise:"#40e0d0",yellowgreen:"#9acd32",salmon:"#fa8072",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",darksalmon:"#e9967a",lightgoldenrodyellow:"#fafad2",snow:"#fffafa",lightgrey:"#d3d3d3",lightgray:"#d3d3d3",dimgray:"#696969",dimgrey:"#696969",olivedrab:"#6b8e23",olive:"#808000"},o={};for(var r in i)o[i[r]]=r;var s={};e.prototype.toName=function(n){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var u,c,v=o[this.toHex()];if(v)return v;if(n?.closest){var g=this.toRgb(),d=1/0,C="black";if(!s.length)for(var h in i)s[h]=new e(i[h]).toRgb();for(var _ in i){var L=(u=g,c=s[_],Math.pow(u.r-c.r,2)+Math.pow(u.g-c.g,2)+Math.pow(u.b-c.b,2));L<d&&(d=L,C=_)}return C}},t.string.push([function(n){var u=n.toLowerCase(),c=u==="transparent"?"#0000":i[u];return c?new e(c).toRgb():null},"name"])}class _i extends U{constructor(t,i={}){super(t,{bubbles:!0,...i})}}_i.CHANGE="change";var Sd=Object.defineProperty,Id=Object.getOwnPropertyDescriptor,W=(e,t,i,o)=>{for(var r=o>1?void 0:o?Id(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Sd(t,i,r),r};Pd([Od]);const kl="EyeDropper"in window;let N=class extends Ue("label",b){constructor(){super(...arguments),this._value="",this.inputValue="",this.hue=0,this.saturation=0,this.lightness=0,this.alpha=0,this._colord=Ce("hsl(0, 0%, 0%)"),this.format="hex",this.name="",this.size="medium",this.noFormatToggle=!1,this.inline=!1,this.disabled=!1,this.opacity=!1,this.uppercase=!1,this.swatches=["#d0021b","#f5a623","#f8e71c","#8b572a","#7ed321","#417505","#bd10e0","#9013fe","#4a90e2","#50e3c2","#b8e986","#000","#444","#888","#ccc","#fff"]}set value(e){this.value!==e&&this.setColor(e),this._value=e}get value(){return this._value}connectedCallback(){super.connectedCallback(),x(this,"uui-icon"),x(this,"uui-icon-registry-essential"),x(this,"uui-input"),x(this,"uui-button"),x(this,"uui-button-group"),x(this,"uui-color-swatches"),x(this,"uui-color-swatch"),x(this,"uui-color-area"),x(this,"uui-color-slider"),x(this,"uui-popover-container")}getFormattedValue(e){const t=this.opacity?`${e}a`:e,i=this._colord.toHex(),o=i.length>7?i.substring(0,i.length-2):i,{r,g:s,b:n}=this._colord.toRgb(),{h:u,s:c,l:v}=this._colord.toHsl(),{v:g}=this._colord.toHsv(),d=this._colord.alpha();switch(t){case"hex":return this.setLetterCase(o);case"hexa":return this.setLetterCase(i);case"rgb":return this.setLetterCase(`rgb(${r}, ${s}, ${n})`);case"rgba":return this.setLetterCase(this._colord.toRgbString());case"hsl":return this.setLetterCase(`hsl(${u}, ${c}%, ${v}%)`);case"hsla":return this.setLetterCase(this._colord.toHslString());case"hsv":return this.setLetterCase(`hsv(${u}, ${c}%, ${v}%)`);case"hsva":return this.setLetterCase(`hsva(${u}, ${c}%, ${g}%, ${d})`);default:return""}}getBrightness(e){return z(-1*(200*e/(this.saturation-200)),0,100)}getLightness(e){return z((200-this.saturation)*e/100*5/10,0,100)}handleFormatToggle(){const e=["hex","rgb","hsl","hsv"],t=(e.indexOf(this.format)+1)%e.length;this.format=e[t],this._syncValues()}handleAlphaChange(e){e.stopPropagation(),this._swatches?.resetSelection();const t=e.target,i={h:this.hue,s:this.saturation,l:this.lightness,a:Math.round(t.value)/100};this.setColor(i)}handleHueChange(e){e.stopPropagation(),this._swatches?.resetSelection();const i={h:e.target.value,s:this.saturation,l:this.lightness,a:this.alpha/100};this.setColor(i)}handleGridChange(e){e.stopPropagation(),this._swatches?.resetSelection();const t=e.target,i={h:this.hue,s:t.saturation,l:t.lightness,a:this.alpha/100};this.setColor(i)}handleInputChange(e){e.stopImmediatePropagation(),this._swatches?.resetSelection(),this.inputValue=this._input.value,this.setColor(this.inputValue)}handleInputKeyDown(e){e.stopImmediatePropagation(),e.key==="Enter"&&(this._swatches?.resetSelection(),this.inputValue=this._input.value,this.setColor(this.inputValue),setTimeout(()=>this._input.select()))}handleColorSwatchChange(e){e.stopImmediatePropagation();const t=e.target;this.setColor(t.value)}handleCopy(){navigator.clipboard.writeText(this._input.value).then(()=>{this._previewButton.classList.add("color-picker__preview-color--copied"),this._previewButton.addEventListener("animationend",()=>{this._previewButton.classList.remove("color-picker__preview-color--copied")})})}handleEyeDropper(){if(!kl)return;new EyeDropper().open().then(t=>this.setColor(t.sRGBHex)).catch(()=>{})}setColor(e){if(e===this.value)return;if(!e)return this.alpha=0,this.inputValue="",this._value=e,this.dispatchEvent(new _i(_i.CHANGE)),!0;const t=new wo(e),{h:i,s:o,l:r,a:s}=t.toHsl();this.hue=i,this.saturation=o,this.lightness=r,this.alpha=this.opacity?s*100:100;const n=e;return n&&n.h&&(this.hue=n.h),this._colord=t,this._syncValues(),this.dispatchEvent(new _i(_i.CHANGE)),!0}setLetterCase(e){return typeof e!="string"?"":this.uppercase?e.toUpperCase():e.toLowerCase()}getHexString(e,t,i,o=100){const r=Ce(`hsla(${e}, ${t}%, ${i}%, ${o/100})`);return r.isValid()?r.toHex():""}_syncValues(){this.inputValue=this.getFormattedValue(this.format),this._value=this.inputValue}_renderColorPicker(){return l`
2089
2098
  <div
2090
- class=${zs({"color-picker":!0,"color-picker--inline":this.inline,"color-picker--disabled":this.disabled})}
2099
+ class=${Ds({"color-picker":!0,"color-picker--inline":this.inline,"color-picker--disabled":this.disabled})}
2091
2100
  aria-disabled=${this.disabled?"true":"false"}>
2092
2101
  <uui-color-area
2093
2102
  .value="${this.value}"
@@ -2134,7 +2143,7 @@
2134
2143
  autocomplete="off"
2135
2144
  autocapitalize="off"
2136
2145
  spellcheck="false"
2137
- .value=${gd(this.inputValue)}
2146
+ .value=${_d(this.inputValue)}
2138
2147
  ?disabled=${this.disabled}
2139
2148
  @keydown=${this.handleInputKeyDown}
2140
2149
  @change=${this.handleInputChange}>
@@ -2148,7 +2157,7 @@
2148
2157
  compact>
2149
2158
  <span>${this.format}</span>
2150
2159
  </uui-button>`}
2151
- ${Cl?l`<uui-button
2160
+ ${kl?l`<uui-button
2152
2161
  label="Select a color"
2153
2162
  ?disabled=${this.disabled}
2154
2163
  @click=${this.handleEyeDropper}
@@ -2169,11 +2178,11 @@
2169
2178
  @change=${this.handleColorSwatchChange}>
2170
2179
  ${this.swatches.map(e=>l`<uui-color-swatch label="${e}" .value=${e}>
2171
2180
  </uui-color-swatch>`)}
2172
- </uui-color-swatches>`:C}_renderPreviewButton(){return l`<button
2181
+ </uui-color-swatches>`:k}_renderPreviewButton(){return l`<button
2173
2182
  type="button"
2174
2183
  part="trigger"
2175
2184
  aria-label="${this.label||"Open Color picker"}"
2176
- class=${zs({"color-picker__trigger":!0,"color-dropdown__trigger--disabled":this.disabled,"color-dropdown__trigger--small":this.size==="small","color-dropdown__trigger--medium":this.size==="medium","color-dropdown__trigger--large":this.size==="large","color-picker__transparent-bg":!0})}
2185
+ class=${Ds({"color-picker__trigger":!0,"color-dropdown__trigger--disabled":this.disabled,"color-dropdown__trigger--small":this.size==="small","color-dropdown__trigger--medium":this.size==="medium","color-dropdown__trigger--large":this.size==="large","color-picker__transparent-bg":!0})}
2177
2186
  style=${Me({"--preview-color":`hsla(${this.hue}deg, ${this.saturation}%, ${this.lightness}%, ${this.alpha/100})`})}
2178
2187
  ?disabled=${this.disabled}
2179
2188
  aria-haspopup="true"
@@ -2181,7 +2190,7 @@
2181
2190
  popovertarget="color-picker-popover"></button>
2182
2191
  <uui-popover-container id="color-picker-popover">
2183
2192
  ${this._renderColorPicker()}
2184
- </uui-popover-container>`}render(){return this.inline?this._renderColorPicker():this._renderPreviewButton()}};V.styles=[p`
2193
+ </uui-popover-container>`}render(){return this.inline?this._renderColorPicker():this._renderPreviewButton()}};N.styles=[p`
2185
2194
  :host {
2186
2195
  --uui-look-outline-border: #ddd;
2187
2196
  --uui-look-outline-border-hover: #aaa;
@@ -2323,7 +2332,7 @@
2323
2332
  uui-color-area {
2324
2333
  width: 100%;
2325
2334
  }
2326
- `],F([O('[part="input"]')],V.prototype,"_input",2),F([O(".color-picker__preview")],V.prototype,"_previewButton",2),F([O("#swatches")],V.prototype,"_swatches",2),F([m()],V.prototype,"inputValue",2),F([m()],V.prototype,"hue",2),F([m()],V.prototype,"saturation",2),F([m()],V.prototype,"lightness",2),F([m()],V.prototype,"alpha",2),F([m()],V.prototype,"_colord",2),F([a()],V.prototype,"value",1),F([a()],V.prototype,"format",2),F([a()],V.prototype,"name",2),F([a()],V.prototype,"size",2),F([a({attribute:"no-format-toggle",type:Boolean})],V.prototype,"noFormatToggle",2),F([a({type:Boolean,reflect:!0})],V.prototype,"inline",2),F([a({type:Boolean,reflect:!0})],V.prototype,"disabled",2),F([a({type:Boolean})],V.prototype,"opacity",2),F([a({type:Boolean})],V.prototype,"uppercase",2),F([a({attribute:!1})],V.prototype,"swatches",2),V=F([f("uui-color-picker")],V);class xo extends I{constructor(t,i={}){super(t,{bubbles:!0,...i})}}xo.CHANGE="change";var Od=Object.defineProperty,Id=Object.getOwnPropertyDescriptor,Ze=(e,t,i,o)=>{for(var r=o>1?void 0:o?Id(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Od(t,i,r),r};let _e=class extends Ue("label",b){constructor(){super(...arguments),this.type="hue",this.color="",this.min=0,this.max=100,this.precision=1,this.vertical=!1,this.value=0,this.disabled=!1}willUpdate(e){e.has("type")&&(this.type==="hue"?(this.max=360,this.precision=1):this.type==="opacity"&&(this.max=100,this.precision=1))}firstUpdated(){this.container=this.shadowRoot.querySelector("#color-slider"),this.handle=this.container.querySelector("#color-slider__handle")}handleDrag(e){if(this.disabled||!this.container||!this.handle)return;const{width:t,height:i}=this.container.getBoundingClientRect();this.handle.focus(),e.preventDefault(),Ma(this.container,{onMove:(o,r)=>{this.vertical?this.value=La(A(r/i*this.max,this.min,this.max),this.min,this.max):this.value=A(o/t*this.max,this.min,this.max),this.syncValues()},initialEvent:e})}handleClick(e){this.disabled||(this.value=this.getValueFromMousePosition(e),this.syncValues())}handleKeyDown(e){const t=e.shiftKey?10:1;e.key==="ArrowLeft"?(e.preventDefault(),this.value=A(this.value-t,this.min,this.max),this.syncValues()):e.key==="ArrowRight"?(e.preventDefault(),this.value=A(this.value+t,this.min,this.max),this.syncValues()):e.key==="ArrowUp"?(e.preventDefault(),this.value=A(this.value+t,this.min,this.max),this.syncValues()):e.key==="ArrowDown"?(e.preventDefault(),this.value=A(this.value-t,this.min,this.max),this.syncValues()):e.key==="Home"?(e.preventDefault(),this.value=this.min,this.syncValues()):e.key==="End"&&(e.preventDefault(),this.value=this.max,this.syncValues())}getValueFromMousePosition(e){return this.vertical?this.getValueFromYCoordinate(e.clientY):this.getValueFromXCoordinate(e.clientX)}getValueFromTouchPosition(e){return this.vertical?this.getValueFromYCoordinate(e.touches[0].clientY):this.getValueFromXCoordinate(e.touches[0].clientX)}getValueFromXCoordinate(e){const{left:t,width:i}=this.container.getBoundingClientRect();return A(this.roundToPrecision((e-t)/i*this.max),this.min,this.max)}getValueFromYCoordinate(e){const{top:t,height:i}=this.container.getBoundingClientRect();return A(this.roundToPrecision((e-t)/i*this.max),this.min,this.max)}roundToPrecision(e){const t=1/this.precision;return Math.ceil(e*t)/t}syncValues(){this.dispatchEvent(new xo(xo.CHANGE))}get cssPropCurrentValue(){return this.value===0?this.vertical?100:0:100/(this.vertical?this.max/La(this.value,this.min,this.max):this.max/this.value)}render(){return l` <div
2335
+ `],W([S('[part="input"]')],N.prototype,"_input",2),W([S(".color-picker__preview")],N.prototype,"_previewButton",2),W([S("#swatches")],N.prototype,"_swatches",2),W([m()],N.prototype,"inputValue",2),W([m()],N.prototype,"hue",2),W([m()],N.prototype,"saturation",2),W([m()],N.prototype,"lightness",2),W([m()],N.prototype,"alpha",2),W([m()],N.prototype,"_colord",2),W([a()],N.prototype,"value",1),W([a()],N.prototype,"format",2),W([a()],N.prototype,"name",2),W([a()],N.prototype,"size",2),W([a({attribute:"no-format-toggle",type:Boolean})],N.prototype,"noFormatToggle",2),W([a({type:Boolean,reflect:!0})],N.prototype,"inline",2),W([a({type:Boolean,reflect:!0})],N.prototype,"disabled",2),W([a({type:Boolean})],N.prototype,"opacity",2),W([a({type:Boolean})],N.prototype,"uppercase",2),W([a({attribute:!1})],N.prototype,"swatches",2),N=W([f("uui-color-picker")],N);class xo extends U{constructor(t,i={}){super(t,{bubbles:!0,...i})}}xo.CHANGE="change";var Ad=Object.defineProperty,Ud=Object.getOwnPropertyDescriptor,Ze=(e,t,i,o)=>{for(var r=o>1?void 0:o?Ud(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Ad(t,i,r),r};let ye=class extends Ue("label",b){constructor(){super(...arguments),this.type="hue",this.color="",this.min=0,this.max=100,this.precision=1,this.vertical=!1,this.value=0,this.disabled=!1}willUpdate(e){e.has("type")&&(this.type==="hue"?(this.max=360,this.precision=1):this.type==="opacity"&&(this.max=100,this.precision=1))}firstUpdated(){this.container=this.shadowRoot.querySelector("#color-slider"),this.handle=this.container.querySelector("#color-slider__handle")}handleDrag(e){if(this.disabled||!this.container||!this.handle)return;const{width:t,height:i}=this.container.getBoundingClientRect();this.handle.focus(),e.preventDefault(),Ma(this.container,{onMove:(o,r)=>{this.vertical?this.value=La(z(r/i*this.max,this.min,this.max),this.min,this.max):this.value=z(o/t*this.max,this.min,this.max),this.syncValues()},initialEvent:e})}handleClick(e){this.disabled||(this.value=this.getValueFromMousePosition(e),this.syncValues())}handleKeyDown(e){const t=e.shiftKey?10:1;e.key==="ArrowLeft"?(e.preventDefault(),this.value=z(this.value-t,this.min,this.max),this.syncValues()):e.key==="ArrowRight"?(e.preventDefault(),this.value=z(this.value+t,this.min,this.max),this.syncValues()):e.key==="ArrowUp"?(e.preventDefault(),this.value=z(this.value+t,this.min,this.max),this.syncValues()):e.key==="ArrowDown"?(e.preventDefault(),this.value=z(this.value-t,this.min,this.max),this.syncValues()):e.key==="Home"?(e.preventDefault(),this.value=this.min,this.syncValues()):e.key==="End"&&(e.preventDefault(),this.value=this.max,this.syncValues())}getValueFromMousePosition(e){return this.vertical?this.getValueFromYCoordinate(e.clientY):this.getValueFromXCoordinate(e.clientX)}getValueFromTouchPosition(e){return this.vertical?this.getValueFromYCoordinate(e.touches[0].clientY):this.getValueFromXCoordinate(e.touches[0].clientX)}getValueFromXCoordinate(e){const{left:t,width:i}=this.container.getBoundingClientRect();return z(this.roundToPrecision((e-t)/i*this.max),this.min,this.max)}getValueFromYCoordinate(e){const{top:t,height:i}=this.container.getBoundingClientRect();return z(this.roundToPrecision((e-t)/i*this.max),this.min,this.max)}roundToPrecision(e){const t=1/this.precision;return Math.ceil(e*t)/t}syncValues(){this.dispatchEvent(new xo(xo.CHANGE))}get cssPropCurrentValue(){return this.value===0?this.vertical?100:0:100/(this.vertical?this.max/La(this.value,this.min,this.max):this.max/this.value)}render(){return l` <div
2327
2336
  part="slider"
2328
2337
  id="color-slider"
2329
2338
  role="slider"
@@ -2348,7 +2357,7 @@
2348
2357
  style="--current-value: ${this.cssPropCurrentValue}%;"
2349
2358
  tabindex=${w(this.disabled?void 0:"0")}></span>
2350
2359
  </div>
2351
- ${Math.round(this.value)}`}};_e.styles=[p`
2360
+ ${Math.round(this.value)}`}};ye.styles=[p`
2352
2361
  :host {
2353
2362
  --uui-slider-height: 15px;
2354
2363
  --uui-slider-handle-size: 17px;
@@ -2457,7 +2466,7 @@
2457
2466
  position: absolute;
2458
2467
  inset: 0 0 0 0;
2459
2468
  }
2460
- `],Ze([a({reflect:!0})],_e.prototype,"type",2),Ze([a()],_e.prototype,"color",2),Ze([a({type:Number})],_e.prototype,"min",2),Ze([a({type:Number})],_e.prototype,"max",2),Ze([a({type:Number})],_e.prototype,"precision",2),Ze([a({type:Boolean,reflect:!0})],_e.prototype,"vertical",2),Ze([a()],_e.prototype,"value",2),Ze([a({type:Boolean,reflect:!0})],_e.prototype,"disabled",2),_e=Ze([f("uui-color-slider")],_e);var Ad=Object.defineProperty,Ud=Object.getOwnPropertyDescriptor,hr=(e,t,i,o)=>{for(var r=o>1?void 0:o?Ud(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Ad(t,i,r),r};let bt=class extends Ue("label",ui(or(b))){constructor(){super(),this.disabled=!1,this.showLabel=!1,this.addEventListener("click",this._setAriaAttributes)}get value(){return this._value??""}set value(e){const t=this._value;this._value=e,this.requestUpdate("value",t)}get color(){return this._color}set color(e){const t=this._color;this._color=e,this.requestUpdate("color",t)}_setAriaAttributes(){this.selectable&&this.setAttribute("aria-checked",this.selected.toString())}firstUpdated(){this._setAriaAttributes()}willUpdate(e){e.has("disabled")&&this.selectable&&(this.selectable=!this.disabled,this.deselectable=!this.disabled),(e.has("selectable")||e.has("selected"))&&this._setAriaAttributes()}render(){return l`
2469
+ `],Ze([a({reflect:!0})],ye.prototype,"type",2),Ze([a()],ye.prototype,"color",2),Ze([a({type:Number})],ye.prototype,"min",2),Ze([a({type:Number})],ye.prototype,"max",2),Ze([a({type:Number})],ye.prototype,"precision",2),Ze([a({type:Boolean,reflect:!0})],ye.prototype,"vertical",2),Ze([a()],ye.prototype,"value",2),Ze([a({type:Boolean,reflect:!0})],ye.prototype,"disabled",2),ye=Ze([f("uui-color-slider")],ye);var zd=Object.defineProperty,Dd=Object.getOwnPropertyDescriptor,hr=(e,t,i,o)=>{for(var r=o>1?void 0:o?Dd(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&zd(t,i,r),r};let bt=class extends Ue("label",ui(or(b))){constructor(){super(),this.disabled=!1,this.showLabel=!1,this.addEventListener("click",this._setAriaAttributes)}get value(){return this._value??""}set value(e){const t=this._value;this._value=e,this.requestUpdate("value",t)}get color(){return this._color}set color(e){const t=this._color;this._color=e,this.requestUpdate("color",t)}_setAriaAttributes(){this.selectable&&this.setAttribute("aria-checked",this.selected.toString())}firstUpdated(){this._setAriaAttributes()}willUpdate(e){e.has("disabled")&&this.selectable&&(this.selectable=!this.disabled,this.deselectable=!this.disabled),(e.has("selectable")||e.has("selected"))&&this._setAriaAttributes()}render(){return l`
2461
2470
  <button
2462
2471
  id="swatch"
2463
2472
  aria-label=${this.label}
@@ -2478,7 +2487,7 @@
2478
2487
  `}_renderWithLabel(){return this.showLabel?l`<div class="color-swatch__label">
2479
2488
  <strong>${this.renderLabel()}</strong>
2480
2489
  ${this.value}
2481
- </div>`:C}};bt.styles=[p`
2490
+ </div>`:k}};bt.styles=[p`
2482
2491
  :host {
2483
2492
  position: relative;
2484
2493
  display: inline-flex;
@@ -2640,19 +2649,19 @@
2640
2649
  white-space: nowrap;
2641
2650
  box-sizing: border-box;
2642
2651
  }
2643
- `],hr([a()],bt.prototype,"value",1),hr([a()],bt.prototype,"color",1),hr([a({type:Boolean,reflect:!0})],bt.prototype,"disabled",2),hr([a({type:Boolean,attribute:"show-label",reflect:!0})],bt.prototype,"showLabel",2),bt=hr([f("uui-color-swatch")],bt);class yi extends I{constructor(t,i={}){super(t,{bubbles:!0,...i})}}yi.CHANGE="change";var zd=Object.defineProperty,Dd=Object.getOwnPropertyDescriptor,$o=(e,t,i,o)=>{for(var r=o>1?void 0:o?Dd(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&zd(t,i,r),r};let Ft=class extends Ue("label",b){constructor(){super(),this.value="",this.disabled=!1,this._onSelected=e=>{const t=e.target;this.swatches.includes(t)&&(this._selectedElement&&(this._selectedElement.selected=!1,this._selectedElement.active=!1,this._selectedElement=void 0),this._selectedElement=t,this._activeElement=this._selectedElement,this.value=this._selectedElement.value||"",this.dispatchEvent(new yi(yi.CHANGE)))},this._onDeselected=e=>{const t=e.target;this.swatches.includes(t)&&(this._activeElement===t&&(this._activeElement=void 0),this._selectedElement===t&&(this._selectedElement.selected=!1,this._selectedElement.active=!1,this._selectedElement=void 0,this.value="",this.dispatchEvent(new yi(yi.CHANGE))))},this.addEventListener(vt.SELECTED,this._onSelected),this.addEventListener(vt.DESELECTED,this._onDeselected)}get _activeElement(){return this.__activeElement}set _activeElement(e){this.__activeElement&&(this.__activeElement.active=!1),e&&(e.active=!0,this.__activeElement=e)}connectedCallback(){super.connectedCallback(),this.setAttribute("role","radiogroup"),this.setAttribute("aria-label",this.label)}willUpdate(e){e.has("label")&&this.setAttribute("aria-label",this.label)}_handleSlotChange(){!this.swatches||this.swatches.length===0||this.swatches.forEach(e=>{e.setAttribute("aria-checked","false"),e.setAttribute("role","radio"),this.disabled?e.setAttribute("disabled",""):e.setAttribute("selectable","selectable"),this.value!==""&&e.value===this.value&&(e.selected=!0,e.setAttribute("aria-checked","true"),this._selectedElement=e,this._activeElement=this._selectedElement)})}resetSelection(){this.swatches.forEach(e=>{e.selected=!1,e.active=!1,e.selectable=!e.disabled}),this._activeElement=void 0,this._selectedElement=void 0,this.value=""}render(){return l`<slot @slotchange=${this._handleSlotChange}></slot>`}};Ft.styles=[p`
2652
+ `],hr([a()],bt.prototype,"value",1),hr([a()],bt.prototype,"color",1),hr([a({type:Boolean,reflect:!0})],bt.prototype,"disabled",2),hr([a({type:Boolean,attribute:"show-label",reflect:!0})],bt.prototype,"showLabel",2),bt=hr([f("uui-color-swatch")],bt);class yi extends U{constructor(t,i={}){super(t,{bubbles:!0,...i})}}yi.CHANGE="change";var Md=Object.defineProperty,Ld=Object.getOwnPropertyDescriptor,$o=(e,t,i,o)=>{for(var r=o>1?void 0:o?Ld(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Md(t,i,r),r};let Ft=class extends Ue("label",b){constructor(){super(),this.value="",this.disabled=!1,this._onSelected=e=>{const t=e.target;this.swatches.includes(t)&&(this._selectedElement&&(this._selectedElement.selected=!1,this._selectedElement.active=!1,this._selectedElement=void 0),this._selectedElement=t,this._activeElement=this._selectedElement,this.value=this._selectedElement.value||"",this.dispatchEvent(new yi(yi.CHANGE)))},this._onDeselected=e=>{const t=e.target;this.swatches.includes(t)&&(this._activeElement===t&&(this._activeElement=void 0),this._selectedElement===t&&(this._selectedElement.selected=!1,this._selectedElement.active=!1,this._selectedElement=void 0,this.value="",this.dispatchEvent(new yi(yi.CHANGE))))},this.addEventListener(vt.SELECTED,this._onSelected),this.addEventListener(vt.DESELECTED,this._onDeselected)}get _activeElement(){return this.__activeElement}set _activeElement(e){this.__activeElement&&(this.__activeElement.active=!1),e&&(e.active=!0,this.__activeElement=e)}connectedCallback(){super.connectedCallback(),this.setAttribute("role","radiogroup"),this.setAttribute("aria-label",this.label)}willUpdate(e){e.has("label")&&this.setAttribute("aria-label",this.label)}_handleSlotChange(){!this.swatches||this.swatches.length===0||this.swatches.forEach(e=>{e.setAttribute("aria-checked","false"),e.setAttribute("role","radio"),this.disabled?e.setAttribute("disabled",""):e.setAttribute("selectable","selectable"),this.value!==""&&e.value===this.value&&(e.selected=!0,e.setAttribute("aria-checked","true"),this._selectedElement=e,this._activeElement=this._selectedElement)})}resetSelection(){this.swatches.forEach(e=>{e.selected=!1,e.active=!1,e.selectable=!e.disabled}),this._activeElement=void 0,this._selectedElement=void 0,this.value=""}render(){return l`<slot @slotchange=${this._handleSlotChange}></slot>`}};Ft.styles=[p`
2644
2653
  :host {
2645
2654
  display: flex;
2646
2655
  flex-wrap: wrap;
2647
2656
  gap: 0.4rem;
2648
2657
  }
2649
- `],$o([a()],Ft.prototype,"value",2),$o([a({type:Boolean,reflect:!0})],Ft.prototype,"disabled",2),$o([pt({selector:"uui-color-swatch"})],Ft.prototype,"swatches",2),Ft=$o([f("uui-color-swatches")],Ft);class ke extends I{constructor(t,i={}){super(t,{bubbles:!0,...i})}}ke.CHANGE="change",ke.INNER_SLOT_CHANGE="inner-slot-change";var Md=Object.defineProperty,Ld=Object.getOwnPropertyDescriptor,kl=e=>{throw TypeError(e)},gt=(e,t,i,o)=>{for(var r=o>1?void 0:o?Ld(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Md(t,i,r),r},Td=(e,t,i)=>t.has(e)||kl("Cannot "+i),Vd=(e,t,i)=>t.has(e)?kl("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,i),El=(e,t,i)=>(Td(e,t,"access private method"),i),Co,js;let Ee=class extends b{constructor(){super(...arguments),Vd(this,Co),this.displayValue="",this._value="",this._activeElementValue=null,this._onSlotChange=()=>{El(this,Co,js).call(this),this._updateSelection(),this.dispatchEvent(new ke(ke.INNER_SLOT_CHANGE))},this._onSelected=e=>{this._selectedElement&&(this._selectedElement.selected=!1,this._selectedElement.active=!1,this._selectedElement=void 0),this._selectedElement=e.composedPath()[0],this.value=this._selectedElement.value||"",this.displayValue=this._selectedElement.displayValue||"",this.dispatchEvent(new ke(ke.CHANGE))},this._onDeselected=e=>{const t=e.composedPath()[0];this._selectedElement===t&&(this.value="",this.displayValue="",this.dispatchEvent(new ke(ke.CHANGE)))},this._moveIndex=e=>{const t=Math.min(Math.max(this._getActiveIndex+e,0),this._options.length-1);this._goToIndex(t)},this._onKeyDown=e=>{if(!(this._options.length<=0))switch(e.key){case"ArrowUp":e.preventDefault(),e.ctrlKey?this._moveIndex(-10):this._moveIndex(-1);break;case"ArrowDown":e.preventDefault(),e.ctrlKey?this._moveIndex(10):this._moveIndex(1);break;case"Home":{e.preventDefault(),this._goToIndex(0);break}case"Enter":{e.preventDefault(),this._getActiveElement?.click();break}case"End":{e.preventDefault(),this._goToIndex(this._options.length-1);break}}}}get value(){return this._value}set value(e){if(this._value===e)return;const t=this._value;this._value=e,this._updateSelection(),this.requestUpdate("value",t)}get for(){return this._for}set for(e){this._for&&this._for.removeEventListener("keydown",this._onKeyDown),this._for=e,this._for&&this._for.addEventListener("keydown",this._onKeyDown)}connectedCallback(){super.connectedCallback(),this._for||(this._for=this),this.addEventListener(vt.SELECTED,this._onSelected),this.addEventListener(vt.DESELECTED,this._onDeselected)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("keydown",this._onKeyDown),this.removeEventListener(vt.SELECTED,this._onSelected),this.removeEventListener(vt.DESELECTED,this._onDeselected)}_updateSelection(){this.displayValue="";for(const e of this._options)e.value===this._value?(this.displayValue=e.displayValue||"",e.selected=!0):e.selected=!1}get _getActiveIndex(){return this._activeElementValue===null?-1:this._options.findIndex(e=>e.value===this._activeElementValue)}get _getActiveElement(){return this._activeElementValue===null?null:this._options.find(e=>e.value===this._activeElementValue)}_goToIndex(e){if(this._options.length===0)return;e=Math.min(Math.max(e,0),this._options.length-1);const t=this._options[e];this._activeElementValue=t.value,El(this,Co,js).call(this),t&&t.scrollIntoView({behavior:"auto",block:"nearest",inline:"nearest"})}render(){return l` <slot @slotchange=${this._onSlotChange}></slot> `}};Co=new WeakSet,js=function(){for(let t=0;t<this._activeOptions.length;t++)this._activeOptions[t].active=!1;const e=this._getActiveElement;e?e.active=!0:this._goToIndex(0)},Ee.styles=[p`
2658
+ `],$o([a()],Ft.prototype,"value",2),$o([a({type:Boolean,reflect:!0})],Ft.prototype,"disabled",2),$o([pt({selector:"uui-color-swatch"})],Ft.prototype,"swatches",2),Ft=$o([f("uui-color-swatches")],Ft);class Ee extends U{constructor(t,i={}){super(t,{bubbles:!0,...i})}}Ee.CHANGE="change",Ee.INNER_SLOT_CHANGE="inner-slot-change";var Td=Object.defineProperty,Vd=Object.getOwnPropertyDescriptor,Cl=e=>{throw TypeError(e)},gt=(e,t,i,o)=>{for(var r=o>1?void 0:o?Vd(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Td(t,i,r),r},Nd=(e,t,i)=>t.has(e)||Cl("Cannot "+i),Hd=(e,t,i)=>t.has(e)?Cl("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,i),El=(e,t,i)=>(Nd(e,t,"access private method"),i),ko,Rs;let Pe=class extends b{constructor(){super(...arguments),Hd(this,ko),this.displayValue="",this._value="",this._activeElementValue=null,this._onSlotChange=()=>{El(this,ko,Rs).call(this),this._updateSelection(),this.dispatchEvent(new Ee(Ee.INNER_SLOT_CHANGE))},this._onSelected=e=>{this._selectedElement&&(this._selectedElement.selected=!1,this._selectedElement.active=!1,this._selectedElement=void 0),this._selectedElement=e.composedPath()[0],this.value=this._selectedElement.value||"",this.displayValue=this._selectedElement.displayValue||"",this.dispatchEvent(new Ee(Ee.CHANGE))},this._onDeselected=e=>{const t=e.composedPath()[0];this._selectedElement===t&&(this.value="",this.displayValue="",this.dispatchEvent(new Ee(Ee.CHANGE)))},this._moveIndex=e=>{const t=Math.min(Math.max(this._getActiveIndex+e,0),this._options.length-1);this._goToIndex(t)},this._onKeyDown=e=>{if(!(this._options.length<=0))switch(e.key){case"ArrowUp":e.preventDefault(),e.ctrlKey?this._moveIndex(-10):this._moveIndex(-1);break;case"ArrowDown":e.preventDefault(),e.ctrlKey?this._moveIndex(10):this._moveIndex(1);break;case"Home":{e.preventDefault(),this._goToIndex(0);break}case"Enter":{e.preventDefault(),this._getActiveElement?.click();break}case"End":{e.preventDefault(),this._goToIndex(this._options.length-1);break}}}}get value(){return this._value}set value(e){if(this._value===e)return;const t=this._value;this._value=e,this._updateSelection(),this.requestUpdate("value",t)}get for(){return this._for}set for(e){this._for&&this._for.removeEventListener("keydown",this._onKeyDown),this._for=e,this._for&&this._for.addEventListener("keydown",this._onKeyDown)}connectedCallback(){super.connectedCallback(),this._for||(this._for=this),this.addEventListener(vt.SELECTED,this._onSelected),this.addEventListener(vt.DESELECTED,this._onDeselected)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("keydown",this._onKeyDown),this.removeEventListener(vt.SELECTED,this._onSelected),this.removeEventListener(vt.DESELECTED,this._onDeselected)}_updateSelection(){this.displayValue="";for(const e of this._options)e.value===this._value?(this.displayValue=e.displayValue||"",e.selected=!0):e.selected=!1}get _getActiveIndex(){return this._activeElementValue===null?-1:this._options.findIndex(e=>e.value===this._activeElementValue)}get _getActiveElement(){return this._activeElementValue===null?null:this._options.find(e=>e.value===this._activeElementValue)}_goToIndex(e){if(this._options.length===0)return;e=Math.min(Math.max(e,0),this._options.length-1);const t=this._options[e];this._activeElementValue=t.value,El(this,ko,Rs).call(this),t&&t.scrollIntoView({behavior:"auto",block:"nearest",inline:"nearest"})}render(){return l` <slot @slotchange=${this._onSlotChange}></slot> `}};ko=new WeakSet,Rs=function(){for(let t=0;t<this._activeOptions.length;t++)this._activeOptions[t].active=!1;const e=this._getActiveElement;e?e.active=!0:this._goToIndex(0)},Pe.styles=[p`
2650
2659
  :host {
2651
2660
  display: flex;
2652
2661
  flex-direction: column;
2653
2662
  box-sizing: border-box;
2654
2663
  }
2655
- `],gt([a()],Ee.prototype,"value",1),gt([a({type:String})],Ee.prototype,"displayValue",2),gt([a({attribute:!1})],Ee.prototype,"for",1),gt([pt({flatten:!0,selector:"uui-combobox-list-option:not([disabled])"})],Ee.prototype,"_options",2),gt([pt({flatten:!0,selector:"uui-combobox-list-option[active]"})],Ee.prototype,"_activeOptions",2),gt([m()],Ee.prototype,"_value",2),gt([m()],Ee.prototype,"_activeElementValue",2),Ee=gt([f("uui-combobox-list")],Ee);var Nd=Object.defineProperty,Hd=Object.getOwnPropertyDescriptor,wi=(e,t,i,o)=>{for(var r=o>1?void 0:o?Hd(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Nd(t,i,r),r};let Qe=class extends ui(or(b)){constructor(){super(),this._disabled=!1,this._displayValue="",this.selectable=!0,this.deselectable=!1}get value(){return this._value?this._value:this.textContent?.trim()||""}set value(e){const t=this._value;this._value=e,this.requestUpdate("value",t)}get displayValue(){return this._displayValue?this._displayValue:this.textContent?.trim()||""}set displayValue(e){const t=this._displayValue;this._displayValue=e,this.requestUpdate("displayValue",t)}get disabled(){return this._disabled}set disabled(e){const t=this._disabled;this._disabled=e,this.selectable=!this._disabled,this.requestUpdate("disabled",t)}render(){return l`<slot></slot>`}};Qe.styles=[p`
2664
+ `],gt([a()],Pe.prototype,"value",1),gt([a({type:String})],Pe.prototype,"displayValue",2),gt([a({attribute:!1})],Pe.prototype,"for",1),gt([pt({flatten:!0,selector:"uui-combobox-list-option:not([disabled])"})],Pe.prototype,"_options",2),gt([pt({flatten:!0,selector:"uui-combobox-list-option[active]"})],Pe.prototype,"_activeOptions",2),gt([m()],Pe.prototype,"_value",2),gt([m()],Pe.prototype,"_activeElementValue",2),Pe=gt([f("uui-combobox-list")],Pe);var Bd=Object.defineProperty,jd=Object.getOwnPropertyDescriptor,wi=(e,t,i,o)=>{for(var r=o>1?void 0:o?jd(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Bd(t,i,r),r};let Qe=class extends ui(or(b)){constructor(){super(),this._disabled=!1,this._displayValue="",this.selectable=!0,this.deselectable=!1}get value(){return this._value?this._value:this.textContent?.trim()||""}set value(e){const t=this._value;this._value=e,this.requestUpdate("value",t)}get displayValue(){return this._displayValue?this._displayValue:this.textContent?.trim()||""}set displayValue(e){const t=this._displayValue;this._displayValue=e,this.requestUpdate("displayValue",t)}get disabled(){return this._disabled}set disabled(e){const t=this._disabled;this._disabled=e,this.selectable=!this._disabled,this.requestUpdate("disabled",t)}render(){return l`<slot></slot>`}};Qe.styles=[p`
2656
2665
  :host {
2657
2666
  position: relative;
2658
2667
  cursor: pointer;
@@ -2725,7 +2734,7 @@
2725
2734
  color: var(--uui-color-disabled-contrast,#c4c4c4);
2726
2735
  background-color: var(--uui-color-disabled,#f3f3f5);
2727
2736
  }
2728
- `],wi([m()],Qe.prototype,"_disabled",2),wi([m()],Qe.prototype,"_displayValue",2),wi([a({type:String})],Qe.prototype,"value",1),wi([a({type:String,attribute:"display-value"})],Qe.prototype,"displayValue",1),wi([a({type:Boolean,reflect:!0})],Qe.prototype,"disabled",1),Qe=wi([f("uui-combobox-list-option")],Qe);class ce extends I{constructor(t,i={}){super(t,{bubbles:!0,...i})}}ce.SEARCH="search",ce.CHANGE="change";var Bd=Object.defineProperty,jd=Object.getOwnPropertyDescriptor,Pl=e=>{throw TypeError(e)},ae=(e,t,i,o)=>{for(var r=o>1?void 0:o?jd(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Bd(t,i,r),r},Rs=(e,t,i)=>t.has(e)||Pl("Cannot "+i),E=(e,t,i)=>(Rs(e,t,"read from private field"),i?i.call(e):t.get(e)),Q=(e,t,i)=>t.has(e)?Pl("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,i),Sl=(e,t,i,o)=>(Rs(e,t,"write to private field"),t.set(e,i),i),Fs=(e,t,i)=>(Rs(e,t,"access private method"),i),Pe,xi,dr,pr,ko,Eo,Po,Ws,Gs,qs,Ks,So,$i,Ys,Oo,Io,Xs,Ao;let J=class extends ze(b,""){constructor(){super(...arguments),Q(this,pr),this.closeLabel="Close",this.disabled=!1,this.readonly=!1,Q(this,Pe),Q(this,xi),this._displayValue="",this._search="",this._isPhone=!1,this._isOpen=!1,Q(this,dr,()=>{this._isPhone=E(this,xi).matches}),Q(this,Eo,()=>requestAnimationFrame(()=>this._input.focus())),Q(this,Po,()=>requestAnimationFrame(()=>{this.shadowRoot?.activeElement||E(this,$i).call(this)})),Q(this,Ws,e=>{e.preventDefault(),e.stopImmediatePropagation(),this.search=e.target.value,this.dispatchEvent(new ce(ce.SEARCH)),E(this,So).call(this)}),Q(this,Gs,()=>{this.value&&this.value!==E(this,Pe)?.value&&Fs(this,pr,ko).call(this,this.value)}),Q(this,qs,()=>{this.value=E(this,Pe)?.value||"",this.search=this.value?this.search:"",E(this,$i).call(this),this.dispatchEvent(new ce(ce.CHANGE))}),Q(this,Ks,()=>{this.readonly||(this.open=!this.open)}),Q(this,So,()=>{this.open||this.readonly||(this.open=!0)}),Q(this,$i,()=>{this.open&&(this.open=!1,this.search="",this._input.value=this._displayValue,this.dispatchEvent(new ce(ce.SEARCH)))}),Q(this,Ys,e=>{this.open===!1&&e.key==="Enter"&&(e.preventDefault(),e.stopImmediatePropagation()),(e.key==="ArrowUp"||e.key==="ArrowDown")&&E(this,So).call(this),(e.key==="Escape"||e.key==="Enter")&&E(this,$i).call(this)}),Q(this,Oo,e=>{e.key&&e.key!=="Enter"||(e.preventDefault(),e.stopImmediatePropagation(),this.value="",this.search="",this._input.value=this._displayValue,this._input.focus(),this.dispatchEvent(new ce(ce.SEARCH)),this.dispatchEvent(new ce(ce.CHANGE)))}),Q(this,Io,()=>l` <uui-input
2737
+ `],wi([m()],Qe.prototype,"_disabled",2),wi([m()],Qe.prototype,"_displayValue",2),wi([a({type:String})],Qe.prototype,"value",1),wi([a({type:String,attribute:"display-value"})],Qe.prototype,"displayValue",1),wi([a({type:Boolean,reflect:!0})],Qe.prototype,"disabled",1),Qe=wi([f("uui-combobox-list-option")],Qe);class he extends U{constructor(t,i={}){super(t,{bubbles:!0,...i})}}he.SEARCH="search",he.CHANGE="change";var Rd=Object.defineProperty,Fd=Object.getOwnPropertyDescriptor,Pl=e=>{throw TypeError(e)},le=(e,t,i,o)=>{for(var r=o>1?void 0:o?Fd(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Rd(t,i,r),r},Fs=(e,t,i)=>t.has(e)||Pl("Cannot "+i),E=(e,t,i)=>(Fs(e,t,"read from private field"),i?i.call(e):t.get(e)),Q=(e,t,i)=>t.has(e)?Pl("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,i),Ol=(e,t,i,o)=>(Fs(e,t,"write to private field"),t.set(e,i),i),Ws=(e,t,i)=>(Fs(e,t,"access private method"),i),Oe,xi,dr,pr,Co,Eo,Po,Gs,qs,Ks,Ys,Oo,$i,Xs,So,Io,Zs,Ao;let J=class extends ze(b,""){constructor(){super(...arguments),Q(this,pr),this.closeLabel="Close",this.disabled=!1,this.readonly=!1,Q(this,Oe),Q(this,xi),this._displayValue="",this._search="",this._isPhone=!1,this._isOpen=!1,Q(this,dr,()=>{this._isPhone=E(this,xi).matches}),Q(this,Eo,()=>requestAnimationFrame(()=>this._input.focus())),Q(this,Po,()=>requestAnimationFrame(()=>{this.shadowRoot?.activeElement||E(this,$i).call(this)})),Q(this,Gs,e=>{e.preventDefault(),e.stopImmediatePropagation(),this.search=e.target.value,this.dispatchEvent(new he(he.SEARCH)),E(this,Oo).call(this)}),Q(this,qs,()=>{this.value&&this.value!==E(this,Oe)?.value&&Ws(this,pr,Co).call(this,this.value)}),Q(this,Ks,()=>{this.value=E(this,Oe)?.value||"",this.search=this.value?this.search:"",E(this,$i).call(this),this.dispatchEvent(new he(he.CHANGE))}),Q(this,Ys,()=>{this.readonly||(this.open=!this.open)}),Q(this,Oo,()=>{this.open||this.readonly||(this.open=!0)}),Q(this,$i,()=>{this.open&&(this.open=!1,this.search="",this._input.value=this._displayValue,this.dispatchEvent(new he(he.SEARCH)))}),Q(this,Xs,e=>{this.open===!1&&e.key==="Enter"&&(e.preventDefault(),e.stopImmediatePropagation()),(e.key==="ArrowUp"||e.key==="ArrowDown")&&E(this,Oo).call(this),(e.key==="Escape"||e.key==="Enter")&&E(this,$i).call(this)}),Q(this,So,e=>{e.key&&e.key!=="Enter"||(e.preventDefault(),e.stopImmediatePropagation(),this.value="",this.search="",this._input.value=this._displayValue,this._input.focus(),this.dispatchEvent(new he(he.SEARCH)),this.dispatchEvent(new he(he.CHANGE)))}),Q(this,Io,()=>l` <uui-input
2729
2738
  slot="trigger"
2730
2739
  id="combobox-input"
2731
2740
  label="combobox-input"
@@ -2735,29 +2744,29 @@
2735
2744
  .disabled=${this.disabled}
2736
2745
  .readonly=${this.readonly}
2737
2746
  popovertarget="combobox-popover"
2738
- @click=${E(this,Ks)}
2739
- @input=${E(this,Ws)}
2740
- @keydown=${E(this,Ys)}>
2747
+ @click=${E(this,Ys)}
2748
+ @input=${E(this,Gs)}
2749
+ @keydown=${E(this,Xs)}>
2741
2750
  <slot name="input-prepend" slot="prepend"></slot>
2742
- ${E(this,Xs).call(this)}
2751
+ ${E(this,Zs).call(this)}
2743
2752
  <div id="expand-symbol-wrapper" slot="append">
2744
2753
  <uui-symbol-expand .open=${this._isOpen}></uui-symbol-expand>
2745
2754
  </div>
2746
2755
  <slot name="input-append" slot="append"></slot>
2747
- </uui-input>`),Q(this,Xs,()=>this.disabled||this.readonly?C:this.value||this.search?l`<uui-button
2756
+ </uui-input>`),Q(this,Zs,()=>this.disabled||this.readonly?k:this.value||this.search?l`<uui-button
2748
2757
  id="clear-button"
2749
- @click=${E(this,Oo)}
2750
- @keydown=${E(this,Oo)}
2758
+ @click=${E(this,So)}
2759
+ @keydown=${E(this,So)}
2751
2760
  label="clear"
2752
2761
  slot="append"
2753
2762
  compact
2754
2763
  style="height: 100%;">
2755
- <uui-icon name="remove" .fallback=${Is.strings[0]}></uui-icon>
2764
+ <uui-icon name="remove" .fallback=${As.strings[0]}></uui-icon>
2756
2765
  </uui-button>`:""),Q(this,Ao,()=>l`<div id="dropdown">
2757
2766
  <uui-scroll-container tabindex="-1" id="scroll-container">
2758
2767
  <slot></slot>
2759
2768
  </uui-scroll-container>
2760
- </div>`)}get value(){return super.value}set value(e){typeof e=="string"&&Fs(this,pr,ko).call(this,e),super.value=e}get search(){return this._search}set search(e){if(this.search===e)return;const t=this._search;this._search=e,this.requestUpdate("search",t)}get open(){return this._isOpen}set open(e){const t=e;this._isOpen=e;const i=this._comboboxPopoverElement;if(i)if(e){const o=this._input.offsetWidth;i.style.setProperty("--popover-width",`${o}px`),i.showPopover()}else i.hidePopover();this.requestUpdate("open",t)}connectedCallback(){super.connectedCallback(),this.addEventListener("blur",E(this,Po)),this.addEventListener("mousedown",E(this,Eo)),Sl(this,xi,window.matchMedia("(max-width: 600px)")),E(this,dr).call(this),E(this,xi).addEventListener("change",E(this,dr)),x(this,"uui-icon"),x(this,"uui-input"),x(this,"uui-button"),x(this,"uui-combobox-list"),x(this,"uui-scroll-container"),x(this,"uui-popover-container"),x(this,"uui-symbol-expand")}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("blur",E(this,Po)),this.removeEventListener("mousedown",E(this,Eo)),E(this,xi).removeEventListener("change",E(this,dr))}async firstUpdated(){const e=this._comboboxListElements?.[0];e&&(Sl(this,Pe,e),E(this,Pe).for=this,E(this,Pe).addEventListener(ke.CHANGE,E(this,qs)),E(this,Pe).addEventListener(ke.INNER_SLOT_CHANGE,E(this,Gs)),await this.updateComplete,Fs(this,pr,ko).call(this,this.value))}getFormElement(){return this._input}async focus(){await this.updateComplete,this._input.focus()}async blur(){await this.updateComplete,this._input.blur()}async click(){await this.updateComplete,this._input.click()}render(){return this._isPhone&&this.open?l` <div id="phone-wrapper">
2769
+ </div>`)}get value(){return super.value}set value(e){typeof e=="string"&&Ws(this,pr,Co).call(this,e),super.value=e}get search(){return this._search}set search(e){if(this.search===e)return;const t=this._search;this._search=e,this.requestUpdate("search",t)}get open(){return this._isOpen}set open(e){const t=e;this._isOpen=e;const i=this._comboboxPopoverElement;if(i)if(e){const o=this._input.offsetWidth;i.style.setProperty("--popover-width",`${o}px`),i.showPopover()}else i.hidePopover();this.requestUpdate("open",t)}connectedCallback(){super.connectedCallback(),this.addEventListener("blur",E(this,Po)),this.addEventListener("mousedown",E(this,Eo)),Ol(this,xi,window.matchMedia("(max-width: 600px)")),E(this,dr).call(this),E(this,xi).addEventListener("change",E(this,dr)),x(this,"uui-icon"),x(this,"uui-input"),x(this,"uui-button"),x(this,"uui-combobox-list"),x(this,"uui-scroll-container"),x(this,"uui-popover-container"),x(this,"uui-symbol-expand")}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("blur",E(this,Po)),this.removeEventListener("mousedown",E(this,Eo)),E(this,xi).removeEventListener("change",E(this,dr))}async firstUpdated(){const e=this._comboboxListElements?.[0];e&&(Ol(this,Oe,e),E(this,Oe).for=this,E(this,Oe).addEventListener(Ee.CHANGE,E(this,Ks)),E(this,Oe).addEventListener(Ee.INNER_SLOT_CHANGE,E(this,qs)),await this.updateComplete,Ws(this,pr,Co).call(this,this.value))}getFormElement(){return this._input}async focus(){await this.updateComplete,this._input.focus()}async blur(){await this.updateComplete,this._input.blur()}async click(){await this.updateComplete,this._input.click()}render(){return this._isPhone&&this.open?l` <div id="phone-wrapper">
2761
2770
  <uui-button label="close" look="primary" @click=${E(this,$i)}>
2762
2771
  ${this.closeLabel}
2763
2772
  </uui-button>
@@ -2770,7 +2779,7 @@
2770
2779
  placement="bottom-end">
2771
2780
  ${E(this,Ao).call(this)}
2772
2781
  </uui-popover-container>
2773
- `}};Pe=new WeakMap,xi=new WeakMap,dr=new WeakMap,pr=new WeakSet,ko=function(e){E(this,Pe)&&(E(this,Pe).value=e,requestAnimationFrame(()=>this._displayValue=E(this,Pe).displayValue||""))},Eo=new WeakMap,Po=new WeakMap,Ws=new WeakMap,Gs=new WeakMap,qs=new WeakMap,Ks=new WeakMap,So=new WeakMap,$i=new WeakMap,Ys=new WeakMap,Oo=new WeakMap,Io=new WeakMap,Xs=new WeakMap,Ao=new WeakMap,J.styles=[p`
2782
+ `}};Oe=new WeakMap,xi=new WeakMap,dr=new WeakMap,pr=new WeakSet,Co=function(e){E(this,Oe)&&(E(this,Oe).value=e,requestAnimationFrame(()=>this._displayValue=E(this,Oe).displayValue||""))},Eo=new WeakMap,Po=new WeakMap,Gs=new WeakMap,qs=new WeakMap,Ks=new WeakMap,Ys=new WeakMap,Oo=new WeakMap,$i=new WeakMap,Xs=new WeakMap,So=new WeakMap,Io=new WeakMap,Zs=new WeakMap,Ao=new WeakMap,J.styles=[p`
2774
2783
  :host {
2775
2784
  display: inline-block;
2776
2785
  }
@@ -2840,12 +2849,12 @@
2840
2849
  #phone-wrapper #scroll-container {
2841
2850
  max-height: unset;
2842
2851
  }
2843
- `],ae([a({attribute:"value",reflect:!0})],J.prototype,"value",1),ae([a({type:String})],J.prototype,"search",1),ae([a({type:Boolean})],J.prototype,"open",1),ae([a({type:String})],J.prototype,"closeLabel",2),ae([a({type:Boolean,reflect:!0})],J.prototype,"disabled",2),ae([a({type:Boolean,reflect:!0})],J.prototype,"readonly",2),ae([O("#combobox-input")],J.prototype,"_input",2),ae([O("#combobox-popover")],J.prototype,"_comboboxPopoverElement",2),ae([pt({flatten:!0,selector:"uui-combobox-list"})],J.prototype,"_comboboxListElements",2),ae([m()],J.prototype,"_displayValue",2),ae([m()],J.prototype,"_search",2),ae([m()],J.prototype,"_isPhone",2),ae([m()],J.prototype,"_isOpen",2),J=ae([f("uui-combobox")],J);var Rd=Object.defineProperty,Fd=Object.getOwnPropertyDescriptor,Zs=(e,t,i,o)=>{for(var r=o>1?void 0:o?Fd(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Rd(t,i,r),r};let Ci=class extends b{constructor(){super(...arguments),this.headline=null,this._headlineSlotHasContent=!1,this._headlineSlotChanged=e=>{this._headlineSlotHasContent=e.target.assignedNodes({flatten:!0}).length>0}}renderHeadline(){return l` <h3
2852
+ `],le([a({attribute:"value",reflect:!0})],J.prototype,"value",1),le([a({type:String})],J.prototype,"search",1),le([a({type:Boolean})],J.prototype,"open",1),le([a({type:String})],J.prototype,"closeLabel",2),le([a({type:Boolean,reflect:!0})],J.prototype,"disabled",2),le([a({type:Boolean,reflect:!0})],J.prototype,"readonly",2),le([S("#combobox-input")],J.prototype,"_input",2),le([S("#combobox-popover")],J.prototype,"_comboboxPopoverElement",2),le([pt({flatten:!0,selector:"uui-combobox-list"})],J.prototype,"_comboboxListElements",2),le([m()],J.prototype,"_displayValue",2),le([m()],J.prototype,"_search",2),le([m()],J.prototype,"_isPhone",2),le([m()],J.prototype,"_isOpen",2),J=le([f("uui-combobox")],J);var Wd=Object.defineProperty,Gd=Object.getOwnPropertyDescriptor,Qs=(e,t,i,o)=>{for(var r=o>1?void 0:o?Gd(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Wd(t,i,r),r};let ki=class extends b{constructor(){super(...arguments),this.headline=null,this._headlineSlotHasContent=!1,this._headlineSlotChanged=e=>{this._headlineSlotHasContent=e.target.assignedNodes({flatten:!0}).length>0}}renderHeadline(){return l` <h3
2844
2853
  style=${this._headlineSlotHasContent||this.headline!==null?"":"display: none"}>
2845
2854
  ${this.headline}
2846
2855
  <slot name="headline" @slotchange=${this._headlineSlotChanged}></slot>
2847
2856
  </h3>`}renderContent(){return l`<slot></slot>`}renderActions(){return l`<slot id="actions" name="actions"></slot>`}render(){return l`${this.renderHeadline()} ${this.renderContent()}
2848
- ${this.renderActions()} `}};Ci.styles=[p`
2857
+ ${this.renderActions()} `}};ki.styles=[p`
2849
2858
  :host {
2850
2859
  display: block;
2851
2860
  padding: var(--uui-size-10,30px) var(--uui-size-14,42px);
@@ -2858,7 +2867,7 @@
2858
2867
  justify-content: end;
2859
2868
  gap: var(--uui-size-4,12px);
2860
2869
  }
2861
- `],Zs([a({type:String})],Ci.prototype,"headline",2),Zs([m()],Ci.prototype,"_headlineSlotHasContent",2),Ci=Zs([f("uui-dialog-layout")],Ci);var Wd=Object.defineProperty,Gd=Object.getOwnPropertyDescriptor,qd=(e,t,i,o)=>{for(var r=o>1?void 0:o?Gd(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Wd(t,i,r),r};let Uo=class extends b{render(){return l`<slot></slot>`}};Uo.styles=[p`
2870
+ `],Qs([a({type:String})],ki.prototype,"headline",2),Qs([m()],ki.prototype,"_headlineSlotHasContent",2),ki=Qs([f("uui-dialog-layout")],ki);var qd=Object.defineProperty,Kd=Object.getOwnPropertyDescriptor,Yd=(e,t,i,o)=>{for(var r=o>1?void 0:o?Kd(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&qd(t,i,r),r};let Uo=class extends b{render(){return l`<slot></slot>`}};Uo.styles=[p`
2862
2871
  :host {
2863
2872
  position: relative;
2864
2873
  display: block;
@@ -2876,7 +2885,7 @@
2876
2885
  calc(var(--uui-border-radius,3px) * 2)
2877
2886
  );
2878
2887
  }
2879
- `],Uo=qd([f("uui-dialog")],Uo);var Kd=Object.defineProperty,Yd=Object.getOwnPropertyDescriptor,Ol=(e,t,i,o)=>{for(var r=o>1?void 0:o?Yd(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Kd(t,i,r),r};let fr=class extends b{constructor(){super(...arguments),this.error=!1}render(){return l`<svg
2888
+ `],Uo=Yd([f("uui-dialog")],Uo);var Xd=Object.defineProperty,Zd=Object.getOwnPropertyDescriptor,Sl=(e,t,i,o)=>{for(var r=o>1?void 0:o?Zd(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Xd(t,i,r),r};let fr=class extends b{constructor(){super(...arguments),this.error=!1}render(){return l`<svg
2880
2889
  xmlns="http://www.w3.org/2000/svg"
2881
2890
  viewBox="0 0 512 512"
2882
2891
  id="upload-icon">
@@ -2901,7 +2910,7 @@
2901
2910
  :host([error]) #upload-icon {
2902
2911
  fill: var(--uui-color-danger,#d42054);
2903
2912
  }
2904
- `],Ol([a({type:Boolean,reflect:!0})],fr.prototype,"error",2),fr=Ol([f("uui-symbol-file-dropzone")],fr);class ki extends I{constructor(t,i={}){super(t,{bubbles:!0,...i})}}ki.CHANGE="change";var Xd=Object.defineProperty,Zd=Object.getOwnPropertyDescriptor,Ei=(e,t,i,o)=>{for(var r=o>1?void 0:o?Zd(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Xd(t,i,r),r};let Je=class extends Ue("",b){constructor(){super(),this._acceptedFileExtensions=[],this._acceptedMimeTypes=[],this._accept="",this.disallowFolderUpload=!1,this.multiple=!1,this.addEventListener("dragenter",this._onDragEnter,!1),this.addEventListener("dragleave",this._onDragLeave,!1),this.addEventListener("dragover",this._onDragOver,!1),this.addEventListener("drop",this._onDrop,!1)}set accept(e){if(e){const i=[],o=[];e.split(",").forEach(r=>{r=r.trim().toLowerCase(),/[a-z]+\/[a-z*]/s.test(r)?i.push(r):o.push(r.replace(/^\./,""))}),this._acceptedMimeTypes=i,this._acceptedFileExtensions=o}else this._acceptedMimeTypes=[],this._acceptedFileExtensions=[];const t=this._accept;this._accept=e,this.requestUpdate("accept",t)}get accept(){return this._accept}browse(){this._input.click()}async _getAllEntries(e){const t=[...e],i=[],o=[];for(const r of t)if(r?.kind==="file"){if(r.type){const s=r.getAsFile();if(!s)continue;this._isAccepted(s)&&o.push(s)}else if(!this.disallowFolderUpload&&this.multiple){const s=this._getEntry(r);if(s){const n=await this._mkdir(s);i.push(n)}}}return{files:o,folders:i}}_getEntry(e){let t=null;return"webkitGetAsEntry"in e?t=e.webkitGetAsEntry():"getAsEntry"in e&&(t=e.getAsEntry()),t}async _mkdir(e){const t=e.createReader(),i=[],o=[],r=n=>new Promise((u,c)=>{n.readEntries(async v=>{if(!v.length){u();return}for(const g of v)if(g.isFile){const d=await this._getAsFile(g);this._isAccepted(d)&&o.push(d)}else if(g.isDirectory){const d=await this._mkdir(g);i.push(d)}await r(n),u()},c)});return await r(t),{folderName:e.name,folders:i,files:o}}_isAccepted(e){if(this._acceptedFileExtensions.length===0&&this._acceptedMimeTypes.length===0)return!0;const t=e.type.toLowerCase(),i=e.name.split(".").pop();if(i&&this._acceptedFileExtensions.includes(i.toLowerCase()))return!0;for(const o of this._acceptedMimeTypes){if(t===o)return!0;if(o.endsWith("/*")&&t.startsWith(o.replace("*","")))return!0}return!1}async _getAsFile(e){return new Promise((t,i)=>e.file(t,i))}async _onDrop(e){e.preventDefault(),this._dropzone.classList.remove("hover");const t=e.dataTransfer?.items;if(t){const i=await this._getAllEntries(t);if(this.multiple===!1&&i.files.length&&(i.files=[i.files[0]],i.folders=[]),!i.files.length&&!i.folders.length)return;this.dispatchEvent(new ki(ki.CHANGE,{detail:i}))}}_onDragOver(e){e.preventDefault()}_onDragEnter(e){this._dropzone.classList.add("hover"),e.preventDefault()}_onDragLeave(e){this._dropzone.classList.remove("hover"),e.preventDefault()}_onFileInputChange(){const e=this._input.files?Array.from(this._input.files):[];this.multiple===!1&&e.length>1&&e.splice(1,e.length-1);const t=e.filter(i=>this._isAccepted(i));t.length&&this.dispatchEvent(new ki(ki.CHANGE,{detail:{files:t,folders:[]}}))}render(){return l`
2913
+ `],Sl([a({type:Boolean,reflect:!0})],fr.prototype,"error",2),fr=Sl([f("uui-symbol-file-dropzone")],fr);class Ci extends U{constructor(t,i={}){super(t,{bubbles:!0,...i})}}Ci.CHANGE="change";var Qd=Object.defineProperty,Jd=Object.getOwnPropertyDescriptor,Ei=(e,t,i,o)=>{for(var r=o>1?void 0:o?Jd(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Qd(t,i,r),r};let Je=class extends Ue("",b){constructor(){super(),this._acceptedFileExtensions=[],this._acceptedMimeTypes=[],this._accept="",this.disallowFolderUpload=!1,this.multiple=!1,this.addEventListener("dragenter",this._onDragEnter,!1),this.addEventListener("dragleave",this._onDragLeave,!1),this.addEventListener("dragover",this._onDragOver,!1),this.addEventListener("drop",this._onDrop,!1)}set accept(e){if(e){const i=[],o=[];e.split(",").forEach(r=>{r=r.trim().toLowerCase(),/[a-z]+\/[a-z*]/s.test(r)?i.push(r):o.push(r.replace(/^\./,""))}),this._acceptedMimeTypes=i,this._acceptedFileExtensions=o}else this._acceptedMimeTypes=[],this._acceptedFileExtensions=[];const t=this._accept;this._accept=e,this.requestUpdate("accept",t)}get accept(){return this._accept}browse(){this._input.click()}async _getAllEntries(e){const t=[...e],i=[],o=[];for(const r of t)if(r?.kind==="file"){if(r.type){const s=r.getAsFile();if(!s)continue;this._isAccepted(s)&&o.push(s)}else if(!this.disallowFolderUpload&&this.multiple){const s=this._getEntry(r);if(s){const n=await this._mkdir(s);i.push(n)}}}return{files:o,folders:i}}_getEntry(e){let t=null;return"webkitGetAsEntry"in e?t=e.webkitGetAsEntry():"getAsEntry"in e&&(t=e.getAsEntry()),t}async _mkdir(e){const t=e.createReader(),i=[],o=[],r=n=>new Promise((u,c)=>{n.readEntries(async v=>{if(!v.length){u();return}for(const g of v)if(g.isFile){const d=await this._getAsFile(g);this._isAccepted(d)&&o.push(d)}else if(g.isDirectory){const d=await this._mkdir(g);i.push(d)}await r(n),u()},c)});return await r(t),{folderName:e.name,folders:i,files:o}}_isAccepted(e){if(this._acceptedFileExtensions.length===0&&this._acceptedMimeTypes.length===0)return!0;const t=e.type.toLowerCase(),i=e.name.split(".").pop();if(i&&this._acceptedFileExtensions.includes(i.toLowerCase()))return!0;for(const o of this._acceptedMimeTypes){if(t===o)return!0;if(o.endsWith("/*")&&t.startsWith(o.replace("*","")))return!0}return!1}async _getAsFile(e){return new Promise((t,i)=>e.file(t,i))}async _onDrop(e){e.preventDefault(),this._dropzone.classList.remove("hover");const t=e.dataTransfer?.items;if(t){const i=await this._getAllEntries(t);if(this.multiple===!1&&i.files.length&&(i.files=[i.files[0]],i.folders=[]),!i.files.length&&!i.folders.length)return;this.dispatchEvent(new Ci(Ci.CHANGE,{detail:i}))}}_onDragOver(e){e.preventDefault()}_onDragEnter(e){this._dropzone.classList.add("hover"),e.preventDefault()}_onDragLeave(e){this._dropzone.classList.remove("hover"),e.preventDefault()}_onFileInputChange(){const e=this._input.files?Array.from(this._input.files):[];this.multiple===!1&&e.length>1&&e.splice(1,e.length-1);const t=e.filter(i=>this._isAccepted(i));t.length&&this.dispatchEvent(new Ci(Ci.CHANGE,{detail:{files:t,folders:[]}}))}render(){return l`
2905
2914
  <div id="dropzone">
2906
2915
  <uui-symbol-file-dropzone id="symbol"></uui-symbol-file-dropzone>
2907
2916
  ${this.renderLabel()}
@@ -2953,7 +2962,7 @@
2953
2962
  opacity: 0;
2954
2963
  display: none;
2955
2964
  }
2956
- `],Ei([O("#input")],Je.prototype,"_input",2),Ei([O("#dropzone")],Je.prototype,"_dropzone",2),Ei([a({type:String})],Je.prototype,"accept",1),Ei([a({type:Boolean,reflect:!0,attribute:"disallow-folder-upload"})],Je.prototype,"disallowFolderUpload",2),Ei([a({type:Boolean})],Je.prototype,"multiple",2),Je=Ei([f("uui-file-dropzone")],Je);class Qd{static humanFileSize(t,i=!1,o=1){const r=i?1e3:1024;if(Math.abs(t)<r)return t+" B";const s=i?["kB","MB","GB","TB","PB","EB","ZB","YB"]:["KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"];let n=-1;const u=10**o;do t/=r,++n;while(Math.round(Math.abs(t)*u)/u>=r&&n<s.length-1);return t.toFixed(o)+" "+s[n]}}var Jd=Object.defineProperty,ep=Object.getOwnPropertyDescriptor,Te=(e,t,i,o)=>{for(var r=o>1?void 0:o?ep(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Jd(t,i,r),r};let he=class extends b{constructor(){super(...arguments),this._name="",this._url="",this._extension="",this._src="",this._size=0,this._isDirectory=!1}get file(){return this._file}set file(e){const t=this._file;e instanceof File&&(this._name=e.name.split(".")[0],this._extension=e.name.split(".")[1],this._isDirectory=!1,this._size=e.size,this._isFileAnImage(e)&&(this._isImage=!0,this._getThumbnail(e).then(i=>{this._src=i})),this.requestUpdate("file",t))}connectedCallback(){super.connectedCallback(),x(this,"uui-symbol-file-thumbnail"),x(this,"uui-symbol-folder"),x(this,"uui-symbol-file")}_openSource(){window.open(this._url,"_blank")}_fileTypeTemplate(){return this._isDirectory?l`<uui-symbol-folder id="file-symbol"></uui-symbol-folder>`:this._isImage?l`<uui-symbol-file-thumbnail
2965
+ `],Ei([S("#input")],Je.prototype,"_input",2),Ei([S("#dropzone")],Je.prototype,"_dropzone",2),Ei([a({type:String})],Je.prototype,"accept",1),Ei([a({type:Boolean,reflect:!0,attribute:"disallow-folder-upload"})],Je.prototype,"disallowFolderUpload",2),Ei([a({type:Boolean})],Je.prototype,"multiple",2),Je=Ei([f("uui-file-dropzone")],Je);class ep{static humanFileSize(t,i=!1,o=1){const r=i?1e3:1024;if(Math.abs(t)<r)return t+" B";const s=i?["kB","MB","GB","TB","PB","EB","ZB","YB"]:["KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"];let n=-1;const u=10**o;do t/=r,++n;while(Math.round(Math.abs(t)*u)/u>=r&&n<s.length-1);return t.toFixed(o)+" "+s[n]}}var tp=Object.defineProperty,ip=Object.getOwnPropertyDescriptor,Te=(e,t,i,o)=>{for(var r=o>1?void 0:o?ip(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&tp(t,i,r),r};let de=class extends b{constructor(){super(...arguments),this._name="",this._url="",this._extension="",this._src="",this._size=0,this._isDirectory=!1}get file(){return this._file}set file(e){const t=this._file;e instanceof File&&(this._name=e.name.split(".")[0],this._extension=e.name.split(".")[1],this._isDirectory=!1,this._size=e.size,this._isFileAnImage(e)&&(this._isImage=!0,this._getThumbnail(e).then(i=>{this._src=i})),this.requestUpdate("file",t))}connectedCallback(){super.connectedCallback(),x(this,"uui-symbol-file-thumbnail"),x(this,"uui-symbol-folder"),x(this,"uui-symbol-file")}_openSource(){window.open(this._url,"_blank")}_fileTypeTemplate(){return this._isDirectory?l`<uui-symbol-folder id="file-symbol"></uui-symbol-folder>`:this._isImage?l`<uui-symbol-file-thumbnail
2957
2966
  .src=${this._src}
2958
2967
  .alt=${this._name}
2959
2968
  id="file-symbol"></uui-symbol-file-thumbnail>`:l`<uui-symbol-file
@@ -2973,10 +2982,10 @@
2973
2982
  <div id="file-info">
2974
2983
  ${this._renderLongName()}
2975
2984
  <span id="file-size">
2976
- ${this._size&&!this._isDirectory?l`${Qd.humanFileSize(this._size,!0)}`:""}
2985
+ ${this._size&&!this._isDirectory?l`${ep.humanFileSize(this._size,!0)}`:""}
2977
2986
  </span>
2978
2987
  </div>
2979
- `}};he.styles=[p`
2988
+ `}};de.styles=[p`
2980
2989
  :host {
2981
2990
  position: relative;
2982
2991
  display: grid;
@@ -3044,7 +3053,7 @@
3044
3053
  text-decoration: underline;
3045
3054
  cursor: pointer;
3046
3055
  }
3047
- `],Te([m()],he.prototype,"_name",2),Te([m()],he.prototype,"_url",2),Te([m()],he.prototype,"_extension",2),Te([m()],he.prototype,"_src",2),Te([m()],he.prototype,"_size",2),Te([m()],he.prototype,"_isDirectory",2),Te([m()],he.prototype,"_file",2),Te([m()],he.prototype,"_isImage",2),Te([a({attribute:!1})],he.prototype,"file",1),he=Te([f("uui-file-preview")],he);var tp=Object.defineProperty,ip=Object.getOwnPropertyDescriptor,zo=(e,t,i,o)=>{for(var r=o>1?void 0:o?ip(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&tp(t,i,r),r};let Wt=class extends b{constructor(){super(...arguments),this.description=null,this._labelSlotHasContent=!1,this._labelSlotChanged=e=>{this._labelSlotHasContent=e.target.assignedNodes({flatten:!0}).length>0},this._descriptionSlotHasContent=!1,this._descriptionSlotChanged=e=>{this._descriptionSlotHasContent=e.target.assignedNodes({flatten:!0}).length>0}}connectedCallback(){super.connectedCallback(),x(this,"uui-form-validation-message")}render(){return l`
3056
+ `],Te([m()],de.prototype,"_name",2),Te([m()],de.prototype,"_url",2),Te([m()],de.prototype,"_extension",2),Te([m()],de.prototype,"_src",2),Te([m()],de.prototype,"_size",2),Te([m()],de.prototype,"_isDirectory",2),Te([m()],de.prototype,"_file",2),Te([m()],de.prototype,"_isImage",2),Te([a({attribute:!1})],de.prototype,"file",1),de=Te([f("uui-file-preview")],de);var rp=Object.defineProperty,op=Object.getOwnPropertyDescriptor,zo=(e,t,i,o)=>{for(var r=o>1?void 0:o?op(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&rp(t,i,r),r};let Wt=class extends b{constructor(){super(...arguments),this.description=null,this._labelSlotHasContent=!1,this._labelSlotChanged=e=>{this._labelSlotHasContent=e.target.assignedNodes({flatten:!0}).length>0},this._descriptionSlotHasContent=!1,this._descriptionSlotChanged=e=>{this._descriptionSlotHasContent=e.target.assignedNodes({flatten:!0}).length>0}}connectedCallback(){super.connectedCallback(),x(this,"uui-form-validation-message")}render(){return l`
3048
3057
  <div id="label" style=${this._labelSlotHasContent?"":"display: none"}>
3049
3058
  <slot name="label" @slotchange=${this._labelSlotChanged}></slot>
3050
3059
  </div>
@@ -3083,21 +3092,21 @@
3083
3092
  * @license
3084
3093
  * Copyright 2017 Google LLC
3085
3094
  * SPDX-License-Identifier: BSD-3-Clause
3086
- */const Il=(e,t,i)=>{const o=new Map;for(let r=t;r<=i;r++)o.set(e[r],r);return o},Qs=di(class extends pi{constructor(e){if(super(e),e.type!==xe.CHILD)throw Error("repeat() can only be used in text expressions")}dt(e,t,i){let o;i===void 0?i=t:t!==void 0&&(o=t);const r=[],s=[];let n=0;for(const u of e)r[n]=o?o(u,n):n,s[n]=i(u,n),n++;return{values:s,keys:r}}render(e,t,i){return this.dt(e,t,i).values}update(e,[t,i,o]){const r=bd(e),{values:s,keys:n}=this.dt(t,i,o);if(!Array.isArray(r))return this.ut=n,s;const u=this.ut??=[],c=[];let v,g,d=0,k=r.length-1,h=0,_=s.length-1;for(;d<=k&&h<=_;)if(r[d]===null)d++;else if(r[k]===null)k--;else if(u[d]===n[h])c[h]=Rt(r[d],s[h]),d++,h++;else if(u[k]===n[_])c[_]=Rt(r[k],s[_]),k--,_--;else if(u[d]===n[_])c[_]=Rt(r[d],s[_]),ur(e,c[_+1],r[d]),d++,_--;else if(u[k]===n[h])c[h]=Rt(r[k],s[h]),ur(e,r[d],r[k]),k--,h++;else if(v===void 0&&(v=Il(n,h,_),g=Il(u,d,k)),v.has(u[d]))if(v.has(u[k])){const L=g.get(n[h]),P=L!==void 0?r[L]:null;if(P===null){const K=ur(e,r[d]);Rt(K,s[h]),c[h]=K}else c[h]=Rt(P,s[h]),ur(e,r[d],P),r[L]=null;h++}else Ts(r[k]),k--;else Ts(r[d]),d++;for(;h<=_;){const L=ur(e,c[_+1]);Rt(L,s[h]),c[h++]=L}for(;d<=k;){const L=r[d++];L!==null&&Ts(L)}return this.ut=n,pl(e,c),se}});/**
3095
+ */const Il=(e,t,i)=>{const o=new Map;for(let r=t;r<=i;r++)o.set(e[r],r);return o},Js=di(class extends pi{constructor(e){if(super(e),e.type!==$e.CHILD)throw Error("repeat() can only be used in text expressions")}dt(e,t,i){let o;i===void 0?i=t:t!==void 0&&(o=t);const r=[],s=[];let n=0;for(const u of e)r[n]=o?o(u,n):n,s[n]=i(u,n),n++;return{values:s,keys:r}}render(e,t,i){return this.dt(e,t,i).values}update(e,[t,i,o]){const r=md(e),{values:s,keys:n}=this.dt(t,i,o);if(!Array.isArray(r))return this.ut=n,s;const u=this.ut??=[],c=[];let v,g,d=0,C=r.length-1,h=0,_=s.length-1;for(;d<=C&&h<=_;)if(r[d]===null)d++;else if(r[C]===null)C--;else if(u[d]===n[h])c[h]=Rt(r[d],s[h]),d++,h++;else if(u[C]===n[_])c[_]=Rt(r[C],s[_]),C--,_--;else if(u[d]===n[_])c[_]=Rt(r[d],s[_]),ur(e,c[_+1],r[d]),d++,_--;else if(u[C]===n[h])c[h]=Rt(r[C],s[h]),ur(e,r[d],r[C]),C--,h++;else if(v===void 0&&(v=Il(n,h,_),g=Il(u,d,C)),v.has(u[d]))if(v.has(u[C])){const L=g.get(n[h]),P=L!==void 0?r[L]:null;if(P===null){const V=ur(e,r[d]);Rt(V,s[h]),c[h]=V}else c[h]=Rt(P,s[h]),ur(e,r[d],P),r[L]=null;h++}else Vs(r[C]),C--;else Vs(r[d]),d++;for(;h<=_;){const L=ur(e,c[_+1]);Rt(L,s[h]),c[h++]=L}for(;d<=C;){const L=r[d++];L!==null&&Vs(L)}return this.ut=n,pl(e,c),ne}});/**
3087
3096
  * @license
3088
3097
  * Copyright 2017 Google LLC
3089
3098
  * SPDX-License-Identifier: BSD-3-Clause
3090
- */class Js extends pi{constructor(t){if(super(t),this.it=C,t.type!==xe.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===C||t==null)return this._t=void 0,this.it=t;if(t===se)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const i=[t];return i.raw=i,this._t={_$litType$:this.constructor.resultType,strings:i,values:[]}}}Js.directiveName="unsafeHTML",Js.resultType=1;const Do=di(Js);var rp=Object.defineProperty,op=Object.getOwnPropertyDescriptor,Al=(e,t,i,o)=>{for(var r=o>1?void 0:o?op(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&rp(t,i,r),r};let vr=class extends b{constructor(){super(),this._for=null,this._messages=new Map,this._onControlInvalid=e=>{const t=e.composedPath()[0];t.pristine===!1?this._messages.set(t,t.validationMessage):this._messages.delete(t),this.requestUpdate()},this._onControlValid=e=>{const t=e.composedPath()[0];this._messages.delete(t),this.requestUpdate()},this.for===null&&(this.for=this)}get for(){return this._for}set for(e){let t=null;typeof e=="string"?t=this.getRootNode()?.getElementById(e):e instanceof HTMLElement&&(t=e);const i=t??this,o=this._for;o!==i&&(o!==null&&(o.removeEventListener(ci.INVALID,this._onControlInvalid),o.removeEventListener(ci.VALID,this._onControlValid)),this._for=i,this._for.addEventListener(ci.INVALID,this._onControlInvalid),this._for.addEventListener(ci.VALID,this._onControlValid))}render(){return l`
3099
+ */class en extends pi{constructor(t){if(super(t),this.it=k,t.type!==$e.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===k||t==null)return this._t=void 0,this.it=t;if(t===ne)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const i=[t];return i.raw=i,this._t={_$litType$:this.constructor.resultType,strings:i,values:[]}}}en.directiveName="unsafeHTML",en.resultType=1;const Do=di(en);var sp=Object.defineProperty,np=Object.getOwnPropertyDescriptor,Al=(e,t,i,o)=>{for(var r=o>1?void 0:o?np(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&sp(t,i,r),r};let vr=class extends b{constructor(){super(),this._for=null,this._messages=new Map,this._onControlInvalid=e=>{const t=e.composedPath()[0];t.pristine===!1?this._messages.set(t,t.validationMessage):this._messages.delete(t),this.requestUpdate("_messages")},this._onControlValid=e=>{const t=e.composedPath()[0];this._messages.delete(t),this.requestUpdate("_messages")},this.for===null&&(this.for=this)}get for(){return this._for}set for(e){let t=null;typeof e=="string"?t=this.getRootNode()?.getElementById(e):e instanceof HTMLElement&&(t=e);const i=t??this,o=this._for;o!==i&&(o!==null&&(o.removeEventListener(ci.INVALID,this._onControlInvalid),o.removeEventListener(ci.VALID,this._onControlValid)),this._for=i,this._for.addEventListener(ci.INVALID,this._onControlInvalid),this._for.addEventListener(ci.VALID,this._onControlValid))}render(){return l`
3091
3100
  <slot></slot>
3092
3101
  <div id="messages">
3093
- ${Qs(this._messages,e=>l`<div>${Do(e[1])}</div>`)}
3102
+ ${Js(this._messages,e=>l`<div>${Do(e[1])}</div>`)}
3094
3103
  <slot name="message"></slot>
3095
3104
  </div>
3096
3105
  `}};vr.styles=[p`
3097
3106
  #messages {
3098
3107
  color: var(--uui-color-danger-standalone,rgb(191, 33, 78));
3099
3108
  }
3100
- `],Al([a({reflect:!1,attribute:!0})],vr.prototype,"for",1),vr=Al([f("uui-form-validation-message")],vr);var sp=Object.defineProperty,np=Object.getOwnPropertyDescriptor,ap=(e,t,i,o)=>{for(var r=o>1?void 0:o?np(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&sp(t,i,r),r};let en=class extends b{constructor(){super(...arguments),this._formElement=null}getFormElement(){return this._formElement}_onSlotChanged(e){this._formElement&&(this._formElement.removeEventListener("submit",this._onSubmit),this._formElement.removeEventListener("reset",this._onReset));const t=e.target.assignedNodes({flatten:!0}).filter(i=>i instanceof HTMLFormElement);this._formElement=t.length>0?t[0]:null,this._formElement&&(this._formElement.setAttribute("novalidate",""),this._formElement.addEventListener("submit",this._onSubmit),this._formElement.addEventListener("reset",this._onReset))}_onSubmit(e){if(e.target===null)return;const t=e.target;if(!t.checkValidity()){t.setAttribute("submit-invalid","");return}t.removeAttribute("submit-invalid")}_onReset(e){e.target!==null&&e.target.removeAttribute("submit-invalid")}render(){return l`<slot @slotchange=${this._onSlotChanged}></slot>`}};en=ap([f("uui-form")],en);class Pi extends I{constructor(t,i={}){super(t,{bubbles:!0,composed:!0,...i}),this.icon=null}acceptRequest(t){this.icon=t,this.stopImmediatePropagation()}}Pi.ICON_REQUEST="icon-request";var lp=Object.defineProperty,up=Object.getOwnPropertyDescriptor,Gt=(e,t,i,o)=>{for(var r=o>1?void 0:o?up(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&lp(t,i,r),r};let Ve=class extends b{constructor(){super(...arguments),this._name=null,this._retrievedNameIcon=!1,this._nameSvg=null,this.label="",this.svg=null,this.fallback=null,this._useFallback=!1}get name(){return this._name}set name(e){this._name=e,this.shadowRoot&&this.requestIcon()}requestIcon(){if(this._name!==""&&this._name!==null){const e=new Pi(Pi.ICON_REQUEST,{detail:{iconName:this._name}});this.dispatchEvent(e),e.icon!==null?(this._retrievedNameIcon=!0,e.icon.then(t=>{this._useFallback=!1,this._nameSvg=t})):(this._retrievedNameIcon=!1,this._useFallback=!0)}}connectedCallback(){super.connectedCallback(),this._retrievedNameIcon===!1&&this.requestIcon()}disconnectedCallback(){this._retrievedNameIcon=!1}firstUpdated(){this._retrievedNameIcon===!1&&this.requestIcon(),typeof this.label=="string"&&this.label.length>0?(this.setAttribute("role","img"),this.setAttribute("aria-label",this.label),this.removeAttribute("aria-hidden")):(this.removeAttribute("role"),this.removeAttribute("aria-label"),this.setAttribute("aria-hidden","true"))}render(){return this._useFallback===!0?this.fallback===null?l`<slot name="fallback"></slot>`:Do(this.fallback):this._nameSvg!==null?Do(this._nameSvg):this.svg!==null?Do(this.svg):l`<slot></slot>`}};Ve.styles=[p`
3109
+ `],Al([a({reflect:!1,attribute:!0})],vr.prototype,"for",1),vr=Al([f("uui-form-validation-message")],vr);var ap=Object.defineProperty,lp=Object.getOwnPropertyDescriptor,up=(e,t,i,o)=>{for(var r=o>1?void 0:o?lp(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&ap(t,i,r),r};let tn=class extends b{constructor(){super(...arguments),this._formElement=null}getFormElement(){return this._formElement}_onSlotChanged(e){this._formElement&&(this._formElement.removeEventListener("submit",this._onSubmit),this._formElement.removeEventListener("reset",this._onReset));const t=e.target.assignedNodes({flatten:!0}).filter(i=>i instanceof HTMLFormElement);this._formElement=t.length>0?t[0]:null,this._formElement&&(this._formElement.setAttribute("novalidate",""),this._formElement.addEventListener("submit",this._onSubmit),this._formElement.addEventListener("reset",this._onReset))}_onSubmit(e){if(e.target===null)return;const t=e.target;if(!t.checkValidity()){t.setAttribute("submit-invalid","");return}t.removeAttribute("submit-invalid")}_onReset(e){e.target!==null&&e.target.removeAttribute("submit-invalid")}render(){return l`<slot @slotchange=${this._onSlotChanged}></slot>`}};tn=up([f("uui-form")],tn);class Pi extends U{constructor(t,i={}){super(t,{bubbles:!0,composed:!0,...i}),this.icon=null}acceptRequest(t){this.icon=t,this.stopImmediatePropagation()}}Pi.ICON_REQUEST="icon-request";var cp=Object.defineProperty,hp=Object.getOwnPropertyDescriptor,Gt=(e,t,i,o)=>{for(var r=o>1?void 0:o?hp(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&cp(t,i,r),r};let Ve=class extends b{constructor(){super(...arguments),this._name=null,this._retrievedNameIcon=!1,this._nameSvg=null,this.label="",this.svg=null,this.fallback=null,this._useFallback=!1}get name(){return this._name}set name(e){this._name=e,this.shadowRoot&&this.requestIcon()}requestIcon(){if(this._name!==""&&this._name!==null){const e=new Pi(Pi.ICON_REQUEST,{detail:{iconName:this._name}});this.dispatchEvent(e),e.icon!==null?(this._retrievedNameIcon=!0,e.icon.then(t=>{this._useFallback=!1,this._nameSvg=t})):(this._retrievedNameIcon=!1,this._useFallback=!0)}}connectedCallback(){super.connectedCallback(),this._retrievedNameIcon===!1&&this.requestIcon()}disconnectedCallback(){this._retrievedNameIcon=!1}firstUpdated(){this._retrievedNameIcon===!1&&this.requestIcon(),typeof this.label=="string"&&this.label.length>0?(this.setAttribute("role","img"),this.setAttribute("aria-label",this.label),this.removeAttribute("aria-hidden")):(this.removeAttribute("role"),this.removeAttribute("aria-label"),this.setAttribute("aria-hidden","true"))}render(){return this._useFallback===!0?this.fallback===null?l`<slot name="fallback"></slot>`:Do(this.fallback):this._nameSvg!==null?Do(this._nameSvg):this.svg!==null?Do(this.svg):l`<slot></slot>`}};Ve.styles=[p`
3101
3110
  :host {
3102
3111
  display: inline-block;
3103
3112
  vertical-align: bottom;
@@ -3117,16 +3126,16 @@
3117
3126
  :host-context(div[slot='append']) {
3118
3127
  margin-right: var(--uui-size-2, 6px);
3119
3128
  }
3120
- `],Gt([m()],Ve.prototype,"_nameSvg",2),Gt([a()],Ve.prototype,"label",2),Gt([a()],Ve.prototype,"name",1),Gt([a({attribute:!1})],Ve.prototype,"svg",2),Gt([a({attribute:!1})],Ve.prototype,"fallback",2),Gt([m()],Ve.prototype,"_useFallback",2),Ve=Gt([f("uui-icon")],Ve);class tn{constructor(t){this.promise=new Promise((i,o)=>{this.resolve=i,this.reject=o}),t&&this.resolve(t)}set svg(t){this.resolve(t)}}class rn{constructor(){this.icons={},this._onIconRequest=t=>{const i=this.getIcon(t.detail.iconName);i!==null&&t.acceptRequest(i)}}attach(t){t.addEventListener(Pi.ICON_REQUEST,this._onIconRequest)}detach(t){t.removeEventListener(Pi.ICON_REQUEST,this._onIconRequest)}defineIcon(t,i){if(this.icons[t]){this.icons[t].svg=i;return}this.icons[t]=new tn(i)}getIcon(t){return this.icons[t]||this.acceptIcon(t)?this.icons[t].promise:null}provideIcon(t){return this.icons[t]=new tn}acceptIcon(t){return!1}getIconNames(){return Object.keys(this.icons)}}var cp=Object.defineProperty,hp=Object.getOwnPropertyDescriptor,Ul=(e,t,i,o)=>{for(var r=o>1?void 0:o?hp(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&cp(t,i,r),r};let br=class extends b{constructor(){super(),this._icons={},this._registry=new rn,this._registry.attach(this)}get icons(){return this._icons}set icons(e){this._icons=e,this._registry&&Object.entries(this._icons).forEach(([t,i])=>this._registry.defineIcon(t,i))}get registry(){return this._registry}set registry(e){this.registry&&this.registry.detach(this),e.attach(this),this._registry=e}render(){return l`<slot></slot>`}};Ul([a({attribute:!1})],br.prototype,"_icons",2),br=Ul([f("uui-icon-registry")],br);const dp=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14"/><path d="M12 5v14"/></svg>`,pp=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z" /><path d="M12 9v4" /><path d="M12 17h.01" /></svg>`,fp=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="m21.44 11.05-9.19 9.19a6 6 0 0 1-8.49-8.49l8.57-8.57A4 4 0 1 1 18 8.84l-8.59 8.57a2 2 0 0 1-2.83-2.83l8.49-8.48" /></svg>`,vp=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><rect width="18" height="18" x="3" y="4" rx="2" ry="2" /><line x1="16" x2="16" y1="2" y2="6" /><line x1="8" x2="8" y1="2" y2="6" /><line x1="3" x2="21" y1="10" y2="10" /><path d="M8 14h.01" /><path d="M12 14h.01" /><path d="M16 14h.01" /><path d="M8 18h.01" /><path d="M12 18h.01" /><path d="M16 18h.01" /></svg>`,bp=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12" /></svg>`,gp=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><rect width="8" height="4" x="8" y="2" rx="1" ry="1" /><path d="M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2" /></svg>`,mp=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><polyline points="16 18 22 12 16 6" /><polyline points="8 6 2 12 8 18" /></svg>`,_p=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="m2 22 1-1h3l9-9" /><path d="M3 21v-3l9-9" /><path d="m15 6 3.4-3.4a2.1 2.1 0 1 1 3 3L18 9l.4.4a2.1 2.1 0 1 1-3 3l-3.8-3.8a2.1 2.1 0 1 1 3-3l.4.4Z" /></svg>`,yp=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M15.5 2H8.6c-.4 0-.8.2-1.1.5-.3.3-.5.7-.5 1.1v12.8c0 .4.2.8.5 1.1.3.3.7.5 1.1.5h9.8c.4 0 .8-.2 1.1-.5.3-.3.5-.7.5-1.1V6.5L15.5 2z" /><path d="M3 7.6v12.8c0 .4.2.8.5 1.1.3.3.7.5 1.1.5h9.8" /><path d="M15 2v5h5" /></svg>`,wp=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M3 6h18" /><path d="M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6" /><path d="M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2" /><line x1="10" x2="10" y1="11" y2="17" /><line x1="14" x2="14" y1="11" y2="17" /></svg>`,xp=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M14.5 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7.5L14.5 2z" /><polyline points="14 2 14 8 20 8" /></svg>`,$p=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" /><polyline points="7 10 12 15 17 10" /><line x1="12" x2="12" y1="15" y2="3" /></svg>`,Cp=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M17 3a2.85 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5Z" /><path d="m15 5 4 4" /></svg>`,kp=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z" /></svg>`,Ep=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z" /><path d="M2 10h20" /></svg>`,Pp=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><polygon points="7.86 2 16.14 2 22 7.86 22 16.14 16.14 22 7.86 22 2 16.14 2 7.86 7.86 2" /><path d="m15 9-6 6" /><path d="m9 9 6 6" /></svg>`,Sp=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" ><circle cx="12" cy="12" r="10" /><path d="M12 16v-4" /><path d="M12 8h.01" /></svg>`,Op=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71" /><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71" /></svg>`,Ip=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><rect width="18" height="11" x="3" y="11" rx="2" ry="2" /><path d="M7 11V7a5 5 0 0 1 10 0v4" /></svg>`,Ap=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><rect width="4" height="16" x="6" y="4" /><rect width="4" height="16" x="14" y="4" /></svg>`,Up=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><rect width="18" height="18" x="3" y="3" rx="2" ry="2" /><circle cx="9" cy="9" r="2" /><path d="m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21" /></svg>`,zp=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><polygon points="5 3 19 12 5 21 5 3" /></svg>`,Dp=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M18 6 6 18" /><path d="m6 6 12 12" /></svg>`,Mp=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8" /><path d="m21 21-4.3-4.3" /></svg>`,Lp=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z" /><circle cx="12" cy="12" r="3" /></svg>`,Tp=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z" /><circle cx="12" cy="12" r="3" /></svg>`,Vp=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14" /></svg>`,Np=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8" /><path d="M21 3v5h-5" /><path d="M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16" /><path d="M8 16H3v5" /></svg>`,Hp=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><rect width="18" height="11" x="3" y="11" rx="2" ry="2" /><path d="M7 11V7a5 5 0 0 1 9.9-1" /></svg>`,Bp=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M9.88 9.88a3 3 0 1 0 4.24 4.24" /><path d="M10.73 5.08A10.43 10.43 0 0 1 12 5c7 0 10 7 10 7a13.16 13.16 0 0 1-1.67 2.68" /><path d="M6.61 6.61A13.526 13.526 0 0 0 2 12s3 7 10 7a9.74 9.74 0 0 0 5.39-1.61" /><line x1="2" x2="22" y1="2" y2="22" /></svg>`,jp=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M15 4V2" /><path d="M15 16v-2" /><path d="M8 9h2" /><path d="M20 9h2" /><path d="M17.8 11.8 19 13" /><path d="M15 9h0" /><path d="M17.8 6.2 19 5" /><path d="m3 21 9-9" /><path d="M12.2 6.2 11 5" /></svg>`,Rp=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10" /><path d="m15 9-6 6" /><path d="m9 9 6 6" /></svg>`;class zl extends rn{constructor(){super(),this.defineIcon("add",dp.strings[0]),this.defineIcon("alert",pp.strings[0]),this.defineIcon("attachment",fp.strings[0]),this.defineIcon("calendar",vp.strings[0]),this.defineIcon("check",bp.strings[0]),this.defineIcon("clipboard",gp.strings[0]),this.defineIcon("code",mp.strings[0]),this.defineIcon("colorpicker",_p.strings[0]),this.defineIcon("copy",yp.strings[0]),this.defineIcon("delete",wp.strings[0]),this.defineIcon("document",xp.strings[0]),this.defineIcon("download",$p.strings[0]),this.defineIcon("edit",Cp.strings[0]),this.defineIcon("favorite",kp.strings[0]),this.defineIcon("folder",Ep.strings[0]),this.defineIcon("forbidden",Pp.strings[0]),this.defineIcon("info",Sp.strings[0]),this.defineIcon("link",Op.strings[0]),this.defineIcon("lock",Ip.strings[0]),this.defineIcon("pause",Ap.strings[0]),this.defineIcon("picture",Up.strings[0]),this.defineIcon("play",zp.strings[0]),this.defineIcon("remove",Dp.strings[0]),this.defineIcon("search",Mp.strings[0]),this.defineIcon("see",Lp.strings[0]),this.defineIcon("settings",Tp.strings[0]),this.defineIcon("subtract",Vp.strings[0]),this.defineIcon("sync",Np.strings[0]),this.defineIcon("unlock",Hp.strings[0]),this.defineIcon("unsee",Bp.strings[0]),this.defineIcon("wand",jp.strings[0]),this.defineIcon("wrong",Rp.strings[0])}}var Fp=Object.defineProperty,Wp=Object.getOwnPropertyDescriptor,Gp=(e,t,i,o)=>{for(var r=o>1?void 0:o?Wp(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Fp(t,i,r),r};let on=class extends br{constructor(){super(),this.registry=new zl}};on=Gp([f("uui-icon-registry-essential")],on);var qp=Object.defineProperty,Kp=Object.getOwnPropertyDescriptor,Si=(e,t,i,o)=>{for(var r=o>1?void 0:o?Kp(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&qp(t,i,r),r};let et=class extends ze(b){constructor(){super(),this.accept="",this.multiple=!1,this._files=[],this._updateFileWrappers=e=>{let t=[];for(const i of e)this.multiple?t.push(i):t=[i];this._files=t},this.addEventListener("dragenter",()=>this._setShowDropzone(!0)),this.addEventListener("dragleave",()=>this._setShowDropzone(!1)),this.addEventListener("drop",()=>this._setShowDropzone(!1))}get value(){return super.value}set value(e){if(super.value=e,e instanceof FormData){const t=this.multiple?e.getAll(this.name):[e.get(this.name)];this._updateFileWrappers(t);return}if(e instanceof File){this._updateFileWrappers([e]);return}}connectedCallback(){super.connectedCallback(),x(this,"uui-icon"),x(this,"uui-file-dropzone"),x(this,"uui-button"),x(this,"uui-action-bar"),x(this,"uui-file-preview")}getFormElement(){return this._dropZone}async blur(){await this.updateComplete,this._dropzone.blur()}async focus(){await this.updateComplete,this._dropzone.focus()}async click(){await this.updateComplete,this._dropzone.browse()}_handleClick(e){e.stopImmediatePropagation(),this._dropzone.browse()}async _handleFilesChange(e){const i=e.detail.files.filter(r=>r instanceof File||r.isFile);if(!this.multiple){const r=i[0],n=r instanceof File?r:await this._getFile(r);if(this.value instanceof File){this.value=n;return}if(this.value instanceof FormData){this.value.delete(this.name),this.value.append(this.name,n),this._updateFileWrappers([n]);return}}let o=this.value;if(i.length>0&&!(this.value instanceof FormData)&&(o=new FormData),o instanceof FormData)for(const r of i){const s=r instanceof File;o.append(this.name,s?r:await this._getFile(r))}this.value=o}async _getFile(e){return await new Promise((t,i)=>e.file(t,i))}_removeFile(e){const t=this._files[e];if(this.value instanceof FormData){const o=this.value.getAll(this.name).filter(r=>r!==t);if(o.length===0)this.value="";else{this.value.delete(this.name);for(const r of o)this.value.append(this.name,r)}this._updateFileWrappers(o)}this.value instanceof File&&(this.value="",this._updateFileWrappers([]))}_setShowDropzone(e){e?this._dropZone.style.display="flex":this._dropZone.style.display="none"}_renderFileItem(e,t){return l`<uui-file-preview .file="${e}">
3129
+ `],Gt([m()],Ve.prototype,"_nameSvg",2),Gt([a()],Ve.prototype,"label",2),Gt([a()],Ve.prototype,"name",1),Gt([a({attribute:!1})],Ve.prototype,"svg",2),Gt([a({attribute:!1})],Ve.prototype,"fallback",2),Gt([m()],Ve.prototype,"_useFallback",2),Ve=Gt([f("uui-icon")],Ve);class rn{constructor(t){this.promise=new Promise((i,o)=>{this.resolve=i,this.reject=o}),t&&this.resolve(t)}set svg(t){this.resolve(t)}}class on{constructor(){this.icons={},this._onIconRequest=t=>{const i=this.getIcon(t.detail.iconName);i!==null&&t.acceptRequest(i)}}attach(t){t.addEventListener(Pi.ICON_REQUEST,this._onIconRequest)}detach(t){t.removeEventListener(Pi.ICON_REQUEST,this._onIconRequest)}defineIcon(t,i){if(this.icons[t]){this.icons[t].svg=i;return}this.icons[t]=new rn(i)}getIcon(t){return this.icons[t]||this.acceptIcon(t)?this.icons[t].promise:null}provideIcon(t){return this.icons[t]=new rn}acceptIcon(t){return!1}getIconNames(){return Object.keys(this.icons)}}var dp=Object.defineProperty,pp=Object.getOwnPropertyDescriptor,Ul=(e,t,i,o)=>{for(var r=o>1?void 0:o?pp(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&dp(t,i,r),r};let br=class extends b{constructor(){super(),this._icons={},this._registry=new on,this._registry.attach(this)}get icons(){return this._icons}set icons(e){this._icons=e,this._registry&&Object.entries(this._icons).forEach(([t,i])=>this._registry.defineIcon(t,i))}get registry(){return this._registry}set registry(e){this.registry&&this.registry.detach(this),e.attach(this),this._registry=e}render(){return l`<slot></slot>`}};Ul([a({attribute:!1})],br.prototype,"_icons",2),br=Ul([f("uui-icon-registry")],br);const fp=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14"/><path d="M12 5v14"/></svg>`,vp=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z" /><path d="M12 9v4" /><path d="M12 17h.01" /></svg>`,bp=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="m21.44 11.05-9.19 9.19a6 6 0 0 1-8.49-8.49l8.57-8.57A4 4 0 1 1 18 8.84l-8.59 8.57a2 2 0 0 1-2.83-2.83l8.49-8.48" /></svg>`,gp=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><rect width="18" height="18" x="3" y="4" rx="2" ry="2" /><line x1="16" x2="16" y1="2" y2="6" /><line x1="8" x2="8" y1="2" y2="6" /><line x1="3" x2="21" y1="10" y2="10" /><path d="M8 14h.01" /><path d="M12 14h.01" /><path d="M16 14h.01" /><path d="M8 18h.01" /><path d="M12 18h.01" /><path d="M16 18h.01" /></svg>`,mp=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12" /></svg>`,_p=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><rect width="8" height="4" x="8" y="2" rx="1" ry="1" /><path d="M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2" /></svg>`,yp=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><polyline points="16 18 22 12 16 6" /><polyline points="8 6 2 12 8 18" /></svg>`,wp=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="m2 22 1-1h3l9-9" /><path d="M3 21v-3l9-9" /><path d="m15 6 3.4-3.4a2.1 2.1 0 1 1 3 3L18 9l.4.4a2.1 2.1 0 1 1-3 3l-3.8-3.8a2.1 2.1 0 1 1 3-3l.4.4Z" /></svg>`,xp=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M15.5 2H8.6c-.4 0-.8.2-1.1.5-.3.3-.5.7-.5 1.1v12.8c0 .4.2.8.5 1.1.3.3.7.5 1.1.5h9.8c.4 0 .8-.2 1.1-.5.3-.3.5-.7.5-1.1V6.5L15.5 2z" /><path d="M3 7.6v12.8c0 .4.2.8.5 1.1.3.3.7.5 1.1.5h9.8" /><path d="M15 2v5h5" /></svg>`,$p=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M3 6h18" /><path d="M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6" /><path d="M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2" /><line x1="10" x2="10" y1="11" y2="17" /><line x1="14" x2="14" y1="11" y2="17" /></svg>`,kp=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M14.5 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7.5L14.5 2z" /><polyline points="14 2 14 8 20 8" /></svg>`,Cp=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" /><polyline points="7 10 12 15 17 10" /><line x1="12" x2="12" y1="15" y2="3" /></svg>`,Ep=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M17 3a2.85 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5Z" /><path d="m15 5 4 4" /></svg>`,Pp=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z" /></svg>`,Op=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z" /><path d="M2 10h20" /></svg>`,Sp=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><polygon points="7.86 2 16.14 2 22 7.86 22 16.14 16.14 22 7.86 22 2 16.14 2 7.86 7.86 2" /><path d="m15 9-6 6" /><path d="m9 9 6 6" /></svg>`,Ip=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" ><circle cx="12" cy="12" r="10" /><path d="M12 16v-4" /><path d="M12 8h.01" /></svg>`,Ap=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71" /><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71" /></svg>`,Up=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><rect width="18" height="11" x="3" y="11" rx="2" ry="2" /><path d="M7 11V7a5 5 0 0 1 10 0v4" /></svg>`,zp=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><rect width="4" height="16" x="6" y="4" /><rect width="4" height="16" x="14" y="4" /></svg>`,Dp=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><rect width="18" height="18" x="3" y="3" rx="2" ry="2" /><circle cx="9" cy="9" r="2" /><path d="m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21" /></svg>`,Mp=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><polygon points="5 3 19 12 5 21 5 3" /></svg>`,Lp=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M18 6 6 18" /><path d="m6 6 12 12" /></svg>`,Tp=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8" /><path d="m21 21-4.3-4.3" /></svg>`,Vp=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z" /><circle cx="12" cy="12" r="3" /></svg>`,Np=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z" /><circle cx="12" cy="12" r="3" /></svg>`,Hp=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14" /></svg>`,Bp=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8" /><path d="M21 3v5h-5" /><path d="M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16" /><path d="M8 16H3v5" /></svg>`,jp=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><rect width="18" height="11" x="3" y="11" rx="2" ry="2" /><path d="M7 11V7a5 5 0 0 1 9.9-1" /></svg>`,Rp=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M9.88 9.88a3 3 0 1 0 4.24 4.24" /><path d="M10.73 5.08A10.43 10.43 0 0 1 12 5c7 0 10 7 10 7a13.16 13.16 0 0 1-1.67 2.68" /><path d="M6.61 6.61A13.526 13.526 0 0 0 2 12s3 7 10 7a9.74 9.74 0 0 0 5.39-1.61" /><line x1="2" x2="22" y1="2" y2="22" /></svg>`,Fp=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M15 4V2" /><path d="M15 16v-2" /><path d="M8 9h2" /><path d="M20 9h2" /><path d="M17.8 11.8 19 13" /><path d="M15 9h0" /><path d="M17.8 6.2 19 5" /><path d="m3 21 9-9" /><path d="M12.2 6.2 11 5" /></svg>`,Wp=y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10" /><path d="m15 9-6 6" /><path d="m9 9 6 6" /></svg>`;class zl extends on{constructor(){super(),this.defineIcon("add",fp.strings[0]),this.defineIcon("alert",vp.strings[0]),this.defineIcon("attachment",bp.strings[0]),this.defineIcon("calendar",gp.strings[0]),this.defineIcon("check",mp.strings[0]),this.defineIcon("clipboard",_p.strings[0]),this.defineIcon("code",yp.strings[0]),this.defineIcon("colorpicker",wp.strings[0]),this.defineIcon("copy",xp.strings[0]),this.defineIcon("delete",$p.strings[0]),this.defineIcon("document",kp.strings[0]),this.defineIcon("download",Cp.strings[0]),this.defineIcon("edit",Ep.strings[0]),this.defineIcon("favorite",Pp.strings[0]),this.defineIcon("folder",Op.strings[0]),this.defineIcon("forbidden",Sp.strings[0]),this.defineIcon("info",Ip.strings[0]),this.defineIcon("link",Ap.strings[0]),this.defineIcon("lock",Up.strings[0]),this.defineIcon("pause",zp.strings[0]),this.defineIcon("picture",Dp.strings[0]),this.defineIcon("play",Mp.strings[0]),this.defineIcon("remove",Lp.strings[0]),this.defineIcon("search",Tp.strings[0]),this.defineIcon("see",Vp.strings[0]),this.defineIcon("settings",Np.strings[0]),this.defineIcon("subtract",Hp.strings[0]),this.defineIcon("sync",Bp.strings[0]),this.defineIcon("unlock",jp.strings[0]),this.defineIcon("unsee",Rp.strings[0]),this.defineIcon("wand",Fp.strings[0]),this.defineIcon("wrong",Wp.strings[0])}}var Gp=Object.defineProperty,qp=Object.getOwnPropertyDescriptor,Kp=(e,t,i,o)=>{for(var r=o>1?void 0:o?qp(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Gp(t,i,r),r};let sn=class extends br{constructor(){super(),this.registry=new zl}};sn=Kp([f("uui-icon-registry-essential")],sn);var Yp=Object.defineProperty,Xp=Object.getOwnPropertyDescriptor,Oi=(e,t,i,o)=>{for(var r=o>1?void 0:o?Xp(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Yp(t,i,r),r};let et=class extends ze(b){constructor(){super(),this.accept="",this.multiple=!1,this._files=[],this._updateFileWrappers=e=>{let t=[];for(const i of e)this.multiple?t.push(i):t=[i];this._files=t},this.addEventListener("dragenter",()=>this._setShowDropzone(!0)),this.addEventListener("dragleave",()=>this._setShowDropzone(!1)),this.addEventListener("drop",()=>this._setShowDropzone(!1))}get value(){return super.value}set value(e){if(super.value=e,e instanceof FormData){const t=this.multiple?e.getAll(this.name):[e.get(this.name)];this._updateFileWrappers(t);return}if(e instanceof File){this._updateFileWrappers([e]);return}}connectedCallback(){super.connectedCallback(),x(this,"uui-icon"),x(this,"uui-file-dropzone"),x(this,"uui-button"),x(this,"uui-action-bar"),x(this,"uui-file-preview")}getFormElement(){return this._dropZone}async blur(){await this.updateComplete,this._dropzone.blur()}async focus(){await this.updateComplete,this._dropzone.focus()}async click(){await this.updateComplete,this._dropzone.browse()}_handleClick(e){e.stopImmediatePropagation(),this._dropzone.browse()}async _handleFilesChange(e){const i=e.detail.files.filter(r=>r instanceof File||r.isFile);if(!this.multiple){const r=i[0],n=r instanceof File?r:await this._getFile(r);if(this.value instanceof File){this.value=n;return}if(this.value instanceof FormData){this.value.delete(this.name),this.value.append(this.name,n),this._updateFileWrappers([n]);return}}let o=this.value;if(i.length>0&&!(this.value instanceof FormData)&&(o=new FormData),o instanceof FormData)for(const r of i){const s=r instanceof File;o.append(this.name,s?r:await this._getFile(r))}this.value=o}async _getFile(e){return await new Promise((t,i)=>e.file(t,i))}_removeFile(e){const t=this._files[e];if(this.value instanceof FormData){const o=this.value.getAll(this.name).filter(r=>r!==t);if(o.length===0)this.value="";else{this.value.delete(this.name);for(const r of o)this.value.append(this.name,r)}this._updateFileWrappers(o)}this.value instanceof File&&(this.value="",this._updateFileWrappers([]))}_setShowDropzone(e){e?this._dropZone.style.display="flex":this._dropZone.style.display="none"}_renderFileItem(e,t){return l`<uui-file-preview .file="${e}">
3121
3130
  <uui-action-bar slot="actions">
3122
3131
  <uui-button
3123
3132
  @click=${()=>this._removeFile(t)}
3124
3133
  color="danger"
3125
3134
  label=${`Delete ${e.name}`}>
3126
- <uui-icon name="delete" .fallback=${Eh.strings[0]}></uui-icon>
3135
+ <uui-icon name="delete" .fallback=${Oh.strings[0]}></uui-icon>
3127
3136
  </uui-button>
3128
3137
  </uui-action-bar>
3129
- </uui-file-preview>`}_renderFiles(){return l`${Qs(this._files,e=>e.name+e.size,(e,t)=>this._renderFileItem(e,t))}`}render(){return l`
3138
+ </uui-file-preview>`}_renderFiles(){return l`${Js(this._files,e=>e.name+e.size,(e,t)=>this._renderFileItem(e,t))}`}render(){return l`
3130
3139
  <uui-file-dropzone
3131
3140
  id="dropzone"
3132
3141
  ?multiple=${this.multiple}
@@ -3139,7 +3148,7 @@
3139
3148
  @click=${this._handleClick}
3140
3149
  id="add-button"
3141
3150
  look="placeholder"
3142
- label="Add"></uui-button>`:C}
3151
+ label="Add"></uui-button>`:k}
3143
3152
  </div>
3144
3153
  `}};et.styles=[p`
3145
3154
  :host {
@@ -3190,7 +3199,7 @@
3190
3199
  justify-content: center;
3191
3200
  align-items: stretch;
3192
3201
  }
3193
- `],Si([O("#dropzone")],et.prototype,"_dropzone",2),Si([O("#dropzone")],et.prototype,"_dropZone",2),Si([a({type:String})],et.prototype,"accept",2),Si([a({type:Boolean})],et.prototype,"multiple",2),Si([m()],et.prototype,"_files",2),et=Si([f("uui-input-file")],et);class qt extends I{constructor(t,i={}){super(t,{bubbles:!0,...i})}}qt.CHANGE="change",qt.INPUT="input";var Yp=Object.defineProperty,Xp=Object.getOwnPropertyDescriptor,ee=(e,t,i,o)=>{for(var r=o>1?void 0:o?Xp(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Yp(t,i,r),r};let T=class extends ze(Ue("",b),""){constructor(){super(),this.minlengthMessage="This field need more characters",this.maxlengthMessage="This field exceeds the allowed amount of characters",this.disabled=!1,this.readonly=!1,this.placeholder="",this.autoWidth=!1,this.inputMode="",this._type="text",this.addEventListener("mousedown",()=>{this.style.setProperty("--uui-show-focus-outline","0")}),this.addEventListener("blur",()=>{this.style.setProperty("--uui-show-focus-outline","")}),this.addEventListener("keypress",this._onKeypress),this.addValidator("tooShort",()=>this.minlengthMessage,()=>!!this.minlength&&String(this.value).length<this.minlength),this.addValidator("tooLong",()=>this.maxlengthMessage,()=>!!this.maxlength&&String(this.value).length>this.maxlength),this.updateComplete.then(()=>{this.addFormControlElement(this._input)})}get type(){return this._type}set type(e){this._type=e}_onKeypress(e){this.type!=="color"&&e.key=="Enter"&&this.submit()}async blur(){await this.updateComplete,this._input.blur()}async focus(){await this.updateComplete,this._input.focus()}async select(){await this.updateComplete,this._input.select()}getFormElement(){return this.shadowRoot?.querySelector("input")}onInput(e){e.stopPropagation(),this.value=e.target.value,this.dispatchEvent(new qt(qt.INPUT))}onChange(e){e.stopPropagation(),this.pristine=!1,this.dispatchEvent(new qt(qt.CHANGE))}renderPrepend(){return l`<slot name="prepend"></slot>`}renderAppend(){return l`<slot name="append"></slot>`}render(){return l`
3202
+ `],Oi([S("#dropzone")],et.prototype,"_dropzone",2),Oi([S("#dropzone")],et.prototype,"_dropZone",2),Oi([a({type:String})],et.prototype,"accept",2),Oi([a({type:Boolean})],et.prototype,"multiple",2),Oi([m()],et.prototype,"_files",2),et=Oi([f("uui-input-file")],et);class qt extends U{constructor(t,i={}){super(t,{bubbles:!0,...i})}}qt.CHANGE="change",qt.INPUT="input";var Zp=Object.defineProperty,Qp=Object.getOwnPropertyDescriptor,ee=(e,t,i,o)=>{for(var r=o>1?void 0:o?Qp(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Zp(t,i,r),r};let T=class extends ze(Ue("",b),""){constructor(){super(),this.minlengthMessage="This field need more characters",this.maxlengthMessage="This field exceeds the allowed amount of characters",this.disabled=!1,this.readonly=!1,this.placeholder="",this.autoWidth=!1,this.inputMode="",this._type="text",this.addEventListener("mousedown",()=>{this.style.setProperty("--uui-show-focus-outline","0")}),this.addEventListener("blur",()=>{this.style.setProperty("--uui-show-focus-outline","")}),this.addEventListener("keypress",this._onKeypress),this.addValidator("tooShort",()=>this.minlengthMessage,()=>!!this.minlength&&String(this.value).length<this.minlength),this.addValidator("tooLong",()=>this.maxlengthMessage,()=>!!this.maxlength&&String(this.value).length>this.maxlength),this.updateComplete.then(()=>{this.addFormControlElement(this._input)})}get type(){return this._type}set type(e){this._type=e}_onKeypress(e){this.type!=="color"&&e.key=="Enter"&&this.submit()}async blur(){await this.updateComplete,this._input.blur()}async focus(){await this.updateComplete,this._input.focus()}async select(){await this.updateComplete,this._input.select()}getFormElement(){return this.shadowRoot?.querySelector("input")}onInput(e){e.stopPropagation(),this.value=e.target.value,this.dispatchEvent(new qt(qt.INPUT))}onChange(e){e.stopPropagation(),this.pristine=!1,this.dispatchEvent(new qt(qt.CHANGE))}renderPrepend(){return l`<slot name="prepend"></slot>`}renderAppend(){return l`<slot name="append"></slot>`}render(){return l`
3194
3203
  ${this.renderPrepend()}
3195
3204
  ${this.autoWidth?this.renderInputWithAutoWidth():this.renderInput()}
3196
3205
  ${this.renderAppend()}
@@ -3345,9 +3354,9 @@
3345
3354
  height: 100%;
3346
3355
  --uui-input-border-width: 0;
3347
3356
  }
3348
- `],ee([a()],T.prototype,"min",2),ee([a({type:Number})],T.prototype,"minlength",2),ee([a({type:String,attribute:"minlength-message"})],T.prototype,"minlengthMessage",2),ee([a()],T.prototype,"max",2),ee([a({type:Number})],T.prototype,"maxlength",2),ee([a({type:String,attribute:"maxlength-message"})],T.prototype,"maxlengthMessage",2),ee([a({type:Number})],T.prototype,"step",2),ee([a({type:Boolean,reflect:!0})],T.prototype,"disabled",2),ee([a({type:Boolean,reflect:!0})],T.prototype,"readonly",2),ee([a()],T.prototype,"placeholder",2),ee([a()],T.prototype,"autocomplete",2),ee([a({type:Boolean,reflect:!0,attribute:"auto-width"})],T.prototype,"autoWidth",2),ee([a({type:String})],T.prototype,"type",1),ee([a({type:String})],T.prototype,"pattern",2),ee([a({type:String})],T.prototype,"inputMode",2),ee([O("#input")],T.prototype,"_input",2),T=ee([f("uui-input")],T);class Mo extends I{constructor(t,i={}){super(t,{bubbles:!0,...i})}}Mo.LOCK_CHANGE="lock-change";var Zp=Object.defineProperty,Qp=Object.getOwnPropertyDescriptor,Dl=(e,t,i,o)=>{for(var r=o>1?void 0:o?Qp(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Zp(t,i,r),r};let gr=class extends T{constructor(){super(),this.locked=!0,this.readonly=!0}connectedCallback(){super.connectedCallback(),x(this,"uui-icon"),x(this,"uui-button")}_onLockToggle(){this.readonly=this.locked=!this.locked,this.pristine=!1,this.dispatchEvent(new Mo(Mo.LOCK_CHANGE))}renderIcon(){return this.locked===!0?l`<uui-icon name="lock" .fallback=${Ph.strings[0]}></uui-icon>`:l`<uui-icon
3357
+ `],ee([a()],T.prototype,"min",2),ee([a({type:Number})],T.prototype,"minlength",2),ee([a({type:String,attribute:"minlength-message"})],T.prototype,"minlengthMessage",2),ee([a()],T.prototype,"max",2),ee([a({type:Number})],T.prototype,"maxlength",2),ee([a({type:String,attribute:"maxlength-message"})],T.prototype,"maxlengthMessage",2),ee([a({type:Number})],T.prototype,"step",2),ee([a({type:Boolean,reflect:!0})],T.prototype,"disabled",2),ee([a({type:Boolean,reflect:!0})],T.prototype,"readonly",2),ee([a()],T.prototype,"placeholder",2),ee([a()],T.prototype,"autocomplete",2),ee([a({type:Boolean,reflect:!0,attribute:"auto-width"})],T.prototype,"autoWidth",2),ee([a({type:String})],T.prototype,"type",1),ee([a({type:String})],T.prototype,"pattern",2),ee([a({type:String})],T.prototype,"inputMode",2),ee([S("#input")],T.prototype,"_input",2),T=ee([f("uui-input")],T);class Mo extends U{constructor(t,i={}){super(t,{bubbles:!0,...i})}}Mo.LOCK_CHANGE="lock-change";var Jp=Object.defineProperty,ef=Object.getOwnPropertyDescriptor,Dl=(e,t,i,o)=>{for(var r=o>1?void 0:o?ef(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Jp(t,i,r),r};let gr=class extends T{constructor(){super(),this.locked=!0,this.readonly=!0}connectedCallback(){super.connectedCallback(),x(this,"uui-icon"),x(this,"uui-button")}_onLockToggle(){this.readonly=this.locked=!this.locked,this.pristine=!1,this.dispatchEvent(new Mo(Mo.LOCK_CHANGE))}renderIcon(){return this.locked===!0?l`<uui-icon name="lock" .fallback=${Sh.strings[0]}></uui-icon>`:l`<uui-icon
3349
3358
  name="unlock"
3350
- .fallback=${Ah.strings[0]}></uui-icon>`}renderPrepend(){return l`<uui-button
3359
+ .fallback=${zh.strings[0]}></uui-icon>`}renderPrepend(){return l`<uui-button
3351
3360
  .disabled=${this.disabled}
3352
3361
  @click=${this._onLockToggle}
3353
3362
  compact
@@ -3367,16 +3376,16 @@
3367
3376
  cursor: not-allowed;
3368
3377
  opacity: 0.55;
3369
3378
  }
3370
- `],Dl([a({type:Boolean,reflect:!0})],gr.prototype,"locked",2),gr=Dl([f("uui-input-lock")],gr);var Jp=Object.defineProperty,ef=Object.getOwnPropertyDescriptor,sn=(e,t,i,o)=>{for(var r=o>1?void 0:o?ef(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Jp(t,i,r),r};let Oi=class extends T{constructor(){super(...arguments),this.passwordType="password"}get type(){return this.passwordType}set type(e){this.passwordType=e}_onPasswordToggle(){this.passwordType==="password"?this.passwordType="text":this.passwordType="password"}connectedCallback(){super.connectedCallback(),x(this,"uui-icon"),x(this,"uui-button"),this.hasAttribute("spellcheck")||(this.spellcheck=!1)}renderIcon(){return this.passwordType==="password"?l`<uui-icon name="see" .fallback=${Oh.strings[0]}></uui-icon>`:l`<uui-icon
3379
+ `],Dl([a({type:Boolean,reflect:!0})],gr.prototype,"locked",2),gr=Dl([f("uui-input-lock")],gr);var tf=Object.defineProperty,rf=Object.getOwnPropertyDescriptor,nn=(e,t,i,o)=>{for(var r=o>1?void 0:o?rf(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&tf(t,i,r),r};let Si=class extends T{constructor(){super(...arguments),this.passwordType="password"}get type(){return this.passwordType}set type(e){this.passwordType=e}_onPasswordToggle(){this.passwordType==="password"?this.passwordType="text":this.passwordType="password"}connectedCallback(){super.connectedCallback(),x(this,"uui-icon"),x(this,"uui-button"),this.hasAttribute("spellcheck")||(this.spellcheck=!1)}renderIcon(){return this.passwordType==="password"?l`<uui-icon name="see" .fallback=${Ah.strings[0]}></uui-icon>`:l`<uui-icon
3371
3380
  name="unsee"
3372
- .fallback=${Uh.strings[0]}></uui-icon>`}renderAppend(){return l`<uui-button
3381
+ .fallback=${Dh.strings[0]}></uui-icon>`}renderAppend(){return l`<uui-button
3373
3382
  .disabled=${this.disabled}
3374
3383
  @click=${this._onPasswordToggle}
3375
3384
  compact
3376
3385
  label="${this.passwordType==="password"?"Show password":"Hide password"}"
3377
3386
  id="eye">
3378
3387
  ${this.renderIcon()}
3379
- </uui-button>`}};Oi.styles=[...T.styles,p`
3388
+ </uui-button>`}};Si.styles=[...T.styles,p`
3380
3389
  #eye {
3381
3390
  height: 100%;
3382
3391
  margin-left: -6px;
@@ -3385,7 +3394,7 @@
3385
3394
  #clear:hover {
3386
3395
  color: black;
3387
3396
  }
3388
- `],sn([m()],Oi.prototype,"passwordType",2),sn([a()],Oi.prototype,"type",1),Oi=sn([f("uui-input-password")],Oi);var tf=Object.defineProperty,rf=Object.getOwnPropertyDescriptor,of=(e,t,i,o)=>{for(var r=o>1?void 0:o?rf(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&tf(t,i,r),r};let Lo=class extends b{render(){return l`<slot></slot>`}};Lo.styles=[p`
3397
+ `],nn([m()],Si.prototype,"passwordType",2),nn([a()],Si.prototype,"type",1),Si=nn([f("uui-input-password")],Si);var of=Object.defineProperty,sf=Object.getOwnPropertyDescriptor,nf=(e,t,i,o)=>{for(var r=o>1?void 0:o?sf(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&of(t,i,r),r};let Lo=class extends b{render(){return l`<slot></slot>`}};Lo.styles=[p`
3389
3398
  :host {
3390
3399
  display: inline-block;
3391
3400
  font-family: inherit;
@@ -3400,7 +3409,7 @@
3400
3409
  ::slotted(*:last-child)uui-key {
3401
3410
  margin-right: 0px;
3402
3411
  }
3403
- `],Lo=of([f("uui-keyboard-shortcut")],Lo);var sf=Object.defineProperty,nf=Object.getOwnPropertyDescriptor,af=(e,t,i,o)=>{for(var r=o>1?void 0:o?nf(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&sf(t,i,r),r};let To=class extends b{render(){return l`<slot></slot>`}};To.styles=[p`
3412
+ `],Lo=nf([f("uui-keyboard-shortcut")],Lo);var af=Object.defineProperty,lf=Object.getOwnPropertyDescriptor,uf=(e,t,i,o)=>{for(var r=o>1?void 0:o?lf(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&af(t,i,r),r};let To=class extends b{render(){return l`<slot></slot>`}};To.styles=[p`
3404
3413
  :host {
3405
3414
  background: var(--uui-color-surface,#fff);
3406
3415
  border: 1px solid var(--uui-color-border,#d8d7d9);
@@ -3414,7 +3423,7 @@
3414
3423
  user-select: none;
3415
3424
  text-transform: lowercase;
3416
3425
  }
3417
- `],To=af([f("uui-key")],To);var lf=Object.defineProperty,uf=Object.getOwnPropertyDescriptor,Vo=(e,t,i,o)=>{for(var r=o>1?void 0:o?uf(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&lf(t,i,r),r};let Kt=class extends b{constructor(){super(),this.disabled=!1,this.for=null,this.required=!1,this.addEventListener("click",this._onClick)}_onClick(){if(this.disabled)return;const e=this.getForElement();e&&(e.focus(),e.click())}getForElement(){return typeof this.for=="string"?this.getRootNode()?.getElementById(this.for)||null:this.for||null}render(){return l`
3426
+ `],To=uf([f("uui-key")],To);var cf=Object.defineProperty,hf=Object.getOwnPropertyDescriptor,Vo=(e,t,i,o)=>{for(var r=o>1?void 0:o?hf(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&cf(t,i,r),r};let Kt=class extends b{constructor(){super(),this.disabled=!1,this.for=null,this.required=!1,this.addEventListener("click",this._onClick)}_onClick(){if(this.disabled)return;const e=this.getForElement();e&&(e.focus(),e.click())}getForElement(){return typeof this.for=="string"?this.getRootNode()?.getElementById(this.for)||null:this.for||null}render(){return l`
3418
3427
  <slot></slot>
3419
3428
  ${this.required?l`<div id="required">*</div>`:""}
3420
3429
  `}};Kt.styles=[p`
@@ -3432,7 +3441,7 @@
3432
3441
  color: var(--uui-color-danger,#d42054);
3433
3442
  font-weight: 900;
3434
3443
  }
3435
- `],Vo([a({type:Boolean,reflect:!0})],Kt.prototype,"disabled",2),Vo([a({reflect:!0,attribute:!0})],Kt.prototype,"for",2),Vo([a({type:Boolean,reflect:!0})],Kt.prototype,"required",2),Kt=Vo([f("uui-label")],Kt);var cf=Object.defineProperty,hf=Object.getOwnPropertyDescriptor,nn=(e,t,i,o)=>{for(var r=o>1?void 0:o?hf(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&cf(t,i,r),r};let Ii=class extends b{constructor(){super(...arguments),this._progress=0,this._animationDuration=1}get progress(){return this._progress}set progress(e){const t=this._progress;this._progress=A(e,0,100),this.requestUpdate("progress",t)}get animationDuration(){return this._animationDuration}set animationDuration(e){const t=this._animationDuration;this._animationDuration=e>=0?e:1,this.requestUpdate("animationDuration",t)}render(){return l`
3444
+ `],Vo([a({type:Boolean,reflect:!0})],Kt.prototype,"disabled",2),Vo([a({reflect:!0,attribute:!0})],Kt.prototype,"for",2),Vo([a({type:Boolean,reflect:!0})],Kt.prototype,"required",2),Kt=Vo([f("uui-label")],Kt);var df=Object.defineProperty,pf=Object.getOwnPropertyDescriptor,an=(e,t,i,o)=>{for(var r=o>1?void 0:o?pf(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&df(t,i,r),r};let Ii=class extends b{constructor(){super(...arguments),this._progress=0,this._animationDuration=1}get progress(){return this._progress}set progress(e){const t=this._progress;this._progress=z(e,0,100),this.requestUpdate("progress",t)}get animationDuration(){return this._animationDuration}set animationDuration(e){const t=this._animationDuration;this._animationDuration=e>=0?e:1,this.requestUpdate("animationDuration",t)}render(){return l`
3436
3445
  ${this.progress?l`<div
3437
3446
  id="bar"
3438
3447
  style="max-width: ${this.progress.toString()}%;"></div>`:""}
@@ -3500,7 +3509,7 @@
3500
3509
  transform-origin: 175% 0%;
3501
3510
  }
3502
3511
  }
3503
- `],nn([a({type:Number})],Ii.prototype,"progress",1),nn([a({type:Number})],Ii.prototype,"animationDuration",1),Ii=nn([f("uui-loader-bar")],Ii);var df=Object.defineProperty,pf=Object.getOwnPropertyDescriptor,an=(e,t,i,o)=>{for(var r=o>1?void 0:o?pf(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&df(t,i,r),r};let Ai=class extends b{constructor(){super(...arguments),this.progress=0,this.showProgress=!1,this._resizeObserver=new ResizeObserver(()=>this.onResize()),this._isLarge=!1}_circleStyle(){return this.progress?{strokeDasharray:`${this.progress} 100`}:{strokeDasharray:"100 100"}}firstUpdated(){this._resizeObserver.observe(this)}disconnectedCallback(){this._resizeObserver.disconnect()}onResize(){const e=this.clientHeight>=30;this._isLarge!=e&&(this._isLarge=e,this.requestUpdate())}renderProgress(){return this._isLarge&&this.progress&&this.showProgress?l`<span id="progress-display">${this.progress}</span>`:""}render(){return l`
3512
+ `],an([a({type:Number})],Ii.prototype,"progress",1),an([a({type:Number})],Ii.prototype,"animationDuration",1),Ii=an([f("uui-loader-bar")],Ii);var ff=Object.defineProperty,vf=Object.getOwnPropertyDescriptor,ln=(e,t,i,o)=>{for(var r=o>1?void 0:o?vf(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&ff(t,i,r),r};let Ai=class extends b{constructor(){super(...arguments),this.progress=0,this.showProgress=!1,this._resizeObserver=new ResizeObserver(()=>this.onResize()),this._isLarge=!1}_circleStyle(){return this.progress?{strokeDasharray:`${this.progress} 100`}:{strokeDasharray:"100 100"}}firstUpdated(){this._resizeObserver.observe(this)}disconnectedCallback(){this._resizeObserver.disconnect()}onResize(){const e=this.clientHeight>=30;this._isLarge!=e&&(this._isLarge=e,this.requestUpdate())}renderProgress(){return this._isLarge&&this.progress&&this.showProgress?l`<span id="progress-display">${this.progress}</span>`:""}render(){return l`
3504
3513
  <svg
3505
3514
  id="spinner"
3506
3515
  class=${this.progress?"":"animate"}
@@ -3602,7 +3611,7 @@
3602
3611
  /* Center the text */
3603
3612
  padding-top: 0.09em;
3604
3613
  }
3605
- `],an([a({type:Number})],Ai.prototype,"progress",2),an([a({type:Boolean,reflect:!0,attribute:"show-progress"})],Ai.prototype,"showProgress",2),Ai=an([f("uui-loader-circle")],Ai);var ff=Object.defineProperty,vf=Object.getOwnPropertyDescriptor,bf=(e,t,i,o)=>{for(var r=o>1?void 0:o?vf(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&ff(t,i,r),r};let No=class extends b{render(){return l`
3614
+ `],ln([a({type:Number})],Ai.prototype,"progress",2),ln([a({type:Boolean,reflect:!0,attribute:"show-progress"})],Ai.prototype,"showProgress",2),Ai=ln([f("uui-loader-circle")],Ai);var bf=Object.defineProperty,gf=Object.getOwnPropertyDescriptor,mf=(e,t,i,o)=>{for(var r=o>1?void 0:o?gf(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&bf(t,i,r),r};let No=class extends b{render(){return l`
3606
3615
  <div></div>
3607
3616
  <div></div>
3608
3617
  <div></div>
@@ -3646,21 +3655,21 @@
3646
3655
  background-color: currentColor;
3647
3656
  }
3648
3657
  }
3649
- `],No=bf([f("uui-loader")],No);/**
3658
+ `],No=mf([f("uui-loader")],No);/**
3650
3659
  * @license
3651
3660
  * Copyright 2017 Google LLC
3652
3661
  * SPDX-License-Identifier: BSD-3-Clause
3653
- */const mr=(e,t)=>{const i=e._$AN;if(i===void 0)return!1;for(const o of i)o._$AO?.(t,!1),mr(o,t);return!0},Ho=e=>{let t,i;do{if((t=e._$AM)===void 0)break;i=t._$AN,i.delete(e),e=t}while(i?.size===0)},Ml=e=>{for(let t;t=e._$AM;e=t){let i=t._$AN;if(i===void 0)t._$AN=i=new Set;else if(i.has(e))break;i.add(e),_f(t)}};function gf(e){this._$AN!==void 0?(Ho(this),this._$AM=e,Ml(this)):this._$AM=e}function mf(e,t=!1,i=0){const o=this._$AH,r=this._$AN;if(r!==void 0&&r.size!==0)if(t)if(Array.isArray(o))for(let s=i;s<o.length;s++)mr(o[s],!1),Ho(o[s]);else o!=null&&(mr(o,!1),Ho(o));else mr(this,e)}const _f=e=>{e.type==xe.CHILD&&(e._$AP??=mf,e._$AQ??=gf)};class yf extends pi{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,i,o){super._$AT(t,i,o),Ml(this),this.isConnected=t._$AU}_$AO(t,i=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),i&&(mr(this,t),Ho(this))}setValue(t){if(hl(this._$Ct))this._$Ct._$AI(t,this);else{const i=[...this._$Ct._$AH];i[this._$Ci]=t,this._$Ct._$AI(i,this,0)}}disconnected(){}reconnected(){}}const ln=new WeakMap,un=di(class extends yf{render(e){return C}update(e,[t]){const i=t!==this.Y;return i&&this.Y!==void 0&&this.rt(void 0),(i||this.lt!==this.ct)&&(this.Y=t,this.ht=e.options?.host,this.rt(this.ct=e.element)),C}rt(e){if(this.isConnected||(e=void 0),typeof this.Y=="function"){const t=this.ht??globalThis;let i=ln.get(t);i===void 0&&(i=new WeakMap,ln.set(t,i)),i.get(this.Y)!==void 0&&this.Y.call(this.ht,void 0),i.set(this.Y,e),e!==void 0&&this.Y.call(this.ht,e)}else this.Y.value=e}get lt(){return typeof this.Y=="function"?ln.get(this.ht??globalThis)?.get(this.Y):this.Y?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});class tt extends I{}tt.SHOW_CHILDREN="show-children",tt.HIDE_CHILDREN="hide-children",tt.CLICK_LABEL="click-label";var wf=Object.defineProperty,xf=Object.getOwnPropertyDescriptor,Se=(e,t,i,o)=>{for(var r=o>1?void 0:o?xf(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&wf(t,i,r),r};let le=class extends ro(ui(or(Ue("label",b)))){constructor(){super(...arguments),this.disabled=!1,this.showChildren=!1,this.hasChildren=!1,this.loading=!1,this.caretLabel="Reveal the underlying items",this.iconSlotHasContent=!1,this._labelButtonChanged=e=>{this.selectableTarget=e||this},this._iconSlotChanged=e=>{this.iconSlotHasContent=e.target.assignedNodes({flatten:!0}).length>0},this._onCaretClicked=()=>{const e=this.showChildren?tt.HIDE_CHILDREN:tt.SHOW_CHILDREN,t=new tt(e,{cancelable:!0});this.dispatchEvent(t),!t.defaultPrevented&&(this.showChildren=!this.showChildren)},this._onLabelClicked=()=>{const e=new tt(tt.CLICK_LABEL);this.dispatchEvent(e)}}connectedCallback(){super.connectedCallback(),this.hasAttribute("role")||this.setAttribute("role","menu"),x(this,"uui-symbol-expand"),x(this,"uui-loader-bar")}async focus(){await this.updateComplete,this.shadowRoot?.querySelector("#label-button")?.focus?.()}_renderLabelInside(){return l` <slot
3662
+ */const mr=(e,t)=>{const i=e._$AN;if(i===void 0)return!1;for(const o of i)o._$AO?.(t,!1),mr(o,t);return!0},Ho=e=>{let t,i;do{if((t=e._$AM)===void 0)break;i=t._$AN,i.delete(e),e=t}while(i?.size===0)},Ml=e=>{for(let t;t=e._$AM;e=t){let i=t._$AN;if(i===void 0)t._$AN=i=new Set;else if(i.has(e))break;i.add(e),wf(t)}};function _f(e){this._$AN!==void 0?(Ho(this),this._$AM=e,Ml(this)):this._$AM=e}function yf(e,t=!1,i=0){const o=this._$AH,r=this._$AN;if(r!==void 0&&r.size!==0)if(t)if(Array.isArray(o))for(let s=i;s<o.length;s++)mr(o[s],!1),Ho(o[s]);else o!=null&&(mr(o,!1),Ho(o));else mr(this,e)}const wf=e=>{e.type==$e.CHILD&&(e._$AP??=yf,e._$AQ??=_f)};class xf extends pi{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,i,o){super._$AT(t,i,o),Ml(this),this.isConnected=t._$AU}_$AO(t,i=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),i&&(mr(this,t),Ho(this))}setValue(t){if(hl(this.t))this.t._$AI(t,this);else{const i=[...this.t._$AH];i[this.i]=t,this.t._$AI(i,this,0)}}disconnected(){}reconnected(){}}const un=new WeakMap,cn=di(class extends xf{render(e){return k}update(e,[t]){const i=t!==this.Y;return i&&this.Y!==void 0&&this.rt(void 0),(i||this.lt!==this.ct)&&(this.Y=t,this.ht=e.options?.host,this.rt(this.ct=e.element)),k}rt(e){if(this.isConnected||(e=void 0),typeof this.Y=="function"){const t=this.ht??globalThis;let i=un.get(t);i===void 0&&(i=new WeakMap,un.set(t,i)),i.get(this.Y)!==void 0&&this.Y.call(this.ht,void 0),i.set(this.Y,e),e!==void 0&&this.Y.call(this.ht,e)}else this.Y.value=e}get lt(){return typeof this.Y=="function"?un.get(this.ht??globalThis)?.get(this.Y):this.Y?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});class tt extends U{}tt.SHOW_CHILDREN="show-children",tt.HIDE_CHILDREN="hide-children",tt.CLICK_LABEL="click-label";var $f=Object.defineProperty,kf=Object.getOwnPropertyDescriptor,Se=(e,t,i,o)=>{for(var r=o>1?void 0:o?kf(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&$f(t,i,r),r};let ue=class extends ro(ui(or(Ue("label",b)))){constructor(){super(...arguments),this.disabled=!1,this.showChildren=!1,this.hasChildren=!1,this.loading=!1,this.caretLabel="Reveal the underlying items",this.iconSlotHasContent=!1,this._labelButtonChanged=e=>{this.selectableTarget=e||this},this._iconSlotChanged=e=>{this.iconSlotHasContent=e.target.assignedNodes({flatten:!0}).length>0},this._onCaretClicked=()=>{const e=this.showChildren?tt.HIDE_CHILDREN:tt.SHOW_CHILDREN,t=new tt(e,{cancelable:!0});this.dispatchEvent(t),!t.defaultPrevented&&(this.showChildren=!this.showChildren)},this._onLabelClicked=()=>{const e=new tt(tt.CLICK_LABEL);this.dispatchEvent(e)}}connectedCallback(){super.connectedCallback(),this.hasAttribute("role")||this.setAttribute("role","menu"),x(this,"uui-symbol-expand"),x(this,"uui-loader-bar")}async focus(){await this.updateComplete,this.shadowRoot?.querySelector("#label-button")?.focus?.()}_renderLabelInside(){return l` <slot
3654
3663
  name="icon"
3655
3664
  id="icon"
3656
3665
  style=${this.iconSlotHasContent?"":"display: none;"}
3657
3666
  @slotchange=${this._iconSlotChanged}></slot>
3658
3667
  ${this.renderLabel()}
3659
- <slot name="badge" id="badge"> </slot>`}_renderLabelAsAnchor(){return this.disabled?l` <span id="label-button" ${un(this._labelButtonChanged)}>
3668
+ <slot name="badge" id="badge"> </slot>`}_renderLabelAsAnchor(){return this.disabled?l` <span id="label-button" ${cn(this._labelButtonChanged)}>
3660
3669
  ${this._renderLabelInside()}
3661
3670
  </span>`:l` <a
3662
3671
  id="label-button"
3663
- ${un(this._labelButtonChanged)}
3672
+ ${cn(this._labelButtonChanged)}
3664
3673
  href=${w(this.href)}
3665
3674
  target=${w(this.target||void 0)}
3666
3675
  rel=${w(this.rel||w(this.target==="_blank"?"noopener noreferrer":void 0))}
@@ -3670,7 +3679,7 @@
3670
3679
  ${this._renderLabelInside()}
3671
3680
  </a>`}_renderLabelAsButton(){return l` <button
3672
3681
  id="label-button"
3673
- ${un(this._labelButtonChanged)}
3682
+ ${cn(this._labelButtonChanged)}
3674
3683
  @click=${this._onLabelClicked}
3675
3684
  ?disabled=${this.disabled}
3676
3685
  aria-label="${this.label}">
@@ -3692,7 +3701,7 @@
3692
3701
  ${this.loading?l`<uui-loader-bar id="loader"></uui-loader-bar>`:""}
3693
3702
  </div>
3694
3703
  ${this.showChildren?l`<slot></slot>`:""}
3695
- `}};le.styles=[p`
3704
+ `}};ue.styles=[p`
3696
3705
  :host {
3697
3706
  box-sizing: border-box;
3698
3707
  display: block;
@@ -4061,7 +4070,7 @@
4061
4070
  --uui-button-height: calc(var(--uui-size-base-unit) * 4);
4062
4071
  margin-right: var(--uui-size-base-unit);
4063
4072
  }
4064
- `],Se([a({type:Boolean,reflect:!0})],le.prototype,"disabled",2),Se([a({type:Boolean,reflect:!0,attribute:"show-children"})],le.prototype,"showChildren",2),Se([a({type:Boolean,attribute:"has-children"})],le.prototype,"hasChildren",2),Se([a({type:Boolean,attribute:"loading"})],le.prototype,"loading",2),Se([a({type:String})],le.prototype,"href",2),Se([a({type:String})],le.prototype,"target",2),Se([a({type:String})],le.prototype,"rel",2),Se([a({type:String,attribute:"select-mode",reflect:!0})],le.prototype,"selectMode",2),Se([a({type:String,attribute:"caret-label"})],le.prototype,"caretLabel",2),Se([m()],le.prototype,"iconSlotHasContent",2),le=Se([f("uui-menu-item")],le);var $f=Object.defineProperty,Cf=Object.getOwnPropertyDescriptor,Ui=(e,t,i,o)=>{for(var r=o>1?void 0:o?Cf(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&$f(t,i,r),r};const Yt="uui:modal-close";class de extends b{constructor(){super(...arguments),this.isOpen=!1,this.isClosing=!1,this.index=0,this.uniqueIndex=0,this._transitionDuration=250,this.open=t=>{t?.preventDefault(),t?.stopImmediatePropagation();const i=new CustomEvent("open",{cancelable:!0});this.dispatchEvent(i),!i.defaultPrevented&&this._openModal()},this.close=t=>{t?.preventDefault(),t?.stopImmediatePropagation();const i=new CustomEvent(Yt,{cancelable:!0});this.dispatchEvent(i),!i.defaultPrevented&&this._closeModal()}}get transitionDuration(){return this._transitionDuration}set transitionDuration(t){this._transitionDuration=t,this.style.setProperty("--uui-modal-transition-duration",this._transitionDuration+"ms")}firstUpdated(t){super.firstUpdated(t),this.isClosing||this.open()}_openModal(){this.isOpen=!0,this._dialogElement?.showModal(),this._dialogElement?.addEventListener("cancel",this.close)}_closeModal(){this.isClosing=!0,this.isOpen=!1,this._dialogElement?.close(),this.dispatchEvent(new CustomEvent("close-end")),this.remove()}}de.styles=[p`
4073
+ `],Se([a({type:Boolean,reflect:!0})],ue.prototype,"disabled",2),Se([a({type:Boolean,reflect:!0,attribute:"show-children"})],ue.prototype,"showChildren",2),Se([a({type:Boolean,attribute:"has-children"})],ue.prototype,"hasChildren",2),Se([a({type:Boolean,attribute:"loading"})],ue.prototype,"loading",2),Se([a({type:String})],ue.prototype,"href",2),Se([a({type:String})],ue.prototype,"target",2),Se([a({type:String})],ue.prototype,"rel",2),Se([a({type:String,attribute:"select-mode",reflect:!0})],ue.prototype,"selectMode",2),Se([a({type:String,attribute:"caret-label"})],ue.prototype,"caretLabel",2),Se([m()],ue.prototype,"iconSlotHasContent",2),ue=Se([f("uui-menu-item")],ue);var Cf=Object.defineProperty,Ef=Object.getOwnPropertyDescriptor,Ui=(e,t,i,o)=>{for(var r=o>1?void 0:o?Ef(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Cf(t,i,r),r};const Yt="uui:modal-close";class pe extends b{constructor(){super(...arguments),this.isOpen=!1,this.isClosing=!1,this.index=0,this.uniqueIndex=0,this._transitionDuration=250,this.open=t=>{t?.preventDefault(),t?.stopImmediatePropagation();const i=new CustomEvent("open",{cancelable:!0});this.dispatchEvent(i),!i.defaultPrevented&&this._openModal()},this.close=t=>{t?.preventDefault(),t?.stopImmediatePropagation();const i=new CustomEvent(Yt,{cancelable:!0});this.dispatchEvent(i),!i.defaultPrevented&&this._closeModal()}}get transitionDuration(){return this._transitionDuration}set transitionDuration(t){this._transitionDuration=t,this.style.setProperty("--uui-modal-transition-duration",this._transitionDuration+"ms")}firstUpdated(t){super.firstUpdated(t),this.isClosing||this.open()}_openModal(){this.isOpen=!0,this._dialogElement?.showModal(),this._dialogElement?.addEventListener("cancel",this.close)}_closeModal(){this.isClosing=!0,this.isOpen=!1,this._dialogElement?.close(),this.dispatchEvent(new CustomEvent("close-end")),this.remove()}}pe.styles=[p`
4065
4074
  dialog {
4066
4075
  display: block;
4067
4076
  margin: 0;
@@ -4070,6 +4079,7 @@
4070
4079
  max-height: unset;
4071
4080
  border: none;
4072
4081
  background: none;
4082
+ color: var(--uui-color-text,#060606);
4073
4083
  }
4074
4084
  dialog::backdrop {
4075
4085
  background: none;
@@ -4088,9 +4098,9 @@
4088
4098
  :host([index='0']) dialog::after {
4089
4099
  opacity: 0;
4090
4100
  }
4091
- `],Ui([O("dialog")],de.prototype,"_dialogElement",2),Ui([a({type:Boolean,reflect:!0,attribute:"is-open"})],de.prototype,"isOpen",2),Ui([a({type:Boolean,reflect:!0,attribute:"is-closing"})],de.prototype,"isClosing",2),Ui([a({type:Number,reflect:!0})],de.prototype,"index",2),Ui([a({type:Number,reflect:!0,attribute:"unique-index"})],de.prototype,"uniqueIndex",2),Ui([a({type:Number,attribute:"transition-duration"})],de.prototype,"transitionDuration",1);var kf=Object.defineProperty,Ef=Object.getOwnPropertyDescriptor,Ll=e=>{throw TypeError(e)},Tl=(e,t,i,o)=>{for(var r=o>1?void 0:o?Ef(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&kf(t,i,r),r},Vl=(e,t,i)=>t.has(e)||Ll("Cannot "+i),Nl=(e,t,i)=>(Vl(e,t,"read from private field"),i?i.call(e):t.get(e)),Pf=(e,t,i)=>t.has(e)?Ll("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,i),Sf=(e,t,i)=>(Vl(e,t,"access private method"),i),_r,cn,Hl;let zi=class extends de{constructor(){super(),Pf(this,_r),this.size="full",this.addEventListener(Yt,Sf(this,_r,Hl).bind(this))}firstUpdated(e){super.firstUpdated(e),this.style.setProperty("--uui-modal-offset",-Nl(this,_r,cn)+"px")}updated(e){super.updated(e),this.uniqueIndex>10?this.setAttribute("hide",""):this.removeAttribute("hide")}render(){return l`<dialog>
4101
+ `],Ui([S("dialog")],pe.prototype,"_dialogElement",2),Ui([a({type:Boolean,reflect:!0,attribute:"is-open"})],pe.prototype,"isOpen",2),Ui([a({type:Boolean,reflect:!0,attribute:"is-closing"})],pe.prototype,"isClosing",2),Ui([a({type:Number,reflect:!0})],pe.prototype,"index",2),Ui([a({type:Number,reflect:!0,attribute:"unique-index"})],pe.prototype,"uniqueIndex",2),Ui([a({type:Number,attribute:"transition-duration"})],pe.prototype,"transitionDuration",1);var Pf=Object.defineProperty,Of=Object.getOwnPropertyDescriptor,Ll=e=>{throw TypeError(e)},Tl=(e,t,i,o)=>{for(var r=o>1?void 0:o?Of(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Pf(t,i,r),r},Vl=(e,t,i)=>t.has(e)||Ll("Cannot "+i),Nl=(e,t,i)=>(Vl(e,t,"read from private field"),i?i.call(e):t.get(e)),Sf=(e,t,i)=>t.has(e)?Ll("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,i),If=(e,t,i)=>(Vl(e,t,"access private method"),i),_r,hn,Hl;let zi=class extends pe{constructor(){super(),Sf(this,_r),this.size="full",this.addEventListener(Yt,If(this,_r,Hl).bind(this))}firstUpdated(e){super.firstUpdated(e),this.style.setProperty("--uui-modal-offset",-Nl(this,_r,hn)+"px")}updated(e){super.updated(e),this.uniqueIndex>10?this.setAttribute("hide",""):this.removeAttribute("hide")}render(){return l`<dialog>
4092
4102
  <slot></slot>
4093
- </dialog>`}};_r=new WeakSet,cn=function(){return this._dialogElement?.getBoundingClientRect().width??0},Hl=function(e){e.preventDefault(),!this.isClosing&&(this.isClosing=!0,this.style.setProperty("--uui-modal-offset",-Nl(this,_r,cn)+"px"),setTimeout(()=>{this._closeModal()},this.transitionDuration))},zi.styles=[...de.styles,p`
4103
+ </dialog>`}};_r=new WeakSet,hn=function(){return this._dialogElement?.getBoundingClientRect().width??0},Hl=function(e){e.preventDefault(),!this.isClosing&&(this.isClosing=!0,this.style.setProperty("--uui-modal-offset",-Nl(this,_r,hn)+"px"),setTimeout(()=>{this._closeModal()},this.transitionDuration))},zi.styles=[...pe.styles,p`
4094
4104
  :host {
4095
4105
  --uui-modal-sidebar-left-gap: 24px;
4096
4106
  --uui-modal-sidebar-background: var(--uui-color-surface,#fff);
@@ -4129,9 +4139,9 @@
4129
4139
  max-width: min(800px, calc(100% - var(--uui-modal-sidebar-left-gap)));
4130
4140
  }
4131
4141
  :host([size='small']) dialog {
4132
- max-width: min(400px, calc(100% - var(--uui-modal-sidebar-left-gap)));
4142
+ max-width: min(500px, calc(100% - var(--uui-modal-sidebar-left-gap)));
4133
4143
  }
4134
- `],Tl([a({reflect:!0})],zi.prototype,"size",2),zi=Tl([f("uui-modal-sidebar")],zi);var Of=Object.defineProperty,If=Object.getOwnPropertyDescriptor,Bl=e=>{throw TypeError(e)},Di=(e,t,i,o)=>{for(var r=o>1?void 0:o?If(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Of(t,i,r),r},jl=(e,t,i)=>t.has(e)||Bl("Cannot "+i),yr=(e,t,i)=>(jl(e,t,"read from private field"),i?i.call(e):t.get(e)),hn=(e,t,i)=>t.has(e)?Bl("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,i),Bo=(e,t,i)=>(jl(e,t,"access private method"),i),dn,Mi,Li,pn,fn;let it=class extends b{constructor(){super(),hn(this,Li),this.sidebarGap=64,this.transitionDurationMS=250,hn(this,dn,()=>{const e=this._modals??[];if(this._modals=this.modalSlot?.assignedElements({flatten:!0}).filter(o=>o instanceof de)??[],e.filter(o=>this._modals.indexOf(o)===-1).forEach(o=>o.removeEventListener(Yt,yr(this,Mi))),this._modals.filter(o=>e.indexOf(o)===-1).forEach(o=>o.addEventListener(Yt,yr(this,Mi))),this._sidebars=this._modals.filter(o=>o instanceof zi),this._modals.length===0){this.removeAttribute("backdrop");return}Bo(this,Li,pn).call(this),Bo(this,Li,fn).call(this)}),hn(this,Mi,e=>{if(e.stopImmediatePropagation(),e.target?.removeEventListener(Yt,yr(this,Mi)),!this._modals||this._modals.length<=1){this.removeAttribute("backdrop");return}Bo(this,Li,pn).call(this),Bo(this,Li,fn).call(this)}),this.addEventListener(Yt,yr(this,Mi))}firstUpdated(e){super.firstUpdated(e),this.style.setProperty("--uui-modal-transition-duration",this.transitionDurationMS+"ms")}render(){return l`<slot @slotchange=${yr(this,dn)}></slot>`}};dn=new WeakMap,Mi=new WeakMap,Li=new WeakSet,pn=function(){this.setAttribute("backdrop","");const e=this._modals?.filter(t=>!t.isClosing).reverse()??[];e?.forEach((t,i)=>{t.index=i,t.transitionDuration=this.transitionDurationMS}),e?.forEach(t=>{const i=e?.filter(o=>o.constructor.name===t.constructor.name);t.uniqueIndex=i?.indexOf(t)??0})},fn=function(){requestAnimationFrame(()=>{let e=0;const t=this._sidebars?.filter(i=>!i.isClosing).reverse()??[];for(let i=0;i<t.length;i++){const o=t[i],r=t[i+1],s=e;if(o.updateComplete.then(()=>{o.style.setProperty("--uui-modal-offset",s+"px")}),r?.hasAttribute("hide"))break;const n=o.shadowRoot?.querySelector("dialog")?.getBoundingClientRect().width??0,u=r?.shadowRoot?.querySelector("dialog")?.getBoundingClientRect().width??0,c=n+e+this.sidebarGap-u;e=c>0?c:0}})},it.styles=p`
4144
+ `],Tl([a({reflect:!0})],zi.prototype,"size",2),zi=Tl([f("uui-modal-sidebar")],zi);var Af=Object.defineProperty,Uf=Object.getOwnPropertyDescriptor,Bl=e=>{throw TypeError(e)},Di=(e,t,i,o)=>{for(var r=o>1?void 0:o?Uf(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Af(t,i,r),r},jl=(e,t,i)=>t.has(e)||Bl("Cannot "+i),yr=(e,t,i)=>(jl(e,t,"read from private field"),i?i.call(e):t.get(e)),dn=(e,t,i)=>t.has(e)?Bl("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,i),Bo=(e,t,i)=>(jl(e,t,"access private method"),i),pn,Mi,Li,fn,vn;let it=class extends b{constructor(){super(),dn(this,Li),this.sidebarGap=64,this.transitionDurationMS=250,dn(this,pn,()=>{const e=this._modals??[];if(this._modals=this.modalSlot?.assignedElements({flatten:!0}).filter(o=>o instanceof pe)??[],e.filter(o=>this._modals.indexOf(o)===-1).forEach(o=>o.removeEventListener(Yt,yr(this,Mi))),this._modals.filter(o=>e.indexOf(o)===-1).forEach(o=>o.addEventListener(Yt,yr(this,Mi))),this._sidebars=this._modals.filter(o=>o instanceof zi),this._modals.length===0){this.removeAttribute("backdrop");return}Bo(this,Li,fn).call(this),Bo(this,Li,vn).call(this)}),dn(this,Mi,e=>{if(e.stopImmediatePropagation(),e.target?.removeEventListener(Yt,yr(this,Mi)),!this._modals||this._modals.length<=1){this.removeAttribute("backdrop");return}Bo(this,Li,fn).call(this),Bo(this,Li,vn).call(this)}),this.addEventListener(Yt,yr(this,Mi))}firstUpdated(e){super.firstUpdated(e),this.style.setProperty("--uui-modal-transition-duration",this.transitionDurationMS+"ms")}render(){return l`<slot @slotchange=${yr(this,pn)}></slot>`}};pn=new WeakMap,Mi=new WeakMap,Li=new WeakSet,fn=function(){this.setAttribute("backdrop","");const e=this._modals?.filter(t=>!t.isClosing).reverse()??[];e?.forEach((t,i)=>{t.index=i,t.transitionDuration=this.transitionDurationMS}),e?.forEach(t=>{const i=e?.filter(o=>o.constructor.name===t.constructor.name);t.uniqueIndex=i?.indexOf(t)??0})},vn=function(){requestAnimationFrame(()=>{let e=0;const t=this._sidebars?.filter(i=>!i.isClosing).reverse()??[];for(let i=0;i<t.length;i++){const o=t[i],r=t[i+1],s=e;if(o.updateComplete.then(()=>{o.style.setProperty("--uui-modal-offset",s+"px")}),r?.hasAttribute("hide"))break;const n=o.shadowRoot?.querySelector("dialog")?.getBoundingClientRect().width??0,u=r?.shadowRoot?.querySelector("dialog")?.getBoundingClientRect().width??0,c=n+e+this.sidebarGap-u;e=c>0?c:0}})},it.styles=p`
4135
4145
  :host {
4136
4146
  position: fixed;
4137
4147
  --uui-modal-color-backdrop: rgba(0, 0, 0, 0.5);
@@ -4148,11 +4158,11 @@
4148
4158
  :host([backdrop])::after {
4149
4159
  opacity: 1;
4150
4160
  }
4151
- `,Di([O("slot")],it.prototype,"modalSlot",2),Di([m()],it.prototype,"_modals",2),Di([m()],it.prototype,"_sidebars",2),Di([a({type:Number})],it.prototype,"sidebarGap",2),Di([a({type:Number})],it.prototype,"transitionDurationMS",2),it=Di([f("uui-modal-container")],it);var Af=Object.defineProperty,Uf=Object.getOwnPropertyDescriptor,zf=(e,t,i,o)=>{for(var r=o>1?void 0:o?Uf(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Af(t,i,r),r};let jo=class extends de{render(){return l`
4161
+ `,Di([S("slot")],it.prototype,"modalSlot",2),Di([m()],it.prototype,"_modals",2),Di([m()],it.prototype,"_sidebars",2),Di([a({type:Number})],it.prototype,"sidebarGap",2),Di([a({type:Number})],it.prototype,"transitionDurationMS",2),it=Di([f("uui-modal-container")],it);var zf=Object.defineProperty,Df=Object.getOwnPropertyDescriptor,Mf=(e,t,i,o)=>{for(var r=o>1?void 0:o?Df(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&zf(t,i,r),r};let jo=class extends pe{render(){return l`
4152
4162
  <dialog>
4153
4163
  <slot></slot>
4154
4164
  </dialog>
4155
- `}};jo.styles=[...de.styles,p`
4165
+ `}};jo.styles=[...pe.styles,p`
4156
4166
  :host {
4157
4167
  --uui-modal-dialog-background: var(--uui-color-surface,#fff);
4158
4168
  }
@@ -4175,7 +4185,7 @@
4175
4185
  :host(:not([index='0'])) dialog {
4176
4186
  outline: 1px solid rgba(0, 0, 0, 0.1);
4177
4187
  }
4178
- `],jo=zf([f("uui-modal-dialog")],jo);class mt extends I{constructor(t,i={}){super(t,{bubbles:!0,...i})}}mt.CHANGE="change";var Df=Object.defineProperty,Mf=Object.getOwnPropertyDescriptor,rt=(e,t,i,o)=>{for(var r=o>1?void 0:o?Mf(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Df(t,i,r),r};const Lf=45,vn=(e,t,i)=>Math.min(Math.max(e,t),i),Tf=(e,t)=>Array.from({length:t-e+1},(i,o)=>e+o);let ye=class extends b{constructor(){super(...arguments),this._observer=new ResizeObserver(this._calculateRange.bind(this)),this.label="",this.ariaLabel="",this._total=100,this._range=0,this._visiblePages=[],this._current=1}connectedCallback(){super.connectedCallback(),this.hasAttribute("role")||this.setAttribute("role","navigation"),this._visiblePages=this._generateVisiblePages(this.current),x(this,"uui-button"),x(this,"uui-button-group")}disconnectedCallback(){this._observer.disconnect()}firstUpdated(){this._observer.observe(this._pagesGroup),this.updateLabel(),this._calculateRange()}willUpdate(e){(e.has("current")||e.has("label"))&&this.updateLabel()}updateLabel(){this.ariaLabel=`${this.label||"Pagination navigation"}. Current page: ${this.current}.`}_calculateRange(){const e=this.offsetWidth,t=Array.from(this._navButtons).reduce((r,s)=>r+s.getBoundingClientRect().width,0),o=(e-t)/Lf/2;this._range=Math.max(1,Math.floor(o)),this._visiblePages=this._generateVisiblePages(this.current)}_generateVisiblePages(e){const t=e<this._range?1:e<this.total-this._range?e-this._range:this.total-this._range*2,i=e<=this._range?this._range*2+1:e<this.total-this._range?e+this._range:this.total;return Tf(vn(t,1,this.total),vn(i,1,this.total))}get total(){return this._total}set total(e){this._total=e,this._visiblePages=this._generateVisiblePages(this._current),this.requestUpdate("total",e)}get current(){return this._current}set current(e){const t=this._current;this._current=vn(e,1,this.total),this._visiblePages=this._generateVisiblePages(this._current),this.requestUpdate("current",t)}goToNextPage(){this.current++,this.dispatchEvent(new mt(mt.CHANGE))}goToPreviousPage(){this.current--,this.dispatchEvent(new mt(mt.CHANGE))}goToPage(e){this.current=e,this.dispatchEvent(new mt(mt.CHANGE))}focusActivePage(){requestAnimationFrame(()=>{const e=this.renderRoot.querySelector(".active");e&&e.focus()})}renderFirst(){return l`<uui-button
4188
+ `],jo=Mf([f("uui-modal-dialog")],jo);class mt extends U{constructor(t,i={}){super(t,{bubbles:!0,...i})}}mt.CHANGE="change";var Lf=Object.defineProperty,Tf=Object.getOwnPropertyDescriptor,rt=(e,t,i,o)=>{for(var r=o>1?void 0:o?Tf(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Lf(t,i,r),r};const Vf=45,bn=(e,t,i)=>Math.min(Math.max(e,t),i),Nf=(e,t)=>Array.from({length:t-e+1},(i,o)=>e+o);let we=class extends b{constructor(){super(...arguments),this._observer=new ResizeObserver(this._calculateRange.bind(this)),this.label="",this.ariaLabel="",this._total=100,this._range=0,this._visiblePages=[],this._current=1}connectedCallback(){super.connectedCallback(),this.hasAttribute("role")||this.setAttribute("role","navigation"),this._visiblePages=this._generateVisiblePages(this.current),x(this,"uui-button"),x(this,"uui-button-group")}disconnectedCallback(){this._observer.disconnect()}firstUpdated(){this._observer.observe(this._pagesGroup),this.updateLabel(),this._calculateRange()}willUpdate(e){(e.has("current")||e.has("label"))&&this.updateLabel()}updateLabel(){this.ariaLabel=`${this.label||"Pagination navigation"}. Current page: ${this.current}.`}_calculateRange(){const e=this.offsetWidth,t=Array.from(this._navButtons).reduce((r,s)=>r+s.getBoundingClientRect().width,0),o=(e-t)/Vf/2;this._range=Math.max(1,Math.floor(o)),this._visiblePages=this._generateVisiblePages(this.current)}_generateVisiblePages(e){const t=e<this._range?1:e<this.total-this._range?e-this._range:this.total-this._range*2,i=e<=this._range?this._range*2+1:e<this.total-this._range?e+this._range:this.total;return Nf(bn(t,1,this.total),bn(i,1,this.total))}get total(){return this._total}set total(e){this._total=e,this._visiblePages=this._generateVisiblePages(this._current),this.requestUpdate("total",e)}get current(){return this._current}set current(e){const t=this._current;this._current=bn(e,1,this.total),this._visiblePages=this._generateVisiblePages(this._current),this.requestUpdate("current",t)}goToNextPage(){this.current++,this.dispatchEvent(new mt(mt.CHANGE))}goToPreviousPage(){this.current--,this.dispatchEvent(new mt(mt.CHANGE))}goToPage(e){this.current=e,this.dispatchEvent(new mt(mt.CHANGE))}focusActivePage(){requestAnimationFrame(()=>{const e=this.renderRoot.querySelector(".active");e&&e.focus()})}renderFirst(){return l`<uui-button
4179
4189
  compact
4180
4190
  look="outline"
4181
4191
  class="nav"
@@ -4237,7 +4247,7 @@
4237
4247
  ${this._visiblePages.map(e=>this.renderPage(e))}
4238
4248
  ${this.renderNavigationRight()}
4239
4249
  </uui-button-group>
4240
- `}};ye.styles=[p`
4250
+ `}};we.styles=[p`
4241
4251
  uui-button-group {
4242
4252
  width: 100%;
4243
4253
  }
@@ -4267,7 +4277,7 @@
4267
4277
  .active {
4268
4278
  pointer-events: none;
4269
4279
  }
4270
- `],rt([Ku("uui-button.nav")],ye.prototype,"_navButtons",2),rt([O("#pages")],ye.prototype,"_pagesGroup",2),rt([a()],ye.prototype,"label",2),rt([a({reflect:!0,attribute:"aria-label"})],ye.prototype,"ariaLabel",2),rt([a({type:Number})],ye.prototype,"total",1),rt([m()],ye.prototype,"_range",2),rt([m()],ye.prototype,"_visiblePages",2),rt([a({type:Number})],ye.prototype,"current",1),ye=rt([f("uui-pagination")],ye);class bn extends I{}bn.CLOSE="close";var Vf=Object.defineProperty,Nf=Object.getOwnPropertyDescriptor,wr=(e,t,i,o)=>{for(var r=o>1?void 0:o?Nf(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Vf(t,i,r),r};function Ro(e,t,i){return e<t?t:e>i?i:e}let _t=class extends b{constructor(){super(...arguments),this.scrollEventHandler=this._updatePlacement.bind(this),this._open=!1,this._placement="bottom-start",this._currentPlacement=null,this._scrollParents=[],this.margin=0,this._onTriggerSlotChanged=e=>{this._trigger=e.target.assignedElements({flatten:!0})[0]},this._intersectionCallback=e=>{e.forEach(t=>{t.isIntersecting===!1&&(this._startScrollListener(),this._updatePlacement())})},this._onKeyUp=e=>{if(e.key==="Escape"){this._triggerPopoverClose();return}},this._onDocumentClick=e=>{e.composedPath().includes(this)||this._triggerPopoverClose()}}get placement(){return this._placement}set placement(e){const t=this._placement;this._placement=e||"bottom-start",this._currentPlacement=null,this._updatePlacement(),this.requestUpdate("placement",t)}get open(){return this._open}set open(e){const t=this._open;this._open=e,e?this._openPopover():this._closePopover(),this.requestUpdate("open",t)}connectedCallback(){super.connectedCallback(),this._getScrollParents()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("mousedown",this._onDocumentClick),document.removeEventListener("keyup",this._onKeyUp),document.removeEventListener("scroll",this.scrollEventHandler),this.intersectionObserver&&(this.intersectionObserver.disconnect(),delete this.intersectionObserver),this._scrollParents=[]}_openPopover(){this.containerElement&&(this.containerElement.style.opacity="0",document.addEventListener("mousedown",this._onDocumentClick),document.addEventListener("keyup",this._onKeyUp),this._currentPlacement=null,requestAnimationFrame(()=>{this._updatePlacement(),this._createIntersectionObserver(),this.containerElement.style.opacity="1"}))}_closePopover(){this.intersectionObserver&&(this.intersectionObserver.disconnect(),delete this.intersectionObserver),document.removeEventListener("mousedown",this._onDocumentClick),document.removeEventListener("keyup",this._onKeyUp),this._currentPlacement=null}_triggerPopoverClose(){const e=new bn(bn.CLOSE,{cancelable:!0});this.dispatchEvent(e),!e.defaultPrevented&&(this.open=!1)}_getScrollParents(){const e=this.shadowRoot.host;let t=getComputedStyle(e);if(t.position==="fixed")return;const i=t.position==="absolute",o=/(auto|scroll)/;let r=e;for(;r=r.parentElement;)if(t=getComputedStyle(r),!(i&&t.position==="static")&&(o.test(t.overflow+t.overflowY+t.overflowX)&&this._scrollParents.push(r),t.position==="fixed"))return;this._scrollParents.push(document.body)}_createIntersectionObserver(){if(this.intersectionObserver)return;const e={root:null,rootMargin:"0px",threshold:1};this.intersectionObserver=new IntersectionObserver(this._intersectionCallback,e),this.intersectionObserver.observe(this.containerElement)}_startScrollListener(){this._scrollParents.forEach(e=>{e.addEventListener("scroll",this.scrollEventHandler)}),document.addEventListener("scroll",this.scrollEventHandler)}_stopScrollListener(){this._scrollParents.forEach(e=>{e.removeEventListener("scroll",this.scrollEventHandler)}),document.removeEventListener("scroll",this.scrollEventHandler)}_updatePlacement(){if(!this.shadowRoot)return;const e=this.containerElement;if(!e)return;const t=this.containerElement?.getBoundingClientRect(),i=this._trigger?.getBoundingClientRect();if(i!=null&&t!=null){const o=this._scrollParents.map(Ae=>Ae.getBoundingClientRect());this._currentPlacement=this._currentPlacement||this._placement,this._placement!=="auto"&&(this._currentPlacement=this._managePlacementFlip(this._currentPlacement,t,o));let r=this._currentPlacement.indexOf("top")!==-1,s=this._currentPlacement.indexOf("bottom")!==-1,n=this._currentPlacement.indexOf("left")!==-1,u=this._currentPlacement.indexOf("right")!==-1;const c=this._currentPlacement.indexOf("-start")!==-1,v=this._currentPlacement.indexOf("-end")!==-1;let g=.5,d=.5,k=.5,h=.5,_=0,L=0;if(this.placement==="auto"){const Ae=this._scrollParents[0],Qi=Ae.clientWidth,Et=Ae.clientHeight,ri=i.x-t.width,oi=Qi-(i.x+i.width)-t.width,ps=i.y-t.height,Fr=Et-(i.y+i.height)-t.height;let Wr=.5,Gr=.5;const Ou=Math.max(ri,oi);let Hn=Math.max(ps,Fr);Fr>ps&&Fr>this.margin&&(Hn+=9999),Ou>Hn?(ri>oi?(Wr=0,n=!0):(Wr=1,u=!0),_=this.margin):(ps>Fr?(Gr=0,r=!0):(Gr=1,s=!0),L=this.margin),g=Wr,d=Gr,k=1-Wr,h=1-Gr}else r&&(h=1,d=0),s&&(h=0,d=1),(r||s)&&(L=this.margin,c&&(k=0,g=0),v&&(k=1,g=1)),n&&(k=1,g=0),u&&(k=0,g=1),(n||u)&&(_=this.margin,c&&(h=0,d=0),v&&(h=1,d=1));const P=-t.width*k+i.width*g-_*(k*2-1),K=-t.height*h+i.height*d-L*(h*2-1);let Ie=P,ht=K;r||s?(this._scrollParents.forEach((Ae,Qi)=>{const Et=Ae===document.body?0:o[Qi].x,ri=-i.x+Et,oi=Ae.clientWidth-i.x-i.width+P+Et-(t.width-i.width)*(1-g);Ie=Ro(Ie,ri,oi)}),Ie=Ro(Ie,-t.width,i.width)):(n||u)&&(this._scrollParents.forEach((Ae,Qi)=>{const Et=Ae===document.body?0:o[Qi].y,ri=-i.y+Et,oi=Ae.clientHeight-i.y-i.height+K+Et-(t.height-i.height)*(1-d);ht=Ro(ht,ri,oi)}),ht=Ro(ht,-t.height,i.height)),(this._positionX!==Ie||this._positionY!==ht)&&(this._positionX=Ie,this._positionY=ht,P===Ie&&K===ht&&this._stopScrollListener(),e.style.left=`${this._positionX}px`,e.style.top=`${this._positionY}px`)}}_managePlacementFlip(e,t,i){const r=e.split("-"),s=r[0],n=r[1]||null;let u;return this._scrollParents.some((c,v)=>{const g=c===document.body?0:i[v].x,d=c===document.body?0:i[v].y;return s==="top"&&t.y-2<=d?(u="bottom",!0):s==="bottom"&&t.y+t.height+2>=c.clientHeight+d?(u="top",!0):s==="left"&&t.x-2<=g?(u="right",!0):s==="right"&&t.x+t.width+2>=c.clientWidth+g?(u="left",!0):!1}),u?(this._startScrollListener(),u+(n?`-${n}`:"")):e}render(){return l`
4280
+ `],rt([Ku("uui-button.nav")],we.prototype,"_navButtons",2),rt([S("#pages")],we.prototype,"_pagesGroup",2),rt([a()],we.prototype,"label",2),rt([a({reflect:!0,attribute:"aria-label"})],we.prototype,"ariaLabel",2),rt([a({type:Number})],we.prototype,"total",1),rt([m()],we.prototype,"_range",2),rt([m()],we.prototype,"_visiblePages",2),rt([a({type:Number})],we.prototype,"current",1),we=rt([f("uui-pagination")],we);class gn extends U{}gn.CLOSE="close";var Hf=Object.defineProperty,Bf=Object.getOwnPropertyDescriptor,wr=(e,t,i,o)=>{for(var r=o>1?void 0:o?Bf(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Hf(t,i,r),r};function Ro(e,t,i){return e<t?t:e>i?i:e}let _t=class extends b{constructor(){super(...arguments),this.scrollEventHandler=this._updatePlacement.bind(this),this._open=!1,this._placement="bottom-start",this._currentPlacement=null,this._scrollParents=[],this.margin=0,this._onTriggerSlotChanged=e=>{this._trigger=e.target.assignedElements({flatten:!0})[0]},this._intersectionCallback=e=>{e.forEach(t=>{t.isIntersecting===!1&&(this._startScrollListener(),this._updatePlacement())})},this._onKeyUp=e=>{if(e.key==="Escape"){this._triggerPopoverClose();return}},this._onDocumentClick=e=>{e.composedPath().includes(this)||this._triggerPopoverClose()}}get placement(){return this._placement}set placement(e){const t=this._placement;this._placement=e||"bottom-start",this._currentPlacement=null,this._updatePlacement(),this.requestUpdate("placement",t)}get open(){return this._open}set open(e){const t=this._open;this._open=e,e?this._openPopover():this._closePopover(),this.requestUpdate("open",t)}connectedCallback(){super.connectedCallback(),this._getScrollParents()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("mousedown",this._onDocumentClick),document.removeEventListener("keyup",this._onKeyUp),document.removeEventListener("scroll",this.scrollEventHandler),this.intersectionObserver&&(this.intersectionObserver.disconnect(),delete this.intersectionObserver),this._scrollParents=[]}_openPopover(){this.containerElement&&(this.containerElement.style.opacity="0",document.addEventListener("mousedown",this._onDocumentClick),document.addEventListener("keyup",this._onKeyUp),this._currentPlacement=null,requestAnimationFrame(()=>{this._updatePlacement(),this._createIntersectionObserver(),this.containerElement.style.opacity="1"}))}_closePopover(){this.intersectionObserver&&(this.intersectionObserver.disconnect(),delete this.intersectionObserver),document.removeEventListener("mousedown",this._onDocumentClick),document.removeEventListener("keyup",this._onKeyUp),this._currentPlacement=null}_triggerPopoverClose(){const e=new gn(gn.CLOSE,{cancelable:!0});this.dispatchEvent(e),!e.defaultPrevented&&(this.open=!1)}_getScrollParents(){const e=this.shadowRoot.host;let t=getComputedStyle(e);if(t.position==="fixed")return;const i=t.position==="absolute",o=/(auto|scroll)/;let r=e;for(;r=r.parentElement;)if(t=getComputedStyle(r),!(i&&t.position==="static")&&(o.test(t.overflow+t.overflowY+t.overflowX)&&this._scrollParents.push(r),t.position==="fixed"))return;this._scrollParents.push(document.body)}_createIntersectionObserver(){if(this.intersectionObserver)return;const e={root:null,rootMargin:"0px",threshold:1};this.intersectionObserver=new IntersectionObserver(this._intersectionCallback,e),this.intersectionObserver.observe(this.containerElement)}_startScrollListener(){this._scrollParents.forEach(e=>{e.addEventListener("scroll",this.scrollEventHandler)}),document.addEventListener("scroll",this.scrollEventHandler)}_stopScrollListener(){this._scrollParents.forEach(e=>{e.removeEventListener("scroll",this.scrollEventHandler)}),document.removeEventListener("scroll",this.scrollEventHandler)}_updatePlacement(){if(!this.shadowRoot)return;const e=this.containerElement;if(!e)return;const t=this.containerElement?.getBoundingClientRect(),i=this._trigger?.getBoundingClientRect();if(i!=null&&t!=null){const o=this._scrollParents.map(Ae=>Ae.getBoundingClientRect());this._currentPlacement=this._currentPlacement||this._placement,this._placement!=="auto"&&(this._currentPlacement=this._managePlacementFlip(this._currentPlacement,t,o));let r=this._currentPlacement.indexOf("top")!==-1,s=this._currentPlacement.indexOf("bottom")!==-1,n=this._currentPlacement.indexOf("left")!==-1,u=this._currentPlacement.indexOf("right")!==-1;const c=this._currentPlacement.indexOf("-start")!==-1,v=this._currentPlacement.indexOf("-end")!==-1;let g=.5,d=.5,C=.5,h=.5,_=0,L=0;if(this.placement==="auto"){const Ae=this._scrollParents[0],Qi=Ae.clientWidth,Et=Ae.clientHeight,ri=i.x-t.width,oi=Qi-(i.x+i.width)-t.width,ps=i.y-t.height,Fr=Et-(i.y+i.height)-t.height;let Wr=.5,Gr=.5;const Su=Math.max(ri,oi);let Bn=Math.max(ps,Fr);Fr>ps&&Fr>this.margin&&(Bn+=9999),Su>Bn?(ri>oi?(Wr=0,n=!0):(Wr=1,u=!0),_=this.margin):(ps>Fr?(Gr=0,r=!0):(Gr=1,s=!0),L=this.margin),g=Wr,d=Gr,C=1-Wr,h=1-Gr}else r&&(h=1,d=0),s&&(h=0,d=1),(r||s)&&(L=this.margin,c&&(C=0,g=0),v&&(C=1,g=1)),n&&(C=1,g=0),u&&(C=0,g=1),(n||u)&&(_=this.margin,c&&(h=0,d=0),v&&(h=1,d=1));const P=-t.width*C+i.width*g-_*(C*2-1),V=-t.height*h+i.height*d-L*(h*2-1);let te=P,ht=V;r||s?(this._scrollParents.forEach((Ae,Qi)=>{const Et=Ae===document.body?0:o[Qi].x,ri=-i.x+Et,oi=Ae.clientWidth-i.x-i.width+P+Et-(t.width-i.width)*(1-g);te=Ro(te,ri,oi)}),te=Ro(te,-t.width,i.width)):(n||u)&&(this._scrollParents.forEach((Ae,Qi)=>{const Et=Ae===document.body?0:o[Qi].y,ri=-i.y+Et,oi=Ae.clientHeight-i.y-i.height+V+Et-(t.height-i.height)*(1-d);ht=Ro(ht,ri,oi)}),ht=Ro(ht,-t.height,i.height)),(this._positionX!==te||this._positionY!==ht)&&(this._positionX=te,this._positionY=ht,P===te&&V===ht&&this._stopScrollListener(),e.style.left=`${this._positionX}px`,e.style.top=`${this._positionY}px`)}}_managePlacementFlip(e,t,i){const r=e.split("-"),s=r[0],n=r[1]||null;let u;return this._scrollParents.some((c,v)=>{const g=c===document.body?0:i[v].x,d=c===document.body?0:i[v].y;return s==="top"&&t.y-2<=d?(u="bottom",!0):s==="bottom"&&t.y+t.height+2>=c.clientHeight+d?(u="top",!0):s==="left"&&t.x-2<=g?(u="right",!0):s==="right"&&t.x+t.width+2>=c.clientWidth+g?(u="left",!0):!1}),u?(this._startScrollListener(),u+(n?`-${n}`:"")):e}render(){return l`
4271
4281
  <slot
4272
4282
  id="trigger"
4273
4283
  name="trigger"
@@ -4302,7 +4312,7 @@
4302
4312
  --uui-popover-toggle-slot-button-merge-border-left
4303
4313
  );
4304
4314
  }
4305
- `],wr([O("#container")],_t.prototype,"containerElement",2),wr([a({type:Number})],_t.prototype,"margin",2),wr([a({type:String,reflect:!0})],_t.prototype,"placement",1),wr([a({type:Boolean,reflect:!0})],_t.prototype,"open",1),_t=wr([f("uui-popover")],_t);var Hf=Object.defineProperty,Bf=Object.getOwnPropertyDescriptor,Rl=e=>{throw TypeError(e)},Xt=(e,t,i,o)=>{for(var r=o>1?void 0:o?Bf(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Hf(t,i,r),r},gn=(e,t,i)=>t.has(e)||Rl("Cannot "+i),H=(e,t,i)=>(gn(e,t,"read from private field"),i?i.call(e):t.get(e)),Zt=(e,t,i)=>t.has(e)?Rl("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,i),jf=(e,t,i,o)=>(gn(e,t,"write to private field"),t.set(e,i),i),Ti=(e,t,i)=>(gn(e,t,"access private method"),i),ot,Vi,Fo,yt,xr,mn,wt,_n,Fl,yn,Wl;let Ne=class extends b{constructor(){super(...arguments),Zt(this,wt),this.margin=0,this._placement="bottom-start",this._open=!1,this._actualPlacement=this._placement,Zt(this,ot,null),Zt(this,Vi,[]),Zt(this,Fo,e=>{if(this._open=e.newState==="open",jf(this,ot,Ch(this,"popovertarget",this.id)),Ti(this,wt,Wl).call(this),H(this,ot)?.dispatchEvent(new CustomEvent("uui-popover-before-toggle",{bubbles:!1,composed:!1,detail:{oldState:e.oldState,newState:e.newState}})),!this._open){Ti(this,wt,yn).call(this);return}Ti(this,wt,Fl).call(this),requestAnimationFrame(()=>{H(this,yt).call(this)})}),Zt(this,yt,()=>{this._open&&(this._actualPlacement=this._placement,this.style.opacity="0",H(this,xr).call(this,3))}),Zt(this,xr,e=>{if(H(this,mn).call(this),e--,H(this,ot)===null)return;const t=this._actualPlacement.indexOf("top")!==-1,i=this._actualPlacement.indexOf("bottom")!==-1,o=this._actualPlacement.indexOf("left")!==-1,r=this._actualPlacement.indexOf("right")!==-1,s=this._actualPlacement.indexOf("-start")!==-1,n=this._actualPlacement.indexOf("-end")!==-1,u=H(this,ot).getBoundingClientRect(),c=this.getBoundingClientRect();let v=0,g=0;i&&(v=u.top+u.height,s&&(g=u.left),n&&(g=u.left+u.width-c.width),!s&&!n&&(g=u.left+u.width/2-c.width/2)),t&&(v=u.top-c.height,s&&(g=u.left),n&&(g=u.left+u.width-c.width),!s&&!n&&(g=u.left+u.width/2-c.width/2)),o&&(g=u.left-c.width,s&&(v=u.top),n&&(v=u.top+u.height-c.height),!s&&!n&&(v=u.top+u.height/2-c.height/2)),r&&(g=u.left+u.width,s&&(v=u.top),n&&(v=u.top+u.height-c.height),!s&&!n&&(v=u.top+u.height/2-c.height/2));const d=window.innerWidth,k=window.innerHeight,h=Math.min(0,u.top+u.height),_=Math.max(Math.min(v,k-c.height),u.top-c.height);if(Math.max(h,_)!==v&&(t||i)&&e>0){Ti(this,wt,_n).call(this),H(this,xr).call(this,e);return}v=Math.max(h,_);const P=Math.min(0,u.left+u.width),K=Math.max(Math.min(g,d-c.width),u.left-c.width),Ie=Math.max(P,K);if(Ie!==g&&(o||r)&&e>0){Ti(this,wt,_n).call(this),H(this,xr).call(this,e);return}g=Ie,(v+c.height<0||v>k||g+c.width<0||g>d)&&this.hidePopover(),this.style.transform=`translate(${g}px, ${v}px)`,this.style.opacity="1"}),Zt(this,mn,()=>{const e={top:"bottom",bottom:"top",left:"right",right:"left"};let t=this._actualPlacement.split("-")[0];t=e[t]||t,t=t.charAt(0).toUpperCase()+t.slice(1);const i=`padding${t}`;this.style.padding="0",this.style[i]=`${this.margin}px`})}get open(){return this._open}get placement(){return this._placement}set placement(e){this._placement=e,this._actualPlacement=e,H(this,yt).call(this)}connectedCallback(){this.hasAttribute("popover")||this.setAttribute("popover",""),super.connectedCallback(),this.addEventListener("beforetoggle",H(this,Fo))}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("beforetoggle",H(this,Fo)),Ti(this,wt,yn).call(this)}render(){return l`<slot></slot>`}};ot=new WeakMap,Vi=new WeakMap,Fo=new WeakMap,yt=new WeakMap,xr=new WeakMap,mn=new WeakMap,wt=new WeakSet,_n=function(){const[e,t]=this._actualPlacement.split("-"),i=e==="top"?"bottom":e==="bottom"?"top":e==="left"?"right":"left";this._actualPlacement=`${i}-${t}`},Fl=function(){H(this,Vi).forEach(e=>{e.addEventListener("scroll",H(this,yt),{passive:!0})}),document.addEventListener("scroll",H(this,yt),{passive:!0})},yn=function(){H(this,Vi).forEach(e=>{e.removeEventListener("scroll",H(this,yt))}),document.removeEventListener("scroll",H(this,yt))},Wl=function(){if(!H(this,ot))return;let e=getComputedStyle(H(this,ot));if(e.position==="fixed")return;const t=e.position==="absolute",i=/(auto|scroll)/;let o=H(this,ot);for(;o=o.parentElement;)if(e=getComputedStyle(o),!(t&&e.position==="static")&&(i.test(e.overflow+e.overflowY+e.overflowX)&&H(this,Vi).push(o),e.position==="fixed"))return;H(this,Vi).push(document.body)},Ne.styles=[p`
4315
+ `],wr([S("#container")],_t.prototype,"containerElement",2),wr([a({type:Number})],_t.prototype,"margin",2),wr([a({type:String,reflect:!0})],_t.prototype,"placement",1),wr([a({type:Boolean,reflect:!0})],_t.prototype,"open",1),_t=wr([f("uui-popover")],_t);var jf=Object.defineProperty,Rf=Object.getOwnPropertyDescriptor,Rl=e=>{throw TypeError(e)},Xt=(e,t,i,o)=>{for(var r=o>1?void 0:o?Rf(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&jf(t,i,r),r},mn=(e,t,i)=>t.has(e)||Rl("Cannot "+i),B=(e,t,i)=>(mn(e,t,"read from private field"),i?i.call(e):t.get(e)),Zt=(e,t,i)=>t.has(e)?Rl("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,i),Ff=(e,t,i,o)=>(mn(e,t,"write to private field"),t.set(e,i),i),Ti=(e,t,i)=>(mn(e,t,"access private method"),i),ot,Vi,Fo,yt,xr,_n,wt,yn,Fl,wn,Wl;let Ne=class extends b{constructor(){super(...arguments),Zt(this,wt),this.margin=0,this._placement="bottom-start",this._open=!1,this._actualPlacement=this._placement,Zt(this,ot,null),Zt(this,Vi,[]),Zt(this,Fo,e=>{if(this._open=e.newState==="open",Ff(this,ot,Eh(this,"popovertarget",this.id)),Ti(this,wt,Wl).call(this),B(this,ot)?.dispatchEvent(new CustomEvent("uui-popover-before-toggle",{bubbles:!1,composed:!1,detail:{oldState:e.oldState,newState:e.newState}})),!this._open){Ti(this,wt,wn).call(this);return}Ti(this,wt,Fl).call(this),requestAnimationFrame(()=>{B(this,yt).call(this)})}),Zt(this,yt,()=>{this._open&&(this._actualPlacement=this._placement,this.style.opacity="0",B(this,xr).call(this,3))}),Zt(this,xr,e=>{if(B(this,_n).call(this),e--,B(this,ot)===null)return;const t=this._actualPlacement.indexOf("top")!==-1,i=this._actualPlacement.indexOf("bottom")!==-1,o=this._actualPlacement.indexOf("left")!==-1,r=this._actualPlacement.indexOf("right")!==-1,s=this._actualPlacement.indexOf("-start")!==-1,n=this._actualPlacement.indexOf("-end")!==-1,u=B(this,ot).getBoundingClientRect(),c=this.getBoundingClientRect();let v=0,g=0;i&&(v=u.top+u.height,s&&(g=u.left),n&&(g=u.left+u.width-c.width),!s&&!n&&(g=u.left+u.width/2-c.width/2)),t&&(v=u.top-c.height,s&&(g=u.left),n&&(g=u.left+u.width-c.width),!s&&!n&&(g=u.left+u.width/2-c.width/2)),o&&(g=u.left-c.width,s&&(v=u.top),n&&(v=u.top+u.height-c.height),!s&&!n&&(v=u.top+u.height/2-c.height/2)),r&&(g=u.left+u.width,s&&(v=u.top),n&&(v=u.top+u.height-c.height),!s&&!n&&(v=u.top+u.height/2-c.height/2));const d=window.innerWidth,C=window.innerHeight,h=Math.min(0,u.top+u.height),_=Math.max(Math.min(v,C-c.height),u.top-c.height);if(Math.max(h,_)!==v&&(t||i)&&e>0){Ti(this,wt,yn).call(this),B(this,xr).call(this,e);return}v=Math.max(h,_);const P=Math.min(0,u.left+u.width),V=Math.max(Math.min(g,d-c.width),u.left-c.width),te=Math.max(P,V);if(te!==g&&(o||r)&&e>0){Ti(this,wt,yn).call(this),B(this,xr).call(this,e);return}g=te,(v+c.height<0||v>C||g+c.width<0||g>d)&&this.hidePopover(),this.style.transform=`translate(${g}px, ${v}px)`,this.style.opacity="1"}),Zt(this,_n,()=>{const e={top:"bottom",bottom:"top",left:"right",right:"left"};let t=this._actualPlacement.split("-")[0];t=e[t]||t,t=t.charAt(0).toUpperCase()+t.slice(1);const i=`padding${t}`;this.style.padding="0",this.style[i]=`${this.margin}px`})}get open(){return this._open}get placement(){return this._placement}set placement(e){this._placement=e,this._actualPlacement=e,B(this,yt).call(this)}connectedCallback(){this.hasAttribute("popover")||this.setAttribute("popover",""),super.connectedCallback(),this.addEventListener("beforetoggle",B(this,Fo))}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("beforetoggle",B(this,Fo)),Ti(this,wt,wn).call(this)}render(){return l`<slot></slot>`}};ot=new WeakMap,Vi=new WeakMap,Fo=new WeakMap,yt=new WeakMap,xr=new WeakMap,_n=new WeakMap,wt=new WeakSet,yn=function(){const[e,t]=this._actualPlacement.split("-"),i=e==="top"?"bottom":e==="bottom"?"top":e==="left"?"right":"left";this._actualPlacement=`${i}-${t}`},Fl=function(){B(this,Vi).forEach(e=>{e.addEventListener("scroll",B(this,yt),{passive:!0})}),document.addEventListener("scroll",B(this,yt),{passive:!0})},wn=function(){B(this,Vi).forEach(e=>{e.removeEventListener("scroll",B(this,yt))}),document.removeEventListener("scroll",B(this,yt))},Wl=function(){if(!B(this,ot))return;let e=getComputedStyle(B(this,ot));if(e.position==="fixed")return;const t=e.position==="absolute",i=/(auto|scroll)/;let o=B(this,ot);for(;o=o.parentElement;)if(e=getComputedStyle(o),!(t&&e.position==="static")&&(i.test(e.overflow+e.overflowY+e.overflowX)&&B(this,Vi).push(o),e.position==="fixed"))return;B(this,Vi).push(document.body)},Ne.styles=[p`
4306
4316
  :host {
4307
4317
  margin: 0;
4308
4318
  width: fit-content;
@@ -4313,8 +4323,9 @@
4313
4323
  background-color: none;
4314
4324
  background: none;
4315
4325
  overflow: visible;
4326
+ color: var(--uui-color-text,#060606);
4316
4327
  }
4317
- `],Xt([a({type:Number})],Ne.prototype,"margin",2),Xt([a({type:Boolean})],Ne.prototype,"open",1),Xt([a({type:String,reflect:!0})],Ne.prototype,"placement",1),Xt([m()],Ne.prototype,"_placement",2),Xt([m()],Ne.prototype,"_open",2),Xt([m()],Ne.prototype,"_actualPlacement",2),Ne=Xt([f("uui-popover-container")],Ne);var Rf=Object.defineProperty,Ff=Object.getOwnPropertyDescriptor,Gl=(e,t,i,o)=>{for(var r=o>1?void 0:o?Ff(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Rf(t,i,r),r};const Wf=(e,t,i)=>Math.min(Math.max(e,t),i);let $r=class extends b{constructor(){super(...arguments),this._progress=0}get progress(){return this._progress}set progress(e){const t=this._progress;this._progress=Wf(e,0,100),this.requestUpdate("progress",t)}_getProgressStyle(){return{width:`${this._progress}%`}}render(){return l`
4328
+ `],Xt([a({type:Number})],Ne.prototype,"margin",2),Xt([a({type:Boolean})],Ne.prototype,"open",1),Xt([a({type:String,reflect:!0})],Ne.prototype,"placement",1),Xt([m()],Ne.prototype,"_placement",2),Xt([m()],Ne.prototype,"_open",2),Xt([m()],Ne.prototype,"_actualPlacement",2),Ne=Xt([f("uui-popover-container")],Ne);var Wf=Object.defineProperty,Gf=Object.getOwnPropertyDescriptor,Gl=(e,t,i,o)=>{for(var r=o>1?void 0:o?Gf(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Wf(t,i,r),r};const qf=(e,t,i)=>Math.min(Math.max(e,t),i);let $r=class extends b{constructor(){super(...arguments),this._progress=0}get progress(){return this._progress}set progress(e){const t=this._progress;this._progress=qf(e,0,100),this.requestUpdate("progress",t)}_getProgressStyle(){return{width:`${this._progress}%`}}render(){return l`
4318
4329
  <div id="bar" style=${Me(this._getProgressStyle())}></div>
4319
4330
  `}};$r.styles=[p`
4320
4331
  :host {
@@ -4333,7 +4344,7 @@
4333
4344
  height: 100%;
4334
4345
  width: 0%;
4335
4346
  }
4336
- `],Gl([a({type:Number})],$r.prototype,"progress",1),$r=Gl([f("uui-progress-bar")],$r);class Ni extends I{constructor(t,i={}){super(t,{bubbles:!0,...i})}}Ni.CHANGE="change";var Gf=Object.defineProperty,qf=Object.getOwnPropertyDescriptor,ql=e=>{throw TypeError(e)},xt=(e,t,i,o)=>{for(var r=o>1?void 0:o?qf(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Gf(t,i,r),r},Kf=(e,t,i)=>t.has(e)||ql("Cannot "+i),Yf=(e,t,i)=>t.has(e)?ql("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,i),Xf=(e,t,i)=>(Kf(e,t,"access private method"),i),wn,Kl;let we=class extends b{constructor(){super(...arguments),Yf(this,wn),this.name="",this.value="",this.label="",this.checked=!1,this.disabled=!1,this.readonly=!1}focus(){this._inputElement.focus()}click(){this._inputElement.click()}uncheck(){this.checked=!1}check(){this.checked=!0}makeFocusable(){this.disabled||this.removeAttribute("tabindex")}makeUnfocusable(){this.disabled||this.setAttribute("tabindex","-1")}render(){return l` <label>
4347
+ `],Gl([a({type:Number})],$r.prototype,"progress",1),$r=Gl([f("uui-progress-bar")],$r);class Ni extends U{constructor(t,i={}){super(t,{bubbles:!0,...i})}}Ni.CHANGE="change";var Kf=Object.defineProperty,Yf=Object.getOwnPropertyDescriptor,ql=e=>{throw TypeError(e)},xt=(e,t,i,o)=>{for(var r=o>1?void 0:o?Yf(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Kf(t,i,r),r},Xf=(e,t,i)=>t.has(e)||ql("Cannot "+i),Zf=(e,t,i)=>t.has(e)?ql("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,i),Qf=(e,t,i)=>(Xf(e,t,"access private method"),i),xn,Kl;let xe=class extends b{constructor(){super(...arguments),Zf(this,xn),this.name="",this.value="",this.label="",this.checked=!1,this.disabled=!1,this.readonly=!1}focus(){this._inputElement.focus()}click(){this._inputElement.click()}uncheck(){this.checked=!1}check(){this.checked=!0}makeFocusable(){this.disabled||this.removeAttribute("tabindex")}makeUnfocusable(){this.disabled||this.setAttribute("tabindex","-1")}render(){return l` <label>
4337
4348
  <input
4338
4349
  id="input"
4339
4350
  type="radio"
@@ -4341,12 +4352,12 @@
4341
4352
  value=${this.value}
4342
4353
  .checked=${this.checked}
4343
4354
  .disabled=${this.disabled||this.readonly}
4344
- @change=${Xf(this,wn,Kl)} />
4355
+ @change=${Qf(this,xn,Kl)} />
4345
4356
  <div id="button"></div>
4346
4357
  <div id="label">
4347
4358
  ${this.label?l`<span>${this.label}</span>`:l`<slot></slot>`}
4348
4359
  </div>
4349
- </label>`}};wn=new WeakSet,Kl=function(e){e.stopPropagation();const t=this._inputElement.checked;this.checked=t,t&&this.focus(),this.dispatchEvent(new Ni(Ni.CHANGE))},we.styles=[no,p`
4360
+ </label>`}};xn=new WeakSet,Kl=function(e){e.stopPropagation();const t=this._inputElement.checked;this.checked=t,t&&this.focus(),this.dispatchEvent(new Ni(Ni.CHANGE))},xe.styles=[no,p`
4350
4361
  :host {
4351
4362
  display: block;
4352
4363
  box-sizing: border-box;
@@ -4467,7 +4478,7 @@
4467
4478
  transition: none;
4468
4479
  }
4469
4480
  }
4470
- `],xt([O("#input")],we.prototype,"_inputElement",2),xt([a({type:String})],we.prototype,"name",2),xt([a({type:String})],we.prototype,"value",2),xt([a({type:String})],we.prototype,"label",2),xt([a({type:Boolean,reflect:!0})],we.prototype,"checked",2),xt([a({type:Boolean,reflect:!0})],we.prototype,"disabled",2),xt([a({type:Boolean,reflect:!0})],we.prototype,"readonly",2),we=xt([f("uui-radio")],we);class Wo extends I{constructor(t,i={}){super(t,{bubbles:!0,...i})}}Wo.CHANGE="change";var Zf=Object.defineProperty,Qf=Object.getOwnPropertyDescriptor,Yl=e=>{throw TypeError(e)},xn=(e,t,i,o)=>{for(var r=o>1?void 0:o?Qf(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Zf(t,i,r),r},$n=(e,t,i)=>t.has(e)||Yl("Cannot "+i),$=(e,t,i)=>($n(e,t,"read from private field"),i?i.call(e):t.get(e)),$t=(e,t,i)=>t.has(e)?Yl("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,i),Go=(e,t,i,o)=>($n(e,t,"write to private field"),t.set(e,i),i),R=(e,t,i)=>($n(e,t,"access private method"),i),G,D,Cn,kn,qo,Ko,En,N,Xl,Pn,Sn,On,In,Qt,Zl,Ql,Cr;const Jf="ArrowLeft",ev="ArrowUp",tv="ArrowRight",iv="ArrowDown",rv=" ",ov="Enter";let Jt=class extends ze(b,""){constructor(){super(),$t(this,N),this.disabled=!1,this.readonly=!1,$t(this,G,null),$t(this,D,[]),$t(this,Cn,e=>{$(this,D)?.forEach(t=>{t!==e.target?t.makeUnfocusable():t.makeFocusable()})}),$t(this,kn,e=>{this.contains(e.relatedTarget)||$(this,G)===null&&$(this,D)?.forEach(t=>{t.makeFocusable()})}),$t(this,qo,()=>{this.pristine=!1}),$t(this,Ko,e=>{e.target.checked===!0&&(this.value=e.target.value,R(this,N,Cr).call(this))}),$t(this,En,e=>{switch(e.key){case Jf:case ev:{e.preventDefault(),R(this,N,Zl).call(this);break}case tv:case iv:{e.preventDefault(),R(this,N,Ql).call(this);break}case rv:{$(this,G)===null&&(this.value=R(this,N,Qt).call(this,1,!1)?.value,R(this,N,Cr).call(this));break}case ov:this.submit()}}),this.addEventListener("keydown",$(this,En)),this.addEventListener("focusin",$(this,Cn)),this.addEventListener("focusout",$(this,kn)),this.updateComplete.then(()=>{R(this,N,Sn).call(this,this.value)})}get value(){return super.value}set value(e){super.value=e,R(this,N,Sn).call(this,e)}connectedCallback(){super.connectedCallback(),this.hasAttribute("role")||this.setAttribute("role","radiogroup")}updated(e){super.updated(e),e.has("disabled")&&R(this,N,On).call(this,this.disabled),e.has("readonly")&&R(this,N,In).call(this,this.readonly),e.has("name")&&R(this,N,Pn).call(this,e.get("name"))}async focus(){await this.updateComplete,$(this,G)!==null?$(this,D)[$(this,G)]?.focus():R(this,N,Qt).call(this,1,!1)?.focus()}async blur(){await this.updateComplete,$(this,G)!==null?$(this,D)[$(this,G)]?.blur():R(this,N,Qt).call(this,1,!1)?.blur()}async click(){await this.updateComplete,$(this,G)!==null?$(this,D)[$(this,G)]?.click():R(this,N,Qt).call(this,1,!1)?.click()}getFormElement(){if($(this,D)&&$(this,G))return $(this,D)[$(this,G)]}render(){return l` <slot @slotchange=${R(this,N,Xl)}></slot> `}};G=new WeakMap,D=new WeakMap,Cn=new WeakMap,kn=new WeakMap,qo=new WeakMap,Ko=new WeakMap,En=new WeakMap,N=new WeakSet,Xl=function(e){if(e.stopPropagation(),$(this,D)?.forEach(i=>{i.removeEventListener(Ni.CHANGE,$(this,Ko)),i.removeEventListener("blur",$(this,qo))}),Go(this,G,null),Go(this,D,e.target.assignedElements({flatten:!0}).filter(i=>i instanceof we)),$(this,D).length===0)return;$(this,D).forEach(i=>{i.addEventListener(Ni.CHANGE,$(this,Ko)),i.addEventListener("blur",$(this,qo))}),R(this,N,Pn).call(this,this.name),this.disabled&&R(this,N,On).call(this,!0),this.readonly&&R(this,N,In).call(this,!0);const t=$(this,D).filter(i=>i.checked===!0);if(t.length>1&&($(this,D).forEach(i=>{i.checked=!1}),this.value="",console.error("There can only be one checked radio among the <"+this.nodeName+"> children",this)),t.length===1){const i=t[0];this.value=i.value,Go(this,G,$(this,D).indexOf(i))}},Pn=function(e){$(this,D)?.forEach(t=>t.name=e)},Sn=function(e){const t=[];$(this,D).forEach((i,o)=>{i.value===e?(i.checked=!0,i.makeFocusable(),Go(this,G,o)):(i.checked=!1,t.push(i))}),$(this,G)!==null&&t.forEach(i=>i.makeUnfocusable())},On=function(e){$(this,D)?.forEach(t=>t.disabled=e)},In=function(e){$(this,D)?.forEach(t=>t.readonly=e)},Qt=function(e=1,t=!0){if(!$(this,D)||$(this,D).length===0)return null;const i=$(this,D).length;let o=$(this,G)??0;for(let r=0;r<i+1;r++){if(!t||r>0){const s=$(this,D)[o];if(!s.disabled&&!s.readonly)return s}o=(o+e+i)%i}return null},Zl=function(){this.value=R(this,N,Qt).call(this,-1)?.value??"",$(this,D)[$(this,G)??0]?.focus(),R(this,N,Cr).call(this)},Ql=function(){this.value=R(this,N,Qt).call(this)?.value??"",$(this,D)[$(this,G)??0]?.focus(),R(this,N,Cr).call(this)},Cr=function(){this.pristine=!1,this.dispatchEvent(new Wo(Wo.CHANGE))},Jt.formAssociated=!0,Jt.styles=[p`
4481
+ `],xt([S("#input")],xe.prototype,"_inputElement",2),xt([a({type:String})],xe.prototype,"name",2),xt([a({type:String})],xe.prototype,"value",2),xt([a({type:String})],xe.prototype,"label",2),xt([a({type:Boolean,reflect:!0})],xe.prototype,"checked",2),xt([a({type:Boolean,reflect:!0})],xe.prototype,"disabled",2),xt([a({type:Boolean,reflect:!0})],xe.prototype,"readonly",2),xe=xt([f("uui-radio")],xe);class Wo extends U{constructor(t,i={}){super(t,{bubbles:!0,...i})}}Wo.CHANGE="change";var Jf=Object.defineProperty,ev=Object.getOwnPropertyDescriptor,Yl=e=>{throw TypeError(e)},$n=(e,t,i,o)=>{for(var r=o>1?void 0:o?ev(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Jf(t,i,r),r},kn=(e,t,i)=>t.has(e)||Yl("Cannot "+i),$=(e,t,i)=>(kn(e,t,"read from private field"),i?i.call(e):t.get(e)),$t=(e,t,i)=>t.has(e)?Yl("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,i),Go=(e,t,i,o)=>(kn(e,t,"write to private field"),t.set(e,i),i),F=(e,t,i)=>(kn(e,t,"access private method"),i),q,D,Cn,En,qo,Ko,Pn,H,Xl,On,Sn,In,An,Qt,Zl,Ql,kr;const tv="ArrowLeft",iv="ArrowUp",rv="ArrowRight",ov="ArrowDown",sv=" ",nv="Enter";let Jt=class extends ze(b,""){constructor(){super(),$t(this,H),this.disabled=!1,this.readonly=!1,$t(this,q,null),$t(this,D,[]),$t(this,Cn,e=>{$(this,D)?.forEach(t=>{t!==e.target?t.makeUnfocusable():t.makeFocusable()})}),$t(this,En,e=>{this.contains(e.relatedTarget)||$(this,q)===null&&$(this,D)?.forEach(t=>{t.makeFocusable()})}),$t(this,qo,()=>{this.pristine=!1}),$t(this,Ko,e=>{e.target.checked===!0&&(this.value=e.target.value,F(this,H,kr).call(this))}),$t(this,Pn,e=>{switch(e.key){case tv:case iv:{e.preventDefault(),F(this,H,Zl).call(this);break}case rv:case ov:{e.preventDefault(),F(this,H,Ql).call(this);break}case sv:{$(this,q)===null&&(this.value=F(this,H,Qt).call(this,1,!1)?.value,F(this,H,kr).call(this));break}case nv:this.submit()}}),this.addEventListener("keydown",$(this,Pn)),this.addEventListener("focusin",$(this,Cn)),this.addEventListener("focusout",$(this,En)),this.updateComplete.then(()=>{F(this,H,Sn).call(this,this.value)})}get value(){return super.value}set value(e){super.value=e,F(this,H,Sn).call(this,e)}connectedCallback(){super.connectedCallback(),this.hasAttribute("role")||this.setAttribute("role","radiogroup")}updated(e){super.updated(e),e.has("disabled")&&F(this,H,In).call(this,this.disabled),e.has("readonly")&&F(this,H,An).call(this,this.readonly),e.has("name")&&F(this,H,On).call(this,e.get("name"))}async focus(){await this.updateComplete,$(this,q)!==null?$(this,D)[$(this,q)]?.focus():F(this,H,Qt).call(this,1,!1)?.focus()}async blur(){await this.updateComplete,$(this,q)!==null?$(this,D)[$(this,q)]?.blur():F(this,H,Qt).call(this,1,!1)?.blur()}async click(){await this.updateComplete,$(this,q)!==null?$(this,D)[$(this,q)]?.click():F(this,H,Qt).call(this,1,!1)?.click()}getFormElement(){if($(this,D)&&$(this,q))return $(this,D)[$(this,q)]}render(){return l` <slot @slotchange=${F(this,H,Xl)}></slot> `}};q=new WeakMap,D=new WeakMap,Cn=new WeakMap,En=new WeakMap,qo=new WeakMap,Ko=new WeakMap,Pn=new WeakMap,H=new WeakSet,Xl=function(e){if(e.stopPropagation(),$(this,D)?.forEach(i=>{i.removeEventListener(Ni.CHANGE,$(this,Ko)),i.removeEventListener("blur",$(this,qo))}),Go(this,q,null),Go(this,D,e.target.assignedElements({flatten:!0}).filter(i=>i instanceof xe)),$(this,D).length===0)return;$(this,D).forEach(i=>{i.addEventListener(Ni.CHANGE,$(this,Ko)),i.addEventListener("blur",$(this,qo))}),F(this,H,On).call(this,this.name),this.disabled&&F(this,H,In).call(this,!0),this.readonly&&F(this,H,An).call(this,!0);const t=$(this,D).filter(i=>i.checked===!0);if(t.length>1&&($(this,D).forEach(i=>{i.checked=!1}),this.value="",console.error("There can only be one checked radio among the <"+this.nodeName+"> children",this)),t.length===1){const i=t[0];this.value=i.value,Go(this,q,$(this,D).indexOf(i))}},On=function(e){$(this,D)?.forEach(t=>t.name=e)},Sn=function(e){const t=[];$(this,D).forEach((i,o)=>{i.value===e?(i.checked=!0,i.makeFocusable(),Go(this,q,o)):(i.checked=!1,t.push(i))}),$(this,q)!==null&&t.forEach(i=>i.makeUnfocusable())},In=function(e){$(this,D)?.forEach(t=>t.disabled=e)},An=function(e){$(this,D)?.forEach(t=>t.readonly=e)},Qt=function(e=1,t=!0){if(!$(this,D)||$(this,D).length===0)return null;const i=$(this,D).length;let o=$(this,q)??0;for(let r=0;r<i+1;r++){if(!t||r>0){const s=$(this,D)[o];if(!s.disabled&&!s.readonly)return s}o=(o+e+i)%i}return null},Zl=function(){this.value=F(this,H,Qt).call(this,-1)?.value??"",$(this,D)[$(this,q)??0]?.focus(),F(this,H,kr).call(this)},Ql=function(){this.value=F(this,H,Qt).call(this)?.value??"",$(this,D)[$(this,q)??0]?.focus(),F(this,H,kr).call(this)},kr=function(){this.pristine=!1,this.dispatchEvent(new Wo(Wo.CHANGE))},Jt.formAssociated=!0,Jt.styles=[p`
4471
4482
  :host {
4472
4483
  display: inline-block;
4473
4484
  padding-right: 3px;
@@ -4480,7 +4491,7 @@
4480
4491
  :host(:not([pristine])[internals-invalid]) {
4481
4492
  border: 1px solid var(--uui-color-danger-standalone,rgb(191, 33, 78));
4482
4493
  }
4483
- `],xn([a({type:Boolean,reflect:!0})],Jt.prototype,"disabled",2),xn([a({type:Boolean,reflect:!0})],Jt.prototype,"readonly",2),Jt=xn([f("uui-radio-group")],Jt);class He extends I{constructor(t,i={}){super(t,{bubbles:!0,...i})}}He.INPUT="input",He.CHANGE="change";var sv=Object.defineProperty,nv=Object.getOwnPropertyDescriptor,Jl=e=>{throw TypeError(e)},B=(e,t,i,o)=>{for(var r=o>1?void 0:o?nv(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&sv(t,i,r),r},av=(e,t,i)=>t.has(e)||Jl("Cannot "+i),lv=(e,t,i)=>t.has(e)?Jl("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,i),Hi=(e,t,i)=>(av(e,t,"access private method"),i),Ct,ei;const An={TOP:3,CENTER:2,BACK:1},kr=18,st=12,uv=24;let M=class extends ze(b,""){constructor(){super(),lv(this,Ct),this.disabled=!1,this.readonly=!1,this._min=0,this._max=0,this.hideStepValues=!1,this._step=1,this._movement=!1,this.startPoint={mouse:0,low:0,high:0},this._lowInputValue=0,this._highInputValue=0,this._trackWidth=0,this._lowValuePercentStart=0,this._highValuePercentEnd=100,this._onKeypress=e=>{e.key=="Enter"&&this.submit()},this._onTouchStart=e=>{if(this.disabled)return;const t=e.composedPath()[0];if(t!==this._outerTrack)if(t===this._innerColor||t===this._innerColorThumb)window.addEventListener("touchend",this._onTouchEnd),window.addEventListener("touchcancel",this._onTouchEnd),window.addEventListener("touchmove",this._onTouchMove),this._movement=!0,this._saveStartPoints(e.touches[0].pageX);else{const i=this._getClickedValue(e.touches[0].pageX),o=Math.abs(this._lowInputValue-i),r=Math.abs(this._highInputValue-i);o<r?this.setValueLow(i):this.setValueHigh(i)}},this._onTouchMove=e=>{this._dragBothValuesByMousePos(e.touches[0].pageX)},this._onTouchEnd=()=>{this._movement=!1,this.onChanged(),window.removeEventListener("touchend",this._onTouchEnd),window.removeEventListener("touchcancel",this._onTouchEnd),window.removeEventListener("touchmove",this._onTouchMove)},this._onMouseDown=e=>{if(this.disabled||this.readonly)return;const t=e.composedPath()[0];if(t!==this._outerTrack)if(t===this._innerColor||t===this._innerColorThumb)window.addEventListener("mouseup",this._onMouseUp),window.addEventListener("mousemove",this._onMouseMove),this._movement=!0,this._saveStartPoints(e.pageX);else{const i=this._getClickedValue(e.pageX),o=Math.abs(this._lowInputValue-i),r=Math.abs(this._highInputValue-i);o<r?this.setValueLow(i):this.setValueHigh(i)}},this._onMouseMove=e=>{e.preventDefault(),this._dragBothValuesByMousePos(e.pageX)},this._onMouseUp=()=>{this._movement=!1,this.onChanged(),window.removeEventListener("mouseup",this._onMouseUp),window.removeEventListener("mousemove",this._onMouseMove)},this.addEventListener("keypress",this._onKeypress),this.addEventListener("mousedown",this._onMouseDown),this.addEventListener("touchstart",this._onTouchStart),window.addEventListener("resize",()=>{this._trackWidth=this._outerTrack?.offsetWidth})}get min(){return this._min}set min(e){this._min=e,Hi(this,Ct,ei).call(this)}get max(){return this._max}set max(e){this._max=e,Hi(this,Ct,ei).call(this)}get step(){return this._step}set step(e){this._step=e,Hi(this,Ct,ei).call(this)}get minGap(){return this._minGap}set minGap(e){this._minGap=e,Hi(this,Ct,ei).call(this)}get maxGap(){return this._maxGap}set maxGap(e){this._maxGap=e,Hi(this,Ct,ei).call(this)}get value(){return super.value}set value(e){super.value=e,Hi(this,Ct,ei).call(this)}setValueLow(e){e=A(e,this.maxGap?this._highInputValue-this.maxGap>this.min?this._highInputValue-this.maxGap:this.min:this.min,this.minGap?this._highInputValue-this.minGap:this._highInputValue-this.step),this.setValue(e,this._highInputValue)}setValueHigh(e){e=A(e,this.minGap?this._lowInputValue+this.minGap:this._lowInputValue+this.step,this.maxGap?this.maxGap+this._lowInputValue<this.max?this.maxGap+this._lowInputValue:this.max:this.max),this.setValue(this._lowInputValue,e)}setValue(e,t,i){if(i){const o=this.startPoint.high-this.startPoint.low;e=A(e,this.min,this.max-o),t=A(t,this.min+o,this.max)}this._inputLow.value=e.toString(),this._inputHigh.value=t.toString(),this.value=`${e},${t}`}getFormElement(){return this._currentFocus?this._currentFocus:this._inputLow}async focus(){await this.updateComplete,this.getFormElement().focus()}async blur(){await this.updateComplete,this.getFormElement().blur()}connectedCallback(){super.connectedCallback(),this.value||(this.value=`${this._min},${this._max}`)}firstUpdated(e){super.updated(e),this._trackWidth=this._outerTrack.offsetWidth,this._runPropertiesChecks()}_runPropertiesChecks(){if(new RegExp(/^-?\d+(\.\d+)?,-?\d+(\.\d+)?$/).test(this.value)||console.error("Range slider (Value error occurred): Bad input"),this._highInputValue===this._lowInputValue&&console.error("Range slider (Value error occurred): Low-end and high-end value should never be equal. Use <uui-slider></uui-slider> instead."),this._lowInputValue>this._highInputValue&&console.error("Range slider (Value error occurred): Low-end value should never be higher than high-end value."),(this._highInputValue>this._max||this._highInputValue<this._min)&&(this.setValueHigh(this._max),console.warn(`Conflict with the high-end value and max value. High-end value has been converted to the max value (${this._max})`)),(this._lowInputValue<this._min||this._lowInputValue>this._max)&&(this.setValueLow(this._min),console.warn(`Conflict with the low-end value and min value. Low-end value has been converted to the min value (${this._min})`)),this._step<=0&&(this._step=1,console.warn("Property step needs a value higher than 0. Converted the step value to 1 (default)")),(this._max-this._min)/this._step%1!==0&&console.error("Conflict with step value and the min and max values. May experience bad side effects"),this._minGap&&this._minGap<this._step&&(this._minGap=void 0,console.warn("Conflict with min-gap and step value. The min-gap needs to be higher than the step value. Removed the min-gap property.")),this._minGap&&this._maxGap&&this._minGap>this._maxGap&&(this._minGap=void 0,this._maxGap=void 0,console.warn("Conflict with min-gap and max-gap. Removed the min-gap and max-gap properties.")),this._minGap&&this._max-this._min<this._minGap&&(this._minGap=void 0,console.warn("Conflict with the min-gap and the total range. Removed the min-gap.")),this._maxGap&&this._highInputValue-this._lowInputValue>this._maxGap&&(this.setValueHigh(this._lowInputValue+this._maxGap),console.warn(`Conflict with value and max-gap. High-end value has been converted to the highest possible value based on the low-end value and the max gap value (${this._highInputValue})`)),this._minGap&&this._highInputValue-this._lowInputValue<this._minGap){const t=this._minGap;this._highInputValue-t<this._min?(this.setValueHigh(this._lowInputValue+t),console.warn(`Conflict with value and min gap. High-end value has been converted to the lowest possible value based on the low-end value and the min gap value (${this._highInputValue}).`)):(this.setValueLow(this._highInputValue-t),console.warn(`Conflict with value and min gap. Low-end value has been converted to the highest possible value based on the high-end value and the min gap value (${this._lowInputValue}).`))}}_updateInnerColor(){const e=this._max-this._min,t=this._lowInputValue-this._min,i=this._highInputValue-this._min,o=t/e*100,r=100-i/e*100;this._lowValuePercentStart=A(o,0,100),this._highValuePercentEnd=A(r,0,100)}_getClickedValue(e){const t=this._outerTrack.getBoundingClientRect().left,r=(e-t-st)/(this._trackWidth-st*2)*(this._max-this._min)+this._min;return Math.round(r/this._step)*this._step}_saveStartPoints(e){this.startPoint={mouse:e,low:this._lowInputValue,high:this._highInputValue}}_dragBothValuesByMousePos(e){const t=this._outerTrack.offsetWidth,i=e-this.startPoint.mouse,o=this._max-this._min,r=i/(t+st*2),s=Math.round(r*o/this._step)*this._step,n=this.startPoint.low+s,u=this.startPoint.high+s;this.setValue(n,u,!0),this.dispatchEvent(new He(He.INPUT))}_onLowInput(e){this.disabled&&e.preventDefault(),this.readonly&&e.preventDefault(),this._currentFocus=this._inputLow;const t=Number(e.target.value);this.setValueLow(t),this.dispatchEvent(new He(He.INPUT))}_onHighInput(e){this.disabled&&e.preventDefault(),this.readonly&&e.preventDefault(),this._currentFocus=this._inputHigh;const t=Number(e.target.value);this.setValueHigh(t),this.dispatchEvent(new He(He.INPUT))}_onLowChange(){this.setValueLow(Number(this._inputLow.value)),this.onChanged()}_onHighChange(){this.setValueHigh(Number(this._inputHigh.value)),this.onChanged()}onChanged(){this.pristine=!1,this.dispatchEvent(new He(He.CHANGE))}render(){return l`
4494
+ `],$n([a({type:Boolean,reflect:!0})],Jt.prototype,"disabled",2),$n([a({type:Boolean,reflect:!0})],Jt.prototype,"readonly",2),Jt=$n([f("uui-radio-group")],Jt);class He extends U{constructor(t,i={}){super(t,{bubbles:!0,...i})}}He.INPUT="input",He.CHANGE="change";var av=Object.defineProperty,lv=Object.getOwnPropertyDescriptor,Jl=e=>{throw TypeError(e)},j=(e,t,i,o)=>{for(var r=o>1?void 0:o?lv(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&av(t,i,r),r},uv=(e,t,i)=>t.has(e)||Jl("Cannot "+i),cv=(e,t,i)=>t.has(e)?Jl("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,i),Hi=(e,t,i)=>(uv(e,t,"access private method"),i),kt,ei;const Un={TOP:3,CENTER:2,BACK:1},Cr=18,st=12,hv=24;let M=class extends ze(b,""){constructor(){super(),cv(this,kt),this.disabled=!1,this.readonly=!1,this._min=0,this._max=0,this.hideStepValues=!1,this._step=1,this._movement=!1,this.startPoint={mouse:0,low:0,high:0},this._lowInputValue=0,this._highInputValue=0,this._trackWidth=0,this._lowValuePercentStart=0,this._highValuePercentEnd=100,this._onKeypress=e=>{e.key=="Enter"&&this.submit()},this._onTouchStart=e=>{if(this.disabled)return;const t=e.composedPath()[0];if(t!==this._outerTrack)if(t===this._innerColor||t===this._innerColorThumb)window.addEventListener("touchend",this._onTouchEnd),window.addEventListener("touchcancel",this._onTouchEnd),window.addEventListener("touchmove",this._onTouchMove),this._movement=!0,this._saveStartPoints(e.touches[0].pageX);else{const i=this._getClickedValue(e.touches[0].pageX),o=Math.abs(this._lowInputValue-i),r=Math.abs(this._highInputValue-i);o<r?this.setValueLow(i):this.setValueHigh(i)}},this._onTouchMove=e=>{this._dragBothValuesByMousePos(e.touches[0].pageX)},this._onTouchEnd=()=>{this._movement=!1,this.onChanged(),window.removeEventListener("touchend",this._onTouchEnd),window.removeEventListener("touchcancel",this._onTouchEnd),window.removeEventListener("touchmove",this._onTouchMove)},this._onMouseDown=e=>{if(this.disabled||this.readonly)return;const t=e.composedPath()[0];if(t!==this._outerTrack)if(t===this._innerColor||t===this._innerColorThumb)window.addEventListener("mouseup",this._onMouseUp),window.addEventListener("mousemove",this._onMouseMove),this._movement=!0,this._saveStartPoints(e.pageX);else{const i=this._getClickedValue(e.pageX),o=Math.abs(this._lowInputValue-i),r=Math.abs(this._highInputValue-i);o<r?this.setValueLow(i):this.setValueHigh(i)}},this._onMouseMove=e=>{e.preventDefault(),this._dragBothValuesByMousePos(e.pageX)},this._onMouseUp=()=>{this._movement=!1,this.onChanged(),window.removeEventListener("mouseup",this._onMouseUp),window.removeEventListener("mousemove",this._onMouseMove)},this.addEventListener("keypress",this._onKeypress),this.addEventListener("mousedown",this._onMouseDown),this.addEventListener("touchstart",this._onTouchStart),window.addEventListener("resize",()=>{this._trackWidth=this._outerTrack?.offsetWidth})}get min(){return this._min}set min(e){this._min=e,Hi(this,kt,ei).call(this)}get max(){return this._max}set max(e){this._max=e,Hi(this,kt,ei).call(this)}get step(){return this._step}set step(e){this._step=e,Hi(this,kt,ei).call(this)}get minGap(){return this._minGap}set minGap(e){this._minGap=e,Hi(this,kt,ei).call(this)}get maxGap(){return this._maxGap}set maxGap(e){this._maxGap=e,Hi(this,kt,ei).call(this)}get value(){return super.value}set value(e){super.value=e,Hi(this,kt,ei).call(this)}setValueLow(e){e=z(e,this.maxGap?this._highInputValue-this.maxGap>this.min?this._highInputValue-this.maxGap:this.min:this.min,this.minGap?this._highInputValue-this.minGap:this._highInputValue-this.step),this.setValue(e,this._highInputValue)}setValueHigh(e){e=z(e,this.minGap?this._lowInputValue+this.minGap:this._lowInputValue+this.step,this.maxGap?this.maxGap+this._lowInputValue<this.max?this.maxGap+this._lowInputValue:this.max:this.max),this.setValue(this._lowInputValue,e)}setValue(e,t,i){if(i){const o=this.startPoint.high-this.startPoint.low;e=z(e,this.min,this.max-o),t=z(t,this.min+o,this.max)}this._inputLow.value=e.toString(),this._inputHigh.value=t.toString(),this.value=`${e},${t}`}getFormElement(){return this._currentFocus?this._currentFocus:this._inputLow}async focus(){await this.updateComplete,this.getFormElement().focus()}async blur(){await this.updateComplete,this.getFormElement().blur()}connectedCallback(){super.connectedCallback(),this.value||(this.value=`${this._min},${this._max}`)}firstUpdated(e){super.updated(e),this._trackWidth=this._outerTrack.offsetWidth,this._runPropertiesChecks()}_runPropertiesChecks(){if(new RegExp(/^-?\d+(\.\d+)?,-?\d+(\.\d+)?$/).test(this.value)||console.error("Range slider (Value error occurred): Bad input"),this._highInputValue===this._lowInputValue&&console.error("Range slider (Value error occurred): Low-end and high-end value should never be equal. Use <uui-slider></uui-slider> instead."),this._lowInputValue>this._highInputValue&&console.error("Range slider (Value error occurred): Low-end value should never be higher than high-end value."),(this._highInputValue>this._max||this._highInputValue<this._min)&&(this.setValueHigh(this._max),console.warn(`Conflict with the high-end value and max value. High-end value has been converted to the max value (${this._max})`)),(this._lowInputValue<this._min||this._lowInputValue>this._max)&&(this.setValueLow(this._min),console.warn(`Conflict with the low-end value and min value. Low-end value has been converted to the min value (${this._min})`)),this._step<=0&&(this._step=1,console.warn("Property step needs a value higher than 0. Converted the step value to 1 (default)")),(this._max-this._min)/this._step%1!==0&&console.error("Conflict with step value and the min and max values. May experience bad side effects"),this._minGap&&this._minGap<this._step&&(this._minGap=void 0,console.warn("Conflict with min-gap and step value. The min-gap needs to be higher than the step value. Removed the min-gap property.")),this._minGap&&this._maxGap&&this._minGap>this._maxGap&&(this._minGap=void 0,this._maxGap=void 0,console.warn("Conflict with min-gap and max-gap. Removed the min-gap and max-gap properties.")),this._minGap&&this._max-this._min<this._minGap&&(this._minGap=void 0,console.warn("Conflict with the min-gap and the total range. Removed the min-gap.")),this._maxGap&&this._highInputValue-this._lowInputValue>this._maxGap&&(this.setValueHigh(this._lowInputValue+this._maxGap),console.warn(`Conflict with value and max-gap. High-end value has been converted to the highest possible value based on the low-end value and the max gap value (${this._highInputValue})`)),this._minGap&&this._highInputValue-this._lowInputValue<this._minGap){const t=this._minGap;this._highInputValue-t<this._min?(this.setValueHigh(this._lowInputValue+t),console.warn(`Conflict with value and min gap. High-end value has been converted to the lowest possible value based on the low-end value and the min gap value (${this._highInputValue}).`)):(this.setValueLow(this._highInputValue-t),console.warn(`Conflict with value and min gap. Low-end value has been converted to the highest possible value based on the high-end value and the min gap value (${this._lowInputValue}).`))}}_updateInnerColor(){const e=this._max-this._min,t=this._lowInputValue-this._min,i=this._highInputValue-this._min,o=t/e*100,r=100-i/e*100;this._lowValuePercentStart=z(o,0,100),this._highValuePercentEnd=z(r,0,100)}_getClickedValue(e){const t=this._outerTrack.getBoundingClientRect().left,r=(e-t-st)/(this._trackWidth-st*2)*(this._max-this._min)+this._min;return Math.round(r/this._step)*this._step}_saveStartPoints(e){this.startPoint={mouse:e,low:this._lowInputValue,high:this._highInputValue}}_dragBothValuesByMousePos(e){const t=this._outerTrack.offsetWidth,i=e-this.startPoint.mouse,o=this._max-this._min,r=i/(t+st*2),s=Math.round(r*o/this._step)*this._step,n=this.startPoint.low+s,u=this.startPoint.high+s;this.setValue(n,u,!0),this.dispatchEvent(new He(He.INPUT))}_onLowInput(e){this.disabled&&e.preventDefault(),this.readonly&&e.preventDefault(),this._currentFocus=this._inputLow;const t=Number(e.target.value);this.setValueLow(t),this.dispatchEvent(new He(He.INPUT))}_onHighInput(e){this.disabled&&e.preventDefault(),this.readonly&&e.preventDefault(),this._currentFocus=this._inputHigh;const t=Number(e.target.value);this.setValueHigh(t),this.dispatchEvent(new He(He.INPUT))}_onLowChange(){this.setValueLow(Number(this._inputLow.value)),this.onChanged()}_onHighChange(){this.setValueHigh(Number(this._inputHigh.value)),this.onChanged()}onChanged(){this.pristine=!1,this.dispatchEvent(new He(He.CHANGE))}render(){return l`
4484
4495
  <div id="range-slider">
4485
4496
  ${this._renderNativeInputs()}
4486
4497
  <div id="inner-track">
@@ -4497,7 +4508,7 @@
4497
4508
  `}_renderThumbValues(){return l`<div class="thumb-values">
4498
4509
  <span><span>${this._lowInputValue}</span></span>
4499
4510
  <span><span>${this._highInputValue}</span></span>
4500
- </div>`}_renderSteps(){const e=(this._max-this._min)/this._step,t=(this._trackWidth-st*2)/e;if(t<uv||e%1!==0)return;let i=0;const o=new Array(e+1).fill(t).map(r=>r*i++);return l`<div class="step-wrapper">
4511
+ </div>`}_renderSteps(){const e=(this._max-this._min)/this._step,t=(this._trackWidth-st*2)/e;if(t<hv||e%1!==0)return;let i=0;const o=new Array(e+1).fill(t).map(r=>r*i++);return l`<div class="step-wrapper">
4501
4512
  <svg height="100%" width="100%">
4502
4513
  <rect x="9" y="9" height="3" rx="2" />
4503
4514
  ${this._renderStepCircles(o)}
@@ -4530,7 +4541,7 @@
4530
4541
  ?disabled="${this.disabled||this.readonly}"
4531
4542
  @input=${this._onHighInput}
4532
4543
  @change=${this._onHighChange} />
4533
- </div>`}};Ct=new WeakSet,ei=function(){const e=this.value.split(",");let t=Number(e[0])||0,i=Number(e[1])||0;i=A(i,this._min,this._max),t=this._min+Math.round((t-this._min)/this._step)*this._step,i=this._min+Math.round((i-this._min)/this._step)*this._step,this._lowInputValue=A(t,this._min,this._minGap?i-this._minGap:i-this._step),this._highInputValue=A(i,this._minGap?this._lowInputValue+this._minGap:this._lowInputValue+this._step,Math.min(this._maxGap?t+this._maxGap:this._max,this._max)),this._updateInnerColor(),this.requestUpdate()},M.formAssociated=!0,M.styles=[p`
4544
+ </div>`}};kt=new WeakSet,ei=function(){const e=this.value.split(",");let t=Number(e[0])||0,i=Number(e[1])||0;i=z(i,this._min,this._max),t=this._min+Math.round((t-this._min)/this._step)*this._step,i=this._min+Math.round((i-this._min)/this._step)*this._step,this._lowInputValue=z(t,this._min,this._minGap?i-this._minGap:i-this._step),this._highInputValue=z(i,this._minGap?this._lowInputValue+this._minGap:this._lowInputValue+this._step,Math.min(this._maxGap?t+this._maxGap:this._max,this._max)),this._updateInnerColor(),this.requestUpdate()},M.formAssociated=!0,M.styles=[p`
4534
4545
  :host {
4535
4546
  --color-interactive: var(--uui-color-selected,#3544b1);
4536
4547
  --color-hover: var(--uui-color-selected-emphasis,rgb(70, 86, 200));
@@ -4573,10 +4584,10 @@
4573
4584
  display: flex;
4574
4585
  flex-direction: column;
4575
4586
  justify-content: center;
4576
- height: ${kr}px;
4587
+ height: ${Cr}px;
4577
4588
  cursor: grab;
4578
4589
  user-select: none;
4579
- z-index: ${An.CENTER};
4590
+ z-index: ${Un.CENTER};
4580
4591
  }
4581
4592
 
4582
4593
  :host([disabled]) #inner-color-thumb,
@@ -4745,9 +4756,9 @@
4745
4756
  pointer-events: all;
4746
4757
  cursor: grab;
4747
4758
  position: relative;
4748
- z-index: ${An.TOP};
4749
- width: ${kr}px;
4750
- height: ${kr}px;
4759
+ z-index: ${Un.TOP};
4760
+ width: ${Cr}px;
4761
+ height: ${Cr}px;
4751
4762
  border-radius: 24px;
4752
4763
  border: none;
4753
4764
  background-color: var(--color-interactive);
@@ -4791,9 +4802,9 @@
4791
4802
  pointer-events: all;
4792
4803
  cursor: grab;
4793
4804
  position: relative;
4794
- z-index: ${An.TOP};
4795
- width: ${kr}px;
4796
- height: ${kr}px;
4805
+ z-index: ${Un.TOP};
4806
+ width: ${Cr}px;
4807
+ height: ${Cr}px;
4797
4808
  border-radius: 24px;
4798
4809
  border: none;
4799
4810
  background-color: var(--color-interactive);
@@ -4828,7 +4839,7 @@
4828
4839
  inset 0 0 0 2px var(--uui-palette-mine-grey,#3e3e3e),
4829
4840
  inset 0 0 0 4px var(--uui-color-surface,#fff);
4830
4841
  }
4831
- `],B([a({type:String})],M.prototype,"label",2),B([a({type:Boolean,reflect:!0})],M.prototype,"disabled",2),B([a({type:Boolean,reflect:!0})],M.prototype,"readonly",2),B([a({type:Number})],M.prototype,"min",1),B([a({type:Number})],M.prototype,"max",1),B([a({type:Boolean,attribute:"hide-step-values"})],M.prototype,"hideStepValues",2),B([a({type:Number})],M.prototype,"step",1),B([a({type:Number,attribute:"min-gap"})],M.prototype,"minGap",1),B([a({type:Number,attribute:"max-gap"})],M.prototype,"maxGap",1),B([a({type:String})],M.prototype,"value",1),B([m()],M.prototype,"_movement",2),B([m()],M.prototype,"_lowInputValue",2),B([m()],M.prototype,"_highInputValue",2),B([m()],M.prototype,"_trackWidth",2),B([m()],M.prototype,"_lowValuePercentStart",2),B([m()],M.prototype,"_highValuePercentEnd",2),B([O("#range-slider")],M.prototype,"_outerTrack",2),B([O("#inputLow")],M.prototype,"_inputLow",2),B([O("#inputHigh")],M.prototype,"_inputHigh",2),B([O(".color")],M.prototype,"_innerColor",2),B([O("#inner-color-thumb")],M.prototype,"_innerColorThumb",2),M=B([f("uui-range-slider")],M);var cv=Object.defineProperty,hv=Object.getOwnPropertyDescriptor,dv=(e,t,i,o)=>{for(var r=o>1?void 0:o?hv(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&cv(t,i,r),r};let Yo=class extends b{render(){return l`<slot></slot>`}};Yo.styles=[p`
4842
+ `],j([a({type:String})],M.prototype,"label",2),j([a({type:Boolean,reflect:!0})],M.prototype,"disabled",2),j([a({type:Boolean,reflect:!0})],M.prototype,"readonly",2),j([a({type:Number})],M.prototype,"min",1),j([a({type:Number})],M.prototype,"max",1),j([a({type:Boolean,attribute:"hide-step-values"})],M.prototype,"hideStepValues",2),j([a({type:Number})],M.prototype,"step",1),j([a({type:Number,attribute:"min-gap"})],M.prototype,"minGap",1),j([a({type:Number,attribute:"max-gap"})],M.prototype,"maxGap",1),j([a({type:String})],M.prototype,"value",1),j([m()],M.prototype,"_movement",2),j([m()],M.prototype,"_lowInputValue",2),j([m()],M.prototype,"_highInputValue",2),j([m()],M.prototype,"_trackWidth",2),j([m()],M.prototype,"_lowValuePercentStart",2),j([m()],M.prototype,"_highValuePercentEnd",2),j([S("#range-slider")],M.prototype,"_outerTrack",2),j([S("#inputLow")],M.prototype,"_inputLow",2),j([S("#inputHigh")],M.prototype,"_inputHigh",2),j([S(".color")],M.prototype,"_innerColor",2),j([S("#inner-color-thumb")],M.prototype,"_innerColorThumb",2),M=j([f("uui-range-slider")],M);var dv=Object.defineProperty,pv=Object.getOwnPropertyDescriptor,fv=(e,t,i,o)=>{for(var r=o>1?void 0:o?pv(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&dv(t,i,r),r};let Yo=class extends b{render(){return l`<slot></slot>`}};Yo.styles=[p`
4832
4843
  :host {
4833
4844
  display: block;
4834
4845
  }
@@ -4844,7 +4855,7 @@
4844
4855
  right: 0;
4845
4856
  border-top: 1px solid var(--uui-color-border,#d8d7d9);
4846
4857
  }
4847
- `],Yo=dv([f("uui-ref-list")],Yo);class Bi extends I{}Bi.OPEN="open";var pv=Object.defineProperty,fv=Object.getOwnPropertyDescriptor,Xo=(e,t,i,o)=>{for(var r=o>1?void 0:o?fv(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&pv(t,i,r),r};let nt=class extends ro(ui(b)){constructor(){super(...arguments),this.disabled=!1,this.readonly=!1,this.error=!1}handleOpenClick(e){e.stopPropagation(),this.dispatchEvent(new Bi(Bi.OPEN))}handleOpenKeydown(e){e.key!==" "&&e.key!=="Enter"||(e.preventDefault(),e.stopPropagation(),this.dispatchEvent(new Bi(Bi.OPEN)))}};nt.styles=[p`
4858
+ `],Yo=fv([f("uui-ref-list")],Yo);class Bi extends U{}Bi.OPEN="open";var vv=Object.defineProperty,bv=Object.getOwnPropertyDescriptor,Xo=(e,t,i,o)=>{for(var r=o>1?void 0:o?bv(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&vv(t,i,r),r};let nt=class extends ro(ui(b)){constructor(){super(...arguments),this.disabled=!1,this.readonly=!1,this.error=!1}handleOpenClick(e){e.stopPropagation(),this.dispatchEvent(new Bi(Bi.OPEN))}handleOpenKeydown(e){e.key!==" "&&e.key!=="Enter"||(e.preventDefault(),e.stopPropagation(),this.dispatchEvent(new Bi(Bi.OPEN)))}};nt.styles=[p`
4848
4859
  :host {
4849
4860
  position: relative;
4850
4861
  display: flex;
@@ -4995,10 +5006,10 @@
4995
5006
  justify-content: flex-end;
4996
5007
  align-items: center;
4997
5008
  }
4998
- `],Xo([a({type:Boolean,reflect:!0})],nt.prototype,"disabled",2),Xo([a({type:Boolean,reflect:!0})],nt.prototype,"readonly",2),Xo([a({type:Boolean,reflect:!0})],nt.prototype,"error",2),nt=Xo([f("uui-ref")],nt);var vv=Object.defineProperty,bv=Object.getOwnPropertyDescriptor,eu=e=>{throw TypeError(e)},ti=(e,t,i,o)=>{for(var r=o>1?void 0:o?bv(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&vv(t,i,r),r},gv=(e,t,i)=>t.has(e)||eu("Cannot "+i),mv=(e,t,i)=>t.has(e)?eu("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,i),kt=(e,t,i)=>(gv(e,t,"access private method"),i),Be,tu,iu,Zo,ru,ou,su;let j=class extends nt{constructor(){super(...arguments),mv(this,Be),this.name="",this.detail="",this._iconSlotHasContent=!1,this.fallbackIcon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M396.441 138.878l-83.997-83.993-7.331-7.333H105.702v416.701h298.071V146.214l-7.332-7.336zM130.74 439.217V72.591h141.613c37.201 0 19.274 88.18 19.274 88.18s86-20.901 87.104 18.534v259.912H130.74z"></path></svg>'}connectedCallback(){super.connectedCallback(),x(this,"uui-icon")}renderDetail(){return l`<small id="detail"
5009
+ `],Xo([a({type:Boolean,reflect:!0})],nt.prototype,"disabled",2),Xo([a({type:Boolean,reflect:!0})],nt.prototype,"readonly",2),Xo([a({type:Boolean,reflect:!0})],nt.prototype,"error",2),nt=Xo([f("uui-ref")],nt);var gv=Object.defineProperty,mv=Object.getOwnPropertyDescriptor,eu=e=>{throw TypeError(e)},ti=(e,t,i,o)=>{for(var r=o>1?void 0:o?mv(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&gv(t,i,r),r},_v=(e,t,i)=>t.has(e)||eu("Cannot "+i),yv=(e,t,i)=>t.has(e)?eu("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,i),Ct=(e,t,i)=>(_v(e,t,"access private method"),i),Be,tu,iu,Zo,ru,ou,su;let R=class extends nt{constructor(){super(...arguments),yv(this,Be),this.name="",this.detail="",this._iconSlotHasContent=!1,this.fallbackIcon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M396.441 138.878l-83.997-83.993-7.331-7.333H105.702v416.701h298.071V146.214l-7.332-7.336zM130.74 439.217V72.591h141.613c37.201 0 19.274 88.18 19.274 88.18s86-20.901 87.104 18.534v259.912H130.74z"></path></svg>'}connectedCallback(){super.connectedCallback(),x(this,"uui-icon")}renderDetail(){return l`<small id="detail"
4999
5010
  >${this.detail}<slot name="detail"></slot
5000
5011
  ></small>`}render(){return l`
5001
- ${kt(this,Be,su).call(this)}
5012
+ ${Ct(this,Be,su).call(this)}
5002
5013
  <!-- Select border must be right after #open-part -->
5003
5014
  <div id="select-border"></div>
5004
5015
 
@@ -5008,21 +5019,21 @@
5008
5019
  `}};Be=new WeakSet,tu=function(e){this._iconSlotHasContent=e.target.assignedNodes({flatten:!0}).length>0},iu=function(){return l`<uui-icon .svg="${this.fallbackIcon}"></uui-icon>`},Zo=function(){return l`
5009
5020
  <span id="content">
5010
5021
  <span id="icon">
5011
- <slot name="icon" @slotchange=${kt(this,Be,tu)}></slot>
5012
- ${this._iconSlotHasContent===!1?kt(this,Be,iu).call(this):""}
5022
+ <slot name="icon" @slotchange=${Ct(this,Be,tu)}></slot>
5023
+ ${this._iconSlotHasContent===!1?Ct(this,Be,iu).call(this):""}
5013
5024
  </span>
5014
5025
  <div id="info">
5015
- <div id="name">${this.name}</div>
5026
+ <div id="name">${this.name}<slot name="name"></slot></div>
5016
5027
  ${this.renderDetail()}
5017
5028
  </div>
5018
5029
  </span>
5019
5030
  `},ru=function(){return l`<a
5020
5031
  id="open-part"
5021
- tabindex=${this.disabled?C:"0"}
5032
+ tabindex=${this.disabled?k:"0"}
5022
5033
  href=${w(this.disabled?void 0:this.href)}
5023
5034
  target=${w(this.target||void 0)}
5024
5035
  rel=${w(this.rel||w(this.target==="_blank"?"noopener noreferrer":void 0))}>
5025
- ${kt(this,Be,Zo).call(this)}
5036
+ ${Ct(this,Be,Zo).call(this)}
5026
5037
  </a>`},ou=function(){return l`
5027
5038
  <button
5028
5039
  type="button"
@@ -5031,9 +5042,9 @@
5031
5042
  @click=${this.handleOpenClick}
5032
5043
  @keydown=${this.handleOpenKeydown}
5033
5044
  ?disabled=${this.disabled}>
5034
- ${kt(this,Be,Zo).call(this)}
5045
+ ${Ct(this,Be,Zo).call(this)}
5035
5046
  </button>
5036
- `},su=function(){return this.readonly?l`${kt(this,Be,Zo).call(this)}`:this.href?kt(this,Be,ru).call(this):kt(this,Be,ou).call(this)},j.styles=[...nt.styles,p`
5047
+ `},su=function(){return this.readonly?l`${Ct(this,Be,Zo).call(this)}`:this.href?Ct(this,Be,ru).call(this):Ct(this,Be,ou).call(this)},R.styles=[...nt.styles,p`
5037
5048
  :host {
5038
5049
  min-width: 250px;
5039
5050
  padding: calc(var(--uui-size-2,6px) + 1px);
@@ -5097,17 +5108,17 @@
5097
5108
  :host([disabled]) #detail {
5098
5109
  color: var(--uui-color-disabled-contrast,#c4c4c4);
5099
5110
  }
5100
- `],ti([a({type:String})],j.prototype,"name",2),ti([a({type:String})],j.prototype,"detail",2),ti([a({type:String})],j.prototype,"href",2),ti([a({type:String})],j.prototype,"target",2),ti([a({type:String})],j.prototype,"rel",2),ti([m()],j.prototype,"_iconSlotHasContent",2),j=ti([f("uui-ref-node")],j);var _v=Object.defineProperty,yv=Object.getOwnPropertyDescriptor,nu=(e,t,i,o)=>{for(var r=o>1?void 0:o?yv(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&_v(t,i,r),r};let Er=class extends j{constructor(){super(...arguments),this.fallbackIcon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M142.212 397.267l106.052-48.024L398.479 199.03l-26.405-26.442-90.519 90.517-15.843-15.891 90.484-90.486-16.204-16.217-150.246 150.243-47.534 106.513zm74.904-100.739l23.285-23.283 3.353 22.221 22.008 3.124-23.283 23.313-46.176 20.991 20.813-46.366zm257.6-173.71L416.188 64.3l-49.755 49.785 58.504 58.503 49.779-49.77zM357.357 300.227h82.826v116.445H68.929V300.227h88.719v-30.648H38.288v177.733h432.537V269.578H357.357v30.649z"></path></svg>',this.alias=""}renderDetail(){const e=[];return this.alias!==""&&e.push(this.alias),this.detail!==""&&e.push(this.detail),l`<small id="detail"
5111
+ `],ti([a({type:String})],R.prototype,"name",2),ti([a({type:String})],R.prototype,"detail",2),ti([a({type:String})],R.prototype,"href",2),ti([a({type:String})],R.prototype,"target",2),ti([a({type:String})],R.prototype,"rel",2),ti([m()],R.prototype,"_iconSlotHasContent",2),R=ti([f("uui-ref-node")],R);var wv=Object.defineProperty,xv=Object.getOwnPropertyDescriptor,nu=(e,t,i,o)=>{for(var r=o>1?void 0:o?xv(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&wv(t,i,r),r};let Er=class extends R{constructor(){super(...arguments),this.fallbackIcon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M142.212 397.267l106.052-48.024L398.479 199.03l-26.405-26.442-90.519 90.517-15.843-15.891 90.484-90.486-16.204-16.217-150.246 150.243-47.534 106.513zm74.904-100.739l23.285-23.283 3.353 22.221 22.008 3.124-23.283 23.313-46.176 20.991 20.813-46.366zm257.6-173.71L416.188 64.3l-49.755 49.785 58.504 58.503 49.779-49.77zM357.357 300.227h82.826v116.445H68.929V300.227h88.719v-30.648H38.288v177.733h432.537V269.578H357.357v30.649z"></path></svg>',this.alias=""}renderDetail(){const e=[];return this.alias!==""&&e.push(this.alias),this.detail!==""&&e.push(this.detail),l`<small id="detail"
5101
5112
  >${e.join(" | ")}<slot name="detail"></slot
5102
- ></small>`}};Er.styles=[...j.styles],nu([a({type:String})],Er.prototype,"alias",2),Er=nu([f("uui-ref-node-data-type")],Er);var wv=Object.defineProperty,xv=Object.getOwnPropertyDescriptor,au=(e,t,i,o)=>{for(var r=o>1?void 0:o?xv(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&wv(t,i,r),r};let Pr=class extends j{constructor(){super(...arguments),this.fallbackIcon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M49.035 60.434h413.93v33.592H49.035zm0 82.005h86.578v86.577H49.035zm163.677 0h86.576v86.577h-86.576zm163.676 0h86.576v86.577h-86.576zM49.035 282.984h413.93v33.593H49.035zm0 82.006h86.578v86.576H49.035zm163.677 0h86.576v86.576h-86.576zm163.676 0h86.576v86.576h-86.576z"></path></svg>',this.alias=""}renderDetail(){const e=[];return this.alias!==""&&e.push(this.alias),this.detail!==""&&e.push(this.detail),l`<small id="detail"
5113
+ ></small>`}};Er.styles=[...R.styles],nu([a({type:String})],Er.prototype,"alias",2),Er=nu([f("uui-ref-node-data-type")],Er);var $v=Object.defineProperty,kv=Object.getOwnPropertyDescriptor,au=(e,t,i,o)=>{for(var r=o>1?void 0:o?kv(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&$v(t,i,r),r};let Pr=class extends R{constructor(){super(...arguments),this.fallbackIcon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M49.035 60.434h413.93v33.592H49.035zm0 82.005h86.578v86.577H49.035zm163.677 0h86.576v86.577h-86.576zm163.676 0h86.576v86.577h-86.576zM49.035 282.984h413.93v33.593H49.035zm0 82.006h86.578v86.576H49.035zm163.677 0h86.576v86.576h-86.576zm163.676 0h86.576v86.576h-86.576z"></path></svg>',this.alias=""}renderDetail(){const e=[];return this.alias!==""&&e.push(this.alias),this.detail!==""&&e.push(this.detail),l`<small id="detail"
5103
5114
  >${e.join(" | ")}<slot name="detail"></slot
5104
- ></small>`}};Pr.styles=[...j.styles],au([a({type:String})],Pr.prototype,"alias",2),Pr=au([f("uui-ref-node-document-type")],Pr);var $v=Object.defineProperty,Cv=Object.getOwnPropertyDescriptor,kv=(e,t,i,o)=>{for(var r=o>1?void 0:o?Cv(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&$v(t,i,r),r};let Qo=class extends j{constructor(){super(...arguments),this.fallbackIcon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M444.72 215.28H67.28c-11.04 0-20-8.96-20-20V64.896c0-11.04 8.96-20 20-20h377.44c11.04 0 20 8.96 20 20V195.28c0 11.056-8.96 20-20 20zm-357.44-40h337.44V84.896H87.28v90.384zm185.504 215.696c0-6.848.704-13.504 1.936-20H87.28v-90.384h337.44v12.496a108.098 108.098 0 0140 31.36v-63.856c0-11.04-8.96-20-20-20H67.28c-11.04 0-20 8.96-20 20v130.384c0 11.04 8.96 20 20 20h207.44c-1.232-6.496-1.936-13.152-1.936-20zm107.552-76.128c-41.968 0-76.112 34.16-76.112 76.128s34.144 76.128 76.112 76.128 76.128-34.16 76.128-76.128-34.144-76.128-76.128-76.128zm46.016 80.464a7.293 7.293 0 01-7.296 7.296h-27.072v27.088a7.293 7.293 0 01-7.296 7.296H376a7.293 7.293 0 01-7.296-7.296v-27.088h-27.072a7.293 7.293 0 01-7.296-7.296v-8.672a7.293 7.293 0 017.296-7.296h27.072v-27.088A7.293 7.293 0 01376 344.96h8.688a7.293 7.293 0 017.296 7.296v27.088h27.072a7.293 7.293 0 017.296 7.296v8.672z"></path></svg>'}};Qo.styles=[...j.styles],Qo=kv([f("uui-ref-node-form")],Qo);var Ev=Object.defineProperty,Pv=Object.getOwnPropertyDescriptor,lu=(e,t,i,o)=>{for(var r=o>1?void 0:o?Pv(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Ev(t,i,r),r};let Sr=class extends j{constructor(){super(...arguments),this.fallbackIcon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M331.135 98.375c3.677 14.798 4.045 16.031 3.702 31.225-.138 5.855-3.5 32.936-2.586 41.242.751 6.851 2.46 7.395 5.162 13.041 4.705 9.824 3.13 23.376 1.325 33.282-.988 5.42-3.076 13.136-6.248 17.561-3.497 4.876-10.498 4.913-13.592 10.602-4.459 8.195-1.941 19.692-4.752 28.54-3.193 10.033-11.325 10.738-11.938 23.867 3.986.562 7.962 1.134 11.938 1.703 3.99 8.484 11.297 25.552 18.759 30.688 6.25 1.705 12.505 3.411 18.752 5.113 21.907 8.982 46.251 19.732 68.204 28.987 19.991 8.434 43.927 11.439 51.151 32.396 0 14.229 1.343 47.849.976 66.497H36.514c-.367-18.648.974-52.268.974-66.497 7.226-20.957 31.16-23.963 51.151-32.396 21.953-9.255 46.297-20.005 68.201-28.987 6.25-1.702 12.506-3.408 18.754-5.113 7.461-5.136 14.77-22.203 18.76-30.688l8.877-2.158c-2.017-11.206-8.954-12.078-11.845-20.01a91882.59 91882.59 0 00-3.408-35.806c.055.563-8.163-1.497-9.238-2.171-11.58-7.256-11.816-36.723-12.931-48.978-.508-5.603 7.283-10.193 5.118-20.465-12.69-60.138 5.486-88.282 34.229-97.614 19.95-8.083 57.198-23.074 91.941-1.703l8.621 7.991 13.952 2.405c7 4.041 11.465 17.446 11.465 17.446z"></path></svg>',this.groupName=""}renderDetail(){const e=[];return this.detail!==""&&e.push(this.detail),this.groupName!==""&&e.push(this.groupName),l`<small id="detail"
5115
+ ></small>`}};Pr.styles=[...R.styles],au([a({type:String})],Pr.prototype,"alias",2),Pr=au([f("uui-ref-node-document-type")],Pr);var Cv=Object.defineProperty,Ev=Object.getOwnPropertyDescriptor,Pv=(e,t,i,o)=>{for(var r=o>1?void 0:o?Ev(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Cv(t,i,r),r};let Qo=class extends R{constructor(){super(...arguments),this.fallbackIcon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M444.72 215.28H67.28c-11.04 0-20-8.96-20-20V64.896c0-11.04 8.96-20 20-20h377.44c11.04 0 20 8.96 20 20V195.28c0 11.056-8.96 20-20 20zm-357.44-40h337.44V84.896H87.28v90.384zm185.504 215.696c0-6.848.704-13.504 1.936-20H87.28v-90.384h337.44v12.496a108.098 108.098 0 0140 31.36v-63.856c0-11.04-8.96-20-20-20H67.28c-11.04 0-20 8.96-20 20v130.384c0 11.04 8.96 20 20 20h207.44c-1.232-6.496-1.936-13.152-1.936-20zm107.552-76.128c-41.968 0-76.112 34.16-76.112 76.128s34.144 76.128 76.112 76.128 76.128-34.16 76.128-76.128-34.144-76.128-76.128-76.128zm46.016 80.464a7.293 7.293 0 01-7.296 7.296h-27.072v27.088a7.293 7.293 0 01-7.296 7.296H376a7.293 7.293 0 01-7.296-7.296v-27.088h-27.072a7.293 7.293 0 01-7.296-7.296v-8.672a7.293 7.293 0 017.296-7.296h27.072v-27.088A7.293 7.293 0 01376 344.96h8.688a7.293 7.293 0 017.296 7.296v27.088h27.072a7.293 7.293 0 017.296 7.296v8.672z"></path></svg>'}};Qo.styles=[...R.styles],Qo=Pv([f("uui-ref-node-form")],Qo);var Ov=Object.defineProperty,Sv=Object.getOwnPropertyDescriptor,lu=(e,t,i,o)=>{for(var r=o>1?void 0:o?Sv(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Ov(t,i,r),r};let Or=class extends R{constructor(){super(...arguments),this.fallbackIcon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M331.135 98.375c3.677 14.798 4.045 16.031 3.702 31.225-.138 5.855-3.5 32.936-2.586 41.242.751 6.851 2.46 7.395 5.162 13.041 4.705 9.824 3.13 23.376 1.325 33.282-.988 5.42-3.076 13.136-6.248 17.561-3.497 4.876-10.498 4.913-13.592 10.602-4.459 8.195-1.941 19.692-4.752 28.54-3.193 10.033-11.325 10.738-11.938 23.867 3.986.562 7.962 1.134 11.938 1.703 3.99 8.484 11.297 25.552 18.759 30.688 6.25 1.705 12.505 3.411 18.752 5.113 21.907 8.982 46.251 19.732 68.204 28.987 19.991 8.434 43.927 11.439 51.151 32.396 0 14.229 1.343 47.849.976 66.497H36.514c-.367-18.648.974-52.268.974-66.497 7.226-20.957 31.16-23.963 51.151-32.396 21.953-9.255 46.297-20.005 68.201-28.987 6.25-1.702 12.506-3.408 18.754-5.113 7.461-5.136 14.77-22.203 18.76-30.688l8.877-2.158c-2.017-11.206-8.954-12.078-11.845-20.01a91882.59 91882.59 0 00-3.408-35.806c.055.563-8.163-1.497-9.238-2.171-11.58-7.256-11.816-36.723-12.931-48.978-.508-5.603 7.283-10.193 5.118-20.465-12.69-60.138 5.486-88.282 34.229-97.614 19.95-8.083 57.198-23.074 91.941-1.703l8.621 7.991 13.952 2.405c7 4.041 11.465 17.446 11.465 17.446z"></path></svg>',this.groupName=""}renderDetail(){const e=[];return this.detail!==""&&e.push(this.detail),this.groupName!==""&&e.push(this.groupName),l`<small id="detail"
5105
5116
  >${e.join(" | ")}<slot name="detail"></slot
5106
- ></small>`}};Sr.styles=[...j.styles],lu([a({type:String,attribute:"group-name"})],Sr.prototype,"groupName",2),Sr=lu([f("uui-ref-node-member")],Sr);var Sv=Object.defineProperty,Ov=Object.getOwnPropertyDescriptor,Un=(e,t,i,o)=>{for(var r=o>1?void 0:o?Ov(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Sv(t,i,r),r};let ji=class extends j{constructor(){super(...arguments),this.fallbackIcon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M161.08 106.29l-70.073 40.452 165.498 95.545 70.076-40.453L161.08 106.29zm259.851 41.077L255.435 51.815l-63.578 36.709 165.499 95.542 63.575-36.699zm-150.11 122.19V459.43l164.966-95.238V174.32l-164.966 95.237zM75.082 364.191l164.959 95.234V268.32L75.082 173.09v191.101z"></path></svg>',this.version="",this.author=""}renderDetail(){const e=[];return this.detail!==""&&e.push(this.detail),this.version!==""&&e.push(this.version),this.author!==""&&e.push(this.author),l`<small id="detail"
5117
+ ></small>`}};Or.styles=[...R.styles],lu([a({type:String,attribute:"group-name"})],Or.prototype,"groupName",2),Or=lu([f("uui-ref-node-member")],Or);var Iv=Object.defineProperty,Av=Object.getOwnPropertyDescriptor,zn=(e,t,i,o)=>{for(var r=o>1?void 0:o?Av(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Iv(t,i,r),r};let ji=class extends R{constructor(){super(...arguments),this.fallbackIcon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M161.08 106.29l-70.073 40.452 165.498 95.545 70.076-40.453L161.08 106.29zm259.851 41.077L255.435 51.815l-63.578 36.709 165.499 95.542 63.575-36.699zm-150.11 122.19V459.43l164.966-95.238V174.32l-164.966 95.237zM75.082 364.191l164.959 95.234V268.32L75.082 173.09v191.101z"></path></svg>',this.version="",this.author=""}renderDetail(){const e=[];return this.detail!==""&&e.push(this.detail),this.version!==""&&e.push(this.version),this.author!==""&&e.push(this.author),l`<small id="detail"
5107
5118
  >${e.join(" | ")}<slot name="detail"></slot
5108
- ></small>`}};ji.styles=[...j.styles],Un([a({type:String})],ji.prototype,"version",2),Un([a({type:String})],ji.prototype,"author",2),ji=Un([f("uui-ref-node-package")],ji);var Iv=Object.defineProperty,Av=Object.getOwnPropertyDescriptor,uu=(e,t,i,o)=>{for(var r=o>1?void 0:o?Av(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Iv(t,i,r),r};let Or=class extends j{constructor(){super(...arguments),this.fallbackIcon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M331.135 98.375c3.677 14.798 4.045 16.031 3.702 31.225-.138 5.855-3.5 32.936-2.586 41.242.751 6.851 2.46 7.395 5.162 13.041 4.705 9.824 3.13 23.376 1.325 33.282-.988 5.42-3.076 13.136-6.248 17.561-3.497 4.876-10.498 4.913-13.592 10.602-4.459 8.195-1.941 19.692-4.752 28.54-3.193 10.033-11.325 10.738-11.938 23.867 3.986.562 7.962 1.134 11.938 1.703 3.99 8.484 11.297 25.552 18.759 30.688 6.25 1.705 12.505 3.411 18.752 5.113 21.907 8.982 46.251 19.732 68.204 28.987 19.991 8.434 43.927 11.439 51.151 32.396 0 14.229 1.343 47.849.976 66.497H36.514c-.367-18.648.974-52.268.974-66.497 7.226-20.957 31.16-23.963 51.151-32.396 21.953-9.255 46.297-20.005 68.201-28.987 6.25-1.702 12.506-3.408 18.754-5.113 7.461-5.136 14.77-22.203 18.76-30.688l8.877-2.158c-2.017-11.206-8.954-12.078-11.845-20.01a91882.59 91882.59 0 00-3.408-35.806c.055.563-8.163-1.497-9.238-2.171-11.58-7.256-11.816-36.723-12.931-48.978-.508-5.603 7.283-10.193 5.118-20.465-12.69-60.138 5.486-88.282 34.229-97.614 19.95-8.083 57.198-23.074 91.941-1.703l8.621 7.991 13.952 2.405c7 4.041 11.465 17.446 11.465 17.446z"></path></svg>',this.groupName=""}renderDetail(){const e=[];return this.detail!==""&&e.push(this.detail),this.groupName!==""&&e.push(this.groupName),l`<small id="detail"
5119
+ ></small>`}};ji.styles=[...R.styles],zn([a({type:String})],ji.prototype,"version",2),zn([a({type:String})],ji.prototype,"author",2),ji=zn([f("uui-ref-node-package")],ji);var Uv=Object.defineProperty,zv=Object.getOwnPropertyDescriptor,uu=(e,t,i,o)=>{for(var r=o>1?void 0:o?zv(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Uv(t,i,r),r};let Sr=class extends R{constructor(){super(...arguments),this.fallbackIcon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M331.135 98.375c3.677 14.798 4.045 16.031 3.702 31.225-.138 5.855-3.5 32.936-2.586 41.242.751 6.851 2.46 7.395 5.162 13.041 4.705 9.824 3.13 23.376 1.325 33.282-.988 5.42-3.076 13.136-6.248 17.561-3.497 4.876-10.498 4.913-13.592 10.602-4.459 8.195-1.941 19.692-4.752 28.54-3.193 10.033-11.325 10.738-11.938 23.867 3.986.562 7.962 1.134 11.938 1.703 3.99 8.484 11.297 25.552 18.759 30.688 6.25 1.705 12.505 3.411 18.752 5.113 21.907 8.982 46.251 19.732 68.204 28.987 19.991 8.434 43.927 11.439 51.151 32.396 0 14.229 1.343 47.849.976 66.497H36.514c-.367-18.648.974-52.268.974-66.497 7.226-20.957 31.16-23.963 51.151-32.396 21.953-9.255 46.297-20.005 68.201-28.987 6.25-1.702 12.506-3.408 18.754-5.113 7.461-5.136 14.77-22.203 18.76-30.688l8.877-2.158c-2.017-11.206-8.954-12.078-11.845-20.01a91882.59 91882.59 0 00-3.408-35.806c.055.563-8.163-1.497-9.238-2.171-11.58-7.256-11.816-36.723-12.931-48.978-.508-5.603 7.283-10.193 5.118-20.465-12.69-60.138 5.486-88.282 34.229-97.614 19.95-8.083 57.198-23.074 91.941-1.703l8.621 7.991 13.952 2.405c7 4.041 11.465 17.446 11.465 17.446z"></path></svg>',this.groupName=""}renderDetail(){const e=[];return this.detail!==""&&e.push(this.detail),this.groupName!==""&&e.push(this.groupName),l`<small id="detail"
5109
5120
  >${e.join(" | ")}<slot name="detail"></slot
5110
- ></small>`}};Or.styles=[...j.styles],uu([a({type:String,attribute:"group-name"})],Or.prototype,"groupName",2),Or=uu([f("uui-ref-node-user")],Or);var Uv=Object.defineProperty,zv=Object.getOwnPropertyDescriptor,cu=(e,t,i,o)=>{for(var r=o>1?void 0:o?zv(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Uv(t,i,r),r};let Ir=class extends b{constructor(){super(...arguments),this.enforceScroll=!1}connectedCallback(){super.connectedCallback(),this.hasAttribute("tabindex")||this.setAttribute("tabindex","0")}render(){return l`<slot></slot>`}};Ir.styles=[p`
5121
+ ></small>`}};Sr.styles=[...R.styles],uu([a({type:String,attribute:"group-name"})],Sr.prototype,"groupName",2),Sr=uu([f("uui-ref-node-user")],Sr);var Dv=Object.defineProperty,Mv=Object.getOwnPropertyDescriptor,cu=(e,t,i,o)=>{for(var r=o>1?void 0:o?Mv(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Dv(t,i,r),r};let Ir=class extends b{constructor(){super(...arguments),this.enforceScroll=!1}connectedCallback(){super.connectedCallback(),this.hasAttribute("tabindex")||this.setAttribute("tabindex","0")}render(){return l`<slot></slot>`}};Ir.styles=[p`
5111
5122
  :host {
5112
5123
  display: block;
5113
5124
  scrollbar-width: thin;
@@ -5133,12 +5144,12 @@
5133
5144
  background-color: var(--uui-color-disabled-contrast,#c4c4c4);
5134
5145
  border-radius: 3px;
5135
5146
  }
5136
- `],cu([a({type:Boolean,reflect:!0,attribute:"enforce-scroll"})],Ir.prototype,"enforceScroll",2),Ir=cu([f("uui-scroll-container")],Ir);class Jo extends I{constructor(t,i={}){super(t,{bubbles:!0,...i})}}Jo.CHANGE="change";var Dv=Object.defineProperty,Mv=Object.getOwnPropertyDescriptor,Oe=(e,t,i,o)=>{for(var r=o>1?void 0:o?Mv(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Dv(t,i,r),r};let ue=class extends ze(b,""){constructor(){super(),this.placeholder="",this.disabled=!1,this.readonly=!1,this.error=!1,this.options=[],this._groups=[],this.disabledGroups="",this._disabledGroups=[],this._values=[],this.addEventListener("mousedown",()=>{this.style.setProperty("--uui-show-focus-outline","0")}),this.addEventListener("blur",()=>{this.style.setProperty("--uui-show-focus-outline","")})}async focus(){await this.updateComplete,this._input.focus()}async blur(){await this.updateComplete,this._input.blur()}async click(){await this.updateComplete,this._input.click()}getFormElement(){return this._input}connectedCallback(){super.connectedCallback(),this.label||console.warn(this.tagName+" needs a `label`",this)}_createDisabledGroups(){this.disabledGroups.length!==0&&(this._disabledGroups=this.disabledGroups.split(","))}_extractGroups(){this.options.length!==0&&(this._groups=Array.from(new Set(this.options.filter(e=>e.group).map(e=>e.group))))}willUpdate(e){if(e.has("options")){this._extractGroups(),this._values=this.options.map(i=>i.value);const t=this.options.find(i=>i.selected);this.value=t?t.value:""}e.has("value")&&(this.value=this._values.includes(this.value)?this.value:""),e.has("disabledGroups")&&this._createDisabledGroups()}setValue(e){e.stopPropagation();const t=e.target;e.target&&(this.value=t.value),this.dispatchEvent(new Jo(Jo.CHANGE,{bubbles:!0,composed:!1}))}_renderOption(e,t,i,o){return l`<option
5147
+ `],cu([a({type:Boolean,reflect:!0,attribute:"enforce-scroll"})],Ir.prototype,"enforceScroll",2),Ir=cu([f("uui-scroll-container")],Ir);class Jo extends U{constructor(t,i={}){super(t,{bubbles:!0,...i})}}Jo.CHANGE="change";var Lv=Object.defineProperty,Tv=Object.getOwnPropertyDescriptor,Ie=(e,t,i,o)=>{for(var r=o>1?void 0:o?Tv(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Lv(t,i,r),r};let ce=class extends ze(b,""){constructor(){super(),this.placeholder="",this.disabled=!1,this.readonly=!1,this.error=!1,this.options=[],this._groups=[],this.disabledGroups="",this._disabledGroups=[],this._values=[],this.addEventListener("mousedown",()=>{this.style.setProperty("--uui-show-focus-outline","0")}),this.addEventListener("blur",()=>{this.style.setProperty("--uui-show-focus-outline","")})}async focus(){await this.updateComplete,this._input.focus()}async blur(){await this.updateComplete,this._input.blur()}async click(){await this.updateComplete,this._input.click()}getFormElement(){return this._input}connectedCallback(){super.connectedCallback(),this.label||console.warn(this.tagName+" needs a `label`",this)}_createDisabledGroups(){this.disabledGroups.length!==0&&(this._disabledGroups=this.disabledGroups.split(","))}_extractGroups(){this.options.length!==0&&(this._groups=Array.from(new Set(this.options.filter(e=>e.group).map(e=>e.group))))}willUpdate(e){if(e.has("options")){this._extractGroups(),this._values=this.options.map(i=>i.value);const t=this.options.find(i=>i.selected);this.value=t?t.value:""}e.has("value")&&(this.value=this._values.includes(this.value)?this.value:""),e.has("disabledGroups")&&this._createDisabledGroups()}setValue(e){e.stopPropagation();const t=e.target;e.target&&(this.value=t.value),this.dispatchEvent(new Jo(Jo.CHANGE,{bubbles:!0,composed:!1}))}_renderOption(e,t,i,o){return l`<option
5137
5148
  value="${t}"
5138
5149
  ?selected=${i}
5139
5150
  ?disabled=${o}>
5140
5151
  ${e}
5141
- </option>`}_renderGrouped(){return this._groups.length===0?C:l`
5152
+ </option>`}_renderGrouped(){return this._groups.length===0?k:l`
5142
5153
  ${this._groups.map(e=>l`<optgroup
5143
5154
  label=${e}
5144
5155
  ?disabled=${this._disabledGroups.some(t=>t.toLowerCase()===e.toLowerCase())}>
@@ -5154,7 +5165,7 @@
5154
5165
  <option disabled selected value="" hidden>${this.placeholder}</option>
5155
5166
  ${this._renderGrouped()}
5156
5167
  ${this.options.filter(e=>!e.group).map(e=>this._renderOption(e.name,e.value,e.selected,e.disabled))}
5157
- </select>`}};ue.styles=[p`
5168
+ </select>`}};ce.styles=[p`
5158
5169
  :host {
5159
5170
  display: inline-block;
5160
5171
  position: relative;
@@ -5224,7 +5235,7 @@
5224
5235
  :host([error]) #native[disabled] {
5225
5236
  border: 1px solid var(--uui-color-danger-standalone,rgb(191, 33, 78));
5226
5237
  }
5227
- `],Oe([a({type:String})],ue.prototype,"label",2),Oe([a()],ue.prototype,"placeholder",2),Oe([a({type:Boolean,reflect:!0})],ue.prototype,"disabled",2),Oe([a({type:Boolean,reflect:!0})],ue.prototype,"readonly",2),Oe([a({type:Boolean,reflect:!0})],ue.prototype,"error",2),Oe([a({type:Array,attribute:!1})],ue.prototype,"options",2),Oe([m()],ue.prototype,"_groups",2),Oe([a()],ue.prototype,"disabledGroups",2),Oe([m()],ue.prototype,"_disabledGroups",2),Oe([O("#native")],ue.prototype,"_input",2),ue=Oe([f("uui-select")],ue);const Lv=p`
5238
+ `],Ie([a({type:String})],ce.prototype,"label",2),Ie([a()],ce.prototype,"placeholder",2),Ie([a({type:Boolean,reflect:!0})],ce.prototype,"disabled",2),Ie([a({type:Boolean,reflect:!0})],ce.prototype,"readonly",2),Ie([a({type:Boolean,reflect:!0})],ce.prototype,"error",2),Ie([a({type:Array,attribute:!1})],ce.prototype,"options",2),Ie([m()],ce.prototype,"_groups",2),Ie([a()],ce.prototype,"disabledGroups",2),Ie([m()],ce.prototype,"_disabledGroups",2),Ie([S("#native")],ce.prototype,"_input",2),ce=Ie([f("uui-select")],ce);const Vv=p`
5228
5239
  input[type='range'] {
5229
5240
  left: 0;
5230
5241
  position: absolute;
@@ -5331,15 +5342,15 @@
5331
5342
  input[type='range']:focus::-ms-fill-upper {
5332
5343
  background: transparent;
5333
5344
  }
5334
- `;class ii extends I{constructor(t,i={}){super(t,{bubbles:!0,...i})}}ii.INPUT="input",ii.CHANGE="change";var Tv=Object.defineProperty,Vv=Object.getOwnPropertyDescriptor,hu=e=>{throw TypeError(e)},ie=(e,t,i,o)=>{for(var r=o>1?void 0:o?Vv(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Tv(t,i,r),r},du=(e,t,i)=>t.has(e)||hu("Cannot "+i),pu=(e,t,i)=>(du(e,t,"read from private field"),i?i.call(e):t.get(e)),fu=(e,t,i)=>t.has(e)?hu("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,i),vu=(e,t,i,o)=>(du(e,t,"write to private field"),t.set(e,i),i),es,ts;const Ar=12,bu=24,Nv=(e,t)=>y`
5345
+ `;class ii extends U{constructor(t,i={}){super(t,{bubbles:!0,...i})}}ii.INPUT="input",ii.CHANGE="change";var Nv=Object.defineProperty,Hv=Object.getOwnPropertyDescriptor,hu=e=>{throw TypeError(e)},re=(e,t,i,o)=>{for(var r=o>1?void 0:o?Hv(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Nv(t,i,r),r},du=(e,t,i)=>t.has(e)||hu("Cannot "+i),pu=(e,t,i)=>(du(e,t,"read from private field"),i?i.call(e):t.get(e)),fu=(e,t,i)=>t.has(e)?hu("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,i),vu=(e,t,i,o)=>(du(e,t,"write to private field"),t.set(e,i),i),es,ts;const Ar=12,bu=24,Bv=(e,t)=>y`
5335
5346
  ${e.map(i=>{if(t>=bu){const o=Math.round(Ar+t*e.indexOf(i));return y`<circle class="track-step" cx="${o}" cy="50%" r="4.5" />`}return y``})}
5336
- `,Hv=(e,t,i)=>i?C:l`<div id="step-values">
5347
+ `,jv=(e,t,i)=>i?k:l`<div id="step-values">
5337
5348
  ${e.map(o=>l` <span
5338
5349
  ><span>
5339
- ${e.length<=20&&t>=bu?o.toFixed(0):C}
5350
+ ${e.length<=20&&t>=bu?o.toFixed(0):k}
5340
5351
  </span></span
5341
5352
  >`)}
5342
- </div>`,Bv=(e,t,i)=>Array.from({length:(t-e)/i+1},(o,r)=>e+r*i);let q=class extends ze(b,""){constructor(){super(),fu(this,es,0),this.hideStepValues=!1,this.hideValueLabel=!1,this.min=0,this.max=100,fu(this,ts,1),this.disabled=!1,this.readonly=!1,this._stepWidth=0,this.onWindowResize=()=>{this._stepWidth=this._calculateStepWidth()},this._steps=[],this._sliderPosition="0%",this.addEventListener("mousedown",()=>{this.style.setProperty("--uui-show-focus-outline","0")}),this.addEventListener("blur",()=>{this.style.setProperty("--uui-show-focus-outline","")}),this.addEventListener("keypress",this._onKeypress)}get step(){return pu(this,ts)}set step(e){vu(this,ts,e),vu(this,es,(e.toString().split(".")[1]||[]).length)}get value(){return super.value}set value(e){if(e instanceof File)return;const t=super.value;let i=e?parseFloat(e):0;i=Math.min(Math.max(i,this.min),this.max),this.step>0&&(i=Math.round(i/this.step)*this.step),super.value=i.toFixed(pu(this,es)).toString(),this._calculateSliderPosition(),this.requestUpdate("value",t)}async focus(){await this.updateComplete,this._input.focus()}async blur(){await this.updateComplete,this._input.blur()}async click(){await this.updateComplete,this._input.click()}getFormElement(){return this._input}connectedCallback(){super.connectedCallback(),window.addEventListener("resize",this.onWindowResize),this.label||console.warn(this.tagName+" needs a `label`",this)}disconnectedCallback(){window.removeEventListener("resize",this.onWindowResize),super.disconnectedCallback()}firstUpdated(){this._calculateSliderPosition(),this._updateSteps()}updated(e){super.updated(e),(e.get("max")||e.get("min")||e.get("step"))&&(this.value=this.value,this._updateSteps())}_updateSteps(){this._steps=Bv(this.min,this.max,this.step),this._stepWidth=this._calculateStepWidth()}_calculateStepWidth(){return(this._track.getBoundingClientRect().width-Ar*2)/(this._steps.length-1)}_onKeypress(e){e.key=="Enter"&&this.submit()}_calculateSliderPosition(){const e=(parseFloat(super.value||"0")-this.min)/(this.max-this.min);this._sliderPosition=`${Math.floor(e*1e5)/1e3}%`}_onInput(e){e.stopPropagation(),this.value=this._input.value,this.dispatchEvent(new ii(ii.INPUT))}_onChange(e){e.stopPropagation(),this.pristine=!1,this.dispatchEvent(new ii(ii.CHANGE))}render(){return l`
5353
+ </div>`,Rv=(e,t,i)=>Array.from({length:(t-e)/i+1},(o,r)=>e+r*i);let K=class extends ze(b,""){constructor(){super(),fu(this,es,0),this.hideStepValues=!1,this.hideValueLabel=!1,this.min=0,this.max=100,fu(this,ts,1),this.disabled=!1,this.readonly=!1,this._stepWidth=0,this.onWindowResize=()=>{this._stepWidth=this._calculateStepWidth()},this._steps=[],this._sliderPosition="0%",this.addEventListener("mousedown",()=>{this.style.setProperty("--uui-show-focus-outline","0")}),this.addEventListener("blur",()=>{this.style.setProperty("--uui-show-focus-outline","")}),this.addEventListener("keypress",this._onKeypress)}get step(){return pu(this,ts)}set step(e){vu(this,ts,e),vu(this,es,(e.toString().split(".")[1]||[]).length)}get value(){return super.value}set value(e){if(e instanceof File)return;const t=super.value;let i=e?parseFloat(e):0;i=Math.min(Math.max(i,this.min),this.max),this.step>0&&(i=Math.round(i/this.step)*this.step),super.value=i.toFixed(pu(this,es)).toString(),this._calculateSliderPosition(),this.requestUpdate("value",t)}async focus(){await this.updateComplete,this._input.focus()}async blur(){await this.updateComplete,this._input.blur()}async click(){await this.updateComplete,this._input.click()}getFormElement(){return this._input}connectedCallback(){super.connectedCallback(),window.addEventListener("resize",this.onWindowResize),this.label||console.warn(this.tagName+" needs a `label`",this)}disconnectedCallback(){window.removeEventListener("resize",this.onWindowResize),super.disconnectedCallback()}firstUpdated(){this._calculateSliderPosition(),this._updateSteps()}updated(e){super.updated(e),(e.get("max")||e.get("min")||e.get("step"))&&(this.value=this.value,this._updateSteps())}_updateSteps(){this._steps=Rv(this.min,this.max,this.step),this._stepWidth=this._calculateStepWidth()}_calculateStepWidth(){return(this._track.getBoundingClientRect().width-Ar*2)/(this._steps.length-1)}_onKeypress(e){e.key=="Enter"&&this.submit()}_calculateSliderPosition(){const e=(parseFloat(super.value||"0")-this.min)/(this.max-this.min);this._sliderPosition=`${Math.floor(e*1e5)/1e3}%`}_onInput(e){e.stopPropagation(),this.value=this._input.value,this.dispatchEvent(new ii(ii.INPUT))}_onChange(e){e.stopPropagation(),this.pristine=!1,this.dispatchEvent(new ii(ii.CHANGE))}render(){return l`
5343
5354
  <input
5344
5355
  id="input"
5345
5356
  type="range"
@@ -5355,7 +5366,7 @@
5355
5366
  <div id="track" aria-hidden="true">
5356
5367
  <svg height="100%" width="100%">
5357
5368
  <rect x="9" y="9" height="3" rx="2" />
5358
- ${Nv(this._steps,this._stepWidth)}
5369
+ ${Bv(this._steps,this._stepWidth)}
5359
5370
  </svg>
5360
5371
 
5361
5372
  <div id="track-inner" aria-hidden="true">
@@ -5364,8 +5375,8 @@
5364
5375
  </div>
5365
5376
  </div>
5366
5377
  </div>
5367
- ${Hv(this._steps,this._stepWidth,this.hideStepValues)}
5368
- `}};es=new WeakMap,ts=new WeakMap,q.formAssociated=!0,q.styles=[gh,Lv,p`
5378
+ ${jv(this._steps,this._stepWidth,this.hideStepValues)}
5379
+ `}};es=new WeakMap,ts=new WeakMap,K.formAssociated=!0,K.styles=[_h,Vv,p`
5369
5380
  :host {
5370
5381
  display: inline-block;
5371
5382
  width: 100%;
@@ -5514,8 +5525,15 @@
5514
5525
  :host([readonly]) #thumb-label {
5515
5526
  opacity: 1;
5516
5527
  }
5517
- `],ie([a({type:Boolean,attribute:"hide-step-values"})],q.prototype,"hideStepValues",2),ie([a({type:Boolean,attribute:"hide-value-label"})],q.prototype,"hideValueLabel",2),ie([a({type:Number})],q.prototype,"min",2),ie([a({type:Number})],q.prototype,"max",2),ie([a({type:Number})],q.prototype,"step",1),ie([a({type:String})],q.prototype,"value",1),ie([a({type:Boolean,reflect:!0})],q.prototype,"disabled",2),ie([a({type:Boolean,reflect:!0})],q.prototype,"readonly",2),ie([a({type:String})],q.prototype,"label",2),ie([O("#input")],q.prototype,"_input",2),ie([O("#track")],q.prototype,"_track",2),ie([m()],q.prototype,"_stepWidth",2),ie([m()],q.prototype,"_steps",2),ie([m()],q.prototype,"_sliderPosition",2),q=ie([f("uui-slider")],q);var jv=Object.defineProperty,Rv=Object.getOwnPropertyDescriptor,gu=(e,t,i,o)=>{for(var r=o>1?void 0:o?Rv(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&jv(t,i,r),r};let Ur=class extends b{constructor(){super(...arguments),this.open=!1}render(){return l`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
5518
- <path d="M 255.125 400.35 L 88.193 188.765 H 422.055 Z"></path>
5528
+ `],re([a({type:Boolean,attribute:"hide-step-values"})],K.prototype,"hideStepValues",2),re([a({type:Boolean,attribute:"hide-value-label"})],K.prototype,"hideValueLabel",2),re([a({type:Number})],K.prototype,"min",2),re([a({type:Number})],K.prototype,"max",2),re([a({type:Number})],K.prototype,"step",1),re([a({type:String})],K.prototype,"value",1),re([a({type:Boolean,reflect:!0})],K.prototype,"disabled",2),re([a({type:Boolean,reflect:!0})],K.prototype,"readonly",2),re([a({type:String})],K.prototype,"label",2),re([S("#input")],K.prototype,"_input",2),re([S("#track")],K.prototype,"_track",2),re([m()],K.prototype,"_stepWidth",2),re([m()],K.prototype,"_steps",2),re([m()],K.prototype,"_sliderPosition",2),K=re([f("uui-slider")],K);var Fv=Object.defineProperty,Wv=Object.getOwnPropertyDescriptor,gu=(e,t,i,o)=>{for(var r=o>1?void 0:o?Wv(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Fv(t,i,r),r};let Ur=class extends b{constructor(){super(...arguments),this.open=!1}render(){return l`<svg
5529
+ xmlns="http://www.w3.org/2000/svg"
5530
+ viewBox="0 0 24 24"
5531
+ fill="none"
5532
+ stroke="currentColor"
5533
+ stroke-width="3"
5534
+ stroke-linecap="round"
5535
+ stroke-linejoin="round">
5536
+ <path d="m4 9 8 8 8-8"></path>
5519
5537
  </svg>`}};Ur.styles=[p`
5520
5538
  :host {
5521
5539
  display: inline-block;
@@ -5524,10 +5542,9 @@
5524
5542
  }
5525
5543
 
5526
5544
  svg {
5527
- fill: currentColor;
5528
5545
  transform: rotate(-90deg);
5529
5546
  transform-origin: 50% 50%;
5530
- transition: transform 120ms ease-in-out;
5547
+ transition: transform 100ms cubic-bezier(0.1, 0, 0.9, 1);
5531
5548
  width: 100%;
5532
5549
  height: 100%;
5533
5550
  }
@@ -5535,9 +5552,9 @@
5535
5552
  :host([open]) svg {
5536
5553
  transform: rotate(0deg);
5537
5554
  }
5538
- `],gu([a({type:Boolean,reflect:!0})],Ur.prototype,"open",2),Ur=gu([f("uui-symbol-expand")],Ur);var Fv=Object.defineProperty,Wv=Object.getOwnPropertyDescriptor,zn=(e,t,i,o)=>{for(var r=o>1?void 0:o?Wv(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Fv(t,i,r),r};let Ri=class extends b{constructor(){super(...arguments),this.src="",this.alt=""}connectedCallback(){super.connectedCallback(),x(this,"uui-icon")}render(){return this.src?l`<img src=${this.src} alt=${this.alt} />`:l`<uui-icon
5555
+ `],gu([a({type:Boolean,reflect:!0})],Ur.prototype,"open",2),Ur=gu([f("uui-symbol-expand")],Ur);var Gv=Object.defineProperty,qv=Object.getOwnPropertyDescriptor,Dn=(e,t,i,o)=>{for(var r=o>1?void 0:o?qv(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Gv(t,i,r),r};let Ri=class extends b{constructor(){super(...arguments),this.src="",this.alt=""}connectedCallback(){super.connectedCallback(),x(this,"uui-icon")}render(){return this.src?l`<img src=${this.src} alt=${this.alt} />`:l`<uui-icon
5539
5556
  name="picture"
5540
- .fallback=${Sh.strings[0]}></uui-icon>`}};Ri.styles=[p`
5557
+ .fallback=${Ih.strings[0]}></uui-icon>`}};Ri.styles=[p`
5541
5558
  :host {
5542
5559
  display: block;
5543
5560
  width: 100%;
@@ -5560,7 +5577,7 @@
5560
5577
  color: var(--uui-color-surface,#fff);
5561
5578
  background: var(--uui-color-surface-alt,#f3f3f5);
5562
5579
  }
5563
- `],zn([a({type:String})],Ri.prototype,"src",2),zn([a({type:String})],Ri.prototype,"alt",2),Ri=zn([f("uui-symbol-file-thumbnail")],Ri);var Gv=Object.defineProperty,qv=Object.getOwnPropertyDescriptor,mu=(e,t,i,o)=>{for(var r=o>1?void 0:o?qv(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Gv(t,i,r),r};let zr=class extends b{constructor(){super(...arguments),this.type=""}render(){return l`<svg
5580
+ `],Dn([a({type:String})],Ri.prototype,"src",2),Dn([a({type:String})],Ri.prototype,"alt",2),Ri=Dn([f("uui-symbol-file-thumbnail")],Ri);var Kv=Object.defineProperty,Yv=Object.getOwnPropertyDescriptor,mu=(e,t,i,o)=>{for(var r=o>1?void 0:o?Yv(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Kv(t,i,r),r};let zr=class extends b{constructor(){super(...arguments),this.type=""}render(){return l`<svg
5564
5581
  xmlns="http://www.w3.org/2000/svg"
5565
5582
  viewBox="0 0 512 512"
5566
5583
  width="100%"
@@ -5591,7 +5608,7 @@
5591
5608
  #icon {
5592
5609
  fill: var(--uui-color-border-standalone,#c2c2c2);
5593
5610
  }
5594
- `],mu([a({type:String})],zr.prototype,"type",2),zr=mu([f("uui-symbol-file")],zr);var Kv=Object.defineProperty,Yv=Object.getOwnPropertyDescriptor,Xv=(e,t,i,o)=>{for(var r=o>1?void 0:o?Yv(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Kv(t,i,r),r};let is=class extends b{render(){return l`<svg
5611
+ `],mu([a({type:String})],zr.prototype,"type",2),zr=mu([f("uui-symbol-file")],zr);var Xv=Object.defineProperty,Zv=Object.getOwnPropertyDescriptor,Qv=(e,t,i,o)=>{for(var r=o>1?void 0:o?Zv(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Xv(t,i,r),r};let is=class extends b{render(){return l`<svg
5595
5612
  xmlns="http://www.w3.org/2000/svg"
5596
5613
  viewBox="0 0 512 512"
5597
5614
  width="100%"
@@ -5609,7 +5626,7 @@
5609
5626
  #icon {
5610
5627
  fill: var(--uui-color-border,#d8d7d9);
5611
5628
  }
5612
- `],is=Xv([f("uui-symbol-folder")],is);var Zv=Object.defineProperty,Qv=Object.getOwnPropertyDescriptor,_u=(e,t,i,o)=>{for(var r=o>1?void 0:o?Qv(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Zv(t,i,r),r};let Dr=class extends b{constructor(){super(...arguments),this.open=!1}render(){return y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
5629
+ `],is=Qv([f("uui-symbol-folder")],is);var Jv=Object.defineProperty,eb=Object.getOwnPropertyDescriptor,_u=(e,t,i,o)=>{for(var r=o>1?void 0:o?eb(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Jv(t,i,r),r};let Dr=class extends b{constructor(){super(...arguments),this.open=!1}render(){return y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
5613
5630
  ${this.open===!0?y`<path d="M457.915 242.222H269.053l-.004-78.416c0-33.277-12.63-63.824-33.538-86.175-20.82-22.357-50.579-36.756-83.391-36.731-32.814-.024-62.57 14.375-83.391 36.731-20.915 22.351-33.541 52.897-33.547 86.175v103.859H96.19v-13.476l-35.656-35.656H96.19v-54.728c0-17.765 6.717-33.406 17.084-44.502 10.463-11.09 23.927-17.37 38.845-17.394 14.916.024 28.375 6.304 38.837 17.394 10.375 11.096 17.092 26.738 17.087 44.502v78.416h-26.189c-9.159 0-16.582 7.426-16.582 16.585v194.53c0 9.158 7.423 16.583 16.582 16.583h276.06c9.164 0 16.587-7.425 16.587-16.583v-194.53c.001-9.159-7.422-16.584-16.586-16.584z"></path>`:y`<path d="M404.84 246.573h-22.084l-.002-73.603c0-36.675-13.921-70.311-36.917-94.892-22.91-24.584-55.547-40.367-91.539-40.336-36.003-.031-68.643 15.752-91.55 40.336-23.001 24.582-36.918 58.217-36.925 94.892v73.603h-22.082c-9.16 0-16.585 7.421-16.585 16.583v194.531c0 9.158 7.425 16.585 16.585 16.585H404.84c9.162 0 16.586-7.427 16.586-16.585V263.156c0-9.161-7.424-16.583-16.586-16.583zm-218.013-73.602c0-21.167 8.012-39.893 20.468-53.219 12.552-13.316 28.896-20.982 47.003-21.007 18.095.025 34.438 7.685 46.987 21.007 12.455 13.326 20.467 32.052 20.467 53.219v73.603H186.827v-73.603z"></path>`}
5614
5631
  </svg>`}};Dr.styles=[p`
5615
5632
  :host {
@@ -5621,28 +5638,49 @@
5621
5638
  svg {
5622
5639
  fill: currentColor;
5623
5640
  }
5624
- `],_u([a({type:Boolean,reflect:!0})],Dr.prototype,"open",2),Dr=_u([f("uui-symbol-lock")],Dr);var Jv=Object.defineProperty,eb=Object.getOwnPropertyDescriptor,tb=(e,t,i,o)=>{for(var r=o>1?void 0:o?eb(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Jv(t,i,r),r};let rs=class extends b{render(){return l`···`}};rs.styles=[p`
5641
+ `],_u([a({type:Boolean,reflect:!0})],Dr.prototype,"open",2),Dr=_u([f("uui-symbol-lock")],Dr);var tb=Object.defineProperty,ib=Object.getOwnPropertyDescriptor,rb=(e,t,i,o)=>{for(var r=o>1?void 0:o?ib(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&tb(t,i,r),r};let rs=class extends b{render(){return y`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
5642
+ <circle cx="17" cy="50" r="9"></circle>
5643
+ <circle cx="50" cy="50" r="9"></circle>
5644
+ <circle cx="83" cy="50" r="9"></circle>
5645
+ </svg>`}};rs.styles=[p`
5625
5646
  :host {
5626
5647
  display: inline-block;
5627
- font-size: 1.48em;
5628
- line-height: 0.8em;
5629
- user-select: none;
5648
+ vertical-align: bottom;
5649
+ width: 1.15em;
5650
+ height: 1.15em;
5630
5651
  }
5631
- `],rs=tb([f("uui-symbol-more")],rs);var ib=Object.defineProperty,rb=Object.getOwnPropertyDescriptor,yu=(e,t,i,o)=>{for(var r=o>1?void 0:o?rb(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&ib(t,i,r),r};let Mr=class extends or(b){constructor(){super(...arguments),this.descending=!1}render(){return l`<svg
5652
+ `],rs=rb([f("uui-symbol-more")],rs);var ob=Object.defineProperty,sb=Object.getOwnPropertyDescriptor,yu=(e,t,i,o)=>{for(var r=o>1?void 0:o?sb(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&ob(t,i,r),r};let Mr=class extends or(b){constructor(){super(...arguments),this.descending=!1}render(){return l` <svg
5632
5653
  id="up"
5633
5654
  xmlns="http://www.w3.org/2000/svg"
5634
- viewBox="0 0 512 512">
5635
- <path d="M 255.125 400.35 L 88.193 188.765 H 422.055 Z"></path>
5655
+ width="24"
5656
+ height="24"
5657
+ viewBox="0 0 24 24"
5658
+ fill="none"
5659
+ stroke="currentColor"
5660
+ stroke-width="3"
5661
+ stroke-linecap="round"
5662
+ stroke-linejoin="round">
5663
+ <path d="m4 9 8 8 8-8"></path>
5636
5664
  </svg>
5637
- <svg id="down" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
5638
- <path d="M 255.125 400.35 L 88.193 188.765 H 422.055 Z"></path>
5665
+ <svg
5666
+ id="down"
5667
+ xmlns="http://www.w3.org/2000/svg"
5668
+ width="24"
5669
+ height="24"
5670
+ viewBox="0 0 24 24"
5671
+ fill="none"
5672
+ stroke="currentColor"
5673
+ stroke-width="3"
5674
+ stroke-linecap="round"
5675
+ stroke-linejoin="round">
5676
+ <path d="m4 9 8 8 8-8"></path>
5639
5677
  </svg>`}};Mr.styles=[p`
5640
5678
  :host {
5641
5679
  position: relative;
5642
5680
  display: inline-block;
5643
- width: 0.8em;
5681
+ width: 0.9em;
5644
5682
  height: 1em;
5645
- vertical-align: middle;
5683
+ //vertical-align: middle;
5646
5684
  pointer-events: none;
5647
5685
  }
5648
5686
 
@@ -5650,29 +5688,28 @@
5650
5688
  position: absolute;
5651
5689
  left: 0;
5652
5690
  top: 50%;
5653
- width: 0.8em;
5654
- fill: currentColor;
5691
+ width: 0.9em;
5655
5692
  transform-origin: 50% 50%;
5656
5693
  transition:
5657
5694
  transform 120ms ease-in-out,
5658
5695
  opacity 120ms,
5659
5696
  margin-top 240ms;
5660
5697
  opacity: 0;
5661
- margin-top: -0.5em;
5698
+ margin-top: -8em;
5662
5699
  }
5663
5700
 
5664
5701
  #up {
5665
5702
  transform: rotate(180deg);
5666
- margin-top: -0.7em;
5703
+ margin-top: -1.05em;
5667
5704
  }
5668
5705
  #down {
5669
- margin-top: -0.3em;
5706
+ margin-top: -0.55em;
5670
5707
  }
5671
5708
  :host([active]) #up {
5672
- margin-top: calc(-0.5em - (0.2em * var(--uui-symbol-sort-hover, 0)));
5709
+ margin-top: calc(-0.8em - (0.25em * var(--uui-symbol-sort-hover, 0)));
5673
5710
  }
5674
5711
  :host([active]) #down {
5675
- margin-top: calc(-0.5em + (0.2em * var(--uui-symbol-sort-hover, 0)));
5712
+ margin-top: calc(-0.8em + (0.25em * var(--uui-symbol-sort-hover, 0)));
5676
5713
  }
5677
5714
 
5678
5715
  :host(:hover) {
@@ -5696,7 +5733,7 @@
5696
5733
  :host([active][descending]) #down {
5697
5734
  opacity: calc(0.25 * var(--uui-symbol-sort-hover, 0));
5698
5735
  }
5699
- `],yu([a({type:Boolean,reflect:!0})],Mr.prototype,"descending",2),Mr=yu([f("uui-symbol-sort")],Mr);var ob=Object.defineProperty,sb=Object.getOwnPropertyDescriptor,nb=(e,t,i,o)=>{for(var r=o>1?void 0:o?sb(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&ob(t,i,r),r};let os=class extends b{connectedCallback(){super.connectedCallback(),this.setAttribute("role","table")}render(){return l`<slot></slot>`}};os.styles=[p`
5736
+ `],yu([a({type:Boolean,reflect:!0})],Mr.prototype,"descending",2),Mr=yu([f("uui-symbol-sort")],Mr);var nb=Object.defineProperty,ab=Object.getOwnPropertyDescriptor,lb=(e,t,i,o)=>{for(var r=o>1?void 0:o?ab(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&nb(t,i,r),r};let os=class extends b{connectedCallback(){super.connectedCallback(),this.setAttribute("role","table")}render(){return l`<slot></slot>`}};os.styles=[p`
5700
5737
  :host {
5701
5738
  display: table;
5702
5739
  width: 100%;
@@ -5704,7 +5741,7 @@
5704
5741
  background-color: var(--uui-color-surface,#fff);
5705
5742
  cursor: default;
5706
5743
  }
5707
- `],os=nb([f("uui-table")],os);var ab=Object.defineProperty,lb=Object.getOwnPropertyDescriptor,ss=(e,t,i,o)=>{for(var r=o>1?void 0:o?lb(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&ab(t,i,r),r};let je=class extends b{constructor(){super(...arguments),this.disableChildInteraction=!1,this.noPadding=!1,this.clipText=!1,this._observer=new ResizeObserver(()=>{this._detectOverflow()})}_detectOverflow(){this.scrollWidth>this.clientWidth?this.setAttribute("title",this.innerText):this.removeAttribute("title")}connectedCallback(){super.connectedCallback(),this.setAttribute("role","cell")}disconnectedCallback(){super.disconnectedCallback(),this._observer.disconnect()}updated(e){super.updated(e),e.has("clipText")&&(this.clipText?(this._detectOverflow(),this._observer.observe(this)):this._observer.disconnect())}render(){return l` <slot @slotchange=${this._detectOverflow}></slot>`}};je.styles=[p`
5744
+ `],os=lb([f("uui-table")],os);var ub=Object.defineProperty,cb=Object.getOwnPropertyDescriptor,ss=(e,t,i,o)=>{for(var r=o>1?void 0:o?cb(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&ub(t,i,r),r};let je=class extends b{constructor(){super(...arguments),this.disableChildInteraction=!1,this.noPadding=!1,this.clipText=!1,this._observer=new ResizeObserver(()=>{this._detectOverflow()})}_detectOverflow(){this.scrollWidth>this.clientWidth?this.setAttribute("title",this.innerText):this.removeAttribute("title")}connectedCallback(){super.connectedCallback(),this.setAttribute("role","cell")}disconnectedCallback(){super.disconnectedCallback(),this._observer.disconnect()}updated(e){super.updated(e),e.has("clipText")&&(this.clipText?(this._detectOverflow(),this._observer.observe(this)):this._observer.disconnect())}render(){return l` <slot @slotchange=${this._detectOverflow}></slot>`}};je.styles=[p`
5708
5745
  :host {
5709
5746
  position: relative;
5710
5747
  display: table-cell;
@@ -5738,20 +5775,20 @@
5738
5775
  :host([no-padding]) {
5739
5776
  padding: 0;
5740
5777
  }
5741
- `],ss([a({type:Boolean,reflect:!0,attribute:"disable-child-interaction"})],je.prototype,"disableChildInteraction",2),ss([a({type:Boolean,reflect:!0,attribute:"no-padding"})],je.prototype,"noPadding",2),ss([a({type:Boolean,reflect:!0,attribute:"clip-text"})],je.prototype,"clipText",2),je=ss([f("uui-table-cell")],je);var ub=Object.defineProperty,cb=Object.getOwnPropertyDescriptor,hb=(e,t,i,o)=>{for(var r=o>1?void 0:o?cb(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&ub(t,i,r),r};let ns=class extends b{};ns.styles=[p`
5778
+ `],ss([a({type:Boolean,reflect:!0,attribute:"disable-child-interaction"})],je.prototype,"disableChildInteraction",2),ss([a({type:Boolean,reflect:!0,attribute:"no-padding"})],je.prototype,"noPadding",2),ss([a({type:Boolean,reflect:!0,attribute:"clip-text"})],je.prototype,"clipText",2),je=ss([f("uui-table-cell")],je);var hb=Object.defineProperty,db=Object.getOwnPropertyDescriptor,pb=(e,t,i,o)=>{for(var r=o>1?void 0:o?db(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&hb(t,i,r),r};let ns=class extends b{};ns.styles=[p`
5742
5779
  :host {
5743
5780
  display: table-column;
5744
5781
  }
5745
- `],ns=hb([f("uui-table-column")],ns);var db=Object.defineProperty,pb=Object.getOwnPropertyDescriptor,fb=(e,t,i,o)=>{for(var r=o>1?void 0:o?pb(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&db(t,i,r),r};let as=class extends je{connectedCallback(){super.connectedCallback(),this.setAttribute("role","columnheader")}};as.styles=[...je.styles,p`
5782
+ `],ns=pb([f("uui-table-column")],ns);var fb=Object.defineProperty,vb=Object.getOwnPropertyDescriptor,bb=(e,t,i,o)=>{for(var r=o>1?void 0:o?vb(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&fb(t,i,r),r};let as=class extends je{connectedCallback(){super.connectedCallback(),this.setAttribute("role","columnheader")}};as.styles=[...je.styles,p`
5746
5783
  :host {
5747
5784
  border-top: none;
5748
5785
  }
5749
- `],as=fb([f("uui-table-head-cell")],as);var vb=Object.defineProperty,bb=Object.getOwnPropertyDescriptor,gb=(e,t,i,o)=>{for(var r=o>1?void 0:o?bb(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&vb(t,i,r),r};let ls=class extends b{connectedCallback(){super.connectedCallback(),this.setAttribute("role","row")}render(){return l`<slot></slot>`}};ls.styles=[p`
5786
+ `],as=bb([f("uui-table-head-cell")],as);var gb=Object.defineProperty,mb=Object.getOwnPropertyDescriptor,_b=(e,t,i,o)=>{for(var r=o>1?void 0:o?mb(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&gb(t,i,r),r};let ls=class extends b{connectedCallback(){super.connectedCallback(),this.setAttribute("role","row")}render(){return l`<slot></slot>`}};ls.styles=[p`
5750
5787
  :host {
5751
5788
  display: table-header-group;
5752
5789
  font-weight: bold;
5753
5790
  }
5754
- `],ls=gb([f("uui-table-head")],ls);var mb=Object.defineProperty,_b=Object.getOwnPropertyDescriptor,wu=(e,t,i,o)=>{for(var r=o>1?void 0:o?_b(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&mb(t,i,r),r};let Lr=class extends ro(ui(b)){constructor(){super();let e=!1;this.addEventListener("blur",()=>{e===!1&&this.style.setProperty("--uui-show-focus-outline","1"),e=!1}),this.addEventListener("mousedown",()=>{this.style.setProperty("--uui-show-focus-outline","0"),e=!0}),this.addEventListener("mouseup",()=>{e=!1})}connectedCallback(){super.connectedCallback(),this.setAttribute("role","row")}updated(e){e.has("selectOnly")&&this.updateChildSelectOnly()}updateChildSelectOnly(){this.slotCellNodes&&this.slotCellNodes.forEach(e=>{this.elementIsTableCell(e)&&(e.disableChildInteraction=this.selectOnly)})}elementIsTableCell(e){return e instanceof je}render(){return l` <slot @slotchanged=${this.updateChildSelectOnly}></slot> `}};Lr.styles=[p`
5791
+ `],ls=_b([f("uui-table-head")],ls);var yb=Object.defineProperty,wb=Object.getOwnPropertyDescriptor,wu=(e,t,i,o)=>{for(var r=o>1?void 0:o?wb(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&yb(t,i,r),r};let Lr=class extends ro(ui(b)){constructor(){super();let e=!1;this.addEventListener("blur",()=>{e===!1&&this.style.setProperty("--uui-show-focus-outline","1"),e=!1}),this.addEventListener("mousedown",()=>{this.style.setProperty("--uui-show-focus-outline","0"),e=!0}),this.addEventListener("mouseup",()=>{e=!1})}connectedCallback(){super.connectedCallback(),this.setAttribute("role","row")}updated(e){e.has("selectOnly")&&this.updateChildSelectOnly()}updateChildSelectOnly(){this.slotCellNodes&&this.slotCellNodes.forEach(e=>{this.elementIsTableCell(e)&&(e.disableChildInteraction=this.selectOnly)})}elementIsTableCell(e){return e instanceof je}render(){return l` <slot @slotchanged=${this.updateChildSelectOnly}></slot> `}};Lr.styles=[p`
5755
5792
  :host {
5756
5793
  display: table-row;
5757
5794
  position: relative;
@@ -5773,7 +5810,7 @@
5773
5810
  :host([selected]:focus) {
5774
5811
  outline-color: var(--uui-color-focus,#3879ff);
5775
5812
  }
5776
- `],wu([pt({flatten:!0,selector:"uui-table-cell, [uui-table-cell], [role=cell]"})],Lr.prototype,"slotCellNodes",2),Lr=wu([f("uui-table-row")],Lr);var yb=Object.defineProperty,wb=Object.getOwnPropertyDescriptor,Fi=(e,t,i,o)=>{for(var r=o>1?void 0:o?wb(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&yb(t,i,r),r};let at=class extends or(Ue("",b)){constructor(){super(),this.disabled=!1,this.orientation="horizontal",this.addEventListener("click",this.onHostClick)}onHostClick(e){this.disabled&&(e.preventDefault(),e.stopImmediatePropagation())}render(){return this.href?l`
5813
+ `],wu([pt({flatten:!0,selector:"uui-table-cell, [uui-table-cell], [role=cell]"})],Lr.prototype,"slotCellNodes",2),Lr=wu([f("uui-table-row")],Lr);var xb=Object.defineProperty,$b=Object.getOwnPropertyDescriptor,Fi=(e,t,i,o)=>{for(var r=o>1?void 0:o?$b(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&xb(t,i,r),r};let at=class extends or(Ue("",b)){constructor(){super(),this.disabled=!1,this.orientation="horizontal",this.addEventListener("click",this.onHostClick)}onHostClick(e){this.disabled&&(e.preventDefault(),e.stopImmediatePropagation())}render(){return this.href?l`
5777
5814
  <a
5778
5815
  id="button"
5779
5816
  href=${w(this.disabled?void 0:this.href)}
@@ -5916,10 +5953,10 @@
5916
5953
  :host([orientation='vertical']) slot.label {
5917
5954
  text-align: left;
5918
5955
  }
5919
- `],Fi([a({type:Boolean,reflect:!0})],at.prototype,"disabled",2),Fi([a({type:String})],at.prototype,"href",2),Fi([a({type:String})],at.prototype,"target",2),Fi([a({type:String})],at.prototype,"rel",2),Fi([a({type:String,reflect:!0})],at.prototype,"orientation",2),at=Fi([f("uui-tab")],at);var xb=Object.defineProperty,$b=Object.getOwnPropertyDescriptor,xu=e=>{throw TypeError(e)},Wi=(e,t,i,o)=>{for(var r=o>1?void 0:o?$b(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&xb(t,i,r),r},Dn=(e,t,i)=>t.has(e)||xu("Cannot "+i),S=(e,t,i)=>(Dn(e,t,"read from private field"),i?i.call(e):t.get(e)),Re=(e,t,i)=>t.has(e)?xu("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,i),Tr=(e,t,i,o)=>(Dn(e,t,"write to private field"),t.set(e,i),i),pe=(e,t,i)=>(Dn(e,t,"access private method"),i),us,Fe,lt,Gi,qi,cs,Vr,Nr,re,$u,Cu,Mn,ku,Ki,hs,Eu,Ln,Tn;let ut=class extends b{constructor(){super(...arguments),Re(this,re),Re(this,us,0),this.dropdownContentDirection="vertical",Re(this,Fe,[]),Re(this,lt,[]),Re(this,Gi,new Map),Re(this,qi,[]),Re(this,cs,new ResizeObserver(pe(this,re,Cu).bind(this))),Re(this,Vr,[]),Re(this,Nr,!1),Re(this,Ki,e=>{const t=e.currentTarget;if(pe(this,re,Tn).call(this,t)){t.active=!0;const i=S(this,Gi).get(t);i&&(i.active=!0),[...S(this,Fe),...S(this,lt)].filter(s=>s!==t&&s!==i).forEach(s=>{pe(this,re,Tn).call(this,s)&&(s.active=!1)}),S(this,lt).some(s=>s.active&&s!==i)?this._moreButtonElement.classList.add("active-inside"):this._moreButtonElement.classList.remove("active-inside")}})}connectedCallback(){super.connectedCallback(),pe(this,re,$u).call(this)}disconnectedCallback(){super.disconnectedCallback(),S(this,cs).unobserve(this),pe(this,re,Mn).call(this)}render(){return l`
5956
+ `],Fi([a({type:Boolean,reflect:!0})],at.prototype,"disabled",2),Fi([a({type:String})],at.prototype,"href",2),Fi([a({type:String})],at.prototype,"target",2),Fi([a({type:String})],at.prototype,"rel",2),Fi([a({type:String,reflect:!0})],at.prototype,"orientation",2),at=Fi([f("uui-tab")],at);var kb=Object.defineProperty,Cb=Object.getOwnPropertyDescriptor,xu=e=>{throw TypeError(e)},Wi=(e,t,i,o)=>{for(var r=o>1?void 0:o?Cb(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&kb(t,i,r),r},Mn=(e,t,i)=>t.has(e)||xu("Cannot "+i),O=(e,t,i)=>(Mn(e,t,"read from private field"),i?i.call(e):t.get(e)),Re=(e,t,i)=>t.has(e)?xu("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,i),Tr=(e,t,i,o)=>(Mn(e,t,"write to private field"),t.set(e,i),i),fe=(e,t,i)=>(Mn(e,t,"access private method"),i),us,Fe,lt,Gi,qi,cs,Vr,Nr,oe,$u,ku,Ln,Cu,Ki,hs,Eu,Tn,Vn;let ut=class extends b{constructor(){super(...arguments),Re(this,oe),Re(this,us,0),this.dropdownContentDirection="vertical",Re(this,Fe,[]),Re(this,lt,[]),Re(this,Gi,new Map),Re(this,qi,[]),Re(this,cs,new ResizeObserver(fe(this,oe,ku).bind(this))),Re(this,Vr,[]),Re(this,Nr,!1),Re(this,Ki,e=>{const t=e.currentTarget;if(fe(this,oe,Vn).call(this,t)){t.active=!0;const i=O(this,Gi).get(t);i&&(i.active=!0),[...O(this,Fe),...O(this,lt)].filter(s=>s!==t&&s!==i).forEach(s=>{fe(this,oe,Vn).call(this,s)&&(s.active=!1)}),O(this,lt).some(s=>s.active&&s!==i)?this._moreButtonElement.classList.add("active-inside"):this._moreButtonElement.classList.remove("active-inside")}})}connectedCallback(){super.connectedCallback(),fe(this,oe,$u).call(this)}disconnectedCallback(){super.disconnectedCallback(),O(this,cs).unobserve(this),fe(this,oe,Ln).call(this)}render(){return l`
5920
5957
  <div id="main">
5921
5958
  <div id="grid">
5922
- <slot @slotchange=${pe(this,re,ku)}></slot>
5959
+ <slot @slotchange=${fe(this,oe,Cu)}></slot>
5923
5960
  </div>
5924
5961
  <uui-button
5925
5962
  popovertarget="popover-container"
@@ -5935,10 +5972,10 @@
5935
5972
  popover
5936
5973
  placement="bottom-end">
5937
5974
  <div id="hidden-tabs-container">
5938
- ${Qs(S(this,lt),e=>l`${e}`)}
5975
+ ${Js(O(this,lt),e=>l`${e}`)}
5939
5976
  </div>
5940
5977
  </uui-popover-container>
5941
- `}};us=new WeakMap,Fe=new WeakMap,lt=new WeakMap,Gi=new WeakMap,qi=new WeakMap,cs=new WeakMap,Vr=new WeakMap,Nr=new WeakMap,re=new WeakSet,$u=async function(){x(this,"uui-button"),x(this,"uui-popover-container"),x(this,"uui-symbol-more"),this.hasAttribute("role")||this.setAttribute("role","tablist"),await this.updateComplete,S(this,cs).observe(this._mainElement)},Cu=function(e){const t=Number.parseFloat(this.style.getPropertyValue("--uui-tab-group-gap"));(Number.isNaN(t)?0:t)!==S(this,us)?pe(this,re,hs).call(this):pe(this,re,Ln).call(this,e[0].contentBoxSize[0].inlineSize)},Mn=function(){S(this,Fe).forEach(e=>{e.removeEventListener("click",S(this,Ki)),S(this,Vr).forEach(t=>t.disconnect())}),S(this,Vr).length=0,S(this,qi).length=0},ku=function(){pe(this,re,Mn).call(this),pe(this,re,Eu).call(this),S(this,Fe).forEach(e=>{e.addEventListener("click",S(this,Ki));const t=new ResizeObserver(pe(this,re,hs).bind(this));t.observe(e),S(this,Vr).push(t)})},Ki=new WeakMap,hs=async function(){if(S(this,Nr))return;Tr(this,Nr,!0),requestAnimationFrame(()=>{Tr(this,Nr,!1)}),await this.updateComplete;const e=Number.parseFloat(this.style.getPropertyValue("--uui-tab-group-gap")),t=Number.isNaN(e)?0:e;Tr(this,us,t);let i=0;for(let r=0;r<S(this,Fe).length;r++)S(this,Fe)[r].style.display="",i+=S(this,Fe)[r].offsetWidth,S(this,qi)[r]=i,i+=t;const o=2;this._mainElement.style.width=i-t+o+"px",pe(this,re,Ln).call(this,this._mainElement.offsetWidth)},Eu=function(){Tr(this,Fe,this._slottedNodes?this._slottedNodes:[]),pe(this,re,hs).call(this)},Ln=function(e){const t=this._moreButtonElement.offsetWidth,i=e-(t||0);S(this,lt).forEach(s=>{s.removeEventListener("click",S(this,Ki))}),Tr(this,lt,[]),S(this,Gi).clear();let o=!1;const r=S(this,qi).length;for(let s=0;s<r;s++){const n=S(this,qi)[s],u=S(this,Fe)[s];if(n<=(s===r-1?e:i))u.style.display="";else{const c=u.cloneNode(!0);c.addEventListener("click",S(this,Ki)),c.classList.add("hidden-tab"),c.style.display="",c.orientation=this.dropdownContentDirection,S(this,Gi).set(c,u),S(this,Gi).set(u,c),S(this,lt).push(c),u.style.display="none",u.active&&(o=!0)}}S(this,lt).length===0?(this._moreButtonElement.style.display="none",this._popoverContainerElement.hidePopover()):this._moreButtonElement.style.display="",o?this._moreButtonElement.classList.add("active-inside"):this._moreButtonElement.classList.remove("active-inside"),this.requestUpdate()},Tn=function(e){return typeof e=="object"&&"active"in e&&typeof e.active=="boolean"},ut.styles=[p`
5978
+ `}};us=new WeakMap,Fe=new WeakMap,lt=new WeakMap,Gi=new WeakMap,qi=new WeakMap,cs=new WeakMap,Vr=new WeakMap,Nr=new WeakMap,oe=new WeakSet,$u=async function(){x(this,"uui-button"),x(this,"uui-popover-container"),x(this,"uui-symbol-more"),this.hasAttribute("role")||this.setAttribute("role","tablist"),await this.updateComplete,O(this,cs).observe(this._mainElement)},ku=function(e){const t=Number.parseFloat(this.style.getPropertyValue("--uui-tab-group-gap"));(Number.isNaN(t)?0:t)!==O(this,us)?fe(this,oe,hs).call(this):fe(this,oe,Tn).call(this,e[0].contentBoxSize[0].inlineSize)},Ln=function(){O(this,Fe).forEach(e=>{e.removeEventListener("click",O(this,Ki)),O(this,Vr).forEach(t=>t.disconnect())}),O(this,Vr).length=0,O(this,qi).length=0},Cu=function(){fe(this,oe,Ln).call(this),fe(this,oe,Eu).call(this),O(this,Fe).forEach(e=>{e.addEventListener("click",O(this,Ki));const t=new ResizeObserver(fe(this,oe,hs).bind(this));t.observe(e),O(this,Vr).push(t)})},Ki=new WeakMap,hs=async function(){if(O(this,Nr))return;Tr(this,Nr,!0),requestAnimationFrame(()=>{Tr(this,Nr,!1)}),await this.updateComplete;const e=Number.parseFloat(this.style.getPropertyValue("--uui-tab-group-gap")),t=Number.isNaN(e)?0:e;Tr(this,us,t);let i=0;for(let r=0;r<O(this,Fe).length;r++)O(this,Fe)[r].style.display="",i+=O(this,Fe)[r].offsetWidth,O(this,qi)[r]=i,i+=t;const o=2;this._mainElement.style.width=i-t+o+"px",fe(this,oe,Tn).call(this,this._mainElement.offsetWidth)},Eu=function(){Tr(this,Fe,this._slottedNodes?this._slottedNodes:[]),fe(this,oe,hs).call(this)},Tn=function(e){const t=this._moreButtonElement.offsetWidth,i=e-(t||0);O(this,lt).forEach(s=>{s.removeEventListener("click",O(this,Ki))}),Tr(this,lt,[]),O(this,Gi).clear();let o=!1;const r=O(this,qi).length;for(let s=0;s<r;s++){const n=O(this,qi)[s],u=O(this,Fe)[s];if(n<=(s===r-1?e:i))u.style.display="";else{const c=u.cloneNode(!0);c.addEventListener("click",O(this,Ki)),c.classList.add("hidden-tab"),c.style.display="",c.orientation=this.dropdownContentDirection,O(this,Gi).set(c,u),O(this,Gi).set(u,c),O(this,lt).push(c),u.style.display="none",u.active&&(o=!0)}}O(this,lt).length===0?(this._moreButtonElement.style.display="none",this._popoverContainerElement.hidePopover()):this._moreButtonElement.style.display="",o?this._moreButtonElement.classList.add("active-inside"):this._moreButtonElement.classList.remove("active-inside"),this.requestUpdate()},Vn=function(e){return typeof e=="object"&&"active"in e&&typeof e.active=="boolean"},ut.styles=[p`
5942
5979
  :host {
5943
5980
  min-width: 0;
5944
5981
  display: flex;
@@ -6026,7 +6063,7 @@
6026
6063
  opacity 120ms,
6027
6064
  height ease-out 120ms;
6028
6065
  }
6029
- `],Wi([O("#more-button")],ut.prototype,"_moreButtonElement",2),Wi([O("#popover-container")],ut.prototype,"_popoverContainerElement",2),Wi([O("#main")],ut.prototype,"_mainElement",2),Wi([pt({flatten:!0,selector:"uui-tab, [uui-tab], [role=tab]"})],ut.prototype,"_slottedNodes",2),Wi([a({type:String,reflect:!0,attribute:"dropdown-content-direction"})],ut.prototype,"dropdownContentDirection",2),ut=Wi([f("uui-tab-group")],ut);class Cb extends I{}class kb extends I{}var Eb=Object.defineProperty,Pb=Object.getOwnPropertyDescriptor,Vn=(e,t,i,o)=>{for(var r=o>1?void 0:o?Pb(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Eb(t,i,r),r};let Yi=class extends b{constructor(){super(...arguments),this.color="default",this.look="primary"}render(){return l`<slot></slot>`}};Yi.styles=[p`
6066
+ `],Wi([S("#more-button")],ut.prototype,"_moreButtonElement",2),Wi([S("#popover-container")],ut.prototype,"_popoverContainerElement",2),Wi([S("#main")],ut.prototype,"_mainElement",2),Wi([pt({flatten:!0,selector:"uui-tab, [uui-tab], [role=tab]"})],ut.prototype,"_slottedNodes",2),Wi([a({type:String,reflect:!0,attribute:"dropdown-content-direction"})],ut.prototype,"dropdownContentDirection",2),ut=Wi([f("uui-tab-group")],ut);class Eb extends U{}class Pb extends U{}var Ob=Object.defineProperty,Sb=Object.getOwnPropertyDescriptor,Nn=(e,t,i,o)=>{for(var r=o>1?void 0:o?Sb(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Ob(t,i,r),r};let Yi=class extends b{constructor(){super(...arguments),this.color="default",this.look="primary"}render(){return l`<slot></slot>`}};Yi.styles=[p`
6030
6067
  :host {
6031
6068
  display: inline-block;
6032
6069
  font-size: var(--uui-tag-font-size, var(--uui-type-small-size,12px));
@@ -6096,7 +6133,7 @@
6096
6133
  color: var(--color-standalone);
6097
6134
  border-color: var(--uui-color-border-standalone,#c2c2c2);
6098
6135
  }
6099
- `],Vn([a({reflect:!0})],Yi.prototype,"color",2),Vn([a({reflect:!0})],Yi.prototype,"look",2),Yi=Vn([f("uui-tag")],Yi);class Hr extends I{constructor(t,i={}){super(t,{bubbles:!0,...i})}}Hr.CHANGE="change",Hr.INPUT="input";var Sb=Object.defineProperty,Ob=Object.getOwnPropertyDescriptor,te=(e,t,i,o)=>{for(var r=o>1?void 0:o?Ob(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Sb(t,i,r),r};let W=class extends ze(b,""){constructor(){super(),this.placeholder="",this.disabled=!1,this.readonly=!1,this.name="",this.error=!1,this.minlengthMessage="This field need more characters",this.maxlengthMessage="This field exceeds the allowed amount of characters",this.autoHeight=!1,this.addEventListener("mousedown",()=>{this.style.setProperty("--uui-show-focus-outline","0")}),this.addEventListener("blur",()=>{this.style.setProperty("--uui-show-focus-outline","")}),this.addValidator("tooShort",()=>this.minlengthMessage,()=>!!this.minlength&&this.value.length<this.minlength),this.addValidator("tooLong",()=>this.maxlengthMessage,()=>!!this.maxlength&&this.value.length>this.maxlength)}connectedCallback(){super.connectedCallback(),this.label||console.warn(this.tagName+" needs a `label`",this),this.autoHeight&&requestAnimationFrame(()=>{this.autoUpdateHeight()})}async focus(){await this.updateComplete,this._textarea.focus()}async blur(){await this.updateComplete,this._textarea.blur()}async click(){await this.updateComplete,this._textarea.click()}getFormElement(){return this._textarea}onInput(e){this.value=e.target.value,this.autoHeight&&this.autoUpdateHeight()}onChange(e){e.stopPropagation(),this.pristine=!1,this.dispatchEvent(new Hr(Hr.CHANGE))}autoUpdateHeight(){const e=this.shadowRoot.host,t=this._textarea,i=e.scrollTop,o=getComputedStyle(e).height;e.style.display="block",e.style.height=o,t.style.height="auto",t.scrollHeight+2>t.clientHeight?t.style.height=t.scrollHeight+2+"px":t.scrollHeight+2<t.clientHeight&&t.style.removeProperty("height"),e.style.removeProperty("display"),e.style.removeProperty("height"),e.scrollTop=i}render(){return l`
6136
+ `],Nn([a({reflect:!0})],Yi.prototype,"color",2),Nn([a({reflect:!0})],Yi.prototype,"look",2),Yi=Nn([f("uui-tag")],Yi);class Hr extends U{constructor(t,i={}){super(t,{bubbles:!0,...i})}}Hr.CHANGE="change",Hr.INPUT="input";var Ib=Object.defineProperty,Ab=Object.getOwnPropertyDescriptor,ie=(e,t,i,o)=>{for(var r=o>1?void 0:o?Ab(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Ib(t,i,r),r};let G=class extends ze(b,""){constructor(){super(),this.placeholder="",this.disabled=!1,this.readonly=!1,this.name="",this.error=!1,this.minlengthMessage="This field need more characters",this.maxlengthMessage="This field exceeds the allowed amount of characters",this.autoHeight=!1,this.addEventListener("mousedown",()=>{this.style.setProperty("--uui-show-focus-outline","0")}),this.addEventListener("blur",()=>{this.style.setProperty("--uui-show-focus-outline","")}),this.addValidator("tooShort",()=>this.minlengthMessage,()=>!!this.minlength&&this.value.length<this.minlength),this.addValidator("tooLong",()=>this.maxlengthMessage,()=>!!this.maxlength&&this.value.length>this.maxlength)}connectedCallback(){super.connectedCallback(),this.label||console.warn(this.tagName+" needs a `label`",this),this.autoHeight&&requestAnimationFrame(()=>{this.autoUpdateHeight()})}async focus(){await this.updateComplete,this._textarea.focus()}async blur(){await this.updateComplete,this._textarea.blur()}async click(){await this.updateComplete,this._textarea.click()}getFormElement(){return this._textarea}onInput(e){this.value=e.target.value,this.autoHeight&&this.autoUpdateHeight()}onChange(e){e.stopPropagation(),this.pristine=!1,this.dispatchEvent(new Hr(Hr.CHANGE))}autoUpdateHeight(){const e=this.shadowRoot.host,t=this._textarea,i=e.scrollTop,o=getComputedStyle(e).height;e.style.display="block",e.style.height=o,t.style.height="auto",t.scrollHeight+2>t.clientHeight?t.style.height=t.scrollHeight+2+"px":t.scrollHeight+2<t.clientHeight&&t.style.removeProperty("height"),e.style.removeProperty("display"),e.style.removeProperty("height"),e.scrollTop=i}render(){return l`
6100
6137
  <textarea
6101
6138
  id="textarea"
6102
6139
  rows=${w(this.rows)}
@@ -6111,7 +6148,7 @@
6111
6148
  @input=${this.onInput}
6112
6149
  @change=${this.onChange}>
6113
6150
  </textarea>
6114
- `}};W.formAssociated=!0,W.styles=[p`
6151
+ `}};G.formAssociated=!0,G.styles=[p`
6115
6152
  :host {
6116
6153
  position: relative;
6117
6154
  }
@@ -6192,7 +6229,7 @@
6192
6229
  outline: calc(2px * var(--uui-show-focus-outline, 1)) solid
6193
6230
  var(--uui-color-focus,#3879ff);
6194
6231
  }
6195
- `],te([a()],W.prototype,"placeholder",2),te([a({type:Boolean,reflect:!0})],W.prototype,"disabled",2),te([a({type:Boolean,reflect:!0})],W.prototype,"readonly",2),te([a({type:String})],W.prototype,"name",2),te([a({type:Boolean,reflect:!0})],W.prototype,"error",2),te([a({type:Number})],W.prototype,"minlength",2),te([a({type:String,attribute:"minlength-message"})],W.prototype,"minlengthMessage",2),te([a({type:Number})],W.prototype,"maxlength",2),te([a({type:String,attribute:"maxlength-message"})],W.prototype,"maxlengthMessage",2),te([O("#textarea")],W.prototype,"_textarea",2),te([a({type:Boolean,attribute:"auto-height",reflect:!0})],W.prototype,"autoHeight",2),te([a({type:String})],W.prototype,"label",2),te([a({type:Number})],W.prototype,"rows",2),te([a({type:Number})],W.prototype,"cols",2),te([a({type:String})],W.prototype,"wrap",2),W=te([f("uui-textarea")],W);class oe extends I{}oe.OPENING="opening",oe.OPENED="opened",oe.CLOSING="closing",oe.CLOSED="closed";var Ib=Object.defineProperty,Ab=Object.getOwnPropertyDescriptor,Xi=(e,t,i,o)=>{for(var r=o>1?void 0:o?Ab(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Ib(t,i,r),r};let ct=class extends b{constructor(){super(),this.color="",this._autoClose=null,this._onOpenTimerComplete=()=>{this._open&&(this.open=!1)},this._timer=null,this._pauseTimer=!1,this.isOpen=!1,this._open=!1,this._animate=!1,this._requestAnimationUpdate=0,this.addEventListener("keyup",e=>{e.key==="Escape"&&(this.open=!1)})}get autoClose(){return this._autoClose}set autoClose(e){this._autoClose=e,e!==null?(this._timer===null?this._timer=new $h(this._onOpenTimerComplete,e):this._timer.setDuration(e),this._pauseTimer===!1&&this.isOpen===!0&&this._animate===!1&&this._timer.start()):(this._timer?.destroy(),this._timer=null)}pauseAutoClose(){this._pauseTimer=!0,this._timer!==null&&this._timer.pause()}resumeAutoClose(){this._pauseTimer=!1,this._timer!==null&&this.isOpen===!0&&this._animate===!1&&this._timer.restart()}get open(){return this._open}set open(e){e===!0?this._makeOpen():this._makeClose()}connectedCallback(){super.connectedCallback(),x(this,"uui-button"),x(this,"uui-icon")}_getAnimationDuration(){return parseInt(getComputedStyle(this).getPropertyValue("--uui-toast-notification-animation-duration"),10)||480}_makeOpen(){this._open!==!0&&(this._open=!0,this.updateComplete.then(()=>{this._open===!0&&(cancelAnimationFrame(this._requestAnimationUpdate),this._requestAnimationUpdate=requestAnimationFrame(()=>{clearTimeout(this._animationTimeout),this.isOpen=!0,this.setAttribute("is-open",""),this.style.height=this._toastEl.getBoundingClientRect().height+"px",this._animate=!0,this.dispatchEvent(new oe(oe.OPENING)),this._animationTimeout=window.setTimeout(()=>{this.isOpen===!0&&(this.style.height="auto",this._animate=!1,this._pauseTimer===!1&&this._timer?.start(),this.dispatchEvent(new oe(oe.OPENED)))},this._getAnimationDuration())}))}))}_makeClose(){if(this._open===!1)return;const e=new oe(oe.CLOSING,{cancelable:!0});this.dispatchEvent(e),e.defaultPrevented!==!0&&(this._open=!1,this._timer?.pause(),cancelAnimationFrame(this._requestAnimationUpdate),this.isOpen===!0&&(this._requestAnimationUpdate=requestAnimationFrame(()=>{clearTimeout(this._animationTimeout),this.isOpen=!1,this.removeAttribute("is-open"),this.style.height=this._toastEl.getBoundingClientRect().height+"px",this._animate=!0,requestAnimationFrame(()=>{this.style.height="0"}),this._animationTimeout=window.setTimeout(()=>{this.isOpen===!1&&(this._animate=!1,this.dispatchEvent(new oe(oe.CLOSED)),this.parentNode&&this.parentNode.removeChild(this))},this._getAnimationDuration())})))}render(){return l`
6232
+ `],ie([a()],G.prototype,"placeholder",2),ie([a({type:Boolean,reflect:!0})],G.prototype,"disabled",2),ie([a({type:Boolean,reflect:!0})],G.prototype,"readonly",2),ie([a({type:String})],G.prototype,"name",2),ie([a({type:Boolean,reflect:!0})],G.prototype,"error",2),ie([a({type:Number})],G.prototype,"minlength",2),ie([a({type:String,attribute:"minlength-message"})],G.prototype,"minlengthMessage",2),ie([a({type:Number})],G.prototype,"maxlength",2),ie([a({type:String,attribute:"maxlength-message"})],G.prototype,"maxlengthMessage",2),ie([S("#textarea")],G.prototype,"_textarea",2),ie([a({type:Boolean,attribute:"auto-height",reflect:!0})],G.prototype,"autoHeight",2),ie([a({type:String})],G.prototype,"label",2),ie([a({type:Number})],G.prototype,"rows",2),ie([a({type:Number})],G.prototype,"cols",2),ie([a({type:String})],G.prototype,"wrap",2),G=ie([f("uui-textarea")],G);class se extends U{}se.OPENING="opening",se.OPENED="opened",se.CLOSING="closing",se.CLOSED="closed";var Ub=Object.defineProperty,zb=Object.getOwnPropertyDescriptor,Xi=(e,t,i,o)=>{for(var r=o>1?void 0:o?zb(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Ub(t,i,r),r};let ct=class extends b{constructor(){super(),this.color="",this._autoClose=null,this._onOpenTimerComplete=()=>{this._open&&(this.open=!1)},this._timer=null,this._pauseTimer=!1,this.isOpen=!1,this._open=!1,this._animate=!1,this._requestAnimationUpdate=0,this.addEventListener("keyup",e=>{e.key==="Escape"&&(this.open=!1)})}get autoClose(){return this._autoClose}set autoClose(e){this._autoClose=e,e!==null?(this._timer===null?this._timer=new Ch(this._onOpenTimerComplete,e):this._timer.setDuration(e),this._pauseTimer===!1&&this.isOpen===!0&&this._animate===!1&&this._timer.start()):(this._timer?.destroy(),this._timer=null)}pauseAutoClose(){this._pauseTimer=!0,this._timer!==null&&this._timer.pause()}resumeAutoClose(){this._pauseTimer=!1,this._timer!==null&&this.isOpen===!0&&this._animate===!1&&this._timer.restart()}get open(){return this._open}set open(e){e===!0?this._makeOpen():this._makeClose()}connectedCallback(){super.connectedCallback(),x(this,"uui-button"),x(this,"uui-icon")}_getAnimationDuration(){return parseInt(getComputedStyle(this).getPropertyValue("--uui-toast-notification-animation-duration"),10)||480}_makeOpen(){this._open!==!0&&(this._open=!0,this.updateComplete.then(()=>{this._open===!0&&(cancelAnimationFrame(this._requestAnimationUpdate),this._requestAnimationUpdate=requestAnimationFrame(()=>{clearTimeout(this._animationTimeout),this.isOpen=!0,this.setAttribute("is-open",""),this.style.height=this._toastEl.getBoundingClientRect().height+"px",this._animate=!0,this.dispatchEvent(new se(se.OPENING)),this._animationTimeout=window.setTimeout(()=>{this.isOpen===!0&&(this.style.height="auto",this._animate=!1,this._pauseTimer===!1&&this._timer?.start(),this.dispatchEvent(new se(se.OPENED)))},this._getAnimationDuration())}))}))}_makeClose(){if(this._open===!1)return;const e=new se(se.CLOSING,{cancelable:!0});this.dispatchEvent(e),e.defaultPrevented!==!0&&(this._open=!1,this._timer?.pause(),cancelAnimationFrame(this._requestAnimationUpdate),this.isOpen===!0&&(this._requestAnimationUpdate=requestAnimationFrame(()=>{clearTimeout(this._animationTimeout),this.isOpen=!1,this.removeAttribute("is-open"),this.style.height=this._toastEl.getBoundingClientRect().height+"px",this._animate=!0,requestAnimationFrame(()=>{this.style.height="0"}),this._animationTimeout=window.setTimeout(()=>{this.isOpen===!1&&(this._animate=!1,this.dispatchEvent(new se(se.CLOSED)),this.parentNode&&this.parentNode.removeChild(this))},this._getAnimationDuration())})))}render(){return l`
6196
6233
  <div id="toast" class=${this._animate?"animate":""}>
6197
6234
  <div>
6198
6235
  <div id="close">
@@ -6203,7 +6240,7 @@
6203
6240
  @click=${()=>this.open=!1}>
6204
6241
  <uui-icon
6205
6242
  name="remove"
6206
- .fallback=${Is.strings[0]}></uui-icon>
6243
+ .fallback=${As.strings[0]}></uui-icon>
6207
6244
  </uui-button>
6208
6245
  </div>
6209
6246
  <slot></slot>
@@ -6305,7 +6342,7 @@
6305
6342
  color: var(--uui-color-danger-contrast,white);
6306
6343
  border-color: var(--uui-color-danger-standalone,rgb(191, 33, 78));
6307
6344
  }
6308
- `],Xi([a({reflect:!0})],ct.prototype,"color",2),Xi([a({type:Number})],ct.prototype,"autoClose",1),Xi([O("#toast")],ct.prototype,"_toastEl",2),Xi([m()],ct.prototype,"_animate",2),Xi([a({type:Boolean,reflect:!0})],ct.prototype,"open",1),ct=Xi([f("uui-toast-notification")],ct);var Ub=Object.defineProperty,zb=Object.getOwnPropertyDescriptor,Pu=(e,t,i,o)=>{for(var r=o>1?void 0:o?zb(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Ub(t,i,r),r};let Br=class extends b{constructor(){super(...arguments),this._autoClose=null,this._autoClosePause=!1,this.pauseAutoClose=()=>{this._autoClosePause=!0,this._toasts?.forEach(e=>e.pauseAutoClose())},this.resumeAutoClose=()=>{this.matches(":focus-within:not(:focus)")===!1&&(this._autoClosePause=!1,this._toasts?.forEach(e=>e.resumeAutoClose()))},this.onToastClosed=e=>{this.removeToast(e.target)},this._toasts=[],this.onSlotChanged=e=>{const t=[...this._toasts];this._toasts=e.target.assignedElements({flatten:!0}).filter(r=>r.nodeName==="UUI-TOAST-NOTIFICATION"),t.filter(r=>this._toasts.indexOf(r)===-1).forEach(r=>{r.removeEventListener(oe.CLOSED,this.onToastClosed),r.removeEventListener("mouseenter",this.pauseAutoClose),r.removeEventListener("mouseleave",this.resumeAutoClose),r.removeEventListener("focus",this.pauseAutoClose),r.removeEventListener("blur",this.resumeAutoClose)}),this._toasts.filter(r=>t.indexOf(r)===-1).forEach(r=>{r.addEventListener(oe.CLOSED,this.onToastClosed),r.addEventListener("mouseenter",this.pauseAutoClose),r.addEventListener("mouseleave",this.resumeAutoClose),r.addEventListener("focus",this.pauseAutoClose),r.addEventListener("blur",this.resumeAutoClose),this._autoClose&&(r.autoClose=this._autoClose),this._autoClosePause===!0&&r.pauseAutoClose(),r.open=!0})}}get autoClose(){return this._autoClose}set autoClose(e){this._autoClose=e,this._toasts?.forEach(t=>t.autoClose=e)}removeToast(e){if(!e)e=this._toasts[this._toasts.length-1];else if(this._toasts.indexOf(e)===-1){console.warn("Toast-notification",e,"could not be removed as it is not a child of this toast-notification-container",this);return}this.removeChild(e)}closeToast(e){let t=e;t||(t=this._toasts[this._toasts.length-1]),t.open=!1}render(){return l` <slot @slotchange=${this.onSlotChanged}></slot> `}};Br.styles=[p`
6345
+ `],Xi([a({reflect:!0})],ct.prototype,"color",2),Xi([a({type:Number})],ct.prototype,"autoClose",1),Xi([S("#toast")],ct.prototype,"_toastEl",2),Xi([m()],ct.prototype,"_animate",2),Xi([a({type:Boolean,reflect:!0})],ct.prototype,"open",1),ct=Xi([f("uui-toast-notification")],ct);var Db=Object.defineProperty,Mb=Object.getOwnPropertyDescriptor,Pu=(e,t,i,o)=>{for(var r=o>1?void 0:o?Mb(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Db(t,i,r),r};let Br=class extends b{constructor(){super(...arguments),this._autoClose=null,this._autoClosePause=!1,this.pauseAutoClose=()=>{this._autoClosePause=!0,this._toasts?.forEach(e=>e.pauseAutoClose())},this.resumeAutoClose=()=>{this.matches(":focus-within:not(:focus)")===!1&&(this._autoClosePause=!1,this._toasts?.forEach(e=>e.resumeAutoClose()))},this.onToastClosed=e=>{this.removeToast(e.target)},this._toasts=[],this.onSlotChanged=e=>{const t=[...this._toasts];this._toasts=e.target.assignedElements({flatten:!0}).filter(r=>r.nodeName==="UUI-TOAST-NOTIFICATION"),t.filter(r=>this._toasts.indexOf(r)===-1).forEach(r=>{r.removeEventListener(se.CLOSED,this.onToastClosed),r.removeEventListener("mouseenter",this.pauseAutoClose),r.removeEventListener("mouseleave",this.resumeAutoClose),r.removeEventListener("focus",this.pauseAutoClose),r.removeEventListener("blur",this.resumeAutoClose)}),this._toasts.filter(r=>t.indexOf(r)===-1).forEach(r=>{r.addEventListener(se.CLOSED,this.onToastClosed),r.addEventListener("mouseenter",this.pauseAutoClose),r.addEventListener("mouseleave",this.resumeAutoClose),r.addEventListener("focus",this.pauseAutoClose),r.addEventListener("blur",this.resumeAutoClose),this._autoClose&&(r.autoClose=this._autoClose),this._autoClosePause===!0&&r.pauseAutoClose(),r.open=!0})}}get autoClose(){return this._autoClose}set autoClose(e){this._autoClose=e,this._toasts?.forEach(t=>t.autoClose=e)}removeToast(e){if(!e)e=this._toasts[this._toasts.length-1];else if(this._toasts.indexOf(e)===-1){console.warn("Toast-notification",e,"could not be removed as it is not a child of this toast-notification-container",this);return}this.removeChild(e)}closeToast(e){let t=e;t||(t=this._toasts[this._toasts.length-1]),t.open=!1}render(){return l` <slot @slotchange=${this.onSlotChanged}></slot> `}};Br.styles=[p`
6309
6346
  :host {
6310
6347
  position: absolute;
6311
6348
  overflow: hidden;
@@ -6333,7 +6370,7 @@
6333
6370
  :host([left-align]) slot {
6334
6371
  align-items: start;
6335
6372
  }
6336
- `],Pu([a({type:Number,reflect:!0,attribute:"auto-close"})],Br.prototype,"_autoClose",2),Br=Pu([f("uui-toast-notification-container")],Br);var Db=Object.defineProperty,Mb=Object.getOwnPropertyDescriptor,Nn=(e,t,i,o)=>{for(var r=o>1?void 0:o?Mb(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Db(t,i,r),r};let Zi=class extends b{constructor(){super(...arguments),this.headline="",this._headlineSlotHasContent=!1,this._headlineSlotChanged=e=>{this._headlineSlotHasContent=e.target.assignedNodes({flatten:!0}).length>0}}render(){return l`
6373
+ `],Pu([a({type:Number,reflect:!0,attribute:"auto-close"})],Br.prototype,"_autoClose",2),Br=Pu([f("uui-toast-notification-container")],Br);var Lb=Object.defineProperty,Tb=Object.getOwnPropertyDescriptor,Hn=(e,t,i,o)=>{for(var r=o>1?void 0:o?Tb(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Lb(t,i,r),r};let Zi=class extends b{constructor(){super(...arguments),this.headline="",this._headlineSlotHasContent=!1,this._headlineSlotChanged=e=>{this._headlineSlotHasContent=e.target.assignedNodes({flatten:!0}).length>0}}render(){return l`
6337
6374
  <div id="message" class="uui-text">
6338
6375
  <h5
6339
6376
  style=${this._headlineSlotHasContent||this.headline&&this.headline!==""?"":"display: none"}>
@@ -6364,12 +6401,12 @@
6364
6401
  margin-top: var(--uui-size-space-4,12px);
6365
6402
  margin-bottom: calc(var(--uui-size-space-2,6px) * -1);
6366
6403
  }
6367
- `],Nn([a({type:String})],Zi.prototype,"headline",2),Nn([m()],Zi.prototype,"_headlineSlotHasContent",2),Zi=Nn([f("uui-toast-notification-layout")],Zi);var Lb=Object.defineProperty,Tb=Object.getOwnPropertyDescriptor,Vb=(e,t,i,o)=>{for(var r=o>1?void 0:o?Tb(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Lb(t,i,r),r};let jr=class extends fe{constructor(){super("switch")}renderCheckbox(){return l`
6404
+ `],Hn([a({type:String})],Zi.prototype,"headline",2),Hn([m()],Zi.prototype,"_headlineSlotHasContent",2),Zi=Hn([f("uui-toast-notification-layout")],Zi);var Vb=Object.defineProperty,Nb=Object.getOwnPropertyDescriptor,Hb=(e,t,i,o)=>{for(var r=o>1?void 0:o?Nb(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Vb(t,i,r),r};let jr=class extends ve{constructor(){super("switch")}renderCheckbox(){return l`
6368
6405
  <div id="slider">
6369
6406
  <div id="icon-checked">${co}</div>
6370
- <div id="icon-unchecked">${Is}</div>
6407
+ <div id="icon-unchecked">${As}</div>
6371
6408
  </div>
6372
- `}};jr.formAssociated=!0,jr.styles=[...fe.styles,no,p`
6409
+ `}};jr.formAssociated=!0,jr.styles=[...ve.styles,no,p`
6373
6410
  :host {
6374
6411
  --uui-toggle-size: 18px;
6375
6412
  --uui-toggle-switch-width: calc(2 * var(--uui-toggle-size));
@@ -6513,7 +6550,7 @@
6513
6550
  :host(:not([pristine])[internals-invalid]) label:hover #slider {
6514
6551
  border: 1px solid var(--uui-color-danger-standalone,rgb(191, 33, 78));
6515
6552
  }
6516
- `],jr=Vb([f("uui-toggle")],jr);var Nb=Object.defineProperty,Hb=Object.getOwnPropertyDescriptor,Bb=(e,t,i,o)=>{for(var r=o>1?void 0:o?Hb(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Nb(t,i,r),r};let ds=class extends b{render(){return l`<slot></slot>`}};ds.styles=[p`
6553
+ `],jr=Hb([f("uui-toggle")],jr);var Bb=Object.defineProperty,jb=Object.getOwnPropertyDescriptor,Rb=(e,t,i,o)=>{for(var r=o>1?void 0:o?jb(t,i):t,s=e.length-1,n;s>=0;s--)(n=e[s])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Bb(t,i,r),r};let ds=class extends b{render(){return l`<slot></slot>`}};ds.styles=[p`
6517
6554
  :host(:not(:focus-within)) {
6518
6555
  position: absolute !important;
6519
6556
  width: 1px !important;
@@ -6525,4 +6562,4 @@
6525
6562
  white-space: nowrap !important;
6526
6563
  padding: 0 !important;
6527
6564
  }
6528
- `],ds=Bb([f("uui-visually-hidden")],ds);export{rc as ActiveMixin,sc as LabelMixin,Ec as PopoverTargetMixin,dc as SelectOnlyMixin,lc as SelectableMixin,bc as Timer,eo as UUIActionBarElement,qe as UUIAvatarElement,Dt as UUIAvatarGroupElement,Mt as UUIBadgeElement,Xu as UUIBlinkAnimationValue,Yu as UUIBlinkKeyframes,fe as UUIBooleanInputElement,so as UUIBooleanInputEvent,De as UUIBoxElement,Nt as UUIBreadcrumbItemElement,sr as UUIBreadcrumbsElement,ne as UUIButtonElement,ni as UUIButtonGroupElement,Le as UUIButtonInlineCreateElement,lo as UUIButtonInlineCreateEvent,Bt as UUICardBlockTypeElement,gi as UUICardContentNodeElement,Z as UUICardElement,vi as UUICardEvent,jt as UUICardMediaElement,mi as UUICardUserElement,nr as UUICaretElement,ar as UUICheckboxElement,ge as UUIColorAreaElement,_o as UUIColorAreaEvent,_i as UUIColorPickerChangeEvent,V as UUIColorPickerElement,_e as UUIColorSliderElement,xo as UUIColorSliderEvent,bt as UUIColorSwatchElement,Ft as UUIColorSwatchesElement,yi as UUIColorSwatchesEvent,J as UUIComboboxElement,ce as UUIComboboxEvent,Ee as UUIComboboxListElement,ke as UUIComboboxListEvent,Qe as UUIComboboxListOptionElement,Uo as UUIDialogElement,Ci as UUIDialogLayoutElement,xs as UUIEvent,Je as UUIFileDropzoneElement,ki as UUIFileDropzoneEvent,he as UUIFilePreviewElement,Ge as UUIFormControlEvent,vc as UUIFormControlMixin,en as UUIFormElement,Wt as UUIFormLayoutItemElement,vr as UUIFormValidationMessageElement,Qu as UUIHorizontalPulseAnimationValue,Zu as UUIHorizontalPulseKeyframes,ec as UUIHorizontalShakeAnimationValue,Ju as UUIHorizontalShakeKeyframes,Ve as UUIIconElement,tn as UUIIconHost,rn as UUIIconRegistry,br as UUIIconRegistryElement,zl as UUIIconRegistryEssential,on as UUIIconRegistryEssentialElement,Pi as UUIIconRequestEvent,T as UUIInputElement,qt as UUIInputEvent,et as UUIInputFileElement,gr as UUIInputLockElement,Mo as UUIInputLockEvent,Oi as UUIInputPasswordElement,Oc as UUIInterfaceColorValues,Ic as UUIInterfaceHeadingValues,Sc as UUIInterfaceLookValues,To as UUIKeyElement,Lo as UUIKeyboardShortcutElement,Kt as UUILabelElement,Ii as UUILoaderBarElement,Ai as UUILoaderCircleElement,No as UUILoaderElement,le as UUIMenuItemElement,tt as UUIMenuItemEvent,Yt as UUIModalCloseEvent,it as UUIModalContainerElement,jo as UUIModalDialogElement,de as UUIModalElement,zi as UUIModalSidebarElement,ye as UUIPaginationElement,mt as UUIPaginationEvent,Ne as UUIPopoverContainerElement,_t as UUIPopoverElement,$r as UUIProgressBarElement,we as UUIRadioElement,Ni as UUIRadioEvent,Jt as UUIRadioGroupElement,Wo as UUIRadioGroupEvent,M as UUIRangeSliderElement,nt as UUIRefElement,Bi as UUIRefEvent,Yo as UUIRefListElement,Er as UUIRefNodeDataTypeElement,Pr as UUIRefNodeDocumentTypeElement,j as UUIRefNodeElement,Qo as UUIRefNodeFormElement,Sr as UUIRefNodeMemberElement,ji as UUIRefNodePackageElement,Or as UUIRefNodeUserElement,Ir as UUIScrollContainerElement,ue as UUISelectElement,Jo as UUISelectEvent,At as UUISelectableEvent,q as UUISliderElement,ii as UUISliderEvent,Ur as UUISymbolExpandElement,fr as UUISymbolFileDropzoneElement,zr as UUISymbolFileElement,Ri as UUISymbolFileThumbnailElement,is as UUISymbolFolderElement,Dr as UUISymbolLockElement,rs as UUISymbolMoreElement,Mr as UUISymbolSortElement,at as UUITabElement,Cb as UUITabEvent,ut as UUITabGroupElement,kb as UUITabGroupEvent,je as UUITableCellElement,ns as UUITableColumnElement,os as UUITableElement,as as UUITableHeadCellElement,ls as UUITableHeadElement,Lr as UUITableRowElement,Yi as UUITagElement,Qr as UUITextStyles,W as UUITextareaElement,Hr as UUITextareaEvent,Br as UUIToastNotificationContainerElement,ct as UUIToastNotificationElement,oe as UUIToastNotificationEvent,Zi as UUIToastNotificationLayoutElement,jr as UUIToggleElement,ds as UUIVisuallyHiddenElement,_c as clamp,Pc as defineElement,gc as demandCustomElement,mc as drag,da as findAncestorByAttributeValue,yc as reverseNumberInRange,xc as slotHasContent,wc as toHex};
6565
+ `],ds=Rb([f("uui-visually-hidden")],ds);export{rc as ActiveMixin,sc as LabelMixin,Pc as PopoverTargetMixin,dc as SelectOnlyMixin,lc as SelectableMixin,gc as Timer,eo as UUIActionBarElement,qe as UUIAvatarElement,Dt as UUIAvatarGroupElement,Mt as UUIBadgeElement,Xu as UUIBlinkAnimationValue,Yu as UUIBlinkKeyframes,ve as UUIBooleanInputElement,so as UUIBooleanInputEvent,De as UUIBoxElement,Nt as UUIBreadcrumbItemElement,sr as UUIBreadcrumbsElement,ae as UUIButtonElement,ni as UUIButtonGroupElement,Le as UUIButtonInlineCreateElement,lo as UUIButtonInlineCreateEvent,Bt as UUICardBlockTypeElement,gi as UUICardContentNodeElement,Z as UUICardElement,vi as UUICardEvent,jt as UUICardMediaElement,mi as UUICardUserElement,nr as UUICaretElement,ar as UUICheckboxElement,me as UUIColorAreaElement,_o as UUIColorAreaEvent,_i as UUIColorPickerChangeEvent,N as UUIColorPickerElement,ye as UUIColorSliderElement,xo as UUIColorSliderEvent,bt as UUIColorSwatchElement,Ft as UUIColorSwatchesElement,yi as UUIColorSwatchesEvent,J as UUIComboboxElement,he as UUIComboboxEvent,Pe as UUIComboboxListElement,Ee as UUIComboboxListEvent,Qe as UUIComboboxListOptionElement,Uo as UUIDialogElement,ki as UUIDialogLayoutElement,$s as UUIEvent,Je as UUIFileDropzoneElement,Ci as UUIFileDropzoneEvent,de as UUIFilePreviewElement,Ge as UUIFormControlEvent,bc as UUIFormControlMixin,tn as UUIFormElement,Wt as UUIFormLayoutItemElement,vr as UUIFormValidationMessageElement,Qu as UUIHorizontalPulseAnimationValue,Zu as UUIHorizontalPulseKeyframes,ec as UUIHorizontalShakeAnimationValue,Ju as UUIHorizontalShakeKeyframes,Ve as UUIIconElement,rn as UUIIconHost,on as UUIIconRegistry,br as UUIIconRegistryElement,zl as UUIIconRegistryEssential,sn as UUIIconRegistryEssentialElement,Pi as UUIIconRequestEvent,T as UUIInputElement,qt as UUIInputEvent,et as UUIInputFileElement,gr as UUIInputLockElement,Mo as UUIInputLockEvent,Si as UUIInputPasswordElement,Ic as UUIInterfaceColorValues,Ac as UUIInterfaceHeadingValues,Sc as UUIInterfaceLookValues,To as UUIKeyElement,Lo as UUIKeyboardShortcutElement,Kt as UUILabelElement,Ii as UUILoaderBarElement,Ai as UUILoaderCircleElement,No as UUILoaderElement,ue as UUIMenuItemElement,tt as UUIMenuItemEvent,Yt as UUIModalCloseEvent,it as UUIModalContainerElement,jo as UUIModalDialogElement,pe as UUIModalElement,zi as UUIModalSidebarElement,we as UUIPaginationElement,mt as UUIPaginationEvent,Ne as UUIPopoverContainerElement,_t as UUIPopoverElement,$r as UUIProgressBarElement,xe as UUIRadioElement,Ni as UUIRadioEvent,Jt as UUIRadioGroupElement,Wo as UUIRadioGroupEvent,M as UUIRangeSliderElement,nt as UUIRefElement,Bi as UUIRefEvent,Yo as UUIRefListElement,Er as UUIRefNodeDataTypeElement,Pr as UUIRefNodeDocumentTypeElement,R as UUIRefNodeElement,Qo as UUIRefNodeFormElement,Or as UUIRefNodeMemberElement,ji as UUIRefNodePackageElement,Sr as UUIRefNodeUserElement,Ir as UUIScrollContainerElement,ce as UUISelectElement,Jo as UUISelectEvent,At as UUISelectableEvent,K as UUISliderElement,ii as UUISliderEvent,Ur as UUISymbolExpandElement,fr as UUISymbolFileDropzoneElement,zr as UUISymbolFileElement,Ri as UUISymbolFileThumbnailElement,is as UUISymbolFolderElement,Dr as UUISymbolLockElement,rs as UUISymbolMoreElement,Mr as UUISymbolSortElement,at as UUITabElement,Eb as UUITabEvent,ut as UUITabGroupElement,Pb as UUITabGroupEvent,je as UUITableCellElement,ns as UUITableColumnElement,os as UUITableElement,as as UUITableHeadCellElement,ls as UUITableHeadElement,Lr as UUITableRowElement,Yi as UUITagElement,Qr as UUITextStyles,G as UUITextareaElement,Hr as UUITextareaEvent,Br as UUIToastNotificationContainerElement,ct as UUIToastNotificationElement,se as UUIToastNotificationEvent,Zi as UUIToastNotificationLayoutElement,jr as UUIToggleElement,ds as UUIVisuallyHiddenElement,yc as clamp,Oc as defineElement,mc as demandCustomElement,_c as drag,da as findAncestorByAttributeValue,wc as reverseNumberInRange,$c as slotHasContent,xc as toHex};