@coolon/angular-ui-powerups 16.1.0-aplpha.42 → 16.1.0-aplpha.44
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/esm2022/lib/components/forms/select-input/select-input.component.mjs +6 -5
- package/esm2022/lib/directives/directives.module.mjs +5 -10
- package/esm2022/lib/directives/resize-observer.directive.mjs +11 -4
- package/fesm2022/coolon-angular-ui-powerups.mjs +94 -91
- package/fesm2022/coolon-angular-ui-powerups.mjs.map +1 -1
- package/lib/components/forms/select-input/select-input.component.d.ts +4 -3
- package/lib/directives/directives.module.d.ts +8 -9
- package/lib/directives/resize-observer.directive.d.ts +4 -1
- package/package.json +2 -2
|
@@ -4,9 +4,10 @@ import { AbstractValueInputComponent } from '../abstract-value-input.component';
|
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
6
|
* Using templates:
|
|
7
|
-
* <aup-select-input [
|
|
7
|
+
* <aup-select-input [value$]="myModel" [options]="myOptions">
|
|
8
8
|
* <ng-template #optionTemplate let-option>{{option.thePropertyYouWant}}</ng-template>
|
|
9
|
-
* <ng-template #
|
|
9
|
+
* <ng-template #selectedOptionTemplate let-option>{{option.thePropertyYouWant}} note, not used for nils (the placeholder is used)</ng-template>
|
|
10
|
+
* <ng-template #nilOptionTemplate>Uses the placeholder by default but you can customise it</ng-template>
|
|
10
11
|
* </aup-select_input>
|
|
11
12
|
*/
|
|
12
13
|
export declare class SelectInputComponent<T = any> extends AbstractValueInputComponent<T> implements OnInit {
|
|
@@ -27,5 +28,5 @@ export declare class SelectInputComponent<T = any> extends AbstractValueInputCom
|
|
|
27
28
|
select(item: T): void;
|
|
28
29
|
ngOnInit(): void;
|
|
29
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectInputComponent<any>, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectInputComponent<any>, "aup-select-input", never, { "options$": { "alias": "options$"; "required": false; }; "options": { "alias": "options"; "required": false; }; "optionLabel": { "alias": "optionLabel"; "required": false; }; "allowNil": { "alias": "allowNil"; "required": false; }; "optionLabelFormat": { "alias": "optionLabelFormat"; "required": false; }; }, {}, ["selectedOptionTemplateRef", "optionTemplateRef", "nilOptionTemplateRef"],
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectInputComponent<any>, "aup-select-input", never, { "options$": { "alias": "options$"; "required": false; }; "options": { "alias": "options"; "required": false; }; "optionLabel": { "alias": "optionLabel"; "required": false; }; "allowNil": { "alias": "allowNil"; "required": false; }; "optionLabelFormat": { "alias": "optionLabelFormat"; "required": false; }; }, {}, ["selectedOptionTemplateRef", "optionTemplateRef", "nilOptionTemplateRef"], ["select-option-footer"], false, never>;
|
|
31
32
|
}
|
|
@@ -4,16 +4,15 @@ import * as i2 from "./focus-binding.directive";
|
|
|
4
4
|
import * as i3 from "./highlight.pipe";
|
|
5
5
|
import * as i4 from "./highlight-text-model.directive";
|
|
6
6
|
import * as i5 from "./garbage-collector.directive";
|
|
7
|
-
import * as i6 from "
|
|
8
|
-
import * as i7 from "@angular/
|
|
9
|
-
import * as i8 from "@angular/
|
|
10
|
-
import * as i9 from "@angular/
|
|
11
|
-
import * as i10 from "@angular/material/
|
|
12
|
-
import * as i11 from "@angular/material/
|
|
13
|
-
import * as i12 from "@angular/material/
|
|
14
|
-
import * as i13 from "@angular/material/tabs";
|
|
7
|
+
import * as i6 from "@angular/common";
|
|
8
|
+
import * as i7 from "@angular/platform-browser/animations";
|
|
9
|
+
import * as i8 from "@angular/forms";
|
|
10
|
+
import * as i9 from "@angular/material/input";
|
|
11
|
+
import * as i10 from "@angular/material/form-field";
|
|
12
|
+
import * as i11 from "@angular/material/select";
|
|
13
|
+
import * as i12 from "@angular/material/tabs";
|
|
15
14
|
export declare class DirectivesModule {
|
|
16
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<DirectivesModule, never>;
|
|
17
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DirectivesModule, [typeof i1.CommandDirective, typeof i2.FocusBindingDirective, typeof i3.HighlightPipe, typeof i4.HighlightTextModelDirective, typeof i5.GarbageCollectorDirective
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DirectivesModule, [typeof i1.CommandDirective, typeof i2.FocusBindingDirective, typeof i3.HighlightPipe, typeof i4.HighlightTextModelDirective, typeof i5.GarbageCollectorDirective], [typeof i6.CommonModule, typeof i7.BrowserAnimationsModule, typeof i8.FormsModule, typeof i9.MatInputModule, typeof i10.MatFormFieldModule, typeof i11.MatSelectModule, typeof i12.MatTabsModule], [typeof i1.CommandDirective, typeof i2.FocusBindingDirective, typeof i3.HighlightPipe, typeof i4.HighlightTextModelDirective, typeof i5.GarbageCollectorDirective]>;
|
|
18
17
|
static ɵinj: i0.ɵɵInjectorDeclaration<DirectivesModule>;
|
|
19
18
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef, EventEmitter, NgZone } from '@angular/core';
|
|
2
|
+
import { ValueModel } from '@coolon/pectin';
|
|
2
3
|
import { DisposableComponent } from '../components/disposable-component';
|
|
3
4
|
import { Bounds } from '../components/types/bounds.class';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
@@ -6,8 +7,10 @@ export declare class ResizeObserverDirective extends DisposableComponent impleme
|
|
|
6
7
|
aupOnResize: EventEmitter<Bounds>;
|
|
7
8
|
protected readonly elementRef: ElementRef<any>;
|
|
8
9
|
protected readonly ngZone: NgZone;
|
|
10
|
+
private _bounds$;
|
|
9
11
|
ngAfterViewInit(): void;
|
|
12
|
+
get bounds$(): ValueModel<Bounds>;
|
|
10
13
|
private _updateBounds;
|
|
11
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<ResizeObserverDirective, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ResizeObserverDirective, "[aupOnResize]", never, {}, { "aupOnResize": "aupOnResize"; }, never, never,
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ResizeObserverDirective, "[aupOnResize]", never, {}, { "aupOnResize": "aupOnResize"; }, never, never, true, never>;
|
|
13
16
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coolon/angular-ui-powerups",
|
|
3
|
-
"version": "16.1.0-aplpha.
|
|
3
|
+
"version": "16.1.0-aplpha.44",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/animations": "^16.2.9",
|
|
6
6
|
"@angular/common": "^16.2.9",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"@angular/platform-browser-dynamic": "^16.2.9",
|
|
13
13
|
"@angular/material-moment-adapter": "^16.2.10",
|
|
14
14
|
"@angular/router": "^16.2.9",
|
|
15
|
-
"@coolon/pectin": "^5.0.0-alpha.
|
|
15
|
+
"@coolon/pectin": "^5.0.0-alpha.14",
|
|
16
16
|
"@typescript-plus/fast-memoize-decorator": "^0.2.1",
|
|
17
17
|
"lodash-es": "^4.17.21",
|
|
18
18
|
"marked": "4.0.10",
|