Skip to content

Commit 42dc3e3

Browse files
committed
update
1 parent d1b65c0 commit 42dc3e3

File tree

18 files changed

+1709
-426
lines changed

18 files changed

+1709
-426
lines changed

.loki/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
current
2+
difference

apps/bplan-client/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,11 @@ https://www.mapianist.com/sheet/121897
7777
https://magenta.tensorflow.org/get-started/#magenta-js
7878

7979
## kwnown issue
80+
81+
## Browser Compatibility
82+
83+
- chrome 55+
84+
- safari 11.3+
85+
- firefox 53+
86+
- opera 42+
87+
- edge 15+

apps/bplan-client/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@
3333
"workbox-expiration": "^7.3.0"
3434
},
3535
"devDependencies": {
36+
"@winter-love/vite-lib-config": "workspace:*",
37+
"@vitejs/plugin-legacy": "6.0.0",
3638
"@types/js-cookie": "^3.0.6",
3739
"@winter-love/sw": "workspace:*",
3840
"glob": "^11.0.0",
@@ -44,7 +46,8 @@
4446
"flush-promises": "^1.0.2",
4547
"typescript": "^5.7.3",
4648
"unocss": "^0.65.3",
47-
"vue-tsc": "^2.2.0"
49+
"vue-tsc": "^2.2.0",
50+
"terser": "^5.37.0"
4851
},
4952
"engines": {
5053
"node": ">= 22"

apps/bplan-client/src/components/midi-player/SClose.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ const rootStyle = cva(
3535
const iconStyle = cva('inline-block text-7 text-white', {
3636
variants: {
3737
isHidden: {
38-
false: 'i-hugeicons:cancel-02',
39-
true: 'i-hugeicons:youtube',
38+
false: 'i-tabler:x',
39+
true: 'i-tabler:playlist',
4040
},
4141
},
4242
})

apps/bplan-client/src/components/midi-player/SFileItem.tsx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export const SFileItem = (props: SFileItemProps) => {
110110
onLeftExecute={handleLeDelete}
111111
dragLeftChildren={
112112
<span class="block w-[calc(100%-0.25rem)] h-full overflow-hidden bg-red p-1 box-border rd-1">
113-
<span class="block w-full h-full i-hugeicons:delete-02 bg-white " />
113+
<span class="block w-full h-full i-tabler:trash bg-white " />
114114
</span>
115115
}
116116
>
@@ -125,7 +125,7 @@ export const SFileItem = (props: SFileItemProps) => {
125125
<span class="block absolute bg-blue rd-1 top-0 left-0 w-full h-full opacity-40" />
126126
</Show>
127127
<Show when={showPlayingIcon()}>
128-
<span class="block i-hugeicons:arrow-right-double absolute text-gray-500 left-3" />
128+
<span class="block i-tabler:chevrons-right absolute text-gray-500 left-3" />
129129
</Show>
130130
<span class="relative block text-gray b-r-solid b-r-.25 b-r-gray-300 pr-2">
131131
<span class={indexStyle({playing: showPlayingIcon()})}>
@@ -146,12 +146,10 @@ export const SFileItem = (props: SFileItemProps) => {
146146
</span>
147147
<Show
148148
when={innerProps.inProgress}
149-
fallback={<span class="w-5 h-5 flex-shrink-0" />}
149+
fallback={<span class="w-5 h-5 flex-shrink-0 i-tabler:piano" />}
150150
>
151151
<span class="scale-140 inline-flex origin-center flex-shrink-0">
152-
<span
153-
class={cx('inline-block i-hugeicons:loading-02 text-black', 'animate-spin')}
154-
/>
152+
<span class={cx('inline-block i-tabler:loader-2 text-black', 'animate-spin')} />
155153
</span>
156154
</Show>
157155
<Show when={innerProps.ext && innerProps.ext !== 'midi' && !innerProps.inProgress}>

apps/bplan-client/src/components/midi-player/SFileList.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ export interface SFileListProps
1515
const rootStyle = cva(
1616
cx(
1717
'flex flex-col relative',
18-
'before-i-hugeicons:arrow-down-01 before-absolute before-w-5 before-h-5 before-bottom--1 before-w-full',
19-
'after-i-hugeicons:arrow-up-01 after-absolute after-w-5 after-h-5 after-top--1 after-w-full',
18+
'before-i-tabler:chevron-down before-absolute before-w-5 before-h-5 before-bottom--1 before-w-full',
19+
'after-i-tabler:chevron-up after-absolute after-w-5 after-h-5 after-top--1 after-w-full',
2020
),
2121
{
2222
variants: {

apps/bplan-client/src/components/midi-player/SMidiFileInput.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export const SMidiFileInput = (props: HMidiFileInputProps) => {
106106
<div class={cx(rootStyle, innerProps.class)}>
107107
<label class="inline-flex" for={id}>
108108
<span class="text-nowrap md:text-6 text-4">Click or Drop </span>
109-
<span class="block i-hugeicons:file-add text-6 px-1" />
109+
<span class="block i-tabler:file-plus text-6 px-1" />
110110
<span class="text-nowrap md:inline hidden md:text-6 text-4">Your files</span>
111111
</label>
112112

apps/bplan-client/src/components/midi-player/SPlayerController.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ export interface SPlayerControllerProps
3232
const playStyle = cva('block text-8', {
3333
variants: {
3434
isPlaying: {
35-
false: 'i-hugeicons:play',
36-
true: 'i-hugeicons:pause',
35+
false: 'i-tabler:player-play',
36+
true: 'i-tabler:player-pause',
3737
},
3838
},
3939
})
@@ -121,7 +121,7 @@ export const SPlayerController = (props: SPlayerControllerProps) => {
121121
onClick={innerProps.onStop}
122122
title="stop"
123123
>
124-
<span class="block i-hugeicons:stop text-9" />
124+
<span class="block i-tabler:player-stop text-9" />
125125
</SPlayerButton>
126126
<SRepeatButton
127127
class="min-w-11"
@@ -135,7 +135,7 @@ export const SPlayerController = (props: SPlayerControllerProps) => {
135135
onClick={innerProps.onSetting}
136136
title="setting"
137137
>
138-
<span class="block i-hugeicons:setting-07 text-8" />
138+
<span class="block i-tabler:settings text-8" />
139139
</SPlayerButton>
140140
</section>
141141
</>

apps/bplan-client/src/components/midi-player/SRepeatButton.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ export type RepeatType = 'no' | 'all' | 'one'
1313
const iconStyle = cva('block text-8', {
1414
variants: {
1515
repeat: {
16-
all: 'i-hugeicons:repeat',
17-
no: 'i-hugeicons:arrow-right-03',
18-
one: 'i-hugeicons:repeat-one-01',
16+
all: 'i-tabler:repeat',
17+
no: 'i-tabler:repeat-off',
18+
one: 'i-tabler:repeat-once',
1919
},
2020
},
2121
})

apps/bplan-client/src/components/midi-player/SSetting.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export const SSetting = (props: SSettingProps) => {
8383
/>
8484
<div class="flex justify-end w-full">
8585
<SPlayerButton class="min-w-11 min-h-9 bg-gray-100" onClick={handleClose}>
86-
<span class="i-hugeicons:cancel-01 text-8 inline-block" />
86+
<span class="i-tabler:x text-8 inline-block" />
8787
</SPlayerButton>
8888
</div>
8989
</div>

0 commit comments

Comments
 (0)