paginar 0.3.4 → 0.3.6
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/README.md +288 -236
- package/dist/index.es.js +684 -244
- package/dist/index.es.js.map +1 -1
- package/dist/style.css +63 -0
- package/package.json +6 -3
- package/.editorconfig +0 -13
- package/.env +0 -1
- package/.vscode/extensions.json +0 -3
- package/demo/slot/slot-chapter1.html +0 -384
- package/demo/slot/slot-chapter2.html +0 -366
- package/demo/slot/slot-chapter3.html +0 -265
- package/demo/summary/_content/1chapter.html +0 -100
- package/demo/summary/_content/2chapter.html +0 -311
- package/demo/summary/_content/3chapter.html +0 -211
- package/demo/summary/index.html +0 -134
- package/index.html +0 -18
- package/postcss.config.js +0 -7
- package/public/favicon.ico +0 -0
- package/src/App.ce.vue +0 -166
- package/src/assets/main.css +0 -392
- package/src/components/BookContent.vue +0 -23
- package/src/components/EngineWrapper.vue +0 -15
- package/src/components/FooterSlot.vue +0 -32
- package/src/components/FootnotesAside.vue +0 -123
- package/src/components/HeaderSlot/HeaderSlot.vue +0 -30
- package/src/components/HeaderSlot/OptionsButton/OptionsButton.vue +0 -67
- package/src/components/HeaderSlot/OptionsButton/OptionsColor.vue +0 -28
- package/src/components/HeaderSlot/OptionsButton/OptionsColumns.vue +0 -51
- package/src/components/HeaderSlot/OptionsButton/OptionsDropdown.vue +0 -59
- package/src/components/HeaderSlot/OptionsButton/OptionsFontFamily.vue +0 -17
- package/src/components/HeaderSlot/OptionsButton/OptionsFontSize.vue +0 -17
- package/src/components/HeaderSlot/SummaryButton/SummaryButton.vue +0 -74
- package/src/components/HeaderSlot/SummaryButton/SummaryDropdown.vue +0 -30
- package/src/components/NavigationButton.vue +0 -34
- package/src/components/ReaderWrapper.vue +0 -37
- package/src/components/ReferencePopup.vue +0 -36
- package/src/components/icons/Close.vue +0 -6
- package/src/components/icons/DoubleColumn.vue +0 -15
- package/src/components/icons/Expand.vue +0 -7
- package/src/components/icons/Eye.vue +0 -9
- package/src/components/icons/Footnote.vue +0 -5
- package/src/components/icons/Home.vue +0 -6
- package/src/components/icons/Moon.vue +0 -5
- package/src/components/icons/Notes.vue +0 -5
- package/src/components/icons/SingleColumn.vue +0 -3
- package/src/components/icons/Summary.vue +0 -10
- package/src/components/icons/Sun.vue +0 -5
- package/src/components/icons/ThreeDots.vue +0 -8
- package/src/composables/useBrowser.js +0 -16
- package/src/composables/useEstimatePages.js +0 -31
- package/src/composables/useFootnotes.js +0 -50
- package/src/composables/usePagination.js +0 -125
- package/src/composables/useReaderSettings.js +0 -174
- package/src/composables/useReferences.js +0 -67
- package/src/composables/useStyles.js +0 -60
- package/src/composables/useTextContent.js +0 -113
- package/src/main.js +0 -19
- package/src/tailwind.css +0 -1082
- package/tailwind.config.js +0 -16
- package/vite.config.js +0 -36
package/tailwind.config.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/** @type {import('tailwindcss').Config} */
|
|
2
|
-
module.exports = {
|
|
3
|
-
content: [
|
|
4
|
-
// Example content paths...
|
|
5
|
-
'./public/**/*.html',
|
|
6
|
-
'./src/**/*.{js,jsx,ts,tsx,vue}',
|
|
7
|
-
],
|
|
8
|
-
theme: {
|
|
9
|
-
extend: {
|
|
10
|
-
transitionProperty: {
|
|
11
|
-
'spacing': 'margin'
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
},
|
|
15
|
-
plugins: [],
|
|
16
|
-
}
|
package/vite.config.js
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { fileURLToPath, URL } from 'node:url'
|
|
2
|
-
|
|
3
|
-
import { defineConfig } from 'vite'
|
|
4
|
-
import vue from '@vitejs/plugin-vue'
|
|
5
|
-
|
|
6
|
-
// https://vitejs.dev/config/
|
|
7
|
-
export default defineConfig({
|
|
8
|
-
plugins: [vue()],
|
|
9
|
-
resolve: {
|
|
10
|
-
alias: {
|
|
11
|
-
'@': fileURLToPath(new URL('./src', import.meta.url))
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
|
|
15
|
-
define: {
|
|
16
|
-
'process.env': {}
|
|
17
|
-
},
|
|
18
|
-
|
|
19
|
-
server: {
|
|
20
|
-
host: true
|
|
21
|
-
},
|
|
22
|
-
|
|
23
|
-
build: {
|
|
24
|
-
lib: {
|
|
25
|
-
entry: 'src/main.js',
|
|
26
|
-
formats: ['es'],
|
|
27
|
-
name: 'PaginateContent',
|
|
28
|
-
fileName: format => `index.${format}.js`
|
|
29
|
-
},
|
|
30
|
-
sourcemap: true,
|
|
31
|
-
// Reduce bloat from legacy polyfills.
|
|
32
|
-
target: 'esnext',
|
|
33
|
-
// Leave minification up to applications.
|
|
34
|
-
minify: false,
|
|
35
|
-
}
|
|
36
|
-
})
|