@m1z23r/ngx-ui 1.1.27 → 1.1.29
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
package/types/m1z23r-ngx-ui.d.ts
CHANGED
|
@@ -1029,7 +1029,7 @@ declare class ProgressComponent {
|
|
|
1029
1029
|
}
|
|
1030
1030
|
|
|
1031
1031
|
type CircularProgressVariant = 'primary' | 'success' | 'warning' | 'danger';
|
|
1032
|
-
type CircularProgressSize = 'sm' | 'md' | 'lg' | 'xl';
|
|
1032
|
+
type CircularProgressSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
1033
1033
|
declare class CircularProgressComponent {
|
|
1034
1034
|
readonly value: _angular_core.InputSignal<number>;
|
|
1035
1035
|
readonly variant: _angular_core.InputSignal<CircularProgressVariant>;
|
|
@@ -1840,20 +1840,37 @@ interface TreeNode {
|
|
|
1840
1840
|
children?: TreeNode[];
|
|
1841
1841
|
data?: unknown;
|
|
1842
1842
|
}
|
|
1843
|
+
type TreeDropPosition = 'before' | 'after' | 'inside';
|
|
1844
|
+
interface TreeNodeDropEvent {
|
|
1845
|
+
node: TreeNode;
|
|
1846
|
+
target: TreeNode;
|
|
1847
|
+
position: TreeDropPosition;
|
|
1848
|
+
}
|
|
1849
|
+
declare const TREE_HOST: InjectionToken<TreeComponent>;
|
|
1843
1850
|
declare class TreeComponent {
|
|
1844
1851
|
readonly nodes: _angular_core.InputSignal<TreeNode[]>;
|
|
1845
1852
|
readonly indent: _angular_core.InputSignal<number>;
|
|
1853
|
+
readonly draggable: _angular_core.InputSignal<boolean>;
|
|
1846
1854
|
readonly nodeClick: _angular_core.OutputEmitterRef<TreeNode>;
|
|
1847
1855
|
readonly nodeExpand: _angular_core.OutputEmitterRef<TreeNode>;
|
|
1848
1856
|
readonly nodeCollapse: _angular_core.OutputEmitterRef<TreeNode>;
|
|
1857
|
+
readonly nodeDrop: _angular_core.OutputEmitterRef<TreeNodeDropEvent>;
|
|
1858
|
+
/** @internal */
|
|
1859
|
+
readonly _dragNode: _angular_core.WritableSignal<TreeNode | null>;
|
|
1860
|
+
/** @internal */
|
|
1861
|
+
readonly _dragOverNode: _angular_core.WritableSignal<TreeNode | null>;
|
|
1862
|
+
/** @internal */
|
|
1863
|
+
readonly _dropPosition: _angular_core.WritableSignal<TreeDropPosition | null>;
|
|
1849
1864
|
/** @internal */
|
|
1850
1865
|
_onNodeClick(node: TreeNode): void;
|
|
1851
1866
|
/** @internal */
|
|
1852
1867
|
_onNodeExpand(node: TreeNode): void;
|
|
1853
1868
|
/** @internal */
|
|
1854
1869
|
_onNodeCollapse(node: TreeNode): void;
|
|
1870
|
+
/** @internal */
|
|
1871
|
+
_emitDrop(event: TreeNodeDropEvent): void;
|
|
1855
1872
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TreeComponent, never>;
|
|
1856
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TreeComponent, "ui-tree", never, { "nodes": { "alias": "nodes"; "required": false; "isSignal": true; }; "indent": { "alias": "indent"; "required": false; "isSignal": true; }; }, { "nodeClick": "nodeClick"; "nodeExpand": "nodeExpand"; "nodeCollapse": "nodeCollapse"; }, never, never, true, never>;
|
|
1873
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TreeComponent, "ui-tree", never, { "nodes": { "alias": "nodes"; "required": false; "isSignal": true; }; "indent": { "alias": "indent"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; }, { "nodeClick": "nodeClick"; "nodeExpand": "nodeExpand"; "nodeCollapse": "nodeCollapse"; "nodeDrop": "nodeDrop"; }, never, never, true, never>;
|
|
1857
1874
|
}
|
|
1858
1875
|
|
|
1859
1876
|
declare class TreeNodeComponent {
|
|
@@ -1863,13 +1880,22 @@ declare class TreeNodeComponent {
|
|
|
1863
1880
|
readonly nodeClick: _angular_core.OutputEmitterRef<TreeNode>;
|
|
1864
1881
|
readonly nodeExpand: _angular_core.OutputEmitterRef<TreeNode>;
|
|
1865
1882
|
readonly nodeCollapse: _angular_core.OutputEmitterRef<TreeNode>;
|
|
1883
|
+
private readonly treeHost;
|
|
1866
1884
|
private readonly _expanded;
|
|
1867
1885
|
readonly isExpanded: _angular_core.Signal<boolean>;
|
|
1868
1886
|
readonly hasChildren: _angular_core.Signal<boolean | undefined>;
|
|
1869
1887
|
readonly indentGuides: _angular_core.Signal<number[]>;
|
|
1888
|
+
readonly isDraggable: _angular_core.Signal<boolean>;
|
|
1889
|
+
readonly isDragging: _angular_core.Signal<boolean>;
|
|
1890
|
+
readonly dropPosition: _angular_core.Signal<TreeDropPosition | null>;
|
|
1870
1891
|
toggle(event: MouseEvent): void;
|
|
1871
1892
|
onClick(event: MouseEvent): void;
|
|
1872
1893
|
onDoubleClick(event: MouseEvent): void;
|
|
1894
|
+
onDragStart(event: DragEvent): void;
|
|
1895
|
+
onDragEnd(): void;
|
|
1896
|
+
onDragOver(event: DragEvent): void;
|
|
1897
|
+
onDragLeave(event: DragEvent): void;
|
|
1898
|
+
onDrop(event: DragEvent): void;
|
|
1873
1899
|
/** @internal - forward events from child nodes */
|
|
1874
1900
|
_onChildNodeClick(node: TreeNode): void;
|
|
1875
1901
|
/** @internal */
|
|
@@ -1880,5 +1906,5 @@ declare class TreeNodeComponent {
|
|
|
1880
1906
|
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>;
|
|
1881
1907
|
}
|
|
1882
1908
|
|
|
1883
|
-
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, TabActivePipe, TabComponent, TabIconDirective, TabRef, TableComponent, TabsComponent, TabsService, TextareaComponent, TimepickerComponent, ToastRef, ToastService, TooltipDirective, TreeComponent, TreeNodeComponent, Validators };
|
|
1884
|
-
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, TableColumn, TabsSize, TabsVariant, TextareaResize, TimeFormat, TimeValue, TimepickerSize, TimepickerVariant, ToastConfig, ToastPosition, ToastVariant, TooltipPosition, TreeNode, ValidationError, ValidationState, ValidatorFn };
|
|
1909
|
+
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 };
|
|
1910
|
+
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, TableColumn, TabsSize, TabsVariant, TextareaResize, TimeFormat, TimeValue, TimepickerSize, TimepickerVariant, ToastConfig, ToastPosition, ToastVariant, TooltipPosition, TreeDropPosition, TreeNode, TreeNodeDropEvent, ValidationError, ValidationState, ValidatorFn };
|