1 | var __defProp = Object.defineProperty;
|
2 | var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
3 | var __getOwnPropNames = Object.getOwnPropertyNames;
|
4 | var __hasOwnProp = Object.prototype.hasOwnProperty;
|
5 | var __export = (target, all) => {
|
6 | for (var name in all)
|
7 | __defProp(target, name, { get: all[name], enumerable: true });
|
8 | };
|
9 | var __copyProps = (to, from, except, desc) => {
|
10 | if (from && typeof from === "object" || typeof from === "function") {
|
11 | for (let key of __getOwnPropNames(from))
|
12 | if (!__hasOwnProp.call(to, key) && key !== except)
|
13 | __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
14 | }
|
15 | return to;
|
16 | };
|
17 | var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
18 |
|
19 |
|
20 | var plugin_factory_exports = {};
|
21 | __export(plugin_factory_exports, {
|
22 | factory: () => factory
|
23 | });
|
24 | module.exports = __toCommonJS(plugin_factory_exports);
|
25 | var factory = (tsModule) => {
|
26 | let plugin;
|
27 | return {
|
28 | create(info) {
|
29 | plugin = require("./bundles/language-service.js")(tsModule);
|
30 | return plugin.create(info);
|
31 | },
|
32 | getExternalFiles(project) {
|
33 | var _a, _b;
|
34 | return (_b = (_a = plugin == null ? void 0 : plugin.getExternalFiles) == null ? void 0 : _a.call(plugin, project)) != null ? _b : [];
|
35 | },
|
36 | onConfigurationChanged(config) {
|
37 | var _a;
|
38 | (_a = plugin == null ? void 0 : plugin.onConfigurationChanged) == null ? void 0 : _a.call(plugin, config);
|
39 | }
|
40 | };
|
41 | };
|
42 |
|
43 |
|
44 |
|
45 |
|
46 |
|
47 |
|
48 |
|
49 |
|