@theseam/ui-common 1.0.0-beta.0 → 1.0.0-beta.10
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/breadcrumbs/index.d.ts +1 -2
- package/buttons/index.d.ts +20 -13
- package/datatable/index.d.ts +77 -39
- package/dynamic/index.d.ts +5 -5
- package/fesm2022/theseam-ui-common-asset-reader.mjs +28 -29
- package/fesm2022/theseam-ui-common-asset-reader.mjs.map +1 -1
- package/fesm2022/theseam-ui-common-breadcrumbs.mjs +25 -31
- package/fesm2022/theseam-ui-common-breadcrumbs.mjs.map +1 -1
- package/fesm2022/theseam-ui-common-buttons.mjs +108 -66
- package/fesm2022/theseam-ui-common-buttons.mjs.map +1 -1
- package/fesm2022/theseam-ui-common-card.mjs +21 -21
- package/fesm2022/theseam-ui-common-card.mjs.map +1 -1
- package/fesm2022/theseam-ui-common-carousel.mjs +28 -30
- package/fesm2022/theseam-ui-common-carousel.mjs.map +1 -1
- package/fesm2022/theseam-ui-common-checkbox.mjs +27 -27
- package/fesm2022/theseam-ui-common-checkbox.mjs.map +1 -1
- package/fesm2022/theseam-ui-common-confirm-dialog.mjs +23 -27
- package/fesm2022/theseam-ui-common-confirm-dialog.mjs.map +1 -1
- package/fesm2022/theseam-ui-common-core.mjs +31 -11
- package/fesm2022/theseam-ui-common-core.mjs.map +1 -1
- package/fesm2022/theseam-ui-common-data-exporter.mjs +18 -19
- package/fesm2022/theseam-ui-common-data-exporter.mjs.map +1 -1
- package/fesm2022/theseam-ui-common-data-filters.mjs +80 -64
- package/fesm2022/theseam-ui-common-data-filters.mjs.map +1 -1
- package/fesm2022/theseam-ui-common-datatable-alterations-display.mjs +51 -49
- package/fesm2022/theseam-ui-common-datatable-alterations-display.mjs.map +1 -1
- package/fesm2022/theseam-ui-common-datatable-dynamic.mjs +145 -112
- package/fesm2022/theseam-ui-common-datatable-dynamic.mjs.map +1 -1
- package/fesm2022/theseam-ui-common-datatable.mjs +727 -420
- package/fesm2022/theseam-ui-common-datatable.mjs.map +1 -1
- package/fesm2022/theseam-ui-common-dynamic-component-loader.mjs +12 -14
- package/fesm2022/theseam-ui-common-dynamic-component-loader.mjs.map +1 -1
- package/fesm2022/theseam-ui-common-dynamic.mjs +60 -48
- package/fesm2022/theseam-ui-common-dynamic.mjs.map +1 -1
- package/fesm2022/theseam-ui-common-footer-bar.mjs +9 -15
- package/fesm2022/theseam-ui-common-footer-bar.mjs.map +1 -1
- package/fesm2022/theseam-ui-common-form-field-error.mjs +60 -43
- package/fesm2022/theseam-ui-common-form-field-error.mjs.map +1 -1
- package/fesm2022/theseam-ui-common-form-field.mjs +129 -76
- package/fesm2022/theseam-ui-common-form-field.mjs.map +1 -1
- package/fesm2022/theseam-ui-common-framework.mjs +669 -543
- package/fesm2022/theseam-ui-common-framework.mjs.map +1 -1
- package/fesm2022/theseam-ui-common-google-maps.mjs +206 -149
- package/fesm2022/theseam-ui-common-google-maps.mjs.map +1 -1
- package/fesm2022/theseam-ui-common-graphql.mjs +311 -254
- package/fesm2022/theseam-ui-common-graphql.mjs.map +1 -1
- package/fesm2022/theseam-ui-common-icon.mjs +125 -89
- package/fesm2022/theseam-ui-common-icon.mjs.map +1 -1
- package/fesm2022/theseam-ui-common-layout.mjs +18 -26
- package/fesm2022/theseam-ui-common-layout.mjs.map +1 -1
- package/fesm2022/theseam-ui-common-loading.mjs +19 -28
- package/fesm2022/theseam-ui-common-loading.mjs.map +1 -1
- package/fesm2022/theseam-ui-common-menu.mjs +124 -95
- package/fesm2022/theseam-ui-common-menu.mjs.map +1 -1
- package/fesm2022/theseam-ui-common-modal.mjs +178 -129
- package/fesm2022/theseam-ui-common-modal.mjs.map +1 -1
- package/fesm2022/theseam-ui-common-models.mjs +3 -3
- package/fesm2022/theseam-ui-common-models.mjs.map +1 -1
- package/fesm2022/theseam-ui-common-navigation-reload.mjs +13 -11
- package/fesm2022/theseam-ui-common-navigation-reload.mjs.map +1 -1
- package/fesm2022/theseam-ui-common-popover.mjs +81 -88
- package/fesm2022/theseam-ui-common-popover.mjs.map +1 -1
- package/fesm2022/theseam-ui-common-progress.mjs +15 -19
- package/fesm2022/theseam-ui-common-progress.mjs.map +1 -1
- package/fesm2022/theseam-ui-common-rich-text.mjs +65 -52
- package/fesm2022/theseam-ui-common-rich-text.mjs.map +1 -1
- package/fesm2022/theseam-ui-common-scrollbar.mjs +12 -9
- package/fesm2022/theseam-ui-common-scrollbar.mjs.map +1 -1
- package/fesm2022/theseam-ui-common-services.mjs +41 -26
- package/fesm2022/theseam-ui-common-services.mjs.map +1 -1
- package/fesm2022/theseam-ui-common-shared.mjs +149 -159
- package/fesm2022/theseam-ui-common-shared.mjs.map +1 -1
- package/fesm2022/theseam-ui-common-storage.mjs +9 -6
- package/fesm2022/theseam-ui-common-storage.mjs.map +1 -1
- package/fesm2022/theseam-ui-common-story-helpers.mjs +148 -86
- package/fesm2022/theseam-ui-common-story-helpers.mjs.map +1 -1
- package/fesm2022/theseam-ui-common-tabbed.mjs +43 -39
- package/fesm2022/theseam-ui-common-tabbed.mjs.map +1 -1
- package/fesm2022/theseam-ui-common-table-cell-type.mjs +63 -39
- package/fesm2022/theseam-ui-common-table-cell-type.mjs.map +1 -1
- package/fesm2022/theseam-ui-common-table-cell-types.mjs +182 -144
- package/fesm2022/theseam-ui-common-table-cell-types.mjs.map +1 -1
- package/fesm2022/theseam-ui-common-table.mjs +62 -41
- package/fesm2022/theseam-ui-common-table.mjs.map +1 -1
- package/fesm2022/theseam-ui-common-tel-input.mjs +98 -63
- package/fesm2022/theseam-ui-common-tel-input.mjs.map +1 -1
- package/fesm2022/theseam-ui-common-testing.mjs +13 -10
- package/fesm2022/theseam-ui-common-testing.mjs.map +1 -1
- package/fesm2022/theseam-ui-common-tiled-select.mjs +54 -50
- package/fesm2022/theseam-ui-common-tiled-select.mjs.map +1 -1
- package/fesm2022/theseam-ui-common-toggle-edit.mjs +41 -37
- package/fesm2022/theseam-ui-common-toggle-edit.mjs.map +1 -1
- package/fesm2022/theseam-ui-common-toggle-group.mjs +30 -31
- package/fesm2022/theseam-ui-common-toggle-group.mjs.map +1 -1
- package/fesm2022/theseam-ui-common-tooltip.mjs +225 -66
- package/fesm2022/theseam-ui-common-tooltip.mjs.map +1 -1
- package/fesm2022/theseam-ui-common-unsaved-changes-dialog.mjs +14 -12
- package/fesm2022/theseam-ui-common-unsaved-changes-dialog.mjs.map +1 -1
- package/fesm2022/theseam-ui-common-utils.mjs +113 -77
- package/fesm2022/theseam-ui-common-utils.mjs.map +1 -1
- package/fesm2022/theseam-ui-common-validators.mjs +10 -9
- package/fesm2022/theseam-ui-common-validators.mjs.map +1 -1
- package/fesm2022/theseam-ui-common-vertical-list-filter.mjs +39 -17
- package/fesm2022/theseam-ui-common-vertical-list-filter.mjs.map +1 -1
- package/fesm2022/theseam-ui-common-viewers.mjs +80 -53
- package/fesm2022/theseam-ui-common-viewers.mjs.map +1 -1
- package/fesm2022/theseam-ui-common-widget.mjs +288 -314
- package/fesm2022/theseam-ui-common-widget.mjs.map +1 -1
- package/form-field/index.d.ts +1 -1
- package/framework/base-layout/base-layout.component.scss +9 -4
- package/framework/base-layout/styles/_variables.scss +4 -9
- package/framework/dashboard/dashboard-widgets/dashboard-widgets.component.scss +6 -4
- package/framework/index.d.ts +6 -6
- package/framework/nav/nav-item/nav-item.component.scss +7 -6
- package/framework/nav/styles/_themes/light/_variables.scss +21 -5
- package/framework/nav/styles/_themes/primary/_variables.scss +21 -5
- package/framework/side-nav/side-nav-item/side-nav-item.component.scss +5 -2
- package/framework/side-nav/styles/_themes/light/_variables.scss +5 -1
- package/framework/side-nav/styles/_themes/primary/_variables.scss +25 -5
- package/graphql/index.d.ts +49 -7
- package/modal/README.md +5 -5
- package/modal/index.d.ts +1 -1
- package/models/index.d.ts +1 -1
- package/package.json +59 -60
- package/popover/index.d.ts +0 -2
- package/progress/progress-circle/styles/_variables.scss +15 -3
- package/shared/index.d.ts +0 -13
- package/story-helpers/index.d.ts +11 -1
- package/styles/bootstrap/_bootstrap.scss +34 -34
- package/styles/bootstrap/_bs-styles.scss +4 -8
- package/styles/bootstrap/_bs-utilities.scss +4 -4
- package/styles/bootstrap/_bs-variables.scss +65 -70
- package/styles/common/_forms.scss +9 -10
- package/styles/common/_global.scss +0 -1
- package/styles/common/_hacks.scss +1 -1
- package/styles/common/_table.scss +0 -1
- package/styles/common/_text.scss +3 -1
- package/styles/theme.scss +1 -1
- package/styles/vendor/ng-select/_ng-select-bs4.scss +292 -294
- package/styles/vendor/ngx-datatable/_ngx-datatable.scss +63 -32
- package/styles/vendor/ngx-datatable/_themes/bootstrap/_variables.scss +37 -10
- package/styles/vendor/ngx-datatable/_themes/material/_variables.scss +3 -1
- package/styles/vendor/quill/_quill.scss +15 -9
- package/table/index.d.ts +4 -1
- package/table-cell-type/index.d.ts +27 -2
- package/tel-input/README.md +27 -27
- package/utils/index.d.ts +3 -3
- package/viewers/index.d.ts +9 -2
- package/widget/_widget-theme.scss +1 -1
- package/widget/styles/_variables.scss +2 -2
- package/widget/widget/widget.component.scss +0 -2
- package/widget/widget-content-components/widget-tile/widget-tile.component.scss +1 -3
- package/widget/widget-footer/widget-footer.component.scss +0 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { coerceBooleanProperty, coerceNumberProperty } from '@angular/cdk/coercion';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { Input, Component, inject, ElementRef, Directive, EventEmitter, HostListener, Output,
|
|
3
|
+
import { Input, Component, inject, ElementRef, Directive, EventEmitter, HostListener, Output, HostBinding, Pipe, NgModule } from '@angular/core';
|
|
4
4
|
import * as i1 from '@fortawesome/angular-fontawesome';
|
|
5
5
|
import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
|
|
6
6
|
import { faEye, faEyeSlash } from '@fortawesome/free-regular-svg-icons';
|
|
7
7
|
import { Modal, ModalRef, getClosestModal } from '@theseam/ui-common/modal';
|
|
8
8
|
import { NgControl } from '@angular/forms';
|
|
9
9
|
import { ResizeSensor } from 'css-element-queries';
|
|
10
|
+
import { NgSelectComponent } from '@ng-select/ng-select';
|
|
10
11
|
import { Subject, fromEvent } from 'rxjs';
|
|
11
12
|
import { takeUntil, filter, tap } from 'rxjs/operators';
|
|
12
|
-
import { NgSelectComponent } from '@ng-select/ng-select';
|
|
13
13
|
import { QuillEditorComponent } from 'ngx-quill';
|
|
14
14
|
import { padStart, padEnd } from '@theseam/ui-common/utils';
|
|
15
15
|
|
|
@@ -17,7 +17,9 @@ class TheSeamPasswordInputRevealComponent {
|
|
|
17
17
|
static ngAcceptInputType_passwordVisible;
|
|
18
18
|
faEye = faEye;
|
|
19
19
|
faEyeSlash = faEyeSlash;
|
|
20
|
-
get inputRef() {
|
|
20
|
+
get inputRef() {
|
|
21
|
+
return this._passwordInput;
|
|
22
|
+
}
|
|
21
23
|
set inputRef(value) {
|
|
22
24
|
this._passwordInput = value;
|
|
23
25
|
this.updateRevealState();
|
|
@@ -27,7 +29,9 @@ class TheSeamPasswordInputRevealComponent {
|
|
|
27
29
|
}
|
|
28
30
|
}
|
|
29
31
|
_passwordInput;
|
|
30
|
-
get passwordVisible() {
|
|
32
|
+
get passwordVisible() {
|
|
33
|
+
return this._passwordVisible;
|
|
34
|
+
}
|
|
31
35
|
set passwordVisible(value) {
|
|
32
36
|
this._passwordVisible = coerceBooleanProperty(value);
|
|
33
37
|
this.updateRevealState();
|
|
@@ -41,18 +45,24 @@ class TheSeamPasswordInputRevealComponent {
|
|
|
41
45
|
revealPassword() {
|
|
42
46
|
this.passwordVisible = !this.passwordVisible;
|
|
43
47
|
}
|
|
44
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
45
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
46
|
-
<fa-icon
|
|
48
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.7", ngImport: i0, type: TheSeamPasswordInputRevealComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
49
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.7", type: TheSeamPasswordInputRevealComponent, isStandalone: true, selector: "seam-password-input-reveal", inputs: { inputRef: "inputRef", passwordVisible: "passwordVisible" }, ngImport: i0, template: `
|
|
50
|
+
<fa-icon
|
|
51
|
+
[icon]="passwordVisible ? faEyeSlash : faEye"
|
|
52
|
+
class="password-reveal-icon"
|
|
53
|
+
(click)="revealPassword()"
|
|
54
|
+
></fa-icon>
|
|
47
55
|
`, isInline: true, styles: [":host{display:flex;align-items:center;position:absolute;top:0;right:0;bottom:0;width:30px;transform:translateZ(0);z-index:50}:host fa-icon{opacity:1;color:#bababa;cursor:pointer}:host fa-icon ::ng-deep .svg-inline--fa{vertical-align:middle}\n"], dependencies: [{ kind: "ngmodule", type: FontAwesomeModule }, { kind: "component", type: i1.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }] });
|
|
48
56
|
}
|
|
49
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
57
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.7", ngImport: i0, type: TheSeamPasswordInputRevealComponent, decorators: [{
|
|
50
58
|
type: Component,
|
|
51
59
|
args: [{ selector: 'seam-password-input-reveal', template: `
|
|
52
|
-
<fa-icon
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
60
|
+
<fa-icon
|
|
61
|
+
[icon]="passwordVisible ? faEyeSlash : faEye"
|
|
62
|
+
class="password-reveal-icon"
|
|
63
|
+
(click)="revealPassword()"
|
|
64
|
+
></fa-icon>
|
|
65
|
+
`, imports: [FontAwesomeModule], styles: [":host{display:flex;align-items:center;position:absolute;top:0;right:0;bottom:0;width:30px;transform:translateZ(0);z-index:50}:host fa-icon{opacity:1;color:#bababa;cursor:pointer}:host fa-icon ::ng-deep .svg-inline--fa{vertical-align:middle}\n"] }]
|
|
56
66
|
}], propDecorators: { inputRef: [{
|
|
57
67
|
type: Input
|
|
58
68
|
}], passwordVisible: [{
|
|
@@ -93,22 +103,26 @@ class TheSeamAutoFocusDirective {
|
|
|
93
103
|
}
|
|
94
104
|
if (!this.modalRef) {
|
|
95
105
|
if (this._focus) {
|
|
96
|
-
setTimeout(() => {
|
|
106
|
+
setTimeout(() => {
|
|
107
|
+
this.focus();
|
|
108
|
+
});
|
|
97
109
|
}
|
|
98
110
|
}
|
|
99
111
|
else {
|
|
100
112
|
this.modalRef.afterOpened().subscribe(() => {
|
|
101
|
-
setTimeout(() => {
|
|
113
|
+
setTimeout(() => {
|
|
114
|
+
this.focus();
|
|
115
|
+
});
|
|
102
116
|
});
|
|
103
117
|
}
|
|
104
118
|
}
|
|
105
119
|
focus() {
|
|
106
120
|
this._elementRef.nativeElement.focus();
|
|
107
121
|
}
|
|
108
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
109
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
122
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.7", ngImport: i0, type: TheSeamAutoFocusDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
123
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.7", type: TheSeamAutoFocusDirective, isStandalone: true, selector: "[seamAutoFocus]", inputs: { seamAutoFocus: "seamAutoFocus" }, exportAs: ["seamAutoFocus"], ngImport: i0 });
|
|
110
124
|
}
|
|
111
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
125
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.7", ngImport: i0, type: TheSeamAutoFocusDirective, decorators: [{
|
|
112
126
|
type: Directive,
|
|
113
127
|
args: [{
|
|
114
128
|
selector: '[seamAutoFocus]',
|
|
@@ -130,7 +144,9 @@ class TheSeamClickOutsideDirective {
|
|
|
130
144
|
if (value) {
|
|
131
145
|
// `setTimeout` is used to avoid the click event triggering when the value
|
|
132
146
|
// changes if the value was changed with a click.
|
|
133
|
-
setTimeout(() => {
|
|
147
|
+
setTimeout(() => {
|
|
148
|
+
this._active = value;
|
|
149
|
+
});
|
|
134
150
|
}
|
|
135
151
|
else {
|
|
136
152
|
this._active = value;
|
|
@@ -144,15 +160,16 @@ class TheSeamClickOutsideDirective {
|
|
|
144
160
|
if (this._active) {
|
|
145
161
|
const targetElement = event.target;
|
|
146
162
|
// Check if the click was outside the element
|
|
147
|
-
if (targetElement &&
|
|
163
|
+
if (targetElement &&
|
|
164
|
+
!this._elementRef.nativeElement.contains(targetElement)) {
|
|
148
165
|
this.seamClickOutside.emit(event);
|
|
149
166
|
}
|
|
150
167
|
}
|
|
151
168
|
}
|
|
152
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
153
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
169
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.7", ngImport: i0, type: TheSeamClickOutsideDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
170
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.7", type: TheSeamClickOutsideDirective, isStandalone: true, selector: "[seamClickOutside]", inputs: { seamClickOutsideActive: "seamClickOutsideActive" }, outputs: { seamClickOutside: "seamClickOutside" }, host: { listeners: { "document:click": "onDocumentClick($event)" } }, exportAs: ["seamClickOutside"], ngImport: i0 });
|
|
154
171
|
}
|
|
155
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
172
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.7", ngImport: i0, type: TheSeamClickOutsideDirective, decorators: [{
|
|
156
173
|
type: Directive,
|
|
157
174
|
args: [{
|
|
158
175
|
selector: '[seamClickOutside]',
|
|
@@ -177,10 +194,10 @@ class TheSeamDisableControlDirective {
|
|
|
177
194
|
control[action]();
|
|
178
195
|
}
|
|
179
196
|
}
|
|
180
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
181
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
197
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.7", ngImport: i0, type: TheSeamDisableControlDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
198
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.7", type: TheSeamDisableControlDirective, isStandalone: true, selector: "[seamDisableControl]", inputs: { seamDisableControl: "seamDisableControl" }, exportAs: ["seamDisableControl"], ngImport: i0 });
|
|
182
199
|
}
|
|
183
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
200
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.7", ngImport: i0, type: TheSeamDisableControlDirective, decorators: [{
|
|
184
201
|
type: Directive,
|
|
185
202
|
args: [{
|
|
186
203
|
selector: '[seamDisableControl]',
|
|
@@ -195,17 +212,20 @@ class TheSeamElemResizedDirective {
|
|
|
195
212
|
seamElemResized = new EventEmitter();
|
|
196
213
|
sensor;
|
|
197
214
|
ngAfterViewInit() {
|
|
198
|
-
this.sensor = new ResizeSensor(this._elementRef.nativeElement, event => {
|
|
199
|
-
this.seamElemResized.emit({
|
|
215
|
+
this.sensor = new ResizeSensor(this._elementRef.nativeElement, (event) => {
|
|
216
|
+
this.seamElemResized.emit({
|
|
217
|
+
element: this._elementRef.nativeElement,
|
|
218
|
+
size: event,
|
|
219
|
+
});
|
|
200
220
|
});
|
|
201
221
|
}
|
|
202
222
|
ngOnDestroy() {
|
|
203
223
|
this.sensor?.detach();
|
|
204
224
|
}
|
|
205
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
206
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
225
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.7", ngImport: i0, type: TheSeamElemResizedDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
226
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.7", type: TheSeamElemResizedDirective, isStandalone: true, selector: "[seamElemResized]", outputs: { seamElemResized: "seamElemResized" }, exportAs: ["seamElemResized"], ngImport: i0 });
|
|
207
227
|
}
|
|
208
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
228
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.7", ngImport: i0, type: TheSeamElemResizedDirective, decorators: [{
|
|
209
229
|
type: Directive,
|
|
210
230
|
args: [{
|
|
211
231
|
selector: '[seamElemResized]',
|
|
@@ -245,21 +265,33 @@ class TheSeamHoverClassToggleDirective {
|
|
|
245
265
|
set seamHoverClassToggle(value) {
|
|
246
266
|
if (value) {
|
|
247
267
|
if (value.default) {
|
|
248
|
-
this._defaultClasses = value.default
|
|
268
|
+
this._defaultClasses = value.default
|
|
269
|
+
.split(' ')
|
|
270
|
+
.filter((c) => c.length > 0);
|
|
249
271
|
}
|
|
250
272
|
if (value.hover) {
|
|
251
|
-
this._hoverClasses = value.hover.split(' ').filter(c => c.length > 0);
|
|
273
|
+
this._hoverClasses = value.hover.split(' ').filter((c) => c.length > 0);
|
|
252
274
|
}
|
|
253
275
|
}
|
|
254
|
-
this._hoverClasses = this._hoverClasses.filter(v => !this._defaultClasses.find(_v => _v === v));
|
|
276
|
+
this._hoverClasses = this._hoverClasses.filter((v) => !this._defaultClasses.find((_v) => _v === v));
|
|
255
277
|
this._update();
|
|
256
278
|
}
|
|
257
279
|
_update() {
|
|
258
280
|
for (const c of this._defaultClasses) {
|
|
259
|
-
this._hovered
|
|
281
|
+
if (this._hovered) {
|
|
282
|
+
this._removeClass(c);
|
|
283
|
+
}
|
|
284
|
+
else {
|
|
285
|
+
this._addClass(c);
|
|
286
|
+
}
|
|
260
287
|
}
|
|
261
288
|
for (const c of this._hoverClasses) {
|
|
262
|
-
this._hovered
|
|
289
|
+
if (this._hovered) {
|
|
290
|
+
this._addClass(c);
|
|
291
|
+
}
|
|
292
|
+
else {
|
|
293
|
+
this._removeClass(c);
|
|
294
|
+
}
|
|
263
295
|
}
|
|
264
296
|
}
|
|
265
297
|
_setHovered(hovered) {
|
|
@@ -275,10 +307,10 @@ class TheSeamHoverClassToggleDirective {
|
|
|
275
307
|
_removeClass(c) {
|
|
276
308
|
this._elementRef.nativeElement.classList.remove(c);
|
|
277
309
|
}
|
|
278
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
279
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
310
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.7", ngImport: i0, type: TheSeamHoverClassToggleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
311
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.7", type: TheSeamHoverClassToggleDirective, isStandalone: true, selector: "[seamHoverClassToggle]", inputs: { seamHoverClassToggle: "seamHoverClassToggle" }, host: { listeners: { "mouseover": "onMouseOver($event)", "mouseout": "onMouseOut($event)", "pointerover": "onPointerOver($event)", "pointerout": "onPointerOut($event)" } }, exportAs: ["seamHoverClassToggle"], ngImport: i0 });
|
|
280
312
|
}
|
|
281
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
313
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.7", ngImport: i0, type: TheSeamHoverClassToggleDirective, decorators: [{
|
|
282
314
|
type: Directive,
|
|
283
315
|
args: [{
|
|
284
316
|
selector: '[seamHoverClassToggle]',
|
|
@@ -332,7 +364,7 @@ class TheSeamHoverClassDirective {
|
|
|
332
364
|
this._setHovered(false);
|
|
333
365
|
}
|
|
334
366
|
set seamHoverClass(classList) {
|
|
335
|
-
const newClasses = classList.split(' ').filter(c => c.length > 0);
|
|
367
|
+
const newClasses = classList.split(' ').filter((c) => c.length > 0);
|
|
336
368
|
for (const c of this._classes) {
|
|
337
369
|
if (newClasses.indexOf(c) !== 0) {
|
|
338
370
|
this._removeClass(c);
|
|
@@ -343,7 +375,12 @@ class TheSeamHoverClassDirective {
|
|
|
343
375
|
}
|
|
344
376
|
_update() {
|
|
345
377
|
for (const c of this._classes) {
|
|
346
|
-
this._hovered
|
|
378
|
+
if (this._hovered) {
|
|
379
|
+
this._addClass(c);
|
|
380
|
+
}
|
|
381
|
+
else {
|
|
382
|
+
this._removeClass(c);
|
|
383
|
+
}
|
|
347
384
|
}
|
|
348
385
|
}
|
|
349
386
|
_setHovered(hovered) {
|
|
@@ -359,10 +396,10 @@ class TheSeamHoverClassDirective {
|
|
|
359
396
|
_removeClass(c) {
|
|
360
397
|
this._elementRef.nativeElement.classList.remove(c);
|
|
361
398
|
}
|
|
362
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
363
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
399
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.7", ngImport: i0, type: TheSeamHoverClassDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
400
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.7", type: TheSeamHoverClassDirective, isStandalone: true, selector: "[seamHoverClass]", inputs: { seamHoverClass: "seamHoverClass" }, host: { listeners: { "mouseover": "onMouseOver($event)", "mouseout": "onMouseOut($event)", "pointerover": "onPointerOver($event)", "pointerout": "onPointerOut($event)" } }, exportAs: ["seamHoverClass"], ngImport: i0 });
|
|
364
401
|
}
|
|
365
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
402
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.7", ngImport: i0, type: TheSeamHoverClassDirective, decorators: [{
|
|
366
403
|
type: Directive,
|
|
367
404
|
args: [{
|
|
368
405
|
selector: '[seamHoverClass]',
|
|
@@ -384,51 +421,48 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImpor
|
|
|
384
421
|
type: Input
|
|
385
422
|
}] } });
|
|
386
423
|
|
|
424
|
+
// import { ResizeSensor } from 'css-element-queries'
|
|
425
|
+
// import { TheSeamElementResizedEvent } from './elem-resized.directive'
|
|
387
426
|
class TheSeamNgSelectExtraDirective {
|
|
388
427
|
_elementRef = inject((ElementRef));
|
|
389
|
-
_ngZone = inject(NgZone);
|
|
390
428
|
_ngSelect = inject(NgSelectComponent);
|
|
391
|
-
_ngControl = inject(NgControl, {
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
_keyPressWorkaroundSub = null;
|
|
396
|
-
_resizedEvent = new EventEmitter();
|
|
397
|
-
_resizeSensor;
|
|
429
|
+
_ngControl = inject(NgControl, {
|
|
430
|
+
optional: true,
|
|
431
|
+
self: true,
|
|
432
|
+
});
|
|
398
433
|
/**
|
|
399
434
|
* Set the tab index to `-1` to allow the root element of the ng-select
|
|
400
435
|
* component to receive `focus` event from javascript, but not get focused by
|
|
401
436
|
* keyboard navigation.
|
|
402
437
|
*/
|
|
403
|
-
get _tabIndex() {
|
|
438
|
+
get _tabIndex() {
|
|
439
|
+
return this._ngSelect.disabled() ? undefined : -1;
|
|
440
|
+
}
|
|
404
441
|
/**
|
|
405
442
|
* Listening for focus event on root of component to allow javascript
|
|
406
443
|
* `focus()` function to trigger the components focus.
|
|
407
444
|
*/
|
|
408
445
|
onFocus($event) {
|
|
409
446
|
const target = $event.target;
|
|
410
|
-
if (target === this._elementRef.nativeElement &&
|
|
447
|
+
if (target === this._elementRef.nativeElement &&
|
|
448
|
+
!this._ngSelect.disabled()) {
|
|
411
449
|
this._ngSelect.focus();
|
|
412
450
|
}
|
|
413
|
-
// ng-select has an input `labelForId` that sets the autocomplete attribute
|
|
414
|
-
// in ngOnInit. I am not positive that it is wrong by doing that, but this
|
|
415
|
-
// hack makes it set the attributes again on focus, because that gives the
|
|
416
|
-
// result I was expecting, since we don't manually set the `labelForId`
|
|
417
|
-
// input.
|
|
418
|
-
const _ngSelect = this._ngSelect;
|
|
419
|
-
_ngSelect._setInputAttributes();
|
|
420
451
|
}
|
|
421
452
|
get _isInvalid() {
|
|
422
|
-
return this._ngControl
|
|
453
|
+
return this._ngControl
|
|
454
|
+
? this._ngControl.invalid &&
|
|
455
|
+
(this._ngControl.dirty || this._ngControl.touched)
|
|
456
|
+
: false;
|
|
423
457
|
}
|
|
424
458
|
get _isEmptyStringValue() {
|
|
425
459
|
return this._ngControl ? this._ngControl.value === '' : false;
|
|
426
460
|
}
|
|
427
461
|
ngOnInit() {
|
|
428
|
-
this._ngSelect.focusEvent
|
|
429
|
-
|
|
430
|
-
this._ngSelect.blurEvent
|
|
431
|
-
|
|
462
|
+
// this._ngSelect.focusEvent
|
|
463
|
+
// .subscribe(v => this._enableKeyPressWorkaround())
|
|
464
|
+
// this._ngSelect.blurEvent
|
|
465
|
+
// .subscribe(v => this._disableKeyPressWorkaround())
|
|
432
466
|
window.addEventListener('scroll', this._onScroll, true);
|
|
433
467
|
// When the input is allowed to change its height the position doesn't update itself.
|
|
434
468
|
// this._resizedEvent.pipe(
|
|
@@ -447,30 +481,32 @@ class TheSeamNgSelectExtraDirective {
|
|
|
447
481
|
// this._patch_ngSelect_open()
|
|
448
482
|
}
|
|
449
483
|
ngOnDestroy() {
|
|
450
|
-
this._resizeSensor?.detach()
|
|
484
|
+
// this._resizeSensor?.detach()
|
|
451
485
|
window.removeEventListener('scroll', this._onScroll, true);
|
|
452
|
-
this._ngUnsubscribe.next(undefined)
|
|
453
|
-
this._ngUnsubscribe.complete()
|
|
486
|
+
// this._ngUnsubscribe.next(undefined)
|
|
487
|
+
// this._ngUnsubscribe.complete()
|
|
454
488
|
}
|
|
455
489
|
ngAfterViewChecked() {
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
}
|
|
465
|
-
|
|
466
|
-
this.
|
|
467
|
-
|
|
468
|
-
})
|
|
490
|
+
// const dropPanel = this._ngSelect.dropdownPanel() as any
|
|
491
|
+
// if (dropPanel) {
|
|
492
|
+
// if (this._checkMarked) {
|
|
493
|
+
// if (dropPanel && this._markedItem !== null) {
|
|
494
|
+
// if (this._markedItem.index !== dropPanel.markedItem.index) {
|
|
495
|
+
// dropPanel.scrollTo(dropPanel.markedItem)
|
|
496
|
+
// }
|
|
497
|
+
// }
|
|
498
|
+
// }
|
|
499
|
+
// }
|
|
500
|
+
// this._checkMarked = false
|
|
501
|
+
// this._resizeSensor = new ResizeSensor(this._elementRef.nativeElement, event => {
|
|
502
|
+
// this._resizedEvent.emit({ element: this._elementRef.nativeElement, size: event })
|
|
503
|
+
// })
|
|
469
504
|
}
|
|
470
505
|
_onScroll = (event) => {
|
|
471
|
-
if (this._ngSelect && this._ngSelect.isOpen) {
|
|
506
|
+
if (this._ngSelect && this._ngSelect.isOpen()) {
|
|
472
507
|
const isScrollingInScrollHost = event.target.className.indexOf('ng-dropdown-panel-items') !== -1;
|
|
473
|
-
const isInSensor = event.target.className.indexOf('resize-sensor-shrink') !==
|
|
508
|
+
const isInSensor = event.target.className.indexOf('resize-sensor-shrink') !==
|
|
509
|
+
-1 ||
|
|
474
510
|
event.target.className.indexOf('os-resize-observer-host') !== -1;
|
|
475
511
|
if (isScrollingInScrollHost || isInSensor) {
|
|
476
512
|
return;
|
|
@@ -478,65 +514,10 @@ class TheSeamNgSelectExtraDirective {
|
|
|
478
514
|
this._ngSelect.close();
|
|
479
515
|
}
|
|
480
516
|
};
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
*/
|
|
484
|
-
// private _patch_ngSelect_open() {
|
|
485
|
-
// const original = this._ngSelect.open
|
|
486
|
-
// const _self = this
|
|
487
|
-
// this._ngSelect.open = function() {
|
|
488
|
-
// original.apply(this, arguments)
|
|
489
|
-
// _self._patch_ngSelectDropdownPanel_updateDropdownPosition()
|
|
490
|
-
// }
|
|
491
|
-
// }
|
|
492
|
-
/** Should ONLY be called by `_patch_ngSelect_open`. */
|
|
493
|
-
// private _patch_ngSelectDropdownPanel_updateDropdownPosition() {
|
|
494
|
-
// if (!this._ngSelect.dropdownPanel) { return }
|
|
495
|
-
// const drop: any = this._ngSelect.dropdownPanel
|
|
496
|
-
// // Only needed once, to update the position before the timeout in
|
|
497
|
-
// // `updateDropdownPosition()`. So, using this variable to check if I already called
|
|
498
|
-
// // `_updateAppendedDropdownPosition()`.
|
|
499
|
-
// if (!drop.__libPatched) {
|
|
500
|
-
// drop.__libPatched = 'patched'
|
|
501
|
-
// const original = drop.updateDropdownPosition
|
|
502
|
-
// const _self = this
|
|
503
|
-
// drop.updateDropdownPosition = function() {
|
|
504
|
-
// original.apply(this, arguments)
|
|
505
|
-
// if (!!_self._ngSelect.appendTo) {
|
|
506
|
-
// drop._updateAppendedDropdownPosition()
|
|
507
|
-
// }
|
|
508
|
-
// }
|
|
509
|
-
// }
|
|
510
|
-
// }
|
|
511
|
-
_enableKeyPressWorkaround() {
|
|
512
|
-
if (this._keyPressWorkaroundSub) {
|
|
513
|
-
return;
|
|
514
|
-
}
|
|
515
|
-
const _ngSelect = this._ngSelect;
|
|
516
|
-
this._keyPressWorkaroundSub = _ngSelect._keyPress$
|
|
517
|
-
.pipe(takeUntil(this._ngUnsubscribe))
|
|
518
|
-
.pipe(filter(() => !this._ngSelect.searchable))
|
|
519
|
-
.subscribe(() => {
|
|
520
|
-
this._ngZone.runOutsideAngular(() => {
|
|
521
|
-
window.requestAnimationFrame(() => {
|
|
522
|
-
if (this._ngSelect.dropdownPanel) {
|
|
523
|
-
this._markedItem = this._ngSelect.dropdownPanel.markedItem;
|
|
524
|
-
}
|
|
525
|
-
this._checkMarked = true;
|
|
526
|
-
});
|
|
527
|
-
});
|
|
528
|
-
});
|
|
529
|
-
}
|
|
530
|
-
_disableKeyPressWorkaround() {
|
|
531
|
-
if (this._keyPressWorkaroundSub) {
|
|
532
|
-
this._keyPressWorkaroundSub.unsubscribe();
|
|
533
|
-
this._keyPressWorkaroundSub = null;
|
|
534
|
-
}
|
|
535
|
-
}
|
|
536
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: TheSeamNgSelectExtraDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
537
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.0", type: TheSeamNgSelectExtraDirective, isStandalone: true, selector: "ng-select", host: { listeners: { "focus": "onFocus($event)" }, properties: { "attr.tabIndex": "this._tabIndex", "class.is-invalid": "this._isInvalid", "class.ng-empty-string-value": "this._isEmptyStringValue" } }, exportAs: ["seamNgSelectExtra"], ngImport: i0 });
|
|
517
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.7", ngImport: i0, type: TheSeamNgSelectExtraDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
518
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.7", type: TheSeamNgSelectExtraDirective, isStandalone: true, selector: "ng-select", host: { listeners: { "focus": "onFocus($event)" }, properties: { "attr.tabIndex": "this._tabIndex", "class.is-invalid": "this._isInvalid", "class.ng-empty-string-value": "this._isEmptyStringValue" } }, exportAs: ["seamNgSelectExtra"], ngImport: i0 });
|
|
538
519
|
}
|
|
539
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
520
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.7", ngImport: i0, type: TheSeamNgSelectExtraDirective, decorators: [{
|
|
540
521
|
type: Directive,
|
|
541
522
|
args: [{
|
|
542
523
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -567,9 +548,15 @@ class TheSeamNgxQuillExtraDirective {
|
|
|
567
548
|
* component to receive `focus` event from javascript, but not get focused by
|
|
568
549
|
* keyboard navigation.
|
|
569
550
|
*/
|
|
570
|
-
set tabIndex(value) {
|
|
571
|
-
|
|
572
|
-
|
|
551
|
+
set tabIndex(value) {
|
|
552
|
+
this._tabIndex = coerceNumberProperty(value);
|
|
553
|
+
}
|
|
554
|
+
get tabIndex() {
|
|
555
|
+
return this._tabIndex;
|
|
556
|
+
}
|
|
557
|
+
get _attrTabIndex() {
|
|
558
|
+
return this._quillEditor.disabled ? -1 : this.tabIndex || 0;
|
|
559
|
+
}
|
|
573
560
|
ngOnDestroy() {
|
|
574
561
|
this._ngUnsubscribe.next(undefined);
|
|
575
562
|
this._ngUnsubscribe.complete();
|
|
@@ -579,7 +566,10 @@ class TheSeamNgxQuillExtraDirective {
|
|
|
579
566
|
if (parent) {
|
|
580
567
|
// NOTE: This is a hack to avoid an issue letting a label with "for"
|
|
581
568
|
// attribute focus the control.
|
|
582
|
-
fromEvent(parent, 'click')
|
|
569
|
+
fromEvent(parent, 'click')
|
|
570
|
+
.pipe(takeUntil(this._ngUnsubscribe), filter((e) => e.target?.getAttribute('for') ===
|
|
571
|
+
this._elementRef.nativeElement.id), tap(() => this._quillEditor.quillEditor.focus()))
|
|
572
|
+
.subscribe();
|
|
583
573
|
}
|
|
584
574
|
}
|
|
585
575
|
_getParentElementForLabelFocusIssue() {
|
|
@@ -594,10 +584,10 @@ class TheSeamNgxQuillExtraDirective {
|
|
|
594
584
|
};
|
|
595
585
|
return findElem(this._elementRef.nativeElement);
|
|
596
586
|
}
|
|
597
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
598
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
587
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.7", ngImport: i0, type: TheSeamNgxQuillExtraDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
588
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.7", type: TheSeamNgxQuillExtraDirective, isStandalone: true, selector: "quill-editor", inputs: { tabIndex: "tabIndex" }, host: { properties: { "attr.tabindex": "this._attrTabIndex" } }, exportAs: ["seamNgxQuillExtra"], ngImport: i0 });
|
|
599
589
|
}
|
|
600
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
590
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.7", ngImport: i0, type: TheSeamNgxQuillExtraDirective, decorators: [{
|
|
601
591
|
type: Directive,
|
|
602
592
|
args: [{
|
|
603
593
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -623,10 +613,10 @@ class TheSeamMaskCharsPipe {
|
|
|
623
613
|
}
|
|
624
614
|
return value;
|
|
625
615
|
}
|
|
626
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
627
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.
|
|
616
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.7", ngImport: i0, type: TheSeamMaskCharsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
617
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.7", ngImport: i0, type: TheSeamMaskCharsPipe, isStandalone: true, name: "maskChars" });
|
|
628
618
|
}
|
|
629
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
619
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.7", ngImport: i0, type: TheSeamMaskCharsPipe, decorators: [{
|
|
630
620
|
type: Pipe,
|
|
631
621
|
args: [{
|
|
632
622
|
name: 'maskChars',
|
|
@@ -644,10 +634,10 @@ class TheSeamTruncatePipe {
|
|
|
644
634
|
}
|
|
645
635
|
return val;
|
|
646
636
|
}
|
|
647
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
648
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.
|
|
637
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.7", ngImport: i0, type: TheSeamTruncatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
638
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.7", ngImport: i0, type: TheSeamTruncatePipe, isStandalone: true, name: "truncate" });
|
|
649
639
|
}
|
|
650
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
640
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.7", ngImport: i0, type: TheSeamTruncatePipe, decorators: [{
|
|
651
641
|
type: Pipe,
|
|
652
642
|
args: [{
|
|
653
643
|
name: 'truncate',
|
|
@@ -655,8 +645,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImpor
|
|
|
655
645
|
}] });
|
|
656
646
|
|
|
657
647
|
class TheSeamSharedModule {
|
|
658
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
659
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
648
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.7", ngImport: i0, type: TheSeamSharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
649
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.7", ngImport: i0, type: TheSeamSharedModule, imports: [TheSeamAutoFocusDirective,
|
|
660
650
|
TheSeamElemResizedDirective,
|
|
661
651
|
TheSeamHoverClassToggleDirective,
|
|
662
652
|
TheSeamNgSelectExtraDirective,
|
|
@@ -677,9 +667,9 @@ class TheSeamSharedModule {
|
|
|
677
667
|
TheSeamMaskCharsPipe,
|
|
678
668
|
TheSeamTruncatePipe,
|
|
679
669
|
TheSeamNgxQuillExtraDirective] });
|
|
680
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
670
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.7", ngImport: i0, type: TheSeamSharedModule, imports: [TheSeamPasswordInputRevealComponent] });
|
|
681
671
|
}
|
|
682
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
672
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.7", ngImport: i0, type: TheSeamSharedModule, decorators: [{
|
|
683
673
|
type: NgModule,
|
|
684
674
|
args: [{
|
|
685
675
|
imports: [
|
|
@@ -707,7 +697,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImpor
|
|
|
707
697
|
TheSeamMaskCharsPipe,
|
|
708
698
|
TheSeamTruncatePipe,
|
|
709
699
|
TheSeamNgxQuillExtraDirective,
|
|
710
|
-
]
|
|
700
|
+
],
|
|
711
701
|
}]
|
|
712
702
|
}] });
|
|
713
703
|
|