paginar 0.3.0 → 0.3.2

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.
Files changed (55) hide show
  1. package/.editorconfig +13 -13
  2. package/.env +1 -1
  3. package/.vscode/extensions.json +3 -3
  4. package/LICENSE.md +21 -21
  5. package/README.md +244 -244
  6. package/demo/slot/slot-chapter1.html +384 -384
  7. package/demo/slot/slot-chapter2.html +366 -366
  8. package/demo/slot/slot-chapter3.html +265 -265
  9. package/demo/summary/_content/1chapter.html +100 -100
  10. package/demo/summary/_content/2chapter.html +311 -311
  11. package/demo/summary/_content/3chapter.html +211 -211
  12. package/demo/summary/index.html +134 -134
  13. package/dist/index.es.js +849 -840
  14. package/dist/index.es.js.map +1 -1
  15. package/dist/style.css +9 -9
  16. package/index.html +18 -18
  17. package/package.json +1 -1
  18. package/src/App.ce.vue +148 -148
  19. package/src/assets/main.css +392 -392
  20. package/src/components/BookContent.vue +23 -23
  21. package/src/components/FooterSlot.vue +32 -32
  22. package/src/components/FootnotesAside.vue +123 -123
  23. package/src/components/HeaderSlot/HeaderSlot.vue +30 -30
  24. package/src/components/HeaderSlot/OptionsButton/OptionsButton.vue +67 -67
  25. package/src/components/HeaderSlot/OptionsButton/OptionsColor.vue +28 -28
  26. package/src/components/HeaderSlot/OptionsButton/OptionsColumns.vue +51 -51
  27. package/src/components/HeaderSlot/OptionsButton/OptionsDropdown.vue +59 -59
  28. package/src/components/HeaderSlot/OptionsButton/OptionsFontFamily.vue +17 -17
  29. package/src/components/HeaderSlot/OptionsButton/OptionsFontSize.vue +17 -17
  30. package/src/components/HeaderSlot/SummaryButton/SummaryButton.vue +70 -70
  31. package/src/components/HeaderSlot/SummaryButton/SummaryDropdown.vue +6 -6
  32. package/src/components/ReaderWrapper.vue +37 -37
  33. package/src/components/ReferencePopup.vue +36 -36
  34. package/src/components/icons/Close.vue +6 -6
  35. package/src/components/icons/DoubleColumn.vue +15 -15
  36. package/src/components/icons/Expand.vue +7 -7
  37. package/src/components/icons/Eye.vue +9 -9
  38. package/src/components/icons/Footnote.vue +5 -5
  39. package/src/components/icons/Home.vue +6 -6
  40. package/src/components/icons/Moon.vue +5 -5
  41. package/src/components/icons/Notes.vue +5 -5
  42. package/src/components/icons/SingleColumn.vue +3 -3
  43. package/src/components/icons/Summary.vue +10 -10
  44. package/src/components/icons/Sun.vue +5 -5
  45. package/src/components/icons/ThreeDots.vue +8 -8
  46. package/src/composables/useBrowser.js +16 -16
  47. package/src/composables/useFootnotes.js +50 -50
  48. package/src/composables/usePagination.js +125 -125
  49. package/src/composables/useReaderSettings.js +174 -174
  50. package/src/composables/useReferences.js +67 -67
  51. package/src/composables/useStyles.js +60 -60
  52. package/src/composables/useTextContent.js +113 -113
  53. package/src/main.js +19 -19
  54. package/tailwind.config.js +16 -16
  55. package/vite.config.js +36 -36
@@ -1,100 +1,100 @@
1
- <h2>
2
- CHAPTER I.<br>The Period
3
- </h2>
4
- <p>
5
- It was the (LUGONES, 1978) best of times, it was the worst of times, it was the age of
6
- wisdom, it was the age of foolishness, it was the epoch of belief, it was
7
- the epoch of incredulity, it was the season of Light, it was the season
8
- of Darkness, it was the spring of hope (GAMA, 2019), it was the winter of despair, we
9
- had everything before us, we had nothing before us, we were all going
10
- direct to Heaven, we were all going direct the other way—in short,
11
- the period was so far like the present period (GAMA, 2019), that some of its noisiest
12
- authorities insisted on its being received, for good or for evil, in the
13
- superlative degree of comparison only.
14
- </p>
15
- <div class="page-break">
16
- <span>Page Break</span>
17
- </div>
18
- <p>
19
- There were a king with a large jaw and a queen with a plain face, on the
20
- throne of England; there were a king with (LEON, 2006) a large jaw and a queen with a
21
- fair face (LEON, 2006), on the throne of France (LUGONES, 1978). In both countries it was clearer than
22
- crystal to the lords of the State preserves of loaves and fishes, that
23
- things in general were settled for ever.
24
- </p>
25
- <p>
26
- It was the year of Our Lord one thousand seven hundred and seventy-five.
27
- Spiritual revelations were conceded to England at that favoured period, as
28
- at this. Mrs. Southcott had recently attained her five-and-twentieth
29
- blessed birthday, of whom a prophetic private in the Life Guards had
30
- heralded the sublime appearance by announcing that arrangements were made
31
- for the swallowing up of London and Westminster. Even the Cock-lane ghost
32
- had been laid only a round dozen of years, after rapping out its messages,
33
- as the spirits of this very year last past (supernaturally deficient in
34
- originality) rapped out theirs. Mere messages in the earthly order of
35
- events had lately come to the English Crown and People, from a congress of
36
- British subjects in America: which, strange to relate, have proved more
37
- important to the human race than any communications yet received through
38
- any of the chickens of the Cock-lane brood.
39
- </p>
40
- <p>
41
- France, less favoured on the whole as to matters spiritual than her sister
42
- of the shield and trident, rolled with exceeding smoothness down hill,
43
- making paper money and spending it. Under the guidance of her Christian
44
- pastors, she entertained herself, besides, with such humane achievements
45
- as sentencing a youth to have his hands cut off, his tongue torn out with
46
- pincers, and his body burned alive, because he had not kneeled down in the
47
- rain to do honour to a dirty procession of monks which passed within his
48
- view, at a distance of some fifty or sixty yards. It is likely enough
49
- that, rooted in the woods of France and Norway, there were growing trees,
50
- when that sufferer was put to death, already marked by the Woodman, Fate,
51
- to come down and be sawn into boards, to make a certain movable framework
52
- with a sack and a knife in it, terrible in history. It is likely enough
53
- that in the rough outhouses of some tillers of the heavy lands adjacent to
54
- Paris, there were sheltered from the weather that very day, rude carts,
55
- bespattered with rustic mire, snuffed about by pigs, and roosted in by
56
- poultry, which the Farmer, Death, had already set apart to be his tumbrils
57
- of the Revolution. But that Woodman and that Farmer, though they work
58
- unceasingly, work silently, and no one heard them as they went about with
59
- muffled tread: the rather, forasmuch as to entertain any suspicion that
60
- they were awake, was to be atheistical and traitorous.
61
- </p>
62
- <p>
63
- In England, there was scarcely an amount of order and protection to
64
- justify much national boasting. Daring burglaries by armed men, and
65
- highway robberies, took place in the capital itself every night; families
66
- were publicly cautioned not to go out of town without removing their
67
- furniture to upholsterers’ warehouses for security; the highwayman in the
68
- dark was a City tradesman in the light, and, being recognised and
69
- challenged by his fellow-tradesman whom he stopped in his character of
70
- “the Captain,” gallantly shot him through the head and rode away; the mail
71
- was waylaid by seven robbers, and the guard shot three dead, and then got
72
- shot dead himself by the other four, “in consequence of the failure of his
73
- ammunition:” after which the mail was robbed in peace; that magnificent
74
- potentate, the Lord Mayor of London, was made to stand and deliver on
75
- Turnham Green, by one highwayman, who despoiled the illustrious creature
76
- in sight of all his retinue; prisoners in London gaols fought battles with
77
- their turnkeys, and the majesty of the law fired blunderbusses in among
78
- them, loaded with rounds of shot and ball; thieves snipped off diamond
79
- crosses from the necks of noble lords at Court drawing-rooms; musketeers
80
- went into St. Giles’s, to search for contraband goods, and the mob fired
81
- on the musketeers, and the musketeers fired on the mob, and nobody thought
82
- any of these occurrences much out of the common way. In the midst of them,
83
- the hangman, ever busy and ever worse than useless, was in constant
84
- requisition; now, stringing up long rows of miscellaneous criminals; now,
85
- hanging a housebreaker on Saturday who had been taken on Tuesday; now,
86
- burning people in the hand at Newgate by the dozen, and now burning
87
- pamphlets at the door of Westminster Hall; to-day, taking the life of an
88
- atrocious murderer, and to-morrow of a wretched pilferer who had robbed a
89
- farmer’s boy of sixpence.
90
- </p>
91
- <p>
92
- All these things, and a thousand like them, came to pass in and close upon
93
- the dear old year one thousand seven hundred and seventy-five. Environed
94
- by them, while the Woodman and the Farmer worked unheeded, those two of
95
- the large jaws, and those other two of the plain and the fair faces, trod
96
- with stir enough, and carried their divine rights with a high hand. Thus
97
- did the year one thousand seven hundred and seventy-five conduct their
98
- Greatnesses, and myriads of small creatures—the creatures of this
99
- chronicle among the rest—along the roads that lay before them.
100
- </p>
1
+ <h2>
2
+ CHAPTER I.<br>The Period
3
+ </h2>
4
+ <p>
5
+ It was the (LUGONES, 1978) best of times, it was the worst of times, it was the age of
6
+ wisdom, it was the age of foolishness, it was the epoch of belief, it was
7
+ the epoch of incredulity, it was the season of Light, it was the season
8
+ of Darkness, it was the spring of hope (GAMA, 2019), it was the winter of despair, we
9
+ had everything before us, we had nothing before us, we were all going
10
+ direct to Heaven, we were all going direct the other way—in short,
11
+ the period was so far like the present period (GAMA, 2019), that some of its noisiest
12
+ authorities insisted on its being received, for good or for evil, in the
13
+ superlative degree of comparison only.
14
+ </p>
15
+ <div class="page-break">
16
+ <span>Page Break</span>
17
+ </div>
18
+ <p>
19
+ There were a king with a large jaw and a queen with a plain face, on the
20
+ throne of England; there were a king with (LEON, 2006) a large jaw and a queen with a
21
+ fair face (LEON, 2006), on the throne of France (LUGONES, 1978). In both countries it was clearer than
22
+ crystal to the lords of the State preserves of loaves and fishes, that
23
+ things in general were settled for ever.
24
+ </p>
25
+ <p>
26
+ It was the year of Our Lord one thousand seven hundred and seventy-five.
27
+ Spiritual revelations were conceded to England at that favoured period, as
28
+ at this. Mrs. Southcott had recently attained her five-and-twentieth
29
+ blessed birthday, of whom a prophetic private in the Life Guards had
30
+ heralded the sublime appearance by announcing that arrangements were made
31
+ for the swallowing up of London and Westminster. Even the Cock-lane ghost
32
+ had been laid only a round dozen of years, after rapping out its messages,
33
+ as the spirits of this very year last past (supernaturally deficient in
34
+ originality) rapped out theirs. Mere messages in the earthly order of
35
+ events had lately come to the English Crown and People, from a congress of
36
+ British subjects in America: which, strange to relate, have proved more
37
+ important to the human race than any communications yet received through
38
+ any of the chickens of the Cock-lane brood.
39
+ </p>
40
+ <p>
41
+ France, less favoured on the whole as to matters spiritual than her sister
42
+ of the shield and trident, rolled with exceeding smoothness down hill,
43
+ making paper money and spending it. Under the guidance of her Christian
44
+ pastors, she entertained herself, besides, with such humane achievements
45
+ as sentencing a youth to have his hands cut off, his tongue torn out with
46
+ pincers, and his body burned alive, because he had not kneeled down in the
47
+ rain to do honour to a dirty procession of monks which passed within his
48
+ view, at a distance of some fifty or sixty yards. It is likely enough
49
+ that, rooted in the woods of France and Norway, there were growing trees,
50
+ when that sufferer was put to death, already marked by the Woodman, Fate,
51
+ to come down and be sawn into boards, to make a certain movable framework
52
+ with a sack and a knife in it, terrible in history. It is likely enough
53
+ that in the rough outhouses of some tillers of the heavy lands adjacent to
54
+ Paris, there were sheltered from the weather that very day, rude carts,
55
+ bespattered with rustic mire, snuffed about by pigs, and roosted in by
56
+ poultry, which the Farmer, Death, had already set apart to be his tumbrils
57
+ of the Revolution. But that Woodman and that Farmer, though they work
58
+ unceasingly, work silently, and no one heard them as they went about with
59
+ muffled tread: the rather, forasmuch as to entertain any suspicion that
60
+ they were awake, was to be atheistical and traitorous.
61
+ </p>
62
+ <p>
63
+ In England, there was scarcely an amount of order and protection to
64
+ justify much national boasting. Daring burglaries by armed men, and
65
+ highway robberies, took place in the capital itself every night; families
66
+ were publicly cautioned not to go out of town without removing their
67
+ furniture to upholsterers’ warehouses for security; the highwayman in the
68
+ dark was a City tradesman in the light, and, being recognised and
69
+ challenged by his fellow-tradesman whom he stopped in his character of
70
+ “the Captain,” gallantly shot him through the head and rode away; the mail
71
+ was waylaid by seven robbers, and the guard shot three dead, and then got
72
+ shot dead himself by the other four, “in consequence of the failure of his
73
+ ammunition:” after which the mail was robbed in peace; that magnificent
74
+ potentate, the Lord Mayor of London, was made to stand and deliver on
75
+ Turnham Green, by one highwayman, who despoiled the illustrious creature
76
+ in sight of all his retinue; prisoners in London gaols fought battles with
77
+ their turnkeys, and the majesty of the law fired blunderbusses in among
78
+ them, loaded with rounds of shot and ball; thieves snipped off diamond
79
+ crosses from the necks of noble lords at Court drawing-rooms; musketeers
80
+ went into St. Giles’s, to search for contraband goods, and the mob fired
81
+ on the musketeers, and the musketeers fired on the mob, and nobody thought
82
+ any of these occurrences much out of the common way. In the midst of them,
83
+ the hangman, ever busy and ever worse than useless, was in constant
84
+ requisition; now, stringing up long rows of miscellaneous criminals; now,
85
+ hanging a housebreaker on Saturday who had been taken on Tuesday; now,
86
+ burning people in the hand at Newgate by the dozen, and now burning
87
+ pamphlets at the door of Westminster Hall; to-day, taking the life of an
88
+ atrocious murderer, and to-morrow of a wretched pilferer who had robbed a
89
+ farmer’s boy of sixpence.
90
+ </p>
91
+ <p>
92
+ All these things, and a thousand like them, came to pass in and close upon
93
+ the dear old year one thousand seven hundred and seventy-five. Environed
94
+ by them, while the Woodman and the Farmer worked unheeded, those two of
95
+ the large jaws, and those other two of the plain and the fair faces, trod
96
+ with stir enough, and carried their divine rights with a high hand. Thus
97
+ did the year one thousand seven hundred and seventy-five conduct their
98
+ Greatnesses, and myriads of small creatures—the creatures of this
99
+ chronicle among the rest—along the roads that lay before them.
100
+ </p>