UNPKG

2.43 kBJavaScriptView Raw
1"use strict";
2var __extends = (this && this.__extends) || (function () {
3 var extendStatics = Object.setPrototypeOf ||
4 ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5 function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6 return function (d, b) {
7 extendStatics(d, b);
8 function __() { this.constructor = d; }
9 d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
10 };
11})();
12Object.defineProperty(exports, "__esModule", { value: true });
13/**
14 * @license
15 * Copyright Google Inc. All Rights Reserved.
16 *
17 * Use of this source code is governed by an MIT-style license that can be
18 * found in the LICENSE file at https://angular.io/license
19 */
20var CliOptions = (function () {
21 function CliOptions(_a) {
22 var _b = _a.basePath, basePath = _b === void 0 ? null : _b;
23 this.basePath = basePath;
24 }
25 return CliOptions;
26}());
27exports.CliOptions = CliOptions;
28var I18nExtractionCliOptions = (function (_super) {
29 __extends(I18nExtractionCliOptions, _super);
30 function I18nExtractionCliOptions(_a) {
31 var _b = _a.i18nFormat, i18nFormat = _b === void 0 ? null : _b, _c = _a.locale, locale = _c === void 0 ? null : _c, _d = _a.outFile, outFile = _d === void 0 ? null : _d;
32 var _this = _super.call(this, {}) || this;
33 _this.i18nFormat = i18nFormat;
34 _this.locale = locale;
35 _this.outFile = outFile;
36 return _this;
37 }
38 return I18nExtractionCliOptions;
39}(CliOptions));
40exports.I18nExtractionCliOptions = I18nExtractionCliOptions;
41var NgcCliOptions = (function (_super) {
42 __extends(NgcCliOptions, _super);
43 function NgcCliOptions(_a) {
44 var _b = _a.i18nFormat, i18nFormat = _b === void 0 ? null : _b, _c = _a.i18nFile, i18nFile = _c === void 0 ? null : _c, _d = _a.locale, locale = _d === void 0 ? null : _d, _e = _a.missingTranslation, missingTranslation = _e === void 0 ? null : _e, _f = _a.basePath, basePath = _f === void 0 ? null : _f;
45 var _this = _super.call(this, { basePath: basePath }) || this;
46 _this.i18nFormat = i18nFormat;
47 _this.i18nFile = i18nFile;
48 _this.locale = locale;
49 _this.missingTranslation = missingTranslation;
50 return _this;
51 }
52 return NgcCliOptions;
53}(CliOptions));
54exports.NgcCliOptions = NgcCliOptions;
55//# sourceMappingURL=cli_options.js.map
\No newline at end of file