1 | "use strict";
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 | var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
18 | var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
19 | if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
20 | else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
21 | return c > 3 && r && Object.defineProperty(target, key, r), r;
|
22 | };
|
23 | Object.defineProperty(exports, "__esModule", { value: true });
|
24 | exports.ElectronClipboardService = void 0;
|
25 |
|
26 | const inversify_1 = require("inversify");
|
27 | let ElectronClipboardService = class ElectronClipboardService {
|
28 | readText() {
|
29 | return window.electronTheiaCore.readClipboard();
|
30 | }
|
31 | writeText(value) {
|
32 | window.electronTheiaCore.writeClipboard(value);
|
33 | }
|
34 | };
|
35 | ElectronClipboardService = __decorate([
|
36 | (0, inversify_1.injectable)()
|
37 | ], ElectronClipboardService);
|
38 | exports.ElectronClipboardService = ElectronClipboardService;
|
39 |
|
\ | No newline at end of file |