@ng-desktop/platform 0.4.0 → 0.4.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 +43 -7
- package/fesm2022/ecosystem-compat.js +9 -9
- package/fesm2022/index.d.ts +1 -1
- package/fesm2022/index.js +1 -1
- package/fesm2022/native-directives.d.ts +15 -5
- package/fesm2022/native-directives.js +57 -39
- package/fesm2022/native-renderer.js +3 -3
- package/fesm2022/native-title.js +3 -3
- package/fesm2022/system-providers.js +6 -6
- package/fesm2022/viewport-scroller.js +3 -3
- package/fesm2022/virtual-list.component.js +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,14 +1,50 @@
|
|
|
1
|
-
#
|
|
1
|
+
# `@ng-desktop/platform`
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Custom Zoneless Angular `Renderer2` platform, typed native widget directives (`NATIVE_UI_DIRECTIVES`), CSS Flexbox/Grid projector, virtualized list (`<ng-virtual-list>`), and headless ecosystem compatibility bridges (`NgRx`, `Angular Aria`, `CDK`).
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
## Installation
|
|
5
|
+
## Install
|
|
8
6
|
|
|
9
7
|
```bash
|
|
10
8
|
pnpm add @ng-desktop/platform
|
|
11
9
|
```
|
|
12
10
|
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
Peer dependency: `@angular/core >= 22.0.0`.
|
|
12
|
+
|
|
13
|
+
## Quick Usage
|
|
14
|
+
|
|
15
|
+
```ts
|
|
16
|
+
import { Component, signal } from '@angular/core';
|
|
17
|
+
import { bootstrapNativeApplication, NATIVE_UI_DIRECTIVES } from '@ng-desktop/platform';
|
|
18
|
+
|
|
19
|
+
@Component({
|
|
20
|
+
selector: 'app-root',
|
|
21
|
+
standalone: true,
|
|
22
|
+
imports: [NATIVE_UI_DIRECTIVES],
|
|
23
|
+
template: `
|
|
24
|
+
<ng-window id="win" title="Desktop App">
|
|
25
|
+
<ng-box orientation="vertical" spacing="12px">
|
|
26
|
+
<ng-label [text]="'Count: ' + count()" />
|
|
27
|
+
<ng-button (click)="count.update((n) => n + 1)">Increment</ng-button>
|
|
28
|
+
</ng-box>
|
|
29
|
+
</ng-window>
|
|
30
|
+
`,
|
|
31
|
+
})
|
|
32
|
+
export class AppComponent {
|
|
33
|
+
readonly count = signal(0);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
bootstrapNativeApplication(AppComponent);
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## Key Exports
|
|
40
|
+
|
|
41
|
+
- **Bootstrap & Platform:** `bootstrapNativeApplication`, `provideNativePlatform`, `NativeRendererFactory2`, `NativeRenderer2`
|
|
42
|
+
- **No-Schema Directives & Virtual List:** `NATIVE_UI_DIRECTIVES`, `HTML_TO_NATIVE_TAG`, `NativeVirtualListComponent`, `computeVirtualSliceRange`
|
|
43
|
+
- **Styles & System:** `parseRuntimeStyles`, `formatParsedStyleExtensions`, `provideNativeImageLoader`, `provideNativeTitle`, `provideSystemLocale`
|
|
44
|
+
- **Ecosystem Compat:** `provideNativeEcosystemCompat`, `NativeStorage`, `NativeAriaAnnouncer`, `NativeDevToolsHook`, `createNativeDocument`
|
|
45
|
+
|
|
46
|
+
## Documentation
|
|
47
|
+
|
|
48
|
+
- [Getting Started with External Angular 22+ & Nx Apps](../../docs/GETTING_STARTED.md)
|
|
49
|
+
- [Ecosystem Compatibility Guide](../../docs/ECOSYSTEM_COMPATIBILITY.md)
|
|
50
|
+
- [Architectural Roadmap & OS Maturity Matrix](../../ROADMAP.md)
|
|
@@ -79,10 +79,10 @@ export class NativeStorage {
|
|
|
79
79
|
// Ignore bridge persistence error in restricted sandboxes
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
83
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.
|
|
82
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NativeStorage, deps: [{ token: NATIVE_BRIDGE, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
83
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NativeStorage, providedIn: 'root' });
|
|
84
84
|
}
|
|
85
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
85
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NativeStorage, decorators: [{
|
|
86
86
|
type: Injectable,
|
|
87
87
|
args: [{ providedIn: 'root' }]
|
|
88
88
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
@@ -116,10 +116,10 @@ export class NativeAriaAnnouncer {
|
|
|
116
116
|
history() {
|
|
117
117
|
return this.announcements;
|
|
118
118
|
}
|
|
119
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
120
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.
|
|
119
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NativeAriaAnnouncer, deps: [{ token: NATIVE_BRIDGE, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
120
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NativeAriaAnnouncer, providedIn: 'root' });
|
|
121
121
|
}
|
|
122
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
122
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NativeAriaAnnouncer, decorators: [{
|
|
123
123
|
type: Injectable,
|
|
124
124
|
args: [{ providedIn: 'root' }]
|
|
125
125
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
@@ -167,10 +167,10 @@ export class NativeDevToolsHook {
|
|
|
167
167
|
currentState() {
|
|
168
168
|
return this.latestState;
|
|
169
169
|
}
|
|
170
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
171
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.
|
|
170
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NativeDevToolsHook, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
171
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NativeDevToolsHook, providedIn: 'root' });
|
|
172
172
|
}
|
|
173
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
173
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NativeDevToolsHook, decorators: [{
|
|
174
174
|
type: Injectable,
|
|
175
175
|
args: [{ providedIn: 'root' }]
|
|
176
176
|
}] });
|
package/fesm2022/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ export { ensureNgNativeBridge, type NativeComputeMatch, type NativeConfirmDialog
|
|
|
2
2
|
export { formatParsedStyleExtensions, parseRuntimeStyles, type ParsedStyleRule, } from './css-style-parser';
|
|
3
3
|
export { createNativeDocument, NATIVE_BRIDGE, NATIVE_DEVTOOLS_HOOK, NATIVE_DOCUMENT, NATIVE_STORAGE, NativeAriaAnnouncer, NativeDevToolsHook, NativeStorage, provideNativeEcosystemCompat, type AriaPoliteness, type NativeAriaAnnouncement, type NativeDevToolsConnection, type NativeDevToolsRecord, type NativeDocumentFacade, type NativeEcosystemCompatOptions, } from './ecosystem-compat';
|
|
4
4
|
export { nativeImageLoader, provideNativeImageLoader } from './image-loader';
|
|
5
|
-
export { NATIVE_UI_DIRECTIVES, NativeContainerDirective, NativeElementDirective, NativeInputWidgetDirective, NativeListDirective, NativeMediaAndMeterDirective, NativePopoverDirective, NativeTextWidgetDirective, NativeWindowDirective, type NativeAttrInput, type NativeBoolInput, type NativeNumberInput, } from './native-directives';
|
|
5
|
+
export { NATIVE_UI_DIRECTIVES, NativeContainerDirective, NativeElementDirective, NativeInputWidgetDirective, NativeListDirective, NativeMediaAndMeterDirective, NativeNumericRangeDirective, NativePopoverDirective, NativeTextWidgetDirective, NativeWindowDirective, type NativeAttrInput, type NativeBoolInput, type NativeNumberInput, } from './native-directives';
|
|
6
6
|
export { getNativeActiveElement, NativeElementNode, setNativeActiveElement, type NativeDomRect, type NativeElementEvent, type NativeEventListener, } from './native-element';
|
|
7
7
|
export { HTML_TO_NATIVE_TAG, NativeRenderer2, NativeRendererFactory2, resolveNativeTag, } from './native-renderer';
|
|
8
8
|
export { NATIVE_WINDOW_NODE_ID, NativeTitleService, provideNativeTitle } from './native-title';
|
package/fesm2022/index.js
CHANGED
|
@@ -2,7 +2,7 @@ export { ensureNgNativeBridge, } from './bridge.js';
|
|
|
2
2
|
export { formatParsedStyleExtensions, parseRuntimeStyles, } from './css-style-parser.js';
|
|
3
3
|
export { createNativeDocument, NATIVE_BRIDGE, NATIVE_DEVTOOLS_HOOK, NATIVE_DOCUMENT, NATIVE_STORAGE, NativeAriaAnnouncer, NativeDevToolsHook, NativeStorage, provideNativeEcosystemCompat, } from './ecosystem-compat.js';
|
|
4
4
|
export { nativeImageLoader, provideNativeImageLoader } from './image-loader.js';
|
|
5
|
-
export { NATIVE_UI_DIRECTIVES, NativeContainerDirective, NativeElementDirective, NativeInputWidgetDirective, NativeListDirective, NativeMediaAndMeterDirective, NativePopoverDirective, NativeTextWidgetDirective, NativeWindowDirective, } from './native-directives.js';
|
|
5
|
+
export { NATIVE_UI_DIRECTIVES, NativeContainerDirective, NativeElementDirective, NativeInputWidgetDirective, NativeListDirective, NativeMediaAndMeterDirective, NativeNumericRangeDirective, NativePopoverDirective, NativeTextWidgetDirective, NativeWindowDirective, } from './native-directives.js';
|
|
6
6
|
export { getNativeActiveElement, NativeElementNode, setNativeActiveElement, } from './native-element.js';
|
|
7
7
|
export { HTML_TO_NATIVE_TAG, NativeRenderer2, NativeRendererFactory2, resolveNativeTag, } from './native-renderer.js';
|
|
8
8
|
export { NATIVE_WINDOW_NODE_ID, NativeTitleService, provideNativeTitle } from './native-title.js';
|
|
@@ -129,9 +129,6 @@ export declare class NativeInputWidgetDirective {
|
|
|
129
129
|
set active(val: NativeBoolInput);
|
|
130
130
|
set checked(val: NativeBoolInput);
|
|
131
131
|
set label(val: NativeAttrInput);
|
|
132
|
-
set min(val: NativeNumberInput);
|
|
133
|
-
set max(val: NativeNumberInput);
|
|
134
|
-
set step(val: NativeNumberInput);
|
|
135
132
|
set options(val: NativeAttrInput);
|
|
136
133
|
set selected(val: NativeNumberInput);
|
|
137
134
|
set editable(val: NativeBoolInput);
|
|
@@ -139,7 +136,7 @@ export declare class NativeInputWidgetDirective {
|
|
|
139
136
|
set showPeekIcon(val: NativeBoolInput);
|
|
140
137
|
set peek(val: NativeBoolInput);
|
|
141
138
|
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; }; "
|
|
139
|
+
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>;
|
|
143
140
|
}
|
|
144
141
|
/**
|
|
145
142
|
* Typed directive for native virtualized lists and tables (`<ng-list>`, `<ng-table>`).
|
|
@@ -171,8 +168,21 @@ export declare class NativePopoverDirective {
|
|
|
171
168
|
static ɵfac: i0.ɵɵFactoryDeclaration<NativePopoverDirective, never>;
|
|
172
169
|
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>;
|
|
173
170
|
}
|
|
171
|
+
/**
|
|
172
|
+
* Typed directive for native numeric range & stepper inputs (`<ng-slider>`, `<ng-spin-button>`),
|
|
173
|
+
* isolating `min`/`max`/`step` away from boolean toggles for Signal Forms type safety.
|
|
174
|
+
*/
|
|
175
|
+
export declare class NativeNumericRangeDirective {
|
|
176
|
+
private readonly renderer;
|
|
177
|
+
private readonly el;
|
|
178
|
+
set min(val: NativeNumberInput);
|
|
179
|
+
set max(val: NativeNumberInput);
|
|
180
|
+
set step(val: NativeNumberInput);
|
|
181
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NativeNumericRangeDirective, never>;
|
|
182
|
+
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>;
|
|
183
|
+
}
|
|
174
184
|
/**
|
|
175
185
|
* Convenience directive bundle enabling typed bindings on `<ng-*>`, `<gtk-*>`, and `<adw-*>` tags
|
|
176
186
|
* in standalone Angular components without `CUSTOM_ELEMENTS_SCHEMA`.
|
|
177
187
|
*/
|
|
178
|
-
export declare const NATIVE_UI_DIRECTIVES: readonly [typeof NativeElementDirective, typeof NativeWindowDirective, typeof NativeContainerDirective, typeof NativeTextWidgetDirective, typeof NativeMediaAndMeterDirective, typeof NativeInputWidgetDirective, typeof NativeListDirective, typeof NativePopoverDirective];
|
|
188
|
+
export declare const NATIVE_UI_DIRECTIVES: readonly [typeof NativeElementDirective, typeof NativeWindowDirective, typeof NativeContainerDirective, typeof NativeTextWidgetDirective, typeof NativeMediaAndMeterDirective, typeof NativeInputWidgetDirective, typeof NativeNumericRangeDirective, typeof NativeListDirective, typeof NativePopoverDirective];
|
|
@@ -143,10 +143,10 @@ export class NativeElementDirective {
|
|
|
143
143
|
set dropTarget(val) {
|
|
144
144
|
syncNativeAttr(this.renderer, this.el, 'drop-target', val);
|
|
145
145
|
}
|
|
146
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
147
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.
|
|
146
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NativeElementDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
147
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.3.0", type: NativeElementDirective, isStandalone: true, selector: "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", inputs: { hexpand: "hexpand", vexpand: "vexpand", halign: "halign", valign: "valign", width: "width", height: "height", minWidth: ["min-width", "minWidth"], minHeight: ["min-height", "minHeight"], margin: "margin", marginTop: ["margin-top", "marginTop"], marginBottom: ["margin-bottom", "marginBottom"], marginStart: ["margin-start", "marginStart"], marginEnd: ["margin-end", "marginEnd"], visible: "visible", sensitive: "sensitive", disabled: "disabled", tooltip: "tooltip", eventMask: ["event-mask", "eventMask"], dropTarget: ["drop-target", "dropTarget"] }, ngImport: i0 });
|
|
148
148
|
}
|
|
149
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
149
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NativeElementDirective, decorators: [{
|
|
150
150
|
type: Directive,
|
|
151
151
|
args: [{
|
|
152
152
|
selector: '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',
|
|
@@ -239,10 +239,10 @@ export class NativeWindowDirective {
|
|
|
239
239
|
set preventCloseAttr(val) {
|
|
240
240
|
syncNativeAttr(this.renderer, this.el, 'prevent-close', val);
|
|
241
241
|
}
|
|
242
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
243
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.
|
|
242
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NativeWindowDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
243
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.3.0", type: NativeWindowDirective, isStandalone: true, selector: "ng-window,adw-window,ng-dialog,gtk-dialog,adw-dialog,ng-header-bar,adw-header-bar,gtk-header-bar", inputs: { title: "title", subtitle: "subtitle", showTitleButtons: ["show-title-buttons", "showTitleButtons"], icon: "icon", resizable: "resizable", decorated: "decorated", modal: "modal", transientForAttr: ["transient-for", "transientForAttr"], transientFor: "transientFor", preventClose: "preventClose", preventCloseAttr: ["prevent-close", "preventCloseAttr"] }, ngImport: i0 });
|
|
244
244
|
}
|
|
245
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
245
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NativeWindowDirective, decorators: [{
|
|
246
246
|
type: Directive,
|
|
247
247
|
args: [{
|
|
248
248
|
selector: 'ng-window,adw-window,ng-dialog,gtk-dialog,adw-dialog,ng-header-bar,adw-header-bar,gtk-header-bar',
|
|
@@ -350,10 +350,10 @@ export class NativeContainerDirective {
|
|
|
350
350
|
set scrollAnchor(val) {
|
|
351
351
|
syncNativeAttr(this.renderer, this.el, 'scroll-anchor', val);
|
|
352
352
|
}
|
|
353
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
354
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.
|
|
353
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NativeContainerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
354
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.3.0", type: NativeContainerDirective, isStandalone: true, selector: "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", inputs: { orientation: "orientation", spacing: "spacing", gap: "gap", rowSpacing: ["row-spacing", "rowSpacing"], columnSpacing: ["column-spacing", "columnSpacing"], minChildren: ["min-children", "minChildren"], maxChildren: ["max-children", "maxChildren"], minPerRow: ["min-per-row", "minPerRow"], maxPerRow: ["max-per-row", "maxPerRow"], homogeneous: "homogeneous", position: "position", visibleChild: ["visible-child", "visibleChild"], activePage: ["active-page", "activePage"], transition: "transition", transitionType: ["transition-type", "transitionType"], label: "label", title: "title", expanded: "expanded", open: "open", maxSize: ["max-size", "maxSize"], maximumSize: ["maximum-size", "maximumSize"], scrollTo: ["scroll-to", "scrollTo"], scrollAnchor: ["scroll-anchor", "scrollAnchor"] }, ngImport: i0 });
|
|
355
355
|
}
|
|
356
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
356
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NativeContainerDirective, decorators: [{
|
|
357
357
|
type: Directive,
|
|
358
358
|
args: [{
|
|
359
359
|
selector: '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',
|
|
@@ -440,10 +440,10 @@ export class NativeTextWidgetDirective {
|
|
|
440
440
|
set ellipsize(val) {
|
|
441
441
|
syncNativeAttr(this.renderer, this.el, 'ellipsize', val);
|
|
442
442
|
}
|
|
443
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
444
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.
|
|
443
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NativeTextWidgetDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
444
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.3.0", type: NativeTextWidgetDirective, isStandalone: true, selector: "ng-button,gtk-button,ng-label,gtk-label", inputs: { label: "label", text: "text", wrap: "wrap", selectable: "selectable", ellipsize: "ellipsize" }, ngImport: i0 });
|
|
445
445
|
}
|
|
446
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
446
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NativeTextWidgetDirective, decorators: [{
|
|
447
447
|
type: Directive,
|
|
448
448
|
args: [{
|
|
449
449
|
selector: 'ng-button,gtk-button,ng-label,gtk-label',
|
|
@@ -493,10 +493,10 @@ export class NativeMediaAndMeterDirective {
|
|
|
493
493
|
set spinning(val) {
|
|
494
494
|
syncNativeAttr(this.renderer, this.el, 'spinning', val);
|
|
495
495
|
}
|
|
496
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
497
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.
|
|
496
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NativeMediaAndMeterDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
497
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.3.0", type: NativeMediaAndMeterDirective, isStandalone: true, selector: "ng-image,adw-image,gtk-picture,ng-picture,ng-level-bar,gtk-level-bar,ng-progress-bar,gtk-progress-bar,ng-spinner,gtk-spinner", inputs: { src: "src", ngSrc: "ngSrc", alt: "alt", value: "value", min: "min", max: "max", indeterminate: "indeterminate", active: "active", spinning: "spinning" }, ngImport: i0 });
|
|
498
498
|
}
|
|
499
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
499
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NativeMediaAndMeterDirective, decorators: [{
|
|
500
500
|
type: Directive,
|
|
501
501
|
args: [{
|
|
502
502
|
selector: 'ng-image,adw-image,gtk-picture,ng-picture,ng-level-bar,gtk-level-bar,ng-progress-bar,gtk-progress-bar,ng-spinner,gtk-spinner',
|
|
@@ -545,15 +545,6 @@ export class NativeInputWidgetDirective {
|
|
|
545
545
|
set label(val) {
|
|
546
546
|
syncNativeAttr(this.renderer, this.el, 'label', val);
|
|
547
547
|
}
|
|
548
|
-
set min(val) {
|
|
549
|
-
syncNativeAttr(this.renderer, this.el, 'min', val);
|
|
550
|
-
}
|
|
551
|
-
set max(val) {
|
|
552
|
-
syncNativeAttr(this.renderer, this.el, 'max', val);
|
|
553
|
-
}
|
|
554
|
-
set step(val) {
|
|
555
|
-
syncNativeAttr(this.renderer, this.el, 'step', val);
|
|
556
|
-
}
|
|
557
548
|
set options(val) {
|
|
558
549
|
syncNativeAttr(this.renderer, this.el, 'options', val);
|
|
559
550
|
}
|
|
@@ -572,10 +563,10 @@ export class NativeInputWidgetDirective {
|
|
|
572
563
|
set peek(val) {
|
|
573
564
|
syncNativeAttr(this.renderer, this.el, 'peek', val);
|
|
574
565
|
}
|
|
575
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
576
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.
|
|
566
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NativeInputWidgetDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
567
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.3.0", type: NativeInputWidgetDirective, isStandalone: true, selector: "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", inputs: { placeholder: "placeholder", value: "value", text: "text", active: "active", checked: "checked", label: "label", options: "options", selected: "selected", editable: "editable", monospace: "monospace", showPeekIcon: ["show-peek-icon", "showPeekIcon"], peek: "peek" }, ngImport: i0 });
|
|
577
568
|
}
|
|
578
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
569
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NativeInputWidgetDirective, decorators: [{
|
|
579
570
|
type: Directive,
|
|
580
571
|
args: [{
|
|
581
572
|
selector: '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',
|
|
@@ -593,12 +584,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImpor
|
|
|
593
584
|
type: Input
|
|
594
585
|
}], label: [{
|
|
595
586
|
type: Input
|
|
596
|
-
}], min: [{
|
|
597
|
-
type: Input
|
|
598
|
-
}], max: [{
|
|
599
|
-
type: Input
|
|
600
|
-
}], step: [{
|
|
601
|
-
type: Input
|
|
602
587
|
}], options: [{
|
|
603
588
|
type: Input
|
|
604
589
|
}], selected: [{
|
|
@@ -634,10 +619,10 @@ export class NativeListDirective {
|
|
|
634
619
|
set separators(val) {
|
|
635
620
|
syncNativeAttr(this.renderer, this.el, 'separators', val);
|
|
636
621
|
}
|
|
637
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
638
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.
|
|
622
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NativeListDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
623
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.3.0", type: NativeListDirective, isStandalone: true, selector: "ng-list,ng-table,gtk-list-box,gtk-list-view", inputs: { selectionModeAttr: ["selection-mode", "selectionModeAttr"], selectionMode: "selectionMode", showSeparatorsAttr: ["show-separators", "showSeparatorsAttr"], showSeparators: "showSeparators", separators: "separators" }, ngImport: i0 });
|
|
639
624
|
}
|
|
640
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
625
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NativeListDirective, decorators: [{
|
|
641
626
|
type: Directive,
|
|
642
627
|
args: [{
|
|
643
628
|
selector: 'ng-list,ng-table,gtk-list-box,gtk-list-view',
|
|
@@ -683,10 +668,10 @@ export class NativePopoverDirective {
|
|
|
683
668
|
set anchor(val) {
|
|
684
669
|
syncNativeAttr(this.renderer, this.el, 'anchor', val);
|
|
685
670
|
}
|
|
686
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
687
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.
|
|
671
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NativePopoverDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
672
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.3.0", type: NativePopoverDirective, isStandalone: true, selector: "ng-popover,gtk-popover,ng-menu", inputs: { open: "open", position: "position", placement: "placement", autohide: "autohide", hasArrowAttr: ["has-arrow", "hasArrowAttr"], hasArrow: "hasArrow", anchor: "anchor" }, ngImport: i0 });
|
|
688
673
|
}
|
|
689
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
674
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NativePopoverDirective, decorators: [{
|
|
690
675
|
type: Directive,
|
|
691
676
|
args: [{
|
|
692
677
|
selector: 'ng-popover,gtk-popover,ng-menu',
|
|
@@ -708,6 +693,38 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImpor
|
|
|
708
693
|
}], anchor: [{
|
|
709
694
|
type: Input
|
|
710
695
|
}] } });
|
|
696
|
+
/**
|
|
697
|
+
* Typed directive for native numeric range & stepper inputs (`<ng-slider>`, `<ng-spin-button>`),
|
|
698
|
+
* isolating `min`/`max`/`step` away from boolean toggles for Signal Forms type safety.
|
|
699
|
+
*/
|
|
700
|
+
export class NativeNumericRangeDirective {
|
|
701
|
+
renderer = inject(Renderer2);
|
|
702
|
+
el = inject(ElementRef).nativeElement;
|
|
703
|
+
set min(val) {
|
|
704
|
+
syncNativeAttr(this.renderer, this.el, 'min', val);
|
|
705
|
+
}
|
|
706
|
+
set max(val) {
|
|
707
|
+
syncNativeAttr(this.renderer, this.el, 'max', val);
|
|
708
|
+
}
|
|
709
|
+
set step(val) {
|
|
710
|
+
syncNativeAttr(this.renderer, this.el, 'step', val);
|
|
711
|
+
}
|
|
712
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NativeNumericRangeDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
713
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.3.0", type: NativeNumericRangeDirective, isStandalone: true, selector: "ng-slider,ng-scale,gtk-scale,ng-spin-button,gtk-spin-button,adw-spin-row", inputs: { min: "min", max: "max", step: "step" }, ngImport: i0 });
|
|
714
|
+
}
|
|
715
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NativeNumericRangeDirective, decorators: [{
|
|
716
|
+
type: Directive,
|
|
717
|
+
args: [{
|
|
718
|
+
selector: 'ng-slider,ng-scale,gtk-scale,ng-spin-button,gtk-spin-button,adw-spin-row',
|
|
719
|
+
standalone: true,
|
|
720
|
+
}]
|
|
721
|
+
}], propDecorators: { min: [{
|
|
722
|
+
type: Input
|
|
723
|
+
}], max: [{
|
|
724
|
+
type: Input
|
|
725
|
+
}], step: [{
|
|
726
|
+
type: Input
|
|
727
|
+
}] } });
|
|
711
728
|
/**
|
|
712
729
|
* Convenience directive bundle enabling typed bindings on `<ng-*>`, `<gtk-*>`, and `<adw-*>` tags
|
|
713
730
|
* in standalone Angular components without `CUSTOM_ELEMENTS_SCHEMA`.
|
|
@@ -719,6 +736,7 @@ export const NATIVE_UI_DIRECTIVES = [
|
|
|
719
736
|
NativeTextWidgetDirective,
|
|
720
737
|
NativeMediaAndMeterDirective,
|
|
721
738
|
NativeInputWidgetDirective,
|
|
739
|
+
NativeNumericRangeDirective,
|
|
722
740
|
NativeListDirective,
|
|
723
741
|
NativePopoverDirective,
|
|
724
742
|
];
|
|
@@ -1097,10 +1097,10 @@ export class NativeRendererFactory2 {
|
|
|
1097
1097
|
getNode(id) {
|
|
1098
1098
|
return this.nodesById.get(id);
|
|
1099
1099
|
}
|
|
1100
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
1101
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.
|
|
1100
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NativeRendererFactory2, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1101
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NativeRendererFactory2, providedIn: 'root' });
|
|
1102
1102
|
}
|
|
1103
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
1103
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NativeRendererFactory2, decorators: [{
|
|
1104
1104
|
type: Injectable,
|
|
1105
1105
|
args: [{ providedIn: 'root' }]
|
|
1106
1106
|
}], ctorParameters: () => [] });
|
package/fesm2022/native-title.js
CHANGED
|
@@ -36,10 +36,10 @@ export class NativeTitleService {
|
|
|
36
36
|
this.title.set(normalized);
|
|
37
37
|
this.bridge.setText(targetId, normalized);
|
|
38
38
|
}
|
|
39
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
40
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.
|
|
39
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NativeTitleService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
40
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NativeTitleService, providedIn: 'root' });
|
|
41
41
|
}
|
|
42
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NativeTitleService, decorators: [{
|
|
43
43
|
type: Injectable,
|
|
44
44
|
args: [{ providedIn: 'root' }]
|
|
45
45
|
}] });
|
|
@@ -115,10 +115,10 @@ export class NativeKeyEventsPlugin extends EventManagerPlugin {
|
|
|
115
115
|
}
|
|
116
116
|
});
|
|
117
117
|
}
|
|
118
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
119
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.
|
|
118
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NativeKeyEventsPlugin, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
119
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NativeKeyEventsPlugin });
|
|
120
120
|
}
|
|
121
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
121
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NativeKeyEventsPlugin, decorators: [{
|
|
122
122
|
type: Injectable
|
|
123
123
|
}], ctorParameters: () => [] });
|
|
124
124
|
/**
|
|
@@ -134,10 +134,10 @@ export class NativeSystemErrorHandler {
|
|
|
134
134
|
this.lastError.set(message);
|
|
135
135
|
this.bridge.logSystemError(message);
|
|
136
136
|
}
|
|
137
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
138
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.
|
|
137
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NativeSystemErrorHandler, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
138
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NativeSystemErrorHandler, providedIn: 'root' });
|
|
139
139
|
}
|
|
140
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
140
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NativeSystemErrorHandler, decorators: [{
|
|
141
141
|
type: Injectable,
|
|
142
142
|
args: [{ providedIn: 'root' }]
|
|
143
143
|
}] });
|
|
@@ -50,10 +50,10 @@ export class NativeViewportScroller extends ViewportScroller {
|
|
|
50
50
|
getHistoryScrollRestoration() {
|
|
51
51
|
return this.scrollRestoration;
|
|
52
52
|
}
|
|
53
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
54
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.
|
|
53
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NativeViewportScroller, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
54
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NativeViewportScroller, providedIn: 'root' });
|
|
55
55
|
}
|
|
56
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
56
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NativeViewportScroller, decorators: [{
|
|
57
57
|
type: Injectable,
|
|
58
58
|
args: [{ providedIn: 'root' }]
|
|
59
59
|
}] });
|
|
@@ -115,8 +115,8 @@ export class NativeVirtualListComponent {
|
|
|
115
115
|
this.rowActivated.emit({ index: entry.index, item: entry.item });
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
119
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.
|
|
118
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NativeVirtualListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
119
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: NativeVirtualListComponent, isStandalone: true, selector: "ng-virtual-list", inputs: { items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: false, transformFunction: null }, itemHeight: { classPropertyName: "itemHeight", publicName: "itemHeight", isSignal: true, isRequired: false, transformFunction: null }, viewportHeight: { classPropertyName: "viewportHeight", publicName: "viewportHeight", isSignal: true, isRequired: false, transformFunction: null }, overscan: { classPropertyName: "overscan", publicName: "overscan", isSignal: true, isRequired: false, transformFunction: null }, selectionMode: { classPropertyName: "selectionMode", publicName: "selectionMode", isSignal: true, isRequired: false, transformFunction: null }, showSeparators: { classPropertyName: "showSeparators", publicName: "showSeparators", isSignal: true, isRequired: false, transformFunction: null }, trackBy: { classPropertyName: "trackBy", publicName: "trackBy", isSignal: true, isRequired: false, transformFunction: null }, itemTemplateInput: { classPropertyName: "itemTemplateInput", publicName: "itemTemplate", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { rangeChange: "rangeChange", rowActivated: "rowActivated" }, queries: [{ propertyName: "projectedTemplate", first: true, predicate: TemplateRef, descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
120
120
|
<ng-scroll
|
|
121
121
|
[hexpand]="true"
|
|
122
122
|
[vexpand]="true"
|
|
@@ -150,7 +150,7 @@ export class NativeVirtualListComponent {
|
|
|
150
150
|
</ng-scroll>
|
|
151
151
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NativeElementDirective, selector: "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", inputs: ["hexpand", "vexpand", "halign", "valign", "width", "height", "min-width", "min-height", "margin", "margin-top", "margin-bottom", "margin-start", "margin-end", "visible", "sensitive", "disabled", "tooltip", "event-mask", "drop-target"] }, { kind: "directive", type: NativeContainerDirective, selector: "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", inputs: ["orientation", "spacing", "gap", "row-spacing", "column-spacing", "min-children", "max-children", "min-per-row", "max-per-row", "homogeneous", "position", "visible-child", "active-page", "transition", "transition-type", "label", "title", "expanded", "open", "max-size", "maximum-size", "scroll-to", "scroll-anchor"] }, { kind: "directive", type: NativeListDirective, selector: "ng-list,ng-table,gtk-list-box,gtk-list-view", inputs: ["selection-mode", "selectionMode", "show-separators", "showSeparators", "separators"] }, { kind: "directive", type: NativeTextWidgetDirective, selector: "ng-button,gtk-button,ng-label,gtk-label", inputs: ["label", "text", "wrap", "selectable", "ellipsize"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
152
152
|
}
|
|
153
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
153
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NativeVirtualListComponent, decorators: [{
|
|
154
154
|
type: Component,
|
|
155
155
|
args: [{
|
|
156
156
|
selector: 'ng-virtual-list',
|