@nuxt/hints 1.0.0-alpha.2 → 1.0.0-alpha.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 +1 -1
- package/dist/client/200.html +1 -1
- package/dist/client/404.html +1 -1
- package/dist/client/_nuxt/{DU4nAREn.js → 3uZvltmj.js} +1 -1
- package/dist/client/_nuxt/{sLvN_949.js → BAIAvlAa.js} +1 -1
- package/dist/client/_nuxt/{Do-INFgi.js → BTIAbEX4.js} +1 -1
- package/dist/client/_nuxt/{2GP93Pxi.js → BYW8DJWC.js} +1 -1
- package/dist/client/_nuxt/{eOWES_5F.js → C3mMm8J8.js} +1 -1
- package/dist/client/_nuxt/{tqtdBwhO.js → CXsvEkWC.js} +1 -1
- package/dist/client/_nuxt/{DH652Aoo.js → CeyKylGo.js} +3 -3
- package/dist/client/_nuxt/Ckm7x3qc.js +6 -0
- package/dist/client/_nuxt/{MKoRwnMq.js → CsLEpyV7.js} +1 -1
- package/dist/client/_nuxt/{DJJ7OUMB.js → CzzNqrSg.js} +1 -1
- package/dist/client/_nuxt/{NleAzG8P.js → D4_iv3hh.js} +1 -1
- package/dist/client/_nuxt/{Cw07ACep.js → DBrXuSAZ.js} +1 -1
- package/dist/client/_nuxt/DDotc1jX.js +21 -0
- package/dist/client/_nuxt/{qj2RPQZX.js → DE7yhJ9n.js} +1 -1
- package/dist/client/_nuxt/{CnK8MTSM.js → DHQR4-dF.js} +1 -1
- package/dist/client/_nuxt/{nO2mFgKf.js → DxmC8vYz.js} +1 -1
- package/dist/client/_nuxt/{z9IIGYC-.js → DyZ7ilof.js} +1 -1
- package/dist/client/_nuxt/{rlWm2Bc0.js → REBTOKr5.js} +1 -1
- package/dist/client/_nuxt/aF-l9SMX.js +1 -0
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/b0fc6608-9102-4a88-9842-0a2ed6526798.json +1 -0
- package/dist/client/_nuxt/{CEG3Q07z.js → cgN_UPQ0.js} +1 -1
- package/dist/client/_nuxt/error-404.MLlw4bJt.css +1 -0
- package/dist/client/_nuxt/error-500.CBQQ1PSP.css +1 -0
- package/dist/client/_nuxt/{BHrmToEH.js → qdsjHGoJ.js} +1 -1
- package/dist/client/_nuxt/{CJC4nrSc.js → s2_R2YM5.js} +1 -1
- package/dist/client/hydration/index.html +1 -1
- package/dist/client/index.html +1 -1
- package/dist/client/third-party-scripts/index.html +1 -1
- package/dist/client/web-vitals/index.html +1 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +107 -36
- package/dist/runtime/hydration/component.d.ts +3 -0
- package/dist/runtime/hydration/component.js +23 -0
- package/dist/runtime/hydration/composables.js +3 -3
- package/package.json +5 -2
- package/dist/client/_nuxt/CGQlbfJh.js +0 -6
- package/dist/client/_nuxt/D7VJQ_DO.js +0 -1
- package/dist/client/_nuxt/builds/meta/13453bb2-1adb-44c7-ac19-ec44784e7219.json +0 -1
- package/dist/client/_nuxt/error-404.CrTd3IxL.css +0 -1
- package/dist/client/_nuxt/error-500.evxQRSU6.css +0 -1
- package/dist/client/_nuxt/umNIi3wV.js +0 -21
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.grid[data-v-8b84a0d6]{display:grid}.mb-2[data-v-8b84a0d6]{margin-bottom:.5rem}.mb-4[data-v-8b84a0d6]{margin-bottom:1rem}.max-w-520px[data-v-8b84a0d6]{max-width:520px}.min-h-screen[data-v-8b84a0d6]{min-height:100vh}.w-full[data-v-8b84a0d6]{width:100%}.flex[data-v-8b84a0d6]{display:flex}.place-content-center[data-v-8b84a0d6]{place-content:center}.items-center[data-v-8b84a0d6]{align-items:center}.justify-center[data-v-8b84a0d6]{justify-content:center}.overflow-hidden[data-v-8b84a0d6]{overflow:hidden}.bg-white[data-v-8b84a0d6]{--un-bg-opacity:1;background-color:rgb(255 255 255/var(--un-bg-opacity))}.px-2[data-v-8b84a0d6]{padding-left:.5rem;padding-right:.5rem}.text-center[data-v-8b84a0d6]{text-align:center}.text-\[80px\][data-v-8b84a0d6]{font-size:80px}.text-2xl[data-v-8b84a0d6]{font-size:1.5rem;line-height:2rem}.text-sm[data-v-8b84a0d6]{font-size:.875rem;line-height:1.25rem}.text-\[\#020420\][data-v-8b84a0d6]{--un-text-opacity:1;color:rgb(2 4 32/var(--un-text-opacity))}.text-\[\#64748B\][data-v-8b84a0d6]{--un-text-opacity:1;color:rgb(100 116 139/var(--un-text-opacity))}.hover\:text-\[\#00DC82\][data-v-8b84a0d6]:hover{--un-text-opacity:1;color:rgb(0 220 130/var(--un-text-opacity))}.font-medium[data-v-8b84a0d6]{font-weight:500}.font-semibold[data-v-8b84a0d6]{font-weight:600}.leading-none[data-v-8b84a0d6]{line-height:1}.tracking-wide[data-v-8b84a0d6]{letter-spacing:.025em}.font-sans[data-v-8b84a0d6]{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.tabular-nums[data-v-8b84a0d6]{--un-numeric-spacing:tabular-nums;font-variant-numeric:var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction)}.underline[data-v-8b84a0d6]{text-decoration-line:underline}.underline-offset-3[data-v-8b84a0d6]{text-underline-offset:3px}.antialiased[data-v-8b84a0d6]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media(prefers-color-scheme:dark){.dark\:bg-\[\#020420\][data-v-8b84a0d6]{--un-bg-opacity:1;background-color:rgb(2 4 32/var(--un-bg-opacity))}.dark\:text-white[data-v-8b84a0d6]{--un-text-opacity:1;color:rgb(255 255 255/var(--un-text-opacity))}}@media(min-width:640px){.sm\:text-\[110px\][data-v-8b84a0d6]{font-size:110px}.sm\:text-3xl[data-v-8b84a0d6]{font-size:1.875rem;line-height:2.25rem}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.grid[data-v-f190a0ae]{display:grid}.mb-2[data-v-f190a0ae]{margin-bottom:.5rem}.mb-4[data-v-f190a0ae]{margin-bottom:1rem}.max-w-520px[data-v-f190a0ae]{max-width:520px}.min-h-screen[data-v-f190a0ae]{min-height:100vh}.place-content-center[data-v-f190a0ae]{place-content:center}.overflow-hidden[data-v-f190a0ae]{overflow:hidden}.bg-white[data-v-f190a0ae]{--un-bg-opacity:1;background-color:rgb(255 255 255/var(--un-bg-opacity))}.px-2[data-v-f190a0ae]{padding-left:.5rem;padding-right:.5rem}.text-center[data-v-f190a0ae]{text-align:center}.text-\[80px\][data-v-f190a0ae]{font-size:80px}.text-2xl[data-v-f190a0ae]{font-size:1.5rem;line-height:2rem}.text-\[\#020420\][data-v-f190a0ae]{--un-text-opacity:1;color:rgb(2 4 32/var(--un-text-opacity))}.text-\[\#64748B\][data-v-f190a0ae]{--un-text-opacity:1;color:rgb(100 116 139/var(--un-text-opacity))}.font-semibold[data-v-f190a0ae]{font-weight:600}.leading-none[data-v-f190a0ae]{line-height:1}.tracking-wide[data-v-f190a0ae]{letter-spacing:.025em}.font-sans[data-v-f190a0ae]{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.tabular-nums[data-v-f190a0ae]{--un-numeric-spacing:tabular-nums;font-variant-numeric:var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction)}.antialiased[data-v-f190a0ae]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media(prefers-color-scheme:dark){.dark\:bg-\[\#020420\][data-v-f190a0ae]{--un-bg-opacity:1;background-color:rgb(2 4 32/var(--un-bg-opacity))}.dark\:text-white[data-v-f190a0ae]{--un-text-opacity:1;color:rgb(255 255 255/var(--un-text-opacity))}}@media(min-width:640px){.sm\:text-\[110px\][data-v-f190a0ae]{font-size:110px}.sm\:text-3xl[data-v-f190a0ae]{font-size:1.875rem;line-height:2.25rem}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=Object.freeze(JSON.parse('{"colors":{"activityBar.activeBorder":"#e0def4","activityBar.background":"#191724","activityBar.dropBorder":"#26233a","activityBar.foreground":"#e0def4","activityBar.inactiveForeground":"#908caa","activityBarBadge.background":"#ebbcba","activityBarBadge.foreground":"#191724","badge.background":"#ebbcba","badge.foreground":"#191724","banner.background":"#1f1d2e","banner.foreground":"#e0def4","banner.iconForeground":"#908caa","breadcrumb.activeSelectionForeground":"#ebbcba","breadcrumb.background":"#191724","breadcrumb.focusForeground":"#908caa","breadcrumb.foreground":"#6e6a86","breadcrumbPicker.background":"#1f1d2e","button.background":"#ebbcba","button.foreground":"#191724","button.hoverBackground":"#ebbcbae6","button.secondaryBackground":"#1f1d2e","button.secondaryForeground":"#e0def4","button.secondaryHoverBackground":"#26233a","charts.blue":"#9ccfd8","charts.foreground":"#e0def4","charts.green":"#31748f","charts.lines":"#908caa","charts.orange":"#ebbcba","charts.purple":"#c4a7e7","charts.red":"#eb6f92","charts.yellow":"#f6c177","checkbox.background":"#1f1d2e","checkbox.border":"#6e6a8633","checkbox.foreground":"#e0def4","debugExceptionWidget.background":"#1f1d2e","debugExceptionWidget.border":"#6e6a8633","debugIcon.breakpointCurrentStackframeForeground":"#908caa","debugIcon.breakpointDisabledForeground":"#908caa","debugIcon.breakpointForeground":"#908caa","debugIcon.breakpointStackframeForeground":"#908caa","debugIcon.breakpointUnverifiedForeground":"#908caa","debugIcon.continueForeground":"#908caa","debugIcon.disconnectForeground":"#908caa","debugIcon.pauseForeground":"#908caa","debugIcon.restartForeground":"#908caa","debugIcon.startForeground":"#908caa","debugIcon.stepBackForeground":"#908caa","debugIcon.stepIntoForeground":"#908caa","debugIcon.stepOutForeground":"#908caa","debugIcon.stepOverForeground":"#908caa","debugIcon.stopForeground":"#eb6f92","debugToolBar.background":"#1f1d2e","debugToolBar.border":"#26233a","descriptionForeground":"#908caa","diffEditor.border":"#26233a","diffEditor.diagonalFill":"#6e6a8666","diffEditor.insertedLineBackground":"#9ccfd826","diffEditor.insertedTextBackground":"#9ccfd826","diffEditor.removedLineBackground":"#eb6f9226","diffEditor.removedTextBackground":"#eb6f9226","diffEditorOverview.insertedForeground":"#9ccfd880","diffEditorOverview.removedForeground":"#eb6f9280","dropdown.background":"#1f1d2e","dropdown.border":"#6e6a8633","dropdown.foreground":"#e0def4","dropdown.listBackground":"#1f1d2e","editor.background":"#191724","editor.findMatchBackground":"#f6c17733","editor.findMatchBorder":"#f6c17780","editor.findMatchForeground":"#e0def4","editor.findMatchHighlightBackground":"#6e6a8666","editor.findMatchHighlightForeground":"#e0def4cc","editor.findRangeHighlightBackground":"#6e6a8666","editor.findRangeHighlightBorder":"#0000","editor.focusedStackFrameHighlightBackground":"#6e6a8633","editor.foldBackground":"#6e6a8633","editor.foreground":"#e0def4","editor.hoverHighlightBackground":"#0000","editor.inactiveSelectionBackground":"#6e6a861a","editor.inlineValuesBackground":"#0000","editor.inlineValuesForeground":"#908caa","editor.lineHighlightBackground":"#6e6a861a","editor.lineHighlightBorder":"#0000","editor.linkedEditingBackground":"#6e6a8633","editor.rangeHighlightBackground":"#6e6a861a","editor.selectionBackground":"#6e6a8633","editor.selectionForeground":"#e0def4","editor.selectionHighlightBackground":"#6e6a8633","editor.selectionHighlightBorder":"#191724","editor.snippetFinalTabstopHighlightBackground":"#6e6a8633","editor.snippetFinalTabstopHighlightBorder":"#1f1d2e","editor.snippetTabstopHighlightBackground":"#6e6a8633","editor.snippetTabstopHighlightBorder":"#1f1d2e","editor.stackFrameHighlightBackground":"#6e6a8633","editor.symbolHighlightBackground":"#6e6a8633","editor.symbolHighlightBorder":"#0000","editor.wordHighlightBackground":"#6e6a8633","editor.wordHighlightBorder":"#0000","editor.wordHighlightStrongBackground":"#6e6a8633","editor.wordHighlightStrongBorder":"#6e6a8633","editorBracketHighlight.foreground1":"#eb6f9280","editorBracketHighlight.foreground2":"#31748f80","editorBracketHighlight.foreground3":"#f6c17780","editorBracketHighlight.foreground4":"#9ccfd880","editorBracketHighlight.foreground5":"#ebbcba80","editorBracketHighlight.foreground6":"#c4a7e780","editorBracketMatch.background":"#0000","editorBracketMatch.border":"#908caa","editorBracketPairGuide.activeBackground1":"#31748f","editorBracketPairGuide.activeBackground2":"#ebbcba","editorBracketPairGuide.activeBackground3":"#c4a7e7","editorBracketPairGuide.activeBackground4":"#9ccfd8","editorBracketPairGuide.activeBackground5":"#f6c177","editorBracketPairGuide.activeBackground6":"#eb6f92","editorBracketPairGuide.background1":"#31748f80","editorBracketPairGuide.background2":"#ebbcba80","editorBracketPairGuide.background3":"#c4a7e780","editorBracketPairGuide.background4":"#9ccfd880","editorBracketPairGuide.background5":"#f6c17780","editorBracketPairGuide.background6":"#eb6f9280","editorCodeLens.foreground":"#ebbcba","editorCursor.background":"#e0def4","editorCursor.foreground":"#6e6a86","editorError.border":"#0000","editorError.foreground":"#eb6f92","editorGhostText.foreground":"#908caa","editorGroup.border":"#0000","editorGroup.dropBackground":"#1f1d2e","editorGroup.emptyBackground":"#0000","editorGroup.focusedEmptyBorder":"#0000","editorGroupHeader.noTabsBackground":"#0000","editorGroupHeader.tabsBackground":"#0000","editorGroupHeader.tabsBorder":"#0000","editorGutter.addedBackground":"#9ccfd8","editorGutter.background":"#191724","editorGutter.commentRangeForeground":"#26233a","editorGutter.deletedBackground":"#eb6f92","editorGutter.foldingControlForeground":"#c4a7e7","editorGutter.modifiedBackground":"#ebbcba","editorHint.border":"#0000","editorHint.foreground":"#908caa","editorHoverWidget.background":"#1f1d2e","editorHoverWidget.border":"#6e6a8680","editorHoverWidget.foreground":"#908caa","editorHoverWidget.highlightForeground":"#e0def4","editorHoverWidget.statusBarBackground":"#0000","editorIndentGuide.activeBackground1":"#6e6a86","editorIndentGuide.background1":"#6e6a8666","editorInfo.border":"#26233a","editorInfo.foreground":"#9ccfd8","editorInlayHint.background":"#26233a80","editorInlayHint.foreground":"#908caa80","editorInlayHint.parameterBackground":"#26233a80","editorInlayHint.parameterForeground":"#c4a7e780","editorInlayHint.typeBackground":"#26233a80","editorInlayHint.typeForeground":"#9ccfd880","editorLightBulb.foreground":"#31748f","editorLightBulbAutoFix.foreground":"#ebbcba","editorLineNumber.activeForeground":"#e0def4","editorLineNumber.foreground":"#908caa","editorLink.activeForeground":"#ebbcba","editorMarkerNavigation.background":"#1f1d2e","editorMarkerNavigationError.background":"#1f1d2e","editorMarkerNavigationInfo.background":"#1f1d2e","editorMarkerNavigationWarning.background":"#1f1d2e","editorOverviewRuler.addedForeground":"#9ccfd880","editorOverviewRuler.background":"#191724","editorOverviewRuler.border":"#6e6a8666","editorOverviewRuler.bracketMatchForeground":"#908caa","editorOverviewRuler.commentForeground":"#908caa80","editorOverviewRuler.commentUnresolvedForeground":"#f6c17780","editorOverviewRuler.commonContentForeground":"#6e6a861a","editorOverviewRuler.currentContentForeground":"#6e6a8633","editorOverviewRuler.deletedForeground":"#eb6f9280","editorOverviewRuler.errorForeground":"#eb6f9280","editorOverviewRuler.findMatchForeground":"#6e6a8666","editorOverviewRuler.incomingContentForeground":"#c4a7e780","editorOverviewRuler.infoForeground":"#9ccfd880","editorOverviewRuler.modifiedForeground":"#ebbcba80","editorOverviewRuler.rangeHighlightForeground":"#6e6a8666","editorOverviewRuler.selectionHighlightForeground":"#6e6a8666","editorOverviewRuler.warningForeground":"#f6c17780","editorOverviewRuler.wordHighlightForeground":"#6e6a8633","editorOverviewRuler.wordHighlightStrongForeground":"#6e6a8666","editorPane.background":"#0000","editorRuler.foreground":"#6e6a8666","editorSuggestWidget.background":"#1f1d2e","editorSuggestWidget.border":"#0000","editorSuggestWidget.focusHighlightForeground":"#ebbcba","editorSuggestWidget.foreground":"#908caa","editorSuggestWidget.highlightForeground":"#ebbcba","editorSuggestWidget.selectedBackground":"#6e6a8633","editorSuggestWidget.selectedForeground":"#e0def4","editorSuggestWidget.selectedIconForeground":"#e0def4","editorUnnecessaryCode.border":"#0000","editorUnnecessaryCode.opacity":"#e0def480","editorWarning.border":"#0000","editorWarning.foreground":"#f6c177","editorWhitespace.foreground":"#6e6a8680","editorWidget.background":"#1f1d2e","editorWidget.border":"#26233a","editorWidget.foreground":"#908caa","editorWidget.resizeBorder":"#6e6a86","errorForeground":"#eb6f92","extensionBadge.remoteBackground":"#c4a7e7","extensionBadge.remoteForeground":"#191724","extensionButton.prominentBackground":"#ebbcba","extensionButton.prominentForeground":"#191724","extensionButton.prominentHoverBackground":"#ebbcbae6","extensionIcon.preReleaseForeground":"#31748f","extensionIcon.starForeground":"#ebbcba","extensionIcon.verifiedForeground":"#c4a7e7","focusBorder":"#6e6a8633","foreground":"#e0def4","git.blame.editorDecorationForeground":"#6e6a86","gitDecoration.addedResourceForeground":"#9ccfd8","gitDecoration.conflictingResourceForeground":"#eb6f92","gitDecoration.deletedResourceForeground":"#908caa","gitDecoration.ignoredResourceForeground":"#6e6a86","gitDecoration.modifiedResourceForeground":"#ebbcba","gitDecoration.renamedResourceForeground":"#31748f","gitDecoration.stageDeletedResourceForeground":"#eb6f92","gitDecoration.stageModifiedResourceForeground":"#c4a7e7","gitDecoration.submoduleResourceForeground":"#f6c177","gitDecoration.untrackedResourceForeground":"#f6c177","icon.foreground":"#908caa","input.background":"#26233a80","input.border":"#6e6a8633","input.foreground":"#e0def4","input.placeholderForeground":"#908caa","inputOption.activeBackground":"#ebbcba26","inputOption.activeBorder":"#0000","inputOption.activeForeground":"#ebbcba","inputValidation.errorBackground":"#1f1d2e","inputValidation.errorBorder":"#6e6a8666","inputValidation.errorForeground":"#eb6f92","inputValidation.infoBackground":"#1f1d2e","inputValidation.infoBorder":"#6e6a8666","inputValidation.infoForeground":"#9ccfd8","inputValidation.warningBackground":"#1f1d2e","inputValidation.warningBorder":"#6e6a8666","inputValidation.warningForeground":"#9ccfd880","keybindingLabel.background":"#26233a","keybindingLabel.border":"#6e6a8666","keybindingLabel.bottomBorder":"#6e6a8666","keybindingLabel.foreground":"#c4a7e7","keybindingTable.headerBackground":"#26233a","keybindingTable.rowsBackground":"#1f1d2e","list.activeSelectionBackground":"#6e6a8633","list.activeSelectionForeground":"#e0def4","list.deemphasizedForeground":"#908caa","list.dropBackground":"#1f1d2e","list.errorForeground":"#eb6f92","list.filterMatchBackground":"#1f1d2e","list.filterMatchBorder":"#ebbcba","list.focusBackground":"#6e6a8666","list.focusForeground":"#e0def4","list.focusOutline":"#6e6a8633","list.highlightForeground":"#ebbcba","list.hoverBackground":"#6e6a861a","list.hoverForeground":"#e0def4","list.inactiveFocusBackground":"#6e6a861a","list.inactiveSelectionBackground":"#1f1d2e","list.inactiveSelectionForeground":"#e0def4","list.invalidItemForeground":"#eb6f92","list.warningForeground":"#f6c177","listFilterWidget.background":"#1f1d2e","listFilterWidget.noMatchesOutline":"#eb6f92","listFilterWidget.outline":"#26233a","menu.background":"#1f1d2e","menu.border":"#6e6a861a","menu.foreground":"#e0def4","menu.selectionBackground":"#6e6a8633","menu.selectionBorder":"#26233a","menu.selectionForeground":"#e0def4","menu.separatorBackground":"#6e6a8666","menubar.selectionBackground":"#6e6a8633","menubar.selectionBorder":"#6e6a861a","menubar.selectionForeground":"#e0def4","merge.border":"#26233a","merge.commonContentBackground":"#6e6a8633","merge.commonHeaderBackground":"#6e6a8633","merge.currentContentBackground":"#f6c17780","merge.currentHeaderBackground":"#f6c17780","merge.incomingContentBackground":"#9ccfd880","merge.incomingHeaderBackground":"#9ccfd880","minimap.background":"#1f1d2e","minimap.errorHighlight":"#eb6f9280","minimap.findMatchHighlight":"#6e6a8633","minimap.selectionHighlight":"#6e6a8633","minimap.warningHighlight":"#f6c17780","minimapGutter.addedBackground":"#9ccfd8","minimapGutter.deletedBackground":"#eb6f92","minimapGutter.modifiedBackground":"#ebbcba","minimapSlider.activeBackground":"#6e6a8666","minimapSlider.background":"#6e6a8633","minimapSlider.hoverBackground":"#6e6a8633","notebook.cellBorderColor":"#9ccfd880","notebook.cellEditorBackground":"#1f1d2e","notebook.cellHoverBackground":"#26233a80","notebook.focusedCellBackground":"#6e6a861a","notebook.focusedCellBorder":"#9ccfd8","notebook.outputContainerBackgroundColor":"#6e6a861a","notificationCenter.border":"#6e6a8633","notificationCenterHeader.background":"#1f1d2e","notificationCenterHeader.foreground":"#908caa","notificationLink.foreground":"#c4a7e7","notificationToast.border":"#6e6a8633","notifications.background":"#1f1d2e","notifications.border":"#6e6a8633","notifications.foreground":"#e0def4","notificationsErrorIcon.foreground":"#eb6f92","notificationsInfoIcon.foreground":"#9ccfd8","notificationsWarningIcon.foreground":"#f6c177","panel.background":"#1f1d2e","panel.border":"#0000","panel.dropBorder":"#26233a","panelInput.border":"#1f1d2e","panelSection.dropBackground":"#6e6a8633","panelSectionHeader.background":"#1f1d2e","panelSectionHeader.foreground":"#e0def4","panelTitle.activeBorder":"#6e6a8666","panelTitle.activeForeground":"#e0def4","panelTitle.inactiveForeground":"#908caa","peekView.border":"#26233a","peekViewEditor.background":"#1f1d2e","peekViewEditor.matchHighlightBackground":"#6e6a8666","peekViewResult.background":"#1f1d2e","peekViewResult.fileForeground":"#908caa","peekViewResult.lineForeground":"#908caa","peekViewResult.matchHighlightBackground":"#6e6a8666","peekViewResult.selectionBackground":"#6e6a8633","peekViewResult.selectionForeground":"#e0def4","peekViewTitle.background":"#26233a","peekViewTitleDescription.foreground":"#908caa","pickerGroup.border":"#6e6a8666","pickerGroup.foreground":"#c4a7e7","ports.iconRunningProcessForeground":"#ebbcba","problemsErrorIcon.foreground":"#eb6f92","problemsInfoIcon.foreground":"#9ccfd8","problemsWarningIcon.foreground":"#f6c177","progressBar.background":"#ebbcba","quickInput.background":"#1f1d2e","quickInput.foreground":"#908caa","quickInputList.focusBackground":"#6e6a8633","quickInputList.focusForeground":"#e0def4","quickInputList.focusIconForeground":"#e0def4","scrollbar.shadow":"#1f1d2e4d","scrollbarSlider.activeBackground":"#31748f80","scrollbarSlider.background":"#6e6a8633","scrollbarSlider.hoverBackground":"#6e6a8666","searchEditor.findMatchBackground":"#6e6a8633","selection.background":"#6e6a8666","settings.focusedRowBackground":"#1f1d2e","settings.focusedRowBorder":"#6e6a8633","settings.headerForeground":"#e0def4","settings.modifiedItemIndicator":"#ebbcba","settings.rowHoverBackground":"#1f1d2e","sideBar.background":"#191724","sideBar.dropBackground":"#1f1d2e","sideBar.foreground":"#908caa","sideBarSectionHeader.background":"#0000","sideBarSectionHeader.border":"#6e6a8633","statusBar.background":"#191724","statusBar.debuggingBackground":"#c4a7e7","statusBar.debuggingForeground":"#191724","statusBar.foreground":"#908caa","statusBar.noFolderBackground":"#191724","statusBar.noFolderForeground":"#908caa","statusBarItem.activeBackground":"#6e6a8666","statusBarItem.errorBackground":"#191724","statusBarItem.errorForeground":"#eb6f92","statusBarItem.hoverBackground":"#6e6a8633","statusBarItem.prominentBackground":"#26233a","statusBarItem.prominentForeground":"#e0def4","statusBarItem.prominentHoverBackground":"#6e6a8633","statusBarItem.remoteBackground":"#191724","statusBarItem.remoteForeground":"#f6c177","symbolIcon.arrayForeground":"#908caa","symbolIcon.classForeground":"#908caa","symbolIcon.colorForeground":"#908caa","symbolIcon.constantForeground":"#908caa","symbolIcon.constructorForeground":"#908caa","symbolIcon.enumeratorForeground":"#908caa","symbolIcon.enumeratorMemberForeground":"#908caa","symbolIcon.eventForeground":"#908caa","symbolIcon.fieldForeground":"#908caa","symbolIcon.fileForeground":"#908caa","symbolIcon.folderForeground":"#908caa","symbolIcon.functionForeground":"#908caa","symbolIcon.interfaceForeground":"#908caa","symbolIcon.keyForeground":"#908caa","symbolIcon.keywordForeground":"#908caa","symbolIcon.methodForeground":"#908caa","symbolIcon.moduleForeground":"#908caa","symbolIcon.namespaceForeground":"#908caa","symbolIcon.nullForeground":"#908caa","symbolIcon.numberForeground":"#908caa","symbolIcon.objectForeground":"#908caa","symbolIcon.operatorForeground":"#908caa","symbolIcon.packageForeground":"#908caa","symbolIcon.propertyForeground":"#908caa","symbolIcon.referenceForeground":"#908caa","symbolIcon.snippetForeground":"#908caa","symbolIcon.stringForeground":"#908caa","symbolIcon.structForeground":"#908caa","symbolIcon.textForeground":"#908caa","symbolIcon.typeParameterForeground":"#908caa","symbolIcon.unitForeground":"#908caa","symbolIcon.variableForeground":"#908caa","tab.activeBackground":"#6e6a861a","tab.activeForeground":"#e0def4","tab.activeModifiedBorder":"#9ccfd8","tab.border":"#0000","tab.hoverBackground":"#6e6a8633","tab.inactiveBackground":"#0000","tab.inactiveForeground":"#908caa","tab.inactiveModifiedBorder":"#9ccfd880","tab.lastPinnedBorder":"#6e6a86","tab.unfocusedActiveBackground":"#0000","tab.unfocusedHoverBackground":"#0000","tab.unfocusedInactiveBackground":"#0000","tab.unfocusedInactiveModifiedBorder":"#9ccfd880","terminal.ansiBlack":"#26233a","terminal.ansiBlue":"#9ccfd8","terminal.ansiBrightBlack":"#908caa","terminal.ansiBrightBlue":"#9ccfd8","terminal.ansiBrightCyan":"#ebbcba","terminal.ansiBrightGreen":"#31748f","terminal.ansiBrightMagenta":"#c4a7e7","terminal.ansiBrightRed":"#eb6f92","terminal.ansiBrightWhite":"#e0def4","terminal.ansiBrightYellow":"#f6c177","terminal.ansiCyan":"#ebbcba","terminal.ansiGreen":"#31748f","terminal.ansiMagenta":"#c4a7e7","terminal.ansiRed":"#eb6f92","terminal.ansiWhite":"#e0def4","terminal.ansiYellow":"#f6c177","terminal.dropBackground":"#6e6a8633","terminal.foreground":"#e0def4","terminal.selectionBackground":"#6e6a8633","terminal.tab.activeBorder":"#e0def4","terminalCursor.background":"#e0def4","terminalCursor.foreground":"#6e6a86","textBlockQuote.background":"#1f1d2e","textBlockQuote.border":"#6e6a8633","textCodeBlock.background":"#1f1d2e","textLink.activeForeground":"#c4a7e7e6","textLink.foreground":"#c4a7e7","textPreformat.foreground":"#f6c177","textSeparator.foreground":"#908caa","titleBar.activeBackground":"#191724","titleBar.activeForeground":"#908caa","titleBar.inactiveBackground":"#1f1d2e","titleBar.inactiveForeground":"#908caa","toolbar.activeBackground":"#6e6a8666","toolbar.hoverBackground":"#6e6a8633","tree.indentGuidesStroke":"#908caa","walkThrough.embeddedEditorBackground":"#191724","welcomePage.background":"#191724","widget.shadow":"#1f1d2e4d","window.activeBorder":"#1f1d2e","window.inactiveBorder":"#1f1d2e"},"displayName":"Rosé Pine","name":"rose-pine","tokenColors":[{"scope":["comment"],"settings":{"fontStyle":"italic","foreground":"#6e6a86"}},{"scope":["constant"],"settings":{"foreground":"#31748f"}},{"scope":["constant.numeric","constant.language"],"settings":{"foreground":"#ebbcba"}},{"scope":["entity.name"],"settings":{"foreground":"#ebbcba"}},{"scope":["entity.name.section","entity.name.tag","entity.name.namespace","entity.name.type"],"settings":{"foreground":"#9ccfd8"}},{"scope":["entity.other.attribute-name","entity.other.inherited-class"],"settings":{"fontStyle":"italic","foreground":"#c4a7e7"}},{"scope":["invalid"],"settings":{"foreground":"#eb6f92"}},{"scope":["invalid.deprecated"],"settings":{"foreground":"#908caa"}},{"scope":["keyword","variable.language.this"],"settings":{"foreground":"#31748f"}},{"scope":["markup.inserted.diff"],"settings":{"foreground":"#9ccfd8"}},{"scope":["markup.deleted.diff"],"settings":{"foreground":"#eb6f92"}},{"scope":"markup.heading","settings":{"fontStyle":"bold"}},{"scope":"markup.bold.markdown","settings":{"fontStyle":"bold"}},{"scope":"markup.italic.markdown","settings":{"fontStyle":"italic"}},{"scope":["meta.diff.range"],"settings":{"foreground":"#c4a7e7"}},{"scope":["meta.tag","meta.brace"],"settings":{"foreground":"#e0def4"}},{"scope":["meta.import","meta.export"],"settings":{"foreground":"#31748f"}},{"scope":"meta.directive.vue","settings":{"fontStyle":"italic","foreground":"#c4a7e7"}},{"scope":"meta.property-name.css","settings":{"foreground":"#9ccfd8"}},{"scope":"meta.property-value.css","settings":{"foreground":"#f6c177"}},{"scope":"meta.tag.other.html","settings":{"foreground":"#908caa"}},{"scope":["punctuation"],"settings":{"foreground":"#908caa"}},{"scope":["punctuation.accessor"],"settings":{"foreground":"#31748f"}},{"scope":["punctuation.definition.string"],"settings":{"foreground":"#f6c177"}},{"scope":["punctuation.definition.tag"],"settings":{"foreground":"#6e6a86"}},{"scope":["storage.type","storage.modifier"],"settings":{"foreground":"#31748f"}},{"scope":["string"],"settings":{"foreground":"#f6c177"}},{"scope":["support"],"settings":{"foreground":"#9ccfd8"}},{"scope":["support.constant"],"settings":{"foreground":"#f6c177"}},{"scope":["support.function"],"settings":{"fontStyle":"italic","foreground":"#eb6f92"}},{"scope":["variable"],"settings":{"fontStyle":"italic","foreground":"#ebbcba"}},{"scope":["variable.other","variable.language","variable.function","variable.argument"],"settings":{"foreground":"#e0def4"}},{"scope":["variable.parameter"],"settings":{"foreground":"#c4a7e7"}}],"type":"dark"}'));export{e as default};
|
|
1
|
+
const e=Object.freeze(JSON.parse('{"colors":{"activityBar.activeBorder":"#e0def4","activityBar.background":"#191724","activityBar.dropBorder":"#26233a","activityBar.foreground":"#e0def4","activityBar.inactiveForeground":"#908caa","activityBarBadge.background":"#ebbcba","activityBarBadge.foreground":"#191724","badge.background":"#ebbcba","badge.foreground":"#191724","banner.background":"#1f1d2e","banner.foreground":"#e0def4","banner.iconForeground":"#908caa","breadcrumb.activeSelectionForeground":"#ebbcba","breadcrumb.background":"#191724","breadcrumb.focusForeground":"#908caa","breadcrumb.foreground":"#6e6a86","breadcrumbPicker.background":"#1f1d2e","button.background":"#ebbcba","button.foreground":"#191724","button.hoverBackground":"#ebbcbae6","button.secondaryBackground":"#1f1d2e","button.secondaryForeground":"#e0def4","button.secondaryHoverBackground":"#26233a","charts.blue":"#9ccfd8","charts.foreground":"#e0def4","charts.green":"#31748f","charts.lines":"#908caa","charts.orange":"#ebbcba","charts.purple":"#c4a7e7","charts.red":"#eb6f92","charts.yellow":"#f6c177","checkbox.background":"#1f1d2e","checkbox.border":"#6e6a8633","checkbox.foreground":"#e0def4","debugExceptionWidget.background":"#1f1d2e","debugExceptionWidget.border":"#6e6a8633","debugIcon.breakpointCurrentStackframeForeground":"#908caa","debugIcon.breakpointDisabledForeground":"#908caa","debugIcon.breakpointForeground":"#908caa","debugIcon.breakpointStackframeForeground":"#908caa","debugIcon.breakpointUnverifiedForeground":"#908caa","debugIcon.continueForeground":"#908caa","debugIcon.disconnectForeground":"#908caa","debugIcon.pauseForeground":"#908caa","debugIcon.restartForeground":"#908caa","debugIcon.startForeground":"#908caa","debugIcon.stepBackForeground":"#908caa","debugIcon.stepIntoForeground":"#908caa","debugIcon.stepOutForeground":"#908caa","debugIcon.stepOverForeground":"#908caa","debugIcon.stopForeground":"#eb6f92","debugToolBar.background":"#1f1d2e","debugToolBar.border":"#26233a","descriptionForeground":"#908caa","diffEditor.border":"#26233a","diffEditor.diagonalFill":"#6e6a8666","diffEditor.insertedLineBackground":"#9ccfd826","diffEditor.insertedTextBackground":"#9ccfd826","diffEditor.removedLineBackground":"#eb6f9226","diffEditor.removedTextBackground":"#eb6f9226","diffEditorOverview.insertedForeground":"#9ccfd880","diffEditorOverview.removedForeground":"#eb6f9280","dropdown.background":"#1f1d2e","dropdown.border":"#6e6a8633","dropdown.foreground":"#e0def4","dropdown.listBackground":"#1f1d2e","editor.background":"#191724","editor.findMatchBackground":"#f6c17733","editor.findMatchBorder":"#f6c17780","editor.findMatchForeground":"#e0def4","editor.findMatchHighlightBackground":"#6e6a8666","editor.findMatchHighlightForeground":"#e0def4cc","editor.findRangeHighlightBackground":"#6e6a8666","editor.findRangeHighlightBorder":"#0000","editor.focusedStackFrameHighlightBackground":"#6e6a8633","editor.foldBackground":"#6e6a8633","editor.foreground":"#e0def4","editor.hoverHighlightBackground":"#0000","editor.inactiveSelectionBackground":"#6e6a861a","editor.inlineValuesBackground":"#0000","editor.inlineValuesForeground":"#908caa","editor.lineHighlightBackground":"#6e6a861a","editor.lineHighlightBorder":"#0000","editor.linkedEditingBackground":"#6e6a8633","editor.rangeHighlightBackground":"#6e6a861a","editor.selectionBackground":"#6e6a8633","editor.selectionForeground":"#e0def4","editor.selectionHighlightBackground":"#6e6a8633","editor.selectionHighlightBorder":"#191724","editor.snippetFinalTabstopHighlightBackground":"#6e6a8633","editor.snippetFinalTabstopHighlightBorder":"#1f1d2e","editor.snippetTabstopHighlightBackground":"#6e6a8633","editor.snippetTabstopHighlightBorder":"#1f1d2e","editor.stackFrameHighlightBackground":"#6e6a8633","editor.symbolHighlightBackground":"#6e6a8633","editor.symbolHighlightBorder":"#0000","editor.wordHighlightBackground":"#6e6a8633","editor.wordHighlightBorder":"#0000","editor.wordHighlightStrongBackground":"#6e6a8633","editor.wordHighlightStrongBorder":"#6e6a8633","editorBracketHighlight.foreground1":"#eb6f9280","editorBracketHighlight.foreground2":"#31748f80","editorBracketHighlight.foreground3":"#f6c17780","editorBracketHighlight.foreground4":"#9ccfd880","editorBracketHighlight.foreground5":"#ebbcba80","editorBracketHighlight.foreground6":"#c4a7e780","editorBracketMatch.background":"#0000","editorBracketMatch.border":"#908caa","editorBracketPairGuide.activeBackground1":"#31748f","editorBracketPairGuide.activeBackground2":"#ebbcba","editorBracketPairGuide.activeBackground3":"#c4a7e7","editorBracketPairGuide.activeBackground4":"#9ccfd8","editorBracketPairGuide.activeBackground5":"#f6c177","editorBracketPairGuide.activeBackground6":"#eb6f92","editorBracketPairGuide.background1":"#31748f80","editorBracketPairGuide.background2":"#ebbcba80","editorBracketPairGuide.background3":"#c4a7e780","editorBracketPairGuide.background4":"#9ccfd880","editorBracketPairGuide.background5":"#f6c17780","editorBracketPairGuide.background6":"#eb6f9280","editorCodeLens.foreground":"#ebbcba","editorCursor.background":"#e0def4","editorCursor.foreground":"#6e6a86","editorError.border":"#0000","editorError.foreground":"#eb6f92","editorGhostText.foreground":"#908caa","editorGroup.border":"#0000","editorGroup.dropBackground":"#1f1d2e","editorGroup.emptyBackground":"#0000","editorGroup.focusedEmptyBorder":"#0000","editorGroupHeader.noTabsBackground":"#0000","editorGroupHeader.tabsBackground":"#0000","editorGroupHeader.tabsBorder":"#0000","editorGutter.addedBackground":"#9ccfd8","editorGutter.background":"#191724","editorGutter.commentRangeForeground":"#26233a","editorGutter.deletedBackground":"#eb6f92","editorGutter.foldingControlForeground":"#c4a7e7","editorGutter.modifiedBackground":"#ebbcba","editorHint.border":"#0000","editorHint.foreground":"#908caa","editorHoverWidget.background":"#1f1d2e","editorHoverWidget.border":"#6e6a8680","editorHoverWidget.foreground":"#908caa","editorHoverWidget.highlightForeground":"#e0def4","editorHoverWidget.statusBarBackground":"#0000","editorIndentGuide.activeBackground1":"#6e6a86","editorIndentGuide.background1":"#6e6a8666","editorInfo.border":"#26233a","editorInfo.foreground":"#9ccfd8","editorInlayHint.background":"#26233a80","editorInlayHint.foreground":"#908caa80","editorInlayHint.parameterBackground":"#26233a80","editorInlayHint.parameterForeground":"#c4a7e780","editorInlayHint.typeBackground":"#26233a80","editorInlayHint.typeForeground":"#9ccfd880","editorLightBulb.foreground":"#31748f","editorLightBulbAutoFix.foreground":"#ebbcba","editorLineNumber.activeForeground":"#e0def4","editorLineNumber.foreground":"#908caa","editorLink.activeForeground":"#ebbcba","editorMarkerNavigation.background":"#1f1d2e","editorMarkerNavigationError.background":"#1f1d2e","editorMarkerNavigationInfo.background":"#1f1d2e","editorMarkerNavigationWarning.background":"#1f1d2e","editorOverviewRuler.addedForeground":"#9ccfd880","editorOverviewRuler.background":"#191724","editorOverviewRuler.border":"#6e6a8666","editorOverviewRuler.bracketMatchForeground":"#908caa","editorOverviewRuler.commentForeground":"#908caa80","editorOverviewRuler.commentUnresolvedForeground":"#f6c17780","editorOverviewRuler.commonContentForeground":"#6e6a861a","editorOverviewRuler.currentContentForeground":"#6e6a8633","editorOverviewRuler.deletedForeground":"#eb6f9280","editorOverviewRuler.errorForeground":"#eb6f9280","editorOverviewRuler.findMatchForeground":"#6e6a8666","editorOverviewRuler.incomingContentForeground":"#c4a7e780","editorOverviewRuler.infoForeground":"#9ccfd880","editorOverviewRuler.modifiedForeground":"#ebbcba80","editorOverviewRuler.rangeHighlightForeground":"#6e6a8666","editorOverviewRuler.selectionHighlightForeground":"#6e6a8666","editorOverviewRuler.warningForeground":"#f6c17780","editorOverviewRuler.wordHighlightForeground":"#6e6a8633","editorOverviewRuler.wordHighlightStrongForeground":"#6e6a8666","editorPane.background":"#0000","editorRuler.foreground":"#6e6a8666","editorSuggestWidget.background":"#1f1d2e","editorSuggestWidget.border":"#0000","editorSuggestWidget.focusHighlightForeground":"#ebbcba","editorSuggestWidget.foreground":"#908caa","editorSuggestWidget.highlightForeground":"#ebbcba","editorSuggestWidget.selectedBackground":"#6e6a8633","editorSuggestWidget.selectedForeground":"#e0def4","editorSuggestWidget.selectedIconForeground":"#e0def4","editorUnnecessaryCode.border":"#0000","editorUnnecessaryCode.opacity":"#e0def480","editorWarning.border":"#0000","editorWarning.foreground":"#f6c177","editorWhitespace.foreground":"#6e6a8680","editorWidget.background":"#1f1d2e","editorWidget.border":"#26233a","editorWidget.foreground":"#908caa","editorWidget.resizeBorder":"#6e6a86","errorForeground":"#eb6f92","extensionBadge.remoteBackground":"#c4a7e7","extensionBadge.remoteForeground":"#191724","extensionButton.prominentBackground":"#ebbcba","extensionButton.prominentForeground":"#191724","extensionButton.prominentHoverBackground":"#ebbcbae6","extensionIcon.preReleaseForeground":"#31748f","extensionIcon.starForeground":"#ebbcba","extensionIcon.verifiedForeground":"#c4a7e7","focusBorder":"#6e6a8633","foreground":"#e0def4","git.blame.editorDecorationForeground":"#6e6a86","gitDecoration.addedResourceForeground":"#9ccfd8","gitDecoration.conflictingResourceForeground":"#eb6f92","gitDecoration.deletedResourceForeground":"#908caa","gitDecoration.ignoredResourceForeground":"#6e6a86","gitDecoration.modifiedResourceForeground":"#ebbcba","gitDecoration.renamedResourceForeground":"#31748f","gitDecoration.stageDeletedResourceForeground":"#eb6f92","gitDecoration.stageModifiedResourceForeground":"#c4a7e7","gitDecoration.submoduleResourceForeground":"#f6c177","gitDecoration.untrackedResourceForeground":"#f6c177","icon.foreground":"#908caa","input.background":"#26233a80","input.border":"#6e6a8633","input.foreground":"#e0def4","input.placeholderForeground":"#908caa","inputOption.activeBackground":"#ebbcba26","inputOption.activeBorder":"#0000","inputOption.activeForeground":"#ebbcba","inputValidation.errorBackground":"#1f1d2e","inputValidation.errorBorder":"#6e6a8666","inputValidation.errorForeground":"#eb6f92","inputValidation.infoBackground":"#1f1d2e","inputValidation.infoBorder":"#6e6a8666","inputValidation.infoForeground":"#9ccfd8","inputValidation.warningBackground":"#1f1d2e","inputValidation.warningBorder":"#6e6a8666","inputValidation.warningForeground":"#9ccfd880","keybindingLabel.background":"#26233a","keybindingLabel.border":"#6e6a8666","keybindingLabel.bottomBorder":"#6e6a8666","keybindingLabel.foreground":"#c4a7e7","keybindingTable.headerBackground":"#26233a","keybindingTable.rowsBackground":"#1f1d2e","list.activeSelectionBackground":"#6e6a8633","list.activeSelectionForeground":"#e0def4","list.deemphasizedForeground":"#908caa","list.dropBackground":"#1f1d2e","list.errorForeground":"#eb6f92","list.filterMatchBackground":"#1f1d2e","list.filterMatchBorder":"#ebbcba","list.focusBackground":"#6e6a8666","list.focusForeground":"#e0def4","list.focusOutline":"#6e6a8633","list.highlightForeground":"#ebbcba","list.hoverBackground":"#6e6a861a","list.hoverForeground":"#e0def4","list.inactiveFocusBackground":"#6e6a861a","list.inactiveSelectionBackground":"#1f1d2e","list.inactiveSelectionForeground":"#e0def4","list.invalidItemForeground":"#eb6f92","list.warningForeground":"#f6c177","listFilterWidget.background":"#1f1d2e","listFilterWidget.noMatchesOutline":"#eb6f92","listFilterWidget.outline":"#26233a","menu.background":"#1f1d2e","menu.border":"#6e6a861a","menu.foreground":"#e0def4","menu.selectionBackground":"#6e6a8633","menu.selectionBorder":"#26233a","menu.selectionForeground":"#e0def4","menu.separatorBackground":"#6e6a8666","menubar.selectionBackground":"#6e6a8633","menubar.selectionBorder":"#6e6a861a","menubar.selectionForeground":"#e0def4","merge.border":"#26233a","merge.commonContentBackground":"#6e6a8633","merge.commonHeaderBackground":"#6e6a8633","merge.currentContentBackground":"#f6c17733","merge.currentHeaderBackground":"#f6c17733","merge.incomingContentBackground":"#9ccfd833","merge.incomingHeaderBackground":"#9ccfd833","minimap.background":"#1f1d2e","minimap.errorHighlight":"#eb6f9280","minimap.findMatchHighlight":"#6e6a8633","minimap.selectionHighlight":"#6e6a8633","minimap.warningHighlight":"#f6c17780","minimapGutter.addedBackground":"#9ccfd8","minimapGutter.deletedBackground":"#eb6f92","minimapGutter.modifiedBackground":"#ebbcba","minimapSlider.activeBackground":"#6e6a8666","minimapSlider.background":"#6e6a8633","minimapSlider.hoverBackground":"#6e6a8633","notebook.cellBorderColor":"#9ccfd880","notebook.cellEditorBackground":"#1f1d2e","notebook.cellHoverBackground":"#26233a80","notebook.focusedCellBackground":"#6e6a861a","notebook.focusedCellBorder":"#9ccfd8","notebook.outputContainerBackgroundColor":"#6e6a861a","notificationCenter.border":"#6e6a8633","notificationCenterHeader.background":"#1f1d2e","notificationCenterHeader.foreground":"#908caa","notificationLink.foreground":"#c4a7e7","notificationToast.border":"#6e6a8633","notifications.background":"#1f1d2e","notifications.border":"#6e6a8633","notifications.foreground":"#e0def4","notificationsErrorIcon.foreground":"#eb6f92","notificationsInfoIcon.foreground":"#9ccfd8","notificationsWarningIcon.foreground":"#f6c177","panel.background":"#1f1d2e","panel.border":"#0000","panel.dropBorder":"#26233a","panelInput.border":"#1f1d2e","panelSection.dropBackground":"#6e6a8633","panelSectionHeader.background":"#1f1d2e","panelSectionHeader.foreground":"#e0def4","panelTitle.activeBorder":"#6e6a8666","panelTitle.activeForeground":"#e0def4","panelTitle.inactiveForeground":"#908caa","peekView.border":"#26233a","peekViewEditor.background":"#1f1d2e","peekViewEditor.matchHighlightBackground":"#6e6a8666","peekViewResult.background":"#1f1d2e","peekViewResult.fileForeground":"#908caa","peekViewResult.lineForeground":"#908caa","peekViewResult.matchHighlightBackground":"#6e6a8666","peekViewResult.selectionBackground":"#6e6a8633","peekViewResult.selectionForeground":"#e0def4","peekViewTitle.background":"#26233a","peekViewTitleDescription.foreground":"#908caa","pickerGroup.border":"#6e6a8666","pickerGroup.foreground":"#c4a7e7","ports.iconRunningProcessForeground":"#ebbcba","problemsErrorIcon.foreground":"#eb6f92","problemsInfoIcon.foreground":"#9ccfd8","problemsWarningIcon.foreground":"#f6c177","progressBar.background":"#ebbcba","quickInput.background":"#1f1d2e","quickInput.foreground":"#908caa","quickInputList.focusBackground":"#6e6a8633","quickInputList.focusForeground":"#e0def4","quickInputList.focusIconForeground":"#e0def4","scrollbar.shadow":"#1f1d2e4d","scrollbarSlider.activeBackground":"#31748f80","scrollbarSlider.background":"#6e6a8633","scrollbarSlider.hoverBackground":"#6e6a8666","searchEditor.findMatchBackground":"#6e6a8633","selection.background":"#6e6a8666","settings.focusedRowBackground":"#1f1d2e","settings.focusedRowBorder":"#6e6a8633","settings.headerForeground":"#e0def4","settings.modifiedItemIndicator":"#ebbcba","settings.rowHoverBackground":"#1f1d2e","sideBar.background":"#191724","sideBar.dropBackground":"#1f1d2e","sideBar.foreground":"#908caa","sideBarSectionHeader.background":"#0000","sideBarSectionHeader.border":"#6e6a8633","statusBar.background":"#191724","statusBar.debuggingBackground":"#c4a7e7","statusBar.debuggingForeground":"#191724","statusBar.foreground":"#908caa","statusBar.noFolderBackground":"#191724","statusBar.noFolderForeground":"#908caa","statusBarItem.activeBackground":"#6e6a8666","statusBarItem.errorBackground":"#191724","statusBarItem.errorForeground":"#eb6f92","statusBarItem.hoverBackground":"#6e6a8633","statusBarItem.prominentBackground":"#26233a","statusBarItem.prominentForeground":"#e0def4","statusBarItem.prominentHoverBackground":"#6e6a8633","statusBarItem.remoteBackground":"#191724","statusBarItem.remoteForeground":"#f6c177","symbolIcon.arrayForeground":"#908caa","symbolIcon.classForeground":"#908caa","symbolIcon.colorForeground":"#908caa","symbolIcon.constantForeground":"#908caa","symbolIcon.constructorForeground":"#908caa","symbolIcon.enumeratorForeground":"#908caa","symbolIcon.enumeratorMemberForeground":"#908caa","symbolIcon.eventForeground":"#908caa","symbolIcon.fieldForeground":"#908caa","symbolIcon.fileForeground":"#908caa","symbolIcon.folderForeground":"#908caa","symbolIcon.functionForeground":"#908caa","symbolIcon.interfaceForeground":"#908caa","symbolIcon.keyForeground":"#908caa","symbolIcon.keywordForeground":"#908caa","symbolIcon.methodForeground":"#908caa","symbolIcon.moduleForeground":"#908caa","symbolIcon.namespaceForeground":"#908caa","symbolIcon.nullForeground":"#908caa","symbolIcon.numberForeground":"#908caa","symbolIcon.objectForeground":"#908caa","symbolIcon.operatorForeground":"#908caa","symbolIcon.packageForeground":"#908caa","symbolIcon.propertyForeground":"#908caa","symbolIcon.referenceForeground":"#908caa","symbolIcon.snippetForeground":"#908caa","symbolIcon.stringForeground":"#908caa","symbolIcon.structForeground":"#908caa","symbolIcon.textForeground":"#908caa","symbolIcon.typeParameterForeground":"#908caa","symbolIcon.unitForeground":"#908caa","symbolIcon.variableForeground":"#908caa","tab.activeBackground":"#6e6a861a","tab.activeForeground":"#e0def4","tab.activeModifiedBorder":"#9ccfd8","tab.border":"#0000","tab.hoverBackground":"#6e6a8633","tab.inactiveBackground":"#0000","tab.inactiveForeground":"#908caa","tab.inactiveModifiedBorder":"#9ccfd880","tab.lastPinnedBorder":"#6e6a86","tab.unfocusedActiveBackground":"#0000","tab.unfocusedHoverBackground":"#0000","tab.unfocusedInactiveBackground":"#0000","tab.unfocusedInactiveModifiedBorder":"#9ccfd880","terminal.ansiBlack":"#26233a","terminal.ansiBlue":"#9ccfd8","terminal.ansiBrightBlack":"#908caa","terminal.ansiBrightBlue":"#9ccfd8","terminal.ansiBrightCyan":"#ebbcba","terminal.ansiBrightGreen":"#31748f","terminal.ansiBrightMagenta":"#c4a7e7","terminal.ansiBrightRed":"#eb6f92","terminal.ansiBrightWhite":"#e0def4","terminal.ansiBrightYellow":"#f6c177","terminal.ansiCyan":"#ebbcba","terminal.ansiGreen":"#31748f","terminal.ansiMagenta":"#c4a7e7","terminal.ansiRed":"#eb6f92","terminal.ansiWhite":"#e0def4","terminal.ansiYellow":"#f6c177","terminal.dropBackground":"#6e6a8633","terminal.foreground":"#e0def4","terminal.selectionBackground":"#6e6a8633","terminal.tab.activeBorder":"#e0def4","terminalCursor.background":"#e0def4","terminalCursor.foreground":"#6e6a86","textBlockQuote.background":"#1f1d2e","textBlockQuote.border":"#6e6a8633","textCodeBlock.background":"#1f1d2e","textLink.activeForeground":"#c4a7e7e6","textLink.foreground":"#c4a7e7","textPreformat.foreground":"#f6c177","textSeparator.foreground":"#908caa","titleBar.activeBackground":"#191724","titleBar.activeForeground":"#908caa","titleBar.inactiveBackground":"#1f1d2e","titleBar.inactiveForeground":"#908caa","toolbar.activeBackground":"#6e6a8666","toolbar.hoverBackground":"#6e6a8633","tree.indentGuidesStroke":"#908caa","walkThrough.embeddedEditorBackground":"#191724","welcomePage.background":"#191724","widget.shadow":"#1f1d2e4d","window.activeBorder":"#1f1d2e","window.inactiveBorder":"#1f1d2e"},"displayName":"Rosé Pine","name":"rose-pine","tokenColors":[{"scope":["comment"],"settings":{"fontStyle":"italic","foreground":"#6e6a86"}},{"scope":["constant"],"settings":{"foreground":"#31748f"}},{"scope":["constant.numeric","constant.language"],"settings":{"foreground":"#ebbcba"}},{"scope":["entity.name"],"settings":{"foreground":"#ebbcba"}},{"scope":["entity.name.section","entity.name.tag","entity.name.namespace","entity.name.type"],"settings":{"foreground":"#9ccfd8"}},{"scope":["entity.other.attribute-name","entity.other.inherited-class"],"settings":{"fontStyle":"italic","foreground":"#c4a7e7"}},{"scope":["invalid"],"settings":{"foreground":"#eb6f92"}},{"scope":["invalid.deprecated"],"settings":{"foreground":"#908caa"}},{"scope":["keyword","variable.language.this"],"settings":{"foreground":"#31748f"}},{"scope":["markup.inserted.diff"],"settings":{"foreground":"#9ccfd8"}},{"scope":["markup.deleted.diff"],"settings":{"foreground":"#eb6f92"}},{"scope":"markup.heading","settings":{"fontStyle":"bold"}},{"scope":"markup.bold.markdown","settings":{"fontStyle":"bold"}},{"scope":"markup.italic.markdown","settings":{"fontStyle":"italic"}},{"scope":["meta.diff.range"],"settings":{"foreground":"#c4a7e7"}},{"scope":["meta.tag","meta.brace"],"settings":{"foreground":"#e0def4"}},{"scope":["meta.import","meta.export"],"settings":{"foreground":"#31748f"}},{"scope":"meta.directive.vue","settings":{"fontStyle":"italic","foreground":"#c4a7e7"}},{"scope":"meta.property-name.css","settings":{"foreground":"#9ccfd8"}},{"scope":"meta.property-value.css","settings":{"foreground":"#f6c177"}},{"scope":"meta.tag.other.html","settings":{"foreground":"#908caa"}},{"scope":["punctuation"],"settings":{"foreground":"#908caa"}},{"scope":["punctuation.accessor"],"settings":{"foreground":"#31748f"}},{"scope":["punctuation.definition.string"],"settings":{"foreground":"#f6c177"}},{"scope":["punctuation.definition.tag"],"settings":{"foreground":"#6e6a86"}},{"scope":["storage.type","storage.modifier"],"settings":{"foreground":"#31748f"}},{"scope":["string"],"settings":{"foreground":"#f6c177"}},{"scope":["support"],"settings":{"foreground":"#9ccfd8"}},{"scope":["support.constant"],"settings":{"foreground":"#f6c177"}},{"scope":["support.function"],"settings":{"fontStyle":"italic","foreground":"#eb6f92"}},{"scope":["variable"],"settings":{"fontStyle":"italic","foreground":"#ebbcba"}},{"scope":["variable.other","variable.language","variable.function","variable.argument"],"settings":{"foreground":"#e0def4"}},{"scope":["variable.parameter"],"settings":{"foreground":"#c4a7e7"}}],"type":"dark"}'));export{e as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as O,B as q,C as B,p as T,e as k,D as j,E as N,G as E,H as U,I,y as L,J as A,K as D,L as w,M as H,j as b,N as P,O as F,P as V,Q as M,R as z,S as W,T as G}from"./
|
|
1
|
+
import{g as O,B as q,C as B,p as T,e as k,D as j,E as N,G as E,H as U,I,y as L,J as A,K as D,L as w,M as H,j as b,N as P,O as F,P as V,Q as M,R as z,S as W,T as G}from"./Ckm7x3qc.js";const Q=(...t)=>t.find(o=>o!==void 0);function $(t){const o=t.componentName||"NuxtLink";function v(e){return typeof e=="string"&&e.startsWith("#")}function S(e,u,f){const r=f??t.trailingSlash;if(!e||r!=="append"&&r!=="remove")return e;if(typeof e=="string")return C(e,r);const l="path"in e&&e.path!==void 0?e.path:u(e).path;return{...e,name:void 0,path:C(l,r)}}function R(e){const u=q(),f=V(),r=b(()=>!!e.target&&e.target!=="_self"),l=b(()=>{const i=e.to||e.href||"";return typeof i=="string"&&P(i,{acceptRelative:!0})}),y=A("RouterLink"),h=y&&typeof y!="string"?y.useLink:void 0,c=b(()=>{if(e.external)return!0;const i=e.to||e.href||"";return typeof i=="object"?!1:i===""||l.value}),n=b(()=>{const i=e.to||e.href||"";return c.value?i:S(i,u.resolve,e.trailingSlash)}),g=c.value?void 0:h?.({...e,to:n}),p=b(()=>{const i=e.trailingSlash??t.trailingSlash;if(!n.value||l.value||v(n.value))return n.value;if(c.value){const m=typeof n.value=="object"&&"path"in n.value?w(n.value):n.value,x=typeof m=="object"?u.resolve(m).href:m;return C(x,i)}return typeof n.value=="object"?u.resolve(n.value)?.href??null:C(F(f.app.baseURL,n.value),i)});return{to:n,hasTarget:r,isAbsoluteUrl:l,isExternal:c,href:p,isActive:g?.isActive??b(()=>n.value===u.currentRoute.value.path),isExactActive:g?.isExactActive??b(()=>n.value===u.currentRoute.value.path),route:g?.route??b(()=>u.resolve(n.value)),async navigate(i){await M(p.value,{replace:e.replace,external:c.value||r.value})}}}return O({name:o,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1},trailingSlash:{type:String,default:void 0,required:!1}},useLink:R,setup(e,{slots:u}){const f=q(),{to:r,href:l,navigate:y,isExternal:h,hasTarget:c,isAbsoluteUrl:n}=R(e),g=B(!1),p=T(null),i=s=>{p.value=e.custom?s?.$el?.nextElementSibling:s?.$el};function m(s){return!g.value&&(typeof e.prefetchOn=="string"?e.prefetchOn===s:e.prefetchOn?.[s]??t.prefetchOn?.[s])&&(e.prefetch??t.prefetch)!==!1&&e.noPrefetch!==!0&&e.target!=="_blank"&&!X()}async function x(s=k()){if(g.value)return;g.value=!0;const d=typeof r.value=="string"?r.value:h.value?w(r.value):f.resolve(r.value).fullPath,a=h.value?new URL(d,window.location.href).href:d;await Promise.all([s.hooks.callHook("link:prefetch",a).catch(()=>{}),!h.value&&!c.value&&H(r.value,f).catch(()=>{})])}if(m("visibility")){const s=k();let d,a=null;j(()=>{const _=J();N(()=>{d=E(()=>{p?.value?.tagName&&(a=_.observe(p.value,async()=>{a?.(),a=null,await x(s)}))})})}),U(()=>{d&&I(d),a?.(),a=null})}return()=>{if(!h.value&&!c.value&&!v(r.value)){const a={ref:i,to:r.value,activeClass:e.activeClass||t.activeClass,exactActiveClass:e.exactActiveClass||t.exactActiveClass,replace:e.replace,ariaCurrentValue:e.ariaCurrentValue,custom:e.custom};return e.custom||(m("interaction")&&(a.onPointerenter=x.bind(null,void 0),a.onFocus=x.bind(null,void 0)),g.value&&(a.class=e.prefetchedClass||t.prefetchedClass),a.rel=e.rel||void 0),L(A("RouterLink"),a,u.default)}const s=e.target||null,d=Q(e.noRel?"":e.rel,t.externalRelAttribute,n.value||c.value?"noopener noreferrer":"")||null;return e.custom?u.default?u.default({href:l.value,navigate:y,prefetch:x,get route(){if(!l.value)return;const a=new URL(l.value,window.location.href);return{path:a.pathname,fullPath:a.pathname,get query(){return D(a.search)},hash:a.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:l.value}},rel:d,target:s,isExternal:h.value||c.value,isActive:!1,isExactActive:!1}):null:L("a",{ref:p,href:l.value||null,rel:d,target:s,onClick:a=>{if(!(h.value||c.value))return a.preventDefault(),e.replace?f.replace(l.value):f.push(l.value)}},u.default?.())}}})}const Z=$(G);function C(t,o){const v=o==="append"?z:W;return P(t)&&!t.startsWith("http")?t:v(t,!0)}function J(){const t=k();if(t._observer)return t._observer;let o=null;const v=new Map,S=(e,u)=>(o||=new IntersectionObserver(f=>{for(const r of f){const l=v.get(r.target);(r.isIntersecting||r.intersectionRatio>0)&&l&&l()}}),v.set(e,u),o.observe(e),()=>{v.delete(e),o?.unobserve(e),v.size===0&&(o?.disconnect(),o=null)});return t._observer={observe:S}}const K=/2g/;function X(){const t=navigator.connection;return!!(t&&(t.saveData||K.test(t.effectiveType)))}export{Z as _};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="/__nuxt-hints/_nuxt/entry.CqH3PPiL.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__nuxt-hints/_nuxt/
|
|
1
|
+
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="/__nuxt-hints/_nuxt/entry.CqH3PPiL.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__nuxt-hints/_nuxt/Ckm7x3qc.js"><script type="module" src="/__nuxt-hints/_nuxt/Ckm7x3qc.js" crossorigin></script></head><body><div id="__nuxt"></div><div id="teleports"></div><script type="application/json" data-nuxt-data="nuxt-hints-iframe" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1764624703489,false]</script><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-hints",buildId:"b0fc6608-9102-4a88-9842-0a2ed6526798",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
|
package/dist/client/index.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="/__nuxt-hints/_nuxt/entry.CqH3PPiL.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__nuxt-hints/_nuxt/
|
|
1
|
+
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="/__nuxt-hints/_nuxt/entry.CqH3PPiL.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__nuxt-hints/_nuxt/Ckm7x3qc.js"><script type="module" src="/__nuxt-hints/_nuxt/Ckm7x3qc.js" crossorigin></script></head><body><div id="__nuxt"></div><div id="teleports"></div><script type="application/json" data-nuxt-data="nuxt-hints-iframe" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1764624703489,false]</script><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-hints",buildId:"b0fc6608-9102-4a88-9842-0a2ed6526798",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="/__nuxt-hints/_nuxt/entry.CqH3PPiL.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__nuxt-hints/_nuxt/
|
|
1
|
+
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="/__nuxt-hints/_nuxt/entry.CqH3PPiL.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__nuxt-hints/_nuxt/Ckm7x3qc.js"><script type="module" src="/__nuxt-hints/_nuxt/Ckm7x3qc.js" crossorigin></script></head><body><div id="__nuxt"></div><div id="teleports"></div><script type="application/json" data-nuxt-data="nuxt-hints-iframe" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1764624703489,false]</script><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-hints",buildId:"b0fc6608-9102-4a88-9842-0a2ed6526798",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="/__nuxt-hints/_nuxt/entry.CqH3PPiL.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__nuxt-hints/_nuxt/
|
|
1
|
+
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="/__nuxt-hints/_nuxt/entry.CqH3PPiL.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__nuxt-hints/_nuxt/Ckm7x3qc.js"><script type="module" src="/__nuxt-hints/_nuxt/Ckm7x3qc.js" crossorigin></script></head><body><div id="__nuxt"></div><div id="teleports"></div><script type="application/json" data-nuxt-data="nuxt-hints-iframe" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1764624703489,false]</script><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-hints",buildId:"b0fc6608-9102-4a88-9842-0a2ed6526798",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { addDevServerHandler, defineNuxtModule, createResolver, addPlugin, addBuildPlugin,
|
|
1
|
+
import { addDevServerHandler, defineNuxtModule, createResolver, addComponent, addPlugin, addBuildPlugin, addServerPlugin } from '@nuxt/kit';
|
|
2
2
|
import { existsSync } from 'node:fs';
|
|
3
3
|
import { eventHandler, proxyRequest } from 'h3';
|
|
4
|
+
import { genImport } from 'knitwork';
|
|
4
5
|
import MagicString from 'magic-string';
|
|
6
|
+
import { parseSync } from 'oxc-parser';
|
|
5
7
|
import { createUnplugin } from 'unplugin';
|
|
6
8
|
|
|
7
9
|
const DEVTOOLS_UI_ROUTE = "/__nuxt-hints";
|
|
@@ -39,47 +41,115 @@ function setupDevToolsUI(nuxt, resolver) {
|
|
|
39
41
|
});
|
|
40
42
|
}
|
|
41
43
|
|
|
42
|
-
const
|
|
43
|
-
const
|
|
44
|
+
const INCLUDE_VUE_RE = /\.vue$/;
|
|
45
|
+
const EXCLUDE_NODE_MODULES = /node_modules/;
|
|
46
|
+
const DEFINE_COMPONENT_RE = /defineComponent/;
|
|
47
|
+
const DEFINE_NUXT_COMPONENT_RE = /defineNuxtComponent/;
|
|
44
48
|
const InjectHydrationPlugin = createUnplugin(() => {
|
|
45
|
-
return
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
49
|
+
return [
|
|
50
|
+
{
|
|
51
|
+
name: "@nuxt/hints:modify-hydration-composable-import",
|
|
52
|
+
enforce: "post",
|
|
53
|
+
transform: {
|
|
54
|
+
filter: {
|
|
55
|
+
id: {
|
|
56
|
+
include: /.(vue|ts|js|tsx|jsx)$/,
|
|
57
|
+
exclude: EXCLUDE_NODE_MODULES
|
|
58
|
+
},
|
|
59
|
+
code: /defineNuxtComponent|defineComponent/
|
|
60
|
+
},
|
|
61
|
+
handler(code, id) {
|
|
62
|
+
const m = new MagicString(code);
|
|
63
|
+
const { program } = parseSync(id, code);
|
|
64
|
+
const imports = program.body.filter((node) => node.type === "ImportDeclaration");
|
|
65
|
+
const hasDefineComponent = DEFINE_COMPONENT_RE.test(code);
|
|
66
|
+
const hasDefineNuxtComponent = DEFINE_NUXT_COMPONENT_RE.test(code);
|
|
67
|
+
const defineComponentImport = findImportSpecifier(imports, "defineComponent", ["vue", "#imports"]);
|
|
68
|
+
const defineComponentAlias = defineComponentImport?.local.name || "defineComponent";
|
|
69
|
+
if (defineComponentImport) {
|
|
70
|
+
m.remove(
|
|
71
|
+
defineComponentImport.start,
|
|
72
|
+
defineComponentImport.end
|
|
73
|
+
);
|
|
74
|
+
}
|
|
75
|
+
const defineNuxtComponentImport = findImportSpecifier(imports, "defineNuxtComponent", ["#app/composables/component", "#imports", "#app", "nuxt/app"]);
|
|
76
|
+
const defineNuxtComponentAlias = defineNuxtComponentImport?.local.name || "defineNuxtComponent";
|
|
77
|
+
if (defineNuxtComponentImport) {
|
|
78
|
+
m.remove(
|
|
79
|
+
defineNuxtComponentImport.start,
|
|
80
|
+
defineNuxtComponentImport.end
|
|
81
|
+
);
|
|
82
|
+
}
|
|
83
|
+
const importsToAdd = new Set([
|
|
84
|
+
hasDefineComponent && genImport(
|
|
85
|
+
"@nuxt/hints/runtime/hydration/component",
|
|
86
|
+
[defineComponentAlias === "defineComponent" ? "defineComponent" : { name: "defineComponent", as: defineComponentAlias }]
|
|
87
|
+
),
|
|
88
|
+
hasDefineNuxtComponent && genImport(
|
|
89
|
+
"@nuxt/hints/runtime/hydration/component",
|
|
90
|
+
[defineNuxtComponentAlias === "defineNuxtComponent" ? "defineNuxtComponent" : { name: "defineNuxtComponent", as: defineNuxtComponentAlias }]
|
|
91
|
+
)
|
|
92
|
+
].filter(Boolean));
|
|
93
|
+
m.prepend([...importsToAdd].join("\n") + "\n");
|
|
94
|
+
if (m.hasChanged()) {
|
|
95
|
+
return {
|
|
96
|
+
code: m.toString(),
|
|
97
|
+
map: m.generateMap({ hires: true })
|
|
98
|
+
};
|
|
99
|
+
}
|
|
56
100
|
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
name: "@nuxt/hints:inject-hydration-composable",
|
|
105
|
+
enforce: "post",
|
|
106
|
+
transform: {
|
|
107
|
+
filter: {
|
|
108
|
+
id: {
|
|
109
|
+
include: INCLUDE_VUE_RE,
|
|
110
|
+
exclude: EXCLUDE_NODE_MODULES
|
|
111
|
+
},
|
|
112
|
+
code: /(?!defineComponent|defineNuxtComponent)/
|
|
113
|
+
},
|
|
114
|
+
handler(code, id) {
|
|
115
|
+
const m = new MagicString(code);
|
|
116
|
+
const { program } = parseSync(id, code);
|
|
117
|
+
const exportDeclaration = program.body.find(
|
|
118
|
+
(node) => node.type === "ExportDefaultDeclaration"
|
|
119
|
+
)?.declaration;
|
|
120
|
+
if (exportDeclaration) {
|
|
121
|
+
m.prepend(genImport(
|
|
122
|
+
"@nuxt/hints/runtime/hydration/component",
|
|
123
|
+
["defineComponent"]
|
|
124
|
+
));
|
|
125
|
+
m.overwrite(
|
|
126
|
+
exportDeclaration.start,
|
|
127
|
+
exportDeclaration.end,
|
|
128
|
+
`defineComponent(${code.slice(exportDeclaration.start, exportDeclaration.end)})`
|
|
129
|
+
);
|
|
130
|
+
}
|
|
131
|
+
if (m.hasChanged()) {
|
|
132
|
+
return {
|
|
133
|
+
code: m.toString(),
|
|
134
|
+
map: m.generateMap({ hires: true })
|
|
135
|
+
};
|
|
136
|
+
}
|
|
64
137
|
}
|
|
65
|
-
m.appendRight(
|
|
66
|
-
match.index + match[0].length,
|
|
67
|
-
`
|
|
68
|
-
import { useHydrationCheck } from '@nuxt/hints/runtime/hydration/composables'
|
|
69
|
-
useHydrationCheck();`
|
|
70
|
-
);
|
|
71
|
-
return {
|
|
72
|
-
code: m.toString(),
|
|
73
|
-
map: m.generateMap({ hires: true })
|
|
74
|
-
};
|
|
75
138
|
}
|
|
76
139
|
}
|
|
77
|
-
|
|
140
|
+
];
|
|
78
141
|
});
|
|
142
|
+
function findImportSpecifier(importDecl, importedName, pkgNames) {
|
|
143
|
+
const names = Array.isArray(pkgNames) ? pkgNames : [pkgNames];
|
|
144
|
+
return importDecl.find((imp) => names.includes(imp.source.value))?.specifiers.find((specifier) => {
|
|
145
|
+
return specifier.type === "ImportSpecifier" && specifier.imported.type === "Identifier" && specifier.imported.name === importedName;
|
|
146
|
+
});
|
|
147
|
+
}
|
|
79
148
|
|
|
149
|
+
const moduleName = "@nuxt/hints";
|
|
80
150
|
const module$1 = defineNuxtModule({
|
|
81
151
|
meta: {
|
|
82
|
-
name:
|
|
152
|
+
name: moduleName,
|
|
83
153
|
configKey: "hints"
|
|
84
154
|
},
|
|
85
155
|
defaults: {
|
|
@@ -90,14 +160,14 @@ const module$1 = defineNuxtModule({
|
|
|
90
160
|
return;
|
|
91
161
|
}
|
|
92
162
|
const resolver = createResolver(import.meta.url);
|
|
93
|
-
addPlugin(resolver.resolve("./runtime/web-vitals/plugin.client"));
|
|
94
|
-
addPlugin(resolver.resolve("./runtime/hydration/plugin.client"));
|
|
95
|
-
addBuildPlugin(InjectHydrationPlugin);
|
|
96
163
|
addComponent({
|
|
97
164
|
name: "NuxtIsland",
|
|
98
165
|
filePath: resolver.resolve("./runtime/core/components/nuxt-island"),
|
|
99
166
|
priority: 1e3
|
|
100
167
|
});
|
|
168
|
+
addPlugin(resolver.resolve("./runtime/web-vitals/plugin.client"));
|
|
169
|
+
addPlugin(resolver.resolve("./runtime/hydration/plugin.client"));
|
|
170
|
+
addBuildPlugin(InjectHydrationPlugin);
|
|
101
171
|
addPlugin(resolver.resolve("./runtime/third-party-scripts/plugin.client"));
|
|
102
172
|
addServerPlugin(resolver.resolve("./runtime/third-party-scripts/nitro.plugin"));
|
|
103
173
|
nuxt.hook("prepare:types", ({ references }) => {
|
|
@@ -109,6 +179,7 @@ const module$1 = defineNuxtModule({
|
|
|
109
179
|
setupDevToolsUI(nuxt, resolver);
|
|
110
180
|
addPlugin(resolver.resolve("./runtime/core/plugins/vue-tracer-state.client"));
|
|
111
181
|
}
|
|
182
|
+
nuxt.options.build.transpile.push(moduleName);
|
|
112
183
|
}
|
|
113
184
|
});
|
|
114
185
|
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { defineComponent as _defineComponent } from "vue";
|
|
2
|
+
import { defineNuxtComponent as _defineNuxtComponent } from "nuxt/app";
|
|
3
|
+
import { useHydrationCheck } from "./composables.js";
|
|
4
|
+
export const defineNuxtComponent = function defineNuxtComponent2(...args) {
|
|
5
|
+
const [options, key] = args;
|
|
6
|
+
const { setup } = options;
|
|
7
|
+
options.setup = function(props, ctx) {
|
|
8
|
+
useHydrationCheck();
|
|
9
|
+
return setup ? setup(props, ctx) : void 0;
|
|
10
|
+
};
|
|
11
|
+
return _defineNuxtComponent(options, key);
|
|
12
|
+
};
|
|
13
|
+
export const defineComponent = function defineComponent2(...args) {
|
|
14
|
+
const [options] = args;
|
|
15
|
+
if (typeof options === "object" && options !== null) {
|
|
16
|
+
const { setup } = options;
|
|
17
|
+
options.setup = function(props, ctx) {
|
|
18
|
+
useHydrationCheck();
|
|
19
|
+
return setup ? setup(props, ctx) : void 0;
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
return _defineComponent(options);
|
|
23
|
+
};
|
|
@@ -11,12 +11,12 @@ function formatHTML(html) {
|
|
|
11
11
|
indent--;
|
|
12
12
|
formatted += "\n" + " ".repeat(Math.max(0, indent)) + tag;
|
|
13
13
|
} else if (tag.startsWith("<") && !tag.endsWith("/>") && !tag.includes("<!")) {
|
|
14
|
-
formatted += "\n" + " ".repeat(indent) + tag;
|
|
14
|
+
formatted += "\n" + " ".repeat(Math.max(0, indent)) + tag;
|
|
15
15
|
indent++;
|
|
16
16
|
} else if (tag.startsWith("<")) {
|
|
17
|
-
formatted += "\n" + " ".repeat(indent) + tag;
|
|
17
|
+
formatted += "\n" + " ".repeat(Math.max(0, indent)) + tag;
|
|
18
18
|
} else {
|
|
19
|
-
formatted += "\n" + " ".repeat(indent) + tag.trim();
|
|
19
|
+
formatted += "\n" + " ".repeat(Math.max(0, indent)) + tag.trim();
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
return formatted.trim();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/hints",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.3",
|
|
4
4
|
"description": "Nuxt module that shows hints for aspects of your application such as Performance, Security, and more!",
|
|
5
5
|
"repository": "https://github.com/nuxt/hints",
|
|
6
6
|
"homepage": "https://github.com/nuxt/hints",
|
|
@@ -24,8 +24,10 @@
|
|
|
24
24
|
"@nuxt/devtools-kit": "^3.0.0",
|
|
25
25
|
"@nuxt/kit": "^4.1.2",
|
|
26
26
|
"h3": "^1.15.4",
|
|
27
|
+
"knitwork": "^1.3.0",
|
|
27
28
|
"magic-string": "^0.30.19",
|
|
28
29
|
"nitropack": "^2.12.6",
|
|
30
|
+
"oxc-parser": "^0.99.0",
|
|
29
31
|
"shiki": "^3.13.0",
|
|
30
32
|
"sirv": "^3.0.2",
|
|
31
33
|
"unplugin": "^2.3.10",
|
|
@@ -49,7 +51,8 @@
|
|
|
49
51
|
"pkg-pr-new": "0.0.60",
|
|
50
52
|
"rimraf": "^6.0.1",
|
|
51
53
|
"sass-embedded": "^1.93.3",
|
|
52
|
-
"vitest": "^4.0.0"
|
|
54
|
+
"vitest": "^4.0.0",
|
|
55
|
+
"@nuxt/hints": "^1.0.0-alpha.3"
|
|
53
56
|
},
|
|
54
57
|
"scripts": {
|
|
55
58
|
"client:build": "nuxi generate client",
|