@trismegisto/angular 2.1.1 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/fesm2022/trismegisto-angular-data-grid.mjs +32 -18
  2. package/fesm2022/trismegisto-angular-data-grid.mjs.map +1 -1
  3. package/fesm2022/trismegisto-angular-i18n.mjs +22 -2
  4. package/fesm2022/trismegisto-angular-i18n.mjs.map +1 -1
  5. package/fesm2022/trismegisto-angular-list-editor.mjs +320 -0
  6. package/fesm2022/trismegisto-angular-list-editor.mjs.map +1 -0
  7. package/fesm2022/trismegisto-angular-motion.mjs +58 -4
  8. package/fesm2022/trismegisto-angular-motion.mjs.map +1 -1
  9. package/fesm2022/trismegisto-angular-reorder-list.mjs +5 -3
  10. package/fesm2022/trismegisto-angular-reorder-list.mjs.map +1 -1
  11. package/fesm2022/trismegisto-angular-settings.mjs +11 -2
  12. package/fesm2022/trismegisto-angular-settings.mjs.map +1 -1
  13. package/fesm2022/trismegisto-angular-toast.mjs +24 -3
  14. package/fesm2022/trismegisto-angular-toast.mjs.map +1 -1
  15. package/fesm2022/trismegisto-angular-zoom.mjs +16 -1
  16. package/fesm2022/trismegisto-angular-zoom.mjs.map +1 -1
  17. package/fesm2022/trismegisto-angular.mjs +3 -2
  18. package/fesm2022/trismegisto-angular.mjs.map +1 -1
  19. package/package.json +9 -5
  20. package/types/trismegisto-angular-data-grid.d.ts +18 -9
  21. package/types/trismegisto-angular-data-grid.d.ts.map +1 -1
  22. package/types/trismegisto-angular-i18n.d.ts +20 -1
  23. package/types/trismegisto-angular-i18n.d.ts.map +1 -1
  24. package/types/trismegisto-angular-list-editor.d.ts +167 -0
  25. package/types/trismegisto-angular-list-editor.d.ts.map +1 -0
  26. package/types/trismegisto-angular-motion.d.ts +32 -1
  27. package/types/trismegisto-angular-motion.d.ts.map +1 -1
  28. package/types/trismegisto-angular-reorder-list.d.ts +3 -1
  29. package/types/trismegisto-angular-reorder-list.d.ts.map +1 -1
  30. package/types/trismegisto-angular-settings.d.ts +4 -1
  31. package/types/trismegisto-angular-settings.d.ts.map +1 -1
  32. package/types/trismegisto-angular-toast.d.ts +17 -1
  33. package/types/trismegisto-angular-toast.d.ts.map +1 -1
  34. package/types/trismegisto-angular-zoom.d.ts +9 -0
  35. package/types/trismegisto-angular-zoom.d.ts.map +1 -1
  36. package/types/trismegisto-angular.d.ts +3 -2
  37. package/types/trismegisto-angular.d.ts.map +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"trismegisto-angular.mjs","sources":["../../src/public-api.ts","../../src/trismegisto-angular.ts"],"sourcesContent":["// i18n\nexport { preloadHermesCatalog, liveCatalog, provideHermesI18n, provideHermesMessages, type HermesI18nConfig, HERMES_I18N_CONFIG, type HermesCatalogLoader, HERMES_CATALOG_LOADERS, HermesI18nService, HERMES_MESSAGES } from '@trismegisto/angular/i18n';\n// pipes de tradução e de data/hora (idioma do HermesI18nService)\nexport { translateMessage, HermesTranslatePipe } from '@trismegisto/angular/pipes';\nexport { HermesDatePipe, HermesDateTimePipe } from '@trismegisto/angular/pipes';\nexport { toHermesDate, hermesDateOptions, formatHermesDate, type HermesDatePreset, type HermesDateInput, type HermesDateKind } from '@trismegisto/angular/pipes';\nexport {\n HERMES_MESSAGES_PT_BR,\n type HermesMessages,\n type HermesMessagesOverride,\n type CatalogOverride,\n type MessageParams,\n type PluralMessage,\n formatMessage,\n mergeCatalog,\n mergeMessages,\n pluralMessage,\n} from '@trismegisto/primitives';\n\n// tema\nexport { HERMES_THEME_CONFIG, HermesThemeService } from '@trismegisto/angular/theme';\nexport { HermesThemeDirective } from '@trismegisto/angular/theme';\nexport { HermesZoomService, provideHermesZoom } from '@trismegisto/angular/zoom';\nexport { type HermesZoomLevel, HERMES_ZOOM_BREAKPOINTS, HERMES_ZOOM_CLASSES } from '@trismegisto/primitives';\nexport { HERMES_FAMILIES, type HermesFamily, type HermesThemeName, type HermesDensity, type HermesThemeMode } from '@trismegisto/primitives';\nexport { HermesLoadingState } from '@trismegisto/primitives';\n\n// tipos compartilhados (definidos em @trismegisto/primitives, comuns a Angular/React)\nexport type {\n AlertVariant,\n ButtonEmphasis,\n ButtonIntent,\n ButtonSize,\n IconButtonEmphasis,\n ModalSize,\n HermesIcon,\n IconBadge,\n MenuItem,\n MenuItemChange,\n MenuItemType,\n PopoverAlign,\n PopoverAnchor,\n PopoverSide,\n SidebarMode,\n TabBarState,\n TabReorder,\n} from '@trismegisto/primitives';\nexport { createTabBarStore } from '@trismegisto/primitives';\n\n// componentes\nexport { type AlertSize, AlertComponent } from '@trismegisto/angular/alert';\nexport { AlertGroupComponent } from '@trismegisto/angular/alert';\nexport { HermesAlertGroup } from '@trismegisto/angular/alert';\nexport type { AlertAppearance } from '@trismegisto/primitives';\nexport { type ButtonGroupRegistry, HM_BUTTON_GROUP, ButtonComponent } from '@trismegisto/angular/button';\nexport { ButtonGroupComponent } from '@trismegisto/angular/button-group';\nexport { type DropdownPosition, DropdownComponent, DropdownTriggerDirective, DropdownIfOpenDirective, DropdownItemDirective, DropdownMenuComponent, HERMES_DROPDOWN } from '@trismegisto/angular/dropdown';\nexport { CheckboxComponent } from '@trismegisto/angular/checkbox';\nexport {\n CheckboxGroupComponent,\n type CheckboxGroupOption,\n type CheckboxGroupLayout,\n} from '@trismegisto/angular/checkbox-group';\nexport { CodeInputComponent } from '@trismegisto/angular/code-input';\nexport { type InputType, type InputValue, type InputMaskValue, type InputMode, InputComponent } from '@trismegisto/angular/input';\nexport { type FieldType, FieldComponent } from '@trismegisto/angular/field';\nexport { HermesFormFieldBase } from '@trismegisto/angular/forms';\nexport { DateRangeValidators } from '@trismegisto/angular/forms';\nexport { CalendarComponent } from '@trismegisto/angular/date-picker';\nexport { DatePickerComponent } from '@trismegisto/angular/date-picker';\nexport { DateRangePickerComponent, type DateRangePreset, type DateRangePresetOption, type DateRangePresetId } from '@trismegisto/angular/date-picker';\nexport { type CalendarEvent, type CalendarEventColor, type EventCalendarRange, type EventCalendarView, type EventCalendarDateClick, type EventCalendarRangeChange, EventCalendarComponent } from '@trismegisto/angular/event-calendar';\nexport { TimePickerComponent } from '@trismegisto/angular/time-picker';\nexport { type SliderModelValue, type SliderOrientation, type SliderSize, type SliderTooltip, SliderComponent } from '@trismegisto/angular/slider';\nexport { type FabPosition, type FabSize, type FabAction, FabComponent } from '@trismegisto/angular/fab';\nexport { type IconSize, type IconStatus, type IconDirection, type IconFlip, IconComponent } from '@trismegisto/angular/icon';\nexport { provideHermesIcons, provideHermesIconLoader } from '@trismegisto/angular/icon';\nexport { IconButtonComponent } from '@trismegisto/angular/icon-button';\nexport {\n type ToggleGroupValue,\n type ToggleGroupAppearance,\n type ToggleGroupSize,\n type ToggleGroupOrientation,\n ToggleGroupComponent,\n} from '@trismegisto/angular/toggle-group';\nexport { ToggleGroupItemComponent } from '@trismegisto/angular/toggle-group';\nexport { HermesToggleGroup } from '@trismegisto/angular/toggle-group';\nexport { type ItemAppearance, type ItemSize, ItemComponent } from '@trismegisto/angular/item';\nexport { ItemGroupComponent } from '@trismegisto/angular/item';\nexport { type HermesItemGroup, HM_ITEM_GROUP } from '@trismegisto/angular/item';\nexport { type EmptyAppearance, type EmptySize, type EmptyHeadingLevel, EmptyComponent } from '@trismegisto/angular/empty';\n// Ilustrações: NÃO reexportadas aqui de propósito. O `hm-state-screen` as carrega por `@defer` (chunk\n// sob demanda); reexportá-las na raiz faria o bundler do app levá-las todas no carregamento inicial.\n// Uso direto: `import { IllustrationErrorComponent } from '@trismegisto/angular/illustration-error'`.\nexport { type StateScreenSituation, StateScreenComponent } from '@trismegisto/angular/state-screen';\nexport { statePagePreset, type StatePageKind, type StatePageVisual, type StatePagePreset, STATE_PAGE_VISUALS, STATE_PAGE_PRESETS, StatePageComponent } from '@trismegisto/angular/state-page';\nexport { SelectComponent } from '@trismegisto/angular/select';\nexport { ModalComponent } from '@trismegisto/angular/modal';\nexport { HERMES_DIALOG_DATA, type HermesDialogConfig, type HermesConfirmOptions, HermesDialogRef } from '@trismegisto/angular/dialog';\nexport { HermesDialogService } from '@trismegisto/angular/dialog';\nexport { type DrawerPosition, DrawerComponent } from '@trismegisto/angular/drawer';\nexport { FormRequiredHintComponent } from '@trismegisto/angular/form-required-hint';\nexport { FloatingWindowComponent } from '@trismegisto/angular/floating-window';\nexport { type HermesOverlayStackEntry, HermesOverlayStack } from '@trismegisto/angular/floating-window';\nexport type { FloatingRect, FloatingWindowState } from '@trismegisto/primitives';\nexport { type HermesCommand, CommandPaletteComponent } from '@trismegisto/angular/command-palette';\nexport { type HermesSearchResult, type HermesSearchGroup, type HermesSearchFn, type HermesSearchSelection, GlobalSearchComponent } from '@trismegisto/angular/global-search';\nexport { type PaginatorVariant, PaginatorComponent } from '@trismegisto/angular/paginator';\nexport { type ComboboxOption, type ComboboxSize, ComboboxComponent } from '@trismegisto/angular/combobox';\nexport { ComboboxMultiComponent } from '@trismegisto/angular/combobox-multi';\nexport { type ChipVariant, type ChipSize, ChipComponent } from '@trismegisto/angular/chip';\nexport { ChipGroupComponent } from '@trismegisto/angular/chip';\nexport { HermesChipGroup } from '@trismegisto/angular/chip';\nexport { type FilterBarField, type FilterBarFieldType, type FilterBarFieldValue, type FilterBarStorage, type FilterBarValue, type SavedFilter, EMPTY_FILTER_BAR_VALUE, applyFilterBar, filterBarGridUnsupported, filterBarToGridQuery, localStorageFilterBarStorage, serializeFilterBarValue, parseFilterBarValue, FilterBarComponent } from '@trismegisto/angular/filter-bar';\nexport { HermesTabGroup, type HermesTabsMode, type HermesTabsOrientation, type HermesTabsOverflow } from '@trismegisto/angular/tabs';\nexport { TabsComponent } from '@trismegisto/angular/tabs';\nexport { TabComponent } from '@trismegisto/angular/tabs';\nexport { TabContentDirective } from '@trismegisto/angular/tabs';\nexport {\n type TextareaSubmitKey,\n TextareaComponent,\n type TextareaAddonSlot,\n TextareaAddonDirective,\n} from '@trismegisto/angular/textarea';\nexport { RichTextComponent, RichTextValidators } from '@trismegisto/angular/rich-text';\nexport {\n type RichTextTool,\n type RichTextFormatTool,\n type RichTextHeadingLevel,\n type RichTextPasteMode,\n type RichTextSchema,\n type RichTextSchemaOptions,\n type RichTextParser,\n RICH_TEXT_DEFAULT_TOOLS,\n richTextSchema,\n sanitizeRichText,\n richTextPlainText,\n richTextLength,\n normalizeRichTextUrl,\n} from '@trismegisto/primitives';\nexport { BulkInputComponent } from '@trismegisto/angular/bulk-input';\nexport type { BulkCase, BulkInvalidItem, BulkInvalidReason, BulkParseOptions, BulkParseResult, BulkSeparator, BulkValidator } from '@trismegisto/primitives';\nexport { type FileUploadSize, type FileUploader, FileUploadComponent } from '@trismegisto/angular/file-upload';\nexport {\n type ImageCropError,\n type ImageCropErrorCode,\n type ImageCropExportOptions,\n type ImageCropInfo,\n type ImageCropOutputType,\n type ImageCropRegion,\n type ImageCropResult,\n type ImageCropRotation,\n type ImageCropShape,\n type ImageCropSource,\n type ImageCropType,\n ImageCropComponent,\n} from '@trismegisto/angular/image-crop';\nexport type { UploadFile, UploadFilePatch, FileUploadStatus, FileRejection, FileRejectionReason } from '@trismegisto/primitives';\nexport {\n type AttachmentStatus,\n AttachmentComponent,\n type AttachmentGroupLayout,\n AttachmentGroupComponent,\n fileIconName,\n fileExtension,\n isImageFile,\n} from '@trismegisto/angular/attachment';\nexport { type HermesDirection, elementDirection, isRtl } from '@trismegisto/angular/direction';\nexport { type RadioOption, type RadioAppearance, type RadioLayout, RadioComponent } from '@trismegisto/angular/radio';\nexport { type SwitchLabelPosition, SwitchComponent } from '@trismegisto/angular/switch';\nexport { type SegmentedOption, type SegmentedControlSize, type SegmentedControlEmphasis, SegmentedControlComponent } from '@trismegisto/angular/segmented-control';\nexport { SettingsDialogComponent } from '@trismegisto/angular/settings';\nexport { SettingsSectionComponent } from '@trismegisto/angular/settings';\nexport { SettingsRowComponent } from '@trismegisto/angular/settings';\nexport { normalizeSettingsText, settingsTextMatches } from '@trismegisto/angular/settings';\nexport type { HermesSettingsCloseHandler } from '@trismegisto/angular/settings';\nexport { HermesAccordionGroup } from '@trismegisto/angular/accordion';\nexport { AccordionComponent } from '@trismegisto/angular/accordion';\nexport { AccordionPanelComponent } from '@trismegisto/angular/accordion';\nexport { AccordionContentDirective } from '@trismegisto/angular/accordion';\nexport { type TreeDropPosition, type TreeLocation, type TreeNode, type TreeSelectionChange, type TreeSelectionMode, type TreeCanDrop, type TreeMoveEvent, type TreeNodeActionEvent, type TreeNodeActions, type TreeChildrenLoader, type TreeChildrenPage, type TreeChildrenResult, type TreeLoadContext, type TreeNodeTemplateContext, TreeNodeTemplateDirective, TreeComponent } from '@trismegisto/angular/tree';\nexport type { PageWindowItem, PaginationState } from '@trismegisto/primitives';\nexport { INITIAL_PAGE } from '@trismegisto/primitives';\nexport type { DateRange, DateValueFormat, IsoDate } from '@trismegisto/primitives';\nexport type { DisplayDatePattern } from '@trismegisto/primitives';\nexport { EMPTY_DATE_RANGE, normalizeDateRange, displayDatePattern, formatDisplayDate, parseDisplayDate } from '@trismegisto/primitives';\nexport { type DataGridColumn, type DataGridExportFormat, type DataGridExportOptions, type DataGridPersistStorage, type DataGridSelectionMode, DataGridComponent, type DataGridRowAction, type DataGridActionConfirm, type DataGridActionTriggered, type DataGridContext, type DataGridFooterContext, type DataGridRowState } from '@trismegisto/angular/data-grid';\nexport { DataGridCellDirective } from '@trismegisto/angular/data-grid';\nexport { DataGridHeaderDirective } from '@trismegisto/angular/data-grid';\nexport { DataGridActionBarComponent } from '@trismegisto/angular/data-grid';\nexport { DataGridColumnFilterComponent } from '@trismegisto/angular/data-grid';\nexport type {\n GridColumn,\n GridColumnState,\n GridColumnType,\n GridColumnFilterValue,\n GridFilterOption,\n GridSelection,\n GridSort,\n SortDirection,\n} from '@trismegisto/primitives';\nexport { EMPTY_SELECTION, initialColumnState } from '@trismegisto/primitives';\n// data grid avançado: tipos do filtro composto, agregação e exportação (o app importa tudo daqui)\nexport type {\n GridFilterOperator,\n GridFilterConnector,\n GridFilterCondition,\n GridFilterQuery,\n GridAggregateFn,\n GridAggregates,\n GridAggregateFormatter,\n GridCsvSeparator,\n} from '@trismegisto/primitives';\nexport { EMPTY_GRID_QUERY, GRID_FILTER_OPERATORS } from '@trismegisto/primitives';\nexport { SessionRecoveryComponent, safeReturnUrl } from '@trismegisto/angular/session-recovery';\nexport { ThemePickerComponent } from '@trismegisto/angular/theme-picker';\n\nexport { HeaderComponent } from '@trismegisto/angular/header';\nexport { MenuComponent } from '@trismegisto/angular/menu';\nexport { ContextMenuDirective } from '@trismegisto/angular/menu';\nexport { type TabItem, TabBarComponent, type TabDragData, type TabReceivedEvent } from '@trismegisto/angular/tab-bar';\nexport { type MenuButtonSize, MenuButtonComponent } from '@trismegisto/angular/menu-button';\nexport { applyMenuItemChange, menuRadioValue, HOVER_OPEN_DELAY, HOVER_CLOSE_DELAY } from '@trismegisto/primitives';\nexport { type MenubarMenu, MenubarComponent } from '@trismegisto/angular/menubar';\nexport {\n HermesNavigationMenu,\n NAVIGATION_MENU_OPEN_DELAY,\n NavigationMenuComponent,\n NavigationMenuItemComponent,\n NavigationMenuLinkComponent,\n} from '@trismegisto/angular/navigation-menu';\nexport { HERMES_SIDEBAR_CONFIG, HermesSidebarService } from '@trismegisto/angular/sidebar';\nexport { HermesSidebarGroup } from '@trismegisto/angular/sidebar';\nexport { SidebarGroupComponent } from '@trismegisto/angular/sidebar';\nexport { SidebarLinkComponent } from '@trismegisto/angular/sidebar';\nexport { type SidebarNode, SidebarNodeComponent } from '@trismegisto/angular/sidebar';\nexport { SidebarComponent } from '@trismegisto/angular/sidebar';\n\n// conversa\nexport { type MessageAlign, type MessageStatus, type MessageContext, HM_MESSAGE, MessageComponent } from '@trismegisto/angular/message';\nexport { type BubbleVariant, type BubbleReaction, BubbleComponent } from '@trismegisto/angular/bubble';\nexport { type MessageDividerVariant, MessageDividerComponent } from '@trismegisto/angular/message-divider';\nexport { type MessageScrollerLive, MessageScrollerComponent } from '@trismegisto/angular/message-scroller';\n\nexport { HermesToastService } from '@trismegisto/angular/toast';\nexport { ToastComponent } from '@trismegisto/angular/toast';\nexport { ToastStackComponent } from '@trismegisto/angular/toast';\n\n// dicas, trilha e progresso\nexport { TooltipDirective } from '@trismegisto/angular/tooltip';\nexport { type ToggletipSide, ToggletipComponent } from '@trismegisto/angular/toggletip';\nexport { PopoverComponent } from '@trismegisto/angular/popover';\nexport { PopoverTriggerDirective } from '@trismegisto/angular/popover';\nexport { type BreadcrumbItem, BreadcrumbComponent } from '@trismegisto/angular/breadcrumb';\nexport { type ProgressIntent, type ProgressSize, ProgressComponent } from '@trismegisto/angular/progress';\n// linha do tempo, pilha de avatares e listas de transferência/ordenação\nexport { TimelineItemComponent } from '@trismegisto/angular/timeline';\nexport { type TimelineOrientation, TimelineComponent } from '@trismegisto/angular/timeline';\nexport type { TimelineDateValue, TimelineOutcome, TimelineStatus } from '@trismegisto/primitives';\nexport { type AvatarGroupPerson, type AvatarGroupSize, AvatarGroupComponent } from '@trismegisto/angular/avatar-group';\nexport { type DualListSize, DualListComponent } from '@trismegisto/angular/dual-list';\nexport type { DualListItem } from '@trismegisto/primitives';\nexport { type ReorderListItem, type ReorderListSize, type ReorderListMove, type ReorderListRemoval, type ReorderListItemContext, ReorderListComponent } from '@trismegisto/angular/reorder-list';\nexport { type DragListOrientation, HERMES_DRAG_DROP, accessibleName, byDocumentOrder, type HermesDragVia, type HermesDropAccepts, type HermesDropEvent, type HermesDropOverEvent, type HermesSortEvent, type HermesDragTemplateContext, type HermesDragItemRef, type HermesDropTargetRef, type HermesSortableContainer, HM_SORTABLE_CONTAINER, HermesDragDropService, DragPreviewDirective, type HermesDragEndEvent, DraggableDirective, DragHandleDirective, hermesDropAccepts, DropZoneDirective, DragPlaceholderDirective, SortableDirective } from '@trismegisto/angular/drag-drop';\nexport { type KanbanColumn, type KanbanMove, type KanbanWipState, HERMES_KANBAN, type KanbanCardContext, type KanbanColumnContext, type KanbanMoveEvent, type KanbanCanMove, type HermesKanbanHost, HM_KANBAN, KanbanComponent, KanbanColumnComponent, KanbanCardDirective, KanbanColumnActionsDirective } from '@trismegisto/angular/kanban';\n// atalhos de teclado: registro, diretiva e painel\nexport { provideHermesShortcuts, type HermesShortcutConfig, HERMES_SHORTCUT_CONFIG, type HermesShortcut, type HermesShortcutItem, HermesShortcutService } from '@trismegisto/angular/shortcut-list';\nexport { type ShortcutAction, ShortcutDirective } from '@trismegisto/angular/shortcut-list';\nexport { ShortcutListComponent } from '@trismegisto/angular/shortcut-list';\nexport type { ShortcutDisplay, ShortcutDisplayStep, ShortcutKeyLabel, ShortcutKeyName, ShortcutPlatform } from '@trismegisto/primitives';\n// etapas e assistente\nexport { HermesStepGroup } from '@trismegisto/angular/stepper';\nexport { type HermesStepGuard, type HermesStepSummaryEntry, type HermesStepSummary, StepComponent } from '@trismegisto/angular/stepper';\nexport { type StepperOrientation, StepperComponent } from '@trismegisto/angular/stepper';\nexport { type WizardMode, WizardComponent } from '@trismegisto/angular/wizard';\n// cópia, busca, barra de ferramentas e cabeçalho de página\nexport { type CopyButtonVariant, CopyButtonComponent } from '@trismegisto/angular/copy-button';\nexport { CodeViewerComponent, CodeLanguagesService, provideCodeLanguages } from '@trismegisto/angular/code-viewer';\nexport { type CodeDiffLayoutInput, type CodeDiffCopyTarget, CodeDiffComponent } from '@trismegisto/angular/code-diff';\nexport type { CodeLanguage, CodeLanguageLoader, CodeTokenKind, CodeToken, CodeLineTokens, CodeViewerHeader, CodeViewerVirtualize, CodeDiffLayout, TextDiff, TextDiffSummary, TextDiffWhitespace, TextDiffIntraline } from '@trismegisto/primitives';\nexport { AnimatedNumberComponent, FlipDirective, RevealDirective } from '@trismegisto/angular/motion';\nexport { type ThemeBuilderFormat, ThemeBuilderComponent } from '@trismegisto/angular/theme-builder';\nexport { type SearchFieldSize, SearchFieldComponent } from '@trismegisto/angular/search-field';\nexport { ToolbarComponent } from '@trismegisto/angular/toolbar';\nexport { type PageHeaderLevel, PageHeaderComponent } from '@trismegisto/angular/page-header';\nexport { type DividerOrientation, type DividerEmphasis, type DividerThickness, type DividerSpacing, type DividerLabelAlign, DividerComponent } from '@trismegisto/angular/divider';\nexport { type DescriptionListItem, type DescriptionListValueChange, type DescriptionListLabelPosition, type DescriptionListVariant, DescriptionListComponent } from '@trismegisto/angular/description-list';\nexport { DescriptionItemComponent } from '@trismegisto/angular/description-list';\nexport { type CertificateViewerHeadingLevel, CertificateViewerComponent } from '@trismegisto/angular/certificate-viewer';\nexport {\n type CertificateAltName,\n type CertificateAltNameType,\n type CertificateDate,\n type CertificateDistinguishedName,\n type CertificateInfo,\n type CertificateKeyUsage,\n type CertificateValidity,\n type CertificateValidityOptions,\n type CertificateValidityState,\n CERTIFICATE_NAME_FIELDS,\n CERTIFICATE_WARNING_DAYS,\n certificateValidity,\n} from '@trismegisto/primitives';\nexport { type PropertyDefinition, type PropertyGroup, type PropertyOption, type PropertyType, type PropertyValues, type PropertyChangeEvent, PropertyViewComponent } from '@trismegisto/angular/property-view';\nexport { type CardSelectionMode, type CardContainerItemContext, type CardContainerPersistStorage, type CardVisibilityChange, CardContainerItemDirective, CardContainerEmptyDirective, CardContainerComponent } from '@trismegisto/angular/card-container';\nexport { type LegendIntent, type LegendOrientation, type LegendMarker, type LegendItem, LegendComponent } from '@trismegisto/angular/legend';\n\nexport { SplitterComponent } from '@trismegisto/angular/splitter';\nexport { SplitterPanelComponent } from '@trismegisto/angular/splitter';\nexport type { SplitterOrientation } from '@trismegisto/primitives';\nexport { type WorkspaceTabContext, WorkspaceComponent } from '@trismegisto/angular/workspace';\nexport { WorkspaceNodeComponent } from '@trismegisto/angular/workspace';\nexport { provideHermesWorkspacePersistence, createPersistedWorkspaceStore, HERMES_WORKSPACE_PERSISTENCE_CONFIG } from '@trismegisto/angular/workspace-persistence';\n\n// tipos/stores compartilhados adicionais\nexport type { AlertVariant as ToastVariant, ToastItem, ToastPushOptions, ToastState, ToastAction } from '@trismegisto/primitives';\nexport type {\n DropZone,\n PanelLeaf,\n PanelNode,\n PanelSplit,\n PersistedPanelNode,\n PersistedWorkspace,\n SplitDirection,\n SplitPath,\n SplitStep,\n WorkspaceKeyAction,\n WorkspacePersistenceConfig,\n WorkspaceState,\n WorkspaceStorage,\n WorkspaceStore,\n} from '@trismegisto/primitives';\nexport {\n DEFAULT_WORKSPACE_PERSISTENCE_CONFIG,\n createWorkspaceStore,\n cyclicPanelNeighbor,\n dropZone,\n findPanelContainingTab,\n findPanelTabs,\n isValidPersistedWorkspace,\n loadWorkspace,\n panelIdsInOrder,\n restoreWorkspaceStore,\n saveWorkspace,\n toPersistedWorkspace,\n workspaceKeyAction,\n} from '@trismegisto/primitives';\n\n// widgets\nexport { type AccountAvatarSize, AccountAvatarComponent } from '@trismegisto/angular/account-avatar';\nexport { GeometricTextureComponent } from '@trismegisto/angular/geometric-texture';\nexport { LoadingSquareComponent } from '@trismegisto/angular/loading-square';\nexport { type SpinnerSize, SpinnerComponent } from '@trismegisto/angular/spinner';\nexport { BadgeComponent } from '@trismegisto/angular/badge';\nexport { type TagColor, TagComponent } from '@trismegisto/angular/tag';\nexport { SkeletonComponent } from '@trismegisto/angular/skeleton';\nexport { type CardMediaPosition, CardComponent } from '@trismegisto/angular/card';\nexport { type StatCardSize, type StatCardDetail, type StatCardTrendDirection, type StatCardTrend, StatCardComponent } from '@trismegisto/angular/stat-card';\nexport { type StatGroupMetric, StatGroupComponent } from '@trismegisto/angular/stat-group';\nexport { CarouselComponent } from '@trismegisto/angular/carousel';\nexport type { CarouselSlide } from '@trismegisto/primitives';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;ACAA;;AAEG"}
1
+ {"version":3,"file":"trismegisto-angular.mjs","sources":["../../src/public-api.ts","../../src/trismegisto-angular.ts"],"sourcesContent":["// i18n\nexport { preloadHermesCatalog, liveCatalog, provideHermesI18n, provideHermesMessages, type HermesI18nConfig, HERMES_I18N_CONFIG, type HermesCatalogLoader, HERMES_CATALOG_LOADERS, HermesI18nService, HERMES_MESSAGES } from '@trismegisto/angular/i18n';\n// pipes de tradução e de data/hora (idioma do HermesI18nService)\nexport { translateMessage, HermesTranslatePipe } from '@trismegisto/angular/pipes';\nexport { HermesDatePipe, HermesDateTimePipe } from '@trismegisto/angular/pipes';\nexport { toHermesDate, hermesDateOptions, formatHermesDate, type HermesDatePreset, type HermesDateInput, type HermesDateKind } from '@trismegisto/angular/pipes';\nexport {\n HERMES_MESSAGES_PT_BR,\n type HermesMessages,\n type HermesMessagesOverride,\n type CatalogOverride,\n type MessageParams,\n type PluralMessage,\n formatMessage,\n mergeCatalog,\n mergeMessages,\n pluralMessage,\n} from '@trismegisto/primitives';\n\n// tema\nexport { HERMES_THEME_CONFIG, HermesThemeService } from '@trismegisto/angular/theme';\nexport { HermesThemeDirective } from '@trismegisto/angular/theme';\nexport { HermesZoomService, provideHermesZoom } from '@trismegisto/angular/zoom';\nexport { type HermesZoomLevel, HERMES_ZOOM_BREAKPOINTS, HERMES_ZOOM_CLASSES, HERMES_TEXT_SCALES } from '@trismegisto/primitives';\nexport { type HermesMotionPreference, type HermesRegionalFormat, type TimeHourCycle, type Weekday } from '@trismegisto/primitives';\nexport { HERMES_FAMILIES, type HermesFamily, type HermesThemeName, type HermesDensity, type HermesThemeMode } from '@trismegisto/primitives';\nexport { HermesLoadingState } from '@trismegisto/primitives';\n\n// tipos compartilhados (definidos em @trismegisto/primitives, comuns a Angular/React)\nexport type {\n AlertVariant,\n ButtonEmphasis,\n ButtonIntent,\n ButtonSize,\n IconButtonEmphasis,\n ModalSize,\n HermesIcon,\n IconBadge,\n MenuItem,\n MenuItemChange,\n MenuItemType,\n PopoverAlign,\n PopoverAnchor,\n PopoverSide,\n SidebarMode,\n TabBarState,\n TabReorder,\n} from '@trismegisto/primitives';\nexport { createTabBarStore } from '@trismegisto/primitives';\n\n// componentes\nexport { type AlertSize, AlertComponent } from '@trismegisto/angular/alert';\nexport { AlertGroupComponent } from '@trismegisto/angular/alert';\nexport { HermesAlertGroup } from '@trismegisto/angular/alert';\nexport type { AlertAppearance } from '@trismegisto/primitives';\nexport { type ButtonGroupRegistry, HM_BUTTON_GROUP, ButtonComponent } from '@trismegisto/angular/button';\nexport { ButtonGroupComponent } from '@trismegisto/angular/button-group';\nexport { type DropdownPosition, DropdownComponent, DropdownTriggerDirective, DropdownIfOpenDirective, DropdownItemDirective, DropdownMenuComponent, HERMES_DROPDOWN } from '@trismegisto/angular/dropdown';\nexport { CheckboxComponent } from '@trismegisto/angular/checkbox';\nexport {\n CheckboxGroupComponent,\n type CheckboxGroupOption,\n type CheckboxGroupLayout,\n} from '@trismegisto/angular/checkbox-group';\nexport { CodeInputComponent } from '@trismegisto/angular/code-input';\nexport { type InputType, type InputValue, type InputMaskValue, type InputMode, InputComponent } from '@trismegisto/angular/input';\nexport { type FieldType, FieldComponent } from '@trismegisto/angular/field';\nexport { HermesFormFieldBase } from '@trismegisto/angular/forms';\nexport { DateRangeValidators } from '@trismegisto/angular/forms';\nexport { CalendarComponent } from '@trismegisto/angular/date-picker';\nexport { DatePickerComponent } from '@trismegisto/angular/date-picker';\nexport { DateRangePickerComponent, type DateRangePreset, type DateRangePresetOption, type DateRangePresetId } from '@trismegisto/angular/date-picker';\nexport { type CalendarEvent, type CalendarEventColor, type EventCalendarRange, type EventCalendarView, type EventCalendarDateClick, type EventCalendarRangeChange, EventCalendarComponent } from '@trismegisto/angular/event-calendar';\nexport { TimePickerComponent } from '@trismegisto/angular/time-picker';\nexport { type SliderModelValue, type SliderOrientation, type SliderSize, type SliderTooltip, SliderComponent } from '@trismegisto/angular/slider';\nexport { type FabPosition, type FabSize, type FabAction, FabComponent } from '@trismegisto/angular/fab';\nexport { type IconSize, type IconStatus, type IconDirection, type IconFlip, IconComponent } from '@trismegisto/angular/icon';\nexport { provideHermesIcons, provideHermesIconLoader } from '@trismegisto/angular/icon';\nexport { IconButtonComponent } from '@trismegisto/angular/icon-button';\nexport {\n type ToggleGroupValue,\n type ToggleGroupAppearance,\n type ToggleGroupSize,\n type ToggleGroupOrientation,\n ToggleGroupComponent,\n} from '@trismegisto/angular/toggle-group';\nexport { ToggleGroupItemComponent } from '@trismegisto/angular/toggle-group';\nexport { HermesToggleGroup } from '@trismegisto/angular/toggle-group';\nexport { type ItemAppearance, type ItemSize, ItemComponent } from '@trismegisto/angular/item';\nexport { ItemGroupComponent } from '@trismegisto/angular/item';\nexport { type HermesItemGroup, HM_ITEM_GROUP } from '@trismegisto/angular/item';\nexport { type EmptyAppearance, type EmptySize, type EmptyHeadingLevel, EmptyComponent } from '@trismegisto/angular/empty';\n// Ilustrações: NÃO reexportadas aqui de propósito. O `hm-state-screen` as carrega por `@defer` (chunk\n// sob demanda); reexportá-las na raiz faria o bundler do app levá-las todas no carregamento inicial.\n// Uso direto: `import { IllustrationErrorComponent } from '@trismegisto/angular/illustration-error'`.\nexport { type StateScreenSituation, StateScreenComponent } from '@trismegisto/angular/state-screen';\nexport { statePagePreset, type StatePageKind, type StatePageVisual, type StatePagePreset, STATE_PAGE_VISUALS, STATE_PAGE_PRESETS, StatePageComponent } from '@trismegisto/angular/state-page';\nexport { SelectComponent } from '@trismegisto/angular/select';\nexport { ModalComponent } from '@trismegisto/angular/modal';\nexport { HERMES_DIALOG_DATA, type HermesDialogConfig, type HermesConfirmOptions, HermesDialogRef } from '@trismegisto/angular/dialog';\nexport { HermesDialogService } from '@trismegisto/angular/dialog';\nexport { type DrawerPosition, DrawerComponent } from '@trismegisto/angular/drawer';\nexport { FormRequiredHintComponent } from '@trismegisto/angular/form-required-hint';\nexport { FloatingWindowComponent } from '@trismegisto/angular/floating-window';\nexport { type HermesOverlayStackEntry, HermesOverlayStack } from '@trismegisto/angular/floating-window';\nexport type { FloatingRect, FloatingWindowState } from '@trismegisto/primitives';\nexport { type HermesCommand, CommandPaletteComponent } from '@trismegisto/angular/command-palette';\nexport { type HermesSearchResult, type HermesSearchGroup, type HermesSearchFn, type HermesSearchSelection, GlobalSearchComponent } from '@trismegisto/angular/global-search';\nexport { type PaginatorVariant, PaginatorComponent } from '@trismegisto/angular/paginator';\nexport { type ComboboxOption, type ComboboxSize, ComboboxComponent } from '@trismegisto/angular/combobox';\nexport { ComboboxMultiComponent } from '@trismegisto/angular/combobox-multi';\nexport { type ChipVariant, type ChipSize, ChipComponent } from '@trismegisto/angular/chip';\nexport { ChipGroupComponent } from '@trismegisto/angular/chip';\nexport { HermesChipGroup } from '@trismegisto/angular/chip';\nexport { type FilterBarField, type FilterBarFieldType, type FilterBarFieldValue, type FilterBarStorage, type FilterBarValue, type SavedFilter, EMPTY_FILTER_BAR_VALUE, applyFilterBar, filterBarGridUnsupported, filterBarToGridQuery, localStorageFilterBarStorage, serializeFilterBarValue, parseFilterBarValue, FilterBarComponent } from '@trismegisto/angular/filter-bar';\nexport { HermesTabGroup, type HermesTabsMode, type HermesTabsOrientation, type HermesTabsOverflow } from '@trismegisto/angular/tabs';\nexport { TabsComponent } from '@trismegisto/angular/tabs';\nexport { TabComponent } from '@trismegisto/angular/tabs';\nexport { TabContentDirective } from '@trismegisto/angular/tabs';\nexport {\n type TextareaSubmitKey,\n TextareaComponent,\n type TextareaAddonSlot,\n TextareaAddonDirective,\n} from '@trismegisto/angular/textarea';\nexport { RichTextComponent, RichTextValidators } from '@trismegisto/angular/rich-text';\nexport {\n type RichTextTool,\n type RichTextFormatTool,\n type RichTextHeadingLevel,\n type RichTextPasteMode,\n type RichTextSchema,\n type RichTextSchemaOptions,\n type RichTextParser,\n RICH_TEXT_DEFAULT_TOOLS,\n richTextSchema,\n sanitizeRichText,\n richTextPlainText,\n richTextLength,\n normalizeRichTextUrl,\n} from '@trismegisto/primitives';\nexport { BulkInputComponent } from '@trismegisto/angular/bulk-input';\nexport type { BulkCase, BulkInvalidItem, BulkInvalidReason, BulkParseOptions, BulkParseResult, BulkSeparator, BulkValidator } from '@trismegisto/primitives';\nexport { type FileUploadSize, type FileUploader, FileUploadComponent } from '@trismegisto/angular/file-upload';\nexport {\n type ImageCropError,\n type ImageCropErrorCode,\n type ImageCropExportOptions,\n type ImageCropInfo,\n type ImageCropOutputType,\n type ImageCropRegion,\n type ImageCropResult,\n type ImageCropRotation,\n type ImageCropShape,\n type ImageCropSource,\n type ImageCropType,\n ImageCropComponent,\n} from '@trismegisto/angular/image-crop';\nexport type { UploadFile, UploadFilePatch, FileUploadStatus, FileRejection, FileRejectionReason } from '@trismegisto/primitives';\nexport {\n type AttachmentStatus,\n AttachmentComponent,\n type AttachmentGroupLayout,\n AttachmentGroupComponent,\n fileIconName,\n fileExtension,\n isImageFile,\n} from '@trismegisto/angular/attachment';\nexport { type HermesDirection, elementDirection, isRtl } from '@trismegisto/angular/direction';\nexport { type RadioOption, type RadioAppearance, type RadioLayout, RadioComponent } from '@trismegisto/angular/radio';\nexport { type SwitchLabelPosition, SwitchComponent } from '@trismegisto/angular/switch';\nexport { type SegmentedOption, type SegmentedControlSize, type SegmentedControlEmphasis, SegmentedControlComponent } from '@trismegisto/angular/segmented-control';\nexport { SettingsDialogComponent } from '@trismegisto/angular/settings';\nexport { SettingsSectionComponent } from '@trismegisto/angular/settings';\nexport { SettingsRowComponent } from '@trismegisto/angular/settings';\nexport { normalizeSettingsText, settingsTextMatches } from '@trismegisto/angular/settings';\nexport type { HermesSettingsCloseHandler } from '@trismegisto/angular/settings';\nexport { HermesAccordionGroup } from '@trismegisto/angular/accordion';\nexport { AccordionComponent } from '@trismegisto/angular/accordion';\nexport { AccordionPanelComponent } from '@trismegisto/angular/accordion';\nexport { AccordionContentDirective } from '@trismegisto/angular/accordion';\nexport { type TreeDropPosition, type TreeLocation, type TreeNode, type TreeSelectionChange, type TreeSelectionMode, type TreeCanDrop, type TreeMoveEvent, type TreeNodeActionEvent, type TreeNodeActions, type TreeChildrenLoader, type TreeChildrenPage, type TreeChildrenResult, type TreeLoadContext, type TreeNodeTemplateContext, TreeNodeTemplateDirective, TreeComponent } from '@trismegisto/angular/tree';\nexport type { PageWindowItem, PaginationState } from '@trismegisto/primitives';\nexport { INITIAL_PAGE } from '@trismegisto/primitives';\nexport type { DateRange, DateValueFormat, IsoDate } from '@trismegisto/primitives';\nexport type { DisplayDatePattern } from '@trismegisto/primitives';\nexport { EMPTY_DATE_RANGE, normalizeDateRange, displayDatePattern, formatDisplayDate, parseDisplayDate } from '@trismegisto/primitives';\nexport { type DataGridColumn, type DataGridExportFormat, type DataGridExportOptions, type DataGridPersistStorage, type DataGridSelectionMode, DataGridComponent, type DataGridRowAction, type DataGridActionConfirm, type DataGridActionTriggered, type DataGridContext, type DataGridFooterContext, type DataGridRowState } from '@trismegisto/angular/data-grid';\nexport { DataGridCellDirective } from '@trismegisto/angular/data-grid';\nexport { DataGridHeaderDirective } from '@trismegisto/angular/data-grid';\nexport { DataGridActionBarComponent } from '@trismegisto/angular/data-grid';\nexport { DataGridColumnFilterComponent } from '@trismegisto/angular/data-grid';\nexport type {\n GridColumn,\n GridColumnState,\n GridColumnType,\n GridColumnFilterValue,\n GridFilterOption,\n GridSelection,\n GridSort,\n SortDirection,\n} from '@trismegisto/primitives';\nexport { EMPTY_SELECTION, initialColumnState } from '@trismegisto/primitives';\n// data grid avançado: tipos do filtro composto, agregação e exportação (o app importa tudo daqui)\nexport type {\n GridFilterOperator,\n GridFilterConnector,\n GridFilterCondition,\n GridFilterQuery,\n GridAggregateFn,\n GridAggregates,\n GridAggregateFormatter,\n GridCsvSeparator,\n} from '@trismegisto/primitives';\nexport { EMPTY_GRID_QUERY, GRID_FILTER_OPERATORS } from '@trismegisto/primitives';\nexport { SessionRecoveryComponent, safeReturnUrl } from '@trismegisto/angular/session-recovery';\nexport { ThemePickerComponent } from '@trismegisto/angular/theme-picker';\n\nexport { HeaderComponent } from '@trismegisto/angular/header';\nexport { MenuComponent } from '@trismegisto/angular/menu';\nexport { ContextMenuDirective } from '@trismegisto/angular/menu';\nexport { type TabItem, TabBarComponent, type TabDragData, type TabReceivedEvent } from '@trismegisto/angular/tab-bar';\nexport { type MenuButtonSize, MenuButtonComponent } from '@trismegisto/angular/menu-button';\nexport { applyMenuItemChange, menuRadioValue, HOVER_OPEN_DELAY, HOVER_CLOSE_DELAY } from '@trismegisto/primitives';\nexport { type MenubarMenu, MenubarComponent } from '@trismegisto/angular/menubar';\nexport {\n HermesNavigationMenu,\n NAVIGATION_MENU_OPEN_DELAY,\n NavigationMenuComponent,\n NavigationMenuItemComponent,\n NavigationMenuLinkComponent,\n} from '@trismegisto/angular/navigation-menu';\nexport { HERMES_SIDEBAR_CONFIG, HermesSidebarService } from '@trismegisto/angular/sidebar';\nexport { HermesSidebarGroup } from '@trismegisto/angular/sidebar';\nexport { SidebarGroupComponent } from '@trismegisto/angular/sidebar';\nexport { SidebarLinkComponent } from '@trismegisto/angular/sidebar';\nexport { type SidebarNode, SidebarNodeComponent } from '@trismegisto/angular/sidebar';\nexport { SidebarComponent } from '@trismegisto/angular/sidebar';\n\n// conversa\nexport { type MessageAlign, type MessageStatus, type MessageContext, HM_MESSAGE, MessageComponent } from '@trismegisto/angular/message';\nexport { type BubbleVariant, type BubbleReaction, BubbleComponent } from '@trismegisto/angular/bubble';\nexport { type MessageDividerVariant, MessageDividerComponent } from '@trismegisto/angular/message-divider';\nexport { type MessageScrollerLive, MessageScrollerComponent } from '@trismegisto/angular/message-scroller';\n\nexport { HermesToastService } from '@trismegisto/angular/toast';\nexport { ToastComponent } from '@trismegisto/angular/toast';\nexport { ToastStackComponent } from '@trismegisto/angular/toast';\n\n// dicas, trilha e progresso\nexport { TooltipDirective } from '@trismegisto/angular/tooltip';\nexport { type ToggletipSide, ToggletipComponent } from '@trismegisto/angular/toggletip';\nexport { PopoverComponent } from '@trismegisto/angular/popover';\nexport { PopoverTriggerDirective } from '@trismegisto/angular/popover';\nexport { type BreadcrumbItem, BreadcrumbComponent } from '@trismegisto/angular/breadcrumb';\nexport { type ProgressIntent, type ProgressSize, ProgressComponent } from '@trismegisto/angular/progress';\n// linha do tempo, pilha de avatares e listas de transferência/ordenação\nexport { TimelineItemComponent } from '@trismegisto/angular/timeline';\nexport { type TimelineOrientation, TimelineComponent } from '@trismegisto/angular/timeline';\nexport type { TimelineDateValue, TimelineOutcome, TimelineStatus } from '@trismegisto/primitives';\nexport { type AvatarGroupPerson, type AvatarGroupSize, AvatarGroupComponent } from '@trismegisto/angular/avatar-group';\nexport { type DualListSize, DualListComponent } from '@trismegisto/angular/dual-list';\nexport type { DualListItem } from '@trismegisto/primitives';\nexport { type ReorderListItem, type ReorderListSize, type ReorderListMove, type ReorderListRemoval, type ReorderListItemContext, ReorderListComponent } from '@trismegisto/angular/reorder-list';\nexport { type ListEditorAdded, type ListEditorRemoved, type ListEditorMoved, type ListEditorEdited, ListEditorComponent } from '@trismegisto/angular/list-editor';\nexport type { ListEditorPair, ListEditorValue, ListEditorValidator, ListEditorRejection, ListEditorRejectionReason } from '@trismegisto/primitives';\nexport { type DragListOrientation, HERMES_DRAG_DROP, accessibleName, byDocumentOrder, type HermesDragVia, type HermesDropAccepts, type HermesDropEvent, type HermesDropOverEvent, type HermesSortEvent, type HermesDragTemplateContext, type HermesDragItemRef, type HermesDropTargetRef, type HermesSortableContainer, HM_SORTABLE_CONTAINER, HermesDragDropService, DragPreviewDirective, type HermesDragEndEvent, DraggableDirective, DragHandleDirective, hermesDropAccepts, DropZoneDirective, DragPlaceholderDirective, SortableDirective } from '@trismegisto/angular/drag-drop';\nexport { type KanbanColumn, type KanbanMove, type KanbanWipState, HERMES_KANBAN, type KanbanCardContext, type KanbanColumnContext, type KanbanMoveEvent, type KanbanCanMove, type HermesKanbanHost, HM_KANBAN, KanbanComponent, KanbanColumnComponent, KanbanCardDirective, KanbanColumnActionsDirective } from '@trismegisto/angular/kanban';\n// atalhos de teclado: registro, diretiva e painel\nexport { provideHermesShortcuts, type HermesShortcutConfig, HERMES_SHORTCUT_CONFIG, type HermesShortcut, type HermesShortcutItem, HermesShortcutService } from '@trismegisto/angular/shortcut-list';\nexport { type ShortcutAction, ShortcutDirective } from '@trismegisto/angular/shortcut-list';\nexport { ShortcutListComponent } from '@trismegisto/angular/shortcut-list';\nexport type { ShortcutDisplay, ShortcutDisplayStep, ShortcutKeyLabel, ShortcutKeyName, ShortcutPlatform } from '@trismegisto/primitives';\n// etapas e assistente\nexport { HermesStepGroup } from '@trismegisto/angular/stepper';\nexport { type HermesStepGuard, type HermesStepSummaryEntry, type HermesStepSummary, StepComponent } from '@trismegisto/angular/stepper';\nexport { type StepperOrientation, StepperComponent } from '@trismegisto/angular/stepper';\nexport { type WizardMode, WizardComponent } from '@trismegisto/angular/wizard';\n// cópia, busca, barra de ferramentas e cabeçalho de página\nexport { type CopyButtonVariant, CopyButtonComponent } from '@trismegisto/angular/copy-button';\nexport { CodeViewerComponent, CodeLanguagesService, provideCodeLanguages } from '@trismegisto/angular/code-viewer';\nexport { type CodeDiffLayoutInput, type CodeDiffCopyTarget, CodeDiffComponent } from '@trismegisto/angular/code-diff';\nexport type { CodeLanguage, CodeLanguageLoader, CodeTokenKind, CodeToken, CodeLineTokens, CodeViewerHeader, CodeViewerVirtualize, CodeDiffLayout, TextDiff, TextDiffSummary, TextDiffWhitespace, TextDiffIntraline } from '@trismegisto/primitives';\nexport { AnimatedNumberComponent, FlipDirective, HermesMotionService, RevealDirective } from '@trismegisto/angular/motion';\nexport { type ThemeBuilderFormat, ThemeBuilderComponent } from '@trismegisto/angular/theme-builder';\nexport { type SearchFieldSize, SearchFieldComponent } from '@trismegisto/angular/search-field';\nexport { ToolbarComponent } from '@trismegisto/angular/toolbar';\nexport { type PageHeaderLevel, PageHeaderComponent } from '@trismegisto/angular/page-header';\nexport { type DividerOrientation, type DividerEmphasis, type DividerThickness, type DividerSpacing, type DividerLabelAlign, DividerComponent } from '@trismegisto/angular/divider';\nexport { type DescriptionListItem, type DescriptionListValueChange, type DescriptionListLabelPosition, type DescriptionListVariant, DescriptionListComponent } from '@trismegisto/angular/description-list';\nexport { DescriptionItemComponent } from '@trismegisto/angular/description-list';\nexport { type CertificateViewerHeadingLevel, CertificateViewerComponent } from '@trismegisto/angular/certificate-viewer';\nexport {\n type CertificateAltName,\n type CertificateAltNameType,\n type CertificateDate,\n type CertificateDistinguishedName,\n type CertificateInfo,\n type CertificateKeyUsage,\n type CertificateValidity,\n type CertificateValidityOptions,\n type CertificateValidityState,\n CERTIFICATE_NAME_FIELDS,\n CERTIFICATE_WARNING_DAYS,\n certificateValidity,\n} from '@trismegisto/primitives';\nexport { type PropertyDefinition, type PropertyGroup, type PropertyOption, type PropertyType, type PropertyValues, type PropertyChangeEvent, PropertyViewComponent } from '@trismegisto/angular/property-view';\nexport { type CardSelectionMode, type CardContainerItemContext, type CardContainerPersistStorage, type CardVisibilityChange, CardContainerItemDirective, CardContainerEmptyDirective, CardContainerComponent } from '@trismegisto/angular/card-container';\nexport { type LegendIntent, type LegendOrientation, type LegendMarker, type LegendItem, LegendComponent } from '@trismegisto/angular/legend';\n\nexport { SplitterComponent } from '@trismegisto/angular/splitter';\nexport { SplitterPanelComponent } from '@trismegisto/angular/splitter';\nexport type { SplitterOrientation } from '@trismegisto/primitives';\nexport { type WorkspaceTabContext, WorkspaceComponent } from '@trismegisto/angular/workspace';\nexport { WorkspaceNodeComponent } from '@trismegisto/angular/workspace';\nexport { provideHermesWorkspacePersistence, createPersistedWorkspaceStore, HERMES_WORKSPACE_PERSISTENCE_CONFIG } from '@trismegisto/angular/workspace-persistence';\n\n// tipos/stores compartilhados adicionais\nexport type { AlertVariant as ToastVariant, ToastItem, ToastPushOptions, ToastState, ToastAction } from '@trismegisto/primitives';\nexport type {\n DropZone,\n PanelLeaf,\n PanelNode,\n PanelSplit,\n PersistedPanelNode,\n PersistedWorkspace,\n SplitDirection,\n SplitPath,\n SplitStep,\n WorkspaceKeyAction,\n WorkspacePersistenceConfig,\n WorkspaceState,\n WorkspaceStorage,\n WorkspaceStore,\n} from '@trismegisto/primitives';\nexport {\n DEFAULT_WORKSPACE_PERSISTENCE_CONFIG,\n createWorkspaceStore,\n cyclicPanelNeighbor,\n dropZone,\n findPanelContainingTab,\n findPanelTabs,\n isValidPersistedWorkspace,\n loadWorkspace,\n panelIdsInOrder,\n restoreWorkspaceStore,\n saveWorkspace,\n toPersistedWorkspace,\n workspaceKeyAction,\n} from '@trismegisto/primitives';\n\n// widgets\nexport { type AccountAvatarSize, AccountAvatarComponent } from '@trismegisto/angular/account-avatar';\nexport { GeometricTextureComponent } from '@trismegisto/angular/geometric-texture';\nexport { LoadingSquareComponent } from '@trismegisto/angular/loading-square';\nexport { type SpinnerSize, SpinnerComponent } from '@trismegisto/angular/spinner';\nexport { BadgeComponent } from '@trismegisto/angular/badge';\nexport { type TagColor, TagComponent } from '@trismegisto/angular/tag';\nexport { SkeletonComponent } from '@trismegisto/angular/skeleton';\nexport { type CardMediaPosition, CardComponent } from '@trismegisto/angular/card';\nexport { type StatCardSize, type StatCardDetail, type StatCardTrendDirection, type StatCardTrend, StatCardComponent } from '@trismegisto/angular/stat-card';\nexport { type StatGroupMetric, StatGroupComponent } from '@trismegisto/angular/stat-group';\nexport { CarouselComponent } from '@trismegisto/angular/carousel';\nexport type { CarouselSlide } from '@trismegisto/primitives';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;ACAA;;AAEG"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trismegisto/angular",
3
- "version": "2.1.1",
3
+ "version": "3.0.0",
4
4
  "description": "Hermes Design System — componentes Angular sobre @trismegisto/primitives, icons, tokens e core",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "sideEffects": false,
@@ -11,10 +11,10 @@
11
11
  "@angular/forms": ">=21.0.0",
12
12
  "@angular/platform-browser": ">=21.0.0",
13
13
  "@angular/router": ">=21.0.0",
14
- "@trismegisto/core": "^2.1.1",
15
- "@trismegisto/icons": "^2.1.1",
16
- "@trismegisto/primitives": "^2.1.1",
17
- "@trismegisto/tokens": "^2.1.1",
14
+ "@trismegisto/core": "^3.0.0",
15
+ "@trismegisto/icons": "^3.0.0",
16
+ "@trismegisto/primitives": "^3.0.0",
17
+ "@trismegisto/tokens": "^3.0.0",
18
18
  "rxjs": "^7.8.0"
19
19
  },
20
20
  "peerDependenciesMeta": {
@@ -303,6 +303,10 @@
303
303
  "types": "./types/trismegisto-angular-legend.d.ts",
304
304
  "default": "./fesm2022/trismegisto-angular-legend.mjs"
305
305
  },
306
+ "./list-editor": {
307
+ "types": "./types/trismegisto-angular-list-editor.d.ts",
308
+ "default": "./fesm2022/trismegisto-angular-list-editor.mjs"
309
+ },
306
310
  "./loading-square": {
307
311
  "types": "./types/trismegisto-angular-loading-square.d.ts",
308
312
  "default": "./fesm2022/trismegisto-angular-loading-square.mjs"
@@ -282,7 +282,7 @@ type DataGridActionConfirm = Omit<HermesConfirmOptions, 'danger' | 'confirmLabel
282
282
  readonly danger?: boolean;
283
283
  readonly confirmLabel?: string;
284
284
  };
285
- /** Ação por linha, desenhada como item do menu da última coluna. */
285
+ /** Ação por linha, desenhada como item do menu da coluna de ações (a primeira da grade, depois da seleção). */
286
286
  interface DataGridRowAction<T = unknown> {
287
287
  readonly id: string;
288
288
  /** Ícone (@trismegisto/icons); o rótulo já vem do contexto (o menu abriu sobre a linha). */
@@ -428,9 +428,8 @@ interface ColumnSizingFeatureDeps<T> {
428
428
  readonly loading: Signal<boolean>;
429
429
  /** Linhas reais da página (o encaixe pelo conteúdo espera haver alguma). */
430
430
  readonly rows: () => readonly unknown[];
431
- /** Colunas de sistema antes das de dados (seleção, detalhe). */
431
+ /** Colunas de sistema (seleção, ações, detalhe — todas antes das de dados). */
432
432
  readonly leadingFixed: () => number;
433
- readonly hasActions: () => boolean;
434
433
  }
435
434
  /**
436
435
  * Larguras das colunas, todas gravadas em `columnState`: semeadura, medição depois da pintura, encaixe
@@ -693,7 +692,7 @@ interface PinningFeatureDeps<T> {
693
692
  readonly shown: Signal<readonly GridColumn<T>[]>;
694
693
  readonly pinned: ModelSignal<GridPinnedColumns>;
695
694
  readonly columnState: Signal<readonly GridColumnState[]>;
696
- /** Colunas de sistema antes das de dados (seleção, detalhe) e se há a de ações. */
695
+ /** Colunas de sistema antes das de dados (seleção, ações, detalhe — todas no início). */
697
696
  readonly leadingFixed: () => number;
698
697
  readonly hasSelection: () => boolean;
699
698
  readonly hasActions: () => boolean;
@@ -720,14 +719,18 @@ declare class GridPinningFeature<T> {
720
719
  readonly active: Signal<boolean>;
721
720
  /** Célula fixa por chave de coluna (só as fixas aparecem). */
722
721
  readonly cells: Signal<ReadonlyMap<string, PinnedCell>>;
723
- /** Colunas de sistema presas: seleção em 0, detalhe depois dela, ações no fim. */
722
+ /**
723
+ * Colunas de sistema presas no início, nesta ordem: seleção em 0, ações depois dela e detalhe depois
724
+ * das duas. Cada uma desloca pelas larguras fixas (`--hm-data-grid-fixed-col`) das que vêm antes.
725
+ */
724
726
  readonly selectCell: Signal<PinnedCell | null>;
725
- readonly detailCell: Signal<PinnedCell | null>;
726
727
  readonly actionsCell: Signal<PinnedCell | null>;
728
+ readonly detailCell: Signal<PinnedCell | null>;
727
729
  /** Há conteúdo rolado por baixo das fixas do início / do fim (liga a sombra). */
728
730
  readonly scrolledStart: _angular_core.WritableSignal<boolean>;
729
731
  readonly scrolledEnd: _angular_core.WritableSignal<boolean>;
730
732
  constructor(deps: PinningFeatureDeps<T>);
733
+ private systemCell;
731
734
  pinOf(column: GridColumn<T>): GridColumnPin | null;
732
735
  pinOfKey(key: string): GridColumnPin | null;
733
736
  /** Fixa/desafixa (gerenciador de colunas). `''`/`'none'` = desafixar. */
@@ -798,8 +801,9 @@ declare class GridQueryFeature<T> {
798
801
  }
799
802
 
800
803
  /**
801
- * Ações por linha: um único `hm-menu` para a grade inteira, aberto pelo botão da última coluna (preso
802
- * às bordas dele) ou pelo clique direito na linha (no ponteiro). Só entram as ações que cabem na linha.
804
+ * Ações por linha: um único `hm-menu` para a grade inteira, aberto pelo botão da coluna de ações — a
805
+ * primeira da grade, logo depois da seleção (preso às bordas dele) — ou pelo clique direito na linha (no
806
+ * ponteiro). Só entram as ações que cabem na linha.
803
807
  */
804
808
  declare class GridRowActionsFeature<T> {
805
809
  private readonly actions;
@@ -1073,6 +1077,10 @@ declare class DataGridComponent<T> {
1073
1077
  readonly rowId: _angular_core.InputSignal<(row: T) => string>;
1074
1078
  /** Nome acessível da tabela (`<caption>`). */
1075
1079
  readonly caption: _angular_core.InputSignal<string>;
1080
+ /**
1081
+ * Ações por linha: um menu (⋮) na PRIMEIRA coluna da grade — depois da seleção, antes do detalhe e dos
1082
+ * dados. Fica fora do gerenciador de colunas, da ordem/estado persistidos e da exportação.
1083
+ */
1076
1084
  readonly rowActions: _angular_core.InputSignal<readonly DataGridRowAction<T>[]>;
1077
1085
  readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
1078
1086
  readonly error: _angular_core.InputSignal<string>;
@@ -1152,8 +1160,9 @@ declare class DataGridComponent<T> {
1152
1160
  protected readonly hasSelection: Signal<boolean>;
1153
1161
  /** Rádios de uma grade não podem cruzar com os de outra. */
1154
1162
  protected readonly radioName: string;
1155
- private readonly leading;
1156
1163
  private readonly withActions;
1164
+ /** Colunas de sistema, todas antes das de dados, nesta ordem: seleção, ações (⋮) e detalhe. */
1165
+ private readonly leading;
1157
1166
  protected readonly announcement: _angular_core.WritableSignal<string>;
1158
1167
  protected readonly dragInstructionsId: string;
1159
1168
  protected readonly ordering: GridColumnOrderFeature<T>;
@@ -1 +1 @@
1
- {"version":3,"file":"trismegisto-angular-data-grid.d.ts","sources":["../../src/data-grid/data-grid-action-bar.component.ts","../../src/data-grid/data-grid-cell.directive.ts","../../src/data-grid/data-grid-column-filter.component.ts","../../src/data-grid/data-grid-header.directive.ts","../../src/data-grid/data-grid.types.ts","../../src/data-grid/data-grid.view-model.ts","../../src/data-grid/features/column-order.feature.ts","../../src/data-grid/features/column-sizing.feature.ts","../../src/data-grid/features/column-visibility.feature.ts","../../src/data-grid/features/detail.feature.ts","../../src/data-grid/features/export.feature.ts","../../src/data-grid/features/filter.feature.ts","../../src/data-grid/features/group.feature.ts","../../src/data-grid/features/pagination.feature.ts","../../src/data-grid/features/persistence.feature.ts","../../src/data-grid/features/pinning.feature.ts","../../src/data-grid/features/query.feature.ts","../../src/data-grid/features/row-actions.feature.ts","../../src/data-grid/features/selection.feature.ts","../../src/data-grid/features/sort.feature.ts","../../src/data-grid/features/virtual.feature.ts","../../src/data-grid/data-grid.component.ts"],"mappings":";;;;;;;;AAMA;;;;;AAKG;AACH,cAOa,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEsB;;qBAG5C,aAAA,CAAA,WAAA;0BACK,aAAA,CAAA,WAAA;;oBAEN,aAAA,CAAA,WAAA;AAEd,6BAAyB,KAAK;;oDAVnB,0BAA0B;sDAA1B,0BAA0B;AAiBtC;;AChCD;;;;;;;AAOG;AACH,cACa,qBAAqB;;qBAEjB,aAAA,CAAA,WAAA;AACf,uBAAmB,WAAW;;AAAuB;6BAE5B,WAAW;;;oDALzB,qBAAqB;sDAArB,qBAAqB;AAQjC;;ACiBD;;;;;;;;AAQG;AACH,cAMa,6BAA6B;;;qBAIzB,aAAA,CAAA,WAAA,CAAA,aAAA;;oBAED,aAAA,CAAA,WAAA;;sBAEE,aAAA,CAAA,WAAA,UAAA,gBAAA;mBACH,aAAA,CAAA,WAAA;qBACE,aAAA,CAAA,WAAA;0BAEK,aAAA,CAAA,gBAAA;4BACE,aAAA,CAAA,gBAAA;sBACN,aAAA,CAAA,gBAAA;qBACD,aAAA,CAAA,gBAAA;;;;;;;;;;;;;;;;;;;;;;;;;;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A;;AAGhC;;AAMA;AAaA;;AAKA;AAUA,oCAA8B,kBAAA;;wCAYI,MAAA;;;;;;AA6B/B;AAGH,sCAAgC,MAAA;AAChC,+BAAyB,MAAA,CAAA,WAAA,SAAA,iBAAA;AAKzB,mCAA6B,MAAA;AAE7B,qCAA+B,MAAA;AAC/B,qCAA+B,MAAA;;AAE/B,uCAAiC,MAAA;AAEjC,iCAA2B,MAAA;AAC3B,oCAA8B,MAAA,UAAA,QAAA;AAK9B;AAEA,mCAA6B,MAAA;AAO7B,qCAA+B,MAAA;;AAM/B,8BAAwB,MAAA;AACxB,kCAA4B,MAAA;AAC5B,kCAA4B,MAAA;AAI5B,sCAAgC,MAAA;AAEhC,0CAAoC,MAAA;;;AAwBpC,wBAAmB,qBAA0B;;AAK7C;4CAMwC,aAAa;AAIrD;;AAAoD;AAAwB;AAAI;iCAInD,iBAAiB;AAI9C;;kCAY8B,GAAG;AAMjC,gCAA4B,UAAU,OAAO,GAAG;;mDAyBD,aAAa;;AAsC5D;AAIA;AAMA;AAIA;AAMA;AAMA;oDAliBW,iBAAiB;sDAAjB,iBAAiB;AAuiB7B;;","names":[]}
1
+ {"version":3,"file":"trismegisto-angular-data-grid.d.ts","sources":["../../src/data-grid/data-grid-action-bar.component.ts","../../src/data-grid/data-grid-cell.directive.ts","../../src/data-grid/data-grid-column-filter.component.ts","../../src/data-grid/data-grid-header.directive.ts","../../src/data-grid/data-grid.types.ts","../../src/data-grid/data-grid.view-model.ts","../../src/data-grid/features/column-order.feature.ts","../../src/data-grid/features/column-sizing.feature.ts","../../src/data-grid/features/column-visibility.feature.ts","../../src/data-grid/features/detail.feature.ts","../../src/data-grid/features/export.feature.ts","../../src/data-grid/features/filter.feature.ts","../../src/data-grid/features/group.feature.ts","../../src/data-grid/features/pagination.feature.ts","../../src/data-grid/features/persistence.feature.ts","../../src/data-grid/features/pinning.feature.ts","../../src/data-grid/features/query.feature.ts","../../src/data-grid/features/row-actions.feature.ts","../../src/data-grid/features/selection.feature.ts","../../src/data-grid/features/sort.feature.ts","../../src/data-grid/features/virtual.feature.ts","../../src/data-grid/data-grid.component.ts"],"mappings":";;;;;;;;AAMA;;;;;AAKG;AACH,cAOa,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEsB;;qBAG5C,aAAA,CAAA,WAAA;0BACK,aAAA,CAAA,WAAA;;oBAEN,aAAA,CAAA,WAAA;AAEd,6BAAyB,KAAK;;oDAVnB,0BAA0B;sDAA1B,0BAA0B;AAiBtC;;AChCD;;;;;;;AAOG;AACH,cACa,qBAAqB;;qBAEjB,aAAA,CAAA,WAAA;AACf,uBAAmB,WAAW;;AAAuB;6BAE5B,WAAW;;;oDALzB,qBAAqB;sDAArB,qBAAqB;AAQjC;;ACiBD;;;;;;;;AAQG;AACH,cAMa,6BAA6B;;;qBAIzB,aAAA,CAAA,WAAA,CAAA,aAAA;;oBAED,aAAA,CAAA,WAAA;;sBAEE,aAAA,CAAA,WAAA,UAAA,gBAAA;mBACH,aAAA,CAAA,WAAA;qBACE,aAAA,CAAA,WAAA;0BAEK,aAAA,CAAA,gBAAA;4BACE,aAAA,CAAA,gBAAA;sBACN,aAAA,CAAA,gBAAA;qBACD,aAAA,CAAA,gBAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAE4C;AAE3D,iCAA2B,aAAA,CAAA,MAAA;AAM3B,kCAA4B,aAAA,CAAA,MAAA,CAAA,gBAAA;AAO5B;AACA;;AAiCA,6BAAyB,KAAK;+BAIH,gBAAgB,SAAS,KAAK;AASzD,gCAA4B,gBAAgB;AAI5C,+BAA2B,aAAa;;;oDAnF7B,6BAA6B;sDAA7B,6BAA6B;AAgKzC;;ACjND;;AAE6E;AAC7E,cACa,uBAAuB;;6BAEX,aAAA,CAA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;;AAM/B,8BAAwB,MAAA;AACxB,kCAA4B,MAAA;AAC5B,kCAA4B,MAAA;AAI5B,sCAAgC,MAAA;AAEhC,0CAAoC,MAAA;;;AAwBpC,wBAAmB,qBAA0B;;AAK7C;4CAMwC,aAAa;AAIrD;;AAAoD;AAAwB;AAAI;iCAInD,iBAAiB;AAI9C;;kCAY8B,GAAG;AAMjC,gCAA4B,UAAU,OAAO,GAAG;;mDAyBD,aAAa;;AAsC5D;AAIA;AAMA;AAIA;AAMA;AAMA;oDAxiBW,iBAAiB;sDAAjB,iBAAiB;AA6iB7B;;","names":[]}
@@ -1,6 +1,6 @@
1
1
  import * as _angular_core from '@angular/core';
2
2
  import { InjectionToken, Provider } from '@angular/core';
3
- import { HermesMessages, HermesMessagesOverride, MessageParams, PluralMessage } from '@trismegisto/primitives';
3
+ import { HermesMessages, HermesMessagesOverride, HermesRegionalFormat, MessageParams, PluralMessage } from '@trismegisto/primitives';
4
4
 
5
5
  interface HermesI18nConfig {
6
6
  /** Idioma inicial (BCP 47). Padrão: o do catálogo `base`, senão `pt-BR`. */
@@ -16,6 +16,8 @@ interface HermesI18nConfig {
16
16
  readonly catalogs?: Readonly<Record<string, HermesMessages | HermesCatalogLoader>>;
17
17
  /** Textos avulsos sobrescritos por cima do catálogo ativo (vale para todos os idiomas). */
18
18
  readonly override?: HermesMessagesOverride;
19
+ /** Relógio de 12/24 h e primeiro dia da semana por cima do padrão do idioma (ver `setRegionalFormat`). */
20
+ readonly regionalFormat?: HermesRegionalFormat;
19
21
  }
20
22
  declare const HERMES_I18N_CONFIG: InjectionToken<HermesI18nConfig>;
21
23
  /** Carrega um catálogo sob demanda (o `import()` vira um chunk à parte no bundle do app). */
@@ -49,14 +51,22 @@ declare class HermesI18nService {
49
51
  private readonly overrides;
50
52
  /** Idioma ativo. */
51
53
  readonly locale: _angular_core.WritableSignal<string>;
54
+ /** Relógio e primeiro dia da semana escolhidos (vazio = os do idioma). Ver `setRegionalFormat`. */
55
+ readonly regionalFormat: _angular_core.WritableSignal<HermesRegionalFormat>;
52
56
  /**
53
57
  * Catálogo ativo, já com as sobrescritas. Quando o idioma pedido é uma variante regional da língua do
54
58
  * catálogo (`en-GB` servido pelo catálogo `en`), `meta.locale` passa a ser o pedido: todo formato via
55
59
  * `Intl` (data digitada, início da semana, números, plural) segue a região — dd/mm e segunda-feira no
56
60
  * Reino Unido. Se o pedido caiu num catálogo de outra língua, fica o do catálogo, para formato e texto
57
61
  * não se contradizerem.
62
+ *
63
+ * O formato regional escolhido (`setRegionalFormat`) entra no mesmo `meta.locale` como extensão Unicode
64
+ * (`pt-BR-u-hc-h12`): data e hora (pipes, `hm-time-picker`, `hm-event-calendar`) e início da semana
65
+ * (`hm-date-picker`, `hm-event-calendar`) seguem a escolha sem input novo em componente nenhum.
58
66
  */
59
67
  readonly messages: _angular_core.Signal<HermesMessages>;
68
+ /** Locale de formatação (`Intl`): o idioma ativo com o formato regional escolhido — o mesmo `meta.locale`. */
69
+ readonly formatLocale: _angular_core.Signal<string>;
60
70
  constructor();
61
71
  /**
62
72
  * Troca o idioma. Com o catálogo à mão (pt-BR, embutido, já baixado), troca na hora; se ele ainda
@@ -64,6 +74,15 @@ declare class HermesI18nService {
64
74
  * nesse momento. Chamadas seguidas: vale a última.
65
75
  */
66
76
  setLocale(locale: string): Promise<void>;
77
+ /**
78
+ * Relógio de 12/24 horas e primeiro dia da semana por cima do padrão do idioma — preferência da pessoa
79
+ * (Configurações › Região, no spine). `null`/ausente volta ao do idioma. Vale na hora, sem recarregar.
80
+ *
81
+ * ```ts
82
+ * i18n.setRegionalFormat({ hourCycle: 'h23', firstDayOfWeek: 1 }); // 24 h, semana na segunda
83
+ * ```
84
+ */
85
+ setRegionalFormat(format: HermesRegionalFormat): void;
67
86
  registerCatalog(locale: string, catalog: HermesMessages): void;
68
87
  setOverride(override: HermesMessagesOverride): void;
69
88
  /** `'Selecionar {name}'` + `{ name }` → texto final. */
@@ -1 +1 @@
1
- {"version":3,"file":"trismegisto-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,SAAS,cAAc,GAAG,mBAAmB;;AAEhF,wBAAoB,sBAAsB;;AAE1C,8BAA0B,oBAAoB;AAC/C;AAED,cAAa,kBAAkB,EAAA,cAAA,CAAA,gBAAA;AAK/B;AACM,KAAM,mBAAmB,SAAS,OAAO,CAAC,cAAc;AAE9D;;;AAGG;AACH,cAAa,sBAAsB,EAAE,QAAQ,CAAC,MAAM,SAAS,mBAAmB;AAkChF;;;AAGG;AACH,iBAAgB,oBAAoB,kBAAkB,OAAO,CAAC,cAAc;AAM5E;;;;;;;;AAQG;AACH,cACa,iBAAiB;AAC5B;AACA;AAMA;;AAOA;;AAEA;;qBAGe,aAAA,CAAA,cAAA;;6BAGQ,aAAA,CAAA,cAAA,CAAA,oBAAA;AAEvB;;;;;;;;;;AAUG;uBACc,aAAA,CAAA,MAAA,CAAA,cAAA;;2BASI,aAAA,CAAA,MAAA;;AAgBrB;;;;AAIG;+BACwB,OAAO;AAiBlC;;;;;;;AAOG;AACH,8BAA0B,oBAAoB;6CAIL,cAAc;AAIvD,0BAAsB,sBAAsB;;sCAKV,aAAa;;AAK/C,oBAAgB,aAAa,0BAA0B,aAAa;AAIpE;;;;AAIG;AACH,sBAAkB,QAAQ,CAAC,MAAM;AAKjC;AAKA;AAMA;;AAQA;oDA9IW,iBAAiB;wDAAjB,iBAAiB;AAkJ7B;AAED;;;;;;AAMG;AACH,iBAAgB,WAAW;AA8B3B;AACA,cAAa,eAAe,EAAA,cAAA,CAAA,cAAA;AAQ5B;AACA,iBAAgB,iBAAiB,SAAS,gBAAgB,GAAG,QAAQ;AAIrE;;;;AAIG;AACH,iBAAgB,qBAAqB,YAAW,sBAA2B,SAAQ,cAAsC,GAAG,QAAQ;;","names":[]}
@@ -0,0 +1,167 @@
1
+ import * as _trismegisto_primitives from '@trismegisto/primitives';
2
+ import { ListEditorValue, ListEditorValidator, ListEditorRejection } from '@trismegisto/primitives';
3
+ import * as _angular_core from '@angular/core';
4
+ import { HermesFormFieldBase } from '@trismegisto/angular/forms';
5
+ import { ReorderListItem, ReorderListMove, ReorderListRemoval } from '@trismegisto/angular/reorder-list';
6
+
7
+ /** Item acrescentado pelo campo: o item (já aparado) e a posição em que entrou. */
8
+ interface ListEditorAdded<T extends ListEditorValue = ListEditorValue> {
9
+ readonly item: T;
10
+ readonly index: number;
11
+ }
12
+ /** Item removido pelo ✕: o item e a posição que ocupava. */
13
+ interface ListEditorRemoved<T extends ListEditorValue = ListEditorValue> {
14
+ readonly item: T;
15
+ readonly index: number;
16
+ }
17
+ /** Item reordenado (arrasto ou teclado): o item, a posição de origem e a de destino. */
18
+ interface ListEditorMoved<T extends ListEditorValue = ListEditorValue> {
19
+ readonly item: T;
20
+ readonly from: number;
21
+ readonly to: number;
22
+ }
23
+ /** Item editado (`editable`): o valor novo, o anterior e a posição. */
24
+ interface ListEditorEdited<T extends ListEditorValue = ListEditorValue> {
25
+ readonly item: T;
26
+ readonly previous: T;
27
+ readonly index: number;
28
+ }
29
+ /**
30
+ * Editor de lista (`hm-list-editor`): um campo para acrescentar itens e, embaixo, a lista ordenável dos
31
+ * itens (o `hm-reorder-list`: arrasto pela alça e teclado), com ✕ por item e edição opcional. Para listas
32
+ * curtas em que a ORDEM importa: URIs de redirecionamento, funcionalidades de um plano, etapas.
33
+ *
34
+ * ```html
35
+ * <!-- texto simples -->
36
+ * <hm-list-editor label="Redirect URIs" placeholder="https://app.exemplo.com/callback" [validate]="url" formControlName="redirectUris" />
37
+ * <!-- título + descrição -->
38
+ * <hm-list-editor pair label="Funcionalidades" [(items)]="features" editable />
39
+ * ```
40
+ *
41
+ * - **Modos**: texto simples (`string[]`, um campo) ou `pair` (`{ title, description }[]`, dois campos;
42
+ * na lista o título em destaque e a descrição como texto de apoio embaixo). O tipo é genérico
43
+ * (`ListEditorComponent<T>`); no modo par, campos extras do app (`id`, `sortOrder`...) sobrevivem à edição.
44
+ * - **Adicionar**: Enter em qualquer campo ou o botão "Adicionar". O texto é aparado; vazio, repetido
45
+ * (`allowDuplicates`, `ignoreCase`), acima do `max` ou recusado por `validate` mostra o erro no campo e
46
+ * não entra. Depois de adicionar, os campos limpam e o foco volta ao primeiro.
47
+ * - **Reordenar e remover**: os do `hm-reorder-list` (alça, Espaço/setas, ✕ com foco no vizinho). A lista
48
+ * esvaziada devolve o foco ao campo.
49
+ * - **Editar** (`editable`): o lápis do item leva o texto aos campos; o botão vira "Salvar" (Enter salva,
50
+ * Esc ou "Cancelar" desistem) e o foco volta ao lápis do item.
51
+ * - **Valor**: `[(items)]`, Reactive Forms ou `[(ngModel)]` (ver `HermesFormFieldBase`). `readonly` mostra
52
+ * só a lista, sem campo nem ações; `disabled` mantém tudo visível e inoperante.
53
+ *
54
+ * Acessibilidade: grupo nomeado pelo `label`; a lista é um grupo "Itens de {label}"; uma região viva
55
+ * educada anuncia adição, edição e (pelo `hm-reorder-list`) remoção; os movimentos são anunciados pelo
56
+ * serviço de arrastar e soltar.
57
+ */
58
+ declare class ListEditorComponent<T extends ListEditorValue = string> extends HermesFormFieldBase<readonly T[]> {
59
+ #private;
60
+ /** Os itens, na ordem atual. Two-way: recebe a lista nova a cada adição, remoção, edição ou movimento. */
61
+ readonly items: _angular_core.ModelSignal<readonly T[]>;
62
+ /** Nome da lista (visível, salvo `labelHidden`). */
63
+ readonly label: _angular_core.InputSignal<string>;
64
+ readonly labelHidden: _angular_core.InputSignalWithTransform<boolean, unknown>;
65
+ readonly hint: _angular_core.InputSignal<string>;
66
+ /** Exemplo no campo de texto (ou no título, no modo par). */
67
+ readonly placeholder: _angular_core.InputSignal<string>;
68
+ /** Exemplo no campo de descrição (modo par). */
69
+ readonly descriptionPlaceholder: _angular_core.InputSignal<string>;
70
+ /** Itens com título + descrição (`{ title, description }`) em vez de texto simples. */
71
+ readonly pair: _angular_core.InputSignalWithTransform<boolean, unknown>;
72
+ /** Rótulo do campo de texto simples (fica só para leitor de tela). Vazio = catálogo ("Novo item"). */
73
+ readonly itemLabel: _angular_core.InputSignal<string>;
74
+ /** Rótulo do campo de título (modo par). Vazio = catálogo ("Título"). */
75
+ readonly titleLabel: _angular_core.InputSignal<string>;
76
+ /** Rótulo do campo de descrição (modo par). Vazio = catálogo ("Descrição"). */
77
+ readonly descriptionLabel: _angular_core.InputSignal<string>;
78
+ /** Texto do botão de adicionar. Vazio = catálogo ("Adicionar"). */
79
+ readonly addLabel: _angular_core.InputSignal<string>;
80
+ /** Texto da lista vazia. Vazio = catálogo ("Nenhum item na lista."). */
81
+ readonly emptyText: _angular_core.InputSignal<string>;
82
+ /** No modo par, a descrição também é obrigatória. */
83
+ readonly descriptionRequired: _angular_core.InputSignalWithTransform<boolean, unknown>;
84
+ /** Aceita itens repetidos (comparados pelo texto, ou pelo título no modo par). */
85
+ readonly allowDuplicates: _angular_core.InputSignalWithTransform<boolean, unknown>;
86
+ /** Ao procurar repetidos, ignora maiúsculas/minúsculas. */
87
+ readonly ignoreCase: _angular_core.InputSignalWithTransform<boolean, unknown>;
88
+ /** Quantidade máxima de itens (`null` = sem limite). Com limite, o rótulo mostra "{n} de {max}". */
89
+ readonly max: _angular_core.InputSignalWithTransform<number | null, unknown>;
90
+ /** Validação do item novo/editado: devolve a mensagem de erro ou `null`. */
91
+ readonly validate: _angular_core.InputSignal<ListEditorValidator<T> | null>;
92
+ /** Lápis por item para editar o texto no lugar. */
93
+ readonly editable: _angular_core.InputSignalWithTransform<boolean, unknown>;
94
+ /** Só leitura: mostra a lista, sem campo, alças nem ações. */
95
+ readonly readonly: _angular_core.InputSignalWithTransform<boolean, unknown>;
96
+ readonly added: _angular_core.OutputEmitterRef<ListEditorAdded<T>>;
97
+ readonly removed: _angular_core.OutputEmitterRef<ListEditorRemoved<T>>;
98
+ readonly moved: _angular_core.OutputEmitterRef<ListEditorMoved<T>>;
99
+ readonly edited: _angular_core.OutputEmitterRef<ListEditorEdited<T>>;
100
+ protected readonly valueModel: _angular_core.ModelSignal<readonly T[]>;
101
+ protected readonly text: _angular_core.Signal<{
102
+ list: string;
103
+ item: string;
104
+ title: string;
105
+ description: string;
106
+ add: string;
107
+ save: string;
108
+ cancel: string;
109
+ edit: string;
110
+ empty: string;
111
+ required: string;
112
+ requiredDescription: string;
113
+ duplicate: string;
114
+ limit: _trismegisto_primitives.PluralMessage;
115
+ count: string;
116
+ added: string;
117
+ edited: string;
118
+ editing: string;
119
+ }>;
120
+ protected readonly id: string;
121
+ protected readonly labelId: string;
122
+ protected readonly hintId: string;
123
+ protected readonly errorId: string;
124
+ protected readonly draftTitle: _angular_core.WritableSignal<string>;
125
+ protected readonly draftDescription: _angular_core.WritableSignal<string>;
126
+ protected readonly rejection: _angular_core.WritableSignal<ListEditorRejection | null>;
127
+ /** Id (da linha) do item em edição. */
128
+ protected readonly editingId: _angular_core.WritableSignal<string | null>;
129
+ protected readonly announcement: _angular_core.WritableSignal<string>;
130
+ protected readonly values: _angular_core.Signal<readonly T[]>;
131
+ protected readonly rows: _angular_core.Signal<ReorderListItem[]>;
132
+ /** Posição do item em edição (-1 = adicionando). Some sozinho se o item sair da lista. */
133
+ protected readonly editingIndex: _angular_core.Signal<number>;
134
+ protected readonly firstFieldLabel: _angular_core.Signal<string>;
135
+ protected readonly secondFieldLabel: _angular_core.Signal<string>;
136
+ protected readonly listLabel: _angular_core.Signal<string>;
137
+ protected readonly emptyLabel: _angular_core.Signal<string>;
138
+ protected readonly submitLabel: _angular_core.Signal<string>;
139
+ protected readonly countText: _angular_core.Signal<string>;
140
+ /** Erro mostrado no primeiro campo (texto ou título). */
141
+ protected readonly firstError: _angular_core.Signal<string>;
142
+ /** Erro mostrado no campo de descrição (modo par). */
143
+ protected readonly secondError: _angular_core.Signal<string>;
144
+ protected readonly describedBy: _angular_core.Signal<string | null>;
145
+ protected editLabel(row: ReorderListItem): string;
146
+ protected onTitleInput(value: string | number | null): void;
147
+ protected onDescriptionInput(value: string | number | null): void;
148
+ /** Enter adiciona (ou salva); Esc, durante a edição, desiste. */
149
+ protected onFieldKeydown(event: KeyboardEvent): void;
150
+ /** Adiciona o item dos campos (ou salva a edição), se ele passar nas regras. */
151
+ submit(): void;
152
+ /** Leva o item aos campos para editar. */
153
+ protected startEdit(index: number): void;
154
+ /** Desiste da edição: limpa os campos e devolve o foco ao lápis do item. */
155
+ protected cancelEdit(): void;
156
+ /** Lista nova vinda do `hm-reorder-list` (soltou num lugar novo ou removeu pelo ✕). */
157
+ protected onRowsChange(rows: readonly ReorderListItem[]): void;
158
+ protected onRowMoved(move: ReorderListMove): void;
159
+ protected onRowRemoved(removal: ReorderListRemoval): void;
160
+ protected onFocusOut(event: FocusEvent): void;
161
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ListEditorComponent<any>, never>;
162
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ListEditorComponent<any>, "hm-list-editor", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": true; "isSignal": true; }; "labelHidden": { "alias": "labelHidden"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "descriptionPlaceholder": { "alias": "descriptionPlaceholder"; "required": false; "isSignal": true; }; "pair": { "alias": "pair"; "required": false; "isSignal": true; }; "itemLabel": { "alias": "itemLabel"; "required": false; "isSignal": true; }; "titleLabel": { "alias": "titleLabel"; "required": false; "isSignal": true; }; "descriptionLabel": { "alias": "descriptionLabel"; "required": false; "isSignal": true; }; "addLabel": { "alias": "addLabel"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; "descriptionRequired": { "alias": "descriptionRequired"; "required": false; "isSignal": true; }; "allowDuplicates": { "alias": "allowDuplicates"; "required": false; "isSignal": true; }; "ignoreCase": { "alias": "ignoreCase"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "validate": { "alias": "validate"; "required": false; "isSignal": true; }; "editable": { "alias": "editable"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; }, { "items": "itemsChange"; "added": "added"; "removed": "removed"; "moved": "moved"; "edited": "edited"; }, never, never, true, never>;
163
+ }
164
+
165
+ export { ListEditorComponent };
166
+ export type { ListEditorAdded, ListEditorEdited, ListEditorMoved, ListEditorRemoved };
167
+ //# sourceMappingURL=trismegisto-angular-list-editor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"trismegisto-angular-list-editor.d.ts","sources":["../../src/list-editor/list-editor.component.ts"],"mappings":";;;;;;AAwCA;UACiB,eAAe,WAAW,eAAe,GAAG,eAAe;AAC1E;AACA;AACD;AAED;UACiB,iBAAiB,WAAW,eAAe,GAAG,eAAe;AAC5E;AACA;AACD;AAED;UACiB,eAAe,WAAW,eAAe,GAAG,eAAe;AAC1E;AACA;AACA;AACD;AAED;UACiB,gBAAgB,WAAW,eAAe,GAAG,eAAe;AAC3E;AACA;AACA;AACD;AAOD;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4BG;AACH,cAOa,mBAAmB,WAAW,eAAe,mBAAmB,mBAAmB;;;oBAIhF,aAAA,CAAA,WAAA;;oBAEA,aAAA,CAAA,WAAA;0BACM,aAAA,CAAA,wBAAA;mBACP,aAAA,CAAA,WAAA;;0BAEO,aAAA,CAAA,WAAA;;qCAEW,aAAA,CAAA,WAAA;;mBAElB,aAAA,CAAA,wBAAA;;wBAEK,aAAA,CAAA,WAAA;;yBAEC,aAAA,CAAA,WAAA;;+BAEM,aAAA,CAAA,WAAA;;uBAER,aAAA,CAAA,WAAA;;wBAEC,aAAA,CAAA,WAAA;;kCAEU,aAAA,CAAA,wBAAA;;8BAEJ,aAAA,CAAA,wBAAA;;yBAEL,aAAA,CAAA,wBAAA;;kBAEP,aAAA,CAAA,wBAAA;;uBAEK,aAAA,CAAA,WAAA,CAAA,mBAAA;;uBAEA,aAAA,CAAA,wBAAA;;uBAEA,aAAA,CAAA,wBAAA;oBAEH,aAAA,CAAA,gBAAA,CAAA,eAAA;sBACE,aAAA,CAAA,gBAAA,CAAA,iBAAA;oBACF,aAAA,CAAA,gBAAA,CAAA,eAAA;qBACC,aAAA,CAAA,gBAAA,CAAA,gBAAA;AAEf,mCAA6B,aAAA,CAAA,WAAA;6BAMN,aAAA,CAAA,MAAA;;;;;;;;;;;;;;;;;;AAA4C;AAGnE;AACA;AACA;AACA;AAEA,mCAA6B,aAAA,CAAA,cAAA;AAC7B,yCAAmC,aAAA,CAAA,cAAA;AACnC,kCAA4B,aAAA,CAAA,cAAA,CAAA,mBAAA;;AAE5B,kCAA4B,aAAA,CAAA,cAAA;AAC5B,qCAA+B,aAAA,CAAA,cAAA;AAQ/B,+BAAyB,aAAA,CAAA,MAAA;AAEzB,6BAAuB,aAAA,CAAA,MAAA,CAAA,eAAA;;AAavB,qCAA+B,aAAA,CAAA,MAAA;AAM/B,wCAAkC,aAAA,CAAA,MAAA;AAGlC,yCAAmC,aAAA,CAAA,MAAA;AACnC,kCAA4B,aAAA,CAAA,MAAA;AAC5B,mCAA6B,aAAA,CAAA,MAAA;AAC7B,oCAA8B,aAAA,CAAA,MAAA;AAI9B,kCAA4B,aAAA,CAAA,MAAA;;AAM5B,mCAA6B,aAAA,CAAA,MAAA;;AAO7B,oCAA8B,aAAA,CAAA,MAAA;AAI9B,oCAA8B,aAAA,CAAA,MAAA;AAI9B,6BAAyB,eAAe;;;;AAexC,oCAAgC,aAAa;;AAW7C;;AA0CA;;;;0CAwBsC,eAAe;AAQrD,+BAA2B,eAAe;AAK1C,oCAAgC,kBAAkB;AASlD,gCAA4B,UAAU;oDA9O3B,mBAAmB;sDAAnB,mBAAmB;AAyS/B;;","names":[]}
@@ -1,4 +1,5 @@
1
1
  import * as _angular_core from '@angular/core';
2
+ import { HermesMotionPreference } from '@trismegisto/primitives';
2
3
 
3
4
  /**
4
5
  * Exibe um valor numérico animando de `from` até `value`; a animação começa quando o elemento
@@ -127,5 +128,35 @@ declare class RevealDirective {
127
128
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<RevealDirective, "[hmReveal]", ["hmReveal"], { "hmRevealDelay": { "alias": "hmRevealDelay"; "required": false; "isSignal": true; }; "hmRevealThreshold": { "alias": "hmRevealThreshold"; "required": false; "isSignal": true; }; "hmRevealOnce": { "alias": "hmRevealOnce"; "required": false; "isSignal": true; }; }, { "revealed": "revealed"; }, never, never, true, never>;
128
129
  }
129
130
 
130
- export { AnimatedNumberComponent, FlipDirective, RevealDirective };
131
+ /**
132
+ * Movimento do app: a escolha da pessoa (`'system'`, `'reduce'`, `'full'`) por cima do
133
+ * `prefers-reduced-motion` do sistema operacional.
134
+ *
135
+ * A escolha vira `data-motion` no `<html>` (ver `HERMES_MOTION_ATTRIBUTE` em `@trismegisto/primitives`), que
136
+ * é o único lugar onde ela mora: o CSS do `@trismegisto/core` (transições, animações, rolagem suave) e
137
+ * `prefersReducedMotion()` (número animado, FLIP, revelação, carrossel, rolagem dos visualizadores) leem
138
+ * dali antes da media query. Quem persiste a escolha é o app (no spine, `SpinePreferencesService`).
139
+ *
140
+ * ```ts
141
+ * readonly motion = inject(HermesMotionService);
142
+ * motion.setPreference('reduce'); // reduz mesmo com o sistema animando
143
+ * // @if (!motion.reduced()) { animação }
144
+ * ```
145
+ */
146
+ declare class HermesMotionService {
147
+ #private;
148
+ /** A escolha: `'system'` (segue o sistema), `'reduce'` (sempre reduz) ou `'full'` (nunca reduz). */
149
+ readonly preference: _angular_core.Signal<HermesMotionPreference>;
150
+ /** O sistema operacional pede menos movimento (acompanha a troca com a página aberta). */
151
+ readonly systemReduced: _angular_core.Signal<boolean>;
152
+ /** Vale reduzir agora: a escolha, ou o sistema quando a escolha é `'system'`. */
153
+ readonly reduced: _angular_core.Signal<boolean>;
154
+ constructor();
155
+ /** Troca a escolha na hora (o que não for `reduce`/`full` vira `system`). */
156
+ setPreference(preference: HermesMotionPreference): void;
157
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<HermesMotionService, never>;
158
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<HermesMotionService>;
159
+ }
160
+
161
+ export { AnimatedNumberComponent, FlipDirective, HermesMotionService, RevealDirective };
131
162
  //# sourceMappingURL=trismegisto-angular-motion.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"trismegisto-angular-motion.d.ts","sources":["../../src/motion/animated-number.component.ts","../../src/motion/flip.directive.ts","../../src/motion/reveal.directive.ts"],"mappings":";;AAkBA;;;;;;;;;;;;;AAaG;AACH,cASa,uBAAuB;;oBACpB,aAAA,CAAA,WAAA;qBACC,aAAA,CAAA,WAAA,CAAA,IAAA,CAAA,mBAAA;;uBAEE,aAAA,CAAA,WAAA;;mBAEJ,aAAA,CAAA,WAAA;AAEb;AACA;AACA;;AAEA;;AAEA;AACA;;;AAKA;AACA;AAEA;AAWA,kCAA4B,aAAA,CAAA,MAAA;AAC5B,sCAAgC,aAAA,CAAA,MAAA;;AAyBhC;AAmBA;oDA/EW,uBAAuB;sDAAvB,uBAAuB;AAwGnC;;AC3ID;;;;;;;;;;;;;;;;;AAiBG;AACH,cAIa,aAAa;;qBAET,aAAA,CAAA,WAAA;;0BAEK,aAAA,CAAA,WAAA;;6BAEG,aAAA,CAAA,WAAA;;2BAEF,aAAA,CAAA,WAAA;AAErB;AACA;AACA;;;;;AAsBA;AAaA;AAMA;AAUA;oDA/DW,aAAa;sDAAb,aAAa;AA4FzB;;ACpHD;;;;;;;;;;;;;;AAcG;AACH,cAUa,eAAe;;4BAEJ,aAAA,CAAA,WAAA;AACtB;;;;AAIG;gCACuB,aAAA,CAAA,WAAA;;2BAEL,aAAA,CAAA,wBAAA;;uBAEJ,aAAA,CAAA,gBAAA;AAEjB;AACA;;AAEA,gCAA0B,aAAA,CAAA,cAAA;;;;AAS1B;AAOA;oDAjCW,eAAe;sDAAf,eAAe;AAuD3B;;","names":[]}
1
+ {"version":3,"file":"trismegisto-angular-motion.d.ts","sources":["../../src/motion/animated-number.component.ts","../../src/motion/flip.directive.ts","../../src/motion/reveal.directive.ts","../../src/motion/motion.service.ts"],"mappings":";;;AAkBA;;;;;;;;;;;;;AAaG;AACH,cASa,uBAAuB;;oBACpB,aAAA,CAAA,WAAA;qBACC,aAAA,CAAA,WAAA,CAAA,IAAA,CAAA,mBAAA;;uBAEE,aAAA,CAAA,WAAA;;mBAEJ,aAAA,CAAA,WAAA;AAEb;AACA;AACA;;AAEA;;AAEA;AACA;;;AAKA;AACA;AAEA;AAWA,kCAA4B,aAAA,CAAA,MAAA;AAC5B,sCAAgC,aAAA,CAAA,MAAA;;AAyBhC;AAmBA;oDA/EW,uBAAuB;sDAAvB,uBAAuB;AAwGnC;;AC3ID;;;;;;;;;;;;;;;;;AAiBG;AACH,cAIa,aAAa;;qBAET,aAAA,CAAA,WAAA;;0BAEK,aAAA,CAAA,WAAA;;6BAEG,aAAA,CAAA,WAAA;;2BAEF,aAAA,CAAA,WAAA;AAErB;AACA;AACA;;;;;AAsBA;AAaA;AAMA;AAUA;oDA/DW,aAAa;sDAAb,aAAa;AA4FzB;;ACpHD;;;;;;;;;;;;;;AAcG;AACH,cAUa,eAAe;;4BAEJ,aAAA,CAAA,WAAA;AACtB;;;;AAIG;gCACuB,aAAA,CAAA,WAAA;;2BAEL,aAAA,CAAA,wBAAA;;uBAEJ,aAAA,CAAA,gBAAA;AAEjB;AACA;;AAEA,gCAA0B,aAAA,CAAA,cAAA;;;;AAS1B;AAOA;oDAjCW,eAAe;sDAAf,eAAe;AAuD3B;;ACzED;;;;;;;;;;;;;;AAcG;AACH,cACa,mBAAmB;;;yBASX,aAAA,CAAA,MAAA,CAAA,sBAAA;;4BAGG,aAAA,CAAA,MAAA;;sBAGN,aAAA,CAAA,MAAA;;;AAchB,8BAA0B,sBAAsB;oDA7BrC,mBAAmB;wDAAnB,mBAAmB;AAkC/B;;","names":[]}