@multiplatform.one/desktop 9.16.1 → 10.0.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.
Files changed (73) hide show
  1. package/dist/cjs/dialog/index.cjs +37 -41
  2. package/dist/cjs/dialog/index.native.cjs +59 -0
  3. package/dist/cjs/dialog/index.native.js +38 -41
  4. package/dist/cjs/dialog/index.native.js.map +1 -1
  5. package/dist/cjs/dialog/index.tauri.cjs +58 -62
  6. package/dist/cjs/dialog/index.tauri.native.cjs +72 -0
  7. package/dist/cjs/dialog/index.tauri.native.js +58 -61
  8. package/dist/cjs/dialog/index.tauri.native.js.map +1 -1
  9. package/dist/cjs/fs/index.cjs +35 -39
  10. package/dist/cjs/fs/index.native.cjs +48 -0
  11. package/dist/cjs/fs/index.native.js +35 -38
  12. package/dist/cjs/fs/index.native.js.map +1 -1
  13. package/dist/cjs/fs/index.tauri.cjs +35 -39
  14. package/dist/cjs/fs/index.tauri.native.cjs +49 -0
  15. package/dist/cjs/fs/index.tauri.native.js +35 -38
  16. package/dist/cjs/fs/index.tauri.native.js.map +1 -1
  17. package/dist/cjs/index.cjs +9 -11
  18. package/dist/cjs/index.native.cjs +23 -0
  19. package/dist/cjs/index.native.js +9 -10
  20. package/dist/cjs/index.native.js.map +1 -1
  21. package/dist/cjs/paths/index.cjs +31 -35
  22. package/dist/cjs/paths/index.native.cjs +50 -0
  23. package/dist/cjs/paths/index.native.js +37 -40
  24. package/dist/cjs/paths/index.native.js.map +1 -1
  25. package/dist/cjs/paths/index.tauri.cjs +29 -41
  26. package/dist/cjs/paths/index.tauri.native.cjs +49 -0
  27. package/dist/cjs/paths/index.tauri.native.js +35 -46
  28. package/dist/cjs/paths/index.tauri.native.js.map +1 -1
  29. package/dist/cjs/updater/index.cjs +23 -27
  30. package/dist/cjs/updater/index.native.cjs +36 -0
  31. package/dist/cjs/updater/index.native.js +23 -26
  32. package/dist/cjs/updater/index.native.js.map +1 -1
  33. package/dist/cjs/updater/index.tauri.cjs +74 -87
  34. package/dist/cjs/updater/index.tauri.native.cjs +95 -0
  35. package/dist/cjs/updater/index.tauri.native.js +76 -88
  36. package/dist/cjs/updater/index.tauri.native.js.map +1 -1
  37. package/dist/esm/dialog/index.mjs +24 -23
  38. package/dist/esm/dialog/index.mjs.map +1 -1
  39. package/dist/esm/dialog/index.native.js +25 -24
  40. package/dist/esm/dialog/index.native.js.map +1 -1
  41. package/dist/esm/dialog/index.tauri.mjs +47 -45
  42. package/dist/esm/dialog/index.tauri.mjs.map +1 -1
  43. package/dist/esm/dialog/index.tauri.native.js +47 -45
  44. package/dist/esm/dialog/index.tauri.native.js.map +1 -1
  45. package/dist/esm/fs/index.mjs +22 -21
  46. package/dist/esm/fs/index.mjs.map +1 -1
  47. package/dist/esm/fs/index.native.js +22 -21
  48. package/dist/esm/fs/index.native.js.map +1 -1
  49. package/dist/esm/fs/index.tauri.mjs +24 -22
  50. package/dist/esm/fs/index.tauri.mjs.map +1 -1
  51. package/dist/esm/fs/index.tauri.native.js +24 -22
  52. package/dist/esm/fs/index.tauri.native.js.map +1 -1
  53. package/dist/esm/index.mjs +7 -5
  54. package/dist/esm/index.native.js +7 -5
  55. package/dist/esm/paths/index.mjs +18 -17
  56. package/dist/esm/paths/index.mjs.map +1 -1
  57. package/dist/esm/paths/index.native.js +24 -23
  58. package/dist/esm/paths/index.native.js.map +1 -1
  59. package/dist/esm/paths/index.tauri.mjs +17 -23
  60. package/dist/esm/paths/index.tauri.mjs.map +1 -1
  61. package/dist/esm/paths/index.tauri.native.js +23 -29
  62. package/dist/esm/paths/index.tauri.native.js.map +1 -1
  63. package/dist/esm/updater/index.mjs +10 -9
  64. package/dist/esm/updater/index.mjs.map +1 -1
  65. package/dist/esm/updater/index.native.js +10 -9
  66. package/dist/esm/updater/index.native.js.map +1 -1
  67. package/dist/esm/updater/index.tauri.mjs +58 -61
  68. package/dist/esm/updater/index.tauri.mjs.map +1 -1
  69. package/dist/esm/updater/index.tauri.native.js +60 -63
  70. package/dist/esm/updater/index.tauri.native.js.map +1 -1
  71. package/package.json +2 -2
  72. package/dist/esm/index.mjs.map +0 -1
  73. package/dist/esm/index.native.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","index_tauri_exports","__export","dialog","module","exports","import_plugin_dialog","require","open","options","result","title","defaultPath","filters","multiple","directory","save","message","kind","okLabel","ask","cancelLabel","confirm","prompt","_message","_defaultValue"],"sources":["../../../src/dialog/index.tauri.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,mBAAA;AAAAC,QAAA,CAAAD,mBAAA;EAAAE,MAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAT,YAMO,CAAAK,mBAAA;AASA,IAAAK,oBAA0B,GAAAC,OAAA;AAAA,IAC/BJ,MAAM,GAAK;EACT,MAAAK,IAAMA,CAAAC,OAAS;IAAgB,IAC7BC,MAAO,SAAS,IAAAJ,oBAAA,CAAAE,IAAA;MAChBG,KAAA,EAAAF,OAAa,SAAS,IAAAA,OAAA,uBAAAA,OAAA,CAAAE,KAAA;MACtBC,WAAS,EAAAH,OAAS,aAAAA,OAAA,uBAAAA,OAAA,CAAAG,WAAA;MAClBC,OAAA,EAAAJ,OAAU,KAAS,QAAAA,OAAA,uBAAAA,OAAA,CAAAI,OAAA;MACnBC,QAAA,EAAAL,OAAW,KAAS,QAAAA,OAAA,uBAAAA,OAAA,CAAAK,QAAA;MACrBC,SAAA,EAAAN,OAAA,aAAAA,OAAA,uBAAAA,OAAA,CAAAM;IACD;IACF,OAAAL,MAAA;EACA;EACE,MAAAM,IAAMA,CAAAP,OAAS;IAAgB,IAC7BC,MAAO,SAAS,IAAAJ,oBAAA,CAAAU,IAAA;MAChBL,KAAA,EAAAF,OAAa,SAAS,IAAAA,OAAA,uBAAAA,OAAA,CAAAE,KAAA;MACtBC,WAAS,EAAAH,OAAS,aAAAA,OAAA,uBAAAA,OAAA,CAAAG,WAAA;MACnBC,OAAA,EAAAJ,OAAA,aAAAA,OAAA,uBAAAA,OAAA,CAAAI;IACD;IACF,OAAAH,MAAA;EACA;EACE,MAAAO,OAAMA,QAAA,EAAAR,OAAA;IAAsB,MAC1B,IAAOH,oBAAS,CAAAW,OAAA,EAAAA,OAAA;MAChBN,KAAA,EAAMF,OAAA,KAAS,QAAAA,OAAA,uBAAAA,OAAA,CAAAE,KAAA;MACfO,IAAA,EAAAT,OAAS,KAAS,QAAAA,OAAA,uBAAAA,OAAA,CAAAS,IAAA;MACnBC,OAAA,EAAAV,OAAA,aAAAA,OAAA,uBAAAA,OAAA,CAAAU;IACH;EACA;EACE,MAAAC,IAAAH,OAAO,EAAAR,OAAA;IAAkB,OACvB,EAAO,EAAAH,oBAAS,CAAAc,GAAA,EAAAH,OAAA;MAChBN,KAAA,EAAMF,OAAA,KAAS,QAAAA,OAAA,uBAAAA,OAAA,CAAAE,KAAA;MACfO,IAAA,EAAAT,OAAS,KAAS,QAAAA,OAAA,uBAAAA,OAAA,CAAAS,IAAA;MAClBC,OAAA,EAAAV,OAAa,SAAS,IAAAA,OAAA,uBAAAA,OAAA,CAAAU,OAAA;MACvBE,WAAA,EAAAZ,OAAA,aAAAA,OAAA,uBAAAA,OAAA,CAAAY;IACH;EACA;EACE,MAAAC,OAAOA,CAAAL,OAAA,EAAAR,OAAA;IAAsB,OAC3B,EAAO,EAAAH,oBAAS,CAAAgB,OAAA,EAAAL,OAAA;MAChBN,KAAA,EAAMF,OAAA,KAAS,QAAAA,OAAA,uBAAAA,OAAA,CAAAE,KAAA;MACfO,IAAA,EAAAT,OAAS,KAAS,QAAAA,OAAA,uBAAAA,OAAA,CAAAS,IAAA;MAClBC,OAAA,EAAAV,OAAa,SAAS,IAAAA,OAAA,uBAAAA,OAAA,CAAAU,OAAA;MACvBE,WAAA,EAAAZ,OAAA,aAAAA,OAAA,uBAAAA,OAAA,CAAAY;IACH;EACA;EACE,MAAAE,MAAOA,CAAAC,QAAA,EAAAC,aAAA;IACT;EACF","ignoreList":[]}
1
+ {"version":3,"file":"index.tauri.native.js","names":[],"sources":["cjs/dialog/index.tauri.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar index_tauri_exports = {};\n__export(index_tauri_exports, {\n dialog: () => dialog\n});\nmodule.exports = __toCommonJS(index_tauri_exports);\nvar import_plugin_dialog = require(\"@tauri-apps/plugin-dialog\");\nvar dialog = {\n async open(options) {\n var result = await (0, import_plugin_dialog.open)({\n title: options === null || options === void 0 ? void 0 : options.title,\n defaultPath: options === null || options === void 0 ? void 0 : options.defaultPath,\n filters: options === null || options === void 0 ? void 0 : options.filters,\n multiple: options === null || options === void 0 ? void 0 : options.multiple,\n directory: options === null || options === void 0 ? void 0 : options.directory\n });\n return result;\n },\n async save(options) {\n var result = await (0, import_plugin_dialog.save)({\n title: options === null || options === void 0 ? void 0 : options.title,\n defaultPath: options === null || options === void 0 ? void 0 : options.defaultPath,\n filters: options === null || options === void 0 ? void 0 : options.filters\n });\n return result;\n },\n async message(message, options) {\n await (0, import_plugin_dialog.message)(message, {\n title: options === null || options === void 0 ? void 0 : options.title,\n kind: options === null || options === void 0 ? void 0 : options.kind,\n okLabel: options === null || options === void 0 ? void 0 : options.okLabel\n });\n },\n async ask(message, options) {\n return (0, import_plugin_dialog.ask)(message, {\n title: options === null || options === void 0 ? void 0 : options.title,\n kind: options === null || options === void 0 ? void 0 : options.kind,\n okLabel: options === null || options === void 0 ? void 0 : options.okLabel,\n cancelLabel: options === null || options === void 0 ? void 0 : options.cancelLabel\n });\n },\n async confirm(message, options) {\n return (0, import_plugin_dialog.confirm)(message, {\n title: options === null || options === void 0 ? void 0 : options.title,\n kind: options === null || options === void 0 ? void 0 : options.kind,\n okLabel: options === null || options === void 0 ? void 0 : options.okLabel,\n cancelLabel: options === null || options === void 0 ? void 0 : options.cancelLabel\n });\n },\n async prompt(_message, _defaultValue) {\n return null;\n }\n};\n//# sourceMappingURL=index.tauri.js.map\n"],"mappings":"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"}
@@ -3,48 +3,44 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
4
4
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
5
  var __export = (target, all) => {
6
- for (var name in all) __defProp(target, name, {
7
- get: all[name],
8
- enumerable: true
9
- });
6
+ for (var name in all) __defProp(target, name, {
7
+ get: all[name],
8
+ enumerable: true
9
+ });
10
10
  };
11
11
  var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
14
- get: () => from[key],
15
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
16
- });
17
- }
18
- return to;
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
14
+ get: () => from[key],
15
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
16
+ });
17
+ }
18
+ return to;
19
19
  };
20
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
21
- value: true
22
- }), mod);
20
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
23
21
  var fs_exports = {};
24
- __export(fs_exports, {
25
- fs: () => fs
26
- });
22
+ __export(fs_exports, { fs: () => fs });
27
23
  module.exports = __toCommonJS(fs_exports);
28
24
  const fs = {
29
- async readTextFile(_path) {
30
- throw new Error("File system not available in browser");
31
- },
32
- async writeTextFile(_path, _contents) {
33
- throw new Error("File system not available in browser");
34
- },
35
- async exists(_path) {
36
- throw new Error("File system not available in browser");
37
- },
38
- async mkdir(_path, _options) {
39
- throw new Error("File system not available in browser");
40
- },
41
- async remove(_path, _options) {
42
- throw new Error("File system not available in browser");
43
- },
44
- async rename(_oldPath, _newPath) {
45
- throw new Error("File system not available in browser");
46
- },
47
- async copyFile(_src, _dst) {
48
- throw new Error("File system not available in browser");
49
- }
50
- };
25
+ async readTextFile(_path) {
26
+ throw new Error("File system not available in browser");
27
+ },
28
+ async writeTextFile(_path, _contents) {
29
+ throw new Error("File system not available in browser");
30
+ },
31
+ async exists(_path) {
32
+ throw new Error("File system not available in browser");
33
+ },
34
+ async mkdir(_path, _options) {
35
+ throw new Error("File system not available in browser");
36
+ },
37
+ async remove(_path, _options) {
38
+ throw new Error("File system not available in browser");
39
+ },
40
+ async rename(_oldPath, _newPath) {
41
+ throw new Error("File system not available in browser");
42
+ },
43
+ async copyFile(_src, _dst) {
44
+ throw new Error("File system not available in browser");
45
+ }
46
+ };
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all) __defProp(target, name, {
9
+ get: all[name],
10
+ enumerable: true
11
+ });
12
+ };
13
+ var __copyProps = (to, from, except, desc) => {
14
+ if (from && typeof from === "object" || typeof from === "function") {
15
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
16
+ get: () => from[key],
17
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
18
+ });
19
+ }
20
+ return to;
21
+ };
22
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
23
+ var fs_exports = {};
24
+ __export(fs_exports, { fs: () => fs });
25
+ module.exports = __toCommonJS(fs_exports);
26
+ var fs = {
27
+ async readTextFile(_path) {
28
+ throw new Error("File system not available in browser");
29
+ },
30
+ async writeTextFile(_path, _contents) {
31
+ throw new Error("File system not available in browser");
32
+ },
33
+ async exists(_path) {
34
+ throw new Error("File system not available in browser");
35
+ },
36
+ async mkdir(_path, _options) {
37
+ throw new Error("File system not available in browser");
38
+ },
39
+ async remove(_path, _options) {
40
+ throw new Error("File system not available in browser");
41
+ },
42
+ async rename(_oldPath, _newPath) {
43
+ throw new Error("File system not available in browser");
44
+ },
45
+ async copyFile(_src, _dst) {
46
+ throw new Error("File system not available in browser");
47
+ }
48
+ };
@@ -5,49 +5,46 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
7
  var __export = (target, all) => {
8
- for (var name in all) __defProp(target, name, {
9
- get: all[name],
10
- enumerable: true
11
- });
8
+ for (var name in all) __defProp(target, name, {
9
+ get: all[name],
10
+ enumerable: true
11
+ });
12
12
  };
13
13
  var __copyProps = (to, from, except, desc) => {
14
- if (from && typeof from === "object" || typeof from === "function") {
15
- for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
16
- get: () => from[key],
17
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
18
- });
19
- }
20
- return to;
14
+ if (from && typeof from === "object" || typeof from === "function") {
15
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
16
+ get: () => from[key],
17
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
18
+ });
19
+ }
20
+ return to;
21
21
  };
22
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
23
- value: true
24
- }), mod);
22
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
25
23
  var fs_exports = {};
26
- __export(fs_exports, {
27
- fs: () => fs
28
- });
24
+ __export(fs_exports, { fs: () => fs });
29
25
  module.exports = __toCommonJS(fs_exports);
30
26
  var fs = {
31
- async readTextFile(_path) {
32
- throw new Error("File system not available in browser");
33
- },
34
- async writeTextFile(_path, _contents) {
35
- throw new Error("File system not available in browser");
36
- },
37
- async exists(_path) {
38
- throw new Error("File system not available in browser");
39
- },
40
- async mkdir(_path, _options) {
41
- throw new Error("File system not available in browser");
42
- },
43
- async remove(_path, _options) {
44
- throw new Error("File system not available in browser");
45
- },
46
- async rename(_oldPath, _newPath) {
47
- throw new Error("File system not available in browser");
48
- },
49
- async copyFile(_src, _dst) {
50
- throw new Error("File system not available in browser");
51
- }
27
+ async readTextFile(_path) {
28
+ throw new Error("File system not available in browser");
29
+ },
30
+ async writeTextFile(_path, _contents) {
31
+ throw new Error("File system not available in browser");
32
+ },
33
+ async exists(_path) {
34
+ throw new Error("File system not available in browser");
35
+ },
36
+ async mkdir(_path, _options) {
37
+ throw new Error("File system not available in browser");
38
+ },
39
+ async remove(_path, _options) {
40
+ throw new Error("File system not available in browser");
41
+ },
42
+ async rename(_oldPath, _newPath) {
43
+ throw new Error("File system not available in browser");
44
+ },
45
+ async copyFile(_src, _dst) {
46
+ throw new Error("File system not available in browser");
47
+ }
52
48
  };
49
+
53
50
  //# sourceMappingURL=index.native.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","fs_exports","__export","fs","module","exports","readTextFile","_path","Error","writeTextFile","_contents","exists","mkdir","_options","remove","rename","_oldPath","_newPath","copyFile","_src","_dst"],"sources":["../../../src/fs/index.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,UAAA;AAAAC,QAAA,CAAAD,UAAA;EAAAE,EAAA,EAAAA,CAAA,KAAAA;AAAA;AAWOC,MAAM,CAAAC,OAAY,GAAAT,YAAA,CAAAK,UAAA;AAAA,IACvBE,EAAA,GAAM;EACJ,MAAAG,YAAgBA,CAAAC,KAAA;IAClB,UAAAC,KAAA;EACA;EACE,MAAAC,aAAgBA,CAAAF,KAAA,EAAAG,SAAA;IAClB,UAAAF,KAAA;EACA;EACE,MAAAG,MAAUA,CAAAJ,KAAM;IAClB,UAAAC,KAAA;EACA;EACE,MAAAI,KAAMA,CAAIL,KAAA,EAAMM,QAAA;IAClB,UAAAL,KAAA;EACA;EACE,MAAAM,MAAUA,CAAAP,KAAM,EAAAM,QAAA;IAClB,UAAAL,KAAA;EACA;EACE,MAAAO,MAAUA,CAAAC,QAAM,EAAAC,QAAA;IAClB,UAAAT,KAAA;EACA;EACE,MAAAU,QAAUA,CAAAC,IAAM,EAAAC,IAAA;IAClB,UAAAZ,KAAA;EACF","ignoreList":[]}
1
+ {"version":3,"file":"index.native.js","names":[],"sources":["cjs/fs/index.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar fs_exports = {};\n__export(fs_exports, {\n fs: () => fs\n});\nmodule.exports = __toCommonJS(fs_exports);\nvar fs = {\n async readTextFile(_path) {\n throw new Error(\"File system not available in browser\");\n },\n async writeTextFile(_path, _contents) {\n throw new Error(\"File system not available in browser\");\n },\n async exists(_path) {\n throw new Error(\"File system not available in browser\");\n },\n async mkdir(_path, _options) {\n throw new Error(\"File system not available in browser\");\n },\n async remove(_path, _options) {\n throw new Error(\"File system not available in browser\");\n },\n async rename(_oldPath, _newPath) {\n throw new Error(\"File system not available in browser\");\n },\n async copyFile(_src, _dst) {\n throw new Error(\"File system not available in browser\");\n }\n};\n//# sourceMappingURL=index.js.map\n"],"mappings":";;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAAK,IAAI;EAAO,YAAY;CAAK,CAAC;AAChE;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,aAAa,CAAC;AAClB,SAAS,YAAY,EACnB,UAAU,GACZ,CAAC;AACD,OAAO,UAAU,aAAa,UAAU;AACxC,IAAI,KAAK;CACP,MAAM,aAAa,OAAO;EACxB,MAAM,IAAI,MAAM,sCAAsC;CACxD;CACA,MAAM,cAAc,OAAO,WAAW;EACpC,MAAM,IAAI,MAAM,sCAAsC;CACxD;CACA,MAAM,OAAO,OAAO;EAClB,MAAM,IAAI,MAAM,sCAAsC;CACxD;CACA,MAAM,MAAM,OAAO,UAAU;EAC3B,MAAM,IAAI,MAAM,sCAAsC;CACxD;CACA,MAAM,OAAO,OAAO,UAAU;EAC5B,MAAM,IAAI,MAAM,sCAAsC;CACxD;CACA,MAAM,OAAO,UAAU,UAAU;EAC/B,MAAM,IAAI,MAAM,sCAAsC;CACxD;CACA,MAAM,SAAS,MAAM,MAAM;EACzB,MAAM,IAAI,MAAM,sCAAsC;CACxD;AACF"}
@@ -3,49 +3,45 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
4
4
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
5
  var __export = (target, all) => {
6
- for (var name in all) __defProp(target, name, {
7
- get: all[name],
8
- enumerable: true
9
- });
6
+ for (var name in all) __defProp(target, name, {
7
+ get: all[name],
8
+ enumerable: true
9
+ });
10
10
  };
11
11
  var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
14
- get: () => from[key],
15
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
16
- });
17
- }
18
- return to;
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
14
+ get: () => from[key],
15
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
16
+ });
17
+ }
18
+ return to;
19
19
  };
20
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
21
- value: true
22
- }), mod);
20
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
23
21
  var index_tauri_exports = {};
24
- __export(index_tauri_exports, {
25
- fs: () => fs
26
- });
22
+ __export(index_tauri_exports, { fs: () => fs });
27
23
  module.exports = __toCommonJS(index_tauri_exports);
28
24
  var import_plugin_fs = require("@tauri-apps/plugin-fs");
29
25
  const fs = {
30
- async readTextFile(path) {
31
- return (0, import_plugin_fs.readTextFile)(path);
32
- },
33
- async writeTextFile(path, contents) {
34
- await (0, import_plugin_fs.writeTextFile)(path, contents);
35
- },
36
- async exists(path) {
37
- return (0, import_plugin_fs.exists)(path);
38
- },
39
- async mkdir(path, options) {
40
- await (0, import_plugin_fs.mkdir)(path, options);
41
- },
42
- async remove(path, options) {
43
- await (0, import_plugin_fs.remove)(path, options);
44
- },
45
- async rename(oldPath, newPath) {
46
- await (0, import_plugin_fs.rename)(oldPath, newPath);
47
- },
48
- async copyFile(src, dst) {
49
- await (0, import_plugin_fs.copyFile)(src, dst);
50
- }
51
- };
26
+ async readTextFile(path) {
27
+ return (0, import_plugin_fs.readTextFile)(path);
28
+ },
29
+ async writeTextFile(path, contents) {
30
+ await (0, import_plugin_fs.writeTextFile)(path, contents);
31
+ },
32
+ async exists(path) {
33
+ return (0, import_plugin_fs.exists)(path);
34
+ },
35
+ async mkdir(path, options) {
36
+ await (0, import_plugin_fs.mkdir)(path, options);
37
+ },
38
+ async remove(path, options) {
39
+ await (0, import_plugin_fs.remove)(path, options);
40
+ },
41
+ async rename(oldPath, newPath) {
42
+ await (0, import_plugin_fs.rename)(oldPath, newPath);
43
+ },
44
+ async copyFile(src, dst) {
45
+ await (0, import_plugin_fs.copyFile)(src, dst);
46
+ }
47
+ };
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all) __defProp(target, name, {
9
+ get: all[name],
10
+ enumerable: true
11
+ });
12
+ };
13
+ var __copyProps = (to, from, except, desc) => {
14
+ if (from && typeof from === "object" || typeof from === "function") {
15
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
16
+ get: () => from[key],
17
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
18
+ });
19
+ }
20
+ return to;
21
+ };
22
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
23
+ var index_tauri_exports = {};
24
+ __export(index_tauri_exports, { fs: () => fs });
25
+ module.exports = __toCommonJS(index_tauri_exports);
26
+ var import_plugin_fs = require("@tauri-apps/plugin-fs");
27
+ var fs = {
28
+ async readTextFile(path) {
29
+ return (0, import_plugin_fs.readTextFile)(path);
30
+ },
31
+ async writeTextFile(path, contents) {
32
+ await (0, import_plugin_fs.writeTextFile)(path, contents);
33
+ },
34
+ async exists(path) {
35
+ return (0, import_plugin_fs.exists)(path);
36
+ },
37
+ async mkdir(path, options) {
38
+ await (0, import_plugin_fs.mkdir)(path, options);
39
+ },
40
+ async remove(path, options) {
41
+ await (0, import_plugin_fs.remove)(path, options);
42
+ },
43
+ async rename(oldPath, newPath) {
44
+ await (0, import_plugin_fs.rename)(oldPath, newPath);
45
+ },
46
+ async copyFile(src, dst) {
47
+ await (0, import_plugin_fs.copyFile)(src, dst);
48
+ }
49
+ };
@@ -5,50 +5,47 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
7
  var __export = (target, all) => {
8
- for (var name in all) __defProp(target, name, {
9
- get: all[name],
10
- enumerable: true
11
- });
8
+ for (var name in all) __defProp(target, name, {
9
+ get: all[name],
10
+ enumerable: true
11
+ });
12
12
  };
13
13
  var __copyProps = (to, from, except, desc) => {
14
- if (from && typeof from === "object" || typeof from === "function") {
15
- for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
16
- get: () => from[key],
17
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
18
- });
19
- }
20
- return to;
14
+ if (from && typeof from === "object" || typeof from === "function") {
15
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
16
+ get: () => from[key],
17
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
18
+ });
19
+ }
20
+ return to;
21
21
  };
22
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
23
- value: true
24
- }), mod);
22
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
25
23
  var index_tauri_exports = {};
26
- __export(index_tauri_exports, {
27
- fs: () => fs
28
- });
24
+ __export(index_tauri_exports, { fs: () => fs });
29
25
  module.exports = __toCommonJS(index_tauri_exports);
30
26
  var import_plugin_fs = require("@tauri-apps/plugin-fs");
31
27
  var fs = {
32
- async readTextFile(path) {
33
- return (0, import_plugin_fs.readTextFile)(path);
34
- },
35
- async writeTextFile(path, contents) {
36
- await (0, import_plugin_fs.writeTextFile)(path, contents);
37
- },
38
- async exists(path) {
39
- return (0, import_plugin_fs.exists)(path);
40
- },
41
- async mkdir(path, options) {
42
- await (0, import_plugin_fs.mkdir)(path, options);
43
- },
44
- async remove(path, options) {
45
- await (0, import_plugin_fs.remove)(path, options);
46
- },
47
- async rename(oldPath, newPath) {
48
- await (0, import_plugin_fs.rename)(oldPath, newPath);
49
- },
50
- async copyFile(src, dst) {
51
- await (0, import_plugin_fs.copyFile)(src, dst);
52
- }
28
+ async readTextFile(path) {
29
+ return (0, import_plugin_fs.readTextFile)(path);
30
+ },
31
+ async writeTextFile(path, contents) {
32
+ await (0, import_plugin_fs.writeTextFile)(path, contents);
33
+ },
34
+ async exists(path) {
35
+ return (0, import_plugin_fs.exists)(path);
36
+ },
37
+ async mkdir(path, options) {
38
+ await (0, import_plugin_fs.mkdir)(path, options);
39
+ },
40
+ async remove(path, options) {
41
+ await (0, import_plugin_fs.remove)(path, options);
42
+ },
43
+ async rename(oldPath, newPath) {
44
+ await (0, import_plugin_fs.rename)(oldPath, newPath);
45
+ },
46
+ async copyFile(src, dst) {
47
+ await (0, import_plugin_fs.copyFile)(src, dst);
48
+ }
53
49
  };
50
+
54
51
  //# sourceMappingURL=index.tauri.native.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","index_tauri_exports","__export","fs","module","exports","import_plugin_fs","require","readTextFile","path","writeTextFile","contents","exists","mkdir","options","remove","rename","oldPath","newPath","copyFile","src","dst"],"sources":["../../../src/fs/index.tauri.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,mBAAA;AAAAC,QAAA,CAAAD,mBAAA;EAAAE,EAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAT,YAQO,CAAAK,mBAAA;AAGA,IAAAK,gBAAkB,GAAAC,OAAA;AAAA,IACvBJ,EAAA,GAAM;EACJ,MAAAK,YAAOA,CAAAC,IAAA;IACT,WAAAH,gBAAA,CAAAE,YAAA,EAAAC,IAAA;EACA;EACE,MAAAC,aAAMA,CAAAD,IAAA,EAAAE,QAAA;IACR,UAAAL,gBAAA,CAAAI,aAAA,EAAAD,IAAA,EAAAE,QAAA;EACA;EACE,MAAAC,OAAOH,IAAA;IACT,WAAAH,gBAAA,CAAAM,MAAA,EAAAH,IAAA;EACA;EACE,MAAAI,MAAMJ,IAAA,EAAAK,OAAA;IACR,UAAAR,gBAAA,CAAAO,KAAA,EAAAJ,IAAA,EAAAK,OAAA;EACA;EACE,MAAAC,MAAMA,CAAAN,IAAA,EAAAK,OAAA;IACR,UAAAR,gBAAA,CAAAS,MAAA,EAAAN,IAAA,EAAAK,OAAA;EACA;EACE,MAAAE,MAAMA,CAAAC,OAAA,EAAAC,OAAA;IACR,UAAAZ,gBAAA,CAAAU,MAAA,EAAAC,OAAA,EAAAC,OAAA;EACA;EACE,MAAAC,QAAMA,CAAAC,GAAA,EAAAC,GAAA;IACR,UAAAf,gBAAA,CAAAa,QAAA,EAAAC,GAAA,EAAAC,GAAA;EACF","ignoreList":[]}
1
+ {"version":3,"file":"index.tauri.native.js","names":[],"sources":["cjs/fs/index.tauri.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar index_tauri_exports = {};\n__export(index_tauri_exports, {\n fs: () => fs\n});\nmodule.exports = __toCommonJS(index_tauri_exports);\nvar import_plugin_fs = require(\"@tauri-apps/plugin-fs\");\nvar fs = {\n async readTextFile(path) {\n return (0, import_plugin_fs.readTextFile)(path);\n },\n async writeTextFile(path, contents) {\n await (0, import_plugin_fs.writeTextFile)(path, contents);\n },\n async exists(path) {\n return (0, import_plugin_fs.exists)(path);\n },\n async mkdir(path, options) {\n await (0, import_plugin_fs.mkdir)(path, options);\n },\n async remove(path, options) {\n await (0, import_plugin_fs.remove)(path, options);\n },\n async rename(oldPath, newPath) {\n await (0, import_plugin_fs.rename)(oldPath, newPath);\n },\n async copyFile(src, dst) {\n await (0, import_plugin_fs.copyFile)(src, dst);\n }\n};\n//# sourceMappingURL=index.tauri.js.map\n"],"mappings":";;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAAK,IAAI;EAAO,YAAY;CAAK,CAAC;AAChE;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,sBAAsB,CAAC;AAC3B,SAAS,qBAAqB,EAC5B,UAAU,GACZ,CAAC;AACD,OAAO,UAAU,aAAa,mBAAmB;AACjD,IAAI,mBAAmB,QAAQ,uBAAuB;AACtD,IAAI,KAAK;CACP,MAAM,aAAa,MAAM;EACvB,QAAQ,GAAG,iBAAiB,aAAY,CAAE,IAAI;CAChD;CACA,MAAM,cAAc,MAAM,UAAU;EAClC,OAAO,GAAG,iBAAiB,cAAa,CAAE,MAAM,QAAQ;CAC1D;CACA,MAAM,OAAO,MAAM;EACjB,QAAQ,GAAG,iBAAiB,OAAM,CAAE,IAAI;CAC1C;CACA,MAAM,MAAM,MAAM,SAAS;EACzB,OAAO,GAAG,iBAAiB,MAAK,CAAE,MAAM,OAAO;CACjD;CACA,MAAM,OAAO,MAAM,SAAS;EAC1B,OAAO,GAAG,iBAAiB,OAAM,CAAE,MAAM,OAAO;CAClD;CACA,MAAM,OAAO,SAAS,SAAS;EAC7B,OAAO,GAAG,iBAAiB,OAAM,CAAE,SAAS,OAAO;CACrD;CACA,MAAM,SAAS,KAAK,KAAK;EACvB,OAAO,GAAG,iBAAiB,SAAQ,CAAE,KAAK,GAAG;CAC/C;AACF"}
@@ -3,21 +3,19 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
4
4
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
5
  var __copyProps = (to, from, except, desc) => {
6
- if (from && typeof from === "object" || typeof from === "function") {
7
- for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
8
- get: () => from[key],
9
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
10
- });
11
- }
12
- return to;
6
+ if (from && typeof from === "object" || typeof from === "function") {
7
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
8
+ get: () => from[key],
9
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
10
+ });
11
+ }
12
+ return to;
13
13
  };
14
14
  var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
16
- value: true
17
- }), mod);
15
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
16
  var index_exports = {};
19
17
  module.exports = __toCommonJS(index_exports);
20
18
  __reExport(index_exports, require("./dialog/index.cjs"), module.exports);
21
19
  __reExport(index_exports, require("./fs/index.cjs"), module.exports);
22
20
  __reExport(index_exports, require("./paths/index.cjs"), module.exports);
23
- __reExport(index_exports, require("./updater/index.cjs"), module.exports);
21
+ __reExport(index_exports, require("./updater/index.cjs"), module.exports);
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __copyProps = (to, from, except, desc) => {
8
+ if (from && typeof from === "object" || typeof from === "function") {
9
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
10
+ get: () => from[key],
11
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
12
+ });
13
+ }
14
+ return to;
15
+ };
16
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+ var index_exports = {};
19
+ module.exports = __toCommonJS(index_exports);
20
+ __reExport(index_exports, require("./dialog/index.native.js"), module.exports);
21
+ __reExport(index_exports, require("./fs/index.native.js"), module.exports);
22
+ __reExport(index_exports, require("./paths/index.native.js"), module.exports);
23
+ __reExport(index_exports, require("./updater/index.native.js"), module.exports);
@@ -5,22 +5,21 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
7
  var __copyProps = (to, from, except, desc) => {
8
- if (from && typeof from === "object" || typeof from === "function") {
9
- for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
10
- get: () => from[key],
11
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
12
- });
13
- }
14
- return to;
8
+ if (from && typeof from === "object" || typeof from === "function") {
9
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
10
+ get: () => from[key],
11
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
12
+ });
13
+ }
14
+ return to;
15
15
  };
16
16
  var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
17
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
18
- value: true
19
- }), mod);
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
18
  var index_exports = {};
21
19
  module.exports = __toCommonJS(index_exports);
22
20
  __reExport(index_exports, require("./dialog/index.native.js"), module.exports);
23
21
  __reExport(index_exports, require("./fs/index.native.js"), module.exports);
24
22
  __reExport(index_exports, require("./paths/index.native.js"), module.exports);
25
23
  __reExport(index_exports, require("./updater/index.native.js"), module.exports);
24
+
26
25
  //# sourceMappingURL=index.native.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","index_exports","module","exports","__reExport","require"],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,aAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAP,YAAc,CAAAK,aAAA;AACdG,UAAA,CAAAH,aAAA,EAAcI,OAAA,2BADd,GAAAH,MAAA,CAAAC,OAAA;AAEAC,UAAA,CAAAH,aAAA,EAAcI,OAAA,0BAAAH,MAFd,CAAAC,OAAA;AAGAC,UAAA,CAAAH,aAAA,EAAcI,OAAA,6BAAAH,MAHd,CAAAC,OAAA","ignoreList":[]}
1
+ {"version":3,"file":"index.native.js","names":[],"sources":["cjs/index.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, \"default\"), secondTarget && __copyProps(secondTarget, mod, \"default\"));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar index_exports = {};\nmodule.exports = __toCommonJS(index_exports);\n__reExport(index_exports, require(\"./dialog/index\"), module.exports);\n__reExport(index_exports, require(\"./fs/index\"), module.exports);\n__reExport(index_exports, require(\"./paths/index\"), module.exports);\n__reExport(index_exports, require(\"./updater/index\"), module.exports);\n//# sourceMappingURL=index.js.map\n"],"mappings":";;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,cAAc,QAAQ,KAAK,kBAAkB,YAAY,QAAQ,KAAK,SAAS,GAAG,gBAAgB,YAAY,cAAc,KAAK,SAAS;AAC9I,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,gBAAgB,CAAC;AACrB,OAAO,UAAU,aAAa,aAAa;AAC3C,WAAW,eAAe,QAAQ,0BAAgB,GAAG,OAAO,OAAO;AACnE,WAAW,eAAe,QAAQ,sBAAY,GAAG,OAAO,OAAO;AAC/D,WAAW,eAAe,QAAQ,yBAAe,GAAG,OAAO,OAAO;AAClE,WAAW,eAAe,QAAQ,2BAAiB,GAAG,OAAO,OAAO"}