limitless_ui library

Reusable AngularDart UI components and directives for generic web apps.

Classes

BrazilianCurrencyInputFormatter
CalendarCell
CurrencyInputFormatter
CustomMultiSelectItem
CustomSelectItem
DatatableAction
DatatableActionColumn
Helper column for row actions in table mode.
DatatableActionContext
DatatableActionController
DatatableCol
Column definition and rendered value container used by the datatable.
DatatableMenuAction
A custom action that appears in the export/actions dropdown menu.
DatatableRenderedRow
DatatableRow
DatatableSearchField
DatatableSettings
DatatableStyle
CSS-style helper object for datatable rendering.
DatatableTitlePopoverConfig
DatatableTitleTooltipConfig
DatePickerCalendarCell
DatePickerMonthOption
DateRangePickerMonthOption
LiAccordionBodyComponent
Accordion body wrapper for declarative accordion markup.
LiAccordionBodyDirective
Creates a lazily rendered accordion body template.
LiAccordionBodyTemplateDirective
Template-backed accordion body that supports real DOM removal.
LiAccordionButtonDirective
Standard Bootstrap accordion button directive.
LiAccordionCollapseDirective
Accordion collapse region powered by LiCollapseController.
LiAccordionComponent
Limitless/Bootstrap accordion container.
LiAccordionDirective
Declarative accordion container similar to ng-bootstrap.
LiAccordionHeaderDirective
Creates a custom header template for LiAccordionItemComponent.
LiAccordionHeaderHostDirective
Declarative accordion header wrapper.
LiAccordionItemComponent
Limitless/Bootstrap accordion item with optional lazy body rendering.
LiAccordionItemDirective
Declarative accordion item with public API via #item="liAccordionItem".
LiAccordionToggleDirective
Custom toggle directive for declarative accordion headers.
LiAlertComponent
Limitless/Bootstrap alert component.
LiAutoClickFileInputDirective
Opens a file picker when liAutoClickFileInput changes from false to true.
LiBeforeOpenEvent
A cancelable event emitted right before a component opens.
LiBreadcrumbComponent
LiBreadcrumbEndDirective
LiBreadcrumbItemDirective
LiBreadcrumbStartDirective
LiBuiltInInputTypes
LiButtonComponent
Limitless/Bootstrap button component.
LiButtonToggleGroupComponent
Segmented button group for switching between a small set of options.
LiButtonToggleOption
Declarative option used by LiButtonToggleGroupComponent.
LiCarouselCaptionComponent
Limitless/Bootstrap carousel caption wrapper.
LiCarouselComponent
Limitless/Bootstrap carousel container.
LiCarouselItemComponent
Limitless/Bootstrap carousel item.
LiCheckboxComponent
LiCheckboxControlValueAccessor
Writes boolean values to checkbox inputs and listens to user changes.
LiCheckboxGroupComponent
LiClickOutsideDirective
uma diretiva angular para detectar cliques fora de um objeto baseada em https://javascript.plainenglish.io/creating-an-angular-directive-to-detect-clicking-outside-an-object-afd6c07212ef
LiCnpjMaskDirective
Applies a CNPJ mask to a text input as the user types.
LiCnpjRule
LiCollapseConfig
Default configuration for LiCollapseDirective.
LiCollapseController
Controller that applies Bootstrap/Limitless collapse classes and transitions.
LiCollapseDirective
Bootstrap/Limitless collapse directive similar to ng-bootstrap.
LiCollapseToggleDirective
Trigger directive for selector-based collapse toggles.
LiColorPickerComponent
LiColorPickerEvent
LiCpfFormatterPipe
Formats CPF values either as a masked document number or as digits only.
LiCpfHiddenPipe
Masks CPF strings for public display.
LiCpfMaskDirective
Applies a CPF mask to a text input as the user types.
LiCpfOrCnpjRule
LiCpfRule
LiCssStyleDirective
Applies a CSS style string directly via the CSSOM (element.style.cssText) instead of the DOM attribute (element.setAttribute('style', ...)).
LiCurrencyInputComponent
LiCustomHrefDirective
Mirrors a custom href value onto the host element.
LiCustomRule
LiDatatableCardContext
Context passed to a custom grid/card template.
LiDatatableCardDirective
Marks projected content as the custom card template used in grid mode.
LiDatatableCellContext
Context passed to a custom cell template for a single row and column.
LiDatatableCellDirective
Marks projected content as a custom body cell template for one column.
LiDataTableComponent
High-performance AngularDart datatable with table/grid rendering, server-side data requests, selection, sorting, responsive columns, export, and virtual scroll support.
LiDatatableFooterContext
Context object exposed to a custom li-datatable-footer template.
LiDatatableFooterDirective
Marks projected content as the custom datatable footer template.
LiDatatableHeaderCellContext
Context passed to a custom header-cell template.
LiDatatableHeaderCellDirective
Marks projected content as a custom header-cell template for one column.
LiDatatableHeaderContext
Context object exposed to a custom li-datatable-header template.
LiDatatableHeaderDirective
Marks projected content as the custom datatable header template.
LiDatatableInstrumentationEvent
LiDatatableSelectComponent
A select-like input that opens a modal with a full LiDataTableComponent for searching, sorting, and paginating through large data sets.
LiDatatableSelectCustomTriggerDirective
LiDatatableSelectModalContentDirective
LiDatatableSelectModalContext
LiDatatableSelectTriggerContext
LiDatatableSelectTriggerDirective
LiDatePickerComponent
Single-date picker built from the same visual and behavioral foundation as LiDateRangePickerComponent.
LiDatePickerTriggerContext
LiDatePickerTriggerDirective
LiDatePipe
Formats a date value to a string based on the requested format.
LiDateRangePickerComponent
LiDateRangePickerTriggerContext
LiDateRangePickerTriggerDirective
LiDateRangePreset
LiDateRangeValue
LiDateTimeValueAccessor
Writes DateTime values to <input type="datetime-local"> elements and reads them back into AngularDart form controls.
LiDateValueAccessor
Writes DateTime values to <input type="date"> elements and reads them back into AngularDart form controls.
LiDisableBrowserAutocompleteDirective
Writes an explicit non-standard autocomplete token to discourage browser autofill without capturing the native autocomplete attribute.
LiDocumentValidator
CPF/CNPJ document validator backed by essential_core 1.4.0 helpers.
LiDropdownAnchorDirective
LiDropdownButtonItemDirective
LiDropdownConfig
Default configuration for LiDropdownDirective.
LiDropdownDirective
Dropdown declarativo com API próxima ao ng-bootstrap.
LiDropdownItemDirective
LiDropdownMenuComponent
LiDropdownMenuDirective
LiDropdownMenuOption
LiDropdownMenuPositionDirective
LiDropdownSubmenuDirective
LiDropdownSubmenuMenuDirective
LiDropdownSubmenuToggleDirective
LiDropdownToggleDirective
LiEditableTextDirective
Turns an element into editable text and optionally binds it to AngularDart forms as a ControlValueAccessor.
LiEmailRule
LiFabAction
LiFabActionDirective
LiFabActionTemplateContext
LiFabComponent
LiFabShortcut
LiFabTriggerDirective
LiFabTriggerTemplateContext
LiFileDropDirective
LiFileSelectDirective
LiFileType
LiFileUploadComponent
LiFileUploadPreviewItem
LiFormDirective
Form/container helper that centralizes common validation UI flows.
LiFormFieldDirective
LiHideStringPipe
Masks part of a string while keeping a visible prefix.
LiHighlightComponent
LiIndexedNameDirective
LiInputComponent
LiInputType
LiMaxLengthRule
LiMinLengthRule
LiMinMaxDirective
Clamps numeric input values to the configured liMin and liMax range.
LiModalComponent
Generic modal component for AngularDart applications.
LiMultiOptionComponent
LiMultiSelectComponent
Example: <li-multi-select [dataSource]="dropdownOptions" [fields]="{'text': 'name', 'value': 'value'}" (currentValueChange)="dropdownValueChanged($event)"></li-multi-select>
LiMultiSelectTriggerContext
LiMultiSelectTriggerDirective
LiNarratedFullScreenLoading
LiNativeValidationFeedbackDirective
Adds Limitless/Bootstrap validation classes and feedback to native controls.
LiNavChangeEvent
LiNavConfig
Default configuration for LiNavDirective.
LiNavContentDirective
LiNavDirective
LiNavItemDirective
LiNavLinkDirective
LiNavOutletDirective
LiNgSelectOption
Marks
LiNotificationOutletComponent
Top navigation component.
LiNotificationToast
Data model for a toast, a.k.a. pop-up notification.
LiNotificationToastService
A service that manages toasts that should be displayed.
LiNumberValueAccessor
Writes double values to <input type="number"> elements and listens to user changes for AngularDart forms.
LiOffcanvasComponent
LiOffcanvasFooterDirective
LiOffcanvasHeaderDirective
LiOffcanvasRef
LiOffcanvasService
LiOnlyNumberDirective
Restricts keyboard and paste input to numeric characters only.
LiOnlyNumbersRule
LiOptionComponent
LiOverlayLayers
Stacking order of every overlay the library draws.
LiOverlayStack
Selectors of the containers an anchored overlay has to clear.
LiPageHeaderActionsDirective
LiPageHeaderBottomDirective
LiPageHeaderBreadcrumbItem
LiPageHeaderBreadcrumbItemDirective
LiPageHeaderComponent
LiPaginationComponent
LiPaginationEllipsisDirective
LiPaginationFirstDirective
LiPaginationLastDirective
LiPaginationLinkContext
LiPaginationNextDirective
LiPaginationNumberContext
LiPaginationNumberDirective
LiPaginationOutletDirective
LiPaginationPageItem
LiPaginationPagesContext
LiPaginationPagesDirective
LiPaginationPreviousDirective
LiPascalCasePipe
Converts text to PascalCase.
LiPasswordInputComponent
LiPatternRule
LiPopoverComponent
Limitless/Bootstrap popover component with declarative AngularDart API.
LiPopoverConfig
Default configuration for LiPopoverComponent.
LiPopoverDirective
Directive-based popover API parallel to LiTooltipDirective.
LiPortugueseTitleCasePipe
Converts text to Portuguese-aware title case.
LiPresetInputType
LiProgressBarComponent
Limitless/Bootstrap progress bar.
LiProgressComponent
Limitless/Bootstrap progress container.
LiRadioComponent
LiRadioGroupComponent
LiRatingComponent
LiRatingConfig
LiRequiredRule
LiRequiredTrueRule
LiRequiredValidator
Required validator with explicit li API and no visual side effects.
LiRule
LiRuleContext
LiSafeAppendHtmlDirective
Appends a trusted DOM node to the host element.
LiSafeHtmlDirective
Unified directive that renders trusted HTML text and/or appends a trusted DOM Node into the host element in a single pass, avoiding the double-render / layout-thrashing caused by separate liSafeInnerHtml + liSafeAppendHtml directives fighting over the same element.
LiSafeInnerHtmlDirective
Writes trusted HTML into the host element.
LiScrollSpyConfig
Default configuration for LiScrollSpyService.
LiScrollSpyDirective
LiScrollSpyFragmentDirective
LiScrollSpyFragmentState
LiScrollSpyItemDirective
LiScrollSpyMenuDirective
LiScrollSpyOptions
LiScrollSpyRef
LiScrollSpyService
LiScrollSpyState
LiScrollToOptions
LiSelectComponent
LiSelectControlValueAccessor
The accessor for writing a value and listening to changes on a select element.
LiSelectTriggerContext
LiSelectTriggerDirective
LiSimpleDialogComponent
LiSimpleDialogInputConfig
LiSimpleLoading
LiSimplePopover
Lightweight DOM-based popover helper for quick warning messages.
LiSimpleToast
Lightweight SweetAlert-inspired toast helper for quick feedback messages.
LiSliderComponent
LiSliderHandleViewModel
LiSliderPip
LiSliderPipViewModel
LiSliderRangeValues
LiSweetAlertDirective
LiTabsComponent
LiTabxDirective
Creates a tab which will be inside the LiTabsComponent
LiTabxHeaderDirective
Creates a new Limitless/Bootstrap tab header template
LiTagDeleteRequest
LiTagEditorComponent
LiTagEditorPresetColorView
LiTagFilterComponent
LiTagFilterOptionView
LiTagManagerComponent
LiTagManagerOptionView
LiTagSaveRequest
LiTagSelectionChange
LiTargetAlert
A contextual error panel drawn over an element of the page.
LiTemplateOutletDirective
Renders a TemplateRef with optional local variables.
LiteXlsx
Biblioteca minimalista e otimizada para gerar XLSX. Compatível com dart2js.
LiTextMaskConfig
Immutable configuration object for LiTextMaskDirective.
LiTextMaskDirective
Applies an arbitrary character mask to a text input as the user types.
LiTimelineComponent
LiTimelineContentDirective
LiTimelineDateComponent
LiTimelineIconDirective
LiTimelineItemComponent
LiTimelineTimeDirective
LiTimePickerComponent
Limitless-inspired time picker with a clock dial overlay.
LiTimePickerTriggerContext
LiTimePickerTriggerDirective
LiToastComponent
Declarative Bootstrap/Limitless toast component.
LiToastMessage
Immutable configuration used by LiToastComponent and LiToastStackComponent.
LiToastService
Simple toast store for global stack-style notifications.
LiToastSoundController
LiToastStackComponent
Fixed-position host for a LiToastService.
LiToggleComponent
LiTokenFieldComponent
LiTokenFieldItemView
LiTooltip
LiTooltipComponent
Limitless/Bootstrap tooltip component with DOM-based overlay rendering.
LiTooltipConfig
Default configuration for LiTooltipComponent and LiTooltipDirective.
LiTooltipController
LiTooltipDirective
Directive-based tooltip API similar to ng-bootstrap.
LiTreeViewComponent
LiTreeViewNodeContext
LiTreeViewNodeDirective
LiTreeviewSelectComponent
LiTreeviewSelectNodeContext
LiTreeviewSelectNodeDirective
LiTreeviewSelectTriggerContext
LiTreeviewSelectTriggerDirective
LiTruncatePipe
Truncates text to a maximum length.
LiTypeaheadComponent
LiTypeaheadConfig
Default configuration for LiTypeaheadComponent.
LiTypeaheadHighlightComponent
LiTypeaheadHighlightPart
LiTypeaheadItem
LiTypeaheadSelectItemEvent<T>
LiValidationIssue
LiWizardActionsContext
LiWizardComponent
LiWizardStepChange
LiWizardStepComponent
LiWizardStepHeaderContext
MinimalZip
Implementação ultra compacta de um criador de ZIP Utiliza 'Store' (sem compressão) para máxima performance web sem usar libs extras.
PageContext
Ref
SweetAlert
SweetAlertController
SweetAlertInputConfig
SweetAlertPopover
SweetAlertResult<T>
SweetAlertService
SweetAlertSimpleToast
TimePickerDialLabel
TinePDF
TreeViewLoadRequest
TreeViewLoadResult
TreeViewNode
TreeViewSettings

Extensions

HtmlFileExtension on File
Adds convenience readers to browser File values.
LiNotificationToastColorExtension on LiNotificationToastColor
ToStringNullSafetySelectionExtension on Selection
Converts a non-null browser Selection to its selected text.
ToStringSelectionExtension on Selection?
Converts a nullable browser Selection to its selected text.

Constants

esDynamicTabsDirectives → const List<Type>
Directives needed to create a tab-set
liAccordionDirectives → const List<Object>
Public directives used by the accordion component suite.
liAlertDirectives → const List<Object>
Public directives used by the alerts component.
liBreadcrumbDirectives → const List<Object>
liButtonDirectives → const List<Object>
Public directives used by the button component.
liButtonToggleGroupDirectives → const List<Object>
Public directives used by the button toggle group component.
liCarouselDirectives → const List<Object>
Public directives used by the carousel component suite.
liCheckboxValueAccessor → const ExistingProvider<List<ControlValueAccessor>>
liCollapseDirectives → const List<Object>
liDefaultTagColor → const String
liDefaultTagPalette → const List<String>
liDocumentValidatorProvider → const ExistingProvider<List<Object>>
liDropdownDirectives → const List<Object>
Public directives used by dropdown APIs.
liDropdownMenuDirectives → const List<Object>
Public directives used by the dropdown menu component.
liEditableTextValueAccessor → const ExistingProvider<List<ControlValueAccessor>>
liFabDirectives → const List<Object>
liInputDirectives → const List<Object>
limitlessFormDirectives → const List<Type>
Convenience bundle of generic form directives and value accessors provided by limitless_ui.
liNavDirectives → const List<Object>
Public directives used by nav APIs.
liNumberValueAccessor → const ExistingProvider<List<ControlValueAccessor>>
liOffcanvasDirectives → const List<Object>
liPageHeaderDirectives → const List<Object>
liPaginationDirectives → const List<Object>
liPasswordInputDirectives → const List<Object>
liPopoverDirectives → const List<Object>
Public directives used by the popover component.
liProgressDirectives → const List<Object>
Public directives used by the progress component suite.
liRequiredValidatorProvider → const ExistingProvider<List<Object>>
liSweetAlertDirectives → const List<Object>
liTimelineDirectives → const List<Object>
liTooltipDirectives → const List<Object>
Public directives used by tooltip APIs.
liWizardDirectives → const List<Object>
selectValueAccessorCustom → const ExistingProvider<List<ControlValueAccessor>>

Functions

constrainOverlayHeightToViewport({required Element? floatingElement, required PopperLayout layout, double viewportPadding = 8.0, double gap = 0.0}) → void
defaultLiPopoverPopperOptions(PopperOptions options) → PopperOptions
defaultLiScrollSpyProcessChanges(LiScrollSpyState state, void changeActive(String active), Map<String, Object?> context) → void
isPrimitive(dynamic val) → bool
liShouldShowValidation({required String mode, required bool touched, required bool dirty, required bool submitted}) → bool
liValidateValue({required dynamic value, required Iterable<LiRule> rules, required LiRuleContext context}) → LiValidationIssue?
markdown(String md, {double width = 612.0, double height = 792.0, double margin = 72.0}) → Uint8List
matchesResponsivePresentation({required String configuredPresentation, required String presentation, String widthBreakpoint = '', String heightBreakpoint = ''}) → bool
normalizeOverlayVerticalPosition({required Element? floatingElement, required PopperLayout layout, double gap = 0.0}) → void
resetOverlayViewportConstraints({required Element? floatingElement}) → void
resolveModalAwarePortalOptions({required String hostClassName, required Element referenceElement, required int baseHostZIndex, int? baseFloatingZIndex, int modalZIndexOffset = 1, bool restoreOnDispose = false}) → PopperPortalOptions
Portal options for an overlay that has to clear whatever is blocking.
resolveViewportHeight() → double

Typedefs

DatatableActionHandler = FutureOr<void> Function(DatatableActionContext context)
DatatableActionPredicate = bool Function(DatatableActionContext context)
DatatableCardBuilder = Element Function(Map<String, dynamic> itemMap, dynamic itemInstance, DatatableRow row)
DatatableCellStyleResolver = String? Function(Map<String, dynamic> itemMap, dynamic itemInstance)
DatatableExportPdfCallback = FutureOr<void> Function(List<DatatableRow> rows, List<DatatableCol> exportColumns)
Callback for custom PDF export. Receives the same data the built-in exporter uses so callers can build their own PDF layout.
DatatableExportXlsxCallback = FutureOr<void> Function(List<DatatableRow> rows, List<DatatableCol> exportColumns)
Callback for custom XLSX export.
DatatableRowKeyResolver = Object Function(Map<String, dynamic> itemMap, dynamic itemInstance, int index)
DatatableTitleRenderHtml = Element Function(DatatableCol column)
DatatableTitleRenderString = String Function(DatatableCol column)
LiInputMaskFormatter = String Function(String value)
LiInputNormalizer = dynamic Function(dynamic value)
LiInputValidator = String? Function(String value)
LiOffcanvasBeforeDismiss = FutureOr<bool> Function(LiOffcanvasDismissReason reason)
LiPasswordInputValidator = String? Function(String value)
LiPopoverPopperOptions = PopperOptions Function(PopperOptions options)
LiScrollSpyProcessChanges = void Function(LiScrollSpyState state, void changeActive(String active), Map<String, Object?> context)
LiSimpleDialogInputValidator = FutureOr<String?> Function(String value)
LiToastSoundPlayer = Future<void> Function()
LiTooltipLifecycleCallback = void Function(Element tooltip)
LiTreeViewPageLoader = FutureOr<TreeViewLoadResult> Function(TreeViewLoadRequest request)
LiTypeaheadResultMarkupBuilder = String Function(dynamic item, String term)
LiTypeaheadSearchCallback = FutureOr Function(String term)
RowStyleResolver = String? Function(Map<String, dynamic> itemMap, dynamic itemInstance)
SweetAlertInputValidator = FutureOr<String?> Function(String value)
SweetAlertLifecycleCallback = void Function(Element popup)
SweetAlertResultCallback<T> = FutureOr<void> Function(SweetAlertResult<T> result)
TreeViewFieldResolver<T> = T? Function(dynamic item, Map<String, dynamic>? itemMap)
TreeViewItemMapResolver = Map<String, dynamic>? Function(dynamic item)
TreeViewNodeDecorator = void Function(TreeViewNode node, dynamic item, Map<String, dynamic>? itemMap)
TreeViewNodesResolver = Iterable? Function(dynamic item, Map<String, dynamic>? itemMap)