ngwr 4.2.3 → 5.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/fesm2022/ngwr-alert.mjs +8 -8
- package/fesm2022/ngwr-alert.mjs.map +1 -1
- package/fesm2022/ngwr-avatar.mjs +8 -8
- package/fesm2022/ngwr-avatar.mjs.map +1 -1
- package/fesm2022/ngwr-button.mjs +11 -11
- package/fesm2022/ngwr-button.mjs.map +1 -1
- package/fesm2022/ngwr-cdk.mjs +3 -3
- package/fesm2022/ngwr-checkbox.mjs +8 -8
- package/fesm2022/ngwr-checkbox.mjs.map +1 -1
- package/fesm2022/ngwr-dialog.mjs +26 -26
- package/fesm2022/ngwr-dialog.mjs.map +1 -1
- package/fesm2022/ngwr-divider.mjs +7 -7
- package/fesm2022/ngwr-divider.mjs.map +1 -1
- package/fesm2022/ngwr-form.mjs +10 -10
- package/fesm2022/ngwr-icon.mjs +13 -13
- package/fesm2022/ngwr-input.mjs +8 -8
- package/fesm2022/ngwr-input.mjs.map +1 -1
- package/fesm2022/ngwr-pipes.mjs +7 -7
- package/fesm2022/ngwr-progress.mjs +7 -7
- package/fesm2022/ngwr-progress.mjs.map +1 -1
- package/fesm2022/ngwr-qr.mjs +32 -30
- package/fesm2022/ngwr-qr.mjs.map +1 -1
- package/fesm2022/ngwr-skeleton.mjs +7 -7
- package/fesm2022/ngwr-skeleton.mjs.map +1 -1
- package/fesm2022/ngwr-spinner.mjs +7 -7
- package/fesm2022/ngwr-tag.mjs +8 -8
- package/fesm2022/ngwr-tag.mjs.map +1 -1
- package/fesm2022/ngwr-textarea.mjs +185 -0
- package/fesm2022/ngwr-textarea.mjs.map +1 -0
- package/icon/icons.d.ts +109 -109
- package/package.json +16 -49
- package/qr/generator.d.ts +1 -3
- package/qr/qr.component.d.ts +1 -1
- package/qr/qrcodegen.d.ts +8 -8
- package/styles/grid.scss +4 -3
- package/styles.scss +1 -0
- package/textarea/index.d.ts +7 -0
- package/textarea/public-api.d.ts +8 -0
- package/textarea/styles/_index.scss +77 -0
- package/textarea/styles/vars.scss +17 -0
- package/textarea/textarea.component.d.ts +44 -0
- package/textarea/textarea.module.d.ts +7 -0
- package/esm2022/alert/alert-type.mjs +0 -8
- package/esm2022/alert/alert.component.mjs +0 -54
- package/esm2022/alert/alert.module.mjs +0 -22
- package/esm2022/alert/ngwr-alert.mjs +0 -5
- package/esm2022/alert/public-api.mjs +0 -10
- package/esm2022/avatar/avatar.component.mjs +0 -77
- package/esm2022/avatar/avatar.module.mjs +0 -22
- package/esm2022/avatar/ngwr-avatar.mjs +0 -5
- package/esm2022/avatar/public-api.mjs +0 -9
- package/esm2022/button/button-group.component.mjs +0 -36
- package/esm2022/button/button.component.mjs +0 -94
- package/esm2022/button/button.module.mjs +0 -23
- package/esm2022/button/ngwr-button.mjs +0 -5
- package/esm2022/button/public-api.mjs +0 -10
- package/esm2022/cdk/base.directive.mjs +0 -27
- package/esm2022/cdk/ngwr-cdk.mjs +0 -5
- package/esm2022/cdk/public-api.mjs +0 -8
- package/esm2022/cdk/rxjs/is-array.mjs +0 -10
- package/esm2022/cdk/rxjs/is-defined.mjs +0 -10
- package/esm2022/cdk/rxjs/is-not-empty-array.mjs +0 -10
- package/esm2022/cdk/rxjs/is-observable.mjs +0 -10
- package/esm2022/cdk/rxjs/ngwr-cdk-rxjs.mjs +0 -5
- package/esm2022/cdk/rxjs/public-api.mjs +0 -11
- package/esm2022/cdk/types/maybe.mjs +0 -8
- package/esm2022/cdk/types/ngwr-cdk-types.mjs +0 -5
- package/esm2022/cdk/types/public-api.mjs +0 -10
- package/esm2022/cdk/types/safe-any.mjs +0 -8
- package/esm2022/cdk/types/theme-color.mjs +0 -17
- package/esm2022/cdk/utils/generate-random-id.mjs +0 -17
- package/esm2022/cdk/utils/ngwr-cdk-utils.mjs +0 -5
- package/esm2022/cdk/utils/public-api.mjs +0 -8
- package/esm2022/checkbox/checkbox.component.mjs +0 -87
- package/esm2022/checkbox/checkbox.module.mjs +0 -22
- package/esm2022/checkbox/ngwr-checkbox.mjs +0 -5
- package/esm2022/checkbox/public-api.mjs +0 -9
- package/esm2022/dialog/dialog-animations.mjs +0 -28
- package/esm2022/dialog/dialog-base.directive.mjs +0 -95
- package/esm2022/dialog/dialog-close.directive.mjs +0 -33
- package/esm2022/dialog/dialog-content.directive.mjs +0 -25
- package/esm2022/dialog/dialog-data.token.mjs +0 -9
- package/esm2022/dialog/dialog-footer.directive.mjs +0 -36
- package/esm2022/dialog/dialog-options.mjs +0 -9
- package/esm2022/dialog/dialog-ref.mjs +0 -67
- package/esm2022/dialog/dialog-title.directive.mjs +0 -25
- package/esm2022/dialog/dialog.component.mjs +0 -57
- package/esm2022/dialog/dialog.module.mjs +0 -38
- package/esm2022/dialog/dialog.service.mjs +0 -107
- package/esm2022/dialog/ngwr-dialog.mjs +0 -5
- package/esm2022/dialog/public-api.mjs +0 -19
- package/esm2022/divider/divider.component.mjs +0 -60
- package/esm2022/divider/divider.module.mjs +0 -16
- package/esm2022/divider/ngwr-divider.mjs +0 -5
- package/esm2022/divider/public-api.mjs +0 -9
- package/esm2022/form/form-error.component.mjs +0 -33
- package/esm2022/form/form-item.component.mjs +0 -43
- package/esm2022/form/form.module.mjs +0 -23
- package/esm2022/form/ngwr-form.mjs +0 -5
- package/esm2022/form/public-api.mjs +0 -10
- package/esm2022/icon/icon.component.mjs +0 -87
- package/esm2022/icon/icon.module.mjs +0 -22
- package/esm2022/icon/icon.service.mjs +0 -40
- package/esm2022/icon/icons.mjs +0 -549
- package/esm2022/icon/ngwr-icon.mjs +0 -5
- package/esm2022/icon/provide-wr-icons.mjs +0 -17
- package/esm2022/icon/public-api.mjs +0 -12
- package/esm2022/input/input-types.mjs +0 -2
- package/esm2022/input/input.component.mjs +0 -118
- package/esm2022/input/input.module.mjs +0 -22
- package/esm2022/input/ngwr-input.mjs +0 -5
- package/esm2022/input/public-api.mjs +0 -10
- package/esm2022/ngwr.mjs +0 -5
- package/esm2022/pipes/new-array.pipe.mjs +0 -23
- package/esm2022/pipes/ngwr-pipes.mjs +0 -5
- package/esm2022/pipes/pipes.module.mjs +0 -22
- package/esm2022/pipes/public-api.mjs +0 -9
- package/esm2022/progress/ngwr-progress.mjs +0 -5
- package/esm2022/progress/progress.component.mjs +0 -42
- package/esm2022/progress/progress.module.mjs +0 -22
- package/esm2022/progress/public-api.mjs +0 -9
- package/esm2022/public-api.mjs +0 -3
- package/esm2022/qr/generator.mjs +0 -84
- package/esm2022/qr/ngwr-qr.mjs +0 -5
- package/esm2022/qr/public-api.mjs +0 -9
- package/esm2022/qr/qr.component.mjs +0 -90
- package/esm2022/qr/qr.module.mjs +0 -22
- package/esm2022/qr/qrcodegen.mjs +0 -872
- package/esm2022/skeleton/index.mjs +0 -3
- package/esm2022/skeleton/ngwr-skeleton.mjs +0 -5
- package/esm2022/skeleton/skeleton.component.mjs +0 -43
- package/esm2022/skeleton/skeleton.module.mjs +0 -16
- package/esm2022/spinner/index.mjs +0 -3
- package/esm2022/spinner/ngwr-spinner.mjs +0 -5
- package/esm2022/spinner/spinner.component.mjs +0 -33
- package/esm2022/spinner/spinner.module.mjs +0 -22
- package/esm2022/tag/ngwr-tag.mjs +0 -5
- package/esm2022/tag/public-api.mjs +0 -9
- package/esm2022/tag/tag.component.mjs +0 -74
- package/esm2022/tag/tag.module.mjs +0 -16
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ngwr-tag.mjs","sources":["../../../projects/lib/tag/tag.component.ts","../../../projects/lib/tag/tag.component.html","../../../projects/lib/tag/tag.module.ts","../../../projects/lib/tag/public-api.ts","../../../projects/lib/tag/ngwr-tag.ts"],"sourcesContent":["/**\n * @license\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE\n */\n\nimport {\n booleanAttribute,\n ChangeDetectionStrategy,\n Component,\n HostBinding,\n Input,\n ViewEncapsulation,\n} from '@angular/core';\n\nimport { SafeAny, WrThemeColor } from 'ngwr/cdk/types';\nimport { WrIconComponent, wrIconName } from 'ngwr/icon';\nimport { WrSpinnerModule } from 'ngwr/spinner';\n\n@Component({\n
|
|
1
|
+
{"version":3,"file":"ngwr-tag.mjs","sources":["../../../projects/lib/tag/tag.component.ts","../../../projects/lib/tag/tag.component.html","../../../projects/lib/tag/tag.module.ts","../../../projects/lib/tag/public-api.ts","../../../projects/lib/tag/ngwr-tag.ts"],"sourcesContent":["/**\n * @license\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE\n */\n\nimport {\n booleanAttribute,\n ChangeDetectionStrategy,\n Component,\n HostBinding,\n Input,\n ViewEncapsulation,\n} from '@angular/core';\n\nimport { SafeAny, WrThemeColor } from 'ngwr/cdk/types';\nimport { WrIconComponent, wrIconName } from 'ngwr/icon';\nimport { WrSpinnerModule } from 'ngwr/spinner';\n\n@Component({\n selector: 'wr-tag',\n templateUrl: './tag.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n imports: [WrIconComponent, WrSpinnerModule],\n})\nexport class WrTagComponent {\n @Input() color: WrThemeColor = 'primary';\n @Input() icon: wrIconName | null = null;\n @Input() iconPosition: 'start' | 'end' = 'start';\n @Input({ transform: booleanAttribute }) outlined = false;\n @Input({ transform: booleanAttribute }) rounded = false;\n @Input({ transform: booleanAttribute }) transparent = false;\n @Input({ transform: booleanAttribute }) hoverable = false;\n @Input({ transform: booleanAttribute }) loading = false;\n\n @HostBinding('class')\n get elClasses(): SafeAny {\n return {\n 'wr-tag': true,\n 'wr-tag--color-primary': this.color === 'primary',\n 'wr-tag--color-secondary': this.color === 'secondary',\n 'wr-tag--color-success': this.color === 'success',\n 'wr-tag--color-warning': this.color === 'warning',\n 'wr-tag--color-danger': this.color === 'danger',\n 'wr-tag--color-light': this.color === 'light',\n 'wr-tag--color-medium': this.color === 'medium',\n 'wr-tag--color-dark': this.color === 'dark',\n 'wr-tag--icon-start': (this.icon || this.loading) && this.iconPosition === 'start',\n 'wr-tag--icon-end': (this.icon || this.loading) && this.iconPosition === 'end',\n 'wr-tag--loading': this.loading,\n 'wr-tag--rounded': this.rounded,\n 'wr-tag--outlined': this.outlined,\n 'wr-tag--transparent': this.transparent,\n 'wr-tag--hoverable': this.hoverable,\n };\n }\n}\n","@if (loading && iconPosition === 'start') {\n <wr-spinner class=\"wr-tag__spin\" />\n}\n@if (icon && !loading && iconPosition === 'start') {\n <wr-icon class=\"wr-tag__icon\" [name]=\"icon\" />\n}\n<ng-content />\n@if (loading && iconPosition === 'end') {\n <wr-spinner class=\"wr-tag__spin\" />\n}\n@if (icon && !loading && iconPosition === 'end') {\n <wr-icon class=\"wr-tag__icon\" [name]=\"icon\" />\n}\n","import { NgModule } from '@angular/core';\n\nimport { WrTagComponent } from './tag.component';\n\n@NgModule({\n imports: [WrTagComponent],\n exports: [WrTagComponent],\n})\nexport class WrTagModule {}\n","/**\n * @license\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE\n */\n\nexport * from './tag.component';\nexport * from './tag.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;AAAA;;;;;AAKG;MAsBU,cAAc,CAAA;AAP3B,IAAA,WAAA,GAAA;QAQW,IAAK,CAAA,KAAA,GAAiB,SAAS;QAC/B,IAAI,CAAA,IAAA,GAAsB,IAAI;QAC9B,IAAY,CAAA,YAAA,GAAoB,OAAO;QACR,IAAQ,CAAA,QAAA,GAAG,KAAK;QAChB,IAAO,CAAA,OAAA,GAAG,KAAK;QACf,IAAW,CAAA,WAAA,GAAG,KAAK;QACnB,IAAS,CAAA,SAAA,GAAG,KAAK;QACjB,IAAO,CAAA,OAAA,GAAG,KAAK;AAuBxD;AArBC,IAAA,IACI,SAAS,GAAA;QACX,OAAO;AACL,YAAA,QAAQ,EAAE,IAAI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uBAAC,EAAE,SAAS,EAAE,gBAAgB,EAAE;gBACE,WAAW,EAAA,CAAA;sBAAlD,KAAK;uBAAC,EAAE,SAAS,EAAE,gBAAgB,EAAE;gBACE,SAAS,EAAA,CAAA;sBAAhD,KAAK;uBAAC,EAAE,SAAS,EAAE,gBAAgB,EAAE;gBACE,OAAO,EAAA,CAAA;sBAA9C,KAAK;uBAAC,EAAE,SAAS,EAAE,gBAAgB,EAAE;gBAGlC,SAAS,EAAA,CAAA;sBADZ,WAAW;uBAAC,OAAO;;;ME7BT,WAAW,CAAA;8GAAX,WAAW,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;+GAAX,WAAW,EAAA,OAAA,EAAA,CAHZ,cAAc,CAAA,EAAA,OAAA,EAAA,CACd,cAAc,CAAA,EAAA,CAAA,CAAA;AAEb,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAW,YAHZ,cAAc,CAAA,EAAA,CAAA,CAAA;;2FAGb,WAAW,EAAA,UAAA,EAAA,CAAA;kBAJvB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,cAAc,CAAC;oBACzB,OAAO,EAAE,CAAC,cAAc,CAAC;AAC1B,iBAAA;;;ACPD;;;;;AAKG;;ACLH;;AAEG;;;;"}
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
import { coerceBooleanProperty } from '@angular/cdk/coercion';
|
|
2
|
+
import { isPlatformBrowser } from '@angular/common';
|
|
3
|
+
import * as i0 from '@angular/core';
|
|
4
|
+
import { signal, inject, PLATFORM_ID, ChangeDetectorRef, booleanAttribute, numberAttribute, forwardRef, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, ViewChild, HostBinding, NgModule } from '@angular/core';
|
|
5
|
+
import * as i1 from '@angular/forms';
|
|
6
|
+
import { NG_VALUE_ACCESSOR, FormsModule } from '@angular/forms';
|
|
7
|
+
import { noop } from 'rxjs';
|
|
8
|
+
import { WrAbstractBase } from 'ngwr/cdk';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* @license
|
|
12
|
+
*
|
|
13
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
14
|
+
* found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* NGWR textarea component.
|
|
18
|
+
*
|
|
19
|
+
* {@tutorial} [How to use wr-textarea]{@link http://ngwr.dev/docs/components/textarea}
|
|
20
|
+
*/
|
|
21
|
+
class WrTextareaComponent extends WrAbstractBase {
|
|
22
|
+
constructor() {
|
|
23
|
+
super(...arguments);
|
|
24
|
+
this.placeholder = '';
|
|
25
|
+
this.readonly = false;
|
|
26
|
+
this.resizable = true;
|
|
27
|
+
this.autosize = false;
|
|
28
|
+
this.rows = 2;
|
|
29
|
+
this.inputValue = signal(null);
|
|
30
|
+
this.isDisabled = signal(false);
|
|
31
|
+
this.platformId = inject(PLATFORM_ID);
|
|
32
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
33
|
+
this.onChange = noop;
|
|
34
|
+
this.onTouch = noop;
|
|
35
|
+
}
|
|
36
|
+
set disabled(value) {
|
|
37
|
+
this.isDisabled.set(value);
|
|
38
|
+
}
|
|
39
|
+
get disabled() {
|
|
40
|
+
return this.isDisabled();
|
|
41
|
+
}
|
|
42
|
+
get elClasses() {
|
|
43
|
+
return {
|
|
44
|
+
'wr-textarea': true,
|
|
45
|
+
'wr-textarea--resizable': this.resizable,
|
|
46
|
+
'wr-textarea--disabled': this.isDisabled(),
|
|
47
|
+
'wr-textarea--autosize': this.autosize,
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
get isBrowser() {
|
|
51
|
+
return isPlatformBrowser(this.platformId);
|
|
52
|
+
}
|
|
53
|
+
ngAfterViewInit() {
|
|
54
|
+
if (this.autosize && this.isBrowser) {
|
|
55
|
+
this.resizeTextarea();
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
registerOnChange(fn) {
|
|
59
|
+
this.onChange = fn;
|
|
60
|
+
}
|
|
61
|
+
registerOnTouched(fn) {
|
|
62
|
+
this.onTouch = fn;
|
|
63
|
+
}
|
|
64
|
+
setDisabledState(isDisabled) {
|
|
65
|
+
this.isDisabled.set(coerceBooleanProperty(isDisabled));
|
|
66
|
+
}
|
|
67
|
+
writeValue(value) {
|
|
68
|
+
this.value = value;
|
|
69
|
+
this.onChange(value);
|
|
70
|
+
this.inputValue.set(value);
|
|
71
|
+
if (this.isBrowser) {
|
|
72
|
+
requestAnimationFrame(() => {
|
|
73
|
+
this.resizeTextarea();
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
this.cdr.markForCheck();
|
|
77
|
+
}
|
|
78
|
+
resizeTextarea() {
|
|
79
|
+
if (!this.autosize || !this.textareaNative || !this.isBrowser) {
|
|
80
|
+
return;
|
|
81
|
+
}
|
|
82
|
+
const textarea = this.textareaNative.nativeElement;
|
|
83
|
+
textarea.style.height = 'auto';
|
|
84
|
+
let newHeight;
|
|
85
|
+
let maxHeight = 'none';
|
|
86
|
+
if (this.maxRows) {
|
|
87
|
+
const computedStyle = getComputedStyle(textarea);
|
|
88
|
+
const lineHeight = parseInt(computedStyle.lineHeight, 10) || parseInt(computedStyle.fontSize, 10) * 1.2;
|
|
89
|
+
maxHeight = `${lineHeight * this.maxRows}px`;
|
|
90
|
+
newHeight = Math.min(textarea.scrollHeight, lineHeight * this.maxRows);
|
|
91
|
+
}
|
|
92
|
+
else {
|
|
93
|
+
newHeight = textarea.scrollHeight;
|
|
94
|
+
}
|
|
95
|
+
textarea.style.maxHeight = maxHeight;
|
|
96
|
+
textarea.style.height = `${newHeight}px`;
|
|
97
|
+
textarea.style.overflowY = this.maxRows && textarea.scrollHeight > newHeight ? 'auto' : 'hidden';
|
|
98
|
+
}
|
|
99
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: WrTextareaComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
100
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.0.6", type: WrTextareaComponent, isStandalone: true, selector: "wr-textarea", inputs: { placeholder: "placeholder", readonly: ["readonly", "readonly", booleanAttribute], resizable: ["resizable", "resizable", booleanAttribute], autosize: ["autosize", "autosize", booleanAttribute], rows: ["rows", "rows", numberAttribute], maxRows: ["maxRows", "maxRows", numberAttribute], disabled: ["disabled", "disabled", booleanAttribute] }, host: { properties: { "class": "this.elClasses" } }, providers: [
|
|
101
|
+
{
|
|
102
|
+
provide: NG_VALUE_ACCESSOR,
|
|
103
|
+
// eslint-disable-next-line @angular-eslint/no-forward-ref
|
|
104
|
+
useExisting: forwardRef(() => WrTextareaComponent),
|
|
105
|
+
multi: true,
|
|
106
|
+
},
|
|
107
|
+
], viewQueries: [{ propertyName: "textareaNative", first: true, predicate: ["textareaNative"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<textarea\n #textareaNative\n class=\"wr-textarea__native\"\n [placeholder]=\"placeholder\"\n [rows]=\"rows\"\n [readonly]=\"readonly\"\n [disabled]=\"isDisabled()\"\n [ngModel]=\"inputValue()\"\n (ngModelChange)=\"writeValue($event)\"\n (input)=\"resizeTextarea()\"\n></textarea>\n", dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
108
|
+
}
|
|
109
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: WrTextareaComponent, decorators: [{
|
|
110
|
+
type: Component,
|
|
111
|
+
args: [{ standalone: true, selector: 'wr-textarea', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [FormsModule], providers: [
|
|
112
|
+
{
|
|
113
|
+
provide: NG_VALUE_ACCESSOR,
|
|
114
|
+
// eslint-disable-next-line @angular-eslint/no-forward-ref
|
|
115
|
+
useExisting: forwardRef(() => WrTextareaComponent),
|
|
116
|
+
multi: true,
|
|
117
|
+
},
|
|
118
|
+
], template: "<textarea\n #textareaNative\n class=\"wr-textarea__native\"\n [placeholder]=\"placeholder\"\n [rows]=\"rows\"\n [readonly]=\"readonly\"\n [disabled]=\"isDisabled()\"\n [ngModel]=\"inputValue()\"\n (ngModelChange)=\"writeValue($event)\"\n (input)=\"resizeTextarea()\"\n></textarea>\n" }]
|
|
119
|
+
}], propDecorators: { placeholder: [{
|
|
120
|
+
type: Input
|
|
121
|
+
}], readonly: [{
|
|
122
|
+
type: Input,
|
|
123
|
+
args: [{ transform: booleanAttribute }]
|
|
124
|
+
}], resizable: [{
|
|
125
|
+
type: Input,
|
|
126
|
+
args: [{ transform: booleanAttribute }]
|
|
127
|
+
}], autosize: [{
|
|
128
|
+
type: Input,
|
|
129
|
+
args: [{ transform: booleanAttribute }]
|
|
130
|
+
}], rows: [{
|
|
131
|
+
type: Input,
|
|
132
|
+
args: [{ transform: numberAttribute }]
|
|
133
|
+
}], maxRows: [{
|
|
134
|
+
type: Input,
|
|
135
|
+
args: [{ transform: numberAttribute }]
|
|
136
|
+
}], disabled: [{
|
|
137
|
+
type: Input,
|
|
138
|
+
args: [{ transform: booleanAttribute }]
|
|
139
|
+
}], textareaNative: [{
|
|
140
|
+
type: ViewChild,
|
|
141
|
+
args: ['textareaNative']
|
|
142
|
+
}], elClasses: [{
|
|
143
|
+
type: HostBinding,
|
|
144
|
+
args: ['class']
|
|
145
|
+
}] } });
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* @license
|
|
149
|
+
*
|
|
150
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
151
|
+
* found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
|
|
152
|
+
*/
|
|
153
|
+
class WrTextareaModule {
|
|
154
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: WrTextareaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
155
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.6", ngImport: i0, type: WrTextareaModule, imports: [WrTextareaComponent], exports: [WrTextareaComponent] }); }
|
|
156
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: WrTextareaModule, imports: [WrTextareaComponent] }); }
|
|
157
|
+
}
|
|
158
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: WrTextareaModule, decorators: [{
|
|
159
|
+
type: NgModule,
|
|
160
|
+
args: [{
|
|
161
|
+
imports: [WrTextareaComponent],
|
|
162
|
+
exports: [WrTextareaComponent],
|
|
163
|
+
}]
|
|
164
|
+
}] });
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* @license
|
|
168
|
+
*
|
|
169
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
170
|
+
* found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
|
|
171
|
+
*/
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* @license
|
|
175
|
+
*
|
|
176
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
177
|
+
* found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
|
|
178
|
+
*/
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* Generated bundle index. Do not edit.
|
|
182
|
+
*/
|
|
183
|
+
|
|
184
|
+
export { WrTextareaComponent, WrTextareaModule };
|
|
185
|
+
//# sourceMappingURL=ngwr-textarea.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ngwr-textarea.mjs","sources":["../../../projects/lib/textarea/textarea.component.ts","../../../projects/lib/textarea/textarea.component.html","../../../projects/lib/textarea/textarea.module.ts","../../../projects/lib/textarea/public-api.ts","../../../projects/lib/textarea/index.ts","../../../projects/lib/textarea/ngwr-textarea.ts"],"sourcesContent":["/**\n * @license\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE\n */\n\nimport { coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { isPlatformBrowser } from '@angular/common';\nimport {\n AfterViewInit,\n booleanAttribute,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n forwardRef,\n HostBinding,\n inject,\n Input,\n numberAttribute,\n PLATFORM_ID,\n signal,\n ViewChild,\n ViewEncapsulation,\n} from '@angular/core';\nimport { ControlValueAccessor, FormsModule, NG_VALUE_ACCESSOR } from '@angular/forms';\n\nimport { noop } from 'rxjs';\n\nimport { WrAbstractBase } from 'ngwr/cdk';\nimport { SafeAny } from 'ngwr/cdk/types';\n\n/**\n * NGWR textarea component.\n *\n * {@tutorial} [How to use wr-textarea]{@link http://ngwr.dev/docs/components/textarea}\n */\n@Component({\n standalone: true,\n selector: 'wr-textarea',\n templateUrl: './textarea.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n imports: [FormsModule],\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n // eslint-disable-next-line @angular-eslint/no-forward-ref\n useExisting: forwardRef(() => WrTextareaComponent),\n multi: true,\n },\n ],\n})\nexport class WrTextareaComponent extends WrAbstractBase implements ControlValueAccessor, AfterViewInit {\n @Input() placeholder = '';\n @Input({ transform: booleanAttribute }) readonly = false;\n @Input({ transform: booleanAttribute }) resizable = true;\n @Input({ transform: booleanAttribute }) autosize = false;\n @Input({ transform: numberAttribute }) rows = 2;\n @Input({ transform: numberAttribute }) maxRows?: number;\n\n @Input({ transform: booleanAttribute })\n set disabled(value: boolean) {\n this.isDisabled.set(value);\n }\n get disabled(): boolean {\n return this.isDisabled();\n }\n\n @ViewChild('textareaNative')\n private textareaNative: ElementRef<HTMLTextAreaElement> | undefined;\n\n @HostBinding('class')\n get elClasses(): SafeAny {\n return {\n 'wr-textarea': true,\n 'wr-textarea--resizable': this.resizable,\n 'wr-textarea--disabled': this.isDisabled(),\n 'wr-textarea--autosize': this.autosize,\n };\n }\n\n protected value?: string;\n\n protected readonly inputValue = signal<string | null>(null);\n protected readonly isDisabled = signal(false);\n\n private readonly platformId = inject(PLATFORM_ID);\n private readonly cdr = inject(ChangeDetectorRef);\n\n private get isBrowser(): boolean {\n return isPlatformBrowser(this.platformId);\n }\n\n ngAfterViewInit(): void {\n if (this.autosize && this.isBrowser) {\n this.resizeTextarea();\n }\n }\n\n onChange: (value: string) => void = noop;\n onTouch: () => void = noop;\n\n registerOnChange(fn: (value: string) => void): void {\n this.onChange = fn;\n }\n\n registerOnTouched(fn: () => void): void {\n this.onTouch = fn;\n }\n\n setDisabledState(isDisabled: boolean): void {\n this.isDisabled.set(coerceBooleanProperty(isDisabled));\n }\n\n writeValue(value: string): void {\n this.value = value;\n this.onChange(value);\n this.inputValue.set(value);\n\n if (this.isBrowser) {\n requestAnimationFrame(() => {\n this.resizeTextarea();\n });\n }\n\n this.cdr.markForCheck();\n }\n\n resizeTextarea(): void {\n if (!this.autosize || !this.textareaNative || !this.isBrowser) {\n return;\n }\n\n const textarea = this.textareaNative.nativeElement;\n\n textarea.style.height = 'auto';\n\n let newHeight: number;\n let maxHeight = 'none';\n\n if (this.maxRows) {\n const computedStyle = getComputedStyle(textarea);\n const lineHeight = parseInt(computedStyle.lineHeight, 10) || parseInt(computedStyle.fontSize, 10) * 1.2;\n\n maxHeight = `${lineHeight * this.maxRows}px`;\n newHeight = Math.min(textarea.scrollHeight, lineHeight * this.maxRows);\n } else {\n newHeight = textarea.scrollHeight;\n }\n\n textarea.style.maxHeight = maxHeight;\n textarea.style.height = `${newHeight}px`;\n textarea.style.overflowY = this.maxRows && textarea.scrollHeight > newHeight ? 'auto' : 'hidden';\n }\n}\n","<textarea\n #textareaNative\n class=\"wr-textarea__native\"\n [placeholder]=\"placeholder\"\n [rows]=\"rows\"\n [readonly]=\"readonly\"\n [disabled]=\"isDisabled()\"\n [ngModel]=\"inputValue()\"\n (ngModelChange)=\"writeValue($event)\"\n (input)=\"resizeTextarea()\"\n></textarea>\n","/**\n * @license\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE\n */\n\nimport { NgModule } from '@angular/core';\n\nimport { WrTextareaComponent } from './textarea.component';\n\n@NgModule({\n imports: [WrTextareaComponent],\n exports: [WrTextareaComponent],\n})\nexport class WrTextareaModule {}\n","/**\n * @license\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE\n */\n\nexport * from './textarea.component';\nexport * from './textarea.module';\n","/**\n * @license\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE\n */\n\nexport * from './public-api';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAAA;;;;;AAKG;AA4BH;;;;AAIG;AAiBG,MAAO,mBAAoB,SAAQ,cAAc,CAAA;AAhBvD,IAAA,WAAA,G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