@eui/core 22.0.0-alpha.16 → 22.0.0-alpha.18
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/CHANGELOG.md +21 -0
- package/docs/changelog.html +28 -0
- package/docs/js/search/search_index.js +2 -2
- package/docs/json/documentation.json +18 -18
- package/docs/llms.txt +1 -1
- package/docs/properties.html +1 -1
- package/package.json +2 -2
|
@@ -2195,12 +2195,12 @@
|
|
|
2195
2195
|
},
|
|
2196
2196
|
{
|
|
2197
2197
|
"name": "Schema",
|
|
2198
|
-
"id": "interface-Schema-
|
|
2199
|
-
"file": "packages/core/schematics/
|
|
2198
|
+
"id": "interface-Schema-4fe31ff3e9f1d34845a6b865d605e215f33552094b88c3d0eab0b180187fe64ce4d68d687516cb3d62c57d2678a103969b2dacbb18a49b26060f78096678fcce-1",
|
|
2199
|
+
"file": "packages/core/schematics/fix-no-multiple-empty-lines/index.ts",
|
|
2200
2200
|
"deprecated": false,
|
|
2201
2201
|
"deprecationMessage": "",
|
|
2202
2202
|
"type": "interface",
|
|
2203
|
-
"sourceCode": "
|
|
2203
|
+
"sourceCode": "import { DirEntry, Rule, SchematicContext, Tree } from '@angular-devkit/schematics';\nimport * as ts from 'typescript';\nimport { logDryRun, logDryRunNote } from '../utils/dry-run';\n\ninterface Schema {\n path?: string;\n dryRun?: boolean;\n}\n\nconst MULTIPLE_EMPTY_LINES = /\\n{3,}/g;\n\nexport function fixNoMultipleEmptyLines(options: Schema = {}): Rule {\n return (tree: Tree, context: SchematicContext) => {\n const scanPath = options.path ? '/' + options.path.replace(/^\\.?\\//, '').replace(/\\/$/, '') : '';\n let count = 0;\n\n const dir = tree.getDir(scanPath || '/');\n visitDir(dir, (filePath) => {\n const buffer = tree.read(filePath);\n if (!buffer) return;\n\n const original = buffer.toString('utf-8');\n const result = original.replace(MULTIPLE_EMPTY_LINES, '\\n\\n');\n\n if (result !== original) {\n if (filePath.endsWith('.ts')) {\n const sourceFile = ts.createSourceFile(filePath, result, ts.ScriptTarget.Latest, true);\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n if ((sourceFile as any).parseDiagnostics?.length) {\n context.logger.warn(`Skipping ${filePath}: file would not parse after transformation.`);\n return;\n }\n }\n if (options.dryRun) {\n logDryRun(context, `Would collapse multiple empty lines in ${filePath}`);\n } else {\n tree.overwrite(filePath, result);\n }\n count++;\n }\n });\n\n context.logger.info(`Fixed multiple empty lines in ${count} file(s).`);\n if (options.dryRun) {\n logDryRunNote(context);\n }\n return tree;\n };\n}\n\nfunction visitDir(dir: DirEntry, callback: (path: string) => void): void {\n for (const file of dir.subfiles) {\n if (file.endsWith('.d.ts')) continue;\n if (!file.endsWith('.ts') && !file.endsWith('.html') && !file.endsWith('.scss') && !file.endsWith('.css')) continue;\n callback(`${dir.path}/${file}`);\n }\n for (const sub of dir.subdirs) {\n if (sub === 'node_modules' || sub === 'dist') continue;\n visitDir(dir.dir(sub), callback);\n }\n}\n",
|
|
2204
2204
|
"displayName": "Schema",
|
|
2205
2205
|
"properties": [
|
|
2206
2206
|
{
|
|
@@ -2211,9 +2211,9 @@
|
|
|
2211
2211
|
"type": "boolean",
|
|
2212
2212
|
"indexKey": "",
|
|
2213
2213
|
"optional": true,
|
|
2214
|
-
"description": "
|
|
2215
|
-
"line":
|
|
2216
|
-
"rawdescription": "\
|
|
2214
|
+
"description": "",
|
|
2215
|
+
"line": 7,
|
|
2216
|
+
"rawdescription": "\n"
|
|
2217
2217
|
},
|
|
2218
2218
|
{
|
|
2219
2219
|
"name": "path",
|
|
@@ -2223,9 +2223,9 @@
|
|
|
2223
2223
|
"type": "string",
|
|
2224
2224
|
"indexKey": "",
|
|
2225
2225
|
"optional": true,
|
|
2226
|
-
"description": "
|
|
2227
|
-
"line":
|
|
2228
|
-
"rawdescription": "\
|
|
2226
|
+
"description": "",
|
|
2227
|
+
"line": 6,
|
|
2228
|
+
"rawdescription": "\n"
|
|
2229
2229
|
}
|
|
2230
2230
|
],
|
|
2231
2231
|
"indexSignatures": [],
|
|
@@ -2242,12 +2242,12 @@
|
|
|
2242
2242
|
},
|
|
2243
2243
|
{
|
|
2244
2244
|
"name": "Schema",
|
|
2245
|
-
"id": "interface-Schema-
|
|
2246
|
-
"file": "packages/core/schematics/
|
|
2245
|
+
"id": "interface-Schema-5cd6db1920bd5b70a44c0b8a7f7e30f600bfd16a9950f218e6d451a1755ced95b462ef9a62ee87e39bcb8c392981b8d2597895bf0a272fd8aea71f03429ed976-2",
|
|
2246
|
+
"file": "packages/core/schematics/icon-migrate/schema.ts",
|
|
2247
2247
|
"deprecated": false,
|
|
2248
2248
|
"deprecationMessage": "",
|
|
2249
2249
|
"type": "interface",
|
|
2250
|
-
"sourceCode": "
|
|
2250
|
+
"sourceCode": "export interface Schema {\n /** The path to scan for files to migrate */\n path?: string;\n /** Whether to perform a dry run without making changes */\n dryRun?: boolean;\n}\n",
|
|
2251
2251
|
"displayName": "Schema",
|
|
2252
2252
|
"properties": [
|
|
2253
2253
|
{
|
|
@@ -2258,9 +2258,9 @@
|
|
|
2258
2258
|
"type": "boolean",
|
|
2259
2259
|
"indexKey": "",
|
|
2260
2260
|
"optional": true,
|
|
2261
|
-
"description": "",
|
|
2262
|
-
"line":
|
|
2263
|
-
"rawdescription": "\
|
|
2261
|
+
"description": "<p>Whether to perform a dry run without making changes</p>\n",
|
|
2262
|
+
"line": 5,
|
|
2263
|
+
"rawdescription": "\nWhether to perform a dry run without making changes"
|
|
2264
2264
|
},
|
|
2265
2265
|
{
|
|
2266
2266
|
"name": "path",
|
|
@@ -2270,9 +2270,9 @@
|
|
|
2270
2270
|
"type": "string",
|
|
2271
2271
|
"indexKey": "",
|
|
2272
2272
|
"optional": true,
|
|
2273
|
-
"description": "",
|
|
2274
|
-
"line":
|
|
2275
|
-
"rawdescription": "\
|
|
2273
|
+
"description": "<p>The path to scan for files to migrate</p>\n",
|
|
2274
|
+
"line": 3,
|
|
2275
|
+
"rawdescription": "\nThe path to scan for files to migrate"
|
|
2276
2276
|
}
|
|
2277
2277
|
],
|
|
2278
2278
|
"indexSignatures": [],
|
package/docs/llms.txt
CHANGED
package/docs/properties.html
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eui/core",
|
|
3
|
-
"version": "22.0.0-alpha.
|
|
3
|
+
"version": "22.0.0-alpha.18",
|
|
4
4
|
"tag": "next",
|
|
5
5
|
"description": "eUI core package - holding UI components for Desktop applications",
|
|
6
6
|
"homepage": "https://eui.ecdevops.eu",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"url": "https://sdlc.webcloud.ec.europa.eu/csdr/eui/eui.git"
|
|
11
11
|
},
|
|
12
12
|
"peerDependencies": {
|
|
13
|
-
"@eui/base": "22.0.0-alpha.
|
|
13
|
+
"@eui/base": "22.0.0-alpha.18",
|
|
14
14
|
"rxjs": "^7.8.0",
|
|
15
15
|
"extend": "^3.0.2",
|
|
16
16
|
"localforage": "^1.10.0",
|