ngwr 16.2.0 → 16.4.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/badge/styles/_tag.scss +73 -1
- package/calendar/styles/_index.scss +22 -0
- package/carousel/styles/_index.scss +53 -1
- package/cascader/styles/_rules.scss +7 -0
- package/color-picker/styles/_index.scss +21 -0
- package/date-picker/styles/_index.scss +19 -0
- package/dropdown/styles/_index.scss +13 -19
- package/fesm2022/ngwr-affix.mjs +3 -3
- package/fesm2022/ngwr-alert-testing.mjs +70 -0
- package/fesm2022/ngwr-alert-testing.mjs.map +1 -0
- package/fesm2022/ngwr-alert.mjs +3 -3
- package/fesm2022/ngwr-anchor.mjs +17 -6
- package/fesm2022/ngwr-anchor.mjs.map +1 -1
- 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 +3 -3
- 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 +3 -3
- package/fesm2022/ngwr-back-top.mjs +3 -3
- package/fesm2022/ngwr-badge.mjs +129 -11
- package/fesm2022/ngwr-badge.mjs.map +1 -1
- package/fesm2022/ngwr-breadcrumbs-testing.mjs +83 -0
- package/fesm2022/ngwr-breadcrumbs-testing.mjs.map +1 -0
- package/fesm2022/ngwr-breadcrumbs.mjs +8 -8
- package/fesm2022/ngwr-breadcrumbs.mjs.map +1 -1
- package/fesm2022/ngwr-burger-testing.mjs +45 -0
- package/fesm2022/ngwr-burger-testing.mjs.map +1 -0
- package/fesm2022/ngwr-burger.mjs +3 -3
- package/fesm2022/ngwr-button.mjs +6 -6
- package/fesm2022/ngwr-calendar-testing.mjs +18 -0
- package/fesm2022/ngwr-calendar-testing.mjs.map +1 -1
- package/fesm2022/ngwr-calendar.mjs +500 -73
- package/fesm2022/ngwr-calendar.mjs.map +1 -1
- package/fesm2022/ngwr-card.mjs +9 -9
- package/fesm2022/ngwr-carousel-testing.mjs +24 -1
- package/fesm2022/ngwr-carousel-testing.mjs.map +1 -1
- package/fesm2022/ngwr-carousel.mjs +73 -10
- package/fesm2022/ngwr-carousel.mjs.map +1 -1
- package/fesm2022/ngwr-cascader.mjs +45 -37
- package/fesm2022/ngwr-cascader.mjs.map +1 -1
- package/fesm2022/ngwr-charts-bar-chart.mjs +5 -4
- package/fesm2022/ngwr-charts-bar-chart.mjs.map +1 -1
- 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 +26 -11
- package/fesm2022/ngwr-charts-chart-legend.mjs.map +1 -1
- package/fesm2022/ngwr-charts-core.mjs +3 -3
- package/fesm2022/ngwr-charts-donut-chart.mjs +5 -4
- package/fesm2022/ngwr-charts-donut-chart.mjs.map +1 -1
- 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-testing.mjs +3 -2
- package/fesm2022/ngwr-charts-line-chart-testing.mjs.map +1 -1
- package/fesm2022/ngwr-charts-line-chart.mjs +17 -7
- package/fesm2022/ngwr-charts-line-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-meter-group.mjs +5 -4
- package/fesm2022/ngwr-charts-meter-group.mjs.map +1 -1
- package/fesm2022/ngwr-charts-radar-chart.mjs +5 -4
- package/fesm2022/ngwr-charts-radar-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-scatter-chart.mjs +5 -4
- package/fesm2022/ngwr-charts-scatter-chart.mjs.map +1 -1
- 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-testing.mjs +11 -1
- package/fesm2022/ngwr-color-picker-testing.mjs.map +1 -1
- package/fesm2022/ngwr-color-picker.mjs +153 -37
- package/fesm2022/ngwr-color-picker.mjs.map +1 -1
- package/fesm2022/ngwr-command-palette.mjs +3 -3
- package/fesm2022/ngwr-comment.mjs +10 -6
- package/fesm2022/ngwr-comment.mjs.map +1 -1
- package/fesm2022/ngwr-compare-testing.mjs +84 -0
- package/fesm2022/ngwr-compare-testing.mjs.map +1 -0
- package/fesm2022/ngwr-compare.mjs +3 -3
- package/fesm2022/ngwr-context-menu.mjs +28 -13
- package/fesm2022/ngwr-context-menu.mjs.map +1 -1
- 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 +30 -4
- package/fesm2022/ngwr-date-picker-testing.mjs.map +1 -1
- package/fesm2022/ngwr-date-picker.mjs +342 -69
- package/fesm2022/ngwr-date-picker.mjs.map +1 -1
- package/fesm2022/ngwr-date-stamp.mjs +3 -3
- package/fesm2022/ngwr-date.mjs +59 -8
- 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 +18 -18
- package/fesm2022/ngwr-directives.mjs +15 -15
- package/fesm2022/ngwr-divider.mjs +3 -3
- package/fesm2022/ngwr-drawer.mjs +51 -29
- package/fesm2022/ngwr-drawer.mjs.map +1 -1
- package/fesm2022/ngwr-dropdown-testing.mjs +11 -3
- package/fesm2022/ngwr-dropdown-testing.mjs.map +1 -1
- package/fesm2022/ngwr-dropdown.mjs +70 -99
- package/fesm2022/ngwr-dropdown.mjs.map +1 -1
- package/fesm2022/ngwr-editor.mjs +4 -3
- package/fesm2022/ngwr-editor.mjs.map +1 -1
- package/fesm2022/ngwr-empty.mjs +3 -3
- package/fesm2022/ngwr-event-calendar.mjs +186 -33
- package/fesm2022/ngwr-event-calendar.mjs.map +1 -1
- package/fesm2022/ngwr-file-upload-testing.mjs +34 -2
- package/fesm2022/ngwr-file-upload-testing.mjs.map +1 -1
- package/fesm2022/ngwr-file-upload.mjs +279 -16
- package/fesm2022/ngwr-file-upload.mjs.map +1 -1
- package/fesm2022/ngwr-form.mjs +9 -9
- 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 +664 -43
- package/fesm2022/ngwr-graph.mjs.map +1 -1
- package/fesm2022/ngwr-hotkey.mjs +6 -6
- package/fesm2022/ngwr-i18n-ar.mjs +27 -8
- package/fesm2022/ngwr-i18n-ar.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-cs.mjs +27 -8
- package/fesm2022/ngwr-i18n-cs.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-de.mjs +27 -8
- package/fesm2022/ngwr-i18n-de.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-en.mjs +27 -8
- package/fesm2022/ngwr-i18n-en.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-es.mjs +27 -8
- package/fesm2022/ngwr-i18n-es.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-fr.mjs +27 -8
- package/fesm2022/ngwr-i18n-fr.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-he.mjs +27 -8
- package/fesm2022/ngwr-i18n-he.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-hi.mjs +27 -8
- package/fesm2022/ngwr-i18n-hi.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-id.mjs +27 -8
- package/fesm2022/ngwr-i18n-id.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-it.mjs +27 -8
- package/fesm2022/ngwr-i18n-it.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ja.mjs +27 -8
- package/fesm2022/ngwr-i18n-ja.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ko.mjs +27 -8
- package/fesm2022/ngwr-i18n-ko.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-nl.mjs +27 -8
- package/fesm2022/ngwr-i18n-nl.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-pl.mjs +27 -8
- package/fesm2022/ngwr-i18n-pl.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-pt.mjs +27 -8
- package/fesm2022/ngwr-i18n-pt.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ru.mjs +27 -8
- package/fesm2022/ngwr-i18n-ru.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-sv.mjs +27 -8
- package/fesm2022/ngwr-i18n-sv.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-tr.mjs +27 -8
- package/fesm2022/ngwr-i18n-tr.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-uk.mjs +27 -8
- package/fesm2022/ngwr-i18n-uk.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-vi.mjs +27 -8
- package/fesm2022/ngwr-i18n-vi.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-zh-tw.mjs +27 -8
- package/fesm2022/ngwr-i18n-zh-tw.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-zh.mjs +27 -8
- 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 +3 -3
- package/fesm2022/ngwr-input-number-testing.mjs +11 -0
- package/fesm2022/ngwr-input-number-testing.mjs.map +1 -1
- package/fesm2022/ngwr-input-number.mjs +68 -7
- package/fesm2022/ngwr-input-number.mjs.map +1 -1
- package/fesm2022/ngwr-input-otp.mjs +23 -3
- package/fesm2022/ngwr-input-otp.mjs.map +1 -1
- package/fesm2022/ngwr-input-testing.mjs +24 -1
- package/fesm2022/ngwr-input-testing.mjs.map +1 -1
- package/fesm2022/ngwr-input.mjs +152 -36
- package/fesm2022/ngwr-input.mjs.map +1 -1
- 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 +15 -15
- 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 +175 -13
- package/fesm2022/ngwr-overlay.mjs.map +1 -1
- package/fesm2022/ngwr-page-header.mjs +3 -3
- package/fesm2022/ngwr-pagination.mjs +6 -3
- package/fesm2022/ngwr-pagination.mjs.map +1 -1
- package/fesm2022/ngwr-pipes.mjs +31 -29
- package/fesm2022/ngwr-pipes.mjs.map +1 -1
- package/fesm2022/ngwr-platform.mjs +9 -9
- package/fesm2022/ngwr-popconfirm-testing.mjs +5 -2
- package/fesm2022/ngwr-popconfirm-testing.mjs.map +1 -1
- package/fesm2022/ngwr-popconfirm.mjs +44 -63
- package/fesm2022/ngwr-popconfirm.mjs.map +1 -1
- package/fesm2022/ngwr-popover-testing.mjs +7 -1
- package/fesm2022/ngwr-popover-testing.mjs.map +1 -1
- package/fesm2022/ngwr-popover.mjs +58 -156
- package/fesm2022/ngwr-popover.mjs.map +1 -1
- package/fesm2022/ngwr-progress.mjs +50 -9
- package/fesm2022/ngwr-progress.mjs.map +1 -1
- package/fesm2022/ngwr-pull-to-refresh-testing.mjs +57 -0
- package/fesm2022/ngwr-pull-to-refresh-testing.mjs.map +1 -0
- 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-testing.mjs +113 -0
- package/fesm2022/ngwr-resizable-testing.mjs.map +1 -0
- package/fesm2022/ngwr-resizable.mjs +3 -3
- package/fesm2022/ngwr-result.mjs +12 -12
- package/fesm2022/ngwr-schema-form-testing.mjs +336 -0
- package/fesm2022/ngwr-schema-form-testing.mjs.map +1 -0
- package/fesm2022/ngwr-schema-form.mjs +416 -19
- package/fesm2022/ngwr-schema-form.mjs.map +1 -1
- package/fesm2022/ngwr-scroll.mjs +3 -3
- package/fesm2022/ngwr-segmented.mjs +3 -3
- package/fesm2022/ngwr-select-testing.mjs +19 -0
- package/fesm2022/ngwr-select-testing.mjs.map +1 -1
- package/fesm2022/ngwr-select.mjs +361 -84
- package/fesm2022/ngwr-select.mjs.map +1 -1
- package/fesm2022/ngwr-sidebar-testing.mjs +176 -0
- package/fesm2022/ngwr-sidebar-testing.mjs.map +1 -0
- package/fesm2022/ngwr-sidebar.mjs +3 -3
- package/fesm2022/ngwr-skeleton.mjs +3 -3
- package/fesm2022/ngwr-slider-testing.mjs +6 -0
- package/fesm2022/ngwr-slider-testing.mjs.map +1 -1
- package/fesm2022/ngwr-slider.mjs +21 -3
- package/fesm2022/ngwr-slider.mjs.map +1 -1
- package/fesm2022/ngwr-sortable-list.mjs +29 -12
- 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 +42 -11
- package/fesm2022/ngwr-stepper.mjs.map +1 -1
- package/fesm2022/ngwr-storage.mjs +3 -3
- package/fesm2022/ngwr-switch.mjs +3 -3
- package/fesm2022/ngwr-table-testing.mjs +157 -3
- package/fesm2022/ngwr-table-testing.mjs.map +1 -1
- package/fesm2022/ngwr-table.mjs +1051 -74
- package/fesm2022/ngwr-table.mjs.map +1 -1
- package/fesm2022/ngwr-tabs-router.mjs +3 -3
- package/fesm2022/ngwr-tabs-testing.mjs +1 -1
- package/fesm2022/ngwr-tabs-testing.mjs.map +1 -1
- package/fesm2022/ngwr-tabs.mjs +15 -10
- package/fesm2022/ngwr-tabs.mjs.map +1 -1
- package/fesm2022/ngwr-textarea-testing.mjs +11 -0
- package/fesm2022/ngwr-textarea-testing.mjs.map +1 -1
- package/fesm2022/ngwr-textarea.mjs +128 -16
- package/fesm2022/ngwr-textarea.mjs.map +1 -1
- package/fesm2022/ngwr-theme.mjs +3 -3
- package/fesm2022/ngwr-timeline.mjs +6 -6
- package/fesm2022/ngwr-toast.mjs +40 -19
- package/fesm2022/ngwr-toast.mjs.map +1 -1
- package/fesm2022/ngwr-toolbar.mjs +3 -3
- package/fesm2022/ngwr-tour-testing.mjs +13 -1
- package/fesm2022/ngwr-tour-testing.mjs.map +1 -1
- package/fesm2022/ngwr-tour.mjs +19 -15
- package/fesm2022/ngwr-tour.mjs.map +1 -1
- package/fesm2022/ngwr-transfer-testing.mjs +6 -0
- package/fesm2022/ngwr-transfer-testing.mjs.map +1 -1
- package/fesm2022/ngwr-transfer.mjs +24 -5
- package/fesm2022/ngwr-transfer.mjs.map +1 -1
- package/fesm2022/ngwr-tree-testing.mjs +62 -2
- package/fesm2022/ngwr-tree-testing.mjs.map +1 -1
- package/fesm2022/ngwr-tree.mjs +978 -79
- package/fesm2022/ngwr-tree.mjs.map +1 -1
- package/fesm2022/ngwr-typography.mjs +3 -3
- package/fesm2022/ngwr-utils-router.mjs +3 -3
- package/fesm2022/ngwr-utils.mjs +97 -1
- 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 +33 -22
- package/fesm2022/ngwr-window.mjs.map +1 -1
- package/file-upload/styles/_index.scss +156 -0
- package/graph/styles/_index.scss +87 -0
- package/i18n/ar.json +29 -8
- package/i18n/cs.json +29 -8
- package/i18n/de.json +29 -8
- package/i18n/en.json +29 -8
- package/i18n/es.json +29 -8
- package/i18n/fr.json +29 -8
- package/i18n/he.json +29 -8
- package/i18n/hi.json +29 -8
- package/i18n/id.json +29 -8
- package/i18n/it.json +29 -8
- package/i18n/ja.json +29 -8
- package/i18n/ko.json +29 -8
- package/i18n/nl.json +29 -8
- package/i18n/pl.json +29 -8
- package/i18n/pt.json +29 -8
- package/i18n/ru.json +29 -8
- package/i18n/sv.json +29 -8
- package/i18n/tr.json +29 -8
- package/i18n/uk.json +29 -8
- package/i18n/vi.json +29 -8
- package/i18n/zh-TW.json +29 -8
- package/i18n/zh.json +29 -8
- package/input/styles/_index.scss +68 -1
- package/input-otp/styles/_index.scss +14 -0
- package/llms-full.txt +53 -21
- package/llms.txt +57 -24
- package/overlay/styles/_arrow.scss +4 -4
- package/package.json +33 -1
- package/popconfirm/styles/_index.scss +3 -11
- package/progress/styles/_index.scss +32 -0
- package/schema-form/styles/_index.scss +78 -0
- package/schematics/collection.json +5 -0
- package/schematics/eject/index.js +158 -0
- package/schematics/eject/schema.js +8 -0
- package/schematics/eject/schema.json +24 -0
- package/schematics/eject/source.js +295 -0
- package/schematics/use/rule.js +2 -0
- package/schematics/use/symbol-map.json +5 -0
- package/select/styles/_index.scss +127 -22
- package/skills/ngwr/SKILL.md +31 -4
- package/skills/ngwr/references/catalog.md +9 -1
- package/slider/styles/_index.scss +22 -0
- package/table/styles/_index.scss +191 -3
- package/textarea/styles/_index.scss +80 -0
- package/theme/styles/_focus.scss +16 -1
- package/theme/styles/_motion.scss +5 -0
- package/transfer/styles/_index.scss +84 -0
- package/tree/styles/_index.scss +138 -5
- package/types/ngwr-alert-testing.d.ts +88 -0
- package/types/ngwr-badge.d.ts +72 -2
- package/types/ngwr-breadcrumbs-testing.d.ts +92 -0
- package/types/ngwr-burger-testing.d.ts +51 -0
- package/types/ngwr-calendar-testing.d.ts +18 -6
- package/types/ngwr-calendar.d.ts +272 -22
- package/types/ngwr-carousel-testing.d.ts +27 -6
- package/types/ngwr-carousel.d.ts +42 -6
- package/types/ngwr-cascader.d.ts +13 -6
- package/types/ngwr-charts-chart-legend.d.ts +9 -4
- package/types/ngwr-charts-line-chart-testing.d.ts +4 -1
- package/types/ngwr-charts-line-chart.d.ts +7 -4
- package/types/ngwr-color-picker-testing.d.ts +15 -4
- package/types/ngwr-color-picker.d.ts +76 -6
- package/types/ngwr-compare-testing.d.ts +72 -0
- package/types/ngwr-context-menu.d.ts +2 -0
- package/types/ngwr-date-picker-testing.d.ts +23 -8
- package/types/ngwr-date-picker.d.ts +100 -9
- package/types/ngwr-date.d.ts +71 -1
- package/types/ngwr-drawer.d.ts +9 -0
- package/types/ngwr-dropdown-testing.d.ts +20 -0
- package/types/ngwr-dropdown.d.ts +26 -6
- package/types/ngwr-event-calendar.d.ts +66 -8
- package/types/ngwr-file-upload-testing.d.ts +31 -2
- package/types/ngwr-file-upload.d.ts +156 -3
- package/types/ngwr-form.d.ts +47 -3
- package/types/ngwr-graph-testing.d.ts +36 -3
- package/types/ngwr-graph.d.ts +309 -13
- package/types/ngwr-input-number-testing.d.ts +10 -0
- package/types/ngwr-input-number.d.ts +30 -1
- package/types/ngwr-input-otp.d.ts +10 -0
- package/types/ngwr-input-testing.d.ts +30 -0
- package/types/ngwr-input.d.ts +54 -3
- package/types/ngwr-overlay.d.ts +84 -5
- package/types/ngwr-pipes.d.ts +2 -1
- package/types/ngwr-popconfirm-testing.d.ts +12 -3
- package/types/ngwr-popconfirm.d.ts +28 -3
- package/types/ngwr-popover-testing.d.ts +19 -2
- package/types/ngwr-popover.d.ts +22 -2
- package/types/ngwr-progress.d.ts +29 -1
- package/types/ngwr-pull-to-refresh-testing.d.ts +83 -0
- package/types/ngwr-resizable-testing.d.ts +116 -0
- package/types/ngwr-schema-form-testing.d.ts +260 -0
- package/types/ngwr-schema-form.d.ts +76 -6
- package/types/ngwr-select-testing.d.ts +20 -0
- package/types/ngwr-select.d.ts +149 -11
- package/types/ngwr-sidebar-testing.d.ts +176 -0
- package/types/ngwr-slider-testing.d.ts +3 -1
- package/types/ngwr-slider.d.ts +21 -1
- package/types/ngwr-sortable-list.d.ts +6 -0
- package/types/ngwr-stepper.d.ts +20 -11
- package/types/ngwr-table-testing.d.ts +122 -7
- package/types/ngwr-table.d.ts +572 -50
- package/types/ngwr-tabs-testing.d.ts +14 -17
- package/types/ngwr-tabs.d.ts +6 -0
- package/types/ngwr-textarea-testing.d.ts +10 -0
- package/types/ngwr-textarea.d.ts +48 -2
- package/types/ngwr-toast.d.ts +8 -1
- package/types/ngwr-tour-testing.d.ts +10 -0
- package/types/ngwr-tour.d.ts +11 -2
- package/types/ngwr-transfer-testing.d.ts +3 -0
- package/types/ngwr-transfer.d.ts +24 -1
- package/types/ngwr-tree-testing.d.ts +65 -1
- package/types/ngwr-tree.d.ts +335 -12
- package/types/ngwr-utils.d.ts +107 -1
- package/types/ngwr-version.d.ts +1 -1
- package/types/ngwr-window.d.ts +7 -4
|
@@ -0,0 +1,295 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* @license
|
|
4
|
+
*
|
|
5
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
+
* found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
|
|
7
|
+
*/
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.EJECT_SHARED_DIR = void 0;
|
|
10
|
+
exports.collectEjected = collectEjected;
|
|
11
|
+
exports.ejectHeader = ejectHeader;
|
|
12
|
+
exports.ejectRawUrl = ejectRawUrl;
|
|
13
|
+
exports.ejectRefusal = ejectRefusal;
|
|
14
|
+
exports.ejectTarget = ejectTarget;
|
|
15
|
+
exports.ejectableEntryPoints = ejectableEntryPoints;
|
|
16
|
+
const node_path_1 = require("node:path");
|
|
17
|
+
const DEFAULT_REPOSITORY = 'thekhegay/ngwr';
|
|
18
|
+
const DEFAULT_DIRECTORY = 'projects/lib';
|
|
19
|
+
/**
|
|
20
|
+
* The raw-file URL of one source file at the tag of a release.
|
|
21
|
+
*
|
|
22
|
+
* `file` is a path under the library folder: `button/button.ts`.
|
|
23
|
+
*/
|
|
24
|
+
function ejectRawUrl(version, file, repository = {}) {
|
|
25
|
+
const slug = /github\.com[/:]([^/]+\/[^/]+?)(?:\.git)?$/.exec(repository.url ?? '')?.[1] ?? DEFAULT_REPOSITORY;
|
|
26
|
+
const directory = (repository.directory ?? DEFAULT_DIRECTORY).replace(/^\/+|\/+$/g, '');
|
|
27
|
+
return `https://raw.githubusercontent.com/${slug}/v${version}/${directory}/${file}`;
|
|
28
|
+
}
|
|
29
|
+
const isRecord = (value) => typeof value === 'object' && value !== null && !Array.isArray(value);
|
|
30
|
+
/** Every entry point with code behind it: no root, no wildcard, no stylesheet-only path. */
|
|
31
|
+
function codeEntryPoints(exports) {
|
|
32
|
+
return Object.keys(exports)
|
|
33
|
+
.filter(key => key.startsWith('./') &&
|
|
34
|
+
!key.includes('*') &&
|
|
35
|
+
!key.endsWith('.json') &&
|
|
36
|
+
isRecord(exports[key]) &&
|
|
37
|
+
'default' in exports[key])
|
|
38
|
+
.map(key => key.slice(2));
|
|
39
|
+
}
|
|
40
|
+
/** Why an entry point is never ejected, read off its path alone. */
|
|
41
|
+
function structuralRefusal(entry) {
|
|
42
|
+
if (/(^|\/)testing$/.test(entry))
|
|
43
|
+
return 'a test harness';
|
|
44
|
+
if (/(^|\/)router$/.test(entry))
|
|
45
|
+
return 'a router adapter';
|
|
46
|
+
if (/^i18n(\/|$)/.test(entry))
|
|
47
|
+
return 'a translation catalogue';
|
|
48
|
+
return null;
|
|
49
|
+
}
|
|
50
|
+
/** The entry points `ng g ngwr:eject` accepts by name, from the `exports` map. */
|
|
51
|
+
function ejectableEntryPoints(exports) {
|
|
52
|
+
return codeEntryPoints(exports).filter(entry => structuralRefusal(entry) === null);
|
|
53
|
+
}
|
|
54
|
+
/** Why `entry` cannot be ejected, or `null` when its name is acceptable. */
|
|
55
|
+
function ejectRefusal(entry, exports) {
|
|
56
|
+
const reason = structuralRefusal(entry);
|
|
57
|
+
if (reason)
|
|
58
|
+
return `ngwr/${entry} is ${reason}, not a component. Eject the component it belongs to.`;
|
|
59
|
+
if (ejectableEntryPoints(exports).includes(entry))
|
|
60
|
+
return null;
|
|
61
|
+
return `ngwr/${entry} is not an entry point. Give a component's path under ngwr/: ${ejectableEntryPoints(exports).join(', ')}.`;
|
|
62
|
+
}
|
|
63
|
+
/** The entry point a path under the library folder belongs to: the longest one that contains it. */
|
|
64
|
+
function ownerOf(path, entryPoints) {
|
|
65
|
+
let owner = null;
|
|
66
|
+
for (const entry of entryPoints) {
|
|
67
|
+
if ((path === entry || path.startsWith(`${entry}/`)) && (owner === null || entry.length > owner.length)) {
|
|
68
|
+
owner = entry;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
return owner;
|
|
72
|
+
}
|
|
73
|
+
const NOT_FOUND = 'reaches a file that could not be read from the source, so nothing was copied for it';
|
|
74
|
+
/** The folder private files are copied to, beside the ejected one and shared by its neighbours. */
|
|
75
|
+
const EJECT_SHARED_DIR = '_ngwr-internal';
|
|
76
|
+
exports.EJECT_SHARED_DIR = EJECT_SHARED_DIR;
|
|
77
|
+
/** The header each copied file opens with. `entry` is `null` for a private file in the shared folder. */
|
|
78
|
+
function ejectHeader(file, entry, version) {
|
|
79
|
+
const lines = [
|
|
80
|
+
entry === null
|
|
81
|
+
? `Copied from ngwr@${version} by \`ng g ngwr:eject\`: a private file that ejected components share.`
|
|
82
|
+
: `Copied from ngwr@${version}, entry point ngwr/${entry}, by \`ng g ngwr:eject\`.`,
|
|
83
|
+
'`ng update` no longer updates this copy.',
|
|
84
|
+
];
|
|
85
|
+
return file.endsWith('.html')
|
|
86
|
+
? `<!--\n ${lines.join('\n ')}\n-->\n`
|
|
87
|
+
: `${lines.map(line => `// ${line}`).join('\n')}\n\n`;
|
|
88
|
+
}
|
|
89
|
+
/** Whether a line is commentary, where an `import … from` is prose or a usage example. */
|
|
90
|
+
const isCommentLine = (line) => /^\s*(\*|\/\*|\/\/)/.test(line);
|
|
91
|
+
const TS_SPECIFIER = /(\bfrom\s+|\bimport\s*\(\s*|^\s*import\s+)(['"])([^'"]+)\2/g;
|
|
92
|
+
const TS_RESOURCE = /\b(?:templateUrl|styleUrl)\s*:\s*(['"])([^'"]+)\1/g;
|
|
93
|
+
const TS_STYLE_URLS = /\bstyleUrls\s*:\s*\[([^\]]*)\]/g;
|
|
94
|
+
const SASS_LOAD = /^(\s*@(use|forward|import)\s+)(['"])([^'"]+)\3(.*)$/;
|
|
95
|
+
/**
|
|
96
|
+
* The files of one entry point, rewritten to live outside the library.
|
|
97
|
+
*
|
|
98
|
+
* Starts at `public-api.ts`, the barrel and the stylesheet the `exports` map
|
|
99
|
+
* names, and follows every relative import, `templateUrl`, `styleUrl` and Sass
|
|
100
|
+
* load. Where one lands decides what happens to it:
|
|
101
|
+
*
|
|
102
|
+
* - inside the entry point: the file is copied, at the same place in the folder;
|
|
103
|
+
* - on another entry point: the import becomes that entry point's package path
|
|
104
|
+
* (`../utils` reads `ngwr/utils`, `../../button/styles` reads `ngwr/button`),
|
|
105
|
+
* so the copy keeps using the installed package for everything but itself;
|
|
106
|
+
* - on a file no package path exposes (`animations/internal`, a theme partial):
|
|
107
|
+
* the file is copied too, under `../_ngwr-internal/<its path in the library>`,
|
|
108
|
+
* its own imports are followed the same way, and the import is rewritten to
|
|
109
|
+
* reach it there. Later ejects beside this one share that folder.
|
|
110
|
+
*
|
|
111
|
+
* A file path in the result is relative to the ejected folder, so a shared one
|
|
112
|
+
* starts with `../_ngwr-internal/`. Only an import whose file cannot be read is
|
|
113
|
+
* left as written and reported.
|
|
114
|
+
*
|
|
115
|
+
* `folder` is the name of the folder the copy is written to, which a private
|
|
116
|
+
* file reaching back into the component has to spell.
|
|
117
|
+
*
|
|
118
|
+
* Resolves to `null` when the entry point has no `public-api.ts` to start from.
|
|
119
|
+
*/
|
|
120
|
+
async function collectEjected(entry, exports, version, read, folder = node_path_1.posix.basename(entry)) {
|
|
121
|
+
const entryPoints = codeEntryPoints(exports);
|
|
122
|
+
const loaded = new Map();
|
|
123
|
+
const files = new Map();
|
|
124
|
+
const warnings = [];
|
|
125
|
+
const queue = [];
|
|
126
|
+
const queued = new Set();
|
|
127
|
+
const load = async (path) => {
|
|
128
|
+
if (!loaded.has(path))
|
|
129
|
+
loaded.set(path, await read(path));
|
|
130
|
+
return loaded.get(path) ?? null;
|
|
131
|
+
};
|
|
132
|
+
/** Queues the first candidate that exists; `false` when none does. */
|
|
133
|
+
const follow = async (candidates) => {
|
|
134
|
+
for (const candidate of candidates) {
|
|
135
|
+
if ((await load(candidate)) !== null) {
|
|
136
|
+
if (!queued.has(candidate)) {
|
|
137
|
+
queued.add(candidate);
|
|
138
|
+
queue.push(candidate);
|
|
139
|
+
}
|
|
140
|
+
return true;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
return false;
|
|
144
|
+
};
|
|
145
|
+
const own = (path) => ownerOf(path, entryPoints) === entry;
|
|
146
|
+
/** Where a library path lands, relative to the ejected folder. */
|
|
147
|
+
const placed = (path) => (own(path) ? node_path_1.posix.relative(entry, path) : `../${EJECT_SHARED_DIR}/${path}`);
|
|
148
|
+
const header = (file) => ejectHeader(file, own(file) ? entry : null, version);
|
|
149
|
+
/** `line` is 1-based in the source; the warning names the line in the copy, below its header. */
|
|
150
|
+
const warn = (file, line, specifier) => {
|
|
151
|
+
warnings.push({
|
|
152
|
+
file: placed(file),
|
|
153
|
+
line: line + header(file).split('\n').length - 1,
|
|
154
|
+
specifier,
|
|
155
|
+
reason: NOT_FOUND,
|
|
156
|
+
});
|
|
157
|
+
};
|
|
158
|
+
/** The package path a load that leaves the entry point should read, or `null` when it has none. */
|
|
159
|
+
const publicPath = (target, sass) => {
|
|
160
|
+
const owner = ownerOf(target, entryPoints);
|
|
161
|
+
if (owner === null || owner === entry)
|
|
162
|
+
return null;
|
|
163
|
+
const rest = target.slice(owner.length + 1);
|
|
164
|
+
if (!sass)
|
|
165
|
+
return rest === '' || rest === 'index' || rest === 'public-api' ? `ngwr/${owner}` : null;
|
|
166
|
+
// `<entry>/styles` is what the `sass` condition resolves to. The theme's is
|
|
167
|
+
// `theme/_index.scss`, which forwards `theme/styles` whole.
|
|
168
|
+
const entryExports = exports[`./${owner}`];
|
|
169
|
+
const shipsStyles = isRecord(entryExports) && 'sass' in entryExports;
|
|
170
|
+
return shipsStyles && /^styles(\/_?index(\.scss)?)?$/.test(rest) ? `ngwr/${owner}` : null;
|
|
171
|
+
};
|
|
172
|
+
/**
|
|
173
|
+
* What a relative specifier reads once both ends are placed, or `null` to
|
|
174
|
+
* leave it as written: two files on the same side keep their distance.
|
|
175
|
+
*/
|
|
176
|
+
const relocated = (file, target) => {
|
|
177
|
+
if (own(file) === own(target))
|
|
178
|
+
return null;
|
|
179
|
+
// From the parent both folders sit in, where the ejected one has a name:
|
|
180
|
+
// a private file reaching back into the component has to spell it.
|
|
181
|
+
const fromParent = (path) => node_path_1.posix.join(folder, placed(path));
|
|
182
|
+
const relative = node_path_1.posix.relative(node_path_1.posix.dirname(fromParent(file)), fromParent(target));
|
|
183
|
+
return relative.startsWith('.') ? relative : `./${relative}`;
|
|
184
|
+
};
|
|
185
|
+
const sassCandidates = (target) => {
|
|
186
|
+
const base = node_path_1.posix.basename(target).replace(/\.scss$/, '');
|
|
187
|
+
const parent = node_path_1.posix.dirname(target);
|
|
188
|
+
return [
|
|
189
|
+
`${parent}/_${base}.scss`,
|
|
190
|
+
`${parent}/${base}.scss`,
|
|
191
|
+
`${parent}/${base}/_index.scss`,
|
|
192
|
+
`${parent}/${base}/index.scss`,
|
|
193
|
+
];
|
|
194
|
+
};
|
|
195
|
+
const rewriteTs = async (file, source) => {
|
|
196
|
+
const dir = node_path_1.posix.dirname(file);
|
|
197
|
+
const lines = source.split('\n');
|
|
198
|
+
for (let index = 0; index < lines.length; index++) {
|
|
199
|
+
const line = lines[index];
|
|
200
|
+
if (isCommentLine(line))
|
|
201
|
+
continue;
|
|
202
|
+
for (const match of [...line.matchAll(TS_SPECIFIER)]) {
|
|
203
|
+
const specifier = match[3];
|
|
204
|
+
if (!specifier.startsWith('.'))
|
|
205
|
+
continue;
|
|
206
|
+
const target = node_path_1.posix.normalize(node_path_1.posix.join(dir, specifier));
|
|
207
|
+
let replacement = publicPath(target, false);
|
|
208
|
+
if (replacement === null) {
|
|
209
|
+
if (!(await follow(target === entry ? [`${entry}/index.ts`] : [`${target}.ts`, `${target}/index.ts`]))) {
|
|
210
|
+
warn(file, index + 1, specifier);
|
|
211
|
+
continue;
|
|
212
|
+
}
|
|
213
|
+
replacement = relocated(file, target);
|
|
214
|
+
}
|
|
215
|
+
if (replacement !== null) {
|
|
216
|
+
lines[index] = lines[index].replace(`${match[2]}${specifier}${match[2]}`, `'${replacement}'`);
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
const resources = [...source.matchAll(TS_RESOURCE)].map(match => match[2]);
|
|
221
|
+
for (const list of source.matchAll(TS_STYLE_URLS)) {
|
|
222
|
+
resources.push(...[...list[1].matchAll(/(['"])([^'"]+)\1/g)].map(match => match[2]));
|
|
223
|
+
}
|
|
224
|
+
for (const resource of resources)
|
|
225
|
+
await follow([node_path_1.posix.normalize(node_path_1.posix.join(dir, resource))]);
|
|
226
|
+
return lines.join('\n');
|
|
227
|
+
};
|
|
228
|
+
const rewriteSass = async (file, source) => {
|
|
229
|
+
const dir = node_path_1.posix.dirname(file);
|
|
230
|
+
const lines = source.split('\n');
|
|
231
|
+
for (let index = 0; index < lines.length; index++) {
|
|
232
|
+
const match = SASS_LOAD.exec(lines[index]);
|
|
233
|
+
if (!match)
|
|
234
|
+
continue;
|
|
235
|
+
const [, head, rule, quote, specifier, tail] = match;
|
|
236
|
+
if (/^(sass:|ngwr(\/|$)|https?:)/.test(specifier) || specifier.endsWith('.css'))
|
|
237
|
+
continue;
|
|
238
|
+
const target = node_path_1.posix.normalize(node_path_1.posix.join(dir, specifier));
|
|
239
|
+
const packagePath = publicPath(target, true);
|
|
240
|
+
if (packagePath !== null) {
|
|
241
|
+
// A `@use` with no `as` is named after its last segment, which the package path changes.
|
|
242
|
+
const namespace = rule === 'use' && !/^\s+as\s/.test(tail) ? ` as ${node_path_1.posix.basename(specifier)}` : '';
|
|
243
|
+
lines[index] = `${head}${quote}${packagePath}${quote}${namespace}${tail}`;
|
|
244
|
+
continue;
|
|
245
|
+
}
|
|
246
|
+
if (!(await follow(sassCandidates(target)))) {
|
|
247
|
+
warn(file, index + 1, specifier);
|
|
248
|
+
continue;
|
|
249
|
+
}
|
|
250
|
+
const replacement = relocated(file, target);
|
|
251
|
+
if (replacement !== null)
|
|
252
|
+
lines[index] = `${head}${quote}${replacement}${quote}${tail}`;
|
|
253
|
+
}
|
|
254
|
+
return lines.join('\n');
|
|
255
|
+
};
|
|
256
|
+
if (!(await follow([`${entry}/public-api.ts`])))
|
|
257
|
+
return null;
|
|
258
|
+
await follow([`${entry}/index.ts`]);
|
|
259
|
+
const entryExports = exports[`./${entry}`];
|
|
260
|
+
const sassEntry = isRecord(entryExports) ? entryExports.sass : null;
|
|
261
|
+
const stylesFile = typeof sassEntry === 'string' ? node_path_1.posix.normalize(sassEntry) : null;
|
|
262
|
+
const styles = stylesFile !== null && (await follow([stylesFile])) ? stylesFile : null;
|
|
263
|
+
let declarable = false;
|
|
264
|
+
for (let file = queue.shift(); file !== undefined; file = queue.shift()) {
|
|
265
|
+
const source = (await load(file)) ?? '';
|
|
266
|
+
let content = source;
|
|
267
|
+
if (file.endsWith('.ts')) {
|
|
268
|
+
declarable ||= own(file) && /^\s*@(Component|Directive)\s*\(/m.test(source);
|
|
269
|
+
content = await rewriteTs(file, source);
|
|
270
|
+
}
|
|
271
|
+
else if (file.endsWith('.scss')) {
|
|
272
|
+
content = await rewriteSass(file, source);
|
|
273
|
+
}
|
|
274
|
+
files.set(file, header(file) + content);
|
|
275
|
+
}
|
|
276
|
+
return {
|
|
277
|
+
files: [...files]
|
|
278
|
+
.map(([path, content]) => ({ path: placed(path), content }))
|
|
279
|
+
.sort((a, b) => (a.path < b.path ? -1 : 1)),
|
|
280
|
+
warnings,
|
|
281
|
+
declarable,
|
|
282
|
+
styles: styles === null ? null : placed(styles),
|
|
283
|
+
};
|
|
284
|
+
}
|
|
285
|
+
/**
|
|
286
|
+
* The entry point a name refers to: itself, or the one nested entry point a
|
|
287
|
+
* bare name ends, the way `component-style` reads `bar-chart`.
|
|
288
|
+
*/
|
|
289
|
+
function ejectTarget(name, exports) {
|
|
290
|
+
const candidates = ejectableEntryPoints(exports);
|
|
291
|
+
if (candidates.includes(name) || name.includes('/'))
|
|
292
|
+
return name;
|
|
293
|
+
const nested = candidates.filter(candidate => candidate.endsWith(`/${name}`));
|
|
294
|
+
return nested.length === 1 ? nested[0] : name;
|
|
295
|
+
}
|
package/schematics/use/rule.js
CHANGED
|
@@ -38,11 +38,13 @@ const NON_DECLARABLE = {
|
|
|
38
38
|
WrDialogRef: 'a class',
|
|
39
39
|
WrDrawerManager: 'a service',
|
|
40
40
|
WrDrawerRef: 'a class',
|
|
41
|
+
WrGraphLayout: 'an abstract class',
|
|
41
42
|
WrHaptics: 'a service',
|
|
42
43
|
WrHotkey: 'a service',
|
|
43
44
|
WrI18n: 'a service',
|
|
44
45
|
WrI18nHttpLoader: 'a class',
|
|
45
46
|
WrI18nStaticLoader: 'a class',
|
|
47
|
+
WrLayeredGraphLayout: 'a class',
|
|
46
48
|
WrLoadingBar: 'a service',
|
|
47
49
|
WrMeta: 'a service',
|
|
48
50
|
WrNativeDateAdapter: 'a service',
|
|
@@ -120,6 +120,8 @@
|
|
|
120
120
|
"WrFormError": "ngwr/form",
|
|
121
121
|
"WrGraph": "ngwr/graph",
|
|
122
122
|
"WrGraphNodeTemplate": "ngwr/graph",
|
|
123
|
+
"WrLayeredGraphLayout": "ngwr/graph",
|
|
124
|
+
"WrGraphLayout": "ngwr/graph",
|
|
123
125
|
"WrHotkey": "ngwr/hotkey",
|
|
124
126
|
"WrHotkeyBinding": "ngwr/hotkey",
|
|
125
127
|
"WrI18n": "ngwr/i18n",
|
|
@@ -213,8 +215,11 @@
|
|
|
213
215
|
"WrSwitch": "ngwr/switch",
|
|
214
216
|
"WrTable": "ngwr/table",
|
|
215
217
|
"WrTableCell": "ngwr/table",
|
|
218
|
+
"WrTableColumnChooser": "ngwr/table",
|
|
219
|
+
"WrTableEditCell": "ngwr/table",
|
|
216
220
|
"WrTableExpand": "ngwr/table",
|
|
217
221
|
"WrTableGroupHeader": "ngwr/table",
|
|
222
|
+
"WrTableSelectionBar": "ngwr/table",
|
|
218
223
|
"WrTableSort": "ngwr/table",
|
|
219
224
|
"WrTableFilter": "ngwr/table",
|
|
220
225
|
"WrTabs": "ngwr/tabs",
|
|
@@ -119,6 +119,19 @@
|
|
|
119
119
|
cursor: default;
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
+
// The search status, inside the trigger: read out, never drawn.
|
|
123
|
+
&__status {
|
|
124
|
+
position: absolute;
|
|
125
|
+
width: 1px;
|
|
126
|
+
height: 1px;
|
|
127
|
+
padding: 0;
|
|
128
|
+
margin: -1px;
|
|
129
|
+
overflow: hidden;
|
|
130
|
+
clip: rect(0, 0, 0, 0);
|
|
131
|
+
white-space: nowrap;
|
|
132
|
+
border: 0;
|
|
133
|
+
}
|
|
134
|
+
|
|
122
135
|
&__trigger {
|
|
123
136
|
display: inline-flex;
|
|
124
137
|
align-items: center;
|
|
@@ -452,6 +465,16 @@
|
|
|
452
465
|
--wr-select-panel-message-padding: var(--wr-space-md);
|
|
453
466
|
--wr-select-panel-retry-gap: var(--wr-space-sm);
|
|
454
467
|
--wr-select-panel-retry-active-bg: var(--wr-color-hover);
|
|
468
|
+
// The select-all row's box: a checkbox drawn, not a control, so it has hooks
|
|
469
|
+
// of its own rather than `--wr-checkbox-*`.
|
|
470
|
+
--wr-select-panel-select-all-box-size: 1rem;
|
|
471
|
+
--wr-select-panel-select-all-box-radius: var(--wr-border-radius-sm);
|
|
472
|
+
--wr-select-panel-select-all-box-bg: var(--wr-color-surface);
|
|
473
|
+
--wr-select-panel-select-all-box-border: var(--wr-border-base);
|
|
474
|
+
--wr-select-panel-select-all-box-on-bg: var(--wr-color-primary);
|
|
475
|
+
--wr-select-panel-select-all-box-on-color: var(--wr-color-primary-contrast);
|
|
476
|
+
--wr-select-panel-select-all-hover-bg: var(--wr-color-hover);
|
|
477
|
+
--wr-select-panel-select-all-cursor: var(--wr-color-primary);
|
|
455
478
|
// Option sizing — default md. --sm/--lg are set from the trigger size because
|
|
456
479
|
// the panel is portaled into an overlay and can't inherit the host size class.
|
|
457
480
|
--wr-option-font-size: var(--wr-control-font-size-md);
|
|
@@ -513,6 +536,86 @@
|
|
|
513
536
|
text-align: center;
|
|
514
537
|
}
|
|
515
538
|
|
|
539
|
+
// The first row under `selectAll`. Laid out as an option, from the same
|
|
540
|
+
// `--wr-option-*` hooks, and pinned: the panel scrolls under it. Its fill is
|
|
541
|
+
// the panel's own surface with the hover tint painted OVER it as an image,
|
|
542
|
+
// because that tint is translucent and the options behind would show through.
|
|
543
|
+
// It runs edge to edge over the panel's padding and pins to the padding's top
|
|
544
|
+
// edge, so no option shows above or beside it while the list scrolls; the
|
|
545
|
+
// panel's rounded clip draws its top corners.
|
|
546
|
+
&__select-all {
|
|
547
|
+
position: sticky;
|
|
548
|
+
inset-block-start: calc(-1 * var(--wr-select-panel-padding));
|
|
549
|
+
z-index: 1;
|
|
550
|
+
display: flex;
|
|
551
|
+
flex: none;
|
|
552
|
+
align-items: center;
|
|
553
|
+
gap: var(--wr-option-inline-gap, 0.5rem);
|
|
554
|
+
margin-block-start: calc(-1 * var(--wr-select-panel-padding));
|
|
555
|
+
margin-inline: calc(-1 * var(--wr-select-panel-padding));
|
|
556
|
+
padding-block: calc(var(--wr-option-padding-y) + var(--wr-select-panel-padding)) var(--wr-option-padding-y);
|
|
557
|
+
padding-inline: calc(var(--wr-option-padding-x) + var(--wr-select-panel-padding));
|
|
558
|
+
background-color: var(--wr-select-panel-bg);
|
|
559
|
+
box-shadow: 0 1px 0 var(--wr-select-panel-border);
|
|
560
|
+
color: var(--wr-color-on-surface);
|
|
561
|
+
font-size: var(--wr-option-font-size);
|
|
562
|
+
font-weight: var(--wr-option-font-weight);
|
|
563
|
+
line-height: var(--wr-option-line-height);
|
|
564
|
+
cursor: pointer;
|
|
565
|
+
user-select: none;
|
|
566
|
+
|
|
567
|
+
&:hover,
|
|
568
|
+
&--active {
|
|
569
|
+
background-image: linear-gradient(
|
|
570
|
+
var(--wr-select-panel-select-all-hover-bg),
|
|
571
|
+
var(--wr-select-panel-select-all-hover-bg)
|
|
572
|
+
);
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
// The keyboard cursor: focus stays in the trigger, so this bar is the only
|
|
576
|
+
// sign of where the arrows are, as it is on a virtual row.
|
|
577
|
+
&--active::before {
|
|
578
|
+
content: '';
|
|
579
|
+
position: absolute;
|
|
580
|
+
inset-block: 0;
|
|
581
|
+
inset-inline-start: 0;
|
|
582
|
+
width: 2px;
|
|
583
|
+
background: var(--wr-select-panel-select-all-cursor);
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
&--disabled {
|
|
587
|
+
color: var(--wr-color-on-surface-muted);
|
|
588
|
+
cursor: not-allowed;
|
|
589
|
+
opacity: var(--wr-disabled-opacity);
|
|
590
|
+
|
|
591
|
+
&:hover {
|
|
592
|
+
background-image: none;
|
|
593
|
+
}
|
|
594
|
+
}
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
&__select-all-box {
|
|
598
|
+
display: inline-flex;
|
|
599
|
+
flex: none;
|
|
600
|
+
width: var(--wr-select-panel-select-all-box-size);
|
|
601
|
+
height: var(--wr-select-panel-select-all-box-size);
|
|
602
|
+
background: var(--wr-select-panel-select-all-box-bg);
|
|
603
|
+
border: 1px solid var(--wr-select-panel-select-all-box-border);
|
|
604
|
+
border-radius: var(--wr-select-panel-select-all-box-radius);
|
|
605
|
+
color: var(--wr-select-panel-select-all-box-on-color);
|
|
606
|
+
|
|
607
|
+
svg {
|
|
608
|
+
width: 100%;
|
|
609
|
+
height: 100%;
|
|
610
|
+
}
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
&__select-all--checked &__select-all-box,
|
|
614
|
+
&__select-all--mixed &__select-all-box {
|
|
615
|
+
--wr-select-panel-select-all-box-bg: var(--wr-select-panel-select-all-box-on-bg);
|
|
616
|
+
--wr-select-panel-select-all-box-border: var(--wr-select-panel-select-all-box-on-bg);
|
|
617
|
+
}
|
|
618
|
+
|
|
516
619
|
// A button on a line of its own, under the message.
|
|
517
620
|
&__retry {
|
|
518
621
|
display: flex;
|
|
@@ -540,11 +643,35 @@
|
|
|
540
643
|
cursor: pointer;
|
|
541
644
|
user-select: none;
|
|
542
645
|
transition: background var(--wr-transition-short);
|
|
646
|
+
// Positioning context for the `--active` cursor bar below.
|
|
647
|
+
position: relative;
|
|
543
648
|
|
|
544
649
|
&:hover {
|
|
545
650
|
background: var(--wr-color-hover);
|
|
546
651
|
}
|
|
547
652
|
|
|
653
|
+
// Keyboard cursor highlight — the list is navigated by
|
|
654
|
+
// aria-activedescendant, so real focus never lands on the row and the tint
|
|
655
|
+
// is all there was. `--wr-color-hover` is translucent and lands within about
|
|
656
|
+
// 1.1:1 of the panel behind it, which is the same grey to a reader who
|
|
657
|
+
// cannot separate hue — and it is the declaration `:hover` uses, so the row
|
|
658
|
+
// the arrows reached and a row under the mouse were indistinguishable. The
|
|
659
|
+
// bar is the channel; the tint stays as reinforcement.
|
|
660
|
+
&--active {
|
|
661
|
+
background: var(--wr-color-hover);
|
|
662
|
+
|
|
663
|
+
&::before {
|
|
664
|
+
content: '';
|
|
665
|
+
position: absolute;
|
|
666
|
+
inset-block: 0;
|
|
667
|
+
inset-inline-start: 0;
|
|
668
|
+
width: 2px;
|
|
669
|
+
background: var(--wr-color-primary);
|
|
670
|
+
}
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
// After the cursor, so a selected row keeps its own tint (the bar still shows
|
|
674
|
+
// the cursor on it, since it is a pseudo-element and not a background).
|
|
548
675
|
&--selected {
|
|
549
676
|
background: var(--wr-color-primary-soft);
|
|
550
677
|
// Text on the intent's own `-soft` tint: `-ink`, by calibration.
|
|
@@ -604,8 +731,6 @@
|
|
|
604
731
|
overflow: hidden;
|
|
605
732
|
white-space: nowrap;
|
|
606
733
|
text-overflow: ellipsis;
|
|
607
|
-
// Positioning context for the `--active` cursor bar below.
|
|
608
|
-
position: relative;
|
|
609
734
|
}
|
|
610
735
|
|
|
611
736
|
// A virtual row is a block, not a flex row (one line, so it can ellipsize),
|
|
@@ -614,26 +739,6 @@
|
|
|
614
739
|
vertical-align: middle;
|
|
615
740
|
margin-inline-end: var(--wr-option-inline-gap, 0.5rem);
|
|
616
741
|
}
|
|
617
|
-
|
|
618
|
-
// Keyboard cursor highlight — the virtualized list is navigated by
|
|
619
|
-
// aria-activedescendant, so real focus never lands on the row and the tint
|
|
620
|
-
// is all there was. `--wr-color-hover` is translucent and lands within about
|
|
621
|
-
// 1.1:1 of the panel behind it, which is the same grey to a reader who
|
|
622
|
-
// cannot separate hue — and it is the declaration `:hover` uses, so the row
|
|
623
|
-
// the arrows reached and a row under the mouse were indistinguishable. The
|
|
624
|
-
// bar is the channel; the tint stays as reinforcement.
|
|
625
|
-
.wr-option--active {
|
|
626
|
-
background: var(--wr-color-hover);
|
|
627
|
-
|
|
628
|
-
&::before {
|
|
629
|
-
content: '';
|
|
630
|
-
position: absolute;
|
|
631
|
-
inset-block: 0;
|
|
632
|
-
inset-inline-start: 0;
|
|
633
|
-
width: 2px;
|
|
634
|
-
background: var(--wr-color-primary);
|
|
635
|
-
}
|
|
636
|
-
}
|
|
637
742
|
}
|
|
638
743
|
|
|
639
744
|
.wr-option-group {
|
package/skills/ngwr/SKILL.md
CHANGED
|
@@ -5,7 +5,7 @@ description: Build Angular UIs with the ngwr component library (standalone, sign
|
|
|
5
5
|
|
|
6
6
|
# ngwr
|
|
7
7
|
|
|
8
|
-
An Angular 22 UI library:
|
|
8
|
+
An Angular 22 UI library: 242 tree-shakable entry points, 129 of them shipping a selector.
|
|
9
9
|
Standalone, signals-first, zoneless, `ViewEncapsulation.None`. No runtime
|
|
10
10
|
dependencies.
|
|
11
11
|
|
|
@@ -54,10 +54,16 @@ guess gets backwards.
|
|
|
54
54
|
`wr-btn`, not `wr-button`. Check `references/catalog.md` before writing a tag.
|
|
55
55
|
- **Check for a MODE before reaching for another component.** The catalog is
|
|
56
56
|
deliberately consolidated: `wr-select` covers single / multi / search / tag,
|
|
57
|
-
`wr-date-picker` covers date / time / datetime,
|
|
57
|
+
`wr-date-picker` covers date / time / datetime and, through the same
|
|
58
|
+
`mode`, a week, month, quarter or year held as its first day,
|
|
59
|
+
`wr-popover` has a tooltip
|
|
58
60
|
mode, `wr-drawer` doubles as a bottom sheet (and, with `hasBackdrop` off,
|
|
59
61
|
a non-modal side panel), `wr-table` owns pinning,
|
|
60
|
-
resizing, grouping, tree rows, CSV export
|
|
62
|
+
resizing, grouping, tree rows, CSV export, virtual scroll, hidden columns,
|
|
63
|
+
a bulk-action bar and inline cell editing, `wr-tree` owns lazy children
|
|
64
|
+
(`loadChildren`), a `filter`, cascading checks (`cascade`) and drag and
|
|
65
|
+
drop (`draggable`), `wr-select` in multi mode has `selectAll`, and
|
|
66
|
+
`wr-graph` zooms and pans with `zoomable`. The charts too:
|
|
61
67
|
a pie is `wr-donut-chart` with `pie`, an area chart `wr-line-chart` with
|
|
62
68
|
`showArea` (and `stacked` for a stacked area), a polar area chart
|
|
63
69
|
`wr-radar-chart` with `variant="polar-area"`, a stacked, horizontal or
|
|
@@ -78,6 +84,24 @@ guess gets backwards.
|
|
|
78
84
|
claims, `<wr-form-field>` shows the validator's own message
|
|
79
85
|
(`required(path.email, { message: '…' })`), else `validation.<key>` from the
|
|
80
86
|
APP's i18n catalog. With neither, nothing renders and only dev mode warns.
|
|
87
|
+
- **A data view reports a change and never writes your data.** `(cellEdit)`
|
|
88
|
+
on `wr-table`, `(nodeMove)` on `wr-tree` (apply it with
|
|
89
|
+
`wrMoveTreeNode` from `ngwr/tree`), `(eventChange)` on
|
|
90
|
+
`wr-event-calendar`: update `items`, `nodes` or `events` in the
|
|
91
|
+
handler, or the screen keeps the old value. `wr-file-upload` does not
|
|
92
|
+
upload either: the app does, and reports each file through `[status]`.
|
|
93
|
+
- **Table extras are templates and one state object.** A cell editor is
|
|
94
|
+
`<ng-template wrTableEditCell="price" let-value let-set="set">` inside the
|
|
95
|
+
table, and it is what makes the column editable. Bulk actions go in
|
|
96
|
+
`<ng-template wrTableSelectionBar let-rows let-clear="clear">`. Columns hide
|
|
97
|
+
through `[(hiddenColumns)]`, with `columnChooser` for the built-in button
|
|
98
|
+
or `<wr-table-column-chooser [table]="table" />` in a menu of your own. A
|
|
99
|
+
saved view is the `WrTableState` that `(stateChange)` emits, restored
|
|
100
|
+
through `[state]` with a new object each time.
|
|
101
|
+
- **A click on a `wr-tree` branch row opens it** (`expandOnClick`, on by
|
|
102
|
+
default since 16.3). `[expandOnClick]="false"` leaves that to the arrow.
|
|
103
|
+
- **There is no input mask.** Put `ngx-mask` on the same `<input wrInput>`;
|
|
104
|
+
do not look for a `wrMask`.
|
|
81
105
|
- **`<wr-checkbox>` group identity is `checkboxValue`, not `value`.**
|
|
82
106
|
`value` is reserved for the form value, so a leftover `value="x"` lands on the
|
|
83
107
|
host as a plain DOM attribute, every box in the group keeps the default
|
|
@@ -124,12 +148,15 @@ guess gets backwards.
|
|
|
124
148
|
ng add ngwr # prompts, installs peers, prints bootstrap
|
|
125
149
|
ng g ngwr:use WrSelect --path src/app/some.ts # adds the import AND the @Component entry
|
|
126
150
|
ng g ngwr:provider icons # splices a provider into bootstrap
|
|
151
|
+
ng g ngwr:eject select # copies the component's source into src/app/ngwr/select
|
|
127
152
|
```
|
|
128
153
|
|
|
129
154
|
`--path` is a NAMED option on `ngwr:use`; only the symbol is positional, and
|
|
130
155
|
passing the path bare fails with `Unknown argument`. It takes declarables only:
|
|
131
156
|
a service such as `WrDialog` is refused, since the import line would compile and
|
|
132
|
-
the `imports` entry would not — `inject()` it instead.
|
|
157
|
+
the `imports` entry would not — `inject()` it instead. `ngwr:eject` is for
|
|
158
|
+
a component you need to change beyond its inputs and `--wr-*` hooks: the copy
|
|
159
|
+
is yours, and `ng update` no longer reaches it.
|
|
133
160
|
|
|
134
161
|
### Providers a component cannot work without
|
|
135
162
|
|
|
@@ -8,6 +8,7 @@ root barrel for components: the root `ngwr` exports only `provideWr()`.
|
|
|
8
8
|
| `ngwr` | `import { provideWr } from 'ngwr'` | — |
|
|
9
9
|
| `ngwr/affix` | `import { WrAffix } from 'ngwr/affix'` | `[wrAffix]` |
|
|
10
10
|
| `ngwr/alert` | `import { WrAlert } from 'ngwr/alert'` | `wr-alert` |
|
|
11
|
+
| `ngwr/alert/testing` | `import { WrAlertHarness } from 'ngwr/alert/testing'` | — |
|
|
11
12
|
| `ngwr/anchor` | `import { WrAnchor } from 'ngwr/anchor'` | `wr-anchor` |
|
|
12
13
|
| `ngwr/animations/aurora` | `import { WrAurora } from 'ngwr/animations/aurora'` | `wr-aurora` |
|
|
13
14
|
| `ngwr/animations/blur-reveal` | `import { WrBlurReveal } from 'ngwr/animations/blur-reveal'` | `[wrBlurReveal]` |
|
|
@@ -36,7 +37,9 @@ root barrel for components: the root `ngwr` exports only `provideWr()`.
|
|
|
36
37
|
| `ngwr/back-top` | `import { WrBackTop } from 'ngwr/back-top'` | `wr-back-top` |
|
|
37
38
|
| `ngwr/badge` | `import { WrBadge } from 'ngwr/badge'` | `wr-badge` `wr-tag` |
|
|
38
39
|
| `ngwr/breadcrumbs` | `import { WrBreadcrumbs } from 'ngwr/breadcrumbs'` | `wr-breadcrumbs-item` `wr-breadcrumbs` |
|
|
40
|
+
| `ngwr/breadcrumbs/testing` | `import { WrBreadcrumbsHarness } from 'ngwr/breadcrumbs/testing'` | — |
|
|
39
41
|
| `ngwr/burger` | `import { WrBurger } from 'ngwr/burger'` | `wr-burger` |
|
|
42
|
+
| `ngwr/burger/testing` | `import { WrBurgerHarness } from 'ngwr/burger/testing'` | — |
|
|
40
43
|
| `ngwr/button` | `import { WrButton } from 'ngwr/button'` | `wr-btn-group` `wr-btn` `button[wr-btn]` `a[wr-btn]` |
|
|
41
44
|
| `ngwr/button/testing` | `import { WrButtonHarness } from 'ngwr/button/testing'` | — |
|
|
42
45
|
| `ngwr/calendar` | `import { WrCalendar } from 'ngwr/calendar'` | `wr-calendar` |
|
|
@@ -92,6 +95,7 @@ root barrel for components: the root `ngwr` exports only `provideWr()`.
|
|
|
92
95
|
| `ngwr/comment` | `import { WrComment } from 'ngwr/comment'` | `wr-comment-composer` `wr-comment` |
|
|
93
96
|
| `ngwr/comment/testing` | `import { WrCommentComposerHarness } from 'ngwr/comment/testing'` | — |
|
|
94
97
|
| `ngwr/compare` | `import { WrCompare } from 'ngwr/compare'` | `wr-compare` |
|
|
98
|
+
| `ngwr/compare/testing` | `import { WrCompareHarness } from 'ngwr/compare/testing'` | — |
|
|
95
99
|
| `ngwr/context-menu` | `import { WrContextMenu } from 'ngwr/context-menu'` | `wr-context-menu-divider` `wr-context-menu-item` `wr-context-menu` `[wrContextMenu]` |
|
|
96
100
|
| `ngwr/context-menu/testing` | `import { WrContextMenuHarness } from 'ngwr/context-menu/testing'` | — |
|
|
97
101
|
| `ngwr/cookie` | `import { WrCookie } from 'ngwr/cookie'` | — |
|
|
@@ -183,20 +187,24 @@ root barrel for components: the root `ngwr` exports only `provideWr()`.
|
|
|
183
187
|
| `ngwr/popover/testing` | `import { WrPopoverHarness } from 'ngwr/popover/testing'` | — |
|
|
184
188
|
| `ngwr/progress` | `import { WrProgress } from 'ngwr/progress'` | `wr-progress` |
|
|
185
189
|
| `ngwr/pull-to-refresh` | `import { WrPullToRefresh } from 'ngwr/pull-to-refresh'` | `wr-pull-to-refresh` |
|
|
190
|
+
| `ngwr/pull-to-refresh/testing` | `import { WrPullToRefreshHarness } from 'ngwr/pull-to-refresh/testing'` | — |
|
|
186
191
|
| `ngwr/qr` | `import { WrQr } from 'ngwr/qr'` | `wr-qr` |
|
|
187
192
|
| `ngwr/radio` | `import { WrRadio } from 'ngwr/radio'` | `wr-radio-group` `wr-radio` |
|
|
188
193
|
| `ngwr/radio/testing` | `import { WrRadioGroupHarness } from 'ngwr/radio/testing'` | — |
|
|
189
194
|
| `ngwr/rating` | `import { WrRating } from 'ngwr/rating'` | `wr-rating` |
|
|
190
195
|
| `ngwr/rating/testing` | `import { WrRatingHarness } from 'ngwr/rating/testing'` | — |
|
|
191
196
|
| `ngwr/resizable` | `import { WrResizable } from 'ngwr/resizable'` | `[wrResizable]` |
|
|
197
|
+
| `ngwr/resizable/testing` | `import { WrResizableHarness } from 'ngwr/resizable/testing'` | — |
|
|
192
198
|
| `ngwr/result` | `import { WrResult } from 'ngwr/result'` | `wr-result-404` `wr-result-403` `wr-result-500` `wr-result` |
|
|
193
199
|
| `ngwr/schema-form` | `import { WrSchemaForm } from 'ngwr/schema-form'` | `wr-schema-form` |
|
|
200
|
+
| `ngwr/schema-form/testing` | `import { WrSchemaFormArrayHarness } from 'ngwr/schema-form/testing'` | — |
|
|
194
201
|
| `ngwr/scroll` | `import { WrScroll } from 'ngwr/scroll'` | — |
|
|
195
202
|
| `ngwr/segmented` | `import { WrSegmented } from 'ngwr/segmented'` | `wr-segmented` |
|
|
196
203
|
| `ngwr/segmented/testing` | `import { WrSegmentedHarness } from 'ngwr/segmented/testing'` | — |
|
|
197
204
|
| `ngwr/select` | `import { WrSelect } from 'ngwr/select'` | `ng-template[wrSelectLoadError]` `wr-option-group` `ng-template[wrOptionLeading]` `wr-option` `wr-select` |
|
|
198
205
|
| `ngwr/select/testing` | `import { WrOptionHarness } from 'ngwr/select/testing'` | — |
|
|
199
206
|
| `ngwr/sidebar` | `import { WrSidebar } from 'ngwr/sidebar'` | `wr-sidebar` |
|
|
207
|
+
| `ngwr/sidebar/testing` | `import { WrSidebarGroupHarness } from 'ngwr/sidebar/testing'` | — |
|
|
200
208
|
| `ngwr/skeleton` | `import { WrSkeleton } from 'ngwr/skeleton'` | `wr-skeleton` |
|
|
201
209
|
| `ngwr/slider` | `import { WrSlider } from 'ngwr/slider'` | `wr-slider` |
|
|
202
210
|
| `ngwr/slider/testing` | `import { WrSliderHarness } from 'ngwr/slider/testing'` | — |
|
|
@@ -213,7 +221,7 @@ root barrel for components: the root `ngwr` exports only `provideWr()`.
|
|
|
213
221
|
| `ngwr/storage` | `import { WrStorage } from 'ngwr/storage'` | — |
|
|
214
222
|
| `ngwr/switch` | `import { WrSwitch } from 'ngwr/switch'` | `wr-switch` |
|
|
215
223
|
| `ngwr/switch/testing` | `import { WrSwitchHarness } from 'ngwr/switch/testing'` | — |
|
|
216
|
-
| `ngwr/table` | `import { WrTable } from 'ngwr/table'` | `[wrTableCell]` `ng-template[wrTableExpand]` `wr-table-filter` `ng-template[wrTableGroupHeader]` `wr-table-sort` `wr-table` |
|
|
224
|
+
| `ngwr/table` | `import { WrTable } from 'ngwr/table'` | `[wrTableCell]` `wr-table-column-chooser` `[wrTableEditCell]` `ng-template[wrTableExpand]` `wr-table-filter` `ng-template[wrTableGroupHeader]` `ng-template[wrTableSelectionBar]` `wr-table-sort` `wr-table` |
|
|
217
225
|
| `ngwr/table/testing` | `import { WrTableCellHarness } from 'ngwr/table/testing'` | — |
|
|
218
226
|
| `ngwr/tabs` | `import { WrTabs } from 'ngwr/tabs'` | `wr-tab` `wr-tabs` |
|
|
219
227
|
| `ngwr/tabs/router` | `import { WrTabsRouting } from 'ngwr/tabs/router'` | `[wrTabsRouting]` |
|