@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,308 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { ChangeDetectionStrategy, Component, Injectable, computed, inject, input } from "@angular/core";
|
|
3
|
+
import { DomSanitizer } from "@angular/platform-browser";
|
|
4
|
+
const BUILT_IN_ICONS = {
|
|
5
|
+
search: `<path d="m21 21-4.34-4.34" />
|
|
6
|
+
<circle cx="11" cy="11" r="8" />`,
|
|
7
|
+
x: `<path d="M18 6 6 18" />
|
|
8
|
+
<path d="m6 6 12 12" />`,
|
|
9
|
+
eye: `<path d="M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0" />
|
|
10
|
+
<circle cx="12" cy="12" r="3" />`,
|
|
11
|
+
"eye-off": `<path d="M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49" />
|
|
12
|
+
<path d="M14.084 14.158a3 3 0 0 1-4.242-4.242" />
|
|
13
|
+
<path d="M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143" />
|
|
14
|
+
<path d="m2 2 20 20" />`,
|
|
15
|
+
"chevron-down": `<path d="m6 9 6 6 6-6" />`,
|
|
16
|
+
"chevron-left": `<path d="m15 18-6-6 6-6" />`,
|
|
17
|
+
"chevron-right": `<path d="m9 18 6-6-6-6" />`,
|
|
18
|
+
"chevrons-left": `<path d="m11 17-5-5 5-5" />
|
|
19
|
+
<path d="m18 17-5-5 5-5" />`,
|
|
20
|
+
"chevrons-right": `<path d="m6 17 5-5-5-5" />
|
|
21
|
+
<path d="m13 17 5-5-5-5" />`,
|
|
22
|
+
"ellipsis-vertical": `<circle cx="12" cy="12" r="1" />
|
|
23
|
+
<circle cx="12" cy="5" r="1" />
|
|
24
|
+
<circle cx="12" cy="19" r="1" />`,
|
|
25
|
+
check: `<path d="M20 6 9 17l-5-5" />`,
|
|
26
|
+
copy: `<rect width="14" height="14" x="8" y="8" rx="2" ry="2" />
|
|
27
|
+
<path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" />`,
|
|
28
|
+
"check-circle": `<path d="m5 12 5 5 9-10" />`,
|
|
29
|
+
"alert-circle": `<path d="M12 7v6" />
|
|
30
|
+
<path d="M12 17h.01" />`,
|
|
31
|
+
"alert-triangle": `<path d="m21.73 18-8-14a2 2 0 0 0-3.46 0L2.27 18a2 2 0 0 0 1.73 3h16a2 2 0 0 0 1.73-3Z" />
|
|
32
|
+
<path d="M12 9v4" />
|
|
33
|
+
<path d="M12 17h.01" />`,
|
|
34
|
+
info: `<path d="M12 17v-6" />
|
|
35
|
+
<path d="M12 7h.01" />`,
|
|
36
|
+
"arrow-up": `<path d="m5 12 7-7 7 7" />
|
|
37
|
+
<path d="M12 19V5" />`,
|
|
38
|
+
"arrow-down": `<path d="M12 5v14" />
|
|
39
|
+
<path d="m19 12-7 7-7-7" />`,
|
|
40
|
+
calendar: `<path d="M8 2v4" />
|
|
41
|
+
<path d="M16 2v4" />
|
|
42
|
+
<rect width="18" height="18" x="3" y="4" rx="2" />
|
|
43
|
+
<path d="M3 10h18" />`,
|
|
44
|
+
upload: `<path d="M12 3v12" />
|
|
45
|
+
<path d="m17 8-5-5-5 5" />
|
|
46
|
+
<path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" />`,
|
|
47
|
+
folder: `<path d="M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z" />`,
|
|
48
|
+
file: `<path d="M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z" />
|
|
49
|
+
<path d="M14 2v4a2 2 0 0 0 2 2h4" />`,
|
|
50
|
+
home: `<path d="m3 9 9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z" />
|
|
51
|
+
<path d="M9 22V12h6v10" />`,
|
|
52
|
+
folders: `<path d="M20 17a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3.9a2 2 0 0 1-1.69-.9L13.2 4.9A2 2 0 0 0 11.53 4H9a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2Z" />
|
|
53
|
+
<path d="M17 17v2a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h2" />`,
|
|
54
|
+
server: `<rect x="2" y="2" width="20" height="8" rx="2" ry="2" />
|
|
55
|
+
<rect x="2" y="14" width="20" height="8" rx="2" ry="2" />
|
|
56
|
+
<line x1="6" y1="6" x2="6.01" y2="6" />
|
|
57
|
+
<line x1="6" y1="18" x2="6.01" y2="18" />`,
|
|
58
|
+
lock: `<rect width="18" height="11" x="3" y="11" rx="2" ry="2" />
|
|
59
|
+
<path d="M7 11V7a5 5 0 0 1 10 0v4" />`,
|
|
60
|
+
key: `<path d="m15.5 7.5 2.3 2.3a1 1 0 0 0 1.4 0l2.1-2.1a1 1 0 0 0 0-1.4L19 4" />
|
|
61
|
+
<path d="m21 2-9.6 9.6" />
|
|
62
|
+
<circle cx="7.5" cy="15.5" r="5.5" />`,
|
|
63
|
+
settings: `<circle cx="12" cy="12" r="3" />
|
|
64
|
+
<path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 1 1-2.83-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 1 1 2.83-2.83l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1Z" />`,
|
|
65
|
+
"log-out": `<path d="M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4" />
|
|
66
|
+
<polyline points="16 17 21 12 16 7" />
|
|
67
|
+
<line x1="21" y1="12" x2="9" y2="12" />`,
|
|
68
|
+
user: `<path d="M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2" />
|
|
69
|
+
<circle cx="12" cy="7" r="4" />`,
|
|
70
|
+
bell: `<path d="M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9" />
|
|
71
|
+
<path d="M10.3 21a1.94 1.94 0 0 0 3.4 0" />`,
|
|
72
|
+
activity: `<path d="M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2" />`,
|
|
73
|
+
"layout-dashboard": `<rect width="7" height="9" x="3" y="3" rx="1" />
|
|
74
|
+
<rect width="7" height="5" x="14" y="3" rx="1" />
|
|
75
|
+
<rect width="7" height="9" x="14" y="12" rx="1" />
|
|
76
|
+
<rect width="7" height="5" x="3" y="16" rx="1" />`,
|
|
77
|
+
"circle-dot": `<circle cx="12" cy="12" r="10" />
|
|
78
|
+
<circle cx="12" cy="12" r="1" />`,
|
|
79
|
+
"arrow-left": `<path d="m12 19-7-7 7-7" />
|
|
80
|
+
<path d="M19 12H5" />`,
|
|
81
|
+
play: `<polygon points="6 3 20 12 6 21 6 3" />`,
|
|
82
|
+
tag: `<path d="M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42Z" />
|
|
83
|
+
<circle cx="7.5" cy="7.5" r="1.5" />`,
|
|
84
|
+
"book-open": `<path d="M12 7v14" />
|
|
85
|
+
<path d="M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z" />`,
|
|
86
|
+
"folder-open": `<path d="m6 14 1.45-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.55 6a2 2 0 0 1-1.94 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2" />`,
|
|
87
|
+
"message-circle": `<path d="M7.9 20A9 9 0 1 0 4 16.1L2 22Z" />`,
|
|
88
|
+
pencil: `<path d="M17 3a2.85 2.85 0 0 1 4 4L7.5 20.5 2 22l1.5-5.5Z" />
|
|
89
|
+
<path d="m15 5 4 4" />`,
|
|
90
|
+
flag: `<path d="M4 22V4" />
|
|
91
|
+
<path d="M4 15s1-1 4-1 5 2 8 2 4-1 4-1V3s-1 1-4 1-5-2-8-2-4 1-4 1" />`,
|
|
92
|
+
star: `<path d="M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z" />`,
|
|
93
|
+
download: `<path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" />
|
|
94
|
+
<polyline points="7 10 12 15 17 10" />
|
|
95
|
+
<line x1="12" x2="12" y1="15" y2="3" />`,
|
|
96
|
+
globe: `<circle cx="12" cy="12" r="10" />
|
|
97
|
+
<path d="M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20" />
|
|
98
|
+
<path d="M2 12h20" />`,
|
|
99
|
+
"circle-check": `<circle cx="12" cy="12" r="10" />
|
|
100
|
+
<path d="m9 12 2 2 4-4" />`,
|
|
101
|
+
bug: `<path d="m8 2 1.88 1.88" />
|
|
102
|
+
<path d="M14.12 3.88 16 2" />
|
|
103
|
+
<path d="M9 7.13v-1a3.003 3.003 0 1 1 6 0v1" />
|
|
104
|
+
<path d="M12 20c-3.3 0-6-2.7-6-6v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v3c0 3.3-2.7 6-6 6" />
|
|
105
|
+
<path d="M12 20v-9" />
|
|
106
|
+
<path d="M6.53 9C4.6 8.8 3 7.1 3 5" />
|
|
107
|
+
<path d="M6 13H2" />
|
|
108
|
+
<path d="M3 21c0-2.1 1.7-3.9 3.8-4" />
|
|
109
|
+
<path d="M20.97 5c0 2.1-1.6 3.8-3.5 4" />
|
|
110
|
+
<path d="M22 13h-4" />
|
|
111
|
+
<path d="M17.2 17c2.1.1 3.8 1.9 3.8 4" />`,
|
|
112
|
+
sparkles: `<path d="M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z" />
|
|
113
|
+
<path d="M20 3v4" />
|
|
114
|
+
<path d="M22 5h-4" />`,
|
|
115
|
+
"square-check": `<rect width="18" height="18" x="3" y="3" rx="2" />
|
|
116
|
+
<path d="m9 12 2 2 4-4" />`,
|
|
117
|
+
layers: `<path d="M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z" />
|
|
118
|
+
<path d="m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65" />
|
|
119
|
+
<path d="m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65" />`,
|
|
120
|
+
plus: `<path d="M5 12h14" />
|
|
121
|
+
<path d="M12 5v14" />`,
|
|
122
|
+
kanban: `<path d="M6 5v11" />
|
|
123
|
+
<path d="M12 5v6" />
|
|
124
|
+
<path d="M18 5v14" />`,
|
|
125
|
+
list: `<path d="M3 12h.01" />
|
|
126
|
+
<path d="M3 18h.01" />
|
|
127
|
+
<path d="M3 6h.01" />
|
|
128
|
+
<path d="M8 12h13" />
|
|
129
|
+
<path d="M8 18h13" />
|
|
130
|
+
<path d="M8 6h13" />`,
|
|
131
|
+
clock: `<circle cx="12" cy="12" r="10" />
|
|
132
|
+
<path d="M12 6v6l4 2" />`,
|
|
133
|
+
"circle-play": `<circle cx="12" cy="12" r="10" />
|
|
134
|
+
<path d="m10 8 6 4-6 4z" />`,
|
|
135
|
+
"circle-x": `<circle cx="12" cy="12" r="10" />
|
|
136
|
+
<path d="m15 9-6 6" />
|
|
137
|
+
<path d="m9 9 6 6" />`,
|
|
138
|
+
"circle-slash": `<circle cx="12" cy="12" r="10" />
|
|
139
|
+
<path d="m9 15 6-6" />`,
|
|
140
|
+
"flask-conical": `<path d="M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2" />
|
|
141
|
+
<path d="M6.453 15h11.094" />
|
|
142
|
+
<path d="M8.5 2h7" />`,
|
|
143
|
+
"trash-2": `<path d="M3 6h18" />
|
|
144
|
+
<path d="M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6" />
|
|
145
|
+
<path d="M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2" />
|
|
146
|
+
<line x1="10" x2="10" y1="11" y2="17" />
|
|
147
|
+
<line x1="14" x2="14" y1="11" y2="17" />`,
|
|
148
|
+
database: `<ellipse cx="12" cy="5" rx="9" ry="3" />
|
|
149
|
+
<path d="M3 5V19A9 3 0 0 0 21 19V5" />
|
|
150
|
+
<path d="M3 12A9 3 0 0 0 21 12" />`,
|
|
151
|
+
"hard-drive": `<line x1="22" x2="2" y1="12" y2="12" />
|
|
152
|
+
<path d="M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z" />
|
|
153
|
+
<line x1="6" x2="6.01" y1="16" y2="16" />
|
|
154
|
+
<line x1="10" x2="10.01" y1="16" y2="16" />`,
|
|
155
|
+
mail: `<path d="m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7" />
|
|
156
|
+
<rect x="2" y="4" width="20" height="16" rx="2" />`,
|
|
157
|
+
send: `<path d="M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z" />
|
|
158
|
+
<path d="m21.854 2.147-10.94 10.939" />`,
|
|
159
|
+
"shield-check": `<path d="M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z" />
|
|
160
|
+
<path d="m9 12 2 2 4-4" />`,
|
|
161
|
+
"shield-alert": `<path d="M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z" />
|
|
162
|
+
<path d="M12 8v4" />
|
|
163
|
+
<path d="M12 16h.01" />`,
|
|
164
|
+
smartphone: `<rect width="14" height="20" x="5" y="2" rx="2" ry="2" />
|
|
165
|
+
<path d="M12 18h.01" />`,
|
|
166
|
+
users: `<path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2" />
|
|
167
|
+
<circle cx="9" cy="7" r="4" />
|
|
168
|
+
<path d="M22 21v-2a4 4 0 0 0-3-3.87" />
|
|
169
|
+
<path d="M16 3.13a4 4 0 0 1 0 7.75" />`,
|
|
170
|
+
"user-plus": `<path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2" />
|
|
171
|
+
<circle cx="9" cy="7" r="4" />
|
|
172
|
+
<line x1="19" x2="19" y1="8" y2="14" />
|
|
173
|
+
<line x1="22" x2="16" y1="11" y2="11" />`,
|
|
174
|
+
"refresh-cw": `<path d="M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8" />
|
|
175
|
+
<path d="M21 3v5h-5" />
|
|
176
|
+
<path d="M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16" />
|
|
177
|
+
<path d="M8 16H3v5" />`
|
|
178
|
+
};
|
|
179
|
+
var IconRegistry = class IconRegistry {
|
|
180
|
+
icons = new Map(Object.entries(BUILT_IN_ICONS));
|
|
181
|
+
register(name, svgInnerMarkup) {
|
|
182
|
+
this.icons.set(name, svgInnerMarkup);
|
|
183
|
+
}
|
|
184
|
+
registerAll(icons) {
|
|
185
|
+
for (const [name, markup] of Object.entries(icons)) this.icons.set(name, markup);
|
|
186
|
+
}
|
|
187
|
+
get(name) {
|
|
188
|
+
return this.icons.get(name) ?? null;
|
|
189
|
+
}
|
|
190
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
191
|
+
minVersion: "12.0.0",
|
|
192
|
+
version: "22.2.0",
|
|
193
|
+
ngImport: i0,
|
|
194
|
+
type: IconRegistry,
|
|
195
|
+
deps: [],
|
|
196
|
+
target: i0.ɵɵFactoryTarget.Injectable
|
|
197
|
+
});
|
|
198
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
199
|
+
minVersion: "12.0.0",
|
|
200
|
+
version: "22.2.0",
|
|
201
|
+
ngImport: i0,
|
|
202
|
+
type: IconRegistry,
|
|
203
|
+
providedIn: "root"
|
|
204
|
+
});
|
|
205
|
+
};
|
|
206
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
207
|
+
minVersion: "12.0.0",
|
|
208
|
+
version: "22.2.0",
|
|
209
|
+
ngImport: i0,
|
|
210
|
+
type: IconRegistry,
|
|
211
|
+
decorators: [{
|
|
212
|
+
type: Injectable,
|
|
213
|
+
args: [{ providedIn: "root" }]
|
|
214
|
+
}]
|
|
215
|
+
});
|
|
216
|
+
var Icon = class Icon {
|
|
217
|
+
sanitizer = inject(DomSanitizer);
|
|
218
|
+
registry = inject(IconRegistry);
|
|
219
|
+
name = input.required(...ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []);
|
|
220
|
+
svgContent = computed(() => {
|
|
221
|
+
const markup = this.registry.get(this.name());
|
|
222
|
+
return markup ? this.sanitizer.bypassSecurityTrustHtml(markup) : null;
|
|
223
|
+
}, ...ngDevMode ? [{ debugName: "svgContent" }] : /* istanbul ignore next */ []);
|
|
224
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
225
|
+
minVersion: "12.0.0",
|
|
226
|
+
version: "22.2.0",
|
|
227
|
+
ngImport: i0,
|
|
228
|
+
type: Icon,
|
|
229
|
+
deps: [],
|
|
230
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
231
|
+
});
|
|
232
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
233
|
+
minVersion: "17.0.0",
|
|
234
|
+
version: "22.2.0",
|
|
235
|
+
type: Icon,
|
|
236
|
+
isStandalone: true,
|
|
237
|
+
selector: "gbt-icon",
|
|
238
|
+
inputs: { name: {
|
|
239
|
+
classPropertyName: "name",
|
|
240
|
+
publicName: "name",
|
|
241
|
+
isSignal: true,
|
|
242
|
+
isRequired: true,
|
|
243
|
+
transformFunction: null
|
|
244
|
+
} },
|
|
245
|
+
host: { properties: { "attr.aria-hidden": "\"true\"" } },
|
|
246
|
+
ngImport: i0,
|
|
247
|
+
template: `
|
|
248
|
+
@if (svgContent(); as content) {
|
|
249
|
+
<svg
|
|
250
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
251
|
+
viewBox="0 0 24 24"
|
|
252
|
+
fill="none"
|
|
253
|
+
stroke="currentColor"
|
|
254
|
+
stroke-width="2"
|
|
255
|
+
stroke-linecap="round"
|
|
256
|
+
stroke-linejoin="round"
|
|
257
|
+
aria-hidden="true"
|
|
258
|
+
[innerHTML]="content"
|
|
259
|
+
></svg>
|
|
260
|
+
}
|
|
261
|
+
`,
|
|
262
|
+
isInline: true,
|
|
263
|
+
styles: [":host{display:inline-flex;flex-shrink:0;width:1.25em;height:1.25em}svg{width:100%;height:100%}\n"],
|
|
264
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
265
|
+
});
|
|
266
|
+
};
|
|
267
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
268
|
+
minVersion: "12.0.0",
|
|
269
|
+
version: "22.2.0",
|
|
270
|
+
ngImport: i0,
|
|
271
|
+
type: Icon,
|
|
272
|
+
decorators: [{
|
|
273
|
+
type: Component,
|
|
274
|
+
args: [{
|
|
275
|
+
selector: "gbt-icon",
|
|
276
|
+
standalone: true,
|
|
277
|
+
template: `
|
|
278
|
+
@if (svgContent(); as content) {
|
|
279
|
+
<svg
|
|
280
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
281
|
+
viewBox="0 0 24 24"
|
|
282
|
+
fill="none"
|
|
283
|
+
stroke="currentColor"
|
|
284
|
+
stroke-width="2"
|
|
285
|
+
stroke-linecap="round"
|
|
286
|
+
stroke-linejoin="round"
|
|
287
|
+
aria-hidden="true"
|
|
288
|
+
[innerHTML]="content"
|
|
289
|
+
></svg>
|
|
290
|
+
}
|
|
291
|
+
`,
|
|
292
|
+
host: { "[attr.aria-hidden]": "\"true\"" },
|
|
293
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
294
|
+
styles: [":host{display:inline-flex;flex-shrink:0;width:1.25em;height:1.25em}svg{width:100%;height:100%}\n"]
|
|
295
|
+
}]
|
|
296
|
+
}],
|
|
297
|
+
propDecorators: { name: [{
|
|
298
|
+
type: i0.Input,
|
|
299
|
+
args: [{
|
|
300
|
+
isSignal: true,
|
|
301
|
+
alias: "name",
|
|
302
|
+
required: true
|
|
303
|
+
}]
|
|
304
|
+
}] }
|
|
305
|
+
});
|
|
306
|
+
export { Icon, IconRegistry };
|
|
307
|
+
|
|
308
|
+
//# sourceMappingURL=masmarino-gabarit-icon.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"masmarino-gabarit-icon.mjs","names":[],"sources":["../../../projects/gabarit/icon/built-in-icons.ts","../../../projects/gabarit/icon/icon-registry.ts","../../../projects/gabarit/icon/icon.ts"],"sourcesContent":["export const BUILT_IN_ICONS: Record<string, string> = {\n search: `<path d=\"m21 21-4.34-4.34\" />\n<circle cx=\"11\" cy=\"11\" r=\"8\" />`,\n x: `<path d=\"M18 6 6 18\" />\n<path d=\"m6 6 12 12\" />`,\n eye: `<path d=\"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0\" />\n<circle cx=\"12\" cy=\"12\" r=\"3\" />`,\n 'eye-off': `<path d=\"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49\" />\n<path d=\"M14.084 14.158a3 3 0 0 1-4.242-4.242\" />\n<path d=\"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143\" />\n<path d=\"m2 2 20 20\" />`,\n 'chevron-down': `<path d=\"m6 9 6 6 6-6\" />`,\n 'chevron-left': `<path d=\"m15 18-6-6 6-6\" />`,\n 'chevron-right': `<path d=\"m9 18 6-6-6-6\" />`,\n 'chevrons-left': `<path d=\"m11 17-5-5 5-5\" />\n<path d=\"m18 17-5-5 5-5\" />`,\n 'chevrons-right': `<path d=\"m6 17 5-5-5-5\" />\n<path d=\"m13 17 5-5-5-5\" />`,\n 'ellipsis-vertical': `<circle cx=\"12\" cy=\"12\" r=\"1\" />\n<circle cx=\"12\" cy=\"5\" r=\"1\" />\n<circle cx=\"12\" cy=\"19\" r=\"1\" />`,\n check: `<path d=\"M20 6 9 17l-5-5\" />`,\n copy: `<rect width=\"14\" height=\"14\" x=\"8\" y=\"8\" rx=\"2\" ry=\"2\" />\n<path d=\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\" />`,\n 'check-circle': `<path d=\"m5 12 5 5 9-10\" />`,\n 'alert-circle': `<path d=\"M12 7v6\" />\n<path d=\"M12 17h.01\" />`,\n 'alert-triangle': `<path d=\"m21.73 18-8-14a2 2 0 0 0-3.46 0L2.27 18a2 2 0 0 0 1.73 3h16a2 2 0 0 0 1.73-3Z\" />\n<path d=\"M12 9v4\" />\n<path d=\"M12 17h.01\" />`,\n info: `<path d=\"M12 17v-6\" />\n<path d=\"M12 7h.01\" />`,\n 'arrow-up': `<path d=\"m5 12 7-7 7 7\" />\n<path d=\"M12 19V5\" />`,\n 'arrow-down': `<path d=\"M12 5v14\" />\n<path d=\"m19 12-7 7-7-7\" />`,\n calendar: `<path d=\"M8 2v4\" />\n<path d=\"M16 2v4\" />\n<rect width=\"18\" height=\"18\" x=\"3\" y=\"4\" rx=\"2\" />\n<path d=\"M3 10h18\" />`,\n upload: `<path d=\"M12 3v12\" />\n<path d=\"m17 8-5-5-5 5\" />\n<path d=\"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\" />`,\n folder: `<path d=\"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z\" />`,\n file: `<path d=\"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z\" />\n<path d=\"M14 2v4a2 2 0 0 0 2 2h4\" />`,\n home: `<path d=\"m3 9 9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z\" />\n<path d=\"M9 22V12h6v10\" />`,\n folders: `<path d=\"M20 17a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3.9a2 2 0 0 1-1.69-.9L13.2 4.9A2 2 0 0 0 11.53 4H9a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2Z\" />\n<path d=\"M17 17v2a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h2\" />`,\n server: `<rect x=\"2\" y=\"2\" width=\"20\" height=\"8\" rx=\"2\" ry=\"2\" />\n<rect x=\"2\" y=\"14\" width=\"20\" height=\"8\" rx=\"2\" ry=\"2\" />\n<line x1=\"6\" y1=\"6\" x2=\"6.01\" y2=\"6\" />\n<line x1=\"6\" y1=\"18\" x2=\"6.01\" y2=\"18\" />`,\n lock: `<rect width=\"18\" height=\"11\" x=\"3\" y=\"11\" rx=\"2\" ry=\"2\" />\n<path d=\"M7 11V7a5 5 0 0 1 10 0v4\" />`,\n key: `<path d=\"m15.5 7.5 2.3 2.3a1 1 0 0 0 1.4 0l2.1-2.1a1 1 0 0 0 0-1.4L19 4\" />\n<path d=\"m21 2-9.6 9.6\" />\n<circle cx=\"7.5\" cy=\"15.5\" r=\"5.5\" />`,\n settings: `<circle cx=\"12\" cy=\"12\" r=\"3\" />\n<path d=\"M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 1 1-2.83-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 1 1 2.83-2.83l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1Z\" />`,\n 'log-out': `<path d=\"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4\" />\n<polyline points=\"16 17 21 12 16 7\" />\n<line x1=\"21\" y1=\"12\" x2=\"9\" y2=\"12\" />`,\n user: `<path d=\"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2\" />\n<circle cx=\"12\" cy=\"7\" r=\"4\" />`,\n bell: `<path d=\"M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9\" />\n<path d=\"M10.3 21a1.94 1.94 0 0 0 3.4 0\" />`,\n activity: `<path d=\"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2\" />`,\n 'layout-dashboard': `<rect width=\"7\" height=\"9\" x=\"3\" y=\"3\" rx=\"1\" />\n<rect width=\"7\" height=\"5\" x=\"14\" y=\"3\" rx=\"1\" />\n<rect width=\"7\" height=\"9\" x=\"14\" y=\"12\" rx=\"1\" />\n<rect width=\"7\" height=\"5\" x=\"3\" y=\"16\" rx=\"1\" />`,\n 'circle-dot': `<circle cx=\"12\" cy=\"12\" r=\"10\" />\n<circle cx=\"12\" cy=\"12\" r=\"1\" />`,\n 'arrow-left': `<path d=\"m12 19-7-7 7-7\" />\n<path d=\"M19 12H5\" />`,\n play: `<polygon points=\"6 3 20 12 6 21 6 3\" />`,\n tag: `<path d=\"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42Z\" />\n<circle cx=\"7.5\" cy=\"7.5\" r=\"1.5\" />`,\n 'book-open': `<path d=\"M12 7v14\" />\n<path d=\"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z\" />`,\n 'folder-open': `<path d=\"m6 14 1.45-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.55 6a2 2 0 0 1-1.94 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2\" />`,\n 'message-circle': `<path d=\"M7.9 20A9 9 0 1 0 4 16.1L2 22Z\" />`,\n pencil: `<path d=\"M17 3a2.85 2.85 0 0 1 4 4L7.5 20.5 2 22l1.5-5.5Z\" />\n<path d=\"m15 5 4 4\" />`,\n flag: `<path d=\"M4 22V4\" />\n<path d=\"M4 15s1-1 4-1 5 2 8 2 4-1 4-1V3s-1 1-4 1-5-2-8-2-4 1-4 1\" />`,\n star: `<path d=\"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z\" />`,\n download: `<path d=\"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\" />\n<polyline points=\"7 10 12 15 17 10\" />\n<line x1=\"12\" x2=\"12\" y1=\"15\" y2=\"3\" />`,\n globe: `<circle cx=\"12\" cy=\"12\" r=\"10\" />\n<path d=\"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20\" />\n<path d=\"M2 12h20\" />`,\n 'circle-check': `<circle cx=\"12\" cy=\"12\" r=\"10\" />\n<path d=\"m9 12 2 2 4-4\" />`,\n bug: `<path d=\"m8 2 1.88 1.88\" />\n<path d=\"M14.12 3.88 16 2\" />\n<path d=\"M9 7.13v-1a3.003 3.003 0 1 1 6 0v1\" />\n<path d=\"M12 20c-3.3 0-6-2.7-6-6v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v3c0 3.3-2.7 6-6 6\" />\n<path d=\"M12 20v-9\" />\n<path d=\"M6.53 9C4.6 8.8 3 7.1 3 5\" />\n<path d=\"M6 13H2\" />\n<path d=\"M3 21c0-2.1 1.7-3.9 3.8-4\" />\n<path d=\"M20.97 5c0 2.1-1.6 3.8-3.5 4\" />\n<path d=\"M22 13h-4\" />\n<path d=\"M17.2 17c2.1.1 3.8 1.9 3.8 4\" />`,\n sparkles: `<path d=\"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z\" />\n<path d=\"M20 3v4\" />\n<path d=\"M22 5h-4\" />`,\n 'square-check': `<rect width=\"18\" height=\"18\" x=\"3\" y=\"3\" rx=\"2\" />\n<path d=\"m9 12 2 2 4-4\" />`,\n layers: `<path d=\"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z\" />\n<path d=\"m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65\" />\n<path d=\"m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65\" />`,\n plus: `<path d=\"M5 12h14\" />\n<path d=\"M12 5v14\" />`,\n kanban: `<path d=\"M6 5v11\" />\n<path d=\"M12 5v6\" />\n<path d=\"M18 5v14\" />`,\n list: `<path d=\"M3 12h.01\" />\n<path d=\"M3 18h.01\" />\n<path d=\"M3 6h.01\" />\n<path d=\"M8 12h13\" />\n<path d=\"M8 18h13\" />\n<path d=\"M8 6h13\" />`,\n clock: `<circle cx=\"12\" cy=\"12\" r=\"10\" />\n<path d=\"M12 6v6l4 2\" />`,\n 'circle-play': `<circle cx=\"12\" cy=\"12\" r=\"10\" />\n<path d=\"m10 8 6 4-6 4z\" />`,\n 'circle-x': `<circle cx=\"12\" cy=\"12\" r=\"10\" />\n<path d=\"m15 9-6 6\" />\n<path d=\"m9 9 6 6\" />`,\n 'circle-slash': `<circle cx=\"12\" cy=\"12\" r=\"10\" />\n<path d=\"m9 15 6-6\" />`,\n 'flask-conical': `<path d=\"M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2\" />\n<path d=\"M6.453 15h11.094\" />\n<path d=\"M8.5 2h7\" />`,\n 'trash-2': `<path d=\"M3 6h18\" />\n<path d=\"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6\" />\n<path d=\"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2\" />\n<line x1=\"10\" x2=\"10\" y1=\"11\" y2=\"17\" />\n<line x1=\"14\" x2=\"14\" y1=\"11\" y2=\"17\" />`,\n database: `<ellipse cx=\"12\" cy=\"5\" rx=\"9\" ry=\"3\" />\n<path d=\"M3 5V19A9 3 0 0 0 21 19V5\" />\n<path d=\"M3 12A9 3 0 0 0 21 12\" />`,\n 'hard-drive': `<line x1=\"22\" x2=\"2\" y1=\"12\" y2=\"12\" />\n<path d=\"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z\" />\n<line x1=\"6\" x2=\"6.01\" y1=\"16\" y2=\"16\" />\n<line x1=\"10\" x2=\"10.01\" y1=\"16\" y2=\"16\" />`,\n mail: `<path d=\"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7\" />\n<rect x=\"2\" y=\"4\" width=\"20\" height=\"16\" rx=\"2\" />`,\n send: `<path d=\"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z\" />\n<path d=\"m21.854 2.147-10.94 10.939\" />`,\n 'shield-check': `<path d=\"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z\" />\n<path d=\"m9 12 2 2 4-4\" />`,\n 'shield-alert': `<path d=\"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z\" />\n<path d=\"M12 8v4\" />\n<path d=\"M12 16h.01\" />`,\n smartphone: `<rect width=\"14\" height=\"20\" x=\"5\" y=\"2\" rx=\"2\" ry=\"2\" />\n<path d=\"M12 18h.01\" />`,\n users: `<path d=\"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2\" />\n<circle cx=\"9\" cy=\"7\" r=\"4\" />\n<path d=\"M22 21v-2a4 4 0 0 0-3-3.87\" />\n<path d=\"M16 3.13a4 4 0 0 1 0 7.75\" />`,\n 'user-plus': `<path d=\"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2\" />\n<circle cx=\"9\" cy=\"7\" r=\"4\" />\n<line x1=\"19\" x2=\"19\" y1=\"8\" y2=\"14\" />\n<line x1=\"22\" x2=\"16\" y1=\"11\" y2=\"11\" />`,\n 'refresh-cw': `<path d=\"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8\" />\n<path d=\"M21 3v5h-5\" />\n<path d=\"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16\" />\n<path d=\"M8 16H3v5\" />`,\n}\n","import { Injectable } from '@angular/core'\nimport { BUILT_IN_ICONS } from './built-in-icons'\n\n@Injectable({ providedIn: 'root' })\nexport class IconRegistry {\n private readonly icons = new Map<string, string>(Object.entries(BUILT_IN_ICONS))\n\n register(name: string, svgInnerMarkup: string): void {\n this.icons.set(name, svgInnerMarkup)\n }\n\n registerAll(icons: Record<string, string>): void {\n for (const [name, markup] of Object.entries(icons)) {\n this.icons.set(name, markup)\n }\n }\n\n get(name: string): string | null {\n return this.icons.get(name) ?? null\n }\n}\n","import { ChangeDetectionStrategy, Component, computed, inject, input } from '@angular/core'\nimport { DomSanitizer } from '@angular/platform-browser'\nimport { IconRegistry } from './icon-registry'\n\n@Component({\n selector: 'gbt-icon',\n standalone: true,\n template: `\n @if (svgContent(); as content) {\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n aria-hidden=\"true\"\n [innerHTML]=\"content\"\n ></svg>\n }\n `,\n styles: `\n :host {\n display: inline-flex;\n flex-shrink: 0;\n width: 1.25em;\n height: 1.25em;\n }\n svg {\n width: 100%;\n height: 100%;\n }\n `,\n host: {\n '[attr.aria-hidden]': '\"true\"',\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class Icon {\n private readonly sanitizer = inject(DomSanitizer)\n private readonly registry = inject(IconRegistry)\n\n name = input.required<string>()\n\n protected readonly svgContent = computed(() => {\n const markup = this.registry.get(this.name())\n return markup ? this.sanitizer.bypassSecurityTrustHtml(markup) : null\n })\n}\n"],"mappings":"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"}
|