@editora/ui-core 0.1.8 → 0.1.10

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 (551) hide show
  1. package/README.md +35 -0
  2. package/dist/ElementBase-1b301e7f.js +1 -0
  3. package/dist/ElementBase-909688f3.mjs +79 -0
  4. package/dist/ElementBase.d.ts.map +1 -1
  5. package/dist/__tests__/setup.d.ts +2 -0
  6. package/dist/__tests__/setup.d.ts.map +1 -1
  7. package/dist/accordion.cjs.js +360 -0
  8. package/dist/accordion.esm.js +647 -0
  9. package/dist/alert-dialog.cjs.js +567 -0
  10. package/dist/alert-dialog.esm.js +1043 -0
  11. package/dist/alert.cjs.js +351 -0
  12. package/dist/alert.esm.js +450 -0
  13. package/dist/anchor.cjs.js +30 -0
  14. package/dist/anchor.esm.js +62 -0
  15. package/dist/animated-beam.cjs.js +720 -0
  16. package/dist/animated-beam.esm.js +1540 -0
  17. package/dist/animated-list.cjs.js +672 -0
  18. package/dist/animated-list.esm.js +1137 -0
  19. package/dist/animated-text.cjs.js +683 -0
  20. package/dist/animated-text.esm.js +1020 -0
  21. package/dist/app-header.cjs.js +345 -0
  22. package/dist/app-header.esm.js +398 -0
  23. package/dist/aspect-ratio.cjs.js +294 -0
  24. package/dist/aspect-ratio.esm.js +416 -0
  25. package/dist/avatar.cjs.js +365 -0
  26. package/dist/avatar.esm.js +513 -0
  27. package/dist/badge.cjs.js +432 -0
  28. package/dist/badge.esm.js +554 -0
  29. package/dist/block-controls.cjs.js +347 -0
  30. package/dist/block-controls.esm.js +556 -0
  31. package/dist/box.cjs.js +226 -0
  32. package/dist/box.esm.js +556 -0
  33. package/dist/breadcrumb.cjs.js +288 -0
  34. package/dist/breadcrumb.esm.js +523 -0
  35. package/dist/button.cjs.js +521 -0
  36. package/dist/button.esm.js +671 -0
  37. package/dist/calendar-2c11b824.mjs +1685 -0
  38. package/dist/calendar-a8735e40.js +741 -0
  39. package/dist/calendar.cjs.js +1 -0
  40. package/dist/calendar.esm.js +11 -0
  41. package/dist/card.cjs.js +306 -0
  42. package/dist/card.esm.js +378 -0
  43. package/dist/chart.cjs.js +783 -0
  44. package/dist/chart.esm.js +1369 -0
  45. package/dist/checkbox.cjs.js +338 -0
  46. package/dist/checkbox.esm.js +455 -0
  47. package/dist/collapsible.cjs.js +381 -0
  48. package/dist/collapsible.esm.js +548 -0
  49. package/dist/collection-a1aac0c6.mjs +56 -0
  50. package/dist/collection-a2969ad2.js +1 -0
  51. package/dist/collection.cjs.js +1 -0
  52. package/dist/collection.esm.js +136 -0
  53. package/dist/color-picker.cjs.js +803 -0
  54. package/dist/color-picker.esm.js +1809 -0
  55. package/dist/combobox.cjs.js +525 -0
  56. package/dist/combobox.esm.js +1023 -0
  57. package/dist/command-palette.cjs.js +67 -0
  58. package/dist/command-palette.esm.js +181 -0
  59. package/dist/command.cjs.js +130 -0
  60. package/dist/command.esm.js +307 -0
  61. package/dist/components/date-time-utils.d.ts.map +1 -1
  62. package/dist/components/ui-anchor.d.ts +7 -0
  63. package/dist/components/ui-anchor.d.ts.map +1 -1
  64. package/dist/components/ui-data-table.d.ts.map +1 -1
  65. package/dist/components/ui-date-picker.d.ts.map +1 -1
  66. package/dist/components/ui-date-range-picker.d.ts.map +1 -1
  67. package/dist/components/ui-date-time-picker.d.ts.map +1 -1
  68. package/dist/components/ui-drawer.d.ts.map +1 -1
  69. package/dist/components/ui-form.d.ts +0 -1
  70. package/dist/components/ui-form.d.ts.map +1 -1
  71. package/dist/components/ui-listbox.d.ts +3 -0
  72. package/dist/components/ui-listbox.d.ts.map +1 -1
  73. package/dist/components/ui-number-ticker.d.ts.map +1 -1
  74. package/dist/components/ui-portal.d.ts +1 -0
  75. package/dist/components/ui-portal.d.ts.map +1 -1
  76. package/dist/components/ui-sidebar.d.ts.map +1 -1
  77. package/dist/components/ui-sortable.d.ts +192 -0
  78. package/dist/components/ui-sortable.d.ts.map +1 -0
  79. package/dist/components/ui-tooltip.d.ts.map +1 -1
  80. package/dist/components/ui-transfer-list.d.ts +5 -0
  81. package/dist/components/ui-transfer-list.d.ts.map +1 -1
  82. package/dist/container.cjs.js +115 -0
  83. package/dist/container.esm.js +156 -0
  84. package/dist/context-menu.cjs.js +357 -0
  85. package/dist/context-menu.esm.js +1204 -0
  86. package/dist/control-group.cjs.js +80 -0
  87. package/dist/control-group.esm.js +110 -0
  88. package/dist/data-table.cjs.js +682 -0
  89. package/dist/data-table.esm.js +1660 -0
  90. package/dist/date-field.cjs.js +142 -0
  91. package/dist/date-field.esm.js +384 -0
  92. package/dist/date-picker.cjs.js +570 -0
  93. package/dist/date-picker.esm.js +1067 -0
  94. package/dist/date-range-picker.cjs.js +455 -0
  95. package/dist/date-range-picker.esm.js +973 -0
  96. package/dist/date-range-time-picker.cjs.js +573 -0
  97. package/dist/date-range-time-picker.esm.js +1137 -0
  98. package/dist/date-time-picker.cjs.js +495 -0
  99. package/dist/date-time-picker.esm.js +1062 -0
  100. package/dist/date-time-utils-5cf58cd0.js +1 -0
  101. package/dist/date-time-utils-bdceb7af.mjs +273 -0
  102. package/dist/description.cjs.js +85 -0
  103. package/dist/description.esm.js +136 -0
  104. package/dist/dialog.cjs.js +406 -0
  105. package/dist/dialog.esm.js +822 -0
  106. package/dist/direction-provider.cjs.js +30 -0
  107. package/dist/direction-provider.esm.js +74 -0
  108. package/dist/dismissable-layer-193e3bed.js +1 -0
  109. package/dist/dismissable-layer-9c7e6b58.mjs +112 -0
  110. package/dist/dismissable-layer.cjs.js +6 -0
  111. package/dist/dismissable-layer.esm.js +115 -0
  112. package/dist/dock.cjs.js +347 -0
  113. package/dist/dock.esm.js +826 -0
  114. package/dist/drawer.cjs.js +538 -0
  115. package/dist/drawer.esm.js +872 -0
  116. package/dist/dropdown.cjs.js +511 -0
  117. package/dist/dropdown.esm.js +1084 -0
  118. package/dist/dropzone.cjs.js +1 -0
  119. package/dist/dropzone.esm.js +11 -0
  120. package/dist/empty-state.cjs.js +169 -0
  121. package/dist/empty-state.esm.js +199 -0
  122. package/dist/field-error.cjs.js +74 -0
  123. package/dist/field-error.esm.js +125 -0
  124. package/dist/field.cjs.js +398 -0
  125. package/dist/field.esm.js +542 -0
  126. package/dist/fieldset.cjs.js +214 -0
  127. package/dist/fieldset.esm.js +298 -0
  128. package/dist/file-upload.cjs.js +353 -0
  129. package/dist/file-upload.esm.js +740 -0
  130. package/dist/flex.cjs.js +54 -0
  131. package/dist/flex.esm.js +168 -0
  132. package/dist/floating-toolbar.cjs.js +223 -0
  133. package/dist/floating-toolbar.esm.js +513 -0
  134. package/dist/focus-scope-103833ee.mjs +147 -0
  135. package/dist/focus-scope-2b12b4e7.js +1 -0
  136. package/dist/focus-scope.cjs.js +6 -0
  137. package/dist/focus-scope.esm.js +97 -0
  138. package/dist/form.cjs.js +377 -0
  139. package/dist/form.esm.js +862 -0
  140. package/dist/gantt.cjs.js +157 -0
  141. package/dist/gantt.esm.js +214 -0
  142. package/dist/grid.cjs.js +67 -0
  143. package/dist/grid.esm.js +211 -0
  144. package/dist/hover-card.cjs.js +284 -0
  145. package/dist/hover-card.esm.js +470 -0
  146. package/dist/icon-9ed13093.mjs +364 -0
  147. package/dist/icon-cloud.cjs.js +495 -0
  148. package/dist/icon-cloud.esm.js +828 -0
  149. package/dist/icon-eaa486b3.js +207 -0
  150. package/dist/icon.cjs.js +1 -0
  151. package/dist/icon.esm.js +6 -0
  152. package/dist/index.cjs.js +1 -35924
  153. package/dist/index.d.ts +3 -0
  154. package/dist/index.d.ts.map +1 -1
  155. package/dist/index.esm.js +440 -68558
  156. package/dist/inline-edit.cjs.js +118 -0
  157. package/dist/inline-edit.esm.js +206 -0
  158. package/dist/input.cjs.js +535 -0
  159. package/dist/input.esm.js +790 -0
  160. package/dist/label.cjs.js +195 -0
  161. package/dist/label.esm.js +301 -0
  162. package/dist/layout.cjs.js +266 -0
  163. package/dist/layout.esm.js +408 -0
  164. package/dist/listbox-308789a0.mjs +210 -0
  165. package/dist/listbox-ef2f708e.js +46 -0
  166. package/dist/listbox.cjs.js +1 -0
  167. package/dist/listbox.esm.js +6 -0
  168. package/dist/marquee.cjs.js +513 -0
  169. package/dist/marquee.esm.js +767 -0
  170. package/dist/masonry-grid.cjs.js +65 -0
  171. package/dist/masonry-grid.esm.js +180 -0
  172. package/dist/menu-item-styles-27fdbac4.mjs +181 -0
  173. package/dist/menu-item-styles-83ad1e22.js +152 -0
  174. package/dist/menu.cjs.js +275 -0
  175. package/dist/menu.esm.js +743 -0
  176. package/dist/menubar.cjs.js +455 -0
  177. package/dist/menubar.esm.js +1195 -0
  178. package/dist/meter.cjs.js +241 -0
  179. package/dist/meter.esm.js +334 -0
  180. package/dist/multi-select.cjs.js +549 -0
  181. package/dist/multi-select.esm.js +914 -0
  182. package/dist/navigation-menu.cjs.js +382 -0
  183. package/dist/navigation-menu.esm.js +614 -0
  184. package/dist/number-field.cjs.js +351 -0
  185. package/dist/number-field.esm.js +771 -0
  186. package/dist/number-ticker.cjs.js +209 -0
  187. package/dist/number-ticker.esm.js +749 -0
  188. package/dist/odometer.cjs.js +313 -0
  189. package/dist/odometer.esm.js +565 -0
  190. package/dist/orbiter.cjs.js +495 -0
  191. package/dist/orbiter.esm.js +831 -0
  192. package/dist/overlayManager-86454af7.mjs +58 -0
  193. package/dist/overlayManager-ece06517.js +1 -0
  194. package/dist/pagination.cjs.js +201 -0
  195. package/dist/pagination.esm.js +297 -0
  196. package/dist/panel-group-40254cdd.js +36 -0
  197. package/dist/panel-group-a376cc5e.mjs +326 -0
  198. package/dist/panel-group.cjs.js +1 -0
  199. package/dist/panel-group.esm.js +7 -0
  200. package/dist/panel.cjs.js +22 -0
  201. package/dist/panel.esm.js +46 -0
  202. package/dist/password-field.cjs.js +626 -0
  203. package/dist/password-field.esm.js +925 -0
  204. package/dist/pin-input.cjs.js +185 -0
  205. package/dist/pin-input.esm.js +412 -0
  206. package/dist/placement-grid.cjs.js +99 -0
  207. package/dist/placement-grid.esm.js +486 -0
  208. package/dist/plugin-panel.cjs.js +131 -0
  209. package/dist/plugin-panel.esm.js +173 -0
  210. package/dist/popover.cjs.js +286 -0
  211. package/dist/popover.esm.js +483 -0
  212. package/dist/portal-1cf392ca.mjs +114 -0
  213. package/dist/portal-d8d7fbca.js +1 -0
  214. package/dist/portal.cjs.js +39 -0
  215. package/dist/portal.d.ts.map +1 -1
  216. package/dist/portal.esm.js +187 -0
  217. package/dist/positioner-accc6e5f.js +1 -0
  218. package/dist/positioner-fbd61bf1.mjs +132 -0
  219. package/dist/positioner.cjs.js +6 -0
  220. package/dist/positioner.esm.js +137 -0
  221. package/dist/presence.cjs.js +164 -0
  222. package/dist/presence.esm.js +301 -0
  223. package/dist/progress.cjs.js +329 -0
  224. package/dist/progress.esm.js +453 -0
  225. package/dist/quick-actions.cjs.js +202 -0
  226. package/dist/quick-actions.esm.js +357 -0
  227. package/dist/radio-group.cjs.js +257 -0
  228. package/dist/radio-group.esm.js +477 -0
  229. package/dist/rating.cjs.js +355 -0
  230. package/dist/rating.esm.js +637 -0
  231. package/dist/roving-focus-group-4350c9a7.mjs +50 -0
  232. package/dist/roving-focus-group-5c059bf9.js +1 -0
  233. package/dist/roving-focus-group.cjs.js +1 -0
  234. package/dist/roving-focus-group.esm.js +72 -0
  235. package/dist/runtime-4ac0107b.mjs +1954 -0
  236. package/dist/runtime-5f282bc8.js +1 -0
  237. package/dist/runtime.cjs.js +1 -0
  238. package/dist/runtime.d.ts +9 -0
  239. package/dist/runtime.d.ts.map +1 -0
  240. package/dist/runtime.esm.js +26 -0
  241. package/dist/scroll-area.cjs.js +294 -0
  242. package/dist/scroll-area.esm.js +478 -0
  243. package/dist/scroll-lock-48793569.js +1 -0
  244. package/dist/scroll-lock-9de6d328.mjs +53 -0
  245. package/dist/section.cjs.js +167 -0
  246. package/dist/section.esm.js +202 -0
  247. package/dist/select.cjs.js +799 -0
  248. package/dist/select.esm.js +1266 -0
  249. package/dist/selection-popup.cjs.js +203 -0
  250. package/dist/selection-popup.esm.js +392 -0
  251. package/dist/separator.cjs.js +221 -0
  252. package/dist/separator.esm.js +241 -0
  253. package/dist/sidebar.cjs.js +769 -0
  254. package/dist/sidebar.esm.js +1219 -0
  255. package/dist/skeleton.cjs.js +205 -0
  256. package/dist/skeleton.esm.js +249 -0
  257. package/dist/slider.cjs.js +493 -0
  258. package/dist/slider.esm.js +694 -0
  259. package/dist/slot.cjs.js +159 -0
  260. package/dist/slot.esm.js +227 -0
  261. package/dist/sortable.cjs.js +855 -0
  262. package/dist/sortable.d.ts +4 -0
  263. package/dist/sortable.d.ts.map +1 -0
  264. package/dist/sortable.esm.js +2178 -0
  265. package/dist/spinning-text.cjs.js +395 -0
  266. package/dist/spinning-text.esm.js +635 -0
  267. package/dist/split-button.cjs.js +410 -0
  268. package/dist/split-button.esm.js +619 -0
  269. package/dist/splitter.cjs.js +70 -0
  270. package/dist/splitter.esm.js +105 -0
  271. package/dist/standalone/accordion.d.ts +2 -0
  272. package/dist/standalone/accordion.d.ts.map +1 -0
  273. package/dist/standalone/alert-dialog.d.ts +2 -0
  274. package/dist/standalone/alert-dialog.d.ts.map +1 -0
  275. package/dist/standalone/alert.d.ts +2 -0
  276. package/dist/standalone/alert.d.ts.map +1 -0
  277. package/dist/standalone/anchor.d.ts +2 -0
  278. package/dist/standalone/anchor.d.ts.map +1 -0
  279. package/dist/standalone/animated-beam.d.ts +2 -0
  280. package/dist/standalone/animated-beam.d.ts.map +1 -0
  281. package/dist/standalone/animated-list.d.ts +2 -0
  282. package/dist/standalone/animated-list.d.ts.map +1 -0
  283. package/dist/standalone/animated-text.d.ts +2 -0
  284. package/dist/standalone/animated-text.d.ts.map +1 -0
  285. package/dist/standalone/app-header.d.ts +2 -0
  286. package/dist/standalone/app-header.d.ts.map +1 -0
  287. package/dist/standalone/aspect-ratio.d.ts +2 -0
  288. package/dist/standalone/aspect-ratio.d.ts.map +1 -0
  289. package/dist/standalone/avatar.d.ts +2 -0
  290. package/dist/standalone/avatar.d.ts.map +1 -0
  291. package/dist/standalone/badge.d.ts +2 -0
  292. package/dist/standalone/badge.d.ts.map +1 -0
  293. package/dist/standalone/block-controls.d.ts +2 -0
  294. package/dist/standalone/block-controls.d.ts.map +1 -0
  295. package/dist/standalone/box.d.ts +2 -0
  296. package/dist/standalone/box.d.ts.map +1 -0
  297. package/dist/standalone/breadcrumb.d.ts +2 -0
  298. package/dist/standalone/breadcrumb.d.ts.map +1 -0
  299. package/dist/standalone/button.d.ts +2 -0
  300. package/dist/standalone/button.d.ts.map +1 -0
  301. package/dist/standalone/calendar.d.ts +2 -0
  302. package/dist/standalone/calendar.d.ts.map +1 -0
  303. package/dist/standalone/card.d.ts +2 -0
  304. package/dist/standalone/card.d.ts.map +1 -0
  305. package/dist/standalone/chart.d.ts +2 -0
  306. package/dist/standalone/chart.d.ts.map +1 -0
  307. package/dist/standalone/checkbox.d.ts +2 -0
  308. package/dist/standalone/checkbox.d.ts.map +1 -0
  309. package/dist/standalone/collapsible.d.ts +2 -0
  310. package/dist/standalone/collapsible.d.ts.map +1 -0
  311. package/dist/standalone/collection.d.ts +2 -0
  312. package/dist/standalone/collection.d.ts.map +1 -0
  313. package/dist/standalone/color-picker.d.ts +2 -0
  314. package/dist/standalone/color-picker.d.ts.map +1 -0
  315. package/dist/standalone/combobox.d.ts +2 -0
  316. package/dist/standalone/combobox.d.ts.map +1 -0
  317. package/dist/standalone/command-palette.d.ts +2 -0
  318. package/dist/standalone/command-palette.d.ts.map +1 -0
  319. package/dist/standalone/command.d.ts +2 -0
  320. package/dist/standalone/command.d.ts.map +1 -0
  321. package/dist/standalone/container.d.ts +2 -0
  322. package/dist/standalone/container.d.ts.map +1 -0
  323. package/dist/standalone/context-menu.d.ts +2 -0
  324. package/dist/standalone/context-menu.d.ts.map +1 -0
  325. package/dist/standalone/control-group.d.ts +2 -0
  326. package/dist/standalone/control-group.d.ts.map +1 -0
  327. package/dist/standalone/data-table.d.ts +2 -0
  328. package/dist/standalone/data-table.d.ts.map +1 -0
  329. package/dist/standalone/date-field.d.ts +2 -0
  330. package/dist/standalone/date-field.d.ts.map +1 -0
  331. package/dist/standalone/date-picker.d.ts +2 -0
  332. package/dist/standalone/date-picker.d.ts.map +1 -0
  333. package/dist/standalone/date-range-picker.d.ts +2 -0
  334. package/dist/standalone/date-range-picker.d.ts.map +1 -0
  335. package/dist/standalone/date-range-time-picker.d.ts +2 -0
  336. package/dist/standalone/date-range-time-picker.d.ts.map +1 -0
  337. package/dist/standalone/date-time-picker.d.ts +2 -0
  338. package/dist/standalone/date-time-picker.d.ts.map +1 -0
  339. package/dist/standalone/description.d.ts +2 -0
  340. package/dist/standalone/description.d.ts.map +1 -0
  341. package/dist/standalone/dialog.d.ts +2 -0
  342. package/dist/standalone/dialog.d.ts.map +1 -0
  343. package/dist/standalone/direction-provider.d.ts +2 -0
  344. package/dist/standalone/direction-provider.d.ts.map +1 -0
  345. package/dist/standalone/dismissable-layer.d.ts +2 -0
  346. package/dist/standalone/dismissable-layer.d.ts.map +1 -0
  347. package/dist/standalone/dock.d.ts +2 -0
  348. package/dist/standalone/dock.d.ts.map +1 -0
  349. package/dist/standalone/drawer.d.ts +2 -0
  350. package/dist/standalone/drawer.d.ts.map +1 -0
  351. package/dist/standalone/dropdown.d.ts +2 -0
  352. package/dist/standalone/dropdown.d.ts.map +1 -0
  353. package/dist/standalone/dropzone.d.ts +2 -0
  354. package/dist/standalone/dropzone.d.ts.map +1 -0
  355. package/dist/standalone/empty-state.d.ts +2 -0
  356. package/dist/standalone/empty-state.d.ts.map +1 -0
  357. package/dist/standalone/field-error.d.ts +2 -0
  358. package/dist/standalone/field-error.d.ts.map +1 -0
  359. package/dist/standalone/field.d.ts +2 -0
  360. package/dist/standalone/field.d.ts.map +1 -0
  361. package/dist/standalone/fieldset.d.ts +2 -0
  362. package/dist/standalone/fieldset.d.ts.map +1 -0
  363. package/dist/standalone/file-upload.d.ts +2 -0
  364. package/dist/standalone/file-upload.d.ts.map +1 -0
  365. package/dist/standalone/flex.d.ts +2 -0
  366. package/dist/standalone/flex.d.ts.map +1 -0
  367. package/dist/standalone/floating-toolbar.d.ts +2 -0
  368. package/dist/standalone/floating-toolbar.d.ts.map +1 -0
  369. package/dist/standalone/focus-scope.d.ts +2 -0
  370. package/dist/standalone/focus-scope.d.ts.map +1 -0
  371. package/dist/standalone/form.d.ts +2 -0
  372. package/dist/standalone/form.d.ts.map +1 -0
  373. package/dist/standalone/gantt.d.ts +2 -0
  374. package/dist/standalone/gantt.d.ts.map +1 -0
  375. package/dist/standalone/grid.d.ts +2 -0
  376. package/dist/standalone/grid.d.ts.map +1 -0
  377. package/dist/standalone/hover-card.d.ts +2 -0
  378. package/dist/standalone/hover-card.d.ts.map +1 -0
  379. package/dist/standalone/icon-cloud.d.ts +2 -0
  380. package/dist/standalone/icon-cloud.d.ts.map +1 -0
  381. package/dist/standalone/icon.d.ts +2 -0
  382. package/dist/standalone/icon.d.ts.map +1 -0
  383. package/dist/standalone/inline-edit.d.ts +2 -0
  384. package/dist/standalone/inline-edit.d.ts.map +1 -0
  385. package/dist/standalone/input.d.ts +2 -0
  386. package/dist/standalone/input.d.ts.map +1 -0
  387. package/dist/standalone/label.d.ts +2 -0
  388. package/dist/standalone/label.d.ts.map +1 -0
  389. package/dist/standalone/layout.d.ts +2 -0
  390. package/dist/standalone/layout.d.ts.map +1 -0
  391. package/dist/standalone/listbox.d.ts +2 -0
  392. package/dist/standalone/listbox.d.ts.map +1 -0
  393. package/dist/standalone/marquee.d.ts +2 -0
  394. package/dist/standalone/marquee.d.ts.map +1 -0
  395. package/dist/standalone/masonry-grid.d.ts +2 -0
  396. package/dist/standalone/masonry-grid.d.ts.map +1 -0
  397. package/dist/standalone/menu.d.ts +2 -0
  398. package/dist/standalone/menu.d.ts.map +1 -0
  399. package/dist/standalone/menubar.d.ts +2 -0
  400. package/dist/standalone/menubar.d.ts.map +1 -0
  401. package/dist/standalone/meter.d.ts +2 -0
  402. package/dist/standalone/meter.d.ts.map +1 -0
  403. package/dist/standalone/multi-select.d.ts +2 -0
  404. package/dist/standalone/multi-select.d.ts.map +1 -0
  405. package/dist/standalone/navigation-menu.d.ts +2 -0
  406. package/dist/standalone/navigation-menu.d.ts.map +1 -0
  407. package/dist/standalone/number-field.d.ts +2 -0
  408. package/dist/standalone/number-field.d.ts.map +1 -0
  409. package/dist/standalone/number-ticker.d.ts +2 -0
  410. package/dist/standalone/number-ticker.d.ts.map +1 -0
  411. package/dist/standalone/odometer.d.ts +2 -0
  412. package/dist/standalone/odometer.d.ts.map +1 -0
  413. package/dist/standalone/orbiter.d.ts +2 -0
  414. package/dist/standalone/orbiter.d.ts.map +1 -0
  415. package/dist/standalone/pagination.d.ts +2 -0
  416. package/dist/standalone/pagination.d.ts.map +1 -0
  417. package/dist/standalone/panel-group.d.ts +2 -0
  418. package/dist/standalone/panel-group.d.ts.map +1 -0
  419. package/dist/standalone/panel.d.ts +2 -0
  420. package/dist/standalone/panel.d.ts.map +1 -0
  421. package/dist/standalone/password-field.d.ts +2 -0
  422. package/dist/standalone/password-field.d.ts.map +1 -0
  423. package/dist/standalone/pin-input.d.ts +2 -0
  424. package/dist/standalone/pin-input.d.ts.map +1 -0
  425. package/dist/standalone/placement-grid.d.ts +2 -0
  426. package/dist/standalone/placement-grid.d.ts.map +1 -0
  427. package/dist/standalone/plugin-panel.d.ts +2 -0
  428. package/dist/standalone/plugin-panel.d.ts.map +1 -0
  429. package/dist/standalone/popover.d.ts +2 -0
  430. package/dist/standalone/popover.d.ts.map +1 -0
  431. package/dist/standalone/portal.d.ts +2 -0
  432. package/dist/standalone/portal.d.ts.map +1 -0
  433. package/dist/standalone/positioner.d.ts +2 -0
  434. package/dist/standalone/positioner.d.ts.map +1 -0
  435. package/dist/standalone/presence.d.ts +2 -0
  436. package/dist/standalone/presence.d.ts.map +1 -0
  437. package/dist/standalone/progress.d.ts +2 -0
  438. package/dist/standalone/progress.d.ts.map +1 -0
  439. package/dist/standalone/quick-actions.d.ts +2 -0
  440. package/dist/standalone/quick-actions.d.ts.map +1 -0
  441. package/dist/standalone/radio-group.d.ts +2 -0
  442. package/dist/standalone/radio-group.d.ts.map +1 -0
  443. package/dist/standalone/rating.d.ts +2 -0
  444. package/dist/standalone/rating.d.ts.map +1 -0
  445. package/dist/standalone/roving-focus-group.d.ts +2 -0
  446. package/dist/standalone/roving-focus-group.d.ts.map +1 -0
  447. package/dist/standalone/scroll-area.d.ts +2 -0
  448. package/dist/standalone/scroll-area.d.ts.map +1 -0
  449. package/dist/standalone/section.d.ts +2 -0
  450. package/dist/standalone/section.d.ts.map +1 -0
  451. package/dist/standalone/select.d.ts +2 -0
  452. package/dist/standalone/select.d.ts.map +1 -0
  453. package/dist/standalone/selection-popup.d.ts +2 -0
  454. package/dist/standalone/selection-popup.d.ts.map +1 -0
  455. package/dist/standalone/separator.d.ts +2 -0
  456. package/dist/standalone/separator.d.ts.map +1 -0
  457. package/dist/standalone/sidebar.d.ts +2 -0
  458. package/dist/standalone/sidebar.d.ts.map +1 -0
  459. package/dist/standalone/skeleton.d.ts +2 -0
  460. package/dist/standalone/skeleton.d.ts.map +1 -0
  461. package/dist/standalone/slider.d.ts +2 -0
  462. package/dist/standalone/slider.d.ts.map +1 -0
  463. package/dist/standalone/slot.d.ts +2 -0
  464. package/dist/standalone/slot.d.ts.map +1 -0
  465. package/dist/standalone/spinning-text.d.ts +2 -0
  466. package/dist/standalone/spinning-text.d.ts.map +1 -0
  467. package/dist/standalone/split-button.d.ts +2 -0
  468. package/dist/standalone/split-button.d.ts.map +1 -0
  469. package/dist/standalone/splitter.d.ts +2 -0
  470. package/dist/standalone/splitter.d.ts.map +1 -0
  471. package/dist/standalone/stepper.d.ts +2 -0
  472. package/dist/standalone/stepper.d.ts.map +1 -0
  473. package/dist/standalone/switch.d.ts +2 -0
  474. package/dist/standalone/switch.d.ts.map +1 -0
  475. package/dist/standalone/table.d.ts +2 -0
  476. package/dist/standalone/table.d.ts.map +1 -0
  477. package/dist/standalone/tabs.d.ts +2 -0
  478. package/dist/standalone/tabs.d.ts.map +1 -0
  479. package/dist/standalone/tags-input.d.ts +2 -0
  480. package/dist/standalone/tags-input.d.ts.map +1 -0
  481. package/dist/standalone/textarea.d.ts +2 -0
  482. package/dist/standalone/textarea.d.ts.map +1 -0
  483. package/dist/standalone/time-field.d.ts +2 -0
  484. package/dist/standalone/time-field.d.ts.map +1 -0
  485. package/dist/standalone/time-picker.d.ts +2 -0
  486. package/dist/standalone/time-picker.d.ts.map +1 -0
  487. package/dist/standalone/timeline.d.ts +2 -0
  488. package/dist/standalone/timeline.d.ts.map +1 -0
  489. package/dist/standalone/toast.d.ts +2 -0
  490. package/dist/standalone/toast.d.ts.map +1 -0
  491. package/dist/standalone/toggle-group.d.ts +2 -0
  492. package/dist/standalone/toggle-group.d.ts.map +1 -0
  493. package/dist/standalone/toggle.d.ts +2 -0
  494. package/dist/standalone/toggle.d.ts.map +1 -0
  495. package/dist/standalone/toolbar.d.ts +2 -0
  496. package/dist/standalone/toolbar.d.ts.map +1 -0
  497. package/dist/standalone/tooltip.d.ts +2 -0
  498. package/dist/standalone/tooltip.d.ts.map +1 -0
  499. package/dist/standalone/transfer-list.d.ts +2 -0
  500. package/dist/standalone/transfer-list.d.ts.map +1 -0
  501. package/dist/standalone/tree-item.d.ts +2 -0
  502. package/dist/standalone/tree-item.d.ts.map +1 -0
  503. package/dist/standalone/tree.d.ts +2 -0
  504. package/dist/standalone/tree.d.ts.map +1 -0
  505. package/dist/standalone/visually-hidden.d.ts +2 -0
  506. package/dist/standalone/visually-hidden.d.ts.map +1 -0
  507. package/dist/standalone/wizard.d.ts +2 -0
  508. package/dist/standalone/wizard.d.ts.map +1 -0
  509. package/dist/stepper.cjs.js +337 -0
  510. package/dist/stepper.esm.js +578 -0
  511. package/dist/switch.cjs.js +397 -0
  512. package/dist/switch.esm.js +543 -0
  513. package/dist/table.cjs.js +212 -0
  514. package/dist/table.esm.js +432 -0
  515. package/dist/tabs.cjs.js +515 -0
  516. package/dist/tabs.esm.js +808 -0
  517. package/dist/tags-input.cjs.js +202 -0
  518. package/dist/tags-input.esm.js +436 -0
  519. package/dist/textarea.cjs.js +329 -0
  520. package/dist/textarea.esm.js +520 -0
  521. package/dist/theme.d.ts +1 -1
  522. package/dist/theme.d.ts.map +1 -1
  523. package/dist/time-field.cjs.js +142 -0
  524. package/dist/time-field.esm.js +387 -0
  525. package/dist/time-picker.cjs.js +284 -0
  526. package/dist/time-picker.esm.js +686 -0
  527. package/dist/timeline.cjs.js +198 -0
  528. package/dist/timeline.esm.js +248 -0
  529. package/dist/toast.cjs.js +234 -0
  530. package/dist/toast.esm.js +399 -0
  531. package/dist/toggle-group.cjs.js +131 -0
  532. package/dist/toggle-group.esm.js +382 -0
  533. package/dist/toggle.cjs.js +237 -0
  534. package/dist/toggle.esm.js +346 -0
  535. package/dist/toolbar.cjs.js +126 -0
  536. package/dist/toolbar.esm.js +240 -0
  537. package/dist/tooltip.cjs.js +159 -0
  538. package/dist/tooltip.esm.js +376 -0
  539. package/dist/transfer-list.cjs.js +734 -0
  540. package/dist/transfer-list.esm.js +969 -0
  541. package/dist/tree-0a7a8d05.js +39 -0
  542. package/dist/tree-dcd74a4a.mjs +294 -0
  543. package/dist/tree-item.cjs.js +103 -0
  544. package/dist/tree-item.esm.js +143 -0
  545. package/dist/tree.cjs.js +1 -0
  546. package/dist/tree.esm.js +7 -0
  547. package/dist/visually-hidden.cjs.js +42 -0
  548. package/dist/visually-hidden.esm.js +68 -0
  549. package/dist/wizard.cjs.js +677 -0
  550. package/dist/wizard.esm.js +1068 -0
  551. package/package.json +20 -1
@@ -0,0 +1,862 @@
1
+ import { E as p } from "./ElementBase-909688f3.mjs";
2
+ class g {
3
+ constructor() {
4
+ this.fields = /* @__PURE__ */ new Map();
5
+ }
6
+ registerField(t, e) {
7
+ if (!t)
8
+ throw new Error("Field must have a name to register with the form");
9
+ return this.fields.set(t, e), () => {
10
+ this.fields.delete(t);
11
+ };
12
+ }
13
+ getValues() {
14
+ const t = {};
15
+ for (const [e, i] of this.fields)
16
+ t[e] = i.getValue();
17
+ return t;
18
+ }
19
+ setValue(t, e) {
20
+ const i = this.fields.get(t);
21
+ i && typeof i.setValue == "function" && i.setValue(e);
22
+ }
23
+ async validateField(t) {
24
+ const e = this.fields.get(t);
25
+ if (!e)
26
+ return { valid: !0 };
27
+ if (typeof e.validate == "function") {
28
+ const i = await e.validate();
29
+ return e.setError && e.setError(i.valid ? void 0 : i.message), i;
30
+ }
31
+ return { valid: !0 };
32
+ }
33
+ async validateAll() {
34
+ const t = {};
35
+ let e = !0;
36
+ const i = Array.from(this.fields.entries());
37
+ for (const [r, s] of i) {
38
+ const n = await this.validateField(r);
39
+ n.valid || (e = !1, t[r] = n.message || "invalid");
40
+ }
41
+ return { valid: e, errors: t };
42
+ }
43
+ }
44
+ const _ = /* @__PURE__ */ new Set(["heading", "title", "description", "state-text", "loading-text"]), v = `
45
+ :host {
46
+ --ui-form-gap: 12px;
47
+ --ui-form-radius: 14px;
48
+ --ui-form-bg: var(--ui-color-surface, var(--ui-surface, #ffffff));
49
+ --ui-form-color: var(--ui-color-text, var(--ui-text, #0f172a));
50
+ --ui-form-muted: var(--ui-color-muted, var(--ui-muted, #64748b));
51
+ --ui-form-border-color: color-mix(in srgb, var(--ui-color-border, #cbd5e1) 66%, transparent);
52
+ --ui-form-border: 1px solid var(--ui-form-border-color);
53
+ --ui-form-shadow:
54
+ none;
55
+ --ui-form-padding: 16px;
56
+ --ui-form-header-gap: 12px;
57
+ --ui-form-header-border: color-mix(in srgb, var(--ui-form-border-color) 84%, transparent);
58
+ --ui-form-focus-ring: var(--ui-color-focus-ring, var(--ui-focus-ring, #2563eb));
59
+ --ui-form-accent: var(--ui-color-primary, var(--ui-primary, #2563eb));
60
+ --ui-form-status-bg: color-mix(in srgb, var(--ui-form-bg) 94%, transparent);
61
+ --ui-form-status-border: color-mix(in srgb, var(--ui-form-border-color) 84%, transparent);
62
+ --ui-form-status-text: var(--ui-form-muted);
63
+ color-scheme: light dark;
64
+ display: block;
65
+ width: 100%;
66
+ min-width: 0;
67
+ font-family: "Inter", "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
68
+ }
69
+
70
+ .form {
71
+ width: 100%;
72
+ min-width: 0;
73
+ margin: 0;
74
+ display: grid;
75
+ gap: var(--ui-form-gap);
76
+ box-sizing: border-box;
77
+ color: var(--ui-form-color);
78
+ background: var(--ui-form-bg);
79
+ border: var(--ui-form-border);
80
+ border-radius: var(--ui-form-radius);
81
+ box-shadow: var(--ui-form-shadow);
82
+ padding: var(--ui-form-padding);
83
+ transition: none;
84
+ }
85
+
86
+ :host([data-ui-ready]) .form {
87
+ transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease, opacity 140ms ease;
88
+ }
89
+
90
+ .header {
91
+ min-width: 0;
92
+ display: grid;
93
+ grid-template-columns: minmax(0, 1fr) auto;
94
+ gap: var(--ui-form-header-gap);
95
+ align-items: start;
96
+ padding-bottom: 12px;
97
+ border-bottom: 1px solid var(--ui-form-header-border);
98
+ }
99
+
100
+ .header[hidden],
101
+ .heading[hidden],
102
+ .title[hidden],
103
+ .description[hidden],
104
+ .actions[hidden],
105
+ .footer[hidden],
106
+ .status[hidden],
107
+ .status-text[hidden],
108
+ .title-text[hidden],
109
+ .description-text[hidden] {
110
+ display: none !important;
111
+ }
112
+
113
+ .heading {
114
+ min-width: 0;
115
+ display: grid;
116
+ gap: 4px;
117
+ }
118
+
119
+ .title {
120
+ margin: 0;
121
+ min-width: 0;
122
+ font: 650 16px/1.3 "Inter", "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
123
+ letter-spacing: 0.01em;
124
+ color: inherit;
125
+ }
126
+
127
+ .description {
128
+ margin: 0;
129
+ min-width: 0;
130
+ font-size: 12px;
131
+ line-height: 1.45;
132
+ letter-spacing: 0.01em;
133
+ color: var(--ui-form-muted);
134
+ }
135
+
136
+ .actions {
137
+ min-width: 0;
138
+ display: inline-flex;
139
+ justify-content: flex-end;
140
+ align-items: center;
141
+ gap: 8px;
142
+ flex-wrap: wrap;
143
+ }
144
+
145
+ .body {
146
+ min-width: 0;
147
+ display: grid;
148
+ gap: var(--ui-form-gap);
149
+ }
150
+
151
+ .status {
152
+ min-width: 0;
153
+ display: inline-flex;
154
+ align-items: center;
155
+ gap: 8px;
156
+ min-height: 28px;
157
+ padding: 0 10px;
158
+ border-radius: calc(var(--ui-form-radius) - 6px);
159
+ border: 1px solid var(--ui-form-status-border);
160
+ background: var(--ui-form-status-bg);
161
+ color: var(--ui-form-status-text);
162
+ font: 550 12px/1.35 "Inter", "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
163
+ letter-spacing: 0.01em;
164
+ }
165
+
166
+ .status::before {
167
+ content: '';
168
+ inline-size: 8px;
169
+ block-size: 8px;
170
+ border-radius: 999px;
171
+ background: currentColor;
172
+ opacity: 0.72;
173
+ flex: 0 0 auto;
174
+ }
175
+
176
+ .status[data-tone="warning"] {
177
+ --ui-form-status-bg: color-mix(in srgb, var(--ui-color-warning, #d97706) 12%, transparent);
178
+ --ui-form-status-border: color-mix(in srgb, var(--ui-color-warning, #d97706) 44%, var(--ui-form-border-color));
179
+ --ui-form-status-text: color-mix(in srgb, var(--ui-color-warning, #d97706) 90%, #111827 10%);
180
+ }
181
+
182
+ .status[data-tone="error"] {
183
+ --ui-form-status-bg: color-mix(in srgb, var(--ui-color-danger, #dc2626) 12%, transparent);
184
+ --ui-form-status-border: color-mix(in srgb, var(--ui-color-danger, #dc2626) 44%, var(--ui-form-border-color));
185
+ --ui-form-status-text: color-mix(in srgb, var(--ui-color-danger, #dc2626) 88%, #111827 12%);
186
+ }
187
+
188
+ .status[data-tone="success"] {
189
+ --ui-form-status-bg: color-mix(in srgb, var(--ui-color-success, #16a34a) 12%, transparent);
190
+ --ui-form-status-border: color-mix(in srgb, var(--ui-color-success, #16a34a) 44%, var(--ui-form-border-color));
191
+ --ui-form-status-text: color-mix(in srgb, var(--ui-color-success, #16a34a) 90%, #111827 10%);
192
+ }
193
+
194
+ .status[data-tone="loading"] {
195
+ --ui-form-status-bg: color-mix(in srgb, var(--ui-form-accent) 12%, transparent);
196
+ --ui-form-status-border: color-mix(in srgb, var(--ui-form-accent) 44%, var(--ui-form-border-color));
197
+ --ui-form-status-text: color-mix(in srgb, var(--ui-form-accent) 90%, #111827 10%);
198
+ }
199
+
200
+ .footer {
201
+ min-width: 0;
202
+ display: inline-flex;
203
+ justify-content: flex-end;
204
+ align-items: center;
205
+ gap: 8px;
206
+ flex-wrap: wrap;
207
+ padding-top: 2px;
208
+ }
209
+
210
+ :host([variant="surface"]) {
211
+ --ui-form-bg: var(--ui-color-surface, var(--ui-surface, #ffffff));
212
+ --ui-form-padding: 16px;
213
+ --ui-form-shadow:
214
+ 0 1px 3px rgba(2, 6, 23, 0.05),
215
+ 0 14px 28px rgba(2, 6, 23, 0.08);
216
+ }
217
+
218
+ :host([variant="outline"]) {
219
+ --ui-form-bg: color-mix(in srgb, var(--ui-color-surface, #ffffff) 92%, transparent);
220
+ --ui-form-padding: 14px;
221
+ --ui-form-shadow: none;
222
+ }
223
+
224
+ :host([variant="soft"]) {
225
+ --ui-form-bg: color-mix(in srgb, var(--ui-form-accent) 6%, var(--ui-color-surface, #ffffff));
226
+ --ui-form-border-color: color-mix(in srgb, var(--ui-form-accent) 26%, var(--ui-color-border, #cbd5e1));
227
+ --ui-form-padding: 16px;
228
+ --ui-form-shadow:
229
+ 0 1px 4px rgba(2, 6, 23, 0.04),
230
+ 0 12px 24px rgba(2, 6, 23, 0.06);
231
+ }
232
+
233
+ :host([variant="contrast"]) {
234
+ --ui-form-bg: #0f172a;
235
+ --ui-form-color: #e2e8f0;
236
+ --ui-form-muted: #93a4bd;
237
+ --ui-form-border-color: #334155;
238
+ --ui-form-padding: 16px;
239
+ --ui-form-focus-ring: #93c5fd;
240
+ --ui-form-shadow:
241
+ 0 2px 8px rgba(2, 6, 23, 0.24),
242
+ 0 26px 52px rgba(2, 6, 23, 0.38);
243
+ }
244
+
245
+ :host([variant="minimal"]) {
246
+ --ui-form-bg: transparent;
247
+ --ui-form-border: 0;
248
+ --ui-form-shadow: none;
249
+ --ui-form-padding: 0;
250
+ }
251
+
252
+ :host([variant="elevated"]) {
253
+ --ui-form-bg: var(--ui-color-surface, #ffffff);
254
+ --ui-form-shadow:
255
+ 0 2px 10px rgba(2, 6, 23, 0.1),
256
+ 0 28px 56px rgba(2, 6, 23, 0.16);
257
+ }
258
+
259
+ :host([tone="success"]) {
260
+ --ui-form-accent: var(--ui-color-success, #16a34a);
261
+ }
262
+
263
+ :host([tone="warning"]) {
264
+ --ui-form-accent: var(--ui-color-warning, #d97706);
265
+ }
266
+
267
+ :host([tone="danger"]) {
268
+ --ui-form-accent: var(--ui-color-danger, #dc2626);
269
+ }
270
+
271
+ :host([density="compact"]) {
272
+ --ui-form-gap: 10px;
273
+ --ui-form-header-gap: 10px;
274
+ }
275
+
276
+ :host([density="comfortable"]) {
277
+ --ui-form-gap: 14px;
278
+ --ui-form-header-gap: 14px;
279
+ }
280
+
281
+ :host([shape="square"]) {
282
+ --ui-form-radius: 4px;
283
+ }
284
+
285
+ :host([shape="soft"]) {
286
+ --ui-form-radius: 22px;
287
+ }
288
+
289
+ :host([elevation="none"]) {
290
+ --ui-form-shadow: none;
291
+ }
292
+
293
+ :host([elevation="low"]) {
294
+ --ui-form-shadow:
295
+ 0 1px 3px rgba(2, 6, 23, 0.05),
296
+ 0 10px 20px rgba(2, 6, 23, 0.08);
297
+ }
298
+
299
+ :host([elevation="high"]) {
300
+ --ui-form-shadow:
301
+ 0 3px 14px rgba(2, 6, 23, 0.12),
302
+ 0 32px 64px rgba(2, 6, 23, 0.2);
303
+ }
304
+
305
+ :host([loading]) .form {
306
+ opacity: 0.82;
307
+ pointer-events: none;
308
+ }
309
+
310
+ :host([disabled]) .form {
311
+ opacity: 0.7;
312
+ pointer-events: none;
313
+ }
314
+
315
+ :host([dirty]) .form {
316
+ border-color: color-mix(in srgb, var(--ui-form-accent) 38%, var(--ui-form-border-color));
317
+ }
318
+
319
+ :host(:focus-within) .form {
320
+ border-color: color-mix(in srgb, var(--ui-form-focus-ring) 56%, var(--ui-form-border-color));
321
+ box-shadow:
322
+ 0 0 0 2px color-mix(in srgb, var(--ui-form-focus-ring) 20%, transparent),
323
+ var(--ui-form-shadow);
324
+ }
325
+
326
+ :host([state="success"]) .form {
327
+ border-color: color-mix(in srgb, var(--ui-color-success, #16a34a) 44%, var(--ui-form-border-color));
328
+ }
329
+
330
+ :host([state="warning"]) .form {
331
+ border-color: color-mix(in srgb, var(--ui-color-warning, #d97706) 44%, var(--ui-form-border-color));
332
+ }
333
+
334
+ :host([state="error"]) .form {
335
+ border-color: color-mix(in srgb, var(--ui-color-danger, #dc2626) 44%, var(--ui-form-border-color));
336
+ }
337
+
338
+ :host([headless]) .form {
339
+ display: block;
340
+ border: none;
341
+ border-radius: 0;
342
+ box-shadow: none;
343
+ background: transparent;
344
+ padding: 0;
345
+ gap: 0;
346
+ }
347
+
348
+ :host([headless]) .header,
349
+ :host([headless]) .status,
350
+ :host([headless]) .footer {
351
+ display: none !important;
352
+ }
353
+
354
+ @media (prefers-reduced-motion: reduce) {
355
+ .form {
356
+ transition: none !important;
357
+ }
358
+ }
359
+
360
+ @media (prefers-contrast: more) {
361
+ :host {
362
+ --ui-form-border: 2px solid var(--ui-form-border-color);
363
+ --ui-form-shadow: none;
364
+ }
365
+ }
366
+
367
+ @media (forced-colors: active) {
368
+ :host {
369
+ --ui-form-bg: Canvas;
370
+ --ui-form-color: CanvasText;
371
+ --ui-form-muted: CanvasText;
372
+ --ui-form-border-color: CanvasText;
373
+ --ui-form-shadow: none;
374
+ --ui-form-status-bg: Canvas;
375
+ --ui-form-status-border: CanvasText;
376
+ --ui-form-status-text: CanvasText;
377
+ }
378
+
379
+ .form,
380
+ .status {
381
+ forced-color-adjust: none;
382
+ background: Canvas;
383
+ color: CanvasText;
384
+ box-shadow: none;
385
+ border-color: CanvasText;
386
+ }
387
+ }
388
+ `;
389
+ function m(o) {
390
+ return o.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#39;");
391
+ }
392
+ function u(o) {
393
+ if (!o)
394
+ return !1;
395
+ const t = o.assignedNodes({ flatten: !0 });
396
+ return t.length ? t.some((e) => {
397
+ var i;
398
+ return e.nodeType === Node.TEXT_NODE ? !!((i = e.textContent) != null && i.trim()) : e.nodeType === Node.ELEMENT_NODE;
399
+ }) : !1;
400
+ }
401
+ function y(o) {
402
+ const t = o.tagName.toLowerCase();
403
+ return t === "input" || t === "textarea" || t === "select";
404
+ }
405
+ function h(o) {
406
+ if (o == null)
407
+ return o;
408
+ if (o instanceof Date)
409
+ return o.toISOString();
410
+ if (typeof File < "u" && o instanceof File)
411
+ return {
412
+ __file: !0,
413
+ name: o.name,
414
+ size: o.size,
415
+ type: o.type,
416
+ lastModified: o.lastModified
417
+ };
418
+ if (Array.isArray(o))
419
+ return o.map((t) => h(t));
420
+ if (typeof o == "object") {
421
+ const t = Object.entries(o).sort(([i], [r]) => i.localeCompare(r)), e = {};
422
+ return t.forEach(([i, r]) => {
423
+ e[i] = h(r);
424
+ }), e;
425
+ }
426
+ return o;
427
+ }
428
+ function c(o) {
429
+ if (Array.isArray(o))
430
+ return o.map((t) => c(t));
431
+ if (o && typeof o == "object") {
432
+ if (typeof File < "u" && o instanceof File)
433
+ return o;
434
+ if (o instanceof Date)
435
+ return new Date(o.getTime());
436
+ const t = {};
437
+ return Object.entries(o).forEach(([e, i]) => {
438
+ t[e] = c(i);
439
+ }), t;
440
+ }
441
+ return o;
442
+ }
443
+ function x(o) {
444
+ return o === "success" || o === "warning" || o === "error" ? o : "default";
445
+ }
446
+ class A extends p {
447
+ constructor() {
448
+ super(), this._controller = new g(), this._submitting = !1, this._autosaveTimer = null, this._readyFrame = null, this._dirtyFrame = null, this._initialSnapshot = "", this._cleanValues = {}, this._baselineReady = !1, this._dirty = !1, this._dirtyAttrSyncing = !1, this._uid = Math.random().toString(36).slice(2, 10), this._formEl = null, this._headerEl = null, this._headingEl = null, this._titleEl = null, this._descriptionEl = null, this._titleTextEl = null, this._descriptionTextEl = null, this._actionsEl = null, this._statusEl = null, this._statusTextEl = null, this._footerEl = null, this._titleSlot = null, this._headingSlot = null, this._descriptionSlot = null, this._actionsSlot = null, this._statusSlot = null, this._footerSlot = null, this._descriptionVisible = !1, this._statusVisible = !1, this._onNativeSubmit = this._onNativeSubmit.bind(this), this._onValueEvent = this._onValueEvent.bind(this), this._onBeforeUnload = this._onBeforeUnload.bind(this), this._onSlotChange = this._onSlotChange.bind(this);
449
+ }
450
+ static get observedAttributes() {
451
+ return [
452
+ "novalidate",
453
+ "variant",
454
+ "tone",
455
+ "density",
456
+ "shape",
457
+ "elevation",
458
+ "gap",
459
+ "headless",
460
+ "loading",
461
+ "autosave",
462
+ "autosave-delay",
463
+ "guard-unsaved",
464
+ "dirty",
465
+ "disabled",
466
+ "heading",
467
+ "title",
468
+ "description",
469
+ "state",
470
+ "state-text",
471
+ "loading-text",
472
+ "aria-label",
473
+ "aria-labelledby"
474
+ ];
475
+ }
476
+ connectedCallback() {
477
+ if (super.connectedCallback(), this.hasAttribute("title") && !this.hasAttribute("heading")) {
478
+ const t = this.getAttribute("title");
479
+ t != null && this.setAttribute("heading", t), this.removeAttribute("title");
480
+ }
481
+ this.root.addEventListener("submit", this._onNativeSubmit), this.root.addEventListener("slotchange", this._onSlotChange), this.addEventListener("input", this._onValueEvent), this.addEventListener("change", this._onValueEvent), this.hasAttribute("guard-unsaved") && typeof window < "u" && window.addEventListener("beforeunload", this._onBeforeUnload), queueMicrotask(() => {
482
+ !this.isConnected || this._baselineReady || this._setBaseline(this.getValues(), !1);
483
+ }), this.hasAttribute("data-ui-ready") || (typeof requestAnimationFrame == "function" ? this._readyFrame = requestAnimationFrame(() => {
484
+ this._readyFrame = null, this.setAttribute("data-ui-ready", "");
485
+ }) : this._readyFrame = window.setTimeout(() => {
486
+ this._readyFrame = null, this.setAttribute("data-ui-ready", "");
487
+ }, 16));
488
+ }
489
+ disconnectedCallback() {
490
+ this.root.removeEventListener("submit", this._onNativeSubmit), this.root.removeEventListener("slotchange", this._onSlotChange), this.removeEventListener("input", this._onValueEvent), this.removeEventListener("change", this._onValueEvent), this._readyFrame != null && (typeof cancelAnimationFrame == "function" && cancelAnimationFrame(this._readyFrame), clearTimeout(this._readyFrame), this._readyFrame = null), this._autosaveTimer && (clearTimeout(this._autosaveTimer), this._autosaveTimer = null), this._dirtyFrame != null && (typeof cancelAnimationFrame == "function" && cancelAnimationFrame(this._dirtyFrame), clearTimeout(this._dirtyFrame), this._dirtyFrame = null), typeof window < "u" && window.removeEventListener("beforeunload", this._onBeforeUnload), super.disconnectedCallback();
491
+ }
492
+ _onNativeSubmit(t) {
493
+ const e = t.target;
494
+ e != null && e.classList.contains("form") && (t.preventDefault(), t.stopPropagation(), !this.hasAttribute("disabled") && this.submit());
495
+ }
496
+ registerField(t, e) {
497
+ return this._controller.registerField(t, e);
498
+ }
499
+ setValue(t, e) {
500
+ this._controller.setValue(t, e), this._setNativeValue(t, e, this._groupNativeControls({ includeDisabled: !0 })), this._scheduleDirtyRefresh();
501
+ }
502
+ setValues(t) {
503
+ if (!t || typeof t != "object")
504
+ return;
505
+ const e = this._groupNativeControls({ includeDisabled: !0 });
506
+ Object.entries(t).forEach(([i, r]) => {
507
+ this._controller.setValue(i, r), this._setNativeValue(i, r, e);
508
+ }), this._scheduleDirtyRefresh();
509
+ }
510
+ getValues() {
511
+ const t = { ...this._controller.getValues() }, e = new Set(Object.keys(t)), i = this._collectNativeValues(e, this._groupNativeControls());
512
+ return Object.assign(t, i), t;
513
+ }
514
+ _queryNativeControls(t = {}) {
515
+ const { includeDisabled: e = !1 } = t;
516
+ return Array.from(this.querySelectorAll("input[name],textarea[name],select[name]")).filter((r) => !(!y(r) || r.closest("ui-form") !== this || !e && r.matches(":disabled")));
517
+ }
518
+ _groupNativeControls(t = {}) {
519
+ const e = /* @__PURE__ */ new Map();
520
+ return this._queryNativeControls(t).forEach((i) => {
521
+ const r = i.getAttribute("name") || "";
522
+ if (!r)
523
+ return;
524
+ const s = e.get(r) || [];
525
+ s.push(i), e.set(r, s);
526
+ }), e;
527
+ }
528
+ _collectNativeValues(t, e) {
529
+ const i = {};
530
+ return e.forEach((r, s) => {
531
+ if (t.has(s))
532
+ return;
533
+ const n = r[0];
534
+ if (n) {
535
+ if (n instanceof HTMLInputElement && n.type === "radio") {
536
+ const a = r.find((l) => l instanceof HTMLInputElement && l.checked);
537
+ i[s] = a ? a.value : "";
538
+ return;
539
+ }
540
+ if (n instanceof HTMLInputElement && n.type === "checkbox") {
541
+ if (r.length === 1) {
542
+ i[s] = n.checked;
543
+ return;
544
+ }
545
+ i[s] = r.filter((a) => a instanceof HTMLInputElement && a.checked).map((a) => a.value || "on");
546
+ return;
547
+ }
548
+ if (n instanceof HTMLSelectElement && n.multiple) {
549
+ i[s] = Array.from(n.selectedOptions).map((a) => a.value);
550
+ return;
551
+ }
552
+ if (n instanceof HTMLInputElement && n.type === "file") {
553
+ i[s] = Array.from(n.files || []);
554
+ return;
555
+ }
556
+ i[s] = n.value;
557
+ }
558
+ }), i;
559
+ }
560
+ _setNativeValue(t, e, i) {
561
+ const r = (i || this._groupNativeControls({ includeDisabled: !0 })).get(t) || [];
562
+ if (!r.length)
563
+ return;
564
+ const s = r[0];
565
+ if (s) {
566
+ if (s instanceof HTMLInputElement && s.type === "radio") {
567
+ const n = String(e ?? "");
568
+ r.forEach((a) => {
569
+ a instanceof HTMLInputElement && (a.checked = a.value === n);
570
+ });
571
+ return;
572
+ }
573
+ if (s instanceof HTMLInputElement && s.type === "checkbox") {
574
+ if (r.length === 1) {
575
+ const a = typeof e == "boolean" ? e : !!e;
576
+ s.checked = a;
577
+ return;
578
+ }
579
+ const n = Array.isArray(e) ? e.map((a) => String(a)) : [];
580
+ r.forEach((a) => {
581
+ a instanceof HTMLInputElement && (a.checked = n.includes(a.value || "on"));
582
+ });
583
+ return;
584
+ }
585
+ if (s instanceof HTMLSelectElement && s.multiple) {
586
+ const n = Array.isArray(e) ? e.map((a) => String(a)) : [];
587
+ Array.from(s.options).forEach((a) => {
588
+ a.selected = n.includes(a.value);
589
+ });
590
+ return;
591
+ }
592
+ s instanceof HTMLInputElement && s.type === "file" || (s.value = String(e ?? ""));
593
+ }
594
+ }
595
+ async validate() {
596
+ const t = await this._controller.validateAll(), e = this._validateNativeControls(), i = {
597
+ valid: t.valid && e.valid,
598
+ errors: { ...e.errors, ...t.errors }
599
+ };
600
+ return this.dispatchEvent(
601
+ new CustomEvent("validate", {
602
+ bubbles: !0,
603
+ composed: !0,
604
+ detail: i
605
+ })
606
+ ), i;
607
+ }
608
+ _validateNativeControls() {
609
+ const t = {};
610
+ let e = null, i = !0;
611
+ return this._groupNativeControls().forEach((s, n) => {
612
+ for (const a of s)
613
+ if (!(!a.willValidate || a.checkValidity())) {
614
+ i = !1, t[n] || (t[n] = a.validationMessage || "invalid"), e || (e = a);
615
+ break;
616
+ }
617
+ }), { valid: i, errors: t, firstInvalid: e };
618
+ }
619
+ async submit() {
620
+ if (this._submitting || this.hasAttribute("loading") || this.hasAttribute("disabled"))
621
+ return !1;
622
+ this._submitting = !0;
623
+ const t = this.hasAttribute("loading");
624
+ t || this.setAttribute("loading", "");
625
+ try {
626
+ const e = this.getValues();
627
+ if (!this.hasAttribute("novalidate")) {
628
+ const r = await this._controller.validateAll(), s = this._validateNativeControls(), n = { ...s.errors, ...r.errors }, a = r.valid && s.valid;
629
+ if (this.dispatchEvent(
630
+ new CustomEvent("validate", {
631
+ bubbles: !0,
632
+ composed: !0,
633
+ detail: { valid: a, errors: n }
634
+ })
635
+ ), !a)
636
+ return this.dispatchEvent(
637
+ new CustomEvent("invalid", {
638
+ bubbles: !0,
639
+ composed: !0,
640
+ detail: { errors: n, values: e }
641
+ })
642
+ ), this._focusFirstInvalid(s.firstInvalid, n), !1;
643
+ }
644
+ return this.dispatchEvent(
645
+ new CustomEvent("submit", {
646
+ bubbles: !0,
647
+ composed: !0,
648
+ detail: { values: e }
649
+ })
650
+ ), this.markClean(e), !0;
651
+ } finally {
652
+ this._submitting = !1, t || this.removeAttribute("loading");
653
+ }
654
+ }
655
+ _focusFirstInvalid(t, e) {
656
+ var n;
657
+ if (t) {
658
+ t.focus();
659
+ return;
660
+ }
661
+ const i = (n = Object.entries(e).find(([, a]) => !!a)) == null ? void 0 : n[0];
662
+ if (!i)
663
+ return;
664
+ const r = i.replace(/"/g, '\\"'), s = this.querySelector(`[name="${r}"]`);
665
+ !s || typeof s.focus != "function" || s.focus();
666
+ }
667
+ async requestSubmit() {
668
+ return this.submit();
669
+ }
670
+ reset(t) {
671
+ if (t && typeof t == "object") {
672
+ this.setValues(t), this.markClean(t);
673
+ return;
674
+ }
675
+ this.setValues(this._cleanValues), this.markClean(this._cleanValues);
676
+ }
677
+ get dirty() {
678
+ return this._dirty;
679
+ }
680
+ isDirty() {
681
+ return this._dirty;
682
+ }
683
+ markClean(t) {
684
+ if (t && typeof t == "object") {
685
+ this._setBaseline(t);
686
+ return;
687
+ }
688
+ this._setBaseline(this.getValues());
689
+ }
690
+ _setBaseline(t, e = !0) {
691
+ this._cleanValues = c(t || {}), this._initialSnapshot = this._snapshot(this._cleanValues), this._baselineReady = !0, this._setDirty(!1, e);
692
+ }
693
+ _snapshot(t) {
694
+ const e = t && typeof t == "object" ? t : this.getValues();
695
+ try {
696
+ return JSON.stringify(h(e || {}));
697
+ } catch {
698
+ return "";
699
+ }
700
+ }
701
+ _setDirty(t, e = !0) {
702
+ this._dirty !== t && (this._dirty = t, this._dirtyAttrSyncing = !0, t ? this.setAttribute("dirty", "") : this.hasAttribute("dirty") && this.removeAttribute("dirty"), this._dirtyAttrSyncing = !1, this._syncStatus(), this._syncFormAttrs(), e && this.dispatchEvent(
703
+ new CustomEvent("dirty-change", {
704
+ bubbles: !0,
705
+ composed: !0,
706
+ detail: { dirty: t, values: this.getValues() }
707
+ })
708
+ ));
709
+ }
710
+ _scheduleDirtyRefresh() {
711
+ if (this._dirtyFrame != null)
712
+ return;
713
+ const t = typeof window < "u" ? window.setTimeout.bind(window) : setTimeout;
714
+ this._dirtyFrame = t(() => {
715
+ this._dirtyFrame = null, this._refreshDirtyState();
716
+ }, 0);
717
+ }
718
+ _refreshDirtyState() {
719
+ if (!this._baselineReady)
720
+ return;
721
+ const t = this._snapshot() !== this._initialSnapshot;
722
+ if (this._setDirty(t), !this.hasAttribute("autosave"))
723
+ return;
724
+ if (!t || this.hasAttribute("loading")) {
725
+ this._autosaveTimer && (clearTimeout(this._autosaveTimer), this._autosaveTimer = null);
726
+ return;
727
+ }
728
+ const e = Number(this.getAttribute("autosave-delay") || 800), i = Number.isFinite(e) && e >= 0 ? e : 800;
729
+ this._autosaveTimer && clearTimeout(this._autosaveTimer), this._autosaveTimer = setTimeout(() => {
730
+ this._autosaveTimer = null, this._dirty && this.dispatchEvent(
731
+ new CustomEvent("autosave", {
732
+ bubbles: !0,
733
+ composed: !0,
734
+ detail: { values: this.getValues(), dirty: this._dirty }
735
+ })
736
+ );
737
+ }, i);
738
+ }
739
+ _onValueEvent(t) {
740
+ const e = t.target;
741
+ if (!e || e === this)
742
+ return;
743
+ const i = e.closest("ui-form");
744
+ i && i !== this || this._scheduleDirtyRefresh();
745
+ }
746
+ _onBeforeUnload(t) {
747
+ !this.hasAttribute("guard-unsaved") || !this._dirty || (t.preventDefault(), t.returnValue = "");
748
+ }
749
+ _onSlotChange() {
750
+ this._syncStructure(), this._syncStatus(), this._syncFormAttrs(), this._scheduleDirtyRefresh();
751
+ }
752
+ _syncGap() {
753
+ const t = this.getAttribute("gap");
754
+ t ? this.style.setProperty("--ui-form-gap", t) : this.style.removeProperty("--ui-form-gap");
755
+ }
756
+ _syncFormAttrs() {
757
+ const t = this._formEl;
758
+ if (!t)
759
+ return;
760
+ t.setAttribute("aria-busy", this.hasAttribute("loading") ? "true" : "false");
761
+ const e = this.hasAttribute("disabled");
762
+ t.setAttribute("aria-disabled", e ? "true" : "false"), e ? t.setAttribute("inert", "") : t.removeAttribute("inert"), this.hasAttribute("novalidate") ? t.setAttribute("novalidate", "") : t.removeAttribute("novalidate");
763
+ const i = this.getAttribute("aria-label"), r = this.getAttribute("aria-labelledby");
764
+ i ? t.setAttribute("aria-label", i) : t.removeAttribute("aria-label"), r ? t.setAttribute("aria-labelledby", r) : t.removeAttribute("aria-labelledby");
765
+ const s = [];
766
+ this._descriptionVisible && s.push(`${this._uid}-description`), this._statusVisible && s.push(`${this._uid}-status`), s.length ? t.setAttribute("aria-describedby", s.join(" ")) : t.removeAttribute("aria-describedby");
767
+ }
768
+ _syncStructure() {
769
+ const t = (this.getAttribute("heading") || this.getAttribute("title") || "").trim(), e = (this.getAttribute("description") || "").trim(), i = u(this._headingSlot), r = u(this._titleSlot), s = u(this._descriptionSlot), n = u(this._actionsSlot), a = u(this._footerSlot), l = !!t || i || r, d = !!e || s, f = l || d, b = f || n;
770
+ this._titleTextEl && (this._titleTextEl.textContent = t, !t || i || r ? this._titleTextEl.setAttribute("hidden", "") : this._titleTextEl.removeAttribute("hidden")), this._descriptionTextEl && (this._descriptionTextEl.textContent = e, !e || s ? this._descriptionTextEl.setAttribute("hidden", "") : this._descriptionTextEl.removeAttribute("hidden")), this._titleEl && (l ? this._titleEl.removeAttribute("hidden") : this._titleEl.setAttribute("hidden", "")), this._descriptionEl && (d ? this._descriptionEl.removeAttribute("hidden") : this._descriptionEl.setAttribute("hidden", "")), this._headingEl && (f ? this._headingEl.removeAttribute("hidden") : this._headingEl.setAttribute("hidden", "")), this._actionsEl && (n ? this._actionsEl.removeAttribute("hidden") : this._actionsEl.setAttribute("hidden", "")), this._headerEl && (b ? this._headerEl.removeAttribute("hidden") : this._headerEl.setAttribute("hidden", "")), this._footerEl && (a ? this._footerEl.removeAttribute("hidden") : this._footerEl.setAttribute("hidden", "")), this._descriptionVisible = d;
771
+ }
772
+ _deriveStatusTextAndTone() {
773
+ const t = this.hasAttribute("loading"), e = x(this.getAttribute("state")), i = (this.getAttribute("state-text") || "").trim(), r = (this.getAttribute("loading-text") || "").trim() || "Saving changes...";
774
+ return t ? { text: r, tone: "loading" } : i ? { text: i, tone: e } : e === "success" ? { text: "Saved", tone: "success" } : e === "warning" ? { text: "Needs attention", tone: "warning" } : e === "error" ? { text: "Validation errors present", tone: "error" } : this._dirty ? { text: "Unsaved changes", tone: "warning" } : { text: "", tone: "default" };
775
+ }
776
+ _syncStatus() {
777
+ if (!this._statusEl || !this._statusTextEl)
778
+ return;
779
+ const t = u(this._statusSlot), e = this._deriveStatusTextAndTone();
780
+ t ? this._statusTextEl.setAttribute("hidden", "") : (this._statusTextEl.textContent = e.text, e.text ? this._statusTextEl.removeAttribute("hidden") : this._statusTextEl.setAttribute("hidden", ""));
781
+ const i = t || !!e.text;
782
+ i ? this._statusEl.removeAttribute("hidden") : this._statusEl.setAttribute("hidden", ""), this._statusEl.setAttribute("data-tone", e.tone), this._statusVisible = i;
783
+ }
784
+ attributeChangedCallback(t, e, i) {
785
+ if (e !== i) {
786
+ if (t === "title") {
787
+ i != null && !this.hasAttribute("heading") && this.setAttribute("heading", i), this.hasAttribute("title") && this.removeAttribute("title");
788
+ return;
789
+ }
790
+ if (_.has(t)) {
791
+ this._syncStructure(), this._syncStatus(), this._syncFormAttrs();
792
+ return;
793
+ }
794
+ if (t === "gap") {
795
+ this._syncGap();
796
+ return;
797
+ }
798
+ if (t === "dirty") {
799
+ if (!this._dirtyAttrSyncing) {
800
+ const r = this.hasAttribute("dirty");
801
+ this._dirty = r, this._syncStatus(), this._syncFormAttrs();
802
+ }
803
+ return;
804
+ }
805
+ if (t === "loading" || t === "novalidate" || t === "state" || t === "state-text" || t === "loading-text" || t === "disabled") {
806
+ this._syncStatus(), this._syncFormAttrs();
807
+ return;
808
+ }
809
+ if (t === "guard-unsaved") {
810
+ if (typeof window > "u")
811
+ return;
812
+ this.hasAttribute("guard-unsaved") ? window.addEventListener("beforeunload", this._onBeforeUnload) : window.removeEventListener("beforeunload", this._onBeforeUnload);
813
+ return;
814
+ }
815
+ (t === "aria-label" || t === "aria-labelledby") && this._syncFormAttrs();
816
+ }
817
+ }
818
+ render() {
819
+ this._syncGap();
820
+ const t = this.getAttribute("heading") || this.getAttribute("title") || "", e = this.getAttribute("description") || "";
821
+ this.setContent(`
822
+ <style>${v}</style>
823
+ <form
824
+ class="form"
825
+ part="form"
826
+ aria-busy="${this.hasAttribute("loading") ? "true" : "false"}"
827
+ ${this.hasAttribute("novalidate") ? "novalidate" : ""}
828
+ >
829
+ <header class="header" part="header">
830
+ <div class="heading" part="heading">
831
+ <h2 class="title" id="${this._uid}-title" part="title">
832
+ <slot name="heading"></slot>
833
+ <slot name="title"></slot>
834
+ <span class="title-text">${m(t)}</span>
835
+ </h2>
836
+ <p class="description" id="${this._uid}-description" part="description">
837
+ <slot name="description"></slot>
838
+ <span class="description-text">${m(e)}</span>
839
+ </p>
840
+ </div>
841
+ <div class="actions" part="actions"><slot name="actions"></slot></div>
842
+ </header>
843
+
844
+ <div class="body" part="body"><slot></slot></div>
845
+
846
+ <div class="status" id="${this._uid}-status" part="status" role="status" aria-live="polite">
847
+ <span class="status-text"></span>
848
+ <slot name="status"></slot>
849
+ </div>
850
+
851
+ <footer class="footer" part="footer"><slot name="footer"></slot></footer>
852
+ </form>
853
+ `), this._formEl = this.root.querySelector(".form"), this._headerEl = this.root.querySelector(".header"), this._headingEl = this.root.querySelector(".heading"), this._titleEl = this.root.querySelector(".title"), this._descriptionEl = this.root.querySelector(".description"), this._titleTextEl = this.root.querySelector(".title-text"), this._descriptionTextEl = this.root.querySelector(".description-text"), this._actionsEl = this.root.querySelector(".actions"), this._statusEl = this.root.querySelector(".status"), this._statusTextEl = this.root.querySelector(".status-text"), this._footerEl = this.root.querySelector(".footer"), this._headingSlot = this.root.querySelector('slot[name="heading"]'), this._titleSlot = this.root.querySelector('slot[name="title"]'), this._descriptionSlot = this.root.querySelector('slot[name="description"]'), this._actionsSlot = this.root.querySelector('slot[name="actions"]'), this._statusSlot = this.root.querySelector('slot[name="status"]'), this._footerSlot = this.root.querySelector('slot[name="footer"]'), this._syncStructure(), this._syncStatus(), this._syncFormAttrs();
854
+ }
855
+ shouldRenderOnAttributeChange(t, e, i) {
856
+ return !1;
857
+ }
858
+ }
859
+ typeof customElements < "u" && !customElements.get("ui-form") && customElements.define("ui-form", A);
860
+ export {
861
+ A as UIForm
862
+ };