@fylib/adapter-angular 0.2.2 → 0.2.5
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.
|
@@ -10,6 +10,7 @@ function ngAdd(options) {
|
|
|
10
10
|
addFiles(),
|
|
11
11
|
updateAppConfig(),
|
|
12
12
|
updateAppComponent(),
|
|
13
|
+
updateAppHTML(),
|
|
13
14
|
installDependencies(),
|
|
14
15
|
])(tree, context);
|
|
15
16
|
};
|
|
@@ -57,16 +58,239 @@ function updateAppComponent() {
|
|
|
57
58
|
const targetPath = tree.exists(appPath) ? appPath : (tree.exists(altPath) ? altPath : null);
|
|
58
59
|
if (!targetPath)
|
|
59
60
|
return tree;
|
|
60
|
-
|
|
61
|
+
let content = tree.read(targetPath)?.toString('utf-8') || '';
|
|
61
62
|
if (content.includes('FyLibService'))
|
|
62
63
|
return tree;
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
content;
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
64
|
+
// 1. Fix Angular Core Imports (avoid duplicates)
|
|
65
|
+
if (content.includes('@angular/core')) {
|
|
66
|
+
// Find the existing import from @angular/core
|
|
67
|
+
const coreImportMatch = content.match(/import\s*{([^}]+)}\s*from\s*['"]@angular\/core['"]/);
|
|
68
|
+
if (coreImportMatch) {
|
|
69
|
+
const existingImports = coreImportMatch[1].split(',').map(i => i.trim());
|
|
70
|
+
const neededImports = ['inject', 'OnInit', 'signal'];
|
|
71
|
+
const toAdd = neededImports.filter(i => !existingImports.includes(i));
|
|
72
|
+
if (toAdd.length > 0) {
|
|
73
|
+
const newCoreImport = `import { ${[...existingImports, ...toAdd].join(', ')} } from '@angular/core'`;
|
|
74
|
+
content = content.replace(coreImportMatch[0], newCoreImport);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
else {
|
|
79
|
+
content = `import { inject, OnInit, signal } from '@angular/core';\n` + content;
|
|
80
|
+
}
|
|
81
|
+
// 2. Add FyLib Imports
|
|
82
|
+
const fylibImports = [
|
|
83
|
+
'FyLibService', 'FySSEService', 'FyThemeVarsDirective',
|
|
84
|
+
'FyLayoutComponent', 'FyCardComponent', 'FyButtonComponent',
|
|
85
|
+
'FyIconComponent', 'FyTextComponent'
|
|
86
|
+
];
|
|
87
|
+
content = `import { ${fylibImports.join(', ')} } from '@fylib/adapter-angular';\n` +
|
|
88
|
+
`import { themeConfig } from '../fylib/theme.config';\n` + content;
|
|
89
|
+
// 3. Update Component Decorator Imports
|
|
90
|
+
if (content.includes('imports: [')) {
|
|
91
|
+
content = content.replace(/imports:\s*\[/, `imports: [\n FyThemeVarsDirective, FyLayoutComponent, FyCardComponent, FyButtonComponent, FyIconComponent, FyTextComponent,`);
|
|
92
|
+
}
|
|
93
|
+
else {
|
|
94
|
+
// If no imports array, add it (assuming it's a standalone component)
|
|
95
|
+
content = content.replace(/@Component\({/, `@Component({\n standalone: true,\n imports: [\n FyThemeVarsDirective, FyLayoutComponent, FyCardComponent, FyButtonComponent, FyIconComponent, FyTextComponent\n ],`);
|
|
96
|
+
}
|
|
97
|
+
// 4. Update Class Definition
|
|
98
|
+
content = content.replace(/export class (\w+) \{/, `export class $1 implements OnInit {\n private fylib = inject(FyLibService);\n private sse = inject(FySSEService);\n protected readonly mode = signal<'light' | 'dark'>('light');\n\n ngOnInit() {\n this.fylib.setTheme(themeConfig.theme);\n this.fylib.setMode(this.mode());\n }\n`);
|
|
99
|
+
tree.overwrite(targetPath, content);
|
|
100
|
+
return tree;
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
function updateAppHTML() {
|
|
104
|
+
return (tree) => {
|
|
105
|
+
const htmlPath = 'src/app/app.component.html';
|
|
106
|
+
const altHtmlPath = 'src/app/app.html';
|
|
107
|
+
const targetHtmlPath = tree.exists(htmlPath) ? htmlPath : (tree.exists(altHtmlPath) ? altHtmlPath : null);
|
|
108
|
+
if (!targetHtmlPath)
|
|
109
|
+
return tree;
|
|
110
|
+
const content = tree.read(targetHtmlPath)?.toString('utf-8') || '';
|
|
111
|
+
// Check if it's default Angular HTML
|
|
112
|
+
const isDefault = content.includes('Next Steps') ||
|
|
113
|
+
content.includes('Resources') ||
|
|
114
|
+
content.includes('Congratulations! Your app is running.');
|
|
115
|
+
if (isDefault) {
|
|
116
|
+
tree.overwrite(targetHtmlPath, getWelcomeHTML());
|
|
117
|
+
}
|
|
118
|
+
else {
|
|
119
|
+
// It's a custom project, create a separate component and route
|
|
120
|
+
return (0, schematics_1.chain)([
|
|
121
|
+
createWelcomeComponent(),
|
|
122
|
+
updateRoutes()
|
|
123
|
+
]);
|
|
124
|
+
}
|
|
125
|
+
return tree;
|
|
126
|
+
};
|
|
127
|
+
}
|
|
128
|
+
function getWelcomeHTML() {
|
|
129
|
+
return `
|
|
130
|
+
<div fyThemeVars class="fy-app-container">
|
|
131
|
+
<fy-layout name="app-layout" bgEffect="aurora" [bgEffectIntensity]="0.4">
|
|
132
|
+
<div class="welcome-container">
|
|
133
|
+
<fy-card variant="elevated" class="welcome-card">
|
|
134
|
+
<div fy-card-header class="welcome-header">
|
|
135
|
+
<div class="logo-box">
|
|
136
|
+
<fy-icon name="star" size="lg"></fy-icon>
|
|
137
|
+
</div>
|
|
138
|
+
<fy-text text="Bem-vindo ao fyLib" class="welcome-title"></fy-text>
|
|
139
|
+
</div>
|
|
140
|
+
|
|
141
|
+
<div class="welcome-content">
|
|
142
|
+
<p class="welcome-desc">
|
|
143
|
+
Sua jornada para criar interfaces incríveis, modulares e temáticas começa aqui.
|
|
144
|
+
O fyLib já está configurado e pronto para uso!
|
|
145
|
+
</p>
|
|
146
|
+
|
|
147
|
+
<div class="welcome-actions">
|
|
148
|
+
<a href="https://github.com/dfiney/fylib/" target="_blank">
|
|
149
|
+
<fy-button variant="primary" label="GitHub do Projeto" iconName="search"></fy-button>
|
|
150
|
+
</a>
|
|
151
|
+
<a href="https://www.linkedin.com/in/victor-barberino-373797231/" target="_blank">
|
|
152
|
+
<fy-button variant="secondary" label="LinkedIn do Autor" iconName="user"></fy-button>
|
|
153
|
+
</a>
|
|
154
|
+
</div>
|
|
155
|
+
</div>
|
|
156
|
+
|
|
157
|
+
<div fy-card-footer class="welcome-footer">
|
|
158
|
+
<fy-text text="© Finey 2026 · Built with Passion"></fy-text>
|
|
159
|
+
</div>
|
|
160
|
+
</fy-card>
|
|
161
|
+
</div>
|
|
162
|
+
</fy-layout>
|
|
163
|
+
</div>
|
|
164
|
+
|
|
165
|
+
<style>
|
|
166
|
+
.fy-app-container {
|
|
167
|
+
height: 100vh;
|
|
168
|
+
width: 100%;
|
|
169
|
+
overflow: hidden;
|
|
170
|
+
}
|
|
171
|
+
.welcome-container {
|
|
172
|
+
display: flex;
|
|
173
|
+
align-items: center;
|
|
174
|
+
justify-content: center;
|
|
175
|
+
height: 100%;
|
|
176
|
+
padding: 20px;
|
|
177
|
+
}
|
|
178
|
+
.welcome-card {
|
|
179
|
+
max-width: 500px;
|
|
180
|
+
width: 100%;
|
|
181
|
+
animation: fadeInScale 0.6s ease-out;
|
|
182
|
+
}
|
|
183
|
+
.welcome-header {
|
|
184
|
+
display: flex;
|
|
185
|
+
flex-direction: column;
|
|
186
|
+
align-items: center;
|
|
187
|
+
gap: 16px;
|
|
188
|
+
padding: 32px 0 16px;
|
|
189
|
+
}
|
|
190
|
+
.logo-box {
|
|
191
|
+
background: var(--fy-colors-primary);
|
|
192
|
+
color: white;
|
|
193
|
+
padding: 16px;
|
|
194
|
+
border-radius: 16px;
|
|
195
|
+
box-shadow: 0 8px 16px rgba(var(--fy-colors-primary-rgb), 0.3);
|
|
196
|
+
}
|
|
197
|
+
.welcome-title {
|
|
198
|
+
font-size: 28px;
|
|
199
|
+
font-weight: 800;
|
|
200
|
+
color: var(--fy-colors-text);
|
|
201
|
+
}
|
|
202
|
+
.welcome-content {
|
|
203
|
+
text-align: center;
|
|
204
|
+
padding: 0 24px 24px;
|
|
205
|
+
}
|
|
206
|
+
.welcome-desc {
|
|
207
|
+
color: var(--fy-colors-secondary);
|
|
208
|
+
line-height: 1.6;
|
|
209
|
+
margin-bottom: 32px;
|
|
210
|
+
}
|
|
211
|
+
.welcome-actions {
|
|
212
|
+
display: flex;
|
|
213
|
+
flex-direction: column;
|
|
214
|
+
gap: 12px;
|
|
215
|
+
}
|
|
216
|
+
.welcome-actions a {
|
|
217
|
+
width: 100%;
|
|
218
|
+
}
|
|
219
|
+
.welcome-actions fy-button {
|
|
220
|
+
width: 100%;
|
|
221
|
+
}
|
|
222
|
+
.welcome-footer {
|
|
223
|
+
opacity: 0.6;
|
|
224
|
+
font-size: 12px;
|
|
225
|
+
justify-content: center;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
@keyframes fadeInScale {
|
|
229
|
+
from { opacity: 0; transform: scale(0.95) translateY(10px); }
|
|
230
|
+
to { opacity: 1; transform: scale(1) translateY(0); }
|
|
231
|
+
}
|
|
232
|
+
</style>
|
|
233
|
+
`;
|
|
234
|
+
}
|
|
235
|
+
function createWelcomeComponent() {
|
|
236
|
+
return (tree) => {
|
|
237
|
+
const componentDir = 'src/app/fylib-welcome';
|
|
238
|
+
if (tree.exists(`${componentDir}/fylib-welcome.component.ts`))
|
|
239
|
+
return tree;
|
|
240
|
+
const tsContent = `import { Component } from '@angular/core';
|
|
241
|
+
import {
|
|
242
|
+
FyLayoutComponent, FyCardComponent, FyButtonComponent,
|
|
243
|
+
FyIconComponent, FyTextComponent, FyThemeVarsDirective
|
|
244
|
+
} from '@fylib/adapter-angular';
|
|
245
|
+
|
|
246
|
+
@Component({
|
|
247
|
+
selector: 'app-fylib-welcome',
|
|
248
|
+
standalone: true,
|
|
249
|
+
imports: [
|
|
250
|
+
FyThemeVarsDirective, FyLayoutComponent, FyCardComponent,
|
|
251
|
+
FyButtonComponent, FyIconComponent, FyTextComponent
|
|
252
|
+
],
|
|
253
|
+
templateUrl: './fylib-welcome.component.html',
|
|
254
|
+
styles: [\`
|
|
255
|
+
:host { display: block; height: 100vh; }
|
|
256
|
+
.fy-app-container { height: 100vh; width: 100%; overflow: hidden; }
|
|
257
|
+
.welcome-container { display: flex; align-items: center; justify-content: center; height: 100%; padding: 20px; }
|
|
258
|
+
.welcome-card { max-width: 500px; width: 100%; animation: fadeInScale 0.6s ease-out; }
|
|
259
|
+
.welcome-header { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 32px 0 16px; }
|
|
260
|
+
.logo-box { background: var(--fy-colors-primary); color: white; padding: 16px; border-radius: 16px; box-shadow: 0 8px 16px rgba(var(--fy-colors-primary-rgb), 0.3); }
|
|
261
|
+
.welcome-title { font-size: 28px; font-weight: 800; color: var(--fy-colors-text); }
|
|
262
|
+
.welcome-content { text-align: center; padding: 0 24px 24px; }
|
|
263
|
+
.welcome-desc { color: var(--fy-colors-secondary); line-height: 1.6; margin-bottom: 32px; }
|
|
264
|
+
.welcome-actions { display: flex; flex-direction: column; gap: 12px; }
|
|
265
|
+
.welcome-actions a { width: 100%; }
|
|
266
|
+
.welcome-footer { opacity: 0.6; font-size: 12px; justify-content: center; }
|
|
267
|
+
@keyframes fadeInScale {
|
|
268
|
+
from { opacity: 0; transform: scale(0.95) translateY(10px); }
|
|
269
|
+
to { opacity: 1; transform: scale(1) translateY(0); }
|
|
270
|
+
}
|
|
271
|
+
\`]
|
|
272
|
+
})
|
|
273
|
+
export class FylibWelcomeComponent {}
|
|
274
|
+
`;
|
|
275
|
+
const htmlContent = getWelcomeHTML();
|
|
276
|
+
tree.create(`${componentDir}/fylib-welcome.component.ts`, tsContent);
|
|
277
|
+
tree.create(`${componentDir}/fylib-welcome.component.html`, htmlContent);
|
|
278
|
+
return tree;
|
|
279
|
+
};
|
|
280
|
+
}
|
|
281
|
+
function updateRoutes() {
|
|
282
|
+
return (tree) => {
|
|
283
|
+
const routesPath = 'src/app/app.routes.ts';
|
|
284
|
+
if (!tree.exists(routesPath))
|
|
285
|
+
return tree;
|
|
286
|
+
let content = tree.read(routesPath)?.toString('utf-8') || '';
|
|
287
|
+
if (content.includes('fylib-welcome'))
|
|
288
|
+
return tree;
|
|
289
|
+
// Add import
|
|
290
|
+
content = `import { FylibWelcomeComponent } from './fylib-welcome/fylib-welcome.component';\n` + content;
|
|
291
|
+
// Add route to the routes array
|
|
292
|
+
content = content.replace(/export const routes: Routes = \[/, `export const routes: Routes = [\n { path: 'fylib-welcome', component: FylibWelcomeComponent },`);
|
|
293
|
+
tree.overwrite(routesPath, content);
|
|
70
294
|
return tree;
|
|
71
295
|
};
|
|
72
296
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../schematics/ng-add/index.ts"],"names":[],"mappings":";;AAgBA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../schematics/ng-add/index.ts"],"names":[],"mappings":";;AAgBA,sBAUC;AA1BD,2DAYoC;AACpC,+CAAqD;AACrD,4DAA0E;AAE1E,SAAgB,KAAK,CAAC,OAAY;IAChC,OAAO,CAAC,IAAU,EAAE,OAAyB,EAAE,EAAE;QAC/C,OAAO,IAAA,kBAAK,EAAC;YACX,QAAQ,EAAE;YACV,eAAe,EAAE;YACjB,kBAAkB,EAAE;YACpB,aAAa,EAAE;YACf,mBAAmB,EAAE;SACtB,CAAC,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IACpB,CAAC,CAAC;AACJ,CAAC;AAED,SAAS,QAAQ;IACf,OAAO,IAAA,sBAAS,EACd,IAAA,kBAAK,EAAC,IAAA,gBAAG,EAAC,oBAAoB,CAAC,EAAE;QAC/B,IAAA,qBAAQ,EAAC;YACP,GAAG,cAAO;SACX,CAAC;QACF,IAAA,iBAAI,EAAC,WAAW,CAAC;QACjB,IAAA,oBAAO,EAAC,CAAC,SAAoB,EAAE,EAAE;YAC/B,IAAI,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,EAAE,CAAC;gBACzC,OAAO;oBACL,OAAO,EAAE,SAAS,CAAC,OAAO;oBAC1B,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CAAC,UAAU,CAAC,EAAE,QAAQ,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;QAC7D,IAAI,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAC;YAAE,OAAO,IAAI,CAAC;QAEnD,aAAa;QACb,OAAO,GAAG,oFAAoF,GAAG,OAAO,CAAC;QAEzG,gCAAgC;QAChC,OAAO,GAAG,OAAO,CAAC,OAAO,CACvB,kCAAkC,EAClC,iGAAiG,CAClG,CAAC;QAEF,IAAI,CAAC,SAAS,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;QACpC,OAAO,IAAI,CAAC;IACd,CAAC,CAAC;AACJ,CAAC;AAED,SAAS,mBAAmB;IAC1B,OAAO,CAAC,KAAW,EAAE,OAAyB,EAAE,EAAE;QAChD,OAAO,CAAC,OAAO,CACb,IAAI,8BAAsB,CAAC;YACzB,WAAW,EAAE;gBACX,aAAa;gBACb,eAAe;gBACf,cAAc;gBACd,kBAAkB;gBAClB,gBAAgB;gBAChB,eAAe;gBACf,eAAe;gBACf,wBAAwB;aACzB,CAAC,IAAI,CAAC,GAAG,CAAC;SACZ,CAAC,CACH,CAAC;IACJ,CAAC,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fylib/adapter-angular",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.5",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
"rxjs": "~7.8.0",
|
|
26
26
|
"tslib": "^2.3.0",
|
|
27
27
|
"@fylib/core": "0.2.0",
|
|
28
|
-
"@fylib/theme": "0.2.0",
|
|
29
28
|
"@fylib/animation": "0.2.0",
|
|
30
29
|
"@fylib/catalog": "0.2.0",
|
|
31
|
-
"@fylib/config": "0.2.0",
|
|
32
30
|
"@fylib/crypto": "0.2.0",
|
|
33
|
-
"@fylib/
|
|
31
|
+
"@fylib/theme": "0.2.0",
|
|
32
|
+
"@fylib/logger": "0.2.0",
|
|
33
|
+
"@fylib/config": "0.2.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"typescript": "^5.9.3",
|