Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.
TypeScript boardcollaborationdocdocxexceloffce365officepdfpptpptxpresentationsdksheetslidesspreadsheetuniverwordwordprocessorworkspacexlsx
chore(numfmt): rename file name (#970)
Gpound.liu6b2bef491436
diff --git a/packages/sheets-numfmt/src/commands/operators/close.numfmt.panel.operator.ts b/packages/sheets-numfmt/src/commands/operations/close.numfmt.panel.operation.tssimilarity index 100%rename from packages/sheets-numfmt/src/commands/operators/close.numfmt.panel.operator.tsrename to packages/sheets-numfmt/src/commands/operations/close.numfmt.panel.operation.tsdiff --git a/packages/sheets-numfmt/src/commands/operators/open.numfmt.panel.operator.ts b/packages/sheets-numfmt/src/commands/operations/open.numfmt.panel.operation.tssimilarity index 100%rename from packages/sheets-numfmt/src/commands/operators/open.numfmt.panel.operator.tsrename to packages/sheets-numfmt/src/commands/operations/open.numfmt.panel.operation.tsdiff --git a/packages/sheets-numfmt/src/components/more-numfmt-type/MoreNumfmtType.tsx b/packages/sheets-numfmt/src/components/more-numfmt-type/MoreNumfmtType.tsxindex db54ff9a7e..835b97b99e 100644--- a/packages/sheets-numfmt/src/components/more-numfmt-type/MoreNumfmtType.tsx+++ b/packages/sheets-numfmt/src/components/more-numfmt-type/MoreNumfmtType.tsx@@ -25,7 +25,7 @@ import React from 'react';import { MENU_OPTIONS } from '../../base/const/MENU-OPTIONS';import { SetNumfmtCommand } from '../../commands/commands/set.numfmt.command';-import { OpenNumfmtPanelOperator } from '../../commands/operators/open.numfmt.panel.operator';+import { OpenNumfmtPanelOperator } from '../../commands/operations/open.numfmt.panel.operation';import { getPatternType } from '../../utils/pattern';export const MoreNumfmtType = (props: { value?: string }) => {diff --git a/packages/sheets-numfmt/src/controllers/numfmt.controller.ts b/packages/sheets-numfmt/src/controllers/numfmt.controller.tsindex 97b384dac5..b50efdff5b 100644--- a/packages/sheets-numfmt/src/controllers/numfmt.controller.ts+++ b/packages/sheets-numfmt/src/controllers/numfmt.controller.ts@@ -55,8 +55,8 @@ import { SetCurrencyCommand } from '../commands/commands/set.currency.command';import type { ISetNumfmtCommandParams } from '../commands/commands/set.numfmt.command';import { SetNumfmtCommand } from '../commands/commands/set.numfmt.command';import { SubtractDecimalCommand } from '../commands/commands/subtract.decimal.command';-import { CloseNumfmtPanelOperator } from '../commands/operators/close.numfmt.panel.operator';-import { OpenNumfmtPanelOperator } from '../commands/operators/open.numfmt.panel.operator';+import { CloseNumfmtPanelOperator } from '../commands/operations/close.numfmt.panel.operation';+import { OpenNumfmtPanelOperator } from '../commands/operations/open.numfmt.panel.operation';import type { ISheetNumfmtPanelProps } from '../components/index';import { SheetNumfmtPanel } from '../components/index';import { zhCN } from '../locale';diff --git a/packages/sheets-numfmt/src/menu/menu.ts b/packages/sheets-numfmt/src/menu/menu.tsindex 022660f5d0..c0e29b3d37 100644--- a/packages/sheets-numfmt/src/menu/menu.ts+++ b/packages/sheets-numfmt/src/menu/menu.ts@@ -26,7 +26,7 @@ import { MENU_OPTIONS } from '../base/const/MENU-OPTIONS';import { AddDecimalCommand } from '../commands/commands/add.decimal.command';import { SetCurrencyCommand } from '../commands/commands/set.currency.command';import { SubtractDecimalCommand } from '../commands/commands/subtract.decimal.command';-import { OpenNumfmtPanelOperator } from '../commands/operators/open.numfmt.panel.operator';+import { OpenNumfmtPanelOperator } from '../commands/operations/open.numfmt.panel.operation';import { MoreNumfmtType, Options } from '../components/more-numfmt-type/MoreNumfmtType';import { isPatternEqualWithoutDecimal } from '../utils/decimal';