@ng-desktop/platform 0.6.0 → 0.7.1
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/README.md +0 -1
- package/fesm2022/bridge.d.ts +5 -0
- package/fesm2022/css-style-parser.d.ts +6 -1
- package/fesm2022/css-style-parser.js +6 -6
- package/fesm2022/ecosystem-compat.d.ts +3 -5
- package/fesm2022/ecosystem-compat.js +16 -25
- package/fesm2022/native-directives.d.ts +123 -124
- package/fesm2022/native-directives.js +358 -556
- package/fesm2022/native-renderer.d.ts +1 -0
- package/fesm2022/native-renderer.js +65 -16
- package/fesm2022/platform.d.ts +3 -1
- package/fesm2022/platform.js +10 -0
- package/fesm2022/system-providers.js +2 -1
- package/fesm2022/virtual-grid.component.d.ts +4 -0
- package/fesm2022/virtual-grid.component.js +37 -14
- package/fesm2022/virtual-list.component.d.ts +7 -1
- package/fesm2022/virtual-list.component.js +81 -42
- package/package.json +1 -1
package/README.md
CHANGED
package/fesm2022/bridge.d.ts
CHANGED
|
@@ -1,18 +1,23 @@
|
|
|
1
1
|
import { type NativeComputeMatch, type NativeXdgDirKind } from './bridge-fs-compute';
|
|
2
2
|
export type { NativeComputeMatch, NativeXdgDirKind } from './bridge-fs-compute';
|
|
3
|
+
/** Logical transport category reported to Rust `NativeHttpEngine` and telemetry. */
|
|
3
4
|
export type NativeHttpCallKind = 'json' | 'graphql' | 'asset' | 'batch' | 'text';
|
|
5
|
+
/** OS network reachability classification exposed by `NativeNetworkService`. */
|
|
4
6
|
export type NativeConnectivity = 'full' | 'limited' | 'offline';
|
|
7
|
+
/** Snapshot of OS connectivity and metered network status. */
|
|
5
8
|
export interface NativeNetworkStatus {
|
|
6
9
|
online: boolean;
|
|
7
10
|
metered: boolean;
|
|
8
11
|
connectivity: NativeConnectivity;
|
|
9
12
|
}
|
|
13
|
+
/** Per-request headers and options passed across `bridge.httpRequest`. */
|
|
10
14
|
export interface NativeHttpRequestOptions {
|
|
11
15
|
headers?: Record<string, string>;
|
|
12
16
|
responseType?: string;
|
|
13
17
|
callKind?: NativeHttpCallKind;
|
|
14
18
|
withCredentials?: boolean;
|
|
15
19
|
}
|
|
20
|
+
/** Global configuration shared with Rust `NativeHttpEngine` (HTTP/2, XSRF, caching). */
|
|
16
21
|
export interface NativeHttpConfig {
|
|
17
22
|
platform?: string;
|
|
18
23
|
useFetchTransport?: boolean;
|
|
@@ -29,6 +29,11 @@ export interface ParsedStyleRule {
|
|
|
29
29
|
}
|
|
30
30
|
export declare function parsePixelInt(raw: string): number | null;
|
|
31
31
|
export declare function mapAlignKeyword(raw: string): string | null;
|
|
32
|
+
export interface SharedRuntimeCssVars {
|
|
33
|
+
baseVars: Map<string, string>;
|
|
34
|
+
lightVars: Map<string, string>;
|
|
35
|
+
darkVars: Map<string, string>;
|
|
36
|
+
}
|
|
32
37
|
/**
|
|
33
38
|
* Parses component CSS rules at runtime into `ParsedStyleRule` descriptors compatible with
|
|
34
39
|
* the Rust engine's CSS Flexbox/Grid, pseudo-classes, `@media`, variables, and encapsulation syntax.
|
|
@@ -38,4 +43,4 @@ export declare function parseRuntimeStyles(cssSource: string): ParsedStyleRule[]
|
|
|
38
43
|
* Formats optional `ParsedStyleRule` layout/typography/media/pseudo fields as space-separated `key=value` tokens.
|
|
39
44
|
*/
|
|
40
45
|
export declare function formatParsedStyleExtensions(rule: ParsedStyleRule): string;
|
|
41
|
-
export declare function registerParsedStyles(bridge: NgNativeBridge, styles: readonly string[], scopedClassesByScope?: Map<string, Set<string
|
|
46
|
+
export declare function registerParsedStyles(bridge: NgNativeBridge, styles: readonly string[], scopedClassesByScope?: Map<string, Set<string>>, sharedVars?: SharedRuntimeCssVars): void;
|
|
@@ -529,12 +529,12 @@ function applyDeclaration(rule, rawProp, val) {
|
|
|
529
529
|
applyRuntimeLayoutDeclaration(rule, prop, val);
|
|
530
530
|
}
|
|
531
531
|
}
|
|
532
|
-
function parseRuntimeStyleEntries(cssSource) {
|
|
532
|
+
function parseRuntimeStyleEntries(cssSource, sharedVars) {
|
|
533
533
|
const cleaned = cssSource.replace(/\/\*[\s\S]*?\*\//g, '');
|
|
534
534
|
const blocks = extractCssBlocks(cleaned);
|
|
535
|
-
const baseVars = new Map();
|
|
536
|
-
const lightVars = new Map();
|
|
537
|
-
const darkVars = new Map();
|
|
535
|
+
const baseVars = sharedVars?.baseVars ?? new Map();
|
|
536
|
+
const lightVars = sharedVars?.lightVars ?? new Map();
|
|
537
|
+
const darkVars = sharedVars?.darkVars ?? new Map();
|
|
538
538
|
for (const block of blocks) {
|
|
539
539
|
const selectors = block.selectorText.split(',');
|
|
540
540
|
if (!selectors.some(isVariableRootSelector)) {
|
|
@@ -669,12 +669,12 @@ export function formatParsedStyleExtensions(rule) {
|
|
|
669
669
|
}
|
|
670
670
|
return extensions.join(' ');
|
|
671
671
|
}
|
|
672
|
-
export function registerParsedStyles(bridge, styles, scopedClassesByScope) {
|
|
672
|
+
export function registerParsedStyles(bridge, styles, scopedClassesByScope, sharedVars) {
|
|
673
673
|
for (const css of styles) {
|
|
674
674
|
if (typeof css !== 'string' || css.trim().length === 0) {
|
|
675
675
|
continue;
|
|
676
676
|
}
|
|
677
|
-
for (const entry of parseRuntimeStyleEntries(css)) {
|
|
677
|
+
for (const entry of parseRuntimeStyleEntries(css, sharedVars)) {
|
|
678
678
|
if (entry.scopeToken && scopedClassesByScope) {
|
|
679
679
|
let classes = scopedClassesByScope.get(entry.scopeToken);
|
|
680
680
|
if (!classes) {
|
|
@@ -42,8 +42,7 @@ export declare const NATIVE_BRIDGE: InjectionToken<NgNativeBridge>;
|
|
|
42
42
|
export declare class NativeStorage implements Storage {
|
|
43
43
|
private readonly store;
|
|
44
44
|
private readonly bridge;
|
|
45
|
-
|
|
46
|
-
constructor(bridge?: NgNativeBridge | null);
|
|
45
|
+
constructor();
|
|
47
46
|
private ensureTable;
|
|
48
47
|
get length(): number;
|
|
49
48
|
key(index: number): string | null;
|
|
@@ -51,7 +50,7 @@ export declare class NativeStorage implements Storage {
|
|
|
51
50
|
setItem(key: string, value: string): void;
|
|
52
51
|
removeItem(key: string): void;
|
|
53
52
|
clear(): void;
|
|
54
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NativeStorage,
|
|
53
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NativeStorage, never>;
|
|
55
54
|
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
56
55
|
}
|
|
57
56
|
/**
|
|
@@ -61,11 +60,10 @@ export declare class NativeStorage implements Storage {
|
|
|
61
60
|
export declare class NativeAriaAnnouncer {
|
|
62
61
|
private readonly announcements;
|
|
63
62
|
private readonly bridge;
|
|
64
|
-
constructor(bridge?: NgNativeBridge | null);
|
|
65
63
|
announce(message: string, politeness?: AriaPoliteness): Promise<void>;
|
|
66
64
|
clear(): void;
|
|
67
65
|
history(): readonly NativeAriaAnnouncement[];
|
|
68
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NativeAriaAnnouncer,
|
|
66
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NativeAriaAnnouncer, never>;
|
|
69
67
|
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
70
68
|
}
|
|
71
69
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { inject, Injectable, InjectionToken, makeEnvironmentProviders, } from '@angular/core';
|
|
2
2
|
import { ensureNgNativeBridge } from './bridge.js';
|
|
3
3
|
import { getNativeActiveElement, NativeElementNode } from './native-element.js';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
@@ -9,16 +9,22 @@ export const NATIVE_BRIDGE = new InjectionToken('NATIVE_BRIDGE', {
|
|
|
9
9
|
providedIn: 'root',
|
|
10
10
|
factory: () => ensureNgNativeBridge(),
|
|
11
11
|
});
|
|
12
|
+
function resolveOptionalBridge() {
|
|
13
|
+
try {
|
|
14
|
+
return inject(NATIVE_BRIDGE, { optional: true }) ?? ensureNgNativeBridge();
|
|
15
|
+
}
|
|
16
|
+
catch {
|
|
17
|
+
return ensureNgNativeBridge();
|
|
18
|
+
}
|
|
19
|
+
}
|
|
12
20
|
/**
|
|
13
21
|
* Web `Storage`-compatible persistence adapter backed by the native SQLite engine (`ng_native_storage`)
|
|
14
22
|
* and an in-memory map, enabling `@ngrx/store` meta-reducers and state hydration without a browser DOM.
|
|
15
23
|
*/
|
|
16
24
|
export class NativeStorage {
|
|
17
25
|
store = new Map();
|
|
18
|
-
bridge;
|
|
19
|
-
|
|
20
|
-
constructor(bridge) {
|
|
21
|
-
this.bridge = bridge ?? ensureNgNativeBridge();
|
|
26
|
+
bridge = resolveOptionalBridge();
|
|
27
|
+
constructor() {
|
|
22
28
|
this.ensureTable();
|
|
23
29
|
}
|
|
24
30
|
ensureTable() {
|
|
@@ -51,11 +57,9 @@ export class NativeStorage {
|
|
|
51
57
|
}
|
|
52
58
|
setItem(key, value) {
|
|
53
59
|
const strValue = String(value);
|
|
54
|
-
const idNum = this.nextId++;
|
|
55
60
|
this.store.set(key, strValue);
|
|
56
61
|
try {
|
|
57
62
|
this.bridge.sqliteExecute(`INSERT OR REPLACE INTO ng_native_storage (key, val) VALUES ('${escapeSqlLiteral(key)}', '${escapeSqlLiteral(strValue)}')`);
|
|
58
|
-
this.bridge.setAttribute('__ng_native_storage__', `k_${idNum}`, key);
|
|
59
63
|
}
|
|
60
64
|
catch {
|
|
61
65
|
// In-memory store remains consistent when disk persistence is unavailable
|
|
@@ -79,28 +83,20 @@ export class NativeStorage {
|
|
|
79
83
|
// Ignore bridge persistence error in restricted sandboxes
|
|
80
84
|
}
|
|
81
85
|
}
|
|
82
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NativeStorage, deps: [
|
|
86
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NativeStorage, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
83
87
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NativeStorage, providedIn: 'root' });
|
|
84
88
|
}
|
|
85
89
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NativeStorage, decorators: [{
|
|
86
90
|
type: Injectable,
|
|
87
91
|
args: [{ providedIn: 'root' }]
|
|
88
|
-
}], ctorParameters: () => [
|
|
89
|
-
type: Optional
|
|
90
|
-
}, {
|
|
91
|
-
type: Inject,
|
|
92
|
-
args: [NATIVE_BRIDGE]
|
|
93
|
-
}] }] });
|
|
92
|
+
}], ctorParameters: () => [] });
|
|
94
93
|
/**
|
|
95
94
|
* Headless `@angular/cdk/a11y` `LiveAnnouncer`-compatible service for `@angular/aria` and native
|
|
96
95
|
* GTK4/WinUI/AppKit accessibility announcements.
|
|
97
96
|
*/
|
|
98
97
|
export class NativeAriaAnnouncer {
|
|
99
98
|
announcements = [];
|
|
100
|
-
bridge;
|
|
101
|
-
constructor(bridge) {
|
|
102
|
-
this.bridge = bridge ?? ensureNgNativeBridge();
|
|
103
|
-
}
|
|
99
|
+
bridge = resolveOptionalBridge();
|
|
104
100
|
announce(message, politeness = 'polite') {
|
|
105
101
|
const clean = String(message ?? '').trim();
|
|
106
102
|
if (!clean) {
|
|
@@ -116,18 +112,13 @@ export class NativeAriaAnnouncer {
|
|
|
116
112
|
history() {
|
|
117
113
|
return this.announcements;
|
|
118
114
|
}
|
|
119
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NativeAriaAnnouncer, deps: [
|
|
115
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NativeAriaAnnouncer, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
120
116
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NativeAriaAnnouncer, providedIn: 'root' });
|
|
121
117
|
}
|
|
122
118
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NativeAriaAnnouncer, decorators: [{
|
|
123
119
|
type: Injectable,
|
|
124
120
|
args: [{ providedIn: 'root' }]
|
|
125
|
-
}]
|
|
126
|
-
type: Optional
|
|
127
|
-
}, {
|
|
128
|
-
type: Inject,
|
|
129
|
-
args: [NATIVE_BRIDGE]
|
|
130
|
-
}] }] });
|
|
121
|
+
}] });
|
|
131
122
|
/**
|
|
132
123
|
* Redux DevTools (`__REDUX_DEVTOOLS_EXTENSION__`) bridge allowing `@ngrx/store-devtools`
|
|
133
124
|
* to attach cleanly inside JavaScriptCore / QuickJS without browser extensions.
|
|
@@ -7,182 +7,181 @@ export type NativeNumberInput = number | string | null | undefined;
|
|
|
7
7
|
* widget elements (`<ng-*>`, `<gtk-*>`, `<adw-*>`).
|
|
8
8
|
*/
|
|
9
9
|
export declare class NativeElementDirective {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
10
|
+
readonly hexpand: import("@angular/core").InputSignal<NativeBoolInput>;
|
|
11
|
+
readonly vexpand: import("@angular/core").InputSignal<NativeBoolInput>;
|
|
12
|
+
readonly halign: import("@angular/core").InputSignal<NativeAttrInput>;
|
|
13
|
+
readonly valign: import("@angular/core").InputSignal<NativeAttrInput>;
|
|
14
|
+
readonly width: import("@angular/core").InputSignal<NativeNumberInput>;
|
|
15
|
+
readonly height: import("@angular/core").InputSignal<NativeNumberInput>;
|
|
16
|
+
readonly minWidth: import("@angular/core").InputSignal<NativeNumberInput>;
|
|
17
|
+
readonly minHeight: import("@angular/core").InputSignal<NativeNumberInput>;
|
|
18
|
+
readonly margin: import("@angular/core").InputSignal<NativeNumberInput>;
|
|
19
|
+
readonly marginTop: import("@angular/core").InputSignal<NativeNumberInput>;
|
|
20
|
+
readonly marginBottom: import("@angular/core").InputSignal<NativeNumberInput>;
|
|
21
|
+
readonly marginStart: import("@angular/core").InputSignal<NativeNumberInput>;
|
|
22
|
+
readonly marginEnd: import("@angular/core").InputSignal<NativeNumberInput>;
|
|
23
|
+
readonly visible: import("@angular/core").InputSignal<NativeBoolInput>;
|
|
24
|
+
readonly sensitive: import("@angular/core").InputSignal<NativeBoolInput>;
|
|
25
|
+
readonly disabled: import("@angular/core").InputSignal<NativeBoolInput>;
|
|
26
|
+
readonly tooltip: import("@angular/core").InputSignal<NativeAttrInput>;
|
|
27
|
+
readonly eventMask: import("@angular/core").InputSignal<NativeAttrInput>;
|
|
28
|
+
readonly dropTarget: import("@angular/core").InputSignal<NativeBoolInput>;
|
|
29
|
+
readonly col: import("@angular/core").InputSignal<NativeNumberInput>;
|
|
30
|
+
readonly row: import("@angular/core").InputSignal<NativeNumberInput>;
|
|
31
|
+
private readonly resolvedSensitive;
|
|
32
|
+
constructor();
|
|
33
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<NativeElementDirective, never>;
|
|
34
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NativeElementDirective, "ng-window,adw-window,ng-dialog,gtk-dialog,adw-dialog,ng-header-bar,adw-header-bar,gtk-header-bar,ng-scroll,gtk-scrolled-window,ng-box,gtk-box,ng-grid,gtk-grid,ng-separator,gtk-separator,ng-button,gtk-button,ng-label,gtk-label,ng-entry,gtk-entry,ng-switch,gtk-switch,ng-checkbox,ng-check,ng-check-button,gtk-check-button,ng-slider,ng-scale,gtk-scale,ng-select,ng-dropdown,gtk-dropdown,gtk-drop-down,ng-image,adw-image,gtk-picture,ng-picture,ng-level-bar,gtk-level-bar,ng-flow,ng-flow-box,gtk-flow-box,ng-spinner,gtk-spinner,ng-progress-bar,gtk-progress-bar,ng-paned,gtk-paned,ng-stack,gtk-stack,adw-navigation-view,ng-expander,gtk-expander,ng-text-view,gtk-text-view,ng-password-entry,gtk-password-entry,ng-spin-button,gtk-spin-button,ng-search-entry,gtk-search-entry,ng-clamp,adw-clamp,ng-list,ng-table,gtk-list-box,gtk-list-view,ng-popover,gtk-popover,ng-menu,adw-entry-row,adw-password-entry-row,adw-switch-row,adw-combo-row,adw-spin-row", never, { "hexpand": { "alias": "hexpand"; "required": false; }; "vexpand": { "alias": "vexpand"; "required": false; }; "halign": { "alias": "halign"; "required": false; }; "valign": { "alias": "valign"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "minWidth": { "alias": "min-width"; "required": false; }; "minHeight": { "alias": "min-height"; "required": false; }; "margin": { "alias": "margin"; "required": false; }; "marginTop": { "alias": "margin-top"; "required": false; }; "marginBottom": { "alias": "margin-bottom"; "required": false; }; "marginStart": { "alias": "margin-start"; "required": false; }; "marginEnd": { "alias": "margin-end"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "sensitive": { "alias": "sensitive"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "eventMask": { "alias": "event-mask"; "required": false; }; "dropTarget": { "alias": "drop-target"; "required": false; }; "col": { "alias": "col"; "required": false; }; "row": { "alias": "row"; "required": false; }; }, {}, never, never, true, never>;
|
|
34
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NativeElementDirective, "ng-window,adw-window,ng-dialog,gtk-dialog,adw-dialog,ng-header-bar,adw-header-bar,gtk-header-bar,ng-scroll,gtk-scrolled-window,ng-box,gtk-box,ng-grid,gtk-grid,ng-separator,gtk-separator,ng-button,gtk-button,ng-label,gtk-label,ng-entry,gtk-entry,ng-switch,gtk-switch,ng-checkbox,ng-check,ng-check-button,gtk-check-button,ng-slider,ng-scale,gtk-scale,ng-select,ng-dropdown,gtk-dropdown,gtk-drop-down,ng-image,adw-image,gtk-picture,ng-picture,ng-level-bar,gtk-level-bar,ng-flow,ng-flow-box,gtk-flow-box,ng-spinner,gtk-spinner,ng-progress-bar,gtk-progress-bar,ng-paned,gtk-paned,ng-stack,gtk-stack,adw-navigation-view,ng-expander,gtk-expander,ng-text-view,gtk-text-view,ng-password-entry,gtk-password-entry,ng-spin-button,gtk-spin-button,ng-search-entry,gtk-search-entry,ng-clamp,adw-clamp,ng-list,ng-table,gtk-list-box,gtk-list-view,ng-popover,gtk-popover,ng-menu,adw-entry-row,adw-password-entry-row,adw-switch-row,adw-combo-row,adw-spin-row", never, { "hexpand": { "alias": "hexpand"; "required": false; "isSignal": true; }; "vexpand": { "alias": "vexpand"; "required": false; "isSignal": true; }; "halign": { "alias": "halign"; "required": false; "isSignal": true; }; "valign": { "alias": "valign"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "minWidth": { "alias": "min-width"; "required": false; "isSignal": true; }; "minHeight": { "alias": "min-height"; "required": false; "isSignal": true; }; "margin": { "alias": "margin"; "required": false; "isSignal": true; }; "marginTop": { "alias": "margin-top"; "required": false; "isSignal": true; }; "marginBottom": { "alias": "margin-bottom"; "required": false; "isSignal": true; }; "marginStart": { "alias": "margin-start"; "required": false; "isSignal": true; }; "marginEnd": { "alias": "margin-end"; "required": false; "isSignal": true; }; "visible": { "alias": "visible"; "required": false; "isSignal": true; }; "sensitive": { "alias": "sensitive"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "eventMask": { "alias": "event-mask"; "required": false; "isSignal": true; }; "dropTarget": { "alias": "drop-target"; "required": false; "isSignal": true; }; "col": { "alias": "col"; "required": false; "isSignal": true; }; "row": { "alias": "row"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
35
35
|
}
|
|
36
36
|
/**
|
|
37
37
|
* Typed directive for top-level native windows, dialogs, and header bars (`<ng-window>`,
|
|
38
38
|
* `<ng-dialog>`, `<ng-header-bar>`).
|
|
39
39
|
*/
|
|
40
40
|
export declare class NativeWindowDirective {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
41
|
+
readonly title: import("@angular/core").InputSignal<NativeAttrInput>;
|
|
42
|
+
readonly subtitle: import("@angular/core").InputSignal<NativeAttrInput>;
|
|
43
|
+
readonly showTitleButtons: import("@angular/core").InputSignal<NativeBoolInput>;
|
|
44
|
+
readonly icon: import("@angular/core").InputSignal<NativeAttrInput>;
|
|
45
|
+
readonly resizable: import("@angular/core").InputSignal<NativeBoolInput>;
|
|
46
|
+
readonly decorated: import("@angular/core").InputSignal<NativeBoolInput>;
|
|
47
|
+
readonly modal: import("@angular/core").InputSignal<NativeBoolInput>;
|
|
48
|
+
readonly transientForAttr: import("@angular/core").InputSignal<NativeAttrInput>;
|
|
49
|
+
readonly transientFor: import("@angular/core").InputSignal<NativeAttrInput>;
|
|
50
|
+
readonly preventClose: import("@angular/core").InputSignal<NativeBoolInput>;
|
|
51
|
+
readonly preventCloseAttr: import("@angular/core").InputSignal<NativeBoolInput>;
|
|
52
|
+
readonly backdrop: import("@angular/core").InputSignal<NativeAttrInput>;
|
|
53
|
+
readonly theme: import("@angular/core").InputSignal<NativeAttrInput>;
|
|
54
|
+
private readonly resolvedTransientFor;
|
|
55
|
+
private readonly resolvedPreventClose;
|
|
56
|
+
constructor();
|
|
54
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<NativeWindowDirective, never>;
|
|
55
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NativeWindowDirective, "ng-window,adw-window,ng-dialog,gtk-dialog,adw-dialog,ng-header-bar,adw-header-bar,gtk-header-bar", never, { "title": { "alias": "title"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "showTitleButtons": { "alias": "show-title-buttons"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "resizable": { "alias": "resizable"; "required": false; }; "decorated": { "alias": "decorated"; "required": false; }; "modal": { "alias": "modal"; "required": false; }; "transientForAttr": { "alias": "transient-for"; "required": false; }; "transientFor": { "alias": "transientFor"; "required": false; }; "preventClose": { "alias": "preventClose"; "required": false; }; "preventCloseAttr": { "alias": "prevent-close"; "required": false; }; }, {}, never, never, true, never>;
|
|
58
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NativeWindowDirective, "ng-window,adw-window,ng-dialog,gtk-dialog,adw-dialog,ng-header-bar,adw-header-bar,gtk-header-bar", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "subtitle": { "alias": "subtitle"; "required": false; "isSignal": true; }; "showTitleButtons": { "alias": "show-title-buttons"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "resizable": { "alias": "resizable"; "required": false; "isSignal": true; }; "decorated": { "alias": "decorated"; "required": false; "isSignal": true; }; "modal": { "alias": "modal"; "required": false; "isSignal": true; }; "transientForAttr": { "alias": "transient-for"; "required": false; "isSignal": true; }; "transientFor": { "alias": "transientFor"; "required": false; "isSignal": true; }; "preventClose": { "alias": "preventClose"; "required": false; "isSignal": true; }; "preventCloseAttr": { "alias": "prevent-close"; "required": false; "isSignal": true; }; "backdrop": { "alias": "backdrop"; "required": false; "isSignal": true; }; "theme": { "alias": "theme"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
56
59
|
}
|
|
57
60
|
/**
|
|
58
61
|
* Typed directive for native layout containers, grids, flow boxes, split panes, stacks, clamps,
|
|
59
62
|
* scroll viewports, separators, and expanders.
|
|
60
63
|
*/
|
|
61
64
|
export declare class NativeContainerDirective {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
set scrollAnchor(val: NativeAttrInput);
|
|
65
|
+
readonly orientation: import("@angular/core").InputSignal<NativeAttrInput>;
|
|
66
|
+
readonly spacing: import("@angular/core").InputSignal<NativeNumberInput>;
|
|
67
|
+
readonly gap: import("@angular/core").InputSignal<NativeNumberInput>;
|
|
68
|
+
readonly rowSpacing: import("@angular/core").InputSignal<NativeNumberInput>;
|
|
69
|
+
readonly columnSpacing: import("@angular/core").InputSignal<NativeNumberInput>;
|
|
70
|
+
readonly minChildren: import("@angular/core").InputSignal<NativeNumberInput>;
|
|
71
|
+
readonly maxChildren: import("@angular/core").InputSignal<NativeNumberInput>;
|
|
72
|
+
readonly minPerRow: import("@angular/core").InputSignal<NativeNumberInput>;
|
|
73
|
+
readonly maxPerRow: import("@angular/core").InputSignal<NativeNumberInput>;
|
|
74
|
+
readonly columns: import("@angular/core").InputSignal<NativeNumberInput>;
|
|
75
|
+
readonly homogeneous: import("@angular/core").InputSignal<NativeBoolInput>;
|
|
76
|
+
readonly position: import("@angular/core").InputSignal<NativeNumberInput>;
|
|
77
|
+
readonly visibleChild: import("@angular/core").InputSignal<NativeAttrInput>;
|
|
78
|
+
readonly activePage: import("@angular/core").InputSignal<NativeAttrInput>;
|
|
79
|
+
readonly transition: import("@angular/core").InputSignal<NativeAttrInput>;
|
|
80
|
+
readonly transitionType: import("@angular/core").InputSignal<NativeAttrInput>;
|
|
81
|
+
readonly label: import("@angular/core").InputSignal<NativeAttrInput>;
|
|
82
|
+
readonly title: import("@angular/core").InputSignal<NativeAttrInput>;
|
|
83
|
+
readonly expanded: import("@angular/core").InputSignal<NativeBoolInput>;
|
|
84
|
+
readonly open: import("@angular/core").InputSignal<NativeBoolInput>;
|
|
85
|
+
readonly maxSize: import("@angular/core").InputSignal<NativeNumberInput>;
|
|
86
|
+
readonly maximumSize: import("@angular/core").InputSignal<NativeNumberInput>;
|
|
87
|
+
readonly scrollTo: import("@angular/core").InputSignal<NativeAttrInput>;
|
|
88
|
+
readonly scrollAnchor: import("@angular/core").InputSignal<NativeAttrInput>;
|
|
89
|
+
constructor();
|
|
88
90
|
static ɵfac: i0.ɵɵFactoryDeclaration<NativeContainerDirective, never>;
|
|
89
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NativeContainerDirective, "ng-box,gtk-box,ng-grid,gtk-grid,ng-flow,ng-flow-box,gtk-flow-box,ng-paned,gtk-paned,ng-scroll,gtk-scrolled-window,ng-stack,gtk-stack,adw-navigation-view,ng-expander,gtk-expander,ng-clamp,adw-clamp,ng-separator,gtk-separator", never, { "orientation": { "alias": "orientation"; "required": false; }; "spacing": { "alias": "spacing"; "required": false; }; "gap": { "alias": "gap"; "required": false; }; "rowSpacing": { "alias": "row-spacing"; "required": false; }; "columnSpacing": { "alias": "column-spacing"; "required": false; }; "minChildren": { "alias": "min-children"; "required": false; }; "maxChildren": { "alias": "max-children"; "required": false; }; "minPerRow": { "alias": "min-per-row"; "required": false; }; "maxPerRow": { "alias": "max-per-row"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "homogeneous": { "alias": "homogeneous"; "required": false; }; "position": { "alias": "position"; "required": false; }; "visibleChild": { "alias": "visible-child"; "required": false; }; "activePage": { "alias": "active-page"; "required": false; }; "transition": { "alias": "transition"; "required": false; }; "transitionType": { "alias": "transition-type"; "required": false; }; "label": { "alias": "label"; "required": false; }; "title": { "alias": "title"; "required": false; }; "expanded": { "alias": "expanded"; "required": false; }; "open": { "alias": "open"; "required": false; }; "maxSize": { "alias": "max-size"; "required": false; }; "maximumSize": { "alias": "maximum-size"; "required": false; }; "scrollTo": { "alias": "scroll-to"; "required": false; }; "scrollAnchor": { "alias": "scroll-anchor"; "required": false; }; }, {}, never, never, true, never>;
|
|
91
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NativeContainerDirective, "ng-box,gtk-box,ng-grid,gtk-grid,ng-flow,ng-flow-box,gtk-flow-box,ng-paned,gtk-paned,ng-scroll,gtk-scrolled-window,ng-stack,gtk-stack,adw-navigation-view,ng-expander,gtk-expander,ng-clamp,adw-clamp,ng-separator,gtk-separator", never, { "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "spacing": { "alias": "spacing"; "required": false; "isSignal": true; }; "gap": { "alias": "gap"; "required": false; "isSignal": true; }; "rowSpacing": { "alias": "row-spacing"; "required": false; "isSignal": true; }; "columnSpacing": { "alias": "column-spacing"; "required": false; "isSignal": true; }; "minChildren": { "alias": "min-children"; "required": false; "isSignal": true; }; "maxChildren": { "alias": "max-children"; "required": false; "isSignal": true; }; "minPerRow": { "alias": "min-per-row"; "required": false; "isSignal": true; }; "maxPerRow": { "alias": "max-per-row"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "homogeneous": { "alias": "homogeneous"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "visibleChild": { "alias": "visible-child"; "required": false; "isSignal": true; }; "activePage": { "alias": "active-page"; "required": false; "isSignal": true; }; "transition": { "alias": "transition"; "required": false; "isSignal": true; }; "transitionType": { "alias": "transition-type"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; "open": { "alias": "open"; "required": false; "isSignal": true; }; "maxSize": { "alias": "max-size"; "required": false; "isSignal": true; }; "maximumSize": { "alias": "maximum-size"; "required": false; "isSignal": true; }; "scrollTo": { "alias": "scroll-to"; "required": false; "isSignal": true; }; "scrollAnchor": { "alias": "scroll-anchor"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
90
92
|
}
|
|
91
93
|
/**
|
|
92
94
|
* Typed directive for native labels and action buttons (`<ng-label>`, `<ng-button>`).
|
|
93
95
|
*/
|
|
94
96
|
export declare class NativeTextWidgetDirective {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
set ellipsize(val: NativeAttrInput);
|
|
97
|
+
readonly label: import("@angular/core").InputSignal<NativeAttrInput>;
|
|
98
|
+
readonly text: import("@angular/core").InputSignal<NativeAttrInput>;
|
|
99
|
+
readonly wrap: import("@angular/core").InputSignal<NativeBoolInput>;
|
|
100
|
+
readonly selectable: import("@angular/core").InputSignal<NativeBoolInput>;
|
|
101
|
+
readonly ellipsize: import("@angular/core").InputSignal<NativeAttrInput>;
|
|
102
|
+
constructor();
|
|
102
103
|
static ɵfac: i0.ɵɵFactoryDeclaration<NativeTextWidgetDirective, never>;
|
|
103
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NativeTextWidgetDirective, "ng-button,gtk-button,ng-label,gtk-label", never, { "label": { "alias": "label"; "required": false; }; "text": { "alias": "text"; "required": false; }; "wrap": { "alias": "wrap"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "ellipsize": { "alias": "ellipsize"; "required": false; }; }, {}, never, never, true, never>;
|
|
104
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NativeTextWidgetDirective, "ng-button,gtk-button,ng-label,gtk-label", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; "wrap": { "alias": "wrap"; "required": false; "isSignal": true; }; "selectable": { "alias": "selectable"; "required": false; "isSignal": true; }; "ellipsize": { "alias": "ellipsize"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
104
105
|
}
|
|
105
106
|
/**
|
|
106
107
|
* Typed directive for native images, level bars, progress bars, and spinners.
|
|
107
108
|
*/
|
|
108
109
|
export declare class NativeMediaAndMeterDirective {
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
set spinning(val: NativeBoolInput);
|
|
110
|
+
readonly src: import("@angular/core").InputSignal<NativeAttrInput>;
|
|
111
|
+
readonly ngSrc: import("@angular/core").InputSignal<NativeAttrInput>;
|
|
112
|
+
readonly alt: import("@angular/core").InputSignal<NativeAttrInput>;
|
|
113
|
+
readonly value: import("@angular/core").InputSignal<NativeNumberInput>;
|
|
114
|
+
readonly min: import("@angular/core").InputSignal<NativeNumberInput>;
|
|
115
|
+
readonly max: import("@angular/core").InputSignal<NativeNumberInput>;
|
|
116
|
+
readonly indeterminate: import("@angular/core").InputSignal<NativeBoolInput>;
|
|
117
|
+
readonly active: import("@angular/core").InputSignal<NativeBoolInput>;
|
|
118
|
+
readonly spinning: import("@angular/core").InputSignal<NativeBoolInput>;
|
|
119
|
+
constructor();
|
|
120
120
|
static ɵfac: i0.ɵɵFactoryDeclaration<NativeMediaAndMeterDirective, never>;
|
|
121
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NativeMediaAndMeterDirective, "ng-image,adw-image,gtk-picture,ng-picture,ng-level-bar,gtk-level-bar,ng-progress-bar,gtk-progress-bar,ng-spinner,gtk-spinner", never, { "src": { "alias": "src"; "required": false; }; "ngSrc": { "alias": "ngSrc"; "required": false; }; "alt": { "alias": "alt"; "required": false; }; "value": { "alias": "value"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "active": { "alias": "active"; "required": false; }; "spinning": { "alias": "spinning"; "required": false; }; }, {}, never, never, true, never>;
|
|
121
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NativeMediaAndMeterDirective, "ng-image,adw-image,gtk-picture,ng-picture,ng-level-bar,gtk-level-bar,ng-progress-bar,gtk-progress-bar,ng-spinner,gtk-spinner", never, { "src": { "alias": "src"; "required": false; "isSignal": true; }; "ngSrc": { "alias": "ngSrc"; "required": false; "isSignal": true; }; "alt": { "alias": "alt"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "indeterminate": { "alias": "indeterminate"; "required": false; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; "spinning": { "alias": "spinning"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* Typed directive for native text inputs, switches, checkboxes, sliders, dropdowns, and spin buttons.
|
|
125
125
|
*/
|
|
126
126
|
export declare class NativeInputWidgetDirective {
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
set peek(val: NativeBoolInput);
|
|
127
|
+
readonly placeholder: import("@angular/core").InputSignal<NativeAttrInput>;
|
|
128
|
+
readonly value: import("@angular/core").InputSignal<NativeAttrInput>;
|
|
129
|
+
readonly text: import("@angular/core").InputSignal<NativeAttrInput>;
|
|
130
|
+
readonly active: import("@angular/core").InputSignal<NativeBoolInput>;
|
|
131
|
+
readonly checked: import("@angular/core").InputSignal<NativeBoolInput>;
|
|
132
|
+
readonly label: import("@angular/core").InputSignal<NativeAttrInput>;
|
|
133
|
+
readonly options: import("@angular/core").InputSignal<NativeAttrInput>;
|
|
134
|
+
readonly selected: import("@angular/core").InputSignal<NativeNumberInput>;
|
|
135
|
+
readonly editable: import("@angular/core").InputSignal<NativeBoolInput>;
|
|
136
|
+
readonly monospace: import("@angular/core").InputSignal<NativeBoolInput>;
|
|
137
|
+
readonly showPeekIcon: import("@angular/core").InputSignal<NativeBoolInput>;
|
|
138
|
+
readonly peek: import("@angular/core").InputSignal<NativeBoolInput>;
|
|
139
|
+
constructor();
|
|
141
140
|
static ɵfac: i0.ɵɵFactoryDeclaration<NativeInputWidgetDirective, never>;
|
|
142
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NativeInputWidgetDirective, "ng-entry,gtk-entry,ng-search-entry,gtk-search-entry,ng-password-entry,gtk-password-entry,ng-text-view,gtk-text-view,ng-switch,gtk-switch,ng-checkbox,ng-check,ng-check-button,gtk-check-button,ng-slider,ng-scale,gtk-scale,ng-spin-button,gtk-spin-button,ng-select,ng-dropdown,gtk-dropdown,gtk-drop-down,adw-entry-row,adw-password-entry-row,adw-switch-row,adw-combo-row,adw-spin-row", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "value": { "alias": "value"; "required": false; }; "text": { "alias": "text"; "required": false; }; "active": { "alias": "active"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "label": { "alias": "label"; "required": false; }; "options": { "alias": "options"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "monospace": { "alias": "monospace"; "required": false; }; "showPeekIcon": { "alias": "show-peek-icon"; "required": false; }; "peek": { "alias": "peek"; "required": false; }; }, {}, never, never, true, never>;
|
|
141
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NativeInputWidgetDirective, "ng-entry,gtk-entry,ng-search-entry,gtk-search-entry,ng-password-entry,gtk-password-entry,ng-text-view,gtk-text-view,ng-switch,gtk-switch,ng-checkbox,ng-check,ng-check-button,gtk-check-button,ng-slider,ng-scale,gtk-scale,ng-spin-button,gtk-spin-button,ng-select,ng-dropdown,gtk-dropdown,gtk-drop-down,adw-entry-row,adw-password-entry-row,adw-switch-row,adw-combo-row,adw-spin-row", never, { "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "editable": { "alias": "editable"; "required": false; "isSignal": true; }; "monospace": { "alias": "monospace"; "required": false; "isSignal": true; }; "showPeekIcon": { "alias": "show-peek-icon"; "required": false; "isSignal": true; }; "peek": { "alias": "peek"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
143
142
|
}
|
|
144
143
|
/**
|
|
145
144
|
* Typed directive for native virtualized lists and tables (`<ng-list>`, `<ng-table>`).
|
|
146
145
|
*/
|
|
147
146
|
export declare class NativeListDirective {
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
147
|
+
readonly selectionModeAttr: import("@angular/core").InputSignal<NativeAttrInput>;
|
|
148
|
+
readonly selectionMode: import("@angular/core").InputSignal<NativeAttrInput>;
|
|
149
|
+
readonly showSeparatorsAttr: import("@angular/core").InputSignal<NativeBoolInput>;
|
|
150
|
+
readonly showSeparators: import("@angular/core").InputSignal<NativeBoolInput>;
|
|
151
|
+
readonly separators: import("@angular/core").InputSignal<NativeBoolInput>;
|
|
152
|
+
private readonly resolvedSelectionMode;
|
|
153
|
+
private readonly resolvedShowSeparators;
|
|
154
|
+
constructor();
|
|
155
155
|
static ɵfac: i0.ɵɵFactoryDeclaration<NativeListDirective, never>;
|
|
156
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NativeListDirective, "ng-list,ng-table,gtk-list-box,gtk-list-view", never, { "selectionModeAttr": { "alias": "selection-mode"; "required": false; }; "selectionMode": { "alias": "selectionMode"; "required": false; }; "showSeparatorsAttr": { "alias": "show-separators"; "required": false; }; "showSeparators": { "alias": "showSeparators"; "required": false; }; "separators": { "alias": "separators"; "required": false; }; }, {}, never, never, true, never>;
|
|
156
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NativeListDirective, "ng-list,ng-table,gtk-list-box,gtk-list-view", never, { "selectionModeAttr": { "alias": "selection-mode"; "required": false; "isSignal": true; }; "selectionMode": { "alias": "selectionMode"; "required": false; "isSignal": true; }; "showSeparatorsAttr": { "alias": "show-separators"; "required": false; "isSignal": true; }; "showSeparators": { "alias": "showSeparators"; "required": false; "isSignal": true; }; "separators": { "alias": "separators"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
157
157
|
}
|
|
158
158
|
/**
|
|
159
159
|
* Typed directive for native anchored popovers and context menus (`<ng-popover>`, `<ng-menu>`).
|
|
160
160
|
*/
|
|
161
161
|
export declare class NativePopoverDirective {
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
162
|
+
readonly open: import("@angular/core").InputSignal<NativeBoolInput>;
|
|
163
|
+
readonly position: import("@angular/core").InputSignal<NativeAttrInput>;
|
|
164
|
+
readonly placement: import("@angular/core").InputSignal<NativeAttrInput>;
|
|
165
|
+
readonly autohide: import("@angular/core").InputSignal<NativeBoolInput>;
|
|
166
|
+
readonly hasArrowAttr: import("@angular/core").InputSignal<NativeBoolInput>;
|
|
167
|
+
readonly hasArrow: import("@angular/core").InputSignal<NativeBoolInput>;
|
|
168
|
+
readonly anchor: import("@angular/core").InputSignal<NativeAttrInput>;
|
|
169
|
+
private readonly resolvedHasArrow;
|
|
170
|
+
constructor();
|
|
171
171
|
static ɵfac: i0.ɵɵFactoryDeclaration<NativePopoverDirective, never>;
|
|
172
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NativePopoverDirective, "ng-popover,gtk-popover,ng-menu", never, { "open": { "alias": "open"; "required": false; }; "position": { "alias": "position"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "autohide": { "alias": "autohide"; "required": false; }; "hasArrowAttr": { "alias": "has-arrow"; "required": false; }; "hasArrow": { "alias": "hasArrow"; "required": false; }; "anchor": { "alias": "anchor"; "required": false; }; }, {}, never, never, true, never>;
|
|
172
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NativePopoverDirective, "ng-popover,gtk-popover,ng-menu", never, { "open": { "alias": "open"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "placement": { "alias": "placement"; "required": false; "isSignal": true; }; "autohide": { "alias": "autohide"; "required": false; "isSignal": true; }; "hasArrowAttr": { "alias": "has-arrow"; "required": false; "isSignal": true; }; "hasArrow": { "alias": "hasArrow"; "required": false; "isSignal": true; }; "anchor": { "alias": "anchor"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
173
173
|
}
|
|
174
174
|
/**
|
|
175
175
|
* Typed directive for native numeric range & stepper inputs (`<ng-slider>`, `<ng-spin-button>`),
|
|
176
176
|
* isolating `min`/`max`/`step` away from boolean toggles for Signal Forms type safety.
|
|
177
177
|
*/
|
|
178
178
|
export declare class NativeNumericRangeDirective {
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
set step(val: NativeNumberInput);
|
|
179
|
+
readonly min: import("@angular/core").InputSignal<NativeNumberInput>;
|
|
180
|
+
readonly max: import("@angular/core").InputSignal<NativeNumberInput>;
|
|
181
|
+
readonly step: import("@angular/core").InputSignal<NativeNumberInput>;
|
|
182
|
+
constructor();
|
|
184
183
|
static ɵfac: i0.ɵɵFactoryDeclaration<NativeNumericRangeDirective, never>;
|
|
185
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NativeNumericRangeDirective, "ng-slider,ng-scale,gtk-scale,ng-spin-button,gtk-spin-button,adw-spin-row", never, { "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "step": { "alias": "step"; "required": false; }; }, {}, never, never, true, never>;
|
|
184
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NativeNumericRangeDirective, "ng-slider,ng-scale,gtk-scale,ng-spin-button,gtk-spin-button,adw-spin-row", never, { "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
186
185
|
}
|
|
187
186
|
/**
|
|
188
187
|
* Convenience directive bundle enabling typed bindings on `<ng-*>`, `<gtk-*>`, and `<adw-*>` tags
|