@polyipseity/obsidian-plugin-library 1.21.0 → 1.22.0
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/dist/esbuild-compress/index.js +129 -1
- package/dist/esbuild-compress/index.js.map +2 -2
- package/dist/index.js +5172 -6
- package/dist/index.js.map +3 -3
- package/dist/inject/index.js +16 -1
- package/dist/inject/index.js.map +2 -2
- package/dist/style.css +17 -1
- package/dist/style.css.map +1 -1
- package/package.json +1 -1
package/dist/inject/index.js
CHANGED
|
@@ -1,4 +1,19 @@
|
|
|
1
1
|
// repository: https://github.com/polyipseity/obsidian-plugin-library
|
|
2
|
-
|
|
2
|
+
|
|
3
|
+
// sources/inject/index.ts
|
|
4
|
+
function requestAnimationFrame(...args) {
|
|
5
|
+
return self.activeWindow.requestAnimationFrame(...args);
|
|
6
|
+
}
|
|
7
|
+
function setInterval(...args) {
|
|
8
|
+
return self.activeWindow.setInterval(...args);
|
|
9
|
+
}
|
|
10
|
+
function setTimeout(...args) {
|
|
11
|
+
return self.activeWindow.setTimeout(...args);
|
|
12
|
+
}
|
|
13
|
+
export {
|
|
14
|
+
requestAnimationFrame,
|
|
15
|
+
setInterval,
|
|
16
|
+
setTimeout
|
|
17
|
+
};
|
|
3
18
|
// repository: https://github.com/polyipseity/obsidian-plugin-library
|
|
4
19
|
//# sourceMappingURL=index.js.map
|
package/dist/inject/index.js.map
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../sources/inject/index.ts"],
|
|
4
4
|
"sourcesContent": ["import type { } from \"obsidian\"\r\n\r\nexport function requestAnimationFrame(\r\n\t...args: Parameters<AnimationFrameProvider[\"requestAnimationFrame\"]>\r\n): ReturnType<AnimationFrameProvider[\"requestAnimationFrame\"]> {\r\n\treturn self.activeWindow.requestAnimationFrame(...args)\r\n}\r\n\r\nexport function setInterval(\r\n\t...args: Parameters<WindowOrWorkerGlobalScope[\"setInterval\"]>\r\n): ReturnType<WindowOrWorkerGlobalScope[\"setInterval\"]> {\r\n\treturn self.activeWindow.setInterval(...args)\r\n}\r\n\r\nexport function setTimeout(\r\n\t...args: Parameters<WindowOrWorkerGlobalScope[\"setTimeout\"]>\r\n): ReturnType<WindowOrWorkerGlobalScope[\"setTimeout\"]> {\r\n\treturn self.activeWindow.setTimeout(...args)\r\n}\r\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": [
|
|
5
|
+
"mappings": ";;;AAEO,SAAS,yBACZ,MAC2D;AAC9D,SAAO,KAAK,aAAa,sBAAsB,GAAG,IAAI;AACvD;AAEO,SAAS,eACZ,MACoD;AACvD,SAAO,KAAK,aAAa,YAAY,GAAG,IAAI;AAC7C;AAEO,SAAS,cACZ,MACmD;AACtD,SAAO,KAAK,aAAa,WAAW,GAAG,IAAI;AAC5C;",
|
|
6
|
+
"names": []
|
|
7
7
|
}
|
package/dist/style.css
CHANGED
|
@@ -1,2 +1,18 @@
|
|
|
1
|
-
.
|
|
1
|
+
/* sources/icons.css */
|
|
2
|
+
.obsidian-plugin-library\:icon {
|
|
3
|
+
fill: none;
|
|
4
|
+
stroke: currentColor;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
/* sources/obsidian.css */
|
|
8
|
+
.obsidian-plugin-library\:await-css {
|
|
9
|
+
display: unset !important;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/* sources/status-bar.css */
|
|
13
|
+
.obsidian-plugin-library\:hide-status-bar {
|
|
14
|
+
display: none;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/* sources/style.css */
|
|
2
18
|
/*# sourceMappingURL=style.css.map */
|
package/dist/style.css.map
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../sources/icons.css", "../sources/obsidian.css", "../sources/status-bar.css"],
|
|
4
4
|
"sourcesContent": [".obsidian-plugin-library\\:icon {\r\n\tfill: none;\r\n\tstroke: currentColor;\r\n}", ".obsidian-plugin-library\\:await-css {\r\n\tdisplay: unset !important;\r\n}", ".obsidian-plugin-library\\:hide-status-bar {\r\n\tdisplay: none;\r\n}"],
|
|
5
|
-
"mappings": "AAAA,CAAC,
|
|
5
|
+
"mappings": ";AAAA,CAAC;AACA,QAAM;AACN,UAAQ;AACT;;;ACHA,CAAC;AACA,WAAS;AACV;;;ACFA,CAAC;AACA,WAAS;AACV;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|