@fylib/adapter-angular 0.2.5 → 0.2.8
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/dist/components/accordion.component.d.ts +3 -0
- package/dist/components/accordion.component.js +105 -194
- package/dist/components/badge.component.d.ts +3 -0
- package/dist/components/badge.component.js +30 -81
- package/dist/components/button.component.d.ts +3 -0
- package/dist/components/button.component.js +79 -194
- package/dist/components/card.component.d.ts +3 -0
- package/dist/components/card.component.js +76 -147
- package/dist/components/chart.component.d.ts +3 -0
- package/dist/components/chart.component.js +81 -141
- package/dist/components/icon.component.d.ts +3 -0
- package/dist/components/icon.component.js +39 -62
- package/dist/components/input.component.d.ts +3 -0
- package/dist/components/input.component.js +120 -221
- package/dist/components/modal.component.d.ts +3 -0
- package/dist/components/modal.component.js +121 -247
- package/dist/components/nav-link.component.d.ts +3 -0
- package/dist/components/nav-link.component.js +43 -92
- package/dist/components/notification-menu.component.d.ts +3 -0
- package/dist/components/notification-menu.component.js +205 -367
- package/dist/components/select.component.d.ts +3 -0
- package/dist/components/select.component.js +116 -188
- package/dist/components/table.component.d.ts +3 -0
- package/dist/components/table.component.js +235 -332
- package/dist/components/text.component.d.ts +3 -0
- package/dist/components/text.component.js +22 -32
- package/dist/components/toast.component.d.ts +3 -0
- package/dist/components/toast.component.js +58 -163
- package/dist/directives/animation.directive.d.ts +3 -0
- package/dist/directives/animation.directive.js +15 -22
- package/dist/directives/theme-vars.directive.d.ts +3 -0
- package/dist/directives/theme-vars.directive.js +12 -19
- package/dist/directives/wallpaper.directive.d.ts +3 -0
- package/dist/directives/wallpaper.directive.js +19 -31
- package/dist/layouts/layout.component.d.ts +3 -0
- package/dist/layouts/layout.component.js +36 -130
- package/dist/layouts/slot.component.d.ts +3 -0
- package/dist/layouts/slot.component.js +240 -596
- package/dist/services/fylib.service.d.ts +3 -0
- package/dist/services/fylib.service.js +19 -26
- package/dist/services/notification.service.d.ts +3 -0
- package/dist/services/notification.service.js +13 -16
- package/dist/services/sse.service.d.ts +3 -0
- package/dist/services/sse.service.js +11 -18
- package/dist/services/webclient.service.d.ts +3 -0
- package/dist/services/webclient.service.js +9 -12
- package/package.json +7 -6
|
@@ -1,12 +1,3 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
-
};
|
|
10
1
|
import { Component, Input, Output, EventEmitter, ViewEncapsulation, HostBinding, inject } from '@angular/core';
|
|
11
2
|
import { CommonModule } from '@angular/common';
|
|
12
3
|
import { InputDefinition } from '@fylib/catalog';
|
|
@@ -14,7 +5,8 @@ import { FyIconComponent } from './icon.component';
|
|
|
14
5
|
import { resolveAnimationsActive } from '../base/interaction.utils';
|
|
15
6
|
import { BaseFyComponent } from '../base/base-component';
|
|
16
7
|
import { logger } from '@fylib/logger';
|
|
17
|
-
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export class FyInputComponent extends BaseFyComponent {
|
|
18
10
|
get animationsDisabled() {
|
|
19
11
|
return !this.isAnimationsActive(this.activeAnimations);
|
|
20
12
|
}
|
|
@@ -127,143 +119,9 @@ let FyInputComponent = class FyInputComponent extends BaseFyComponent {
|
|
|
127
119
|
}
|
|
128
120
|
return out;
|
|
129
121
|
}
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
__metadata("design:type", String)
|
|
134
|
-
], FyInputComponent.prototype, "value", void 0);
|
|
135
|
-
__decorate([
|
|
136
|
-
Input(),
|
|
137
|
-
__metadata("design:type", String)
|
|
138
|
-
], FyInputComponent.prototype, "placeholder", void 0);
|
|
139
|
-
__decorate([
|
|
140
|
-
Input(),
|
|
141
|
-
__metadata("design:type", Object)
|
|
142
|
-
], FyInputComponent.prototype, "type", void 0);
|
|
143
|
-
__decorate([
|
|
144
|
-
Input(),
|
|
145
|
-
__metadata("design:type", Boolean)
|
|
146
|
-
], FyInputComponent.prototype, "disabled", void 0);
|
|
147
|
-
__decorate([
|
|
148
|
-
Input(),
|
|
149
|
-
__metadata("design:type", Boolean)
|
|
150
|
-
], FyInputComponent.prototype, "readonly", void 0);
|
|
151
|
-
__decorate([
|
|
152
|
-
Input(),
|
|
153
|
-
__metadata("design:type", String)
|
|
154
|
-
], FyInputComponent.prototype, "mask", void 0);
|
|
155
|
-
__decorate([
|
|
156
|
-
Input(),
|
|
157
|
-
__metadata("design:type", Boolean)
|
|
158
|
-
], FyInputComponent.prototype, "showPasswordToggle", void 0);
|
|
159
|
-
__decorate([
|
|
160
|
-
Input(),
|
|
161
|
-
__metadata("design:type", String)
|
|
162
|
-
], FyInputComponent.prototype, "iconLeft", void 0);
|
|
163
|
-
__decorate([
|
|
164
|
-
Input(),
|
|
165
|
-
__metadata("design:type", String)
|
|
166
|
-
], FyInputComponent.prototype, "iconRight", void 0);
|
|
167
|
-
__decorate([
|
|
168
|
-
Input(),
|
|
169
|
-
__metadata("design:type", String)
|
|
170
|
-
], FyInputComponent.prototype, "iconLeftName", void 0);
|
|
171
|
-
__decorate([
|
|
172
|
-
Input(),
|
|
173
|
-
__metadata("design:type", String)
|
|
174
|
-
], FyInputComponent.prototype, "iconRightName", void 0);
|
|
175
|
-
__decorate([
|
|
176
|
-
Input(),
|
|
177
|
-
__metadata("design:type", Object)
|
|
178
|
-
], FyInputComponent.prototype, "size", void 0);
|
|
179
|
-
__decorate([
|
|
180
|
-
Input(),
|
|
181
|
-
__metadata("design:type", Object)
|
|
182
|
-
], FyInputComponent.prototype, "status", void 0);
|
|
183
|
-
__decorate([
|
|
184
|
-
Input(),
|
|
185
|
-
__metadata("design:type", Object)
|
|
186
|
-
], FyInputComponent.prototype, "activeAnimations", void 0);
|
|
187
|
-
__decorate([
|
|
188
|
-
Input(),
|
|
189
|
-
__metadata("design:type", Object)
|
|
190
|
-
], FyInputComponent.prototype, "activeEffects", void 0);
|
|
191
|
-
__decorate([
|
|
192
|
-
Input(),
|
|
193
|
-
__metadata("design:type", Object)
|
|
194
|
-
], FyInputComponent.prototype, "customStyles", void 0);
|
|
195
|
-
__decorate([
|
|
196
|
-
Input(),
|
|
197
|
-
__metadata("design:type", String)
|
|
198
|
-
], FyInputComponent.prototype, "focusAnimation", void 0);
|
|
199
|
-
__decorate([
|
|
200
|
-
Input(),
|
|
201
|
-
__metadata("design:type", String)
|
|
202
|
-
], FyInputComponent.prototype, "successAnimation", void 0);
|
|
203
|
-
__decorate([
|
|
204
|
-
Input(),
|
|
205
|
-
__metadata("design:type", String)
|
|
206
|
-
], FyInputComponent.prototype, "errorAnimation", void 0);
|
|
207
|
-
__decorate([
|
|
208
|
-
Input(),
|
|
209
|
-
__metadata("design:type", String)
|
|
210
|
-
], FyInputComponent.prototype, "focusEffect", void 0);
|
|
211
|
-
__decorate([
|
|
212
|
-
Input(),
|
|
213
|
-
__metadata("design:type", String)
|
|
214
|
-
], FyInputComponent.prototype, "successEffect", void 0);
|
|
215
|
-
__decorate([
|
|
216
|
-
Input(),
|
|
217
|
-
__metadata("design:type", String)
|
|
218
|
-
], FyInputComponent.prototype, "errorEffect", void 0);
|
|
219
|
-
__decorate([
|
|
220
|
-
Input(),
|
|
221
|
-
__metadata("design:type", Function)
|
|
222
|
-
], FyInputComponent.prototype, "onInput", void 0);
|
|
223
|
-
__decorate([
|
|
224
|
-
Input(),
|
|
225
|
-
__metadata("design:type", Function)
|
|
226
|
-
], FyInputComponent.prototype, "onChange", void 0);
|
|
227
|
-
__decorate([
|
|
228
|
-
Input(),
|
|
229
|
-
__metadata("design:type", Function)
|
|
230
|
-
], FyInputComponent.prototype, "onFocus", void 0);
|
|
231
|
-
__decorate([
|
|
232
|
-
Input(),
|
|
233
|
-
__metadata("design:type", Function)
|
|
234
|
-
], FyInputComponent.prototype, "onBlur", void 0);
|
|
235
|
-
__decorate([
|
|
236
|
-
Output(),
|
|
237
|
-
__metadata("design:type", Object)
|
|
238
|
-
], FyInputComponent.prototype, "fyInput", void 0);
|
|
239
|
-
__decorate([
|
|
240
|
-
Output(),
|
|
241
|
-
__metadata("design:type", Object)
|
|
242
|
-
], FyInputComponent.prototype, "fyChange", void 0);
|
|
243
|
-
__decorate([
|
|
244
|
-
Output(),
|
|
245
|
-
__metadata("design:type", Object)
|
|
246
|
-
], FyInputComponent.prototype, "fyFocus", void 0);
|
|
247
|
-
__decorate([
|
|
248
|
-
Output(),
|
|
249
|
-
__metadata("design:type", Object)
|
|
250
|
-
], FyInputComponent.prototype, "fyBlur", void 0);
|
|
251
|
-
__decorate([
|
|
252
|
-
HostBinding('class.fy-animations-disabled'),
|
|
253
|
-
__metadata("design:type", Boolean),
|
|
254
|
-
__metadata("design:paramtypes", [])
|
|
255
|
-
], FyInputComponent.prototype, "animationsDisabled", null);
|
|
256
|
-
__decorate([
|
|
257
|
-
HostBinding('style'),
|
|
258
|
-
__metadata("design:type", String),
|
|
259
|
-
__metadata("design:paramtypes", [])
|
|
260
|
-
], FyInputComponent.prototype, "hostStyles", null);
|
|
261
|
-
FyInputComponent = __decorate([
|
|
262
|
-
Component({
|
|
263
|
-
selector: 'fy-input',
|
|
264
|
-
standalone: true,
|
|
265
|
-
imports: [CommonModule, FyIconComponent],
|
|
266
|
-
template: `
|
|
122
|
+
}
|
|
123
|
+
FyInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.7", ngImport: i0, type: FyInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
124
|
+
FyInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.7", type: FyInputComponent, isStandalone: true, selector: "fy-input", inputs: { value: "value", placeholder: "placeholder", type: "type", disabled: "disabled", readonly: "readonly", mask: "mask", showPasswordToggle: "showPasswordToggle", iconLeft: "iconLeft", iconRight: "iconRight", iconLeftName: "iconLeftName", iconRightName: "iconRightName", size: "size", status: "status", activeAnimations: "activeAnimations", activeEffects: "activeEffects", customStyles: "customStyles", focusAnimation: "focusAnimation", successAnimation: "successAnimation", errorAnimation: "errorAnimation", focusEffect: "focusEffect", successEffect: "successEffect", errorEffect: "errorEffect", onInput: "onInput", onChange: "onChange", onFocus: "onFocus", onBlur: "onBlur" }, outputs: { fyInput: "fyInput", fyChange: "fyChange", fyFocus: "fyFocus", fyBlur: "fyBlur" }, host: { properties: { "class.fy-animations-disabled": "this.animationsDisabled", "style": "this.hostStyles" } }, usesInheritance: true, ngImport: i0, template: `
|
|
267
125
|
<div
|
|
268
126
|
class="fy-input"
|
|
269
127
|
[class.fy-input--with-left]="iconLeft || iconLeftName"
|
|
@@ -307,77 +165,118 @@ FyInputComponent = __decorate([
|
|
|
307
165
|
<span class="fy-input__icon fy-input__icon--right" [class]="iconRight"></span>
|
|
308
166
|
}
|
|
309
167
|
</div>
|
|
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
|
-
.fy-input__field::placeholder {
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
],
|
|
383
|
-
|
|
168
|
+
`, isInline: true, styles: ["\n .fy-input {\n position: relative;\n display: inline-flex;\n align-items: center;\n width: 100%;\n max-width: 100%;\n border: var(--fy-effects-input-borderWidth, 1px) solid var(--fy-effects-input-borderColor, rgba(0,0,0,0.15));\n background: var(--fy-effects-input-background, #fff);\n border-radius: var(--fy-effects-input-borderRadius, var(--fy-borderRadius-md));\n box-shadow: var(--fy-effects-input-shadow, none);\n transition: box-shadow .2s ease, border-color .2s ease, background-color .2s ease;\n color: var(--fy-colors-textOverlay, var(--fy-colors-text));\n min-height: 36px;\n padding: 0 10px;\n gap: 6px;\n }\n\n .fy-animations-disabled, .fy-animations-disabled * {\n transition: none !important;\n animation: none !important;\n }\n\n .fy-input--sm { min-height: 30px; border-radius: var(--fy-borderRadius-sm); }\n .fy-input--lg { min-height: 42px; border-radius: var(--fy-borderRadius-lg); }\n\n .fy-input--status-success {\n border-color: var(--fy-colors-success, #22c55e);\n background: rgba(34, 197, 94, 0.04);\n }\n\n .fy-input--status-error {\n border-color: var(--fy-colors-danger, #ef4444);\n background: rgba(239, 68, 68, 0.04);\n }\n\n .fy-input__field {\n flex: 1 1 auto;\n border: 0;\n outline: 0;\n background: transparent;\n font: inherit;\n color: inherit;\n min-width: 0;\n height: 100%;\n }\n .fy-input__field::placeholder {\n color: var(--fy-effects-input-placeholderColor, #6b7280);\n opacity: .8;\n }\n\n .fy-input__icon {\n width: 16px;\n height: 16px;\n opacity: .9;\n flex: 0 0 auto;\n color: var(--fy-effects-input-icons-color, currentColor);\n }\n\n .fy-input__toggle {\n width: 20px;\n height: 20px;\n border: 0;\n background: transparent;\n cursor: pointer;\n flex: 0 0 auto;\n }\n "], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: FyIconComponent, selector: "fy-icon", inputs: ["name", "size", "color", "strokeWidth", "variant", "set"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
169
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.7", ngImport: i0, type: FyInputComponent, decorators: [{
|
|
170
|
+
type: Component,
|
|
171
|
+
args: [{ selector: 'fy-input', standalone: true, imports: [CommonModule, FyIconComponent], template: `
|
|
172
|
+
<div
|
|
173
|
+
class="fy-input"
|
|
174
|
+
[class.fy-input--with-left]="iconLeft || iconLeftName"
|
|
175
|
+
[class.fy-input--with-right]="iconRight || iconRightName"
|
|
176
|
+
[class.fy-input--sm]="size === 'sm'"
|
|
177
|
+
[class.fy-input--lg]="size === 'lg'"
|
|
178
|
+
[class.fy-input--status-success]="status === 'success'"
|
|
179
|
+
[class.fy-input--status-error]="status === 'error'"
|
|
180
|
+
[class]="animationClassSuffix"
|
|
181
|
+
>
|
|
182
|
+
@if (iconLeftName) {
|
|
183
|
+
<fy-icon class="fy-input__icon fy-input__icon--left" [name]="iconLeftName"></fy-icon>
|
|
184
|
+
} @else if (iconLeft) {
|
|
185
|
+
<span class="fy-input__icon fy-input__icon--left" [class]="iconLeft"></span>
|
|
186
|
+
}
|
|
187
|
+
<input
|
|
188
|
+
class="fy-input__field"
|
|
189
|
+
[attr.type]="visibleType"
|
|
190
|
+
[attr.placeholder]="placeholder || null"
|
|
191
|
+
[disabled]="disabled"
|
|
192
|
+
[readOnly]="readonly"
|
|
193
|
+
[value]="value ?? ''"
|
|
194
|
+
[attr.aria-invalid]="status === 'error'"
|
|
195
|
+
[attr.aria-label]="placeholder"
|
|
196
|
+
(input)="onInputHandler($event)"
|
|
197
|
+
(change)="onChangeHandler($event)"
|
|
198
|
+
(focus)="onFocusHandler()"
|
|
199
|
+
(blur)="onBlurHandler()"
|
|
200
|
+
/>
|
|
201
|
+
@if (type === 'password' && showPasswordToggle) {
|
|
202
|
+
<button
|
|
203
|
+
type="button"
|
|
204
|
+
class="fy-input__toggle"
|
|
205
|
+
(click)="togglePassword()"
|
|
206
|
+
[attr.aria-label]="visibleType === 'password' ? 'Mostrar senha' : 'Ocultar senha'"
|
|
207
|
+
></button>
|
|
208
|
+
}
|
|
209
|
+
@if (iconRightName) {
|
|
210
|
+
<fy-icon class="fy-input__icon fy-input__icon--right" [name]="iconRightName"></fy-icon>
|
|
211
|
+
} @else if (iconRight) {
|
|
212
|
+
<span class="fy-input__icon fy-input__icon--right" [class]="iconRight"></span>
|
|
213
|
+
}
|
|
214
|
+
</div>
|
|
215
|
+
`, encapsulation: ViewEncapsulation.None, styles: ["\n .fy-input {\n position: relative;\n display: inline-flex;\n align-items: center;\n width: 100%;\n max-width: 100%;\n border: var(--fy-effects-input-borderWidth, 1px) solid var(--fy-effects-input-borderColor, rgba(0,0,0,0.15));\n background: var(--fy-effects-input-background, #fff);\n border-radius: var(--fy-effects-input-borderRadius, var(--fy-borderRadius-md));\n box-shadow: var(--fy-effects-input-shadow, none);\n transition: box-shadow .2s ease, border-color .2s ease, background-color .2s ease;\n color: var(--fy-colors-textOverlay, var(--fy-colors-text));\n min-height: 36px;\n padding: 0 10px;\n gap: 6px;\n }\n\n .fy-animations-disabled, .fy-animations-disabled * {\n transition: none !important;\n animation: none !important;\n }\n\n .fy-input--sm { min-height: 30px; border-radius: var(--fy-borderRadius-sm); }\n .fy-input--lg { min-height: 42px; border-radius: var(--fy-borderRadius-lg); }\n\n .fy-input--status-success {\n border-color: var(--fy-colors-success, #22c55e);\n background: rgba(34, 197, 94, 0.04);\n }\n\n .fy-input--status-error {\n border-color: var(--fy-colors-danger, #ef4444);\n background: rgba(239, 68, 68, 0.04);\n }\n\n .fy-input__field {\n flex: 1 1 auto;\n border: 0;\n outline: 0;\n background: transparent;\n font: inherit;\n color: inherit;\n min-width: 0;\n height: 100%;\n }\n .fy-input__field::placeholder {\n color: var(--fy-effects-input-placeholderColor, #6b7280);\n opacity: .8;\n }\n\n .fy-input__icon {\n width: 16px;\n height: 16px;\n opacity: .9;\n flex: 0 0 auto;\n color: var(--fy-effects-input-icons-color, currentColor);\n }\n\n .fy-input__toggle {\n width: 20px;\n height: 20px;\n border: 0;\n background: transparent;\n cursor: pointer;\n flex: 0 0 auto;\n }\n "] }]
|
|
216
|
+
}], ctorParameters: () => [], propDecorators: { value: [{
|
|
217
|
+
type: Input
|
|
218
|
+
}], placeholder: [{
|
|
219
|
+
type: Input
|
|
220
|
+
}], type: [{
|
|
221
|
+
type: Input
|
|
222
|
+
}], disabled: [{
|
|
223
|
+
type: Input
|
|
224
|
+
}], readonly: [{
|
|
225
|
+
type: Input
|
|
226
|
+
}], mask: [{
|
|
227
|
+
type: Input
|
|
228
|
+
}], showPasswordToggle: [{
|
|
229
|
+
type: Input
|
|
230
|
+
}], iconLeft: [{
|
|
231
|
+
type: Input
|
|
232
|
+
}], iconRight: [{
|
|
233
|
+
type: Input
|
|
234
|
+
}], iconLeftName: [{
|
|
235
|
+
type: Input
|
|
236
|
+
}], iconRightName: [{
|
|
237
|
+
type: Input
|
|
238
|
+
}], size: [{
|
|
239
|
+
type: Input
|
|
240
|
+
}], status: [{
|
|
241
|
+
type: Input
|
|
242
|
+
}], activeAnimations: [{
|
|
243
|
+
type: Input
|
|
244
|
+
}], activeEffects: [{
|
|
245
|
+
type: Input
|
|
246
|
+
}], customStyles: [{
|
|
247
|
+
type: Input
|
|
248
|
+
}], focusAnimation: [{
|
|
249
|
+
type: Input
|
|
250
|
+
}], successAnimation: [{
|
|
251
|
+
type: Input
|
|
252
|
+
}], errorAnimation: [{
|
|
253
|
+
type: Input
|
|
254
|
+
}], focusEffect: [{
|
|
255
|
+
type: Input
|
|
256
|
+
}], successEffect: [{
|
|
257
|
+
type: Input
|
|
258
|
+
}], errorEffect: [{
|
|
259
|
+
type: Input
|
|
260
|
+
}], onInput: [{
|
|
261
|
+
type: Input
|
|
262
|
+
}], onChange: [{
|
|
263
|
+
type: Input
|
|
264
|
+
}], onFocus: [{
|
|
265
|
+
type: Input
|
|
266
|
+
}], onBlur: [{
|
|
267
|
+
type: Input
|
|
268
|
+
}], fyInput: [{
|
|
269
|
+
type: Output
|
|
270
|
+
}], fyChange: [{
|
|
271
|
+
type: Output
|
|
272
|
+
}], fyFocus: [{
|
|
273
|
+
type: Output
|
|
274
|
+
}], fyBlur: [{
|
|
275
|
+
type: Output
|
|
276
|
+
}], animationsDisabled: [{
|
|
277
|
+
type: HostBinding,
|
|
278
|
+
args: ['class.fy-animations-disabled']
|
|
279
|
+
}], hostStyles: [{
|
|
280
|
+
type: HostBinding,
|
|
281
|
+
args: ['style']
|
|
282
|
+
}] } });
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { ModalProps } from '@fylib/catalog';
|
|
3
3
|
import { BaseFyComponent, FyComponentBaseInputs } from '../base/base-component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class FyModalComponent extends BaseFyComponent<'fy-modal'> implements ModalProps, FyComponentBaseInputs, OnChanges {
|
|
5
6
|
visible: boolean;
|
|
6
7
|
title?: string;
|
|
@@ -43,4 +44,6 @@ export declare class FyModalComponent extends BaseFyComponent<'fy-modal'> implem
|
|
|
43
44
|
handleCancel(): void;
|
|
44
45
|
onBackdropClick(): void;
|
|
45
46
|
onKeydown(event: KeyboardEvent): void;
|
|
47
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FyModalComponent, never>;
|
|
48
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FyModalComponent, "fy-modal", never, { "visible": { "alias": "visible"; "required": false; }; "title": { "alias": "title"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "content": { "alias": "content"; "required": false; }; "size": { "alias": "size"; "required": false; }; "position": { "alias": "position"; "required": false; }; "status": { "alias": "status"; "required": false; }; "closable": { "alias": "closable"; "required": false; }; "closeOnEscape": { "alias": "closeOnEscape"; "required": false; }; "closeOnBackdrop": { "alias": "closeOnBackdrop"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "showFooter": { "alias": "showFooter"; "required": false; }; "showConfirmButton": { "alias": "showConfirmButton"; "required": false; }; "showCancelButton": { "alias": "showCancelButton"; "required": false; }; "confirmText": { "alias": "confirmText"; "required": false; }; "cancelText": { "alias": "cancelText"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "centered": { "alias": "centered"; "required": false; }; "blockScroll": { "alias": "blockScroll"; "required": false; }; "draggable": { "alias": "draggable"; "required": false; }; "resizable": { "alias": "resizable"; "required": false; }; "activeAnimations": { "alias": "activeAnimations"; "required": false; }; "activeEffects": { "alias": "activeEffects"; "required": false; }; "customStyles": { "alias": "customStyles"; "required": false; }; "onOpen": { "alias": "onOpen"; "required": false; }; "onClose": { "alias": "onClose"; "required": false; }; "onConfirm": { "alias": "onConfirm"; "required": false; }; "onCancel": { "alias": "onCancel"; "required": false; }; }, { "fyOpen": "fyOpen"; "fyClose": "fyClose"; "fyConfirm": "fyConfirm"; "fyCancel": "fyCancel"; }, never, ["*"], true, never>;
|
|
46
49
|
}
|