@univerjs/sheets-numfmt 0.1.0-beta.0 → 0.1.0-beta.2

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.
@@ -16,6 +16,8 @@
16
16
  import type { ICommand } from '@univerjs/core';
17
17
  import type { FormatType } from '@univerjs/sheets';
18
18
  export interface ISetNumfmtCommandParams {
19
+ unitId?: string;
20
+ subUnitId?: string;
19
21
  values: Array<{
20
22
  pattern?: string;
21
23
  row: number;
@@ -13,5 +13,6 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
+ export { type ISetNumfmtCommandParams, SetNumfmtCommand } from './commands/commands/set-numfmt.command';
16
17
  export { enUS, zhCN } from './locale';
17
- export * from './numfmt-plugin';
18
+ export { UniverSheetsNumfmtPlugin } from './numfmt-plugin';
@@ -26,6 +26,7 @@ export declare const CurrencyMenuItem: (componentManager: ComponentManager) => (
26
26
  group: MenuGroup;
27
27
  positions: MenuPosition[];
28
28
  hidden$: Observable<boolean>;
29
+ disabled$: Observable<boolean>;
29
30
  };
30
31
  export declare const AddDecimalMenuItem: (componentManager: ComponentManager) => (accessor: IAccessor) => {
31
32
  icon: string;
@@ -36,6 +37,7 @@ export declare const AddDecimalMenuItem: (componentManager: ComponentManager) =>
36
37
  positions: MenuPosition[];
37
38
  group: MenuGroup;
38
39
  hidden$: Observable<boolean>;
40
+ disabled$: Observable<boolean>;
39
41
  };
40
42
  export declare const SubtractDecimalMenuItem: (componentManager: ComponentManager) => (accessor: IAccessor) => {
41
43
  icon: string;
@@ -46,5 +48,6 @@ export declare const SubtractDecimalMenuItem: (componentManager: ComponentManage
46
48
  group: MenuGroup;
47
49
  positions: MenuPosition[];
48
50
  hidden$: Observable<boolean>;
51
+ disabled$: Observable<boolean>;
49
52
  };
50
53
  export declare const FactoryOtherMenuItem: (componentManager: ComponentManager) => (_accessor: IAccessor) => IMenuSelectorItem<import("@univerjs/ui/services/menu/menu.js").MenuItemDefaultValueType, undefined>;