@ngstarter-ui/components 1.0.21
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/README.md +0 -0
- package/fesm2022/ngstarter-ui-components-action-required.mjs +42 -0
- package/fesm2022/ngstarter-ui-components-action-required.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-alert.mjs +132 -0
- package/fesm2022/ngstarter-ui-components-alert.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-announcement.mjs +86 -0
- package/fesm2022/ngstarter-ui-components-announcement.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-autocomplete.mjs +360 -0
- package/fesm2022/ngstarter-ui-components-autocomplete.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-avatar.mjs +235 -0
- package/fesm2022/ngstarter-ui-components-avatar.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-badge.mjs +97 -0
- package/fesm2022/ngstarter-ui-components-badge.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-block-loader.mjs +48 -0
- package/fesm2022/ngstarter-ui-components-block-loader.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-bottom-sheet.mjs +327 -0
- package/fesm2022/ngstarter-ui-components-bottom-sheet.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-breadcrumbs.mjs +209 -0
- package/fesm2022/ngstarter-ui-components-breadcrumbs.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-button-toggle.mjs +175 -0
- package/fesm2022/ngstarter-ui-components-button-toggle.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-button.mjs +70 -0
- package/fesm2022/ngstarter-ui-components-button.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-card-overlay.mjs +49 -0
- package/fesm2022/ngstarter-ui-components-card-overlay.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-card.mjs +199 -0
- package/fesm2022/ngstarter-ui-components-card.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-carousel.mjs +614 -0
- package/fesm2022/ngstarter-ui-components-carousel.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-checkbox.mjs +300 -0
- package/fesm2022/ngstarter-ui-components-checkbox.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-chips.mjs +589 -0
- package/fesm2022/ngstarter-ui-components-chips.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-code-highlighter.mjs +347 -0
- package/fesm2022/ngstarter-ui-components-code-highlighter.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-color-picker.mjs +713 -0
- package/fesm2022/ngstarter-ui-components-color-picker.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-color-scheme.mjs +106 -0
- package/fesm2022/ngstarter-ui-components-color-scheme.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-color-switcher.mjs +72 -0
- package/fesm2022/ngstarter-ui-components-color-switcher.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-command-bar.mjs +57 -0
- package/fesm2022/ngstarter-ui-components-command-bar.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-comment-editor.mjs +1024 -0
- package/fesm2022/ngstarter-ui-components-comment-editor.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-comparison-slider.mjs +177 -0
- package/fesm2022/ngstarter-ui-components-comparison-slider.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-confirm.mjs +85 -0
- package/fesm2022/ngstarter-ui-components-confirm.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-content-editor-code-block.component-Bk6QTli8.mjs +173 -0
- package/fesm2022/ngstarter-ui-components-content-editor-code-block.component-Bk6QTli8.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-content-editor-content-editor-content-editable.directive-Bvfa2dqh.mjs +124 -0
- package/fesm2022/ngstarter-ui-components-content-editor-content-editor-content-editable.directive-Bvfa2dqh.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-content-editor-cursor-controller-4Ak8VqGX.mjs +99 -0
- package/fesm2022/ngstarter-ui-components-content-editor-cursor-controller-4Ak8VqGX.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-content-editor-divider-block.component-C_iRTCPH.mjs +33 -0
- package/fesm2022/ngstarter-ui-components-content-editor-divider-block.component-C_iRTCPH.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-content-editor-embed-block-BbkC_t86.mjs +354 -0
- package/fesm2022/ngstarter-ui-components-content-editor-embed-block-BbkC_t86.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-content-editor-heading-block.component-D9_CxTY1.mjs +114 -0
- package/fesm2022/ngstarter-ui-components-content-editor-heading-block.component-D9_CxTY1.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-content-editor-image-block.component-B4zJyUg1.mjs +146 -0
- package/fesm2022/ngstarter-ui-components-content-editor-image-block.component-B4zJyUg1.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-content-editor-list-block.component-Cv6wx5Xe.mjs +215 -0
- package/fesm2022/ngstarter-ui-components-content-editor-list-block.component-Cv6wx5Xe.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-content-editor-ngstarter-ui-components-content-editor-1Zi2nAX5.mjs +2548 -0
- package/fesm2022/ngstarter-ui-components-content-editor-ngstarter-ui-components-content-editor-1Zi2nAX5.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-content-editor-paragraph-block.component-C9bQvDYU.mjs +110 -0
- package/fesm2022/ngstarter-ui-components-content-editor-paragraph-block.component-C9bQvDYU.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-content-editor-quote-block.component-BbHds2r2.mjs +141 -0
- package/fesm2022/ngstarter-ui-components-content-editor-quote-block.component-BbHds2r2.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-content-editor-table-block.component-DlDh7Fnn.mjs +1604 -0
- package/fesm2022/ngstarter-ui-components-content-editor-table-block.component-DlDh7Fnn.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-content-editor-video-block.component-m4DTihP2.mjs +175 -0
- package/fesm2022/ngstarter-ui-components-content-editor-video-block.component-m4DTihP2.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-content-editor.mjs +2 -0
- package/fesm2022/ngstarter-ui-components-content-editor.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-content-fade.mjs +35 -0
- package/fesm2022/ngstarter-ui-components-content-fade.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-cookie-popup.mjs +107 -0
- package/fesm2022/ngstarter-ui-components-cookie-popup.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-core.mjs +1330 -0
- package/fesm2022/ngstarter-ui-components-core.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-country-select.mjs +489 -0
- package/fesm2022/ngstarter-ui-components-country-select.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-crop.mjs +183 -0
- package/fesm2022/ngstarter-ui-components-crop.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-currency-select.mjs +397 -0
- package/fesm2022/ngstarter-ui-components-currency-select.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-data-view.mjs +1494 -0
- package/fesm2022/ngstarter-ui-components-data-view.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-date-format-select.mjs +154 -0
- package/fesm2022/ngstarter-ui-components-date-format-select.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-datepicker.mjs +1159 -0
- package/fesm2022/ngstarter-ui-components-datepicker.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-dialog.mjs +357 -0
- package/fesm2022/ngstarter-ui-components-dialog.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-divider.mjs +42 -0
- package/fesm2022/ngstarter-ui-components-divider.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-drawer.mjs +132 -0
- package/fesm2022/ngstarter-ui-components-drawer.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-emoji-picker.mjs +245 -0
- package/fesm2022/ngstarter-ui-components-emoji-picker.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-empty-state.mjs +75 -0
- package/fesm2022/ngstarter-ui-components-empty-state.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-expand.mjs +56 -0
- package/fesm2022/ngstarter-ui-components-expand.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-expansion.mjs +193 -0
- package/fesm2022/ngstarter-ui-components-expansion.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-filter-builder.mjs +333 -0
- package/fesm2022/ngstarter-ui-components-filter-builder.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-form-field.mjs +230 -0
- package/fesm2022/ngstarter-ui-components-form-field.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-form-renderer-autocomplete-many-field-BKQVlZHV.mjs +124 -0
- package/fesm2022/ngstarter-ui-components-form-renderer-autocomplete-many-field-BKQVlZHV.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-form-renderer-checkbox-field-CoyKdvhV.mjs +22 -0
- package/fesm2022/ngstarter-ui-components-form-renderer-checkbox-field-CoyKdvhV.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-form-renderer-datepicker-field-Bzc0TPO9.mjs +44 -0
- package/fesm2022/ngstarter-ui-components-form-renderer-datepicker-field-Bzc0TPO9.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-form-renderer-divider-content-CwGzDCZv.mjs +17 -0
- package/fesm2022/ngstarter-ui-components-form-renderer-divider-content-CwGzDCZv.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-form-renderer-image-content-ICTwkZPa.mjs +17 -0
- package/fesm2022/ngstarter-ui-components-form-renderer-image-content-ICTwkZPa.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-form-renderer-input-field-RYxi-Mpw.mjs +35 -0
- package/fesm2022/ngstarter-ui-components-form-renderer-input-field-RYxi-Mpw.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-form-renderer-radio-group-field-Cv3AGpoq.mjs +38 -0
- package/fesm2022/ngstarter-ui-components-form-renderer-radio-group-field-Cv3AGpoq.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-form-renderer-select-field-eLcwI-BY.mjs +39 -0
- package/fesm2022/ngstarter-ui-components-form-renderer-select-field-eLcwI-BY.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-form-renderer-text-content-BjzH_M3-.mjs +24 -0
- package/fesm2022/ngstarter-ui-components-form-renderer-text-content-BjzH_M3-.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-form-renderer-textarea-field-4zH7FTQ1.mjs +37 -0
- package/fesm2022/ngstarter-ui-components-form-renderer-textarea-field-4zH7FTQ1.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-form-renderer-timezone-field-BpH65Hd-.mjs +35 -0
- package/fesm2022/ngstarter-ui-components-form-renderer-timezone-field-BpH65Hd-.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-form-renderer-toggle-field-iyqUrWxt.mjs +22 -0
- package/fesm2022/ngstarter-ui-components-form-renderer-toggle-field-iyqUrWxt.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-form-renderer.mjs +317 -0
- package/fesm2022/ngstarter-ui-components-form-renderer.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-gauge.mjs +44 -0
- package/fesm2022/ngstarter-ui-components-gauge.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-grid.mjs +78 -0
- package/fesm2022/ngstarter-ui-components-grid.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-guided-tour.mjs +736 -0
- package/fesm2022/ngstarter-ui-components-guided-tour.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-headless-stepper.mjs +192 -0
- package/fesm2022/ngstarter-ui-components-headless-stepper.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-icon.mjs +61 -0
- package/fesm2022/ngstarter-ui-components-icon.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-image-designer.mjs +4016 -0
- package/fesm2022/ngstarter-ui-components-image-designer.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-image-placeholder.mjs +20 -0
- package/fesm2022/ngstarter-ui-components-image-placeholder.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-image-resizer.mjs +151 -0
- package/fesm2022/ngstarter-ui-components-image-resizer.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-image-viewer.mjs +349 -0
- package/fesm2022/ngstarter-ui-components-image-viewer.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-image-zoom-viewer.mjs +162 -0
- package/fesm2022/ngstarter-ui-components-image-zoom-viewer.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-incidents.mjs +257 -0
- package/fesm2022/ngstarter-ui-components-incidents.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-inline-text-edit.mjs +179 -0
- package/fesm2022/ngstarter-ui-components-inline-text-edit.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-input-mask.mjs +180 -0
- package/fesm2022/ngstarter-ui-components-input-mask.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-input-validator.mjs +24 -0
- package/fesm2022/ngstarter-ui-components-input-validator.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-input.mjs +152 -0
- package/fesm2022/ngstarter-ui-components-input.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-kanban-board.mjs +156 -0
- package/fesm2022/ngstarter-ui-components-kanban-board.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-kbd.mjs +31 -0
- package/fesm2022/ngstarter-ui-components-kbd.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-layout.mjs +199 -0
- package/fesm2022/ngstarter-ui-components-layout.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-list.mjs +279 -0
- package/fesm2022/ngstarter-ui-components-list.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-logo.mjs +51 -0
- package/fesm2022/ngstarter-ui-components-logo.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-marquee.mjs +76 -0
- package/fesm2022/ngstarter-ui-components-marquee.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-menu.mjs +851 -0
- package/fesm2022/ngstarter-ui-components-menu.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-micro-chart.mjs +928 -0
- package/fesm2022/ngstarter-ui-components-micro-chart.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-navigation.mjs +439 -0
- package/fesm2022/ngstarter-ui-components-navigation.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-notifications.mjs +181 -0
- package/fesm2022/ngstarter-ui-components-notifications.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-number-input.mjs +293 -0
- package/fesm2022/ngstarter-ui-components-number-input.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-option.mjs +157 -0
- package/fesm2022/ngstarter-ui-components-option.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-overlay.mjs +112 -0
- package/fesm2022/ngstarter-ui-components-overlay.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-page-loading-bar.mjs +77 -0
- package/fesm2022/ngstarter-ui-components-page-loading-bar.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-paginator.mjs +297 -0
- package/fesm2022/ngstarter-ui-components-paginator.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-panel.mjs +123 -0
- package/fesm2022/ngstarter-ui-components-panel.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-password-strength.mjs +335 -0
- package/fesm2022/ngstarter-ui-components-password-strength.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-phone-input.mjs +651 -0
- package/fesm2022/ngstarter-ui-components-phone-input.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-pin-input.mjs +193 -0
- package/fesm2022/ngstarter-ui-components-pin-input.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-popover.mjs +302 -0
- package/fesm2022/ngstarter-ui-components-popover.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-progress-bar.mjs +68 -0
- package/fesm2022/ngstarter-ui-components-progress-bar.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-radio-card.mjs +102 -0
- package/fesm2022/ngstarter-ui-components-radio-card.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-radio.mjs +147 -0
- package/fesm2022/ngstarter-ui-components-radio.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-rail-nav.mjs +87 -0
- package/fesm2022/ngstarter-ui-components-rail-nav.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-resizable-container.mjs +74 -0
- package/fesm2022/ngstarter-ui-components-resizable-container.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-screen-loader.mjs +95 -0
- package/fesm2022/ngstarter-ui-components-screen-loader.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-scroll-spy.mjs +219 -0
- package/fesm2022/ngstarter-ui-components-scroll-spy.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-scrollbar-area.mjs +459 -0
- package/fesm2022/ngstarter-ui-components-scrollbar-area.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-segmented.mjs +218 -0
- package/fesm2022/ngstarter-ui-components-segmented.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-select.mjs +496 -0
- package/fesm2022/ngstarter-ui-components-select.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-side-panel.mjs +107 -0
- package/fesm2022/ngstarter-ui-components-side-panel.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-sidebar.mjs +435 -0
- package/fesm2022/ngstarter-ui-components-sidebar.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-sidenav.mjs +354 -0
- package/fesm2022/ngstarter-ui-components-sidenav.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-signature-pad.mjs +452 -0
- package/fesm2022/ngstarter-ui-components-signature-pad.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-skeleton.mjs +22 -0
- package/fesm2022/ngstarter-ui-components-skeleton.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-slide-toggle.mjs +93 -0
- package/fesm2022/ngstarter-ui-components-slide-toggle.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-slider.mjs +481 -0
- package/fesm2022/ngstarter-ui-components-slider.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-snack-bar.mjs +354 -0
- package/fesm2022/ngstarter-ui-components-snack-bar.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-sort.mjs +140 -0
- package/fesm2022/ngstarter-ui-components-sort.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-spinner.mjs +75 -0
- package/fesm2022/ngstarter-ui-components-spinner.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-splash-screen.mjs +93 -0
- package/fesm2022/ngstarter-ui-components-splash-screen.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-split.mjs +948 -0
- package/fesm2022/ngstarter-ui-components-split.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-stepper.mjs +103 -0
- package/fesm2022/ngstarter-ui-components-stepper.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-suggestions.mjs +72 -0
- package/fesm2022/ngstarter-ui-components-suggestions.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-tab-panel.mjs +265 -0
- package/fesm2022/ngstarter-ui-components-tab-panel.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-table.mjs +648 -0
- package/fesm2022/ngstarter-ui-components-table.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-tabs.mjs +591 -0
- package/fesm2022/ngstarter-ui-components-tabs.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-text-editor.mjs +1012 -0
- package/fesm2022/ngstarter-ui-components-text-editor.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-thumbnail-maker.mjs +212 -0
- package/fesm2022/ngstarter-ui-components-thumbnail-maker.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-tiles.mjs +634 -0
- package/fesm2022/ngstarter-ui-components-tiles.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-timeline.mjs +122 -0
- package/fesm2022/ngstarter-ui-components-timeline.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-timepicker.mjs +486 -0
- package/fesm2022/ngstarter-ui-components-timepicker.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-timezone-select.mjs +371 -0
- package/fesm2022/ngstarter-ui-components-timezone-select.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-toolbar.mjs +299 -0
- package/fesm2022/ngstarter-ui-components-toolbar.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-tooltip.mjs +506 -0
- package/fesm2022/ngstarter-ui-components-tooltip.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-tree.mjs +200 -0
- package/fesm2022/ngstarter-ui-components-tree.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-upload.mjs +330 -0
- package/fesm2022/ngstarter-ui-components-upload.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-video-player.mjs +516 -0
- package/fesm2022/ngstarter-ui-components-video-player.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-video-viewer.mjs +218 -0
- package/fesm2022/ngstarter-ui-components-video-viewer.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-visual-builder.mjs +18 -0
- package/fesm2022/ngstarter-ui-components-visual-builder.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components.mjs +6 -0
- package/fesm2022/ngstarter-ui-components.mjs.map +1 -0
- package/package.json +535 -0
- package/styles/_common.scss +456 -0
- package/styles/_global.scss +91 -0
- package/styles/themes/default.scss +2 -0
- package/types/ngstarter-ui-components-action-required.d.ts +14 -0
- package/types/ngstarter-ui-components-alert.d.ts +50 -0
- package/types/ngstarter-ui-components-announcement.d.ts +59 -0
- package/types/ngstarter-ui-components-autocomplete.d.ts +83 -0
- package/types/ngstarter-ui-components-avatar.d.ts +69 -0
- package/types/ngstarter-ui-components-badge.d.ts +38 -0
- package/types/ngstarter-ui-components-block-loader.d.ts +21 -0
- package/types/ngstarter-ui-components-bottom-sheet.d.ts +149 -0
- package/types/ngstarter-ui-components-breadcrumbs.d.ts +104 -0
- package/types/ngstarter-ui-components-button-toggle.d.ts +54 -0
- package/types/ngstarter-ui-components-button.d.ts +27 -0
- package/types/ngstarter-ui-components-card-overlay.d.ts +20 -0
- package/types/ngstarter-ui-components-card.d.ts +85 -0
- package/types/ngstarter-ui-components-carousel.d.ts +76 -0
- package/types/ngstarter-ui-components-checkbox.d.ts +94 -0
- package/types/ngstarter-ui-components-chips.d.ts +189 -0
- package/types/ngstarter-ui-components-code-highlighter.d.ts +28 -0
- package/types/ngstarter-ui-components-color-picker.d.ts +92 -0
- package/types/ngstarter-ui-components-color-scheme.d.ts +44 -0
- package/types/ngstarter-ui-components-color-switcher.d.ts +26 -0
- package/types/ngstarter-ui-components-command-bar.d.ts +28 -0
- package/types/ngstarter-ui-components-comment-editor.d.ts +194 -0
- package/types/ngstarter-ui-components-comparison-slider.d.ts +42 -0
- package/types/ngstarter-ui-components-confirm.d.ts +34 -0
- package/types/ngstarter-ui-components-content-editor.d.ts +321 -0
- package/types/ngstarter-ui-components-content-fade.d.ts +17 -0
- package/types/ngstarter-ui-components-cookie-popup.d.ts +41 -0
- package/types/ngstarter-ui-components-core.d.ts +421 -0
- package/types/ngstarter-ui-components-country-select.d.ts +78 -0
- package/types/ngstarter-ui-components-crop.d.ts +59 -0
- package/types/ngstarter-ui-components-currency-select.d.ts +82 -0
- package/types/ngstarter-ui-components-data-view.d.ts +391 -0
- package/types/ngstarter-ui-components-date-format-select.d.ts +59 -0
- package/types/ngstarter-ui-components-datepicker.d.ts +384 -0
- package/types/ngstarter-ui-components-dialog.d.ts +115 -0
- package/types/ngstarter-ui-components-divider.d.ts +18 -0
- package/types/ngstarter-ui-components-drawer.d.ts +32 -0
- package/types/ngstarter-ui-components-emoji-picker.d.ts +49 -0
- package/types/ngstarter-ui-components-empty-state.d.ts +33 -0
- package/types/ngstarter-ui-components-expand.d.ts +26 -0
- package/types/ngstarter-ui-components-expansion.d.ts +68 -0
- package/types/ngstarter-ui-components-filter-builder.d.ts +106 -0
- package/types/ngstarter-ui-components-form-field.d.ts +107 -0
- package/types/ngstarter-ui-components-form-renderer.d.ts +121 -0
- package/types/ngstarter-ui-components-gauge.d.ts +21 -0
- package/types/ngstarter-ui-components-grid.d.ts +45 -0
- package/types/ngstarter-ui-components-guided-tour.d.ts +227 -0
- package/types/ngstarter-ui-components-headless-stepper.d.ts +65 -0
- package/types/ngstarter-ui-components-icon.d.ts +17 -0
- package/types/ngstarter-ui-components-image-designer.d.ts +357 -0
- package/types/ngstarter-ui-components-image-placeholder.d.ts +8 -0
- package/types/ngstarter-ui-components-image-resizer.d.ts +35 -0
- package/types/ngstarter-ui-components-image-viewer.d.ts +63 -0
- package/types/ngstarter-ui-components-image-zoom-viewer.d.ts +34 -0
- package/types/ngstarter-ui-components-incidents.d.ts +119 -0
- package/types/ngstarter-ui-components-inline-text-edit.d.ts +39 -0
- package/types/ngstarter-ui-components-input-mask.d.ts +36 -0
- package/types/ngstarter-ui-components-input-validator.d.ts +5 -0
- package/types/ngstarter-ui-components-input.d.ts +53 -0
- package/types/ngstarter-ui-components-kanban-board.d.ts +68 -0
- package/types/ngstarter-ui-components-kbd.d.ts +13 -0
- package/types/ngstarter-ui-components-layout.d.ts +83 -0
- package/types/ngstarter-ui-components-list.d.ts +98 -0
- package/types/ngstarter-ui-components-logo.d.ts +26 -0
- package/types/ngstarter-ui-components-marquee.d.ts +27 -0
- package/types/ngstarter-ui-components-menu.d.ts +199 -0
- package/types/ngstarter-ui-components-micro-chart.d.ts +195 -0
- package/types/ngstarter-ui-components-navigation.d.ts +136 -0
- package/types/ngstarter-ui-components-notifications.d.ts +84 -0
- package/types/ngstarter-ui-components-number-input.d.ts +99 -0
- package/types/ngstarter-ui-components-option.d.ts +61 -0
- package/types/ngstarter-ui-components-overlay.d.ts +12 -0
- package/types/ngstarter-ui-components-page-loading-bar.d.ts +20 -0
- package/types/ngstarter-ui-components-paginator.d.ts +145 -0
- package/types/ngstarter-ui-components-panel.d.ts +59 -0
- package/types/ngstarter-ui-components-password-strength.d.ts +109 -0
- package/types/ngstarter-ui-components-phone-input.d.ts +103 -0
- package/types/ngstarter-ui-components-pin-input.d.ts +48 -0
- package/types/ngstarter-ui-components-popover.d.ts +94 -0
- package/types/ngstarter-ui-components-progress-bar.d.ts +30 -0
- package/types/ngstarter-ui-components-radio-card.d.ts +37 -0
- package/types/ngstarter-ui-components-radio.d.ts +45 -0
- package/types/ngstarter-ui-components-rail-nav.d.ts +36 -0
- package/types/ngstarter-ui-components-resizable-container.d.ts +25 -0
- package/types/ngstarter-ui-components-screen-loader.d.ts +34 -0
- package/types/ngstarter-ui-components-scroll-spy.d.ts +63 -0
- package/types/ngstarter-ui-components-scrollbar-area.d.ts +67 -0
- package/types/ngstarter-ui-components-segmented.d.ts +65 -0
- package/types/ngstarter-ui-components-select.d.ts +126 -0
- package/types/ngstarter-ui-components-side-panel.d.ts +42 -0
- package/types/ngstarter-ui-components-sidebar.d.ts +143 -0
- package/types/ngstarter-ui-components-sidenav.d.ts +86 -0
- package/types/ngstarter-ui-components-signature-pad.d.ts +49 -0
- package/types/ngstarter-ui-components-skeleton.d.ts +9 -0
- package/types/ngstarter-ui-components-slide-toggle.d.ts +41 -0
- package/types/ngstarter-ui-components-slider.d.ts +85 -0
- package/types/ngstarter-ui-components-snack-bar.d.ts +142 -0
- package/types/ngstarter-ui-components-sort.d.ts +66 -0
- package/types/ngstarter-ui-components-spinner.d.ts +28 -0
- package/types/ngstarter-ui-components-splash-screen.d.ts +31 -0
- package/types/ngstarter-ui-components-split.d.ts +210 -0
- package/types/ngstarter-ui-components-stepper.d.ts +44 -0
- package/types/ngstarter-ui-components-suggestions.d.ts +32 -0
- package/types/ngstarter-ui-components-tab-panel.d.ts +96 -0
- package/types/ngstarter-ui-components-table.d.ts +277 -0
- package/types/ngstarter-ui-components-tabs.d.ts +145 -0
- package/types/ngstarter-ui-components-text-editor.d.ts +191 -0
- package/types/ngstarter-ui-components-thumbnail-maker.d.ts +35 -0
- package/types/ngstarter-ui-components-tiles.d.ts +109 -0
- package/types/ngstarter-ui-components-timeline.d.ts +57 -0
- package/types/ngstarter-ui-components-timepicker.d.ts +115 -0
- package/types/ngstarter-ui-components-timezone-select.d.ts +75 -0
- package/types/ngstarter-ui-components-toolbar.d.ts +74 -0
- package/types/ngstarter-ui-components-tooltip.d.ts +52 -0
- package/types/ngstarter-ui-components-tree.d.ts +60 -0
- package/types/ngstarter-ui-components-upload.d.ts +134 -0
- package/types/ngstarter-ui-components-video-player.d.ts +67 -0
- package/types/ngstarter-ui-components-video-viewer.d.ts +98 -0
- package/types/ngstarter-ui-components-visual-builder.d.ts +8 -0
- package/types/ngstarter-ui-components.d.ts +2 -0
|
@@ -0,0 +1,297 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Injectable, InjectionToken, inject, ChangeDetectorRef, input, numberAttribute, booleanAttribute, output, effect, untracked, afterNextRender, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
+
import { Subject } from 'rxjs';
|
|
4
|
+
import { Tooltip } from '@ngstarter-ui/components/tooltip';
|
|
5
|
+
import { Icon } from '@ngstarter-ui/components/icon';
|
|
6
|
+
import { Option, Select } from '@ngstarter-ui/components/select';
|
|
7
|
+
import { FormField } from '@ngstarter-ui/components/form-field';
|
|
8
|
+
import { Button } from '@ngstarter-ui/components/button';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* To modify the labels and text displayed, create a new instance of PaginatorIntl and
|
|
12
|
+
* include it in a custom provider
|
|
13
|
+
*/
|
|
14
|
+
class PaginatorIntl {
|
|
15
|
+
/**
|
|
16
|
+
* Stream to emit from when labels are changed. Use this to notify components when the labels have
|
|
17
|
+
* changed after initialization.
|
|
18
|
+
*/
|
|
19
|
+
changes = new Subject();
|
|
20
|
+
/** A label for the page size selector. */
|
|
21
|
+
itemsPerPageLabel = 'Items per page:';
|
|
22
|
+
/** A label for the button that increments the current page. */
|
|
23
|
+
nextPageLabel = 'Next page';
|
|
24
|
+
/** A label for the button that decrements the current page. */
|
|
25
|
+
previousPageLabel = 'Previous page';
|
|
26
|
+
/** A label for the button that moves to the first page. */
|
|
27
|
+
firstPageLabel = 'First page';
|
|
28
|
+
/** A label for the button that moves to the last page. */
|
|
29
|
+
lastPageLabel = 'Last page';
|
|
30
|
+
/** A label for the range of items within the current page and the length of the whole list. */
|
|
31
|
+
getRangeLabel = (page, pageSize, length) => {
|
|
32
|
+
length = Math.max(length || 0, 0);
|
|
33
|
+
if (length === 0 || pageSize === 0) {
|
|
34
|
+
return `0 ${this.ofLabel || 'of'} ${length}`;
|
|
35
|
+
}
|
|
36
|
+
const startIndex = (page || 0) * (pageSize || 0);
|
|
37
|
+
// If the start index exceeds the list length, do not try and fix the end index to the end.
|
|
38
|
+
const endIndex = startIndex < length ? Math.min(startIndex + (pageSize || 0), length) : startIndex + (pageSize || 0);
|
|
39
|
+
return `${startIndex + 1} – ${endIndex} ${this.ofLabel || 'of'} ${length}`;
|
|
40
|
+
};
|
|
41
|
+
/** Label for the 'of' terminology in the range display. */
|
|
42
|
+
ofLabel = 'of';
|
|
43
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: PaginatorIntl, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
44
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: PaginatorIntl, providedIn: 'root' });
|
|
45
|
+
}
|
|
46
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: PaginatorIntl, decorators: [{
|
|
47
|
+
type: Injectable,
|
|
48
|
+
args: [{ providedIn: 'root' }]
|
|
49
|
+
}] });
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Change event object that is emitted when the user selects a
|
|
53
|
+
* different page size or navigates to another page.
|
|
54
|
+
*/
|
|
55
|
+
class PageEvent {
|
|
56
|
+
/** The current page index. */
|
|
57
|
+
pageIndex;
|
|
58
|
+
/**
|
|
59
|
+
* Index of the page that was selected previously.
|
|
60
|
+
*/
|
|
61
|
+
previousPageIndex;
|
|
62
|
+
/** The current page size. */
|
|
63
|
+
pageSize;
|
|
64
|
+
/** The current total number of items being paged. */
|
|
65
|
+
length;
|
|
66
|
+
}
|
|
67
|
+
/** Injection token that can be used to provide the default options for the paginator module. */
|
|
68
|
+
const PAGINATOR_DEFAULT_OPTIONS = new InjectionToken('PAGINATOR_DEFAULT_OPTIONS');
|
|
69
|
+
/** The default page size if there is no page size and there are no provided page size options. */
|
|
70
|
+
const DEFAULT_PAGE_SIZE = 50;
|
|
71
|
+
|
|
72
|
+
class Paginator {
|
|
73
|
+
_changeDetectorRef = inject(ChangeDetectorRef);
|
|
74
|
+
_intl = inject(PaginatorIntl);
|
|
75
|
+
_intlChanges;
|
|
76
|
+
/** The zero-based page index of the displayed list of items. Defaulted to 0. */
|
|
77
|
+
pageIndexInput = input(undefined, { ...(ngDevMode ? { debugName: "pageIndexInput" } : /* istanbul ignore next */ {}), transform: numberAttribute, alias: 'pageIndex' });
|
|
78
|
+
get pageIndex() {
|
|
79
|
+
return this._pageIndex;
|
|
80
|
+
}
|
|
81
|
+
set pageIndex(value) {
|
|
82
|
+
this._pageIndex = Math.max(value || 0, 0);
|
|
83
|
+
this._changeDetectorRef.markForCheck();
|
|
84
|
+
}
|
|
85
|
+
_pageIndex = 0;
|
|
86
|
+
lengthInput = input(undefined, { ...(ngDevMode ? { debugName: "lengthInput" } : /* istanbul ignore next */ {}), transform: numberAttribute, alias: 'length' });
|
|
87
|
+
get length() {
|
|
88
|
+
return this._length;
|
|
89
|
+
}
|
|
90
|
+
set length(value) {
|
|
91
|
+
this._length = value || 0;
|
|
92
|
+
this._changeDetectorRef.markForCheck();
|
|
93
|
+
}
|
|
94
|
+
_length = 0;
|
|
95
|
+
/** Number of items to display on a page. By default set to 50. */
|
|
96
|
+
pageSizeInput = input(undefined, { ...(ngDevMode ? { debugName: "pageSizeInput" } : /* istanbul ignore next */ {}), transform: numberAttribute, alias: 'pageSize' });
|
|
97
|
+
get pageSize() {
|
|
98
|
+
return this._pageSize;
|
|
99
|
+
}
|
|
100
|
+
set pageSize(value) {
|
|
101
|
+
this._pageSize = Math.max(value || 0, 0);
|
|
102
|
+
this._updateDisplayedPageSizeOptions();
|
|
103
|
+
}
|
|
104
|
+
_pageSize;
|
|
105
|
+
/** The set of provided page size options to display to the user. */
|
|
106
|
+
pageSizeOptionsInput = input(undefined, { ...(ngDevMode ? { debugName: "pageSizeOptionsInput" } : /* istanbul ignore next */ {}), alias: 'pageSizeOptions' });
|
|
107
|
+
get pageSizeOptions() {
|
|
108
|
+
return this._pageSizeOptions;
|
|
109
|
+
}
|
|
110
|
+
set pageSizeOptions(value) {
|
|
111
|
+
this._pageSizeOptions = (value || []).map((p) => numberAttribute(p, 0));
|
|
112
|
+
this._updateDisplayedPageSizeOptions();
|
|
113
|
+
}
|
|
114
|
+
_pageSizeOptions = [];
|
|
115
|
+
/** Whether to hide the page size selection UI from the user. */
|
|
116
|
+
hidePageSize = input(false, { ...(ngDevMode ? { debugName: "hidePageSize" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
117
|
+
/** Whether to show the first/last buttons UI to the user. */
|
|
118
|
+
showFirstLastButtons = input(false, { ...(ngDevMode ? { debugName: "showFirstLastButtons" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
119
|
+
/** Whether the paginator is disabled. */
|
|
120
|
+
disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
121
|
+
/** Event emitted when the paginator changes the page size or page index. */
|
|
122
|
+
page = output();
|
|
123
|
+
_initialized = new Subject();
|
|
124
|
+
initialized = this._initialized.asObservable();
|
|
125
|
+
_displayedPageSizeOptions;
|
|
126
|
+
_isInitialized = false;
|
|
127
|
+
constructor() {
|
|
128
|
+
const defaults = inject(PAGINATOR_DEFAULT_OPTIONS, { optional: true });
|
|
129
|
+
if (defaults) {
|
|
130
|
+
if (defaults.pageSize != null) {
|
|
131
|
+
this._pageSize = defaults.pageSize;
|
|
132
|
+
}
|
|
133
|
+
if (defaults.pageSizeOptions != null) {
|
|
134
|
+
this._pageSizeOptions = defaults.pageSizeOptions;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
if (this._intl && this._intl.changes) {
|
|
138
|
+
this._intlChanges = this._intl.changes.subscribe(() => {
|
|
139
|
+
this._changeDetectorRef.markForCheck();
|
|
140
|
+
});
|
|
141
|
+
}
|
|
142
|
+
effect(() => {
|
|
143
|
+
const pageIndex = this.pageIndexInput();
|
|
144
|
+
if (pageIndex !== undefined) {
|
|
145
|
+
untracked(() => this.pageIndex = pageIndex);
|
|
146
|
+
}
|
|
147
|
+
});
|
|
148
|
+
effect(() => {
|
|
149
|
+
const pageSize = this.pageSizeInput();
|
|
150
|
+
if (pageSize !== undefined) {
|
|
151
|
+
untracked(() => this.pageSize = pageSize);
|
|
152
|
+
}
|
|
153
|
+
});
|
|
154
|
+
effect(() => {
|
|
155
|
+
const length = this.lengthInput();
|
|
156
|
+
if (length !== undefined) {
|
|
157
|
+
untracked(() => this.length = length);
|
|
158
|
+
}
|
|
159
|
+
});
|
|
160
|
+
effect(() => {
|
|
161
|
+
const pageSizeOptions = this.pageSizeOptionsInput();
|
|
162
|
+
if (pageSizeOptions !== undefined) {
|
|
163
|
+
untracked(() => this.pageSizeOptions = pageSizeOptions);
|
|
164
|
+
}
|
|
165
|
+
});
|
|
166
|
+
afterNextRender(() => {
|
|
167
|
+
this._initialized.next();
|
|
168
|
+
this._initialized.complete();
|
|
169
|
+
});
|
|
170
|
+
}
|
|
171
|
+
ngOnInit() {
|
|
172
|
+
this._isInitialized = true;
|
|
173
|
+
this._updateDisplayedPageSizeOptions();
|
|
174
|
+
}
|
|
175
|
+
ngOnDestroy() {
|
|
176
|
+
this._intlChanges?.unsubscribe();
|
|
177
|
+
}
|
|
178
|
+
/** Advances to the next page if it exists. */
|
|
179
|
+
nextPage() {
|
|
180
|
+
if (this.hasNextPage()) {
|
|
181
|
+
const previousPageIndex = this.pageIndex;
|
|
182
|
+
this._pageIndex++;
|
|
183
|
+
this._emitPageEvent(previousPageIndex);
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
/** Move back to the previous page if it exists. */
|
|
187
|
+
previousPage() {
|
|
188
|
+
if (this.hasPreviousPage()) {
|
|
189
|
+
const previousPageIndex = this.pageIndex;
|
|
190
|
+
this._pageIndex--;
|
|
191
|
+
this._emitPageEvent(previousPageIndex);
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
/** Move to the first page if not already there. */
|
|
195
|
+
firstPage() {
|
|
196
|
+
if (this.hasPreviousPage()) {
|
|
197
|
+
const previousPageIndex = this.pageIndex;
|
|
198
|
+
this._pageIndex = 0;
|
|
199
|
+
this._emitPageEvent(previousPageIndex);
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
/** Move to the last page if not already there. */
|
|
203
|
+
lastPage() {
|
|
204
|
+
if (this.hasNextPage()) {
|
|
205
|
+
const previousPageIndex = this.pageIndex;
|
|
206
|
+
this._pageIndex = this.getNumberOfPages() - 1;
|
|
207
|
+
this._emitPageEvent(previousPageIndex);
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
/** Whether there is a previous page. */
|
|
211
|
+
hasPreviousPage() {
|
|
212
|
+
return this.pageIndex >= 1 && this.pageSize !== 0;
|
|
213
|
+
}
|
|
214
|
+
/** Whether there is a next page. */
|
|
215
|
+
hasNextPage() {
|
|
216
|
+
const maxPageIndex = this.getNumberOfPages() - 1;
|
|
217
|
+
return this.pageIndex < maxPageIndex && this.pageSize !== 0;
|
|
218
|
+
}
|
|
219
|
+
/** Calculate the number of pages */
|
|
220
|
+
getNumberOfPages() {
|
|
221
|
+
if (!this.pageSize) {
|
|
222
|
+
return 0;
|
|
223
|
+
}
|
|
224
|
+
return Math.ceil(this.length / this.pageSize);
|
|
225
|
+
}
|
|
226
|
+
/**
|
|
227
|
+
* Changes the page size so that the first item displayed on the page will still be
|
|
228
|
+
* displayed using the new page size.
|
|
229
|
+
*
|
|
230
|
+
* For example, if the page size is 10 and on the second page (items indexed 10-19) then
|
|
231
|
+
* switching so that the page size is 5 will set the third page as the current page so
|
|
232
|
+
* that the 10th item will still be displayed.
|
|
233
|
+
*/
|
|
234
|
+
_changePageSize(pageSize) {
|
|
235
|
+
// Current page needs to be updated to reflect the new page size. Navigate to the page
|
|
236
|
+
// containing the previous page's first item.
|
|
237
|
+
const startIndex = this.pageIndex * this.pageSize;
|
|
238
|
+
const previousPageIndex = this.pageIndex;
|
|
239
|
+
this._pageSize = pageSize;
|
|
240
|
+
this._pageIndex = Math.floor(startIndex / pageSize) || 0;
|
|
241
|
+
this._emitPageEvent(previousPageIndex);
|
|
242
|
+
}
|
|
243
|
+
/** Checks whether the buttons for going forwards should be disabled. */
|
|
244
|
+
_nextButtonsDisabled() {
|
|
245
|
+
return this.disabled() || !this.hasNextPage();
|
|
246
|
+
}
|
|
247
|
+
/** Checks whether the buttons for going backwards should be disabled. */
|
|
248
|
+
_previousButtonsDisabled() {
|
|
249
|
+
return this.disabled() || !this.hasPreviousPage();
|
|
250
|
+
}
|
|
251
|
+
/**
|
|
252
|
+
* Updates the list of page size options to display to the user. Includes making sure that
|
|
253
|
+
* the page size is an option and that the list is sorted.
|
|
254
|
+
*/
|
|
255
|
+
_updateDisplayedPageSizeOptions() {
|
|
256
|
+
if (!this._isInitialized) {
|
|
257
|
+
return;
|
|
258
|
+
}
|
|
259
|
+
// If no page size is provided, use the first page size option or the default page size.
|
|
260
|
+
if (!this.pageSize) {
|
|
261
|
+
this._pageSize =
|
|
262
|
+
this.pageSizeOptions.length !== 0 ? this.pageSizeOptions[0] : DEFAULT_PAGE_SIZE;
|
|
263
|
+
}
|
|
264
|
+
this._displayedPageSizeOptions = this.pageSizeOptions.slice();
|
|
265
|
+
if (this._displayedPageSizeOptions.indexOf(this.pageSize) === -1) {
|
|
266
|
+
this._displayedPageSizeOptions.push(this.pageSize);
|
|
267
|
+
}
|
|
268
|
+
// Sort the numbers using a number-specific sort function.
|
|
269
|
+
this._displayedPageSizeOptions.sort((a, b) => a - b);
|
|
270
|
+
this._changeDetectorRef.markForCheck();
|
|
271
|
+
}
|
|
272
|
+
/** Emits a page event and clears the session-cached page index if applicable. */
|
|
273
|
+
_emitPageEvent(previousPageIndex) {
|
|
274
|
+
this.page.emit({
|
|
275
|
+
previousPageIndex,
|
|
276
|
+
pageIndex: this._pageIndex,
|
|
277
|
+
pageSize: this._pageSize,
|
|
278
|
+
length: this.length,
|
|
279
|
+
});
|
|
280
|
+
}
|
|
281
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: Paginator, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
282
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: Paginator, isStandalone: true, selector: "ngs-paginator", inputs: { pageIndexInput: { classPropertyName: "pageIndexInput", publicName: "pageIndex", isSignal: true, isRequired: false, transformFunction: null }, lengthInput: { classPropertyName: "lengthInput", publicName: "length", isSignal: true, isRequired: false, transformFunction: null }, pageSizeInput: { classPropertyName: "pageSizeInput", publicName: "pageSize", isSignal: true, isRequired: false, transformFunction: null }, pageSizeOptionsInput: { classPropertyName: "pageSizeOptionsInput", publicName: "pageSizeOptions", isSignal: true, isRequired: false, transformFunction: null }, hidePageSize: { classPropertyName: "hidePageSize", publicName: "hidePageSize", isSignal: true, isRequired: false, transformFunction: null }, showFirstLastButtons: { classPropertyName: "showFirstLastButtons", publicName: "showFirstLastButtons", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { page: "page" }, host: { attributes: { "role": "group" }, classAttribute: "ngs-paginator" }, exportAs: ["ngsPaginator"], ngImport: i0, template: "<div class=\"ngs-paginator-container\">\n @if (!hidePageSize()) {\n <div class=\"ngs-paginator-page-size\">\n <div class=\"ngs-paginator-page-size-label\">\n {{_intl.itemsPerPageLabel || 'Items per page:'}}\n </div>\n\n <ngs-form-field\n subscriptHiddenIfEmpty\n class=\"ngs-paginator-page-size-select\">\n <ngs-select\n hideCheckIcon\n [value]=\"pageSize\"\n [disabled]=\"disabled()\"\n (selectionChange)=\"_changePageSize($event.value)\">\n @for (pageSizeOption of _displayedPageSizeOptions; track pageSizeOption) {\n <ngs-option [value]=\"pageSizeOption\">\n {{pageSizeOption}}\n </ngs-option>\n }\n </ngs-select>\n </ngs-form-field>\n </div>\n }\n\n <div class=\"ngs-paginator-range-actions\">\n <div class=\"ngs-paginator-range-label\" aria-live=\"polite\">\n {{_intl.getRangeLabel(pageIndex, pageSize, length)}}\n </div>\n\n <div class=\"ngs-paginator-navigation\">\n @if (showFirstLastButtons()) {\n <button ngsIconButton\n type=\"button\"\n class=\"ngs-paginator-navigation-first\"\n (click)=\"firstPage()\"\n [ngsTooltip]=\"_intl.firstPageLabel || 'First page'\"\n [disabled]=\"_previousButtonsDisabled()\">\n <ngs-icon name=\"fluent:arrow-previous-24-regular\" />\n </button>\n }\n\n <button ngsIconButton\n type=\"button\"\n class=\"ngs-paginator-navigation-previous\"\n (click)=\"previousPage()\"\n [ngsTooltip]=\"_intl.previousPageLabel || 'Previous page'\"\n [disabled]=\"_previousButtonsDisabled()\">\n <ngs-icon name=\"fluent:chevron-left-24-regular\" />\n </button>\n\n <button ngsIconButton\n type=\"button\"\n class=\"ngs-paginator-navigation-next\"\n (click)=\"nextPage()\"\n [ngsTooltip]=\"_intl.nextPageLabel || 'Next page'\"\n [disabled]=\"_nextButtonsDisabled()\">\n <ngs-icon name=\"fluent:chevron-right-24-regular\" />\n </button>\n\n @if (showFirstLastButtons()) {\n <button ngsIconButton\n type=\"button\"\n class=\"ngs-paginator-navigation-last\"\n (click)=\"lastPage()\"\n [ngsTooltip]=\"_intl.lastPageLabel || 'Last page'\"\n [disabled]=\"_nextButtonsDisabled()\">\n <ngs-icon name=\"fluent:arrow-next-24-regular\" />\n </button>\n }\n </div>\n </div>\n</div>\n", styles: [":host{--ngs-paginator-container-background: transparent;--ngs-paginator-container-text-color: var(--color-on-surface);--ngs-paginator-container-text-font: var(--font-sans);--ngs-paginator-container-text-line-height: inherit;--ngs-paginator-container-text-size: .875rem;--ngs-paginator-container-text-tracking: normal;--ngs-paginator-container-text-weight: 400;--ngs-paginator-page-size-margin-right: 8px;--ngs-paginator-items-per-page-label-margin: 0 4px;--ngs-paginator-range-label-margin: 0 32px 0 24px;display:block}:host .ngs-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;min-height:40px;background:var(--ngs-paginator-container-background-color);color:var(--ngs-paginator-container-text-color);font-family:var(--ngs-paginator-container-text-font);line-height:var(--ngs-paginator-container-text-line-height);font-size:var(--ngs-paginator-container-text-size);letter-spacing:var(--ngs-paginator-container-text-tracking);font-weight:var(--ngs-paginator-container-text-weight)}:host .ngs-paginator-page-size{display:flex;align-items:center;margin-right:var(--ngs-paginator-page-size-margin-right)}:host .ngs-paginator-page-size-label{margin:var(--ngs-paginator-items-per-page-label-margin)}:host .ngs-paginator-page-size-select{margin:0 4px;width:78px;--ngs-form-field-infix-padding-top: 0 !important;--ngs-form-field-infix-padding-bottom: 0 !important}:host .ngs-paginator-page-size-select ::ng-deep .ngs-form-field-container{padding:0 6px 0 12px!important;height:calc(var(--spacing, .25rem) * 10)!important;min-height:calc(var(--spacing, .25rem) * 10)!important;box-sizing:border-box!important}:host .ngs-paginator-page-size-select ::ng-deep .ngs-form-field-infix{padding:0!important;height:calc(var(--spacing, .25rem) * 10)!important;min-height:calc(var(--spacing, .25rem) * 10)!important;box-sizing:border-box!important}:host .ngs-paginator-page-size-select ::ng-deep .ngs-select{height:calc(var(--spacing, .25rem) * 10)!important;min-height:calc(var(--spacing, .25rem) * 10)!important;min-width:0!important;--ngs-select-min-width: 0 !important}:host .ngs-paginator-page-size-select ::ng-deep .ngs-select-arrow-wrapper{height:calc(var(--spacing, .25rem) * 10)!important;padding-inline-end:2px}:host .ngs-paginator-range-actions{display:flex;align-items:center}:host .ngs-paginator-range-label{margin:var(--ngs-paginator-range-label-margin)}:host .ngs-paginator-navigation{display:flex;align-items:center}\n/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "component", type: Button, selector: " button[ngsButton], button[ngsIconButton], a[ngsButton], a[ngsIconButton] ", inputs: ["ngsButton", "ngsIconButton", "loading", "disabled", "disabledInteractive", "disableRipple", "reverse", "fullWidth", "hideTextOnMobile"], exportAs: ["ngsButton"] }, { kind: "directive", type: Tooltip, selector: "[ngsTooltip]", inputs: ["ngsTooltip", "ngsTooltipPosition", "ngsTooltipClass", "ngsTooltipShowDelay", "ngsTooltipHideDelay", "ngsTooltipOffset", "ngsTooltipPositionAtOrigin", "ngsTooltipDisabled"], exportAs: ["ngsTooltip"] }, { kind: "component", type: Icon, selector: "ngs-icon", inputs: ["name"], exportAs: ["ngsIcon"] }, { kind: "component", type: Option, selector: "ngs-option", inputs: ["value", "disabled", "selected"], outputs: ["onSelectionChange"], exportAs: ["ngsOption"] }, { kind: "component", type: Select, selector: "ngs-select", inputs: ["id", "placeholder", "disabled", "required", "multiple", "hideCheckIcon", "ariaLabel", "tabIndex", "aria-describedby", "value"], outputs: ["selectionChange", "opened", "closed", "valueChange"], exportAs: ["ngsSelect"] }, { kind: "component", type: FormField, selector: "ngs-form-field", inputs: ["subscriptHiddenIfEmpty"], exportAs: ["ngsFormField"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
283
|
+
}
|
|
284
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: Paginator, decorators: [{
|
|
285
|
+
type: Component,
|
|
286
|
+
args: [{ selector: 'ngs-paginator', exportAs: 'ngsPaginator', imports: [Button, Tooltip, Icon, Option, Select, FormField], changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
287
|
+
'class': 'ngs-paginator',
|
|
288
|
+
'role': 'group',
|
|
289
|
+
}, template: "<div class=\"ngs-paginator-container\">\n @if (!hidePageSize()) {\n <div class=\"ngs-paginator-page-size\">\n <div class=\"ngs-paginator-page-size-label\">\n {{_intl.itemsPerPageLabel || 'Items per page:'}}\n </div>\n\n <ngs-form-field\n subscriptHiddenIfEmpty\n class=\"ngs-paginator-page-size-select\">\n <ngs-select\n hideCheckIcon\n [value]=\"pageSize\"\n [disabled]=\"disabled()\"\n (selectionChange)=\"_changePageSize($event.value)\">\n @for (pageSizeOption of _displayedPageSizeOptions; track pageSizeOption) {\n <ngs-option [value]=\"pageSizeOption\">\n {{pageSizeOption}}\n </ngs-option>\n }\n </ngs-select>\n </ngs-form-field>\n </div>\n }\n\n <div class=\"ngs-paginator-range-actions\">\n <div class=\"ngs-paginator-range-label\" aria-live=\"polite\">\n {{_intl.getRangeLabel(pageIndex, pageSize, length)}}\n </div>\n\n <div class=\"ngs-paginator-navigation\">\n @if (showFirstLastButtons()) {\n <button ngsIconButton\n type=\"button\"\n class=\"ngs-paginator-navigation-first\"\n (click)=\"firstPage()\"\n [ngsTooltip]=\"_intl.firstPageLabel || 'First page'\"\n [disabled]=\"_previousButtonsDisabled()\">\n <ngs-icon name=\"fluent:arrow-previous-24-regular\" />\n </button>\n }\n\n <button ngsIconButton\n type=\"button\"\n class=\"ngs-paginator-navigation-previous\"\n (click)=\"previousPage()\"\n [ngsTooltip]=\"_intl.previousPageLabel || 'Previous page'\"\n [disabled]=\"_previousButtonsDisabled()\">\n <ngs-icon name=\"fluent:chevron-left-24-regular\" />\n </button>\n\n <button ngsIconButton\n type=\"button\"\n class=\"ngs-paginator-navigation-next\"\n (click)=\"nextPage()\"\n [ngsTooltip]=\"_intl.nextPageLabel || 'Next page'\"\n [disabled]=\"_nextButtonsDisabled()\">\n <ngs-icon name=\"fluent:chevron-right-24-regular\" />\n </button>\n\n @if (showFirstLastButtons()) {\n <button ngsIconButton\n type=\"button\"\n class=\"ngs-paginator-navigation-last\"\n (click)=\"lastPage()\"\n [ngsTooltip]=\"_intl.lastPageLabel || 'Last page'\"\n [disabled]=\"_nextButtonsDisabled()\">\n <ngs-icon name=\"fluent:arrow-next-24-regular\" />\n </button>\n }\n </div>\n </div>\n</div>\n", styles: [":host{--ngs-paginator-container-background: transparent;--ngs-paginator-container-text-color: var(--color-on-surface);--ngs-paginator-container-text-font: var(--font-sans);--ngs-paginator-container-text-line-height: inherit;--ngs-paginator-container-text-size: .875rem;--ngs-paginator-container-text-tracking: normal;--ngs-paginator-container-text-weight: 400;--ngs-paginator-page-size-margin-right: 8px;--ngs-paginator-items-per-page-label-margin: 0 4px;--ngs-paginator-range-label-margin: 0 32px 0 24px;display:block}:host .ngs-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;min-height:40px;background:var(--ngs-paginator-container-background-color);color:var(--ngs-paginator-container-text-color);font-family:var(--ngs-paginator-container-text-font);line-height:var(--ngs-paginator-container-text-line-height);font-size:var(--ngs-paginator-container-text-size);letter-spacing:var(--ngs-paginator-container-text-tracking);font-weight:var(--ngs-paginator-container-text-weight)}:host .ngs-paginator-page-size{display:flex;align-items:center;margin-right:var(--ngs-paginator-page-size-margin-right)}:host .ngs-paginator-page-size-label{margin:var(--ngs-paginator-items-per-page-label-margin)}:host .ngs-paginator-page-size-select{margin:0 4px;width:78px;--ngs-form-field-infix-padding-top: 0 !important;--ngs-form-field-infix-padding-bottom: 0 !important}:host .ngs-paginator-page-size-select ::ng-deep .ngs-form-field-container{padding:0 6px 0 12px!important;height:calc(var(--spacing, .25rem) * 10)!important;min-height:calc(var(--spacing, .25rem) * 10)!important;box-sizing:border-box!important}:host .ngs-paginator-page-size-select ::ng-deep .ngs-form-field-infix{padding:0!important;height:calc(var(--spacing, .25rem) * 10)!important;min-height:calc(var(--spacing, .25rem) * 10)!important;box-sizing:border-box!important}:host .ngs-paginator-page-size-select ::ng-deep .ngs-select{height:calc(var(--spacing, .25rem) * 10)!important;min-height:calc(var(--spacing, .25rem) * 10)!important;min-width:0!important;--ngs-select-min-width: 0 !important}:host .ngs-paginator-page-size-select ::ng-deep .ngs-select-arrow-wrapper{height:calc(var(--spacing, .25rem) * 10)!important;padding-inline-end:2px}:host .ngs-paginator-range-actions{display:flex;align-items:center}:host .ngs-paginator-range-label{margin:var(--ngs-paginator-range-label-margin)}:host .ngs-paginator-navigation{display:flex;align-items:center}\n/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */\n"] }]
|
|
290
|
+
}], ctorParameters: () => [], propDecorators: { pageIndexInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "pageIndex", required: false }] }], lengthInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "length", required: false }] }], pageSizeInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "pageSize", required: false }] }], pageSizeOptionsInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "pageSizeOptions", required: false }] }], hidePageSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "hidePageSize", required: false }] }], showFirstLastButtons: [{ type: i0.Input, args: [{ isSignal: true, alias: "showFirstLastButtons", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], page: [{ type: i0.Output, args: ["page"] }] } });
|
|
291
|
+
|
|
292
|
+
/**
|
|
293
|
+
* Generated bundle index. Do not edit.
|
|
294
|
+
*/
|
|
295
|
+
|
|
296
|
+
export { DEFAULT_PAGE_SIZE, PAGINATOR_DEFAULT_OPTIONS, PageEvent, Paginator, PaginatorIntl };
|
|
297
|
+
//# sourceMappingURL=ngstarter-ui-components-paginator.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ngstarter-ui-components-paginator.mjs","sources":["../../../projects/components/paginator/src/paginator-intl.ts","../../../projects/components/paginator/src/paginator-interfaces.ts","../../../projects/components/paginator/src/paginator/paginator.ts","../../../projects/components/paginator/src/paginator/paginator.html","../../../projects/components/paginator/ngstarter-ui-components-paginator.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { Subject } from 'rxjs';\n\n/**\n * To modify the labels and text displayed, create a new instance of PaginatorIntl and\n * include it in a custom provider\n */\n@Injectable({ providedIn: 'root' })\nexport class PaginatorIntl {\n /**\n * Stream to emit from when labels are changed. Use this to notify components when the labels have\n * changed after initialization.\n */\n readonly changes = new Subject<void>();\n\n /** A label for the page size selector. */\n itemsPerPageLabel = 'Items per page:';\n\n /** A label for the button that increments the current page. */\n nextPageLabel = 'Next page';\n\n /** A label for the button that decrements the current page. */\n previousPageLabel = 'Previous page';\n\n /** A label for the button that moves to the first page. */\n firstPageLabel = 'First page';\n\n /** A label for the button that moves to the last page. */\n lastPageLabel = 'Last page';\n\n /** A label for the range of items within the current page and the length of the whole list. */\n getRangeLabel = (page: number, pageSize: number, length: number) => {\n length = Math.max(length || 0, 0);\n\n if (length === 0 || pageSize === 0) {\n return `0 ${this.ofLabel || 'of'} ${length}`;\n }\n\n const startIndex = (page || 0) * (pageSize || 0);\n\n // If the start index exceeds the list length, do not try and fix the end index to the end.\n const endIndex =\n startIndex < length ? Math.min(startIndex + (pageSize || 0), length) : startIndex + (pageSize || 0);\n\n return `${startIndex + 1} – ${endIndex} ${this.ofLabel || 'of'} ${length}`;\n };\n\n /** Label for the 'of' terminology in the range display. */\n ofLabel = 'of';\n}\n","import { InjectionToken } from '@angular/core';\n\n/**\n * Change event object that is emitted when the user selects a\n * different page size or navigates to another page.\n */\nexport class PageEvent {\n /** The current page index. */\n pageIndex: number;\n\n /**\n * Index of the page that was selected previously.\n */\n previousPageIndex?: number;\n\n /** The current page size. */\n pageSize: number;\n\n /** The current total number of items being paged. */\n length: number;\n}\n\n/** Injection token that can be used to provide the default options for the paginator module. */\nexport const PAGINATOR_DEFAULT_OPTIONS = new InjectionToken<PaginatorDefaultOptions>(\n 'PAGINATOR_DEFAULT_OPTIONS',\n);\n\n/**\n * Object that can be used to configure the default options for the paginator module.\n */\nexport interface PaginatorDefaultOptions {\n /** Number of items to display on a page. By default set to 50. */\n pageSize?: number;\n\n /** The set of provided page size options to display to the user. */\n pageSizeOptions?: number[];\n\n /** Whether to hide the page size selection UI from the user. */\n hidePageSize?: boolean;\n\n /** Whether to show the first/last buttons UI to the user. */\n showFirstLastButtons?: boolean;\n}\n\n/** The default page size if there is no page size and there are no provided page size options. */\nexport const DEFAULT_PAGE_SIZE = 50;\n","import {\n booleanAttribute,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n inject,\n input,\n numberAttribute,\n OnDestroy,\n OnInit,\n afterNextRender,\n output,\n effect,\n untracked\n} from '@angular/core';\nimport { Subject, Subscription } from 'rxjs';\nimport { Tooltip } from '@ngstarter-ui/components/tooltip';\nimport { Icon } from '@ngstarter-ui/components/icon';\nimport { Option, Select } from '@ngstarter-ui/components/select';\nimport { FormField } from '@ngstarter-ui/components/form-field';\nimport { Button } from '@ngstarter-ui/components/button';\nimport { PaginatorIntl } from '../paginator-intl';\nimport {\n DEFAULT_PAGE_SIZE,\n PageEvent,\n PAGINATOR_DEFAULT_OPTIONS\n} from '../paginator-interfaces';\n\n@Component({\n selector: 'ngs-paginator',\n exportAs: 'ngsPaginator',\n imports: [Button, Tooltip, Icon, Option, Select, FormField],\n templateUrl: './paginator.html',\n styleUrl: './paginator.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n 'class': 'ngs-paginator',\n 'role': 'group',\n },\n})\nexport class Paginator implements OnInit, OnDestroy {\n private _changeDetectorRef = inject(ChangeDetectorRef);\n _intl = inject(PaginatorIntl);\n\n private _intlChanges: Subscription;\n\n /** The zero-based page index of the displayed list of items. Defaulted to 0. */\n pageIndexInput = input(undefined, { transform: numberAttribute, alias: 'pageIndex' });\n get pageIndex(): number {\n return this._pageIndex;\n }\n set pageIndex(value: number) {\n this._pageIndex = Math.max(value || 0, 0);\n this._changeDetectorRef.markForCheck();\n }\n private _pageIndex = 0;\n\n lengthInput = input(undefined, { transform: numberAttribute, alias: 'length' });\n get length(): number {\n return this._length;\n }\n set length(value: number) {\n this._length = value || 0;\n this._changeDetectorRef.markForCheck();\n }\n private _length = 0;\n\n /** Number of items to display on a page. By default set to 50. */\n pageSizeInput = input(undefined, { transform: numberAttribute, alias: 'pageSize' });\n get pageSize(): number {\n return this._pageSize;\n }\n set pageSize(value: number) {\n this._pageSize = Math.max(value || 0, 0);\n this._updateDisplayedPageSizeOptions();\n }\n private _pageSize: number;\n\n /** The set of provided page size options to display to the user. */\n pageSizeOptionsInput = input<number[] | undefined>(undefined, { alias: 'pageSizeOptions' });\n get pageSizeOptions(): number[] {\n return this._pageSizeOptions;\n }\n set pageSizeOptions(value: number[]) {\n this._pageSizeOptions = (value || []).map((p) => numberAttribute(p, 0));\n this._updateDisplayedPageSizeOptions();\n }\n private _pageSizeOptions: number[] = [];\n\n /** Whether to hide the page size selection UI from the user. */\n hidePageSize = input(false, { transform: booleanAttribute });\n\n /** Whether to show the first/last buttons UI to the user. */\n showFirstLastButtons = input(false, { transform: booleanAttribute });\n\n /** Whether the paginator is disabled. */\n disabled = input(false, { transform: booleanAttribute });\n\n /** Event emitted when the paginator changes the page size or page index. */\n readonly page = output<PageEvent>();\n\n _initialized = new Subject<void>();\n initialized = this._initialized.asObservable();\n _displayedPageSizeOptions: number[];\n\n private _isInitialized = false;\n\n constructor() {\n const defaults = inject(PAGINATOR_DEFAULT_OPTIONS, { optional: true });\n\n if (defaults) {\n if (defaults.pageSize != null) {\n this._pageSize = defaults.pageSize;\n }\n if (defaults.pageSizeOptions != null) {\n this._pageSizeOptions = defaults.pageSizeOptions;\n }\n }\n\n if (this._intl && this._intl.changes) {\n this._intlChanges = this._intl.changes.subscribe(() => {\n this._changeDetectorRef.markForCheck();\n });\n }\n\n effect(() => {\n const pageIndex = this.pageIndexInput();\n if (pageIndex !== undefined) {\n untracked(() => this.pageIndex = pageIndex);\n }\n });\n effect(() => {\n const pageSize = this.pageSizeInput();\n if (pageSize !== undefined) {\n untracked(() => this.pageSize = pageSize);\n }\n });\n effect(() => {\n const length = this.lengthInput();\n if (length !== undefined) {\n untracked(() => this.length = length);\n }\n });\n effect(() => {\n const pageSizeOptions = this.pageSizeOptionsInput();\n if (pageSizeOptions !== undefined) {\n untracked(() => this.pageSizeOptions = pageSizeOptions);\n }\n });\n afterNextRender(() => {\n this._initialized.next();\n this._initialized.complete();\n });\n }\n\n ngOnInit() {\n this._isInitialized = true;\n this._updateDisplayedPageSizeOptions();\n }\n\n ngOnDestroy() {\n this._intlChanges?.unsubscribe();\n }\n\n /** Advances to the next page if it exists. */\n nextPage(): void {\n if (this.hasNextPage()) {\n const previousPageIndex = this.pageIndex;\n this._pageIndex++;\n this._emitPageEvent(previousPageIndex);\n }\n }\n\n /** Move back to the previous page if it exists. */\n previousPage(): void {\n if (this.hasPreviousPage()) {\n const previousPageIndex = this.pageIndex;\n this._pageIndex--;\n this._emitPageEvent(previousPageIndex);\n }\n }\n\n /** Move to the first page if not already there. */\n firstPage(): void {\n if (this.hasPreviousPage()) {\n const previousPageIndex = this.pageIndex;\n this._pageIndex = 0;\n this._emitPageEvent(previousPageIndex);\n }\n }\n\n /** Move to the last page if not already there. */\n lastPage(): void {\n if (this.hasNextPage()) {\n const previousPageIndex = this.pageIndex;\n this._pageIndex = this.getNumberOfPages() - 1;\n this._emitPageEvent(previousPageIndex);\n }\n }\n\n /** Whether there is a previous page. */\n hasPreviousPage(): boolean {\n return this.pageIndex >= 1 && this.pageSize !== 0;\n }\n\n /** Whether there is a next page. */\n hasNextPage(): boolean {\n const maxPageIndex = this.getNumberOfPages() - 1;\n return this.pageIndex < maxPageIndex && this.pageSize !== 0;\n }\n\n /** Calculate the number of pages */\n getNumberOfPages(): number {\n if (!this.pageSize) {\n return 0;\n }\n\n return Math.ceil(this.length / this.pageSize);\n }\n\n /**\n * Changes the page size so that the first item displayed on the page will still be\n * displayed using the new page size.\n *\n * For example, if the page size is 10 and on the second page (items indexed 10-19) then\n * switching so that the page size is 5 will set the third page as the current page so\n * that the 10th item will still be displayed.\n */\n _changePageSize(pageSize: number) {\n // Current page needs to be updated to reflect the new page size. Navigate to the page\n // containing the previous page's first item.\n const startIndex = this.pageIndex * this.pageSize;\n const previousPageIndex = this.pageIndex;\n\n this._pageSize = pageSize;\n this._pageIndex = Math.floor(startIndex / pageSize) || 0;\n\n this._emitPageEvent(previousPageIndex);\n }\n\n /** Checks whether the buttons for going forwards should be disabled. */\n _nextButtonsDisabled() {\n return this.disabled() || !this.hasNextPage();\n }\n\n /** Checks whether the buttons for going backwards should be disabled. */\n _previousButtonsDisabled() {\n return this.disabled() || !this.hasPreviousPage();\n }\n\n /**\n * Updates the list of page size options to display to the user. Includes making sure that\n * the page size is an option and that the list is sorted.\n */\n private _updateDisplayedPageSizeOptions() {\n if (!this._isInitialized) {\n return;\n }\n\n // If no page size is provided, use the first page size option or the default page size.\n if (!this.pageSize) {\n this._pageSize =\n this.pageSizeOptions.length !== 0 ? this.pageSizeOptions[0] : DEFAULT_PAGE_SIZE;\n }\n\n this._displayedPageSizeOptions = this.pageSizeOptions.slice();\n\n if (this._displayedPageSizeOptions.indexOf(this.pageSize) === -1) {\n this._displayedPageSizeOptions.push(this.pageSize);\n }\n\n // Sort the numbers using a number-specific sort function.\n this._displayedPageSizeOptions.sort((a, b) => a - b);\n this._changeDetectorRef.markForCheck();\n }\n\n /** Emits a page event and clears the session-cached page index if applicable. */\n private _emitPageEvent(previousPageIndex: number) {\n this.page.emit({\n previousPageIndex,\n pageIndex: this._pageIndex,\n pageSize: this._pageSize,\n length: this.length,\n });\n }\n}\n","<div class=\"ngs-paginator-container\">\n @if (!hidePageSize()) {\n <div class=\"ngs-paginator-page-size\">\n <div class=\"ngs-paginator-page-size-label\">\n {{_intl.itemsPerPageLabel || 'Items per page:'}}\n </div>\n\n <ngs-form-field\n subscriptHiddenIfEmpty\n class=\"ngs-paginator-page-size-select\">\n <ngs-select\n hideCheckIcon\n [value]=\"pageSize\"\n [disabled]=\"disabled()\"\n (selectionChange)=\"_changePageSize($event.value)\">\n @for (pageSizeOption of _displayedPageSizeOptions; track pageSizeOption) {\n <ngs-option [value]=\"pageSizeOption\">\n {{pageSizeOption}}\n </ngs-option>\n }\n </ngs-select>\n </ngs-form-field>\n </div>\n }\n\n <div class=\"ngs-paginator-range-actions\">\n <div class=\"ngs-paginator-range-label\" aria-live=\"polite\">\n {{_intl.getRangeLabel(pageIndex, pageSize, length)}}\n </div>\n\n <div class=\"ngs-paginator-navigation\">\n @if (showFirstLastButtons()) {\n <button ngsIconButton\n type=\"button\"\n class=\"ngs-paginator-navigation-first\"\n (click)=\"firstPage()\"\n [ngsTooltip]=\"_intl.firstPageLabel || 'First page'\"\n [disabled]=\"_previousButtonsDisabled()\">\n <ngs-icon name=\"fluent:arrow-previous-24-regular\" />\n </button>\n }\n\n <button ngsIconButton\n type=\"button\"\n class=\"ngs-paginator-navigation-previous\"\n (click)=\"previousPage()\"\n [ngsTooltip]=\"_intl.previousPageLabel || 'Previous page'\"\n [disabled]=\"_previousButtonsDisabled()\">\n <ngs-icon name=\"fluent:chevron-left-24-regular\" />\n </button>\n\n <button ngsIconButton\n type=\"button\"\n class=\"ngs-paginator-navigation-next\"\n (click)=\"nextPage()\"\n [ngsTooltip]=\"_intl.nextPageLabel || 'Next page'\"\n [disabled]=\"_nextButtonsDisabled()\">\n <ngs-icon name=\"fluent:chevron-right-24-regular\" />\n </button>\n\n @if (showFirstLastButtons()) {\n <button ngsIconButton\n type=\"button\"\n class=\"ngs-paginator-navigation-last\"\n (click)=\"lastPage()\"\n [ngsTooltip]=\"_intl.lastPageLabel || 'Last page'\"\n [disabled]=\"_nextButtonsDisabled()\">\n <ngs-icon name=\"fluent:arrow-next-24-regular\" />\n </button>\n }\n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A,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAE,MAAM,2RAAE,SAAS,EAAA,QAAA,EAAA,gBAAA,EAAA,MAAA,EAAA,CAAA,wBAAA,CAAA,EAAA,QAAA,EAAA,CAAA,cAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;2FAS/C,SAAS,EAAA,UAAA,EAAA,CAAA;kBAZrB,SAAS;+BACE,eAAe,EAAA,QAAA,EACf,cAAc,EAAA,OAAA,EACf,CAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,CAAC,mBAG1C,uBAAuB,CAAC,MAAM,EAAA,IAAA,EACzC;AACJ,wBAAA,OAAO,EAAE,eAAe;AACxB,wBAAA,MAAM,EAAE,OAAO;AAChB,qBAAA,EAAA,QAAA,EAAA,qlFAAA,EAAA,MAAA,EAAA,CAAA,o/EAAA,CAAA,EAAA;;;AEtCH;;AAEG;;;;"}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component, input, booleanAttribute, contentChild, InjectionToken, inject, ElementRef, forwardRef } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/cdk/scrolling';
|
|
4
|
+
import { CdkScrollable } from '@angular/cdk/scrolling';
|
|
5
|
+
|
|
6
|
+
class PanelSidebar {
|
|
7
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: PanelSidebar, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
8
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: PanelSidebar, isStandalone: true, selector: "ngs-panel-sidebar", host: { classAttribute: "ngs-panel-sidebar" }, ngImport: i0, template: "<ng-content/>\n", styles: [":host{display:block;overflow:hidden;position:relative}\n/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */\n"] });
|
|
9
|
+
}
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: PanelSidebar, decorators: [{
|
|
11
|
+
type: Component,
|
|
12
|
+
args: [{ selector: 'ngs-panel-sidebar', imports: [], host: {
|
|
13
|
+
'class': 'ngs-panel-sidebar'
|
|
14
|
+
}, template: "<ng-content/>\n", styles: [":host{display:block;overflow:hidden;position:relative}\n/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */\n"] }]
|
|
15
|
+
}] });
|
|
16
|
+
|
|
17
|
+
class PanelAside {
|
|
18
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: PanelAside, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
19
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: PanelAside, isStandalone: true, selector: "ngs-panel-aside", host: { classAttribute: "ngs-panel-aside" }, ngImport: i0, template: "<ng-content/>\n", styles: [":host{display:block;overflow:hidden;position:relative}\n/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */\n"] });
|
|
20
|
+
}
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: PanelAside, decorators: [{
|
|
22
|
+
type: Component,
|
|
23
|
+
args: [{ selector: 'ngs-panel-aside', imports: [], host: {
|
|
24
|
+
'class': 'ngs-panel-aside'
|
|
25
|
+
}, template: "<ng-content/>\n", styles: [":host{display:block;overflow:hidden;position:relative}\n/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */\n"] }]
|
|
26
|
+
}] });
|
|
27
|
+
|
|
28
|
+
class PanelHeader {
|
|
29
|
+
autoHeight = input(false, { ...(ngDevMode ? { debugName: "autoHeight" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
30
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: PanelHeader, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
31
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.4", type: PanelHeader, isStandalone: true, selector: "ngs-panel-header", inputs: { autoHeight: { classPropertyName: "autoHeight", publicName: "autoHeight", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.is-auto-height": "autoHeight()" }, classAttribute: "ngs-panel-header" }, exportAs: ["ngsPanelHeader"], ngImport: i0, template: "<ng-content />\n", styles: [":host{--ngs-panel-header-height: calc(var(--spacing, .25rem) * 14);flex:none;grid-area:header}:host:not([class*=h-]):not(.is-auto-height){height:var(--ngs-panel-header-height)}\n/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */\n"] });
|
|
32
|
+
}
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: PanelHeader, decorators: [{
|
|
34
|
+
type: Component,
|
|
35
|
+
args: [{ selector: 'ngs-panel-header', exportAs: 'ngsPanelHeader', host: {
|
|
36
|
+
'class': 'ngs-panel-header',
|
|
37
|
+
'[class.is-auto-height]': 'autoHeight()'
|
|
38
|
+
}, template: "<ng-content />\n", styles: [":host{--ngs-panel-header-height: calc(var(--spacing, .25rem) * 14);flex:none;grid-area:header}:host:not([class*=h-]):not(.is-auto-height){height:var(--ngs-panel-header-height)}\n/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */\n"] }]
|
|
39
|
+
}], propDecorators: { autoHeight: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoHeight", required: false }] }] } });
|
|
40
|
+
|
|
41
|
+
class PanelSubheader {
|
|
42
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: PanelSubheader, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
43
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: PanelSubheader, isStandalone: true, selector: "ngs-panel-subheader", host: { classAttribute: "ngs-panel-subheader" }, exportAs: ["ngsPanelSubheader"], ngImport: i0, template: "<p>panel-subheader works!</p>\n", styles: [":host{--ngs-panel-subheader-height: calc(var(--spacing, .25rem) * 14);flex:none;grid-area:subheader}:host:not([class*=h-]):not(.is-auto-height){height:var(--ngs-panel-subheader-height)}\n/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */\n"] });
|
|
44
|
+
}
|
|
45
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: PanelSubheader, decorators: [{
|
|
46
|
+
type: Component,
|
|
47
|
+
args: [{ selector: 'ngs-panel-subheader', exportAs: 'ngsPanelSubheader', imports: [], host: {
|
|
48
|
+
'class': 'ngs-panel-subheader'
|
|
49
|
+
}, template: "<p>panel-subheader works!</p>\n", styles: [":host{--ngs-panel-subheader-height: calc(var(--spacing, .25rem) * 14);flex:none;grid-area:subheader}:host:not([class*=h-]):not(.is-auto-height){height:var(--ngs-panel-subheader-height)}\n/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */\n"] }]
|
|
50
|
+
}] });
|
|
51
|
+
|
|
52
|
+
class PanelFooter {
|
|
53
|
+
autoHeight = input(false, { ...(ngDevMode ? { debugName: "autoHeight" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
54
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: PanelFooter, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
55
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.4", type: PanelFooter, isStandalone: true, selector: "ngs-panel-footer", inputs: { autoHeight: { classPropertyName: "autoHeight", publicName: "autoHeight", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.is-auto-height": "autoHeight()" }, classAttribute: "ngs-panel-footer" }, exportAs: ["ngsPanelFooter"], ngImport: i0, template: "<ng-content />\n", styles: [":host{--ngs-panel-footer-height: calc(var(--spacing, .25rem) * 14);flex:none;grid-area:footer}:host:not([class*=h-]):not(.is-auto-height){height:var(--ngs-panel-footer-height)}\n/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */\n"] });
|
|
56
|
+
}
|
|
57
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: PanelFooter, decorators: [{
|
|
58
|
+
type: Component,
|
|
59
|
+
args: [{ selector: 'ngs-panel-footer', exportAs: 'ngsPanelFooter', host: {
|
|
60
|
+
'class': 'ngs-panel-footer',
|
|
61
|
+
'[class.is-auto-height]': 'autoHeight()'
|
|
62
|
+
}, template: "<ng-content />\n", styles: [":host{--ngs-panel-footer-height: calc(var(--spacing, .25rem) * 14);flex:none;grid-area:footer}:host:not([class*=h-]):not(.is-auto-height){height:var(--ngs-panel-footer-height)}\n/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */\n"] }]
|
|
63
|
+
}], propDecorators: { autoHeight: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoHeight", required: false }] }] } });
|
|
64
|
+
|
|
65
|
+
class Panel {
|
|
66
|
+
header = contentChild(PanelHeader, ...(ngDevMode ? [{ debugName: "header" }] : /* istanbul ignore next */ []));
|
|
67
|
+
subheader = contentChild(PanelSubheader, ...(ngDevMode ? [{ debugName: "subheader" }] : /* istanbul ignore next */ []));
|
|
68
|
+
sidebar = contentChild(PanelSidebar, ...(ngDevMode ? [{ debugName: "sidebar" }] : /* istanbul ignore next */ []));
|
|
69
|
+
aside = contentChild(PanelAside, ...(ngDevMode ? [{ debugName: "aside" }] : /* istanbul ignore next */ []));
|
|
70
|
+
footer = contentChild(PanelFooter, ...(ngDevMode ? [{ debugName: "footer" }] : /* istanbul ignore next */ []));
|
|
71
|
+
absolute = input(false, { ...(ngDevMode ? { debugName: "absolute" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
72
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: Panel, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
73
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.4", type: Panel, isStandalone: true, selector: "ngs-panel", inputs: { absolute: { classPropertyName: "absolute", publicName: "absolute", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.is-absolute": "absolute()", "class.has-header": "header()", "class.has-subheader": "subheader()", "class.has-sidebar": "sidebar()", "class.has-aside": "aside()", "class.has-footer": "footer()" }, classAttribute: "ngs-panel" }, queries: [{ propertyName: "header", first: true, predicate: PanelHeader, descendants: true, isSignal: true }, { propertyName: "subheader", first: true, predicate: PanelSubheader, descendants: true, isSignal: true }, { propertyName: "sidebar", first: true, predicate: PanelSidebar, descendants: true, isSignal: true }, { propertyName: "aside", first: true, predicate: PanelAside, descendants: true, isSignal: true }, { propertyName: "footer", first: true, predicate: PanelFooter, descendants: true, isSignal: true }], exportAs: ["ngsPanel"], ngImport: i0, template: "<ng-content select=\"ngs-panel-header\"/>\n<ng-content select=\"ngs-panel-subheader\"/>\n<ng-content select=\"ngs-panel-sidebar\"/>\n<ng-content select=\"ngs-panel-content\"/>\n<ng-content select=\"ngs-panel-aside\"/>\n<ng-content select=\"ngs-panel-footer\"/>\n", styles: [":host{display:grid;grid-template-areas:\"header header header\" \"subheader subheader subheader\" \"sidebar body aside\" \"footer footer footer\";grid-template-rows:0 0 1fr 0;grid-template-columns:0 1fr 0}:host.has-header{grid-template-rows:auto 0 1fr 0}:host.has-header.has-subheader{grid-template-rows:auto auto 1fr 0}:host.has-header.has-subheader.has-footer{grid-template-rows:auto auto 1fr auto}:host.has-header.has-footer{grid-template-rows:auto 0 1fr auto}:host.has-subheader:not(.has-header){grid-template-rows:0 auto 1fr 0}:host.has-subheader:not(.has-header).has-footer{grid-template-rows:0 auto 1fr auto}:host:not(.has-header):not(.has-subheader).has-footer{grid-template-rows:0 0 1fr auto}:host.has-sidebar{grid-template-columns:auto 1fr 0}:host.has-sidebar.has-aside{grid-template-columns:auto 1fr auto}:host:not(.has-sidebar).has-aside{grid-template-columns:0 1fr auto}:host:not([class*=w-]){width:100%}:host:not([class*=h-]){height:100%}:host.is-absolute{position:absolute;inset:0}:host ::ng-deep .ngs-panel-header{grid-area:header}:host ::ng-deep .ngs-panel-subheader{grid-area:subheader}:host ::ng-deep .ngs-panel-sidebar{grid-area:sidebar}:host ::ng-deep .ngs-panel-content{grid-area:body;min-height:0}:host ::ng-deep .ngs-panel-aside{grid-area:aside}:host ::ng-deep .ngs-panel-footer{grid-area:footer}\n/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */\n"] });
|
|
74
|
+
}
|
|
75
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: Panel, decorators: [{
|
|
76
|
+
type: Component,
|
|
77
|
+
args: [{ selector: 'ngs-panel', exportAs: 'ngsPanel', host: {
|
|
78
|
+
'class': 'ngs-panel',
|
|
79
|
+
'[class.is-absolute]': 'absolute()',
|
|
80
|
+
'[class.has-header]': 'header()',
|
|
81
|
+
'[class.has-subheader]': 'subheader()',
|
|
82
|
+
'[class.has-sidebar]': 'sidebar()',
|
|
83
|
+
'[class.has-aside]': 'aside()',
|
|
84
|
+
'[class.has-footer]': 'footer()'
|
|
85
|
+
}, template: "<ng-content select=\"ngs-panel-header\"/>\n<ng-content select=\"ngs-panel-subheader\"/>\n<ng-content select=\"ngs-panel-sidebar\"/>\n<ng-content select=\"ngs-panel-content\"/>\n<ng-content select=\"ngs-panel-aside\"/>\n<ng-content select=\"ngs-panel-footer\"/>\n", styles: [":host{display:grid;grid-template-areas:\"header header header\" \"subheader subheader subheader\" \"sidebar body aside\" \"footer footer footer\";grid-template-rows:0 0 1fr 0;grid-template-columns:0 1fr 0}:host.has-header{grid-template-rows:auto 0 1fr 0}:host.has-header.has-subheader{grid-template-rows:auto auto 1fr 0}:host.has-header.has-subheader.has-footer{grid-template-rows:auto auto 1fr auto}:host.has-header.has-footer{grid-template-rows:auto 0 1fr auto}:host.has-subheader:not(.has-header){grid-template-rows:0 auto 1fr 0}:host.has-subheader:not(.has-header).has-footer{grid-template-rows:0 auto 1fr auto}:host:not(.has-header):not(.has-subheader).has-footer{grid-template-rows:0 0 1fr auto}:host.has-sidebar{grid-template-columns:auto 1fr 0}:host.has-sidebar.has-aside{grid-template-columns:auto 1fr auto}:host:not(.has-sidebar).has-aside{grid-template-columns:0 1fr auto}:host:not([class*=w-]){width:100%}:host:not([class*=h-]){height:100%}:host.is-absolute{position:absolute;inset:0}:host ::ng-deep .ngs-panel-header{grid-area:header}:host ::ng-deep .ngs-panel-subheader{grid-area:subheader}:host ::ng-deep .ngs-panel-sidebar{grid-area:sidebar}:host ::ng-deep .ngs-panel-content{grid-area:body;min-height:0}:host ::ng-deep .ngs-panel-aside{grid-area:aside}:host ::ng-deep .ngs-panel-footer{grid-area:footer}\n/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */\n"] }]
|
|
86
|
+
}], propDecorators: { header: [{ type: i0.ContentChild, args: [i0.forwardRef(() => PanelHeader), { isSignal: true }] }], subheader: [{ type: i0.ContentChild, args: [i0.forwardRef(() => PanelSubheader), { isSignal: true }] }], sidebar: [{ type: i0.ContentChild, args: [i0.forwardRef(() => PanelSidebar), { isSignal: true }] }], aside: [{ type: i0.ContentChild, args: [i0.forwardRef(() => PanelAside), { isSignal: true }] }], footer: [{ type: i0.ContentChild, args: [i0.forwardRef(() => PanelFooter), { isSignal: true }] }], absolute: [{ type: i0.Input, args: [{ isSignal: true, alias: "absolute", required: false }] }] } });
|
|
87
|
+
|
|
88
|
+
const PANEL_CONTENT = new InjectionToken('PANEL_CONTENT');
|
|
89
|
+
|
|
90
|
+
class PanelContent {
|
|
91
|
+
elementRef = inject(ElementRef);
|
|
92
|
+
scrollable = inject(CdkScrollable);
|
|
93
|
+
scrollContainer() {
|
|
94
|
+
return this.elementRef.nativeElement;
|
|
95
|
+
}
|
|
96
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: PanelContent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
97
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: PanelContent, isStandalone: true, selector: "ngs-panel-content", host: { classAttribute: "ngs-panel-content" }, providers: [
|
|
98
|
+
{
|
|
99
|
+
provide: PANEL_CONTENT,
|
|
100
|
+
useExisting: forwardRef(() => PanelContent)
|
|
101
|
+
}
|
|
102
|
+
], exportAs: ["ngsPanelContent"], hostDirectives: [{ directive: i1.CdkScrollable }], ngImport: i0, template: "<ng-content/>\n", styles: [":host{overflow:auto;position:relative}\n/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */\n"] });
|
|
103
|
+
}
|
|
104
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: PanelContent, decorators: [{
|
|
105
|
+
type: Component,
|
|
106
|
+
args: [{ selector: 'ngs-panel-content', exportAs: 'ngsPanelContent', hostDirectives: [
|
|
107
|
+
CdkScrollable
|
|
108
|
+
], providers: [
|
|
109
|
+
{
|
|
110
|
+
provide: PANEL_CONTENT,
|
|
111
|
+
useExisting: forwardRef(() => PanelContent)
|
|
112
|
+
}
|
|
113
|
+
], host: {
|
|
114
|
+
'class': 'ngs-panel-content'
|
|
115
|
+
}, template: "<ng-content/>\n", styles: [":host{overflow:auto;position:relative}\n/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */\n"] }]
|
|
116
|
+
}] });
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Generated bundle index. Do not edit.
|
|
120
|
+
*/
|
|
121
|
+
|
|
122
|
+
export { PANEL_CONTENT, Panel, PanelAside, PanelContent, PanelFooter, PanelHeader, PanelSidebar };
|
|
123
|
+
//# sourceMappingURL=ngstarter-ui-components-panel.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ngstarter-ui-components-panel.mjs","sources":["../../../projects/components/panel/src/panel-sidebar/panel-sidebar.ts","../../../projects/components/panel/src/panel-sidebar/panel-sidebar.html","../../../projects/components/panel/src/panel-aside/panel-aside.ts","../../../projects/components/panel/src/panel-aside/panel-aside.html","../../../projects/components/panel/src/panel-header/panel-header.ts","../../../projects/components/panel/src/panel-header/panel-header.html","../../../projects/components/panel/src/panel-subheader/panel-subheader.ts","../../../projects/components/panel/src/panel-subheader/panel-subheader.html","../../../projects/components/panel/src/panel-footer/panel-footer.ts","../../../projects/components/panel/src/panel-footer/panel-footer.html","../../../projects/components/panel/src/panel/panel.ts","../../../projects/components/panel/src/panel/panel.html","../../../projects/components/panel/src/types.ts","../../../projects/components/panel/src/panel-content/panel-content.ts","../../../projects/components/panel/src/panel-content/panel-content.html","../../../projects/components/panel/ngstarter-ui-components-panel.ts"],"sourcesContent":["import { Component } from '@angular/core';\n\n@Component({\n selector: 'ngs-panel-sidebar',\n imports: [],\n templateUrl: './panel-sidebar.html',\n styleUrl: './panel-sidebar.scss',\n host: {\n 'class': 'ngs-panel-sidebar'\n }\n})\nexport class PanelSidebar {\n\n}\n","<ng-content/>\n","import { Component } from '@angular/core';\n\n@Component({\n selector: 'ngs-panel-aside',\n imports: [],\n templateUrl: './panel-aside.html',\n styleUrl: './panel-aside.scss',\n host: {\n 'class': 'ngs-panel-aside'\n }\n})\nexport class PanelAside {\n\n}\n","<ng-content/>\n","import { booleanAttribute, Component, input } from '@angular/core';\n\n@Component({\n selector: 'ngs-panel-header',\n exportAs: 'ngsPanelHeader',\n templateUrl: './panel-header.html',\n styleUrl: './panel-header.scss',\n host: {\n 'class': 'ngs-panel-header',\n '[class.is-auto-height]': 'autoHeight()'\n }\n})\nexport class PanelHeader {\n autoHeight = input(false, {\n transform: booleanAttribute\n });\n}\n","<ng-content />\n","import { Component } from '@angular/core';\n\n@Component({\n selector: 'ngs-panel-subheader',\n exportAs: 'ngsPanelSubheader',\n imports: [],\n templateUrl: './panel-subheader.html',\n styleUrl: './panel-subheader.scss',\n host: {\n 'class': 'ngs-panel-subheader'\n }\n})\nexport class PanelSubheader {\n\n}\n","<p>panel-subheader works!</p>\n","import { booleanAttribute, Component, input } from '@angular/core';\n\n@Component({\n selector: 'ngs-panel-footer',\n exportAs: 'ngsPanelFooter',\n templateUrl: './panel-footer.html',\n styleUrl: './panel-footer.scss',\n host: {\n 'class': 'ngs-panel-footer',\n '[class.is-auto-height]': 'autoHeight()'\n }\n})\nexport class PanelFooter {\n autoHeight = input(false, {\n transform: booleanAttribute\n });\n}\n","<ng-content />\n","import { booleanAttribute, Component, contentChild, input } from '@angular/core';\nimport { PanelSidebar } from '../panel-sidebar/panel-sidebar';\nimport { PanelAside } from '../panel-aside/panel-aside';\nimport { PanelHeader } from '../panel-header/panel-header';\nimport { PanelSubheader } from '../panel-subheader/panel-subheader';\nimport { PanelFooter } from '../panel-footer/panel-footer';\n\n@Component({\n selector: 'ngs-panel',\n exportAs: 'ngsPanel',\n templateUrl: './panel.html',\n styleUrl: './panel.scss',\n host: {\n 'class': 'ngs-panel',\n '[class.is-absolute]': 'absolute()',\n '[class.has-header]': 'header()',\n '[class.has-subheader]': 'subheader()',\n '[class.has-sidebar]': 'sidebar()',\n '[class.has-aside]': 'aside()',\n '[class.has-footer]': 'footer()'\n }\n})\nexport class Panel {\n header = contentChild(PanelHeader);\n subheader = contentChild(PanelSubheader);\n sidebar = contentChild(PanelSidebar);\n aside = contentChild(PanelAside);\n footer = contentChild(PanelFooter);\n\n absolute = input(false, {\n transform: booleanAttribute\n });\n}\n","<ng-content select=\"ngs-panel-header\"/>\n<ng-content select=\"ngs-panel-subheader\"/>\n<ng-content select=\"ngs-panel-sidebar\"/>\n<ng-content select=\"ngs-panel-content\"/>\n<ng-content select=\"ngs-panel-aside\"/>\n<ng-content select=\"ngs-panel-footer\"/>\n","import { InjectionToken } from '@angular/core';\nimport { CdkScrollable } from '@angular/cdk/scrolling';\n\nexport interface PanelContentInterface {\n scrollContainer(): HTMLElement;\n scrollable?: CdkScrollable;\n}\n\nexport const PANEL_CONTENT = new InjectionToken<PanelContentInterface>('PANEL_CONTENT');\n\n","import { Component, ElementRef, forwardRef, inject } from '@angular/core';\nimport { PANEL_CONTENT, PanelContentInterface } from '../types';\nimport { CdkScrollable } from '@angular/cdk/scrolling';\n\n@Component({\n selector: 'ngs-panel-content',\n exportAs: 'ngsPanelContent',\n templateUrl: './panel-content.html',\n styleUrl: './panel-content.scss',\n hostDirectives: [\n CdkScrollable\n ],\n providers: [\n {\n provide: PANEL_CONTENT,\n useExisting: forwardRef(() => PanelContent)\n }\n ],\n host: {\n 'class': 'ngs-panel-content'\n }\n})\nexport class PanelContent implements PanelContentInterface {\n private elementRef = inject(ElementRef);\n readonly scrollable = inject(CdkScrollable);\n\n scrollContainer(): HTMLElement {\n return this.elementRef.nativeElement;\n }\n}\n","<ng-content/>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAWa,YAAY,CAAA;uGAAZ,YAAY,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAZ,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,YAAY,4HCXzB,iBACA,EAAA,MAAA,EAAA,CAAA,6HAAA,CAAA,EAAA,CAAA;;2FDUa,YAAY,EAAA,UAAA,EAAA,CAAA;kBATxB,SAAS;+BACE,mBAAmB,EAAA,OAAA,EACpB,EAAE,EAAA,IAAA,EAGL;AACJ,wBAAA,OAAO,EAAE;AACV,qBAAA,EAAA,QAAA,EAAA,iBAAA,EAAA,MAAA,EAAA,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