@univerjs/sheets-conditional-formatting-ui 0.7.0-nightly.202505131607 → 0.7.0-nightly.202505151607
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/cjs/index.js +2 -2
- package/lib/es/index.js +26 -26
- package/lib/index.css +1 -1
- package/lib/index.js +26 -26
- package/lib/umd/index.js +1 -1
- package/package.json +11 -11
package/lib/es/index.js
CHANGED
|
@@ -4,7 +4,7 @@ var ye = (t, e, r) => ir(t, typeof e != "symbol" ? e + "" : e, r);
|
|
|
4
4
|
import { CommandType as he, ICommandService as te, IUniverInstanceService as z, ColorKit as fn, BooleanNumber as ae, LocaleService as re, UniverInstanceType as $, Tools as Wt, get as sr, set as or, createInterceptorKey as pn, InterceptorManager as ar, Inject as O, Disposable as ce, Injector as ve, Rectangle as fe, generateRandomId as lr, ObjectMatrix as we, Range as pe, toDisposable as Cn, InterceptorEffectEnum as cr, DependentOn as yn, IConfigService as bn, Plugin as Sn, merge as In, registerDependencies as ur, touchDependencies as Ft } from "@univerjs/core";
|
|
5
5
|
import { ConditionalFormattingRuleModel as Q, CFSubRuleType as F, CFRuleType as U, AddConditionalRuleMutation as se, CFNumberOperator as P, getColorScaleFromValue as dr, iconMap as Ee, DEFAULT_BG_COLOR as hr, DEFAULT_FONT_COLOR as vr, defaultDataBarPositiveColor as Ke, defaultDataBarNativeColor as Xe, CFValueType as A, createDefaultValueByValueType as Je, removeUndefinedAttr as gr, createDefaultValue as mt, CFTextOperator as j, CFTimePeriodOperator as ue, iconGroup as mr, getOppositeOperator as Ht, compareWithNumber as fr, EMPTY_ICON_TYPE as pr, SetCfCommand as Cr, AddCfCommand as _n, SetConditionalRuleMutation as be, DeleteConditionalRuleMutation as Se, MoveConditionalRuleMutation as Tn, ClearWorksheetCfCommand as Rn, DeleteCfCommand as Kt, MoveCfCommand as yr, ClearRangeCfCommand as br, createDefaultRule as Te, ConditionalFormattingViewModel as it, SHEET_CONDITIONAL_FORMATTING_PLUGIN as st, DeleteConditionalRuleMutationUndoFactory as Le, AddConditionalRuleMutationUndoFactory as xn, setConditionalRuleMutationUndoFactory as Ae, isRangesEqual as Sr, ConditionalFormattingService as wn, DEFAULT_PADDING as Ir, DEFAULT_WIDTH as _r, UniverSheetsConditionalFormattingPlugin as En, CONDITIONAL_FORMATTING_VIEWPORT_CACHE_LENGTH as Tr } from "@univerjs/sheets-conditional-formatting";
|
|
6
6
|
import { getSheetCommandTarget as Ce, SheetsSelectionsService as $e, RemoveSheetMutation as Rr, SetWorksheetActiveOperation as qt, setEndForRange as xr, SetSelectionsOperation as wr, checkRangesEditablePermission as ft, rangeToDiscreteRange as Er, findAllRectangle as pt, createTopMatrixFromMatrix as Ct, SheetPermissionCheckController as Nr, WorksheetEditPermission as Nn, WorksheetSetCellStylePermission as Mn, RangeProtectionPermissionEditPoint as Vn, WorkbookEditablePermission as kn, RefRangeService as Mr, handleDefaultRangeChangeWithEffectRefCommands as Vr, SheetInterceptorService as Gt, INTERCEPTOR_POINT as kr, ClearSelectionFormatCommand as Fr, ClearSelectionAllCommand as Ur, RangeMergeUtil as Pr, AFTER_CELL_EDIT as Or } from "@univerjs/sheets";
|
|
7
|
-
import { useDependency as W, ComponentManager as zt, useSidebarClick as Nt, ILayoutService as Lr, useScrollYOverContainer as Ar, ISidebarService as Fn, useObservable as Dr, getMenuHiddenObservable as $r, MenuItemType as jr,
|
|
7
|
+
import { useDependency as W, ComponentManager as zt, useSidebarClick as Nt, ILayoutService as Lr, useScrollYOverContainer as Ar, ISidebarService as Fn, useObservable as Dr, getMenuHiddenObservable as $r, MenuItemType as jr, RibbonDataGroup as Hr, IMenuManagerService as Br } from "@univerjs/ui";
|
|
8
8
|
import { jsx as c, jsxs as k, Fragment as Bt } from "react/jsx-runtime";
|
|
9
9
|
import { forwardRef as Ve, useRef as de, createElement as je, useMemo as J, useState as N, useEffect as K } from "react";
|
|
10
10
|
import { Dropdown as Zt, clsx as X, ColorPicker as Wr, borderClassName as He, Select as le, InputNumber as Ne, RadioGroup as qr, Radio as Xt, Checkbox as yt, Input as Gr, Button as Jt, Tooltip as Qt, ReactGridLayout as zr } from "@univerjs/design";
|
|
@@ -424,7 +424,7 @@ const Me = (t) => {
|
|
|
424
424
|
Mt,
|
|
425
425
|
{
|
|
426
426
|
ref: h,
|
|
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
|
|
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),
|
|
428
428
|
initValue: u,
|
|
429
429
|
unitId: d,
|
|
430
430
|
subUnitId: a,
|
|
@@ -494,7 +494,7 @@ const Me = (t) => {
|
|
|
494
494
|
/* @__PURE__ */ c(
|
|
495
495
|
"div",
|
|
496
496
|
{
|
|
497
|
-
className: "univer-mt-4 univer-text-sm univer-text-gray-600 dark
|
|
497
|
+
className: "univer-mt-4 univer-text-sm univer-text-gray-600 dark:!univer-text-gray-200",
|
|
498
498
|
children: r.t("sheet.cf.panel.styleRule")
|
|
499
499
|
}
|
|
500
500
|
),
|
|
@@ -502,7 +502,7 @@ const Me = (t) => {
|
|
|
502
502
|
/* @__PURE__ */ c(
|
|
503
503
|
"div",
|
|
504
504
|
{
|
|
505
|
-
className: "univer-mt-3 univer-text-xs univer-text-gray-600 dark
|
|
505
|
+
className: "univer-mt-3 univer-text-xs univer-text-gray-600 dark:!univer-text-gray-200",
|
|
506
506
|
children: r.t("sheet.cf.valueType.min")
|
|
507
507
|
}
|
|
508
508
|
),
|
|
@@ -576,7 +576,7 @@ const Me = (t) => {
|
|
|
576
576
|
/* @__PURE__ */ c(
|
|
577
577
|
"div",
|
|
578
578
|
{
|
|
579
|
-
className: "univer-mt-3 univer-text-xs univer-text-gray-600dark
|
|
579
|
+
className: "univer-mt-3 univer-text-xs univer-text-gray-600dark:!univer-text-gray-200",
|
|
580
580
|
children: r.t("sheet.cf.panel.medianValue")
|
|
581
581
|
}
|
|
582
582
|
),
|
|
@@ -650,7 +650,7 @@ const Me = (t) => {
|
|
|
650
650
|
/* @__PURE__ */ c(
|
|
651
651
|
"div",
|
|
652
652
|
{
|
|
653
|
-
className: "univer-mt-3 univer-text-xs univer-text-gray-600 dark
|
|
653
|
+
className: "univer-mt-3 univer-text-xs univer-text-gray-600 dark:!univer-text-gray-200",
|
|
654
654
|
children: r.t("sheet.cf.valueType.max")
|
|
655
655
|
}
|
|
656
656
|
),
|
|
@@ -742,7 +742,7 @@ const Me = (t) => {
|
|
|
742
742
|
Mt,
|
|
743
743
|
{
|
|
744
744
|
ref: l,
|
|
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
|
|
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),
|
|
746
746
|
initValue: T,
|
|
747
747
|
unitId: a,
|
|
748
748
|
subUnitId: u,
|
|
@@ -839,7 +839,7 @@ const Me = (t) => {
|
|
|
839
839
|
/* @__PURE__ */ c(
|
|
840
840
|
"div",
|
|
841
841
|
{
|
|
842
|
-
className: "univer-mt-4 univer-text-sm univer-text-gray-600 dark
|
|
842
|
+
className: "univer-mt-4 univer-text-sm univer-text-gray-600 dark:!univer-text-gray-200",
|
|
843
843
|
children: r.t("sheet.cf.panel.styleRule")
|
|
844
844
|
}
|
|
845
845
|
),
|
|
@@ -862,7 +862,7 @@ const Me = (t) => {
|
|
|
862
862
|
/* @__PURE__ */ c(
|
|
863
863
|
"div",
|
|
864
864
|
{
|
|
865
|
-
className: "univer-mt-3 univer-text-sm univer-text-gray-600 dark
|
|
865
|
+
className: "univer-mt-3 univer-text-sm univer-text-gray-600 dark:!univer-text-gray-200",
|
|
866
866
|
children: r.t("sheet.cf.panel.fillType")
|
|
867
867
|
}
|
|
868
868
|
),
|
|
@@ -916,7 +916,7 @@ const Me = (t) => {
|
|
|
916
916
|
/* @__PURE__ */ c(
|
|
917
917
|
"div",
|
|
918
918
|
{
|
|
919
|
-
className: "univer-mt-3 univer-text-sm univer-text-gray-600 dark
|
|
919
|
+
className: "univer-mt-3 univer-text-sm univer-text-gray-600 dark:!univer-text-gray-200",
|
|
920
920
|
children: r.t("sheet.cf.panel.colorSet")
|
|
921
921
|
}
|
|
922
922
|
),
|
|
@@ -947,7 +947,7 @@ const Me = (t) => {
|
|
|
947
947
|
/* @__PURE__ */ c(
|
|
948
948
|
"div",
|
|
949
949
|
{
|
|
950
|
-
className: "univer-mt-3 univer-text-sm univer-text-gray-600 dark
|
|
950
|
+
className: "univer-mt-3 univer-text-sm univer-text-gray-600 dark:!univer-text-gray-200",
|
|
951
951
|
children: r.t("sheet.cf.valueType.min")
|
|
952
952
|
}
|
|
953
953
|
),
|
|
@@ -1000,7 +1000,7 @@ const Me = (t) => {
|
|
|
1000
1000
|
/* @__PURE__ */ c(
|
|
1001
1001
|
"div",
|
|
1002
1002
|
{
|
|
1003
|
-
className: "univer-mt-3 univer-text-sm univer-text-gray-600 dark
|
|
1003
|
+
className: "univer-mt-3 univer-text-sm univer-text-gray-600 dark:!univer-text-gray-200",
|
|
1004
1004
|
children: r.t("sheet.cf.valueType.max")
|
|
1005
1005
|
}
|
|
1006
1006
|
),
|
|
@@ -1151,7 +1151,7 @@ const Me = (t) => {
|
|
|
1151
1151
|
/* @__PURE__ */ c(
|
|
1152
1152
|
"div",
|
|
1153
1153
|
{
|
|
1154
|
-
className: "univer-mt-4 univer-text-sm univer-text-gray-600 dark
|
|
1154
|
+
className: "univer-mt-4 univer-text-sm univer-text-gray-600 dark:!univer-text-gray-200",
|
|
1155
1155
|
children: n.t("sheet.cf.panel.styleRule")
|
|
1156
1156
|
}
|
|
1157
1157
|
),
|
|
@@ -1159,7 +1159,7 @@ const Me = (t) => {
|
|
|
1159
1159
|
Mt,
|
|
1160
1160
|
{
|
|
1161
1161
|
ref: h,
|
|
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
|
|
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),
|
|
1163
1163
|
errorText: T,
|
|
1164
1164
|
isFocus: u,
|
|
1165
1165
|
initValue: S,
|
|
@@ -1415,7 +1415,7 @@ const Me = (t) => {
|
|
|
1415
1415
|
/* @__PURE__ */ c(
|
|
1416
1416
|
"div",
|
|
1417
1417
|
{
|
|
1418
|
-
className: "univer-mt-4 univer-text-sm univer-text-gray-600 dark
|
|
1418
|
+
className: "univer-mt-4 univer-text-sm univer-text-gray-600 dark:!univer-text-gray-200",
|
|
1419
1419
|
children: n.t("sheet.cf.panel.styleRule")
|
|
1420
1420
|
}
|
|
1421
1421
|
),
|
|
@@ -1608,7 +1608,7 @@ const Me = (t) => {
|
|
|
1608
1608
|
/* @__PURE__ */ k(
|
|
1609
1609
|
"div",
|
|
1610
1610
|
{
|
|
1611
|
-
className: "univer-mt-3 univer-flex univer-items-center univer-justify-between univer-text-sm univer-text-gray-600 dark
|
|
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",
|
|
1612
1612
|
children: [
|
|
1613
1613
|
/* @__PURE__ */ k(
|
|
1614
1614
|
"div",
|
|
@@ -1625,7 +1625,7 @@ const Me = (t) => {
|
|
|
1625
1625
|
!T && !p && /* @__PURE__ */ k(
|
|
1626
1626
|
"span",
|
|
1627
1627
|
{
|
|
1628
|
-
className: "univer-font-medium univer-text-gray-600 dark
|
|
1628
|
+
className: "univer-font-medium univer-text-gray-600 dark:!univer-text-gray-200",
|
|
1629
1629
|
children: [
|
|
1630
1630
|
"(",
|
|
1631
1631
|
i.t("sheet.cf.iconSet.when"),
|
|
@@ -1648,7 +1648,7 @@ const Me = (t) => {
|
|
|
1648
1648
|
children: /* @__PURE__ */ k(
|
|
1649
1649
|
"div",
|
|
1650
1650
|
{
|
|
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
|
|
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),
|
|
1652
1652
|
children: [
|
|
1653
1653
|
S ? /* @__PURE__ */ c("img", { src: S, className: "univer-size-4", draggable: !1 }) : /* @__PURE__ */ c(
|
|
1654
1654
|
ot,
|
|
@@ -1665,7 +1665,7 @@ const Me = (t) => {
|
|
|
1665
1665
|
p ? /* @__PURE__ */ k(
|
|
1666
1666
|
"div",
|
|
1667
1667
|
{
|
|
1668
|
-
className: "univer-mt-0 univer-w-[45%] univer-text-sm univer-text-gray-600 dark
|
|
1668
|
+
className: "univer-mt-0 univer-w-[45%] univer-text-sm univer-text-gray-600 dark:!univer-text-gray-200",
|
|
1669
1669
|
children: [
|
|
1670
1670
|
i.t("sheet.cf.iconSet.rule"),
|
|
1671
1671
|
/* @__PURE__ */ k("span", { className: "univer-font-medium", children: [
|
|
@@ -1691,7 +1691,7 @@ const Me = (t) => {
|
|
|
1691
1691
|
/* @__PURE__ */ k(
|
|
1692
1692
|
"div",
|
|
1693
1693
|
{
|
|
1694
|
-
className: "univer-mt-3 univer-flex univer-items-center univer-justify-between univer-gap-4 univer-text-sm univer-text-gray-600 dark
|
|
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",
|
|
1695
1695
|
children: [
|
|
1696
1696
|
/* @__PURE__ */ c("div", { children: i.t("sheet.cf.iconSet.type") }),
|
|
1697
1697
|
/* @__PURE__ */ c("div", { children: i.t("sheet.cf.iconSet.value") })
|
|
@@ -1922,7 +1922,7 @@ const Me = (t) => {
|
|
|
1922
1922
|
/* @__PURE__ */ c(
|
|
1923
1923
|
"div",
|
|
1924
1924
|
{
|
|
1925
|
-
className: "univer-mt-4 univer-text-sm univer-text-gray-600 dark
|
|
1925
|
+
className: "univer-mt-4 univer-text-sm univer-text-gray-600 dark:!univer-text-gray-200",
|
|
1926
1926
|
children: n.t("sheet.cf.panel.styleRule")
|
|
1927
1927
|
}
|
|
1928
1928
|
),
|
|
@@ -2091,7 +2091,7 @@ const Me = (t) => {
|
|
|
2091
2091
|
/* @__PURE__ */ c(
|
|
2092
2092
|
"div",
|
|
2093
2093
|
{
|
|
2094
|
-
className: "univer-mt-4 univer-text-sm univer-text-gray-600 dark
|
|
2094
|
+
className: "univer-mt-4 univer-text-sm univer-text-gray-600 dark:!univer-text-gray-200",
|
|
2095
2095
|
children: e.t("sheet.cf.panel.range")
|
|
2096
2096
|
}
|
|
2097
2097
|
),
|
|
@@ -2111,7 +2111,7 @@ const Me = (t) => {
|
|
|
2111
2111
|
/* @__PURE__ */ c(
|
|
2112
2112
|
"div",
|
|
2113
2113
|
{
|
|
2114
|
-
className: "univer-mt-4 univer-text-sm univer-text-gray-600 dark
|
|
2114
|
+
className: "univer-mt-4 univer-text-sm univer-text-gray-600 dark:!univer-text-gray-200",
|
|
2115
2115
|
children: e.t("sheet.cf.panel.styleType")
|
|
2116
2116
|
}
|
|
2117
2117
|
),
|
|
@@ -2412,7 +2412,7 @@ const Mi = (t) => {
|
|
|
2412
2412
|
/* @__PURE__ */ c(
|
|
2413
2413
|
"div",
|
|
2414
2414
|
{
|
|
2415
|
-
className: "univer-text-sm univer-text-gray-900 dark
|
|
2415
|
+
className: "univer-text-sm univer-text-gray-900 dark:!univer-text-white",
|
|
2416
2416
|
children: Ni(D, o)
|
|
2417
2417
|
}
|
|
2418
2418
|
),
|
|
@@ -3337,9 +3337,9 @@ const gn = [
|
|
|
3337
3337
|
disabled$: ti(t, { workbookTypes: [kn], worksheetTypes: [Mn, Nn], rangeTypes: [Vn] })
|
|
3338
3338
|
};
|
|
3339
3339
|
}, Qi = {
|
|
3340
|
-
[Hr.
|
|
3340
|
+
[Hr.RULES]: {
|
|
3341
3341
|
[kt.id]: {
|
|
3342
|
-
order:
|
|
3342
|
+
order: 1,
|
|
3343
3343
|
menuItemFactory: Ji
|
|
3344
3344
|
}
|
|
3345
3345
|
}
|
package/lib/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.univer-pointer-events-none{pointer-events:none}.univer-absolute{position:absolute}.univer-relative{position:relative}.univer-left-0{left:0}.univer-right-1{right:4px}.univer-my-2\.5{margin-top:10px;margin-bottom:10px}.univer-mb-1{margin-bottom:4px}.univer-mb-2{margin-bottom:8px}.univer-mb-2\.5{margin-bottom:10px}.univer-mb-3{margin-bottom:12px}.univer-ml-1{margin-left:4px}.univer-ml-1\.5{margin-left:6px}.univer-ml-2{margin-left:8px}.univer-ml-3{margin-left:12px}.univer-ml-6{margin-left:24px}.univer-mr-2{margin-right:8px}.univer-mt-0{margin-top:0}.univer-mt-1{margin-top:4px}.univer-mt-3{margin-top:12px}.univer-mt-4{margin-top:16px}.univer-mt-5{margin-top:20px}.univer-mt-6{margin-top:24px}.univer-box-border{box-sizing:border-box}.univer-flex{display:flex}.univer-hidden{display:none}.univer-size-4{width:16px;height:16px}.univer-size-5{width:20px;height:20px}.univer-size-6{width:24px;height:24px}.univer-h-5{height:20px}.univer-h-8{height:32px}.univer-h-full{height:100%}.univer-w-1\/2{width:50%}.univer-w-36{width:144px}.univer-w-64{width:256px}.univer-w-80{width:320px}.univer-w-\[45\%\]{width:45%}.univer-w-full{width:100%}.univer-min-w-0{min-width:0px}.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-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:8px}.univer-gap-4{gap:16px}.univer-overflow-hidden{overflow:hidden}.univer-rounded{border-radius:4px}.univer-rounded-lg{border-radius:8px}.univer-rounded-md{border-radius:6px}.univer-border-red-500{border-color:var(--univer-red-500)}.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:4px}.univer-p-4{padding:16px}.univer-px-1{padding-left:4px;padding-right:4px}.univer-px-4{padding-left:16px;padding-right:16px}.univer-py-2{padding-top:8px;padding-bottom:8px}.univer-pl-1{padding-left:4px}.univer-pl-5{padding-left:20px}.univer-pr-8{padding-right:32px}.univer-pt-2{padding-top:8px}.univer-text-sm{font-size:14px;line-height:20px}.univer-text-xs{font-size:12px;line-height:16px}.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-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.univer-transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.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)}.univer-group:hover .group-hover\:univer-flex{display:flex}.dark
|
|
1
|
+
.univer-pointer-events-none{pointer-events:none}.univer-absolute{position:absolute}.univer-relative{position:relative}.univer-left-0{left:0}.univer-right-1{right:4px}.univer-my-2\.5{margin-top:10px;margin-bottom:10px}.univer-mb-1{margin-bottom:4px}.univer-mb-2{margin-bottom:8px}.univer-mb-2\.5{margin-bottom:10px}.univer-mb-3{margin-bottom:12px}.univer-ml-1{margin-left:4px}.univer-ml-1\.5{margin-left:6px}.univer-ml-2{margin-left:8px}.univer-ml-3{margin-left:12px}.univer-ml-6{margin-left:24px}.univer-mr-2{margin-right:8px}.univer-mt-0{margin-top:0}.univer-mt-1{margin-top:4px}.univer-mt-3{margin-top:12px}.univer-mt-4{margin-top:16px}.univer-mt-5{margin-top:20px}.univer-mt-6{margin-top:24px}.univer-box-border{box-sizing:border-box}.univer-flex{display:flex}.univer-hidden{display:none}.univer-size-4{width:16px;height:16px}.univer-size-5{width:20px;height:20px}.univer-size-6{width:24px;height:24px}.univer-h-5{height:20px}.univer-h-8{height:32px}.univer-h-full{height:100%}.univer-w-1\/2{width:50%}.univer-w-36{width:144px}.univer-w-64{width:256px}.univer-w-80{width:320px}.univer-w-\[45\%\]{width:45%}.univer-w-full{width:100%}.univer-min-w-0{min-width:0px}.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-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:8px}.univer-gap-4{gap:16px}.univer-overflow-hidden{overflow:hidden}.univer-rounded{border-radius:4px}.univer-rounded-lg{border-radius:8px}.univer-rounded-md{border-radius:6px}.univer-border-red-500{border-color:var(--univer-red-500)}.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:4px}.univer-p-4{padding:16px}.univer-px-1{padding-left:4px;padding-right:4px}.univer-px-4{padding-left:16px;padding-right:16px}.univer-py-2{padding-top:8px;padding-bottom:8px}.univer-pl-1{padding-left:4px}.univer-pl-5{padding-left:20px}.univer-pr-8{padding-right:32px}.univer-pt-2{padding-top:8px}.univer-text-sm{font-size:14px;line-height:20px}.univer-text-xs{font-size:12px;line-height:16px}.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-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.univer-transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.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)}.univer-group:hover .group-hover\:univer-flex{display:flex}.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}.\[\&\>div\:first-child\]\:univer-px-2\.5>div:first-child{padding-left:10px;padding-right:10px}.\[\&\>div\]\:univer-h-5>div{height:20px}.\[\&\>div\]\:univer-ring-transparent>div{--tw-ring-color: transparent }.\[\&_\.react-grid-item\]\:univer-transition-none .react-grid-item{transition-property:none}.\[\&_\.react-grid-placeholder\]\:univer-rounded .react-grid-placeholder{border-radius:4px}.\[\&_\.react-grid-placeholder\]\:\!univer-bg-gray-200 .react-grid-placeholder{background-color:var(--univer-gray-200)!important}
|
package/lib/index.js
CHANGED
|
@@ -4,7 +4,7 @@ var ye = (t, e, r) => ir(t, typeof e != "symbol" ? e + "" : e, r);
|
|
|
4
4
|
import { CommandType as he, ICommandService as te, IUniverInstanceService as z, ColorKit as fn, BooleanNumber as ae, LocaleService as re, UniverInstanceType as $, Tools as Wt, get as sr, set as or, createInterceptorKey as pn, InterceptorManager as ar, Inject as O, Disposable as ce, Injector as ve, Rectangle as fe, generateRandomId as lr, ObjectMatrix as we, Range as pe, toDisposable as Cn, InterceptorEffectEnum as cr, DependentOn as yn, IConfigService as bn, Plugin as Sn, merge as In, registerDependencies as ur, touchDependencies as Ft } from "@univerjs/core";
|
|
5
5
|
import { ConditionalFormattingRuleModel as Q, CFSubRuleType as F, CFRuleType as U, AddConditionalRuleMutation as se, CFNumberOperator as P, getColorScaleFromValue as dr, iconMap as Ee, DEFAULT_BG_COLOR as hr, DEFAULT_FONT_COLOR as vr, defaultDataBarPositiveColor as Ke, defaultDataBarNativeColor as Xe, CFValueType as A, createDefaultValueByValueType as Je, removeUndefinedAttr as gr, createDefaultValue as mt, CFTextOperator as j, CFTimePeriodOperator as ue, iconGroup as mr, getOppositeOperator as Ht, compareWithNumber as fr, EMPTY_ICON_TYPE as pr, SetCfCommand as Cr, AddCfCommand as _n, SetConditionalRuleMutation as be, DeleteConditionalRuleMutation as Se, MoveConditionalRuleMutation as Tn, ClearWorksheetCfCommand as Rn, DeleteCfCommand as Kt, MoveCfCommand as yr, ClearRangeCfCommand as br, createDefaultRule as Te, ConditionalFormattingViewModel as it, SHEET_CONDITIONAL_FORMATTING_PLUGIN as st, DeleteConditionalRuleMutationUndoFactory as Le, AddConditionalRuleMutationUndoFactory as xn, setConditionalRuleMutationUndoFactory as Ae, isRangesEqual as Sr, ConditionalFormattingService as wn, DEFAULT_PADDING as Ir, DEFAULT_WIDTH as _r, UniverSheetsConditionalFormattingPlugin as En, CONDITIONAL_FORMATTING_VIEWPORT_CACHE_LENGTH as Tr } from "@univerjs/sheets-conditional-formatting";
|
|
6
6
|
import { getSheetCommandTarget as Ce, SheetsSelectionsService as $e, RemoveSheetMutation as Rr, SetWorksheetActiveOperation as qt, setEndForRange as xr, SetSelectionsOperation as wr, checkRangesEditablePermission as ft, rangeToDiscreteRange as Er, findAllRectangle as pt, createTopMatrixFromMatrix as Ct, SheetPermissionCheckController as Nr, WorksheetEditPermission as Nn, WorksheetSetCellStylePermission as Mn, RangeProtectionPermissionEditPoint as Vn, WorkbookEditablePermission as kn, RefRangeService as Mr, handleDefaultRangeChangeWithEffectRefCommands as Vr, SheetInterceptorService as Gt, INTERCEPTOR_POINT as kr, ClearSelectionFormatCommand as Fr, ClearSelectionAllCommand as Ur, RangeMergeUtil as Pr, AFTER_CELL_EDIT as Or } from "@univerjs/sheets";
|
|
7
|
-
import { useDependency as W, ComponentManager as zt, useSidebarClick as Nt, ILayoutService as Lr, useScrollYOverContainer as Ar, ISidebarService as Fn, useObservable as Dr, getMenuHiddenObservable as $r, MenuItemType as jr,
|
|
7
|
+
import { useDependency as W, ComponentManager as zt, useSidebarClick as Nt, ILayoutService as Lr, useScrollYOverContainer as Ar, ISidebarService as Fn, useObservable as Dr, getMenuHiddenObservable as $r, MenuItemType as jr, RibbonDataGroup as Hr, IMenuManagerService as Br } from "@univerjs/ui";
|
|
8
8
|
import { jsx as c, jsxs as k, Fragment as Bt } from "react/jsx-runtime";
|
|
9
9
|
import { forwardRef as Ve, useRef as de, createElement as je, useMemo as J, useState as N, useEffect as K } from "react";
|
|
10
10
|
import { Dropdown as Zt, clsx as X, ColorPicker as Wr, borderClassName as He, Select as le, InputNumber as Ne, RadioGroup as qr, Radio as Xt, Checkbox as yt, Input as Gr, Button as Jt, Tooltip as Qt, ReactGridLayout as zr } from "@univerjs/design";
|
|
@@ -424,7 +424,7 @@ const Me = (t) => {
|
|
|
424
424
|
Mt,
|
|
425
425
|
{
|
|
426
426
|
ref: h,
|
|
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
|
|
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),
|
|
428
428
|
initValue: u,
|
|
429
429
|
unitId: d,
|
|
430
430
|
subUnitId: a,
|
|
@@ -494,7 +494,7 @@ const Me = (t) => {
|
|
|
494
494
|
/* @__PURE__ */ c(
|
|
495
495
|
"div",
|
|
496
496
|
{
|
|
497
|
-
className: "univer-mt-4 univer-text-sm univer-text-gray-600 dark
|
|
497
|
+
className: "univer-mt-4 univer-text-sm univer-text-gray-600 dark:!univer-text-gray-200",
|
|
498
498
|
children: r.t("sheet.cf.panel.styleRule")
|
|
499
499
|
}
|
|
500
500
|
),
|
|
@@ -502,7 +502,7 @@ const Me = (t) => {
|
|
|
502
502
|
/* @__PURE__ */ c(
|
|
503
503
|
"div",
|
|
504
504
|
{
|
|
505
|
-
className: "univer-mt-3 univer-text-xs univer-text-gray-600 dark
|
|
505
|
+
className: "univer-mt-3 univer-text-xs univer-text-gray-600 dark:!univer-text-gray-200",
|
|
506
506
|
children: r.t("sheet.cf.valueType.min")
|
|
507
507
|
}
|
|
508
508
|
),
|
|
@@ -576,7 +576,7 @@ const Me = (t) => {
|
|
|
576
576
|
/* @__PURE__ */ c(
|
|
577
577
|
"div",
|
|
578
578
|
{
|
|
579
|
-
className: "univer-mt-3 univer-text-xs univer-text-gray-600dark
|
|
579
|
+
className: "univer-mt-3 univer-text-xs univer-text-gray-600dark:!univer-text-gray-200",
|
|
580
580
|
children: r.t("sheet.cf.panel.medianValue")
|
|
581
581
|
}
|
|
582
582
|
),
|
|
@@ -650,7 +650,7 @@ const Me = (t) => {
|
|
|
650
650
|
/* @__PURE__ */ c(
|
|
651
651
|
"div",
|
|
652
652
|
{
|
|
653
|
-
className: "univer-mt-3 univer-text-xs univer-text-gray-600 dark
|
|
653
|
+
className: "univer-mt-3 univer-text-xs univer-text-gray-600 dark:!univer-text-gray-200",
|
|
654
654
|
children: r.t("sheet.cf.valueType.max")
|
|
655
655
|
}
|
|
656
656
|
),
|
|
@@ -742,7 +742,7 @@ const Me = (t) => {
|
|
|
742
742
|
Mt,
|
|
743
743
|
{
|
|
744
744
|
ref: l,
|
|
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
|
|
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),
|
|
746
746
|
initValue: T,
|
|
747
747
|
unitId: a,
|
|
748
748
|
subUnitId: u,
|
|
@@ -839,7 +839,7 @@ const Me = (t) => {
|
|
|
839
839
|
/* @__PURE__ */ c(
|
|
840
840
|
"div",
|
|
841
841
|
{
|
|
842
|
-
className: "univer-mt-4 univer-text-sm univer-text-gray-600 dark
|
|
842
|
+
className: "univer-mt-4 univer-text-sm univer-text-gray-600 dark:!univer-text-gray-200",
|
|
843
843
|
children: r.t("sheet.cf.panel.styleRule")
|
|
844
844
|
}
|
|
845
845
|
),
|
|
@@ -862,7 +862,7 @@ const Me = (t) => {
|
|
|
862
862
|
/* @__PURE__ */ c(
|
|
863
863
|
"div",
|
|
864
864
|
{
|
|
865
|
-
className: "univer-mt-3 univer-text-sm univer-text-gray-600 dark
|
|
865
|
+
className: "univer-mt-3 univer-text-sm univer-text-gray-600 dark:!univer-text-gray-200",
|
|
866
866
|
children: r.t("sheet.cf.panel.fillType")
|
|
867
867
|
}
|
|
868
868
|
),
|
|
@@ -916,7 +916,7 @@ const Me = (t) => {
|
|
|
916
916
|
/* @__PURE__ */ c(
|
|
917
917
|
"div",
|
|
918
918
|
{
|
|
919
|
-
className: "univer-mt-3 univer-text-sm univer-text-gray-600 dark
|
|
919
|
+
className: "univer-mt-3 univer-text-sm univer-text-gray-600 dark:!univer-text-gray-200",
|
|
920
920
|
children: r.t("sheet.cf.panel.colorSet")
|
|
921
921
|
}
|
|
922
922
|
),
|
|
@@ -947,7 +947,7 @@ const Me = (t) => {
|
|
|
947
947
|
/* @__PURE__ */ c(
|
|
948
948
|
"div",
|
|
949
949
|
{
|
|
950
|
-
className: "univer-mt-3 univer-text-sm univer-text-gray-600 dark
|
|
950
|
+
className: "univer-mt-3 univer-text-sm univer-text-gray-600 dark:!univer-text-gray-200",
|
|
951
951
|
children: r.t("sheet.cf.valueType.min")
|
|
952
952
|
}
|
|
953
953
|
),
|
|
@@ -1000,7 +1000,7 @@ const Me = (t) => {
|
|
|
1000
1000
|
/* @__PURE__ */ c(
|
|
1001
1001
|
"div",
|
|
1002
1002
|
{
|
|
1003
|
-
className: "univer-mt-3 univer-text-sm univer-text-gray-600 dark
|
|
1003
|
+
className: "univer-mt-3 univer-text-sm univer-text-gray-600 dark:!univer-text-gray-200",
|
|
1004
1004
|
children: r.t("sheet.cf.valueType.max")
|
|
1005
1005
|
}
|
|
1006
1006
|
),
|
|
@@ -1151,7 +1151,7 @@ const Me = (t) => {
|
|
|
1151
1151
|
/* @__PURE__ */ c(
|
|
1152
1152
|
"div",
|
|
1153
1153
|
{
|
|
1154
|
-
className: "univer-mt-4 univer-text-sm univer-text-gray-600 dark
|
|
1154
|
+
className: "univer-mt-4 univer-text-sm univer-text-gray-600 dark:!univer-text-gray-200",
|
|
1155
1155
|
children: n.t("sheet.cf.panel.styleRule")
|
|
1156
1156
|
}
|
|
1157
1157
|
),
|
|
@@ -1159,7 +1159,7 @@ const Me = (t) => {
|
|
|
1159
1159
|
Mt,
|
|
1160
1160
|
{
|
|
1161
1161
|
ref: h,
|
|
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
|
|
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),
|
|
1163
1163
|
errorText: T,
|
|
1164
1164
|
isFocus: u,
|
|
1165
1165
|
initValue: S,
|
|
@@ -1415,7 +1415,7 @@ const Me = (t) => {
|
|
|
1415
1415
|
/* @__PURE__ */ c(
|
|
1416
1416
|
"div",
|
|
1417
1417
|
{
|
|
1418
|
-
className: "univer-mt-4 univer-text-sm univer-text-gray-600 dark
|
|
1418
|
+
className: "univer-mt-4 univer-text-sm univer-text-gray-600 dark:!univer-text-gray-200",
|
|
1419
1419
|
children: n.t("sheet.cf.panel.styleRule")
|
|
1420
1420
|
}
|
|
1421
1421
|
),
|
|
@@ -1608,7 +1608,7 @@ const Me = (t) => {
|
|
|
1608
1608
|
/* @__PURE__ */ k(
|
|
1609
1609
|
"div",
|
|
1610
1610
|
{
|
|
1611
|
-
className: "univer-mt-3 univer-flex univer-items-center univer-justify-between univer-text-sm univer-text-gray-600 dark
|
|
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",
|
|
1612
1612
|
children: [
|
|
1613
1613
|
/* @__PURE__ */ k(
|
|
1614
1614
|
"div",
|
|
@@ -1625,7 +1625,7 @@ const Me = (t) => {
|
|
|
1625
1625
|
!T && !p && /* @__PURE__ */ k(
|
|
1626
1626
|
"span",
|
|
1627
1627
|
{
|
|
1628
|
-
className: "univer-font-medium univer-text-gray-600 dark
|
|
1628
|
+
className: "univer-font-medium univer-text-gray-600 dark:!univer-text-gray-200",
|
|
1629
1629
|
children: [
|
|
1630
1630
|
"(",
|
|
1631
1631
|
i.t("sheet.cf.iconSet.when"),
|
|
@@ -1648,7 +1648,7 @@ const Me = (t) => {
|
|
|
1648
1648
|
children: /* @__PURE__ */ k(
|
|
1649
1649
|
"div",
|
|
1650
1650
|
{
|
|
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
|
|
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),
|
|
1652
1652
|
children: [
|
|
1653
1653
|
S ? /* @__PURE__ */ c("img", { src: S, className: "univer-size-4", draggable: !1 }) : /* @__PURE__ */ c(
|
|
1654
1654
|
ot,
|
|
@@ -1665,7 +1665,7 @@ const Me = (t) => {
|
|
|
1665
1665
|
p ? /* @__PURE__ */ k(
|
|
1666
1666
|
"div",
|
|
1667
1667
|
{
|
|
1668
|
-
className: "univer-mt-0 univer-w-[45%] univer-text-sm univer-text-gray-600 dark
|
|
1668
|
+
className: "univer-mt-0 univer-w-[45%] univer-text-sm univer-text-gray-600 dark:!univer-text-gray-200",
|
|
1669
1669
|
children: [
|
|
1670
1670
|
i.t("sheet.cf.iconSet.rule"),
|
|
1671
1671
|
/* @__PURE__ */ k("span", { className: "univer-font-medium", children: [
|
|
@@ -1691,7 +1691,7 @@ const Me = (t) => {
|
|
|
1691
1691
|
/* @__PURE__ */ k(
|
|
1692
1692
|
"div",
|
|
1693
1693
|
{
|
|
1694
|
-
className: "univer-mt-3 univer-flex univer-items-center univer-justify-between univer-gap-4 univer-text-sm univer-text-gray-600 dark
|
|
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",
|
|
1695
1695
|
children: [
|
|
1696
1696
|
/* @__PURE__ */ c("div", { children: i.t("sheet.cf.iconSet.type") }),
|
|
1697
1697
|
/* @__PURE__ */ c("div", { children: i.t("sheet.cf.iconSet.value") })
|
|
@@ -1922,7 +1922,7 @@ const Me = (t) => {
|
|
|
1922
1922
|
/* @__PURE__ */ c(
|
|
1923
1923
|
"div",
|
|
1924
1924
|
{
|
|
1925
|
-
className: "univer-mt-4 univer-text-sm univer-text-gray-600 dark
|
|
1925
|
+
className: "univer-mt-4 univer-text-sm univer-text-gray-600 dark:!univer-text-gray-200",
|
|
1926
1926
|
children: n.t("sheet.cf.panel.styleRule")
|
|
1927
1927
|
}
|
|
1928
1928
|
),
|
|
@@ -2091,7 +2091,7 @@ const Me = (t) => {
|
|
|
2091
2091
|
/* @__PURE__ */ c(
|
|
2092
2092
|
"div",
|
|
2093
2093
|
{
|
|
2094
|
-
className: "univer-mt-4 univer-text-sm univer-text-gray-600 dark
|
|
2094
|
+
className: "univer-mt-4 univer-text-sm univer-text-gray-600 dark:!univer-text-gray-200",
|
|
2095
2095
|
children: e.t("sheet.cf.panel.range")
|
|
2096
2096
|
}
|
|
2097
2097
|
),
|
|
@@ -2111,7 +2111,7 @@ const Me = (t) => {
|
|
|
2111
2111
|
/* @__PURE__ */ c(
|
|
2112
2112
|
"div",
|
|
2113
2113
|
{
|
|
2114
|
-
className: "univer-mt-4 univer-text-sm univer-text-gray-600 dark
|
|
2114
|
+
className: "univer-mt-4 univer-text-sm univer-text-gray-600 dark:!univer-text-gray-200",
|
|
2115
2115
|
children: e.t("sheet.cf.panel.styleType")
|
|
2116
2116
|
}
|
|
2117
2117
|
),
|
|
@@ -2412,7 +2412,7 @@ const Mi = (t) => {
|
|
|
2412
2412
|
/* @__PURE__ */ c(
|
|
2413
2413
|
"div",
|
|
2414
2414
|
{
|
|
2415
|
-
className: "univer-text-sm univer-text-gray-900 dark
|
|
2415
|
+
className: "univer-text-sm univer-text-gray-900 dark:!univer-text-white",
|
|
2416
2416
|
children: Ni(D, o)
|
|
2417
2417
|
}
|
|
2418
2418
|
),
|
|
@@ -3337,9 +3337,9 @@ const gn = [
|
|
|
3337
3337
|
disabled$: ti(t, { workbookTypes: [kn], worksheetTypes: [Mn, Nn], rangeTypes: [Vn] })
|
|
3338
3338
|
};
|
|
3339
3339
|
}, Qi = {
|
|
3340
|
-
[Hr.
|
|
3340
|
+
[Hr.RULES]: {
|
|
3341
3341
|
[kt.id]: {
|
|
3342
|
-
order:
|
|
3342
|
+
order: 1,
|
|
3343
3343
|
menuItemFactory: Ji
|
|
3344
3344
|
}
|
|
3345
3345
|
}
|