tor-univer-sheet 1.2.2 → 1.2.4
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/tor-univer-sheet.es.js +210 -198
- package/dist/tor-univer-sheet.umd.js +1 -1
- package/dist/types/index.d.ts +5 -0
- package/dist/univer-styles.css +28 -0
- package/package.json +4 -3
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { CellValueType as
|
|
2
|
-
import { CommandType as
|
|
1
|
+
import { CellValueType as A } from "@univerjs/presets";
|
|
2
|
+
import { CommandType as ve, FEventName as Te, FUniver as Se, ICommandService as Ce, IUniverInstanceService as Ne, Inject as Pe, Injector as ke, LocaleType as Oe, Plugin as Ie, Univer as je, UniverInstanceType as He, Workbook as Ue, createUniver as Re, defaultTheme as Be, greenTheme as Ve, merge as Ae, mergeLocales as Ee, touchDependencies as Fe } from "@univerjs/presets";
|
|
3
3
|
import { BaselineOffset as Ze, CommandService as $e } from "@univerjs/core";
|
|
4
|
-
import { SetRangeValuesCommand as
|
|
5
|
-
import { ComponentManager as
|
|
4
|
+
import { SetRangeValuesCommand as qe } from "@univerjs/sheets";
|
|
5
|
+
import { ComponentManager as Je, ContextMenuGroup as ze, ContextMenuPosition as Ke, IMenuManagerService as _e, MenuItemType as Qe, RibbonStartGroup as Xe } from "@univerjs/ui";
|
|
6
6
|
import { UniverVue3AdapterPlugin as tt } from "@univerjs/ui-adapter-vue3";
|
|
7
7
|
import { UniverSheetsAdvancedPreset as ot } from "@univerjs/preset-sheets-advanced";
|
|
8
8
|
import { UniverSheetsConditionalFormattingPreset as st } from "@univerjs/presets/preset-sheets-conditional-formatting";
|
|
@@ -15,12 +15,12 @@ import { UniverSheetsNotePreset as Dt } from "@univerjs/preset-sheets-note";
|
|
|
15
15
|
import { default as bt } from "@univerjs/preset-sheets-core/locales/zh-CN";
|
|
16
16
|
import { default as Mt } from "@univerjs/preset-sheets-advanced/locales/zh-CN";
|
|
17
17
|
import { default as xt } from "@univerjs/presets/preset-sheets-conditional-formatting/locales/zh-CN";
|
|
18
|
-
import { default as
|
|
19
|
-
import { default as
|
|
18
|
+
import { default as Tt } from "@univerjs/presets/preset-sheets-core/locales/zh-CN";
|
|
19
|
+
import { default as Ct } from "@univerjs/presets/preset-sheets-data-validation/locales/zh-CN";
|
|
20
20
|
import { default as Pt } from "@univerjs/preset-sheets-drawing/locales/zh-CN";
|
|
21
21
|
import { default as Ot } from "@univerjs/presets/preset-sheets-drawing/locales/zh-CN";
|
|
22
22
|
import { default as jt } from "@univerjs/presets/preset-sheets-filter/locales/zh-CN";
|
|
23
|
-
import { default as
|
|
23
|
+
import { default as Ut } from "@univerjs/presets/preset-sheets-hyper-link/locales/zh-CN";
|
|
24
24
|
import { default as Bt } from "@univerjs/preset-sheets-note/locales/zh-CN";
|
|
25
25
|
import d from "dayjs";
|
|
26
26
|
import z from "decimal.js";
|
|
@@ -53,7 +53,7 @@ function he(e) {
|
|
|
53
53
|
appVersion: e?.appVersion || "1.0.0"
|
|
54
54
|
};
|
|
55
55
|
}
|
|
56
|
-
const X = Object.prototype.toString, K = (e, r) => X.call(e) === `[object ${r}]`, ee = (e) => typeof e < "u", te = (e) => !ee(e), re = (e) => e !== null && K(e, "Object"),
|
|
56
|
+
const X = Object.prototype.toString, K = (e, r) => X.call(e) === `[object ${r}]`, ee = (e) => typeof e < "u", te = (e) => !ee(e), re = (e) => e !== null && K(e, "Object"), E = (e) => e == null || typeof e > "u" ? !0 : q(e) || se(e) ? e.length === 0 : e instanceof Map || e instanceof Set ? e.size === 0 : re(e) ? Object.keys(e).length === 0 : !1, oe = (e) => e === null, ne = (e) => te(e) || oe(e), se = (e) => K(e, "String"), q = (e) => e && Array.isArray(e);
|
|
57
57
|
class ae {
|
|
58
58
|
value;
|
|
59
59
|
constructor(r) {
|
|
@@ -134,7 +134,7 @@ async function ye(e, r) {
|
|
|
134
134
|
if (!r) return Promise.reject("日期不能为空");
|
|
135
135
|
switch (e) {
|
|
136
136
|
case "year":
|
|
137
|
-
if (
|
|
137
|
+
if (q(r))
|
|
138
138
|
return Promise.resolve(r);
|
|
139
139
|
const o = d(r);
|
|
140
140
|
if (!o.isValid())
|
|
@@ -142,29 +142,29 @@ async function ye(e, r) {
|
|
|
142
142
|
const t = o.year(), c = `${t}-01`, n = `${t}-12`;
|
|
143
143
|
return Promise.resolve([c, n]);
|
|
144
144
|
case "month":
|
|
145
|
-
if (
|
|
145
|
+
if (q(r))
|
|
146
146
|
return Promise.resolve(r);
|
|
147
147
|
const h = d(r);
|
|
148
148
|
if (!h.isValid())
|
|
149
149
|
return Promise.reject("无效的日期格式");
|
|
150
|
-
const
|
|
151
|
-
return Promise.resolve([
|
|
150
|
+
const v = h.startOf("month").format("YYYY-MM-DD"), a = h.endOf("month").format("YYYY-MM-DD");
|
|
151
|
+
return Promise.resolve([v, a]);
|
|
152
152
|
case "day":
|
|
153
|
-
if (
|
|
153
|
+
if (q(r))
|
|
154
154
|
return Promise.resolve(r);
|
|
155
155
|
const y = d(r);
|
|
156
156
|
if (!y.isValid())
|
|
157
157
|
return Promise.reject("无效的日期格式");
|
|
158
|
-
const Y = y.startOf("day").format("YYYY-MM-DD HH:mm:ss"),
|
|
159
|
-
return Promise.resolve([Y,
|
|
158
|
+
const Y = y.startOf("day").format("YYYY-MM-DD HH:mm:ss"), l = y.endOf("day").format("YYYY-MM-DD HH:mm:ss");
|
|
159
|
+
return Promise.resolve([Y, l]);
|
|
160
160
|
default:
|
|
161
161
|
return Promise.reject("不支持的周期类型");
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
|
-
function
|
|
164
|
+
function H(e, r, o) {
|
|
165
165
|
return o ? d(r).diff(d(e), o) : 0;
|
|
166
166
|
}
|
|
167
|
-
function
|
|
167
|
+
function W(e, r, o) {
|
|
168
168
|
if (!o)
|
|
169
169
|
throw new Error("日期类型不能为空");
|
|
170
170
|
const t = {
|
|
@@ -176,15 +176,15 @@ function J(e, r, o) {
|
|
|
176
176
|
return d(e).subtract(r, o).format(t);
|
|
177
177
|
}
|
|
178
178
|
function P(e, r, o, t) {
|
|
179
|
-
const c = "YYYY-MM-DD HH:mm:ss", n =
|
|
179
|
+
const c = "YYYY-MM-DD HH:mm:ss", n = Z(e, r, o, t), h = d(n);
|
|
180
180
|
if (r === "month") {
|
|
181
181
|
const a = h.month();
|
|
182
182
|
return a === 0 ? [h.startOf("month").format(c), h.date(25).endOf("day").format(c)] : a === 11 ? [h.subtract(1, "month").date(26).startOf("day").format(c), h.endOf("month").format(c)] : [h.subtract(1, "month").date(26).startOf("day").format(c), h.date(25).endOf("day").format(c)];
|
|
183
183
|
}
|
|
184
|
-
const
|
|
185
|
-
return [h.startOf(
|
|
184
|
+
const v = { year: "year", day: "day", hour: "hour" };
|
|
185
|
+
return [h.startOf(v[r]).format(c), h.endOf(v[r]).format(c)];
|
|
186
186
|
}
|
|
187
|
-
function
|
|
187
|
+
function Z(e, r, o, t) {
|
|
188
188
|
const c = {
|
|
189
189
|
year: "YYYY",
|
|
190
190
|
month: "YYYY-MM",
|
|
@@ -193,7 +193,7 @@ function E(e, r, o, t) {
|
|
|
193
193
|
}[r];
|
|
194
194
|
return d(e, c).add(o * t, r).format(c);
|
|
195
195
|
}
|
|
196
|
-
function
|
|
196
|
+
function x(e, r, o) {
|
|
197
197
|
return e[r] || (e[r] = {}), e[r][o] || (e[r][o] = {}), e[r][o];
|
|
198
198
|
}
|
|
199
199
|
async function Ye(e) {
|
|
@@ -201,27 +201,27 @@ async function Ye(e) {
|
|
|
201
201
|
throw new Error("cellData is required");
|
|
202
202
|
const r = Object.entries(e).reduce((o, t) => {
|
|
203
203
|
const [c, n] = t;
|
|
204
|
-
for (const [h,
|
|
205
|
-
const { custom: a, v: y, t: Y, s:
|
|
204
|
+
for (const [h, v] of Object.entries(n)) {
|
|
205
|
+
const { custom: a, v: y, t: Y, s: l } = v;
|
|
206
206
|
if (!a) continue;
|
|
207
|
-
const { cellType:
|
|
208
|
-
if (
|
|
209
|
-
const O =
|
|
207
|
+
const { cellType: G } = a, u = !a.hasOwnProperty("writeBack") || E(a?.writeBack) ? !0 : a.writeBack;
|
|
208
|
+
if (G === "indicator") {
|
|
209
|
+
const O = x(o, c, h);
|
|
210
210
|
O.custom = {
|
|
211
211
|
...a,
|
|
212
|
-
required:
|
|
213
|
-
defaultShift:
|
|
214
|
-
forwardPush:
|
|
215
|
-
forwardPushTimes:
|
|
216
|
-
useDefaultEndDate:
|
|
217
|
-
copyType:
|
|
212
|
+
required: E(a?.required) ? !1 : a?.required,
|
|
213
|
+
defaultShift: E(a?.defaultShift) ? !1 : a?.defaultShift,
|
|
214
|
+
forwardPush: E(a?.forwardPush) ? !1 : a?.forwardPush,
|
|
215
|
+
forwardPushTimes: E(a?.useDefaultEndDate) ? 0 : a?.forwardPushTimes,
|
|
216
|
+
useDefaultEndDate: E(a?.useDefaultEndDate) ? !1 : a?.useDefaultEndDate,
|
|
217
|
+
copyType: E(a?.copyType) ? "" : a?.copyType,
|
|
218
218
|
writeBack: u
|
|
219
|
-
}, O.s =
|
|
219
|
+
}, O.s = l, O.t = Y, O.v = y || "";
|
|
220
220
|
}
|
|
221
221
|
}
|
|
222
222
|
return o;
|
|
223
223
|
}, {});
|
|
224
|
-
return !r ||
|
|
224
|
+
return !r || E(r) ? Promise.reject(new Error("No data found")) : Promise.resolve(r);
|
|
225
225
|
}
|
|
226
226
|
function $(e, r) {
|
|
227
227
|
return e.replace(/\$\{([^}]+)\}/g, (o, t) => {
|
|
@@ -240,131 +240,131 @@ function ue({
|
|
|
240
240
|
initColNum: t,
|
|
241
241
|
cellData: c
|
|
242
242
|
}) {
|
|
243
|
-
const { rangeData: n, currentDay: h, extraArgs:
|
|
244
|
-
let
|
|
243
|
+
const { rangeData: n, currentDay: h, extraArgs: v } = r, a = v?.teamData || {}, { cycleType: y, timeIncrement: Y, forwardPush: l, forwardPushTimes: G, copyType: u, copyInterval: O, defaultShift: g, templateStr: k, useDefaultEndDate: J } = c.custom;
|
|
244
|
+
let M = 0;
|
|
245
245
|
switch (y) {
|
|
246
246
|
case "day": {
|
|
247
247
|
let s = "";
|
|
248
|
-
if (
|
|
248
|
+
if (l && (s = W(
|
|
249
249
|
n[0],
|
|
250
|
-
|
|
250
|
+
G,
|
|
251
251
|
"day"
|
|
252
252
|
/* day */
|
|
253
253
|
)), !u) {
|
|
254
|
-
let
|
|
255
|
-
|
|
256
|
-
const i =
|
|
257
|
-
i.v = k ? $(k, { businessDate:
|
|
254
|
+
let f = "";
|
|
255
|
+
l ? f = s : f = n[0];
|
|
256
|
+
const i = x(e, o, t);
|
|
257
|
+
i.v = k ? $(k, { businessDate: f, dayjs: d }) : d(f).format("YYYY-MM-DD"), i.t = A.STRING, i.s = "tor-time-cell-style";
|
|
258
258
|
break;
|
|
259
259
|
}
|
|
260
|
-
|
|
260
|
+
l ? M = H(
|
|
261
261
|
s,
|
|
262
262
|
n[0],
|
|
263
263
|
"day"
|
|
264
264
|
/* day */
|
|
265
|
-
) : (
|
|
265
|
+
) : (M = H(
|
|
266
266
|
n[0],
|
|
267
267
|
n[1],
|
|
268
268
|
"day"
|
|
269
269
|
/* day */
|
|
270
|
-
), console.log("copyNum",
|
|
271
|
-
for (let
|
|
272
|
-
const i =
|
|
273
|
-
let
|
|
274
|
-
|
|
275
|
-
const
|
|
276
|
-
V.v = k ? $(k, { businessDate:
|
|
270
|
+
), console.log("copyNum", M));
|
|
271
|
+
for (let f = 0; f <= Math.abs(M === 0 ? 1 : M); f++) {
|
|
272
|
+
const i = f * (O + 1);
|
|
273
|
+
let T = "";
|
|
274
|
+
l ? T = Z(s, "day", f, Y) : T = Z(n[0], "day", f, Y);
|
|
275
|
+
const b = u === "right" ? o : o + i, R = u === "right" ? t + i : t, V = x(e, b, R);
|
|
276
|
+
V.v = k ? $(k, { businessDate: T, dayjs: d }) : d(T).format("YYYY-MM-DD"), V.t = A.STRING, V.s = "tor-time-cell-style";
|
|
277
277
|
}
|
|
278
278
|
break;
|
|
279
279
|
}
|
|
280
280
|
case "month": {
|
|
281
281
|
if (!u) {
|
|
282
|
-
const [s,
|
|
283
|
-
i.v = d(
|
|
282
|
+
const [s, f] = P(n[1], "month", 0, 1), i = x(e, o, t);
|
|
283
|
+
i.v = d(f).format("YYYY-MM"), i.t = A.STRING, i.s = "tor-time-cell-style";
|
|
284
284
|
break;
|
|
285
285
|
}
|
|
286
|
-
|
|
286
|
+
M = H(
|
|
287
287
|
n[0],
|
|
288
288
|
n[1],
|
|
289
289
|
"month"
|
|
290
290
|
/* month */
|
|
291
291
|
);
|
|
292
|
-
for (let s = 0; s <= Math.abs(
|
|
293
|
-
const
|
|
294
|
-
|
|
292
|
+
for (let s = 0; s <= Math.abs(M === 0 ? 1 : M); s++) {
|
|
293
|
+
const f = s * (O + 1), i = u === "right" ? o : o + f, T = u === "right" ? t + f : t, b = x(e, i, T);
|
|
294
|
+
b.v = Z(n[0], "month", s, Y), b.t = A.STRING, b.s = "tor-time-cell-style";
|
|
295
295
|
}
|
|
296
296
|
break;
|
|
297
297
|
}
|
|
298
298
|
case "year": {
|
|
299
299
|
let s = "";
|
|
300
|
-
if (
|
|
300
|
+
if (l && (s = W(
|
|
301
301
|
n[0],
|
|
302
|
-
|
|
302
|
+
G || 0,
|
|
303
303
|
"year"
|
|
304
304
|
/* year */
|
|
305
305
|
)), !u) {
|
|
306
|
-
const
|
|
307
|
-
|
|
306
|
+
const f = l ? s : n[0], [i, T] = P(f, "year", 0, 1), b = x(e, o, t), [, R] = P(n[1], "month", 0, 1);
|
|
307
|
+
b.v = k ? $(k, {
|
|
308
308
|
startTime: i,
|
|
309
|
-
endTime:
|
|
309
|
+
endTime: T,
|
|
310
310
|
rangeData: n,
|
|
311
311
|
dayjs: d
|
|
312
|
-
}) :
|
|
312
|
+
}) : f, b.t = A.STRING, b.s = "tor-time-cell-style";
|
|
313
313
|
break;
|
|
314
314
|
}
|
|
315
|
-
|
|
315
|
+
l ? M = H(
|
|
316
316
|
s,
|
|
317
317
|
n[0],
|
|
318
318
|
"year"
|
|
319
319
|
/* year */
|
|
320
|
-
) :
|
|
320
|
+
) : M = H(
|
|
321
321
|
n[0],
|
|
322
322
|
n[1],
|
|
323
323
|
"year"
|
|
324
324
|
/* year */
|
|
325
325
|
);
|
|
326
|
-
for (let
|
|
327
|
-
const i =
|
|
328
|
-
|
|
326
|
+
for (let f = 0; f <= Math.abs(M === 0 ? 1 : M); f++) {
|
|
327
|
+
const i = f * (O + 1), T = u === "right" ? o : o + i, b = u === "right" ? t + i : t, [R, V] = P(n[0], "year", f, Y), S = x(e, T, b), N = Z(n[0], "year", f, Y);
|
|
328
|
+
S.v = k ? $(k, {
|
|
329
329
|
startTime: R,
|
|
330
330
|
endTime: V,
|
|
331
331
|
rangeData: n,
|
|
332
332
|
dayjs: d
|
|
333
|
-
}) :
|
|
333
|
+
}) : N, S.t = A.STRING, S.s = "tor-time-cell-style";
|
|
334
334
|
}
|
|
335
335
|
break;
|
|
336
336
|
}
|
|
337
337
|
case "hour": {
|
|
338
338
|
if (!u) {
|
|
339
|
-
const s =
|
|
340
|
-
if (s.t =
|
|
339
|
+
const s = x(e, o, t);
|
|
340
|
+
if (s.t = A.STRING, s.s = "tor-time-cell-style", g) {
|
|
341
341
|
s.v = d(n[0]).add(1, "hour").format("YYYY-MM-DD HH:mm:ss");
|
|
342
342
|
break;
|
|
343
343
|
}
|
|
344
344
|
s.v = d(h).add(1, "hour").format("YYYY-MM-DD HH:mm:ss");
|
|
345
345
|
break;
|
|
346
346
|
}
|
|
347
|
-
|
|
347
|
+
M = H(
|
|
348
348
|
n[0],
|
|
349
349
|
n[1],
|
|
350
350
|
"hour"
|
|
351
351
|
/* hour */
|
|
352
352
|
);
|
|
353
|
-
for (let s = 0; s <= Math.abs(
|
|
354
|
-
const
|
|
355
|
-
if (
|
|
353
|
+
for (let s = 0; s <= Math.abs(M === 0 ? 1 : M); s++) {
|
|
354
|
+
const f = s * (O + 1), i = u === "right" ? o : o + f, T = u === "right" ? t + f : t, b = x(e, i, T);
|
|
355
|
+
if (b.t = A.STRING, b.s = "tor-time-cell-style", g) {
|
|
356
356
|
const R = d(n[0]).add(1, "hour").format("YYYY-MM-DD HH:mm:ss");
|
|
357
|
-
|
|
357
|
+
b.v = Z(R, "hour", s, Y);
|
|
358
358
|
continue;
|
|
359
359
|
}
|
|
360
|
-
|
|
360
|
+
b.v = Z(d(h).add(1, "hour").format("YYYY-MM-DD HH:mm:ss"), "hour", s, Y);
|
|
361
361
|
}
|
|
362
362
|
break;
|
|
363
363
|
}
|
|
364
364
|
case "shift": {
|
|
365
365
|
if (!u) {
|
|
366
|
-
const s =
|
|
367
|
-
s.t =
|
|
366
|
+
const s = x(e, o, t);
|
|
367
|
+
s.t = A.STRING, s.s = "tor-time-cell-style", s.v = k ? $(k, {
|
|
368
368
|
rangeData: n,
|
|
369
369
|
dayjs: d
|
|
370
370
|
}) : n[0];
|
|
@@ -373,9 +373,9 @@ function ue({
|
|
|
373
373
|
if (!a.length)
|
|
374
374
|
throw new Error("没有获取到当班数据");
|
|
375
375
|
for (let s = 0; s < a.length; s++) {
|
|
376
|
-
const
|
|
377
|
-
|
|
378
|
-
team:
|
|
376
|
+
const f = a[s], { startDatetime: i, endDatetime: T } = f, b = s * (O + 1), R = u === "right" ? o : j(o).add(b).toNumber(), V = u === "right" ? j(t).add(b).toNumber() : t, S = x(e, R, V);
|
|
377
|
+
S.s = "tor-time-cell-style", S.v = k ? $(k, {
|
|
378
|
+
team: f
|
|
379
379
|
}) : i;
|
|
380
380
|
}
|
|
381
381
|
break;
|
|
@@ -388,183 +388,195 @@ async function De(e, r) {
|
|
|
388
388
|
const { extraArgs: o, rangeData: t } = r;
|
|
389
389
|
if (!t.length)
|
|
390
390
|
return Promise.reject("处理时间范围失败, rangeData不能为空");
|
|
391
|
-
const c = o?.teamData || [], { periodicityTime: n } = r, h = r?.currentDay || d().format("YYYY-MM-DD"),
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
391
|
+
const c = o?.teamData || [], { periodicityTime: n } = r, h = r?.currentDay || d().format("YYYY-MM-DD"), v = (y, Y, l) => n ? l !== "MACH_CYCLE" ? [y, Y] : parseInt(n.split(":")[0], 10) < 12 ? [
|
|
392
|
+
d(y).format("YYYY-MM-DD") + " " + n,
|
|
393
|
+
d(Y).add(1, "day").format("YYYY-MM-DD") + " " + n
|
|
394
|
+
] : [
|
|
395
|
+
d(y).subtract(1, "day").format("YYYY-MM-DD") + " " + n,
|
|
396
|
+
d(Y).format("YYYY-MM-DD") + " " + n
|
|
397
|
+
] : [y, Y], a = Object.entries(e).reduce((y, Y) => {
|
|
398
|
+
const [l, G] = Y;
|
|
399
|
+
for (const [u, O] of Object.entries(G)) {
|
|
400
|
+
const { custom: g } = O;
|
|
401
|
+
if (!g) continue;
|
|
396
402
|
const {
|
|
397
403
|
cellType: k,
|
|
398
|
-
cycleType:
|
|
399
|
-
timeIncrement:
|
|
404
|
+
cycleType: J,
|
|
405
|
+
timeIncrement: M,
|
|
400
406
|
forwardPush: s,
|
|
401
|
-
forwardPushTimes:
|
|
407
|
+
forwardPushTimes: f,
|
|
402
408
|
copyType: i,
|
|
403
|
-
copyInterval:
|
|
404
|
-
defaultShift:
|
|
409
|
+
copyInterval: T,
|
|
410
|
+
defaultShift: b,
|
|
405
411
|
useDefaultStartDate: R,
|
|
406
412
|
useDefaultEndDate: V
|
|
407
|
-
} =
|
|
413
|
+
} = g;
|
|
408
414
|
if (k === "time") {
|
|
409
|
-
ue({ acc: y, params: r, initRowNum: Number(
|
|
415
|
+
ue({ acc: y, params: r, initRowNum: Number(l), initColNum: Number(u), cellData: O });
|
|
410
416
|
continue;
|
|
411
417
|
}
|
|
412
|
-
const
|
|
413
|
-
cycleType:
|
|
414
|
-
indicatorName:
|
|
415
|
-
indicatorCode:
|
|
416
|
-
indicatorId:
|
|
417
|
-
indicatorDimensionName:
|
|
418
|
-
indicatorDimensionConfig:
|
|
419
|
-
required: ne(
|
|
420
|
-
cellType:
|
|
421
|
-
defaultShift:
|
|
422
|
-
writeBack:
|
|
423
|
-
dimensionJson:
|
|
424
|
-
unit:
|
|
425
|
-
innerSyncWay:
|
|
426
|
-
outSyncConfigId:
|
|
427
|
-
innerSyncStatus:
|
|
418
|
+
const S = {
|
|
419
|
+
cycleType: J,
|
|
420
|
+
indicatorName: g.indicatorName,
|
|
421
|
+
indicatorCode: g.indicatorCode,
|
|
422
|
+
indicatorId: g.indicatorId,
|
|
423
|
+
indicatorDimensionName: g.indicatorDimensionName,
|
|
424
|
+
indicatorDimensionConfig: g.indicatorDimensionConfig,
|
|
425
|
+
required: ne(g?.required) ?? !1,
|
|
426
|
+
cellType: g.cellType,
|
|
427
|
+
defaultShift: g?.defaultShift || !1,
|
|
428
|
+
writeBack: E(g?.writeBack) ? !0 : g.writeBack,
|
|
429
|
+
dimensionJson: g?.dimensionJson || "",
|
|
430
|
+
unit: g?.unit || "",
|
|
431
|
+
innerSyncWay: g?.innerSyncWay || "",
|
|
432
|
+
outSyncConfigId: g?.outSyncConfigId || "",
|
|
433
|
+
innerSyncStatus: g?.innerSyncStatus || ""
|
|
428
434
|
};
|
|
429
|
-
let
|
|
430
|
-
switch (
|
|
435
|
+
let N = 0;
|
|
436
|
+
switch (J) {
|
|
431
437
|
case "day": {
|
|
432
438
|
let m = "";
|
|
433
|
-
if (s && (m =
|
|
439
|
+
if (s && (m = W(
|
|
434
440
|
t[0],
|
|
435
|
-
|
|
441
|
+
f || 0,
|
|
436
442
|
"day"
|
|
437
443
|
/* day */
|
|
438
444
|
)), !i) {
|
|
439
|
-
const D = s ? m : t[0], [
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
445
|
+
const D = s ? m : t[0], [w, p] = v(
|
|
446
|
+
...P(D, "day", 0, 1),
|
|
447
|
+
g?.innerSyncWay
|
|
448
|
+
), C = x(y, l, u);
|
|
449
|
+
C.s = "tor-indicator-cell-style", C.custom = {
|
|
450
|
+
...S,
|
|
451
|
+
startTime: w,
|
|
452
|
+
endTime: p
|
|
444
453
|
};
|
|
445
454
|
break;
|
|
446
455
|
}
|
|
447
|
-
s ?
|
|
456
|
+
s ? N = H(
|
|
448
457
|
m,
|
|
449
458
|
t[0],
|
|
450
459
|
"day"
|
|
451
460
|
/* day */
|
|
452
|
-
) :
|
|
461
|
+
) : N = H(
|
|
453
462
|
t[0],
|
|
454
463
|
t[1],
|
|
455
464
|
"day"
|
|
456
465
|
/* day */
|
|
457
466
|
);
|
|
458
|
-
for (let D = 0; D <= Math.abs(
|
|
459
|
-
const
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
467
|
+
for (let D = 0; D <= Math.abs(N === 0 ? 1 : N); D++) {
|
|
468
|
+
const w = D * (T + 1), p = s ? m : t[0], [C, U] = v(
|
|
469
|
+
...P(p, "day", D, M),
|
|
470
|
+
g?.innerSyncWay
|
|
471
|
+
), I = i === "right" ? l : j(l).add(w).toNumber(), B = i === "right" ? j(u).add(w).toNumber() : u, F = x(y, I, B);
|
|
472
|
+
F.s = "tor-indicator-cell-style", F.custom = {
|
|
473
|
+
...S,
|
|
474
|
+
startTime: C,
|
|
475
|
+
endTime: U
|
|
464
476
|
};
|
|
465
477
|
}
|
|
466
478
|
break;
|
|
467
479
|
}
|
|
468
480
|
case "month": {
|
|
469
481
|
if (!i) {
|
|
470
|
-
const [m, D] = P(t[1], "month", 0, 1),
|
|
471
|
-
|
|
472
|
-
...
|
|
482
|
+
const [m, D] = P(t[1], "month", 0, 1), w = x(y, l, u);
|
|
483
|
+
w.s = "tor-indicator-cell-style", w.custom = {
|
|
484
|
+
...S,
|
|
473
485
|
startTime: m,
|
|
474
486
|
endTime: D
|
|
475
487
|
};
|
|
476
488
|
break;
|
|
477
489
|
}
|
|
478
|
-
|
|
490
|
+
N = H(
|
|
479
491
|
t[0],
|
|
480
492
|
t[1],
|
|
481
493
|
"month"
|
|
482
494
|
/* month */
|
|
483
495
|
);
|
|
484
|
-
for (let m = 0; m <= Math.abs(
|
|
485
|
-
const D = m * (
|
|
496
|
+
for (let m = 0; m <= Math.abs(N === 0 ? 1 : N); m++) {
|
|
497
|
+
const D = m * (T + 1), w = i === "right" ? l : j(l).add(D).toNumber(), p = i === "right" ? j(u).add(D).toNumber() : u, [C, U] = P(t[0], "month", m, M), I = x(y, w, p);
|
|
486
498
|
I.s = "tor-indicator-cell-style", I.custom = {
|
|
487
|
-
...
|
|
488
|
-
startTime:
|
|
489
|
-
endTime:
|
|
499
|
+
...S,
|
|
500
|
+
startTime: C,
|
|
501
|
+
endTime: U
|
|
490
502
|
};
|
|
491
503
|
}
|
|
492
504
|
break;
|
|
493
505
|
}
|
|
494
506
|
case "year": {
|
|
495
|
-
let m = "", D = "",
|
|
507
|
+
let m = "", D = "", w = "";
|
|
496
508
|
if (s) {
|
|
497
|
-
m =
|
|
509
|
+
m = W(
|
|
498
510
|
t[0],
|
|
499
|
-
|
|
511
|
+
f || 0,
|
|
500
512
|
"year"
|
|
501
513
|
/* year */
|
|
502
514
|
);
|
|
503
|
-
const
|
|
504
|
-
D = d(`${m}-${
|
|
515
|
+
const p = d(t[1]).format("MM");
|
|
516
|
+
D = d(`${m}-${p + 1}`).format("YYYY-MM"), w = d(`${m}-${p + 2}`).format("YYYY-MM");
|
|
505
517
|
}
|
|
506
518
|
if (!i) {
|
|
507
|
-
const
|
|
519
|
+
const p = s ? m : t[0], [C, U] = P(p, "year", 0, 1), I = x(y, l, u);
|
|
508
520
|
I.s = "tor-indicator-cell-style";
|
|
509
|
-
const [, B] = P(D, "month", 0, 1), [
|
|
521
|
+
const [, B] = P(D, "month", 0, 1), [F] = P(w, "month", 0, 1);
|
|
510
522
|
I.custom = {
|
|
511
|
-
...
|
|
512
|
-
startTime: R ?
|
|
513
|
-
endTime: V ? B :
|
|
523
|
+
...S,
|
|
524
|
+
startTime: R ? F : C,
|
|
525
|
+
endTime: V ? B : U
|
|
514
526
|
};
|
|
515
527
|
break;
|
|
516
528
|
}
|
|
517
|
-
s ?
|
|
529
|
+
s ? N = H(
|
|
518
530
|
m,
|
|
519
531
|
t[0],
|
|
520
532
|
"year"
|
|
521
533
|
/* year */
|
|
522
|
-
) :
|
|
534
|
+
) : N = H(
|
|
523
535
|
t[0],
|
|
524
536
|
t[1],
|
|
525
537
|
"year"
|
|
526
538
|
/* year */
|
|
527
539
|
);
|
|
528
|
-
for (let
|
|
529
|
-
const
|
|
530
|
-
|
|
531
|
-
...
|
|
540
|
+
for (let p = 0; p <= Math.abs(N === 0 ? 1 : N); p++) {
|
|
541
|
+
const C = p * (T + 1), U = i === "right" ? l : j(l).add(C).toNumber(), I = i === "right" ? j(u).add(C).toNumber() : u, [B, F] = P(t[0], "year", p, M), L = x(y, U, I);
|
|
542
|
+
L.s = "tor-indicator-cell-style", L.custom = {
|
|
543
|
+
...S,
|
|
532
544
|
startTime: B,
|
|
533
|
-
endTime:
|
|
545
|
+
endTime: F
|
|
534
546
|
};
|
|
535
547
|
}
|
|
536
548
|
break;
|
|
537
549
|
}
|
|
538
550
|
case "hour": {
|
|
539
551
|
if (!i) {
|
|
540
|
-
const m =
|
|
541
|
-
|
|
542
|
-
...
|
|
552
|
+
const m = b ? t[0] : t[0] ?? h, [D, w] = P(m, "hour", 1, 1), p = x(y, l, u);
|
|
553
|
+
p.s = "tor-indicator-cell-style", p.custom = {
|
|
554
|
+
...S,
|
|
543
555
|
startTime: D,
|
|
544
|
-
endTime:
|
|
556
|
+
endTime: w
|
|
545
557
|
};
|
|
546
558
|
break;
|
|
547
559
|
}
|
|
548
|
-
|
|
560
|
+
N = H(
|
|
549
561
|
t[0],
|
|
550
562
|
t[1],
|
|
551
563
|
"hour"
|
|
552
564
|
/* hour */
|
|
553
565
|
);
|
|
554
|
-
for (let m = 0; m <= Math.abs(
|
|
555
|
-
const D = m * (
|
|
556
|
-
if (
|
|
557
|
-
const
|
|
558
|
-
|
|
559
|
-
...
|
|
560
|
-
startTime:
|
|
566
|
+
for (let m = 0; m <= Math.abs(N === 0 ? 1 : N); m++) {
|
|
567
|
+
const D = m * (T + 1), w = i === "right" ? l : j(l).add(D).toNumber(), p = i === "right" ? j(u).add(D).toNumber() : u, C = x(y, w, p);
|
|
568
|
+
if (C.s = "tor-indicator-cell-style", b) {
|
|
569
|
+
const F = d(t[0]).add(1, "hour").format("YYYY-MM-DD HH:mm:ss"), [L, _] = P(F, "hour", m, M);
|
|
570
|
+
C.custom = {
|
|
571
|
+
...S,
|
|
572
|
+
startTime: L,
|
|
561
573
|
endTime: _
|
|
562
574
|
};
|
|
563
575
|
continue;
|
|
564
576
|
}
|
|
565
|
-
const
|
|
566
|
-
|
|
567
|
-
...
|
|
577
|
+
const U = d(h).add(1, "hour").format("YYYY-MM-DD HH:mm:ss"), [I, B] = P(U, "hour", m, M);
|
|
578
|
+
C.custom = {
|
|
579
|
+
...S,
|
|
568
580
|
startTime: I,
|
|
569
581
|
endTime: B
|
|
570
582
|
};
|
|
@@ -573,9 +585,9 @@ async function De(e, r) {
|
|
|
573
585
|
}
|
|
574
586
|
case "shift": {
|
|
575
587
|
if (!i) {
|
|
576
|
-
const [m, D] = t,
|
|
577
|
-
|
|
578
|
-
...
|
|
588
|
+
const [m, D] = t, w = x(y, l, u);
|
|
589
|
+
w.s = "tor-indicator-cell-style", w.custom = {
|
|
590
|
+
...S,
|
|
579
591
|
startTime: m,
|
|
580
592
|
endTime: D
|
|
581
593
|
};
|
|
@@ -584,11 +596,11 @@ async function De(e, r) {
|
|
|
584
596
|
if (!c.length)
|
|
585
597
|
throw new Error("没有获取到当班数据");
|
|
586
598
|
for (let m = 0; m < c.length; m++) {
|
|
587
|
-
const D = c[m], { startDatetime:
|
|
599
|
+
const D = c[m], { startDatetime: w, endDatetime: p } = D, C = m * (T + 1), U = i === "right" ? l : j(l).add(C).toNumber(), I = i === "right" ? j(u).add(C).toNumber() : u, B = x(y, U, I);
|
|
588
600
|
B.s = "tor-indicator-cell-style", B.custom = {
|
|
589
|
-
...
|
|
590
|
-
startTime:
|
|
591
|
-
endTime:
|
|
601
|
+
...S,
|
|
602
|
+
startTime: w,
|
|
603
|
+
endTime: p
|
|
592
604
|
};
|
|
593
605
|
}
|
|
594
606
|
break;
|
|
@@ -610,15 +622,15 @@ function be(e, r) {
|
|
|
610
622
|
for (const [t, c] of Object.entries(r)) {
|
|
611
623
|
o[t] || (o[t] = {});
|
|
612
624
|
for (const [n, h] of Object.entries(c)) {
|
|
613
|
-
const
|
|
625
|
+
const v = h, a = o[t]?.[n];
|
|
614
626
|
a ? o[t][n] = {
|
|
615
627
|
...a,
|
|
616
|
-
...
|
|
628
|
+
...v,
|
|
617
629
|
custom: {
|
|
618
630
|
...a.custom,
|
|
619
|
-
...
|
|
631
|
+
...v.custom
|
|
620
632
|
}
|
|
621
|
-
} : o[t][n] =
|
|
633
|
+
} : o[t][n] = v;
|
|
622
634
|
}
|
|
623
635
|
}
|
|
624
636
|
return o;
|
|
@@ -631,11 +643,11 @@ function pe(e, r) {
|
|
|
631
643
|
for (const n in c) {
|
|
632
644
|
const h = c[n];
|
|
633
645
|
if (h?.custom?.cellType === "indicator") {
|
|
634
|
-
const
|
|
646
|
+
const v = Number(t), a = Number(n);
|
|
635
647
|
if (r.some(
|
|
636
|
-
(Y) =>
|
|
648
|
+
(Y) => v >= Y.startRow && v <= Y.endRow && a >= Y.startColumn && a <= Y.endColumn
|
|
637
649
|
) && !r.some(
|
|
638
|
-
(
|
|
650
|
+
(l) => v === l.startRow && a === l.startColumn
|
|
639
651
|
))
|
|
640
652
|
continue;
|
|
641
653
|
}
|
|
@@ -648,16 +660,16 @@ const Me = "./style.css";
|
|
|
648
660
|
export {
|
|
649
661
|
Ze as BaselineOffset,
|
|
650
662
|
$e as CommandService,
|
|
651
|
-
|
|
652
|
-
|
|
663
|
+
ve as CommandType,
|
|
664
|
+
Je as ComponentManager,
|
|
653
665
|
ze as ContextMenuGroup,
|
|
654
666
|
Ke as ContextMenuPosition,
|
|
655
667
|
ie as CycleTypeEnum,
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
668
|
+
Te as FEventName,
|
|
669
|
+
Se as FUniver,
|
|
670
|
+
Ce as ICommandService,
|
|
659
671
|
_e as IMenuManagerService,
|
|
660
|
-
|
|
672
|
+
Ne as IUniverInstanceService,
|
|
661
673
|
Pe as Inject,
|
|
662
674
|
ke as Injector,
|
|
663
675
|
Oe as LocaleType,
|
|
@@ -665,9 +677,9 @@ export {
|
|
|
665
677
|
ce as ModeEnum,
|
|
666
678
|
Ie as Plugin,
|
|
667
679
|
Xe as RibbonStartGroup,
|
|
668
|
-
|
|
680
|
+
qe as SetRangeValuesCommand,
|
|
669
681
|
je as Univer,
|
|
670
|
-
|
|
682
|
+
He as UniverInstanceType,
|
|
671
683
|
Mt as UniverPresetSheetsAdvancedZhCN,
|
|
672
684
|
Pt as UniverPresetSheetsDrawingZhCN,
|
|
673
685
|
Bt as UniverPresetSheetsNoteZhCN,
|
|
@@ -680,7 +692,7 @@ export {
|
|
|
680
692
|
yt as UniverSheetsHyperLinkPreset,
|
|
681
693
|
Dt as UniverSheetsNotePreset,
|
|
682
694
|
tt as UniverVue3AdapterPlugin,
|
|
683
|
-
|
|
695
|
+
Ue as Workbook,
|
|
684
696
|
Re as createUniver,
|
|
685
697
|
j as decimal,
|
|
686
698
|
Be as defaultTheme,
|
|
@@ -692,17 +704,17 @@ export {
|
|
|
692
704
|
Ve as greenTheme,
|
|
693
705
|
de as handleClearInput,
|
|
694
706
|
ye as initDateRange,
|
|
695
|
-
|
|
707
|
+
Ae as merge,
|
|
696
708
|
be as mergeCellData,
|
|
697
|
-
|
|
709
|
+
Ee as mergeLocales,
|
|
698
710
|
xt as sheetsConditionalFormattingZhCN,
|
|
699
|
-
|
|
700
|
-
|
|
711
|
+
Tt as sheetsCoreZhCN,
|
|
712
|
+
Ct as sheetsDataValidationZhCN,
|
|
701
713
|
Ot as sheetsDrawingZhCN,
|
|
702
714
|
jt as sheetsFilterZhCN,
|
|
703
|
-
|
|
715
|
+
Ut as sheetsHyperLinkZhCN,
|
|
704
716
|
Me as stylePath,
|
|
705
|
-
|
|
717
|
+
Fe as touchDependencies,
|
|
706
718
|
he as useData,
|
|
707
719
|
bt as zhCN
|
|
708
720
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(t,h){typeof exports=="object"&&typeof module<"u"?h(exports,require("@univerjs/presets"),require("@univerjs/core"),require("@univerjs/sheets"),require("@univerjs/ui"),require("@univerjs/ui-adapter-vue3"),require("@univerjs/preset-sheets-advanced"),require("@univerjs/presets/preset-sheets-conditional-formatting"),require("@univerjs/presets/preset-sheets-core"),require("@univerjs/presets/preset-sheets-data-validation"),require("@univerjs/presets/preset-sheets-drawing"),require("@univerjs/presets/preset-sheets-filter"),require("@univerjs/presets/preset-sheets-hyper-link"),require("@univerjs/preset-sheets-note"),require("@univerjs/preset-sheets-core/locales/zh-CN"),require("@univerjs/preset-sheets-advanced/locales/zh-CN"),require("@univerjs/presets/preset-sheets-conditional-formatting/locales/zh-CN"),require("@univerjs/presets/preset-sheets-core/locales/zh-CN"),require("@univerjs/presets/preset-sheets-data-validation/locales/zh-CN"),require("@univerjs/preset-sheets-drawing/locales/zh-CN"),require("@univerjs/presets/preset-sheets-drawing/locales/zh-CN"),require("@univerjs/presets/preset-sheets-filter/locales/zh-CN"),require("@univerjs/presets/preset-sheets-hyper-link/locales/zh-CN"),require("@univerjs/preset-sheets-note/locales/zh-CN"),require("dayjs"),require("decimal.js")):typeof define=="function"&&define.amd?define(["exports","@univerjs/presets","@univerjs/core","@univerjs/sheets","@univerjs/ui","@univerjs/ui-adapter-vue3","@univerjs/preset-sheets-advanced","@univerjs/presets/preset-sheets-conditional-formatting","@univerjs/presets/preset-sheets-core","@univerjs/presets/preset-sheets-data-validation","@univerjs/presets/preset-sheets-drawing","@univerjs/presets/preset-sheets-filter","@univerjs/presets/preset-sheets-hyper-link","@univerjs/preset-sheets-note","@univerjs/preset-sheets-core/locales/zh-CN","@univerjs/preset-sheets-advanced/locales/zh-CN","@univerjs/presets/preset-sheets-conditional-formatting/locales/zh-CN","@univerjs/presets/preset-sheets-core/locales/zh-CN","@univerjs/presets/preset-sheets-data-validation/locales/zh-CN","@univerjs/preset-sheets-drawing/locales/zh-CN","@univerjs/presets/preset-sheets-drawing/locales/zh-CN","@univerjs/presets/preset-sheets-filter/locales/zh-CN","@univerjs/presets/preset-sheets-hyper-link/locales/zh-CN","@univerjs/preset-sheets-note/locales/zh-CN","dayjs","decimal.js"],h):(t=typeof globalThis<"u"?globalThis:t||self,h(t.TorUniverSheet={},t.presets,t.core,t.sheets,t.ui,t.uiAdapterVue3,t.presetSheetsAdvanced,t.presetSheetsConditionalFormatting,t.presetSheetsCore,t.presetSheetsDataValidation,t.presetSheetsDrawing,t.presetSheetsFilter,t.presetSheetsHyperLink,t.presetSheetsNote,t.zhCN$9,t.zhCN,t.zhCN$3,t.zhCN$4,t.zhCN$5,t.zhCN$1,t.zhCN$6,t.zhCN$7,t.zhCN$8,t.zhCN$2,t.dayjs,t.Decimal))})(this,(function(t,h,X,ne,G,se,oe,ie,ae,ue,ce,le,me,fe,de,he,ye,ge,be,ve,pe,De,Ye,Ce,y,_){"use strict";const Pe=(e,n)=>{for(const s of n)e[s]=null},x=()=>{if(typeof crypto=="object"){if(typeof crypto.randomUUID=="function")return crypto.randomUUID();if(typeof crypto.getRandomValues=="function"&&typeof Uint8Array=="function"){const s=r=>{const c=Number(r);return(c^crypto.getRandomValues(new Uint8Array(1))[0]&15>>c/4).toString(16)};return"10000000-1000-4000-8000-100000000000".replace(/[018]/g,s)}}let e=new Date().getTime(),n=typeof performance<"u"&&performance.now&&performance.now()*1e3||0;return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,s=>{let r=Math.random()*16;return e>0?(r=(e+r)%16|0,e=Math.floor(e/16)):(r=(n+r)%16|0,n=Math.floor(n/16)),(s==="x"?r:r&3|8).toString(16)})};function Me(e){return{...e?.workbookData,id:e?.id||x(),name:e?.name||"未命名",appVersion:e?.appVersion||"1.0.0"}}const Ne=Object.prototype.toString,ee=(e,n)=>Ne.call(e)===`[object ${n}]`,je=e=>typeof e<"u",we=e=>!je(e),Se=e=>e!==null&&ee(e,"Object"),F=e=>e==null||typeof e>"u"?!0:J(e)||ke(e)?e.length===0:e instanceof Map||e instanceof Set?e.size===0:Se(e)?Object.keys(e).length===0:!1,Te=e=>e===null,Oe=e=>we(e)||Te(e),ke=e=>ee(e,"String"),J=e=>e&&Array.isArray(e);class Ie{value;constructor(n){this.value=new _(n)}add(n){return this.value=this.value.add(n||0),this}subtract(n){return this.value=this.value.sub(n||0),this}multiply(n){return this.value=this.value.mul(n||0),this}divide(n){const s=new _(n);if(s.isZero())throw new Error("除数是0");return this.value=this.value.div(s),this}toFixed(n,s){return this.value=new _(this.value.toFixed(n,s)),this}valueOf(){return this.value}toString(){return this.value.toString()}toNumber(){return this.value.toNumber()}}function U(e=0){return new Ie(e)}var te=(e=>(e.无="no",e.年="year",e.月="month",e.周="week",e.天="day",e.班组="shift",e.小时="hour",e.半小时="half_hour",e))(te||{}),re=(e=>(e.view="view",e.edit="edit",e))(re||{});async function Ue(e,n){if(!n)return Promise.reject("日期不能为空");switch(e){case"year":if(J(n))return Promise.resolve(n);const s=y(n);if(!s.isValid())return Promise.reject("无效的日期格式");const r=s.year(),c=`${r}-01`,o=`${r}-12`;return Promise.resolve([c,o]);case"month":if(J(n))return Promise.resolve(n);const g=y(n);if(!g.isValid())return Promise.reject("无效的日期格式");const j=g.startOf("month").format("YYYY-MM-DD"),a=g.endOf("month").format("YYYY-MM-DD");return Promise.resolve([j,a]);case"day":if(J(n))return Promise.resolve(n);const b=y(n);if(!b.isValid())return Promise.reject("无效的日期格式");const v=b.startOf("day").format("YYYY-MM-DD HH:mm:ss"),f=b.endOf("day").format("YYYY-MM-DD HH:mm:ss");return Promise.resolve([v,f]);default:return Promise.reject("不支持的周期类型")}}function H(e,n,s){return s?y(n).diff(y(e),s):0}function W(e,n,s){if(!s)throw new Error("日期类型不能为空");const r={year:"YYYY",month:"YYYY-MM",day:"YYYY-MM-DD",hour:"HH:mm:ss"}[s];return y(e).subtract(n,s).format(r)}function k(e,n,s,r){const c="YYYY-MM-DD HH:mm:ss",o=E(e,n,s,r),g=y(o);if(n==="month"){const a=g.month();return a===0?[g.startOf("month").format(c),g.date(25).endOf("day").format(c)]:a===11?[g.subtract(1,"month").date(26).startOf("day").format(c),g.endOf("month").format(c)]:[g.subtract(1,"month").date(26).startOf("day").format(c),g.date(25).endOf("day").format(c)]}const j={year:"year",day:"day",hour:"hour"};return[g.startOf(j[n]).format(c),g.endOf(j[n]).format(c)]}function E(e,n,s,r){const c={year:"YYYY",month:"YYYY-MM",day:"YYYY-MM-DD",hour:"YYYY-MM-DD HH:mm:ss"}[n];return y(e,c).add(s*r,n).format(c)}function C(e,n,s){return e[n]||(e[n]={}),e[n][s]||(e[n][s]={}),e[n][s]}async function ze(e){if(!e)throw new Error("cellData is required");const n=Object.entries(e).reduce((s,r)=>{const[c,o]=r;for(const[g,j]of Object.entries(o)){const{custom:a,v:b,t:v,s:f}=j;if(!a)continue;const{cellType:Z}=a,l=!a.hasOwnProperty("writeBack")||F(a?.writeBack)?!0:a.writeBack;if(Z==="indicator"){const z=C(s,c,g);z.custom={...a,required:F(a?.required)?!1:a?.required,defaultShift:F(a?.defaultShift)?!1:a?.defaultShift,forwardPush:F(a?.forwardPush)?!1:a?.forwardPush,forwardPushTimes:F(a?.useDefaultEndDate)?0:a?.forwardPushTimes,useDefaultEndDate:F(a?.useDefaultEndDate)?!1:a?.useDefaultEndDate,copyType:F(a?.copyType)?"":a?.copyType,writeBack:l},z.s=f,z.t=v,z.v=b||""}}return s},{});return!n||F(n)?Promise.reject(new Error("No data found")):Promise.resolve(n)}function L(e,n){return e.replace(/\$\{([^}]+)\}/g,(s,r)=>{try{const c=Object.keys(n),o=Object.values(n);return new Function(...c,`return ${r};`)(...o)}catch(c){return console.error(`表达式执行失败: ${r}`,c),s}})}function qe({acc:e,params:n,initRowNum:s,initColNum:r,cellData:c}){const{rangeData:o,currentDay:g,extraArgs:j}=n,a=j?.teamData||{},{cycleType:b,timeIncrement:v,forwardPush:f,forwardPushTimes:Z,copyType:l,copyInterval:z,defaultShift:N,templateStr:I,useDefaultEndDate:Q}=c.custom;let P=0;switch(b){case"day":{let i="";if(f&&(i=W(o[0],Z,"day")),!l){let m="";f?m=i:m=o[0];const u=C(e,s,r);u.v=I?L(I,{businessDate:m,dayjs:y}):y(m).format("YYYY-MM-DD"),u.t=h.CellValueType.STRING,u.s="tor-time-cell-style";break}f?P=H(i,o[0],"day"):(P=H(o[0],o[1],"day"),console.log("copyNum",P));for(let m=0;m<=Math.abs(P===0?1:P);m++){const u=m*(z+1);let w="";f?w=E(i,"day",m,v):w=E(o[0],"day",m,v);const D=l==="right"?s:s+u,R=l==="right"?r+u:r,B=C(e,D,R);B.v=I?L(I,{businessDate:w,dayjs:y}):y(w).format("YYYY-MM-DD"),B.t=h.CellValueType.STRING,B.s="tor-time-cell-style"}break}case"month":{if(!l){const[i,m]=k(o[1],"month",0,1),u=C(e,s,r);u.v=y(m).format("YYYY-MM"),u.t=h.CellValueType.STRING,u.s="tor-time-cell-style";break}P=H(o[0],o[1],"month");for(let i=0;i<=Math.abs(P===0?1:P);i++){const m=i*(z+1),u=l==="right"?s:s+m,w=l==="right"?r+m:r,D=C(e,u,w);D.v=E(o[0],"month",i,v),D.t=h.CellValueType.STRING,D.s="tor-time-cell-style"}break}case"year":{let i="";if(f&&(i=W(o[0],Z||0,"year")),!l){const m=f?i:o[0],[u,w]=k(m,"year",0,1),D=C(e,s,r),[,R]=k(o[1],"month",0,1);D.v=I?L(I,{startTime:u,endTime:w,rangeData:o,dayjs:y}):m,D.t=h.CellValueType.STRING,D.s="tor-time-cell-style";break}f?P=H(i,o[0],"year"):P=H(o[0],o[1],"year");for(let m=0;m<=Math.abs(P===0?1:P);m++){const u=m*(z+1),w=l==="right"?s:s+u,D=l==="right"?r+u:r,[R,B]=k(o[0],"year",m,v),S=C(e,w,D),O=E(o[0],"year",m,v);S.v=I?L(I,{startTime:R,endTime:B,rangeData:o,dayjs:y}):O,S.t=h.CellValueType.STRING,S.s="tor-time-cell-style"}break}case"hour":{if(!l){const i=C(e,s,r);if(i.t=h.CellValueType.STRING,i.s="tor-time-cell-style",N){i.v=y(o[0]).add(1,"hour").format("YYYY-MM-DD HH:mm:ss");break}i.v=y(g).add(1,"hour").format("YYYY-MM-DD HH:mm:ss");break}P=H(o[0],o[1],"hour");for(let i=0;i<=Math.abs(P===0?1:P);i++){const m=i*(z+1),u=l==="right"?s:s+m,w=l==="right"?r+m:r,D=C(e,u,w);if(D.t=h.CellValueType.STRING,D.s="tor-time-cell-style",N){const R=y(o[0]).add(1,"hour").format("YYYY-MM-DD HH:mm:ss");D.v=E(R,"hour",i,v);continue}D.v=E(y(g).add(1,"hour").format("YYYY-MM-DD HH:mm:ss"),"hour",i,v)}break}case"shift":{if(!l){const i=C(e,s,r);i.t=h.CellValueType.STRING,i.s="tor-time-cell-style",i.v=I?L(I,{rangeData:o,dayjs:y}):o[0];break}if(!a.length)throw new Error("没有获取到当班数据");for(let i=0;i<a.length;i++){const m=a[i],{startDatetime:u,endDatetime:w}=m,D=i*(z+1),R=l==="right"?s:U(s).add(D).toNumber(),B=l==="right"?U(r).add(D).toNumber():r,S=C(e,R,B);S.s="tor-time-cell-style",S.v=I?L(I,{team:m}):u}break}}}async function He(e,n){if(!e)return Promise.reject("没有可用的单元格数据");const{extraArgs:s,rangeData:r}=n;if(!r.length)return Promise.reject("处理时间范围失败, rangeData不能为空");const c=s?.teamData||[],{periodicityTime:o}=n,g=n?.currentDay||y().format("YYYY-MM-DD"),j=(b,v)=>o?parseInt(o.split(":")[0],10)<12?[y(b).format("YYYY-MM-DD")+" "+o,y(v).add(1,"day").format("YYYY-MM-DD")+" "+o]:[y(b).subtract(1,"day").format("YYYY-MM-DD")+" "+o,y(v).format("YYYY-MM-DD")+" "+o]:[b,v],a=Object.entries(e).reduce((b,v)=>{const[f,Z]=v;for(const[l,z]of Object.entries(Z)){const{custom:N}=z;if(!N)continue;const{cellType:I,cycleType:Q,timeIncrement:P,forwardPush:i,forwardPushTimes:m,copyType:u,copyInterval:w,defaultShift:D,useDefaultStartDate:R,useDefaultEndDate:B}=N;if(I==="time"){qe({acc:b,params:n,initRowNum:Number(f),initColNum:Number(l),cellData:z});continue}const S={cycleType:Q,indicatorName:N.indicatorName,indicatorCode:N.indicatorCode,indicatorId:N.indicatorId,indicatorDimensionName:N.indicatorDimensionName,indicatorDimensionConfig:N.indicatorDimensionConfig,required:Oe(N?.required)??!1,cellType:N.cellType,defaultShift:N?.defaultShift||!1,writeBack:F(N?.writeBack)?!0:N.writeBack,dimensionJson:N?.dimensionJson||"",unit:N?.unit||"",innerSyncWay:N?.innerSyncWay||"",outSyncConfigId:N?.outSyncConfigId||"",innerSyncStatus:N?.innerSyncStatus||""};let O=0;switch(Q){case"day":{let d="";if(i&&(d=W(r[0],m||0,"day")),!u){const p=i?d:r[0],[M,Y]=j(...k(p,"day",0,1)),T=C(b,f,l);T.s="tor-indicator-cell-style",T.custom={...S,startTime:M,endTime:Y};break}i?O=H(d,r[0],"day"):O=H(r[0],r[1],"day");for(let p=0;p<=Math.abs(O===0?1:O);p++){const M=p*(w+1),Y=i?d:r[0],[T,V]=j(...k(Y,"day",p,P)),q=u==="right"?f:U(f).add(M).toNumber(),$=u==="right"?U(l).add(M).toNumber():l,A=C(b,q,$);A.s="tor-indicator-cell-style",A.custom={...S,startTime:T,endTime:V}}break}case"month":{if(!u){const[d,p]=k(r[1],"month",0,1),M=C(b,f,l);M.s="tor-indicator-cell-style",M.custom={...S,startTime:d,endTime:p};break}O=H(r[0],r[1],"month");for(let d=0;d<=Math.abs(O===0?1:O);d++){const p=d*(w+1),M=u==="right"?f:U(f).add(p).toNumber(),Y=u==="right"?U(l).add(p).toNumber():l,[T,V]=k(r[0],"month",d,P),q=C(b,M,Y);q.s="tor-indicator-cell-style",q.custom={...S,startTime:T,endTime:V}}break}case"year":{let d="",p="",M="";if(i){d=W(r[0],m||0,"year");const Y=y(r[1]).format("MM");p=y(`${d}-${Y+1}`).format("YYYY-MM"),M=y(`${d}-${Y+2}`).format("YYYY-MM")}if(!u){const Y=i?d:r[0],[T,V]=k(Y,"year",0,1),q=C(b,f,l);q.s="tor-indicator-cell-style";const[,$]=k(p,"month",0,1),[A]=k(M,"month",0,1);q.custom={...S,startTime:R?A:T,endTime:B?$:V};break}i?O=H(d,r[0],"year"):O=H(r[0],r[1],"year");for(let Y=0;Y<=Math.abs(O===0?1:O);Y++){const T=Y*(w+1),V=u==="right"?f:U(f).add(T).toNumber(),q=u==="right"?U(l).add(T).toNumber():l,[$,A]=k(r[0],"year",Y,P),K=C(b,V,q);K.s="tor-indicator-cell-style",K.custom={...S,startTime:$,endTime:A}}break}case"hour":{if(!u){const d=D?r[0]:r[0]??g,[p,M]=k(d,"hour",1,1),Y=C(b,f,l);Y.s="tor-indicator-cell-style",Y.custom={...S,startTime:p,endTime:M};break}O=H(r[0],r[1],"hour");for(let d=0;d<=Math.abs(O===0?1:O);d++){const p=d*(w+1),M=u==="right"?f:U(f).add(p).toNumber(),Y=u==="right"?U(l).add(p).toNumber():l,T=C(b,M,Y);if(T.s="tor-indicator-cell-style",D){const A=y(r[0]).add(1,"hour").format("YYYY-MM-DD HH:mm:ss"),[K,Be]=k(A,"hour",d,P);T.custom={...S,startTime:K,endTime:Be};continue}const V=y(g).add(1,"hour").format("YYYY-MM-DD HH:mm:ss"),[q,$]=k(V,"hour",d,P);T.custom={...S,startTime:q,endTime:$}}break}case"shift":{if(!u){const[d,p]=r,M=C(b,f,l);M.s="tor-indicator-cell-style",M.custom={...S,startTime:d,endTime:p};break}if(!c.length)throw new Error("没有获取到当班数据");for(let d=0;d<c.length;d++){const p=c[d],{startDatetime:M,endDatetime:Y}=p,T=d*(w+1),V=u==="right"?f:U(f).add(T).toNumber(),q=u==="right"?U(l).add(T).toNumber():l,$=C(b,V,q);$.s="tor-indicator-cell-style",$.custom={...S,startTime:M,endTime:Y}}break}}}return b},{});return Promise.resolve(a)}function Ve(e){return Object.entries(e).reduce((s,[r,c])=>{const o=Math.max(...Object.keys(c).map(Number));return o>s?s=Number(o):s=Number(s)||0,s},0)}function Re(e,n){const s=JSON.parse(JSON.stringify(e||{}));for(const[r,c]of Object.entries(n)){s[r]||(s[r]={});for(const[o,g]of Object.entries(c)){const j=g,a=s[r]?.[o];a?s[r][o]={...a,...j,custom:{...a.custom,...j.custom}}:s[r][o]=j}}return s}function $e(e,n){if(!n?.length||!e)return e;const s={};for(const r in e){const c=e[r];for(const o in c){const g=c[o];if(g?.custom?.cellType==="indicator"){const j=Number(r),a=Number(o);if(n.some(v=>j>=v.startRow&&j<=v.endRow&&a>=v.startColumn&&a<=v.endColumn)&&!n.some(f=>j===f.startRow&&a===f.startColumn))continue}s[r]||(s[r]={}),s[r][o]=g}}return s}const Fe="./style.css";Object.defineProperty(t,"CommandType",{enumerable:!0,get:()=>h.CommandType}),Object.defineProperty(t,"FEventName",{enumerable:!0,get:()=>h.FEventName}),Object.defineProperty(t,"FUniver",{enumerable:!0,get:()=>h.FUniver}),Object.defineProperty(t,"ICommandService",{enumerable:!0,get:()=>h.ICommandService}),Object.defineProperty(t,"IUniverInstanceService",{enumerable:!0,get:()=>h.IUniverInstanceService}),Object.defineProperty(t,"Inject",{enumerable:!0,get:()=>h.Inject}),Object.defineProperty(t,"Injector",{enumerable:!0,get:()=>h.Injector}),Object.defineProperty(t,"LocaleType",{enumerable:!0,get:()=>h.LocaleType}),Object.defineProperty(t,"Plugin",{enumerable:!0,get:()=>h.Plugin}),Object.defineProperty(t,"Univer",{enumerable:!0,get:()=>h.Univer}),Object.defineProperty(t,"UniverInstanceType",{enumerable:!0,get:()=>h.UniverInstanceType}),Object.defineProperty(t,"Workbook",{enumerable:!0,get:()=>h.Workbook}),Object.defineProperty(t,"createUniver",{enumerable:!0,get:()=>h.createUniver}),Object.defineProperty(t,"defaultTheme",{enumerable:!0,get:()=>h.defaultTheme}),Object.defineProperty(t,"greenTheme",{enumerable:!0,get:()=>h.greenTheme}),Object.defineProperty(t,"merge",{enumerable:!0,get:()=>h.merge}),Object.defineProperty(t,"mergeLocales",{enumerable:!0,get:()=>h.mergeLocales}),Object.defineProperty(t,"touchDependencies",{enumerable:!0,get:()=>h.touchDependencies}),Object.defineProperty(t,"BaselineOffset",{enumerable:!0,get:()=>X.BaselineOffset}),Object.defineProperty(t,"CommandService",{enumerable:!0,get:()=>X.CommandService}),Object.defineProperty(t,"SetRangeValuesCommand",{enumerable:!0,get:()=>ne.SetRangeValuesCommand}),Object.defineProperty(t,"ComponentManager",{enumerable:!0,get:()=>G.ComponentManager}),Object.defineProperty(t,"ContextMenuGroup",{enumerable:!0,get:()=>G.ContextMenuGroup}),Object.defineProperty(t,"ContextMenuPosition",{enumerable:!0,get:()=>G.ContextMenuPosition}),Object.defineProperty(t,"IMenuManagerService",{enumerable:!0,get:()=>G.IMenuManagerService}),Object.defineProperty(t,"MenuItemType",{enumerable:!0,get:()=>G.MenuItemType}),Object.defineProperty(t,"RibbonStartGroup",{enumerable:!0,get:()=>G.RibbonStartGroup}),Object.defineProperty(t,"UniverVue3AdapterPlugin",{enumerable:!0,get:()=>se.UniverVue3AdapterPlugin}),Object.defineProperty(t,"UniverSheetsAdvancedPreset",{enumerable:!0,get:()=>oe.UniverSheetsAdvancedPreset}),Object.defineProperty(t,"UniverSheetsConditionalFormattingPreset",{enumerable:!0,get:()=>ie.UniverSheetsConditionalFormattingPreset}),Object.defineProperty(t,"UniverSheetsCorePreset",{enumerable:!0,get:()=>ae.UniverSheetsCorePreset}),Object.defineProperty(t,"UniverSheetsDataValidationPreset",{enumerable:!0,get:()=>ue.UniverSheetsDataValidationPreset}),Object.defineProperty(t,"UniverSheetsDrawingPreset",{enumerable:!0,get:()=>ce.UniverSheetsDrawingPreset}),Object.defineProperty(t,"UniverSheetsFilterPreset",{enumerable:!0,get:()=>le.UniverSheetsFilterPreset}),Object.defineProperty(t,"UniverSheetsHyperLinkPreset",{enumerable:!0,get:()=>me.UniverSheetsHyperLinkPreset}),Object.defineProperty(t,"UniverSheetsNotePreset",{enumerable:!0,get:()=>fe.UniverSheetsNotePreset}),t.zhCN=de,t.UniverPresetSheetsAdvancedZhCN=he,t.sheetsConditionalFormattingZhCN=ye,t.sheetsCoreZhCN=ge,t.sheetsDataValidationZhCN=be,t.UniverPresetSheetsDrawingZhCN=ve,t.sheetsDrawingZhCN=pe,t.sheetsFilterZhCN=De,t.sheetsHyperLinkZhCN=Ye,t.UniverPresetSheetsNoteZhCN=Ce,t.CycleTypeEnum=te,t.ModeEnum=re,t.decimal=U,t.filterIndicatorsCell=ze,t.filterMergedIndicatorCells=$e,t.generateIndicatorsCells=He,t.generateUUID=x,t.getNumColumns=Ve,t.handleClearInput=Pe,t.initDateRange=Ue,t.mergeCellData=Re,t.stylePath=Fe,t.useData=Me,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})}));
|
|
1
|
+
(function(t,h){typeof exports=="object"&&typeof module<"u"?h(exports,require("@univerjs/presets"),require("@univerjs/core"),require("@univerjs/sheets"),require("@univerjs/ui"),require("@univerjs/ui-adapter-vue3"),require("@univerjs/preset-sheets-advanced"),require("@univerjs/presets/preset-sheets-conditional-formatting"),require("@univerjs/presets/preset-sheets-core"),require("@univerjs/presets/preset-sheets-data-validation"),require("@univerjs/presets/preset-sheets-drawing"),require("@univerjs/presets/preset-sheets-filter"),require("@univerjs/presets/preset-sheets-hyper-link"),require("@univerjs/preset-sheets-note"),require("@univerjs/preset-sheets-core/locales/zh-CN"),require("@univerjs/preset-sheets-advanced/locales/zh-CN"),require("@univerjs/presets/preset-sheets-conditional-formatting/locales/zh-CN"),require("@univerjs/presets/preset-sheets-core/locales/zh-CN"),require("@univerjs/presets/preset-sheets-data-validation/locales/zh-CN"),require("@univerjs/preset-sheets-drawing/locales/zh-CN"),require("@univerjs/presets/preset-sheets-drawing/locales/zh-CN"),require("@univerjs/presets/preset-sheets-filter/locales/zh-CN"),require("@univerjs/presets/preset-sheets-hyper-link/locales/zh-CN"),require("@univerjs/preset-sheets-note/locales/zh-CN"),require("dayjs"),require("decimal.js")):typeof define=="function"&&define.amd?define(["exports","@univerjs/presets","@univerjs/core","@univerjs/sheets","@univerjs/ui","@univerjs/ui-adapter-vue3","@univerjs/preset-sheets-advanced","@univerjs/presets/preset-sheets-conditional-formatting","@univerjs/presets/preset-sheets-core","@univerjs/presets/preset-sheets-data-validation","@univerjs/presets/preset-sheets-drawing","@univerjs/presets/preset-sheets-filter","@univerjs/presets/preset-sheets-hyper-link","@univerjs/preset-sheets-note","@univerjs/preset-sheets-core/locales/zh-CN","@univerjs/preset-sheets-advanced/locales/zh-CN","@univerjs/presets/preset-sheets-conditional-formatting/locales/zh-CN","@univerjs/presets/preset-sheets-core/locales/zh-CN","@univerjs/presets/preset-sheets-data-validation/locales/zh-CN","@univerjs/preset-sheets-drawing/locales/zh-CN","@univerjs/presets/preset-sheets-drawing/locales/zh-CN","@univerjs/presets/preset-sheets-filter/locales/zh-CN","@univerjs/presets/preset-sheets-hyper-link/locales/zh-CN","@univerjs/preset-sheets-note/locales/zh-CN","dayjs","decimal.js"],h):(t=typeof globalThis<"u"?globalThis:t||self,h(t.TorUniverSheet={},t.presets,t.core,t.sheets,t.ui,t.uiAdapterVue3,t.presetSheetsAdvanced,t.presetSheetsConditionalFormatting,t.presetSheetsCore,t.presetSheetsDataValidation,t.presetSheetsDrawing,t.presetSheetsFilter,t.presetSheetsHyperLink,t.presetSheetsNote,t.zhCN$9,t.zhCN,t.zhCN$3,t.zhCN$4,t.zhCN$5,t.zhCN$1,t.zhCN$6,t.zhCN$7,t.zhCN$8,t.zhCN$2,t.dayjs,t.Decimal))})(this,(function(t,h,X,ne,L,se,oe,ie,ae,ue,ce,le,fe,me,de,he,ye,ge,be,ve,pe,Ye,De,Ce,y,_){"use strict";const Pe=(e,n)=>{for(const s of n)e[s]=null},x=()=>{if(typeof crypto=="object"){if(typeof crypto.randomUUID=="function")return crypto.randomUUID();if(typeof crypto.getRandomValues=="function"&&typeof Uint8Array=="function"){const s=r=>{const c=Number(r);return(c^crypto.getRandomValues(new Uint8Array(1))[0]&15>>c/4).toString(16)};return"10000000-1000-4000-8000-100000000000".replace(/[018]/g,s)}}let e=new Date().getTime(),n=typeof performance<"u"&&performance.now&&performance.now()*1e3||0;return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,s=>{let r=Math.random()*16;return e>0?(r=(e+r)%16|0,e=Math.floor(e/16)):(r=(n+r)%16|0,n=Math.floor(n/16)),(s==="x"?r:r&3|8).toString(16)})};function Me(e){return{...e?.workbookData,id:e?.id||x(),name:e?.name||"未命名",appVersion:e?.appVersion||"1.0.0"}}const Ne=Object.prototype.toString,ee=(e,n)=>Ne.call(e)===`[object ${n}]`,je=e=>typeof e<"u",we=e=>!je(e),Se=e=>e!==null&&ee(e,"Object"),F=e=>e==null||typeof e>"u"?!0:W(e)||ke(e)?e.length===0:e instanceof Map||e instanceof Set?e.size===0:Se(e)?Object.keys(e).length===0:!1,Te=e=>e===null,Oe=e=>we(e)||Te(e),ke=e=>ee(e,"String"),W=e=>e&&Array.isArray(e);class Ie{value;constructor(n){this.value=new _(n)}add(n){return this.value=this.value.add(n||0),this}subtract(n){return this.value=this.value.sub(n||0),this}multiply(n){return this.value=this.value.mul(n||0),this}divide(n){const s=new _(n);if(s.isZero())throw new Error("除数是0");return this.value=this.value.div(s),this}toFixed(n,s){return this.value=new _(this.value.toFixed(n,s)),this}valueOf(){return this.value}toString(){return this.value.toString()}toNumber(){return this.value.toNumber()}}function U(e=0){return new Ie(e)}var te=(e=>(e.无="no",e.年="year",e.月="month",e.周="week",e.天="day",e.班组="shift",e.小时="hour",e.半小时="half_hour",e))(te||{}),re=(e=>(e.view="view",e.edit="edit",e))(re||{});async function Ue(e,n){if(!n)return Promise.reject("日期不能为空");switch(e){case"year":if(W(n))return Promise.resolve(n);const s=y(n);if(!s.isValid())return Promise.reject("无效的日期格式");const r=s.year(),c=`${r}-01`,o=`${r}-12`;return Promise.resolve([c,o]);case"month":if(W(n))return Promise.resolve(n);const g=y(n);if(!g.isValid())return Promise.reject("无效的日期格式");const j=g.startOf("month").format("YYYY-MM-DD"),a=g.endOf("month").format("YYYY-MM-DD");return Promise.resolve([j,a]);case"day":if(W(n))return Promise.resolve(n);const b=y(n);if(!b.isValid())return Promise.reject("无效的日期格式");const v=b.startOf("day").format("YYYY-MM-DD HH:mm:ss"),f=b.endOf("day").format("YYYY-MM-DD HH:mm:ss");return Promise.resolve([v,f]);default:return Promise.reject("不支持的周期类型")}}function H(e,n,s){return s?y(n).diff(y(e),s):0}function J(e,n,s){if(!s)throw new Error("日期类型不能为空");const r={year:"YYYY",month:"YYYY-MM",day:"YYYY-MM-DD",hour:"HH:mm:ss"}[s];return y(e).subtract(n,s).format(r)}function k(e,n,s,r){const c="YYYY-MM-DD HH:mm:ss",o=E(e,n,s,r),g=y(o);if(n==="month"){const a=g.month();return a===0?[g.startOf("month").format(c),g.date(25).endOf("day").format(c)]:a===11?[g.subtract(1,"month").date(26).startOf("day").format(c),g.endOf("month").format(c)]:[g.subtract(1,"month").date(26).startOf("day").format(c),g.date(25).endOf("day").format(c)]}const j={year:"year",day:"day",hour:"hour"};return[g.startOf(j[n]).format(c),g.endOf(j[n]).format(c)]}function E(e,n,s,r){const c={year:"YYYY",month:"YYYY-MM",day:"YYYY-MM-DD",hour:"YYYY-MM-DD HH:mm:ss"}[n];return y(e,c).add(s*r,n).format(c)}function P(e,n,s){return e[n]||(e[n]={}),e[n][s]||(e[n][s]={}),e[n][s]}async function ze(e){if(!e)throw new Error("cellData is required");const n=Object.entries(e).reduce((s,r)=>{const[c,o]=r;for(const[g,j]of Object.entries(o)){const{custom:a,v:b,t:v,s:f}=j;if(!a)continue;const{cellType:G}=a,l=!a.hasOwnProperty("writeBack")||F(a?.writeBack)?!0:a.writeBack;if(G==="indicator"){const z=P(s,c,g);z.custom={...a,required:F(a?.required)?!1:a?.required,defaultShift:F(a?.defaultShift)?!1:a?.defaultShift,forwardPush:F(a?.forwardPush)?!1:a?.forwardPush,forwardPushTimes:F(a?.useDefaultEndDate)?0:a?.forwardPushTimes,useDefaultEndDate:F(a?.useDefaultEndDate)?!1:a?.useDefaultEndDate,copyType:F(a?.copyType)?"":a?.copyType,writeBack:l},z.s=f,z.t=v,z.v=b||""}}return s},{});return!n||F(n)?Promise.reject(new Error("No data found")):Promise.resolve(n)}function Z(e,n){return e.replace(/\$\{([^}]+)\}/g,(s,r)=>{try{const c=Object.keys(n),o=Object.values(n);return new Function(...c,`return ${r};`)(...o)}catch(c){return console.error(`表达式执行失败: ${r}`,c),s}})}function qe({acc:e,params:n,initRowNum:s,initColNum:r,cellData:c}){const{rangeData:o,currentDay:g,extraArgs:j}=n,a=j?.teamData||{},{cycleType:b,timeIncrement:v,forwardPush:f,forwardPushTimes:G,copyType:l,copyInterval:z,defaultShift:Y,templateStr:I,useDefaultEndDate:Q}=c.custom;let M=0;switch(b){case"day":{let i="";if(f&&(i=J(o[0],G,"day")),!l){let m="";f?m=i:m=o[0];const u=P(e,s,r);u.v=I?Z(I,{businessDate:m,dayjs:y}):y(m).format("YYYY-MM-DD"),u.t=h.CellValueType.STRING,u.s="tor-time-cell-style";break}f?M=H(i,o[0],"day"):(M=H(o[0],o[1],"day"),console.log("copyNum",M));for(let m=0;m<=Math.abs(M===0?1:M);m++){const u=m*(z+1);let w="";f?w=E(i,"day",m,v):w=E(o[0],"day",m,v);const D=l==="right"?s:s+u,R=l==="right"?r+u:r,B=P(e,D,R);B.v=I?Z(I,{businessDate:w,dayjs:y}):y(w).format("YYYY-MM-DD"),B.t=h.CellValueType.STRING,B.s="tor-time-cell-style"}break}case"month":{if(!l){const[i,m]=k(o[1],"month",0,1),u=P(e,s,r);u.v=y(m).format("YYYY-MM"),u.t=h.CellValueType.STRING,u.s="tor-time-cell-style";break}M=H(o[0],o[1],"month");for(let i=0;i<=Math.abs(M===0?1:M);i++){const m=i*(z+1),u=l==="right"?s:s+m,w=l==="right"?r+m:r,D=P(e,u,w);D.v=E(o[0],"month",i,v),D.t=h.CellValueType.STRING,D.s="tor-time-cell-style"}break}case"year":{let i="";if(f&&(i=J(o[0],G||0,"year")),!l){const m=f?i:o[0],[u,w]=k(m,"year",0,1),D=P(e,s,r),[,R]=k(o[1],"month",0,1);D.v=I?Z(I,{startTime:u,endTime:w,rangeData:o,dayjs:y}):m,D.t=h.CellValueType.STRING,D.s="tor-time-cell-style";break}f?M=H(i,o[0],"year"):M=H(o[0],o[1],"year");for(let m=0;m<=Math.abs(M===0?1:M);m++){const u=m*(z+1),w=l==="right"?s:s+u,D=l==="right"?r+u:r,[R,B]=k(o[0],"year",m,v),S=P(e,w,D),O=E(o[0],"year",m,v);S.v=I?Z(I,{startTime:R,endTime:B,rangeData:o,dayjs:y}):O,S.t=h.CellValueType.STRING,S.s="tor-time-cell-style"}break}case"hour":{if(!l){const i=P(e,s,r);if(i.t=h.CellValueType.STRING,i.s="tor-time-cell-style",Y){i.v=y(o[0]).add(1,"hour").format("YYYY-MM-DD HH:mm:ss");break}i.v=y(g).add(1,"hour").format("YYYY-MM-DD HH:mm:ss");break}M=H(o[0],o[1],"hour");for(let i=0;i<=Math.abs(M===0?1:M);i++){const m=i*(z+1),u=l==="right"?s:s+m,w=l==="right"?r+m:r,D=P(e,u,w);if(D.t=h.CellValueType.STRING,D.s="tor-time-cell-style",Y){const R=y(o[0]).add(1,"hour").format("YYYY-MM-DD HH:mm:ss");D.v=E(R,"hour",i,v);continue}D.v=E(y(g).add(1,"hour").format("YYYY-MM-DD HH:mm:ss"),"hour",i,v)}break}case"shift":{if(!l){const i=P(e,s,r);i.t=h.CellValueType.STRING,i.s="tor-time-cell-style",i.v=I?Z(I,{rangeData:o,dayjs:y}):o[0];break}if(!a.length)throw new Error("没有获取到当班数据");for(let i=0;i<a.length;i++){const m=a[i],{startDatetime:u,endDatetime:w}=m,D=i*(z+1),R=l==="right"?s:U(s).add(D).toNumber(),B=l==="right"?U(r).add(D).toNumber():r,S=P(e,R,B);S.s="tor-time-cell-style",S.v=I?Z(I,{team:m}):u}break}}}async function He(e,n){if(!e)return Promise.reject("没有可用的单元格数据");const{extraArgs:s,rangeData:r}=n;if(!r.length)return Promise.reject("处理时间范围失败, rangeData不能为空");const c=s?.teamData||[],{periodicityTime:o}=n,g=n?.currentDay||y().format("YYYY-MM-DD"),j=(b,v,f)=>o?f!=="MACH_CYCLE"?[b,v]:parseInt(o.split(":")[0],10)<12?[y(b).format("YYYY-MM-DD")+" "+o,y(v).add(1,"day").format("YYYY-MM-DD")+" "+o]:[y(b).subtract(1,"day").format("YYYY-MM-DD")+" "+o,y(v).format("YYYY-MM-DD")+" "+o]:[b,v],a=Object.entries(e).reduce((b,v)=>{const[f,G]=v;for(const[l,z]of Object.entries(G)){const{custom:Y}=z;if(!Y)continue;const{cellType:I,cycleType:Q,timeIncrement:M,forwardPush:i,forwardPushTimes:m,copyType:u,copyInterval:w,defaultShift:D,useDefaultStartDate:R,useDefaultEndDate:B}=Y;if(I==="time"){qe({acc:b,params:n,initRowNum:Number(f),initColNum:Number(l),cellData:z});continue}const S={cycleType:Q,indicatorName:Y.indicatorName,indicatorCode:Y.indicatorCode,indicatorId:Y.indicatorId,indicatorDimensionName:Y.indicatorDimensionName,indicatorDimensionConfig:Y.indicatorDimensionConfig,required:Oe(Y?.required)??!1,cellType:Y.cellType,defaultShift:Y?.defaultShift||!1,writeBack:F(Y?.writeBack)?!0:Y.writeBack,dimensionJson:Y?.dimensionJson||"",unit:Y?.unit||"",innerSyncWay:Y?.innerSyncWay||"",outSyncConfigId:Y?.outSyncConfigId||"",innerSyncStatus:Y?.innerSyncStatus||""};let O=0;switch(Q){case"day":{let d="";if(i&&(d=J(r[0],m||0,"day")),!u){const p=i?d:r[0],[N,C]=j(...k(p,"day",0,1),Y?.innerSyncWay),T=P(b,f,l);T.s="tor-indicator-cell-style",T.custom={...S,startTime:N,endTime:C};break}i?O=H(d,r[0],"day"):O=H(r[0],r[1],"day");for(let p=0;p<=Math.abs(O===0?1:O);p++){const N=p*(w+1),C=i?d:r[0],[T,V]=j(...k(C,"day",p,M),Y?.innerSyncWay),q=u==="right"?f:U(f).add(N).toNumber(),$=u==="right"?U(l).add(N).toNumber():l,A=P(b,q,$);A.s="tor-indicator-cell-style",A.custom={...S,startTime:T,endTime:V}}break}case"month":{if(!u){const[d,p]=k(r[1],"month",0,1),N=P(b,f,l);N.s="tor-indicator-cell-style",N.custom={...S,startTime:d,endTime:p};break}O=H(r[0],r[1],"month");for(let d=0;d<=Math.abs(O===0?1:O);d++){const p=d*(w+1),N=u==="right"?f:U(f).add(p).toNumber(),C=u==="right"?U(l).add(p).toNumber():l,[T,V]=k(r[0],"month",d,M),q=P(b,N,C);q.s="tor-indicator-cell-style",q.custom={...S,startTime:T,endTime:V}}break}case"year":{let d="",p="",N="";if(i){d=J(r[0],m||0,"year");const C=y(r[1]).format("MM");p=y(`${d}-${C+1}`).format("YYYY-MM"),N=y(`${d}-${C+2}`).format("YYYY-MM")}if(!u){const C=i?d:r[0],[T,V]=k(C,"year",0,1),q=P(b,f,l);q.s="tor-indicator-cell-style";const[,$]=k(p,"month",0,1),[A]=k(N,"month",0,1);q.custom={...S,startTime:R?A:T,endTime:B?$:V};break}i?O=H(d,r[0],"year"):O=H(r[0],r[1],"year");for(let C=0;C<=Math.abs(O===0?1:O);C++){const T=C*(w+1),V=u==="right"?f:U(f).add(T).toNumber(),q=u==="right"?U(l).add(T).toNumber():l,[$,A]=k(r[0],"year",C,M),K=P(b,V,q);K.s="tor-indicator-cell-style",K.custom={...S,startTime:$,endTime:A}}break}case"hour":{if(!u){const d=D?r[0]:r[0]??g,[p,N]=k(d,"hour",1,1),C=P(b,f,l);C.s="tor-indicator-cell-style",C.custom={...S,startTime:p,endTime:N};break}O=H(r[0],r[1],"hour");for(let d=0;d<=Math.abs(O===0?1:O);d++){const p=d*(w+1),N=u==="right"?f:U(f).add(p).toNumber(),C=u==="right"?U(l).add(p).toNumber():l,T=P(b,N,C);if(T.s="tor-indicator-cell-style",D){const A=y(r[0]).add(1,"hour").format("YYYY-MM-DD HH:mm:ss"),[K,Be]=k(A,"hour",d,M);T.custom={...S,startTime:K,endTime:Be};continue}const V=y(g).add(1,"hour").format("YYYY-MM-DD HH:mm:ss"),[q,$]=k(V,"hour",d,M);T.custom={...S,startTime:q,endTime:$}}break}case"shift":{if(!u){const[d,p]=r,N=P(b,f,l);N.s="tor-indicator-cell-style",N.custom={...S,startTime:d,endTime:p};break}if(!c.length)throw new Error("没有获取到当班数据");for(let d=0;d<c.length;d++){const p=c[d],{startDatetime:N,endDatetime:C}=p,T=d*(w+1),V=u==="right"?f:U(f).add(T).toNumber(),q=u==="right"?U(l).add(T).toNumber():l,$=P(b,V,q);$.s="tor-indicator-cell-style",$.custom={...S,startTime:N,endTime:C}}break}}}return b},{});return Promise.resolve(a)}function Ve(e){return Object.entries(e).reduce((s,[r,c])=>{const o=Math.max(...Object.keys(c).map(Number));return o>s?s=Number(o):s=Number(s)||0,s},0)}function Re(e,n){const s=JSON.parse(JSON.stringify(e||{}));for(const[r,c]of Object.entries(n)){s[r]||(s[r]={});for(const[o,g]of Object.entries(c)){const j=g,a=s[r]?.[o];a?s[r][o]={...a,...j,custom:{...a.custom,...j.custom}}:s[r][o]=j}}return s}function $e(e,n){if(!n?.length||!e)return e;const s={};for(const r in e){const c=e[r];for(const o in c){const g=c[o];if(g?.custom?.cellType==="indicator"){const j=Number(r),a=Number(o);if(n.some(v=>j>=v.startRow&&j<=v.endRow&&a>=v.startColumn&&a<=v.endColumn)&&!n.some(f=>j===f.startRow&&a===f.startColumn))continue}s[r]||(s[r]={}),s[r][o]=g}}return s}const Fe="./style.css";Object.defineProperty(t,"CommandType",{enumerable:!0,get:()=>h.CommandType}),Object.defineProperty(t,"FEventName",{enumerable:!0,get:()=>h.FEventName}),Object.defineProperty(t,"FUniver",{enumerable:!0,get:()=>h.FUniver}),Object.defineProperty(t,"ICommandService",{enumerable:!0,get:()=>h.ICommandService}),Object.defineProperty(t,"IUniverInstanceService",{enumerable:!0,get:()=>h.IUniverInstanceService}),Object.defineProperty(t,"Inject",{enumerable:!0,get:()=>h.Inject}),Object.defineProperty(t,"Injector",{enumerable:!0,get:()=>h.Injector}),Object.defineProperty(t,"LocaleType",{enumerable:!0,get:()=>h.LocaleType}),Object.defineProperty(t,"Plugin",{enumerable:!0,get:()=>h.Plugin}),Object.defineProperty(t,"Univer",{enumerable:!0,get:()=>h.Univer}),Object.defineProperty(t,"UniverInstanceType",{enumerable:!0,get:()=>h.UniverInstanceType}),Object.defineProperty(t,"Workbook",{enumerable:!0,get:()=>h.Workbook}),Object.defineProperty(t,"createUniver",{enumerable:!0,get:()=>h.createUniver}),Object.defineProperty(t,"defaultTheme",{enumerable:!0,get:()=>h.defaultTheme}),Object.defineProperty(t,"greenTheme",{enumerable:!0,get:()=>h.greenTheme}),Object.defineProperty(t,"merge",{enumerable:!0,get:()=>h.merge}),Object.defineProperty(t,"mergeLocales",{enumerable:!0,get:()=>h.mergeLocales}),Object.defineProperty(t,"touchDependencies",{enumerable:!0,get:()=>h.touchDependencies}),Object.defineProperty(t,"BaselineOffset",{enumerable:!0,get:()=>X.BaselineOffset}),Object.defineProperty(t,"CommandService",{enumerable:!0,get:()=>X.CommandService}),Object.defineProperty(t,"SetRangeValuesCommand",{enumerable:!0,get:()=>ne.SetRangeValuesCommand}),Object.defineProperty(t,"ComponentManager",{enumerable:!0,get:()=>L.ComponentManager}),Object.defineProperty(t,"ContextMenuGroup",{enumerable:!0,get:()=>L.ContextMenuGroup}),Object.defineProperty(t,"ContextMenuPosition",{enumerable:!0,get:()=>L.ContextMenuPosition}),Object.defineProperty(t,"IMenuManagerService",{enumerable:!0,get:()=>L.IMenuManagerService}),Object.defineProperty(t,"MenuItemType",{enumerable:!0,get:()=>L.MenuItemType}),Object.defineProperty(t,"RibbonStartGroup",{enumerable:!0,get:()=>L.RibbonStartGroup}),Object.defineProperty(t,"UniverVue3AdapterPlugin",{enumerable:!0,get:()=>se.UniverVue3AdapterPlugin}),Object.defineProperty(t,"UniverSheetsAdvancedPreset",{enumerable:!0,get:()=>oe.UniverSheetsAdvancedPreset}),Object.defineProperty(t,"UniverSheetsConditionalFormattingPreset",{enumerable:!0,get:()=>ie.UniverSheetsConditionalFormattingPreset}),Object.defineProperty(t,"UniverSheetsCorePreset",{enumerable:!0,get:()=>ae.UniverSheetsCorePreset}),Object.defineProperty(t,"UniverSheetsDataValidationPreset",{enumerable:!0,get:()=>ue.UniverSheetsDataValidationPreset}),Object.defineProperty(t,"UniverSheetsDrawingPreset",{enumerable:!0,get:()=>ce.UniverSheetsDrawingPreset}),Object.defineProperty(t,"UniverSheetsFilterPreset",{enumerable:!0,get:()=>le.UniverSheetsFilterPreset}),Object.defineProperty(t,"UniverSheetsHyperLinkPreset",{enumerable:!0,get:()=>fe.UniverSheetsHyperLinkPreset}),Object.defineProperty(t,"UniverSheetsNotePreset",{enumerable:!0,get:()=>me.UniverSheetsNotePreset}),t.zhCN=de,t.UniverPresetSheetsAdvancedZhCN=he,t.sheetsConditionalFormattingZhCN=ye,t.sheetsCoreZhCN=ge,t.sheetsDataValidationZhCN=be,t.UniverPresetSheetsDrawingZhCN=ve,t.sheetsDrawingZhCN=pe,t.sheetsFilterZhCN=Ye,t.sheetsHyperLinkZhCN=De,t.UniverPresetSheetsNoteZhCN=Ce,t.CycleTypeEnum=te,t.ModeEnum=re,t.decimal=U,t.filterIndicatorsCell=ze,t.filterMergedIndicatorCells=$e,t.generateIndicatorsCells=He,t.generateUUID=x,t.getNumColumns=Ve,t.handleClearInput=Pe,t.initDateRange=Ue,t.mergeCellData=Re,t.stylePath=Fe,t.useData=Me,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})}));
|
package/dist/types/index.d.ts
CHANGED
|
@@ -298,6 +298,11 @@ export declare interface UniverSheetsProps {
|
|
|
298
298
|
showSyncContextMenuPlugin?: boolean;
|
|
299
299
|
showTimeConfigContextMenuPlugin?: boolean;
|
|
300
300
|
showIndicatorDetailPlugin?: boolean;
|
|
301
|
+
showRemoveConfigPlugin?: boolean;
|
|
302
|
+
showPreserveCustomPlugin?: boolean;
|
|
303
|
+
showClearIndicatorValuePlugin?: boolean;
|
|
304
|
+
recordId?: any;
|
|
305
|
+
templateMenu?: any;
|
|
301
306
|
}
|
|
302
307
|
|
|
303
308
|
export { UniverVue3AdapterPlugin }
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/* @univerjs CSS - concatenated by tor-univer-sheet build */
|
|
2
|
+
|
|
3
|
+
/* === node_modules/@univerjs/presets/lib/styles/preset-sheets-core.css === */
|
|
4
|
+
*,:before,:after,::backdrop{--univer-tw-border-spacing-x: 0;--univer-tw-border-spacing-y: 0;--univer-tw-translate-x: 0;--univer-tw-translate-y: 0;--univer-tw-rotate: 0;--univer-tw-skew-x: 0;--univer-tw-skew-y: 0;--univer-tw-scale-x: 1;--univer-tw-scale-y: 1;--univer-tw-pan-x: ;--univer-tw-pan-y: ;--univer-tw-pinch-zoom: ;--univer-tw-scroll-snap-strictness: proximity;--univer-tw-gradient-from-position: ;--univer-tw-gradient-via-position: ;--univer-tw-gradient-to-position: ;--univer-tw-ordinal: ;--univer-tw-slashed-zero: ;--univer-tw-numeric-figure: ;--univer-tw-numeric-spacing: ;--univer-tw-numeric-fraction: ;--univer-tw-ring-inset: ;--univer-tw-ring-offset-width: 0px;--univer-tw-ring-offset-color: #fff;--univer-tw-ring-color: #93c5fd80;--univer-tw-ring-offset-shadow: 0 0 #0000;--univer-tw-ring-shadow: 0 0 #0000;--univer-tw-shadow: 0 0 #0000;--univer-tw-shadow-colored: 0 0 #0000;--univer-tw-blur: ;--univer-tw-brightness: ;--univer-tw-contrast: ;--univer-tw-grayscale: ;--univer-tw-hue-rotate: ;--univer-tw-invert: ;--univer-tw-saturate: ;--univer-tw-sepia: ;--univer-tw-drop-shadow: ;--univer-tw-backdrop-blur: ;--univer-tw-backdrop-brightness: ;--univer-tw-backdrop-contrast: ;--univer-tw-backdrop-grayscale: ;--univer-tw-backdrop-hue-rotate: ;--univer-tw-backdrop-invert: ;--univer-tw-backdrop-opacity: ;--univer-tw-backdrop-saturate: ;--univer-tw-backdrop-sepia: ;--univer-tw-contain-size: ;--univer-tw-contain-layout: ;--univer-tw-contain-paint: ;--univer-tw-contain-style: }*{scrollbar-color:initial;scrollbar-width:initial}.univer-sr-only{clip:rect(0,0,0,0);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.univer-inset-x-0{left:0;right:0}.univer-bottom-0\.5{bottom:.125rem}.univer-bottom-6{bottom:1.5rem}.univer-left-0\.5{left:.125rem}.univer-left-2{left:.5rem}.univer-left-\[-16px\]{left:-16px}.univer-right-4{right:1rem}.univer-right-px{right:1px}.univer-top-px{top:1px}.univer-z-0{z-index:0}.univer-z-\[1081\]{z-index:1081}.-univer-mx-1{margin-left:-.25rem;margin-right:-.25rem}.univer-my-0{margin-top:0;margin-bottom:0}.univer-ml-auto{margin-left:auto}.univer-inline-block{display:inline-block}.\!univer-hidden{display:none!important}.univer-size-2{width:.5rem;height:.5rem}.univer-size-2\.5{width:.625rem;height:.625rem}.univer-size-5{width:1.25rem;height:1.25rem}.univer-h-1\/2{height:50%}.univer-h-12{height:3rem}.univer-h-2{height:.5rem}.univer-h-32{height:8rem}.univer-h-48{height:12rem}.univer-h-\[150px\]{height:150px}.univer-h-\[calc\(100\%-2px\)\]{height:calc(100% - 2px)}.univer-max-h-0{max-height:0}.univer-max-h-80{max-height:20rem}.univer-max-h-\[--radix-popper-available-height\]{max-height:var(--radix-popper-available-height)}.univer-max-h-\[40vh\]{max-height:40vh}.univer-max-h-full{max-height:100%}.univer-max-h-screen{max-height:100vh}.univer-min-h-3\.5{min-height:.875rem}.univer-min-h-\[520px\]{min-height:520px}.\!univer-w-fit{width:fit-content!important}.univer-w-2\.5{width:.625rem}.univer-w-64{width:16rem}.univer-w-72{width:18rem}.univer-w-80{width:20rem}.univer-w-\[--radix-popper-anchor-width\]{width:var(--radix-popper-anchor-width)}.univer-w-\[calc\(100\%-16px\)\]{width:calc(100% - 16px)}.univer-min-w-36{min-width:9rem}.univer-min-w-\[320px\]{min-width:320px}.univer-max-w-2xl{max-width:42rem}.univer-max-w-\[520px\]{max-width:520px}.univer-max-w-\[60vw\]{max-width:60vw}.univer-max-w-sm{max-width:24rem}.univer-max-w-xs{max-width:20rem}.univer-shrink{flex-shrink:1}.univer-shrink-0{flex-shrink:0}.univer-origin-\[--radix-hover-card-content-transform-origin\]{transform-origin:var(--radix-hover-card-content-transform-origin)}.-univer-translate-y-1\/2,.univer--translate-y-1\/2{--univer-tw-translate-y: -50%;transform:translate(var(--univer-tw-translate-x),-50%) rotate(var(--univer-tw-rotate)) skew(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y));transform:translate(var(--univer-tw-translate-x),var(--univer-tw-translate-y)) rotate(var(--univer-tw-rotate)) skew(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y))}.univer-translate-x-3{--univer-tw-translate-x: .75rem;transform:translate(.75rem,var(--univer-tw-translate-y)) rotate(var(--univer-tw-rotate)) skew(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y));transform:translate(var(--univer-tw-translate-x),var(--univer-tw-translate-y)) rotate(var(--univer-tw-rotate)) skew(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y))}.-univer-rotate-90{--univer-tw-rotate: -90deg;transform:translate(var(--univer-tw-translate-x),var(--univer-tw-translate-y)) rotate(-90deg) skew(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y));transform:translate(var(--univer-tw-translate-x),var(--univer-tw-translate-y)) rotate(var(--univer-tw-rotate)) skew(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y))}.univer-rotate-0{--univer-tw-rotate: 0deg;transform:translate(var(--univer-tw-translate-x),var(--univer-tw-translate-y)) rotate(0) skew(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y));transform:translate(var(--univer-tw-translate-x),var(--univer-tw-translate-y)) rotate(var(--univer-tw-rotate)) skew(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y))}.univer-rotate-45{--univer-tw-rotate: 45deg;transform:translate(var(--univer-tw-translate-x),var(--univer-tw-translate-y)) rotate(45deg) skew(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y));transform:translate(var(--univer-tw-translate-x),var(--univer-tw-translate-y)) rotate(var(--univer-tw-rotate)) skew(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y))}.univer-rotate-\[-90deg\]{--univer-tw-rotate: -90deg;transform:translate(var(--univer-tw-translate-x),var(--univer-tw-translate-y)) rotate(-90deg) skew(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y));transform:translate(var(--univer-tw-translate-x),var(--univer-tw-translate-y)) rotate(var(--univer-tw-rotate)) skew(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y))}.\!univer-animate-none{animation:none!important}.univer-cursor-crosshair{cursor:crosshair}.univer-cursor-grabbing{cursor:grabbing}.univer-resize{resize:both}.univer-grid-flow-row{grid-auto-flow:row}.univer-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.univer-grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.univer-flex-col-reverse{flex-direction:column-reverse}.univer-content-center{align-content:center}.univer-space-y-1\.5>:not([hidden])~:not([hidden]){--univer-tw-space-y-reverse: 0;margin-top:calc(.375rem * (1 - var(--univer-tw-space-y-reverse)));margin-top:.375rem;margin-top:calc(.375rem * calc(1 - var(--univer-tw-space-y-reverse)));margin-bottom:0;margin-bottom:calc(.375rem * var(--univer-tw-space-y-reverse))}.univer-divide-x>:not([hidden])~:not([hidden]){--univer-tw-divide-x-reverse: 0;border-right-width:0;border-right-width:calc(1px * var(--univer-tw-divide-x-reverse));border-left-width:calc(1px * (1 - var(--univer-tw-divide-x-reverse)));border-left-width:1px;border-left-width:calc(1px * calc(1 - var(--univer-tw-divide-x-reverse)))}.univer-divide-y-0>:not([hidden])~:not([hidden]){--univer-tw-divide-y-reverse: 0;border-top-width:calc(0px * (1 - var(--univer-tw-divide-y-reverse)));border-top-width:0;border-top-width:calc(0px * calc(1 - var(--univer-tw-divide-y-reverse)));border-bottom-width:0;border-bottom-width:calc(0px * var(--univer-tw-divide-y-reverse))}.univer-text-ellipsis{text-overflow:ellipsis}.univer-text-balance{text-wrap:balance}.\!univer-rounded-b-none{border-bottom-right-radius:0!important;border-bottom-left-radius:0!important}.\!univer-rounded-l-none{border-top-left-radius:0!important;border-bottom-left-radius:0!important}.\!univer-rounded-r-none{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.\!univer-rounded-t-none{border-top-left-radius:0!important;border-top-right-radius:0!important}.univer-rounded-r-md{border-top-right-radius:.375rem;border-bottom-right-radius:.375rem}.\!univer-border-l-0{border-left-width:0!important}.\!univer-border-t-0{border-top-width:0!important}.univer-border-b-0{border-bottom-width:0}.univer-border-l{border-left-width:1px}.univer-border-l-0{border-left-width:0}.univer-border-r{border-right-width:1px}.univer-border-t{border-top-width:1px}.univer-border-t-0{border-top-width:0}.univer-border-dashed{border-style:dashed}.\!univer-border-gray-200{border-color:var(--univer-gray-200)!important}.univer-border-gray-300{border-color:var(--univer-gray-300)}.univer-border-primary-200{border-color:var(--univer-primary-200)}.univer-border-primary-300{border-color:var(--univer-primary-300)}.univer-border-red-500{border-color:var(--univer-red-500)}.univer-border-white{border-color:var(--univer-white)}.\!univer-bg-primary-600{background-color:var(--univer-primary-600)!important}.univer-bg-\[rgba\(0\,0\,0\,0\.8\)\]{background-color:#000c}.univer-bg-gray-800{background-color:var(--univer-gray-800)}.univer-bg-gray-900{background-color:var(--univer-gray-900)}.univer-bg-primary-500{background-color:var(--univer-primary-500)}.univer-bg-red-500{background-color:var(--univer-red-500)}.univer-bg-sky-100\/70{background-color:#e0f2feb3}.univer-bg-slate-100\/80{background-color:#f1f5f9cc}.univer-bg-slate-900\/90{background-color:#0f172ae6}.univer-bg-gradient-to-br{background-image:linear-gradient(to bottom right,var(--univer-tw-gradient-stops))}.univer-from-slate-100{--univer-tw-gradient-from: #f1f5f9 var(--univer-tw-gradient-from-position);--univer-tw-gradient-to: #f1f5f900 var(--univer-tw-gradient-to-position);--univer-tw-gradient-stops: var(--univer-tw-gradient-from), var(--univer-tw-gradient-to)}.univer-via-cyan-50{--univer-tw-gradient-to: #ecfeff00 var(--univer-tw-gradient-to-position);--univer-tw-gradient-stops: var(--univer-tw-gradient-from), #ecfeff var(--univer-tw-gradient-via-position), var(--univer-tw-gradient-to)}.univer-to-blue-100{--univer-tw-gradient-to: var(--univer-blue-100) var(--univer-tw-gradient-to-position)}.univer-fill-current{fill:currentColor}.\!univer-p-2\.5{padding:.625rem!important}.univer-p-6{padding:1.5rem}.\!univer-pl-4{padding-left:1rem!important}.univer-pl-8{padding-left:2rem}.univer-pr-32{padding-right:8rem}.univer-pr-8{padding-right:2rem}.univer-pt-4{padding-top:1rem}.univer-align-middle{vertical-align:middle}.univer-font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.univer-text-\[13px\]{font-size:13px}.univer-text-\[8px\]{font-size:8px}.univer-text-lg{font-size:1.125rem;line-height:1.75rem}.univer-text-sm\/8{font-size:.875rem;line-height:2rem}.univer-text-xs\/6{font-size:.75rem;line-height:1.5rem}.univer-leading-9{line-height:2.25rem}.univer-leading-normal{line-height:1.5}.univer-tracking-wide{letter-spacing:.025em}.univer-tracking-widest{letter-spacing:.1em}.\!univer-text-primary-500{color:var(--univer-primary-500)!important}.univer-text-amber-500{--univer-tw-text-opacity: 1;color:rgba(245,158,11,var(--univer-tw-text-opacity, 1))}.univer-text-cyan-700{--univer-tw-text-opacity: 1;color:rgba(14,116,144,var(--univer-tw-text-opacity, 1))}.univer-text-green-500{color:var(--univer-green-500)}.univer-text-sky-500{--univer-tw-text-opacity: 1;color:rgba(14,165,233,var(--univer-tw-text-opacity, 1))}.univer-text-sky-700{--univer-tw-text-opacity: 1;color:rgba(3,105,161,var(--univer-tw-text-opacity, 1))}.univer-text-sky-900{--univer-tw-text-opacity: 1;color:rgba(12,74,110,var(--univer-tw-text-opacity, 1))}.univer-text-slate-500{--univer-tw-text-opacity: 1;color:rgba(100,116,139,var(--univer-tw-text-opacity, 1))}.univer-text-slate-600{--univer-tw-text-opacity: 1;color:rgba(71,85,105,var(--univer-tw-text-opacity, 1))}.univer-text-slate-700{--univer-tw-text-opacity: 1;color:rgba(51,65,85,var(--univer-tw-text-opacity, 1))}.univer-text-slate-800{--univer-tw-text-opacity: 1;color:rgba(30,41,59,var(--univer-tw-text-opacity, 1))}.univer-text-violet-500{--univer-tw-text-opacity: 1;color:rgba(139,92,246,var(--univer-tw-text-opacity, 1))}.univer-underline-offset-4{text-underline-offset:4px}.univer-opacity-50{opacity:.5}.univer-opacity-80{opacity:.8}.univer-shadow-\[0_30px_60px_-35px_rgba\(15\,23\,42\,0\.55\)\]{--univer-tw-shadow: 0 30px 60px -35px #0f172a8c;--univer-tw-shadow-colored: 0 30px 60px -35px var(--univer-tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,0 30px 60px -35px #0f172a8c;box-shadow:var(--univer-tw-ring-offset-shadow, 0 0 #0000),var(--univer-tw-ring-shadow, 0 0 #0000),var(--univer-tw-shadow)}.univer-shadow-inner{--univer-tw-shadow: inset 0 2px 4px 0 #0000000d;--univer-tw-shadow-colored: inset 0 2px 4px 0 var(--univer-tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,inset 0 2px 4px #0000000d;box-shadow:var(--univer-tw-ring-offset-shadow, 0 0 #0000),var(--univer-tw-ring-shadow, 0 0 #0000),var(--univer-tw-shadow)}.univer-ring-2{--univer-tw-ring-offset-shadow: var(--univer-tw-ring-inset) 0 0 0 var(--univer-tw-ring-offset-width) var(--univer-tw-ring-offset-color);--univer-tw-ring-shadow: var(--univer-tw-ring-inset) 0 0 0 calc(2px + var(--univer-tw-ring-offset-width)) var(--univer-tw-ring-color);box-shadow:var(--univer-tw-ring-offset-shadow),var(--univer-tw-ring-shadow),0 0 #0000;box-shadow:var(--univer-tw-ring-offset-shadow),var(--univer-tw-ring-shadow),var(--univer-tw-shadow, 0 0 #0000)}.\!univer-ring-primary-900{--univer-tw-ring-color: var(--univer-primary-900) !important}.univer-ring-primary-50{--univer-tw-ring-color: var(--univer-primary-50)}.univer-ring-white{--univer-tw-ring-color: var(--univer-white)}.univer-ring-offset-2{--univer-tw-ring-offset-width: 2px}.\!univer-ring-offset-gray-600{--univer-tw-ring-offset-color: var(--univer-gray-600) !important}.univer-ring-offset-white{--univer-tw-ring-offset-color: var(--univer-white)}.univer-drop-shadow-sm{--univer-tw-drop-shadow: drop-shadow(0 1px 1px #0000000d);filter:var(--univer-tw-blur) var(--univer-tw-brightness) var(--univer-tw-contrast) var(--univer-tw-grayscale) var(--univer-tw-hue-rotate) var(--univer-tw-invert) var(--univer-tw-saturate) var(--univer-tw-sepia) var(--univer-tw-drop-shadow)}.univer-transition-\[color\,box-shadow\]{transition-property:color,box-shadow;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.univer-transition-\[max-height\,opacity\]{transition-property:max-height,opacity;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.univer-transition-opacity{transition-property:opacity;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.univer-transition-shadow{transition-property:box-shadow;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.univer-transition-transform{transition-property:transform;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.univer-duration-150{transition-duration:.15s}.univer-duration-500{transition-duration:.5s}.univer-duration-75{transition-duration:75ms}.univer-ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.univer-ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.univer-will-change-transform{will-change:transform}.univer-scrollbar-thin::-webkit-scrollbar-track{background-color:var(--scrollbar-track);border-radius:var(--scrollbar-track-radius)}.univer-scrollbar-thin::-webkit-scrollbar-track:hover{background-color:var(--scrollbar-track-hover, var(--scrollbar-track))}.univer-scrollbar-thin::-webkit-scrollbar-track:active{background-color:var(--scrollbar-track-active, var(--scrollbar-track-hover, var(--scrollbar-track)))}.univer-scrollbar-thin::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb);border-radius:var(--scrollbar-thumb-radius)}.univer-scrollbar-thin::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-hover, var(--scrollbar-thumb))}.univer-scrollbar-thin::-webkit-scrollbar-thumb:active{background-color:var(--scrollbar-thumb-active, var(--scrollbar-thumb-hover, var(--scrollbar-thumb)))}.univer-scrollbar-thin::-webkit-scrollbar-corner{background-color:var(--scrollbar-corner);border-radius:var(--scrollbar-corner-radius)}.univer-scrollbar-thin::-webkit-scrollbar-corner:hover{background-color:var(--scrollbar-corner-hover, var(--scrollbar-corner))}.univer-scrollbar-thin::-webkit-scrollbar-corner:active{background-color:var(--scrollbar-corner-active, var(--scrollbar-corner-hover, var(--scrollbar-corner)))}.univer-scrollbar-thin{scrollbar-width:thin;scrollbar-color:initial initial;scrollbar-color:var(--scrollbar-thumb, initial) var(--scrollbar-track, initial)}.univer-scrollbar-thin::-webkit-scrollbar{width:8px;height:8px;display:block}.univer-scrollbar-track-gray-50{--scrollbar-track: var(--univer-gray-50) !important}.univer-scrollbar-thumb-gray-300{--scrollbar-thumb: var(--univer-gray-300) !important}.univer-animate-out{--univer-tw-exit-opacity: initial;--univer-tw-exit-scale: initial;--univer-tw-exit-rotate: initial;--univer-tw-exit-translate-x: initial;--univer-tw-exit-translate-y: initial;animation-name:exit;animation-duration:.15s}.univer-fade-in,.univer-fade-in-0{--univer-tw-enter-opacity: 0}.univer-fade-out{--univer-tw-exit-opacity: 0}.univer-zoom-in-95{--univer-tw-enter-scale: .95}.univer-duration-150{animation-duration:.15s}.univer-duration-200{animation-duration:.2s}.univer-duration-300{animation-duration:.3s}.univer-duration-500{animation-duration:.5s}.univer-duration-75{animation-duration:75ms}.univer-ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}.univer-ease-out{animation-timing-function:cubic-bezier(0,0,.2,1)}.placeholder\:univer-text-gray-200::placeholder{color:var(--univer-gray-200)}.placeholder\:univer-text-gray-400::placeholder{color:var(--univer-gray-400)}.before\:univer-absolute:before{content:var(--univer-tw-content);position:absolute}.before\:univer-top-1\/2:before{content:var(--univer-tw-content);top:50%}.before\:univer-block:before{content:var(--univer-tw-content);display:block}.before\:univer-h-px:before{content:var(--univer-tw-content);height:1px}.before\:univer-w-full:before{content:var(--univer-tw-content);width:100%}.before\:-univer-translate-y-1\/2:before{content:var(--univer-tw-content);--univer-tw-translate-y: -50%;transform:translate(var(--univer-tw-translate-x),-50%) rotate(var(--univer-tw-rotate)) skew(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y));transform:translate(var(--univer-tw-translate-x),var(--univer-tw-translate-y)) rotate(var(--univer-tw-rotate)) skew(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y))}.before\:univer-bg-gray-200:before{content:var(--univer-tw-content);background-color:var(--univer-gray-200)}.before\:univer-content-\[\"\"\]:before{--univer-tw-content: "";content:"";content:var(--univer-tw-content)}.data-\[disabled\]\:univer-pointer-events-none[data-disabled]{pointer-events:none}.data-\[orientation\=horizontal\]\:univer-h-px[data-orientation=horizontal]{height:1px}.data-\[orientation\=vertical\]\:univer-h-full[data-orientation=vertical]{height:100%}.data-\[orientation\=horizontal\]\:univer-w-full[data-orientation=horizontal]{width:100%}.data-\[orientation\=vertical\]\:univer-w-px[data-orientation=vertical]{width:1px}.data-\[state\=open\]\:univer-bg-gray-100[data-state=open]{background-color:var(--univer-gray-100)}.data-\[disabled\]\:univer-opacity-50[data-disabled]{opacity:.5}.data-\[state\=open\]\:univer-animate-in[data-state=open]{--univer-tw-enter-opacity: initial;--univer-tw-enter-scale: initial;--univer-tw-enter-rotate: initial;--univer-tw-enter-translate-x: initial;--univer-tw-enter-translate-y: initial;animation-name:enter;animation-duration:.15s}.data-\[state\=closed\]\:univer-animate-out[data-state=closed]{--univer-tw-exit-opacity: initial;--univer-tw-exit-scale: initial;--univer-tw-exit-rotate: initial;--univer-tw-exit-translate-x: initial;--univer-tw-exit-translate-y: initial;animation-name:exit;animation-duration:.15s}.data-\[state\=closed\]\:univer-fade-out-0[data-state=closed]{--univer-tw-exit-opacity: 0}.data-\[state\=open\]\:univer-fade-in-0[data-state=open]{--univer-tw-enter-opacity: 0}.data-\[state\=closed\]\:univer-zoom-out-95[data-state=closed]{--univer-tw-exit-scale: .95}.data-\[state\=open\]\:univer-zoom-in-95[data-state=open]{--univer-tw-enter-scale: .95}.data-\[side\=bottom\]\:univer-slide-in-from-top-2[data-side=bottom]{--univer-tw-enter-translate-y: -.5rem}.data-\[side\=left\]\:univer-slide-in-from-right-2[data-side=left]{--univer-tw-enter-translate-x: .5rem}.data-\[side\=right\]\:univer-slide-in-from-left-2[data-side=right]{--univer-tw-enter-translate-x: -.5rem}.data-\[side\=top\]\:univer-slide-in-from-bottom-2[data-side=top]{--univer-tw-enter-translate-y: .5rem}.data-\[state\=closed\]\:univer-slide-out-to-left-1\/2[data-state=closed]{--univer-tw-exit-translate-x: -50%}.data-\[state\=closed\]\:univer-slide-out-to-top-\[48\%\][data-state=closed]{--univer-tw-exit-translate-y: -48%}.data-\[state\=open\]\:univer-slide-in-from-left-1\/2[data-state=open]{--univer-tw-enter-translate-x: -50%}.data-\[state\=open\]\:univer-slide-in-from-top-\[48\%\][data-state=open]{--univer-tw-enter-translate-y: -48%}.hover\:univer-border-red-400:hover{border-color:var(--univer-red-400)}.hover\:univer-border-transparent:hover{border-color:#0000}.hover\:univer-bg-primary-500:hover{background-color:var(--univer-primary-500)}.hover\:univer-bg-red-400:hover{background-color:var(--univer-red-400)}.hover\:univer-text-gray-500:hover{color:var(--univer-gray-500)}.hover\:univer-text-gray-900:hover{color:var(--univer-gray-900)}.hover\:univer-text-primary-500:hover{color:var(--univer-primary-500)}.hover\:univer-text-white:hover{color:var(--univer-white)}.hover\:univer-underline:hover{text-decoration-line:underline}.hover\:univer-opacity-100:hover{opacity:1}.hover\:univer-opacity-70:hover{opacity:.7}.hover\:univer-opacity-80:hover{opacity:.8}.focus\:univer-border-primary-600:focus{border-color:var(--univer-primary-600)}.focus\:univer-bg-gray-100:focus{background-color:var(--univer-gray-100)}.focus\:univer-ring-2:focus{--univer-tw-ring-offset-shadow: var(--univer-tw-ring-inset) 0 0 0 var(--univer-tw-ring-offset-width) var(--univer-tw-ring-offset-color);--univer-tw-ring-shadow: var(--univer-tw-ring-inset) 0 0 0 calc(2px + var(--univer-tw-ring-offset-width)) var(--univer-tw-ring-color);box-shadow:var(--univer-tw-ring-offset-shadow),var(--univer-tw-ring-shadow),0 0 #0000;box-shadow:var(--univer-tw-ring-offset-shadow),var(--univer-tw-ring-shadow),var(--univer-tw-shadow, 0 0 #0000)}.focus\:univer-ring-primary-50:focus{--univer-tw-ring-color: var(--univer-primary-50)}.active\:univer-border-red-600:active{border-color:var(--univer-red-600)}.active\:univer-bg-primary-700:active{background-color:var(--univer-primary-700)}.active\:univer-bg-red-600:active{background-color:var(--univer-red-600)}.active\:univer-text-primary-700:active{color:var(--univer-primary-700)}.disabled\:univer-pointer-events-none:disabled{pointer-events:none}.disabled\:univer-opacity-50:disabled{opacity:.5}@media(min-width:640px){.sm\:\!univer-flex-row{flex-direction:row!important}.sm\:\!univer-justify-end{justify-content:flex-end!important}.sm\:\!univer-space-x-2>:not([hidden])~:not([hidden]){--univer-tw-space-x-reverse: 0 !important;margin-right:0!important;margin-right:calc(.5rem * var(--univer-tw-space-x-reverse))!important;margin-left:calc(.5rem * (1 - var(--univer-tw-space-x-reverse)))!important;margin-left:.5rem!important;margin-left:calc(.5rem * calc(1 - var(--univer-tw-space-x-reverse)))!important}.sm\:\!univer-rounded-lg{border-radius:.5rem!important}.sm\:\!univer-text-left{text-align:left!important}}@media(min-width:768px){.md\:univer-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}.dark\:\!univer-border-gray-500:where(.univer-dark,.univer-dark *){border-color:var(--univer-gray-500)!important}.dark\:\!univer-border-primary-700:where(.univer-dark,.univer-dark *){border-color:var(--univer-primary-700)!important}.dark\:\!univer-bg-gray-100:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-100)!important}.dark\:\!univer-bg-primary-600:where(.univer-dark,.univer-dark *){background-color:var(--univer-primary-600)!important}.dark\:\!univer-text-gray-900:where(.univer-dark,.univer-dark *){color:var(--univer-gray-900)!important}.dark\:\!univer-text-primary-500:where(.univer-dark,.univer-dark *){color:var(--univer-primary-500)!important}.dark\:\!univer-text-sky-400:where(.univer-dark,.univer-dark *){--univer-tw-text-opacity: 1 !important;color:rgba(56,189,248,var(--univer-tw-text-opacity, 1))!important}.dark\:\!univer-ring-primary-600:where(.univer-dark,.univer-dark *){--univer-tw-ring-color: var(--univer-primary-600) !important}.dark\:\!univer-ring-primary-900:where(.univer-dark,.univer-dark *){--univer-tw-ring-color: var(--univer-primary-900) !important}.dark\:\!univer-ring-offset-gray-600:where(.univer-dark,.univer-dark *){--univer-tw-ring-offset-color: var(--univer-gray-600) !important}.dark\:\!univer-scrollbar-track-gray-900:where(.univer-dark,.univer-dark *){--scrollbar-track: var(--univer-gray-900) !important}.dark\:\!univer-scrollbar-thumb-gray-700:where(.univer-dark,.univer-dark *){--scrollbar-thumb: var(--univer-gray-700) !important}.dark\:before\:\!univer-bg-gray-600:where(.univer-dark,.univer-dark *):before{content:var(--univer-tw-content);background-color:var(--univer-gray-600)!important}.dark\:data-\[state\=open\]\:\!univer-bg-gray-600[data-state=open]:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-600)!important}.dark\:hover\:\!univer-text-white:hover:where(.univer-dark,.univer-dark *){color:var(--univer-white)!important}.dark\:focus\:\!univer-border-primary-500:focus:where(.univer-dark,.univer-dark *){border-color:var(--univer-primary-500)!important}.dark\:focus\:\!univer-bg-gray-600:focus:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-600)!important}.dark\:focus\:\!univer-ring-primary-900:focus:where(.univer-dark,.univer-dark *){--univer-tw-ring-color: var(--univer-primary-900) !important}.dark\:focus-visible\:\!univer-border-gray-600:focus-visible:where(.univer-dark,.univer-dark *){border-color:var(--univer-gray-600)!important}.dark\:active\:\!univer-bg-gray-700:active:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-700)!important}.\[\&\:\:-webkit-calendar-picker-indicator\]\:univer-hidden::-webkit-calendar-picker-indicator{display:none}.\[\&\:\:-webkit-calendar-picker-indicator\]\:univer-appearance-none::-webkit-calendar-picker-indicator{-webkit-appearance:none;appearance:none}.\[\&\>input\]\:univer-w-11>input{width:2.75rem}.\[\&\>input\]\:univer-border-gray-200>input{border-color:var(--univer-gray-200)}.\[\&\>input\]\:focus\:univer-border-primary-500:focus>input{border-color:var(--univer-primary-500)}.dark\:\[\&\>input\]\:\!univer-border-gray-600>input:where(.univer-dark,.univer-dark *){border-color:var(--univer-gray-600)!important}.dark\:\[\&\>input\]\:\!univer-text-white>input:where(.univer-dark,.univer-dark *){color:var(--univer-white)!important}.\[\&\>svg\]\:univer-block>svg{display:block}.\[\&\>svg\]\:univer-size-4>svg{width:1rem;height:1rem}.\[\&\>ul\:not\(\:last-child\)\]\:univer-border-0>ul:not(:last-child){border-width:0}.\[\&\>ul\:not\(\:last-child\)\]\:univer-border-r>ul:not(:last-child){border-right-width:1px}.\[\&\>ul\:not\(\:last-child\)\]\:univer-border-solid>ul:not(:last-child){border-style:solid}.\[\&\>ul\:not\(\:last-child\)\]\:univer-border-r-gray-200>ul:not(:last-child){border-right-color:var(--univer-gray-200)}.\[\&_\[data-description\]\]\:univer-text-sm [data-description]{font-size:.875rem;line-height:1.25rem}.\[\&_\[data-description\]\]\:univer-text-gray-200 [data-description]{color:var(--univer-gray-200)}.\[\&_\[data-description\]\]\:univer-text-gray-600 [data-description]{color:var(--univer-gray-600)}.\[\&_\[data-icon\]\>svg\]\:univer-relative [data-icon]>svg{position:relative}.\[\&_\[data-icon\]\>svg\]\:univer-top-1 [data-icon]>svg{top:.25rem}.\[\&_\[data-icon\]\]\:univer-self-baseline [data-icon]{align-self:baseline}.\[\&_\[data-icon\]\]\:univer-text-amber-500 [data-icon]{--univer-tw-text-opacity: 1;color:rgba(245,158,11,var(--univer-tw-text-opacity, 1))}.\[\&_\[data-icon\]\]\:univer-text-green-500 [data-icon]{color:var(--univer-green-500)}.\[\&_\[data-icon\]\]\:univer-text-primary-600 [data-icon]{color:var(--univer-primary-600)}.\[\&_\[data-icon\]\]\:univer-text-red-500 [data-icon]{color:var(--univer-red-500)}.\[\&_\[data-icon\]\]\:univer-text-sky-500 [data-icon]{--univer-tw-text-opacity: 1;color:rgba(14,165,233,var(--univer-tw-text-opacity, 1))}.\[\&_\[data-icon\]\]\:univer-text-violet-500 [data-icon]{--univer-tw-text-opacity: 1;color:rgba(139,92,246,var(--univer-tw-text-opacity, 1))}.\[\&_\[data-icon\]\]\:univer-text-yellow-500 [data-icon]{color:var(--univer-yellow-500)}.\[\&_\[data-sonner-toast\]\]\:univer-rounded-2xl [data-sonner-toast]{border-radius:1rem}.\[\&_\[data-sonner-toast\]\]\:univer-border [data-sonner-toast]{border-width:1px}.\[\&_\[data-sonner-toast\]\]\:univer-border-solid [data-sonner-toast]{border-style:solid}.\[\&_\[data-sonner-toast\]\]\:univer-border-gray-200 [data-sonner-toast]{border-color:var(--univer-gray-200)}.\[\&_\[data-sonner-toast\]\]\:univer-shadow-\[0_16px_40px_-20px_rgba\(15\,23\,42\,0\.55\)\] [data-sonner-toast]{--univer-tw-shadow: 0 16px 40px -20px #0f172a8c;--univer-tw-shadow-colored: 0 16px 40px -20px var(--univer-tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,0 16px 40px -20px #0f172a8c;box-shadow:var(--univer-tw-ring-offset-shadow, 0 0 #0000),var(--univer-tw-ring-shadow, 0 0 #0000),var(--univer-tw-shadow)}.\[\&_\[data-sonner-toast\]\]\:univer-shadow-md [data-sonner-toast]{--univer-tw-shadow: 0px 1px 6px -2px #1e284d14, 0px 2px 6px -1px #1e284d1a;--univer-tw-shadow-colored: 0px 1px 6px -2px var(--univer-tw-shadow-color), 0px 2px 6px -1px var(--univer-tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,0 1px 6px -2px #1e284d14,0 2px 6px -1px #1e284d1a;box-shadow:var(--univer-tw-ring-offset-shadow, 0 0 #0000),var(--univer-tw-ring-shadow, 0 0 #0000),var(--univer-tw-shadow)}.\[\&_\[data-sonner-toast\]\]\:univer-backdrop-blur-sm [data-sonner-toast]{--univer-tw-backdrop-blur: blur(4px);backdrop-filter:var(--univer-tw-backdrop-blur) var(--univer-tw-backdrop-brightness) var(--univer-tw-backdrop-contrast) var(--univer-tw-backdrop-grayscale) var(--univer-tw-backdrop-hue-rotate) var(--univer-tw-backdrop-invert) var(--univer-tw-backdrop-opacity) var(--univer-tw-backdrop-saturate) var(--univer-tw-backdrop-sepia)}.dark\:\[\&_\[data-sonner-toast\]\]\:\!univer-border-gray-600 [data-sonner-toast]:where(.univer-dark,.univer-dark *){border-color:var(--univer-gray-600)!important}.\[\&_\[data-title\]\]\:univer-text-sm [data-title]{font-size:.875rem;line-height:1.25rem}.\[\&_\[data-title\]\]\:univer-text-gray-900 [data-title]{color:var(--univer-gray-900)}.\[\&_\[data-u-comp\=form-layout\]\]\:univer-max-w-\[calc\(50\%-8px\)\] [data-u-comp=form-layout]{max-width:calc(50% - 8px)}.\[\&_\[data-u-comp\=form-layout\]\]\:univer-shrink [data-u-comp=form-layout]{flex-shrink:1}.\[\&_\[data-u-comp\=form-layout\]\]\:univer-grow [data-u-comp=form-layout]{flex-grow:1}.\[\&_\[data-u-comp\=input\]\]\:univer-w-full [data-u-comp=input]{width:100%}.\[\&_\[data-u-comp\=input\]\]\:univer-border-red-500 [data-u-comp=input]{border-color:var(--univer-red-500)}.\[\&_\[data-u-comp\=pager-left-arrow\]\:hover\]\:\!univer-bg-gray-600 [data-u-comp=pager-left-arrow]:hover,.\[\&_\[data-u-comp\=pager-right-arrow\]\:hover\]\:\!univer-bg-gray-600 [data-u-comp=pager-right-arrow]:hover{background-color:var(--univer-gray-600)!important}.\[\&_\[data-u-comp\=select\]\]\:univer-w-full [data-u-comp=select]{width:100%}.\[\&_\[data-u-comp\=select\]\]\:univer-border-red-500 [data-u-comp=select]{border-color:var(--univer-red-500)}.\[\&_input\]\:univer-box-border input{box-sizing:border-box}.\[\&_input\]\:univer-flex input{display:flex}.\[\&_input\]\:univer-h-7 input{height:1.75rem}.\[\&_input\]\:univer-items-center input{align-items:center}.\[\&_input\]\:univer-rounded input{border-radius:.25rem}.\[\&_input\]\:univer-border input{border-width:1px}.\[\&_input\]\:univer-border-solid input{border-style:solid}.\[\&_input\]\:univer-border-gray-200 input{border-color:var(--univer-gray-200)}.\[\&_input\]\:univer-border-gray-600 input{border-color:var(--univer-gray-600)}.\[\&_input\]\:univer-bg-transparent input{background-color:#0000}.\[\&_input\]\:univer-px-1\.5 input{padding-left:.375rem;padding-right:.375rem}.\[\&_input\]\:univer-text-gray-700 input{color:var(--univer-gray-700)}.\[\&_input\]\:univer-text-white input{color:var(--univer-white)}.\[\&_input\]\:univer-outline-none input{outline-offset:2px;outline:2px solid #0000}.\[\&_svg\]\:univer-pointer-events-none svg{pointer-events:none}.\[\&_svg\]\:univer-size-4 svg{width:1rem;height:1rem}.\[\&_svg\]\:univer-shrink-0 svg{flex-shrink:0}.univer-popup{z-index:1070;--univer-tw-shadow: 0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;--univer-tw-shadow-colored: 0 1px 3px 0 var(--univer-tw-shadow-color), 0 1px 2px -1px var(--univer-tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,0 1px 3px #0000001a,0 1px 2px -1px #0000001a;box-shadow:var(--univer-tw-ring-offset-shadow, 0 0 #0000),var(--univer-tw-ring-shadow, 0 0 #0000),var(--univer-tw-shadow);border-radius:6px;position:fixed;top:-9999px;left:-9999px;overflow:hidden}.univer-popup-enter{transform-origin:0 0;opacity:0;animation-duration:.15s;animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-play-state:paused;animation-fill-mode:both}.univer-popup-enter-active{animation-name:popup-slide-up-in;animation-play-state:running}.univer-popup-exit{transform-origin:0 0;opacity:1;animation-name:popup-slide-up-out;animation-duration:.15s;animation-timing-function:cubic-bezier(.6,.04,.98,.34);animation-play-state:running;animation-fill-mode:both}.univer-popup-exit-active{display:none}@keyframes popup-slide-up-in{0%{transform-origin:0 0;opacity:0;transform:scaleY(0)}to{transform-origin:0 0;opacity:1;transform:scaleY(1)}}@keyframes popup-slide-up-out{0%{transform-origin:0 0;opacity:1;transform:scaleY(1)}to{transform-origin:0 0;opacity:0;transform:scaleY(0)}}.univer-popup-mask{z-index:1060;position:fixed;top:0;bottom:0;left:0;right:0}.univer-pointer-events-auto{pointer-events:auto}.univer-invisible{visibility:hidden}.univer-fixed{position:fixed}.univer-sticky{position:sticky}.-univer-left-\[99999\]{left:-99999px}.-univer-top-\[99999\]{top:-99999px}.univer-left-1\/2{left:50%}.univer-left-\[-9999px\]{left:-9999px}.univer-right-2{right:.5rem}.univer-top-\[-9999px\]{top:-9999px}.univer-top-\[calc\(50\%-6px\)\]{top:calc(50% - 6px)}.univer-z-\[-1\]{z-index:-1}.univer-z-\[1020\]{z-index:1020}.univer-z-\[1080\]{z-index:1080}.univer-z-\[1\]{z-index:1}.univer-mx-2{margin-left:.5rem;margin-right:.5rem}.univer-mx-auto{margin-left:auto;margin-right:auto}.univer-mt-6{margin-top:1.5rem}.univer-line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.univer-size-0\.5{width:.125rem;height:.125rem}.univer-size-12{width:3rem;height:3rem}.univer-size-3\.5{width:.875rem;height:.875rem}.univer-size-7{width:1.75rem;height:1.75rem}.univer-size-9{width:2.25rem;height:2.25rem}.univer-h-0{height:0}.univer-h-1\.5{height:.375rem}.univer-max-h-\[80vh\]{max-height:80vh}.univer-max-h-\[min\(72vh\,560px\)\]{max-height:min(72vh,560px)}.univer-min-h-0{min-height:0}.univer-min-h-8{min-height:2rem}.univer-min-h-\[560px\]{min-height:560px}.univer-min-h-\[56px\]{min-height:56px}.univer-min-h-full{min-height:100%}.univer-w-0{width:0}.univer-w-10{width:2.5rem}.univer-w-40{width:10rem}.univer-w-7{width:1.75rem}.univer-w-8{width:2rem}.univer-w-96{width:24rem}.univer-w-max{width:max-content}.univer-w-screen{width:100vw}.univer-min-w-52{min-width:13rem}.univer-min-w-6{min-width:1.5rem}.univer-min-w-min{min-width:min-content}.univer-max-w-3xl{max-width:48rem}.univer-max-w-5xl{max-width:64rem}.univer-max-w-96{max-width:24rem}.univer-max-w-\[--radix-popper-available-width\]{max-width:var(--radix-popper-available-width)}.univer-max-w-\[32\%\]{max-width:32%}.univer-max-w-\[560px\]{max-width:560px}.univer-max-w-\[calc\(100vw-16px\)\]{max-width:calc(100vw - 16px)}.univer-max-w-full{max-width:100%}.univer-origin-center{transform-origin:center}.-univer-translate-x-1\/2{--univer-tw-translate-x: -50%;transform:translate(-50%,var(--univer-tw-translate-y)) rotate(var(--univer-tw-rotate)) skew(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y));transform:translate(var(--univer-tw-translate-x),var(--univer-tw-translate-y)) rotate(var(--univer-tw-rotate)) skew(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y))}.univer-translate-x-0{--univer-tw-translate-x: 0px;transform:translateY(var(--univer-tw-translate-y)) rotate(var(--univer-tw-rotate)) skew(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y));transform:translate(var(--univer-tw-translate-x),var(--univer-tw-translate-y)) rotate(var(--univer-tw-rotate)) skew(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y))}.univer-translate-x-full{--univer-tw-translate-x: 100%;transform:translate(100%,var(--univer-tw-translate-y)) rotate(var(--univer-tw-rotate)) skew(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y));transform:translate(var(--univer-tw-translate-x),var(--univer-tw-translate-y)) rotate(var(--univer-tw-rotate)) skew(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y))}.univer-grid-cols-\[1fr\]{grid-template-columns:1fr}.univer-grid-cols-\[22px_minmax\(0\,1fr\)_22px\]{grid-template-columns:22px minmax(0,1fr) 22px}.univer-grid-cols-\[28px_minmax\(0\,1fr\)_auto\]{grid-template-columns:28px minmax(0,1fr) auto}.univer-grid-cols-\[32px_minmax\(0\,1fr\)_32px\]{grid-template-columns:32px minmax(0,1fr) 32px}.univer-grid-cols-\[auto\,1fr\]{grid-template-columns:auto 1fr}.univer-grid-cols-\[auto_1fr_auto\]{grid-template-columns:auto 1fr auto}.univer-grid-cols-none{grid-template-columns:none}.univer-grid-rows-\[100\%\]{grid-template-rows:100%}.univer-grid-rows-\[auto_1fr\]{grid-template-rows:auto 1fr}.univer-grid-rows-\[auto_1fr_auto\]{grid-template-rows:auto 1fr auto}.univer-flex-wrap{flex-wrap:wrap}.univer-items-end{align-items:flex-end}.univer-gap-0\.5{gap:.125rem}.univer-gap-3{gap:.75rem}.univer-overscroll-contain{overscroll-behavior:contain}.univer-scroll-smooth{scroll-behavior:smooth}.\!univer-rounded-full{border-radius:9999px!important}.\!univer-rounded-xl{border-radius:.75rem!important}.univer-rounded-2xl{border-radius:1rem}.univer-rounded-3xl{border-radius:1.5rem}.univer-rounded-xl{border-radius:.75rem}.univer-rounded-r{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.univer-rounded-t-\[28px\]{border-top-left-radius:28px;border-top-right-radius:28px}.univer-border-0{border-width:0}.\!univer-bg-gray-200{background-color:var(--univer-gray-200)!important}.\!univer-bg-gray-500{background-color:var(--univer-gray-500)!important}.univer-bg-\[rgba\(15\,23\,42\,0\.32\)\]{background-color:#0f172a52}.univer-bg-gray-300{background-color:var(--univer-gray-300)}.univer-bg-gray-400{background-color:var(--univer-gray-400)}.univer-bg-gray-50{background-color:var(--univer-gray-50)}.univer-bg-gray-700{background-color:var(--univer-gray-700)}.univer-bg-primary-50{background-color:var(--univer-primary-50)}.univer-bg-gradient-to-tr{background-image:linear-gradient(to top right,var(--univer-tw-gradient-stops))}.univer-from-slate-950{--univer-tw-gradient-from: #020617 var(--univer-tw-gradient-from-position);--univer-tw-gradient-to: #02061700 var(--univer-tw-gradient-to-position);--univer-tw-gradient-stops: var(--univer-tw-gradient-from), var(--univer-tw-gradient-to)}.univer-via-blue-950{--univer-tw-gradient-to: #17255400 var(--univer-tw-gradient-to-position);--univer-tw-gradient-stops: var(--univer-tw-gradient-from), #172554 var(--univer-tw-gradient-via-position), var(--univer-tw-gradient-to)}.univer-to-cyan-900{--univer-tw-gradient-to: #164e63 var(--univer-tw-gradient-to-position)}.univer-p-8{padding:2rem}.univer-px-0{padding-left:0;padding-right:0}.univer-px-0\.5{padding-left:.125rem;padding-right:.125rem}.univer-pb-2{padding-bottom:.5rem}.univer-pl-2{padding-left:.5rem}.univer-pl-4{padding-left:1rem}.univer-pr-1\.5{padding-right:.375rem}.univer-pt-3{padding-top:.75rem}.univer-text-left{text-align:left}.univer-text-right{text-align:right}.univer-font-sans{font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.univer-text-2xl{font-size:1.5rem;line-height:2rem}.univer-uppercase{text-transform:uppercase}.univer-leading-4{line-height:1rem}.univer-leading-none{line-height:1}.univer-tracking-\[0\.08em\]{letter-spacing:.08em}.univer-tracking-tight{letter-spacing:-.025em}.\!univer-text-gray-600{color:var(--univer-gray-600)!important}.univer-text-current{color:currentColor}.univer-text-slate-200{--univer-tw-text-opacity: 1;color:rgba(226,232,240,var(--univer-tw-text-opacity, 1))}.univer-underline{text-decoration-line:underline}.univer-opacity-0{opacity:0}.univer-opacity-30{opacity:.3}.univer-opacity-40{opacity:.4}.univer-opacity-60{opacity:.6}.univer-shadow-\[0_-16px_48px_rgba\(15\,23\,42\,0\.18\)\]{--univer-tw-shadow: 0 -16px 48px #0f172a2e;--univer-tw-shadow-colored: 0 -16px 48px var(--univer-tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,0 -16px 48px #0f172a2e;box-shadow:var(--univer-tw-ring-offset-shadow, 0 0 #0000),var(--univer-tw-ring-shadow, 0 0 #0000),var(--univer-tw-shadow)}.univer-ring-0{--univer-tw-ring-offset-shadow: var(--univer-tw-ring-inset) 0 0 0 var(--univer-tw-ring-offset-width) var(--univer-tw-ring-offset-color);--univer-tw-ring-shadow: var(--univer-tw-ring-inset) 0 0 0 calc(0px + var(--univer-tw-ring-offset-width)) var(--univer-tw-ring-color);box-shadow:var(--univer-tw-ring-offset-shadow),var(--univer-tw-ring-shadow),0 0 #0000;box-shadow:var(--univer-tw-ring-offset-shadow),var(--univer-tw-ring-shadow),var(--univer-tw-shadow, 0 0 #0000)}.univer-ring-primary-600{--univer-tw-ring-color: var(--univer-primary-600)}.univer-backdrop-blur-\[2px\]{--univer-tw-backdrop-blur: blur(2px);backdrop-filter:var(--univer-tw-backdrop-blur) var(--univer-tw-backdrop-brightness) var(--univer-tw-backdrop-contrast) var(--univer-tw-backdrop-grayscale) var(--univer-tw-backdrop-hue-rotate) var(--univer-tw-backdrop-invert) var(--univer-tw-backdrop-opacity) var(--univer-tw-backdrop-saturate) var(--univer-tw-backdrop-sepia)}.univer-backdrop-blur-xl{--univer-tw-backdrop-blur: blur(24px);backdrop-filter:var(--univer-tw-backdrop-blur) var(--univer-tw-backdrop-brightness) var(--univer-tw-backdrop-contrast) var(--univer-tw-backdrop-grayscale) var(--univer-tw-backdrop-hue-rotate) var(--univer-tw-backdrop-invert) var(--univer-tw-backdrop-opacity) var(--univer-tw-backdrop-saturate) var(--univer-tw-backdrop-sepia)}.univer-transition-\[width\]{transition-property:width;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}@keyframes enter{0%{opacity:1;opacity:var(--univer-tw-enter-opacity, 1);transform:translateZ(0) scaleZ(1) rotate(0);transform:translate3d(var(--univer-tw-enter-translate-x, 0),var(--univer-tw-enter-translate-y, 0),0) scale3d(var(--univer-tw-enter-scale, 1),var(--univer-tw-enter-scale, 1),var(--univer-tw-enter-scale, 1)) rotate(var(--univer-tw-enter-rotate, 0))}}@keyframes exit{to{opacity:1;opacity:var(--univer-tw-exit-opacity, 1);transform:translateZ(0) scaleZ(1) rotate(0);transform:translate3d(var(--univer-tw-exit-translate-x, 0),var(--univer-tw-exit-translate-y, 0),0) scale3d(var(--univer-tw-exit-scale, 1),var(--univer-tw-exit-scale, 1),var(--univer-tw-exit-scale, 1)) rotate(var(--univer-tw-exit-rotate, 0))}}.univer-animate-in{--univer-tw-enter-opacity: initial;--univer-tw-enter-scale: initial;--univer-tw-enter-rotate: initial;--univer-tw-enter-translate-x: initial;--univer-tw-enter-translate-y: initial;animation-name:enter;animation-duration:.15s}.univer-fade-in{--univer-tw-enter-opacity: 0}.univer-fade-in-70{--univer-tw-enter-opacity: .7}.last\:univer-border-b-0:last-child{border-bottom-width:0}.hover\:univer-opacity-50:hover{opacity:.5}.focus\:univer-bg-white:focus{background-color:var(--univer-white)}.focus-visible\:univer-ring-primary-600:focus-visible{--univer-tw-ring-color: var(--univer-primary-600)}.focus-visible\:univer-ring-offset-0:focus-visible{--univer-tw-ring-offset-width: 0px}.active\:univer-bg-gray-200:active{background-color:var(--univer-gray-200)}.enabled\:hover\:univer-bg-gray-50:hover:enabled{background-color:var(--univer-gray-50)}.enabled\:active\:univer-bg-gray-100:active:enabled{background-color:var(--univer-gray-100)}.disabled\:univer-cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:univer-text-gray-300:disabled{color:var(--univer-gray-300)}.disabled\:univer-opacity-40:disabled{opacity:.4}.disabled\:hover\:univer-bg-transparent:hover:disabled{background-color:#0000}@media(min-width:640px){.sm\:\!univer-block{display:block!important}}.rtl\:univer-pl-1\.5:where([dir=rtl],[dir=rtl] *){padding-left:.375rem}.rtl\:univer-pr-0:where([dir=rtl],[dir=rtl] *){padding-right:0}.rtl\:univer-pr-2:where([dir=rtl],[dir=rtl] *){padding-right:.5rem}.dark\:\!univer-border-gray-600:where(.univer-dark,.univer-dark *){border-color:var(--univer-gray-600)!important}.dark\:\!univer-bg-gray-200:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-200)!important}.dark\:\!univer-bg-gray-500:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-500)!important}.dark\:\!univer-bg-primary-400:where(.univer-dark,.univer-dark *){background-color:var(--univer-primary-400)!important}.dark\:\!univer-bg-primary-900:where(.univer-dark,.univer-dark *){background-color:var(--univer-primary-900)!important}.dark\:\!univer-text-gray-100:where(.univer-dark,.univer-dark *){color:var(--univer-gray-100)!important}.dark\:\!univer-text-gray-500:where(.univer-dark,.univer-dark *){color:var(--univer-gray-500)!important}.dark\:\!univer-text-gray-600:where(.univer-dark,.univer-dark *){color:var(--univer-gray-600)!important}.dark\:\!univer-text-gray-800:where(.univer-dark,.univer-dark *){color:var(--univer-gray-800)!important}.dark\:\!univer-text-primary-100:where(.univer-dark,.univer-dark *){color:var(--univer-primary-100)!important}.dark\:\!univer-text-primary-300:where(.univer-dark,.univer-dark *){color:var(--univer-primary-300)!important}.dark\:\!univer-text-primary-400:where(.univer-dark,.univer-dark *){color:var(--univer-primary-400)!important}.dark\:hover\:\!univer-bg-gray-900:hover:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-900)!important}.dark\:hover\:\!univer-bg-transparent:hover:where(.univer-dark,.univer-dark *){background-color:#0000!important}.dark\:active\:\!univer-bg-gray-600:active:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-600)!important}.dark\:disabled\:\!univer-text-gray-600:disabled:where(.univer-dark,.univer-dark *){color:var(--univer-gray-600)!important}.\[\&\:\:-webkit-scrollbar\]\:univer-hidden::-webkit-scrollbar{display:none}.\[\&\>\*\]\:univer-m-0>*{margin:0}.\[\&\>\*\]\:univer-inline-flex>*{display:inline-flex}.\[\&\>\*\]\:univer-h-6>*{height:1.5rem}.\[\&\>\*\]\:univer-min-h-7>*{min-height:1.75rem}.\[\&\>\*\]\:univer-min-w-7>*{min-width:1.75rem}.\[\&\>\*\]\:univer-appearance-none>*{-webkit-appearance:none;appearance:none}.\[\&\>\*\]\:univer-items-center>*{align-items:center}.\[\&\>\*\]\:univer-justify-center>*{justify-content:center}.\[\&\>\*\]\:univer-rounded>*{border-radius:.25rem}.\[\&\>\*\]\:univer-rounded-md>*{border-radius:.375rem}.\[\&\>\*\]\:univer-border-0>*{border-width:0}.\[\&\>\*\]\:univer-px-1>*{padding-left:.25rem;padding-right:.25rem}.\[\&\>\*\]\:univer-px-1\.5>*{padding-left:.375rem;padding-right:.375rem}.\[\&\>\*\]\:univer-leading-none>*{line-height:1}.\[\&\>\*\]\:univer-outline-none>*{outline-offset:2px;outline:2px solid #0000}.\[\&\>\*\]\:univer-transition-colors>*{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\:\[\&\>\*\]\:univer-bg-gray-100>:hover{background-color:var(--univer-gray-100)}.\[\&\>span\]\:univer-truncate>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.\[\&\>span\]\:univer-text-sm>span{font-size:.875rem;line-height:1.25rem}.\[\&\>span\]\:univer-font-medium>span{font-weight:500}.\[\&\>svg\]\:univer-shrink-0>svg{flex-shrink:0}.\[\&\>svg\]\:univer-text-lg>svg{font-size:1.125rem;line-height:1.75rem}.\[\&\>svg\]\:univer-text-gray-700>svg{color:var(--univer-gray-700)}.\[\&_\*\]\:univer-box-border *{box-sizing:border-box}.\[\&_\.univer-custom-label\]\:univer-text-sm .univer-custom-label{font-size:.875rem;line-height:1.25rem}.\[\&_\.univer-custom-label\]\:univer-leading-none .univer-custom-label{line-height:1}.\[\&_\.univer-toolbar-button-selector-main\]\:\!univer-h-8 .univer-toolbar-button-selector-main{height:2rem!important}.\[\&_\.univer-toolbar-button-selector-main\]\:\!univer-rounded-none .univer-toolbar-button-selector-main{border-radius:0!important}.\[\&_\.univer-toolbar-button-selector-main\]\:\!univer-rounded-l-md .univer-toolbar-button-selector-main{border-top-left-radius:.375rem!important;border-bottom-left-radius:.375rem!important}.\[\&_\.univer-toolbar-button-selector-main\]\:\!univer-px-1\.5 .univer-toolbar-button-selector-main{padding-left:.375rem!important;padding-right:.375rem!important}.\[\&_\.univer-toolbar-button-selector-root\]\:\!univer-h-8 .univer-toolbar-button-selector-root{height:2rem!important}.\[\&_\.univer-toolbar-button-selector-root\]\:univer-overflow-hidden .univer-toolbar-button-selector-root{overflow:hidden}.\[\&_\.univer-toolbar-button-selector-root\]\:\!univer-rounded-md .univer-toolbar-button-selector-root{border-radius:.375rem!important}.\[\&_\.univer-toolbar-button-selector-root\]\:\!univer-pr-0 .univer-toolbar-button-selector-root{padding-right:0!important}.\[\&_\.univer-toolbar-button-selector-trigger\]\:\!univer-static .univer-toolbar-button-selector-trigger{position:static!important}.\[\&_\.univer-toolbar-button-selector-trigger\]\:\!univer-h-8 .univer-toolbar-button-selector-trigger{height:2rem!important}.\[\&_\.univer-toolbar-button-selector-trigger\]\:\!univer-w-6 .univer-toolbar-button-selector-trigger{width:1.5rem!important}.\[\&_\.univer-toolbar-button-selector-trigger\]\:\!univer-rounded-none .univer-toolbar-button-selector-trigger{border-radius:0!important}.\[\&_\.univer-toolbar-button-selector-trigger\]\:\!univer-rounded-r-md .univer-toolbar-button-selector-trigger{border-top-right-radius:.375rem!important;border-bottom-right-radius:.375rem!important}.\[\&_\.univer-toolbar-selector-root\]\:\!univer-h-8 .univer-toolbar-selector-root{height:2rem!important}.\[\&_\.univer-toolbar-selector-root\]\:\!univer-gap-1 .univer-toolbar-selector-root{gap:.25rem!important}.\[\&_\.univer-toolbar-selector-root\]\:\!univer-rounded-md .univer-toolbar-selector-root{border-radius:.375rem!important}.\[\&_\.univer-toolbar-selector-root\]\:\!univer-px-1\.5 .univer-toolbar-selector-root{padding-left:.375rem!important;padding-right:.375rem!important}.\[\&_\.univer-toolbar-selector-trigger\]\:\!univer-pl-0\.5 .univer-toolbar-selector-trigger{padding-left:.125rem!important}.\[\&_\.univer-tooltip\]\:univer-inline-flex .univer-tooltip{display:inline-flex}.\[\&_\.univer-tooltip\]\:univer-h-full .univer-tooltip{height:100%}.\[\&_\.univer-tooltip\]\:univer-items-center .univer-tooltip{align-items:center}.\[\&_\[data-u-command\]\]\:\!univer-h-8 [data-u-command]{height:2rem!important}.\[\&_\[data-u-command\]\]\:\!univer-min-h-8 [data-u-command]{min-height:2rem!important}.\[\&_\[data-u-command\]\]\:\!univer-rounded-md [data-u-command]{border-radius:.375rem!important}.\[\&_\[data-u-command\]\]\:\!univer-px-1\.5 [data-u-command]{padding-left:.375rem!important;padding-right:.375rem!important}.\[\&_button\]\:\!univer-m-0 button{margin:0!important}.\[\&_button\]\:\!univer-h-8 button{height:2rem!important}.\[\&_button\]\:\!univer-min-w-8 button{min-width:2rem!important}.\[\&_button\]\:\!univer-appearance-none button{-webkit-appearance:none!important;appearance:none!important}.\[\&_button\]\:\!univer-rounded-md button{border-radius:.375rem!important}.\[\&_button\]\:\!univer-border-0 button{border-width:0!important}.\[\&_button\]\:\!univer-bg-transparent button{background-color:#0000!important}.\[\&_button\]\:\!univer-p-0 button{padding:0!important}.\[\&_button\]\:\!univer-px-1\.5 button{padding-left:.375rem!important;padding-right:.375rem!important}.\[\&_button\]\:\!univer-leading-none button{line-height:1!important}.\[\&_button\]\:\!univer-outline-none button{outline-offset:2px!important;outline:2px solid #0000!important}.\[\&_input\:focus\]\:\!univer-ring-0 input:focus{--univer-tw-ring-offset-shadow: var(--univer-tw-ring-inset) 0 0 0 var(--univer-tw-ring-offset-width) var(--univer-tw-ring-offset-color) !important;--univer-tw-ring-shadow: var(--univer-tw-ring-inset) 0 0 0 calc(0px + var(--univer-tw-ring-offset-width)) var(--univer-tw-ring-color) !important;box-shadow:var(--univer-tw-ring-offset-shadow),var(--univer-tw-ring-shadow),0 0 #0000!important;box-shadow:var(--univer-tw-ring-offset-shadow),var(--univer-tw-ring-shadow),var(--univer-tw-shadow, 0 0 #0000)!important}.\[\&_input\]\:\!univer-m-0 input{margin:0!important}.\[\&_input\]\:univer-h-6 input{height:1.5rem}.\[\&_input\]\:univer-w-7 input{width:1.75rem}.\[\&_input\]\:\!univer-appearance-none input{-webkit-appearance:none!important;appearance:none!important}.\[\&_input\]\:\!univer-border-0 input{border-width:0!important}.\[\&_input\]\:univer-border-none input{border-style:none}.\[\&_input\]\:\!univer-bg-transparent input{background-color:#0000!important}.\[\&_input\]\:\!univer-p-0 input{padding:0!important}.\[\&_input\]\:univer-p-0 input{padding:0}.\[\&_input\]\:univer-text-sm input{font-size:.875rem;line-height:1.25rem}.\[\&_input\]\:\!univer-leading-none input{line-height:1!important}.\[\&_input\]\:\!univer-outline-none input{outline-offset:2px!important;outline:2px solid #0000!important}.univer-bottom-0{bottom:0}.univer-left-5{left:1.25rem}.univer-left-\[5px\]{left:5px}.univer-top-4{top:1rem}.univer-top-\[5px\]{top:5px}.univer-mb-1{margin-bottom:.25rem}.univer-mr-1{margin-right:.25rem}.univer-mt-1\.5{margin-top:.375rem}.univer-mt-12{margin-top:3rem}.univer-size-3{width:.75rem;height:.75rem}.univer-size-8{width:2rem;height:2rem}.univer-h-\[24px\]{height:24px}.univer-w-28{width:7rem}.univer-w-4\/5{width:80%}.univer-w-\[0px\]{width:0}.univer-w-\[162px\]{width:162px}.univer-w-\[212px\]{width:212px}.univer-w-\[72px\]{width:72px}.univer-min-w-\[180px\]{min-width:180px}.univer-flex-shrink-0{flex-shrink:0}.univer-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.univer-gap-2\.5{gap:.625rem}.univer-overflow-x-hidden{overflow-x:hidden}.univer-rounded-r-2xl{border-top-right-radius:1rem;border-bottom-right-radius:1rem}.univer-border-primary-500{border-color:var(--univer-primary-500)}.univer-bg-none{background-image:none}.univer-px-2\.5{padding-left:.625rem;padding-right:.625rem}.univer-px-3{padding-left:.75rem;padding-right:.75rem}.univer-py-0{padding-top:0;padding-bottom:0}.univer-pb-0\.5{padding-bottom:.125rem}.univer-pb-4{padding-bottom:1rem}.univer-pr-1{padding-right:.25rem}.univer-pr-2{padding-right:.5rem}.univer-pt-1\.5{padding-top:.375rem}.univer-pt-14{padding-top:3.5rem}.univer-font-\[500\],.univer-font-medium{font-weight:500}.univer-leading-\[24px\]{line-height:24px}.\!univer-text-gray-200{color:var(--univer-gray-200)!important}.\!univer-text-gray-400{color:var(--univer-gray-400)!important}.univer-text-gray-800{color:var(--univer-gray-800)}.univer-shadow-sm{--univer-tw-shadow: 0px 1px 2px 0px #1e284d14;--univer-tw-shadow-colored: 0px 1px 2px 0px var(--univer-tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,0 1px 2px #1e284d14;box-shadow:var(--univer-tw-ring-offset-shadow, 0 0 #0000),var(--univer-tw-ring-shadow, 0 0 #0000),var(--univer-tw-shadow)}.univer-backdrop-blur-\[10px\]{--univer-tw-backdrop-blur: blur(10px);backdrop-filter:var(--univer-tw-backdrop-blur) var(--univer-tw-backdrop-brightness) var(--univer-tw-backdrop-contrast) var(--univer-tw-backdrop-grayscale) var(--univer-tw-backdrop-hue-rotate) var(--univer-tw-backdrop-invert) var(--univer-tw-backdrop-opacity) var(--univer-tw-backdrop-saturate) var(--univer-tw-backdrop-sepia)}.univer-duration-300{transition-duration:.3s}.hover\:univer-border-primary-500:hover{border-color:var(--univer-primary-500)}.univer-pointer-events-none{pointer-events:none}.univer-inset-0{top:0;bottom:0;left:0;right:0}.-univer-bottom-0\.5{bottom:-.125rem}.-univer-left-0\.5{left:-.125rem}.-univer-right-0\.5{right:-.125rem}.-univer-top-0\.5{top:-.125rem}.univer-left-0{left:0}.univer-left-1{left:.25rem}.univer-left-3{left:.75rem}.univer-right-0{right:0}.univer-right-5{right:1.25rem}.univer-top-0{top:0}.univer-top-0\.5{top:.125rem}.univer-z-10{z-index:10}.univer-z-\[1001\]{z-index:1001}.univer-z-\[100\]{z-index:100}.univer-mx-1{margin-left:.25rem;margin-right:.25rem}.univer-my-1\.5{margin-top:.375rem;margin-bottom:.375rem}.univer-mb-1\.5{margin-bottom:.375rem}.univer-mb-3{margin-bottom:.75rem}.univer-mb-4{margin-bottom:1rem}.univer-ml-1{margin-left:.25rem}.univer-ml-1\.5{margin-left:.375rem}.univer-ml-3{margin-left:.75rem}.univer-ml-6{margin-left:1.5rem}.univer-ml-px{margin-left:1px}.univer-mr-1\.5{margin-right:.375rem}.univer-mr-2{margin-right:.5rem}.univer-mr-5{margin-right:1.25rem}.univer-mt-auto{margin-top:auto}.univer-hidden{display:none}.univer-size-0{width:0;height:0}.univer-size-10{width:2.5rem;height:2.5rem}.univer-size-4{width:1rem;height:1rem}.univer-h-0\.5{height:.125rem}.univer-h-1{height:.25rem}.univer-h-10{height:2.5rem}.univer-h-20{height:5rem}.univer-h-4{height:1rem}.univer-h-5{height:1.25rem}.univer-h-6{height:1.5rem}.univer-h-60{height:15rem}.univer-h-8{height:2rem}.univer-h-9{height:2.25rem}.univer-h-\[270px\]{height:270px}.univer-h-\[30px\]{height:30px}.univer-h-\[calc\(100\%-16px\)\]{height:calc(100% - 16px)}.univer-h-\[calc\(100\%-8px\)\]{height:calc(100% - 8px)}.univer-h-px{height:1px}.univer-max-h-52{max-height:13rem}.univer-max-h-\[100px\]{max-height:100px}.univer-max-h-\[360px\]{max-height:360px}.\!univer-w-\[90px\]{width:90px!important}.univer-w-16{width:4rem}.univer-w-20{width:5rem}.univer-w-24{width:6rem}.univer-w-5{width:1.25rem}.univer-w-6{width:1.5rem}.univer-w-60{width:15rem}.univer-w-\[100px\]{width:100px}.univer-w-\[130px\]{width:130px}.univer-w-\[156px\]{width:156px}.univer-w-\[300px\]{width:300px}.univer-w-\[50\%\]{width:50%}.univer-w-fit{width:fit-content}.univer-min-w-0{min-width:0}.univer-max-w-32{max-width:8rem}.univer-max-w-36{max-width:9rem}.univer-max-w-64{max-width:16rem}.univer-max-w-\[190px\]{max-width:190px}.univer-max-w-\[200px\]{max-width:200px}.univer-max-w-\[calc\(100\%-112px\)\]{max-width:calc(100% - 112px)}.univer-max-w-fit{max-width:fit-content}.univer-max-w-lg{max-width:32rem}.univer-flex-shrink-0,.univer-shrink-0{flex-shrink:0}.univer-flex-grow{flex-grow:1}.univer-flex-grow-0{flex-grow:0}.univer-rotate-180{--univer-tw-rotate: 180deg;transform:translate(var(--univer-tw-translate-x),var(--univer-tw-translate-y)) rotate(180deg) skew(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y));transform:translate(var(--univer-tw-translate-x),var(--univer-tw-translate-y)) rotate(var(--univer-tw-rotate)) skew(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y))}@keyframes univer-spin{to{transform:rotate(360deg)}}.univer-animate-spin{animation:1s linear infinite univer-spin}.univer-cursor-not-allowed{cursor:not-allowed}.univer-appearance-none{-webkit-appearance:none;appearance:none}.univer-grid-flow-col{grid-auto-flow:column}.univer-grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.univer-grid-cols-\[1fr\,auto\,auto\,auto\]{grid-template-columns:1fr auto auto auto}.univer-flex-row{flex-direction:row}.univer-flex-row-reverse{flex-direction:row-reverse}.univer-flex-nowrap{flex-wrap:nowrap}.univer-gap-7{gap:1.75rem}.univer-gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.univer-space-y-2>:not([hidden])~:not([hidden]){--univer-tw-space-y-reverse: 0;margin-top:calc(.5rem * (1 - var(--univer-tw-space-y-reverse)));margin-top:.5rem;margin-top:calc(.5rem * calc(1 - var(--univer-tw-space-y-reverse)));margin-bottom:0;margin-bottom:calc(.5rem * var(--univer-tw-space-y-reverse))}.univer-divide-x-0>:not([hidden])~:not([hidden]){--univer-tw-divide-x-reverse: 0;border-right-width:0;border-right-width:calc(0px * var(--univer-tw-divide-x-reverse));border-left-width:calc(0px * (1 - var(--univer-tw-divide-x-reverse)));border-left-width:0;border-left-width:calc(0px * calc(1 - var(--univer-tw-divide-x-reverse)))}.univer-divide-y>:not([hidden])~:not([hidden]){--univer-tw-divide-y-reverse: 0;border-top-width:calc(1px * (1 - var(--univer-tw-divide-y-reverse)));border-top-width:1px;border-top-width:calc(1px * calc(1 - var(--univer-tw-divide-y-reverse)));border-bottom-width:0;border-bottom-width:calc(1px * var(--univer-tw-divide-y-reverse))}.univer-divide-solid>:not([hidden])~:not([hidden]){border-style:solid}.univer-divide-gray-200>:not([hidden])~:not([hidden]){border-color:var(--univer-gray-200)}.univer-justify-self-center{justify-self:center}.univer-overflow-hidden{overflow:hidden}.univer-overflow-x-auto{overflow-x:auto}.univer-overflow-y-hidden{overflow-y:hidden}.univer-rounded-full{border-radius:9999px}.univer-rounded-md{border-radius:.375rem}.univer-rounded-sm{border-radius:.125rem}.univer-border-2{border-width:2px}.univer-border-4{border-width:4px}.univer-border-b{border-bottom-width:1px}.univer-border-solid{border-style:solid}.univer-border-none{border-style:none}.univer-border-\[rgba\(13\,13\,13\,0\.12\)\]{border-color:#0d0d0d1f}.univer-border-gray-100{border-color:var(--univer-gray-100)}.univer-border-gray-200{border-color:var(--univer-gray-200)}.univer-border-transparent{border-color:#0000}.univer-border-r-gray-200{border-right-color:var(--univer-gray-200)}.univer-border-t-primary-500{border-top-color:var(--univer-primary-500)}.\!univer-bg-gray-700{background-color:var(--univer-gray-700)!important}.\!univer-bg-gray-800{background-color:var(--univer-gray-800)!important}.\!univer-bg-gray-900{background-color:var(--univer-gray-900)!important}.univer-bg-blue-500{background-color:var(--univer-blue-500)}.univer-bg-blue-600{background-color:var(--univer-blue-600)}.univer-bg-gray-100{background-color:var(--univer-gray-100)}.univer-bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--univer-tw-gradient-stops))}.univer-from-gray-50{--univer-tw-gradient-from: var(--univer-gray-50) var(--univer-tw-gradient-from-position);--univer-tw-gradient-to: #fff0 var(--univer-tw-gradient-to-position);--univer-tw-gradient-stops: var(--univer-tw-gradient-from), var(--univer-tw-gradient-to)}.univer-to-gray-100{--univer-tw-gradient-to: var(--univer-gray-100) var(--univer-tw-gradient-to-position)}.univer-fill-gray-900{fill:var(--univer-gray-900)}.univer-fill-primary-600{fill:var(--univer-primary-600)}.univer-p-1{padding:.25rem}.univer-p-4{padding:1rem}.univer-px-1{padding-left:.25rem;padding-right:.25rem}.univer-px-1\.5{padding-left:.375rem;padding-right:.375rem}.univer-px-3\.5{padding-left:.875rem;padding-right:.875rem}.univer-px-5{padding-left:1.25rem;padding-right:1.25rem}.univer-py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.univer-py-5{padding-top:1.25rem;padding-bottom:1.25rem}.univer-pb-1{padding-bottom:.25rem}.univer-pl-1\.5{padding-left:.375rem}.univer-pl-3{padding-left:.75rem}.univer-pl-6{padding-left:1.5rem}.univer-pr-5{padding-right:1.25rem}.univer-pt-1{padding-top:.25rem}.univer-pt-2{padding-top:.5rem}.univer-text-center{text-align:center}.univer-font-semibold{font-weight:600}.univer-leading-6{line-height:1.5rem}.univer-leading-7{line-height:1.75rem}.\!univer-text-blue-400{color:var(--univer-blue-400)!important}.\!univer-text-gray-700{color:var(--univer-gray-700)!important}.\!univer-text-white{color:var(--univer-white)!important}.univer-text-blue-500{color:var(--univer-blue-500)}.univer-text-blue-600{color:var(--univer-blue-600)}.univer-text-gray-200{color:var(--univer-gray-200)}.univer-text-gray-300{color:var(--univer-gray-300)}.univer-text-gray-700{color:var(--univer-gray-700)}.univer-text-green-600{color:var(--univer-green-600)}.univer-text-primary-700{color:var(--univer-primary-700)}.univer-text-red-600{color:var(--univer-red-600)}.univer-text-yellow-500{color:var(--univer-yellow-500)}.univer-shadow{--univer-tw-shadow: 0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;--univer-tw-shadow-colored: 0 1px 3px 0 var(--univer-tw-shadow-color), 0 1px 2px -1px var(--univer-tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,0 1px 3px #0000001a,0 1px 2px -1px #0000001a;box-shadow:var(--univer-tw-ring-offset-shadow, 0 0 #0000),var(--univer-tw-ring-shadow, 0 0 #0000),var(--univer-tw-shadow)}.univer-shadow-lg{--univer-tw-shadow: 0px 4px 6px 0px #1e284d0d, 0px 10px 15px -3px #1e284d1a;--univer-tw-shadow-colored: 0px 4px 6px 0px var(--univer-tw-shadow-color), 0px 10px 15px -3px var(--univer-tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,0 4px 6px #1e284d0d,0 10px 15px -3px #1e284d1a;box-shadow:var(--univer-tw-ring-offset-shadow, 0 0 #0000),var(--univer-tw-ring-shadow, 0 0 #0000),var(--univer-tw-shadow)}.univer-blur-sm{--univer-tw-blur: blur(4px);filter:var(--univer-tw-blur) var(--univer-tw-brightness) var(--univer-tw-contrast) var(--univer-tw-grayscale) var(--univer-tw-hue-rotate) var(--univer-tw-invert) var(--univer-tw-saturate) var(--univer-tw-sepia) var(--univer-tw-drop-shadow)}.univer-backdrop-blur{--univer-tw-backdrop-blur: blur(8px);backdrop-filter:var(--univer-tw-backdrop-blur) var(--univer-tw-backdrop-brightness) var(--univer-tw-backdrop-contrast) var(--univer-tw-backdrop-grayscale) var(--univer-tw-backdrop-hue-rotate) var(--univer-tw-backdrop-invert) var(--univer-tw-backdrop-opacity) var(--univer-tw-backdrop-saturate) var(--univer-tw-backdrop-sepia)}.univer-transition-\[colors\,box-shadow\]{transition-property:colors,box-shadow;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.univer-transition-\[height\]{transition-property:height;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.univer-transition-all{transition-property:all;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.univer-duration-200{transition-duration:.2s}.univer-ease-linear{transition-timing-function:linear}.after\:univer-absolute:after{content:var(--univer-tw-content);position:absolute}.after\:univer-right-0:after{content:var(--univer-tw-content);right:0}.after\:univer-top-1\/2:after{content:var(--univer-tw-content);top:50%}.after\:univer-block:after{content:var(--univer-tw-content);display:block}.after\:univer-h-4:after{content:var(--univer-tw-content);height:1rem}.after\:univer-w-px:after{content:var(--univer-tw-content);width:1px}.after\:-univer-translate-y-1\/2:after{content:var(--univer-tw-content);--univer-tw-translate-y: -50%;transform:translate(var(--univer-tw-translate-x),-50%) rotate(var(--univer-tw-rotate)) skew(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y));transform:translate(var(--univer-tw-translate-x),var(--univer-tw-translate-y)) rotate(var(--univer-tw-rotate)) skew(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y))}.after\:univer-bg-gray-200:after{content:var(--univer-tw-content);background-color:var(--univer-gray-200)}.after\:univer-content-\[\"\"\]:after{--univer-tw-content: "";content:"";content:var(--univer-tw-content)}.last\:univer-mb-0:last-child{margin-bottom:0}.univer-group:hover .group-hover\:univer-flex{display:flex}.hover\:univer-border-primary-600:hover{border-color:var(--univer-primary-600)}.hover\:univer-bg-gray-50:hover{background-color:var(--univer-gray-50)}.hover\:univer-bg-transparent:hover{background-color:#0000}.focus\:univer-border-primary-500:focus{border-color:var(--univer-primary-500)}.focus\:univer-outline-none:focus{outline-offset:2px;outline:2px solid #0000}.focus-visible\:univer-ring-2:focus-visible{--univer-tw-ring-offset-shadow: var(--univer-tw-ring-inset) 0 0 0 var(--univer-tw-ring-offset-width) var(--univer-tw-ring-offset-color);--univer-tw-ring-shadow: var(--univer-tw-ring-inset) 0 0 0 calc(2px + var(--univer-tw-ring-offset-width)) var(--univer-tw-ring-color);box-shadow:var(--univer-tw-ring-offset-shadow),var(--univer-tw-ring-shadow),0 0 #0000;box-shadow:var(--univer-tw-ring-offset-shadow),var(--univer-tw-ring-shadow),var(--univer-tw-shadow, 0 0 #0000)}.focus-visible\:univer-ring-primary-500:focus-visible{--univer-tw-ring-color: var(--univer-primary-500)}.active\:univer-bg-gray-100:active{background-color:var(--univer-gray-100)}.dark\:\!univer-divide-gray-600:where(.univer-dark,.univer-dark *)>:not([hidden])~:not([hidden]){border-color:var(--univer-gray-600)!important}.dark\:\!univer-border-gray-700:where(.univer-dark,.univer-dark *){border-color:var(--univer-gray-700)!important}.dark\:\!univer-border-r-gray-700:where(.univer-dark,.univer-dark *){border-right-color:var(--univer-gray-700)!important}.dark\:\!univer-bg-black:where(.univer-dark,.univer-dark *){background-color:var(--univer-black)!important}.dark\:\!univer-bg-blue-400:where(.univer-dark,.univer-dark *){background-color:var(--univer-blue-400)!important}.dark\:\!univer-bg-gray-700:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-700)!important}.dark\:\!univer-bg-gray-800:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-800)!important}.dark\:\!univer-from-gray-800:where(.univer-dark,.univer-dark *){--univer-tw-gradient-from: var(--univer-gray-800) var(--univer-tw-gradient-from-position) !important;--univer-tw-gradient-to: #fff0 var(--univer-tw-gradient-to-position) !important;--univer-tw-gradient-stops: var(--univer-tw-gradient-from), var(--univer-tw-gradient-to) !important}.dark\:\!univer-to-gray-900:where(.univer-dark,.univer-dark *){--univer-tw-gradient-to: var(--univer-gray-900) var(--univer-tw-gradient-to-position) !important}.dark\:\!univer-fill-white:where(.univer-dark,.univer-dark *){fill:var(--univer-white)!important}.dark\:\!univer-text-blue-400:where(.univer-dark,.univer-dark *){color:var(--univer-blue-400)!important}.dark\:\!univer-text-gray-700:where(.univer-dark,.univer-dark *){color:var(--univer-gray-700)!important}.dark\:\!univer-text-green-400:where(.univer-dark,.univer-dark *){color:var(--univer-green-400)!important}.dark\:\!univer-text-red-400:where(.univer-dark,.univer-dark *){color:var(--univer-red-400)!important}.dark\:hover\:\!univer-bg-gray-800:hover:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-800)!important}.\[\&\>div\:first-child\]\:univer-px-2\.5>div:first-child{padding-left:.625rem;padding-right:.625rem}.\[\&\>div\]\:univer-h-5>div{height:1.25rem}.\[\&\>div\]\:univer-ring-transparent>div{--univer-tw-ring-color: transparent}.\[\&_canvas\]\:univer-absolute canvas{position:absolute}.univer-absolute{position:absolute}.univer-relative{position:relative}.univer-left-1\.5{left:.375rem}.univer-top-1\/2{top:50%}.univer-z-\[15\]{z-index:15}.univer-m-0{margin:0}.-univer-mx-6{margin-left:-1.5rem;margin-right:-1.5rem}.univer-mx-0{margin-left:0;margin-right:0}.univer-my-1{margin-top:.25rem;margin-bottom:.25rem}.univer-my-2{margin-top:.5rem;margin-bottom:.5rem}.univer-mb-0{margin-bottom:0}.univer-mb-2{margin-bottom:.5rem}.univer-ml-2{margin-left:.5rem}.univer-ml-4{margin-left:1rem}.univer-mr-0{margin-right:0}.univer-mt-0{margin-top:0}.univer-mt-1{margin-top:.25rem}.univer-box-border{box-sizing:border-box}.univer-block{display:block}.univer-inline-flex{display:inline-flex}.univer-size-6{width:1.5rem;height:1.5rem}.univer-size-full{width:100%;height:100%}.univer-h-\[18px\]{height:18px}.univer-h-\[364px\]{height:364px}.univer-max-h-60{max-height:15rem}.univer-max-h-72{max-height:18rem}.univer-max-h-\[350px\]{max-height:350px}.univer-w-\[250px\]{width:250px}.univer-flex-1{flex:1}.-univer-translate-y-1\/2{--univer-tw-translate-y: -50%;transform:translate(var(--univer-tw-translate-x),-50%) rotate(var(--univer-tw-rotate)) skew(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y));transform:translate(var(--univer-tw-translate-x),var(--univer-tw-translate-y)) rotate(var(--univer-tw-rotate)) skew(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y))}.univer-select-none{user-select:none}.univer-list-none{list-style-type:none}.univer-justify-center{justify-content:center}.univer-justify-around{justify-content:space-around}.univer-gap-2{gap:.5rem}.univer-gap-4{gap:1rem}.univer-overflow-visible{overflow:visible}.univer-truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.univer-whitespace-nowrap{white-space:nowrap}.univer-whitespace-pre-wrap{white-space:pre-wrap}.univer-break-words{word-wrap:break-word}.univer-break-all{word-break:break-all}.univer-rounded-none{border-radius:0}.univer-rounded-l{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.univer-border{border-width:1px}.univer-border-r-0{border-right-width:0}.univer-border-gray-600{border-color:var(--univer-gray-600)}.univer-border-primary-600{border-color:var(--univer-primary-600)}.\!univer-bg-gray-600{background-color:var(--univer-gray-600)!important}.univer-bg-gray-200{background-color:var(--univer-gray-200)}.univer-bg-primary-600{background-color:var(--univer-primary-600)}.univer-bg-transparent{background-color:#0000}.univer-bg-white{background-color:var(--univer-white)}.univer-p-0{padding:0}.univer-p-0\.5{padding:.125rem}.univer-p-3{padding:.75rem}.univer-px-4{padding-left:1rem;padding-right:1rem}.univer-px-6{padding-left:1.5rem;padding-right:1.5rem}.univer-px-7{padding-left:1.75rem;padding-right:1.75rem}.univer-py-1{padding-top:.25rem;padding-bottom:.25rem}.univer-py-2{padding-top:.5rem;padding-bottom:.5rem}.univer-py-3{padding-top:.75rem;padding-bottom:.75rem}.univer-pb-3{padding-bottom:.75rem}.univer-pt-0{padding-top:0}.univer-text-base{font-size:1rem;line-height:1.5rem}.univer-text-sm{font-size:.875rem;line-height:1.25rem}.univer-font-bold{font-weight:700}.univer-font-medium{font-weight:500}.univer-leading-5{line-height:1.25rem}.univer-leading-\[13px\]{line-height:13px}.univer-text-gray-900{color:var(--univer-gray-900)}.univer-text-primary-500{color:var(--univer-primary-500)}.univer-text-red-500{color:var(--univer-red-500)}.univer-text-white{color:var(--univer-white)}.univer-shadow-md{--univer-tw-shadow: 0px 1px 6px -2px #1e284d14, 0px 2px 6px -1px #1e284d1a;--univer-tw-shadow-colored: 0px 1px 6px -2px var(--univer-tw-shadow-color), 0px 2px 6px -1px var(--univer-tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,0 1px 6px -2px #1e284d14,0 2px 6px -1px #1e284d1a;box-shadow:var(--univer-tw-ring-offset-shadow, 0 0 #0000),var(--univer-tw-ring-shadow, 0 0 #0000),var(--univer-tw-shadow)}.univer-outline-none{outline-offset:2px;outline:2px solid #0000}.univer-ring-1{--univer-tw-ring-offset-shadow: var(--univer-tw-ring-inset) 0 0 0 var(--univer-tw-ring-offset-width) var(--univer-tw-ring-offset-color);--univer-tw-ring-shadow: var(--univer-tw-ring-inset) 0 0 0 calc(1px + var(--univer-tw-ring-offset-width)) var(--univer-tw-ring-color);box-shadow:var(--univer-tw-ring-offset-shadow),var(--univer-tw-ring-shadow),0 0 #0000;box-shadow:var(--univer-tw-ring-offset-shadow),var(--univer-tw-ring-shadow),var(--univer-tw-shadow, 0 0 #0000)}.univer-ring-primary-500{--univer-tw-ring-color: var(--univer-primary-500)}.univer-ring-red-500{--univer-tw-ring-color: var(--univer-red-500)}.univer-transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\:univer-bg-gray-200:hover{background-color:var(--univer-gray-200)}.hover\:univer-bg-gray-300:hover{background-color:var(--univer-gray-300)}.dark\:\!univer-bg-gray-600:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-600)!important}.dark\:\!univer-bg-gray-900:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-900)!important}.dark\:\!univer-text-gray-300:where(.univer-dark,.univer-dark *){color:var(--univer-gray-300)!important}.dark\:\!univer-text-white:where(.univer-dark,.univer-dark *){color:var(--univer-white)!important}.dark\:hover\:\!univer-bg-gray-600:hover:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-600)!important}.univer-mb-5{margin-bottom:1.25rem}.univer-mr-3{margin-right:.75rem}.univer-mt-2{margin-top:.5rem}.univer-mt-3{margin-top:.75rem}.univer-mt-3\.5{margin-top:.875rem}.univer-mt-4{margin-top:1rem}.univer-flex{display:flex}.univer-grid{display:grid}.univer-h-7{height:1.75rem}.univer-h-full{height:100%}.univer-max-h-\[400px\]{max-height:400px}.univer-w-32{width:8rem}.univer-w-36{width:9rem}.univer-w-4{width:1rem}.univer-w-\[340px\]{width:340px}.univer-w-full{width:100%}.univer-cursor-default{cursor:default}.univer-cursor-pointer{cursor:pointer}.univer-flex-col{flex-direction:column}.univer-items-center{align-items:center}.univer-justify-end{justify-content:flex-end}.univer-justify-between{justify-content:space-between}.univer-gap-1{gap:.25rem}.univer-gap-1\.5{gap:.375rem}.univer-gap-6{gap:1.5rem}.univer-overflow-auto{overflow:auto}.univer-overflow-y-auto{overflow-y:auto}.univer-rounded{border-radius:.25rem}.univer-rounded-lg{border-radius:.5rem}.univer-p-1\.5{padding:.375rem}.univer-p-2{padding:.5rem}.univer-px-2{padding-left:.5rem;padding-right:.5rem}.univer-py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.univer-pb-5{padding-bottom:1.25rem}.univer-text-sm,.univer-text-sm\/5{font-size:.875rem;line-height:1.25rem}.univer-text-xs{font-size:.75rem;line-height:1rem}.univer-text-gray-400{color:var(--univer-gray-400)}.univer-text-gray-500{color:var(--univer-gray-500)}.univer-text-gray-600{color:var(--univer-gray-600)}.univer-text-primary-600{color:var(--univer-primary-600)}.hover\:univer-bg-gray-100:hover{background-color:var(--univer-gray-100)}.dark\:\!univer-text-gray-200:where(.univer-dark,.univer-dark *){color:var(--univer-gray-200)!important}.dark\:\!univer-text-gray-400:where(.univer-dark,.univer-dark *){color:var(--univer-gray-400)!important}.dark\:hover\:\!univer-bg-gray-700:hover:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-700)!important}
|
|
5
|
+
|
|
6
|
+
/* === node_modules/@univerjs/presets/lib/styles/preset-sheets-conditional-formatting.css === */
|
|
7
|
+
.univer-pointer-events-none{pointer-events:none}.univer-absolute{position:absolute}.univer-relative{position:relative}.univer-bottom-\[-13px\]{bottom:-13px}.univer-left-0{left:0}.univer-right-1{right:.25rem}.univer-z-\[999\]{z-index:999}.univer-my-2\.5{margin-top:.625rem;margin-bottom:.625rem}.univer-mb-1{margin-bottom:.25rem}.univer-mb-2{margin-bottom:.5rem}.univer-mb-2\.5{margin-bottom:.625rem}.univer-mb-3{margin-bottom:.75rem}.univer-ml-1{margin-left:.25rem}.univer-ml-2{margin-left:.5rem}.univer-ml-3{margin-left:.75rem}.univer-ml-6{margin-left:1.5rem}.univer-mr-2{margin-right:.5rem}.univer-mt-0{margin-top:0}.univer-mt-1{margin-top:.25rem}.univer-mt-3{margin-top:.75rem}.univer-mt-4{margin-top:1rem}.univer-mt-5{margin-top:1.25rem}.univer-mt-6{margin-top:1.5rem}.univer-box-border{box-sizing:border-box}.univer-flex{display:flex}.univer-grid{display:grid}.univer-hidden{display:none}.univer-size-4{width:1rem;height:1rem}.univer-size-5{width:1.25rem;height:1.25rem}.univer-size-6{width:1.5rem;height:1.5rem}.univer-h-5{height:1.25rem}.univer-h-8{height:2rem}.univer-h-full{height:100%}.univer-w-1\/2{width:50%}.univer-w-36{width:9rem}.univer-w-64{width:16rem}.univer-w-80{width:20rem}.univer-w-\[45\%\]{width:45%}.univer-w-full{width:100%}.univer-min-w-0{min-width:0}.univer-min-w-\[72px\]{min-width:72px}.univer-max-w-full{max-width:100%}.univer-flex-shrink{flex-shrink:1}.univer-flex-shrink-0{flex-shrink:0}.univer-cursor-grab{cursor:grab}.univer-cursor-pointer{cursor:pointer}.univer-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.univer-flex-col{flex-direction:column}.univer-flex-wrap{flex-wrap:wrap}.univer-items-center{align-items:center}.univer-justify-end{justify-content:flex-end}.univer-justify-center{justify-content:center}.univer-justify-between{justify-content:space-between}.univer-gap-2{gap:.5rem}.univer-gap-4{gap:1rem}.univer-space-x-2>:not([hidden])~:not([hidden]){--univer-tw-space-x-reverse: 0;margin-right:0;margin-right:calc(.5rem * var(--univer-tw-space-x-reverse));margin-left:calc(.5rem * (1 - var(--univer-tw-space-x-reverse)));margin-left:.5rem;margin-left:calc(.5rem * calc(1 - var(--univer-tw-space-x-reverse)))}.univer-overflow-hidden{overflow:hidden}.univer-rounded{border-radius:.25rem}.univer-rounded-lg{border-radius:.5rem}.univer-rounded-md{border-radius:.375rem}.univer-border{border-width:1px}.univer-border-solid{border-style:solid}.univer-border-red-500{border-color:var(--univer-red-500)}.\!univer-bg-gray-700{background-color:var(--univer-gray-700)!important}.univer-bg-gray-100{background-color:var(--univer-gray-100)}.univer-bg-white{background-color:var(--univer-white)}.univer-fill-primary-600{fill:var(--univer-primary-600)}.univer-p-1{padding:.25rem}.univer-p-4{padding:1rem}.univer-px-1{padding-left:.25rem;padding-right:.25rem}.univer-px-4{padding-left:1rem;padding-right:1rem}.univer-py-2{padding-top:.5rem;padding-bottom:.5rem}.univer-py-4{padding-top:1rem;padding-bottom:1rem}.univer-pl-1{padding-left:.25rem}.univer-pl-5{padding-left:1.25rem}.univer-pr-8{padding-right:2rem}.univer-pt-2{padding-top:.5rem}.univer-text-\[10px\]{font-size:10px}.univer-text-sm{font-size:.875rem;line-height:1.25rem}.univer-text-xs{font-size:.75rem;line-height:1rem}.univer-font-bold{font-weight:700}.univer-font-medium{font-weight:500}.univer-italic{font-style:italic}.univer-text-gray-300{color:var(--univer-gray-300)}.univer-text-gray-400{color:var(--univer-gray-400)}.univer-text-gray-600{color:var(--univer-gray-600)}.univer-text-gray-900{color:var(--univer-gray-900)}.univer-text-red-500{color:var(--univer-red-500)}.univer-transition-all{transition-property:all;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.univer-transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.univer-group:hover .group-hover\:univer-flex{display:flex}.hover\:univer-border-primary-600:hover{border-color:var(--univer-primary-600)}.hover\:univer-bg-gray-100:hover{background-color:var(--univer-gray-100)}.hover\:univer-bg-gray-200:hover{background-color:var(--univer-gray-200)}.dark\:\!univer-bg-gray-700:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-700)!important}.dark\:\!univer-text-gray-200:where(.univer-dark,.univer-dark *){color:var(--univer-gray-200)!important}.dark\:\!univer-text-white:where(.univer-dark,.univer-dark *){color:var(--univer-white)!important}.dark\:hover\:\!univer-bg-gray-700:hover:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-700)!important}.\[\&\>div\:first-child\]\:univer-px-2\.5>div:first-child{padding-left:.625rem;padding-right:.625rem}.\[\&\>div\]\:univer-h-5>div{height:1.25rem}.\[\&\>div\]\:univer-ring-transparent>div{--univer-tw-ring-color: transparent}
|
|
8
|
+
|
|
9
|
+
/* === node_modules/@univerjs/presets/lib/styles/preset-sheets-data-validation.css === */
|
|
10
|
+
.univer-absolute{position:absolute}.univer-relative{position:relative}.univer-right-2{right:.5rem}.univer-top-\[19px\]{top:19px}.univer--mx-2{margin-left:-.5rem;margin-right:-.5rem}.-univer-mt-2{margin-top:-.5rem}.-univer-mt-3{margin-top:-.75rem}.univer-mb-1{margin-bottom:.25rem}.univer-mb-3{margin-bottom:.75rem}.univer-ml-1{margin-left:.25rem}.univer-ml-3{margin-left:.75rem}.univer-mr-1{margin-right:.25rem}.univer-mt-3{margin-top:.75rem}.univer-mt-4{margin-top:1rem}.univer-mt-5{margin-top:1.25rem}.univer-box-border{box-sizing:border-box}.univer-flex{display:flex}.univer-inline-flex{display:inline-flex}.univer-grid{display:grid}.univer-size-4{width:1rem;height:1rem}.univer-size-5{width:1.25rem;height:1.25rem}.univer-h-8{height:2rem}.univer-w-16{width:4rem}.univer-w-\[287px\]{width:287px}.univer-w-fit{width:fit-content}.univer-w-full{width:100%}.univer-cursor-move{cursor:move}.univer-cursor-pointer{cursor:pointer}.univer-grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.univer-flex-row{flex-direction:row}.univer-flex-col{flex-direction:column}.univer-flex-wrap{flex-wrap:wrap}.univer-items-center{align-items:center}.univer-justify-end{justify-content:flex-end}.univer-justify-center{justify-content:center}.univer-justify-between{justify-content:space-between}.univer-gap-2{gap:.5rem}.univer-overflow-hidden{overflow:hidden}.univer-truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.univer-rounded{border-radius:.25rem}.univer-rounded-lg{border-radius:.5rem}.univer-rounded-md{border-radius:.375rem}.\!univer-bg-gray-700{background-color:var(--univer-gray-700)!important}.univer-bg-white{background-color:var(--univer-white)}.univer-p-1{padding:.25rem}.univer-p-1\.5{padding:.375rem}.univer-p-2{padding:.5rem}.univer-px-2{padding-left:.5rem;padding-right:.5rem}.univer-px-2\.5{padding-left:.625rem;padding-right:.625rem}.univer-py-2{padding-top:.5rem;padding-bottom:.5rem}.univer-pb-4{padding-bottom:1rem}.univer-pr-9{padding-right:2.25rem}.univer-pt-2{padding-top:.5rem}.univer-text-base{font-size:1rem;line-height:1.5rem}.univer-text-sm{font-size:.875rem;line-height:1.25rem}.univer-text-xs{font-size:.75rem;line-height:1rem}.univer-font-medium{font-weight:500}.univer-leading-\[18px\]{line-height:18px}.univer-leading-\[22px\]{line-height:22px}.univer-text-gray-400{color:var(--univer-gray-400)}.univer-text-gray-900{color:var(--univer-gray-900)}.univer-opacity-50{opacity:.5}.univer-transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.univer-duration-200{transition-duration:.2s}.hover\:univer-border-primary-600:hover{border-color:var(--univer-primary-600)}.hover\:univer-bg-gray-200:hover{background-color:var(--univer-gray-200)}.hover\:univer-bg-gray-50:hover{background-color:var(--univer-gray-50)}.hover\:univer-bg-primary-50:hover{background-color:var(--univer-primary-50)}.dark\:\!univer-bg-gray-700:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-700)!important}.dark\:\!univer-text-gray-300:where(.univer-dark,.univer-dark *){color:var(--univer-gray-300)!important}.dark\:\!univer-text-white:where(.univer-dark,.univer-dark *){color:var(--univer-white)!important}.dark\:hover\:\!univer-bg-gray-700:hover:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-700)!important}.dark\:hover\:\!univer-bg-gray-800:hover:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-800)!important}.\[\&\>div\:first-child\]\:univer-px-2\.5>div:first-child{padding-left:.625rem;padding-right:.625rem}.\[\&\>div\]\:univer-h-5>div{height:1.25rem}.\[\&\>div\]\:univer-ring-transparent>div{--univer-tw-ring-color: transparent}
|
|
11
|
+
|
|
12
|
+
/* === node_modules/@univerjs/presets/lib/styles/preset-sheets-drawing.css === */
|
|
13
|
+
.univer-relative{position:relative}.univer-mt-2\.5{margin-top:.625rem}.univer-h-full{height:100%}.univer-w-full{width:100%}.univer-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.univer-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.univer-items-center{align-items:center}.univer-justify-center{justify-content:center}.univer-rounded{border-radius:.25rem}.\!univer-bg-gray-800{background-color:var(--univer-gray-800)!important}.\!univer-bg-gray-900{background-color:var(--univer-gray-900)!important}.univer-bg-gray-100{background-color:var(--univer-gray-100)}.univer-bg-white{background-color:var(--univer-white)}.univer-fill-primary-600{fill:var(--univer-primary-600)}.univer-p-1{padding:.25rem}.univer-text-center{text-align:center}.univer-text-gray-900{color:var(--univer-gray-900)}.hover\:univer-bg-gray-100:hover{background-color:var(--univer-gray-100)}.dark\:\!univer-bg-gray-800:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-800)!important}.dark\:\!univer-bg-gray-900:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-900)!important}.dark\:\!univer-text-white:where(.univer-dark,.univer-dark *){color:var(--univer-white)!important}.dark\:hover\:\!univer-bg-gray-800:hover:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-800)!important}.\[\&\>div\]\:univer-grid>div{display:grid}.\[\&\>div\]\:univer-gap-2>div{gap:.5rem}.univer-flex{display:flex}.univer-grid{display:grid}.univer-hidden{display:none}.univer-flex-col{flex-direction:column}.univer-justify-end{justify-content:flex-end}.univer-gap-2{gap:.5rem}.univer-border-t{border-top-width:1px}.univer-border-gray-200{border-color:var(--univer-gray-200)}.univer-py-2{padding-top:.5rem;padding-bottom:.5rem}.univer-pt-3{padding-top:.75rem}.univer-text-sm{font-size:.875rem;line-height:1.25rem}.univer-text-xs{font-size:.75rem;line-height:1rem}.univer-text-gray-400{color:var(--univer-gray-400)}.univer-text-gray-600{color:var(--univer-gray-600)}.univer-text-red-500{color:var(--univer-red-500)}.dark\:\!univer-text-gray-200:where(.univer-dark,.univer-dark *){color:var(--univer-gray-200)!important}
|
|
14
|
+
|
|
15
|
+
/* === node_modules/@univerjs/presets/lib/styles/preset-sheets-filter.css === */
|
|
16
|
+
.univer-absolute{position:absolute}.univer-relative{position:relative}.-univer-bottom-0\.5{bottom:-.125rem}.-univer-right-0\.5{right:-.125rem}.univer-mx-1{margin-left:.25rem;margin-right:.25rem}.univer-mb-1{margin-bottom:.25rem}.univer-mb-2{margin-bottom:.5rem}.univer-ml-1{margin-left:.25rem}.univer-mt-2{margin-top:.5rem}.univer-mt-4{margin-top:1rem}.univer-box-border{box-sizing:border-box}.univer-block{display:block}.univer-inline-block{display:inline-block}.univer-flex{display:flex}.univer-inline-flex{display:inline-flex}.univer-grid{display:grid}.univer-hidden{display:none}.univer-size-3{width:.75rem;height:.75rem}.univer-size-6{width:1.5rem;height:1.5rem}.univer-size-full{width:100%;height:100%}.univer-h-4{height:1rem}.univer-h-5{height:1.25rem}.univer-h-7{height:1.75rem}.univer-h-8{height:2rem}.univer-h-\[300px\]{height:300px}.univer-h-full{height:100%}.univer-max-h-\[500px\]{max-height:500px}.univer-min-h-\[300px\]{min-height:300px}.univer-w-\[400px\]{width:400px}.univer-w-full{width:100%}.univer-flex-1{flex:1}.univer-flex-shrink{flex-shrink:1}.univer-flex-shrink-0{flex-shrink:0}.univer-flex-grow{flex-grow:1}.univer-flex-grow-0{flex-grow:0}.univer-cursor-pointer{cursor:pointer}.univer-grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.univer-flex-col{flex-direction:column}.univer-flex-nowrap{flex-wrap:nowrap}.univer-items-center{align-items:center}.univer-justify-start{justify-content:flex-start}.univer-justify-center{justify-content:center}.univer-justify-between{justify-content:space-between}.univer-gap-1{gap:.25rem}.univer-gap-2{gap:.5rem}.univer-gap-4{gap:1rem}.univer-overflow-auto{overflow:auto}.univer-overflow-hidden{overflow:hidden}.univer-truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.univer-whitespace-nowrap{white-space:nowrap}.univer-rounded-full{border-radius:9999px}.univer-rounded-lg{border-radius:.5rem}.univer-rounded-md{border-radius:.375rem}.univer-border{border-width:1px}.univer-border-solid{border-style:solid}.univer-border-\[rgba\(13\,13\,13\,0\.06\)\]{border-color:#0d0d0d0f}.univer-border-transparent{border-color:#0000}.univer-bg-gray-300{background-color:var(--univer-gray-300)}.univer-bg-white{background-color:var(--univer-white)}.univer-p-0\.5{padding:.125rem}.univer-p-2{padding:.5rem}.univer-p-4{padding:1rem}.univer-px-1\.5{padding-left:.375rem;padding-right:.375rem}.univer-px-2{padding-left:.5rem;padding-right:.5rem}.univer-py-0{padding-top:0;padding-bottom:0}.univer-py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.univer-py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.univer-pl-5{padding-left:1.25rem}.univer-pr-0\.5{padding-right:.125rem}.univer-pr-2{padding-right:.5rem}.univer-pt-2{padding-top:.5rem}.univer-text-sm{font-size:.875rem;line-height:1.25rem}.univer-text-xs{font-size:.75rem;line-height:1rem}.univer-font-bold{font-weight:700}.univer-text-\[\#418F1F\]{--univer-tw-text-opacity: 1;color:rgba(65,143,31,var(--univer-tw-text-opacity, 1))}.univer-text-gray-400{color:var(--univer-gray-400)}.univer-text-gray-500{color:var(--univer-gray-500)}.univer-text-gray-900{color:var(--univer-gray-900)}.univer-text-primary-500{color:var(--univer-primary-500)}.univer-shadow-lg{--univer-tw-shadow: 0px 4px 6px 0px #1e284d0d, 0px 10px 15px -3px #1e284d1a;--univer-tw-shadow-colored: 0px 4px 6px 0px var(--univer-tw-shadow-color), 0px 10px 15px -3px var(--univer-tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,0 4px 6px #1e284d0d,0 10px 15px -3px #1e284d1a;box-shadow:var(--univer-tw-ring-offset-shadow, 0 0 #0000),var(--univer-tw-ring-shadow, 0 0 #0000),var(--univer-tw-shadow)}.univer-transition-shadow{transition-property:box-shadow;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\:univer-bg-gray-50:hover{background-color:var(--univer-gray-50)}.hover\:univer-ring-2:hover{--univer-tw-ring-offset-shadow: var(--univer-tw-ring-inset) 0 0 0 var(--univer-tw-ring-offset-width) var(--univer-tw-ring-offset-color);--univer-tw-ring-shadow: var(--univer-tw-ring-inset) 0 0 0 calc(2px + var(--univer-tw-ring-offset-width)) var(--univer-tw-ring-color);box-shadow:var(--univer-tw-ring-offset-shadow),var(--univer-tw-ring-shadow),0 0 #0000;box-shadow:var(--univer-tw-ring-offset-shadow),var(--univer-tw-ring-shadow),var(--univer-tw-shadow, 0 0 #0000)}.hover\:univer-ring-offset-2:hover{--univer-tw-ring-offset-width: 2px}.hover\:univer-ring-offset-white:hover{--univer-tw-ring-offset-color: var(--univer-white)}.dark\:\!univer-border-\[rgba\(255\,255\,255\,0\.06\)\]:where(.univer-dark,.univer-dark *){border-color:#ffffff0f!important}.dark\:\!univer-border-gray-600:where(.univer-dark,.univer-dark *){border-color:var(--univer-gray-600)!important}.dark\:\!univer-bg-gray-700:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-700)!important}.dark\:\!univer-text-gray-200:where(.univer-dark,.univer-dark *){color:var(--univer-gray-200)!important}.dark\:\!univer-text-gray-500:where(.univer-dark,.univer-dark *){color:var(--univer-gray-500)!important}.dark\:\!univer-text-white:where(.univer-dark,.univer-dark *){color:var(--univer-white)!important}.dark\:hover\:\!univer-bg-gray-900:hover:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-900)!important}.\[\&\:hover_a\]\:univer-inline-block:hover a{display:inline-block}
|
|
17
|
+
|
|
18
|
+
/* === node_modules/@univerjs/presets/lib/styles/preset-sheets-hyper-link.css === */
|
|
19
|
+
.univer-mb-1{margin-bottom:.25rem}.univer-ml-2{margin-left:.5rem}.univer-mr-2{margin-right:.5rem}.univer-box-border{box-sizing:border-box}.univer-flex{display:flex}.univer-size-5{width:1.25rem;height:1.25rem}.univer-size-6{width:1.5rem;height:1.5rem}.univer-h-6{height:1.5rem}.univer-w-\[296px\]{width:296px}.univer-w-full{width:100%}.univer-max-w-80{max-width:20rem}.univer-flex-1{flex:1}.univer-flex-none{flex:none}.univer-cursor-pointer{cursor:pointer}.univer-flex-row{flex-direction:row}.univer-items-center{align-items:center}.univer-justify-end{justify-content:flex-end}.univer-justify-center{justify-content:center}.univer-justify-between{justify-content:space-between}.univer-gap-2{gap:.5rem}.univer-overflow-hidden{overflow:hidden}.univer-truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.univer-rounded{border-radius:.25rem}.univer-rounded-lg{border-radius:.5rem}.univer-rounded-xl{border-radius:.75rem}.univer-bg-white{background-color:var(--univer-white)}.univer-p-3{padding:.75rem}.univer-p-4{padding:1rem}.univer-text-base{font-size:1rem;line-height:1.5rem}.univer-text-sm{font-size:.875rem;line-height:1.25rem}.univer-leading-5{line-height:1.25rem}.univer-text-gray-900{color:var(--univer-gray-900)}.univer-text-green-500{color:var(--univer-green-500)}.univer-text-primary-600{color:var(--univer-primary-600)}.univer-text-red-500{color:var(--univer-red-500)}.univer-shadow-md{--univer-tw-shadow: 0px 1px 6px -2px #1e284d14, 0px 2px 6px -1px #1e284d1a;--univer-tw-shadow-colored: 0px 1px 6px -2px var(--univer-tw-shadow-color), 0px 2px 6px -1px var(--univer-tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,0 1px 6px -2px #1e284d14,0 2px 6px -1px #1e284d1a;box-shadow:var(--univer-tw-ring-offset-shadow, 0 0 #0000),var(--univer-tw-ring-shadow, 0 0 #0000),var(--univer-tw-shadow)}.hover\:univer-bg-gray-100:hover{background-color:var(--univer-gray-100)}.dark\:\!univer-bg-gray-900:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-900)!important}.dark\:\!univer-text-white:where(.univer-dark,.univer-dark *){color:var(--univer-white)!important}.dark\:hover\:\!univer-bg-gray-700:hover:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-700)!important}
|
|
20
|
+
|
|
21
|
+
/* === node_modules/@univerjs/preset-sheets-note/lib/index.css === */
|
|
22
|
+
.univer-ml-px{margin-left:1px}.univer-min-h-1{min-height:.25rem}.univer-min-w-1{min-width:.25rem}.univer-bg-white{background-color:var(--univer-white)}.\!univer-text-sm{font-size:.875rem!important;line-height:1.25rem!important}.univer-shadow{--univer-tw-shadow: 0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;--univer-tw-shadow-colored: 0 1px 3px 0 var(--univer-tw-shadow-color), 0 1px 2px -1px var(--univer-tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,0 1px 3px #0000001a,0 1px 2px -1px #0000001a;box-shadow:var(--univer-tw-ring-offset-shadow, 0 0 #0000),var(--univer-tw-ring-shadow, 0 0 #0000),var(--univer-tw-shadow)}.dark\:\!univer-bg-gray-800:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-800)!important}
|
|
23
|
+
|
|
24
|
+
/* === node_modules/@univerjs/preset-sheets-drawing/lib/index.css === */
|
|
25
|
+
.univer-relative{position:relative}.univer-mt-2\.5{margin-top:.625rem}.univer-h-full{height:100%}.univer-w-full{width:100%}.univer-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.univer-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.univer-items-center{align-items:center}.univer-justify-center{justify-content:center}.univer-rounded{border-radius:.25rem}.\!univer-bg-gray-800{background-color:var(--univer-gray-800)!important}.\!univer-bg-gray-900{background-color:var(--univer-gray-900)!important}.univer-bg-gray-100{background-color:var(--univer-gray-100)}.univer-bg-white{background-color:var(--univer-white)}.univer-fill-primary-600{fill:var(--univer-primary-600)}.univer-p-1{padding:.25rem}.univer-text-center{text-align:center}.univer-text-gray-900{color:var(--univer-gray-900)}.hover\:univer-bg-gray-100:hover{background-color:var(--univer-gray-100)}.dark\:\!univer-bg-gray-800:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-800)!important}.dark\:\!univer-bg-gray-900:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-900)!important}.dark\:\!univer-text-white:where(.univer-dark,.univer-dark *){color:var(--univer-white)!important}.dark\:hover\:\!univer-bg-gray-800:hover:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-800)!important}.\[\&\>div\]\:univer-grid>div{display:grid}.\[\&\>div\]\:univer-gap-2>div{gap:.5rem}.univer-flex{display:flex}.univer-grid{display:grid}.univer-hidden{display:none}.univer-flex-col{flex-direction:column}.univer-justify-end{justify-content:flex-end}.univer-gap-2{gap:.5rem}.univer-border-t{border-top-width:1px}.univer-border-gray-200{border-color:var(--univer-gray-200)}.univer-py-2{padding-top:.5rem;padding-bottom:.5rem}.univer-pt-3{padding-top:.75rem}.univer-text-sm{font-size:.875rem;line-height:1.25rem}.univer-text-xs{font-size:.75rem;line-height:1rem}.univer-text-gray-400{color:var(--univer-gray-400)}.univer-text-gray-600{color:var(--univer-gray-600)}.univer-text-red-500{color:var(--univer-red-500)}.dark\:\!univer-text-gray-200:where(.univer-dark,.univer-dark *){color:var(--univer-gray-200)!important}
|
|
26
|
+
|
|
27
|
+
/* === node_modules/@univerjs/preset-sheets-advanced/lib/index.css === */
|
|
28
|
+
.univer-fixed{position:fixed}.univer-bottom-12{bottom:3rem}.univer-right-3{right:.75rem}.univer-m-0{margin:0}.univer-ml-1\.5{margin-left:.375rem}.univer-h-1\.5{height:.375rem}.univer-max-h-72{max-height:18rem}.univer-w-\[324px\]{width:324px}.univer-w-\[372px\]{width:372px}.univer-w-\[calc\(100\%-48px\)\]{width:calc(100% - 48px)}.univer-select-none{user-select:none}.univer-list-none{list-style-type:none}.univer-border-0{border-width:0}.univer-py-0{padding-top:0;padding-bottom:0}.univer-pl-1\.5{padding-left:.375rem}.univer-pl-2{padding-left:.5rem}.univer-pr-2{padding-right:.5rem}.univer-pr-4{padding-right:1rem}.univer-pt-5{padding-top:1.25rem}.univer-text-blue-500{color:var(--univer-blue-500)}.univer-text-green-500{color:var(--univer-green-500)}.univer-no-underline{text-decoration-line:none}.univer-shadow-md{--univer-tw-shadow: 0px 1px 6px -2px #1e284d14, 0px 2px 6px -1px #1e284d1a;--univer-tw-shadow-colored: 0px 1px 6px -2px var(--univer-tw-shadow-color), 0px 2px 6px -1px var(--univer-tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,0 1px 6px -2px #1e284d14,0 2px 6px -1px #1e284d1a;box-shadow:var(--univer-tw-ring-offset-shadow, 0 0 #0000),var(--univer-tw-ring-shadow, 0 0 #0000),var(--univer-tw-shadow)}.univer-outline-none{outline-offset:2px;outline:2px solid #0000}.univer-transition-\[width\]{transition-property:width;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.univer-duration-150{transition-duration:.15s}.univer-duration-500{transition-duration:.5s}.hover\:univer-bg-primary-50:hover{background-color:var(--univer-primary-50)}.dark\:hover\:\!univer-bg-gray-600:hover:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-600)!important}.univer-mx-1\.5{margin-left:.375rem;margin-right:.375rem}.univer-mt-0{margin-top:0}.univer-inline-block{display:inline-block}.univer-hidden{display:none}.univer-h-40{height:10rem}.univer-h-\[140px\]{height:140px}.univer-h-\[161px\]{height:161px}.univer-h-\[300px\]{height:300px}.univer-h-\[calc\(100\%-16px\)\]{height:calc(100% - 16px)}.univer-min-h-\[150px\]{min-height:150px}.univer-min-h-\[200px\]{min-height:200px}.univer-w-4{width:1rem}.univer-w-\[140px\]{width:140px}.univer-w-\[14px\]{width:14px}.univer-min-w-0{min-width:0}.univer-max-w-\[200px\]{max-width:200px}.univer-max-w-\[66px\]{max-width:66px}.univer-flex-shrink{flex-shrink:1}.univer-self-stretch{align-self:stretch}.univer-overflow-x-hidden{overflow-x:hidden}.univer-rounded-l-md{border-top-left-radius:.375rem;border-bottom-left-radius:.375rem}.univer-rounded-r-md{border-top-right-radius:.375rem;border-bottom-right-radius:.375rem}.univer-border-none{border-style:none}.univer-border-primary-600{border-color:var(--univer-primary-600)}.univer-border-transparent{border-color:#0000}.univer-py-\[5px\]{padding-top:5px;padding-bottom:5px}.univer-pl-\[22px\]{padding-left:22px}.univer-text-justify{text-align:justify}.univer-align-top{vertical-align:top}.univer-capitalize{text-transform:capitalize}.univer-text-\[rgb\(var\(--hyacinth-500\)\)\]{color:rgb(var(--hyacinth-500))}.univer-text-gray-400{color:var(--univer-gray-400)}.univer-text-red-400{color:var(--univer-red-400)}.univer-opacity-0{opacity:0}.univer-opacity-100{opacity:1}.univer-transition-all{transition-property:all;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.univer-transition-opacity{transition-property:opacity;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.univer-group:hover .group-hover\:univer-opacity-100{opacity:1}.dark\:\!univer-text-gray-500:where(.univer-dark,.univer-dark *){color:var(--univer-gray-500)!important}.dark\:\!univer-text-gray-600:where(.univer-dark,.univer-dark *){color:var(--univer-gray-600)!important}.univer-pointer-events-none{pointer-events:none}.univer-inset-0{top:0;bottom:0;left:0;right:0}.univer-bottom-4{bottom:1rem}.univer-left-0{left:0}.univer-right-4{right:1rem}.univer-z-\[1000\]{z-index:1000}.univer-z-\[1010\]{z-index:1010}.univer-mx-2{margin-left:.5rem;margin-right:.5rem}.univer-my-0{margin-top:0;margin-bottom:0}.univer-my-1{margin-top:.25rem;margin-bottom:.25rem}.univer-my-5{margin-top:1.25rem;margin-bottom:1.25rem}.univer-mt-7{margin-top:1.75rem}.univer-block{display:block}.univer-size-3{width:.75rem;height:.75rem}.univer-size-8{width:2rem;height:2rem}.univer-h-16{height:4rem}.univer-h-\[200px\]{height:200px}.univer-w-\[312px\]{width:312px}.univer-min-w-36{min-width:9rem}.univer-min-w-\[200px\]{min-width:200px}.univer-flex-none{flex:none}.univer-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.univer-space-y-2>:not([hidden])~:not([hidden]){--univer-tw-space-y-reverse: 0;margin-top:calc(.5rem * (1 - var(--univer-tw-space-y-reverse)));margin-top:.5rem;margin-top:calc(.5rem * calc(1 - var(--univer-tw-space-y-reverse)));margin-bottom:0;margin-bottom:calc(.5rem * var(--univer-tw-space-y-reverse))}.univer-overflow-hidden{overflow:hidden}.univer-overflow-y-auto{overflow-y:auto}.univer-border-t{border-top-width:1px}.univer-px-2\.5{padding-left:.625rem;padding-right:.625rem}.univer-px-6{padding-left:1.5rem;padding-right:1.5rem}.univer-py-2{padding-top:.5rem;padding-bottom:.5rem}.univer-py-7{padding-top:1.75rem;padding-bottom:1.75rem}.univer-text-lg{font-size:1.125rem;line-height:1.75rem}.univer-shadow-lg{--univer-tw-shadow: 0px 4px 6px 0px #1e284d0d, 0px 10px 15px -3px #1e284d1a;--univer-tw-shadow-colored: 0px 4px 6px 0px var(--univer-tw-shadow-color), 0px 10px 15px -3px var(--univer-tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,0 4px 6px #1e284d0d,0 10px 15px -3px #1e284d1a;box-shadow:var(--univer-tw-ring-offset-shadow, 0 0 #0000),var(--univer-tw-ring-shadow, 0 0 #0000),var(--univer-tw-shadow)}.first\:univer-mr-2:first-child{margin-right:.5rem}.hover\:univer-rounded:hover{border-radius:.25rem}.hover\:univer-bg-gray-300:hover{background-color:var(--univer-gray-300)}.hover\:dark\:\!univer-bg-gray-700:where(.univer-dark,.univer-dark *):hover{background-color:var(--univer-gray-700)!important}.univer-right-2{right:.5rem}.univer-top-2{top:.5rem}.univer-ml-1{margin-left:.25rem}.univer-mt-1\.5{margin-top:.375rem}.univer-mt-2\.5{margin-top:.625rem}.univer-mt-4{margin-top:1rem}.univer-mt-5{margin-top:1.25rem}.univer-inline-flex{display:inline-flex}.univer-size-6{width:1.5rem;height:1.5rem}.univer-h-\[26px\]{height:26px}.univer-w-\[--radix-popper-anchor-width\]{width:var(--radix-popper-anchor-width)}.univer-w-\[136px\]{width:136px}.univer-w-\[208px\]{width:208px}.univer-w-\[290px\]{width:290px}.univer-w-fit{width:fit-content}.\!univer-min-w-0{min-width:0!important}.univer-flex-grow{flex-grow:1}.univer-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.univer-flex-row{flex-direction:row}.univer-gap-2\.5{gap:.625rem}.univer-justify-self-end{justify-self:end}.univer-rounded-xl{border-radius:.75rem}.univer-bg-white{background-color:var(--univer-white)}.univer-p-1\.5{padding:.375rem}.univer-p-2{padding:.5rem}.univer-px-1{padding-left:.25rem;padding-right:.25rem}.univer-px-1\.5{padding-left:.375rem;padding-right:.375rem}.univer-py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.univer-pb-3{padding-bottom:.75rem}.univer-text-2xl{font-size:1.5rem;line-height:2rem}.univer-text-base{font-size:1rem;line-height:1.5rem}.univer-leading-4{line-height:1rem}.univer-leading-5{line-height:1.25rem}.univer-leading-6{line-height:1.5rem}.univer-shadow{--univer-tw-shadow: 0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;--univer-tw-shadow-colored: 0 1px 3px 0 var(--univer-tw-shadow-color), 0 1px 2px -1px var(--univer-tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,0 1px 3px #0000001a,0 1px 2px -1px #0000001a;box-shadow:var(--univer-tw-ring-offset-shadow, 0 0 #0000),var(--univer-tw-ring-shadow, 0 0 #0000),var(--univer-tw-shadow)}.univer-duration-200{transition-duration:.2s}.placeholder\:univer-text-gray-400::placeholder{color:var(--univer-gray-400)}.focus\:univer-border-primary-500:focus{border-color:var(--univer-primary-500)}.focus\:univer-outline-none:focus{outline-offset:2px;outline:2px solid #0000}.focus\:univer-ring-2:focus{--univer-tw-ring-offset-shadow: var(--univer-tw-ring-inset) 0 0 0 var(--univer-tw-ring-offset-width) var(--univer-tw-ring-offset-color);--univer-tw-ring-shadow: var(--univer-tw-ring-inset) 0 0 0 calc(2px + var(--univer-tw-ring-offset-width)) var(--univer-tw-ring-color);box-shadow:var(--univer-tw-ring-offset-shadow),var(--univer-tw-ring-shadow),0 0 #0000;box-shadow:var(--univer-tw-ring-offset-shadow),var(--univer-tw-ring-shadow),var(--univer-tw-shadow, 0 0 #0000)}.focus\:univer-ring-primary-50:focus{--univer-tw-ring-color: var(--univer-primary-50)}.dark\:\!univer-border-gray-700:where(.univer-dark,.univer-dark *){border-color:var(--univer-gray-700)!important}.dark\:\!univer-shadow-none:where(.univer-dark,.univer-dark *){--univer-tw-shadow: 0 0 #0000 !important;--univer-tw-shadow-colored: 0 0 #0000 !important;box-shadow:0 0 #0000,0 0 #0000,0 0 #0000!important;box-shadow:var(--univer-tw-ring-offset-shadow, 0 0 #0000),var(--univer-tw-ring-shadow, 0 0 #0000),var(--univer-tw-shadow)!important}.univer-bottom-0{bottom:0}.univer-m-0\.5{margin:.125rem}.univer-mx-0{margin-left:0;margin-right:0}.univer-my-2{margin-top:.5rem;margin-bottom:.5rem}.univer-my-4{margin-top:1rem;margin-bottom:1rem}.univer-mb-3{margin-bottom:.75rem}.univer-mb-4{margin-bottom:1rem}.univer-mb-5{margin-bottom:1.25rem}.univer-ml-2{margin-left:.5rem}.univer-ml-3{margin-left:.75rem}.univer-mr-0\.5{margin-right:.125rem}.univer-mr-2{margin-right:.5rem}.univer-mt-0\.5{margin-top:.125rem}.univer-mt-3{margin-top:.75rem}.univer-box-content{box-sizing:content-box}.univer-size-4{width:1rem;height:1rem}.univer-size-5{width:1.25rem;height:1.25rem}.univer-h-0\.5{height:.125rem}.univer-h-10{height:2.5rem}.univer-h-4{height:1rem}.univer-h-5{height:1.25rem}.univer-h-6{height:1.5rem}.univer-h-7{height:1.75rem}.univer-h-8{height:2rem}.univer-h-full{height:100%}.univer-w-14{width:3.5rem}.univer-w-6{width:1.5rem}.univer-w-\[45\%\]{width:45%}.univer-max-w-\[290px\]{max-width:290px}.univer-cursor-not-allowed{cursor:not-allowed}.univer-justify-end{justify-content:flex-end}.univer-justify-around{justify-content:space-around}.univer-gap-2{gap:.5rem}.univer-gap-5{gap:1.25rem}.univer-truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.univer-rounded-sm{border-radius:.125rem}.\!univer-bg-gray-50{background-color:var(--univer-gray-50)!important}.\!univer-bg-gray-700{background-color:var(--univer-gray-700)!important}.univer-bg-blue-200{background-color:var(--univer-blue-200)}.univer-bg-gray-50{background-color:var(--univer-gray-50)}.univer-p-0{padding:0}.univer-p-0\.5{padding:.125rem}.univer-p-4{padding:1rem}.univer-px-0{padding-left:0;padding-right:0}.univer-py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.univer-pb-4{padding-bottom:1rem}.univer-pl-4{padding-left:1rem}.univer-pr-1{padding-right:.25rem}.univer-pt-2\.5{padding-top:.625rem}.univer-leading-7{line-height:1.75rem}.univer-leading-8{line-height:2rem}.univer-leading-tight{line-height:1.25}.univer-text-gray-200{color:var(--univer-gray-200)}.univer-text-gray-800{color:var(--univer-gray-800)}.univer-text-gray-900{color:var(--univer-gray-900)}.univer-text-red-500{color:var(--univer-red-500)}.univer-text-white{color:var(--univer-white)}.univer-duration-300{transition-duration:.3s}.univer-ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.univer-scrollbar-corner-primary-600{--scrollbar-corner: var(--univer-primary-600) !important}.dark\:\!univer-bg-gray-700:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-700)!important}.dark\:\!univer-bg-gray-900:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-900)!important}.dark\:\!univer-text-gray-100:where(.univer-dark,.univer-dark *){color:var(--univer-gray-100)!important}.dark\:\!univer-text-white:where(.univer-dark,.univer-dark *){color:var(--univer-white)!important}.univer-absolute{position:absolute}.univer-relative{position:relative}.univer-z-\[100\]{z-index:100}.univer-mx-auto{margin-left:auto;margin-right:auto}.univer-mb-1{margin-bottom:.25rem}.univer-mb-2{margin-bottom:.5rem}.univer-mr-5{margin-right:1.25rem}.univer-mt-2{margin-top:.5rem}.univer-box-border{box-sizing:border-box}.univer-flex{display:flex}.univer-grid{display:grid}.univer-aspect-square{aspect-ratio:1}.univer-size-full{width:100%;height:100%}.univer-h-1{height:.25rem}.univer-w-1\/2{width:50%}.univer-w-20{width:5rem}.univer-w-28{width:7rem}.univer-w-\[320px\]{width:320px}.univer-w-full{width:100%}.univer-flex-1{flex:1}.univer-shrink-0{flex-shrink:0}.univer-rotate-180{--univer-tw-rotate: 180deg;transform:translate(var(--univer-tw-translate-x),var(--univer-tw-translate-y)) rotate(180deg) skew(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y));transform:translate(var(--univer-tw-translate-x),var(--univer-tw-translate-y)) rotate(var(--univer-tw-rotate)) skew(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y))}.univer-cursor-default{cursor:default}.univer-cursor-pointer{cursor:pointer}.univer-appearance-none{-webkit-appearance:none;appearance:none}.univer-grid-cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}.univer-flex-col{flex-direction:column}.univer-items-center{align-items:center}.univer-justify-center{justify-content:center}.univer-justify-between{justify-content:space-between}.univer-gap-1{gap:.25rem}.univer-gap-1\.5{gap:.375rem}.univer-gap-3{gap:.75rem}.univer-gap-4{gap:1rem}.univer-overflow-auto{overflow:auto}.univer-overflow-visible{overflow:visible}.univer-rounded{border-radius:.25rem}.univer-rounded-full{border-radius:9999px}.univer-rounded-lg{border-radius:.5rem}.univer-rounded-md{border-radius:.375rem}.univer-border{border-width:1px}.univer-border-b{border-bottom-width:1px}.univer-border-solid{border-style:solid}.univer-border-gray-200{border-color:var(--univer-gray-200)}.univer-bg-gray-100{background-color:var(--univer-gray-100)}.univer-bg-gray-200{background-color:var(--univer-gray-200)}.univer-bg-primary-600{background-color:var(--univer-primary-600)}.univer-bg-transparent{background-color:#0000}.univer-p-1{padding:.25rem}.univer-p-3{padding:.75rem}.univer-px-2{padding-left:.5rem;padding-right:.5rem}.univer-px-3{padding-left:.75rem;padding-right:.75rem}.univer-px-4{padding-left:1rem;padding-right:1rem}.univer-py-1{padding-top:.25rem;padding-bottom:.25rem}.univer-py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.univer-py-4{padding-top:1rem;padding-bottom:1rem}.univer-pb-2{padding-bottom:.5rem}.univer-pb-2\.5{padding-bottom:.625rem}.univer-pt-2{padding-top:.5rem}.univer-text-center{text-align:center}.univer-text-sm{font-size:.875rem;line-height:1.25rem}.univer-text-xl{font-size:1.25rem;line-height:1.75rem}.univer-text-xs{font-size:.75rem;line-height:1rem}.univer-font-medium{font-weight:500}.univer-font-semibold{font-weight:600}.univer-text-gray-500{color:var(--univer-gray-500)}.univer-text-gray-600{color:var(--univer-gray-600)}.univer-text-gray-700{color:var(--univer-gray-700)}.univer-text-primary-600{color:var(--univer-primary-600)}.univer-transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.univer-transition-transform{transition-property:transform;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\:univer-border-primary-600:hover{border-color:var(--univer-primary-600)}.hover\:univer-bg-gray-100:hover{background-color:var(--univer-gray-100)}.hover\:univer-bg-gray-200:hover{background-color:var(--univer-gray-200)}.dark\:\!univer-border-gray-600:where(.univer-dark,.univer-dark *){border-color:var(--univer-gray-600)!important}.dark\:\!univer-bg-gray-600:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-600)!important}.dark\:\!univer-bg-gray-800:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-800)!important}.dark\:\!univer-text-gray-200:where(.univer-dark,.univer-dark *){color:var(--univer-gray-200)!important}.dark\:hover\:\!univer-bg-gray-700:hover:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-700)!important}.\[\&\:\:-webkit-slider-thumb\]\:univer-size-3\.5::-webkit-slider-thumb{width:.875rem;height:.875rem}.\[\&\:\:-webkit-slider-thumb\]\:univer-appearance-none::-webkit-slider-thumb{-webkit-appearance:none;appearance:none}.\[\&\:\:-webkit-slider-thumb\]\:univer-rounded-full::-webkit-slider-thumb{border-radius:9999px}.\[\&\:\:-webkit-slider-thumb\]\:univer-bg-primary-600::-webkit-slider-thumb{background-color:var(--univer-primary-600)}.\[\&\:\:-webkit-slider-thumb\]\:univer-shadow-sm::-webkit-slider-thumb{--univer-tw-shadow: 0px 1px 2px 0px #1e284d14;--univer-tw-shadow-colored: 0px 1px 2px 0px var(--univer-tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,0 1px 2px #1e284d14;box-shadow:var(--univer-tw-ring-offset-shadow, 0 0 #0000),var(--univer-tw-ring-shadow, 0 0 #0000),var(--univer-tw-shadow)}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tor-univer-sheet",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.4",
|
|
4
4
|
"style": "./dist/style.css",
|
|
5
5
|
"description": "基于 Univer 的 Vue3 电子表格组件",
|
|
6
6
|
"author": "tortormore",
|
|
@@ -15,14 +15,15 @@
|
|
|
15
15
|
"import": "./dist/tor-univer-sheet.es.js",
|
|
16
16
|
"require": "./dist/tor-univer-sheet.umd.js"
|
|
17
17
|
},
|
|
18
|
-
"./style.css": "./dist/style.css"
|
|
18
|
+
"./style.css": "./dist/style.css",
|
|
19
|
+
"./univer-styles.css": "./dist/univer-styles.css"
|
|
19
20
|
},
|
|
20
21
|
"files": [
|
|
21
22
|
"dist"
|
|
22
23
|
],
|
|
23
24
|
"scripts": {
|
|
24
25
|
"dev": "vite",
|
|
25
|
-
"build": "vite build",
|
|
26
|
+
"build": "vite build && node scripts/concat-univer-css.js",
|
|
26
27
|
"preview": "vite preview",
|
|
27
28
|
"test:unit": "vitest",
|
|
28
29
|
"build-only": "vite build",
|