This commit is contained in:
5
node_modules/vscode-nls/lib/browser/main.d.ts
generated
vendored
Normal file
5
node_modules/vscode-nls/lib/browser/main.d.ts
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
import { Options, LocalizeInfo } from '../common/common';
|
||||
export { MessageFormat, BundleFormat, Options, LocalizeInfo, LocalizeFunc, LoadFunc, KeyInfo } from '../common/common';
|
||||
export declare function loadMessageBundle(_file?: string): (key: string | number | LocalizeInfo, message: string, ...args: any[]) => string;
|
||||
export declare function config(options?: Options): typeof loadMessageBundle;
|
||||
//# sourceMappingURL=main.d.ts.map
|
||||
1
node_modules/vscode-nls/lib/browser/main.d.ts.map
generated
vendored
Normal file
1
node_modules/vscode-nls/lib/browser/main.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../src/browser/main.ts"],"names":[],"mappings":"AAOA,OAAO,EAAuB,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAE9E,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAEvH,wBAAgB,iBAAiB,CAAC,KAAK,CAAC,EAAE,MAAM,SACzB,MAAM,GAAG,MAAM,GAAG,YAAY,WAAW,MAAM,WAAW,GAAG,EAAE,KAAG,MAAM,CAO9F;AAED,wBAAgB,MAAM,CAAC,OAAO,CAAC,EAAE,OAAO,4BAGvC"}
|
||||
47
node_modules/vscode-nls/lib/browser/main.js
generated
vendored
Normal file
47
node_modules/vscode-nls/lib/browser/main.js
generated
vendored
Normal file
@@ -0,0 +1,47 @@
|
||||
"use strict";
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
* ------------------------------------------------------------------------------------------ */
|
||||
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
||||
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
||||
if (ar || !(i in from)) {
|
||||
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
||||
ar[i] = from[i];
|
||||
}
|
||||
}
|
||||
return to.concat(ar || Array.prototype.slice.call(from));
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.config = exports.loadMessageBundle = exports.BundleFormat = exports.MessageFormat = void 0;
|
||||
var ral_1 = require("../common/ral");
|
||||
var common_1 = require("../common/common");
|
||||
var common_2 = require("../common/common");
|
||||
Object.defineProperty(exports, "MessageFormat", { enumerable: true, get: function () { return common_2.MessageFormat; } });
|
||||
Object.defineProperty(exports, "BundleFormat", { enumerable: true, get: function () { return common_2.BundleFormat; } });
|
||||
function loadMessageBundle(_file) {
|
||||
return function (key, message) {
|
||||
var args = [];
|
||||
for (var _i = 2; _i < arguments.length; _i++) {
|
||||
args[_i - 2] = arguments[_i];
|
||||
}
|
||||
if (typeof key === 'number') {
|
||||
throw new Error("Browser implementation does currently not support externalized strings.");
|
||||
}
|
||||
else {
|
||||
return common_1.localize.apply(void 0, __spreadArray([key, message], args, false));
|
||||
}
|
||||
};
|
||||
}
|
||||
exports.loadMessageBundle = loadMessageBundle;
|
||||
function config(options) {
|
||||
var _a;
|
||||
(0, common_1.setPseudo)(((_a = options === null || options === void 0 ? void 0 : options.locale) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === 'pseudo');
|
||||
return loadMessageBundle;
|
||||
}
|
||||
exports.config = config;
|
||||
ral_1.default.install(Object.freeze({
|
||||
loadMessageBundle: loadMessageBundle,
|
||||
config: config
|
||||
}));
|
||||
//# sourceMappingURL=main.js.map
|
||||
1
node_modules/vscode-nls/lib/browser/main.js.map
generated
vendored
Normal file
1
node_modules/vscode-nls/lib/browser/main.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"main.js","sourceRoot":"","sources":["../../src/browser/main.ts"],"names":[],"mappings":";AAAA;;;gGAGgG;;;;;;;;;;;;AAEhG,qCAAgC;AAEhC,2CAA8E;AAE9E,2CAAuH;AAA9G,uGAAA,aAAa,OAAA;AAAE,sGAAA,YAAY,OAAA;AAEpC,SAAgB,iBAAiB,CAAC,KAAc;IAC/C,OAAO,UAAU,GAAmC,EAAE,OAAe;QAAE,cAAc;aAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;YAAd,6BAAc;;QACpF,IAAI,OAAO,GAAG,KAAK,QAAQ,EAAE;YAC5B,MAAM,IAAI,KAAK,CAAC,yEAAyE,CAAC,CAAC;SAC3F;aAAM;YACN,OAAO,iBAAQ,8BAAC,GAAG,EAAE,OAAO,GAAK,IAAI,UAAE;SACvC;IACF,CAAC,CAAC;AACH,CAAC;AARD,8CAQC;AAED,SAAgB,MAAM,CAAC,OAAiB;;IACvC,IAAA,kBAAS,EAAC,CAAA,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM,0CAAE,WAAW,EAAE,MAAK,QAAQ,CAAC,CAAC;IACvD,OAAO,iBAAiB,CAAC;AAC1B,CAAC;AAHD,wBAGC;AAED,aAAG,CAAC,OAAO,CAAC,MAAM,CAAC,MAAM,CAAM;IAC9B,iBAAiB,EAAE,iBAAiB;IACpC,MAAM,EAAE,MAAM;CACd,CAAC,CAAC,CAAC"}
|
||||
1
node_modules/vscode-nls/lib/browser/tsconfig.tsbuildinfo
generated
vendored
Normal file
1
node_modules/vscode-nls/lib/browser/tsconfig.tsbuildinfo
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"program":{"fileNames":["../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../common/common.d.ts","../common/ral.d.ts","../../src/browser/main.ts"],"fileInfos":[{"version":"89f78430e422a0f06d13019d60d5a45b37ec2d28e67eb647f73b1b0d19a46b72","affectsGlobalScope":true},{"version":"abba1071bfd89e55e88a054b0c851ea3e8a494c340d0f3fab19eb18f6afb0c9e","affectsGlobalScope":true},"ca318e19fce2e60cc2a7b38b1584aeb5e828f8052ca7dadffb678710e98487f6","5c7bb5997369b2266142d3df41da94dd31fe3a97b778f43971f3c951a51c0f71","dc93cac838493a491682fcea19cc810ecda949f0e910f1c9ad00dea0357ab120"],"options":{"composite":true,"declaration":true,"declarationMap":true,"module":1,"outDir":"./","sourceMap":true,"stripInternal":true,"target":1},"fileIdsList":[[3],[3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[3,4,2,1,5]},"version":"4.5.5"}
|
||||
Reference in New Issue
Block a user