@testgorilla/tgo-ui 11.22.2 → 12.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/testgorilla-tgo-ui-components-accordion.mjs +335 -229
- package/fesm2022/testgorilla-tgo-ui-components-accordion.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-ai-audio-circle.mjs +547 -465
- package/fesm2022/testgorilla-tgo-ui-components-ai-audio-circle.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-ai-caveat.mjs +160 -75
- package/fesm2022/testgorilla-tgo-ui-components-ai-caveat.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-ai-feedback.mjs +678 -278
- package/fesm2022/testgorilla-tgo-ui-components-ai-feedback.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-alert-banner.mjs +337 -274
- package/fesm2022/testgorilla-tgo-ui-components-alert-banner.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-audio-waveform.mjs +351 -192
- package/fesm2022/testgorilla-tgo-ui-components-audio-waveform.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-autocomplete-v2.mjs +1950 -960
- package/fesm2022/testgorilla-tgo-ui-components-autocomplete-v2.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-autocomplete.mjs +1206 -1044
- package/fesm2022/testgorilla-tgo-ui-components-autocomplete.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-avatar.mjs +328 -182
- package/fesm2022/testgorilla-tgo-ui-components-avatar.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-badge.mjs +383 -203
- package/fesm2022/testgorilla-tgo-ui-components-badge.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-breadcrumb.mjs +553 -261
- package/fesm2022/testgorilla-tgo-ui-components-breadcrumb.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-button.mjs +709 -739
- package/fesm2022/testgorilla-tgo-ui-components-button.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-card.mjs +219 -184
- package/fesm2022/testgorilla-tgo-ui-components-card.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-checkbox.mjs +515 -458
- package/fesm2022/testgorilla-tgo-ui-components-checkbox.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-checklist.mjs +423 -162
- package/fesm2022/testgorilla-tgo-ui-components-checklist.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-core.mjs +10784 -10996
- package/fesm2022/testgorilla-tgo-ui-components-core.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-datepicker.mjs +810 -533
- package/fesm2022/testgorilla-tgo-ui-components-datepicker.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-device-control.mjs +473 -116
- package/fesm2022/testgorilla-tgo-ui-components-device-control.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-dialog.mjs +1149 -540
- package/fesm2022/testgorilla-tgo-ui-components-dialog.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-divider.mjs +148 -84
- package/fesm2022/testgorilla-tgo-ui-components-divider.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-donut-chart.mjs +239 -142
- package/fesm2022/testgorilla-tgo-ui-components-donut-chart.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-dropdown.mjs +599 -467
- package/fesm2022/testgorilla-tgo-ui-components-dropdown.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-elevation-shadow.mjs +126 -70
- package/fesm2022/testgorilla-tgo-ui-components-elevation-shadow.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-empty-state.mjs +324 -329
- package/fesm2022/testgorilla-tgo-ui-components-empty-state.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-field.mjs +969 -648
- package/fesm2022/testgorilla-tgo-ui-components-field.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-file-upload.mjs +553 -419
- package/fesm2022/testgorilla-tgo-ui-components-file-upload.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-filter-button.mjs +847 -452
- package/fesm2022/testgorilla-tgo-ui-components-filter-button.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-gaussian-chart.mjs +398 -302
- package/fesm2022/testgorilla-tgo-ui-components-gaussian-chart.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-icon-label.mjs +162 -95
- package/fesm2022/testgorilla-tgo-ui-components-icon-label.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-icon.mjs +1825 -1789
- package/fesm2022/testgorilla-tgo-ui-components-icon.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-infinite-scroll-table.mjs +1018 -672
- package/fesm2022/testgorilla-tgo-ui-components-infinite-scroll-table.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-inline-field.mjs +758 -368
- package/fesm2022/testgorilla-tgo-ui-components-inline-field.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-logo.mjs +204 -212
- package/fesm2022/testgorilla-tgo-ui-components-logo.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-media-card.mjs +183 -48
- package/fesm2022/testgorilla-tgo-ui-components-media-card.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-media-dialog.mjs +243 -79
- package/fesm2022/testgorilla-tgo-ui-components-media-dialog.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-multi-input.mjs +751 -361
- package/fesm2022/testgorilla-tgo-ui-components-multi-input.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-navbar.mjs +1122 -385
- package/fesm2022/testgorilla-tgo-ui-components-navbar.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-overflow-menu.mjs +689 -413
- package/fesm2022/testgorilla-tgo-ui-components-overflow-menu.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-page-header.mjs +227 -92
- package/fesm2022/testgorilla-tgo-ui-components-page-header.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-paginator.mjs +174 -113
- package/fesm2022/testgorilla-tgo-ui-components-paginator.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-password-criteria.mjs +367 -165
- package/fesm2022/testgorilla-tgo-ui-components-password-criteria.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-password-strength.mjs +253 -118
- package/fesm2022/testgorilla-tgo-ui-components-password-strength.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-phone-input.mjs +730 -444
- package/fesm2022/testgorilla-tgo-ui-components-phone-input.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-popover.mjs +533 -221
- package/fesm2022/testgorilla-tgo-ui-components-popover.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-popup-tip.mjs +274 -76
- package/fesm2022/testgorilla-tgo-ui-components-popup-tip.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-progress-bar.mjs +184 -124
- package/fesm2022/testgorilla-tgo-ui-components-progress-bar.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-prompt.mjs +1223 -574
- package/fesm2022/testgorilla-tgo-ui-components-prompt.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-radial-progress.mjs +249 -160
- package/fesm2022/testgorilla-tgo-ui-components-radial-progress.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-radio-button.mjs +447 -439
- package/fesm2022/testgorilla-tgo-ui-components-radio-button.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-rating.mjs +226 -150
- package/fesm2022/testgorilla-tgo-ui-components-rating.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-scale-table.mjs +255 -67
- package/fesm2022/testgorilla-tgo-ui-components-scale-table.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-scale.mjs +205 -162
- package/fesm2022/testgorilla-tgo-ui-components-scale.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-segmented-bar.mjs +245 -153
- package/fesm2022/testgorilla-tgo-ui-components-segmented-bar.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-segmented-button.mjs +274 -140
- package/fesm2022/testgorilla-tgo-ui-components-segmented-button.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-segmented-toggle.mjs +319 -147
- package/fesm2022/testgorilla-tgo-ui-components-segmented-toggle.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-selectable-card.mjs +286 -84
- package/fesm2022/testgorilla-tgo-ui-components-selectable-card.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-side-navigation.mjs +660 -208
- package/fesm2022/testgorilla-tgo-ui-components-side-navigation.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-side-panel.mjs +579 -320
- package/fesm2022/testgorilla-tgo-ui-components-side-panel.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-side-sheet.mjs +419 -200
- package/fesm2022/testgorilla-tgo-ui-components-side-sheet.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-skeleton.mjs +132 -80
- package/fesm2022/testgorilla-tgo-ui-components-skeleton.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-slider.mjs +741 -390
- package/fesm2022/testgorilla-tgo-ui-components-slider.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-snackbar.mjs +455 -329
- package/fesm2022/testgorilla-tgo-ui-components-snackbar.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-spider-chart.mjs +543 -514
- package/fesm2022/testgorilla-tgo-ui-components-spider-chart.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-spinner.mjs +193 -104
- package/fesm2022/testgorilla-tgo-ui-components-spinner.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-stepper.mjs +760 -524
- package/fesm2022/testgorilla-tgo-ui-components-stepper.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-table.mjs +714 -415
- package/fesm2022/testgorilla-tgo-ui-components-table.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-tabs.mjs +847 -438
- package/fesm2022/testgorilla-tgo-ui-components-tabs.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-tag.mjs +535 -275
- package/fesm2022/testgorilla-tgo-ui-components-tag.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-toggle.mjs +316 -246
- package/fesm2022/testgorilla-tgo-ui-components-toggle.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-tooltip.mjs +404 -284
- package/fesm2022/testgorilla-tgo-ui-components-tooltip.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-universal-skills.mjs +664 -383
- package/fesm2022/testgorilla-tgo-ui-components-universal-skills.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-validation-error.mjs +201 -112
- package/fesm2022/testgorilla-tgo-ui-components-validation-error.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-write-with-ai.mjs +1014 -458
- package/fesm2022/testgorilla-tgo-ui-components-write-with-ai.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui.mjs +147 -155
- package/fesm2022/testgorilla-tgo-ui.mjs.map +1 -1
- package/mcp/catalog.json +1 -1
- package/package.json +16 -17
- package/projects/tgo-canopy-ui/assets/icons/rebrand/Sequences-filled.svg +3 -0
- package/projects/tgo-canopy-ui/assets/icons/rebrand/Sequences-in-line.svg +3 -0
- package/projects/tgo-canopy-ui/theme/_palette.scss +23 -18
- package/types/testgorilla-tgo-ui-components-accordion.d.ts +214 -158
- package/types/testgorilla-tgo-ui-components-ai-audio-circle.d.ts +93 -69
- package/types/testgorilla-tgo-ui-components-ai-caveat.d.ts +37 -34
- package/types/testgorilla-tgo-ui-components-ai-feedback.d.ts +126 -86
- package/types/testgorilla-tgo-ui-components-alert-banner.d.ts +260 -185
- package/types/testgorilla-tgo-ui-components-audio-waveform.d.ts +96 -67
- package/types/testgorilla-tgo-ui-components-autocomplete-v2.d.ts +455 -256
- package/types/testgorilla-tgo-ui-components-autocomplete.d.ts +545 -390
- package/types/testgorilla-tgo-ui-components-avatar.d.ts +128 -102
- package/types/testgorilla-tgo-ui-components-badge.d.ts +191 -139
- package/types/testgorilla-tgo-ui-components-breadcrumb.d.ts +100 -62
- package/types/testgorilla-tgo-ui-components-button.d.ts +479 -340
- package/types/testgorilla-tgo-ui-components-card.d.ts +153 -114
- package/types/testgorilla-tgo-ui-components-checkbox.d.ts +299 -223
- package/types/testgorilla-tgo-ui-components-checklist.d.ts +149 -97
- package/types/testgorilla-tgo-ui-components-core.d.ts +307 -295
- package/types/testgorilla-tgo-ui-components-datepicker.d.ts +404 -299
- package/types/testgorilla-tgo-ui-components-device-control.d.ts +151 -81
- package/types/testgorilla-tgo-ui-components-dialog.d.ts +442 -329
- package/types/testgorilla-tgo-ui-components-divider.d.ts +64 -51
- package/types/testgorilla-tgo-ui-components-donut-chart.d.ts +41 -37
- package/types/testgorilla-tgo-ui-components-dropdown.d.ts +335 -241
- package/types/testgorilla-tgo-ui-components-elevation-shadow.d.ts +48 -43
- package/types/testgorilla-tgo-ui-components-empty-state.d.ts +317 -215
- package/types/testgorilla-tgo-ui-components-field.d.ts +559 -388
- package/types/testgorilla-tgo-ui-components-file-upload.d.ts +230 -168
- package/types/testgorilla-tgo-ui-components-filter-button.d.ts +263 -206
- package/types/testgorilla-tgo-ui-components-gaussian-chart.d.ts +107 -94
- package/types/testgorilla-tgo-ui-components-icon-label.d.ts +84 -61
- package/types/testgorilla-tgo-ui-components-icon.d.ts +137 -110
- package/types/testgorilla-tgo-ui-components-infinite-scroll-table.d.ts +429 -303
- package/types/testgorilla-tgo-ui-components-inline-field.d.ts +338 -254
- package/types/testgorilla-tgo-ui-components-logo.d.ts +119 -101
- package/types/testgorilla-tgo-ui-components-media-card.d.ts +51 -35
- package/types/testgorilla-tgo-ui-components-media-dialog.d.ts +40 -45
- package/types/testgorilla-tgo-ui-components-multi-input.d.ts +283 -194
- package/types/testgorilla-tgo-ui-components-navbar.d.ts +326 -208
- package/types/testgorilla-tgo-ui-components-overflow-menu.d.ts +276 -204
- package/types/testgorilla-tgo-ui-components-page-header.d.ts +67 -50
- package/types/testgorilla-tgo-ui-components-paginator.d.ts +103 -70
- package/types/testgorilla-tgo-ui-components-password-criteria.d.ts +67 -58
- package/types/testgorilla-tgo-ui-components-password-strength.d.ts +66 -57
- package/types/testgorilla-tgo-ui-components-phone-input.d.ts +217 -175
- package/types/testgorilla-tgo-ui-components-popover.d.ts +94 -53
- package/types/testgorilla-tgo-ui-components-popup-tip.d.ts +81 -44
- package/types/testgorilla-tgo-ui-components-progress-bar.d.ts +115 -84
- package/types/testgorilla-tgo-ui-components-prompt.d.ts +315 -219
- package/types/testgorilla-tgo-ui-components-radial-progress.d.ts +146 -107
- package/types/testgorilla-tgo-ui-components-radio-button.d.ts +296 -219
- package/types/testgorilla-tgo-ui-components-rating.d.ts +134 -95
- package/types/testgorilla-tgo-ui-components-scale-table.d.ts +67 -47
- package/types/testgorilla-tgo-ui-components-scale.d.ts +91 -66
- package/types/testgorilla-tgo-ui-components-segmented-bar.d.ts +118 -89
- package/types/testgorilla-tgo-ui-components-segmented-button.d.ts +107 -80
- package/types/testgorilla-tgo-ui-components-segmented-toggle.d.ts +138 -105
- package/types/testgorilla-tgo-ui-components-selectable-card.d.ts +90 -56
- package/types/testgorilla-tgo-ui-components-side-navigation.d.ts +183 -107
- package/types/testgorilla-tgo-ui-components-side-panel.d.ts +156 -145
- package/types/testgorilla-tgo-ui-components-side-sheet.d.ts +98 -89
- package/types/testgorilla-tgo-ui-components-skeleton.d.ts +50 -33
- package/types/testgorilla-tgo-ui-components-slider.d.ts +278 -198
- package/types/testgorilla-tgo-ui-components-snackbar.d.ts +211 -159
- package/types/testgorilla-tgo-ui-components-spider-chart.d.ts +140 -121
- package/types/testgorilla-tgo-ui-components-spinner.d.ts +93 -72
- package/types/testgorilla-tgo-ui-components-stepper.d.ts +480 -338
- package/types/testgorilla-tgo-ui-components-table.d.ts +280 -233
- package/types/testgorilla-tgo-ui-components-tabs.d.ts +282 -183
- package/types/testgorilla-tgo-ui-components-tag.d.ts +266 -193
- package/types/testgorilla-tgo-ui-components-toggle.d.ts +180 -132
- package/types/testgorilla-tgo-ui-components-tooltip.d.ts +142 -105
- package/types/testgorilla-tgo-ui-components-universal-skills.d.ts +165 -144
- package/types/testgorilla-tgo-ui-components-validation-error.d.ts +70 -51
- package/types/testgorilla-tgo-ui-components-write-with-ai.d.ts +210 -133
- package/types/testgorilla-tgo-ui.d.ts +52 -45
|
@@ -1,370 +1,760 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import * as i0 from
|
|
3
|
-
import {
|
|
4
|
-
import { ButtonComponent, ButtonComponentModule } from
|
|
5
|
-
import { FieldComponent, FieldComponentModule } from
|
|
6
|
-
import * as i1 from
|
|
7
|
-
import { FormsModule, ReactiveFormsModule } from
|
|
8
|
-
import { MatInputModule } from
|
|
9
|
-
import { IconComponentModule } from
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* A global counter used to generate unique inline field IDs.
|
|
13
|
-
*/
|
|
1
|
+
import { CommonModule, NgClass } from "@angular/common";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import { ChangeDetectionStrategy, Component, HostBinding, HostListener, NgModule, Optional, Self, ViewChild, ViewEncapsulation, computed, input, output, signal } from "@angular/core";
|
|
4
|
+
import { ButtonComponent, ButtonComponentModule } from "@testgorilla/tgo-ui/components/button";
|
|
5
|
+
import { FieldComponent, FieldComponentModule } from "@testgorilla/tgo-ui/components/field";
|
|
6
|
+
import * as i1 from "@angular/forms";
|
|
7
|
+
import { FormsModule, ReactiveFormsModule } from "@angular/forms";
|
|
8
|
+
import { MatInputModule } from "@angular/material/input";
|
|
9
|
+
import { IconComponentModule } from "@testgorilla/tgo-ui/components/icon";
|
|
14
10
|
let inlineFieldID = 0;
|
|
15
|
-
class InlineFieldComponent {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
11
|
+
var InlineFieldComponent = class InlineFieldComponent {
|
|
12
|
+
constructor(cdr, destroyRef, elementRef, ngControl) {
|
|
13
|
+
this.cdr = cdr;
|
|
14
|
+
this.destroyRef = destroyRef;
|
|
15
|
+
this.elementRef = elementRef;
|
|
16
|
+
this.ngControl = ngControl;
|
|
17
|
+
this.class = "ui-inline-field";
|
|
18
|
+
this.id = input(`inline-field-${inlineFieldID++}`, ...ngDevMode ? [{ debugName: "id" }] : /* istanbul ignore next */ []);
|
|
19
|
+
this.label = input("", ...ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []);
|
|
20
|
+
this.placeholder = input("", ...ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []);
|
|
21
|
+
this.value = input("", ...ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []);
|
|
22
|
+
this.required = input(false, ...ngDevMode ? [{ debugName: "required" }] : /* istanbul ignore next */ []);
|
|
23
|
+
this.disabled = input(false, ...ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []);
|
|
24
|
+
this.applicationTheme = input("light", ...ngDevMode ? [{ debugName: "applicationTheme" }] : /* istanbul ignore next */ []);
|
|
25
|
+
this.fieldType = input("text", ...ngDevMode ? [{ debugName: "fieldType" }] : /* istanbul ignore next */ []);
|
|
26
|
+
this.maxRows = input(0, ...ngDevMode ? [{ debugName: "maxRows" }] : /* istanbul ignore next */ []);
|
|
27
|
+
this.errors = input([], ...ngDevMode ? [{ debugName: "errors" }] : /* istanbul ignore next */ []);
|
|
28
|
+
this.showErrors = input(true, ...ngDevMode ? [{ debugName: "showErrors" }] : /* istanbul ignore next */ []);
|
|
29
|
+
this.buttonConfig = input({
|
|
30
|
+
saveLabel: "Save",
|
|
31
|
+
cancelLabel: "Cancel",
|
|
32
|
+
saveIcon: "Check-filled",
|
|
33
|
+
cancelIcon: "Close-filled"
|
|
34
|
+
}, ...ngDevMode ? [{ debugName: "buttonConfig" }] : /* istanbul ignore next */ []);
|
|
35
|
+
this.validation = input({}, ...ngDevMode ? [{ debugName: "validation" }] : /* istanbul ignore next */ []);
|
|
36
|
+
this.ariaLabel = input("", ...ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []);
|
|
37
|
+
this.testId = input(null, ...ngDevMode ? [{ debugName: "testId" }] : /* istanbul ignore next */ []);
|
|
38
|
+
this.saveButtonTestId = computed(() => this.testId() ? `${this.testId()}-save` : null, ...ngDevMode ? [{ debugName: "saveButtonTestId" }] : /* istanbul ignore next */ []);
|
|
39
|
+
this.cancelButtonTestId = computed(() => this.testId() ? `${this.testId()}-cancel` : null, ...ngDevMode ? [{ debugName: "cancelButtonTestId" }] : /* istanbul ignore next */ []);
|
|
40
|
+
this.fullWidth = input(false, ...ngDevMode ? [{ debugName: "fullWidth" }] : /* istanbul ignore next */ []);
|
|
41
|
+
this.save = output();
|
|
42
|
+
this.cancel = output();
|
|
43
|
+
this.valueChange = output();
|
|
44
|
+
this.editingModeChange = output();
|
|
45
|
+
this.focusEvent = output();
|
|
46
|
+
this.blurEvent = output();
|
|
47
|
+
this._isEditing = signal(false, ...ngDevMode ? [{ debugName: "_isEditing" }] : /* istanbul ignore next */ []);
|
|
48
|
+
this._originalValue = signal("", ...ngDevMode ? [{ debugName: "_originalValue" }] : /* istanbul ignore next */ []);
|
|
49
|
+
this._currentValue = signal("", ...ngDevMode ? [{ debugName: "_currentValue" }] : /* istanbul ignore next */ []);
|
|
50
|
+
this._state = signal("default", ...ngDevMode ? [{ debugName: "_state" }] : /* istanbul ignore next */ []);
|
|
51
|
+
this.isEditing = computed(() => this._isEditing(), ...ngDevMode ? [{ debugName: "isEditing" }] : /* istanbul ignore next */ []);
|
|
52
|
+
this.currentValue = computed(() => this._currentValue(), ...ngDevMode ? [{ debugName: "currentValue" }] : /* istanbul ignore next */ []);
|
|
53
|
+
this.state = computed(() => this._state(), ...ngDevMode ? [{ debugName: "state" }] : /* istanbul ignore next */ []);
|
|
54
|
+
this.saveButtonConfig = computed(() => ({
|
|
55
|
+
label: this.buttonConfig().saveLabel || "Save",
|
|
56
|
+
iconName: this.buttonConfig().saveIcon ?? "Check-filled",
|
|
57
|
+
variant: "secondary-inverted",
|
|
58
|
+
size: "small",
|
|
59
|
+
disabled: this.disabled()
|
|
60
|
+
}), ...ngDevMode ? [{ debugName: "saveButtonConfig" }] : /* istanbul ignore next */ []);
|
|
61
|
+
this.cancelButtonConfig = computed(() => ({
|
|
62
|
+
label: this.buttonConfig().cancelLabel || "Cancel",
|
|
63
|
+
iconName: this.buttonConfig().cancelIcon ?? "Close-filled",
|
|
64
|
+
variant: "secondary-inverted",
|
|
65
|
+
size: "small",
|
|
66
|
+
disabled: this.disabled()
|
|
67
|
+
}), ...ngDevMode ? [{ debugName: "cancelButtonConfig" }] : /* istanbul ignore next */ []);
|
|
68
|
+
this.onChange = (_val) => {};
|
|
69
|
+
this.onTouched = () => {};
|
|
70
|
+
if (this.ngControl !== null) this.ngControl.valueAccessor = this;
|
|
71
|
+
}
|
|
72
|
+
ngOnInit() {
|
|
73
|
+
this._currentValue.set(this.value());
|
|
74
|
+
this._originalValue.set(this.value());
|
|
75
|
+
this.updateState();
|
|
76
|
+
}
|
|
77
|
+
writeValue(value) {
|
|
78
|
+
const newValue = value || "";
|
|
79
|
+
this._currentValue.set(newValue);
|
|
80
|
+
if (!this.isEditing()) this._originalValue.set(newValue);
|
|
81
|
+
this.cdr.markForCheck();
|
|
82
|
+
}
|
|
83
|
+
registerOnChange(fn) {
|
|
84
|
+
this.onChange = fn;
|
|
85
|
+
}
|
|
86
|
+
registerOnTouched(fn) {
|
|
87
|
+
this.onTouched = fn;
|
|
88
|
+
}
|
|
89
|
+
setDisabledState(_isDisabled) {
|
|
90
|
+
this.updateState();
|
|
91
|
+
this.cdr.markForCheck();
|
|
92
|
+
}
|
|
93
|
+
onComponentFocusOut(event) {
|
|
94
|
+
const relatedTarget = event.relatedTarget;
|
|
95
|
+
if ((!relatedTarget || !this.elementRef.nativeElement.contains(relatedTarget)) && this.isEditing()) {
|
|
96
|
+
this._currentValue.set(this._originalValue());
|
|
97
|
+
this.exitEditMode();
|
|
98
|
+
this.onChange(this._originalValue());
|
|
99
|
+
this.cancel.emit();
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
onEscapePressed(event) {
|
|
103
|
+
if (this.isEditing()) {
|
|
104
|
+
event.preventDefault();
|
|
105
|
+
this.cancelEdit();
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
onEnterPressed(event) {
|
|
109
|
+
if (this.isEditing() && event instanceof KeyboardEvent && !event.shiftKey) {
|
|
110
|
+
event.preventDefault();
|
|
111
|
+
this.saveEdit();
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
onTabPressed() {}
|
|
115
|
+
onInputFocus() {
|
|
116
|
+
if (!this.disabled() && !this.isEditing()) this.enterEditMode();
|
|
117
|
+
this._state.set("focused");
|
|
118
|
+
this.focusEvent.emit();
|
|
119
|
+
this.onTouched();
|
|
120
|
+
}
|
|
121
|
+
onInputBlur() {
|
|
122
|
+
this.blurEvent.emit();
|
|
123
|
+
}
|
|
124
|
+
onInputChange(event) {
|
|
125
|
+
const newValue = event.target.value;
|
|
126
|
+
this._currentValue.set(newValue);
|
|
127
|
+
this.valueChange.emit(newValue);
|
|
128
|
+
}
|
|
129
|
+
focus() {
|
|
130
|
+
if (this.fieldComponent) {
|
|
131
|
+
this.fieldComponent.focus();
|
|
132
|
+
this.fieldComponent.field?.nativeElement?.select();
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
enterEditMode() {
|
|
136
|
+
if (this.disabled() || this.isEditing()) return;
|
|
137
|
+
this._originalValue.set(this._currentValue());
|
|
138
|
+
this._isEditing.set(true);
|
|
139
|
+
this._state.set("editing");
|
|
140
|
+
this.editingModeChange.emit(true);
|
|
141
|
+
this.cdr.markForCheck();
|
|
142
|
+
}
|
|
143
|
+
saveEdit() {
|
|
144
|
+
if (!this.isEditing()) return;
|
|
145
|
+
const newValue = this.currentValue();
|
|
146
|
+
if (this.hasValidationError(newValue)) {
|
|
147
|
+
this._state.set("error");
|
|
148
|
+
this.cdr.markForCheck();
|
|
149
|
+
return;
|
|
150
|
+
}
|
|
151
|
+
const changeEvent = {
|
|
152
|
+
value: newValue,
|
|
153
|
+
saved: true,
|
|
154
|
+
previousValue: this._originalValue()
|
|
155
|
+
};
|
|
156
|
+
this._originalValue.set(newValue);
|
|
157
|
+
this.exitEditMode();
|
|
158
|
+
this.onChange(newValue);
|
|
159
|
+
this.save.emit(changeEvent);
|
|
160
|
+
}
|
|
161
|
+
cancelEdit() {
|
|
162
|
+
if (!this.isEditing()) return;
|
|
163
|
+
this._currentValue.set(this._originalValue());
|
|
164
|
+
this.exitEditMode();
|
|
165
|
+
this.cancel.emit();
|
|
166
|
+
}
|
|
167
|
+
exitEditMode() {
|
|
168
|
+
this._isEditing.set(false);
|
|
169
|
+
this.updateState();
|
|
170
|
+
this.editingModeChange.emit(false);
|
|
171
|
+
this.cdr.markForCheck();
|
|
172
|
+
}
|
|
173
|
+
updateState() {
|
|
174
|
+
if (this.disabled()) this._state.set("disabled");
|
|
175
|
+
else if (this.errors().length > 0) this._state.set("error");
|
|
176
|
+
else if (this.isEditing()) this._state.set("editing");
|
|
177
|
+
else this._state.set("default");
|
|
178
|
+
}
|
|
179
|
+
hasValidationError(value) {
|
|
180
|
+
const config = this.validation();
|
|
181
|
+
return this.hasRequiredError(value, config) || this.hasMinLengthError(value, config) || this.hasMaxLengthError(value, config) || this.hasPatternError(value, config) || this.hasCustomValidationError(value, config);
|
|
182
|
+
}
|
|
183
|
+
hasRequiredError(value, config) {
|
|
184
|
+
return config.required ? !value || value.trim().length === 0 : false;
|
|
185
|
+
}
|
|
186
|
+
hasMinLengthError(value, config) {
|
|
187
|
+
return config.minLength ? value.length < config.minLength : false;
|
|
188
|
+
}
|
|
189
|
+
hasMaxLengthError(value, config) {
|
|
190
|
+
return config.maxLength ? value.length > config.maxLength : false;
|
|
191
|
+
}
|
|
192
|
+
hasPatternError(value, config) {
|
|
193
|
+
return config.pattern ? !config.pattern.test(value) : false;
|
|
194
|
+
}
|
|
195
|
+
hasCustomValidationError(value, config) {
|
|
196
|
+
return config.customValidator ? config.customValidator(value) : false;
|
|
197
|
+
}
|
|
198
|
+
static {
|
|
199
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
200
|
+
minVersion: "12.0.0",
|
|
201
|
+
version: "22.2.4",
|
|
202
|
+
ngImport: i0,
|
|
203
|
+
type: InlineFieldComponent,
|
|
204
|
+
deps: [
|
|
205
|
+
{ token: i0.ChangeDetectorRef },
|
|
206
|
+
{ token: i0.DestroyRef },
|
|
207
|
+
{ token: i0.ElementRef },
|
|
208
|
+
{
|
|
209
|
+
token: i1.NgControl,
|
|
210
|
+
optional: true,
|
|
211
|
+
self: true
|
|
212
|
+
}
|
|
213
|
+
],
|
|
214
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
215
|
+
});
|
|
216
|
+
}
|
|
217
|
+
static {
|
|
218
|
+
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
219
|
+
minVersion: "17.0.0",
|
|
220
|
+
version: "22.2.4",
|
|
221
|
+
type: InlineFieldComponent,
|
|
222
|
+
isStandalone: true,
|
|
223
|
+
selector: "ui-inline-field",
|
|
224
|
+
inputs: {
|
|
225
|
+
id: {
|
|
226
|
+
classPropertyName: "id",
|
|
227
|
+
publicName: "id",
|
|
228
|
+
isSignal: true,
|
|
229
|
+
isRequired: false,
|
|
230
|
+
transformFunction: null
|
|
231
|
+
},
|
|
232
|
+
label: {
|
|
233
|
+
classPropertyName: "label",
|
|
234
|
+
publicName: "label",
|
|
235
|
+
isSignal: true,
|
|
236
|
+
isRequired: false,
|
|
237
|
+
transformFunction: null
|
|
238
|
+
},
|
|
239
|
+
placeholder: {
|
|
240
|
+
classPropertyName: "placeholder",
|
|
241
|
+
publicName: "placeholder",
|
|
242
|
+
isSignal: true,
|
|
243
|
+
isRequired: false,
|
|
244
|
+
transformFunction: null
|
|
245
|
+
},
|
|
246
|
+
value: {
|
|
247
|
+
classPropertyName: "value",
|
|
248
|
+
publicName: "value",
|
|
249
|
+
isSignal: true,
|
|
250
|
+
isRequired: false,
|
|
251
|
+
transformFunction: null
|
|
252
|
+
},
|
|
253
|
+
required: {
|
|
254
|
+
classPropertyName: "required",
|
|
255
|
+
publicName: "required",
|
|
256
|
+
isSignal: true,
|
|
257
|
+
isRequired: false,
|
|
258
|
+
transformFunction: null
|
|
259
|
+
},
|
|
260
|
+
disabled: {
|
|
261
|
+
classPropertyName: "disabled",
|
|
262
|
+
publicName: "disabled",
|
|
263
|
+
isSignal: true,
|
|
264
|
+
isRequired: false,
|
|
265
|
+
transformFunction: null
|
|
266
|
+
},
|
|
267
|
+
applicationTheme: {
|
|
268
|
+
classPropertyName: "applicationTheme",
|
|
269
|
+
publicName: "applicationTheme",
|
|
270
|
+
isSignal: true,
|
|
271
|
+
isRequired: false,
|
|
272
|
+
transformFunction: null
|
|
273
|
+
},
|
|
274
|
+
fieldType: {
|
|
275
|
+
classPropertyName: "fieldType",
|
|
276
|
+
publicName: "fieldType",
|
|
277
|
+
isSignal: true,
|
|
278
|
+
isRequired: false,
|
|
279
|
+
transformFunction: null
|
|
280
|
+
},
|
|
281
|
+
maxRows: {
|
|
282
|
+
classPropertyName: "maxRows",
|
|
283
|
+
publicName: "maxRows",
|
|
284
|
+
isSignal: true,
|
|
285
|
+
isRequired: false,
|
|
286
|
+
transformFunction: null
|
|
287
|
+
},
|
|
288
|
+
errors: {
|
|
289
|
+
classPropertyName: "errors",
|
|
290
|
+
publicName: "errors",
|
|
291
|
+
isSignal: true,
|
|
292
|
+
isRequired: false,
|
|
293
|
+
transformFunction: null
|
|
294
|
+
},
|
|
295
|
+
showErrors: {
|
|
296
|
+
classPropertyName: "showErrors",
|
|
297
|
+
publicName: "showErrors",
|
|
298
|
+
isSignal: true,
|
|
299
|
+
isRequired: false,
|
|
300
|
+
transformFunction: null
|
|
301
|
+
},
|
|
302
|
+
buttonConfig: {
|
|
303
|
+
classPropertyName: "buttonConfig",
|
|
304
|
+
publicName: "buttonConfig",
|
|
305
|
+
isSignal: true,
|
|
306
|
+
isRequired: false,
|
|
307
|
+
transformFunction: null
|
|
308
|
+
},
|
|
309
|
+
validation: {
|
|
310
|
+
classPropertyName: "validation",
|
|
311
|
+
publicName: "validation",
|
|
312
|
+
isSignal: true,
|
|
313
|
+
isRequired: false,
|
|
314
|
+
transformFunction: null
|
|
315
|
+
},
|
|
316
|
+
ariaLabel: {
|
|
317
|
+
classPropertyName: "ariaLabel",
|
|
318
|
+
publicName: "ariaLabel",
|
|
319
|
+
isSignal: true,
|
|
320
|
+
isRequired: false,
|
|
321
|
+
transformFunction: null
|
|
322
|
+
},
|
|
323
|
+
testId: {
|
|
324
|
+
classPropertyName: "testId",
|
|
325
|
+
publicName: "testId",
|
|
326
|
+
isSignal: true,
|
|
327
|
+
isRequired: false,
|
|
328
|
+
transformFunction: null
|
|
329
|
+
},
|
|
330
|
+
fullWidth: {
|
|
331
|
+
classPropertyName: "fullWidth",
|
|
332
|
+
publicName: "fullWidth",
|
|
333
|
+
isSignal: true,
|
|
334
|
+
isRequired: false,
|
|
335
|
+
transformFunction: null
|
|
336
|
+
}
|
|
337
|
+
},
|
|
338
|
+
outputs: {
|
|
339
|
+
save: "save",
|
|
340
|
+
cancel: "cancel",
|
|
341
|
+
valueChange: "valueChange",
|
|
342
|
+
editingModeChange: "editingModeChange",
|
|
343
|
+
focusEvent: "focusEvent",
|
|
344
|
+
blurEvent: "blurEvent"
|
|
345
|
+
},
|
|
346
|
+
host: {
|
|
347
|
+
listeners: {
|
|
348
|
+
"focusout": "onComponentFocusOut($event)",
|
|
349
|
+
"keydown.escape": "onEscapePressed($event)",
|
|
350
|
+
"keydown.enter": "onEnterPressed($event)",
|
|
351
|
+
"keydown.tab": "onTabPressed()"
|
|
352
|
+
},
|
|
353
|
+
properties: {
|
|
354
|
+
"attr.theme": "applicationTheme()",
|
|
355
|
+
"attr.state": "state()",
|
|
356
|
+
"attr.editing": "isEditing()",
|
|
357
|
+
"class.full-width": "fullWidth()",
|
|
358
|
+
"class": "this.class"
|
|
359
|
+
}
|
|
360
|
+
},
|
|
361
|
+
viewQueries: [{
|
|
362
|
+
propertyName: "fieldComponent",
|
|
363
|
+
first: true,
|
|
364
|
+
predicate: ["fieldElement"],
|
|
365
|
+
descendants: true
|
|
366
|
+
}],
|
|
367
|
+
ngImport: i0,
|
|
368
|
+
template: "<div class=\"inline-field-container\">\n <div class=\"field-wrapper\" [ngClass]=\"{ 'is-editing': isEditing() }\">\n <ui-field\n [id]=\"id() + '-input'\"\n [label]=\"label()\"\n [placeholder]=\"placeholder()\"\n [value]=\"currentValue()\"\n [required]=\"required()\"\n [disabled]=\"disabled()\"\n [errors]=\"errors()\"\n [showBottomContent]=\"showErrors()\"\n [ariaLabel]=\"ariaLabel()\"\n [applicationTheme]=\"applicationTheme()\"\n [fullWidth]=\"true\"\n [isAutocompleteOff]=\"true\"\n [type]=\"fieldType()\"\n [maxRows]=\"maxRows()\"\n (input)=\"onInputChange($event)\"\n (fieldBlur)=\"onInputBlur()\"\n (focusin)=\"onInputFocus()\"\n #fieldElement\n data-testid=\"inline-field\"\n [testId]=\"testId()\"\n ></ui-field>\n\n @if (isEditing()) {\n <div class=\"action-buttons\">\n <ui-button\n [label]=\"saveButtonConfig().label\"\n [iconName]=\"saveButtonConfig().iconName\"\n [variant]=\"saveButtonConfig().variant\"\n [size]=\"saveButtonConfig().size\"\n [disabled]=\"saveButtonConfig().disabled\"\n [applicationTheme]=\"applicationTheme()\"\n [iconPosition]=\"'left'\"\n (buttonClickEvent)=\"saveEdit()\"\n [attr.aria-label]=\"'Save ' + (label() || 'field')\"\n [testId]=\"saveButtonTestId()\"\n class=\"save-button\"\n ></ui-button>\n <ui-button\n [label]=\"cancelButtonConfig().label\"\n [iconName]=\"cancelButtonConfig().iconName\"\n [variant]=\"cancelButtonConfig().variant\"\n [size]=\"cancelButtonConfig().size\"\n [disabled]=\"cancelButtonConfig().disabled\"\n [applicationTheme]=\"applicationTheme()\"\n [iconPosition]=\"'left'\"\n (buttonClickEvent)=\"cancelEdit()\"\n [attr.aria-label]=\"'Cancel editing ' + (label() || 'field')\"\n [testId]=\"cancelButtonTestId()\"\n class=\"cancel-button\"\n ></ui-button>\n </div>\n }\n </div>\n</div>\n",
|
|
369
|
+
styles: [".bg-teal-60b{background:#1c443c}.bg-teal-30b{background:#31766a}.bg-teal-default{background:#46a997}.bg-teal-30w{background:#7ec3b6}.bg-teal-60w{background:#b5ddd5}.bg-teal-secondary{background:#cbd6cb}.bg-teal-90w{background:#ecf6f5}.bg-petrol-60b{background:#102930}.bg-petrol-30b{background:#1b4754}.bg-petrol-default{background:#276678}.bg-petrol-30w{background:#6894a0}.bg-petrol-60w{background:#a9c2c9}.bg-petrol-secondary{background:#c8d7de}.bg-petrol-90w{background:#e9f0f1}.bg-error-60b{background:#513131}.bg-error-30b{background:#8e5655}.bg-error-60w{background:#e3c3c6}.bg-error-secondary{background:#f0dad9}.bg-error-default{background:#cb7b7a}.bg-warning-secondary{background:#f0d6bb}.bg-warning-default{background:#cca45f}.bg-black{background:#000}.bg-dark{background:#888}.bg-medium{background:#e0e0e0}.bg-grey{background:#ededed}.bg-light{background:#f6f6f6}.bg-white{background:#fff}.bg-box-shadow{background:#00000014}.bg-navigation-subtitle{background:#528593}.bgc-teal-60b{background-color:#1c443c}.bgc-teal-30b{background-color:#31766a}.bgc-teal-default{background-color:#46a997}.bgc-teal-30w{background-color:#7ec3b6}.bgc-teal-60w{background-color:#b5ddd5}.bgc-teal-secondary{background-color:#cbd6cb}.bgc-teal-90w{background-color:#ecf6f5}.bgc-petrol-60b{background-color:#102930}.bgc-petrol-30b{background-color:#1b4754}.bgc-petrol-default{background-color:#276678}.bgc-petrol-30w{background-color:#6894a0}.bgc-petrol-60w{background-color:#a9c2c9}.bgc-petrol-secondary{background-color:#c8d7de}.bgc-petrol-90w{background-color:#e9f0f1}.bgc-error-60b{background-color:#513131}.bgc-error-30b{background-color:#8e5655}.bgc-error-60w{background-color:#e3c3c6}.bgc-error-secondary{background-color:#f0dad9}.bgc-error-default{background-color:#cb7b7a}.bgc-warning-secondary{background-color:#f0d6bb}.bgc-warning-default{background-color:#cca45f}.bgc-black{background-color:#000}.bgc-dark{background-color:#888}.bgc-medium{background-color:#e0e0e0}.bgc-grey{background-color:#ededed}.bgc-light{background-color:#f6f6f6}.bgc-white{background-color:#fff}.bgc-box-shadow{background-color:#00000014}.bgc-navigation-subtitle{background-color:#528593}.ui-inline-field{display:block;position:relative;width:100%;max-width:320px}.ui-inline-field.full-width{max-width:100%}.ui-inline-field .inline-field-container,.ui-inline-field .field-wrapper{position:relative;width:100%}.ui-inline-field .field-wrapper ::ng-deep ui-field .mat-mdc-form-field-subscript-wrapper{display:none!important}.ui-inline-field .field-wrapper .action-buttons{position:absolute;top:calc(100% + 4px);right:0;display:flex;gap:8px;z-index:10}.ui-inline-field .field-wrapper:hover .action-buttons.show-on-hover{opacity:1}.ui-inline-field .error-messages{margin-top:4px}.ui-inline-field .error-messages .error-message{display:flex;align-items:center;gap:4px;color:#e02800;font-size:12px;line-height:16px}.ui-inline-field .error-messages .error-message .error-icon ::ng-deep svg{color:#e02800}.ui-inline-field[state=disabled]{pointer-events:none}@media(max-width:768px){.ui-inline-field .field-wrapper .action-buttons{position:static;margin-top:8px;justify-content:flex-end}}\n"],
|
|
370
|
+
dependencies: [
|
|
371
|
+
{
|
|
372
|
+
kind: "directive",
|
|
373
|
+
type: NgClass,
|
|
374
|
+
selector: "[ngClass]",
|
|
375
|
+
inputs: ["class", "ngClass"]
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
kind: "component",
|
|
379
|
+
type: FieldComponent,
|
|
380
|
+
selector: "ui-field",
|
|
381
|
+
inputs: [
|
|
382
|
+
"fullWidth",
|
|
383
|
+
"fullHeight",
|
|
384
|
+
"label",
|
|
385
|
+
"labelHtml",
|
|
386
|
+
"labelIcon",
|
|
387
|
+
"fieldName",
|
|
388
|
+
"placeholder",
|
|
389
|
+
"id",
|
|
390
|
+
"value",
|
|
391
|
+
"badgeVariant",
|
|
392
|
+
"errors",
|
|
393
|
+
"disabled",
|
|
394
|
+
"required",
|
|
395
|
+
"readOnly",
|
|
396
|
+
"hintMessage",
|
|
397
|
+
"type",
|
|
398
|
+
"updateOnBlur",
|
|
399
|
+
"allowOnlyDigits",
|
|
400
|
+
"isAutocompleteOff",
|
|
401
|
+
"allowNegative",
|
|
402
|
+
"showBottomContent",
|
|
403
|
+
"applicationTheme",
|
|
404
|
+
"ariaLabel",
|
|
405
|
+
"testId",
|
|
406
|
+
"loading",
|
|
407
|
+
"isValid",
|
|
408
|
+
"maxCharacters",
|
|
409
|
+
"trimOnBlur",
|
|
410
|
+
"trimOnSubmit",
|
|
411
|
+
"maxRows",
|
|
412
|
+
"hasTextAreaCounter",
|
|
413
|
+
"hideBuiltInErrors",
|
|
414
|
+
"hideLabelInErrors",
|
|
415
|
+
"max",
|
|
416
|
+
"min",
|
|
417
|
+
"textareaHeight",
|
|
418
|
+
"borderless",
|
|
419
|
+
"autosizableTextarea",
|
|
420
|
+
"isAIVariant",
|
|
421
|
+
"ariaLabelledby",
|
|
422
|
+
"ariaDescribedby",
|
|
423
|
+
"hasError"
|
|
424
|
+
],
|
|
425
|
+
outputs: ["validateEvent", "fieldBlur"]
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
kind: "component",
|
|
429
|
+
type: ButtonComponent,
|
|
430
|
+
selector: "ui-button",
|
|
431
|
+
inputs: [
|
|
432
|
+
"size",
|
|
433
|
+
"variant",
|
|
434
|
+
"label",
|
|
435
|
+
"iconPosition",
|
|
436
|
+
"justIcon",
|
|
437
|
+
"iconName",
|
|
438
|
+
"trailingIconName",
|
|
439
|
+
"trailingIconFilled",
|
|
440
|
+
"disabled",
|
|
441
|
+
"loading",
|
|
442
|
+
"loadingWithLabel",
|
|
443
|
+
"fullWidth",
|
|
444
|
+
"url",
|
|
445
|
+
"urlTarget",
|
|
446
|
+
"value",
|
|
447
|
+
"tooltip",
|
|
448
|
+
"isPremium",
|
|
449
|
+
"type",
|
|
450
|
+
"companyColor",
|
|
451
|
+
"buttonBadgeConfig",
|
|
452
|
+
"applicationTheme",
|
|
453
|
+
"disabledScaleOnClick",
|
|
454
|
+
"ariaLabel",
|
|
455
|
+
"ariaExpanded",
|
|
456
|
+
"ariaControls",
|
|
457
|
+
"ariaPressed",
|
|
458
|
+
"ariaRequired",
|
|
459
|
+
"ariaLabelledby",
|
|
460
|
+
"ariaDescribedby",
|
|
461
|
+
"preventDefault",
|
|
462
|
+
"hasBackground",
|
|
463
|
+
"tooltipPosition",
|
|
464
|
+
"role",
|
|
465
|
+
"iconFilled",
|
|
466
|
+
"testId"
|
|
467
|
+
],
|
|
468
|
+
outputs: ["buttonClickEvent", "buttonHoverEvent"]
|
|
469
|
+
}
|
|
470
|
+
],
|
|
471
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
472
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
473
|
+
});
|
|
474
|
+
}
|
|
475
|
+
};
|
|
476
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
477
|
+
minVersion: "12.0.0",
|
|
478
|
+
version: "22.2.4",
|
|
479
|
+
ngImport: i0,
|
|
480
|
+
type: InlineFieldComponent,
|
|
481
|
+
decorators: [{
|
|
482
|
+
type: Component,
|
|
483
|
+
args: [{
|
|
484
|
+
selector: "ui-inline-field",
|
|
485
|
+
encapsulation: ViewEncapsulation.None,
|
|
486
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
487
|
+
host: {
|
|
488
|
+
"[attr.theme]": "applicationTheme()",
|
|
489
|
+
"[attr.state]": "state()",
|
|
490
|
+
"[attr.editing]": "isEditing()",
|
|
491
|
+
"[class.full-width]": "fullWidth()"
|
|
492
|
+
},
|
|
493
|
+
imports: [
|
|
494
|
+
NgClass,
|
|
495
|
+
FieldComponent,
|
|
496
|
+
ButtonComponent
|
|
497
|
+
],
|
|
498
|
+
template: "<div class=\"inline-field-container\">\n <div class=\"field-wrapper\" [ngClass]=\"{ 'is-editing': isEditing() }\">\n <ui-field\n [id]=\"id() + '-input'\"\n [label]=\"label()\"\n [placeholder]=\"placeholder()\"\n [value]=\"currentValue()\"\n [required]=\"required()\"\n [disabled]=\"disabled()\"\n [errors]=\"errors()\"\n [showBottomContent]=\"showErrors()\"\n [ariaLabel]=\"ariaLabel()\"\n [applicationTheme]=\"applicationTheme()\"\n [fullWidth]=\"true\"\n [isAutocompleteOff]=\"true\"\n [type]=\"fieldType()\"\n [maxRows]=\"maxRows()\"\n (input)=\"onInputChange($event)\"\n (fieldBlur)=\"onInputBlur()\"\n (focusin)=\"onInputFocus()\"\n #fieldElement\n data-testid=\"inline-field\"\n [testId]=\"testId()\"\n ></ui-field>\n\n @if (isEditing()) {\n <div class=\"action-buttons\">\n <ui-button\n [label]=\"saveButtonConfig().label\"\n [iconName]=\"saveButtonConfig().iconName\"\n [variant]=\"saveButtonConfig().variant\"\n [size]=\"saveButtonConfig().size\"\n [disabled]=\"saveButtonConfig().disabled\"\n [applicationTheme]=\"applicationTheme()\"\n [iconPosition]=\"'left'\"\n (buttonClickEvent)=\"saveEdit()\"\n [attr.aria-label]=\"'Save ' + (label() || 'field')\"\n [testId]=\"saveButtonTestId()\"\n class=\"save-button\"\n ></ui-button>\n <ui-button\n [label]=\"cancelButtonConfig().label\"\n [iconName]=\"cancelButtonConfig().iconName\"\n [variant]=\"cancelButtonConfig().variant\"\n [size]=\"cancelButtonConfig().size\"\n [disabled]=\"cancelButtonConfig().disabled\"\n [applicationTheme]=\"applicationTheme()\"\n [iconPosition]=\"'left'\"\n (buttonClickEvent)=\"cancelEdit()\"\n [attr.aria-label]=\"'Cancel editing ' + (label() || 'field')\"\n [testId]=\"cancelButtonTestId()\"\n class=\"cancel-button\"\n ></ui-button>\n </div>\n }\n </div>\n</div>\n",
|
|
499
|
+
styles: [".bg-teal-60b{background:#1c443c}.bg-teal-30b{background:#31766a}.bg-teal-default{background:#46a997}.bg-teal-30w{background:#7ec3b6}.bg-teal-60w{background:#b5ddd5}.bg-teal-secondary{background:#cbd6cb}.bg-teal-90w{background:#ecf6f5}.bg-petrol-60b{background:#102930}.bg-petrol-30b{background:#1b4754}.bg-petrol-default{background:#276678}.bg-petrol-30w{background:#6894a0}.bg-petrol-60w{background:#a9c2c9}.bg-petrol-secondary{background:#c8d7de}.bg-petrol-90w{background:#e9f0f1}.bg-error-60b{background:#513131}.bg-error-30b{background:#8e5655}.bg-error-60w{background:#e3c3c6}.bg-error-secondary{background:#f0dad9}.bg-error-default{background:#cb7b7a}.bg-warning-secondary{background:#f0d6bb}.bg-warning-default{background:#cca45f}.bg-black{background:#000}.bg-dark{background:#888}.bg-medium{background:#e0e0e0}.bg-grey{background:#ededed}.bg-light{background:#f6f6f6}.bg-white{background:#fff}.bg-box-shadow{background:#00000014}.bg-navigation-subtitle{background:#528593}.bgc-teal-60b{background-color:#1c443c}.bgc-teal-30b{background-color:#31766a}.bgc-teal-default{background-color:#46a997}.bgc-teal-30w{background-color:#7ec3b6}.bgc-teal-60w{background-color:#b5ddd5}.bgc-teal-secondary{background-color:#cbd6cb}.bgc-teal-90w{background-color:#ecf6f5}.bgc-petrol-60b{background-color:#102930}.bgc-petrol-30b{background-color:#1b4754}.bgc-petrol-default{background-color:#276678}.bgc-petrol-30w{background-color:#6894a0}.bgc-petrol-60w{background-color:#a9c2c9}.bgc-petrol-secondary{background-color:#c8d7de}.bgc-petrol-90w{background-color:#e9f0f1}.bgc-error-60b{background-color:#513131}.bgc-error-30b{background-color:#8e5655}.bgc-error-60w{background-color:#e3c3c6}.bgc-error-secondary{background-color:#f0dad9}.bgc-error-default{background-color:#cb7b7a}.bgc-warning-secondary{background-color:#f0d6bb}.bgc-warning-default{background-color:#cca45f}.bgc-black{background-color:#000}.bgc-dark{background-color:#888}.bgc-medium{background-color:#e0e0e0}.bgc-grey{background-color:#ededed}.bgc-light{background-color:#f6f6f6}.bgc-white{background-color:#fff}.bgc-box-shadow{background-color:#00000014}.bgc-navigation-subtitle{background-color:#528593}.ui-inline-field{display:block;position:relative;width:100%;max-width:320px}.ui-inline-field.full-width{max-width:100%}.ui-inline-field .inline-field-container,.ui-inline-field .field-wrapper{position:relative;width:100%}.ui-inline-field .field-wrapper ::ng-deep ui-field .mat-mdc-form-field-subscript-wrapper{display:none!important}.ui-inline-field .field-wrapper .action-buttons{position:absolute;top:calc(100% + 4px);right:0;display:flex;gap:8px;z-index:10}.ui-inline-field .field-wrapper:hover .action-buttons.show-on-hover{opacity:1}.ui-inline-field .error-messages{margin-top:4px}.ui-inline-field .error-messages .error-message{display:flex;align-items:center;gap:4px;color:#e02800;font-size:12px;line-height:16px}.ui-inline-field .error-messages .error-message .error-icon ::ng-deep svg{color:#e02800}.ui-inline-field[state=disabled]{pointer-events:none}@media(max-width:768px){.ui-inline-field .field-wrapper .action-buttons{position:static;margin-top:8px;justify-content:flex-end}}\n"]
|
|
500
|
+
}]
|
|
501
|
+
}],
|
|
502
|
+
ctorParameters: () => [
|
|
503
|
+
{ type: i0.ChangeDetectorRef },
|
|
504
|
+
{ type: i0.DestroyRef },
|
|
505
|
+
{ type: i0.ElementRef },
|
|
506
|
+
{
|
|
507
|
+
type: i1.NgControl,
|
|
508
|
+
decorators: [{ type: Optional }, { type: Self }]
|
|
509
|
+
}
|
|
510
|
+
],
|
|
511
|
+
propDecorators: {
|
|
512
|
+
class: [{ type: HostBinding }],
|
|
513
|
+
id: [{
|
|
514
|
+
type: i0.Input,
|
|
515
|
+
args: [{
|
|
516
|
+
isSignal: true,
|
|
517
|
+
alias: "id",
|
|
518
|
+
required: false
|
|
519
|
+
}]
|
|
520
|
+
}],
|
|
521
|
+
label: [{
|
|
522
|
+
type: i0.Input,
|
|
523
|
+
args: [{
|
|
524
|
+
isSignal: true,
|
|
525
|
+
alias: "label",
|
|
526
|
+
required: false
|
|
527
|
+
}]
|
|
528
|
+
}],
|
|
529
|
+
placeholder: [{
|
|
530
|
+
type: i0.Input,
|
|
531
|
+
args: [{
|
|
532
|
+
isSignal: true,
|
|
533
|
+
alias: "placeholder",
|
|
534
|
+
required: false
|
|
535
|
+
}]
|
|
536
|
+
}],
|
|
537
|
+
value: [{
|
|
538
|
+
type: i0.Input,
|
|
539
|
+
args: [{
|
|
540
|
+
isSignal: true,
|
|
541
|
+
alias: "value",
|
|
542
|
+
required: false
|
|
543
|
+
}]
|
|
544
|
+
}],
|
|
545
|
+
required: [{
|
|
546
|
+
type: i0.Input,
|
|
547
|
+
args: [{
|
|
548
|
+
isSignal: true,
|
|
549
|
+
alias: "required",
|
|
550
|
+
required: false
|
|
551
|
+
}]
|
|
552
|
+
}],
|
|
553
|
+
disabled: [{
|
|
554
|
+
type: i0.Input,
|
|
555
|
+
args: [{
|
|
556
|
+
isSignal: true,
|
|
557
|
+
alias: "disabled",
|
|
558
|
+
required: false
|
|
559
|
+
}]
|
|
560
|
+
}],
|
|
561
|
+
applicationTheme: [{
|
|
562
|
+
type: i0.Input,
|
|
563
|
+
args: [{
|
|
564
|
+
isSignal: true,
|
|
565
|
+
alias: "applicationTheme",
|
|
566
|
+
required: false
|
|
567
|
+
}]
|
|
568
|
+
}],
|
|
569
|
+
fieldType: [{
|
|
570
|
+
type: i0.Input,
|
|
571
|
+
args: [{
|
|
572
|
+
isSignal: true,
|
|
573
|
+
alias: "fieldType",
|
|
574
|
+
required: false
|
|
575
|
+
}]
|
|
576
|
+
}],
|
|
577
|
+
maxRows: [{
|
|
578
|
+
type: i0.Input,
|
|
579
|
+
args: [{
|
|
580
|
+
isSignal: true,
|
|
581
|
+
alias: "maxRows",
|
|
582
|
+
required: false
|
|
583
|
+
}]
|
|
584
|
+
}],
|
|
585
|
+
errors: [{
|
|
586
|
+
type: i0.Input,
|
|
587
|
+
args: [{
|
|
588
|
+
isSignal: true,
|
|
589
|
+
alias: "errors",
|
|
590
|
+
required: false
|
|
591
|
+
}]
|
|
592
|
+
}],
|
|
593
|
+
showErrors: [{
|
|
594
|
+
type: i0.Input,
|
|
595
|
+
args: [{
|
|
596
|
+
isSignal: true,
|
|
597
|
+
alias: "showErrors",
|
|
598
|
+
required: false
|
|
599
|
+
}]
|
|
600
|
+
}],
|
|
601
|
+
buttonConfig: [{
|
|
602
|
+
type: i0.Input,
|
|
603
|
+
args: [{
|
|
604
|
+
isSignal: true,
|
|
605
|
+
alias: "buttonConfig",
|
|
606
|
+
required: false
|
|
607
|
+
}]
|
|
608
|
+
}],
|
|
609
|
+
validation: [{
|
|
610
|
+
type: i0.Input,
|
|
611
|
+
args: [{
|
|
612
|
+
isSignal: true,
|
|
613
|
+
alias: "validation",
|
|
614
|
+
required: false
|
|
615
|
+
}]
|
|
616
|
+
}],
|
|
617
|
+
ariaLabel: [{
|
|
618
|
+
type: i0.Input,
|
|
619
|
+
args: [{
|
|
620
|
+
isSignal: true,
|
|
621
|
+
alias: "ariaLabel",
|
|
622
|
+
required: false
|
|
623
|
+
}]
|
|
624
|
+
}],
|
|
625
|
+
testId: [{
|
|
626
|
+
type: i0.Input,
|
|
627
|
+
args: [{
|
|
628
|
+
isSignal: true,
|
|
629
|
+
alias: "testId",
|
|
630
|
+
required: false
|
|
631
|
+
}]
|
|
632
|
+
}],
|
|
633
|
+
fullWidth: [{
|
|
634
|
+
type: i0.Input,
|
|
635
|
+
args: [{
|
|
636
|
+
isSignal: true,
|
|
637
|
+
alias: "fullWidth",
|
|
638
|
+
required: false
|
|
639
|
+
}]
|
|
640
|
+
}],
|
|
641
|
+
save: [{
|
|
642
|
+
type: i0.Output,
|
|
643
|
+
args: ["save"]
|
|
644
|
+
}],
|
|
645
|
+
cancel: [{
|
|
646
|
+
type: i0.Output,
|
|
647
|
+
args: ["cancel"]
|
|
648
|
+
}],
|
|
649
|
+
valueChange: [{
|
|
650
|
+
type: i0.Output,
|
|
651
|
+
args: ["valueChange"]
|
|
652
|
+
}],
|
|
653
|
+
editingModeChange: [{
|
|
654
|
+
type: i0.Output,
|
|
655
|
+
args: ["editingModeChange"]
|
|
656
|
+
}],
|
|
657
|
+
focusEvent: [{
|
|
658
|
+
type: i0.Output,
|
|
659
|
+
args: ["focusEvent"]
|
|
660
|
+
}],
|
|
661
|
+
blurEvent: [{
|
|
662
|
+
type: i0.Output,
|
|
663
|
+
args: ["blurEvent"]
|
|
664
|
+
}],
|
|
665
|
+
fieldComponent: [{
|
|
666
|
+
type: ViewChild,
|
|
667
|
+
args: ["fieldElement"]
|
|
668
|
+
}],
|
|
669
|
+
onComponentFocusOut: [{
|
|
670
|
+
type: HostListener,
|
|
671
|
+
args: ["focusout", ["$event"]]
|
|
672
|
+
}],
|
|
673
|
+
onEscapePressed: [{
|
|
674
|
+
type: HostListener,
|
|
675
|
+
args: ["keydown.escape", ["$event"]]
|
|
676
|
+
}],
|
|
677
|
+
onEnterPressed: [{
|
|
678
|
+
type: HostListener,
|
|
679
|
+
args: ["keydown.enter", ["$event"]]
|
|
680
|
+
}],
|
|
681
|
+
onTabPressed: [{
|
|
682
|
+
type: HostListener,
|
|
683
|
+
args: ["keydown.tab"]
|
|
684
|
+
}]
|
|
685
|
+
}
|
|
686
|
+
});
|
|
687
|
+
var InlineFieldComponentModule = class InlineFieldComponentModule {
|
|
688
|
+
static {
|
|
689
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
690
|
+
minVersion: "12.0.0",
|
|
691
|
+
version: "22.2.4",
|
|
692
|
+
ngImport: i0,
|
|
693
|
+
type: InlineFieldComponentModule,
|
|
694
|
+
deps: [],
|
|
695
|
+
target: i0.ɵɵFactoryTarget.NgModule
|
|
696
|
+
});
|
|
697
|
+
}
|
|
698
|
+
static {
|
|
699
|
+
this.ɵmod = i0.ɵɵngDeclareNgModule({
|
|
700
|
+
minVersion: "14.0.0",
|
|
701
|
+
version: "22.2.4",
|
|
702
|
+
ngImport: i0,
|
|
703
|
+
type: InlineFieldComponentModule,
|
|
704
|
+
imports: [
|
|
705
|
+
CommonModule,
|
|
706
|
+
FormsModule,
|
|
707
|
+
ReactiveFormsModule,
|
|
708
|
+
MatInputModule,
|
|
709
|
+
ButtonComponentModule,
|
|
710
|
+
FieldComponentModule,
|
|
711
|
+
IconComponentModule,
|
|
712
|
+
InlineFieldComponent
|
|
713
|
+
],
|
|
714
|
+
exports: [InlineFieldComponent]
|
|
715
|
+
});
|
|
716
|
+
}
|
|
717
|
+
static {
|
|
718
|
+
this.ɵinj = i0.ɵɵngDeclareInjector({
|
|
719
|
+
minVersion: "12.0.0",
|
|
720
|
+
version: "22.2.4",
|
|
721
|
+
ngImport: i0,
|
|
722
|
+
type: InlineFieldComponentModule,
|
|
723
|
+
imports: [
|
|
724
|
+
CommonModule,
|
|
725
|
+
FormsModule,
|
|
726
|
+
ReactiveFormsModule,
|
|
727
|
+
MatInputModule,
|
|
728
|
+
ButtonComponentModule,
|
|
729
|
+
FieldComponentModule,
|
|
730
|
+
IconComponentModule,
|
|
731
|
+
InlineFieldComponent
|
|
732
|
+
]
|
|
733
|
+
});
|
|
734
|
+
}
|
|
735
|
+
};
|
|
736
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
737
|
+
minVersion: "12.0.0",
|
|
738
|
+
version: "22.2.4",
|
|
739
|
+
ngImport: i0,
|
|
740
|
+
type: InlineFieldComponentModule,
|
|
741
|
+
decorators: [{
|
|
742
|
+
type: NgModule,
|
|
743
|
+
args: [{
|
|
744
|
+
imports: [
|
|
745
|
+
CommonModule,
|
|
746
|
+
FormsModule,
|
|
747
|
+
ReactiveFormsModule,
|
|
748
|
+
MatInputModule,
|
|
749
|
+
ButtonComponentModule,
|
|
750
|
+
FieldComponentModule,
|
|
751
|
+
IconComponentModule,
|
|
752
|
+
InlineFieldComponent
|
|
753
|
+
],
|
|
754
|
+
exports: [InlineFieldComponent]
|
|
755
|
+
}]
|
|
756
|
+
}]
|
|
757
|
+
});
|
|
369
758
|
export { InlineFieldComponent, InlineFieldComponentModule };
|
|
370
|
-
|
|
759
|
+
|
|
760
|
+
//# sourceMappingURL=testgorilla-tgo-ui-components-inline-field.mjs.map
|