@dsivd/prestations-ng 16.0.0-beta10 → 16.0.0-beta12
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 +3 -0
- package/CONTRIBUTING.md +1 -1
- package/UPGRADING_V16.md +26 -0
- package/dsivd-prestations-ng-v16.0.0-beta12.tgz +0 -0
- package/esm2020/foehn-debug-summary/foehn-debug-summary.component.mjs +23 -8
- package/esm2020/foehn-recap-section/foehn-recap-section.component.mjs +16 -6
- package/esm2020/foehn-recap-section/foehn-recap-section.type.mjs +1 -1
- package/fesm2015/dsivd-prestations-ng.mjs +37 -12
- package/fesm2015/dsivd-prestations-ng.mjs.map +1 -1
- package/fesm2020/dsivd-prestations-ng.mjs +37 -12
- package/fesm2020/dsivd-prestations-ng.mjs.map +1 -1
- package/foehn-recap-section/foehn-recap-section.component.d.ts +5 -2
- package/foehn-recap-section/foehn-recap-section.type.d.ts +2 -0
- package/package.json +1 -1
- package/schematics/collection.json +4 -0
- package/schematics/replace-browsers-list/index.d.ts +3 -0
- package/schematics/replace-browsers-list/index.js +15 -0
- package/dsivd-prestations-ng-v16.0.0-beta10.tgz +0 -0
|
@@ -2,8 +2,11 @@ import { Address } from '../foehn-address/address.type';
|
|
|
2
2
|
import { FoehnRecapSection, FoehnRecapSectionElement } from './foehn-recap-section.type';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class FoehnRecapSectionComponent {
|
|
5
|
-
data: FoehnRecapSection;
|
|
6
5
|
acceptEmptyValues: boolean;
|
|
6
|
+
comment: FoehnRecapSectionElement;
|
|
7
|
+
private _section;
|
|
8
|
+
set data(data: FoehnRecapSection);
|
|
9
|
+
get data(): FoehnRecapSection;
|
|
7
10
|
cleanValue(element: FoehnRecapSectionElement): any;
|
|
8
11
|
atLeastOneElementHasContent(data: FoehnRecapSection): boolean;
|
|
9
12
|
hasContent(element: FoehnRecapSectionElement): boolean;
|
|
@@ -14,5 +17,5 @@ export declare class FoehnRecapSectionComponent {
|
|
|
14
17
|
private fixLineBreaks;
|
|
15
18
|
private isSet;
|
|
16
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<FoehnRecapSectionComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FoehnRecapSectionComponent, "foehn-recap-section", never, { "
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FoehnRecapSectionComponent, "foehn-recap-section", never, { "acceptEmptyValues": "acceptEmptyValues"; "data": "data"; }, {}, never, never, false, never>;
|
|
18
21
|
}
|
|
@@ -7,8 +7,10 @@ export interface FoehnRecapSectionElement {
|
|
|
7
7
|
* An optional Id, will be added on the `dd` DOM element.
|
|
8
8
|
*/
|
|
9
9
|
id?: string;
|
|
10
|
+
isComment?: boolean;
|
|
10
11
|
}
|
|
11
12
|
export interface FoehnRecapSection {
|
|
13
|
+
id?: string;
|
|
12
14
|
titleKey: string;
|
|
13
15
|
elements: FoehnRecapSectionElement[];
|
|
14
16
|
}
|
package/package.json
CHANGED
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"ng-update": {
|
|
41
41
|
"migrations": "./schematics/migration-collection.json"
|
|
42
42
|
},
|
|
43
|
-
"version": "16.0.0-
|
|
43
|
+
"version": "16.0.0-beta12",
|
|
44
44
|
"module": "fesm2015/dsivd-prestations-ng.mjs",
|
|
45
45
|
"es2020": "fesm2020/dsivd-prestations-ng.mjs",
|
|
46
46
|
"esm2020": "esm2020/dsivd-prestations-ng.mjs",
|
|
@@ -8,6 +8,10 @@
|
|
|
8
8
|
"update-karma-config": {
|
|
9
9
|
"description": "Updates from karma-coverage-istanbul-reporter to karma-coverage.",
|
|
10
10
|
"factory": "./update-karma-config"
|
|
11
|
+
},
|
|
12
|
+
"replace-browsers-list": {
|
|
13
|
+
"description": "Replaces .browserslistrc file with the one from prestations-ng library.",
|
|
14
|
+
"factory": "./replace-browsers-list"
|
|
11
15
|
}
|
|
12
16
|
}
|
|
13
17
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const schematics_1 = require("@angular-devkit/schematics");
|
|
4
|
+
const replace_browserslistrc_1 = require("../utility/replace-browserslistrc");
|
|
5
|
+
exports.default = () => (tree, context) => {
|
|
6
|
+
const angularConfig = 'angular.json';
|
|
7
|
+
// Let's make sure we're in an angular workspace
|
|
8
|
+
if (!tree.exists(angularConfig)) {
|
|
9
|
+
throw new schematics_1.SchematicsException('This is not an Angular workspace. Try again in an Angular project.');
|
|
10
|
+
}
|
|
11
|
+
context.logger.info('Replacing your .browserslistrc file with the one from prestations-ng library');
|
|
12
|
+
(0, replace_browserslistrc_1.replaceBrowsersList)(tree);
|
|
13
|
+
return tree;
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9wcmVzdGF0aW9ucy1uZy9zY2hlbWF0aWNzL3JlcGxhY2UtYnJvd3NlcnMtbGlzdC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLDJEQUtvQztBQUVwQyw4RUFBd0U7QUFFeEUsa0JBQWUsR0FBUyxFQUFFLENBQUMsQ0FBQyxJQUFVLEVBQUUsT0FBeUIsRUFBRSxFQUFFO0lBQ2pFLE1BQU0sYUFBYSxHQUFHLGNBQWMsQ0FBQztJQUNyQyxnREFBZ0Q7SUFDaEQsSUFBSSxDQUFDLElBQUksQ0FBQyxNQUFNLENBQUMsYUFBYSxDQUFDLEVBQUU7UUFDN0IsTUFBTSxJQUFJLGdDQUFtQixDQUN6QixvRUFBb0UsQ0FDdkUsQ0FBQztLQUNMO0lBQ0QsT0FBTyxDQUFDLE1BQU0sQ0FBQyxJQUFJLENBQ2YsOEVBQThFLENBQ2pGLENBQUM7SUFDRixJQUFBLDRDQUFtQixFQUFDLElBQUksQ0FBQyxDQUFDO0lBQzFCLE9BQU8sSUFBSSxDQUFDO0FBQ2hCLENBQUMsQ0FBQyJ9
|
|
Binary file
|