@energycap/components 0.39.16-schematics.20240426-1446 → 0.39.16
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/esm2020/lib/controls/checkbox/checkbox.component.mjs +5 -4
- package/esm2020/lib/controls/combobox/combobox.component.mjs +4 -3
- package/esm2020/lib/controls/file-upload/file-upload.component.mjs +3 -3
- package/esm2020/lib/controls/form-control/form-control.component.mjs +2 -2
- package/esm2020/lib/controls/form-control-base.mjs +10 -2
- package/esm2020/lib/controls/form-group/form-group.component.mjs +12 -3
- package/esm2020/lib/controls/numericbox/numericbox.component.mjs +5 -4
- package/esm2020/lib/controls/radio-button/radio-button.component.mjs +5 -4
- package/esm2020/lib/controls/select/select.component.mjs +5 -4
- package/esm2020/lib/controls/textbox/textbox.component.mjs +4 -3
- package/fesm2015/energycap-components.mjs +598 -582
- package/fesm2015/energycap-components.mjs.map +1 -1
- package/fesm2020/energycap-components.mjs +598 -582
- package/fesm2020/energycap-components.mjs.map +1 -1
- package/lib/controls/form-control-base.d.ts +10 -1
- package/lib/controls/form-group/form-group.component.d.ts +10 -1
- package/package.json +2 -3
- package/schematics/collection.json +0 -9
- package/schematics/ng-generate/rxjs-7-upgrade/index.d.ts +0 -2
- package/schematics/ng-generate/rxjs-7-upgrade/index.js +0 -140
- package/schematics/ng-generate/rxjs-7-upgrade/index.js.map +0 -1
@@ -3,6 +3,7 @@ import { AbstractControl } from "@angular/forms";
|
|
3
3
|
import { Subject } from "rxjs";
|
4
4
|
import { ValidationMessageService } from "../core/validation-message.service";
|
5
5
|
import { FormGroupHelper } from '../shared/form-group.helper';
|
6
|
+
import { PopoverContentPosition } from './popover/popover.component';
|
6
7
|
import * as i0 from "@angular/core";
|
7
8
|
export type ControlLabelPosition = "top" | "bottom" | "left";
|
8
9
|
/**
|
@@ -54,6 +55,14 @@ export declare abstract class FormControlBase implements OnInit, OnDestroy, OnCh
|
|
54
55
|
* Conditionally show a tooltip on the form control's input.
|
55
56
|
*/
|
56
57
|
tooltip?: string;
|
58
|
+
/**
|
59
|
+
* Conditionally show a help popover next to the controls label.
|
60
|
+
*/
|
61
|
+
helpPopover?: string;
|
62
|
+
/**
|
63
|
+
* When a help popover is present, allows the popover to be positioned in different locations.
|
64
|
+
*/
|
65
|
+
helpPopoverPosition?: PopoverContentPosition;
|
57
66
|
/**
|
58
67
|
* All current validation errors
|
59
68
|
*/
|
@@ -97,5 +106,5 @@ export declare abstract class FormControlBase implements OnInit, OnDestroy, OnCh
|
|
97
106
|
*/
|
98
107
|
protected translateValidationMessages(data?: any): Promise<void>;
|
99
108
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormControlBase, never>;
|
100
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FormControlBase, never, never, { "autofocus": "autofocus"; "formModel": "formModel"; "label": "label"; "labelPosition": "labelPosition"; "id": "id"; "pending": "pending"; "required": "required"; "tabindex": "tabindex"; "readonly": "readonly"; "tooltip": "tooltip"; }, {}, never, never, false, never>;
|
109
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FormControlBase, never, never, { "autofocus": "autofocus"; "formModel": "formModel"; "label": "label"; "labelPosition": "labelPosition"; "id": "id"; "pending": "pending"; "required": "required"; "tabindex": "tabindex"; "readonly": "readonly"; "tooltip": "tooltip"; "helpPopover": "helpPopover"; "helpPopoverPosition": "helpPopoverPosition"; }, {}, never, never, false, never>;
|
101
110
|
}
|
@@ -3,6 +3,7 @@ import { UntypedFormGroup, UntypedFormArray, AbstractControl } from "@angular/fo
|
|
3
3
|
import { TranslateService } from "@ngx-translate/core";
|
4
4
|
import { ValidationMessageService } from "../../core/validation-message.service";
|
5
5
|
import { ControlLabelPosition } from "../form-control-base";
|
6
|
+
import { PopoverContentPosition } from "../popover/popover.component";
|
6
7
|
import * as i0 from "@angular/core";
|
7
8
|
/** Function to iterate over form controls and
|
8
9
|
* ensure they contain unique values. If any are duplicated all offending
|
@@ -61,6 +62,14 @@ export declare class FormGroupComponent implements OnInit {
|
|
61
62
|
/**An optional flag to hide the validation messages.
|
62
63
|
*/
|
63
64
|
hideValidationMessage?: boolean;
|
65
|
+
/**
|
66
|
+
* Conditionally show a help popover next to the controls label.
|
67
|
+
*/
|
68
|
+
helpPopover?: string;
|
69
|
+
/**
|
70
|
+
* When a help popover is present, allows the popover to be positioned in different locations.
|
71
|
+
*/
|
72
|
+
helpPopoverPosition?: PopoverContentPosition;
|
64
73
|
/**
|
65
74
|
* All current validation errors
|
66
75
|
*
|
@@ -92,5 +101,5 @@ export declare class FormGroupComponent implements OnInit {
|
|
92
101
|
*/
|
93
102
|
private translateValidationMessages;
|
94
103
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormGroupComponent, never>;
|
95
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormGroupComponent, "ec-form-group", never, { "id": "id"; "label": "label"; "formGroup": "formGroup"; "labelPosition": "labelPosition"; "overrideValidationError": "overrideValidationError"; "hideValidationMessage": "hideValidationMessage"; }, {}, never, ["*"], false, never>;
|
104
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormGroupComponent, "ec-form-group", never, { "id": "id"; "label": "label"; "formGroup": "formGroup"; "labelPosition": "labelPosition"; "overrideValidationError": "overrideValidationError"; "hideValidationMessage": "hideValidationMessage"; "helpPopover": "helpPopover"; "helpPopoverPosition": "helpPopoverPosition"; }, {}, never, ["*"], false, never>;
|
96
105
|
}
|
package/package.json
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@energycap/components",
|
3
|
-
"version": "0.39.16
|
4
|
-
"schematics": "./schematics/collection.json",
|
3
|
+
"version": "0.39.16",
|
5
4
|
"dependencies": {
|
6
5
|
"tslib": "^2.0.0"
|
7
6
|
},
|
@@ -12,7 +11,7 @@
|
|
12
11
|
"@angular/router": ">=15.2.0",
|
13
12
|
"@angular/cdk": ">=15.2.0",
|
14
13
|
"@ngx-translate/core": "^14.0.0",
|
15
|
-
"popper.js": "
|
14
|
+
"popper.js": "~1.11.1",
|
16
15
|
"lodash": "^4.17.21",
|
17
16
|
"moment": "^2.29.0",
|
18
17
|
"ngx-clipboard": "^12.0.0"
|
@@ -1,140 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
9
|
-
});
|
10
|
-
};
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
12
|
-
exports.rxjs7Upgrade = void 0;
|
13
|
-
const core_1 = require("@angular-devkit/core");
|
14
|
-
const ast_utils_1 = require("@schematics/angular/utility/ast-utils");
|
15
|
-
const change_1 = require("@schematics/angular/utility/change");
|
16
|
-
const workspace_1 = require("@schematics/angular/utility/workspace");
|
17
|
-
const path_1 = require("path");
|
18
|
-
const ts = require("typescript");
|
19
|
-
function rxjs7Upgrade() {
|
20
|
-
return (tree) => __awaiter(this, void 0, void 0, function* () {
|
21
|
-
const workspaceHost = createWorkspaceHost(tree);
|
22
|
-
const { workspace } = yield core_1.workspaces.readWorkspace('/', workspaceHost);
|
23
|
-
// Get all tsconfig paths from the workspace, including test tsconfigs
|
24
|
-
const tsConfigPaths = getTsConfigPaths(workspace, tree);
|
25
|
-
// The base path in the file system for the workspace. This is needed for the typescript compiler to resolve files correctly.
|
26
|
-
const basePath = process.cwd().replace(/\\/g, '/');
|
27
|
-
tsConfigPaths.forEach(tsConfigPath => {
|
28
|
-
const program = createTsProgram(tree, tsConfigPath, basePath);
|
29
|
-
const checker = program.getTypeChecker();
|
30
|
-
for (const sourceFile of program.getSourceFiles()) {
|
31
|
-
// Skip declaration files and external library files
|
32
|
-
if (sourceFile.isDeclarationFile || program.isSourceFileFromExternalLibrary(sourceFile)) {
|
33
|
-
continue;
|
34
|
-
}
|
35
|
-
const observables = ['Observable', 'Subject', 'BehaviorSubject', 'ReplaySubject', 'AsyncSubject'];
|
36
|
-
const toPromiseCalls = (0, ast_utils_1.findNodes)(sourceFile, ts.isCallExpression, undefined, true).filter(node => {
|
37
|
-
if (ts.isPropertyAccessExpression(node.expression) && node.expression.name.text === 'toPromise') {
|
38
|
-
const symbol = checker.getTypeAtLocation(node.expression.expression).symbol;
|
39
|
-
return symbol && observables.includes(symbol.name);
|
40
|
-
}
|
41
|
-
return false;
|
42
|
-
});
|
43
|
-
if (toPromiseCalls.length) {
|
44
|
-
const fileToEdit = (0, path_1.relative)(basePath, sourceFile.fileName);
|
45
|
-
const recorder = tree.beginUpdate(fileToEdit);
|
46
|
-
const changes = [];
|
47
|
-
const printer = ts.createPrinter();
|
48
|
-
// Add import for lastValueFrom
|
49
|
-
changes.push((0, ast_utils_1.insertImport)(sourceFile, fileToEdit, 'lastValueFrom', 'rxjs'));
|
50
|
-
// Replace toPromise calls with lastValueFrom
|
51
|
-
toPromiseCalls.forEach(node => {
|
52
|
-
if (ts.isPropertyAccessExpression(node.expression)) {
|
53
|
-
const newCallExpression = ts.factory.createCallExpression(ts.factory.createIdentifier('lastValueFrom'), undefined, [node.expression.expression]);
|
54
|
-
const newNodeText = printer.printNode(ts.EmitHint.Unspecified, newCallExpression, sourceFile);
|
55
|
-
const change = new change_1.ReplaceChange(fileToEdit, node.getStart(), node.getText(), newNodeText);
|
56
|
-
changes.push(change);
|
57
|
-
}
|
58
|
-
});
|
59
|
-
(0, change_1.applyToUpdateRecorder)(recorder, changes);
|
60
|
-
tree.commitUpdate(recorder);
|
61
|
-
}
|
62
|
-
}
|
63
|
-
});
|
64
|
-
});
|
65
|
-
}
|
66
|
-
exports.rxjs7Upgrade = rxjs7Upgrade;
|
67
|
-
function createWorkspaceHost(tree) {
|
68
|
-
return {
|
69
|
-
readFile(path) {
|
70
|
-
return __awaiter(this, void 0, void 0, function* () {
|
71
|
-
const data = tree.read(path);
|
72
|
-
if (!data) {
|
73
|
-
throw new Error(`File not found: ${path}`);
|
74
|
-
}
|
75
|
-
return core_1.virtualFs.fileBufferToString(data);
|
76
|
-
});
|
77
|
-
},
|
78
|
-
writeFile(path, data) {
|
79
|
-
return __awaiter(this, void 0, void 0, function* () {
|
80
|
-
return tree.overwrite(path, data);
|
81
|
-
});
|
82
|
-
},
|
83
|
-
isDirectory(path) {
|
84
|
-
return __awaiter(this, void 0, void 0, function* () {
|
85
|
-
return !tree.exists(path) && tree.getDir(path).subfiles.length > 0;
|
86
|
-
});
|
87
|
-
},
|
88
|
-
isFile(path) {
|
89
|
-
return __awaiter(this, void 0, void 0, function* () {
|
90
|
-
return tree.exists(path);
|
91
|
-
});
|
92
|
-
}
|
93
|
-
};
|
94
|
-
}
|
95
|
-
function getTsConfigPaths(workspace, tree) {
|
96
|
-
const buildPaths = new Set();
|
97
|
-
const testPaths = new Set();
|
98
|
-
for (const [name, target] of (0, workspace_1.allWorkspaceTargets)(workspace)) {
|
99
|
-
if (name !== 'build' && name !== 'test') {
|
100
|
-
continue;
|
101
|
-
}
|
102
|
-
for (const [, options] of (0, workspace_1.allTargetOptions)(target)) {
|
103
|
-
if (options.tsConfig && typeof options.tsConfig === 'string' && tree.exists(options.tsConfig)) {
|
104
|
-
const normalizedPath = (0, core_1.normalize)(options.tsConfig);
|
105
|
-
name === 'build' ? buildPaths.add(normalizedPath) : testPaths.add(normalizedPath);
|
106
|
-
}
|
107
|
-
}
|
108
|
-
}
|
109
|
-
return [...buildPaths, ...testPaths];
|
110
|
-
}
|
111
|
-
function createTsProgram(tree, tsConfigPath, basePath) {
|
112
|
-
tsConfigPath = (0, path_1.resolve)(basePath, tsConfigPath);
|
113
|
-
const parsed = parseTsConfig(tsConfigPath, (0, path_1.dirname)(tsConfigPath));
|
114
|
-
const options = Object.assign(Object.assign({}, parsed.options), { skipLibCheck: true, skipDefaultLibCheck: true });
|
115
|
-
const host = createTsCompilerHost(tree, options, basePath);
|
116
|
-
return ts.createProgram(parsed.fileNames, options, host);
|
117
|
-
}
|
118
|
-
function parseTsConfig(tsConfigPath, basePath) {
|
119
|
-
const { config } = ts.readConfigFile(tsConfigPath, ts.sys.readFile);
|
120
|
-
const parseHost = {
|
121
|
-
useCaseSensitiveFileNames: ts.sys.useCaseSensitiveFileNames,
|
122
|
-
fileExists: ts.sys.fileExists,
|
123
|
-
readFile: ts.sys.readFile,
|
124
|
-
readDirectory: ts.sys.readDirectory
|
125
|
-
};
|
126
|
-
return ts.parseJsonConfigFileContent(config, parseHost, basePath, {});
|
127
|
-
}
|
128
|
-
function createTsCompilerHost(tree, options, basePath) {
|
129
|
-
const host = ts.createCompilerHost(options);
|
130
|
-
// Read files from the virtual tree to prevent conflicting changes between project migrations
|
131
|
-
host.readFile = (fileName) => {
|
132
|
-
var _a;
|
133
|
-
const relativePath = (0, path_1.relative)(basePath, fileName);
|
134
|
-
const result = (_a = tree.read(relativePath)) === null || _a === void 0 ? void 0 : _a.toString();
|
135
|
-
// Remove BOM header to prevent TSC parsing errors
|
136
|
-
return result === null || result === void 0 ? void 0 : result.replace(/^\uFEFF/, '');
|
137
|
-
};
|
138
|
-
return host;
|
139
|
-
}
|
140
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../projects/components/schematics/ng-generate/rxjs-7-upgrade/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AAExE,qEAAgF;AAChF,+DAAkG;AAClG,qEAA8F;AAC9F,+BAAkD;AAClD,iCAAiC;AAEjC,SAAgB,YAAY;IAC1B,OAAO,CAAO,IAAU,EAAE,EAAE;QAC1B,MAAM,aAAa,GAAG,mBAAmB,CAAC,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