@masmarino/gabarit 1.4.0 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +231 -144
- 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 +477 -0
- package/fesm2022/masmarino-gabarit-autocomplete.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-avatar-group.mjs +199 -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 +1238 -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 +21 -11
- 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 +13 -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 +461 -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 +139 -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 +510 -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 +182 -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/fonts/OFL-ibm-plex.txt +93 -0
- package/fonts/ibm-plex-mono-400.woff2 +0 -0
- package/fonts/ibm-plex-mono-500.woff2 +0 -0
- package/fonts/ibm-plex-sans-400.woff2 +0 -0
- package/fonts/ibm-plex-sans-500.woff2 +0 -0
- package/fonts/ibm-plex-sans-600.woff2 +0 -0
- package/fonts/ibm-plex-sans-condensed-600.woff2 +0 -0
- package/fonts/index.scss +28 -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 +335 -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/src/lib/tokens/_a11y.scss +22 -0
- package/src/lib/tokens/_base.scss +31 -0
- package/src/lib/tokens/_palette.scss +52 -51
- package/src/lib/tokens/_semantic.scss +17 -124
- package/src/lib/tokens/_themes.scss +144 -0
- package/src/lib/tokens/_utilities.scss +10 -10
- package/src/lib/tokens/index.scss +3 -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 +139 -0
- package/types/masmarino-gabarit-avatar-group.d.ts +59 -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 +397 -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 +20 -59
- 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 +7 -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 +92 -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 +32 -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 +145 -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 +38 -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 -6605
- 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,25 +3,19 @@ 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 pages are, both as files and as the reader's routes: `<root>/index.json`, `<root>/<section>/<page>.md`,
|
|
10
|
-
* and the page `<root>/<section>/<page>`. `/docs` by default.
|
|
11
|
-
*/
|
|
9
|
+
/** Where the files (`<root>/index.json`, `<root>/<section>/<page>.md`) and the routes live. `/docs` by default. */
|
|
12
10
|
root: string;
|
|
13
|
-
/**
|
|
14
|
-
* The quotes that become callouts: a quote whose first word, in bold, is one of these keys (`> **Note** …`), drawn
|
|
15
|
-
* in the tone it maps to. Case does not matter.
|
|
16
|
-
*/
|
|
11
|
+
/** A quote opening on one of these words in bold (`> **Note** …`) becomes a callout of that tone. Any case. */
|
|
17
12
|
callouts: Readonly<Record<string, 'note' | 'warning'>>;
|
|
18
13
|
}
|
|
19
14
|
export declare const DEFAULT_DOCS_CONFIG: Readonly<DocsConfig>;
|
|
20
15
|
export declare const DOCS_CONFIG: InjectionToken<DocsConfig>;
|
|
21
16
|
/**
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
* title alone.
|
|
17
|
+
* Gets the shown page's title (or "not found", or the reader's name while loading), for an app that shows titles in
|
|
18
|
+
* its own header. Optional.
|
|
25
19
|
*/
|
|
26
20
|
export declare const DOCS_TITLE: InjectionToken<(title: string) => void>;
|
|
27
21
|
export declare function provideDocs(config?: Partial<DocsConfig>): Provider;
|
|
@@ -92,10 +86,7 @@ export declare function docsReadingOrder(index: DocsIndex): {
|
|
|
92
86
|
/** Where `<root>` leads: the first page of the first section, or `null` for an empty index. */
|
|
93
87
|
export declare function firstDocsPage(root: string, index: DocsIndex): string[] | null;
|
|
94
88
|
export declare function locateDocsPage(root: string, index: DocsIndex, section: string | null, page: string | null): DocsLocation | null;
|
|
95
|
-
/**
|
|
96
|
-
* The documentation, shipped as static files under the configured root. The index and each page are fetched once
|
|
97
|
-
* and kept, since they only change with a new version of the app. A failure isn't kept, so it gets retried.
|
|
98
|
-
*/
|
|
89
|
+
/** Fetches the index and each page once; they only change with a new app version. Failures aren't cached. */
|
|
99
90
|
export declare class DocsService {
|
|
100
91
|
private readonly http;
|
|
101
92
|
readonly root: string;
|
|
@@ -124,10 +115,7 @@ interface DocsSearchHit {
|
|
|
124
115
|
};
|
|
125
116
|
}
|
|
126
117
|
export declare function searchTokens(query: string): string[];
|
|
127
|
-
/**
|
|
128
|
-
* Title, headings and body text of one page. Heading ids follow `gbt-markdown-view`: `user-content-<slug>` on every
|
|
129
|
-
* h1–h4, and `-2`, `-3`… on a repeated slug in document order.
|
|
130
|
-
*/
|
|
118
|
+
/** Title, headings and text of a page. Heading ids must match gbt-markdown-view's (`-2`, `-3` on repeats). */
|
|
131
119
|
export declare function parseDocsPage(markdown: string): {
|
|
132
120
|
headings: {
|
|
133
121
|
id: string;
|
|
@@ -136,9 +124,8 @@ export declare function parseDocsPage(markdown: string): {
|
|
|
136
124
|
body: string;
|
|
137
125
|
};
|
|
138
126
|
/**
|
|
139
|
-
*
|
|
140
|
-
*
|
|
141
|
-
* ranks higher than one in a heading, and a heading higher than the text.
|
|
127
|
+
* Searches every page in the browser, fetching them on first use. All words must match; title beats heading beats
|
|
128
|
+
* text.
|
|
142
129
|
*/
|
|
143
130
|
export declare class DocsSearchService {
|
|
144
131
|
private docs;
|
|
@@ -150,21 +137,11 @@ export declare class DocsSearchService {
|
|
|
150
137
|
static ɵfac: i0.ɵɵFactoryDeclaration<DocsSearchService, never>;
|
|
151
138
|
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
152
139
|
}
|
|
153
|
-
/**
|
|
154
|
-
* The root opens the first page of the index. If the index can't be read or is empty, the reader shows that itself,
|
|
155
|
-
* inside its own layout.
|
|
156
|
-
*/
|
|
140
|
+
/** Sends the root to the first page. A broken or empty index is left for the reader to show. */
|
|
157
141
|
export declare const docsHomeGuard: CanActivateFn;
|
|
158
|
-
/**
|
|
159
|
-
* The reader's routes, to mount at the configured root: the root (to the first page), `<section>/<page>`, and any
|
|
160
|
-
* other depth, which gets the reader's own "not found". `page` is the routed component that shows the reader (often
|
|
161
|
-
* the app's own, wrapping `gbt-docs-page` in its layout).
|
|
162
|
-
*/
|
|
142
|
+
/** The reader's routes, for the configured root. `page` loads the component that shows it (often the app's). */
|
|
163
143
|
export declare function docsRoutes(page: () => Promise<unknown>): Routes;
|
|
164
|
-
/**
|
|
165
|
-
* The documentation's left column: the search field, then every section with its pages. Only the current section
|
|
166
|
-
* starts open. On a narrow layout the sections fold behind a toggle and the search stays.
|
|
167
|
-
*/
|
|
144
|
+
/** The left column: search, then the sections and their pages, only the current one open. */
|
|
168
145
|
export declare class DocsNav {
|
|
169
146
|
index: import("@angular/core").InputSignal<DocsIndex>;
|
|
170
147
|
section: import("@angular/core").InputSignal<string | null>;
|
|
@@ -218,18 +195,12 @@ export declare function headingSlug(text: string): string;
|
|
|
218
195
|
export declare function decodeFragment(rawFragment: string): string;
|
|
219
196
|
/** The element a `#fragment` points at: the plain `id`, else the `user-content-` id or `<a name>` the sanitiser made. */
|
|
220
197
|
export declare function findAnchorTarget(root: HTMLElement, rawFragment: string): HTMLElement | null;
|
|
221
|
-
/**
|
|
222
|
-
* A long code block or a wide table scrolls sideways, which a keyboard can only do once it takes the focus (WCAG
|
|
223
|
-
* 2.1.1): each one becomes a named stop in the tab order. A table keeps its own role and gets only the stop and the
|
|
224
|
-
* name.
|
|
225
|
-
*/
|
|
198
|
+
/** A keyboard only scrolls a wide code block or table it has focused (WCAG 2.1.1): each gets a tab stop. */
|
|
226
199
|
export declare function makeScrollableBlocksFocusable(container: HTMLElement, names: {
|
|
227
200
|
codeBlock: string;
|
|
228
201
|
table: string;
|
|
229
202
|
}): void;
|
|
230
|
-
/**
|
|
231
|
-
* A task-list checkbox is named by its item's text, so a screen reader says what is done or still to do.
|
|
232
|
-
*/
|
|
203
|
+
/** Names each task-list checkbox after its item, so a screen reader says what's done. */
|
|
233
204
|
export declare function nameTaskCheckboxes(container: HTMLElement): void;
|
|
234
205
|
/**
|
|
235
206
|
* Markdown rendered to sanitised HTML, with the reading styles of the design system: headings, lists, code, tables,
|
|
@@ -239,10 +210,7 @@ export declare class MarkdownView {
|
|
|
239
210
|
content: import("@angular/core").InputSignal<string>;
|
|
240
211
|
/** Levels added to every heading (up to h6), so a `# Title` under the page's own headings keeps the outline. */
|
|
241
212
|
headingOffset: import("@angular/core").InputSignal<number>;
|
|
242
|
-
/**
|
|
243
|
-
* Links under this prefix (`/docs` → `/docs/install/configuration#variables`) go through the router instead of
|
|
244
|
-
* reloading the app. Off by default: a link in a README is left to the browser.
|
|
245
|
-
*/
|
|
213
|
+
/** Links under this prefix (say `/docs`) go through the router instead of reloading the app. Off by default. */
|
|
246
214
|
routedLinkPrefix: import("@angular/core").InputSignal<string | null>;
|
|
247
215
|
/** The h2–h4 headings, emitted after each render once their ids are in the DOM. */
|
|
248
216
|
outline: import("@angular/core").OutputEmitterRef<MarkdownOutlineEntry[]>;
|
|
@@ -252,8 +220,8 @@ export declare class MarkdownView {
|
|
|
252
220
|
private readonly container;
|
|
253
221
|
constructor();
|
|
254
222
|
/**
|
|
255
|
-
*
|
|
256
|
-
*
|
|
223
|
+
* A bare #anchor resolves against <base href="/"> and would load the home page, so a plain click scrolls here
|
|
224
|
+
* instead. Modified and middle clicks are the browser's.
|
|
257
225
|
*/
|
|
258
226
|
protected onClick(event: MouseEvent): void;
|
|
259
227
|
/** The `href` of a clicked in-content link under `routedLinkPrefix`, or `null` when the browser should follow it. */
|
|
@@ -292,11 +260,7 @@ type DocsView = {
|
|
|
292
260
|
location: DocsLocation;
|
|
293
261
|
content: string;
|
|
294
262
|
};
|
|
295
|
-
/**
|
|
296
|
-
* One documentation page (`<root>/<section>/<page>`, read from the route): the navigation, the page with its
|
|
297
|
-
* breadcrumb and neighbours, and on a wide screen the outline beside it. An unknown address gets a "not found" in the
|
|
298
|
-
* same frame.
|
|
299
|
-
*/
|
|
263
|
+
/** The routed page with its nav, breadcrumb, neighbours and outline, or a "not found" in the same frame. */
|
|
300
264
|
export declare class DocsPage {
|
|
301
265
|
private readonly docs;
|
|
302
266
|
private readonly route;
|
|
@@ -358,10 +322,7 @@ export declare class DocsSearch {
|
|
|
358
322
|
}
|
|
359
323
|
/** An outline is worth a panel from two headings on: one heading is no table of contents. */
|
|
360
324
|
export declare function hasOutline(entries: readonly MarkdownOutlineEntry[]): boolean;
|
|
361
|
-
/**
|
|
362
|
-
* The "On this page" panel beside rendered Markdown. Each entry links to `#user-content-…` on the current URL; the
|
|
363
|
-
* router does no anchor scrolling, so the click scrolls to the heading and focuses it itself.
|
|
364
|
-
*/
|
|
325
|
+
/** "On this page" for rendered Markdown. The router doesn't scroll to anchors, so a click does it here. */
|
|
365
326
|
export declare class MarkdownOutline {
|
|
366
327
|
entries: import("@angular/core").InputSignal<MarkdownOutlineEntry[]>;
|
|
367
328
|
headingLevel: import("@angular/core").InputSignal<PanelHeadingLevel>;
|
|
@@ -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,7 @@
|
|
|
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;
|
|
@@ -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
|
+
}
|