@sia.soul/sia-react-ui 0.1.141 → 0.1.143
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/{Button-BiL3Wjsd.d.ts → Button-C8W8ZHWV.d.ts} +1 -1
- package/dist/{Button-O_pNB3SQ.d.cts → Button-CxKBjLda.d.cts} +1 -1
- package/dist/{Select-DeD4O8FL.d.ts → Select-CTSd8zum.d.ts} +14 -10
- package/dist/{Select-Y0e9kaxE.d.cts → Select-bKLket9n.d.cts} +14 -10
- package/dist/chart.cjs +1051 -335
- package/dist/chart.js +5 -5
- package/dist/chunk-4OHS7RXE.js +1004 -0
- package/dist/{chunk-WIRIEIRO.js → chunk-4TYHSAR3.js} +5 -5
- package/dist/{chunk-L2S7IPSM.js → chunk-566S64IP.js} +5 -5
- package/dist/{chunk-CZ2ITBRW.js → chunk-7SEGBB6V.js} +34 -5
- package/dist/{chunk-KY6A5IJH.js → chunk-ETQJ2DQ2.js} +1 -1
- package/dist/{chunk-WD56MJO2.js → chunk-F52O2MOV.js} +7 -3
- package/dist/{chunk-PQBCD54U.js → chunk-JRXYM5YH.js} +167 -64
- package/dist/{chunk-SCEHVGKV.js → chunk-LKLPCYEP.js} +2 -2
- package/dist/{chunk-DIRPOUVX.js → chunk-MD4CGSOR.js} +105 -61
- package/dist/{chunk-436QH6XH.js → chunk-ORSQAJ22.js} +160 -497
- package/dist/{chunk-SO7IJZIR.js → chunk-PD3K5U5Y.js} +2 -2
- package/dist/{chunk-UVHC6OEX.js → chunk-WCYVBO2N.js} +342 -123
- package/dist/{core-DYo5C4Si.d.cts → core-COaZfusa.d.cts} +51 -24
- package/dist/{core-sWwvVAmP.d.ts → core-CvfsQGuT.d.ts} +51 -24
- package/dist/core.cjs +2000 -1251
- package/dist/core.css +416 -344
- package/dist/core.d.cts +3 -3
- package/dist/core.d.ts +3 -3
- package/dist/core.js +18 -9
- package/dist/game.cjs +1984 -1169
- package/dist/game.css +182 -177
- package/dist/game.d.cts +1 -1
- package/dist/game.d.ts +1 -1
- package/dist/game.js +8 -3
- package/dist/index.cjs +4658 -3542
- package/dist/index.css +416 -344
- package/dist/index.d.cts +84 -81
- package/dist/index.d.ts +84 -81
- package/dist/index.js +1075 -713
- package/dist/markdown-editor.cjs +727 -40
- package/dist/markdown-editor.js +8 -3
- package/dist/rich-text-editor.cjs +1265 -308
- package/dist/rich-text-editor.js +12 -7
- package/dist/{select-date-range-X6a9Y-Te.d.ts → select-date-range-C8cacfmb.d.ts} +1 -1
- package/dist/{select-date-range-DiBQQ0Rn.d.cts → select-date-range-Dad0IdD4.d.cts} +1 -1
- package/dist/select-date-range.cjs +1281 -807
- package/dist/select-date-range.d.cts +3 -3
- package/dist/select-date-range.d.ts +3 -3
- package/dist/select-date-range.js +13 -8
- package/package.json +9 -2
- package/dist/chunk-NZMUW5XI.js +0 -292
package/dist/game.cjs
CHANGED
|
@@ -45,6 +45,486 @@ __export(game_exports, {
|
|
|
45
45
|
});
|
|
46
46
|
module.exports = __toCommonJS(game_exports);
|
|
47
47
|
|
|
48
|
+
// src/components/FloatingScrollbarProvider.tsx
|
|
49
|
+
var import_react2 = require("react");
|
|
50
|
+
|
|
51
|
+
// src/components/useScrollbarProximity.ts
|
|
52
|
+
var import_react = require("react");
|
|
53
|
+
var users = 0;
|
|
54
|
+
var cleanup;
|
|
55
|
+
function acquireScrollbarProximity() {
|
|
56
|
+
if (users++ === 0) {
|
|
57
|
+
let frame = 0;
|
|
58
|
+
let x = -Infinity;
|
|
59
|
+
let y = -Infinity;
|
|
60
|
+
const nearby = /* @__PURE__ */ new Set();
|
|
61
|
+
const clear = () => {
|
|
62
|
+
nearby.forEach((track) => track.removeAttribute("data-scrollbar-near"));
|
|
63
|
+
nearby.clear();
|
|
64
|
+
};
|
|
65
|
+
const update = () => {
|
|
66
|
+
frame = 0;
|
|
67
|
+
const next = /* @__PURE__ */ new Set();
|
|
68
|
+
document.querySelectorAll(".sia-scrollbar-track").forEach((track) => {
|
|
69
|
+
const rect = track.getBoundingClientRect();
|
|
70
|
+
const proximity = Number.parseFloat(getComputedStyle(track).getPropertyValue("--sia-scrollbar-proximity")) || 16;
|
|
71
|
+
if (rect.width && rect.height && x >= rect.left - proximity && x <= rect.right + proximity && y >= rect.top - proximity && y <= rect.bottom + proximity) {
|
|
72
|
+
next.add(track);
|
|
73
|
+
if (!nearby.has(track)) track.setAttribute("data-scrollbar-near", "true");
|
|
74
|
+
}
|
|
75
|
+
});
|
|
76
|
+
nearby.forEach((track) => {
|
|
77
|
+
if (!next.has(track)) track.removeAttribute("data-scrollbar-near");
|
|
78
|
+
});
|
|
79
|
+
nearby.clear();
|
|
80
|
+
next.forEach((track) => nearby.add(track));
|
|
81
|
+
};
|
|
82
|
+
const move = (event) => {
|
|
83
|
+
if (event.pointerType === "touch") return;
|
|
84
|
+
x = event.clientX;
|
|
85
|
+
y = event.clientY;
|
|
86
|
+
if (!frame) frame = requestAnimationFrame(update);
|
|
87
|
+
};
|
|
88
|
+
const leave = () => {
|
|
89
|
+
x = y = -Infinity;
|
|
90
|
+
clear();
|
|
91
|
+
};
|
|
92
|
+
document.addEventListener("pointermove", move, { passive: true });
|
|
93
|
+
document.documentElement.addEventListener("pointerleave", leave);
|
|
94
|
+
window.addEventListener("blur", leave);
|
|
95
|
+
cleanup = () => {
|
|
96
|
+
if (frame) cancelAnimationFrame(frame);
|
|
97
|
+
document.removeEventListener("pointermove", move);
|
|
98
|
+
document.documentElement.removeEventListener("pointerleave", leave);
|
|
99
|
+
window.removeEventListener("blur", leave);
|
|
100
|
+
clear();
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
return () => {
|
|
104
|
+
if (--users === 0) {
|
|
105
|
+
cleanup?.();
|
|
106
|
+
cleanup = void 0;
|
|
107
|
+
}
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
// src/components/floatingScrollbarOwnership.ts
|
|
112
|
+
var targets = /* @__PURE__ */ new Map();
|
|
113
|
+
function registerFloatingScrollbar(track, target) {
|
|
114
|
+
targets.set(track, { target, dragging: false });
|
|
115
|
+
return () => {
|
|
116
|
+
targets.delete(track);
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
function setFloatingScrollbarDragging(track, dragging) {
|
|
120
|
+
const entry = targets.get(track);
|
|
121
|
+
if (entry) entry.dragging = dragging;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
// src/components/FloatingScrollbarProvider.tsx
|
|
125
|
+
var scrollableOverflow = /* @__PURE__ */ new Set(["auto", "scroll", "overlay"]);
|
|
126
|
+
var clippingOverflow = /* @__PURE__ */ new Set(["auto", "scroll", "overlay", "hidden", "clip"]);
|
|
127
|
+
function isRootScroller(target) {
|
|
128
|
+
return target === document.scrollingElement || target === document.documentElement;
|
|
129
|
+
}
|
|
130
|
+
function canScroll(target, axis) {
|
|
131
|
+
if (target.matches(".sia-table__viewport, [data-sia-native-scrollbar]")) return false;
|
|
132
|
+
if (isRootScroller(target)) {
|
|
133
|
+
const rootStyle = getComputedStyle(target);
|
|
134
|
+
const bodyStyle = getComputedStyle(document.body);
|
|
135
|
+
const overflow2 = axis === "horizontal" ? [rootStyle.overflowX, bodyStyle.overflowX] : [rootStyle.overflowY, bodyStyle.overflowY];
|
|
136
|
+
if (overflow2.some((value) => value === "hidden" || value === "clip")) return false;
|
|
137
|
+
return axis === "horizontal" ? target.scrollWidth > target.clientWidth + 1 : target.scrollHeight > target.clientHeight + 1;
|
|
138
|
+
}
|
|
139
|
+
const style = getComputedStyle(target);
|
|
140
|
+
const overflow = axis === "horizontal" ? style.overflowX : style.overflowY;
|
|
141
|
+
if (!scrollableOverflow.has(overflow)) return false;
|
|
142
|
+
const hasOverflow = axis === "horizontal" ? target.scrollWidth > target.clientWidth + 1 : target.scrollHeight > target.clientHeight + 1;
|
|
143
|
+
return hasOverflow;
|
|
144
|
+
}
|
|
145
|
+
function visibleRect(target) {
|
|
146
|
+
if (isRootScroller(target)) {
|
|
147
|
+
return { top: 0, right: window.innerWidth, bottom: window.innerHeight, left: 0, width: window.innerWidth, height: window.innerHeight };
|
|
148
|
+
}
|
|
149
|
+
const ownRect = target.getBoundingClientRect();
|
|
150
|
+
let top = Math.max(0, ownRect.top);
|
|
151
|
+
let right = Math.min(window.innerWidth, ownRect.right);
|
|
152
|
+
let bottom = Math.min(window.innerHeight, ownRect.bottom);
|
|
153
|
+
let left = Math.max(0, ownRect.left);
|
|
154
|
+
let parent = target.parentElement;
|
|
155
|
+
while (parent && parent !== document.body && parent !== document.documentElement) {
|
|
156
|
+
const style = getComputedStyle(parent);
|
|
157
|
+
const clipX = clippingOverflow.has(style.overflowX);
|
|
158
|
+
const clipY = clippingOverflow.has(style.overflowY);
|
|
159
|
+
if (clipX || clipY) {
|
|
160
|
+
const rect = parent.getBoundingClientRect();
|
|
161
|
+
if (clipX) {
|
|
162
|
+
left = Math.max(left, rect.left);
|
|
163
|
+
right = Math.min(right, rect.right);
|
|
164
|
+
}
|
|
165
|
+
if (clipY) {
|
|
166
|
+
top = Math.max(top, rect.top);
|
|
167
|
+
bottom = Math.min(bottom, rect.bottom);
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
parent = parent.parentElement;
|
|
171
|
+
}
|
|
172
|
+
return {
|
|
173
|
+
top,
|
|
174
|
+
right,
|
|
175
|
+
bottom,
|
|
176
|
+
left,
|
|
177
|
+
width: Math.max(0, right - left),
|
|
178
|
+
height: Math.max(0, bottom - top)
|
|
179
|
+
};
|
|
180
|
+
}
|
|
181
|
+
function createTrack(axis) {
|
|
182
|
+
const track = document.createElement("div");
|
|
183
|
+
const thumb = document.createElement("div");
|
|
184
|
+
track.className = `sia-scrollbar-track sia-floating-scrollbar sia-floating-scrollbar--${axis}`;
|
|
185
|
+
thumb.className = "sia-floating-scrollbar__thumb";
|
|
186
|
+
track.dataset.axis = axis;
|
|
187
|
+
track.setAttribute("aria-hidden", "true");
|
|
188
|
+
track.append(thumb);
|
|
189
|
+
return { track, thumb };
|
|
190
|
+
}
|
|
191
|
+
var automatic = false;
|
|
192
|
+
var stopGlobal;
|
|
193
|
+
var globalProviders = /* @__PURE__ */ new Map();
|
|
194
|
+
function syncDefaultScrollbars() {
|
|
195
|
+
if (typeof document === "undefined" || !document.body) return;
|
|
196
|
+
const enabled = (automatic || globalProviders.size > 0) && ![...globalProviders.values()].includes(false);
|
|
197
|
+
if (enabled && !stopGlobal) stopGlobal = startFloatingScrollbars();
|
|
198
|
+
if (!enabled && stopGlobal) {
|
|
199
|
+
stopGlobal();
|
|
200
|
+
stopGlobal = void 0;
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
function initializeDefaultScrollbars() {
|
|
204
|
+
if (typeof document === "undefined" || automatic) return;
|
|
205
|
+
automatic = true;
|
|
206
|
+
if (document.body) syncDefaultScrollbars();
|
|
207
|
+
else document.addEventListener("DOMContentLoaded", syncDefaultScrollbars, { once: true });
|
|
208
|
+
}
|
|
209
|
+
function startFloatingScrollbars(targetRef) {
|
|
210
|
+
const releaseProximity = acquireScrollbarProximity();
|
|
211
|
+
const layer = document.createElement("div");
|
|
212
|
+
layer.className = "sia-floating-scrollbar-layer";
|
|
213
|
+
layer.setAttribute("aria-hidden", "true");
|
|
214
|
+
document.body.append(layer);
|
|
215
|
+
const entries = /* @__PURE__ */ new Map();
|
|
216
|
+
let scanFrame = 0;
|
|
217
|
+
let updateFrame = 0;
|
|
218
|
+
const dirtyStyles = /* @__PURE__ */ new Set();
|
|
219
|
+
let fullScan = true;
|
|
220
|
+
const setEntryVisible = (entry, visible) => {
|
|
221
|
+
entry.horizontalTrack.classList.toggle("sia-floating-scrollbar--visible", visible);
|
|
222
|
+
entry.verticalTrack.classList.toggle("sia-floating-scrollbar--visible", visible);
|
|
223
|
+
};
|
|
224
|
+
const showEntry = (entry) => {
|
|
225
|
+
if (entry.hideTimer !== null) window.clearTimeout(entry.hideTimer);
|
|
226
|
+
entry.hideTimer = null;
|
|
227
|
+
setEntryVisible(entry, true);
|
|
228
|
+
};
|
|
229
|
+
const scheduleHide = (entry, delay = 500) => {
|
|
230
|
+
if (entry.hideTimer !== null) window.clearTimeout(entry.hideTimer);
|
|
231
|
+
entry.hideTimer = window.setTimeout(() => {
|
|
232
|
+
entry.hideTimer = null;
|
|
233
|
+
if (!entry.hoveringTarget && !entry.hoveringTrack && !entry.dragging) setEntryVisible(entry, false);
|
|
234
|
+
}, delay);
|
|
235
|
+
};
|
|
236
|
+
const updateEntry = (entry) => {
|
|
237
|
+
const { target, horizontalTrack, horizontalThumb, verticalTrack, verticalThumb } = entry;
|
|
238
|
+
const hasHorizontal = canScroll(target, "horizontal");
|
|
239
|
+
const hasVertical = canScroll(target, "vertical");
|
|
240
|
+
const rect = visibleRect(target);
|
|
241
|
+
const thickness = 10;
|
|
242
|
+
horizontalTrack.hidden = !hasHorizontal || rect.width <= thickness || rect.height <= 0;
|
|
243
|
+
verticalTrack.hidden = !hasVertical || rect.height <= thickness || rect.width <= 0;
|
|
244
|
+
if (!horizontalTrack.hidden) {
|
|
245
|
+
const trackWidth = Math.max(0, rect.width - (hasVertical ? thickness : 0));
|
|
246
|
+
const thumbWidth = Math.max(24, Math.min(trackWidth, trackWidth * target.clientWidth / target.scrollWidth));
|
|
247
|
+
const travel = Math.max(0, trackWidth - thumbWidth);
|
|
248
|
+
const maxScroll = Math.max(1, target.scrollWidth - target.clientWidth);
|
|
249
|
+
horizontalTrack.style.left = `${rect.left}px`;
|
|
250
|
+
horizontalTrack.style.top = `${rect.bottom - thickness}px`;
|
|
251
|
+
horizontalTrack.style.width = `${trackWidth}px`;
|
|
252
|
+
horizontalTrack.style.height = `${thickness}px`;
|
|
253
|
+
horizontalThumb.style.width = `${thumbWidth}px`;
|
|
254
|
+
horizontalThumb.style.transform = `translate3d(${travel * target.scrollLeft / maxScroll}px, 0, 0)`;
|
|
255
|
+
}
|
|
256
|
+
if (!verticalTrack.hidden) {
|
|
257
|
+
const trackHeight = Math.max(0, rect.height - (hasHorizontal ? thickness : 0));
|
|
258
|
+
const thumbHeight = Math.max(24, Math.min(trackHeight, trackHeight * target.clientHeight / target.scrollHeight));
|
|
259
|
+
const travel = Math.max(0, trackHeight - thumbHeight);
|
|
260
|
+
const maxScroll = Math.max(1, target.scrollHeight - target.clientHeight);
|
|
261
|
+
verticalTrack.style.left = `${rect.right - thickness}px`;
|
|
262
|
+
verticalTrack.style.top = `${rect.top}px`;
|
|
263
|
+
verticalTrack.style.width = `${thickness}px`;
|
|
264
|
+
verticalTrack.style.height = `${trackHeight}px`;
|
|
265
|
+
verticalThumb.style.height = `${thumbHeight}px`;
|
|
266
|
+
verticalThumb.style.transform = `translate3d(0, ${travel * target.scrollTop / maxScroll}px, 0)`;
|
|
267
|
+
}
|
|
268
|
+
};
|
|
269
|
+
const scheduleUpdateAll = () => {
|
|
270
|
+
if (updateFrame) return;
|
|
271
|
+
updateFrame = window.requestAnimationFrame(() => {
|
|
272
|
+
updateFrame = 0;
|
|
273
|
+
entries.forEach(updateEntry);
|
|
274
|
+
});
|
|
275
|
+
};
|
|
276
|
+
const bindTrackDrag = (entry, axis, track, thumb) => {
|
|
277
|
+
const target = entry.target;
|
|
278
|
+
const onTrackPointerEnter = () => {
|
|
279
|
+
entry.hoveringTrack = true;
|
|
280
|
+
showEntry(entry);
|
|
281
|
+
};
|
|
282
|
+
const onTrackPointerLeave = () => {
|
|
283
|
+
entry.hoveringTrack = false;
|
|
284
|
+
scheduleHide(entry);
|
|
285
|
+
};
|
|
286
|
+
const onTrackPointerDown = (event) => {
|
|
287
|
+
if (event.target === thumb || event.button !== 0) return;
|
|
288
|
+
event.preventDefault();
|
|
289
|
+
event.stopPropagation();
|
|
290
|
+
const trackRect = track.getBoundingClientRect();
|
|
291
|
+
const thumbRect = thumb.getBoundingClientRect();
|
|
292
|
+
const trackLength = axis === "vertical" ? trackRect.height : trackRect.width;
|
|
293
|
+
const thumbLength = axis === "vertical" ? thumbRect.height : thumbRect.width;
|
|
294
|
+
const pointer = axis === "vertical" ? event.clientY - trackRect.top : event.clientX - trackRect.left;
|
|
295
|
+
const ratio = Math.max(0, Math.min(1, (pointer - thumbLength / 2) / Math.max(1, trackLength - thumbLength)));
|
|
296
|
+
if (axis === "vertical") target.scrollTop = ratio * (target.scrollHeight - target.clientHeight);
|
|
297
|
+
else target.scrollLeft = ratio * (target.scrollWidth - target.clientWidth);
|
|
298
|
+
};
|
|
299
|
+
const onThumbPointerDown = (event) => {
|
|
300
|
+
if (event.button !== 0) return;
|
|
301
|
+
event.preventDefault();
|
|
302
|
+
event.stopPropagation();
|
|
303
|
+
entry.dragging = true;
|
|
304
|
+
setFloatingScrollbarDragging(track, true);
|
|
305
|
+
showEntry(entry);
|
|
306
|
+
thumb.setPointerCapture(event.pointerId);
|
|
307
|
+
const startPointer = axis === "vertical" ? event.clientY : event.clientX;
|
|
308
|
+
const startScroll = axis === "vertical" ? target.scrollTop : target.scrollLeft;
|
|
309
|
+
const trackRect = track.getBoundingClientRect();
|
|
310
|
+
const thumbRect = thumb.getBoundingClientRect();
|
|
311
|
+
const trackLength = axis === "vertical" ? trackRect.height : trackRect.width;
|
|
312
|
+
const thumbLength = axis === "vertical" ? thumbRect.height : thumbRect.width;
|
|
313
|
+
const maxScroll = axis === "vertical" ? target.scrollHeight - target.clientHeight : target.scrollWidth - target.clientWidth;
|
|
314
|
+
const travel = Math.max(1, trackLength - thumbLength);
|
|
315
|
+
const onPointerMove = (moveEvent) => {
|
|
316
|
+
if (moveEvent.pointerId !== event.pointerId) return;
|
|
317
|
+
const pointer = axis === "vertical" ? moveEvent.clientY : moveEvent.clientX;
|
|
318
|
+
const nextScroll = startScroll + (pointer - startPointer) * maxScroll / travel;
|
|
319
|
+
if (axis === "vertical") target.scrollTop = nextScroll;
|
|
320
|
+
else target.scrollLeft = nextScroll;
|
|
321
|
+
};
|
|
322
|
+
const onPointerUp = (upEvent) => {
|
|
323
|
+
if (upEvent.pointerId !== event.pointerId) return;
|
|
324
|
+
entry.dragging = false;
|
|
325
|
+
setFloatingScrollbarDragging(track, false);
|
|
326
|
+
thumb.releasePointerCapture(event.pointerId);
|
|
327
|
+
window.removeEventListener("pointermove", onPointerMove);
|
|
328
|
+
window.removeEventListener("pointerup", onPointerUp);
|
|
329
|
+
window.removeEventListener("pointercancel", onPointerUp);
|
|
330
|
+
scheduleHide(entry);
|
|
331
|
+
};
|
|
332
|
+
window.addEventListener("pointermove", onPointerMove);
|
|
333
|
+
window.addEventListener("pointerup", onPointerUp);
|
|
334
|
+
window.addEventListener("pointercancel", onPointerUp);
|
|
335
|
+
};
|
|
336
|
+
track.addEventListener("pointerenter", onTrackPointerEnter);
|
|
337
|
+
track.addEventListener("pointerleave", onTrackPointerLeave);
|
|
338
|
+
track.addEventListener("pointerdown", onTrackPointerDown);
|
|
339
|
+
thumb.addEventListener("pointerdown", onThumbPointerDown);
|
|
340
|
+
return () => {
|
|
341
|
+
track.removeEventListener("pointerenter", onTrackPointerEnter);
|
|
342
|
+
track.removeEventListener("pointerleave", onTrackPointerLeave);
|
|
343
|
+
track.removeEventListener("pointerdown", onTrackPointerDown);
|
|
344
|
+
thumb.removeEventListener("pointerdown", onThumbPointerDown);
|
|
345
|
+
};
|
|
346
|
+
};
|
|
347
|
+
const resizeObserver = new ResizeObserver((observedEntries) => {
|
|
348
|
+
observedEntries.forEach(({ target }) => {
|
|
349
|
+
const entry = entries.get(target);
|
|
350
|
+
if (entry) updateEntry(entry);
|
|
351
|
+
});
|
|
352
|
+
});
|
|
353
|
+
const addTarget = (target) => {
|
|
354
|
+
if (entries.has(target)) return;
|
|
355
|
+
const horizontal = createTrack("horizontal");
|
|
356
|
+
const vertical = createTrack("vertical");
|
|
357
|
+
const releaseHorizontalOwner = registerFloatingScrollbar(horizontal.track, target);
|
|
358
|
+
const releaseVerticalOwner = registerFloatingScrollbar(vertical.track, target);
|
|
359
|
+
layer.append(horizontal.track, vertical.track);
|
|
360
|
+
const onPointerEnter = () => {
|
|
361
|
+
const entry2 = entries.get(target);
|
|
362
|
+
if (!entry2) return;
|
|
363
|
+
entry2.hoveringTarget = true;
|
|
364
|
+
showEntry(entry2);
|
|
365
|
+
};
|
|
366
|
+
const onPointerLeave = () => {
|
|
367
|
+
const entry2 = entries.get(target);
|
|
368
|
+
if (!entry2) return;
|
|
369
|
+
entry2.hoveringTarget = false;
|
|
370
|
+
scheduleHide(entry2);
|
|
371
|
+
};
|
|
372
|
+
const onScroll = () => {
|
|
373
|
+
const entry2 = entries.get(target);
|
|
374
|
+
if (!entry2) return;
|
|
375
|
+
updateEntry(entry2);
|
|
376
|
+
showEntry(entry2);
|
|
377
|
+
scheduleHide(entry2, 700);
|
|
378
|
+
};
|
|
379
|
+
target.addEventListener("pointerenter", onPointerEnter);
|
|
380
|
+
target.addEventListener("pointerleave", onPointerLeave);
|
|
381
|
+
target.addEventListener("scroll", onScroll, { passive: true });
|
|
382
|
+
const entry = {
|
|
383
|
+
target,
|
|
384
|
+
horizontalTrack: horizontal.track,
|
|
385
|
+
horizontalThumb: horizontal.thumb,
|
|
386
|
+
verticalTrack: vertical.track,
|
|
387
|
+
verticalThumb: vertical.thumb,
|
|
388
|
+
hideTimer: null,
|
|
389
|
+
hoveringTarget: target.matches(":hover"),
|
|
390
|
+
hoveringTrack: false,
|
|
391
|
+
dragging: false,
|
|
392
|
+
cleanup: () => void 0
|
|
393
|
+
};
|
|
394
|
+
const cleanupHorizontal = bindTrackDrag(entry, "horizontal", horizontal.track, horizontal.thumb);
|
|
395
|
+
const cleanupVertical = bindTrackDrag(entry, "vertical", vertical.track, vertical.thumb);
|
|
396
|
+
entry.cleanup = () => {
|
|
397
|
+
if (entry.hideTimer !== null) window.clearTimeout(entry.hideTimer);
|
|
398
|
+
cleanupHorizontal();
|
|
399
|
+
cleanupVertical();
|
|
400
|
+
releaseHorizontalOwner();
|
|
401
|
+
releaseVerticalOwner();
|
|
402
|
+
target.removeEventListener("pointerenter", onPointerEnter);
|
|
403
|
+
target.removeEventListener("pointerleave", onPointerLeave);
|
|
404
|
+
target.removeEventListener("scroll", onScroll);
|
|
405
|
+
resizeObserver.unobserve(target);
|
|
406
|
+
target.removeAttribute("data-sia-floating-scrollbar");
|
|
407
|
+
horizontal.track.remove();
|
|
408
|
+
vertical.track.remove();
|
|
409
|
+
};
|
|
410
|
+
entries.set(target, entry);
|
|
411
|
+
target.setAttribute("data-sia-floating-scrollbar", "");
|
|
412
|
+
resizeObserver.observe(target);
|
|
413
|
+
updateEntry(entry);
|
|
414
|
+
if (entry.hoveringTarget) showEntry(entry);
|
|
415
|
+
};
|
|
416
|
+
const removeTarget = (target) => {
|
|
417
|
+
const entry = entries.get(target);
|
|
418
|
+
if (!entry) return;
|
|
419
|
+
entry.cleanup();
|
|
420
|
+
entries.delete(target);
|
|
421
|
+
};
|
|
422
|
+
const scanTargets = () => {
|
|
423
|
+
scanFrame = 0;
|
|
424
|
+
const managedSelector = ".sia-table__viewport, .sia-scrollbar-track, .sia-floating-scrollbar-layer";
|
|
425
|
+
const discovered = /* @__PURE__ */ new Set();
|
|
426
|
+
if (!targetRef) {
|
|
427
|
+
const roots = fullScan ? [document.body] : [...dirtyStyles].filter((node) => node.isConnected);
|
|
428
|
+
for (const root of roots) {
|
|
429
|
+
const walker = document.createTreeWalker(root, NodeFilter.SHOW_ELEMENT, {
|
|
430
|
+
acceptNode: (node) => node.matches(managedSelector) ? NodeFilter.FILTER_REJECT : NodeFilter.FILTER_ACCEPT
|
|
431
|
+
});
|
|
432
|
+
for (let node = walker.nextNode(); node; node = walker.nextNode()) {
|
|
433
|
+
if (node instanceof HTMLElement) discovered.add(node);
|
|
434
|
+
}
|
|
435
|
+
for (let node = root; node; node = node.parentElement) discovered.add(node);
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
const candidates = (targetRef ? [targetRef.current] : [document.scrollingElement, ...discovered]).filter((target) => target instanceof HTMLElement);
|
|
439
|
+
const nextTargets = /* @__PURE__ */ new Set();
|
|
440
|
+
candidates.forEach((target) => {
|
|
441
|
+
if (canScroll(target, "horizontal") || canScroll(target, "vertical")) {
|
|
442
|
+
nextTargets.add(target);
|
|
443
|
+
}
|
|
444
|
+
});
|
|
445
|
+
nextTargets.forEach((target) => {
|
|
446
|
+
if (entries.has(target) || !target.hasAttribute("data-sia-floating-scrollbar")) addTarget(target);
|
|
447
|
+
});
|
|
448
|
+
entries.forEach((_entry, target) => {
|
|
449
|
+
if (!target.isConnected || (fullScan || candidates.includes(target)) && !nextTargets.has(target)) removeTarget(target);
|
|
450
|
+
else updateEntry(_entry);
|
|
451
|
+
});
|
|
452
|
+
dirtyStyles.clear();
|
|
453
|
+
fullScan = false;
|
|
454
|
+
};
|
|
455
|
+
const scheduleScan = (complete = true) => {
|
|
456
|
+
fullScan ||= complete;
|
|
457
|
+
if (scanFrame) return;
|
|
458
|
+
scanFrame = window.requestAnimationFrame(scanTargets);
|
|
459
|
+
};
|
|
460
|
+
const previousStyle = document.createElement("div").style;
|
|
461
|
+
const positionProperties = /* @__PURE__ */ new Set(["left", "top", "transform"]);
|
|
462
|
+
const mutationObserver = new MutationObserver((mutations) => {
|
|
463
|
+
let relevant = false;
|
|
464
|
+
for (const mutation of mutations) {
|
|
465
|
+
const target = mutation.target instanceof Element ? mutation.target : mutation.target.parentElement;
|
|
466
|
+
if (!target || layer.contains(target) || target.closest(".sia-table__viewport, .sia-scrollbar-track, .sia-floating-scrollbar-layer")) continue;
|
|
467
|
+
if (mutation.type === "childList") {
|
|
468
|
+
const changed = [...mutation.addedNodes, ...mutation.removedNodes];
|
|
469
|
+
if (changed.length && changed.every((node) => node instanceof Element && node.matches(".sia-floating-scrollbar-layer, .sia-scrollbar-track"))) continue;
|
|
470
|
+
if (target === document.body && changed.length && changed.every((node) => node instanceof HTMLElement && node.matches(".sia-popup-portal"))) {
|
|
471
|
+
changed.forEach((node) => {
|
|
472
|
+
if (node instanceof HTMLElement && node.isConnected) dirtyStyles.add(node);
|
|
473
|
+
});
|
|
474
|
+
relevant = true;
|
|
475
|
+
continue;
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
const popup = target.closest(".sia-popup-portal");
|
|
479
|
+
if (popup) {
|
|
480
|
+
dirtyStyles.add(popup);
|
|
481
|
+
relevant = true;
|
|
482
|
+
continue;
|
|
483
|
+
}
|
|
484
|
+
if (mutation.type === "attributes" && mutation.attributeName === "class" && target instanceof HTMLElement && target.matches(".sia-select")) {
|
|
485
|
+
const oldClasses = new Set((mutation.oldValue ?? "").split(/\s+/).filter(Boolean));
|
|
486
|
+
const newClasses = new Set(target.classList);
|
|
487
|
+
const changed = [.../* @__PURE__ */ new Set([...oldClasses, ...newClasses])].filter((name) => oldClasses.has(name) !== newClasses.has(name));
|
|
488
|
+
if (changed.every((name) => name === "is-open")) {
|
|
489
|
+
dirtyStyles.add(target);
|
|
490
|
+
relevant = true;
|
|
491
|
+
continue;
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
relevant = true;
|
|
495
|
+
let positionOnly = false;
|
|
496
|
+
if (mutation.type === "attributes" && mutation.attributeName === "style" && target instanceof HTMLElement) {
|
|
497
|
+
previousStyle.cssText = mutation.oldValue ?? "";
|
|
498
|
+
const keys = /* @__PURE__ */ new Set([...Array.from(previousStyle), ...Array.from(target.style)]);
|
|
499
|
+
const changed = [...keys].filter((key2) => previousStyle.getPropertyValue(key2) !== target.style.getPropertyValue(key2) || previousStyle.getPropertyPriority(key2) !== target.style.getPropertyPriority(key2));
|
|
500
|
+
if (!changed.length) continue;
|
|
501
|
+
const fixedSize = target.style.width.endsWith("px") && target.style.height.endsWith("px");
|
|
502
|
+
positionOnly = fixedSize && changed.every((key2) => positionProperties.has(key2)) && ["absolute", "fixed"].includes(getComputedStyle(target).position);
|
|
503
|
+
}
|
|
504
|
+
if (positionOnly && target instanceof HTMLElement) dirtyStyles.add(target);
|
|
505
|
+
else fullScan = true;
|
|
506
|
+
}
|
|
507
|
+
if (relevant) scheduleScan(false);
|
|
508
|
+
});
|
|
509
|
+
mutationObserver.observe(document.documentElement, { subtree: true, childList: true, attributes: true, attributeOldValue: true, attributeFilter: ["class", "style", "hidden", "data-sia-native-scrollbar", "data-sia-floating-scrollbar"] });
|
|
510
|
+
const onResize = () => scheduleScan();
|
|
511
|
+
window.addEventListener("resize", onResize);
|
|
512
|
+
window.addEventListener("scroll", scheduleUpdateAll, true);
|
|
513
|
+
scheduleScan();
|
|
514
|
+
return () => {
|
|
515
|
+
releaseProximity();
|
|
516
|
+
mutationObserver.disconnect();
|
|
517
|
+
resizeObserver.disconnect();
|
|
518
|
+
window.removeEventListener("resize", onResize);
|
|
519
|
+
window.removeEventListener("scroll", scheduleUpdateAll, true);
|
|
520
|
+
if (scanFrame) window.cancelAnimationFrame(scanFrame);
|
|
521
|
+
if (updateFrame) window.cancelAnimationFrame(updateFrame);
|
|
522
|
+
entries.forEach((entry) => entry.cleanup());
|
|
523
|
+
entries.clear();
|
|
524
|
+
layer.remove();
|
|
525
|
+
};
|
|
526
|
+
}
|
|
527
|
+
|
|
48
528
|
// src/game/hex-rules.ts
|
|
49
529
|
var DEFAULT_GAME_ABILITIES = [
|
|
50
530
|
{ id: "bolt", name: "\u7B26\u7B93", kind: "attack", effect: "damage", range: 2, scale: 1, cooldown: 1, description: "\u4E24\u683C\u5185\u5355\u4F53\u653B\u51FB\u3002" },
|
|
@@ -443,14 +923,184 @@ function createIdleEngine(definition) {
|
|
|
443
923
|
}
|
|
444
924
|
|
|
445
925
|
// src/game/components.tsx
|
|
446
|
-
var
|
|
926
|
+
var import_react13 = require("react");
|
|
447
927
|
|
|
448
928
|
// src/components/titleTooltip.tsx
|
|
449
929
|
var import_client = require("react-dom/client");
|
|
450
930
|
|
|
451
931
|
// src/components/PopupPortal.tsx
|
|
452
|
-
var
|
|
932
|
+
var import_react4 = require("react");
|
|
453
933
|
var import_react_dom = require("react-dom");
|
|
934
|
+
|
|
935
|
+
// src/components/overlayMotion.ts
|
|
936
|
+
var import_react3 = require("react");
|
|
937
|
+
|
|
938
|
+
// src/components/popupFluidMotion.ts
|
|
939
|
+
var popupEnterDuration = 260;
|
|
940
|
+
var popupExitDuration = 140;
|
|
941
|
+
var popupInitialScale = 0.88;
|
|
942
|
+
var popupTravelOffset = 6;
|
|
943
|
+
function popupFluidFrames(placement, open = true) {
|
|
944
|
+
const side = placement.split("-")[0];
|
|
945
|
+
const axis = side === "left" || side === "right" ? "X" : "Y";
|
|
946
|
+
const sign = side === "left" || side === "top" ? 1 : -1;
|
|
947
|
+
const hidden = { opacity: 0, transform: `translate${axis}(${sign * popupTravelOffset}px) scale(${popupInitialScale})` };
|
|
948
|
+
const visible = { opacity: 1, transform: "none" };
|
|
949
|
+
return open ? [
|
|
950
|
+
{ ...hidden, offset: 0 },
|
|
951
|
+
{ opacity: 1, transform: "scale(1.11, 1.085)", offset: 0.68 },
|
|
952
|
+
{ opacity: 1, transform: "scale(.945, .965)", offset: 0.86 },
|
|
953
|
+
{ ...visible, offset: 1 }
|
|
954
|
+
] : [{ ...visible, offset: 0 }, { ...hidden, offset: 1 }];
|
|
955
|
+
}
|
|
956
|
+
|
|
957
|
+
// src/components/overlayMotion.ts
|
|
958
|
+
function motionFrames(kind, placement) {
|
|
959
|
+
if (kind === "fade") return [{ opacity: 0 }, { opacity: 1 }];
|
|
960
|
+
if (kind === "toast") return [
|
|
961
|
+
{ opacity: 0, transform: "translateY(-6px)", offset: 0 },
|
|
962
|
+
{ opacity: 1, transform: "translateY(3px)", offset: 0.68 },
|
|
963
|
+
{ opacity: 1, transform: "translateY(-1px)", offset: 0.86 },
|
|
964
|
+
{ opacity: 1, transform: "none", offset: 1 }
|
|
965
|
+
];
|
|
966
|
+
if (kind === "drawer") {
|
|
967
|
+
const axis = placement === "left" || placement === "right" ? "X" : "Y";
|
|
968
|
+
const sign = placement === "left" || placement === "top" ? -1 : 1;
|
|
969
|
+
const outside = `translate${axis}(${sign * 100}%)`;
|
|
970
|
+
return [
|
|
971
|
+
{ transform: outside, offset: 0 },
|
|
972
|
+
{ transform: `translate${axis}(0) scale${axis}(1.065)`, offset: 0.68 },
|
|
973
|
+
{ transform: `translate${axis}(0) scale${axis}(.975)`, offset: 0.86 },
|
|
974
|
+
{ transform: "none", offset: 1 }
|
|
975
|
+
];
|
|
976
|
+
}
|
|
977
|
+
const modal = kind === "modal";
|
|
978
|
+
return [
|
|
979
|
+
{ opacity: 0, transform: `translateY(${modal ? 18 : -6}px) scale(${modal ? 0.9 : 0.88})`, offset: 0 },
|
|
980
|
+
{ opacity: 1, transform: modal ? "scale(1.075, 1.05)" : "scale(1.11, 1.085)", offset: 0.68 },
|
|
981
|
+
{ opacity: 1, transform: modal ? "scale(.965, .98)" : "scale(.945, .965)", offset: 0.86 },
|
|
982
|
+
{ opacity: 1, transform: "none", offset: 1 }
|
|
983
|
+
];
|
|
984
|
+
}
|
|
985
|
+
function useOverlayMotion(open, ref, kind, placement = "bottom", ready = true, onFinish, enabled = true) {
|
|
986
|
+
const [phase, setPhase] = (0, import_react3.useState)(open ? "entering" : "closed");
|
|
987
|
+
const present = open || phase !== "closed";
|
|
988
|
+
const [entered, setEntered] = (0, import_react3.useState)(false);
|
|
989
|
+
const position = (0, import_react3.useRef)();
|
|
990
|
+
const snapshot = (0, import_react3.useRef)();
|
|
991
|
+
const notify = (0, import_react3.useRef)();
|
|
992
|
+
const callback = (0, import_react3.useRef)(onFinish);
|
|
993
|
+
callback.current = onFinish;
|
|
994
|
+
(0, import_react3.useLayoutEffect)(() => {
|
|
995
|
+
const node = ref.current;
|
|
996
|
+
if (!present || !ready || !node) return;
|
|
997
|
+
let cancelled = false;
|
|
998
|
+
let animation;
|
|
999
|
+
let surfaceAnimation;
|
|
1000
|
+
let maskAnimation;
|
|
1001
|
+
const panel = kind === "drawer" || kind === "modal";
|
|
1002
|
+
const fluid = kind === "popup";
|
|
1003
|
+
const mask = kind === "modal" ? node.closest(".sia-modal-root") : kind === "drawer" ? node.closest(".sia-drawer-root")?.querySelector(".sia-drawer__mask") : null;
|
|
1004
|
+
setPhase(open ? "entering" : "closing");
|
|
1005
|
+
const finish = () => {
|
|
1006
|
+
if (cancelled) return;
|
|
1007
|
+
position.current = void 0;
|
|
1008
|
+
snapshot.current = void 0;
|
|
1009
|
+
if (open) {
|
|
1010
|
+
animation?.cancel();
|
|
1011
|
+
surfaceAnimation?.cancel();
|
|
1012
|
+
maskAnimation?.cancel();
|
|
1013
|
+
}
|
|
1014
|
+
notify.current = open;
|
|
1015
|
+
setEntered(open);
|
|
1016
|
+
setPhase(open ? "open" : "closed");
|
|
1017
|
+
node.dispatchEvent(new Event("sia-overlay-motion-end", { bubbles: true }));
|
|
1018
|
+
};
|
|
1019
|
+
const reduced = node.ownerDocument.defaultView?.matchMedia("(prefers-reduced-motion: reduce)");
|
|
1020
|
+
const completeImmediately = () => {
|
|
1021
|
+
animation?.cancel();
|
|
1022
|
+
surfaceAnimation?.cancel();
|
|
1023
|
+
maskAnimation?.cancel();
|
|
1024
|
+
finish();
|
|
1025
|
+
};
|
|
1026
|
+
if (!enabled || reduced?.matches || !node.animate) {
|
|
1027
|
+
finish();
|
|
1028
|
+
} else {
|
|
1029
|
+
let frames = fluid ? popupFluidFrames(placement, open) : motionFrames(kind, placement);
|
|
1030
|
+
const start = snapshot.current;
|
|
1031
|
+
const enterDuration = fluid ? popupEnterDuration : kind === "drawer" ? 320 : kind === "modal" ? 240 : kind === "fade" ? 180 : 280;
|
|
1032
|
+
let duration = fluid && !open ? popupExitDuration : panel && !open ? kind === "drawer" ? 180 : 160 : enterDuration;
|
|
1033
|
+
if (fluid && start) {
|
|
1034
|
+
const current = new DOMMatrix(start.transform);
|
|
1035
|
+
const destination = new DOMMatrix(String(frames[frames.length - 1].transform));
|
|
1036
|
+
const remaining = Math.min(1, Math.max(0.15, Math.max(Math.abs(destination.a - current.a), Math.abs(destination.d - current.d)) / (1 - popupInitialScale), Math.hypot(current.e - destination.e, current.f - destination.f) / popupTravelOffset));
|
|
1037
|
+
frames = [{ offset: 0, transform: start.transform, opacity: start.opacity }, { ...frames[frames.length - 1], offset: 1 }];
|
|
1038
|
+
duration *= remaining;
|
|
1039
|
+
}
|
|
1040
|
+
if (panel) {
|
|
1041
|
+
if (!open) frames = [{ transform: start?.transform ?? "none", opacity: start?.opacity ?? 1 }, { ...frames[0], offset: 1 }];
|
|
1042
|
+
else if (start) frames = [{ ...frames[0], transform: start.transform, opacity: start.opacity }, ...frames.slice(1)];
|
|
1043
|
+
}
|
|
1044
|
+
const options = {
|
|
1045
|
+
duration,
|
|
1046
|
+
easing: fluid ? open ? "cubic-bezier(.2,.7,.2,1)" : "cubic-bezier(.4,0,1,1)" : panel && !open ? "cubic-bezier(.4,0,1,1)" : kind === "fade" ? "ease-in-out" : "cubic-bezier(.2,.7,.2,1)",
|
|
1047
|
+
direction: panel || fluid || open ? "normal" : "reverse",
|
|
1048
|
+
fill: "both"
|
|
1049
|
+
};
|
|
1050
|
+
animation = node.animate(frames, options);
|
|
1051
|
+
if (!panel && !fluid && position.current !== void 0) animation.currentTime = open ? position.current : duration - position.current;
|
|
1052
|
+
position.current = void 0;
|
|
1053
|
+
snapshot.current = void 0;
|
|
1054
|
+
if (mask) {
|
|
1055
|
+
maskAnimation = mask.animate([{ opacity: start?.maskOpacity ?? (open ? 0 : 1) }, { opacity: open ? 1 : 0 }], { ...options, pseudoElement: kind === "modal" ? "::before" : void 0 });
|
|
1056
|
+
maskAnimation.currentTime = animation.currentTime;
|
|
1057
|
+
if (animation.startTime !== null) maskAnimation.startTime = animation.startTime;
|
|
1058
|
+
}
|
|
1059
|
+
if (kind === "toast") {
|
|
1060
|
+
const surfaceFrames = motionFrames("message", placement).map((frame) => ({
|
|
1061
|
+
offset: frame.offset,
|
|
1062
|
+
transform: String(frame.transform).replace(/translateY\([^)]*\)\s*/g, "")
|
|
1063
|
+
}));
|
|
1064
|
+
surfaceAnimation = node.animate(surfaceFrames, { ...options, pseudoElement: "::before" });
|
|
1065
|
+
surfaceAnimation.currentTime = animation.currentTime;
|
|
1066
|
+
if (animation.startTime !== null) surfaceAnimation.startTime = animation.startTime;
|
|
1067
|
+
}
|
|
1068
|
+
animation.finished.then(finish, () => {
|
|
1069
|
+
});
|
|
1070
|
+
reduced?.addEventListener("change", completeImmediately, { once: true });
|
|
1071
|
+
}
|
|
1072
|
+
return () => {
|
|
1073
|
+
cancelled = true;
|
|
1074
|
+
reduced?.removeEventListener("change", completeImmediately);
|
|
1075
|
+
if (animation && (animation.playState === "running" || animation.playState === "paused")) {
|
|
1076
|
+
if (panel || fluid) {
|
|
1077
|
+
const css = node.ownerDocument.defaultView.getComputedStyle(node);
|
|
1078
|
+
snapshot.current = {
|
|
1079
|
+
transform: css.transform,
|
|
1080
|
+
opacity: css.opacity,
|
|
1081
|
+
maskOpacity: mask ? node.ownerDocument.defaultView.getComputedStyle(mask, kind === "modal" ? "::before" : null).opacity : void 0
|
|
1082
|
+
};
|
|
1083
|
+
} else {
|
|
1084
|
+
const time = Number(animation.currentTime ?? 0);
|
|
1085
|
+
const duration = Number(animation.effect?.getTiming().duration ?? 0);
|
|
1086
|
+
position.current = open ? time : duration - time;
|
|
1087
|
+
}
|
|
1088
|
+
}
|
|
1089
|
+
animation?.cancel();
|
|
1090
|
+
surfaceAnimation?.cancel();
|
|
1091
|
+
maskAnimation?.cancel();
|
|
1092
|
+
};
|
|
1093
|
+
}, [open, present, ready, kind, placement, enabled, ref]);
|
|
1094
|
+
(0, import_react3.useEffect)(() => {
|
|
1095
|
+
if (notify.current === void 0) return;
|
|
1096
|
+
const completedOpen = notify.current;
|
|
1097
|
+
notify.current = void 0;
|
|
1098
|
+
if (completedOpen === open) callback.current?.(completedOpen);
|
|
1099
|
+
}, [phase, open]);
|
|
1100
|
+
return { present, entered, settled: phase === "open", closing: !open, phase };
|
|
1101
|
+
}
|
|
1102
|
+
|
|
1103
|
+
// src/components/PopupPortal.tsx
|
|
454
1104
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
455
1105
|
function setForwardedRef(ref, value) {
|
|
456
1106
|
if (typeof ref === "function") ref(value);
|
|
@@ -459,21 +1109,23 @@ function setForwardedRef(ref, value) {
|
|
|
459
1109
|
function clamp(value, min, max) {
|
|
460
1110
|
return Math.min(Math.max(value, min), Math.max(min, max));
|
|
461
1111
|
}
|
|
462
|
-
var PopupPortal = (0,
|
|
1112
|
+
var PopupPortal = (0, import_react4.forwardRef)(function PopupPortal2({
|
|
463
1113
|
anchorRef,
|
|
464
1114
|
open = true,
|
|
465
1115
|
placement = "bottom-start",
|
|
466
1116
|
offset = 6,
|
|
467
1117
|
viewportPadding = 8,
|
|
1118
|
+
afterOpenChange,
|
|
468
1119
|
className = "",
|
|
469
1120
|
style,
|
|
470
1121
|
children,
|
|
471
1122
|
...props
|
|
472
1123
|
}, forwardedRef) {
|
|
473
|
-
const popupRef = (0,
|
|
474
|
-
const [position, setPosition] = (0,
|
|
475
|
-
(
|
|
476
|
-
|
|
1124
|
+
const popupRef = (0, import_react4.useRef)(null);
|
|
1125
|
+
const [position, setPosition] = (0, import_react4.useState)();
|
|
1126
|
+
const motion = useOverlayMotion(open, popupRef, "popup", position?.placement ?? placement, !!position, afterOpenChange);
|
|
1127
|
+
(0, import_react4.useLayoutEffect)(() => {
|
|
1128
|
+
if (!motion.present || typeof document === "undefined") {
|
|
477
1129
|
setPosition(void 0);
|
|
478
1130
|
return;
|
|
479
1131
|
}
|
|
@@ -482,7 +1134,7 @@ var PopupPortal = (0, import_react.forwardRef)(function PopupPortal2({
|
|
|
482
1134
|
const popup = popupRef.current;
|
|
483
1135
|
if (!anchor || !popup) return;
|
|
484
1136
|
const anchorRect = anchor.getBoundingClientRect();
|
|
485
|
-
const popupRect = popup.
|
|
1137
|
+
const popupRect = { width: popup.offsetWidth, height: popup.offsetHeight };
|
|
486
1138
|
const viewportWidth = document.documentElement.clientWidth;
|
|
487
1139
|
const viewportHeight = document.documentElement.clientHeight;
|
|
488
1140
|
let resolvedPlacement = placement;
|
|
@@ -524,18 +1176,28 @@ var PopupPortal = (0, import_react.forwardRef)(function PopupPortal2({
|
|
|
524
1176
|
setPosition((current) => current && current.top === next.top && current.left === next.left && current.anchorWidth === next.anchorWidth && current.availableHeight === next.availableHeight && current.placement === next.placement ? current : next);
|
|
525
1177
|
};
|
|
526
1178
|
update();
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
1179
|
+
let frame = 0;
|
|
1180
|
+
const schedule = () => {
|
|
1181
|
+
if (!frame) frame = requestAnimationFrame(() => {
|
|
1182
|
+
frame = 0;
|
|
1183
|
+
update();
|
|
1184
|
+
});
|
|
1185
|
+
};
|
|
1186
|
+
window.addEventListener("resize", schedule);
|
|
1187
|
+
window.addEventListener("scroll", schedule, true);
|
|
1188
|
+
window.addEventListener("sia-overlay-motion-end", schedule);
|
|
1189
|
+
const observer = new ResizeObserver(schedule);
|
|
530
1190
|
if (anchorRef.current) observer.observe(anchorRef.current);
|
|
531
1191
|
if (popupRef.current) observer.observe(popupRef.current);
|
|
532
1192
|
return () => {
|
|
533
|
-
window.removeEventListener("resize",
|
|
534
|
-
window.removeEventListener("scroll",
|
|
1193
|
+
window.removeEventListener("resize", schedule);
|
|
1194
|
+
window.removeEventListener("scroll", schedule, true);
|
|
1195
|
+
window.removeEventListener("sia-overlay-motion-end", schedule);
|
|
1196
|
+
cancelAnimationFrame(frame);
|
|
535
1197
|
observer.disconnect();
|
|
536
1198
|
};
|
|
537
|
-
}, [anchorRef, offset,
|
|
538
|
-
if (!
|
|
1199
|
+
}, [anchorRef, offset, motion.present, placement, viewportPadding]);
|
|
1200
|
+
if (!motion.present || typeof document === "undefined") return null;
|
|
539
1201
|
return (0, import_react_dom.createPortal)(
|
|
540
1202
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
541
1203
|
"div",
|
|
@@ -547,13 +1209,19 @@ var PopupPortal = (0, import_react.forwardRef)(function PopupPortal2({
|
|
|
547
1209
|
className: `sia-popup-portal ${className}`.trim(),
|
|
548
1210
|
"data-sia-popup-layer": "",
|
|
549
1211
|
"data-placement": position?.placement ?? placement,
|
|
1212
|
+
"data-state": motion.closing ? "closing" : "open",
|
|
1213
|
+
"aria-hidden": motion.closing || void 0,
|
|
550
1214
|
style: {
|
|
551
1215
|
...style,
|
|
552
1216
|
"--sia-popup-anchor-width": `${position?.anchorWidth ?? anchorRef.current?.getBoundingClientRect().width ?? 0}px`,
|
|
553
1217
|
"--sia-popup-available-height": position ? `${position.availableHeight}px` : void 0,
|
|
554
1218
|
top: position?.top ?? 0,
|
|
555
1219
|
left: position?.left ?? 0,
|
|
556
|
-
visibility: position ? "visible" : "hidden"
|
|
1220
|
+
visibility: position ? "visible" : "hidden",
|
|
1221
|
+
animation: "none",
|
|
1222
|
+
pointerEvents: motion.closing ? "none" : style?.pointerEvents,
|
|
1223
|
+
// 以靠近触发器的边缘中心为缩放原点,业务显式原点优先。
|
|
1224
|
+
transformOrigin: style?.transformOrigin ?? ((position?.placement ?? placement).startsWith("left") ? "right center" : (position?.placement ?? placement).startsWith("right") ? "left center" : (position?.placement ?? placement).startsWith("top") ? "center bottom" : "center top")
|
|
557
1225
|
},
|
|
558
1226
|
...withTitleTooltip(props),
|
|
559
1227
|
children
|
|
@@ -565,7 +1233,7 @@ var PopupPortal = (0, import_react.forwardRef)(function PopupPortal2({
|
|
|
565
1233
|
|
|
566
1234
|
// src/components/titleTooltip.tsx
|
|
567
1235
|
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
568
|
-
var
|
|
1236
|
+
var installedKey = /* @__PURE__ */ Symbol.for("sia.ui.titleTooltip.installed");
|
|
569
1237
|
function withTitleTooltip(props) {
|
|
570
1238
|
if (!props || typeof props !== "object" || !("title" in props)) return props;
|
|
571
1239
|
const { title, ...rest } = props;
|
|
@@ -573,8 +1241,9 @@ function withTitleTooltip(props) {
|
|
|
573
1241
|
return { ...rest, "data-sia-title": title == null ? void 0 : String(title) };
|
|
574
1242
|
}
|
|
575
1243
|
function installTitleTooltips(doc) {
|
|
576
|
-
|
|
577
|
-
|
|
1244
|
+
const owner = doc;
|
|
1245
|
+
if (owner[installedKey]) return;
|
|
1246
|
+
owner[installedKey] = true;
|
|
578
1247
|
let hovered = null;
|
|
579
1248
|
let focused = null;
|
|
580
1249
|
let keyboardFocus = true;
|
|
@@ -608,8 +1277,23 @@ function installTitleTooltips(doc) {
|
|
|
608
1277
|
if (ids.length) active.setAttribute("aria-describedby", ids.join(" "));
|
|
609
1278
|
else active.removeAttribute("aria-describedby");
|
|
610
1279
|
}
|
|
1280
|
+
const closing = active;
|
|
611
1281
|
active = null;
|
|
612
|
-
root
|
|
1282
|
+
if (closing && root) root.render(/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
1283
|
+
PopupPortal,
|
|
1284
|
+
{
|
|
1285
|
+
anchorRef: { current: closing },
|
|
1286
|
+
open: false,
|
|
1287
|
+
placement: "top-start",
|
|
1288
|
+
id: tooltipId,
|
|
1289
|
+
role: "tooltip",
|
|
1290
|
+
className: "sia-title-tooltip",
|
|
1291
|
+
afterOpenChange: (opened) => {
|
|
1292
|
+
if (!opened && !active) root?.render(null);
|
|
1293
|
+
},
|
|
1294
|
+
children: closing.getAttribute("data-sia-title")
|
|
1295
|
+
}
|
|
1296
|
+
));
|
|
613
1297
|
};
|
|
614
1298
|
const render = () => {
|
|
615
1299
|
const text2 = active?.getAttribute("data-sia-title");
|
|
@@ -707,18 +1391,18 @@ function installTitleTooltips(doc) {
|
|
|
707
1391
|
}
|
|
708
1392
|
|
|
709
1393
|
// src/components/shared.ts
|
|
710
|
-
var
|
|
711
|
-
var ControlSizeContext = (0,
|
|
1394
|
+
var import_react5 = require("react");
|
|
1395
|
+
var ControlSizeContext = (0, import_react5.createContext)("medium");
|
|
712
1396
|
function useControlSize(size) {
|
|
713
|
-
const inherited = (0,
|
|
1397
|
+
const inherited = (0, import_react5.useContext)(ControlSizeContext);
|
|
714
1398
|
return size ?? inherited;
|
|
715
1399
|
}
|
|
716
|
-
var PlaceholderModeContext = (0,
|
|
1400
|
+
var PlaceholderModeContext = (0, import_react5.createContext)("default");
|
|
717
1401
|
|
|
718
1402
|
// src/components/Button.tsx
|
|
719
|
-
var
|
|
1403
|
+
var import_react6 = require("react");
|
|
720
1404
|
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
721
|
-
var Button = (0,
|
|
1405
|
+
var Button = (0, import_react6.forwardRef)(function Button2({
|
|
722
1406
|
variant = "default",
|
|
723
1407
|
size: sizeProp,
|
|
724
1408
|
loading = false,
|
|
@@ -734,7 +1418,33 @@ var Button = (0, import_react3.forwardRef)(function Button2({
|
|
|
734
1418
|
...props
|
|
735
1419
|
}, forwardedRef) {
|
|
736
1420
|
const size = useControlSize(sizeProp);
|
|
737
|
-
const localRef = (0,
|
|
1421
|
+
const localRef = (0, import_react6.useRef)(null);
|
|
1422
|
+
const bounceRef = (0, import_react6.useRef)(null);
|
|
1423
|
+
const waveTimerRef = (0, import_react6.useRef)();
|
|
1424
|
+
(0, import_react6.useEffect)(() => () => {
|
|
1425
|
+
bounceRef.current?.cancel();
|
|
1426
|
+
window.clearTimeout(waveTimerRef.current);
|
|
1427
|
+
}, []);
|
|
1428
|
+
function playBounce(button) {
|
|
1429
|
+
if (!button.animate || window.matchMedia("(prefers-reduced-motion: reduce)").matches) return;
|
|
1430
|
+
const current = getComputedStyle(button).scale;
|
|
1431
|
+
bounceRef.current?.cancel();
|
|
1432
|
+
const base = getComputedStyle(button).scale;
|
|
1433
|
+
const [x = 1, y = x] = base === "none" ? [] : base.split(/\s+/).map(Number);
|
|
1434
|
+
const scaled = (factor) => `${x * factor} ${y * factor}`;
|
|
1435
|
+
const animation = button.animate([
|
|
1436
|
+
{ scale: current === "none" ? "1" : current, offset: 0 },
|
|
1437
|
+
// 宽按钮保持等比缩放,以更明显的过冲表现弹性但不改变布局占位。
|
|
1438
|
+
{ scale: scaled(0.9), offset: 0.2 },
|
|
1439
|
+
{ scale: scaled(1.09), offset: 0.52 },
|
|
1440
|
+
{ scale: scaled(0.96), offset: 0.78 },
|
|
1441
|
+
{ scale: scaled(1), offset: 1 }
|
|
1442
|
+
], { duration: 320, easing: "cubic-bezier(.3, 0, .25, 1)" });
|
|
1443
|
+
bounceRef.current = animation;
|
|
1444
|
+
animation.onfinish = () => {
|
|
1445
|
+
if (bounceRef.current === animation) bounceRef.current = null;
|
|
1446
|
+
};
|
|
1447
|
+
}
|
|
738
1448
|
function setRef(node) {
|
|
739
1449
|
localRef.current = node;
|
|
740
1450
|
if (typeof forwardedRef === "function") forwardedRef(node);
|
|
@@ -742,12 +1452,15 @@ var Button = (0, import_react3.forwardRef)(function Button2({
|
|
|
742
1452
|
}
|
|
743
1453
|
function handleClick(event) {
|
|
744
1454
|
const button = localRef.current;
|
|
1455
|
+
if (disabled || loading) return;
|
|
1456
|
+
if (button) playBounce(button);
|
|
745
1457
|
if (button && variant === "primary") {
|
|
746
1458
|
const rect = button.getBoundingClientRect();
|
|
747
|
-
button.style.setProperty("--sia-wave-x", `${event.clientX - rect.left}px`);
|
|
748
|
-
button.style.setProperty("--sia-wave-y", `${event.clientY - rect.top}px`);
|
|
1459
|
+
button.style.setProperty("--sia-wave-x", `${event.detail === 0 ? button.offsetWidth / 2 : (event.clientX - rect.left) * button.offsetWidth / rect.width}px`);
|
|
1460
|
+
button.style.setProperty("--sia-wave-y", `${event.detail === 0 ? button.offsetHeight / 2 : (event.clientY - rect.top) * button.offsetHeight / rect.height}px`);
|
|
749
1461
|
button.dataset.wave = "active";
|
|
750
|
-
window.
|
|
1462
|
+
window.clearTimeout(waveTimerRef.current);
|
|
1463
|
+
waveTimerRef.current = window.setTimeout(() => delete button.dataset.wave, 360);
|
|
751
1464
|
}
|
|
752
1465
|
onClick?.(event);
|
|
753
1466
|
}
|
|
@@ -773,7 +1486,7 @@ var Button = (0, import_react3.forwardRef)(function Button2({
|
|
|
773
1486
|
});
|
|
774
1487
|
|
|
775
1488
|
// src/game/HexBattlefield.tsx
|
|
776
|
-
var
|
|
1489
|
+
var import_react7 = require("react");
|
|
777
1490
|
|
|
778
1491
|
// src/game/hex-playback.ts
|
|
779
1492
|
function sampleHexPlayback(playback, progress) {
|
|
@@ -856,11 +1569,11 @@ function plate(ctx, value, x, y, color) {
|
|
|
856
1569
|
text(ctx, value, x, y, color, 12);
|
|
857
1570
|
}
|
|
858
1571
|
function GameHexBattlefield({ engine, state, event, sequence = 0 }) {
|
|
859
|
-
const canvas = (0,
|
|
1572
|
+
const canvas = (0, import_react7.useRef)(null), [phase, setPhase] = (0, import_react7.useState)("\u7B49\u5F85\u51FA\u53D1"), [assetFailed, setAssetFailed] = (0, import_react7.useState)(false), [visibleEnemies, setVisibleEnemies] = (0, import_react7.useState)(0);
|
|
860
1573
|
const map = engine.definition.maps[state.map], pet = engine.definition.pets.find((p) => p.id === state.pet);
|
|
861
1574
|
const fight = state.fight, boss = Boolean(fight?.boss), duration = engine.definition.turnDurationMs ?? 1e3;
|
|
862
|
-
const reduced = (0,
|
|
863
|
-
(0,
|
|
1575
|
+
const reduced = (0, import_react7.useRef)(false);
|
|
1576
|
+
(0, import_react7.useEffect)(() => {
|
|
864
1577
|
const media = matchMedia("(prefers-reduced-motion: reduce)");
|
|
865
1578
|
reduced.current = media.matches;
|
|
866
1579
|
const change = () => {
|
|
@@ -869,7 +1582,7 @@ function GameHexBattlefield({ engine, state, event, sequence = 0 }) {
|
|
|
869
1582
|
media.addEventListener("change", change);
|
|
870
1583
|
return () => media.removeEventListener("change", change);
|
|
871
1584
|
}, []);
|
|
872
|
-
(0,
|
|
1585
|
+
(0, import_react7.useEffect)(() => {
|
|
873
1586
|
const element = canvas.current, ctx = element?.getContext("2d");
|
|
874
1587
|
if (!element || !ctx) return;
|
|
875
1588
|
let frame = 0, disposed = false, lastPhase = "", lastCount = -1, started = performance.now();
|
|
@@ -1087,550 +1800,664 @@ function GameHexBattlefield({ engine, state, event, sequence = 0 }) {
|
|
|
1087
1800
|
] });
|
|
1088
1801
|
}
|
|
1089
1802
|
|
|
1090
|
-
// src/components/
|
|
1803
|
+
// src/components/OverlayContentSkeleton.tsx
|
|
1804
|
+
var import_jsx_runtime5 = require("react/jsx-runtime");
|
|
1805
|
+
var controlSelector = '.sia-input-control, .sia-textarea-control, .sia-input-number, .sia-select__trigger, .sia-switch-wrap, .sia-checkbox, .sia-radio, input, textarea, select, button, img, svg, canvas, video, [role="combobox"], [role="checkbox"], [role="radio"], [role="switch"], [contenteditable="true"], .sia-table';
|
|
1806
|
+
function captureOverlaySkeleton(body) {
|
|
1807
|
+
const bounds = body.getBoundingClientRect();
|
|
1808
|
+
const scaleX = body.offsetWidth ? bounds.width / body.offsetWidth : 1;
|
|
1809
|
+
const scaleY = body.offsetHeight ? bounds.height / body.offsetHeight : 1;
|
|
1810
|
+
const css = getComputedStyle(body);
|
|
1811
|
+
const paddingLeft = parseFloat(css.paddingLeft) || 0;
|
|
1812
|
+
const paddingTop = parseFloat(css.paddingTop) || 0;
|
|
1813
|
+
const width = Math.max(0, body.clientWidth - paddingLeft - (parseFloat(css.paddingRight) || 0));
|
|
1814
|
+
const height = Math.max(0, body.clientHeight - paddingTop - (parseFloat(css.paddingBottom) || 0));
|
|
1815
|
+
const blocks = [];
|
|
1816
|
+
const addRect = (rect, radius) => {
|
|
1817
|
+
const x = (rect.left - bounds.left) / (scaleX || 1) - body.clientLeft - paddingLeft;
|
|
1818
|
+
const y = (rect.top - bounds.top) / (scaleY || 1) - body.clientTop - paddingTop;
|
|
1819
|
+
const left = Math.max(0, x), top = Math.max(0, y);
|
|
1820
|
+
const right = Math.min(width, x + rect.width / (scaleX || 1));
|
|
1821
|
+
const bottom = Math.min(height, y + rect.height / (scaleY || 1));
|
|
1822
|
+
if (right - left < 2 || bottom - top < 2 || blocks.length >= 80) return;
|
|
1823
|
+
blocks.push({ position: "absolute", left, top, width: right - left, height: bottom - top, borderRadius: radius });
|
|
1824
|
+
};
|
|
1825
|
+
const pending = [];
|
|
1826
|
+
for (let index = Math.min(body.childNodes.length, 600) - 1; index >= 0; index--) pending.push(body.childNodes[index]);
|
|
1827
|
+
let inspected = 0;
|
|
1828
|
+
while (pending.length && inspected++ < 600 && blocks.length < 80) {
|
|
1829
|
+
const node = pending.pop();
|
|
1830
|
+
if (node instanceof Element) {
|
|
1831
|
+
if (node.matches("script, style, [hidden], .sia-skeleton, .sia-scrollbar-track")) continue;
|
|
1832
|
+
const style = getComputedStyle(node);
|
|
1833
|
+
if (style.display === "none" || style.visibility === "hidden" || style.opacity === "0") continue;
|
|
1834
|
+
if (node.matches(controlSelector)) {
|
|
1835
|
+
addRect(node.getBoundingClientRect(), style.borderRadius || "4px");
|
|
1836
|
+
continue;
|
|
1837
|
+
}
|
|
1838
|
+
for (let index = Math.min(node.childNodes.length, 600 - inspected - pending.length) - 1; index >= 0; index--) pending.push(node.childNodes[index]);
|
|
1839
|
+
} else if (node.nodeType === Node.TEXT_NODE && node.textContent?.trim()) {
|
|
1840
|
+
const range = document.createRange();
|
|
1841
|
+
range.selectNodeContents(node);
|
|
1842
|
+
for (const rect of Array.from(range.getClientRects()).slice(0, 3)) addRect(rect, "4px");
|
|
1843
|
+
}
|
|
1844
|
+
}
|
|
1845
|
+
return { height, blocks };
|
|
1846
|
+
}
|
|
1847
|
+
function OverlayContentSkeleton({ layout }) {
|
|
1848
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: "sia-skeleton sia-overlay-content-skeleton", "aria-hidden": "true", style: { position: "relative", height: layout.height, overflow: "hidden" }, children: layout.blocks.map((style, index) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: "sia-skeleton__block", style }, index)) });
|
|
1849
|
+
}
|
|
1850
|
+
|
|
1851
|
+
// src/components/useOverlayExitPlaceholder.ts
|
|
1091
1852
|
var import_react8 = require("react");
|
|
1853
|
+
function useOverlayExitPlaceholder(open, present, panelRef, bodyRef, captureContent) {
|
|
1854
|
+
const layout = (0, import_react8.useRef)();
|
|
1855
|
+
const dimensions = (0, import_react8.useRef)({ panelHeight: 0, bodyHeight: 0 });
|
|
1856
|
+
(0, import_react8.useLayoutEffect)(() => {
|
|
1857
|
+
if (!open || !present) {
|
|
1858
|
+
if (present && bodyRef.current) bodyRef.current.scrollTop = bodyRef.current.scrollLeft = 0;
|
|
1859
|
+
return;
|
|
1860
|
+
}
|
|
1861
|
+
if (!captureContent) layout.current = void 0;
|
|
1862
|
+
const panel = panelRef.current;
|
|
1863
|
+
const body = bodyRef.current;
|
|
1864
|
+
if (!panel) return;
|
|
1865
|
+
const measure = () => {
|
|
1866
|
+
dimensions.current = { panelHeight: panel.offsetHeight, bodyHeight: body?.offsetHeight ?? 0 };
|
|
1867
|
+
if (captureContent && body) layout.current = captureOverlaySkeleton(body);
|
|
1868
|
+
};
|
|
1869
|
+
let frame = 0;
|
|
1870
|
+
const schedule = () => {
|
|
1871
|
+
if (!frame) frame = requestAnimationFrame(() => {
|
|
1872
|
+
frame = 0;
|
|
1873
|
+
measure();
|
|
1874
|
+
});
|
|
1875
|
+
};
|
|
1876
|
+
measure();
|
|
1877
|
+
const observer = new ResizeObserver(measure);
|
|
1878
|
+
observer.observe(panel);
|
|
1879
|
+
if (body) observer.observe(body);
|
|
1880
|
+
const mutations = new MutationObserver(schedule);
|
|
1881
|
+
const beforePointerAction = (event) => {
|
|
1882
|
+
if (event.target instanceof Element && event.target.closest('button, [role="button"]')) measure();
|
|
1883
|
+
};
|
|
1884
|
+
const beforeKeyboardAction = (event) => {
|
|
1885
|
+
if (event.key === "Escape") measure();
|
|
1886
|
+
};
|
|
1887
|
+
if (captureContent && body) {
|
|
1888
|
+
mutations.observe(body, { subtree: true, childList: true, characterData: true, attributes: true, attributeFilter: ["style", "class", "hidden"] });
|
|
1889
|
+
body.addEventListener("scroll", schedule, { passive: true });
|
|
1890
|
+
panel.addEventListener("pointerdown", beforePointerAction, true);
|
|
1891
|
+
panel.addEventListener("keydown", beforeKeyboardAction, true);
|
|
1892
|
+
}
|
|
1893
|
+
return () => {
|
|
1894
|
+
observer.disconnect();
|
|
1895
|
+
mutations.disconnect();
|
|
1896
|
+
if (frame) cancelAnimationFrame(frame);
|
|
1897
|
+
body?.removeEventListener("scroll", schedule);
|
|
1898
|
+
panel.removeEventListener("pointerdown", beforePointerAction, true);
|
|
1899
|
+
panel.removeEventListener("keydown", beforeKeyboardAction, true);
|
|
1900
|
+
};
|
|
1901
|
+
});
|
|
1902
|
+
const closing = !open && present;
|
|
1903
|
+
const panelStyle = closing && dimensions.current.panelHeight > 0 ? { height: dimensions.current.panelHeight, boxSizing: "border-box", overflow: "hidden" } : void 0;
|
|
1904
|
+
const bodyStyle = closing && dimensions.current.bodyHeight > 0 ? { height: dimensions.current.bodyHeight, flex: "0 0 auto", boxSizing: "border-box" } : void 0;
|
|
1905
|
+
return { panelStyle, bodyStyle, layout: layout.current, hadBody: dimensions.current.bodyHeight > 0 };
|
|
1906
|
+
}
|
|
1907
|
+
|
|
1908
|
+
// src/components/Skeleton.tsx
|
|
1909
|
+
var import_jsx_runtime6 = require("react/jsx-runtime");
|
|
1910
|
+
function Skeleton({ rows = 6, columns = 2, rowHeight = 30, gap = 16, className = "", style, ...props }) {
|
|
1911
|
+
const count = (value, fallback, min, max) => Number.isFinite(value) ? Math.min(max, Math.max(min, Math.floor(value))) : fallback;
|
|
1912
|
+
const rowCount = count(rows, 6, 1, 30);
|
|
1913
|
+
const columnCount = count(columns, 2, 1, 4);
|
|
1914
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { role: "status", "aria-label": "\u6B63\u5728\u51C6\u5907\u5185\u5BB9", className: `sia-skeleton ${className}`.trim(), style: { display: "grid", gridTemplateColumns: `repeat(${columnCount}, minmax(0, 1fr))`, gap: count(gap, 16, 0, 64), ...style }, ...withTitleTooltip(props), children: Array.from({ length: rowCount * columnCount }, (_, index) => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "sia-skeleton__block", "aria-hidden": "true", style: { height: count(rowHeight, 30, 8, 200) } }, index)) });
|
|
1915
|
+
}
|
|
1916
|
+
|
|
1917
|
+
// src/components/Modal.tsx
|
|
1918
|
+
var import_react12 = require("react");
|
|
1092
1919
|
var import_client2 = require("react-dom/client");
|
|
1093
1920
|
|
|
1094
1921
|
// src/components/Icon.tsx
|
|
1095
|
-
var
|
|
1922
|
+
var import_react10 = require("react");
|
|
1096
1923
|
|
|
1097
1924
|
// src/components/IconCatalog.tsx
|
|
1098
|
-
var
|
|
1925
|
+
var import_jsx_runtime7 = require("react/jsx-runtime");
|
|
1099
1926
|
var extendedIconPaths = {
|
|
1100
1927
|
// 业务图标直接采用圆弧轮廓,与框架圆角矩形及圆端描边一致;不以描边连接代替轮廓圆角。
|
|
1101
1928
|
/** 商品资料:圆角包装箱,适用于商品与规格数据入口。 */
|
|
1102
|
-
package: /* @__PURE__ */ (0,
|
|
1103
|
-
/* @__PURE__ */ (0,
|
|
1104
|
-
/* @__PURE__ */ (0,
|
|
1929
|
+
package: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
1930
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "3", y: "5", width: "18", height: "16", rx: "2.5" }),
|
|
1931
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M9 5v5a1 1 0 0 0 1 1h4a1 1 0 0 0 1-1V5M7 17h3" })
|
|
1105
1932
|
] }),
|
|
1106
1933
|
/** 订单:带商品明细的订单单据。 */
|
|
1107
|
-
"order-receipt": /* @__PURE__ */ (0,
|
|
1108
|
-
/* @__PURE__ */ (0,
|
|
1109
|
-
/* @__PURE__ */ (0,
|
|
1934
|
+
"order-receipt": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
1935
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "5", y: "3", width: "14", height: "18", rx: "2.5" }),
|
|
1936
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M9 8h6M9 12h6M9 16h3" })
|
|
1110
1937
|
] }),
|
|
1111
1938
|
/** 售后单:退回箭头与售后单据,区别于告警文档。 */
|
|
1112
|
-
"after-sales": /* @__PURE__ */ (0,
|
|
1939
|
+
"after-sales": /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_jsx_runtime7.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M10 21H7.5A2.5 2.5 0 0 1 5 18.5v-13A2.5 2.5 0 0 1 7.5 3h9A2.5 2.5 0 0 1 19 5.5V10M9 8h6M9 12h2M14 15h4a3 3 0 0 1 0 6h-2M16 12.5l-2 2a.7.7 0 0 0 0 1l2 2" }) }),
|
|
1113
1940
|
/** 库存:仓库及内部货位。 */
|
|
1114
|
-
warehouse: /* @__PURE__ */ (0,
|
|
1941
|
+
warehouse: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_jsx_runtime7.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M3 10v8.5A2.5 2.5 0 0 0 5.5 21h13a2.5 2.5 0 0 0 2.5-2.5V10c0-.9-.5-1.7-1.2-2.1l-6.6-3.8a2.4 2.4 0 0 0-2.4 0L4.2 7.9C3.5 8.3 3 9.1 3 10ZM8 21v-8.5A1.5 1.5 0 0 1 9.5 11h5a1.5 1.5 0 0 1 1.5 1.5V21M8 16h8" }) }),
|
|
1115
1942
|
/** 店铺商品资料:店铺橱窗中的商品。 */
|
|
1116
|
-
"shop-products": /* @__PURE__ */ (0,
|
|
1117
|
-
/* @__PURE__ */ (0,
|
|
1118
|
-
/* @__PURE__ */ (0,
|
|
1943
|
+
"shop-products": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
1944
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "3", y: "3", width: "18", height: "6", rx: "2.5" }),
|
|
1945
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M5 9v9.5A2.5 2.5 0 0 0 7.5 21h9a2.5 2.5 0 0 0 2.5-2.5V9M9 21v-6.5A1.5 1.5 0 0 1 10.5 13h3a1.5 1.5 0 0 1 1.5 1.5V21" })
|
|
1119
1946
|
] }),
|
|
1120
1947
|
/** 合作方商品:商品资料与合作关系。 */
|
|
1121
|
-
"partner-products": /* @__PURE__ */ (0,
|
|
1948
|
+
"partner-products": /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_jsx_runtime7.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M8 19H5.5A2.5 2.5 0 0 1 3 16.5v-11A2.5 2.5 0 0 1 5.5 3h10A2.5 2.5 0 0 1 18 5.5V11M8 3v5a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1V3M14 15h-1a3 3 0 0 0 0 6h1M18 15h1a3 3 0 0 1 0 6h-1M13.5 18h5" }) }),
|
|
1122
1949
|
/** 采购退货:采购单与退出箭头。 */
|
|
1123
|
-
"purchase-return": /* @__PURE__ */ (0,
|
|
1950
|
+
"purchase-return": /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_jsx_runtime7.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M9 21H7.5A2.5 2.5 0 0 1 5 18.5v-13A2.5 2.5 0 0 1 7.5 3h9A2.5 2.5 0 0 1 19 5.5V10M9 8h6M9 12h2M21 17h-7.5M16 14l-2.3 2.3a1 1 0 0 0 0 1.4L16 20" }) }),
|
|
1124
1951
|
/** 采购入库:采购单与进入箭头。 */
|
|
1125
|
-
"purchase-inbound": /* @__PURE__ */ (0,
|
|
1952
|
+
"purchase-inbound": /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_jsx_runtime7.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M9 21H7.5A2.5 2.5 0 0 1 5 18.5v-13A2.5 2.5 0 0 1 7.5 3h9A2.5 2.5 0 0 1 19 5.5V10M9 8h6M9 12h2M13 17h7.5M18 14l2.3 2.3a1 1 0 0 1 0 1.4L18 20" }) }),
|
|
1126
1953
|
/** 其它出入库:仓储流入与流出。 */
|
|
1127
|
-
"stock-movement": /* @__PURE__ */ (0,
|
|
1128
|
-
/* @__PURE__ */ (0,
|
|
1129
|
-
/* @__PURE__ */ (0,
|
|
1954
|
+
"stock-movement": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
1955
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "3", y: "3", width: "18", height: "18", rx: "3" }),
|
|
1956
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M7 9h10M15 6.5l2 2a.7.7 0 0 1 0 1l-2 2M17 15H7M9 12.5l-2 2a.7.7 0 0 0 0 1l2 2" })
|
|
1130
1957
|
] }),
|
|
1131
1958
|
/** 库存盘点:库存清单与核对标记。 */
|
|
1132
|
-
stocktaking: /* @__PURE__ */ (0,
|
|
1133
|
-
/* @__PURE__ */ (0,
|
|
1134
|
-
/* @__PURE__ */ (0,
|
|
1959
|
+
stocktaking: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
1960
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M8 4H7a2 2 0 0 0-2 2v12.5A2.5 2.5 0 0 0 7.5 21H11M16 4h1a2 2 0 0 1 2 2v5M9 11h5M9 15h1M13 18l1.8 1.8a1 1 0 0 0 1.4 0L21 15" }),
|
|
1961
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "8", y: "3", width: "8", height: "4", rx: "1.5" })
|
|
1135
1962
|
] }),
|
|
1136
1963
|
/** 平台报文:平台窗口中的结构化数据。 */
|
|
1137
|
-
"platform-message": /* @__PURE__ */ (0,
|
|
1138
|
-
/* @__PURE__ */ (0,
|
|
1139
|
-
/* @__PURE__ */ (0,
|
|
1964
|
+
"platform-message": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
1965
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "3", y: "3", width: "18", height: "18", rx: "3" }),
|
|
1966
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M3 8h18M7 5.5h.1M9 12l-2 2a1.4 1.4 0 0 0 0 2l2 2M15 12l2 2a1.4 1.4 0 0 1 0 2l-2 2" })
|
|
1140
1967
|
] }),
|
|
1141
1968
|
/** 分析报文:报表窗口中的统计数据,可用于胜算等分析系统。 */
|
|
1142
|
-
"analytics-message": /* @__PURE__ */ (0,
|
|
1143
|
-
/* @__PURE__ */ (0,
|
|
1144
|
-
/* @__PURE__ */ (0,
|
|
1969
|
+
"analytics-message": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
1970
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "3", y: "3", width: "18", height: "18", rx: "3" }),
|
|
1971
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M3 8h18M7 5.5h.1M7 17v-3M12 17v-5M17 17v-2" })
|
|
1145
1972
|
] }),
|
|
1146
1973
|
/** 销售退仓:货物退回仓储。 */
|
|
1147
|
-
"sales-return": /* @__PURE__ */ (0,
|
|
1974
|
+
"sales-return": /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_jsx_runtime7.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M9 21H5.5A2.5 2.5 0 0 1 3 18.5v-13A2.5 2.5 0 0 1 5.5 3h10A2.5 2.5 0 0 1 18 5.5V10M8 3v5a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1V3M14 15h4a3 3 0 0 1 0 6h-2M16 12.5l-2 2a.7.7 0 0 0 0 1l2 2" }) }),
|
|
1148
1975
|
/** 销售出库:货物及向外发货箭头。 */
|
|
1149
|
-
"sales-outbound": /* @__PURE__ */ (0,
|
|
1976
|
+
"sales-outbound": /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_jsx_runtime7.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M9 21H5.5A2.5 2.5 0 0 1 3 18.5v-13A2.5 2.5 0 0 1 5.5 3h10A2.5 2.5 0 0 1 18 5.5V10M8 3v5a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1V3M13 17h7.5M18 14l2.3 2.3a1 1 0 0 1 0 1.4L18 20" }) }),
|
|
1150
1977
|
/** 调拨出库:仓库及向外调拨箭头。 */
|
|
1151
|
-
"transfer-outbound": /* @__PURE__ */ (0,
|
|
1978
|
+
"transfer-outbound": /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_jsx_runtime7.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M9 21H5.5A2.5 2.5 0 0 1 3 18.5V10c0-.9.5-1.7 1.2-2.1l6.6-3.8a2.4 2.4 0 0 1 2.4 0l6.6 3.8c.7.4 1.2 1.2 1.2 2.1v1M8 21v-7.5A1.5 1.5 0 0 1 9.5 12H13M13 17h7.5M18 14l2.3 2.3a1 1 0 0 1 0 1.4L18 20" }) }),
|
|
1152
1979
|
/** 调拨入库:仓库及向内调拨箭头。 */
|
|
1153
|
-
"transfer-inbound": /* @__PURE__ */ (0,
|
|
1154
|
-
"notepad-file": /* @__PURE__ */ (0,
|
|
1155
|
-
/* @__PURE__ */ (0,
|
|
1156
|
-
/* @__PURE__ */ (0,
|
|
1157
|
-
] }),
|
|
1158
|
-
"notepad-folder": /* @__PURE__ */ (0,
|
|
1159
|
-
"notepad-virtual-folder": /* @__PURE__ */ (0,
|
|
1160
|
-
/* @__PURE__ */ (0,
|
|
1161
|
-
/* @__PURE__ */ (0,
|
|
1162
|
-
] }),
|
|
1163
|
-
"step-backward": /* @__PURE__ */ (0,
|
|
1164
|
-
/* @__PURE__ */ (0,
|
|
1165
|
-
/* @__PURE__ */ (0,
|
|
1166
|
-
] }),
|
|
1167
|
-
"step-forward": /* @__PURE__ */ (0,
|
|
1168
|
-
/* @__PURE__ */ (0,
|
|
1169
|
-
/* @__PURE__ */ (0,
|
|
1170
|
-
] }),
|
|
1171
|
-
"fast-backward": /* @__PURE__ */ (0,
|
|
1172
|
-
"fast-forward": /* @__PURE__ */ (0,
|
|
1173
|
-
"corner-up-left": /* @__PURE__ */ (0,
|
|
1174
|
-
/* @__PURE__ */ (0,
|
|
1175
|
-
/* @__PURE__ */ (0,
|
|
1176
|
-
] }),
|
|
1177
|
-
"corner-up-right": /* @__PURE__ */ (0,
|
|
1178
|
-
/* @__PURE__ */ (0,
|
|
1179
|
-
/* @__PURE__ */ (0,
|
|
1180
|
-
] }),
|
|
1181
|
-
"swap-horizontal": /* @__PURE__ */ (0,
|
|
1182
|
-
/* @__PURE__ */ (0,
|
|
1183
|
-
/* @__PURE__ */ (0,
|
|
1184
|
-
] }),
|
|
1185
|
-
"swap-vertical": /* @__PURE__ */ (0,
|
|
1186
|
-
/* @__PURE__ */ (0,
|
|
1187
|
-
/* @__PURE__ */ (0,
|
|
1188
|
-
] }),
|
|
1189
|
-
expand: /* @__PURE__ */ (0,
|
|
1190
|
-
shrink: /* @__PURE__ */ (0,
|
|
1191
|
-
fullscreen: /* @__PURE__ */ (0,
|
|
1192
|
-
"fullscreen-exit": /* @__PURE__ */ (0,
|
|
1193
|
-
"menu-fold": /* @__PURE__ */ (0,
|
|
1194
|
-
/* @__PURE__ */ (0,
|
|
1195
|
-
/* @__PURE__ */ (0,
|
|
1196
|
-
] }),
|
|
1197
|
-
"menu-unfold": /* @__PURE__ */ (0,
|
|
1198
|
-
/* @__PURE__ */ (0,
|
|
1199
|
-
/* @__PURE__ */ (0,
|
|
1200
|
-
] }),
|
|
1201
|
-
login: /* @__PURE__ */ (0,
|
|
1202
|
-
logout: /* @__PURE__ */ (0,
|
|
1203
|
-
move: /* @__PURE__ */ (0,
|
|
1204
|
-
/* @__PURE__ */ (0,
|
|
1205
|
-
/* @__PURE__ */ (0,
|
|
1206
|
-
] }),
|
|
1207
|
-
"vertical-align-top": /* @__PURE__ */ (0,
|
|
1208
|
-
"vertical-align-middle": /* @__PURE__ */ (0,
|
|
1209
|
-
"vertical-align-bottom": /* @__PURE__ */ (0,
|
|
1210
|
-
"square-plus": /* @__PURE__ */ (0,
|
|
1211
|
-
/* @__PURE__ */ (0,
|
|
1212
|
-
/* @__PURE__ */ (0,
|
|
1213
|
-
] }),
|
|
1214
|
-
"square-minus": /* @__PURE__ */ (0,
|
|
1215
|
-
/* @__PURE__ */ (0,
|
|
1216
|
-
/* @__PURE__ */ (0,
|
|
1217
|
-
] }),
|
|
1218
|
-
"square-check": /* @__PURE__ */ (0,
|
|
1219
|
-
/* @__PURE__ */ (0,
|
|
1220
|
-
/* @__PURE__ */ (0,
|
|
1221
|
-
] }),
|
|
1222
|
-
"square-close": /* @__PURE__ */ (0,
|
|
1223
|
-
/* @__PURE__ */ (0,
|
|
1224
|
-
/* @__PURE__ */ (0,
|
|
1225
|
-
] }),
|
|
1226
|
-
"tab-plus": /* @__PURE__ */ (0,
|
|
1227
|
-
/* @__PURE__ */ (0,
|
|
1228
|
-
/* @__PURE__ */ (0,
|
|
1229
|
-
] }),
|
|
1230
|
-
"folder-plus": /* @__PURE__ */ (0,
|
|
1231
|
-
/* @__PURE__ */ (0,
|
|
1232
|
-
/* @__PURE__ */ (0,
|
|
1233
|
-
] }),
|
|
1234
|
-
pin: /* @__PURE__ */ (0,
|
|
1235
|
-
"pin-off": /* @__PURE__ */ (0,
|
|
1236
|
-
stop: /* @__PURE__ */ (0,
|
|
1237
|
-
/* @__PURE__ */ (0,
|
|
1238
|
-
/* @__PURE__ */ (0,
|
|
1239
|
-
] }),
|
|
1240
|
-
"help-circle": /* @__PURE__ */ (0,
|
|
1241
|
-
/* @__PURE__ */ (0,
|
|
1242
|
-
/* @__PURE__ */ (0,
|
|
1243
|
-
] }),
|
|
1244
|
-
save: /* @__PURE__ */ (0,
|
|
1245
|
-
/* @__PURE__ */ (0,
|
|
1246
|
-
/* @__PURE__ */ (0,
|
|
1247
|
-
] }),
|
|
1248
|
-
clipboard: /* @__PURE__ */ (0,
|
|
1249
|
-
/* @__PURE__ */ (0,
|
|
1250
|
-
/* @__PURE__ */ (0,
|
|
1251
|
-
] }),
|
|
1252
|
-
"clipboard-check": /* @__PURE__ */ (0,
|
|
1253
|
-
/* @__PURE__ */ (0,
|
|
1254
|
-
/* @__PURE__ */ (0,
|
|
1255
|
-
] }),
|
|
1256
|
-
"file-plus": /* @__PURE__ */ (0,
|
|
1257
|
-
/* @__PURE__ */ (0,
|
|
1258
|
-
/* @__PURE__ */ (0,
|
|
1259
|
-
] }),
|
|
1260
|
-
"file-check": /* @__PURE__ */ (0,
|
|
1261
|
-
/* @__PURE__ */ (0,
|
|
1262
|
-
/* @__PURE__ */ (0,
|
|
1263
|
-
] }),
|
|
1264
|
-
"file-warning": /* @__PURE__ */ (0,
|
|
1265
|
-
/* @__PURE__ */ (0,
|
|
1266
|
-
/* @__PURE__ */ (0,
|
|
1267
|
-
] }),
|
|
1268
|
-
"file-spreadsheet": /* @__PURE__ */ (0,
|
|
1269
|
-
/* @__PURE__ */ (0,
|
|
1270
|
-
/* @__PURE__ */ (0,
|
|
1271
|
-
] }),
|
|
1272
|
-
"align-left": /* @__PURE__ */ (0,
|
|
1273
|
-
"align-center": /* @__PURE__ */ (0,
|
|
1274
|
-
"align-right": /* @__PURE__ */ (0,
|
|
1275
|
-
"align-justify": /* @__PURE__ */ (0,
|
|
1276
|
-
bold: /* @__PURE__ */ (0,
|
|
1277
|
-
italic: /* @__PURE__ */ (0,
|
|
1278
|
-
underline: /* @__PURE__ */ (0,
|
|
1279
|
-
strikethrough: /* @__PURE__ */ (0,
|
|
1280
|
-
"list-ordered": /* @__PURE__ */ (0,
|
|
1281
|
-
/* @__PURE__ */ (0,
|
|
1282
|
-
/* @__PURE__ */ (0,
|
|
1283
|
-
] }),
|
|
1284
|
-
"list-unordered": /* @__PURE__ */ (0,
|
|
1285
|
-
/* @__PURE__ */ (0,
|
|
1286
|
-
/* @__PURE__ */ (0,
|
|
1287
|
-
/* @__PURE__ */ (0,
|
|
1288
|
-
/* @__PURE__ */ (0,
|
|
1289
|
-
] }),
|
|
1290
|
-
eraser: /* @__PURE__ */ (0,
|
|
1291
|
-
/* @__PURE__ */ (0,
|
|
1292
|
-
/* @__PURE__ */ (0,
|
|
1293
|
-
] }),
|
|
1294
|
-
highlighter: /* @__PURE__ */ (0,
|
|
1295
|
-
/* @__PURE__ */ (0,
|
|
1296
|
-
/* @__PURE__ */ (0,
|
|
1297
|
-
] }),
|
|
1298
|
-
table: /* @__PURE__ */ (0,
|
|
1299
|
-
/* @__PURE__ */ (0,
|
|
1300
|
-
/* @__PURE__ */ (0,
|
|
1301
|
-
] }),
|
|
1302
|
-
columns: /* @__PURE__ */ (0,
|
|
1303
|
-
/* @__PURE__ */ (0,
|
|
1304
|
-
/* @__PURE__ */ (0,
|
|
1305
|
-
] }),
|
|
1306
|
-
rows: /* @__PURE__ */ (0,
|
|
1307
|
-
/* @__PURE__ */ (0,
|
|
1308
|
-
/* @__PURE__ */ (0,
|
|
1309
|
-
] }),
|
|
1310
|
-
"bar-chart": /* @__PURE__ */ (0,
|
|
1311
|
-
"line-chart": /* @__PURE__ */ (0,
|
|
1312
|
-
/* @__PURE__ */ (0,
|
|
1313
|
-
/* @__PURE__ */ (0,
|
|
1314
|
-
/* @__PURE__ */ (0,
|
|
1315
|
-
] }),
|
|
1316
|
-
"pie-chart": /* @__PURE__ */ (0,
|
|
1317
|
-
/* @__PURE__ */ (0,
|
|
1318
|
-
/* @__PURE__ */ (0,
|
|
1319
|
-
] }),
|
|
1320
|
-
"area-chart": /* @__PURE__ */ (0,
|
|
1321
|
-
activity: /* @__PURE__ */ (0,
|
|
1322
|
-
"trending-up": /* @__PURE__ */ (0,
|
|
1323
|
-
/* @__PURE__ */ (0,
|
|
1324
|
-
/* @__PURE__ */ (0,
|
|
1325
|
-
] }),
|
|
1326
|
-
"trending-down": /* @__PURE__ */ (0,
|
|
1327
|
-
/* @__PURE__ */ (0,
|
|
1328
|
-
/* @__PURE__ */ (0,
|
|
1329
|
-
] }),
|
|
1330
|
-
database: /* @__PURE__ */ (0,
|
|
1331
|
-
/* @__PURE__ */ (0,
|
|
1332
|
-
/* @__PURE__ */ (0,
|
|
1333
|
-
] }),
|
|
1334
|
-
cloud: /* @__PURE__ */ (0,
|
|
1335
|
-
"cloud-download": /* @__PURE__ */ (0,
|
|
1336
|
-
/* @__PURE__ */ (0,
|
|
1337
|
-
/* @__PURE__ */ (0,
|
|
1338
|
-
] }),
|
|
1339
|
-
"cloud-upload": /* @__PURE__ */ (0,
|
|
1340
|
-
/* @__PURE__ */ (0,
|
|
1341
|
-
/* @__PURE__ */ (0,
|
|
1342
|
-
] }),
|
|
1343
|
-
server: /* @__PURE__ */ (0,
|
|
1344
|
-
/* @__PURE__ */ (0,
|
|
1345
|
-
/* @__PURE__ */ (0,
|
|
1346
|
-
/* @__PURE__ */ (0,
|
|
1347
|
-
] }),
|
|
1348
|
-
desktop: /* @__PURE__ */ (0,
|
|
1349
|
-
/* @__PURE__ */ (0,
|
|
1350
|
-
/* @__PURE__ */ (0,
|
|
1351
|
-
] }),
|
|
1352
|
-
laptop: /* @__PURE__ */ (0,
|
|
1353
|
-
/* @__PURE__ */ (0,
|
|
1354
|
-
/* @__PURE__ */ (0,
|
|
1355
|
-
] }),
|
|
1356
|
-
mobile: /* @__PURE__ */ (0,
|
|
1357
|
-
/* @__PURE__ */ (0,
|
|
1358
|
-
/* @__PURE__ */ (0,
|
|
1359
|
-
] }),
|
|
1360
|
-
tablet: /* @__PURE__ */ (0,
|
|
1361
|
-
/* @__PURE__ */ (0,
|
|
1362
|
-
/* @__PURE__ */ (0,
|
|
1363
|
-
] }),
|
|
1364
|
-
printer: /* @__PURE__ */ (0,
|
|
1365
|
-
/* @__PURE__ */ (0,
|
|
1366
|
-
/* @__PURE__ */ (0,
|
|
1367
|
-
] }),
|
|
1368
|
-
camera: /* @__PURE__ */ (0,
|
|
1369
|
-
/* @__PURE__ */ (0,
|
|
1370
|
-
/* @__PURE__ */ (0,
|
|
1371
|
-
] }),
|
|
1372
|
-
video: /* @__PURE__ */ (0,
|
|
1373
|
-
/* @__PURE__ */ (0,
|
|
1374
|
-
/* @__PURE__ */ (0,
|
|
1375
|
-
] }),
|
|
1376
|
-
microphone: /* @__PURE__ */ (0,
|
|
1377
|
-
/* @__PURE__ */ (0,
|
|
1378
|
-
/* @__PURE__ */ (0,
|
|
1379
|
-
] }),
|
|
1380
|
-
"volume-up": /* @__PURE__ */ (0,
|
|
1381
|
-
/* @__PURE__ */ (0,
|
|
1382
|
-
/* @__PURE__ */ (0,
|
|
1383
|
-
] }),
|
|
1384
|
-
"volume-off": /* @__PURE__ */ (0,
|
|
1980
|
+
"transfer-inbound": /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_jsx_runtime7.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M9 21H5.5A2.5 2.5 0 0 1 3 18.5V10c0-.9.5-1.7 1.2-2.1l6.6-3.8a2.4 2.4 0 0 1 2.4 0l6.6 3.8c.7.4 1.2 1.2 1.2 2.1v1M8 21v-7.5A1.5 1.5 0 0 1 9.5 12H13M21 17h-7.5M16 14l-2.3 2.3a1 1 0 0 0 0 1.4L16 20" }) }),
|
|
1981
|
+
"notepad-file": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("g", { transform: "scale(0.0234375)", fill: "currentColor", stroke: "none", children: [
|
|
1982
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M752 80H272c-70.4 0-128 57.6-128 128v608c0 70.4 57.6 128 128 128h353.6c33.6 0 65.6-12.8 91.2-36.8l126.4-126.4c24-24 36.8-56 36.8-91.2V208c0-70.4-57.6-128-128-128zM208 816V208c0-35.2 28.8-64 64-64h480c35.2 0 64 28.8 64 64v464h-96c-70.4 0-128 57.6-128 128v80H272c-35.2 0-64-28.8-64-64z m462.4 44.8c-4.8 4.8-9.6 8-14.4 11.2v-72c0-35.2 28.8-64 64-64h75.2L670.4 860.8z" }),
|
|
1983
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M368 352h288c17.6 0 32-14.4 32-32s-14.4-32-32-32H368c-17.6 0-32 14.4-32 32s14.4 32 32 32z m128 256H368c-17.6 0-32 14.4-32 32s14.4 32 32 32h128c17.6 0 32-14.4 32-32s-14.4-32-32-32z m-128-96h288c17.6 0 32-14.4 32-32s-14.4-32-32-32H368c-17.6 0-32 14.4-32 32s14.4 32 32 32z" })
|
|
1984
|
+
] }),
|
|
1985
|
+
"notepad-folder": /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("g", { transform: "scale(0.0234375)", fill: "currentColor", stroke: "none", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M510.4 243.2c8 27.2 33.6 44.8 60.8 44.8h259.2c0-35.2-28.8-64-64-64H504l6.4 19.2zM484.8 160h281.6c70.4 0 128 57.6 128 128v25.6c30.4 24 51.2 60.8 51.2 102.4v384c0 70.4-57.6 128-128 128H208c-70.4 0-128-57.6-128-128V224c0-70.4 57.6-128 128-128h164.8c46.4 0 89.6 25.6 112 64z m-112 0H208c-35.2 0-64 28.8-64 64v576c0 35.2 28.8 64 64 64h608c35.2 0 64-28.8 64-64V416c0-35.2-28.8-64-64-64H574.4c-56 0-105.6-36.8-121.6-89.6l-19.2-57.6c-8-27.2-32-44.8-60.8-44.8zM272 704h256c17.6 0 32 14.4 32 32s-14.4 32-32 32H272c-17.6 0-32-14.4-32-32s14.4-32 32-32z" }) }),
|
|
1986
|
+
"notepad-virtual-folder": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("g", { transform: "scale(0.0234375)", fill: "currentColor", stroke: "none", children: [
|
|
1987
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M704 864H192c-89.6 0-160-70.4-160-160V192c0-89.6 70.4-160 160-160h512c89.6 0 160 70.4 160 160v512c0 89.6-70.4 160-160 160zM192 96c-51.2 0-96 44.8-96 96v512c0 51.2 44.8 96 96 96h512c51.2 0 96-44.8 96-96V192c0-51.2-44.8-96-96-96H192z" }),
|
|
1988
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M832 992H320c-19.2 0-32-12.8-32-32s12.8-32 32-32h512c51.2 0 96-44.8 96-96V320c0-19.2 12.8-32 32-32s32 12.8 32 32v512c0 89.6-70.4 160-160 160z" })
|
|
1989
|
+
] }),
|
|
1990
|
+
"step-backward": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
1991
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M6 5v14" }),
|
|
1992
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m18 6-8 6 8 6V6Z" })
|
|
1993
|
+
] }),
|
|
1994
|
+
"step-forward": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
1995
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M18 5v14" }),
|
|
1996
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m6 6 8 6-8 6V6Z" })
|
|
1997
|
+
] }),
|
|
1998
|
+
"fast-backward": /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_jsx_runtime7.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m11 6-7 6 7 6V6ZM20 6l-7 6 7 6V6Z" }) }),
|
|
1999
|
+
"fast-forward": /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_jsx_runtime7.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m13 6 7 6-7 6V6ZM4 6l7 6-7 6V6Z" }) }),
|
|
2000
|
+
"corner-up-left": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2001
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m9 5-5 5 5 5" }),
|
|
2002
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M4 10h9a7 7 0 0 1 7 7v2" })
|
|
2003
|
+
] }),
|
|
2004
|
+
"corner-up-right": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2005
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m15 5 5 5-5 5" }),
|
|
2006
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M20 10h-9a7 7 0 0 0-7 7v2" })
|
|
2007
|
+
] }),
|
|
2008
|
+
"swap-horizontal": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2009
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M4 8h15m0 0-4-4m4 4-4 4" }),
|
|
2010
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M20 16H5m0 0 4-4m-4 4 4 4" })
|
|
2011
|
+
] }),
|
|
2012
|
+
"swap-vertical": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2013
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M8 4v15m0 0-4-4m4 4 4-4" }),
|
|
2014
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M16 20V5m0 0-4 4m4-4 4 4" })
|
|
2015
|
+
] }),
|
|
2016
|
+
expand: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_jsx_runtime7.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M9 4H4v5M4 4l6 6M15 20h5v-5m0 5-6-6" }) }),
|
|
2017
|
+
shrink: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_jsx_runtime7.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M10 10H5V5m0 5 6-6M14 14h5v5m0-5-6 6" }) }),
|
|
2018
|
+
fullscreen: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M9 4H4v5M15 4h5v5M9 20H4v-5M15 20h5v-5" }),
|
|
2019
|
+
"fullscreen-exit": /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M4 9h5V4M20 9h-5V4M4 15h5v5M20 15h-5v5" }),
|
|
2020
|
+
"menu-fold": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2021
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M4 6h16M4 12h10M4 18h16" }),
|
|
2022
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m18 9-3 3 3 3" })
|
|
2023
|
+
] }),
|
|
2024
|
+
"menu-unfold": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2025
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M4 6h16M10 12h10M4 18h16" }),
|
|
2026
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m6 9 3 3-3 3" })
|
|
2027
|
+
] }),
|
|
2028
|
+
login: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_jsx_runtime7.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M10 5H5v14h5M13 8l4 4-4 4M8 12h9" }) }),
|
|
2029
|
+
logout: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_jsx_runtime7.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M14 5h5v14h-5M11 8l-4 4 4 4M16 12H7" }) }),
|
|
2030
|
+
move: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2031
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 3v18M3 12h18" }),
|
|
2032
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m9 6 3-3 3 3M9 18l3 3 3-3M6 9l-3 3 3 3M18 9l3 3-3 3" })
|
|
2033
|
+
] }),
|
|
2034
|
+
"vertical-align-top": /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_jsx_runtime7.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M4 4h16M12 7v13M8 11l4-4 4 4" }) }),
|
|
2035
|
+
"vertical-align-middle": /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_jsx_runtime7.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M4 12h16M12 4v16M8 8l4 4 4-4M8 16l4-4 4 4" }) }),
|
|
2036
|
+
"vertical-align-bottom": /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_jsx_runtime7.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M4 20h16M12 4v13M8 13l4 4 4-4" }) }),
|
|
2037
|
+
"square-plus": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2038
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "3", y: "3", width: "18", height: "18", rx: "3" }),
|
|
2039
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 8v8M8 12h8" })
|
|
2040
|
+
] }),
|
|
2041
|
+
"square-minus": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2042
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "3", y: "3", width: "18", height: "18", rx: "3" }),
|
|
2043
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M8 12h8" })
|
|
2044
|
+
] }),
|
|
2045
|
+
"square-check": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2046
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "3", y: "3", width: "18", height: "18", rx: "3" }),
|
|
2047
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m8 12 3 3 6-7" })
|
|
2048
|
+
] }),
|
|
2049
|
+
"square-close": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2050
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "3", y: "3", width: "18", height: "18", rx: "3" }),
|
|
2051
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m8.5 8.5 7 7m0-7-7 7" })
|
|
2052
|
+
] }),
|
|
2053
|
+
"tab-plus": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2054
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "3", y: "4", width: "18", height: "16", rx: "2.5" }),
|
|
2055
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M3 9h18M7 6.5h.1M10 6.5h.1M15 12v6M12 15h6" })
|
|
2056
|
+
] }),
|
|
2057
|
+
"folder-plus": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2058
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M3 6h7l2 2h9v11H3V6Z" }),
|
|
2059
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M16 11v6M13 14h6" })
|
|
2060
|
+
] }),
|
|
2061
|
+
pin: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_jsx_runtime7.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M8 3h8l-1.5 5 3 3v2H13v8l-2-2v-6H6.5v-2l3-3L8 3Z" }) }),
|
|
2062
|
+
"pin-off": /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_jsx_runtime7.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M9.5 8 8 3h8l-1.5 5 3 3v2H13v4M6.5 13v-2l1-1M3 3l18 18" }) }),
|
|
2063
|
+
stop: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2064
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
|
|
2065
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M6 18 18 6" })
|
|
2066
|
+
] }),
|
|
2067
|
+
"help-circle": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2068
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
|
|
2069
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M9.7 9a2.5 2.5 0 1 1 3.6 2.3c-.9.5-1.3 1.1-1.3 2.1M12 17v.1" })
|
|
2070
|
+
] }),
|
|
2071
|
+
save: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2072
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M4 3h13l3 3v15H4V3Z" }),
|
|
2073
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M8 3v6h8V3M8 21v-7h8v7" })
|
|
2074
|
+
] }),
|
|
2075
|
+
clipboard: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2076
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "5", y: "4", width: "14", height: "17", rx: "2.5" }),
|
|
2077
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M9 4.5V3h6v1.5M9 9h6M9 13h6M9 17h4" })
|
|
2078
|
+
] }),
|
|
2079
|
+
"clipboard-check": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2080
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "5", y: "4", width: "14", height: "17", rx: "2.5" }),
|
|
2081
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M9 4.5V3h6v1.5m-6 9 2 2 4-5" })
|
|
2082
|
+
] }),
|
|
2083
|
+
"file-plus": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2084
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M6 3h8l4 4v14H6V3Z" }),
|
|
2085
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M14 3v5h4M12 11v6M9 14h6" })
|
|
2086
|
+
] }),
|
|
2087
|
+
"file-check": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2088
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M6 3h8l4 4v14H6V3Z" }),
|
|
2089
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M14 3v5h4m-8 6 2 2 4-5" })
|
|
2090
|
+
] }),
|
|
2091
|
+
"file-warning": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2092
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M6 3h8l4 4v14H6V3Z" }),
|
|
2093
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M14 3v5h4M12 11v4m0 3v.1" })
|
|
2094
|
+
] }),
|
|
2095
|
+
"file-spreadsheet": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2096
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M6 3h8l4 4v14H6V3Z" }),
|
|
2097
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M14 3v5h4M8.5 11h7v7h-7v-7Zm0 3.5h7M12 11v7" })
|
|
2098
|
+
] }),
|
|
2099
|
+
"align-left": /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M4 6h16M4 10h11M4 14h16M4 18h11" }),
|
|
2100
|
+
"align-center": /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M4 6h16M7 10h10M4 14h16M7 18h10" }),
|
|
2101
|
+
"align-right": /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M4 6h16M9 10h11M4 14h16M9 18h11" }),
|
|
2102
|
+
"align-justify": /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M4 6h16M4 10h16M4 14h16M4 18h16" }),
|
|
2103
|
+
bold: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M7 4h6a4 4 0 0 1 0 8H7V4Zm0 8h7a4 4 0 0 1 0 8H7v-8Z" }),
|
|
2104
|
+
italic: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M10 4h8M6 20h8M14 4 10 20" }),
|
|
2105
|
+
underline: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_jsx_runtime7.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M7 4v7a5 5 0 0 0 10 0V4M5 21h14" }) }),
|
|
2106
|
+
strikethrough: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_jsx_runtime7.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M5 12h14M8 8c.3-2.5 2-4 4.5-4 2.2 0 3.7 1 4.5 2.5M8 16c.8 2.5 2.5 4 5 4 2.2 0 3.8-1 4.5-2.5" }) }),
|
|
2107
|
+
"list-ordered": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2108
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M9 6h12M9 12h12M9 18h12" }),
|
|
2109
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M4 5h1v3M4 11h2l-2 3h2M4 17h2l-2 3h2" })
|
|
2110
|
+
] }),
|
|
2111
|
+
"list-unordered": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2112
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M9 6h12M9 12h12M9 18h12" }),
|
|
2113
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "4.5", cy: "6", r: ".5" }),
|
|
2114
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "4.5", cy: "12", r: ".5" }),
|
|
2115
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "4.5", cy: "18", r: ".5" })
|
|
2116
|
+
] }),
|
|
2117
|
+
eraser: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2118
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m4 15 8-10 8 7-7 8H7l-3-3v-2Z" }),
|
|
2119
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m9 9 8 7M13 20h8" })
|
|
2120
|
+
] }),
|
|
2121
|
+
highlighter: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2122
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m7 14 7-10 5 4-8 9-4-3Z" }),
|
|
2123
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m5 17 6 3H3l2-3ZM15 14l4 3" })
|
|
2124
|
+
] }),
|
|
2125
|
+
table: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2126
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "3", y: "4", width: "18", height: "16", rx: "2" }),
|
|
2127
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M3 9h18M3 14h18M9 4v16M15 4v16" })
|
|
2128
|
+
] }),
|
|
2129
|
+
columns: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2130
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "3", y: "4", width: "18", height: "16", rx: "2" }),
|
|
2131
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 4v16" })
|
|
2132
|
+
] }),
|
|
2133
|
+
rows: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2134
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "3", y: "4", width: "18", height: "16", rx: "2" }),
|
|
2135
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M3 9h18M3 15h18" })
|
|
2136
|
+
] }),
|
|
2137
|
+
"bar-chart": /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_jsx_runtime7.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M4 21V10h4v11M10 21V4h4v17M16 21v-8h4v8M3 21h18" }) }),
|
|
2138
|
+
"line-chart": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2139
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M3 20h18M4 17l5-6 4 3 7-9" }),
|
|
2140
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "9", cy: "11", r: "1" }),
|
|
2141
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "13", cy: "14", r: "1" })
|
|
2142
|
+
] }),
|
|
2143
|
+
"pie-chart": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2144
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M11 3a9 9 0 1 0 9 9h-9V3Z" }),
|
|
2145
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M14 3.5A8.5 8.5 0 0 1 20.5 10H14V3.5Z" })
|
|
2146
|
+
] }),
|
|
2147
|
+
"area-chart": /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_jsx_runtime7.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M3 20h18M4 17l5-6 4 3 7-9v12H4Z" }) }),
|
|
2148
|
+
activity: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M3 12h4l2-6 4 13 3-7h5" }),
|
|
2149
|
+
"trending-up": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2150
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m4 17 6-6 4 4 6-7" }),
|
|
2151
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M15 8h5v5" })
|
|
2152
|
+
] }),
|
|
2153
|
+
"trending-down": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2154
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m4 7 6 6 4-4 6 7" }),
|
|
2155
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M15 16h5v-5" })
|
|
2156
|
+
] }),
|
|
2157
|
+
database: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2158
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("ellipse", { cx: "12", cy: "5", rx: "8", ry: "3" }),
|
|
2159
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M4 5v7c0 1.7 3.6 3 8 3s8-1.3 8-3V5M4 12v7c0 1.7 3.6 3 8 3s8-1.3 8-3v-7" })
|
|
2160
|
+
] }),
|
|
2161
|
+
cloud: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M7 19h11a4 4 0 0 0 .5-8A7 7 0 0 0 5.2 9.5 4.8 4.8 0 0 0 7 19Z" }),
|
|
2162
|
+
"cloud-download": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2163
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M7 18H5a4 4 0 0 1 .2-8 7 7 0 0 1 13.3 1A4 4 0 0 1 19 19h-2" }),
|
|
2164
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 11v10m-4-4 4 4 4-4" })
|
|
2165
|
+
] }),
|
|
2166
|
+
"cloud-upload": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2167
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M7 18H5a4 4 0 0 1 .2-8 7 7 0 0 1 13.3 1A4 4 0 0 1 19 19h-2" }),
|
|
2168
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 21V11m-4 4 4-4 4 4" })
|
|
2169
|
+
] }),
|
|
2170
|
+
server: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2171
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "3", y: "4", width: "18", height: "7", rx: "2" }),
|
|
2172
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "3", y: "13", width: "18", height: "7", rx: "2" }),
|
|
2173
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M7 7.5h.1M7 16.5h.1M11 7.5h6M11 16.5h6" })
|
|
2174
|
+
] }),
|
|
2175
|
+
desktop: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2176
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "3", y: "3", width: "18", height: "14", rx: "2" }),
|
|
2177
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M8 21h8M12 17v4" })
|
|
2178
|
+
] }),
|
|
2179
|
+
laptop: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2180
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M5 5h14v11H5V5Z" }),
|
|
2181
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m3 19 2-3h14l2 3H3Z" })
|
|
2182
|
+
] }),
|
|
2183
|
+
mobile: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2184
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "7", y: "2", width: "10", height: "20", rx: "2.5" }),
|
|
2185
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M10 5h4M12 19v.1" })
|
|
2186
|
+
] }),
|
|
2187
|
+
tablet: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2188
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "5", y: "2", width: "14", height: "20", rx: "2.5" }),
|
|
2189
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M10 5h4M12 19v.1" })
|
|
2190
|
+
] }),
|
|
2191
|
+
printer: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2192
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M7 9V3h10v6M6 18H4V9h16v9h-2" }),
|
|
2193
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M7 14h10v7H7v-7ZM17 11h.1" })
|
|
2194
|
+
] }),
|
|
2195
|
+
camera: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2196
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M3 7h4l2-3h6l2 3h4v13H3V7Z" }),
|
|
2197
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "13", r: "4" })
|
|
2198
|
+
] }),
|
|
2199
|
+
video: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2200
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "3", y: "5", width: "13", height: "14", rx: "2" }),
|
|
2201
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m16 10 5-3v10l-5-3v-4Z" })
|
|
2202
|
+
] }),
|
|
2203
|
+
microphone: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2204
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "9", y: "3", width: "6", height: "12", rx: "3" }),
|
|
2205
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M5 11a7 7 0 0 0 14 0M12 18v3M8 21h8" })
|
|
2206
|
+
] }),
|
|
2207
|
+
"volume-up": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2208
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M4 10h4l5-4v12l-5-4H4v-4Z" }),
|
|
2209
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M16 9a4 4 0 0 1 0 6M18.5 6.5a8 8 0 0 1 0 11" })
|
|
2210
|
+
] }),
|
|
2211
|
+
"volume-off": /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_jsx_runtime7.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M4 10h4l5-4v12l-5-4H4v-4ZM17 9l5 6m0-6-5 6" }) }),
|
|
1385
2212
|
/** 扬声器与两道声波的轮廓图标,用于表示网页发声或音频开启状态。 */
|
|
1386
|
-
"speaker-wave": /* @__PURE__ */ (0,
|
|
1387
|
-
/* @__PURE__ */ (0,
|
|
1388
|
-
/* @__PURE__ */ (0,
|
|
2213
|
+
"speaker-wave": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2214
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M3 9h4l5-4v14l-5-4H3V9Z" }),
|
|
2215
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M16 9q3 3 0 6M19 6q6 6 0 12" })
|
|
1389
2216
|
] }),
|
|
1390
2217
|
/** 扬声器与叉号的轮廓图标,用于表示静音状态;主体轮廓与发声图标一致。 */
|
|
1391
|
-
"speaker-muted": /* @__PURE__ */ (0,
|
|
1392
|
-
/* @__PURE__ */ (0,
|
|
1393
|
-
/* @__PURE__ */ (0,
|
|
1394
|
-
] }),
|
|
1395
|
-
wifi: /* @__PURE__ */ (0,
|
|
1396
|
-
power: /* @__PURE__ */ (0,
|
|
1397
|
-
/* @__PURE__ */ (0,
|
|
1398
|
-
/* @__PURE__ */ (0,
|
|
1399
|
-
] }),
|
|
1400
|
-
key: /* @__PURE__ */ (0,
|
|
1401
|
-
/* @__PURE__ */ (0,
|
|
1402
|
-
/* @__PURE__ */ (0,
|
|
1403
|
-
] }),
|
|
1404
|
-
shield: /* @__PURE__ */ (0,
|
|
1405
|
-
"shield-check": /* @__PURE__ */ (0,
|
|
1406
|
-
/* @__PURE__ */ (0,
|
|
1407
|
-
/* @__PURE__ */ (0,
|
|
1408
|
-
] }),
|
|
1409
|
-
bug: /* @__PURE__ */ (0,
|
|
1410
|
-
bulb: /* @__PURE__ */ (0,
|
|
1411
|
-
/* @__PURE__ */ (0,
|
|
1412
|
-
/* @__PURE__ */ (0,
|
|
1413
|
-
] }),
|
|
1414
|
-
rocket: /* @__PURE__ */ (0,
|
|
1415
|
-
/* @__PURE__ */ (0,
|
|
1416
|
-
/* @__PURE__ */ (0,
|
|
1417
|
-
] }),
|
|
1418
|
-
target: /* @__PURE__ */ (0,
|
|
1419
|
-
/* @__PURE__ */ (0,
|
|
1420
|
-
/* @__PURE__ */ (0,
|
|
1421
|
-
/* @__PURE__ */ (0,
|
|
1422
|
-
] }),
|
|
1423
|
-
trophy: /* @__PURE__ */ (0,
|
|
1424
|
-
/* @__PURE__ */ (0,
|
|
1425
|
-
/* @__PURE__ */ (0,
|
|
1426
|
-
] }),
|
|
1427
|
-
"shopping-cart": /* @__PURE__ */ (0,
|
|
1428
|
-
/* @__PURE__ */ (0,
|
|
1429
|
-
/* @__PURE__ */ (0,
|
|
1430
|
-
/* @__PURE__ */ (0,
|
|
1431
|
-
] }),
|
|
1432
|
-
"shopping-bag": /* @__PURE__ */ (0,
|
|
1433
|
-
/* @__PURE__ */ (0,
|
|
1434
|
-
/* @__PURE__ */ (0,
|
|
1435
|
-
] }),
|
|
1436
|
-
shop: /* @__PURE__ */ (0,
|
|
1437
|
-
/* @__PURE__ */ (0,
|
|
1438
|
-
/* @__PURE__ */ (0,
|
|
1439
|
-
] }),
|
|
1440
|
-
wallet: /* @__PURE__ */ (0,
|
|
1441
|
-
/* @__PURE__ */ (0,
|
|
1442
|
-
/* @__PURE__ */ (0,
|
|
1443
|
-
] }),
|
|
1444
|
-
bank: /* @__PURE__ */ (0,
|
|
1445
|
-
calculator: /* @__PURE__ */ (0,
|
|
1446
|
-
/* @__PURE__ */ (0,
|
|
1447
|
-
/* @__PURE__ */ (0,
|
|
1448
|
-
] }),
|
|
1449
|
-
tag: /* @__PURE__ */ (0,
|
|
1450
|
-
/* @__PURE__ */ (0,
|
|
1451
|
-
/* @__PURE__ */ (0,
|
|
1452
|
-
] }),
|
|
1453
|
-
tags: /* @__PURE__ */ (0,
|
|
1454
|
-
/* @__PURE__ */ (0,
|
|
1455
|
-
/* @__PURE__ */ (0,
|
|
1456
|
-
/* @__PURE__ */ (0,
|
|
1457
|
-
] }),
|
|
1458
|
-
message: /* @__PURE__ */ (0,
|
|
1459
|
-
comments: /* @__PURE__ */ (0,
|
|
1460
|
-
/* @__PURE__ */ (0,
|
|
1461
|
-
/* @__PURE__ */ (0,
|
|
1462
|
-
] }),
|
|
1463
|
-
send: /* @__PURE__ */ (0,
|
|
1464
|
-
share: /* @__PURE__ */ (0,
|
|
1465
|
-
/* @__PURE__ */ (0,
|
|
1466
|
-
/* @__PURE__ */ (0,
|
|
1467
|
-
/* @__PURE__ */ (0,
|
|
1468
|
-
/* @__PURE__ */ (0,
|
|
1469
|
-
] }),
|
|
1470
|
-
paperclip: /* @__PURE__ */ (0,
|
|
1471
|
-
location: /* @__PURE__ */ (0,
|
|
1472
|
-
/* @__PURE__ */ (0,
|
|
1473
|
-
/* @__PURE__ */ (0,
|
|
1474
|
-
] }),
|
|
1475
|
-
compass: /* @__PURE__ */ (0,
|
|
1476
|
-
/* @__PURE__ */ (0,
|
|
1477
|
-
/* @__PURE__ */ (0,
|
|
1478
|
-
] }),
|
|
1479
|
-
car: /* @__PURE__ */ (0,
|
|
1480
|
-
/* @__PURE__ */ (0,
|
|
1481
|
-
/* @__PURE__ */ (0,
|
|
1482
|
-
/* @__PURE__ */ (0,
|
|
1483
|
-
] }),
|
|
1484
|
-
truck: /* @__PURE__ */ (0,
|
|
1485
|
-
/* @__PURE__ */ (0,
|
|
1486
|
-
/* @__PURE__ */ (0,
|
|
1487
|
-
/* @__PURE__ */ (0,
|
|
1488
|
-
] }),
|
|
1489
|
-
gift: /* @__PURE__ */ (0,
|
|
1490
|
-
/* @__PURE__ */ (0,
|
|
1491
|
-
/* @__PURE__ */ (0,
|
|
1492
|
-
] }),
|
|
1493
|
-
coffee: /* @__PURE__ */ (0,
|
|
1494
|
-
/* @__PURE__ */ (0,
|
|
1495
|
-
/* @__PURE__ */ (0,
|
|
1496
|
-
] }),
|
|
1497
|
-
experiment: /* @__PURE__ */ (0,
|
|
1498
|
-
/* @__PURE__ */ (0,
|
|
1499
|
-
/* @__PURE__ */ (0,
|
|
1500
|
-
] }),
|
|
1501
|
-
tool: /* @__PURE__ */ (0,
|
|
1502
|
-
appstore: /* @__PURE__ */ (0,
|
|
1503
|
-
/* @__PURE__ */ (0,
|
|
1504
|
-
/* @__PURE__ */ (0,
|
|
1505
|
-
/* @__PURE__ */ (0,
|
|
1506
|
-
/* @__PURE__ */ (0,
|
|
2218
|
+
"speaker-muted": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2219
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M3 9h4l5-4v14l-5-4H3V9Z" }),
|
|
2220
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m16 9 6 6m0-6-6 6" })
|
|
2221
|
+
] }),
|
|
2222
|
+
wifi: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_jsx_runtime7.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M3 9a14 14 0 0 1 18 0M6 13a9 9 0 0 1 12 0M9.5 17a4 4 0 0 1 5 0M12 21v.1" }) }),
|
|
2223
|
+
power: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2224
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 3v9" }),
|
|
2225
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M7 5.5a8 8 0 1 0 10 0" })
|
|
2226
|
+
] }),
|
|
2227
|
+
key: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2228
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "8", cy: "15", r: "4" }),
|
|
2229
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m11 12 8-8m-3 3 3 3m-6 0 3 3" })
|
|
2230
|
+
] }),
|
|
2231
|
+
shield: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 3 4 6v6c0 5 3 8 8 10 5-2 8-5 8-10V6l-8-3Z" }),
|
|
2232
|
+
"shield-check": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2233
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 3 4 6v6c0 5 3 8 8 10 5-2 8-5 8-10V6l-8-3Z" }),
|
|
2234
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m8 12 2.5 2.5L16 9" })
|
|
2235
|
+
] }),
|
|
2236
|
+
bug: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_jsx_runtime7.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M8 9h8v7a4 4 0 0 1-8 0V9ZM9 9a3 3 0 0 1 6 0M5 11h3M16 11h3M5 16h3M16 16h3M7 5l2 2M17 5l-2 2" }) }),
|
|
2237
|
+
bulb: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2238
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M8 15a7 7 0 1 1 8 0c-1.2.8-1.5 1.8-1.5 3h-5c0-1.2-.3-2.2-1.5-3Z" }),
|
|
2239
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M9.5 21h5" })
|
|
2240
|
+
] }),
|
|
2241
|
+
rocket: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2242
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M8 16c-2-1-4-1-5 0 0-3 1-5 4-6M14 6c3-3 6-3 7-3 0 1 0 4-3 7l-6 6-4-4 6-6Z" }),
|
|
2243
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M14 14c0 3-2 6-5 7 0-2 0-4-1-5M5 19l-2 2" })
|
|
2244
|
+
] }),
|
|
2245
|
+
target: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2246
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
|
|
2247
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "5" }),
|
|
2248
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "1" })
|
|
2249
|
+
] }),
|
|
2250
|
+
trophy: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2251
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M8 4h8v5a4 4 0 0 1-8 0V4ZM9 20h6M12 13v7" }),
|
|
2252
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M8 6H4v2a4 4 0 0 0 5 4M16 6h4v2a4 4 0 0 1-5 4" })
|
|
2253
|
+
] }),
|
|
2254
|
+
"shopping-cart": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2255
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M3 4h2l2 11h10l3-8H6" }),
|
|
2256
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "9", cy: "20", r: "1" }),
|
|
2257
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "17", cy: "20", r: "1" })
|
|
2258
|
+
] }),
|
|
2259
|
+
"shopping-bag": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2260
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M5 8h14l1 13H4L5 8Z" }),
|
|
2261
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M9 9V6a3 3 0 0 1 6 0v3" })
|
|
2262
|
+
] }),
|
|
2263
|
+
shop: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2264
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M4 10v11h16V10M3 4h18l-2 6H5L3 4Z" }),
|
|
2265
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M9 21v-6h6v6" })
|
|
2266
|
+
] }),
|
|
2267
|
+
wallet: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2268
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "3", y: "5", width: "18", height: "15", rx: "2.5" }),
|
|
2269
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M3 9h18M15 13h6v4h-6a2 2 0 0 1 0-4Z" })
|
|
2270
|
+
] }),
|
|
2271
|
+
bank: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_jsx_runtime7.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m3 9 9-6 9 6M5 10h14M6 10v8M10 10v8M14 10v8M18 10v8M3 21h18M4 18h16" }) }),
|
|
2272
|
+
calculator: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2273
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "5", y: "2", width: "14", height: "20", rx: "2.5" }),
|
|
2274
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M8 5h8v4H8V5ZM8 13h.1M12 13h.1M16 13h.1M8 17h.1M12 17h.1M16 17h.1" })
|
|
2275
|
+
] }),
|
|
2276
|
+
tag: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2277
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M3 12V4h8l10 10-7 7L3 12Z" }),
|
|
2278
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "7.5", cy: "8.5", r: "1" })
|
|
2279
|
+
] }),
|
|
2280
|
+
tags: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2281
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M6 12V4h7l8 8-6 6-9-6Z" }),
|
|
2282
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "10", cy: "8", r: "1" }),
|
|
2283
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m3 8 1 9 7 4 2-2" })
|
|
2284
|
+
] }),
|
|
2285
|
+
message: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M4 4h16v13H9l-5 4V4Z" }),
|
|
2286
|
+
comments: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2287
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M3 4h13v10H8l-5 4V4Z" }),
|
|
2288
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M10 17h6l5 4V8h-2" })
|
|
2289
|
+
] }),
|
|
2290
|
+
send: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m3 11 18-8-8 18-2-8-8-2Zm8 2 10-10" }),
|
|
2291
|
+
share: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2292
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "18", cy: "5", r: "3" }),
|
|
2293
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "6", cy: "12", r: "3" }),
|
|
2294
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "18", cy: "19", r: "3" }),
|
|
2295
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m8.5 10.5 7-4M8.5 13.5l7 4" })
|
|
2296
|
+
] }),
|
|
2297
|
+
paperclip: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m8 12 7-7a4 4 0 0 1 6 6l-9 9a6 6 0 0 1-9-9l8-8" }),
|
|
2298
|
+
location: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2299
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 22s7-6.2 7-13a7 7 0 1 0-14 0c0 6.8 7 13 7 13Z" }),
|
|
2300
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "9", r: "2.5" })
|
|
2301
|
+
] }),
|
|
2302
|
+
compass: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2303
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
|
|
2304
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m15.5 8.5-2 5-5 2 2-5 5-2Z" })
|
|
2305
|
+
] }),
|
|
2306
|
+
car: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2307
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M4 15V9l2-5h12l2 5v6M3 10h18M6 15h12" }),
|
|
2308
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "7", cy: "18", r: "2" }),
|
|
2309
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "17", cy: "18", r: "2" })
|
|
2310
|
+
] }),
|
|
2311
|
+
truck: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2312
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M3 5h11v12H3V5ZM14 9h4l3 4v4h-7V9Z" }),
|
|
2313
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "7", cy: "19", r: "2" }),
|
|
2314
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "18", cy: "19", r: "2" })
|
|
2315
|
+
] }),
|
|
2316
|
+
gift: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2317
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "3", y: "9", width: "18", height: "12", rx: "2" }),
|
|
2318
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 9v12M3 13h18M12 9H8a3 3 0 1 1 4-3v3Zm0 0h4a3 3 0 1 0-4-3v3Z" })
|
|
2319
|
+
] }),
|
|
2320
|
+
coffee: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2321
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M4 8h13v6a6 6 0 0 1-6 6H10a6 6 0 0 1-6-6V8ZM17 10h2a3 3 0 0 1 0 6h-3" }),
|
|
2322
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M8 4v1M12 3v2" })
|
|
2323
|
+
] }),
|
|
2324
|
+
experiment: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2325
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M9 3h6M10 3v6l-6 10a2 2 0 0 0 2 3h12a2 2 0 0 0 2-3L14 9V3" }),
|
|
2326
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M7 16h10" })
|
|
2327
|
+
] }),
|
|
2328
|
+
tool: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_jsx_runtime7.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M14 6a5 5 0 0 0-6-3l3 3-3 3-3-3a5 5 0 0 0 6 6l7 7a2 2 0 0 0 3-3l-7-7Z" }) }),
|
|
2329
|
+
appstore: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2330
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "3", y: "3", width: "7", height: "7", rx: "2" }),
|
|
2331
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "14", y: "3", width: "7", height: "7", rx: "2" }),
|
|
2332
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "3", y: "14", width: "7", height: "7", rx: "2" }),
|
|
2333
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "14", y: "14", width: "7", height: "7", rx: "2" })
|
|
1507
2334
|
] }),
|
|
1508
2335
|
/** 扩展与插件:圆角拼图轮廓,顶部及右侧凸出接口,左侧内凹接口。 */
|
|
1509
|
-
puzzle: /* @__PURE__ */ (0,
|
|
1510
|
-
partition: /* @__PURE__ */ (0,
|
|
1511
|
-
/* @__PURE__ */ (0,
|
|
1512
|
-
/* @__PURE__ */ (0,
|
|
1513
|
-
/* @__PURE__ */ (0,
|
|
1514
|
-
/* @__PURE__ */ (0,
|
|
1515
|
-
/* @__PURE__ */ (0,
|
|
1516
|
-
] }),
|
|
1517
|
-
branches: /* @__PURE__ */ (0,
|
|
1518
|
-
/* @__PURE__ */ (0,
|
|
1519
|
-
/* @__PURE__ */ (0,
|
|
1520
|
-
/* @__PURE__ */ (0,
|
|
1521
|
-
/* @__PURE__ */ (0,
|
|
1522
|
-
] }),
|
|
1523
|
-
scan: /* @__PURE__ */ (0,
|
|
1524
|
-
"qr-code": /* @__PURE__ */ (0,
|
|
1525
|
-
/* @__PURE__ */ (0,
|
|
1526
|
-
/* @__PURE__ */ (0,
|
|
1527
|
-
/* @__PURE__ */ (0,
|
|
1528
|
-
/* @__PURE__ */ (0,
|
|
1529
|
-
] }),
|
|
1530
|
-
barcode: /* @__PURE__ */ (0,
|
|
1531
|
-
"user-plus": /* @__PURE__ */ (0,
|
|
1532
|
-
/* @__PURE__ */ (0,
|
|
1533
|
-
/* @__PURE__ */ (0,
|
|
1534
|
-
] }),
|
|
1535
|
-
"user-minus": /* @__PURE__ */ (0,
|
|
1536
|
-
/* @__PURE__ */ (0,
|
|
1537
|
-
/* @__PURE__ */ (0,
|
|
1538
|
-
] }),
|
|
1539
|
-
smile: /* @__PURE__ */ (0,
|
|
1540
|
-
/* @__PURE__ */ (0,
|
|
1541
|
-
/* @__PURE__ */ (0,
|
|
1542
|
-
] }),
|
|
1543
|
-
meh: /* @__PURE__ */ (0,
|
|
1544
|
-
/* @__PURE__ */ (0,
|
|
1545
|
-
/* @__PURE__ */ (0,
|
|
1546
|
-
] }),
|
|
1547
|
-
frown: /* @__PURE__ */ (0,
|
|
1548
|
-
/* @__PURE__ */ (0,
|
|
1549
|
-
/* @__PURE__ */ (0,
|
|
1550
|
-
] }),
|
|
1551
|
-
"game-cultivator": /* @__PURE__ */ (0,
|
|
1552
|
-
/* @__PURE__ */ (0,
|
|
1553
|
-
/* @__PURE__ */ (0,
|
|
1554
|
-
/* @__PURE__ */ (0,
|
|
1555
|
-
] }),
|
|
1556
|
-
"game-swordsman": /* @__PURE__ */ (0,
|
|
1557
|
-
/* @__PURE__ */ (0,
|
|
1558
|
-
/* @__PURE__ */ (0,
|
|
1559
|
-
/* @__PURE__ */ (0,
|
|
1560
|
-
/* @__PURE__ */ (0,
|
|
1561
|
-
] }),
|
|
1562
|
-
"game-spirit-wolf": /* @__PURE__ */ (0,
|
|
1563
|
-
/* @__PURE__ */ (0,
|
|
1564
|
-
/* @__PURE__ */ (0,
|
|
1565
|
-
] }),
|
|
1566
|
-
"game-gem": /* @__PURE__ */ (0,
|
|
1567
|
-
/* @__PURE__ */ (0,
|
|
1568
|
-
/* @__PURE__ */ (0,
|
|
1569
|
-
] }),
|
|
1570
|
-
"game-ingot": /* @__PURE__ */ (0,
|
|
1571
|
-
/* @__PURE__ */ (0,
|
|
1572
|
-
/* @__PURE__ */ (0,
|
|
1573
|
-
] }),
|
|
1574
|
-
"game-sword": /* @__PURE__ */ (0,
|
|
1575
|
-
/* @__PURE__ */ (0,
|
|
1576
|
-
/* @__PURE__ */ (0,
|
|
1577
|
-
] }),
|
|
1578
|
-
"game-robe": /* @__PURE__ */ (0,
|
|
1579
|
-
/* @__PURE__ */ (0,
|
|
1580
|
-
/* @__PURE__ */ (0,
|
|
1581
|
-
] }),
|
|
1582
|
-
"game-pants": /* @__PURE__ */ (0,
|
|
1583
|
-
/* @__PURE__ */ (0,
|
|
1584
|
-
/* @__PURE__ */ (0,
|
|
1585
|
-
] }),
|
|
1586
|
-
"game-pendant": /* @__PURE__ */ (0,
|
|
1587
|
-
/* @__PURE__ */ (0,
|
|
1588
|
-
/* @__PURE__ */ (0,
|
|
1589
|
-
/* @__PURE__ */ (0,
|
|
1590
|
-
] }),
|
|
1591
|
-
"game-necklace": /* @__PURE__ */ (0,
|
|
1592
|
-
/* @__PURE__ */ (0,
|
|
1593
|
-
/* @__PURE__ */ (0,
|
|
1594
|
-
/* @__PURE__ */ (0,
|
|
1595
|
-
] }),
|
|
1596
|
-
"game-pill": /* @__PURE__ */ (0,
|
|
1597
|
-
/* @__PURE__ */ (0,
|
|
1598
|
-
/* @__PURE__ */ (0,
|
|
1599
|
-
/* @__PURE__ */ (0,
|
|
1600
|
-
] }),
|
|
1601
|
-
"game-potion": /* @__PURE__ */ (0,
|
|
1602
|
-
/* @__PURE__ */ (0,
|
|
1603
|
-
/* @__PURE__ */ (0,
|
|
1604
|
-
] }),
|
|
1605
|
-
"game-elixir-jar": /* @__PURE__ */ (0,
|
|
1606
|
-
/* @__PURE__ */ (0,
|
|
1607
|
-
/* @__PURE__ */ (0,
|
|
1608
|
-
] }),
|
|
1609
|
-
"game-flame": /* @__PURE__ */ (0,
|
|
1610
|
-
/* @__PURE__ */ (0,
|
|
1611
|
-
/* @__PURE__ */ (0,
|
|
1612
|
-
] }),
|
|
1613
|
-
"game-soul-elixir": /* @__PURE__ */ (0,
|
|
1614
|
-
/* @__PURE__ */ (0,
|
|
1615
|
-
/* @__PURE__ */ (0,
|
|
1616
|
-
/* @__PURE__ */ (0,
|
|
1617
|
-
] }),
|
|
1618
|
-
"game-herb": /* @__PURE__ */ (0,
|
|
1619
|
-
/* @__PURE__ */ (0,
|
|
1620
|
-
/* @__PURE__ */ (0,
|
|
1621
|
-
] }),
|
|
1622
|
-
"game-meditate": /* @__PURE__ */ (0,
|
|
1623
|
-
/* @__PURE__ */ (0,
|
|
1624
|
-
/* @__PURE__ */ (0,
|
|
1625
|
-
/* @__PURE__ */ (0,
|
|
1626
|
-
] }),
|
|
1627
|
-
"game-backpack": /* @__PURE__ */ (0,
|
|
1628
|
-
/* @__PURE__ */ (0,
|
|
1629
|
-
/* @__PURE__ */ (0,
|
|
1630
|
-
] }),
|
|
1631
|
-
"game-qi": /* @__PURE__ */ (0,
|
|
1632
|
-
/* @__PURE__ */ (0,
|
|
1633
|
-
/* @__PURE__ */ (0,
|
|
2336
|
+
puzzle: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_jsx_runtime7.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M9 6V5a2 2 0 0 1 4 0v1h3a2 2 0 0 1 2 2v2h1a2 2 0 0 1 0 4h-1v5a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-4h1a2 2 0 0 0 0-4H4V8a2 2 0 0 1 2-2h3Z" }) }),
|
|
2337
|
+
partition: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2338
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 5v5M6 14v-2h12v2M6 18v3M12 18v3M18 18v3" }),
|
|
2339
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "3", r: "2" }),
|
|
2340
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "6", cy: "16", r: "2" }),
|
|
2341
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "16", r: "2" }),
|
|
2342
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "18", cy: "16", r: "2" })
|
|
2343
|
+
] }),
|
|
2344
|
+
branches: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2345
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "6", cy: "5", r: "2" }),
|
|
2346
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "18", cy: "7", r: "2" }),
|
|
2347
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "6", cy: "19", r: "2" }),
|
|
2348
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M6 7v10M8 10c6 0 4-3 8-3M8 14c6 0 4 3 8 3" })
|
|
2349
|
+
] }),
|
|
2350
|
+
scan: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M8 3H3v5M16 3h5v5M8 21H3v-5M16 21h5v-5M7 12h10" }),
|
|
2351
|
+
"qr-code": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2352
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "3", y: "3", width: "7", height: "7", rx: "1" }),
|
|
2353
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "14", y: "3", width: "7", height: "7", rx: "1" }),
|
|
2354
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "3", y: "14", width: "7", height: "7", rx: "1" }),
|
|
2355
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M14 14h3v3h-3v-3ZM18 18h3v3h-3v-3ZM14 20h1M20 14h1" })
|
|
2356
|
+
] }),
|
|
2357
|
+
barcode: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M4 5v14M7 5v14M11 5v14M14 5v14M16 5v14M20 5v14" }),
|
|
2358
|
+
"user-plus": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2359
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "10", cy: "8", r: "4" }),
|
|
2360
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M3 21c.7-4.3 3-6.5 7-6.5 2 0 3.6.6 4.7 1.7M19 14v7M15.5 17.5h7" })
|
|
2361
|
+
] }),
|
|
2362
|
+
"user-minus": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2363
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "10", cy: "8", r: "4" }),
|
|
2364
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M3 21c.7-4.3 3-6.5 7-6.5 2 0 3.6.6 4.7 1.7M15.5 17.5h7" })
|
|
2365
|
+
] }),
|
|
2366
|
+
smile: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2367
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
|
|
2368
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M8 10h.1M16 10h.1M8 15c1 1.4 2.3 2 4 2s3-.6 4-2" })
|
|
2369
|
+
] }),
|
|
2370
|
+
meh: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2371
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
|
|
2372
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M8 10h.1M16 10h.1M8 16h8" })
|
|
2373
|
+
] }),
|
|
2374
|
+
frown: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2375
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
|
|
2376
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M8 10h.1M16 10h.1M8 17c1-1.4 2.3-2 4-2s3 .6 4 2" })
|
|
2377
|
+
] }),
|
|
2378
|
+
"game-cultivator": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2379
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M7.2 7.5h9.6M9 5.2 12 2l3 3.2" }),
|
|
2380
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "8.8", r: "3.6" }),
|
|
2381
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M7.5 21c.2-4.9 1.8-7.3 4.5-7.3s4.3 2.4 4.5 7.3M9.4 15.2 7 18m7.6-2.8L17 18M10 21l2-4 2 4" })
|
|
2382
|
+
] }),
|
|
2383
|
+
"game-swordsman": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2384
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M9.2 5.2h5.6M12 2.5v2.7" }),
|
|
2385
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "8.8", r: "3.4" }),
|
|
2386
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M7.2 21c.3-5 1.9-7.4 4.8-7.4s4.5 2.4 4.8 7.4M9.2 14.8 7 18.2m7.8-3.4 2.2 3.4M9.5 21l2.5-4 2.5 4" }),
|
|
2387
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m17.7 5.1 2.2-1-.9 2.3-5.2 5.2M16.2 7.8l1.8 1.8" })
|
|
2388
|
+
] }),
|
|
2389
|
+
"game-spirit-wolf": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2390
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m5.2 8.2.7-4 3.3 2.2A9 9 0 0 1 12 6c1 0 1.9.1 2.8.4l3.3-2.2.7 4A7.7 7.7 0 0 1 20 13c0 4.3-3.5 7.7-8 7.7S4 17.3 4 13c0-1.8.4-3.4 1.2-4.8Z" }),
|
|
2391
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M8.3 12h.1m7.2 0h.1M9 16c1.8 1.3 4.2 1.3 6 0m-3-1.5v1M7 18l-2.2 2M17 18l2.2 2" })
|
|
2392
|
+
] }),
|
|
2393
|
+
"game-gem": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2394
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m4 8 3-4h10l3 4-8 13L4 8Z" }),
|
|
2395
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M4 8h16M8 4l-2 4 6 13 6-13-2-4M6 8h12" })
|
|
2396
|
+
] }),
|
|
2397
|
+
"game-ingot": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2398
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M4 9.5c2.2 1 4.1 1.5 5.8 1.6L12 6l2.2 5.1c1.7-.1 3.6-.6 5.8-1.6-.3 5.1-2.9 8.4-8 10-5.1-1.6-7.7-4.9-8-10Z" }),
|
|
2399
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M4.6 10.1 3 6.5c2.3 1.2 4.2 1.6 5.8 1.2M19.4 10.1 21 6.5c-2.3 1.2-4.2 1.6-5.8 1.2M7 16.3c3.3 1 6.7 1 10 0" })
|
|
2400
|
+
] }),
|
|
2401
|
+
"game-sword": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2402
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m14.5 4.5 5-1-1 5L9 18l-3 1 1-3 9.5-9.5M5 19l-1 1" }),
|
|
2403
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m12.5 7.5 4 4M7.5 14.5l2 2" })
|
|
2404
|
+
] }),
|
|
2405
|
+
"game-robe": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2406
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m8.5 4 3.5 2 3.5-2 4 4-2.5 3-1.2-1V21H8.2V10L7 11 4.5 8l4-4Z" }),
|
|
2407
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M9 4.5 12 9l3-4.5M12 9v12" })
|
|
2408
|
+
] }),
|
|
2409
|
+
"game-pants": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2410
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M7 3h10l1 18h-5l-1-10-1 10H6L7 3Z" }),
|
|
2411
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M7 7h10M12 3v8" })
|
|
2412
|
+
] }),
|
|
2413
|
+
"game-pendant": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2414
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M5 4c1.7 4.4 4 6.6 7 6.6S17.3 8.4 19 4" }),
|
|
2415
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 10.6c-2.7 1.8-4 3.8-4 6a4 4 0 0 0 8 0c0-2.2-1.3-4.2-4-6Z" }),
|
|
2416
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "16.5", r: "1.5" })
|
|
2417
|
+
] }),
|
|
2418
|
+
"game-necklace": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2419
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M5 4c.7 6.3 3 9.5 7 9.5S18.3 10.3 19 4" }),
|
|
2420
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m12 13.5 3 2.4-1.2 4.1h-3.6L9 15.9l3-2.4Z" }),
|
|
2421
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M7 7h.1m10 0h.1M9 10h.1m6 0h.1" })
|
|
2422
|
+
] }),
|
|
2423
|
+
"game-pill": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2424
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M6.2 17.8a5.7 5.7 0 0 1 0-8.1l3.5-3.5a5.7 5.7 0 1 1 8.1 8.1l-3.5 3.5a5.7 5.7 0 0 1-8.1 0Z" }),
|
|
2425
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m8 8 8 8" }),
|
|
2426
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M6.3 12.2c1.3.2 2.5.7 3.5 1.7s1.6 2.2 1.8 3.5" })
|
|
2427
|
+
] }),
|
|
2428
|
+
"game-potion": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2429
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M9 3h6M10 3v5l-5 7.5A3.5 3.5 0 0 0 8 21h8a3.5 3.5 0 0 0 3-5.5L14 8V3" }),
|
|
2430
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M7 15h10M9.5 12h5" })
|
|
2431
|
+
] }),
|
|
2432
|
+
"game-elixir-jar": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2433
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M8 3h8l-1 4c2.6 1.2 4 3.5 4 6.8V21H5v-7.2C5 10.5 6.4 8.2 9 7L8 3Z" }),
|
|
2434
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M8.5 7h7M5 14h14M9 17h6" })
|
|
2435
|
+
] }),
|
|
2436
|
+
"game-flame": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2437
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M13.8 2.5c.6 3.6-2.1 4.8-2.1 7.2 0 1.1.7 1.9 1.7 1.9 1.8 0 2.4-2.1 2-4.1 2.6 2 4.1 4.6 4.1 7.4A7.5 7.5 0 0 1 4.5 15c0-3.5 1.8-6.5 5.2-9-.2 2.3.8 3.4 1.8 3.7-.4-2.6.3-5.1 2.3-7.2Z" }),
|
|
2438
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 21c-2 0-3.3-1.3-3.3-3.2 0-1.5.9-2.8 2.6-4.2 0 1.7.8 2.5 1.7 2.5 1 0 1.7-.9 1.5-2.3 1.2 1.2 1.8 2.5 1.8 4A4 4 0 0 1 12 21Z" })
|
|
2439
|
+
] }),
|
|
2440
|
+
"game-soul-elixir": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2441
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "4.2" }),
|
|
2442
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 2.5v3M12 18.5v3M2.5 12h3M18.5 12h3M5.3 5.3l2.2 2.2m9 9 2.2 2.2m0-13.4-2.2 2.2m-9 9-2.2 2.2" }),
|
|
2443
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m10 12 1.4 1.4L14.5 10" })
|
|
2444
|
+
] }),
|
|
2445
|
+
"game-herb": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2446
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 21V9" }),
|
|
2447
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 13c-5.5.1-8-2.6-8-7.5 5-.2 7.8 2.1 8 7.5Zm0 4c5.5.1 8-2.6 8-7.5-5-.2-7.8 2.1-8 7.5Z" })
|
|
2448
|
+
] }),
|
|
2449
|
+
"game-meditate": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2450
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "5.5", r: "2.5" }),
|
|
2451
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M8.5 11c1-1.5 2.2-2.2 3.5-2.2s2.5.7 3.5 2.2l2.8 4M5.7 15l2.8-4M4 19c2.5-2.2 5.2-2.5 8-1 2.8-1.5 5.5-1.2 8 1M7 21h10" }),
|
|
2452
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m9.5 14.5 2.5 3.4 2.5-3.4" })
|
|
2453
|
+
] }),
|
|
2454
|
+
"game-backpack": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2455
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M8 8V5.5a4 4 0 0 1 8 0V8M6 8h12l2 13H4L6 8Z" }),
|
|
2456
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M8.5 13h7v5h-7v-5ZM9 5.5h6" })
|
|
2457
|
+
] }),
|
|
2458
|
+
"game-qi": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2459
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
|
|
2460
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M7 8.5c2.5-2.8 7-2.2 8.7.2 1.7 2.4.9 5.6-1.6 6.8-2.4 1.2-5.5-.1-5.8-2.5-.2-1.8 1.4-3.1 3.2-2.8 1.8.3 2.6 2.2 1.7 3.5" })
|
|
1634
2461
|
] })
|
|
1635
2462
|
};
|
|
1636
2463
|
|
|
@@ -1903,13 +2730,13 @@ var filledIconBounds = {
|
|
|
1903
2730
|
};
|
|
1904
2731
|
|
|
1905
2732
|
// src/components/iconGeometry.tsx
|
|
1906
|
-
var
|
|
1907
|
-
var
|
|
2733
|
+
var import_react9 = require("react");
|
|
2734
|
+
var import_jsx_runtime8 = require("react/jsx-runtime");
|
|
1908
2735
|
function compensateStroke(node, scale) {
|
|
1909
|
-
return
|
|
1910
|
-
if (!(0,
|
|
2736
|
+
return import_react9.Children.map(node, (child) => {
|
|
2737
|
+
if (!(0, import_react9.isValidElement)(child)) return child;
|
|
1911
2738
|
const props = child.props;
|
|
1912
|
-
return (0,
|
|
2739
|
+
return (0, import_react9.cloneElement)(child, {
|
|
1913
2740
|
...props.strokeWidth === void 0 ? {} : { strokeWidth: Number(props.strokeWidth) / scale },
|
|
1914
2741
|
...props.children === void 0 ? {} : { children: compensateStroke(props.children, scale) }
|
|
1915
2742
|
});
|
|
@@ -1920,328 +2747,328 @@ function normalizeIconPaths(paths, bounds) {
|
|
|
1920
2747
|
const [x, y, width, height] = bounds[name];
|
|
1921
2748
|
const scale = 18 / Math.max(width, height);
|
|
1922
2749
|
const transform = `translate(${12 - (x + width / 2) * scale} ${12 - (y + height / 2) * scale}) scale(${scale})`;
|
|
1923
|
-
return [name, { scale, node: /* @__PURE__ */ (0,
|
|
2750
|
+
return [name, { scale, node: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("g", { transform, children: compensateStroke(node, scale) }) }];
|
|
1924
2751
|
}));
|
|
1925
2752
|
}
|
|
1926
2753
|
|
|
1927
2754
|
// src/components/Icon.tsx
|
|
1928
|
-
var
|
|
2755
|
+
var import_jsx_runtime9 = require("react/jsx-runtime");
|
|
1929
2756
|
var coreIconPaths = {
|
|
1930
|
-
search: /* @__PURE__ */ (0,
|
|
1931
|
-
/* @__PURE__ */ (0,
|
|
1932
|
-
/* @__PURE__ */ (0,
|
|
2757
|
+
search: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2758
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "10.8", cy: "10.8", r: "6.8" }),
|
|
2759
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "m15.8 15.8 5.2 5.2" })
|
|
1933
2760
|
] }),
|
|
1934
|
-
plus: /* @__PURE__ */ (0,
|
|
2761
|
+
plus: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M12 4v16M4 12h16" }),
|
|
1935
2762
|
// 数字区间用波浪线表达范围,避免箭头暗示跳转方向。
|
|
1936
|
-
tilde: /* @__PURE__ */ (0,
|
|
1937
|
-
minus: /* @__PURE__ */ (0,
|
|
1938
|
-
close: /* @__PURE__ */ (0,
|
|
1939
|
-
check: /* @__PURE__ */ (0,
|
|
1940
|
-
info: /* @__PURE__ */ (0,
|
|
1941
|
-
/* @__PURE__ */ (0,
|
|
1942
|
-
/* @__PURE__ */ (0,
|
|
1943
|
-
] }),
|
|
1944
|
-
question: /* @__PURE__ */ (0,
|
|
1945
|
-
/* @__PURE__ */ (0,
|
|
1946
|
-
/* @__PURE__ */ (0,
|
|
1947
|
-
] }),
|
|
1948
|
-
warning: /* @__PURE__ */ (0,
|
|
1949
|
-
/* @__PURE__ */ (0,
|
|
1950
|
-
/* @__PURE__ */ (0,
|
|
1951
|
-
] }),
|
|
1952
|
-
"circle-check": /* @__PURE__ */ (0,
|
|
1953
|
-
/* @__PURE__ */ (0,
|
|
1954
|
-
/* @__PURE__ */ (0,
|
|
1955
|
-
] }),
|
|
1956
|
-
"circle-close": /* @__PURE__ */ (0,
|
|
1957
|
-
/* @__PURE__ */ (0,
|
|
1958
|
-
/* @__PURE__ */ (0,
|
|
1959
|
-
] }),
|
|
1960
|
-
"circle-plus": /* @__PURE__ */ (0,
|
|
1961
|
-
/* @__PURE__ */ (0,
|
|
1962
|
-
/* @__PURE__ */ (0,
|
|
1963
|
-
] }),
|
|
1964
|
-
"circle-minus": /* @__PURE__ */ (0,
|
|
1965
|
-
/* @__PURE__ */ (0,
|
|
1966
|
-
/* @__PURE__ */ (0,
|
|
1967
|
-
] }),
|
|
1968
|
-
"chevron-left": /* @__PURE__ */ (0,
|
|
1969
|
-
"chevron-right": /* @__PURE__ */ (0,
|
|
1970
|
-
"chevron-up": /* @__PURE__ */ (0,
|
|
1971
|
-
"chevron-down": /* @__PURE__ */ (0,
|
|
1972
|
-
"double-left": /* @__PURE__ */ (0,
|
|
1973
|
-
/* @__PURE__ */ (0,
|
|
1974
|
-
/* @__PURE__ */ (0,
|
|
1975
|
-
] }),
|
|
1976
|
-
"double-right": /* @__PURE__ */ (0,
|
|
1977
|
-
/* @__PURE__ */ (0,
|
|
1978
|
-
/* @__PURE__ */ (0,
|
|
1979
|
-
] }),
|
|
1980
|
-
"arrow-left": /* @__PURE__ */ (0,
|
|
1981
|
-
/* @__PURE__ */ (0,
|
|
1982
|
-
/* @__PURE__ */ (0,
|
|
1983
|
-
] }),
|
|
1984
|
-
"arrow-right": /* @__PURE__ */ (0,
|
|
1985
|
-
/* @__PURE__ */ (0,
|
|
1986
|
-
/* @__PURE__ */ (0,
|
|
1987
|
-
] }),
|
|
1988
|
-
"arrow-up": /* @__PURE__ */ (0,
|
|
1989
|
-
/* @__PURE__ */ (0,
|
|
1990
|
-
/* @__PURE__ */ (0,
|
|
1991
|
-
] }),
|
|
1992
|
-
"arrow-down": /* @__PURE__ */ (0,
|
|
1993
|
-
/* @__PURE__ */ (0,
|
|
1994
|
-
/* @__PURE__ */ (0,
|
|
1995
|
-
] }),
|
|
1996
|
-
menu: /* @__PURE__ */ (0,
|
|
1997
|
-
"more-horizontal": /* @__PURE__ */ (0,
|
|
1998
|
-
"more-vertical": /* @__PURE__ */ (0,
|
|
1999
|
-
home: /* @__PURE__ */ (0,
|
|
2000
|
-
/* @__PURE__ */ (0,
|
|
2001
|
-
/* @__PURE__ */ (0,
|
|
2002
|
-
] }),
|
|
2003
|
-
user: /* @__PURE__ */ (0,
|
|
2004
|
-
/* @__PURE__ */ (0,
|
|
2005
|
-
/* @__PURE__ */ (0,
|
|
2006
|
-
] }),
|
|
2007
|
-
users: /* @__PURE__ */ (0,
|
|
2008
|
-
/* @__PURE__ */ (0,
|
|
2009
|
-
/* @__PURE__ */ (0,
|
|
2010
|
-
/* @__PURE__ */ (0,
|
|
2763
|
+
tilde: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M3 14c3-8 6-4 9-2s6 4 9-2" }),
|
|
2764
|
+
minus: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M4 12h16" }),
|
|
2765
|
+
close: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "m5 5 14 14M19 5 5 19" }),
|
|
2766
|
+
check: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "m4 12.5 5.2 5L20 6.5" }),
|
|
2767
|
+
info: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2768
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
|
|
2769
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M12 11v6M12 7.2v.1" })
|
|
2770
|
+
] }),
|
|
2771
|
+
question: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2772
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
|
|
2773
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M9.8 9a2.4 2.4 0 1 1 3.5 2.2c-.9.5-1.3 1.1-1.3 2.1M12 16.8v.1" })
|
|
2774
|
+
] }),
|
|
2775
|
+
warning: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2776
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M10.3 4.1 2.6 18a2 2 0 0 0 1.8 3h15.2a2 2 0 0 0 1.8-3L13.7 4.1a2 2 0 0 0-3.4 0Z" }),
|
|
2777
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M12 9v4M12 17v.1" })
|
|
2778
|
+
] }),
|
|
2779
|
+
"circle-check": /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2780
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
|
|
2781
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "m8 12 2.7 2.7L16.5 9" })
|
|
2782
|
+
] }),
|
|
2783
|
+
"circle-close": /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2784
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
|
|
2785
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "m9 9 6 6M15 9l-6 6" })
|
|
2786
|
+
] }),
|
|
2787
|
+
"circle-plus": /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2788
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
|
|
2789
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M12 8v8M8 12h8" })
|
|
2790
|
+
] }),
|
|
2791
|
+
"circle-minus": /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2792
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
|
|
2793
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M8 12h8" })
|
|
2794
|
+
] }),
|
|
2795
|
+
"chevron-left": /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "m15.5 5-7 7 7 7" }),
|
|
2796
|
+
"chevron-right": /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "m8.5 5 7 7-7 7" }),
|
|
2797
|
+
"chevron-up": /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "m5 15.5 7-7 7 7" }),
|
|
2798
|
+
"chevron-down": /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "m5 8.5 7 7 7-7" }),
|
|
2799
|
+
"double-left": /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2800
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "m12 5-7 7 7 7" }),
|
|
2801
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "m19 5-7 7 7 7" })
|
|
2802
|
+
] }),
|
|
2803
|
+
"double-right": /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2804
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "m5 5 7 7-7 7" }),
|
|
2805
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "m12 5 7 7-7 7" })
|
|
2806
|
+
] }),
|
|
2807
|
+
"arrow-left": /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2808
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "m10 5-7 7 7 7" }),
|
|
2809
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M3 12h18" })
|
|
2810
|
+
] }),
|
|
2811
|
+
"arrow-right": /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2812
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "m14 5 7 7-7 7" }),
|
|
2813
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M3 12h18" })
|
|
2814
|
+
] }),
|
|
2815
|
+
"arrow-up": /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2816
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "m5 10 7-7 7 7" }),
|
|
2817
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M12 3v18" })
|
|
2818
|
+
] }),
|
|
2819
|
+
"arrow-down": /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2820
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "m5 14 7 7 7-7" }),
|
|
2821
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M12 3v18" })
|
|
2822
|
+
] }),
|
|
2823
|
+
menu: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M4 6h16M4 12h16M4 18h16" }),
|
|
2824
|
+
"more-horizontal": /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M5 12h.1M12 12h.1M19 12h.1" }),
|
|
2825
|
+
"more-vertical": /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M12 5v.1M12 12v.1M12 19v.1" }),
|
|
2826
|
+
home: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2827
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "m3.5 11 8.5-7 8.5 7" }),
|
|
2828
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M5.5 9.5V20h13V9.5M9.5 20v-6h5v6" })
|
|
2829
|
+
] }),
|
|
2830
|
+
user: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2831
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "12", cy: "8", r: "4" }),
|
|
2832
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M4.5 21c.7-4.2 3.2-6.5 7.5-6.5s6.8 2.3 7.5 6.5" })
|
|
2833
|
+
] }),
|
|
2834
|
+
users: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2835
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "9", cy: "8", r: "3.5" }),
|
|
2836
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M2.8 20c.6-3.8 2.7-5.8 6.2-5.8s5.6 2 6.2 5.8" }),
|
|
2837
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M15 5.2a3.5 3.5 0 0 1 0 6.6M16.2 14.5c2.9.5 4.4 2.3 4.9 5.5" })
|
|
2011
2838
|
] }),
|
|
2012
2839
|
// 六齿轮廓为小尺寸保留清晰齿间距,主体大小与描边仍遵循统一几何规则。
|
|
2013
|
-
settings: /* @__PURE__ */ (0,
|
|
2014
|
-
/* @__PURE__ */ (0,
|
|
2015
|
-
/* @__PURE__ */ (0,
|
|
2840
|
+
settings: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2841
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "12", cy: "12", r: "2.8" }),
|
|
2842
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M9.9479 6.3618 10.6108 4.1215 13.3892 4.1215 14.0521 6.3618 15.8567 7.4037 18.1284 6.8577 19.5175 9.2638 17.9088 10.9581 17.9088 13.0419 19.5175 14.7362 18.1284 17.1423 15.8567 16.5963 14.0521 17.6382 13.3892 19.8785 10.6108 19.8785 9.9479 17.6382 8.1433 16.5963 5.8716 17.1423 4.4825 14.7362 6.0912 13.0419 6.0912 10.9581 4.4825 9.2638 5.8716 6.8577 8.1433 7.4037Z" })
|
|
2016
2843
|
] }),
|
|
2017
|
-
edit: /* @__PURE__ */ (0,
|
|
2018
|
-
/* @__PURE__ */ (0,
|
|
2019
|
-
/* @__PURE__ */ (0,
|
|
2844
|
+
edit: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2845
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M4 20h4l11-11a2.8 2.8 0 0 0-4-4L4 16v4Z" }),
|
|
2846
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "m13.5 6.5 4 4M4 20h16" })
|
|
2020
2847
|
] }),
|
|
2021
|
-
copy: /* @__PURE__ */ (0,
|
|
2022
|
-
/* @__PURE__ */ (0,
|
|
2023
|
-
/* @__PURE__ */ (0,
|
|
2848
|
+
copy: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2849
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("rect", { x: "8", y: "8", width: "12", height: "12", rx: "2.5" }),
|
|
2850
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M16 8V6a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h2" })
|
|
2024
2851
|
] }),
|
|
2025
|
-
trash: /* @__PURE__ */ (0,
|
|
2026
|
-
scissors: /* @__PURE__ */ (0,
|
|
2027
|
-
/* @__PURE__ */ (0,
|
|
2028
|
-
/* @__PURE__ */ (0,
|
|
2029
|
-
/* @__PURE__ */ (0,
|
|
2852
|
+
trash: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_jsx_runtime9.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M4 7h16M9 3h6l1 4H8l1-4ZM6 7l1 14h10l1-14M10 11v6M14 11v6" }) }),
|
|
2853
|
+
scissors: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2854
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "6", cy: "7", r: "3" }),
|
|
2855
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "6", cy: "17", r: "3" }),
|
|
2856
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "m8.7 8.3 11.3 6.2M8.7 15.7 20 9.5" })
|
|
2030
2857
|
] }),
|
|
2031
|
-
undo: /* @__PURE__ */ (0,
|
|
2032
|
-
/* @__PURE__ */ (0,
|
|
2033
|
-
/* @__PURE__ */ (0,
|
|
2858
|
+
undo: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2859
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "m8 7-5 5 5 5" }),
|
|
2860
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M3 12h10a7 7 0 0 1 7 7" })
|
|
2034
2861
|
] }),
|
|
2035
|
-
redo: /* @__PURE__ */ (0,
|
|
2036
|
-
/* @__PURE__ */ (0,
|
|
2037
|
-
/* @__PURE__ */ (0,
|
|
2862
|
+
redo: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2863
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "m16 7 5 5-5 5" }),
|
|
2864
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M21 12H11a7 7 0 0 0-7 7" })
|
|
2038
2865
|
] }),
|
|
2039
|
-
"zoom-in": /* @__PURE__ */ (0,
|
|
2040
|
-
/* @__PURE__ */ (0,
|
|
2041
|
-
/* @__PURE__ */ (0,
|
|
2866
|
+
"zoom-in": /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2867
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "10.8", cy: "10.8", r: "6.8" }),
|
|
2868
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "m15.8 15.8 5.2 5.2M10.8 7.8v6M7.8 10.8h6" })
|
|
2042
2869
|
] }),
|
|
2043
|
-
"zoom-out": /* @__PURE__ */ (0,
|
|
2044
|
-
/* @__PURE__ */ (0,
|
|
2045
|
-
/* @__PURE__ */ (0,
|
|
2870
|
+
"zoom-out": /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2871
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "10.8", cy: "10.8", r: "6.8" }),
|
|
2872
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "m15.8 15.8 5.2 5.2M7.8 10.8h6" })
|
|
2046
2873
|
] }),
|
|
2047
2874
|
// 图片变换工具使用独立图标,便于在预览及其他编辑界面复用。
|
|
2048
|
-
"flip-horizontal": /* @__PURE__ */ (0,
|
|
2049
|
-
"flip-vertical": /* @__PURE__ */ (0,
|
|
2050
|
-
"rotate-left": /* @__PURE__ */ (0,
|
|
2051
|
-
/* @__PURE__ */ (0,
|
|
2052
|
-
/* @__PURE__ */ (0,
|
|
2053
|
-
] }),
|
|
2054
|
-
"rotate-right": /* @__PURE__ */ (0,
|
|
2055
|
-
/* @__PURE__ */ (0,
|
|
2056
|
-
/* @__PURE__ */ (0,
|
|
2057
|
-
] }),
|
|
2058
|
-
download: /* @__PURE__ */ (0,
|
|
2059
|
-
upload: /* @__PURE__ */ (0,
|
|
2060
|
-
refresh: /* @__PURE__ */ (0,
|
|
2061
|
-
/* @__PURE__ */ (0,
|
|
2062
|
-
/* @__PURE__ */ (0,
|
|
2063
|
-
] }),
|
|
2064
|
-
loader: /* @__PURE__ */ (0,
|
|
2065
|
-
calendar: /* @__PURE__ */ (0,
|
|
2066
|
-
/* @__PURE__ */ (0,
|
|
2067
|
-
/* @__PURE__ */ (0,
|
|
2068
|
-
] }),
|
|
2069
|
-
clock: /* @__PURE__ */ (0,
|
|
2070
|
-
/* @__PURE__ */ (0,
|
|
2071
|
-
/* @__PURE__ */ (0,
|
|
2072
|
-
] }),
|
|
2073
|
-
mail: /* @__PURE__ */ (0,
|
|
2074
|
-
/* @__PURE__ */ (0,
|
|
2075
|
-
/* @__PURE__ */ (0,
|
|
2076
|
-
] }),
|
|
2077
|
-
phone: /* @__PURE__ */ (0,
|
|
2078
|
-
link: /* @__PURE__ */ (0,
|
|
2079
|
-
/* @__PURE__ */ (0,
|
|
2080
|
-
/* @__PURE__ */ (0,
|
|
2081
|
-
] }),
|
|
2082
|
-
"external-link": /* @__PURE__ */ (0,
|
|
2083
|
-
/* @__PURE__ */ (0,
|
|
2084
|
-
/* @__PURE__ */ (0,
|
|
2085
|
-
] }),
|
|
2086
|
-
eye: /* @__PURE__ */ (0,
|
|
2087
|
-
/* @__PURE__ */ (0,
|
|
2088
|
-
/* @__PURE__ */ (0,
|
|
2089
|
-
] }),
|
|
2090
|
-
"eye-off": /* @__PURE__ */ (0,
|
|
2091
|
-
lock: /* @__PURE__ */ (0,
|
|
2092
|
-
/* @__PURE__ */ (0,
|
|
2093
|
-
/* @__PURE__ */ (0,
|
|
2094
|
-
] }),
|
|
2095
|
-
unlock: /* @__PURE__ */ (0,
|
|
2096
|
-
/* @__PURE__ */ (0,
|
|
2097
|
-
/* @__PURE__ */ (0,
|
|
2098
|
-
] }),
|
|
2099
|
-
bell: /* @__PURE__ */ (0,
|
|
2100
|
-
/* @__PURE__ */ (0,
|
|
2101
|
-
/* @__PURE__ */ (0,
|
|
2102
|
-
] }),
|
|
2103
|
-
star: /* @__PURE__ */ (0,
|
|
2104
|
-
heart: /* @__PURE__ */ (0,
|
|
2105
|
-
file: /* @__PURE__ */ (0,
|
|
2106
|
-
/* @__PURE__ */ (0,
|
|
2107
|
-
/* @__PURE__ */ (0,
|
|
2108
|
-
] }),
|
|
2109
|
-
folder: /* @__PURE__ */ (0,
|
|
2110
|
-
image: /* @__PURE__ */ (0,
|
|
2111
|
-
/* @__PURE__ */ (0,
|
|
2112
|
-
/* @__PURE__ */ (0,
|
|
2113
|
-
/* @__PURE__ */ (0,
|
|
2114
|
-
] }),
|
|
2115
|
-
filter: /* @__PURE__ */ (0,
|
|
2116
|
-
"sort-ascending": /* @__PURE__ */ (0,
|
|
2117
|
-
/* @__PURE__ */ (0,
|
|
2118
|
-
/* @__PURE__ */ (0,
|
|
2119
|
-
] }),
|
|
2120
|
-
"sort-descending": /* @__PURE__ */ (0,
|
|
2121
|
-
/* @__PURE__ */ (0,
|
|
2122
|
-
/* @__PURE__ */ (0,
|
|
2123
|
-
] }),
|
|
2124
|
-
play: /* @__PURE__ */ (0,
|
|
2125
|
-
/* @__PURE__ */ (0,
|
|
2126
|
-
/* @__PURE__ */ (0,
|
|
2127
|
-
] }),
|
|
2128
|
-
pause: /* @__PURE__ */ (0,
|
|
2129
|
-
/* @__PURE__ */ (0,
|
|
2130
|
-
/* @__PURE__ */ (0,
|
|
2131
|
-
] }),
|
|
2132
|
-
book: /* @__PURE__ */ (0,
|
|
2133
|
-
/* @__PURE__ */ (0,
|
|
2134
|
-
/* @__PURE__ */ (0,
|
|
2135
|
-
] }),
|
|
2136
|
-
component: /* @__PURE__ */ (0,
|
|
2137
|
-
/* @__PURE__ */ (0,
|
|
2138
|
-
/* @__PURE__ */ (0,
|
|
2139
|
-
/* @__PURE__ */ (0,
|
|
2140
|
-
/* @__PURE__ */ (0,
|
|
2141
|
-
] }),
|
|
2142
|
-
token: /* @__PURE__ */ (0,
|
|
2143
|
-
/* @__PURE__ */ (0,
|
|
2144
|
-
/* @__PURE__ */ (0,
|
|
2145
|
-
] }),
|
|
2146
|
-
sun: /* @__PURE__ */ (0,
|
|
2147
|
-
/* @__PURE__ */ (0,
|
|
2148
|
-
/* @__PURE__ */ (0,
|
|
2149
|
-
] }),
|
|
2150
|
-
moon: /* @__PURE__ */ (0,
|
|
2151
|
-
code: /* @__PURE__ */ (0,
|
|
2152
|
-
github: /* @__PURE__ */ (0,
|
|
2875
|
+
"flip-horizontal": /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_jsx_runtime9.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M12 3v18M3 6h5v12H3zM16 6h5v12h-5z" }) }),
|
|
2876
|
+
"flip-vertical": /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_jsx_runtime9.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M3 12h18M6 3h12v5H6zM6 16h12v5H6z" }) }),
|
|
2877
|
+
"rotate-left": /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2878
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M4 9a8 8 0 1 1 0 6M4 3v6h6" }),
|
|
2879
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("rect", { x: "9", y: "9", width: "6", height: "6", rx: "1" })
|
|
2880
|
+
] }),
|
|
2881
|
+
"rotate-right": /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2882
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M20 9a8 8 0 1 0 0 6M20 3v6h-6" }),
|
|
2883
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("rect", { x: "9", y: "9", width: "6", height: "6", rx: "1" })
|
|
2884
|
+
] }),
|
|
2885
|
+
download: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_jsx_runtime9.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M12 3v12M7 10l5 5 5-5M4 20h16" }) }),
|
|
2886
|
+
upload: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_jsx_runtime9.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M12 16V4M7 9l5-5 5 5M4 20h16" }) }),
|
|
2887
|
+
refresh: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2888
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M20 4v4.686h-4.686" }),
|
|
2889
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M20 8.686 17.657 6.343A8 8 0 1 0 20 12" })
|
|
2890
|
+
] }),
|
|
2891
|
+
loader: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M12 3v3M12 18v3M3 12h3M18 12h3M5.6 5.6l2.1 2.1M16.3 16.3l2.1 2.1M18.4 5.6l-2.1 2.1M7.7 16.3l-2.1 2.1" }),
|
|
2892
|
+
calendar: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2893
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("rect", { x: "3", y: "5", width: "18", height: "16", rx: "2.5" }),
|
|
2894
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M8 3v4M16 3v4M3 10h18M7 14h2M11 14h2M15 14h2M7 18h2M11 18h2" })
|
|
2895
|
+
] }),
|
|
2896
|
+
clock: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2897
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
|
|
2898
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M12 7v5l3.5 2" })
|
|
2899
|
+
] }),
|
|
2900
|
+
mail: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2901
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("rect", { x: "3", y: "5", width: "18", height: "14", rx: "2.5" }),
|
|
2902
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "m4 7 8 6 8-6" })
|
|
2903
|
+
] }),
|
|
2904
|
+
phone: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M8.2 3.5 5.4 4.8c-1 .5-1.5 1.7-1.1 2.8 2.2 5.9 6.2 9.9 12.1 12.1 1.1.4 2.3-.1 2.8-1.1l1.3-2.8-4.2-2-1.4 2.1c-2.8-1.2-5.6-4-6.8-6.8l2.1-1.4-2-4.2Z" }),
|
|
2905
|
+
link: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2906
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "m9.5 14.5 5-5" }),
|
|
2907
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M7.5 16.5 6 18a3.5 3.5 0 0 1-5-5l3-3a3.5 3.5 0 0 1 5 0M16.5 7.5 18 6a3.5 3.5 0 0 1 5 5l-3 3a3.5 3.5 0 0 1-5 0" })
|
|
2908
|
+
] }),
|
|
2909
|
+
"external-link": /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2910
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M14 4h6v6M20 4 11 13" }),
|
|
2911
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M19 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h6" })
|
|
2912
|
+
] }),
|
|
2913
|
+
eye: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2914
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M2.5 12s3.5-6 9.5-6 9.5 6 9.5 6-3.5 6-9.5 6-9.5-6-9.5-6Z" }),
|
|
2915
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "12", cy: "12", r: "3" })
|
|
2916
|
+
] }),
|
|
2917
|
+
"eye-off": /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_jsx_runtime9.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "m3 3 18 18M10.6 6.1A10 10 0 0 1 12 6c6 0 9.5 6 9.5 6a14.5 14.5 0 0 1-2.2 3M6.4 6.4C3.9 8.2 2.5 12 2.5 12s3.5 6 9.5 6a9.7 9.7 0 0 0 3-.5M9.9 9.9a3 3 0 0 0 4.2 4.2" }) }),
|
|
2918
|
+
lock: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2919
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("rect", { x: "4", y: "10", width: "16", height: "11", rx: "2.5" }),
|
|
2920
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M8 10V7a4 4 0 0 1 8 0v3M12 14v3" })
|
|
2921
|
+
] }),
|
|
2922
|
+
unlock: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2923
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("rect", { x: "4", y: "10", width: "16", height: "11", rx: "2.5" }),
|
|
2924
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M8 10V7a4 4 0 0 1 7.5-2M12 14v3" })
|
|
2925
|
+
] }),
|
|
2926
|
+
bell: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2927
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M18 9a6 6 0 0 0-12 0c0 7-3 7-3 9h18c0-2-3-2-3-9Z" }),
|
|
2928
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M10 21h4" })
|
|
2929
|
+
] }),
|
|
2930
|
+
star: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "m12 3 2.8 5.7 6.2.9-4.5 4.4 1.1 6.2-5.6-3-5.6 3 1.1-6.2L3 9.6l6.2-.9L12 3Z" }),
|
|
2931
|
+
heart: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M20.8 5.8a5.5 5.5 0 0 0-7.8 0L12 6.9l-1-1.1a5.5 5.5 0 1 0-7.8 7.8L12 21l8.8-7.4a5.5 5.5 0 0 0 0-7.8Z" }),
|
|
2932
|
+
file: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2933
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M6 3h8l4 4v14H6V3Z" }),
|
|
2934
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M14 3v5h4" })
|
|
2935
|
+
] }),
|
|
2936
|
+
folder: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M3 6h7l2 2h9v11H3V6Z" }),
|
|
2937
|
+
image: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2938
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("rect", { x: "3", y: "4", width: "18", height: "16", rx: "2.5" }),
|
|
2939
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "9", cy: "9", r: "2" }),
|
|
2940
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "m4 17 4.5-4.5 3.5 3 2.5-2.5 5.5 5" })
|
|
2941
|
+
] }),
|
|
2942
|
+
filter: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M3 5h18l-7 8v6l-4 2v-8L3 5Z" }),
|
|
2943
|
+
"sort-ascending": /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2944
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M7 19V5M3.5 8.5 7 5l3.5 3.5" }),
|
|
2945
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M13 7h8M13 12h6M13 17h4" })
|
|
2946
|
+
] }),
|
|
2947
|
+
"sort-descending": /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2948
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M7 5v14M3.5 15.5 7 19l3.5-3.5" }),
|
|
2949
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M13 7h4M13 12h6M13 17h8" })
|
|
2950
|
+
] }),
|
|
2951
|
+
play: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2952
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
|
|
2953
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "m10 8 6 4-6 4V8Z" })
|
|
2954
|
+
] }),
|
|
2955
|
+
pause: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2956
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
|
|
2957
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M9.5 9v6M14.5 9v6" })
|
|
2958
|
+
] }),
|
|
2959
|
+
book: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2960
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M4 5.5A2.5 2.5 0 0 1 6.5 3H11v17H6.5A2.5 2.5 0 0 0 4 22V5.5Z" }),
|
|
2961
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M20 5.5A2.5 2.5 0 0 0 17.5 3H13v17h4.5A2.5 2.5 0 0 1 20 22V5.5Z" })
|
|
2962
|
+
] }),
|
|
2963
|
+
component: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2964
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("rect", { x: "4", y: "4", width: "6", height: "6", rx: "1.5" }),
|
|
2965
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("rect", { x: "14", y: "4", width: "6", height: "6", rx: "1.5" }),
|
|
2966
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("rect", { x: "4", y: "14", width: "6", height: "6", rx: "1.5" }),
|
|
2967
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("rect", { x: "14", y: "14", width: "6", height: "6", rx: "1.5" })
|
|
2968
|
+
] }),
|
|
2969
|
+
token: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2970
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "12", cy: "12", r: "4" }),
|
|
2971
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M12 2.5v3M12 18.5v3M2.5 12h3M18.5 12h3M5.3 5.3l2.1 2.1M16.6 16.6l2.1 2.1M18.7 5.3l-2.1 2.1M7.4 16.6l-2.1 2.1" })
|
|
2972
|
+
] }),
|
|
2973
|
+
sun: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2974
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "12", cy: "12", r: "3.6" }),
|
|
2975
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M12 2.5v2M12 19.5v2M2.5 12h2M19.5 12h2M5.3 5.3l1.4 1.4M17.3 17.3l1.4 1.4M18.7 5.3l-1.4 1.4M6.7 17.3l-1.4 1.4" })
|
|
2976
|
+
] }),
|
|
2977
|
+
moon: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M20 15.2A8 8 0 0 1 8.8 4 8.5 8.5 0 1 0 20 15.2Z" }),
|
|
2978
|
+
code: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "m9 18-6-6 6-6M15 6l6 6-6 6" }),
|
|
2979
|
+
github: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M9 19c-4 1.2-4-2-5-2.5M14 22v-3.1c0-.9.3-1.5.8-1.9 2.7-.3 5.5-1.3 5.5-6A4.7 4.7 0 0 0 19 7.7 4.4 4.4 0 0 0 18.9 4S17.8 3.7 15 5.3a11.7 11.7 0 0 0-6 0C6.2 3.7 5.1 4 5.1 4A4.4 4.4 0 0 0 5 7.7 4.7 4.7 0 0 0 3.7 11c0 4.7 2.8 5.7 5.5 6 .5.4.8 1 .8 1.9V22" })
|
|
2153
2980
|
};
|
|
2154
2981
|
var iconPaths = { ...coreIconPaths, ...extendedIconPaths };
|
|
2155
2982
|
var ICON_NAMES = Object.freeze(Object.keys(iconPaths));
|
|
2156
2983
|
var filledIconPaths = {
|
|
2157
|
-
info: /* @__PURE__ */ (0,
|
|
2158
|
-
/* @__PURE__ */ (0,
|
|
2159
|
-
/* @__PURE__ */ (0,
|
|
2160
|
-
] }),
|
|
2161
|
-
question: /* @__PURE__ */ (0,
|
|
2162
|
-
/* @__PURE__ */ (0,
|
|
2163
|
-
/* @__PURE__ */ (0,
|
|
2164
|
-
] }),
|
|
2165
|
-
warning: /* @__PURE__ */ (0,
|
|
2166
|
-
/* @__PURE__ */ (0,
|
|
2167
|
-
/* @__PURE__ */ (0,
|
|
2168
|
-
] }),
|
|
2169
|
-
"circle-check": /* @__PURE__ */ (0,
|
|
2170
|
-
/* @__PURE__ */ (0,
|
|
2171
|
-
/* @__PURE__ */ (0,
|
|
2172
|
-
] }),
|
|
2173
|
-
"circle-close": /* @__PURE__ */ (0,
|
|
2174
|
-
/* @__PURE__ */ (0,
|
|
2175
|
-
/* @__PURE__ */ (0,
|
|
2176
|
-
] }),
|
|
2177
|
-
"circle-plus": /* @__PURE__ */ (0,
|
|
2178
|
-
/* @__PURE__ */ (0,
|
|
2179
|
-
/* @__PURE__ */ (0,
|
|
2180
|
-
] }),
|
|
2181
|
-
"circle-minus": /* @__PURE__ */ (0,
|
|
2182
|
-
/* @__PURE__ */ (0,
|
|
2183
|
-
/* @__PURE__ */ (0,
|
|
2184
|
-
] }),
|
|
2185
|
-
home: /* @__PURE__ */ (0,
|
|
2186
|
-
user: /* @__PURE__ */ (0,
|
|
2187
|
-
/* @__PURE__ */ (0,
|
|
2188
|
-
/* @__PURE__ */ (0,
|
|
2189
|
-
] }),
|
|
2190
|
-
users: /* @__PURE__ */ (0,
|
|
2191
|
-
/* @__PURE__ */ (0,
|
|
2192
|
-
/* @__PURE__ */ (0,
|
|
2193
|
-
/* @__PURE__ */ (0,
|
|
2194
|
-
] }),
|
|
2195
|
-
trash: /* @__PURE__ */ (0,
|
|
2196
|
-
bell: /* @__PURE__ */ (0,
|
|
2197
|
-
star: /* @__PURE__ */ (0,
|
|
2198
|
-
heart: /* @__PURE__ */ (0,
|
|
2199
|
-
mail: /* @__PURE__ */ (0,
|
|
2200
|
-
/* @__PURE__ */ (0,
|
|
2201
|
-
/* @__PURE__ */ (0,
|
|
2202
|
-
] }),
|
|
2203
|
-
lock: /* @__PURE__ */ (0,
|
|
2204
|
-
unlock: /* @__PURE__ */ (0,
|
|
2205
|
-
calendar: /* @__PURE__ */ (0,
|
|
2206
|
-
/* @__PURE__ */ (0,
|
|
2207
|
-
/* @__PURE__ */ (0,
|
|
2208
|
-
] }),
|
|
2209
|
-
clock: /* @__PURE__ */ (0,
|
|
2210
|
-
/* @__PURE__ */ (0,
|
|
2211
|
-
/* @__PURE__ */ (0,
|
|
2212
|
-
] }),
|
|
2213
|
-
file: /* @__PURE__ */ (0,
|
|
2214
|
-
folder: /* @__PURE__ */ (0,
|
|
2215
|
-
image: /* @__PURE__ */ (0,
|
|
2216
|
-
/* @__PURE__ */ (0,
|
|
2217
|
-
/* @__PURE__ */ (0,
|
|
2218
|
-
/* @__PURE__ */ (0,
|
|
2219
|
-
] }),
|
|
2220
|
-
filter: /* @__PURE__ */ (0,
|
|
2221
|
-
play: /* @__PURE__ */ (0,
|
|
2222
|
-
/* @__PURE__ */ (0,
|
|
2223
|
-
/* @__PURE__ */ (0,
|
|
2224
|
-
] }),
|
|
2225
|
-
pause: /* @__PURE__ */ (0,
|
|
2226
|
-
/* @__PURE__ */ (0,
|
|
2227
|
-
/* @__PURE__ */ (0,
|
|
2228
|
-
] }),
|
|
2229
|
-
book: /* @__PURE__ */ (0,
|
|
2230
|
-
component: /* @__PURE__ */ (0,
|
|
2231
|
-
/* @__PURE__ */ (0,
|
|
2232
|
-
/* @__PURE__ */ (0,
|
|
2233
|
-
/* @__PURE__ */ (0,
|
|
2234
|
-
/* @__PURE__ */ (0,
|
|
2235
|
-
] }),
|
|
2236
|
-
token: /* @__PURE__ */ (0,
|
|
2237
|
-
/* @__PURE__ */ (0,
|
|
2238
|
-
/* @__PURE__ */ (0,
|
|
2984
|
+
info: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2985
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor", stroke: "none" }),
|
|
2986
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M12 10.5v6M12 7.2v.1", stroke: "var(--sia-icon-contrast, #fff)", strokeWidth: "2" })
|
|
2987
|
+
] }),
|
|
2988
|
+
question: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2989
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor", stroke: "none" }),
|
|
2990
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M9.6 9a2.5 2.5 0 1 1 3.6 2.3c-.8.5-1.2 1.1-1.2 2.1M12 16.8v.1", stroke: "var(--sia-icon-contrast, #fff)", strokeWidth: "2" })
|
|
2991
|
+
] }),
|
|
2992
|
+
warning: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2993
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M10.3 3.5 1.8 19a2 2 0 0 0 1.8 3h16.8a2 2 0 0 0 1.8-3L13.7 3.5a2 2 0 0 0-3.4 0Z", fill: "currentColor", stroke: "none" }),
|
|
2994
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M12 9v5M12 18v.1", stroke: "var(--sia-icon-contrast, #fff)", strokeWidth: "2" })
|
|
2995
|
+
] }),
|
|
2996
|
+
"circle-check": /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2997
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor", stroke: "none" }),
|
|
2998
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "m7.5 12 3 3 6-6", stroke: "var(--sia-icon-contrast, #fff)", strokeWidth: "2" })
|
|
2999
|
+
] }),
|
|
3000
|
+
"circle-close": /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
3001
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor", stroke: "none" }),
|
|
3002
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "m8.8 8.8 6.4 6.4M15.2 8.8l-6.4 6.4", stroke: "var(--sia-icon-contrast, #fff)", strokeWidth: "2" })
|
|
3003
|
+
] }),
|
|
3004
|
+
"circle-plus": /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
3005
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor", stroke: "none" }),
|
|
3006
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M12 7.5v9M7.5 12h9", stroke: "var(--sia-icon-contrast, #fff)", strokeWidth: "2" })
|
|
3007
|
+
] }),
|
|
3008
|
+
"circle-minus": /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
3009
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor", stroke: "none" }),
|
|
3010
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M7.5 12h9", stroke: "var(--sia-icon-contrast, #fff)", strokeWidth: "2" })
|
|
3011
|
+
] }),
|
|
3012
|
+
home: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M2.6 10.8 12 2.8l9.4 8a1 1 0 0 1-1.3 1.5l-.6-.5V21h-5.2v-6.2H9.7V21H4.5v-9.2l-.6.5a1 1 0 1 1-1.3-1.5Z", fill: "currentColor", stroke: "none" }),
|
|
3013
|
+
user: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
3014
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "12", cy: "7.5", r: "4.5", fill: "currentColor", stroke: "none" }),
|
|
3015
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M3.5 21c.7-5 3.6-7.5 8.5-7.5s7.8 2.5 8.5 7.5H3.5Z", fill: "currentColor", stroke: "none" })
|
|
3016
|
+
] }),
|
|
3017
|
+
users: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
3018
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "8.5", cy: "8", r: "3.8", fill: "currentColor", stroke: "none" }),
|
|
3019
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "17", cy: "8.5", r: "3", fill: "currentColor", stroke: "none", opacity: ".7" }),
|
|
3020
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M1.8 21c.6-4.6 2.8-7 6.7-7s6.1 2.4 6.7 7H1.8ZM14.4 15.2c3.9-.2 6.4 1.7 7 5.8h-4.5a9.9 9.9 0 0 0-2.5-5.8Z", fill: "currentColor", stroke: "none" })
|
|
3021
|
+
] }),
|
|
3022
|
+
trash: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M8 3h8l1 3h4v2H3V6h4l1-3Zm-2.5 7h13l-1 11h-11l-1-11Z", fill: "currentColor", stroke: "none" }),
|
|
3023
|
+
bell: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M12 2.5a2 2 0 0 1 2 1.6c3 .9 5 3.6 5 6.9v4.3l2 3.2H3l2-3.2V11c0-3.3 2-6 5-6.9a2 2 0 0 1 2-1.6ZM9.2 20h5.6a3 3 0 0 1-5.6 0Z", fill: "currentColor", stroke: "none" }),
|
|
3024
|
+
star: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "m12 2.2 3 6 6.6 1-4.8 4.6 1.1 6.6-5.9-3.1-5.9 3.1 1.1-6.6-4.8-4.6 6.6-1 3-6Z", fill: "currentColor", stroke: "none" }),
|
|
3025
|
+
heart: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M12 21.3 3.1 13.7A5.8 5.8 0 0 1 11 5.2l1 1 1-1a5.8 5.8 0 0 1 7.9 8.5L12 21.3Z", fill: "currentColor", stroke: "none" }),
|
|
3026
|
+
mail: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
3027
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("rect", { x: "2.5", y: "4.5", width: "19", height: "15", rx: "2.5", fill: "currentColor", stroke: "none" }),
|
|
3028
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "m4.5 7 7.5 5.8L19.5 7", stroke: "var(--sia-icon-contrast, #fff)", strokeWidth: "1.8" })
|
|
3029
|
+
] }),
|
|
3030
|
+
lock: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M7 10V7a5 5 0 0 1 10 0v3h1.5a2.5 2.5 0 0 1 2.5 2.5v7a2.5 2.5 0 0 1-2.5 2.5h-13A2.5 2.5 0 0 1 3 19.5v-7A2.5 2.5 0 0 1 5.5 10H7Zm2.5 0h5V7a2.5 2.5 0 0 0-5 0v3Z", fill: "currentColor", stroke: "none" }),
|
|
3031
|
+
unlock: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M7 10V7a5 5 0 0 1 9.5-2.2l-2.2 1.1A2.5 2.5 0 0 0 9.5 7v3h9A2.5 2.5 0 0 1 21 12.5v7a2.5 2.5 0 0 1-2.5 2.5h-13A2.5 2.5 0 0 1 3 19.5v-7A2.5 2.5 0 0 1 5.5 10H7Z", fill: "currentColor", stroke: "none" }),
|
|
3032
|
+
calendar: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
3033
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("rect", { x: "2.5", y: "4.5", width: "19", height: "17", rx: "2.5", fill: "currentColor", stroke: "none" }),
|
|
3034
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M3 9.5h18M8 2.5v4M16 2.5v4", stroke: "var(--sia-icon-contrast, #fff)", strokeWidth: "1.8" })
|
|
3035
|
+
] }),
|
|
3036
|
+
clock: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
3037
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor", stroke: "none" }),
|
|
3038
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M12 6.5V12l4 2.3", stroke: "var(--sia-icon-contrast, #fff)", strokeWidth: "2" })
|
|
3039
|
+
] }),
|
|
3040
|
+
file: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M5 2.5h10l4 4V22H5V2.5Zm9 1.8V8h3.7L14 4.3Z", fill: "currentColor", stroke: "none" }),
|
|
3041
|
+
folder: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M2.5 5h7l2.2 2.5h9.8V20H2.5V5Z", fill: "currentColor", stroke: "none" }),
|
|
3042
|
+
image: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
3043
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("rect", { x: "2.5", y: "3.5", width: "19", height: "17", rx: "2.5", fill: "currentColor", stroke: "none" }),
|
|
3044
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "m4.5 18 4.3-4.6 3.4 3 2.5-2.6 4.8 4.2", stroke: "var(--sia-icon-contrast, #fff)", strokeWidth: "1.7" }),
|
|
3045
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "8", cy: "8.5", r: "1.7", fill: "var(--sia-icon-contrast, #fff)", stroke: "none" })
|
|
3046
|
+
] }),
|
|
3047
|
+
filter: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M2 4h20l-7.8 9v6.2L9.8 22v-9L2 4Z", fill: "currentColor", stroke: "none" }),
|
|
3048
|
+
play: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
3049
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor", stroke: "none" }),
|
|
3050
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "m10 7.8 6.5 4.2-6.5 4.2V7.8Z", fill: "var(--sia-icon-contrast, #fff)", stroke: "none" })
|
|
3051
|
+
] }),
|
|
3052
|
+
pause: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
3053
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor", stroke: "none" }),
|
|
3054
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M8.5 7.5h2.5v9H8.5v-9Zm4.5 0h2.5v9H13v-9Z", fill: "var(--sia-icon-contrast, #fff)", stroke: "none" })
|
|
3055
|
+
] }),
|
|
3056
|
+
book: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M3 4.5A3.5 3.5 0 0 1 6.5 1H11v19H6.5A3.5 3.5 0 0 0 3 23V4.5ZM21 4.5A3.5 3.5 0 0 0 17.5 1H13v19h4.5A3.5 3.5 0 0 1 21 23V4.5Z", fill: "currentColor", stroke: "none" }),
|
|
3057
|
+
component: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
3058
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("rect", { x: "3", y: "3", width: "8", height: "8", rx: "2", fill: "currentColor", stroke: "none" }),
|
|
3059
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("rect", { x: "13", y: "3", width: "8", height: "8", rx: "2", fill: "currentColor", stroke: "none" }),
|
|
3060
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("rect", { x: "3", y: "13", width: "8", height: "8", rx: "2", fill: "currentColor", stroke: "none" }),
|
|
3061
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("rect", { x: "13", y: "13", width: "8", height: "8", rx: "2", fill: "currentColor", stroke: "none" })
|
|
3062
|
+
] }),
|
|
3063
|
+
token: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
3064
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "12", cy: "12", r: "5", fill: "currentColor", stroke: "none" }),
|
|
3065
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M12 1v4M12 19v4M1 12h4M19 12h4M4.2 4.2 7 7M17 17l2.8 2.8M19.8 4.2 17 7M7 17l-2.8 2.8", stroke: "currentColor", strokeWidth: "2.2" })
|
|
2239
3066
|
] })
|
|
2240
3067
|
};
|
|
2241
3068
|
var FILLED_ICON_NAMES = Object.freeze(Object.keys(filledIconPaths));
|
|
2242
3069
|
var normalizedOutlinePaths = normalizeIconPaths(iconPaths, outlineIconBounds);
|
|
2243
3070
|
var normalizedFilledPaths = normalizeIconPaths(filledIconPaths, filledIconBounds);
|
|
2244
|
-
var Icon = (0,
|
|
3071
|
+
var Icon = (0, import_react10.forwardRef)(function Icon2({ name, tone = "inherit", size = "1em", strokeWidth = 1.8, rotate = 0, spin = false, pulse = false, label, variant = "outline", className = "", style, ...props }, ref) {
|
|
2245
3072
|
const resolvedSize = typeof size === "number" ? `${size}px` : size;
|
|
2246
3073
|
const toneColor = tone === "inherit" ? void 0 : `var(--sia-color-${tone === "danger" ? "error" : tone === "primary" ? "primary-text" : tone})`;
|
|
2247
3074
|
const mergedStyle = { "--sia-icon-size": resolvedSize, "--sia-icon-rotate": `${rotate}deg`, color: toneColor, ...style };
|
|
@@ -2249,7 +3076,7 @@ var Icon = (0, import_react6.forwardRef)(function Icon2({ name, tone = "inherit"
|
|
|
2249
3076
|
const filledPath = filledIconPaths[name];
|
|
2250
3077
|
const resolvedVariant = variant === "filled" && filledPath ? "filled" : "outline";
|
|
2251
3078
|
const geometry = resolvedVariant === "filled" ? normalizedFilledPaths[name] : normalizedOutlinePaths[name];
|
|
2252
|
-
return /* @__PURE__ */ (0,
|
|
3079
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
2253
3080
|
"span",
|
|
2254
3081
|
{
|
|
2255
3082
|
ref,
|
|
@@ -2260,13 +3087,13 @@ var Icon = (0, import_react6.forwardRef)(function Icon2({ name, tone = "inherit"
|
|
|
2260
3087
|
"aria-hidden": label ? void 0 : true,
|
|
2261
3088
|
style: mergedStyle,
|
|
2262
3089
|
...withTitleTooltip(props),
|
|
2263
|
-
children: /* @__PURE__ */ (0,
|
|
3090
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: strokeWidth / geometry.scale, strokeLinecap: "round", strokeLinejoin: "round", focusable: "false", children: geometry.node })
|
|
2264
3091
|
}
|
|
2265
3092
|
);
|
|
2266
3093
|
});
|
|
2267
3094
|
|
|
2268
3095
|
// src/components/Overlay.tsx
|
|
2269
|
-
var
|
|
3096
|
+
var import_react11 = require("react");
|
|
2270
3097
|
var import_react_dom2 = require("react-dom");
|
|
2271
3098
|
var bodyLockCount = 0;
|
|
2272
3099
|
var previousBodyOverflow = "";
|
|
@@ -2296,11 +3123,11 @@ function firstModalInput(panel) {
|
|
|
2296
3123
|
);
|
|
2297
3124
|
return [...candidates ?? []].find((element) => (element.tabIndex >= 0 || element.isContentEditable && !element.hasAttribute("tabindex")) && !element.matches(":disabled, [readonly], [aria-readonly='true']") && !element.closest('[hidden], [inert], [aria-hidden="true"], [aria-disabled="true"]') && element.getClientRects().length > 0 && getComputedStyle(element).visibility === "visible");
|
|
2298
3125
|
}
|
|
2299
|
-
function useOverlayLifecycle(open, panelRef, onRequestClose, keyboard = true, autoFocusInput = false) {
|
|
2300
|
-
const overlayIdRef = (0,
|
|
2301
|
-
const closeRef = (0,
|
|
3126
|
+
function useOverlayLifecycle(open, panelRef, onRequestClose, keyboard = true, autoFocusInput = false, contentReady = true) {
|
|
3127
|
+
const overlayIdRef = (0, import_react11.useRef)(/* @__PURE__ */ Symbol("sia-overlay"));
|
|
3128
|
+
const closeRef = (0, import_react11.useRef)(onRequestClose);
|
|
2302
3129
|
closeRef.current = onRequestClose;
|
|
2303
|
-
(0,
|
|
3130
|
+
(0, import_react11.useEffect)(() => {
|
|
2304
3131
|
if (!open || typeof document === "undefined") return void 0;
|
|
2305
3132
|
const overlayId = overlayIdRef.current;
|
|
2306
3133
|
const previouslyFocused = document.activeElement instanceof HTMLElement ? document.activeElement : null;
|
|
@@ -2308,14 +3135,6 @@ function useOverlayLifecycle(open, panelRef, onRequestClose, keyboard = true, au
|
|
|
2308
3135
|
overlayPanels.set(overlayId, panelRef);
|
|
2309
3136
|
overlayListeners.forEach((listener) => listener());
|
|
2310
3137
|
const unlockBody = lockBodyScroll();
|
|
2311
|
-
const focusTimer = window.setTimeout(() => {
|
|
2312
|
-
const panel = panelRef.current;
|
|
2313
|
-
if (!panel || overlayStack.at(-1) !== overlayId) return;
|
|
2314
|
-
if (panel.contains(document.activeElement) && document.activeElement !== panel) return;
|
|
2315
|
-
const [firstFocusable] = focusableElements(panel);
|
|
2316
|
-
const input = autoFocusInput ? firstModalInput(panel) : void 0;
|
|
2317
|
-
(input ?? firstFocusable ?? panel).focus({ preventScroll: true });
|
|
2318
|
-
}, 0);
|
|
2319
3138
|
function handleKeyDown(event) {
|
|
2320
3139
|
if (overlayStack.at(-1) !== overlayId) return;
|
|
2321
3140
|
if (event.key === "Escape" && keyboard) {
|
|
@@ -2342,7 +3161,6 @@ function useOverlayLifecycle(open, panelRef, onRequestClose, keyboard = true, au
|
|
|
2342
3161
|
}
|
|
2343
3162
|
document.addEventListener("keydown", handleKeyDown);
|
|
2344
3163
|
return () => {
|
|
2345
|
-
window.clearTimeout(focusTimer);
|
|
2346
3164
|
document.removeEventListener("keydown", handleKeyDown);
|
|
2347
3165
|
const index = overlayStack.lastIndexOf(overlayId);
|
|
2348
3166
|
if (index >= 0) overlayStack.splice(index, 1);
|
|
@@ -2352,6 +3170,17 @@ function useOverlayLifecycle(open, panelRef, onRequestClose, keyboard = true, au
|
|
|
2352
3170
|
previouslyFocused?.focus({ preventScroll: true });
|
|
2353
3171
|
};
|
|
2354
3172
|
}, [keyboard, open, panelRef, autoFocusInput]);
|
|
3173
|
+
(0, import_react11.useEffect)(() => {
|
|
3174
|
+
if (!open) return;
|
|
3175
|
+
const timer = window.setTimeout(() => {
|
|
3176
|
+
const panel = panelRef.current;
|
|
3177
|
+
if (!panel || overlayStack.at(-1) !== overlayIdRef.current) return;
|
|
3178
|
+
if (panel.contains(document.activeElement) && document.activeElement !== panel) return;
|
|
3179
|
+
const first = contentReady ? (autoFocusInput ? firstModalInput(panel) : void 0) ?? focusableElements(panel)[0] : void 0;
|
|
3180
|
+
(first ?? panel).focus({ preventScroll: true });
|
|
3181
|
+
}, 0);
|
|
3182
|
+
return () => window.clearTimeout(timer);
|
|
3183
|
+
}, [open, panelRef, autoFocusInput, contentReady]);
|
|
2355
3184
|
}
|
|
2356
3185
|
function OverlayPortal({ children, container }) {
|
|
2357
3186
|
if (typeof document === "undefined") return null;
|
|
@@ -2360,18 +3189,19 @@ function OverlayPortal({ children, container }) {
|
|
|
2360
3189
|
}
|
|
2361
3190
|
|
|
2362
3191
|
// src/components/Modal.tsx
|
|
2363
|
-
var
|
|
3192
|
+
var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
2364
3193
|
var modalHandles = /* @__PURE__ */ new Set();
|
|
2365
|
-
var MODAL_MOTION_DURATION = 220;
|
|
2366
3194
|
var typeIcons = {
|
|
2367
|
-
info: /* @__PURE__ */ (0,
|
|
2368
|
-
success: /* @__PURE__ */ (0,
|
|
2369
|
-
warning: /* @__PURE__ */ (0,
|
|
2370
|
-
error: /* @__PURE__ */ (0,
|
|
2371
|
-
confirm: /* @__PURE__ */ (0,
|
|
3195
|
+
info: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Icon, { name: "info", size: 23, variant: "filled" }),
|
|
3196
|
+
success: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Icon, { name: "circle-check", size: 23, variant: "filled" }),
|
|
3197
|
+
warning: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Icon, { name: "warning", size: 23, variant: "filled" }),
|
|
3198
|
+
error: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Icon, { name: "circle-close", size: 23, variant: "filled" }),
|
|
3199
|
+
confirm: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Icon, { name: "question", size: 23, variant: "filled" })
|
|
2372
3200
|
};
|
|
2373
|
-
var ModalRoot = (0,
|
|
3201
|
+
var ModalRoot = (0, import_react12.forwardRef)(function Modal({
|
|
2374
3202
|
open,
|
|
3203
|
+
deferContent = false,
|
|
3204
|
+
loadingFallback,
|
|
2375
3205
|
autoFocus = true,
|
|
2376
3206
|
title,
|
|
2377
3207
|
children,
|
|
@@ -2400,34 +3230,15 @@ var ModalRoot = (0, import_react8.forwardRef)(function Modal({
|
|
|
2400
3230
|
style,
|
|
2401
3231
|
...props
|
|
2402
3232
|
}, forwardedRef) {
|
|
2403
|
-
const localRef = (0,
|
|
2404
|
-
const
|
|
2405
|
-
const
|
|
2406
|
-
const [
|
|
2407
|
-
const
|
|
2408
|
-
const
|
|
2409
|
-
|
|
2410
|
-
const
|
|
2411
|
-
(0,
|
|
2412
|
-
if (!open || !rendered) return void 0;
|
|
2413
|
-
const timer = window.setTimeout(() => afterOpenChangeRef.current?.(true), MODAL_MOTION_DURATION);
|
|
2414
|
-
return () => window.clearTimeout(timer);
|
|
2415
|
-
}, [open, rendered]);
|
|
2416
|
-
(0, import_react8.useEffect)(() => {
|
|
2417
|
-
if (open) {
|
|
2418
|
-
setRendered(true);
|
|
2419
|
-
setClosing(false);
|
|
2420
|
-
return void 0;
|
|
2421
|
-
}
|
|
2422
|
-
if (!rendered) return void 0;
|
|
2423
|
-
setClosing(true);
|
|
2424
|
-
const timer = window.setTimeout(() => {
|
|
2425
|
-
setRendered(false);
|
|
2426
|
-
setClosing(false);
|
|
2427
|
-
afterOpenChangeRef.current?.(false);
|
|
2428
|
-
}, MODAL_MOTION_DURATION);
|
|
2429
|
-
return () => window.clearTimeout(timer);
|
|
2430
|
-
}, [open, rendered]);
|
|
3233
|
+
const localRef = (0, import_react12.useRef)(null);
|
|
3234
|
+
const bodyRef = (0, import_react12.useRef)(null);
|
|
3235
|
+
const titleId = (0, import_react12.useId)();
|
|
3236
|
+
const [submitting, setSubmitting] = (0, import_react12.useState)(false);
|
|
3237
|
+
const motion = useOverlayMotion(open, localRef, "modal", "bottom", true, afterOpenChange);
|
|
3238
|
+
const { present: rendered, closing } = motion;
|
|
3239
|
+
const bodyReady = !closing && (!deferContent || motion.settled);
|
|
3240
|
+
const exitPlaceholder = useOverlayExitPlaceholder(open, rendered, localRef, bodyRef, bodyReady && loadingFallback === void 0);
|
|
3241
|
+
const submitLock = (0, import_react12.useRef)(false);
|
|
2431
3242
|
function setRef(node) {
|
|
2432
3243
|
localRef.current = node;
|
|
2433
3244
|
if (typeof forwardedRef === "function") forwardedRef(node);
|
|
@@ -2439,7 +3250,7 @@ var ModalRoot = (0, import_react8.forwardRef)(function Modal({
|
|
|
2439
3250
|
onOpenChange?.(false);
|
|
2440
3251
|
}
|
|
2441
3252
|
async function handleOk() {
|
|
2442
|
-
if (submitLock.current || confirmLoading) return;
|
|
3253
|
+
if (!bodyReady || submitLock.current || confirmLoading) return;
|
|
2443
3254
|
submitLock.current = true;
|
|
2444
3255
|
if (!onOk) {
|
|
2445
3256
|
onOpenChange?.(false);
|
|
@@ -2462,49 +3273,50 @@ var ModalRoot = (0, import_react8.forwardRef)(function Modal({
|
|
|
2462
3273
|
setSubmitting(false);
|
|
2463
3274
|
}
|
|
2464
3275
|
}
|
|
2465
|
-
useOverlayLifecycle(rendered, localRef, requestClose, keyboard, autoFocus);
|
|
3276
|
+
useOverlayLifecycle(rendered, localRef, requestClose, keyboard, autoFocus, bodyReady);
|
|
2466
3277
|
if (!rendered) return null;
|
|
2467
3278
|
const mergedStyle = {
|
|
2468
3279
|
...height !== void 0 ? { display: "flex", flexDirection: "column", height, maxHeight: "calc(100dvh - 48px)" } : {},
|
|
2469
3280
|
...style,
|
|
2470
3281
|
"--sia-modal-width": typeof width === "number" ? `${width}px` : width
|
|
2471
3282
|
};
|
|
2472
|
-
const loading = submitting || confirmLoading;
|
|
2473
|
-
const defaultFooter = /* @__PURE__ */ (0,
|
|
2474
|
-
showCancel ? /* @__PURE__ */ (0,
|
|
2475
|
-
/* @__PURE__ */ (0,
|
|
3283
|
+
const loading = submitting || confirmLoading || !bodyReady;
|
|
3284
|
+
const defaultFooter = /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(import_jsx_runtime10.Fragment, { children: [
|
|
3285
|
+
showCancel ? /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Button, { ...cancelButtonProps, onClick: requestClose, disabled: loading || cancelButtonProps?.disabled, children: cancelText }) : null,
|
|
3286
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Button, { variant: "primary", ...okButtonProps, onClick: handleOk, loading, children: okText })
|
|
2476
3287
|
] });
|
|
2477
|
-
return /* @__PURE__ */ (0,
|
|
3288
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(OverlayPortal, { container: getContainer, children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
2478
3289
|
"div",
|
|
2479
3290
|
{
|
|
2480
3291
|
className: `sia-modal-root${centered ? " sia-modal-root--centered" : ""}`,
|
|
2481
3292
|
"data-state": closing ? "closing" : "open",
|
|
3293
|
+
"data-content-pending": !bodyReady || void 0,
|
|
2482
3294
|
style: { zIndex },
|
|
2483
3295
|
onMouseDown: (event) => {
|
|
2484
3296
|
if (event.target === event.currentTarget && maskClosable) requestClose();
|
|
2485
3297
|
},
|
|
2486
|
-
children: /* @__PURE__ */ (0,
|
|
3298
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
|
|
2487
3299
|
"div",
|
|
2488
3300
|
{
|
|
2489
3301
|
ref: setRef,
|
|
2490
3302
|
className: `sia-modal sia-modal--${type} ${className}`.trim(),
|
|
2491
|
-
style: mergedStyle,
|
|
3303
|
+
style: { ...mergedStyle, ...exitPlaceholder.panelStyle, animation: "none" },
|
|
2492
3304
|
role: "dialog",
|
|
2493
3305
|
"aria-modal": "true",
|
|
2494
3306
|
"aria-labelledby": title ? titleId : void 0,
|
|
2495
3307
|
tabIndex: -1,
|
|
2496
3308
|
...withTitleTooltip(props),
|
|
2497
3309
|
children: [
|
|
2498
|
-
/* @__PURE__ */ (0,
|
|
2499
|
-
/* @__PURE__ */ (0,
|
|
2500
|
-
typeIcons[type] ? /* @__PURE__ */ (0,
|
|
2501
|
-
title ? /* @__PURE__ */ (0,
|
|
3310
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "sia-modal__header", style: height !== void 0 ? { flexShrink: 0 } : void 0, children: [
|
|
3311
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "sia-modal__heading", children: [
|
|
3312
|
+
typeIcons[type] ? /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "sia-modal__type-icon", "aria-hidden": "true", children: typeIcons[type] }) : null,
|
|
3313
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("strong", { id: titleId, children: title }) : null
|
|
2502
3314
|
] }),
|
|
2503
|
-
closable ? /* @__PURE__ */ (0,
|
|
3315
|
+
closable ? /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("button", { type: "button", className: "sia-modal__close", "aria-label": "\u5173\u95ED\u5BF9\u8BDD\u6846", onClick: requestClose, children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Icon, { name: "close", size: 17 }) }) : null
|
|
2504
3316
|
] }),
|
|
2505
|
-
children !== void 0 ? /* @__PURE__ */ (0,
|
|
2506
|
-
footer !== null ? /* @__PURE__ */ (0,
|
|
2507
|
-
footer === void 0 && footerExtra != null ? /* @__PURE__ */ (0,
|
|
3317
|
+
children !== void 0 || closing && exitPlaceholder.hadBody ? /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { ref: bodyRef, className: `sia-modal__body${deferContent && bodyReady ? " sia-overlay-body--ready" : ""}`, "aria-busy": !bodyReady, style: { ...height !== void 0 ? { flex: 1, minHeight: 0, overflow: "auto" } : {}, ...exitPlaceholder.bodyStyle }, children: bodyReady ? children : loadingFallback !== void 0 ? loadingFallback : closing && exitPlaceholder.layout ? /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(OverlayContentSkeleton, { layout: exitPlaceholder.layout }) : /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Skeleton, {}) }) : null,
|
|
3318
|
+
footer !== null && (bodyReady || closing && motion.entered || footer === void 0) ? /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "sia-modal__footer", style: height !== void 0 ? { flexShrink: 0 } : void 0, children: [
|
|
3319
|
+
footer === void 0 && footerExtra != null ? /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { style: { marginRight: "auto" }, children: footerExtra }) : null,
|
|
2508
3320
|
footer ?? defaultFooter
|
|
2509
3321
|
] }) : null
|
|
2510
3322
|
]
|
|
@@ -2525,7 +3337,7 @@ function openModal(config) {
|
|
|
2525
3337
|
let currentOpen = true;
|
|
2526
3338
|
let destroyed = false;
|
|
2527
3339
|
let mounted = false;
|
|
2528
|
-
function
|
|
3340
|
+
function cleanup2() {
|
|
2529
3341
|
if (destroyed) return;
|
|
2530
3342
|
destroyed = true;
|
|
2531
3343
|
root.unmount();
|
|
@@ -2538,23 +3350,23 @@ function openModal(config) {
|
|
|
2538
3350
|
render();
|
|
2539
3351
|
}
|
|
2540
3352
|
function ModalInstance() {
|
|
2541
|
-
(0,
|
|
3353
|
+
(0, import_react12.useEffect)(() => {
|
|
2542
3354
|
mounted = true;
|
|
2543
3355
|
if (!currentOpen) render();
|
|
2544
3356
|
}, []);
|
|
2545
|
-
return /* @__PURE__ */ (0,
|
|
3357
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(ModalRoot, { ...currentConfig, open: !mounted || currentOpen, onOpenChange: (nextOpen) => {
|
|
2546
3358
|
currentConfig.onOpenChange?.(nextOpen);
|
|
2547
3359
|
if (!nextOpen) closeWithMotion();
|
|
2548
3360
|
}, afterOpenChange: (nextOpen) => {
|
|
2549
3361
|
try {
|
|
2550
3362
|
currentConfig.afterOpenChange?.(nextOpen);
|
|
2551
3363
|
} finally {
|
|
2552
|
-
if (!nextOpen) queueMicrotask(
|
|
3364
|
+
if (!nextOpen) queueMicrotask(cleanup2);
|
|
2553
3365
|
}
|
|
2554
3366
|
} });
|
|
2555
3367
|
}
|
|
2556
3368
|
function render() {
|
|
2557
|
-
root.render(/* @__PURE__ */ (0,
|
|
3369
|
+
root.render(/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(ModalInstance, {}));
|
|
2558
3370
|
}
|
|
2559
3371
|
const handle = {
|
|
2560
3372
|
destroy: closeWithMotion,
|
|
@@ -2599,36 +3411,36 @@ var Modal2 = Object.assign(ModalRoot, {
|
|
|
2599
3411
|
});
|
|
2600
3412
|
|
|
2601
3413
|
// src/game/components.tsx
|
|
2602
|
-
var
|
|
3414
|
+
var import_jsx_runtime11 = require("react/jsx-runtime");
|
|
2603
3415
|
function GameSprite({ asset, className = "" }) {
|
|
2604
|
-
return /* @__PURE__ */ (0,
|
|
3416
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("img", { className: `unit-art ${asset.flip ? "face-left" : ""} ${className}`, src: asset.src, alt: "", "aria-hidden": "true", draggable: false, decoding: "async" });
|
|
2605
3417
|
}
|
|
2606
3418
|
function GameButton({ className = "", ...props }) {
|
|
2607
|
-
return /* @__PURE__ */ (0,
|
|
3419
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Button, { ...props, className: `game-button ${className}` });
|
|
2608
3420
|
}
|
|
2609
3421
|
var fmt = (n) => Math.floor(n).toLocaleString("zh-CN");
|
|
2610
3422
|
var busy = (s) => Boolean(s.fight?.boss && s.fight.status === "active");
|
|
2611
3423
|
var command = (fn, type, id) => () => fn({ type, id });
|
|
2612
3424
|
function Title({ kicker, title, children }) {
|
|
2613
|
-
return /* @__PURE__ */ (0,
|
|
2614
|
-
/* @__PURE__ */ (0,
|
|
2615
|
-
/* @__PURE__ */ (0,
|
|
2616
|
-
/* @__PURE__ */ (0,
|
|
3425
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "view-title", children: [
|
|
3426
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { children: [
|
|
3427
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "eyebrow", children: kicker }),
|
|
3428
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("h1", { children: title })
|
|
2617
3429
|
] }),
|
|
2618
3430
|
children
|
|
2619
3431
|
] });
|
|
2620
3432
|
}
|
|
2621
3433
|
function ItemStats({ item }) {
|
|
2622
|
-
return /* @__PURE__ */ (0,
|
|
2623
|
-
/* @__PURE__ */ (0,
|
|
3434
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "item-stats", children: [
|
|
3435
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("span", { children: [
|
|
2624
3436
|
"\u653B\u51FB +",
|
|
2625
3437
|
item.atk
|
|
2626
3438
|
] }),
|
|
2627
|
-
/* @__PURE__ */ (0,
|
|
3439
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("span", { children: [
|
|
2628
3440
|
"\u9632\u5FA1 +",
|
|
2629
3441
|
item.def
|
|
2630
3442
|
] }),
|
|
2631
|
-
/* @__PURE__ */ (0,
|
|
3443
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("span", { children: [
|
|
2632
3444
|
"\u6C14\u8840 +",
|
|
2633
3445
|
item.hp
|
|
2634
3446
|
] })
|
|
@@ -2636,158 +3448,158 @@ function ItemStats({ item }) {
|
|
|
2636
3448
|
}
|
|
2637
3449
|
function GameShell({ engine, state, onAction, page, children }) {
|
|
2638
3450
|
const d = engine.definition, view = { engine, state, onAction };
|
|
2639
|
-
return /* @__PURE__ */ (0,
|
|
2640
|
-
/* @__PURE__ */ (0,
|
|
2641
|
-
/* @__PURE__ */ (0,
|
|
2642
|
-
/* @__PURE__ */ (0,
|
|
2643
|
-
/* @__PURE__ */ (0,
|
|
3451
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_jsx_runtime11.Fragment, { children: [
|
|
3452
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("header", { className: "topbar", children: [
|
|
3453
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "brand", children: [
|
|
3454
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "brand-seal", children: d.title[0] }),
|
|
3455
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("span", { className: "brand-title", children: [
|
|
2644
3456
|
d.title,
|
|
2645
|
-
/* @__PURE__ */ (0,
|
|
3457
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("small", { children: d.subtitle })
|
|
2646
3458
|
] })
|
|
2647
3459
|
] }),
|
|
2648
|
-
/* @__PURE__ */ (0,
|
|
2649
|
-
/* @__PURE__ */ (0,
|
|
3460
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "realm", children: [
|
|
3461
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "live-dot" }),
|
|
2650
3462
|
"\u5355\u4EBA\u4FEE\u884C / \u653E\u7F6E\u5386\u7EC3"
|
|
2651
3463
|
] }),
|
|
2652
|
-
/* @__PURE__ */ (0,
|
|
2653
|
-
/* @__PURE__ */ (0,
|
|
2654
|
-
/* @__PURE__ */ (0,
|
|
3464
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "top-actions", children: [
|
|
3465
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "version", children: "Sia Game \xB7 v0.3" }),
|
|
3466
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(GameButton, { className: "icon-button", "aria-label": "\u8BBE\u7F6E\u4E0E\u5B58\u6863", onClick: command(onAction, "settings"), children: "\u2699" })
|
|
2655
3467
|
] })
|
|
2656
3468
|
] }),
|
|
2657
|
-
/* @__PURE__ */ (0,
|
|
2658
|
-
[["battle", "\u2694", "\u6302\u673A\u5386\u7EC3"], ["maps", "\u25A7", "\u4E16\u754C\u5730\u56FE"], ["gear", "\u25A3", "\u88C5\u5907\u80CC\u5305"], ["pets", "\u2667", "\u4F19\u4F34\u56FE\u9274"]].map(([id, icon, text2]) => /* @__PURE__ */ (0,
|
|
2659
|
-
/* @__PURE__ */ (0,
|
|
3469
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("nav", { className: "navigation", "aria-label": "\u4E3B\u5BFC\u822A", children: [
|
|
3470
|
+
[["battle", "\u2694", "\u6302\u673A\u5386\u7EC3"], ["maps", "\u25A7", "\u4E16\u754C\u5730\u56FE"], ["gear", "\u25A3", "\u88C5\u5907\u80CC\u5305"], ["pets", "\u2667", "\u4F19\u4F34\u56FE\u9274"]].map(([id, icon, text2]) => /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(GameButton, { className: `nav-item ${page === id ? "active" : ""}`, "aria-current": page === id ? "page" : void 0, onClick: command(onAction, "page", id), children: [
|
|
3471
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { "aria-hidden": "true", children: icon }),
|
|
2660
3472
|
d.labels?.[id] || text2,
|
|
2661
|
-
id === "gear" && /* @__PURE__ */ (0,
|
|
3473
|
+
id === "gear" && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "nav-count", children: state.inventory.length })
|
|
2662
3474
|
] }, id)),
|
|
2663
|
-
/* @__PURE__ */ (0,
|
|
3475
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "nav-verse", children: d.subtitle })
|
|
2664
3476
|
] }),
|
|
2665
|
-
/* @__PURE__ */ (0,
|
|
2666
|
-
/* @__PURE__ */ (0,
|
|
2667
|
-
/* @__PURE__ */ (0,
|
|
2668
|
-
/* @__PURE__ */ (0,
|
|
2669
|
-
/* @__PURE__ */ (0,
|
|
2670
|
-
/* @__PURE__ */ (0,
|
|
2671
|
-
/* @__PURE__ */ (0,
|
|
3477
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "workspace", children: [
|
|
3478
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("aside", { className: "character-panel", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(GameCharacterPanel, { ...view }) }),
|
|
3479
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("main", { children }),
|
|
3480
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("aside", { className: "right-panel", children: [
|
|
3481
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(GameBossPanel, { ...view }),
|
|
3482
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(GameLogPanel, { ...view }),
|
|
3483
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "save-state", children: [
|
|
2672
3484
|
"\u672C\u5730\u81EA\u52A8\u5B58\u6863 \xB7 \u79BB\u7EBF\u4E0A\u9650 ",
|
|
2673
3485
|
(d.offlineCapSeconds ?? 43200) / 3600,
|
|
2674
3486
|
" \u5C0F\u65F6"
|
|
2675
3487
|
] })
|
|
2676
3488
|
] })
|
|
2677
3489
|
] }),
|
|
2678
|
-
/* @__PURE__ */ (0,
|
|
3490
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("footer", { children: [
|
|
2679
3491
|
d.title,
|
|
2680
3492
|
" / ",
|
|
2681
3493
|
d.subtitle,
|
|
2682
|
-
/* @__PURE__ */ (0,
|
|
3494
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { children: "\u7531 SiaWebUI Game Framework \u9A71\u52A8" })
|
|
2683
3495
|
] })
|
|
2684
3496
|
] });
|
|
2685
3497
|
}
|
|
2686
3498
|
function GameCharacterPanel({ engine, state: s, onAction }) {
|
|
2687
3499
|
const d = engine.definition, st = engine.stats(s), pet = d.pets.find((p) => p.id === s.pet);
|
|
2688
|
-
return /* @__PURE__ */ (0,
|
|
2689
|
-
/* @__PURE__ */ (0,
|
|
2690
|
-
/* @__PURE__ */ (0,
|
|
2691
|
-
/* @__PURE__ */ (0,
|
|
2692
|
-
/* @__PURE__ */ (0,
|
|
2693
|
-
/* @__PURE__ */ (0,
|
|
2694
|
-
/* @__PURE__ */ (0,
|
|
3500
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_jsx_runtime11.Fragment, { children: [
|
|
3501
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "profile-top", children: [
|
|
3502
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "avatar", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(GameSprite, { asset: d.hero }) }),
|
|
3503
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { children: [
|
|
3504
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "eyebrow", children: d.hero.identity }),
|
|
3505
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("h2", { children: s.name }),
|
|
3506
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("span", { className: "level-tag", children: [
|
|
2695
3507
|
"Lv.",
|
|
2696
3508
|
s.level,
|
|
2697
3509
|
" ",
|
|
2698
|
-
/* @__PURE__ */ (0,
|
|
3510
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { children: "\u4FEE\u884C\u8005" })
|
|
2699
3511
|
] })
|
|
2700
3512
|
] })
|
|
2701
3513
|
] }),
|
|
2702
|
-
/* @__PURE__ */ (0,
|
|
2703
|
-
/* @__PURE__ */ (0,
|
|
2704
|
-
/* @__PURE__ */ (0,
|
|
3514
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "power", children: [
|
|
3515
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { children: "\u7EFC\u5408\u6218\u529B" }),
|
|
3516
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("strong", { children: fmt(st.power) })
|
|
2705
3517
|
] }),
|
|
2706
|
-
/* @__PURE__ */ (0,
|
|
2707
|
-
/* @__PURE__ */ (0,
|
|
2708
|
-
/* @__PURE__ */ (0,
|
|
2709
|
-
/* @__PURE__ */ (0,
|
|
3518
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "experience", children: [
|
|
3519
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { children: [
|
|
3520
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { children: "\u4FEE\u884C\u7ECF\u9A8C" }),
|
|
3521
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("span", { children: [
|
|
2710
3522
|
fmt(s.xp),
|
|
2711
3523
|
" / ",
|
|
2712
3524
|
engine.xpNeeded(s)
|
|
2713
3525
|
] })
|
|
2714
3526
|
] }),
|
|
2715
|
-
/* @__PURE__ */ (0,
|
|
3527
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "progress", role: "progressbar", "aria-label": "\u4FEE\u884C\u7ECF\u9A8C", "aria-valuenow": s.xp, "aria-valuemin": 0, "aria-valuemax": engine.xpNeeded(s), children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("i", { style: { width: `${Math.min(100, s.xp / engine.xpNeeded(s) * 100)}%` } }) })
|
|
2716
3528
|
] }),
|
|
2717
|
-
/* @__PURE__ */ (0,
|
|
2718
|
-
/* @__PURE__ */ (0,
|
|
2719
|
-
/* @__PURE__ */ (0,
|
|
3529
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "attributes", children: [["\u6C14\u8840", st.hp], ["\u653B\u51FB", st.atk], ["\u9632\u5FA1", st.def], ["\u66B4\u51FB", "13%"]].map(([name, value]) => /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { children: [
|
|
3530
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { children: name }),
|
|
3531
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("b", { children: value })
|
|
2720
3532
|
] }, name)) }),
|
|
2721
|
-
/* @__PURE__ */ (0,
|
|
2722
|
-
/* @__PURE__ */ (0,
|
|
2723
|
-
/* @__PURE__ */ (0,
|
|
2724
|
-
/* @__PURE__ */ (0,
|
|
3533
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "line-heading", children: "\u968F\u8EAB\u8D44\u8D22" }),
|
|
3534
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "wallet", children: [["\u94DC\u94B1", s.gold], ["\u7075\u8574", s.essence], ["\u953B\u6750", s.material]].map(([name, value]) => /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { children: [
|
|
3535
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { children: name }),
|
|
3536
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("b", { children: fmt(Number(value)) })
|
|
2725
3537
|
] }, name)) }),
|
|
2726
|
-
/* @__PURE__ */ (0,
|
|
2727
|
-
/* @__PURE__ */ (0,
|
|
2728
|
-
/* @__PURE__ */ (0,
|
|
3538
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "line-heading", children: [
|
|
3539
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { children: "\u8EAB\u4E0A\u88C5\u5907" }),
|
|
3540
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(GameButton, { className: "text-button", onClick: command(onAction, "page", "gear"), children: "\u7BA1\u7406 \u203A" })
|
|
2729
3541
|
] }),
|
|
2730
|
-
/* @__PURE__ */ (0,
|
|
2731
|
-
/* @__PURE__ */ (0,
|
|
2732
|
-
/* @__PURE__ */ (0,
|
|
2733
|
-
/* @__PURE__ */ (0,
|
|
2734
|
-
/* @__PURE__ */ (0,
|
|
3542
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "equipped-list", children: Object.entries(d.slots).map(([key2, slot]) => /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(GameButton, { className: "equipped-item", onClick: command(onAction, "page", "gear"), children: [
|
|
3543
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "slot-symbol", children: "\u25C7" }),
|
|
3544
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("span", { children: [
|
|
3545
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("small", { children: slot.name }),
|
|
3546
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("b", { children: s.equipment[key2]?.name || "\u5C1A\u672A\u88C5\u5907" })
|
|
2735
3547
|
] }),
|
|
2736
|
-
/* @__PURE__ */ (0,
|
|
3548
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("em", { children: s.upgrades[key2] ? `+${s.upgrades[key2]}` : "\u203A" })
|
|
2737
3549
|
] }, key2)) }),
|
|
2738
|
-
/* @__PURE__ */ (0,
|
|
2739
|
-
/* @__PURE__ */ (0,
|
|
2740
|
-
/* @__PURE__ */ (0,
|
|
2741
|
-
/* @__PURE__ */ (0,
|
|
2742
|
-
/* @__PURE__ */ (0,
|
|
3550
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(GameButton, { className: "pet-mini", onClick: command(onAction, "page", "pets"), children: [
|
|
3551
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "pet-mini-art", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(GameSprite, { asset: pet.art }) }),
|
|
3552
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("span", { children: [
|
|
3553
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("small", { children: "\u51FA\u6218\u7075\u5BA0" }),
|
|
3554
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("b", { children: [
|
|
2743
3555
|
pet.name,
|
|
2744
3556
|
" ",
|
|
2745
|
-
/* @__PURE__ */ (0,
|
|
3557
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("em", { children: [
|
|
2746
3558
|
"Lv.",
|
|
2747
3559
|
s.pets[s.pet]
|
|
2748
3560
|
] })
|
|
2749
3561
|
] })
|
|
2750
3562
|
] })
|
|
2751
3563
|
] }),
|
|
2752
|
-
/* @__PURE__ */ (0,
|
|
3564
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "character-bottom", children: s.idle ? "\u25CF \u6B63\u5728\u6302\u673A\u4FEE\u884C" : "\u25CB \u95F2\u5EAD\u4FE1\u6B65 \xB7 \u7B49\u5F85\u5386\u7EC3" })
|
|
2753
3565
|
] });
|
|
2754
3566
|
}
|
|
2755
3567
|
function GameBattleStage({ engine, state: s, onAction, event, sequence = 0 }) {
|
|
2756
3568
|
const d = engine.definition, m = d.maps[s.map];
|
|
2757
|
-
return /* @__PURE__ */ (0,
|
|
2758
|
-
/* @__PURE__ */ (0,
|
|
2759
|
-
/* @__PURE__ */ (0,
|
|
2760
|
-
/* @__PURE__ */ (0,
|
|
2761
|
-
/* @__PURE__ */ (0,
|
|
3569
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_jsx_runtime11.Fragment, { children: [
|
|
3570
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Title, { kicker: `\u897F\u884C\u5386\u7EC3 / \u7B2C ${s.map + 1} \u7AE0`, title: m.name, children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(GameButton, { className: "subtle-button", onClick: command(onAction, "loadout"), children: "\u914D\u7F6E\u6218\u6597" }) }),
|
|
3571
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(GameHexBattlefield, { engine, state: s, onAction, event, sequence }),
|
|
3572
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "battle-controls", children: [
|
|
3573
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "status-label", children: [
|
|
2762
3574
|
busy(s) ? "\u9996\u9886\u6311\u6218 \xB7 \u81EA\u52A8\u8FCE\u6218" : s.idle ? "\u516D\u65B9\u6765\u654C\uFF0C\u81EA\u52A8\u4FEE\u884C" : "\u6574\u5907\u68CB\u9635\uFF0C\u9759\u5019\u51FA\u53D1",
|
|
2763
|
-
/* @__PURE__ */ (0,
|
|
3575
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("small", { children: "\u9010\u683C\u79FB\u52A8 \xB7 \u6309\u914D\u7F6E\u65BD\u6CD5 \xB7 \u81EA\u52A8\u62FE\u53D6" })
|
|
2764
3576
|
] }),
|
|
2765
|
-
/* @__PURE__ */ (0,
|
|
3577
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(GameButton, { className: "primary-button", disabled: busy(s), onClick: command(onAction, "idle"), children: s.idle ? "\u6682\u505C\u6302\u673A" : "\u5F00\u59CB\u6302\u673A" })
|
|
2766
3578
|
] }),
|
|
2767
|
-
/* @__PURE__ */ (0,
|
|
2768
|
-
/* @__PURE__ */ (0,
|
|
3579
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "hex-build-bar", children: [["attack", "\u653B\u51FB"], ["skill", "\u6280\u80FD"], ["power", "\u795E\u901A"], ["treasure", "\u6CD5\u5B9D"]].map(([kind, label]) => /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("span", { children: [
|
|
3580
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("b", { children: label }),
|
|
2769
3581
|
gameAbilities(d).find((a) => a.id === s.loadout[kind])?.name
|
|
2770
3582
|
] }, kind)) }),
|
|
2771
|
-
/* @__PURE__ */ (0,
|
|
2772
|
-
/* @__PURE__ */ (0,
|
|
2773
|
-
/* @__PURE__ */ (0,
|
|
2774
|
-
/* @__PURE__ */ (0,
|
|
3583
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(GameResourceSummary, { state: s }),
|
|
3584
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "tip", children: [
|
|
3585
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("p", { children: "\u5C0F\u5996\u4ECE\u8FB9\u7F18\u683C\u9760\u8FD1\uFF0C\u8FDB\u5165\u90BB\u683C\u624D\u653B\u51FB\u3002\u9996\u9886\u73B0\u8EAB\u4F1A\u6E05\u9000\u6240\u6709\u5C0F\u5996\u3002" }),
|
|
3586
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(GameButton, { className: "text-button", disabled: busy(s), onClick: command(onAction, "page", "maps"), children: "\u5207\u6362\u5730\u56FE \u203A" })
|
|
2775
3587
|
] })
|
|
2776
3588
|
] });
|
|
2777
3589
|
}
|
|
2778
3590
|
function GameResourceSummary({ state: s }) {
|
|
2779
|
-
return /* @__PURE__ */ (0,
|
|
2780
|
-
/* @__PURE__ */ (0,
|
|
2781
|
-
/* @__PURE__ */ (0,
|
|
2782
|
-
/* @__PURE__ */ (0,
|
|
3591
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("section", { className: "income", children: [
|
|
3592
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "panel-heading", children: [
|
|
3593
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("h3", { children: "\u4FEE\u884C\u7D2F\u8BA1\u6240\u5F97" }),
|
|
3594
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("span", { children: [
|
|
2783
3595
|
"\u7D2F\u8BA1\u51FB\u8D25 ",
|
|
2784
3596
|
fmt(s.kills),
|
|
2785
3597
|
" \u4E2A\u654C\u4EBA"
|
|
2786
3598
|
] })
|
|
2787
3599
|
] }),
|
|
2788
|
-
/* @__PURE__ */ (0,
|
|
2789
|
-
/* @__PURE__ */ (0,
|
|
2790
|
-
/* @__PURE__ */ (0,
|
|
3600
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "income-grid", children: [["\u7ECF\u9A8C", s.sessionXp], ["\u94DC\u94B1", s.sessionGold], ["\u88C5\u5907", s.sessionDrops]].map(([label, value]) => /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { children: [
|
|
3601
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { children: label }),
|
|
3602
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("b", { children: [
|
|
2791
3603
|
fmt(Number(value)),
|
|
2792
3604
|
label === "\u88C5\u5907" ? " \u4EF6" : ""
|
|
2793
3605
|
] })
|
|
@@ -2796,10 +3608,10 @@ function GameResourceSummary({ state: s }) {
|
|
|
2796
3608
|
}
|
|
2797
3609
|
function GameBossPanel({ engine, state: s, onAction }) {
|
|
2798
3610
|
const d = engine.definition, m = d.maps[s.map], cleared = s.cleared.includes(s.map);
|
|
2799
|
-
return /* @__PURE__ */ (0,
|
|
2800
|
-
/* @__PURE__ */ (0,
|
|
2801
|
-
/* @__PURE__ */ (0,
|
|
2802
|
-
/* @__PURE__ */ (0,
|
|
3611
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("section", { id: "quest", children: [
|
|
3612
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "panel-heading", children: [
|
|
3613
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("h3", { children: "\u2694 \u7AE0\u8282\u5996\u738B" }),
|
|
3614
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("span", { children: [
|
|
2803
3615
|
"\u7B2C ",
|
|
2804
3616
|
s.map + 1,
|
|
2805
3617
|
" / ",
|
|
@@ -2807,58 +3619,58 @@ function GameBossPanel({ engine, state: s, onAction }) {
|
|
|
2807
3619
|
" \u7AE0"
|
|
2808
3620
|
] })
|
|
2809
3621
|
] }),
|
|
2810
|
-
/* @__PURE__ */ (0,
|
|
2811
|
-
/* @__PURE__ */ (0,
|
|
2812
|
-
/* @__PURE__ */ (0,
|
|
3622
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "boss-portrait", children: [
|
|
3623
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(GameSprite, { asset: m.bossArt }),
|
|
3624
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "boss-seal", children: cleared ? "\u5DF2\u7834" : "\u5996\u738B" })
|
|
2813
3625
|
] }),
|
|
2814
|
-
/* @__PURE__ */ (0,
|
|
2815
|
-
/* @__PURE__ */ (0,
|
|
2816
|
-
/* @__PURE__ */ (0,
|
|
3626
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "boss-title", children: [
|
|
3627
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("h2", { children: m.boss }),
|
|
3628
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { children: m.bossArt.identity })
|
|
2817
3629
|
] }),
|
|
2818
|
-
/* @__PURE__ */ (0,
|
|
2819
|
-
/* @__PURE__ */ (0,
|
|
2820
|
-
/* @__PURE__ */ (0,
|
|
3630
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("p", { className: "identity-traits", children: m.bossArt.traits }),
|
|
3631
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "boss-stats", children: [
|
|
3632
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("span", { children: [
|
|
2821
3633
|
"\u6C14\u8840 ",
|
|
2822
3634
|
fmt(m.bossHp)
|
|
2823
3635
|
] }),
|
|
2824
|
-
/* @__PURE__ */ (0,
|
|
3636
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("span", { children: [
|
|
2825
3637
|
"\u653B\u51FB ",
|
|
2826
3638
|
m.bossAtk
|
|
2827
3639
|
] })
|
|
2828
3640
|
] }),
|
|
2829
|
-
/* @__PURE__ */ (0,
|
|
2830
|
-
/* @__PURE__ */ (0,
|
|
2831
|
-
/* @__PURE__ */ (0,
|
|
3641
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "boss-reward", children: [
|
|
3642
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("small", { children: cleared ? "\u518D\u6B21\u6311\u6218\u5956\u52B1" : "\u9996\u6B21\u51FB\u8D25\u5956\u52B1" }),
|
|
3643
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { children: cleared ? "\u94DC\u94B1\u3001\u7ECF\u9A8C\u3001\u7075\u8574" : d.slots[m.rewardSlot].names[1] + " \xB7 \u7075\u8574 \xD750" })
|
|
2832
3644
|
] }),
|
|
2833
|
-
/* @__PURE__ */ (0,
|
|
2834
|
-
/* @__PURE__ */ (0,
|
|
3645
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(GameButton, { className: "boss-button", disabled: busy(s), onClick: command(onAction, "boss"), children: busy(s) ? "\u6B63\u5728\u6311\u6218\u2026" : cleared ? "\u518D\u6B21\u6311\u6218" : "\u6311\u6218\u5996\u738B" }),
|
|
3646
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("p", { className: "boss-hint", children: s.map < d.maps.length - 1 ? `\u9996\u6B21\u51FB\u8D25\uFF0C\u89E3\u9501\u300C${d.maps[s.map + 1].name}\u300D` : "\u5B8C\u6210\u6311\u6218\uFF0C\u901A\u5173\u5168\u90E8\u7AE0\u8282\u8BD5\u70BC" })
|
|
2835
3647
|
] });
|
|
2836
3648
|
}
|
|
2837
3649
|
function GameLogPanel({ state: s }) {
|
|
2838
|
-
return /* @__PURE__ */ (0,
|
|
2839
|
-
/* @__PURE__ */ (0,
|
|
2840
|
-
/* @__PURE__ */ (0,
|
|
2841
|
-
/* @__PURE__ */ (0,
|
|
3650
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("section", { className: "journal", children: [
|
|
3651
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "panel-heading", children: [
|
|
3652
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("h3", { children: "\u25A4 \u4E09\u754C\u89C1\u95FB" }),
|
|
3653
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { children: "\u5B9E\u65F6\u6218\u62A5" })
|
|
2842
3654
|
] }),
|
|
2843
|
-
/* @__PURE__ */ (0,
|
|
2844
|
-
/* @__PURE__ */ (0,
|
|
2845
|
-
/* @__PURE__ */ (0,
|
|
3655
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { id: "logs", role: "log", "aria-label": "\u6218\u6597\u8BB0\u5F55", children: s.logs.map((log, i) => /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: `log-line ${log.type}`, children: [
|
|
3656
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("time", { children: new Date(log.time).toLocaleTimeString("zh-CN", { hour: "2-digit", minute: "2-digit" }) }),
|
|
3657
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { children: log.text })
|
|
2846
3658
|
] }, `${log.time}-${i}`)) })
|
|
2847
3659
|
] });
|
|
2848
3660
|
}
|
|
2849
3661
|
function GameMapPanel({ engine, state: s, onAction }) {
|
|
2850
3662
|
const d = engine.definition;
|
|
2851
|
-
return /* @__PURE__ */ (0,
|
|
2852
|
-
/* @__PURE__ */ (0,
|
|
2853
|
-
/* @__PURE__ */ (0,
|
|
2854
|
-
/* @__PURE__ */ (0,
|
|
2855
|
-
/* @__PURE__ */ (0,
|
|
2856
|
-
/* @__PURE__ */ (0,
|
|
2857
|
-
/* @__PURE__ */ (0,
|
|
2858
|
-
/* @__PURE__ */ (0,
|
|
2859
|
-
/* @__PURE__ */ (0,
|
|
2860
|
-
/* @__PURE__ */ (0,
|
|
2861
|
-
/* @__PURE__ */ (0,
|
|
3663
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_jsx_runtime11.Fragment, { children: [
|
|
3664
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Title, { kicker: "\u4E09\u754C\u8206\u56FE / \u897F\u884C\u4E4B\u8DEF", title: d.labels?.mapsTitle || "\u63A2\u7D22\u65B0\u7684\u65C5\u7A0B" }),
|
|
3665
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("p", { className: "view-description", children: "\u8E0F\u8FC7\u4E00\u91CD\u5C71\uFF0C\u518D\u8D74\u4E0B\u4E00\u7A0B\u3002\u51FB\u8D25\u7AE0\u8282\u5996\u738B\uFF0C\u5373\u53EF\u5F00\u542F\u65B0\u7684\u5386\u7EC3\u3002" }),
|
|
3666
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "map-list", children: d.maps.map((m, i) => /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(GameButton, { className: `map-card ${s.map === i ? "current" : ""}`, disabled: i > s.unlocked || busy(s), onClick: command(onAction, "map", String(i)), children: [
|
|
3667
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "map-art", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("img", { className: "landscape", src: m.scene, alt: "" }) }),
|
|
3668
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "map-number", children: String(i + 1).padStart(2, "0") }),
|
|
3669
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "map-content", children: [
|
|
3670
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "eyebrow", children: m.subtitle }),
|
|
3671
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("h2", { children: m.name }),
|
|
3672
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("p", { children: m.desc }),
|
|
3673
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "map-meta", children: [
|
|
2862
3674
|
"\u5EFA\u8BAE\u7B49\u7EA7 ",
|
|
2863
3675
|
m.level,
|
|
2864
3676
|
" \xB7 \u51FB\u8D25\u5956\u52B1 ",
|
|
@@ -2868,9 +3680,9 @@ function GameMapPanel({ engine, state: s, onAction }) {
|
|
|
2868
3680
|
" \u94DC\u94B1"
|
|
2869
3681
|
] })
|
|
2870
3682
|
] }),
|
|
2871
|
-
/* @__PURE__ */ (0,
|
|
3683
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "map-state", children: i > s.unlocked ? "\u51FB\u8D25\u4E0A\u4E00\u7AE0\u5996\u738B\u89E3\u9501" : s.map === i ? "\u5F53\u524D\u5386\u7EC3" : "\u524D\u5F80\u5386\u7EC3" })
|
|
2872
3684
|
] }, m.id)) }),
|
|
2873
|
-
/* @__PURE__ */ (0,
|
|
3685
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "tip", children: [
|
|
2874
3686
|
"\u5F53\u524D\u5DF2\u89E3\u9501 ",
|
|
2875
3687
|
s.unlocked + 1,
|
|
2876
3688
|
" / ",
|
|
@@ -2881,192 +3693,192 @@ function GameMapPanel({ engine, state: s, onAction }) {
|
|
|
2881
3693
|
}
|
|
2882
3694
|
function GamePetPanel({ engine, state: s, onAction }) {
|
|
2883
3695
|
const d = engine.definition;
|
|
2884
|
-
return /* @__PURE__ */ (0,
|
|
2885
|
-
/* @__PURE__ */ (0,
|
|
3696
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_jsx_runtime11.Fragment, { children: [
|
|
3697
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Title, { kicker: "\u7075\u5BA0\u6D1E\u5929 / \u6709\u7075\u76F8\u4F34", title: d.labels?.petsTitle || "\u4F19\u4F34\u540C\u884C", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("span", { className: "capacity", children: [
|
|
2886
3698
|
"\u7075\u8574 ",
|
|
2887
3699
|
fmt(s.essence)
|
|
2888
3700
|
] }) }),
|
|
2889
|
-
/* @__PURE__ */ (0,
|
|
2890
|
-
/* @__PURE__ */ (0,
|
|
2891
|
-
/* @__PURE__ */ (0,
|
|
2892
|
-
/* @__PURE__ */ (0,
|
|
2893
|
-
/* @__PURE__ */ (0,
|
|
3701
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("p", { className: "view-description", children: "\u7075\u5BA0\u968F\u4F60\u81EA\u52A8\u51FA\u6218\u3002\u4E0D\u540C\u7684\u4F19\u4F34\uFF0C\u8BA9\u6BCF\u4E00\u6BB5\u4FEE\u884C\u5404\u6709\u7AE0\u6CD5\u3002" }),
|
|
3702
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "pet-cards", children: d.pets.map((p) => /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("article", { className: `pet-card ${s.pet === p.id ? "selected" : ""}`, children: [
|
|
3703
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "pet-card-head", children: [
|
|
3704
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "pet-kind", children: p.kind }),
|
|
3705
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { children: s.pets[p.id] ? `Lv.${s.pets[p.id]}` : "\u5C1A\u672A\u7ED3\u7F18" })
|
|
2894
3706
|
] }),
|
|
2895
|
-
/* @__PURE__ */ (0,
|
|
2896
|
-
/* @__PURE__ */ (0,
|
|
2897
|
-
/* @__PURE__ */ (0,
|
|
2898
|
-
/* @__PURE__ */ (0,
|
|
2899
|
-
/* @__PURE__ */ (0,
|
|
3707
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "pet-art", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(GameSprite, { asset: p.art }) }),
|
|
3708
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("h2", { children: p.name }),
|
|
3709
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("p", { className: "identity-traits", children: p.art.traits }),
|
|
3710
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("p", { children: p.desc }),
|
|
3711
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "pet-stat", children: [
|
|
2900
3712
|
p.effect === "heal" ? "\u6BCF\u56DE\u5408\u6CBB\u7597" : p.effect === "guard" ? "\u53D7\u5230\u4F24\u5BB3\u964D\u4F4E" : "\u8FFD\u51FB\u4F24\u5BB3",
|
|
2901
3713
|
" ",
|
|
2902
|
-
/* @__PURE__ */ (0,
|
|
3714
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("b", { children: p.effect === "guard" ? "25%" : p.effect === "heal" ? 7 + (s.pets[p.id] || 1) * 3 : p.base + ((s.pets[p.id] || 1) - 1) * 3 })
|
|
2903
3715
|
] }),
|
|
2904
|
-
s.pets[p.id] ? /* @__PURE__ */ (0,
|
|
2905
|
-
/* @__PURE__ */ (0,
|
|
2906
|
-
/* @__PURE__ */ (0,
|
|
2907
|
-
] }) : /* @__PURE__ */ (0,
|
|
3716
|
+
s.pets[p.id] ? /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_jsx_runtime11.Fragment, { children: [
|
|
3717
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(GameButton, { className: "subtle-button", disabled: busy(s) || s.pet === p.id, onClick: command(onAction, "deploy", p.id), children: s.pet === p.id ? "\u6B63\u5728\u51FA\u6218" : "\u8BBE\u4E3A\u51FA\u6218" }),
|
|
3718
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(GameButton, { className: "primary-button", disabled: busy(s) || s.pets[p.id] >= 20 || s.essence < s.pets[p.id] * 15, onClick: command(onAction, "train", p.id), children: s.pets[p.id] >= 20 ? "\u5DF2\u8FBE\u6700\u9AD8\u7B49\u7EA7" : `\u57F9\u517B \xB7 ${s.pets[p.id] * 15} \u7075\u8574` })
|
|
3719
|
+
] }) : /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(GameButton, { className: "primary-button", disabled: busy(s) || s.essence < p.cost, onClick: command(onAction, "unlock", p.id), children: [
|
|
2908
3720
|
"\u7ED3\u7F18 \xB7 ",
|
|
2909
3721
|
p.cost,
|
|
2910
3722
|
" \u7075\u8574"
|
|
2911
3723
|
] })
|
|
2912
3724
|
] }, p.id)) }),
|
|
2913
|
-
/* @__PURE__ */ (0,
|
|
3725
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "tip", children: "\u666E\u901A\u6218\u6597\u83B7\u5F97 2 \u7075\u8574\uFF0C\u9996\u9886\u9996\u901A\u83B7\u5F97 50 \u7075\u8574\u3002\u57F9\u517B\u63D0\u5347\u8FFD\u51FB\u4F24\u5BB3\u3002" })
|
|
2914
3726
|
] });
|
|
2915
3727
|
}
|
|
2916
3728
|
function GameEquipmentPanel({ engine, state: s, onAction }) {
|
|
2917
|
-
const [filter, setFilter] = (0,
|
|
3729
|
+
const [filter, setFilter] = (0, import_react13.useState)("all");
|
|
2918
3730
|
const d = engine.definition;
|
|
2919
3731
|
const inventory = s.inventory.filter((item) => filter === "all" || item.slot === filter);
|
|
2920
|
-
return /* @__PURE__ */ (0,
|
|
2921
|
-
/* @__PURE__ */ (0,
|
|
3732
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_jsx_runtime11.Fragment, { children: [
|
|
3733
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Title, { kicker: "\u884C\u56CA\u88C5\u5907 / \u767E\u70BC\u6210\u5668", title: d.labels?.gearTitle || "\u6574\u7406\u88C5\u5907\uFF0C\u63D0\u5347\u5B9E\u529B", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("span", { className: "capacity", children: [
|
|
2922
3734
|
"\u884C\u56CA ",
|
|
2923
3735
|
s.inventory.length,
|
|
2924
3736
|
" / 80"
|
|
2925
3737
|
] }) }),
|
|
2926
|
-
/* @__PURE__ */ (0,
|
|
2927
|
-
/* @__PURE__ */ (0,
|
|
2928
|
-
/* @__PURE__ */ (0,
|
|
3738
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "gear-slots", children: Object.entries(d.slots).map(([key2, slot]) => /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("section", { className: "gear-slot", children: [
|
|
3739
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "gear-info", children: [
|
|
3740
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("span", { className: "eyebrow", children: [
|
|
2929
3741
|
slot.name,
|
|
2930
3742
|
" \xB7 \u5F3A\u5316 +",
|
|
2931
3743
|
s.upgrades[key2]
|
|
2932
3744
|
] }),
|
|
2933
|
-
/* @__PURE__ */ (0,
|
|
2934
|
-
s.equipment[key2] && /* @__PURE__ */ (0,
|
|
3745
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("h3", { children: s.equipment[key2]?.name || "\u5C1A\u672A\u88C5\u5907" }),
|
|
3746
|
+
s.equipment[key2] && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(ItemStats, { item: s.equipment[key2] })
|
|
2935
3747
|
] }),
|
|
2936
|
-
/* @__PURE__ */ (0,
|
|
3748
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(GameButton, { className: "small-button", disabled: busy(s) || !s.equipment[key2] || s.upgrades[key2] >= 10 || s.gold < engine.upgradeCost(s, key2), onClick: command(onAction, "upgrade", key2), children: s.upgrades[key2] >= 10 ? "\u5DF2\u5F3A\u5316\u81F3\u4E0A\u9650" : `\u5F3A\u5316 \xB7 ${engine.upgradeCost(s, key2)} \u94DC\u94B1` })
|
|
2937
3749
|
] }, key2)) }),
|
|
2938
|
-
/* @__PURE__ */ (0,
|
|
2939
|
-
/* @__PURE__ */ (0,
|
|
2940
|
-
/* @__PURE__ */ (0,
|
|
3750
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "inventory-toolbar", children: [
|
|
3751
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "filters", children: [["all", "\u5168\u90E8"], ...Object.entries(d.slots).map(([key2, slot]) => [key2, slot.name])].map(([key2, name]) => /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(GameButton, { className: `filter ${filter === key2 ? "active" : ""}`, "aria-pressed": filter === key2, onClick: () => setFilter(key2), children: name }, key2)) }),
|
|
3752
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("span", { children: [
|
|
2941
3753
|
"\u953B\u6750 ",
|
|
2942
3754
|
s.material
|
|
2943
3755
|
] }),
|
|
2944
|
-
/* @__PURE__ */ (0,
|
|
3756
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(GameButton, { className: "subtle-button", disabled: busy(s) || s.material < 12, onClick: command(onAction, "forge"), children: "\u953B\u9020\u4E0A\u54C1 \xB7 12 \u953B\u6750" })
|
|
2945
3757
|
] }),
|
|
2946
|
-
/* @__PURE__ */ (0,
|
|
2947
|
-
/* @__PURE__ */ (0,
|
|
2948
|
-
/* @__PURE__ */ (0,
|
|
2949
|
-
/* @__PURE__ */ (0,
|
|
3758
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "inventory-list", children: inventory.length ? inventory.map((item) => /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("article", { className: "item-row", children: [
|
|
3759
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: `item-icon rarity-${item.tier}`, children: "\u25C7" }),
|
|
3760
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "item-detail", children: [
|
|
3761
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("strong", { children: [
|
|
2950
3762
|
item.name,
|
|
2951
3763
|
" ",
|
|
2952
|
-
/* @__PURE__ */ (0,
|
|
3764
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("small", { children: [
|
|
2953
3765
|
d.rarities[item.tier],
|
|
2954
3766
|
" \xB7 ",
|
|
2955
3767
|
d.slots[item.slot].name
|
|
2956
3768
|
] })
|
|
2957
3769
|
] }),
|
|
2958
|
-
/* @__PURE__ */ (0,
|
|
3770
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(ItemStats, { item })
|
|
2959
3771
|
] }),
|
|
2960
|
-
/* @__PURE__ */ (0,
|
|
2961
|
-
/* @__PURE__ */ (0,
|
|
2962
|
-
/* @__PURE__ */ (0,
|
|
2963
|
-
/* @__PURE__ */ (0,
|
|
2964
|
-
] }, item.id)) : /* @__PURE__ */ (0,
|
|
2965
|
-
/* @__PURE__ */ (0,
|
|
2966
|
-
/* @__PURE__ */ (0,
|
|
2967
|
-
/* @__PURE__ */ (0,
|
|
3772
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(GameButton, { className: "small-button", onClick: command(onAction, "inspect", item.id), children: "\u5BF9\u6BD4" }),
|
|
3773
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(GameButton, { className: "small-button jade-button", disabled: busy(s), onClick: command(onAction, "equip", item.id), children: "\u88C5\u5907" }),
|
|
3774
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(GameButton, { className: "text-button", disabled: busy(s), onClick: command(onAction, "lock", item.id), children: item.locked ? "\u89E3\u9501" : "\u9501\u5B9A" }),
|
|
3775
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(GameButton, { className: "text-button", disabled: busy(s) || item.locked, onClick: command(onAction, "dismantle", item.id), children: "\u5206\u89E3" })
|
|
3776
|
+
] }, item.id)) : /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "empty-state", children: [
|
|
3777
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("h3", { children: "\u884C\u56CA\u5C1A\u6709\u4F59\u5730" }),
|
|
3778
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("p", { children: "\u6302\u673A\u51FB\u8D25\u5996\u602A\uFF0C\u6709\u673A\u4F1A\u62FE\u5F97\u88C5\u5907\u3002" }),
|
|
3779
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(GameButton, { className: "subtle-button", onClick: command(onAction, "page", "battle"), children: "\u524D\u5F80\u5386\u7EC3" })
|
|
2968
3780
|
] }) }),
|
|
2969
|
-
/* @__PURE__ */ (0,
|
|
3781
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "tip", children: "\u5F3A\u5316\u968F\u90E8\u4F4D\u7EE7\u627F\u3002\u80CC\u5305\u6EE1\u540E\uFF0C\u65B0\u6389\u843D\u8F6C\u4E3A\u953B\u6750\uFF1B\u9501\u5B9A\u88C5\u5907\u4E0D\u80FD\u5206\u89E3\u3002" })
|
|
2970
3782
|
] });
|
|
2971
3783
|
}
|
|
2972
3784
|
function GameSavePanel({ onExport, onImport }) {
|
|
2973
|
-
const input = (0,
|
|
2974
|
-
return /* @__PURE__ */ (0,
|
|
2975
|
-
/* @__PURE__ */ (0,
|
|
2976
|
-
/* @__PURE__ */ (0,
|
|
2977
|
-
/* @__PURE__ */ (0,
|
|
2978
|
-
/* @__PURE__ */ (0,
|
|
2979
|
-
/* @__PURE__ */ (0,
|
|
3785
|
+
const input = (0, import_react13.useRef)(null);
|
|
3786
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "help-content", children: [
|
|
3787
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("p", { children: "\u8FDB\u5EA6\u81EA\u52A8\u4FDD\u5B58\u5728\u5F53\u524D\u6D4F\u89C8\u5668\u3002\u5BFC\u5165\u901A\u8FC7\u6821\u9A8C\u540E\uFF0C\u9700\u8981\u518D\u6B21\u786E\u8BA4\u624D\u80FD\u66FF\u6362\u5F53\u524D\u8FDB\u5EA6\u3002" }),
|
|
3788
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "settings-actions", children: [
|
|
3789
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(GameButton, { className: "subtle-button", onClick: onExport, children: "\u5BFC\u51FA\u5B58\u6863" }),
|
|
3790
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(GameButton, { className: "subtle-button", onClick: () => input.current?.click(), children: "\u5BFC\u5165\u5B58\u6863" }),
|
|
3791
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("input", { ref: input, type: "file", accept: ".json,application/json", hidden: true, onChange: (e) => {
|
|
2980
3792
|
const file = e.target.files?.[0];
|
|
2981
3793
|
e.target.value = "";
|
|
2982
3794
|
if (file)
|
|
2983
3795
|
void onImport(file);
|
|
2984
3796
|
} })
|
|
2985
3797
|
] }),
|
|
2986
|
-
/* @__PURE__ */ (0,
|
|
3798
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("p", { children: "\u5B58\u6863\u4FDD\u5B58\u5728\u672C\u673A\uFF0C\u4E0D\u5305\u542B\u8D26\u53F7\u540C\u6B65\u548C\u591A\u4EBA\u8054\u7F51\u3002" })
|
|
2987
3799
|
] });
|
|
2988
3800
|
}
|
|
2989
3801
|
function GameDialog({ open, title, children, onClose, container }) {
|
|
2990
|
-
return /* @__PURE__ */ (0,
|
|
3802
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Modal2, { open, title, footer: null, centered: true, className: "sia-game-dialog", onCancel: onClose, getContainer: container, children });
|
|
2991
3803
|
}
|
|
2992
3804
|
function GameEquipmentComparison({ engine, state: s, onAction, itemId }) {
|
|
2993
3805
|
const item = s.inventory.find((i) => i.id === itemId);
|
|
2994
3806
|
if (!item)
|
|
2995
|
-
return /* @__PURE__ */ (0,
|
|
3807
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("p", { children: "\u7269\u54C1\u5DF2\u4E0D\u5728\u80CC\u5305\u4E2D\u3002" });
|
|
2996
3808
|
const old = s.equipment[item.slot];
|
|
2997
|
-
return /* @__PURE__ */ (0,
|
|
2998
|
-
/* @__PURE__ */ (0,
|
|
2999
|
-
/* @__PURE__ */ (0,
|
|
3000
|
-
/* @__PURE__ */ (0,
|
|
3001
|
-
/* @__PURE__ */ (0,
|
|
3002
|
-
old && /* @__PURE__ */ (0,
|
|
3809
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_jsx_runtime11.Fragment, { children: [
|
|
3810
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "compare", children: [
|
|
3811
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("section", { children: [
|
|
3812
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "eyebrow", children: "\u5F53\u524D\u88C5\u5907" }),
|
|
3813
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("h3", { children: old?.name || "\u672A\u88C5\u5907" }),
|
|
3814
|
+
old && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(ItemStats, { item: old })
|
|
3003
3815
|
] }),
|
|
3004
|
-
/* @__PURE__ */ (0,
|
|
3005
|
-
/* @__PURE__ */ (0,
|
|
3816
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("section", { children: [
|
|
3817
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("span", { className: "eyebrow", children: [
|
|
3006
3818
|
"\u5F85\u88C5\u5907 \xB7 ",
|
|
3007
3819
|
engine.definition.rarities[item.tier]
|
|
3008
3820
|
] }),
|
|
3009
|
-
/* @__PURE__ */ (0,
|
|
3010
|
-
/* @__PURE__ */ (0,
|
|
3821
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("h3", { children: item.name }),
|
|
3822
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(ItemStats, { item })
|
|
3011
3823
|
] })
|
|
3012
3824
|
] }),
|
|
3013
|
-
/* @__PURE__ */ (0,
|
|
3825
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("p", { children: [
|
|
3014
3826
|
"\u540C\u90E8\u4F4D\u5F3A\u5316 +",
|
|
3015
3827
|
s.upgrades[item.slot],
|
|
3016
3828
|
" \u5B8C\u6574\u7EE7\u627F\u3002"
|
|
3017
3829
|
] }),
|
|
3018
|
-
/* @__PURE__ */ (0,
|
|
3830
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "compare-delta", children: ["atk", "def", "hp"].map((key2, i) => {
|
|
3019
3831
|
const delta = item[key2] - (old?.[key2] || 0);
|
|
3020
|
-
return /* @__PURE__ */ (0,
|
|
3832
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("span", { className: delta >= 0 ? "jade" : "red-text", children: [
|
|
3021
3833
|
["\u653B\u51FB", "\u9632\u5FA1", "\u6C14\u8840"][i],
|
|
3022
3834
|
" ",
|
|
3023
3835
|
delta >= 0 ? "+" : "",
|
|
3024
3836
|
delta
|
|
3025
3837
|
] }, key2);
|
|
3026
3838
|
}) }),
|
|
3027
|
-
/* @__PURE__ */ (0,
|
|
3839
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(GameButton, { className: "primary-button full", disabled: busy(s), onClick: command(onAction, "equip", item.id), children: "\u88C5\u5907" })
|
|
3028
3840
|
] });
|
|
3029
3841
|
}
|
|
3030
3842
|
|
|
3031
3843
|
// src/game/IdleGameApp.tsx
|
|
3032
|
-
var
|
|
3844
|
+
var import_react14 = require("react");
|
|
3033
3845
|
|
|
3034
3846
|
// src/game/LoadoutPanel.tsx
|
|
3035
|
-
var
|
|
3847
|
+
var import_jsx_runtime12 = require("react/jsx-runtime");
|
|
3036
3848
|
function GameLoadoutPanel({ engine, state, onAction }) {
|
|
3037
3849
|
const groups = [["attack", "\u653B\u51FB"], ["skill", "\u6280\u80FD"], ["power", "\u795E\u901A"], ["treasure", "\u6CD5\u5B9D"]];
|
|
3038
3850
|
const locked = Boolean(state.fight?.boss && state.fight.status === "active");
|
|
3039
|
-
return /* @__PURE__ */ (0,
|
|
3040
|
-
/* @__PURE__ */ (0,
|
|
3041
|
-
groups.map(([kind, label]) => /* @__PURE__ */ (0,
|
|
3042
|
-
/* @__PURE__ */ (0,
|
|
3043
|
-
/* @__PURE__ */ (0,
|
|
3044
|
-
/* @__PURE__ */ (0,
|
|
3045
|
-
/* @__PURE__ */ (0,
|
|
3046
|
-
/* @__PURE__ */ (0,
|
|
3851
|
+
return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "hex-loadout", children: [
|
|
3852
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("p", { children: "\u81EA\u52A8\u5BFB\u654C\u3001\u9010\u683C\u79FB\u52A8\u3002\u653B\u51FB\u6BCF\u56DE\u5408\u65BD\u653E\uFF1B\u6280\u80FD\u4E0E\u6CD5\u5B9D\u540C\u56DE\u5408\u53EF\u7528\u65F6\uFF0C\u4F18\u5148\u4F7F\u7528\u6CD5\u5B9D\uFF1B\u795E\u901A\u72EC\u7ACB\u751F\u6548\u3002\u66F4\u6362\u914D\u7F6E\u540E\u4ECE\u65B0\u4E00\u6CE2\u5F00\u59CB\u3002" }),
|
|
3853
|
+
groups.map(([kind, label]) => /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("section", { children: [
|
|
3854
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("h3", { children: label }),
|
|
3855
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "hex-ability-options", children: gameAbilities(engine.definition).filter((a) => a.kind === kind).map((a) => /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(GameButton, { className: `hex-ability ${state.loadout[kind] === a.id ? "selected" : ""}`, "aria-pressed": state.loadout[kind] === a.id, disabled: locked, onClick: () => onAction({ type: "configure", id: a.id }), children: [
|
|
3856
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("strong", { children: a.name }),
|
|
3857
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("small", { children: a.kind === "attack" ? `\u5C04\u7A0B ${a.range} \u683C` : `\u6BCF ${a.cooldown} \u56DE\u5408` }),
|
|
3858
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { children: a.description })
|
|
3047
3859
|
] }, a.id)) })
|
|
3048
3860
|
] }, kind)),
|
|
3049
|
-
locked && /* @__PURE__ */ (0,
|
|
3861
|
+
locked && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("p", { children: "\u9996\u9886\u6311\u6218\u671F\u95F4\u4E0D\u80FD\u66F4\u6362\u914D\u7F6E\uFF0C\u7ED3\u675F\u540E\u53EF\u8C03\u6574\u3002" })
|
|
3050
3862
|
] });
|
|
3051
3863
|
}
|
|
3052
3864
|
|
|
3053
3865
|
// src/game/IdleGameApp.tsx
|
|
3054
|
-
var
|
|
3866
|
+
var import_jsx_runtime13 = require("react/jsx-runtime");
|
|
3055
3867
|
function IdleGameApp({ definition, className = "", style, onStateChange }) {
|
|
3056
|
-
const engineRef = (0,
|
|
3868
|
+
const engineRef = (0, import_react14.useRef)();
|
|
3057
3869
|
if (!engineRef.current)
|
|
3058
3870
|
engineRef.current = createIdleEngine(definition);
|
|
3059
3871
|
const engine = engineRef.current;
|
|
3060
|
-
const stateRef = (0,
|
|
3872
|
+
const stateRef = (0, import_react14.useRef)();
|
|
3061
3873
|
if (!stateRef.current)
|
|
3062
3874
|
stateRef.current = engine.freshState();
|
|
3063
3875
|
const s = stateRef.current;
|
|
3064
|
-
const [, refresh] = (0,
|
|
3065
|
-
const [page, setPage] = (0,
|
|
3066
|
-
const [event, setEvent] = (0,
|
|
3067
|
-
const [report, setReport] = (0,
|
|
3068
|
-
const host = (0,
|
|
3069
|
-
const observe = (0,
|
|
3876
|
+
const [, refresh] = (0, import_react14.useReducer)((n) => n + 1, 0);
|
|
3877
|
+
const [page, setPage] = (0, import_react14.useState)("battle"), [dialog, setDialog] = (0, import_react14.useState)(""), [message, setMessage] = (0, import_react14.useState)("");
|
|
3878
|
+
const [event, setEvent] = (0, import_react14.useState)(null), [sequence, setSequence] = (0, import_react14.useState)(0);
|
|
3879
|
+
const [report, setReport] = (0, import_react14.useState)(null), [pending, setPending] = (0, import_react14.useState)(null), [itemId, setItemId] = (0, import_react14.useState)("");
|
|
3880
|
+
const host = (0, import_react14.useRef)(null), lastTick = (0, import_react14.useRef)(Date.now()), initialized = (0, import_react14.useRef)(false), saveWarning = (0, import_react14.useRef)(false);
|
|
3881
|
+
const observe = (0, import_react14.useRef)(onStateChange);
|
|
3070
3882
|
observe.current = onStateChange;
|
|
3071
3883
|
function save() {
|
|
3072
3884
|
const current = stateRef.current;
|
|
@@ -3086,18 +3898,18 @@ function IdleGameApp({ definition, className = "", style, onStateChange }) {
|
|
|
3086
3898
|
refresh();
|
|
3087
3899
|
observe.current?.(stateRef.current);
|
|
3088
3900
|
}
|
|
3089
|
-
(0,
|
|
3901
|
+
(0, import_react14.useEffect)(() => {
|
|
3090
3902
|
if (!event?.bossWin) return;
|
|
3091
3903
|
const timer = setTimeout(() => setMessage(event.first ? `\u9996\u901A\u6210\u529F\uFF01${event.reward}\u5DF2\u6536\u5165\u884C\u56CA\u3002` : "\u9996\u9886\u6311\u6218\u6210\u529F\uFF01"), (definition.turnDurationMs ?? 1e3) * 0.93);
|
|
3092
3904
|
return () => clearTimeout(timer);
|
|
3093
3905
|
}, [event, definition]);
|
|
3094
|
-
(0,
|
|
3906
|
+
(0, import_react14.useEffect)(() => {
|
|
3095
3907
|
if (message) {
|
|
3096
3908
|
const timer = setTimeout(() => setMessage(""), 3200);
|
|
3097
3909
|
return () => clearTimeout(timer);
|
|
3098
3910
|
}
|
|
3099
3911
|
}, [message]);
|
|
3100
|
-
(0,
|
|
3912
|
+
(0, import_react14.useEffect)(() => {
|
|
3101
3913
|
if (!initialized.current) {
|
|
3102
3914
|
try {
|
|
3103
3915
|
const raw = localStorage.getItem(definition.saveKey);
|
|
@@ -3275,54 +4087,54 @@ function IdleGameApp({ definition, className = "", style, onStateChange }) {
|
|
|
3275
4087
|
}
|
|
3276
4088
|
const view = { engine, state: s, onAction: action };
|
|
3277
4089
|
const titles = { loadout: "\u81EA\u52A8\u6218\u6597 \xB7 \u80FD\u529B\u914D\u7F6E", settings: "\u4FEE\u884C\u8BBE\u7F6E \xB7 \u5B58\u6863", help: "\u4FEE\u884C\u5165\u95E8", compare: "\u88C5\u5907\u5BF9\u6BD4", offline: "\u4E45\u522B\u5F52\u6765\uFF0C\u4FEE\u884C\u672A\u6B47", import: "\u786E\u8BA4\u5BFC\u5165\u5B58\u6863" };
|
|
3278
|
-
return /* @__PURE__ */ (0,
|
|
3279
|
-
/* @__PURE__ */ (0,
|
|
3280
|
-
/* @__PURE__ */ (0,
|
|
3281
|
-
dialog === "loadout" && /* @__PURE__ */ (0,
|
|
3282
|
-
dialog === "settings" && /* @__PURE__ */ (0,
|
|
3283
|
-
dialog === "compare" && /* @__PURE__ */ (0,
|
|
3284
|
-
dialog === "help" && /* @__PURE__ */ (0,
|
|
3285
|
-
/* @__PURE__ */ (0,
|
|
4090
|
+
return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { ref: host, className: `sia-game ${className}`, style, "data-sia-theme": "dark", children: [
|
|
4091
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(GameShell, { ...view, page, children: page === "battle" ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(GameBattleStage, { ...view, event, sequence }) : page === "maps" ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(GameMapPanel, { ...view }) : page === "gear" ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(GameEquipmentPanel, { ...view }) : /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(GamePetPanel, { ...view }) }),
|
|
4092
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(GameDialog, { open: Boolean(dialog), title: titles[dialog] || "", onClose: () => setDialog(""), container: () => host.current, children: [
|
|
4093
|
+
dialog === "loadout" && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(GameLoadoutPanel, { ...view }),
|
|
4094
|
+
dialog === "settings" && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(GameSavePanel, { onExport: exportFile, onImport: importFile }),
|
|
4095
|
+
dialog === "compare" && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(GameEquipmentComparison, { ...view, itemId }),
|
|
4096
|
+
dialog === "help" && /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: "help-content", children: [
|
|
4097
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("p", { children: [
|
|
3286
4098
|
"\u5F00\u59CB\u6302\u673A\u540E\uFF0C\u6309\u6240\u914D\u7F6E\u7684\u56DE\u5408\u95F4\u9694\u81EA\u52A8\u5BFB\u654C\u3001\u79FB\u52A8\u3001\u51FA\u624B\u5E76\u62FE\u53D6\u5956\u52B1\u3002\u5173\u95ED\u9875\u9762\u540E\uFF0C\u4E0B\u6B21\u8FDB\u5165\u7ED3\u7B97\u6700\u591A ",
|
|
3287
4099
|
(definition.offlineCapSeconds ?? 43200) / 3600,
|
|
3288
4100
|
" \u5C0F\u65F6\u7684\u666E\u901A\u6218\u6597\u6536\u76CA\u3002"
|
|
3289
4101
|
] }),
|
|
3290
|
-
/* @__PURE__ */ (0,
|
|
3291
|
-
/* @__PURE__ */ (0,
|
|
3292
|
-
/* @__PURE__ */ (0,
|
|
3293
|
-
/* @__PURE__ */ (0,
|
|
3294
|
-
/* @__PURE__ */ (0,
|
|
4102
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("ol", { children: [
|
|
4103
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("li", { children: "\u6302\u673A\u83B7\u5F97\u7ECF\u9A8C\u3001\u94DC\u94B1\u3001\u88C5\u5907\u548C\u7075\u8574\u3002" }),
|
|
4104
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("li", { children: "\u66F4\u6362\u88C5\u5907\uFF0C\u5F3A\u5316\u90E8\u4F4D\uFF1B\u5F3A\u5316\u4E0D\u4F1A\u968F\u6362\u88C5\u4E22\u5931\u3002" }),
|
|
4105
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("li", { children: "\u7ED3\u7F18\u5E76\u57F9\u517B\u4F19\u4F34\uFF0C\u6539\u53D8\u8FFD\u51FB\u3001\u6CBB\u7597\u4E0E\u51CF\u4F24\u6548\u679C\u3002" }),
|
|
4106
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("li", { children: "\u6311\u6218\u9996\u9886\uFF0C\u9996\u901A\u83B7\u5F97\u88C5\u5907\u5E76\u89E3\u9501\u4E0B\u4E00\u7AE0\u3002" })
|
|
3295
4107
|
] }),
|
|
3296
|
-
/* @__PURE__ */ (0,
|
|
4108
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("p", { children: "\u6311\u6218\u5931\u8D25\u4E0D\u6263\u8D44\u6E90\u3002\u9996\u9886\u6218\u671F\u95F4\u6682\u65F6\u4E0D\u80FD\u6362\u88C5\u3001\u57F9\u517B\u6216\u5207\u6362\u5730\u56FE\u3002" })
|
|
3297
4109
|
] }),
|
|
3298
|
-
dialog === "offline" && report && /* @__PURE__ */ (0,
|
|
3299
|
-
/* @__PURE__ */ (0,
|
|
4110
|
+
dialog === "offline" && report && /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_jsx_runtime13.Fragment, { children: [
|
|
4111
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("p", { children: [
|
|
3300
4112
|
"\u79BB\u5F00 ",
|
|
3301
4113
|
Math.floor(report.seconds / 3600),
|
|
3302
4114
|
" \u5C0F\u65F6 ",
|
|
3303
4115
|
Math.floor(report.seconds % 3600 / 60),
|
|
3304
4116
|
" \u5206\u949F\uFF0C\u6536\u76CA\u5DF2\u81EA\u52A8\u5165\u8D26\u3002"
|
|
3305
4117
|
] }),
|
|
3306
|
-
/* @__PURE__ */ (0,
|
|
3307
|
-
/* @__PURE__ */ (0,
|
|
3308
|
-
/* @__PURE__ */ (0,
|
|
4118
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "offline-grid", children: [["\u7ECF\u9A8C", report.xp], ["\u94DC\u94B1", report.gold], ["\u7075\u8574", report.essence], ["\u88C5\u5907\u6389\u843D", report.drops]].map(([label, value]) => /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { children: [
|
|
4119
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { children: label }),
|
|
4120
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("b", { children: value })
|
|
3309
4121
|
] }, label)) }),
|
|
3310
|
-
/* @__PURE__ */ (0,
|
|
4122
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("p", { children: [
|
|
3311
4123
|
"\u51FB\u8D25 ",
|
|
3312
4124
|
report.kills,
|
|
3313
4125
|
" \u4E2A\u654C\u4EBA\uFF0C\u80CC\u5305\u6EA2\u51FA\u6389\u843D\u5DF2\u8F6C\u4E3A\u953B\u6750\u3002"
|
|
3314
4126
|
] }),
|
|
3315
|
-
/* @__PURE__ */ (0,
|
|
4127
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(GameButton, { className: "primary-button full", onClick: () => setDialog(""), children: "\u7EE7\u7EED\u5386\u7EC3" })
|
|
3316
4128
|
] }),
|
|
3317
|
-
dialog === "import" && pending && /* @__PURE__ */ (0,
|
|
3318
|
-
/* @__PURE__ */ (0,
|
|
4129
|
+
dialog === "import" && pending && /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_jsx_runtime13.Fragment, { children: [
|
|
4130
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("p", { children: [
|
|
3319
4131
|
"\u5373\u5C06\u8F7D\u5165 Lv.",
|
|
3320
4132
|
pending.level,
|
|
3321
4133
|
" \u7684\u89D2\u8272\uFF0C\u5DF2\u89E3\u9501 ",
|
|
3322
4134
|
pending.unlocked + 1,
|
|
3323
4135
|
" \u7AE0\u3002\u786E\u8BA4\u540E\u5C06\u66FF\u6362\u5F53\u524D\u5B58\u6863\u3002"
|
|
3324
4136
|
] }),
|
|
3325
|
-
/* @__PURE__ */ (0,
|
|
4137
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(GameButton, { className: "primary-button full", disabled: Boolean(s.fight?.boss && s.fight.status === "active"), onClick: () => {
|
|
3326
4138
|
stateRef.current = pending;
|
|
3327
4139
|
setPending(null);
|
|
3328
4140
|
setDialog("");
|
|
@@ -3333,9 +4145,12 @@ function IdleGameApp({ definition, className = "", style, onStateChange }) {
|
|
|
3333
4145
|
}, children: "\u786E\u8BA4\u66FF\u6362\u5F53\u524D\u5B58\u6863" })
|
|
3334
4146
|
] })
|
|
3335
4147
|
] }),
|
|
3336
|
-
/* @__PURE__ */ (0,
|
|
4148
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: `game-toast ${message ? "visible" : ""}`, role: "status", children: message })
|
|
3337
4149
|
] });
|
|
3338
4150
|
}
|
|
4151
|
+
|
|
4152
|
+
// src/game.ts
|
|
4153
|
+
initializeDefaultScrollbars();
|
|
3339
4154
|
// Annotate the CommonJS export names for ESM import in node:
|
|
3340
4155
|
0 && (module.exports = {
|
|
3341
4156
|
GameBattleStage,
|