@univerjs/sheets-ui 0.6.0-nightly.202502171606 → 0.6.0-nightly.202502181606

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
@@ -10,7 +10,7 @@ import { BehaviorSubject as Ee, Subject as He, of as we, merge as pt, map as Ie,
10
10
  import { SELECTION_CONTROL_BORDER_BUFFER_WIDTH as As, SELECTION_CONTROL_BORDER_BUFFER_COLOR as is, SELECTIONS_ENABLED as ti, REF_SELECTIONS_ENABLED as lo, SheetsSelectionsService as te, SheetSkeletonService as qS, SheetInterceptorService as Wn, SetWorksheetRowAutoHeightMutationFactory as hm, SetWorksheetRowAutoHeightMutation as Ir, SetRangeValuesCommand as Lo, SetWorksheetRowIsAutoHeightCommand as Dl, SetStyleCommand as QS, MoveRangeCommand as Cd, ReorderRangeCommand as KS, SetSelectionsOperation as De, SetRangeValuesMutation as _e, getSheetCommandTarget as ze, generateNullCellValue as JS, SetRangeValuesUndoMutationFactory as rn, BEFORE_CELL_EDIT as $S, IRefSelectionsService as Ll, SetWorksheetActiveOperation as it, MoveRangeMutation as tr, RemoveRowMutation as Ei, RemoveColMutation as Ti, InsertRowMutation as Oi, InsertColMutation as Ai, MoveRowsMutation as Wo, MoveColsMutation as Bo, SetWorksheetColWidthMutation as Kt, SetWorksheetRowHeightMutation as ao, RemoveSheetMutation as Nn, RemoveMergeUndoMutationFactory as Wl, RemoveWorksheetMergeMutation as en, AddWorksheetMergeMutation as tn, getAddMergeMutationRangeByType as Bl, AddMergeUndoMutationFactory as Fl, WorkbookEditablePermission as K, WorksheetEditPermission as ne, UnitAction as co, alignToMergedCellsBorders as An, getSelectionsService as Fo, getCellAtRowCol as vs, SelectionMoveType as Yt, expandToContinuousRange as eC, ScrollToCellOperation as vd, COMMAND_LISTENER_SKELETON_CHANGE as xs, adjustRangeOnMutation as tC, SetWorksheetActivateCommand as _d, getPrimaryForRange as mm, SetRowHiddenCommand as gm, SetColHiddenCommand as fm, SetBoldCommand as bd, SetItalicCommand as wd, SetUnderlineCommand as Id, SetStrikeThroughCommand as Rd, SetFontSizeCommand as yd, SetFontFamilyCommand as Pd, SetTextColorCommand as pm, SetFrozenMutationFactory as Sm, SetFrozenMutation as br, IExclusiveRangeService as nC, RangeProtectionRuleModel as Qe, WorksheetProtectionRuleModel as St, RangeProtectionPermissionEditPoint as ie, WorksheetCopyPermission as Ns, WorksheetSetCellStylePermission as qe, ResetBackgroundColorCommand as Cm, SetBackgroundColorCommand as Hs, SetHorizontalTextAlignCommand as Sc, SetVerticalTextAlignCommand as Cc, SetTextWrapCommand as vc, SetTextRotationCommand as _c, WorkbookCopyPermission as qi, RangeProtectionPermissionViewPoint as bc, WorksheetSetCellValuePermission as Jt, WorksheetSetColumnStylePermission as kr, WorksheetSetRowStylePermission as Dr, CancelFrozenCommand as _s, SetRowHiddenMutation as Md, SetRowVisibleMutation as Ed, SetSelectedRowsVisibleCommand as vm, SetColHiddenMutation as Td, SetColVisibleMutation as Od, SetSelectedColsVisibleCommand as _m, SetRowHeightCommand as bm, SetWorksheetRowIsAutoHeightMutation as wm, SetColWidthCommand as Im, SetFrozenCommand as rC, InsertRangeMoveDownCommand as wc, InsertRangeMoveRightCommand as Ic, InsertRowCommand as iC, InsertColCommand as oC, MoveColsCommand as Rm, MoveRowsCommand as ym, RemoveColCommand as Pm, RemoveRowCommand as Mm, MergeCellController as sC, MERGE_CELL_INTERCEPTOR_CHECK as lC, DeltaRowHeightCommand as aC, DeltaColumnWidthCommand as cC, COMMAND_LISTENER_VALUE_CHANGE as dC, AddMergeRedoSelectionsOperationFactory as uC, AddMergeUndoSelectionsOperationFactory as hC, DeleteRangeMoveLeftCommand as Au, DeleteRangeMoveUpCommand as xu, UnitObject as Vt, ViewStateEnum as fi, EditStateEnum as cn, DeleteWorksheetProtectionCommand as Vs, DeleteRangeProtectionMutation as Nu, AddRangeProtectionMutation as mC, RemoveSheetCommand as gC, AddWorksheetProtectionCommand as Em, BorderStyleManagerService as Rc, SCOPE_WORKBOOK_VALUE_DEFINED_NAME as yc, InsertDefinedNameCommand as fC, SetDefinedNameCommand as pC, RemoveDefinedNameCommand as SC, SetWorksheetShowCommand as Ad, RangeProtectionCache as Uo, WorksheetViewPermission as Tm, SetWorksheetOrderMutation as xd, InsertSheetMutation as Lr, SetWorksheetNameMutation as Nd, SetWorksheetHideMutation as nr, SetWorksheetNameCommand as CC, SetWorksheetOrderCommand as vC, WorkbookManageCollaboratorPermission as Om, WorkbookRenameSheetPermission as Am, SetTabColorMutation as _C, WorkbookCreateSheetPermission as xm, InsertSheetCommand as bC, SetBorderBasicCommand as Pc, ClearSelectionContentCommand as $i, ClearSelectionFormatCommand as eo, ClearSelectionAllCommand as bs, WorksheetDeleteColumnPermission as wC, WorksheetDeleteRowPermission as IC, ToggleGridlinesCommand as Nm, ToggleGridlinesMutation as RC, WorksheetInsertColumnPermission as Ul, WorksheetInsertRowPermission as Hd, InsertRowBeforeCommand as Mc, InsertRowAfterCommand as Hm, InsertColBeforeCommand as Ec, InsertColAfterCommand as Vm, RemoveWorksheetMergeCommand as km, WorksheetManageCollaboratorPermission as yC, WorkbookCreateProtectPermission as Xl, WorksheetDeleteProtectionPermission as Dm, CopySheetCommand as Lm, SetTabColorCommand as Wm, SetWorksheetHideCommand as Bm, WorkbookDeleteSheetPermission as PC, WorkbookHideSheetPermission as Fm, ResetTextColorCommand as MC, AddWorksheetMergeCommand as EC, AddWorksheetMergeAllCommand as TC, AddWorksheetMergeVerticalCommand as OC, AddWorksheetMergeHorizontalCommand as AC, RefRangeService as xC, MAX_CELL_PER_SHEET_KEY as NC, INTERCEPTOR_POINT as HC, SheetPermissionCheckController as Um, INumfmtService as VC, SetProtectionCommand as kC, AddRangeProtectionCommand as DC, setEndForRange as LC, baseProtectionActions as WC, DeleteRangeProtectionCommand as BC, WorksheetProtectionPointModel as FC, SetWorksheetPermissionPointsCommand as UC, getAllWorksheetPermissionPoint as XC, convertSelectionDataToRange as Xm, UniverSheetsPlugin as zm, RefSelectionsService as jm, ToggleCellCheckboxCommand as zC, SheetPermissionInitController as jC, SetSpecificRowsVisibleCommand as YC, SetSpecificColsVisibleCommand as ZC } from "@univerjs/sheets";
11
11
  import { DocSkeletonManagerService as Jn, DocSelectionManagerService as Vd, RichTextEditingMutation as ks, SetTextSelectionsOperation as Xo } from "@univerjs/docs";
12
12
  import { sequenceNodeType as _a, matchToken as Ym, LexerTreeBuilder as Zm, IFunctionService as Gm, SetFormulaCalculationNotificationMutation as GC, IDefinedNamesService as zo, operatorToken as Kr, isReferenceStrings as qm, isReferenceStringWithEffectiveColumn as qC, serializeRangeWithSheet as Qm, FUNCTION_NAMES_STATISTICAL as Xe, FUNCTION_NAMES_MATH as zl, FUNCTION_NAMES_TEXT as QC, NullValueObject as Hu, serializeRange as Km, deserializeRangeWithSheet as Jm } from "@univerjs/engine-formula";
13
- import { DEFAULT_TEXT_FORMAT as KC } from "@univerjs/engine-numfmt";
13
+ import { isTextFormat as KC } from "@univerjs/engine-numfmt";
14
14
  import { InputNumber as JC, DropdownLegacy as uo, ColorPicker as kd, Menu as $C, MenuItem as ev, Input as Ds, RadioGroup as Tc, Radio as ni, Select as $m, Button as Sn, Tooltip as Gn, Confirm as tv, Slider as nv, DropdownProvider as eg, DropdownTrigger as tg, DropdownOverlay as ng, clsx as Xr, MessageType as rg, FormLayout as Ls, Avatar as Dd, Switch as rv } from "@univerjs/design";
15
15
  import { jsxs as Q, jsx as v, Fragment as Rr } from "react/jsx-runtime";
16
16
  import { ITelemetryService as iv } from "@univerjs/telemetry";
@@ -6377,7 +6377,7 @@ function j1(r, e, t, n, i, o) {
6377
6377
  const d = n.getCurrentLocale();
6378
6378
  if (c = N1(c, t, d, i), (u = e.drawingsOrder) != null && u.length)
6379
6379
  r.v = "", r.f = null, r.si = null, r.p = e, r.t = jt.STRING;
6380
- else if (r.s && ((m = (h = o == null ? void 0 : o.get(r.s)) == null ? void 0 : h.n) == null ? void 0 : m.pattern) === KC) {
6380
+ else if (r.s && KC((m = (h = o == null ? void 0 : o.get(r.s)) == null ? void 0 : h.n) == null ? void 0 : m.pattern)) {
6381
6381
  r.v = c, r.f = null, r.si = null, r.p = null, r.t = jt.STRING, Wc(s) && s.dataStream !== `\r
6382
6382
  ` && (r.p = e);
6383
6383
  const g = Ju(e);