Sha256: 7932cbf458428daeba157dee61c603ca03421ddeac39aac58a664a3a55c80d8b
Contents?: true
Size: 1.88 KB
Versions: 4
Compression:
Stored size: 1.88 KB
Contents
<script setup> /* Copyright (c) 2022, all rights reserved. All the information provided by this platform is protected by international laws related to industrial property, intellectual property, copyright and relative international laws. All intellectual or industrial property rights of the code, texts, trade mark, design, pictures and any other information belongs to the owner of this platform. Without the written permission of the owner, any replication, modification, transmission, publication is strictly forbidden. For more information read the license file including with this software. // · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ // · */ // · import vue tools import { ref, reactive, onMounted, watch, computed, inject } from "vue" import { useRouter, useRoute } from 'vue-router' // · initialize/inject plugins const router = useRouter() const route = useRoute() const msg = inject("msg") const url = inject("url") // · import components import componentLabelEditor from "LesliBabel/components/form-label-editor.vue" import componentActions from "LesliBabel/components/actions.vue" // · import lesli stores import { useStrings } from "LesliBabel/stores/strings" import { useTranslations } from "LesliBabel/stores/translations" // · implement stores const storeStrings = useStrings() const storeTranslations = useTranslations() // · function search(string) { router.push({ path: "translations", query: { search: string }}) } </script> <template> <lesli-application-container> <lesli-header title="Translations"> <component-actions></component-actions> </lesli-header> <lesli-toolbar :initial-value="storeStrings.search" @search="search"> </lesli-toolbar> <component-label-editor> </component-label-editor> </lesli-application-container> </template>
Version data entries
4 entries across 4 versions & 1 rubygems