@orangelogic/design-system 2.84.0 → 2.86.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.
- package/library/chunks/{color-swatch-group.P7OmP2yj.js → color-swatch-group.DPGjdQIL.js} +1 -1
- package/library/chunks/{list-editor.DG60pYw-.js → list-editor.DnLRd7ks.js} +1 -1
- package/library/chunks/{pagination._JRGq9Ld.js → pagination.DC9JIt4s.js} +110 -116
- package/library/chunks/{table.Hdu2SawG.js → table.vctaA5cg.js} +4022 -3978
- package/library/components/atoms.js +2 -2
- package/library/components/checkbox.js +4 -4
- package/library/components/color-swatch-group.js +2 -2
- package/library/components/list-editor.js +2 -2
- package/library/components/molecules.js +1 -1
- package/library/components/organisms.js +1 -1
- package/library/components/pagination.js +1 -1
- package/library/components/table.js +2 -2
- package/library/components/types.js +2068 -2064
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/pagination/pagination.d.ts +8 -7
- package/library/packages/atoms/src/components/table/modules/HoverMenu.d.ts +2 -2
- package/library/packages/atoms/src/components/table/table.d.ts +2 -2
- package/library/packages/hybrid/table-core/src/index.d.ts +1 -0
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/ColumnManager.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/CoreFeature.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/FooterManager.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/Module.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/RowManager.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/Tabulator.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/cell/Cell.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/cell/CellComponent.d.ts +4 -4
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/column/Column.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/column/ColumnComponent.d.ts +2 -2
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/defaults/options.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/rendering/Renderer.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/rendering/renderers/BasicHorizontal.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/rendering/renderers/BasicVertical.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/rendering/renderers/VirtualDomHorizontal.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/rendering/renderers/VirtualDomVertical.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/row/Row.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/row/RowComponent.d.ts +2 -2
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/tools/Alert.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/tools/ComponentFunctionBinder.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/tools/DataLoader.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/tools/DependencyRegistry.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/tools/DeprecationAdvisor.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/tools/ExternalEventBus.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/tools/InteractionMonitor.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/tools/InternalEventBus.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/tools/ModuleBinder.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/tools/OptionsList.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/tools/Popup.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/types.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Ajax/Ajax.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Clipboard/Clipboard.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Clipboard/defaults/pasteParsers.d.ts +1 -1
- package/library/packages/hybrid/table-core/src/tabulator-tables/modules/Clipboard/extensions/extensions.d.ts +7 -0
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/ColumnCalcs/CalcComponent.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/ColumnCalcs/ColumnCalcs.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Comms/Comms.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/DataTree/DataTree.d.ts +2 -2
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Download/Download.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Download/defaults/downloaders/csv.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Download/defaults/downloaders/html.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Download/defaults/downloaders/json.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Download/defaults/downloaders/jsonLines.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Download/defaults/downloaders/pdf.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Download/defaults/downloaders/xlsx.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Download/defaults/downloaders.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Edit/Edit.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Edit/List.d.ts +3 -3
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Edit/defaults/editors/list.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Export/Export.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Export/ExportColumn.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Export/ExportRow.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Export/defaults/rowLookups.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Filter/Filter.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Filter/formatter-display-resolvers.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/Format.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/composite.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/icon.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/number.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/plaintext.d.ts +2 -2
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/tag.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/time.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/traffic.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/typography.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/FrozenColumns/FrozenColumns.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/GroupRows/Group.d.ts +2 -2
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/GroupRows/GroupComponent.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/GroupRows/GroupLoadMore.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/GroupRows/GroupRows.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/History/History.d.ts +1 -1
- package/library/packages/hybrid/table-core/src/tabulator-tables/modules/History/extensions/extensions.d.ts +7 -0
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Import/defaults/importers.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Layout/Layout.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Localize/Localize.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Page/Page.d.ts +2 -2
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/PlaceholderRow/PlaceholderRow.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/ResizeColumns/ResizeColumns.d.ts +1 -0
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/ResizeRows/ResizeRows.d.ts +1 -0
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/ResizeTable/ResizeTable.d.ts +6 -0
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/SelectRange/Range.d.ts +5 -5
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/SelectRange/RangeComponent.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/SelectRange/SelectRange.d.ts +11 -11
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/SelectRange/extensions/extensions.d.ts +2 -2
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/SelectRow/SelectRow.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/SelectRow/extensions/formatters/rowSelection.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Sort/Sort.d.ts +1 -1
- package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Spreadsheet/SheetComponent.d.ts +2 -2
- package/library/packages/molecules/src/3d-viewer/3d-viewer.d.ts +2 -0
- package/library/packages/molecules/src/3d-viewer/components/3d-viewer-config/3d-viewer-config.d.ts +2 -0
- package/library/packages/molecules/src/3d-viewer/components/3d-viewer-control/3d-viewer-control.d.ts +2 -0
- package/library/packages/organisms/src/text-to-speech/text-to-speech.d.ts +0 -2
- package/library/packages/types/src/pagination.d.ts +1 -0
- package/library/react-web-component.d.ts +8 -0
- package/package.json +1 -1
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Clipboard/extensions/extensions.d.ts +0 -7
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/History/extensions/extensions.d.ts +0 -7
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/TabulatorFull.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/column/defaults/options.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/modules/core.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/modules/optional.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/row/PseudoRow.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/tools/Helpers.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/core/tools/TableRegistry.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/index.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Accessibility/Accessibility.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Accessor/Accessor.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Accessor/defaults/accessors.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Ajax/defaults/config.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Ajax/defaults/contentTypeFormatters.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Ajax/defaults/urlGenerator.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Clipboard/defaults/pasteActions.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Clipboard/extensions/keybindings/actions.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Clipboard/extensions/keybindings/bindings.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/ColumnCalcs/defaults/calculations.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Edit/defaults/editors/adaptable.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Edit/defaults/editors/date.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Edit/defaults/editors/datetime.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Edit/defaults/editors/input.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Edit/defaults/editors/number.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Edit/defaults/editors/progress.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Edit/defaults/editors/range.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Edit/defaults/editors/star.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Edit/defaults/editors/textarea.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Edit/defaults/editors/tickCross.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Edit/defaults/editors/time.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Edit/defaults/editors.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Edit/inputMask.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Export/defaults/columnLookups.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Filter/defaults/filters.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/adaptable.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/array.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/buttonCross.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/buttonTick.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/color.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/datetime.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/datetimediff.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/handle.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/html.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/image.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/json.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/link.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/lookup.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/money.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/progress.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/rownum.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/star.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/textarea.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/tickCross.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters/toggle.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/defaults/formatters.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Format/formatter-lookup.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/FrozenRows/FrozenRows.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/History/defaults/redoers.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/History/defaults/undoers.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/History/extensions/keybindings/actions.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/History/extensions/keybindings/bindings.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/HtmlTableImport/HtmlTableImport.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Import/Import.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Import/defaults/importers/array.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Import/defaults/importers/csv.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Import/defaults/importers/json.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Import/defaults/importers/xlsx.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Interaction/Interaction.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Keybindings/Keybindings.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Keybindings/defaults/actions.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Keybindings/defaults/bindings.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Layout/defaults/modes/fitColumns.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Layout/defaults/modes/fitData.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Layout/defaults/modes/fitDataGeneral.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Layout/defaults/modes/fitDataStretch.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Layout/defaults/modes.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Localize/defaults/langs.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Menu/Menu.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/MoveColumns/MoveColumns.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/MoveRows/MoveRows.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/MoveRows/defaults/receivers.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/MoveRows/defaults/senders.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Mutator/Mutator.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Mutator/defaults/mutators.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Persistence/Persistence.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Persistence/defaults/readers.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Persistence/defaults/writers.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Popup/Popup.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Print/Print.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/ReactiveData/ReactiveData.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/ResponsiveLayout/ResponsiveLayout.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/ResponsiveLayout/extensions/extensions.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/ResponsiveLayout/extensions/formatters/responsiveCollapse.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/SelectRange/extensions/clipboard/pasteActions.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/SelectRange/extensions/clipboard/pasteParsers.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/SelectRange/extensions/export/columnLookups.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/SelectRange/extensions/export/rowLookups.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/SelectRange/extensions/keybindings/actions.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/SelectRange/extensions/keybindings/bindings.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/SelectRow/extensions/extensions.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Sort/defaults/sorters/alphanum.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Sort/defaults/sorters/array.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Sort/defaults/sorters/boolean.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Sort/defaults/sorters/date.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Sort/defaults/sorters/datetime.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Sort/defaults/sorters/exists.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Sort/defaults/sorters/number.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Sort/defaults/sorters/string.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Sort/defaults/sorters/time.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Sort/defaults/sorters.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Spreadsheet/GridCalculator.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Spreadsheet/Sheet.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Spreadsheet/Spreadsheet.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Tooltip/Tooltip.d.ts +0 -0
- /package/library/packages/{atoms/src/components/table → hybrid/table-core/src}/tabulator-tables/modules/Validate/Validate.d.ts +0 -0
- /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.
|
|
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.
|
|
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
|
|
2
|
-
import { n, C as
|
|
3
|
-
import { C as
|
|
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
|
|
6
|
-
import { c as
|
|
7
|
-
import { w as
|
|
8
|
-
import { i as
|
|
9
|
-
import { r as
|
|
10
|
-
import { e as
|
|
11
|
-
import { c as
|
|
12
|
-
import { n as
|
|
13
|
-
import { C as
|
|
14
|
-
import
|
|
15
|
-
import { C as
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import { C as
|
|
19
|
-
import { c as
|
|
20
|
-
var
|
|
21
|
-
const
|
|
22
|
-
${
|
|
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
|
|
98
|
-
for (var
|
|
99
|
-
(
|
|
100
|
-
return
|
|
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
|
|
102
|
+
let e = class extends _ {
|
|
103
103
|
constructor() {
|
|
104
|
-
super(...arguments), this.localize = new
|
|
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
|
|
107
|
-
|
|
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
|
|
111
|
+
return m((this.currentPage - 1) * this.pageSize + 1, 0, this.count);
|
|
114
112
|
}
|
|
115
113
|
get pageEnd() {
|
|
116
|
-
return
|
|
114
|
+
return m(this.currentPage * this.pageSize, 0, this.count);
|
|
117
115
|
}
|
|
118
116
|
get prevDisabled() {
|
|
119
|
-
return this.
|
|
117
|
+
return this.currentPage <= p;
|
|
120
118
|
}
|
|
121
119
|
get nextDisabled() {
|
|
122
|
-
return this.
|
|
120
|
+
return this.currentPage >= this._pageCount;
|
|
123
121
|
}
|
|
124
122
|
get hasMultiplePages() {
|
|
125
123
|
return this._pageCount > 1;
|
|
126
124
|
}
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
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.
|
|
136
|
+
i && (this.pageSize = Number(i.value), this.currentPage = p);
|
|
134
137
|
}
|
|
135
138
|
handleFirst() {
|
|
136
|
-
this.
|
|
139
|
+
this.currentPage = p;
|
|
137
140
|
}
|
|
138
141
|
handleBack() {
|
|
139
|
-
this.
|
|
142
|
+
this.currentPage = Math.max(p, this.currentPage - 1);
|
|
140
143
|
}
|
|
141
144
|
handleForward() {
|
|
142
|
-
this.
|
|
145
|
+
this.currentPage = Math.min(this._pageCount, this.currentPage + 1);
|
|
143
146
|
}
|
|
144
147
|
handleLast() {
|
|
145
|
-
this.
|
|
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.
|
|
153
|
+
this._pageInputValue = this.currentPage.toString();
|
|
151
154
|
return;
|
|
152
155
|
}
|
|
153
|
-
this.
|
|
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.
|
|
166
|
+
this._pageInputValue = this.currentPage.toString();
|
|
164
167
|
}
|
|
165
168
|
renderCounterInput() {
|
|
166
|
-
return
|
|
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.
|
|
172
|
+
this._pageInputValue = this.currentPage.toString(), this.emit("cx-page-change", {
|
|
173
173
|
detail: {
|
|
174
|
-
pageIndex: this.
|
|
174
|
+
pageIndex: this.currentPage
|
|
175
175
|
}
|
|
176
176
|
});
|
|
177
177
|
}
|
|
178
178
|
handlePageSizeChange() {
|
|
179
|
-
this.
|
|
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
|
|
187
|
-
|
|
186
|
+
const n = t.target?.dataset.page;
|
|
187
|
+
n && (this.currentPage = this.normalizePage(Number(n)));
|
|
188
188
|
}
|
|
189
189
|
renderPageButton(t) {
|
|
190
|
-
return
|
|
190
|
+
return s`<cx-button data-page=${t} variant="text" size="small" class=${$({
|
|
191
191
|
pagination__page: !0,
|
|
192
|
-
"pagination__page--active": t === this.
|
|
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),
|
|
197
|
-
|
|
198
|
-
this._pageCount - this.
|
|
199
|
-
),
|
|
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.
|
|
201
|
+
this.currentPage <= i ? this.paginationButtonCount : this.currentPage + i
|
|
202
202
|
);
|
|
203
|
-
return
|
|
204
|
-
Array.from({ length:
|
|
205
|
-
(
|
|
206
|
-
(
|
|
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 ?
|
|
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
|
|
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
|
|
221
|
+
return s`<div class="pagination">${g(
|
|
222
222
|
this.pageSizeOptions.length > 1,
|
|
223
|
-
() =>
|
|
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) =>
|
|
226
|
+
(t) => s`<cx-option value=${t}>${t}</cx-option>`
|
|
227
227
|
)}</cx-select></label>`
|
|
228
228
|
)}
|
|
229
|
-
${
|
|
230
|
-
this.paginationCounter ===
|
|
229
|
+
${g(
|
|
230
|
+
this.paginationCounter === l.Both || this.paginationCounter === l.Rows,
|
|
231
231
|
() => this.renderRowCount(),
|
|
232
232
|
() => this.renderPageCount()
|
|
233
233
|
)}
|
|
234
|
-
${
|
|
234
|
+
${g(
|
|
235
235
|
this.hasMultiplePages,
|
|
236
|
-
() =>
|
|
236
|
+
() => s`<div class="pagination__navigation-buttons">${g(
|
|
237
237
|
this.showFirst,
|
|
238
|
-
() =>
|
|
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>${
|
|
240
|
-
this.paginationCounter ===
|
|
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
|
-
${
|
|
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
|
-
() =>
|
|
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 =
|
|
250
|
+
e.styles = M;
|
|
251
251
|
e.dependencies = {
|
|
252
|
-
"cx-button":
|
|
253
|
-
"cx-icon-button":
|
|
254
|
-
"cx-input":
|
|
255
|
-
"cx-option":
|
|
256
|
-
"cx-select":
|
|
257
|
-
"cx-space":
|
|
258
|
-
"cx-tooltip":
|
|
259
|
-
"cx-typography":
|
|
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
|
-
|
|
262
|
+
o({ type: Number })
|
|
263
263
|
], e.prototype, "count", 2);
|
|
264
264
|
a([
|
|
265
|
-
|
|
265
|
+
o({
|
|
266
266
|
attribute: "page-size-options",
|
|
267
267
|
converter: {
|
|
268
268
|
fromAttribute: (t) => {
|
|
269
|
-
const i = (t ?? "").trim().split(/\s+/).map((
|
|
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
|
-
|
|
278
|
+
o({ attribute: "page-size", type: Number })
|
|
279
279
|
], e.prototype, "pageSize", 2);
|
|
280
280
|
a([
|
|
281
|
-
|
|
281
|
+
o({ type: String })
|
|
282
282
|
], e.prototype, "label", 2);
|
|
283
283
|
a([
|
|
284
|
-
|
|
284
|
+
o({ attribute: "show-first", type: Boolean })
|
|
285
285
|
], e.prototype, "showFirst", 2);
|
|
286
286
|
a([
|
|
287
|
-
|
|
287
|
+
o({ attribute: "show-last", type: Boolean })
|
|
288
288
|
], e.prototype, "showLast", 2);
|
|
289
289
|
a([
|
|
290
|
-
|
|
290
|
+
o({ attribute: "show-pagination-buttons", type: Boolean })
|
|
291
291
|
], e.prototype, "showPaginationButtons", 2);
|
|
292
292
|
a([
|
|
293
|
-
|
|
293
|
+
o({ attribute: "pagination-button-count", type: Number })
|
|
294
294
|
], e.prototype, "paginationButtonCount", 2);
|
|
295
295
|
a([
|
|
296
|
-
|
|
296
|
+
o({ attribute: "pagination-counter", type: String })
|
|
297
297
|
], e.prototype, "paginationCounter", 2);
|
|
298
298
|
a([
|
|
299
|
-
|
|
299
|
+
o({ attribute: "show-pagination-input", type: Boolean })
|
|
300
300
|
], e.prototype, "showPaginationInput", 2);
|
|
301
301
|
a([
|
|
302
|
-
|
|
302
|
+
o({ attribute: "back-icon-name", type: String })
|
|
303
303
|
], e.prototype, "backIconName", 2);
|
|
304
304
|
a([
|
|
305
|
-
|
|
305
|
+
o({ attribute: "next-icon-name", type: String })
|
|
306
306
|
], e.prototype, "nextIconName", 2);
|
|
307
307
|
a([
|
|
308
|
-
|
|
308
|
+
o({ attribute: "icon-button-size", type: String })
|
|
309
309
|
], e.prototype, "iconButtonSize", 2);
|
|
310
310
|
a([
|
|
311
|
-
|
|
312
|
-
], e.prototype, "
|
|
311
|
+
o({ attribute: "current-page", reflect: !0, type: Number })
|
|
312
|
+
], e.prototype, "currentPage", 2);
|
|
313
313
|
a([
|
|
314
|
-
|
|
315
|
-
], e.prototype, "_pageCount", 2);
|
|
316
|
-
a([
|
|
317
|
-
d()
|
|
314
|
+
S()
|
|
318
315
|
], e.prototype, "_pageInputValue", 2);
|
|
319
316
|
a([
|
|
320
|
-
|
|
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
|
-
|
|
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
|
-
|
|
327
|
+
l as P
|
|
334
328
|
};
|