release v2.0.0 #4

Merged
crimsen merged 481 commits from develop into master 2024-01-18 15:15:08 +00:00
40 changed files with 41 additions and 41 deletions
Showing only changes of commit 0efe445864 - Show all commits

View File

@ -22,7 +22,7 @@
</template> </template>
<script lang="ts"> <script lang="ts">
import { defineComponent } from '@vue/composition-api'; import { defineComponent } from 'vue';
export default defineComponent({ export default defineComponent({
name: 'Developer', name: 'Developer',
props: { props: {

View File

@ -16,7 +16,7 @@
</template> </template>
<script lang="ts"> <script lang="ts">
import { defineComponent } from '@vue/composition-api'; import { defineComponent } from 'vue';
export default defineComponent({ export default defineComponent({
name: 'CircularProgress', name: 'CircularProgress',
}); });

View File

@ -16,7 +16,7 @@
</template> </template>
<script lang="ts"> <script lang="ts">
import { defineComponent } from '@vue/composition-api'; import { defineComponent } from 'vue';
export default defineComponent({ export default defineComponent({
name: 'DarkCircularProgress', name: 'DarkCircularProgress',
}); });

View File

@ -3,7 +3,7 @@
</template> </template>
<script lang="ts"> <script lang="ts">
import { defineComponent } from '@vue/composition-api'; import { defineComponent } from 'vue';
export default defineComponent({ export default defineComponent({
name: 'EmptyParent', name: 'EmptyParent',

View File

@ -14,7 +14,7 @@
</template> </template>
<script lang="ts"> <script lang="ts">
import { computed, defineComponent } from '@vue/composition-api'; import { computed, defineComponent } from 'vue';
import { hasPermissions } from 'src/utils/permission'; import { hasPermissions } from 'src/utils/permission';
export default defineComponent({ export default defineComponent({

View File

@ -3,7 +3,7 @@
</template> </template>
<script lang="ts"> <script lang="ts">
import { computed, defineComponent } from '@vue/composition-api'; import { computed, defineComponent } from 'vue';
import { hasPermissions } from 'src/utils/permission'; import { hasPermissions } from 'src/utils/permission';
export default defineComponent({ export default defineComponent({

View File

@ -36,7 +36,7 @@
</template> </template>
<script lang="ts"> <script lang="ts">
import { computed, defineComponent, ref } from '@vue/composition-api'; import { computed, defineComponent, ref } from 'vue';
import { date } from 'quasar'; import { date } from 'quasar';
interface Props { interface Props {
value?: Date; value?: Date;

View File

@ -42,7 +42,7 @@
</template> </template>
<script lang="ts"> <script lang="ts">
import { defineComponent } from '@vue/composition-api'; import { defineComponent } from 'vue';
import ShortCutLink from 'components/navigation/ShortCutLink.vue'; import ShortCutLink from 'components/navigation/ShortCutLink.vue';
export default defineComponent({ export default defineComponent({

View File

@ -11,7 +11,7 @@
</template> </template>
<script lang="ts"> <script lang="ts">
import { defineComponent, onMounted, ref } from '@vue/composition-api'; import { defineComponent, onMounted, ref } from 'vue';
import { hasPermissions } from 'src/utils/permission'; import { hasPermissions } from 'src/utils/permission';
import { AsyncComponentPromise } from 'vue/types/options'; import { AsyncComponentPromise } from 'vue/types/options';

View File

@ -54,7 +54,7 @@
</template> </template>
<script lang="ts"> <script lang="ts">
import { defineComponent, ref } from '@vue/composition-api'; import { defineComponent, ref } from 'vue';
import { Loading, Notify } from 'quasar'; import { Loading, Notify } from 'quasar';
import { setBaseUrl } from 'boot/axios'; import { setBaseUrl } from 'boot/axios';

View File

@ -35,7 +35,7 @@
</template> </template>
<script lang="ts"> <script lang="ts">
import { defineComponent, ref, onUnmounted } from '@vue/composition-api'; import { defineComponent, ref, onUnmounted } from 'vue';
export default defineComponent({ export default defineComponent({
name: 'Offline', name: 'Offline',

View File

@ -35,7 +35,7 @@
</template> </template>
<script lang="ts"> <script lang="ts">
import { defineComponent } from '@vue/composition-api'; import { defineComponent } from 'vue';
export default defineComponent({ export default defineComponent({
name: 'PluginError.vue', name: 'PluginError.vue',

View File

@ -34,7 +34,7 @@
</template> </template>
<script lang="ts"> <script lang="ts">
import { defineComponent, ref } from '@vue/composition-api'; import { defineComponent, ref } from 'vue';
import { Loading, Notify } from 'quasar'; import { Loading, Notify } from 'quasar';
import { AxiosResponse } from 'axios'; import { AxiosResponse } from 'axios';

View File

@ -59,7 +59,7 @@
</template> </template>
<script lang="ts"> <script lang="ts">
import { defineComponent } from '@vue/composition-api'; import { defineComponent } from 'vue';
import Developer from 'components/about/Developer.vue'; import Developer from 'components/about/Developer.vue';
const developers = [ const developers = [

View File

@ -61,7 +61,7 @@
</template> </template>
<script lang="ts"> <script lang="ts">
import { computed, ref, defineComponent, onBeforeMount } from '@vue/composition-api'; import { computed, ref, defineComponent, onBeforeMount } from 'vue';
import { hasPermission } from 'src/utils/permission'; import { hasPermission } from 'src/utils/permission';
import { StateInterfaceBalance } from '../store/balance'; import { StateInterfaceBalance } from '../store/balance';
import { Store } from 'vuex'; import { Store } from 'vuex';

View File

@ -14,7 +14,7 @@
</template> </template>
<script lang="ts"> <script lang="ts">
import { ref, computed, defineComponent, onBeforeMount } from '@vue/composition-api'; import { ref, computed, defineComponent, onBeforeMount } from 'vue';
import UserSelector from 'src/plugins/user/components/UserSelector.vue'; import UserSelector from 'src/plugins/user/components/UserSelector.vue';
import { StateInterfaceBalance } from '../store/balance'; import { StateInterfaceBalance } from '../store/balance';
import { Store } from 'vuex'; import { Store } from 'vuex';

View File

@ -27,7 +27,7 @@
</template> </template>
<script lang="ts"> <script lang="ts">
import { computed, ref, defineComponent } from '@vue/composition-api'; import { computed, ref, defineComponent } from 'vue';
import { hasPermission } from 'src/utils/permission'; import { hasPermission } from 'src/utils/permission';
import { StateInterfaceBalance } from '../store/balance'; import { StateInterfaceBalance } from '../store/balance';
import { Store } from 'vuex'; import { Store } from 'vuex';

View File

@ -30,7 +30,7 @@
</template> </template>
<script lang="ts"> <script lang="ts">
import { ref, computed, defineComponent, onUnmounted, onMounted } from '@vue/composition-api'; import { ref, computed, defineComponent, onUnmounted, onMounted } from 'vue';
import { hasPermission } from 'src/utils/permission'; import { hasPermission } from 'src/utils/permission';
import { formatDateTime } from 'src/utils/datetime'; import { formatDateTime } from 'src/utils/datetime';
import { StateInterfaceBalance } from 'src/plugins/balance/store/balance'; import { StateInterfaceBalance } from 'src/plugins/balance/store/balance';

View File

@ -7,7 +7,7 @@
</template> </template>
<script lang="ts"> <script lang="ts">
import { computed, defineComponent, onBeforeMount } from '@vue/composition-api'; import { computed, defineComponent, onBeforeMount } from 'vue';
import { StateInterfaceBalance } from 'src/plugins/balance/store/balance'; import { StateInterfaceBalance } from 'src/plugins/balance/store/balance';
import { Store } from 'vuex'; import { Store } from 'vuex';

View File

@ -13,7 +13,7 @@
<script lang="ts"> <script lang="ts">
// TODO: Fill usefull data // TODO: Fill usefull data
import { ref, defineComponent, onMounted } from '@vue/composition-api'; import { ref, defineComponent, onMounted } from 'vue';
import { StateInterfaceBalance, BalancesResponse } from '../store/balance'; import { StateInterfaceBalance, BalancesResponse } from '../store/balance';
import { Store } from 'vuex'; import { Store } from 'vuex';
export default defineComponent({ export default defineComponent({

View File

@ -67,7 +67,7 @@
</template> </template>
<script lang="ts"> <script lang="ts">
import { computed, defineComponent, ref, onMounted } from '@vue/composition-api'; import { computed, defineComponent, ref, onMounted } from 'vue';
import { Store } from 'vuex'; import { Store } from 'vuex';
import { hasPermissions, hasSomePermissions } from 'src/utils/permission'; import { hasPermissions, hasSomePermissions } from 'src/utils/permission';
import PERMISSIONS from '../permissions'; import PERMISSIONS from '../permissions';

View File

@ -32,7 +32,7 @@
</template> </template>
<script lang="ts"> <script lang="ts">
import { computed, defineComponent, onMounted, ref } from '@vue/composition-api'; import { computed, defineComponent, onMounted, ref } from 'vue';
import { StateInterfaceBalance, TransactionsResponse } from '../store/balance'; import { StateInterfaceBalance, TransactionsResponse } from '../store/balance';
import { Store } from 'vuex'; import { Store } from 'vuex';
import { formatDateTime } from 'src/utils/datetime'; import { formatDateTime } from 'src/utils/datetime';

View File

@ -8,7 +8,7 @@
</template> </template>
<script lang="ts"> <script lang="ts">
import { defineComponent } from '@vue/composition-api'; import { defineComponent } from 'vue';
export default defineComponent({ export default defineComponent({
name: 'DummyWidget', name: 'DummyWidget',

View File

@ -64,7 +64,7 @@
</template> </template>
<script lang="ts"> <script lang="ts">
import { defineComponent, ref, onBeforeMount, computed } from '@vue/composition-api'; import { defineComponent, ref, onBeforeMount, computed } from 'vue';
import IsoDateInput from 'src/components/utils/IsoDateInput.vue'; import IsoDateInput from 'src/components/utils/IsoDateInput.vue';
import Job from './Job.vue'; import Job from './Job.vue';
import { Store } from 'vuex'; import { Store } from 'vuex';

View File

@ -45,7 +45,7 @@
</template> </template>
<script lang="ts"> <script lang="ts">
import { defineComponent, ref, computed, onBeforeMount } from '@vue/composition-api'; import { defineComponent, ref, computed, onBeforeMount } from 'vue';
import { Store } from 'vuex'; import { Store } from 'vuex';
import { StateInterface } from 'src/store'; import { StateInterface } from 'src/store';
import { ScheduleInterface, EventType } from '../../store/schedule'; import { ScheduleInterface, EventType } from '../../store/schedule';

View File

@ -62,7 +62,7 @@
</template> </template>
<script lang="ts"> <script lang="ts">
import { defineComponent, computed, ref } from '@vue/composition-api'; import { defineComponent, computed, ref } from 'vue';
import IsoDateInput from 'src/components/utils/IsoDateInput.vue'; import IsoDateInput from 'src/components/utils/IsoDateInput.vue';
import { Store } from 'vuex'; import { Store } from 'vuex';
import { StateInterface } from 'src/store'; import { StateInterface } from 'src/store';

View File

@ -45,7 +45,7 @@
</template> </template>
<script lang="ts"> <script lang="ts">
import { defineComponent, ref, computed, onBeforeMount } from '@vue/composition-api'; import { defineComponent, ref, computed, onBeforeMount } from 'vue';
import { Store } from 'vuex'; import { Store } from 'vuex';
import { StateInterface } from 'src/store'; import { StateInterface } from 'src/store';
import { ScheduleInterface, JobType } from '../../store/schedule'; import { ScheduleInterface, JobType } from '../../store/schedule';

View File

@ -21,7 +21,7 @@
</template> </template>
<script lang="ts"> <script lang="ts">
import { computed, defineComponent } from '@vue/composition-api'; import { computed, defineComponent } from 'vue';
import EssentialLink from 'src/components/navigation/EssentialLink.vue'; import EssentialLink from 'src/components/navigation/EssentialLink.vue';
import mainRoutes from 'src/plugins/schedule/routes'; import mainRoutes from 'src/plugins/schedule/routes';
import { Store } from 'vuex'; import { Store } from 'vuex';

View File

@ -46,7 +46,7 @@
</template> </template>
<script lang="ts"> <script lang="ts">
import { computed, defineComponent, ref } from '@vue/composition-api'; import { computed, defineComponent, ref } from 'vue';
import Eventtypes from '../components/management/Eventtypes.vue'; import Eventtypes from '../components/management/Eventtypes.vue';
import JobTypes from '../components/management/JobTypes.vue'; import JobTypes from '../components/management/JobTypes.vue';
import CreateEvent from '../components/management/CreateEvent.vue'; import CreateEvent from '../components/management/CreateEvent.vue';

View File

@ -10,7 +10,7 @@
</template> </template>
<script lang="ts"> <script lang="ts">
import { defineComponent, ref } from '@vue/composition-api'; import { defineComponent, ref } from 'vue';
import MainUserSettings from 'src/plugins/user/components/settings/MainUserSettings.vue'; import MainUserSettings from 'src/plugins/user/components/settings/MainUserSettings.vue';
import { Store } from 'vuex'; import { Store } from 'vuex';
import { StateInterface } from 'src/store'; import { StateInterface } from 'src/store';

View File

@ -11,7 +11,7 @@
</template> </template>
<script lang="ts"> <script lang="ts">
import { defineComponent, ref } from '@vue/composition-api'; import { defineComponent, ref } from 'vue';
import { Store } from 'vuex'; import { Store } from 'vuex';
import { StateInterface } from '../../../store'; import { StateInterface } from '../../../store';
import UserSelector from '../components/UserSelector.vue'; import UserSelector from '../components/UserSelector.vue';

View File

@ -12,7 +12,7 @@
</template> </template>
<script lang="ts"> <script lang="ts">
import { computed, defineComponent, onBeforeMount } from '@vue/composition-api'; import { computed, defineComponent, onBeforeMount } from 'vue';
import { Store } from 'vuex'; import { Store } from 'vuex';
import { StateInterface } from 'src/store'; import { StateInterface } from 'src/store';

View File

@ -26,7 +26,7 @@
</template> </template>
<script lang="ts"> <script lang="ts">
import { computed, defineComponent, onMounted, ref } from '@vue/composition-api'; import { computed, defineComponent, onMounted, ref } from 'vue';
import { Store } from 'vuex'; import { Store } from 'vuex';
import { StateInterface } from 'src/store'; import { StateInterface } from 'src/store';

View File

@ -107,7 +107,7 @@
</template> </template>
<script lang="ts"> <script lang="ts">
import { computed, defineComponent, ref, onBeforeMount } from '@vue/composition-api'; import { computed, defineComponent, ref, onBeforeMount } from 'vue';
import { Store } from 'vuex'; import { Store } from 'vuex';
import { StateInterface } from 'src/store'; import { StateInterface } from 'src/store';
import { hasPermission } from 'src/utils/permission'; import { hasPermission } from 'src/utils/permission';

View File

@ -45,7 +45,7 @@
</template> </template>
<script lang="ts"> <script lang="ts">
import { computed, defineComponent, ref, onBeforeMount } from '@vue/composition-api'; import { computed, defineComponent, ref, onBeforeMount } from 'vue';
import { Store } from 'vuex'; import { Store } from 'vuex';
import { StateInterface } from 'src/store'; import { StateInterface } from 'src/store';

View File

@ -46,7 +46,7 @@
</template> </template>
<script lang="ts"> <script lang="ts">
import { defineComponent, ref, computed } from '@vue/composition-api'; import { defineComponent, ref, computed } from 'vue';
import { Store } from 'vuex'; import { Store } from 'vuex';
import { StateInterface } from 'src/store'; import { StateInterface } from 'src/store';

View File

@ -46,7 +46,7 @@
</template> </template>
<script lang="ts"> <script lang="ts">
import { computed, defineComponent, ref } from '@vue/composition-api'; import { computed, defineComponent, ref } from 'vue';
import RoleSettings from '../components/settings/RoleSettings.vue'; import RoleSettings from '../components/settings/RoleSettings.vue';
import UpdateUser from '../components/UpdateUser.vue'; import UpdateUser from '../components/UpdateUser.vue';
import NewUser from '../components/NewUser.vue'; import NewUser from '../components/NewUser.vue';

View File

@ -21,7 +21,7 @@
</template> </template>
<script lang="ts"> <script lang="ts">
import { computed, defineComponent } from '@vue/composition-api'; import { computed, defineComponent } from 'vue';
import EssentialLink from 'src/components/navigation/EssentialLink.vue'; import EssentialLink from 'src/components/navigation/EssentialLink.vue';
import mainRoutes from 'src/plugins/user/routes'; import mainRoutes from 'src/plugins/user/routes';
export default defineComponent({ export default defineComponent({

View File

@ -14,7 +14,7 @@
</template> </template>
<script lang="ts"> <script lang="ts">
import { computed, defineComponent, onBeforeMount, ref } from '@vue/composition-api'; import { computed, defineComponent, onBeforeMount, ref } from 'vue';
import Sessions from '../components/settings/Sessions.vue'; import Sessions from '../components/settings/Sessions.vue';
import MainUserSettings from '../components/settings/MainUserSettings.vue'; import MainUserSettings from '../components/settings/MainUserSettings.vue';
import { Store } from 'vuex'; import { Store } from 'vuex';
@ -24,7 +24,7 @@ import setLoadingBar from 'src/utils/loading';
export default defineComponent({ export default defineComponent({
// name: 'PageName' // name: 'PageName'
components: { Sessions, MainUserSettings }, components: { Sessions, MainUserSettings },
setup(_, { root }) { setup(_, _, {
const store = <Store<StateInterface>>root.$store; const store = <Store<StateInterface>>root.$store;
onBeforeMount(() => { onBeforeMount(() => {

View File

@ -1,4 +1,4 @@
import { watch, WatchSource } from '@vue/composition-api'; import { watch, WatchSource } from 'vue';
import { LoadingBar } from 'quasar'; import { LoadingBar } from 'quasar';
function setLoadingBar(loading: WatchSource<boolean>) { function setLoadingBar(loading: WatchSource<boolean>) {