diff options
author | dizzy <diosmosis@users.noreply.github.com> | 2021-10-03 21:41:43 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-03 21:41:43 +0300 |
commit | deff627a8e9a4c476ba59cfe57c3797f65679c4f (patch) | |
tree | 2141a61b0f26b774ac7a9e317c8c89fb1ff40b66 | |
parent | c4253cf6a2c58fe134ee7accd4be47090acb94cd (diff) |
add missing file headers (#18093)
10 files changed, 70 insertions, 0 deletions
diff --git a/plugins/CoreHome/vue/src/ActivityIndicator/ActivityIndicator.adapter.ts b/plugins/CoreHome/vue/src/ActivityIndicator/ActivityIndicator.adapter.ts index 36f5f7dc85..96ed62b476 100644 --- a/plugins/CoreHome/vue/src/ActivityIndicator/ActivityIndicator.adapter.ts +++ b/plugins/CoreHome/vue/src/ActivityIndicator/ActivityIndicator.adapter.ts @@ -1,3 +1,10 @@ +/*! + * Matomo - free/libre analytics platform + * + * @link https://matomo.org + * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later + */ + import { createApp } from 'vue'; import ActivityIndicator from './ActivityIndicator.vue'; import translate from '../translate'; diff --git a/plugins/CoreHome/vue/src/ActivityIndicator/ActivityIndicator.vue b/plugins/CoreHome/vue/src/ActivityIndicator/ActivityIndicator.vue index c63ae725f2..a5f27080dc 100644 --- a/plugins/CoreHome/vue/src/ActivityIndicator/ActivityIndicator.vue +++ b/plugins/CoreHome/vue/src/ActivityIndicator/ActivityIndicator.vue @@ -1,3 +1,10 @@ +<!-- + Matomo - free/libre analytics platform + + @link https://matomo.org + @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later +--> + <template> <div v-show="loading" class="loadingPiwik"> <img src="plugins/Morpheus/images/loading-blue.gif" alt=""/> diff --git a/plugins/CoreHome/vue/src/Alert/Alert.adapter.ts b/plugins/CoreHome/vue/src/Alert/Alert.adapter.ts index b580fd4c5a..c1f32e8461 100644 --- a/plugins/CoreHome/vue/src/Alert/Alert.adapter.ts +++ b/plugins/CoreHome/vue/src/Alert/Alert.adapter.ts @@ -1,3 +1,10 @@ +/*! + * Matomo - free/libre analytics platform + * + * @link https://matomo.org + * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later + */ + import { createApp, ref } from 'vue'; import Alert from './Alert.vue'; diff --git a/plugins/CoreHome/vue/src/Alert/Alert.vue b/plugins/CoreHome/vue/src/Alert/Alert.vue index bb2af8afcd..a6d7b032e3 100644 --- a/plugins/CoreHome/vue/src/Alert/Alert.vue +++ b/plugins/CoreHome/vue/src/Alert/Alert.vue @@ -1,3 +1,10 @@ +<!-- + Matomo - free/libre analytics platform + + @link https://matomo.org + @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later +--> + <template> <div class="alert" diff --git a/plugins/CoreHome/vue/src/index.ts b/plugins/CoreHome/vue/src/index.ts index 750b337f54..3853065aea 100644 --- a/plugins/CoreHome/vue/src/index.ts +++ b/plugins/CoreHome/vue/src/index.ts @@ -1,3 +1,10 @@ +/*! + * Matomo - free/libre analytics platform + * + * @link https://matomo.org + * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later + */ + export { default as activityIndicatorAdapter } from './ActivityIndicator/ActivityIndicator.adapter'; export { default as ActivityIndicator } from './ActivityIndicator/ActivityIndicator.vue'; export { default as translate } from './translate'; diff --git a/plugins/CoreHome/vue/src/translate.ts b/plugins/CoreHome/vue/src/translate.ts index 1c0515c3c1..0f543432de 100644 --- a/plugins/CoreHome/vue/src/translate.ts +++ b/plugins/CoreHome/vue/src/translate.ts @@ -1,3 +1,10 @@ +/*! + * Matomo - free/libre analytics platform + * + * @link https://matomo.org + * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later + */ + export default function translate(translationStringId: string, values: string[] = []): string { return window._pk_translate(translationStringId, values); // eslint-disable-line } diff --git a/plugins/CoreVue/polyfills/src/index.ts b/plugins/CoreVue/polyfills/src/index.ts index 8d63a6a03b..c0a4f1182a 100644 --- a/plugins/CoreVue/polyfills/src/index.ts +++ b/plugins/CoreVue/polyfills/src/index.ts @@ -1,3 +1,10 @@ +/*! + * Matomo - free/libre analytics platform + * + * @link https://matomo.org + * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later + */ + /* eslint-disable */ // this is a dummy file used to compile core-js polyfills so we don't have to include them in any diff --git a/plugins/ExampleVue/vue/src/ExampleComponent/ExampleComponent.adapter.ts b/plugins/ExampleVue/vue/src/ExampleComponent/ExampleComponent.adapter.ts index 4bead5a993..b1704bbbed 100644 --- a/plugins/ExampleVue/vue/src/ExampleComponent/ExampleComponent.adapter.ts +++ b/plugins/ExampleVue/vue/src/ExampleComponent/ExampleComponent.adapter.ts @@ -1,3 +1,10 @@ +/*! + * Matomo - free/libre analytics platform + * + * @link https://matomo.org + * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later + */ + import { createApp, defineAsyncComponent } from 'vue'; const AsyncExampleComponent = defineAsyncComponent(() => import('./ExampleComponent.vue')); diff --git a/plugins/ExampleVue/vue/src/ExampleComponent/ExampleComponent.vue b/plugins/ExampleVue/vue/src/ExampleComponent/ExampleComponent.vue index 199b48a257..265df3b426 100644 --- a/plugins/ExampleVue/vue/src/ExampleComponent/ExampleComponent.vue +++ b/plugins/ExampleVue/vue/src/ExampleComponent/ExampleComponent.vue @@ -1,3 +1,10 @@ +<!-- + Matomo - free/libre analytics platform + + @link https://matomo.org + @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later +--> + <template> <div> <button v-on:click="decrement">-</button> diff --git a/plugins/ExampleVue/vue/src/index.ts b/plugins/ExampleVue/vue/src/index.ts index b45786e5f1..6dd241195d 100644 --- a/plugins/ExampleVue/vue/src/index.ts +++ b/plugins/ExampleVue/vue/src/index.ts @@ -1 +1,8 @@ +/*! + * Matomo - free/libre analytics platform + * + * @link https://matomo.org + * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later + */ + export { default as exampleVueComponentAdapter } from './ExampleComponent/ExampleComponent.adapter'; |