@multiplatform.one/gpg 9.17.0 → 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 (83) hide show
  1. package/dist/cjs/GpgButton.cjs +27 -41
  2. package/dist/cjs/GpgButton.native.cjs +56 -0
  3. package/dist/cjs/GpgButton.native.js +32 -52
  4. package/dist/cjs/GpgButton.native.js.map +1 -1
  5. package/dist/cjs/GpgContext.cjs +19 -21
  6. package/dist/cjs/GpgContext.native.cjs +36 -0
  7. package/dist/cjs/GpgContext.native.js +20 -21
  8. package/dist/cjs/GpgContext.native.js.map +1 -1
  9. package/dist/cjs/GpgIcon.cjs +40 -44
  10. package/dist/cjs/GpgIcon.native.cjs +62 -0
  11. package/dist/cjs/GpgIcon.native.js +44 -52
  12. package/dist/cjs/GpgIcon.native.js.map +1 -1
  13. package/dist/cjs/GpgProvider.cjs +88 -104
  14. package/dist/cjs/GpgProvider.native.cjs +120 -0
  15. package/dist/cjs/GpgProvider.native.js +96 -111
  16. package/dist/cjs/GpgProvider.native.js.map +1 -1
  17. package/dist/cjs/SignInWithGpg.cjs +108 -112
  18. package/dist/cjs/SignInWithGpg.native.cjs +140 -0
  19. package/dist/cjs/SignInWithGpg.native.js +115 -132
  20. package/dist/cjs/SignInWithGpg.native.js.map +1 -1
  21. package/dist/cjs/index.cjs +32 -39
  22. package/dist/cjs/index.native.cjs +55 -0
  23. package/dist/cjs/index.native.js +32 -38
  24. package/dist/cjs/index.native.js.map +1 -1
  25. package/dist/cjs/screens.cjs +39 -52
  26. package/dist/cjs/screens.native.cjs +78 -0
  27. package/dist/cjs/screens.native.js +49 -61
  28. package/dist/cjs/screens.native.js.map +1 -1
  29. package/dist/cjs/signature.cjs +92 -90
  30. package/dist/cjs/signature.native.cjs +125 -0
  31. package/dist/cjs/signature.native.js +100 -97
  32. package/dist/cjs/signature.native.js.map +1 -1
  33. package/dist/cjs/signer.cjs +86 -92
  34. package/dist/cjs/signer.native.cjs +141 -0
  35. package/dist/cjs/signer.native.js +112 -119
  36. package/dist/cjs/signer.native.js.map +1 -1
  37. package/dist/cjs/useGpg.cjs +46 -57
  38. package/dist/cjs/useGpg.native.cjs +65 -0
  39. package/dist/cjs/useGpg.native.js +50 -60
  40. package/dist/cjs/useGpg.native.js.map +1 -1
  41. package/dist/esm/GpgButton.mjs +14 -24
  42. package/dist/esm/GpgButton.mjs.map +1 -1
  43. package/dist/esm/GpgButton.native.js +18 -30
  44. package/dist/esm/GpgButton.native.js.map +1 -1
  45. package/dist/esm/GpgContext.mjs +6 -4
  46. package/dist/esm/GpgContext.mjs.map +1 -1
  47. package/dist/esm/GpgContext.native.js +7 -5
  48. package/dist/esm/GpgContext.native.js.map +1 -1
  49. package/dist/esm/GpgIcon.mjs +28 -26
  50. package/dist/esm/GpgIcon.mjs.map +1 -1
  51. package/dist/esm/GpgIcon.native.js +31 -29
  52. package/dist/esm/GpgIcon.native.js.map +1 -1
  53. package/dist/esm/GpgProvider.mjs +76 -88
  54. package/dist/esm/GpgProvider.mjs.map +1 -1
  55. package/dist/esm/GpgProvider.native.js +85 -97
  56. package/dist/esm/GpgProvider.native.js.map +1 -1
  57. package/dist/esm/SignInWithGpg.mjs +97 -95
  58. package/dist/esm/SignInWithGpg.mjs.map +1 -1
  59. package/dist/esm/SignInWithGpg.native.js +102 -109
  60. package/dist/esm/SignInWithGpg.native.js.map +1 -1
  61. package/dist/esm/index.mjs +7 -7
  62. package/dist/esm/index.native.js +7 -7
  63. package/dist/esm/screens.mjs +23 -27
  64. package/dist/esm/screens.mjs.map +1 -1
  65. package/dist/esm/screens.native.js +34 -39
  66. package/dist/esm/screens.native.js.map +1 -1
  67. package/dist/esm/signature.mjs +80 -72
  68. package/dist/esm/signature.mjs.map +1 -1
  69. package/dist/esm/signature.native.js +88 -80
  70. package/dist/esm/signature.native.js.map +1 -1
  71. package/dist/esm/signer.mjs +69 -72
  72. package/dist/esm/signer.mjs.map +1 -1
  73. package/dist/esm/signer.native.js +95 -100
  74. package/dist/esm/signer.native.js.map +1 -1
  75. package/dist/esm/useGpg.mjs +34 -39
  76. package/dist/esm/useGpg.mjs.map +1 -1
  77. package/dist/esm/useGpg.native.js +38 -43
  78. package/dist/esm/useGpg.native.js.map +1 -1
  79. package/package.json +6 -6
  80. package/types/GpgProvider.d.ts +1 -1
  81. package/types/GpgProvider.d.ts.map +1 -1
  82. package/dist/esm/index.mjs.map +0 -1
  83. package/dist/esm/index.native.js.map +0 -1
@@ -3,54 +3,40 @@ 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 GpgButton_exports = {};
24
22
  __export(GpgButton_exports, {
25
- GPGButton: () => GPGButton,
26
- default: () => GpgButton_default
23
+ GPGButton: () => GPGButton,
24
+ default: () => GpgButton_default
27
25
  });
28
26
  module.exports = __toCommonJS(GpgButton_exports);
29
27
  var import_connectkit = require("@multiplatform.one/connectkit");
30
28
  var import_jsx_runtime = require("react/jsx-runtime");
31
- const GPGButton = ({
32
- children
33
- }) => {
34
- const {
35
- openScreen
36
- } = (0, import_connectkit.useModal)();
37
- return /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_connectkit.Button, {
38
- style: {
39
- margin: 0
40
- },
41
- arrow: true,
42
- onClick: e => {
43
- e?.preventDefault?.();
44
- openScreen("signInWithGpg");
45
- },
46
- children: children ?? "Sign in with GPG"
47
- }, "button");
29
+ const GPGButton = ({ children }) => {
30
+ const { openScreen } = (0, import_connectkit.useModal)();
31
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_connectkit.Button, {
32
+ style: { margin: 0 },
33
+ arrow: true,
34
+ onClick: (e) => {
35
+ e?.preventDefault?.();
36
+ openScreen("signInWithGpg");
37
+ },
38
+ children: children ?? "Sign in with GPG"
39
+ }, "button");
48
40
  };
49
- const GPGButtonComponent = ({
50
- ...props
51
- }) => /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_connectkit.ResetContainer, {
52
- children: /* @__PURE__ */(0, import_jsx_runtime.jsx)(GPGButton, {
53
- ...props
54
- })
55
- });
56
- var GpgButton_default = GPGButtonComponent;
41
+ const GPGButtonComponent = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_connectkit.ResetContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(GPGButton, { ...props }) });
42
+ var GpgButton_default = GPGButtonComponent;
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+
3
+ var __create = Object.create;
4
+ var __defProp = Object.defineProperty;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __getProtoOf = Object.getPrototypeOf;
8
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
9
+ var __export = (target, all) => {
10
+ for (var name in all) __defProp(target, name, {
11
+ get: all[name],
12
+ enumerable: true
13
+ });
14
+ };
15
+ var __copyProps = (to, from, except, desc) => {
16
+ if (from && typeof from === "object" || typeof from === "function") {
17
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
18
+ get: () => from[key],
19
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
20
+ });
21
+ }
22
+ return to;
23
+ };
24
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
25
+ value: mod,
26
+ enumerable: true
27
+ }) : target, mod));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+ var GpgButton_exports = {};
30
+ __export(GpgButton_exports, {
31
+ GPGButton: () => GPGButton,
32
+ default: () => GpgButton_default
33
+ });
34
+ module.exports = __toCommonJS(GpgButton_exports);
35
+ var import_jsx_runtime = require("react/jsx-runtime");
36
+ var import_react = __toESM(require("react"));
37
+ var import_connectkit = require("@multiplatform.one/connectkit");
38
+ var GPGButton = function GPGButton2(param) {
39
+ var { children } = param;
40
+ var { openScreen } = (0, import_connectkit.useModal)();
41
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_connectkit.Button, {
42
+ style: { margin: 0 },
43
+ arrow: true,
44
+ onClick: function onClick(e) {
45
+ var _e_preventDefault;
46
+ e === null || e === void 0 ? void 0 : (_e_preventDefault = e.preventDefault) === null || _e_preventDefault === void 0 ? void 0 : _e_preventDefault.call(e);
47
+ openScreen("signInWithGpg");
48
+ },
49
+ children: children !== null && children !== void 0 ? children : "Sign in with GPG"
50
+ }, "button");
51
+ };
52
+ var GPGButtonComponent = function GPGButtonComponent2(param) {
53
+ var { ...props } = param;
54
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_connectkit.ResetContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(GPGButton, { ...props }) });
55
+ };
56
+ var GpgButton_default = GPGButtonComponent;
@@ -7,72 +7,52 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
7
7
  var __getProtoOf = Object.getPrototypeOf;
8
8
  var __hasOwnProp = Object.prototype.hasOwnProperty;
9
9
  var __export = (target, all) => {
10
- for (var name in all) __defProp(target, name, {
11
- get: all[name],
12
- enumerable: true
13
- });
10
+ for (var name in all) __defProp(target, name, {
11
+ get: all[name],
12
+ enumerable: true
13
+ });
14
14
  };
15
15
  var __copyProps = (to, from, except, desc) => {
16
- if (from && typeof from === "object" || typeof from === "function") {
17
- for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
18
- get: () => from[key],
19
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
20
- });
21
- }
22
- return to;
16
+ if (from && typeof from === "object" || typeof from === "function") {
17
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
18
+ get: () => from[key],
19
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
20
+ });
21
+ }
22
+ return to;
23
23
  };
24
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
25
- // If the importer is in node compatibility mode or this is not an ESM
26
- // file that has been converted to a CommonJS file using a Babel-
27
- // compatible transform (i.e. "__esModule" has not been set), then set
28
- // "default" to the CommonJS "module.exports" for node compatibility.
29
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
30
- value: mod,
31
- enumerable: true
24
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
25
+ value: mod,
26
+ enumerable: true
32
27
  }) : target, mod));
33
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
34
- value: true
35
- }), mod);
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
36
29
  var GpgButton_exports = {};
37
30
  __export(GpgButton_exports, {
38
- GPGButton: () => GPGButton,
39
- default: () => GpgButton_default
31
+ GPGButton: () => GPGButton,
32
+ default: () => GpgButton_default
40
33
  });
41
34
  module.exports = __toCommonJS(GpgButton_exports);
42
35
  var import_jsx_runtime = require("react/jsx-runtime");
43
36
  var import_react = __toESM(require("react"));
44
37
  var import_connectkit = require("@multiplatform.one/connectkit");
45
38
  var GPGButton = function GPGButton2(param) {
46
- var {
47
- children
48
- } = param;
49
- var {
50
- openScreen
51
- } = (0, import_connectkit.useModal)();
52
- return /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_connectkit.Button, {
53
- style: {
54
- margin: 0
55
- },
56
- arrow: true,
57
- // preventDefault so we never submit a surrounding host <form> (e.g. keycloak's
58
- // login form) — the underlying styled button can render as type=submit.
59
- onClick: function onClick(e) {
60
- var _e_preventDefault;
61
- e === null || e === void 0 ? void 0 : (_e_preventDefault = e.preventDefault) === null || _e_preventDefault === void 0 ? void 0 : _e_preventDefault.call(e);
62
- openScreen("signInWithGpg");
63
- },
64
- children: children !== null && children !== void 0 ? children : "Sign in with GPG"
65
- }, "button");
39
+ var { children } = param;
40
+ var { openScreen } = (0, import_connectkit.useModal)();
41
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_connectkit.Button, {
42
+ style: { margin: 0 },
43
+ arrow: true,
44
+ onClick: function onClick(e) {
45
+ var _e_preventDefault;
46
+ e === null || e === void 0 ? void 0 : (_e_preventDefault = e.preventDefault) === null || _e_preventDefault === void 0 ? void 0 : _e_preventDefault.call(e);
47
+ openScreen("signInWithGpg");
48
+ },
49
+ children: children !== null && children !== void 0 ? children : "Sign in with GPG"
50
+ }, "button");
66
51
  };
67
52
  var GPGButtonComponent = function GPGButtonComponent2(param) {
68
- var {
69
- ...props
70
- } = param;
71
- return /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_connectkit.ResetContainer, {
72
- children: /* @__PURE__ */(0, import_jsx_runtime.jsx)(GPGButton, {
73
- ...props
74
- })
75
- });
53
+ var { ...props } = param;
54
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_connectkit.ResetContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(GPGButton, { ...props }) });
76
55
  };
77
56
  var GpgButton_default = GPGButtonComponent;
57
+
78
58
  //# sourceMappingURL=GpgButton.native.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["to","__toESM","mod","isNodeMode","target","__create","__getProtoOf","__copyProps","__esModule","__defProp","value","enumerable","__toCommonJS","GpgButton_exports","__export","GPGButton","default","GpgButton_default","module","exports","import_jsx_runtime","require","import_react","import_connectkit","GPGButton2","param","children","openScreen","useModal","jsx","Button","style","margin"],"sources":["../../src/GpgButton.tsx"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;EAAA,OAAAA,EAAA;AAAA;AAAA,IAAAC,OAAA,GAAAA,CAAAC,GAAA,EAAAC,UAAA,EAAAC,MAAA,MAAAA,MAAA,GAAAF,GAAA,WAAAG,QAAA,CAAAC,YAAA,CAAAJ,GAAA,SAAAK,WAAA;AAAA;AAAA;AAAA;AACA;AAcIJ,UAAA,KAAAD,GAAA,KAAAA,GAAA,CAAAM,UAAA,GAAAC,SAAA,CAAAL,MAAA;EAAAM,KAAA,EAAAR,GAAA;EAAAS,UAAA;AAAA,KAAAP,MAAA,EALGF,GAGL;AACA,IAAAU,YACE,GAAAV,GAAA,IAAAK,WAAA,CAAAE,SAAA;EAAAC,KAAA;AAAA,IAAAR,GAAA;AAAA,IAACW,iBAAA;AAAAC,QAAA,CAAAD,iBAAA;EAAAE,SAEC,EAAOA,CAAA,KAAEA,SAAU;EAAAC,OACnB,EAAAA,CAAA,KAAKC;AAAA;AAIHC,MAAA,CAAAC,OAAG,GAAAP,YAAiB,CAAAC,iBAAA;AACpB,IAAAO,kBAAW,GAAAC,OAAA,oBAAe;AAAA,IAAAC,YAC5B,GAAArB,OAAA,CAAAoB,OAAA;AAAA,IAAAE,iBAEC,GAAAF,OAAY;AAAA,IAAAN,SAAA,YAAAS,WAAAC,KAAA;EAAA,IAVT;IAAAC;EAAA,IAAAD,KAAA;EAWN;IAAAE;EAAA,QAAAJ,iBAAA,CAAAK,QAAA;EAEJ,0BAAAR,kBAAA,CAAAS,GAAA,EAAAN,iBAAA,CAAAO,MAAA;IAEAC,KAAM;MAKCC,MAAA","ignoreList":[]}
1
+ {"version":3,"file":"GpgButton.native.js","names":[],"sources":["cjs/GpgButton.native.js"],"sourcesContent":["\"use strict\";\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\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 __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n // If the importer is in node compatibility mode or this is not an ESM\n // file that has been converted to a CommonJS file using a Babel-\n // compatible transform (i.e. \"__esModule\" has not been set), then set\n // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar GpgButton_exports = {};\n__export(GpgButton_exports, {\n GPGButton: () => GPGButton,\n default: () => GpgButton_default\n});\nmodule.exports = __toCommonJS(GpgButton_exports);\nvar import_jsx_runtime = require(\"react/jsx-runtime\");\nvar import_react = __toESM(require(\"react\"));\nvar import_connectkit = require(\"@multiplatform.one/connectkit\");\nvar GPGButton = function GPGButton2(param) {\n var { children } = param;\n var { openScreen } = (0, import_connectkit.useModal)();\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_connectkit.Button, {\n style: {\n margin: 0\n },\n arrow: true,\n // preventDefault so we never submit a surrounding host <form> (e.g. keycloak's\n // login form) — the underlying styled button can render as type=submit.\n onClick: function onClick(e) {\n var _e_preventDefault;\n e === null || e === void 0 ? void 0 : (_e_preventDefault = e.preventDefault) === null || _e_preventDefault === void 0 ? void 0 : _e_preventDefault.call(e);\n openScreen(\"signInWithGpg\");\n },\n children: children !== null && children !== void 0 ? children : \"Sign in with GPG\"\n }, \"button\");\n};\nvar GPGButtonComponent = function GPGButtonComponent2(param) {\n var { ...props } = param;\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_connectkit.ResetContainer, {\n children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(GPGButton, {\n ...props\n })\n });\n};\nvar GpgButton_default = GPGButtonComponent;\n//# sourceMappingURL=GpgButton.js.map\n"],"mappings":";;;AACA,IAAI,WAAW,OAAO;AACtB,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO;AAC1B,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,WAAW,KAAK,YAAY,YAAY,SAAS,OAAO,OAAO,SAAS,aAAa,GAAG,CAAC,IAAI,CAAC,GAAG,YAKnG,cAAc,CAAC,OAAO,CAAC,IAAI,aAAa,UAAU,QAAQ,WAAW;CAAE,OAAO;CAAK,YAAY;AAAK,CAAC,IAAI,QACzG,GACF;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,oBAAoB,CAAC;AACzB,SAAS,mBAAmB;CAC1B,iBAAiB;CACjB,eAAe;AACjB,CAAC;AACD,OAAO,UAAU,aAAa,iBAAiB;AAC/C,IAAI,qBAAqB,QAAQ,mBAAmB;AACpD,IAAI,eAAe,QAAQ,QAAQ,OAAO,CAAC;AAC3C,IAAI,oBAAoB,QAAQ,+BAA+B;AAC/D,IAAI,YAAY,SAAS,WAAW,OAAO;CACzC,IAAI,EAAE,aAAa;CACnB,IAAI,EAAE,gBAAgB,GAAG,kBAAkB,SAAQ,CAAE;CACrD,OAAuB,iBAAC,GAAG,mBAAmB,IAAG,CAAE,kBAAkB,QAAQ;EAC3E,OAAO,EACL,QAAQ,EACV;EACA,OAAO;EAGP,SAAS,SAAS,QAAQ,GAAG;GAC3B,IAAI;GACJ,MAAM,QAAQ,MAAM,KAAK,IAAI,KAAK,KAAK,oBAAoB,EAAE,oBAAoB,QAAQ,sBAAsB,KAAK,IAAI,KAAK,IAAI,kBAAkB,KAAK,CAAC;GACzJ,WAAW,eAAe;EAC5B;EACA,UAAU,aAAa,QAAQ,aAAa,KAAK,IAAI,WAAW;CAClE,GAAG,QAAQ;AACb;AACA,IAAI,qBAAqB,SAAS,oBAAoB,OAAO;CAC3D,IAAI,EAAE,GAAG,UAAU;CACnB,OAAuB,iBAAC,GAAG,mBAAmB,IAAG,CAAE,kBAAkB,gBAAgB,EACnF,UAA0B,iBAAC,GAAG,mBAAmB,IAAG,CAAE,WAAW,EAC/D,GAAG,MACL,CAAC,EACH,CAAC;AACH;AACA,IAAI,oBAAoB"}
@@ -3,34 +3,32 @@ 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 GpgContext_exports = {};
24
22
  __export(GpgContext_exports, {
25
- GpgContext: () => GpgContext,
26
- GpgStatusState: () => GpgStatusState
23
+ GpgContext: () => GpgContext,
24
+ GpgStatusState: () => GpgStatusState
27
25
  });
28
26
  module.exports = __toCommonJS(GpgContext_exports);
29
27
  var import_react = require("react");
30
28
  const GpgStatusState = {
31
- READY: "ready",
32
- LOADING: "loading",
33
- SUCCESS: "success",
34
- ERROR: "error"
29
+ READY: "ready",
30
+ LOADING: "loading",
31
+ SUCCESS: "success",
32
+ ERROR: "error"
35
33
  };
36
- const GpgContext = (0, import_react.createContext)(null);
34
+ const GpgContext = (0, import_react.createContext)(null);
@@ -0,0 +1,36 @@
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 GpgContext_exports = {};
24
+ __export(GpgContext_exports, {
25
+ GpgContext: () => GpgContext,
26
+ GpgStatusState: () => GpgStatusState
27
+ });
28
+ module.exports = __toCommonJS(GpgContext_exports);
29
+ var import_react = require("react");
30
+ var GpgStatusState = {
31
+ READY: "ready",
32
+ LOADING: "loading",
33
+ SUCCESS: "success",
34
+ ERROR: "error"
35
+ };
36
+ var GpgContext = /* @__PURE__ */ (0, import_react.createContext)(null);
@@ -5,35 +5,34 @@ 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 GpgContext_exports = {};
26
24
  __export(GpgContext_exports, {
27
- GpgContext: () => GpgContext,
28
- GpgStatusState: () => GpgStatusState
25
+ GpgContext: () => GpgContext,
26
+ GpgStatusState: () => GpgStatusState
29
27
  });
30
28
  module.exports = __toCommonJS(GpgContext_exports);
31
29
  var import_react = require("react");
32
30
  var GpgStatusState = {
33
- READY: "ready",
34
- LOADING: "loading",
35
- SUCCESS: "success",
36
- ERROR: "error"
31
+ READY: "ready",
32
+ LOADING: "loading",
33
+ SUCCESS: "success",
34
+ ERROR: "error"
37
35
  };
38
- var GpgContext = /* @__PURE__ */(0, import_react.createContext)(null);
36
+ var GpgContext = /* @__PURE__ */ (0, import_react.createContext)(null);
37
+
39
38
  //# sourceMappingURL=GpgContext.native.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","GpgContext_exports","__export","GpgContext","GpgStatusState","module","exports","import_react","require","READY","LOADING","SUCCESS","ERROR"],"sources":["../../src/GpgContext.tsx"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,kBAAA;AAAAC,QAAA,CAAAD,kBAAA;EAAAE,UAAA,EAAAA,CAAA,KAAAA,UAAA;EAAAC,cAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAV,YAA8B,CAAAK,kBAAA;AAQvB,IAAAM,YAAM,GAAAC,OAAiB;AAAA,IAC5BJ,cAAO;EACPK,KAAA,SAAS;EACTC,OAAA,EAAS;EACTC,OAAO;EACTC,KAAA;AA2CO","ignoreList":[]}
1
+ {"version":3,"file":"GpgContext.native.js","names":[],"sources":["cjs/GpgContext.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 GpgContext_exports = {};\n__export(GpgContext_exports, {\n GpgContext: () => GpgContext,\n GpgStatusState: () => GpgStatusState\n});\nmodule.exports = __toCommonJS(GpgContext_exports);\nvar import_react = require(\"react\");\nvar GpgStatusState = {\n READY: \"ready\",\n LOADING: \"loading\",\n SUCCESS: \"success\",\n ERROR: \"error\"\n};\nvar GpgContext = /* @__PURE__ */ (0, import_react.createContext)(null);\n//# sourceMappingURL=GpgContext.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,qBAAqB,CAAC;AAC1B,SAAS,oBAAoB;CAC3B,kBAAkB;CAClB,sBAAsB;AACxB,CAAC;AACD,OAAO,UAAU,aAAa,kBAAkB;AAChD,IAAI,eAAe,QAAQ,OAAO;AAClC,IAAI,iBAAiB;CACnB,OAAO;CACP,SAAS;CACT,SAAS;CACT,OAAO;AACT;AACA,IAAI,aAA6B,iBAAC,GAAG,aAAa,cAAa,CAAE,IAAI"}
@@ -3,53 +3,49 @@ 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 GpgIcon_exports = {};
24
- __export(GpgIcon_exports, {
25
- GpgIcon: () => GpgIcon
26
- });
22
+ __export(GpgIcon_exports, { GpgIcon: () => GpgIcon });
27
23
  module.exports = __toCommonJS(GpgIcon_exports);
28
24
  var import_jsx_runtime = require("react/jsx-runtime");
29
- const GpgIcon = () => /* @__PURE__ */(0, import_jsx_runtime.jsxs)("svg", {
30
- xmlns: "http://www.w3.org/2000/svg",
31
- width: "100%",
32
- height: "100%",
33
- viewBox: "0 0 32 32",
34
- "aria-hidden": "true",
35
- children: [/* @__PURE__ */(0, import_jsx_runtime.jsx)("rect", {
36
- width: "32",
37
- height: "32",
38
- fill: "#0093DD"
39
- }), /* @__PURE__ */(0, import_jsx_runtime.jsxs)("g", {
40
- fill: "none",
41
- stroke: "#FFFFFF",
42
- strokeWidth: "2.2",
43
- strokeLinecap: "round",
44
- strokeLinejoin: "round",
45
- children: [/* @__PURE__ */(0, import_jsx_runtime.jsx)("circle", {
46
- cx: "11.5",
47
- cy: "19.5",
48
- r: "4.5"
49
- }), /* @__PURE__ */(0, import_jsx_runtime.jsx)("path", {
50
- d: "m14.7 16.3 9.3-9.3"
51
- }), /* @__PURE__ */(0, import_jsx_runtime.jsx)("path", {
52
- d: "m20 11 3 3 2.5-2.5-3-3"
53
- })]
54
- })]
55
- });
25
+ const GpgIcon = () => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", {
26
+ xmlns: "http://www.w3.org/2000/svg",
27
+ width: "100%",
28
+ height: "100%",
29
+ viewBox: "0 0 32 32",
30
+ "aria-hidden": "true",
31
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("rect", {
32
+ width: "32",
33
+ height: "32",
34
+ fill: "#0093DD"
35
+ }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", {
36
+ fill: "none",
37
+ stroke: "#FFFFFF",
38
+ strokeWidth: "2.2",
39
+ strokeLinecap: "round",
40
+ strokeLinejoin: "round",
41
+ children: [
42
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", {
43
+ cx: "11.5",
44
+ cy: "19.5",
45
+ r: "4.5"
46
+ }),
47
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "m14.7 16.3 9.3-9.3" }),
48
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "m20 11 3 3 2.5-2.5-3-3" })
49
+ ]
50
+ })]
51
+ });
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+
3
+ var __create = Object.create;
4
+ var __defProp = Object.defineProperty;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __getProtoOf = Object.getPrototypeOf;
8
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
9
+ var __export = (target, all) => {
10
+ for (var name in all) __defProp(target, name, {
11
+ get: all[name],
12
+ enumerable: true
13
+ });
14
+ };
15
+ var __copyProps = (to, from, except, desc) => {
16
+ if (from && typeof from === "object" || typeof from === "function") {
17
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
18
+ get: () => from[key],
19
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
20
+ });
21
+ }
22
+ return to;
23
+ };
24
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
25
+ value: mod,
26
+ enumerable: true
27
+ }) : target, mod));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+ var GpgIcon_exports = {};
30
+ __export(GpgIcon_exports, { GpgIcon: () => GpgIcon });
31
+ module.exports = __toCommonJS(GpgIcon_exports);
32
+ var import_jsx_runtime = require("react/jsx-runtime");
33
+ var import_react = __toESM(require("react"));
34
+ var GpgIcon = function GpgIcon2() {
35
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", {
36
+ xmlns: "http://www.w3.org/2000/svg",
37
+ width: "100%",
38
+ height: "100%",
39
+ viewBox: "0 0 32 32",
40
+ "aria-hidden": "true",
41
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("rect", {
42
+ width: "32",
43
+ height: "32",
44
+ fill: "#0093DD"
45
+ }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", {
46
+ fill: "none",
47
+ stroke: "#FFFFFF",
48
+ strokeWidth: "2.2",
49
+ strokeLinecap: "round",
50
+ strokeLinejoin: "round",
51
+ children: [
52
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", {
53
+ cx: "11.5",
54
+ cy: "19.5",
55
+ r: "4.5"
56
+ }),
57
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "m14.7 16.3 9.3-9.3" }),
58
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "m20 11 3 3 2.5-2.5-3-3" })
59
+ ]
60
+ })]
61
+ });
62
+ };