@tethys/cdk 20.0.0-next.2 → 20.0.0
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/behaviors/index.d.ts
CHANGED
|
@@ -42,4 +42,4 @@ declare function setDefaultErrorHandler(defaultErrorHandler: DefaultErrorHandler
|
|
|
42
42
|
declare function getDefaultErrorHandler(): DefaultErrorHandler;
|
|
43
43
|
|
|
44
44
|
export { actionBehavior, asyncBehavior, getDefaultErrorHandler, runInZone, setDefaultErrorHandler };
|
|
45
|
-
export type { ActionBehavior, AsyncBehavior, BehaviorContext, DefaultErrorHandler, ErrorFn, ExtractObservableValue, ParametersWithAppend, SuccessFn };
|
|
45
|
+
export type { ActionBehavior, AsyncBehavior, Behavior, BehaviorContext, DefaultErrorHandler, ErrorFn, ExtractObservableValue, ParametersWithAppend, SuccessFn };
|
|
@@ -79,10 +79,10 @@ class HostRenderer extends AbstractElementRenderer {
|
|
|
79
79
|
get element() {
|
|
80
80
|
return this.elementRef.nativeElement;
|
|
81
81
|
}
|
|
82
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
83
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
82
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: HostRenderer, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
83
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: HostRenderer }); }
|
|
84
84
|
}
|
|
85
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
85
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: HostRenderer, decorators: [{
|
|
86
86
|
type: Injectable
|
|
87
87
|
}] });
|
|
88
88
|
function useHostRenderer() {
|
|
@@ -122,10 +122,10 @@ class ThyStealthView {
|
|
|
122
122
|
this.templateRef = inject((TemplateRef));
|
|
123
123
|
this.stealthViewBehavior = useStealthViewRenderer(this.templateRef);
|
|
124
124
|
}
|
|
125
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
126
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
125
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: ThyStealthView, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
126
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.14", type: ThyStealthView, isStandalone: true, selector: "ng-template[thyStealthView]", exportAs: ["thyStealthView"], ngImport: i0 }); }
|
|
127
127
|
}
|
|
128
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
128
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: ThyStealthView, decorators: [{
|
|
129
129
|
type: Directive,
|
|
130
130
|
args: [{
|
|
131
131
|
selector: 'ng-template[thyStealthView]',
|
|
@@ -50,10 +50,10 @@ class ThyEventDispatcher {
|
|
|
50
50
|
this._removeGlobalListener();
|
|
51
51
|
this._event$.complete();
|
|
52
52
|
}
|
|
53
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
54
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
53
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: ThyEventDispatcher, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
54
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.14", type: ThyEventDispatcher, isStandalone: true, ngImport: i0 }); }
|
|
55
55
|
}
|
|
56
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
56
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: ThyEventDispatcher, decorators: [{
|
|
57
57
|
type: Directive
|
|
58
58
|
}], ctorParameters: () => [] });
|
|
59
59
|
|
|
@@ -66,10 +66,10 @@ class ThyClickDispatcher extends ThyEventDispatcher {
|
|
|
66
66
|
clicked(auditTimeInMs = DEFAULT_CLICKED_TIME) {
|
|
67
67
|
return this.subscribe(auditTimeInMs);
|
|
68
68
|
}
|
|
69
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
70
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
69
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: ThyClickDispatcher, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
70
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: ThyClickDispatcher, providedIn: 'root' }); }
|
|
71
71
|
}
|
|
72
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
72
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: ThyClickDispatcher, decorators: [{
|
|
73
73
|
type: Injectable,
|
|
74
74
|
args: [{
|
|
75
75
|
providedIn: 'root'
|
|
@@ -92,10 +92,10 @@ class ThyKeyboardDispatcher extends ThyEventDispatcher {
|
|
|
92
92
|
keydown(auditTimeInMs = DEFAULT_KEYDOWN_TIME) {
|
|
93
93
|
return this.subscribe(auditTimeInMs);
|
|
94
94
|
}
|
|
95
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
96
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
95
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: ThyKeyboardDispatcher, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
96
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: ThyKeyboardDispatcher, providedIn: 'root' }); }
|
|
97
97
|
}
|
|
98
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
98
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: ThyKeyboardDispatcher, decorators: [{
|
|
99
99
|
type: Injectable,
|
|
100
100
|
args: [{
|
|
101
101
|
providedIn: 'root'
|
|
@@ -74,10 +74,10 @@ class ThyHotkeyDispatcher extends ThyEventDispatcher {
|
|
|
74
74
|
};
|
|
75
75
|
}).pipe(runInZone(this.ngZone));
|
|
76
76
|
}
|
|
77
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
78
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
77
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: ThyHotkeyDispatcher, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
78
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: ThyHotkeyDispatcher, providedIn: 'root' }); }
|
|
79
79
|
}
|
|
80
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
80
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: ThyHotkeyDispatcher, decorators: [{
|
|
81
81
|
type: Injectable,
|
|
82
82
|
args: [{ providedIn: 'root' }]
|
|
83
83
|
}] });
|
|
@@ -124,20 +124,20 @@ class ThyHotkeyDirective {
|
|
|
124
124
|
this.subscription.unsubscribe();
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
128
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.
|
|
127
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: ThyHotkeyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
128
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.14", type: ThyHotkeyDirective, isStandalone: true, selector: "[thyHotkey]", inputs: { thyHotkey: { classPropertyName: "thyHotkey", publicName: "thyHotkey", isSignal: true, isRequired: false, transformFunction: null }, thyHotkeyScope: { classPropertyName: "thyHotkeyScope", publicName: "thyHotkeyScope", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { thyHotkeyListener: "thyHotkeyListener" }, ngImport: i0 }); }
|
|
129
129
|
}
|
|
130
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
130
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: ThyHotkeyDirective, decorators: [{
|
|
131
131
|
type: Directive,
|
|
132
132
|
args: [{ selector: '[thyHotkey]' }]
|
|
133
133
|
}], propDecorators: { thyHotkey: [{ type: i0.Input, args: [{ isSignal: true, alias: "thyHotkey", required: false }] }], thyHotkeyScope: [{ type: i0.Input, args: [{ isSignal: true, alias: "thyHotkeyScope", required: false }] }], thyHotkeyListener: [{ type: i0.Output, args: ["thyHotkeyListener"] }] } });
|
|
134
134
|
|
|
135
135
|
class ThyHotkeyModule {
|
|
136
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
137
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
138
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
136
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: ThyHotkeyModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
137
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.14", ngImport: i0, type: ThyHotkeyModule, imports: [ThyHotkeyDirective], exports: [ThyHotkeyDirective] }); }
|
|
138
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: ThyHotkeyModule }); }
|
|
139
139
|
}
|
|
140
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
140
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: ThyHotkeyModule, decorators: [{
|
|
141
141
|
type: NgModule,
|
|
142
142
|
args: [{
|
|
143
143
|
imports: [ThyHotkeyDirective],
|
package/fesm2022/tethys-cdk.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tethys-cdk.mjs","sources":["../../../cdk/public-api.ts","../../../cdk/tethys-cdk.ts"],"sourcesContent":["/*\n * Public API Surface of cdk\n */\n\nexport * from '@tethys/cdk/is';\nexport * from '@tethys/cdk/logger';\nexport * from '@tethys/cdk/immutable';\nexport * from '@tethys/cdk/event';\nexport * from '@tethys/cdk/hotkey';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tethys-cdk.mjs","sources":["../../../cdk/public-api.ts","../../../cdk/tethys-cdk.ts"],"sourcesContent":["/*\n * Public API Surface of cdk\n */\n\nexport * from '@tethys/cdk/is';\nexport * from '@tethys/cdk/logger';\nexport * from '@tethys/cdk/immutable';\nexport * from '@tethys/cdk/event';\nexport * from '@tethys/cdk/hotkey';\nexport * from '@tethys/cdk/behaviors';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;AAAA;;AAEG;;ACFH;;AAEG"}
|
package/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tethys/cdk",
|
|
3
|
-
"version": "20.0.0
|
|
3
|
+
"version": "20.0.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^20.0.0",
|
|
6
6
|
"@angular/core": "^20.0.0",
|
|
@@ -23,14 +23,14 @@
|
|
|
23
23
|
"types": "./behaviors/index.d.ts",
|
|
24
24
|
"default": "./fesm2022/tethys-cdk-behaviors.mjs"
|
|
25
25
|
},
|
|
26
|
-
"./event": {
|
|
27
|
-
"types": "./event/index.d.ts",
|
|
28
|
-
"default": "./fesm2022/tethys-cdk-event.mjs"
|
|
29
|
-
},
|
|
30
26
|
"./dom": {
|
|
31
27
|
"types": "./dom/index.d.ts",
|
|
32
28
|
"default": "./fesm2022/tethys-cdk-dom.mjs"
|
|
33
29
|
},
|
|
30
|
+
"./event": {
|
|
31
|
+
"types": "./event/index.d.ts",
|
|
32
|
+
"default": "./fesm2022/tethys-cdk-event.mjs"
|
|
33
|
+
},
|
|
34
34
|
"./hotkey": {
|
|
35
35
|
"types": "./hotkey/index.d.ts",
|
|
36
36
|
"default": "./fesm2022/tethys-cdk-hotkey.mjs"
|