ngwr 16.6.0 → 16.7.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/avatar/styles/_index.scss +39 -0
- package/button/styles/_index.scss +45 -2
- package/checkbox/styles/_index.scss +4 -0
- package/copy-value/styles/_index.scss +4 -0
- package/dropdown/styles/_index.scss +17 -0
- package/fesm2022/ngwr-affix.mjs +3 -3
- package/fesm2022/ngwr-alert.mjs +3 -3
- package/fesm2022/ngwr-anchor.mjs +3 -3
- package/fesm2022/ngwr-animations-aurora.mjs +3 -3
- package/fesm2022/ngwr-animations-blur-reveal.mjs +3 -3
- package/fesm2022/ngwr-animations-click-sparks.mjs +3 -3
- package/fesm2022/ngwr-animations-confetti.mjs +3 -3
- package/fesm2022/ngwr-animations-decode.mjs +3 -3
- package/fesm2022/ngwr-animations-destruct.mjs +3 -3
- package/fesm2022/ngwr-animations-dot-grid.mjs +3 -3
- package/fesm2022/ngwr-animations-falling-letters.mjs +3 -3
- package/fesm2022/ngwr-animations-flow-lines.mjs +3 -3
- package/fesm2022/ngwr-animations-fluid-cursor.mjs +3 -3
- package/fesm2022/ngwr-animations-glitch.mjs +3 -3
- package/fesm2022/ngwr-animations-glow-border.mjs +3 -3
- package/fesm2022/ngwr-animations-gradient-flow.mjs +3 -3
- package/fesm2022/ngwr-animations-marquee.mjs +4 -3
- package/fesm2022/ngwr-animations-marquee.mjs.map +1 -1
- package/fesm2022/ngwr-animations-orbit.mjs +3 -3
- package/fesm2022/ngwr-animations-reveal.mjs +3 -3
- package/fesm2022/ngwr-animations-ripple-grid.mjs +3 -3
- package/fesm2022/ngwr-animations-rotate-reveal.mjs +3 -3
- package/fesm2022/ngwr-animations-shimmer.mjs +3 -3
- package/fesm2022/ngwr-animations-spotlight.mjs +3 -3
- package/fesm2022/ngwr-animations-thread-lines.mjs +3 -3
- package/fesm2022/ngwr-animations-tilt.mjs +3 -3
- package/fesm2022/ngwr-animations-typewriter.mjs +3 -3
- package/fesm2022/ngwr-avatar.mjs +171 -6
- package/fesm2022/ngwr-avatar.mjs.map +1 -1
- package/fesm2022/ngwr-back-top.mjs +3 -3
- package/fesm2022/ngwr-badge.mjs +6 -6
- package/fesm2022/ngwr-breadcrumbs.mjs +9 -8
- package/fesm2022/ngwr-breadcrumbs.mjs.map +1 -1
- package/fesm2022/ngwr-burger.mjs +3 -3
- package/fesm2022/ngwr-button.mjs +26 -6
- package/fesm2022/ngwr-button.mjs.map +1 -1
- package/fesm2022/ngwr-calendar.mjs +3 -3
- package/fesm2022/ngwr-card.mjs +9 -9
- package/fesm2022/ngwr-carousel.mjs +6 -6
- package/fesm2022/ngwr-cascader.mjs +5 -5
- package/fesm2022/ngwr-cascader.mjs.map +1 -1
- package/fesm2022/ngwr-charts-bar-chart.mjs +3 -3
- package/fesm2022/ngwr-charts-boxplot-chart.mjs +3 -3
- package/fesm2022/ngwr-charts-bullet-chart.mjs +3 -3
- package/fesm2022/ngwr-charts-calendar-heatmap.mjs +3 -3
- package/fesm2022/ngwr-charts-candlestick-chart.mjs +3 -3
- package/fesm2022/ngwr-charts-chart-legend.mjs +9 -9
- package/fesm2022/ngwr-charts-core.mjs +6 -6
- package/fesm2022/ngwr-charts-donut-chart.mjs +3 -3
- package/fesm2022/ngwr-charts-funnel-chart.mjs +3 -3
- package/fesm2022/ngwr-charts-gauge.mjs +3 -3
- package/fesm2022/ngwr-charts-heatmap-chart.mjs +3 -3
- package/fesm2022/ngwr-charts-line-chart.mjs +3 -3
- package/fesm2022/ngwr-charts-meter-group.mjs +3 -3
- package/fesm2022/ngwr-charts-radar-chart.mjs +3 -3
- package/fesm2022/ngwr-charts-scatter-chart.mjs +3 -3
- package/fesm2022/ngwr-charts-sparkline.mjs +3 -3
- package/fesm2022/ngwr-charts-treemap-chart.mjs +3 -3
- package/fesm2022/ngwr-charts-waterfall-chart.mjs +3 -3
- package/fesm2022/ngwr-checkbox.mjs +6 -6
- package/fesm2022/ngwr-clipboard.mjs +3 -3
- package/fesm2022/ngwr-collapse.mjs +9 -9
- package/fesm2022/ngwr-color-picker.mjs +6 -6
- package/fesm2022/ngwr-command-palette.mjs +3 -3
- package/fesm2022/ngwr-comment.mjs +7 -6
- package/fesm2022/ngwr-comment.mjs.map +1 -1
- package/fesm2022/ngwr-compare.mjs +3 -3
- package/fesm2022/ngwr-context-menu.mjs +12 -12
- package/fesm2022/ngwr-cookie.mjs +3 -3
- package/fesm2022/ngwr-copy-value.mjs +3 -3
- package/fesm2022/ngwr-counter.mjs +6 -6
- package/fesm2022/ngwr-date-picker-testing.mjs +35 -0
- package/fesm2022/ngwr-date-picker-testing.mjs.map +1 -1
- package/fesm2022/ngwr-date-picker.mjs +103 -53
- package/fesm2022/ngwr-date-picker.mjs.map +1 -1
- package/fesm2022/ngwr-date-stamp.mjs +3 -3
- package/fesm2022/ngwr-date.mjs +40 -16
- package/fesm2022/ngwr-date.mjs.map +1 -1
- package/fesm2022/ngwr-density.mjs +6 -6
- package/fesm2022/ngwr-descriptions.mjs +6 -6
- package/fesm2022/ngwr-dialog.mjs +19 -18
- package/fesm2022/ngwr-dialog.mjs.map +1 -1
- package/fesm2022/ngwr-directives.mjs +181 -18
- package/fesm2022/ngwr-directives.mjs.map +1 -1
- package/fesm2022/ngwr-divider.mjs +3 -3
- package/fesm2022/ngwr-drawer.mjs +18 -18
- package/fesm2022/ngwr-dropdown-testing.mjs +5 -1
- package/fesm2022/ngwr-dropdown-testing.mjs.map +1 -1
- package/fesm2022/ngwr-dropdown.mjs +59 -16
- package/fesm2022/ngwr-dropdown.mjs.map +1 -1
- package/fesm2022/ngwr-editor.mjs +6 -5
- package/fesm2022/ngwr-editor.mjs.map +1 -1
- package/fesm2022/ngwr-empty.mjs +3 -3
- package/fesm2022/ngwr-event-calendar.mjs +7 -6
- package/fesm2022/ngwr-event-calendar.mjs.map +1 -1
- package/fesm2022/ngwr-file-upload-testing.mjs +5 -0
- package/fesm2022/ngwr-file-upload-testing.mjs.map +1 -1
- package/fesm2022/ngwr-file-upload.mjs +68 -13
- package/fesm2022/ngwr-file-upload.mjs.map +1 -1
- package/fesm2022/ngwr-form.mjs +18 -16
- package/fesm2022/ngwr-form.mjs.map +1 -1
- package/fesm2022/ngwr-graph-testing.mjs +30 -0
- package/fesm2022/ngwr-graph-testing.mjs.map +1 -1
- package/fesm2022/ngwr-graph.mjs +100 -11
- package/fesm2022/ngwr-graph.mjs.map +1 -1
- package/fesm2022/ngwr-hotkey.mjs +6 -6
- package/fesm2022/ngwr-i18n-ar.mjs +6 -2
- package/fesm2022/ngwr-i18n-ar.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-cs.mjs +6 -2
- package/fesm2022/ngwr-i18n-cs.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-de.mjs +6 -2
- package/fesm2022/ngwr-i18n-de.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-en.mjs +6 -2
- package/fesm2022/ngwr-i18n-en.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-es.mjs +6 -2
- package/fesm2022/ngwr-i18n-es.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-fr.mjs +6 -2
- package/fesm2022/ngwr-i18n-fr.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-he.mjs +6 -2
- package/fesm2022/ngwr-i18n-he.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-hi.mjs +6 -2
- package/fesm2022/ngwr-i18n-hi.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-id.mjs +6 -2
- package/fesm2022/ngwr-i18n-id.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-it.mjs +6 -2
- package/fesm2022/ngwr-i18n-it.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ja.mjs +6 -2
- package/fesm2022/ngwr-i18n-ja.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-kk.mjs +520 -0
- package/fesm2022/ngwr-i18n-kk.mjs.map +1 -0
- package/fesm2022/ngwr-i18n-ko.mjs +6 -2
- package/fesm2022/ngwr-i18n-ko.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-nl.mjs +6 -2
- package/fesm2022/ngwr-i18n-nl.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-pl.mjs +6 -2
- package/fesm2022/ngwr-i18n-pl.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-pt.mjs +6 -2
- package/fesm2022/ngwr-i18n-pt.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ru.mjs +6 -2
- package/fesm2022/ngwr-i18n-ru.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-sv.mjs +6 -2
- package/fesm2022/ngwr-i18n-sv.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-tr.mjs +6 -2
- package/fesm2022/ngwr-i18n-tr.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-uk.mjs +6 -2
- package/fesm2022/ngwr-i18n-uk.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-vi.mjs +6 -2
- package/fesm2022/ngwr-i18n-vi.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-zh-tw.mjs +6 -2
- package/fesm2022/ngwr-i18n-zh-tw.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-zh.mjs +6 -2
- package/fesm2022/ngwr-i18n-zh.mjs.map +1 -1
- package/fesm2022/ngwr-i18n.mjs +9 -9
- package/fesm2022/ngwr-icon.mjs +6 -6
- package/fesm2022/ngwr-image-cropper.mjs +8 -4
- package/fesm2022/ngwr-image-cropper.mjs.map +1 -1
- package/fesm2022/ngwr-input-number.mjs +3 -3
- package/fesm2022/ngwr-input-otp.mjs +3 -3
- package/fesm2022/ngwr-input.mjs +15 -15
- package/fesm2022/ngwr-keyboard.mjs +3 -3
- package/fesm2022/ngwr-knob.mjs +3 -3
- package/fesm2022/ngwr-layout.mjs +15 -15
- package/fesm2022/ngwr-lightbox.mjs +8 -8
- package/fesm2022/ngwr-lightbox.mjs.map +1 -1
- package/fesm2022/ngwr-list.mjs +8 -8
- package/fesm2022/ngwr-list.mjs.map +1 -1
- package/fesm2022/ngwr-load-state.mjs +16 -15
- package/fesm2022/ngwr-load-state.mjs.map +1 -1
- package/fesm2022/ngwr-loading-bar.mjs +6 -6
- package/fesm2022/ngwr-mention.mjs +6 -6
- package/fesm2022/ngwr-meta.mjs +6 -6
- package/fesm2022/ngwr-overlay.mjs +9 -9
- package/fesm2022/ngwr-page-header.mjs +3 -3
- package/fesm2022/ngwr-pagination-testing.mjs +3 -0
- package/fesm2022/ngwr-pagination-testing.mjs.map +1 -1
- package/fesm2022/ngwr-pagination.mjs +32 -5
- package/fesm2022/ngwr-pagination.mjs.map +1 -1
- package/fesm2022/ngwr-pipes.mjs +27 -27
- package/fesm2022/ngwr-platform.mjs +9 -9
- package/fesm2022/ngwr-popconfirm.mjs +7 -6
- package/fesm2022/ngwr-popconfirm.mjs.map +1 -1
- package/fesm2022/ngwr-popover.mjs +126 -16
- package/fesm2022/ngwr-popover.mjs.map +1 -1
- package/fesm2022/ngwr-progress.mjs +75 -10
- package/fesm2022/ngwr-progress.mjs.map +1 -1
- package/fesm2022/ngwr-pull-to-refresh.mjs +3 -3
- package/fesm2022/ngwr-qr.mjs +3 -3
- package/fesm2022/ngwr-radio.mjs +6 -6
- package/fesm2022/ngwr-rating.mjs +3 -3
- package/fesm2022/ngwr-resizable.mjs +3 -3
- package/fesm2022/ngwr-result.mjs +12 -12
- package/fesm2022/ngwr-schema-form.mjs +10 -6
- package/fesm2022/ngwr-schema-form.mjs.map +1 -1
- package/fesm2022/ngwr-scroll.mjs +255 -7
- package/fesm2022/ngwr-scroll.mjs.map +1 -1
- package/fesm2022/ngwr-segmented.mjs +3 -3
- package/fesm2022/ngwr-select.mjs +28 -19
- package/fesm2022/ngwr-select.mjs.map +1 -1
- package/fesm2022/ngwr-sidebar-testing.mjs +17 -1
- package/fesm2022/ngwr-sidebar-testing.mjs.map +1 -1
- package/fesm2022/ngwr-sidebar.mjs +66 -11
- package/fesm2022/ngwr-sidebar.mjs.map +1 -1
- package/fesm2022/ngwr-skeleton.mjs +3 -3
- package/fesm2022/ngwr-slider.mjs +3 -3
- package/fesm2022/ngwr-sortable-list.mjs +11 -11
- package/fesm2022/ngwr-sortable-list.mjs.map +1 -1
- package/fesm2022/ngwr-speed-dial.mjs +3 -3
- package/fesm2022/ngwr-spinner.mjs +3 -3
- package/fesm2022/ngwr-splitter.mjs +3 -3
- package/fesm2022/ngwr-statistic.mjs +9 -9
- package/fesm2022/ngwr-stepper.mjs +6 -6
- package/fesm2022/ngwr-storage.mjs +3 -3
- package/fesm2022/ngwr-switch.mjs +3 -3
- package/fesm2022/ngwr-table-router.mjs +89 -0
- package/fesm2022/ngwr-table-router.mjs.map +1 -0
- package/fesm2022/ngwr-table-testing.mjs +5 -0
- package/fesm2022/ngwr-table-testing.mjs.map +1 -1
- package/fesm2022/ngwr-table.mjs +282 -43
- package/fesm2022/ngwr-table.mjs.map +1 -1
- package/fesm2022/ngwr-tabs-router.mjs +11 -7
- package/fesm2022/ngwr-tabs-router.mjs.map +1 -1
- package/fesm2022/ngwr-tabs-testing.mjs +8 -1
- package/fesm2022/ngwr-tabs-testing.mjs.map +1 -1
- package/fesm2022/ngwr-tabs.mjs +60 -10
- package/fesm2022/ngwr-tabs.mjs.map +1 -1
- package/fesm2022/ngwr-textarea.mjs +3 -3
- package/fesm2022/ngwr-theme.mjs +3 -3
- package/fesm2022/ngwr-timeline.mjs +6 -6
- package/fesm2022/ngwr-toast.mjs +15 -15
- package/fesm2022/ngwr-toolbar.mjs +3 -3
- package/fesm2022/ngwr-tour.mjs +7 -6
- package/fesm2022/ngwr-tour.mjs.map +1 -1
- package/fesm2022/ngwr-transfer.mjs +4 -3
- package/fesm2022/ngwr-transfer.mjs.map +1 -1
- package/fesm2022/ngwr-tree.mjs +3 -3
- package/fesm2022/ngwr-typography.mjs +3 -3
- package/fesm2022/ngwr-utils-router.mjs +3 -3
- package/fesm2022/ngwr-utils.mjs +30 -2
- package/fesm2022/ngwr-utils.mjs.map +1 -1
- package/fesm2022/ngwr-version.mjs +1 -1
- package/fesm2022/ngwr-version.mjs.map +1 -1
- package/fesm2022/ngwr-virtual-scroll.mjs +3 -3
- package/fesm2022/ngwr-window.mjs +18 -13
- package/fesm2022/ngwr-window.mjs.map +1 -1
- package/file-upload/styles/_index.scss +16 -0
- package/graph/styles/_index.scss +48 -0
- package/i18n/ar.json +4 -2
- package/i18n/cs.json +4 -2
- package/i18n/de.json +4 -2
- package/i18n/en.json +4 -2
- package/i18n/es.json +4 -2
- package/i18n/fr.json +4 -2
- package/i18n/he.json +4 -2
- package/i18n/hi.json +4 -2
- package/i18n/id.json +4 -2
- package/i18n/it.json +4 -2
- package/i18n/ja.json +4 -2
- package/i18n/kk.json +567 -0
- package/i18n/ko.json +4 -2
- package/i18n/nl.json +4 -2
- package/i18n/pl.json +4 -2
- package/i18n/pt.json +4 -2
- package/i18n/ru.json +4 -2
- package/i18n/sv.json +4 -2
- package/i18n/tr.json +4 -2
- package/i18n/uk.json +4 -2
- package/i18n/vi.json +4 -2
- package/i18n/zh-TW.json +4 -2
- package/i18n/zh.json +4 -2
- package/llms-full.txt +29 -18
- package/llms.txt +4 -1
- package/package.json +15 -7
- package/pagination/styles/_index.scss +6 -0
- package/popover/styles/_index.scss +4 -2
- package/progress/styles/_index.scss +64 -0
- package/radio/styles/_index.scss +4 -0
- package/schematics/use/symbol-map.json +5 -0
- package/sidebar/styles/_index.scss +58 -6
- package/skills/ngwr/SKILL.md +7 -6
- package/skills/ngwr/references/catalog.md +6 -4
- package/switch/styles/_index.scss +4 -0
- package/table/styles/_index.scss +128 -32
- package/tabs/styles/_index.scss +9 -0
- package/theme/styles/_focus.scss +3 -1
- package/tour/styles/_index.scss +3 -2
- package/types/ngwr-avatar.d.ts +39 -0
- package/types/ngwr-button.d.ts +12 -0
- package/types/ngwr-date-picker-testing.d.ts +22 -0
- package/types/ngwr-date-picker.d.ts +84 -17
- package/types/ngwr-date.d.ts +51 -0
- package/types/ngwr-directives.d.ts +45 -0
- package/types/ngwr-dropdown-testing.d.ts +8 -1
- package/types/ngwr-dropdown.d.ts +29 -0
- package/types/ngwr-file-upload-testing.d.ts +10 -0
- package/types/ngwr-file-upload.d.ts +55 -1
- package/types/ngwr-form.d.ts +3 -1
- package/types/ngwr-graph-testing.d.ts +28 -1
- package/types/ngwr-graph.d.ts +53 -3
- package/types/ngwr-i18n-kk.d.ts +3 -0
- package/types/ngwr-image-cropper.d.ts +6 -0
- package/types/ngwr-pagination-testing.d.ts +8 -0
- package/types/ngwr-pagination.d.ts +16 -0
- package/types/ngwr-popover.d.ts +39 -0
- package/types/ngwr-progress.d.ts +63 -1
- package/types/ngwr-scroll.d.ts +95 -0
- package/types/ngwr-select.d.ts +31 -12
- package/types/ngwr-sidebar-testing.d.ts +21 -7
- package/types/ngwr-sidebar.d.ts +66 -4
- package/types/ngwr-table-router.d.ts +49 -0
- package/types/ngwr-table-testing.d.ts +7 -0
- package/types/ngwr-table.d.ts +185 -6
- package/types/ngwr-tabs-router.d.ts +4 -5
- package/types/ngwr-tabs-testing.d.ts +5 -1
- package/types/ngwr-tabs.d.ts +34 -1
- package/types/ngwr-utils.d.ts +13 -0
- package/types/ngwr-version.d.ts +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import { Component, ViewEncapsulation, computed, input } from "@angular/core";
|
|
2
|
+
import { Component, DestroyRef, ElementRef, ViewEncapsulation, afterNextRender, afterRenderEffect, computed, inject, input, signal } from "@angular/core";
|
|
3
3
|
import { coerceBooleanProperty, coerceNumberProperty } from "@angular/cdk/coercion";
|
|
4
|
-
import { wrCheckStyles } from "ngwr/utils";
|
|
4
|
+
import { wrCheckStyles, wrRandomId } from "ngwr/utils";
|
|
5
5
|
import { useI18nText } from "ngwr/i18n";
|
|
6
6
|
/**
|
|
7
7
|
* @license
|
|
@@ -9,12 +9,34 @@ import { useI18nText } from "ngwr/i18n";
|
|
|
9
9
|
* Use of this source code is governed by an MIT-style license that can be
|
|
10
10
|
* found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
|
|
11
11
|
*/
|
|
12
|
+
const LABEL_GAP = 4;
|
|
12
13
|
var WrProgress = class WrProgress {
|
|
14
|
+
host = inject(ElementRef).nativeElement;
|
|
13
15
|
constructor() {
|
|
14
16
|
if (typeof ngDevMode === "undefined" || ngDevMode) wrCheckStyles("progress");
|
|
17
|
+
let observer = null;
|
|
18
|
+
const watch = () => {
|
|
19
|
+
if (!observer) return;
|
|
20
|
+
observer.disconnect();
|
|
21
|
+
observer.observe(this.host);
|
|
22
|
+
this.host.querySelectorAll(".wr-progress__mark-text").forEach((text) => observer?.observe(text));
|
|
23
|
+
};
|
|
24
|
+
afterRenderEffect({ read: () => {
|
|
25
|
+
this.labelledMarks();
|
|
26
|
+
this.fitLabels();
|
|
27
|
+
watch();
|
|
28
|
+
} });
|
|
29
|
+
const destroyRef = inject(DestroyRef);
|
|
30
|
+
afterNextRender(() => {
|
|
31
|
+
if (typeof ResizeObserver === "undefined") return;
|
|
32
|
+
observer = new ResizeObserver(() => this.fitLabels());
|
|
33
|
+
watch();
|
|
34
|
+
destroyRef.onDestroy(() => observer?.disconnect());
|
|
35
|
+
});
|
|
15
36
|
}
|
|
16
37
|
ariaLabel = input(null, ...ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []);
|
|
17
38
|
resolvedAriaLabel = useI18nText(this.ariaLabel, "progress.label", "Progress");
|
|
39
|
+
markId = wrRandomId("wr-progress-mark");
|
|
18
40
|
color = input("primary", ...ngDevMode ? [{ debugName: "color" }] : /* istanbul ignore next */ []);
|
|
19
41
|
size = input("md", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
|
|
20
42
|
value = input(0, {
|
|
@@ -25,25 +47,52 @@ var WrProgress = class WrProgress {
|
|
|
25
47
|
...ngDevMode ? { debugName: "indeterminate" } : /* istanbul ignore next */ {},
|
|
26
48
|
transform: coerceBooleanProperty
|
|
27
49
|
});
|
|
50
|
+
marks = input([], ...ngDevMode ? [{ debugName: "marks" }] : /* istanbul ignore next */ []);
|
|
28
51
|
clamped = computed(() => Math.max(0, Math.min(100, this.value())), ...ngDevMode ? [{ debugName: "clamped" }] : /* istanbul ignore next */ []);
|
|
52
|
+
drawnMarks = computed(() => this.indeterminate() ? [] : this.marks().filter((mark) => mark.value >= 0 && mark.value <= 100).sort((a, b) => a.value - b.value).map((mark) => ({
|
|
53
|
+
...mark,
|
|
54
|
+
columns: `${mark.value}fr auto ${100 - mark.value}fr`
|
|
55
|
+
})), ...ngDevMode ? [{ debugName: "drawnMarks" }] : /* istanbul ignore next */ []);
|
|
56
|
+
labelledMarks = computed(() => this.drawnMarks().filter((mark) => !!mark.label), ...ngDevMode ? [{ debugName: "labelledMarks" }] : /* istanbul ignore next */ []);
|
|
57
|
+
markLabelIds = computed(() => {
|
|
58
|
+
const count = this.labelledMarks().length;
|
|
59
|
+
return count ? Array.from({ length: count }, (_, i) => `${this.markId}-${i}`).join(" ") : null;
|
|
60
|
+
}, ...ngDevMode ? [{ debugName: "markLabelIds" }] : /* istanbul ignore next */ []);
|
|
61
|
+
crowded = signal(/* @__PURE__ */ new Set(), ...ngDevMode ? [{ debugName: "crowded" }] : /* istanbul ignore next */ []);
|
|
29
62
|
classes = computed(() => {
|
|
30
63
|
const parts = [`wr-progress--${this.color()}`];
|
|
31
64
|
const size = this.size();
|
|
32
65
|
if (size !== "md") parts.push(`wr-progress--${size}`);
|
|
33
66
|
if (this.indeterminate()) parts.push("wr-progress--indeterminate");
|
|
67
|
+
if (this.drawnMarks().length) parts.push("wr-progress--marks");
|
|
68
|
+
if (this.labelledMarks().length) parts.push("wr-progress--mark-labels");
|
|
34
69
|
return parts.join(" ");
|
|
35
70
|
}, ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
|
|
71
|
+
fitLabels() {
|
|
72
|
+
const hidden = /* @__PURE__ */ new Set();
|
|
73
|
+
const track = this.host.getBoundingClientRect().width;
|
|
74
|
+
let last = null;
|
|
75
|
+
this.host.querySelectorAll(".wr-progress__mark-text").forEach((text, index) => {
|
|
76
|
+
const rect = text.getBoundingClientRect();
|
|
77
|
+
if (!rect.width) return;
|
|
78
|
+
if (track && rect.width > track) hidden.add(index);
|
|
79
|
+
else if (last && rect.left < last.right + LABEL_GAP && last.left < rect.right + LABEL_GAP) hidden.add(index);
|
|
80
|
+
else last = rect;
|
|
81
|
+
});
|
|
82
|
+
const current = this.crowded();
|
|
83
|
+
if (hidden.size !== current.size || [...hidden].some((index) => !current.has(index))) this.crowded.set(hidden);
|
|
84
|
+
}
|
|
36
85
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
37
86
|
minVersion: "12.0.0",
|
|
38
|
-
version: "22.
|
|
87
|
+
version: "22.3.0",
|
|
39
88
|
ngImport: i0,
|
|
40
89
|
type: WrProgress,
|
|
41
90
|
deps: [],
|
|
42
91
|
target: i0.ɵɵFactoryTarget.Component
|
|
43
92
|
});
|
|
44
93
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
45
|
-
minVersion: "17.
|
|
46
|
-
version: "22.
|
|
94
|
+
minVersion: "17.0.0",
|
|
95
|
+
version: "22.3.0",
|
|
47
96
|
type: WrProgress,
|
|
48
97
|
isStandalone: true,
|
|
49
98
|
selector: "wr-progress",
|
|
@@ -82,6 +131,13 @@ var WrProgress = class WrProgress {
|
|
|
82
131
|
isSignal: true,
|
|
83
132
|
isRequired: false,
|
|
84
133
|
transformFunction: null
|
|
134
|
+
},
|
|
135
|
+
marks: {
|
|
136
|
+
classPropertyName: "marks",
|
|
137
|
+
publicName: "marks",
|
|
138
|
+
isSignal: true,
|
|
139
|
+
isRequired: false,
|
|
140
|
+
transformFunction: null
|
|
85
141
|
}
|
|
86
142
|
},
|
|
87
143
|
host: {
|
|
@@ -93,26 +149,25 @@ var WrProgress = class WrProgress {
|
|
|
93
149
|
properties: {
|
|
94
150
|
"attr.aria-valuenow": "indeterminate() ? null : clamped()",
|
|
95
151
|
"attr.aria-label": "resolvedAriaLabel()",
|
|
152
|
+
"attr.aria-describedby": "markLabelIds()",
|
|
96
153
|
"class": "classes()"
|
|
97
154
|
},
|
|
98
155
|
classAttribute: "wr-progress"
|
|
99
156
|
},
|
|
100
157
|
ngImport: i0,
|
|
101
|
-
template:
|
|
102
|
-
isInline: true,
|
|
158
|
+
template: "<div class=\"wr-progress__bar\" [style.width.%]=\"indeterminate() ? null : clamped()\"></div>\n@for (mark of drawnMarks(); track $index) {\n <span class=\"wr-progress__mark\" aria-hidden=\"true\" [style.inset-inline-start.%]=\"mark.value\"></span>\n}\n@for (mark of labelledMarks(); track $index) {\n <span\n class=\"wr-progress__mark-label\"\n [id]=\"`${markId}-${$index}`\"\n [class.wr-progress__mark-label--hidden]=\"crowded().has($index)\"\n [style.grid-template-columns]=\"mark.columns\"\n ><span class=\"wr-progress__mark-text\">{{ mark.label }}</span></span\n >\n}\n",
|
|
103
159
|
encapsulation: i0.ViewEncapsulation.None
|
|
104
160
|
});
|
|
105
161
|
};
|
|
106
162
|
i0.ɵɵngDeclareClassMetadata({
|
|
107
163
|
minVersion: "12.0.0",
|
|
108
|
-
version: "22.
|
|
164
|
+
version: "22.3.0",
|
|
109
165
|
ngImport: i0,
|
|
110
166
|
type: WrProgress,
|
|
111
167
|
decorators: [{
|
|
112
168
|
type: Component,
|
|
113
169
|
args: [{
|
|
114
170
|
selector: "wr-progress",
|
|
115
|
-
template: `<div class="wr-progress__bar" [style.width.%]="indeterminate() ? null : clamped()"></div>`,
|
|
116
171
|
encapsulation: ViewEncapsulation.None,
|
|
117
172
|
host: {
|
|
118
173
|
role: "progressbar",
|
|
@@ -120,9 +175,11 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
120
175
|
"aria-valuemax": "100",
|
|
121
176
|
"[attr.aria-valuenow]": "indeterminate() ? null : clamped()",
|
|
122
177
|
"[attr.aria-label]": "resolvedAriaLabel()",
|
|
178
|
+
"[attr.aria-describedby]": "markLabelIds()",
|
|
123
179
|
class: "wr-progress",
|
|
124
180
|
"[class]": "classes()"
|
|
125
|
-
}
|
|
181
|
+
},
|
|
182
|
+
template: "<div class=\"wr-progress__bar\" [style.width.%]=\"indeterminate() ? null : clamped()\"></div>\n@for (mark of drawnMarks(); track $index) {\n <span class=\"wr-progress__mark\" aria-hidden=\"true\" [style.inset-inline-start.%]=\"mark.value\"></span>\n}\n@for (mark of labelledMarks(); track $index) {\n <span\n class=\"wr-progress__mark-label\"\n [id]=\"`${markId}-${$index}`\"\n [class.wr-progress__mark-label--hidden]=\"crowded().has($index)\"\n [style.grid-template-columns]=\"mark.columns\"\n ><span class=\"wr-progress__mark-text\">{{ mark.label }}</span></span\n >\n}\n"
|
|
126
183
|
}]
|
|
127
184
|
}],
|
|
128
185
|
ctorParameters: () => [],
|
|
@@ -166,6 +223,14 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
166
223
|
alias: "indeterminate",
|
|
167
224
|
required: false
|
|
168
225
|
}]
|
|
226
|
+
}],
|
|
227
|
+
marks: [{
|
|
228
|
+
type: i0.Input,
|
|
229
|
+
args: [{
|
|
230
|
+
isSignal: true,
|
|
231
|
+
alias: "marks",
|
|
232
|
+
required: false
|
|
233
|
+
}]
|
|
169
234
|
}]
|
|
170
235
|
}
|
|
171
236
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ngwr-progress.mjs","names":[],"sources":["../../../projects/lib/progress/progress.ts"],"sourcesContent":["/**\n * @license\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE\n */\n\nimport { coerceBooleanProperty, coerceNumberProperty } from '@angular/cdk/coercion';\nimport { Component, ViewEncapsulation, computed, input } from '@angular/core';\n\nimport { useI18nText } from 'ngwr/i18n';\nimport type { WrColor } from 'ngwr/theme';\nimport { wrCheckStyles } from 'ngwr/utils';\n\n/** Size of a `<wr-progress>`. */\nexport type WrProgressSize = 'sm' | 'md' | 'lg';\n\n/**\n * Horizontal progress bar.\n *\n * @example\n * ```html\n * <wr-progress [value]=\"42\" />\n * <wr-progress color=\"success\" [value]=\"80\" />\n * <wr-progress indeterminate />\n * ```\n *\n * @see https://ngwr.dev/reference/components/progress\n */\n@Component({\n selector: 'wr-progress',\n template: `<div class=\"wr-progress__bar\" [style.width.%]=\"indeterminate() ? null : clamped()\"></div>`,\n encapsulation: ViewEncapsulation.None,\n host: {\n role: 'progressbar',\n 'aria-valuemin': '0',\n 'aria-valuemax': '100',\n '[attr.aria-valuenow]': 'indeterminate() ? null : clamped()',\n '[attr.aria-label]': 'resolvedAriaLabel()',\n class: 'wr-progress',\n '[class]': 'classes()',\n },\n})\nexport class WrProgress {\n constructor() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) wrCheckStyles('progress');\n }\n\n /** Accessible name — `role=\"progressbar\"` needs one. Falls back to `progress.label`. */\n readonly ariaLabel = input<string | null>(null);\n\n protected readonly resolvedAriaLabel = useI18nText(this.ariaLabel, 'progress.label', 'Progress');\n\n /**\n * Bar color.\n *\n * @default 'primary'\n */\n readonly color = input<WrColor>('primary');\n\n /**\n * Bar thickness: 4px, 8px or 12px, through `--wr-progress-height`.\n *\n * @default 'md'\n */\n readonly size = input<WrProgressSize>('md');\n\n /**\n * Progress value, clamped to `[0, 100]`.\n *\n * @default 0\n */\n readonly value = input(0, { transform: (v: unknown): number => coerceNumberProperty(v, 0) });\n\n /**\n * Show that work is running without saying how far it has got: the bar sweeps,\n * `value` is ignored and `aria-valuenow` is left off, which is how a\n * progressbar says its value is unknown.\n *\n * @default false\n */\n readonly indeterminate = input(false, { transform: coerceBooleanProperty });\n\n protected readonly clamped = computed(() => Math.max(0, Math.min(100, this.value())));\n\n protected readonly classes = computed(() => {\n const parts = [`wr-progress--${this.color()}`];\n const size = this.size();\n if (size !== 'md') parts.push(`wr-progress--${size}`);\n if (this.indeterminate()) parts.push('wr-progress--indeterminate');\n return parts.join(' ');\n });\n}\n"],"mappings":";;;;;;;;;;;AA2CA,IA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,GAAA,qBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,MAAA;EAAU,cAAA;EAAA,UAAA;EAAA,QAAA;GAAA,WAAA;IAAA,mBAAA;IAAA,YAAA;IAAA,UAAA;IAAA,YAAA;IAAA,mBAAA;GAAA;GAAA,OAAA;IAAA,mBAAA;IAAA,YAAA;IAAA,UAAA;IAAA,YAAA;IAAA,mBAAA;GAAA;GAAA,MAAA;IAAA,mBAAA;IAAA,YAAA;IAAA,UAAA;IAAA,YAAA;IAAA,mBAAA;GAAA;GAAA,OAAA;IAAA,mBAAA;IAAA,YAAA;IAAA,UAAA;IAAA,YAAA;IAAA,mBAAA;GAAA;GAAA,eAAA;IAAA,mBAAA;IAAA,YAAA;IAAA,UAAA;IAAA,YAAA;IAAA,mBAAA;GAAA;EAAA;EAAA,MAAA;GAAA,YAAA;IAAA,QAAA;IAAA,iBAAA;IAAA,iBAAA;GAAA;GAAA,YAAA;IAAA,sBAAA;IAAA,mBAAA;IAAA,SAAA;GAAA;GAAA,gBAAA;EAAA;EAAA,UAAA;EAAA,UAZX;EAA2F,UAAA;EAAA,eAAA,GAAA,kBAAA;CAAA,CAAA;;AAY1F,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAU,YAAA,CAAA;EAdtB,MAAA;EAAU,MAAA,CAAA;GACT,UAAU;GACV,UAAU;GACV,eAAe,kBAAkB;GACjC,MAAM;IACJ,MAAM;IACN,iBAAiB;IACjB,iBAAiB;IACjB,wBAAwB;IACxB,qBAAqB;IACrB,OAAO;IACP,WAAW;GACZ;EACF,CAAA"}
|
|
1
|
+
{"version":3,"file":"ngwr-progress.mjs","names":[],"sources":["../../../projects/lib/progress/progress.ts","../../../projects/lib/progress/progress.html"],"sourcesContent":["/**\n * @license\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE\n */\n\nimport { coerceBooleanProperty, coerceNumberProperty } from '@angular/cdk/coercion';\nimport {\n Component,\n DestroyRef,\n ElementRef,\n ViewEncapsulation,\n afterNextRender,\n afterRenderEffect,\n computed,\n inject,\n input,\n signal,\n} from '@angular/core';\n\nimport { useI18nText } from 'ngwr/i18n';\nimport type { WrColor } from 'ngwr/theme';\nimport { wrCheckStyles, wrRandomId } from 'ngwr/utils';\n\nimport type { WrProgressMark } from './types';\n\n/** Least clear space between two mark labels, in pixels, before the later one is hidden. */\nconst LABEL_GAP = 4;\n\n/** Size of a `<wr-progress>`. */\nexport type WrProgressSize = 'sm' | 'md' | 'lg';\n\n/**\n * Horizontal progress bar.\n *\n * @example\n * ```html\n * <wr-progress [value]=\"42\" />\n * <wr-progress color=\"success\" [value]=\"80\" />\n * <wr-progress indeterminate />\n * <wr-progress size=\"sm\" [value]=\"40\" [marks]=\"[{ value: 25, label: 'Q1' }, { value: 50, label: 'Q2' }]\" />\n * ```\n *\n * @see https://ngwr.dev/reference/components/progress\n */\n@Component({\n selector: 'wr-progress',\n templateUrl: './progress.html',\n encapsulation: ViewEncapsulation.None,\n host: {\n role: 'progressbar',\n 'aria-valuemin': '0',\n 'aria-valuemax': '100',\n '[attr.aria-valuenow]': 'indeterminate() ? null : clamped()',\n '[attr.aria-label]': 'resolvedAriaLabel()',\n '[attr.aria-describedby]': 'markLabelIds()',\n class: 'wr-progress',\n '[class]': 'classes()',\n },\n})\nexport class WrProgress {\n private readonly host = inject<ElementRef<HTMLElement>>(ElementRef).nativeElement;\n\n constructor() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) wrCheckStyles('progress');\n\n // The host and every label are watched: a label widens without the host\n // moving when a web font swaps in after the first fit.\n let observer: ResizeObserver | null = null;\n const watch = (): void => {\n if (!observer) return;\n observer.disconnect();\n observer.observe(this.host);\n this.host.querySelectorAll('.wr-progress__mark-text').forEach(text => observer?.observe(text));\n };\n\n afterRenderEffect({\n read: () => {\n this.labelledMarks();\n this.fitLabels();\n watch();\n },\n });\n\n const destroyRef = inject(DestroyRef);\n afterNextRender(() => {\n if (typeof ResizeObserver === 'undefined') return;\n observer = new ResizeObserver(() => this.fitLabels());\n watch();\n destroyRef.onDestroy(() => observer?.disconnect());\n });\n }\n\n /** Accessible name — `role=\"progressbar\"` needs one. Falls back to `progress.label`. */\n readonly ariaLabel = input<string | null>(null);\n\n protected readonly resolvedAriaLabel = useI18nText(this.ariaLabel, 'progress.label', 'Progress');\n\n /** Prefix of the mark label ids the host's `aria-describedby` lists. */\n protected readonly markId = wrRandomId('wr-progress-mark');\n\n /**\n * Bar color.\n *\n * @default 'primary'\n */\n readonly color = input<WrColor>('primary');\n\n /**\n * Bar thickness: 4px, 8px or 12px, through `--wr-progress-height`.\n *\n * @default 'md'\n */\n readonly size = input<WrProgressSize>('md');\n\n /**\n * Progress value, clamped to `[0, 100]`.\n *\n * @default 0\n */\n readonly value = input(0, { transform: (v: unknown): number => coerceNumberProperty(v, 0) });\n\n /**\n * Show that work is running without saying how far it has got: the bar sweeps,\n * `value` is ignored and `aria-valuenow` is left off, which is how a\n * progressbar says its value is unknown.\n *\n * @default false\n */\n readonly indeterminate = input(false, { transform: coerceBooleanProperty });\n\n /**\n * Points drawn on the track: a tick at each `value`, on the 0 to 100 scale of\n * `value`, and its `label` under the bar when it has one. A mark outside the\n * range, or with no number, is not drawn. Positions mirror under `dir=\"rtl\"`.\n *\n * A label stays inside the bar: centred on its tick mid-track, leaning inward\n * towards the ends. One that would touch the label before it is hidden and\n * its tick kept, so the earlier mark wins.\n *\n * Marks do not change the value the progressbar announces. The ticks are\n * hidden from assistive tech; the labels are its description\n * (`aria-describedby`), because ARIA treats the content of a progressbar as\n * presentational and would not read them otherwise.\n * `indeterminate` draws no marks: it has no scale to place them on.\n *\n * @example\n * ```html\n * <wr-progress [value]=\"40\" [marks]=\"[{ value: 25, label: '1 Mar' }, { value: 75, label: '1 Sep' }]\" />\n * ```\n *\n * @default []\n */\n readonly marks = input<readonly WrProgressMark[]>([]);\n\n protected readonly clamped = computed(() => Math.max(0, Math.min(100, this.value())));\n\n /** The marks inside the range, in value order: none while the value is unknown. */\n protected readonly drawnMarks = computed(() =>\n this.indeterminate()\n ? []\n : this.marks()\n .filter(mark => mark.value >= 0 && mark.value <= 100)\n .sort((a, b) => a.value - b.value)\n // The label's row: the free space beside the text, shared in the mark's own ratio.\n .map(mark => ({ ...mark, columns: `${mark.value}fr auto ${100 - mark.value}fr` }))\n );\n protected readonly labelledMarks = computed(() => this.drawnMarks().filter(mark => !!mark.label));\n\n /** The label ids, in order, or nothing while no mark has a label. */\n protected readonly markLabelIds = computed(() => {\n const count = this.labelledMarks().length;\n return count ? Array.from({ length: count }, (_, i) => `${this.markId}-${i}`).join(' ') : null;\n });\n\n /** Indexes into `labelledMarks` of the labels hidden for touching the one before. */\n protected readonly crowded = signal<ReadonlySet<number>>(new Set());\n\n protected readonly classes = computed(() => {\n const parts = [`wr-progress--${this.color()}`];\n const size = this.size();\n if (size !== 'md') parts.push(`wr-progress--${size}`);\n if (this.indeterminate()) parts.push('wr-progress--indeterminate');\n if (this.drawnMarks().length) parts.push('wr-progress--marks');\n if (this.labelledMarks().length) parts.push('wr-progress--mark-labels');\n return parts.join(' ');\n });\n\n /** Hide each label that would touch the last one still shown. Measured, so it follows the bar's width. */\n private fitLabels(): void {\n const hidden = new Set<number>();\n const track = this.host.getBoundingClientRect().width;\n let last: DOMRect | null = null;\n this.host.querySelectorAll('.wr-progress__mark-text').forEach((text, index) => {\n const rect = text.getBoundingClientRect();\n // Not laid out (a hidden pane, a detached host): nothing to compare.\n if (!rect.width) return;\n // Wider than the bar it would hang out of: hidden, its tick kept.\n if (track && rect.width > track) hidden.add(index);\n else if (last && rect.left < last.right + LABEL_GAP && last.left < rect.right + LABEL_GAP) hidden.add(index);\n else last = rect;\n });\n\n const current = this.crowded();\n if (hidden.size !== current.size || [...hidden].some(index => !current.has(index))) this.crowded.set(hidden);\n }\n}\n","<div class=\"wr-progress__bar\" [style.width.%]=\"indeterminate() ? null : clamped()\"></div>\n@for (mark of drawnMarks(); track $index) {\n <span class=\"wr-progress__mark\" aria-hidden=\"true\" [style.inset-inline-start.%]=\"mark.value\"></span>\n}\n@for (mark of labelledMarks(); track $index) {\n <span\n class=\"wr-progress__mark-label\"\n [id]=\"`${markId}-${$index}`\"\n [class.wr-progress__mark-label--hidden]=\"crowded().has($index)\"\n [style.grid-template-columns]=\"mark.columns\"\n ><span class=\"wr-progress__mark-text\">{{ mark.label }}</span></span\n >\n}\n"],"mappings":";;;;;;;;;;;AA4BA,MAAM,YAAY;AAiClB,IAAa,aAAb,MAAa,WAAU;CACJ,OAAO,OAAgC,UAAU,CAAC,CAAC;CAEpE,cAAA;EACE,IAAI,OAAO,cAAc,eAAe,WAAW,cAAc,UAAU;EAI3E,IAAI,WAAkC;EACtC,MAAM,cAAmB;GACvB,IAAI,CAAC,UAAU;GACf,SAAS,WAAU;GACnB,SAAS,QAAQ,KAAK,IAAI;GAC1B,KAAK,KAAK,iBAAiB,yBAAyB,CAAC,CAAC,SAAQ,SAAQ,UAAU,QAAQ,IAAI,CAAC;EAC/F;EAEA,kBAAkB,EAChB,YAAW;GACT,KAAK,cAAa;GAClB,KAAK,UAAS;GACd,MAAK;EACP,EACD,CAAA;EAED,MAAM,aAAa,OAAO,UAAU;EACpC,sBAAqB;GACnB,IAAI,OAAO,mBAAmB,aAAa;GAC3C,WAAW,IAAI,qBAAqB,KAAK,UAAS,CAAE;GACpD,MAAK;GACL,WAAW,gBAAgB,UAAU,WAAU,CAAE;EACnD,CAAC;CACH;CAGS,YAAY,MAAqB,MAAK,GAAA,YAAA,CAAA,EAAA,WAAA,YAAA,CAAA,+BAAA,CAAA,CAAA;CAE5B,oBAAoB,YAAY,KAAK,WAAW,kBAAkB,UAAU;CAG5E,SAAS,WAAW,kBAAkB;CAOhD,QAAQ,MAAe,WAAU,GAAA,YAAA,CAAA,EAAA,WAAA,QAAA,CAAA,+BAAA,CAAA,CAAA;CAOjC,OAAO,MAAsB,MAAK,GAAA,YAAA,CAAA,EAAA,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ToRefresh = class WrPullToRefresh {
|
|
|
85
85
|
}
|
|
86
86
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
87
87
|
minVersion: "12.0.0",
|
|
88
|
-
version: "22.
|
|
88
|
+
version: "22.3.0",
|
|
89
89
|
ngImport: i0,
|
|
90
90
|
type: WrPullToRefresh,
|
|
91
91
|
deps: [],
|
|
@@ -93,7 +93,7 @@ var WrPullToRefresh = class WrPullToRefresh {
|
|
|
93
93
|
});
|
|
94
94
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
95
95
|
minVersion: "17.0.0",
|
|
96
|
-
version: "22.
|
|
96
|
+
version: "22.3.0",
|
|
97
97
|
type: WrPullToRefresh,
|
|
98
98
|
isStandalone: true,
|
|
99
99
|
selector: "wr-pull-to-refresh",
|
|
@@ -144,7 +144,7 @@ var WrPullToRefresh = class WrPullToRefresh {
|
|
|
144
144
|
};
|
|
145
145
|
i0.ɵɵngDeclareClassMetadata({
|
|
146
146
|
minVersion: "12.0.0",
|
|
147
|
-
version: "22.
|
|
147
|
+
version: "22.3.0",
|
|
148
148
|
ngImport: i0,
|
|
149
149
|
type: WrPullToRefresh,
|
|
150
150
|
decorators: [{
|
package/fesm2022/ngwr-qr.mjs
CHANGED
|
@@ -1016,7 +1016,7 @@ var WrQr = class WrQr {
|
|
|
1016
1016
|
}
|
|
1017
1017
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1018
1018
|
minVersion: "12.0.0",
|
|
1019
|
-
version: "22.
|
|
1019
|
+
version: "22.3.0",
|
|
1020
1020
|
ngImport: i0,
|
|
1021
1021
|
type: WrQr,
|
|
1022
1022
|
deps: [],
|
|
@@ -1024,7 +1024,7 @@ var WrQr = class WrQr {
|
|
|
1024
1024
|
});
|
|
1025
1025
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
1026
1026
|
minVersion: "17.2.0",
|
|
1027
|
-
version: "22.
|
|
1027
|
+
version: "22.3.0",
|
|
1028
1028
|
type: WrQr,
|
|
1029
1029
|
isStandalone: true,
|
|
1030
1030
|
selector: "wr-qr",
|
|
@@ -1111,7 +1111,7 @@ var WrQr = class WrQr {
|
|
|
1111
1111
|
};
|
|
1112
1112
|
i0.ɵɵngDeclareClassMetadata({
|
|
1113
1113
|
minVersion: "12.0.0",
|
|
1114
|
-
version: "22.
|
|
1114
|
+
version: "22.3.0",
|
|
1115
1115
|
ngImport: i0,
|
|
1116
1116
|
type: WrQr,
|
|
1117
1117
|
decorators: [{
|
package/fesm2022/ngwr-radio.mjs
CHANGED
|
@@ -57,7 +57,7 @@ var WrRadio = class WrRadio {
|
|
|
57
57
|
}
|
|
58
58
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
59
59
|
minVersion: "12.0.0",
|
|
60
|
-
version: "22.
|
|
60
|
+
version: "22.3.0",
|
|
61
61
|
ngImport: i0,
|
|
62
62
|
type: WrRadio,
|
|
63
63
|
deps: [],
|
|
@@ -65,7 +65,7 @@ var WrRadio = class WrRadio {
|
|
|
65
65
|
});
|
|
66
66
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
67
67
|
minVersion: "17.0.0",
|
|
68
|
-
version: "22.
|
|
68
|
+
version: "22.3.0",
|
|
69
69
|
type: WrRadio,
|
|
70
70
|
isStandalone: true,
|
|
71
71
|
selector: "wr-radio",
|
|
@@ -126,7 +126,7 @@ var WrRadio = class WrRadio {
|
|
|
126
126
|
};
|
|
127
127
|
i0.ɵɵngDeclareClassMetadata({
|
|
128
128
|
minVersion: "12.0.0",
|
|
129
|
-
version: "22.
|
|
129
|
+
version: "22.3.0",
|
|
130
130
|
ngImport: i0,
|
|
131
131
|
type: WrRadio,
|
|
132
132
|
decorators: [{
|
|
@@ -234,7 +234,7 @@ var WrRadioGroup = class WrRadioGroup {
|
|
|
234
234
|
}
|
|
235
235
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
236
236
|
minVersion: "12.0.0",
|
|
237
|
-
version: "22.
|
|
237
|
+
version: "22.3.0",
|
|
238
238
|
ngImport: i0,
|
|
239
239
|
type: WrRadioGroup,
|
|
240
240
|
deps: [],
|
|
@@ -242,7 +242,7 @@ var WrRadioGroup = class WrRadioGroup {
|
|
|
242
242
|
});
|
|
243
243
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
244
244
|
minVersion: "17.0.0",
|
|
245
|
-
version: "22.
|
|
245
|
+
version: "22.3.0",
|
|
246
246
|
type: WrRadioGroup,
|
|
247
247
|
isStandalone: true,
|
|
248
248
|
selector: "wr-radio-group",
|
|
@@ -335,7 +335,7 @@ var WrRadioGroup = class WrRadioGroup {
|
|
|
335
335
|
};
|
|
336
336
|
i0.ɵɵngDeclareClassMetadata({
|
|
337
337
|
minVersion: "12.0.0",
|
|
338
|
-
version: "22.
|
|
338
|
+
version: "22.3.0",
|
|
339
339
|
ngImport: i0,
|
|
340
340
|
type: WrRadioGroup,
|
|
341
341
|
decorators: [{
|
package/fesm2022/ngwr-rating.mjs
CHANGED
|
@@ -132,7 +132,7 @@ var WrRating = class WrRating {
|
|
|
132
132
|
}
|
|
133
133
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
134
134
|
minVersion: "12.0.0",
|
|
135
|
-
version: "22.
|
|
135
|
+
version: "22.3.0",
|
|
136
136
|
ngImport: i0,
|
|
137
137
|
type: WrRating,
|
|
138
138
|
deps: [],
|
|
@@ -140,7 +140,7 @@ var WrRating = class WrRating {
|
|
|
140
140
|
});
|
|
141
141
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
142
142
|
minVersion: "17.0.0",
|
|
143
|
-
version: "22.
|
|
143
|
+
version: "22.3.0",
|
|
144
144
|
type: WrRating,
|
|
145
145
|
isStandalone: true,
|
|
146
146
|
selector: "wr-rating",
|
|
@@ -217,7 +217,7 @@ var WrRating = class WrRating {
|
|
|
217
217
|
};
|
|
218
218
|
i0.ɵɵngDeclareClassMetadata({
|
|
219
219
|
minVersion: "12.0.0",
|
|
220
|
-
version: "22.
|
|
220
|
+
version: "22.3.0",
|
|
221
221
|
ngImport: i0,
|
|
222
222
|
type: WrRating,
|
|
223
223
|
decorators: [{
|
|
@@ -289,7 +289,7 @@ var WrResizable = class WrResizable {
|
|
|
289
289
|
}
|
|
290
290
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
291
291
|
minVersion: "12.0.0",
|
|
292
|
-
version: "22.
|
|
292
|
+
version: "22.3.0",
|
|
293
293
|
ngImport: i0,
|
|
294
294
|
type: WrResizable,
|
|
295
295
|
deps: [],
|
|
@@ -297,7 +297,7 @@ var WrResizable = class WrResizable {
|
|
|
297
297
|
});
|
|
298
298
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
299
299
|
minVersion: "17.1.0",
|
|
300
|
-
version: "22.
|
|
300
|
+
version: "22.3.0",
|
|
301
301
|
type: WrResizable,
|
|
302
302
|
isStandalone: true,
|
|
303
303
|
selector: "[wrResizable]",
|
|
@@ -391,7 +391,7 @@ var WrResizable = class WrResizable {
|
|
|
391
391
|
};
|
|
392
392
|
i0.ɵɵngDeclareClassMetadata({
|
|
393
393
|
minVersion: "12.0.0",
|
|
394
|
-
version: "22.
|
|
394
|
+
version: "22.3.0",
|
|
395
395
|
ngImport: i0,
|
|
396
396
|
type: WrResizable,
|
|
397
397
|
decorators: [{
|
package/fesm2022/ngwr-result.mjs
CHANGED
|
@@ -18,7 +18,7 @@ var WrResult = class WrResult {
|
|
|
18
18
|
classes = computed(() => `wr-result--${this.status()}`, ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
|
|
19
19
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
20
20
|
minVersion: "12.0.0",
|
|
21
|
-
version: "22.
|
|
21
|
+
version: "22.3.0",
|
|
22
22
|
ngImport: i0,
|
|
23
23
|
type: WrResult,
|
|
24
24
|
deps: [],
|
|
@@ -26,7 +26,7 @@ var WrResult = class WrResult {
|
|
|
26
26
|
});
|
|
27
27
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
28
28
|
minVersion: "17.0.0",
|
|
29
|
-
version: "22.
|
|
29
|
+
version: "22.3.0",
|
|
30
30
|
type: WrResult,
|
|
31
31
|
isStandalone: true,
|
|
32
32
|
selector: "wr-result",
|
|
@@ -67,7 +67,7 @@ var WrResult = class WrResult {
|
|
|
67
67
|
};
|
|
68
68
|
i0.ɵɵngDeclareClassMetadata({
|
|
69
69
|
minVersion: "12.0.0",
|
|
70
|
-
version: "22.
|
|
70
|
+
version: "22.3.0",
|
|
71
71
|
ngImport: i0,
|
|
72
72
|
type: WrResult,
|
|
73
73
|
decorators: [{
|
|
@@ -127,7 +127,7 @@ var WrResult404 = class WrResult404 {
|
|
|
127
127
|
desc = useI18nText(this.description, "result.notFound", "Sorry, the page you visited does not exist.");
|
|
128
128
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
129
129
|
minVersion: "12.0.0",
|
|
130
|
-
version: "22.
|
|
130
|
+
version: "22.3.0",
|
|
131
131
|
ngImport: i0,
|
|
132
132
|
type: WrResult404,
|
|
133
133
|
deps: [],
|
|
@@ -135,7 +135,7 @@ var WrResult404 = class WrResult404 {
|
|
|
135
135
|
});
|
|
136
136
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
137
137
|
minVersion: "17.1.0",
|
|
138
|
-
version: "22.
|
|
138
|
+
version: "22.3.0",
|
|
139
139
|
type: WrResult404,
|
|
140
140
|
isStandalone: true,
|
|
141
141
|
selector: "wr-result-404",
|
|
@@ -173,7 +173,7 @@ var WrResult404 = class WrResult404 {
|
|
|
173
173
|
};
|
|
174
174
|
i0.ɵɵngDeclareClassMetadata({
|
|
175
175
|
minVersion: "12.0.0",
|
|
176
|
-
version: "22.
|
|
176
|
+
version: "22.3.0",
|
|
177
177
|
ngImport: i0,
|
|
178
178
|
type: WrResult404,
|
|
179
179
|
decorators: [{
|
|
@@ -216,7 +216,7 @@ var WrResult403 = class WrResult403 {
|
|
|
216
216
|
desc = useI18nText(this.description, "result.forbidden", "Sorry, you are not authorized to access this page.");
|
|
217
217
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
218
218
|
minVersion: "12.0.0",
|
|
219
|
-
version: "22.
|
|
219
|
+
version: "22.3.0",
|
|
220
220
|
ngImport: i0,
|
|
221
221
|
type: WrResult403,
|
|
222
222
|
deps: [],
|
|
@@ -224,7 +224,7 @@ var WrResult403 = class WrResult403 {
|
|
|
224
224
|
});
|
|
225
225
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
226
226
|
minVersion: "17.1.0",
|
|
227
|
-
version: "22.
|
|
227
|
+
version: "22.3.0",
|
|
228
228
|
type: WrResult403,
|
|
229
229
|
isStandalone: true,
|
|
230
230
|
selector: "wr-result-403",
|
|
@@ -262,7 +262,7 @@ var WrResult403 = class WrResult403 {
|
|
|
262
262
|
};
|
|
263
263
|
i0.ɵɵngDeclareClassMetadata({
|
|
264
264
|
minVersion: "12.0.0",
|
|
265
|
-
version: "22.
|
|
265
|
+
version: "22.3.0",
|
|
266
266
|
ngImport: i0,
|
|
267
267
|
type: WrResult403,
|
|
268
268
|
decorators: [{
|
|
@@ -305,7 +305,7 @@ var WrResult500 = class WrResult500 {
|
|
|
305
305
|
desc = useI18nText(this.description, "result.serverError", "Sorry, something went wrong.");
|
|
306
306
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
307
307
|
minVersion: "12.0.0",
|
|
308
|
-
version: "22.
|
|
308
|
+
version: "22.3.0",
|
|
309
309
|
ngImport: i0,
|
|
310
310
|
type: WrResult500,
|
|
311
311
|
deps: [],
|
|
@@ -313,7 +313,7 @@ var WrResult500 = class WrResult500 {
|
|
|
313
313
|
});
|
|
314
314
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
315
315
|
minVersion: "17.1.0",
|
|
316
|
-
version: "22.
|
|
316
|
+
version: "22.3.0",
|
|
317
317
|
type: WrResult500,
|
|
318
318
|
isStandalone: true,
|
|
319
319
|
selector: "wr-result-500",
|
|
@@ -351,7 +351,7 @@ var WrResult500 = class WrResult500 {
|
|
|
351
351
|
};
|
|
352
352
|
i0.ɵɵngDeclareClassMetadata({
|
|
353
353
|
minVersion: "12.0.0",
|
|
354
|
-
version: "22.
|
|
354
|
+
version: "22.3.0",
|
|
355
355
|
ngImport: i0,
|
|
356
356
|
type: WrResult500,
|
|
357
357
|
decorators: [{
|
|
@@ -43,7 +43,7 @@ var WrSchemaFormArrayState = class WrSchemaFormArrayState {
|
|
|
43
43
|
}
|
|
44
44
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
45
45
|
minVersion: "12.0.0",
|
|
46
|
-
version: "22.
|
|
46
|
+
version: "22.3.0",
|
|
47
47
|
ngImport: i0,
|
|
48
48
|
type: WrSchemaFormArrayState,
|
|
49
49
|
deps: [],
|
|
@@ -51,7 +51,7 @@ var WrSchemaFormArrayState = class WrSchemaFormArrayState {
|
|
|
51
51
|
});
|
|
52
52
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
53
53
|
minVersion: "17.1.0",
|
|
54
|
-
version: "22.
|
|
54
|
+
version: "22.3.0",
|
|
55
55
|
type: WrSchemaFormArrayState,
|
|
56
56
|
isStandalone: true,
|
|
57
57
|
selector: "[wrSchemaFormArrayState]",
|
|
@@ -71,7 +71,7 @@ var WrSchemaFormArrayState = class WrSchemaFormArrayState {
|
|
|
71
71
|
};
|
|
72
72
|
i0.ɵɵngDeclareClassMetadata({
|
|
73
73
|
minVersion: "12.0.0",
|
|
74
|
-
version: "22.
|
|
74
|
+
version: "22.3.0",
|
|
75
75
|
ngImport: i0,
|
|
76
76
|
type: WrSchemaFormArrayState,
|
|
77
77
|
decorators: [{
|
|
@@ -285,7 +285,7 @@ var WrSchemaForm = class WrSchemaForm {
|
|
|
285
285
|
}
|
|
286
286
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
287
287
|
minVersion: "12.0.0",
|
|
288
|
-
version: "22.
|
|
288
|
+
version: "22.3.0",
|
|
289
289
|
ngImport: i0,
|
|
290
290
|
type: WrSchemaForm,
|
|
291
291
|
deps: [],
|
|
@@ -293,7 +293,7 @@ var WrSchemaForm = class WrSchemaForm {
|
|
|
293
293
|
});
|
|
294
294
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
295
295
|
minVersion: "17.0.0",
|
|
296
|
-
version: "22.
|
|
296
|
+
version: "22.3.0",
|
|
297
297
|
type: WrSchemaForm,
|
|
298
298
|
isStandalone: true,
|
|
299
299
|
selector: "wr-schema-form",
|
|
@@ -374,6 +374,7 @@ var WrSchemaForm = class WrSchemaForm {
|
|
|
374
374
|
"iconPosition",
|
|
375
375
|
"disabled",
|
|
376
376
|
"outlined",
|
|
377
|
+
"ghost",
|
|
377
378
|
"block",
|
|
378
379
|
"loading",
|
|
379
380
|
"disabledWhenLoading"
|
|
@@ -405,6 +406,7 @@ var WrSchemaForm = class WrSchemaForm {
|
|
|
405
406
|
"mode",
|
|
406
407
|
"format",
|
|
407
408
|
"placeholder",
|
|
409
|
+
"valueFormat",
|
|
408
410
|
"min",
|
|
409
411
|
"max",
|
|
410
412
|
"dateFilter",
|
|
@@ -482,6 +484,7 @@ var WrSchemaForm = class WrSchemaForm {
|
|
|
482
484
|
"disabled",
|
|
483
485
|
"readonly",
|
|
484
486
|
"status",
|
|
487
|
+
"stored",
|
|
485
488
|
"previews",
|
|
486
489
|
"acceptPaste",
|
|
487
490
|
"pickLabel",
|
|
@@ -498,6 +501,7 @@ var WrSchemaForm = class WrSchemaForm {
|
|
|
498
501
|
outputs: [
|
|
499
502
|
"valueChange",
|
|
500
503
|
"rejected",
|
|
504
|
+
"storedRemove",
|
|
501
505
|
"retry",
|
|
502
506
|
"touch"
|
|
503
507
|
]
|
|
@@ -745,7 +749,7 @@ var WrSchemaForm = class WrSchemaForm {
|
|
|
745
749
|
};
|
|
746
750
|
i0.ɵɵngDeclareClassMetadata({
|
|
747
751
|
minVersion: "12.0.0",
|
|
748
|
-
version: "22.
|
|
752
|
+
version: "22.3.0",
|
|
749
753
|
ngImport: i0,
|
|
750
754
|
type: WrSchemaForm,
|
|
751
755
|
decorators: [{
|