@univerjs/action-recorder 0.15.2-insiders.20260124-12fc7f0 → 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.
@@ -0,0 +1 @@
1
+ "use strict";const a={"action-recorder":{menu:{title:"Zaznamenať akcie",record:"Zaznamenať akcie...","replay-local":"Nahradiť miestny záznam...","replay-local-name":"Nahradiť miestny záznam podľa podjednotky...","replay-local-active":"Nahradiť miestny záznam podľa aktuálnej podjednotky..."}}};module.exports=a;
package/lib/es/index.js CHANGED
@@ -1,12 +1,12 @@
1
1
  var ne = Object.defineProperty;
2
2
  var oe = (e, t, r) => t in e ? ne(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
3
  var l = (e, t, r) => oe(e, typeof t != "symbol" ? t + "" : t, r);
4
- import { Disposable as P, CommandType as m, ICommandService as M, ILogService as H, IUniverInstanceService as J, awaitTime as ie, Inject as O, Injector as G, IConfigService as ce, Plugin as ae, merge as se } from "@univerjs/core";
4
+ import { Disposable as P, CommandType as m, ICommandService as M, ILogService as H, IUniverInstanceService as J, awaitTime as ie, Inject as O, Injector as G, Plugin as ce, merge as ae, IConfigService as se } from "@univerjs/core";
5
5
  import { useRef as de, createElement as Z, forwardRef as le, useCallback as y } from "react";
6
6
  import { SetSelectionsOperation as A, CopySheetCommand as me, DeleteRangeMoveLeftCommand as ue, DeleteRangeMoveUpCommand as he, DeltaColumnWidthCommand as ge, DeltaRowHeightCommand as fe, InsertSheetCommand as pe, InsertColAfterCommand as Se, InsertColBeforeCommand as ve, InsertRowAfterCommand as Ce, InsertRowBeforeCommand as _e, RemoveSheetCommand as ye, SetStyleCommand as Re, AddWorksheetMergeCommand as Ie, AddWorksheetMergeAllCommand as Oe, AddWorksheetMergeVerticalCommand as we, AddWorksheetMergeHorizontalCommand as Me, SetFrozenCommand as $e, CancelFrozenCommand as xe, SetHorizontalTextAlignCommand as Ne, SetOverlineCommand as Ue, SetRangeValuesCommand as Ae, SetStrikeThroughCommand as be, SetTextColorCommand as Fe, SetTextRotationCommand as Pe, SetTextWrapCommand as Te, SetVerticalTextAlignCommand as De, SetWorksheetActivateCommand as Ee, SetWorksheetActiveOperation as Le } from "@univerjs/sheets";
7
7
  import { SetSheetFilterRangeCommand as je, SetSheetsFilterCriteriaCommand as Be, RemoveSheetFilterCommand as ke } from "@univerjs/sheets-filter";
8
8
  import { SetRangeBoldCommand as Ve, SetRangeFontFamilyCommand as We, SetRangeFontSizeCommand as ze, SetRangeItalicCommand as He, SetRangeStrickThroughCommand as Je, SetRangeSubscriptCommand as Ge, SetRangeSuperscriptCommand as Ze, SetRangeTextColorCommand as Ke, SetRangeUnderlineCommand as Ye, SheetCopyCommand as qe, SheetCutCommand as Qe, SheetPasteBesidesBorderCommand as Xe, SheetPasteColWidthCommand as et, SheetPasteCommand as tt, SheetPasteFormatCommand as rt, SheetPasteShortKeyCommand as nt, SheetPasteValueCommand as ot, AutoFillCommand as it, RefillCommand as ct } from "@univerjs/sheets-ui";
9
- import { ILocalFileService as K, IMessageService as $, useDependency as b, useObservable as F, RibbonOthersGroup as at, MenuItemType as _, IUIPartsService as st, IMenuManagerService as dt, ComponentManager as lt, BuiltInUIPart as mt, connectInjector as ut } from "@univerjs/ui";
9
+ import { ILocalFileService as K, IMessageService as $, useDependency as b, useObservable as F, RibbonOthersGroup as at, MenuItemType as _, ComponentManager as st, BuiltInUIPart as dt, connectInjector as lt, IUIPartsService as mt, IMenuManagerService as ut } from "@univerjs/ui";
10
10
  import { BehaviorSubject as R } from "rxjs";
11
11
  import { MessageType as x, Button as N } from "@univerjs/design";
12
12
  import { jsx as g, jsxs as k } from "react/jsx-runtime";
@@ -444,7 +444,7 @@ let w = class extends P {
444
444
  ].forEach((e) => this._commandSrv.registerCommand(e));
445
445
  }
446
446
  _initUI() {
447
- this._uiPartsSrv.registerComponent(mt.GLOBAL, () => ut(Rt, this._injector)), this.disposeWithMe(
447
+ this._uiPartsSrv.registerComponent(dt.GLOBAL, () => lt(Rt, this._injector)), this.disposeWithMe(
448
448
  this._componentManager.register("RecordIcon", T)
449
449
  ), this._menuManagerService.mergeMenu(Nt);
450
450
  }
@@ -526,9 +526,9 @@ let w = class extends P {
526
526
  };
527
527
  w = At([
528
528
  p(0, M),
529
- p(1, st),
530
- p(2, dt),
531
- p(3, O(lt)),
529
+ p(1, mt),
530
+ p(2, ut),
531
+ p(3, O(st)),
532
532
  p(4, O(d)),
533
533
  p(5, O(G))
534
534
  ], w);
@@ -538,10 +538,10 @@ var Ft = Object.getOwnPropertyDescriptor, Pt = (e, t, r, n) => {
538
538
  (c = e[i]) && (o = c(o) || o);
539
539
  return o;
540
540
  }, W = (e, t) => (r, n) => t(r, n, e), U;
541
- let z = (U = class extends ae {
541
+ let z = (U = class extends ce {
542
542
  constructor(e = V, t, r) {
543
543
  super(), this._config = e, this._injector = t, this._configService = r;
544
- const { menu: n, ...o } = se(
544
+ const { menu: n, ...o } = ae(
545
545
  {},
546
546
  V,
547
547
  this._config
@@ -561,7 +561,7 @@ let z = (U = class extends ae {
561
561
  }, l(U, "pluginName", "UNIVER_ACTION_RECORDER_PLUGIN"), U);
562
562
  z = Pt([
563
563
  W(1, O(G)),
564
- W(2, ce)
564
+ W(2, se)
565
565
  ], z);
566
566
  export {
567
567
  d as ActionRecorderService,
@@ -0,0 +1,14 @@
1
+ const a = {
2
+ "action-recorder": {
3
+ menu: {
4
+ title: "Zaznamenať akcie",
5
+ record: "Zaznamenať akcie...",
6
+ "replay-local": "Nahradiť miestny záznam...",
7
+ "replay-local-name": "Nahradiť miestny záznam podľa podjednotky...",
8
+ "replay-local-active": "Nahradiť miestny záznam podľa aktuálnej podjednotky..."
9
+ }
10
+ }
11
+ };
12
+ export {
13
+ a as default
14
+ };
package/lib/index.js CHANGED
@@ -1,12 +1,12 @@
1
1
  var ne = Object.defineProperty;
2
2
  var oe = (e, t, r) => t in e ? ne(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
3
  var l = (e, t, r) => oe(e, typeof t != "symbol" ? t + "" : t, r);
4
- import { Disposable as P, CommandType as m, ICommandService as M, ILogService as H, IUniverInstanceService as J, awaitTime as ie, Inject as O, Injector as G, IConfigService as ce, Plugin as ae, merge as se } from "@univerjs/core";
4
+ import { Disposable as P, CommandType as m, ICommandService as M, ILogService as H, IUniverInstanceService as J, awaitTime as ie, Inject as O, Injector as G, Plugin as ce, merge as ae, IConfigService as se } from "@univerjs/core";
5
5
  import { useRef as de, createElement as Z, forwardRef as le, useCallback as y } from "react";
6
6
  import { SetSelectionsOperation as A, CopySheetCommand as me, DeleteRangeMoveLeftCommand as ue, DeleteRangeMoveUpCommand as he, DeltaColumnWidthCommand as ge, DeltaRowHeightCommand as fe, InsertSheetCommand as pe, InsertColAfterCommand as Se, InsertColBeforeCommand as ve, InsertRowAfterCommand as Ce, InsertRowBeforeCommand as _e, RemoveSheetCommand as ye, SetStyleCommand as Re, AddWorksheetMergeCommand as Ie, AddWorksheetMergeAllCommand as Oe, AddWorksheetMergeVerticalCommand as we, AddWorksheetMergeHorizontalCommand as Me, SetFrozenCommand as $e, CancelFrozenCommand as xe, SetHorizontalTextAlignCommand as Ne, SetOverlineCommand as Ue, SetRangeValuesCommand as Ae, SetStrikeThroughCommand as be, SetTextColorCommand as Fe, SetTextRotationCommand as Pe, SetTextWrapCommand as Te, SetVerticalTextAlignCommand as De, SetWorksheetActivateCommand as Ee, SetWorksheetActiveOperation as Le } from "@univerjs/sheets";
7
7
  import { SetSheetFilterRangeCommand as je, SetSheetsFilterCriteriaCommand as Be, RemoveSheetFilterCommand as ke } from "@univerjs/sheets-filter";
8
8
  import { SetRangeBoldCommand as Ve, SetRangeFontFamilyCommand as We, SetRangeFontSizeCommand as ze, SetRangeItalicCommand as He, SetRangeStrickThroughCommand as Je, SetRangeSubscriptCommand as Ge, SetRangeSuperscriptCommand as Ze, SetRangeTextColorCommand as Ke, SetRangeUnderlineCommand as Ye, SheetCopyCommand as qe, SheetCutCommand as Qe, SheetPasteBesidesBorderCommand as Xe, SheetPasteColWidthCommand as et, SheetPasteCommand as tt, SheetPasteFormatCommand as rt, SheetPasteShortKeyCommand as nt, SheetPasteValueCommand as ot, AutoFillCommand as it, RefillCommand as ct } from "@univerjs/sheets-ui";
9
- import { ILocalFileService as K, IMessageService as $, useDependency as b, useObservable as F, RibbonOthersGroup as at, MenuItemType as _, IUIPartsService as st, IMenuManagerService as dt, ComponentManager as lt, BuiltInUIPart as mt, connectInjector as ut } from "@univerjs/ui";
9
+ import { ILocalFileService as K, IMessageService as $, useDependency as b, useObservable as F, RibbonOthersGroup as at, MenuItemType as _, ComponentManager as st, BuiltInUIPart as dt, connectInjector as lt, IUIPartsService as mt, IMenuManagerService as ut } from "@univerjs/ui";
10
10
  import { BehaviorSubject as R } from "rxjs";
11
11
  import { MessageType as x, Button as N } from "@univerjs/design";
12
12
  import { jsx as g, jsxs as k } from "react/jsx-runtime";
@@ -444,7 +444,7 @@ let w = class extends P {
444
444
  ].forEach((e) => this._commandSrv.registerCommand(e));
445
445
  }
446
446
  _initUI() {
447
- this._uiPartsSrv.registerComponent(mt.GLOBAL, () => ut(Rt, this._injector)), this.disposeWithMe(
447
+ this._uiPartsSrv.registerComponent(dt.GLOBAL, () => lt(Rt, this._injector)), this.disposeWithMe(
448
448
  this._componentManager.register("RecordIcon", T)
449
449
  ), this._menuManagerService.mergeMenu(Nt);
450
450
  }
@@ -526,9 +526,9 @@ let w = class extends P {
526
526
  };
527
527
  w = At([
528
528
  p(0, M),
529
- p(1, st),
530
- p(2, dt),
531
- p(3, O(lt)),
529
+ p(1, mt),
530
+ p(2, ut),
531
+ p(3, O(st)),
532
532
  p(4, O(d)),
533
533
  p(5, O(G))
534
534
  ], w);
@@ -538,10 +538,10 @@ var Ft = Object.getOwnPropertyDescriptor, Pt = (e, t, r, n) => {
538
538
  (c = e[i]) && (o = c(o) || o);
539
539
  return o;
540
540
  }, W = (e, t) => (r, n) => t(r, n, e), U;
541
- let z = (U = class extends ae {
541
+ let z = (U = class extends ce {
542
542
  constructor(e = V, t, r) {
543
543
  super(), this._config = e, this._injector = t, this._configService = r;
544
- const { menu: n, ...o } = se(
544
+ const { menu: n, ...o } = ae(
545
545
  {},
546
546
  V,
547
547
  this._config
@@ -561,7 +561,7 @@ let z = (U = class extends ae {
561
561
  }, l(U, "pluginName", "UNIVER_ACTION_RECORDER_PLUGIN"), U);
562
562
  z = Pt([
563
563
  W(1, O(G)),
564
- W(2, ce)
564
+ W(2, se)
565
565
  ], z);
566
566
  export {
567
567
  d as ActionRecorderService,
@@ -0,0 +1,14 @@
1
+ const a = {
2
+ "action-recorder": {
3
+ menu: {
4
+ title: "Zaznamenať akcie",
5
+ record: "Zaznamenať akcie...",
6
+ "replay-local": "Nahradiť miestny záznam...",
7
+ "replay-local-name": "Nahradiť miestny záznam podľa podjednotky...",
8
+ "replay-local-active": "Nahradiť miestny záznam podľa aktuálnej podjednotky..."
9
+ }
10
+ }
11
+ };
12
+ export {
13
+ a as default
14
+ };
@@ -0,0 +1,3 @@
1
+ import { default as enUS } from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1 @@
1
+ (function(e,n){typeof exports=="object"&&typeof module<"u"?module.exports=n():typeof define=="function"&&define.amd?define(n):(e=typeof globalThis<"u"?globalThis:e||self,e.UniverActionRecorderSkSK=n())})(this,(function(){"use strict";return{"action-recorder":{menu:{title:"Zaznamenať akcie",record:"Zaznamenať akcie...","replay-local":"Nahradiť miestny záznam...","replay-local-name":"Nahradiť miestny záznam podľa podjednotky...","replay-local-active":"Nahradiť miestny záznam podľa aktuálnej podjednotky..."}}}}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs/action-recorder",
3
- "version": "0.15.2-insiders.20260124-12fc7f0",
3
+ "version": "0.15.3-insiders.20260131-b9b8805",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "author": "DreamNum <developer@univer.ai>",
@@ -53,12 +53,12 @@
53
53
  },
54
54
  "dependencies": {
55
55
  "@univerjs/icons": "^1.1.1",
56
- "@univerjs/core": "0.15.2-insiders.20260124-12fc7f0",
57
- "@univerjs/design": "0.15.2-insiders.20260124-12fc7f0",
58
- "@univerjs/sheets-filter": "0.15.2-insiders.20260124-12fc7f0",
59
- "@univerjs/sheets": "0.15.2-insiders.20260124-12fc7f0",
60
- "@univerjs/sheets-ui": "0.15.2-insiders.20260124-12fc7f0",
61
- "@univerjs/ui": "0.15.2-insiders.20260124-12fc7f0"
56
+ "@univerjs/core": "0.15.3-insiders.20260131-b9b8805",
57
+ "@univerjs/sheets": "0.15.3-insiders.20260131-b9b8805",
58
+ "@univerjs/sheets-filter": "0.15.3-insiders.20260131-b9b8805",
59
+ "@univerjs/sheets-ui": "0.15.3-insiders.20260131-b9b8805",
60
+ "@univerjs/ui": "0.15.3-insiders.20260131-b9b8805",
61
+ "@univerjs/design": "0.15.3-insiders.20260131-b9b8805"
62
62
  },
63
63
  "devDependencies": {
64
64
  "react": "18.3.1",
@@ -66,8 +66,8 @@
66
66
  "tailwindcss": "3.4.18",
67
67
  "typescript": "^5.9.3",
68
68
  "vite": "^7.3.1",
69
- "vitest": "^4.0.16",
70
- "@univerjs-infra/shared": "0.15.2"
69
+ "vitest": "^4.0.18",
70
+ "@univerjs-infra/shared": "0.15.3"
71
71
  },
72
72
  "scripts": {
73
73
  "test": "vitest run",