@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,44 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
type DisclosureAppearance = 'bordered' | 'plain';
|
|
3
|
+
type DisclosureHeadingLevel = 2 | 3 | 4 | 5 | 6;
|
|
4
|
+
export declare class Disclosure {
|
|
5
|
+
label: import("@angular/core").InputSignal<string>;
|
|
6
|
+
open: import("@angular/core").ModelSignal<boolean>;
|
|
7
|
+
icon: import("@angular/core").InputSignal<string | null>;
|
|
8
|
+
appearance: import("@angular/core").InputSignal<DisclosureAppearance>;
|
|
9
|
+
headingLevel: import("@angular/core").InputSignal<DisclosureHeadingLevel | null>;
|
|
10
|
+
protected readonly buttonId: string;
|
|
11
|
+
protected readonly panelId: string;
|
|
12
|
+
protected toggle(): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Disclosure, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Disclosure, "gbt-disclosure", never, {
|
|
15
|
+
"label": {
|
|
16
|
+
"alias": "label";
|
|
17
|
+
"required": true;
|
|
18
|
+
"isSignal": true;
|
|
19
|
+
};
|
|
20
|
+
"open": {
|
|
21
|
+
"alias": "open";
|
|
22
|
+
"required": false;
|
|
23
|
+
"isSignal": true;
|
|
24
|
+
};
|
|
25
|
+
"icon": {
|
|
26
|
+
"alias": "icon";
|
|
27
|
+
"required": false;
|
|
28
|
+
"isSignal": true;
|
|
29
|
+
};
|
|
30
|
+
"appearance": {
|
|
31
|
+
"alias": "appearance";
|
|
32
|
+
"required": false;
|
|
33
|
+
"isSignal": true;
|
|
34
|
+
};
|
|
35
|
+
"headingLevel": {
|
|
36
|
+
"alias": "headingLevel";
|
|
37
|
+
"required": false;
|
|
38
|
+
"isSignal": true;
|
|
39
|
+
};
|
|
40
|
+
}, {
|
|
41
|
+
"open": "openChange";
|
|
42
|
+
}, never, ["*"], true, never>;
|
|
43
|
+
}
|
|
44
|
+
export type { DisclosureAppearance, DisclosureHeadingLevel };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
type DividerOrientation = 'horizontal' | 'vertical';
|
|
3
|
+
export declare class Divider {
|
|
4
|
+
orientation: import("@angular/core").InputSignal<DividerOrientation>;
|
|
5
|
+
label: import("@angular/core").InputSignal<string>;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Divider, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Divider, "gbt-divider", never, {
|
|
8
|
+
"orientation": {
|
|
9
|
+
"alias": "orientation";
|
|
10
|
+
"required": false;
|
|
11
|
+
"isSignal": true;
|
|
12
|
+
};
|
|
13
|
+
"label": {
|
|
14
|
+
"alias": "label";
|
|
15
|
+
"required": false;
|
|
16
|
+
"isSignal": true;
|
|
17
|
+
};
|
|
18
|
+
}, {}, never, never, true, never>;
|
|
19
|
+
}
|
|
20
|
+
export type { DividerOrientation };
|
|
@@ -3,7 +3,8 @@ import { InjectionToken, Provider, Signal } from "@angular/core";
|
|
|
3
3
|
import { Observable } from "rxjs";
|
|
4
4
|
import { CanActivateFn, Routes } from "@angular/router";
|
|
5
5
|
import { SafeHtml } from "@angular/platform-browser";
|
|
6
|
-
import { AutocompleteSearchFn
|
|
6
|
+
import { AutocompleteSearchFn } from "@masmarino/gabarit/autocomplete";
|
|
7
|
+
import { PanelHeadingLevel } from "@masmarino/gabarit/panel";
|
|
7
8
|
interface DocsConfig {
|
|
8
9
|
/** Where the files (`<root>/index.json`, `<root>/<section>/<page>.md`) and the routes live. `/docs` by default. */
|
|
9
10
|
root: string;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { OnDestroy } from "@angular/core";
|
|
3
|
+
type DrawerEdge = 'right' | 'left' | 'top' | 'bottom';
|
|
4
|
+
export declare class Drawer implements OnDestroy {
|
|
5
|
+
isOpen: import("@angular/core").InputSignal<boolean>;
|
|
6
|
+
edge: import("@angular/core").InputSignal<DrawerEdge>;
|
|
7
|
+
heading: import("@angular/core").InputSignal<string>;
|
|
8
|
+
headingLevel: import("@angular/core").InputSignal<1 | 2 | 3 | 4 | 5 | 6>;
|
|
9
|
+
closeLabel: import("@angular/core").InputSignal<string>;
|
|
10
|
+
closed: import("@angular/core").OutputEmitterRef<void>;
|
|
11
|
+
protected readonly rendered: import("@angular/core").WritableSignal<boolean>;
|
|
12
|
+
private readonly panel;
|
|
13
|
+
private previouslyFocused;
|
|
14
|
+
private closeTimer;
|
|
15
|
+
constructor();
|
|
16
|
+
ngOnDestroy(): void;
|
|
17
|
+
protected onEscape(): void;
|
|
18
|
+
protected onBackdropClick(event: MouseEvent): void;
|
|
19
|
+
protected onPanelKeydown(event: KeyboardEvent): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Drawer, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Drawer, "gbt-drawer", never, {
|
|
22
|
+
"isOpen": {
|
|
23
|
+
"alias": "isOpen";
|
|
24
|
+
"required": true;
|
|
25
|
+
"isSignal": true;
|
|
26
|
+
};
|
|
27
|
+
"edge": {
|
|
28
|
+
"alias": "edge";
|
|
29
|
+
"required": false;
|
|
30
|
+
"isSignal": true;
|
|
31
|
+
};
|
|
32
|
+
"heading": {
|
|
33
|
+
"alias": "heading";
|
|
34
|
+
"required": false;
|
|
35
|
+
"isSignal": true;
|
|
36
|
+
};
|
|
37
|
+
"headingLevel": {
|
|
38
|
+
"alias": "headingLevel";
|
|
39
|
+
"required": false;
|
|
40
|
+
"isSignal": true;
|
|
41
|
+
};
|
|
42
|
+
"closeLabel": {
|
|
43
|
+
"alias": "closeLabel";
|
|
44
|
+
"required": false;
|
|
45
|
+
"isSignal": true;
|
|
46
|
+
};
|
|
47
|
+
}, {
|
|
48
|
+
"closed": "closed";
|
|
49
|
+
}, never, ["*"], true, never>;
|
|
50
|
+
}
|
|
51
|
+
export type { DrawerEdge };
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
type EmptyStateIllustration = 'folder' | 'star' | 'checklist' | 'merge' | 'pipeline' | 'tag' | 'book' | 'server';
|
|
3
|
+
type EmptyStateSize = 'default' | 'compact';
|
|
4
|
+
type EmptyStateTone = 'default' | 'error';
|
|
5
|
+
type EmptyStateHeadingLevel = 1 | 2 | 3 | 4 | 5 | 6;
|
|
6
|
+
export declare class EmptyState {
|
|
7
|
+
illustration: import("@angular/core").InputSignal<EmptyStateIllustration | null | undefined>;
|
|
8
|
+
heading: import("@angular/core").InputSignal<string>;
|
|
9
|
+
message: import("@angular/core").InputSignal<string>;
|
|
10
|
+
icon: import("@angular/core").InputSignal<string | null>;
|
|
11
|
+
size: import("@angular/core").InputSignal<EmptyStateSize>;
|
|
12
|
+
tone: import("@angular/core").InputSignal<EmptyStateTone>;
|
|
13
|
+
headingLevel: import("@angular/core").InputSignal<EmptyStateHeadingLevel | null>;
|
|
14
|
+
headingId: import("@angular/core").InputSignal<string | null>;
|
|
15
|
+
headingFocusable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
16
|
+
private readonly headingEl;
|
|
17
|
+
focusHeading(): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EmptyState, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EmptyState, "gbt-empty-state", never, {
|
|
20
|
+
"illustration": {
|
|
21
|
+
"alias": "illustration";
|
|
22
|
+
"required": false;
|
|
23
|
+
"isSignal": true;
|
|
24
|
+
};
|
|
25
|
+
"heading": {
|
|
26
|
+
"alias": "heading";
|
|
27
|
+
"required": true;
|
|
28
|
+
"isSignal": true;
|
|
29
|
+
};
|
|
30
|
+
"message": {
|
|
31
|
+
"alias": "message";
|
|
32
|
+
"required": false;
|
|
33
|
+
"isSignal": true;
|
|
34
|
+
};
|
|
35
|
+
"icon": {
|
|
36
|
+
"alias": "icon";
|
|
37
|
+
"required": false;
|
|
38
|
+
"isSignal": true;
|
|
39
|
+
};
|
|
40
|
+
"size": {
|
|
41
|
+
"alias": "size";
|
|
42
|
+
"required": false;
|
|
43
|
+
"isSignal": true;
|
|
44
|
+
};
|
|
45
|
+
"tone": {
|
|
46
|
+
"alias": "tone";
|
|
47
|
+
"required": false;
|
|
48
|
+
"isSignal": true;
|
|
49
|
+
};
|
|
50
|
+
"headingLevel": {
|
|
51
|
+
"alias": "headingLevel";
|
|
52
|
+
"required": false;
|
|
53
|
+
"isSignal": true;
|
|
54
|
+
};
|
|
55
|
+
"headingId": {
|
|
56
|
+
"alias": "headingId";
|
|
57
|
+
"required": false;
|
|
58
|
+
"isSignal": true;
|
|
59
|
+
};
|
|
60
|
+
"headingFocusable": {
|
|
61
|
+
"alias": "headingFocusable";
|
|
62
|
+
"required": false;
|
|
63
|
+
"isSignal": true;
|
|
64
|
+
};
|
|
65
|
+
}, {}, never, ["*"], true, never>;
|
|
66
|
+
}
|
|
67
|
+
export type { EmptyStateHeadingLevel, EmptyStateIllustration, EmptyStateSize, EmptyStateTone };
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { ControlValueAccessor } from "@angular/forms";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
declare function formatFileSize(bytes: number): string;
|
|
4
|
+
export declare class FileUpload implements ControlValueAccessor {
|
|
5
|
+
private readonly fileInput;
|
|
6
|
+
id: import("@angular/core").InputSignal<string>;
|
|
7
|
+
label: import("@angular/core").InputSignal<string>;
|
|
8
|
+
multiple: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
9
|
+
accept: import("@angular/core").InputSignal<string>;
|
|
10
|
+
maxSizeMb: import("@angular/core").InputSignal<number | null>;
|
|
11
|
+
disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
12
|
+
errorMessage: import("@angular/core").InputSignal<string | null>;
|
|
13
|
+
dropLabel: import("@angular/core").InputSignal<string>;
|
|
14
|
+
removeLabel: import("@angular/core").InputSignal<(name: string) => string>;
|
|
15
|
+
oversizeMessage: import("@angular/core").InputSignal<(name: string, maxSizeMb: number) => string>;
|
|
16
|
+
extraFileMessage: import("@angular/core").InputSignal<(name: string) => string>;
|
|
17
|
+
protected readonly files: import("@angular/core").WritableSignal<File[]>;
|
|
18
|
+
protected readonly rejections: import("@angular/core").WritableSignal<string[]>;
|
|
19
|
+
protected readonly dragOver: import("@angular/core").WritableSignal<boolean>;
|
|
20
|
+
protected readonly formatFileSize: typeof formatFileSize;
|
|
21
|
+
private readonly formDisabled;
|
|
22
|
+
protected readonly isDisabled: import("@angular/core").Signal<boolean>;
|
|
23
|
+
private onChange;
|
|
24
|
+
private onTouched;
|
|
25
|
+
writeValue(value: File[] | null): void;
|
|
26
|
+
registerOnChange(fn: (value: File[]) => void): void;
|
|
27
|
+
registerOnTouched(fn: () => void): void;
|
|
28
|
+
setDisabledState(isDisabled: boolean): void;
|
|
29
|
+
protected openPicker(): void;
|
|
30
|
+
protected onFilesSelected(event: Event): void;
|
|
31
|
+
protected onDragEnter(event: DragEvent): void;
|
|
32
|
+
protected onDragOver(event: DragEvent): void;
|
|
33
|
+
protected onDragLeave(event: DragEvent): void;
|
|
34
|
+
protected onDrop(event: DragEvent): void;
|
|
35
|
+
protected removeFile(file: File): void;
|
|
36
|
+
private addFiles;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileUpload, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileUpload, "gbt-file-upload", never, {
|
|
39
|
+
"id": {
|
|
40
|
+
"alias": "id";
|
|
41
|
+
"required": false;
|
|
42
|
+
"isSignal": true;
|
|
43
|
+
};
|
|
44
|
+
"label": {
|
|
45
|
+
"alias": "label";
|
|
46
|
+
"required": false;
|
|
47
|
+
"isSignal": true;
|
|
48
|
+
};
|
|
49
|
+
"multiple": {
|
|
50
|
+
"alias": "multiple";
|
|
51
|
+
"required": false;
|
|
52
|
+
"isSignal": true;
|
|
53
|
+
};
|
|
54
|
+
"accept": {
|
|
55
|
+
"alias": "accept";
|
|
56
|
+
"required": false;
|
|
57
|
+
"isSignal": true;
|
|
58
|
+
};
|
|
59
|
+
"maxSizeMb": {
|
|
60
|
+
"alias": "maxSizeMb";
|
|
61
|
+
"required": false;
|
|
62
|
+
"isSignal": true;
|
|
63
|
+
};
|
|
64
|
+
"disabled": {
|
|
65
|
+
"alias": "disabled";
|
|
66
|
+
"required": false;
|
|
67
|
+
"isSignal": true;
|
|
68
|
+
};
|
|
69
|
+
"errorMessage": {
|
|
70
|
+
"alias": "errorMessage";
|
|
71
|
+
"required": false;
|
|
72
|
+
"isSignal": true;
|
|
73
|
+
};
|
|
74
|
+
"dropLabel": {
|
|
75
|
+
"alias": "dropLabel";
|
|
76
|
+
"required": false;
|
|
77
|
+
"isSignal": true;
|
|
78
|
+
};
|
|
79
|
+
"removeLabel": {
|
|
80
|
+
"alias": "removeLabel";
|
|
81
|
+
"required": false;
|
|
82
|
+
"isSignal": true;
|
|
83
|
+
};
|
|
84
|
+
"oversizeMessage": {
|
|
85
|
+
"alias": "oversizeMessage";
|
|
86
|
+
"required": false;
|
|
87
|
+
"isSignal": true;
|
|
88
|
+
};
|
|
89
|
+
"extraFileMessage": {
|
|
90
|
+
"alias": "extraFileMessage";
|
|
91
|
+
"required": false;
|
|
92
|
+
"isSignal": true;
|
|
93
|
+
};
|
|
94
|
+
}, {}, never, never, true, never>;
|
|
95
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
interface FloatingPanelAnchor {
|
|
2
|
+
rect: DOMRect;
|
|
3
|
+
bottom: number;
|
|
4
|
+
left: number;
|
|
5
|
+
}
|
|
6
|
+
/** Returns `null` (panel closed, or trigger not in the DOM) when the caller should leave `panelStyle` untouched. */
|
|
7
|
+
export declare function floatingPanelAnchor(open: boolean, trigger: HTMLElement | null, anchorBottom?: (rect: DOMRect) => number): FloatingPanelAnchor | null;
|
|
8
|
+
/**
|
|
9
|
+
* Calls `follow` on every scroll in the page: the window's, and that of any scrolling container — the app shell's
|
|
10
|
+
* `main`, a modal's body — since a panel fixed to the viewport must follow its trigger through all of them. Scroll
|
|
11
|
+
* events don't bubble, so the listener sits on the window's capture phase. Call it in an injection context; it stops
|
|
12
|
+
* with the component.
|
|
13
|
+
*/
|
|
14
|
+
export declare function followPageScroll(follow: () => void): void;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { PipeTransform } from "@angular/core";
|
|
3
|
+
interface FormatBytesOptions {
|
|
4
|
+
base?: 1000 | 1024;
|
|
5
|
+
decimals?: number;
|
|
6
|
+
binaryUnits?: 'iec' | 'legacy';
|
|
7
|
+
}
|
|
8
|
+
export declare function formatBytes(bytes: number, locale: string, options?: FormatBytesOptions): string;
|
|
9
|
+
type DateInput = Date | string | number;
|
|
10
|
+
interface FormatRelativeTimeOptions {
|
|
11
|
+
style?: 'long' | 'short' | 'narrow';
|
|
12
|
+
numeric?: 'auto' | 'always';
|
|
13
|
+
maxUnit?: 'hour' | 'day' | 'week' | 'month';
|
|
14
|
+
absoluteAfterDays?: number;
|
|
15
|
+
timeZone?: string;
|
|
16
|
+
}
|
|
17
|
+
export declare function formatRelativeTime(date: DateInput | null | undefined, locale: string, now?: DateInput, options?: FormatRelativeTimeOptions): string;
|
|
18
|
+
export declare function formatDateTime(date: DateInput | null | undefined, locale: string, options?: Intl.DateTimeFormatOptions): string;
|
|
19
|
+
interface GbtPipeLocale {
|
|
20
|
+
locale?: string;
|
|
21
|
+
}
|
|
22
|
+
type GbtRelativeTimePipeOptions = FormatRelativeTimeOptions & GbtPipeLocale & {
|
|
23
|
+
now?: DateInput;
|
|
24
|
+
};
|
|
25
|
+
type GbtBytesPipeOptions = FormatBytesOptions & GbtPipeLocale;
|
|
26
|
+
type GbtDateTimePipeOptions = Intl.DateTimeFormatOptions & GbtPipeLocale;
|
|
27
|
+
export declare class GbtRelativeTimePipe implements PipeTransform {
|
|
28
|
+
private readonly localeId;
|
|
29
|
+
transform(value: DateInput | null | undefined, options?: GbtRelativeTimePipeOptions): string;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GbtRelativeTimePipe, never>;
|
|
31
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<GbtRelativeTimePipe, "gbtRelativeTime", true>;
|
|
32
|
+
}
|
|
33
|
+
export declare class GbtBytesPipe implements PipeTransform {
|
|
34
|
+
private readonly localeId;
|
|
35
|
+
transform(value: number | null | undefined, options?: GbtBytesPipeOptions): string;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GbtBytesPipe, never>;
|
|
37
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<GbtBytesPipe, "gbtBytes", true>;
|
|
38
|
+
}
|
|
39
|
+
export declare class GbtDateTimePipe implements PipeTransform {
|
|
40
|
+
private readonly localeId;
|
|
41
|
+
transform(value: DateInput | null | undefined, options?: GbtDateTimePipeOptions): string;
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GbtDateTimePipe, never>;
|
|
43
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<GbtDateTimePipe, "gbtDateTime", true>;
|
|
44
|
+
}
|
|
45
|
+
export declare function formatNumber(value: number, locale: string, decimals?: number): string;
|
|
46
|
+
export declare function formatCompact(value: number, locale: string): string;
|
|
47
|
+
interface FormatDurationOptions {
|
|
48
|
+
days?: boolean;
|
|
49
|
+
}
|
|
50
|
+
export declare function formatDuration(ms: number, locale: string, options?: FormatDurationOptions): string;
|
|
51
|
+
export declare function formatPercent(ratio: number, locale: string, decimals?: number): string;
|
|
52
|
+
export declare function computeInitials(name: string): string;
|
|
53
|
+
export declare function cachedIntl<T>(kind: string, locale: string, options: object | undefined, create: () => T): T;
|
|
54
|
+
export type { DateInput, FormatBytesOptions, FormatDurationOptions, FormatRelativeTimeOptions, GbtBytesPipeOptions, GbtDateTimePipeOptions, GbtPipeLocale, GbtRelativeTimePipeOptions };
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
interface FunnelStep {
|
|
3
|
+
label: string;
|
|
4
|
+
value: number;
|
|
5
|
+
}
|
|
6
|
+
interface RenderedStep {
|
|
7
|
+
label: string;
|
|
8
|
+
formattedValue: string;
|
|
9
|
+
part: number;
|
|
10
|
+
conversionFromPrevious: string;
|
|
11
|
+
}
|
|
12
|
+
export declare class FunnelChart {
|
|
13
|
+
steps: import("@angular/core").InputSignal<FunnelStep[]>;
|
|
14
|
+
label: import("@angular/core").InputSignal<string>;
|
|
15
|
+
locale: import("@angular/core").InputSignal<string>;
|
|
16
|
+
emptyMessage: import("@angular/core").InputSignal<string>;
|
|
17
|
+
tableCaption: import("@angular/core").InputSignal<string>;
|
|
18
|
+
stepColumn: import("@angular/core").InputSignal<string>;
|
|
19
|
+
valueColumn: import("@angular/core").InputSignal<string>;
|
|
20
|
+
conversionColumn: import("@angular/core").InputSignal<string>;
|
|
21
|
+
stepAnnouncement: import("@angular/core").InputSignal<(label: string, conversion: string) => string>;
|
|
22
|
+
private readonly reference;
|
|
23
|
+
protected readonly activeIndex: import("@angular/core").WritableSignal<number | null>;
|
|
24
|
+
protected onMouseLeave(event: MouseEvent): void;
|
|
25
|
+
protected readonly renderedSteps: import("@angular/core").Signal<RenderedStep[]>;
|
|
26
|
+
protected readonly activeStep: import("@angular/core").Signal<RenderedStep | null>;
|
|
27
|
+
protected readonly columns: import("@angular/core").Signal<string[]>;
|
|
28
|
+
protected readonly tableRows: import("@angular/core").Signal<(string | number)[][]>;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FunnelChart, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FunnelChart, "gbt-funnel-chart", never, {
|
|
31
|
+
"steps": {
|
|
32
|
+
"alias": "steps";
|
|
33
|
+
"required": true;
|
|
34
|
+
"isSignal": true;
|
|
35
|
+
};
|
|
36
|
+
"label": {
|
|
37
|
+
"alias": "label";
|
|
38
|
+
"required": true;
|
|
39
|
+
"isSignal": true;
|
|
40
|
+
};
|
|
41
|
+
"locale": {
|
|
42
|
+
"alias": "locale";
|
|
43
|
+
"required": true;
|
|
44
|
+
"isSignal": true;
|
|
45
|
+
};
|
|
46
|
+
"emptyMessage": {
|
|
47
|
+
"alias": "emptyMessage";
|
|
48
|
+
"required": true;
|
|
49
|
+
"isSignal": true;
|
|
50
|
+
};
|
|
51
|
+
"tableCaption": {
|
|
52
|
+
"alias": "tableCaption";
|
|
53
|
+
"required": true;
|
|
54
|
+
"isSignal": true;
|
|
55
|
+
};
|
|
56
|
+
"stepColumn": {
|
|
57
|
+
"alias": "stepColumn";
|
|
58
|
+
"required": true;
|
|
59
|
+
"isSignal": true;
|
|
60
|
+
};
|
|
61
|
+
"valueColumn": {
|
|
62
|
+
"alias": "valueColumn";
|
|
63
|
+
"required": true;
|
|
64
|
+
"isSignal": true;
|
|
65
|
+
};
|
|
66
|
+
"conversionColumn": {
|
|
67
|
+
"alias": "conversionColumn";
|
|
68
|
+
"required": true;
|
|
69
|
+
"isSignal": true;
|
|
70
|
+
};
|
|
71
|
+
"stepAnnouncement": {
|
|
72
|
+
"alias": "stepAnnouncement";
|
|
73
|
+
"required": true;
|
|
74
|
+
"isSignal": true;
|
|
75
|
+
};
|
|
76
|
+
}, {}, never, never, true, never>;
|
|
77
|
+
}
|
|
78
|
+
export type { FunnelStep };
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class GaugeBar {
|
|
3
|
+
value: import("@angular/core").InputSignal<number>;
|
|
4
|
+
max: import("@angular/core").InputSignal<number>;
|
|
5
|
+
label: import("@angular/core").InputSignal<string>;
|
|
6
|
+
formattedValue: import("@angular/core").InputSignal<string>;
|
|
7
|
+
warningLabel: import("@angular/core").InputSignal<string>;
|
|
8
|
+
criticalLabel: import("@angular/core").InputSignal<string>;
|
|
9
|
+
thresholds: import("@angular/core").InputSignal<{
|
|
10
|
+
warning: number;
|
|
11
|
+
critical: number;
|
|
12
|
+
}>;
|
|
13
|
+
protected readonly percentage: import("@angular/core").Signal<number>;
|
|
14
|
+
protected readonly severity: import("@angular/core").Signal<"warning" | "critical" | null>;
|
|
15
|
+
protected readonly severityLabel: import("@angular/core").Signal<string | null>;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GaugeBar, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GaugeBar, "gbt-gauge-bar", never, {
|
|
18
|
+
"value": {
|
|
19
|
+
"alias": "value";
|
|
20
|
+
"required": true;
|
|
21
|
+
"isSignal": true;
|
|
22
|
+
};
|
|
23
|
+
"max": {
|
|
24
|
+
"alias": "max";
|
|
25
|
+
"required": true;
|
|
26
|
+
"isSignal": true;
|
|
27
|
+
};
|
|
28
|
+
"label": {
|
|
29
|
+
"alias": "label";
|
|
30
|
+
"required": true;
|
|
31
|
+
"isSignal": true;
|
|
32
|
+
};
|
|
33
|
+
"formattedValue": {
|
|
34
|
+
"alias": "formattedValue";
|
|
35
|
+
"required": true;
|
|
36
|
+
"isSignal": true;
|
|
37
|
+
};
|
|
38
|
+
"warningLabel": {
|
|
39
|
+
"alias": "warningLabel";
|
|
40
|
+
"required": true;
|
|
41
|
+
"isSignal": true;
|
|
42
|
+
};
|
|
43
|
+
"criticalLabel": {
|
|
44
|
+
"alias": "criticalLabel";
|
|
45
|
+
"required": true;
|
|
46
|
+
"isSignal": true;
|
|
47
|
+
};
|
|
48
|
+
"thresholds": {
|
|
49
|
+
"alias": "thresholds";
|
|
50
|
+
"required": false;
|
|
51
|
+
"isSignal": true;
|
|
52
|
+
};
|
|
53
|
+
}, {}, never, never, true, never>;
|
|
54
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
declare const COLORS: readonly ["brand", "indigo", "patina", "brand-2", "indigo", "patina", "brand"];
|
|
3
|
+
type Color = (typeof COLORS)[number];
|
|
4
|
+
interface Line {
|
|
5
|
+
d: string;
|
|
6
|
+
color: Color;
|
|
7
|
+
}
|
|
8
|
+
interface Commit {
|
|
9
|
+
x: number;
|
|
10
|
+
y: number;
|
|
11
|
+
color: Color;
|
|
12
|
+
hollow: boolean;
|
|
13
|
+
/** Seconds of delay of its blink, so that the commits do not all light up together. */
|
|
14
|
+
delay: number;
|
|
15
|
+
}
|
|
16
|
+
interface Pulse {
|
|
17
|
+
d: string;
|
|
18
|
+
color: Color;
|
|
19
|
+
duration: number;
|
|
20
|
+
delay: number;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* An animated commit graph on the graphite frame, behind a centred panel (the `[auth-backdrop]` slot of the sign-in
|
|
24
|
+
* pages) or a dark band: lanes that drift slowly sideways, their commits blinking in turn and pushes running along
|
|
25
|
+
* some of them, over two soft fields of colour. Decoration only: hidden from assistive technology, under the content,
|
|
26
|
+
* and still when reduced motion is asked for. It fills its nearest positioned ancestor.
|
|
27
|
+
*/
|
|
28
|
+
export declare class GitField {
|
|
29
|
+
protected readonly width = 1600;
|
|
30
|
+
protected readonly height = 560;
|
|
31
|
+
protected readonly tiles: number[];
|
|
32
|
+
protected readonly drawing: {
|
|
33
|
+
lines: Line[];
|
|
34
|
+
commits: Commit[];
|
|
35
|
+
pulses: Pulse[];
|
|
36
|
+
};
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GitField, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GitField, "gbt-git-field", never, {}, {}, never, never, true, never>;
|
|
39
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
type IconMarkerTone = 'neutral' | 'primary' | 'success' | 'warning' | 'error' | 'info';
|
|
3
|
+
type IconMarkerSize = 'sm' | 'md' | 'lg' | 'xl';
|
|
4
|
+
type IconMarkerShape = 'disc' | 'tile';
|
|
5
|
+
type IconMarkerAppearance = 'soft' | 'outline';
|
|
6
|
+
export declare class IconMarker {
|
|
7
|
+
icon: import("@angular/core").InputSignal<string>;
|
|
8
|
+
tone: import("@angular/core").InputSignal<IconMarkerTone>;
|
|
9
|
+
size: import("@angular/core").InputSignal<IconMarkerSize>;
|
|
10
|
+
shape: import("@angular/core").InputSignal<IconMarkerShape>;
|
|
11
|
+
appearance: import("@angular/core").InputSignal<IconMarkerAppearance>;
|
|
12
|
+
label: import("@angular/core").InputSignal<string | null>;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IconMarker, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IconMarker, "gbt-icon-marker", never, {
|
|
15
|
+
"icon": {
|
|
16
|
+
"alias": "icon";
|
|
17
|
+
"required": true;
|
|
18
|
+
"isSignal": true;
|
|
19
|
+
};
|
|
20
|
+
"tone": {
|
|
21
|
+
"alias": "tone";
|
|
22
|
+
"required": false;
|
|
23
|
+
"isSignal": true;
|
|
24
|
+
};
|
|
25
|
+
"size": {
|
|
26
|
+
"alias": "size";
|
|
27
|
+
"required": false;
|
|
28
|
+
"isSignal": true;
|
|
29
|
+
};
|
|
30
|
+
"shape": {
|
|
31
|
+
"alias": "shape";
|
|
32
|
+
"required": false;
|
|
33
|
+
"isSignal": true;
|
|
34
|
+
};
|
|
35
|
+
"appearance": {
|
|
36
|
+
"alias": "appearance";
|
|
37
|
+
"required": false;
|
|
38
|
+
"isSignal": true;
|
|
39
|
+
};
|
|
40
|
+
"label": {
|
|
41
|
+
"alias": "label";
|
|
42
|
+
"required": false;
|
|
43
|
+
"isSignal": true;
|
|
44
|
+
};
|
|
45
|
+
}, {}, never, never, true, never>;
|
|
46
|
+
}
|
|
47
|
+
export type { IconMarkerAppearance, IconMarkerShape, IconMarkerSize, IconMarkerTone };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class IconRegistry {
|
|
3
|
+
private readonly icons;
|
|
4
|
+
register(name: string, svgInnerMarkup: string): void;
|
|
5
|
+
registerAll(icons: Record<string, string>): void;
|
|
6
|
+
get(name: string): string | null;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IconRegistry, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
9
|
+
}
|
|
10
|
+
export declare class Icon {
|
|
11
|
+
private readonly sanitizer;
|
|
12
|
+
private readonly registry;
|
|
13
|
+
name: import("@angular/core").InputSignal<string>;
|
|
14
|
+
protected readonly svgContent: import("@angular/core").Signal<import("@angular/platform-browser").SafeHtml | null>;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Icon, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Icon, "gbt-icon", never, {
|
|
17
|
+
"name": {
|
|
18
|
+
"alias": "name";
|
|
19
|
+
"required": true;
|
|
20
|
+
"isSignal": true;
|
|
21
|
+
};
|
|
22
|
+
}, {}, never, never, true, never>;
|
|
23
|
+
}
|