@duetds/components 6.2.4 → 6.2.5

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 (566) hide show
  1. package/hydrate/index.d.ts +1 -1
  2. package/hydrate/index.js +2257 -4172
  3. package/lib/cjs/{dom-96576bce.js → dom-bcfa684c.js} +1 -1
  4. package/lib/cjs/duet-action-button.cjs.entry.js +14 -77
  5. package/lib/cjs/duet-alert.cjs.entry.js +10 -42
  6. package/lib/cjs/duet-badge.cjs.entry.js +1 -10
  7. package/lib/cjs/duet-breadcrumb.cjs.entry.js +2 -10
  8. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +2 -4
  9. package/lib/cjs/duet-button_2.cjs.entry.js +30 -119
  10. package/lib/cjs/duet-caption_4.cjs.entry.js +4 -78
  11. package/lib/cjs/duet-card.cjs.entry.js +16 -55
  12. package/lib/cjs/duet-checkbox.cjs.entry.js +21 -49
  13. package/lib/cjs/duet-choice_2.cjs.entry.js +51 -152
  14. package/lib/cjs/duet-collapsible.cjs.entry.js +8 -41
  15. package/lib/cjs/duet-combobox.cjs.entry.js +26 -50
  16. package/lib/cjs/duet-cookie-consent.cjs.entry.js +3 -9
  17. package/lib/cjs/duet-date-picker.cjs.entry.js +37 -108
  18. package/lib/cjs/duet-divider_2.cjs.entry.js +1 -17
  19. package/lib/cjs/duet-editable-table_3.cjs.entry.js +163 -404
  20. package/lib/cjs/duet-empty-state.cjs.entry.js +1 -10
  21. package/lib/cjs/duet-fieldset.cjs.entry.js +7 -13
  22. package/lib/cjs/duet-footer.cjs.entry.js +13 -42
  23. package/lib/cjs/duet-grid_2.cjs.entry.js +3 -43
  24. package/lib/cjs/duet-header_2.cjs.entry.js +56 -163
  25. package/lib/cjs/duet-hero.cjs.entry.js +15 -90
  26. package/lib/cjs/duet-icon.cjs.entry.js +4 -35
  27. package/lib/cjs/duet-input_2.cjs.entry.js +41 -115
  28. package/lib/cjs/duet-layout.cjs.entry.js +1 -24
  29. package/lib/cjs/duet-list_2.cjs.entry.js +1 -23
  30. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -10
  31. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +4 -13
  32. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -10
  33. package/lib/cjs/duet-menu-bar-menu-dropdown-link.cjs.entry.js +1 -16
  34. package/lib/cjs/duet-menu-bar-menu-dropdown.cjs.entry.js +4 -13
  35. package/lib/cjs/duet-menu-bar-menu-link.cjs.entry.js +1 -13
  36. package/lib/cjs/duet-menu-bar-menu.cjs.entry.js +4 -13
  37. package/lib/cjs/duet-menu-bar.cjs.entry.js +3 -6
  38. package/lib/cjs/duet-modal.cjs.entry.js +4 -59
  39. package/lib/cjs/duet-multiselect.cjs.entry.js +18 -59
  40. package/lib/cjs/duet-nav.cjs.entry.js +2 -5
  41. package/lib/cjs/duet-notification_2.cjs.entry.js +15 -74
  42. package/lib/cjs/duet-number-input.cjs.entry.js +53 -142
  43. package/lib/cjs/duet-pagination_2.cjs.entry.js +51 -125
  44. package/lib/cjs/duet-progress.cjs.entry.js +4 -26
  45. package/lib/cjs/duet-radio_2.cjs.entry.js +36 -84
  46. package/lib/cjs/duet-range-slider.cjs.entry.js +21 -62
  47. package/lib/cjs/duet-scrollable_3.cjs.entry.js +25 -88
  48. package/lib/cjs/duet-section-layout.cjs.entry.js +1 -7
  49. package/lib/cjs/duet-select.cjs.entry.js +25 -65
  50. package/lib/cjs/duet-step_2.cjs.entry.js +8 -34
  51. package/lib/cjs/duet-textarea.cjs.entry.js +31 -79
  52. package/lib/cjs/duet-toggle.cjs.entry.js +15 -38
  53. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +1 -13
  54. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +5 -17
  55. package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -13
  56. package/lib/cjs/duet-toolbar.cjs.entry.js +1 -4
  57. package/lib/cjs/duet-tooltip.cjs.entry.js +25 -77
  58. package/lib/cjs/duet-tray.cjs.entry.js +11 -53
  59. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +8 -29
  60. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  61. package/lib/cjs/duet.cjs.js +4 -4
  62. package/lib/cjs/{focus-utils-25247ce1.js → focus-utils-18ea61a6.js} +1 -1
  63. package/lib/cjs/{index-e009343b.js → index-d2f05eb8.js} +1438 -1235
  64. package/lib/cjs/loader.cjs.js +3 -3
  65. package/lib/cjs/{shadow-css-38b9e725.js → shadow-css-1ea48714.js} +1 -1
  66. package/lib/collection/collection-manifest.json +2 -2
  67. package/lib/collection/common/a11y-component.js +0 -3
  68. package/lib/collection/common/form-components.js +0 -3
  69. package/lib/collection/components/duet-action-button/duet-action-button.js +403 -461
  70. package/lib/collection/components/duet-alert/duet-alert.js +259 -289
  71. package/lib/collection/components/duet-badge/duet-badge.js +84 -89
  72. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +96 -101
  73. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +47 -48
  74. package/lib/collection/components/duet-button/duet-button.js +838 -912
  75. package/lib/collection/components/duet-caption/duet-caption.js +96 -103
  76. package/lib/collection/components/duet-card/duet-card.js +381 -431
  77. package/lib/collection/components/duet-checkbox/duet-checkbox.js +476 -498
  78. package/lib/collection/components/duet-choice/duet-choice.js +731 -819
  79. package/lib/collection/components/duet-choice-group/duet-choice-group.js +282 -308
  80. package/lib/collection/components/duet-collapsible/duet-collapsible.js +208 -237
  81. package/lib/collection/components/duet-combobox/duet-combobox-select-single.js +1 -5
  82. package/lib/collection/components/duet-combobox/duet-combobox-select.js +1 -3
  83. package/lib/collection/components/duet-combobox/duet-combobox.css +47 -14
  84. package/lib/collection/components/duet-combobox/duet-combobox.js +257 -269
  85. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +77 -82
  86. package/lib/collection/components/duet-date-picker/date-picker-day.js +1 -3
  87. package/lib/collection/components/duet-date-picker/date-picker-input.js +1 -12
  88. package/lib/collection/components/duet-date-picker/date-picker-month.js +6 -12
  89. package/lib/collection/components/duet-date-picker/duet-date-picker.js +703 -795
  90. package/lib/collection/components/duet-divider/duet-divider.js +57 -57
  91. package/lib/collection/components/duet-editable-table/duet-editable-table.js +316 -381
  92. package/lib/collection/components/duet-empty-state/duet-empty-state.js +83 -90
  93. package/lib/collection/components/duet-fieldset/duet-fieldset.js +143 -153
  94. package/lib/collection/components/duet-footer/duet-footer.js +337 -378
  95. package/lib/collection/components/duet-grid/duet-grid.js +149 -162
  96. package/lib/collection/components/duet-grid-item/duet-grid-item.js +153 -164
  97. package/lib/collection/components/duet-header/duet-header-dropdown.js +11 -19
  98. package/lib/collection/components/duet-header/duet-header-hamburger.js +1 -5
  99. package/lib/collection/components/duet-header/duet-header-icon.js +1 -2
  100. package/lib/collection/components/duet-header/duet-header.js +872 -1023
  101. package/lib/collection/components/duet-heading/duet-heading.js +183 -200
  102. package/lib/collection/components/duet-hero/duet-hero.js +568 -660
  103. package/lib/collection/components/duet-icon/duet-icon.js +240 -263
  104. package/lib/collection/components/duet-input/duet-input.js +937 -1009
  105. package/lib/collection/components/duet-label/duet-label.js +95 -100
  106. package/lib/collection/components/duet-layout/duet-layout.js +163 -189
  107. package/lib/collection/components/duet-link/duet-link.js +204 -223
  108. package/lib/collection/components/duet-list/duet-list.js +181 -196
  109. package/lib/collection/components/duet-list-item/duet-list-item.js +12 -12
  110. package/lib/collection/components/duet-logo/duet-logo.js +171 -190
  111. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +45 -44
  112. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +100 -109
  113. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +75 -81
  114. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +72 -78
  115. package/lib/collection/components/duet-menu-bar-menu/duet-menu-bar-menu.js +100 -106
  116. package/lib/collection/components/duet-menu-bar-menu-dropdown/duet-menu-bar-menu-dropdown.js +100 -109
  117. package/lib/collection/components/duet-menu-bar-menu-dropdown-link/duet-menu-bar-menu-dropdown-link.js +110 -123
  118. package/lib/collection/components/duet-menu-bar-menu-link/duet-menu-bar-menu-link.js +89 -98
  119. package/lib/collection/components/duet-modal/duet-modal.js +466 -520
  120. package/lib/collection/components/duet-multiselect/duet-multiselect.js +411 -454
  121. package/lib/collection/components/duet-nav/duet-nav.js +78 -75
  122. package/lib/collection/components/duet-notification/duet-notification.js +201 -231
  123. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +284 -312
  124. package/lib/collection/components/duet-number-input/duet-number-input.js +851 -944
  125. package/lib/collection/components/duet-pagination/duet-pagination.js +374 -439
  126. package/lib/collection/components/duet-paragraph/duet-paragraph.js +140 -154
  127. package/lib/collection/components/duet-progress/duet-progress.js +223 -253
  128. package/lib/collection/components/duet-radio/duet-radio.js +519 -531
  129. package/lib/collection/components/duet-radio-group/duet-radio-group.js +282 -308
  130. package/lib/collection/components/duet-range-slider/duet-range-slider.js +468 -505
  131. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +187 -204
  132. package/lib/collection/components/duet-scrollable/duet-scrollable.js +98 -106
  133. package/lib/collection/components/duet-section-layout/duet-section-layout.js +58 -61
  134. package/lib/collection/components/duet-select/duet-select.js +565 -606
  135. package/lib/collection/components/duet-spacer/duet-spacer.js +77 -81
  136. package/lib/collection/components/duet-spinner/duet-spinner.js +99 -107
  137. package/lib/collection/components/duet-step/duet-step.js +206 -219
  138. package/lib/collection/components/duet-stepper/duet-stepper.js +148 -156
  139. package/lib/collection/components/duet-tab/duet-tab.js +95 -96
  140. package/lib/collection/components/duet-tab-group/duet-tab-group.js +367 -405
  141. package/lib/collection/components/duet-table/duet-table.js +144 -160
  142. package/lib/collection/components/duet-textarea/duet-textarea.js +694 -747
  143. package/lib/collection/components/duet-toggle/duet-toggle.js +388 -404
  144. package/lib/collection/components/duet-toolbar/duet-toolbar.js +38 -38
  145. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +123 -135
  146. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +93 -102
  147. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +89 -98
  148. package/lib/collection/components/duet-tooltip/duet-tooltip.js +349 -401
  149. package/lib/collection/components/duet-tray/duet-tray.js +235 -276
  150. package/lib/collection/components/duet-upload/duet-upload.js +1371 -1549
  151. package/lib/collection/components/duet-upload/upload-editable-item-error.js +1 -6
  152. package/lib/collection/components/duet-upload/upload-editable-item-inprogres.js +1 -6
  153. package/lib/collection/components/duet-upload/upload-editable-item-pending.js +1 -4
  154. package/lib/collection/components/duet-upload/upload-editable-item-success.js +5 -21
  155. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +137 -153
  156. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +12 -9
  157. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  158. package/lib/dist-custom-elements/duet-alert.js +1 -1
  159. package/lib/dist-custom-elements/duet-badge.js +1 -1
  160. package/lib/dist-custom-elements/duet-breadcrumb.js +3 -11
  161. package/lib/dist-custom-elements/duet-breadcrumbs.js +3 -5
  162. package/lib/dist-custom-elements/duet-button.js +1 -1
  163. package/lib/dist-custom-elements/duet-caption.js +1 -1
  164. package/lib/dist-custom-elements/duet-card.js +19 -58
  165. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  166. package/lib/dist-custom-elements/duet-choice-group.js +19 -49
  167. package/lib/dist-custom-elements/duet-choice.js +42 -113
  168. package/lib/dist-custom-elements/duet-collapsible.js +10 -43
  169. package/lib/dist-custom-elements/duet-combobox.js +29 -59
  170. package/lib/dist-custom-elements/duet-cookie-consent.js +8 -14
  171. package/lib/dist-custom-elements/duet-date-picker.js +45 -116
  172. package/lib/dist-custom-elements/duet-divider.js +1 -1
  173. package/lib/dist-custom-elements/duet-editable-table.js +1 -1
  174. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  175. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  176. package/lib/dist-custom-elements/duet-footer.js +16 -45
  177. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  178. package/lib/dist-custom-elements/duet-grid.js +1 -1
  179. package/lib/dist-custom-elements/duet-header.js +65 -152
  180. package/lib/dist-custom-elements/duet-heading.js +1 -1
  181. package/lib/dist-custom-elements/duet-hero.js +23 -98
  182. package/lib/dist-custom-elements/duet-icon.js +1 -1
  183. package/lib/dist-custom-elements/duet-input.js +1 -1
  184. package/lib/dist-custom-elements/duet-label.js +1 -1
  185. package/lib/dist-custom-elements/duet-layout.js +1 -24
  186. package/lib/dist-custom-elements/duet-link.js +1 -1
  187. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  188. package/lib/dist-custom-elements/duet-list.js +1 -1
  189. package/lib/dist-custom-elements/duet-logo.js +1 -1
  190. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -11
  191. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +5 -14
  192. package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -11
  193. package/lib/dist-custom-elements/duet-menu-bar-menu-dropdown-link.js +2 -17
  194. package/lib/dist-custom-elements/duet-menu-bar-menu-dropdown.js +5 -14
  195. package/lib/dist-custom-elements/duet-menu-bar-menu-link.js +2 -14
  196. package/lib/dist-custom-elements/duet-menu-bar-menu.js +4 -13
  197. package/lib/dist-custom-elements/duet-menu-bar.js +5 -8
  198. package/lib/dist-custom-elements/duet-modal.js +10 -65
  199. package/lib/dist-custom-elements/duet-multiselect.js +25 -66
  200. package/lib/dist-custom-elements/duet-nav.js +2 -5
  201. package/lib/dist-custom-elements/duet-notification-drawer.js +18 -48
  202. package/lib/dist-custom-elements/duet-notification.js +2 -31
  203. package/lib/dist-custom-elements/duet-number-input.js +59 -148
  204. package/lib/dist-custom-elements/duet-pagination.js +51 -101
  205. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  206. package/lib/dist-custom-elements/duet-progress.js +1 -1
  207. package/lib/dist-custom-elements/duet-radio-group.js +19 -49
  208. package/lib/dist-custom-elements/duet-radio.js +23 -41
  209. package/lib/dist-custom-elements/duet-range-slider.js +23 -64
  210. package/lib/dist-custom-elements/duet-range-stepper.js +10 -34
  211. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  212. package/lib/dist-custom-elements/duet-section-layout.js +1 -7
  213. package/lib/dist-custom-elements/duet-select.js +1 -1
  214. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  215. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  216. package/lib/dist-custom-elements/duet-step.js +11 -20
  217. package/lib/dist-custom-elements/duet-stepper.js +2 -19
  218. package/lib/dist-custom-elements/duet-tab-group.js +26 -72
  219. package/lib/dist-custom-elements/duet-tab.js +3 -9
  220. package/lib/dist-custom-elements/duet-table.js +1 -1
  221. package/lib/dist-custom-elements/duet-textarea.js +38 -86
  222. package/lib/dist-custom-elements/duet-toggle.js +16 -39
  223. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -14
  224. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +6 -18
  225. package/lib/dist-custom-elements/duet-toolbar-link.js +2 -14
  226. package/lib/dist-custom-elements/duet-toolbar.js +1 -4
  227. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  228. package/lib/dist-custom-elements/duet-tray.js +14 -56
  229. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  230. package/lib/dist-custom-elements/duet-upload.js +165 -332
  231. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  232. package/lib/dist-custom-elements/index.d.ts +75 -5
  233. package/lib/dist-custom-elements/index.js +76 -1
  234. package/lib/dist-custom-elements/{p-ca2b02bc.js → p-0cc49790.js} +3 -25
  235. package/lib/dist-custom-elements/{p-1f03397c.js → p-0ef384ca.js} +7 -30
  236. package/lib/dist-custom-elements/{p-70d1ca9f.js → p-10feffd3.js} +1 -1
  237. package/lib/dist-custom-elements/{p-4367369a.js → p-14a163e6.js} +475 -272
  238. package/lib/dist-custom-elements/{p-e987e04b.js → p-25d4fffb.js} +1 -11
  239. package/lib/dist-custom-elements/{p-862c60cc.js → p-354f8a94.js} +3 -16
  240. package/lib/dist-custom-elements/{p-c5d74817.js → p-37dd7faf.js} +2 -22
  241. package/lib/dist-custom-elements/{p-e57df145.js → p-4115062c.js} +2 -25
  242. package/lib/dist-custom-elements/{p-ed503468.js → p-4447816d.js} +3 -20
  243. package/lib/dist-custom-elements/{p-9ed347f9.js → p-535ce3ec.js} +1 -1
  244. package/lib/dist-custom-elements/{p-33e00967.js → p-55325c49.js} +1 -1
  245. package/lib/dist-custom-elements/{p-1fef1f90.js → p-65ee8608.js} +8 -14
  246. package/lib/dist-custom-elements/{p-3fa8edce.js → p-737dd784.js} +45 -111
  247. package/lib/dist-custom-elements/{p-c4d8cad0.js → p-738bd3c5.js} +1 -1
  248. package/lib/dist-custom-elements/{p-6e81048c.js → p-7958dc0c.js} +30 -70
  249. package/lib/dist-custom-elements/{p-2a509b17.js → p-82fec063.js} +2 -21
  250. package/lib/dist-custom-elements/{p-279dedcd.js → p-88d217a7.js} +2 -11
  251. package/lib/dist-custom-elements/{p-f51d88cc.js → p-9245c901.js} +2 -10
  252. package/lib/dist-custom-elements/{p-dcffd5be.js → p-94eae3e6.js} +1 -7
  253. package/lib/dist-custom-elements/{p-0b8f16f1.js → p-9986919d.js} +1 -1
  254. package/lib/dist-custom-elements/{p-bd4ab88c.js → p-9fef7d37.js} +21 -49
  255. package/lib/dist-custom-elements/{p-0347f9ec.js → p-a1212d29.js} +1 -1
  256. package/lib/dist-custom-elements/{p-29b4f008.js → p-ad7292b3.js} +5 -26
  257. package/lib/dist-custom-elements/{p-9cfc3bee.js → p-af2e8de4.js} +14 -46
  258. package/lib/dist-custom-elements/{p-396cb7a5.js → p-b5ea480c.js} +9 -30
  259. package/lib/dist-custom-elements/{p-4bb2e37b.js → p-bd64a84d.js} +6 -17
  260. package/lib/dist-custom-elements/{p-0938933e.js → p-cab1e8a0.js} +20 -71
  261. package/lib/dist-custom-elements/{p-8c0cf877.js → p-d2402b45.js} +27 -79
  262. package/lib/dist-custom-elements/{p-b89983b2.js → p-d34c42bc.js} +1 -10
  263. package/lib/dist-custom-elements/{p-f674e164.js → p-d628dd87.js} +17 -80
  264. package/lib/dist-custom-elements/{p-c4165359.js → p-db135ec9.js} +1 -13
  265. package/lib/dist-custom-elements/{p-d4c234ed.js → p-e2cd1c98.js} +1 -1
  266. package/lib/dist-custom-elements/{p-b9058029.js → p-e4a60f42.js} +8 -0
  267. package/lib/dist-custom-elements/{p-b4b809ff.js → p-eb6fc032.js} +33 -109
  268. package/lib/dist-custom-elements/{p-464a80f2.js → p-f7c0e5bf.js} +1 -23
  269. package/lib/dist-custom-elements/{p-908c1151.js → p-fddad5df.js} +5 -36
  270. package/lib/dist-custom-elements/{p-1302f6e8.js → p-fed8d27a.js} +5 -27
  271. package/lib/duet/duet.esm.js +1 -1
  272. package/lib/duet/duet.js +2 -1
  273. package/lib/duet/{p-fe87f458.system.entry.js → p-00ee31e2.system.entry.js} +1 -1
  274. package/lib/duet/{p-5d9ec5ef.entry.js → p-0169eb09.entry.js} +1 -1
  275. package/lib/duet/{p-a585455c.system.entry.js → p-0236fc28.system.entry.js} +1 -1
  276. package/lib/duet/p-0285e5d3.entry.js +4 -0
  277. package/lib/duet/{p-fc2cda87.system.entry.js → p-028da443.system.entry.js} +2 -2
  278. package/lib/duet/{p-b09e3f47.system.entry.js → p-0426e86f.system.entry.js} +1 -1
  279. package/lib/duet/{p-7ea15c5c.system.entry.js → p-06c01b8a.system.entry.js} +1 -1
  280. package/lib/duet/{p-3b31184e.js → p-07970d29.js} +0 -0
  281. package/lib/duet/{p-ad0cf0f5.system.entry.js → p-09e9e6e0.system.entry.js} +2 -2
  282. package/lib/duet/p-0aae8ebf.entry.js +4 -0
  283. package/lib/duet/{p-526c88d9.system.entry.js → p-0c519c1f.system.entry.js} +1 -1
  284. package/lib/duet/p-0d218007.entry.js +4 -0
  285. package/lib/duet/p-0d6723f5.entry.js +4 -0
  286. package/lib/duet/p-0e1a3c6d.entry.js +4 -0
  287. package/lib/duet/{p-e60b3dc2.entry.js → p-0f8e4b6a.entry.js} +1 -1
  288. package/lib/duet/p-0fc0e90e.entry.js +4 -0
  289. package/lib/duet/{p-a5f977bc.system.entry.js → p-10b1ea3e.system.entry.js} +2 -2
  290. package/lib/duet/{p-32c587da.entry.js → p-1184c37e.entry.js} +1 -1
  291. package/lib/duet/{p-ce3fc2bd.entry.js → p-11c58a6b.entry.js} +1 -1
  292. package/lib/duet/p-14cca806.entry.js +4 -0
  293. package/lib/duet/{p-a2d89ed8.system.entry.js → p-14e93ad6.system.entry.js} +1 -1
  294. package/lib/duet/{p-2cf9ce9f.system.entry.js → p-16b61523.system.entry.js} +2 -2
  295. package/lib/duet/p-16cbd476.entry.js +4 -0
  296. package/lib/duet/{p-f5149c67.entry.js → p-1833941e.entry.js} +1 -1
  297. package/lib/duet/{p-15743dbe.system.entry.js → p-1a45eddb.system.entry.js} +1 -1
  298. package/lib/duet/{p-37b5759b.entry.js → p-1b63c3bf.entry.js} +1 -1
  299. package/lib/duet/p-1e442975.entry.js +4 -0
  300. package/lib/duet/{p-22793750.entry.js → p-27a1c897.entry.js} +1 -1
  301. package/lib/duet/{p-a4575910.entry.js → p-2c5b761d.entry.js} +1 -1
  302. package/lib/duet/{p-1b4da2a6.entry.js → p-2cbe5fe4.entry.js} +1 -1
  303. package/lib/duet/{p-ace82109.system.entry.js → p-2f0f8b9e.system.entry.js} +2 -2
  304. package/lib/duet/{p-b0fa24ea.system.entry.js → p-326d3440.system.entry.js} +1 -1
  305. package/lib/duet/{p-74edab4b.system.entry.js → p-394efc25.system.entry.js} +1 -1
  306. package/lib/duet/{p-bb2dab53.system.entry.js → p-400f8e9d.system.entry.js} +2 -2
  307. package/lib/duet/{p-21e8b3cb.system.entry.js → p-43750071.system.entry.js} +1 -1
  308. package/lib/duet/{p-995fe7b5.entry.js → p-45b0469f.entry.js} +1 -1
  309. package/lib/duet/p-4644616b.entry.js +4 -0
  310. package/lib/duet/{p-48d5c614.entry.js → p-4c96e54d.entry.js} +1 -1
  311. package/lib/duet/{p-f084d355.system.entry.js → p-4d1a5b9e.system.entry.js} +1 -1
  312. package/lib/duet/{p-fc34b8a0.system.entry.js → p-4e2db855.system.entry.js} +1 -1
  313. package/lib/duet/{p-e7196c1b.system.entry.js → p-5214682e.system.entry.js} +1 -1
  314. package/lib/duet/{p-c8ba8ed5.system.entry.js → p-575e4d53.system.entry.js} +1 -1
  315. package/lib/duet/{p-e1dc6e7f.system.entry.js → p-58de4753.system.entry.js} +1 -1
  316. package/lib/duet/p-592bcdd4.entry.js +4 -0
  317. package/lib/duet/{p-1b3fc470.system.entry.js → p-5b00d0cf.system.entry.js} +1 -1
  318. package/lib/duet/p-5bffb89f.entry.js +4 -0
  319. package/lib/duet/{p-93138df9.entry.js → p-5e134670.entry.js} +1 -1
  320. package/lib/duet/p-60c70efa.entry.js +4 -0
  321. package/lib/duet/p-61f8dd7f.system.entry.js +4 -0
  322. package/lib/duet/{p-7ac15184.system.entry.js → p-63cb7308.system.entry.js} +1 -1
  323. package/lib/duet/p-696d99ff.system.entry.js +4 -0
  324. package/lib/duet/p-6999702a.js +5 -0
  325. package/lib/duet/p-6db0f8c0.entry.js +4 -0
  326. package/lib/duet/{p-caf8cc5f.system.entry.js → p-6f2e72e2.system.entry.js} +2 -2
  327. package/lib/duet/{p-b668b67c.system.js → p-73900354.system.js} +0 -0
  328. package/lib/duet/{p-fc200674.system.entry.js → p-758c0528.system.entry.js} +2 -2
  329. package/lib/duet/{p-436b415a.system.entry.js → p-79c8d35c.system.entry.js} +1 -1
  330. package/lib/duet/{p-6226ebc9.entry.js → p-7ccf8ef9.entry.js} +1 -1
  331. package/lib/duet/{p-5a61c374.system.entry.js → p-7e67fedc.system.entry.js} +1 -1
  332. package/lib/duet/{p-aa10446f.system.entry.js → p-7fcbf80a.system.entry.js} +1 -1
  333. package/lib/duet/{p-a57f8242.entry.js → p-81313736.entry.js} +1 -1
  334. package/lib/duet/{p-a5dcf047.entry.js → p-81e66ef1.entry.js} +1 -1
  335. package/lib/duet/p-8512b463.js +4 -0
  336. package/lib/duet/p-855f9e2a.system.entry.js +4 -0
  337. package/lib/duet/{p-c4f57811.entry.js → p-8681c6e0.entry.js} +1 -1
  338. package/lib/duet/p-89bf7be7.entry.js +4 -0
  339. package/lib/duet/{p-1c2bc99b.system.entry.js → p-8a47d599.system.entry.js} +1 -1
  340. package/lib/duet/{p-ebbe496d.entry.js → p-8f6cf5d1.entry.js} +1 -1
  341. package/lib/duet/{p-0734bdd5.system.entry.js → p-90ea4509.system.entry.js} +1 -1
  342. package/lib/duet/p-9101f9ed.entry.js +4 -0
  343. package/lib/duet/{p-14e5b2e7.system.entry.js → p-914c3280.system.entry.js} +1 -1
  344. package/lib/duet/{p-9ea3b585.system.entry.js → p-948d492d.system.entry.js} +2 -2
  345. package/lib/duet/{p-daa920e3.system.entry.js → p-9a14ca19.system.entry.js} +1 -1
  346. package/lib/duet/{p-41110e9b.system.entry.js → p-9f60735a.system.entry.js} +1 -1
  347. package/lib/duet/p-a8d942ea.entry.js +4 -0
  348. package/lib/duet/{p-fe0cb2a5.entry.js → p-ac4c233b.entry.js} +1 -1
  349. package/lib/duet/p-acea52f5.entry.js +4 -0
  350. package/lib/duet/{p-bf4e00b1.system.entry.js → p-b180a4e2.system.entry.js} +1 -1
  351. package/lib/duet/{p-c0732300.system.entry.js → p-b2688afc.system.entry.js} +1 -1
  352. package/lib/duet/p-b293c2ff.entry.js +4 -0
  353. package/lib/duet/{p-2bcf54bb.entry.js → p-b2c913ea.entry.js} +1 -1
  354. package/lib/duet/p-b3046425.entry.js +4 -0
  355. package/lib/duet/p-b5dc8a8f.system.entry.js +4 -0
  356. package/lib/duet/{p-d448c7fc.system.entry.js → p-b821b721.system.entry.js} +1 -1
  357. package/lib/duet/p-bc2c1014.entry.js +4 -0
  358. package/lib/duet/{p-4c7ae11f.system.entry.js → p-bcd4a927.system.entry.js} +1 -1
  359. package/lib/duet/p-c12ecca9.entry.js +4 -0
  360. package/lib/duet/p-c17cae49.entry.js +4 -0
  361. package/lib/duet/p-c2c48bb2.entry.js +4 -0
  362. package/lib/duet/{p-870e88b7.system.entry.js → p-c3a0505e.system.entry.js} +1 -1
  363. package/lib/duet/{p-15b79ed1.entry.js → p-c41bfab0.entry.js} +1 -1
  364. package/lib/duet/{p-9e5192fd.entry.js → p-c4932f05.entry.js} +1 -1
  365. package/lib/duet/{p-8755500b.entry.js → p-c5e54be9.entry.js} +1 -1
  366. package/lib/duet/p-cf11b05b.entry.js +4 -0
  367. package/lib/duet/{p-d1da9fe1.system.entry.js → p-d0f1d25f.system.entry.js} +1 -1
  368. package/lib/duet/p-d16434dc.entry.js +4 -0
  369. package/lib/duet/{p-ed024bd6.entry.js → p-d2ef832d.entry.js} +1 -1
  370. package/lib/duet/{p-eb168145.system.js → p-d58991bc.system.js} +1 -1
  371. package/lib/duet/p-d971be46.entry.js +4 -0
  372. package/lib/duet/{p-ff46ec81.system.js → p-da0d4ee3.system.js} +0 -0
  373. package/lib/duet/p-da803459.entry.js +4 -0
  374. package/lib/duet/{p-eb94a92c.system.entry.js → p-daa20c36.system.entry.js} +1 -1
  375. package/lib/duet/{p-7e0d3659.entry.js → p-dbddb719.entry.js} +1 -1
  376. package/lib/duet/{p-5bbac6e9.system.entry.js → p-dc18b76c.system.entry.js} +1 -1
  377. package/lib/duet/p-dc51f077.entry.js +4 -0
  378. package/lib/duet/{p-db64d031.system.entry.js → p-dd676f12.system.entry.js} +1 -1
  379. package/lib/duet/{p-176c64c4.system.entry.js → p-dfcbf758.system.entry.js} +1 -1
  380. package/lib/duet/{p-d4c234ed.js → p-e2cd1c98.js} +0 -0
  381. package/lib/duet/{p-71e54f66.system.entry.js → p-e621c31c.system.entry.js} +1 -1
  382. package/lib/duet/p-e71a6257.system.js +5 -0
  383. package/lib/duet/{p-f8133fe1.system.entry.js → p-ea8e5649.system.entry.js} +1 -1
  384. package/lib/duet/{p-617872b5.system.entry.js → p-ebc09697.system.entry.js} +1 -1
  385. package/lib/duet/{p-66f1bdce.entry.js → p-ec635593.entry.js} +1 -1
  386. package/lib/duet/p-ef3f4213.entry.js +4 -0
  387. package/lib/duet/{p-61baccc6.system.entry.js → p-f01d234f.system.entry.js} +1 -1
  388. package/lib/duet/p-f150740b.entry.js +4 -0
  389. package/lib/duet/{p-71f1a210.system.entry.js → p-f2bcb922.system.entry.js} +1 -1
  390. package/lib/duet/{p-67a7ac4f.entry.js → p-f3d0d889.entry.js} +1 -1
  391. package/lib/duet/{p-a629e72a.system.entry.js → p-f6712ec8.system.entry.js} +1 -1
  392. package/lib/duet/{p-d164cdeb.system.entry.js → p-f678edf7.system.entry.js} +1 -1
  393. package/lib/duet/p-f7453c05.system.entry.js +4 -0
  394. package/lib/duet/{p-2e71b284.system.js → p-f9133dc5.system.js} +1 -1
  395. package/lib/duet/{p-465c7f64.system.entry.js → p-f9afad76.system.entry.js} +1 -1
  396. package/lib/esm/{dom-3dbcb0d8.js → dom-4d9c03f4.js} +1 -1
  397. package/lib/esm/duet-action-button.entry.js +14 -77
  398. package/lib/esm/duet-alert.entry.js +10 -42
  399. package/lib/esm/duet-badge.entry.js +1 -10
  400. package/lib/esm/duet-breadcrumb.entry.js +2 -10
  401. package/lib/esm/duet-breadcrumbs.entry.js +2 -4
  402. package/lib/esm/duet-button_2.entry.js +30 -119
  403. package/lib/esm/duet-caption_4.entry.js +4 -78
  404. package/lib/esm/duet-card.entry.js +16 -55
  405. package/lib/esm/duet-checkbox.entry.js +21 -49
  406. package/lib/esm/duet-choice_2.entry.js +51 -152
  407. package/lib/esm/duet-collapsible.entry.js +8 -41
  408. package/lib/esm/duet-combobox.entry.js +26 -50
  409. package/lib/esm/duet-cookie-consent.entry.js +3 -9
  410. package/lib/esm/duet-date-picker.entry.js +37 -108
  411. package/lib/esm/duet-divider_2.entry.js +1 -17
  412. package/lib/esm/duet-editable-table_3.entry.js +163 -404
  413. package/lib/esm/duet-empty-state.entry.js +1 -10
  414. package/lib/esm/duet-fieldset.entry.js +7 -13
  415. package/lib/esm/duet-footer.entry.js +13 -42
  416. package/lib/esm/duet-grid_2.entry.js +3 -43
  417. package/lib/esm/duet-header_2.entry.js +56 -163
  418. package/lib/esm/duet-hero.entry.js +15 -90
  419. package/lib/esm/duet-icon.entry.js +4 -35
  420. package/lib/esm/duet-input_2.entry.js +41 -115
  421. package/lib/esm/duet-layout.entry.js +1 -24
  422. package/lib/esm/duet-list_2.entry.js +1 -23
  423. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -10
  424. package/lib/esm/duet-menu-bar-dropdown.entry.js +4 -13
  425. package/lib/esm/duet-menu-bar-link.entry.js +1 -10
  426. package/lib/esm/duet-menu-bar-menu-dropdown-link.entry.js +1 -16
  427. package/lib/esm/duet-menu-bar-menu-dropdown.entry.js +4 -13
  428. package/lib/esm/duet-menu-bar-menu-link.entry.js +1 -13
  429. package/lib/esm/duet-menu-bar-menu.entry.js +4 -13
  430. package/lib/esm/duet-menu-bar.entry.js +3 -6
  431. package/lib/esm/duet-modal.entry.js +4 -59
  432. package/lib/esm/duet-multiselect.entry.js +18 -59
  433. package/lib/esm/duet-nav.entry.js +2 -5
  434. package/lib/esm/duet-notification_2.entry.js +15 -74
  435. package/lib/esm/duet-number-input.entry.js +53 -142
  436. package/lib/esm/duet-pagination_2.entry.js +51 -125
  437. package/lib/esm/duet-progress.entry.js +4 -26
  438. package/lib/esm/duet-radio_2.entry.js +36 -84
  439. package/lib/esm/duet-range-slider.entry.js +21 -62
  440. package/lib/esm/duet-scrollable_3.entry.js +25 -88
  441. package/lib/esm/duet-section-layout.entry.js +1 -7
  442. package/lib/esm/duet-select.entry.js +25 -65
  443. package/lib/esm/duet-step_2.entry.js +8 -34
  444. package/lib/esm/duet-textarea.entry.js +31 -79
  445. package/lib/esm/duet-toggle.entry.js +15 -38
  446. package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -13
  447. package/lib/esm/duet-toolbar-dropdown.entry.js +5 -17
  448. package/lib/esm/duet-toolbar-link.entry.js +1 -13
  449. package/lib/esm/duet-toolbar.entry.js +1 -4
  450. package/lib/esm/duet-tooltip.entry.js +25 -77
  451. package/lib/esm/duet-tray.entry.js +11 -53
  452. package/lib/esm/duet-upload-aria-status.entry.js +8 -29
  453. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  454. package/lib/esm/duet.js +4 -4
  455. package/lib/esm/{focus-utils-c6e25a2b.js → focus-utils-abaea1e6.js} +1 -1
  456. package/lib/esm/{index-adbabdb3.js → index-4df60498.js} +1438 -1235
  457. package/lib/esm/loader.js +3 -3
  458. package/lib/esm/polyfills/css-shim.js +1 -1
  459. package/lib/esm/{shadow-css-501eda9a.js → shadow-css-a011f1fe.js} +1 -1
  460. package/lib/esm-es5/{dom-3dbcb0d8.js → dom-4d9c03f4.js} +0 -0
  461. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  462. package/lib/esm-es5/duet-alert.entry.js +1 -1
  463. package/lib/esm-es5/duet-badge.entry.js +1 -1
  464. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  465. package/lib/esm-es5/duet-breadcrumbs.entry.js +2 -2
  466. package/lib/esm-es5/duet-button_2.entry.js +2 -2
  467. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  468. package/lib/esm-es5/duet-card.entry.js +1 -1
  469. package/lib/esm-es5/duet-checkbox.entry.js +2 -2
  470. package/lib/esm-es5/duet-choice_2.entry.js +2 -2
  471. package/lib/esm-es5/duet-collapsible.entry.js +2 -2
  472. package/lib/esm-es5/duet-combobox.entry.js +2 -2
  473. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  474. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  475. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  476. package/lib/esm-es5/duet-editable-table_3.entry.js +2 -2
  477. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  478. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  479. package/lib/esm-es5/duet-footer.entry.js +2 -2
  480. package/lib/esm-es5/duet-grid_2.entry.js +2 -2
  481. package/lib/esm-es5/duet-header_2.entry.js +2 -2
  482. package/lib/esm-es5/duet-hero.entry.js +1 -1
  483. package/lib/esm-es5/duet-icon.entry.js +2 -2
  484. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  485. package/lib/esm-es5/duet-layout.entry.js +1 -1
  486. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  487. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  488. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  489. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  490. package/lib/esm-es5/duet-menu-bar-menu-dropdown-link.entry.js +1 -1
  491. package/lib/esm-es5/duet-menu-bar-menu-dropdown.entry.js +1 -1
  492. package/lib/esm-es5/duet-menu-bar-menu-link.entry.js +1 -1
  493. package/lib/esm-es5/duet-menu-bar-menu.entry.js +1 -1
  494. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  495. package/lib/esm-es5/duet-modal.entry.js +2 -2
  496. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  497. package/lib/esm-es5/duet-nav.entry.js +1 -1
  498. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  499. package/lib/esm-es5/duet-number-input.entry.js +2 -2
  500. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  501. package/lib/esm-es5/duet-progress.entry.js +1 -1
  502. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  503. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  504. package/lib/esm-es5/duet-scrollable_3.entry.js +2 -2
  505. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  506. package/lib/esm-es5/duet-select.entry.js +2 -2
  507. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  508. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  509. package/lib/esm-es5/duet-toggle.entry.js +2 -2
  510. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  511. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  512. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  513. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  514. package/lib/esm-es5/duet-tooltip.entry.js +2 -2
  515. package/lib/esm-es5/duet-tray.entry.js +1 -1
  516. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  517. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  518. package/lib/esm-es5/duet.js +1 -1
  519. package/lib/esm-es5/{focus-utils-c6e25a2b.js → focus-utils-abaea1e6.js} +1 -1
  520. package/lib/esm-es5/index-4df60498.js +5 -0
  521. package/lib/esm-es5/loader.js +1 -1
  522. package/lib/esm-es5/{shadow-css-501eda9a.js → shadow-css-a011f1fe.js} +0 -0
  523. package/lib/loader/package.json +1 -0
  524. package/lib/types/components/duet-combobox/duet-combobox.d.ts +1 -2
  525. package/lib/types/stencil-public-runtime.d.ts +20 -4
  526. package/package.json +8 -10
  527. package/lib/duet/p-03ac8c12.entry.js +0 -4
  528. package/lib/duet/p-0b0b1a31.js +0 -4
  529. package/lib/duet/p-2482298d.entry.js +0 -4
  530. package/lib/duet/p-2be7affe.system.entry.js +0 -4
  531. package/lib/duet/p-2e2eca0e.entry.js +0 -4
  532. package/lib/duet/p-3198246d.system.entry.js +0 -4
  533. package/lib/duet/p-31a8380d.entry.js +0 -4
  534. package/lib/duet/p-3d96bd35.entry.js +0 -4
  535. package/lib/duet/p-4fd9fab5.entry.js +0 -4
  536. package/lib/duet/p-570786a7.system.entry.js +0 -4
  537. package/lib/duet/p-5be11a3f.entry.js +0 -4
  538. package/lib/duet/p-6198dd87.entry.js +0 -4
  539. package/lib/duet/p-6ef4c26f.system.entry.js +0 -4
  540. package/lib/duet/p-73b1bfff.system.js +0 -5
  541. package/lib/duet/p-74a85e06.entry.js +0 -4
  542. package/lib/duet/p-8e12f166.entry.js +0 -4
  543. package/lib/duet/p-8e83ab80.entry.js +0 -4
  544. package/lib/duet/p-925f5739.entry.js +0 -4
  545. package/lib/duet/p-aeee20b5.system.entry.js +0 -4
  546. package/lib/duet/p-b252c6c7.entry.js +0 -4
  547. package/lib/duet/p-b28b7458.entry.js +0 -4
  548. package/lib/duet/p-bbc7c22c.js +0 -5
  549. package/lib/duet/p-bce4669c.entry.js +0 -4
  550. package/lib/duet/p-bf165746.entry.js +0 -4
  551. package/lib/duet/p-c4375ca3.entry.js +0 -4
  552. package/lib/duet/p-cd5358ce.entry.js +0 -4
  553. package/lib/duet/p-d770b87e.entry.js +0 -4
  554. package/lib/duet/p-d7d944f5.entry.js +0 -4
  555. package/lib/duet/p-d7fa0c7c.entry.js +0 -4
  556. package/lib/duet/p-d83f8247.entry.js +0 -4
  557. package/lib/duet/p-dc9b21ad.entry.js +0 -4
  558. package/lib/duet/p-dcf2df11.entry.js +0 -4
  559. package/lib/duet/p-de024983.entry.js +0 -4
  560. package/lib/duet/p-e01e9f71.entry.js +0 -4
  561. package/lib/duet/p-e7808045.entry.js +0 -4
  562. package/lib/duet/p-e9cf0568.entry.js +0 -4
  563. package/lib/duet/p-f015180c.entry.js +0 -4
  564. package/lib/duet/p-f0e4ccb6.entry.js +0 -4
  565. package/lib/duet/p-f0f8a1fd.entry.js +0 -4
  566. package/lib/esm-es5/index-adbabdb3.js +0 -5
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { Component, Element, Event, Fragment, h, Host, Prop, State, Watch } from "@stencil/core";
4
+ import { Fragment, h, Host } from "@stencil/core";
5
5
  import { inheritGlobalTheme } from "../../common";
6
6
  import { createID } from "../../utils/create-id";
7
7
  import { debounce } from "../../utils/js-utils";
@@ -17,48 +17,61 @@ import { shouldDisplayNavigation } from "./duet-pagination-utils";
17
17
  export class DuetPagination {
18
18
  constructor() {
19
19
  this.listId = createID("duet-pagination-list");
20
- this.numbersStore = "";
21
20
  /**
22
- * State() variables
23
- * @internal
21
+ * Private methods.
24
22
  */
23
+ // called from the watcher and used to make sure any changed to current also updates the internal section index
24
+ this.actionChain = async (after, before) => {
25
+ if (after === 0) {
26
+ this.current = 1;
27
+ }
28
+ else if (before !== after) {
29
+ const calculatedSectionIndex = Math.ceil(after / this.visibleItems) - 1;
30
+ if (calculatedSectionIndex !== this.internalSectionIndex) {
31
+ this.internalSectionIndex = calculatedSectionIndex;
32
+ await this.setFocus();
33
+ }
34
+ }
35
+ return true;
36
+ };
37
+ //helper to emit relevant page events
38
+ this.emitPageEvent = debounce((ev, passedPage) => {
39
+ const page = Number(passedPage || this.current);
40
+ this.duetPageChange.emit({
41
+ component: "duet-pagination",
42
+ from: page * this.take,
43
+ to: page * this.take + this.take,
44
+ current: page,
45
+ take: this.take,
46
+ type: "page",
47
+ originalEvent: ev,
48
+ });
49
+ }, 100);
50
+ // this will return the entered number, or the current page if the user presses enter
51
+ this.getEnteredNumber = debounce(ev => {
52
+ this.emitPageEvent(ev, this.numbersStore);
53
+ this.current = Number(this.numbersStore);
54
+ this.numbersStore = "";
55
+ this.duetPageChange.emit({
56
+ component: "duet-pagination",
57
+ from: this.current * this.take,
58
+ to: this.current * this.take + this.take,
59
+ current: this.current,
60
+ take: this.take,
61
+ type: "jump",
62
+ originalEvent: ev,
63
+ });
64
+ }, 500);
65
+ this.numbersStore = "";
25
66
  this.totalPages = 10;
26
- /**
27
- * State() variables
28
- * @internal
29
- */
30
67
  this.internalSectionIndex = 0;
31
- /**
32
- * Theme of the pagination.
33
- */
34
68
  this.theme = "";
35
- /**
36
- * Characters to use for the jump buttons.
37
- */
38
69
  this.jumpString = "...";
39
- /**
40
- * Variation of the paginator (compact and default supported)
41
- */
42
70
  this.variation = "default";
43
- /**
44
- * Described By id
45
- */
46
71
  this.accessibleDescribedBy = undefined;
47
- /**
48
- * Details of the component
49
- */
50
72
  this.accessibleDetails = undefined;
51
- /**
52
- * String of id's that indicate alternative labels elements
53
- */
54
73
  this.accessibleLabelledBy = undefined;
55
- /**
56
- * Aria description the button
57
- */
58
74
  this.accessibleDescription = undefined;
59
- /**
60
- * Default pagination labels
61
- */
62
75
  this.accessibleLabelsDefaults = {
63
76
  en: {
64
77
  next_page: "Next page",
@@ -97,75 +110,12 @@ export class DuetPagination {
97
110
  next_section: "Visa nästa {0} sidnummer, skrivbordsläsare ska använda piltangenterna för att navigera",
98
111
  },
99
112
  };
100
- /**
101
- * Default pagination labels
102
- */
103
113
  this.accessibleLabels = getLocaleString(this.accessibleLabelsDefaults);
104
- /**
105
- * The size of the take, when paginating.
106
- */
107
114
  this.take = 5;
108
- /**
109
- * Amount of visible page numbers to show
110
- */
111
115
  this.visibleItems = 5;
112
- /**
113
- * The total size of the paginating data
114
- */
115
116
  this.total = 1000;
116
- /**
117
- * Used to indicate which dom element with ID this element controls
118
- */
119
117
  this.ariaControls = "";
120
- /**
121
- * The current page
122
- */
123
118
  this.current = 1;
124
- /**
125
- * Private methods.
126
- */
127
- // called from the watcher and used to make sure any changed to current also updates the internal section index
128
- this.actionChain = async (after, before) => {
129
- if (after === 0) {
130
- this.current = 1;
131
- }
132
- else if (before !== after) {
133
- const calculatedSectionIndex = Math.ceil(after / this.visibleItems) - 1;
134
- if (calculatedSectionIndex !== this.internalSectionIndex) {
135
- this.internalSectionIndex = calculatedSectionIndex;
136
- await this.setFocus();
137
- }
138
- }
139
- return true;
140
- };
141
- //helper to emit relevant page events
142
- this.emitPageEvent = debounce((ev, passedPage) => {
143
- const page = Number(passedPage || this.current);
144
- this.duetPageChange.emit({
145
- component: "duet-pagination",
146
- from: page * this.take,
147
- to: page * this.take + this.take,
148
- current: page,
149
- take: this.take,
150
- type: "page",
151
- originalEvent: ev,
152
- });
153
- }, 100);
154
- // this will return the entered number, or the current page if the user presses enter
155
- this.getEnteredNumber = debounce(ev => {
156
- this.emitPageEvent(ev, this.numbersStore);
157
- this.current = Number(this.numbersStore);
158
- this.numbersStore = "";
159
- this.duetPageChange.emit({
160
- component: "duet-pagination",
161
- from: this.current * this.take,
162
- to: this.current * this.take + this.take,
163
- current: this.current,
164
- take: this.take,
165
- type: "jump",
166
- originalEvent: ev,
167
- });
168
- }, 500);
169
119
  }
170
120
  watchPropTotalHandler( /*newValue: boolean, oldValue: boolean*/) {
171
121
  this.calculatePageTake();
@@ -276,11 +226,9 @@ export class DuetPagination {
276
226
  items.push(h("li", { class: {
277
227
  "duet-pagination-item": true,
278
228
  "duet-pagination-item-is-active": i === this.current,
279
- }, role: "menuitem" },
280
- h("duet-button", { class: {
281
- "duet-pagination-link": true,
282
- }, color: i !== this.current ? "secondary" : "primary", "data-id": i, "center-text": true, variation: "plain", margin: "none", accessibleLabel: `${this.accessibleLabels.go_to} ${i}`, onClick: e => this.pageClickHandler(e) },
283
- h("div", { class: "duet-pagination-page-number", "aria-hidden": true }, i))));
229
+ }, role: "menuitem" }, h("duet-button", { class: {
230
+ "duet-pagination-link": true,
231
+ }, color: i !== this.current ? "secondary" : "primary", "data-id": i, "center-text": true, variation: "plain", margin: "none", accessibleLabel: `${this.accessibleLabels.go_to} ${i}`, onClick: e => this.pageClickHandler(e) }, h("div", { class: "duet-pagination-page-number", "aria-hidden": true }, i))));
284
232
  } while (i < this.visibleItems + this.internalSectionIndex * this.visibleItems);
285
233
  return items;
286
234
  }
@@ -295,353 +243,340 @@ export class DuetPagination {
295
243
  * Always the last one in the class.
296
244
  */
297
245
  render() {
298
- return (h(Host, { onKeyDown: e => this.onKeyboardDown(e) },
299
- h("nav", { role: "navigation", "aria-labelledby": this.accessibleLabelledBy ? `${this.accessibleLabelledBy} ${this.listId}` : this.listId, "aria-describedby": this.accessibleDescribedBy ? `${this.accessibleDescribedBy} ${this.listId}` : this.listId, "aria-descriptions": this.accessibleDescription, "aria-details": this.accessibleDetails, ref: el => (this.nativeNav = el), "aria-controls": this.ariaControls, class: {
300
- "duet-pagination-nav": true,
301
- [`duet-pagination-variation-${this.variation}`]: true,
302
- } },
303
- this.numbersStore !== "" && (h("div", { "aria-live": "assertive", "aria-relevant": "text", class: "duet-pagination-overlay", "aria-label": `${this.accessibleLabels.jump_to} ${this.numbersStore}`, part: "navigation-overlay" },
304
- h("duet-badge", null,
305
- "jump to page : ",
306
- this.numbersStore))),
307
- h("ol", { id: this.listId, class: {
308
- "duet-pagination": true,
309
- "duet-pagination-is-dimmed": this.numbersStore !== "",
310
- }, role: "menubar", "aria-label": this.accessibleLabels.pagination_label, "aria-description": this.accessibleLabels.description },
311
- h("li", { class: {
312
- "duet-pagination-page-button": true,
313
- "duet-pagination-button-first": true,
314
- }, role: "menuitem", part: "navigation-arrow" },
315
- h("duet-action-button", { disabled: this.internalSectionIndex === 0 && this.current <= 1, "data-direction": "back", onClick: e => this.onMouseHandler(e, -1), "aria-label": this.accessibleLabels.previous_page, "icon-name": "action-arrow-left-small" })),
316
- this.internalSectionIndex !== 0 && this.shouldDisplayNavigation() && (h(Fragment, null,
317
- h("li", { class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" },
318
- h("duet-button", { class: "duet-pagination-link duet-pagination-link-jump-back", "center-text": "true", variation: "plain", color: "secondary", margin: "none", accessibleLabel: this.accessibleLabels.first_page, onClick: e => this.jumpToStart(e) },
319
- h("div", { class: "duet-pagination-page-number" }, "1"))),
320
- h("li", { class: "duet-pagination-item", role: "menuitem", part: "navigation-section" },
321
- h("duet-button", { class: "duet-pagination-link duet-pagination-link-dots-back", "center-text": "true", color: "secondary", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.prev_section.replace("{0}", `${this.visibleItems}`), onClick: e => this.sectionClickHandler(e, -1) },
322
- h("div", { class: "duet-pagination-page-number", "aria-hidden": "true" }, "..."))))),
323
- this.renderPageNumbers(),
324
- this.internalSectionIndex * (this.visibleItems + 2) < this.totalPages && this.shouldDisplayNavigation() && (h(Fragment, null,
325
- h("li", { class: "duet-pagination-item", role: "menuitem", part: "navigation-section" },
326
- h("duet-button", { class: "duet-pagination-link duet-pagination-link-dots-forward", "center-text": "true", color: "secondary", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.next_section.replace("{0}", `${this.visibleItems}`), onClick: e => this.sectionClickHandler(e, 1) },
327
- h("div", { class: "duet-pagination-page-number", "aria-hidden": "true" }, "..."))),
328
- h("li", { class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" },
329
- h("duet-button", { class: "duet-pagination-link duet-pagination-link-jump-forward", "center-text": "true", color: "secondary", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.last_page, onClick: e => this.jumpToEnd(e) },
330
- h("div", { class: "duet-pagination-page-number" }, this.totalPages))))),
331
- h("li", { class: {
332
- "duet-pagination-page-button": true,
333
- "duet-pagination-button-last": true,
334
- }, role: "menuitem", part: "navigation-arrow" },
335
- h("duet-action-button", { disabled: this.current === this.totalPages &&
336
- this.internalSectionIndex === Math.ceil(this.totalPages / this.visibleItems) - 1, class: "duet-date-dialog-next", "aria-label": this.accessibleLabels.next_page, onClick: e => this.onMouseHandler(e, 1), "icon-name": "action-arrow-right-small" }))))));
246
+ return (h(Host, { onKeyDown: e => this.onKeyboardDown(e) }, h("nav", { role: "navigation", "aria-labelledby": this.accessibleLabelledBy ? `${this.accessibleLabelledBy} ${this.listId}` : this.listId, "aria-describedby": this.accessibleDescribedBy ? `${this.accessibleDescribedBy} ${this.listId}` : this.listId, "aria-descriptions": this.accessibleDescription, "aria-details": this.accessibleDetails, ref: el => (this.nativeNav = el), "aria-controls": this.ariaControls, class: {
247
+ "duet-pagination-nav": true,
248
+ [`duet-pagination-variation-${this.variation}`]: true,
249
+ } }, this.numbersStore !== "" && (h("div", { "aria-live": "assertive", "aria-relevant": "text", class: "duet-pagination-overlay", "aria-label": `${this.accessibleLabels.jump_to} ${this.numbersStore}`, part: "navigation-overlay" }, h("duet-badge", null, "jump to page : ", this.numbersStore))), h("ol", { id: this.listId, class: {
250
+ "duet-pagination": true,
251
+ "duet-pagination-is-dimmed": this.numbersStore !== "",
252
+ }, role: "menubar", "aria-label": this.accessibleLabels.pagination_label, "aria-description": this.accessibleLabels.description }, h("li", { class: {
253
+ "duet-pagination-page-button": true,
254
+ "duet-pagination-button-first": true,
255
+ }, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { disabled: this.internalSectionIndex === 0 && this.current <= 1, "data-direction": "back", onClick: e => this.onMouseHandler(e, -1), "aria-label": this.accessibleLabels.previous_page, "icon-name": "action-arrow-left-small" })), this.internalSectionIndex !== 0 && this.shouldDisplayNavigation() && (h(Fragment, null, h("li", { class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, h("duet-button", { class: "duet-pagination-link duet-pagination-link-jump-back", "center-text": "true", variation: "plain", color: "secondary", margin: "none", accessibleLabel: this.accessibleLabels.first_page, onClick: e => this.jumpToStart(e) }, h("div", { class: "duet-pagination-page-number" }, "1"))), h("li", { class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, h("duet-button", { class: "duet-pagination-link duet-pagination-link-dots-back", "center-text": "true", color: "secondary", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.prev_section.replace("{0}", `${this.visibleItems}`), onClick: e => this.sectionClickHandler(e, -1) }, h("div", { class: "duet-pagination-page-number", "aria-hidden": "true" }, "..."))))), this.renderPageNumbers(), this.internalSectionIndex * (this.visibleItems + 2) < this.totalPages && this.shouldDisplayNavigation() && (h(Fragment, null, h("li", { class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, h("duet-button", { class: "duet-pagination-link duet-pagination-link-dots-forward", "center-text": "true", color: "secondary", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.next_section.replace("{0}", `${this.visibleItems}`), onClick: e => this.sectionClickHandler(e, 1) }, h("div", { class: "duet-pagination-page-number", "aria-hidden": "true" }, "..."))), h("li", { class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, h("duet-button", { class: "duet-pagination-link duet-pagination-link-jump-forward", "center-text": "true", color: "secondary", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.last_page, onClick: e => this.jumpToEnd(e) }, h("div", { class: "duet-pagination-page-number" }, this.totalPages))))), h("li", { class: {
256
+ "duet-pagination-page-button": true,
257
+ "duet-pagination-button-last": true,
258
+ }, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { disabled: this.current === this.totalPages &&
259
+ this.internalSectionIndex === Math.ceil(this.totalPages / this.visibleItems) - 1, class: "duet-date-dialog-next", "aria-label": this.accessibleLabels.next_page, onClick: e => this.onMouseHandler(e, 1), "icon-name": "action-arrow-right-small" }))))));
337
260
  }
338
261
  static get is() { return "duet-pagination"; }
339
262
  static get encapsulation() { return "shadow"; }
340
- static get originalStyleUrls() { return {
341
- "$": ["duet-pagination.scss"]
342
- }; }
343
- static get styleUrls() { return {
344
- "$": ["duet-pagination.css"]
345
- }; }
346
- static get properties() { return {
347
- "theme": {
348
- "type": "string",
349
- "mutable": true,
350
- "complexType": {
351
- "original": "DuetTheme",
352
- "resolved": "\"\" | \"default\" | \"turva\"",
353
- "references": {
354
- "DuetTheme": {
355
- "location": "import",
356
- "path": "../../common-types"
263
+ static get originalStyleUrls() {
264
+ return {
265
+ "$": ["duet-pagination.scss"]
266
+ };
267
+ }
268
+ static get styleUrls() {
269
+ return {
270
+ "$": ["duet-pagination.css"]
271
+ };
272
+ }
273
+ static get properties() {
274
+ return {
275
+ "theme": {
276
+ "type": "string",
277
+ "mutable": true,
278
+ "complexType": {
279
+ "original": "DuetTheme",
280
+ "resolved": "\"\" | \"default\" | \"turva\"",
281
+ "references": {
282
+ "DuetTheme": {
283
+ "location": "import",
284
+ "path": "../../common-types"
285
+ }
357
286
  }
358
- }
359
- },
360
- "required": false,
361
- "optional": false,
362
- "docs": {
363
- "tags": [],
364
- "text": "Theme of the pagination."
365
- },
366
- "attribute": "theme",
367
- "reflect": false,
368
- "defaultValue": "\"\""
369
- },
370
- "jumpString": {
371
- "type": "string",
372
- "mutable": false,
373
- "complexType": {
374
- "original": "string",
375
- "resolved": "string",
376
- "references": {}
377
- },
378
- "required": false,
379
- "optional": false,
380
- "docs": {
381
- "tags": [],
382
- "text": "Characters to use for the jump buttons."
383
- },
384
- "attribute": "jump-string",
385
- "reflect": false,
386
- "defaultValue": "\"...\""
387
- },
388
- "variation": {
389
- "type": "string",
390
- "mutable": false,
391
- "complexType": {
392
- "original": "DuetPaginationVariation",
393
- "resolved": "\"compact\" | \"default\"",
394
- "references": {
395
- "DuetPaginationVariation": {
396
- "location": "local"
287
+ },
288
+ "required": false,
289
+ "optional": false,
290
+ "docs": {
291
+ "tags": [],
292
+ "text": "Theme of the pagination."
293
+ },
294
+ "attribute": "theme",
295
+ "reflect": false,
296
+ "defaultValue": "\"\""
297
+ },
298
+ "jumpString": {
299
+ "type": "string",
300
+ "mutable": false,
301
+ "complexType": {
302
+ "original": "string",
303
+ "resolved": "string",
304
+ "references": {}
305
+ },
306
+ "required": false,
307
+ "optional": false,
308
+ "docs": {
309
+ "tags": [],
310
+ "text": "Characters to use for the jump buttons."
311
+ },
312
+ "attribute": "jump-string",
313
+ "reflect": false,
314
+ "defaultValue": "\"...\""
315
+ },
316
+ "variation": {
317
+ "type": "string",
318
+ "mutable": false,
319
+ "complexType": {
320
+ "original": "DuetPaginationVariation",
321
+ "resolved": "\"compact\" | \"default\"",
322
+ "references": {
323
+ "DuetPaginationVariation": {
324
+ "location": "local"
325
+ }
397
326
  }
398
- }
399
- },
400
- "required": false,
401
- "optional": false,
402
- "docs": {
403
- "tags": [],
404
- "text": "Variation of the paginator (compact and default supported)"
405
- },
406
- "attribute": "variation",
407
- "reflect": false,
408
- "defaultValue": "\"default\""
409
- },
410
- "accessibleDescribedBy": {
411
- "type": "string",
412
- "mutable": false,
413
- "complexType": {
414
- "original": "string",
415
- "resolved": "string",
416
- "references": {}
417
- },
418
- "required": false,
419
- "optional": false,
420
- "docs": {
421
- "tags": [],
422
- "text": "Described By id"
423
- },
424
- "attribute": "accessible-described-by",
425
- "reflect": false,
426
- "defaultValue": "undefined"
427
- },
428
- "accessibleDetails": {
429
- "type": "string",
430
- "mutable": false,
431
- "complexType": {
432
- "original": "string",
433
- "resolved": "string",
434
- "references": {}
435
- },
436
- "required": false,
437
- "optional": false,
438
- "docs": {
439
- "tags": [],
440
- "text": "Details of the component"
441
- },
442
- "attribute": "accessible-details",
443
- "reflect": false,
444
- "defaultValue": "undefined"
445
- },
446
- "accessibleLabelledBy": {
447
- "type": "string",
448
- "mutable": false,
449
- "complexType": {
450
- "original": "string",
451
- "resolved": "string",
452
- "references": {}
453
- },
454
- "required": false,
455
- "optional": false,
456
- "docs": {
457
- "tags": [],
458
- "text": "String of id's that indicate alternative labels elements"
459
- },
460
- "attribute": "accessible-labelled-by",
461
- "reflect": false,
462
- "defaultValue": "undefined"
463
- },
464
- "accessibleDescription": {
465
- "type": "string",
466
- "mutable": false,
467
- "complexType": {
468
- "original": "string",
469
- "resolved": "string",
470
- "references": {}
471
- },
472
- "required": false,
473
- "optional": false,
474
- "docs": {
475
- "tags": [],
476
- "text": "Aria description the button"
477
- },
478
- "attribute": "accessible-description",
479
- "reflect": false,
480
- "defaultValue": "undefined"
481
- },
482
- "accessibleLabelsDefaults": {
483
- "type": "unknown",
484
- "mutable": false,
485
- "complexType": {
486
- "original": "DuetLangObject",
487
- "resolved": "DuetLangObject",
488
- "references": {
489
- "DuetLangObject": {
490
- "location": "import",
491
- "path": "../../utils/language-utils"
327
+ },
328
+ "required": false,
329
+ "optional": false,
330
+ "docs": {
331
+ "tags": [],
332
+ "text": "Variation of the paginator (compact and default supported)"
333
+ },
334
+ "attribute": "variation",
335
+ "reflect": false,
336
+ "defaultValue": "\"default\""
337
+ },
338
+ "accessibleDescribedBy": {
339
+ "type": "string",
340
+ "mutable": false,
341
+ "complexType": {
342
+ "original": "string",
343
+ "resolved": "string",
344
+ "references": {}
345
+ },
346
+ "required": false,
347
+ "optional": false,
348
+ "docs": {
349
+ "tags": [],
350
+ "text": "Described By id"
351
+ },
352
+ "attribute": "accessible-described-by",
353
+ "reflect": false,
354
+ "defaultValue": "undefined"
355
+ },
356
+ "accessibleDetails": {
357
+ "type": "string",
358
+ "mutable": false,
359
+ "complexType": {
360
+ "original": "string",
361
+ "resolved": "string",
362
+ "references": {}
363
+ },
364
+ "required": false,
365
+ "optional": false,
366
+ "docs": {
367
+ "tags": [],
368
+ "text": "Details of the component"
369
+ },
370
+ "attribute": "accessible-details",
371
+ "reflect": false,
372
+ "defaultValue": "undefined"
373
+ },
374
+ "accessibleLabelledBy": {
375
+ "type": "string",
376
+ "mutable": false,
377
+ "complexType": {
378
+ "original": "string",
379
+ "resolved": "string",
380
+ "references": {}
381
+ },
382
+ "required": false,
383
+ "optional": false,
384
+ "docs": {
385
+ "tags": [],
386
+ "text": "String of id's that indicate alternative labels elements"
387
+ },
388
+ "attribute": "accessible-labelled-by",
389
+ "reflect": false,
390
+ "defaultValue": "undefined"
391
+ },
392
+ "accessibleDescription": {
393
+ "type": "string",
394
+ "mutable": false,
395
+ "complexType": {
396
+ "original": "string",
397
+ "resolved": "string",
398
+ "references": {}
399
+ },
400
+ "required": false,
401
+ "optional": false,
402
+ "docs": {
403
+ "tags": [],
404
+ "text": "Aria description the button"
405
+ },
406
+ "attribute": "accessible-description",
407
+ "reflect": false,
408
+ "defaultValue": "undefined"
409
+ },
410
+ "accessibleLabelsDefaults": {
411
+ "type": "unknown",
412
+ "mutable": false,
413
+ "complexType": {
414
+ "original": "DuetLangObject",
415
+ "resolved": "DuetLangObject",
416
+ "references": {
417
+ "DuetLangObject": {
418
+ "location": "import",
419
+ "path": "../../utils/language-utils"
420
+ }
492
421
  }
493
- }
494
- },
495
- "required": false,
496
- "optional": false,
497
- "docs": {
498
- "tags": [],
499
- "text": "Default pagination labels"
500
- },
501
- "defaultValue": "{\n en: {\n next_page: \"Next page\",\n previous_page: \"Previous page\",\n first_page: \"First page\",\n last_page: \"Last page\",\n jump_to: \"Jump to page\",\n go_to: \"Go to page\",\n description:\n \"You may use arrow keys to select page number, or enter a page number when this element is in focus to jump to a page\",\n pagination_label: \"Pagination, choose a number to jump to a page\",\n prev_section: \"Show previous {0} page numbers, screen reader user should use arrowkeys to navigate\",\n next_section: \"Show next {0} page numbers, screen reader user should use arrowkeys to navigate\",\n },\n fi: {\n next_page: \"Seuraava sivu\",\n previous_page: \"Edellinen sivu\",\n first_page: \"Ensimm\u00E4inen sivu\",\n last_page: \"Viimeinen sivu\",\n jump_to: \"Siirry sivulle\",\n go_to: \"Siirry sivulle\",\n description:\n \"Voit k\u00E4ytt\u00E4\u00E4 nuolin\u00E4pp\u00E4imi\u00E4 sivunumeron valitsemiseen, tai kirjoittaa sivunumeron, jos t\u00E4m\u00E4 elementti on aktiivinen, siirtym\u00E4\u00E4n sivulle\",\n pagination_label: \"Sivutus, valitse sivunumero siirty\u00E4ksesi sivulle\",\n prev_section: \"N\u00E4yt\u00E4 edelliset {0} sivunumerot, k\u00E4ytt\u00E4j\u00E4n pit\u00E4\u00E4 k\u00E4ytt\u00E4\u00E4 nuolin\u00E4pp\u00E4imi\u00E4 navigoidaksesi\",\n next_section: \"N\u00E4yt\u00E4 seuraavat {0} sivunumerot, k\u00E4ytt\u00E4j\u00E4n pit\u00E4\u00E4 k\u00E4ytt\u00E4\u00E4 nuolin\u00E4pp\u00E4imi\u00E4 navigoidaksesi\",\n },\n sv: {\n next_page: \"N\u00E4sta sida\",\n previous_page: \"F\u00F6reg\u00E5ende sida\",\n first_page: \"F\u00F6rsta sidan\",\n last_page: \"Sista sidan\",\n jump_to: \"Hoppa till sida\",\n go_to: \"Hoppa till sida\",\n description:\n \"Du kan anv\u00E4nda piltangenterna f\u00F6r att v\u00E4lja sida, eller skriva in sida n\u00E4r elementet \u00E4r i fokus f\u00F6r att hoppa till en sida\",\n pagination_label: \"Sidutning, v\u00E4lj en siffra f\u00F6r att hoppa till en sida\",\n prev_section: \"Visa f\u00F6reg\u00E5ende {0} sidnummer, skrivbordsl\u00E4sare ska anv\u00E4nda piltangenterna f\u00F6r att navigera\",\n next_section: \"Visa n\u00E4sta {0} sidnummer, skrivbordsl\u00E4sare ska anv\u00E4nda piltangenterna f\u00F6r att navigera\",\n },\n }"
502
- },
503
- "accessibleLabels": {
504
- "type": "unknown",
505
- "mutable": false,
506
- "complexType": {
507
- "original": "Record<string, string>",
508
- "resolved": "{ [x: string]: string; }",
509
- "references": {
510
- "Record": {
511
- "location": "global"
422
+ },
423
+ "required": false,
424
+ "optional": false,
425
+ "docs": {
426
+ "tags": [],
427
+ "text": "Default pagination labels"
428
+ },
429
+ "defaultValue": "{\n en: {\n next_page: \"Next page\",\n previous_page: \"Previous page\",\n first_page: \"First page\",\n last_page: \"Last page\",\n jump_to: \"Jump to page\",\n go_to: \"Go to page\",\n description:\n \"You may use arrow keys to select page number, or enter a page number when this element is in focus to jump to a page\",\n pagination_label: \"Pagination, choose a number to jump to a page\",\n prev_section: \"Show previous {0} page numbers, screen reader user should use arrowkeys to navigate\",\n next_section: \"Show next {0} page numbers, screen reader user should use arrowkeys to navigate\",\n },\n fi: {\n next_page: \"Seuraava sivu\",\n previous_page: \"Edellinen sivu\",\n first_page: \"Ensimm\u00E4inen sivu\",\n last_page: \"Viimeinen sivu\",\n jump_to: \"Siirry sivulle\",\n go_to: \"Siirry sivulle\",\n description:\n \"Voit k\u00E4ytt\u00E4\u00E4 nuolin\u00E4pp\u00E4imi\u00E4 sivunumeron valitsemiseen, tai kirjoittaa sivunumeron, jos t\u00E4m\u00E4 elementti on aktiivinen, siirtym\u00E4\u00E4n sivulle\",\n pagination_label: \"Sivutus, valitse sivunumero siirty\u00E4ksesi sivulle\",\n prev_section: \"N\u00E4yt\u00E4 edelliset {0} sivunumerot, k\u00E4ytt\u00E4j\u00E4n pit\u00E4\u00E4 k\u00E4ytt\u00E4\u00E4 nuolin\u00E4pp\u00E4imi\u00E4 navigoidaksesi\",\n next_section: \"N\u00E4yt\u00E4 seuraavat {0} sivunumerot, k\u00E4ytt\u00E4j\u00E4n pit\u00E4\u00E4 k\u00E4ytt\u00E4\u00E4 nuolin\u00E4pp\u00E4imi\u00E4 navigoidaksesi\",\n },\n sv: {\n next_page: \"N\u00E4sta sida\",\n previous_page: \"F\u00F6reg\u00E5ende sida\",\n first_page: \"F\u00F6rsta sidan\",\n last_page: \"Sista sidan\",\n jump_to: \"Hoppa till sida\",\n go_to: \"Hoppa till sida\",\n description:\n \"Du kan anv\u00E4nda piltangenterna f\u00F6r att v\u00E4lja sida, eller skriva in sida n\u00E4r elementet \u00E4r i fokus f\u00F6r att hoppa till en sida\",\n pagination_label: \"Sidutning, v\u00E4lj en siffra f\u00F6r att hoppa till en sida\",\n prev_section: \"Visa f\u00F6reg\u00E5ende {0} sidnummer, skrivbordsl\u00E4sare ska anv\u00E4nda piltangenterna f\u00F6r att navigera\",\n next_section: \"Visa n\u00E4sta {0} sidnummer, skrivbordsl\u00E4sare ska anv\u00E4nda piltangenterna f\u00F6r att navigera\",\n },\n }"
430
+ },
431
+ "accessibleLabels": {
432
+ "type": "unknown",
433
+ "mutable": false,
434
+ "complexType": {
435
+ "original": "Record<string, string>",
436
+ "resolved": "{ [x: string]: string; }",
437
+ "references": {
438
+ "Record": {
439
+ "location": "global"
440
+ }
512
441
  }
513
- }
514
- },
515
- "required": false,
516
- "optional": false,
517
- "docs": {
518
- "tags": [],
519
- "text": "Default pagination labels"
520
- },
521
- "defaultValue": "getLocaleString(\n this.accessibleLabelsDefaults\n )"
522
- },
523
- "take": {
524
- "type": "number",
525
- "mutable": false,
526
- "complexType": {
527
- "original": "number",
528
- "resolved": "number",
529
- "references": {}
530
- },
531
- "required": false,
532
- "optional": false,
533
- "docs": {
534
- "tags": [],
535
- "text": "The size of the take, when paginating."
536
- },
537
- "attribute": "take",
538
- "reflect": false,
539
- "defaultValue": "5"
540
- },
541
- "visibleItems": {
542
- "type": "number",
543
- "mutable": false,
544
- "complexType": {
545
- "original": "number",
546
- "resolved": "number",
547
- "references": {}
548
- },
549
- "required": false,
550
- "optional": false,
551
- "docs": {
552
- "tags": [],
553
- "text": "Amount of visible page numbers to show"
554
- },
555
- "attribute": "visible-items",
556
- "reflect": false,
557
- "defaultValue": "5"
558
- },
559
- "total": {
560
- "type": "number",
561
- "mutable": false,
562
- "complexType": {
563
- "original": "number",
564
- "resolved": "number",
565
- "references": {}
566
- },
567
- "required": false,
568
- "optional": false,
569
- "docs": {
570
- "tags": [],
571
- "text": "The total size of the paginating data"
572
- },
573
- "attribute": "total",
574
- "reflect": false,
575
- "defaultValue": "1000"
576
- },
577
- "ariaControls": {
578
- "type": "string",
579
- "mutable": false,
580
- "complexType": {
581
- "original": "string",
582
- "resolved": "string",
583
- "references": {}
584
- },
585
- "required": false,
586
- "optional": false,
587
- "docs": {
588
- "tags": [],
589
- "text": "Used to indicate which dom element with ID this element controls"
590
- },
591
- "attribute": "accessible-controls",
592
- "reflect": false,
593
- "defaultValue": "\"\""
594
- },
595
- "current": {
596
- "type": "number",
597
- "mutable": true,
598
- "complexType": {
599
- "original": "number",
600
- "resolved": "number",
601
- "references": {}
602
- },
603
- "required": false,
604
- "optional": false,
605
- "docs": {
606
- "tags": [],
607
- "text": "The current page"
608
- },
609
- "attribute": "current",
610
- "reflect": false,
611
- "defaultValue": "1"
612
- }
613
- }; }
614
- static get states() { return {
615
- "numbersStore": {},
616
- "totalPages": {},
617
- "internalSectionIndex": {}
618
- }; }
619
- static get events() { return [{
620
- "method": "duetPageChange",
621
- "name": "duetPageChange",
622
- "bubbles": false,
623
- "cancelable": true,
624
- "composed": true,
625
- "docs": {
626
- "tags": [],
627
- "text": "Emitted a page selection has been made"
628
- },
629
- "complexType": {
630
- "original": "DuetPaginationPageEvent",
631
- "resolved": "{ originalEvent?: Event; component: \"duet-pagination\"; current: number; take: number; from: number; to: number; type: \"page\" | \"jump\"; }",
632
- "references": {
633
- "DuetPaginationPageEvent": {
634
- "location": "local"
442
+ },
443
+ "required": false,
444
+ "optional": false,
445
+ "docs": {
446
+ "tags": [],
447
+ "text": "Default pagination labels"
448
+ },
449
+ "defaultValue": "getLocaleString(\n this.accessibleLabelsDefaults\n )"
450
+ },
451
+ "take": {
452
+ "type": "number",
453
+ "mutable": false,
454
+ "complexType": {
455
+ "original": "number",
456
+ "resolved": "number",
457
+ "references": {}
458
+ },
459
+ "required": false,
460
+ "optional": false,
461
+ "docs": {
462
+ "tags": [],
463
+ "text": "The size of the take, when paginating."
464
+ },
465
+ "attribute": "take",
466
+ "reflect": false,
467
+ "defaultValue": "5"
468
+ },
469
+ "visibleItems": {
470
+ "type": "number",
471
+ "mutable": false,
472
+ "complexType": {
473
+ "original": "number",
474
+ "resolved": "number",
475
+ "references": {}
476
+ },
477
+ "required": false,
478
+ "optional": false,
479
+ "docs": {
480
+ "tags": [],
481
+ "text": "Amount of visible page numbers to show"
482
+ },
483
+ "attribute": "visible-items",
484
+ "reflect": false,
485
+ "defaultValue": "5"
486
+ },
487
+ "total": {
488
+ "type": "number",
489
+ "mutable": false,
490
+ "complexType": {
491
+ "original": "number",
492
+ "resolved": "number",
493
+ "references": {}
494
+ },
495
+ "required": false,
496
+ "optional": false,
497
+ "docs": {
498
+ "tags": [],
499
+ "text": "The total size of the paginating data"
500
+ },
501
+ "attribute": "total",
502
+ "reflect": false,
503
+ "defaultValue": "1000"
504
+ },
505
+ "ariaControls": {
506
+ "type": "string",
507
+ "mutable": false,
508
+ "complexType": {
509
+ "original": "string",
510
+ "resolved": "string",
511
+ "references": {}
512
+ },
513
+ "required": false,
514
+ "optional": false,
515
+ "docs": {
516
+ "tags": [],
517
+ "text": "Used to indicate which dom element with ID this element controls"
518
+ },
519
+ "attribute": "accessible-controls",
520
+ "reflect": false,
521
+ "defaultValue": "\"\""
522
+ },
523
+ "current": {
524
+ "type": "number",
525
+ "mutable": true,
526
+ "complexType": {
527
+ "original": "number",
528
+ "resolved": "number",
529
+ "references": {}
530
+ },
531
+ "required": false,
532
+ "optional": false,
533
+ "docs": {
534
+ "tags": [],
535
+ "text": "The current page"
536
+ },
537
+ "attribute": "current",
538
+ "reflect": false,
539
+ "defaultValue": "1"
540
+ }
541
+ };
542
+ }
543
+ static get states() {
544
+ return {
545
+ "numbersStore": {},
546
+ "totalPages": {},
547
+ "internalSectionIndex": {}
548
+ };
549
+ }
550
+ static get events() {
551
+ return [{
552
+ "method": "duetPageChange",
553
+ "name": "duetPageChange",
554
+ "bubbles": false,
555
+ "cancelable": true,
556
+ "composed": true,
557
+ "docs": {
558
+ "tags": [],
559
+ "text": "Emitted a page selection has been made"
560
+ },
561
+ "complexType": {
562
+ "original": "DuetPaginationPageEvent",
563
+ "resolved": "{ originalEvent?: Event; component: \"duet-pagination\"; current: number; take: number; from: number; to: number; type: \"page\" | \"jump\"; }",
564
+ "references": {
565
+ "DuetPaginationPageEvent": {
566
+ "location": "local"
567
+ }
635
568
  }
636
569
  }
637
- }
638
- }]; }
570
+ }];
571
+ }
639
572
  static get elementRef() { return "element"; }
640
- static get watchers() { return [{
641
- "propName": "total",
642
- "methodName": "watchPropTotalHandler"
643
- }, {
644
- "propName": "current",
645
- "methodName": "watchStateHandler"
646
- }]; }
573
+ static get watchers() {
574
+ return [{
575
+ "propName": "total",
576
+ "methodName": "watchPropTotalHandler"
577
+ }, {
578
+ "propName": "current",
579
+ "methodName": "watchStateHandler"
580
+ }];
581
+ }
647
582
  }