paginar 0.1.1 → 0.1.3
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/demo/slot/slot-chapter1.html +177 -177
- package/dist/index.es.js +117 -9
- package/dist/index.es.js.map +1 -1
- package/dist/style.css +8 -3
- package/package.json +1 -1
- package/src/assets/main.css +8 -1
- package/src/components/ReaderWrapper.vue +19 -2
- package/src/composables/useReferences.js +8 -6
- package/src/tailwind.css +8 -3
- package/tailwind.config.js +5 -1
|
@@ -1,177 +1,177 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
|
|
4
|
-
<head>
|
|
5
|
-
<meta charset="UTF-8" />
|
|
6
|
-
<link rel="icon" href="/favicon.ico" />
|
|
7
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
8
|
-
<title>Slot - Paginar</title>
|
|
9
|
-
</head>
|
|
10
|
-
|
|
11
|
-
<body>
|
|
12
|
-
|
|
13
|
-
<style>
|
|
14
|
-
#app {
|
|
15
|
-
height: 100vh;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
html {
|
|
19
|
-
--bg-light-mode: #fff7e0;
|
|
20
|
-
--bg-dark-mode: rgb(45,45,45);
|
|
21
|
-
--theme-primary: rgb(45,45,45);
|
|
22
|
-
--theme-primary-extralight: rgb(243 244 246);
|
|
23
|
-
--theme-secondary: #cd2800;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
#pagination-el *::selection {
|
|
27
|
-
color: var(--theme-primary-extralight, #690000);
|
|
28
|
-
background: var(--theme-secondary, #ffa03c);
|
|
29
|
-
}
|
|
30
|
-
</style>
|
|
31
|
-
|
|
32
|
-
<div id="app">
|
|
33
|
-
<paginate-content id="pagination-el" book-title="A Tale of Two Cities">
|
|
34
|
-
<div slot="header">
|
|
35
|
-
<img src="https://sabia.pub/images/logo-mobile-dark.svg" style="height: 40px">
|
|
36
|
-
</div>
|
|
37
|
-
<div slot="content">
|
|
38
|
-
<h2>
|
|
39
|
-
CHAPTER I.<br>The Period
|
|
40
|
-
</h2>
|
|
41
|
-
<p>
|
|
42
|
-
It was the (LUGONES, 1978) best of times, it was the worst of times, it was the age of
|
|
43
|
-
wisdom, it was the age of foolishness, it was the epoch of belief, it was
|
|
44
|
-
the epoch of incredulity, it was the season of Light, it was the season
|
|
45
|
-
of Darkness, it was the spring of hope (GAMA, 2019), it was the winter of despair, we
|
|
46
|
-
had everything before us, we had nothing before us, we were all going
|
|
47
|
-
direct to Heaven, we were all going direct the other way—in short,
|
|
48
|
-
the period was so far like the present period (GAMA, 2019), that some of its noisiest
|
|
49
|
-
authorities insisted on its being received, for good or for evil, in the
|
|
50
|
-
superlative degree of comparison only.
|
|
51
|
-
</p>
|
|
52
|
-
<p>
|
|
53
|
-
There were a king with a large jaw and a queen with a plain face, on the
|
|
54
|
-
throne of England; there were a king with (LEON, 2006) a large jaw and a queen with a
|
|
55
|
-
fair face (LEON, 2006), on the throne of France (LUGONES, 1978). In both countries it was clearer than
|
|
56
|
-
crystal to the lords of the State preserves of loaves and fishes, that
|
|
57
|
-
things in general were settled for ever.
|
|
58
|
-
</p>
|
|
59
|
-
<p>
|
|
60
|
-
It was the year of Our Lord one thousand seven hundred and seventy-five.
|
|
61
|
-
Spiritual revelations were conceded to England at that favoured period, as
|
|
62
|
-
at this. Mrs. Southcott had recently attained her five-and-twentieth
|
|
63
|
-
blessed birthday, of whom a prophetic private in the Life Guards had
|
|
64
|
-
heralded the sublime appearance by announcing that arrangements were made
|
|
65
|
-
for the swallowing up of London and Westminster. Even the Cock-lane ghost
|
|
66
|
-
had been laid only a round dozen of years, after rapping out its messages,
|
|
67
|
-
as the spirits of this very year last past (supernaturally deficient in
|
|
68
|
-
originality) rapped out theirs. Mere messages in the earthly order of
|
|
69
|
-
events had lately come to the English Crown and People, from a congress of
|
|
70
|
-
British subjects in America: which, strange to relate, have proved more
|
|
71
|
-
important to the human race than any communications yet received through
|
|
72
|
-
any of the chickens of the Cock-lane brood.
|
|
73
|
-
</p>
|
|
74
|
-
<p>
|
|
75
|
-
France, less favoured on the whole as to matters spiritual than her sister
|
|
76
|
-
of the shield and trident, rolled with exceeding smoothness down hill,
|
|
77
|
-
making paper money and spending it. Under the guidance of her Christian
|
|
78
|
-
pastors, she entertained herself, besides, with such humane achievements
|
|
79
|
-
as sentencing a youth to have his hands cut off, his tongue torn out with
|
|
80
|
-
pincers, and his body burned alive, because he had not kneeled down in the
|
|
81
|
-
rain to do honour to a dirty procession of monks which passed within his
|
|
82
|
-
view, at a distance of some fifty or sixty yards. It is likely enough
|
|
83
|
-
that, rooted in the woods of France and Norway, there were growing trees,
|
|
84
|
-
when that sufferer was put to death, already marked by the Woodman, Fate,
|
|
85
|
-
to come down and be sawn into boards, to make a certain movable framework
|
|
86
|
-
with a sack and a knife in it, terrible in history. It is likely enough
|
|
87
|
-
that in the rough outhouses of some tillers of the heavy lands adjacent to
|
|
88
|
-
Paris, there were sheltered from the weather that very day, rude carts,
|
|
89
|
-
bespattered with rustic mire, snuffed about by pigs, and roosted in by
|
|
90
|
-
poultry, which the Farmer, Death, had already set apart to be his tumbrils
|
|
91
|
-
of the Revolution. But that Woodman and that Farmer, though they work
|
|
92
|
-
unceasingly, work silently, and no one heard them as they went about with
|
|
93
|
-
muffled tread: the rather, forasmuch as to entertain any suspicion that
|
|
94
|
-
they were awake, was to be atheistical and traitorous.
|
|
95
|
-
</p>
|
|
96
|
-
<p>
|
|
97
|
-
In England, there was scarcely an amount of order and protection to
|
|
98
|
-
justify much national boasting. Daring burglaries by armed men, and
|
|
99
|
-
highway robberies, took place in the capital itself every night; families
|
|
100
|
-
were publicly cautioned not to go out of town without removing their
|
|
101
|
-
furniture to upholsterers’ warehouses for security; the highwayman in the
|
|
102
|
-
dark was a City tradesman in the light, and, being recognised and
|
|
103
|
-
challenged by his fellow-tradesman whom he stopped in his character of
|
|
104
|
-
“the Captain,” gallantly shot him through the head and rode away; the mail
|
|
105
|
-
was waylaid by seven robbers, and the guard shot three dead, and then got
|
|
106
|
-
shot dead himself by the other four, “in consequence of the failure of his
|
|
107
|
-
ammunition:” after which the mail was robbed in peace; that magnificent
|
|
108
|
-
potentate, the Lord Mayor of London, was made to stand and deliver on
|
|
109
|
-
Turnham Green, by one highwayman, who despoiled the illustrious creature
|
|
110
|
-
in sight of all his retinue; prisoners in London gaols fought battles with
|
|
111
|
-
their turnkeys, and the majesty of the law fired blunderbusses in among
|
|
112
|
-
them, loaded with rounds of shot and ball; thieves snipped off diamond
|
|
113
|
-
crosses from the necks of noble lords at Court drawing-rooms; musketeers
|
|
114
|
-
went into St. Giles’s, to search for contraband goods, and the mob fired
|
|
115
|
-
on the musketeers, and the musketeers fired on the mob, and nobody thought
|
|
116
|
-
any of these occurrences much out of the common way. In the midst of them,
|
|
117
|
-
the hangman, ever busy and ever worse than useless, was in constant
|
|
118
|
-
requisition; now, stringing up long rows of miscellaneous criminals; now,
|
|
119
|
-
hanging a housebreaker on Saturday who had been taken on Tuesday; now,
|
|
120
|
-
burning people in the hand at Newgate by the dozen, and now burning
|
|
121
|
-
pamphlets at the door of Westminster Hall; to-day, taking the life of an
|
|
122
|
-
atrocious murderer, and to-morrow of a wretched pilferer who had robbed a
|
|
123
|
-
farmer’s boy of sixpence.
|
|
124
|
-
</p>
|
|
125
|
-
<p>
|
|
126
|
-
All these things, and a thousand like them, came to pass in and close upon
|
|
127
|
-
the dear old year one thousand seven hundred and seventy-five. Environed
|
|
128
|
-
by them, while the Woodman and the Farmer worked unheeded, those two of
|
|
129
|
-
the large jaws, and those other two of the plain and the fair faces, trod
|
|
130
|
-
with stir enough, and carried their divine rights with a high hand. Thus
|
|
131
|
-
did the year one thousand seven hundred and seventy-five conduct their
|
|
132
|
-
Greatnesses, and myriads of small creatures—the creatures of this
|
|
133
|
-
chronicle among the rest—along the roads that lay before them.
|
|
134
|
-
</p>
|
|
135
|
-
|
|
136
|
-
</div>
|
|
137
|
-
</paginate-content>
|
|
138
|
-
</div>
|
|
139
|
-
<script>
|
|
140
|
-
const settings = {
|
|
141
|
-
baseFont: 'Verdana, sans-serif',
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
const content = {
|
|
145
|
-
summary: [
|
|
146
|
-
{ title: 'Chapter 1', link: '/demo/slot/slot-chapter1.html' },
|
|
147
|
-
{ title: 'Chapter 2', link: '/demo/slot/slot-chapter2.html' },
|
|
148
|
-
{ title: 'Chapter 3', link: '/demo/slot/slot-chapter3.html' }
|
|
149
|
-
],
|
|
150
|
-
|
|
151
|
-
references: [
|
|
152
|
-
{
|
|
153
|
-
"cit": "GAMA, 2019",
|
|
154
|
-
"ref": "GAMA, Mara. <strong>As três rotas que trouxeram a centenária Bauhaus ao Brasil</strong>. Folha de São Paulo, São Paulo, 1 abr. 2019. Disponível em: https://www1.folha.uol.com.br/ilustrissima/2019/03/as-tres-rotas-que-trouxeram-a-centenaria-bauhaus-ao-brasil.shtml. Acesso em: 4 abr. 2019"
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
"cit": "LEON, 2006",
|
|
158
|
-
"ref": "LEON, Ethel. <strong>O Instituto de Arte Contemporânea do Museu de Arte Moderna (MAM) de São Paulo dos anos 1950</strong>. São Paulo, 2006."
|
|
159
|
-
},
|
|
160
|
-
{
|
|
161
|
-
"cit": "LUGONES, 1978",
|
|
162
|
-
"ref": "LUGONES, Maria. <strong>Colonialidad y género</strong>. Tábula Rasa, Bogotá, Colômbia, n. 9, p. 73-101, julho-dezembro de 1978."
|
|
163
|
-
}
|
|
164
|
-
]
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
const paginationEl = document.getElementById('pagination-el')
|
|
168
|
-
if (paginationEl) {
|
|
169
|
-
paginationEl.setAttribute("reader-settings", JSON.stringify(settings))
|
|
170
|
-
paginationEl.setAttribute("book-content", JSON.stringify(content))
|
|
171
|
-
}
|
|
172
|
-
</script>
|
|
173
|
-
<script type="module" src="/src/main.js"></script>
|
|
174
|
-
|
|
175
|
-
</body>
|
|
176
|
-
|
|
177
|
-
</html>
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="UTF-8" />
|
|
6
|
+
<link rel="icon" href="/favicon.ico" />
|
|
7
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
8
|
+
<title>Slot - Paginar</title>
|
|
9
|
+
</head>
|
|
10
|
+
|
|
11
|
+
<body>
|
|
12
|
+
|
|
13
|
+
<style>
|
|
14
|
+
#app {
|
|
15
|
+
height: 100vh;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
html {
|
|
19
|
+
--bg-light-mode: #fff7e0;
|
|
20
|
+
--bg-dark-mode: rgb(45,45,45);
|
|
21
|
+
--theme-primary: rgb(45,45,45);
|
|
22
|
+
--theme-primary-extralight: rgb(243 244 246);
|
|
23
|
+
--theme-secondary: #cd2800;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
#pagination-el *::selection {
|
|
27
|
+
color: var(--theme-primary-extralight, #690000);
|
|
28
|
+
background: var(--theme-secondary, #ffa03c);
|
|
29
|
+
}
|
|
30
|
+
</style>
|
|
31
|
+
|
|
32
|
+
<div id="app">
|
|
33
|
+
<paginate-content id="pagination-el" book-title="A Tale of Two Cities">
|
|
34
|
+
<div slot="header">
|
|
35
|
+
<img src="https://sabia.pub/images/logo-mobile-dark.svg" style="height: 40px">
|
|
36
|
+
</div>
|
|
37
|
+
<div slot="content">
|
|
38
|
+
<h2>
|
|
39
|
+
CHAPTER I.<br>The Period
|
|
40
|
+
</h2>
|
|
41
|
+
<p>
|
|
42
|
+
It was the (LUGONES, 1978) best of times, it was the worst of times, it was the age of
|
|
43
|
+
wisdom, it was the age of foolishness, it was the epoch of belief, it was
|
|
44
|
+
the epoch of incredulity, it was the season of Light, it was the season
|
|
45
|
+
of Darkness, it was the spring of hope (GAMA, 2019), it was the winter of despair, we
|
|
46
|
+
had everything before us, we had nothing before us, we were all going
|
|
47
|
+
direct to Heaven, we were all going direct the other way—in short,
|
|
48
|
+
the period was so far like the present period (GAMA, 2019), that some of its noisiest
|
|
49
|
+
authorities insisted on its being received, for good or for evil, in the
|
|
50
|
+
superlative degree of comparison only.
|
|
51
|
+
</p>
|
|
52
|
+
<p>
|
|
53
|
+
There were a king with a large jaw and a queen with a plain face, on the
|
|
54
|
+
throne of England; there were a king with (LEON, 2006) a large jaw and a queen with a
|
|
55
|
+
fair face (LEON, 2006), on the throne of France (LUGONES, 1978). In both countries it was clearer than
|
|
56
|
+
crystal to the lords of the State preserves of loaves and fishes, that
|
|
57
|
+
things in general were settled for ever.
|
|
58
|
+
</p>
|
|
59
|
+
<p>
|
|
60
|
+
It was the year of Our Lord one thousand seven hundred and seventy-five.
|
|
61
|
+
Spiritual revelations were conceded to England at that favoured period, as
|
|
62
|
+
at this. Mrs. Southcott had recently attained her five-and-twentieth
|
|
63
|
+
blessed birthday, of whom a prophetic private in the Life Guards had
|
|
64
|
+
heralded the sublime appearance by announcing that arrangements were made
|
|
65
|
+
for the swallowing up of London and Westminster. Even the Cock-lane ghost
|
|
66
|
+
had been laid only a round dozen of years, after rapping out its messages,
|
|
67
|
+
as the spirits of this very year last past (supernaturally deficient in
|
|
68
|
+
originality) rapped out theirs. Mere messages in the earthly order of
|
|
69
|
+
events had lately come to the English Crown and People, from a congress of
|
|
70
|
+
British subjects in America: which, strange to relate, have proved more
|
|
71
|
+
important to the human race than any communications yet received through
|
|
72
|
+
any of the chickens of the Cock-lane brood.
|
|
73
|
+
</p>
|
|
74
|
+
<p>
|
|
75
|
+
France, less favoured on the whole as to matters spiritual than her sister
|
|
76
|
+
of the shield and trident, rolled with exceeding smoothness down hill,
|
|
77
|
+
making paper money and spending it. Under the guidance of her Christian
|
|
78
|
+
pastors, she entertained herself, besides, with such humane achievements
|
|
79
|
+
as sentencing a youth to have his hands cut off, his tongue torn out with
|
|
80
|
+
pincers, and his body burned alive, because he had not kneeled down in the
|
|
81
|
+
rain to do honour to a dirty procession of monks which passed within his
|
|
82
|
+
view, at a distance of some fifty or sixty yards. It is likely enough
|
|
83
|
+
that, rooted in the woods of France and Norway, there were growing trees,
|
|
84
|
+
when that sufferer was put to death, already marked by the Woodman, Fate,
|
|
85
|
+
to come down and be sawn into boards, to make a certain movable framework
|
|
86
|
+
with a sack and a knife in it, terrible in history. It is likely enough
|
|
87
|
+
that in the rough outhouses of some tillers of the heavy lands adjacent to
|
|
88
|
+
Paris, there were sheltered from the weather that very day, rude carts,
|
|
89
|
+
bespattered with rustic mire, snuffed about by pigs, and roosted in by
|
|
90
|
+
poultry, which the Farmer, Death, had already set apart to be his tumbrils
|
|
91
|
+
of the Revolution. But that Woodman and that Farmer, though they work
|
|
92
|
+
unceasingly, work silently, and no one heard them as they went about with
|
|
93
|
+
muffled tread: the rather, forasmuch as to entertain any suspicion that
|
|
94
|
+
they were awake, was to be atheistical and traitorous.
|
|
95
|
+
</p>
|
|
96
|
+
<p>
|
|
97
|
+
In England, there was scarcely an amount of order and protection to
|
|
98
|
+
justify much national boasting. Daring burglaries by armed men, and
|
|
99
|
+
highway robberies, took place in the capital itself every night; families
|
|
100
|
+
were publicly cautioned not to go out of town without removing their
|
|
101
|
+
furniture to upholsterers’ warehouses for security; the highwayman in the
|
|
102
|
+
dark was a City tradesman in the light, and, being recognised and
|
|
103
|
+
challenged by his fellow-tradesman whom he stopped in his character of
|
|
104
|
+
“the Captain,” gallantly shot him through the head and rode away; the mail
|
|
105
|
+
was waylaid by seven robbers, and the guard shot three dead, and then got
|
|
106
|
+
shot dead himself by the other four, “in consequence of the failure of his
|
|
107
|
+
ammunition:” after which the mail was robbed in peace; that magnificent
|
|
108
|
+
potentate, the Lord Mayor of London, was made to stand and deliver on
|
|
109
|
+
Turnham Green, by one highwayman, who despoiled the illustrious creature
|
|
110
|
+
in sight of all his retinue; prisoners in London gaols fought battles with
|
|
111
|
+
their turnkeys, and the majesty of the law fired blunderbusses in among
|
|
112
|
+
them, loaded with rounds of shot and ball; thieves snipped off diamond
|
|
113
|
+
crosses from the necks of noble lords at Court drawing-rooms; musketeers
|
|
114
|
+
went into St. Giles’s, to search for contraband goods, and the mob fired
|
|
115
|
+
on the musketeers, and the musketeers fired on the mob, and nobody thought
|
|
116
|
+
any of these occurrences much out of the common way. In the midst of them,
|
|
117
|
+
the hangman, ever busy and ever worse than useless, was in constant
|
|
118
|
+
requisition; now, stringing up long rows of miscellaneous criminals; now,
|
|
119
|
+
hanging a housebreaker on Saturday who had been taken on Tuesday; now,
|
|
120
|
+
burning people in the hand at Newgate by the dozen, and now burning
|
|
121
|
+
pamphlets at the door of Westminster Hall; to-day, taking the life of an
|
|
122
|
+
atrocious murderer, and to-morrow of a wretched pilferer who had robbed a
|
|
123
|
+
farmer’s boy of sixpence.
|
|
124
|
+
</p>
|
|
125
|
+
<p>
|
|
126
|
+
All these things, and a thousand like them, came to pass in and close upon
|
|
127
|
+
the dear old year one thousand seven hundred and seventy-five. Environed
|
|
128
|
+
by them, while the Woodman and the Farmer worked unheeded, those two of
|
|
129
|
+
the large jaws, and those other two of the plain and the fair faces, trod
|
|
130
|
+
with stir enough, and carried their divine rights with a high hand. Thus
|
|
131
|
+
did the year one thousand seven hundred and seventy-five conduct their
|
|
132
|
+
Greatnesses, and myriads of small creatures—the creatures of this
|
|
133
|
+
chronicle among the rest—along the roads that lay before them.
|
|
134
|
+
</p>
|
|
135
|
+
|
|
136
|
+
</div>
|
|
137
|
+
</paginate-content>
|
|
138
|
+
</div>
|
|
139
|
+
<script>
|
|
140
|
+
const settings = {
|
|
141
|
+
baseFont: 'Verdana, sans-serif',
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
const content = {
|
|
145
|
+
summary: [
|
|
146
|
+
{ title: 'Chapter 1', link: '/demo/slot/slot-chapter1.html' },
|
|
147
|
+
{ title: 'Chapter 2', link: '/demo/slot/slot-chapter2.html' },
|
|
148
|
+
{ title: 'Chapter 3', link: '/demo/slot/slot-chapter3.html' }
|
|
149
|
+
],
|
|
150
|
+
|
|
151
|
+
references: [
|
|
152
|
+
{
|
|
153
|
+
"cit": "GAMA, 2019",
|
|
154
|
+
"ref": "GAMA, Mara. <strong>As três rotas que trouxeram a centenária Bauhaus ao Brasil</strong>. Folha de São Paulo, São Paulo, 1 abr. 2019. Disponível em: https://www1.folha.uol.com.br/ilustrissima/2019/03/as-tres-rotas-que-trouxeram-a-centenaria-bauhaus-ao-brasil.shtml. Acesso em: 4 abr. 2019"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"cit": "LEON, 2006",
|
|
158
|
+
"ref": "LEON, Ethel. <strong>O Instituto de Arte Contemporânea do Museu de Arte Moderna (MAM) de São Paulo dos anos 1950</strong>. São Paulo, 2006."
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"cit": "LUGONES, 1978",
|
|
162
|
+
"ref": "LUGONES, Maria. <strong>Colonialidad y género</strong>. Tábula Rasa, Bogotá, Colômbia, n. 9, p. 73-101, julho-dezembro de 1978."
|
|
163
|
+
}
|
|
164
|
+
]
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
const paginationEl = document.getElementById('pagination-el')
|
|
168
|
+
if (paginationEl) {
|
|
169
|
+
paginationEl.setAttribute("reader-settings", JSON.stringify(settings))
|
|
170
|
+
paginationEl.setAttribute("book-content", JSON.stringify(content))
|
|
171
|
+
}
|
|
172
|
+
</script>
|
|
173
|
+
<script type="module" src="/src/main.js"></script>
|
|
174
|
+
|
|
175
|
+
</body>
|
|
176
|
+
|
|
177
|
+
</html>
|