avero-ui 0.0.0-stage → 0.0.1
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 +1043 -2
- package/fesm2022/avero-ui-accordion.mjs +515 -0
- package/fesm2022/avero-ui-accordion.mjs.map +1 -0
- package/fesm2022/avero-ui-animate-on-scroll.mjs +223 -0
- package/fesm2022/avero-ui-animate-on-scroll.mjs.map +1 -0
- package/fesm2022/avero-ui-auto-complete.mjs +638 -0
- package/fesm2022/avero-ui-auto-complete.mjs.map +1 -0
- package/fesm2022/avero-ui-auto-focus.mjs +88 -0
- package/fesm2022/avero-ui-auto-focus.mjs.map +1 -0
- package/fesm2022/avero-ui-avatar.mjs +274 -0
- package/fesm2022/avero-ui-avatar.mjs.map +1 -0
- package/fesm2022/avero-ui-badge.mjs +278 -0
- package/fesm2022/avero-ui-badge.mjs.map +1 -0
- package/fesm2022/avero-ui-bind.mjs +103 -0
- package/fesm2022/avero-ui-bind.mjs.map +1 -0
- package/fesm2022/avero-ui-block-ui.mjs +175 -0
- package/fesm2022/avero-ui-block-ui.mjs.map +1 -0
- package/fesm2022/avero-ui-breadcrumb.mjs +187 -0
- package/fesm2022/avero-ui-breadcrumb.mjs.map +1 -0
- package/fesm2022/avero-ui-button.mjs +118 -0
- package/fesm2022/avero-ui-button.mjs.map +1 -0
- package/fesm2022/avero-ui-calendar.mjs +412 -0
- package/fesm2022/avero-ui-calendar.mjs.map +1 -0
- package/fesm2022/avero-ui-card.mjs +305 -0
- package/fesm2022/avero-ui-card.mjs.map +1 -0
- package/fesm2022/avero-ui-carousel.mjs +390 -0
- package/fesm2022/avero-ui-carousel.mjs.map +1 -0
- package/fesm2022/avero-ui-cascade-select.mjs +771 -0
- package/fesm2022/avero-ui-cascade-select.mjs.map +1 -0
- package/fesm2022/avero-ui-chart.mjs +361 -0
- package/fesm2022/avero-ui-chart.mjs.map +1 -0
- package/fesm2022/avero-ui-checkbox.mjs +279 -0
- package/fesm2022/avero-ui-checkbox.mjs.map +1 -0
- package/fesm2022/avero-ui-chip.mjs +256 -0
- package/fesm2022/avero-ui-chip.mjs.map +1 -0
- package/fesm2022/avero-ui-class-names.mjs +80 -0
- package/fesm2022/avero-ui-class-names.mjs.map +1 -0
- package/fesm2022/avero-ui-color-picker.mjs +665 -0
- package/fesm2022/avero-ui-color-picker.mjs.map +1 -0
- package/fesm2022/avero-ui-confirm-dialog.mjs +561 -0
- package/fesm2022/avero-ui-confirm-dialog.mjs.map +1 -0
- package/fesm2022/avero-ui-confirm-popup.mjs +406 -0
- package/fesm2022/avero-ui-confirm-popup.mjs.map +1 -0
- package/fesm2022/avero-ui-context-menu.mjs +409 -0
- package/fesm2022/avero-ui-context-menu.mjs.map +1 -0
- package/fesm2022/avero-ui-core.mjs +38 -0
- package/fesm2022/avero-ui-core.mjs.map +1 -0
- package/fesm2022/avero-ui-data-view.mjs +312 -0
- package/fesm2022/avero-ui-data-view.mjs.map +1 -0
- package/fesm2022/avero-ui-dialog.mjs +595 -0
- package/fesm2022/avero-ui-dialog.mjs.map +1 -0
- package/fesm2022/avero-ui-divider.mjs +119 -0
- package/fesm2022/avero-ui-divider.mjs.map +1 -0
- package/fesm2022/avero-ui-dock.mjs +243 -0
- package/fesm2022/avero-ui-dock.mjs.map +1 -0
- package/fesm2022/avero-ui-drawer.mjs +577 -0
- package/fesm2022/avero-ui-drawer.mjs.map +1 -0
- package/fesm2022/avero-ui-dropdown.mjs +510 -0
- package/fesm2022/avero-ui-dropdown.mjs.map +1 -0
- package/fesm2022/avero-ui-dynamic-dialog.mjs +268 -0
- package/fesm2022/avero-ui-dynamic-dialog.mjs.map +1 -0
- package/fesm2022/avero-ui-fieldset.mjs +354 -0
- package/fesm2022/avero-ui-fieldset.mjs.map +1 -0
- package/fesm2022/avero-ui-file-upload.mjs +658 -0
- package/fesm2022/avero-ui-file-upload.mjs.map +1 -0
- package/fesm2022/avero-ui-fluid.mjs +147 -0
- package/fesm2022/avero-ui-fluid.mjs.map +1 -0
- package/fesm2022/avero-ui-focus-trap.mjs +120 -0
- package/fesm2022/avero-ui-focus-trap.mjs.map +1 -0
- package/fesm2022/avero-ui-galleria.mjs +523 -0
- package/fesm2022/avero-ui-galleria.mjs.map +1 -0
- package/fesm2022/avero-ui-icon-field.mjs +99 -0
- package/fesm2022/avero-ui-icon-field.mjs.map +1 -0
- package/fesm2022/avero-ui-image-compare.mjs +274 -0
- package/fesm2022/avero-ui-image-compare.mjs.map +1 -0
- package/fesm2022/avero-ui-image.mjs +397 -0
- package/fesm2022/avero-ui-image.mjs.map +1 -0
- package/fesm2022/avero-ui-input-group.mjs +79 -0
- package/fesm2022/avero-ui-input-group.mjs.map +1 -0
- package/fesm2022/avero-ui-input-mask.mjs +678 -0
- package/fesm2022/avero-ui-input-mask.mjs.map +1 -0
- package/fesm2022/avero-ui-input-number.mjs +390 -0
- package/fesm2022/avero-ui-input-number.mjs.map +1 -0
- package/fesm2022/avero-ui-input-otp.mjs +541 -0
- package/fesm2022/avero-ui-input-otp.mjs.map +1 -0
- package/fesm2022/avero-ui-input.mjs +140 -0
- package/fesm2022/avero-ui-input.mjs.map +1 -0
- package/fesm2022/avero-ui-knob.mjs +436 -0
- package/fesm2022/avero-ui-knob.mjs.map +1 -0
- package/fesm2022/avero-ui-mega-menu.mjs +431 -0
- package/fesm2022/avero-ui-mega-menu.mjs.map +1 -0
- package/fesm2022/avero-ui-menu.mjs +398 -0
- package/fesm2022/avero-ui-menu.mjs.map +1 -0
- package/fesm2022/avero-ui-menubar.mjs +387 -0
- package/fesm2022/avero-ui-menubar.mjs.map +1 -0
- package/fesm2022/avero-ui-message.mjs +221 -0
- package/fesm2022/avero-ui-message.mjs.map +1 -0
- package/fesm2022/avero-ui-order-list.mjs +302 -0
- package/fesm2022/avero-ui-order-list.mjs.map +1 -0
- package/fesm2022/avero-ui-organization-chart.mjs +505 -0
- package/fesm2022/avero-ui-organization-chart.mjs.map +1 -0
- package/fesm2022/avero-ui-paginator.mjs +319 -0
- package/fesm2022/avero-ui-paginator.mjs.map +1 -0
- package/fesm2022/avero-ui-panel-menu.mjs +339 -0
- package/fesm2022/avero-ui-panel-menu.mjs.map +1 -0
- package/fesm2022/avero-ui-password.mjs +483 -0
- package/fesm2022/avero-ui-password.mjs.map +1 -0
- package/fesm2022/avero-ui-popover.mjs +469 -0
- package/fesm2022/avero-ui-popover.mjs.map +1 -0
- package/fesm2022/avero-ui-progress-bar.mjs +194 -0
- package/fesm2022/avero-ui-progress-bar.mjs.map +1 -0
- package/fesm2022/avero-ui-progress-spinner.mjs +150 -0
- package/fesm2022/avero-ui-progress-spinner.mjs.map +1 -0
- package/fesm2022/avero-ui-radio.mjs +67 -0
- package/fesm2022/avero-ui-radio.mjs.map +1 -0
- package/fesm2022/avero-ui-rating.mjs +271 -0
- package/fesm2022/avero-ui-rating.mjs.map +1 -0
- package/fesm2022/avero-ui-scroll-panel.mjs +415 -0
- package/fesm2022/avero-ui-scroll-panel.mjs.map +1 -0
- package/fesm2022/avero-ui-slider.mjs +274 -0
- package/fesm2022/avero-ui-slider.mjs.map +1 -0
- package/fesm2022/avero-ui-splitter.mjs +438 -0
- package/fesm2022/avero-ui-splitter.mjs.map +1 -0
- package/fesm2022/avero-ui-stepper.mjs +626 -0
- package/fesm2022/avero-ui-stepper.mjs.map +1 -0
- package/fesm2022/avero-ui-switch.mjs +252 -0
- package/fesm2022/avero-ui-switch.mjs.map +1 -0
- package/fesm2022/avero-ui-table.mjs +448 -0
- package/fesm2022/avero-ui-table.mjs.map +1 -0
- package/fesm2022/avero-ui-tabs.mjs +693 -0
- package/fesm2022/avero-ui-tabs.mjs.map +1 -0
- package/fesm2022/avero-ui-textarea.mjs +180 -0
- package/fesm2022/avero-ui-textarea.mjs.map +1 -0
- package/fesm2022/avero-ui-tiered-menu.mjs +444 -0
- package/fesm2022/avero-ui-tiered-menu.mjs.map +1 -0
- package/fesm2022/avero-ui-timeline.mjs +348 -0
- package/fesm2022/avero-ui-timeline.mjs.map +1 -0
- package/fesm2022/avero-ui-toast.mjs +291 -0
- package/fesm2022/avero-ui-toast.mjs.map +1 -0
- package/fesm2022/avero-ui-toggle-button.mjs +317 -0
- package/fesm2022/avero-ui-toggle-button.mjs.map +1 -0
- package/fesm2022/avero-ui-toolbar.mjs +284 -0
- package/fesm2022/avero-ui-toolbar.mjs.map +1 -0
- package/fesm2022/avero-ui-tooltip.mjs +442 -0
- package/fesm2022/avero-ui-tooltip.mjs.map +1 -0
- package/fesm2022/avero-ui-tree.mjs +426 -0
- package/fesm2022/avero-ui-tree.mjs.map +1 -0
- package/fesm2022/avero-ui-virtual-scroller.mjs +503 -0
- package/fesm2022/avero-ui-virtual-scroller.mjs.map +1 -0
- package/fesm2022/avero-ui.mjs +114 -0
- package/fesm2022/avero-ui.mjs.map +1 -0
- package/package.json +342 -3
- package/scripts/install-agent-skills.mjs +31 -0
- package/skills/avero-ui-build/SKILL.md +40 -0
- package/skills/avero-ui-build/agents/openai.yaml +4 -0
- package/skills/avero-ui-build/assets/workspace-page.scss +94 -0
- package/skills/avero-ui-build/assets/workspace-page.ts +222 -0
- package/skills/avero-ui-build/references/components.md +47 -0
- package/skills/avero-ui-build/references/integration.md +65 -0
- package/skills/avero-ui-build/references/recipes.md +88 -0
- package/styles/theme.scss +92 -0
- package/types/avero-ui-accordion.d.ts +101 -0
- package/types/avero-ui-animate-on-scroll.d.ts +56 -0
- package/types/avero-ui-auto-complete.d.ts +188 -0
- package/types/avero-ui-auto-focus.d.ts +24 -0
- package/types/avero-ui-avatar.d.ts +73 -0
- package/types/avero-ui-badge.d.ts +71 -0
- package/types/avero-ui-bind.d.ts +26 -0
- package/types/avero-ui-block-ui.d.ts +31 -0
- package/types/avero-ui-breadcrumb.d.ts +65 -0
- package/types/avero-ui-button.d.ts +37 -0
- package/types/avero-ui-calendar.d.ts +105 -0
- package/types/avero-ui-card.d.ts +53 -0
- package/types/avero-ui-carousel.d.ts +128 -0
- package/types/avero-ui-cascade-select.d.ts +212 -0
- package/types/avero-ui-chart.d.ts +106 -0
- package/types/avero-ui-checkbox.d.ts +90 -0
- package/types/avero-ui-chip.d.ts +63 -0
- package/types/avero-ui-class-names.d.ts +24 -0
- package/types/avero-ui-color-picker.d.ts +173 -0
- package/types/avero-ui-confirm-dialog.d.ts +113 -0
- package/types/avero-ui-confirm-popup.d.ts +68 -0
- package/types/avero-ui-context-menu.d.ts +95 -0
- package/types/avero-ui-core.d.ts +11 -0
- package/types/avero-ui-data-view.d.ts +102 -0
- package/types/avero-ui-dialog.d.ts +118 -0
- package/types/avero-ui-divider.d.ts +31 -0
- package/types/avero-ui-dock.d.ts +80 -0
- package/types/avero-ui-drawer.d.ts +109 -0
- package/types/avero-ui-dropdown.d.ts +146 -0
- package/types/avero-ui-dynamic-dialog.d.ts +51 -0
- package/types/avero-ui-fieldset.d.ts +73 -0
- package/types/avero-ui-file-upload.d.ts +195 -0
- package/types/avero-ui-fluid.d.ts +32 -0
- package/types/avero-ui-focus-trap.d.ts +25 -0
- package/types/avero-ui-galleria.d.ts +156 -0
- package/types/avero-ui-icon-field.d.ts +22 -0
- package/types/avero-ui-image-compare.d.ts +77 -0
- package/types/avero-ui-image.d.ts +111 -0
- package/types/avero-ui-input-group.d.ts +14 -0
- package/types/avero-ui-input-mask.d.ts +178 -0
- package/types/avero-ui-input-number.d.ts +131 -0
- package/types/avero-ui-input-otp.d.ts +140 -0
- package/types/avero-ui-input.d.ts +36 -0
- package/types/avero-ui-knob.d.ts +139 -0
- package/types/avero-ui-mega-menu.d.ts +115 -0
- package/types/avero-ui-menu.d.ts +100 -0
- package/types/avero-ui-menubar.d.ts +91 -0
- package/types/avero-ui-message.d.ts +54 -0
- package/types/avero-ui-order-list.d.ts +85 -0
- package/types/avero-ui-organization-chart.d.ts +145 -0
- package/types/avero-ui-paginator.d.ts +104 -0
- package/types/avero-ui-panel-menu.d.ts +99 -0
- package/types/avero-ui-password.d.ts +163 -0
- package/types/avero-ui-popover.d.ts +91 -0
- package/types/avero-ui-progress-bar.d.ts +45 -0
- package/types/avero-ui-progress-spinner.d.ts +41 -0
- package/types/avero-ui-radio.d.ts +16 -0
- package/types/avero-ui-rating.d.ts +75 -0
- package/types/avero-ui-scroll-panel.d.ts +78 -0
- package/types/avero-ui-slider.d.ts +92 -0
- package/types/avero-ui-splitter.d.ts +90 -0
- package/types/avero-ui-stepper.d.ts +134 -0
- package/types/avero-ui-switch.d.ts +83 -0
- package/types/avero-ui-table.d.ts +150 -0
- package/types/avero-ui-tabs.d.ts +135 -0
- package/types/avero-ui-textarea.d.ts +43 -0
- package/types/avero-ui-tiered-menu.d.ts +105 -0
- package/types/avero-ui-timeline.d.ts +97 -0
- package/types/avero-ui-toast.d.ts +99 -0
- package/types/avero-ui-toggle-button.d.ts +115 -0
- package/types/avero-ui-toolbar.d.ts +33 -0
- package/types/avero-ui-tooltip.d.ts +93 -0
- package/types/avero-ui-tree.d.ts +128 -0
- package/types/avero-ui-virtual-scroller.d.ts +149 -0
- package/types/avero-ui.d.ts +82 -0
|
@@ -0,0 +1,319 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { ChangeDetectionStrategy, Component, booleanAttribute, computed, input, model, output } from "@angular/core";
|
|
3
|
+
var AvPaginator = class AvPaginator {
|
|
4
|
+
first = model(0, ...ngDevMode ? [{ debugName: "first" }] : /* istanbul ignore next */ []);
|
|
5
|
+
rows = model(10, ...ngDevMode ? [{ debugName: "rows" }] : /* istanbul ignore next */ []);
|
|
6
|
+
totalRecords = input(0, ...ngDevMode ? [{ debugName: "totalRecords" }] : /* istanbul ignore next */ []);
|
|
7
|
+
rowsPerPageOptions = input([], ...ngDevMode ? [{ debugName: "rowsPerPageOptions" }] : /* istanbul ignore next */ []);
|
|
8
|
+
pageLinkSize = input(5, ...ngDevMode ? [{ debugName: "pageLinkSize" }] : /* istanbul ignore next */ []);
|
|
9
|
+
label = input("Pagination", ...ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []);
|
|
10
|
+
disabled = input(false, {
|
|
11
|
+
...ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {},
|
|
12
|
+
transform: booleanAttribute
|
|
13
|
+
});
|
|
14
|
+
loading = input(false, {
|
|
15
|
+
...ngDevMode ? { debugName: "loading" } : /* istanbul ignore next */ {},
|
|
16
|
+
transform: booleanAttribute
|
|
17
|
+
});
|
|
18
|
+
showPageLinks = input(true, {
|
|
19
|
+
...ngDevMode ? { debugName: "showPageLinks" } : /* istanbul ignore next */ {},
|
|
20
|
+
transform: booleanAttribute
|
|
21
|
+
});
|
|
22
|
+
showFirstLastIcon = input(true, {
|
|
23
|
+
...ngDevMode ? { debugName: "showFirstLastIcon" } : /* istanbul ignore next */ {},
|
|
24
|
+
transform: booleanAttribute
|
|
25
|
+
});
|
|
26
|
+
showCurrentPageReport = input(true, {
|
|
27
|
+
...ngDevMode ? { debugName: "showCurrentPageReport" } : /* istanbul ignore next */ {},
|
|
28
|
+
transform: booleanAttribute
|
|
29
|
+
});
|
|
30
|
+
currentPageReportTemplate = input("{first}–{last} of {totalRecords}", ...ngDevMode ? [{ debugName: "currentPageReportTemplate" }] : /* istanbul ignore next */ []);
|
|
31
|
+
onPageChange = output();
|
|
32
|
+
total = computed(() => this.integer(this.totalRecords(), 0), ...ngDevMode ? [{ debugName: "total" }] : /* istanbul ignore next */ []);
|
|
33
|
+
size = computed(() => this.integer(this.rows(), 10, 1), ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
|
|
34
|
+
count = computed(() => Math.ceil(this.total() / this.size()), ...ngDevMode ? [{ debugName: "count" }] : /* istanbul ignore next */ []);
|
|
35
|
+
page = computed(() => Math.min(Math.floor(this.integer(this.first(), 0) / this.size()), Math.max(0, this.count() - 1)), ...ngDevMode ? [{ debugName: "page" }] : /* istanbul ignore next */ []);
|
|
36
|
+
offset = computed(() => this.page() * this.size(), ...ngDevMode ? [{ debugName: "offset" }] : /* istanbul ignore next */ []);
|
|
37
|
+
blocked = computed(() => this.disabled() || this.loading(), ...ngDevMode ? [{ debugName: "blocked" }] : /* istanbul ignore next */ []);
|
|
38
|
+
options = computed(() => [.../* @__PURE__ */ new Set([this.size(), ...this.rowsPerPageOptions().filter((n) => Number.isSafeInteger(n) && n > 0)])].sort((a, b) => a - b), ...ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []);
|
|
39
|
+
pages = computed(() => {
|
|
40
|
+
const length = Math.min(this.count(), this.integer(this.pageLinkSize(), 5, 1), 100);
|
|
41
|
+
const start = Math.max(0, Math.min(this.page() - Math.floor(length / 2), this.count() - length));
|
|
42
|
+
return Array.from({ length }, (_, index) => start + index);
|
|
43
|
+
}, ...ngDevMode ? [{ debugName: "pages" }] : /* istanbul ignore next */ []);
|
|
44
|
+
report = computed(() => {
|
|
45
|
+
const values = {
|
|
46
|
+
first: this.total() ? this.offset() + 1 : 0,
|
|
47
|
+
last: Math.min(this.offset() + this.size(), this.total()),
|
|
48
|
+
totalRecords: this.total(),
|
|
49
|
+
currentPage: this.count() ? this.page() + 1 : 0,
|
|
50
|
+
totalPages: this.count(),
|
|
51
|
+
rows: this.size()
|
|
52
|
+
};
|
|
53
|
+
return this.currentPageReportTemplate().replace(/\{(first|last|totalRecords|currentPage|totalPages|rows)\}/g, (_match, key) => String(values[key]));
|
|
54
|
+
}, ...ngDevMode ? [{ debugName: "report" }] : /* istanbul ignore next */ []);
|
|
55
|
+
integer(value, fallback, min = 0) {
|
|
56
|
+
return Number.isFinite(value) ? Math.min(Number.MAX_SAFE_INTEGER, Math.max(min, Math.floor(value))) : fallback;
|
|
57
|
+
}
|
|
58
|
+
go(page) {
|
|
59
|
+
if (this.blocked() || page < 0 || page >= this.count() || page === this.page()) return;
|
|
60
|
+
const event = {
|
|
61
|
+
page,
|
|
62
|
+
first: page * this.size(),
|
|
63
|
+
rows: this.size(),
|
|
64
|
+
pageCount: this.count()
|
|
65
|
+
};
|
|
66
|
+
this.first.set(event.first);
|
|
67
|
+
this.onPageChange.emit(event);
|
|
68
|
+
}
|
|
69
|
+
resize(event) {
|
|
70
|
+
const rows = Number(event.target.value);
|
|
71
|
+
if (this.blocked() || rows === this.size() || !this.options().includes(rows)) return;
|
|
72
|
+
const change = {
|
|
73
|
+
page: 0,
|
|
74
|
+
first: 0,
|
|
75
|
+
rows,
|
|
76
|
+
pageCount: Math.ceil(this.total() / rows)
|
|
77
|
+
};
|
|
78
|
+
this.rows.set(rows);
|
|
79
|
+
this.first.set(0);
|
|
80
|
+
this.onPageChange.emit(change);
|
|
81
|
+
}
|
|
82
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
83
|
+
minVersion: "12.0.0",
|
|
84
|
+
version: "22.3.2",
|
|
85
|
+
ngImport: i0,
|
|
86
|
+
type: AvPaginator,
|
|
87
|
+
deps: [],
|
|
88
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
89
|
+
});
|
|
90
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
91
|
+
minVersion: "17.0.0",
|
|
92
|
+
version: "22.3.2",
|
|
93
|
+
type: AvPaginator,
|
|
94
|
+
isStandalone: true,
|
|
95
|
+
selector: "av-paginator",
|
|
96
|
+
inputs: {
|
|
97
|
+
first: {
|
|
98
|
+
classPropertyName: "first",
|
|
99
|
+
publicName: "first",
|
|
100
|
+
isSignal: true,
|
|
101
|
+
isRequired: false,
|
|
102
|
+
transformFunction: null
|
|
103
|
+
},
|
|
104
|
+
rows: {
|
|
105
|
+
classPropertyName: "rows",
|
|
106
|
+
publicName: "rows",
|
|
107
|
+
isSignal: true,
|
|
108
|
+
isRequired: false,
|
|
109
|
+
transformFunction: null
|
|
110
|
+
},
|
|
111
|
+
totalRecords: {
|
|
112
|
+
classPropertyName: "totalRecords",
|
|
113
|
+
publicName: "totalRecords",
|
|
114
|
+
isSignal: true,
|
|
115
|
+
isRequired: false,
|
|
116
|
+
transformFunction: null
|
|
117
|
+
},
|
|
118
|
+
rowsPerPageOptions: {
|
|
119
|
+
classPropertyName: "rowsPerPageOptions",
|
|
120
|
+
publicName: "rowsPerPageOptions",
|
|
121
|
+
isSignal: true,
|
|
122
|
+
isRequired: false,
|
|
123
|
+
transformFunction: null
|
|
124
|
+
},
|
|
125
|
+
pageLinkSize: {
|
|
126
|
+
classPropertyName: "pageLinkSize",
|
|
127
|
+
publicName: "pageLinkSize",
|
|
128
|
+
isSignal: true,
|
|
129
|
+
isRequired: false,
|
|
130
|
+
transformFunction: null
|
|
131
|
+
},
|
|
132
|
+
label: {
|
|
133
|
+
classPropertyName: "label",
|
|
134
|
+
publicName: "label",
|
|
135
|
+
isSignal: true,
|
|
136
|
+
isRequired: false,
|
|
137
|
+
transformFunction: null
|
|
138
|
+
},
|
|
139
|
+
disabled: {
|
|
140
|
+
classPropertyName: "disabled",
|
|
141
|
+
publicName: "disabled",
|
|
142
|
+
isSignal: true,
|
|
143
|
+
isRequired: false,
|
|
144
|
+
transformFunction: null
|
|
145
|
+
},
|
|
146
|
+
loading: {
|
|
147
|
+
classPropertyName: "loading",
|
|
148
|
+
publicName: "loading",
|
|
149
|
+
isSignal: true,
|
|
150
|
+
isRequired: false,
|
|
151
|
+
transformFunction: null
|
|
152
|
+
},
|
|
153
|
+
showPageLinks: {
|
|
154
|
+
classPropertyName: "showPageLinks",
|
|
155
|
+
publicName: "showPageLinks",
|
|
156
|
+
isSignal: true,
|
|
157
|
+
isRequired: false,
|
|
158
|
+
transformFunction: null
|
|
159
|
+
},
|
|
160
|
+
showFirstLastIcon: {
|
|
161
|
+
classPropertyName: "showFirstLastIcon",
|
|
162
|
+
publicName: "showFirstLastIcon",
|
|
163
|
+
isSignal: true,
|
|
164
|
+
isRequired: false,
|
|
165
|
+
transformFunction: null
|
|
166
|
+
},
|
|
167
|
+
showCurrentPageReport: {
|
|
168
|
+
classPropertyName: "showCurrentPageReport",
|
|
169
|
+
publicName: "showCurrentPageReport",
|
|
170
|
+
isSignal: true,
|
|
171
|
+
isRequired: false,
|
|
172
|
+
transformFunction: null
|
|
173
|
+
},
|
|
174
|
+
currentPageReportTemplate: {
|
|
175
|
+
classPropertyName: "currentPageReportTemplate",
|
|
176
|
+
publicName: "currentPageReportTemplate",
|
|
177
|
+
isSignal: true,
|
|
178
|
+
isRequired: false,
|
|
179
|
+
transformFunction: null
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
outputs: {
|
|
183
|
+
first: "firstChange",
|
|
184
|
+
rows: "rowsChange",
|
|
185
|
+
onPageChange: "onPageChange"
|
|
186
|
+
},
|
|
187
|
+
ngImport: i0,
|
|
188
|
+
template: "<nav\n [attr.aria-label]=\"label()\"\n [attr.aria-busy]=\"loading()\"\n [attr.aria-disabled]=\"disabled() || null\"\n>\n @if (showCurrentPageReport()) {\n <span class=\"report\" role=\"status\">{{ loading() ? 'Loading…' : report() }}</span>\n }\n <div class=\"pages\">\n @if (showFirstLastIcon()) {\n <button\n type=\"button\"\n aria-label=\"First page\"\n [disabled]=\"blocked() || page() === 0\"\n (click)=\"go(0)\"\n >\n «\n </button>\n }\n <button\n type=\"button\"\n aria-label=\"Previous page\"\n [disabled]=\"blocked() || page() === 0\"\n (click)=\"go(page() - 1)\"\n >\n ‹\n </button>\n @if (showPageLinks()) {\n @for (number of pages(); track number) {\n <button\n type=\"button\"\n [attr.aria-label]=\"'Page ' + (number + 1)\"\n [attr.aria-current]=\"number === page() ? 'page' : null\"\n [disabled]=\"blocked()\"\n (click)=\"go(number)\"\n >\n {{ number + 1 }}\n </button>\n }\n }\n <button\n type=\"button\"\n aria-label=\"Next page\"\n [disabled]=\"blocked() || page() >= count() - 1\"\n (click)=\"go(page() + 1)\"\n >\n ›\n </button>\n @if (showFirstLastIcon()) {\n <button\n type=\"button\"\n aria-label=\"Last page\"\n [disabled]=\"blocked() || page() >= count() - 1\"\n (click)=\"go(count() - 1)\"\n >\n »\n </button>\n }\n </div>\n @if (rowsPerPageOptions().length) {\n <label\n >Rows per page<select [value]=\"size()\" [disabled]=\"blocked()\" (change)=\"resize($event)\">\n @for (option of options(); track option) {\n <option [value]=\"option\">{{ option }}</option>\n }\n </select></label\n >\n }\n</nav>\n",
|
|
189
|
+
styles: [":host{display:block}nav{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:16px;padding:16px;border:1px solid var(--av-paginator-border, var(--av-border, #dfe7e4));border-radius:var(--av-paginator-radius, 10px);background:var(--av-paginator-background, var(--av-surface, white));color:var(--av-paginator-color, var(--av-text, #475569));font-size:13px}.report{font-variant-numeric:tabular-nums}.pages{display:flex;flex-wrap:wrap;justify-content:center;gap:4px}button{width:36px;height:36px;border:0;border-radius:7px;font:inherit;color:inherit;background:transparent;cursor:pointer}button:hover:not(:disabled){background:var(--av-paginator-hover, var(--av-surface-hover, #f0f6f3))}button[aria-current=page]{color:var(--av-paginator-accent, var(--av-primary, #0f766e));background:var(--av-paginator-selected-background, var(--av-primary-soft, #e2f2eb));font-weight:600}button:disabled,select:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,select:focus-visible{outline:2px solid var(--av-paginator-accent, var(--av-primary, #0f766e));outline-offset:-2px}label{display:flex;align-items:center;gap:8px;font-size:12px}select{color:inherit;background:var(--av-paginator-background, var(--av-surface, white));border:1px solid var(--av-paginator-border, var(--av-border, #dfe7e4));border-radius:7px;padding:8px;font:inherit}\n"],
|
|
190
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
191
|
+
});
|
|
192
|
+
};
|
|
193
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
194
|
+
minVersion: "12.0.0",
|
|
195
|
+
version: "22.3.2",
|
|
196
|
+
ngImport: i0,
|
|
197
|
+
type: AvPaginator,
|
|
198
|
+
decorators: [{
|
|
199
|
+
type: Component,
|
|
200
|
+
args: [{
|
|
201
|
+
selector: "av-paginator",
|
|
202
|
+
standalone: true,
|
|
203
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
204
|
+
template: "<nav\n [attr.aria-label]=\"label()\"\n [attr.aria-busy]=\"loading()\"\n [attr.aria-disabled]=\"disabled() || null\"\n>\n @if (showCurrentPageReport()) {\n <span class=\"report\" role=\"status\">{{ loading() ? 'Loading…' : report() }}</span>\n }\n <div class=\"pages\">\n @if (showFirstLastIcon()) {\n <button\n type=\"button\"\n aria-label=\"First page\"\n [disabled]=\"blocked() || page() === 0\"\n (click)=\"go(0)\"\n >\n «\n </button>\n }\n <button\n type=\"button\"\n aria-label=\"Previous page\"\n [disabled]=\"blocked() || page() === 0\"\n (click)=\"go(page() - 1)\"\n >\n ‹\n </button>\n @if (showPageLinks()) {\n @for (number of pages(); track number) {\n <button\n type=\"button\"\n [attr.aria-label]=\"'Page ' + (number + 1)\"\n [attr.aria-current]=\"number === page() ? 'page' : null\"\n [disabled]=\"blocked()\"\n (click)=\"go(number)\"\n >\n {{ number + 1 }}\n </button>\n }\n }\n <button\n type=\"button\"\n aria-label=\"Next page\"\n [disabled]=\"blocked() || page() >= count() - 1\"\n (click)=\"go(page() + 1)\"\n >\n ›\n </button>\n @if (showFirstLastIcon()) {\n <button\n type=\"button\"\n aria-label=\"Last page\"\n [disabled]=\"blocked() || page() >= count() - 1\"\n (click)=\"go(count() - 1)\"\n >\n »\n </button>\n }\n </div>\n @if (rowsPerPageOptions().length) {\n <label\n >Rows per page<select [value]=\"size()\" [disabled]=\"blocked()\" (change)=\"resize($event)\">\n @for (option of options(); track option) {\n <option [value]=\"option\">{{ option }}</option>\n }\n </select></label\n >\n }\n</nav>\n",
|
|
205
|
+
styles: [":host{display:block}nav{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:16px;padding:16px;border:1px solid var(--av-paginator-border, var(--av-border, #dfe7e4));border-radius:var(--av-paginator-radius, 10px);background:var(--av-paginator-background, var(--av-surface, white));color:var(--av-paginator-color, var(--av-text, #475569));font-size:13px}.report{font-variant-numeric:tabular-nums}.pages{display:flex;flex-wrap:wrap;justify-content:center;gap:4px}button{width:36px;height:36px;border:0;border-radius:7px;font:inherit;color:inherit;background:transparent;cursor:pointer}button:hover:not(:disabled){background:var(--av-paginator-hover, var(--av-surface-hover, #f0f6f3))}button[aria-current=page]{color:var(--av-paginator-accent, var(--av-primary, #0f766e));background:var(--av-paginator-selected-background, var(--av-primary-soft, #e2f2eb));font-weight:600}button:disabled,select:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,select:focus-visible{outline:2px solid var(--av-paginator-accent, var(--av-primary, #0f766e));outline-offset:-2px}label{display:flex;align-items:center;gap:8px;font-size:12px}select{color:inherit;background:var(--av-paginator-background, var(--av-surface, white));border:1px solid var(--av-paginator-border, var(--av-border, #dfe7e4));border-radius:7px;padding:8px;font:inherit}\n"]
|
|
206
|
+
}]
|
|
207
|
+
}],
|
|
208
|
+
propDecorators: {
|
|
209
|
+
first: [{
|
|
210
|
+
type: i0.Input,
|
|
211
|
+
args: [{
|
|
212
|
+
isSignal: true,
|
|
213
|
+
alias: "first",
|
|
214
|
+
required: false
|
|
215
|
+
}]
|
|
216
|
+
}, {
|
|
217
|
+
type: i0.Output,
|
|
218
|
+
args: ["firstChange"]
|
|
219
|
+
}],
|
|
220
|
+
rows: [{
|
|
221
|
+
type: i0.Input,
|
|
222
|
+
args: [{
|
|
223
|
+
isSignal: true,
|
|
224
|
+
alias: "rows",
|
|
225
|
+
required: false
|
|
226
|
+
}]
|
|
227
|
+
}, {
|
|
228
|
+
type: i0.Output,
|
|
229
|
+
args: ["rowsChange"]
|
|
230
|
+
}],
|
|
231
|
+
totalRecords: [{
|
|
232
|
+
type: i0.Input,
|
|
233
|
+
args: [{
|
|
234
|
+
isSignal: true,
|
|
235
|
+
alias: "totalRecords",
|
|
236
|
+
required: false
|
|
237
|
+
}]
|
|
238
|
+
}],
|
|
239
|
+
rowsPerPageOptions: [{
|
|
240
|
+
type: i0.Input,
|
|
241
|
+
args: [{
|
|
242
|
+
isSignal: true,
|
|
243
|
+
alias: "rowsPerPageOptions",
|
|
244
|
+
required: false
|
|
245
|
+
}]
|
|
246
|
+
}],
|
|
247
|
+
pageLinkSize: [{
|
|
248
|
+
type: i0.Input,
|
|
249
|
+
args: [{
|
|
250
|
+
isSignal: true,
|
|
251
|
+
alias: "pageLinkSize",
|
|
252
|
+
required: false
|
|
253
|
+
}]
|
|
254
|
+
}],
|
|
255
|
+
label: [{
|
|
256
|
+
type: i0.Input,
|
|
257
|
+
args: [{
|
|
258
|
+
isSignal: true,
|
|
259
|
+
alias: "label",
|
|
260
|
+
required: false
|
|
261
|
+
}]
|
|
262
|
+
}],
|
|
263
|
+
disabled: [{
|
|
264
|
+
type: i0.Input,
|
|
265
|
+
args: [{
|
|
266
|
+
isSignal: true,
|
|
267
|
+
alias: "disabled",
|
|
268
|
+
required: false
|
|
269
|
+
}]
|
|
270
|
+
}],
|
|
271
|
+
loading: [{
|
|
272
|
+
type: i0.Input,
|
|
273
|
+
args: [{
|
|
274
|
+
isSignal: true,
|
|
275
|
+
alias: "loading",
|
|
276
|
+
required: false
|
|
277
|
+
}]
|
|
278
|
+
}],
|
|
279
|
+
showPageLinks: [{
|
|
280
|
+
type: i0.Input,
|
|
281
|
+
args: [{
|
|
282
|
+
isSignal: true,
|
|
283
|
+
alias: "showPageLinks",
|
|
284
|
+
required: false
|
|
285
|
+
}]
|
|
286
|
+
}],
|
|
287
|
+
showFirstLastIcon: [{
|
|
288
|
+
type: i0.Input,
|
|
289
|
+
args: [{
|
|
290
|
+
isSignal: true,
|
|
291
|
+
alias: "showFirstLastIcon",
|
|
292
|
+
required: false
|
|
293
|
+
}]
|
|
294
|
+
}],
|
|
295
|
+
showCurrentPageReport: [{
|
|
296
|
+
type: i0.Input,
|
|
297
|
+
args: [{
|
|
298
|
+
isSignal: true,
|
|
299
|
+
alias: "showCurrentPageReport",
|
|
300
|
+
required: false
|
|
301
|
+
}]
|
|
302
|
+
}],
|
|
303
|
+
currentPageReportTemplate: [{
|
|
304
|
+
type: i0.Input,
|
|
305
|
+
args: [{
|
|
306
|
+
isSignal: true,
|
|
307
|
+
alias: "currentPageReportTemplate",
|
|
308
|
+
required: false
|
|
309
|
+
}]
|
|
310
|
+
}],
|
|
311
|
+
onPageChange: [{
|
|
312
|
+
type: i0.Output,
|
|
313
|
+
args: ["onPageChange"]
|
|
314
|
+
}]
|
|
315
|
+
}
|
|
316
|
+
});
|
|
317
|
+
export { AvPaginator };
|
|
318
|
+
|
|
319
|
+
//# sourceMappingURL=avero-ui-paginator.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"avero-ui-paginator.mjs","names":[],"sources":["../../../projects/avero-ui/src/lib/paginator/paginator.ts","../../../projects/avero-ui/src/lib/paginator/paginator.html"],"sourcesContent":["import {\n booleanAttribute,\n ChangeDetectionStrategy,\n Component,\n computed,\n input,\n model,\n output,\n} from '@angular/core';\nexport interface AvPaginatorPageEvent {\n page: number;\n first: number;\n rows: number;\n pageCount: number;\n}\n@Component({\n selector: 'av-paginator',\n standalone: true,\n templateUrl: './paginator.html',\n styleUrl: './paginator.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AvPaginator {\n readonly first = model(0);\n readonly rows = model(10);\n readonly totalRecords = input(0);\n readonly rowsPerPageOptions = input<readonly number[]>([]);\n readonly pageLinkSize = input(5);\n readonly label = input('Pagination');\n readonly disabled = input(false, { transform: booleanAttribute });\n readonly loading = input(false, { transform: booleanAttribute });\n readonly showPageLinks = input(true, { transform: booleanAttribute });\n readonly showFirstLastIcon = input(true, { transform: booleanAttribute });\n readonly showCurrentPageReport = input(true, { transform: booleanAttribute });\n readonly currentPageReportTemplate = input('{first}–{last} of {totalRecords}');\n readonly onPageChange = output<AvPaginatorPageEvent>();\n protected readonly total = computed(() => this.integer(this.totalRecords(), 0));\n protected readonly size = computed(() => this.integer(this.rows(), 10, 1));\n protected readonly count = computed(() => Math.ceil(this.total() / this.size()));\n protected readonly page = computed(() =>\n Math.min(\n Math.floor(this.integer(this.first(), 0) / this.size()),\n Math.max(0, this.count() - 1),\n ),\n );\n protected readonly offset = computed(() => this.page() * this.size());\n protected readonly blocked = computed(() => this.disabled() || this.loading());\n protected readonly options = computed(() =>\n [\n ...new Set([\n this.size(),\n ...this.rowsPerPageOptions().filter((n) => Number.isSafeInteger(n) && n > 0),\n ]),\n ].sort((a, b) => a - b),\n );\n protected readonly pages = computed(() => {\n const length = Math.min(this.count(), this.integer(this.pageLinkSize(), 5, 1), 100);\n const start = Math.max(\n 0,\n Math.min(this.page() - Math.floor(length / 2), this.count() - length),\n );\n return Array.from({ length }, (_, index) => start + index);\n });\n protected readonly report = computed(() => {\n const values: Record<string, number> = {\n first: this.total() ? this.offset() + 1 : 0,\n last: Math.min(this.offset() + this.size(), this.total()),\n totalRecords: this.total(),\n currentPage: this.count() ? this.page() + 1 : 0,\n totalPages: this.count(),\n rows: this.size(),\n };\n return this.currentPageReportTemplate().replace(\n /\\{(first|last|totalRecords|currentPage|totalPages|rows)\\}/g,\n (_match, key: string) => String(values[key]),\n );\n });\n private integer(value: number, fallback: number, min = 0): number {\n return Number.isFinite(value)\n ? Math.min(Number.MAX_SAFE_INTEGER, Math.max(min, Math.floor(value)))\n : fallback;\n }\n protected go(page: number): void {\n if (this.blocked() || page < 0 || page >= this.count() || page === this.page()) return;\n const event = { page, first: page * this.size(), rows: this.size(), pageCount: this.count() };\n this.first.set(event.first);\n this.onPageChange.emit(event);\n }\n protected resize(event: Event): void {\n const rows = Number((event.target as HTMLSelectElement).value);\n if (this.blocked() || rows === this.size() || !this.options().includes(rows)) return;\n const change = { page: 0, first: 0, rows, pageCount: Math.ceil(this.total() / rows) };\n this.rows.set(rows);\n this.first.set(0);\n this.onPageChange.emit(change);\n }\n}\n","<nav\n [attr.aria-label]=\"label()\"\n [attr.aria-busy]=\"loading()\"\n [attr.aria-disabled]=\"disabled() || null\"\n>\n @if (showCurrentPageReport()) {\n <span class=\"report\" role=\"status\">{{ loading() ? 'Loading…' : report() }}</span>\n }\n <div class=\"pages\">\n @if (showFirstLastIcon()) {\n <button\n type=\"button\"\n aria-label=\"First page\"\n [disabled]=\"blocked() || page() === 0\"\n (click)=\"go(0)\"\n >\n «\n </button>\n }\n <button\n type=\"button\"\n aria-label=\"Previous page\"\n [disabled]=\"blocked() || page() === 0\"\n (click)=\"go(page() - 1)\"\n >\n ‹\n </button>\n @if (showPageLinks()) {\n @for (number of pages(); track number) {\n <button\n type=\"button\"\n [attr.aria-label]=\"'Page ' + (number + 1)\"\n [attr.aria-current]=\"number === page() ? 'page' : null\"\n [disabled]=\"blocked()\"\n (click)=\"go(number)\"\n >\n {{ number + 1 }}\n </button>\n }\n }\n <button\n type=\"button\"\n aria-label=\"Next page\"\n [disabled]=\"blocked() || page() >= count() - 1\"\n (click)=\"go(page() + 1)\"\n >\n ›\n </button>\n @if (showFirstLastIcon()) {\n <button\n type=\"button\"\n aria-label=\"Last page\"\n [disabled]=\"blocked() || page() >= count() - 1\"\n (click)=\"go(count() - 1)\"\n >\n »\n </button>\n }\n </div>\n @if (rowsPerPageOptions().length) {\n <label\n >Rows per page<select [value]=\"size()\" [disabled]=\"blocked()\" (change)=\"resize($event)\">\n @for (option of options(); track option) {\n <option [value]=\"option\">{{ option }}</option>\n }\n </select></label\n >\n }\n</nav>\n"],"mappings":";;AAsBA,IAAa,cAAb,MAAa,YAAW;CACb,QAAQ,MAAM,GAAE,GAAA,YAAA,CAAA,EAAA,WAAA,QAAA,CAAA,+BAAA,CAAA,CAAA;CAChB,OAAO,MAAM,IAAG,GAAA,YAAA,CAAA,EAAA,WAAA,OAAA,CAAA,+BAAA,CAAA,CAAA;CAChB,eAAe,MAAM,GAAE,GAAA,YAAA,CAAA,EAAA,WAAA,eAAA,CAAA,+BAAA,CAAA,CAAA;CACvB,qBAAqB,MAAyB,CAAA,GAAG,GAAA,YAAA,CAAA,EAAA,WAAA,qBAAA,CAAA,+BAAA,CAAA,CAAA;CACjD,eAAe,MAAM,GAAE,GAAA,YAAA,CAAA,EAAA,WAAA,eAAA,CAAA,+BAAA,CAAA,CAAA;CACvB,QAAQ,MAAM,cAAa,GAAA,YAAA,CAAA,EAAA,WAAA,QAAA,CAAA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