@forgeroute/ui 0.3.6 → 0.3.7
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/forgeroute-ui.d.ts
CHANGED
|
@@ -1685,7 +1685,7 @@ export declare class ModalComponent implements OnInit, OnDestroy {
|
|
|
1685
1685
|
readonly title: import("@angular/core").InputSignal<string>;
|
|
1686
1686
|
readonly description: import("@angular/core").InputSignal<string>;
|
|
1687
1687
|
readonly maxWidth: import("@angular/core").InputSignal<string>;
|
|
1688
|
-
readonly bodyOverflow: import("@angular/core").InputSignal<"
|
|
1688
|
+
readonly bodyOverflow: import("@angular/core").InputSignal<"auto" | "hidden" | "visible">;
|
|
1689
1689
|
readonly close: import("@angular/core").OutputEmitterRef<void>;
|
|
1690
1690
|
protected readonly titleId: string;
|
|
1691
1691
|
private readonly el;
|
|
@@ -1825,6 +1825,51 @@ export declare class ProgressBarComponent {
|
|
|
1825
1825
|
};
|
|
1826
1826
|
}, {}, never, never, true, never>;
|
|
1827
1827
|
}
|
|
1828
|
+
/**
|
|
1829
|
+
* Audio player for a recording (a call, a voicemail, a message): the browser's own controls (play / pause, seek, time, volume,
|
|
1830
|
+
* keyboard and screen-reader support, the same in Chrome, Edge, Firefox and Safari) in the library's look, plus a readable message
|
|
1831
|
+
* when the file can't be played.
|
|
1832
|
+
*
|
|
1833
|
+
* <ui-audio-player [src]="blobUrl()" ariaLabel="Call recording playback" />
|
|
1834
|
+
*
|
|
1835
|
+
* - `src`: the audio URL (an object URL from a fetched blob works). An empty `src` renders the player with nothing to play.
|
|
1836
|
+
* - `ariaLabel`: the accessible name of the player. Give it one; without it assistive tech just hears "audio".
|
|
1837
|
+
* - `preload`: 'metadata' (default; loads the length only), 'auto' or 'none'.
|
|
1838
|
+
* - `playbackError` fires once per failed source; the message "Audio could not be played." replaces the player until `src` changes.
|
|
1839
|
+
*/
|
|
1840
|
+
export declare class AudioPlayerComponent {
|
|
1841
|
+
/** The audio URL. */
|
|
1842
|
+
readonly src: import("@angular/core").InputSignal<string>;
|
|
1843
|
+
/** Accessible name of the player. */
|
|
1844
|
+
readonly ariaLabel: import("@angular/core").InputSignal<string>;
|
|
1845
|
+
/** How much to load before play: 'metadata' (default), 'auto' or 'none'. */
|
|
1846
|
+
readonly preload: import("@angular/core").InputSignal<"none" | "metadata" | "auto">;
|
|
1847
|
+
/** Fires when the browser can't load or decode the source. */
|
|
1848
|
+
readonly playbackError: import("@angular/core").OutputEmitterRef<void>;
|
|
1849
|
+
protected readonly failed: import("@angular/core").WritableSignal<boolean>;
|
|
1850
|
+
constructor();
|
|
1851
|
+
protected onError(): void;
|
|
1852
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AudioPlayerComponent, never>;
|
|
1853
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AudioPlayerComponent, "ui-audio-player", never, {
|
|
1854
|
+
"src": {
|
|
1855
|
+
"alias": "src";
|
|
1856
|
+
"required": false;
|
|
1857
|
+
"isSignal": true;
|
|
1858
|
+
};
|
|
1859
|
+
"ariaLabel": {
|
|
1860
|
+
"alias": "ariaLabel";
|
|
1861
|
+
"required": false;
|
|
1862
|
+
"isSignal": true;
|
|
1863
|
+
};
|
|
1864
|
+
"preload": {
|
|
1865
|
+
"alias": "preload";
|
|
1866
|
+
"required": false;
|
|
1867
|
+
"isSignal": true;
|
|
1868
|
+
};
|
|
1869
|
+
}, {
|
|
1870
|
+
"playbackError": "playbackError";
|
|
1871
|
+
}, never, never, true, never>;
|
|
1872
|
+
}
|
|
1828
1873
|
export declare class SkeletonComponent {
|
|
1829
1874
|
readonly height: import("@angular/core").InputSignal<number>;
|
|
1830
1875
|
readonly width: import("@angular/core").InputSignal<string>;
|