@cdek-it/angular-ui-kit 0.2.4-test → 0.2.7-test
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/components/accordion/index.d.ts +21 -0
- package/components/autocomplete/index.d.ts +65 -0
- package/components/avatar/index.d.ts +5 -5
- package/components/badge/index.d.ts +5 -5
- package/components/breadcrumb/index.d.ts +3 -3
- package/components/button/index.d.ts +16 -14
- package/components/carousel/index.d.ts +41 -0
- package/components/checkbox/index.d.ts +7 -6
- package/components/confirm-dialog/index.d.ts +37 -0
- package/components/date-picker/index.d.ts +89 -0
- package/components/dialog/index.d.ts +16 -9
- package/components/divider/index.d.ts +7 -7
- package/components/drawer/index.d.ts +33 -0
- package/components/galleria/index.d.ts +65 -0
- package/components/inputgroup/index.d.ts +17 -0
- package/components/inputmask/index.d.ts +43 -0
- package/components/inputnumber/index.d.ts +50 -0
- package/components/inputotp/index.d.ts +40 -0
- package/components/inputtext/index.d.ts +5 -4
- package/components/listbox/index.d.ts +43 -0
- package/components/megamenu/index.d.ts +10 -10
- package/components/menu/index.d.ts +24 -0
- package/components/menubar/index.d.ts +16 -0
- package/components/message/index.d.ts +19 -0
- package/components/metergroup/index.d.ts +9 -8
- package/components/paginator/index.d.ts +25 -0
- package/components/panelmenu/index.d.ts +19 -0
- package/components/password/index.d.ts +54 -0
- package/components/popover/index.d.ts +12 -0
- package/components/progressbar/index.d.ts +3 -3
- package/components/progressspinner/index.d.ts +3 -3
- package/components/radiobutton/index.d.ts +7 -6
- package/components/rating/index.d.ts +6 -6
- package/components/scroll-panel/index.d.ts +11 -0
- package/components/select/index.d.ts +78 -0
- package/components/skeleton/index.d.ts +5 -5
- package/components/slider/index.d.ts +4 -3
- package/components/stepper/index.d.ts +25 -0
- package/components/tabs/index.d.ts +22 -0
- package/components/tag/index.d.ts +3 -3
- package/components/textarea/index.d.ts +40 -0
- package/components/tieredmenu/index.d.ts +2 -2
- package/components/timeline/index.d.ts +17 -5
- package/components/toast/index.d.ts +52 -0
- package/components/toggleswitch/index.d.ts +26 -0
- package/components/tooltip/index.d.ts +5 -5
- package/fesm2022/cdek-it-angular-ui-kit-components-accordion.mjs +69 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-accordion.mjs.map +1 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-autocomplete.mjs +269 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-autocomplete.mjs.map +1 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-avatar.mjs +7 -5
- package/fesm2022/cdek-it-angular-ui-kit-components-avatar.mjs.map +1 -1
- package/fesm2022/cdek-it-angular-ui-kit-components-badge.mjs +4 -15
- package/fesm2022/cdek-it-angular-ui-kit-components-badge.mjs.map +1 -1
- package/fesm2022/cdek-it-angular-ui-kit-components-breadcrumb.mjs +4 -13
- package/fesm2022/cdek-it-angular-ui-kit-components-breadcrumb.mjs.map +1 -1
- package/fesm2022/cdek-it-angular-ui-kit-components-button.mjs +3 -2
- package/fesm2022/cdek-it-angular-ui-kit-components-button.mjs.map +1 -1
- package/fesm2022/cdek-it-angular-ui-kit-components-card.mjs +2 -2
- package/fesm2022/cdek-it-angular-ui-kit-components-card.mjs.map +1 -1
- package/fesm2022/cdek-it-angular-ui-kit-components-carousel.mjs +166 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-carousel.mjs.map +1 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-checkbox.mjs +3 -2
- package/fesm2022/cdek-it-angular-ui-kit-components-checkbox.mjs.map +1 -1
- package/fesm2022/cdek-it-angular-ui-kit-components-chip.mjs +4 -3
- package/fesm2022/cdek-it-angular-ui-kit-components-chip.mjs.map +1 -1
- package/fesm2022/cdek-it-angular-ui-kit-components-confirm-dialog.mjs +192 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-confirm-dialog.mjs.map +1 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-date-picker.mjs +640 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-date-picker.mjs.map +1 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-dialog.mjs +28 -10
- package/fesm2022/cdek-it-angular-ui-kit-components-dialog.mjs.map +1 -1
- package/fesm2022/cdek-it-angular-ui-kit-components-divider.mjs +6 -13
- package/fesm2022/cdek-it-angular-ui-kit-components-divider.mjs.map +1 -1
- package/fesm2022/cdek-it-angular-ui-kit-components-drawer.mjs +153 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-drawer.mjs.map +1 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-galleria.mjs +284 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-galleria.mjs.map +1 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-inputgroup.mjs +64 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-inputgroup.mjs.map +1 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-inputmask.mjs +164 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-inputmask.mjs.map +1 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-inputnumber.mjs +267 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-inputnumber.mjs.map +1 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-inputotp.mjs +148 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-inputotp.mjs.map +1 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-inputtext.mjs +13 -11
- package/fesm2022/cdek-it-angular-ui-kit-components-inputtext.mjs.map +1 -1
- package/fesm2022/cdek-it-angular-ui-kit-components-listbox.mjs +172 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-listbox.mjs.map +1 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-megamenu.mjs +22 -9
- package/fesm2022/cdek-it-angular-ui-kit-components-megamenu.mjs.map +1 -1
- package/fesm2022/cdek-it-angular-ui-kit-components-menu.mjs +114 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-menu.mjs.map +1 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-menubar.mjs +88 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-menubar.mjs.map +1 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-message.mjs +105 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-message.mjs.map +1 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-metergroup.mjs +4 -3
- package/fesm2022/cdek-it-angular-ui-kit-components-metergroup.mjs.map +1 -1
- package/fesm2022/cdek-it-angular-ui-kit-components-paginator.mjs +95 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-paginator.mjs.map +1 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-panelmenu.mjs +69 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-panelmenu.mjs.map +1 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-password.mjs +258 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-password.mjs.map +1 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-popover.mjs +48 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-popover.mjs.map +1 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-progressbar.mjs +4 -15
- package/fesm2022/cdek-it-angular-ui-kit-components-progressbar.mjs.map +1 -1
- package/fesm2022/cdek-it-angular-ui-kit-components-progressspinner.mjs +3 -2
- package/fesm2022/cdek-it-angular-ui-kit-components-progressspinner.mjs.map +1 -1
- package/fesm2022/cdek-it-angular-ui-kit-components-radiobutton.mjs +8 -7
- package/fesm2022/cdek-it-angular-ui-kit-components-radiobutton.mjs.map +1 -1
- package/fesm2022/cdek-it-angular-ui-kit-components-rating.mjs +8 -7
- package/fesm2022/cdek-it-angular-ui-kit-components-rating.mjs.map +1 -1
- package/fesm2022/cdek-it-angular-ui-kit-components-scroll-panel.mjs +42 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-scroll-panel.mjs.map +1 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-select.mjs +350 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-select.mjs.map +1 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-skeleton.mjs +4 -3
- package/fesm2022/cdek-it-angular-ui-kit-components-skeleton.mjs.map +1 -1
- package/fesm2022/cdek-it-angular-ui-kit-components-slider.mjs +6 -6
- package/fesm2022/cdek-it-angular-ui-kit-components-slider.mjs.map +1 -1
- package/fesm2022/cdek-it-angular-ui-kit-components-stepper.mjs +227 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-stepper.mjs.map +1 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-tabs.mjs +83 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-tabs.mjs.map +1 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-tag.mjs +6 -15
- package/fesm2022/cdek-it-angular-ui-kit-components-tag.mjs.map +1 -1
- package/fesm2022/cdek-it-angular-ui-kit-components-textarea.mjs +214 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-textarea.mjs.map +1 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-tieredmenu.mjs +5 -16
- package/fesm2022/cdek-it-angular-ui-kit-components-tieredmenu.mjs.map +1 -1
- package/fesm2022/cdek-it-angular-ui-kit-components-timeline.mjs +74 -50
- package/fesm2022/cdek-it-angular-ui-kit-components-timeline.mjs.map +1 -1
- package/fesm2022/cdek-it-angular-ui-kit-components-toast.mjs +106 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-toast.mjs.map +1 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-toggleswitch.mjs +93 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-toggleswitch.mjs.map +1 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-tooltip.mjs.map +1 -1
- package/fesm2022/cdek-it-angular-ui-kit-providers.mjs +2497 -125
- package/fesm2022/cdek-it-angular-ui-kit-providers.mjs.map +1 -1
- package/fesm2022/cdek-it-angular-ui-kit-shared.mjs +4 -0
- package/fesm2022/cdek-it-angular-ui-kit-shared.mjs.map +1 -0
- package/package.json +118 -2
- package/shared/index.d.ts +49 -0
- package/tailwind/theme.css +461 -0
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { inject, Injector, EventEmitter, forwardRef, Output, Input, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
+
import { NgControl, NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
4
|
+
import { NgClass } from '@angular/common';
|
|
5
|
+
import { Textarea } from 'primeng/textarea';
|
|
6
|
+
import { IconField } from 'primeng/iconfield';
|
|
7
|
+
import { InputIcon } from 'primeng/inputicon';
|
|
8
|
+
|
|
9
|
+
class ExtraTextareaComponent {
|
|
10
|
+
_injector = inject(Injector);
|
|
11
|
+
_ngControl = null;
|
|
12
|
+
ngOnInit() {
|
|
13
|
+
this._ngControl = this._injector.get(NgControl, null, { self: true, optional: true });
|
|
14
|
+
}
|
|
15
|
+
placeholder = '';
|
|
16
|
+
size = 'base';
|
|
17
|
+
readonly = false;
|
|
18
|
+
showClear = false;
|
|
19
|
+
fluid = false;
|
|
20
|
+
autoResize = false;
|
|
21
|
+
rows = 3;
|
|
22
|
+
cols;
|
|
23
|
+
disabled = false;
|
|
24
|
+
get invalid() {
|
|
25
|
+
return this._ngControl?.invalid ?? false;
|
|
26
|
+
}
|
|
27
|
+
onResize = new EventEmitter();
|
|
28
|
+
onClear = new EventEmitter();
|
|
29
|
+
modelValue = '';
|
|
30
|
+
_onChange = () => { };
|
|
31
|
+
get primeSize() {
|
|
32
|
+
if (this.size === 'small')
|
|
33
|
+
return 'small';
|
|
34
|
+
if (this.size === 'large')
|
|
35
|
+
return 'large';
|
|
36
|
+
return undefined;
|
|
37
|
+
}
|
|
38
|
+
get sizeClass() {
|
|
39
|
+
return { 'p-textarea-xlg': this.size === 'xlarge' };
|
|
40
|
+
}
|
|
41
|
+
onInput(event) {
|
|
42
|
+
const value = event.target.value;
|
|
43
|
+
this.modelValue = value;
|
|
44
|
+
this._onChange(value);
|
|
45
|
+
}
|
|
46
|
+
onTouched = () => { };
|
|
47
|
+
clearValue() {
|
|
48
|
+
this.modelValue = '';
|
|
49
|
+
this._onChange('');
|
|
50
|
+
this.onClear.emit();
|
|
51
|
+
}
|
|
52
|
+
writeValue(value) {
|
|
53
|
+
this.modelValue = value ?? '';
|
|
54
|
+
}
|
|
55
|
+
registerOnChange(fn) {
|
|
56
|
+
this._onChange = fn;
|
|
57
|
+
}
|
|
58
|
+
registerOnTouched(fn) {
|
|
59
|
+
this.onTouched = fn;
|
|
60
|
+
}
|
|
61
|
+
setDisabledState(isDisabled) {
|
|
62
|
+
this.disabled = isDisabled;
|
|
63
|
+
}
|
|
64
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: ExtraTextareaComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
65
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.15", type: ExtraTextareaComponent, isStandalone: true, selector: "extra-textarea", inputs: { placeholder: "placeholder", size: "size", readonly: "readonly", showClear: "showClear", fluid: "fluid", autoResize: "autoResize", rows: "rows", cols: "cols" }, outputs: { onResize: "onResize", onClear: "onClear" }, providers: [
|
|
66
|
+
{
|
|
67
|
+
provide: NG_VALUE_ACCESSOR,
|
|
68
|
+
useExisting: forwardRef(() => ExtraTextareaComponent),
|
|
69
|
+
multi: true
|
|
70
|
+
}
|
|
71
|
+
], ngImport: i0, template: `
|
|
72
|
+
@if (showClear) {
|
|
73
|
+
<p-iconfield [ngClass]="{ '!w-full': fluid }">
|
|
74
|
+
<textarea
|
|
75
|
+
pTextarea
|
|
76
|
+
[ngClass]="sizeClass"
|
|
77
|
+
[pSize]="primeSize"
|
|
78
|
+
[disabled]="disabled"
|
|
79
|
+
[readOnly]="readonly"
|
|
80
|
+
[invalid]="invalid"
|
|
81
|
+
[fluid]="fluid"
|
|
82
|
+
[autoResize]="autoResize"
|
|
83
|
+
[rows]="rows"
|
|
84
|
+
[cols]="cols"
|
|
85
|
+
[placeholder]="placeholder"
|
|
86
|
+
[value]="modelValue"
|
|
87
|
+
(input)="onInput($event)"
|
|
88
|
+
(blur)="onTouched()"
|
|
89
|
+
(onResize)="onResize.emit($event)"
|
|
90
|
+
></textarea>
|
|
91
|
+
<p-inputicon
|
|
92
|
+
class="ti ti-x"
|
|
93
|
+
tabindex="0"
|
|
94
|
+
[style.visibility]="modelValue ? 'visible' : 'hidden'"
|
|
95
|
+
[style.pointerEvents]="modelValue ? 'auto' : 'none'"
|
|
96
|
+
(click)="clearValue()"
|
|
97
|
+
(keydown.enter)="clearValue()"
|
|
98
|
+
(keydown.space)="clearValue()"
|
|
99
|
+
></p-inputicon>
|
|
100
|
+
</p-iconfield>
|
|
101
|
+
} @else {
|
|
102
|
+
<textarea
|
|
103
|
+
pTextarea
|
|
104
|
+
[ngClass]="sizeClass"
|
|
105
|
+
[pSize]="primeSize"
|
|
106
|
+
[disabled]="disabled"
|
|
107
|
+
[readOnly]="readonly"
|
|
108
|
+
[invalid]="invalid"
|
|
109
|
+
[fluid]="fluid"
|
|
110
|
+
[autoResize]="autoResize"
|
|
111
|
+
[rows]="rows"
|
|
112
|
+
[cols]="cols"
|
|
113
|
+
[placeholder]="placeholder"
|
|
114
|
+
[value]="modelValue"
|
|
115
|
+
(input)="onInput($event)"
|
|
116
|
+
(blur)="onTouched()"
|
|
117
|
+
(onResize)="onResize.emit($event)"
|
|
118
|
+
></textarea>
|
|
119
|
+
}
|
|
120
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: Textarea, selector: "[pTextarea], [pInputTextarea]", inputs: ["autoResize", "pSize", "variant", "fluid", "invalid"], outputs: ["onResize"] }, { kind: "component", type: IconField, selector: "p-iconfield, p-iconField, p-icon-field", inputs: ["hostName", "iconPosition", "styleClass"] }, { kind: "component", type: InputIcon, selector: "p-inputicon, p-inputIcon", inputs: ["hostName", "styleClass"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
121
|
+
}
|
|
122
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: ExtraTextareaComponent, decorators: [{
|
|
123
|
+
type: Component,
|
|
124
|
+
args: [{
|
|
125
|
+
selector: 'extra-textarea',
|
|
126
|
+
standalone: true,
|
|
127
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
128
|
+
imports: [Textarea, IconField, InputIcon, NgClass],
|
|
129
|
+
providers: [
|
|
130
|
+
{
|
|
131
|
+
provide: NG_VALUE_ACCESSOR,
|
|
132
|
+
useExisting: forwardRef(() => ExtraTextareaComponent),
|
|
133
|
+
multi: true
|
|
134
|
+
}
|
|
135
|
+
],
|
|
136
|
+
template: `
|
|
137
|
+
@if (showClear) {
|
|
138
|
+
<p-iconfield [ngClass]="{ '!w-full': fluid }">
|
|
139
|
+
<textarea
|
|
140
|
+
pTextarea
|
|
141
|
+
[ngClass]="sizeClass"
|
|
142
|
+
[pSize]="primeSize"
|
|
143
|
+
[disabled]="disabled"
|
|
144
|
+
[readOnly]="readonly"
|
|
145
|
+
[invalid]="invalid"
|
|
146
|
+
[fluid]="fluid"
|
|
147
|
+
[autoResize]="autoResize"
|
|
148
|
+
[rows]="rows"
|
|
149
|
+
[cols]="cols"
|
|
150
|
+
[placeholder]="placeholder"
|
|
151
|
+
[value]="modelValue"
|
|
152
|
+
(input)="onInput($event)"
|
|
153
|
+
(blur)="onTouched()"
|
|
154
|
+
(onResize)="onResize.emit($event)"
|
|
155
|
+
></textarea>
|
|
156
|
+
<p-inputicon
|
|
157
|
+
class="ti ti-x"
|
|
158
|
+
tabindex="0"
|
|
159
|
+
[style.visibility]="modelValue ? 'visible' : 'hidden'"
|
|
160
|
+
[style.pointerEvents]="modelValue ? 'auto' : 'none'"
|
|
161
|
+
(click)="clearValue()"
|
|
162
|
+
(keydown.enter)="clearValue()"
|
|
163
|
+
(keydown.space)="clearValue()"
|
|
164
|
+
></p-inputicon>
|
|
165
|
+
</p-iconfield>
|
|
166
|
+
} @else {
|
|
167
|
+
<textarea
|
|
168
|
+
pTextarea
|
|
169
|
+
[ngClass]="sizeClass"
|
|
170
|
+
[pSize]="primeSize"
|
|
171
|
+
[disabled]="disabled"
|
|
172
|
+
[readOnly]="readonly"
|
|
173
|
+
[invalid]="invalid"
|
|
174
|
+
[fluid]="fluid"
|
|
175
|
+
[autoResize]="autoResize"
|
|
176
|
+
[rows]="rows"
|
|
177
|
+
[cols]="cols"
|
|
178
|
+
[placeholder]="placeholder"
|
|
179
|
+
[value]="modelValue"
|
|
180
|
+
(input)="onInput($event)"
|
|
181
|
+
(blur)="onTouched()"
|
|
182
|
+
(onResize)="onResize.emit($event)"
|
|
183
|
+
></textarea>
|
|
184
|
+
}
|
|
185
|
+
`
|
|
186
|
+
}]
|
|
187
|
+
}], propDecorators: { placeholder: [{
|
|
188
|
+
type: Input
|
|
189
|
+
}], size: [{
|
|
190
|
+
type: Input
|
|
191
|
+
}], readonly: [{
|
|
192
|
+
type: Input
|
|
193
|
+
}], showClear: [{
|
|
194
|
+
type: Input
|
|
195
|
+
}], fluid: [{
|
|
196
|
+
type: Input
|
|
197
|
+
}], autoResize: [{
|
|
198
|
+
type: Input
|
|
199
|
+
}], rows: [{
|
|
200
|
+
type: Input
|
|
201
|
+
}], cols: [{
|
|
202
|
+
type: Input
|
|
203
|
+
}], onResize: [{
|
|
204
|
+
type: Output
|
|
205
|
+
}], onClear: [{
|
|
206
|
+
type: Output
|
|
207
|
+
}] } });
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* Generated bundle index. Do not edit.
|
|
211
|
+
*/
|
|
212
|
+
|
|
213
|
+
export { ExtraTextareaComponent };
|
|
214
|
+
//# sourceMappingURL=cdek-it-angular-ui-kit-components-textarea.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cdek-it-angular-ui-kit-components-textarea.mjs","sources":["../../src/lib/components/textarea/textarea.component.ts","../../src/lib/components/textarea/cdek-it-angular-ui-kit-components-textarea.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n EventEmitter,\n forwardRef,\n inject,\n Injector,\n Input,\n OnInit,\n Output\n} from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR, NgControl } from '@angular/forms';\nimport { NgClass } from '@angular/common';\nimport { Textarea } from 'primeng/textarea';\nimport { IconField } from 'primeng/iconfield';\nimport { InputIcon } from 'primeng/inputicon';\n\nexport type ExtraTextareaSize = 'small' | 'base' | 'large' | 'xlarge';\n\n@Component({\n selector: 'extra-textarea',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [Textarea, IconField, InputIcon, NgClass],\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => ExtraTextareaComponent),\n multi: true\n }\n ],\n template: `\n @if (showClear) {\n <p-iconfield [ngClass]=\"{ '!w-full': fluid }\">\n <textarea\n pTextarea\n [ngClass]=\"sizeClass\"\n [pSize]=\"primeSize\"\n [disabled]=\"disabled\"\n [readOnly]=\"readonly\"\n [invalid]=\"invalid\"\n [fluid]=\"fluid\"\n [autoResize]=\"autoResize\"\n [rows]=\"rows\"\n [cols]=\"cols\"\n [placeholder]=\"placeholder\"\n [value]=\"modelValue\"\n (input)=\"onInput($event)\"\n (blur)=\"onTouched()\"\n (onResize)=\"onResize.emit($event)\"\n ></textarea>\n <p-inputicon\n class=\"ti ti-x\"\n tabindex=\"0\"\n [style.visibility]=\"modelValue ? 'visible' : 'hidden'\"\n [style.pointerEvents]=\"modelValue ? 'auto' : 'none'\"\n (click)=\"clearValue()\"\n (keydown.enter)=\"clearValue()\"\n (keydown.space)=\"clearValue()\"\n ></p-inputicon>\n </p-iconfield>\n } @else {\n <textarea\n pTextarea\n [ngClass]=\"sizeClass\"\n [pSize]=\"primeSize\"\n [disabled]=\"disabled\"\n [readOnly]=\"readonly\"\n [invalid]=\"invalid\"\n [fluid]=\"fluid\"\n [autoResize]=\"autoResize\"\n [rows]=\"rows\"\n [cols]=\"cols\"\n [placeholder]=\"placeholder\"\n [value]=\"modelValue\"\n (input)=\"onInput($event)\"\n (blur)=\"onTouched()\"\n (onResize)=\"onResize.emit($event)\"\n ></textarea>\n }\n `\n})\nexport class ExtraTextareaComponent implements ControlValueAccessor, OnInit {\n private readonly _injector = inject(Injector);\n private _ngControl: NgControl | null = null;\n\n ngOnInit(): void {\n this._ngControl = this._injector.get(NgControl, null, { self: true, optional: true });\n }\n\n @Input() placeholder = '';\n @Input() size: ExtraTextareaSize = 'base';\n @Input() readonly = false;\n @Input() showClear = false;\n @Input() fluid = false;\n @Input() autoResize = false;\n @Input() rows = 3;\n @Input() cols?: number;\n\n disabled = false;\n\n get invalid(): boolean {\n return this._ngControl?.invalid ?? false;\n }\n\n @Output() onResize = new EventEmitter<{ height: string } | {}>();\n @Output() onClear = new EventEmitter<void>();\n\n modelValue = '';\n\n private _onChange: (value: string) => void = () => {};\n\n get primeSize(): 'small' | 'large' | never {\n if (this.size === 'small') return 'small';\n if (this.size === 'large') return 'large';\n return undefined as never;\n }\n\n get sizeClass(): Record<string, boolean> {\n return { 'p-textarea-xlg': this.size === 'xlarge' };\n }\n\n onInput(event: Event): void {\n const value = (event.target as HTMLTextAreaElement).value;\n this.modelValue = value;\n this._onChange(value);\n }\n\n onTouched: () => void = () => {};\n\n clearValue(): void {\n this.modelValue = '';\n this._onChange('');\n this.onClear.emit();\n }\n\n writeValue(value: string): void {\n this.modelValue = value ?? '';\n }\n\n registerOnChange(fn: (value: string) => void): void {\n this._onChange = fn;\n }\n\n registerOnTouched(fn: () => void): void {\n this.onTouched = fn;\n }\n\n setDisabledState(isDisabled: boolean): void {\n this.disabled = isDisabled;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;MAkFa,sBAAsB,CAAA;AAChB,IAAA,SAAS,GAAG,MAAM,CAAC,QAAQ,CAAC;IACrC,UAAU,GAAqB,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DT,EAAA;AACF,iBAAA;;sBASE;;sBACA;;sBACA;;sBACA;;sBACA;;sBACA;;sBACA;;sBACA;;sBAQA;;sBACA;;;AC1GH;;AAEG;;;;"}
|
|
@@ -29,8 +29,9 @@ class ExtraTieredMenuComponent {
|
|
|
29
29
|
}
|
|
30
30
|
applyActiveClass() {
|
|
31
31
|
const root = this.el.nativeElement;
|
|
32
|
-
root
|
|
33
|
-
.
|
|
32
|
+
root
|
|
33
|
+
.querySelectorAll('.p-tieredmenu-item-checked')
|
|
34
|
+
.forEach((el) => el.classList.remove('p-tieredmenu-item-checked'));
|
|
34
35
|
if (this.activeItemId) {
|
|
35
36
|
const active = root.querySelector(`#${CSS.escape(this.activeItemId)}`);
|
|
36
37
|
if (active) {
|
|
@@ -39,13 +40,7 @@ class ExtraTieredMenuComponent {
|
|
|
39
40
|
}
|
|
40
41
|
}
|
|
41
42
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: ExtraTieredMenuComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
42
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.15", type: ExtraTieredMenuComponent, isStandalone: true, selector: "extra-tieredmenu", inputs: { model: "model", autoDisplay: "autoDisplay", tabindex: "tabindex" }, host: { listeners: { "click": "onItemClick($event)" } }, ngImport: i0, template: `
|
|
43
|
-
<p-tieredmenu
|
|
44
|
-
[model]="model"
|
|
45
|
-
[autoDisplay]="autoDisplay"
|
|
46
|
-
[tabindex]="tabindex"
|
|
47
|
-
></p-tieredmenu>
|
|
48
|
-
`, isInline: true, dependencies: [{ kind: "component", type: TieredMenu, selector: "p-tieredMenu, p-tieredmenu, p-tiered-menu", inputs: ["model", "popup", "style", "styleClass", "breakpoint", "autoZIndex", "baseZIndex", "autoDisplay", "showTransitionOptions", "hideTransitionOptions", "id", "ariaLabel", "ariaLabelledBy", "disabled", "tabindex", "appendTo"], outputs: ["onShow", "onHide"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
43
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.15", type: ExtraTieredMenuComponent, isStandalone: true, selector: "extra-tieredmenu", inputs: { model: "model", autoDisplay: "autoDisplay", tabindex: "tabindex" }, host: { listeners: { "click": "onItemClick($event)" } }, ngImport: i0, template: ` <p-tieredmenu [model]="model" [autoDisplay]="autoDisplay" [tabindex]="tabindex"></p-tieredmenu> `, isInline: true, dependencies: [{ kind: "component", type: TieredMenu, selector: "p-tieredMenu, p-tieredmenu, p-tiered-menu", inputs: ["model", "popup", "style", "styleClass", "breakpoint", "autoZIndex", "baseZIndex", "autoDisplay", "showTransitionOptions", "hideTransitionOptions", "id", "ariaLabel", "ariaLabelledBy", "disabled", "tabindex", "appendTo"], outputs: ["onShow", "onHide"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
49
44
|
}
|
|
50
45
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: ExtraTieredMenuComponent, decorators: [{
|
|
51
46
|
type: Component,
|
|
@@ -54,13 +49,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImpo
|
|
|
54
49
|
standalone: true,
|
|
55
50
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
56
51
|
imports: [TieredMenu],
|
|
57
|
-
template: `
|
|
58
|
-
<p-tieredmenu
|
|
59
|
-
[model]="model"
|
|
60
|
-
[autoDisplay]="autoDisplay"
|
|
61
|
-
[tabindex]="tabindex"
|
|
62
|
-
></p-tieredmenu>
|
|
63
|
-
`,
|
|
52
|
+
template: ` <p-tieredmenu [model]="model" [autoDisplay]="autoDisplay" [tabindex]="tabindex"></p-tieredmenu> `
|
|
64
53
|
}]
|
|
65
54
|
}], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { model: [{
|
|
66
55
|
type: Input
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cdek-it-angular-ui-kit-components-tieredmenu.mjs","sources":["../../src/lib/components/tieredmenu/tieredmenu.component.ts","../../src/lib/components/tieredmenu/cdek-it-angular-ui-kit-components-tieredmenu.ts"],"sourcesContent":["import { AfterViewChecked, ChangeDetectionStrategy, Component, ElementRef, HostListener, Input } from '@angular/core';\nimport { TieredMenu } from 'primeng/tieredmenu';\nimport {
|
|
1
|
+
{"version":3,"file":"cdek-it-angular-ui-kit-components-tieredmenu.mjs","sources":["../../src/lib/components/tieredmenu/tieredmenu.component.ts","../../src/lib/components/tieredmenu/cdek-it-angular-ui-kit-components-tieredmenu.ts"],"sourcesContent":["import { AfterViewChecked, ChangeDetectionStrategy, Component, ElementRef, HostListener, Input } from '@angular/core';\nimport { TieredMenu } from 'primeng/tieredmenu';\nimport { ExtraMenuItem } from '@cdek-it/angular-ui-kit/shared';\n\n@Component({\n selector: 'extra-tieredmenu',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [TieredMenu],\n template: ` <p-tieredmenu [model]=\"model\" [autoDisplay]=\"autoDisplay\" [tabindex]=\"tabindex\"></p-tieredmenu> `\n})\nexport class ExtraTieredMenuComponent implements AfterViewChecked {\n @Input() model: ExtraMenuItem[] = [];\n @Input() autoDisplay = true;\n @Input() tabindex: number | undefined = undefined;\n\n private activeItemId: string | null = null;\n\n constructor(private readonly el: ElementRef<HTMLElement>) {}\n\n @HostListener('click', ['$event'])\n onItemClick(event: MouseEvent): void {\n const target = event.target as Element;\n const item = target.closest('.p-tieredmenu-item');\n if (!item) return;\n\n const hasSubmenu = item.querySelector(':scope > .p-tieredmenu-submenu, :scope > [class*=\"content-container\"]');\n if (hasSubmenu) return;\n\n this.activeItemId = item.id || null;\n this.applyActiveClass();\n }\n\n ngAfterViewChecked(): void {\n if (this.activeItemId) {\n this.applyActiveClass();\n }\n }\n\n private applyActiveClass(): void {\n const root = this.el.nativeElement;\n root\n .querySelectorAll<HTMLElement>('.p-tieredmenu-item-checked')\n .forEach((el) => el.classList.remove('p-tieredmenu-item-checked'));\n\n if (this.activeItemId) {\n const active = root.querySelector<HTMLElement>(`#${CSS.escape(this.activeItemId)}`);\n if (active) {\n active.classList.add('p-tieredmenu-item-checked');\n }\n }\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;MAWa,wBAAwB,CAAA;AAON,IAAA,EAAA;IANpB,KAAK,GAAoB,EAAE;IAC3B,WAAW,GAAG,IAAI;IAClB,QAAQ,GAAuB,SAAS;IAEzC,YAAY,GAAkB,IAAI;AAE1C,IAAA,WAAA,CAA6B,EAA2B,EAAA;QAA3B,IAAA,CAAA,EAAE,GAAF,EAAE;IAA4B;AAG3D,IAAA,WAAW,CAAC,KAAiB,EAAA;AAC3B,QAAA,MAAM,MAAM,GAAG,KAAK,CAAC,MAAiB;QACtC,MAAM,IAAI,GAAG,MAAM,CAAC,OAAO,CAAC,oBAAoB,CAAC;AACjD,QAAA,IAAI,CAAC,IAAI;YAAE;QAEX,MAAM,UAAU,GAAG,IAAI,CAAC,aAAa,CAAC,uEAAuE,CAAC;AAC9G,QAAA,IAAI,UAAU;YAAE;QAEhB,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,EAAE,IAAI,IAAI;QACnC,IAAI,CAAC,gBAAgB,EAAE;IACzB;IAEA,kBAAkB,GAAA;AAChB,QAAA,IAAI,IAAI,CAAC,YAAY,EAAE;YACrB,IAAI,CAAC,gBAAgB,EAAE;QACzB;IACF;IAEQ,gBAAgB,GAAA;AACtB,QAAA,MAAM,IAAI,GAAG,IAAI,CAAC,EAAE,CAAC,aAAa;QAClC;aACG,gBAAgB,CAAc,4BAA4B;AAC1D,aAAA,OAAO,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,2BAA2B,CAAC,CAAC;AAEpE,QAAA,IAAI,IAAI,CAAC,YAAY,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EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,kBAAkB;AAC5B,oBAAA,UAAU,EAAE,IAAI;oBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,OAAO,EAAE,CAAC,UAAU,CAAC;AACrB,oBAAA,QAAQ,EAAE,CAAA,iGAAA;AACX,iBAAA;;sBAEE;;sBACA;;sBACA;;sBAMA,YAAY;uBAAC,OAAO,EAAE,CAAC,QAAQ,CAAC;;;ACpBnC;;AAEG;;;;"}
|
|
@@ -1,10 +1,34 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { ContentChild, HostBinding, Input, Component } from '@angular/core';
|
|
2
|
+
import { Directive, TemplateRef, ContentChild, HostBinding, Input, Component } from '@angular/core';
|
|
3
3
|
import { Timeline } from 'primeng/timeline';
|
|
4
4
|
import * as i1 from 'primeng/api';
|
|
5
5
|
import { SharedModule } from 'primeng/api';
|
|
6
|
-
import {
|
|
6
|
+
import { NgTemplateOutlet } from '@angular/common';
|
|
7
7
|
|
|
8
|
+
class ExtraTimelineContentDirective {
|
|
9
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: ExtraTimelineContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
10
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.15", type: ExtraTimelineContentDirective, isStandalone: true, selector: "[extraTimelineContent]", ngImport: i0 });
|
|
11
|
+
}
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: ExtraTimelineContentDirective, decorators: [{
|
|
13
|
+
type: Directive,
|
|
14
|
+
args: [{ selector: '[extraTimelineContent]', standalone: true }]
|
|
15
|
+
}] });
|
|
16
|
+
class ExtraTimelineOppositeDirective {
|
|
17
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: ExtraTimelineOppositeDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
18
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.15", type: ExtraTimelineOppositeDirective, isStandalone: true, selector: "[extraTimelineOpposite]", ngImport: i0 });
|
|
19
|
+
}
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: ExtraTimelineOppositeDirective, decorators: [{
|
|
21
|
+
type: Directive,
|
|
22
|
+
args: [{ selector: '[extraTimelineOpposite]', standalone: true }]
|
|
23
|
+
}] });
|
|
24
|
+
class ExtraTimelineMarkerDirective {
|
|
25
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: ExtraTimelineMarkerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
26
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.15", type: ExtraTimelineMarkerDirective, isStandalone: true, selector: "[extraTimelineMarker]", ngImport: i0 });
|
|
27
|
+
}
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: ExtraTimelineMarkerDirective, decorators: [{
|
|
29
|
+
type: Directive,
|
|
30
|
+
args: [{ selector: '[extraTimelineMarker]', standalone: true }]
|
|
31
|
+
}] });
|
|
8
32
|
class ExtraTimelineComponent {
|
|
9
33
|
value = [];
|
|
10
34
|
align = 'left';
|
|
@@ -13,18 +37,18 @@ class ExtraTimelineComponent {
|
|
|
13
37
|
line = 'solid';
|
|
14
38
|
icon = '';
|
|
15
39
|
markerColor = '';
|
|
16
|
-
get dataLine() {
|
|
17
|
-
|
|
40
|
+
get dataLine() {
|
|
41
|
+
return this.line;
|
|
42
|
+
}
|
|
43
|
+
get markerColorVar() {
|
|
44
|
+
return this.markerColor || null;
|
|
45
|
+
}
|
|
18
46
|
contentTemplate;
|
|
19
47
|
oppositeTemplate;
|
|
20
48
|
markerTemplate;
|
|
21
49
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: ExtraTimelineComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
22
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
23
|
-
<p-timeline
|
|
24
|
-
[value]="value"
|
|
25
|
-
[align]="align"
|
|
26
|
-
[layout]="layout"
|
|
27
|
-
>
|
|
50
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.15", type: ExtraTimelineComponent, isStandalone: true, selector: "extra-timeline", inputs: { value: "value", align: "align", layout: "layout", showCaption: "showCaption", line: "line", icon: "icon", markerColor: "markerColor" }, host: { properties: { "attr.data-line": "this.dataLine", "style.--timeline-marker-color": "this.markerColorVar" } }, queries: [{ propertyName: "contentTemplate", first: true, predicate: ExtraTimelineContentDirective, descendants: true, read: TemplateRef }, { propertyName: "oppositeTemplate", first: true, predicate: ExtraTimelineOppositeDirective, descendants: true, read: TemplateRef }, { propertyName: "markerTemplate", first: true, predicate: ExtraTimelineMarkerDirective, descendants: true, read: TemplateRef }], ngImport: i0, template: `
|
|
51
|
+
<p-timeline [value]="value" [align]="align" [layout]="layout">
|
|
28
52
|
<ng-template pTemplate="content" let-event>
|
|
29
53
|
<ng-container
|
|
30
54
|
*ngTemplateOutlet="contentTemplate || defaultContent; context: { $implicit: event }"
|
|
@@ -32,43 +56,41 @@ class ExtraTimelineComponent {
|
|
|
32
56
|
</ng-template>
|
|
33
57
|
|
|
34
58
|
<ng-template pTemplate="opposite" let-event>
|
|
35
|
-
|
|
36
|
-
|
|
59
|
+
@if (showCaption) {
|
|
60
|
+
@if (oppositeTemplate) {
|
|
37
61
|
<ng-container *ngTemplateOutlet="oppositeTemplate; context: { $implicit: event }"></ng-container>
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
62
|
+
} @else {
|
|
63
|
+
<span> </span>
|
|
64
|
+
}
|
|
65
|
+
}
|
|
41
66
|
</ng-template>
|
|
42
67
|
|
|
43
|
-
|
|
44
|
-
<ng-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
68
|
+
@if (markerTemplate || icon) {
|
|
69
|
+
<ng-template pTemplate="marker" let-event>
|
|
70
|
+
@if (markerTemplate) {
|
|
71
|
+
<ng-container *ngTemplateOutlet="markerTemplate; context: { $implicit: event }"></ng-container>
|
|
72
|
+
} @else {
|
|
73
|
+
<span class="p-timeline-event-marker">
|
|
74
|
+
<i [class]="icon"></i>
|
|
75
|
+
</span>
|
|
76
|
+
}
|
|
51
77
|
</ng-template>
|
|
52
|
-
|
|
78
|
+
}
|
|
53
79
|
</p-timeline>
|
|
54
80
|
|
|
55
81
|
<ng-template #defaultContent let-event>
|
|
56
82
|
{{ event }}
|
|
57
83
|
</ng-template>
|
|
58
|
-
`, isInline: true, dependencies: [{ kind: "component", type: Timeline, selector: "p-timeline", inputs: ["value", "styleClass", "align", "layout"] }, { kind: "ngmodule", type: SharedModule }, { kind: "directive", type: i1.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "directive", type:
|
|
84
|
+
`, isInline: true, dependencies: [{ kind: "component", type: Timeline, selector: "p-timeline", inputs: ["value", "styleClass", "align", "layout"] }, { kind: "ngmodule", type: SharedModule }, { kind: "directive", type: i1.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
59
85
|
}
|
|
60
86
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: ExtraTimelineComponent, decorators: [{
|
|
61
87
|
type: Component,
|
|
62
88
|
args: [{
|
|
63
89
|
selector: 'extra-timeline',
|
|
64
90
|
standalone: true,
|
|
65
|
-
imports: [Timeline, SharedModule,
|
|
91
|
+
imports: [Timeline, SharedModule, NgTemplateOutlet],
|
|
66
92
|
template: `
|
|
67
|
-
<p-timeline
|
|
68
|
-
[value]="value"
|
|
69
|
-
[align]="align"
|
|
70
|
-
[layout]="layout"
|
|
71
|
-
>
|
|
93
|
+
<p-timeline [value]="value" [align]="align" [layout]="layout">
|
|
72
94
|
<ng-template pTemplate="content" let-event>
|
|
73
95
|
<ng-container
|
|
74
96
|
*ngTemplateOutlet="contentTemplate || defaultContent; context: { $implicit: event }"
|
|
@@ -76,30 +98,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImpo
|
|
|
76
98
|
</ng-template>
|
|
77
99
|
|
|
78
100
|
<ng-template pTemplate="opposite" let-event>
|
|
79
|
-
|
|
80
|
-
|
|
101
|
+
@if (showCaption) {
|
|
102
|
+
@if (oppositeTemplate) {
|
|
81
103
|
<ng-container *ngTemplateOutlet="oppositeTemplate; context: { $implicit: event }"></ng-container>
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
104
|
+
} @else {
|
|
105
|
+
<span> </span>
|
|
106
|
+
}
|
|
107
|
+
}
|
|
85
108
|
</ng-template>
|
|
86
109
|
|
|
87
|
-
|
|
88
|
-
<ng-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
110
|
+
@if (markerTemplate || icon) {
|
|
111
|
+
<ng-template pTemplate="marker" let-event>
|
|
112
|
+
@if (markerTemplate) {
|
|
113
|
+
<ng-container *ngTemplateOutlet="markerTemplate; context: { $implicit: event }"></ng-container>
|
|
114
|
+
} @else {
|
|
115
|
+
<span class="p-timeline-event-marker">
|
|
116
|
+
<i [class]="icon"></i>
|
|
117
|
+
</span>
|
|
118
|
+
}
|
|
95
119
|
</ng-template>
|
|
96
|
-
|
|
120
|
+
}
|
|
97
121
|
</p-timeline>
|
|
98
122
|
|
|
99
123
|
<ng-template #defaultContent let-event>
|
|
100
124
|
{{ event }}
|
|
101
125
|
</ng-template>
|
|
102
|
-
|
|
126
|
+
`
|
|
103
127
|
}]
|
|
104
128
|
}], propDecorators: { value: [{
|
|
105
129
|
type: Input
|
|
@@ -123,18 +147,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImpo
|
|
|
123
147
|
args: ['style.--timeline-marker-color']
|
|
124
148
|
}], contentTemplate: [{
|
|
125
149
|
type: ContentChild,
|
|
126
|
-
args: [
|
|
150
|
+
args: [ExtraTimelineContentDirective, { read: TemplateRef }]
|
|
127
151
|
}], oppositeTemplate: [{
|
|
128
152
|
type: ContentChild,
|
|
129
|
-
args: [
|
|
153
|
+
args: [ExtraTimelineOppositeDirective, { read: TemplateRef }]
|
|
130
154
|
}], markerTemplate: [{
|
|
131
155
|
type: ContentChild,
|
|
132
|
-
args: [
|
|
156
|
+
args: [ExtraTimelineMarkerDirective, { read: TemplateRef }]
|
|
133
157
|
}] } });
|
|
134
158
|
|
|
135
159
|
/**
|
|
136
160
|
* Generated bundle index. Do not edit.
|
|
137
161
|
*/
|
|
138
162
|
|
|
139
|
-
export { ExtraTimelineComponent };
|
|
163
|
+
export { ExtraTimelineComponent, ExtraTimelineContentDirective, ExtraTimelineMarkerDirective, ExtraTimelineOppositeDirective };
|
|
140
164
|
//# sourceMappingURL=cdek-it-angular-ui-kit-components-timeline.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cdek-it-angular-ui-kit-components-timeline.mjs","sources":["../../src/lib/components/timeline/timeline.component.ts","../../src/lib/components/timeline/cdek-it-angular-ui-kit-components-timeline.ts"],"sourcesContent":["import { Component,
|
|
1
|
+
{"version":3,"file":"cdek-it-angular-ui-kit-components-timeline.mjs","sources":["../../src/lib/components/timeline/timeline.component.ts","../../src/lib/components/timeline/cdek-it-angular-ui-kit-components-timeline.ts"],"sourcesContent":["import { Component, ContentChild, Directive, HostBinding, Input, TemplateRef } from '@angular/core';\nimport { Timeline } from 'primeng/timeline';\nimport { SharedModule } from 'primeng/api';\nimport { NgTemplateOutlet } from '@angular/common';\n\nexport type ExtraTimelineLine = 'solid' | 'dashed' | 'dotted' | 'none';\n\n@Directive({ selector: '[extraTimelineContent]', standalone: true })\nexport class ExtraTimelineContentDirective {}\n\n@Directive({ selector: '[extraTimelineOpposite]', standalone: true })\nexport class ExtraTimelineOppositeDirective {}\n\n@Directive({ selector: '[extraTimelineMarker]', standalone: true })\nexport class ExtraTimelineMarkerDirective {}\n\n@Component({\n selector: 'extra-timeline',\n standalone: true,\n imports: [Timeline, SharedModule, NgTemplateOutlet],\n template: `\n <p-timeline [value]=\"value\" [align]=\"align\" [layout]=\"layout\">\n <ng-template pTemplate=\"content\" let-event>\n <ng-container\n *ngTemplateOutlet=\"contentTemplate || defaultContent; context: { $implicit: event }\"\n ></ng-container>\n </ng-template>\n\n <ng-template pTemplate=\"opposite\" let-event>\n @if (showCaption) {\n @if (oppositeTemplate) {\n <ng-container *ngTemplateOutlet=\"oppositeTemplate; context: { $implicit: event }\"></ng-container>\n } @else {\n <span> </span>\n }\n }\n </ng-template>\n\n @if (markerTemplate || icon) {\n <ng-template pTemplate=\"marker\" let-event>\n @if (markerTemplate) {\n <ng-container *ngTemplateOutlet=\"markerTemplate; context: { $implicit: event }\"></ng-container>\n } @else {\n <span class=\"p-timeline-event-marker\">\n <i [class]=\"icon\"></i>\n </span>\n }\n </ng-template>\n }\n </p-timeline>\n\n <ng-template #defaultContent let-event>\n {{ event }}\n </ng-template>\n `\n})\nexport class ExtraTimelineComponent {\n @Input() value: any[] = [];\n @Input() align: 'left' | 'right' | 'alternate' | 'top' | 'bottom' = 'left';\n @Input() layout: 'vertical' | 'horizontal' = 'vertical';\n @Input() showCaption: boolean = true;\n @Input() line: ExtraTimelineLine = 'solid';\n @Input() icon = '';\n @Input() markerColor = '';\n\n @HostBinding('attr.data-line') get dataLine() {\n return this.line;\n }\n @HostBinding('style.--timeline-marker-color') get markerColorVar() {\n return this.markerColor || null;\n }\n\n @ContentChild(ExtraTimelineContentDirective, { read: TemplateRef }) contentTemplate?: TemplateRef<any>;\n @ContentChild(ExtraTimelineOppositeDirective, { read: TemplateRef }) oppositeTemplate?: TemplateRef<any>;\n @ContentChild(ExtraTimelineMarkerDirective, { read: TemplateRef }) markerTemplate?: TemplateRef<any>;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;MAQa,6BAA6B,CAAA;wGAA7B,6BAA6B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;4FAA7B,6BAA6B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,wBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;4FAA7B,6BAA6B,EAAA,UAAA,EAAA,CAAA;kBADzC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA,EAAE,QAAQ,EAAE,wBAAwB,EAAE,UAAU,EAAE,IAAI,EAAE;;MAItD,8BAA8B,CAAA;wGAA9B,8BAA8B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;4FAA9B,8BAA8B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,yBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;4FAA9B,8BAA8B,EAAA,UAAA,EAAA,CAAA;kBAD1C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA,EAAE,QAAQ,EAAE,yBAAyB,EAAE,UAAU,EAAE,IAAI,EAAE;;MAIvD,4BAA4B,CAAA;wGAA5B,4BAA4B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;4FAA5B,4BAA4B,EAA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