vue-pdfiy 0.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.cursorrules +0 -0
- package/.editorconfig +8 -0
- package/.gitattributes +1 -0
- package/.github/workflows/deploy.yml +66 -0
- package/.oxlintrc.json +10 -0
- package/.prettierrc.json +6 -0
- package/.vitepress/config.ts +63 -0
- package/.vitepress/theme/index.ts +42 -0
- package/.vitepress/theme/style.css +255 -0
- package/.vscode/extensions.json +10 -0
- package/README.md +294 -0
- package/api-examples.md +49 -0
- package/bun.lock +1165 -0
- package/docs/assets/logo.svg +9 -0
- package/docs/examples.md +507 -0
- package/docs/guide/introduction.md +14 -0
- package/docs/guide/quick-start.md +76 -0
- package/docs/index.md +35 -0
- package/docs/plugins/table-builder-api-refrences.md +430 -0
- package/docs/plugins/table-builder-hooks.md +294 -0
- package/docs/plugins/table-builder.md +278 -0
- package/docs/plugins/vfs.md +108 -0
- package/docs/public/assets/file-type-pdf-dark.svg +9 -0
- package/docs/public/assets/file-type-pdf-light.svg +9 -0
- package/docs/public/assets/file-type-pdf.svg +9 -0
- package/docs/public/assets/logo.svg +9 -0
- package/docs/public/assets/table-dark.svg +6 -0
- package/docs/public/assets/table-light.svg +6 -0
- package/docs/public/assets/table.svg +6 -0
- package/docs/public/assets/tools-dark.svg +9 -0
- package/docs/public/assets/tools-light.svg +9 -0
- package/docs/public/assets/tools.svg +9 -0
- package/docs/utils/array-buffer-to-base64.md +60 -0
- package/docs/utils/is-arabic-text.md +59 -0
- package/docs/utils/load-custom-font.md +105 -0
- package/docs/utils/text-splitter.md +182 -0
- package/env.d.ts +1 -0
- package/index.html +13 -0
- package/package.json +58 -0
- package/plan.md +279 -0
- package/public/Cairo-Regular.ttf +0 -0
- package/public/PlaywriteGBJGuides-Italic.ttf +0 -0
- package/public/PlaywriteGBJGuides-Regular.ttf +0 -0
- package/public/favicon.ico +0 -0
- package/public/logo.svg +1 -0
- package/src/App.vue +122 -0
- package/src/assets/base.css +0 -0
- package/src/assets/logo.svg +1 -0
- package/src/assets/main.css +61 -0
- package/src/components/PDFRender.vue +16 -0
- package/src/components/Pagination.vue +40 -0
- package/src/components/TheWelcome.vue +95 -0
- package/src/components/WelcomeItem.vue +87 -0
- package/src/components/__tests__/HelloWorld.spec.ts +7 -0
- package/src/components/icons/IconCommunity.vue +7 -0
- package/src/components/icons/IconDocumentation.vue +7 -0
- package/src/components/icons/IconEcosystem.vue +7 -0
- package/src/components/icons/IconSupport.vue +7 -0
- package/src/components/icons/IconTooling.vue +19 -0
- package/src/composables/index.ts +583 -0
- package/src/composables/useTableBuilder.ts +465 -0
- package/src/examples/CustomizationTable.vue +1095 -0
- package/src/examples/DynamicTable.vue +84 -0
- package/src/examples/InvoiceTable.vue +93 -0
- package/src/examples/MultiTablesWithHeaderFooter.vue +95 -0
- package/src/examples/ReusableTableBuilder.vue +84 -0
- package/src/examples/SimpleTable.vue +51 -0
- package/src/examples/TableFromObjects.vue +70 -0
- package/src/examples/tableBuilderExample.ts +405 -0
- package/src/main.ts +6 -0
- package/src/plugins/AutoTable.ts +67 -0
- package/src/plugins/Svg.ts +6 -0
- package/src/plugins/TextSplitter.ts +14 -0
- package/src/plugins/VFS.ts +14 -0
- package/src/plugins/table.ts +33 -0
- package/src/types/index.ts +149 -0
- package/src/types/table.ts +130 -0
- package/src/utils/ArrayBufferToBase64.ts +14 -0
- package/src/utils/IsArabicText.ts +9 -0
- package/src/utils/LoadCustomFont.ts +20 -0
- package/src/utils/PXToMM.ts +3 -0
- package/src/utils/SetTextPosition.ts +16 -0
- package/src/utils/tableHelpers.ts +133 -0
- package/tsconfig.app.json +12 -0
- package/tsconfig.json +14 -0
- package/tsconfig.node.json +19 -0
- package/tsconfig.vitest.json +11 -0
- package/vite.config.ts +15 -0
- package/vitest.config.ts +14 -0
package/.cursorrules
ADDED
|
File without changes
|
package/.editorconfig
ADDED
package/.gitattributes
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
* text=auto eol=lf
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# Sample workflow for building and deploying a VitePress site to GitHub Pages
|
|
2
|
+
#
|
|
3
|
+
name: Deploy VitePress site to Pages
|
|
4
|
+
|
|
5
|
+
on:
|
|
6
|
+
# Runs on pushes targeting the `main` branch. Change this to `master` if you're
|
|
7
|
+
# using the `master` branch as the default branch.
|
|
8
|
+
push:
|
|
9
|
+
branches: [main]
|
|
10
|
+
|
|
11
|
+
# Allows you to run this workflow manually from the Actions tab
|
|
12
|
+
workflow_dispatch:
|
|
13
|
+
|
|
14
|
+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
|
|
15
|
+
permissions:
|
|
16
|
+
contents: read
|
|
17
|
+
pages: write
|
|
18
|
+
id-token: write
|
|
19
|
+
|
|
20
|
+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
|
|
21
|
+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
|
|
22
|
+
concurrency:
|
|
23
|
+
group: pages
|
|
24
|
+
cancel-in-progress: false
|
|
25
|
+
|
|
26
|
+
jobs:
|
|
27
|
+
# Build job
|
|
28
|
+
build:
|
|
29
|
+
runs-on: ubuntu-latest
|
|
30
|
+
steps:
|
|
31
|
+
- name: Checkout
|
|
32
|
+
uses: actions/checkout@v5
|
|
33
|
+
with:
|
|
34
|
+
fetch-depth: 0 # Not needed if lastUpdated is not enabled
|
|
35
|
+
- uses: oven-sh/setup-bun@v1
|
|
36
|
+
- name: Setup Pages
|
|
37
|
+
uses: actions/configure-pages@v4
|
|
38
|
+
- name: Remove node_modules
|
|
39
|
+
run: rm -rf node_modules
|
|
40
|
+
- name: Remove .vitepress/dist
|
|
41
|
+
run: rm -rf .vitepress/dist
|
|
42
|
+
- name: Install dependencies
|
|
43
|
+
run: bun install # or pnpm install / yarn install / bun install
|
|
44
|
+
- name: Build Vue Project
|
|
45
|
+
run: bun run build
|
|
46
|
+
- name: Build with VitePress
|
|
47
|
+
run: bun run docs:build
|
|
48
|
+
env:
|
|
49
|
+
BASE: /${{ github.event.repository.name }}/
|
|
50
|
+
- name: Upload artifact
|
|
51
|
+
uses: actions/upload-pages-artifact@v3
|
|
52
|
+
with:
|
|
53
|
+
path: .vitepress/dist
|
|
54
|
+
|
|
55
|
+
# Deployment job
|
|
56
|
+
deploy:
|
|
57
|
+
environment:
|
|
58
|
+
name: github-pages
|
|
59
|
+
url: ${{ steps.deployment.outputs.page_url }}
|
|
60
|
+
needs: build
|
|
61
|
+
runs-on: ubuntu-latest
|
|
62
|
+
name: Deploy
|
|
63
|
+
steps:
|
|
64
|
+
- name: Deploy to GitHub Pages
|
|
65
|
+
id: deployment
|
|
66
|
+
uses: actions/deploy-pages@v4
|
package/.oxlintrc.json
ADDED
package/.prettierrc.json
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { fileURLToPath, URL } from 'node:url'
|
|
2
|
+
import { defineConfig } from 'vitepress'
|
|
3
|
+
|
|
4
|
+
// https://vitepress.dev/reference/site-config
|
|
5
|
+
export default defineConfig({
|
|
6
|
+
srcDir: 'docs',
|
|
7
|
+
title: 'vue-pdfiy',
|
|
8
|
+
description: 'vue-pdf-render-maker',
|
|
9
|
+
base: '/vue-pdfiy/',
|
|
10
|
+
vite: {
|
|
11
|
+
resolve: {
|
|
12
|
+
alias: {
|
|
13
|
+
'@': fileURLToPath(new URL('../src', import.meta.url)),
|
|
14
|
+
'~': fileURLToPath(new URL('../public', import.meta.url)),
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
head: [['link', { rel: 'icon', href: '/favicon.ico' }]],
|
|
19
|
+
themeConfig: {
|
|
20
|
+
logo: '/assets/logo.svg',
|
|
21
|
+
search: {
|
|
22
|
+
provider: 'local',
|
|
23
|
+
},
|
|
24
|
+
|
|
25
|
+
// https://vitepress.dev/reference/default-theme-config
|
|
26
|
+
nav: [
|
|
27
|
+
{ text: 'Home', link: '/' },
|
|
28
|
+
{ text: 'Examples', link: '/examples' },
|
|
29
|
+
],
|
|
30
|
+
|
|
31
|
+
sidebar: [
|
|
32
|
+
{
|
|
33
|
+
text: 'Guide',
|
|
34
|
+
items: [
|
|
35
|
+
{ text: 'Introduction', link: '/guide/introduction' },
|
|
36
|
+
{ text: 'Quick Start', link: '/guide/quick-start' },
|
|
37
|
+
// { text: 'Markdown Examples', link: '/markdown-examples' },
|
|
38
|
+
],
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
text: 'Plugins',
|
|
42
|
+
items: [
|
|
43
|
+
// { text: 'AutoTable', link: '/plugins/auto-table' },
|
|
44
|
+
{ text: 'Table Builder', link: '/plugins/table-builder' },
|
|
45
|
+
{ text: 'Table Builder API Reference', link: '/plugins/table-builder-api-refrences' },
|
|
46
|
+
{ text: 'Table Builder Events', link: '/plugins/table-builder-hooks' },
|
|
47
|
+
{ text: 'VFS', link: '/plugins/vfs' },
|
|
48
|
+
],
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
text: 'Utils',
|
|
52
|
+
items: [
|
|
53
|
+
{ text: 'containsArabic', link: '/utils/is-arabic-text' },
|
|
54
|
+
{ text: 'textSplitter', link: '/utils/text-splitter' },
|
|
55
|
+
{ text: 'arrayBufferToBase64', link: '/utils/array-buffer-to-base64' },
|
|
56
|
+
{ text: 'LoadCustomFont', link: '/utils/load-custom-font' },
|
|
57
|
+
],
|
|
58
|
+
},
|
|
59
|
+
],
|
|
60
|
+
|
|
61
|
+
socialLinks: [{ icon: 'github', link: 'https://github.com/zetaxalhaffar/vue-pdfiy' }],
|
|
62
|
+
},
|
|
63
|
+
})
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
// https://vitepress.dev/guide/custom-theme
|
|
2
|
+
import type { Theme } from 'vitepress'
|
|
3
|
+
import DefaultTheme from 'vitepress/theme'
|
|
4
|
+
import { defineAsyncComponent, h } from 'vue'
|
|
5
|
+
import './style.css'
|
|
6
|
+
|
|
7
|
+
export default {
|
|
8
|
+
extends: DefaultTheme,
|
|
9
|
+
Layout: () => {
|
|
10
|
+
return h(DefaultTheme.Layout, null, {
|
|
11
|
+
// https://vitepress.dev/guide/extending-default-theme#layout-slots
|
|
12
|
+
})
|
|
13
|
+
},
|
|
14
|
+
// , _router, siteData
|
|
15
|
+
enhanceApp({ app }) {
|
|
16
|
+
// Use dynamic import to avoid SSR issues with pdfjs-dist
|
|
17
|
+
if (typeof window !== 'undefined') {
|
|
18
|
+
const SimpleTable = defineAsyncComponent(() => import('../../src/examples/SimpleTable.vue'))
|
|
19
|
+
const MultiTablesWithHeaderFooter = defineAsyncComponent(
|
|
20
|
+
() => import('../../src/examples/MultiTablesWithHeaderFooter.vue'),
|
|
21
|
+
)
|
|
22
|
+
const TableFromObjects = defineAsyncComponent(
|
|
23
|
+
() => import('../../src/examples/TableFromObjects.vue'),
|
|
24
|
+
)
|
|
25
|
+
const InvoiceTable = defineAsyncComponent(() => import('../../src/examples/InvoiceTable.vue'))
|
|
26
|
+
const ReusableTableBuilder = defineAsyncComponent(
|
|
27
|
+
() => import('../../src/examples/ReusableTableBuilder.vue'),
|
|
28
|
+
)
|
|
29
|
+
const DynamicTable = defineAsyncComponent(() => import('../../src/examples/DynamicTable.vue'))
|
|
30
|
+
const CustomTable = defineAsyncComponent(
|
|
31
|
+
() => import('../../src/examples/CustomizationTable.vue'),
|
|
32
|
+
)
|
|
33
|
+
app.component('SimpleTable', SimpleTable)
|
|
34
|
+
app.component('MultiTablesWithHeaderFooter', MultiTablesWithHeaderFooter)
|
|
35
|
+
app.component('TableFromObjects', TableFromObjects)
|
|
36
|
+
app.component('InvoiceTable', InvoiceTable)
|
|
37
|
+
app.component('ReusableTableBuilder', ReusableTableBuilder)
|
|
38
|
+
app.component('DynamicTable', DynamicTable)
|
|
39
|
+
app.component('CustomTable', CustomTable)
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
} satisfies Theme
|
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Customize default theme styling by overriding CSS variables:
|
|
3
|
+
* https://github.com/vuejs/vitepress/blob/main/src/client/theme-default/styles/vars.css
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Colors
|
|
8
|
+
*
|
|
9
|
+
* Each colors have exact same color scale system with 3 levels of solid
|
|
10
|
+
* colors with different brightness, and 1 soft color.
|
|
11
|
+
*
|
|
12
|
+
* - `XXX-1`: The most solid color used mainly for colored text. It must
|
|
13
|
+
* satisfy the contrast ratio against when used on top of `XXX-soft`.
|
|
14
|
+
*
|
|
15
|
+
* - `XXX-2`: The color used mainly for hover state of the button.
|
|
16
|
+
*
|
|
17
|
+
* - `XXX-3`: The color for solid background, such as bg color of the button.
|
|
18
|
+
* It must satisfy the contrast ratio with pure white (#ffffff) text on
|
|
19
|
+
* top of it.
|
|
20
|
+
*
|
|
21
|
+
* - `XXX-soft`: The color used for subtle background such as custom container
|
|
22
|
+
* or badges. It must satisfy the contrast ratio when putting `XXX-1` colors
|
|
23
|
+
* on top of it.
|
|
24
|
+
*
|
|
25
|
+
* The soft color must be semi transparent alpha channel. This is crucial
|
|
26
|
+
* because it allows adding multiple "soft" colors on top of each other
|
|
27
|
+
* to create an accent, such as when having inline code block inside
|
|
28
|
+
* custom containers.
|
|
29
|
+
*
|
|
30
|
+
* - `default`: The color used purely for subtle indication without any
|
|
31
|
+
* special meanings attached to it such as bg color for menu hover state.
|
|
32
|
+
*
|
|
33
|
+
* - `brand`: Used for primary brand colors, such as link text, button with
|
|
34
|
+
* brand theme, etc.
|
|
35
|
+
*
|
|
36
|
+
* - `tip`: Used to indicate useful information. The default theme uses the
|
|
37
|
+
* brand color for this by default.
|
|
38
|
+
*
|
|
39
|
+
* - `warning`: Used to indicate warning to the users. Used in custom
|
|
40
|
+
* container, badges, etc.
|
|
41
|
+
*
|
|
42
|
+
* - `danger`: Used to show error, or dangerous message to the users. Used
|
|
43
|
+
* in custom container, badges, etc.
|
|
44
|
+
* -------------------------------------------------------------------------- */
|
|
45
|
+
|
|
46
|
+
:root {
|
|
47
|
+
--vp-c-default-1: var(--vp-c-gray-1);
|
|
48
|
+
--vp-c-default-2: var(--vp-c-gray-2);
|
|
49
|
+
--vp-c-default-3: var(--vp-c-gray-3);
|
|
50
|
+
--vp-c-default-soft: var(--vp-c-gray-soft);
|
|
51
|
+
|
|
52
|
+
--vp-c-brand-1: var(--vp-c-indigo-1);
|
|
53
|
+
--vp-c-brand-2: var(--vp-c-indigo-2);
|
|
54
|
+
--vp-c-brand-3: var(--vp-c-indigo-3);
|
|
55
|
+
--vp-c-brand-soft: var(--vp-c-indigo-soft);
|
|
56
|
+
|
|
57
|
+
--vp-c-tip-1: var(--vp-c-brand-1);
|
|
58
|
+
--vp-c-tip-2: var(--vp-c-brand-2);
|
|
59
|
+
--vp-c-tip-3: var(--vp-c-brand-3);
|
|
60
|
+
--vp-c-tip-soft: var(--vp-c-brand-soft);
|
|
61
|
+
|
|
62
|
+
--vp-c-warning-1: var(--vp-c-yellow-1);
|
|
63
|
+
--vp-c-warning-2: var(--vp-c-yellow-2);
|
|
64
|
+
--vp-c-warning-3: var(--vp-c-yellow-3);
|
|
65
|
+
--vp-c-warning-soft: var(--vp-c-yellow-soft);
|
|
66
|
+
|
|
67
|
+
--vp-c-danger-1: var(--vp-c-red-1);
|
|
68
|
+
--vp-c-danger-2: var(--vp-c-red-2);
|
|
69
|
+
--vp-c-danger-3: var(--vp-c-red-3);
|
|
70
|
+
--vp-c-danger-soft: var(--vp-c-red-soft);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Component: Button
|
|
75
|
+
* -------------------------------------------------------------------------- */
|
|
76
|
+
|
|
77
|
+
:root {
|
|
78
|
+
--vp-button-brand-border: transparent;
|
|
79
|
+
--vp-button-brand-text: var(--vp-c-white);
|
|
80
|
+
--vp-button-brand-bg: var(--vp-c-brand-3);
|
|
81
|
+
--vp-button-brand-hover-border: transparent;
|
|
82
|
+
--vp-button-brand-hover-text: var(--vp-c-white);
|
|
83
|
+
--vp-button-brand-hover-bg: var(--vp-c-brand-2);
|
|
84
|
+
--vp-button-brand-active-border: transparent;
|
|
85
|
+
--vp-button-brand-active-text: var(--vp-c-white);
|
|
86
|
+
--vp-button-brand-active-bg: var(--vp-c-brand-1);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Component: Home
|
|
91
|
+
* -------------------------------------------------------------------------- */
|
|
92
|
+
|
|
93
|
+
:root {
|
|
94
|
+
--vp-home-hero-name-color: transparent;
|
|
95
|
+
--vp-home-hero-name-background: -webkit-linear-gradient(
|
|
96
|
+
120deg,
|
|
97
|
+
#211951 0%,
|
|
98
|
+
#5258e4 25%,
|
|
99
|
+
#211951 50%,
|
|
100
|
+
#15f5ba 75%,
|
|
101
|
+
#15f5ba 100%
|
|
102
|
+
);
|
|
103
|
+
|
|
104
|
+
--vp-home-hero-image-background-image: linear-gradient(-45deg, #211951 50%, #15f5ba 50%);
|
|
105
|
+
--vp-home-hero-image-filter: blur(44px);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
@media (min-width: 640px) {
|
|
109
|
+
:root {
|
|
110
|
+
--vp-home-hero-image-filter: blur(56px);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
@media (min-width: 960px) {
|
|
115
|
+
:root {
|
|
116
|
+
--vp-home-hero-image-filter: blur(68px);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* Component: Custom Block
|
|
122
|
+
* -------------------------------------------------------------------------- */
|
|
123
|
+
|
|
124
|
+
:root {
|
|
125
|
+
--vp-custom-block-tip-border: transparent;
|
|
126
|
+
--vp-custom-block-tip-text: var(--vp-c-text-1);
|
|
127
|
+
--vp-custom-block-tip-bg: var(--vp-c-brand-soft);
|
|
128
|
+
--vp-custom-block-tip-code-bg: var(--vp-c-brand-soft);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* Component: Algolia
|
|
133
|
+
* -------------------------------------------------------------------------- */
|
|
134
|
+
|
|
135
|
+
.DocSearch {
|
|
136
|
+
--docsearch-primary-color: var(--vp-c-brand-1) !important;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Colorized VuePDFIY text
|
|
141
|
+
* -------------------------------------------------------------------------- */
|
|
142
|
+
|
|
143
|
+
.vuepdfiy-colorized {
|
|
144
|
+
background: linear-gradient(
|
|
145
|
+
120deg,
|
|
146
|
+
#211951 0%,
|
|
147
|
+
#5258e4 25%,
|
|
148
|
+
#211951 50%,
|
|
149
|
+
#5258e4 75%,
|
|
150
|
+
#15f5ba 100%
|
|
151
|
+
);
|
|
152
|
+
-webkit-background-clip: text;
|
|
153
|
+
-webkit-text-fill-color: transparent;
|
|
154
|
+
background-clip: text;
|
|
155
|
+
font-weight: 700;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.pdf-style {
|
|
159
|
+
display: flex;
|
|
160
|
+
justify-content: center;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.pdf-style canvas {
|
|
164
|
+
border: 1px solid #00000050;
|
|
165
|
+
border-radius: 10px;
|
|
166
|
+
filter: drop-shadow(0 0 0.75rem #00000050);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.button-style {
|
|
170
|
+
background-color: #211951;
|
|
171
|
+
color: var(--vp-c-white);
|
|
172
|
+
border: 1px solid #211951;
|
|
173
|
+
border-radius: 10px;
|
|
174
|
+
padding: 10px;
|
|
175
|
+
cursor: pointer;
|
|
176
|
+
display: flex;
|
|
177
|
+
align-items: center;
|
|
178
|
+
gap: 10px;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.mt-4 {
|
|
182
|
+
margin-top: 16px;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.flex {
|
|
186
|
+
display: flex;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.gap-4 {
|
|
190
|
+
gap: 16px;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.mb-4 {
|
|
194
|
+
margin-bottom: 16px;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
/* Pagination Styles (VitePress Fix) */
|
|
198
|
+
.pagination-container {
|
|
199
|
+
margin-top: 1.5rem;
|
|
200
|
+
width: 100%;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.pagination-list {
|
|
204
|
+
display: flex !important;
|
|
205
|
+
flex-direction: row !important;
|
|
206
|
+
justify-content: center !important;
|
|
207
|
+
align-items: center !important;
|
|
208
|
+
gap: 12px !important;
|
|
209
|
+
list-style: none !important;
|
|
210
|
+
padding: 0 !important;
|
|
211
|
+
margin: 0 !important;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.pagination-list li {
|
|
215
|
+
margin: 0 !important;
|
|
216
|
+
padding: 0 !important;
|
|
217
|
+
list-style: none !important;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.pagination-list li::before {
|
|
221
|
+
display: none !important;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.pagination-link {
|
|
225
|
+
display: grid !important;
|
|
226
|
+
width: 36px !important;
|
|
227
|
+
height: 36px !important;
|
|
228
|
+
place-content: center !important;
|
|
229
|
+
border-radius: 8px !important;
|
|
230
|
+
border: 1px solid #e2e8f0 !important;
|
|
231
|
+
background-color: #ffffff !important;
|
|
232
|
+
color: #211951 !important;
|
|
233
|
+
transition: all 0.2s ease !important;
|
|
234
|
+
text-decoration: none !important;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.pagination-link:hover {
|
|
238
|
+
background-color: #f8fafc !important;
|
|
239
|
+
border-color: #cbd5e1 !important;
|
|
240
|
+
transform: translateY(-1px);
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
.pagination-icon {
|
|
244
|
+
width: 18px;
|
|
245
|
+
height: 18px;
|
|
246
|
+
color: #211951;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.pagination-info {
|
|
250
|
+
font-size: 14px !important;
|
|
251
|
+
font-weight: 600 !important;
|
|
252
|
+
color: #211951 !important;
|
|
253
|
+
min-width: 45px;
|
|
254
|
+
text-align: center;
|
|
255
|
+
}
|