Skip to content

Commit

Permalink
update dist
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 6, 2023
1 parent aee4a11 commit 910300a
Show file tree
Hide file tree
Showing 10 changed files with 60 additions and 40 deletions.
6 changes: 6 additions & 0 deletions dist/ebook/alpine.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/ebook/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
/>

<title>E-Book Reader</title>
<link rel="stylesheet" href="../styles/inject.css?v=1701880738" />
<link rel="stylesheet" href="../styles/inject.css?v=1701895163" />
<style>
:root {
--active-bg: rgba(0, 0, 0, 0.05);
Expand Down Expand Up @@ -387,8 +387,8 @@ <h1 id="side-bar-title"></h1>
</svg>
</button>
</div>
<script src="../libs/foliate-js/ebook.js?v=1701880738" type="module"></script>
<script src="./ebook-global.js?v=1701880738"></script>
<script src="../libs/foliate-js/ebook.js?v=1701895163" type="module"></script>
<script src="./ebook-global.js?v=1701895163"></script>
<script src="../content_script.js"></script>
</body>
</html>
32 changes: 23 additions & 9 deletions dist/ebook/make/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
content="default-src 'self' blob:; script-src * data: blob: 'unsafe-inline' 'unsafe-eval'; style-src 'self' blob: 'unsafe-inline'; img-src 'self' blob: data:; connect-src 'self' blob: data:; frame-src blob: data:; object-src blob: data:; form-action 'none';"
/>
<title>E-Book Maker</title>
<link rel="stylesheet" href="../../styles/inject.css?v=1701880738" />
<link rel="stylesheet" href="../../styles/inject.css?v=1701895163" />
<style>
:root {
--active-bg: rgba(0, 0, 0, 0.05);
Expand All @@ -22,6 +22,11 @@
text-decoration: underline;
cursor: pointer;
}
#translationMode {
padding-left: 6px;
width: 136px;
margin-right: 16px;
}
a.disabled {
pointer-events: none;
cursor: default;
Expand Down Expand Up @@ -335,6 +340,7 @@
margin-bottom: 20px;
font-size: 15px;
background: var(--bg);
display: flex;
}
.start-translation-btn {
padding-top: 8px;
Expand Down Expand Up @@ -398,6 +404,10 @@
cursor: pointer;
transition: background-color 0.3s ease;
}
.immersive-translate-epub-btn-loading {
background-color: #f082ac;

}

.immersive-translate-epub-btn:hover {
background-color: #f082ac;
Expand Down Expand Up @@ -518,11 +528,11 @@ <h1 id="side-bar-title"></h1>
<div id="editor" class="notranslate none">
<div id="headers" class="notranslate">
<h1 class="notranslate">
正在用<a
<a
class="notranslate contrast"
href="https://immersivetranslate.com/"
target="_blank"
>沉浸式双语翻译扩展</a
>沉浸式翻译扩展</a
>翻译《<span id="bookTitle"></span>》&nbsp;<span
id="progress-number"
></span>
Expand All @@ -535,21 +545,25 @@ <h1 class="notranslate">
<div id="tool-inner">
<a href="#" id="open" class="mr-3 mb-3">New (打开一本新书)</a>
<a href="#" id="edit" class="mr-3 mb-3">Edit (编辑)</a>
<a href="#" id="translate-translation" style="display:none" class="mr-3 mb-3">Translation Only (仅译文翻译)</a>
<a href="#" id="export" class="mr-3 mb-3 bold"
><span id="exportAction">Export (导出) </span
><span id="exportStatus"></span
></a>
</div>
</div>
</div>
<div class="start-translation">
<div href="#" id="translate-dual" class="immersive-translate-epub-btn" style="display: none">开始翻译 (Translate)</div>
<div class="start-translation" x-data="translationstatus" @immersive-translate-progress-change.window="changeProgress">
<select id="translationMode">
<option value="dual">翻译为双语(Dual)</option>
<option value="translation">翻译为仅译文(Translation Only)</option>
</select>

<div href="#" id="translate-dual" @click="starttranslate" class="immersive-translate-epub-btn" :class="state!='init'?'immersive-translate-epub-btn-loading':''" x-text="progresstxt">开始翻译 (Translate)</div>
</div>

<details id="tips">
<summary>
Help (查看帮助,要开始翻译请手动点击沉浸式翻译扩展/脚本浮窗的翻译按钮)
Help (查看帮助)
</summary>
</details>
<div id="stats"></div>
Expand All @@ -558,8 +572,8 @@ <h1 class="notranslate">
<div id="chapters"></div>
</div>

<script src="../../libs/foliate-js/make.js?v=1701880738" type="module"></script>
<script src="../ebook-builder-global.js?v=1701880738"></script>
<script src="../../libs/foliate-js/make.js?v=1701895163" type="module"></script>
<script src="../ebook-builder-global.js?v=1701895163"></script>
<script src="../../content_script.js" type="module"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion dist/example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<h2>Sample</h2>
<p>I Love LLM</p>

<p>I Love programming</p>
<p><i>I Love programming</i></p>
<p>I Love LLM</p>
<p>I Love LLM</p>
<p>I Love LLM</p>
Expand Down
2 changes: 1 addition & 1 deletion dist/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ <h1 id="side-bar-title"></h1>
</svg>
</button>
</div>
<script src="./html.js?v=1701880738"></script>
<script src="./html.js?v=1701895163"></script>
<script src="../content_script.js"></script>
</body>
</html>
26 changes: 13 additions & 13 deletions dist/libs/foliate-js/make.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/libs/subtitle/subtitle.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(()=>{var di=Object.defineProperty;var pi=(e,t)=>{for(var r in t)di(e,r,{get:t[r],enumerable:!0})};var C={BUILD_TIME:"2023-12-06T16:37:52.000Z",VERSION:"0.12.4",PROD:"1",REDIRECT_URL:"https://dash.immersivetranslate.com/auth-done/",PROD_API:"1",BETA:"0",IMMERSIVE_TRANSLATE_INJECTED_CSS:`:root {
(()=>{var di=Object.defineProperty;var pi=(e,t)=>{for(var r in t)di(e,r,{get:t[r],enumerable:!0})};var C={BUILD_TIME:"2023-12-06T20:36:52.000Z",VERSION:"0.12.5",PROD:"1",REDIRECT_URL:"https://dash.immersivetranslate.com/auth-done/",PROD_API:"1",BETA:"0",IMMERSIVE_TRANSLATE_INJECTED_CSS:`:root {
--immersive-translate-theme-underline-borderColor: #72ece9;
--immersive-translate-theme-nativeUnderline-borderColor: #72ece9;
--immersive-translate-theme-nativeDashed-borderColor: #72ece9;
Expand Down
2 changes: 1 addition & 1 deletion dist/pdf/immservie.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(()=>{var k={BUILD_TIME:"2023-12-06T16:37:52.000Z",VERSION:"0.12.4",PROD:"1",REDIRECT_URL:"https://dash.immersivetranslate.com/auth-done/",PROD_API:"1",BETA:"0",IMMERSIVE_TRANSLATE_INJECTED_CSS:`:root {
(()=>{var k={BUILD_TIME:"2023-12-06T20:36:52.000Z",VERSION:"0.12.5",PROD:"1",REDIRECT_URL:"https://dash.immersivetranslate.com/auth-done/",PROD_API:"1",BETA:"0",IMMERSIVE_TRANSLATE_INJECTED_CSS:`:root {
--immersive-translate-theme-underline-borderColor: #72ece9;
--immersive-translate-theme-nativeUnderline-borderColor: #72ece9;
--immersive-translate-theme-nativeDashed-borderColor: #72ece9;
Expand Down
14 changes: 7 additions & 7 deletions dist/pdf/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@
type="application/l10n"
href="../pdf/locale/locale.properties"
/>
<script src="../build/pdf.js?v=1701880738"></script>
<script src="../build/pdf.js?v=1701895163"></script>

<script src="../pdf/entry.js?v=1701880738"></script>
<link rel="stylesheet" href="../pdf/viewer.css?v=1701880738" />
<script src="../pdf/viewer.js?v=1701880738"></script>
<link rel="stylesheet" href="../pdf/custom-pdf.css?v=1701880738" />
<script src="../pdf/entry.js?v=1701895163"></script>
<link rel="stylesheet" href="../pdf/viewer.css?v=1701895163" />
<script src="../pdf/viewer.js?v=1701895163"></script>
<link rel="stylesheet" href="../pdf/custom-pdf.css?v=1701895163" />
<link rel="stylesheet" href="../pdf/jquery/jquery-ui-1.13.2.css" />
<script src="../pdf/immservie.js?v=1701880738"></script>
<script src="../pdf/immservie.js?v=1701895163"></script>
<script src="../pdf/download/html2canvas.min.js"></script>
<script src="../pdf/download/pdf-lib-1.17.1.min.js"></script>
<link rel="stylesheet" href="../styles/inject.css" /></head>
Expand All @@ -60,7 +60,7 @@
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-WVZZDLS"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<link rel="stylesheet" href="../pdf/entry.css?v=1701880738" />
<link rel="stylesheet" href="../pdf/entry.css?v=1701895163" />
<div id="outerContainer">
<div id="sidebarContainer">
<div id="toolbarSidebar">
Expand Down
8 changes: 4 additions & 4 deletions dist/subtitle/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
/>
<title>Local Subtitle</title>

<link rel="stylesheet" href="../styles/pico.css?v=1701880738" />
<link rel="stylesheet" href="../styles/inject.css?v=1701880738" />
<link rel="stylesheet" href="./subtitle.css?v=1701880738" />
<link rel="stylesheet" href="../styles/pico.css?v=1701895163" />
<link rel="stylesheet" href="../styles/inject.css?v=1701895163" />
<link rel="stylesheet" href="./subtitle.css?v=1701895163" />
<style>
#drop-target {
height: 100vh;
Expand Down Expand Up @@ -69,7 +69,7 @@ <h4 class="notranslate">
</div>
</div>
<div id="mount"></div>
<script src="../libs/subtitle/subtitle.js?v=1701880738"></script>
<script src="../libs/subtitle/subtitle.js?v=1701895163"></script>
<script src="../content_script.js"></script>
</body>
</html>

0 comments on commit 910300a

Please sign in to comment.