Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
Better Names for Math UI Components
meinzzzz49e90c08a9c2
diff --git a/packages/ckeditor5-math/package.json b/packages/ckeditor5-math/package.jsonindex 34f845f916..0f3e8a37aa 100644--- a/packages/ckeditor5-math/package.json+++ b/packages/ckeditor5-math/package.json@@ -71,7 +71,6 @@]},"dependencies": {- "@ckeditor/ckeditor5-icons": "47.2.0","mathlive": "0.108.2"}}diff --git a/packages/ckeditor5-math/src/mathui.ts b/packages/ckeditor5-math/src/mathui.tsindex 2ac4c79cd4..76290626fe 100644--- a/packages/ckeditor5-math/src/mathui.ts+++ b/packages/ckeditor5-math/src/mathui.ts@@ -57,7 +57,7 @@ export default class MathUI extends Plugin {this._balloon.showStack( 'main' );requestAnimationFrame(() => {- this.formView?.mathInputView.focus();+ this.formView?.mathLiveInputView.focus();});}@@ -90,13 +90,22 @@ export default class MathUI extends Plugin {mathConfig.katexRenderOptions!);- formView.mathInputView.bind( 'value' ).to( mathCommand, value => value ?? '' );+ formView.mathLiveInputView.bind( 'value' ).to( mathCommand, 'value' );formView.displayButtonView.bind( 'isOn' ).to( mathCommand, 'display' );// Form elements should be read-only when corresponding commands are disabled.- formView.mathInputView.bind( 'isReadOnly' ).to( mathCommand, 'isEnabled', value => !value );- formView.saveButtonView.bind( 'isEnabled' ).to( mathCommand );- formView.displayButtonView.bind( 'isEnabled' ).to( mathCommand );+ formView.mathLiveInputView.bind( 'isReadOnly' ).to( mathCommand, 'isEnabled', value => !value );+ formView.saveButtonView.bind( 'isEnabled' ).to(+ mathCommand,+ 'isEnabled',+ formView.mathLiveInputView,+ 'value',+ ( commandEnabled, equation ) => {+ const normalizedEquation = ( equation ?? '' ).trim();+ return commandEnabled && normalizedEquation.length > 0;+ }+ );+ formView.displayButtonView.bind( 'isEnabled' ).to( mathCommand, 'isEnabled' );// Listen to submit button clickthis.listenTo( formView, 'submit', () => {@@ -151,7 +160,7 @@ export default class MathUI extends Plugin {} );if ( this._balloon.visibleView === this.formView ) {- this.formView.mathInputView.focus();+ this.formView.mathLiveInputView.focus();}// Show preview elementdiff --git a/packages/ckeditor5-math/src/ui/mainformview.ts b/packages/ckeditor5-math/src/ui/mainformview.tsindex ef818e203a..7c57fce8f4 100644--- a/packages/ckeditor5-math/src/ui/mainformview.ts+++ b/packages/ckeditor5-math/src/ui/mainformview.ts@@ -10,7 +10,7 @@ import type { KatexOptions } from '../typings-external.js';export default class MainFormView extends View {public saveButtonView: ButtonView;- public mathInputView: MathLiveInputView;+ public mathLiveInputView: MathLiveInputView;public rawLatexInputView: RawLatexInputView;public rawLatexLabel: LabelView;public displayButtonView: SwitchButtonView;@@ -46,8 +46,8 @@ export default class MainFormView extends View {this.saveButtonView = this._createButton( t( 'Save' ), IconCheck, 'ck-button-save', null );this.saveButtonView.type = 'submit';- // Equation input- this.mathInputView = this._createMathInput();+ // MathLive visual equation editor+ this.mathLiveInputView = this._createMathLiveInput();// Raw LaTeX inputthis.rawLatexInputView = this._createRawLatexInput();@@ -75,7 +75,7 @@ export default class MainFormView extends View {this.mathView.bind( 'display' ).to( this.displayButtonView, 'isOn' );children = [- this.mathInputView,+ this.mathLiveInputView,this.rawLatexLabel,this.rawLatexInputView,this.displayButtonView,@@ -84,7 +84,7 @@ export default class MainFormView extends View {];} else {children = [- this.mathInputView,+ this.mathLiveInputView,this.rawLatexLabel,this.rawLatexInputView,this.displayButtonView@@ -143,7 +143,7 @@ export default class MainFormView extends View {// Register form elements to focusable elementsconst childViews = [- this.mathInputView,+ this.mathLiveInputView,this.rawLatexInputView,this.displayButtonView,this.saveButtonView,@@ -168,14 +168,15 @@ export default class MainFormView extends View {}public get equation(): string {- return this.mathInputView.value ?? '';+ return this.mathLiveInputView.value ?? '';}public set equation( equation: string ) {- this.mathInputView.value = equation;- this.rawLatexInputView.value = equation;+ const normalizedEquation = equation.trim();+ this.mathLiveInputView.value = normalizedEquation.length ? normalizedEquation : null;+ this.rawLatexInputView.value = normalizedEquation;if ( this.previewEnabled && this.mathView ) {- this.mathView.value = equation;+ this.mathView.value = normalizedEquation;}}@@ -195,13 +196,13 @@ export default class MainFormView extends View {/*** Creates the MathLive visual equation editor.*- * Handles bidirectional synchronization with the raw LaTeX input and preview.+ * Handles bidirectional synchronization with the raw LaTeX textarea and preview.*/- private _createMathInput() {- const mathInput = new MathLiveInputView( this.locale );+ private _createMathLiveInput() {+ const mathLiveInput = new MathLiveInputView( this.locale );const onInput = () => {- const rawValue = mathInput.value ?? '';+ const rawValue = mathLiveInput.value ?? '';let equationInput = rawValue.trim();// If input has delimiters@@ -210,56 +211,58 @@ export default class MainFormView extends View {const params = extractDelimiters( equationInput );// Remove delimiters from input field- mathInput.value = params.equation;+ mathLiveInput.value = params.equation;equationInput = params.equation;- // update display button and preview+ // Update display button and previewthis.displayButtonView.isOn = params.display;}- // Sync to raw LaTeX input+ const normalizedEquation = equationInput.length ? equationInput : null;+ if ( mathLiveInput.value !== normalizedEquation ) {+ mathLiveInput.value = normalizedEquation;+ }++ // Sync to raw LaTeX textareathis.rawLatexInputView.value = equationInput;if ( this.previewEnabled && this.mathView ) {- // Update preview view+ // Update previewthis.mathView.value = equationInput;}-- this.saveButtonView.isEnabled = !!equationInput;};- mathInput.on( 'change:value', onInput );+ mathLiveInput.on( 'change:value', onInput );- return mathInput;+ return mathLiveInput;}/**- * Creates the raw LaTeX code textarea editor.+ * Creates the raw LaTeX textarea editor.*- * Provides direct LaTeX editing and synchronizes changes with the MathLive visual editor.+ * Provides direct LaTeX code editing and synchronizes changes with the MathLive visual editor.*/private _createRawLatexInput() {const t = this.locale.t;const rawLatexInput = new RawLatexInputView( this.locale );rawLatexInput.label = t( 'LaTeX' );- // Sync raw LaTeX changes to MathLive visual editor+ // Sync raw LaTeX textarea changes to MathLive visual editorrawLatexInput.on( 'change:value', () => {const rawValue = rawLatexInput.value ?? '';const equationInput = rawValue.trim();- // Update MathLive field- if ( this.mathInputView.value !== equationInput ) {- this.mathInputView.value = equationInput;+ // Update MathLive visual editor+ const normalizedEquation = equationInput.length ? equationInput : null;+ if ( this.mathLiveInputView.value !== normalizedEquation ) {+ this.mathLiveInputView.value = normalizedEquation;}- // Update preview if enabled+ // Update previewif ( this.previewEnabled && this.mathView ) {this.mathView.value = equationInput;}-- this.saveButtonView.isEnabled = !!equationInput;} );return rawLatexInput;diff --git a/packages/ckeditor5-math/src/ui/mathliveinputview.ts b/packages/ckeditor5-math/src/ui/mathliveinputview.tsindex 340314dc3f..148ae7f141 100644--- a/packages/ckeditor5-math/src/ui/mathliveinputview.ts+++ b/packages/ckeditor5-math/src/ui/mathliveinputview.ts@@ -14,7 +14,7 @@ export default class MathLiveInputView extends View {** @observable*/- public declare value: string;+ public declare value: string | null;/*** Whether the input is in read-only mode.@@ -31,7 +31,7 @@ export default class MathLiveInputView extends View {constructor( locale: Locale ) {super( locale );- this.set( 'value', '' );+ this.set( 'value', null );this.set( 'isReadOnly', false );this.setTemplate( {@@ -56,8 +56,9 @@ export default class MathLiveInputView extends View {mathfield.setAttribute( 'virtual-keyboard-mode', 'manual' );// Set initial value- if ( this.value ) {- ( mathfield as any ).value = this.value;+ const initialValue = this.value ?? '';+ if ( initialValue ) {+ ( mathfield as any ).value = initialValue;}// Bind readonly state@@ -67,13 +68,15 @@ export default class MathLiveInputView extends View {// Sync math-field changes to observable valuemathfield.addEventListener( 'input', () => {- this.value = ( mathfield as any ).value;+ const nextValue: string = ( mathfield as any ).value;+ this.value = nextValue.length ? nextValue : null;} );// Sync observable value changes back to math-fieldthis.on( 'change:value', () => {- if ( ( mathfield as any ).value !== this.value ) {- ( mathfield as any ).value = this.value;+ const nextValue = this.value ?? '';+ if ( ( mathfield as any ).value !== nextValue ) {+ ( mathfield as any ).value = nextValue;}} );diff --git a/packages/ckeditor5-math/tests/__screenshots__/mathui.ts/MathUI--showUI---math-form-view-binding-should-bind-mainFormView-mathInputView-value-to-math-command-value-1.png b/packages/ckeditor5-math/tests/__screenshots__/mathui.ts/MathUI--showUI---math-form-view-binding-should-bind-mainFormView-mathInputView-value-to-math-command-value-1.pngnew file mode 100644index 0000000000..30a255f4a9Binary files /dev/null and b/packages/ckeditor5-math/tests/__screenshots__/mathui.ts/MathUI--showUI---math-form-view-binding-should-bind-mainFormView-mathInputView-value-to-math-command-value-1.png differdiff --git a/packages/ckeditor5-math/tests/__screenshots__/mathui.ts/MathUI--showUI---should-disable--mainFormView-element-when-math-command-is-disabled-1.png b/packages/ckeditor5-math/tests/__screenshots__/mathui.ts/MathUI--showUI---should-disable--mainFormView-element-when-math-command-is-disabled-1.pngnew file mode 100644index 0000000000..d1a052617eBinary files /dev/null and b/packages/ckeditor5-math/tests/__screenshots__/mathui.ts/MathUI--showUI---should-disable--mainFormView-element-when-math-command-is-disabled-1.png differdiff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex aacb56ee45..903192f4f3 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -641,7 +641,7 @@ importers:version: 3.0.0debug:specifier: 4.4.3- version: 4.4.3([email protected])+ version: 4.4.3([email protected])ejs:specifier: 3.1.10version: 3.1.10@@ -15356,7 +15356,7 @@ snapshots:'@babel/traverse': 7.28.4'@babel/types': 7.28.4convert-source-map: 2.0.0- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])gensync: 1.0.0-beta.2json5: 2.2.3semver: 6.3.1@@ -15479,7 +15479,7 @@ snapshots:'@babel/parser': 7.28.4'@babel/template': 7.27.2'@babel/types': 7.28.4- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])globals: 11.12.0transitivePeerDependencies:- supports-color@@ -15492,7 +15492,7 @@ snapshots:'@babel/parser': 7.28.4'@babel/template': 7.27.2'@babel/types': 7.28.4- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])transitivePeerDependencies:- supports-color@@ -15504,7 +15504,7 @@ snapshots:'@babel/parser': 7.28.4'@babel/template': 7.27.2'@babel/types': 7.28.4- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])transitivePeerDependencies:- supports-color@@ -16498,8 +16498,6 @@ snapshots:'@ckeditor/ckeditor5-ui': 47.2.0'@ckeditor/ckeditor5-utils': 47.2.0ckeditor5: 47.2.0(patch_hash=8331a09d41443b39ea1c784daaccfeb0da4f9065ed556e7de92e9c77edd9eb41)- transitivePeerDependencies:- - supports-color'@ckeditor/[email protected]':dependencies:@@ -16978,7 +16976,7 @@ snapshots:'@listr2/prompt-adapter-inquirer': 2.0.22(@inquirer/[email protected])chalk: 4.1.2commander: 11.1.0- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])fs-extra: 10.1.0listr2: 7.0.2log-symbols: 4.1.0@@ -16998,7 +16996,7 @@ snapshots:'@electron/rebuild': 3.7.2'@malept/cross-spawn-promise': 2.0.0chalk: 4.1.2- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])find-up: 5.0.0fs-extra: 10.1.0log-symbols: 4.1.0@@ -17027,7 +17025,7 @@ snapshots:'@malept/cross-spawn-promise': 2.0.0'@vscode/sudo-prompt': 9.3.1chalk: 4.1.2- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])fast-glob: 3.3.3filenamify: 4.3.0find-up: 5.0.0@@ -17163,7 +17161,7 @@ snapshots:'@electron-forge/core-utils': 7.10.2'@electron-forge/shared-types': 7.10.2'@malept/cross-spawn-promise': 2.0.0- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])fs-extra: 10.1.0semver: 7.7.3username: 5.1.0@@ -17225,7 +17223,7 @@ snapshots:'@electron/[email protected]':dependencies:- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])env-paths: 2.2.1fs-extra: 8.1.0got: 11.8.6@@ -17239,7 +17237,7 @@ snapshots:'@electron/[email protected]':dependencies:- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])env-paths: 2.2.1fs-extra: 8.1.0got: 11.8.6@@ -17269,7 +17267,7 @@ snapshots:'@electron/[email protected]':dependencies:- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])fs-extra: 9.1.0promise-retry: 2.0.1transitivePeerDependencies:@@ -17278,7 +17276,7 @@ snapshots:'@electron/[email protected]':dependencies:compare-version: 0.1.2- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])fs-extra: 10.1.0isbinaryfile: 4.0.10minimist: 1.2.8@@ -17294,7 +17292,7 @@ snapshots:'@electron/osx-sign': 1.3.3'@electron/universal': 2.0.2'@electron/windows-sign': 1.2.1- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])extract-zip: 2.0.1filenamify: 4.3.0fs-extra: 11.3.2@@ -17315,7 +17313,7 @@ snapshots:'@electron/node-gyp': https://codeload.github.com/electron/node-gyp/tar.gz/06b29aafb7708acef8b3669835c8a7857ebc92d2'@malept/cross-spawn-promise': 2.0.0chalk: 4.1.2- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])detect-libc: 2.1.1fs-extra: 10.1.0got: 11.8.6@@ -17334,7 +17332,7 @@ snapshots:dependencies:'@malept/cross-spawn-promise': 2.0.0chalk: 4.1.2- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])detect-libc: 2.0.4got: 11.8.6graceful-fs: 4.2.11@@ -17357,7 +17355,7 @@ snapshots:dependencies:'@electron/asar': 3.4.1'@malept/cross-spawn-promise': 2.0.0- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])dir-compare: 4.2.0fs-extra: 11.3.2minimatch: 9.0.5@@ -17368,7 +17366,7 @@ snapshots:'@electron/[email protected]':dependencies:cross-dirname: 0.1.0- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])fs-extra: 11.3.2minimist: 1.2.8postject: 1.0.0-alpha.6@@ -17655,7 +17653,7 @@ snapshots:'@eslint/[email protected]':dependencies:'@eslint/object-schema': 2.1.7- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])minimatch: 3.1.2transitivePeerDependencies:- supports-color@@ -17679,7 +17677,7 @@ snapshots:'@eslint/[email protected]':dependencies:ajv: 6.12.6- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])espree: 10.4.0globals: 14.0.0ignore: 5.3.2@@ -18039,7 +18037,7 @@ snapshots:'@antfu/install-pkg': 1.1.0'@antfu/utils': 9.2.0'@iconify/types': 2.0.0- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])globals: 15.15.0kolorist: 1.8.0local-pkg: 1.1.1@@ -18457,7 +18455,7 @@ snapshots:'@kwsites/[email protected]':dependencies:- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])transitivePeerDependencies:- supports-color@@ -18541,7 +18539,7 @@ snapshots:'@malept/[email protected]':dependencies:'@malept/flatpak-bundler': 0.4.0- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])electron-installer-common: 0.10.4lodash: 4.17.21semver: 7.7.3@@ -18552,7 +18550,7 @@ snapshots:'@malept/[email protected]':dependencies:- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])fs-extra: 9.1.0lodash: 4.17.21tmp-promise: 3.0.3@@ -19011,7 +19009,7 @@ snapshots:'@puppeteer/[email protected]':dependencies:- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])extract-zip: 2.0.1progress: 2.0.3proxy-agent: 6.5.0@@ -20279,7 +20277,7 @@ snapshots:'@tokenizer/[email protected]':dependencies:- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])fflate: 0.8.2token-types: 6.0.0transitivePeerDependencies:@@ -20905,7 +20903,7 @@ snapshots:'@typescript-eslint/types': 8.46.4'@typescript-eslint/typescript-estree': 8.46.4([email protected])'@typescript-eslint/visitor-keys': 8.46.4- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])eslint: 9.39.1([email protected])typescript: 5.9.3transitivePeerDependencies:@@ -20927,7 +20925,7 @@ snapshots:dependencies:'@typescript-eslint/tsconfig-utils': 8.46.4([email protected])'@typescript-eslint/types': 8.46.4- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])typescript: 5.9.3transitivePeerDependencies:- supports-color@@ -20964,7 +20962,7 @@ snapshots:'@typescript-eslint/types': 8.46.4'@typescript-eslint/typescript-estree': 8.46.4([email protected])- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])eslint: 9.39.1([email protected])ts-api-utils: 2.1.0([email protected])typescript: 5.9.3@@ -20993,7 +20991,7 @@ snapshots:'@typescript-eslint/tsconfig-utils': 8.46.4([email protected])'@typescript-eslint/types': 8.46.4'@typescript-eslint/visitor-keys': 8.46.4- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])fast-glob: 3.3.3is-glob: 4.0.3minimatch: 9.0.5@@ -21115,7 +21113,7 @@ snapshots:'@vitest/[email protected]([email protected])':dependencies:'@istanbuljs/schema': 0.1.3- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])istanbul-lib-coverage: 3.2.2istanbul-lib-instrument: 6.0.3istanbul-lib-report: 3.0.1@@ -21130,7 +21128,8 @@ snapshots:'@vitest/[email protected](@vitest/[email protected]([email protected])([email protected](@types/[email protected])([email protected]))([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]))([email protected])':dependencies:'@bcoe/v8-coverage': 1.0.2- ast-v8-to-istanbul: 0.3.3+ '@vitest/utils': 4.0.10+ ast-v8-to-istanbul: 0.3.8debug: 4.4.3([email protected])istanbul-lib-coverage: 3.2.2istanbul-lib-report: 3.0.1@@ -21436,7 +21435,7 @@ snapshots:dependencies:- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])transitivePeerDependencies:- supports-color@@ -21872,7 +21871,7 @@ snapshots:dependencies:bytes: 3.1.2content-type: 1.0.5- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])http-errors: 2.0.0iconv-lite: 0.6.3on-finished: 2.4.1@@ -23618,7 +23617,7 @@ snapshots:dependencies:'@electron/asar': 3.4.1'@malept/cross-spawn-promise': 1.1.1- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])fs-extra: 9.1.0glob: 7.2.3lodash: 4.17.21@@ -23634,7 +23633,7 @@ snapshots:dependencies:'@malept/cross-spawn-promise': 1.1.1- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])electron-installer-common: 0.10.4fs-extra: 9.1.0get-folder-size: 2.0.1@@ -23648,7 +23647,7 @@ snapshots:dependencies:'@types/appdmg': 0.5.5- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])minimist: 1.2.8optionalDependencies:appdmg: 0.6.6@@ -23659,7 +23658,7 @@ snapshots:dependencies:'@malept/cross-spawn-promise': 1.1.1- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])electron-installer-common: 0.10.4fs-extra: 9.1.0lodash: 4.17.21@@ -23675,7 +23674,7 @@ snapshots:dependencies:- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])electron-is-accelerator: 0.1.2keyboardevent-from-electron-accelerator: 2.0.0keyboardevents-areequal: 0.2.2@@ -23700,7 +23699,7 @@ snapshots:dependencies:'@electron/asar': 3.4.1- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])fs-extra: 7.0.1lodash: 4.17.21temp: 0.9.4@@ -24248,7 +24247,7 @@ snapshots:ajv: 6.12.6chalk: 4.1.2cross-spawn: 7.0.6- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])escape-string-regexp: 4.0.0eslint-scope: 8.4.0eslint-visitor-keys: 4.2.1@@ -24358,7 +24357,7 @@ snapshots:dependencies:- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])es6-promise: 4.2.8raw-body: 2.5.2transitivePeerDependencies:@@ -24369,7 +24368,7 @@ snapshots:base64url: 3.0.1clone: 2.1.2cookie: 0.7.2- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])express: 5.1.0futoin-hkdf: 1.5.3http-errors: 1.8.1@@ -24443,7 +24442,7 @@ snapshots:content-type: 1.0.5cookie: 0.7.2cookie-signature: 1.2.2- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])encodeurl: 2.0.0escape-html: 1.0.3etag: 1.8.1@@ -24492,7 +24491,7 @@ snapshots:dependencies:- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])get-stream: 5.2.0yauzl: 2.10.0optionalDependencies:@@ -24634,7 +24633,7 @@ snapshots:dependencies:- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])encodeurl: 2.0.0escape-html: 1.0.3on-finished: 2.4.1@@ -24690,7 +24689,7 @@ snapshots:dependencies:- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])fs-extra: 10.1.0transitivePeerDependencies:- supports-color@@ -24702,7 +24701,7 @@ snapshots:optionalDependencies:- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])dependencies:@@ -24843,7 +24842,7 @@ snapshots:dependencies:- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])flora-colossus: 2.0.0fs-extra: 10.1.0transitivePeerDependencies:@@ -24959,7 +24958,7 @@ snapshots:dependencies:basic-ftp: 5.0.5data-uri-to-buffer: 6.0.2- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])transitivePeerDependencies:- supports-color@@ -25436,7 +25435,7 @@ snapshots:dependencies:'@tootallnate/once': 1.1.2agent-base: 6.0.2- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])transitivePeerDependencies:- supports-color@@ -25444,14 +25443,14 @@ snapshots:dependencies:'@tootallnate/once': 2.0.0agent-base: 6.0.2- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])transitivePeerDependencies:- supports-colordependencies:agent-base: 7.1.3- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])transitivePeerDependencies:- supports-color@@ -25504,14 +25503,14 @@ snapshots:dependencies:agent-base: 6.0.2- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])transitivePeerDependencies:- supports-colordependencies:agent-base: 7.1.3- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])transitivePeerDependencies:- supports-color@@ -25906,7 +25905,7 @@ snapshots:dependencies:'@jridgewell/trace-mapping': 0.3.31- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])istanbul-lib-coverage: 3.2.2transitivePeerDependencies:- supports-color@@ -26520,7 +26519,7 @@ snapshots:dependencies:date-format: 4.0.14- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])flatted: 3.3.3rfdc: 1.4.1streamroller: 3.1.5@@ -27119,7 +27118,7 @@ snapshots:dependencies:'@types/debug': 4.1.12- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])decode-named-character-reference: 1.2.0devlop: 1.1.0micromark-core-commonmark: 2.0.3@@ -27957,7 +27956,7 @@ snapshots:dependencies:'@tootallnate/quickjs-emscripten': 0.23.0agent-base: 7.1.4- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])get-uri: 6.0.5http-proxy-agent: 7.0.2https-proxy-agent: 7.0.6@@ -28235,7 +28234,7 @@ snapshots:dependencies:async: 3.2.6- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])transitivePeerDependencies:- supports-color@@ -29074,7 +29073,7 @@ snapshots:dependencies:agent-base: 7.1.4- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])http-proxy-agent: 7.0.2https-proxy-agent: 7.0.6lru-cache: 7.18.3@@ -29290,7 +29289,7 @@ snapshots:dependencies:- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])transitivePeerDependencies:- supports-color@@ -29733,7 +29732,7 @@ snapshots:dependencies:- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])depd: 2.0.0is-promise: 4.0.0parseurl: 1.3.3@@ -29994,7 +29993,7 @@ snapshots:dependencies:- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])encodeurl: 2.0.0escape-html: 1.0.3etag: 1.8.1@@ -30211,13 +30210,13 @@ snapshots:dependencies:'@kwsites/file-exists': 1.1.1'@kwsites/promise-deferred': 1.1.1- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])transitivePeerDependencies:- supports-colordependencies:- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])queue-microtask: 1.2.3randombytes: 2.1.0readable-stream: 3.6.2@@ -30311,7 +30310,7 @@ snapshots:dependencies:agent-base: 6.0.2- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])socks: 2.8.4transitivePeerDependencies:- supports-color@@ -30320,7 +30319,7 @@ snapshots:dependencies:agent-base: 6.0.2- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])socks: 2.8.7transitivePeerDependencies:- supports-color@@ -30328,7 +30327,7 @@ snapshots:dependencies:agent-base: 7.1.4- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])socks: 2.8.7transitivePeerDependencies:- supports-color@@ -30389,7 +30388,7 @@ snapshots:dependencies:- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])detect-node: 2.1.0hpack.js: 2.1.6obuf: 1.1.2@@ -30400,7 +30399,7 @@ snapshots:dependencies:- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])handle-thing: 2.0.1http-deceiver: 1.2.7select-hose: 2.0.0@@ -30484,7 +30483,7 @@ snapshots:dependencies:date-format: 4.0.14- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])fs-extra: 8.1.0transitivePeerDependencies:- supports-color@@ -30731,7 +30730,7 @@ snapshots:cosmiconfig: 9.0.0([email protected])css-functions-list: 3.2.3css-tree: 3.1.0- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])fast-glob: 3.3.3fastest-levenshtein: 1.0.16file-entry-cache: 10.1.4@@ -30775,7 +30774,7 @@ snapshots:cosmiconfig: 9.0.0([email protected])css-functions-list: 3.2.3css-tree: 3.1.0- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])fast-glob: 3.3.3fastest-levenshtein: 1.0.16file-entry-cache: 10.1.4@@ -30821,7 +30820,7 @@ snapshots:dependencies:- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])transitivePeerDependencies:- supports-color@@ -30829,7 +30828,7 @@ snapshots:dependencies:component-emitter: 1.3.1cookiejar: 2.1.4- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])fast-safe-stringify: 2.1.1form-data: 4.0.4formidable: 3.5.4@@ -31276,7 +31275,7 @@ snapshots:dependencies:'@tufjs/models': 4.0.0- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])make-fetch-happen: 15.0.3transitivePeerDependencies:- supports-color@@ -31654,27 +31653,6 @@ snapshots:'@types/unist': 3.0.3vfile-message: 4.0.2- [email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]):- dependencies:- cac: 6.7.14- debug: 4.4.3([email protected])- es-module-lexer: 1.7.0- pathe: 2.0.3- vite: 7.2.2(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])- transitivePeerDependencies:- - '@types/node'- - jiti- - less- - lightningcss- - sass- - sass-embedded- - stylus- - sugarss- - supports-color- - terser- - tsx- - yaml-[email protected](@types/[email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])):dependencies:'@microsoft/api-extractor': 7.52.8(@types/[email protected])@@ -31682,7 +31660,7 @@ snapshots:'@volar/typescript': 2.4.13'@vue/language-core': 2.2.0([email protected])compare-versions: 6.1.1- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])kolorist: 1.8.0local-pkg: 1.1.1magic-string: 0.30.21@@ -31740,18 +31718,17 @@ snapshots:[email protected](@types/[email protected])(@types/[email protected])(@vitest/[email protected])(@vitest/[email protected])([email protected])([email protected])([email protected]([email protected])([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected]):dependencies:- '@types/chai': 5.2.2- '@vitest/expect': 3.2.4- '@vitest/mocker': 3.2.4([email protected](@types/[email protected])([email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))- '@vitest/pretty-format': 3.2.4- '@vitest/runner': 3.2.4- '@vitest/snapshot': 3.2.4- '@vitest/spy': 3.2.4- '@vitest/utils': 3.2.4- chai: 5.2.0+ '@vitest/expect': 4.0.10+ '@vitest/mocker': 4.0.10([email protected](@types/[email protected])([email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))+ '@vitest/pretty-format': 4.0.10+ '@vitest/runner': 4.0.10+ '@vitest/snapshot': 4.0.10+ '@vitest/spy': 4.0.10+ '@vitest/utils': 4.0.10debug: 4.4.3([email protected])- expect-type: 1.2.1- magic-string: 0.30.18+ es-module-lexer: 1.7.0+ expect-type: 1.2.2+ magic-string: 0.30.21pathe: 2.0.3picomatch: 4.0.3std-env: 3.10.0@@ -31830,7 +31807,7 @@ snapshots:dependencies:chalk: 4.1.2commander: 9.5.0- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])transitivePeerDependencies:- supports-color