@univerjs/sheets-conditional-formatting-ui 0.7.0-nightly.202505111606 → 0.7.0-nightly.202505121607

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/lib/es/index.js CHANGED
@@ -327,10 +327,7 @@ const Me = (t) => {
327
327
  children: /* @__PURE__ */ k(
328
328
  "span",
329
329
  {
330
- className: X(`
331
- univer-flex univer-cursor-pointer univer-items-center univer-rounded univer-p-1
332
- hover:univer-bg-gray-100
333
- `, s),
330
+ className: X("univer-flex univer-cursor-pointer univer-items-center univer-rounded univer-p-1 hover:univer-bg-gray-100", s),
334
331
  children: [
335
332
  /* @__PURE__ */ c(u, { className: "univer-fill-primary-600", extend: { colorChannel1: a.isValid ? e : "" } }),
336
333
  o && /* @__PURE__ */ c(
@@ -427,14 +424,7 @@ const Me = (t) => {
427
424
  Mt,
428
425
  {
429
426
  ref: h,
430
- className: X(`
431
- univer-box-border univer-h-8 univer-w-full univer-cursor-pointer univer-items-center
432
- univer-rounded-lg univer-bg-white univer-pt-2 univer-transition-colors
433
- [&>div:first-child]:univer-px-2.5
434
- [&>div]:univer-h-5 [&>div]:univer-ring-transparent
435
- dark:univer-bg-gray-700 dark:univer-text-white
436
- hover:univer-border-primary-600
437
- `, He),
427
+ className: X("univer-box-border univer-h-8 univer-w-full univer-cursor-pointer univer-items-center univer-rounded-lg univer-bg-white univer-pt-2 univer-transition-colors [&>div:first-child]:univer-px-2.5 [&>div]:univer-h-5 [&>div]:univer-ring-transparent dark:univer-bg-gray-700 dark:univer-text-white hover:univer-border-primary-600", He),
438
428
  initValue: u,
439
429
  unitId: d,
440
430
  subUnitId: a,
@@ -504,10 +494,7 @@ const Me = (t) => {
504
494
  /* @__PURE__ */ c(
505
495
  "div",
506
496
  {
507
- className: `
508
- univer-mt-4 univer-text-sm univer-text-gray-600
509
- dark:univer-text-gray-200
510
- `,
497
+ className: "univer-mt-4 univer-text-sm univer-text-gray-600 dark:univer-text-gray-200",
511
498
  children: r.t("sheet.cf.panel.styleRule")
512
499
  }
513
500
  ),
@@ -515,10 +502,7 @@ const Me = (t) => {
515
502
  /* @__PURE__ */ c(
516
503
  "div",
517
504
  {
518
- className: `
519
- univer-mt-3 univer-text-xs univer-text-gray-600
520
- dark:univer-text-gray-200
521
- `,
505
+ className: "univer-mt-3 univer-text-xs univer-text-gray-600 dark:univer-text-gray-200",
522
506
  children: r.t("sheet.cf.valueType.min")
523
507
  }
524
508
  ),
@@ -592,10 +576,7 @@ const Me = (t) => {
592
576
  /* @__PURE__ */ c(
593
577
  "div",
594
578
  {
595
- className: `
596
- univer-mt-3 univer-text-xs
597
- univer-text-gray-600dark:univer-text-gray-200
598
- `,
579
+ className: "univer-mt-3 univer-text-xs univer-text-gray-600dark:univer-text-gray-200",
599
580
  children: r.t("sheet.cf.panel.medianValue")
600
581
  }
601
582
  ),
@@ -669,10 +650,7 @@ const Me = (t) => {
669
650
  /* @__PURE__ */ c(
670
651
  "div",
671
652
  {
672
- className: `
673
- univer-mt-3 univer-text-xs univer-text-gray-600
674
- dark:univer-text-gray-200
675
- `,
653
+ className: "univer-mt-3 univer-text-xs univer-text-gray-600 dark:univer-text-gray-200",
676
654
  children: r.t("sheet.cf.valueType.max")
677
655
  }
678
656
  ),
@@ -764,14 +742,7 @@ const Me = (t) => {
764
742
  Mt,
765
743
  {
766
744
  ref: l,
767
- className: X(`
768
- univer-box-border univer-h-8 univer-w-full univer-cursor-pointer univer-items-center
769
- univer-rounded-lg univer-bg-white univer-pt-2 univer-transition-colors
770
- [&>div:first-child]:univer-px-2.5
771
- [&>div]:univer-h-5 [&>div]:univer-ring-transparent
772
- dark:univer-bg-gray-700 dark:univer-text-white
773
- hover:univer-border-primary-600
774
- `, He),
745
+ className: X("univer-box-border univer-h-8 univer-w-full univer-cursor-pointer univer-items-center univer-rounded-lg univer-bg-white univer-pt-2 univer-transition-colors [&>div:first-child]:univer-px-2.5 [&>div]:univer-h-5 [&>div]:univer-ring-transparent dark:univer-bg-gray-700 dark:univer-text-white hover:univer-border-primary-600", He),
775
746
  initValue: T,
776
747
  unitId: a,
777
748
  subUnitId: u,
@@ -868,10 +839,7 @@ const Me = (t) => {
868
839
  /* @__PURE__ */ c(
869
840
  "div",
870
841
  {
871
- className: `
872
- univer-mt-4 univer-text-sm univer-text-gray-600
873
- dark:univer-text-gray-200
874
- `,
842
+ className: "univer-mt-4 univer-text-sm univer-text-gray-600 dark:univer-text-gray-200",
875
843
  children: r.t("sheet.cf.panel.styleRule")
876
844
  }
877
845
  ),
@@ -894,10 +862,7 @@ const Me = (t) => {
894
862
  /* @__PURE__ */ c(
895
863
  "div",
896
864
  {
897
- className: `
898
- univer-mt-3 univer-text-sm univer-text-gray-600
899
- dark:univer-text-gray-200
900
- `,
865
+ className: "univer-mt-3 univer-text-sm univer-text-gray-600 dark:univer-text-gray-200",
901
866
  children: r.t("sheet.cf.panel.fillType")
902
867
  }
903
868
  ),
@@ -951,10 +916,7 @@ const Me = (t) => {
951
916
  /* @__PURE__ */ c(
952
917
  "div",
953
918
  {
954
- className: `
955
- univer-mt-3 univer-text-sm univer-text-gray-600
956
- dark:univer-text-gray-200
957
- `,
919
+ className: "univer-mt-3 univer-text-sm univer-text-gray-600 dark:univer-text-gray-200",
958
920
  children: r.t("sheet.cf.panel.colorSet")
959
921
  }
960
922
  ),
@@ -985,10 +947,7 @@ const Me = (t) => {
985
947
  /* @__PURE__ */ c(
986
948
  "div",
987
949
  {
988
- className: `
989
- univer-mt-3 univer-text-sm univer-text-gray-600
990
- dark:univer-text-gray-200
991
- `,
950
+ className: "univer-mt-3 univer-text-sm univer-text-gray-600 dark:univer-text-gray-200",
992
951
  children: r.t("sheet.cf.valueType.min")
993
952
  }
994
953
  ),
@@ -1041,10 +1000,7 @@ const Me = (t) => {
1041
1000
  /* @__PURE__ */ c(
1042
1001
  "div",
1043
1002
  {
1044
- className: `
1045
- univer-mt-3 univer-text-sm univer-text-gray-600
1046
- dark:univer-text-gray-200
1047
- `,
1003
+ className: "univer-mt-3 univer-text-sm univer-text-gray-600 dark:univer-text-gray-200",
1048
1004
  children: r.t("sheet.cf.valueType.max")
1049
1005
  }
1050
1006
  ),
@@ -1195,10 +1151,7 @@ const Me = (t) => {
1195
1151
  /* @__PURE__ */ c(
1196
1152
  "div",
1197
1153
  {
1198
- className: `
1199
- univer-mt-4 univer-text-sm univer-text-gray-600
1200
- dark:univer-text-gray-200
1201
- `,
1154
+ className: "univer-mt-4 univer-text-sm univer-text-gray-600 dark:univer-text-gray-200",
1202
1155
  children: n.t("sheet.cf.panel.styleRule")
1203
1156
  }
1204
1157
  ),
@@ -1206,14 +1159,7 @@ const Me = (t) => {
1206
1159
  Mt,
1207
1160
  {
1208
1161
  ref: h,
1209
- className: X(`
1210
- univer-box-border univer-h-8 univer-w-full univer-cursor-pointer univer-items-center
1211
- univer-rounded-lg univer-bg-white univer-pt-2 univer-transition-colors
1212
- [&>div:first-child]:univer-px-2.5
1213
- [&>div]:univer-h-5 [&>div]:univer-ring-transparent
1214
- dark:univer-bg-gray-700 dark:univer-text-white
1215
- hover:univer-border-primary-600
1216
- `, He),
1162
+ className: X("univer-box-border univer-h-8 univer-w-full univer-cursor-pointer univer-items-center univer-rounded-lg univer-bg-white univer-pt-2 univer-transition-colors [&>div:first-child]:univer-px-2.5 [&>div]:univer-h-5 [&>div]:univer-ring-transparent dark:univer-bg-gray-700 dark:univer-text-white hover:univer-border-primary-600", He),
1217
1163
  errorText: T,
1218
1164
  isFocus: u,
1219
1165
  initValue: S,
@@ -1469,10 +1415,7 @@ const Me = (t) => {
1469
1415
  /* @__PURE__ */ c(
1470
1416
  "div",
1471
1417
  {
1472
- className: `
1473
- univer-mt-4 univer-text-sm univer-text-gray-600
1474
- dark:univer-text-gray-200
1475
- `,
1418
+ className: "univer-mt-4 univer-text-sm univer-text-gray-600 dark:univer-text-gray-200",
1476
1419
  children: n.t("sheet.cf.panel.styleRule")
1477
1420
  }
1478
1421
  ),
@@ -1573,10 +1516,7 @@ const Me = (t) => {
1573
1516
  children: /* @__PURE__ */ c(
1574
1517
  "a",
1575
1518
  {
1576
- className: `
1577
- univer-cursor-pointer univer-rounded
1578
- hover:univer-bg-gray-100
1579
- `,
1519
+ className: "univer-cursor-pointer univer-rounded hover:univer-bg-gray-100",
1580
1520
  children: d.list.map((a, u) => /* @__PURE__ */ c(
1581
1521
  "img",
1582
1522
  {
@@ -1624,11 +1564,7 @@ const Me = (t) => {
1624
1564
  /* @__PURE__ */ c("div", { className: "univer-flex univer-w-64 univer-flex-wrap", children: r.map((i) => /* @__PURE__ */ c(
1625
1565
  "div",
1626
1566
  {
1627
- className: `
1628
- univer-mb-2 univer-mr-2 univer-flex univer-cursor-pointer univer-items-center
1629
- univer-justify-center univer-rounded
1630
- hover:univer-bg-gray-100
1631
- `,
1567
+ className: "univer-mb-2 univer-mr-2 univer-flex univer-cursor-pointer univer-items-center univer-justify-center univer-rounded hover:univer-bg-gray-100",
1632
1568
  children: /* @__PURE__ */ c(
1633
1569
  "img",
1634
1570
  {
@@ -1672,11 +1608,7 @@ const Me = (t) => {
1672
1608
  /* @__PURE__ */ k(
1673
1609
  "div",
1674
1610
  {
1675
- className: `
1676
- univer-mt-3 univer-flex univer-items-center univer-justify-between univer-text-sm
1677
- univer-text-gray-600
1678
- dark:univer-text-gray-200
1679
- `,
1611
+ className: "univer-mt-3 univer-flex univer-items-center univer-justify-between univer-text-sm univer-text-gray-600 dark:univer-text-gray-200",
1680
1612
  children: [
1681
1613
  /* @__PURE__ */ k(
1682
1614
  "div",
@@ -1693,10 +1625,7 @@ const Me = (t) => {
1693
1625
  !T && !p && /* @__PURE__ */ k(
1694
1626
  "span",
1695
1627
  {
1696
- className: `
1697
- univer-font-medium univer-text-gray-600
1698
- dark:univer-text-gray-200
1699
- `,
1628
+ className: "univer-font-medium univer-text-gray-600 dark:univer-text-gray-200",
1700
1629
  children: [
1701
1630
  "(",
1702
1631
  i.t("sheet.cf.iconSet.when"),
@@ -1719,13 +1648,7 @@ const Me = (t) => {
1719
1648
  children: /* @__PURE__ */ k(
1720
1649
  "div",
1721
1650
  {
1722
- className: X(`
1723
- univer-box-border univer-flex univer-h-8 univer-w-full univer-items-center
1724
- univer-justify-between univer-rounded-md univer-bg-white univer-px-4 univer-py-2
1725
- univer-text-xs univer-text-gray-600 univer-transition-all
1726
- dark:univer-text-gray-200
1727
- hover:univer-border-primary-600
1728
- `, He),
1651
+ className: X("univer-box-border univer-flex univer-h-8 univer-w-full univer-items-center univer-justify-between univer-rounded-md univer-bg-white univer-px-4 univer-py-2 univer-text-xs univer-text-gray-600 univer-transition-all dark:univer-text-gray-200 hover:univer-border-primary-600", He),
1729
1652
  children: [
1730
1653
  S ? /* @__PURE__ */ c("img", { src: S, className: "univer-size-4", draggable: !1 }) : /* @__PURE__ */ c(
1731
1654
  ot,
@@ -1742,10 +1665,7 @@ const Me = (t) => {
1742
1665
  p ? /* @__PURE__ */ k(
1743
1666
  "div",
1744
1667
  {
1745
- className: `
1746
- univer-mt-0 univer-w-[45%] univer-text-sm univer-text-gray-600
1747
- dark:univer-text-gray-200
1748
- `,
1668
+ className: "univer-mt-0 univer-w-[45%] univer-text-sm univer-text-gray-600 dark:univer-text-gray-200",
1749
1669
  children: [
1750
1670
  i.t("sheet.cf.iconSet.rule"),
1751
1671
  /* @__PURE__ */ k("span", { className: "univer-font-medium", children: [
@@ -1771,11 +1691,7 @@ const Me = (t) => {
1771
1691
  /* @__PURE__ */ k(
1772
1692
  "div",
1773
1693
  {
1774
- className: `
1775
- univer-mt-3 univer-flex univer-items-center univer-justify-between univer-gap-4
1776
- univer-text-sm univer-text-gray-600
1777
- dark:univer-text-gray-200
1778
- `,
1694
+ className: "univer-mt-3 univer-flex univer-items-center univer-justify-between univer-gap-4 univer-text-sm univer-text-gray-600 dark:univer-text-gray-200",
1779
1695
  children: [
1780
1696
  /* @__PURE__ */ c("div", { children: i.t("sheet.cf.iconSet.type") }),
1781
1697
  /* @__PURE__ */ c("div", { children: i.t("sheet.cf.iconSet.value") })
@@ -1785,9 +1701,7 @@ const Me = (t) => {
1785
1701
  /* @__PURE__ */ k(
1786
1702
  "div",
1787
1703
  {
1788
- className: `
1789
- univer-mt-3 univer-flex univer-items-center univer-justify-between univer-gap-4
1790
- `,
1704
+ className: "univer-mt-3 univer-flex univer-items-center univer-justify-between univer-gap-4",
1791
1705
  children: [
1792
1706
  /* @__PURE__ */ c(
1793
1707
  le,
@@ -1922,12 +1836,7 @@ const Me = (t) => {
1922
1836
  children: /* @__PURE__ */ k(
1923
1837
  "div",
1924
1838
  {
1925
- className: X(`
1926
- univer-box-border univer-flex univer-h-8 univer-w-full univer-items-center
1927
- univer-justify-between univer-rounded-md univer-bg-white univer-px-4 univer-py-2
1928
- univer-text-xs univer-text-gray-600 univer-transition-all
1929
- hover:univer-border-primary-600
1930
- `, He),
1839
+ className: X("univer-box-border univer-flex univer-h-8 univer-w-full univer-items-center univer-justify-between univer-rounded-md univer-bg-white univer-px-4 univer-py-2 univer-text-xs univer-text-gray-600 univer-transition-all hover:univer-border-primary-600", He),
1931
1840
  children: [
1932
1841
  v,
1933
1842
  /* @__PURE__ */ c(Vt, {})
@@ -2013,10 +1922,7 @@ const Me = (t) => {
2013
1922
  /* @__PURE__ */ c(
2014
1923
  "div",
2015
1924
  {
2016
- className: `
2017
- univer-mt-4 univer-text-sm univer-text-gray-600
2018
- dark:univer-text-gray-200
2019
- `,
1925
+ className: "univer-mt-4 univer-text-sm univer-text-gray-600 dark:univer-text-gray-200",
2020
1926
  children: n.t("sheet.cf.panel.styleRule")
2021
1927
  }
2022
1928
  ),
@@ -2185,10 +2091,7 @@ const Me = (t) => {
2185
2091
  /* @__PURE__ */ c(
2186
2092
  "div",
2187
2093
  {
2188
- className: `
2189
- univer-mt-4 univer-text-sm univer-text-gray-600
2190
- dark:univer-text-gray-200
2191
- `,
2094
+ className: "univer-mt-4 univer-text-sm univer-text-gray-600 dark:univer-text-gray-200",
2192
2095
  children: e.t("sheet.cf.panel.range")
2193
2096
  }
2194
2097
  ),
@@ -2208,10 +2111,7 @@ const Me = (t) => {
2208
2111
  /* @__PURE__ */ c(
2209
2112
  "div",
2210
2113
  {
2211
- className: `
2212
- univer-mt-4 univer-text-sm univer-text-gray-600
2213
- dark:univer-text-gray-200
2214
- `,
2114
+ className: "univer-mt-4 univer-text-sm univer-text-gray-600 dark:univer-text-gray-200",
2215
2115
  children: e.t("sheet.cf.panel.styleType")
2216
2116
  }
2217
2117
  ),
@@ -2473,10 +2373,7 @@ const Mi = (t) => {
2473
2373
  /* @__PURE__ */ c("div", { ref: y, children: C > 0 && /* @__PURE__ */ c(
2474
2374
  zr,
2475
2375
  {
2476
- className: `
2477
- [&_.react-grid-item]:univer-transition-none
2478
- [&_.react-grid-placeholder]:univer-rounded [&_.react-grid-placeholder]:!univer-bg-gray-200
2479
- `,
2376
+ className: "[&_.react-grid-item]:univer-transition-none [&_.react-grid-placeholder]:univer-rounded [&_.react-grid-placeholder]:!univer-bg-gray-200",
2480
2377
  draggableHandle: ".draggableHandle",
2481
2378
  layout: ke,
2482
2379
  cols: 12,
@@ -2488,11 +2385,7 @@ const Mi = (t) => {
2488
2385
  children: me == null ? void 0 : me.map((D, B) => /* @__PURE__ */ c("div", { children: /* @__PURE__ */ k(
2489
2386
  "div",
2490
2387
  {
2491
- className: X(`
2492
- univer-group univer-relative univer-flex univer-items-center
2493
- univer-justify-between univer-rounded univer-py-2 univer-pl-5 univer-pr-8
2494
- hover:univer-bg-gray-100
2495
- `, {
2388
+ className: X("univer-group univer-relative univer-flex univer-items-center univer-justify-between univer-rounded univer-py-2 univer-pl-5 univer-pr-8 hover:univer-bg-gray-100", {
2496
2389
  "univer-bg-gray-100": x === B
2497
2390
  }),
2498
2391
  onMouseMove: () => {
@@ -2506,12 +2399,7 @@ const Mi = (t) => {
2506
2399
  /* @__PURE__ */ c(
2507
2400
  "div",
2508
2401
  {
2509
- className: X(`
2510
- univer-absolute univer-left-0 univer-hidden univer-size-5
2511
- univer-cursor-grab univer-items-center univer-justify-center
2512
- univer-rounded
2513
- group-hover:univer-flex
2514
- `, "draggableHandle"),
2402
+ className: X("univer-absolute univer-left-0 univer-hidden univer-size-5 univer-cursor-grab univer-items-center univer-justify-center univer-rounded group-hover:univer-flex", "draggableHandle"),
2515
2403
  onClick: (G) => G.stopPropagation(),
2516
2404
  children: /* @__PURE__ */ c(Kn, {})
2517
2405
  }
@@ -2519,17 +2407,12 @@ const Mi = (t) => {
2519
2407
  /* @__PURE__ */ k(
2520
2408
  "div",
2521
2409
  {
2522
- className: `
2523
- univer-min-w-0 univer-max-w-full univer-flex-shrink univer-overflow-hidden
2524
- `,
2410
+ className: "univer-min-w-0 univer-max-w-full univer-flex-shrink univer-overflow-hidden",
2525
2411
  children: [
2526
2412
  /* @__PURE__ */ c(
2527
2413
  "div",
2528
2414
  {
2529
- className: `
2530
- univer-text-sm univer-text-gray-900
2531
- dark:univer-text-white
2532
- `,
2415
+ className: "univer-text-sm univer-text-gray-900 dark:univer-text-white",
2533
2416
  children: Ni(D, o)
2534
2417
  }
2535
2418
  ),
@@ -2541,13 +2424,7 @@ const Mi = (t) => {
2541
2424
  /* @__PURE__ */ c(
2542
2425
  "div",
2543
2426
  {
2544
- className: X(`
2545
- univer-absolute univer-right-1 univer-hidden univer-size-6
2546
- univer-cursor-pointer univer-items-center univer-justify-center
2547
- univer-rounded
2548
- group-hover:univer-flex
2549
- hover:univer-bg-gray-200
2550
- `, {
2427
+ className: X("univer-absolute univer-right-1 univer-hidden univer-size-6 univer-cursor-pointer univer-items-center univer-justify-center univer-rounded group-hover:univer-flex hover:univer-bg-gray-200", {
2551
2428
  "univer-flex univer-items-center univer-justify-center": x === B
2552
2429
  }),
2553
2430
  onClick: (G) => {