@rinova/playground 0.1.0 → 0.1.3
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/README.md +174 -0
- package/dist/{App-CFmSt4WP.js → App-CK1Q_fap.js} +4 -4
- package/dist/{dist-mV5k43A9.js → dist-g9u4q-9e.js} +1 -1
- package/dist/{editor.api-oO_3X9N5.js → editor.api-BtqJ5Bxw.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/{monaco.contribution-HbKWJEpF.js → monaco.contribution-GLS4-bVF.js} +3 -3
- package/dist/style.css +15 -13
- package/dist/{tsMode-GTz-HPrN.js → tsMode-ezle9bSI.js} +2 -2
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
# @rinova/playground
|
|
2
|
+
|
|
3
|
+
Vue3 的「文件即场景」组件演示框架。往 `src/scenes/` 里放 `.vue` 文件,侧栏、预览、源码面板、入参/出参面板自己就长出来了 —— 没有注册 API,没有配置要改。
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
pnpm add @rinova/playground
|
|
7
|
+
pnpm add -D @rinova/playground-vite
|
|
8
|
+
```
|
|
9
|
+
|
|
10
|
+
需要 Vue `^3.5`(peer)。场景扫描由 `@rinova/playground-vite` 完成,Vite 项目请一起装。
|
|
11
|
+
|
|
12
|
+
## 30 秒接入
|
|
13
|
+
|
|
14
|
+
`index.html`
|
|
15
|
+
|
|
16
|
+
```html
|
|
17
|
+
<div id="app"></div>
|
|
18
|
+
<script type="module" src="/src/main.ts"></script>
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
`src/main.ts`
|
|
22
|
+
|
|
23
|
+
```ts
|
|
24
|
+
import '@rinova/playground/style.css'
|
|
25
|
+
import { createPlayground } from '@rinova/playground'
|
|
26
|
+
|
|
27
|
+
createPlayground()
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
`vite.config.ts`
|
|
31
|
+
|
|
32
|
+
```ts
|
|
33
|
+
import vue from '@vitejs/plugin-vue'
|
|
34
|
+
import { defineConfig } from 'vite'
|
|
35
|
+
import { playground } from '@rinova/playground-vite'
|
|
36
|
+
|
|
37
|
+
export default defineConfig({
|
|
38
|
+
plugins: [vue(), playground()],
|
|
39
|
+
})
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
`playground.config.ts`(可选,不写也能跑)
|
|
43
|
+
|
|
44
|
+
```ts
|
|
45
|
+
import { defineConfig } from '@rinova/playground'
|
|
46
|
+
|
|
47
|
+
export default defineConfig({
|
|
48
|
+
title: 'My Lib',
|
|
49
|
+
scenes: 'src/scenes',
|
|
50
|
+
components: ['src/components/**/*.vue'], // 配了才产出契约清单
|
|
51
|
+
})
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
`src/scenes/button/size.vue` —— 存盘,侧栏立刻出现「Button / Size」:
|
|
55
|
+
|
|
56
|
+
```vue
|
|
57
|
+
<script lang="ts">
|
|
58
|
+
import { defineSceneMeta } from '@rinova/playground'
|
|
59
|
+
|
|
60
|
+
export const sceneMeta = defineSceneMeta({ title: '尺寸', order: 1 })
|
|
61
|
+
</script>
|
|
62
|
+
|
|
63
|
+
<script setup lang="ts">
|
|
64
|
+
import { ref } from 'vue'
|
|
65
|
+
import { MyButton } from '../../components'
|
|
66
|
+
|
|
67
|
+
const size = ref<'sm' | 'md' | 'lg'>('lg')
|
|
68
|
+
</script>
|
|
69
|
+
|
|
70
|
+
<template>
|
|
71
|
+
<MyButton :size="size">Button</MyButton>
|
|
72
|
+
</template>
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
`sceneMeta` 必须写在**普通 `<script>`** 里并以 `export const sceneMeta` 导出(构建期由 Vite 插件执行,拿不到组件状态)。不写 meta 时标题由文件名推导:`size.vue` → `Size`。
|
|
76
|
+
|
|
77
|
+
## 配置项
|
|
78
|
+
|
|
79
|
+
| 字段 | 默认 | 说明 |
|
|
80
|
+
|---|---|---|
|
|
81
|
+
| `title` | `'Playground'` | 侧栏品牌标题,同时写进 `document.title` |
|
|
82
|
+
| `scenes` | `'src/scenes'` | 场景扫描根目录(相对项目根) |
|
|
83
|
+
| `sources` | `true` | 是否显示源码面板 |
|
|
84
|
+
| `codeViewer` | `'monaco'` | `'monaco'` 只读编辑器 / `'shiki'` 静态高亮块(更轻,不加载编辑器 worker) |
|
|
85
|
+
| `theme.ui` | `'auto'` | `'light' \| 'dark' \| 'auto'` |
|
|
86
|
+
| `theme.code` | 随明暗用 `vitesse-light` / `vitesse-dark` | **v0.1 尚未接线,改这个值暂时无效** |
|
|
87
|
+
| `exclude` | — | 排除的 glob(相对 `scenes` 根) |
|
|
88
|
+
| `base` | Vite 默认 | 部署子路径 |
|
|
89
|
+
| `port` | Vite 默认(5173) | dev server 端口 |
|
|
90
|
+
| `components` | — | 契约清单要扫的组件 glob;不配则不生成 `.playground/manifest.json` |
|
|
91
|
+
| `tsconfig` | 项目根 `tsconfig.json` | 组件契约提取用的 tsconfig |
|
|
92
|
+
|
|
93
|
+
## 场景内 API
|
|
94
|
+
|
|
95
|
+
### defineSceneMeta
|
|
96
|
+
|
|
97
|
+
| 字段 | 说明 |
|
|
98
|
+
|---|---|
|
|
99
|
+
| `title` | 覆盖由文件名推导的标题 |
|
|
100
|
+
| `order` | 同层排序,数值小的在前 |
|
|
101
|
+
| `tags` | 搜索/筛选标签 |
|
|
102
|
+
| `description` | 说明文字,显示在预览区上方 |
|
|
103
|
+
| `files` | 额外展示的源码文件(相对项目根) |
|
|
104
|
+
| `hideInNav` | 不在侧栏出现,但可通过链接直达 |
|
|
105
|
+
|
|
106
|
+
`SceneMeta` 类型里还有 `payload` 字段,但构建期拿不到组件状态,**请改用下面的 `useSceneArgs` / `useSceneOutput`**。
|
|
107
|
+
|
|
108
|
+
### useSceneArgs —— 入参面板
|
|
109
|
+
|
|
110
|
+
```ts
|
|
111
|
+
const args = useSceneArgs(
|
|
112
|
+
{ size: 'md' as 'sm' | 'md' | 'lg', disabled: false },
|
|
113
|
+
{
|
|
114
|
+
labels: { size: '尺寸', disabled: '禁用' },
|
|
115
|
+
options: { size: ['sm', 'md', 'lg'] },
|
|
116
|
+
}
|
|
117
|
+
)
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
返回响应式对象:面板改表单 → 这里同步变 → 组件重渲染。按值类型自动选控件(`boolean` → 开关,`number` → 数字框,`string` → 输入框,带 `options` → 下拉)。
|
|
121
|
+
|
|
122
|
+
纯前端响应式,**生产静态站同样可用**,不依赖 dev server。
|
|
123
|
+
|
|
124
|
+
> 字面量会被拓宽成 `string`,直接传给只接受联合类型的 prop 会报 TS2322,所以写 `'md' as 'sm' | 'md' | 'lg'`。
|
|
125
|
+
|
|
126
|
+
### useSceneOutput —— 出参快照
|
|
127
|
+
|
|
128
|
+
```ts
|
|
129
|
+
useSceneOutput(() => ({ size: args.size, clicked: count.value }))
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
面板以 400ms 轮询这个 getter,把返回值显示在出参区。
|
|
133
|
+
|
|
134
|
+
### toast
|
|
135
|
+
|
|
136
|
+
```ts
|
|
137
|
+
import { toast } from '@rinova/playground'
|
|
138
|
+
|
|
139
|
+
toast('已复制')
|
|
140
|
+
toast('保存失败', 'error') // 'info' | 'success' | 'warning' | 'error'
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
## 样式约定
|
|
144
|
+
|
|
145
|
+
- 场景写 `<style scoped lang="less">`(使用方需要装 `less`)。**v0.1 没有 DOM 隔离**,非 scoped 样式会污染外壳。
|
|
146
|
+
- 不要硬编码颜色,用外壳暴露的 12 个变量,明暗主题自动切换:
|
|
147
|
+
|
|
148
|
+
```
|
|
149
|
+
--rp-color-bg --rp-color-surface --rp-color-border --rp-color-text
|
|
150
|
+
--rp-color-text-muted --rp-color-primary --rp-color-primary-contrast
|
|
151
|
+
--rp-color-success --rp-color-warning --rp-color-danger
|
|
152
|
+
--rp-radius --rp-font-mono
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
## 已知限制(v0.1)
|
|
156
|
+
|
|
157
|
+
- 场景与外壳无 DOM 隔离,必须写 scoped
|
|
158
|
+
- 源码面板只读,不支持编辑(实时预览也已明确不做:只在 dev 可用,价值不足)
|
|
159
|
+
- `theme.code` 未接线
|
|
160
|
+
- 只支持 Vue3,不支持 React / Svelte
|
|
161
|
+
|
|
162
|
+
## 相关包
|
|
163
|
+
|
|
164
|
+
| 包 | 作用 |
|
|
165
|
+
|---|---|
|
|
166
|
+
| `@rinova/playground-vite` | 场景扫描 + 契约清单,Vite 项目必需 |
|
|
167
|
+
| `@rinova/playground-mcp` | 把契约清单挂给 Claude Code / Cursor 等 AI 工具(可选) |
|
|
168
|
+
| `create-rinova-playground` | `pnpm create rinova-playground my-lib` 开新项目 |
|
|
169
|
+
|
|
170
|
+
仓库与文档:<https://github.com/jove-rina/rinova-playground>
|
|
171
|
+
|
|
172
|
+
## License
|
|
173
|
+
|
|
174
|
+
MIT
|
|
@@ -11410,9 +11410,9 @@ var loadMonaco = () => {
|
|
|
11410
11410
|
const [editorWorker, tsWorker, monaco, _contribution, shikiModule] = await Promise.all([
|
|
11411
11411
|
import("./editor.worker-VDFPHiZj.js"),
|
|
11412
11412
|
import("./ts.worker-CpQm_d0w.js"),
|
|
11413
|
-
import("./editor.api-
|
|
11414
|
-
import("./monaco.contribution-
|
|
11415
|
-
import("./dist-
|
|
11413
|
+
import("./editor.api-BtqJ5Bxw.js").then((n) => n.s),
|
|
11414
|
+
import("./monaco.contribution-GLS4-bVF.js").then((n) => n.t),
|
|
11415
|
+
import("./dist-g9u4q-9e.js")
|
|
11416
11416
|
]);
|
|
11417
11417
|
const EditorWorker = editorWorker.default;
|
|
11418
11418
|
const TsWorker = tsWorker.default;
|
|
@@ -11706,7 +11706,7 @@ var PlaygroundStage_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/*
|
|
|
11706
11706
|
])) : comp.value ? (openBlock(), createBlock(resolveDynamicComponent(comp.value), { key: __props.scene.id })) : (openBlock(), createElementBlock("span", _hoisted_5$2, "加载中…"))])])], 2);
|
|
11707
11707
|
};
|
|
11708
11708
|
}
|
|
11709
|
-
}), [["__scopeId", "data-v-
|
|
11709
|
+
}), [["__scopeId", "data-v-2c6f2a44"]]);
|
|
11710
11710
|
// src/app/PlaygroundToolbar.vue?vue&type=script&setup=true&lang.ts
|
|
11711
11711
|
var _hoisted_1$1 = { class: "pw-toolbar" };
|
|
11712
11712
|
var _hoisted_2$1 = { class: "pw-toolbar__crumb" };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as FontStyle, r as INITIAL, t as EncodedTokenMetadata } from "./App-
|
|
1
|
+
import { n as FontStyle, r as INITIAL, t as EncodedTokenMetadata } from "./App-CK1Q_fap.js";
|
|
2
2
|
// ../../node_modules/.pnpm/@shikijs+monaco@4.6.0/node_modules/@shikijs/monaco/dist/index.mjs
|
|
3
3
|
var TokenizerState = class TokenizerState {
|
|
4
4
|
_ruleStack;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as __exportAll } from "./App-
|
|
1
|
+
import { i as __exportAll } from "./App-CK1Q_fap.js";
|
|
2
2
|
// ../../node_modules/.pnpm/monaco-editor@0.57.0/node_modules/monaco-editor/esm/vs/base/common/arrays.js
|
|
3
3
|
/**
|
|
4
4
|
* Returns the last entry and the initial N-1 entries of the array, as a tuple of [rest, last].
|
package/dist/index.js
CHANGED
|
@@ -16,7 +16,7 @@ var defineSceneMeta = (meta) => meta;
|
|
|
16
16
|
var createPlayground = async (options = {}) => {
|
|
17
17
|
const target = typeof options.el === "string" ? document.querySelector(options.el) : options.el ?? document.querySelector("#app");
|
|
18
18
|
if (!target) throw new Error("[rinova-playground] 未找到挂载容器。请在 index.html 中提供 <div id=\"app\"></div>,或调用 createPlayground({ el })");
|
|
19
|
-
const { default: App } = await import("./App-
|
|
19
|
+
const { default: App } = await import("./App-CK1Q_fap.js");
|
|
20
20
|
createApp(App).mount(target);
|
|
21
21
|
};
|
|
22
22
|
export { createPlayground, currentArgs, currentOutput, defineConfig, defineSceneMeta, toast, useSceneArgs, useSceneOutput };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as languages, t as Emitter } from "./editor.api-
|
|
2
|
-
import { i as __exportAll } from "./App-
|
|
1
|
+
import { c as languages, t as Emitter } from "./editor.api-BtqJ5Bxw.js";
|
|
2
|
+
import { i as __exportAll } from "./App-CK1Q_fap.js";
|
|
3
3
|
// ../../node_modules/.pnpm/monaco-editor@0.57.0/node_modules/monaco-editor/esm/vs/languages/features/typescript/lib/typescriptServicesMetadata.js
|
|
4
4
|
var typescriptVersion$1 = "5.9.3";
|
|
5
5
|
// ../../node_modules/.pnpm/monaco-editor@0.57.0/node_modules/monaco-editor/esm/vs/languages/features/typescript/register.js
|
|
@@ -196,7 +196,7 @@ var getJavaScriptWorker = () => {
|
|
|
196
196
|
return getMode().then((mode) => mode.getJavaScriptWorker());
|
|
197
197
|
};
|
|
198
198
|
function getMode() {
|
|
199
|
-
return import("./tsMode-
|
|
199
|
+
return import("./tsMode-ezle9bSI.js");
|
|
200
200
|
}
|
|
201
201
|
languages.onLanguage("typescript", () => {
|
|
202
202
|
return getMode().then((mode) => mode.setupTypeScript(typescriptDefaults));
|
package/dist/style.css
CHANGED
|
@@ -547,50 +547,52 @@ to {
|
|
|
547
547
|
color: var(--rp-color-text-muted);
|
|
548
548
|
font-size: 12px;
|
|
549
549
|
}
|
|
550
|
-
.pw-stage[data-v-
|
|
550
|
+
.pw-stage[data-v-2c6f2a44] {
|
|
551
551
|
flex: 1;
|
|
552
552
|
min-height: 0;
|
|
553
553
|
overflow: auto;
|
|
554
554
|
background: var(--rp-color-surface);
|
|
555
555
|
padding: 24px;
|
|
556
556
|
}
|
|
557
|
-
.pw-stage__frame[data-v-
|
|
557
|
+
.pw-stage__frame[data-v-2c6f2a44] {
|
|
558
558
|
display: flex;
|
|
559
559
|
flex-direction: column;
|
|
560
560
|
gap: 12px;
|
|
561
561
|
min-height: 100%;
|
|
562
562
|
}
|
|
563
|
-
.pw-stage__inner[data-v-
|
|
563
|
+
.pw-stage__inner[data-v-2c6f2a44] {
|
|
564
564
|
display: flex;
|
|
565
565
|
align-items: flex-start;
|
|
566
566
|
justify-content: center;
|
|
567
567
|
flex: 1;
|
|
568
568
|
min-width: 0;
|
|
569
569
|
overflow-x: auto;
|
|
570
|
-
/*
|
|
570
|
+
/* 场景内容不要被压缩:窄容器时横向滚动,而不是把按钮挤成几行。
|
|
571
|
+
max-width 封顶在容器宽度内,宽内容才会真正换行(否则按 max-content 排版,flex-wrap 永远不生效)。 */
|
|
571
572
|
}
|
|
572
|
-
.pw-stage__inner[data-v-
|
|
573
|
+
.pw-stage__inner[data-v-2c6f2a44] > * {
|
|
573
574
|
flex: 0 0 auto;
|
|
575
|
+
max-width: 100%;
|
|
574
576
|
}
|
|
575
|
-
.pw-stage__desc[data-v-
|
|
577
|
+
.pw-stage__desc[data-v-2c6f2a44] {
|
|
576
578
|
margin: 0;
|
|
577
579
|
color: var(--rp-color-text-muted);
|
|
578
580
|
font-size: 12.5px;
|
|
579
581
|
line-height: 1.6;
|
|
580
582
|
}
|
|
581
|
-
.pw-stage--tablet .pw-stage__frame[data-v-
|
|
583
|
+
.pw-stage--tablet .pw-stage__frame[data-v-2c6f2a44] {
|
|
582
584
|
max-width: 820px;
|
|
583
585
|
margin: 0 auto;
|
|
584
586
|
}
|
|
585
|
-
.pw-stage--mobile .pw-stage__frame[data-v-
|
|
587
|
+
.pw-stage--mobile .pw-stage__frame[data-v-2c6f2a44] {
|
|
586
588
|
max-width: 420px;
|
|
587
589
|
margin: 0 auto;
|
|
588
590
|
}
|
|
589
|
-
.pw-stage__loading[data-v-
|
|
591
|
+
.pw-stage__loading[data-v-2c6f2a44] {
|
|
590
592
|
color: var(--rp-color-text-muted);
|
|
591
593
|
font-size: 13px;
|
|
592
594
|
}
|
|
593
|
-
.pw-stage__error[data-v-
|
|
595
|
+
.pw-stage__error[data-v-2c6f2a44] {
|
|
594
596
|
display: flex;
|
|
595
597
|
flex-direction: column;
|
|
596
598
|
gap: 4px;
|
|
@@ -602,15 +604,15 @@ to {
|
|
|
602
604
|
color: var(--rp-color-text);
|
|
603
605
|
font-size: 13px;
|
|
604
606
|
}
|
|
605
|
-
.pw-stage__error strong[data-v-
|
|
607
|
+
.pw-stage__error strong[data-v-2c6f2a44] {
|
|
606
608
|
color: var(--rp-color-danger);
|
|
607
609
|
}
|
|
608
|
-
.pw-stage__error code[data-v-
|
|
610
|
+
.pw-stage__error code[data-v-2c6f2a44] {
|
|
609
611
|
font-family: var(--rp-font-mono);
|
|
610
612
|
font-size: 12px;
|
|
611
613
|
color: var(--rp-color-text-muted);
|
|
612
614
|
}
|
|
613
|
-
.pw-stage__error span[data-v-
|
|
615
|
+
.pw-stage__error span[data-v-2c6f2a44] {
|
|
614
616
|
white-space: pre-wrap;
|
|
615
617
|
color: var(--rp-color-text-muted);
|
|
616
618
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as QuickCommandNLS, $a as alert, $c as debouncedObservable, $d as BugIndicatingError, $i as diffInserted, $l as isFirefox, $n as ClickAction, $o as Mimes, $r as getGoodIndentForLine, $s as Separator, $t as isLocalizedString, $u as CancellationTokenSource, A as observableSignalFromEvent, Aa as overviewRulerSelectionHighlightForeground, Ac as getDomNodeZoomLevel, Ad as isWeb, Ai as Gesture, Al as thisEqualsC, An as openLinkFromMarkdown, Ao as LineRange, Ar as ViewGpuContext, As as relativePath, At as RegexToggle, Au as InlineCompletionEndOfLifeReasonKind, Ba as darken, Bc as isAncestorOfActiveElement, Bd as assertType, Bi as buttonBackground, Bl as Delayer, Bn as isEmptyMarkdownString, Bo as GlyphMarginLane, Br as isModelDecorationInString, Bs as SubmenuItemAction, Bt as IDataChannelService, Bu as getAriaLabelForSymbol, C as WorkbenchToolBar, Ca as editorSelectionBackground, Cc as clearNode, Cd as createSingleCallFunction, Ci as generateUuid, Cl as DebugLocation, Cn as ItemActivation, Co as lineRangeMappingFromRangeMappings, Cr as EditDeltaInfo, Cs as basenameOrAuthority, Ct as WorkbenchAsyncDataTree, Cu as Command, D as LineSource, Da as editorWidgetBackground, Dc as getClientArea, Dd as isLittleEndian, Di as ScrollableElement, Dl as equalsIfDefinedC, Dn as ILayoutService, Do as StringText, Dr as IUserInteractionService, Ds as isEqual, Dt as FindInput, Du as FoldingRangeKind, E as rangeIsSingleLine, Ea as editorWarningForeground, Ec as getActiveWindow, Ed as isLinux, Ei as DomScrollableElement, El as equalsIfDefined, En as IDialogService, Eo as AbstractText, Er as groupByMap, Es as extname, Et as WorkbenchTreeElementCanExpand, Eu as DocumentPasteTriggerKind, F as bindContextKey, Fa as contrastBorder, Fc as getWindow, Fd as localize2, Fi as DynamicCssRules, Fl as Schemas, Fn as renderLabelWithIcons, Fo as findLastMax, Fr as Severity, Fs as Action2, Ft as SplitView, Fu as ProviderId, G as IconLabel, Ga as createCSSRule, Gc as reset, Gd as isObject, Gi as inputBackground, Gl as disposableTimeout, Gn as anyScore, Go as safeIntl, Gr as overviewRulerRangeHighlight, Gs as ContextKeyEqualsExpr, Gt as getActionBarActions, Gu as Position, H as widgetClose, Ha as registerColor, Hc as isHTMLElement, Hd as isDefined, Hi as inputActiveOptionBackground, Hl as TimeoutTimer, Hn as stripIcons, Ho as OverviewRulerLane, Hr as computeIndentLevel, Hs as registerAction2, Ht as MenuEntryActionViewItem, Hu as Codicon, I as observableConfigValue, Ia as descriptionForeground, Ic as h, Id as cloneAndChange, Ii as EditorMouseEvent, Il as matchesScheme, In as IdGenerator, Io as mapFindFirst, Ir as Severity$1, Is as IMenuService, It as OrthogonalEdge, Iu as SelectedSuggestionInfo, J as Button, Ja as CONTEXT_ACCESSIBILITY_MODE_ENABLED, Jc as scheduleAtNextAnimationFrame, Jd as upcast, Ji as editorActionListForeground, Jl as raceCancellationError, Jn as fuzzyScoreGracefulAggressive, Jo as StringDiffSequence, Jr as themeColorFromId, Js as RawContextKey, Jt as defaultInputBoxStyles, Ju as dirname$1, K as HighlightedLabel, Ka as createStyleSheetFromObservable, Kc as runAtThisOrScheduleAtNextAnimationFrame, Kd as isString, Ki as inputBorder, Kl as first, Kn as createMatches, Ko as CharacterSet, Kr as IThemeService, Ks as ContextKeyExpr, Kt as getFlatActionBarActions, Ku as URI, L as createHotClass, La as foreground, Lc as hide, Ld as deepClone, Li as quickInputListFocusBackground, Ll as matchesSomeScheme, Ln as defaultGenerator, Lo as OffsetRange, Lr as GlyphRasterizer, Ls as MenuId, Lt as Sash, Lu as SignatureHelpTriggerKind, M as DisposableCancellationTokenSource, Ma as widgetShadow, Mc as getTopLeftOffset, Md as language, Mi as getColumnOfNodeOffset, Ml as ConstantStringHash, Mn as withSelection, Mo as findFirstMax, Mr as runOnChangeWithCancellationToken, Ms as LRUCache, Mt as navigateToggles, Mu as InlineCompletionTriggerKind, N as appendRemoveOnDispose, Na as scrollbarShadow, Nc as getTotalHeight, Nd as setTimeout0, Ni as isDark, Nl as hash, Nn as renderMarkdown$1, No as findFirstMin, Nr as runOnChangeWithStore, Ns as ResourceMap, Nt as Toggle, Nu as NewSymbolNameTag, O as RenderOptions, Oa as editorWidgetBorder, Oc as getComputedStyle, Od as isMacintosh, Oi as Widget, Ol as strictEquals, On as getAnchorRect, Oo as PositionOffsetTransformerBase, Or as NativeEditContextRegistry, Os as joinPath, Ot as HistoryInputBox, Ou as HoverVerbosityAction, P as StableEditorScrollState, Pa as activeContrastBorder, Pc as getTotalWidth, Pd as localize, Pi as isHighContrast, Pl as VSBuffer, Pn as renderIcon, Po as findLast, Pr as INotificationService, Ps as ITelemetryService, Pt as Sizing, Pu as NewSymbolNameTriggerKind, Q as InspectTokensNLS, Qa as IEditorWorkerService, Qc as trackFocus, Qd as checkAdjacentItems, Qi as minimapSelectionOccurrenceHighlight, Ql as StandardKeyboardEvent, Qn as or, Qo as product$1, Qr as EnterOperation, Qs as Action, Qt as getListStyles, Qu as CancellationToken, R as HC_BLACK_THEME_NAME, Ra as iconForeground, Rc as isActiveElement, Rd as mixin, Ri as quickInputListFocusForeground, Rl as AsyncIterableProducer, Rn as MarkdownString, Ro as UnicodeTextModelHighlighter, Rr as ensureNonNullable, Rs as MenuItemAction, Rt as ILabelService, Ru as SymbolKinds, S as MenuWorkbenchToolBar, Sa as editorInlayHintTypeForeground, Sc as append, Sd as Iterable, Sf as sum, Si as DataTransfers, Sl as DebugNameData, Sn as IQuickInputService, So as RangeMapping, Sr as lengthGetColumnCountIfZeroLineCount, Ss as basename, St as IListService, Su as mainWindow, T as Point, Ta as editorWarningBorder, Tc as getActiveElement, Td as isIOS, Ti as DomEmitter, Tl as equals$2, Tn as isKeyModified, To as TextReplacement, Tr as countEOL, Ts as extUri, Tt as WorkbenchTreeElementCanCollapse, Tu as DocumentHighlightKind, U as KeybindingLabel, Ua as transparent, Uc as isMouseEvent, Ud as isFunction, Ui as inputActiveOptionBorder, Ul as createCancelableAsyncIterableProducer, Un as FuzzyScore, Uo as shouldSynchronizeModel, Ur as editorBracketMatchForeground, Us as KeybindingsRegistry, Ut as TextOnlyMenuEntryActionViewItem, Uu as Selection, V as registerIcon, Va as oneOf, Vc as isEditableElement, Vd as isArrayOf, Vi as buttonForeground, Vl as RunOnceScheduler, Vn as isMarkdownString, Vo as InjectedTextCursorStops, Vr as isModelDecorationVisible, Vs as isIMenuItem, Vt as ActionBar, Vu as isLocationLink, W as unthemedKeybindingLabelOptions, Wa as GlobalPointerMoveMonitor, Wc as n, Wd as isNumber, Wi as inputActiveOptionForeground, Wl as createCancelablePromise, Wn as FuzzyScoreOptions, Wo as getMapForWordSeparators, Wr as ghostTextForeground, Ws as Registry, Wt as createActionViewItem, Wu as Range, X as IStandaloneThemeService, Xa as TabFocus, Xc as show, Xd as assertFn, Xi as listHighlightForeground, Xl as timeout, Xn as matchesSubString, Xo as PLAINTEXT_LANGUAGE_ID, Xr as EditorContextKeys, Xs as ICommandService, Xt as defaultListStyles, Xu as KeyChord, Y as Extensions$1, Ya as IAccessibilityService, Yc as setVisibility, Yd as assert, Yi as listFocusHighlightForeground, Yl as raceTimeout, Yn as matchesBaseContiguousSubString, Yo as ILanguageConfigurationService, Yr as CoreEditingCommands, Ys as CommandsRegistry, Yt as defaultKeybindingLabelStyles, Yu as sep, Z as GoToLineNLS, Za as IMarkerDecorationsService, Zc as size, Zd as assertNever, Zi as minimapFindMatch, Zl as StandardMouseEvent, Zn as matchesWords, Zo as Extensions, Zr as TypeOperations, Zs as ThemeIcon, Zt as defaultToggleStyles, Zu as isModifierKey, _ as isCodeEditor, _a as editorInlayHintBackground, _c as addDisposableGenericMouseDownListener, _d as RefCountedDisposable, _f as isNonEmptyArray, _i as LocalSelectionTransfer, _l as derived, _n as CancelSnoozeInlineCompletion, _o as RGBA, _r as parseDocument, _s as ILogService, _t as IProgressService, _u as lastNonWhitespaceIndex, a as Uri, aa as editorErrorForeground, ac as IInstantiationService, ad as unicodeHighlightConfigKeys, af as Permutation, ai as WordOperations, al as observableSignal, an as InputFocusedContext, ao as TokenArray, ar as IContextViewService, as as EditorAction, at as editorConfigurationBaseNode, au as containsRTL, b as HideUnchangedRegionsFeature, ba as editorInlayHintParameterForeground, bc as addStandardDisposableGenericMouseDownListener, bd as isDisposable, bf as quickSelect, bi as createStringDataTransferItem, bl as derivedOpts, bn as IStorageService, bo as StringReplacement, br as DenseKeyProvider, bs as canLog, bt as IMarkerService, bu as Lazy, c as languages, ca as editorFindMatchHighlightBorder, cc as PixelRatio, cd as EditorZoom, cf as binarySearch2, ci as ReplaceCommand, cl as disposableObservableValue, cn as TernarySearchTree, co as createTrustedTypesPolicy$1, cr as nativeHoverDelegate, cs as MultiCommand, ct as ResourceTextEdit, cu as firstNonWhitespaceIndex, d as getOnTypeFormattingEdits, da as editorForeground, dc as DisposableResizeObserver, dd as PauseableEmitter, df as compareBy, di as CursorState$1, dl as subtransaction, dn as IAccessibilitySignalService, do as nullTokenizeEncoded, dr as ModelDecorationInjectedTextOptions, ds as registerEditorCommand, dt as WORKSPACE_EXTENSION, du as isBasicASCII, ea as diffInsertedLine, ec as SubmenuAction, ed as cancelOnDispose, ef as CancellationError, ei as getIndentMetadata, el as debouncedObservable2, en as ActionViewItem, eo as status, er as HoverAction, es as registerSingleton, et as QuickHelpNLS, eu as InvisibleCharacters, f as FormattingEdit, fa as editorHoverBackground, fc as EventHelper, fd as StopWatch, ff as compareUndefinedSmallest, fi as normalizeIndentation, fl as transaction, fn as ISemanticTokensStylingService, fo as isCompletionsEnabledFromObject, fr as ModelDecorationOptions, fs as registerEditorContribution, ft as isEmptyWorkspaceIdentifier, fu as isFalsyOrWhitespace, g as getCodeEditor, ga as editorInfoForeground, gc as WindowIdleValue, gd as MutableDisposable, gf as isFalsyOrEmpty, gi as toExternalVSDataTransfer, gl as registerAutorunSelfDisposable, gn as IEnvironmentService, go as HSVA, gr as offsetEditFromContentChanges, gs as TriggerInlineEditCommandsRegistry, gt as IEditorProgressService, gu as isUpperAsciiLetter, h as TextModelCancellationTokenSource, ha as editorInfoBorder, hc as SafeTriangle, hd as DisposableStore, hf as groupBy, hi as generateDataToCopyAndStoreInMemory, hl as autorunWithStore, hn as ILanguageFeatureDebounceService, ho as Color, hr as recordChangesLazy, hs as registerMultiEditorAction, ht as toWorkspaceIdentifier, hu as isLowerAsciiLetter, i as Range$1, ia as editorErrorBorder, ic as ICodeEditorService, if as onUnexpectedExternalError, ii as CursorMoveCommands, il as recomputeInitiallyAndOnChange, in as getDefaultHoverDelegate, io as LineTokens, ir as IContextMenuService, is as IndentAction, it as EditOperation, iu as compareIgnoreCase, j as waitForState, ja as widgetBorder, jc as getShadowRoot, jd as isWindows, ji as CursorColumns, jl as clamp, jn as IOpenerService, jo as findFirstIdxMonotonousOrArrLen, jr as runOnChange, js as hasDriveLetter, jt as WholeWordsToggle, ju as InlineCompletionHintStyle, k as renderLines$1, ka as overviewRulerFindMatchForeground, kc as getDomNodePagePosition, kd as isNative, ki as EventType$1, kl as structuralEquals, kn as IMarkdownRendererService, ko as TextLength, kr as IKeybindingService, ks as originalFSPath, kt as CaseSensitiveToggle, ku as InlayHintKind, l as formatDocumentRangesWithSelectedProvider, la as editorFindMatchHighlightForeground, lc as $$1, ld as Emitter, lf as booleanComparator, li as ReplaceCommandThatPreservesSelection, ll as observableValue, ln as IClipboardService, lo as NullState, lr as CodeEditorWidget, ls as MultiEditorAction, lt as IWorkspaceTrustManagementService, lu as format, m as EditorStateCancellationTokenSource, ma as editorHoverForeground, mc as ModifierKeyEmitter, md as Disposable, mf as equals, mi as InMemoryClipboardMetadataManager, ml as autorunDelta, mn as score, mo as ITextResourceConfigurationService, mr as indentOfLine, ms as registerModelAndPositionCommand, mt as isStandaloneEditorWorkspace, mu as isLowSurrogate, n as MarkerSeverity$1, na as editorActiveLinkForeground, nc as ITextModelService, nd as EditorOptions, nf as isCancellationError, ni as getEnterAction, nl as mapObservableArrayCached, nn as constObservable, no as renderViewLine, nr as KeyDownAction, ns as IConfigurationService, nt as ToggleHighContrastNLS, nu as commonSuffixLength, o as editor, oa as editorFindMatchForeground, oc as createDecorator, od as USUAL_WORD_SEPARATORS, of as asArray, oi as WordPartOperations, ol as observableFromEvent, on as IsWebContext, oo as getStandardTokenTypeAtPosition, or as IHoverService, os as EditorAction2, ot as IRenameSymbolTrackerService, ou as containsUppercaseCharacter, p as EditorState$2, pa as editorHoverBorder, pc as EventType, pd as LinkedList, pf as distinct, pi as CopyOptions, pl as autorun, pn as toMultilineTokens2, po as ILanguageFeaturesService, pr as TextModel, ps as registerInstantiatedEditorAction, pt as isSingleFolderWorkspaceIdentifier, pu as isHighSurrogate, q as CountBadge, qa as removeCSSRulesContainingSelector, qc as runWhenWindowIdle, qd as isUndefined, qi as inputForeground, ql as raceCancellation, qn as fuzzyScore, qo as LcsDiff, qr as registerThemingParticipant, qs as IContextKeyService, qt as defaultCountBadgeStyles, qu as basename$1, r as MarkerTag, ra as editorBackground, rc as IModelService, rd as ShowLightbulbIconMode, rf as onUnexpectedError, ri as ProcessedIndentRulesSupport, rl as observableFromPromise, rn as getBaseLayerHoverDelegate, ro as LineDecoration, rr as getHoverAccessibleViewHint, rs as StringBuilder, rt as registerEditorFeature, ru as compare, sa as editorFindMatchHighlight, sc as applyFontInfo, sd as EDITOR_FONT_DEFAULTS, sf as binarySearch, si as MoveOperations, sl as observableFromEventOpts, sn as IsWindowsContext, so as TokenMetadata, sr as WorkbenchHoverDelegate, ss as EditorCommand, st as IBulkEditService, su as escapeRegExpCharacters, ta as diffRemoved, tc as toAction, td as EditorFontLigatures, tf as illegalArgument, ti as ShiftCommand, tl as derivedObservableWithCache, tn as List, to as RenderLineInput, tr as HoverWidget, ts as ILanguageService, tt as QuickOutlineNLS, tu as commonPrefixLength, u as formatDocumentWithSelectedProvider, ua as editorFindRangeHighlightBorder, uc as Dimension, ud as Event, uf as coalesce, ui as ReplaceCommandThatSelectsText, ul as asyncTransaction, un as AccessibilitySignal, uo as nullTokenize, ur as InlineDecoration, us as registerEditorAction, ut as IWorkspaceContextService, uu as getLeadingWhitespace, v as isDiffEditor, va as editorInlayHintForeground, vc as addDisposableGenericMouseUpListener, vd as combinedDisposable, vf as mapFilter, vi as UriList, vl as derivedDisposable, vn as IInlineCompletionsService, vo as linesDiffComputers, vr as LanguageAgnosticBracketTokens, vs as ILoggerService, vt as Progress, vu as splitLines, w as observableCodeEditor, wa as editorSelectionHighlight, wc as getActiveDocument, wd as OS, wi as prefixedUuid, wl as arrayEqualsC, wn as QuickInputButtonLocation, wo as TextEdit, wr as EditSources, ws as dirname, wt as WorkbenchListFocusContextKey, wu as CompletionItemKinds, x as TextModelText, xa as editorInlayHintTypeBackground, xc as addStandardDisposableListener, xd as toDisposable, xf as reverseOrder, xi as matchesMimeType, xl as DerivedWithSetter, xn as WillSaveStateReason, xo as applyEditsToRanges, xr as lengthAdd, xs as DataUri, xt as MarkerSeverity, xu as CachedFunction, y as DiffEditorWidget, ya as editorInlayHintParameterBackground, yc as addDisposableListener, yd as dispose, yf as numberComparator, yi as VSDataTransfer, yl as derivedHandleChanges, yn as SnoozeInlineCompletion, yo as StringEdit, yr as TextBufferTokenizer, ys as LogLevel, yt as IMarkerData, yu as trim, z as HC_LIGHT_THEME_NAME, za as asCssVariable, zc as isAncestor, zd as assertReturnsDefined, zi as quickInputListFocusIconForeground, zl as DeferredPromise, zn as createCommandUri, zo as SearchParams, zr as isModelDecorationInComment, zs as MenuRegistry, zt as IDefaultAccountService, zu as TokenizationRegistry } from "./editor.api-oO_3X9N5.js";
|
|
2
|
-
import { typescriptDefaults } from "./monaco.contribution-
|
|
1
|
+
import { $ as QuickCommandNLS, $a as alert, $c as debouncedObservable, $d as BugIndicatingError, $i as diffInserted, $l as isFirefox, $n as ClickAction, $o as Mimes, $r as getGoodIndentForLine, $s as Separator, $t as isLocalizedString, $u as CancellationTokenSource, A as observableSignalFromEvent, Aa as overviewRulerSelectionHighlightForeground, Ac as getDomNodeZoomLevel, Ad as isWeb, Ai as Gesture, Al as thisEqualsC, An as openLinkFromMarkdown, Ao as LineRange, Ar as ViewGpuContext, As as relativePath, At as RegexToggle, Au as InlineCompletionEndOfLifeReasonKind, Ba as darken, Bc as isAncestorOfActiveElement, Bd as assertType, Bi as buttonBackground, Bl as Delayer, Bn as isEmptyMarkdownString, Bo as GlyphMarginLane, Br as isModelDecorationInString, Bs as SubmenuItemAction, Bt as IDataChannelService, Bu as getAriaLabelForSymbol, C as WorkbenchToolBar, Ca as editorSelectionBackground, Cc as clearNode, Cd as createSingleCallFunction, Ci as generateUuid, Cl as DebugLocation, Cn as ItemActivation, Co as lineRangeMappingFromRangeMappings, Cr as EditDeltaInfo, Cs as basenameOrAuthority, Ct as WorkbenchAsyncDataTree, Cu as Command, D as LineSource, Da as editorWidgetBackground, Dc as getClientArea, Dd as isLittleEndian, Di as ScrollableElement, Dl as equalsIfDefinedC, Dn as ILayoutService, Do as StringText, Dr as IUserInteractionService, Ds as isEqual, Dt as FindInput, Du as FoldingRangeKind, E as rangeIsSingleLine, Ea as editorWarningForeground, Ec as getActiveWindow, Ed as isLinux, Ei as DomScrollableElement, El as equalsIfDefined, En as IDialogService, Eo as AbstractText, Er as groupByMap, Es as extname, Et as WorkbenchTreeElementCanExpand, Eu as DocumentPasteTriggerKind, F as bindContextKey, Fa as contrastBorder, Fc as getWindow, Fd as localize2, Fi as DynamicCssRules, Fl as Schemas, Fn as renderLabelWithIcons, Fo as findLastMax, Fr as Severity, Fs as Action2, Ft as SplitView, Fu as ProviderId, G as IconLabel, Ga as createCSSRule, Gc as reset, Gd as isObject, Gi as inputBackground, Gl as disposableTimeout, Gn as anyScore, Go as safeIntl, Gr as overviewRulerRangeHighlight, Gs as ContextKeyEqualsExpr, Gt as getActionBarActions, Gu as Position, H as widgetClose, Ha as registerColor, Hc as isHTMLElement, Hd as isDefined, Hi as inputActiveOptionBackground, Hl as TimeoutTimer, Hn as stripIcons, Ho as OverviewRulerLane, Hr as computeIndentLevel, Hs as registerAction2, Ht as MenuEntryActionViewItem, Hu as Codicon, I as observableConfigValue, Ia as descriptionForeground, Ic as h, Id as cloneAndChange, Ii as EditorMouseEvent, Il as matchesScheme, In as IdGenerator, Io as mapFindFirst, Ir as Severity$1, Is as IMenuService, It as OrthogonalEdge, Iu as SelectedSuggestionInfo, J as Button, Ja as CONTEXT_ACCESSIBILITY_MODE_ENABLED, Jc as scheduleAtNextAnimationFrame, Jd as upcast, Ji as editorActionListForeground, Jl as raceCancellationError, Jn as fuzzyScoreGracefulAggressive, Jo as StringDiffSequence, Jr as themeColorFromId, Js as RawContextKey, Jt as defaultInputBoxStyles, Ju as dirname$1, K as HighlightedLabel, Ka as createStyleSheetFromObservable, Kc as runAtThisOrScheduleAtNextAnimationFrame, Kd as isString, Ki as inputBorder, Kl as first, Kn as createMatches, Ko as CharacterSet, Kr as IThemeService, Ks as ContextKeyExpr, Kt as getFlatActionBarActions, Ku as URI, L as createHotClass, La as foreground, Lc as hide, Ld as deepClone, Li as quickInputListFocusBackground, Ll as matchesSomeScheme, Ln as defaultGenerator, Lo as OffsetRange, Lr as GlyphRasterizer, Ls as MenuId, Lt as Sash, Lu as SignatureHelpTriggerKind, M as DisposableCancellationTokenSource, Ma as widgetShadow, Mc as getTopLeftOffset, Md as language, Mi as getColumnOfNodeOffset, Ml as ConstantStringHash, Mn as withSelection, Mo as findFirstMax, Mr as runOnChangeWithCancellationToken, Ms as LRUCache, Mt as navigateToggles, Mu as InlineCompletionTriggerKind, N as appendRemoveOnDispose, Na as scrollbarShadow, Nc as getTotalHeight, Nd as setTimeout0, Ni as isDark, Nl as hash, Nn as renderMarkdown$1, No as findFirstMin, Nr as runOnChangeWithStore, Ns as ResourceMap, Nt as Toggle, Nu as NewSymbolNameTag, O as RenderOptions, Oa as editorWidgetBorder, Oc as getComputedStyle, Od as isMacintosh, Oi as Widget, Ol as strictEquals, On as getAnchorRect, Oo as PositionOffsetTransformerBase, Or as NativeEditContextRegistry, Os as joinPath, Ot as HistoryInputBox, Ou as HoverVerbosityAction, P as StableEditorScrollState, Pa as activeContrastBorder, Pc as getTotalWidth, Pd as localize, Pi as isHighContrast, Pl as VSBuffer, Pn as renderIcon, Po as findLast, Pr as INotificationService, Ps as ITelemetryService, Pt as Sizing, Pu as NewSymbolNameTriggerKind, Q as InspectTokensNLS, Qa as IEditorWorkerService, Qc as trackFocus, Qd as checkAdjacentItems, Qi as minimapSelectionOccurrenceHighlight, Ql as StandardKeyboardEvent, Qn as or, Qo as product$1, Qr as EnterOperation, Qs as Action, Qt as getListStyles, Qu as CancellationToken, R as HC_BLACK_THEME_NAME, Ra as iconForeground, Rc as isActiveElement, Rd as mixin, Ri as quickInputListFocusForeground, Rl as AsyncIterableProducer, Rn as MarkdownString, Ro as UnicodeTextModelHighlighter, Rr as ensureNonNullable, Rs as MenuItemAction, Rt as ILabelService, Ru as SymbolKinds, S as MenuWorkbenchToolBar, Sa as editorInlayHintTypeForeground, Sc as append, Sd as Iterable, Sf as sum, Si as DataTransfers, Sl as DebugNameData, Sn as IQuickInputService, So as RangeMapping, Sr as lengthGetColumnCountIfZeroLineCount, Ss as basename, St as IListService, Su as mainWindow, T as Point, Ta as editorWarningBorder, Tc as getActiveElement, Td as isIOS, Ti as DomEmitter, Tl as equals$2, Tn as isKeyModified, To as TextReplacement, Tr as countEOL, Ts as extUri, Tt as WorkbenchTreeElementCanCollapse, Tu as DocumentHighlightKind, U as KeybindingLabel, Ua as transparent, Uc as isMouseEvent, Ud as isFunction, Ui as inputActiveOptionBorder, Ul as createCancelableAsyncIterableProducer, Un as FuzzyScore, Uo as shouldSynchronizeModel, Ur as editorBracketMatchForeground, Us as KeybindingsRegistry, Ut as TextOnlyMenuEntryActionViewItem, Uu as Selection, V as registerIcon, Va as oneOf, Vc as isEditableElement, Vd as isArrayOf, Vi as buttonForeground, Vl as RunOnceScheduler, Vn as isMarkdownString, Vo as InjectedTextCursorStops, Vr as isModelDecorationVisible, Vs as isIMenuItem, Vt as ActionBar, Vu as isLocationLink, W as unthemedKeybindingLabelOptions, Wa as GlobalPointerMoveMonitor, Wc as n, Wd as isNumber, Wi as inputActiveOptionForeground, Wl as createCancelablePromise, Wn as FuzzyScoreOptions, Wo as getMapForWordSeparators, Wr as ghostTextForeground, Ws as Registry, Wt as createActionViewItem, Wu as Range, X as IStandaloneThemeService, Xa as TabFocus, Xc as show, Xd as assertFn, Xi as listHighlightForeground, Xl as timeout, Xn as matchesSubString, Xo as PLAINTEXT_LANGUAGE_ID, Xr as EditorContextKeys, Xs as ICommandService, Xt as defaultListStyles, Xu as KeyChord, Y as Extensions$1, Ya as IAccessibilityService, Yc as setVisibility, Yd as assert, Yi as listFocusHighlightForeground, Yl as raceTimeout, Yn as matchesBaseContiguousSubString, Yo as ILanguageConfigurationService, Yr as CoreEditingCommands, Ys as CommandsRegistry, Yt as defaultKeybindingLabelStyles, Yu as sep, Z as GoToLineNLS, Za as IMarkerDecorationsService, Zc as size, Zd as assertNever, Zi as minimapFindMatch, Zl as StandardMouseEvent, Zn as matchesWords, Zo as Extensions, Zr as TypeOperations, Zs as ThemeIcon, Zt as defaultToggleStyles, Zu as isModifierKey, _ as isCodeEditor, _a as editorInlayHintBackground, _c as addDisposableGenericMouseDownListener, _d as RefCountedDisposable, _f as isNonEmptyArray, _i as LocalSelectionTransfer, _l as derived, _n as CancelSnoozeInlineCompletion, _o as RGBA, _r as parseDocument, _s as ILogService, _t as IProgressService, _u as lastNonWhitespaceIndex, a as Uri, aa as editorErrorForeground, ac as IInstantiationService, ad as unicodeHighlightConfigKeys, af as Permutation, ai as WordOperations, al as observableSignal, an as InputFocusedContext, ao as TokenArray, ar as IContextViewService, as as EditorAction, at as editorConfigurationBaseNode, au as containsRTL, b as HideUnchangedRegionsFeature, ba as editorInlayHintParameterForeground, bc as addStandardDisposableGenericMouseDownListener, bd as isDisposable, bf as quickSelect, bi as createStringDataTransferItem, bl as derivedOpts, bn as IStorageService, bo as StringReplacement, br as DenseKeyProvider, bs as canLog, bt as IMarkerService, bu as Lazy, c as languages, ca as editorFindMatchHighlightBorder, cc as PixelRatio, cd as EditorZoom, cf as binarySearch2, ci as ReplaceCommand, cl as disposableObservableValue, cn as TernarySearchTree, co as createTrustedTypesPolicy$1, cr as nativeHoverDelegate, cs as MultiCommand, ct as ResourceTextEdit, cu as firstNonWhitespaceIndex, d as getOnTypeFormattingEdits, da as editorForeground, dc as DisposableResizeObserver, dd as PauseableEmitter, df as compareBy, di as CursorState$1, dl as subtransaction, dn as IAccessibilitySignalService, do as nullTokenizeEncoded, dr as ModelDecorationInjectedTextOptions, ds as registerEditorCommand, dt as WORKSPACE_EXTENSION, du as isBasicASCII, ea as diffInsertedLine, ec as SubmenuAction, ed as cancelOnDispose, ef as CancellationError, ei as getIndentMetadata, el as debouncedObservable2, en as ActionViewItem, eo as status, er as HoverAction, es as registerSingleton, et as QuickHelpNLS, eu as InvisibleCharacters, f as FormattingEdit, fa as editorHoverBackground, fc as EventHelper, fd as StopWatch, ff as compareUndefinedSmallest, fi as normalizeIndentation, fl as transaction, fn as ISemanticTokensStylingService, fo as isCompletionsEnabledFromObject, fr as ModelDecorationOptions, fs as registerEditorContribution, ft as isEmptyWorkspaceIdentifier, fu as isFalsyOrWhitespace, g as getCodeEditor, ga as editorInfoForeground, gc as WindowIdleValue, gd as MutableDisposable, gf as isFalsyOrEmpty, gi as toExternalVSDataTransfer, gl as registerAutorunSelfDisposable, gn as IEnvironmentService, go as HSVA, gr as offsetEditFromContentChanges, gs as TriggerInlineEditCommandsRegistry, gt as IEditorProgressService, gu as isUpperAsciiLetter, h as TextModelCancellationTokenSource, ha as editorInfoBorder, hc as SafeTriangle, hd as DisposableStore, hf as groupBy, hi as generateDataToCopyAndStoreInMemory, hl as autorunWithStore, hn as ILanguageFeatureDebounceService, ho as Color, hr as recordChangesLazy, hs as registerMultiEditorAction, ht as toWorkspaceIdentifier, hu as isLowerAsciiLetter, i as Range$1, ia as editorErrorBorder, ic as ICodeEditorService, if as onUnexpectedExternalError, ii as CursorMoveCommands, il as recomputeInitiallyAndOnChange, in as getDefaultHoverDelegate, io as LineTokens, ir as IContextMenuService, is as IndentAction, it as EditOperation, iu as compareIgnoreCase, j as waitForState, ja as widgetBorder, jc as getShadowRoot, jd as isWindows, ji as CursorColumns, jl as clamp, jn as IOpenerService, jo as findFirstIdxMonotonousOrArrLen, jr as runOnChange, js as hasDriveLetter, jt as WholeWordsToggle, ju as InlineCompletionHintStyle, k as renderLines$1, ka as overviewRulerFindMatchForeground, kc as getDomNodePagePosition, kd as isNative, ki as EventType$1, kl as structuralEquals, kn as IMarkdownRendererService, ko as TextLength, kr as IKeybindingService, ks as originalFSPath, kt as CaseSensitiveToggle, ku as InlayHintKind, l as formatDocumentRangesWithSelectedProvider, la as editorFindMatchHighlightForeground, lc as $$1, ld as Emitter, lf as booleanComparator, li as ReplaceCommandThatPreservesSelection, ll as observableValue, ln as IClipboardService, lo as NullState, lr as CodeEditorWidget, ls as MultiEditorAction, lt as IWorkspaceTrustManagementService, lu as format, m as EditorStateCancellationTokenSource, ma as editorHoverForeground, mc as ModifierKeyEmitter, md as Disposable, mf as equals, mi as InMemoryClipboardMetadataManager, ml as autorunDelta, mn as score, mo as ITextResourceConfigurationService, mr as indentOfLine, ms as registerModelAndPositionCommand, mt as isStandaloneEditorWorkspace, mu as isLowSurrogate, n as MarkerSeverity$1, na as editorActiveLinkForeground, nc as ITextModelService, nd as EditorOptions, nf as isCancellationError, ni as getEnterAction, nl as mapObservableArrayCached, nn as constObservable, no as renderViewLine, nr as KeyDownAction, ns as IConfigurationService, nt as ToggleHighContrastNLS, nu as commonSuffixLength, o as editor, oa as editorFindMatchForeground, oc as createDecorator, od as USUAL_WORD_SEPARATORS, of as asArray, oi as WordPartOperations, ol as observableFromEvent, on as IsWebContext, oo as getStandardTokenTypeAtPosition, or as IHoverService, os as EditorAction2, ot as IRenameSymbolTrackerService, ou as containsUppercaseCharacter, p as EditorState$2, pa as editorHoverBorder, pc as EventType, pd as LinkedList, pf as distinct, pi as CopyOptions, pl as autorun, pn as toMultilineTokens2, po as ILanguageFeaturesService, pr as TextModel, ps as registerInstantiatedEditorAction, pt as isSingleFolderWorkspaceIdentifier, pu as isHighSurrogate, q as CountBadge, qa as removeCSSRulesContainingSelector, qc as runWhenWindowIdle, qd as isUndefined, qi as inputForeground, ql as raceCancellation, qn as fuzzyScore, qo as LcsDiff, qr as registerThemingParticipant, qs as IContextKeyService, qt as defaultCountBadgeStyles, qu as basename$1, r as MarkerTag, ra as editorBackground, rc as IModelService, rd as ShowLightbulbIconMode, rf as onUnexpectedError, ri as ProcessedIndentRulesSupport, rl as observableFromPromise, rn as getBaseLayerHoverDelegate, ro as LineDecoration, rr as getHoverAccessibleViewHint, rs as StringBuilder, rt as registerEditorFeature, ru as compare, sa as editorFindMatchHighlight, sc as applyFontInfo, sd as EDITOR_FONT_DEFAULTS, sf as binarySearch, si as MoveOperations, sl as observableFromEventOpts, sn as IsWindowsContext, so as TokenMetadata, sr as WorkbenchHoverDelegate, ss as EditorCommand, st as IBulkEditService, su as escapeRegExpCharacters, ta as diffRemoved, tc as toAction, td as EditorFontLigatures, tf as illegalArgument, ti as ShiftCommand, tl as derivedObservableWithCache, tn as List, to as RenderLineInput, tr as HoverWidget, ts as ILanguageService, tt as QuickOutlineNLS, tu as commonPrefixLength, u as formatDocumentWithSelectedProvider, ua as editorFindRangeHighlightBorder, uc as Dimension, ud as Event, uf as coalesce, ui as ReplaceCommandThatSelectsText, ul as asyncTransaction, un as AccessibilitySignal, uo as nullTokenize, ur as InlineDecoration, us as registerEditorAction, ut as IWorkspaceContextService, uu as getLeadingWhitespace, v as isDiffEditor, va as editorInlayHintForeground, vc as addDisposableGenericMouseUpListener, vd as combinedDisposable, vf as mapFilter, vi as UriList, vl as derivedDisposable, vn as IInlineCompletionsService, vo as linesDiffComputers, vr as LanguageAgnosticBracketTokens, vs as ILoggerService, vt as Progress, vu as splitLines, w as observableCodeEditor, wa as editorSelectionHighlight, wc as getActiveDocument, wd as OS, wi as prefixedUuid, wl as arrayEqualsC, wn as QuickInputButtonLocation, wo as TextEdit, wr as EditSources, ws as dirname, wt as WorkbenchListFocusContextKey, wu as CompletionItemKinds, x as TextModelText, xa as editorInlayHintTypeBackground, xc as addStandardDisposableListener, xd as toDisposable, xf as reverseOrder, xi as matchesMimeType, xl as DerivedWithSetter, xn as WillSaveStateReason, xo as applyEditsToRanges, xr as lengthAdd, xs as DataUri, xt as MarkerSeverity, xu as CachedFunction, y as DiffEditorWidget, ya as editorInlayHintParameterBackground, yc as addDisposableListener, yd as dispose, yf as numberComparator, yi as VSDataTransfer, yl as derivedHandleChanges, yn as SnoozeInlineCompletion, yo as StringEdit, yr as TextBufferTokenizer, ys as LogLevel, yt as IMarkerData, yu as trim, z as HC_LIGHT_THEME_NAME, za as asCssVariable, zc as isAncestor, zd as assertReturnsDefined, zi as quickInputListFocusIconForeground, zl as DeferredPromise, zn as createCommandUri, zo as SearchParams, zr as isModelDecorationInComment, zs as MenuRegistry, zt as IDefaultAccountService, zu as TokenizationRegistry } from "./editor.api-BtqJ5Bxw.js";
|
|
2
|
+
import { typescriptDefaults } from "./monaco.contribution-GLS4-bVF.js";
|
|
3
3
|
// ../../node_modules/.pnpm/monaco-editor@0.57.0/node_modules/monaco-editor/esm/vs/editor/browser/widget/diffEditor/commands.js
|
|
4
4
|
var ToggleCollapseUnchangedRegions = class extends Action2 {
|
|
5
5
|
constructor() {
|
package/package.json
CHANGED