@kya-os/consent 0.2.3 → 0.4.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 (218) hide show
  1. package/README.md +223 -4
  2. package/dist/bundle/index.d.ts +10 -0
  3. package/dist/bundle/index.d.ts.map +1 -1
  4. package/dist/bundle/index.js +10 -0
  5. package/dist/bundle/index.js.map +1 -1
  6. package/dist/bundle/inline.d.ts.map +1 -1
  7. package/dist/bundle/inline.js +4 -4
  8. package/dist/bundle/inline.js.map +1 -1
  9. package/dist/cjs/bundle/index.js +10 -0
  10. package/dist/cjs/bundle/index.js.map +1 -1
  11. package/dist/cjs/bundle/inline.js +4 -4
  12. package/dist/cjs/bundle/inline.js.map +1 -1
  13. package/dist/cjs/components/consent-action-bar.js +66 -15
  14. package/dist/cjs/components/consent-action-bar.js.map +1 -1
  15. package/dist/cjs/components/consent-agent-header.js +5 -1
  16. package/dist/cjs/components/consent-agent-header.js.map +1 -1
  17. package/dist/cjs/components/consent-capabilities-screen.js +56 -4
  18. package/dist/cjs/components/consent-capabilities-screen.js.map +1 -1
  19. package/dist/cjs/components/consent-capability-card.js +75 -24
  20. package/dist/cjs/components/consent-capability-card.js.map +1 -1
  21. package/dist/cjs/components/consent-checkbox.js +2 -2
  22. package/dist/cjs/components/consent-checkbox.js.map +1 -1
  23. package/dist/cjs/components/consent-duration.js +187 -0
  24. package/dist/cjs/components/consent-duration.js.map +1 -0
  25. package/dist/cjs/components/consent-folder-scope.js +169 -0
  26. package/dist/cjs/components/consent-folder-scope.js.map +1 -0
  27. package/dist/cjs/components/consent-footer.js +13 -2
  28. package/dist/cjs/components/consent-footer.js.map +1 -1
  29. package/dist/cjs/components/consent-grant-terms.js +321 -0
  30. package/dist/cjs/components/consent-grant-terms.js.map +1 -0
  31. package/dist/cjs/components/consent-headline.js +50 -1
  32. package/dist/cjs/components/consent-headline.js.map +1 -1
  33. package/dist/cjs/components/consent-input.js +47 -27
  34. package/dist/cjs/components/consent-input.js.map +1 -1
  35. package/dist/cjs/components/consent-otp-input.js +49 -42
  36. package/dist/cjs/components/consent-otp-input.js.map +1 -1
  37. package/dist/cjs/components/consent-phone-handoff.js +219 -0
  38. package/dist/cjs/components/consent-phone-handoff.js.map +1 -0
  39. package/dist/cjs/components/consent-request-expiry.js +159 -0
  40. package/dist/cjs/components/consent-request-expiry.js.map +1 -0
  41. package/dist/cjs/components/consent-revoke.js +308 -0
  42. package/dist/cjs/components/consent-revoke.js.map +1 -0
  43. package/dist/cjs/components/consent-shell.js +3 -0
  44. package/dist/cjs/components/consent-shell.js.map +1 -1
  45. package/dist/cjs/components/consent-terms.js +2 -2
  46. package/dist/cjs/components/consent-terms.js.map +1 -1
  47. package/dist/cjs/components/consent-wallet-check.js +107 -0
  48. package/dist/cjs/components/consent-wallet-check.js.map +1 -0
  49. package/dist/cjs/components/consent-wallet-notice.js +189 -0
  50. package/dist/cjs/components/consent-wallet-notice.js.map +1 -0
  51. package/dist/cjs/components/consent-wallet-orb.js +273 -0
  52. package/dist/cjs/components/consent-wallet-orb.js.map +1 -0
  53. package/dist/cjs/components/consent-wallet-signature.js +104 -0
  54. package/dist/cjs/components/consent-wallet-signature.js.map +1 -0
  55. package/dist/cjs/components/grant-field-styles.js +85 -0
  56. package/dist/cjs/components/grant-field-styles.js.map +1 -0
  57. package/dist/cjs/components/index.js +33 -1
  58. package/dist/cjs/components/index.js.map +1 -1
  59. package/dist/cjs/components/mcp-consent.js +18 -1
  60. package/dist/cjs/components/mcp-consent.js.map +1 -1
  61. package/dist/cjs/components/template-link.js +32 -0
  62. package/dist/cjs/components/template-link.js.map +1 -0
  63. package/dist/cjs/components/wallet-globe.js +184 -0
  64. package/dist/cjs/components/wallet-globe.js.map +1 -0
  65. package/dist/cjs/components/wallet-icons.js +19 -0
  66. package/dist/cjs/components/wallet-icons.js.map +1 -0
  67. package/dist/cjs/components/wallet-status.js +34 -0
  68. package/dist/cjs/components/wallet-status.js.map +1 -0
  69. package/dist/cjs/constants/capabilities.js +11 -2
  70. package/dist/cjs/constants/capabilities.js.map +1 -1
  71. package/dist/cjs/copy/tokens.js +91 -0
  72. package/dist/cjs/copy/tokens.js.map +1 -1
  73. package/dist/cjs/grant/index.js +24 -0
  74. package/dist/cjs/grant/index.js.map +1 -0
  75. package/dist/cjs/grant/terms.js +148 -0
  76. package/dist/cjs/grant/terms.js.map +1 -0
  77. package/dist/cjs/index.js +2 -0
  78. package/dist/cjs/index.js.map +1 -1
  79. package/dist/cjs/mcp-app/inline.js +2 -2
  80. package/dist/cjs/mcp-app/inline.js.map +1 -1
  81. package/dist/cjs/react/index.js +120 -1
  82. package/dist/cjs/react/index.js.map +1 -1
  83. package/dist/components/consent-action-bar.d.ts +17 -0
  84. package/dist/components/consent-action-bar.d.ts.map +1 -1
  85. package/dist/components/consent-action-bar.js +67 -16
  86. package/dist/components/consent-action-bar.js.map +1 -1
  87. package/dist/components/consent-agent-header.d.ts.map +1 -1
  88. package/dist/components/consent-agent-header.js +5 -1
  89. package/dist/components/consent-agent-header.js.map +1 -1
  90. package/dist/components/consent-capabilities-screen.d.ts +24 -3
  91. package/dist/components/consent-capabilities-screen.d.ts.map +1 -1
  92. package/dist/components/consent-capabilities-screen.js +54 -3
  93. package/dist/components/consent-capabilities-screen.js.map +1 -1
  94. package/dist/components/consent-capability-card.d.ts +19 -2
  95. package/dist/components/consent-capability-card.d.ts.map +1 -1
  96. package/dist/components/consent-capability-card.js +74 -23
  97. package/dist/components/consent-capability-card.js.map +1 -1
  98. package/dist/components/consent-checkbox.d.ts +1 -1
  99. package/dist/components/consent-checkbox.js +2 -2
  100. package/dist/components/consent-checkbox.js.map +1 -1
  101. package/dist/components/consent-duration.d.ts +64 -0
  102. package/dist/components/consent-duration.d.ts.map +1 -0
  103. package/dist/components/consent-duration.js +184 -0
  104. package/dist/components/consent-duration.js.map +1 -0
  105. package/dist/components/consent-folder-scope.d.ts +70 -0
  106. package/dist/components/consent-folder-scope.d.ts.map +1 -0
  107. package/dist/components/consent-folder-scope.js +166 -0
  108. package/dist/components/consent-folder-scope.js.map +1 -0
  109. package/dist/components/consent-footer.d.ts.map +1 -1
  110. package/dist/components/consent-footer.js +13 -2
  111. package/dist/components/consent-footer.js.map +1 -1
  112. package/dist/components/consent-grant-terms.d.ts +88 -0
  113. package/dist/components/consent-grant-terms.d.ts.map +1 -0
  114. package/dist/components/consent-grant-terms.js +318 -0
  115. package/dist/components/consent-grant-terms.js.map +1 -0
  116. package/dist/components/consent-headline.d.ts +25 -0
  117. package/dist/components/consent-headline.d.ts.map +1 -1
  118. package/dist/components/consent-headline.js +52 -3
  119. package/dist/components/consent-headline.js.map +1 -1
  120. package/dist/components/consent-input.d.ts +4 -4
  121. package/dist/components/consent-input.d.ts.map +1 -1
  122. package/dist/components/consent-input.js +49 -29
  123. package/dist/components/consent-input.js.map +1 -1
  124. package/dist/components/consent-otp-input.d.ts +4 -4
  125. package/dist/components/consent-otp-input.d.ts.map +1 -1
  126. package/dist/components/consent-otp-input.js +51 -44
  127. package/dist/components/consent-otp-input.js.map +1 -1
  128. package/dist/components/consent-phone-handoff.d.ts +50 -0
  129. package/dist/components/consent-phone-handoff.d.ts.map +1 -0
  130. package/dist/components/consent-phone-handoff.js +215 -0
  131. package/dist/components/consent-phone-handoff.js.map +1 -0
  132. package/dist/components/consent-request-expiry.d.ts +52 -0
  133. package/dist/components/consent-request-expiry.d.ts.map +1 -0
  134. package/dist/components/consent-request-expiry.js +154 -0
  135. package/dist/components/consent-request-expiry.js.map +1 -0
  136. package/dist/components/consent-revoke.d.ts +53 -0
  137. package/dist/components/consent-revoke.d.ts.map +1 -0
  138. package/dist/components/consent-revoke.js +305 -0
  139. package/dist/components/consent-revoke.js.map +1 -0
  140. package/dist/components/consent-shell.d.ts.map +1 -1
  141. package/dist/components/consent-shell.js +3 -0
  142. package/dist/components/consent-shell.js.map +1 -1
  143. package/dist/components/consent-terms.d.ts +1 -1
  144. package/dist/components/consent-terms.js +2 -2
  145. package/dist/components/consent-terms.js.map +1 -1
  146. package/dist/components/consent-wallet-check.d.ts +45 -0
  147. package/dist/components/consent-wallet-check.d.ts.map +1 -0
  148. package/dist/components/consent-wallet-check.js +102 -0
  149. package/dist/components/consent-wallet-check.js.map +1 -0
  150. package/dist/components/consent-wallet-notice.d.ts +54 -0
  151. package/dist/components/consent-wallet-notice.d.ts.map +1 -0
  152. package/dist/components/consent-wallet-notice.js +186 -0
  153. package/dist/components/consent-wallet-notice.js.map +1 -0
  154. package/dist/components/consent-wallet-orb.d.ts +48 -0
  155. package/dist/components/consent-wallet-orb.d.ts.map +1 -0
  156. package/dist/components/consent-wallet-orb.js +269 -0
  157. package/dist/components/consent-wallet-orb.js.map +1 -0
  158. package/dist/components/consent-wallet-signature.d.ts +26 -0
  159. package/dist/components/consent-wallet-signature.d.ts.map +1 -0
  160. package/dist/components/consent-wallet-signature.js +101 -0
  161. package/dist/components/consent-wallet-signature.js.map +1 -0
  162. package/dist/components/grant-field-styles.d.ts +9 -0
  163. package/dist/components/grant-field-styles.d.ts.map +1 -0
  164. package/dist/components/grant-field-styles.js +82 -0
  165. package/dist/components/grant-field-styles.js.map +1 -0
  166. package/dist/components/index.d.ts +11 -1
  167. package/dist/components/index.d.ts.map +1 -1
  168. package/dist/components/index.js +14 -1
  169. package/dist/components/index.js.map +1 -1
  170. package/dist/components/mcp-consent.d.ts.map +1 -1
  171. package/dist/components/mcp-consent.js +18 -1
  172. package/dist/components/mcp-consent.js.map +1 -1
  173. package/dist/components/template-link.d.ts +24 -0
  174. package/dist/components/template-link.d.ts.map +1 -0
  175. package/dist/components/template-link.js +29 -0
  176. package/dist/components/template-link.js.map +1 -0
  177. package/dist/components/wallet-globe.d.ts +29 -0
  178. package/dist/components/wallet-globe.d.ts.map +1 -0
  179. package/dist/components/wallet-globe.js +181 -0
  180. package/dist/components/wallet-globe.js.map +1 -0
  181. package/dist/components/wallet-icons.d.ts +16 -0
  182. package/dist/components/wallet-icons.d.ts.map +1 -0
  183. package/dist/components/wallet-icons.js +16 -0
  184. package/dist/components/wallet-icons.js.map +1 -0
  185. package/dist/components/wallet-status.d.ts +19 -0
  186. package/dist/components/wallet-status.d.ts.map +1 -0
  187. package/dist/components/wallet-status.js +29 -0
  188. package/dist/components/wallet-status.js.map +1 -0
  189. package/dist/consent.js +3246 -807
  190. package/dist/consent.min.js +1360 -281
  191. package/dist/constants/capabilities.d.ts +5 -2
  192. package/dist/constants/capabilities.d.ts.map +1 -1
  193. package/dist/constants/capabilities.js +11 -2
  194. package/dist/constants/capabilities.js.map +1 -1
  195. package/dist/copy/tokens.d.ts +91 -0
  196. package/dist/copy/tokens.d.ts.map +1 -1
  197. package/dist/copy/tokens.js +91 -0
  198. package/dist/copy/tokens.js.map +1 -1
  199. package/dist/grant/index.d.ts +8 -0
  200. package/dist/grant/index.d.ts.map +1 -0
  201. package/dist/grant/index.js +8 -0
  202. package/dist/grant/index.js.map +1 -0
  203. package/dist/grant/terms.d.ts +97 -0
  204. package/dist/grant/terms.d.ts.map +1 -0
  205. package/dist/grant/terms.js +139 -0
  206. package/dist/grant/terms.js.map +1 -0
  207. package/dist/index.d.ts +1 -0
  208. package/dist/index.d.ts.map +1 -1
  209. package/dist/index.js +2 -0
  210. package/dist/index.js.map +1 -1
  211. package/dist/mcp-app/inline.d.ts.map +1 -1
  212. package/dist/mcp-app/inline.js +2 -2
  213. package/dist/mcp-app/inline.js.map +1 -1
  214. package/dist/react/index.d.ts +74 -0
  215. package/dist/react/index.d.ts.map +1 -1
  216. package/dist/react/index.js +119 -0
  217. package/dist/react/index.js.map +1 -1
  218. package/package.json +10 -4
@@ -0,0 +1,181 @@
1
+ /**
2
+ * The dotted globe inside `consent-wallet-orb`.
3
+ *
4
+ * Points sit on a Fibonacci lattice, so they are evenly spaced and the same
5
+ * on every load, and the globe leans on a tilted axis so it reads as a
6
+ * sphere rather than a disc. Dots in front are larger and stronger than the
7
+ * ones behind. The ink is the canvas's CSS `color`, so a host's theme (and
8
+ * a theme switch) paints it with no extra wiring.
9
+ *
10
+ * Turning eases: `turn(true)` spins the globe up, `turn(false)` lets it
11
+ * coast to rest, and from then on nothing is drawn until something changes:
12
+ * the size, the ink, or the next turn. It also stops drawing while nobody
13
+ * can see it (off screen, or in a hidden tab), and with reduced motion
14
+ * asked for it never turns at all.
15
+ *
16
+ * @module components/wallet-globe
17
+ */
18
+ const POINTS = 460;
19
+ /** The globe's radius, as a share of half the canvas. */
20
+ const RADIUS = 0.94;
21
+ /** The axis leans back by this much, in radians. */
22
+ const TILT = 0.42;
23
+ /** One turn every 26 seconds. */
24
+ const TURNING = (2 * Math.PI) / 26000;
25
+ /** How quickly the turn speeds up or coasts down, in milliseconds. */
26
+ const EASE_MS = 420;
27
+ /** Slower than this (radians a millisecond), a coasting globe is at rest. */
28
+ const AT_REST = TURNING / 60;
29
+ /** A dot's radius, as a share of the globe's, at the back and at the front. */
30
+ const DOT_BACK = 0.014;
31
+ const DOT_FRONT = 0.034;
32
+ const NO_GLOBE = { turn() { }, stop() { } };
33
+ /** Evenly spaced points on the unit sphere. */
34
+ function lattice(count) {
35
+ const points = new Float32Array(count * 3);
36
+ const golden = Math.PI * (3 - Math.sqrt(5));
37
+ for (let i = 0; i < count; i++) {
38
+ const y = 1 - (2 * (i + 0.5)) / count;
39
+ const ring = Math.sqrt(1 - y * y);
40
+ const around = i * golden;
41
+ points[i * 3] = Math.cos(around) * ring;
42
+ points[i * 3 + 1] = y;
43
+ points[i * 3 + 2] = Math.sin(around) * ring;
44
+ }
45
+ return points;
46
+ }
47
+ /**
48
+ * Draws the globe on `canvas`. Does nothing (and returns a globe that does
49
+ * nothing) where there is no 2D canvas.
50
+ */
51
+ export function drawGlobe(canvas) {
52
+ const ctx = canvas.getContext?.("2d");
53
+ if (!ctx)
54
+ return NO_GLOBE;
55
+ const points = lattice(POINTS);
56
+ const reducedMotion = globalThis.matchMedia?.("(prefers-reduced-motion: reduce)");
57
+ const tiltCos = Math.cos(TILT);
58
+ const tiltSin = Math.sin(TILT);
59
+ let angle = 0.6;
60
+ let speed = 0;
61
+ let wanted = 0;
62
+ let frame = 0;
63
+ let last = 0;
64
+ let inView = true;
65
+ let pageShown = !document.hidden;
66
+ /** The canvas's unrounded layout width, once the ResizeObserver reports it. */
67
+ let layoutWidth = 0;
68
+ /** Device pixels across: layout width times the pixel ratio now. */
69
+ function devicePixels() {
70
+ const css = layoutWidth ||
71
+ parseFloat(getComputedStyle(canvas).width) ||
72
+ canvas.clientWidth;
73
+ return Math.max(1, Math.round(css * (globalThis.devicePixelRatio || 1)));
74
+ }
75
+ function draw() {
76
+ const px = devicePixels();
77
+ if (canvas.width !== px || canvas.height !== px) {
78
+ canvas.width = px;
79
+ canvas.height = px;
80
+ }
81
+ const half = px / 2;
82
+ const radius = half * RADIUS;
83
+ ctx.clearRect(0, 0, px, px);
84
+ ctx.fillStyle = getComputedStyle(canvas).color;
85
+ const cos = Math.cos(angle);
86
+ const sin = Math.sin(angle);
87
+ // Two passes, back then front, so near dots paint over far ones.
88
+ for (const front of [false, true]) {
89
+ for (let i = 0; i < POINTS; i++) {
90
+ const x = points[i * 3];
91
+ const y = points[i * 3 + 1];
92
+ const z = points[i * 3 + 2];
93
+ // Turn about the vertical axis, then lean the axis back.
94
+ const tx = x * cos + z * sin;
95
+ const tz = z * cos - x * sin;
96
+ const ty = y * tiltCos - tz * tiltSin;
97
+ const depth = y * tiltSin + tz * tiltCos;
98
+ if (depth >= 0 !== front)
99
+ continue;
100
+ const near = (depth + 1) / 2;
101
+ ctx.globalAlpha = front ? 0.3 + 0.7 * near ** 1.6 : 0.06 + 0.16 * near;
102
+ ctx.beginPath();
103
+ ctx.arc(half + tx * radius, half - ty * radius, radius * (DOT_BACK + (DOT_FRONT - DOT_BACK) * near), 0, 2 * Math.PI);
104
+ ctx.fill();
105
+ }
106
+ }
107
+ ctx.globalAlpha = 1;
108
+ }
109
+ function loop(now) {
110
+ const elapsed = last ? Math.min(now - last, 100) : 0;
111
+ last = now;
112
+ speed += (wanted - speed) * (1 - Math.exp(-elapsed / EASE_MS));
113
+ if (!wanted && speed < AT_REST)
114
+ speed = 0;
115
+ angle += speed * elapsed;
116
+ draw();
117
+ frame = speed || wanted ? requestAnimationFrame(loop) : 0;
118
+ }
119
+ function sync() {
120
+ const still = Boolean(reducedMotion?.matches);
121
+ if (still)
122
+ speed = 0;
123
+ const run = inView && pageShown && !still && Boolean(speed || wanted);
124
+ if (run && !frame) {
125
+ last = 0;
126
+ frame = requestAnimationFrame(loop);
127
+ }
128
+ else if (!run) {
129
+ if (frame)
130
+ cancelAnimationFrame(frame);
131
+ frame = 0;
132
+ draw();
133
+ }
134
+ }
135
+ const onVisibility = () => {
136
+ pageShown = !document.hidden;
137
+ sync();
138
+ };
139
+ document.addEventListener("visibilitychange", onVisibility);
140
+ reducedMotion?.addEventListener?.("change", sync);
141
+ // The orb gives the canvas a 1ms transition on `color`, so any change of
142
+ // ink (a status, a token, a theme switch) ends in a transitionend here.
143
+ const onInk = (event) => {
144
+ if (event.propertyName === "color" && !frame)
145
+ draw();
146
+ };
147
+ canvas.addEventListener("transitionend", onInk);
148
+ const seen = typeof IntersectionObserver === "function"
149
+ ? new IntersectionObserver((entries) => {
150
+ inView = entries.some((entry) => entry.isIntersecting);
151
+ sync();
152
+ })
153
+ : undefined;
154
+ seen?.observe(canvas);
155
+ const resized = typeof ResizeObserver === "function"
156
+ ? new ResizeObserver(([entry]) => {
157
+ layoutWidth = entry?.contentRect.width || layoutWidth;
158
+ if (!frame)
159
+ draw();
160
+ })
161
+ : undefined;
162
+ resized?.observe(canvas);
163
+ sync();
164
+ return {
165
+ turn(on) {
166
+ wanted = on ? TURNING : 0;
167
+ sync();
168
+ },
169
+ stop() {
170
+ if (frame)
171
+ cancelAnimationFrame(frame);
172
+ frame = 0;
173
+ document.removeEventListener("visibilitychange", onVisibility);
174
+ reducedMotion?.removeEventListener?.("change", sync);
175
+ canvas.removeEventListener("transitionend", onInk);
176
+ seen?.disconnect();
177
+ resized?.disconnect();
178
+ },
179
+ };
180
+ }
181
+ //# sourceMappingURL=wallet-globe.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wallet-globe.js","sourceRoot":"","sources":["../../src/components/wallet-globe.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,MAAM,MAAM,GAAG,GAAG,CAAC;AACnB,yDAAyD;AACzD,MAAM,MAAM,GAAG,IAAI,CAAC;AACpB,oDAAoD;AACpD,MAAM,IAAI,GAAG,IAAI,CAAC;AAClB,iCAAiC;AACjC,MAAM,OAAO,GAAG,CAAC,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC,GAAG,KAAM,CAAC;AACvC,sEAAsE;AACtE,MAAM,OAAO,GAAG,GAAG,CAAC;AACpB,6EAA6E;AAC7E,MAAM,OAAO,GAAG,OAAO,GAAG,EAAE,CAAC;AAC7B,+EAA+E;AAC/E,MAAM,QAAQ,GAAG,KAAK,CAAC;AACvB,MAAM,SAAS,GAAG,KAAK,CAAC;AASxB,MAAM,QAAQ,GAAU,EAAE,IAAI,KAAI,CAAC,EAAE,IAAI,KAAI,CAAC,EAAE,CAAC;AAEjD,+CAA+C;AAC/C,SAAS,OAAO,CAAC,KAAa;IAC5B,MAAM,MAAM,GAAG,IAAI,YAAY,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC;IAC3C,MAAM,MAAM,GAAG,IAAI,CAAC,EAAE,GAAG,CAAC,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;IAC5C,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC;QAC/B,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC,GAAG,KAAK,CAAC;QACtC,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC;QAClC,MAAM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EAAE,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;YACrD,MAAM,CAAC,mBAAmB,CAAC,eAAe,EAAE,KAAK,CAAC,CAAC;YACnD,IAAI,EAAE,UAAU,EAAE,CAAC;YACnB,OAAO,EAAE,UAAU,EAAE,CAAC;QACxB,CAAC;KACF,CAAC;AACJ,CAAC"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Icons for the wallet elements and the action bar's passkey button, drawn
3
+ * in `currentColor`.
4
+ *
5
+ * The 24px line icons are Lucide's (ISC License, https://lucide.dev):
6
+ * fingerprint and smartphone. The KYA-OS mark is the logo mark
7
+ * from kya-os.org.
8
+ *
9
+ * @module components/wallet-icons
10
+ */
11
+ import { type SVGTemplateResult } from "lit";
12
+ export declare const fingerprintIcon: SVGTemplateResult;
13
+ export declare const smartphoneIcon: SVGTemplateResult;
14
+ /** The KYA-OS mark, for a `viewBox="0 0 197 227"` svg filled with currentColor. */
15
+ export declare const kyaOsMark: SVGTemplateResult;
16
+ //# sourceMappingURL=wallet-icons.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wallet-icons.d.ts","sourceRoot":"","sources":["../../src/components/wallet-icons.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAO,KAAK,iBAAiB,EAAE,MAAM,KAAK,CAAC;AAElD,eAAO,MAAM,eAAe,EAAE,iBAA8Y,CAAC;AAE7a,eAAO,MAAM,cAAc,EAAE,iBAAyG,CAAC;AAEvI,mFAAmF;AACnF,eAAO,MAAM,SAAS,EAAE,iBAAupF,CAAC"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Icons for the wallet elements and the action bar's passkey button, drawn
3
+ * in `currentColor`.
4
+ *
5
+ * The 24px line icons are Lucide's (ISC License, https://lucide.dev):
6
+ * fingerprint and smartphone. The KYA-OS mark is the logo mark
7
+ * from kya-os.org.
8
+ *
9
+ * @module components/wallet-icons
10
+ */
11
+ import { svg } from "lit";
12
+ export const fingerprintIcon = svg `<path d="M12 10a2 2 0 0 0-2 2c0 1.02-.1 2.51-.26 4" /><path d="M14 13.12c0 2.38 0 6.38-1 8.88" /><path d="M17.29 21.02c.12-.6.43-2.3.5-3.02" /><path d="M2 12a10 10 0 0 1 18-6" /><path d="M2 16h.01" /><path d="M21.8 16c.2-2 .131-5.354 0-6" /><path d="M5 19.5C5.5 18 6 15 6 12a6 6 0 0 1 .34-2" /><path d="M8.65 22c.21-.66.45-1.32.57-2" /><path d="M9 6.8a6 6 0 0 1 9 5.2v2" />`;
13
+ export const smartphoneIcon = svg `<rect width="14" height="20" x="5" y="2" rx="2" ry="2" /><path d="M12 18h.01" />`;
14
+ /** The KYA-OS mark, for a `viewBox="0 0 197 227"` svg filled with currentColor. */
15
+ export const kyaOsMark = svg `<path fill="currentColor" d="M85.807 0.190363C96.416 -0.0168199 107.047 -0.143695 117.645 0.291926C134.724 0.998586 147.873 9.07309 157.611 22.9492C157.866 23.3103 158.094 23.6932 158.301 24.081C158.37 24.2138 158.333 24.4052 158.349 24.6708C154.784 25.5474 151.167 26.2912 147.634 27.3271C113.453 37.3199 90.5985 70.3001 93.9134 105.671C96.5803 134.157 111.264 154.573 137.136 166.877C140.249 168.359 143.437 169.107 146.89 168.141C151.873 166.749 155.252 162.844 155.773 157.744C156.256 152.995 153.626 148.203 148.967 146.195C142.991 143.619 137.386 140.516 132.653 136.006C105.097 109.773 115.35 63.6591 151.714 50.7656C156.965 48.902 162.598 48.1099 169.033 46.5868C169.819 54.4646 171.275 61.3225 171.02 68.122C170.568 80.3992 173.527 91.5764 179.483 102.101C184.227 110.478 189.018 118.83 194.023 127.054C198.023 133.625 196.466 138.699 189.209 141.435C187.313 142.152 185.364 142.748 183.504 143.55C178.638 145.653 177.172 149.722 179.753 154.365C181.05 156.692 183.089 158.934 181.352 161.617C179.981 163.731 177.9 165.39 175.897 167.504C175.983 167.632 176.497 168.312 176.932 169.033C179.179 172.768 178.51 177.055 175.052 179.653C171.078 182.634 170.143 186.501 170.313 191.293C170.488 196.356 170.499 201.652 169.235 206.492C166.308 217.707 157.627 222.769 146.996 225.234C135.984 227.79 125.502 226.303 115.786 220.65C102.122 212.703 91.3686 202.141 87.8304 186.06C86.837 181.55 86.97 176.758 86.8744 172.094C86.5609 156.39 82.7148 141.7 74.5335 128.249C65.906 114.07 54.3559 102.68 39.2152 95.9911C24.2926 89.4034 14.4545 72.7434 19.6341 52.7314C27.619 21.8764 53.9585 0.811927 85.807 0.190363ZM14.4857 111.658C15.681 111.977 17.381 112.365 19.0384 112.875C44.8254 120.828 62.208 144.065 63.058 171.053C63.637 189.577 60.3325 207.247 53.0384 224.247C52.2044 226.186 51.2644 226.685 49.3255 226.335C42.3238 225.06 35.4866 223.423 29.7279 218.897C23.5122 214.015 21.2808 207.645 22.3646 199.899C22.7046 197.482 22.8426 194.969 22.5345 192.562C22.3485 191.123 21.4025 189.534 20.3294 188.493C14.6028 182.915 14.3688 181.927 17.8431 175.6C16.2017 173.847 14.3531 172.402 13.2269 170.521C12.021 168.503 12.4833 166.467 14.3001 164.528C15.7344 163.004 16.8446 160.926 17.4183 158.902C18.4594 155.263 16.8659 152.453 13.3597 151.066C10.7353 150.03 7.97805 149.329 5.38023 148.24C0.264303 146.094 -1.36161 141.69 1.1937 136.76C5.49146 128.472 9.92764 120.254 14.4857 111.664V111.658ZM63.9505 39.4452C53.825 39.4773 45.8567 47.5041 45.8832 57.6562C45.9044 67.5746 54.0216 75.6022 64.0091 75.581C74.1028 75.5597 82.2472 67.4581 82.2474 57.4335H82.2416C82.2416 47.3769 74.14 39.4134 63.9505 39.4452ZM169.043 46.5849C169.04 46.5857 169.036 46.586 169.033 46.5868V46.5849H169.043Z" />`;
16
+ //# sourceMappingURL=wallet-icons.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wallet-icons.js","sourceRoot":"","sources":["../../src/components/wallet-icons.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAE,GAAG,EAA0B,MAAM,KAAK,CAAC;AAElD,MAAM,CAAC,MAAM,eAAe,GAAsB,GAAG,CAAA,uXAAuX,CAAC;AAE7a,MAAM,CAAC,MAAM,cAAc,GAAsB,GAAG,CAAA,kFAAkF,CAAC;AAEvI,mFAAmF;AACnF,MAAM,CAAC,MAAM,SAAS,GAAsB,GAAG,CAAA,goFAAgoF,CAAC"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * The wallet check's statuses, shared by `consent-wallet-orb` and
3
+ * `consent-wallet-check`.
4
+ *
5
+ * @module components/wallet-status
6
+ */
7
+ export declare const WALLET_CHECK_STATUSES: readonly ["checking", "syncing", "ready", "conflict", "error"];
8
+ export type WalletCheckStatus = (typeof WALLET_CHECK_STATUSES)[number];
9
+ /** A status the elements know, or `checking`. */
10
+ export declare function readWalletStatus(status: string): WalletCheckStatus;
11
+ /**
12
+ * The orb's statuses: the check's, and `idle` before anything has started,
13
+ * for a screen that shows the orb while it waits for the person.
14
+ */
15
+ export declare const WALLET_ORB_STATUSES: readonly ["idle", "checking", "syncing", "ready", "conflict", "error"];
16
+ export type WalletOrbStatus = (typeof WALLET_ORB_STATUSES)[number];
17
+ /** A status the orb knows, or `checking`. */
18
+ export declare function readWalletOrbStatus(status: string): WalletOrbStatus;
19
+ //# sourceMappingURL=wallet-status.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wallet-status.d.ts","sourceRoot":"","sources":["../../src/components/wallet-status.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAO,MAAM,qBAAqB,gEAMxB,CAAC;AAEX,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEvE,iDAAiD;AACjD,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,MAAM,GAAG,iBAAiB,CAIlE;AAED;;;GAGG;AACH,eAAO,MAAM,mBAAmB,wEAA8C,CAAC;AAE/E,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEnE,6CAA6C;AAC7C,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,MAAM,GAAG,eAAe,CAEnE"}
@@ -0,0 +1,29 @@
1
+ /**
2
+ * The wallet check's statuses, shared by `consent-wallet-orb` and
3
+ * `consent-wallet-check`.
4
+ *
5
+ * @module components/wallet-status
6
+ */
7
+ export const WALLET_CHECK_STATUSES = [
8
+ "checking",
9
+ "syncing",
10
+ "ready",
11
+ "conflict",
12
+ "error",
13
+ ];
14
+ /** A status the elements know, or `checking`. */
15
+ export function readWalletStatus(status) {
16
+ return WALLET_CHECK_STATUSES.includes(status)
17
+ ? status
18
+ : "checking";
19
+ }
20
+ /**
21
+ * The orb's statuses: the check's, and `idle` before anything has started,
22
+ * for a screen that shows the orb while it waits for the person.
23
+ */
24
+ export const WALLET_ORB_STATUSES = ["idle", ...WALLET_CHECK_STATUSES];
25
+ /** A status the orb knows, or `checking`. */
26
+ export function readWalletOrbStatus(status) {
27
+ return status === "idle" ? "idle" : readWalletStatus(status);
28
+ }
29
+ //# sourceMappingURL=wallet-status.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wallet-status.js","sourceRoot":"","sources":["../../src/components/wallet-status.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,UAAU;IACV,SAAS;IACT,OAAO;IACP,UAAU;IACV,OAAO;CACC,CAAC;AAIX,iDAAiD;AACjD,MAAM,UAAU,gBAAgB,CAAC,MAAc;IAC7C,OAAQ,qBAA2C,CAAC,QAAQ,CAAC,MAAM,CAAC;QAClE,CAAC,CAAE,MAA4B;QAC/B,CAAC,CAAC,UAAU,CAAC;AACjB,CAAC;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,MAAM,EAAE,GAAG,qBAAqB,CAAU,CAAC;AAI/E,6CAA6C;AAC7C,MAAM,UAAU,mBAAmB,CAAC,MAAc;IAChD,OAAO,MAAM,KAAK,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC;AAC/D,CAAC"}