@bcc-code/vue-bcc-chat-ui 7.1.61 → 7.1.63
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/dist-DPzBZL6F.js +268 -0
- package/dist/dist-DPzBZL6F.js.map +1 -0
- package/dist/index.d.ts +7 -0
- package/dist/style.css +1 -1
- package/dist/vue-bcc-chat-ui.js +10034 -9857
- package/dist/vue-bcc-chat-ui.js.map +1 -1
- package/dist/web-H0Ce--Kf.js +18 -0
- package/dist/web-H0Ce--Kf.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { n as e } from "./dist-DPzBZL6F.js";
|
|
2
|
+
//#region node_modules/@capacitor/browser/dist/esm/web.js
|
|
3
|
+
var t = class extends e {
|
|
4
|
+
constructor() {
|
|
5
|
+
super(), this._lastWindow = null;
|
|
6
|
+
}
|
|
7
|
+
async open(e) {
|
|
8
|
+
this._lastWindow = window.open(e.url, e.windowName || "_blank");
|
|
9
|
+
}
|
|
10
|
+
async close() {
|
|
11
|
+
return new Promise((e, t) => {
|
|
12
|
+
this._lastWindow == null ? t("No active window to close!") : (this._lastWindow.close(), this._lastWindow = null, e());
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
new t();
|
|
17
|
+
//#endregion
|
|
18
|
+
export { t as BrowserWeb };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"web-H0Ce--Kf.js","names":[],"sources":["../node_modules/@capacitor/browser/dist/esm/web.js"],"sourcesContent":["import { WebPlugin } from '@capacitor/core';\nexport class BrowserWeb extends WebPlugin {\n constructor() {\n super();\n this._lastWindow = null;\n }\n async open(options) {\n this._lastWindow = window.open(options.url, options.windowName || '_blank');\n }\n async close() {\n return new Promise((resolve, reject) => {\n if (this._lastWindow != null) {\n this._lastWindow.close();\n this._lastWindow = null;\n resolve();\n }\n else {\n reject('No active window to close!');\n }\n });\n }\n}\nconst Browser = new BrowserWeb();\nexport { Browser };\n//# sourceMappingURL=web.js.map"],"x_google_ignoreList":[0],"mappings":";;AACA,IAAa,IAAb,cAAgC,EAAU;CACtC,cAAc;EAEV,AADA,MAAM,GACN,KAAK,cAAc;CACvB;CACA,MAAM,KAAK,GAAS;EAChB,KAAK,cAAc,OAAO,KAAK,EAAQ,KAAK,EAAQ,cAAc,QAAQ;CAC9E;CACA,MAAM,QAAQ;EACV,OAAO,IAAI,SAAS,GAAS,MAAW;GACpC,AAAI,KAAK,eAAe,OAMpB,EAAO,4BAA4B,KALnC,KAAK,YAAY,MAAM,GACvB,KAAK,cAAc,MACnB,EAAQ;EAKhB,CAAC;CACL;AACJ;AACgB,IAAI,EAAW"}
|