@ihk-gfi/lux-components-update 18.4.0 → 18.5.0

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/collection.json CHANGED
@@ -1,6 +1,11 @@
1
1
  {
2
2
  "$schema": "../node_modules/@angular-devkit/schematics/collection-schema.json",
3
3
  "schematics": {
4
+ "update-18.5.0": {
5
+ "description": "Aktualisiert das LUX-Componentsprojekt auf die Version 18.5.0",
6
+ "factory": "./updates/18.5.0/index#update180500",
7
+ "schema": "./updates/18.5.0/schema.json"
8
+ },
4
9
  "update-18.4.0": {
5
10
  "description": "Aktualisiert das LUX-Componentsprojekt auf die Version 18.4.0",
6
11
  "factory": "./updates/18.4.0/index#update180400",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ihk-gfi/lux-components-update",
3
- "version": "18.4.0",
3
+ "version": "18.5.0",
4
4
  "description": "Schematics für die Aktualisierung von LUX-Applikationen",
5
5
  "scripts": {
6
6
  "build": "npm run clean && tsc -p tsconfig.json",
@@ -1,5 +1,7 @@
1
1
  import { Rule } from '@angular-devkit/schematics';
2
2
  export declare function update180400(_options: any, runNpmInstall?: boolean): Rule;
3
3
  export declare function updateI18NFiles(): Rule;
4
+ export declare const i18nDeStepper = "<trans-unit id=\"luxc.stepper-large.error_message.steps_not_completed\" datatype=\"html\">\n <source>Die Angaben in Schritt <x id=\"PH\" equiv-text=\"i+1\"/> sind unvollst\u00E4ndig oder fehlerhaft. Bitte korrigieren Sie erst Ihre Angaben in diesem Schritt.</source>\n <context-group purpose=\"location\">\n <context context-type=\"sourcefile\">src/app/modules/lux-layout/lux-stepper-large/lux-stepper-large.component.ts</context>\n <context context-type=\"linenumber\">231</context>\n </context-group>\n </trans-unit>";
5
+ export declare const i18nEnStepper = "<trans-unit id=\"luxc.stepper-large.error_message.steps_not_completed\" datatype=\"html\">\n <source>Die Angaben in Schritt <x id=\"PH\" equiv-text=\"i+1\"/> sind unvollst\u00E4ndig oder fehlerhaft. Bitte korrigieren Sie erst Ihre Angaben in diesem Schritt.</source>\n <target> The information in step <x id=\"PH\" equiv-text=\"i+1\"/> is incomplete or incorrect. Please correct your information in this step first</target>\n <context-group purpose=\"location\">\n <context context-type=\"sourcefile\">src/app/modules/lux-layout/lux-stepper-large/lux-stepper-large.component.ts</context>\n <context context-type=\"linenumber\">231</context>\n </context-group>\n </trans-unit>";
4
6
  export declare const i18nDeDatepicker = "<trans-unit id=\"luxc.datetimepicker.panel.hours.arialabel\" datatype=\"html\">\n <source>Stunden</source>\n <context-group purpose=\"location\">\n <context context-type=\"sourcefile\">src/app/modules/lux-form/lux-datetimepicker-ac/lux-datetime-overlay-ac/lux-datetime-overlay-content-ac.component.html</context>\n <context context-type=\"linenumber\">21</context>\n </context-group>\n </trans-unit>\n <trans-unit id=\"luxc.datetimepicker.panel.minutes.arialabel\" datatype=\"html\">\n <source>Minuten</source>\n <context-group purpose=\"location\">\n <context context-type=\"sourcefile\">src/app/modules/lux-form/lux-datetimepicker-ac/lux-datetime-overlay-ac/lux-datetime-overlay-content-ac.component.html</context>\n <context context-type=\"linenumber\">39</context>\n </context-group>\n </trans-unit>";
5
7
  export declare const i18nEnDatepicker = "<trans-unit id=\"luxc.datetimepicker.panel.hours.arialabel\" datatype=\"html\">\n <source>Stunden</source>\n <target>Hours</target>\n <context-group purpose=\"location\">\n <context context-type=\"sourcefile\">src/app/modules/lux-form/lux-datetimepicker-ac/lux-datetime-overlay-ac/lux-datetime-overlay-content-ac.component.html</context>\n <context context-type=\"linenumber\">21</context>\n </context-group>\n </trans-unit>\n <trans-unit id=\"luxc.datetimepicker.panel.minutes.arialabel\" datatype=\"html\">\n <source>Minuten</source>\n <target>Minutes</target>\n <context-group purpose=\"location\">\n <context context-type=\"sourcefile\">src/app/modules/lux-form/lux-datetimepicker-ac/lux-datetime-overlay-ac/lux-datetime-overlay-content-ac.component.html</context>\n <context context-type=\"linenumber\">39</context>\n </context-group>\n </trans-unit>";
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.i18nEnDatepicker = exports.i18nDeDatepicker = void 0;
3
+ exports.i18nEnDatepicker = exports.i18nDeDatepicker = exports.i18nEnStepper = exports.i18nDeStepper = void 0;
4
4
  exports.update180400 = update180400;
5
5
  exports.updateI18NFiles = updateI18NFiles;
6
6
  const schematics_1 = require("@angular-devkit/schematics");
@@ -24,9 +24,26 @@ function updateI18NFiles() {
24
24
  return (tree, _context) => {
25
25
  (0, util_1.messageInfoRule)(`I18n-Dateien werden angepasst...`), (0, util_1.updateI18nFile)(tree, 'de', 'luxc.datetimepicker.invalid.date', exports.i18nDeDatepicker);
26
26
  (0, util_1.updateI18nFile)(tree, 'en', 'luxc.datetimepicker.invalid.date', exports.i18nEnDatepicker);
27
+ (0, util_1.updateI18nFile)(tree, 'de', 'luxc.lookup-autocomplete.error_message.not_available', exports.i18nDeStepper);
28
+ (0, util_1.updateI18nFile)(tree, 'en', 'luxc.lookup-autocomplete.error_message.not_available', exports.i18nEnStepper);
27
29
  (0, util_1.messageInfoRule)(`I18n-Dateien wurden angepasst.`);
28
30
  };
29
31
  }
32
+ exports.i18nDeStepper = `<trans-unit id="luxc.stepper-large.error_message.steps_not_completed" datatype="html">
33
+ <source>Die Angaben in Schritt <x id="PH" equiv-text="i+1"/> sind unvollständig oder fehlerhaft. Bitte korrigieren Sie erst Ihre Angaben in diesem Schritt.</source>
34
+ <context-group purpose="location">
35
+ <context context-type="sourcefile">src/app/modules/lux-layout/lux-stepper-large/lux-stepper-large.component.ts</context>
36
+ <context context-type="linenumber">231</context>
37
+ </context-group>
38
+ </trans-unit>`;
39
+ exports.i18nEnStepper = `<trans-unit id="luxc.stepper-large.error_message.steps_not_completed" datatype="html">
40
+ <source>Die Angaben in Schritt <x id="PH" equiv-text="i+1"/> sind unvollständig oder fehlerhaft. Bitte korrigieren Sie erst Ihre Angaben in diesem Schritt.</source>
41
+ <target> The information in step <x id="PH" equiv-text="i+1"/> is incomplete or incorrect. Please correct your information in this step first</target>
42
+ <context-group purpose="location">
43
+ <context context-type="sourcefile">src/app/modules/lux-layout/lux-stepper-large/lux-stepper-large.component.ts</context>
44
+ <context context-type="linenumber">231</context>
45
+ </context-group>
46
+ </trans-unit>`;
30
47
  exports.i18nDeDatepicker = `<trans-unit id="luxc.datetimepicker.panel.hours.arialabel" datatype="html">
31
48
  <source>Stunden</source>
32
49
  <context-group purpose="location">
@@ -0,0 +1,2 @@
1
+ import { Rule } from '@angular-devkit/schematics';
2
+ export declare function update180500(_options: any, runNpmInstall?: boolean): Rule;
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.update180500 = update180500;
4
+ const schematics_1 = require("@angular-devkit/schematics");
5
+ const chalk = require("chalk");
6
+ const index_1 = require("../../update-dependencies/index");
7
+ const util_1 = require("../../utility/util");
8
+ function update180500(_options, runNpmInstall = true) {
9
+ return (_tree, _context) => {
10
+ return (0, schematics_1.chain)([
11
+ (0, util_1.messageInfoRule)(`Die LUX-Components werden auf die Version 18.5.0 aktualisiert...`),
12
+ (0, util_1.messageInfoRule)(`Die Datei "package.json" wird angepasst...`),
13
+ (0, index_1.updateDep)('@ihk-gfi/lux-components', '18.5.0', false),
14
+ (0, index_1.updateDep)('@ihk-gfi/lux-components-theme', '18.5.0', false),
15
+ (0, util_1.messageSuccessRule)(`Die LUX-Components wurden auf die Version 18.5.0 aktualisiert.`),
16
+ (0, util_1.finish)(runNpmInstall, `${chalk.yellowBright('Fertig!')}`)
17
+ ]);
18
+ };
19
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "$schema": "http://json-schema.org/schema",
3
+ "$id": "luxupdate180500Schema",
4
+ "title": "Aktualisiert das LUX-Componentsprojekt",
5
+ "type": "object",
6
+ "description": "Aktualisiert das LUX-Componentsprojekt",
7
+ "properties": {
8
+ "project": {
9
+ "type": "string",
10
+ "description": "Der Projektname",
11
+ "$default": {
12
+ "$source": "projectName"
13
+ }
14
+ },
15
+ "verbose": {
16
+ "type": "boolean",
17
+ "description": "Generiert mehr Logausgaben",
18
+ "default": false
19
+ }
20
+ },
21
+ "required": [],
22
+ "additionalProperties": false
23
+ }