@rinova/playground 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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-oO_3X9N5.js").then((n) => n.s),
11414
- import("./monaco.contribution-HbKWJEpF.js").then((n) => n.t),
11415
- import("./dist-mV5k43A9.js")
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-c89e62e6"]]);
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-CFmSt4WP.js";
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-CFmSt4WP.js";
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-CFmSt4WP.js");
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-oO_3X9N5.js";
2
- import { i as __exportAll } from "./App-CFmSt4WP.js";
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-GTz-HPrN.js");
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-c89e62e6] {
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-c89e62e6] {
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-c89e62e6] {
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-c89e62e6] > * {
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-c89e62e6] {
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-c89e62e6] {
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-c89e62e6] {
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-c89e62e6] {
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-c89e62e6] {
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-c89e62e6] {
607
+ .pw-stage__error strong[data-v-2c6f2a44] {
606
608
  color: var(--rp-color-danger);
607
609
  }
608
- .pw-stage__error code[data-v-c89e62e6] {
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-c89e62e6] {
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-HbKWJEpF.js";
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rinova/playground",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "\u9762\u5411 Vue3 \u7684\u300c\u6587\u4ef6\u5373\u573a\u666f\u300d\u7ec4\u4ef6\u6f14\u793a\u6846\u67b6",
5
5
  "type": "module",
6
6
  "license": "MIT",