@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.
Files changed (47) hide show
  1. package/dist/components/accordion.component.d.ts +3 -0
  2. package/dist/components/accordion.component.js +105 -194
  3. package/dist/components/badge.component.d.ts +3 -0
  4. package/dist/components/badge.component.js +30 -81
  5. package/dist/components/button.component.d.ts +3 -0
  6. package/dist/components/button.component.js +79 -194
  7. package/dist/components/card.component.d.ts +3 -0
  8. package/dist/components/card.component.js +76 -147
  9. package/dist/components/chart.component.d.ts +3 -0
  10. package/dist/components/chart.component.js +81 -141
  11. package/dist/components/icon.component.d.ts +3 -0
  12. package/dist/components/icon.component.js +39 -62
  13. package/dist/components/input.component.d.ts +3 -0
  14. package/dist/components/input.component.js +120 -221
  15. package/dist/components/modal.component.d.ts +3 -0
  16. package/dist/components/modal.component.js +121 -247
  17. package/dist/components/nav-link.component.d.ts +3 -0
  18. package/dist/components/nav-link.component.js +43 -92
  19. package/dist/components/notification-menu.component.d.ts +3 -0
  20. package/dist/components/notification-menu.component.js +205 -367
  21. package/dist/components/select.component.d.ts +3 -0
  22. package/dist/components/select.component.js +116 -188
  23. package/dist/components/table.component.d.ts +3 -0
  24. package/dist/components/table.component.js +235 -332
  25. package/dist/components/text.component.d.ts +3 -0
  26. package/dist/components/text.component.js +22 -32
  27. package/dist/components/toast.component.d.ts +3 -0
  28. package/dist/components/toast.component.js +58 -163
  29. package/dist/directives/animation.directive.d.ts +3 -0
  30. package/dist/directives/animation.directive.js +15 -22
  31. package/dist/directives/theme-vars.directive.d.ts +3 -0
  32. package/dist/directives/theme-vars.directive.js +12 -19
  33. package/dist/directives/wallpaper.directive.d.ts +3 -0
  34. package/dist/directives/wallpaper.directive.js +19 -31
  35. package/dist/layouts/layout.component.d.ts +3 -0
  36. package/dist/layouts/layout.component.js +36 -130
  37. package/dist/layouts/slot.component.d.ts +3 -0
  38. package/dist/layouts/slot.component.js +240 -596
  39. package/dist/services/fylib.service.d.ts +3 -0
  40. package/dist/services/fylib.service.js +19 -26
  41. package/dist/services/notification.service.d.ts +3 -0
  42. package/dist/services/notification.service.js +13 -16
  43. package/dist/services/sse.service.d.ts +3 -0
  44. package/dist/services/sse.service.js +11 -18
  45. package/dist/services/webclient.service.d.ts +3 -0
  46. package/dist/services/webclient.service.js +9 -12
  47. package/package.json +7 -6
@@ -1,22 +1,14 @@
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, ViewEncapsulation, signal, effect, inject } from '@angular/core';
11
2
  import { FyLibService } from '../services/fylib.service';
12
3
  import { cryptoEngine } from '@fylib/crypto';
13
- let FyTextComponent = class FyTextComponent {
4
+ import * as i0 from "@angular/core";
5
+ export class FyTextComponent {
14
6
  set text(v) { this._raw.set(v ?? ''); }
15
7
  constructor() {
16
8
  this.fylib = inject(FyLibService);
17
- this._raw = signal('');
9
+ this._raw = signal('', ...(ngDevMode ? [{ debugName: "_raw" }] : /* istanbul ignore next */ []));
18
10
  this.cryptoEnabled = false;
19
- this.value = signal('');
11
+ this.value = signal('', ...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
20
12
  effect(async () => {
21
13
  const raw = this._raw();
22
14
  const cfg = this.fylib.config().crypto;
@@ -34,25 +26,23 @@ let FyTextComponent = class FyTextComponent {
34
26
  }
35
27
  });
36
28
  }
37
- };
38
- __decorate([
39
- Input(),
40
- __metadata("design:type", String),
41
- __metadata("design:paramtypes", [String])
42
- ], FyTextComponent.prototype, "text", null);
43
- __decorate([
44
- Input(),
45
- __metadata("design:type", Boolean)
46
- ], FyTextComponent.prototype, "cryptoEnabled", void 0);
47
- FyTextComponent = __decorate([
48
- Component({
49
- selector: 'fy-text',
50
- standalone: true,
51
- template: `
29
+ }
30
+ FyTextComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.7", ngImport: i0, type: FyTextComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
31
+ FyTextComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.7", type: FyTextComponent, isStandalone: true, selector: "fy-text", inputs: { text: "text", cryptoEnabled: "cryptoEnabled" }, ngImport: i0, template: `
32
+ <span>{{ value() }}</span>
33
+ `, isInline: true, encapsulation: i0.ViewEncapsulation.None });
34
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.7", ngImport: i0, type: FyTextComponent, decorators: [{
35
+ type: Component,
36
+ args: [{
37
+ selector: 'fy-text',
38
+ standalone: true,
39
+ template: `
52
40
  <span>{{ value() }}</span>
53
41
  `,
54
- encapsulation: ViewEncapsulation.None
55
- }),
56
- __metadata("design:paramtypes", [])
57
- ], FyTextComponent);
58
- export { FyTextComponent };
42
+ encapsulation: ViewEncapsulation.None
43
+ }]
44
+ }], ctorParameters: () => [], propDecorators: { text: [{
45
+ type: Input
46
+ }], cryptoEnabled: [{
47
+ type: Input
48
+ }] } });
@@ -1,6 +1,7 @@
1
1
  import { EventEmitter, OnInit, OnDestroy } from '@angular/core';
2
2
  import { ToastProps } from '@fylib/catalog';
3
3
  import { BaseFyComponent } from '../base/base-component';
4
+ import * as i0 from "@angular/core";
4
5
  export declare class FyToastComponent extends BaseFyComponent<'fy-toast'> implements ToastProps, OnInit, OnDestroy {
5
6
  id?: string;
6
7
  title?: string;
@@ -24,4 +25,6 @@ export declare class FyToastComponent extends BaseFyComponent<'fy-toast'> implem
24
25
  get resolvedIconColor(): string;
25
26
  get resolvedCloseIcon(): string;
26
27
  get animationClassSuffix(): string;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<FyToastComponent, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<FyToastComponent, "fy-toast", never, { "id": { "alias": "id"; "required": false; }; "title": { "alias": "title"; "required": false; }; "message": { "alias": "message"; "required": false; }; "type": { "alias": "type"; "required": false; }; "duration": { "alias": "duration"; "required": false; }; "showIcon": { "alias": "showIcon"; "required": false; }; "closable": { "alias": "closable"; "required": false; }; "position": { "alias": "position"; "required": false; }; "activeAnimations": { "alias": "activeAnimations"; "required": false; }; "activeEffects": { "alias": "activeEffects"; "required": false; }; "customStyles": { "alias": "customStyles"; "required": false; }; }, { "fyClose": "fyClose"; }, never, never, true, never>;
27
30
  }
@@ -1,18 +1,10 @@
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, inject, ViewEncapsulation, signal } from '@angular/core';
11
2
  import { CommonModule } from '@angular/common';
12
3
  import { FyLibService } from '../services/fylib.service';
13
4
  import { BaseFyComponent } from '../base/base-component';
14
5
  import { FyIconComponent } from './icon.component';
15
- let FyToastComponent = class FyToastComponent extends BaseFyComponent {
6
+ import * as i0 from "@angular/core";
7
+ export class FyToastComponent extends BaseFyComponent {
16
8
  constructor() {
17
9
  super(inject(FyLibService), 'fy-toast');
18
10
  this.type = 'info';
@@ -24,7 +16,7 @@ let FyToastComponent = class FyToastComponent extends BaseFyComponent {
24
16
  this.activeEffects = null;
25
17
  this.customStyles = null;
26
18
  this.fyClose = new EventEmitter();
27
- this.isClosing = signal(false);
19
+ this.isClosing = signal(false, ...(ngDevMode ? [{ debugName: "isClosing" }] : /* istanbul ignore next */ []));
28
20
  }
29
21
  ngOnInit() {
30
22
  if (this.duration > 0) {
@@ -82,61 +74,9 @@ let FyToastComponent = class FyToastComponent extends BaseFyComponent {
82
74
  }
83
75
  return ' fy-anim-toast-in';
84
76
  }
85
- };
86
- __decorate([
87
- Input(),
88
- __metadata("design:type", String)
89
- ], FyToastComponent.prototype, "id", void 0);
90
- __decorate([
91
- Input(),
92
- __metadata("design:type", String)
93
- ], FyToastComponent.prototype, "title", void 0);
94
- __decorate([
95
- Input(),
96
- __metadata("design:type", String)
97
- ], FyToastComponent.prototype, "message", void 0);
98
- __decorate([
99
- Input(),
100
- __metadata("design:type", String)
101
- ], FyToastComponent.prototype, "type", void 0);
102
- __decorate([
103
- Input(),
104
- __metadata("design:type", Number)
105
- ], FyToastComponent.prototype, "duration", void 0);
106
- __decorate([
107
- Input(),
108
- __metadata("design:type", Boolean)
109
- ], FyToastComponent.prototype, "showIcon", void 0);
110
- __decorate([
111
- Input(),
112
- __metadata("design:type", Boolean)
113
- ], FyToastComponent.prototype, "closable", void 0);
114
- __decorate([
115
- Input(),
116
- __metadata("design:type", Object)
117
- ], FyToastComponent.prototype, "position", void 0);
118
- __decorate([
119
- Input(),
120
- __metadata("design:type", Object)
121
- ], FyToastComponent.prototype, "activeAnimations", void 0);
122
- __decorate([
123
- Input(),
124
- __metadata("design:type", Object)
125
- ], FyToastComponent.prototype, "activeEffects", void 0);
126
- __decorate([
127
- Input(),
128
- __metadata("design:type", Object)
129
- ], FyToastComponent.prototype, "customStyles", void 0);
130
- __decorate([
131
- Output(),
132
- __metadata("design:type", Object)
133
- ], FyToastComponent.prototype, "fyClose", void 0);
134
- FyToastComponent = __decorate([
135
- Component({
136
- selector: 'fy-toast',
137
- standalone: true,
138
- imports: [CommonModule, FyIconComponent],
139
- template: `
77
+ }
78
+ FyToastComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.7", ngImport: i0, type: FyToastComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
79
+ FyToastComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.7", type: FyToastComponent, isStandalone: true, selector: "fy-toast", inputs: { id: "id", title: "title", message: "message", type: "type", duration: "duration", showIcon: "showIcon", closable: "closable", position: "position", activeAnimations: "activeAnimations", activeEffects: "activeEffects", customStyles: "customStyles" }, outputs: { fyClose: "fyClose" }, usesInheritance: true, ngImport: i0, template: `
140
80
  <div
141
81
  class="fy-toast"
142
82
  [class]="'fy-toast--' + type"
@@ -160,101 +100,56 @@ FyToastComponent = __decorate([
160
100
  </button>
161
101
  }
162
102
  </div>
163
- `,
164
- styles: [`
165
- .fy-toast {
166
- display: flex;
167
- align-items: flex-start;
168
- gap: var(--fy-effects-toast-gap, var(--fy-spacing-sm, 8px));
169
- padding: var(--fy-effects-toast-padding, var(--fy-spacing-md, 12px));
170
- min-width: var(--fy-effects-toast-minWidth, 280px);
171
- max-width: var(--fy-effects-toast-maxWidth, 420px);
172
- background: var(--fy-effects-toast-background, #ffffff);
173
- border: 1px solid var(--fy-effects-toast-borderColor, rgba(0,0,0,0.1));
174
- border-radius: var(--fy-effects-toast-borderRadius, 8px);
175
- box-shadow: var(--fy-effects-toast-shadow, 0 4px 12px rgba(0,0,0,0.1));
176
- color: var(--fy-effects-toast-textColor, inherit);
177
- pointer-events: auto;
178
- margin-bottom: 8px;
179
- transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
180
- position: relative;
181
- }
182
-
183
- /* Animações base */
184
- .fy-anim-toast-in {
185
- animation: toast-in 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
186
- }
187
-
188
- .fy-anim-toast-out {
189
- animation: toast-out 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
190
- }
191
-
192
- @keyframes toast-in {
193
- from { transform: translateX(100%); opacity: 0; }
194
- to { transform: translateX(0); opacity: 1; }
195
- }
196
-
197
- @keyframes toast-out {
198
- from { transform: scale(1); opacity: 1; }
199
- to { transform: scale(0.8); opacity: 0; }
200
- }
201
-
202
- .fy-toast__icon {
203
- flex-shrink: 0;
204
- font-size: var(--fy-effects-toast-iconSize, 20px);
205
- display: flex;
206
- align-items: center;
207
- justify-content: center;
208
- }
209
-
210
- .fy-toast--info .fy-toast__icon { color: var(--fy-effects-toast-iconColor-info, var(--fy-colors-info, #007aff)); }
211
- .fy-toast--success .fy-toast__icon { color: var(--fy-effects-toast-iconColor-success, var(--fy-colors-success, #28cd41)); }
212
- .fy-toast--warning .fy-toast__icon { color: var(--fy-effects-toast-iconColor-warning, var(--fy-colors-warning, #ffcc00)); }
213
- .fy-toast--error .fy-toast__icon { color: var(--fy-effects-toast-iconColor-error, var(--fy-colors-danger, #ff3b30)); }
214
-
215
- .fy-toast__content {
216
- flex: 1;
217
- overflow: hidden;
218
- }
219
-
220
- .fy-toast__title {
221
- font-weight: var(--fy-effects-toast-titleFontWeight, var(--fy-typography-fontWeight-bold, 600));
222
- font-size: var(--fy-effects-toast-titleFontSize, var(--fy-typography-fontSize-md, 14px));
223
- margin-bottom: 2px;
224
- }
225
-
226
- .fy-toast__message {
227
- font-size: var(--fy-effects-toast-messageFontSize, var(--fy-typography-fontSize-sm, 13px));
228
- line-height: var(--fy-effects-toast-messageLineHeight, 1.4);
229
- opacity: 0.9;
230
- }
231
-
232
- .fy-toast__close {
233
- position: absolute;
234
- top: 4px;
235
- right: 4px;
236
- flex-shrink: 0;
237
- background: var(--fy-effects-toast-closeButtonBackground, transparent);
238
- border: var(--fy-effects-toast-closeButtonBorder, none);
239
- border-radius: var(--fy-effects-toast-closeButtonBorderRadius, 0);
240
- padding: 2px;
241
- cursor: pointer;
242
- opacity: var(--fy-effects-toast-closeButtonOpacity, 0.5);
243
- transition: opacity 0.2s;
244
- color: currentColor;
245
- display: flex;
246
- align-items: center;
247
- justify-content: center;
248
- width: var(--fy-effects-toast-closeButtonSize, 18px);
249
- height: var(--fy-effects-toast-closeButtonSize, 18px);
250
- }
103
+ `, isInline: true, styles: ["\n .fy-toast {\n display: flex;\n align-items: flex-start;\n gap: var(--fy-effects-toast-gap, var(--fy-spacing-sm, 8px));\n padding: var(--fy-effects-toast-padding, var(--fy-spacing-md, 12px));\n min-width: var(--fy-effects-toast-minWidth, 280px);\n max-width: var(--fy-effects-toast-maxWidth, 420px);\n background: var(--fy-effects-toast-background, #ffffff);\n border: 1px solid var(--fy-effects-toast-borderColor, rgba(0,0,0,0.1));\n border-radius: var(--fy-effects-toast-borderRadius, 8px);\n box-shadow: var(--fy-effects-toast-shadow, 0 4px 12px rgba(0,0,0,0.1));\n color: var(--fy-effects-toast-textColor, inherit);\n pointer-events: auto;\n margin-bottom: 8px;\n transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);\n position: relative;\n }\n\n /* Anima\u00E7\u00F5es base */\n .fy-anim-toast-in {\n animation: toast-in 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;\n }\n\n .fy-anim-toast-out {\n animation: toast-out 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;\n }\n\n @keyframes toast-in {\n from { transform: translateX(100%); opacity: 0; }\n to { transform: translateX(0); opacity: 1; }\n }\n\n @keyframes toast-out {\n from { transform: scale(1); opacity: 1; }\n to { transform: scale(0.8); opacity: 0; }\n }\n\n .fy-toast__icon {\n flex-shrink: 0;\n font-size: var(--fy-effects-toast-iconSize, 20px);\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n .fy-toast--info .fy-toast__icon { color: var(--fy-effects-toast-iconColor-info, var(--fy-colors-info, #007aff)); }\n .fy-toast--success .fy-toast__icon { color: var(--fy-effects-toast-iconColor-success, var(--fy-colors-success, #28cd41)); }\n .fy-toast--warning .fy-toast__icon { color: var(--fy-effects-toast-iconColor-warning, var(--fy-colors-warning, #ffcc00)); }\n .fy-toast--error .fy-toast__icon { color: var(--fy-effects-toast-iconColor-error, var(--fy-colors-danger, #ff3b30)); }\n\n .fy-toast__content {\n flex: 1;\n overflow: hidden;\n }\n\n .fy-toast__title {\n font-weight: var(--fy-effects-toast-titleFontWeight, var(--fy-typography-fontWeight-bold, 600));\n font-size: var(--fy-effects-toast-titleFontSize, var(--fy-typography-fontSize-md, 14px));\n margin-bottom: 2px;\n }\n\n .fy-toast__message {\n font-size: var(--fy-effects-toast-messageFontSize, var(--fy-typography-fontSize-sm, 13px));\n line-height: var(--fy-effects-toast-messageLineHeight, 1.4);\n opacity: 0.9;\n }\n\n .fy-toast__close {\n position: absolute;\n top: 4px;\n right: 4px;\n flex-shrink: 0;\n background: var(--fy-effects-toast-closeButtonBackground, transparent);\n border: var(--fy-effects-toast-closeButtonBorder, none);\n border-radius: var(--fy-effects-toast-closeButtonBorderRadius, 0);\n padding: 2px;\n cursor: pointer;\n opacity: var(--fy-effects-toast-closeButtonOpacity, 0.5);\n transition: opacity 0.2s;\n color: currentColor;\n display: flex;\n align-items: center;\n justify-content: center;\n width: var(--fy-effects-toast-closeButtonSize, 18px);\n height: var(--fy-effects-toast-closeButtonSize, 18px);\n }\n\n .fy-toast__close:hover {\n opacity: var(--fy-effects-toast-closeButtonHoverOpacity, 1);\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 });
104
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.7", ngImport: i0, type: FyToastComponent, decorators: [{
105
+ type: Component,
106
+ args: [{ selector: 'fy-toast', standalone: true, imports: [CommonModule, FyIconComponent], template: `
107
+ <div
108
+ class="fy-toast"
109
+ [class]="'fy-toast--' + type"
110
+ [class]="composeAnimClasses(animationClassSuffix)"
111
+ [style]="getHostStyles(customStyles)"
112
+ >
113
+ @if (showIcon) {
114
+ <div class="fy-toast__icon">
115
+ <fy-icon [name]="resolvedIcon" [color]="resolvedIconColor"></fy-icon>
116
+ </div>
117
+ }
118
+
119
+ <div class="fy-toast__content">
120
+ @if (title) { <div class="fy-toast__title">{{ title }}</div> }
121
+ <div class="fy-toast__message">{{ message }}</div>
122
+ </div>
251
123
 
252
- .fy-toast__close:hover {
253
- opacity: var(--fy-effects-toast-closeButtonHoverOpacity, 1);
254
- }
255
- `],
256
- encapsulation: ViewEncapsulation.None
257
- }),
258
- __metadata("design:paramtypes", [])
259
- ], FyToastComponent);
260
- export { FyToastComponent };
124
+ @if (closable) {
125
+ <button class="fy-toast__close" (click)="close()">
126
+ <fy-icon [name]="resolvedCloseIcon"></fy-icon>
127
+ </button>
128
+ }
129
+ </div>
130
+ `, encapsulation: ViewEncapsulation.None, styles: ["\n .fy-toast {\n display: flex;\n align-items: flex-start;\n gap: var(--fy-effects-toast-gap, var(--fy-spacing-sm, 8px));\n padding: var(--fy-effects-toast-padding, var(--fy-spacing-md, 12px));\n min-width: var(--fy-effects-toast-minWidth, 280px);\n max-width: var(--fy-effects-toast-maxWidth, 420px);\n background: var(--fy-effects-toast-background, #ffffff);\n border: 1px solid var(--fy-effects-toast-borderColor, rgba(0,0,0,0.1));\n border-radius: var(--fy-effects-toast-borderRadius, 8px);\n box-shadow: var(--fy-effects-toast-shadow, 0 4px 12px rgba(0,0,0,0.1));\n color: var(--fy-effects-toast-textColor, inherit);\n pointer-events: auto;\n margin-bottom: 8px;\n transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);\n position: relative;\n }\n\n /* Anima\u00E7\u00F5es base */\n .fy-anim-toast-in {\n animation: toast-in 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;\n }\n\n .fy-anim-toast-out {\n animation: toast-out 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;\n }\n\n @keyframes toast-in {\n from { transform: translateX(100%); opacity: 0; }\n to { transform: translateX(0); opacity: 1; }\n }\n\n @keyframes toast-out {\n from { transform: scale(1); opacity: 1; }\n to { transform: scale(0.8); opacity: 0; }\n }\n\n .fy-toast__icon {\n flex-shrink: 0;\n font-size: var(--fy-effects-toast-iconSize, 20px);\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n .fy-toast--info .fy-toast__icon { color: var(--fy-effects-toast-iconColor-info, var(--fy-colors-info, #007aff)); }\n .fy-toast--success .fy-toast__icon { color: var(--fy-effects-toast-iconColor-success, var(--fy-colors-success, #28cd41)); }\n .fy-toast--warning .fy-toast__icon { color: var(--fy-effects-toast-iconColor-warning, var(--fy-colors-warning, #ffcc00)); }\n .fy-toast--error .fy-toast__icon { color: var(--fy-effects-toast-iconColor-error, var(--fy-colors-danger, #ff3b30)); }\n\n .fy-toast__content {\n flex: 1;\n overflow: hidden;\n }\n\n .fy-toast__title {\n font-weight: var(--fy-effects-toast-titleFontWeight, var(--fy-typography-fontWeight-bold, 600));\n font-size: var(--fy-effects-toast-titleFontSize, var(--fy-typography-fontSize-md, 14px));\n margin-bottom: 2px;\n }\n\n .fy-toast__message {\n font-size: var(--fy-effects-toast-messageFontSize, var(--fy-typography-fontSize-sm, 13px));\n line-height: var(--fy-effects-toast-messageLineHeight, 1.4);\n opacity: 0.9;\n }\n\n .fy-toast__close {\n position: absolute;\n top: 4px;\n right: 4px;\n flex-shrink: 0;\n background: var(--fy-effects-toast-closeButtonBackground, transparent);\n border: var(--fy-effects-toast-closeButtonBorder, none);\n border-radius: var(--fy-effects-toast-closeButtonBorderRadius, 0);\n padding: 2px;\n cursor: pointer;\n opacity: var(--fy-effects-toast-closeButtonOpacity, 0.5);\n transition: opacity 0.2s;\n color: currentColor;\n display: flex;\n align-items: center;\n justify-content: center;\n width: var(--fy-effects-toast-closeButtonSize, 18px);\n height: var(--fy-effects-toast-closeButtonSize, 18px);\n }\n\n .fy-toast__close:hover {\n opacity: var(--fy-effects-toast-closeButtonHoverOpacity, 1);\n }\n "] }]
131
+ }], ctorParameters: () => [], propDecorators: { id: [{
132
+ type: Input
133
+ }], title: [{
134
+ type: Input
135
+ }], message: [{
136
+ type: Input
137
+ }], type: [{
138
+ type: Input
139
+ }], duration: [{
140
+ type: Input
141
+ }], showIcon: [{
142
+ type: Input
143
+ }], closable: [{
144
+ type: Input
145
+ }], position: [{
146
+ type: Input
147
+ }], activeAnimations: [{
148
+ type: Input
149
+ }], activeEffects: [{
150
+ type: Input
151
+ }], customStyles: [{
152
+ type: Input
153
+ }], fyClose: [{
154
+ type: Output
155
+ }] } });
@@ -1,5 +1,8 @@
1
+ import * as i0 from "@angular/core";
1
2
  export declare class FyAnimationDirective {
2
3
  private el;
3
4
  animationName: string;
4
5
  play(): void;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<FyAnimationDirective, never>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FyAnimationDirective, "[fyAnimation]", never, { "animationName": { "alias": "fyAnimation"; "required": false; }; }, {}, never, never, true, never>;
5
8
  }
@@ -1,15 +1,7 @@
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 { Directive, inject, ElementRef, Input } from '@angular/core';
11
2
  import { animationEngine } from '@fylib/animation';
12
- let FyAnimationDirective = class FyAnimationDirective {
3
+ import * as i0 from "@angular/core";
4
+ export class FyAnimationDirective {
13
5
  constructor() {
14
6
  this.el = inject(ElementRef);
15
7
  }
@@ -20,15 +12,16 @@ let FyAnimationDirective = class FyAnimationDirective {
20
12
  this.el.nativeElement.classList.add(`fy-anim-${this.animationName}`);
21
13
  }
22
14
  }
23
- };
24
- __decorate([
25
- Input('fyAnimation'),
26
- __metadata("design:type", String)
27
- ], FyAnimationDirective.prototype, "animationName", void 0);
28
- FyAnimationDirective = __decorate([
29
- Directive({
30
- selector: '[fyAnimation]',
31
- standalone: true
32
- })
33
- ], FyAnimationDirective);
34
- export { FyAnimationDirective };
15
+ }
16
+ FyAnimationDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.7", ngImport: i0, type: FyAnimationDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
17
+ FyAnimationDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.7", type: FyAnimationDirective, isStandalone: true, selector: "[fyAnimation]", inputs: { animationName: ["fyAnimation", "animationName"] }, ngImport: i0 });
18
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.7", ngImport: i0, type: FyAnimationDirective, decorators: [{
19
+ type: Directive,
20
+ args: [{
21
+ selector: '[fyAnimation]',
22
+ standalone: true
23
+ }]
24
+ }], propDecorators: { animationName: [{
25
+ type: Input,
26
+ args: ['fyAnimation']
27
+ }] } });
@@ -1,7 +1,10 @@
1
+ import * as i0 from "@angular/core";
1
2
  export declare class FyThemeVarsDirective {
2
3
  private el;
3
4
  private fylib;
4
5
  constructor();
5
6
  private ensureResetInjected;
6
7
  private applyTokensToElement;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<FyThemeVarsDirective, never>;
9
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FyThemeVarsDirective, "[fyThemeVars]", never, {}, {}, never, never, true, never>;
7
10
  }
@@ -1,15 +1,7 @@
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 { Directive, ElementRef, inject, effect } from '@angular/core';
11
2
  import { FyLibService } from '../services/fylib.service';
12
- let FyThemeVarsDirective = class FyThemeVarsDirective {
3
+ import * as i0 from "@angular/core";
4
+ export class FyThemeVarsDirective {
13
5
  constructor() {
14
6
  this.el = inject(ElementRef);
15
7
  this.fylib = inject(FyLibService);
@@ -59,12 +51,13 @@ let FyThemeVarsDirective = class FyThemeVarsDirective {
59
51
  element.classList.remove('fy-animations-disabled');
60
52
  }
61
53
  }
62
- };
63
- FyThemeVarsDirective = __decorate([
64
- Directive({
65
- selector: '[fyThemeVars]',
66
- standalone: true
67
- }),
68
- __metadata("design:paramtypes", [])
69
- ], FyThemeVarsDirective);
70
- export { FyThemeVarsDirective };
54
+ }
55
+ FyThemeVarsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.7", ngImport: i0, type: FyThemeVarsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
56
+ FyThemeVarsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.7", type: FyThemeVarsDirective, isStandalone: true, selector: "[fyThemeVars]", ngImport: i0 });
57
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.7", ngImport: i0, type: FyThemeVarsDirective, decorators: [{
58
+ type: Directive,
59
+ args: [{
60
+ selector: '[fyThemeVars]',
61
+ standalone: true
62
+ }]
63
+ }], ctorParameters: () => [] });
@@ -1,5 +1,6 @@
1
1
  import { OnInit, OnChanges, SimpleChanges } from '@angular/core';
2
2
  import { WallpaperName } from '@fylib/config';
3
+ import * as i0 from "@angular/core";
3
4
  export declare class FyWallpaperDirective implements OnInit, OnChanges {
4
5
  private el;
5
6
  private renderer;
@@ -25,4 +26,6 @@ export declare class FyWallpaperDirective implements OnInit, OnChanges {
25
26
  private applyMeshGradientPattern;
26
27
  private ensureAnimationStyles;
27
28
  private clearWallpaper;
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<FyWallpaperDirective, never>;
30
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FyWallpaperDirective, "[fyWallpaper]", never, { "wallpaperName": { "alias": "fyWallpaper"; "required": false; }; "wallpaperOpacity": { "alias": "wallpaperOpacity"; "required": false; }; "wallpaperEnabled": { "alias": "wallpaperEnabled"; "required": false; }; }, {}, never, never, true, never>;
28
31
  }
@@ -1,16 +1,8 @@
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 { Directive, ElementRef, Input, inject, Renderer2, effect, PLATFORM_ID } from '@angular/core';
11
2
  import { isPlatformBrowser, DOCUMENT } from '@angular/common';
12
3
  import { FyLibService } from '../services/fylib.service';
13
- let FyWallpaperDirective = class FyWallpaperDirective {
4
+ import * as i0 from "@angular/core";
5
+ export class FyWallpaperDirective {
14
6
  constructor() {
15
7
  this.el = inject(ElementRef);
16
8
  this.renderer = inject(Renderer2);
@@ -172,24 +164,20 @@ let FyWallpaperDirective = class FyWallpaperDirective {
172
164
  this.renderer.removeStyle(nativeEl, 'backgroundRepeat');
173
165
  this.renderer.removeStyle(nativeEl, 'animation');
174
166
  }
175
- };
176
- __decorate([
177
- Input('fyWallpaper'),
178
- __metadata("design:type", Object)
179
- ], FyWallpaperDirective.prototype, "wallpaperName", void 0);
180
- __decorate([
181
- Input(),
182
- __metadata("design:type", Number)
183
- ], FyWallpaperDirective.prototype, "wallpaperOpacity", void 0);
184
- __decorate([
185
- Input(),
186
- __metadata("design:type", Boolean)
187
- ], FyWallpaperDirective.prototype, "wallpaperEnabled", void 0);
188
- FyWallpaperDirective = __decorate([
189
- Directive({
190
- selector: '[fyWallpaper]',
191
- standalone: true
192
- }),
193
- __metadata("design:paramtypes", [])
194
- ], FyWallpaperDirective);
195
- export { FyWallpaperDirective };
167
+ }
168
+ FyWallpaperDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.7", ngImport: i0, type: FyWallpaperDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
169
+ FyWallpaperDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.7", type: FyWallpaperDirective, isStandalone: true, selector: "[fyWallpaper]", inputs: { wallpaperName: ["fyWallpaper", "wallpaperName"], wallpaperOpacity: "wallpaperOpacity", wallpaperEnabled: "wallpaperEnabled" }, usesOnChanges: true, ngImport: i0 });
170
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.7", ngImport: i0, type: FyWallpaperDirective, decorators: [{
171
+ type: Directive,
172
+ args: [{
173
+ selector: '[fyWallpaper]',
174
+ standalone: true
175
+ }]
176
+ }], ctorParameters: () => [], propDecorators: { wallpaperName: [{
177
+ type: Input,
178
+ args: ['fyWallpaper']
179
+ }], wallpaperOpacity: [{
180
+ type: Input
181
+ }], wallpaperEnabled: [{
182
+ type: Input
183
+ }] } });
@@ -1,5 +1,6 @@
1
1
  import { OnInit, OnChanges, SimpleChanges, OnDestroy } from '@angular/core';
2
2
  import { EffectName } from '@fylib/config';
3
+ import * as i0 from "@angular/core";
3
4
  export declare class FyLayoutComponent implements OnInit, OnChanges, OnDestroy {
4
5
  private fylib;
5
6
  private platformId;
@@ -21,4 +22,6 @@ export declare class FyLayoutComponent implements OnInit, OnChanges, OnDestroy {
21
22
  private applyBgEffect;
22
23
  private stopBgEffect;
23
24
  private resolveAnimationsActive;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<FyLayoutComponent, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<FyLayoutComponent, "fy-layout", never, { "name": { "alias": "name"; "required": false; }; "activeAnimations": { "alias": "activeAnimations"; "required": false; }; "activeEffects": { "alias": "activeEffects"; "required": false; }; "customStyles": { "alias": "customStyles"; "required": false; }; "enterEffect": { "alias": "enterEffect"; "required": false; }; "bgEffect": { "alias": "bgEffect"; "required": false; }; "bgEffectIntensity": { "alias": "bgEffectIntensity"; "required": false; }; "bgEffectSpeed": { "alias": "bgEffectSpeed"; "required": false; }; "bgEffectLoop": { "alias": "bgEffectLoop"; "required": false; }; }, {}, never, ["*"], true, never>;
24
27
  }