@orangelogic/design-system 2.84.0 → 2.85.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 (226) hide show
  1. package/library/chunks/{color-swatch-group.P7OmP2yj.js → color-swatch-group.DPGjdQIL.js} +1 -1
  2. package/library/chunks/{list-editor.DG60pYw-.js → list-editor.DnLRd7ks.js} +1 -1
  3. package/library/chunks/{pagination._JRGq9Ld.js → pagination.DC9JIt4s.js} +110 -116
  4. package/library/chunks/{table.Hdu2SawG.js → table.vctaA5cg.js} +4022 -3978
  5. package/library/components/atoms.js +2 -2
  6. package/library/components/checkbox.js +4 -4
  7. package/library/components/color-swatch-group.js +2 -2
  8. package/library/components/list-editor.js +2 -2
  9. package/library/components/molecules.js +1 -1
  10. package/library/components/organisms.js +1 -1
  11. package/library/components/pagination.js +1 -1
  12. package/library/components/table.js +2 -2
  13. package/library/components/types.js +866 -875
  14. package/library/package.json +1 -1
  15. package/library/packages/atoms/src/components/pagination/pagination.d.ts +8 -7
  16. package/library/packages/atoms/src/components/table/modules/HoverMenu.d.ts +2 -2
  17. package/library/packages/atoms/src/components/table/table.d.ts +2 -2
  18. package/library/packages/hybrid/table-core/src/index.d.ts +1 -0
  19. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/ColumnManager.d.ts +1 -1
  20. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/CoreFeature.d.ts +1 -1
  21. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/FooterManager.d.ts +1 -1
  22. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/Module.d.ts +1 -1
  23. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/RowManager.d.ts +1 -1
  24. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/Tabulator.d.ts +1 -1
  25. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/cell/Cell.d.ts +1 -1
  26. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/cell/CellComponent.d.ts +4 -4
  27. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/column/Column.d.ts +1 -1
  28. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/column/ColumnComponent.d.ts +2 -2
  29. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/defaults/options.d.ts +1 -1
  30. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/rendering/Renderer.d.ts +1 -1
  31. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/rendering/renderers/BasicHorizontal.d.ts +1 -1
  32. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/rendering/renderers/BasicVertical.d.ts +1 -1
  33. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/rendering/renderers/VirtualDomHorizontal.d.ts +1 -1
  34. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/rendering/renderers/VirtualDomVertical.d.ts +1 -1
  35. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/row/Row.d.ts +1 -1
  36. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/row/RowComponent.d.ts +2 -2
  37. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/tools/Alert.d.ts +1 -1
  38. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/tools/ComponentFunctionBinder.d.ts +1 -1
  39. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/tools/DataLoader.d.ts +1 -1
  40. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/tools/DependencyRegistry.d.ts +1 -1
  41. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/tools/DeprecationAdvisor.d.ts +1 -1
  42. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/tools/ExternalEventBus.d.ts +1 -1
  43. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/tools/InteractionMonitor.d.ts +1 -1
  44. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/tools/InternalEventBus.d.ts +1 -1
  45. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/tools/ModuleBinder.d.ts +1 -1
  46. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/tools/OptionsList.d.ts +1 -1
  47. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/tools/Popup.d.ts +1 -1
  48. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/types.d.ts +1 -1
  49. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Ajax/Ajax.d.ts +1 -1
  50. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Clipboard/Clipboard.d.ts +1 -1
  51. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Clipboard/defaults/pasteParsers.d.ts +1 -1
  52. package/library/packages/hybrid/table-core/src/tabulator-tables/modules/Clipboard/extensions/extensions.d.ts +7 -0
  53. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/ColumnCalcs/CalcComponent.d.ts +1 -1
  54. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/ColumnCalcs/ColumnCalcs.d.ts +1 -1
  55. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Comms/Comms.d.ts +1 -1
  56. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/DataTree/DataTree.d.ts +2 -2
  57. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Download/Download.d.ts +1 -1
  58. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Download/defaults/downloaders/csv.d.ts +1 -1
  59. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Download/defaults/downloaders/html.d.ts +1 -1
  60. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Download/defaults/downloaders/json.d.ts +1 -1
  61. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Download/defaults/downloaders/jsonLines.d.ts +1 -1
  62. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Download/defaults/downloaders/pdf.d.ts +1 -1
  63. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Download/defaults/downloaders/xlsx.d.ts +1 -1
  64. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Download/defaults/downloaders.d.ts +1 -1
  65. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Edit/Edit.d.ts +1 -1
  66. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Edit/List.d.ts +3 -3
  67. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Edit/defaults/editors/list.d.ts +1 -1
  68. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Export/Export.d.ts +1 -1
  69. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Export/ExportColumn.d.ts +1 -1
  70. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Export/ExportRow.d.ts +1 -1
  71. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Export/defaults/rowLookups.d.ts +1 -1
  72. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Filter/Filter.d.ts +1 -1
  73. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Filter/formatter-display-resolvers.d.ts +1 -1
  74. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/Format.d.ts +1 -1
  75. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/composite.d.ts +1 -1
  76. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/icon.d.ts +1 -1
  77. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/number.d.ts +1 -1
  78. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/plaintext.d.ts +2 -2
  79. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/tag.d.ts +1 -1
  80. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/time.d.ts +1 -1
  81. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/traffic.d.ts +1 -1
  82. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/typography.d.ts +1 -1
  83. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/FrozenColumns/FrozenColumns.d.ts +1 -1
  84. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/GroupRows/Group.d.ts +2 -2
  85. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/GroupRows/GroupComponent.d.ts +1 -1
  86. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/GroupRows/GroupLoadMore.d.ts +1 -1
  87. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/GroupRows/GroupRows.d.ts +1 -1
  88. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/History/History.d.ts +1 -1
  89. package/library/packages/hybrid/table-core/src/tabulator-tables/modules/History/extensions/extensions.d.ts +7 -0
  90. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Import/defaults/importers.d.ts +1 -1
  91. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Layout/Layout.d.ts +1 -1
  92. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Localize/Localize.d.ts +1 -1
  93. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Page/Page.d.ts +2 -2
  94. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/PlaceholderRow/PlaceholderRow.d.ts +1 -1
  95. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/ResizeColumns/ResizeColumns.d.ts +1 -0
  96. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/ResizeRows/ResizeRows.d.ts +1 -0
  97. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/ResizeTable/ResizeTable.d.ts +6 -0
  98. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/SelectRange/Range.d.ts +5 -5
  99. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/SelectRange/RangeComponent.d.ts +1 -1
  100. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/SelectRange/SelectRange.d.ts +11 -11
  101. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/SelectRange/extensions/extensions.d.ts +2 -2
  102. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/SelectRow/SelectRow.d.ts +1 -1
  103. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/SelectRow/extensions/formatters/rowSelection.d.ts +1 -1
  104. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Sort/Sort.d.ts +1 -1
  105. package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Spreadsheet/SheetComponent.d.ts +2 -2
  106. package/library/packages/organisms/src/text-to-speech/text-to-speech.d.ts +0 -2
  107. package/library/packages/types/src/pagination.d.ts +1 -0
  108. package/library/react-web-component.d.ts +4 -0
  109. package/package.json +1 -1
  110. package/library/packages/atoms/src/components/table/tabulator-tables/modules/Clipboard/extensions/extensions.d.ts +0 -7
  111. package/library/packages/atoms/src/components/table/tabulator-tables/modules/History/extensions/extensions.d.ts +0 -7
  112. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/TabulatorFull.d.ts +0 -0
  113. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/column/defaults/options.d.ts +0 -0
  114. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/modules/core.d.ts +0 -0
  115. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/modules/optional.d.ts +0 -0
  116. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/row/PseudoRow.d.ts +0 -0
  117. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/tools/Helpers.d.ts +0 -0
  118. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/tools/TableRegistry.d.ts +0 -0
  119. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/index.d.ts +0 -0
  120. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Accessibility/Accessibility.d.ts +0 -0
  121. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Accessor/Accessor.d.ts +0 -0
  122. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Accessor/defaults/accessors.d.ts +0 -0
  123. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Ajax/defaults/config.d.ts +0 -0
  124. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Ajax/defaults/contentTypeFormatters.d.ts +0 -0
  125. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Ajax/defaults/urlGenerator.d.ts +0 -0
  126. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Clipboard/defaults/pasteActions.d.ts +0 -0
  127. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Clipboard/extensions/keybindings/actions.d.ts +0 -0
  128. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Clipboard/extensions/keybindings/bindings.d.ts +0 -0
  129. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/ColumnCalcs/defaults/calculations.d.ts +0 -0
  130. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Edit/defaults/editors/adaptable.d.ts +0 -0
  131. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Edit/defaults/editors/date.d.ts +0 -0
  132. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Edit/defaults/editors/datetime.d.ts +0 -0
  133. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Edit/defaults/editors/input.d.ts +0 -0
  134. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Edit/defaults/editors/number.d.ts +0 -0
  135. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Edit/defaults/editors/progress.d.ts +0 -0
  136. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Edit/defaults/editors/range.d.ts +0 -0
  137. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Edit/defaults/editors/star.d.ts +0 -0
  138. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Edit/defaults/editors/textarea.d.ts +0 -0
  139. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Edit/defaults/editors/tickCross.d.ts +0 -0
  140. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Edit/defaults/editors/time.d.ts +0 -0
  141. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Edit/defaults/editors.d.ts +0 -0
  142. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Edit/inputMask.d.ts +0 -0
  143. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Export/defaults/columnLookups.d.ts +0 -0
  144. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Filter/defaults/filters.d.ts +0 -0
  145. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/adaptable.d.ts +0 -0
  146. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/array.d.ts +0 -0
  147. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/buttonCross.d.ts +0 -0
  148. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/buttonTick.d.ts +0 -0
  149. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/color.d.ts +0 -0
  150. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/datetime.d.ts +0 -0
  151. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/datetimediff.d.ts +0 -0
  152. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/handle.d.ts +0 -0
  153. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/html.d.ts +0 -0
  154. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/image.d.ts +0 -0
  155. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/json.d.ts +0 -0
  156. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/link.d.ts +0 -0
  157. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/lookup.d.ts +0 -0
  158. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/money.d.ts +0 -0
  159. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/progress.d.ts +0 -0
  160. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/rownum.d.ts +0 -0
  161. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/star.d.ts +0 -0
  162. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/textarea.d.ts +0 -0
  163. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/tickCross.d.ts +0 -0
  164. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/toggle.d.ts +0 -0
  165. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters.d.ts +0 -0
  166. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/formatter-lookup.d.ts +0 -0
  167. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/FrozenRows/FrozenRows.d.ts +0 -0
  168. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/History/defaults/redoers.d.ts +0 -0
  169. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/History/defaults/undoers.d.ts +0 -0
  170. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/History/extensions/keybindings/actions.d.ts +0 -0
  171. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/History/extensions/keybindings/bindings.d.ts +0 -0
  172. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/HtmlTableImport/HtmlTableImport.d.ts +0 -0
  173. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Import/Import.d.ts +0 -0
  174. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Import/defaults/importers/array.d.ts +0 -0
  175. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Import/defaults/importers/csv.d.ts +0 -0
  176. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Import/defaults/importers/json.d.ts +0 -0
  177. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Import/defaults/importers/xlsx.d.ts +0 -0
  178. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Interaction/Interaction.d.ts +0 -0
  179. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Keybindings/Keybindings.d.ts +0 -0
  180. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Keybindings/defaults/actions.d.ts +0 -0
  181. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Keybindings/defaults/bindings.d.ts +0 -0
  182. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Layout/defaults/modes/fitColumns.d.ts +0 -0
  183. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Layout/defaults/modes/fitData.d.ts +0 -0
  184. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Layout/defaults/modes/fitDataGeneral.d.ts +0 -0
  185. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Layout/defaults/modes/fitDataStretch.d.ts +0 -0
  186. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Layout/defaults/modes.d.ts +0 -0
  187. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Localize/defaults/langs.d.ts +0 -0
  188. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Menu/Menu.d.ts +0 -0
  189. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/MoveColumns/MoveColumns.d.ts +0 -0
  190. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/MoveRows/MoveRows.d.ts +0 -0
  191. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/MoveRows/defaults/receivers.d.ts +0 -0
  192. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/MoveRows/defaults/senders.d.ts +0 -0
  193. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Mutator/Mutator.d.ts +0 -0
  194. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Mutator/defaults/mutators.d.ts +0 -0
  195. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Persistence/Persistence.d.ts +0 -0
  196. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Persistence/defaults/readers.d.ts +0 -0
  197. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Persistence/defaults/writers.d.ts +0 -0
  198. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Popup/Popup.d.ts +0 -0
  199. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Print/Print.d.ts +0 -0
  200. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/ReactiveData/ReactiveData.d.ts +0 -0
  201. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/ResponsiveLayout/ResponsiveLayout.d.ts +0 -0
  202. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/ResponsiveLayout/extensions/extensions.d.ts +0 -0
  203. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/ResponsiveLayout/extensions/formatters/responsiveCollapse.d.ts +0 -0
  204. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/SelectRange/extensions/clipboard/pasteActions.d.ts +0 -0
  205. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/SelectRange/extensions/clipboard/pasteParsers.d.ts +0 -0
  206. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/SelectRange/extensions/export/columnLookups.d.ts +0 -0
  207. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/SelectRange/extensions/export/rowLookups.d.ts +0 -0
  208. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/SelectRange/extensions/keybindings/actions.d.ts +0 -0
  209. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/SelectRange/extensions/keybindings/bindings.d.ts +0 -0
  210. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/SelectRow/extensions/extensions.d.ts +0 -0
  211. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Sort/defaults/sorters/alphanum.d.ts +0 -0
  212. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Sort/defaults/sorters/array.d.ts +0 -0
  213. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Sort/defaults/sorters/boolean.d.ts +0 -0
  214. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Sort/defaults/sorters/date.d.ts +0 -0
  215. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Sort/defaults/sorters/datetime.d.ts +0 -0
  216. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Sort/defaults/sorters/exists.d.ts +0 -0
  217. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Sort/defaults/sorters/number.d.ts +0 -0
  218. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Sort/defaults/sorters/string.d.ts +0 -0
  219. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Sort/defaults/sorters/time.d.ts +0 -0
  220. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Sort/defaults/sorters.d.ts +0 -0
  221. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Spreadsheet/GridCalculator.d.ts +0 -0
  222. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Spreadsheet/Sheet.d.ts +0 -0
  223. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Spreadsheet/Spreadsheet.d.ts +0 -0
  224. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Tooltip/Tooltip.d.ts +0 -0
  225. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Validate/Validate.d.ts +0 -0
  226. /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Validate/defaults/validators.d.ts +0 -0
@@ -1,5 +1,5 @@
1
1
  import z from "../components/space.js";
2
- import { C as $ } from "./table.Hdu2SawG.js";
2
+ import { C as $ } from "./table.vctaA5cg.js";
3
3
  import { C as k } from "./typography.DJC_UXgs.js";
4
4
  import { n as h, C as F } from "./lib-cortex-element.CVMmyPMC.js";
5
5
  import { C, a as g } from "./color-swatch.hsIcIXE-.js";
@@ -9,7 +9,7 @@ import B from "../components/radio.js";
9
9
  import K from "../components/radio-group.js";
10
10
  import U from "../components/select.js";
11
11
  import E from "../components/space.js";
12
- import { C as H, H as V } from "./table.Hdu2SawG.js";
12
+ import { C as H, H as V } from "./table.vctaA5cg.js";
13
13
  import { C as L } from "./typography.DJC_UXgs.js";
14
14
  import { n as o, C as T } from "./lib-cortex-element.CVMmyPMC.js";
15
15
  import W from "../components/dynamic-select.js";
@@ -1,25 +1,25 @@
1
- import _ from "../components/space.js";
2
- import { n, C as b } from "./lib-cortex-element.CVMmyPMC.js";
3
- import { C as y, I } from "./icon-button.BpwPU4Vg.js";
1
+ import b from "../components/space.js";
2
+ import { n as o, C as _ } from "./lib-cortex-element.CVMmyPMC.js";
3
+ import { C as P, I as y } from "./icon-button.BpwPU4Vg.js";
4
4
  import { c as f } from "./custom-element.L4WJXn1j.js";
5
- import { L as C } from "./i18n.CgwQHLcP.js";
6
- import { c as l } from "./math.DqTA6ya4.js";
7
- import { w as x } from "./watch.BCJD77bD.js";
8
- import { i as z, x as p } from "./lit-element.jLBm65_O.js";
9
- import { r as d } from "./state.CSDxrqLd.js";
10
- import { e as S } from "./class-map.BiVq-cVR.js";
11
- import { c as m } from "./repeat.DbF2p5ae.js";
12
- import { n as r } from "./when.Dr1es41R.js";
13
- import { C as $ } from "./button.BrIJPc2a.js";
14
- import v from "../components/input.js";
15
- import { C as w } from "./option.T4KSh5qy.js";
16
- import P from "../components/select.js";
17
- import B from "../components/tooltip.js";
18
- import { C as N } from "./typography.DJC_UXgs.js";
19
- import { c as k } from "./component.styles.CRO4Odto.js";
20
- var c = /* @__PURE__ */ ((t) => (t.Both = "both", t.Pages = "pages", t.Rows = "rows", t))(c || {});
21
- const O = z`
22
- ${k}
5
+ import { L as z } from "./i18n.CgwQHLcP.js";
6
+ import { c as m } from "./math.DqTA6ya4.js";
7
+ import { w as d } from "./watch.BCJD77bD.js";
8
+ import { i as C, x as s } from "./lit-element.jLBm65_O.js";
9
+ import { r as S } from "./state.CSDxrqLd.js";
10
+ import { e as $ } from "./class-map.BiVq-cVR.js";
11
+ import { c as x } from "./repeat.DbF2p5ae.js";
12
+ import { n as g } from "./when.Dr1es41R.js";
13
+ import { C as v } from "./button.BrIJPc2a.js";
14
+ import w from "../components/input.js";
15
+ import { C as I } from "./option.T4KSh5qy.js";
16
+ import B from "../components/select.js";
17
+ import N from "../components/tooltip.js";
18
+ import { C as k } from "./typography.DJC_UXgs.js";
19
+ import { c as F } from "./component.styles.CRO4Odto.js";
20
+ var l = /* @__PURE__ */ ((t) => (t.Both = "both", t.Pages = "pages", t.Rows = "rows", t))(l || {});
21
+ const p = 1, M = C`
22
+ ${F}
23
23
 
24
24
  :host {
25
25
  --width: 100px;
@@ -94,63 +94,66 @@ const O = z`
94
94
  color: var(--cx-color-primary);
95
95
  }
96
96
  `;
97
- var M = Object.defineProperty, D = Object.getOwnPropertyDescriptor, a = (t, i, s, g) => {
98
- for (var o = g > 1 ? void 0 : g ? D(i, s) : i, h = t.length - 1, u; h >= 0; h--)
99
- (u = t[h]) && (o = (g ? u(i, s, o) : u(o)) || o);
100
- return g && o && M(i, s, o), o;
97
+ var O = Object.defineProperty, D = Object.getOwnPropertyDescriptor, a = (t, i, n, c) => {
98
+ for (var r = c > 1 ? void 0 : c ? D(i, n) : i, u = t.length - 1, h; u >= 0; u--)
99
+ (h = t[u]) && (r = (c ? h(i, n, r) : h(r)) || r);
100
+ return c && r && O(i, n, r), r;
101
101
  };
102
- let e = class extends b {
102
+ let e = class extends _ {
103
103
  constructor() {
104
- super(...arguments), this.localize = new C(this), this.count = 0, this.pageSizeOptions = [10, 20, 50, 100], this.pageSize = this.pageSizeOptions[0], this.label = this.localize.term("rowsPerPage"), this.showFirst = !1, this.showLast = !1, this.showPaginationButtons = !1, this.paginationButtonCount = 5, this.paginationCounter = c.Rows, this.showPaginationInput = !1, this.backIconName = "chevron_left", this.nextIconName = "chevron_right", this.iconButtonSize = I.Medium, this._pageIndex = 1, this._pageCount = Math.max(1, Math.ceil(this.count / this.pageSize)), this._pageInputValue = this._pageIndex.toString();
104
+ super(...arguments), this.localize = new z(this), this.count = 0, this.pageSizeOptions = [10, 20, 50, 100], this.pageSize = this.pageSizeOptions[0], this.label = this.localize.term("rowsPerPage"), this.showFirst = !1, this.showLast = !1, this.showPaginationButtons = !1, this.paginationButtonCount = 5, this.paginationCounter = l.Rows, this.showPaginationInput = !1, this.backIconName = "chevron_left", this.nextIconName = "chevron_right", this.iconButtonSize = y.Medium, this.currentPage = p, this._pageInputValue = p.toString();
105
105
  }
106
- get pageIndex() {
107
- return this._pageIndex;
108
- }
109
- set pageIndex(t) {
110
- this._pageIndex = l(t, 1, this._pageCount);
106
+ get _pageCount() {
107
+ const t = Number.isFinite(this.pageSize) && this.pageSize > 0 ? this.pageSize : 1;
108
+ return Math.max(1, Math.ceil(this.count / t));
111
109
  }
112
110
  get pageStart() {
113
- return l((this._pageIndex - 1) * this.pageSize + 1, 0, this.count);
111
+ return m((this.currentPage - 1) * this.pageSize + 1, 0, this.count);
114
112
  }
115
113
  get pageEnd() {
116
- return l(this._pageIndex * this.pageSize, 0, this.count);
114
+ return m(this.currentPage * this.pageSize, 0, this.count);
117
115
  }
118
116
  get prevDisabled() {
119
- return this._pageIndex <= 1;
117
+ return this.currentPage <= p;
120
118
  }
121
119
  get nextDisabled() {
122
- return this._pageIndex >= this._pageCount;
120
+ return this.currentPage >= this._pageCount;
123
121
  }
124
122
  get hasMultiplePages() {
125
123
  return this._pageCount > 1;
126
124
  }
127
- updatePageCount() {
128
- const t = Number.isFinite(this.pageSize) && this.pageSize > 0 ? this.pageSize : 1;
129
- this._pageCount = Math.max(1, Math.ceil(this.count / t)), this.pageIndex = l(this.pageIndex, 1, this._pageCount);
125
+ normalizePage(t) {
126
+ return Number.isFinite(t) ? m(Math.trunc(t), p, this._pageCount) : p;
127
+ }
128
+ willUpdate(t) {
129
+ if (t.has("count") || t.has("pageSize") || t.has("currentPage")) {
130
+ const i = this.normalizePage(this.currentPage);
131
+ i !== this.currentPage && (this.currentPage = i);
132
+ }
130
133
  }
131
134
  handlePageSizeSelectChange(t) {
132
135
  const i = t.target;
133
- i && (this.pageSize = Number(i.value), this.pageIndex = 1);
136
+ i && (this.pageSize = Number(i.value), this.currentPage = p);
134
137
  }
135
138
  handleFirst() {
136
- this._pageIndex = 1;
139
+ this.currentPage = p;
137
140
  }
138
141
  handleBack() {
139
- this._pageIndex -= 1, this._pageIndex < 1 && this.handleFirst();
142
+ this.currentPage = Math.max(p, this.currentPage - 1);
140
143
  }
141
144
  handleForward() {
142
- this._pageIndex += 1, this._pageIndex > this._pageCount && this.handleLast();
145
+ this.currentPage = Math.min(this._pageCount, this.currentPage + 1);
143
146
  }
144
147
  handleLast() {
145
- this._pageIndex = this._pageCount;
148
+ this.currentPage = this._pageCount;
146
149
  }
147
150
  commitPageInputValue() {
148
151
  const t = Number.parseInt(this._pageInputValue, 10);
149
152
  if (!Number.isFinite(t)) {
150
- this._pageInputValue = this.pageIndex.toString();
153
+ this._pageInputValue = this.currentPage.toString();
151
154
  return;
152
155
  }
153
- this.pageIndex = l(t, 1, this._pageCount), this._pageInputValue = this.pageIndex.toString();
156
+ this.currentPage = this.normalizePage(t), this._pageInputValue = this.currentPage.toString();
154
157
  }
155
158
  handlePageInput(t) {
156
159
  const i = t.target;
@@ -160,57 +163,54 @@ let e = class extends b {
160
163
  t.key === "Enter" && (t.preventDefault(), this.commitPageInputValue());
161
164
  }
162
165
  handlePageInputBlur() {
163
- this._pageInputValue = this.pageIndex.toString();
166
+ this._pageInputValue = this.currentPage.toString();
164
167
  }
165
168
  renderCounterInput() {
166
- return p`<cx-input part="pagination-input" class="pagination__page-input" type="text" size="small" auto-grow inputmode="numeric" pattern="[0-9]*" aria-label=${this.localize.term("jump")} .value=${this._pageInputValue} @cx-input=${this.handlePageInput} @keydown=${this.handlePageInputKeyDown} @cx-blur=${this.handlePageInputBlur}></cx-input>`;
167
- }
168
- async handleCountChange() {
169
- this.updatePageCount();
169
+ return s`<cx-input part="pagination-input" class="pagination__page-input" type="text" size="small" auto-grow inputmode="numeric" pattern="[0-9]*" aria-label=${this.localize.term("jump")} .value=${this._pageInputValue} @cx-input=${this.handlePageInput} @keydown=${this.handlePageInputKeyDown} @cx-blur=${this.handlePageInputBlur}></cx-input>`;
170
170
  }
171
171
  handlePageChange() {
172
- this._pageInputValue = this.pageIndex.toString(), this.emit("cx-page-change", {
172
+ this._pageInputValue = this.currentPage.toString(), this.emit("cx-page-change", {
173
173
  detail: {
174
- pageIndex: this._pageIndex
174
+ pageIndex: this.currentPage
175
175
  }
176
176
  });
177
177
  }
178
178
  handlePageSizeChange() {
179
- this.updatePageCount(), this.emit("cx-page-size-change", {
179
+ this.emit("cx-page-size-change", {
180
180
  detail: {
181
181
  pageSize: this.pageSize
182
182
  }
183
183
  });
184
184
  }
185
185
  handlePageClick(t) {
186
- const i = t.target;
187
- i && (this.pageIndex = Number(i.dataset.page));
186
+ const n = t.target?.dataset.page;
187
+ n && (this.currentPage = this.normalizePage(Number(n)));
188
188
  }
189
189
  renderPageButton(t) {
190
- return p`<cx-button data-page=${t} variant="text" size="small" class=${S({
190
+ return s`<cx-button data-page=${t} variant="text" size="small" class=${$({
191
191
  pagination__page: !0,
192
- "pagination__page--active": t === this.pageIndex
192
+ "pagination__page--active": t === this.currentPage
193
193
  })}>${t}</cx-button>`;
194
194
  }
195
195
  renderPageButtons() {
196
- const t = Math.floor((this.paginationButtonCount - 1) / 2), i = Math.ceil((this.paginationButtonCount - 1) / 2), s = Math.max(
197
- 1,
198
- this._pageCount - this.pageIndex + t + 1 < this.paginationButtonCount ? this._pageCount - this.paginationButtonCount + 1 : this.pageIndex - t
199
- ), g = Math.min(
196
+ const t = Math.floor((this.paginationButtonCount - 1) / 2), i = Math.ceil((this.paginationButtonCount - 1) / 2), n = Math.max(
197
+ p,
198
+ this._pageCount - this.currentPage + t + 1 < this.paginationButtonCount ? this._pageCount - this.paginationButtonCount + 1 : this.currentPage - t
199
+ ), c = Math.min(
200
200
  this._pageCount,
201
- this.pageIndex <= i ? this.paginationButtonCount : this.pageIndex + i
201
+ this.currentPage <= i ? this.paginationButtonCount : this.currentPage + i
202
202
  );
203
- return p`<div class="pagination__pages" @click=${this.handlePageClick}>${m(
204
- Array.from({ length: g - s + 1 }, (o, h) => h + s),
205
- (o) => o,
206
- (o) => this.renderPageButton(o)
203
+ return s`<div class="pagination__pages" @click=${this.handlePageClick}>${x(
204
+ Array.from({ length: c - n + 1 }, (r, u) => u + n),
205
+ (r) => r,
206
+ (r) => this.renderPageButton(r)
207
207
  )}</div>`;
208
208
  }
209
209
  renderPageCount() {
210
- return !this.showPaginationInput || !this.hasMultiplePages ? p`<cx-typography variant="body3" class="pagination_count">${this.localize.term("itemOfTotal", this.pageIndex, this._pageCount)}</cx-typography>` : p`<cx-space class="pagination_count">${this.renderCounterInput()}<cx-typography variant="body3">${this.localize.term("itemOfTotal", "", this._pageCount)}</cx-typography></cx-space>`;
210
+ return !this.showPaginationInput || !this.hasMultiplePages ? s`<cx-typography variant="body3" class="pagination_count">${this.localize.term("itemOfTotal", this.currentPage, this._pageCount)}</cx-typography>` : s`<cx-space class="pagination_count">${this.renderCounterInput()}<cx-typography variant="body3">${this.localize.term("itemOfTotal", "", this._pageCount)}</cx-typography></cx-space>`;
211
211
  }
212
212
  renderRowCount() {
213
- return p`<cx-typography variant="body3" class="pagination_count">${this.localize.term(
213
+ return s`<cx-typography variant="body3" class="pagination_count">${this.localize.term(
214
214
  "itemRangeOfTotal",
215
215
  this.pageStart,
216
216
  this.pageEnd,
@@ -218,55 +218,55 @@ let e = class extends b {
218
218
  )}</cx-typography>`;
219
219
  }
220
220
  render() {
221
- return p`<div class="pagination">${r(
221
+ return s`<div class="pagination">${g(
222
222
  this.pageSizeOptions.length > 1,
223
- () => p`<label class="pagination__label__container"><cx-typography variant="body3" class="pagination__label">${this.label}</cx-typography><cx-select class="pagination__select" size="small" hoist value=${this.pageSize.toString()} @cx-change=${this.handlePageSizeSelectChange}>${m(
223
+ () => s`<label class="pagination__label__container"><cx-typography variant="body3" class="pagination__label">${this.label}</cx-typography><cx-select class="pagination__select" size="small" hoist value=${this.pageSize.toString()} @cx-change=${this.handlePageSizeSelectChange}>${x(
224
224
  this.pageSizeOptions,
225
225
  (t) => t,
226
- (t) => p`<cx-option value=${t}>${t}</cx-option>`
226
+ (t) => s`<cx-option value=${t}>${t}</cx-option>`
227
227
  )}</cx-select></label>`
228
228
  )}
229
- ${r(
230
- this.paginationCounter === c.Both || this.paginationCounter === c.Rows,
229
+ ${g(
230
+ this.paginationCounter === l.Both || this.paginationCounter === l.Rows,
231
231
  () => this.renderRowCount(),
232
232
  () => this.renderPageCount()
233
233
  )}
234
- ${r(
234
+ ${g(
235
235
  this.hasMultiplePages,
236
- () => p`<div class="pagination__navigation-buttons">${r(
236
+ () => s`<div class="pagination__navigation-buttons">${g(
237
237
  this.showFirst,
238
- () => p`<cx-tooltip hoist content=${this.localize.term("first")}><cx-icon-button class="pagination__first" label=${this.localize.term("first")} name="first_page" size=${this.iconButtonSize} ?disabled=${this.prevDisabled} @click=${this.handleFirst}></cx-icon-button></cx-tooltip>`
239
- )}<cx-tooltip hoist content=${this.localize.term("previous")}><cx-icon-button part="back-icon" class="pagination__back" label=${this.localize.term("previous")} name=${this.backIconName} size=${this.iconButtonSize} ?disabled=${this.prevDisabled} @click=${this.handleBack}></cx-icon-button></cx-tooltip>${r(
240
- this.paginationCounter === c.Both,
238
+ () => s`<cx-tooltip hoist content=${this.localize.term("first")}><cx-icon-button class="pagination__first" label=${this.localize.term("first")} name="first_page" size=${this.iconButtonSize} ?disabled=${this.prevDisabled} @click=${this.handleFirst}></cx-icon-button></cx-tooltip>`
239
+ )}<cx-tooltip hoist content=${this.localize.term("previous")}><cx-icon-button part="back-icon" class="pagination__back" label=${this.localize.term("previous")} name=${this.backIconName} size=${this.iconButtonSize} ?disabled=${this.prevDisabled} @click=${this.handleBack}></cx-icon-button></cx-tooltip>${g(
240
+ this.paginationCounter === l.Both,
241
241
  () => this.renderPageCount()
242
242
  )}
243
- ${r(this.showPaginationButtons, () => this.renderPageButtons())}<cx-tooltip hoist content=${this.localize.term("next")}><cx-icon-button part="next-icon" class="pagination__forward" label=${this.localize.term("next")} name=${this.nextIconName} size=${this.iconButtonSize} ?disabled=${this.nextDisabled} @click=${this.handleForward}></cx-icon-button></cx-tooltip>${r(
243
+ ${g(this.showPaginationButtons, () => this.renderPageButtons())}<cx-tooltip hoist content=${this.localize.term("next")}><cx-icon-button part="next-icon" class="pagination__forward" label=${this.localize.term("next")} name=${this.nextIconName} size=${this.iconButtonSize} ?disabled=${this.nextDisabled} @click=${this.handleForward}></cx-icon-button></cx-tooltip>${g(
244
244
  this.showLast,
245
- () => p`<cx-tooltip hoist content=${this.localize.term("last")}><cx-icon-button class="pagination__last" label=${this.localize.term("last")} name="last_page" size=${this.iconButtonSize} ?disabled=${this.nextDisabled} @click=${this.handleLast}></cx-icon-button></cx-tooltip>`
245
+ () => s`<cx-tooltip hoist content=${this.localize.term("last")}><cx-icon-button class="pagination__last" label=${this.localize.term("last")} name="last_page" size=${this.iconButtonSize} ?disabled=${this.nextDisabled} @click=${this.handleLast}></cx-icon-button></cx-tooltip>`
246
246
  )}</div>`
247
247
  )}</div>`;
248
248
  }
249
249
  };
250
- e.styles = O;
250
+ e.styles = M;
251
251
  e.dependencies = {
252
- "cx-button": $,
253
- "cx-icon-button": y,
254
- "cx-input": v,
255
- "cx-option": w,
256
- "cx-select": P,
257
- "cx-space": _,
258
- "cx-tooltip": B,
259
- "cx-typography": N
252
+ "cx-button": v,
253
+ "cx-icon-button": P,
254
+ "cx-input": w,
255
+ "cx-option": I,
256
+ "cx-select": B,
257
+ "cx-space": b,
258
+ "cx-tooltip": N,
259
+ "cx-typography": k
260
260
  };
261
261
  a([
262
- n({ type: Number })
262
+ o({ type: Number })
263
263
  ], e.prototype, "count", 2);
264
264
  a([
265
- n({
265
+ o({
266
266
  attribute: "page-size-options",
267
267
  converter: {
268
268
  fromAttribute: (t) => {
269
- const i = (t ?? "").trim().split(/\s+/).map((s) => Number.parseInt(s, 10)).filter((s) => Number.isFinite(s) && s > 0);
269
+ const i = (t ?? "").trim().split(/\s+/).map((n) => Number.parseInt(n, 10)).filter((n) => Number.isFinite(n) && n > 0);
270
270
  return i.length ? i : [];
271
271
  },
272
272
  toAttribute: (t) => t.join(" ")
@@ -275,60 +275,54 @@ a([
275
275
  })
276
276
  ], e.prototype, "pageSizeOptions", 2);
277
277
  a([
278
- n({ attribute: "page-size", type: Number })
278
+ o({ attribute: "page-size", type: Number })
279
279
  ], e.prototype, "pageSize", 2);
280
280
  a([
281
- n({ type: String })
281
+ o({ type: String })
282
282
  ], e.prototype, "label", 2);
283
283
  a([
284
- n({ attribute: "show-first", type: Boolean })
284
+ o({ attribute: "show-first", type: Boolean })
285
285
  ], e.prototype, "showFirst", 2);
286
286
  a([
287
- n({ attribute: "show-last", type: Boolean })
287
+ o({ attribute: "show-last", type: Boolean })
288
288
  ], e.prototype, "showLast", 2);
289
289
  a([
290
- n({ attribute: "show-pagination-buttons", type: Boolean })
290
+ o({ attribute: "show-pagination-buttons", type: Boolean })
291
291
  ], e.prototype, "showPaginationButtons", 2);
292
292
  a([
293
- n({ attribute: "pagination-button-count", type: Number })
293
+ o({ attribute: "pagination-button-count", type: Number })
294
294
  ], e.prototype, "paginationButtonCount", 2);
295
295
  a([
296
- n({ attribute: "pagination-counter", type: String })
296
+ o({ attribute: "pagination-counter", type: String })
297
297
  ], e.prototype, "paginationCounter", 2);
298
298
  a([
299
- n({ attribute: "show-pagination-input", type: Boolean })
299
+ o({ attribute: "show-pagination-input", type: Boolean })
300
300
  ], e.prototype, "showPaginationInput", 2);
301
301
  a([
302
- n({ attribute: "back-icon-name", type: String })
302
+ o({ attribute: "back-icon-name", type: String })
303
303
  ], e.prototype, "backIconName", 2);
304
304
  a([
305
- n({ attribute: "next-icon-name", type: String })
305
+ o({ attribute: "next-icon-name", type: String })
306
306
  ], e.prototype, "nextIconName", 2);
307
307
  a([
308
- n({ attribute: "icon-button-size", type: String })
308
+ o({ attribute: "icon-button-size", type: String })
309
309
  ], e.prototype, "iconButtonSize", 2);
310
310
  a([
311
- d()
312
- ], e.prototype, "_pageIndex", 2);
311
+ o({ attribute: "current-page", reflect: !0, type: Number })
312
+ ], e.prototype, "currentPage", 2);
313
313
  a([
314
- d()
315
- ], e.prototype, "_pageCount", 2);
316
- a([
317
- d()
314
+ S()
318
315
  ], e.prototype, "_pageInputValue", 2);
319
316
  a([
320
- x("count")
321
- ], e.prototype, "handleCountChange", 1);
322
- a([
323
- x(["_pageIndex"])
317
+ d("currentPage", { waitUntilFirstUpdate: !0 })
324
318
  ], e.prototype, "handlePageChange", 1);
325
319
  a([
326
- x(["pageSize"])
320
+ d("pageSize", { waitUntilFirstUpdate: !0 })
327
321
  ], e.prototype, "handlePageSizeChange", 1);
328
322
  e = a([
329
323
  f("cx-pagination")
330
324
  ], e);
331
325
  export {
332
326
  e as C,
333
- c as P
327
+ l as P
334
328
  };