@uiw/copy-to-clipboard 1.0.17 → 1.0.19
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 +36 -0
- package/dist/badges.svg +4 -4
- package/dist/copy-to-clipboard.cjs.js +2 -2
- package/dist/copy-to-clipboard.esm.js +2 -2
- package/dist/copy-to-clipboard.umd.js +2 -2
- package/dist/copy-to-clipboard.umd.min.js +2 -2
- package/dist/copy-to-clipboard.umd.min.js.map +1 -1
- package/dist/css/main.css +13 -0
- package/dist/index.html +51 -18
- package/dist/js/copy.js +4 -4
- package/dist/js/demo-preview.js +4 -4
- package/dist/js/giscus.js +23 -23
- package/dist/js/markdown-style.js +46 -46
- package/dist/js/tocbot.js +15 -11
- package/dist/lcov-report/block-navigation.js +1 -1
- package/dist/lcov-report/index.html +1 -1
- package/dist/lcov-report/main.js.html +1 -1
- package/dist/lcov-report/sorter.js +21 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,3 +1,39 @@
|
|
|
1
|
+
<div markdown="1">
|
|
2
|
+
<sup>Using <a href="https://wangchujiang.com/#/app" target="_blank">my app</a> is also a way to <a href="https://wangchujiang.com/#/sponsor" target="_blank">support</a> me:</sup>
|
|
3
|
+
<br>
|
|
4
|
+
<a target="_blank" href="https://apps.apple.com/app/Deskmark/6755948110" title="Deskmark for macOS"><img alt="Deskmark" height="52" width="52" src="https://wangchujiang.com/appicon/deskmark.png"></a>
|
|
5
|
+
<a target="_blank" href="https://apps.apple.com/app/Keyzer/6500434773" title="Keyzer for macOS"><img alt="Keyzer" height="52" width="52" src="https://wangchujiang.com/appicon/keyzer.png"></a>
|
|
6
|
+
<a target="_blank" href="https://github.com/jaywcjlove/vidwall-hub" title="Vidwall Hub for macOS"><img alt="Vidwall Hub" height="52" width="52" src="https://wangchujiang.com/appicon/vidwall-hub.png"></a>
|
|
7
|
+
<a target="_blank" href="https://apps.apple.com/app/VidCrop/6752624705" title="VidCrop for macOS"><img alt="VidCrop" height="52" width="52" src="https://wangchujiang.com/appicon/vidcrop.png"></a>
|
|
8
|
+
<a target="_blank" href="https://apps.apple.com/app/Vidwall/6747587746" title="Vidwall for macOS"><img alt="Vidwall" height="52" width="52" src="https://wangchujiang.com/appicon/vidwall.png"></a>
|
|
9
|
+
<a target="_blank" href="https://wangchujiang.com/mousio-hint/" title="Mousio Hint for macOS"><img alt="Mousio Hint" height="52" width="52" src="https://wangchujiang.com/appicon/mousio-hint.png"></a>
|
|
10
|
+
<a target="_blank" href="https://apps.apple.com/app/6746747327" title="Mousio for macOS"><img alt="Mousio" height="52" width="52" src="https://wangchujiang.com/appicon/mousio.png"></a>
|
|
11
|
+
<a target="_blank" href="https://apps.apple.com/app/6745227444" title="Musicer for macOS"><img alt="Musicer" height="52" width="52" src="https://wangchujiang.com/appicon/musicer.png"></a>
|
|
12
|
+
<a target="_blank" href="https://apps.apple.com/app/6743841447" title="Audioer for macOS"><img alt="Audioer" height="52" width="52" src="https://wangchujiang.com/appicon/audioer.png"></a>
|
|
13
|
+
<a target="_blank" href="https://apps.apple.com/app/6744690194" title="FileSentinel for macOS"><img alt="FileSentinel" height="52" width="52" src="https://wangchujiang.com/appicon/file-sentinel.png"></a>
|
|
14
|
+
<a target="_blank" href="https://apps.apple.com/app/6743495172" title="FocusCursor for macOS"><img alt="FocusCursor" height="52" width="52" src="https://wangchujiang.com/appicon/focus-cursor.png"></a>
|
|
15
|
+
<a target="_blank" href="https://apps.apple.com/app/6742680573" title="Videoer for macOS"><img alt="Videoer" height="52" width="52" src="https://wangchujiang.com/appicon/videoer.png"></a>
|
|
16
|
+
<a target="_blank" href="https://apps.apple.com/app/6740425504" title="KeyClicker for macOS"><img alt="KeyClicker" height="52" width="52" src="https://wangchujiang.com/appicon/key-clicker.png"></a>
|
|
17
|
+
<a target="_blank" href="https://apps.apple.com/app/6739052447" title="DayBar for macOS"><img alt="DayBar" height="52" width="52" src="https://wangchujiang.com/appicon/daybar.png"></a>
|
|
18
|
+
<a target="_blank" href="https://apps.apple.com/app/6739444407" title="Iconed for macOS"><img alt="Iconed" height="52" width="52" src="https://wangchujiang.com/appicon/iconed.png"></a>
|
|
19
|
+
<a target="_blank" href="https://apps.apple.com/app/6737160756" title="Mousio for macOS"><img alt="Mousio" height="52" width="52" src="https://wangchujiang.com/appicon/rightmenu-master.png"></a>
|
|
20
|
+
<a target="_blank" href="https://apps.apple.com/app/6723903021" title="Paste Quick for macOS"><img alt="Quick RSS" height="52" width="52" src="https://wangchujiang.com/appicon/paste-quick.png"></a>
|
|
21
|
+
<a target="_blank" href="https://apps.apple.com/app/6670696072" title="Quick RSS for macOS/iOS"><img alt="Quick RSS" height="52" width="52" src="https://wangchujiang.com/appicon/quick-rss.png"></a>
|
|
22
|
+
<a target="_blank" href="https://apps.apple.com/app/6670167443" title="Web Serve for macOS"><img alt="Web Serve" height="52" width="52" src="https://wangchujiang.com/appicon/web-serve.png"></a>
|
|
23
|
+
<a target="_blank" href="https://apps.apple.com/app/6503953628" title="Copybook Generator for macOS/iOS"><img alt="Copybook Generator" height="52" width="52" src="https://wangchujiang.com/appicon/copybook-generator.png"></a>
|
|
24
|
+
<a target="_blank" href="https://apps.apple.com/app/6471227008" title="DevTutor for macOS/iOS"><img alt="DevTutor for SwiftUI" height="52" width="52" src="https://wangchujiang.com/appicon/devtutor.png"></a>
|
|
25
|
+
<a target="_blank" href="https://apps.apple.com/app/6479819388" title="RegexMate for macOS/iOS"><img alt="RegexMate" height="52" width="52" src="https://wangchujiang.com/appicon/regex-mate.png"></a>
|
|
26
|
+
<a target="_blank" href="https://apps.apple.com/app/6479194014" title="Time Passage for macOS/iOS"><img alt="Time Passage" height="52" width="52" src="https://wangchujiang.com/appicon/time-passage.png"></a>
|
|
27
|
+
<a target="_blank" href="https://apps.apple.com/app/6478772538" title="IconizeFolder for macOS"><img alt="Iconize Folder" height="52" width="52" src="https://wangchujiang.com/appicon/iconize-folder.png"></a>
|
|
28
|
+
<a target="_blank" href="https://apps.apple.com/app/6478511402" title="Textsound Saver for macOS/iOS"><img alt="Textsound Saver" height="52" width="52" src="https://wangchujiang.com/appicon/textsound-saver.png"></a>
|
|
29
|
+
<a target="_blank" href="https://apps.apple.com/app/6476924627" title="Create Custom Symbols for macOS"><img alt="Create Custom Symbols" height="52" width="52" src="https://wangchujiang.com/appicon/create-custom-symbols.png"></a>
|
|
30
|
+
<a target="_blank" href="https://apps.apple.com/app/6476452351" title="DevHub for macOS"><img alt="DevHub" height="52" width="52" src="https://wangchujiang.com/appicon/devhub.png"></a>
|
|
31
|
+
<a target="_blank" href="https://apps.apple.com/app/6476400184" title="Resume Revise for macOS"><img alt="Resume Revise" height="52" width="52" src="https://wangchujiang.com/appicon/resume-revise.png"></a>
|
|
32
|
+
<a target="_blank" href="https://apps.apple.com/app/6472593276" title="Palette Genius for macOS"><img alt="Palette Genius" height="52" width="52" src="https://wangchujiang.com/appicon/palette-genius.png"></a>
|
|
33
|
+
<a target="_blank" href="https://apps.apple.com/app/6470879005" title="Symbol Scribe for macOS"><img alt="Symbol Scribe" height="52" width="52" src="https://wangchujiang.com/appicon/symbol-scribe.png"></a>
|
|
34
|
+
</div>
|
|
35
|
+
<hr>
|
|
36
|
+
|
|
1
37
|
Copy Text to Clipboard
|
|
2
38
|
===
|
|
3
39
|
|
package/dist/badges.svg
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
<svg width="103.3" height="20" viewBox="0 0 1033 200" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="coverage: 100%">
|
|
2
2
|
<title>coverage: 100%</title>
|
|
3
|
-
<linearGradient id="
|
|
3
|
+
<linearGradient id="ilcqU" x2="0" y2="100%">
|
|
4
4
|
<stop offset="0" stop-opacity=".1" stop-color="#EEE"/>
|
|
5
5
|
<stop offset="1" stop-opacity=".1"/>
|
|
6
6
|
</linearGradient>
|
|
7
|
-
<mask id="
|
|
8
|
-
<g mask="url(#
|
|
7
|
+
<mask id="xdUwn"><rect width="1033" height="200" rx="30" fill="#FFF"/></mask>
|
|
8
|
+
<g mask="url(#xdUwn)">
|
|
9
9
|
<rect width="603" height="200" fill="#555"/>
|
|
10
10
|
<rect width="430" height="200" fill="#49c31a" x="603"/>
|
|
11
|
-
<rect width="1033" height="200" fill="url(#
|
|
11
|
+
<rect width="1033" height="200" fill="url(#ilcqU)"/>
|
|
12
12
|
</g>
|
|
13
13
|
<g aria-hidden="true" fill="#fff" text-anchor="start" font-family="Verdana,DejaVu Sans,sans-serif" font-size="110">
|
|
14
14
|
<text x="60" y="148" textLength="503" fill="#000" opacity="0.25">coverage</text>
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**!
|
|
2
|
-
* @uiw/copy-to-clipboard v1.0.
|
|
2
|
+
* @uiw/copy-to-clipboard v1.0.19
|
|
3
3
|
* Copy to clipboard.
|
|
4
4
|
*
|
|
5
|
-
* Copyright (c)
|
|
5
|
+
* Copyright (c) 2025 Kenny Wang
|
|
6
6
|
* https://github.com/uiwjs/copy-to-clipboard.git
|
|
7
7
|
*
|
|
8
8
|
* @website: https://uiwjs.github.io/copy-to-clipboard
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**!
|
|
2
|
-
* @uiw/copy-to-clipboard v1.0.
|
|
2
|
+
* @uiw/copy-to-clipboard v1.0.19
|
|
3
3
|
* Copy to clipboard.
|
|
4
4
|
*
|
|
5
|
-
* Copyright (c)
|
|
5
|
+
* Copyright (c) 2025 Kenny Wang
|
|
6
6
|
* https://github.com/uiwjs/copy-to-clipboard.git
|
|
7
7
|
*
|
|
8
8
|
* @website: https://uiwjs.github.io/copy-to-clipboard
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**!
|
|
2
|
-
* @uiw/copy-to-clipboard v1.0.
|
|
2
|
+
* @uiw/copy-to-clipboard v1.0.19
|
|
3
3
|
* Copy to clipboard.
|
|
4
4
|
*
|
|
5
|
-
* Copyright (c)
|
|
5
|
+
* Copyright (c) 2025 Kenny Wang
|
|
6
6
|
* https://github.com/uiwjs/copy-to-clipboard.git
|
|
7
7
|
*
|
|
8
8
|
* @website: https://uiwjs.github.io/copy-to-clipboard
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! @uiw/copy-to-clipboard v1.0.
|
|
2
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).copyTextToClipboard=t()}(this,
|
|
1
|
+
/*! @uiw/copy-to-clipboard v1.0.19 | MIT © 2025 Kenny Wang https://uiwjs.github.io/copy-to-clipboard */
|
|
2
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).copyTextToClipboard=t()}(this,function(){"use strict";return function(e,t){if("undefined"==typeof document)return;const o=document.createElement("textarea");o.value=e,o.setAttribute("readonly",""),o.style={position:"absolute",left:"-9999px"},document.body.appendChild(o);const n=document.getSelection().rangeCount>0&&document.getSelection().getRangeAt(0);o.select();let d=!1;try{d=!!document.execCommand("copy")}catch(e){d=!1}document.body.removeChild(o),n&&document.getSelection&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(n)),t&&t(d)}});
|
|
3
3
|
//# sourceMappingURL=copy-to-clipboard.umd.min.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"copy-to-clipboard.umd.min.js","sources":["../src/main.js"],"sourcesContent":["/**\n * *** This styling is an extra step which is likely not required. ***\n * https://github.com/w3c/clipboard-apis/blob/master/explainer.adoc#writing-to-the-clipboard\n * \n * Why is it here? To ensure:\n * \n * 1. the element is able to have focus and selection.\n * 2. if element was to flash render it has minimal visual impact.\n * 3. less flakyness with selection and copying which **might** occur if\n * the textarea element is not visible.\n *\n * The likelihood is the element won't even render, not even a flash,\n * so some of these are just precautions. However in IE the element\n * is visible whilst the popup box asking the user for permission for\n * the web page to copy to the clipboard.\n * \n * Place in top-left corner of screen regardless of scroll position.\n *\n * @typedef CopyTextToClipboard\n * @property {(text: string, method?: (isCopy: boolean) => void) => void} void\n * @returns {void}\n * \n * @param {string} text \n * @param {CopyTextToClipboard} cb \n */\nexport default function copyTextToClipboard(text, cb) {\n if (typeof document === \"undefined\") return;\n const el = document.createElement('textarea');\n el.value = text;\n el.setAttribute('readonly', '');\n el.style = {\n position: 'absolute',\n left: '-9999px',\n }\n document.body.appendChild(el);\n const selected = document.getSelection().rangeCount > 0 ? document.getSelection().getRangeAt(0) : false;\n el.select();\n let isCopy = false;\n try {\n const successful = document.execCommand('copy');\n isCopy = !!successful;\n } catch (err) {\n isCopy = false;\n }\n document.body.removeChild(el);\n if (selected && document.getSelection) {\n document.getSelection().removeAllRanges();\n document.getSelection().addRange(selected);\n }\n cb && cb(isCopy);\n};\n"],"names":["text","cb","document","el","createElement","value","setAttribute","style","position","left","body","appendChild","selected","getSelection","rangeCount","getRangeAt","select","isCopy","execCommand","err","removeChild","removeAllRanges","addRange"],"mappings":";
|
|
1
|
+
{"version":3,"file":"copy-to-clipboard.umd.min.js","sources":["../src/main.js"],"sourcesContent":["/**\n * *** This styling is an extra step which is likely not required. ***\n * https://github.com/w3c/clipboard-apis/blob/master/explainer.adoc#writing-to-the-clipboard\n * \n * Why is it here? To ensure:\n * \n * 1. the element is able to have focus and selection.\n * 2. if element was to flash render it has minimal visual impact.\n * 3. less flakyness with selection and copying which **might** occur if\n * the textarea element is not visible.\n *\n * The likelihood is the element won't even render, not even a flash,\n * so some of these are just precautions. However in IE the element\n * is visible whilst the popup box asking the user for permission for\n * the web page to copy to the clipboard.\n * \n * Place in top-left corner of screen regardless of scroll position.\n *\n * @typedef CopyTextToClipboard\n * @property {(text: string, method?: (isCopy: boolean) => void) => void} void\n * @returns {void}\n * \n * @param {string} text \n * @param {CopyTextToClipboard} cb \n */\nexport default function copyTextToClipboard(text, cb) {\n if (typeof document === \"undefined\") return;\n const el = document.createElement('textarea');\n el.value = text;\n el.setAttribute('readonly', '');\n el.style = {\n position: 'absolute',\n left: '-9999px',\n }\n document.body.appendChild(el);\n const selected = document.getSelection().rangeCount > 0 ? document.getSelection().getRangeAt(0) : false;\n el.select();\n let isCopy = false;\n try {\n const successful = document.execCommand('copy');\n isCopy = !!successful;\n } catch (err) {\n isCopy = false;\n }\n document.body.removeChild(el);\n if (selected && document.getSelection) {\n document.getSelection().removeAllRanges();\n document.getSelection().addRange(selected);\n }\n cb && cb(isCopy);\n};\n"],"names":["text","cb","document","el","createElement","value","setAttribute","style","position","left","body","appendChild","selected","getSelection","rangeCount","getRangeAt","select","isCopy","execCommand","err","removeChild","removeAllRanges","addRange"],"mappings":";0PAyBe,SAA6BA,EAAMC,GAChD,GAAwB,oBAAbC,SAA0B,OACrC,MAAMC,EAAKD,SAASE,cAAc,YAClCD,EAAGE,MAAQL,EACXG,EAAGG,aAAa,WAAY,IAC5BH,EAAGI,MAAQ,CACTC,SAAU,WACVC,KAAM,WAERP,SAASQ,KAAKC,YAAYR,GAC1B,MAAMS,EAAWV,SAASW,eAAeC,WAAa,GAAIZ,SAASW,eAAeE,WAAW,GAC7FZ,EAAGa,SACH,IAAIC,GAAS,EACb,IAEEA,IADmBf,SAASgB,YAAY,OAEzC,CAAC,MAAOC,GACPF,GAAS,CACV,CACDf,SAASQ,KAAKU,YAAYjB,GACtBS,GAAYV,SAASW,eACvBX,SAASW,eAAeQ,kBACxBnB,SAASW,eAAeS,SAASV,IAEnCX,GAAMA,EAAGgB,EACX"}
|
package/dist/css/main.css
CHANGED
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
--color-done-emphasis: #8250df;
|
|
17
17
|
--color-success-fg: #1a7f37;
|
|
18
18
|
--color-success-emphasis: #1f883d;
|
|
19
|
+
--color-fg-muted: #8b949e;
|
|
19
20
|
}
|
|
20
21
|
|
|
21
22
|
[data-color-mode*='light'],
|
|
@@ -36,6 +37,7 @@
|
|
|
36
37
|
--color-done-emphasis: #8957e5;
|
|
37
38
|
--color-success-fg: #3fb950;
|
|
38
39
|
--color-success-emphasis: #238636;
|
|
40
|
+
--color-fg-muted: #57606a;
|
|
39
41
|
}
|
|
40
42
|
|
|
41
43
|
*,
|
|
@@ -44,6 +46,17 @@
|
|
|
44
46
|
box-sizing: border-box;
|
|
45
47
|
}
|
|
46
48
|
|
|
49
|
+
::-webkit-scrollbar {
|
|
50
|
+
background: transparent;
|
|
51
|
+
width: 8px;
|
|
52
|
+
height: 8px;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
::-webkit-scrollbar-thumb {
|
|
56
|
+
background: var(--color-fg-muted);
|
|
57
|
+
border-radius: 10px;
|
|
58
|
+
}
|
|
59
|
+
|
|
47
60
|
html {
|
|
48
61
|
scroll-behavior: smooth;
|
|
49
62
|
}
|
package/dist/index.html
CHANGED
|
@@ -4,34 +4,34 @@
|
|
|
4
4
|
<meta charset="UTF-8">
|
|
5
5
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
7
|
-
<title>Copy Text to Clipboard Copy Text to Clipboard 1.0.
|
|
7
|
+
<title>Copy Text to Clipboard Copy Text to Clipboard 1.0.19</title>
|
|
8
8
|
<meta name="description" content="Why is it here? To ensure:">
|
|
9
9
|
<meta name="keywords" content="copy,text,clipboard,browser,clipboard-copy,clipboard.js">
|
|
10
10
|
<meta name="author" content="Kenny Wong">
|
|
11
|
-
<meta property="og:site_name" content="Copy Text to Clipboard <sup>1.0.
|
|
11
|
+
<meta property="og:site_name" content="Copy Text to Clipboard <sup>1.0.19</sup>">
|
|
12
12
|
<meta property="og:url" content="https://wangchujiang.com/copy-to-clipboard/index.html">
|
|
13
13
|
<meta property="og:type" content="application">
|
|
14
|
-
<meta property="og:title" content="Copy Text to Clipboard <sup>1.0.
|
|
14
|
+
<meta property="og:title" content="Copy Text to Clipboard <sup>1.0.19</sup>">
|
|
15
15
|
<meta property="og:description" content="Why is it here? To ensure:">
|
|
16
16
|
<meta property="twitter:site" content="@jaywcjlove">
|
|
17
17
|
<meta property="twitter:creator" content="jaywcjlove">
|
|
18
|
-
<meta property="twitter:title" content="Copy Text to Clipboard <sup>1.0.
|
|
18
|
+
<meta property="twitter:title" content="Copy Text to Clipboard <sup>1.0.19</sup>">
|
|
19
19
|
<meta property="twitter:description" content="Why is it here? To ensure:">
|
|
20
|
-
<link rel="stylesheet" type="text/css" href="css/main.css?v=1.
|
|
21
|
-
<link rel="stylesheet" type="text/css" href="css/tocbot.css?v=1.
|
|
22
|
-
<link rel="stylesheet" type="text/css" href="css/media.css?v=1.
|
|
23
|
-
<link rel="stylesheet" type="text/css" href="css/sidebar.css?v=1.
|
|
24
|
-
<link rel="stylesheet" type="text/css" href="css/copy.css?v=1.
|
|
25
|
-
<link rel="stylesheet" type="text/css" href="css/demo-preview.css?v=1.
|
|
20
|
+
<link rel="stylesheet" type="text/css" href="css/main.css?v=1.34.4">
|
|
21
|
+
<link rel="stylesheet" type="text/css" href="css/tocbot.css?v=1.34.4">
|
|
22
|
+
<link rel="stylesheet" type="text/css" href="css/media.css?v=1.34.4">
|
|
23
|
+
<link rel="stylesheet" type="text/css" href="css/sidebar.css?v=1.34.4">
|
|
24
|
+
<link rel="stylesheet" type="text/css" href="css/copy.css?v=1.34.4">
|
|
25
|
+
<link rel="stylesheet" type="text/css" href="css/demo-preview.css?v=1.34.4">
|
|
26
26
|
<link rel="icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAAEIlJREFUeF7tnXtwVNUdx3/n7kIe8sgTNEjLTMeAUrVUKB0U0f6D1ZkKCqhBJKDSdjplHEnW6B8l0hZIQKBaq+KMQDvTOhYfnY5jpU7rg9pp0Y5aSysKA4SEAJJNIJjdkN3TOWuigcnuub97727u2fu9MzuJ7ve8vt/72XPP2XCvIBxwAA6kdUDAGzgAB9I7AEBwdsCBDA4AEJwecACA4ByAA84cwAzizDeUCogDACQgQWOYzhwAIM58Q6m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Jggg==" type="image/x-icon">
|
|
27
|
-
<script src="js/copy.js?v=1.
|
|
28
|
-
<script src="js/dark-mode.js?v=1.
|
|
29
|
-
<script src="js/markdown-style.js?v=1.
|
|
27
|
+
<script src="js/copy.js?v=1.34.4"></script>
|
|
28
|
+
<script src="js/dark-mode.js?v=1.34.4"></script>
|
|
29
|
+
<script src="js/markdown-style.js?v=1.34.4"></script>
|
|
30
30
|
</head>
|
|
31
31
|
<body id="idoctotop"><a href="#idoctotop" class="gototop">top</a>
|
|
32
32
|
<header class="header">
|
|
33
|
-
<article class="inner warpper" style="max-width:720px;"><a class="logo" href="index.html"><img alt="Copy Text to Clipboard <sup>1.0.
|
|
34
|
-
<span class="title">Copy Text to Clipboard <sup>1.0.
|
|
33
|
+
<article class="inner warpper" style="max-width:720px;"><a class="logo" href="index.html"><img alt="Copy Text to Clipboard <sup>1.0.19</sup> logo" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAAEIlJREFUeF7tnXtwVNUdx3/n7kIe8sgTNEjLTMeAUrVUKB0U0f6D1ZkKCqhBJKDSdjplHEnW6B8l0hZIQKBaq+KMQDvTOhYfnY5jpU7rg9pp0Y5aSysKA4SEAJJNIJjdkN3TOWuigcnuub97727u2fu9MzuJ7ve8vt/72XPP2XCvIBxwAA6kdUDAGzgAB9I7AEBwdsCBDA4AEJwecACA4ByAA84cwAzizDeUCogDACQgQWOYzhwAIM58Q6mAOABAAhI0hunMAQDizDeUCogDACQgQWOYzhwAIM58Q6mAOABAAhI0hunMAQDizDeUCogDACQgQWOYzhwAIM58Q6mAOABAAhI0hunMAQDizDeUCogDACQgQWOYzhwAIM58Q6mAOABAAhI0hunMgawC0tTU9DgRLRRCVDrrHqtUBxFFiSj1U0rZYVlWRzKZVP+v3bKsViJqi8fjbX19fa2NjY1JVu0BFG/atKlMSlmRSCQqhRAVRFQhpVRZqt9TP6WUJUR0wcBLCDHweyhHlm1PJBI7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TzJqYn9RWHRts6FUtBznEagTe/Aks5X6JLeof++yPbiEwbbckAkrat7lo9525a4X8QGpHh751VJonc4jUCb3gG1kbGi4yUqT3SdI1LrDbXuwOGZA/tiZ3qvoh+N6+bUyAZEVV60LfqoFOLHnIagTe9AVd+ntKLjRbL6/5LofwVfpd+OnQvLvHRAyutjy0pf51bpCBDViJ2/yeJ2Jsj6ge+NWkaMp+0lN2V+UlKQjXIwdinEyvjSsY85KJrpn1/pqyt65tQsaSWXE4lvE8mp+hJQZHJg9mfv0fuFl9Ap6wIY5d6B16VaCoTEU/ElYz9xWp3jGcRpg/lSrnBH559IkinXQaditSVj88X7XI4DgDh0u/A3p2ZTIvmmw+K5LeZg/z+3HfRvawDERTYF26MvChLzXFSRg6LiP7HasV/PQUN52QQAcRFr8Y7otKQULxHRV1xUk9WiQtKinmUlv89qI3lcOQBxGW7hM53fIYv+SETFLqvyvDjgcG8pAHHvIRX9OnpLUorFQtK1RFThQZXOq5B0jAT9VUh6ATOHcxsHSgIQ9x6eU0PqsitJw7JjlLRGdPQuHfWBx0MKdHUAJNDxY/A6BwCIziG8H2gHAEig48fgdQ4AEJ1DeD/QDgCQQMePwescACA6h/B+oB0AIIGOH4PXOQBAdA7h/UA7AEACHT8Gr3MAgOgcwvuBdgCABDp+DF7nAADROYT3A+0AAAl0/Bi8zgEAonMI7wfaAQAS6PgxeJ0DAETnEN4PtAMAJNDxY/A6BwCIziG8H2gH/g8LPRyq8vuk8QAAAABJRU5ErkJggg==">
|
|
34
|
+
<span class="title">Copy Text to Clipboard <sup>1.0.19</sup></span></a>
|
|
35
35
|
<div class="content">
|
|
36
36
|
<ul class="menu">
|
|
37
37
|
<li><a href="index.html" target="" class="active">Home</a></li>
|
|
@@ -46,6 +46,39 @@
|
|
|
46
46
|
</header>
|
|
47
47
|
<div style="max-width:720px;" class="warpper-content warpper notocs">
|
|
48
48
|
<markdown-style theme-auto-switch-disabled="">
|
|
49
|
+
<div markdown="1">
|
|
50
|
+
<sup>Using <a href="https://wangchujiang.com/#/app" target="_blank">my app</a> is also a way to <a href="https://wangchujiang.com/#/sponsor" target="_blank">support</a> me:</sup><br><a target="_blank" href="https://apps.apple.com/app/Deskmark/6755948110" title="Deskmark for macOS"><img alt="Deskmark" height="52" width="52" src="https://wangchujiang.com/appicon/deskmark.png"></a>
|
|
51
|
+
<a target="_blank" href="https://apps.apple.com/app/Keyzer/6500434773" title="Keyzer for macOS"><img alt="Keyzer" height="52" width="52" src="https://wangchujiang.com/appicon/keyzer.png"></a>
|
|
52
|
+
<a target="_blank" href="https://github.com/jaywcjlove/vidwall-hub" title="Vidwall Hub for macOS"><img alt="Vidwall Hub" height="52" width="52" src="https://wangchujiang.com/appicon/vidwall-hub.png"></a>
|
|
53
|
+
<a target="_blank" href="https://apps.apple.com/app/VidCrop/6752624705" title="VidCrop for macOS"><img alt="VidCrop" height="52" width="52" src="https://wangchujiang.com/appicon/vidcrop.png"></a>
|
|
54
|
+
<a target="_blank" href="https://apps.apple.com/app/Vidwall/6747587746" title="Vidwall for macOS"><img alt="Vidwall" height="52" width="52" src="https://wangchujiang.com/appicon/vidwall.png"></a>
|
|
55
|
+
<a target="_blank" href="https://wangchujiang.com/mousio-hint/" title="Mousio Hint for macOS"><img alt="Mousio Hint" height="52" width="52" src="https://wangchujiang.com/appicon/mousio-hint.png"></a>
|
|
56
|
+
<a target="_blank" href="https://apps.apple.com/app/6746747327" title="Mousio for macOS"><img alt="Mousio" height="52" width="52" src="https://wangchujiang.com/appicon/mousio.png"></a>
|
|
57
|
+
<a target="_blank" href="https://apps.apple.com/app/6745227444" title="Musicer for macOS"><img alt="Musicer" height="52" width="52" src="https://wangchujiang.com/appicon/musicer.png"></a>
|
|
58
|
+
<a target="_blank" href="https://apps.apple.com/app/6743841447" title="Audioer for macOS"><img alt="Audioer" height="52" width="52" src="https://wangchujiang.com/appicon/audioer.png"></a>
|
|
59
|
+
<a target="_blank" href="https://apps.apple.com/app/6744690194" title="FileSentinel for macOS"><img alt="FileSentinel" height="52" width="52" src="https://wangchujiang.com/appicon/file-sentinel.png"></a>
|
|
60
|
+
<a target="_blank" href="https://apps.apple.com/app/6743495172" title="FocusCursor for macOS"><img alt="FocusCursor" height="52" width="52" src="https://wangchujiang.com/appicon/focus-cursor.png"></a>
|
|
61
|
+
<a target="_blank" href="https://apps.apple.com/app/6742680573" title="Videoer for macOS"><img alt="Videoer" height="52" width="52" src="https://wangchujiang.com/appicon/videoer.png"></a>
|
|
62
|
+
<a target="_blank" href="https://apps.apple.com/app/6740425504" title="KeyClicker for macOS"><img alt="KeyClicker" height="52" width="52" src="https://wangchujiang.com/appicon/key-clicker.png"></a>
|
|
63
|
+
<a target="_blank" href="https://apps.apple.com/app/6739052447" title="DayBar for macOS"><img alt="DayBar" height="52" width="52" src="https://wangchujiang.com/appicon/daybar.png"></a>
|
|
64
|
+
<a target="_blank" href="https://apps.apple.com/app/6739444407" title="Iconed for macOS"><img alt="Iconed" height="52" width="52" src="https://wangchujiang.com/appicon/iconed.png"></a>
|
|
65
|
+
<a target="_blank" href="https://apps.apple.com/app/6737160756" title="Mousio for macOS"><img alt="Mousio" height="52" width="52" src="https://wangchujiang.com/appicon/rightmenu-master.png"></a>
|
|
66
|
+
<a target="_blank" href="https://apps.apple.com/app/6723903021" title="Paste Quick for macOS"><img alt="Quick RSS" height="52" width="52" src="https://wangchujiang.com/appicon/paste-quick.png"></a>
|
|
67
|
+
<a target="_blank" href="https://apps.apple.com/app/6670696072" title="Quick RSS for macOS/iOS"><img alt="Quick RSS" height="52" width="52" src="https://wangchujiang.com/appicon/quick-rss.png"></a>
|
|
68
|
+
<a target="_blank" href="https://apps.apple.com/app/6670167443" title="Web Serve for macOS"><img alt="Web Serve" height="52" width="52" src="https://wangchujiang.com/appicon/web-serve.png"></a>
|
|
69
|
+
<a target="_blank" href="https://apps.apple.com/app/6503953628" title="Copybook Generator for macOS/iOS"><img alt="Copybook Generator" height="52" width="52" src="https://wangchujiang.com/appicon/copybook-generator.png"></a>
|
|
70
|
+
<a target="_blank" href="https://apps.apple.com/app/6471227008" title="DevTutor for macOS/iOS"><img alt="DevTutor for SwiftUI" height="52" width="52" src="https://wangchujiang.com/appicon/devtutor.png"></a>
|
|
71
|
+
<a target="_blank" href="https://apps.apple.com/app/6479819388" title="RegexMate for macOS/iOS"><img alt="RegexMate" height="52" width="52" src="https://wangchujiang.com/appicon/regex-mate.png"></a>
|
|
72
|
+
<a target="_blank" href="https://apps.apple.com/app/6479194014" title="Time Passage for macOS/iOS"><img alt="Time Passage" height="52" width="52" src="https://wangchujiang.com/appicon/time-passage.png"></a>
|
|
73
|
+
<a target="_blank" href="https://apps.apple.com/app/6478772538" title="IconizeFolder for macOS"><img alt="Iconize Folder" height="52" width="52" src="https://wangchujiang.com/appicon/iconize-folder.png"></a>
|
|
74
|
+
<a target="_blank" href="https://apps.apple.com/app/6478511402" title="Textsound Saver for macOS/iOS"><img alt="Textsound Saver" height="52" width="52" src="https://wangchujiang.com/appicon/textsound-saver.png"></a>
|
|
75
|
+
<a target="_blank" href="https://apps.apple.com/app/6476924627" title="Create Custom Symbols for macOS"><img alt="Create Custom Symbols" height="52" width="52" src="https://wangchujiang.com/appicon/create-custom-symbols.png"></a>
|
|
76
|
+
<a target="_blank" href="https://apps.apple.com/app/6476452351" title="DevHub for macOS"><img alt="DevHub" height="52" width="52" src="https://wangchujiang.com/appicon/devhub.png"></a>
|
|
77
|
+
<a target="_blank" href="https://apps.apple.com/app/6476400184" title="Resume Revise for macOS"><img alt="Resume Revise" height="52" width="52" src="https://wangchujiang.com/appicon/resume-revise.png"></a>
|
|
78
|
+
<a target="_blank" href="https://apps.apple.com/app/6472593276" title="Palette Genius for macOS"><img alt="Palette Genius" height="52" width="52" src="https://wangchujiang.com/appicon/palette-genius.png"></a>
|
|
79
|
+
<a target="_blank" href="https://apps.apple.com/app/6470879005" title="Symbol Scribe for macOS"><img alt="Symbol Scribe" height="52" width="52" src="https://wangchujiang.com/appicon/symbol-scribe.png"></a>
|
|
80
|
+
</div>
|
|
81
|
+
<hr>
|
|
49
82
|
<h1 id="copy-text-to-clipboard"><a aria-hidden="true" tabindex="-1" href="#copy-text-to-clipboard" class="anchor"><span class="icon icon-link"></span></a>Copy Text to Clipboard</h1>
|
|
50
83
|
<p>
|
|
51
84
|
<a href="https://jaywcjlove.github.io/#/sponsor"><img src="https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee" alt="Buy me a coffee"></a>
|
|
@@ -102,13 +135,13 @@ copyTextToClipboard('test', (isCopy) => {
|
|
|
102
135
|
<p>Licensed under the MIT License.</p>
|
|
103
136
|
</markdown-style>
|
|
104
137
|
</div>
|
|
105
|
-
<script src="js/demo-preview.js?v=1.
|
|
138
|
+
<script src="js/demo-preview.js?v=1.34.4"></script>
|
|
106
139
|
<div class="footer warpper" style="max-width:720px;">
|
|
107
140
|
<a href="https://wangchujiang.com/#/app" target="_blank">App</a> •
|
|
108
141
|
<a href="https://wangchujiang.com/#/projects" target="_blank">Projects</a> •
|
|
109
142
|
<a href="https://wangchujiang.com/#/sponsor" target="_blank">Sponsor</a> •
|
|
110
|
-
<a href="https://wangchujiang.com/#/app" target="_blank">More Apps</a><br><br>Generated by <a href="https://github.com/jaywcjlove/idoc" target="_blank">idoc</a> v1.
|
|
143
|
+
<a href="https://wangchujiang.com/#/app" target="_blank">More Apps</a><br><br>Generated by <a href="https://github.com/jaywcjlove/idoc" target="_blank">idoc</a> v1.34.4
|
|
111
144
|
</div>
|
|
112
|
-
<script src="js/tocbot.js?v=1.
|
|
145
|
+
<script src="js/tocbot.js?v=1.34.4"></script>
|
|
113
146
|
</body>
|
|
114
147
|
</html>
|
package/dist/js/copy.js
CHANGED
|
@@ -8,7 +8,7 @@ function copyTextToClipboard(text, cb) {
|
|
|
8
8
|
el.style = {
|
|
9
9
|
position: 'absolute',
|
|
10
10
|
left: '-9999px',
|
|
11
|
-
}
|
|
11
|
+
};
|
|
12
12
|
document.body.appendChild(el);
|
|
13
13
|
const selected = document.getSelection().rangeCount > 0 ? document.getSelection().getRangeAt(0) : false;
|
|
14
14
|
el.select();
|
|
@@ -25,16 +25,16 @@ function copyTextToClipboard(text, cb) {
|
|
|
25
25
|
document.getSelection().addRange(selected);
|
|
26
26
|
}
|
|
27
27
|
cb && cb(isCopy);
|
|
28
|
-
}
|
|
28
|
+
}
|
|
29
29
|
|
|
30
30
|
function copied(target, str) {
|
|
31
31
|
target.classList.add('active');
|
|
32
32
|
const input = target.parentElement.querySelector('input');
|
|
33
33
|
if (input) {
|
|
34
|
-
copyTextToClipboard(input.value || '', function() {
|
|
34
|
+
copyTextToClipboard(input.value || '', function () {
|
|
35
35
|
setTimeout(() => {
|
|
36
36
|
target.classList.remove('active');
|
|
37
37
|
}, 2000);
|
|
38
38
|
});
|
|
39
39
|
}
|
|
40
|
-
}
|
|
40
|
+
}
|
package/dist/js/demo-preview.js
CHANGED
|
@@ -3,7 +3,7 @@ const demo = document.querySelectorAll('.idoc-demo-warpper .idoc-demo-previw');
|
|
|
3
3
|
function getButton(elm, type = 'BUTTON') {
|
|
4
4
|
let btn;
|
|
5
5
|
do {
|
|
6
|
-
elm = elm.nextElementSibling
|
|
6
|
+
elm = elm.nextElementSibling;
|
|
7
7
|
if (elm.tagName === type) {
|
|
8
8
|
btn = elm;
|
|
9
9
|
elm = undefined;
|
|
@@ -19,13 +19,13 @@ if (demo && demo.length > 0) {
|
|
|
19
19
|
if (button) {
|
|
20
20
|
button.innerHTML = item.classList.contains('ishiden') ? 'Preview' : 'Show Code';
|
|
21
21
|
if (item.tagName === 'DIV') {
|
|
22
|
-
item.innerHTML = item.previousElementSibling.defaultValue
|
|
22
|
+
item.innerHTML = item.previousElementSibling.defaultValue;
|
|
23
23
|
}
|
|
24
24
|
button.onclick = () => {
|
|
25
25
|
item.classList.toggle('ishiden');
|
|
26
26
|
button.innerHTML = item.classList.contains('ishiden') ? 'Preview' : 'Show Code';
|
|
27
|
-
}
|
|
27
|
+
};
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
});
|
|
31
|
-
}
|
|
31
|
+
}
|
package/dist/js/giscus.js
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
|
|
1
|
+
(() => {
|
|
2
2
|
const targetElement = document.documentElement;
|
|
3
|
-
const defaultTheme = targetElement.getAttribute(
|
|
4
|
-
changeGiscusTheme(defaultTheme)
|
|
3
|
+
const defaultTheme = targetElement.getAttribute('data-color-mode');
|
|
4
|
+
changeGiscusTheme(defaultTheme);
|
|
5
5
|
const observer = new MutationObserver((mutationsList, observer) => {
|
|
6
|
-
for(const mutation of mutationsList) {
|
|
6
|
+
for (const mutation of mutationsList) {
|
|
7
7
|
if (mutation.type === 'attributes') {
|
|
8
|
-
const value = targetElement.getAttribute(
|
|
9
|
-
changeGiscusTheme(value)
|
|
8
|
+
const value = targetElement.getAttribute('data-color-mode');
|
|
9
|
+
changeGiscusTheme(value);
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
});
|
|
13
|
-
|
|
13
|
+
|
|
14
14
|
observer.observe(targetElement, {
|
|
15
15
|
attributes: true,
|
|
16
|
-
attributeOldValue: true
|
|
16
|
+
attributeOldValue: true,
|
|
17
17
|
});
|
|
18
|
-
|
|
19
|
-
function changeGiscusTheme(theme =
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
18
|
+
|
|
19
|
+
function changeGiscusTheme(theme = 'light') {
|
|
20
|
+
const iframe = document.querySelector('.giscus-frame');
|
|
21
|
+
if (iframe) {
|
|
22
|
+
const config = {
|
|
23
|
+
giscus: {
|
|
24
|
+
setConfig: {
|
|
25
|
+
theme: theme.toLocaleLowerCase(),
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
};
|
|
29
|
+
iframe.contentWindow.postMessage(config, 'https://giscus.app');
|
|
30
|
+
const script = document.querySelector('script[data-script-id="giscus"]');
|
|
31
|
+
script.setAttribute('data-theme', theme);
|
|
32
|
+
}
|
|
33
33
|
}
|
|
34
34
|
})();
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @version 1.1.0
|
|
4
4
|
* @author 小弟调调
|
|
5
5
|
* https://github.com/jaywcjlove/markdown-style
|
|
6
|
-
*
|
|
6
|
+
*
|
|
7
7
|
* Integrate markdown styles into web components, Markdown CSS styles will not be conflicted.
|
|
8
8
|
* The minimal amount of CSS to replicate the GitHub Markdown style. Support dark-mode/night mode.
|
|
9
9
|
*/
|
|
@@ -587,15 +587,17 @@ markdown-style sup>a::before {
|
|
|
587
587
|
markdown-style sup>a::after {
|
|
588
588
|
content: "]";
|
|
589
589
|
}
|
|
590
|
-
|
|
591
|
-
.
|
|
592
|
-
|
|
590
|
+
markdown-style .octicon-video .octicon.octicon-device-camera-video {
|
|
591
|
+
margin: 0 0.5rem 0 0.25rem;
|
|
592
|
+
}
|
|
593
|
+
markdown-style .octicon-video {
|
|
594
|
+
border: 1px solid var(--color-border-default) !important;
|
|
593
595
|
border-radius: 6px !important;
|
|
594
596
|
display: block;
|
|
595
597
|
}
|
|
596
598
|
|
|
597
599
|
markdown-style .octicon-video summary {
|
|
598
|
-
border-bottom: 1px solid
|
|
600
|
+
border-bottom: 1px solid var(--color-border-default) !important;
|
|
599
601
|
padding: 8px 16px !important;
|
|
600
602
|
cursor: pointer;
|
|
601
603
|
}
|
|
@@ -1000,48 +1002,46 @@ markdown-style ::-webkit-calendar-picker-indicator {
|
|
|
1000
1002
|
<slot></slot>
|
|
1001
1003
|
`;
|
|
1002
1004
|
class MarkdownStyle extends HTMLElement {
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1005
|
+
get theme() {
|
|
1006
|
+
const value = this.getAttribute('theme');
|
|
1007
|
+
return value === null ? '' : value;
|
|
1008
|
+
}
|
|
1009
|
+
set theme(name) {
|
|
1010
|
+
this.setAttribute('theme', name);
|
|
1011
|
+
}
|
|
1012
|
+
constructor() {
|
|
1013
|
+
super();
|
|
1014
|
+
this.shadow = this.attachShadow({ mode: 'open' });
|
|
1015
|
+
this.shadow.appendChild(__TEMPLATE__.content.cloneNode(true));
|
|
1016
|
+
const style = Array.prototype.slice.call(this.shadow.children).find((item) => item.tagName === 'STYLE');
|
|
1017
|
+
if (style) {
|
|
1018
|
+
const id = '__MARKDOWN_STYLE__';
|
|
1019
|
+
const findStyle = document.getElementById(id);
|
|
1020
|
+
if (!findStyle) {
|
|
1021
|
+
style.id = id;
|
|
1022
|
+
document.head.append(style);
|
|
1023
|
+
}
|
|
1009
1024
|
}
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
.call(this.shadow.children)
|
|
1016
|
-
.find((item) => item.tagName === 'STYLE');
|
|
1017
|
-
if (style) {
|
|
1018
|
-
const id = '__MARKDOWN_STYLE__';
|
|
1019
|
-
const findStyle = document.getElementById(id);
|
|
1020
|
-
if (!findStyle) {
|
|
1021
|
-
style.id = id;
|
|
1022
|
-
document.head.append(style);
|
|
1023
|
-
}
|
|
1024
|
-
}
|
|
1025
|
+
}
|
|
1026
|
+
connectedCallback() {
|
|
1027
|
+
const disableThemeAutoSwitch = this.getAttribute('theme-auto-switch-disabled');
|
|
1028
|
+
if (disableThemeAutoSwitch == '' || (disableThemeAutoSwitch && disableThemeAutoSwitch.toLowerCase() === 'true')) {
|
|
1029
|
+
return;
|
|
1025
1030
|
}
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
this.theme = event.matches ? 'light' : 'dark';
|
|
1040
|
-
};
|
|
1041
|
-
window.matchMedia('(prefers-color-scheme: dark)').onchange = (event) => {
|
|
1042
|
-
this.theme = event.matches ? 'dark' : 'light';
|
|
1043
|
-
};
|
|
1044
|
-
}
|
|
1031
|
+
if (!this.theme) {
|
|
1032
|
+
const { colorMode } = document.documentElement.dataset;
|
|
1033
|
+
this.theme = colorMode;
|
|
1034
|
+
const observer = new MutationObserver((mutationsList, observer) => {
|
|
1035
|
+
this.theme = document.documentElement.dataset.colorMode;
|
|
1036
|
+
});
|
|
1037
|
+
observer.observe(document.documentElement, { attributes: true });
|
|
1038
|
+
window.matchMedia('(prefers-color-scheme: light)').onchange = (event) => {
|
|
1039
|
+
this.theme = event.matches ? 'light' : 'dark';
|
|
1040
|
+
};
|
|
1041
|
+
window.matchMedia('(prefers-color-scheme: dark)').onchange = (event) => {
|
|
1042
|
+
this.theme = event.matches ? 'dark' : 'light';
|
|
1043
|
+
};
|
|
1045
1044
|
}
|
|
1045
|
+
}
|
|
1046
1046
|
}
|
|
1047
|
-
customElements.define('markdown-style', MarkdownStyle);
|
|
1047
|
+
customElements.define('markdown-style', MarkdownStyle);
|
package/dist/js/tocbot.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
(() => {
|
|
2
2
|
function debounce(fn, delay = 1000) {
|
|
3
|
-
let time = null
|
|
3
|
+
let time = null;
|
|
4
4
|
function _debounce(...args) {
|
|
5
5
|
if (time !== null) clearTimeout(time);
|
|
6
|
-
time = setTimeout(() => fn.apply(this, args), delay)
|
|
6
|
+
time = setTimeout(() => fn.apply(this, args), delay);
|
|
7
7
|
}
|
|
8
|
-
return _debounce
|
|
8
|
+
return _debounce;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
const scrollSmoothOffset = 56;
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
location.hash = anchor.getAttribute('href');
|
|
26
26
|
updateScroll();
|
|
27
27
|
updateAnchor();
|
|
28
|
-
tocsCollapse()
|
|
28
|
+
tocsCollapse();
|
|
29
29
|
});
|
|
30
30
|
});
|
|
31
31
|
}
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
if (element) {
|
|
54
54
|
const tocElement = document.querySelector(`a.tocs-link[href='${decodeURIComponent(element.hash)}']`);
|
|
55
55
|
if (tocElement) {
|
|
56
|
-
updateAnchor(tocElement)
|
|
56
|
+
updateAnchor(tocElement);
|
|
57
57
|
tocsCollapse(tocElement);
|
|
58
58
|
} else {
|
|
59
59
|
const first = document.querySelector('a.tocs-link[href*="#"]');
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
document.addEventListener('scroll',debounce(scrollListener, 30), false);
|
|
68
|
+
document.addEventListener('scroll', debounce(scrollListener, 30), false);
|
|
69
69
|
|
|
70
70
|
function updateAnchor(element) {
|
|
71
71
|
const anchorContainer = document.querySelectorAll('.tocs aside.inner.toc a.tocs-link');
|
|
@@ -98,7 +98,12 @@
|
|
|
98
98
|
if (!element) {
|
|
99
99
|
element = document.querySelector(`a.tocs-link[href='${decodeURIComponent(location.hash)}']`);
|
|
100
100
|
}
|
|
101
|
-
if (
|
|
101
|
+
if (
|
|
102
|
+
element &&
|
|
103
|
+
element.parentElement &&
|
|
104
|
+
element.parentElement.tagName !== 'ASIDE' &&
|
|
105
|
+
!element.parentElement.classList.contains('toc')
|
|
106
|
+
) {
|
|
102
107
|
isOpen(element.parentElement);
|
|
103
108
|
if (element.parentElement.classList.contains('is-collapsed')) {
|
|
104
109
|
element.parentElement.classList.add('is-open');
|
|
@@ -121,8 +126,7 @@
|
|
|
121
126
|
updateSiderBarScroll();
|
|
122
127
|
updateScroll();
|
|
123
128
|
updateAnchor();
|
|
124
|
-
tocsCollapse()
|
|
129
|
+
tocsCollapse();
|
|
125
130
|
clearTimeout(timer);
|
|
126
131
|
}, 100);
|
|
127
|
-
|
|
128
|
-
})();
|
|
132
|
+
})();
|
|
@@ -9,7 +9,7 @@ var jumpToCode = (function init() {
|
|
|
9
9
|
// We don't want to select elements that are direct descendants of another match
|
|
10
10
|
var notSelector = ':not(' + missingCoverageClasses.join('):not(') + ') > '; // becomes `:not(a):not(b) > `
|
|
11
11
|
|
|
12
|
-
//
|
|
12
|
+
// Selector that finds elements on the page to which we can jump
|
|
13
13
|
var selector =
|
|
14
14
|
fileListingElements.join(', ') +
|
|
15
15
|
', ' +
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
102
102
|
Code coverage generated by
|
|
103
103
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
104
|
-
at
|
|
104
|
+
at 2025-12-12T15:10:50.578Z
|
|
105
105
|
</div>
|
|
106
106
|
<script src="prettify.js"></script>
|
|
107
107
|
<script>
|
|
@@ -223,7 +223,7 @@ export default function copyTextToClipboard(text, cb) {
|
|
|
223
223
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
224
224
|
Code coverage generated by
|
|
225
225
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
226
|
-
at
|
|
226
|
+
at 2025-12-12T15:10:50.578Z
|
|
227
227
|
</div>
|
|
228
228
|
<script src="prettify.js"></script>
|
|
229
229
|
<script>
|
|
@@ -27,17 +27,31 @@ var addSorting = (function() {
|
|
|
27
27
|
function onFilterInput() {
|
|
28
28
|
const searchValue = document.getElementById('fileSearch').value;
|
|
29
29
|
const rows = document.getElementsByTagName('tbody')[0].children;
|
|
30
|
+
|
|
31
|
+
// Try to create a RegExp from the searchValue. If it fails (invalid regex),
|
|
32
|
+
// it will be treated as a plain text search
|
|
33
|
+
let searchRegex;
|
|
34
|
+
try {
|
|
35
|
+
searchRegex = new RegExp(searchValue, 'i'); // 'i' for case-insensitive
|
|
36
|
+
} catch (error) {
|
|
37
|
+
searchRegex = null;
|
|
38
|
+
}
|
|
39
|
+
|
|
30
40
|
for (let i = 0; i < rows.length; i++) {
|
|
31
41
|
const row = rows[i];
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
row.style.display = '';
|
|
42
|
+
let isMatch = false;
|
|
43
|
+
|
|
44
|
+
if (searchRegex) {
|
|
45
|
+
// If a valid regex was created, use it for matching
|
|
46
|
+
isMatch = searchRegex.test(row.textContent);
|
|
38
47
|
} else {
|
|
39
|
-
|
|
48
|
+
// Otherwise, fall back to the original plain text search
|
|
49
|
+
isMatch = row.textContent
|
|
50
|
+
.toLowerCase()
|
|
51
|
+
.includes(searchValue.toLowerCase());
|
|
40
52
|
}
|
|
53
|
+
|
|
54
|
+
row.style.display = isMatch ? '' : 'none';
|
|
41
55
|
}
|
|
42
56
|
}
|
|
43
57
|
|