diff --git a/package-lock.json b/package-lock.json index d0b364a..cfa1563 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "wavelovers", - "version": "1.8.0", + "version": "1.9.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "wavelovers", - "version": "1.8.0", + "version": "1.9.0", "license": "GNU GPL v3", "dependencies": { "vue": "^3.3.4", diff --git a/package.json b/package.json index 5ee368f..8d44d6f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "wavelovers", - "version": "1.8.0", + "version": "1.9.0", "description": "Wavelovers is a tool that can turn your gamepad into a vibration massager or simply a gamepad vibration and buttons test tool.", "keywords": [ "wavelovers", diff --git a/public/sitemap-internal.xml b/public/sitemap-internal.xml index 62d819c..9ef97cf 100644 --- a/public/sitemap-internal.xml +++ b/public/sitemap-internal.xml @@ -2,43 +2,43 @@ https://wavelovers.ru/ - 2023-11-25 + 2023-11-26 weekly 1.0 https://wavelovers.ru/custom - 2023-11-25 + 2023-11-26 weekly 1.0 https://wavelovers.ru/manual - 2023-11-25 + 2023-11-26 weekly 1.0 https://wavelovers.ru/diagnostic - 2023-11-25 + 2023-11-26 weekly 1.0 https://wavelovers.ru/faq - 2023-11-25 + 2023-11-26 weekly 1.0 https://wavelovers.ru/about - 2023-11-25 + 2023-11-26 weekly 1.0 https://wavelovers.ru/donate - 2023-11-25 + 2023-11-26 weekly 1.0 diff --git a/public/sitemap.xml b/public/sitemap.xml index 7bd2013..5964c83 100644 --- a/public/sitemap.xml +++ b/public/sitemap.xml @@ -2,6 +2,6 @@ https://wavelovers.ru/sitemap-internal.xml - 2023-11-25 + 2023-11-26 diff --git a/src/components/atoms/index.ts b/src/components/atoms/index.ts index 8042a81..2cf9558 100644 --- a/src/components/atoms/index.ts +++ b/src/components/atoms/index.ts @@ -1,3 +1,2 @@ export { default as AGamepad } from './AGamepad.vue'; export { default as AMessage } from './AMessage.vue'; -export { default as APattern } from './APattern.vue'; diff --git a/src/components/atoms/APattern.vue b/src/components/molecules/MPattern.vue similarity index 93% rename from src/components/atoms/APattern.vue rename to src/components/molecules/MPattern.vue index 625ed08..e9d29ee 100644 --- a/src/components/atoms/APattern.vue +++ b/src/components/molecules/MPattern.vue @@ -5,7 +5,7 @@ import type { PropType } from 'vue'; import type { TPattern } from '@/models'; export default defineComponent({ - name: 'APattern', + name: 'MPattern', props: { pattern: { type: Object as PropType, @@ -24,9 +24,14 @@ export default defineComponent({ required: true, }, }, + emits: { + change(index: number): boolean { + return index >= 0; + }, + }, methods: { change: function (index: number): void { - this.$emit('change', index as number); + this.$emit('change', index); }, }, }); @@ -102,4 +107,3 @@ export default defineComponent({ color: var(--color-pattern-text); } -@/models/Pattern diff --git a/src/components/molecules/MPatternList.vue b/src/components/molecules/MPatternList.vue index e9b22f1..a5d7ed9 100644 --- a/src/components/molecules/MPatternList.vue +++ b/src/components/molecules/MPatternList.vue @@ -1,6 +1,6 @@