@masmarino/gabarit 2.0.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +131 -85
- package/accordion/README.md +56 -0
- package/alert/README.md +87 -0
- package/app-shell/README.md +133 -0
- package/auth/README.md +155 -0
- package/auth-activate/README.md +119 -0
- package/auth-login/README.md +113 -0
- package/auth-register/README.md +104 -0
- package/auth-reset-password/README.md +120 -0
- package/autocomplete/README.md +77 -0
- package/avatar/README.md +34 -0
- package/avatar-group/README.md +47 -0
- package/badge/README.md +177 -0
- package/bar-chart/README.md +44 -0
- package/breadcrumb/README.md +38 -0
- package/button/README.md +175 -0
- package/card/README.md +179 -0
- package/checkbox/README.md +50 -0
- package/checkbox-group/README.md +78 -0
- package/confirm-danger-modal/README.md +77 -0
- package/copy-button/README.md +90 -0
- package/copy-field/README.md +54 -0
- package/date-picker/README.md +84 -0
- package/description-list/README.md +63 -0
- package/dimension-card/README.md +39 -0
- package/disclosure/README.md +48 -0
- package/divider/README.md +31 -0
- package/drawer/README.md +49 -0
- package/empty-state/README.md +84 -0
- package/fesm2022/masmarino-gabarit-accordion.mjs +243 -0
- package/fesm2022/masmarino-gabarit-accordion.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-alert.mjs +208 -0
- package/fesm2022/masmarino-gabarit-alert.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-app-shell.mjs +378 -0
- package/fesm2022/masmarino-gabarit-app-shell.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-auth-activate.mjs +415 -0
- package/fesm2022/masmarino-gabarit-auth-activate.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-auth-login.mjs +467 -0
- package/fesm2022/masmarino-gabarit-auth-login.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-auth-register.mjs +457 -0
- package/fesm2022/masmarino-gabarit-auth-register.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-auth-reset-password.mjs +364 -0
- package/fesm2022/masmarino-gabarit-auth-reset-password.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-auth.mjs +844 -0
- package/fesm2022/masmarino-gabarit-auth.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-autocomplete.mjs +475 -0
- package/fesm2022/masmarino-gabarit-autocomplete.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-avatar-group.mjs +202 -0
- package/fesm2022/masmarino-gabarit-avatar-group.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-avatar.mjs +107 -0
- package/fesm2022/masmarino-gabarit-avatar.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-badge.mjs +449 -0
- package/fesm2022/masmarino-gabarit-badge.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-bar-chart.mjs +408 -0
- package/fesm2022/masmarino-gabarit-bar-chart.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-breadcrumb.mjs +59 -0
- package/fesm2022/masmarino-gabarit-breadcrumb.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-button.mjs +374 -0
- package/fesm2022/masmarino-gabarit-button.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-card.mjs +400 -0
- package/fesm2022/masmarino-gabarit-card.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-chart.mjs +1289 -0
- package/fesm2022/masmarino-gabarit-chart.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-checkbox-group.mjs +335 -0
- package/fesm2022/masmarino-gabarit-checkbox-group.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-checkbox.mjs +170 -0
- package/fesm2022/masmarino-gabarit-checkbox.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-confirm-danger-modal.mjs +387 -0
- package/fesm2022/masmarino-gabarit-confirm-danger-modal.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-copy-button.mjs +407 -0
- package/fesm2022/masmarino-gabarit-copy-button.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-copy-field.mjs +229 -0
- package/fesm2022/masmarino-gabarit-copy-field.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-date-picker.mjs +1242 -0
- package/fesm2022/masmarino-gabarit-date-picker.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-description-list.mjs +127 -0
- package/fesm2022/masmarino-gabarit-description-list.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-dimension-card.mjs +162 -0
- package/fesm2022/masmarino-gabarit-dimension-card.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-disclosure.mjs +154 -0
- package/fesm2022/masmarino-gabarit-disclosure.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-divider.mjs +90 -0
- package/fesm2022/masmarino-gabarit-divider.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-docs.mjs +16 -2
- package/fesm2022/masmarino-gabarit-docs.mjs.map +1 -1
- package/fesm2022/masmarino-gabarit-drawer.mjs +209 -0
- package/fesm2022/masmarino-gabarit-drawer.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-empty-state.mjs +226 -0
- package/fesm2022/masmarino-gabarit-empty-state.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-file-upload.mjs +335 -0
- package/fesm2022/masmarino-gabarit-file-upload.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-floating-panel.mjs +24 -0
- package/fesm2022/masmarino-gabarit-floating-panel.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-format.mjs +345 -0
- package/fesm2022/masmarino-gabarit-format.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-funnel-chart.mjs +247 -0
- package/fesm2022/masmarino-gabarit-funnel-chart.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-gauge-bar.mjs +180 -0
- package/fesm2022/masmarino-gabarit-gauge-bar.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-git-field.mjs +127 -0
- package/fesm2022/masmarino-gabarit-git-field.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-icon-marker.mjs +150 -0
- package/fesm2022/masmarino-gabarit-icon-marker.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-icon.mjs +308 -0
- package/fesm2022/masmarino-gabarit-icon.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-input.mjs +493 -0
- package/fesm2022/masmarino-gabarit-input.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-job-graph.mjs +216 -0
- package/fesm2022/masmarino-gabarit-job-graph.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-job-status.mjs +104 -0
- package/fesm2022/masmarino-gabarit-job-status.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-line-chart.mjs +574 -0
- package/fesm2022/masmarino-gabarit-line-chart.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-list-card.mjs +320 -0
- package/fesm2022/masmarino-gabarit-list-card.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-list-row.mjs +58 -0
- package/fesm2022/masmarino-gabarit-list-row.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-list-toolbar.mjs +369 -0
- package/fesm2022/masmarino-gabarit-list-toolbar.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-menu.mjs +464 -0
- package/fesm2022/masmarino-gabarit-menu.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-mfa-enrollment.mjs +897 -0
- package/fesm2022/masmarino-gabarit-mfa-enrollment.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-mfa-settings.mjs +629 -0
- package/fesm2022/masmarino-gabarit-mfa-settings.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-modal.mjs +260 -0
- package/fesm2022/masmarino-gabarit-modal.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-nav-tabs.mjs +332 -0
- package/fesm2022/masmarino-gabarit-nav-tabs.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-notification-dot.mjs +119 -0
- package/fesm2022/masmarino-gabarit-notification-dot.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-page-header.mjs +78 -0
- package/fesm2022/masmarino-gabarit-page-header.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-page-layout.mjs +157 -0
- package/fesm2022/masmarino-gabarit-page-layout.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-pagination.mjs +415 -0
- package/fesm2022/masmarino-gabarit-pagination.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-panel.mjs +80 -0
- package/fesm2022/masmarino-gabarit-panel.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-passkey-settings.mjs +606 -0
- package/fesm2022/masmarino-gabarit-passkey-settings.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-pie-chart.mjs +317 -0
- package/fesm2022/masmarino-gabarit-pie-chart.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-popover.mjs +142 -0
- package/fesm2022/masmarino-gabarit-popover.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-radio-group.mjs +202 -0
- package/fesm2022/masmarino-gabarit-radio-group.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-save-status.mjs +142 -0
- package/fesm2022/masmarino-gabarit-save-status.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-search-bar.mjs +576 -0
- package/fesm2022/masmarino-gabarit-search-bar.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-secret-reveal.mjs +348 -0
- package/fesm2022/masmarino-gabarit-secret-reveal.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-segmented-control.mjs +272 -0
- package/fesm2022/masmarino-gabarit-segmented-control.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-select.mjs +512 -0
- package/fesm2022/masmarino-gabarit-select.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-skeleton-list.mjs +189 -0
- package/fesm2022/masmarino-gabarit-skeleton-list.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-skeleton.mjs +109 -0
- package/fesm2022/masmarino-gabarit-skeleton.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-slider.mjs +239 -0
- package/fesm2022/masmarino-gabarit-slider.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-sparkline.mjs +276 -0
- package/fesm2022/masmarino-gabarit-sparkline.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-spinner.mjs +86 -0
- package/fesm2022/masmarino-gabarit-spinner.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-stat-grid.mjs +139 -0
- package/fesm2022/masmarino-gabarit-stat-grid.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-stat-tile.mjs +312 -0
- package/fesm2022/masmarino-gabarit-stat-tile.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-stepper.mjs +219 -0
- package/fesm2022/masmarino-gabarit-stepper.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-switch.mjs +151 -0
- package/fesm2022/masmarino-gabarit-switch.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-table.mjs +206 -0
- package/fesm2022/masmarino-gabarit-table.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-tabs.mjs +210 -0
- package/fesm2022/masmarino-gabarit-tabs.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-tag-input.mjs +288 -0
- package/fesm2022/masmarino-gabarit-tag-input.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-tag.mjs +155 -0
- package/fesm2022/masmarino-gabarit-tag.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-textarea.mjs +369 -0
- package/fesm2022/masmarino-gabarit-textarea.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-timeline-chart.mjs +521 -0
- package/fesm2022/masmarino-gabarit-timeline-chart.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-toaster.mjs +220 -0
- package/fesm2022/masmarino-gabarit-toaster.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-tooltip.mjs +185 -0
- package/fesm2022/masmarino-gabarit-tooltip.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-tree.mjs +258 -0
- package/fesm2022/masmarino-gabarit-tree.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-user-chip.mjs +106 -0
- package/fesm2022/masmarino-gabarit-user-chip.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit.mjs +83 -24785
- package/fesm2022/masmarino-gabarit.mjs.map +1 -1
- package/file-upload/README.md +47 -0
- package/funnel-chart/README.md +39 -0
- package/gauge-bar/README.md +35 -0
- package/git-field/README.md +34 -0
- package/icon/README.md +52 -0
- package/icon-marker/README.md +37 -0
- package/input/README.md +120 -0
- package/job-graph/README.md +76 -0
- package/job-status/README.md +34 -0
- package/line-chart/README.md +52 -0
- package/list-card/README.md +144 -0
- package/list-row/README.md +72 -0
- package/list-toolbar/README.md +52 -0
- package/menu/README.md +90 -0
- package/mfa-enrollment/README.md +189 -0
- package/mfa-settings/README.md +154 -0
- package/modal/README.md +72 -0
- package/nav-tabs/README.md +106 -0
- package/notification-dot/README.md +43 -0
- package/package.json +329 -1
- package/page-header/README.md +56 -0
- package/page-layout/README.md +76 -0
- package/pagination/README.md +73 -0
- package/panel/README.md +56 -0
- package/passkey-settings/README.md +120 -0
- package/pie-chart/README.md +85 -0
- package/popover/README.md +62 -0
- package/radio-group/README.md +47 -0
- package/save-status/README.md +44 -0
- package/search-bar/README.md +84 -0
- package/secret-reveal/README.md +60 -0
- package/segmented-control/README.md +79 -0
- package/select/README.md +61 -0
- package/skeleton/README.md +49 -0
- package/skeleton-list/README.md +40 -0
- package/slider/README.md +44 -0
- package/sparkline/README.md +37 -0
- package/spinner/README.md +41 -0
- package/stat-grid/README.md +47 -0
- package/stat-tile/README.md +75 -0
- package/stepper/README.md +67 -0
- package/switch/README.md +51 -0
- package/table/README.md +75 -0
- package/tabs/README.md +34 -0
- package/tag/README.md +34 -0
- package/tag-input/README.md +45 -0
- package/textarea/README.md +76 -0
- package/timeline-chart/README.md +49 -0
- package/toaster/README.md +92 -0
- package/tooltip/README.md +50 -0
- package/tree/README.md +79 -0
- package/types/masmarino-gabarit-accordion.d.ts +54 -0
- package/types/masmarino-gabarit-alert.d.ts +65 -0
- package/types/masmarino-gabarit-app-shell.d.ts +102 -0
- package/types/masmarino-gabarit-auth-activate.d.ts +70 -0
- package/types/masmarino-gabarit-auth-login.d.ts +63 -0
- package/types/masmarino-gabarit-auth-register.d.ts +66 -0
- package/types/masmarino-gabarit-auth-reset-password.d.ts +53 -0
- package/types/masmarino-gabarit-auth.d.ts +543 -0
- package/types/masmarino-gabarit-autocomplete.d.ts +140 -0
- package/types/masmarino-gabarit-avatar-group.d.ts +60 -0
- package/types/masmarino-gabarit-avatar.d.ts +31 -0
- package/types/masmarino-gabarit-badge.d.ts +139 -0
- package/types/masmarino-gabarit-bar-chart.d.ts +111 -0
- package/types/masmarino-gabarit-breadcrumb.d.ts +12 -0
- package/types/masmarino-gabarit-button.d.ts +108 -0
- package/types/masmarino-gabarit-card.d.ts +102 -0
- package/types/masmarino-gabarit-chart.d.ts +361 -0
- package/types/masmarino-gabarit-checkbox-group.d.ts +113 -0
- package/types/masmarino-gabarit-checkbox.d.ts +49 -0
- package/types/masmarino-gabarit-confirm-danger-modal.d.ts +94 -0
- package/types/masmarino-gabarit-copy-button.d.ts +111 -0
- package/types/masmarino-gabarit-copy-field.d.ts +64 -0
- package/types/masmarino-gabarit-date-picker.d.ts +399 -0
- package/types/masmarino-gabarit-description-list.d.ts +40 -0
- package/types/masmarino-gabarit-dimension-card.d.ts +55 -0
- package/types/masmarino-gabarit-disclosure.d.ts +44 -0
- package/types/masmarino-gabarit-divider.d.ts +20 -0
- package/types/masmarino-gabarit-docs.d.ts +2 -1
- package/types/masmarino-gabarit-drawer.d.ts +51 -0
- package/types/masmarino-gabarit-empty-state.d.ts +67 -0
- package/types/masmarino-gabarit-file-upload.d.ts +95 -0
- package/types/masmarino-gabarit-floating-panel.d.ts +14 -0
- package/types/masmarino-gabarit-format.d.ts +54 -0
- package/types/masmarino-gabarit-funnel-chart.d.ts +78 -0
- package/types/masmarino-gabarit-gauge-bar.d.ts +54 -0
- package/types/masmarino-gabarit-git-field.d.ts +39 -0
- package/types/masmarino-gabarit-icon-marker.d.ts +47 -0
- package/types/masmarino-gabarit-icon.d.ts +23 -0
- package/types/masmarino-gabarit-input.d.ts +181 -0
- package/types/masmarino-gabarit-job-graph.d.ts +63 -0
- package/types/masmarino-gabarit-job-status.d.ts +20 -0
- package/types/masmarino-gabarit-line-chart.d.ts +153 -0
- package/types/masmarino-gabarit-list-card.d.ts +87 -0
- package/types/masmarino-gabarit-list-row.d.ts +14 -0
- package/types/masmarino-gabarit-list-toolbar.d.ts +100 -0
- package/types/masmarino-gabarit-menu.d.ts +93 -0
- package/types/masmarino-gabarit-mfa-enrollment.d.ts +142 -0
- package/types/masmarino-gabarit-mfa-settings.d.ts +89 -0
- package/types/masmarino-gabarit-modal.d.ts +60 -0
- package/types/masmarino-gabarit-nav-tabs.d.ts +65 -0
- package/types/masmarino-gabarit-notification-dot.d.ts +34 -0
- package/types/masmarino-gabarit-page-header.d.ts +20 -0
- package/types/masmarino-gabarit-page-layout.d.ts +46 -0
- package/types/masmarino-gabarit-pagination.d.ts +109 -0
- package/types/masmarino-gabarit-panel.d.ts +21 -0
- package/types/masmarino-gabarit-passkey-settings.d.ts +94 -0
- package/types/masmarino-gabarit-pie-chart.d.ts +94 -0
- package/types/masmarino-gabarit-popover.d.ts +33 -0
- package/types/masmarino-gabarit-radio-group.d.ts +66 -0
- package/types/masmarino-gabarit-save-status.d.ts +39 -0
- package/types/masmarino-gabarit-search-bar.d.ts +183 -0
- package/types/masmarino-gabarit-secret-reveal.d.ts +95 -0
- package/types/masmarino-gabarit-segmented-control.d.ts +76 -0
- package/types/masmarino-gabarit-select.d.ts +146 -0
- package/types/masmarino-gabarit-skeleton-list.d.ts +54 -0
- package/types/masmarino-gabarit-skeleton.d.ts +26 -0
- package/types/masmarino-gabarit-slider.d.ts +73 -0
- package/types/masmarino-gabarit-sparkline.d.ts +70 -0
- package/types/masmarino-gabarit-spinner.d.ts +20 -0
- package/types/masmarino-gabarit-stat-grid.d.ts +39 -0
- package/types/masmarino-gabarit-stat-tile.d.ts +79 -0
- package/types/masmarino-gabarit-stepper.d.ts +67 -0
- package/types/masmarino-gabarit-switch.d.ts +42 -0
- package/types/masmarino-gabarit-table.d.ts +60 -0
- package/types/masmarino-gabarit-tabs.d.ts +40 -0
- package/types/masmarino-gabarit-tag-input.d.ts +78 -0
- package/types/masmarino-gabarit-tag.d.ts +35 -0
- package/types/masmarino-gabarit-textarea.d.ts +109 -0
- package/types/masmarino-gabarit-timeline-chart.d.ts +145 -0
- package/types/masmarino-gabarit-toaster.d.ts +62 -0
- package/types/masmarino-gabarit-tooltip.d.ts +39 -0
- package/types/masmarino-gabarit-tree.d.ts +71 -0
- package/types/masmarino-gabarit-user-chip.d.ts +26 -0
- package/types/masmarino-gabarit.d.ts +83 -6599
- package/user-chip/README.md +42 -0
|
@@ -0,0 +1,361 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { InjectionToken, Signal } from "@angular/core";
|
|
3
|
+
interface Tick {
|
|
4
|
+
key: string;
|
|
5
|
+
x: number;
|
|
6
|
+
y: number;
|
|
7
|
+
label: string;
|
|
8
|
+
date: string | null;
|
|
9
|
+
anchor: 'start' | 'middle' | 'end';
|
|
10
|
+
}
|
|
11
|
+
export declare class ChartAxis {
|
|
12
|
+
private readonly context;
|
|
13
|
+
axis: import("@angular/core").InputSignal<"x" | "y">;
|
|
14
|
+
locale: import("@angular/core").InputSignal<string>;
|
|
15
|
+
tickCount: import("@angular/core").InputSignal<number>;
|
|
16
|
+
format: import("@angular/core").InputSignal<((value: never) => string) | null>;
|
|
17
|
+
grid: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
18
|
+
protected readonly groupTransform: import("@angular/core").Signal<string>;
|
|
19
|
+
protected readonly ticks: import("@angular/core").Signal<Tick[]>;
|
|
20
|
+
protected readonly gridLines: import("@angular/core").Signal<number[]>;
|
|
21
|
+
protected readonly innerWidth: import("@angular/core").Signal<number>;
|
|
22
|
+
private yTicks;
|
|
23
|
+
private xTicks;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChartAxis, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChartAxis, "g[gbtChartAxis]", never, {
|
|
26
|
+
"axis": {
|
|
27
|
+
"alias": "axis";
|
|
28
|
+
"required": true;
|
|
29
|
+
"isSignal": true;
|
|
30
|
+
};
|
|
31
|
+
"locale": {
|
|
32
|
+
"alias": "locale";
|
|
33
|
+
"required": true;
|
|
34
|
+
"isSignal": true;
|
|
35
|
+
};
|
|
36
|
+
"tickCount": {
|
|
37
|
+
"alias": "tickCount";
|
|
38
|
+
"required": false;
|
|
39
|
+
"isSignal": true;
|
|
40
|
+
};
|
|
41
|
+
"format": {
|
|
42
|
+
"alias": "format";
|
|
43
|
+
"required": false;
|
|
44
|
+
"isSignal": true;
|
|
45
|
+
};
|
|
46
|
+
"grid": {
|
|
47
|
+
"alias": "grid";
|
|
48
|
+
"required": false;
|
|
49
|
+
"isSignal": true;
|
|
50
|
+
};
|
|
51
|
+
}, {}, never, never, true, never>;
|
|
52
|
+
}
|
|
53
|
+
interface Scale<T> {
|
|
54
|
+
map(value: T): number;
|
|
55
|
+
invert(pixel: number): T;
|
|
56
|
+
readonly domain: [T, T];
|
|
57
|
+
readonly range: [number, number];
|
|
58
|
+
}
|
|
59
|
+
export declare function linearScale(domain: [number, number], range: [number, number]): Scale<number>;
|
|
60
|
+
export declare function timeScale(domain: [Date, Date], range: [number, number]): Scale<Date>;
|
|
61
|
+
interface BandScale {
|
|
62
|
+
map(value: string): number;
|
|
63
|
+
invert(pixel: number): string | null;
|
|
64
|
+
readonly bandwidth: number;
|
|
65
|
+
readonly domain: string[];
|
|
66
|
+
readonly range: [number, number];
|
|
67
|
+
}
|
|
68
|
+
export declare function bandScale(domain: string[], range: [number, number], padding?: number): BandScale;
|
|
69
|
+
interface ChartMargin {
|
|
70
|
+
top: number;
|
|
71
|
+
right: number;
|
|
72
|
+
bottom: number;
|
|
73
|
+
left: number;
|
|
74
|
+
}
|
|
75
|
+
interface ChartBox {
|
|
76
|
+
readonly width: number;
|
|
77
|
+
readonly height: number;
|
|
78
|
+
readonly margin: ChartMargin;
|
|
79
|
+
readonly innerWidth: number;
|
|
80
|
+
readonly innerHeight: number;
|
|
81
|
+
}
|
|
82
|
+
type LinearAxisSpec = {
|
|
83
|
+
kind: 'linear';
|
|
84
|
+
domain: [number, number];
|
|
85
|
+
};
|
|
86
|
+
type PointValue = number | Date | string;
|
|
87
|
+
type AxisSpec = LinearAxisSpec | {
|
|
88
|
+
kind: 'time';
|
|
89
|
+
domain: [Date, Date];
|
|
90
|
+
} | {
|
|
91
|
+
kind: 'band';
|
|
92
|
+
domain: string[];
|
|
93
|
+
padding?: number;
|
|
94
|
+
};
|
|
95
|
+
interface ChartReader {
|
|
96
|
+
readonly box: Signal<ChartBox>;
|
|
97
|
+
readonly xSpec: Signal<AxisSpec>;
|
|
98
|
+
readonly ySpec: Signal<LinearAxisSpec>;
|
|
99
|
+
readonly xScale: Signal<Scale<number> | Scale<Date> | BandScale>;
|
|
100
|
+
readonly yScale: Signal<Scale<number>>;
|
|
101
|
+
readonly activeIndex: Signal<number | null>;
|
|
102
|
+
readonly pointValues: Signal<PointValue[]>;
|
|
103
|
+
readonly activePosition: Signal<number | null>;
|
|
104
|
+
}
|
|
105
|
+
export declare const CHART_CONTEXT: InjectionToken<ChartReader>;
|
|
106
|
+
declare class ChartContext implements ChartReader {
|
|
107
|
+
private readonly _box;
|
|
108
|
+
private readonly _xSpec;
|
|
109
|
+
private readonly _ySpec;
|
|
110
|
+
private readonly _activeIndex;
|
|
111
|
+
private readonly _pointValues;
|
|
112
|
+
readonly box: Signal<ChartBox>;
|
|
113
|
+
readonly xSpec: Signal<AxisSpec>;
|
|
114
|
+
readonly ySpec: Signal<LinearAxisSpec>;
|
|
115
|
+
readonly activeIndex: Signal<number | null>;
|
|
116
|
+
readonly pointValues: Signal<PointValue[]>;
|
|
117
|
+
readonly xScale: Signal<Scale<number> | Scale<Date> | BandScale>;
|
|
118
|
+
readonly yScale: Signal<Scale<number>>;
|
|
119
|
+
readonly pointPositions: Signal<number[]>;
|
|
120
|
+
readonly activePosition: Signal<number | null>;
|
|
121
|
+
setPointValues(values: PointValue[]): void;
|
|
122
|
+
setGeometry(box: ChartBox): void;
|
|
123
|
+
setSpecs(x: AxisSpec, y: LinearAxisSpec): void;
|
|
124
|
+
setActiveIndex(index: number | null): void;
|
|
125
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChartContext, never>;
|
|
126
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
127
|
+
}
|
|
128
|
+
interface ChartPoint<X> {
|
|
129
|
+
x: X;
|
|
130
|
+
y: number;
|
|
131
|
+
display?: string;
|
|
132
|
+
}
|
|
133
|
+
interface ChartSeries<X> {
|
|
134
|
+
label: string;
|
|
135
|
+
points: ChartPoint<X>[];
|
|
136
|
+
pattern?: 'solid' | 'dashed' | 'dotted';
|
|
137
|
+
}
|
|
138
|
+
interface ChartInterval {
|
|
139
|
+
start: Date;
|
|
140
|
+
end: Date;
|
|
141
|
+
label: string;
|
|
142
|
+
}
|
|
143
|
+
declare function yDomain<X>(series: ChartSeries<X>[], includeZero: boolean): [number, number];
|
|
144
|
+
declare function numericXDomain(series: ChartSeries<number>[]): [number, number];
|
|
145
|
+
export declare function timeXDomain(series: ChartSeries<Date>[]): [Date, Date];
|
|
146
|
+
declare function longestSeriesLength<X>(series: ChartSeries<X>[]): number;
|
|
147
|
+
export declare function niceYDomain<X>(series: ChartSeries<X>[], includeZero: boolean, tickCount: number): [number, number];
|
|
148
|
+
export declare function niceXDomain(series: ChartSeries<number>[], tickCount: number): [number, number];
|
|
149
|
+
export declare class ChartEmpty {
|
|
150
|
+
message: import("@angular/core").InputSignal<string>;
|
|
151
|
+
actionLabel: import("@angular/core").InputSignal<string>;
|
|
152
|
+
action: import("@angular/core").OutputEmitterRef<void>;
|
|
153
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChartEmpty, never>;
|
|
154
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChartEmpty, "gbt-chart-empty", never, {
|
|
155
|
+
"message": {
|
|
156
|
+
"alias": "message";
|
|
157
|
+
"required": true;
|
|
158
|
+
"isSignal": true;
|
|
159
|
+
};
|
|
160
|
+
"actionLabel": {
|
|
161
|
+
"alias": "actionLabel";
|
|
162
|
+
"required": false;
|
|
163
|
+
"isSignal": true;
|
|
164
|
+
};
|
|
165
|
+
}, {
|
|
166
|
+
"action": "action";
|
|
167
|
+
}, never, ["[gbtChartEmptyIcon]"], true, never>;
|
|
168
|
+
}
|
|
169
|
+
export declare class ChartFrame {
|
|
170
|
+
private readonly context;
|
|
171
|
+
label: import("@angular/core").InputSignal<string>;
|
|
172
|
+
heading: import("@angular/core").InputSignal<string>;
|
|
173
|
+
headingLevel: import("@angular/core").InputSignal<2 | 1 | 5 | 3 | 6 | 4>;
|
|
174
|
+
headline: import("@angular/core").InputSignal<string>;
|
|
175
|
+
trend: import("@angular/core").InputSignal<string>;
|
|
176
|
+
x: import("@angular/core").InputSignal<AxisSpec>;
|
|
177
|
+
y: import("@angular/core").InputSignal<LinearAxisSpec>;
|
|
178
|
+
margin: import("@angular/core").InputSignal<Partial<ChartMargin>>;
|
|
179
|
+
size: import("@angular/core").InputSignal<{
|
|
180
|
+
width: number;
|
|
181
|
+
height: number;
|
|
182
|
+
} | null>;
|
|
183
|
+
pointValues: import("@angular/core").InputSignal<PointValue[]>;
|
|
184
|
+
readonly activeIndexChange: import("@angular/core").OutputEmitterRef<number | null>;
|
|
185
|
+
private readonly surface;
|
|
186
|
+
private readonly measured;
|
|
187
|
+
protected readonly ready: import("@angular/core").Signal<boolean>;
|
|
188
|
+
protected readonly viewBox: import("@angular/core").Signal<string>;
|
|
189
|
+
protected readonly innerTransform: import("@angular/core").Signal<string>;
|
|
190
|
+
protected readonly activePosition: import("@angular/core").Signal<number | null>;
|
|
191
|
+
protected readonly innerHeight: import("@angular/core").Signal<number>;
|
|
192
|
+
constructor();
|
|
193
|
+
protected onKeydown(event: KeyboardEvent): void;
|
|
194
|
+
protected onBlur(): void;
|
|
195
|
+
protected onPointerMove(event: PointerEvent | MouseEvent): void;
|
|
196
|
+
protected onPointerLeave(event: PointerEvent | MouseEvent): void;
|
|
197
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChartFrame, never>;
|
|
198
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChartFrame, "gbt-chart-frame", never, {
|
|
199
|
+
"label": {
|
|
200
|
+
"alias": "label";
|
|
201
|
+
"required": true;
|
|
202
|
+
"isSignal": true;
|
|
203
|
+
};
|
|
204
|
+
"heading": {
|
|
205
|
+
"alias": "heading";
|
|
206
|
+
"required": false;
|
|
207
|
+
"isSignal": true;
|
|
208
|
+
};
|
|
209
|
+
"headingLevel": {
|
|
210
|
+
"alias": "headingLevel";
|
|
211
|
+
"required": false;
|
|
212
|
+
"isSignal": true;
|
|
213
|
+
};
|
|
214
|
+
"headline": {
|
|
215
|
+
"alias": "headline";
|
|
216
|
+
"required": false;
|
|
217
|
+
"isSignal": true;
|
|
218
|
+
};
|
|
219
|
+
"trend": {
|
|
220
|
+
"alias": "trend";
|
|
221
|
+
"required": false;
|
|
222
|
+
"isSignal": true;
|
|
223
|
+
};
|
|
224
|
+
"x": {
|
|
225
|
+
"alias": "x";
|
|
226
|
+
"required": true;
|
|
227
|
+
"isSignal": true;
|
|
228
|
+
};
|
|
229
|
+
"y": {
|
|
230
|
+
"alias": "y";
|
|
231
|
+
"required": true;
|
|
232
|
+
"isSignal": true;
|
|
233
|
+
};
|
|
234
|
+
"margin": {
|
|
235
|
+
"alias": "margin";
|
|
236
|
+
"required": false;
|
|
237
|
+
"isSignal": true;
|
|
238
|
+
};
|
|
239
|
+
"size": {
|
|
240
|
+
"alias": "size";
|
|
241
|
+
"required": false;
|
|
242
|
+
"isSignal": true;
|
|
243
|
+
};
|
|
244
|
+
"pointValues": {
|
|
245
|
+
"alias": "pointValues";
|
|
246
|
+
"required": false;
|
|
247
|
+
"isSignal": true;
|
|
248
|
+
};
|
|
249
|
+
}, {
|
|
250
|
+
"activeIndexChange": "activeIndexChange";
|
|
251
|
+
}, never, ["[gbtChartLayer]", "gbt-chart-tooltip", "gbt-chart-empty", "gbt-chart-table"], true, never>;
|
|
252
|
+
}
|
|
253
|
+
interface LegendEntry {
|
|
254
|
+
label: string;
|
|
255
|
+
pattern?: 'solid' | 'dashed' | 'dotted';
|
|
256
|
+
color?: string;
|
|
257
|
+
value?: string;
|
|
258
|
+
}
|
|
259
|
+
export declare class ChartLegend {
|
|
260
|
+
entries: import("@angular/core").InputSignal<LegendEntry[]>;
|
|
261
|
+
interactive: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
262
|
+
activeIndex: import("@angular/core").InputSignal<number | null>;
|
|
263
|
+
activeIndexChange: import("@angular/core").OutputEmitterRef<number | null>;
|
|
264
|
+
protected dashArray(pattern: LegendEntry['pattern']): string;
|
|
265
|
+
protected onMouseLeave(event: MouseEvent): void;
|
|
266
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChartLegend, never>;
|
|
267
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChartLegend, "gbt-chart-legend", never, {
|
|
268
|
+
"entries": {
|
|
269
|
+
"alias": "entries";
|
|
270
|
+
"required": true;
|
|
271
|
+
"isSignal": true;
|
|
272
|
+
};
|
|
273
|
+
"interactive": {
|
|
274
|
+
"alias": "interactive";
|
|
275
|
+
"required": false;
|
|
276
|
+
"isSignal": true;
|
|
277
|
+
};
|
|
278
|
+
"activeIndex": {
|
|
279
|
+
"alias": "activeIndex";
|
|
280
|
+
"required": false;
|
|
281
|
+
"isSignal": true;
|
|
282
|
+
};
|
|
283
|
+
}, {
|
|
284
|
+
"activeIndexChange": "activeIndexChange";
|
|
285
|
+
}, never, never, true, never>;
|
|
286
|
+
}
|
|
287
|
+
export declare class ChartTable {
|
|
288
|
+
caption: import("@angular/core").InputSignal<string>;
|
|
289
|
+
columns: import("@angular/core").InputSignal<string[]>;
|
|
290
|
+
rows: import("@angular/core").InputSignal<(string | number)[][]>;
|
|
291
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChartTable, never>;
|
|
292
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChartTable, "gbt-chart-table", never, {
|
|
293
|
+
"caption": {
|
|
294
|
+
"alias": "caption";
|
|
295
|
+
"required": true;
|
|
296
|
+
"isSignal": true;
|
|
297
|
+
};
|
|
298
|
+
"columns": {
|
|
299
|
+
"alias": "columns";
|
|
300
|
+
"required": true;
|
|
301
|
+
"isSignal": true;
|
|
302
|
+
};
|
|
303
|
+
"rows": {
|
|
304
|
+
"alias": "rows";
|
|
305
|
+
"required": true;
|
|
306
|
+
"isSignal": true;
|
|
307
|
+
};
|
|
308
|
+
}, {}, never, never, true, never>;
|
|
309
|
+
}
|
|
310
|
+
interface TooltipRow {
|
|
311
|
+
label: string;
|
|
312
|
+
value: string;
|
|
313
|
+
series?: 1 | 2 | 3;
|
|
314
|
+
pattern?: 'solid' | 'dashed' | 'dotted';
|
|
315
|
+
}
|
|
316
|
+
interface TooltipPoint<X> {
|
|
317
|
+
x: X;
|
|
318
|
+
header: string;
|
|
319
|
+
rows: TooltipRow[];
|
|
320
|
+
}
|
|
321
|
+
export declare class ChartTooltip<X> {
|
|
322
|
+
private readonly context;
|
|
323
|
+
points: import("@angular/core").InputSignal<TooltipPoint<X>[]>;
|
|
324
|
+
protected readonly active: import("@angular/core").Signal<TooltipPoint<X> | null>;
|
|
325
|
+
protected readonly left: import("@angular/core").Signal<number>;
|
|
326
|
+
protected readonly anchor: import("@angular/core").Signal<"start" | "middle" | "end">;
|
|
327
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChartTooltip<any>, never>;
|
|
328
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChartTooltip<any>, "gbt-chart-tooltip", never, {
|
|
329
|
+
"points": {
|
|
330
|
+
"alias": "points";
|
|
331
|
+
"required": true;
|
|
332
|
+
"isSignal": true;
|
|
333
|
+
};
|
|
334
|
+
}, {}, never, never, true, never>;
|
|
335
|
+
}
|
|
336
|
+
declare const ESTIMATED_CHAR_WIDTH = 6.5;
|
|
337
|
+
declare const LABEL_GAP = 8;
|
|
338
|
+
export declare function estimateLabelWidth(label: string): number;
|
|
339
|
+
export declare function nearestIndex(sorted: number[], target: number): number;
|
|
340
|
+
interface Point {
|
|
341
|
+
x: number;
|
|
342
|
+
y: number;
|
|
343
|
+
}
|
|
344
|
+
export declare function linePath(points: Point[]): string;
|
|
345
|
+
export declare function areaPath(points: Point[], baseline: number): string;
|
|
346
|
+
interface Arc {
|
|
347
|
+
startAngle: number;
|
|
348
|
+
endAngle: number;
|
|
349
|
+
innerRadius: number;
|
|
350
|
+
outerRadius: number;
|
|
351
|
+
}
|
|
352
|
+
export declare function arcPath(arc: Arc): string;
|
|
353
|
+
export declare function niceTicks(min: number, max: number, count: number): number[];
|
|
354
|
+
type TimeUnit = 'second' | 'minute' | 'hour' | 'day' | 'month' | 'year';
|
|
355
|
+
interface TimeTicks {
|
|
356
|
+
readonly values: Date[];
|
|
357
|
+
readonly unit: TimeUnit;
|
|
358
|
+
format(date: Date, locale: string): string;
|
|
359
|
+
}
|
|
360
|
+
export declare function timeTicks(start: Date, end: Date, pixelWidth: number): TimeTicks;
|
|
361
|
+
export type { Arc, AxisSpec, BandScale, ChartBox, ChartInterval, ChartMargin, ChartPoint, ChartReader, ChartSeries, LegendEntry, LinearAxisSpec, Point, PointValue, Scale, TimeTicks, TimeUnit, TooltipPoint, TooltipRow };
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { ControlValueAccessor } from "@angular/forms";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
interface CheckboxGroupOption<T = string> {
|
|
4
|
+
value: T;
|
|
5
|
+
label: string;
|
|
6
|
+
hint?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
}
|
|
9
|
+
interface CheckboxGroupSection<T = string> {
|
|
10
|
+
label: string;
|
|
11
|
+
options: CheckboxGroupOption<T>[];
|
|
12
|
+
}
|
|
13
|
+
interface RenderedItem<T> {
|
|
14
|
+
id: string;
|
|
15
|
+
option: CheckboxGroupOption<T>;
|
|
16
|
+
}
|
|
17
|
+
interface RenderedSection<T> {
|
|
18
|
+
key: string;
|
|
19
|
+
label: string | null;
|
|
20
|
+
labelId: string;
|
|
21
|
+
items: RenderedItem<T>[];
|
|
22
|
+
}
|
|
23
|
+
export declare class CheckboxGroup<T = string> implements ControlValueAccessor {
|
|
24
|
+
id: import("@angular/core").InputSignal<string>;
|
|
25
|
+
legend: import("@angular/core").InputSignal<string>;
|
|
26
|
+
hideLegend: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
27
|
+
options: import("@angular/core").InputSignal<CheckboxGroupOption<T>[]>;
|
|
28
|
+
groups: import("@angular/core").InputSignal<CheckboxGroupSection<T>[]>;
|
|
29
|
+
columns: import("@angular/core").InputSignal<number | "auto">;
|
|
30
|
+
disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
31
|
+
required: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
32
|
+
hint: import("@angular/core").InputSignal<string>;
|
|
33
|
+
errorMessage: import("@angular/core").InputSignal<string | null>;
|
|
34
|
+
value: import("@angular/core").ModelSignal<T[]>;
|
|
35
|
+
private readonly formDisabled;
|
|
36
|
+
protected readonly isDisabled: import("@angular/core").Signal<boolean>;
|
|
37
|
+
protected readonly hintId: import("@angular/core").Signal<string>;
|
|
38
|
+
protected readonly errorId: import("@angular/core").Signal<string>;
|
|
39
|
+
protected readonly showHint: import("@angular/core").Signal<boolean>;
|
|
40
|
+
protected readonly describedBy: import("@angular/core").Signal<string | null>;
|
|
41
|
+
protected readonly sections: import("@angular/core").Signal<RenderedSection<T>[]>;
|
|
42
|
+
protected readonly sectioned: import("@angular/core").Signal<boolean>;
|
|
43
|
+
protected readonly gridColumns: import("@angular/core").Signal<string | null>;
|
|
44
|
+
private onChange;
|
|
45
|
+
private onTouched;
|
|
46
|
+
writeValue(value: T[] | null): void;
|
|
47
|
+
registerOnChange(fn: (value: T[]) => void): void;
|
|
48
|
+
registerOnTouched(fn: () => void): void;
|
|
49
|
+
setDisabledState(isDisabled: boolean): void;
|
|
50
|
+
protected isChecked(value: T): boolean;
|
|
51
|
+
protected setChecked(value: T, checked: boolean): void;
|
|
52
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxGroup<any>, never>;
|
|
53
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxGroup<any>, "gbt-checkbox-group", never, {
|
|
54
|
+
"id": {
|
|
55
|
+
"alias": "id";
|
|
56
|
+
"required": false;
|
|
57
|
+
"isSignal": true;
|
|
58
|
+
};
|
|
59
|
+
"legend": {
|
|
60
|
+
"alias": "legend";
|
|
61
|
+
"required": true;
|
|
62
|
+
"isSignal": true;
|
|
63
|
+
};
|
|
64
|
+
"hideLegend": {
|
|
65
|
+
"alias": "hideLegend";
|
|
66
|
+
"required": false;
|
|
67
|
+
"isSignal": true;
|
|
68
|
+
};
|
|
69
|
+
"options": {
|
|
70
|
+
"alias": "options";
|
|
71
|
+
"required": false;
|
|
72
|
+
"isSignal": true;
|
|
73
|
+
};
|
|
74
|
+
"groups": {
|
|
75
|
+
"alias": "groups";
|
|
76
|
+
"required": false;
|
|
77
|
+
"isSignal": true;
|
|
78
|
+
};
|
|
79
|
+
"columns": {
|
|
80
|
+
"alias": "columns";
|
|
81
|
+
"required": false;
|
|
82
|
+
"isSignal": true;
|
|
83
|
+
};
|
|
84
|
+
"disabled": {
|
|
85
|
+
"alias": "disabled";
|
|
86
|
+
"required": false;
|
|
87
|
+
"isSignal": true;
|
|
88
|
+
};
|
|
89
|
+
"required": {
|
|
90
|
+
"alias": "required";
|
|
91
|
+
"required": false;
|
|
92
|
+
"isSignal": true;
|
|
93
|
+
};
|
|
94
|
+
"hint": {
|
|
95
|
+
"alias": "hint";
|
|
96
|
+
"required": false;
|
|
97
|
+
"isSignal": true;
|
|
98
|
+
};
|
|
99
|
+
"errorMessage": {
|
|
100
|
+
"alias": "errorMessage";
|
|
101
|
+
"required": false;
|
|
102
|
+
"isSignal": true;
|
|
103
|
+
};
|
|
104
|
+
"value": {
|
|
105
|
+
"alias": "value";
|
|
106
|
+
"required": false;
|
|
107
|
+
"isSignal": true;
|
|
108
|
+
};
|
|
109
|
+
}, {
|
|
110
|
+
"value": "valueChange";
|
|
111
|
+
}, never, never, true, never>;
|
|
112
|
+
}
|
|
113
|
+
export type { CheckboxGroupOption, CheckboxGroupSection };
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { ControlValueAccessor } from "@angular/forms";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class Checkbox implements ControlValueAccessor {
|
|
4
|
+
id: import("@angular/core").InputSignal<string>;
|
|
5
|
+
label: import("@angular/core").InputSignal<string>;
|
|
6
|
+
disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
7
|
+
hint: import("@angular/core").InputSignal<string>;
|
|
8
|
+
checked: import("@angular/core").ModelSignal<boolean>;
|
|
9
|
+
protected readonly hintId: import("@angular/core").Signal<string>;
|
|
10
|
+
private readonly formDisabled;
|
|
11
|
+
protected readonly isDisabled: import("@angular/core").Signal<boolean>;
|
|
12
|
+
private onChange;
|
|
13
|
+
private onTouched;
|
|
14
|
+
writeValue(value: boolean): void;
|
|
15
|
+
registerOnChange(fn: (value: boolean) => void): void;
|
|
16
|
+
registerOnTouched(fn: () => void): void;
|
|
17
|
+
setDisabledState(isDisabled: boolean): void;
|
|
18
|
+
protected onToggle(event: Event): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Checkbox, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Checkbox, "gbt-checkbox", never, {
|
|
21
|
+
"id": {
|
|
22
|
+
"alias": "id";
|
|
23
|
+
"required": false;
|
|
24
|
+
"isSignal": true;
|
|
25
|
+
};
|
|
26
|
+
"label": {
|
|
27
|
+
"alias": "label";
|
|
28
|
+
"required": false;
|
|
29
|
+
"isSignal": true;
|
|
30
|
+
};
|
|
31
|
+
"disabled": {
|
|
32
|
+
"alias": "disabled";
|
|
33
|
+
"required": false;
|
|
34
|
+
"isSignal": true;
|
|
35
|
+
};
|
|
36
|
+
"hint": {
|
|
37
|
+
"alias": "hint";
|
|
38
|
+
"required": false;
|
|
39
|
+
"isSignal": true;
|
|
40
|
+
};
|
|
41
|
+
"checked": {
|
|
42
|
+
"alias": "checked";
|
|
43
|
+
"required": false;
|
|
44
|
+
"isSignal": true;
|
|
45
|
+
};
|
|
46
|
+
}, {
|
|
47
|
+
"checked": "checkedChange";
|
|
48
|
+
}, never, never, true, never>;
|
|
49
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { ButtonVariant } from "@masmarino/gabarit/button";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
type ConfirmDangerModalTone = 'danger' | 'warning' | 'neutral';
|
|
4
|
+
export declare class ConfirmDangerModal {
|
|
5
|
+
isOpen: import("@angular/core").InputSignal<boolean>;
|
|
6
|
+
heading: import("@angular/core").InputSignal<string>;
|
|
7
|
+
message: import("@angular/core").InputSignal<string>;
|
|
8
|
+
confirmText: import("@angular/core").InputSignal<string | null | undefined>;
|
|
9
|
+
confirmInputLabel: import("@angular/core").InputSignal<string>;
|
|
10
|
+
confirmLabel: import("@angular/core").InputSignal<string>;
|
|
11
|
+
cancelLabel: import("@angular/core").InputSignal<string>;
|
|
12
|
+
closeLabel: import("@angular/core").InputSignal<string>;
|
|
13
|
+
busy: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
14
|
+
busyLabel: import("@angular/core").InputSignal<string>;
|
|
15
|
+
confirmIcon: import("@angular/core").InputSignal<string | null>;
|
|
16
|
+
tone: import("@angular/core").InputSignal<ConfirmDangerModalTone>;
|
|
17
|
+
confirmed: import("@angular/core").OutputEmitterRef<void>;
|
|
18
|
+
closed: import("@angular/core").OutputEmitterRef<void>;
|
|
19
|
+
protected readonly typed: import("@angular/core").WritableSignal<string>;
|
|
20
|
+
protected readonly requiresTyping: import("@angular/core").Signal<boolean>;
|
|
21
|
+
protected readonly canConfirm: import("@angular/core").Signal<boolean>;
|
|
22
|
+
protected readonly confirmVariant: import("@angular/core").Signal<ButtonVariant>;
|
|
23
|
+
protected readonly toneIcon: import("@angular/core").Signal<"info" | "alert-triangle">;
|
|
24
|
+
constructor();
|
|
25
|
+
protected confirm(): void;
|
|
26
|
+
protected cancel(): void;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmDangerModal, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmDangerModal, "gbt-confirm-danger-modal", never, {
|
|
29
|
+
"isOpen": {
|
|
30
|
+
"alias": "isOpen";
|
|
31
|
+
"required": true;
|
|
32
|
+
"isSignal": true;
|
|
33
|
+
};
|
|
34
|
+
"heading": {
|
|
35
|
+
"alias": "heading";
|
|
36
|
+
"required": true;
|
|
37
|
+
"isSignal": true;
|
|
38
|
+
};
|
|
39
|
+
"message": {
|
|
40
|
+
"alias": "message";
|
|
41
|
+
"required": true;
|
|
42
|
+
"isSignal": true;
|
|
43
|
+
};
|
|
44
|
+
"confirmText": {
|
|
45
|
+
"alias": "confirmText";
|
|
46
|
+
"required": false;
|
|
47
|
+
"isSignal": true;
|
|
48
|
+
};
|
|
49
|
+
"confirmInputLabel": {
|
|
50
|
+
"alias": "confirmInputLabel";
|
|
51
|
+
"required": false;
|
|
52
|
+
"isSignal": true;
|
|
53
|
+
};
|
|
54
|
+
"confirmLabel": {
|
|
55
|
+
"alias": "confirmLabel";
|
|
56
|
+
"required": false;
|
|
57
|
+
"isSignal": true;
|
|
58
|
+
};
|
|
59
|
+
"cancelLabel": {
|
|
60
|
+
"alias": "cancelLabel";
|
|
61
|
+
"required": false;
|
|
62
|
+
"isSignal": true;
|
|
63
|
+
};
|
|
64
|
+
"closeLabel": {
|
|
65
|
+
"alias": "closeLabel";
|
|
66
|
+
"required": false;
|
|
67
|
+
"isSignal": true;
|
|
68
|
+
};
|
|
69
|
+
"busy": {
|
|
70
|
+
"alias": "busy";
|
|
71
|
+
"required": false;
|
|
72
|
+
"isSignal": true;
|
|
73
|
+
};
|
|
74
|
+
"busyLabel": {
|
|
75
|
+
"alias": "busyLabel";
|
|
76
|
+
"required": false;
|
|
77
|
+
"isSignal": true;
|
|
78
|
+
};
|
|
79
|
+
"confirmIcon": {
|
|
80
|
+
"alias": "confirmIcon";
|
|
81
|
+
"required": false;
|
|
82
|
+
"isSignal": true;
|
|
83
|
+
};
|
|
84
|
+
"tone": {
|
|
85
|
+
"alias": "tone";
|
|
86
|
+
"required": false;
|
|
87
|
+
"isSignal": true;
|
|
88
|
+
};
|
|
89
|
+
}, {
|
|
90
|
+
"confirmed": "confirmed";
|
|
91
|
+
"closed": "closed";
|
|
92
|
+
}, never, never, true, never>;
|
|
93
|
+
}
|
|
94
|
+
export type { ConfirmDangerModalTone };
|