ngwr 16.6.0 → 16.7.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/avatar/styles/_index.scss +39 -0
- package/button/styles/_index.scss +45 -2
- 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 +102 -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 +115 -15
- 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 +232 -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 +268 -42
- package/fesm2022/ngwr-table.mjs.map +1 -1
- package/fesm2022/ngwr-tabs-router.mjs +9 -5
- 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/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/table/styles/_index.scss +121 -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 +78 -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 +86 -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 +184 -6
- package/types/ngwr-tabs-router.d.ts +1 -1
- 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
package/fesm2022/ngwr-list.mjs
CHANGED
|
@@ -31,7 +31,7 @@ var WrList = class WrList {
|
|
|
31
31
|
}, ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
|
|
32
32
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
33
33
|
minVersion: "12.0.0",
|
|
34
|
-
version: "22.
|
|
34
|
+
version: "22.3.0",
|
|
35
35
|
ngImport: i0,
|
|
36
36
|
type: WrList,
|
|
37
37
|
deps: [],
|
|
@@ -39,7 +39,7 @@ var WrList = class WrList {
|
|
|
39
39
|
});
|
|
40
40
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
41
41
|
minVersion: "17.1.0",
|
|
42
|
-
version: "22.
|
|
42
|
+
version: "22.3.0",
|
|
43
43
|
type: WrList,
|
|
44
44
|
isStandalone: true,
|
|
45
45
|
selector: "wr-list",
|
|
@@ -80,13 +80,13 @@ var WrList = class WrList {
|
|
|
80
80
|
ngImport: i0,
|
|
81
81
|
template: "<ul class=\"wr-list__items\" role=\"list\" [attr.aria-label]=\"ariaLabel() || null\"><ng-content /></ul>",
|
|
82
82
|
isInline: true,
|
|
83
|
-
styles: [".wr-btn:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-table__sort-btn:focus-visible,.wr-table-filter__trigger:focus-visible,.wr-table__expand-btn:focus-visible,.wr-table__group-toggle:focus-visible,.wr-table__tree-toggle:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-table:has(>.wr-table__scroll:focus-visible){outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-table__scroll:focus-visible{outline:none}.wr-tabs__tab:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);outline-offset:-2px}.wr-tabs__panel:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-sidebar__row:focus-visible,.wr-sidebar__toggle:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);outline-offset:-2px}.wr-anchor__link:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-collapse__header:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);outline-offset:-2px}.wr-collapse--flat .wr-collapse__header:focus-visible{outline-offset:var(--wr-focus-ring-offset)}.wr-command-palette__option:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-mention-panel__option:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-segmented__option:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-back-top:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-carousel__nav:focus-visible,.wr-carousel__toggle:focus-visible,.wr-carousel__dot:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-speed-dial__trigger:focus-visible,.wr-speed-dial__action:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-stepper__header-button:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-window__chrome-action:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-date-picker__trigger:focus-visible,.wr-time-picker__step:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-dropdown-item:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-alert__close:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-tag__remove:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-graph__viewport:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-chart-legend__toggle:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-pull-to-refresh:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-tree__toggle:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-color-picker__sv:focus-visible,.wr-color-picker__slider:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-input-group__toggle:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);outline-offset:-2px}.wr-input-number__step:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);outline-offset:-2px}.wr-file-upload__zone:focus-visible,.wr-file-upload__remove:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-event-calendar__more:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);position:relative;z-index:1}.wr-graph__viewport:focus-visible,.wr-graph__control:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-list{--wr-list-item-padding-y: var(--wr-space-md);--wr-list-item-padding-x: var(--wr-space-lg);--wr-list-item-gap: var(--wr-space-md);--wr-list-divider-color: var(--wr-border-base);--wr-list-radius: var(--wr-border-radius-base);--wr-list-bg: transparent;--wr-list-hover-bg: var(--wr-color-hover);--wr-list-active-bg: color-mix(in srgb, var(--wr-color-primary) 8%, transparent);--wr-list-font-family: var(--wr-font-family-base);--wr-list-font-size: var(--wr-text-sm);display:block;font-family:var(--wr-list-font-family);font-size:var(--wr-list-font-size);color:var(--wr-color-on-surface);background:var(--wr-list-bg)}.wr-list__items{list-style:none;margin:0;padding:0}.wr-list--bordered{border:1px solid var(--wr-list-divider-color);border-radius:var(--wr-list-radius)}@supports (corner-shape: squircle){.wr-list--bordered{corner-shape:squircle;border-radius:calc(var(--wr-list-radius) * 1.85)}}.wr-list--bordered{overflow:hidden}.wr-list--dividers .wr-list__item:not(:last-child){border-bottom:1px solid var(--wr-list-divider-color)}.wr-list--dense{--wr-list-item-padding-y: var(--wr-space-sm)}.wr-list__item{display:flex;align-items:center;gap:var(--wr-list-item-gap);padding:calc(var(--wr-list-item-padding-y) * var(--wr-density-y, 1)) calc(var(--wr-list-item-padding-x) * var(--wr-density-x, 1));color:inherit;transition:background .12s ease}.wr-list__item--interactive{cursor:pointer}.wr-list__item--interactive:hover{background:var(--wr-list-hover-bg)}.wr-list__item--interactive:active{background:var(--wr-list-active-bg)}.wr-list__item--interactive:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);outline-offset:-2px}.wr-list__item--disabled{opacity:var(--wr-disabled-opacity);pointer-events:none;cursor:not-allowed}.wr-list__leading,.wr-list__trailing{display:inline-flex;align-items:center;flex:0 0 auto;color:color-mix(in srgb,var(--wr-color-on-surface) 65%,transparent)}.wr-list__leading:empty,.wr-list__trailing:empty{display:none}.wr-list__body{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n"],
|
|
83
|
+
styles: [".wr-btn:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-table__sort-btn:focus-visible,.wr-table-filter__trigger:focus-visible,.wr-table__expand-btn:focus-visible,.wr-table__group-toggle:focus-visible,.wr-table__tree-toggle:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-table:has(>.wr-table__scroll:focus-visible){outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-table__scroll:focus-visible{outline:none}.wr-tabs__tab:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);outline-offset:-2px}.wr-tabs__panel:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-sidebar__row:focus-visible,.wr-sidebar__toggle:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);outline-offset:-2px}.wr-anchor__link:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-collapse__header:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);outline-offset:-2px}.wr-collapse--flat .wr-collapse__header:focus-visible{outline-offset:var(--wr-focus-ring-offset)}.wr-command-palette__option:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-mention-panel__option:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-segmented__option:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-back-top:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-carousel__nav:focus-visible,.wr-carousel__toggle:focus-visible,.wr-carousel__dot:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-speed-dial__trigger:focus-visible,.wr-speed-dial__action:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-stepper__header-button:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-window__chrome-action:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-date-picker__trigger:focus-visible,.wr-time-picker__step:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-dropdown-item:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-alert__close:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-tag__remove:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-graph__viewport:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-chart-legend__toggle:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-pull-to-refresh:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-tree__toggle:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-color-picker__sv:focus-visible,.wr-color-picker__slider:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-input-group__toggle:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);outline-offset:-2px}.wr-input-number__step:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);outline-offset:-2px}.wr-file-upload__zone:focus-visible,.wr-file-upload__remove:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-event-calendar__more:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);position:relative;z-index:1}.wr-graph__viewport:focus-visible,.wr-graph__select:focus-visible,.wr-graph__control:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-list{--wr-list-item-padding-y: var(--wr-space-md);--wr-list-item-padding-x: var(--wr-space-lg);--wr-list-item-gap: var(--wr-space-md);--wr-list-divider-color: var(--wr-border-base);--wr-list-radius: var(--wr-border-radius-base);--wr-list-bg: transparent;--wr-list-hover-bg: var(--wr-color-hover);--wr-list-active-bg: color-mix(in srgb, var(--wr-color-primary) 8%, transparent);--wr-list-font-family: var(--wr-font-family-base);--wr-list-font-size: var(--wr-text-sm);display:block;font-family:var(--wr-list-font-family);font-size:var(--wr-list-font-size);color:var(--wr-color-on-surface);background:var(--wr-list-bg)}.wr-list__items{list-style:none;margin:0;padding:0}.wr-list--bordered{border:1px solid var(--wr-list-divider-color);border-radius:var(--wr-list-radius)}@supports (corner-shape: squircle){.wr-list--bordered{corner-shape:squircle;border-radius:calc(var(--wr-list-radius) * 1.85)}}.wr-list--bordered{overflow:hidden}.wr-list--dividers .wr-list__item:not(:last-child){border-bottom:1px solid var(--wr-list-divider-color)}.wr-list--dense{--wr-list-item-padding-y: var(--wr-space-sm)}.wr-list__item{display:flex;align-items:center;gap:var(--wr-list-item-gap);padding:calc(var(--wr-list-item-padding-y) * var(--wr-density-y, 1)) calc(var(--wr-list-item-padding-x) * var(--wr-density-x, 1));color:inherit;transition:background .12s ease}.wr-list__item--interactive{cursor:pointer}.wr-list__item--interactive:hover{background:var(--wr-list-hover-bg)}.wr-list__item--interactive:active{background:var(--wr-list-active-bg)}.wr-list__item--interactive:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);outline-offset:-2px}.wr-list__item--disabled{opacity:var(--wr-disabled-opacity);pointer-events:none;cursor:not-allowed}.wr-list__leading,.wr-list__trailing{display:inline-flex;align-items:center;flex:0 0 auto;color:color-mix(in srgb,var(--wr-color-on-surface) 65%,transparent)}.wr-list__leading:empty,.wr-list__trailing:empty{display:none}.wr-list__body{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n"],
|
|
84
84
|
encapsulation: i0.ViewEncapsulation.None
|
|
85
85
|
});
|
|
86
86
|
};
|
|
87
87
|
i0.ɵɵngDeclareClassMetadata({
|
|
88
88
|
minVersion: "12.0.0",
|
|
89
|
-
version: "22.
|
|
89
|
+
version: "22.3.0",
|
|
90
90
|
ngImport: i0,
|
|
91
91
|
type: WrList,
|
|
92
92
|
decorators: [{
|
|
@@ -99,7 +99,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
99
99
|
class: "wr-list",
|
|
100
100
|
"[class]": "classes()"
|
|
101
101
|
},
|
|
102
|
-
styles: [".wr-btn:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-table__sort-btn:focus-visible,.wr-table-filter__trigger:focus-visible,.wr-table__expand-btn:focus-visible,.wr-table__group-toggle:focus-visible,.wr-table__tree-toggle:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-table:has(>.wr-table__scroll:focus-visible){outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-table__scroll:focus-visible{outline:none}.wr-tabs__tab:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);outline-offset:-2px}.wr-tabs__panel:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-sidebar__row:focus-visible,.wr-sidebar__toggle:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);outline-offset:-2px}.wr-anchor__link:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-collapse__header:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);outline-offset:-2px}.wr-collapse--flat .wr-collapse__header:focus-visible{outline-offset:var(--wr-focus-ring-offset)}.wr-command-palette__option:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-mention-panel__option:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-segmented__option:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-back-top:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-carousel__nav:focus-visible,.wr-carousel__toggle:focus-visible,.wr-carousel__dot:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-speed-dial__trigger:focus-visible,.wr-speed-dial__action:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-stepper__header-button:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-window__chrome-action:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-date-picker__trigger:focus-visible,.wr-time-picker__step:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-dropdown-item:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-alert__close:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-tag__remove:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-graph__viewport:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-chart-legend__toggle:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-pull-to-refresh:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-tree__toggle:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-color-picker__sv:focus-visible,.wr-color-picker__slider:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-input-group__toggle:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);outline-offset:-2px}.wr-input-number__step:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);outline-offset:-2px}.wr-file-upload__zone:focus-visible,.wr-file-upload__remove:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-event-calendar__more:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);position:relative;z-index:1}.wr-graph__viewport:focus-visible,.wr-graph__control:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-list{--wr-list-item-padding-y: var(--wr-space-md);--wr-list-item-padding-x: var(--wr-space-lg);--wr-list-item-gap: var(--wr-space-md);--wr-list-divider-color: var(--wr-border-base);--wr-list-radius: var(--wr-border-radius-base);--wr-list-bg: transparent;--wr-list-hover-bg: var(--wr-color-hover);--wr-list-active-bg: color-mix(in srgb, var(--wr-color-primary) 8%, transparent);--wr-list-font-family: var(--wr-font-family-base);--wr-list-font-size: var(--wr-text-sm);display:block;font-family:var(--wr-list-font-family);font-size:var(--wr-list-font-size);color:var(--wr-color-on-surface);background:var(--wr-list-bg)}.wr-list__items{list-style:none;margin:0;padding:0}.wr-list--bordered{border:1px solid var(--wr-list-divider-color);border-radius:var(--wr-list-radius)}@supports (corner-shape: squircle){.wr-list--bordered{corner-shape:squircle;border-radius:calc(var(--wr-list-radius) * 1.85)}}.wr-list--bordered{overflow:hidden}.wr-list--dividers .wr-list__item:not(:last-child){border-bottom:1px solid var(--wr-list-divider-color)}.wr-list--dense{--wr-list-item-padding-y: var(--wr-space-sm)}.wr-list__item{display:flex;align-items:center;gap:var(--wr-list-item-gap);padding:calc(var(--wr-list-item-padding-y) * var(--wr-density-y, 1)) calc(var(--wr-list-item-padding-x) * var(--wr-density-x, 1));color:inherit;transition:background .12s ease}.wr-list__item--interactive{cursor:pointer}.wr-list__item--interactive:hover{background:var(--wr-list-hover-bg)}.wr-list__item--interactive:active{background:var(--wr-list-active-bg)}.wr-list__item--interactive:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);outline-offset:-2px}.wr-list__item--disabled{opacity:var(--wr-disabled-opacity);pointer-events:none;cursor:not-allowed}.wr-list__leading,.wr-list__trailing{display:inline-flex;align-items:center;flex:0 0 auto;color:color-mix(in srgb,var(--wr-color-on-surface) 65%,transparent)}.wr-list__leading:empty,.wr-list__trailing:empty{display:none}.wr-list__body{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n"]
|
|
102
|
+
styles: [".wr-btn:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-table__sort-btn:focus-visible,.wr-table-filter__trigger:focus-visible,.wr-table__expand-btn:focus-visible,.wr-table__group-toggle:focus-visible,.wr-table__tree-toggle:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-table:has(>.wr-table__scroll:focus-visible){outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-table__scroll:focus-visible{outline:none}.wr-tabs__tab:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);outline-offset:-2px}.wr-tabs__panel:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-sidebar__row:focus-visible,.wr-sidebar__toggle:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);outline-offset:-2px}.wr-anchor__link:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-collapse__header:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);outline-offset:-2px}.wr-collapse--flat .wr-collapse__header:focus-visible{outline-offset:var(--wr-focus-ring-offset)}.wr-command-palette__option:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-mention-panel__option:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-segmented__option:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-back-top:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-carousel__nav:focus-visible,.wr-carousel__toggle:focus-visible,.wr-carousel__dot:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-speed-dial__trigger:focus-visible,.wr-speed-dial__action:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-stepper__header-button:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-window__chrome-action:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-date-picker__trigger:focus-visible,.wr-time-picker__step:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-dropdown-item:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-alert__close:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-tag__remove:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-graph__viewport:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-chart-legend__toggle:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-pull-to-refresh:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-tree__toggle:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-color-picker__sv:focus-visible,.wr-color-picker__slider:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-input-group__toggle:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);outline-offset:-2px}.wr-input-number__step:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);outline-offset:-2px}.wr-file-upload__zone:focus-visible,.wr-file-upload__remove:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-event-calendar__more:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);position:relative;z-index:1}.wr-graph__viewport:focus-visible,.wr-graph__select:focus-visible,.wr-graph__control:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-list{--wr-list-item-padding-y: var(--wr-space-md);--wr-list-item-padding-x: var(--wr-space-lg);--wr-list-item-gap: var(--wr-space-md);--wr-list-divider-color: var(--wr-border-base);--wr-list-radius: var(--wr-border-radius-base);--wr-list-bg: transparent;--wr-list-hover-bg: var(--wr-color-hover);--wr-list-active-bg: color-mix(in srgb, var(--wr-color-primary) 8%, transparent);--wr-list-font-family: var(--wr-font-family-base);--wr-list-font-size: var(--wr-text-sm);display:block;font-family:var(--wr-list-font-family);font-size:var(--wr-list-font-size);color:var(--wr-color-on-surface);background:var(--wr-list-bg)}.wr-list__items{list-style:none;margin:0;padding:0}.wr-list--bordered{border:1px solid var(--wr-list-divider-color);border-radius:var(--wr-list-radius)}@supports (corner-shape: squircle){.wr-list--bordered{corner-shape:squircle;border-radius:calc(var(--wr-list-radius) * 1.85)}}.wr-list--bordered{overflow:hidden}.wr-list--dividers .wr-list__item:not(:last-child){border-bottom:1px solid var(--wr-list-divider-color)}.wr-list--dense{--wr-list-item-padding-y: var(--wr-space-sm)}.wr-list__item{display:flex;align-items:center;gap:var(--wr-list-item-gap);padding:calc(var(--wr-list-item-padding-y) * var(--wr-density-y, 1)) calc(var(--wr-list-item-padding-x) * var(--wr-density-x, 1));color:inherit;transition:background .12s ease}.wr-list__item--interactive{cursor:pointer}.wr-list__item--interactive:hover{background:var(--wr-list-hover-bg)}.wr-list__item--interactive:active{background:var(--wr-list-active-bg)}.wr-list__item--interactive:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);outline-offset:-2px}.wr-list__item--disabled{opacity:var(--wr-disabled-opacity);pointer-events:none;cursor:not-allowed}.wr-list__leading,.wr-list__trailing{display:inline-flex;align-items:center;flex:0 0 auto;color:color-mix(in srgb,var(--wr-color-on-surface) 65%,transparent)}.wr-list__leading:empty,.wr-list__trailing:empty{display:none}.wr-list__body{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n"]
|
|
103
103
|
}]
|
|
104
104
|
}],
|
|
105
105
|
propDecorators: {
|
|
@@ -168,7 +168,7 @@ var WrListItem = class WrListItem {
|
|
|
168
168
|
}
|
|
169
169
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
170
170
|
minVersion: "12.0.0",
|
|
171
|
-
version: "22.
|
|
171
|
+
version: "22.3.0",
|
|
172
172
|
ngImport: i0,
|
|
173
173
|
type: WrListItem,
|
|
174
174
|
deps: [],
|
|
@@ -176,7 +176,7 @@ var WrListItem = class WrListItem {
|
|
|
176
176
|
});
|
|
177
177
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
178
178
|
minVersion: "17.1.0",
|
|
179
|
-
version: "22.
|
|
179
|
+
version: "22.3.0",
|
|
180
180
|
type: WrListItem,
|
|
181
181
|
isStandalone: true,
|
|
182
182
|
selector: "wr-list-item",
|
|
@@ -216,7 +216,7 @@ var WrListItem = class WrListItem {
|
|
|
216
216
|
};
|
|
217
217
|
i0.ɵɵngDeclareClassMetadata({
|
|
218
218
|
minVersion: "12.0.0",
|
|
219
|
-
version: "22.
|
|
219
|
+
version: "22.3.0",
|
|
220
220
|
ngImport: i0,
|
|
221
221
|
type: WrListItem,
|
|
222
222
|
decorators: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ngwr-list.mjs","names":[],"sources":["../../../projects/lib/list/list.ts","../../../projects/lib/list/list-item.ts","../../../projects/lib/list/list-item.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 } from '@angular/cdk/coercion';\nimport { Component, ViewEncapsulation, computed, input } from '@angular/core';\n\n/**\n * Generic list container. Renders `<ul role=\"list\">` with optional\n * borders, dividers between items, and dense (compact) padding. Project\n * `<wr-list-item>` children — they pick up the container's settings\n * through CSS cascade, no DI needed.\n *\n * @example\n * ```html\n * <wr-list bordered dividers>\n * <wr-list-item>\n * <wr-icon ngProjectAs=\"[wrListItemLeading]\" name=\"folder\" />\n * Reports\n * <span ngProjectAs=\"[wrListItemTrailing]\">12</span>\n * </wr-list-item>\n * <wr-list-item interactive (click)=\"open(item)\">\n * Click anywhere on this row\n * </wr-list-item>\n * </wr-list>\n * ```\n *\n * @see https://ngwr.dev/reference/components/list\n */\n@Component({\n selector: 'wr-list',\n // The label goes on the `<ul role=\"list\">`, not on the host. `<wr-list>` is a\n // role-less generic element, and ARIA 1.2 prohibits `aria-label` on one — so\n // the attribute was legal-looking, axe-reportable (`aria-prohibited-attr`)\n // and, worse, silent: the list it was written for stayed nameless, and a page\n // with three of them announced three identical unnamed lists.\n template: '<ul class=\"wr-list__items\" role=\"list\" [attr.aria-label]=\"ariaLabel() || null\"><ng-content /></ul>',\n styleUrl: './list.scss',\n encapsulation: ViewEncapsulation.None,\n host: {\n class: 'wr-list',\n '[class]': 'classes()',\n },\n})\nexport class WrList {\n /** Wrap the list in a card-style border + radius. @default false */\n readonly bordered = input(false, { transform: coerceBooleanProperty });\n\n /** Draw a thin divider between items. @default false */\n readonly dividers = input(false, { transform: coerceBooleanProperty });\n\n /** Use compact padding on every item. @default false */\n readonly dense = input(false, { transform: coerceBooleanProperty });\n\n /** Optional accessible label for the list. */\n readonly ariaLabel = input<string>('');\n\n protected readonly classes = computed(() => {\n const parts: string[] = [];\n if (this.bordered()) parts.push('wr-list--bordered');\n if (this.dividers()) parts.push('wr-list--dividers');\n if (this.dense()) parts.push('wr-list--dense');\n return parts.join(' ');\n });\n}\n","/**\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 } from '@angular/cdk/coercion';\nimport { Component, ViewEncapsulation, computed, input } from '@angular/core';\n\nimport { wrCheckStyles } from 'ngwr/utils';\n\n/**\n * Row inside `<wr-list>`. Three projection slots:\n *\n * - `[wrListItemLeading]` — icon, avatar, status dot, etc.\n * - default — main label / body\n * - `[wrListItemTrailing]` — meta value, action button, chevron\n *\n * Set `interactive` to get hover and cursor styles, a tab stop, and Enter /\n * Space activation. The role stays `listitem`: the row lives inside a\n * `<ul role=\"list\">`, where a `button` or `option` child role would break the\n * structure the container promises. That means an interactive row ANNOUNCES as\n * a list item rather than as a control — deliberate, but worth knowing when the\n * whole row is the only way to reach an action. Where the action needs to be\n * announced as one, project a real button into `[wrListItemTrailing]`.\n *\n * @example\n * ```html\n * <wr-list-item>Plain row</wr-list-item>\n *\n * <wr-list-item interactive (click)=\"onPick(item)\">\n * <wr-icon ngProjectAs=\"[wrListItemLeading]\" name=\"folder\" />\n * Reports\n * <span ngProjectAs=\"[wrListItemTrailing]\">12</span>\n * </wr-list-item>\n * ```\n */\n@Component({\n selector: 'wr-list-item',\n templateUrl: './list-item.html',\n encapsulation: ViewEncapsulation.None,\n host: {\n class: 'wr-list__item',\n '[class]': 'classes()',\n role: 'listitem',\n '[attr.tabindex]': 'interactive() ? \"0\" : null',\n '[attr.aria-disabled]': 'disabled() || null',\n '(keydown.enter)': 'onActivate($event)',\n '(keydown.space)': 'onActivate($event)',\n },\n})\nexport class WrListItem {\n constructor() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) wrCheckStyles('list');\n }\n\n /** Adds hover / cursor styles + keyboard activation. @default false */\n readonly interactive = input(false, { transform: coerceBooleanProperty });\n\n /** Visual disabled state. Suppresses hover + keyboard activation. @default false */\n readonly disabled = input(false, { transform: coerceBooleanProperty });\n\n protected readonly classes = computed(() => {\n const parts: string[] = [];\n if (this.interactive()) parts.push('wr-list__item--interactive');\n if (this.disabled()) parts.push('wr-list__item--disabled');\n return parts.join(' ');\n });\n\n protected onActivate(event: Event): void {\n if (event.target !== event.currentTarget || !this.interactive() || this.disabled()) return;\n event.preventDefault();\n (event.currentTarget as HTMLElement).click();\n }\n}\n","<span class=\"wr-list__leading\"><ng-content select=\"[wrListItemLeading]\" /></span>\n<span class=\"wr-list__body\"><ng-content /></span>\n<span class=\"wr-list__trailing\"><ng-content select=\"[wrListItemTrailing]\" /></span>\n"],"mappings":";;;;;;;;;;AA+CA,IAAa,SAAb,MAAa,OAAM;CAER,WAAW,MAAM,OAAK;EAAA,GAAA,YAAA,EAAA,WAAA,WAAA,+BAAA,CAAA;EAAI,WAAW;CAAqB,CAAA;CAG1D,WAAW,MAAM,OAAK;EAAA,GAAA,YAAA,EAAA,WAAA,WAAA,+BAAA,CAAA;EAAI,WAAW;CAAqB,CAAA;CAG1D,QAAQ,MAAM,OAAK;EAAA,GAAA,YAAA,EAAA,WAAA,QAAA,+BAAA,CAAA;EAAI,WAAW;CAAqB,CAAA;CAGvD,YAAY,MAAc,IAAG,GAAA,YAAA,CAAA,EAAA,WAAA,YAAA,CAAA,+BAAA,CAAA,CAAA;CAEnB,UAAU,eAAc;EACzC,MAAM,QAAkB,CAAA;EACxB,IAAI,KAAK,SAAQ,GAAI,MAAM,KAAK,mBAAmB;EACnD,IAAI,KAAK,SAAQ,GAAI,MAAM,KAAK,mBAAmB;EACnD,IAAI,KAAK,MAAK,GAAI,MAAM,KAAK,gBAAgB;EAC7C,OAAO,MAAM,KAAK,GAAG;CACvB,GAAE,GAAA,YAAA,CAAA,EAAA,WAAA,UAAA,CAAA,+BAAA,CAAA,CAAA;CAnBS,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAAM,MAAA,CAAA;EAAA,QAAA,GAAA,gBAAA;CAAA,CAAA;CAAN,OAAA,OAAA,GAAA,qBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,MAAA;EAAM,cAAA;EAAA,UAAA;EAAA,QAAA;GAAA,UAAA;IAAA,mBAAA;IAAA,YAAA;IAAA,UAAA;IAAA,YAAA;IAAA,mBAAA;GAAA;GAAA,UAAA;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,WAAA;IAAA,mBAAA;IAAA,YAAA;IAAA,UAAA;IAAA,YAAA;IAAA,mBAAA;GAAA;EAAA;EAAA,MAAA;GAAA,YAAA,EAAA,SAAA,YAAA;GAAA,gBAAA;EAAA;EAAA,UAAA;EAAA,UARP;EAAoG,UAAA;EAAA,QAAA,CAAA,+
|
|
1
|
+
{"version":3,"file":"ngwr-list.mjs","names":[],"sources":["../../../projects/lib/list/list.ts","../../../projects/lib/list/list-item.ts","../../../projects/lib/list/list-item.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 } from '@angular/cdk/coercion';\nimport { Component, ViewEncapsulation, computed, input } from '@angular/core';\n\n/**\n * Generic list container. Renders `<ul role=\"list\">` with optional\n * borders, dividers between items, and dense (compact) padding. Project\n * `<wr-list-item>` children — they pick up the container's settings\n * through CSS cascade, no DI needed.\n *\n * @example\n * ```html\n * <wr-list bordered dividers>\n * <wr-list-item>\n * <wr-icon ngProjectAs=\"[wrListItemLeading]\" name=\"folder\" />\n * Reports\n * <span ngProjectAs=\"[wrListItemTrailing]\">12</span>\n * </wr-list-item>\n * <wr-list-item interactive (click)=\"open(item)\">\n * Click anywhere on this row\n * </wr-list-item>\n * </wr-list>\n * ```\n *\n * @see https://ngwr.dev/reference/components/list\n */\n@Component({\n selector: 'wr-list',\n // The label goes on the `<ul role=\"list\">`, not on the host. `<wr-list>` is a\n // role-less generic element, and ARIA 1.2 prohibits `aria-label` on one — so\n // the attribute was legal-looking, axe-reportable (`aria-prohibited-attr`)\n // and, worse, silent: the list it was written for stayed nameless, and a page\n // with three of them announced three identical unnamed lists.\n template: '<ul class=\"wr-list__items\" role=\"list\" [attr.aria-label]=\"ariaLabel() || null\"><ng-content /></ul>',\n styleUrl: './list.scss',\n encapsulation: ViewEncapsulation.None,\n host: {\n class: 'wr-list',\n '[class]': 'classes()',\n },\n})\nexport class WrList {\n /** Wrap the list in a card-style border + radius. @default false */\n readonly bordered = input(false, { transform: coerceBooleanProperty });\n\n /** Draw a thin divider between items. @default false */\n readonly dividers = input(false, { transform: coerceBooleanProperty });\n\n /** Use compact padding on every item. @default false */\n readonly dense = input(false, { transform: coerceBooleanProperty });\n\n /** Optional accessible label for the list. */\n readonly ariaLabel = input<string>('');\n\n protected readonly classes = computed(() => {\n const parts: string[] = [];\n if (this.bordered()) parts.push('wr-list--bordered');\n if (this.dividers()) parts.push('wr-list--dividers');\n if (this.dense()) parts.push('wr-list--dense');\n return parts.join(' ');\n });\n}\n","/**\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 } from '@angular/cdk/coercion';\nimport { Component, ViewEncapsulation, computed, input } from '@angular/core';\n\nimport { wrCheckStyles } from 'ngwr/utils';\n\n/**\n * Row inside `<wr-list>`. Three projection slots:\n *\n * - `[wrListItemLeading]` — icon, avatar, status dot, etc.\n * - default — main label / body\n * - `[wrListItemTrailing]` — meta value, action button, chevron\n *\n * Set `interactive` to get hover and cursor styles, a tab stop, and Enter /\n * Space activation. The role stays `listitem`: the row lives inside a\n * `<ul role=\"list\">`, where a `button` or `option` child role would break the\n * structure the container promises. That means an interactive row ANNOUNCES as\n * a list item rather than as a control — deliberate, but worth knowing when the\n * whole row is the only way to reach an action. Where the action needs to be\n * announced as one, project a real button into `[wrListItemTrailing]`.\n *\n * @example\n * ```html\n * <wr-list-item>Plain row</wr-list-item>\n *\n * <wr-list-item interactive (click)=\"onPick(item)\">\n * <wr-icon ngProjectAs=\"[wrListItemLeading]\" name=\"folder\" />\n * Reports\n * <span ngProjectAs=\"[wrListItemTrailing]\">12</span>\n * </wr-list-item>\n * ```\n */\n@Component({\n selector: 'wr-list-item',\n templateUrl: './list-item.html',\n encapsulation: ViewEncapsulation.None,\n host: {\n class: 'wr-list__item',\n '[class]': 'classes()',\n role: 'listitem',\n '[attr.tabindex]': 'interactive() ? \"0\" : null',\n '[attr.aria-disabled]': 'disabled() || null',\n '(keydown.enter)': 'onActivate($event)',\n '(keydown.space)': 'onActivate($event)',\n },\n})\nexport class WrListItem {\n constructor() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) wrCheckStyles('list');\n }\n\n /** Adds hover / cursor styles + keyboard activation. @default false */\n readonly interactive = input(false, { transform: coerceBooleanProperty });\n\n /** Visual disabled state. Suppresses hover + keyboard activation. @default false */\n readonly disabled = input(false, { transform: coerceBooleanProperty });\n\n protected readonly classes = computed(() => {\n const parts: string[] = [];\n if (this.interactive()) parts.push('wr-list__item--interactive');\n if (this.disabled()) parts.push('wr-list__item--disabled');\n return parts.join(' ');\n });\n\n protected onActivate(event: Event): void {\n if (event.target !== event.currentTarget || !this.interactive() || this.disabled()) return;\n event.preventDefault();\n (event.currentTarget as HTMLElement).click();\n }\n}\n","<span class=\"wr-list__leading\"><ng-content select=\"[wrListItemLeading]\" /></span>\n<span class=\"wr-list__body\"><ng-content /></span>\n<span class=\"wr-list__trailing\"><ng-content select=\"[wrListItemTrailing]\" /></span>\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AtBW,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAAU,MAAA,CAAA;EAAA,QAAA,GAAA,gBAAA;CAAA,CAAA;CAAV,OAAA,OAAA,GAAA,qBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,MAAA;EAAU,cAAA;EAAA,UAAA;EAAA,QAAA;GAAA,aAAA;IAAA,mBAAA;IAAA,YAAA;IAAA,UAAA;IAAA,YAAA;IAAA,mBAAA;GAAA;GAAA,UAAA;IAAA,mBAAA;IAAA,YAAA;IAAA,UAAA;IAAA,YAAA;IAAA,mBAAA;GAAA;EAAA;EAAA,MAAA;GAAA,YAAA,EAAA,QAAA,WAAA;GAAA,WAAA;IAAA,iBAAA;IAAA,iBAAA;GAAA;GAAA,YAAA;IAAA,SAAA;IAAA,iBAAA;IAAA,sBAAA;GAAA;GAAA,gBAAA;EAAA;EAAA,UAAA;EAAA,UCpDvB;EAGA,eAAA,GAAA,kBAAA;CAAA,CAAA;;ADiDa,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAU,YAAA,CAAA;EAdtB,MAAA;EACW,MAAA,CAAA;GAAA,UAAA;GAAc,eAET,kBAAkB;GAAI,MAC/B;IACJ,OAAO;IACP,WAAW;IACX,MAAM;IACN,mBAAmB;IACnB,wBAAwB;IACxB,mBAAmB;IACnB,mBAAmB;GACpB;GAAA,UAAA;EAAA,CAAA"}
|
|
@@ -21,7 +21,7 @@ var WrLoadStateContent = class WrLoadStateContent {
|
|
|
21
21
|
}
|
|
22
22
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
23
23
|
minVersion: "12.0.0",
|
|
24
|
-
version: "22.
|
|
24
|
+
version: "22.3.0",
|
|
25
25
|
ngImport: i0,
|
|
26
26
|
type: WrLoadStateContent,
|
|
27
27
|
deps: [],
|
|
@@ -29,7 +29,7 @@ var WrLoadStateContent = class WrLoadStateContent {
|
|
|
29
29
|
});
|
|
30
30
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
31
31
|
minVersion: "17.1.0",
|
|
32
|
-
version: "22.
|
|
32
|
+
version: "22.3.0",
|
|
33
33
|
type: WrLoadStateContent,
|
|
34
34
|
isStandalone: true,
|
|
35
35
|
selector: "ng-template[wrLoadStateContent]",
|
|
@@ -45,7 +45,7 @@ var WrLoadStateContent = class WrLoadStateContent {
|
|
|
45
45
|
};
|
|
46
46
|
i0.ɵɵngDeclareClassMetadata({
|
|
47
47
|
minVersion: "12.0.0",
|
|
48
|
-
version: "22.
|
|
48
|
+
version: "22.3.0",
|
|
49
49
|
ngImport: i0,
|
|
50
50
|
type: WrLoadStateContent,
|
|
51
51
|
decorators: [{
|
|
@@ -65,7 +65,7 @@ var WrLoadStateLoading = class WrLoadStateLoading {
|
|
|
65
65
|
template = inject(TemplateRef);
|
|
66
66
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
67
67
|
minVersion: "12.0.0",
|
|
68
|
-
version: "22.
|
|
68
|
+
version: "22.3.0",
|
|
69
69
|
ngImport: i0,
|
|
70
70
|
type: WrLoadStateLoading,
|
|
71
71
|
deps: [],
|
|
@@ -73,7 +73,7 @@ var WrLoadStateLoading = class WrLoadStateLoading {
|
|
|
73
73
|
});
|
|
74
74
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
75
75
|
minVersion: "14.0.0",
|
|
76
|
-
version: "22.
|
|
76
|
+
version: "22.3.0",
|
|
77
77
|
type: WrLoadStateLoading,
|
|
78
78
|
isStandalone: true,
|
|
79
79
|
selector: "ng-template[wrLoadStateLoading]",
|
|
@@ -82,7 +82,7 @@ var WrLoadStateLoading = class WrLoadStateLoading {
|
|
|
82
82
|
};
|
|
83
83
|
i0.ɵɵngDeclareClassMetadata({
|
|
84
84
|
minVersion: "12.0.0",
|
|
85
|
-
version: "22.
|
|
85
|
+
version: "22.3.0",
|
|
86
86
|
ngImport: i0,
|
|
87
87
|
type: WrLoadStateLoading,
|
|
88
88
|
decorators: [{
|
|
@@ -97,7 +97,7 @@ var WrLoadStateError = class WrLoadStateError {
|
|
|
97
97
|
}
|
|
98
98
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
99
99
|
minVersion: "12.0.0",
|
|
100
|
-
version: "22.
|
|
100
|
+
version: "22.3.0",
|
|
101
101
|
ngImport: i0,
|
|
102
102
|
type: WrLoadStateError,
|
|
103
103
|
deps: [],
|
|
@@ -105,7 +105,7 @@ var WrLoadStateError = class WrLoadStateError {
|
|
|
105
105
|
});
|
|
106
106
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
107
107
|
minVersion: "14.0.0",
|
|
108
|
-
version: "22.
|
|
108
|
+
version: "22.3.0",
|
|
109
109
|
type: WrLoadStateError,
|
|
110
110
|
isStandalone: true,
|
|
111
111
|
selector: "ng-template[wrLoadStateError]",
|
|
@@ -114,7 +114,7 @@ var WrLoadStateError = class WrLoadStateError {
|
|
|
114
114
|
};
|
|
115
115
|
i0.ɵɵngDeclareClassMetadata({
|
|
116
116
|
minVersion: "12.0.0",
|
|
117
|
-
version: "22.
|
|
117
|
+
version: "22.3.0",
|
|
118
118
|
ngImport: i0,
|
|
119
119
|
type: WrLoadStateError,
|
|
120
120
|
decorators: [{
|
|
@@ -126,7 +126,7 @@ var WrLoadStateEmpty = class WrLoadStateEmpty {
|
|
|
126
126
|
template = inject(TemplateRef);
|
|
127
127
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
128
128
|
minVersion: "12.0.0",
|
|
129
|
-
version: "22.
|
|
129
|
+
version: "22.3.0",
|
|
130
130
|
ngImport: i0,
|
|
131
131
|
type: WrLoadStateEmpty,
|
|
132
132
|
deps: [],
|
|
@@ -134,7 +134,7 @@ var WrLoadStateEmpty = class WrLoadStateEmpty {
|
|
|
134
134
|
});
|
|
135
135
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
136
136
|
minVersion: "14.0.0",
|
|
137
|
-
version: "22.
|
|
137
|
+
version: "22.3.0",
|
|
138
138
|
type: WrLoadStateEmpty,
|
|
139
139
|
isStandalone: true,
|
|
140
140
|
selector: "ng-template[wrLoadStateEmpty]",
|
|
@@ -143,7 +143,7 @@ var WrLoadStateEmpty = class WrLoadStateEmpty {
|
|
|
143
143
|
};
|
|
144
144
|
i0.ɵɵngDeclareClassMetadata({
|
|
145
145
|
minVersion: "12.0.0",
|
|
146
|
-
version: "22.
|
|
146
|
+
version: "22.3.0",
|
|
147
147
|
ngImport: i0,
|
|
148
148
|
type: WrLoadStateEmpty,
|
|
149
149
|
decorators: [{
|
|
@@ -224,7 +224,7 @@ var WrLoadState = class WrLoadState {
|
|
|
224
224
|
}
|
|
225
225
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
226
226
|
minVersion: "12.0.0",
|
|
227
|
-
version: "22.
|
|
227
|
+
version: "22.3.0",
|
|
228
228
|
ngImport: i0,
|
|
229
229
|
type: WrLoadState,
|
|
230
230
|
deps: [],
|
|
@@ -232,7 +232,7 @@ var WrLoadState = class WrLoadState {
|
|
|
232
232
|
});
|
|
233
233
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
234
234
|
minVersion: "17.0.0",
|
|
235
|
-
version: "22.
|
|
235
|
+
version: "22.3.0",
|
|
236
236
|
type: WrLoadState,
|
|
237
237
|
isStandalone: true,
|
|
238
238
|
selector: "wr-load-state",
|
|
@@ -380,6 +380,7 @@ var WrLoadState = class WrLoadState {
|
|
|
380
380
|
"iconPosition",
|
|
381
381
|
"disabled",
|
|
382
382
|
"outlined",
|
|
383
|
+
"ghost",
|
|
383
384
|
"block",
|
|
384
385
|
"loading",
|
|
385
386
|
"disabledWhenLoading"
|
|
@@ -391,7 +392,7 @@ var WrLoadState = class WrLoadState {
|
|
|
391
392
|
};
|
|
392
393
|
i0.ɵɵngDeclareClassMetadata({
|
|
393
394
|
minVersion: "12.0.0",
|
|
394
|
-
version: "22.
|
|
395
|
+
version: "22.3.0",
|
|
395
396
|
ngImport: i0,
|
|
396
397
|
type: WrLoadState,
|
|
397
398
|
decorators: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ngwr-load-state.mjs","names":[],"sources":["../../../projects/lib/load-state/load-state-templates.ts","../../../projects/lib/load-state/load-state.ts","../../../projects/lib/load-state/load-state.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 { Directive, type Resource, TemplateRef, inject, input } from '@angular/core';\n\nimport type { WrSafeAny } from 'ngwr/utils';\n\nimport type { WrLoadStateContentContext, WrLoadStateErrorContext } from './types';\n\n/**\n * The content `<wr-load-state>` draws once the data is ready. A template rather\n * than projected content, so nothing of it is created before that: a plain\n * `<ng-content>` would be instantiated in every state.\n *\n * Name the resource through `[wrLoadStateContentOf]` and `let-value` arrives\n * typed. The input is read by the type checker only, the way `[wrTableCellOf]`\n * types a table cell: the wrapper hands the template the same context whether\n * or not it is set.\n *\n * @example\n * ```html\n * <wr-load-state [resource]=\"users\">\n * <ng-template wrLoadStateContent [wrLoadStateContentOf]=\"users\" let-users>\n * <wr-table [items]=\"users\" [columns]=\"columns\" />\n * </ng-template>\n * </wr-load-state>\n * ```\n */\n@Directive({\n selector: 'ng-template[wrLoadStateContent]',\n})\nexport class WrLoadStateContent<T = WrSafeAny> {\n /**\n * The resource the template draws, for the type checker: nothing reads it at\n * runtime. Bind the same resource as the wrapper's `[resource]`.\n */\n readonly wrLoadStateContentOf = input<Resource<T | undefined> | null | undefined>(undefined);\n\n readonly template = inject<TemplateRef<WrLoadStateContentContext<T>>>(TemplateRef);\n\n /**\n * Types the template's `let-` variables under `strictTemplates`. `T` defaults\n * to `WrSafeAny` for the reason `WrOptionLeading` gives: without\n * `[wrLoadStateContentOf]` nothing infers the value, and narrowed to\n * `unknown` every `value.length` would stop compiling.\n */\n // eslint-disable-next-line @typescript-eslint/no-unused-vars -- a guard's parameters exist to be narrowed, never read\n static ngTemplateContextGuard<T>(_dir: WrLoadStateContent<T>, _ctx: unknown): _ctx is WrLoadStateContentContext<T> {\n return true;\n }\n}\n\n/**\n * Replaces the default skeleton while `<wr-load-state>` loads for the first time.\n *\n * @example\n * ```html\n * <ng-template wrLoadStateLoading><wr-spinner /></ng-template>\n * ```\n */\n@Directive({\n selector: 'ng-template[wrLoadStateLoading]',\n})\nexport class WrLoadStateLoading {\n readonly template = inject<TemplateRef<void>>(TemplateRef);\n}\n\n/**\n * Replaces the default failure of `<wr-load-state>`. The context carries the\n * error, `retry()` and `retrying`; the error's message is the app's to show.\n *\n * @example\n * ```html\n * <ng-template wrLoadStateError let-error let-retry=\"retry\" let-retrying=\"retrying\">\n * <wr-alert type=\"danger\" title=\"Could not load\" [message]=\"error.message\">\n * <wr-btn wrAlertActions size=\"sm\" [loading]=\"retrying\" (click)=\"retry()\">Try again</wr-btn>\n * </wr-alert>\n * </ng-template>\n * ```\n */\n@Directive({\n selector: 'ng-template[wrLoadStateError]',\n})\nexport class WrLoadStateError<E = WrSafeAny> {\n readonly template = inject<TemplateRef<WrLoadStateErrorContext<E>>>(TemplateRef);\n\n /**\n * Types the template's `let-` variables under `strictTemplates`. `E` defaults\n * to `WrSafeAny` for the reason `WrOptionLeading` gives: nothing infers the error\n * type, and narrowed to `unknown`, `error.message` would not compile.\n */\n // eslint-disable-next-line @typescript-eslint/no-unused-vars -- a guard's parameters exist to be narrowed, never read\n static ngTemplateContextGuard<E>(_dir: WrLoadStateError<E>, _ctx: unknown): _ctx is WrLoadStateErrorContext<E> {\n return true;\n }\n}\n\n/**\n * Replaces the default `<wr-empty>` of `<wr-load-state>`.\n *\n * @example\n * ```html\n * <ng-template wrLoadStateEmpty>\n * <wr-empty title=\"No orders yet\"><wr-btn wrEmptyActions (click)=\"create()\">Create one</wr-btn></wr-empty>\n * </ng-template>\n * ```\n */\n@Directive({\n selector: 'ng-template[wrLoadStateEmpty]',\n})\nexport class WrLoadStateEmpty {\n readonly template = inject<TemplateRef<void>>(TemplateRef);\n}\n","/**\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 { NgTemplateOutlet } from '@angular/common';\nimport {\n Component,\n type Resource,\n ViewEncapsulation,\n type WritableResource,\n computed,\n contentChild,\n input,\n linkedSignal,\n output,\n} from '@angular/core';\n\nimport { WrButton } from 'ngwr/button';\nimport { WrEmpty } from 'ngwr/empty';\nimport { useI18nText } from 'ngwr/i18n';\nimport { WrResult } from 'ngwr/result';\nimport { WrSkeleton } from 'ngwr/skeleton';\nimport { wrNumAttr, type WrSafeAny, wrCheckStyles } from 'ngwr/utils';\n\nimport { WrLoadStateContent, WrLoadStateEmpty, WrLoadStateError, WrLoadStateLoading } from './load-state-templates';\nimport type { WrLoadStateContentContext, WrLoadStateErrorContext, WrLoadStateStatus } from './types';\n\n/** The default `isEmpty`: nothing, or a list with nothing in it. */\nconst isEmptyValue = (value: unknown): boolean => value == null || (Array.isArray(value) && value.length === 0);\n\n/**\n * One wrapper for the four states of a screen that loads: the skeleton, the\n * failure with a retry, the empty slot and the content. Give it a `resource`\n * and it reads the state from there; give it a `status` and the app decides.\n * Never both.\n *\n * The content and any custom part are templates, so nothing of the content is\n * created before it is ready. The defaults are `<wr-skeleton [lines]>`,\n * `<wr-result status=\"error\">` with a retry button, and `<wr-empty>`, so the\n * minimal use is the resource and a content template.\n *\n * What each resource status draws:\n *\n * | `resource.status()` | Drawn |\n * | --------------------- | --------------------------------------------------------------------- |\n * | `loading` | the skeleton |\n * | `reloading` | what was on screen, marked busy; the failure, with its button busy, after a failed load; the skeleton when there is no value yet |\n * | `error` | the failure |\n * | `resolved`, `local` | the empty slot when `isEmpty(value)`, else the content |\n * | `idle` | the content or the empty slot by `isEmpty`: nothing was asked for, so nothing loads |\n *\n * Accessibility: the host carries `aria-busy` while a load is in flight, the\n * failure's title is announced once through a polite live region, nothing is\n * announced for a reload that keeps the content, and focus is never moved.\n *\n * @example\n * ```html\n * <wr-load-state [resource]=\"users\">\n * <ng-template wrLoadStateContent [wrLoadStateContentOf]=\"users\" let-users>\n * <wr-table [items]=\"users\" [columns]=\"columns\" />\n * </ng-template>\n * </wr-load-state>\n *\n * <wr-load-state [status]=\"status()\" (retry)=\"load()\">\n * <ng-template wrLoadStateContent>{{ text() }}</ng-template>\n * </wr-load-state>\n * ```\n *\n * @see https://ngwr.dev/reference/components/load-state\n */\n@Component({\n selector: 'wr-load-state',\n templateUrl: './load-state.html',\n imports: [NgTemplateOutlet, WrSkeleton, WrResult, WrEmpty, WrButton],\n encapsulation: ViewEncapsulation.None,\n host: {\n class: 'wr-load-state',\n '[class]': 'classes()',\n '[attr.aria-busy]': 'busy() ? \"true\" : null',\n },\n})\nexport class WrLoadState<T = WrSafeAny> {\n constructor() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) wrCheckStyles('load-state');\n }\n\n /**\n * The state, when the app decides it. Ignored while `resource` is set.\n *\n * @default null\n */\n readonly status = input<WrLoadStateStatus | null>(null);\n\n /**\n * The resource to read the state from: `resource()`, `rxResource()` and\n * `httpResource()` alike. The retry button calls its `reload()`.\n *\n * @default null\n */\n readonly resource = input<Resource<T | undefined> | null>(null);\n\n /**\n * Decides whether a settled value shows the empty slot instead of the content.\n * The default is empty for `null`, `undefined` and an empty array.\n *\n * @default isEmptyValue\n */\n readonly isEmpty = input<(value: T | undefined) => boolean>(isEmptyValue);\n\n /**\n * How many lines the default skeleton draws.\n *\n * @default 3\n */\n readonly lines = input(3, { transform: wrNumAttr(3) });\n\n /** The failure's title. Falls back to `loadState.failed`, then `'Could not load'`. */\n readonly errorLabel = input<string | null>(null);\n\n /** The retry button's label. Falls back to `loadState.retry`, then `'Try again'`. */\n readonly retryLabel = input<string | null>(null);\n\n /** The default empty slot's title. Falls back to `empty.noData` through `<wr-empty>`. */\n readonly emptyLabel = input<string | null>(null);\n\n /**\n * Emitted when the retry button is pressed, once per press that starts a\n * retry. With a `resource`, `reload()` has been called as well.\n */\n readonly retry = output<void>();\n\n protected readonly resolvedErrorLabel = useI18nText(this.errorLabel, 'loadState.failed', 'Could not load');\n protected readonly resolvedRetryLabel = useI18nText(this.retryLabel, 'loadState.retry', 'Try again');\n\n protected readonly contentTpl = contentChild<WrLoadStateContent<T>>(WrLoadStateContent);\n protected readonly loadingTpl = contentChild(WrLoadStateLoading);\n protected readonly errorTpl = contentChild(WrLoadStateError);\n protected readonly emptyTpl = contentChild(WrLoadStateEmpty);\n\n protected readonly state = computed<WrLoadStateStatus>(() => {\n const resource = this.resource();\n if (!resource) return this.status() ?? 'loading';\n const status = resource.status();\n if (status === 'loading') return 'loading';\n if (status === 'error') return 'error';\n const held = resource.hasValue();\n if (status === 'reloading' && !held) return resource.error() !== undefined ? 'error' : 'loading';\n return this.isEmpty()(held ? resource.value() : undefined) ? 'empty' : 'ready';\n });\n\n /** A load is in flight: the first one, or a reload behind whatever is on screen. */\n protected readonly busy = computed(() => {\n const resource = this.resource();\n return resource ? resource.isLoading() : this.state() === 'loading';\n });\n\n /**\n * A press that has not reached the resource's status yet. `reload()` flips the\n * status in the same tick, so with a resource this covers only the gap before\n * it; with a `status` it holds until the app answers the `retry` output.\n */\n private readonly pressed = linkedSignal({\n source: () => [this.status(), this.resource()?.status()],\n computation: () => false,\n });\n\n protected readonly retrying = computed(() => this.pressed() || (this.resource()?.isLoading() ?? false));\n\n protected readonly classes = computed(() => {\n const parts = [`wr-load-state--${this.state()}`];\n if (this.busy()) parts.push('wr-load-state--busy');\n return parts.join(' ');\n });\n\n protected readonly contentContext = computed<WrLoadStateContentContext<T | undefined>>(() => {\n const resource = this.resource();\n return {\n $implicit: resource?.hasValue() ? resource.value() : undefined,\n reloading: this.busy(),\n };\n });\n\n protected readonly errorContext = computed<WrLoadStateErrorContext>(() => ({\n $implicit: this.resource()?.error(),\n retry: () => this.onRetry(),\n retrying: this.retrying(),\n }));\n\n /** A second press while one is in flight starts nothing. */\n protected onRetry(): void {\n if (this.retrying()) return;\n this.pressed.set(true);\n this.retry.emit();\n (this.resource() as Partial<WritableResource<T | undefined>> | null)?.reload?.();\n }\n}\n","@switch (state()) {\n @case ('loading') {\n @if (loadingTpl(); as custom) {\n <ng-container [ngTemplateOutlet]=\"custom.template\" />\n } @else {\n <wr-skeleton class=\"wr-load-state__skeleton\" [lines]=\"lines()\" />\n }\n }\n @case ('error') {\n @if (errorTpl(); as custom) {\n <ng-container [ngTemplateOutlet]=\"custom.template\" [ngTemplateOutletContext]=\"errorContext()\" />\n } @else {\n <wr-result class=\"wr-load-state__error\" status=\"error\" [title]=\"resolvedErrorLabel()\">\n <wr-btn wrResultExtra class=\"wr-load-state__retry\" size=\"sm\" [loading]=\"retrying()\" (click)=\"onRetry()\">\n {{ resolvedRetryLabel() }}\n </wr-btn>\n </wr-result>\n }\n }\n @case ('empty') {\n @if (emptyTpl(); as custom) {\n <ng-container [ngTemplateOutlet]=\"custom.template\" />\n } @else {\n <wr-empty class=\"wr-load-state__empty\" [title]=\"emptyLabel()\" />\n }\n }\n @case ('ready') {\n @if (contentTpl(); as custom) {\n <ng-container [ngTemplateOutlet]=\"custom.template\" [ngTemplateOutletContext]=\"contentContext()\" />\n }\n }\n}\n<!-- Always in the DOM, so a screen reader is watching it before the failure\n lands. The text leaves while a retry runs and comes back if that fails, so\n a second failure is announced too; a reload behind the content never\n touches it. -->\n<span class=\"wr-load-state__announce\" role=\"status\" aria-live=\"polite\">\n @if (state() === 'error' && !retrying()) {\n {{ resolvedErrorLabel() }}\n }\n</span>\n"],"mappings":";;;;;;;;;;;;;;;AAmCA,IAAa,qBAAb,MAAa,mBAAkB;CAKpB,uBAAuB,MAAkD,QAAU,GAAA,YAAA,CAAA,EAAA,WAAA,uBAAA,CAAA,+BAAA,CAAA,CAAA;CAEnF,WAAW,OAAkD,WAAW;CASjF,OAAO,uBAA0B,MAA6B,MAAa;EACzE,OAAO;CACT;CAlBW,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA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;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,YAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,YAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,YAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,OAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,OAAA;EAAA,CAAA;EAAA,YAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,GAAA,iBAAA,kBAAkB,GAAA,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;EAAA,YAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,GAAA,iBACzC,kBAAkB,GAAA,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;EAAA,UAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,GAAA,iBACpB,gBAAgB,GAAA,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;EAAA,UAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,GAAA,iBAChB,gBAAgB,GAAA,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;CAAA;AAAA,CAAA"}
|
|
1
|
+
{"version":3,"file":"ngwr-load-state.mjs","names":[],"sources":["../../../projects/lib/load-state/load-state-templates.ts","../../../projects/lib/load-state/load-state.ts","../../../projects/lib/load-state/load-state.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 { Directive, type Resource, TemplateRef, inject, input } from '@angular/core';\n\nimport type { WrSafeAny } from 'ngwr/utils';\n\nimport type { WrLoadStateContentContext, WrLoadStateErrorContext } from './types';\n\n/**\n * The content `<wr-load-state>` draws once the data is ready. A template rather\n * than projected content, so nothing of it is created before that: a plain\n * `<ng-content>` would be instantiated in every state.\n *\n * Name the resource through `[wrLoadStateContentOf]` and `let-value` arrives\n * typed. The input is read by the type checker only, the way `[wrTableCellOf]`\n * types a table cell: the wrapper hands the template the same context whether\n * or not it is set.\n *\n * @example\n * ```html\n * <wr-load-state [resource]=\"users\">\n * <ng-template wrLoadStateContent [wrLoadStateContentOf]=\"users\" let-users>\n * <wr-table [items]=\"users\" [columns]=\"columns\" />\n * </ng-template>\n * </wr-load-state>\n * ```\n */\n@Directive({\n selector: 'ng-template[wrLoadStateContent]',\n})\nexport class WrLoadStateContent<T = WrSafeAny> {\n /**\n * The resource the template draws, for the type checker: nothing reads it at\n * runtime. Bind the same resource as the wrapper's `[resource]`.\n */\n readonly wrLoadStateContentOf = input<Resource<T | undefined> | null | undefined>(undefined);\n\n readonly template = inject<TemplateRef<WrLoadStateContentContext<T>>>(TemplateRef);\n\n /**\n * Types the template's `let-` variables under `strictTemplates`. `T` defaults\n * to `WrSafeAny` for the reason `WrOptionLeading` gives: without\n * `[wrLoadStateContentOf]` nothing infers the value, and narrowed to\n * `unknown` every `value.length` would stop compiling.\n */\n // eslint-disable-next-line @typescript-eslint/no-unused-vars -- a guard's parameters exist to be narrowed, never read\n static ngTemplateContextGuard<T>(_dir: WrLoadStateContent<T>, _ctx: unknown): _ctx is WrLoadStateContentContext<T> {\n return true;\n }\n}\n\n/**\n * Replaces the default skeleton while `<wr-load-state>` loads for the first time.\n *\n * @example\n * ```html\n * <ng-template wrLoadStateLoading><wr-spinner /></ng-template>\n * ```\n */\n@Directive({\n selector: 'ng-template[wrLoadStateLoading]',\n})\nexport class WrLoadStateLoading {\n readonly template = inject<TemplateRef<void>>(TemplateRef);\n}\n\n/**\n * Replaces the default failure of `<wr-load-state>`. The context carries the\n * error, `retry()` and `retrying`; the error's message is the app's to show.\n *\n * @example\n * ```html\n * <ng-template wrLoadStateError let-error let-retry=\"retry\" let-retrying=\"retrying\">\n * <wr-alert type=\"danger\" title=\"Could not load\" [message]=\"error.message\">\n * <wr-btn wrAlertActions size=\"sm\" [loading]=\"retrying\" (click)=\"retry()\">Try again</wr-btn>\n * </wr-alert>\n * </ng-template>\n * ```\n */\n@Directive({\n selector: 'ng-template[wrLoadStateError]',\n})\nexport class WrLoadStateError<E = WrSafeAny> {\n readonly template = inject<TemplateRef<WrLoadStateErrorContext<E>>>(TemplateRef);\n\n /**\n * Types the template's `let-` variables under `strictTemplates`. `E` defaults\n * to `WrSafeAny` for the reason `WrOptionLeading` gives: nothing infers the error\n * type, and narrowed to `unknown`, `error.message` would not compile.\n */\n // eslint-disable-next-line @typescript-eslint/no-unused-vars -- a guard's parameters exist to be narrowed, never read\n static ngTemplateContextGuard<E>(_dir: WrLoadStateError<E>, _ctx: unknown): _ctx is WrLoadStateErrorContext<E> {\n return true;\n }\n}\n\n/**\n * Replaces the default `<wr-empty>` of `<wr-load-state>`.\n *\n * @example\n * ```html\n * <ng-template wrLoadStateEmpty>\n * <wr-empty title=\"No orders yet\"><wr-btn wrEmptyActions (click)=\"create()\">Create one</wr-btn></wr-empty>\n * </ng-template>\n * ```\n */\n@Directive({\n selector: 'ng-template[wrLoadStateEmpty]',\n})\nexport class WrLoadStateEmpty {\n readonly template = inject<TemplateRef<void>>(TemplateRef);\n}\n","/**\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 { NgTemplateOutlet } from '@angular/common';\nimport {\n Component,\n type Resource,\n ViewEncapsulation,\n type WritableResource,\n computed,\n contentChild,\n input,\n linkedSignal,\n output,\n} from '@angular/core';\n\nimport { WrButton } from 'ngwr/button';\nimport { WrEmpty } from 'ngwr/empty';\nimport { useI18nText } from 'ngwr/i18n';\nimport { WrResult } from 'ngwr/result';\nimport { WrSkeleton } from 'ngwr/skeleton';\nimport { wrNumAttr, type WrSafeAny, wrCheckStyles } from 'ngwr/utils';\n\nimport { WrLoadStateContent, WrLoadStateEmpty, WrLoadStateError, WrLoadStateLoading } from './load-state-templates';\nimport type { WrLoadStateContentContext, WrLoadStateErrorContext, WrLoadStateStatus } from './types';\n\n/** The default `isEmpty`: nothing, or a list with nothing in it. */\nconst isEmptyValue = (value: unknown): boolean => value == null || (Array.isArray(value) && value.length === 0);\n\n/**\n * One wrapper for the four states of a screen that loads: the skeleton, the\n * failure with a retry, the empty slot and the content. Give it a `resource`\n * and it reads the state from there; give it a `status` and the app decides.\n * Never both.\n *\n * The content and any custom part are templates, so nothing of the content is\n * created before it is ready. The defaults are `<wr-skeleton [lines]>`,\n * `<wr-result status=\"error\">` with a retry button, and `<wr-empty>`, so the\n * minimal use is the resource and a content template.\n *\n * What each resource status draws:\n *\n * | `resource.status()` | Drawn |\n * | --------------------- | --------------------------------------------------------------------- |\n * | `loading` | the skeleton |\n * | `reloading` | what was on screen, marked busy; the failure, with its button busy, after a failed load; the skeleton when there is no value yet |\n * | `error` | the failure |\n * | `resolved`, `local` | the empty slot when `isEmpty(value)`, else the content |\n * | `idle` | the content or the empty slot by `isEmpty`: nothing was asked for, so nothing loads |\n *\n * Accessibility: the host carries `aria-busy` while a load is in flight, the\n * failure's title is announced once through a polite live region, nothing is\n * announced for a reload that keeps the content, and focus is never moved.\n *\n * @example\n * ```html\n * <wr-load-state [resource]=\"users\">\n * <ng-template wrLoadStateContent [wrLoadStateContentOf]=\"users\" let-users>\n * <wr-table [items]=\"users\" [columns]=\"columns\" />\n * </ng-template>\n * </wr-load-state>\n *\n * <wr-load-state [status]=\"status()\" (retry)=\"load()\">\n * <ng-template wrLoadStateContent>{{ text() }}</ng-template>\n * </wr-load-state>\n * ```\n *\n * @see https://ngwr.dev/reference/components/load-state\n */\n@Component({\n selector: 'wr-load-state',\n templateUrl: './load-state.html',\n imports: [NgTemplateOutlet, WrSkeleton, WrResult, WrEmpty, WrButton],\n encapsulation: ViewEncapsulation.None,\n host: {\n class: 'wr-load-state',\n '[class]': 'classes()',\n '[attr.aria-busy]': 'busy() ? \"true\" : null',\n },\n})\nexport class WrLoadState<T = WrSafeAny> {\n constructor() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) wrCheckStyles('load-state');\n }\n\n /**\n * The state, when the app decides it. Ignored while `resource` is set.\n *\n * @default null\n */\n readonly status = input<WrLoadStateStatus | null>(null);\n\n /**\n * The resource to read the state from: `resource()`, `rxResource()` and\n * `httpResource()` alike. The retry button calls its `reload()`.\n *\n * @default null\n */\n readonly resource = input<Resource<T | undefined> | null>(null);\n\n /**\n * Decides whether a settled value shows the empty slot instead of the content.\n * The default is empty for `null`, `undefined` and an empty array.\n *\n * @default isEmptyValue\n */\n readonly isEmpty = input<(value: T | undefined) => boolean>(isEmptyValue);\n\n /**\n * How many lines the default skeleton draws.\n *\n * @default 3\n */\n readonly lines = input(3, { transform: wrNumAttr(3) });\n\n /** The failure's title. Falls back to `loadState.failed`, then `'Could not load'`. */\n readonly errorLabel = input<string | null>(null);\n\n /** The retry button's label. Falls back to `loadState.retry`, then `'Try again'`. */\n readonly retryLabel = input<string | null>(null);\n\n /** The default empty slot's title. Falls back to `empty.noData` through `<wr-empty>`. */\n readonly emptyLabel = input<string | null>(null);\n\n /**\n * Emitted when the retry button is pressed, once per press that starts a\n * retry. With a `resource`, `reload()` has been called as well.\n */\n readonly retry = output<void>();\n\n protected readonly resolvedErrorLabel = useI18nText(this.errorLabel, 'loadState.failed', 'Could not load');\n protected readonly resolvedRetryLabel = useI18nText(this.retryLabel, 'loadState.retry', 'Try again');\n\n protected readonly contentTpl = contentChild<WrLoadStateContent<T>>(WrLoadStateContent);\n protected readonly loadingTpl = contentChild(WrLoadStateLoading);\n protected readonly errorTpl = contentChild(WrLoadStateError);\n protected readonly emptyTpl = contentChild(WrLoadStateEmpty);\n\n protected readonly state = computed<WrLoadStateStatus>(() => {\n const resource = this.resource();\n if (!resource) return this.status() ?? 'loading';\n const status = resource.status();\n if (status === 'loading') return 'loading';\n if (status === 'error') return 'error';\n const held = resource.hasValue();\n if (status === 'reloading' && !held) return resource.error() !== undefined ? 'error' : 'loading';\n return this.isEmpty()(held ? resource.value() : undefined) ? 'empty' : 'ready';\n });\n\n /** A load is in flight: the first one, or a reload behind whatever is on screen. */\n protected readonly busy = computed(() => {\n const resource = this.resource();\n return resource ? resource.isLoading() : this.state() === 'loading';\n });\n\n /**\n * A press that has not reached the resource's status yet. `reload()` flips the\n * status in the same tick, so with a resource this covers only the gap before\n * it; with a `status` it holds until the app answers the `retry` output.\n */\n private readonly pressed = linkedSignal({\n source: () => [this.status(), this.resource()?.status()],\n computation: () => false,\n });\n\n protected readonly retrying = computed(() => this.pressed() || (this.resource()?.isLoading() ?? false));\n\n protected readonly classes = computed(() => {\n const parts = [`wr-load-state--${this.state()}`];\n if (this.busy()) parts.push('wr-load-state--busy');\n return parts.join(' ');\n });\n\n protected readonly contentContext = computed<WrLoadStateContentContext<T | undefined>>(() => {\n const resource = this.resource();\n return {\n $implicit: resource?.hasValue() ? resource.value() : undefined,\n reloading: this.busy(),\n };\n });\n\n protected readonly errorContext = computed<WrLoadStateErrorContext>(() => ({\n $implicit: this.resource()?.error(),\n retry: () => this.onRetry(),\n retrying: this.retrying(),\n }));\n\n /** A second press while one is in flight starts nothing. */\n protected onRetry(): void {\n if (this.retrying()) return;\n this.pressed.set(true);\n this.retry.emit();\n (this.resource() as Partial<WritableResource<T | undefined>> | null)?.reload?.();\n }\n}\n","@switch (state()) {\n @case ('loading') {\n @if (loadingTpl(); as custom) {\n <ng-container [ngTemplateOutlet]=\"custom.template\" />\n } @else {\n <wr-skeleton class=\"wr-load-state__skeleton\" [lines]=\"lines()\" />\n }\n }\n @case ('error') {\n @if (errorTpl(); as custom) {\n <ng-container [ngTemplateOutlet]=\"custom.template\" [ngTemplateOutletContext]=\"errorContext()\" />\n } @else {\n <wr-result class=\"wr-load-state__error\" status=\"error\" [title]=\"resolvedErrorLabel()\">\n <wr-btn wrResultExtra class=\"wr-load-state__retry\" size=\"sm\" [loading]=\"retrying()\" (click)=\"onRetry()\">\n {{ resolvedRetryLabel() }}\n </wr-btn>\n </wr-result>\n }\n }\n @case ('empty') {\n @if (emptyTpl(); as custom) {\n <ng-container [ngTemplateOutlet]=\"custom.template\" />\n } @else {\n <wr-empty class=\"wr-load-state__empty\" [title]=\"emptyLabel()\" />\n }\n }\n @case ('ready') {\n @if (contentTpl(); as custom) {\n <ng-container [ngTemplateOutlet]=\"custom.template\" [ngTemplateOutletContext]=\"contentContext()\" />\n }\n }\n}\n<!-- Always in the DOM, so a screen reader is watching it before the failure\n lands. The text leaves while a retry runs and comes back if that fails, so\n a second failure is announced too; a reload behind the content never\n touches it. -->\n<span class=\"wr-load-state__announce\" role=\"status\" aria-live=\"polite\">\n @if (state() === 'error' && !retrying()) {\n {{ resolvedErrorLabel() }}\n }\n</span>\n"],"mappings":";;;;;;;;;;;;;;;AAmCA,IAAa,qBAAb,MAAa,mBAAkB;CAKpB,uBAAuB,MAAkD,QAAU,GAAA,YAAA,CAAA,EAAA,WAAA,uBAAA,CAAA,+BAAA,CAAA,CAAA;CAEnF,WAAW,OAAkD,WAAW;CASjF,OAAO,uBAA0B,MAA6B,MAAa;EACzE,OAAO;CACT;CAlBW,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAAkB,MAAA,CAAA;EAAA,QAAA,GAAA,gBAAA;CAAA,CAAA;CAAlB,OAAA,OAAA,GAAA,qBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,MAAA;EAAkB,cAAA;EAAA,UAAA;EAAA,QAAA,EAAA,sBAAA;GAAA,mBAAA;GAAA,YAAA;GAAA,UAAA;GAAA,YAAA;GAAA,mBAAA;EAAA,EAAA;EAAA,UAAA;CAAA,CAAA;;AAAlB,GAAA,yBAAA;CAAA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GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,OAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,OAAA;EAAA,CAAA;EAAA,YAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,GAAA,iBAAA,kBAAkB,GAAA,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;EAAA,YAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,GAAA,iBACzC,kBAAkB,GAAA,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;EAAA,UAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,GAAA,iBACpB,gBAAgB,GAAA,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;EAAA,UAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,GAAA,iBAChB,gBAAgB,GAAA,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;CAAA;AAAA,CAAA"}
|
|
@@ -69,7 +69,7 @@ var WrLoadingBar = class WrLoadingBar {
|
|
|
69
69
|
}
|
|
70
70
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
71
71
|
minVersion: "12.0.0",
|
|
72
|
-
version: "22.
|
|
72
|
+
version: "22.3.0",
|
|
73
73
|
ngImport: i0,
|
|
74
74
|
type: WrLoadingBar,
|
|
75
75
|
deps: [],
|
|
@@ -77,14 +77,14 @@ var WrLoadingBar = class WrLoadingBar {
|
|
|
77
77
|
});
|
|
78
78
|
static ɵprov = i0.ɵɵngDeclareService({
|
|
79
79
|
minVersion: "22.0.0",
|
|
80
|
-
version: "22.
|
|
80
|
+
version: "22.3.0",
|
|
81
81
|
ngImport: i0,
|
|
82
82
|
type: WrLoadingBar
|
|
83
83
|
});
|
|
84
84
|
};
|
|
85
85
|
i0.ɵɵngDeclareClassMetadata({
|
|
86
86
|
minVersion: "12.0.0",
|
|
87
|
-
version: "22.
|
|
87
|
+
version: "22.3.0",
|
|
88
88
|
ngImport: i0,
|
|
89
89
|
type: WrLoadingBar,
|
|
90
90
|
decorators: [{ type: Service }]
|
|
@@ -102,7 +102,7 @@ var WrLoadingBarComponent = class WrLoadingBarComponent {
|
|
|
102
102
|
active = computed(() => this.bar.state() !== "idle", ...ngDevMode ? [{ debugName: "active" }] : /* istanbul ignore next */ []);
|
|
103
103
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
104
104
|
minVersion: "12.0.0",
|
|
105
|
-
version: "22.
|
|
105
|
+
version: "22.3.0",
|
|
106
106
|
ngImport: i0,
|
|
107
107
|
type: WrLoadingBarComponent,
|
|
108
108
|
deps: [],
|
|
@@ -110,7 +110,7 @@ var WrLoadingBarComponent = class WrLoadingBarComponent {
|
|
|
110
110
|
});
|
|
111
111
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
112
112
|
minVersion: "17.1.0",
|
|
113
|
-
version: "22.
|
|
113
|
+
version: "22.3.0",
|
|
114
114
|
type: WrLoadingBarComponent,
|
|
115
115
|
isStandalone: true,
|
|
116
116
|
selector: "wr-loading-bar",
|
|
@@ -139,7 +139,7 @@ var WrLoadingBarComponent = class WrLoadingBarComponent {
|
|
|
139
139
|
};
|
|
140
140
|
i0.ɵɵngDeclareClassMetadata({
|
|
141
141
|
minVersion: "12.0.0",
|
|
142
|
-
version: "22.
|
|
142
|
+
version: "22.3.0",
|
|
143
143
|
ngImport: i0,
|
|
144
144
|
type: WrLoadingBarComponent,
|
|
145
145
|
decorators: [{
|
|
@@ -121,7 +121,7 @@ var WrMentionPanel = class WrMentionPanel {
|
|
|
121
121
|
}
|
|
122
122
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
123
123
|
minVersion: "12.0.0",
|
|
124
|
-
version: "22.
|
|
124
|
+
version: "22.3.0",
|
|
125
125
|
ngImport: i0,
|
|
126
126
|
type: WrMentionPanel,
|
|
127
127
|
deps: [],
|
|
@@ -129,7 +129,7 @@ var WrMentionPanel = class WrMentionPanel {
|
|
|
129
129
|
});
|
|
130
130
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
131
131
|
minVersion: "17.0.0",
|
|
132
|
-
version: "22.
|
|
132
|
+
version: "22.3.0",
|
|
133
133
|
type: WrMentionPanel,
|
|
134
134
|
isStandalone: true,
|
|
135
135
|
selector: "wr-mention-panel",
|
|
@@ -182,7 +182,7 @@ var WrMentionPanel = class WrMentionPanel {
|
|
|
182
182
|
};
|
|
183
183
|
i0.ɵɵngDeclareClassMetadata({
|
|
184
184
|
minVersion: "12.0.0",
|
|
185
|
-
version: "22.
|
|
185
|
+
version: "22.3.0",
|
|
186
186
|
ngImport: i0,
|
|
187
187
|
type: WrMentionPanel,
|
|
188
188
|
decorators: [{
|
|
@@ -540,7 +540,7 @@ var WrMention = class WrMention {
|
|
|
540
540
|
}
|
|
541
541
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
542
542
|
minVersion: "12.0.0",
|
|
543
|
-
version: "22.
|
|
543
|
+
version: "22.3.0",
|
|
544
544
|
ngImport: i0,
|
|
545
545
|
type: WrMention,
|
|
546
546
|
deps: [],
|
|
@@ -548,7 +548,7 @@ var WrMention = class WrMention {
|
|
|
548
548
|
});
|
|
549
549
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
550
550
|
minVersion: "17.1.0",
|
|
551
|
-
version: "22.
|
|
551
|
+
version: "22.3.0",
|
|
552
552
|
type: WrMention,
|
|
553
553
|
isStandalone: true,
|
|
554
554
|
selector: "[wrMention]",
|
|
@@ -629,7 +629,7 @@ var WrMention = class WrMention {
|
|
|
629
629
|
};
|
|
630
630
|
i0.ɵɵngDeclareClassMetadata({
|
|
631
631
|
minVersion: "12.0.0",
|
|
632
|
-
version: "22.
|
|
632
|
+
version: "22.3.0",
|
|
633
633
|
ngImport: i0,
|
|
634
634
|
type: WrMention,
|
|
635
635
|
decorators: [{
|
package/fesm2022/ngwr-meta.mjs
CHANGED
|
@@ -189,7 +189,7 @@ var WrMeta = class WrMeta {
|
|
|
189
189
|
}
|
|
190
190
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
191
191
|
minVersion: "12.0.0",
|
|
192
|
-
version: "22.
|
|
192
|
+
version: "22.3.0",
|
|
193
193
|
ngImport: i0,
|
|
194
194
|
type: WrMeta,
|
|
195
195
|
deps: [],
|
|
@@ -197,14 +197,14 @@ var WrMeta = class WrMeta {
|
|
|
197
197
|
});
|
|
198
198
|
static ɵprov = i0.ɵɵngDeclareService({
|
|
199
199
|
minVersion: "22.0.0",
|
|
200
|
-
version: "22.
|
|
200
|
+
version: "22.3.0",
|
|
201
201
|
ngImport: i0,
|
|
202
202
|
type: WrMeta
|
|
203
203
|
});
|
|
204
204
|
};
|
|
205
205
|
i0.ɵɵngDeclareClassMetadata({
|
|
206
206
|
minVersion: "12.0.0",
|
|
207
|
-
version: "22.
|
|
207
|
+
version: "22.3.0",
|
|
208
208
|
ngImport: i0,
|
|
209
209
|
type: WrMeta,
|
|
210
210
|
decorators: [{ type: Service }],
|
|
@@ -232,7 +232,7 @@ var WrMetaBinding = class WrMetaBinding {
|
|
|
232
232
|
}
|
|
233
233
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
234
234
|
minVersion: "12.0.0",
|
|
235
|
-
version: "22.
|
|
235
|
+
version: "22.3.0",
|
|
236
236
|
ngImport: i0,
|
|
237
237
|
type: WrMetaBinding,
|
|
238
238
|
deps: [],
|
|
@@ -240,7 +240,7 @@ var WrMetaBinding = class WrMetaBinding {
|
|
|
240
240
|
});
|
|
241
241
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
242
242
|
minVersion: "17.1.0",
|
|
243
|
-
version: "22.
|
|
243
|
+
version: "22.3.0",
|
|
244
244
|
type: WrMetaBinding,
|
|
245
245
|
isStandalone: true,
|
|
246
246
|
selector: "[wrMeta]",
|
|
@@ -256,7 +256,7 @@ var WrMetaBinding = class WrMetaBinding {
|
|
|
256
256
|
};
|
|
257
257
|
i0.ɵɵngDeclareClassMetadata({
|
|
258
258
|
minVersion: "12.0.0",
|
|
259
|
-
version: "22.
|
|
259
|
+
version: "22.3.0",
|
|
260
260
|
ngImport: i0,
|
|
261
261
|
type: WrMetaBinding,
|
|
262
262
|
decorators: [{
|