@aeris-ui/core 22.0.0-alpha.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/LICENSE +21 -0
- package/README.md +189 -0
- package/fesm2022/aeris-ui-core-accordion.mjs +412 -0
- package/fesm2022/aeris-ui-core-accordion.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-animate-on-scroll.mjs +107 -0
- package/fesm2022/aeris-ui-core-animate-on-scroll.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-auto-complete.mjs +754 -0
- package/fesm2022/aeris-ui-core-auto-complete.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-auto-focus.mjs +63 -0
- package/fesm2022/aeris-ui-core-auto-focus.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-avatar.mjs +133 -0
- package/fesm2022/aeris-ui-core-avatar.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-badge.mjs +163 -0
- package/fesm2022/aeris-ui-core-badge.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-block-ui.mjs +139 -0
- package/fesm2022/aeris-ui-core-block-ui.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-breadcrumb.mjs +433 -0
- package/fesm2022/aeris-ui-core-breadcrumb.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-button-group.mjs +39 -0
- package/fesm2022/aeris-ui-core-button-group.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-button.mjs +246 -0
- package/fesm2022/aeris-ui-core-button.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-card.mjs +134 -0
- package/fesm2022/aeris-ui-core-card.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-carousel.mjs +542 -0
- package/fesm2022/aeris-ui-core-carousel.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-cascade-select.mjs +673 -0
- package/fesm2022/aeris-ui-core-cascade-select.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-chart.mjs +296 -0
- package/fesm2022/aeris-ui-core-chart.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-checkbox.mjs +220 -0
- package/fesm2022/aeris-ui-core-checkbox.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-chip.mjs +200 -0
- package/fesm2022/aeris-ui-core-chip.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-class-names.mjs +67 -0
- package/fesm2022/aeris-ui-core-class-names.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-color-picker.mjs +1192 -0
- package/fesm2022/aeris-ui-core-color-picker.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-compare.mjs +508 -0
- package/fesm2022/aeris-ui-core-compare.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-confirm-dialog.mjs +818 -0
- package/fesm2022/aeris-ui-core-confirm-dialog.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-confirm-popup.mjs +1010 -0
- package/fesm2022/aeris-ui-core-confirm-popup.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-context-menu.mjs +720 -0
- package/fesm2022/aeris-ui-core-context-menu.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-date-picker.mjs +1471 -0
- package/fesm2022/aeris-ui-core-date-picker.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-dialog.mjs +574 -0
- package/fesm2022/aeris-ui-core-dialog.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-divider.mjs +51 -0
- package/fesm2022/aeris-ui-core-divider.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-drawer.mjs +549 -0
- package/fesm2022/aeris-ui-core-drawer.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-dynamic-dialog.mjs +333 -0
- package/fesm2022/aeris-ui-core-dynamic-dialog.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-editor.mjs +1548 -0
- package/fesm2022/aeris-ui-core-editor.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-file-upload.mjs +965 -0
- package/fesm2022/aeris-ui-core-file-upload.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-filter-service.mjs +304 -0
- package/fesm2022/aeris-ui-core-filter-service.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-fluid.mjs +23 -0
- package/fesm2022/aeris-ui-core-fluid.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-focus-trap.mjs +185 -0
- package/fesm2022/aeris-ui-core-focus-trap.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-galleria.mjs +1657 -0
- package/fesm2022/aeris-ui-core-galleria.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-glass.mjs +35 -0
- package/fesm2022/aeris-ui-core-glass.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-icon-field.mjs +113 -0
- package/fesm2022/aeris-ui-core-icon-field.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-inplace.mjs +243 -0
- package/fesm2022/aeris-ui-core-inplace.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-input-group.mjs +110 -0
- package/fesm2022/aeris-ui-core-input-group.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-input-mask.mjs +343 -0
- package/fesm2022/aeris-ui-core-input-mask.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-input-number.mjs +497 -0
- package/fesm2022/aeris-ui-core-input-number.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-input-otp.mjs +361 -0
- package/fesm2022/aeris-ui-core-input-otp.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-input-text.mjs +226 -0
- package/fesm2022/aeris-ui-core-input-text.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-key-filter.mjs +208 -0
- package/fesm2022/aeris-ui-core-key-filter.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-mega-menu.mjs +835 -0
- package/fesm2022/aeris-ui-core-mega-menu.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-menu.mjs +796 -0
- package/fesm2022/aeris-ui-core-menu.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-menubar.mjs +729 -0
- package/fesm2022/aeris-ui-core-menubar.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-message.mjs +225 -0
- package/fesm2022/aeris-ui-core-message.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-meter-group.mjs +377 -0
- package/fesm2022/aeris-ui-core-meter-group.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-multi-select.mjs +1033 -0
- package/fesm2022/aeris-ui-core-multi-select.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-order-list.mjs +351 -0
- package/fesm2022/aeris-ui-core-order-list.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-organization-chart.mjs +382 -0
- package/fesm2022/aeris-ui-core-organization-chart.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-paginator.mjs +254 -0
- package/fesm2022/aeris-ui-core-paginator.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-panel.mjs +352 -0
- package/fesm2022/aeris-ui-core-panel.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-password.mjs +479 -0
- package/fesm2022/aeris-ui-core-password.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-pick-list.mjs +939 -0
- package/fesm2022/aeris-ui-core-pick-list.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-popover.mjs +535 -0
- package/fesm2022/aeris-ui-core-popover.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-progress-bar.mjs +260 -0
- package/fesm2022/aeris-ui-core-progress-bar.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-progress-spinner.mjs +218 -0
- package/fesm2022/aeris-ui-core-progress-spinner.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-radio-button.mjs +194 -0
- package/fesm2022/aeris-ui-core-radio-button.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-rating.mjs +385 -0
- package/fesm2022/aeris-ui-core-rating.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-scroll-panel.mjs +211 -0
- package/fesm2022/aeris-ui-core-scroll-panel.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-scroll-top.mjs +94 -0
- package/fesm2022/aeris-ui-core-scroll-top.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-select.mjs +1134 -0
- package/fesm2022/aeris-ui-core-select.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-skeleton.mjs +47 -0
- package/fesm2022/aeris-ui-core-skeleton.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-slider.mjs +724 -0
- package/fesm2022/aeris-ui-core-slider.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-speed-dial.mjs +589 -0
- package/fesm2022/aeris-ui-core-speed-dial.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-split-button.mjs +532 -0
- package/fesm2022/aeris-ui-core-split-button.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-splitter.mjs +488 -0
- package/fesm2022/aeris-ui-core-splitter.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-stepper.mjs +437 -0
- package/fesm2022/aeris-ui-core-stepper.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-style-class.mjs +344 -0
- package/fesm2022/aeris-ui-core-style-class.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-table.mjs +1580 -0
- package/fesm2022/aeris-ui-core-table.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-tabs.mjs +438 -0
- package/fesm2022/aeris-ui-core-tabs.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-textarea.mjs +349 -0
- package/fesm2022/aeris-ui-core-textarea.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-theme-builder.mjs +1565 -0
- package/fesm2022/aeris-ui-core-theme-builder.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-theming.mjs +150 -0
- package/fesm2022/aeris-ui-core-theming.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-tiered-menu.mjs +718 -0
- package/fesm2022/aeris-ui-core-tiered-menu.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-timeline.mjs +278 -0
- package/fesm2022/aeris-ui-core-timeline.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-toast.mjs +422 -0
- package/fesm2022/aeris-ui-core-toast.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-toggle-switch.mjs +202 -0
- package/fesm2022/aeris-ui-core-toggle-switch.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-toolbar.mjs +136 -0
- package/fesm2022/aeris-ui-core-toolbar.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-tooltip.mjs +365 -0
- package/fesm2022/aeris-ui-core-tooltip.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-tree-select.mjs +995 -0
- package/fesm2022/aeris-ui-core-tree-select.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-tree-table.mjs +1600 -0
- package/fesm2022/aeris-ui-core-tree-table.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-tree.mjs +962 -0
- package/fesm2022/aeris-ui-core-tree.mjs.map +1 -0
- package/fesm2022/aeris-ui-core.mjs +360 -0
- package/fesm2022/aeris-ui-core.mjs.map +1 -0
- package/package.json +432 -0
- package/schematics/aeris-setup.schema.json +52 -0
- package/schematics/collection.json +10 -0
- package/schematics/ng-add/schema.json +64 -0
- package/schematics/runtime/package.json +3 -0
- package/schematics/runtime/schematics/ng-add/index.js +13 -0
- package/schematics/runtime/schematics/ng-add/index.js.map +1 -0
- package/schematics/runtime/schematics/ng-add/options.js +338 -0
- package/schematics/runtime/schematics/ng-add/options.js.map +1 -0
- package/schematics/runtime/schematics/ng-add/schema.js +3 -0
- package/schematics/runtime/schematics/ng-add/schema.js.map +1 -0
- package/schematics/runtime/schematics/ng-add/workspace.js +273 -0
- package/schematics/runtime/schematics/ng-add/workspace.js.map +1 -0
- package/schematics/runtime/theme-builder/aeris-color-derivation.js +12 -0
- package/schematics/runtime/theme-builder/aeris-color-derivation.js.map +1 -0
- package/schematics/runtime/theme-builder/aeris-color.js +263 -0
- package/schematics/runtime/theme-builder/aeris-color.js.map +1 -0
- package/schematics/runtime/theme-builder/aeris-contrast.js +245 -0
- package/schematics/runtime/theme-builder/aeris-contrast.js.map +1 -0
- package/schematics/runtime/theme-builder/aeris-foundation.js +47 -0
- package/schematics/runtime/theme-builder/aeris-foundation.js.map +1 -0
- package/schematics/runtime/theme-builder/aeris-semantic-tones.js +121 -0
- package/schematics/runtime/theme-builder/aeris-semantic-tones.js.map +1 -0
- package/schematics/runtime/theme-builder/aeris-theme-generator.js +238 -0
- package/schematics/runtime/theme-builder/aeris-theme-generator.js.map +1 -0
- package/schematics/runtime/theme-builder/aeris-theme-resolver.js +101 -0
- package/schematics/runtime/theme-builder/aeris-theme-resolver.js.map +1 -0
- package/schematics/runtime/theme-builder/aeris-theme-tokens.js +82 -0
- package/schematics/runtime/theme-builder/aeris-theme-tokens.js.map +1 -0
- package/schematics/runtime/theme-builder/aeris-theme-validation.js +183 -0
- package/schematics/runtime/theme-builder/aeris-theme-validation.js.map +1 -0
- package/schematics/runtime/theme-builder/aeris-theme.js +322 -0
- package/schematics/runtime/theme-builder/aeris-theme.js.map +1 -0
- package/schematics/runtime/theme-builder/public-api.js +17 -0
- package/schematics/runtime/theme-builder/public-api.js.map +1 -0
- package/styles/_index.scss +1 -0
- package/styles/_tokens.scss +13 -0
- package/styles/aeris.css +555 -0
- package/styles/controls.css +169 -0
- package/tools/aeris-theme.mjs +149 -0
- package/tools/aeris-theme.schema.json +143 -0
- package/types/aeris-ui-core-accordion.d.ts +101 -0
- package/types/aeris-ui-core-animate-on-scroll.d.ts +34 -0
- package/types/aeris-ui-core-auto-complete.d.ts +154 -0
- package/types/aeris-ui-core-auto-focus.d.ts +17 -0
- package/types/aeris-ui-core-avatar.d.ts +44 -0
- package/types/aeris-ui-core-badge.d.ts +48 -0
- package/types/aeris-ui-core-block-ui.d.ts +28 -0
- package/types/aeris-ui-core-breadcrumb.d.ts +104 -0
- package/types/aeris-ui-core-button-group.d.ts +17 -0
- package/types/aeris-ui-core-button.d.ts +71 -0
- package/types/aeris-ui-core-card.d.ts +43 -0
- package/types/aeris-ui-core-carousel.d.ts +126 -0
- package/types/aeris-ui-core-cascade-select.d.ts +130 -0
- package/types/aeris-ui-core-chart.d.ts +92 -0
- package/types/aeris-ui-core-checkbox.d.ts +55 -0
- package/types/aeris-ui-core-chip.d.ts +56 -0
- package/types/aeris-ui-core-class-names.d.ts +21 -0
- package/types/aeris-ui-core-color-picker.d.ts +149 -0
- package/types/aeris-ui-core-compare.d.ts +109 -0
- package/types/aeris-ui-core-confirm-dialog.d.ts +263 -0
- package/types/aeris-ui-core-confirm-popup.d.ts +281 -0
- package/types/aeris-ui-core-context-menu.d.ts +156 -0
- package/types/aeris-ui-core-date-picker.d.ts +226 -0
- package/types/aeris-ui-core-dialog.d.ts +124 -0
- package/types/aeris-ui-core-divider.d.ts +21 -0
- package/types/aeris-ui-core-drawer.d.ts +119 -0
- package/types/aeris-ui-core-dynamic-dialog.d.ts +148 -0
- package/types/aeris-ui-core-editor.d.ts +130 -0
- package/types/aeris-ui-core-file-upload.d.ts +199 -0
- package/types/aeris-ui-core-filter-service.d.ts +54 -0
- package/types/aeris-ui-core-fluid.d.ts +10 -0
- package/types/aeris-ui-core-focus-trap.d.ts +32 -0
- package/types/aeris-ui-core-galleria.d.ts +273 -0
- package/types/aeris-ui-core-glass.d.ts +17 -0
- package/types/aeris-ui-core-icon-field.d.ts +36 -0
- package/types/aeris-ui-core-inplace.d.ts +68 -0
- package/types/aeris-ui-core-input-group.d.ts +38 -0
- package/types/aeris-ui-core-input-mask.d.ts +73 -0
- package/types/aeris-ui-core-input-number.d.ts +87 -0
- package/types/aeris-ui-core-input-otp.d.ts +88 -0
- package/types/aeris-ui-core-input-text.d.ts +63 -0
- package/types/aeris-ui-core-key-filter.d.ts +41 -0
- package/types/aeris-ui-core-mega-menu.d.ts +130 -0
- package/types/aeris-ui-core-menu.d.ts +182 -0
- package/types/aeris-ui-core-menubar.d.ts +145 -0
- package/types/aeris-ui-core-message.d.ts +65 -0
- package/types/aeris-ui-core-meter-group.d.ts +100 -0
- package/types/aeris-ui-core-multi-select.d.ts +193 -0
- package/types/aeris-ui-core-order-list.d.ts +73 -0
- package/types/aeris-ui-core-organization-chart.d.ts +85 -0
- package/types/aeris-ui-core-paginator.d.ts +39 -0
- package/types/aeris-ui-core-panel.d.ts +85 -0
- package/types/aeris-ui-core-password.d.ts +110 -0
- package/types/aeris-ui-core-pick-list.d.ts +193 -0
- package/types/aeris-ui-core-popover.d.ts +112 -0
- package/types/aeris-ui-core-progress-bar.d.ts +81 -0
- package/types/aeris-ui-core-progress-spinner.d.ts +51 -0
- package/types/aeris-ui-core-radio-button.d.ts +51 -0
- package/types/aeris-ui-core-rating.d.ts +80 -0
- package/types/aeris-ui-core-scroll-panel.d.ts +66 -0
- package/types/aeris-ui-core-scroll-top.d.ts +29 -0
- package/types/aeris-ui-core-select.d.ts +223 -0
- package/types/aeris-ui-core-skeleton.d.ts +18 -0
- package/types/aeris-ui-core-slider.d.ts +117 -0
- package/types/aeris-ui-core-speed-dial.d.ts +119 -0
- package/types/aeris-ui-core-split-button.d.ts +122 -0
- package/types/aeris-ui-core-splitter.d.ts +113 -0
- package/types/aeris-ui-core-stepper.d.ts +99 -0
- package/types/aeris-ui-core-style-class.d.ts +73 -0
- package/types/aeris-ui-core-table.d.ts +333 -0
- package/types/aeris-ui-core-tabs.d.ts +82 -0
- package/types/aeris-ui-core-textarea.d.ts +80 -0
- package/types/aeris-ui-core-theme-builder.d.ts +499 -0
- package/types/aeris-ui-core-theming.d.ts +47 -0
- package/types/aeris-ui-core-tiered-menu.d.ts +152 -0
- package/types/aeris-ui-core-timeline.d.ts +80 -0
- package/types/aeris-ui-core-toast.d.ts +127 -0
- package/types/aeris-ui-core-toggle-switch.d.ts +52 -0
- package/types/aeris-ui-core-toolbar.d.ts +47 -0
- package/types/aeris-ui-core-tooltip.d.ts +92 -0
- package/types/aeris-ui-core-tree-select.d.ts +187 -0
- package/types/aeris-ui-core-tree-table.d.ts +311 -0
- package/types/aeris-ui-core-tree.d.ts +179 -0
- package/types/aeris-ui-core.d.ts +85 -0
|
@@ -0,0 +1,254 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { model, input, output, signal, computed, Component } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
class AerisPaginator {
|
|
5
|
+
static nextId = 0;
|
|
6
|
+
first = model(0, /* @ts-ignore */
|
|
7
|
+
...(ngDevMode ? [{ debugName: "first" }] : /* istanbul ignore next */ []));
|
|
8
|
+
rows = model(10, /* @ts-ignore */
|
|
9
|
+
...(ngDevMode ? [{ debugName: "rows" }] : /* istanbul ignore next */ []));
|
|
10
|
+
totalRecords = input(0, /* @ts-ignore */
|
|
11
|
+
...(ngDevMode ? [{ debugName: "totalRecords" }] : /* istanbul ignore next */ []));
|
|
12
|
+
pageLinkSize = input(5, /* @ts-ignore */
|
|
13
|
+
...(ngDevMode ? [{ debugName: "pageLinkSize" }] : /* istanbul ignore next */ []));
|
|
14
|
+
rowsPerPageOptions = input([], /* @ts-ignore */
|
|
15
|
+
...(ngDevMode ? [{ debugName: "rowsPerPageOptions" }] : /* istanbul ignore next */ []));
|
|
16
|
+
ariaLabel = input('Pagination', /* @ts-ignore */
|
|
17
|
+
...(ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
|
|
18
|
+
rowsPerPageLabel = input('Rows per page', /* @ts-ignore */
|
|
19
|
+
...(ngDevMode ? [{ debugName: "rowsPerPageLabel" }] : /* istanbul ignore next */ []));
|
|
20
|
+
page = output();
|
|
21
|
+
rowsPanelOpen = signal(false, /* @ts-ignore */
|
|
22
|
+
...(ngDevMode ? [{ debugName: "rowsPanelOpen" }] : /* istanbul ignore next */ []));
|
|
23
|
+
rowsLabelId = `aeris-paginator-rows-label-${AerisPaginator.nextId++}`;
|
|
24
|
+
rowsValueId = `${this.rowsLabelId}-value`;
|
|
25
|
+
rowsListboxId = `${this.rowsLabelId}-listbox`;
|
|
26
|
+
pageCount = computed(() => Math.max(1, Math.ceil(this.totalRecords() / Math.max(1, this.rows()))), /* @ts-ignore */
|
|
27
|
+
...(ngDevMode ? [{ debugName: "pageCount" }] : /* istanbul ignore next */ []));
|
|
28
|
+
currentPage = computed(() => Math.min(this.pageCount() - 1, Math.max(0, Math.floor(this.first() / Math.max(1, this.rows())))), /* @ts-ignore */
|
|
29
|
+
...(ngDevMode ? [{ debugName: "currentPage" }] : /* istanbul ignore next */ []));
|
|
30
|
+
visiblePages = computed(() => {
|
|
31
|
+
const count = this.pageCount();
|
|
32
|
+
const size = Math.max(1, this.pageLinkSize());
|
|
33
|
+
const half = Math.floor(size / 2);
|
|
34
|
+
const start = Math.min(Math.max(0, this.currentPage() - half), Math.max(0, count - size));
|
|
35
|
+
const end = Math.min(count, start + size);
|
|
36
|
+
return Array.from({ length: end - start }, (_, index) => start + index);
|
|
37
|
+
}, /* @ts-ignore */
|
|
38
|
+
...(ngDevMode ? [{ debugName: "visiblePages" }] : /* istanbul ignore next */ []));
|
|
39
|
+
pageReport = computed(() => {
|
|
40
|
+
const total = this.totalRecords();
|
|
41
|
+
if (total === 0)
|
|
42
|
+
return '0 of 0';
|
|
43
|
+
const start = Math.min(this.first() + 1, total);
|
|
44
|
+
const end = Math.min(this.first() + this.rows(), total);
|
|
45
|
+
return `${start}-${end} of ${total}`;
|
|
46
|
+
}, /* @ts-ignore */
|
|
47
|
+
...(ngDevMode ? [{ debugName: "pageReport" }] : /* istanbul ignore next */ []));
|
|
48
|
+
goToPage(page) {
|
|
49
|
+
const safePage = Math.min(Math.max(page, 0), this.pageCount() - 1);
|
|
50
|
+
this.first.set(safePage * this.rows());
|
|
51
|
+
this.emitPage();
|
|
52
|
+
}
|
|
53
|
+
toggleRowsPanel() {
|
|
54
|
+
this.rowsPanelOpen.update((open) => !open);
|
|
55
|
+
}
|
|
56
|
+
selectRows(rows) {
|
|
57
|
+
this.rows.set(rows);
|
|
58
|
+
this.first.set(0);
|
|
59
|
+
this.rowsPanelOpen.set(false);
|
|
60
|
+
this.emitPage();
|
|
61
|
+
}
|
|
62
|
+
handleRowsTriggerKeydown(event) {
|
|
63
|
+
if (event.key === 'Escape') {
|
|
64
|
+
this.rowsPanelOpen.set(false);
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
67
|
+
if (event.key === 'Enter' || event.key === ' ' || event.key === 'ArrowDown') {
|
|
68
|
+
event.preventDefault();
|
|
69
|
+
this.rowsPanelOpen.set(true);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
handleRowsPanelKeydown(event) {
|
|
73
|
+
if (event.key !== 'Escape')
|
|
74
|
+
return;
|
|
75
|
+
event.preventDefault();
|
|
76
|
+
this.rowsPanelOpen.set(false);
|
|
77
|
+
}
|
|
78
|
+
handleRowsFocusOut(event) {
|
|
79
|
+
const nextTarget = event.relatedTarget;
|
|
80
|
+
if (nextTarget instanceof Node && event.currentTarget.contains(nextTarget)) {
|
|
81
|
+
return;
|
|
82
|
+
}
|
|
83
|
+
this.rowsPanelOpen.set(false);
|
|
84
|
+
}
|
|
85
|
+
emitPage() {
|
|
86
|
+
this.page.emit({
|
|
87
|
+
first: this.first(),
|
|
88
|
+
rows: this.rows(),
|
|
89
|
+
page: this.currentPage(),
|
|
90
|
+
pageCount: this.pageCount(),
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisPaginator, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
94
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.6", type: AerisPaginator, isStandalone: true, selector: "aeris-paginator", inputs: { first: { classPropertyName: "first", publicName: "first", isSignal: true, isRequired: false, transformFunction: null }, rows: { classPropertyName: "rows", publicName: "rows", isSignal: true, isRequired: false, transformFunction: null }, totalRecords: { classPropertyName: "totalRecords", publicName: "totalRecords", isSignal: true, isRequired: false, transformFunction: null }, pageLinkSize: { classPropertyName: "pageLinkSize", publicName: "pageLinkSize", isSignal: true, isRequired: false, transformFunction: null }, rowsPerPageOptions: { classPropertyName: "rowsPerPageOptions", publicName: "rowsPerPageOptions", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, rowsPerPageLabel: { classPropertyName: "rowsPerPageLabel", publicName: "rowsPerPageLabel", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { first: "firstChange", rows: "rowsChange", page: "page" }, ngImport: i0, template: `
|
|
95
|
+
<nav class="aeris-paginator" [attr.aria-label]="ariaLabel()">
|
|
96
|
+
<span class="aeris-paginator__report" aria-live="polite">{{ pageReport() }}</span>
|
|
97
|
+
|
|
98
|
+
<div class="aeris-paginator__pages">
|
|
99
|
+
<button type="button" aria-label="First page" [disabled]="currentPage() === 0" (click)="goToPage(0)">
|
|
100
|
+
<span class="aeris-paginator__page-icon aeris-paginator__page-icon--first" aria-hidden="true"></span>
|
|
101
|
+
</button>
|
|
102
|
+
<button type="button" aria-label="Previous page" [disabled]="currentPage() === 0" (click)="goToPage(currentPage() - 1)">
|
|
103
|
+
<span class="aeris-paginator__page-icon aeris-paginator__page-icon--previous" aria-hidden="true"></span>
|
|
104
|
+
</button>
|
|
105
|
+
|
|
106
|
+
@for (page of visiblePages(); track page) {
|
|
107
|
+
<button
|
|
108
|
+
type="button"
|
|
109
|
+
[attr.aria-label]="'Page ' + (page + 1)"
|
|
110
|
+
[attr.aria-current]="page === currentPage() ? 'page' : null"
|
|
111
|
+
(click)="goToPage(page)"
|
|
112
|
+
>
|
|
113
|
+
{{ page + 1 }}
|
|
114
|
+
</button>
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
<button type="button" aria-label="Next page" [disabled]="currentPage() >= pageCount() - 1" (click)="goToPage(currentPage() + 1)">
|
|
118
|
+
<span class="aeris-paginator__page-icon aeris-paginator__page-icon--next" aria-hidden="true"></span>
|
|
119
|
+
</button>
|
|
120
|
+
<button type="button" aria-label="Last page" [disabled]="currentPage() >= pageCount() - 1" (click)="goToPage(pageCount() - 1)">
|
|
121
|
+
<span class="aeris-paginator__page-icon aeris-paginator__page-icon--last" aria-hidden="true"></span>
|
|
122
|
+
</button>
|
|
123
|
+
</div>
|
|
124
|
+
|
|
125
|
+
@if (rowsPerPageOptions().length) {
|
|
126
|
+
<div class="aeris-paginator__rows" (focusout)="handleRowsFocusOut($event)">
|
|
127
|
+
<span [id]="rowsLabelId">{{ rowsPerPageLabel() }}</span>
|
|
128
|
+
<button
|
|
129
|
+
class="aeris-paginator__rows-trigger"
|
|
130
|
+
type="button"
|
|
131
|
+
aria-haspopup="listbox"
|
|
132
|
+
[attr.aria-labelledby]="rowsLabelId + ' ' + rowsValueId"
|
|
133
|
+
[attr.aria-expanded]="rowsPanelOpen()"
|
|
134
|
+
[attr.aria-controls]="rowsListboxId"
|
|
135
|
+
(click)="toggleRowsPanel()"
|
|
136
|
+
(keydown)="handleRowsTriggerKeydown($event)"
|
|
137
|
+
>
|
|
138
|
+
<span [id]="rowsValueId">{{ rows() }}</span>
|
|
139
|
+
<span class="aeris-paginator__chevron" aria-hidden="true"></span>
|
|
140
|
+
</button>
|
|
141
|
+
|
|
142
|
+
@if (rowsPanelOpen()) {
|
|
143
|
+
<div
|
|
144
|
+
class="aeris-paginator__rows-panel"
|
|
145
|
+
[id]="rowsListboxId"
|
|
146
|
+
role="listbox"
|
|
147
|
+
[attr.aria-labelledby]="rowsLabelId"
|
|
148
|
+
(keydown)="handleRowsPanelKeydown($event)"
|
|
149
|
+
>
|
|
150
|
+
@for (option of rowsPerPageOptions(); track option) {
|
|
151
|
+
<button
|
|
152
|
+
type="button"
|
|
153
|
+
role="option"
|
|
154
|
+
[attr.aria-selected]="option === rows()"
|
|
155
|
+
(click)="selectRows(option)"
|
|
156
|
+
>
|
|
157
|
+
<span>{{ option }}</span>
|
|
158
|
+
@if (option === rows()) {
|
|
159
|
+
<span class="aeris-paginator__check" aria-hidden="true"></span>
|
|
160
|
+
}
|
|
161
|
+
</button>
|
|
162
|
+
}
|
|
163
|
+
</div>
|
|
164
|
+
}
|
|
165
|
+
</div>
|
|
166
|
+
}
|
|
167
|
+
</nav>
|
|
168
|
+
`, isInline: true, styles: [":host{--_aeris-chevron-mask: var( --aeris-icon-chevron, url(data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%3E%3Cpath%20d=%27M7%209.5%2012%2014.5%2017%209.5%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%272.4%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27/%3E%3C/svg%3E) );display:block;min-width:0}.aeris-paginator{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:calc(var(--aeris-density-gap, .5rem) * 2);min-width:0;color:var(--aeris-text-2, #555555);font-size:.8125rem}.aeris-paginator__pages{display:inline-flex;flex-wrap:wrap;flex:1 1 18rem;gap:calc(var(--aeris-density-gap, .5rem) * .7);justify-content:center;min-width:0}button,select{min-height:max(2rem,var(--aeris-control-height, 2.625rem) - .5rem);border:1px solid var(--aeris-border, #deddd7);border-radius:var(--aeris-radius-sm, .4375rem);background:var(--aeris-surface, #fff);color:var(--aeris-text, #222222);font:inherit}button{min-width:max(2rem,var(--aeris-control-height, 2.625rem) - .5rem);padding:0 calc(var(--aeris-control-padding-x, .75rem) * .75);font-weight:700;cursor:pointer;transition:border-color .14s ease,background-color .14s ease,color .14s ease,transform .14s ease}button:hover:not(:disabled){border-color:color-mix(in srgb,var(--aeris-primary, #879566) 58%,var(--aeris-border, #deddd7));background:var(--aeris-interactive-hover, var(--aeris-surface-2, #f2f0ec));color:var(--aeris-text, #222222);transform:translateY(-1px)}.aeris-paginator__pages>button[aria-current=page]:hover{background:color-mix(in srgb,var(--aeris-primary, #879566) 22%,var(--aeris-surface, #fff))}button[aria-current=page]{border-color:var(--aeris-primary, #879566);background:color-mix(in srgb,var(--aeris-primary, #879566) 16%,var(--aeris-surface, #fff));color:var(--aeris-primary-text, #566137)}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,.aeris-paginator__rows-trigger:focus-visible{outline:2px solid var(--aeris-focus, #536437);outline-offset:2px}.aeris-paginator__page-icon{position:relative;width:var(--aeris-icon-size, 1rem);height:var(--aeris-icon-size, 1rem);display:block}.aeris-paginator__page-icon:before,.aeris-paginator__page-icon:after{position:absolute;inset:0;background:currentColor;content:\"\";-webkit-mask:var(--_aeris-chevron-mask) center/100% 100% no-repeat;mask:var(--_aeris-chevron-mask) center/100% 100% no-repeat}.aeris-paginator__page-icon--previous:before,.aeris-paginator__page-icon--first:before,.aeris-paginator__page-icon--first:after{transform:rotate(90deg)}.aeris-paginator__page-icon--next:before,.aeris-paginator__page-icon--last:before,.aeris-paginator__page-icon--last:after{transform:rotate(-90deg)}.aeris-paginator__page-icon--previous:after,.aeris-paginator__page-icon--next:after{content:none}.aeris-paginator__page-icon--first:before{translate:-.18rem 0}.aeris-paginator__page-icon--first:after{translate:.18rem 0}.aeris-paginator__page-icon--last:before{translate:.18rem 0}.aeris-paginator__page-icon--last:after{translate:-.18rem 0}:host-context([dir=rtl]) .aeris-paginator__page-icon--previous:before,:host-context([dir=rtl]) .aeris-paginator__page-icon--first:before,:host-context([dir=rtl]) .aeris-paginator__page-icon--first:after{transform:rotate(-90deg)}:host-context([dir=rtl]) .aeris-paginator__page-icon--next:before,:host-context([dir=rtl]) .aeris-paginator__page-icon--last:before,:host-context([dir=rtl]) .aeris-paginator__page-icon--last:after{transform:rotate(90deg)}.aeris-paginator__rows{position:relative;display:inline-flex;flex:0 1 auto;align-items:center;gap:var(--aeris-density-gap, .5rem);min-width:0;white-space:nowrap}.aeris-paginator__rows-trigger{min-width:4.5rem;display:inline-flex;align-items:center;justify-content:space-between;gap:calc(var(--aeris-density-gap, .5rem) + .25rem);padding:0 var(--aeris-control-padding-x, .75rem);cursor:pointer}.aeris-paginator__chevron{position:relative;width:1rem;height:1rem}.aeris-paginator__chevron:before{position:absolute;top:50%;left:50%;width:1rem;height:1rem;background:currentColor;content:\"\";transform:translate(-50%,-50%);-webkit-mask:var(--_aeris-chevron-mask) center/100% 100% no-repeat;mask:var(--_aeris-chevron-mask) center/100% 100% no-repeat}.aeris-paginator__rows-panel{position:absolute;z-index:20;top:calc(100% + var(--aeris-density-gap, .5rem));right:0;min-width:5.75rem;padding:calc(var(--aeris-density-gap, .5rem) * .7);border:1px solid var(--aeris-border, #deddd7);border-radius:var(--aeris-radius-md, .6875rem);background:var(--aeris-surface, #fff);box-shadow:0 1rem 2.5rem #1f231b29}.aeris-paginator__rows-panel button{width:100%;min-height:var(--aeris-item-height, 2.5rem);justify-content:space-between;display:flex;align-items:center;border:0;background:transparent;color:var(--aeris-text-2, #555555);font-weight:600;text-align:left}.aeris-paginator__rows-panel button:hover,.aeris-paginator__rows-panel button[aria-selected=true]{background:color-mix(in srgb,var(--aeris-primary, #879566) 12%,transparent);color:var(--aeris-primary-text, #566137)}.aeris-paginator__check{width:.65rem;height:.35rem;border-bottom:1.75px solid currentColor;border-left:1.75px solid currentColor;transform:rotate(-45deg)}@media(max-width:42rem){.aeris-paginator{align-items:stretch;display:grid;grid-template-columns:1fr;justify-items:center;gap:calc(var(--aeris-density-gap, .5rem) + .25rem)}.aeris-paginator__report,.aeris-paginator__rows{justify-content:center}.aeris-paginator__pages{width:100%;flex:none;order:2}.aeris-paginator__rows{order:3}.aeris-paginator__rows-panel{right:50%;transform:translate(50%)}}@media(max-width:30rem){.aeris-paginator{font-size:.78125rem}.aeris-paginator__pages{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;padding-block:.15rem;scrollbar-width:thin}.aeris-paginator__pages button{flex:0 0 auto}.aeris-paginator__rows{width:100%;flex-wrap:wrap}.aeris-paginator__rows-trigger{flex:1 1 6rem;max-width:9rem}}@media(prefers-reduced-motion:reduce){button{transition:none}button:hover:not(:disabled){transform:none}}\n"] });
|
|
169
|
+
}
|
|
170
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisPaginator, decorators: [{
|
|
171
|
+
type: Component,
|
|
172
|
+
args: [{ selector: 'aeris-paginator', template: `
|
|
173
|
+
<nav class="aeris-paginator" [attr.aria-label]="ariaLabel()">
|
|
174
|
+
<span class="aeris-paginator__report" aria-live="polite">{{ pageReport() }}</span>
|
|
175
|
+
|
|
176
|
+
<div class="aeris-paginator__pages">
|
|
177
|
+
<button type="button" aria-label="First page" [disabled]="currentPage() === 0" (click)="goToPage(0)">
|
|
178
|
+
<span class="aeris-paginator__page-icon aeris-paginator__page-icon--first" aria-hidden="true"></span>
|
|
179
|
+
</button>
|
|
180
|
+
<button type="button" aria-label="Previous page" [disabled]="currentPage() === 0" (click)="goToPage(currentPage() - 1)">
|
|
181
|
+
<span class="aeris-paginator__page-icon aeris-paginator__page-icon--previous" aria-hidden="true"></span>
|
|
182
|
+
</button>
|
|
183
|
+
|
|
184
|
+
@for (page of visiblePages(); track page) {
|
|
185
|
+
<button
|
|
186
|
+
type="button"
|
|
187
|
+
[attr.aria-label]="'Page ' + (page + 1)"
|
|
188
|
+
[attr.aria-current]="page === currentPage() ? 'page' : null"
|
|
189
|
+
(click)="goToPage(page)"
|
|
190
|
+
>
|
|
191
|
+
{{ page + 1 }}
|
|
192
|
+
</button>
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
<button type="button" aria-label="Next page" [disabled]="currentPage() >= pageCount() - 1" (click)="goToPage(currentPage() + 1)">
|
|
196
|
+
<span class="aeris-paginator__page-icon aeris-paginator__page-icon--next" aria-hidden="true"></span>
|
|
197
|
+
</button>
|
|
198
|
+
<button type="button" aria-label="Last page" [disabled]="currentPage() >= pageCount() - 1" (click)="goToPage(pageCount() - 1)">
|
|
199
|
+
<span class="aeris-paginator__page-icon aeris-paginator__page-icon--last" aria-hidden="true"></span>
|
|
200
|
+
</button>
|
|
201
|
+
</div>
|
|
202
|
+
|
|
203
|
+
@if (rowsPerPageOptions().length) {
|
|
204
|
+
<div class="aeris-paginator__rows" (focusout)="handleRowsFocusOut($event)">
|
|
205
|
+
<span [id]="rowsLabelId">{{ rowsPerPageLabel() }}</span>
|
|
206
|
+
<button
|
|
207
|
+
class="aeris-paginator__rows-trigger"
|
|
208
|
+
type="button"
|
|
209
|
+
aria-haspopup="listbox"
|
|
210
|
+
[attr.aria-labelledby]="rowsLabelId + ' ' + rowsValueId"
|
|
211
|
+
[attr.aria-expanded]="rowsPanelOpen()"
|
|
212
|
+
[attr.aria-controls]="rowsListboxId"
|
|
213
|
+
(click)="toggleRowsPanel()"
|
|
214
|
+
(keydown)="handleRowsTriggerKeydown($event)"
|
|
215
|
+
>
|
|
216
|
+
<span [id]="rowsValueId">{{ rows() }}</span>
|
|
217
|
+
<span class="aeris-paginator__chevron" aria-hidden="true"></span>
|
|
218
|
+
</button>
|
|
219
|
+
|
|
220
|
+
@if (rowsPanelOpen()) {
|
|
221
|
+
<div
|
|
222
|
+
class="aeris-paginator__rows-panel"
|
|
223
|
+
[id]="rowsListboxId"
|
|
224
|
+
role="listbox"
|
|
225
|
+
[attr.aria-labelledby]="rowsLabelId"
|
|
226
|
+
(keydown)="handleRowsPanelKeydown($event)"
|
|
227
|
+
>
|
|
228
|
+
@for (option of rowsPerPageOptions(); track option) {
|
|
229
|
+
<button
|
|
230
|
+
type="button"
|
|
231
|
+
role="option"
|
|
232
|
+
[attr.aria-selected]="option === rows()"
|
|
233
|
+
(click)="selectRows(option)"
|
|
234
|
+
>
|
|
235
|
+
<span>{{ option }}</span>
|
|
236
|
+
@if (option === rows()) {
|
|
237
|
+
<span class="aeris-paginator__check" aria-hidden="true"></span>
|
|
238
|
+
}
|
|
239
|
+
</button>
|
|
240
|
+
}
|
|
241
|
+
</div>
|
|
242
|
+
}
|
|
243
|
+
</div>
|
|
244
|
+
}
|
|
245
|
+
</nav>
|
|
246
|
+
`, styles: [":host{--_aeris-chevron-mask: var( --aeris-icon-chevron, url(data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%3E%3Cpath%20d=%27M7%209.5%2012%2014.5%2017%209.5%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%272.4%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27/%3E%3C/svg%3E) );display:block;min-width:0}.aeris-paginator{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:calc(var(--aeris-density-gap, .5rem) * 2);min-width:0;color:var(--aeris-text-2, #555555);font-size:.8125rem}.aeris-paginator__pages{display:inline-flex;flex-wrap:wrap;flex:1 1 18rem;gap:calc(var(--aeris-density-gap, .5rem) * .7);justify-content:center;min-width:0}button,select{min-height:max(2rem,var(--aeris-control-height, 2.625rem) - .5rem);border:1px solid var(--aeris-border, #deddd7);border-radius:var(--aeris-radius-sm, .4375rem);background:var(--aeris-surface, #fff);color:var(--aeris-text, #222222);font:inherit}button{min-width:max(2rem,var(--aeris-control-height, 2.625rem) - .5rem);padding:0 calc(var(--aeris-control-padding-x, .75rem) * .75);font-weight:700;cursor:pointer;transition:border-color .14s ease,background-color .14s ease,color .14s ease,transform .14s ease}button:hover:not(:disabled){border-color:color-mix(in srgb,var(--aeris-primary, #879566) 58%,var(--aeris-border, #deddd7));background:var(--aeris-interactive-hover, var(--aeris-surface-2, #f2f0ec));color:var(--aeris-text, #222222);transform:translateY(-1px)}.aeris-paginator__pages>button[aria-current=page]:hover{background:color-mix(in srgb,var(--aeris-primary, #879566) 22%,var(--aeris-surface, #fff))}button[aria-current=page]{border-color:var(--aeris-primary, #879566);background:color-mix(in srgb,var(--aeris-primary, #879566) 16%,var(--aeris-surface, #fff));color:var(--aeris-primary-text, #566137)}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,.aeris-paginator__rows-trigger:focus-visible{outline:2px solid var(--aeris-focus, #536437);outline-offset:2px}.aeris-paginator__page-icon{position:relative;width:var(--aeris-icon-size, 1rem);height:var(--aeris-icon-size, 1rem);display:block}.aeris-paginator__page-icon:before,.aeris-paginator__page-icon:after{position:absolute;inset:0;background:currentColor;content:\"\";-webkit-mask:var(--_aeris-chevron-mask) center/100% 100% no-repeat;mask:var(--_aeris-chevron-mask) center/100% 100% no-repeat}.aeris-paginator__page-icon--previous:before,.aeris-paginator__page-icon--first:before,.aeris-paginator__page-icon--first:after{transform:rotate(90deg)}.aeris-paginator__page-icon--next:before,.aeris-paginator__page-icon--last:before,.aeris-paginator__page-icon--last:after{transform:rotate(-90deg)}.aeris-paginator__page-icon--previous:after,.aeris-paginator__page-icon--next:after{content:none}.aeris-paginator__page-icon--first:before{translate:-.18rem 0}.aeris-paginator__page-icon--first:after{translate:.18rem 0}.aeris-paginator__page-icon--last:before{translate:.18rem 0}.aeris-paginator__page-icon--last:after{translate:-.18rem 0}:host-context([dir=rtl]) .aeris-paginator__page-icon--previous:before,:host-context([dir=rtl]) .aeris-paginator__page-icon--first:before,:host-context([dir=rtl]) .aeris-paginator__page-icon--first:after{transform:rotate(-90deg)}:host-context([dir=rtl]) .aeris-paginator__page-icon--next:before,:host-context([dir=rtl]) .aeris-paginator__page-icon--last:before,:host-context([dir=rtl]) .aeris-paginator__page-icon--last:after{transform:rotate(90deg)}.aeris-paginator__rows{position:relative;display:inline-flex;flex:0 1 auto;align-items:center;gap:var(--aeris-density-gap, .5rem);min-width:0;white-space:nowrap}.aeris-paginator__rows-trigger{min-width:4.5rem;display:inline-flex;align-items:center;justify-content:space-between;gap:calc(var(--aeris-density-gap, .5rem) + .25rem);padding:0 var(--aeris-control-padding-x, .75rem);cursor:pointer}.aeris-paginator__chevron{position:relative;width:1rem;height:1rem}.aeris-paginator__chevron:before{position:absolute;top:50%;left:50%;width:1rem;height:1rem;background:currentColor;content:\"\";transform:translate(-50%,-50%);-webkit-mask:var(--_aeris-chevron-mask) center/100% 100% no-repeat;mask:var(--_aeris-chevron-mask) center/100% 100% no-repeat}.aeris-paginator__rows-panel{position:absolute;z-index:20;top:calc(100% + var(--aeris-density-gap, .5rem));right:0;min-width:5.75rem;padding:calc(var(--aeris-density-gap, .5rem) * .7);border:1px solid var(--aeris-border, #deddd7);border-radius:var(--aeris-radius-md, .6875rem);background:var(--aeris-surface, #fff);box-shadow:0 1rem 2.5rem #1f231b29}.aeris-paginator__rows-panel button{width:100%;min-height:var(--aeris-item-height, 2.5rem);justify-content:space-between;display:flex;align-items:center;border:0;background:transparent;color:var(--aeris-text-2, #555555);font-weight:600;text-align:left}.aeris-paginator__rows-panel button:hover,.aeris-paginator__rows-panel button[aria-selected=true]{background:color-mix(in srgb,var(--aeris-primary, #879566) 12%,transparent);color:var(--aeris-primary-text, #566137)}.aeris-paginator__check{width:.65rem;height:.35rem;border-bottom:1.75px solid currentColor;border-left:1.75px solid currentColor;transform:rotate(-45deg)}@media(max-width:42rem){.aeris-paginator{align-items:stretch;display:grid;grid-template-columns:1fr;justify-items:center;gap:calc(var(--aeris-density-gap, .5rem) + .25rem)}.aeris-paginator__report,.aeris-paginator__rows{justify-content:center}.aeris-paginator__pages{width:100%;flex:none;order:2}.aeris-paginator__rows{order:3}.aeris-paginator__rows-panel{right:50%;transform:translate(50%)}}@media(max-width:30rem){.aeris-paginator{font-size:.78125rem}.aeris-paginator__pages{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;padding-block:.15rem;scrollbar-width:thin}.aeris-paginator__pages button{flex:0 0 auto}.aeris-paginator__rows{width:100%;flex-wrap:wrap}.aeris-paginator__rows-trigger{flex:1 1 6rem;max-width:9rem}}@media(prefers-reduced-motion:reduce){button{transition:none}button:hover:not(:disabled){transform:none}}\n"] }]
|
|
247
|
+
}], propDecorators: { first: [{ type: i0.Input, args: [{ isSignal: true, alias: "first", required: false }] }, { type: i0.Output, args: ["firstChange"] }], rows: [{ type: i0.Input, args: [{ isSignal: true, alias: "rows", required: false }] }, { type: i0.Output, args: ["rowsChange"] }], totalRecords: [{ type: i0.Input, args: [{ isSignal: true, alias: "totalRecords", required: false }] }], pageLinkSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "pageLinkSize", required: false }] }], rowsPerPageOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "rowsPerPageOptions", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], rowsPerPageLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "rowsPerPageLabel", required: false }] }], page: [{ type: i0.Output, args: ["page"] }] } });
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* Generated bundle index. Do not edit.
|
|
251
|
+
*/
|
|
252
|
+
|
|
253
|
+
export { AerisPaginator };
|
|
254
|
+
//# sourceMappingURL=aeris-ui-core-paginator.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aeris-ui-core-paginator.mjs","sources":["../../../projects/aeris-ui/paginator/aeris-paginator.ts","../../../projects/aeris-ui/paginator/aeris-ui-core-paginator.ts"],"sourcesContent":["import { Component, computed, input, model, output, signal } from '@angular/core';\n\nexport interface AerisPaginatorPageEvent {\n readonly first: number;\n readonly rows: number;\n readonly page: number;\n readonly pageCount: number;\n}\n\n@Component({\n selector: 'aeris-paginator',\n template: `\n <nav class=\"aeris-paginator\" [attr.aria-label]=\"ariaLabel()\">\n <span class=\"aeris-paginator__report\" aria-live=\"polite\">{{ pageReport() }}</span>\n\n <div class=\"aeris-paginator__pages\">\n <button type=\"button\" aria-label=\"First page\" [disabled]=\"currentPage() === 0\" (click)=\"goToPage(0)\">\n <span class=\"aeris-paginator__page-icon aeris-paginator__page-icon--first\" aria-hidden=\"true\"></span>\n </button>\n <button type=\"button\" aria-label=\"Previous page\" [disabled]=\"currentPage() === 0\" (click)=\"goToPage(currentPage() - 1)\">\n <span class=\"aeris-paginator__page-icon aeris-paginator__page-icon--previous\" aria-hidden=\"true\"></span>\n </button>\n\n @for (page of visiblePages(); track page) {\n <button\n type=\"button\"\n [attr.aria-label]=\"'Page ' + (page + 1)\"\n [attr.aria-current]=\"page === currentPage() ? 'page' : null\"\n (click)=\"goToPage(page)\"\n >\n {{ page + 1 }}\n </button>\n }\n\n <button type=\"button\" aria-label=\"Next page\" [disabled]=\"currentPage() >= pageCount() - 1\" (click)=\"goToPage(currentPage() + 1)\">\n <span class=\"aeris-paginator__page-icon aeris-paginator__page-icon--next\" aria-hidden=\"true\"></span>\n </button>\n <button type=\"button\" aria-label=\"Last page\" [disabled]=\"currentPage() >= pageCount() - 1\" (click)=\"goToPage(pageCount() - 1)\">\n <span class=\"aeris-paginator__page-icon aeris-paginator__page-icon--last\" aria-hidden=\"true\"></span>\n </button>\n </div>\n\n @if (rowsPerPageOptions().length) {\n <div class=\"aeris-paginator__rows\" (focusout)=\"handleRowsFocusOut($event)\">\n <span [id]=\"rowsLabelId\">{{ rowsPerPageLabel() }}</span>\n <button\n class=\"aeris-paginator__rows-trigger\"\n type=\"button\"\n aria-haspopup=\"listbox\"\n [attr.aria-labelledby]=\"rowsLabelId + ' ' + rowsValueId\"\n [attr.aria-expanded]=\"rowsPanelOpen()\"\n [attr.aria-controls]=\"rowsListboxId\"\n (click)=\"toggleRowsPanel()\"\n (keydown)=\"handleRowsTriggerKeydown($event)\"\n >\n <span [id]=\"rowsValueId\">{{ rows() }}</span>\n <span class=\"aeris-paginator__chevron\" aria-hidden=\"true\"></span>\n </button>\n\n @if (rowsPanelOpen()) {\n <div\n class=\"aeris-paginator__rows-panel\"\n [id]=\"rowsListboxId\"\n role=\"listbox\"\n [attr.aria-labelledby]=\"rowsLabelId\"\n (keydown)=\"handleRowsPanelKeydown($event)\"\n >\n @for (option of rowsPerPageOptions(); track option) {\n <button\n type=\"button\"\n role=\"option\"\n [attr.aria-selected]=\"option === rows()\"\n (click)=\"selectRows(option)\"\n >\n <span>{{ option }}</span>\n @if (option === rows()) {\n <span class=\"aeris-paginator__check\" aria-hidden=\"true\"></span>\n }\n </button>\n }\n </div>\n }\n </div>\n }\n </nav>\n `,\n styleUrl: './aeris-paginator.scss',\n})\nexport class AerisPaginator {\n private static nextId = 0;\n readonly first = model(0);\n readonly rows = model(10);\n readonly totalRecords = input(0);\n readonly pageLinkSize = input(5);\n readonly rowsPerPageOptions = input<readonly number[]>([]);\n readonly ariaLabel = input('Pagination');\n readonly rowsPerPageLabel = input('Rows per page');\n readonly page = output<AerisPaginatorPageEvent>();\n protected readonly rowsPanelOpen = signal(false);\n protected readonly rowsLabelId = `aeris-paginator-rows-label-${AerisPaginator.nextId++}`;\n protected readonly rowsValueId = `${this.rowsLabelId}-value`;\n protected readonly rowsListboxId = `${this.rowsLabelId}-listbox`;\n\n protected readonly pageCount = computed(() =>\n Math.max(1, Math.ceil(this.totalRecords() / Math.max(1, this.rows()))),\n );\n protected readonly currentPage = computed(() =>\n Math.min(\n this.pageCount() - 1,\n Math.max(0, Math.floor(this.first() / Math.max(1, this.rows()))),\n ),\n );\n protected readonly visiblePages = computed(() => {\n const count = this.pageCount();\n const size = Math.max(1, this.pageLinkSize());\n const half = Math.floor(size / 2);\n const start = Math.min(\n Math.max(0, this.currentPage() - half),\n Math.max(0, count - size),\n );\n const end = Math.min(count, start + size);\n return Array.from({ length: end - start }, (_, index) => start + index);\n });\n protected readonly pageReport = computed(() => {\n const total = this.totalRecords();\n if (total === 0) return '0 of 0';\n const start = Math.min(this.first() + 1, total);\n const end = Math.min(this.first() + this.rows(), total);\n return `${start}-${end} of ${total}`;\n });\n\n protected goToPage(page: number): void {\n const safePage = Math.min(Math.max(page, 0), this.pageCount() - 1);\n this.first.set(safePage * this.rows());\n this.emitPage();\n }\n\n protected toggleRowsPanel(): void {\n this.rowsPanelOpen.update((open) => !open);\n }\n\n protected selectRows(rows: number): void {\n this.rows.set(rows);\n this.first.set(0);\n this.rowsPanelOpen.set(false);\n this.emitPage();\n }\n\n protected handleRowsTriggerKeydown(event: KeyboardEvent): void {\n if (event.key === 'Escape') {\n this.rowsPanelOpen.set(false);\n return;\n }\n\n if (event.key === 'Enter' || event.key === ' ' || event.key === 'ArrowDown') {\n event.preventDefault();\n this.rowsPanelOpen.set(true);\n }\n }\n\n protected handleRowsPanelKeydown(event: KeyboardEvent): void {\n if (event.key !== 'Escape') return;\n event.preventDefault();\n this.rowsPanelOpen.set(false);\n }\n\n protected handleRowsFocusOut(event: FocusEvent): void {\n const nextTarget = event.relatedTarget;\n if (nextTarget instanceof Node && (event.currentTarget as HTMLElement).contains(nextTarget)) {\n return;\n }\n this.rowsPanelOpen.set(false);\n }\n\n private emitPage(): void {\n this.page.emit({\n first: this.first(),\n rows: this.rows(),\n page: this.currentPage(),\n pageCount: this.pageCount(),\n });\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAwFa,cAAc,CAAA;AACjB,IAAA,OAAO,MAAM,GAAG,CAAC;IAChB,KAAK,GAAG,KAAK,CAAC,CAAC;8EAAC;IAChB,IAAI,GAAG,KAAK,CAAC,EAAE;6EAAC;IAChB,YAAY,GAAG,KAAK,CAAC,CAAC;qFAAC;IACvB,YAAY,GAAG,KAAK,CAAC,CAAC;qFAAC;IACvB,kBAAkB,GAAG,KAAK,CAAoB,EAAE;2FAAC;IACjD,SAAS,GAAG,KAAK,CAAC,YAAY;kFAAC;IAC/B,gBAAgB,GAAG,KAAK,CAAC,eAAe;yFAAC;IACzC,IAAI,GAAG,MAAM,EAA2B;IAC9B,aAAa,GAAG,MAAM,CAAC,KAAK;sFAAC;AAC7B,IAAA,WAAW,GAAG,CAAA,2BAAA,EAA8B,cAAc,CAAC,MAAM,EAAE,EAAE;AACrE,IAAA,WAAW,GAAG,CAAA,EAAG,IAAI,CAAC,WAAW,QAAQ;AACzC,IAAA,aAAa,GAAG,CAAA,EAAG,IAAI,CAAC,WAAW,UAAU;AAE7C,IAAA,SAAS,GAAG,QAAQ,CAAC,MACtC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;kFACvE;IACkB,WAAW,GAAG,QAAQ,CAAC,MACxC,IAAI,CAAC,GAAG,CACN,IAAI,CAAC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