@m1z23r/ngx-ui 1.1.30 → 1.1.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m1z23r/ngx-ui",
3
- "version": "1.1.30",
3
+ "version": "1.1.32",
4
4
  "description": "A modern Angular UI component library with themeable components and responsive layout system",
5
5
  "license": "MIT",
6
6
  "author": "m1z23r",
@@ -1917,5 +1917,99 @@ declare class TreeNodeComponent {
1917
1917
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<TreeNodeComponent, "ui-tree-node", never, { "node": { "alias": "node"; "required": true; "isSignal": true; }; "level": { "alias": "level"; "required": false; "isSignal": true; }; "indent": { "alias": "indent"; "required": false; "isSignal": true; }; }, { "nodeClick": "nodeClick"; "nodeExpand": "nodeExpand"; "nodeCollapse": "nodeCollapse"; }, never, never, true, never>;
1918
1918
  }
1919
1919
 
1920
- export { AccordionComponent, AccordionHeaderDirective, AccordionItemComponent, AlertComponent, BadgeComponent, ButtonComponent, CardComponent, CellTemplateDirective, CellValuePipe, CheckboxComponent, ChipInputComponent, ChipTemplateDirective, CircularProgressComponent, ContentComponent, ContextMenuDirective, DIALOG_DATA, DIALOG_REF, DatepickerComponent, DatetimepickerComponent, DialogRef, DialogService, DropdownComponent, DropdownDividerComponent, DropdownItemComponent, DropdownTriggerDirective, DynamicTabsComponent, FileChooserComponent, FilePreviewPipe, FileSizePipe, FooterComponent, InputComponent, LOADABLE, LoadingDirective, LoadingService, ModalComponent, NavbarComponent, OptionComponent, OptionTemplateDirective, PaginationComponent, ProgressComponent, RadioComponent, RadioGroupComponent, SelectComponent, ShellComponent, SidebarComponent, SidebarService, SidebarToggleComponent, SliderComponent, SpinnerComponent, SplitComponent, SplitPaneComponent, SwitchComponent, TAB_DATA, TAB_REF, TREE_HOST, TabActivePipe, TabComponent, TabIconDirective, TabRef, TableComponent, TabsComponent, TabsService, TextareaComponent, TimepickerComponent, ToastRef, ToastService, TooltipDirective, TreeComponent, TreeNodeComponent, Validators };
1921
- export type { AccordionVariant, AlertVariant, BadgeSize, BadgeVariant, ButtonColor, ButtonSize, ButtonVariant, CardPadding, CardVariant, CheckboxSize, ChipInputSize, ChipInputVariant, ChipTemplateContext, CircularProgressSize, CircularProgressVariant, DateRange, DatepickerSize, DatepickerVariant, DatepickerView, DatetimepickerSize, DatetimepickerVariant, DatetimepickerView, DialogConfig, DropdownAlign, DropdownPosition, DynamicTabConfig, DynamicTabsSize, DynamicTabsVariant, FileChooserSize, FileChooserVariant, InputType, Loadable, ModalSize, OptionTemplateContext, PaginationSize, ProgressSize, ProgressVariant, RadioGroupOrientation, RadioGroupSize, RadioGroupVariant, SelectSize, SelectVariant, ShellVariant, SliderSize, SortDirection, SortState, SpinnerSize, SpinnerVariant, SplitGutterSize, SplitOrientation, SplitSizeChange, SwitchSize, TabRenderMode, TableColumn, TabsSize, TabsVariant, TextareaResize, TimeFormat, TimeValue, TimepickerSize, TimepickerVariant, ToastConfig, ToastPosition, ToastVariant, TooltipPosition, TreeDropPosition, TreeNode, TreeNodeDropEvent, ValidationError, ValidationState, ValidatorFn };
1920
+ interface TemplateVariable {
1921
+ key: string;
1922
+ value: string;
1923
+ }
1924
+ type VariableState = 'resolved' | 'unset' | 'unknown';
1925
+ /** Context provided to variable popover templates */
1926
+ interface VariablePopoverContext {
1927
+ /** The variable key (same as `key`) */
1928
+ $implicit: string;
1929
+ /** The variable key */
1930
+ key: string;
1931
+ /** Current value from the variables array, or empty string if unknown */
1932
+ value: string;
1933
+ /** State of the variable: 'resolved', 'unset', or 'unknown' */
1934
+ state: VariableState;
1935
+ /** Close the popover */
1936
+ close: () => void;
1937
+ }
1938
+ /** Directive to mark a custom variable popover template */
1939
+ declare class VariablePopoverDirective {
1940
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<VariablePopoverDirective, never>;
1941
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<VariablePopoverDirective, "ng-template[uiVariablePopover]", never, {}, {}, never, never, true, never>;
1942
+ }
1943
+ declare class TemplateInputComponent implements OnDestroy {
1944
+ private readonly renderer;
1945
+ readonly label: _angular_core.InputSignal<string>;
1946
+ readonly placeholder: _angular_core.InputSignal<string>;
1947
+ readonly hint: _angular_core.InputSignal<string>;
1948
+ readonly error: _angular_core.InputSignal<string>;
1949
+ readonly disabled: _angular_core.InputSignal<boolean>;
1950
+ readonly readonly: _angular_core.InputSignal<boolean>;
1951
+ readonly required: _angular_core.InputSignal<boolean>;
1952
+ readonly id: _angular_core.InputSignal<string>;
1953
+ /** The template string value. Two-way bindable. */
1954
+ readonly value: _angular_core.ModelSignal<string>;
1955
+ /**
1956
+ * Known variables with their values. Two-way bindable.
1957
+ *
1958
+ * The component detects `{{key}}` patterns in the value and resolves state:
1959
+ * - Key found with a truthy value → 'resolved' (green)
1960
+ * - Key found with empty/falsy value → 'unset' (amber)
1961
+ * - Key NOT found in array → 'unknown' (red)
1962
+ */
1963
+ readonly variables: _angular_core.ModelSignal<TemplateVariable[]>;
1964
+ /** Emits the variable key on hover, or null when hover ends. */
1965
+ readonly variableHover: _angular_core.OutputEmitterRef<string | null>;
1966
+ /** Custom popover template for variables. Receives VariablePopoverContext. */
1967
+ readonly popoverTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
1968
+ private static nextId;
1969
+ private readonly generatedId;
1970
+ protected readonly inputId: _angular_core.Signal<string>;
1971
+ protected readonly mirrorRef: _angular_core.Signal<ElementRef<HTMLDivElement> | undefined>;
1972
+ protected readonly inputRef: _angular_core.Signal<ElementRef<HTMLInputElement> | undefined>;
1973
+ popoverRef: ElementRef<HTMLElement>;
1974
+ private readonly hostRef;
1975
+ private positionCleanup;
1976
+ private currentSpanRect;
1977
+ private isPortaled;
1978
+ protected readonly popoverVisible: _angular_core.WritableSignal<boolean>;
1979
+ protected readonly openAbove: _angular_core.WritableSignal<boolean>;
1980
+ protected readonly popoverText: _angular_core.WritableSignal<string>;
1981
+ protected readonly popoverVarKey: _angular_core.WritableSignal<string>;
1982
+ protected readonly popoverContext: _angular_core.Signal<VariablePopoverContext>;
1983
+ private hoveredVar;
1984
+ private hideTimer;
1985
+ constructor(renderer: Renderer2);
1986
+ protected readonly highlightedHtml: _angular_core.Signal<string>;
1987
+ protected syncScroll(): void;
1988
+ protected onInput(): void;
1989
+ protected onKeyDown(): void;
1990
+ protected onMouseMove(event: MouseEvent): void;
1991
+ protected onContainerMouseLeave(): void;
1992
+ protected onPopoverMouseEnter(): void;
1993
+ protected onPopoverMouseLeave(): void;
1994
+ private resolveVarState;
1995
+ private showPopover;
1996
+ private closePopover;
1997
+ private scheduleHide;
1998
+ private cancelHide;
1999
+ private escapeHtml;
2000
+ private static readonly STYLE_CONTENT;
2001
+ private injectStyles;
2002
+ private portalPopover;
2003
+ private unportalPopover;
2004
+ private updatePopoverPosition;
2005
+ private getCurrentSpanRect;
2006
+ private readonly onPositionUpdate;
2007
+ private addPositionListeners;
2008
+ private removePositionListeners;
2009
+ ngOnDestroy(): void;
2010
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<TemplateInputComponent, never>;
2011
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<TemplateInputComponent, "ui-template-input", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": true; "isSignal": true; }; "variables": { "alias": "variables"; "required": true; "isSignal": true; }; }, { "value": "valueChange"; "variables": "variablesChange"; "variableHover": "variableHover"; }, ["popoverTemplate"], never, true, never>;
2012
+ }
2013
+
2014
+ export { AccordionComponent, AccordionHeaderDirective, AccordionItemComponent, AlertComponent, BadgeComponent, ButtonComponent, CardComponent, CellTemplateDirective, CellValuePipe, CheckboxComponent, ChipInputComponent, ChipTemplateDirective, CircularProgressComponent, ContentComponent, ContextMenuDirective, DIALOG_DATA, DIALOG_REF, DatepickerComponent, DatetimepickerComponent, DialogRef, DialogService, DropdownComponent, DropdownDividerComponent, DropdownItemComponent, DropdownTriggerDirective, DynamicTabsComponent, FileChooserComponent, FilePreviewPipe, FileSizePipe, FooterComponent, InputComponent, LOADABLE, LoadingDirective, LoadingService, ModalComponent, NavbarComponent, OptionComponent, OptionTemplateDirective, PaginationComponent, ProgressComponent, RadioComponent, RadioGroupComponent, SelectComponent, ShellComponent, SidebarComponent, SidebarService, SidebarToggleComponent, SliderComponent, SpinnerComponent, SplitComponent, SplitPaneComponent, SwitchComponent, TAB_DATA, TAB_REF, TREE_HOST, TabActivePipe, TabComponent, TabIconDirective, TabRef, TableComponent, TabsComponent, TabsService, TemplateInputComponent, TextareaComponent, TimepickerComponent, ToastRef, ToastService, TooltipDirective, TreeComponent, TreeNodeComponent, Validators, VariablePopoverDirective };
2015
+ export type { AccordionVariant, AlertVariant, BadgeSize, BadgeVariant, ButtonColor, ButtonSize, ButtonVariant, CardPadding, CardVariant, CheckboxSize, ChipInputSize, ChipInputVariant, ChipTemplateContext, CircularProgressSize, CircularProgressVariant, DateRange, DatepickerSize, DatepickerVariant, DatepickerView, DatetimepickerSize, DatetimepickerVariant, DatetimepickerView, DialogConfig, DropdownAlign, DropdownPosition, DynamicTabConfig, DynamicTabsSize, DynamicTabsVariant, FileChooserSize, FileChooserVariant, InputType, Loadable, ModalSize, OptionTemplateContext, PaginationSize, ProgressSize, ProgressVariant, RadioGroupOrientation, RadioGroupSize, RadioGroupVariant, SelectSize, SelectVariant, ShellVariant, SliderSize, SortDirection, SortState, SpinnerSize, SpinnerVariant, SplitGutterSize, SplitOrientation, SplitSizeChange, SwitchSize, TabRenderMode, TableColumn, TabsSize, TabsVariant, TemplateVariable, TextareaResize, TimeFormat, TimeValue, TimepickerSize, TimepickerVariant, ToastConfig, ToastPosition, ToastVariant, TooltipPosition, TreeDropPosition, TreeNode, TreeNodeDropEvent, ValidationError, ValidationState, ValidatorFn, VariablePopoverContext, VariableState };