@univerjs/sheets-data-validation 0.15.2 → 0.15.3-insiders.20260131-b9b8805

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
@@ -1,7 +1,7 @@
1
1
  var Mt = Object.defineProperty;
2
2
  var Vt = (s, a, e) => a in s ? Mt(s, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[a] = e;
3
3
  var m = (s, a, e) => Vt(s, typeof a != "symbol" ? a + "" : a, e);
4
- import { Inject as v, ICommandService as U, IUniverInstanceService as D, Disposable as B, ObjectMatrix as Me, getIntersectRange as ot, UniverInstanceType as N, Range as H, Rectangle as w, isFormulaString as S, getOriginCellValue as yt, Injector as be, numfmt as L, DataValidationType as T, RBush as Tt, debounce as Ct, Tools as M, DataValidationStatus as A, WrapStrategy as Se, DataValidationOperator as h, dayjs as nt, DataValidationRenderMode as We, CommandType as z, IUndoRedoService as Z, sequenceExecute as Le, isRangesEqual as lt, IPermissionService as Ft, generateRandomId as Xe, toDisposable as Ke, CellValueType as Nt, RxDisposable as Ot, LifecycleService as wt, LifecycleStages as et, bufferDebounceTime as At, DependentOn as It, IConfigService as Dt, Plugin as bt, merge as Lt } from "@univerjs/core";
4
+ import { Inject as v, ICommandService as U, IUniverInstanceService as D, Disposable as B, ObjectMatrix as Me, getIntersectRange as ot, UniverInstanceType as N, Range as H, Rectangle as w, isFormulaString as S, getOriginCellValue as yt, Injector as be, numfmt as L, DataValidationType as T, RBush as Tt, debounce as Ct, Tools as M, DataValidationStatus as A, WrapStrategy as Se, DataValidationOperator as h, dayjs as nt, DataValidationRenderMode as We, CommandType as z, IUndoRedoService as Z, sequenceExecute as Le, isRangesEqual as lt, IPermissionService as Ft, generateRandomId as Xe, toDisposable as Ke, CellValueType as Nt, RxDisposable as Ot, LifecycleService as wt, LifecycleStages as et, bufferDebounceTime as At, DependentOn as It, Plugin as Dt, merge as bt, IConfigService as Lt } from "@univerjs/core";
5
5
  import { DataValidationModel as de, DataValidatorRegistryService as q, UpdateRuleType as V, BaseDataValidator as Y, TextLengthErrorTitleMap as Ut, AddDataValidationMutation as b, RemoveDataValidationMutation as I, UpdateDataValidationMutation as y, getRuleSetting as Bt, getRuleOptions as xt, UniverDataValidationPlugin as Pt } from "@univerjs/data-validation";
6
6
  import { ERROR_TYPE_SET as Ht, RegisterOtherFormulaService as ut, OtherFormulaBizType as ct, LexerTreeBuilder as X, isReferenceString as dt, sequenceNodeType as Wt, deserializeRangeWithSheet as $t, deserializeRangeWithSheetWithCache as kt, operatorToken as jt } from "@univerjs/engine-formula";
7
7
  import { SetRangeValuesMutation as ne, RemoveSheetMutation as ht, getSheetCommandTarget as ze, SetRangeValuesUndoMutationFactory as mt, WorksheetViewPermission as Qt, RefRangeService as Gt, handleCommonDefaultRangeChangeWithEffectRefCommands as qt, SheetInterceptorService as gt, RemoveSheetCommand as Yt, CopySheetCommand as Xt, SheetsSelectionsService as pt, ClearSelectionAllCommand as Kt } from "@univerjs/sheets";
@@ -2530,10 +2530,10 @@ var Qa = Object.defineProperty, Ga = Object.getOwnPropertyDescriptor, qa = (s, a
2530
2530
  (o = s[i]) && (r = o(r) || r);
2531
2531
  return r;
2532
2532
  }, qe = (s, a) => (e, t) => a(e, t, s), Et = (s, a, e) => qa(s, typeof a != "symbol" ? a + "" : a, e);
2533
- let De = class extends bt {
2533
+ let De = class extends Dt {
2534
2534
  constructor(s = st, a, e, t) {
2535
2535
  super(), this._config = s, this._injector = a, this._commandService = e, this._configService = t;
2536
- const { ...r } = Lt(
2536
+ const { ...r } = bt(
2537
2537
  {},
2538
2538
  st,
2539
2539
  this._config
@@ -2580,7 +2580,7 @@ De = Ya([
2580
2580
  It(Zt, Pt),
2581
2581
  qe(1, v(be)),
2582
2582
  qe(2, U),
2583
- qe(3, Dt)
2583
+ qe(3, Lt)
2584
2584
  ], De);
2585
2585
  function ir(s) {
2586
2586
  const e = s.get(pt).getCurrentSelections().map((i) => i.range);