refactor(frontend): scripts -> utility

This commit is contained in:
syuilo
2025-03-09 14:28:01 +09:00
parent f35eb0f6d9
commit be7e3b9a0c
464 changed files with 829 additions and 829 deletions

View File

@@ -4,7 +4,7 @@
*/
import type { Directive } from 'vue';
import { getBgColor } from '@/scripts/get-bg-color.js';
import { getBgColor } from '@/utility/get-bg-color.js';
export default {
mounted(src, binding, vn) {

View File

@@ -4,7 +4,7 @@
*/
import type { Directive } from 'vue';
import { getBgColor } from '@/scripts/get-bg-color.js';
import { getBgColor } from '@/utility/get-bg-color.js';
export default {
mounted(src, binding, vn) {

View File

@@ -4,7 +4,7 @@
*/
import type { Directive } from 'vue';
import { makeHotkey } from '@/scripts/hotkey.js';
import { makeHotkey } from '@/utility/hotkey.js';
export default {
mounted(el, binding) {

View File

@@ -4,7 +4,7 @@
*/
import type { Directive } from 'vue';
import { getBgColor } from '@/scripts/get-bg-color.js';
import { getBgColor } from '@/utility/get-bg-color.js';
export default {
mounted(src, binding, vn) {

View File

@@ -8,7 +8,7 @@
import { defineAsyncComponent, ref } from 'vue';
import type { Directive } from 'vue';
import { isTouchUsing } from '@/scripts/touch.js';
import { isTouchUsing } from '@/utility/touch.js';
import { popup, alert } from '@/os.js';
const start = isTouchUsing ? 'touchstart' : 'mouseenter';