@apple-pie/slice 0.1.3 → 0.1.5

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 (126) hide show
  1. package/README.md +47 -77
  2. package/dist/cjs/chunks/{Button-hg5kGC1P.js → Button-Ck4syxwn.js} +4 -2
  3. package/dist/cjs/chunks/{ButtonBar-C9Nm9faU.js → ButtonBar-Cx9Xwddh.js} +1 -1
  4. package/dist/cjs/chunks/{Camera-Dx_PT3pS.js → Camera-BrLRwcw1.js} +1 -1
  5. package/dist/cjs/chunks/{Card-AgEMKJ4O.js → Card-CYDP4vAN.js} +1 -1
  6. package/dist/cjs/chunks/{CheckBox-CLMxlUff.js → CheckBox-DYG1fNWy.js} +1 -1
  7. package/dist/cjs/chunks/{Chip-CIy_Xe3i.js → Chip-CqOwsrmt.js} +1 -1
  8. package/dist/cjs/chunks/{DropDown-FZb52YxR.js → DropDown-Bo0bxkFk.js} +1 -1
  9. package/dist/cjs/chunks/{FileList-BQgcnKPP.js → FileList-bA8PoGOh.js} +1 -1
  10. package/dist/cjs/chunks/{Grouper-Bgc1wrQM.js → Grouper-BszVihfB.js} +1 -1
  11. package/dist/cjs/chunks/{IconButton-CBWmUZxR.js → IconButton-yWq-C437.js} +1 -1
  12. package/dist/cjs/chunks/{ProgressIndicator-qjya_Yb5.js → ProgressIndicator-Dvq4eIWW.js} +1 -1
  13. package/dist/cjs/chunks/{PromptInput-ZqHQUfXw.js → PromptInput-Hgh6995X.js} +1 -1
  14. package/dist/cjs/chunks/{RadioButton-Ce9uf54a.js → RadioButton-Cu-laBV5.js} +1 -1
  15. package/dist/cjs/chunks/{RadioButtonList-dhPr-Uhs.js → RadioButtonList-COS7jfsC.js} +1 -1
  16. package/dist/cjs/chunks/SSEConnection-B_yE8cXz.js +140 -0
  17. package/dist/cjs/chunks/{Slider-CrjpZooG.js → Slider-BeXrWjVx.js} +36 -36
  18. package/dist/cjs/chunks/{TabBar-DuwypMB6.js → TabBar-DCRr3l9L.js} +1 -1
  19. package/dist/cjs/chunks/{TextArea-BhzVGfKA.js → TextArea-DM0aHGGt.js} +1 -1
  20. package/dist/cjs/chunks/{TextField-hIjxrOG9.js → TextField-DQgpDpR1.js} +18 -16
  21. package/dist/cjs/chunks/{Toast-DMUM1wuL.js → Toast-D-Y1Ytnb.js} +1 -1
  22. package/dist/cjs/chunks/{UploadArea-B4GA06LW.js → UploadArea-Y_B35qjZ.js} +1 -1
  23. package/dist/cjs/chunks/WSConnection-DCBuJGmb.js +206 -0
  24. package/dist/cjs/chunks/{_types-C_zOsCbB.js → _types-NyUTfBLR.js} +25 -7
  25. package/dist/cjs/chunks/{sseStore-Dg0WuXsI.js → sseStore-CIIeshjm.js} +3 -3
  26. package/dist/cjs/chunks/windowStore-CCxCOUqa.js +156 -0
  27. package/dist/cjs/components/Button/index.js +3 -3
  28. package/dist/cjs/components/ButtonBar/index.js +3 -3
  29. package/dist/cjs/components/Camera/index.js +2 -2
  30. package/dist/cjs/components/Card/index.js +2 -2
  31. package/dist/cjs/components/CheckBox/index.js +2 -2
  32. package/dist/cjs/components/Chip/index.js +2 -2
  33. package/dist/cjs/components/DropDown/index.js +2 -2
  34. package/dist/cjs/components/FileList/index.js +3 -3
  35. package/dist/cjs/components/Grouper/index.js +2 -2
  36. package/dist/cjs/components/Icon/index.js +1 -1
  37. package/dist/cjs/components/IconButton/index.js +2 -2
  38. package/dist/cjs/components/Progress/index.js +2 -2
  39. package/dist/cjs/components/PromptInput/index.js +5 -5
  40. package/dist/cjs/components/RadioButton/index.js +2 -2
  41. package/dist/cjs/components/RadioButtonList/index.js +3 -3
  42. package/dist/cjs/components/Slider/index.js +1 -1
  43. package/dist/cjs/components/TabBar/index.js +3 -3
  44. package/dist/cjs/components/TextArea/index.js +4 -4
  45. package/dist/cjs/components/Textfield/index.js +5 -5
  46. package/dist/cjs/components/Toast/index.js +2 -2
  47. package/dist/cjs/components/UploadArea/index.js +4 -4
  48. package/dist/cjs/hooks/useWindow.js +46 -11
  49. package/dist/cjs/index.js +2 -2
  50. package/dist/cjs/stores/SSE.js +2 -2
  51. package/dist/cjs/stores/WS.js +62 -0
  52. package/dist/cjs/stores/window.js +14 -3
  53. package/dist/cjs/stores.js +15 -4
  54. package/dist/cjs/utils/index.js +2 -2
  55. package/dist/cjs/utils/objects/index.js +4 -138
  56. package/dist/esm/chunks/{Button-DJDS7Yad.mjs → Button-DexmN81C.mjs} +5 -3
  57. package/dist/esm/chunks/{ButtonBar-DIsqJmrS.mjs → ButtonBar-C-LwBxlY.mjs} +1 -1
  58. package/dist/esm/chunks/{Camera-BvJJ5cd-.mjs → Camera-DdUBZi52.mjs} +1 -1
  59. package/dist/esm/chunks/{Card-DjHdCav5.mjs → Card-DUfnTA5v.mjs} +1 -1
  60. package/dist/esm/chunks/{CheckBox-C1LPehvl.mjs → CheckBox-Bnd3UAt0.mjs} +1 -1
  61. package/dist/esm/chunks/{Chip-ByaaWpFx.mjs → Chip-BJS4oJBL.mjs} +1 -1
  62. package/dist/esm/chunks/{DropDown-CM01mO_W.mjs → DropDown-CbX16ETP.mjs} +1 -1
  63. package/dist/esm/chunks/{FileList-CmlXqPXl.mjs → FileList-E5uvcN2J.mjs} +2 -2
  64. package/dist/esm/chunks/{Grouper-DNmAYWdR.mjs → Grouper-X9OursiT.mjs} +1 -1
  65. package/dist/esm/chunks/{IconButton-C8RBNFzh.mjs → IconButton-B5WEf-v5.mjs} +1 -1
  66. package/dist/esm/chunks/{ProgressIndicator-h11R3FG1.mjs → ProgressIndicator-DeLwB3Rb.mjs} +1 -1
  67. package/dist/esm/chunks/{PromptInput-DSHVUuEf.mjs → PromptInput-BdMotrXA.mjs} +2 -2
  68. package/dist/esm/chunks/{RadioButton-_lo_FJ8g.mjs → RadioButton-D6kP8p0n.mjs} +1 -1
  69. package/dist/esm/chunks/{RadioButtonList-CLHJxrI_.mjs → RadioButtonList-guQECpwi.mjs} +1 -1
  70. package/dist/esm/chunks/SSEConnection-Dj9P0SWE.mjs +140 -0
  71. package/dist/esm/chunks/{Slider-Bih21QiT.mjs → Slider-ZuSvETfo.mjs} +37 -37
  72. package/dist/esm/chunks/{TabBar-CDDzA_m1.mjs → TabBar-BYtGaj_A.mjs} +2 -2
  73. package/dist/esm/chunks/{TextArea-CyVBzMoN.mjs → TextArea-D88dZrXm.mjs} +1 -1
  74. package/dist/esm/chunks/{TextField-CYI2vbvO.mjs → TextField-DvTB_JoS.mjs} +20 -18
  75. package/dist/esm/chunks/{Toast-ovxR12_-.mjs → Toast-BdlopzJ6.mjs} +1 -1
  76. package/dist/esm/chunks/{UploadArea-Kez3VD4d.mjs → UploadArea--i-bbRIJ.mjs} +3 -3
  77. package/dist/esm/chunks/WSConnection-DlYSitff.mjs +206 -0
  78. package/dist/esm/chunks/{_types-CTmvSEX0.mjs → _types-C8GP_aSD.mjs} +20 -2
  79. package/dist/esm/chunks/{sseStore-m3IPyLwJ.mjs → sseStore-DdqmnAAf.mjs} +2 -2
  80. package/dist/esm/chunks/windowStore-BOTh1g37.mjs +148 -0
  81. package/dist/esm/components/Button/index.mjs +3 -3
  82. package/dist/esm/components/ButtonBar/index.mjs +3 -3
  83. package/dist/esm/components/Camera/index.mjs +2 -2
  84. package/dist/esm/components/Card/index.mjs +2 -2
  85. package/dist/esm/components/CheckBox/index.mjs +2 -2
  86. package/dist/esm/components/Chip/index.mjs +2 -2
  87. package/dist/esm/components/DropDown/index.mjs +2 -2
  88. package/dist/esm/components/FileList/index.mjs +3 -3
  89. package/dist/esm/components/Grouper/index.mjs +2 -2
  90. package/dist/esm/components/Icon/index.mjs +1 -1
  91. package/dist/esm/components/IconButton/index.mjs +2 -2
  92. package/dist/esm/components/Progress/index.mjs +2 -2
  93. package/dist/esm/components/PromptInput/index.mjs +5 -5
  94. package/dist/esm/components/RadioButton/index.mjs +2 -2
  95. package/dist/esm/components/RadioButtonList/index.mjs +3 -3
  96. package/dist/esm/components/Slider/index.mjs +1 -1
  97. package/dist/esm/components/TabBar/index.mjs +3 -3
  98. package/dist/esm/components/TextArea/index.mjs +4 -4
  99. package/dist/esm/components/Textfield/index.mjs +5 -5
  100. package/dist/esm/components/Toast/index.mjs +2 -2
  101. package/dist/esm/components/UploadArea/index.mjs +4 -4
  102. package/dist/esm/hooks/useWindow.mjs +47 -11
  103. package/dist/esm/index.mjs +21 -21
  104. package/dist/esm/stores/SSE.mjs +2 -2
  105. package/dist/esm/stores/WS.mjs +59 -0
  106. package/dist/esm/stores/window.mjs +3 -1
  107. package/dist/esm/stores.mjs +5 -5
  108. package/dist/esm/utils/index.mjs +3 -1
  109. package/dist/esm/utils/objects/index.mjs +4 -139
  110. package/dist/types/components/Icon/_types.d.ts +1 -0
  111. package/dist/types/components/Slider/_types.d.ts +0 -2
  112. package/dist/types/hooks/index.d.ts +1 -1
  113. package/dist/types/hooks/useWindow/useWindow.d.ts +19 -0
  114. package/dist/types/index.d.ts +1 -1
  115. package/dist/types/stores/WS/_types.d.ts +17 -0
  116. package/dist/types/stores/WS/index.d.ts +2 -0
  117. package/dist/types/stores/WS/wsStore.d.ts +19 -0
  118. package/dist/types/stores/window/_types.d.ts +5 -0
  119. package/dist/types/stores/window/index.d.ts +3 -2
  120. package/dist/types/stores/window/windowStore.d.ts +8 -0
  121. package/dist/types/utils/index.d.ts +2 -2
  122. package/dist/types/utils/objects/WSConnection/WSConnection.d.ts +147 -0
  123. package/dist/types/utils/objects/index.d.ts +2 -0
  124. package/package.json +1 -1
  125. package/dist/cjs/chunks/windowStore-RaJswiHM.js +0 -70
  126. package/dist/esm/chunks/windowStore-CwW0i_le.mjs +0 -71
@@ -0,0 +1,206 @@
1
+ "use strict";
2
+
3
+ var tslib_es6 = require("./tslib.es6-C8dZW5nY.js");
4
+
5
+ exports.WSConnection = class {
6
+ get connected() {
7
+ var _a;
8
+ return (null === (_a = this.socket) || void 0 === _a ? void 0 : _a.readyState) === WebSocket.OPEN;
9
+ }
10
+ get connection() {
11
+ return this.socket;
12
+ }
13
+ constructor(options) {
14
+ var _a, _b, _c, _d, _e, _f, _g, _h;
15
+ if (this.socket = null, this.keepAliveTimer = null, this.reconnectIntervalTimer = null,
16
+ this.reconnectAttemptsCount = 0, this.manuallyClosed = !1,
17
+ /**
18
+ * Open handler
19
+ */
20
+ this.onOpen = event => tslib_es6.__awaiter(this, void 0, void 0, function*() {
21
+ var _a;
22
+ if (this.clearReconnectTimer(), this.reconnectAttemptsCount = 0, this.manuallyClosed = !1,
23
+ null === (_a = this.onOpenCallback) || void 0 === _a || _a.call(this, event), this.emitUnifiedMessage({
24
+ type: "open",
25
+ event: event
26
+ }), this.token) try {
27
+ const token = "string" == typeof this.token ? this.token : yield this.token();
28
+ if (!token) return void this.closeSocket({
29
+ code: 1e3,
30
+ reason: "Access token not provided"
31
+ });
32
+ this.send({
33
+ token: token
34
+ });
35
+ } catch (error) {
36
+ const errorEvent = new ErrorEvent("token error", {
37
+ message: "Failed to resolve access token",
38
+ error: error
39
+ });
40
+ return this.emitErrorEvent(errorEvent), void this.closeSocket({
41
+ code: 1011,
42
+ reason: "Access token resolution failed"
43
+ });
44
+ }
45
+ this.keepAlive && this.setKeepAlive();
46
+ }),
47
+ /**
48
+ * Message handler
49
+ */
50
+ this.onMessage = event => {
51
+ const data = this.parseEventData(event.data);
52
+ void 0 !== data && (this.emitParsedMessage(data), this.emitUnifiedMessage({
53
+ type: "message",
54
+ data: data,
55
+ event: event
56
+ }));
57
+ },
58
+ /**
59
+ * Close handler with the reconnection logic as needed
60
+ */
61
+ this.onClose = event => {
62
+ var _a;
63
+ null === (_a = this.onCloseCallback) || void 0 === _a || _a.call(this, event), this.emitUnifiedMessage({
64
+ type: "close",
65
+ event: event
66
+ }), this.closeSocket(event), this.shouldReconnect(event) && this.reconnect();
67
+ },
68
+ /**
69
+ * Error handler
70
+ */
71
+ this.onError = event => {
72
+ const error = event instanceof ErrorEvent ? event : new ErrorEvent("websocket error", {
73
+ message: "WebSocket connection error"
74
+ });
75
+ this.emitErrorEvent(error);
76
+ }, this.url = options.url, this.autoReconnect = null === (_a = options.autoReconnect) || void 0 === _a || _a,
77
+ this.reconnectInterval = null !== (_b = options.reconnectInterval) && void 0 !== _b ? _b : 1e3,
78
+ this.reconnectAttempts = null !== (_c = options.reconnectAttempts) && void 0 !== _c ? _c : 5,
79
+ this.reconnectFalloff = null === (_d = options.reconnectFalloff) || void 0 === _d || _d,
80
+ this.keepAlive = null === (_e = options.keepAlive) || void 0 === _e || _e, this.keepAliveInterval = null !== (_f = options.keepAliveInterval) && void 0 !== _f ? _f : 3e4,
81
+ this.unifiedMessages = null !== (_g = options.unifiedMessages) && void 0 !== _g && _g,
82
+ this.token = null !== (_h = options.token) && void 0 !== _h ? _h : "", this.onMessageCallback = options.onMessageCallback,
83
+ this.onOpenCallback = options.onOpenCallback, this.onCloseCallback = options.onCloseCallback,
84
+ this.onErrorCallback = options.onErrorCallback, "undefined" == typeof WebSocket) throw new TypeError("WebSocket is not supported in this environment.");
85
+ this.connect();
86
+ }
87
+ /**
88
+ * Gracefully handle sending messages
89
+ */ send(message) {
90
+ var _a;
91
+ const data = "string" == typeof message ? message : JSON.stringify(message);
92
+ null === (_a = this.socket) || void 0 === _a || _a.send(data);
93
+ }
94
+ /**
95
+ * Gracefully expose socket close
96
+ */ close(closeEvent) {
97
+ this.manuallyClosed = !0, this.clearReconnectTimer(), this.reconnectAttemptsCount = 0,
98
+ this.closeSocket(closeEvent);
99
+ }
100
+ /**
101
+ * Emit the parsed message content for standard mode
102
+ */ emitParsedMessage(data) {
103
+ if (this.unifiedMessages) return;
104
+ const callback = this.onMessageCallback;
105
+ null == callback || callback(data);
106
+ }
107
+ /**
108
+ * Emit a unified message if the unified flag is on
109
+ */ emitUnifiedMessage(message) {
110
+ if (!this.unifiedMessages) return;
111
+ const callback = this.onMessageCallback;
112
+ null == callback || callback(message);
113
+ }
114
+ /**
115
+ * Emit error
116
+ */ emitErrorEvent(error) {
117
+ var _a;
118
+ null === (_a = this.onErrorCallback) || void 0 === _a || _a.call(this, error), this.emitUnifiedMessage({
119
+ type: "error",
120
+ event: error
121
+ });
122
+ }
123
+ /**
124
+ * Safe JSON parse message content
125
+ */ parseEventData(rawData) {
126
+ if (rawData instanceof Blob || rawData instanceof ArrayBuffer || "string" == typeof rawData) {
127
+ if ("string" != typeof rawData) return rawData;
128
+ try {
129
+ return JSON.parse(rawData);
130
+ } catch (_a) {
131
+ return rawData;
132
+ }
133
+ }
134
+ this.emitErrorEvent(new ErrorEvent("parse error", {
135
+ message: "Unsupported websocket message data format"
136
+ }));
137
+ }
138
+ /**
139
+ * Attach socket listeners
140
+ */ attachEventListeners() {
141
+ this.socket && (this.socket.addEventListener("open", this.onOpen), this.socket.addEventListener("message", this.onMessage),
142
+ this.socket.addEventListener("close", this.onClose), this.socket.addEventListener("error", this.onError));
143
+ }
144
+ /**
145
+ * set keep alive pings
146
+ */ setKeepAlive() {
147
+ this.socket && this.keepAlive && (this.keepAliveTimer && clearInterval(this.keepAliveTimer),
148
+ this.keepAliveTimer = setInterval(() => {
149
+ var _a;
150
+ (null === (_a = this.socket) || void 0 === _a ? void 0 : _a.readyState) === WebSocket.OPEN && this.socket.send("ping");
151
+ }, this.keepAliveInterval));
152
+ }
153
+ /**
154
+ * Clear keep alive pings
155
+ */ clearKeepAliveTimer() {
156
+ this.keepAliveTimer && (clearInterval(this.keepAliveTimer), this.keepAliveTimer = null);
157
+ }
158
+ /**
159
+ * Clear reconnect timer
160
+ */ clearReconnectTimer() {
161
+ this.reconnectIntervalTimer && (clearTimeout(this.reconnectIntervalTimer), this.reconnectIntervalTimer = null);
162
+ }
163
+ /**
164
+ * detach all event listeners
165
+ */ detachEventListeners() {
166
+ this.socket && (this.socket.removeEventListener("open", this.onOpen), this.socket.removeEventListener("message", this.onMessage),
167
+ this.socket.removeEventListener("close", this.onClose), this.socket.removeEventListener("error", this.onError));
168
+ }
169
+ /**
170
+ * Connect the socket
171
+ */ connect() {
172
+ var _a, _b;
173
+ (null === (_a = this.socket) || void 0 === _a ? void 0 : _a.readyState) !== WebSocket.OPEN && (null === (_b = this.socket) || void 0 === _b ? void 0 : _b.readyState) !== WebSocket.CONNECTING && (this.socket = new WebSocket(this.url),
174
+ this.attachEventListeners());
175
+ }
176
+ /**
177
+ * Reconnect logic
178
+ */ reconnect() {
179
+ if (!this.autoReconnect || this.manuallyClosed) return;
180
+ if (this.reconnectIntervalTimer) return;
181
+ const nextAttempt = this.reconnectAttemptsCount + 1;
182
+ if (nextAttempt > this.reconnectAttempts) return;
183
+ this.reconnectAttemptsCount = nextAttempt;
184
+ const delay = this.getReconnectDelay(nextAttempt);
185
+ this.reconnectIntervalTimer = setTimeout(() => {
186
+ this.reconnectIntervalTimer = null, this.manuallyClosed || this.connect();
187
+ }, delay);
188
+ }
189
+ /**
190
+ * Calculate reconnect delay with fall off
191
+ */ getReconnectDelay(attempt) {
192
+ return this.reconnectFalloff ? this.reconnectInterval * Math.pow(2, attempt - 1) : this.reconnectInterval;
193
+ }
194
+ /**
195
+ * Determine if should reconnect based on the close event and props
196
+ */ shouldReconnect(event) {
197
+ var _a, _b;
198
+ return (null === (_a = this.socket) || void 0 === _a ? void 0 : _a.readyState) !== WebSocket.CONNECTING && (null === (_b = this.socket) || void 0 === _b ? void 0 : _b.readyState) !== WebSocket.OPEN && (this.autoReconnect && !this.manuallyClosed && !event.wasClean);
199
+ }
200
+ /**
201
+ * Internal close socket - does not reset retry logic
202
+ */ closeSocket(closeEvent) {
203
+ this.socket && (this.clearKeepAliveTimer(), this.detachEventListeners(), this.socket.readyState !== WebSocket.CLOSED && this.socket.readyState !== WebSocket.CLOSING && this.socket.close(closeEvent.code || 1e3, closeEvent.reason || "Clean shutdown"),
204
+ this.socket = null, this.keepAliveTimer = null);
205
+ }
206
+ };
@@ -12,7 +12,25 @@ styleInject_es.styleInject(".Icon-module_icon__szG-X {\n\tcursor: var(--cursor);
12
12
  * Static icon registry created once at module load.
13
13
  * Each entry stores only icon line content renderers.
14
14
  */
15
- const STATIC_ICON_REGISTRY = new Map([ [ "video off", {
15
+ const STATIC_ICON_REGISTRY = new Map([ [ "target", {
16
+ line: ({strokeColor: strokeColor}) => jsxRuntime.jsxs(jsxRuntime.Fragment, {
17
+ children: [ jsxRuntime.jsx("circle", {
18
+ cx: "10",
19
+ cy: "10",
20
+ r: "3.25",
21
+ fill: strokeColor
22
+ }), jsxRuntime.jsx("path", {
23
+ d: "M10,7.5c1.38,0,2.5,1.12,2.5,2.5s-1.12,2.5-2.5,2.5-2.5-1.12-2.5-2.5,1.12-2.5,2.5-2.5M10,6c-2.21,0-4,1.79-4,4s1.79,4,4,4,4-1.79,4-4-1.79-4-4-4h0Z",
24
+ fill: strokeColor
25
+ }), jsxRuntime.jsx("path", {
26
+ d: "M10,18.25c-4.55,0-8.25-3.7-8.25-8.25S5.45,1.75,10,1.75s8.25,3.7,8.25,8.25-3.7,8.25-8.25,8.25ZM10,3.75c-3.45,0-6.25,2.8-6.25,6.25s2.8,6.25,6.25,6.25,6.25-2.8,6.25-6.25-2.8-6.25-6.25-6.25Z",
27
+ fill: strokeColor
28
+ }), jsxRuntime.jsx("path", {
29
+ d: "M10,2.5c4.14,0,7.5,3.36,7.5,7.5s-3.36,7.5-7.5,7.5-7.5-3.36-7.5-7.5,3.36-7.5,7.5-7.5M10,17c3.86,0,7-3.14,7-7s-3.14-7-7-7-7,3.14-7,7,3.14,7,7,7M10,1C5.03,1,1,5.03,1,10s4.03,9,9,9,9-4.03,9-9S14.97,1,10,1h0ZM10,15.5c-3.04,0-5.5-2.46-5.5-5.5s2.46-5.5,5.5-5.5,5.5,2.46,5.5,5.5-2.46,5.5-5.5,5.5h0Z",
30
+ fill: strokeColor
31
+ }) ]
32
+ })
33
+ } ], [ "video off", {
16
34
  line: ({strokeColor: strokeColor}) => jsxRuntime.jsxs(jsxRuntime.Fragment, {
17
35
  children: [ jsxRuntime.jsx("path", {
18
36
  d: "M10.97,14.75H3.04c-.16,0-.29-.11-.29-.25v-6.79l-1.5-1.29v8.08c0,.96.8,1.75,1.79,1.75h9.68l-1.75-1.5Z",
@@ -1035,12 +1053,12 @@ const STATIC_ICON_REGISTRY = new Map([ [ "video off", {
1035
1053
 
1036
1054
  var IconNames;
1037
1055
 
1038
- Icon.displayName = "Icon", exports.IconNames = void 0, (IconNames = exports.IconNames || (exports.IconNames = {})).video = "video",
1039
- IconNames.mic = "mic", IconNames.micMuted = "mic muted", IconNames.camera = "camera",
1040
- IconNames.videoOff = "video off", IconNames.home = "home", IconNames.inbox = "inbox",
1041
- IconNames.sparkle = "sparkle", IconNames.people = "people", IconNames.wallet = "wallet",
1042
- IconNames.invoice = "invoice", IconNames.payment = "payment", IconNames.heart = "heart",
1043
- IconNames.clock = "clock", IconNames.book = "book", IconNames.search = "search",
1056
+ Icon.displayName = "Icon", exports.IconNames = void 0, (IconNames = exports.IconNames || (exports.IconNames = {})).target = "target",
1057
+ IconNames.video = "video", IconNames.mic = "mic", IconNames.micMuted = "mic muted",
1058
+ IconNames.camera = "camera", IconNames.videoOff = "video off", IconNames.home = "home",
1059
+ IconNames.inbox = "inbox", IconNames.sparkle = "sparkle", IconNames.people = "people",
1060
+ IconNames.wallet = "wallet", IconNames.invoice = "invoice", IconNames.payment = "payment",
1061
+ IconNames.heart = "heart", IconNames.clock = "clock", IconNames.book = "book", IconNames.search = "search",
1044
1062
  IconNames.filter = "filter", IconNames.more = "more", IconNames.checkbox = "checkbox",
1045
1063
  IconNames.checkboxChecked = "checkbox checked", IconNames.checkboxPartial = "checkbox partial",
1046
1064
  IconNames.chevronDown = "chevron down", IconNames.chevronUp = "chevron up", IconNames.plus = "plus",
@@ -4,7 +4,7 @@ var zustand = require("zustand");
4
4
 
5
5
  require("./tslib.es6-C8dZW5nY.js");
6
6
 
7
- var utils_objects = require("../utils/objects/index.js");
7
+ var SSEConnection = require("./SSEConnection-B_yE8cXz.js");
8
8
 
9
9
  const useSSEStore = zustand.create((set, get) => ({
10
10
  connections: [],
@@ -14,7 +14,7 @@ const useSSEStore = zustand.create((set, get) => ({
14
14
  addConnection: (name, options) => {
15
15
  const existingConnection = get().connections.find(c => c.name === name);
16
16
  null == existingConnection || existingConnection.connection.close();
17
- const userOnMessageCallback = options.onMessageCallback, connection = new utils_objects.SSEConnection(Object.assign(Object.assign({}, options), {
17
+ const userOnMessageCallback = options.onMessageCallback, connection = new SSEConnection.SSEConnection(Object.assign(Object.assign({}, options), {
18
18
  unifiedOnMessage: !0,
19
19
  onMessageCallback: message => {
20
20
  set({
@@ -53,7 +53,7 @@ exports.useIsConnected = connection => useSSEStore(state => {
53
53
  }), exports.useLastSSEMessage = () => useSSEStore.getState().message, exports.useMessage = function(type, connection) {
54
54
  return useSSEStore(state => {
55
55
  const sourceMessage = connection && !state.connections.some(c => c.name === connection) ? null : state.message;
56
- return type ? sourceMessage && sourceMessage.type === type ? "open" === type || "error" === type || "close" === type ? "event" in sourceMessage ? sourceMessage.event : null : "data" in sourceMessage ? sourceMessage.data : null : null : sourceMessage;
56
+ return type ? (null == sourceMessage ? void 0 : sourceMessage.type) !== type ? null : "open" === type || "error" === type || "close" === type ? "event" in sourceMessage ? sourceMessage.event : null : "data" in sourceMessage ? sourceMessage.data : null : sourceMessage;
57
57
  });
58
58
  }, exports.useSSE = () => useSSEStore(state => state.actions), exports.useSSEActions = useSSEActions,
59
59
  exports.useSSEStore = useSSEStore;
@@ -0,0 +1,156 @@
1
+ "use strict";
2
+
3
+ var FormFactor, tslib_es6 = require("./tslib.es6-C8dZW5nY.js"), zustand = require("zustand");
4
+
5
+ /**
6
+ * Form factor names
7
+ */
8
+ exports.FormFactor = void 0, (FormFactor = exports.FormFactor || (exports.FormFactor = {})).Mobile = "mobile",
9
+ FormFactor.Tablet = "tablet", FormFactor.Desktop = "desktop", FormFactor.DesktopL = "desktopL",
10
+ FormFactor.DesktopXL = "desktopXL";
11
+
12
+ /**
13
+ * Use bootstrap breakpoints
14
+ */
15
+ const bootstrapBreakPoints = {
16
+ [exports.FormFactor.Mobile]: 576,
17
+ [exports.FormFactor.Tablet]: 768,
18
+ [exports.FormFactor.Desktop]: 992,
19
+ [exports.FormFactor.DesktopL]: 1200,
20
+ [exports.FormFactor.DesktopXL]: 1400
21
+ }, orderedBps = Object.entries(bootstrapBreakPoints).sort((a, b) => -b[1] - a[1]), getFormFactor = width => {
22
+ if (!width || width <= 0) return exports.FormFactor.Mobile;
23
+ for (const [formFactor, breakpoint] of orderedBps) if (width >= breakpoint) return formFactor;
24
+ return exports.FormFactor.Mobile;
25
+ }, isBrowser = "undefined" != typeof globalThis && "undefined" != typeof navigator, initialSize = processWindowSize(), useWindowStore = zustand.create((set, get) => ({
26
+ formFactor: initialSize.formFactor,
27
+ viewportWidth: initialSize.viewportWidth,
28
+ viewportHeight: initialSize.viewportHeight,
29
+ height: initialSize.height,
30
+ isElectron: checkElectron(),
31
+ isAppleDevice: checkAppleDevice(),
32
+ isTouchDevice: checkTouchDevice(),
33
+ dpr: getDpr(),
34
+ locationError: null,
35
+ location: null,
36
+ gettingLocation: !1,
37
+ actions: {
38
+ initialize: () => {
39
+ if (!isBrowser) return () => {};
40
+ const win = getViewportWindow();
41
+ return null == win || win.addEventListener("resize", handleResize), handleResize(),
42
+ () => null == win ? void 0 : win.removeEventListener("resize", handleResize);
43
+ },
44
+ getLocation: () => tslib_es6.__awaiter(void 0, void 0, void 0, function*() {
45
+ if (!isBrowser || !("geolocation" in navigator)) {
46
+ const error = createLocationError("Geolocation is not supported in this browser.", 0);
47
+ throw set({
48
+ locationError: error,
49
+ gettingLocation: !1
50
+ }), error;
51
+ }
52
+ return set({
53
+ gettingLocation: !0,
54
+ locationError: null
55
+ }), yield new Promise((resolve, reject) => {
56
+ navigator.geolocation.getCurrentPosition(position => {
57
+ const location = {
58
+ latitude: position.coords.latitude,
59
+ longitude: position.coords.longitude,
60
+ accuracy: position.coords.accuracy,
61
+ altitude: position.coords.altitude,
62
+ altitudeAccuracy: position.coords.altitudeAccuracy,
63
+ heading: position.coords.heading,
64
+ speed: position.coords.speed,
65
+ timestamp: position.timestamp
66
+ };
67
+ set({
68
+ location: location,
69
+ gettingLocation: !1,
70
+ locationError: null
71
+ }), resolve(location);
72
+ }, err => {
73
+ const error = createLocationError(err.message, err.code);
74
+ set({
75
+ locationError: error,
76
+ gettingLocation: !1,
77
+ location: null
78
+ }), reject(error);
79
+ });
80
+ });
81
+ })
82
+ }
83
+ }));
84
+
85
+ function checkElectron() {
86
+ if (!isBrowser) return !1;
87
+ return navigator.userAgent.toLowerCase().includes("electron/");
88
+ }
89
+
90
+ function checkAppleDevice() {
91
+ return !!isBrowser && (navigator.platform.startsWith("Mac") || "iPhone" === navigator.platform);
92
+ }
93
+
94
+ function checkTouchDevice() {
95
+ return !!isBrowser && ("ontouchstart" in globalThis || navigator.maxTouchPoints > 0);
96
+ }
97
+
98
+ function getDpr() {
99
+ var _a;
100
+ return isBrowser && null !== (_a = Math.min(Math.ceil(window.devicePixelRatio), 3)) && void 0 !== _a ? _a : 1;
101
+ }
102
+
103
+ function createLocationError(message, code) {
104
+ return new Error(message, {
105
+ cause: {
106
+ code: code
107
+ }
108
+ });
109
+ }
110
+
111
+ function getViewportWindow() {
112
+ var _a;
113
+ return isBrowser ? null !== (_a = window.top) && void 0 !== _a ? _a : globalThis : null;
114
+ }
115
+
116
+ function handleResize() {
117
+ if (!isBrowser) return;
118
+ const {formFactor: formFactor, viewportWidth: viewportWidth, viewportHeight: viewportHeight, height: height} = processWindowSize();
119
+ useWindowStore.setState({
120
+ formFactor: formFactor,
121
+ viewportWidth: viewportWidth,
122
+ viewportHeight: viewportHeight,
123
+ height: height
124
+ });
125
+ }
126
+
127
+ function processWindowSize(top = !0) {
128
+ var _a, _b;
129
+ if (!isBrowser) return {
130
+ formFactor: exports.FormFactor.Mobile,
131
+ viewportWidth: -1,
132
+ viewportHeight: -1,
133
+ height: "100vh"
134
+ };
135
+ const viewport = top ? getViewportWindow() : globalThis, touch = checkTouchDevice(), windowWidth = null !== (_a = null == viewport ? void 0 : viewport.innerWidth) && void 0 !== _a ? _a : -1, windowHeight = null !== (_b = null == viewport ? void 0 : viewport.innerHeight) && void 0 !== _b ? _b : -1;
136
+ return {
137
+ formFactor: getFormFactor(windowWidth),
138
+ viewportWidth: windowWidth,
139
+ viewportHeight: windowHeight,
140
+ height: viewport && touch ? `${windowHeight}px` : "100vh"
141
+ };
142
+ }
143
+
144
+ exports.dpr = () => useWindowStore.getState().dpr, exports.formFactor = () => useWindowStore.getState().formFactor,
145
+ exports.gettingLocation = () => useWindowStore.getState().gettingLocation, exports.isAppleDevice = () => useWindowStore.getState().isAppleDevice,
146
+ exports.isElectron = () => useWindowStore.getState().isElectron, exports.isTouchDevice = () => useWindowStore.getState().isTouchDevice,
147
+ exports.location = () => useWindowStore.getState().location, exports.locationError = () => useWindowStore.getState().locationError,
148
+ exports.useDpr = () => useWindowStore(state => state.dpr), exports.useFormFactor = () => useWindowStore(state => state.formFactor),
149
+ exports.useGetLocation = () => useWindowStore(state => state.actions.getLocation),
150
+ exports.useGettingLocation = () => useWindowStore(state => state.gettingLocation),
151
+ exports.useInitializeWindow = () => useWindowStore(state => state.actions.initialize),
152
+ exports.useIsAppleDevice = () => useWindowStore(state => state.isAppleDevice), exports.useIsElectron = () => useWindowStore(state => state.isElectron),
153
+ exports.useIsTouchDevice = () => useWindowStore(state => state.isTouchDevice), exports.useLocation = () => useWindowStore(state => state.location),
154
+ exports.useLocationError = () => useWindowStore(state => state.locationError), exports.useViewportHeight = () => useWindowStore(state => state.viewportHeight),
155
+ exports.useViewportWidth = () => useWindowStore(state => state.viewportWidth), exports.useWindowStore = useWindowStore,
156
+ exports.viewportHeight = () => useWindowStore.getState().viewportHeight, exports.viewportWidth = () => useWindowStore.getState().viewportWidth;
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
 
3
- var Button = require("../../chunks/Button-hg5kGC1P.js");
3
+ var Button = require("../../chunks/Button-Ck4syxwn.js");
4
4
 
5
5
  require("../../chunks/tslib.es6-C8dZW5nY.js"), require("react/jsx-runtime"), require("motion/react"),
6
6
  require("react"), require("../../chunks/Badge-CY_DG6cD.js"), require("../../chunks/style-inject.es-CMuL-BfJ.js"),
7
- require("../../chunks/Dot-_HCJ3qxd.js"), require("../../chunks/_types-C_zOsCbB.js"),
7
+ require("../../chunks/Dot-_HCJ3qxd.js"), require("../../chunks/_types-NyUTfBLR.js"),
8
8
  require("../../hooks/useTheme.js"), require("../../theme/themes.js"), require("../../theme/colors.js"),
9
9
  require("../../theme/corners.js"), require("../../theme/elevations.js"), require("../../theme/motion.js"),
10
10
  require("../../theme/type.js"), require("../../hooks/useObserveTheme.js"), require("../../hooks/useWindow.js"),
11
- require("../../chunks/misc-C-M6KKsH.js"), require("../../chunks/ProgressIndicator-qjya_Yb5.js"),
11
+ require("../../chunks/misc-C-M6KKsH.js"), require("../../chunks/ProgressIndicator-Dvq4eIWW.js"),
12
12
  require("../../chunks/sharedTypes-gCECyn2N.js"), exports.Button = Button.Button;
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
 
3
- var ButtonBar = require("../../chunks/ButtonBar-C9Nm9faU.js");
3
+ var ButtonBar = require("../../chunks/ButtonBar-Cx9Xwddh.js");
4
4
 
5
5
  require("../../chunks/tslib.es6-C8dZW5nY.js"), require("react/jsx-runtime"), require("react"),
6
6
  require("../../hooks/useTheme.js"), require("../../theme/themes.js"), require("../../theme/colors.js"),
7
7
  require("../../theme/corners.js"), require("../../theme/elevations.js"), require("../../theme/motion.js"),
8
8
  require("../../theme/type.js"), require("../../hooks/useObserveTheme.js"), require("../../hooks/useWindow.js"),
9
- require("../../chunks/IconButton-CBWmUZxR.js"), require("motion/react"), require("../../chunks/Badge-CY_DG6cD.js"),
9
+ require("../../chunks/IconButton-yWq-C437.js"), require("motion/react"), require("../../chunks/Badge-CY_DG6cD.js"),
10
10
  require("../../chunks/style-inject.es-CMuL-BfJ.js"), require("../../chunks/Dot-_HCJ3qxd.js"),
11
- require("../../chunks/_types-C_zOsCbB.js"), require("../../chunks/misc-C-M6KKsH.js"),
11
+ require("../../chunks/_types-NyUTfBLR.js"), require("../../chunks/misc-C-M6KKsH.js"),
12
12
  require("../../chunks/sharedTypes-gCECyn2N.js"), exports.ButtonBar = ButtonBar.ButtonBar;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- var Camera = require("../../chunks/Camera-Dx_PT3pS.js");
3
+ var Camera = require("../../chunks/Camera-BrLRwcw1.js");
4
4
 
5
5
  require("../../chunks/tslib.es6-C8dZW5nY.js"), require("react/jsx-runtime"), require("react"),
6
6
  require("../../hooks/useTheme.js"), require("../../theme/themes.js"), require("../../theme/colors.js"),
@@ -8,4 +8,4 @@ require("../../theme/corners.js"), require("../../theme/elevations.js"), require
8
8
  require("../../theme/type.js"), require("../../hooks/useObserveTheme.js"), require("../../hooks/useWindow.js"),
9
9
  require("../../chunks/misc-C-M6KKsH.js"), require("../../chunks/colors-uej0anrN.js"),
10
10
  require("../../chunks/Avatar-YNcGDUzr.js"), require("../../chunks/style-inject.es-CMuL-BfJ.js"),
11
- require("../../chunks/_types-C_zOsCbB.js"), exports.Camera = Camera.Camera;
11
+ require("../../chunks/_types-NyUTfBLR.js"), exports.Camera = Camera.Camera;
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
 
3
- var Card = require("../../chunks/Card-AgEMKJ4O.js");
3
+ var Card = require("../../chunks/Card-CYDP4vAN.js");
4
4
 
5
5
  require("../../chunks/tslib.es6-C8dZW5nY.js"), require("react/jsx-runtime"), require("react"),
6
- require("../../chunks/_types-C_zOsCbB.js"), require("../../hooks/useTheme.js"),
6
+ require("../../chunks/_types-NyUTfBLR.js"), require("../../hooks/useTheme.js"),
7
7
  require("../../theme/themes.js"), require("../../theme/colors.js"), require("../../theme/corners.js"),
8
8
  require("../../theme/elevations.js"), require("../../theme/motion.js"), require("../../theme/type.js"),
9
9
  require("../../hooks/useObserveTheme.js"), require("../../hooks/useWindow.js"),
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
 
3
- var CheckBox = require("../../chunks/CheckBox-CLMxlUff.js");
3
+ var CheckBox = require("../../chunks/CheckBox-DYG1fNWy.js");
4
4
 
5
5
  require("../../chunks/tslib.es6-C8dZW5nY.js"), require("react/jsx-runtime"), require("motion/react"),
6
6
  require("react"), require("../../hooks/useTheme.js"), require("../../theme/themes.js"),
7
7
  require("../../theme/colors.js"), require("../../theme/corners.js"), require("../../theme/elevations.js"),
8
8
  require("../../theme/motion.js"), require("../../theme/type.js"), require("../../hooks/useObserveTheme.js"),
9
- require("../../hooks/useWindow.js"), require("../../chunks/_types-C_zOsCbB.js"),
9
+ require("../../hooks/useWindow.js"), require("../../chunks/_types-NyUTfBLR.js"),
10
10
  require("../../chunks/misc-C-M6KKsH.js"), require("../../chunks/style-inject.es-CMuL-BfJ.js"),
11
11
  exports.CheckBox = CheckBox.CheckBox;
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
 
3
- var Chip = require("../../chunks/Chip-CIy_Xe3i.js");
3
+ var Chip = require("../../chunks/Chip-CqOwsrmt.js");
4
4
 
5
5
  require("../../chunks/tslib.es6-C8dZW5nY.js"), require("react/jsx-runtime"), require("react"),
6
6
  require("../../hooks/useTheme.js"), require("../../theme/themes.js"), require("../../theme/colors.js"),
7
7
  require("../../theme/corners.js"), require("../../theme/elevations.js"), require("../../theme/motion.js"),
8
8
  require("../../theme/type.js"), require("../../hooks/useObserveTheme.js"), require("../../hooks/useWindow.js"),
9
- require("../../chunks/_types-C_zOsCbB.js"), require("../../chunks/misc-C-M6KKsH.js"),
9
+ require("../../chunks/_types-NyUTfBLR.js"), require("../../chunks/misc-C-M6KKsH.js"),
10
10
  require("../../chunks/style-inject.es-CMuL-BfJ.js"), require("../../chunks/sharedTypes-gCECyn2N.js"),
11
11
  exports.Chip = Chip.Chip;
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
 
3
- var DropDown = require("../../chunks/DropDown-FZb52YxR.js");
3
+ var DropDown = require("../../chunks/DropDown-Bo0bxkFk.js");
4
4
 
5
5
  require("../../chunks/tslib.es6-C8dZW5nY.js"), require("react/jsx-runtime"), require("react"),
6
6
  require("../../hooks/useTheme.js"), require("../../theme/themes.js"), require("../../theme/colors.js"),
7
7
  require("../../theme/corners.js"), require("../../theme/elevations.js"), require("../../theme/motion.js"),
8
8
  require("../../theme/type.js"), require("../../hooks/useObserveTheme.js"), require("../../hooks/useWindow.js"),
9
- require("../../chunks/_types-C_zOsCbB.js"), require("../../chunks/misc-C-M6KKsH.js"),
9
+ require("../../chunks/_types-NyUTfBLR.js"), require("../../chunks/misc-C-M6KKsH.js"),
10
10
  require("../../chunks/style-inject.es-CMuL-BfJ.js"), exports.DropDown = DropDown.DropDown;
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
 
3
- var FileList = require("../../chunks/FileList-BQgcnKPP.js");
3
+ var FileList = require("../../chunks/FileList-bA8PoGOh.js");
4
4
 
5
5
  require("../../chunks/tslib.es6-C8dZW5nY.js"), require("react/jsx-runtime"), require("react"),
6
6
  require("../../chunks/misc-C-M6KKsH.js"), require("../../chunks/FileIcon-hYwcre20.js"),
7
7
  require("../../hooks/useTheme.js"), require("../../theme/themes.js"), require("../../theme/colors.js"),
8
8
  require("../../theme/corners.js"), require("../../theme/elevations.js"), require("../../theme/motion.js"),
9
9
  require("../../theme/type.js"), require("../../hooks/useObserveTheme.js"), require("../../hooks/useWindow.js"),
10
- require("../../chunks/_types-C_zOsCbB.js"), require("../../chunks/style-inject.es-CMuL-BfJ.js"),
11
- require("../../chunks/ProgressIndicator-qjya_Yb5.js"), require("motion/react"),
10
+ require("../../chunks/_types-NyUTfBLR.js"), require("../../chunks/style-inject.es-CMuL-BfJ.js"),
11
+ require("../../chunks/ProgressIndicator-Dvq4eIWW.js"), require("motion/react"),
12
12
  exports.FileList = FileList.FileList;
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
 
3
- var Grouper = require("../../chunks/Grouper-Bgc1wrQM.js");
3
+ var Grouper = require("../../chunks/Grouper-BszVihfB.js");
4
4
 
5
5
  require("../../chunks/tslib.es6-C8dZW5nY.js"), require("react/jsx-runtime"), require("motion/react"),
6
6
  require("react"), require("../../hooks/useTheme.js"), require("../../theme/themes.js"),
7
7
  require("../../theme/colors.js"), require("../../theme/corners.js"), require("../../theme/elevations.js"),
8
8
  require("../../theme/motion.js"), require("../../theme/type.js"), require("../../hooks/useObserveTheme.js"),
9
9
  require("../../hooks/useWindow.js"), require("../../chunks/Badge-CY_DG6cD.js"),
10
- require("../../chunks/style-inject.es-CMuL-BfJ.js"), require("../../chunks/_types-C_zOsCbB.js"),
10
+ require("../../chunks/style-inject.es-CMuL-BfJ.js"), require("../../chunks/_types-NyUTfBLR.js"),
11
11
  require("../../chunks/misc-C-M6KKsH.js"), exports.Grouper = Grouper.Grouper;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- var _types = require("../../chunks/_types-C_zOsCbB.js");
3
+ var _types = require("../../chunks/_types-NyUTfBLR.js");
4
4
 
5
5
  require("../../chunks/tslib.es6-C8dZW5nY.js"), require("react/jsx-runtime"), require("react"),
6
6
  require("../../hooks/useTheme.js"), require("../../theme/themes.js"), require("../../theme/colors.js"),
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
 
3
- var IconButton = require("../../chunks/IconButton-CBWmUZxR.js");
3
+ var IconButton = require("../../chunks/IconButton-yWq-C437.js");
4
4
 
5
5
  require("../../chunks/tslib.es6-C8dZW5nY.js"), require("react/jsx-runtime"), require("motion/react"),
6
6
  require("react"), require("../../chunks/Badge-CY_DG6cD.js"), require("../../chunks/style-inject.es-CMuL-BfJ.js"),
7
- require("../../chunks/Dot-_HCJ3qxd.js"), require("../../chunks/_types-C_zOsCbB.js"),
7
+ require("../../chunks/Dot-_HCJ3qxd.js"), require("../../chunks/_types-NyUTfBLR.js"),
8
8
  require("../../hooks/useTheme.js"), require("../../theme/themes.js"), require("../../theme/colors.js"),
9
9
  require("../../theme/corners.js"), require("../../theme/elevations.js"), require("../../theme/motion.js"),
10
10
  require("../../theme/type.js"), require("../../hooks/useObserveTheme.js"), require("../../hooks/useWindow.js"),
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
 
3
- var ProgressIndicator = require("../../chunks/ProgressIndicator-qjya_Yb5.js");
3
+ var ProgressIndicator = require("../../chunks/ProgressIndicator-Dvq4eIWW.js");
4
4
 
5
5
  require("react/jsx-runtime"), require("react"), require("../../hooks/useTheme.js"),
6
6
  require("../../theme/themes.js"), require("../../theme/colors.js"), require("../../theme/corners.js"),
7
7
  require("../../theme/elevations.js"), require("../../theme/motion.js"), require("../../theme/type.js"),
8
8
  require("../../hooks/useObserveTheme.js"), require("../../hooks/useWindow.js"),
9
- require("../../chunks/tslib.es6-C8dZW5nY.js"), require("../../chunks/_types-C_zOsCbB.js"),
9
+ require("../../chunks/tslib.es6-C8dZW5nY.js"), require("../../chunks/_types-NyUTfBLR.js"),
10
10
  require("../../chunks/misc-C-M6KKsH.js"), require("../../chunks/style-inject.es-CMuL-BfJ.js"),
11
11
  require("motion/react"), exports.DoneCheck = ProgressIndicator.DoneCheck, exports.ProgressIndicator = ProgressIndicator.ProgressIndicator;