Skip to content

Commit c481592

Browse files
committed
chore: wip
1 parent a632c86 commit c481592

File tree

12 files changed

+41
-34
lines changed

12 files changed

+41
-34
lines changed

resources/components/Billing/PaymentMethod.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ import { useBillable } from '../../functions/billing/payments'
44
import LoadingCard from '../Skeleton/LoadingCard.vue'
55
import CardBrands from './CardBrands.vue'
66
import CardForm from './CardForm.vue'
7-
8-
import PaymentMethodList from './payment-method-list.vue'
7+
import PaymentMethodList from './PaymentMethodList.vue'
98
109
const paymentStore = usePaymentStore()
1110

resources/components/Dashboard/Navbar.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ watch(theme, (currentVal) => {
1919
<div class="sticky top-0 z-10 h-16 flex shrink-0 items-center gap-x-4 border-b border-gray-200 bg-white px-4 shadow-sm sm:gap-x-6 dark:border-gray-600 dark:border-gray-600 dark:bg-blue-gray-900 lg:px-8 sm:px-6">
2020
<button type="button" class="p-2.5 text-gray-700 -m-2.5 lg:hidden">
2121
<span class="sr-only">Open sidebar</span>
22-
<div class="i-hugeicons-bars-3 h-6 w-6" />
22+
<div class="i-hugeicons-menu-01 h-6 w-6" />
2323
</button>
2424

2525
<!-- Separator -->
@@ -33,7 +33,7 @@ watch(theme, (currentVal) => {
3333
>
3434
<label for="search-field" class="sr-only">Search</label>
3535

36-
<div class="i-hugeicons-magnifying-glass pointer-events-none absolute inset-y-0 left-0 h-full w-5 text-gray-400" />
36+
<div class="i-hugeicons-search-01 pointer-events-none absolute inset-y-0 left-0 h-full w-5 text-gray-400" />
3737
<input
3838
id="search-field"
3939
class="block h-full w-full border-none py-0 pl-8 pr-0 text-gray-900 dark:bg-blue-gray-900 sm:text-sm dark:text-gray-100 placeholder:text-gray-400 focus:ring-0"

resources/components/Transaction/index.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<script setup lang="ts">
22
import { useBillable } from '../../functions/billing/payments'
3-
4-
import CardBrands from '../billing/card-brands.vue'
3+
import CardBrands from '../Billing/CardBrands.vue'
54
65
interface Recurring {
76
aggregate_usage: string | null

resources/views/dashboard/settings/billing.vue

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
<script setup lang="ts">
22
import { useBillable } from '../../../functions/billing/payments'
3-
4-
import ActivePlan from '../../../components/billing/ActivePlan.vue'
5-
6-
import PaymentMethod from '../../../components/billing/PaymentMethod.vue'
7-
import Plans from '../components/billing/plans.vue'
8-
9-
import LoadingDetails from '../components/skeleton/loading-card.vue'
10-
import TransactionHistory from '../components/transaction/index.vue'
3+
import ActivePlan from '../../../components/Billing/ActivePlan.vue'
4+
import PaymentMethod from '../../../components/Billing/PaymentMethod.vue'
5+
import Plans from '../../../components/Billing/Plans.vue'
6+
import LoadingDetails from '../../../components/Skeleton/LoadingCard.vue'
7+
import TransactionHistory from '../../../components/Transaction/index.vue'
118
129
const { isEmpty, showCurrentPlan } = useBillable()
1310

storage/framework/core/browser/build.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ const result = await Bun.build({
1212
target: 'browser',
1313
// sourcemap: 'linked',
1414
external: ['@stacksjs/path', '@stacksjs/error-handling'],
15-
minify: true,
16-
plugins: [dts({ root: './src', outdir: './dist' })],
15+
// minify: true,
16+
plugins: [dts()],
1717
})
1818

1919
await outro({

storage/framework/core/browser/src/utils/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export * from './base'
2-
export * from './billlable'
2+
export * from './billable'
33
export * from './debounce'
44
export * from './function'
55
export * from './guards'

storage/framework/core/components/table/src/functions/table.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,10 @@ watchDebounced(
111111
)
112112

113113
function determineState(): TableStore {
114-
const ls = localStorage.getItem('table')
114+
let ls
115+
if (typeof localStorage !== 'undefined') {
116+
ls = localStorage.getItem('table')
117+
}
115118

116119
if (isString(ls))
117120
return JSON.parse(ls) as TableStore

storage/framework/core/vite-config/src/views.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,16 @@ export const viewsConfig: ViteConfig = {
2828
build: {
2929
rollupOptions: {
3030
external: [
31+
'fs',
32+
'node:fs',
33+
'node:fs/promises',
34+
'node:module',
35+
'node:path',
36+
'node:process',
37+
'node:url',
38+
'node:assert',
39+
'node:v8',
40+
'node:util',
3141
'@iconify/utils',
3242
'@antfu/install-pkg',
3343
],

0 commit comments

Comments
 (0)