@keyringnetwork/keyring-connect-sdk 3.2.0 → 4.1.0-alpha.2
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/core/VerificationSession.d.ts +62 -0
- package/dist/core/VerificationSession.js +404 -0
- package/dist/core/errors.d.ts +49 -0
- package/dist/core/errors.js +81 -0
- package/dist/core/htppClient.d.ts +17 -0
- package/dist/core/htppClient.js +160 -0
- package/dist/{main.d.ts → core/keyringConnectExtension.d.ts} +6 -4
- package/dist/{main.js → core/keyringConnectExtension.js} +33 -16
- package/dist/core/websocketClient.d.ts +23 -0
- package/dist/core/websocketClient.js +220 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -3
- package/dist/types/api.d.ts +24 -0
- package/dist/types/api.js +2 -0
- package/dist/types/core.d.ts +78 -0
- package/dist/types/core.js +2 -0
- package/dist/{types.d.ts → types/extension.d.ts} +2 -49
- package/dist/types/index.d.ts +4 -0
- package/dist/types/index.js +20 -0
- package/dist/types/websocket.d.ts +68 -0
- package/dist/types/websocket.js +3 -0
- package/dist/ui/UIManager.d.ts +52 -0
- package/dist/ui/UIManager.js +257 -0
- package/dist/ui/components/keyring-button.d.ts +12 -0
- package/dist/ui/components/keyring-button.js +140 -0
- package/dist/ui/components/keyring-text.d.ts +12 -0
- package/dist/ui/components/keyring-text.js +169 -0
- package/dist/ui/composites/keyring-complete-modal.d.ts +19 -0
- package/dist/ui/composites/keyring-complete-modal.js +200 -0
- package/dist/ui/composites/keyring-mobile-modal.d.ts +25 -0
- package/dist/ui/composites/keyring-mobile-modal.js +308 -0
- package/dist/ui/composites/keyring-qr-modal.d.ts +32 -0
- package/dist/ui/composites/keyring-qr-modal.js +464 -0
- package/dist/ui/composites/keyring-selection-modal.d.ts +25 -0
- package/dist/ui/composites/keyring-selection-modal.js +342 -0
- package/dist/ui/composites/keyring-terminated-modal.d.ts +14 -0
- package/dist/ui/composites/keyring-terminated-modal.js +121 -0
- package/dist/ui/icons/apple-icon.d.ts +4 -0
- package/dist/ui/icons/apple-icon.js +47 -0
- package/dist/ui/icons/check-circle.d.ts +4 -0
- package/dist/ui/icons/check-circle.js +35 -0
- package/dist/ui/icons/checkmark.d.ts +4 -0
- package/dist/ui/icons/checkmark.js +37 -0
- package/dist/ui/icons/close-circle.d.ts +4 -0
- package/dist/ui/icons/close-circle.js +35 -0
- package/dist/ui/icons/error-circle.d.ts +4 -0
- package/dist/ui/icons/error-circle.js +48 -0
- package/dist/ui/icons/extension-grid.d.ts +4 -0
- package/dist/ui/icons/extension-grid.js +79 -0
- package/dist/ui/icons/google-icon.d.ts +4 -0
- package/dist/ui/icons/google-icon.js +55 -0
- package/dist/ui/icons/gradient-donut.d.ts +8 -0
- package/dist/ui/icons/gradient-donut.js +85 -0
- package/dist/ui/icons/keyring.d.ts +4 -0
- package/dist/ui/icons/keyring.js +71 -0
- package/dist/ui/icons/mobile-grid.d.ts +4 -0
- package/dist/ui/icons/mobile-grid.js +68 -0
- package/dist/ui/icons/success.d.ts +4 -0
- package/dist/ui/icons/success.js +54 -0
- package/dist/utils/environment.d.ts +34 -0
- package/dist/utils/environment.js +67 -0
- package/dist/utils/logger.d.ts +7 -0
- package/dist/utils/logger.js +40 -0
- package/dist/utils/platformUtils.d.ts +24 -0
- package/dist/utils/platformUtils.js +64 -0
- package/package.json +29 -14
- package/readme.md +57 -105
- /package/dist/{types.js → types/extension.js} +0 -0
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.ErrorCircleIcon = void 0;
|
|
10
|
+
const lit_1 = require("lit");
|
|
11
|
+
const decorators_js_1 = require("lit/decorators.js");
|
|
12
|
+
let ErrorCircleIcon = class ErrorCircleIcon extends lit_1.LitElement {
|
|
13
|
+
render() {
|
|
14
|
+
return (0, lit_1.html) `
|
|
15
|
+
<svg
|
|
16
|
+
width="88"
|
|
17
|
+
height="89"
|
|
18
|
+
viewBox="0 0 88 89"
|
|
19
|
+
fill="none"
|
|
20
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
21
|
+
>
|
|
22
|
+
<path
|
|
23
|
+
d="M43.1211 11.6273C61.2761 11.6273 75.9921 26.3433 75.9922 44.4984C75.9922 62.6534 61.2761 77.3695 43.1211 77.3695C24.9661 77.3695 10.25 62.6534 10.25 44.4984C10.2501 26.3433 24.9661 11.6273 43.1211 11.6273Z"
|
|
24
|
+
stroke="#0F2830"
|
|
25
|
+
stroke-width="1.5"
|
|
26
|
+
stroke-linecap="round"
|
|
27
|
+
stroke-linejoin="round"
|
|
28
|
+
/>
|
|
29
|
+
<path
|
|
30
|
+
fill-rule="evenodd"
|
|
31
|
+
clip-rule="evenodd"
|
|
32
|
+
d="M44.0005 56.6725C42.8439 56.6725 41.9053 57.6091 41.9053 58.7677V58.9102C41.9053 60.0689 42.8439 60.9342 44.0005 60.9342C45.1571 60.9342 46.0958 59.9264 46.0958 58.7677C46.0958 57.6091 45.1571 56.6725 44.0005 56.6725Z"
|
|
33
|
+
fill="#0F2830"
|
|
34
|
+
/>
|
|
35
|
+
<path
|
|
36
|
+
fill-rule="evenodd"
|
|
37
|
+
clip-rule="evenodd"
|
|
38
|
+
d="M44.0005 27.4803C42.8439 27.4803 41.9053 28.4168 41.9053 29.5755V48.8497C41.9053 50.0084 42.8439 50.945 44.0005 50.945C45.1571 50.945 46.0958 50.0084 46.0958 48.8497V29.5755C46.0958 28.4168 45.1571 27.4803 44.0005 27.4803Z"
|
|
39
|
+
fill="#0F2830"
|
|
40
|
+
/>
|
|
41
|
+
</svg>
|
|
42
|
+
`;
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
exports.ErrorCircleIcon = ErrorCircleIcon;
|
|
46
|
+
exports.ErrorCircleIcon = ErrorCircleIcon = __decorate([
|
|
47
|
+
(0, decorators_js_1.customElement)("error-circle-icon")
|
|
48
|
+
], ErrorCircleIcon);
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.ExtensionGridIcon = void 0;
|
|
10
|
+
const lit_1 = require("lit");
|
|
11
|
+
const decorators_js_1 = require("lit/decorators.js");
|
|
12
|
+
let ExtensionGridIcon = class ExtensionGridIcon extends lit_1.LitElement {
|
|
13
|
+
render() {
|
|
14
|
+
return (0, lit_1.html) `
|
|
15
|
+
<svg
|
|
16
|
+
width="48"
|
|
17
|
+
height="49"
|
|
18
|
+
viewBox="0 0 48 49"
|
|
19
|
+
fill="none"
|
|
20
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
21
|
+
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
22
|
+
>
|
|
23
|
+
<path
|
|
24
|
+
d="M22.0834 10.332H14.5466C9.2945 10.332 6 14.0507 6 19.3146V33.5162C6 38.78 9.27698 42.4986 14.5466 42.4986H29.618C34.8896 42.4986 38.1666 38.78 38.1666 33.5162V26.4154"
|
|
25
|
+
stroke="black"
|
|
26
|
+
stroke-opacity="0.88"
|
|
27
|
+
stroke-width="2"
|
|
28
|
+
stroke-linecap="round"
|
|
29
|
+
stroke-linejoin="round"
|
|
30
|
+
/>
|
|
31
|
+
<path
|
|
32
|
+
d="M38.1666 26.4144L6 26.414"
|
|
33
|
+
stroke="black"
|
|
34
|
+
stroke-opacity="0.88"
|
|
35
|
+
stroke-width="2"
|
|
36
|
+
stroke-linecap="round"
|
|
37
|
+
stroke-linejoin="round"
|
|
38
|
+
/>
|
|
39
|
+
<path
|
|
40
|
+
d="M22.082 10.332L22.0821 42.4986"
|
|
41
|
+
stroke="black"
|
|
42
|
+
stroke-opacity="0.88"
|
|
43
|
+
stroke-width="2"
|
|
44
|
+
stroke-linecap="round"
|
|
45
|
+
stroke-linejoin="round"
|
|
46
|
+
/>
|
|
47
|
+
<path
|
|
48
|
+
d="M26 9C26 5.68629 28.6863 3 32 3H40C43.3137 3 46 5.68629 46 9V17C46 20.3137 43.3137 23 40 23H28C26.8954 23 26 22.1046 26 21V9Z"
|
|
49
|
+
fill="white"
|
|
50
|
+
/>
|
|
51
|
+
<path
|
|
52
|
+
d="M26 9C26 5.68629 28.6863 3 32 3H40C43.3137 3 46 5.68629 46 9V17C46 20.3137 43.3137 23 40 23H28C26.8954 23 26 22.1046 26 21V9Z"
|
|
53
|
+
fill="url(#pattern0_9297_28910)"
|
|
54
|
+
/>
|
|
55
|
+
<defs>
|
|
56
|
+
<pattern
|
|
57
|
+
id="pattern0_9297_28910"
|
|
58
|
+
patternContentUnits="objectBoundingBox"
|
|
59
|
+
width="1"
|
|
60
|
+
height="1"
|
|
61
|
+
>
|
|
62
|
+
<use xlink:href="#image0_9297_28910" transform="scale(0.00675676)" />
|
|
63
|
+
</pattern>
|
|
64
|
+
<image
|
|
65
|
+
id="image0_9297_28910"
|
|
66
|
+
width="148"
|
|
67
|
+
height="148"
|
|
68
|
+
preserveAspectRatio="none"
|
|
69
|
+
xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJQAAACUCAYAAAB1PADUAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAlMSURBVHgB7Z1diJRlFMfPrMEqZBoYmIZsXuh6YS34QdQKmt6t+QFdyIqKlOWaUamB20V+QK0XIQV+4lWKy3ajm7VBoCkoXWTC0l7odtOy4AdhsLZCelHT+3/XWYZhP+a8c2b2PO/8f7DOjOvFOO9vzjnPeZ73eTJSwPT6huWSlbXZjKyLXtYJIYVkpTvyo7tG5MDAre6+/F9lck+m1zVM/2+K7Mtk5UMhpEgisb6s+ScSq697AK9joSBTtlYuR68ahBAtUcTKPJYVkKoGrxGZKBNJTORO7BCeRjVTXVbkDyGkRKJ0twIRap8QYkFW1tVkmeqIEZFLa2siqygUsaKuRggxhEIRUygUMYVCEVMoFDGFQhFTKBQxhUIRUygUMYVCEVMoFDGFQhFTKBQxhUIRUygUMYVCEVMoFDGFQhFTKBQxhUIRUygUMeUpqWIWLpgvC+vny7SpTw89PjM1ej51+DGf/tt34scHg4Pxc/z03Pp9+DkZomqEgiSQpmnlcmlculjmzJoV/12xzJk9a9TfPfh7MJKrV7ouXZZr129Iz81eqVYy0+obspJSchLtfe/d4QhUCRCxrv3yqxw/0151cqVSKIjTsqlZWjZvrJhEowG5Dh05Ie2d30k1kCqhPIlUSLWIlRqhWjY3R6ltuzuRCkm7WMELhWL52OcH4kI7JFDAt7Z9kboRYtB9KESlq+c6gpMJNK1cIVfPd0jzujckTUyaPGPmfgkQjNz27/5AJtfWSqjgvTetWhGn6UvXfpY0EGTKQ4prXr9G0gT6WKu3bIt7WiETnFCVkAkXFR3xfMZqbFqBegpShVxXBSVUW+ueuCVgBcRBcYzo0H/77pPH0S8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LMQKiudQogBUf10YNKj+/f6pjw389no9StCSEIyWflqoLe7Y6gor5X9yH9CSBKiVCePI4ciJuGPR/fuPZrywsxvMv/KFGGkIgoQmTKPZetAX/dA/LrwH0yvb6iLHhCxXo6KrAYhpIC4M5CNBnMZ6Ry41X0l/3f/A4I71Rzd85W1AAAAAElFTkSuQmCC"
|
|
70
|
+
/>
|
|
71
|
+
</defs>
|
|
72
|
+
</svg>
|
|
73
|
+
`;
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
exports.ExtensionGridIcon = ExtensionGridIcon;
|
|
77
|
+
exports.ExtensionGridIcon = ExtensionGridIcon = __decorate([
|
|
78
|
+
(0, decorators_js_1.customElement)("extension-grid-icon")
|
|
79
|
+
], ExtensionGridIcon);
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.GoogleIcon = void 0;
|
|
10
|
+
const lit_1 = require("lit");
|
|
11
|
+
const decorators_js_1 = require("lit/decorators.js");
|
|
12
|
+
let GoogleIcon = class GoogleIcon extends lit_1.LitElement {
|
|
13
|
+
render() {
|
|
14
|
+
return (0, lit_1.html) `
|
|
15
|
+
<svg
|
|
16
|
+
width="120"
|
|
17
|
+
height="41"
|
|
18
|
+
viewBox="0 0 120 41"
|
|
19
|
+
fill="none"
|
|
20
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
21
|
+
>
|
|
22
|
+
<rect x="0.5" y="1" width="119" height="39" rx="5.5" fill="black" />
|
|
23
|
+
<rect x="0.5" y="1" width="119" height="39" rx="5.5" stroke="#A6A6A6" />
|
|
24
|
+
<path
|
|
25
|
+
d="M17.8051 19.9617L8.08984 30.5059C8.09076 30.5078 8.09076 30.5106 8.09167 30.5125C8.39005 31.6574 9.41203 32.5 10.6256 32.5C11.1111 32.5 11.5664 32.3656 11.957 32.1305L11.988 32.1118L22.9232 25.6593L17.8051 19.9617Z"
|
|
26
|
+
fill="#EA4335"
|
|
27
|
+
/>
|
|
28
|
+
<path
|
|
29
|
+
d="M27.6332 18.1662L27.624 18.1597L22.9029 15.3612L17.584 20.2013L22.922 25.6582L27.6177 22.8878C28.4407 22.4324 29.0001 21.545 29.0001 20.5223C29.0001 19.5052 28.4489 18.6225 27.6332 18.1662Z"
|
|
30
|
+
fill="#FBBC04"
|
|
31
|
+
/>
|
|
32
|
+
<path
|
|
33
|
+
d="M8.08942 10.4933C8.03102 10.7135 8 10.9449 8 11.1838V29.8163C8 30.0552 8.03102 30.2866 8.09034 30.5059L18.1386 20.2313L8.08942 10.4933Z"
|
|
34
|
+
fill="#4285F4"
|
|
35
|
+
/>
|
|
36
|
+
<path
|
|
37
|
+
d="M17.8771 20.4999L22.9049 15.3594L11.9825 8.88354C11.5856 8.63999 11.122 8.50003 10.6265 8.50003C9.41295 8.50003 8.38914 9.3445 8.09076 10.4904C8.09076 10.4913 8.08984 10.4922 8.08984 10.4932L17.8771 20.4999Z"
|
|
38
|
+
fill="#34A853"
|
|
39
|
+
/>
|
|
40
|
+
<path
|
|
41
|
+
d="M43.61 12.21C43.61 13.21 43.3133 14.0067 42.72 14.6C42.0533 15.3067 41.1767 15.66 40.09 15.66C39.05 15.66 38.17 15.3 37.45 14.58C36.73 13.86 36.37 12.9733 36.37 11.92C36.37 10.8667 36.73 9.98 37.45 9.26C38.17 8.54 39.05 8.18 40.09 8.18C40.6167 8.18 41.1133 8.27333 41.58 8.46C42.0467 8.64667 42.43 8.91 42.73 9.25L42.07 9.91C41.85 9.64333 41.5633 9.43667 41.21 9.29C40.8633 9.13667 40.49 9.06 40.09 9.06C39.31 9.06 38.65 9.33 38.11 9.87C37.5767 10.4167 37.31 11.1 37.31 11.92C37.31 12.74 37.5767 13.4233 38.11 13.97C38.65 14.51 39.31 14.78 40.09 14.78C40.8033 14.78 41.3967 14.58 41.87 14.18C42.3433 13.78 42.6167 13.23 42.69 12.53H40.09V11.67H43.56C43.5933 11.8567 43.61 12.0367 43.61 12.21ZM48.9078 8.34V9.22H45.6478V11.49H48.5878V12.35H45.6478V14.62H48.9078V15.5H44.7278V8.34H48.9078ZM52.5877 9.22V15.5H51.6677V9.22H49.6677V8.34H54.5877V9.22H52.5877ZM58.6654 15.5H57.7454V8.34H58.6654V15.5ZM62.5487 9.22V15.5H61.6287V9.22H59.6287V8.34H64.5487V9.22H62.5487ZM74.521 11.92C74.521 12.98 74.1677 13.8667 73.461 14.58C72.7477 15.3 71.8743 15.66 70.841 15.66C69.801 15.66 68.9277 15.3 68.221 14.58C67.5143 13.8667 67.161 12.98 67.161 11.92C67.161 10.86 67.5143 9.97333 68.221 9.26C68.9277 8.54 69.801 8.18 70.841 8.18C71.881 8.18 72.7543 8.54333 73.461 9.27C74.1677 9.98333 74.521 10.8667 74.521 11.92ZM68.101 11.92C68.101 12.7467 68.361 13.43 68.881 13.97C69.4077 14.51 70.061 14.78 70.841 14.78C71.621 14.78 72.271 14.51 72.791 13.97C73.3177 13.4367 73.581 12.7533 73.581 11.92C73.581 11.0867 73.3177 10.4033 72.791 9.87C72.271 9.33 71.621 9.06 70.841 9.06C70.061 9.06 69.4077 9.33 68.881 9.87C68.361 10.41 68.101 11.0933 68.101 11.92ZM76.5267 15.5H75.6067V8.34H76.7267L80.2067 13.91H80.2467L80.2067 12.53V8.34H81.1267V15.5H80.1667L76.5267 9.66H76.4867L76.5267 11.04V15.5Z"
|
|
42
|
+
fill="white"
|
|
43
|
+
/>
|
|
44
|
+
<path
|
|
45
|
+
d="M93.5181 31.9097H95.1469V20.8981H93.5181V31.9097ZM108.189 24.8646L106.322 29.6388H106.266L104.328 24.8646H102.573L105.479 31.5371L103.823 35.249H105.521L110 24.8646H108.189ZM98.9519 30.6588C98.4176 30.6588 97.6739 30.3902 97.6739 29.7234C97.6739 28.8742 98.6001 28.5483 99.4005 28.5483C100.116 28.5483 100.454 28.7042 100.889 28.9165C100.762 29.9365 99.892 30.6588 98.9519 30.6588ZM99.1483 24.6241C97.969 24.6241 96.7469 25.1482 96.2424 26.3101L97.6879 26.9188C97.9969 26.3101 98.5721 26.111 99.1762 26.111C100.019 26.111 100.875 26.621 100.889 27.5283V27.6411C100.594 27.471 99.9627 27.2165 99.1902 27.2165C97.632 27.2165 96.0451 28.0806 96.0451 29.6952C96.0451 31.1689 97.323 32.1184 98.7546 32.1184C99.8501 32.1184 100.454 31.6225 100.833 31.0411H100.889V31.8912H102.461V27.6692C102.461 25.7146 101.015 24.6241 99.1483 24.6241ZM89.0821 26.2053H86.7655V22.4308H89.0821C90.2998 22.4308 90.9911 23.4482 90.9911 24.3176C90.9911 25.1711 90.2998 26.2053 89.0821 26.2053ZM89.0402 20.8981H85.1375V31.9097H86.7655V27.7379H89.0402C90.8453 27.7379 92.6199 26.4184 92.6199 24.3176C92.6199 22.2168 90.8453 20.8981 89.0402 20.8981ZM67.7583 30.6606C66.6332 30.6606 65.6913 29.7102 65.6913 28.4047C65.6913 27.0852 66.6332 26.1198 67.7583 26.1198C68.8695 26.1198 69.7406 27.0852 69.7406 28.4047C69.7406 29.7102 68.8695 30.6606 67.7583 30.6606ZM69.6289 25.4812H69.5722C69.2064 25.0417 68.5038 24.6444 67.6178 24.6444C65.7611 24.6444 64.0599 26.2898 64.0599 28.4047C64.0599 30.5047 65.7611 32.1369 67.6178 32.1369C68.5038 32.1369 69.2064 31.7396 69.5722 31.2851H69.6289V31.8251C69.6289 33.2582 68.8695 34.0246 67.6457 34.0246C66.6471 34.0246 66.0282 33.3005 65.7751 32.6901L64.3549 33.2864C64.7626 34.28 65.8458 35.5 67.6457 35.5C69.5582 35.5 71.1757 34.3646 71.1757 31.5978V24.8708H69.6289V25.4812ZM72.3008 31.9097H73.9323V20.8973H72.3008V31.9097ZM76.3362 28.277C76.2943 26.8298 77.4474 26.0916 78.2766 26.0916C78.9243 26.0916 79.4725 26.4176 79.6549 26.8862L76.3362 28.277ZM81.3989 27.028C81.0899 26.1912 80.1472 24.6444 78.2208 24.6444C76.3083 24.6444 74.7196 26.1621 74.7196 28.3907C74.7196 30.4906 76.2943 32.1369 78.4032 32.1369C80.1053 32.1369 81.0899 31.0869 81.4976 30.4765L80.2319 29.6247C79.8103 30.2493 79.2333 30.6606 78.4032 30.6606C77.5739 30.6606 76.983 30.2774 76.6033 29.5261L81.5674 27.4534L81.3989 27.028ZM41.8501 25.7939V27.383H45.6184C45.5058 28.277 45.2107 28.9297 44.7612 29.3834C44.2121 29.9374 43.3541 30.5479 41.8501 30.5479C39.5291 30.5479 37.7152 28.6602 37.7152 26.3189C37.7152 23.9767 39.5291 22.0899 41.8501 22.0899C43.1018 22.0899 44.0157 22.5867 44.6905 23.2254L45.8017 22.104C44.8589 21.1959 43.6081 20.5 41.8501 20.5C38.6719 20.5 36 23.1117 36 26.3189C36 29.5261 38.6719 32.1369 41.8501 32.1369C43.5653 32.1369 44.8589 31.5688 45.8715 30.5047C46.9129 29.4547 47.2358 27.9793 47.2358 26.7866C47.2358 26.4176 47.2079 26.0775 47.1512 25.7939H41.8501ZM51.5208 30.6606C50.3957 30.6606 49.425 29.7243 49.425 28.3907C49.425 27.0421 50.3957 26.1198 51.5208 26.1198C52.6451 26.1198 53.6158 27.0421 53.6158 28.3907C53.6158 29.7243 52.6451 30.6606 51.5208 30.6606ZM51.5208 24.6444C49.4669 24.6444 47.7936 26.2194 47.7936 28.3907C47.7936 30.5479 49.4669 32.1369 51.5208 32.1369C53.5739 32.1369 55.2472 30.5479 55.2472 28.3907C55.2472 26.2194 53.5739 24.6444 51.5208 24.6444ZM59.65 30.6606C58.5249 30.6606 57.5542 29.7243 57.5542 28.3907C57.5542 27.0421 58.5249 26.1198 59.65 26.1198C60.7752 26.1198 61.745 27.0421 61.745 28.3907C61.745 29.7243 60.7752 30.6606 59.65 30.6606ZM59.65 24.6444C57.597 24.6444 55.9237 26.2194 55.9237 28.3907C55.9237 30.5479 57.597 32.1369 59.65 32.1369C61.7031 32.1369 63.3764 30.5479 63.3764 28.3907C63.3764 26.2194 61.7031 24.6444 59.65 24.6444Z"
|
|
46
|
+
fill="white"
|
|
47
|
+
/>
|
|
48
|
+
</svg>
|
|
49
|
+
`;
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
exports.GoogleIcon = GoogleIcon;
|
|
53
|
+
exports.GoogleIcon = GoogleIcon = __decorate([
|
|
54
|
+
(0, decorators_js_1.customElement)("google-icon")
|
|
55
|
+
], GoogleIcon);
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.GradientDonutIcon = void 0;
|
|
10
|
+
const lit_1 = require("lit");
|
|
11
|
+
const decorators_js_1 = require("lit/decorators.js");
|
|
12
|
+
let GradientDonutIcon = class GradientDonutIcon extends lit_1.LitElement {
|
|
13
|
+
constructor() {
|
|
14
|
+
super(...arguments);
|
|
15
|
+
this.startColour = "#0397FC";
|
|
16
|
+
this.endColour = "#F2F2F2";
|
|
17
|
+
this.spinning = false;
|
|
18
|
+
}
|
|
19
|
+
render() {
|
|
20
|
+
return (0, lit_1.html) `
|
|
21
|
+
<svg
|
|
22
|
+
class="${this.spinning ? "spin" : ""}"
|
|
23
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
24
|
+
width="20"
|
|
25
|
+
height="21"
|
|
26
|
+
viewBox="0 0 20 21"
|
|
27
|
+
fill="none"
|
|
28
|
+
style="display: inline-block; vertical-align: text-top;"
|
|
29
|
+
>
|
|
30
|
+
<path
|
|
31
|
+
d="M17.5 10.5001C17.5 11.485 17.306 12.4602 16.9291 13.3702C16.5522 14.2801 15.9997 15.1069 15.3033 15.8034C14.6069 16.4998 13.7801 17.0522 12.8701 17.4292C11.9602 17.8061 10.9849 18.0001 10 18.0001C9.01508 18.0001 8.03982 17.8061 7.12987 17.4292C6.21993 17.0522 5.39314 16.4998 4.6967 15.8034C4.00026 15.1069 3.44781 14.2801 3.0709 13.3702C2.69399 12.4602 2.5 11.485 2.5 10.5001C2.5 9.51515 2.69399 8.53988 3.0709 7.62993C3.44781 6.71999 4.00026 5.8932 4.6967 5.19676C5.39314 4.50032 6.21993 3.94787 7.12987 3.57096C8.03982 3.19405 9.01509 3.00006 10 3.00006C10.9849 3.00006 11.9602 3.19405 12.8701 3.57096C13.7801 3.94788 14.6069 4.50032 15.3033 5.19676C15.9997 5.8932 16.5522 6.71999 16.9291 7.62994C17.306 8.53988 17.5 9.51515 17.5 10.5001L17.5 10.5001Z"
|
|
32
|
+
stroke="#F2F2F2"
|
|
33
|
+
stroke-width="5"
|
|
34
|
+
/>
|
|
35
|
+
<path
|
|
36
|
+
d="M18 10.5001C18 11.5506 17.7931 12.5909 17.391 13.5615C16.989 14.5321 16.3997 15.414 15.6569 16.1569C14.914 16.8998 14.0321 17.4891 13.0615 17.8911C12.0909 18.2931 11.0506 18.5001 10 18.5001C8.94942 18.5001 7.90914 18.2931 6.93853 17.8911C5.96793 17.4891 5.08601 16.8998 4.34315 16.1569C3.60028 15.414 3.011 14.5321 2.60896 13.5615C2.20693 12.5909 2 11.5506 2 10.5001C2 9.44948 2.20693 8.4092 2.60896 7.43859C3.011 6.46799 3.60028 5.58607 4.34315 4.84321C5.08601 4.10034 5.96793 3.51106 6.93853 3.10902C7.90914 2.70699 8.94943 2.50006 10 2.50006C11.0506 2.50006 12.0909 2.70699 13.0615 3.10903C14.0321 3.51106 14.914 4.10034 15.6569 4.84321C16.3997 5.58608 16.989 6.46799 17.391 7.43859C17.7931 8.4092 18 9.44949 18 10.5001L18 10.5001Z"
|
|
37
|
+
stroke="url(#paint0_linear_gradient_donut)"
|
|
38
|
+
stroke-width="4"
|
|
39
|
+
stroke-linecap="round"
|
|
40
|
+
/>
|
|
41
|
+
<defs>
|
|
42
|
+
<linearGradient
|
|
43
|
+
id="paint0_linear_gradient_donut"
|
|
44
|
+
x1="10"
|
|
45
|
+
y1="0.500061"
|
|
46
|
+
x2="10"
|
|
47
|
+
y2="20.5001"
|
|
48
|
+
gradientUnits="userSpaceOnUse"
|
|
49
|
+
>
|
|
50
|
+
<stop stop-color="${this.startColour}" />
|
|
51
|
+
<stop offset="1" stop-color="${this.endColour}" />
|
|
52
|
+
</linearGradient>
|
|
53
|
+
</defs>
|
|
54
|
+
</svg>
|
|
55
|
+
`;
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
exports.GradientDonutIcon = GradientDonutIcon;
|
|
59
|
+
GradientDonutIcon.styles = (0, lit_1.css) `
|
|
60
|
+
@keyframes spin {
|
|
61
|
+
from {
|
|
62
|
+
transform: rotate(0deg);
|
|
63
|
+
}
|
|
64
|
+
to {
|
|
65
|
+
transform: rotate(360deg);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.spin {
|
|
70
|
+
animation: spin 1s linear infinite;
|
|
71
|
+
display: inline-block;
|
|
72
|
+
}
|
|
73
|
+
`;
|
|
74
|
+
__decorate([
|
|
75
|
+
(0, decorators_js_1.property)({ type: String })
|
|
76
|
+
], GradientDonutIcon.prototype, "startColour", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, decorators_js_1.property)({ type: String })
|
|
79
|
+
], GradientDonutIcon.prototype, "endColour", void 0);
|
|
80
|
+
__decorate([
|
|
81
|
+
(0, decorators_js_1.property)({ type: Boolean })
|
|
82
|
+
], GradientDonutIcon.prototype, "spinning", void 0);
|
|
83
|
+
exports.GradientDonutIcon = GradientDonutIcon = __decorate([
|
|
84
|
+
(0, decorators_js_1.customElement)("gradient-donut-icon")
|
|
85
|
+
], GradientDonutIcon);
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.KeyringIcon = void 0;
|
|
10
|
+
const lit_1 = require("lit");
|
|
11
|
+
const decorators_js_1 = require("lit/decorators.js");
|
|
12
|
+
let KeyringIcon = class KeyringIcon extends lit_1.LitElement {
|
|
13
|
+
render() {
|
|
14
|
+
return (0, lit_1.html) `
|
|
15
|
+
<svg
|
|
16
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
17
|
+
width="86"
|
|
18
|
+
height="13"
|
|
19
|
+
viewBox="0 0 86 13"
|
|
20
|
+
fill="none"
|
|
21
|
+
>
|
|
22
|
+
<path
|
|
23
|
+
d="M9.71875 12.1707H7.88965L7.86523 12.1404L3.58105 6.69122L2.11426 8.0545V12.1707H0.418945V0.493958H2.11426V5.82501L7.72168 0.516418L7.74512 0.493958H9.7666V0.930481L9.74121 0.953918L4.78711 5.56427L9.70117 11.7195L9.71875 11.742V12.1707Z"
|
|
24
|
+
fill="#75849A"
|
|
25
|
+
stroke="#0F2830"
|
|
26
|
+
stroke-width="0.161828"
|
|
27
|
+
/>
|
|
28
|
+
<path
|
|
29
|
+
d="M21.751 0.493958V2.03107H15.999V5.32404H21.1914V6.86115H15.999V10.6336H21.8311V12.1707H14.3037V0.493958H21.751Z"
|
|
30
|
+
fill="#75849A"
|
|
31
|
+
stroke="#0F2830"
|
|
32
|
+
stroke-width="0.161828"
|
|
33
|
+
/>
|
|
34
|
+
<path
|
|
35
|
+
d="M28.085 0.493958L28.1074 0.538879L31.0625 6.45685C31.0752 6.48224 31.0829 6.48646 31.084 6.48712C31.0855 6.488 31.0921 6.492 31.1182 6.492C31.1446 6.492 31.151 6.48791 31.1523 6.48712C31.1535 6.48642 31.1612 6.48214 31.1738 6.45685L34.1289 0.538879L34.1514 0.493958H35.8643V0.914856L35.8545 0.932434L30.0479 12.1277L30.0254 12.1707H28.3535V11.7508L28.3623 11.7332L30.1797 8.25861L26.3809 0.932434L26.3721 0.914856V0.493958H28.085Z"
|
|
36
|
+
fill="#75849A"
|
|
37
|
+
stroke="#0F2830"
|
|
38
|
+
stroke-width="0.161828"
|
|
39
|
+
/>
|
|
40
|
+
<path
|
|
41
|
+
d="M41.7021 5.8299H44.4512C45.1696 5.82986 45.713 5.68735 46.0762 5.38556C46.4364 5.08603 46.6338 4.61664 46.6338 3.9295C46.6337 3.24254 46.4363 2.77391 46.0762 2.47443C45.713 2.17255 45.1697 2.03012 44.4512 2.03009H41.7021V5.8299ZM47.7705 12.158H46.1035L46.083 12.1092L44.0361 7.36603H41.7021V12.158H40.0303V0.493958H44.6084C45.6828 0.494002 46.6081 0.776874 47.2656 1.35236C47.9248 1.92937 48.3056 2.79227 48.3057 3.9295C48.3057 4.87532 48.0435 5.63192 47.5752 6.1922C47.1265 6.72903 46.4931 7.07711 45.7363 7.24493L47.7637 11.7244L47.7705 11.7401V12.158Z"
|
|
42
|
+
fill="#75849A"
|
|
43
|
+
stroke="#0F2830"
|
|
44
|
+
stroke-width="0.161828"
|
|
45
|
+
/>
|
|
46
|
+
<path
|
|
47
|
+
d="M55.2822 0.493958V12.1707H53.5869V0.493958H55.2822Z"
|
|
48
|
+
fill="#75849A"
|
|
49
|
+
stroke="#0F2830"
|
|
50
|
+
stroke-width="0.161828"
|
|
51
|
+
/>
|
|
52
|
+
<path
|
|
53
|
+
d="M64.2471 0.493958L64.2666 0.546692L67.9395 10.4451L67.9648 10.4813C67.9725 10.4854 67.9878 10.49 68.0244 10.4901C68.0365 10.4901 68.0433 10.4882 68.0459 10.4871C68.0476 10.4864 68.0477 10.4853 68.0479 10.4852C68.0494 10.4829 68.0556 10.4725 68.0557 10.4432V0.493958H69.751V12.1707H66.8184L66.7988 12.118L63.125 2.22052L63.0996 2.18341C63.092 2.1793 63.0768 2.1756 63.04 2.1756C63.0283 2.1756 63.0222 2.17749 63.0195 2.17853C63.0175 2.17934 63.0167 2.17937 63.0166 2.1795C63.0154 2.18108 63.0088 2.19162 63.0088 2.22247V12.1707H61.3135V0.493958H64.2471Z"
|
|
54
|
+
fill="#75849A"
|
|
55
|
+
stroke="#0F2830"
|
|
56
|
+
stroke-width="0.161828"
|
|
57
|
+
/>
|
|
58
|
+
<path
|
|
59
|
+
d="M80.0273 0.421265C78.3285 0.421265 77.0897 0.988138 76.2705 1.84607C75.4525 2.70292 75.0593 3.84387 75.0361 4.98083L75.0342 5.06287H76.668L76.6719 4.98669C76.7167 4.20891 76.976 3.44894 77.5098 2.88416C78.0423 2.3208 78.8563 1.94275 80.0273 1.94275C81.2218 1.94281 82.1981 2.38853 82.877 3.17615C83.5569 3.9651 83.9443 5.10476 83.9443 6.50232C83.9443 7.89988 83.5569 9.03954 82.877 9.82849C82.1981 10.6161 81.2218 11.0618 80.0273 11.0619C78.8645 11.0619 78.0667 10.7319 77.5557 10.2142C77.0617 9.71388 76.827 9.02768 76.7979 8.26306H80.792V6.72498H75.1426V7.68591C75.1426 9.19297 75.5725 10.4199 76.4102 11.2699C77.2481 12.12 78.4833 12.5833 80.0723 12.5834C81.75 12.5834 83.1305 11.9754 84.0898 10.9066C85.0484 9.83879 85.5811 8.3178 85.5811 6.50232C85.5811 4.68689 85.0483 3.16591 84.084 2.09802C83.1188 1.02929 81.7275 0.421328 80.0273 0.421265Z"
|
|
60
|
+
fill="#75849A"
|
|
61
|
+
stroke="#0F2830"
|
|
62
|
+
stroke-width="0.161828"
|
|
63
|
+
/>
|
|
64
|
+
</svg>
|
|
65
|
+
`;
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
exports.KeyringIcon = KeyringIcon;
|
|
69
|
+
exports.KeyringIcon = KeyringIcon = __decorate([
|
|
70
|
+
(0, decorators_js_1.customElement)("keyring-icon")
|
|
71
|
+
], KeyringIcon);
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.MobileGridIcon = void 0;
|
|
10
|
+
const lit_1 = require("lit");
|
|
11
|
+
const decorators_js_1 = require("lit/decorators.js");
|
|
12
|
+
let MobileGridIcon = class MobileGridIcon extends lit_1.LitElement {
|
|
13
|
+
render() {
|
|
14
|
+
return (0, lit_1.html) `
|
|
15
|
+
<svg
|
|
16
|
+
width="48"
|
|
17
|
+
height="49"
|
|
18
|
+
viewBox="0 0 48 49"
|
|
19
|
+
fill="none"
|
|
20
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
21
|
+
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
22
|
+
>
|
|
23
|
+
<rect x="20.9785" y="5.5" width="20" height="19" rx="4" fill="white" />
|
|
24
|
+
<rect x="20.9785" y="5.5" width="20" height="19" rx="4" fill="url(#pattern0_9297_28924)" />
|
|
25
|
+
<path
|
|
26
|
+
d="M18.2583 7.74219H16.6393C12.6423 7.74219 9.40234 10.9822 9.40234 14.9802L9.40414 36.5082C9.40414 40.5022 12.6441 43.7422 16.6393 43.7422H27.6708C31.6678 43.7422 34.906 40.5022 34.906 36.5062L34.904 27.5782"
|
|
27
|
+
stroke="black"
|
|
28
|
+
stroke-opacity="0.88"
|
|
29
|
+
stroke-width="2"
|
|
30
|
+
stroke-linecap="round"
|
|
31
|
+
stroke-linejoin="round"
|
|
32
|
+
/>
|
|
33
|
+
<path
|
|
34
|
+
d="M22.1514 36.2746V36.1486M21.6328 36.2486C21.6328 35.9606 21.8666 35.7266 22.1546 35.7266C22.4426 35.7266 22.676 35.9606 22.676 36.2486C22.676 36.5366 22.4426 36.7706 22.1546 36.7706C21.8666 36.7706 21.6328 36.5366 21.6328 36.2486Z"
|
|
35
|
+
stroke="black"
|
|
36
|
+
stroke-opacity="0.88"
|
|
37
|
+
stroke-width="2"
|
|
38
|
+
stroke-linecap="round"
|
|
39
|
+
stroke-linejoin="round"
|
|
40
|
+
/>
|
|
41
|
+
<defs>
|
|
42
|
+
<pattern
|
|
43
|
+
id="pattern0_9297_28924"
|
|
44
|
+
patternContentUnits="objectBoundingBox"
|
|
45
|
+
width="1"
|
|
46
|
+
height="1"
|
|
47
|
+
>
|
|
48
|
+
<use
|
|
49
|
+
xlink:href="#image0_9297_28924"
|
|
50
|
+
transform="matrix(0.00675676 0 0 0.00711238 0 -0.0263158)"
|
|
51
|
+
/>
|
|
52
|
+
</pattern>
|
|
53
|
+
<image
|
|
54
|
+
id="image0_9297_28924"
|
|
55
|
+
width="148"
|
|
56
|
+
height="148"
|
|
57
|
+
preserveAspectRatio="none"
|
|
58
|
+
xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJQAAACUCAYAAAB1PADUAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAlMSURBVHgB7Z1diJRlFMfPrMEqZBoYmIZsXuh6YS34QdQKmt6t+QFdyIqKlOWaUamB20V+QK0XIQV+4lWKy3ajm7VBoCkoXWTC0l7odtOy4AdhsLZCelHT+3/XWYZhP+a8c2b2PO/8f7DOjOvFOO9vzjnPeZ73eTJSwPT6huWSlbXZjKyLXtYJIYVkpTvyo7tG5MDAre6+/F9lck+m1zVM/2+K7Mtk5UMhpEgisb6s+ScSq697AK9joSBTtlYuR68ahBAtUcTKPJYVkKoGrxGZKBNJTORO7BCeRjVTXVbkDyGkRKJ0twIRap8QYkFW1tVkmeqIEZFLa2siqygUsaKuRggxhEIRUygUMYVCEVMoFDGFQhFTKBQxhUIRUygUMYVCEVMoFDGFQhFTKBQxhUIRUygUMYVCEVMoFDGFQhFTKBQxhUIRUygUMeUpqWIWLpgvC+vny7SpTw89PjM1ej51+DGf/tt34scHg4Pxc/z03Pp9+DkZomqEgiSQpmnlcmlculjmzJoV/12xzJk9a9TfPfh7MJKrV7ouXZZr129Iz81eqVYy0+obspJSchLtfe/d4QhUCRCxrv3yqxw/0151cqVSKIjTsqlZWjZvrJhEowG5Dh05Ie2d30k1kCqhPIlUSLWIlRqhWjY3R6ltuzuRCkm7WMELhWL52OcH4kI7JFDAt7Z9kboRYtB9KESlq+c6gpMJNK1cIVfPd0jz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4EP1DRVpp6qFIvZwj01iCoUiplAoYgqFIqZQKGIKhSKmUChiCoUiplAoYgqFIqZQKGIKhSKmUChiCoUiplAoYgqFIqZQKGIKhSKmUChiCoUiplAoYkpNRqRPCLEgI9010R/fCiEGZLMQKiudQogBUf10YNKj+/f6pjw389no9StCSEIyWflqoLe7Y6gor5X9yH9CSBKiVCePI4ciJuGPR/fuPZrywsxvMv/KFGGkIgoQmTKPZetAX/dA/LrwH0yvb6iLHhCxXo6KrAYhpIC4M5CNBnMZ6Ry41X0l/3f/A4I71Rzd85W1AAAAAElFTkSuQmCC"
|
|
59
|
+
/>
|
|
60
|
+
</defs>
|
|
61
|
+
</svg>
|
|
62
|
+
`;
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
exports.MobileGridIcon = MobileGridIcon;
|
|
66
|
+
exports.MobileGridIcon = MobileGridIcon = __decorate([
|
|
67
|
+
(0, decorators_js_1.customElement)("mobile-grid-icon")
|
|
68
|
+
], MobileGridIcon);
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.SuccessIcon = void 0;
|
|
10
|
+
const lit_1 = require("lit");
|
|
11
|
+
const decorators_js_1 = require("lit/decorators.js");
|
|
12
|
+
let SuccessIcon = class SuccessIcon extends lit_1.LitElement {
|
|
13
|
+
render() {
|
|
14
|
+
return (0, lit_1.html) `
|
|
15
|
+
<svg
|
|
16
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
17
|
+
width="52"
|
|
18
|
+
height="52"
|
|
19
|
+
viewBox="0 0 52 52"
|
|
20
|
+
fill="none"
|
|
21
|
+
>
|
|
22
|
+
<path
|
|
23
|
+
fill-rule="evenodd"
|
|
24
|
+
clip-rule="evenodd"
|
|
25
|
+
d="M36.6483 21.2587L24.3337 33.5734C23.9417 33.9654 23.4323 34.16 22.9203 34.16C22.4057 34.16 21.8963 33.9654 21.5043 33.5734L15.347 27.416C14.5657 26.6347 14.5657 25.368 15.347 24.5867C16.1283 23.8054 17.3923 23.8054 18.1737 24.5867L22.9203 29.3307L33.819 18.4294C34.6003 17.648 35.867 17.648 36.6483 18.4294C37.4297 19.2107 37.4297 20.4774 36.6483 21.2587ZM26.0003 0.666687C12.0323 0.666687 0.666992 12.032 0.666992 26C0.666992 39.9707 12.0323 51.3334 26.0003 51.3334C39.9683 51.3334 51.3337 39.9707 51.3337 26C51.3337 12.032 39.9683 0.666687 26.0003 0.666687Z"
|
|
26
|
+
fill="black"
|
|
27
|
+
/>
|
|
28
|
+
<path
|
|
29
|
+
fill-rule="evenodd"
|
|
30
|
+
clip-rule="evenodd"
|
|
31
|
+
d="M36.6483 21.2587L24.3337 33.5734C23.9417 33.9654 23.4323 34.16 22.9203 34.16C22.4057 34.16 21.8963 33.9654 21.5043 33.5734L15.347 27.416C14.5657 26.6347 14.5657 25.368 15.347 24.5867C16.1283 23.8054 17.3923 23.8054 18.1737 24.5867L22.9203 29.3307L33.819 18.4294C34.6003 17.648 35.867 17.648 36.6483 18.4294C37.4297 19.2107 37.4297 20.4774 36.6483 21.2587ZM26.0003 0.666687C12.0323 0.666687 0.666992 12.032 0.666992 26C0.666992 39.9707 12.0323 51.3334 26.0003 51.3334C39.9683 51.3334 51.3337 39.9707 51.3337 26C51.3337 12.032 39.9683 0.666687 26.0003 0.666687Z"
|
|
32
|
+
fill="url(#paint0_linear_9144_120495)"
|
|
33
|
+
/>
|
|
34
|
+
<defs>
|
|
35
|
+
<linearGradient
|
|
36
|
+
id="paint0_linear_9144_120495"
|
|
37
|
+
x1="0.666992"
|
|
38
|
+
y1="26"
|
|
39
|
+
x2="51.3337"
|
|
40
|
+
y2="26"
|
|
41
|
+
gradientUnits="userSpaceOnUse"
|
|
42
|
+
>
|
|
43
|
+
<stop stop-color="#3B6FF7" />
|
|
44
|
+
<stop offset="1" stop-color="#0397FC" />
|
|
45
|
+
</linearGradient>
|
|
46
|
+
</defs>
|
|
47
|
+
</svg>
|
|
48
|
+
`;
|
|
49
|
+
}
|
|
50
|
+
};
|
|
51
|
+
exports.SuccessIcon = SuccessIcon;
|
|
52
|
+
exports.SuccessIcon = SuccessIcon = __decorate([
|
|
53
|
+
(0, decorators_js_1.customElement)("success-icon")
|
|
54
|
+
], SuccessIcon);
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Environment configuration for internal SDK use
|
|
3
|
+
*/
|
|
4
|
+
export interface EnvironmentConfig {
|
|
5
|
+
apiUrl: string;
|
|
6
|
+
timeout: number;
|
|
7
|
+
retryAttempts: number;
|
|
8
|
+
extensionTimeout: number;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Environment detection and configuration
|
|
12
|
+
*/
|
|
13
|
+
export declare class Environment {
|
|
14
|
+
/**
|
|
15
|
+
* Detect current environment
|
|
16
|
+
*/
|
|
17
|
+
static getEnvironment(): "development" | "test" | "production";
|
|
18
|
+
/**
|
|
19
|
+
* Get environment-specific configuration
|
|
20
|
+
*/
|
|
21
|
+
static getConfig(): EnvironmentConfig;
|
|
22
|
+
/**
|
|
23
|
+
* Check if running in development mode
|
|
24
|
+
*/
|
|
25
|
+
static isDevelopment(): boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Check if running in test mode
|
|
28
|
+
*/
|
|
29
|
+
static isTest(): boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Check if running in production mode
|
|
32
|
+
*/
|
|
33
|
+
static isProduction(): boolean;
|
|
34
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Environment = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Environment detection and configuration
|
|
6
|
+
*/
|
|
7
|
+
class Environment {
|
|
8
|
+
/**
|
|
9
|
+
* Detect current environment
|
|
10
|
+
*/
|
|
11
|
+
static getEnvironment() {
|
|
12
|
+
var _a, _b;
|
|
13
|
+
if (typeof process !== "undefined" && ((_a = process.env) === null || _a === void 0 ? void 0 : _a.NODE_ENV)) {
|
|
14
|
+
return process.env.NODE_ENV;
|
|
15
|
+
}
|
|
16
|
+
// Browser environment detection
|
|
17
|
+
if (typeof window !== "undefined") {
|
|
18
|
+
const hostname = (_b = window.location) === null || _b === void 0 ? void 0 : _b.hostname;
|
|
19
|
+
if (hostname === "localhost" || hostname === "127.0.0.1") {
|
|
20
|
+
return "development";
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
return "production";
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Get environment-specific configuration
|
|
27
|
+
*/
|
|
28
|
+
static getConfig() {
|
|
29
|
+
const env = this.getEnvironment();
|
|
30
|
+
switch (env) {
|
|
31
|
+
case "production":
|
|
32
|
+
return {
|
|
33
|
+
apiUrl: "https://sandbox-titan.api.keyring-backend.krndev.net",
|
|
34
|
+
timeout: 60000,
|
|
35
|
+
retryAttempts: 5,
|
|
36
|
+
extensionTimeout: 10000,
|
|
37
|
+
};
|
|
38
|
+
case "development":
|
|
39
|
+
default:
|
|
40
|
+
return {
|
|
41
|
+
apiUrl: "https://sandbox-titan.api.keyring-backend.krndev.net",
|
|
42
|
+
timeout: 30000,
|
|
43
|
+
retryAttempts: 3,
|
|
44
|
+
extensionTimeout: 5000,
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Check if running in development mode
|
|
50
|
+
*/
|
|
51
|
+
static isDevelopment() {
|
|
52
|
+
return this.getEnvironment() === "development";
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Check if running in test mode
|
|
56
|
+
*/
|
|
57
|
+
static isTest() {
|
|
58
|
+
return this.getEnvironment() === "test";
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Check if running in production mode
|
|
62
|
+
*/
|
|
63
|
+
static isProduction() {
|
|
64
|
+
return this.getEnvironment() === "production";
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
exports.Environment = Environment;
|