@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,100 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { Signal, WritableSignal } from "@angular/core";
|
|
3
|
+
import { FormControl } from "@angular/forms";
|
|
4
|
+
import { SelectOption } from "@masmarino/gabarit/select";
|
|
5
|
+
interface ListToolbarSortOption<T extends string = string> {
|
|
6
|
+
value: T;
|
|
7
|
+
label: string;
|
|
8
|
+
}
|
|
9
|
+
export declare class ListToolbar<T extends string = string> {
|
|
10
|
+
searchValue: import("@angular/core").InputSignal<string>;
|
|
11
|
+
searchLabel: import("@angular/core").InputSignal<string>;
|
|
12
|
+
searchPlaceholder: import("@angular/core").InputSignal<string>;
|
|
13
|
+
sortOptions: import("@angular/core").InputSignal<ListToolbarSortOption<T>[]>;
|
|
14
|
+
sortValue: import("@angular/core").InputSignal<T>;
|
|
15
|
+
sortDirection: import("@angular/core").InputSignal<"asc" | "desc">;
|
|
16
|
+
sortLabel: import("@angular/core").InputSignal<string>;
|
|
17
|
+
directionLabel: import("@angular/core").InputSignal<string>;
|
|
18
|
+
searchValueChange: import("@angular/core").OutputEmitterRef<string>;
|
|
19
|
+
sortValueChange: import("@angular/core").OutputEmitterRef<T>;
|
|
20
|
+
sortDirectionChange: import("@angular/core").OutputEmitterRef<"asc" | "desc">;
|
|
21
|
+
protected readonly searchControl: FormControl<string>;
|
|
22
|
+
protected readonly sortControl: FormControl<T | null>;
|
|
23
|
+
constructor();
|
|
24
|
+
protected asSelectOptions(options: ListToolbarSortOption<T>[]): SelectOption<T>[];
|
|
25
|
+
protected toggleDirection(): void;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ListToolbar<any>, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ListToolbar<any>, "gbt-list-toolbar", never, {
|
|
28
|
+
"searchValue": {
|
|
29
|
+
"alias": "searchValue";
|
|
30
|
+
"required": false;
|
|
31
|
+
"isSignal": true;
|
|
32
|
+
};
|
|
33
|
+
"searchLabel": {
|
|
34
|
+
"alias": "searchLabel";
|
|
35
|
+
"required": true;
|
|
36
|
+
"isSignal": true;
|
|
37
|
+
};
|
|
38
|
+
"searchPlaceholder": {
|
|
39
|
+
"alias": "searchPlaceholder";
|
|
40
|
+
"required": false;
|
|
41
|
+
"isSignal": true;
|
|
42
|
+
};
|
|
43
|
+
"sortOptions": {
|
|
44
|
+
"alias": "sortOptions";
|
|
45
|
+
"required": true;
|
|
46
|
+
"isSignal": true;
|
|
47
|
+
};
|
|
48
|
+
"sortValue": {
|
|
49
|
+
"alias": "sortValue";
|
|
50
|
+
"required": true;
|
|
51
|
+
"isSignal": true;
|
|
52
|
+
};
|
|
53
|
+
"sortDirection": {
|
|
54
|
+
"alias": "sortDirection";
|
|
55
|
+
"required": false;
|
|
56
|
+
"isSignal": true;
|
|
57
|
+
};
|
|
58
|
+
"sortLabel": {
|
|
59
|
+
"alias": "sortLabel";
|
|
60
|
+
"required": false;
|
|
61
|
+
"isSignal": true;
|
|
62
|
+
};
|
|
63
|
+
"directionLabel": {
|
|
64
|
+
"alias": "directionLabel";
|
|
65
|
+
"required": false;
|
|
66
|
+
"isSignal": true;
|
|
67
|
+
};
|
|
68
|
+
}, {
|
|
69
|
+
"searchValueChange": "searchValueChange";
|
|
70
|
+
"sortValueChange": "sortValueChange";
|
|
71
|
+
"sortDirectionChange": "sortDirectionChange";
|
|
72
|
+
}, never, never, true, never>;
|
|
73
|
+
}
|
|
74
|
+
type ListToolbarDirection = 'asc' | 'desc';
|
|
75
|
+
type ListToolbarSortValue = string | number | boolean | Date | null | undefined;
|
|
76
|
+
interface ListToolbarStateConfig<K extends string> {
|
|
77
|
+
sortOptions?: ListToolbarSortOption<K>[];
|
|
78
|
+
defaultSort?: K;
|
|
79
|
+
defaultDirection?: ListToolbarDirection;
|
|
80
|
+
initialSearch?: string;
|
|
81
|
+
}
|
|
82
|
+
interface ListToolbarAccessors<T, K extends string> {
|
|
83
|
+
text?: (item: T) => string | readonly (string | null | undefined)[] | null | undefined;
|
|
84
|
+
matches?: (item: T, query: string) => boolean;
|
|
85
|
+
sortBy?: Partial<Record<K, (item: T) => ListToolbarSortValue>>;
|
|
86
|
+
compare?: (a: T, b: T, key: K) => number;
|
|
87
|
+
locale?: string;
|
|
88
|
+
}
|
|
89
|
+
interface ListToolbarState<K extends string = string> {
|
|
90
|
+
readonly search: WritableSignal<string>;
|
|
91
|
+
readonly sortValue: WritableSignal<K>;
|
|
92
|
+
readonly direction: WritableSignal<ListToolbarDirection>;
|
|
93
|
+
readonly sortOptions: ListToolbarSortOption<K>[];
|
|
94
|
+
readonly dirty: Signal<boolean>;
|
|
95
|
+
reset(): void;
|
|
96
|
+
apply<T>(items: readonly T[], accessors: ListToolbarAccessors<T, K>): T[];
|
|
97
|
+
filtered<T>(source: () => readonly T[], accessors: ListToolbarAccessors<T, K>): Signal<T[]>;
|
|
98
|
+
}
|
|
99
|
+
export declare function createListToolbarState<K extends string = string>(config?: ListToolbarStateConfig<K>): ListToolbarState<K>;
|
|
100
|
+
export type { ListToolbarAccessors, ListToolbarDirection, ListToolbarSortOption, ListToolbarSortValue, ListToolbarState, ListToolbarStateConfig };
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
type MenuItemVariant = 'default' | 'danger';
|
|
3
|
+
export declare class MenuItem {
|
|
4
|
+
icon: import("@angular/core").InputSignal<string | null>;
|
|
5
|
+
variant: import("@angular/core").InputSignal<MenuItemVariant>;
|
|
6
|
+
disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
7
|
+
constructor();
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MenuItem, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MenuItem, "button[gbtMenuItem], a[gbtMenuItem]", never, {
|
|
10
|
+
"icon": {
|
|
11
|
+
"alias": "icon";
|
|
12
|
+
"required": false;
|
|
13
|
+
"isSignal": true;
|
|
14
|
+
};
|
|
15
|
+
"variant": {
|
|
16
|
+
"alias": "variant";
|
|
17
|
+
"required": false;
|
|
18
|
+
"isSignal": true;
|
|
19
|
+
};
|
|
20
|
+
"disabled": {
|
|
21
|
+
"alias": "disabled";
|
|
22
|
+
"required": false;
|
|
23
|
+
"isSignal": true;
|
|
24
|
+
};
|
|
25
|
+
}, {}, never, ["*"], true, never>;
|
|
26
|
+
}
|
|
27
|
+
interface PopupPosition {
|
|
28
|
+
top: string;
|
|
29
|
+
left: string | null;
|
|
30
|
+
right: string | null;
|
|
31
|
+
}
|
|
32
|
+
export declare class MenuTrigger {
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MenuTrigger, never>;
|
|
34
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MenuTrigger, "[gbtMenuTrigger]", never, {}, {}, never, never, true, never>;
|
|
35
|
+
}
|
|
36
|
+
export declare class Menu {
|
|
37
|
+
private readonly elementRef;
|
|
38
|
+
private readonly injector;
|
|
39
|
+
label: import("@angular/core").InputSignal<string>;
|
|
40
|
+
align: import("@angular/core").InputSignal<"start" | "end">;
|
|
41
|
+
triggerIcon: import("@angular/core").InputSignal<string | null>;
|
|
42
|
+
triggerAriaLabel: import("@angular/core").InputSignal<string | null>;
|
|
43
|
+
chevron: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
44
|
+
opened: import("@angular/core").OutputEmitterRef<void>;
|
|
45
|
+
protected readonly open: import("@angular/core").WritableSignal<boolean>;
|
|
46
|
+
protected readonly position: import("@angular/core").WritableSignal<PopupPosition | null>;
|
|
47
|
+
protected readonly customTrigger: import("@angular/core").Signal<MenuTrigger | undefined>;
|
|
48
|
+
private readonly trigger;
|
|
49
|
+
private readonly list;
|
|
50
|
+
protected toggle(): void;
|
|
51
|
+
protected close(returnFocus: boolean): void;
|
|
52
|
+
protected onTriggerKeydown(event: KeyboardEvent): void;
|
|
53
|
+
protected onListKeydown(event: KeyboardEvent): void;
|
|
54
|
+
protected onListClick(event: MouseEvent): void;
|
|
55
|
+
protected onDocumentClick(event: MouseEvent): void;
|
|
56
|
+
protected onFocusOut(event: FocusEvent): void;
|
|
57
|
+
protected updatePosition(): void;
|
|
58
|
+
private items;
|
|
59
|
+
private focus;
|
|
60
|
+
private focusAfterRender;
|
|
61
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Menu, never>;
|
|
62
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Menu, "gbt-menu", never, {
|
|
63
|
+
"label": {
|
|
64
|
+
"alias": "label";
|
|
65
|
+
"required": true;
|
|
66
|
+
"isSignal": true;
|
|
67
|
+
};
|
|
68
|
+
"align": {
|
|
69
|
+
"alias": "align";
|
|
70
|
+
"required": false;
|
|
71
|
+
"isSignal": true;
|
|
72
|
+
};
|
|
73
|
+
"triggerIcon": {
|
|
74
|
+
"alias": "triggerIcon";
|
|
75
|
+
"required": false;
|
|
76
|
+
"isSignal": true;
|
|
77
|
+
};
|
|
78
|
+
"triggerAriaLabel": {
|
|
79
|
+
"alias": "triggerAriaLabel";
|
|
80
|
+
"required": false;
|
|
81
|
+
"isSignal": true;
|
|
82
|
+
};
|
|
83
|
+
"chevron": {
|
|
84
|
+
"alias": "chevron";
|
|
85
|
+
"required": false;
|
|
86
|
+
"isSignal": true;
|
|
87
|
+
};
|
|
88
|
+
}, {
|
|
89
|
+
"opened": "opened";
|
|
90
|
+
}, ["customTrigger"], ["[gbtMenuTrigger]", "*"], true, never>;
|
|
91
|
+
}
|
|
92
|
+
export type { MenuItemVariant };
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import { BackupCodesLabels, MfaEnrollmentLabels, TotpQrLabels } from "@masmarino/gabarit/auth";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import { InjectionToken } from "@angular/core";
|
|
4
|
+
export declare class BackupCodes {
|
|
5
|
+
codes: import("@angular/core").InputSignal<string[]>;
|
|
6
|
+
acknowledged: import("@angular/core").ModelSignal<boolean>;
|
|
7
|
+
labels: import("@angular/core").InputSignal<Partial<BackupCodesLabels>>;
|
|
8
|
+
protected readonly text: import("@angular/core").Signal<Readonly<BackupCodesLabels>>;
|
|
9
|
+
protected readonly id: string;
|
|
10
|
+
private readonly document;
|
|
11
|
+
protected readonly display: import("@angular/core").Signal<string[][]>;
|
|
12
|
+
constructor();
|
|
13
|
+
protected readonly codesText: import("@angular/core").Signal<string>;
|
|
14
|
+
protected download(): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BackupCodes, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BackupCodes, "gbt-backup-codes", never, {
|
|
17
|
+
"codes": {
|
|
18
|
+
"alias": "codes";
|
|
19
|
+
"required": true;
|
|
20
|
+
"isSignal": true;
|
|
21
|
+
};
|
|
22
|
+
"acknowledged": {
|
|
23
|
+
"alias": "acknowledged";
|
|
24
|
+
"required": false;
|
|
25
|
+
"isSignal": true;
|
|
26
|
+
};
|
|
27
|
+
"labels": {
|
|
28
|
+
"alias": "labels";
|
|
29
|
+
"required": false;
|
|
30
|
+
"isSignal": true;
|
|
31
|
+
};
|
|
32
|
+
}, {
|
|
33
|
+
"acknowledged": "acknowledgedChange";
|
|
34
|
+
}, never, never, true, never>;
|
|
35
|
+
}
|
|
36
|
+
type Step = 'choice' | 'scan' | 'passkey' | 'codes';
|
|
37
|
+
type Factor = 'totp' | 'passkey';
|
|
38
|
+
export declare class MfaEnrollment {
|
|
39
|
+
private readonly auth;
|
|
40
|
+
private readonly host;
|
|
41
|
+
private readonly injector;
|
|
42
|
+
mfaToken: import("@angular/core").InputSignal<string>;
|
|
43
|
+
passkeysAvailable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
44
|
+
labels: import("@angular/core").InputSignal<Partial<MfaEnrollmentLabels>>;
|
|
45
|
+
completed: import("@angular/core").OutputEmitterRef<string>;
|
|
46
|
+
cancelled: import("@angular/core").OutputEmitterRef<void>;
|
|
47
|
+
expired: import("@angular/core").OutputEmitterRef<void>;
|
|
48
|
+
protected readonly text: import("@angular/core").Signal<Readonly<MfaEnrollmentLabels>>;
|
|
49
|
+
protected readonly stepCount = 3;
|
|
50
|
+
protected readonly id: string;
|
|
51
|
+
protected step: import("@angular/core").WritableSignal<Step>;
|
|
52
|
+
protected factor: import("@angular/core").WritableSignal<Factor>;
|
|
53
|
+
protected passkeyOffered: import("@angular/core").Signal<boolean>;
|
|
54
|
+
protected passkeyName: import("@angular/core").WritableSignal<string>;
|
|
55
|
+
protected errorVariant: import("@angular/core").WritableSignal<"error" | "info">;
|
|
56
|
+
protected promptOpen: import("@angular/core").WritableSignal<boolean>;
|
|
57
|
+
protected stepNumber: import("@angular/core").Signal<number>;
|
|
58
|
+
protected secret: import("@angular/core").WritableSignal<string>;
|
|
59
|
+
protected otpauthUrl: import("@angular/core").WritableSignal<string>;
|
|
60
|
+
protected code: import("@angular/core").WritableSignal<string>;
|
|
61
|
+
protected backupCodes: import("@angular/core").WritableSignal<string[]>;
|
|
62
|
+
protected acknowledged: import("@angular/core").WritableSignal<boolean>;
|
|
63
|
+
protected error: import("@angular/core").WritableSignal<string>;
|
|
64
|
+
protected submitting: import("@angular/core").WritableSignal<boolean>;
|
|
65
|
+
private sessionToken;
|
|
66
|
+
private readonly browserHasPasskeys;
|
|
67
|
+
private ceremony;
|
|
68
|
+
constructor();
|
|
69
|
+
begin(): void;
|
|
70
|
+
confirm(): void;
|
|
71
|
+
choosePasskey(): void;
|
|
72
|
+
createPasskey(): void;
|
|
73
|
+
protected back(): void;
|
|
74
|
+
/** A server that issues no backup codes with this factor has nothing to show: the enrolment ends there. */
|
|
75
|
+
private enrolled;
|
|
76
|
+
finish(): void;
|
|
77
|
+
private goTo;
|
|
78
|
+
private passkeyFailed;
|
|
79
|
+
private clearError;
|
|
80
|
+
private fail;
|
|
81
|
+
private messageFor;
|
|
82
|
+
private focus;
|
|
83
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MfaEnrollment, never>;
|
|
84
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MfaEnrollment, "gbt-mfa-enrollment", never, {
|
|
85
|
+
"mfaToken": {
|
|
86
|
+
"alias": "mfaToken";
|
|
87
|
+
"required": true;
|
|
88
|
+
"isSignal": true;
|
|
89
|
+
};
|
|
90
|
+
"passkeysAvailable": {
|
|
91
|
+
"alias": "passkeysAvailable";
|
|
92
|
+
"required": false;
|
|
93
|
+
"isSignal": true;
|
|
94
|
+
};
|
|
95
|
+
"labels": {
|
|
96
|
+
"alias": "labels";
|
|
97
|
+
"required": false;
|
|
98
|
+
"isSignal": true;
|
|
99
|
+
};
|
|
100
|
+
}, {
|
|
101
|
+
"completed": "completed";
|
|
102
|
+
"cancelled": "cancelled";
|
|
103
|
+
"expired": "expired";
|
|
104
|
+
}, never, never, true, never>;
|
|
105
|
+
}
|
|
106
|
+
interface TotpQrRenderOptions {
|
|
107
|
+
width: number;
|
|
108
|
+
margin: number;
|
|
109
|
+
errorCorrectionLevel: 'L' | 'M' | 'Q' | 'H';
|
|
110
|
+
}
|
|
111
|
+
type TotpQrRenderer = (text: string, options: TotpQrRenderOptions) => Promise<string>;
|
|
112
|
+
export declare const TOTP_QR_RENDERER: InjectionToken<TotpQrRenderer>;
|
|
113
|
+
export declare class TotpQr {
|
|
114
|
+
otpauthUrl: import("@angular/core").InputSignal<string>;
|
|
115
|
+
secret: import("@angular/core").InputSignal<string>;
|
|
116
|
+
labels: import("@angular/core").InputSignal<Partial<TotpQrLabels>>;
|
|
117
|
+
protected readonly text: import("@angular/core").Signal<Readonly<TotpQrLabels>>;
|
|
118
|
+
protected dataUrl: import("@angular/core").WritableSignal<string | null>;
|
|
119
|
+
protected failed: import("@angular/core").WritableSignal<boolean>;
|
|
120
|
+
private readonly render;
|
|
121
|
+
private generation;
|
|
122
|
+
constructor();
|
|
123
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TotpQr, never>;
|
|
124
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TotpQr, "gbt-totp-qr", never, {
|
|
125
|
+
"otpauthUrl": {
|
|
126
|
+
"alias": "otpauthUrl";
|
|
127
|
+
"required": true;
|
|
128
|
+
"isSignal": true;
|
|
129
|
+
};
|
|
130
|
+
"secret": {
|
|
131
|
+
"alias": "secret";
|
|
132
|
+
"required": true;
|
|
133
|
+
"isSignal": true;
|
|
134
|
+
};
|
|
135
|
+
"labels": {
|
|
136
|
+
"alias": "labels";
|
|
137
|
+
"required": false;
|
|
138
|
+
"isSignal": true;
|
|
139
|
+
};
|
|
140
|
+
}, {}, never, never, true, never>;
|
|
141
|
+
}
|
|
142
|
+
export type { TotpQrRenderOptions, TotpQrRenderer };
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { MfaSettingsLabels, MfaStatus } from "@masmarino/gabarit/auth";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
type View = 'loading' | 'failed' | 'ready' | 'enrolling' | 'codes' | 'revoked';
|
|
4
|
+
type Prompt = 'enroll' | 'regenerate' | 'disable';
|
|
5
|
+
type CodesOrigin = 'enrolled' | 'regenerated';
|
|
6
|
+
interface PromptCopy {
|
|
7
|
+
lead: string;
|
|
8
|
+
submit: string;
|
|
9
|
+
busy: string;
|
|
10
|
+
variant: 'primary' | 'secondary';
|
|
11
|
+
failed: string;
|
|
12
|
+
}
|
|
13
|
+
interface RemovalCopy {
|
|
14
|
+
title: string;
|
|
15
|
+
help: string;
|
|
16
|
+
action: string;
|
|
17
|
+
dialogHeading: string;
|
|
18
|
+
dialogMessage: string;
|
|
19
|
+
promptLead: string;
|
|
20
|
+
busy: string;
|
|
21
|
+
}
|
|
22
|
+
export declare class MfaSettings {
|
|
23
|
+
private readonly mfa;
|
|
24
|
+
private readonly state;
|
|
25
|
+
private readonly host;
|
|
26
|
+
private readonly injector;
|
|
27
|
+
labels: import("@angular/core").InputSignal<Partial<MfaSettingsLabels>>;
|
|
28
|
+
lowCodesThreshold: import("@angular/core").InputSignal<number>;
|
|
29
|
+
sessionRevoked: import("@angular/core").OutputEmitterRef<void>;
|
|
30
|
+
protected readonly text: import("@angular/core").Signal<Readonly<MfaSettingsLabels>>;
|
|
31
|
+
protected readonly id: string;
|
|
32
|
+
protected view: import("@angular/core").WritableSignal<View>;
|
|
33
|
+
protected status: import("@angular/core").WritableSignal<MfaStatus>;
|
|
34
|
+
protected prompt: import("@angular/core").WritableSignal<Prompt | null>;
|
|
35
|
+
protected password: import("@angular/core").WritableSignal<string>;
|
|
36
|
+
protected passwordError: import("@angular/core").WritableSignal<string | null>;
|
|
37
|
+
protected notice: import("@angular/core").WritableSignal<string>;
|
|
38
|
+
protected secret: import("@angular/core").WritableSignal<string>;
|
|
39
|
+
protected otpauthUrl: import("@angular/core").WritableSignal<string>;
|
|
40
|
+
protected code: import("@angular/core").WritableSignal<string>;
|
|
41
|
+
protected codeError: import("@angular/core").WritableSignal<string | null>;
|
|
42
|
+
protected backupCodes: import("@angular/core").WritableSignal<string[]>;
|
|
43
|
+
protected codesOrigin: import("@angular/core").WritableSignal<CodesOrigin>;
|
|
44
|
+
protected acknowledged: import("@angular/core").WritableSignal<boolean>;
|
|
45
|
+
protected busy: import("@angular/core").WritableSignal<boolean>;
|
|
46
|
+
protected confirmingDisable: import("@angular/core").WritableSignal<boolean>;
|
|
47
|
+
protected hasPasskey: import("@angular/core").Signal<boolean>;
|
|
48
|
+
protected hasFactor: import("@angular/core").Signal<boolean>;
|
|
49
|
+
protected removal: import("@angular/core").Signal<RemovalCopy>;
|
|
50
|
+
protected lowCodes: import("@angular/core").Signal<boolean>;
|
|
51
|
+
protected codesLeft: import("@angular/core").Signal<string>;
|
|
52
|
+
protected promptCopy: import("@angular/core").Signal<PromptCopy>;
|
|
53
|
+
protected heading: import("@angular/core").Signal<string>;
|
|
54
|
+
protected help: import("@angular/core").Signal<string>;
|
|
55
|
+
constructor();
|
|
56
|
+
protected load(): void;
|
|
57
|
+
private copyOf;
|
|
58
|
+
protected openPrompt(prompt: Prompt): void;
|
|
59
|
+
protected cancelPrompt(): void;
|
|
60
|
+
protected setPassword(value: string): void;
|
|
61
|
+
protected submitPrompt(): void;
|
|
62
|
+
private enroll;
|
|
63
|
+
private regenerate;
|
|
64
|
+
protected disable(): void;
|
|
65
|
+
protected closeDisableDialog(): void;
|
|
66
|
+
private promptFailed;
|
|
67
|
+
private resetPrompt;
|
|
68
|
+
protected activate(): void;
|
|
69
|
+
protected setCode(value: string): void;
|
|
70
|
+
protected cancelEnrollment(): void;
|
|
71
|
+
private showCodes;
|
|
72
|
+
protected finishCodes(): void;
|
|
73
|
+
private focus;
|
|
74
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MfaSettings, never>;
|
|
75
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MfaSettings, "gbt-mfa-settings", never, {
|
|
76
|
+
"labels": {
|
|
77
|
+
"alias": "labels";
|
|
78
|
+
"required": false;
|
|
79
|
+
"isSignal": true;
|
|
80
|
+
};
|
|
81
|
+
"lowCodesThreshold": {
|
|
82
|
+
"alias": "lowCodesThreshold";
|
|
83
|
+
"required": false;
|
|
84
|
+
"isSignal": true;
|
|
85
|
+
};
|
|
86
|
+
}, {
|
|
87
|
+
"sessionRevoked": "sessionRevoked";
|
|
88
|
+
}, never, never, true, never>;
|
|
89
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { OnDestroy } from "@angular/core";
|
|
3
|
+
export declare class Modal implements OnDestroy {
|
|
4
|
+
isOpen: import("@angular/core").InputSignal<boolean>;
|
|
5
|
+
heading: import("@angular/core").InputSignal<string>;
|
|
6
|
+
headingLevel: import("@angular/core").InputSignal<1 | 2 | 3 | 4 | 5 | 6>;
|
|
7
|
+
closeLabel: import("@angular/core").InputSignal<string>;
|
|
8
|
+
busy: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
9
|
+
busyLabel: import("@angular/core").InputSignal<string>;
|
|
10
|
+
returnFocus: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
11
|
+
closed: import("@angular/core").OutputEmitterRef<void>;
|
|
12
|
+
private readonly dialog;
|
|
13
|
+
private previouslyFocused;
|
|
14
|
+
constructor();
|
|
15
|
+
ngOnDestroy(): void;
|
|
16
|
+
protected onEscape(): void;
|
|
17
|
+
protected onBackdropClick(event: MouseEvent): void;
|
|
18
|
+
protected onCloseClick(): void;
|
|
19
|
+
protected onDialogKeydown(event: KeyboardEvent): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Modal, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Modal, "gbt-modal", never, {
|
|
22
|
+
"isOpen": {
|
|
23
|
+
"alias": "isOpen";
|
|
24
|
+
"required": true;
|
|
25
|
+
"isSignal": true;
|
|
26
|
+
};
|
|
27
|
+
"heading": {
|
|
28
|
+
"alias": "heading";
|
|
29
|
+
"required": false;
|
|
30
|
+
"isSignal": true;
|
|
31
|
+
};
|
|
32
|
+
"headingLevel": {
|
|
33
|
+
"alias": "headingLevel";
|
|
34
|
+
"required": false;
|
|
35
|
+
"isSignal": true;
|
|
36
|
+
};
|
|
37
|
+
"closeLabel": {
|
|
38
|
+
"alias": "closeLabel";
|
|
39
|
+
"required": false;
|
|
40
|
+
"isSignal": true;
|
|
41
|
+
};
|
|
42
|
+
"busy": {
|
|
43
|
+
"alias": "busy";
|
|
44
|
+
"required": false;
|
|
45
|
+
"isSignal": true;
|
|
46
|
+
};
|
|
47
|
+
"busyLabel": {
|
|
48
|
+
"alias": "busyLabel";
|
|
49
|
+
"required": false;
|
|
50
|
+
"isSignal": true;
|
|
51
|
+
};
|
|
52
|
+
"returnFocus": {
|
|
53
|
+
"alias": "returnFocus";
|
|
54
|
+
"required": false;
|
|
55
|
+
"isSignal": true;
|
|
56
|
+
};
|
|
57
|
+
}, {
|
|
58
|
+
"closed": "closed";
|
|
59
|
+
}, never, ["*", "[modal-footer]"], true, never>;
|
|
60
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { InjectionToken, Signal } from "@angular/core";
|
|
3
|
+
export declare class NavTab {
|
|
4
|
+
active: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
5
|
+
icon: import("@angular/core").InputSignal<string | null>;
|
|
6
|
+
badge: import("@angular/core").InputSignal<string | number | null>;
|
|
7
|
+
private readonly nav;
|
|
8
|
+
private readonly label;
|
|
9
|
+
protected readonly orientation: import("@angular/core").Signal<import("@masmarino/gabarit/nav-tabs").NavTabsOrientation>;
|
|
10
|
+
protected readonly hasBadge: import("@angular/core").Signal<boolean>;
|
|
11
|
+
constructor();
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NavTab, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NavTab, "a[gbtNavTab]", never, {
|
|
14
|
+
"active": {
|
|
15
|
+
"alias": "active";
|
|
16
|
+
"required": false;
|
|
17
|
+
"isSignal": true;
|
|
18
|
+
};
|
|
19
|
+
"icon": {
|
|
20
|
+
"alias": "icon";
|
|
21
|
+
"required": false;
|
|
22
|
+
"isSignal": true;
|
|
23
|
+
};
|
|
24
|
+
"badge": {
|
|
25
|
+
"alias": "badge";
|
|
26
|
+
"required": false;
|
|
27
|
+
"isSignal": true;
|
|
28
|
+
};
|
|
29
|
+
}, {}, never, ["*"], true, never>;
|
|
30
|
+
}
|
|
31
|
+
type NavTabsOrientation = 'horizontal' | 'vertical';
|
|
32
|
+
interface NavTabsHost {
|
|
33
|
+
readonly orientation: Signal<NavTabsOrientation>;
|
|
34
|
+
}
|
|
35
|
+
declare const GBT_NAV_TABS: InjectionToken<NavTabsHost>;
|
|
36
|
+
export declare class NavTabs {
|
|
37
|
+
ariaLabel: import("@angular/core").InputSignal<string>;
|
|
38
|
+
orientation: import("@angular/core").InputSignal<NavTabsOrientation>;
|
|
39
|
+
landmark: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
40
|
+
private readonly list;
|
|
41
|
+
private readonly tabs;
|
|
42
|
+
protected readonly hiddenBefore: import("@angular/core").WritableSignal<boolean>;
|
|
43
|
+
protected readonly hiddenAfter: import("@angular/core").WritableSignal<boolean>;
|
|
44
|
+
protected updateOverflow(): void;
|
|
45
|
+
constructor();
|
|
46
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NavTabs, never>;
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NavTabs, "gbt-nav-tabs", never, {
|
|
48
|
+
"ariaLabel": {
|
|
49
|
+
"alias": "ariaLabel";
|
|
50
|
+
"required": false;
|
|
51
|
+
"isSignal": true;
|
|
52
|
+
};
|
|
53
|
+
"orientation": {
|
|
54
|
+
"alias": "orientation";
|
|
55
|
+
"required": false;
|
|
56
|
+
"isSignal": true;
|
|
57
|
+
};
|
|
58
|
+
"landmark": {
|
|
59
|
+
"alias": "landmark";
|
|
60
|
+
"required": false;
|
|
61
|
+
"isSignal": true;
|
|
62
|
+
};
|
|
63
|
+
}, {}, ["tabs"], ["*"], true, never>;
|
|
64
|
+
}
|
|
65
|
+
export type { NavTabsOrientation };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
type NotificationDotVariant = 'error' | 'warning' | 'success' | 'info';
|
|
3
|
+
export declare class NotificationDot {
|
|
4
|
+
count: import("@angular/core").InputSignal<number | null>;
|
|
5
|
+
max: import("@angular/core").InputSignal<number>;
|
|
6
|
+
variant: import("@angular/core").InputSignal<NotificationDotVariant>;
|
|
7
|
+
hidden: import("@angular/core").InputSignal<boolean>;
|
|
8
|
+
protected readonly showDot: import("@angular/core").Signal<boolean>;
|
|
9
|
+
protected readonly displayValue: import("@angular/core").Signal<string>;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationDot, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NotificationDot, "gbt-notification-dot", ["gbtNotificationDot"], {
|
|
12
|
+
"count": {
|
|
13
|
+
"alias": "count";
|
|
14
|
+
"required": false;
|
|
15
|
+
"isSignal": true;
|
|
16
|
+
};
|
|
17
|
+
"max": {
|
|
18
|
+
"alias": "max";
|
|
19
|
+
"required": false;
|
|
20
|
+
"isSignal": true;
|
|
21
|
+
};
|
|
22
|
+
"variant": {
|
|
23
|
+
"alias": "variant";
|
|
24
|
+
"required": false;
|
|
25
|
+
"isSignal": true;
|
|
26
|
+
};
|
|
27
|
+
"hidden": {
|
|
28
|
+
"alias": "hidden";
|
|
29
|
+
"required": false;
|
|
30
|
+
"isSignal": true;
|
|
31
|
+
};
|
|
32
|
+
}, {}, never, ["*"], true, never>;
|
|
33
|
+
}
|
|
34
|
+
export type { NotificationDotVariant };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
type PageHeaderLevel = 1 | 2 | 3;
|
|
3
|
+
export declare class PageHeader {
|
|
4
|
+
heading: import("@angular/core").InputSignal<string>;
|
|
5
|
+
headingLevel: import("@angular/core").InputSignal<PageHeaderLevel>;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PageHeader, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PageHeader, "gbt-page-header", never, {
|
|
8
|
+
"heading": {
|
|
9
|
+
"alias": "heading";
|
|
10
|
+
"required": true;
|
|
11
|
+
"isSignal": true;
|
|
12
|
+
};
|
|
13
|
+
"headingLevel": {
|
|
14
|
+
"alias": "headingLevel";
|
|
15
|
+
"required": false;
|
|
16
|
+
"isSignal": true;
|
|
17
|
+
};
|
|
18
|
+
}, {}, never, ["[header-title]", "[header-badges]", "[header-meta]", "[header-actions]"], true, never>;
|
|
19
|
+
}
|
|
20
|
+
export type { PageHeaderLevel };
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
type PageLayoutWidth = 'narrow' | 'default' | 'wide' | 'full';
|
|
3
|
+
type PageLayoutAsideWidth = 'sm' | 'md' | 'lg';
|
|
4
|
+
type PageLayoutAsidePosition = 'start' | 'end';
|
|
5
|
+
export declare class PageLayout {
|
|
6
|
+
width: import("@angular/core").InputSignal<PageLayoutWidth>;
|
|
7
|
+
asideWidth: import("@angular/core").InputSignal<PageLayoutAsideWidth>;
|
|
8
|
+
asidePosition: import("@angular/core").InputSignal<PageLayoutAsidePosition>;
|
|
9
|
+
navLabel: import("@angular/core").InputSignal<string>;
|
|
10
|
+
asideLabel: import("@angular/core").InputSignal<string | null>;
|
|
11
|
+
stickyNav: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PageLayout, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PageLayout, "gbt-page-layout", never, {
|
|
14
|
+
"width": {
|
|
15
|
+
"alias": "width";
|
|
16
|
+
"required": false;
|
|
17
|
+
"isSignal": true;
|
|
18
|
+
};
|
|
19
|
+
"asideWidth": {
|
|
20
|
+
"alias": "asideWidth";
|
|
21
|
+
"required": false;
|
|
22
|
+
"isSignal": true;
|
|
23
|
+
};
|
|
24
|
+
"asidePosition": {
|
|
25
|
+
"alias": "asidePosition";
|
|
26
|
+
"required": false;
|
|
27
|
+
"isSignal": true;
|
|
28
|
+
};
|
|
29
|
+
"navLabel": {
|
|
30
|
+
"alias": "navLabel";
|
|
31
|
+
"required": false;
|
|
32
|
+
"isSignal": true;
|
|
33
|
+
};
|
|
34
|
+
"asideLabel": {
|
|
35
|
+
"alias": "asideLabel";
|
|
36
|
+
"required": false;
|
|
37
|
+
"isSignal": true;
|
|
38
|
+
};
|
|
39
|
+
"stickyNav": {
|
|
40
|
+
"alias": "stickyNav";
|
|
41
|
+
"required": false;
|
|
42
|
+
"isSignal": true;
|
|
43
|
+
};
|
|
44
|
+
}, {}, never, ["[page-nav]", "*", "[page-aside]"], true, never>;
|
|
45
|
+
}
|
|
46
|
+
export type { PageLayoutAsidePosition, PageLayoutAsideWidth, PageLayoutWidth };
|