@duetds/components 4.35.4 → 5.0.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 (332) hide show
  1. package/hydrate/index.js +1708 -1055
  2. package/lib/cjs/duet-action-button.cjs.entry.js +163 -0
  3. package/lib/cjs/duet-alert.cjs.entry.js +1 -1
  4. package/lib/cjs/duet-badge.cjs.entry.js +1 -1
  5. package/lib/cjs/duet-breadcrumb.cjs.entry.js +1 -1
  6. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
  7. package/lib/cjs/duet-button_2.cjs.entry.js +14 -5
  8. package/lib/cjs/duet-caption_4.cjs.entry.js +3 -3
  9. package/lib/cjs/duet-card.cjs.entry.js +4 -4
  10. package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
  11. package/lib/cjs/duet-choice_2.cjs.entry.js +3 -3
  12. package/lib/cjs/duet-collapsible.cjs.entry.js +4 -4
  13. package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
  14. package/lib/cjs/duet-date-picker.cjs.entry.js +4 -4
  15. package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
  16. package/lib/cjs/{duet-editable-table_4.cjs.entry.js → duet-editable-table_3.cjs.entry.js} +382 -346
  17. package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
  18. package/lib/cjs/duet-fieldset.cjs.entry.js +1 -1
  19. package/lib/cjs/duet-footer.cjs.entry.js +1 -1
  20. package/lib/cjs/duet-grid_2.cjs.entry.js +2 -2
  21. package/lib/cjs/duet-header_2.cjs.entry.js +4 -4
  22. package/lib/cjs/duet-hero.cjs.entry.js +1 -1
  23. package/lib/cjs/duet-icon.cjs.entry.js +3 -3
  24. package/lib/cjs/duet-input_2.cjs.entry.js +1 -1
  25. package/lib/cjs/duet-layout.cjs.entry.js +1 -1
  26. package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
  27. package/lib/cjs/duet-modal.cjs.entry.js +3 -3
  28. package/lib/cjs/duet-notification_2.cjs.entry.js +1 -1
  29. package/lib/cjs/duet-number-input.cjs.entry.js +2 -2
  30. package/lib/cjs/duet-pagination_2.cjs.entry.js +458 -0
  31. package/lib/cjs/duet-progress.cjs.entry.js +1 -1
  32. package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
  33. package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
  34. package/lib/cjs/duet-scrollable_3.cjs.entry.js +3 -3
  35. package/lib/cjs/duet-select.cjs.entry.js +16 -4
  36. package/lib/cjs/duet-step_2.cjs.entry.js +2 -2
  37. package/lib/cjs/duet-textarea.cjs.entry.js +1 -1
  38. package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
  39. package/lib/cjs/duet-tooltip.cjs.entry.js +1 -1
  40. package/lib/cjs/duet-tray.cjs.entry.js +2 -2
  41. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  42. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  43. package/lib/cjs/duet.cjs.js +2 -2
  44. package/lib/cjs/{focus-utils-eb8c5b20.js → focus-utils-7a11c463.js} +1 -1
  45. package/lib/cjs/{index-6ae8090f.js → index-da5d5aaf.js} +4 -1
  46. package/lib/cjs/js-utils-be1d29ae.js +39 -0
  47. package/lib/cjs/{keyboard-utils-b4e3d1d3.js → keyboard-utils-898cfe14.js} +8 -0
  48. package/lib/cjs/loader.cjs.js +2 -2
  49. package/lib/cjs/{token-utils-05bd23b4.js → token-utils-ac8432d1.js} +10 -7
  50. package/lib/cjs/{tokens-8596cece.js → tokens-72efc7fd.js} +0 -0
  51. package/lib/cjs/{tokens.module-6b2df1c2.js → tokens.module-6afcc9c1.js} +0 -0
  52. package/lib/collection/collection-manifest.json +22 -11
  53. package/lib/collection/components/duet-action-button/duet-action-button.css +87 -0
  54. package/lib/collection/components/duet-action-button/duet-action-button.js +489 -0
  55. package/lib/collection/components/duet-button/duet-button.css +3 -0
  56. package/lib/collection/components/duet-button/duet-button.js +50 -1
  57. package/lib/collection/components/duet-card/duet-card.js +1 -1
  58. package/lib/collection/components/duet-collapsible/duet-collapsible.js +2 -1
  59. package/lib/collection/components/duet-date-picker/duet-date-picker.css +2 -57
  60. package/lib/collection/components/duet-date-picker/duet-date-picker.js +2 -6
  61. package/lib/collection/components/duet-editable-table/duet-editable-table-tabledata.js +3 -2
  62. package/lib/collection/components/duet-editable-table/duet-editable-table.css +20 -1
  63. package/lib/collection/components/duet-editable-table/duet-editable-table.js +331 -205
  64. package/lib/collection/components/duet-pagination/duet-pagination-utils.js +9 -0
  65. package/lib/collection/components/duet-pagination/duet-pagination.css +61 -0
  66. package/lib/collection/components/duet-pagination/duet-pagination.js +541 -0
  67. package/lib/collection/components/duet-range-stepper/duet-range-stepper.css +49 -0
  68. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +340 -0
  69. package/lib/collection/components/duet-select/duet-select.css +26 -0
  70. package/lib/collection/components/duet-select/duet-select.js +39 -4
  71. package/lib/collection/components/duet-tab-group/duet-tab-group.js +5 -1
  72. package/lib/collection/components/duet-table/duet-table.css +42 -8
  73. package/lib/collection/components/duet-table/duet-table.js +11 -2
  74. package/lib/collection/components/duet-upload/duet-upload.css +25 -0
  75. package/lib/collection/components/duet-upload/duet-upload.js +270 -166
  76. package/lib/collection/components/duet-upload/upload-validators.js +1 -1
  77. package/lib/collection/utils/fixture-utils.js +3 -5
  78. package/lib/collection/utils/js-utils.js +36 -1
  79. package/lib/collection/utils/keyboard-utils.js +4 -0
  80. package/lib/collection/utils/test-utils.js +2 -1
  81. package/lib/collection/utils/token-utils.js +33 -6
  82. package/lib/custom-elements-bundle/index.d.ts +18 -12
  83. package/lib/custom-elements-bundle/index.js +1653 -1046
  84. package/lib/duet/duet.esm.js +1 -1
  85. package/lib/duet/duet.js +1 -1
  86. package/lib/duet/{p-503f1286.entry.js → p-00209700.entry.js} +1 -1
  87. package/lib/duet/{p-76fa8882.entry.js → p-01144f93.entry.js} +1 -1
  88. package/lib/duet/{p-ec2aea5f.system.entry.js → p-021bf3a2.system.entry.js} +1 -1
  89. package/lib/duet/{p-0169d57e.entry.js → p-04c6e557.entry.js} +1 -1
  90. package/lib/duet/{p-03a5fe42.system.entry.js → p-06fd151e.system.entry.js} +1 -1
  91. package/lib/duet/p-0988f548.entry.js +4 -0
  92. package/lib/duet/{p-d5a4b17f.system.entry.js → p-0e1130a0.system.entry.js} +1 -1
  93. package/lib/duet/{p-e4e99da0.entry.js → p-0fedc1c6.entry.js} +1 -1
  94. package/lib/duet/{p-2c85e001.system.entry.js → p-111b70c5.system.entry.js} +1 -1
  95. package/lib/duet/p-12825e2c.entry.js +4 -0
  96. package/lib/duet/p-166c09ce.system.entry.js +4 -0
  97. package/lib/duet/{p-8367a2d1.entry.js → p-1be45fc6.entry.js} +1 -1
  98. package/lib/duet/{p-253fd12a.system.entry.js → p-1da57e19.system.entry.js} +1 -1
  99. package/lib/duet/{p-b72ed5ef.system.entry.js → p-21c9efa8.system.entry.js} +1 -1
  100. package/lib/duet/{p-01679b51.entry.js → p-2245c56b.entry.js} +1 -1
  101. package/lib/duet/p-2273fc88.js +4 -0
  102. package/lib/duet/{p-5630828a.system.entry.js → p-232762b3.system.entry.js} +1 -1
  103. package/lib/duet/{p-3025a411.system.js → p-251dc733.system.js} +1 -1
  104. package/lib/duet/{p-ddb6344c.system.js → p-268c0abb.system.js} +0 -0
  105. package/lib/duet/{p-9077cd24.system.entry.js → p-2b6dac5c.system.entry.js} +1 -1
  106. package/lib/duet/{p-bba528b5.entry.js → p-35cdec32.entry.js} +1 -1
  107. package/lib/duet/{p-ee598605.entry.js → p-37bdfcc6.entry.js} +1 -1
  108. package/lib/duet/{p-c3d552d5.entry.js → p-3c7d81b0.entry.js} +1 -1
  109. package/lib/duet/{p-824d2360.system.entry.js → p-3f77090f.system.entry.js} +1 -1
  110. package/lib/duet/{p-7b451394.system.js → p-3fafe82f.system.js} +1 -1
  111. package/lib/duet/{p-2395f96e.system.entry.js → p-4b221aa3.system.entry.js} +1 -1
  112. package/lib/duet/{p-4ea864dd.system.entry.js → p-4b7b1d2a.system.entry.js} +1 -1
  113. package/lib/duet/p-4c282c1a.entry.js +4 -0
  114. package/lib/duet/p-51a7c020.entry.js +4 -0
  115. package/lib/duet/{p-e8ce8394.entry.js → p-5298f6fb.entry.js} +1 -1
  116. package/lib/duet/p-5746d88c.js +4 -0
  117. package/lib/duet/{p-dfd96467.entry.js → p-589c2f28.entry.js} +1 -1
  118. package/lib/duet/{p-f98fca13.system.entry.js → p-592315ca.system.entry.js} +1 -1
  119. package/lib/duet/{p-6cff80cb.system.entry.js → p-59a0ec33.system.entry.js} +1 -1
  120. package/lib/duet/p-5e1f64cb.entry.js +4 -0
  121. package/lib/duet/{p-73b5248d.entry.js → p-608645ed.entry.js} +1 -1
  122. package/lib/duet/{p-8ea92cc5.entry.js → p-683f1962.entry.js} +1 -1
  123. package/lib/duet/{p-55fff1fe.entry.js → p-6932c6d8.entry.js} +1 -1
  124. package/lib/duet/{p-731444f6.entry.js → p-6934cb1b.entry.js} +1 -1
  125. package/lib/duet/{p-caab828f.system.entry.js → p-6d209c01.system.entry.js} +1 -1
  126. package/lib/duet/{p-61198eee.system.entry.js → p-70e5c803.system.entry.js} +1 -1
  127. package/lib/duet/p-74780bca.system.js +4 -0
  128. package/lib/duet/p-74d267d3.system.entry.js +4 -0
  129. package/lib/duet/{p-2bfe8b50.system.entry.js → p-766daacb.system.entry.js} +1 -1
  130. package/lib/duet/p-77acbfe4.system.js +4 -0
  131. package/lib/duet/p-7953cff9.system.entry.js +4 -0
  132. package/lib/duet/{p-01f3fbd4.system.entry.js → p-7e939e57.system.entry.js} +1 -1
  133. package/lib/duet/{p-fa99eaa4.system.js → p-812b0905.system.js} +0 -0
  134. package/lib/duet/{p-c122428f.entry.js → p-814ed07c.entry.js} +1 -1
  135. package/lib/duet/{p-04304e51.entry.js → p-82a0e535.entry.js} +1 -1
  136. package/lib/duet/{p-4a60b131.system.entry.js → p-8338702d.system.entry.js} +1 -1
  137. package/lib/duet/{p-e682d701.system.entry.js → p-85b4b5c0.system.entry.js} +2 -2
  138. package/lib/duet/{p-e3229d0d.entry.js → p-86538787.entry.js} +1 -1
  139. package/lib/duet/p-898f30a5.js +4 -0
  140. package/lib/duet/{p-40a76f20.entry.js → p-8f01f647.entry.js} +1 -1
  141. package/lib/duet/{p-a39a0a45.entry.js → p-8f6def3f.entry.js} +1 -1
  142. package/lib/duet/{p-753098ec.entry.js → p-90464434.entry.js} +1 -1
  143. package/lib/duet/p-92639d0b.system.js +4 -0
  144. package/lib/duet/{p-873e4c51.system.entry.js → p-97f95c02.system.entry.js} +2 -2
  145. package/lib/duet/{p-ea30becb.system.entry.js → p-982deb44.system.entry.js} +1 -1
  146. package/lib/duet/{p-7fd62541.entry.js → p-9dc88c43.entry.js} +1 -1
  147. package/lib/duet/{p-412f58cf.entry.js → p-a37e57d8.entry.js} +1 -1
  148. package/lib/duet/{p-da1f6193.system.entry.js → p-a71510b8.system.entry.js} +1 -1
  149. package/lib/duet/p-a8eec12e.system.entry.js +4 -0
  150. package/lib/duet/{p-4d8cd455.system.entry.js → p-abcfbb23.system.entry.js} +1 -1
  151. package/lib/duet/{p-99262d61.entry.js → p-ac2b38e6.entry.js} +1 -1
  152. package/lib/duet/{p-24b4eefb.system.entry.js → p-ace2cd17.system.entry.js} +1 -1
  153. package/lib/duet/{p-94a2da86.system.entry.js → p-ad278903.system.entry.js} +1 -1
  154. package/lib/duet/{p-a0deb526.entry.js → p-aea907ad.entry.js} +1 -1
  155. package/lib/duet/{p-9690681b.system.entry.js → p-b432d318.system.entry.js} +1 -1
  156. package/lib/duet/{p-44fe8367.system.entry.js → p-b4e75f80.system.entry.js} +1 -1
  157. package/lib/duet/{p-c1b34a78.system.entry.js → p-b8c8105c.system.entry.js} +1 -1
  158. package/lib/duet/{p-efd978ee.entry.js → p-ba7480e9.entry.js} +1 -1
  159. package/lib/duet/p-bc7dba26.entry.js +4 -0
  160. package/lib/duet/{p-a926b44b.entry.js → p-bf06f635.entry.js} +1 -1
  161. package/lib/duet/p-c6ccf366.system.entry.js +4 -0
  162. package/lib/duet/{p-7cdb8bfa.entry.js → p-cd1a767f.entry.js} +1 -1
  163. package/lib/duet/p-d6d9b0c6.system.entry.js +4 -0
  164. package/lib/duet/{p-8143f3de.js → p-d7bc0102.js} +0 -0
  165. package/lib/duet/{p-fb98ac5a.entry.js → p-d9e329c0.entry.js} +1 -1
  166. package/lib/duet/p-dbb4a588.js +4 -0
  167. package/lib/duet/{p-f51f8554.entry.js → p-dc67d989.entry.js} +1 -1
  168. package/lib/duet/{p-a69667c7.entry.js → p-de9ff67c.entry.js} +1 -1
  169. package/lib/duet/{p-0f185a8a.system.entry.js → p-deb8ac4d.system.entry.js} +1 -1
  170. package/lib/duet/p-e2e0bc49.system.js +4 -0
  171. package/lib/duet/{p-6b24111b.system.entry.js → p-e624799f.system.entry.js} +1 -1
  172. package/lib/duet/{p-8973aa31.system.entry.js → p-e887d6db.system.entry.js} +1 -1
  173. package/lib/duet/p-e9c3053b.js +4 -0
  174. package/lib/duet/{p-a212f672.system.entry.js → p-ebed7c5e.system.entry.js} +1 -1
  175. package/lib/duet/{p-ad07f399.js → p-ed75c8b3.js} +0 -0
  176. package/lib/duet/{p-4a931c6c.system.entry.js → p-f020852e.system.entry.js} +1 -1
  177. package/lib/duet/p-f2abd301.entry.js +4 -0
  178. package/lib/duet/{p-fc35b926.system.entry.js → p-f54d1487.system.entry.js} +1 -1
  179. package/lib/duet/{p-17f85b90.entry.js → p-fc44a819.entry.js} +1 -1
  180. package/lib/duet/{p-bc6794bc.system.entry.js → p-fcdd24f8.system.entry.js} +1 -1
  181. package/lib/duet/{p-5e895b06.entry.js → p-fed35d92.entry.js} +1 -1
  182. package/lib/duet/{p-de5c3a36.entry.js → p-ff308f4c.entry.js} +1 -1
  183. package/lib/esm/duet-action-button.entry.js +159 -0
  184. package/lib/esm/duet-alert.entry.js +1 -1
  185. package/lib/esm/duet-badge.entry.js +1 -1
  186. package/lib/esm/duet-breadcrumb.entry.js +1 -1
  187. package/lib/esm/duet-breadcrumbs.entry.js +1 -1
  188. package/lib/esm/duet-button_2.entry.js +14 -5
  189. package/lib/esm/duet-caption_4.entry.js +3 -3
  190. package/lib/esm/duet-card.entry.js +4 -4
  191. package/lib/esm/duet-checkbox.entry.js +1 -1
  192. package/lib/esm/duet-choice_2.entry.js +3 -3
  193. package/lib/esm/duet-collapsible.entry.js +4 -4
  194. package/lib/esm/duet-cookie-consent.entry.js +1 -1
  195. package/lib/esm/duet-date-picker.entry.js +4 -4
  196. package/lib/esm/duet-divider_2.entry.js +1 -1
  197. package/lib/esm/{duet-editable-table_4.entry.js → duet-editable-table_3.entry.js} +384 -347
  198. package/lib/esm/duet-empty-state.entry.js +1 -1
  199. package/lib/esm/duet-fieldset.entry.js +1 -1
  200. package/lib/esm/duet-footer.entry.js +1 -1
  201. package/lib/esm/duet-grid_2.entry.js +2 -2
  202. package/lib/esm/duet-header_2.entry.js +4 -4
  203. package/lib/esm/duet-hero.entry.js +1 -1
  204. package/lib/esm/duet-icon.entry.js +3 -3
  205. package/lib/esm/duet-input_2.entry.js +1 -1
  206. package/lib/esm/duet-layout.entry.js +1 -1
  207. package/lib/esm/duet-list_2.entry.js +1 -1
  208. package/lib/esm/duet-modal.entry.js +3 -3
  209. package/lib/esm/duet-notification_2.entry.js +1 -1
  210. package/lib/esm/duet-number-input.entry.js +2 -2
  211. package/lib/esm/duet-pagination_2.entry.js +453 -0
  212. package/lib/esm/duet-progress.entry.js +1 -1
  213. package/lib/esm/duet-radio_2.entry.js +1 -1
  214. package/lib/esm/duet-range-slider.entry.js +2 -2
  215. package/lib/esm/duet-scrollable_3.entry.js +3 -3
  216. package/lib/esm/duet-select.entry.js +16 -4
  217. package/lib/esm/duet-step_2.entry.js +2 -2
  218. package/lib/esm/duet-textarea.entry.js +1 -1
  219. package/lib/esm/duet-toggle.entry.js +1 -1
  220. package/lib/esm/duet-tooltip.entry.js +1 -1
  221. package/lib/esm/duet-tray.entry.js +2 -2
  222. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  223. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  224. package/lib/esm/duet.js +2 -2
  225. package/lib/esm/{focus-utils-6db957a7.js → focus-utils-b0b3361f.js} +1 -1
  226. package/lib/esm/{index-828dfb4e.js → index-16f4da7f.js} +4 -1
  227. package/lib/esm/js-utils-52e0944c.js +36 -0
  228. package/lib/esm/{keyboard-utils-584cedd7.js → keyboard-utils-6eb55cd5.js} +5 -1
  229. package/lib/esm/loader.js +2 -2
  230. package/lib/esm/{token-utils-75f78ca4.js → token-utils-e9a0cb88.js} +10 -7
  231. package/lib/esm/{tokens-e110dc89.js → tokens-57d98824.js} +0 -0
  232. package/lib/esm/{tokens.module-49cbf963.js → tokens.module-a13e9683.js} +0 -0
  233. package/lib/esm-es5/duet-action-button.entry.js +4 -0
  234. package/lib/esm-es5/duet-alert.entry.js +1 -1
  235. package/lib/esm-es5/duet-badge.entry.js +1 -1
  236. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  237. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  238. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  239. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  240. package/lib/esm-es5/duet-card.entry.js +1 -1
  241. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  242. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  243. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  244. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  245. package/lib/esm-es5/duet-date-picker.entry.js +2 -2
  246. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  247. package/lib/esm-es5/duet-editable-table_3.entry.js +4 -0
  248. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  249. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  250. package/lib/esm-es5/duet-footer.entry.js +1 -1
  251. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  252. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  253. package/lib/esm-es5/duet-hero.entry.js +1 -1
  254. package/lib/esm-es5/duet-icon.entry.js +1 -1
  255. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  256. package/lib/esm-es5/duet-layout.entry.js +1 -1
  257. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  258. package/lib/esm-es5/duet-modal.entry.js +1 -1
  259. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  260. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  261. package/lib/esm-es5/duet-pagination_2.entry.js +4 -0
  262. package/lib/esm-es5/duet-progress.entry.js +1 -1
  263. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  264. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  265. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  266. package/lib/esm-es5/duet-select.entry.js +2 -2
  267. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  268. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  269. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  270. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  271. package/lib/esm-es5/duet-tray.entry.js +1 -1
  272. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  273. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  274. package/lib/esm-es5/duet.js +1 -1
  275. package/lib/esm-es5/focus-utils-b0b3361f.js +4 -0
  276. package/lib/esm-es5/{index-828dfb4e.js → index-16f4da7f.js} +1 -1
  277. package/lib/esm-es5/js-utils-52e0944c.js +4 -0
  278. package/lib/esm-es5/keyboard-utils-6eb55cd5.js +4 -0
  279. package/lib/esm-es5/loader.js +1 -1
  280. package/lib/esm-es5/token-utils-e9a0cb88.js +4 -0
  281. package/lib/esm-es5/{tokens-e110dc89.js → tokens-57d98824.js} +0 -0
  282. package/lib/esm-es5/{tokens.module-49cbf963.js → tokens.module-a13e9683.js} +0 -0
  283. package/lib/html.html-data.json +5266 -0
  284. package/lib/types/components/duet-action-button/duet-action-button.d.ts +112 -0
  285. package/lib/types/components/duet-button/duet-button.d.ts +9 -0
  286. package/lib/types/components/duet-card/duet-card.d.ts +1 -1
  287. package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +1 -0
  288. package/lib/types/components/duet-editable-table/duet-editable-table-tabledata.d.ts +2 -2
  289. package/lib/types/components/duet-editable-table/duet-editable-table.d.ts +106 -48
  290. package/lib/types/components/duet-pagination/duet-pagination-utils.d.ts +1 -0
  291. package/lib/types/components/duet-pagination/duet-pagination.d.ts +105 -0
  292. package/lib/types/components/duet-range-stepper/duet-range-stepper.d.ts +70 -0
  293. package/lib/types/components/duet-select/duet-select.d.ts +5 -0
  294. package/lib/types/components/duet-tab-group/duet-tab-group.d.ts +4 -0
  295. package/lib/types/components/duet-table/duet-table.d.ts +16 -0
  296. package/lib/types/components/duet-upload/duet-upload.d.ts +68 -58
  297. package/lib/types/components.d.ts +402 -140
  298. package/lib/types/utils/js-utils.d.ts +2 -0
  299. package/lib/types/utils/keyboard-utils.d.ts +4 -0
  300. package/lib/types/utils/token-utils.d.ts +2 -0
  301. package/package.json +5 -6
  302. package/lib/cjs/duet-editable-table-button.cjs.entry.js +0 -96
  303. package/lib/collection/components/duet-editable-table/duet-editable-table-button.css +0 -32
  304. package/lib/collection/components/duet-editable-table/duet-editable-table-button.js +0 -225
  305. package/lib/collection/components/duet-editable-table/duet-editable-table-item.css +0 -36
  306. package/lib/collection/components/duet-editable-table/duet-editable-table-item.js +0 -225
  307. package/lib/duet/p-0427e1a5.entry.js +0 -4
  308. package/lib/duet/p-04f9f1bf.js +0 -4
  309. package/lib/duet/p-0f91d386.system.entry.js +0 -4
  310. package/lib/duet/p-227e5196.js +0 -4
  311. package/lib/duet/p-2545734a.entry.js +0 -4
  312. package/lib/duet/p-2b8316ee.system.entry.js +0 -4
  313. package/lib/duet/p-477c2e5c.entry.js +0 -4
  314. package/lib/duet/p-50b4fb2c.js +0 -4
  315. package/lib/duet/p-66bf27b9.system.entry.js +0 -4
  316. package/lib/duet/p-68ecdc4f.system.entry.js +0 -4
  317. package/lib/duet/p-853cd059.js +0 -4
  318. package/lib/duet/p-a16a58c1.system.js +0 -4
  319. package/lib/duet/p-b0c16ee5.entry.js +0 -4
  320. package/lib/duet/p-b3a2a1e8.entry.js +0 -4
  321. package/lib/duet/p-bb12b972.system.js +0 -4
  322. package/lib/duet/p-c63e49e2.system.entry.js +0 -4
  323. package/lib/duet/p-e6349dd2.entry.js +0 -4
  324. package/lib/duet/p-ef3fc3f3.system.js +0 -4
  325. package/lib/esm/duet-editable-table-button.entry.js +0 -92
  326. package/lib/esm-es5/duet-editable-table-button.entry.js +0 -4
  327. package/lib/esm-es5/duet-editable-table_4.entry.js +0 -4
  328. package/lib/esm-es5/focus-utils-6db957a7.js +0 -4
  329. package/lib/esm-es5/keyboard-utils-584cedd7.js +0 -4
  330. package/lib/esm-es5/token-utils-75f78ca4.js +0 -4
  331. package/lib/types/components/duet-editable-table/duet-editable-table-button.d.ts +0 -73
  332. package/lib/types/components/duet-editable-table/duet-editable-table-item.d.ts +0 -76
@@ -1 +1,3 @@
1
1
  export declare const debounce: (func: any, timeout?: number) => (...args: any[]) => void;
2
+ export declare function fieldSorter(fields: any): (a: any, b: any) => any;
3
+ export declare const memoize: (fn: any) => (value: any) => any;
@@ -2,10 +2,14 @@ export declare const isArrowLeftKey: (e: KeyboardEvent) => boolean;
2
2
  export declare const isArrowUpKey: (e: KeyboardEvent) => boolean;
3
3
  export declare const isArrowRightKey: (e: KeyboardEvent) => boolean;
4
4
  export declare const isArrowDownKey: (e: KeyboardEvent) => boolean;
5
+ export declare const isArrowKey: (e: KeyboardEvent) => boolean;
5
6
  export declare const isEscapeKey: (e: KeyboardEvent) => boolean;
6
7
  export declare const isTabKey: (e: KeyboardEvent) => boolean;
7
8
  export declare const isBackspaceKey: (e: KeyboardEvent) => boolean;
8
9
  export declare const isSpaceKey: (e: KeyboardEvent) => boolean;
10
+ export declare const isPlusKey: (e: KeyboardEvent) => boolean;
11
+ export declare const isMinusKey: (e: KeyboardEvent) => boolean;
9
12
  export declare const isQuestionKey: (e: KeyboardEvent) => boolean;
10
13
  export declare const isEnterKey: (e: KeyboardEvent) => boolean;
11
14
  export declare const isKeyboardClick: (e: KeyboardEvent) => boolean;
15
+ export declare const isNumber: (e: KeyboardEvent) => boolean;
@@ -6,3 +6,5 @@ export declare function camelize(str?: string): string;
6
6
  export declare function getTheme(theme?: DuetTheme): DuetTheme;
7
7
  export declare function getColorByName(name: string, theme?: DuetTheme): string | undefined;
8
8
  export declare function convertToColorName(name?: string, theme?: DuetTheme): string;
9
+ export declare function getFontSizeByName(name: string): string | undefined;
10
+ export declare function getFontWeightByName(name: string): string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duetds/components",
3
- "version": "4.35.4",
3
+ "version": "5.0.0",
4
4
  "description": "This package includes Duet Design System Web Components and related utilities.",
5
5
  "bugs": {
6
6
  "email": "duetdesignsystem@lahitapiola.fi"
@@ -53,16 +53,15 @@
53
53
  "koa-colorful-logger": "0.0.3"
54
54
  },
55
55
  "devDependencies": {
56
- "@duetds/fonts": "1.4.15",
57
- "@duetds/icons": "2.2.15",
56
+ "@duetds/fonts": "1.4.18",
57
+ "@duetds/icons": "2.2.18",
58
58
  "@duetds/stencil-angular-output-target": "0.0.2",
59
59
  "@duetds/stencil-react-output-target": "0.0.10",
60
- "@duetds/tokens": "2.4.15",
60
+ "@duetds/tokens": "2.4.16",
61
61
  "@koa/cors": "3.1.0",
62
62
  "@rollup/plugin-replace": "3.0.1",
63
63
  "@stencil/core": "2.12.1",
64
64
  "@stencil/sass": "1.5.2",
65
- "@stencil/utils": "0.0.5",
66
65
  "@types/jest": "26.0.24",
67
66
  "@types/jest-image-snapshot": "4.3.1",
68
67
  "chalk": "4.1.2",
@@ -96,5 +95,5 @@
96
95
  "collection": "lib/collection/collection-manifest.json",
97
96
  "es2015": "lib/esm/index.js",
98
97
  "es2017": "lib/esm/index.js",
99
- "gitHead": "1f56f80a6a6e196d94212f538634d8eda80deaf5"
98
+ "gitHead": "a41bea547aadc3e00adbcf5c02593a57249da9bb"
100
99
  }
@@ -1,96 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- 'use strict';
5
-
6
- Object.defineProperty(exports, '__esModule', { value: true });
7
-
8
- const index = require('./index-6ae8090f.js');
9
- const languageUtils = require('./language-utils-aa282901.js');
10
- const themeableComponent = require('./themeable-component-0c1be552.js');
11
- const tokenUtils = require('./token-utils-05bd23b4.js');
12
- require('./string-utils-267e3dbb.js');
13
- require('./tokens.module-6b2df1c2.js');
14
-
15
- const duetEditableTableButtonCss = "*.sc-duet-editable-table-button,*.sc-duet-editable-table-button::after,*.sc-duet-editable-table-button::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-editable-table-button-h button.sc-duet-editable-table-button{display:flex;align-content:space-between;justify-content:center;min-width:32px;max-width:32px;height:100%;min-height:32px;max-height:32px;padding:0;margin:0;cursor:pointer !important;background-color:transparent;border:1px solid;border-radius:50%}.sc-duet-editable-table-button-h button.sc-duet-editable-table-button duet-icon.sc-duet-editable-table-button{align-self:center}";
16
-
17
- let DuetEditableTableButton = class {
18
- constructor(hostRef) {
19
- index.registerInstance(this, hostRef);
20
- this.duetEditableItemAction = index.createEvent(this, "duetEditableItemAction", 7);
21
- this.isHovering = false;
22
- /**
23
- * Theme of the empty state component.
24
- */
25
- this.theme = undefined;
26
- /**
27
- * action items passed from host component
28
- * @internal
29
- */
30
- this.actions = undefined;
31
- /**
32
- * uid that gets passed along when the action is emitted
33
- * @internal
34
- */
35
- this.uid = "";
36
- /**
37
- * group associated with action
38
- * @internal
39
- */
40
- this.group = "";
41
- /**
42
- * key of the item in the map
43
- * @internal
44
- */
45
- this.keyName = "";
46
- this.onMouseEnter = () => {
47
- this.isHovering = true;
48
- };
49
- this.onMouseLeave = () => {
50
- this.isHovering = false;
51
- };
52
- this.getColours = (byName = false) => {
53
- let colorHover = this.actions.color_hover;
54
- let colorBlur = this.actions.color;
55
- if (byName) {
56
- colorHover = tokenUtils.getColorByName(this.actions.color_hover, this.theme);
57
- colorBlur = tokenUtils.getColorByName(this.actions.color, this.theme);
58
- }
59
- return this.isHovering ? colorHover : colorBlur;
60
- };
61
- }
62
- /**
63
- /**
64
- * Component lifecycle events.
65
- */
66
- componentWillLoad() {
67
- themeableComponent.inheritGlobalTheme(this);
68
- }
69
- /**
70
- /**
71
- * private functions
72
- */
73
- emitActionEvent(ev) {
74
- this.duetEditableItemAction.emit({
75
- originalEvent: ev,
76
- uid: this.uid,
77
- group: this.group,
78
- action: this.actions.id,
79
- keyName: this.keyName,
80
- component: "duet-editable-table-item",
81
- });
82
- }
83
- /**
84
- * render() function
85
- * Always the last one in the class.
86
- */
87
- render() {
88
- return (index.h("button", { style: {
89
- "border-color": this.getColours(true),
90
- }, onMouseEnter: this.onMouseEnter, onMouseLeave: this.onMouseLeave, role: "menuitem", class: "duet-editable-table-actions-items-button", "aria-label": this.actions.label ? languageUtils.getLocaleString(this.actions.label) : undefined, onClick: ev => this.emitActionEvent(ev) }, index.h("duet-icon", { class: "duet-editable-table-actions-items-icon", size: "x-small", name: this.actions.icon, color: this.getColours(), margin: "none" })));
91
- }
92
- get el() { return index.getElement(this); }
93
- };
94
- DuetEditableTableButton.style = duetEditableTableButtonCss;
95
-
96
- exports.duet_editable_table_button = DuetEditableTableButton;
@@ -1,32 +0,0 @@
1
- *,
2
- *::after,
3
- *::before {
4
- box-sizing: border-box;
5
- padding: 0;
6
- margin: 0;
7
- background: transparent;
8
- border: 0;
9
- -moz-appearance: none;
10
- -webkit-appearance: none;
11
- appearance: none;
12
- }
13
-
14
- :host button {
15
- display: flex;
16
- align-content: space-between;
17
- justify-content: center;
18
- min-width: 32px;
19
- max-width: 32px;
20
- height: 100%;
21
- min-height: 32px;
22
- max-height: 32px;
23
- padding: 0;
24
- margin: 0;
25
- cursor: pointer !important;
26
- background-color: transparent;
27
- border: 1px solid;
28
- border-radius: 50%;
29
- }
30
- :host button duet-icon {
31
- align-self: center;
32
- }
@@ -1,225 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import { Component, Element, Event, h, Prop, State } from "@stencil/core";
5
- import { getLocaleString } from "../../utils/language-utils";
6
- import { inheritGlobalTheme } from "../../utils/themeable-component";
7
- import { getColorByName } from "../../utils/token-utils";
8
- export class DuetEditableTableButton {
9
- constructor() {
10
- this.isHovering = false;
11
- /**
12
- * Theme of the empty state component.
13
- */
14
- this.theme = undefined;
15
- /**
16
- * action items passed from host component
17
- * @internal
18
- */
19
- this.actions = undefined;
20
- /**
21
- * uid that gets passed along when the action is emitted
22
- * @internal
23
- */
24
- this.uid = "";
25
- /**
26
- * group associated with action
27
- * @internal
28
- */
29
- this.group = "";
30
- /**
31
- * key of the item in the map
32
- * @internal
33
- */
34
- this.keyName = "";
35
- this.onMouseEnter = () => {
36
- this.isHovering = true;
37
- };
38
- this.onMouseLeave = () => {
39
- this.isHovering = false;
40
- };
41
- this.getColours = (byName = false) => {
42
- let colorHover = this.actions.color_hover;
43
- let colorBlur = this.actions.color;
44
- if (byName) {
45
- colorHover = getColorByName(this.actions.color_hover, this.theme);
46
- colorBlur = getColorByName(this.actions.color, this.theme);
47
- }
48
- return this.isHovering ? colorHover : colorBlur;
49
- };
50
- }
51
- /**
52
- /**
53
- * Component lifecycle events.
54
- */
55
- componentWillLoad() {
56
- inheritGlobalTheme(this);
57
- }
58
- /**
59
- /**
60
- * private functions
61
- */
62
- emitActionEvent(ev) {
63
- this.duetEditableItemAction.emit({
64
- originalEvent: ev,
65
- uid: this.uid,
66
- group: this.group,
67
- action: this.actions.id,
68
- keyName: this.keyName,
69
- component: "duet-editable-table-item",
70
- });
71
- }
72
- /**
73
- * render() function
74
- * Always the last one in the class.
75
- */
76
- render() {
77
- return (h("button", { style: {
78
- "border-color": this.getColours(true),
79
- }, onMouseEnter: this.onMouseEnter, onMouseLeave: this.onMouseLeave, role: "menuitem", class: "duet-editable-table-actions-items-button", "aria-label": this.actions.label ? getLocaleString(this.actions.label) : undefined, onClick: ev => this.emitActionEvent(ev) },
80
- h("duet-icon", { class: "duet-editable-table-actions-items-icon", size: "x-small", name: this.actions.icon, color: this.getColours(), margin: "none" })));
81
- }
82
- static get is() { return "duet-editable-table-button"; }
83
- static get encapsulation() { return "scoped"; }
84
- static get originalStyleUrls() { return {
85
- "$": ["duet-editable-table-button.scss"]
86
- }; }
87
- static get styleUrls() { return {
88
- "$": ["duet-editable-table-button.css"]
89
- }; }
90
- static get properties() { return {
91
- "theme": {
92
- "type": "string",
93
- "mutable": true,
94
- "complexType": {
95
- "original": "DuetTheme",
96
- "resolved": "\"\" | \"default\" | \"turva\"",
97
- "references": {
98
- "DuetTheme": {
99
- "location": "import",
100
- "path": "../../common-types"
101
- }
102
- }
103
- },
104
- "required": false,
105
- "optional": false,
106
- "docs": {
107
- "tags": [],
108
- "text": "Theme of the empty state component."
109
- },
110
- "attribute": "theme",
111
- "reflect": false,
112
- "defaultValue": "undefined"
113
- },
114
- "actions": {
115
- "type": "unknown",
116
- "mutable": false,
117
- "complexType": {
118
- "original": "DuetEditableTableActionButtonItems",
119
- "resolved": "{ icon: string; color: string; color_hover: string; id: string; map?: string[]; label?: DuetLangObject; }",
120
- "references": {
121
- "DuetEditableTableActionButtonItems": {
122
- "location": "local"
123
- }
124
- }
125
- },
126
- "required": false,
127
- "optional": false,
128
- "docs": {
129
- "tags": [{
130
- "name": "internal",
131
- "text": undefined
132
- }],
133
- "text": "action items passed from host component"
134
- },
135
- "defaultValue": "undefined"
136
- },
137
- "uid": {
138
- "type": "string",
139
- "mutable": false,
140
- "complexType": {
141
- "original": "string",
142
- "resolved": "string",
143
- "references": {}
144
- },
145
- "required": false,
146
- "optional": false,
147
- "docs": {
148
- "tags": [{
149
- "name": "internal",
150
- "text": undefined
151
- }],
152
- "text": "uid that gets passed along when the action is emitted"
153
- },
154
- "attribute": "uid",
155
- "reflect": false,
156
- "defaultValue": "\"\""
157
- },
158
- "group": {
159
- "type": "string",
160
- "mutable": false,
161
- "complexType": {
162
- "original": "string",
163
- "resolved": "string",
164
- "references": {}
165
- },
166
- "required": false,
167
- "optional": false,
168
- "docs": {
169
- "tags": [{
170
- "name": "internal",
171
- "text": undefined
172
- }],
173
- "text": "group associated with action"
174
- },
175
- "attribute": "group",
176
- "reflect": false,
177
- "defaultValue": "\"\""
178
- },
179
- "keyName": {
180
- "type": "string",
181
- "mutable": false,
182
- "complexType": {
183
- "original": "string",
184
- "resolved": "string",
185
- "references": {}
186
- },
187
- "required": false,
188
- "optional": false,
189
- "docs": {
190
- "tags": [{
191
- "name": "internal",
192
- "text": undefined
193
- }],
194
- "text": "key of the item in the map"
195
- },
196
- "attribute": "key-name",
197
- "reflect": false,
198
- "defaultValue": "\"\""
199
- }
200
- }; }
201
- static get states() { return {
202
- "isHovering": {}
203
- }; }
204
- static get events() { return [{
205
- "method": "duetEditableItemAction",
206
- "name": "duetEditableItemAction",
207
- "bubbles": true,
208
- "cancelable": true,
209
- "composed": true,
210
- "docs": {
211
- "tags": [],
212
- "text": "Emitted when any action is clicked"
213
- },
214
- "complexType": {
215
- "original": "DuetEditableTableItemEvent",
216
- "resolved": "{ originalEvent?: Event; uid: string | number | bigint; keyName: string | number | bigint; action: string; group: string; component: \"duet-editable-table-item\"; }",
217
- "references": {
218
- "DuetEditableTableItemEvent": {
219
- "location": "local"
220
- }
221
- }
222
- }
223
- }]; }
224
- static get elementRef() { return "el"; }
225
- }
@@ -1,36 +0,0 @@
1
- *,
2
- *::after,
3
- *::before {
4
- box-sizing: border-box;
5
- padding: 0;
6
- margin: 0;
7
- background: transparent;
8
- border: 0;
9
- -moz-appearance: none;
10
- -webkit-appearance: none;
11
- appearance: none;
12
- }
13
-
14
- :host {
15
- display: table-row;
16
- height: 32px;
17
- }
18
-
19
- .duet-editable-table-content, .duet-editable-table-actions {
20
- height: 32px;
21
- padding: 12px 0;
22
- vertical-align: middle;
23
- break-word: break-all;
24
- border-bottom: 1px solid #e1e3e6;
25
- }
26
- .duet-editable-table-actions-items {
27
- display: flex;
28
- justify-content: flex-end;
29
- }
30
- .duet-editable-table-actions-items duet-editable-table-button {
31
- padding-left: 8px;
32
- }
33
- .duet-editable-table .editable-item-small {
34
- font-size: 0.75rem;
35
- font-weight: 400;
36
- }
@@ -1,225 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import { Component, Element, Event, h, Host, Prop, State, Watch } from "@stencil/core";
5
- import { inheritGlobalTheme } from "../../utils/themeable-component";
6
- import { TableData } from "./duet-editable-table-tabledata";
7
- export class DuetEditableTableItem {
8
- constructor() {
9
- this.isHovering = false;
10
- /**
11
- * Theme of the empty state component.
12
- */
13
- this.theme = "";
14
- /**
15
- * Actions that can be performed on the element
16
- */
17
- this.actions = undefined;
18
- /**
19
- * GroupId used to pierce the shadowdom - gets concatenated with "content & actions" and used as part="groupIDcontent/actions" to pierce the content/Action item
20
- * @internal
21
- */
22
- this.groupId = "";
23
- /**
24
- * Key used to set vertical alignment of action buttons
25
- */
26
- this.alignment = "middle";
27
- /**
28
- * Key used to identify item, when running actions
29
- */
30
- this.keyName = "";
31
- /**
32
- * Object of data itemsused to render the entire row
33
- */
34
- this.data = undefined;
35
- }
36
- watchPropHandler(_newValue, _oldValue) {
37
- // console.log("The new value of activated is: ", _newValue)
38
- }
39
- /**
40
- /**
41
- * Component lifecycle events.
42
- */
43
- componentWillLoad() {
44
- inheritGlobalTheme(this);
45
- }
46
- /**
47
- /**
48
- * private functions
49
- */
50
- /**
51
- * render() function
52
- * Always the last one in the class.
53
- */
54
- render() {
55
- return (h(Host, { role: "row" },
56
- h(TableData, { data: this.data.item, alignment: this.alignment, groupId: this.groupId }),
57
- h("td", { class: "duet-editable-table-actions", style: { verticalAlign: this.alignment } },
58
- h("div", { class: "duet-editable-table-actions-items", part: `${this.groupId}actions` }, this.actions.map(result => {
59
- const { map = undefined } = result;
60
- // if map has been specified, only show the current action if groupID matches the map array
61
- if (map && !map.includes(this.groupId)) {
62
- return;
63
- }
64
- return (h("duet-editable-table-button", { keyName: this.keyName, group: this.data.group, uid: this.data.uid, actions: result, theme: this.theme }));
65
- })))));
66
- }
67
- static get is() { return "duet-editable-table-item"; }
68
- static get encapsulation() { return "shadow"; }
69
- static get originalStyleUrls() { return {
70
- "$": ["duet-editable-table-item.scss"]
71
- }; }
72
- static get styleUrls() { return {
73
- "$": ["duet-editable-table-item.css"]
74
- }; }
75
- static get properties() { return {
76
- "theme": {
77
- "type": "string",
78
- "mutable": true,
79
- "complexType": {
80
- "original": "DuetTheme",
81
- "resolved": "\"\" | \"default\" | \"turva\"",
82
- "references": {
83
- "DuetTheme": {
84
- "location": "import",
85
- "path": "../../common-types"
86
- }
87
- }
88
- },
89
- "required": false,
90
- "optional": false,
91
- "docs": {
92
- "tags": [],
93
- "text": "Theme of the empty state component."
94
- },
95
- "attribute": "theme",
96
- "reflect": false,
97
- "defaultValue": "\"\""
98
- },
99
- "actions": {
100
- "type": "unknown",
101
- "mutable": false,
102
- "complexType": {
103
- "original": "DuetEditableTableActions",
104
- "resolved": "{ icon: string; color: string; color_hover: string; id: string; map?: string[]; label?: DuetLangObject; }[]",
105
- "references": {
106
- "DuetEditableTableActions": {
107
- "location": "local"
108
- }
109
- }
110
- },
111
- "required": false,
112
- "optional": false,
113
- "docs": {
114
- "tags": [],
115
- "text": "Actions that can be performed on the element"
116
- },
117
- "defaultValue": "undefined"
118
- },
119
- "groupId": {
120
- "type": "string",
121
- "mutable": false,
122
- "complexType": {
123
- "original": "string",
124
- "resolved": "string",
125
- "references": {}
126
- },
127
- "required": false,
128
- "optional": false,
129
- "docs": {
130
- "tags": [{
131
- "name": "internal",
132
- "text": undefined
133
- }],
134
- "text": "GroupId used to pierce the shadowdom - gets concatenated with \"content & actions\" and used as part=\"groupIDcontent/actions\" to pierce the content/Action item"
135
- },
136
- "attribute": "group-id",
137
- "reflect": false,
138
- "defaultValue": "\"\""
139
- },
140
- "alignment": {
141
- "type": "string",
142
- "mutable": false,
143
- "complexType": {
144
- "original": "string",
145
- "resolved": "string",
146
- "references": {}
147
- },
148
- "required": false,
149
- "optional": false,
150
- "docs": {
151
- "tags": [],
152
- "text": "Key used to set vertical alignment of action buttons"
153
- },
154
- "attribute": "alignment",
155
- "reflect": false,
156
- "defaultValue": "\"middle\""
157
- },
158
- "keyName": {
159
- "type": "string",
160
- "mutable": false,
161
- "complexType": {
162
- "original": "string",
163
- "resolved": "string",
164
- "references": {}
165
- },
166
- "required": false,
167
- "optional": false,
168
- "docs": {
169
- "tags": [],
170
- "text": "Key used to identify item, when running actions"
171
- },
172
- "attribute": "key-name",
173
- "reflect": false,
174
- "defaultValue": "\"\""
175
- },
176
- "data": {
177
- "type": "unknown",
178
- "mutable": true,
179
- "complexType": {
180
- "original": "DuetEditableTableItemData",
181
- "resolved": "{ uid: string; item: string | HTMLElement | Record<string, string>; group: string; }",
182
- "references": {
183
- "DuetEditableTableItemData": {
184
- "location": "local"
185
- }
186
- }
187
- },
188
- "required": false,
189
- "optional": false,
190
- "docs": {
191
- "tags": [],
192
- "text": "Object of data itemsused to render the entire row"
193
- },
194
- "defaultValue": "undefined"
195
- }
196
- }; }
197
- static get states() { return {
198
- "isHovering": {}
199
- }; }
200
- static get events() { return [{
201
- "method": "duetEditableItemAction",
202
- "name": "duetEditableItemAction",
203
- "bubbles": true,
204
- "cancelable": true,
205
- "composed": true,
206
- "docs": {
207
- "tags": [],
208
- "text": "Emitted when any action is clicked"
209
- },
210
- "complexType": {
211
- "original": "DuetEditableTableItemEvent",
212
- "resolved": "{ originalEvent?: Event; uid: string; keyName: string; action: string; group: string; component: \"duet-editable-table-item\"; }",
213
- "references": {
214
- "DuetEditableTableItemEvent": {
215
- "location": "local"
216
- }
217
- }
218
- }
219
- }]; }
220
- static get elementRef() { return "el"; }
221
- static get watchers() { return [{
222
- "propName": "data",
223
- "methodName": "watchPropHandler"
224
- }]; }
225
- }