@difizen/libro-jupyter 0.0.2-alpha.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/LICENSE +21 -0
- package/README.md +1 -0
- package/es/add-between-cell/add-between-cell-command-contribution.d.ts +14 -0
- package/es/add-between-cell/add-between-cell-command-contribution.d.ts.map +1 -0
- package/es/add-between-cell/add-between-cell-command-contribution.js +97 -0
- package/es/add-between-cell/add-between-cell.d.ts +5 -0
- package/es/add-between-cell/add-between-cell.d.ts.map +1 -0
- package/es/add-between-cell/add-between-cell.js +243 -0
- package/es/add-between-cell/index.d.ts +3 -0
- package/es/add-between-cell/index.d.ts.map +1 -0
- package/es/add-between-cell/index.js +2 -0
- package/es/add-between-cell/index.less +103 -0
- package/es/add-between-cell/module.d.ts +3 -0
- package/es/add-between-cell/module.d.ts.map +1 -0
- package/es/add-between-cell/module.js +8 -0
- package/es/cell/index.d.ts +3 -0
- package/es/cell/index.d.ts.map +1 -0
- package/es/cell/index.js +2 -0
- package/es/cell/jupyter-code-cell-model.d.ts +12 -0
- package/es/cell/jupyter-code-cell-model.d.ts.map +1 -0
- package/es/cell/jupyter-code-cell-model.js +56 -0
- package/es/cell/jupyter-code-cell-view.d.ts +18 -0
- package/es/cell/jupyter-code-cell-view.d.ts.map +1 -0
- package/es/cell/jupyter-code-cell-view.js +280 -0
- package/es/command/command-contribution.d.ts +10 -0
- package/es/command/command-contribution.d.ts.map +1 -0
- package/es/command/command-contribution.js +161 -0
- package/es/command/index.d.ts +3 -0
- package/es/command/index.d.ts.map +1 -0
- package/es/command/index.js +2 -0
- package/es/command/keybinding-contribution.d.ts +8 -0
- package/es/command/keybinding-contribution.d.ts.map +1 -0
- package/es/command/keybinding-contribution.js +37 -0
- package/es/components/cell-execution-tip.d.ts +6 -0
- package/es/components/cell-execution-tip.d.ts.map +1 -0
- package/es/components/cell-execution-tip.js +69 -0
- package/es/components/cell-input-bottom-blank.d.ts +5 -0
- package/es/components/cell-input-bottom-blank.d.ts.map +1 -0
- package/es/components/cell-input-bottom-blank.js +21 -0
- package/es/components/icons.d.ts +5 -0
- package/es/components/icons.d.ts.map +1 -0
- package/es/components/icons.js +154 -0
- package/es/components/index.d.ts +4 -0
- package/es/components/index.d.ts.map +1 -0
- package/es/components/index.js +3 -0
- package/es/components/index.less +82 -0
- package/es/config/config-contribution.d.ts +10 -0
- package/es/config/config-contribution.d.ts.map +1 -0
- package/es/config/config-contribution.js +50 -0
- package/es/config/config.d.ts +3 -0
- package/es/config/config.d.ts.map +1 -0
- package/es/config/config.js +11 -0
- package/es/config/index.d.ts +2 -0
- package/es/config/index.d.ts.map +1 -0
- package/es/config/index.js +1 -0
- package/es/configuration/index.d.ts +3 -0
- package/es/configuration/index.d.ts.map +1 -0
- package/es/configuration/index.js +2 -0
- package/es/configuration/libro-configuration-contribution.d.ts +5 -0
- package/es/configuration/libro-configuration-contribution.d.ts.map +1 -0
- package/es/configuration/libro-configuration-contribution.js +24 -0
- package/es/configuration/libro-configuration.d.ts +3 -0
- package/es/configuration/libro-configuration.d.ts.map +1 -0
- package/es/configuration/libro-configuration.js +12 -0
- package/es/contents/content-contribution.d.ts +7 -0
- package/es/contents/content-contribution.d.ts.map +1 -0
- package/es/contents/content-contribution.js +63 -0
- package/es/contents/index.d.ts +2 -0
- package/es/contents/index.d.ts.map +1 -0
- package/es/contents/index.js +1 -0
- package/es/file/file-name-alias.d.ts +7 -0
- package/es/file/file-name-alias.d.ts.map +1 -0
- package/es/file/file-name-alias.js +26 -0
- package/es/file/file-protocol.d.ts +8 -0
- package/es/file/file-protocol.d.ts.map +1 -0
- package/es/file/file-protocol.js +7 -0
- package/es/file/file-service.d.ts +31 -0
- package/es/file/file-service.d.ts.map +1 -0
- package/es/file/file-service.js +329 -0
- package/es/file/file-tree-label-provider.d.ts +13 -0
- package/es/file/file-tree-label-provider.d.ts.map +1 -0
- package/es/file/file-tree-label-provider.js +62 -0
- package/es/file/file-view/index.d.ts +14 -0
- package/es/file/file-view/index.d.ts.map +1 -0
- package/es/file/file-view/index.js +101 -0
- package/es/file/file-view/index.less +5 -0
- package/es/file/index.d.ts +7 -0
- package/es/file/index.d.ts.map +1 -0
- package/es/file/index.js +6 -0
- package/es/file/module.d.ts +3 -0
- package/es/file/module.d.ts.map +1 -0
- package/es/file/module.js +8 -0
- package/es/file/navigatable-view.d.ts +24 -0
- package/es/file/navigatable-view.d.ts.map +1 -0
- package/es/file/navigatable-view.js +151 -0
- package/es/file/open-handler-contribution.d.ts +11 -0
- package/es/file/open-handler-contribution.d.ts.map +1 -0
- package/es/file/open-handler-contribution.js +102 -0
- package/es/index.d.ts +32 -0
- package/es/index.d.ts.map +1 -0
- package/es/index.js +31 -0
- package/es/keybind-instructions/index.d.ts +6 -0
- package/es/keybind-instructions/index.d.ts.map +1 -0
- package/es/keybind-instructions/index.js +5 -0
- package/es/keybind-instructions/index.less +177 -0
- package/es/keybind-instructions/keybind-instructions-contribution.d.ts +11 -0
- package/es/keybind-instructions/keybind-instructions-contribution.d.ts.map +1 -0
- package/es/keybind-instructions/keybind-instructions-contribution.js +84 -0
- package/es/keybind-instructions/keybind-instructions-icon.d.ts +3 -0
- package/es/keybind-instructions/keybind-instructions-icon.d.ts.map +1 -0
- package/es/keybind-instructions/keybind-instructions-icon.js +23 -0
- package/es/keybind-instructions/keybind-instructions-items.d.ts +14 -0
- package/es/keybind-instructions/keybind-instructions-items.d.ts.map +1 -0
- package/es/keybind-instructions/keybind-instructions-items.js +589 -0
- package/es/keybind-instructions/keybind-instructions-view.d.ts +16 -0
- package/es/keybind-instructions/keybind-instructions-view.d.ts.map +1 -0
- package/es/keybind-instructions/keybind-instructions-view.js +224 -0
- package/es/keybind-instructions/module.d.ts +3 -0
- package/es/keybind-instructions/module.d.ts.map +1 -0
- package/es/keybind-instructions/module.js +5 -0
- package/es/libro-jupyter-file-service.d.ts +106 -0
- package/es/libro-jupyter-file-service.d.ts.map +1 -0
- package/es/libro-jupyter-file-service.js +127 -0
- package/es/libro-jupyter-model.d.ts +49 -0
- package/es/libro-jupyter-model.d.ts.map +1 -0
- package/es/libro-jupyter-model.js +505 -0
- package/es/libro-jupyter-protocol.d.ts +38 -0
- package/es/libro-jupyter-protocol.d.ts.map +1 -0
- package/es/libro-jupyter-protocol.js +9 -0
- package/es/libro-jupyter-server-launch-manager.d.ts +11 -0
- package/es/libro-jupyter-server-launch-manager.d.ts.map +1 -0
- package/es/libro-jupyter-server-launch-manager.js +59 -0
- package/es/libro-jupyter-view.d.ts +10 -0
- package/es/libro-jupyter-view.d.ts.map +1 -0
- package/es/libro-jupyter-view.js +42 -0
- package/es/module.d.ts +3 -0
- package/es/module.d.ts.map +1 -0
- package/es/module.js +48 -0
- package/es/output/index.d.ts +2 -0
- package/es/output/index.d.ts.map +1 -0
- package/es/output/index.js +1 -0
- package/es/output/libro-jupyter-outputarea.d.ts +8 -0
- package/es/output/libro-jupyter-outputarea.d.ts.map +1 -0
- package/es/output/libro-jupyter-outputarea.js +77 -0
- package/es/rendermime/assets/plotly.svg +31 -0
- package/es/rendermime/index.d.ts +5 -0
- package/es/rendermime/index.d.ts.map +1 -0
- package/es/rendermime/index.js +4 -0
- package/es/rendermime/index.less +22 -0
- package/es/rendermime/module.d.ts +3 -0
- package/es/rendermime/module.d.ts.map +1 -0
- package/es/rendermime/module.js +3 -0
- package/es/rendermime/plotly-render.d.ts +7 -0
- package/es/rendermime/plotly-render.d.ts.map +1 -0
- package/es/rendermime/plotly-render.js +30 -0
- package/es/rendermime/plotly-renderers.d.ts +58 -0
- package/es/rendermime/plotly-renderers.d.ts.map +1 -0
- package/es/rendermime/plotly-renderers.js +211 -0
- package/es/rendermime/plotly-rendermime-contribution.d.ts +12 -0
- package/es/rendermime/plotly-rendermime-contribution.d.ts.map +1 -0
- package/es/rendermime/plotly-rendermime-contribution.js +22 -0
- package/es/theme/color-registry.d.ts +6 -0
- package/es/theme/color-registry.d.ts.map +1 -0
- package/es/theme/color-registry.js +393 -0
- package/es/theme/index.d.ts +2 -0
- package/es/theme/index.d.ts.map +1 -0
- package/es/theme/index.js +1 -0
- package/es/toolbar/index.d.ts +6 -0
- package/es/toolbar/index.d.ts.map +1 -0
- package/es/toolbar/index.js +5 -0
- package/es/toolbar/index.less +194 -0
- package/es/toolbar/kernel-selector-dropdown.d.ts +13 -0
- package/es/toolbar/kernel-selector-dropdown.d.ts.map +1 -0
- package/es/toolbar/kernel-selector-dropdown.js +165 -0
- package/es/toolbar/kernel-status-and-selector.d.ts +18 -0
- package/es/toolbar/kernel-status-and-selector.d.ts.map +1 -0
- package/es/toolbar/kernel-status-and-selector.js +164 -0
- package/es/toolbar/run-selector.d.ts +3 -0
- package/es/toolbar/run-selector.d.ts.map +1 -0
- package/es/toolbar/run-selector.js +98 -0
- package/es/toolbar/save-file-error-contribution.d.ts +5 -0
- package/es/toolbar/save-file-error-contribution.d.ts.map +1 -0
- package/es/toolbar/save-file-error-contribution.js +23 -0
- package/es/toolbar/save-file-error.d.ts +5 -0
- package/es/toolbar/save-file-error.d.ts.map +1 -0
- package/es/toolbar/save-file-error.js +27 -0
- package/es/toolbar/side-toolbar-run-selector.d.ts +3 -0
- package/es/toolbar/side-toolbar-run-selector.d.ts.map +1 -0
- package/es/toolbar/side-toolbar-run-selector.js +67 -0
- package/es/toolbar/toolbar-contribution.d.ts +9 -0
- package/es/toolbar/toolbar-contribution.d.ts.map +1 -0
- package/es/toolbar/toolbar-contribution.js +67 -0
- package/es/typings/index.d.ts +31 -0
- package/es/utils/index.d.ts +11 -0
- package/es/utils/index.d.ts.map +1 -0
- package/es/utils/index.js +47 -0
- package/package.json +75 -0
- package/src/add-between-cell/add-between-cell-command-contribution.ts +63 -0
- package/src/add-between-cell/add-between-cell.tsx +201 -0
- package/src/add-between-cell/index.less +103 -0
- package/src/add-between-cell/index.ts +2 -0
- package/src/add-between-cell/module.ts +13 -0
- package/src/cell/index.ts +2 -0
- package/src/cell/jupyter-code-cell-model.ts +36 -0
- package/src/cell/jupyter-code-cell-view.tsx +221 -0
- package/src/command/command-contribution.ts +163 -0
- package/src/command/index.ts +2 -0
- package/src/command/keybinding-contribution.ts +25 -0
- package/src/components/cell-execution-tip.tsx +107 -0
- package/src/components/cell-input-bottom-blank.tsx +24 -0
- package/src/components/icons.tsx +117 -0
- package/src/components/index.less +82 -0
- package/src/components/index.ts +3 -0
- package/src/config/config-contribution.ts +21 -0
- package/src/config/config.ts +14 -0
- package/src/config/index.ts +1 -0
- package/src/configuration/index.ts +2 -0
- package/src/configuration/libro-configuration-contribution.ts +11 -0
- package/src/configuration/libro-configuration.ts +14 -0
- package/src/contents/content-contribution.ts +32 -0
- package/src/contents/index.ts +1 -0
- package/src/file/file-name-alias.ts +15 -0
- package/src/file/file-protocol.ts +7 -0
- package/src/file/file-service.ts +179 -0
- package/src/file/file-tree-label-provider.ts +42 -0
- package/src/file/file-view/index.less +5 -0
- package/src/file/file-view/index.tsx +90 -0
- package/src/file/index.ts +6 -0
- package/src/file/module.ts +19 -0
- package/src/file/navigatable-view.tsx +93 -0
- package/src/file/open-handler-contribution.ts +44 -0
- package/src/index.ts +32 -0
- package/src/keybind-instructions/index.less +177 -0
- package/src/keybind-instructions/index.ts +5 -0
- package/src/keybind-instructions/keybind-instructions-contribution.ts +47 -0
- package/src/keybind-instructions/keybind-instructions-icon.tsx +28 -0
- package/src/keybind-instructions/keybind-instructions-items.tsx +597 -0
- package/src/keybind-instructions/keybind-instructions-view.tsx +239 -0
- package/src/keybind-instructions/module.ts +11 -0
- package/src/libro-jupyter-file-service.ts +158 -0
- package/src/libro-jupyter-model.ts +289 -0
- package/src/libro-jupyter-protocol.ts +59 -0
- package/src/libro-jupyter-server-launch-manager.ts +36 -0
- package/src/libro-jupyter-view.tsx +24 -0
- package/src/module.ts +105 -0
- package/src/output/index.ts +1 -0
- package/src/output/libro-jupyter-outputarea.tsx +71 -0
- package/src/rendermime/assets/plotly.svg +31 -0
- package/src/rendermime/index.less +13 -0
- package/src/rendermime/index.ts +4 -0
- package/src/rendermime/module.ts +7 -0
- package/src/rendermime/plotly-render.tsx +35 -0
- package/src/rendermime/plotly-renderers.ts +191 -0
- package/src/rendermime/plotly-rendermime-contribution.ts +15 -0
- package/src/theme/color-registry.ts +301 -0
- package/src/theme/index.ts +1 -0
- package/src/toolbar/index.less +194 -0
- package/src/toolbar/index.ts +5 -0
- package/src/toolbar/kernel-selector-dropdown.tsx +204 -0
- package/src/toolbar/kernel-status-and-selector.tsx +195 -0
- package/src/toolbar/run-selector.tsx +110 -0
- package/src/toolbar/save-file-error-contribution.ts +10 -0
- package/src/toolbar/save-file-error.tsx +35 -0
- package/src/toolbar/side-toolbar-run-selector.tsx +77 -0
- package/src/toolbar/toolbar-contribution.tsx +62 -0
- package/src/typings/index.d.ts +31 -0
- package/src/utils/index.ts +65 -0
|
@@ -0,0 +1,589 @@
|
|
|
1
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
|
+
var _dec, _class;
|
|
3
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
4
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
5
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
6
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
7
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
8
|
+
import { singleton } from '@difizen/mana-app';
|
|
9
|
+
import { l10n } from '@difizen/mana-l10n';
|
|
10
|
+
import { Tag } from 'antd';
|
|
11
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
12
|
+
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
13
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
|
+
export var LibroKeybindItems = (_dec = singleton(), _dec(_class = /*#__PURE__*/_createClass(function LibroKeybindItems() {
|
|
15
|
+
_classCallCheck(this, LibroKeybindItems);
|
|
16
|
+
this.commandModeActionColumns = [{
|
|
17
|
+
title: l10n.t('命令态操作'),
|
|
18
|
+
dataIndex: 'actionDescription',
|
|
19
|
+
width: '125px'
|
|
20
|
+
}, {
|
|
21
|
+
title: l10n.t('快捷键'),
|
|
22
|
+
// width: '100px',
|
|
23
|
+
dataIndex: 'keybind'
|
|
24
|
+
}];
|
|
25
|
+
this.editModeActionColumns = [{
|
|
26
|
+
title: l10n.t('编辑态操作'),
|
|
27
|
+
dataIndex: 'actionDescription',
|
|
28
|
+
width: '125px'
|
|
29
|
+
}, {
|
|
30
|
+
title: l10n.t('快捷键'),
|
|
31
|
+
dataIndex: 'keybind'
|
|
32
|
+
}];
|
|
33
|
+
this.editModeData = [{
|
|
34
|
+
key: '1',
|
|
35
|
+
actionDescription: l10n.t('保存文件'),
|
|
36
|
+
keybind: /*#__PURE__*/_jsxs(_Fragment, {
|
|
37
|
+
children: [/*#__PURE__*/_jsx(Tag, {
|
|
38
|
+
children: "Cmd"
|
|
39
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
|
40
|
+
children: "S"
|
|
41
|
+
})]
|
|
42
|
+
})
|
|
43
|
+
}, {
|
|
44
|
+
key: '2',
|
|
45
|
+
actionDescription: l10n.t('运行选中cell'),
|
|
46
|
+
keybind: /*#__PURE__*/_jsxs(_Fragment, {
|
|
47
|
+
children: [/*#__PURE__*/_jsx(Tag, {
|
|
48
|
+
children: "Cmd"
|
|
49
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
|
50
|
+
children: "Enter"
|
|
51
|
+
})]
|
|
52
|
+
})
|
|
53
|
+
}, {
|
|
54
|
+
key: '3',
|
|
55
|
+
actionDescription: l10n.t('运行并选择下一个cell'),
|
|
56
|
+
keybind: /*#__PURE__*/_jsxs(_Fragment, {
|
|
57
|
+
children: [/*#__PURE__*/_jsx(Tag, {
|
|
58
|
+
children: "Shift"
|
|
59
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
|
60
|
+
children: "Enter"
|
|
61
|
+
})]
|
|
62
|
+
})
|
|
63
|
+
}, {
|
|
64
|
+
key: '4',
|
|
65
|
+
actionDescription: l10n.t('运行并新增cell'),
|
|
66
|
+
keybind: /*#__PURE__*/_jsxs(_Fragment, {
|
|
67
|
+
children: [/*#__PURE__*/_jsx(Tag, {
|
|
68
|
+
children: "Alt"
|
|
69
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
|
70
|
+
children: "Enter"
|
|
71
|
+
})]
|
|
72
|
+
})
|
|
73
|
+
}, {
|
|
74
|
+
key: '5',
|
|
75
|
+
actionDescription: l10n.t('隐藏Code'),
|
|
76
|
+
keybind: /*#__PURE__*/_jsxs(_Fragment, {
|
|
77
|
+
children: [/*#__PURE__*/_jsx(Tag, {
|
|
78
|
+
children: "Cmd"
|
|
79
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
|
80
|
+
children: "'"
|
|
81
|
+
})]
|
|
82
|
+
})
|
|
83
|
+
}, {
|
|
84
|
+
key: '6',
|
|
85
|
+
actionDescription: l10n.t('隐藏Output'),
|
|
86
|
+
keybind: /*#__PURE__*/_jsxs(_Fragment, {
|
|
87
|
+
children: [/*#__PURE__*/_jsx(Tag, {
|
|
88
|
+
children: "Cmd"
|
|
89
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
|
90
|
+
children: "O"
|
|
91
|
+
})]
|
|
92
|
+
})
|
|
93
|
+
}, {
|
|
94
|
+
key: '7',
|
|
95
|
+
actionDescription: l10n.t('切分cell'),
|
|
96
|
+
keybind: /*#__PURE__*/_jsxs(_Fragment, {
|
|
97
|
+
children: [/*#__PURE__*/_jsx(Tag, {
|
|
98
|
+
children: "Cmd"
|
|
99
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
|
100
|
+
children: "Shift"
|
|
101
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
|
102
|
+
children: "-"
|
|
103
|
+
})]
|
|
104
|
+
})
|
|
105
|
+
}, {
|
|
106
|
+
key: '8',
|
|
107
|
+
actionDescription: l10n.t('选中当前所在行'),
|
|
108
|
+
keybind: /*#__PURE__*/_jsxs(_Fragment, {
|
|
109
|
+
children: [/*#__PURE__*/_jsx(Tag, {
|
|
110
|
+
children: "Command"
|
|
111
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
|
112
|
+
children: "L"
|
|
113
|
+
}), ' ']
|
|
114
|
+
})
|
|
115
|
+
}, {
|
|
116
|
+
key: '9',
|
|
117
|
+
actionDescription: l10n.t('全选'),
|
|
118
|
+
keybind: /*#__PURE__*/_jsxs(_Fragment, {
|
|
119
|
+
children: [/*#__PURE__*/_jsx(Tag, {
|
|
120
|
+
children: "Cmd"
|
|
121
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
|
122
|
+
children: "A"
|
|
123
|
+
})]
|
|
124
|
+
})
|
|
125
|
+
}, {
|
|
126
|
+
key: '10',
|
|
127
|
+
actionDescription: l10n.t('光标移至行首'),
|
|
128
|
+
keybind: /*#__PURE__*/_jsxs(_Fragment, {
|
|
129
|
+
children: [/*#__PURE__*/_jsx(Tag, {
|
|
130
|
+
children: "Cmd"
|
|
131
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
|
132
|
+
children: "Left"
|
|
133
|
+
})]
|
|
134
|
+
})
|
|
135
|
+
}, {
|
|
136
|
+
key: '11',
|
|
137
|
+
actionDescription: l10n.t('光标移至行尾'),
|
|
138
|
+
keybind: /*#__PURE__*/_jsxs(_Fragment, {
|
|
139
|
+
children: [/*#__PURE__*/_jsx(Tag, {
|
|
140
|
+
children: "Cmd"
|
|
141
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
|
142
|
+
children: "Right"
|
|
143
|
+
})]
|
|
144
|
+
})
|
|
145
|
+
}, {
|
|
146
|
+
key: '12',
|
|
147
|
+
actionDescription: l10n.t('光标移至文档首'),
|
|
148
|
+
keybind: /*#__PURE__*/_jsxs(_Fragment, {
|
|
149
|
+
children: [/*#__PURE__*/_jsx(Tag, {
|
|
150
|
+
children: "Cmd"
|
|
151
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
|
152
|
+
children: "Up"
|
|
153
|
+
})]
|
|
154
|
+
})
|
|
155
|
+
}, {
|
|
156
|
+
key: '13',
|
|
157
|
+
actionDescription: l10n.t('光标移至文档尾'),
|
|
158
|
+
keybind: /*#__PURE__*/_jsxs(_Fragment, {
|
|
159
|
+
children: [/*#__PURE__*/_jsx(Tag, {
|
|
160
|
+
children: "Cmd"
|
|
161
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
|
162
|
+
children: "Down"
|
|
163
|
+
})]
|
|
164
|
+
})
|
|
165
|
+
}, {
|
|
166
|
+
key: '14',
|
|
167
|
+
actionDescription: l10n.t('向上移动当前所在行'),
|
|
168
|
+
keybind: /*#__PURE__*/_jsxs(_Fragment, {
|
|
169
|
+
children: [/*#__PURE__*/_jsx(Tag, {
|
|
170
|
+
children: "Alt"
|
|
171
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
|
172
|
+
children: "Up"
|
|
173
|
+
})]
|
|
174
|
+
})
|
|
175
|
+
}, {
|
|
176
|
+
key: '15',
|
|
177
|
+
actionDescription: l10n.t('向下移动当前所在行'),
|
|
178
|
+
keybind: /*#__PURE__*/_jsxs(_Fragment, {
|
|
179
|
+
children: [/*#__PURE__*/_jsx(Tag, {
|
|
180
|
+
children: "Alt"
|
|
181
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
|
182
|
+
children: "Down"
|
|
183
|
+
})]
|
|
184
|
+
})
|
|
185
|
+
}, {
|
|
186
|
+
key: '16',
|
|
187
|
+
actionDescription: l10n.t('向上拷贝当前所在行'),
|
|
188
|
+
keybind: /*#__PURE__*/_jsxs(_Fragment, {
|
|
189
|
+
children: [/*#__PURE__*/_jsx(Tag, {
|
|
190
|
+
children: "Shift"
|
|
191
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
|
192
|
+
children: "Alt"
|
|
193
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
|
194
|
+
children: "Up"
|
|
195
|
+
})]
|
|
196
|
+
})
|
|
197
|
+
}, {
|
|
198
|
+
key: '17',
|
|
199
|
+
actionDescription: l10n.t('向下拷贝当前所在行'),
|
|
200
|
+
keybind: /*#__PURE__*/_jsxs(_Fragment, {
|
|
201
|
+
children: [/*#__PURE__*/_jsx(Tag, {
|
|
202
|
+
children: "Shift"
|
|
203
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
|
204
|
+
children: "Alt"
|
|
205
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
|
206
|
+
children: "Down"
|
|
207
|
+
})]
|
|
208
|
+
})
|
|
209
|
+
}, {
|
|
210
|
+
key: '18',
|
|
211
|
+
actionDescription: l10n.t('删除光标至行首内容'),
|
|
212
|
+
keybind: /*#__PURE__*/_jsxs(_Fragment, {
|
|
213
|
+
children: [/*#__PURE__*/_jsx(Tag, {
|
|
214
|
+
children: "Cmd"
|
|
215
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
|
216
|
+
children: "Backspace"
|
|
217
|
+
})]
|
|
218
|
+
})
|
|
219
|
+
}, {
|
|
220
|
+
key: '19',
|
|
221
|
+
actionDescription: l10n.t('删除光标至行尾内容'),
|
|
222
|
+
keybind: /*#__PURE__*/_jsxs(_Fragment, {
|
|
223
|
+
children: [/*#__PURE__*/_jsx(Tag, {
|
|
224
|
+
children: "Cmd"
|
|
225
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
|
226
|
+
children: "Delete"
|
|
227
|
+
})]
|
|
228
|
+
})
|
|
229
|
+
}, {
|
|
230
|
+
key: '20',
|
|
231
|
+
actionDescription: l10n.t('撤销'),
|
|
232
|
+
keybind: /*#__PURE__*/_jsxs(_Fragment, {
|
|
233
|
+
children: [/*#__PURE__*/_jsx(Tag, {
|
|
234
|
+
children: "Cmd"
|
|
235
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
|
236
|
+
children: "Z"
|
|
237
|
+
})]
|
|
238
|
+
})
|
|
239
|
+
}, {
|
|
240
|
+
key: '21',
|
|
241
|
+
actionDescription: l10n.t('恢复'),
|
|
242
|
+
keybind: /*#__PURE__*/_jsxs(_Fragment, {
|
|
243
|
+
children: [/*#__PURE__*/_jsx(Tag, {
|
|
244
|
+
children: "Cmd"
|
|
245
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
|
246
|
+
children: "Shift"
|
|
247
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
|
248
|
+
children: "Z"
|
|
249
|
+
})]
|
|
250
|
+
})
|
|
251
|
+
}, {
|
|
252
|
+
key: '22',
|
|
253
|
+
actionDescription: l10n.t('撤销选中'),
|
|
254
|
+
keybind: /*#__PURE__*/_jsxs(_Fragment, {
|
|
255
|
+
children: [/*#__PURE__*/_jsx(Tag, {
|
|
256
|
+
children: "Cmd"
|
|
257
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
|
258
|
+
children: "U"
|
|
259
|
+
}), ' ']
|
|
260
|
+
})
|
|
261
|
+
}, {
|
|
262
|
+
key: '23',
|
|
263
|
+
actionDescription: l10n.t('恢复选中'),
|
|
264
|
+
keybind: /*#__PURE__*/_jsxs(_Fragment, {
|
|
265
|
+
children: [/*#__PURE__*/_jsx(Tag, {
|
|
266
|
+
children: "Cmd"
|
|
267
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
|
268
|
+
children: "Shift"
|
|
269
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
|
270
|
+
children: "U"
|
|
271
|
+
})]
|
|
272
|
+
})
|
|
273
|
+
}];
|
|
274
|
+
this.commandModeData = [{
|
|
275
|
+
key: '1',
|
|
276
|
+
actionDescription: l10n.t('保存文件'),
|
|
277
|
+
keybind: /*#__PURE__*/_jsxs(_Fragment, {
|
|
278
|
+
children: [/*#__PURE__*/_jsx(Tag, {
|
|
279
|
+
children: "Cmd"
|
|
280
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
|
281
|
+
children: "S"
|
|
282
|
+
})]
|
|
283
|
+
})
|
|
284
|
+
}, {
|
|
285
|
+
key: '2',
|
|
286
|
+
actionDescription: l10n.t('运行选中cell'),
|
|
287
|
+
keybind: /*#__PURE__*/_jsxs(_Fragment, {
|
|
288
|
+
children: [/*#__PURE__*/_jsx(Tag, {
|
|
289
|
+
children: "Cmd"
|
|
290
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
|
291
|
+
children: "Enter"
|
|
292
|
+
})]
|
|
293
|
+
})
|
|
294
|
+
}, {
|
|
295
|
+
key: '3',
|
|
296
|
+
actionDescription: l10n.t('运行并选择下一个cell'),
|
|
297
|
+
keybind: /*#__PURE__*/_jsxs(_Fragment, {
|
|
298
|
+
children: [/*#__PURE__*/_jsx(Tag, {
|
|
299
|
+
children: "Shift"
|
|
300
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
|
301
|
+
children: "Enter"
|
|
302
|
+
})]
|
|
303
|
+
})
|
|
304
|
+
}, {
|
|
305
|
+
key: '4',
|
|
306
|
+
actionDescription: l10n.t('运行并新增cell'),
|
|
307
|
+
keybind: /*#__PURE__*/_jsxs(_Fragment, {
|
|
308
|
+
children: [/*#__PURE__*/_jsx(Tag, {
|
|
309
|
+
children: "Alt"
|
|
310
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
|
311
|
+
children: "Enter"
|
|
312
|
+
})]
|
|
313
|
+
})
|
|
314
|
+
}, {
|
|
315
|
+
key: '5',
|
|
316
|
+
actionDescription: l10n.t('选中上个cell'),
|
|
317
|
+
keybind: /*#__PURE__*/_jsxs(_Fragment, {
|
|
318
|
+
children: [/*#__PURE__*/_jsx(Tag, {
|
|
319
|
+
children: "Up"
|
|
320
|
+
}), "/", /*#__PURE__*/_jsx(Tag, {
|
|
321
|
+
children: "K"
|
|
322
|
+
})]
|
|
323
|
+
})
|
|
324
|
+
}, {
|
|
325
|
+
key: '6',
|
|
326
|
+
actionDescription: l10n.t('隐藏Code'),
|
|
327
|
+
keybind: /*#__PURE__*/_jsxs(_Fragment, {
|
|
328
|
+
children: [/*#__PURE__*/_jsx(Tag, {
|
|
329
|
+
children: "Cmd"
|
|
330
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
|
331
|
+
children: "'"
|
|
332
|
+
})]
|
|
333
|
+
})
|
|
334
|
+
}, {
|
|
335
|
+
key: '7',
|
|
336
|
+
actionDescription: l10n.t('隐藏Output'),
|
|
337
|
+
keybind: /*#__PURE__*/_jsxs(_Fragment, {
|
|
338
|
+
children: [/*#__PURE__*/_jsx(Tag, {
|
|
339
|
+
children: "Cmd"
|
|
340
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
|
341
|
+
children: "O"
|
|
342
|
+
})]
|
|
343
|
+
})
|
|
344
|
+
}, {
|
|
345
|
+
key: '8',
|
|
346
|
+
actionDescription: l10n.t('选中下个cell'),
|
|
347
|
+
keybind: /*#__PURE__*/_jsxs(_Fragment, {
|
|
348
|
+
children: [/*#__PURE__*/_jsx(Tag, {
|
|
349
|
+
children: "Down"
|
|
350
|
+
}), "/", /*#__PURE__*/_jsx(Tag, {
|
|
351
|
+
children: "J"
|
|
352
|
+
})]
|
|
353
|
+
})
|
|
354
|
+
}, {
|
|
355
|
+
key: '9',
|
|
356
|
+
actionDescription: l10n.t('向上新增cell'),
|
|
357
|
+
keybind: /*#__PURE__*/_jsx(_Fragment, {
|
|
358
|
+
children: /*#__PURE__*/_jsx(Tag, {
|
|
359
|
+
children: "A"
|
|
360
|
+
})
|
|
361
|
+
})
|
|
362
|
+
}, {
|
|
363
|
+
key: '10',
|
|
364
|
+
actionDescription: l10n.t('向下新增cell'),
|
|
365
|
+
keybind: /*#__PURE__*/_jsx(_Fragment, {
|
|
366
|
+
children: /*#__PURE__*/_jsx(Tag, {
|
|
367
|
+
children: "B"
|
|
368
|
+
})
|
|
369
|
+
})
|
|
370
|
+
}, {
|
|
371
|
+
key: '11',
|
|
372
|
+
actionDescription: l10n.t('删除选中cell'),
|
|
373
|
+
keybind: /*#__PURE__*/_jsx(_Fragment, {
|
|
374
|
+
children: /*#__PURE__*/_jsx(Tag, {
|
|
375
|
+
children: "D D"
|
|
376
|
+
})
|
|
377
|
+
})
|
|
378
|
+
}, {
|
|
379
|
+
key: '12',
|
|
380
|
+
actionDescription: l10n.t('复制cell'),
|
|
381
|
+
keybind: /*#__PURE__*/_jsx(_Fragment, {
|
|
382
|
+
children: /*#__PURE__*/_jsx(Tag, {
|
|
383
|
+
children: "C"
|
|
384
|
+
})
|
|
385
|
+
})
|
|
386
|
+
}, {
|
|
387
|
+
key: '13',
|
|
388
|
+
actionDescription: l10n.t('剪切cell'),
|
|
389
|
+
keybind: /*#__PURE__*/_jsx(_Fragment, {
|
|
390
|
+
children: /*#__PURE__*/_jsx(Tag, {
|
|
391
|
+
children: "X"
|
|
392
|
+
})
|
|
393
|
+
})
|
|
394
|
+
}, {
|
|
395
|
+
key: '14',
|
|
396
|
+
actionDescription: l10n.t('粘贴cell'),
|
|
397
|
+
keybind: /*#__PURE__*/_jsx(_Fragment, {
|
|
398
|
+
children: /*#__PURE__*/_jsx(Tag, {
|
|
399
|
+
children: "V"
|
|
400
|
+
})
|
|
401
|
+
})
|
|
402
|
+
}, {
|
|
403
|
+
key: '15',
|
|
404
|
+
actionDescription: l10n.t('上移cell'),
|
|
405
|
+
keybind: /*#__PURE__*/_jsxs(_Fragment, {
|
|
406
|
+
children: [/*#__PURE__*/_jsx(Tag, {
|
|
407
|
+
children: "Cmd"
|
|
408
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
|
409
|
+
children: "Shift"
|
|
410
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
|
411
|
+
children: "Up"
|
|
412
|
+
})]
|
|
413
|
+
})
|
|
414
|
+
}, {
|
|
415
|
+
key: '16',
|
|
416
|
+
actionDescription: l10n.t('下移cell'),
|
|
417
|
+
keybind: /*#__PURE__*/_jsxs(_Fragment, {
|
|
418
|
+
children: [/*#__PURE__*/_jsx(Tag, {
|
|
419
|
+
children: "Cmd"
|
|
420
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
|
421
|
+
children: "Shift"
|
|
422
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
|
423
|
+
children: "Down"
|
|
424
|
+
})]
|
|
425
|
+
})
|
|
426
|
+
}, {
|
|
427
|
+
key: '17',
|
|
428
|
+
actionDescription: l10n.t('合并选中cell'),
|
|
429
|
+
keybind: /*#__PURE__*/_jsxs(_Fragment, {
|
|
430
|
+
children: [/*#__PURE__*/_jsx(Tag, {
|
|
431
|
+
children: "Shift"
|
|
432
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
|
433
|
+
children: "M"
|
|
434
|
+
})]
|
|
435
|
+
})
|
|
436
|
+
}, {
|
|
437
|
+
key: '18',
|
|
438
|
+
actionDescription: l10n.t('向下合并cell'),
|
|
439
|
+
keybind: /*#__PURE__*/_jsxs(_Fragment, {
|
|
440
|
+
children: [/*#__PURE__*/_jsx(Tag, {
|
|
441
|
+
children: "Cmd"
|
|
442
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
|
443
|
+
children: "Shift"
|
|
444
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
|
445
|
+
children: "M"
|
|
446
|
+
})]
|
|
447
|
+
})
|
|
448
|
+
}, {
|
|
449
|
+
key: '19',
|
|
450
|
+
actionDescription: l10n.t('向上合并cell'),
|
|
451
|
+
keybind: /*#__PURE__*/_jsxs(_Fragment, {
|
|
452
|
+
children: [/*#__PURE__*/_jsx(Tag, {
|
|
453
|
+
children: "Cmd"
|
|
454
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
|
455
|
+
children: "Backspace"
|
|
456
|
+
})]
|
|
457
|
+
})
|
|
458
|
+
}, {
|
|
459
|
+
key: '20',
|
|
460
|
+
actionDescription: l10n.t('撤销'),
|
|
461
|
+
keybind: /*#__PURE__*/_jsx(_Fragment, {
|
|
462
|
+
children: /*#__PURE__*/_jsx(Tag, {
|
|
463
|
+
children: "Z"
|
|
464
|
+
})
|
|
465
|
+
})
|
|
466
|
+
}, {
|
|
467
|
+
key: '21',
|
|
468
|
+
actionDescription: l10n.t('恢复'),
|
|
469
|
+
keybind: /*#__PURE__*/_jsxs(_Fragment, {
|
|
470
|
+
children: [/*#__PURE__*/_jsx(Tag, {
|
|
471
|
+
children: "Shift"
|
|
472
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
|
473
|
+
children: "Z"
|
|
474
|
+
})]
|
|
475
|
+
})
|
|
476
|
+
}, {
|
|
477
|
+
key: '22',
|
|
478
|
+
actionDescription: l10n.t('转为Code Cell'),
|
|
479
|
+
keybind: /*#__PURE__*/_jsx(_Fragment, {
|
|
480
|
+
children: /*#__PURE__*/_jsx(Tag, {
|
|
481
|
+
children: "Y"
|
|
482
|
+
})
|
|
483
|
+
})
|
|
484
|
+
}, {
|
|
485
|
+
key: '23',
|
|
486
|
+
actionDescription: l10n.t('转为Markdown Cell'),
|
|
487
|
+
keybind: /*#__PURE__*/_jsx(_Fragment, {
|
|
488
|
+
children: /*#__PURE__*/_jsx(Tag, {
|
|
489
|
+
children: "M"
|
|
490
|
+
})
|
|
491
|
+
})
|
|
492
|
+
}, {
|
|
493
|
+
key: '24',
|
|
494
|
+
actionDescription: l10n.t('转为一级标题'),
|
|
495
|
+
keybind: /*#__PURE__*/_jsx(_Fragment, {
|
|
496
|
+
children: /*#__PURE__*/_jsx(Tag, {
|
|
497
|
+
children: "1"
|
|
498
|
+
})
|
|
499
|
+
})
|
|
500
|
+
}, {
|
|
501
|
+
key: '25',
|
|
502
|
+
actionDescription: l10n.t('转为二级标题'),
|
|
503
|
+
keybind: /*#__PURE__*/_jsx(_Fragment, {
|
|
504
|
+
children: /*#__PURE__*/_jsx(Tag, {
|
|
505
|
+
children: "2"
|
|
506
|
+
})
|
|
507
|
+
})
|
|
508
|
+
}, {
|
|
509
|
+
key: '26',
|
|
510
|
+
actionDescription: l10n.t('转为三级标题'),
|
|
511
|
+
keybind: /*#__PURE__*/_jsx(_Fragment, {
|
|
512
|
+
children: /*#__PURE__*/_jsx(Tag, {
|
|
513
|
+
children: "3"
|
|
514
|
+
})
|
|
515
|
+
})
|
|
516
|
+
}, {
|
|
517
|
+
key: '27',
|
|
518
|
+
actionDescription: l10n.t('转为四级标题'),
|
|
519
|
+
keybind: /*#__PURE__*/_jsx(_Fragment, {
|
|
520
|
+
children: /*#__PURE__*/_jsx(Tag, {
|
|
521
|
+
children: "4"
|
|
522
|
+
})
|
|
523
|
+
})
|
|
524
|
+
}, {
|
|
525
|
+
key: '28',
|
|
526
|
+
actionDescription: l10n.t('转为五级标题'),
|
|
527
|
+
keybind: /*#__PURE__*/_jsx(_Fragment, {
|
|
528
|
+
children: /*#__PURE__*/_jsx(Tag, {
|
|
529
|
+
children: "5"
|
|
530
|
+
})
|
|
531
|
+
})
|
|
532
|
+
}, {
|
|
533
|
+
key: '29',
|
|
534
|
+
actionDescription: l10n.t('转为六级标题'),
|
|
535
|
+
keybind: /*#__PURE__*/_jsx(_Fragment, {
|
|
536
|
+
children: /*#__PURE__*/_jsx(Tag, {
|
|
537
|
+
children: "6"
|
|
538
|
+
})
|
|
539
|
+
})
|
|
540
|
+
}, {
|
|
541
|
+
key: '30',
|
|
542
|
+
actionDescription: l10n.t('向上多选Cell'),
|
|
543
|
+
keybind: /*#__PURE__*/_jsxs(_Fragment, {
|
|
544
|
+
children: [/*#__PURE__*/_jsx(Tag, {
|
|
545
|
+
children: "Shift"
|
|
546
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
|
547
|
+
children: "Up"
|
|
548
|
+
}), "/", /*#__PURE__*/_jsx(Tag, {
|
|
549
|
+
children: "Shift"
|
|
550
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
|
551
|
+
children: "K"
|
|
552
|
+
})]
|
|
553
|
+
})
|
|
554
|
+
}, {
|
|
555
|
+
key: '31',
|
|
556
|
+
actionDescription: l10n.t('向下多选Cell'),
|
|
557
|
+
keybind: /*#__PURE__*/_jsxs(_Fragment, {
|
|
558
|
+
children: [/*#__PURE__*/_jsx(Tag, {
|
|
559
|
+
children: "Shift"
|
|
560
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
|
561
|
+
children: "Down"
|
|
562
|
+
}), "/", /*#__PURE__*/_jsx(Tag, {
|
|
563
|
+
children: "Shift"
|
|
564
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
|
565
|
+
children: "J"
|
|
566
|
+
})]
|
|
567
|
+
})
|
|
568
|
+
}, {
|
|
569
|
+
key: '32',
|
|
570
|
+
actionDescription: l10n.t('选中当前及之前cell'),
|
|
571
|
+
keybind: /*#__PURE__*/_jsxs(_Fragment, {
|
|
572
|
+
children: [/*#__PURE__*/_jsx(Tag, {
|
|
573
|
+
children: "Shift"
|
|
574
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
|
575
|
+
children: "Home"
|
|
576
|
+
})]
|
|
577
|
+
})
|
|
578
|
+
}, {
|
|
579
|
+
key: '33',
|
|
580
|
+
actionDescription: l10n.t('选中当前及之后cell'),
|
|
581
|
+
keybind: /*#__PURE__*/_jsxs(_Fragment, {
|
|
582
|
+
children: [/*#__PURE__*/_jsx(Tag, {
|
|
583
|
+
children: "Shift"
|
|
584
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
|
585
|
+
children: "End"
|
|
586
|
+
})]
|
|
587
|
+
})
|
|
588
|
+
}];
|
|
589
|
+
})) || _class);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/// <reference types="react" resolution-mode="require"/>
|
|
2
|
+
import { LirboContextKey } from '@difizen/libro-core';
|
|
3
|
+
import type { ModalItem, ModalItemProps } from '@difizen/mana-app';
|
|
4
|
+
import type { Disposable } from '@difizen/mana-app';
|
|
5
|
+
import type { DataType } from './keybind-instructions-items.js';
|
|
6
|
+
import './index.less';
|
|
7
|
+
export declare class KeybindInstrutionsService implements Disposable {
|
|
8
|
+
contextKey: LirboContextKey;
|
|
9
|
+
isKeybindInstructionsMask: boolean;
|
|
10
|
+
searchCommandModeData: DataType[];
|
|
11
|
+
searchEditModeData: DataType[];
|
|
12
|
+
dispose(): void;
|
|
13
|
+
}
|
|
14
|
+
export declare const KeybindInstrutionsComponent: import("react").ForwardRefExoticComponent<ModalItemProps<void> & import("react").RefAttributes<HTMLDivElement>>;
|
|
15
|
+
export declare const KeybindInstrutionModal: ModalItem;
|
|
16
|
+
//# sourceMappingURL=keybind-instructions-view.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"keybind-instructions-view.d.ts","sourceRoot":"","sources":["../../src/keybind-instructions/keybind-instructions-view.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAGtD,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAKpD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAEhE,OAAO,cAAc,CAAC;AAsCtB,qBACa,yBAA0B,YAAW,UAAU;IACjC,UAAU,EAAE,eAAe,CAAC;IACrD,yBAAyB,UAAS;IAC1B,qBAAqB,EAAE,QAAQ,EAAE,CAAM;IACvC,kBAAkB,EAAE,QAAQ,EAAE,CAAM;IAE5C,OAAO;CAIR;AAiED,eAAO,MAAM,2BAA2B,iHA4GtC,CAAC;AAEH,eAAO,MAAM,sBAAsB,EAAE,SAGpC,CAAC"}
|