From e427e020985a63bb4f27759ffb96c76a73fdead0 Mon Sep 17 00:00:00 2001 From: Sipachev Igor Date: Mon, 7 Mar 2022 18:21:38 +0700 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20?= =?UTF-8?q?=D0=B8=D0=BD=D1=82=D0=B5=D1=80=D1=84=D0=B5=D0=B9=D1=81=20=D1=81?= =?UTF-8?q?=D0=BE=D1=85=D1=80=D0=B0=D0=BD=D0=B5=D0=BD=D0=B8=D1=8F=20=D0=BC?= =?UTF-8?q?=D0=BE=D0=BA=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- popup/src/classes/DTO/Registers.ts | 4 +++ popup/src/components/script.ts | 8 ++++++ popup/src/components/style.scss | 6 +++- popup/src/components/template.html | 44 +++++++++++++++++++++++++++++- 4 files changed, 60 insertions(+), 2 deletions(-) create mode 100644 popup/src/classes/DTO/Registers.ts diff --git a/popup/src/classes/DTO/Registers.ts b/popup/src/classes/DTO/Registers.ts new file mode 100644 index 0000000..c8220a8 --- /dev/null +++ b/popup/src/classes/DTO/Registers.ts @@ -0,0 +1,4 @@ +export class Registers { + xteeMta = '' + xteePension = '' +} diff --git a/popup/src/components/script.ts b/popup/src/components/script.ts index bed7969..e91f416 100644 --- a/popup/src/components/script.ts +++ b/popup/src/components/script.ts @@ -10,13 +10,16 @@ import { Target } from '@/classes/Enum/Target' import sender from '@/classes/Service/Browser/Chrome/Sender' import { Action } from '@/classes/Enum/Action' import notificationCleaner from '@/classes/Service/NotificationCleaner' +import { Registers } from '@/classes/DTO/Registers' Vue.use(VueClipboard) @Component export default class HelloWorld extends Vue { tab = 'person' + personalId = '' person = new Person() + registers = new Registers() isAutoCleaner = false copyText = '' @@ -47,6 +50,7 @@ export default class HelloWorld extends Vue { copyPersonalId () { const personalId = personalIdGenerator.generate(this.person) + this.personalId = personalId this.copy(personalId) } @@ -100,4 +104,8 @@ export default class HelloWorld extends Vue { notificationCleaner.disable() } } + + saveMocks () { + console.log(this.personalId, this.registers) + } } diff --git a/popup/src/components/style.scss b/popup/src/components/style.scss index 43e8ca0..350380a 100644 --- a/popup/src/components/style.scss +++ b/popup/src/components/style.scss @@ -50,7 +50,7 @@ } &:last-child { - margin-bottom: 0px; + margin-bottom: 0; } } } @@ -61,5 +61,9 @@ padding: 5px; margin-top: 10px; } + + .option-select { + width: 350px; + } } } diff --git a/popup/src/components/template.html b/popup/src/components/template.html index 98433a6..01d54a3 100644 --- a/popup/src/components/template.html +++ b/popup/src/components/template.html @@ -72,7 +72,7 @@
-
Memory: {{copyText}}
+
+
+ + + + + + + + + + + + + +

+ +

+ +