@redocly/replay 0.20.0-next.4 → 0.20.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/{replay-index-BJ_p67iw.js → replay-index-484u4S9t.js} +1 -1
- package/dist/{replay-index-BSsZKK0_.js → replay-index-C9mBzCPB.js} +47497 -47368
- package/dist/{replay-index-DwFsTs5R.js → replay-index-CUhN6k9v.js} +1 -1
- package/dist/{replay-index-CSeQ670v.js → replay-index-D9DnzDDB.js} +915 -885
- package/dist/{replay-index-7vtyjMP_.js → replay-index-DtGNbnlz.js} +1 -1
- package/dist/replay-index-SH6n92re.js +1 -0
- package/dist/{replay-index-D5WsuXyl.js → replay-index-UnDH2Zdh.js} +1 -1
- package/dist/{replay-index-tgdv-amD.js → replay-index-x-RoN-9E.js} +6 -6
- package/dist/{replay-tauri-path-D6aHMvNK.js → replay-tauri-path-Bgr_2LWK.js} +2 -2
- package/dist/{replay-tauri-path-DAj_5f9i.js → replay-tauri-path-DLRG5izi.js} +1 -1
- package/dist/replay.cjs +1 -1
- package/dist/replay.js +1 -1
- package/package.json +3 -3
- package/dist/replay-index-BAzGnZvK.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./replay-index-D9DnzDDB.js");async function t(e,n){await i.invoke("plugin:opener|open_url",{url:e,with:n})}async function o(e,n){await i.invoke("plugin:opener|open_path",{path:e,with:n})}async function r(e){const n=typeof e=="string"?[e]:e;return i.invoke("plugin:opener|reveal_item_in_dir",{paths:n})}exports.openPath=o;exports.openUrl=t;exports.revealItemInDir=r;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./replay-index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./replay-index-D9DnzDDB.js");async function n(e={}){return typeof e=="object"&&Object.freeze(e),await t.invoke("plugin:dialog|open",{options:e})}exports.open=n;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { w as i } from "./replay-index-
|
|
2
|
-
async function
|
|
1
|
+
import { w as i } from "./replay-index-C9mBzCPB.js";
|
|
2
|
+
async function o(n, e) {
|
|
3
3
|
await i("plugin:opener|open_url", {
|
|
4
4
|
url: n,
|
|
5
5
|
with: e
|
|
6
6
|
});
|
|
7
7
|
}
|
|
8
|
-
async function
|
|
8
|
+
async function r(n, e) {
|
|
9
9
|
await i("plugin:opener|open_path", {
|
|
10
10
|
path: n,
|
|
11
11
|
with: e
|
|
12
12
|
});
|
|
13
13
|
}
|
|
14
14
|
async function p(n) {
|
|
15
|
-
return i("plugin:opener|reveal_item_in_dir", {
|
|
15
|
+
return i("plugin:opener|reveal_item_in_dir", { paths: typeof n == "string" ? [n] : n });
|
|
16
16
|
}
|
|
17
17
|
export {
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
r as openPath,
|
|
19
|
+
o as openUrl,
|
|
20
20
|
p as revealItemInDir
|
|
21
21
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as h, r as i, e as x } from "./replay-index-
|
|
2
|
-
import { d as j, i as b, j as d } from "./replay-index-
|
|
1
|
+
import { s as h, r as i, e as x } from "./replay-index-C9mBzCPB.js";
|
|
2
|
+
import { d as j, i as b, j as d } from "./replay-index-C9mBzCPB.js";
|
|
3
3
|
async function u(n, e) {
|
|
4
4
|
const t = h(), l = await i(n), c = await i(e), o = l.replace(new RegExp(`^${t}+`), "").split(t).filter(Boolean), r = c.replace(new RegExp(`^${t}+`), "").split(t).filter(Boolean), m = Math.min(o.length, r.length);
|
|
5
5
|
let s = 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./replay-index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./replay-index-D9DnzDDB.js");async function u(r,n){const t=e.sep(),l=await e.resolve(r),c=await e.resolve(n),a=l.replace(new RegExp(`^${t}+`),"").split(t).filter(Boolean),i=c.replace(new RegExp(`^${t}+`),"").split(t).filter(Boolean),m=Math.min(a.length,i.length);let s=0;for(let o=0;o<m&&a[o]===i[o];o++)s++;const p=a.slice(s).map(()=>".."),f=i.slice(s);return[...p,...f].join(t)}async function g(r){const n=await e.extname(r);return n?`.${n}`:""}exports.dirname=e.dirname;exports.isAbsolute=e.isAbsolute;exports.join=e.join;exports.resolve=e.resolve;exports.extname=g;exports.relative=u;
|
package/dist/replay.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./replay-index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./replay-index-D9DnzDDB.js"),t=require("./replay-oauth2-redirect-handler-Bqw5UUvl.js");exports.EmbeddedReplay=e.EmbeddedReplay;exports.Modal=e.Modal;exports.Replay=e.Replay;exports.ReplayOverlay=e.ReplayOverlay;Object.defineProperty(exports,"SpanStatusCode",{enumerable:!0,get:()=>e.SpanStatusCode});exports.TelemetryClient=e.TelemetryClient;exports.applyThemeToDOM=e.applyThemeToDOM;exports.getCurrentTheme=e.getCurrentTheme;exports.resolveTheme=e.resolveTheme;exports.useTelemetry=e.useTelemetry;exports.useTelemetryClient=e.useTelemetryClient;exports.OAuth2Error=t.OAuth2Error;exports.handleOAuth2Redirect=t.handleOAuth2Redirect;
|
package/dist/replay.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as s, M as r, R as t, x as l, S as m, T as o, z as y, B as p, y as T, C as d, D as h } from "./replay-index-
|
|
1
|
+
import { E as s, M as r, R as t, x as l, S as m, T as o, z as y, B as p, y as T, C as d, D as h } from "./replay-index-C9mBzCPB.js";
|
|
2
2
|
import { O as n, h as C } from "./replay-oauth2-redirect-handler-CqKZB3aV.js";
|
|
3
3
|
export {
|
|
4
4
|
s as EmbeddedReplay,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@redocly/replay",
|
|
3
|
-
"version": "0.20.0
|
|
3
|
+
"version": "0.20.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/replay.cjs",
|
|
6
6
|
"module": "./dist/replay.js",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"react-dom": "19.2.3",
|
|
20
20
|
"react-router-dom": "^6.21.1",
|
|
21
21
|
"styled-components": "^5.3.11",
|
|
22
|
-
"@redocly/theme": "0.61.0
|
|
22
|
+
"@redocly/theme": "0.61.0"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@codemirror/autocomplete": "^6.15.0",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"@tauri-apps/api": "2.4.1",
|
|
52
52
|
"@tauri-apps/plugin-dialog": "2.0.0-rc.1",
|
|
53
53
|
"@tauri-apps/plugin-fs": "2.0.0-rc.2",
|
|
54
|
-
"@tauri-apps/plugin-opener": "^2.2
|
|
54
|
+
"@tauri-apps/plugin-opener": "^2.5.2",
|
|
55
55
|
"@uiw/codemirror-theme-material": "^4.21.20",
|
|
56
56
|
"@uiw/react-codemirror": "^4.21.20",
|
|
57
57
|
"dayjs": "^1.11.7",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./replay-index-CSeQ670v.js");async function r(e,n){await i.invoke("plugin:opener|open_url",{url:e,with:n})}async function t(e,n){await i.invoke("plugin:opener|open_path",{path:e,with:n})}async function o(e){return i.invoke("plugin:opener|reveal_item_in_dir",{path:e})}exports.openPath=t;exports.openUrl=r;exports.revealItemInDir=o;
|