@trismegisto/angular 3.2.0 → 3.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/fesm2022/trismegisto-angular-avatar-group.mjs +15 -3
- package/fesm2022/trismegisto-angular-avatar-group.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-bulk-input.mjs +1 -1
- package/fesm2022/trismegisto-angular-bulk-input.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-button.mjs +3 -10
- package/fesm2022/trismegisto-angular-button.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-code-viewer.mjs +0 -1
- package/fesm2022/trismegisto-angular-code-viewer.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-combobox-multi.mjs +4 -11
- package/fesm2022/trismegisto-angular-combobox-multi.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-combobox.mjs +5 -16
- package/fesm2022/trismegisto-angular-combobox.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-command-palette.mjs +28 -4
- package/fesm2022/trismegisto-angular-command-palette.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-data-grid.mjs +4 -4
- package/fesm2022/trismegisto-angular-data-grid.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-date-picker.mjs +6 -64
- package/fesm2022/trismegisto-angular-date-picker.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-dialog.mjs +1 -1
- package/fesm2022/trismegisto-angular-dialog.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-drag-drop.mjs +8 -1
- package/fesm2022/trismegisto-angular-drag-drop.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-event-calendar.mjs +1 -1
- package/fesm2022/trismegisto-angular-event-calendar.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-filter-bar.mjs +1 -1
- package/fesm2022/trismegisto-angular-filter-bar.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-i18n.mjs +1 -9
- package/fesm2022/trismegisto-angular-i18n.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-icon.mjs +2 -90
- package/fesm2022/trismegisto-angular-icon.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-kanban.mjs +130 -12
- package/fesm2022/trismegisto-angular-kanban.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-list-editor.mjs +1 -1
- package/fesm2022/trismegisto-angular-list-editor.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-message-scroller.mjs +1 -1
- package/fesm2022/trismegisto-angular-message-scroller.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-message.mjs +1 -1
- package/fesm2022/trismegisto-angular-message.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-popover.mjs +3 -3
- package/fesm2022/trismegisto-angular-popover.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-property-view.mjs +1 -1
- package/fesm2022/trismegisto-angular-property-view.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-radio.mjs +4 -11
- package/fesm2022/trismegisto-angular-radio.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-rich-text.mjs +1 -1
- package/fesm2022/trismegisto-angular-rich-text.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-session-recovery.mjs +11 -13
- package/fesm2022/trismegisto-angular-session-recovery.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-settings.mjs +1 -1
- package/fesm2022/trismegisto-angular-settings.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-shortcut-list.mjs +1 -1
- package/fesm2022/trismegisto-angular-shortcut-list.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-sidebar.mjs +0 -4
- package/fesm2022/trismegisto-angular-sidebar.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-stat-group.mjs +1 -1
- package/fesm2022/trismegisto-angular-stat-group.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-state-page.mjs +1 -8
- package/fesm2022/trismegisto-angular-state-page.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-state-screen.mjs +1 -1
- package/fesm2022/trismegisto-angular-state-screen.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-stepper.mjs +34 -32
- package/fesm2022/trismegisto-angular-stepper.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-switch.mjs +4 -11
- package/fesm2022/trismegisto-angular-switch.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-tab-bar.mjs +46 -2
- package/fesm2022/trismegisto-angular-tab-bar.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-tag.mjs +3 -11
- package/fesm2022/trismegisto-angular-tag.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-textarea.mjs +4 -11
- package/fesm2022/trismegisto-angular-textarea.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-theme-builder.mjs +5 -3
- package/fesm2022/trismegisto-angular-theme-builder.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-theme.mjs +1 -1
- package/fesm2022/trismegisto-angular-theme.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-wizard.mjs +1 -1
- package/fesm2022/trismegisto-angular-wizard.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-workspace.mjs +5 -1
- package/fesm2022/trismegisto-angular-workspace.mjs.map +1 -1
- package/fesm2022/trismegisto-angular.mjs +3 -4
- package/fesm2022/trismegisto-angular.mjs.map +1 -1
- package/package.json +5 -13
- package/types/trismegisto-angular-avatar-group.d.ts +11 -2
- package/types/trismegisto-angular-avatar-group.d.ts.map +1 -1
- package/types/trismegisto-angular-button.d.ts +1 -3
- package/types/trismegisto-angular-button.d.ts.map +1 -1
- package/types/trismegisto-angular-code-viewer.d.ts.map +1 -1
- package/types/trismegisto-angular-combobox-multi.d.ts +2 -4
- package/types/trismegisto-angular-combobox-multi.d.ts.map +1 -1
- package/types/trismegisto-angular-combobox.d.ts +1 -5
- package/types/trismegisto-angular-combobox.d.ts.map +1 -1
- package/types/trismegisto-angular-command-palette.d.ts +10 -1
- package/types/trismegisto-angular-command-palette.d.ts.map +1 -1
- package/types/trismegisto-angular-data-grid.d.ts +0 -9
- package/types/trismegisto-angular-data-grid.d.ts.map +1 -1
- package/types/trismegisto-angular-date-picker.d.ts +2 -17
- package/types/trismegisto-angular-date-picker.d.ts.map +1 -1
- package/types/trismegisto-angular-drag-drop.d.ts +8 -0
- package/types/trismegisto-angular-drag-drop.d.ts.map +1 -1
- package/types/trismegisto-angular-i18n.d.ts +1 -7
- package/types/trismegisto-angular-i18n.d.ts.map +1 -1
- package/types/trismegisto-angular-icon.d.ts +2 -5
- package/types/trismegisto-angular-icon.d.ts.map +1 -1
- package/types/trismegisto-angular-kanban.d.ts +57 -5
- package/types/trismegisto-angular-kanban.d.ts.map +1 -1
- package/types/trismegisto-angular-popover.d.ts +1 -1
- package/types/trismegisto-angular-popover.d.ts.map +1 -1
- package/types/trismegisto-angular-radio.d.ts +1 -3
- package/types/trismegisto-angular-radio.d.ts.map +1 -1
- package/types/trismegisto-angular-reorder-list.d.ts +0 -5
- package/types/trismegisto-angular-reorder-list.d.ts.map +1 -1
- package/types/trismegisto-angular-session-recovery.d.ts +6 -6
- package/types/trismegisto-angular-sidebar.d.ts +0 -2
- package/types/trismegisto-angular-sidebar.d.ts.map +1 -1
- package/types/trismegisto-angular-state-page.d.ts +1 -7
- package/types/trismegisto-angular-state-page.d.ts.map +1 -1
- package/types/trismegisto-angular-stepper.d.ts.map +1 -1
- package/types/trismegisto-angular-switch.d.ts +1 -3
- package/types/trismegisto-angular-switch.d.ts.map +1 -1
- package/types/trismegisto-angular-tab-bar.d.ts +11 -0
- package/types/trismegisto-angular-tab-bar.d.ts.map +1 -1
- package/types/trismegisto-angular-tag.d.ts +2 -4
- package/types/trismegisto-angular-tag.d.ts.map +1 -1
- package/types/trismegisto-angular-textarea.d.ts +1 -3
- package/types/trismegisto-angular-textarea.d.ts.map +1 -1
- package/types/trismegisto-angular-theme-builder.d.ts.map +1 -1
- package/types/trismegisto-angular-theme.d.ts +4 -3
- package/types/trismegisto-angular-theme.d.ts.map +1 -1
- package/types/trismegisto-angular-workspace.d.ts +0 -2
- package/types/trismegisto-angular-workspace.d.ts.map +1 -1
- package/types/trismegisto-angular.d.ts +3 -4
- package/types/trismegisto-angular.d.ts.map +1 -1
- package/fesm2022/trismegisto-angular-deprecation.mjs +0 -26
- package/fesm2022/trismegisto-angular-deprecation.mjs.map +0 -1
- package/fesm2022/trismegisto-angular-field.mjs +0 -35
- package/fesm2022/trismegisto-angular-field.mjs.map +0 -1
- package/types/trismegisto-angular-deprecation.d.ts +0 -11
- package/types/trismegisto-angular-deprecation.d.ts.map +0 -1
- package/types/trismegisto-angular-field.d.ts +0 -18
- package/types/trismegisto-angular-field.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trismegisto-angular-icon.mjs","sources":["../../src/icon/icon.component.ts","../../src/icon/internal-icons.generated.ts","../../src/icon/provide-icons.ts","../../src/icon/use-hermes-icons.ts","../../src/icon/index.ts","../../src/icon/trismegisto-angular-icon.ts"],"sourcesContent":["import { booleanAttribute, ChangeDetectionStrategy, Component, computed, inject, input, signal } from '@angular/core';\nimport { DomSanitizer } from '@angular/platform-browser';\nimport { IconBadge, isDirectionalIcon, onIconsRegistered, renderIconSvg } from '@trismegisto/primitives';\n\nexport type IconSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | number | (string & {});\nexport type IconStatus = 'info' | 'success' | 'warning' | 'danger' | 'neutral';\nexport type IconDirection = 'up' | 'down' | 'left' | 'right';\nexport type IconFlip = 'horizontal' | 'vertical';\n\nlet listening = false;\n/** Muda a cada registro de ícones: um catálogo que chega depois (`provideHermesIconLoader`) ou os ícones\n * de um componente registrados depois redesenham os `hm-icon` que estavam com o genérico. */\nconst iconsVersion = signal(0);\nfunction listenIconsRegistered(): void {\n if (listening) return;\n listening = true;\n onIconsRegistered(() => iconsVersion.update((v) => v + 1));\n}\n\nconst SIZES: Readonly<Record<string, string>> = { xs: '12px', sm: '16px', md: '24px', lg: '32px', xl: '48px' };\n\n/**\n * Ícone SVG inline (dados de @trismegisto/icons, `currentColor`). Nome desconhecido cai num ícone\n * genérico em vez de quebrar. O HTML é gerado só a partir dos dados estáticos da lib.\n *\n * O tamanho padrão é `1em` (herda o `font-size`); `size` aceita `xs|sm|md|lg|xl`, um número (px) ou\n * qualquer comprimento CSS. `solid` e `badge` escolhem a variante (se o ícone tiver); `status` colore o\n * ícone; `direction` gira (os ícones são desenhados apontando para cima: os direcionais `arrow`, `angle` e\n * `angle-double`, e os nomes por direção como `angle-left`, giram no próprio desenho; os demais, por CSS);\n * `flip` espelha.\n * Sem `label` o ícone é decorativo (`aria-hidden`); com `label` vira `role=\"img\"`.\n *\n * Registro: o `hm-icon` só desenha o que estiver registrado — ele não registra conjunto nenhum (o\n * genérico é fixo em `render.ts`). Os ícones que cada componente da lib usa por dentro (o X do modal, as\n * setas do paginador...) são registrados pelo próprio componente na construção\n * (`useHermesIcons(<PASTA>_ICONS)`, gerado por `scripts/generate-internal-icons.mjs`), então o bundle de\n * quem usa só o `hm-button` não leva os ícones dos outros. Ícone escolhido pelo app (`shape` dinâmico,\n * `[icon]` de botão) é o app que registra: `registerIcons(...)`, `provideHermesIcons(...)` ou\n * `provideHermesIconLoader(...)`.\n */\n@Component({\n selector: 'hm-icon',\n template: '',\n host: {\n '[innerHTML]': 'svg()',\n '[class]': 'classes()',\n '[style.--hm-icon-size]': 'sizeValue()',\n '[attr.role]': 'label() ? \"img\" : null',\n '[attr.aria-label]': 'label() || null',\n '[attr.aria-hidden]': 'label() ? null : \"true\"',\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class IconComponent {\n private readonly sanitizer = inject(DomSanitizer);\n\n constructor() {\n listenIconsRegistered();\n }\n\n readonly shape = input.required<string>();\n /** 'left' | 'right' | 'up' | 'down'. Gira o desenho, que aponta para cima. */\n readonly direction = input<IconDirection | '' | (string & {})>('');\n readonly size = input<IconSize | null>(null);\n readonly solid = input(false, { transform: booleanAttribute });\n readonly badge = input<IconBadge | null>(null);\n readonly status = input<IconStatus | null>(null);\n readonly flip = input<IconFlip | null>(null);\n readonly inverse = input(false, { transform: booleanAttribute });\n /** Nome acessível. Vazio = decorativo. */\n readonly label = input('');\n\n protected readonly svg = computed(() => {\n iconsVersion();\n return this.sanitizer.bypassSecurityTrustHtml(\n renderIconSvg(this.shape(), {\n direction: this.direction(),\n solid: this.solid(),\n badge: this.badge() ?? undefined,\n }),\n );\n });\n\n protected readonly sizeValue = computed(() => {\n const size = this.size();\n if (size === null || size === '') return null;\n if (typeof size === 'number') return `${size}px`;\n return SIZES[size] ?? (/^\\d+(\\.\\d+)?$/.test(size) ? `${size}px` : size);\n });\n\n protected readonly classes = computed(() => {\n const parts: string[] = [];\n const status = this.status();\n const badge = this.badge();\n const direction = this.direction();\n if (status) parts.push(`hm-icon--status-${status}`);\n if (this.inverse()) parts.push('hm-icon--inverse');\n if (badge) parts.push(`hm-icon--badge-${badge === true ? 'inherit' : badge}`);\n // Os direcionais giram dentro do SVG (`renderIconSvg`); os demais, pela classe.\n if (direction && direction !== 'up' && !isDirectionalIcon(this.shape())) {\n parts.push(`hm-icon--dir-${direction}`);\n }\n if (this.flip()) parts.push(`hm-icon--flip-${this.flip()}`);\n return parts.join(' ');\n });\n}\n","// GERADO por scripts/generate-internal-icons.mjs — não editar à mão.\n// Ícones que os componentes do @trismegisto/angular usam por dentro, um export por ícone (tree-shakable).\n// Cada pasta de componente importa os seus em `icons.generated.ts` e os registra com `useHermesIcons`.\n// Dados embutidos (não importados do catálogo) — ver o cabeçalho do gerador.\nimport type { RegisteredIcon } from '@trismegisto/icons';\n\nexport const ICON_ANGLE: RegisteredIcon = {\"name\":\"angle\",\"body\":\"<path d=\\\"M6.5 14.5l5.5-5.5 5.5 5.5\\\"/>\",\"categories\":[\"foundation\"]} as RegisteredIcon;\nexport const ICON_ANGLE_DOUBLE: RegisteredIcon = {\"name\":\"angle-double\",\"body\":\"<path d=\\\"M6.5 12.5l5.5-5.5 5.5 5.5M6.5 18.5l5.5-5.5 5.5 5.5\\\"/>\",\"categories\":[\"foundation\"]} as RegisteredIcon;\nexport const ICON_ARROW: RegisteredIcon = {\"name\":\"arrow\",\"body\":\"<path d=\\\"M12 19V5M8.1 8.9L12 5l3.9 3.9\\\"/>\",\"categories\":[\"foundation\"],\"aliases\":[\"arrow-mini\"]} as RegisteredIcon;\nexport const ICON_ARROWS_HORIZONTAL: RegisteredIcon = {\"name\":\"arrows-horizontal\",\"body\":\"<path d=\\\"M3.5 12h17M7 8.5L3.5 12 7 15.5M17 8.5l3.5 3.5-3.5 3.5\\\"/>\"} as RegisteredIcon;\nexport const ICON_BLOCK_QUOTE: RegisteredIcon = {\"name\":\"block-quote\",\"body\":\"<path d=\\\"M4 4v16\\\"/><path d=\\\"M8.5 10V7h3v3c0 1.2-.6 2-1.5 2.5M14 10V7h3v3c0 1.2-.6 2-1.5 2.5\\\"/><path d=\\\"M8.5 17h11\\\"/>\",\"categories\":[\"text-edit\"]} as RegisteredIcon;\nexport const ICON_BOLD: RegisteredIcon = {\"name\":\"bold\",\"body\":\"<path d=\\\"M7 4.5h6a3.25 3.25 0 0 1 0 6.5H7zM7 11h7.5a3.75 3.75 0 0 1 0 7.5H7z\\\"/>\",\"categories\":[\"text-edit\"]} as RegisteredIcon;\nexport const ICON_BOOKMARK: RegisteredIcon = {\"name\":\"bookmark\",\"body\":\"<path d=\\\"M6.5 4.5a1 1 0 0 1 1-1h9a1 1 0 0 1 1 1v16l-5.5-4-5.5 4z\\\"/>\",\"solid\":true,\"categories\":[\"social\"]} as RegisteredIcon;\nexport const ICON_BULLET_LIST: RegisteredIcon = {\"name\":\"bullet-list\",\"body\":\"<path d=\\\"M9.5 6.5H20M9.5 12H20M9.5 17.5H20M4.5 6.5h.01M4.5 12h.01M4.5 17.5h.01\\\"/>\",\"categories\":[\"text-edit\"]} as RegisteredIcon;\nexport const ICON_CALENDAR: RegisteredIcon = {\"name\":\"calendar\",\"body\":\"<rect x=\\\"4\\\" y=\\\"5.5\\\" width=\\\"16\\\" height=\\\"14\\\" rx=\\\"2.5\\\"/><path d=\\\"M4 10h16M8.5 3.5v4M15.5 3.5v4\\\"/>\",\"solid\":true,\"categories\":[\"foundation\",\"social\"],\"aliases\":[\"calendar-mini\"]} as RegisteredIcon;\nexport const ICON_CHECK: RegisteredIcon = {\"name\":\"check\",\"body\":\"<path d=\\\"M5 12.5l4.5 4.5L19 7.5\\\"/>\",\"categories\":[\"foundation\"],\"aliases\":[\"check-mini\"]} as RegisteredIcon;\nexport const ICON_CHECK_CIRCLE: RegisteredIcon = {\"name\":\"check-circle\",\"body\":\"<circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"8.5\\\"/><path d=\\\"M8 12.3l2.8 2.8 5.2-5.6\\\"/>\",\"solid\":true,\"categories\":[\"foundation\"],\"aliases\":[\"check-circle-mini\"]} as RegisteredIcon;\nexport const ICON_CHECK_DOUBLE: RegisteredIcon = {\"name\":\"check-double\",\"body\":\"<path d=\\\"M2.5 12.5l4.5 4.5L17 7\\\"/><path d=\\\"M13 16l1 1 7.5-7.5\\\"/>\",\"categories\":[\"foundation\"]} as RegisteredIcon;\nexport const ICON_CIRCLE: RegisteredIcon = {\"name\":\"circle\",\"body\":\"<circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"8.5\\\"/>\",\"solid\":true,\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_CLOCK: RegisteredIcon = {\"name\":\"clock\",\"body\":\"<circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"8.5\\\"/><path d=\\\"M12 7.5V12l3 2\\\"/>\",\"solid\":true,\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_CLOUD_UP: RegisteredIcon = {\"name\":\"cloud-up\",\"body\":\"<path d=\\\"M7.5 18.5a4.5 4.5 0 0 1-.7-8.95 5.7 5.7 0 0 1 11 1.4 3.8 3.8 0 0 1-.8 7.55z\\\"/><path d=\\\"M12 17v-5.5M9.5 14l2.5-2.5 2.5 2.5\\\"/>\"} as RegisteredIcon;\nexport const ICON_CODE: RegisteredIcon = {\"name\":\"code\",\"body\":\"<path d=\\\"M8.5 7l-5 5 5 5M15.5 7l5 5-5 5\\\"/>\",\"categories\":[\"technology\"]} as RegisteredIcon;\nexport const ICON_CODE_BLOCK: RegisteredIcon = {\"name\":\"code-block\",\"body\":\"<rect x=\\\"3\\\" y=\\\"4\\\" width=\\\"18\\\" height=\\\"16\\\" rx=\\\"2.5\\\"/><path d=\\\"M9.5 9l-3 3 3 3M14.5 9l3 3-3 3\\\"/>\",\"solid\":true,\"categories\":[\"text-edit\",\"technology\"]} as RegisteredIcon;\nexport const ICON_COG: RegisteredIcon = {\"name\":\"cog\",\"body\":\"<path d=\\\"M9.73 5.91L10.23 3.69L13.77 3.69L14.27 5.91L16.14 6.99L18.32 6.31L20.08 9.37L18.41 10.92L18.41 13.08L20.08 14.63L18.32 17.69L16.14 17.01L14.27 18.09L13.77 20.31L10.23 20.31L9.73 18.09L7.86 17.01L5.68 17.69L3.92 14.63L5.59 13.08L5.59 10.92L3.92 9.37L5.68 6.31L7.86 6.99Z\\\"/><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"2.5\\\"/>\",\"solid\":true,\"categories\":[\"foundation\"]} as RegisteredIcon;\nexport const ICON_COPY: RegisteredIcon = {\"name\":\"copy\",\"body\":\"<rect x=\\\"9\\\" y=\\\"7\\\" width=\\\"11\\\" height=\\\"13.5\\\" rx=\\\"2\\\"/><path d=\\\"M12 12h5M12 15.5h5M15 7V5.5a2 2 0 0 0-2-2H6.5a2 2 0 0 0-2 2V16a2 2 0 0 0 2 2H9\\\"/>\",\"solid\":true,\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_DETAIL_COLLAPSE: RegisteredIcon = {\"name\":\"detail-collapse\",\"body\":\"<path d=\\\"M8 4.5l4 4 4-4M8 19.5l4-4 4 4M4 12h16\\\"/>\",\"categories\":[\"foundation\"]} as RegisteredIcon;\nexport const ICON_DETAIL_EXPAND: RegisteredIcon = {\"name\":\"detail-expand\",\"body\":\"<path d=\\\"M8 8l4-4 4 4M8 16l4 4 4-4M4 12h16\\\"/>\",\"categories\":[\"foundation\"]} as RegisteredIcon;\nexport const ICON_DOCUMENT_CSV: RegisteredIcon = {\"name\":\"document-csv\",\"body\":\"<path d=\\\"M7.5 3.5h6l4.5 4.5v11.5a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 6 19.5v-14A1.5 1.5 0 0 1 7.5 3.5z\\\"/><path d=\\\"M13.5 3.5V8H18\\\"/><path d=\\\"M8.5 13h2.5M13 13h2.5M12.1 13.3l-.5 1.5M8.5 17.3h2.5M13 17.3h2.5M12.1 17.6l-.5 1.5\\\"/>\"} as RegisteredIcon;\nexport const ICON_DOCUMENT_DOC: RegisteredIcon = {\"name\":\"document-doc\",\"body\":\"<path d=\\\"M7.5 3.5h6l4.5 4.5v11.5a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 6 19.5v-14A1.5 1.5 0 0 1 7.5 3.5z\\\"/><path d=\\\"M13.5 3.5V8H18\\\"/><path d=\\\"M9 12h6M9 15h6M9 18h3\\\"/>\"} as RegisteredIcon;\nexport const ICON_DOCUMENT_IMAGE: RegisteredIcon = {\"name\":\"document-image\",\"body\":\"<path d=\\\"M7.5 3.5h6l4.5 4.5v11.5a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 6 19.5v-14A1.5 1.5 0 0 1 7.5 3.5z\\\"/><path d=\\\"M13.5 3.5V8H18\\\"/><path d=\\\"M8 19l3-3.5 2.2 2.2 1.3-1.3L16.5 19\\\"/><path d=\\\"M14.5 12.5h.01\\\"/>\"} as RegisteredIcon;\nexport const ICON_DOCUMENT_PDF: RegisteredIcon = {\"name\":\"document-pdf\",\"body\":\"<path d=\\\"M7.5 3.5h6l4.5 4.5v11.5a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 6 19.5v-14A1.5 1.5 0 0 1 7.5 3.5z\\\"/><path d=\\\"M13.5 3.5V8H18\\\"/><path d=\\\"M9 18.5c2-1 3.5-3.5 3.5-5.5 0-1.2-1.3-1.2-1.3 0 0 2 2.5 4.2 4.3 4.5\\\"/>\",\"categories\":[\"technology\"]} as RegisteredIcon;\nexport const ICON_DOCUMENTS_EXCEL: RegisteredIcon = {\"name\":\"documents-excel\",\"body\":\"<path d=\\\"M8.5 6.5V5A1.5 1.5 0 0 1 10 3.5h8A1.5 1.5 0 0 1 19.5 5v10a1.5 1.5 0 0 1-1.5 1.5h-2.5\\\"/><rect x=\\\"4.5\\\" y=\\\"6.5\\\" width=\\\"11\\\" height=\\\"14\\\" rx=\\\"1.5\\\"/><rect x=\\\"7\\\" y=\\\"10\\\" width=\\\"6\\\" height=\\\"7\\\" rx=\\\"0.8\\\"/><path d=\\\"M7 13.5h6M10 10v7\\\"/>\"} as RegisteredIcon;\nexport const ICON_DOWNLOAD: RegisteredIcon = {\"name\":\"download\",\"body\":\"<path d=\\\"M12 4v11M7.5 10.5l4.5 4.5 4.5-4.5M5 16v3.5h14V16\\\"/>\",\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_DRAG_HANDLE: RegisteredIcon = {\"name\":\"drag-handle\",\"body\":\"<path d=\\\"M5 9h14M5 15h14\\\"/>\",\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_ELLIPSIS_HORIZONTAL: RegisteredIcon = {\"name\":\"ellipsis-horizontal\",\"body\":\"<path d=\\\"M5.5 12h.01\\\"/><path d=\\\"M12 12h.01\\\"/><path d=\\\"M18.5 12h.01\\\"/>\",\"categories\":[\"foundation\"]} as RegisteredIcon;\nexport const ICON_ELLIPSIS_VERTICAL: RegisteredIcon = {\"name\":\"ellipsis-vertical\",\"body\":\"<path d=\\\"M12 5.5h.01\\\"/><path d=\\\"M12 12h.01\\\"/><path d=\\\"M12 18.5h.01\\\"/>\",\"categories\":[\"foundation\"]} as RegisteredIcon;\nexport const ICON_ERASER: RegisteredIcon = {\"name\":\"eraser\",\"body\":\"<polygon points=\\\"4.5 14.5 13 6 19 12 12 19 7.5 19\\\"/><path d=\\\"M8.5 10l6.5 6.5M12 19h8.5\\\"/>\",\"solid\":true,\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_ERROR_STANDARD: RegisteredIcon = {\"name\":\"error-standard\",\"body\":\"<polygon points=\\\"15.44 3.69 20.31 8.56 20.31 15.44 15.44 20.31 8.56 20.31 3.69 15.44 3.69 8.56 8.56 3.69\\\"/><path d=\\\"M12 7.5v5.5\\\"/><path d=\\\"M12 16.5h.01\\\"/>\",\"solid\":true,\"categories\":[\"foundation\"],\"aliases\":[\"error-mini\"]} as RegisteredIcon;\nexport const ICON_EXCLAMATION_CIRCLE: RegisteredIcon = {\"name\":\"exclamation-circle\",\"body\":\"<circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"8.5\\\"/><path d=\\\"M12 7.5v5\\\"/><path d=\\\"M12 16h.01\\\"/>\",\"solid\":true,\"categories\":[\"foundation\"]} as RegisteredIcon;\nexport const ICON_EXCLAMATION_TRIANGLE: RegisteredIcon = {\"name\":\"exclamation-triangle\",\"body\":\"<path d=\\\"M12 4l9 15.5H3z\\\"/><path d=\\\"M12 10v4\\\"/><path d=\\\"M12 17h.01\\\"/>\",\"solid\":true,\"categories\":[\"foundation\"]} as RegisteredIcon;\nexport const ICON_EYE: RegisteredIcon = {\"name\":\"eye\",\"body\":\"<path d=\\\"M2.5 12C5 7.5 8.5 6 12 6s7 1.5 9.5 6c-2.5 4.5-6 6-9.5 6s-7-1.5-9.5-6z\\\"/><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"2.8\\\"/>\",\"solid\":true,\"categories\":[\"foundation\"]} as RegisteredIcon;\nexport const ICON_EYE_HIDE: RegisteredIcon = {\"name\":\"eye-hide\",\"body\":\"<path d=\\\"M2.5 12C5 7.5 8.5 6 12 6s7 1.5 9.5 6c-2.5 4.5-6 6-9.5 6s-7-1.5-9.5-6z\\\"/><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"2.8\\\"/><path d=\\\"M4 4l16 16\\\"/>\",\"solid\":true,\"categories\":[\"foundation\"]} as RegisteredIcon;\nexport const ICON_FILE: RegisteredIcon = {\"name\":\"file\",\"body\":\"<path d=\\\"M7.5 3.5h6l4.5 4.5v11.5a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 6 19.5v-14A1.5 1.5 0 0 1 7.5 3.5z\\\"/><path d=\\\"M13.5 3.5V8H18\\\"/>\",\"solid\":true,\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_FILE_TEXT: RegisteredIcon = {\"name\":\"file-text\",\"body\":\"<path d=\\\"M7.5 3.5h6l4.5 4.5v11.5a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 6 19.5v-14A1.5 1.5 0 0 1 7.5 3.5z\\\"/><path d=\\\"M13.5 3.5V8H18\\\"/><path d=\\\"M9.5 12h5M9.5 15h5M9.5 18h2.5\\\"/>\",\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_FILE_ZIP: RegisteredIcon = {\"name\":\"file-zip\",\"body\":\"<path d=\\\"M7.5 3.5h6l4.5 4.5v11.5a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 6 19.5v-14A1.5 1.5 0 0 1 7.5 3.5z\\\"/><path d=\\\"M13.5 3.5V8H18\\\"/><path d=\\\"M11 10h2M11 12.5h2M11 15h2\\\"/><rect x=\\\"10.5\\\" y=\\\"16\\\" width=\\\"3\\\" height=\\\"3\\\" rx=\\\"0.8\\\"/>\",\"solid\":true,\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_FILTER_GRID: RegisteredIcon = {\"name\":\"filter-grid\",\"body\":\"<path d=\\\"M4 4.5h16l-6 6.5v3l-4-1.5V11z\\\"/><path d=\\\"M7 19h.01\\\"/><path d=\\\"M12 19h.01\\\"/><path d=\\\"M17 19h.01\\\"/>\",\"solid\":true,\"categories\":[\"foundation\"],\"aliases\":[\"filter-grid-mini\"]} as RegisteredIcon;\nexport const ICON_FILTER_GRID_CIRCLE: RegisteredIcon = {\"name\":\"filter-grid-circle\",\"body\":\"<circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"8.5\\\"/><rect x=\\\"8\\\" y=\\\"8\\\" width=\\\"3\\\" height=\\\"3\\\" rx=\\\"0.5\\\"/><rect x=\\\"13\\\" y=\\\"8\\\" width=\\\"3\\\" height=\\\"3\\\" rx=\\\"0.5\\\"/><rect x=\\\"8\\\" y=\\\"13\\\" width=\\\"3\\\" height=\\\"3\\\" rx=\\\"0.5\\\"/><rect x=\\\"13\\\" y=\\\"13\\\" width=\\\"3\\\" height=\\\"3\\\" rx=\\\"0.5\\\"/>\",\"solid\":true,\"categories\":[\"foundation\"],\"aliases\":[\"filter-grid-circle-mini\"]} as RegisteredIcon;\nexport const ICON_GRID: RegisteredIcon = {\"name\":\"grid\",\"body\":\"<rect x=\\\"3.5\\\" y=\\\"3.5\\\" width=\\\"4\\\" height=\\\"4\\\" rx=\\\"1\\\"/><rect x=\\\"10\\\" y=\\\"3.5\\\" width=\\\"4\\\" height=\\\"4\\\" rx=\\\"1\\\"/><rect x=\\\"16.5\\\" y=\\\"3.5\\\" width=\\\"4\\\" height=\\\"4\\\" rx=\\\"1\\\"/><rect x=\\\"3.5\\\" y=\\\"10\\\" width=\\\"4\\\" height=\\\"4\\\" rx=\\\"1\\\"/><rect x=\\\"10\\\" y=\\\"10\\\" width=\\\"4\\\" height=\\\"4\\\" rx=\\\"1\\\"/><rect x=\\\"16.5\\\" y=\\\"10\\\" width=\\\"4\\\" height=\\\"4\\\" rx=\\\"1\\\"/><rect x=\\\"3.5\\\" y=\\\"16.5\\\" width=\\\"4\\\" height=\\\"4\\\" rx=\\\"1\\\"/><rect x=\\\"10\\\" y=\\\"16.5\\\" width=\\\"4\\\" height=\\\"4\\\" rx=\\\"1\\\"/><rect x=\\\"16.5\\\" y=\\\"16.5\\\" width=\\\"4\\\" height=\\\"4\\\" rx=\\\"1\\\"/>\"} as RegisteredIcon;\nexport const ICON_IMAGE: RegisteredIcon = {\"name\":\"image\",\"body\":\"<rect x=\\\"3.5\\\" y=\\\"4.5\\\" width=\\\"17\\\" height=\\\"15\\\" rx=\\\"2.5\\\"/><circle cx=\\\"9\\\" cy=\\\"10\\\" r=\\\"1.8\\\"/><path d=\\\"M3.5 17.5l5.5-5 4 3.5 2.5-2 5 4\\\"/>\",\"solid\":true,\"categories\":[\"foundation\"]} as RegisteredIcon;\nexport const ICON_INFO_CIRCLE: RegisteredIcon = {\"name\":\"info-circle\",\"body\":\"<circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"8.5\\\"/><path d=\\\"M12 11.2v5\\\"/><path d=\\\"M12 8h.01\\\"/>\",\"solid\":true,\"categories\":[\"foundation\"],\"aliases\":[\"info-circle-mini\"]} as RegisteredIcon;\nexport const ICON_ITALIC: RegisteredIcon = {\"name\":\"italic\",\"body\":\"<path d=\\\"M10 4.5h7M7 19.5h7M14.5 4.5l-5 15\\\"/>\",\"categories\":[\"text-edit\"]} as RegisteredIcon;\nexport const ICON_KEY: RegisteredIcon = {\"name\":\"key\",\"body\":\"<circle cx=\\\"7.5\\\" cy=\\\"16.5\\\" r=\\\"3.5\\\"/><path d=\\\"M10 14L20 4M16 8l2.5 2.5M13.5 10.5l2 2\\\"/>\",\"solid\":true,\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_KEYBOARD: RegisteredIcon = {\"name\":\"keyboard\",\"body\":\"<rect x=\\\"2.5\\\" y=\\\"6\\\" width=\\\"19\\\" height=\\\"12\\\" rx=\\\"2.5\\\"/><path d=\\\"M6.5 10h.01M10.5 10h.01M14.5 10h.01M17.5 10h.01M8 14.5h8\\\"/>\",\"solid\":true,\"categories\":[\"technology\"]} as RegisteredIcon;\nexport const ICON_LINK: RegisteredIcon = {\"name\":\"link\",\"body\":\"<g transform=\\\"rotate(-45 12 12)\\\"><path d=\\\"M9 8.5H7a3.5 3.5 0 0 0 0 7h2\\\"/><path d=\\\"M15 8.5h2a3.5 3.5 0 0 1 0 7h-2\\\"/><path d=\\\"M9.5 12h5\\\"/></g>\",\"categories\":[\"technology\"]} as RegisteredIcon;\nexport const ICON_LIST: RegisteredIcon = {\"name\":\"list\",\"body\":\"<path d=\\\"M4 6h16M4 12h16M4 18h10\\\"/>\",\"solid\":true,\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_LOGIN: RegisteredIcon = {\"name\":\"login\",\"body\":\"<path d=\\\"M14 4.5h4a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2h-4\\\"/><path d=\\\"M3.5 12L14 12M10.82 15.18L14 12L10.82 8.82\\\"/>\",\"solid\":true,\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_MENU: RegisteredIcon = {\"name\":\"menu\",\"body\":\"<path d=\\\"M4 6.5h16M4 12h16M4 17.5h16\\\"/>\"} as RegisteredIcon;\nexport const ICON_MINUS: RegisteredIcon = {\"name\":\"minus\",\"body\":\"<path d=\\\"M5 12h14\\\"/>\",\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_NODE: RegisteredIcon = {\"name\":\"node\",\"body\":\"<polygon points=\\\"12 3.5 19.36 7.75 19.36 16.25 12 20.5 4.64 16.25 4.64 7.75\\\"/><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"2.5\\\"/>\",\"categories\":[\"technology\"]} as RegisteredIcon;\nexport const ICON_NUMBER_LIST: RegisteredIcon = {\"name\":\"number-list\",\"body\":\"<path d=\\\"M10 6.5h10M10 12h10M10 17.5h10M4.5 5.5l1.5-1.2V9M4.5 11.2a1.5 1.5 0 1 1 3 .5l-3 2.8h3M4.5 16.5h3l-1.5 1.5a1.5 1.5 0 1 1-1.5 2\\\"/>\",\"categories\":[\"text-edit\"]} as RegisteredIcon;\nexport const ICON_PAUSE: RegisteredIcon = {\"name\":\"pause\",\"body\":\"<rect x=\\\"6.5\\\" y=\\\"5.5\\\" width=\\\"4\\\" height=\\\"13\\\" rx=\\\"1.2\\\"/><rect x=\\\"13.5\\\" y=\\\"5.5\\\" width=\\\"4\\\" height=\\\"13\\\" rx=\\\"1.2\\\"/>\",\"solid\":true,\"categories\":[\"media\"]} as RegisteredIcon;\nexport const ICON_PENCIL: RegisteredIcon = {\"name\":\"pencil\",\"body\":\"<path d=\\\"M4.5 19.5l.8-4.3L16 4.5a2 2 0 0 1 2.8 0l.7.7a2 2 0 0 1 0 2.8L8.8 18.7z\\\"/><path d=\\\"M13.5 7l3.5 3.5\\\"/>\",\"solid\":true,\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_PIN: RegisteredIcon = {\"name\":\"pin\",\"body\":\"<path d=\\\"M9 4h6l-.7 6 2.7 3.5H7L9.7 10z\\\"/><path d=\\\"M12 13.5V20.5\\\"/>\",\"solid\":true,\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_PLAY: RegisteredIcon = {\"name\":\"play\",\"body\":\"<polygon points=\\\"8 5.5 18.5 12 8 18.5\\\"/>\",\"solid\":true,\"categories\":[\"media\"]} as RegisteredIcon;\nexport const ICON_PLUS: RegisteredIcon = {\"name\":\"plus\",\"body\":\"<path d=\\\"M12 5v14M5 12h14\\\"/>\",\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_REDO: RegisteredIcon = {\"name\":\"redo\",\"body\":\"<path d=\\\"M20 9H10a5.5 5.5 0 0 0 0 11h3\\\"/><path d=\\\"M16 5.5L19.5 9 16 12.5\\\"/>\",\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_REFRESH: RegisteredIcon = {\"name\":\"refresh\",\"body\":\"<path d=\\\"M18.5 8.25A7.5 7.5 0 1 1 10.06 4.76\\\"/><path d=\\\"M7.54 7.86L10.06 4.76L6.32 3.32\\\"/>\",\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_ROTATE_LEFT: RegisteredIcon = {\"name\":\"rotate-left\",\"body\":\"<rect x=\\\"10.5\\\" y=\\\"10\\\" width=\\\"10\\\" height=\\\"10.5\\\" rx=\\\"2\\\"/><path d=\\\"M16 5.5h-4a6.5 6.5 0 0 0-6.5 6.5v3\\\"/><path d=\\\"M8 12.5l-2.5 2.5-2.5-2.5\\\"/>\",\"aliases\":[\"rotate-ccw\"],\"solid\":true,\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_ROTATE_RIGHT: RegisteredIcon = {\"name\":\"rotate-right\",\"body\":\"<rect x=\\\"3.5\\\" y=\\\"10\\\" width=\\\"10\\\" height=\\\"10.5\\\" rx=\\\"2\\\"/><path d=\\\"M8 5.5h4a6.5 6.5 0 0 1 6.5 6.5v3\\\"/><path d=\\\"M16 12.5l2.5 2.5 2.5-2.5\\\"/>\",\"aliases\":[\"rotate-cw\"],\"solid\":true,\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_SEARCH: RegisteredIcon = {\"name\":\"search\",\"body\":\"<circle cx=\\\"10.5\\\" cy=\\\"10.5\\\" r=\\\"6.5\\\"/><path d=\\\"M15.5 15.5l5 5\\\"/>\",\"categories\":[\"foundation\"]} as RegisteredIcon;\nexport const ICON_STAR: RegisteredIcon = {\"name\":\"star\",\"body\":\"<polygon points=\\\"12 3.5 14.3 8.84 20.08 9.37 15.72 13.21 17 18.88 12 15.91 7 18.88 8.28 13.21 3.92 9.37 9.7 8.84\\\"/>\",\"solid\":true,\"categories\":[\"social\"],\"aliases\":[\"star-fill\",\"empty-star\",\"full-star\"]} as RegisteredIcon;\nexport const ICON_STEP_FORWARD_2: RegisteredIcon = {\"name\":\"step-forward-2\",\"body\":\"<path d=\\\"M4.500 6l7 6-7 6z\\\"/><path d=\\\"M12.500 6l7 6-7 6z\\\"/>\",\"categories\":[\"foundation\"]} as RegisteredIcon;\nexport const ICON_STRIKETHROUGH: RegisteredIcon = {\"name\":\"strikethrough\",\"body\":\"<path d=\\\"M4 12h16\\\"/><path d=\\\"M16.500 7c-.6-1.500-2.300-2.500-4.500-2.500-2.500 0-4 1.200-4 3 0 1.300.8 2.200 2 2.700M8 16.500c.7 1.700 2.400 2.800 4.500 2.800 2.600 0 4.200-1.300 4.200-3.200 0-1-.5-1.800-1.300-2.300\\\"/>\",\"categories\":[\"text-edit\"]} as RegisteredIcon;\nexport const ICON_SUCCESS_STANDARD: RegisteredIcon = {\"name\":\"success-standard\",\"body\":\"<circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"8.5\\\"/><path d=\\\"M8 12.500l2.800 2.800L16 9.500\\\"/>\",\"solid\":true,\"categories\":[\"foundation\"]} as RegisteredIcon;\nexport const ICON_TEXT: RegisteredIcon = {\"name\":\"text\",\"body\":\"<path d=\\\"M5 6.5V4.5h14v2M12 4.5v15M9.5 19.5h5\\\"/>\",\"categories\":[\"text-edit\"]} as RegisteredIcon;\nexport const ICON_TIMES: RegisteredIcon = {\"name\":\"times\",\"body\":\"<path d=\\\"M5.5 5.5l13 13M18.5 5.5l-13 13\\\"/>\",\"categories\":[\"foundation\"],\"aliases\":[\"times-mini\"]} as RegisteredIcon;\nexport const ICON_TIMES_CIRCLE: RegisteredIcon = {\"name\":\"times-circle\",\"body\":\"<circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"8.5\\\"/><path d=\\\"M9 9l6 6M15 9l-6 6\\\"/>\",\"solid\":true,\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_TOOLS: RegisteredIcon = {\"name\":\"tools\",\"body\":\"<path d=\\\"M14.5 4a4.5 4.5 0 0 0-4.2 6L4 16.3a1.9 1.9 0 0 0 2.7 2.7L13 12.7a4.5 4.5 0 0 0 6.2-4.4L16.5 11l-2.7-.7-.8-2.8z\\\"/><path d=\\\"M4 4l4.4 4.4\\\"/><path d=\\\"M16.71 14.59l3.2 3.2a1.5 1.5 0 0 1-2.12 2.12l-3.2-3.2a1.5 1.5 0 0 1 2.12-2.12z\\\"/>\",\"solid\":true,\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_TRASH: RegisteredIcon = {\"name\":\"trash\",\"body\":\"<path d=\\\"M5 7h14\\\"/><path d=\\\"M9 7V5h6v2\\\"/><path d=\\\"M7 7l.8 12.5h8.4L17 7z\\\"/><path d=\\\"M10.5 11v5M13.5 11v5\\\"/>\",\"solid\":true,\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_UNDERLINE: RegisteredIcon = {\"name\":\"underline\",\"body\":\"<path d=\\\"M7 4.5v7a5 5 0 0 0 10 0v-7M5 20h14\\\"/>\",\"categories\":[\"text-edit\"]} as RegisteredIcon;\nexport const ICON_UNDO: RegisteredIcon = {\"name\":\"undo\",\"body\":\"<path d=\\\"M8.5 5L4.5 9l4 4\\\"/><path d=\\\"M4.5 9h9a5.5 5.5 0 0 1 0 11H10\\\"/>\",\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_UPLOAD: RegisteredIcon = {\"name\":\"upload\",\"body\":\"<path d=\\\"M12 15V4.5M7.5 9L12 4.5 16.5 9M4.5 15v3.5a1 1 0 0 0 1 1h13a1 1 0 0 0 1-1V15\\\"/>\",\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_USER: RegisteredIcon = {\"name\":\"user\",\"body\":\"<circle cx=\\\"12\\\" cy=\\\"8\\\" r=\\\"3.5\\\"/><path d=\\\"M5 20c.8-3.6 3.8-5.5 7-5.5s6.2 1.9 7 5.5\\\"/>\",\"solid\":true,\"categories\":[\"foundation\"]} as RegisteredIcon;\nexport const ICON_VIEW_COLUMNS: RegisteredIcon = {\"name\":\"view-columns\",\"body\":\"<rect x=\\\"3.5\\\" y=\\\"4\\\" width=\\\"17\\\" height=\\\"16\\\" rx=\\\"2.5\\\"/><path d=\\\"M9.2 4v16M14.8 4v16\\\"/>\",\"categories\":[\"foundation\"]} as RegisteredIcon;\nexport const ICON_VIEW_LIST: RegisteredIcon = {\"name\":\"view-list\",\"body\":\"<path d=\\\"M5 6.5h.01\\\"/><path d=\\\"M5 12h.01\\\"/><path d=\\\"M5 17.5h.01\\\"/><path d=\\\"M9 6.5h11.5M9 12h11.5M9 17.5h11.5\\\"/>\",\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_WINDOW_MAX: RegisteredIcon = {\"name\":\"window-max\",\"body\":\"<rect x=\\\"3.5\\\" y=\\\"3.5\\\" width=\\\"17\\\" height=\\\"17\\\" rx=\\\"2.5\\\"/><path d=\\\"M13 11l4-4M13.5 7H17v3.5M11 13l-4 4M10.5 17H7v-3.5\\\"/>\",\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_WINDOW_MIN: RegisteredIcon = {\"name\":\"window-min\",\"body\":\"<rect x=\\\"4\\\" y=\\\"4\\\" width=\\\"16\\\" height=\\\"16\\\" rx=\\\"2.5\\\"/><path d=\\\"M8.5 15.5h7\\\"/>\",\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_WINDOW_RESTORE: RegisteredIcon = {\"name\":\"window-restore\",\"body\":\"<rect x=\\\"4\\\" y=\\\"8\\\" width=\\\"12\\\" height=\\\"12\\\" rx=\\\"2\\\"/><path d=\\\"M8 8V6a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2\\\"/>\",\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_ZOOM_IN: RegisteredIcon = {\"name\":\"zoom-in\",\"body\":\"<circle cx=\\\"10.5\\\" cy=\\\"10.5\\\" r=\\\"6.5\\\"/><path d=\\\"M15.5 15.5L20 20M8 10.5h5M10.5 8v5\\\"/>\",\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_ZOOM_OUT: RegisteredIcon = {\"name\":\"zoom-out\",\"body\":\"<circle cx=\\\"10.5\\\" cy=\\\"10.5\\\" r=\\\"6.5\\\"/><path d=\\\"M15.5 15.5L20 20M8 10.5h5\\\"/>\",\"categories\":[\"essential\"]} as RegisteredIcon;\n\n/** Todos os ícones internos (compatibilidade). Importar este array leva TODOS para o bundle; os\n * componentes não o usam — cada um registra só os seus (`<PASTA>_ICONS`). */\nexport const HERMES_INTERNAL_ICONS: readonly RegisteredIcon[] = [\n ICON_ANGLE,\n ICON_ANGLE_DOUBLE,\n ICON_ARROW,\n ICON_ARROWS_HORIZONTAL,\n ICON_BLOCK_QUOTE,\n ICON_BOLD,\n ICON_BOOKMARK,\n ICON_BULLET_LIST,\n ICON_CALENDAR,\n ICON_CHECK,\n ICON_CHECK_CIRCLE,\n ICON_CHECK_DOUBLE,\n ICON_CIRCLE,\n ICON_CLOCK,\n ICON_CLOUD_UP,\n ICON_CODE,\n ICON_CODE_BLOCK,\n ICON_COG,\n ICON_COPY,\n ICON_DETAIL_COLLAPSE,\n ICON_DETAIL_EXPAND,\n ICON_DOCUMENT_CSV,\n ICON_DOCUMENT_DOC,\n ICON_DOCUMENT_IMAGE,\n ICON_DOCUMENT_PDF,\n ICON_DOCUMENTS_EXCEL,\n ICON_DOWNLOAD,\n ICON_DRAG_HANDLE,\n ICON_ELLIPSIS_HORIZONTAL,\n ICON_ELLIPSIS_VERTICAL,\n ICON_ERASER,\n ICON_ERROR_STANDARD,\n ICON_EXCLAMATION_CIRCLE,\n ICON_EXCLAMATION_TRIANGLE,\n ICON_EYE,\n ICON_EYE_HIDE,\n ICON_FILE,\n ICON_FILE_TEXT,\n ICON_FILE_ZIP,\n ICON_FILTER_GRID,\n ICON_FILTER_GRID_CIRCLE,\n ICON_GRID,\n ICON_IMAGE,\n ICON_INFO_CIRCLE,\n ICON_ITALIC,\n ICON_KEY,\n ICON_KEYBOARD,\n ICON_LINK,\n ICON_LIST,\n ICON_LOGIN,\n ICON_MENU,\n ICON_MINUS,\n ICON_NODE,\n ICON_NUMBER_LIST,\n ICON_PAUSE,\n ICON_PENCIL,\n ICON_PIN,\n ICON_PLAY,\n ICON_PLUS,\n ICON_REDO,\n ICON_REFRESH,\n ICON_ROTATE_LEFT,\n ICON_ROTATE_RIGHT,\n ICON_SEARCH,\n ICON_STAR,\n ICON_STEP_FORWARD_2,\n ICON_STRIKETHROUGH,\n ICON_SUCCESS_STANDARD,\n ICON_TEXT,\n ICON_TIMES,\n ICON_TIMES_CIRCLE,\n ICON_TOOLS,\n ICON_TRASH,\n ICON_UNDERLINE,\n ICON_UNDO,\n ICON_UPLOAD,\n ICON_USER,\n ICON_VIEW_COLUMNS,\n ICON_VIEW_LIST,\n ICON_WINDOW_MAX,\n ICON_WINDOW_MIN,\n ICON_WINDOW_RESTORE,\n ICON_ZOOM_IN,\n ICON_ZOOM_OUT,\n];\n","import { EnvironmentProviders, provideEnvironmentInitializer } from '@angular/core';\nimport { RegisteredIcon, loadIcons, registerIcons } from '@trismegisto/primitives';\n\n/**\n * Registra ícones no bootstrap — um catálogo só, nenhum vem embutido de graça.\n * Pro caso comum de \"quero tudo\": `provideHermesIcons(HERMES_ICONS)`,\n * de `@trismegisto/icons/catalog` — não tem mais como esquecer de registrar um acervo específico\n * (não existem mais acervos separados pra esquecer). Pra tree-shaking de verdade (só os ícones que\n * usa, não ~900 definições), importe os ícones nomeados que precisa do mesmo `/catalog` em vez do\n * bundle `HERMES_ICONS` inteiro.\n */\nexport function provideHermesIcons(...items: (RegisteredIcon | readonly RegisteredIcon[])[]): EnvironmentProviders {\n return provideEnvironmentInitializer(() => registerIcons(...items));\n}\n\n/**\n * Registra ícones vindos de um carregador assíncrono, **fora do bundle inicial** — o caso do catálogo\n * inteiro (~1,5 MB sem compressão), que vira um chunk à parte baixado logo depois do bootstrap:\n *\n * ```ts\n * provideHermesIconLoader(() => import('@trismegisto/icons/catalog').then((m) => m.HERMES_ICONS))\n * ```\n *\n * Os ícones dos próprios componentes já vêm registrados; até o catálogo chegar, um ícone do app ainda\n * desconhecido aparece como o genérico e é redesenhado sozinho quando o chunk carrega.\n */\nexport function provideHermesIconLoader(\n loader: () => Promise<RegisteredIcon | readonly RegisteredIcon[]>,\n): EnvironmentProviders {\n return provideEnvironmentInitializer(() => void loadIcons(loader));\n}\n","import { RegisteredIcon, registerIcons } from '@trismegisto/primitives';\n\n/**\n * Registra os ícones que um componente da lib usa por dentro — chamado num campo, no começo da classe:\n * `readonly #icons = useHermesIcons(MODAL_ICONS);` (o conjunto vem do `icons.generated.ts` da pasta,\n * gerado por `scripts/generate-internal-icons.mjs`). Assim cada componente leva para o bundle só os\n * ícones dele; num campo (e não no nível do módulo) para continuar descartável pelo tree-shaking.\n * Repetir o registro (várias instâncias, ou o app registrando o catálogo) é silencioso.\n */\nexport function useHermesIcons(icons: readonly RegisteredIcon[]): void {\n registerIcons(icons);\n}\n","// Ponto de import `@trismegisto/angular/icon` (secundário do ng-packagr): o que o public-api e as outras pastas usam\n// daqui. Gerado em 2026-10-03; ao criar arquivo público novo na pasta, acrescente a linha.\nexport * from './icon.component';\nexport * from './internal-icons.generated';\nexport * from './provide-icons';\nexport * from './use-hermes-icons';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AASA,IAAI,SAAS,GAAG,KAAK;AACrB;AAC6F;AAC7F,MAAM,YAAY,GAAG,MAAM,CAAC,CAAC,mFAAC;AAC9B,SAAS,qBAAqB,GAAA;AAC5B,IAAA,IAAI,SAAS;QAAE;IACf,SAAS,GAAG,IAAI;AAChB,IAAA,iBAAiB,CAAC,MAAM,YAAY,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;AAC5D;AAEA,MAAM,KAAK,GAAqC,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE;AAE9G;;;;;;;;;;;;;;;;;;AAkBG;MAcU,aAAa,CAAA;AACP,IAAA,SAAS,GAAG,MAAM,CAAC,YAAY,CAAC;AAEjD,IAAA,WAAA,GAAA;AACE,QAAA,qBAAqB,EAAE;IACzB;AAES,IAAA,KAAK,GAAG,KAAK,CAAC,QAAQ,2EAAU;;AAEhC,IAAA,SAAS,GAAG,KAAK,CAAqC,EAAE,gFAAC;AACzD,IAAA,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;AACG,SAAU,cAAc,CAAC,KAAgC,EAAA;IAC7D,aAAa,CAAC,KAAK,CAAC;AACtB;;ACXA;AACA;;ACDA;;AAEG;;"}
|
|
1
|
+
{"version":3,"file":"trismegisto-angular-icon.mjs","sources":["../../src/icon/icon.component.ts","../../src/icon/internal-icons.generated.ts","../../src/icon/provide-icons.ts","../../src/icon/use-hermes-icons.ts","../../src/icon/index.ts","../../src/icon/trismegisto-angular-icon.ts"],"sourcesContent":["import { booleanAttribute, ChangeDetectionStrategy, Component, computed, inject, input, signal } from '@angular/core';\nimport { DomSanitizer } from '@angular/platform-browser';\nimport { IconBadge, isDirectionalIcon, onIconsRegistered, renderIconSvg } from '@trismegisto/primitives';\n\nexport type IconSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | number | (string & {});\nexport type IconStatus = 'info' | 'success' | 'warning' | 'danger' | 'neutral';\nexport type IconDirection = 'up' | 'down' | 'left' | 'right';\nexport type IconFlip = 'horizontal' | 'vertical';\n\nlet listening = false;\n/** Muda a cada registro de ícones: um catálogo que chega depois (`provideHermesIconLoader`) ou os ícones\n * de um componente registrados depois redesenham os `hm-icon` que estavam com o genérico. */\nconst iconsVersion = signal(0);\nfunction listenIconsRegistered(): void {\n if (listening) return;\n listening = true;\n onIconsRegistered(() => iconsVersion.update((v) => v + 1));\n}\n\nconst SIZES: Readonly<Record<string, string>> = { xs: '12px', sm: '16px', md: '24px', lg: '32px', xl: '48px' };\n\n/**\n * Ícone SVG inline (dados de @trismegisto/icons, `currentColor`). Nome desconhecido cai num ícone\n * genérico em vez de quebrar. O HTML é gerado só a partir dos dados estáticos da lib.\n *\n * O tamanho padrão é `1em` (herda o `font-size`); `size` aceita `xs|sm|md|lg|xl`, um número (px) ou\n * qualquer comprimento CSS. `solid` e `badge` escolhem a variante (se o ícone tiver); `status` colore o\n * ícone; `direction` gira (os ícones são desenhados apontando para cima: os direcionais `arrow`, `angle` e\n * `angle-double`, e os nomes por direção como `angle-left`, giram no próprio desenho; os demais, por CSS);\n * `flip` espelha.\n * Sem `label` o ícone é decorativo (`aria-hidden`); com `label` vira `role=\"img\"`.\n *\n * Registro: o `hm-icon` só desenha o que estiver registrado — ele não registra conjunto nenhum (o\n * genérico é fixo em `render.ts`). Os ícones que cada componente da lib usa por dentro (o X do modal, as\n * setas do paginador...) são registrados pelo próprio componente na construção\n * (`useHermesIcons(<PASTA>_ICONS)`, gerado por `scripts/generate-internal-icons.mjs`), então o bundle de\n * quem usa só o `hm-button` não leva os ícones dos outros. Ícone escolhido pelo app (`shape` dinâmico,\n * `[icon]` de botão) é o app que registra: `registerIcons(...)`, `provideHermesIcons(...)` ou\n * `provideHermesIconLoader(...)`.\n */\n@Component({\n selector: 'hm-icon',\n template: '',\n host: {\n '[innerHTML]': 'svg()',\n '[class]': 'classes()',\n '[style.--hm-icon-size]': 'sizeValue()',\n '[attr.role]': 'label() ? \"img\" : null',\n '[attr.aria-label]': 'label() || null',\n '[attr.aria-hidden]': 'label() ? null : \"true\"',\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class IconComponent {\n private readonly sanitizer = inject(DomSanitizer);\n\n constructor() {\n listenIconsRegistered();\n }\n\n readonly shape = input.required<string>();\n /** 'left' | 'right' | 'up' | 'down'. Gira o desenho, que aponta para cima. */\n readonly direction = input<IconDirection | '' | (string & {})>('');\n readonly size = input<IconSize | null>(null);\n readonly solid = input(false, { transform: booleanAttribute });\n readonly badge = input<IconBadge | null>(null);\n readonly status = input<IconStatus | null>(null);\n readonly flip = input<IconFlip | null>(null);\n readonly inverse = input(false, { transform: booleanAttribute });\n /** Nome acessível. Vazio = decorativo. */\n readonly label = input('');\n\n protected readonly svg = computed(() => {\n iconsVersion();\n return this.sanitizer.bypassSecurityTrustHtml(\n renderIconSvg(this.shape(), {\n direction: this.direction(),\n solid: this.solid(),\n badge: this.badge() ?? undefined,\n }),\n );\n });\n\n protected readonly sizeValue = computed(() => {\n const size = this.size();\n if (size === null || size === '') return null;\n if (typeof size === 'number') return `${size}px`;\n return SIZES[size] ?? (/^\\d+(\\.\\d+)?$/.test(size) ? `${size}px` : size);\n });\n\n protected readonly classes = computed(() => {\n const parts: string[] = [];\n const status = this.status();\n const badge = this.badge();\n const direction = this.direction();\n if (status) parts.push(`hm-icon--status-${status}`);\n if (this.inverse()) parts.push('hm-icon--inverse');\n if (badge) parts.push(`hm-icon--badge-${badge === true ? 'inherit' : badge}`);\n // Os direcionais giram dentro do SVG (`renderIconSvg`); os demais, pela classe.\n if (direction && direction !== 'up' && !isDirectionalIcon(this.shape())) {\n parts.push(`hm-icon--dir-${direction}`);\n }\n if (this.flip()) parts.push(`hm-icon--flip-${this.flip()}`);\n return parts.join(' ');\n });\n}\n","// GERADO por scripts/generate-internal-icons.mjs — não editar à mão.\n// Ícones que os componentes do @trismegisto/angular usam por dentro, um export por ícone (tree-shakable).\n// Cada pasta de componente importa os seus em `icons.generated.ts` e os registra com `useHermesIcons`.\n// Dados embutidos (não importados do catálogo) — ver o cabeçalho do gerador.\nimport type { RegisteredIcon } from '@trismegisto/icons';\n\nexport const ICON_ANGLE: RegisteredIcon = {\"name\":\"angle\",\"body\":\"<path d=\\\"M6.5 14.5l5.5-5.5 5.5 5.5\\\"/>\",\"categories\":[\"foundation\"]} as RegisteredIcon;\nexport const ICON_ANGLE_DOUBLE: RegisteredIcon = {\"name\":\"angle-double\",\"body\":\"<path d=\\\"M6.5 12.5l5.5-5.5 5.5 5.5M6.5 18.5l5.5-5.5 5.5 5.5\\\"/>\",\"categories\":[\"foundation\"]} as RegisteredIcon;\nexport const ICON_ARROW: RegisteredIcon = {\"name\":\"arrow\",\"body\":\"<path d=\\\"M12 19V5M8.1 8.9L12 5l3.9 3.9\\\"/>\",\"categories\":[\"foundation\"],\"aliases\":[\"arrow-mini\"]} as RegisteredIcon;\nexport const ICON_ARROWS_HORIZONTAL: RegisteredIcon = {\"name\":\"arrows-horizontal\",\"body\":\"<path d=\\\"M3.5 12h17M7 8.5L3.5 12 7 15.5M17 8.5l3.5 3.5-3.5 3.5\\\"/>\"} as RegisteredIcon;\nexport const ICON_BLOCK_QUOTE: RegisteredIcon = {\"name\":\"block-quote\",\"body\":\"<path d=\\\"M4 4v16\\\"/><path d=\\\"M8.5 10V7h3v3c0 1.2-.6 2-1.5 2.5M14 10V7h3v3c0 1.2-.6 2-1.5 2.5\\\"/><path d=\\\"M8.5 17h11\\\"/>\",\"categories\":[\"text-edit\"]} as RegisteredIcon;\nexport const ICON_BOLD: RegisteredIcon = {\"name\":\"bold\",\"body\":\"<path d=\\\"M7 4.5h6a3.25 3.25 0 0 1 0 6.5H7zM7 11h7.5a3.75 3.75 0 0 1 0 7.5H7z\\\"/>\",\"categories\":[\"text-edit\"]} as RegisteredIcon;\nexport const ICON_BOOKMARK: RegisteredIcon = {\"name\":\"bookmark\",\"body\":\"<path d=\\\"M6.5 4.5a1 1 0 0 1 1-1h9a1 1 0 0 1 1 1v16l-5.5-4-5.5 4z\\\"/>\",\"solid\":true,\"categories\":[\"social\"]} as RegisteredIcon;\nexport const ICON_BULLET_LIST: RegisteredIcon = {\"name\":\"bullet-list\",\"body\":\"<path d=\\\"M9.5 6.5H20M9.5 12H20M9.5 17.5H20M4.5 6.5h.01M4.5 12h.01M4.5 17.5h.01\\\"/>\",\"categories\":[\"text-edit\"]} as RegisteredIcon;\nexport const ICON_CALENDAR: RegisteredIcon = {\"name\":\"calendar\",\"body\":\"<rect x=\\\"4\\\" y=\\\"5.5\\\" width=\\\"16\\\" height=\\\"14\\\" rx=\\\"2.5\\\"/><path d=\\\"M4 10h16M8.5 3.5v4M15.5 3.5v4\\\"/>\",\"solid\":true,\"categories\":[\"foundation\",\"social\"],\"aliases\":[\"calendar-mini\"]} as RegisteredIcon;\nexport const ICON_CHECK: RegisteredIcon = {\"name\":\"check\",\"body\":\"<path d=\\\"M5 12.5l4.5 4.5L19 7.5\\\"/>\",\"categories\":[\"foundation\"],\"aliases\":[\"check-mini\"]} as RegisteredIcon;\nexport const ICON_CHECK_CIRCLE: RegisteredIcon = {\"name\":\"check-circle\",\"body\":\"<circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"8.5\\\"/><path d=\\\"M8 12.3l2.8 2.8 5.2-5.6\\\"/>\",\"solid\":true,\"categories\":[\"foundation\"],\"aliases\":[\"check-circle-mini\"]} as RegisteredIcon;\nexport const ICON_CHECK_DOUBLE: RegisteredIcon = {\"name\":\"check-double\",\"body\":\"<path d=\\\"M2.5 12.5l4.5 4.5L17 7\\\"/><path d=\\\"M13 16l1 1 7.5-7.5\\\"/>\",\"categories\":[\"foundation\"]} as RegisteredIcon;\nexport const ICON_CIRCLE: RegisteredIcon = {\"name\":\"circle\",\"body\":\"<circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"8.5\\\"/>\",\"solid\":true,\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_CLOCK: RegisteredIcon = {\"name\":\"clock\",\"body\":\"<circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"8.5\\\"/><path d=\\\"M12 7.5V12l3 2\\\"/>\",\"solid\":true,\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_CLOUD_UP: RegisteredIcon = {\"name\":\"cloud-up\",\"body\":\"<path d=\\\"M7.5 18.5a4.5 4.5 0 0 1-.7-8.95 5.7 5.7 0 0 1 11 1.4 3.8 3.8 0 0 1-.8 7.55z\\\"/><path d=\\\"M12 17v-5.5M9.5 14l2.5-2.5 2.5 2.5\\\"/>\"} as RegisteredIcon;\nexport const ICON_CODE: RegisteredIcon = {\"name\":\"code\",\"body\":\"<path d=\\\"M8.5 7l-5 5 5 5M15.5 7l5 5-5 5\\\"/>\",\"categories\":[\"technology\"]} as RegisteredIcon;\nexport const ICON_CODE_BLOCK: RegisteredIcon = {\"name\":\"code-block\",\"body\":\"<rect x=\\\"3\\\" y=\\\"4\\\" width=\\\"18\\\" height=\\\"16\\\" rx=\\\"2.5\\\"/><path d=\\\"M9.5 9l-3 3 3 3M14.5 9l3 3-3 3\\\"/>\",\"solid\":true,\"categories\":[\"text-edit\",\"technology\"]} as RegisteredIcon;\nexport const ICON_COG: RegisteredIcon = {\"name\":\"cog\",\"body\":\"<path d=\\\"M9.73 5.91L10.23 3.69L13.77 3.69L14.27 5.91L16.14 6.99L18.32 6.31L20.08 9.37L18.41 10.92L18.41 13.08L20.08 14.63L18.32 17.69L16.14 17.01L14.27 18.09L13.77 20.31L10.23 20.31L9.73 18.09L7.86 17.01L5.68 17.69L3.92 14.63L5.59 13.08L5.59 10.92L3.92 9.37L5.68 6.31L7.86 6.99Z\\\"/><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"2.5\\\"/>\",\"solid\":true,\"categories\":[\"foundation\"]} as RegisteredIcon;\nexport const ICON_COPY: RegisteredIcon = {\"name\":\"copy\",\"body\":\"<rect x=\\\"9\\\" y=\\\"7\\\" width=\\\"11\\\" height=\\\"13.5\\\" rx=\\\"2\\\"/><path d=\\\"M12 12h5M12 15.5h5M15 7V5.5a2 2 0 0 0-2-2H6.5a2 2 0 0 0-2 2V16a2 2 0 0 0 2 2H9\\\"/>\",\"solid\":true,\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_DETAIL_COLLAPSE: RegisteredIcon = {\"name\":\"detail-collapse\",\"body\":\"<path d=\\\"M8 4.5l4 4 4-4M8 19.5l4-4 4 4M4 12h16\\\"/>\",\"categories\":[\"foundation\"]} as RegisteredIcon;\nexport const ICON_DETAIL_EXPAND: RegisteredIcon = {\"name\":\"detail-expand\",\"body\":\"<path d=\\\"M8 8l4-4 4 4M8 16l4 4 4-4M4 12h16\\\"/>\",\"categories\":[\"foundation\"]} as RegisteredIcon;\nexport const ICON_DOCUMENT_CSV: RegisteredIcon = {\"name\":\"document-csv\",\"body\":\"<path d=\\\"M7.5 3.5h6l4.5 4.5v11.5a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 6 19.5v-14A1.5 1.5 0 0 1 7.5 3.5z\\\"/><path d=\\\"M13.5 3.5V8H18\\\"/><path d=\\\"M8.5 13h2.5M13 13h2.5M12.1 13.3l-.5 1.5M8.5 17.3h2.5M13 17.3h2.5M12.1 17.6l-.5 1.5\\\"/>\"} as RegisteredIcon;\nexport const ICON_DOCUMENT_DOC: RegisteredIcon = {\"name\":\"document-doc\",\"body\":\"<path d=\\\"M7.5 3.5h6l4.5 4.5v11.5a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 6 19.5v-14A1.5 1.5 0 0 1 7.5 3.5z\\\"/><path d=\\\"M13.5 3.5V8H18\\\"/><path d=\\\"M9 12h6M9 15h6M9 18h3\\\"/>\"} as RegisteredIcon;\nexport const ICON_DOCUMENT_IMAGE: RegisteredIcon = {\"name\":\"document-image\",\"body\":\"<path d=\\\"M7.5 3.5h6l4.5 4.5v11.5a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 6 19.5v-14A1.5 1.5 0 0 1 7.5 3.5z\\\"/><path d=\\\"M13.5 3.5V8H18\\\"/><path d=\\\"M8 19l3-3.5 2.2 2.2 1.3-1.3L16.5 19\\\"/><path d=\\\"M14.5 12.5h.01\\\"/>\"} as RegisteredIcon;\nexport const ICON_DOCUMENT_PDF: RegisteredIcon = {\"name\":\"document-pdf\",\"body\":\"<path d=\\\"M7.5 3.5h6l4.5 4.5v11.5a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 6 19.5v-14A1.5 1.5 0 0 1 7.5 3.5z\\\"/><path d=\\\"M13.5 3.5V8H18\\\"/><path d=\\\"M9 18.5c2-1 3.5-3.5 3.5-5.5 0-1.2-1.3-1.2-1.3 0 0 2 2.5 4.2 4.3 4.5\\\"/>\",\"categories\":[\"technology\"]} as RegisteredIcon;\nexport const ICON_DOCUMENTS_EXCEL: RegisteredIcon = {\"name\":\"documents-excel\",\"body\":\"<path d=\\\"M8.5 6.5V5A1.5 1.5 0 0 1 10 3.5h8A1.5 1.5 0 0 1 19.5 5v10a1.5 1.5 0 0 1-1.5 1.5h-2.5\\\"/><rect x=\\\"4.5\\\" y=\\\"6.5\\\" width=\\\"11\\\" height=\\\"14\\\" rx=\\\"1.5\\\"/><rect x=\\\"7\\\" y=\\\"10\\\" width=\\\"6\\\" height=\\\"7\\\" rx=\\\"0.8\\\"/><path d=\\\"M7 13.5h6M10 10v7\\\"/>\"} as RegisteredIcon;\nexport const ICON_DOWNLOAD: RegisteredIcon = {\"name\":\"download\",\"body\":\"<path d=\\\"M12 4v11M7.5 10.5l4.5 4.5 4.5-4.5M5 16v3.5h14V16\\\"/>\",\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_DRAG_HANDLE: RegisteredIcon = {\"name\":\"drag-handle\",\"body\":\"<path d=\\\"M5 9h14M5 15h14\\\"/>\",\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_ELLIPSIS_HORIZONTAL: RegisteredIcon = {\"name\":\"ellipsis-horizontal\",\"body\":\"<path d=\\\"M5.5 12h.01\\\"/><path d=\\\"M12 12h.01\\\"/><path d=\\\"M18.5 12h.01\\\"/>\",\"categories\":[\"foundation\"]} as RegisteredIcon;\nexport const ICON_ELLIPSIS_VERTICAL: RegisteredIcon = {\"name\":\"ellipsis-vertical\",\"body\":\"<path d=\\\"M12 5.5h.01\\\"/><path d=\\\"M12 12h.01\\\"/><path d=\\\"M12 18.5h.01\\\"/>\",\"categories\":[\"foundation\"]} as RegisteredIcon;\nexport const ICON_ERASER: RegisteredIcon = {\"name\":\"eraser\",\"body\":\"<polygon points=\\\"4.5 14.5 13 6 19 12 12 19 7.5 19\\\"/><path d=\\\"M8.5 10l6.5 6.5M12 19h8.5\\\"/>\",\"solid\":true,\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_ERROR_STANDARD: RegisteredIcon = {\"name\":\"error-standard\",\"body\":\"<polygon points=\\\"15.44 3.69 20.31 8.56 20.31 15.44 15.44 20.31 8.56 20.31 3.69 15.44 3.69 8.56 8.56 3.69\\\"/><path d=\\\"M12 7.5v5.5\\\"/><path d=\\\"M12 16.5h.01\\\"/>\",\"solid\":true,\"categories\":[\"foundation\"],\"aliases\":[\"error-mini\"]} as RegisteredIcon;\nexport const ICON_EXCLAMATION_CIRCLE: RegisteredIcon = {\"name\":\"exclamation-circle\",\"body\":\"<circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"8.5\\\"/><path d=\\\"M12 7.5v5\\\"/><path d=\\\"M12 16h.01\\\"/>\",\"solid\":true,\"categories\":[\"foundation\"]} as RegisteredIcon;\nexport const ICON_EXCLAMATION_TRIANGLE: RegisteredIcon = {\"name\":\"exclamation-triangle\",\"body\":\"<path d=\\\"M12 4l9 15.5H3z\\\"/><path d=\\\"M12 10v4\\\"/><path d=\\\"M12 17h.01\\\"/>\",\"solid\":true,\"categories\":[\"foundation\"]} as RegisteredIcon;\nexport const ICON_EYE: RegisteredIcon = {\"name\":\"eye\",\"body\":\"<path d=\\\"M2.5 12C5 7.5 8.5 6 12 6s7 1.5 9.5 6c-2.5 4.5-6 6-9.5 6s-7-1.5-9.5-6z\\\"/><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"2.8\\\"/>\",\"solid\":true,\"categories\":[\"foundation\"]} as RegisteredIcon;\nexport const ICON_EYE_HIDE: RegisteredIcon = {\"name\":\"eye-hide\",\"body\":\"<path d=\\\"M2.5 12C5 7.5 8.5 6 12 6s7 1.5 9.5 6c-2.5 4.5-6 6-9.5 6s-7-1.5-9.5-6z\\\"/><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"2.8\\\"/><path d=\\\"M4 4l16 16\\\"/>\",\"solid\":true,\"categories\":[\"foundation\"]} as RegisteredIcon;\nexport const ICON_FILE: RegisteredIcon = {\"name\":\"file\",\"body\":\"<path d=\\\"M7.5 3.5h6l4.5 4.5v11.5a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 6 19.5v-14A1.5 1.5 0 0 1 7.5 3.5z\\\"/><path d=\\\"M13.5 3.5V8H18\\\"/>\",\"solid\":true,\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_FILE_TEXT: RegisteredIcon = {\"name\":\"file-text\",\"body\":\"<path d=\\\"M7.5 3.5h6l4.5 4.5v11.5a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 6 19.5v-14A1.5 1.5 0 0 1 7.5 3.5z\\\"/><path d=\\\"M13.5 3.5V8H18\\\"/><path d=\\\"M9.5 12h5M9.5 15h5M9.5 18h2.5\\\"/>\",\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_FILE_ZIP: RegisteredIcon = {\"name\":\"file-zip\",\"body\":\"<path d=\\\"M7.5 3.5h6l4.5 4.5v11.5a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 6 19.5v-14A1.5 1.5 0 0 1 7.5 3.5z\\\"/><path d=\\\"M13.5 3.5V8H18\\\"/><path d=\\\"M11 10h2M11 12.5h2M11 15h2\\\"/><rect x=\\\"10.5\\\" y=\\\"16\\\" width=\\\"3\\\" height=\\\"3\\\" rx=\\\"0.8\\\"/>\",\"solid\":true,\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_FILTER: RegisteredIcon = {\"name\":\"filter\",\"body\":\"<path d=\\\"M4 5.5h16l-6 7.5v6l-4-2V13z\\\"/>\",\"solid\":true,\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_FILTER_GRID: RegisteredIcon = {\"name\":\"filter-grid\",\"body\":\"<path d=\\\"M4 4.5h16l-6 6.5v3l-4-1.5V11z\\\"/><path d=\\\"M7 19h.01\\\"/><path d=\\\"M12 19h.01\\\"/><path d=\\\"M17 19h.01\\\"/>\",\"solid\":true,\"categories\":[\"foundation\"],\"aliases\":[\"filter-grid-mini\"]} as RegisteredIcon;\nexport const ICON_GRID: RegisteredIcon = {\"name\":\"grid\",\"body\":\"<rect x=\\\"3.5\\\" y=\\\"3.5\\\" width=\\\"4\\\" height=\\\"4\\\" rx=\\\"1\\\"/><rect x=\\\"10\\\" y=\\\"3.5\\\" width=\\\"4\\\" height=\\\"4\\\" rx=\\\"1\\\"/><rect x=\\\"16.5\\\" y=\\\"3.5\\\" width=\\\"4\\\" height=\\\"4\\\" rx=\\\"1\\\"/><rect x=\\\"3.5\\\" y=\\\"10\\\" width=\\\"4\\\" height=\\\"4\\\" rx=\\\"1\\\"/><rect x=\\\"10\\\" y=\\\"10\\\" width=\\\"4\\\" height=\\\"4\\\" rx=\\\"1\\\"/><rect x=\\\"16.5\\\" y=\\\"10\\\" width=\\\"4\\\" height=\\\"4\\\" rx=\\\"1\\\"/><rect x=\\\"3.5\\\" y=\\\"16.5\\\" width=\\\"4\\\" height=\\\"4\\\" rx=\\\"1\\\"/><rect x=\\\"10\\\" y=\\\"16.5\\\" width=\\\"4\\\" height=\\\"4\\\" rx=\\\"1\\\"/><rect x=\\\"16.5\\\" y=\\\"16.5\\\" width=\\\"4\\\" height=\\\"4\\\" rx=\\\"1\\\"/>\"} as RegisteredIcon;\nexport const ICON_IMAGE: RegisteredIcon = {\"name\":\"image\",\"body\":\"<rect x=\\\"3.5\\\" y=\\\"4.5\\\" width=\\\"17\\\" height=\\\"15\\\" rx=\\\"2.5\\\"/><circle cx=\\\"9\\\" cy=\\\"10\\\" r=\\\"1.8\\\"/><path d=\\\"M3.5 17.5l5.5-5 4 3.5 2.5-2 5 4\\\"/>\",\"solid\":true,\"categories\":[\"foundation\"]} as RegisteredIcon;\nexport const ICON_INFO_CIRCLE: RegisteredIcon = {\"name\":\"info-circle\",\"body\":\"<circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"8.5\\\"/><path d=\\\"M12 11.2v5\\\"/><path d=\\\"M12 8h.01\\\"/>\",\"solid\":true,\"categories\":[\"foundation\"],\"aliases\":[\"info-circle-mini\"]} as RegisteredIcon;\nexport const ICON_ITALIC: RegisteredIcon = {\"name\":\"italic\",\"body\":\"<path d=\\\"M10 4.5h7M7 19.5h7M14.5 4.5l-5 15\\\"/>\",\"categories\":[\"text-edit\"]} as RegisteredIcon;\nexport const ICON_KEY: RegisteredIcon = {\"name\":\"key\",\"body\":\"<circle cx=\\\"7.5\\\" cy=\\\"16.5\\\" r=\\\"3.5\\\"/><path d=\\\"M10 14L20 4M16 8l2.5 2.5M13.5 10.5l2 2\\\"/>\",\"solid\":true,\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_KEYBOARD: RegisteredIcon = {\"name\":\"keyboard\",\"body\":\"<rect x=\\\"2.5\\\" y=\\\"6\\\" width=\\\"19\\\" height=\\\"12\\\" rx=\\\"2.5\\\"/><path d=\\\"M6.5 10h.01M10.5 10h.01M14.5 10h.01M17.5 10h.01M8 14.5h8\\\"/>\",\"solid\":true,\"categories\":[\"technology\"]} as RegisteredIcon;\nexport const ICON_LINK: RegisteredIcon = {\"name\":\"link\",\"body\":\"<g transform=\\\"rotate(-45 12 12)\\\"><path d=\\\"M9 8.5H7a3.5 3.5 0 0 0 0 7h2\\\"/><path d=\\\"M15 8.5h2a3.5 3.5 0 0 1 0 7h-2\\\"/><path d=\\\"M9.5 12h5\\\"/></g>\",\"categories\":[\"technology\"]} as RegisteredIcon;\nexport const ICON_LIST: RegisteredIcon = {\"name\":\"list\",\"body\":\"<path d=\\\"M4 6h16M4 12h16M4 18h10\\\"/>\",\"solid\":true,\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_LOGIN: RegisteredIcon = {\"name\":\"login\",\"body\":\"<path d=\\\"M14 4.5h4a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2h-4\\\"/><path d=\\\"M3.5 12L14 12M10.82 15.18L14 12L10.82 8.82\\\"/>\",\"solid\":true,\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_MENU: RegisteredIcon = {\"name\":\"menu\",\"body\":\"<path d=\\\"M4 6.5h16M4 12h16M4 17.5h16\\\"/>\"} as RegisteredIcon;\nexport const ICON_MINUS: RegisteredIcon = {\"name\":\"minus\",\"body\":\"<path d=\\\"M5 12h14\\\"/>\",\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_NODE: RegisteredIcon = {\"name\":\"node\",\"body\":\"<polygon points=\\\"12 3.5 19.36 7.75 19.36 16.25 12 20.5 4.64 16.25 4.64 7.75\\\"/><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"2.5\\\"/>\",\"categories\":[\"technology\"]} as RegisteredIcon;\nexport const ICON_NUMBER_LIST: RegisteredIcon = {\"name\":\"number-list\",\"body\":\"<path d=\\\"M10 6.5h10M10 12h10M10 17.5h10M4.5 5.5l1.5-1.2V9M4.5 11.2a1.5 1.5 0 1 1 3 .5l-3 2.8h3M4.5 16.5h3l-1.5 1.5a1.5 1.5 0 1 1-1.5 2\\\"/>\",\"categories\":[\"text-edit\"]} as RegisteredIcon;\nexport const ICON_PAUSE: RegisteredIcon = {\"name\":\"pause\",\"body\":\"<rect x=\\\"6.5\\\" y=\\\"5.5\\\" width=\\\"4\\\" height=\\\"13\\\" rx=\\\"1.2\\\"/><rect x=\\\"13.5\\\" y=\\\"5.5\\\" width=\\\"4\\\" height=\\\"13\\\" rx=\\\"1.2\\\"/>\",\"solid\":true,\"categories\":[\"media\"]} as RegisteredIcon;\nexport const ICON_PENCIL: RegisteredIcon = {\"name\":\"pencil\",\"body\":\"<path d=\\\"M4.5 19.5l.8-4.3L16 4.5a2 2 0 0 1 2.8 0l.7.7a2 2 0 0 1 0 2.8L8.8 18.7z\\\"/><path d=\\\"M13.5 7l3.5 3.5\\\"/>\",\"solid\":true,\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_PIN: RegisteredIcon = {\"name\":\"pin\",\"body\":\"<path d=\\\"M9 4h6l-.7 6 2.7 3.5H7L9.7 10z\\\"/><path d=\\\"M12 13.5V20.5\\\"/>\",\"solid\":true,\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_PLAY: RegisteredIcon = {\"name\":\"play\",\"body\":\"<polygon points=\\\"8 5.5 18.5 12 8 18.5\\\"/>\",\"solid\":true,\"categories\":[\"media\"]} as RegisteredIcon;\nexport const ICON_PLUS: RegisteredIcon = {\"name\":\"plus\",\"body\":\"<path d=\\\"M12 5v14M5 12h14\\\"/>\",\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_REDO: RegisteredIcon = {\"name\":\"redo\",\"body\":\"<path d=\\\"M20 9H10a5.5 5.5 0 0 0 0 11h3\\\"/><path d=\\\"M16 5.5L19.5 9 16 12.5\\\"/>\",\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_REFRESH: RegisteredIcon = {\"name\":\"refresh\",\"body\":\"<path d=\\\"M18.5 8.25A7.5 7.5 0 1 1 10.06 4.76\\\"/><path d=\\\"M7.54 7.86L10.06 4.76L6.32 3.32\\\"/>\",\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_ROTATE_LEFT: RegisteredIcon = {\"name\":\"rotate-left\",\"body\":\"<rect x=\\\"10.5\\\" y=\\\"10\\\" width=\\\"10\\\" height=\\\"10.5\\\" rx=\\\"2\\\"/><path d=\\\"M16 5.5h-4a6.5 6.5 0 0 0-6.5 6.5v3\\\"/><path d=\\\"M8 12.5l-2.5 2.5-2.5-2.5\\\"/>\",\"aliases\":[\"rotate-ccw\"],\"solid\":true,\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_ROTATE_RIGHT: RegisteredIcon = {\"name\":\"rotate-right\",\"body\":\"<rect x=\\\"3.5\\\" y=\\\"10\\\" width=\\\"10\\\" height=\\\"10.5\\\" rx=\\\"2\\\"/><path d=\\\"M8 5.5h4a6.5 6.5 0 0 1 6.5 6.5v3\\\"/><path d=\\\"M16 12.5l2.5 2.5 2.5-2.5\\\"/>\",\"aliases\":[\"rotate-cw\"],\"solid\":true,\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_SEARCH: RegisteredIcon = {\"name\":\"search\",\"body\":\"<circle cx=\\\"10.5\\\" cy=\\\"10.5\\\" r=\\\"6.5\\\"/><path d=\\\"M15.5 15.5l5 5\\\"/>\",\"categories\":[\"foundation\"]} as RegisteredIcon;\nexport const ICON_STAR: RegisteredIcon = {\"name\":\"star\",\"body\":\"<polygon points=\\\"12 3.5 14.3 8.84 20.08 9.37 15.72 13.21 17 18.88 12 15.91 7 18.88 8.28 13.21 3.92 9.37 9.7 8.84\\\"/>\",\"solid\":true,\"categories\":[\"social\"],\"aliases\":[\"star-fill\",\"empty-star\",\"full-star\"]} as RegisteredIcon;\nexport const ICON_STEP_FORWARD_2: RegisteredIcon = {\"name\":\"step-forward-2\",\"body\":\"<path d=\\\"M4.500 6l7 6-7 6z\\\"/><path d=\\\"M12.500 6l7 6-7 6z\\\"/>\",\"categories\":[\"foundation\"]} as RegisteredIcon;\nexport const ICON_STRIKETHROUGH: RegisteredIcon = {\"name\":\"strikethrough\",\"body\":\"<path d=\\\"M4 12h16\\\"/><path d=\\\"M16.500 7c-.6-1.500-2.300-2.500-4.500-2.500-2.500 0-4 1.200-4 3 0 1.300.8 2.200 2 2.700M8 16.500c.7 1.700 2.400 2.800 4.500 2.800 2.600 0 4.200-1.300 4.200-3.200 0-1-.5-1.800-1.300-2.300\\\"/>\",\"categories\":[\"text-edit\"]} as RegisteredIcon;\nexport const ICON_SUCCESS_STANDARD: RegisteredIcon = {\"name\":\"success-standard\",\"body\":\"<circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"8.5\\\"/><path d=\\\"M8 12.500l2.800 2.800L16 9.500\\\"/>\",\"solid\":true,\"categories\":[\"foundation\"]} as RegisteredIcon;\nexport const ICON_TEXT: RegisteredIcon = {\"name\":\"text\",\"body\":\"<path d=\\\"M5 6.5V4.5h14v2M12 4.5v15M9.5 19.5h5\\\"/>\",\"categories\":[\"text-edit\"]} as RegisteredIcon;\nexport const ICON_TIMES: RegisteredIcon = {\"name\":\"times\",\"body\":\"<path d=\\\"M5.5 5.5l13 13M18.5 5.5l-13 13\\\"/>\",\"categories\":[\"foundation\"],\"aliases\":[\"times-mini\"]} as RegisteredIcon;\nexport const ICON_TIMES_CIRCLE: RegisteredIcon = {\"name\":\"times-circle\",\"body\":\"<circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"8.5\\\"/><path d=\\\"M9 9l6 6M15 9l-6 6\\\"/>\",\"solid\":true,\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_TOOLS: RegisteredIcon = {\"name\":\"tools\",\"body\":\"<path d=\\\"M14.5 4a4.5 4.5 0 0 0-4.2 6L4 16.3a1.9 1.9 0 0 0 2.7 2.7L13 12.7a4.5 4.5 0 0 0 6.2-4.4L16.5 11l-2.7-.7-.8-2.8z\\\"/><path d=\\\"M4 4l4.4 4.4\\\"/><path d=\\\"M16.71 14.59l3.2 3.2a1.5 1.5 0 0 1-2.12 2.12l-3.2-3.2a1.5 1.5 0 0 1 2.12-2.12z\\\"/>\",\"solid\":true,\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_TRASH: RegisteredIcon = {\"name\":\"trash\",\"body\":\"<path d=\\\"M5 7h14\\\"/><path d=\\\"M9 7V5h6v2\\\"/><path d=\\\"M7 7l.8 12.5h8.4L17 7z\\\"/><path d=\\\"M10.5 11v5M13.5 11v5\\\"/>\",\"solid\":true,\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_UNDERLINE: RegisteredIcon = {\"name\":\"underline\",\"body\":\"<path d=\\\"M7 4.5v7a5 5 0 0 0 10 0v-7M5 20h14\\\"/>\",\"categories\":[\"text-edit\"]} as RegisteredIcon;\nexport const ICON_UNDO: RegisteredIcon = {\"name\":\"undo\",\"body\":\"<path d=\\\"M8.5 5L4.5 9l4 4\\\"/><path d=\\\"M4.5 9h9a5.5 5.5 0 0 1 0 11H10\\\"/>\",\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_UPLOAD: RegisteredIcon = {\"name\":\"upload\",\"body\":\"<path d=\\\"M12 15V4.5M7.5 9L12 4.5 16.5 9M4.5 15v3.5a1 1 0 0 0 1 1h13a1 1 0 0 0 1-1V15\\\"/>\",\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_USER: RegisteredIcon = {\"name\":\"user\",\"body\":\"<circle cx=\\\"12\\\" cy=\\\"8\\\" r=\\\"3.5\\\"/><path d=\\\"M5 20c.8-3.6 3.8-5.5 7-5.5s6.2 1.9 7 5.5\\\"/>\",\"solid\":true,\"categories\":[\"foundation\"]} as RegisteredIcon;\nexport const ICON_VIEW_COLUMNS: RegisteredIcon = {\"name\":\"view-columns\",\"body\":\"<rect x=\\\"3.5\\\" y=\\\"4\\\" width=\\\"17\\\" height=\\\"16\\\" rx=\\\"2.5\\\"/><path d=\\\"M9.2 4v16M14.8 4v16\\\"/>\",\"categories\":[\"foundation\"]} as RegisteredIcon;\nexport const ICON_VIEW_LIST: RegisteredIcon = {\"name\":\"view-list\",\"body\":\"<path d=\\\"M5 6.5h.01\\\"/><path d=\\\"M5 12h.01\\\"/><path d=\\\"M5 17.5h.01\\\"/><path d=\\\"M9 6.5h11.5M9 12h11.5M9 17.5h11.5\\\"/>\",\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_WINDOW_MAX: RegisteredIcon = {\"name\":\"window-max\",\"body\":\"<rect x=\\\"3.5\\\" y=\\\"3.5\\\" width=\\\"17\\\" height=\\\"17\\\" rx=\\\"2.5\\\"/><path d=\\\"M13 11l4-4M13.5 7H17v3.5M11 13l-4 4M10.5 17H7v-3.5\\\"/>\",\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_WINDOW_MIN: RegisteredIcon = {\"name\":\"window-min\",\"body\":\"<rect x=\\\"4\\\" y=\\\"4\\\" width=\\\"16\\\" height=\\\"16\\\" rx=\\\"2.5\\\"/><path d=\\\"M8.5 15.5h7\\\"/>\",\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_WINDOW_RESTORE: RegisteredIcon = {\"name\":\"window-restore\",\"body\":\"<rect x=\\\"4\\\" y=\\\"8\\\" width=\\\"12\\\" height=\\\"12\\\" rx=\\\"2\\\"/><path d=\\\"M8 8V6a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2\\\"/>\",\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_ZOOM_IN: RegisteredIcon = {\"name\":\"zoom-in\",\"body\":\"<circle cx=\\\"10.5\\\" cy=\\\"10.5\\\" r=\\\"6.5\\\"/><path d=\\\"M15.5 15.5L20 20M8 10.5h5M10.5 8v5\\\"/>\",\"categories\":[\"essential\"]} as RegisteredIcon;\nexport const ICON_ZOOM_OUT: RegisteredIcon = {\"name\":\"zoom-out\",\"body\":\"<circle cx=\\\"10.5\\\" cy=\\\"10.5\\\" r=\\\"6.5\\\"/><path d=\\\"M15.5 15.5L20 20M8 10.5h5\\\"/>\",\"categories\":[\"essential\"]} as RegisteredIcon;\n","import { EnvironmentProviders, provideEnvironmentInitializer } from '@angular/core';\nimport { RegisteredIcon, loadIcons, registerIcons } from '@trismegisto/primitives';\n\n/**\n * Registra ícones no bootstrap — um catálogo só, nenhum vem embutido de graça.\n * Pro caso comum de \"quero tudo\": `provideHermesIcons(HERMES_ICONS)`,\n * de `@trismegisto/icons/catalog` — não tem mais como esquecer de registrar um acervo específico\n * (não existem mais acervos separados pra esquecer). Pra tree-shaking de verdade (só os ícones que\n * usa, não ~900 definições), importe os ícones nomeados que precisa do mesmo `/catalog` em vez do\n * bundle `HERMES_ICONS` inteiro.\n */\nexport function provideHermesIcons(...items: (RegisteredIcon | readonly RegisteredIcon[])[]): EnvironmentProviders {\n return provideEnvironmentInitializer(() => registerIcons(...items));\n}\n\n/**\n * Registra ícones vindos de um carregador assíncrono, **fora do bundle inicial** — o caso do catálogo\n * inteiro (~1,5 MB sem compressão), que vira um chunk à parte baixado logo depois do bootstrap:\n *\n * ```ts\n * provideHermesIconLoader(() => import('@trismegisto/icons/catalog').then((m) => m.HERMES_ICONS))\n * ```\n *\n * Os ícones dos próprios componentes já vêm registrados; até o catálogo chegar, um ícone do app ainda\n * desconhecido aparece como o genérico e é redesenhado sozinho quando o chunk carrega.\n */\nexport function provideHermesIconLoader(\n loader: () => Promise<RegisteredIcon | readonly RegisteredIcon[]>,\n): EnvironmentProviders {\n return provideEnvironmentInitializer(() => void loadIcons(loader));\n}\n","import { RegisteredIcon, registerIcons } from '@trismegisto/primitives';\n\n/**\n * Registra os ícones que um componente da lib usa por dentro — chamado num campo, no começo da classe:\n * `readonly #icons = useHermesIcons(MODAL_ICONS);` (o conjunto vem do `icons.generated.ts` da pasta,\n * gerado por `scripts/generate-internal-icons.mjs`). Assim cada componente leva para o bundle só os\n * ícones dele; num campo (e não no nível do módulo) para continuar descartável pelo tree-shaking.\n * Repetir o registro (várias instâncias, ou o app registrando o catálogo) é silencioso.\n */\nexport function useHermesIcons(icons: readonly RegisteredIcon[]): void {\n registerIcons(icons);\n}\n","// Ponto de import `@trismegisto/angular/icon` (secundário do ng-packagr): o que o public-api e as outras pastas usam\n// daqui. Gerado em 2026-10-03; ao criar arquivo público novo na pasta, acrescente a linha.\nexport * from './icon.component';\nexport * from './internal-icons.generated';\nexport * from './provide-icons';\nexport * from './use-hermes-icons';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AASA,IAAI,SAAS,GAAG,KAAK;AACrB;AAC6F;AAC7F,MAAM,YAAY,GAAG,MAAM,CAAC,CAAC,mFAAC;AAC9B,SAAS,qBAAqB,GAAA;AAC5B,IAAA,IAAI,SAAS;QAAE;IACf,SAAS,GAAG,IAAI;AAChB,IAAA,iBAAiB,CAAC,MAAM,YAAY,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;AAC5D;AAEA,MAAM,KAAK,GAAqC,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE;AAE9G;;;;;;;;;;;;;;;;;;AAkBG;MAcU,aAAa,CAAA;AACP,IAAA,SAAS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WAAW,CAAC;;ACtFtL;;;;;;;AAOG;AACG,SAAU,kBAAkB,CAAC,GAAG,KAAqD,EAAA;IACzF,OAAO,6BAA6B,CAAC,MAAM,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC;AACrE;AAEA;;;;;;;;;;AAUG;AACG,SAAU,uBAAuB,CACrC,MAAiE,EAAA;IAEjE,OAAO,6BAA6B,CAAC,MAAM,KAAK,SAAS,CAAC,MAAM,CAAC,CAAC;AACpE;;AC5BA;;;;;;AAMG;AACG,SAAU,cAAc,CAAC,KAAgC,EAAA;IAC7D,aAAa,CAAC,KAAK,CAAC;AACtB;;ACXA;AACA;;ACDA;;AAEG;;"}
|
|
@@ -16,8 +16,9 @@ let sequence$1 = 0;
|
|
|
16
16
|
* Uma coluna do `hm-kanban` — subpeça: o quadro cria uma por item de `columns`; não use solta.
|
|
17
17
|
*
|
|
18
18
|
* Cabeçalho com recolher/expandir (`aria-expanded`), título (`role="heading"`), contagem (falada
|
|
19
|
-
* com plural do catálogo e o limite WIP) e o slot de ações (`hmKanbanColumnActions`)
|
|
20
|
-
*
|
|
19
|
+
* com plural do catálogo e o limite WIP) e o slot de ações (`hmKanbanColumnActions`); abaixo, o resumo
|
|
20
|
+
* (`hmKanbanColumnSummary`), a lista e o rodapé (`hmKanbanColumnFooter`); vazia, o `hmKanbanColumnEmpty` ou o texto
|
|
21
|
+
* padrão. Acima do limite WIP, a coluna ganha borda de aviso e um texto visível ("Acima do limite de 3") — o
|
|
21
22
|
* aviso nunca depende só da cor. A lista é um `[hmSortable]` ligado às outras colunas do quadro;
|
|
22
23
|
* cada cartão é um `[hmDraggable]` (ponteiro, toque com toque longo e teclado).
|
|
23
24
|
*/
|
|
@@ -83,6 +84,11 @@ class KanbanColumnComponent {
|
|
|
83
84
|
</p>
|
|
84
85
|
}
|
|
85
86
|
@if (!collapsed()) {
|
|
87
|
+
@if (kanban.summaryTemplate?.(); as summary) {
|
|
88
|
+
<div class="hm-kanban-column__summary">
|
|
89
|
+
<ng-container *ngTemplateOutlet="summary; context: { $implicit: column() }" />
|
|
90
|
+
</div>
|
|
91
|
+
}
|
|
86
92
|
<ul
|
|
87
93
|
class="hm-kanban-column__list"
|
|
88
94
|
[id]="listId"
|
|
@@ -110,11 +116,25 @@ class KanbanColumnComponent {
|
|
|
110
116
|
</li>
|
|
111
117
|
}
|
|
112
118
|
@if (!column().items.length) {
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
119
|
+
@if (kanban.emptyTemplate?.(); as empty) {
|
|
120
|
+
<li
|
|
121
|
+
class="hm-kanban-column__empty hm-kanban-column__empty--custom"
|
|
122
|
+
[class.hm-kanban-column__empty--hidden]="sortable.over()"
|
|
123
|
+
>
|
|
124
|
+
<ng-container *ngTemplateOutlet="empty; context: { $implicit: column() }" />
|
|
125
|
+
</li>
|
|
126
|
+
} @else {
|
|
127
|
+
<li class="hm-kanban-column__empty" [class.hm-kanban-column__empty--hidden]="sortable.over()">
|
|
128
|
+
{{ text().empty }}
|
|
129
|
+
</li>
|
|
130
|
+
}
|
|
116
131
|
}
|
|
117
132
|
</ul>
|
|
133
|
+
@if (kanban.footerTemplate?.(); as footer) {
|
|
134
|
+
<div class="hm-kanban-column__footer">
|
|
135
|
+
<ng-container *ngTemplateOutlet="footer; context: { $implicit: column() }" />
|
|
136
|
+
</div>
|
|
137
|
+
}
|
|
118
138
|
}
|
|
119
139
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: IconComponent, selector: "hm-icon", inputs: ["shape", "direction", "size", "solid", "badge", "status", "flip", "inverse", "label"] }, { kind: "directive", type: SortableDirective, selector: "[hmSortable]", inputs: ["hmSortable", "hmSortableGroup", "hmSortableOrientation", "hmSortableColumns", "hmSortableLabel", "hmSortableDisabled", "hmSortableAccepts"], outputs: ["hmSortableChange", "sorted"], exportAs: ["hmSortable"] }, { kind: "directive", type: DraggableDirective, selector: "[hmDraggable]", inputs: ["hmDraggable", "hmDragType", "hmDragLabel", "hmDragDisabled", "hmDragContained", "hmDragThreshold", "hmDragTouchDelay"], outputs: ["dragStarted", "dragEnded"], exportAs: ["hmDraggable"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
120
140
|
}
|
|
@@ -171,6 +191,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
171
191
|
</p>
|
|
172
192
|
}
|
|
173
193
|
@if (!collapsed()) {
|
|
194
|
+
@if (kanban.summaryTemplate?.(); as summary) {
|
|
195
|
+
<div class="hm-kanban-column__summary">
|
|
196
|
+
<ng-container *ngTemplateOutlet="summary; context: { $implicit: column() }" />
|
|
197
|
+
</div>
|
|
198
|
+
}
|
|
174
199
|
<ul
|
|
175
200
|
class="hm-kanban-column__list"
|
|
176
201
|
[id]="listId"
|
|
@@ -198,11 +223,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
198
223
|
</li>
|
|
199
224
|
}
|
|
200
225
|
@if (!column().items.length) {
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
226
|
+
@if (kanban.emptyTemplate?.(); as empty) {
|
|
227
|
+
<li
|
|
228
|
+
class="hm-kanban-column__empty hm-kanban-column__empty--custom"
|
|
229
|
+
[class.hm-kanban-column__empty--hidden]="sortable.over()"
|
|
230
|
+
>
|
|
231
|
+
<ng-container *ngTemplateOutlet="empty; context: { $implicit: column() }" />
|
|
232
|
+
</li>
|
|
233
|
+
} @else {
|
|
234
|
+
<li class="hm-kanban-column__empty" [class.hm-kanban-column__empty--hidden]="sortable.over()">
|
|
235
|
+
{{ text().empty }}
|
|
236
|
+
</li>
|
|
237
|
+
}
|
|
204
238
|
}
|
|
205
239
|
</ul>
|
|
240
|
+
@if (kanban.footerTemplate?.(); as footer) {
|
|
241
|
+
<div class="hm-kanban-column__footer">
|
|
242
|
+
<ng-container *ngTemplateOutlet="footer; context: { $implicit: column() }" />
|
|
243
|
+
</div>
|
|
244
|
+
}
|
|
206
245
|
}
|
|
207
246
|
`,
|
|
208
247
|
}]
|
|
@@ -243,6 +282,57 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
243
282
|
type: Directive,
|
|
244
283
|
args: [{ selector: 'ng-template[hmKanbanColumnActions]' }]
|
|
245
284
|
}] });
|
|
285
|
+
/**
|
|
286
|
+
* Linha logo abaixo do cabeçalho de cada coluna (`<ng-template hmKanbanColumnSummary let-column>`): resumo do app
|
|
287
|
+
* ("mais antigo há 3 dias", "2 vencidos"). Some com a coluna recolhida.
|
|
288
|
+
*/
|
|
289
|
+
class KanbanColumnSummaryDirective {
|
|
290
|
+
#icons = useHermesIcons(KANBAN_ICONS);
|
|
291
|
+
template = inject(TemplateRef);
|
|
292
|
+
static ngTemplateContextGuard(_dir, ctx) {
|
|
293
|
+
return true;
|
|
294
|
+
}
|
|
295
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: KanbanColumnSummaryDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
296
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.24", type: KanbanColumnSummaryDirective, isStandalone: true, selector: "ng-template[hmKanbanColumnSummary]", ngImport: i0 });
|
|
297
|
+
}
|
|
298
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: KanbanColumnSummaryDirective, decorators: [{
|
|
299
|
+
type: Directive,
|
|
300
|
+
args: [{ selector: 'ng-template[hmKanbanColumnSummary]' }]
|
|
301
|
+
}] });
|
|
302
|
+
/**
|
|
303
|
+
* Rodapé de cada coluna, depois dos cartões (`<ng-template hmKanbanColumnFooter let-column>`): o lugar do "+ Criar"
|
|
304
|
+
* e da criação rápida do app. Fica fora da lista (não é área de soltar) e some com a coluna recolhida.
|
|
305
|
+
*/
|
|
306
|
+
class KanbanColumnFooterDirective {
|
|
307
|
+
#icons = useHermesIcons(KANBAN_ICONS);
|
|
308
|
+
template = inject(TemplateRef);
|
|
309
|
+
static ngTemplateContextGuard(_dir, ctx) {
|
|
310
|
+
return true;
|
|
311
|
+
}
|
|
312
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: KanbanColumnFooterDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
313
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.24", type: KanbanColumnFooterDirective, isStandalone: true, selector: "ng-template[hmKanbanColumnFooter]", ngImport: i0 });
|
|
314
|
+
}
|
|
315
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: KanbanColumnFooterDirective, decorators: [{
|
|
316
|
+
type: Directive,
|
|
317
|
+
args: [{ selector: 'ng-template[hmKanbanColumnFooter]' }]
|
|
318
|
+
}] });
|
|
319
|
+
/**
|
|
320
|
+
* Conteúdo da coluna sem cartões (`<ng-template hmKanbanColumnEmpty let-column>`), no lugar do texto padrão do
|
|
321
|
+
* catálogo. Continua dentro da lista (soltar ali funciona) e se esconde enquanto um cartão paira sobre ela.
|
|
322
|
+
*/
|
|
323
|
+
class KanbanColumnEmptyDirective {
|
|
324
|
+
#icons = useHermesIcons(KANBAN_ICONS);
|
|
325
|
+
template = inject(TemplateRef);
|
|
326
|
+
static ngTemplateContextGuard(_dir, ctx) {
|
|
327
|
+
return true;
|
|
328
|
+
}
|
|
329
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: KanbanColumnEmptyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
330
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.24", type: KanbanColumnEmptyDirective, isStandalone: true, selector: "ng-template[hmKanbanColumnEmpty]", ngImport: i0 });
|
|
331
|
+
}
|
|
332
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: KanbanColumnEmptyDirective, decorators: [{
|
|
333
|
+
type: Directive,
|
|
334
|
+
args: [{ selector: 'ng-template[hmKanbanColumnEmpty]' }]
|
|
335
|
+
}] });
|
|
246
336
|
|
|
247
337
|
let sequence = 0;
|
|
248
338
|
/**
|
|
@@ -256,6 +346,11 @@ let sequence = 0;
|
|
|
256
346
|
* <ng-template hmKanbanColumnActions let-column>
|
|
257
347
|
* <hm-icon-button icon="plus" [label]="'Novo em ' + column.title" (clicked)="novo(column)" />
|
|
258
348
|
* </ng-template>
|
|
349
|
+
* <ng-template hmKanbanColumnSummary let-column>Mais antigo há 3 dias</ng-template>
|
|
350
|
+
* <ng-template hmKanbanColumnFooter let-column>
|
|
351
|
+
* <hm-button emphasis="minimal" icon="plus" (clicked)="novo(column)">Criar</hm-button>
|
|
352
|
+
* </ng-template>
|
|
353
|
+
* <ng-template hmKanbanColumnEmpty let-column>Nada em {{ column.title }}</ng-template>
|
|
259
354
|
* <div hmKanbanToolbar>…ações do quadro…</div>
|
|
260
355
|
* </hm-kanban>
|
|
261
356
|
* ```
|
|
@@ -269,6 +364,9 @@ let sequence = 0;
|
|
|
269
364
|
* bloquear, recuse em `canMove`.
|
|
270
365
|
* - **Recolher**: `[(collapsed)]` (ids). Coluna recolhida vira uma faixa estreita com título e
|
|
271
366
|
* contagem e não recebe cartões.
|
|
367
|
+
* - **Slots por coluna** (todos opcionais): `hmKanbanColumnActions` (no cabeçalho), `hmKanbanColumnSummary` (linha
|
|
368
|
+
* abaixo do cabeçalho), `hmKanbanColumnFooter` (depois dos cartões, fora da área de soltar) e `hmKanbanColumnEmpty`
|
|
369
|
+
* (no lugar do texto da coluna vazia). Os três últimos somem com a coluna recolhida.
|
|
272
370
|
* - **Rolagem**: as colunas rolam na horizontal; arrastando perto da borda, o quadro rola sozinho.
|
|
273
371
|
*
|
|
274
372
|
* Acessibilidade: cada coluna é um `group` nomeado pelo título (cabeçalho com `role="heading"`,
|
|
@@ -304,12 +402,24 @@ class KanbanComponent {
|
|
|
304
402
|
text = computed(() => this.catalog.kanban, ...(ngDevMode ? [{ debugName: "text" }] : /* istanbul ignore next */ []));
|
|
305
403
|
card = contentChild(KanbanCardDirective, ...(ngDevMode ? [{ debugName: "card" }] : /* istanbul ignore next */ []));
|
|
306
404
|
actions = contentChild(KanbanColumnActionsDirective, ...(ngDevMode ? [{ debugName: "actions" }] : /* istanbul ignore next */ []));
|
|
405
|
+
summary = contentChild(KanbanColumnSummaryDirective, ...(ngDevMode ? [{ debugName: "summary" }] : /* istanbul ignore next */ []));
|
|
406
|
+
footer = contentChild(KanbanColumnFooterDirective, ...(ngDevMode ? [{ debugName: "footer" }] : /* istanbul ignore next */ []));
|
|
407
|
+
empty = contentChild(KanbanColumnEmptyDirective, ...(ngDevMode ? [{ debugName: "empty" }] : /* istanbul ignore next */ []));
|
|
307
408
|
cardTemplate() {
|
|
308
409
|
return this.card()?.template ?? null;
|
|
309
410
|
}
|
|
310
411
|
actionsTemplate() {
|
|
311
412
|
return this.actions()?.template ?? null;
|
|
312
413
|
}
|
|
414
|
+
summaryTemplate() {
|
|
415
|
+
return this.summary()?.template ?? null;
|
|
416
|
+
}
|
|
417
|
+
footerTemplate() {
|
|
418
|
+
return this.footer()?.template ?? null;
|
|
419
|
+
}
|
|
420
|
+
emptyTemplate() {
|
|
421
|
+
return this.empty()?.template ?? null;
|
|
422
|
+
}
|
|
313
423
|
isCollapsed(id) {
|
|
314
424
|
return this.collapsed().includes(id);
|
|
315
425
|
}
|
|
@@ -353,7 +463,7 @@ class KanbanComponent {
|
|
|
353
463
|
this.moved.emit({ item: event.data, from, to, fromIndex: event.previousIndex, toIndex, via: event.via, columns: next });
|
|
354
464
|
}
|
|
355
465
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: KanbanComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
356
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.24", type: KanbanComponent, isStandalone: true, selector: "hm-kanban", inputs: { columns: { classPropertyName: "columns", publicName: "columns", isSignal: true, isRequired: false, transformFunction: null }, collapsed: { classPropertyName: "collapsed", publicName: "collapsed", isSignal: true, isRequired: false, transformFunction: null }, canMove: { classPropertyName: "canMove", publicName: "canMove", isSignal: true, isRequired: false, transformFunction: null }, itemKey: { classPropertyName: "itemKey", publicName: "itemKey", isSignal: true, isRequired: false, transformFunction: null }, itemLabel: { classPropertyName: "itemLabel", publicName: "itemLabel", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, collapsible: { classPropertyName: "collapsible", publicName: "collapsible", isSignal: true, isRequired: false, transformFunction: null }, headingLevel: { classPropertyName: "headingLevel", publicName: "headingLevel", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { columns: "columnsChange", collapsed: "collapsedChange", moved: "moved" }, host: { properties: { "class.hm-kanban--disabled": "disabled()" }, classAttribute: "hm-kanban" }, providers: [{ provide: HM_KANBAN, useExisting: forwardRef(() => KanbanComponent) }], queries: [{ propertyName: "card", first: true, predicate: KanbanCardDirective, descendants: true, isSignal: true }, { propertyName: "actions", first: true, predicate: KanbanColumnActionsDirective, descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
466
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.24", type: KanbanComponent, isStandalone: true, selector: "hm-kanban", inputs: { columns: { classPropertyName: "columns", publicName: "columns", isSignal: true, isRequired: false, transformFunction: null }, collapsed: { classPropertyName: "collapsed", publicName: "collapsed", isSignal: true, isRequired: false, transformFunction: null }, canMove: { classPropertyName: "canMove", publicName: "canMove", isSignal: true, isRequired: false, transformFunction: null }, itemKey: { classPropertyName: "itemKey", publicName: "itemKey", isSignal: true, isRequired: false, transformFunction: null }, itemLabel: { classPropertyName: "itemLabel", publicName: "itemLabel", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, collapsible: { classPropertyName: "collapsible", publicName: "collapsible", isSignal: true, isRequired: false, transformFunction: null }, headingLevel: { classPropertyName: "headingLevel", publicName: "headingLevel", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { columns: "columnsChange", collapsed: "collapsedChange", moved: "moved" }, host: { properties: { "class.hm-kanban--disabled": "disabled()" }, classAttribute: "hm-kanban" }, providers: [{ provide: HM_KANBAN, useExisting: forwardRef(() => KanbanComponent) }], queries: [{ propertyName: "card", first: true, predicate: KanbanCardDirective, descendants: true, isSignal: true }, { propertyName: "actions", first: true, predicate: KanbanColumnActionsDirective, descendants: true, isSignal: true }, { propertyName: "summary", first: true, predicate: KanbanColumnSummaryDirective, descendants: true, isSignal: true }, { propertyName: "footer", first: true, predicate: KanbanColumnFooterDirective, descendants: true, isSignal: true }, { propertyName: "empty", first: true, predicate: KanbanColumnEmptyDirective, descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
357
467
|
<div class="hm-kanban__toolbar"><ng-content select="[hmKanbanToolbar]" /></div>
|
|
358
468
|
<div class="hm-kanban__board" role="group" [attr.aria-label]="label() || text().label">
|
|
359
469
|
@for (column of columns(); track column.id) {
|
|
@@ -384,14 +494,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
384
494
|
<ng-content />
|
|
385
495
|
`,
|
|
386
496
|
}]
|
|
387
|
-
}], propDecorators: { columns: [{ type: i0.Input, args: [{ isSignal: true, alias: "columns", required: false }] }, { type: i0.Output, args: ["columnsChange"] }], collapsed: [{ type: i0.Input, args: [{ isSignal: true, alias: "collapsed", required: false }] }, { type: i0.Output, args: ["collapsedChange"] }], canMove: [{ type: i0.Input, args: [{ isSignal: true, alias: "canMove", required: false }] }], itemKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemKey", required: false }] }], itemLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemLabel", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], collapsible: [{ type: i0.Input, args: [{ isSignal: true, alias: "collapsible", required: false }] }], headingLevel: [{ type: i0.Input, args: [{ isSignal: true, alias: "headingLevel", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], moved: [{ type: i0.Output, args: ["moved"] }], card: [{ type: i0.ContentChild, args: [i0.forwardRef(() => KanbanCardDirective), { isSignal: true }] }], actions: [{ type: i0.ContentChild, args: [i0.forwardRef(() => KanbanColumnActionsDirective), { isSignal: true }] }] } });
|
|
497
|
+
}], propDecorators: { columns: [{ type: i0.Input, args: [{ isSignal: true, alias: "columns", required: false }] }, { type: i0.Output, args: ["columnsChange"] }], collapsed: [{ type: i0.Input, args: [{ isSignal: true, alias: "collapsed", required: false }] }, { type: i0.Output, args: ["collapsedChange"] }], canMove: [{ type: i0.Input, args: [{ isSignal: true, alias: "canMove", required: false }] }], itemKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemKey", required: false }] }], itemLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemLabel", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], collapsible: [{ type: i0.Input, args: [{ isSignal: true, alias: "collapsible", required: false }] }], headingLevel: [{ type: i0.Input, args: [{ isSignal: true, alias: "headingLevel", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], moved: [{ type: i0.Output, args: ["moved"] }], card: [{ type: i0.ContentChild, args: [i0.forwardRef(() => KanbanCardDirective), { isSignal: true }] }], actions: [{ type: i0.ContentChild, args: [i0.forwardRef(() => KanbanColumnActionsDirective), { isSignal: true }] }], summary: [{ type: i0.ContentChild, args: [i0.forwardRef(() => KanbanColumnSummaryDirective), { isSignal: true }] }], footer: [{ type: i0.ContentChild, args: [i0.forwardRef(() => KanbanColumnFooterDirective), { isSignal: true }] }], empty: [{ type: i0.ContentChild, args: [i0.forwardRef(() => KanbanColumnEmptyDirective), { isSignal: true }] }] } });
|
|
388
498
|
|
|
389
499
|
/** O quadro e os templates, para um `imports: [HERMES_KANBAN]` só. */
|
|
390
|
-
const HERMES_KANBAN = [
|
|
500
|
+
const HERMES_KANBAN = [
|
|
501
|
+
KanbanComponent,
|
|
502
|
+
KanbanColumnComponent,
|
|
503
|
+
KanbanCardDirective,
|
|
504
|
+
KanbanColumnActionsDirective,
|
|
505
|
+
KanbanColumnSummaryDirective,
|
|
506
|
+
KanbanColumnFooterDirective,
|
|
507
|
+
KanbanColumnEmptyDirective,
|
|
508
|
+
];
|
|
391
509
|
|
|
392
510
|
/**
|
|
393
511
|
* Generated bundle index. Do not edit.
|
|
394
512
|
*/
|
|
395
513
|
|
|
396
|
-
export { HERMES_KANBAN, HM_KANBAN, KanbanCardDirective, KanbanColumnActionsDirective, KanbanColumnComponent, KanbanComponent };
|
|
514
|
+
export { HERMES_KANBAN, HM_KANBAN, KanbanCardDirective, KanbanColumnActionsDirective, KanbanColumnComponent, KanbanColumnEmptyDirective, KanbanColumnFooterDirective, KanbanColumnSummaryDirective, KanbanComponent };
|
|
397
515
|
//# sourceMappingURL=trismegisto-angular-kanban.mjs.map
|