@univerjs/action-recorder 1.3.0 → 1.4.0
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/cjs/index.js +19 -37
- package/lib/cjs/locale/ar-SA.js +1 -2
- package/lib/cjs/locale/ca-ES.js +1 -2
- package/lib/cjs/locale/de-DE.js +1 -2
- package/lib/cjs/locale/en-US.js +1 -2
- package/lib/cjs/locale/es-ES.js +1 -2
- package/lib/cjs/locale/fa-IR.js +1 -2
- package/lib/cjs/locale/fr-FR.js +1 -2
- package/lib/cjs/locale/id-ID.js +1 -2
- package/lib/cjs/locale/it-IT.js +1 -2
- package/lib/cjs/locale/ja-JP.js +1 -2
- package/lib/cjs/locale/ko-KR.js +1 -2
- package/lib/cjs/locale/pl-PL.js +1 -2
- package/lib/cjs/locale/pt-BR.js +1 -2
- package/lib/cjs/locale/ru-RU.js +1 -2
- package/lib/cjs/locale/sk-SK.js +1 -2
- package/lib/cjs/locale/vi-VN.js +1 -2
- package/lib/cjs/locale/zh-CN.js +1 -2
- package/lib/cjs/locale/zh-HK.js +1 -2
- package/lib/cjs/locale/zh-TW.js +1 -2
- package/lib/es/index.js +19 -37
- package/lib/es/locale/ar-SA.js +1 -2
- package/lib/es/locale/ca-ES.js +1 -2
- package/lib/es/locale/de-DE.js +1 -2
- package/lib/es/locale/en-US.js +1 -2
- package/lib/es/locale/es-ES.js +1 -2
- package/lib/es/locale/fa-IR.js +1 -2
- package/lib/es/locale/fr-FR.js +1 -2
- package/lib/es/locale/id-ID.js +1 -2
- package/lib/es/locale/it-IT.js +1 -2
- package/lib/es/locale/ja-JP.js +1 -2
- package/lib/es/locale/ko-KR.js +1 -2
- package/lib/es/locale/pl-PL.js +1 -2
- package/lib/es/locale/pt-BR.js +1 -2
- package/lib/es/locale/ru-RU.js +1 -2
- package/lib/es/locale/sk-SK.js +1 -2
- package/lib/es/locale/vi-VN.js +1 -2
- package/lib/es/locale/zh-CN.js +1 -2
- package/lib/es/locale/zh-HK.js +1 -2
- package/lib/es/locale/zh-TW.js +1 -2
- package/lib/index.js +19 -37
- package/lib/locale/ar-SA.js +1 -2
- package/lib/locale/ca-ES.js +1 -2
- package/lib/locale/de-DE.js +1 -2
- package/lib/locale/en-US.js +1 -2
- package/lib/locale/es-ES.js +1 -2
- package/lib/locale/fa-IR.js +1 -2
- package/lib/locale/fr-FR.js +1 -2
- package/lib/locale/id-ID.js +1 -2
- package/lib/locale/it-IT.js +1 -2
- package/lib/locale/ja-JP.js +1 -2
- package/lib/locale/ko-KR.js +1 -2
- package/lib/locale/pl-PL.js +1 -2
- package/lib/locale/pt-BR.js +1 -2
- package/lib/locale/ru-RU.js +1 -2
- package/lib/locale/sk-SK.js +1 -2
- package/lib/locale/vi-VN.js +1 -2
- package/lib/locale/zh-CN.js +1 -2
- package/lib/locale/zh-HK.js +1 -2
- package/lib/locale/zh-TW.js +1 -2
- package/lib/umd/index.js +1 -1
- package/package.json +13 -13
package/lib/cjs/index.js
CHANGED
|
@@ -10,15 +10,14 @@ let _univerjs_icons = require("@univerjs/icons");
|
|
|
10
10
|
let react = require("react");
|
|
11
11
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
// \0@oxc-project+runtime@0.156.0/helpers/esm/decorateParam.js
|
|
14
14
|
function __decorateParam(paramIndex, decorator) {
|
|
15
15
|
return function(target, key) {
|
|
16
16
|
decorator(target, key, paramIndex);
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/decorate.js
|
|
20
|
+
// \0@oxc-project+runtime@0.156.0/helpers/esm/decorate.js
|
|
22
21
|
function __decorate(decorators, target, key, desc) {
|
|
23
22
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
24
23
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -26,8 +25,7 @@ function __decorate(decorators, target, key, desc) {
|
|
|
26
25
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
27
26
|
}
|
|
28
27
|
|
|
29
|
-
|
|
30
|
-
//#region src/services/replay.service.ts
|
|
28
|
+
// src/services/replay.service.ts
|
|
31
29
|
let ActionReplayService = class ActionReplayService extends _univerjs_core.Disposable {
|
|
32
30
|
constructor(_messageService, _instanceService, _localFileService, _logService, _commandService) {
|
|
33
31
|
super();
|
|
@@ -119,8 +117,7 @@ function randomBetween200And1k() {
|
|
|
119
117
|
return Math.floor(Math.random() * 800) + 200;
|
|
120
118
|
}
|
|
121
119
|
|
|
122
|
-
|
|
123
|
-
//#region src/commands/commands/replay.command.ts
|
|
120
|
+
// src/commands/commands/replay.command.ts
|
|
124
121
|
const ReplayLocalRecordCommand = {
|
|
125
122
|
id: "action-recorder.command.replay-local-records",
|
|
126
123
|
type: _univerjs_core.CommandType.COMMAND,
|
|
@@ -158,8 +155,7 @@ const ReplayLocalRecordOnActiveCommand = {
|
|
|
158
155
|
}
|
|
159
156
|
};
|
|
160
157
|
|
|
161
|
-
|
|
162
|
-
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/typeof.js
|
|
158
|
+
// \0@oxc-project+runtime@0.156.0/helpers/esm/typeof.js
|
|
163
159
|
function _typeof(o) {
|
|
164
160
|
"@babel/helpers - typeof";
|
|
165
161
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
@@ -169,8 +165,7 @@ function _typeof(o) {
|
|
|
169
165
|
}, _typeof(o);
|
|
170
166
|
}
|
|
171
167
|
|
|
172
|
-
|
|
173
|
-
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/toPrimitive.js
|
|
168
|
+
// \0@oxc-project+runtime@0.156.0/helpers/esm/toPrimitive.js
|
|
174
169
|
function toPrimitive(t, r) {
|
|
175
170
|
if ("object" != _typeof(t) || !t) return t;
|
|
176
171
|
var e = t[Symbol.toPrimitive];
|
|
@@ -182,15 +177,13 @@ function toPrimitive(t, r) {
|
|
|
182
177
|
return ("string" === r ? String : Number)(t);
|
|
183
178
|
}
|
|
184
179
|
|
|
185
|
-
|
|
186
|
-
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/toPropertyKey.js
|
|
180
|
+
// \0@oxc-project+runtime@0.156.0/helpers/esm/toPropertyKey.js
|
|
187
181
|
function toPropertyKey(t) {
|
|
188
182
|
var i = toPrimitive(t, "string");
|
|
189
183
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
190
184
|
}
|
|
191
185
|
|
|
192
|
-
|
|
193
|
-
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/defineProperty.js
|
|
186
|
+
// \0@oxc-project+runtime@0.156.0/helpers/esm/defineProperty.js
|
|
194
187
|
function _defineProperty(e, r, t) {
|
|
195
188
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
196
189
|
value: t,
|
|
@@ -200,8 +193,7 @@ function _defineProperty(e, r, t) {
|
|
|
200
193
|
}) : e[r] = t, e;
|
|
201
194
|
}
|
|
202
195
|
|
|
203
|
-
|
|
204
|
-
//#region src/services/action-recorder.service.ts
|
|
196
|
+
// src/services/action-recorder.service.ts
|
|
205
197
|
let ActionRecorderService = class ActionRecorderService extends _univerjs_core.Disposable {
|
|
206
198
|
get recording() {
|
|
207
199
|
return this._recording$.getValue();
|
|
@@ -291,8 +283,7 @@ ActionRecorderService = __decorate([
|
|
|
291
283
|
__decorateParam(3, _univerjs_core.IUniverInstanceService)
|
|
292
284
|
], ActionRecorderService);
|
|
293
285
|
|
|
294
|
-
|
|
295
|
-
//#region src/commands/operations/operation.ts
|
|
286
|
+
// src/commands/operations/operation.ts
|
|
296
287
|
const OpenRecordPanelOperation = {
|
|
297
288
|
id: "action-recorder.operation.open-panel",
|
|
298
289
|
type: _univerjs_core.CommandType.OPERATION,
|
|
@@ -310,8 +301,7 @@ const CloseRecordPanelOperation = {
|
|
|
310
301
|
}
|
|
311
302
|
};
|
|
312
303
|
|
|
313
|
-
|
|
314
|
-
//#region src/menu/action-recorder.menu.ts
|
|
304
|
+
// src/menu/action-recorder.menu.ts
|
|
315
305
|
const RECORD_MENU_ITEM_ID = "RECORD_MENU_ITEM";
|
|
316
306
|
function RecordMenuItemFactory() {
|
|
317
307
|
return {
|
|
@@ -372,19 +362,16 @@ const menuSchema = { [_univerjs_ui.RibbonOthersGroup.OTHERS]: { [RECORD_MENU_ITE
|
|
|
372
362
|
}
|
|
373
363
|
} } };
|
|
374
364
|
|
|
375
|
-
|
|
376
|
-
//#region package.json
|
|
365
|
+
// package.json
|
|
377
366
|
var name = "@univerjs/action-recorder";
|
|
378
|
-
var version = "1.
|
|
367
|
+
var version = "1.4.0";
|
|
379
368
|
|
|
380
|
-
|
|
381
|
-
//#region src/config/config.ts
|
|
369
|
+
// src/config/config.ts
|
|
382
370
|
const ACTION_RECORDER_PLUGIN_CONFIG_KEY = "action-recorder.config";
|
|
383
371
|
const configSymbol = Symbol(ACTION_RECORDER_PLUGIN_CONFIG_KEY);
|
|
384
372
|
const defaultPluginConfig = {};
|
|
385
373
|
|
|
386
|
-
|
|
387
|
-
//#region src/commands/commands/record.command.ts
|
|
374
|
+
// src/commands/commands/record.command.ts
|
|
388
375
|
const StartRecordingActionCommand = {
|
|
389
376
|
id: "action-recorder.command.start-recording",
|
|
390
377
|
type: _univerjs_core.CommandType.COMMAND,
|
|
@@ -410,8 +397,7 @@ const StopRecordingActionCommand = {
|
|
|
410
397
|
}
|
|
411
398
|
};
|
|
412
399
|
|
|
413
|
-
|
|
414
|
-
//#region src/views/components/RecorderPanel.tsx
|
|
400
|
+
// src/views/components/RecorderPanel.tsx
|
|
415
401
|
function RecorderPanel() {
|
|
416
402
|
const s = (0, _univerjs_ui.useDependency)(ActionRecorderService);
|
|
417
403
|
if (!(0, _univerjs_ui.useObservable)(s.panelOpened$)) return null;
|
|
@@ -473,8 +459,7 @@ function RecordPanelImpl() {
|
|
|
473
459
|
});
|
|
474
460
|
}
|
|
475
461
|
|
|
476
|
-
|
|
477
|
-
//#region src/controllers/action-recorder.controller.ts
|
|
462
|
+
// src/controllers/action-recorder.controller.ts
|
|
478
463
|
/**
|
|
479
464
|
* Copyright 2023-present DreamNum Co., Ltd.
|
|
480
465
|
*
|
|
@@ -584,8 +569,7 @@ ActionRecorderController = __decorate([
|
|
|
584
569
|
__decorateParam(4, (0, _univerjs_core.Inject)(_univerjs_core.Injector))
|
|
585
570
|
], ActionRecorderController);
|
|
586
571
|
|
|
587
|
-
|
|
588
|
-
//#region src/controllers/components.controller.ts
|
|
572
|
+
// src/controllers/components.controller.ts
|
|
589
573
|
/**
|
|
590
574
|
* Copyright 2023-present DreamNum Co., Ltd.
|
|
591
575
|
*
|
|
@@ -614,8 +598,7 @@ let ComponentsController = class ComponentsController extends _univerjs_core.Dis
|
|
|
614
598
|
};
|
|
615
599
|
ComponentsController = __decorate([__decorateParam(0, (0, _univerjs_core.Inject)(_univerjs_ui.ComponentManager)), __decorateParam(1, (0, _univerjs_core.Inject)(_univerjs_ui.IconManager))], ComponentsController);
|
|
616
600
|
|
|
617
|
-
|
|
618
|
-
//#region src/plugin.ts
|
|
601
|
+
// src/plugin.ts
|
|
619
602
|
let UniverActionRecorderPlugin = class UniverActionRecorderPlugin extends _univerjs_core.Plugin {
|
|
620
603
|
constructor(_config = defaultPluginConfig, _injector, _configService) {
|
|
621
604
|
super();
|
|
@@ -645,7 +628,6 @@ _defineProperty(UniverActionRecorderPlugin, "packageName", name);
|
|
|
645
628
|
_defineProperty(UniverActionRecorderPlugin, "version", version);
|
|
646
629
|
UniverActionRecorderPlugin = __decorate([__decorateParam(1, (0, _univerjs_core.Inject)(_univerjs_core.Injector)), __decorateParam(2, _univerjs_core.IConfigService)], UniverActionRecorderPlugin);
|
|
647
630
|
|
|
648
|
-
//#endregion
|
|
649
631
|
exports.ActionRecorderMenuSchema = menuSchema;
|
|
650
632
|
Object.defineProperty(exports, "ActionRecorderService", {
|
|
651
633
|
enumerable: true,
|
package/lib/cjs/locale/ar-SA.js
CHANGED
package/lib/cjs/locale/ca-ES.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/locale/ca-ES.ts
|
|
2
2
|
const locale = { "action-recorder": {
|
|
3
3
|
panel: {
|
|
4
4
|
recording: "S'està enregistrant...",
|
|
@@ -18,5 +18,4 @@ const locale = { "action-recorder": {
|
|
|
18
18
|
}
|
|
19
19
|
} };
|
|
20
20
|
|
|
21
|
-
//#endregion
|
|
22
21
|
module.exports = locale;
|
package/lib/cjs/locale/de-DE.js
CHANGED
package/lib/cjs/locale/en-US.js
CHANGED
package/lib/cjs/locale/es-ES.js
CHANGED
package/lib/cjs/locale/fa-IR.js
CHANGED
package/lib/cjs/locale/fr-FR.js
CHANGED
package/lib/cjs/locale/id-ID.js
CHANGED
package/lib/cjs/locale/it-IT.js
CHANGED
package/lib/cjs/locale/ja-JP.js
CHANGED
package/lib/cjs/locale/ko-KR.js
CHANGED
package/lib/cjs/locale/pl-PL.js
CHANGED
package/lib/cjs/locale/pt-BR.js
CHANGED
package/lib/cjs/locale/ru-RU.js
CHANGED
package/lib/cjs/locale/sk-SK.js
CHANGED
package/lib/cjs/locale/vi-VN.js
CHANGED
package/lib/cjs/locale/zh-CN.js
CHANGED
package/lib/cjs/locale/zh-HK.js
CHANGED
package/lib/cjs/locale/zh-TW.js
CHANGED
package/lib/es/index.js
CHANGED
|
@@ -9,15 +9,14 @@ import { RecordIcon } from "@univerjs/icons";
|
|
|
9
9
|
import { useCallback } from "react";
|
|
10
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
// \0@oxc-project+runtime@0.156.0/helpers/esm/decorateParam.js
|
|
13
13
|
function __decorateParam(paramIndex, decorator) {
|
|
14
14
|
return function(target, key) {
|
|
15
15
|
decorator(target, key, paramIndex);
|
|
16
16
|
};
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/decorate.js
|
|
19
|
+
// \0@oxc-project+runtime@0.156.0/helpers/esm/decorate.js
|
|
21
20
|
function __decorate(decorators, target, key, desc) {
|
|
22
21
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
23
22
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -25,8 +24,7 @@ function __decorate(decorators, target, key, desc) {
|
|
|
25
24
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
26
25
|
}
|
|
27
26
|
|
|
28
|
-
|
|
29
|
-
//#region src/services/replay.service.ts
|
|
27
|
+
// src/services/replay.service.ts
|
|
30
28
|
let ActionReplayService = class ActionReplayService extends Disposable {
|
|
31
29
|
constructor(_messageService, _instanceService, _localFileService, _logService, _commandService) {
|
|
32
30
|
super();
|
|
@@ -118,8 +116,7 @@ function randomBetween200And1k() {
|
|
|
118
116
|
return Math.floor(Math.random() * 800) + 200;
|
|
119
117
|
}
|
|
120
118
|
|
|
121
|
-
|
|
122
|
-
//#region src/commands/commands/replay.command.ts
|
|
119
|
+
// src/commands/commands/replay.command.ts
|
|
123
120
|
const ReplayLocalRecordCommand = {
|
|
124
121
|
id: "action-recorder.command.replay-local-records",
|
|
125
122
|
type: CommandType.COMMAND,
|
|
@@ -157,8 +154,7 @@ const ReplayLocalRecordOnActiveCommand = {
|
|
|
157
154
|
}
|
|
158
155
|
};
|
|
159
156
|
|
|
160
|
-
|
|
161
|
-
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/typeof.js
|
|
157
|
+
// \0@oxc-project+runtime@0.156.0/helpers/esm/typeof.js
|
|
162
158
|
function _typeof(o) {
|
|
163
159
|
"@babel/helpers - typeof";
|
|
164
160
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
@@ -168,8 +164,7 @@ function _typeof(o) {
|
|
|
168
164
|
}, _typeof(o);
|
|
169
165
|
}
|
|
170
166
|
|
|
171
|
-
|
|
172
|
-
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/toPrimitive.js
|
|
167
|
+
// \0@oxc-project+runtime@0.156.0/helpers/esm/toPrimitive.js
|
|
173
168
|
function toPrimitive(t, r) {
|
|
174
169
|
if ("object" != _typeof(t) || !t) return t;
|
|
175
170
|
var e = t[Symbol.toPrimitive];
|
|
@@ -181,15 +176,13 @@ function toPrimitive(t, r) {
|
|
|
181
176
|
return ("string" === r ? String : Number)(t);
|
|
182
177
|
}
|
|
183
178
|
|
|
184
|
-
|
|
185
|
-
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/toPropertyKey.js
|
|
179
|
+
// \0@oxc-project+runtime@0.156.0/helpers/esm/toPropertyKey.js
|
|
186
180
|
function toPropertyKey(t) {
|
|
187
181
|
var i = toPrimitive(t, "string");
|
|
188
182
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
189
183
|
}
|
|
190
184
|
|
|
191
|
-
|
|
192
|
-
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/defineProperty.js
|
|
185
|
+
// \0@oxc-project+runtime@0.156.0/helpers/esm/defineProperty.js
|
|
193
186
|
function _defineProperty(e, r, t) {
|
|
194
187
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
195
188
|
value: t,
|
|
@@ -199,8 +192,7 @@ function _defineProperty(e, r, t) {
|
|
|
199
192
|
}) : e[r] = t, e;
|
|
200
193
|
}
|
|
201
194
|
|
|
202
|
-
|
|
203
|
-
//#region src/services/action-recorder.service.ts
|
|
195
|
+
// src/services/action-recorder.service.ts
|
|
204
196
|
let ActionRecorderService = class ActionRecorderService extends Disposable {
|
|
205
197
|
get recording() {
|
|
206
198
|
return this._recording$.getValue();
|
|
@@ -290,8 +282,7 @@ ActionRecorderService = __decorate([
|
|
|
290
282
|
__decorateParam(3, IUniverInstanceService)
|
|
291
283
|
], ActionRecorderService);
|
|
292
284
|
|
|
293
|
-
|
|
294
|
-
//#region src/commands/operations/operation.ts
|
|
285
|
+
// src/commands/operations/operation.ts
|
|
295
286
|
const OpenRecordPanelOperation = {
|
|
296
287
|
id: "action-recorder.operation.open-panel",
|
|
297
288
|
type: CommandType.OPERATION,
|
|
@@ -309,8 +300,7 @@ const CloseRecordPanelOperation = {
|
|
|
309
300
|
}
|
|
310
301
|
};
|
|
311
302
|
|
|
312
|
-
|
|
313
|
-
//#region src/menu/action-recorder.menu.ts
|
|
303
|
+
// src/menu/action-recorder.menu.ts
|
|
314
304
|
const RECORD_MENU_ITEM_ID = "RECORD_MENU_ITEM";
|
|
315
305
|
function RecordMenuItemFactory() {
|
|
316
306
|
return {
|
|
@@ -371,19 +361,16 @@ const menuSchema = { [RibbonOthersGroup.OTHERS]: { [RECORD_MENU_ITEM_ID]: {
|
|
|
371
361
|
}
|
|
372
362
|
} } };
|
|
373
363
|
|
|
374
|
-
|
|
375
|
-
//#region package.json
|
|
364
|
+
// package.json
|
|
376
365
|
var name = "@univerjs/action-recorder";
|
|
377
|
-
var version = "1.
|
|
366
|
+
var version = "1.4.0";
|
|
378
367
|
|
|
379
|
-
|
|
380
|
-
//#region src/config/config.ts
|
|
368
|
+
// src/config/config.ts
|
|
381
369
|
const ACTION_RECORDER_PLUGIN_CONFIG_KEY = "action-recorder.config";
|
|
382
370
|
const configSymbol = Symbol(ACTION_RECORDER_PLUGIN_CONFIG_KEY);
|
|
383
371
|
const defaultPluginConfig = {};
|
|
384
372
|
|
|
385
|
-
|
|
386
|
-
//#region src/commands/commands/record.command.ts
|
|
373
|
+
// src/commands/commands/record.command.ts
|
|
387
374
|
const StartRecordingActionCommand = {
|
|
388
375
|
id: "action-recorder.command.start-recording",
|
|
389
376
|
type: CommandType.COMMAND,
|
|
@@ -409,8 +396,7 @@ const StopRecordingActionCommand = {
|
|
|
409
396
|
}
|
|
410
397
|
};
|
|
411
398
|
|
|
412
|
-
|
|
413
|
-
//#region src/views/components/RecorderPanel.tsx
|
|
399
|
+
// src/views/components/RecorderPanel.tsx
|
|
414
400
|
function RecorderPanel() {
|
|
415
401
|
const s = useDependency(ActionRecorderService);
|
|
416
402
|
if (!useObservable(s.panelOpened$)) return null;
|
|
@@ -472,8 +458,7 @@ function RecordPanelImpl() {
|
|
|
472
458
|
});
|
|
473
459
|
}
|
|
474
460
|
|
|
475
|
-
|
|
476
|
-
//#region src/controllers/action-recorder.controller.ts
|
|
461
|
+
// src/controllers/action-recorder.controller.ts
|
|
477
462
|
/**
|
|
478
463
|
* Copyright 2023-present DreamNum Co., Ltd.
|
|
479
464
|
*
|
|
@@ -583,8 +568,7 @@ ActionRecorderController = __decorate([
|
|
|
583
568
|
__decorateParam(4, Inject(Injector))
|
|
584
569
|
], ActionRecorderController);
|
|
585
570
|
|
|
586
|
-
|
|
587
|
-
//#region src/controllers/components.controller.ts
|
|
571
|
+
// src/controllers/components.controller.ts
|
|
588
572
|
/**
|
|
589
573
|
* Copyright 2023-present DreamNum Co., Ltd.
|
|
590
574
|
*
|
|
@@ -613,8 +597,7 @@ let ComponentsController = class ComponentsController extends Disposable {
|
|
|
613
597
|
};
|
|
614
598
|
ComponentsController = __decorate([__decorateParam(0, Inject(ComponentManager)), __decorateParam(1, Inject(IconManager))], ComponentsController);
|
|
615
599
|
|
|
616
|
-
|
|
617
|
-
//#region src/plugin.ts
|
|
600
|
+
// src/plugin.ts
|
|
618
601
|
let UniverActionRecorderPlugin = class UniverActionRecorderPlugin extends Plugin {
|
|
619
602
|
constructor(_config = defaultPluginConfig, _injector, _configService) {
|
|
620
603
|
super();
|
|
@@ -644,5 +627,4 @@ _defineProperty(UniverActionRecorderPlugin, "packageName", name);
|
|
|
644
627
|
_defineProperty(UniverActionRecorderPlugin, "version", version);
|
|
645
628
|
UniverActionRecorderPlugin = __decorate([__decorateParam(1, Inject(Injector)), __decorateParam(2, IConfigService)], UniverActionRecorderPlugin);
|
|
646
629
|
|
|
647
|
-
//#endregion
|
|
648
630
|
export { menuSchema as ActionRecorderMenuSchema, ActionRecorderService, ActionReplayService, UniverActionRecorderPlugin };
|
package/lib/es/locale/ar-SA.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/locale/ar-SA.ts
|
|
2
2
|
const locale = { "action-recorder": {
|
|
3
3
|
panel: {
|
|
4
4
|
recording: "جارٍ التسجيل...",
|
|
@@ -18,5 +18,4 @@ const locale = { "action-recorder": {
|
|
|
18
18
|
}
|
|
19
19
|
} };
|
|
20
20
|
|
|
21
|
-
//#endregion
|
|
22
21
|
export { locale as default };
|
package/lib/es/locale/ca-ES.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/locale/ca-ES.ts
|
|
2
2
|
const locale = { "action-recorder": {
|
|
3
3
|
panel: {
|
|
4
4
|
recording: "S'està enregistrant...",
|
|
@@ -18,5 +18,4 @@ const locale = { "action-recorder": {
|
|
|
18
18
|
}
|
|
19
19
|
} };
|
|
20
20
|
|
|
21
|
-
//#endregion
|
|
22
21
|
export { locale as default };
|
package/lib/es/locale/de-DE.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/locale/de-DE.ts
|
|
2
2
|
const locale = { "action-recorder": {
|
|
3
3
|
panel: {
|
|
4
4
|
recording: "Aufnahme läuft...",
|
|
@@ -18,5 +18,4 @@ const locale = { "action-recorder": {
|
|
|
18
18
|
}
|
|
19
19
|
} };
|
|
20
20
|
|
|
21
|
-
//#endregion
|
|
22
21
|
export { locale as default };
|
package/lib/es/locale/en-US.js
CHANGED
package/lib/es/locale/es-ES.js
CHANGED
package/lib/es/locale/fa-IR.js
CHANGED
package/lib/es/locale/fr-FR.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/locale/fr-FR.ts
|
|
2
2
|
const locale = { "action-recorder": {
|
|
3
3
|
panel: {
|
|
4
4
|
recording: "Enregistrement...",
|
|
@@ -18,5 +18,4 @@ const locale = { "action-recorder": {
|
|
|
18
18
|
}
|
|
19
19
|
} };
|
|
20
20
|
|
|
21
|
-
//#endregion
|
|
22
21
|
export { locale as default };
|