@truenas/ui-components 0.8.15 → 0.8.16
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
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* which is the whole promise being made here — that a mock goes in.
|
|
16
16
|
*/
|
|
17
17
|
import * as i0 from "@angular/core";
|
|
18
|
-
import { AfterContentInit,
|
|
18
|
+
import { AfterContentInit, AfterViewInit, ChangeDetectorRef, ComponentRef, DoCheck, ElementRef, InjectionToken, OnChanges, OnDestroy, OnInit, PipeTransform, Provider, Renderer2, Signal, SimpleChanges, TemplateRef, TrackByFunction, ViewContainerRef } from "@angular/core";
|
|
19
19
|
import { AbstractControl, ControlValueAccessor, NgControl, ValidationErrors } from "@angular/forms";
|
|
20
20
|
import { BehaviorSubject, Observable } from "rxjs";
|
|
21
21
|
import { BaseHarnessFilters, ComponentHarness, HarnessLoader, HarnessPredicate, ModifierKeys as ModifierKeys$1, TestKey } from "@angular/cdk/testing";
|
|
@@ -18988,7 +18988,7 @@ interface DisplayedFileItem extends FileSystemItem {
|
|
|
18988
18988
|
/** Marks the synthetic first row hosting the inline creation input. */
|
|
18989
18989
|
inlineCreate?: boolean;
|
|
18990
18990
|
}
|
|
18991
|
-
export declare class TnFilePickerPopupComponent
|
|
18991
|
+
export declare class TnFilePickerPopupComponent {
|
|
18992
18992
|
/**
|
|
18993
18993
|
* What can be selected: a single mode, or an explicit list of selectable
|
|
18994
18994
|
* item types, e.g. ['folder', 'dataset'].
|
|
@@ -19026,22 +19026,14 @@ export declare class TnFilePickerPopupComponent implements AfterViewChecked {
|
|
|
19026
19026
|
private elementRef;
|
|
19027
19027
|
constructor();
|
|
19028
19028
|
/**
|
|
19029
|
-
* Requests a focus of the inline creation input
|
|
19029
|
+
* Requests a focus of the inline creation input after the next render.
|
|
19030
19030
|
* Set when the row opens and when a failed attempt re-enables the input —
|
|
19031
19031
|
* the two moments the input either just entered the DOM or just lost focus
|
|
19032
|
-
* to the `disabled` attribute. Cleared once
|
|
19033
|
-
*
|
|
19034
|
-
*
|
|
19032
|
+
* to the `disabled` attribute. Cleared once focus is applied, so focus is
|
|
19033
|
+
* NOT permanently forced back: after an error the user can still click
|
|
19034
|
+
* elsewhere without being trapped in the input.
|
|
19035
19035
|
*/
|
|
19036
|
-
private
|
|
19037
|
-
/**
|
|
19038
|
-
* Focus runs here rather than at the call sites because the input may not
|
|
19039
|
-
* be in the DOM (or may still be disabled) until a later view check, and a
|
|
19040
|
-
* re-render can replace the element after focus() was scheduled — render
|
|
19041
|
-
* scheduling differs between hosts. So the request keeps retrying on each
|
|
19042
|
-
* check and is cleared only once the input actually holds focus.
|
|
19043
|
-
*/
|
|
19044
|
-
ngAfterViewChecked(): void;
|
|
19036
|
+
private readonly creationFocusRequested;
|
|
19045
19037
|
itemClick: import("@angular/core").OutputEmitterRef<FileSystemItem>;
|
|
19046
19038
|
itemDoubleClick: import("@angular/core").OutputEmitterRef<FileSystemItem>;
|
|
19047
19039
|
pathNavigate: import("@angular/core").OutputEmitterRef<string>;
|
|
@@ -19054,6 +19046,12 @@ export declare class TnFilePickerPopupComponent implements AfterViewChecked {
|
|
|
19054
19046
|
submit: import("@angular/core").OutputEmitterRef<void>;
|
|
19055
19047
|
cancel: import("@angular/core").OutputEmitterRef<void>;
|
|
19056
19048
|
displayedColumns: string[];
|
|
19049
|
+
/**
|
|
19050
|
+
* The empty directory is the table's own empty state, worded for a listing —
|
|
19051
|
+
* a second empty-state block here would render under it, so the popup only
|
|
19052
|
+
* words and decorates the table's.
|
|
19053
|
+
*/
|
|
19054
|
+
protected readonly emptyIcon: string;
|
|
19057
19055
|
/**
|
|
19058
19056
|
* Whether an empty selection stands for the directory being browsed: true
|
|
19059
19057
|
* whenever the selectable types include a directory-like type. The footer
|