From 0bd3d85f186a724d4ef0c5bb58d57ee7b2627c86 Mon Sep 17 00:00:00 2001 From: Alain Dumesny Date: Sun, 23 Mar 2025 19:02:30 -0700 Subject: [PATCH 001/235] more CSS var cleanup * further cleanup and fixed for #2997 --- doc/CHANGES.md | 2 + src/gridstack.scss | 55 ++++++++--------------- src/gridstack.ts | 110 +++++++++++++-------------------------------- 3 files changed, 51 insertions(+), 116 deletions(-) diff --git a/doc/CHANGES.md b/doc/CHANGES.md index 63e426861..811d3d58f 100644 --- a/doc/CHANGES.md +++ b/doc/CHANGES.md @@ -5,6 +5,7 @@ Change log **Table of Contents** *generated with [DocToc](http://doctoc.herokuapp.com/)* +- [11.5.0-dev (TBD)](#1150-dev-tbd) - [11.5.0 (2025-03-16)](#1150-2025-03-16) - [11.4.0 (2025-02-27)](#1140-2025-02-27) - [11.3.0 (2025-01-26)](#1130-2025-01-26) @@ -122,6 +123,7 @@ Change log ## 11.5.0-dev (TBD) +* feat: [#2854](https://github.com/gridstack/gridstack.js/pull/2854) Removed dynamic stylesheet and migrated to CSS vars. Thank you [lmartorella](https://github.com/lmartorella) ## 11.5.0 (2025-03-16) * feat: [#2975](https://github.com/gridstack/gridstack.js/pull/2975) `prepareDragDrop(el, force)` option to force re-creation of the drag&drop event binding diff --git a/src/gridstack.scss b/src/gridstack.scss index dafb6a067..2f5f7dbbf 100644 --- a/src/gridstack.scss +++ b/src/gridstack.scss @@ -55,6 +55,16 @@ $animation_speed: .3s !default; } } +.grid-stack { + > .grid-stack-item > .grid-stack-item-content, + > .grid-stack-placeholder > .placeholder-content { + top: var(--gs-item-margin-top); + right: var(--gs-item-margin-right); + bottom: var(--gs-item-margin-bottom); + left: var(--gs-item-margin-left); + } +} + .grid-stack-item { > .ui-resizable-handle { position: absolute; @@ -90,34 +100,15 @@ $animation_speed: .3s !default; @include vendor(transform, rotate(-45deg)); } - > .ui-resizable-nw { cursor: nw-resize; width: 20px; height: 20px; top: 0; } - > .ui-resizable-n { cursor: n-resize; height: 10px; top: 0; left: 25px; right: 25px; } - > .ui-resizable-ne { cursor: ne-resize; width: 20px; height: 20px; top: 0; } - > .ui-resizable-e { cursor: e-resize; width: 10px; top: 15px; bottom: 15px; } - > .ui-resizable-se { cursor: se-resize; width: 20px; height: 20px;} - > .ui-resizable-s { cursor: s-resize; height: 10px; left: 25px; bottom: 0; right: 25px; } - > .ui-resizable-sw { cursor: sw-resize; width: 20px; height: 20px;} - > .ui-resizable-w { cursor: w-resize; width: 10px; top: 15px; bottom: 15px; } + > .ui-resizable-nw { cursor: nw-resize; width: 20px; height: 20px; top: var(--gs-item-margin-top); left: var(--gs-item-margin-left); } + > .ui-resizable-n { cursor: n-resize; height: 10px; top: var(--gs-item-margin-top); left: 25px; right: 25px; } + > .ui-resizable-ne { cursor: ne-resize; width: 20px; height: 20px; top: var(--gs-item-margin-top); right: var(--gs-item-margin-right); } + > .ui-resizable-e { cursor: e-resize; width: 10px; top: 15px; bottom: 15px; right: var(--gs-item-margin-right);} + > .ui-resizable-se { cursor: se-resize; width: 20px; height: 20px; bottom: var(--gs-item-margin-bottom); right: var(--gs-item-margin-right); } + > .ui-resizable-s { cursor: s-resize; height: 10px; left: 25px; bottom: var(--gs-item-margin-bottom); right: 25px; } + > .ui-resizable-sw { cursor: sw-resize; width: 20px; height: 20px; bottom: var(--gs-item-margin-bottom); left: var(--gs-item-margin-left); } + > .ui-resizable-w { cursor: w-resize; width: 10px; top: 15px; bottom: 15px; left: var(--gs-item-margin-left); } - > .ui-resizable-n { - top: var(--gs-item-margin-top); - } - > .ui-resizable-s - , > .ui-resizable-se - , > .ui-resizable-sw { - bottom: var(--gs-item-margin-bottom); - } - > .ui-resizable-ne, - > .ui-resizable-e, - > .ui-resizable-se { - right: var(--gs-item-margin-right); - } - > .ui-resizable-nw, - > .ui-resizable-w, - > .ui-resizable-sw { - left: var(--gs-item-margin-left); - } - &.ui-draggable-dragging { &> .ui-resizable-handle { display: none !important; @@ -176,13 +167,3 @@ $animation_speed: .3s !default; width: 100%; } -.grid-stack { - > .grid-stack-item > .grid-stack-item-content, - > .grid-stack-placeholder > .placeholder-content { - top: var(--gs-item-margin-top); - right: var(--gs-item-margin-right); - bottom: var(--gs-item-margin-bottom); - left: var(--gs-item-margin-left); - } -} - diff --git a/src/gridstack.ts b/src/gridstack.ts index 82f9f7d75..bfff7753d 100644 --- a/src/gridstack.ts +++ b/src/gridstack.ts @@ -364,14 +364,16 @@ export class GridStack { this._isAutoCellHeight = (opts.cellHeight === 'auto'); if (this._isAutoCellHeight || opts.cellHeight === 'initial') { // make the cell content square initially (will use resize/column event to keep it square) - this.cellHeight(undefined, false); + this.cellHeight(undefined); } else { // append unit if any are set if (typeof opts.cellHeight == 'number' && opts.cellHeightUnit && opts.cellHeightUnit !== gridDefaults.cellHeightUnit) { opts.cellHeight = opts.cellHeight + opts.cellHeightUnit; delete opts.cellHeightUnit; } - this.cellHeight(opts.cellHeight, false); + const val = opts.cellHeight; + delete opts.cellHeight; // force initial cellHeight() call to set the value + this.cellHeight(val); } // see if we need to adjust auto-hide @@ -400,13 +402,10 @@ export class GridStack { this._writePosAttr(el, n); } }); - this._updateStyles(); + this._updateContainerHeight(); } }); - // create initial global styles BEFORE loading children so resizeToContent margin can be calculated correctly - this._updateStyles(); - if (opts.auto) { this.batchUpdate(); // prevent in between re-layout #1535 TODO: this only set float=true, need to prevent collision check... this.engine._loading = true; // loading collision check @@ -422,7 +421,6 @@ export class GridStack { if (children.length) this.load(children); // don't load empty } - // if (this.engine.nodes.length) this._updateStyles(); // update based on # of children. done in engine onChange CB this.setAnimation(); // dynamic grids require pausing during drag to detect over to nest vs push @@ -851,17 +849,16 @@ export class GridStack { * * @param val the cell height. If not passed (undefined), cells content will be made square (match width minus margin), * if pass 0 the CSS will be generated by the application instead. - * @param update (Optional) if false, styles will not be updated * * @example * grid.cellHeight(100); // same as 100px * grid.cellHeight('70px'); * grid.cellHeight(grid.cellWidth() * 1.2); */ - public cellHeight(val?: numberOrString, update = true): GridStack { + public cellHeight(val?: numberOrString): GridStack { // if not called internally, check if we're changing mode - if (update && val !== undefined) { + if (val !== undefined) { if (this._isAutoCellHeight !== (val === 'auto')) { this._isAutoCellHeight = (val === 'auto'); this._updateResizeEvent(); @@ -883,11 +880,11 @@ export class GridStack { this.opts.cellHeightUnit = data.unit; this.opts.cellHeight = data.h; + // finally update var and container + this.el.style.setProperty('--gs-cell-height', `${this.opts.cellHeight}${this.opts.cellHeightUnit}`); + this._updateContainerHeight(); this.resizeToContentCheck(); - if (update) { - this._updateStyles(); - } return this; } @@ -1305,7 +1302,7 @@ export class GridStack { const opts = this.opts; if (o.acceptWidgets !== undefined) this._setupAcceptWidget(); if (o.animate !== undefined) this.setAnimation(); - if (o.cellHeight) { this.cellHeight(o.cellHeight, true); delete o.cellHeight; } + if (o.cellHeight) { this.cellHeight(o.cellHeight); delete o.cellHeight; } if (o.class && o.class !== opts.class) { if (opts.class) this.el.classList.remove(opts.class); this.el.classList.add(o.class); } if (typeof(o.column) === 'number' && !o.columnOpts) { this.column(o.column); delete o.column; }// responsive column take over actual count if (o.margin !== undefined) this.margin(o.margin); @@ -1360,7 +1357,7 @@ export class GridStack { // restore any sub-grid back if (n.subGrid?.el) { itemContent.appendChild(n.subGrid.el); - n.subGrid._updateStyles(); + n.subGrid._updateContainerHeight(); } } delete w.content; @@ -1508,7 +1505,7 @@ export class GridStack { */ public margin(value: numberOrString): GridStack { const isMultiValue = (typeof value === 'string' && value.split(' ').length > 1); - // check if we can skip re-creating our CSS file... won't check if multi values (too much hassle) + // check if we can skip... won't check if multi values (too much hassle) if (!isMultiValue) { const data = Utils.parseHeight(value); if (this.opts.marginUnit === data.unit && this.opts.margin === data.h) return; @@ -1518,8 +1515,6 @@ export class GridStack { this.opts.marginTop = this.opts.marginBottom = this.opts.marginLeft = this.opts.marginRight = undefined; this._initMargin(); - this._updateStyles(); - return this; } @@ -1598,34 +1593,6 @@ export class GridStack { return this; } - private setVar(el: HTMLElement, varName: string, varValue: string) { - el.style.setProperty(varName, varValue); - } - - /** - * Updates the CSS variables (used in CSS and inline style) for row based layout and initial margin setting, - * Variables are scoped in DOM so they works for nested grids as well - * @internal - */ - protected _updateStyles(): GridStack { - this._updateContainerHeight(); - - // if user is telling us they will handle the CSS themselves by setting heights to 0. Do we need this opts really ?? - if (this.opts.cellHeight === 0) { - return this; - } - - // Set CSS var of cell height - this.setVar(this.el, "--gs-cell-height", `${this.opts.cellHeight}${this.opts.cellHeightUnit}`); - // content margins - this.setVar(this.el, "--gs-item-margin-top", `${this.opts.marginTop}${this.opts.marginUnit}`); - this.setVar(this.el, "--gs-item-margin-bottom", `${this.opts.marginBottom}${this.opts.marginUnit}`); - this.setVar(this.el, "--gs-item-margin-right", `${this.opts.marginRight}${this.opts.marginUnit}`); - this.setVar(this.el, "--gs-item-margin-left", `${this.opts.marginLeft}${this.opts.marginUnit}`); - - return this; - } - /** @internal */ protected _updateContainerHeight(): GridStack { if (!this.engine || this.engine.batchMode) return this; @@ -1880,7 +1847,6 @@ export class GridStack { /** @internal initialize margin top/bottom/left/right and units */ protected _initMargin(): GridStack { - let data: HeightData; let margin = 0; @@ -1904,41 +1870,28 @@ export class GridStack { } // see if top/bottom/left/right need to be set as well - if (this.opts.marginTop === undefined) { - this.opts.marginTop = margin; - } else { - data = Utils.parseHeight(this.opts.marginTop); - this.opts.marginTop = data.h; - delete this.opts.margin; - } - - if (this.opts.marginBottom === undefined) { - this.opts.marginBottom = margin; - } else { - data = Utils.parseHeight(this.opts.marginBottom); - this.opts.marginBottom = data.h; - delete this.opts.margin; - } - - if (this.opts.marginRight === undefined) { - this.opts.marginRight = margin; - } else { - data = Utils.parseHeight(this.opts.marginRight); - this.opts.marginRight = data.h; - delete this.opts.margin; - } - - if (this.opts.marginLeft === undefined) { - this.opts.marginLeft = margin; - } else { - data = Utils.parseHeight(this.opts.marginLeft); - this.opts.marginLeft = data.h; - delete this.opts.margin; - } + const keys = ['marginTop', 'marginRight', 'marginBottom', 'marginLeft']; + keys.forEach(k => { + if (this.opts[k] === undefined) { + this.opts[k] = margin; + } else { + data = Utils.parseHeight(this.opts[k]); + this.opts[k] = data.h; + delete this.opts.margin; + } + }); this.opts.marginUnit = data.unit; // in case side were spelled out, use those units instead... if (this.opts.marginTop === this.opts.marginBottom && this.opts.marginLeft === this.opts.marginRight && this.opts.marginTop === this.opts.marginRight) { this.opts.margin = this.opts.marginTop; // makes it easier to check for no-ops in setMargin() } + + // finally Update the CSS margin variables (inside the cell height) */ + const style = this.el.style; + style.setProperty('--gs-item-margin-top', `${this.opts.marginTop}${this.opts.marginUnit}`); + style.setProperty('--gs-item-margin-bottom', `${this.opts.marginBottom}${this.opts.marginUnit}`); + style.setProperty('--gs-item-margin-right', `${this.opts.marginRight}${this.opts.marginUnit}`); + style.setProperty('--gs-item-margin-left', `${this.opts.marginLeft}${this.opts.marginUnit}`); + return this; } @@ -2355,7 +2308,6 @@ export class GridStack { this.resizeToContentCheck(false, node); if (subGrid) { subGrid.parentGridNode = node; - subGrid._updateStyles(); // re-create sub-grid styles now that we've moved } this._updateContainerHeight(); } From 90327001a2476c23fec041f824f8c91c008b1a5d Mon Sep 17 00:00:00 2001 From: Alain Dumesny Date: Sun, 23 Mar 2025 20:13:14 -0700 Subject: [PATCH 002/235] revert this change lock change SHA-1: 5321400b73f23b746581bb0b5e57f89fcfefa684 * Locked not working as expected * fix #2981 --- demo/web2.html | 2 +- doc/CHANGES.md | 4 ++++ src/gridstack.ts | 8 +++----- src/types.ts | 2 +- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/demo/web2.html b/demo/web2.html index 0f420d3d1..4c7e36e03 100644 --- a/demo/web2.html +++ b/demo/web2.html @@ -63,7 +63,7 @@

Advanced Demo

let children = [ {x: 0, y: 0, w: 4, h: 2, content: '1'}, - {x: 4, y: 0, w: 4, h: 4, locked: true, content: 'I can\'t be moved or dragged, nor pushed by others!
'}, + {x: 4, y: 0, w: 4, h: 4, locked: true, content: 'locked: can\'t be pushed by others, only user!
'}, {x: 8, y: 0, w: 2, h: 2, minW: 2, noResize: true, content: '

Drag me!

...but don\'t resize me!'}, {x: 10, y: 0, w: 2, h: 2, content: '4'}, {x: 0, y: 2, w: 2, h: 2, content: '5'}, diff --git a/doc/CHANGES.md b/doc/CHANGES.md index 811d3d58f..00952538d 100644 --- a/doc/CHANGES.md +++ b/doc/CHANGES.md @@ -6,6 +6,7 @@ Change log **Table of Contents** *generated with [DocToc](http://doctoc.herokuapp.com/)* - [11.5.0-dev (TBD)](#1150-dev-tbd) +- [11.5.1 (2025-03-23)](#1151-2025-03-23) - [11.5.0 (2025-03-16)](#1150-2025-03-16) - [11.4.0 (2025-02-27)](#1140-2025-02-27) - [11.3.0 (2025-01-26)](#1130-2025-01-26) @@ -125,6 +126,9 @@ Change log ## 11.5.0-dev (TBD) * feat: [#2854](https://github.com/gridstack/gridstack.js/pull/2854) Removed dynamic stylesheet and migrated to CSS vars. Thank you [lmartorella](https://github.com/lmartorella) +## 11.5.1 (2025-03-23) +* revert: [#2981](https://github.com/gridstack/gridstack.js/issues/2981) Locked was incorrectly changed. fixed doc instead + ## 11.5.0 (2025-03-16) * feat: [#2975](https://github.com/gridstack/gridstack.js/pull/2975) `prepareDragDrop(el, force)` option to force re-creation of the drag&drop event binding * feat: [#2989](https://github.com/gridstack/gridstack.js/pull/2989) new `updateOptions(o: GridStackOptions)` to update PARTIAL list of options after grid as been created diff --git a/src/gridstack.ts b/src/gridstack.ts index bfff7753d..cd34dc817 100644 --- a/src/gridstack.ts +++ b/src/gridstack.ts @@ -2366,16 +2366,14 @@ export class GridStack { const noResize = node.noResize || this.opts.disableResize; // check for disabled grid first - const disable = node.locked || this.opts.staticGrid || (noMove && noResize); + const disable = this.opts.staticGrid || (noMove && noResize); if (force || disable) { if (node._initDD) { this._removeDD(el); // nukes everything instead of just disable, will add some styles back next delete node._initDD; } - if (disable) { - el.classList.add('ui-draggable-disabled', 'ui-resizable-disabled'); // add styles one might depend on #1435 - return this; - } + if (disable) el.classList.add('ui-draggable-disabled', 'ui-resizable-disabled'); // add styles one might depend on #1435 + if (!force) return this; } if (!node._initDD) { diff --git a/src/types.ts b/src/types.ts index 5c18b83e3..795ccec75 100644 --- a/src/types.ts +++ b/src/types.ts @@ -333,7 +333,7 @@ export interface GridStackWidget extends GridStackPosition { noResize?: boolean; /** prevents direct moving by the user (default?: undefined = un-constrained) */ noMove?: boolean; - /** same as noMove+noResize but also prevents being pushed by other widgets or api (default?: undefined = un-constrained) */ + /** prevents being pushed by other widgets or api (default?: undefined = un-constrained), which is different from `noMove` (user action only) */ locked?: boolean; /** value for `gs-id` stored on the widget (default?: undefined) */ id?: string; From 9a2776eec4a7fbd971e81772b86451bc22575a7c Mon Sep 17 00:00:00 2001 From: Alain Dumesny Date: Sat, 12 Apr 2025 09:26:49 -0700 Subject: [PATCH 003/235] feat: column now uses var(--gs-column-width) * switch column to CSS var * removed all custom classes and `gridstack-extra.css` * This resolve a long standing issue where people didn't include the right/extra css for non 12 column layouts. --- Gruntfile.js | 3 - README.md | 17 +- angular/README.md | 1 - angular/angular.json | 2 - .../projects/demo/src/app/app.component.ts | 2 +- demo/column.html | 1 - demo/mobile.html | 1 - demo/nested.html | 1 - demo/nested_advanced.html | 4 +- demo/nested_constraint.html | 3 +- demo/old_nested-jq.html | 3 +- demo/old_two-jq.html | 1 - demo/react-hooks-controlled-multiple.html | 1 - demo/responsive.html | 1 - demo/responsive_break.html | 1 - demo/responsive_none.html | 1 - demo/sizeToContent.html | 1 - demo/two.html | 1 - doc/CHANGES.md | 5 +- doc/README.md | 2 - react/README.md | 1 - react/src/demo/demo.tsx | 1 - react/src/main.tsx | 1 - spec/e2e/html/1571_drop_onto_full.html | 1 - spec/e2e/html/1785_column_many_switch.html | 1 - spec/e2e/html/2384_update_content.html | 1 - spec/e2e/html/2394_save_sub_item_moved.html | 1 - .../2406_inf_loop_autoPosition_column1.html | 1 - spec/e2e/html/2453 _recreated_trash.html | 1 - .../2576_insert_column_shift_content.html | 1 - spec/e2e/html/2864_nested_resize_reflow.html | 1 - spec/gridstack-spec.ts | 279 +++++++++--------- spec/regression-spec.ts | 60 ++-- spec/test.html | 1 - src/gridstack-extra.scss | 25 -- src/gridstack.scss | 15 +- src/gridstack.ts | 39 +-- 37 files changed, 214 insertions(+), 268 deletions(-) delete mode 100644 src/gridstack-extra.scss diff --git a/Gruntfile.js b/Gruntfile.js index e9ab71a34..e5efd75ef 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -21,7 +21,6 @@ module.exports = function(grunt) { dist: { files: { 'dist/gridstack.css': 'src/gridstack.scss', - 'dist/gridstack-extra.css': 'src/gridstack-extra.scss' } } }, @@ -33,7 +32,6 @@ module.exports = function(grunt) { }, files: { 'dist/gridstack.min.css': ['dist/gridstack.css'], - 'dist/gridstack-extra.min.css': ['dist/gridstack-extra.css'] } } }, @@ -42,7 +40,6 @@ module.exports = function(grunt) { files: { 'dist/es5/gridstack-poly.js': ['src/gridstack-poly.js'], 'dist/src/gridstack.scss': ['src/gridstack.scss'], - 'dist/src/gridstack-extra.scss': ['src/gridstack-extra.scss'], 'dist/angular/README.md': ['angular/README.md'], 'dist/angular/src/gridstack.component.ts': ['angular/projects/lib/src/lib/gridstack.component.ts'], 'dist/angular/src/gridstack-item.component.ts': ['angular/projects/lib/src/lib/gridstack-item.component.ts'], diff --git a/README.md b/README.md index 315a825c1..326bec108 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ Join us on Slack: [https://gridstackjs.slack.com](https://join.slack.com/t/grids - [Extend Library](#extend-library) - [Extend Engine](#extend-engine) - [Change grid columns](#change-grid-columns) - - [Custom columns CSS](#custom-columns-css) + - [Custom columns CSS (OLD, not needed with v12+)](#custom-columns-css-old-not-needed-with-v12) - [Override resizable/draggable options](#override-resizabledraggable-options) - [Touch devices support](#touch-devices-support) - [Migrating](#migrating) @@ -48,6 +48,7 @@ Join us on Slack: [https://gridstackjs.slack.com](https://join.slack.com/t/grids - [Migrating to v9](#migrating-to-v9) - [Migrating to v10](#migrating-to-v10) - [Migrating to v11](#migrating-to-v11) + - [Migrating to v12](#migrating-to-v12) - [jQuery Application](#jquery-application) - [Changes](#changes) - [Usage Trend](#usage-trend) @@ -207,6 +208,8 @@ GridStack makes it very easy if you need [1-12] columns out of the box (default GridStack.init( {column: N} ); ``` +NOTE: step 2 is OLD and not needed with v12+ which uses CSS variables instead of classes + 2) also include `gridstack-extra.css` if **N < 12** (else custom CSS - see next). Without these, things will not render/work correctly. ```html @@ -219,7 +222,9 @@ Note: class `.grid-stack-N` will automatically be added and we include `gridstac See example: [2 grids demo](http://gridstack.github.io/gridstack.js/demo/two.html) with 6 columns -## Custom columns CSS +## Custom columns CSS (OLD, not needed with v12+) + +NOTE: step is OLD and not needed with v12+ which uses CSS variables instead of classes If you need > 12 columns or want to generate the CSS manually you will need to generate CSS rules for `.grid-stack-item[gs-w="X"]` and `.grid-stack-item[gs-x="X"]`. @@ -491,6 +496,14 @@ GridStack.renderCB = function(el: HTMLElement, w: GridStackNode) { 4. if no `GridStackWidget` is defined, the helper will now be inserted as is, and NOT original sidepanel item. 5. support DOM gs- attr as well as gridstacknode JSON (see two.html) alternatives. +## Migrating to v12 + +* column and cell height code has been re-writen to use browser CSS variables, and we no longer need a tons of custom CSS classes! +this fixes a long standing issue where people forget to include the right CSS for non 12 columns layouts, and a big speedup in many cases (many columns, or small cellHeight values). + +**Breaking change:** +* `gridstack-extra.min.css` no longer exist, nor is custom column CSS needed. API/options hasn't changed. + # jQuery Application This is **old and no longer apply to v6+**. You'll need to use v5.1.1 and before diff --git a/angular/README.md b/angular/README.md index 587370453..2af7cd84c 100644 --- a/angular/README.md +++ b/angular/README.md @@ -18,7 +18,6 @@ MyComponent CSS ```css @import "gridstack/dist/gridstack.min.css"; -@import "gridstack/dist/gridstack-extra.min.css"; // if you use 2-11 column .grid-stack { background: #fafad2; diff --git a/angular/angular.json b/angular/angular.json index c7961035d..ad2ef7214 100644 --- a/angular/angular.json +++ b/angular/angular.json @@ -55,7 +55,6 @@ ], "styles": [ "node_modules/gridstack/dist/gridstack.min.css", - "node_modules/gridstack/dist/gridstack-extra.min.css", "projects/demo/src/styles.css" ], "scripts": [] @@ -121,7 +120,6 @@ ], "styles": [ "node_modules/gridstack/dist/gridstack.min.css", - "node_modules/gridstack/dist/gridstack-extra.min.css", "projects/demo/src/styles.css" ], "scripts": [] diff --git a/angular/projects/demo/src/app/app.component.ts b/angular/projects/demo/src/app/app.component.ts index c827d6272..4874f9b9d 100644 --- a/angular/projects/demo/src/app/app.component.ts +++ b/angular/projects/demo/src/app/app.component.ts @@ -56,7 +56,7 @@ export class AppComponent implements OnInit { // nested grid options private subOptions: GridStackOptions = { cellHeight: 50, // should be 50 - top/bottom - column: 'auto', // size to match container. make sure to include gridstack-extra.min.css + column: 'auto', // size to match container acceptWidgets: true, // will accept .grid-stack-item by default margin: 5, }; diff --git a/demo/column.html b/demo/column.html index bed7fc05d..61433ba6b 100644 --- a/demo/column.html +++ b/demo/column.html @@ -7,7 +7,6 @@ Column grid demo - diff --git a/demo/mobile.html b/demo/mobile.html index 6018bc3f6..6cbdb36aa 100644 --- a/demo/mobile.html +++ b/demo/mobile.html @@ -7,7 +7,6 @@ Simple mobile demo - diff --git a/demo/nested.html b/demo/nested.html index 9366b60f2..2f80b9e7d 100644 --- a/demo/nested.html +++ b/demo/nested.html @@ -6,7 +6,6 @@ Nested grids demo - diff --git a/demo/nested_advanced.html b/demo/nested_advanced.html index 9b9fd136f..8d7febcef 100644 --- a/demo/nested_advanced.html +++ b/demo/nested_advanced.html @@ -6,7 +6,6 @@ Advance Nested grids demo - diff --git a/doc/CHANGES.md b/doc/CHANGES.md index 00952538d..da5ff21de 100644 --- a/doc/CHANGES.md +++ b/doc/CHANGES.md @@ -5,7 +5,7 @@ Change log **Table of Contents** *generated with [DocToc](http://doctoc.herokuapp.com/)* -- [11.5.0-dev (TBD)](#1150-dev-tbd) +- [12-dev (TBD)](#12-dev-tbd) - [11.5.1 (2025-03-23)](#1151-2025-03-23) - [11.5.0 (2025-03-16)](#1150-2025-03-16) - [11.4.0 (2025-02-27)](#1140-2025-02-27) @@ -123,8 +123,9 @@ Change log - [v0.1.0 (2014-11-18)](#v010-2014-11-18) -## 11.5.0-dev (TBD) +## 12-dev (TBD) * feat: [#2854](https://github.com/gridstack/gridstack.js/pull/2854) Removed dynamic stylesheet and migrated to CSS vars. Thank you [lmartorella](https://github.com/lmartorella) +* feat: [#3013](https://github.com/gridstack/gridstack.js/pull/3013) columns no longer require custom classes nor `gridstack-extra.css` as we now use CSS vars. ## 11.5.1 (2025-03-23) * revert: [#2981](https://github.com/gridstack/gridstack.js/issues/2981) Locked was incorrectly changed. fixed doc instead diff --git a/doc/README.md b/doc/README.md index 21441b457..e4c31a9ef 100644 --- a/doc/README.md +++ b/doc/README.md @@ -405,8 +405,6 @@ Gets current cell width (grid width / # of columns). set the number of columns in the grid. Will update existing widgets to conform to new number of columns, as well as cache the original layout so you can revert back to previous positions without loss. -Requires `gridstack-extra.css` (or minimized version) for [2-11], -else you will need to generate correct CSS (see https://github.com/gridstack/gridstack.js#change-grid-columns) - `column` - Integer > 0 (default 12) - `layout` - specify the type of re-layout that will happen (position, size, etc...). Values are: `'list' | 'compact' | 'moveScale' | 'move' | 'scale' | 'none' | ((column: number, oldColumn: number, nodes: GridStackNode[], oldNodes: GridStackNode[]) => void);` diff --git a/react/README.md b/react/README.md index 38185e285..33ed21549 100644 --- a/react/README.md +++ b/react/README.md @@ -20,7 +20,6 @@ import { GridStackRenderProvider, } from "path/to/lib"; import "gridstack/dist/gridstack.css"; -import "gridstack/dist/gridstack-extra.css"; import "path/to/demo.css"; function Text({ content }: { content: string }) { diff --git a/react/src/demo/demo.tsx b/react/src/demo/demo.tsx index 2e1499b59..6b02be90f 100644 --- a/react/src/demo/demo.tsx +++ b/react/src/demo/demo.tsx @@ -9,7 +9,6 @@ import { useGridStackContext, } from "../../lib"; -import "gridstack/dist/gridstack-extra.css"; import "gridstack/dist/gridstack.css"; import "./demo.css"; diff --git a/react/src/main.tsx b/react/src/main.tsx index 0bf19b8ce..52f705e3a 100644 --- a/react/src/main.tsx +++ b/react/src/main.tsx @@ -2,7 +2,6 @@ import { StrictMode } from 'react' import { createRoot } from 'react-dom/client' -import 'gridstack/dist/gridstack-extra.css'; import 'gridstack/dist/gridstack.css'; import App from './App.tsx' diff --git a/spec/e2e/html/1571_drop_onto_full.html b/spec/e2e/html/1571_drop_onto_full.html index b15eb927c..24f9834aa 100644 --- a/spec/e2e/html/1571_drop_onto_full.html +++ b/spec/e2e/html/1571_drop_onto_full.html @@ -9,7 +9,6 @@ - + + + +

GridStack Drag and Drop Test

+

Test dragging widgets outside the grid should not throw exceptions.

+ +
+
+
+ Draggable Item 1 +
+
+
+
+ Draggable Item 2 +
+
+
+
+ Draggable Item 3 +
+
+
+ +
+

Outside Grid Area - Try dragging items here

+
+ +
+

Console Output:

+
+
+ + + + diff --git a/e2e/gridstack-e2e.spec.ts b/e2e/gridstack-e2e.spec.ts new file mode 100644 index 000000000..45cf4c8ed --- /dev/null +++ b/e2e/gridstack-e2e.spec.ts @@ -0,0 +1,362 @@ +import { test, expect } from '@playwright/test'; + +test.describe('GridStack E2E Tests', () => { + + test.beforeEach(async ({ page }) => { + // Navigate to the test page + await page.goto('/e2e/fixtures/gridstack-with-height.html'); + + // Wait for GridStack to initialize + await page.waitForFunction(() => window.testReady === true); + await page.waitForSelector('.grid-stack-item', { state: 'visible' }); + }); + + test('should not throw exceptions when dragging widget outside the grid', async ({ page }) => { + // Clear any existing console messages + await page.evaluate(() => window.clearConsoleMessages()); + + // Get the widget and grid container + const widget = page.locator('#item-1 .grid-stack-item-content'); + const gridContainer = page.locator('#grid'); + const outsideArea = page.locator('#outside-area'); + + // Verify widget is initially visible + await expect(widget).toBeVisible(); + + // Get initial positions + const widgetBox = await widget.boundingBox(); + const gridBox = await gridContainer.boundingBox(); + const outsideBox = await outsideArea.boundingBox(); + + expect(widgetBox).toBeTruthy(); + expect(gridBox).toBeTruthy(); + expect(outsideBox).toBeTruthy(); + + // Perform drag operation from widget to outside area + await page.mouse.move(widgetBox!.x + widgetBox!.width / 2, widgetBox!.y + widgetBox!.height / 2); + await page.mouse.down(); + + // Move to outside area + await page.mouse.move(outsideBox!.x + outsideBox!.width / 2, outsideBox!.y + outsideBox!.height / 2, { steps: 10 }); + await page.mouse.up(); + + // Wait a bit for any async operations + await page.waitForTimeout(500); + + // Check for console errors + const consoleMessages = await page.evaluate(() => window.getConsoleMessages()); + const errors = consoleMessages.filter((msg: any) => msg.type === 'error'); + + // Should not have any console errors + expect(errors).toHaveLength(0); + + // Widget should still exist in the DOM (even if moved back to grid) + await expect(widget).toBeVisible(); + }); + + test('should handle drag and drop within grid correctly', async ({ page }) => { + await page.evaluate(() => window.clearConsoleMessages()); + + const item1 = page.locator('#item-1 .grid-stack-item-content'); + const item2 = page.locator('#item-2 .grid-stack-item-content'); + + // Get initial positions + const item1Box = await item1.boundingBox(); + const item2Box = await item2.boundingBox(); + + expect(item1Box).toBeTruthy(); + expect(item2Box).toBeTruthy(); + + // Drag item 1 to where item 2 is + await page.mouse.move(item1Box!.x + item1Box!.width / 2, item1Box!.y + item1Box!.height / 2); + await page.mouse.down(); + await page.mouse.move(item2Box!.x + item2Box!.width / 2, item2Box!.y + item2Box!.height / 2, { steps: 10 }); + await page.mouse.up(); + + // Wait for grid to settle + await page.waitForTimeout(500); + + // Check that grid events were fired + const consoleMessages = await page.evaluate(() => window.getConsoleMessages()); + const hasGridEvents = consoleMessages.some((msg: any) => + msg.message.includes('Grid event:') || msg.message.includes('Drag') + ); + + expect(hasGridEvents).toBe(true); + + // Should not have any errors + const errors = consoleMessages.filter((msg: any) => msg.type === 'error'); + expect(errors).toHaveLength(0); + }); + + test('should validate auto-positioning HTML page', async ({ page }) => { + // Navigate to the auto-positioning test + await page.goto('/spec/e2e/html/1017-items-no-x-y-for-autoPosition.html'); + + // Wait for GridStack to initialize + await page.waitForSelector('.grid-stack-item', { state: 'visible' }); + await page.waitForFunction(() => typeof window.GridStack !== 'undefined'); + + // Get all grid items + const items = await page.locator('.grid-stack-item').all(); + expect(items).toHaveLength(5); + + // Check that item 5 is positioned at x=1, y=1 (it has explicit position) + const item5 = page.locator('[gs-id="5"]'); + await expect(item5).toBeVisible(); + + // Check that all items are visible and positioned + for (let i = 1; i <= 5; i++) { + const item = page.locator(`[gs-id="${i}"]`); + await expect(item).toBeVisible(); + + // Get computed position via data attributes + const gsX = await item.getAttribute('gs-x'); + const gsY = await item.getAttribute('gs-y'); + + // Items should have valid positions (not null/undefined) + // Item 5 should maintain its explicit position + if (i === 5) { + expect(gsX).toBe('1'); + expect(gsY).toBe('1'); + } + } + + // Verify no items overlap by checking their computed positions + const gridInfo = await page.evaluate(() => { + const gridEl = document.querySelector('.grid-stack'); + if (!gridEl || !window.GridStack) return null; + + const gridInstance = (window as any).GridStack.getGrids()[0]; + if (!gridInstance) return null; + + return { + nodes: gridInstance.engine.nodes.map((node: any) => ({ + id: node.id, + x: node.x, + y: node.y, + w: node.w, + h: node.h + })) + }; + }); + + expect(gridInfo).toBeTruthy(); + expect(gridInfo!.nodes).toHaveLength(5); + + // Verify no overlaps + const nodes = gridInfo!.nodes; + for (let i = 0; i < nodes.length; i++) { + for (let j = i + 1; j < nodes.length; j++) { + const a = nodes[i]; + const b = nodes[j]; + + // Check if rectangles overlap + const overlap = !( + a.x + a.w <= b.x || + b.x + b.w <= a.x || + a.y + a.h <= b.y || + b.y + b.h <= a.y + ); + + expect(overlap).toBe(false); + } + } + }); + + test('should handle responsive behavior', async ({ page }) => { + await page.goto('/e2e/fixtures/gridstack-with-height.html'); + await page.waitForFunction(() => window.testReady === true); + + // Test different viewport sizes + await page.setViewportSize({ width: 1200, height: 800 }); + await page.waitForTimeout(100); + + let gridWidth = await page.locator('#grid').evaluate(el => el.offsetWidth); + expect(gridWidth).toBeGreaterThan(800); + + // Test mobile viewport + await page.setViewportSize({ width: 400, height: 600 }); + await page.waitForTimeout(100); + + gridWidth = await page.locator('#grid').evaluate(el => el.offsetWidth); + expect(gridWidth).toBeLessThan(500); + + // Grid should still be functional + const items = await page.locator('.grid-stack-item').all(); + expect(items.length).toBeGreaterThan(0); + + for (const item of items) { + await expect(item).toBeVisible(); + } + }); + + test('getCellFromPixel should return correct coordinates', async ({ page }) => { + await page.goto('/e2e/fixtures/gridstack-with-height.html'); + await page.waitForFunction(() => window.testReady === true); + + // Test getCellFromPixel with real browser layout + const result = await page.evaluate(() => { + const gridEl = document.querySelector('.grid-stack'); + if (!gridEl || !window.GridStack) return null; + + const gridInstance = (window as any).GridStack.getGrids()[0]; + if (!gridInstance) return null; + + const rect = gridEl.getBoundingClientRect(); + const cellHeight = 80; + const smudge = 5; + + // Test pixel at column 4, row 5 + const pixel = { + left: 4 * rect.width / 12 + rect.x + smudge, + top: 5 * cellHeight + rect.y + smudge + }; + + const cell = gridInstance.getCellFromPixel(pixel); + + return { + cell, + rectWidth: rect.width, + rectHeight: rect.height, + pixel + }; + }); + + expect(result).toBeTruthy(); + + // Verify we got realistic dimensions (not 0 like in jsdom) + expect(result!.rectWidth).toBeGreaterThan(0); + expect(result!.rectHeight).toBeGreaterThan(0); + + // Verify pixel coordinates are calculated correctly + expect(result!.cell.x).toBe(4); + expect(result!.cell.y).toBe(5); + }); + + test('cellWidth should return correct calculation', async ({ page }) => { + await page.goto('/e2e/fixtures/gridstack-with-height.html'); + await page.waitForFunction(() => window.testReady === true); + + // Test cellWidth calculation with real browser layout + const result = await page.evaluate(() => { + const gridEl = document.querySelector('.grid-stack'); + if (!gridEl || !window.GridStack) return null; + + const gridInstance = (window as any).GridStack.getGrids()[0]; + if (!gridInstance) return null; + + const offsetWidth = gridEl.offsetWidth; + const cellWidth = gridInstance.cellWidth(); + const expectedWidth = offsetWidth / 12; // Default 12 columns + + return { + offsetWidth, + cellWidth, + expectedWidth, + match: Math.abs(cellWidth - expectedWidth) < 0.1 // Allow small floating point differences + }; + }); + + expect(result).toBeTruthy(); + + // Verify we got realistic dimensions + expect(result!.offsetWidth).toBeGreaterThan(0); + expect(result!.cellWidth).toBeGreaterThan(0); + + // Verify calculation is correct + expect(result!.match).toBe(true); + expect(result!.cellWidth).toBeCloseTo(result!.expectedWidth, 1); + }); + + test('cellHeight should affect computed styles', async ({ page }) => { + await page.goto('/e2e/fixtures/gridstack-with-height.html'); + await page.waitForFunction(() => window.testReady === true); + + // Test cellHeight with real browser layout + const result = await page.evaluate(() => { + const gridEl = document.querySelector('.grid-stack'); + if (!gridEl || !window.GridStack) return null; + + const gridInstance = (window as any).GridStack.getGrids()[0]; + if (!gridInstance) return null; + + const initialHeight = gridInstance.getCellHeight(); + const rows = parseInt(gridEl.getAttribute('gs-current-row') || '0'); + const computedHeight = parseInt(getComputedStyle(gridEl)['height']); + + // Change cell height + gridInstance.cellHeight(120); + const newHeight = gridInstance.getCellHeight(); + const newComputedHeight = parseInt(getComputedStyle(gridEl)['height']); + + return { + initialHeight, + rows, + computedHeight, + newHeight, + newComputedHeight, + expectedInitial: rows * initialHeight, + expectedNew: rows * 120 + }; + }); + + expect(result).toBeTruthy(); + + // Verify initial setup + expect(result!.initialHeight).toBeGreaterThan(0); + expect(result!.computedHeight).toBeCloseTo(result!.expectedInitial, 10); // Allow some margin for CSS differences + + // Verify height change + expect(result!.newHeight).toBe(120); + expect(result!.newComputedHeight).toBeCloseTo(result!.expectedNew, 10); + }); + + test('stylesheet should persist through DOM detach/attach', async ({ page }) => { + await page.goto('/e2e/fixtures/gridstack-with-height.html'); + await page.waitForFunction(() => window.testReady === true); + + // Test that CSS styles persist when grid DOM is detached and reattached + const result = await page.evaluate(() => { + const gridEl = document.querySelector('.grid-stack'); + if (!gridEl || !window.GridStack) return null; + + const gridInstance = (window as any).GridStack.getGrids()[0]; + if (!gridInstance) return null; + + // Update cell height to 30px to match original test + gridInstance.cellHeight(30); + + // Get initial computed height of first item (should be 2 * 30 = 60px) + const item1 = gridEl.querySelector('#item-1') || gridEl.querySelector('.grid-stack-item'); + if (!item1) return null; + + const initialHeight = window.getComputedStyle(item1).height; + + // Detach and reattach the grid container + const container = gridEl.parentElement; + const oldParent = container?.parentElement; + + if (!container || !oldParent) return null; + + container.remove(); + oldParent.appendChild(container); + + // Get height after detach/reattach + const finalHeight = window.getComputedStyle(item1).height; + + return { + initialHeight, + finalHeight, + match: initialHeight === finalHeight + }; + }); + + expect(result).toBeTruthy(); + + // Verify heights are calculated correctly and persist + expect(result!.initialHeight).toBe('60px'); // 2 rows * 30px cellHeight + expect(result!.finalHeight).toBe('60px'); + expect(result!.match).toBe(true); + }); +}); diff --git a/karma.conf.js b/karma.conf.js deleted file mode 100644 index 64b4e5c9d..000000000 --- a/karma.conf.js +++ /dev/null @@ -1,96 +0,0 @@ -// Karma configuration - -module.exports = function(config) { - config.set({ - - // see https://www.npmjs.com/package/karma-typescript - karmaTypescriptConfig: { - compilerOptions: { - lib: ['dom', 'es6'], - }, - // bundlerOptions: { - // resolve: { - // alias: { - // } - // } - // }, - exclude: ["demo", "dist/ng"], // ignore dummy demo .ts files - include: [ - "./spec/**/*-spec.ts" - ] - }, - - // base path that will be used to resolve all patterns (eg. files, exclude) - basePath: '', - - // frameworks to use - // available frameworks: https://npmjs.org/browse/keyword/karma-adapter - frameworks: ['jasmine', 'karma-typescript'], - - // list of files / patterns to load in the browser - files: [ - 'src/**/*.ts', // TODO: have to list files else the import in each won't be found! - 'spec/*-spec.ts', - // 'spec/e2e/*-spec.js' issues with ReferenceError: `browser` & `element` is not defined - ], - // BUT list of files to exclude - // exclude: [ - // ], - - // preprocess matching files before serving them to the browser - // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor - preprocessors: { - '**/*.ts': ['karma-typescript'] - }, - - // test results reporter to use - // possible values: 'dots', 'progress' - // available reporters: https://npmjs.org/browse/keyword/karma-reporter - reporters: ['progress', 'karma-typescript'], - - coverageReporter: { - type: 'lcov', // lcov or lcovonly are required for generating lcov.info files - dir: 'coverage/' - }, - - // web server port - port: 9876, - - // enable / disable colors in the output (reporters and logs) - colors: true, - - // level of logging - // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN - // config.LOG_INFO || config.LOG_DEBUG - logLevel: config.LOG_INFO, - - // enable / disable watching file and executing tests whenever any file changes - autoWatch: true, - - // start these browsers - // available browser launchers: https://npmjs.org/browse/keyword/karma-launcher - browsers: ['ChromeHeadlessCustom'], - customLaunchers: { - ChromeHeadlessCustom: { - base: 'ChromeHeadless', - flags: ['--window-size=800,600'] - } - }, - - // Continuous Integration mode - // if true, Karma captures browsers, runs the tests and exits - singleRun: true, - - // Concurrency level - // how many browser should be started simultaneous - concurrency: Infinity, - - random: false, - - client: { - jasmine: { - random: false - } - } - }); -}; diff --git a/package.json b/package.json index 9c82bbec2..bfe606c4b 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,18 @@ "doc": "doctoc ./README.md && doctoc ./doc/CHANGES.md && node scripts/generate-docs.js", "doc:main": "node scripts/generate-docs.js --main-only", "doc:angular": "node scripts/generate-docs.js --angular-only", - "test": "yarn lint && karma start karma.conf.js", + "test": "yarn lint && vitest run", + "test:watch": "vitest", + "test:ui": "vitest --ui", + "test:coverage": "vitest run --coverage", + "test:coverage:ui": "vitest --ui --coverage.enabled=true", + "test:coverage:detailed": "vitest run --config .vitestrc.coverage.ts", + "test:coverage:html": "vitest run --coverage && open coverage/index.html", + "test:coverage:lcov": "vitest run --coverage --coverage.reporter=lcov", + "test:ci": "vitest run --coverage --reporter=verbose --reporter=junit --outputFile.junit=./coverage/junit-report.xml", + "test:e2e": "playwright test", + "test:e2e:ui": "playwright test --ui", + "test:e2e:headed": "playwright test --headed", "lint": "tsc --noEmit && eslint src/*.ts", "reset": "rm -rf dist node_modules", "prepublishOnly": "yarn build" @@ -59,9 +70,13 @@ "homepage": "http://gridstackjs.com/", "dependencies": {}, "devDependencies": { - "@types/jasmine": "^4.3.1", + "@playwright/test": "^1.48.2", + "@testing-library/dom": "^10.4.0", + "@testing-library/jest-dom": "^6.4.8", "@typescript-eslint/eslint-plugin": "^5.58.0", "@typescript-eslint/parser": "^5.58.0", + "@vitest/coverage-v8": "^2.0.5", + "@vitest/ui": "^2.0.5", "connect": "^3.7.0", "core-js": "^3.30.1", "coveralls": "^3.1.1", @@ -78,12 +93,8 @@ "grunt-protractor-runner": "^5.0.0", "grunt-protractor-webdriver": "^0.2.5", "grunt-sass": "3.1.0", - "jasmine-core": "^4.6.0", - "karma": "^6.4.1", - "karma-chrome-launcher": "^3.1.1", - "karma-cli": "^2.0.0", - "karma-jasmine": "^5.1.0", - "karma-typescript": "5.5.4", + "happy-dom": "^15.7.4", + "jsdom": "^25.0.0", "protractor": "^7.0.0", "sass": "^1.62.0", "serve-static": "^1.15.0", @@ -91,6 +102,7 @@ "typedoc": "^0.28.9", "typedoc-plugin-markdown": "^4.8.0", "typescript": "^5.0.4", + "vitest": "^2.0.5", "webpack": "^5.79.0", "webpack-cli": "^5.0.1" }, diff --git a/playwright.config.ts b/playwright.config.ts new file mode 100644 index 000000000..92f0e4c12 --- /dev/null +++ b/playwright.config.ts @@ -0,0 +1,71 @@ +import { defineConfig, devices } from '@playwright/test'; + +/** + * @see https://playwright.dev/docs/test-configuration + */ +export default defineConfig({ + testDir: './e2e', + /* Run tests in files in parallel */ + fullyParallel: true, + /* Fail the build on CI if you accidentally left test.only in the source code. */ + forbidOnly: !!process.env.CI, + /* Retry on CI only */ + retries: process.env.CI ? 2 : 0, + /* Opt out of parallel tests on CI. */ + workers: process.env.CI ? 1 : undefined, + /* Reporter to use. See https://playwright.dev/docs/test-reporters */ + reporter: [ + ['html', { outputFolder: 'e2e-report' }], + ['json', { outputFile: 'e2e-report/results.json' }], + ['junit', { outputFile: 'e2e-report/results.xml' }] + ], + /* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */ + use: { + /* Base URL to use in actions like `await page.goto('/')`. */ + baseURL: 'http://localhost:8080', + + /* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */ + trace: 'on-first-retry', + + /* Take screenshot on failure */ + screenshot: 'only-on-failure', + + /* Record video on failure */ + video: 'retain-on-failure', + }, + + /* Configure projects for major browsers */ + projects: [ + { + name: 'chromium', + use: { ...devices['Desktop Chrome'] }, + }, + + { + name: 'firefox', + use: { ...devices['Desktop Firefox'] }, + }, + + { + name: 'webkit', + use: { ...devices['Desktop Safari'] }, + }, + + /* Test against mobile viewports. */ + { + name: 'Mobile Chrome', + use: { ...devices['Pixel 5'] }, + }, + { + name: 'Mobile Safari', + use: { ...devices['iPhone 12'] }, + }, + ], + + /* Run your local dev server before starting the tests */ + webServer: { + command: 'npx serve -l 8080 .', + port: 8080, + reuseExistingServer: !process.env.CI, + }, +}); diff --git a/spec/gridstack-engine-spec.ts b/spec/gridstack-engine-spec.ts index 14d55403e..06f8320cd 100644 --- a/spec/gridstack-engine-spec.ts +++ b/spec/gridstack-engine-spec.ts @@ -1,7 +1,7 @@ import { GridStackEngine } from'../src/gridstack-engine'; import { GridStackNode } from'../src/types'; -describe('gridstack engine:', function() { +describe('gridstack engine:', () => { 'use strict'; let e: GridStackEngine; let ePriv: any; // cast engine for private vars access @@ -9,14 +9,14 @@ describe('gridstack engine:', function() { return e.nodes.find(n => n.id === id); }; - it('should exist setup function.', function() { + it('should exist setup function.', () => { expect(GridStackEngine).not.toBeNull(); expect(typeof GridStackEngine).toBe('function'); }); - describe('test constructor >', function() { + describe('test constructor >', () => { - it('should be setup properly', function() { + it('should be setup properly', () => { ePriv = e = new GridStackEngine(); expect(e.column).toEqual(12); expect(e.float).toEqual(false); @@ -26,8 +26,8 @@ describe('gridstack engine:', function() { expect(ePriv.onChange).toEqual(undefined); }); - it('should set params correctly.', function() { - let fkt = function() { }; + it('should set params correctly.', () => { + let fkt = () => { }; let arr: any = [1,2,3]; ePriv = e = new GridStackEngine({column: 1, onChange:fkt, float:true, maxRow:2, nodes:arr}); expect(e.column).toEqual(1); @@ -39,62 +39,62 @@ describe('gridstack engine:', function() { }); }); - describe('batch update', function() { + describe('batch update', () => { - it('should set float and batchMode when calling batchUpdate.', function() { + it('should set float and batchMode when calling batchUpdate.', () => { ePriv = e = new GridStackEngine({float: true}); e.batchUpdate(); expect(e.float).toBe(true); - expect(e.batchMode).toBeTrue(); + expect(e.batchMode).toBe(true); }); }); - describe('test prepareNode >', function() { + describe('test prepareNode >', () => { - beforeAll(function() { + beforeAll(() => { ePriv = e = new GridStackEngine(); }); - it('should prepare a node', function() { - expect(e.prepareNode({}, false)).toEqual(jasmine.objectContaining({x: 0, y: 0, h: 1})); - expect(e.prepareNode({x: 10}, false)).toEqual(jasmine.objectContaining({x: 10, y: 0, h: 1})); - expect(e.prepareNode({x: -10}, false)).toEqual(jasmine.objectContaining({x: 0, y: 0, h: 1})); - expect(e.prepareNode({y: 10}, false)).toEqual(jasmine.objectContaining({x: 0, y: 10, h: 1})); - expect(e.prepareNode({y: -10}, false)).toEqual(jasmine.objectContaining({x: 0, y: 0, h: 1})); - expect(e.prepareNode({w: 3}, false)).toEqual(jasmine.objectContaining({x: 0, y: 0, w: 3, h: 1})); - expect(e.prepareNode({w: 100}, false)).toEqual(jasmine.objectContaining({x: 0, y: 0, w: 12, h: 1})); - expect(e.prepareNode({w: 0}, false)).toEqual(jasmine.objectContaining({x: 0, y: 0, h: 1})); - expect(e.prepareNode({w: -190}, false)).toEqual(jasmine.objectContaining({x: 0, y: 0, h: 1})); - expect(e.prepareNode({h: 3}, false)).toEqual(jasmine.objectContaining({x: 0, y: 0, h: 3})); - expect(e.prepareNode({h: 0}, false)).toEqual(jasmine.objectContaining({x: 0, y: 0, h: 1})); - expect(e.prepareNode({h: -10}, false)).toEqual(jasmine.objectContaining({x: 0, y: 0, h: 1})); - expect(e.prepareNode({x: 4, w: 10}, false)).toEqual(jasmine.objectContaining({x: 2, y: 0, w: 10, h: 1})); - expect(e.prepareNode({x: 4, w: 10}, true)).toEqual(jasmine.objectContaining({x: 4, y: 0, w: 8, h: 1})); + it('should prepare a node', () => { + expect(e.prepareNode({}, false)).toEqual(expect.objectContaining({x: 0, y: 0, h: 1})); + expect(e.prepareNode({x: 10}, false)).toEqual(expect.objectContaining({x: 10, y: 0, h: 1})); + expect(e.prepareNode({x: -10}, false)).toEqual(expect.objectContaining({x: 0, y: 0, h: 1})); + expect(e.prepareNode({y: 10}, false)).toEqual(expect.objectContaining({x: 0, y: 10, h: 1})); + expect(e.prepareNode({y: -10}, false)).toEqual(expect.objectContaining({x: 0, y: 0, h: 1})); + expect(e.prepareNode({w: 3}, false)).toEqual(expect.objectContaining({x: 0, y: 0, w: 3, h: 1})); + expect(e.prepareNode({w: 100}, false)).toEqual(expect.objectContaining({x: 0, y: 0, w: 12, h: 1})); + expect(e.prepareNode({w: 0}, false)).toEqual(expect.objectContaining({x: 0, y: 0, h: 1})); + expect(e.prepareNode({w: -190}, false)).toEqual(expect.objectContaining({x: 0, y: 0, h: 1})); + expect(e.prepareNode({h: 3}, false)).toEqual(expect.objectContaining({x: 0, y: 0, h: 3})); + expect(e.prepareNode({h: 0}, false)).toEqual(expect.objectContaining({x: 0, y: 0, h: 1})); + expect(e.prepareNode({h: -10}, false)).toEqual(expect.objectContaining({x: 0, y: 0, h: 1})); + expect(e.prepareNode({x: 4, w: 10}, false)).toEqual(expect.objectContaining({x: 2, y: 0, w: 10, h: 1})); + expect(e.prepareNode({x: 4, w: 10}, true)).toEqual(expect.objectContaining({x: 4, y: 0, w: 8, h: 1})); }); }); - describe('sorting of nodes >', function() { - beforeAll(function() { + describe('sorting of nodes >', () => { + beforeAll(() => { ePriv = e = new GridStackEngine(); e.nodes = [{x: 7, y: 0}, {x: 4, y: 4}, {x: 9, y: 0}, {x: 0, y: 1}]; }); - it('should sort ascending with 12 columns.', function() { + it('should sort ascending with 12 columns.', () => { e.sortNodes(1); expect(e.nodes).toEqual([{x: 7, y: 0}, {x: 9, y: 0}, {x: 0, y: 1}, {x: 4, y: 4}]); }); - it('should sort descending with 12 columns.', function() { + it('should sort descending with 12 columns.', () => { e.sortNodes(-1); expect(e.nodes).toEqual([{x: 4, y: 4}, {x: 0, y: 1}, {x: 9, y: 0}, {x: 7, y: 0}]); }); - it('should sort ascending without columns.', function() { + it('should sort ascending without columns.', () => { ePriv.column = undefined; e.sortNodes(1); expect(e.nodes).toEqual([{x: 7, y: 0}, {x: 9, y: 0}, {x: 0, y: 1}, {x: 4, y: 4}]); }); - it('should sort descending without columns.', function() { + it('should sort descending without columns.', () => { ePriv.column = undefined; e.sortNodes(-1); expect(e.nodes).toEqual([{x: 4, y: 4}, {x: 0, y: 1}, {x: 9, y: 0}, {x: 7, y: 0}]); @@ -102,29 +102,29 @@ describe('gridstack engine:', function() { }); - describe('test isAreaEmpty >', function() { + describe('test isAreaEmpty >', () => { - beforeAll(function() { + beforeAll(() => { ePriv = e = new GridStackEngine({float:true}); e.nodes = [ e.prepareNode({x: 3, y: 2, w: 3, h: 2}) ]; }); - it('should be true', function() { + it('should be true', () => { expect(e.isAreaEmpty(0, 0, 3, 2)).toEqual(true); expect(e.isAreaEmpty(3, 4, 3, 2)).toEqual(true); }); - it('should be false', function() { + it('should be false', () => { expect(e.isAreaEmpty(1, 1, 3, 2)).toEqual(false); expect(e.isAreaEmpty(2, 3, 3, 2)).toEqual(false); }); }); - describe('test cleanNodes/getDirtyNodes >', function() { + describe('test cleanNodes/getDirtyNodes >', () => { - beforeAll(function() { + beforeAll(() => { ePriv = e = new GridStackEngine({float:true}); e.nodes = [ e.prepareNode({x: 0, y: 0, id: '1', _dirty: true}), @@ -133,82 +133,82 @@ describe('gridstack engine:', function() { ]; }); - beforeEach(function() { + beforeEach(() => { delete ePriv.batchMode; }); - it('should return all dirty nodes', function() { + it('should return all dirty nodes', () => { let nodes = e.getDirtyNodes(); expect(nodes.length).toEqual(2); expect(nodes[0].id).toEqual('1'); expect(nodes[1].id).toEqual('2'); }); - it('should\'n clean nodes if batchMode true', function() { + it('should\'n clean nodes if batchMode true', () => { e.batchMode = true; e.cleanNodes(); expect(e.getDirtyNodes().length).toBeGreaterThan(0); }); - it('should clean all dirty nodes', function() { + it('should clean all dirty nodes', () => { e.cleanNodes(); expect(e.getDirtyNodes().length).toEqual(0); }); }); - describe('test batchUpdate/commit >', function() { - beforeAll(function() { + describe('test batchUpdate/commit >', () => { + beforeAll(() => { ePriv = e = new GridStackEngine(); }); - it('should work on not float grids', function() { + it('should work on not float grids', () => { expect(e.float).toEqual(false); e.batchUpdate(); e.batchUpdate(); // double for code coverage - expect(e.batchMode).toBeTrue(); + expect(e.batchMode).toBe(true); expect(e.float).toEqual(true); e.batchUpdate(false); e.batchUpdate(false); - expect(e.batchMode).not.toBeTrue(); - expect(e.float).not.toBeTrue; + expect(e.batchMode).not.toBe(true); + expect(e.float).not.toBe(true); }); - it('should work on float grids', function() { + it('should work on float grids', () => { e.float = true; e.batchUpdate(); - expect(e.batchMode).toBeTrue(); + expect(e.batchMode).toBe(true); expect(e.float).toEqual(true); e.batchUpdate(false); - expect(e.batchMode).not.toBeTrue(); + expect(e.batchMode).not.toBe(true); expect(e.float).toEqual(true); }); }); - describe('test batchUpdate/commit >', function() { + describe('test batchUpdate/commit >', () => { - beforeAll(function() { + beforeAll(() => { ePriv = e = new GridStackEngine({float:true}); }); - it('should work on float grids', function() { + it('should work on float grids', () => { expect(e.float).toEqual(true); e.batchUpdate(); - expect(e.batchMode).toBeTrue(); + expect(e.batchMode).toBe(true); expect(e.float).toEqual(true); e.batchUpdate(false); - expect(e.batchMode).not.toBeTrue(); + expect(e.batchMode).not.toBe(true); expect(e.float).toEqual(true); }); }); - describe('test _notify >', function() { + describe('test _notify >', () => { let spy; - beforeEach(function() { + beforeEach(() => { spy = { - callback: function() {} + callback: () => {} }; - spyOn(spy,'callback'); + vi.spyOn(spy,'callback'); ePriv = e = new GridStackEngine({float:true, onChange: spy.callback}); e.nodes = [ e.prepareNode({x: 0, y: 0, id: '1', _dirty: true}), @@ -217,187 +217,187 @@ describe('gridstack engine:', function() { ]; }); - it('should\'n be called if batchMode true', function() { + it('should\'n be called if batchMode true', () => { e.batchMode = true; ePriv._notify(); expect(spy.callback).not.toHaveBeenCalled(); }); - it('should by called with dirty nodes', function() { + it('should by called with dirty nodes', () => { ePriv._notify(); expect(spy.callback).toHaveBeenCalledWith([e.nodes[0], e.nodes[1]]); }); - it('should by called with extra passed node to be removed', function() { + it('should by called with extra passed node to be removed', () => { let n1 = {id: -1}; ePriv._notify([n1]); expect(spy.callback).toHaveBeenCalledWith([n1, e.nodes[0], e.nodes[1]]); }); }); - describe('test _packNodes >', function() { - describe('using float:false mode >', function() { - beforeEach(function() { + describe('test _packNodes >', () => { + describe('using float:false mode >', () => { + beforeEach(() => { ePriv = e = new GridStackEngine({float:false}); }); - it('shouldn\'t pack one node with y coord eq 0', function() { + it('shouldn\'t pack one node with y coord eq 0', () => { e.nodes = [ e.prepareNode({x: 0, y: 0, w:1, h:1, id: '1'}), ]; ePriv._packNodes(); - expect(findNode('1')).toEqual(jasmine.objectContaining({x: 0, y: 0, h: 1})); + expect(findNode('1')).toEqual(expect.objectContaining({x: 0, y: 0, h: 1})); expect(findNode('1')!._dirty).toBeFalsy(); }); - it('should pack one node correctly', function() { + it('should pack one node correctly', () => { e.nodes = [ e.prepareNode({x: 0, y: 1, w:1, h:1, id: '1'}), ]; ePriv._packNodes(); - expect(findNode('1')).toEqual(jasmine.objectContaining({x: 0, y: 0, _dirty: true})); + expect(findNode('1')).toEqual(expect.objectContaining({x: 0, y: 0, _dirty: true})); }); - it('should pack nodes correctly', function() { + it('should pack nodes correctly', () => { e.nodes = [ e.prepareNode({x: 0, y: 1, w:1, h:1, id: '1'}), e.prepareNode({x: 0, y: 5, w:1, h:1, id: '2'}), ]; ePriv._packNodes(); - expect(findNode('1')).toEqual(jasmine.objectContaining({x: 0, y: 0, _dirty: true})); - expect(findNode('2')).toEqual(jasmine.objectContaining({x: 0, y: 1, _dirty: true})); + expect(findNode('1')).toEqual(expect.objectContaining({x: 0, y: 0, _dirty: true})); + expect(findNode('2')).toEqual(expect.objectContaining({x: 0, y: 1, _dirty: true})); }); - it('should pack reverse nodes correctly', function() { + it('should pack reverse nodes correctly', () => { e.nodes = [ e.prepareNode({x: 0, y: 5, w:1, h:1, id: '1'}), e.prepareNode({x: 0, y: 1, w:1, h:1, id: '2'}), ]; ePriv._packNodes(); - expect(findNode('2')).toEqual(jasmine.objectContaining({x: 0, y: 0, _dirty: true})); - expect(findNode('1')).toEqual(jasmine.objectContaining({x: 0, y: 1, _dirty: true})); + expect(findNode('2')).toEqual(expect.objectContaining({x: 0, y: 0, _dirty: true})); + expect(findNode('1')).toEqual(expect.objectContaining({x: 0, y: 1, _dirty: true})); }); - it('should respect locked nodes', function() { + it('should respect locked nodes', () => { e.nodes = [ e.prepareNode({x: 0, y: 1, w:1, h:1, id: '1', locked: true}), e.prepareNode({x: 0, y: 5, w:1, h:1, id: '2'}), ]; ePriv._packNodes(); - expect(findNode('1')).toEqual(jasmine.objectContaining({x: 0, y: 1, h: 1})); + expect(findNode('1')).toEqual(expect.objectContaining({x: 0, y: 1, h: 1})); expect(findNode('1')!._dirty).toBeFalsy(); - expect(findNode('2')).toEqual(jasmine.objectContaining({x: 0, y: 2, _dirty: true})); + expect(findNode('2')).toEqual(expect.objectContaining({x: 0, y: 2, _dirty: true})); }); }); }); - describe('test changedPos >', function() { - beforeAll(function() { + describe('test changedPos >', () => { + beforeAll(() => { ePriv = e = new GridStackEngine(); }); - it('should return true for changed x', function() { + it('should return true for changed x', () => { let widget = { x: 1, y: 2, w: 3, h: 4 }; expect(e.changedPosConstrain(widget, {x:2, y:2})).toEqual(true); }); - it('should return true for changed y', function() { + it('should return true for changed y', () => { let widget = { x: 1, y: 2, w: 3, h: 4 }; expect(e.changedPosConstrain(widget, {x:1, y:1})).toEqual(true); }); - it('should return true for changed width', function() { + it('should return true for changed width', () => { let widget = { x: 1, y: 2, w: 3, h: 4 }; expect(e.changedPosConstrain(widget, {x:2, y:2, w:4, h:4})).toEqual(true); }); - it('should return true for changed height', function() { + it('should return true for changed height', () => { let widget = { x: 1, y: 2, w: 3, h: 4 }; expect(e.changedPosConstrain(widget, {x:1, y:2, w:3, h:3})).toEqual(true); }); - it('should return false for unchanged position', function() { + it('should return false for unchanged position', () => { let widget = { x: 1, y: 2, w: 3, h: 4 }; expect(e.changedPosConstrain(widget, {x:1, y:2, w:3, h:4})).toEqual(false); }); }); - describe('test locked widget >', function() { - beforeAll(function() { + describe('test locked widget >', () => { + beforeAll(() => { ePriv = e = new GridStackEngine(); }); - it('should add widgets around locked one', function() { + it('should add widgets around locked one', () => { let nodes: GridStackNode[] = [ {x: 0, y: 1, w: 12, h: 1, locked: true, noMove: true, noResize: true, id: '0'}, {x: 1, y: 0, w: 2, h: 3, id: '1'} ]; // add locked item e.addNode(nodes[0]) - expect(findNode('0')).toEqual(jasmine.objectContaining({x: 0, y: 1, w: 12, h: 1, locked: true})); + expect(findNode('0')).toEqual(expect.objectContaining({x: 0, y: 1, w: 12, h: 1, locked: true})); // add item that moves past locked one e.addNode(nodes[1]) - expect(findNode('0')).toEqual(jasmine.objectContaining({x: 0, y: 1, w: 12, h: 1, locked: true})); - expect(findNode('1')).toEqual(jasmine.objectContaining({x: 1, y: 2, h: 3})); + expect(findNode('0')).toEqual(expect.objectContaining({x: 0, y: 1, w: 12, h: 1, locked: true})); + expect(findNode('1')).toEqual(expect.objectContaining({x: 1, y: 2, h: 3})); // locked item can still be moved directly (what user does) let node0 = findNode('0'); expect(e.moveNode(node0!, {y:6})).toEqual(true); - expect(findNode('0')).toEqual(jasmine.objectContaining({x: 0, y: 6, h: 1, locked: true})); + expect(findNode('0')).toEqual(expect.objectContaining({x: 0, y: 6, h: 1, locked: true})); // but moves regular one past it let node1 = findNode('1'); expect(e.moveNode(node1!, {x:6, y:6})).toEqual(true); - expect(node1).toEqual(jasmine.objectContaining({x: 6, y: 7, w: 2, h: 3})); + expect(node1).toEqual(expect.objectContaining({x: 6, y: 7, w: 2, h: 3})); // but moves regular one before (gravity ON) e.float = false; expect(e.moveNode(node1!, {x:7, y:3})).toEqual(true); - expect(node1).toEqual(jasmine.objectContaining({x: 7, y: 0, w: 2, h: 3})); + expect(node1).toEqual(expect.objectContaining({x: 7, y: 0, w: 2, h: 3})); // but moves regular one before (gravity OFF) e.float = true; expect(e.moveNode(node1!, {x:7, y:3})).toEqual(true); - expect(node1).toEqual(jasmine.objectContaining({x: 7, y: 3, w: 2, h: 3})); + expect(node1).toEqual(expect.objectContaining({x: 7, y: 3, w: 2, h: 3})); }); }); - describe('test columnChanged >', function() { - beforeAll(function() { + describe('test columnChanged >', () => { + beforeAll(() => { }); - it('12 to 1 and back', function() { + it('12 to 1 and back', () => { ePriv = e = new GridStackEngine({ column: 12 }); // Add two side-by-side components 6+6 = 12 columns const left = e.addNode({ x: 0, y: 0, w: 6, h: 1, id: 'left' }); const right = e.addNode({ x: 6, y: 0, w: 6, h: 1, id: 'right' }); - expect(left).toEqual(jasmine.objectContaining({x: 0, y: 0, w: 6, h: 1})); - expect(right).toEqual(jasmine.objectContaining({x: 6, y: 0, w: 6, h: 1})); + expect(left).toEqual(expect.objectContaining({x: 0, y: 0, w: 6, h: 1})); + expect(right).toEqual(expect.objectContaining({x: 6, y: 0, w: 6, h: 1})); // Resize to 1 column e.column = 1; e.columnChanged(12, 1); - expect(left).toEqual(jasmine.objectContaining({x: 0, y: 0, w: 1, h: 1})); - expect(right).toEqual(jasmine.objectContaining({x: 0, y: 1, w: 1, h: 1})); + expect(left).toEqual(expect.objectContaining({x: 0, y: 0, w: 1, h: 1})); + expect(right).toEqual(expect.objectContaining({x: 0, y: 1, w: 1, h: 1})); // Resize back to 12 column e.column = 12; e.columnChanged(1, 12); - expect(left).toEqual(jasmine.objectContaining({x: 0, y: 0, w: 6, h: 1})); - expect(right).toEqual(jasmine.objectContaining({x: 6, y: 0, w: 6, h: 1})); + expect(left).toEqual(expect.objectContaining({x: 0, y: 0, w: 6, h: 1})); + expect(right).toEqual(expect.objectContaining({x: 6, y: 0, w: 6, h: 1})); }); - it('24 column to 1 and back', function() { + it('24 column to 1 and back', () => { ePriv = e = new GridStackEngine({ column: 24 }); // Add two side-by-side components 12+12 = 24 columns const left = e.addNode({ x: 0, y: 0, w: 12, h: 1, id: 'left' }); const right = e.addNode({ x: 12, y: 0, w: 12, h: 1, id: 'right' }); - expect(left).toEqual(jasmine.objectContaining({x: 0, y: 0, w: 12, h: 1})); - expect(right).toEqual(jasmine.objectContaining({x: 12, y: 0, w: 12, h: 1})); + expect(left).toEqual(expect.objectContaining({x: 0, y: 0, w: 12, h: 1})); + expect(right).toEqual(expect.objectContaining({x: 12, y: 0, w: 12, h: 1})); // Resize to 1 column e.column = 1; e.columnChanged(24, 1); - expect(left).toEqual(jasmine.objectContaining({x: 0, y: 0, w: 1, h: 1})); - expect(right).toEqual(jasmine.objectContaining({x: 0, y: 1, w: 1, h: 1})); + expect(left).toEqual(expect.objectContaining({x: 0, y: 0, w: 1, h: 1})); + expect(right).toEqual(expect.objectContaining({x: 0, y: 1, w: 1, h: 1})); // Resize back to 24 column e.column = 24; e.columnChanged(1, 24); - expect(left).toEqual(jasmine.objectContaining({x: 0, y: 0, w: 12, h: 1})); - expect(right).toEqual(jasmine.objectContaining({x: 12, y: 0, w: 12, h: 1})); + expect(left).toEqual(expect.objectContaining({x: 0, y: 0, w: 12, h: 1})); + expect(right).toEqual(expect.objectContaining({x: 12, y: 0, w: 12, h: 1})); }); }); - describe('test compact >', function() { - beforeAll(function() { + describe('test compact >', () => { + beforeAll(() => { ePriv = e = new GridStackEngine(); }); - it('do nothing', function() { + it('do nothing', () => { e.compact(); }); }); diff --git a/spec/gridstack-spec.ts b/spec/gridstack-spec.ts index bfbe3668c..cadf6babf 100644 --- a/spec/gridstack-spec.ts +++ b/spec/gridstack-spec.ts @@ -1,7 +1,7 @@ import { GridItemHTMLElement, GridStack, GridStackNode, GridStackWidget } from '../src/gridstack'; import { Utils } from '../src/utils'; -describe('gridstack >', function() { +describe('gridstack >', () => { 'use strict'; let grid: GridStack; @@ -48,43 +48,43 @@ describe('gridstack >', function() { // generic widget with no param let widgetHTML = '
hello
'; - describe('grid.init() / initAll() >', function() { - beforeEach(function() { + describe('grid.init() / initAll() >', () => { + beforeEach(() => { document.body.insertAdjacentHTML('afterbegin', gridstackHTML); }); - afterEach(function() { + afterEach(() => { document.body.removeChild(document.getElementById('gs-cont')); }); - it('use selector >', function() { + it('use selector >', () => { grid = GridStack.init(undefined, '.grid-stack'); expect(grid).not.toBe(null); }); - it('use selector no dot >', function() { + it('use selector no dot >', () => { grid = GridStack.init(null, 'grid-stack'); expect(grid).not.toBe(null); }); - it('use wrong selector >', function() { + it('use wrong selector >', () => { grid = GridStack.init(null, 'BAD_SELECTOR_TEST'); expect(grid).toEqual(null); }); - it('initAll use selector >', function() { + it('initAll use selector >', () => { grids = GridStack.initAll(undefined, '.grid-stack'); expect(grids.length).toBe(1); }); - it('initAll use selector no dot >', function() { + it('initAll use selector no dot >', () => { grids = GridStack.initAll(undefined, 'grid-stack'); expect(grids.length).toBe(1); }); }); - describe('grid.setAnimation >', function() { - beforeEach(function() { + describe('grid.setAnimation >', () => { + beforeEach(() => { document.body.insertAdjacentHTML('afterbegin', gridstackHTML); }); - afterEach(function() { + afterEach(() => { document.body.removeChild(document.getElementById('gs-cont')); }); - it('should add class grid-stack-animate to the container. >', function() { + it('should add class grid-stack-animate to the container. >', () => { grid = GridStack.init({animate: true}); expect(grid.el.classList.contains('grid-stack-animate')).toBe(true); grid.el.classList.remove('grid-stack-animate'); @@ -92,21 +92,21 @@ describe('gridstack >', function() { grid.setAnimation(true); expect(grid.el.classList.contains('grid-stack-animate')).toBe(true); }); - it('should remove class grid-stack-animate from the container. >', function() { + it('should remove class grid-stack-animate from the container. >', () => { grid = GridStack.init({animate: true}); grid.setAnimation(false); expect(grid.el.classList.contains('grid-stack-animate')).toBe(false); }); }); - describe('grid._setStaticClass >', function() { - beforeEach(function() { + describe('grid._setStaticClass >', () => { + beforeEach(() => { document.body.insertAdjacentHTML('afterbegin', gridstackHTML); }); - afterEach(function() { + afterEach(() => { document.body.removeChild(document.getElementById('gs-cont')); }); - it('should add class grid-stack-static to the container. >', function() { + it('should add class grid-stack-static to the container. >', () => { grid = GridStack.init({staticGrid: true}); expect(grid.el.classList.contains('grid-stack-static')).toBe(true); grid.setStatic(false); @@ -114,7 +114,7 @@ describe('gridstack >', function() { grid.setStatic(true); expect(grid.el.classList.contains('grid-stack-static')).toBe(true); }); - it('should remove class grid-stack-static from the container. >', function() { + it('should remove class grid-stack-static from the container. >', () => { grid = GridStack.init({staticGrid: false}); expect(grid.el.classList.contains('grid-stack-static')).toBe(false); grid.setStatic(true); @@ -122,84 +122,22 @@ describe('gridstack >', function() { }); }); - describe('grid.getCellFromPixel >', function() { - beforeEach(function() { - document.body.insertAdjacentHTML('afterbegin', gridstackHTML); - }); - afterEach(function() { - document.body.removeChild(document.getElementById('gs-cont')); - }); - it('should return {x: 4, y: 5}. >', function() { - let cellHeight = 80; - let options = { - cellHeight, - margin: 5 - }; - grid = GridStack.init(options); - let rect = grid.el.getBoundingClientRect(); - let smudge = 5; - let pixel = {left: 4 * rect.width / 12 + rect.x + smudge, top: 5 * cellHeight + rect.y + smudge}; - let cell = grid.getCellFromPixel(pixel); - expect(cell.x).toBe(4); - // expect(cell.y).toBe(5); can't get rect.y to be set (force render ?) - cell = grid.getCellFromPixel(pixel, false); - expect(cell.x).toBe(4); - // expect(cell.y).toBe(5); - cell = grid.getCellFromPixel(pixel, true); - expect(cell.x).toBe(4); - // expect(cell.y).toBe(5); - - // now move in and get prev cell (we were on the edge) - pixel = {left: 4 * rect.width / 12 + rect.x - smudge, top: 5 * cellHeight + rect.y - smudge}; - cell = grid.getCellFromPixel(pixel); - expect(cell.x).toBe(3); - // expect(cell.y).toBe(4); - cell = grid.getCellFromPixel(pixel, false); - expect(cell.x).toBe(3); - // expect(cell.y).toBe(4); - cell = grid.getCellFromPixel(pixel, true); - expect(cell.x).toBe(3); - // expect(cell.y).toBe(4); - }); - }); + // Note: Pixel-accurate coordinate tests moved to E2E tests + // where real browser layout engines can provide accurate getBoundingClientRect() + // describe('grid.getCellFromPixel >', () => {}); - describe('grid.cellWidth >', function() { - beforeEach(function() { - document.body.insertAdjacentHTML('afterbegin', gridstackHTML); - }); - afterEach(function() { - document.body.removeChild(document.getElementById('gs-cont')); - }); - it('should return 1/12th of container width (not rounded anymore). >', function() { - let options = { - cellHeight: 80, - margin: 5, - column: 12 - }; - grid = GridStack.init(options); - let res = grid.el.offsetWidth / 12; - expect(grid.cellWidth()).toBe(res); - }); - it('should return 1/10th of container width. >', function() { - let options = { - cellHeight: 80, - margin: 5, - column: 10 - }; - grid = GridStack.init(options); - let res = Math.round(grid.el.offsetWidth / 10); - expect(grid.cellWidth()).toBe(res); - }); - }); + // Note: Exact pixel calculation tests moved to E2E tests + // where real browser layout engines can provide accurate offsetWidth + // describe('grid.cellWidth >', () => {}); - describe('grid.cellHeight >', function() { - beforeEach(function() { + describe('grid.cellHeight >', () => { + beforeEach(() => { document.body.insertAdjacentHTML('afterbegin', gridstackHTML); }); - afterEach(function() { + afterEach(() => { document.body.removeChild(document.getElementById('gs-cont')); }); - it('should start at 80 then become 120 >', function() { + it('should set and get cellHeight correctly >', () => { let cellHeight = 80; let margin = 5; let options = { @@ -208,62 +146,61 @@ describe('gridstack >', function() { column: 12 }; grid = GridStack.init(options); + let rows = parseInt(grid.el.getAttribute('gs-current-row')); expect(grid.getRow()).toBe(rows); - expect(grid.getCellHeight()).toBe(cellHeight); - expect(parseInt(getComputedStyle(grid.el)['height'])).toBe(rows * cellHeight); + + // Note: Exact pixel height calculation tests moved to E2E tests + // where real browser layout engines can provide accurate getComputedStyle() values grid.cellHeight( grid.getCellHeight() ); // should be no-op expect(grid.getCellHeight()).toBe(cellHeight); - expect(parseInt(getComputedStyle(grid.el)['height'])).toBe(rows * cellHeight); - cellHeight = 120; // should change and CSS actual height + cellHeight = 120; // should change grid.cellHeight( cellHeight ); expect(grid.getCellHeight()).toBe(cellHeight); - expect(parseInt(getComputedStyle(grid.el)['height'])).toBe(rows * cellHeight); - cellHeight = 20; // should change and CSS actual height + cellHeight = 20; // should change grid.cellHeight( cellHeight ); expect(grid.getCellHeight()).toBe(cellHeight); - expect(parseInt(getComputedStyle(grid.el)['height'])).toBe(rows * cellHeight); }); - it('should be square >', function() { + it('should be square >', () => { grid = GridStack.init({cellHeight: 'auto'}); expect(grid.cellWidth()).toBe( grid.getCellHeight()); }); }); - describe('grid.column >', function() { - beforeEach(function() { + describe('grid.column >', () => { + beforeEach(() => { document.body.insertAdjacentHTML('afterbegin', gridstackHTML); }); - afterEach(function() { + afterEach(() => { document.body.removeChild(document.getElementById('gs-cont')); }); - it('should have no changes >', function() { + it('should have no changes >', () => { grid = GridStack.init(); expect(grid.getColumn()).toBe(12); grid.column(12); expect(grid.getColumn()).toBe(12); }); - it('should set construct CSS class >', function() { + it('should set construct CSS class >', () => { grid = GridStack.init({column: 1}); expect(grid.el.classList.contains('gs-1')).toBe(true); grid.column(2); expect(grid.el.classList.contains('gs-1')).toBe(false); expect(grid.el.classList.contains('gs-2')).toBe(true); }); - it('should set CSS class >', function() { + it('should set CSS class >', () => { grid = GridStack.init(); expect(grid.el.classList.contains('grid-stack')).toBe(true); grid.column(1); expect(grid.el.classList.contains('gs-1')).toBe(true); }); - it('should SMALL change column number, no relayout >', function() { + it('should SMALL change column number, no relayout >', () => { let options = { column: 12 }; @@ -276,7 +213,7 @@ describe('gridstack >', function() { expect(grid.getColumn()).toBe(12); items.forEach(el => expect(el.getAttribute('gs-y')).toBe(null)); }); - it('no sizing, no moving >', function() { + it('no sizing, no moving >', () => { grid = GridStack.init({column: 12}); let items = Utils.getElements('.grid-stack-item'); grid.column(8, 'none'); @@ -286,7 +223,7 @@ describe('gridstack >', function() { expect(el.getAttribute('gs-y')).toBe(null); }); }); - it('no sizing, but moving down >', function() { + it('no sizing, but moving down >', () => { grid = GridStack.init({column: 12}); let items = Utils.getElements('.grid-stack-item'); grid.column(7, 'move'); @@ -295,7 +232,7 @@ describe('gridstack >', function() { expect(items[0].getAttribute('gs-y')).toBe(null); expect(parseInt(items[1].getAttribute('gs-y'))).toBe(2); }); - it('should change column number and re-layout items >', function() { + it('should change column number and re-layout items >', () => { let options = { column: 12, float: true @@ -432,15 +369,15 @@ describe('gridstack >', function() { }); }); - describe('grid.column larger layout >', function() { - beforeEach(function() { + describe('grid.column larger layout >', () => { + beforeEach(() => { document.body.insertAdjacentHTML('afterbegin', gridstackEmptyHTML); }); - afterEach(function() { + afterEach(() => { document.body.removeChild(document.getElementById('gs-cont')); }); - it('24 layout in 12 column to 1 back 12 then 24 >', function() { + it('24 layout in 12 column to 1 back 12 then 24 >', () => { const children: GridStackWidget[] = [{ x: 0, y: 0, w: 12, h: 1, id: 'left' }, { x: 12, y: 0, w: 12, h: 1, id: 'right' }]; children.forEach(c => c.content = c.id); @@ -449,22 +386,22 @@ describe('gridstack >', function() { const right = find('right'); // side-by-side components 12+12 = 24 columns but only have 12! - expect(left).toEqual(jasmine.objectContaining({x: 0, y: 0, w: 12})); - expect(right).toEqual(jasmine.objectContaining({x: 0, y: 1, w: 12})); + expect(left).toEqual(expect.objectContaining({x: 0, y: 0, w: 12})); + expect(right).toEqual(expect.objectContaining({x: 0, y: 1, w: 12})); // Resize to 1 column grid.column(1); - expect(left).toEqual(jasmine.objectContaining({x: 0, y: 0, w: 1})); - expect(right).toEqual(jasmine.objectContaining({x: 0, y: 1, w: 1})); + expect(left).toEqual(expect.objectContaining({x: 0, y: 0, w: 1})); + expect(right).toEqual(expect.objectContaining({x: 0, y: 1, w: 1})); // Resize back to 12 column grid.column(12); - expect(left).toEqual(jasmine.objectContaining({x: 0, y: 0, w: 12})); - expect(right).toEqual(jasmine.objectContaining({x: 0, y: 1, w: 12})); + expect(left).toEqual(expect.objectContaining({x: 0, y: 0, w: 12})); + expect(right).toEqual(expect.objectContaining({x: 0, y: 1, w: 12})); // Resize to 24 column grid.column(24); - expect(left).toEqual(jasmine.objectContaining({x: 0, y: 0, w: 12})); - expect(right).toEqual(jasmine.objectContaining({x: 12, y: 0, w: 12})); + expect(left).toEqual(expect.objectContaining({x: 0, y: 0, w: 12})); + expect(right).toEqual(expect.objectContaining({x: 12, y: 0, w: 12})); }); - it('24 column to 12, 1 back 12,24 >', function() { + it('24 column to 12, 1 back 12,24 >', () => { const children: GridStackWidget[] = [{ x: 0, y: 0, w: 12, h: 1, id: 'left' }, { x: 12, y: 0, w: 12, h: 1, id: 'right' }]; children.forEach(c => c.content = c.id); @@ -473,36 +410,36 @@ describe('gridstack >', function() { const right = find('right'); // side-by-side components 12+12 = 24 columns - expect(left).toEqual(jasmine.objectContaining({x: 0, y: 0, w: 12})); - expect(right).toEqual(jasmine.objectContaining({x: 12, y: 0, w: 12})); + expect(left).toEqual(expect.objectContaining({x: 0, y: 0, w: 12})); + expect(right).toEqual(expect.objectContaining({x: 12, y: 0, w: 12})); // Resize to 12 column grid.column(12); - expect(left).toEqual(jasmine.objectContaining({x: 0, y: 0, w: 6})); - expect(right).toEqual(jasmine.objectContaining({x: 6, y: 0, w: 6})); + expect(left).toEqual(expect.objectContaining({x: 0, y: 0, w: 6})); + expect(right).toEqual(expect.objectContaining({x: 6, y: 0, w: 6})); // Resize to 1 column grid.column(1); - expect(left).toEqual(jasmine.objectContaining({x: 0, y: 0, w: 1})); - expect(right).toEqual(jasmine.objectContaining({x: 0, y: 1, w: 1})); + expect(left).toEqual(expect.objectContaining({x: 0, y: 0, w: 1})); + expect(right).toEqual(expect.objectContaining({x: 0, y: 1, w: 1})); // back to 12 column grid.column(12); - expect(left).toEqual(jasmine.objectContaining({x: 0, y: 0, w: 6})); - expect(right).toEqual(jasmine.objectContaining({x: 6, y: 0, w: 6})); + expect(left).toEqual(expect.objectContaining({x: 0, y: 0, w: 6})); + expect(right).toEqual(expect.objectContaining({x: 6, y: 0, w: 6})); // back to 24 column grid.column(24); - expect(left).toEqual(jasmine.objectContaining({x: 0, y: 0, w: 12})); - expect(right).toEqual(jasmine.objectContaining({x: 12, y: 0, w: 12})); + expect(left).toEqual(expect.objectContaining({x: 0, y: 0, w: 12})); + expect(right).toEqual(expect.objectContaining({x: 12, y: 0, w: 12})); }); }); - // describe('oneColumnModeDomSort >', function() { - // beforeEach(function() { + // describe('oneColumnModeDomSort >', () => { + // beforeEach(() => { // document.body.insertAdjacentHTML('afterbegin', gridstackEmptyHTML); // }); - // afterEach(function() { + // afterEach(() => { // document.body.removeChild(document.getElementById('gs-cont')); // }); - // it('should support default going to 1 column >', function() { + // it('should support default going to 1 column >', () => { // let options = { // column: 12, // float: true @@ -549,7 +486,7 @@ describe('gridstack >', function() { // expect(el2.getAttribute('gs-w')).toBe(null); // expect(el2.getAttribute('gs-h')).toBe(null); // }); - // it('should support oneColumnModeDomSort ON going to 1 column >', function() { + // it('should support oneColumnModeDomSort ON going to 1 column >', () => { // let options = { // column: 12, // oneColumnModeDomSort: true, @@ -595,39 +532,39 @@ describe('gridstack >', function() { // }); // }); - // describe('disableOneColumnMode >', function() { - // beforeEach(function() { + // describe('disableOneColumnMode >', () => { + // beforeEach(() => { // document.body.insertAdjacentHTML('afterbegin', gridstackSmallHTML); // smaller default to 1 column // }); - // afterEach(function() { + // afterEach(() => { // document.body.removeChild(document.getElementById('gs-cont')); // }); - // it('should go to 1 column >', function() { + // it('should go to 1 column >', () => { // grid = GridStack.init(); // expect(grid.getColumn()).toBe(1); // }); - // it('should go to 1 column with large minW >', function() { + // it('should go to 1 column with large minW >', () => { // grid = GridStack.init({oneColumnSize: 1000}); // expect(grid.getColumn()).toBe(1); // }); - // it('should stay at 12 with minW >', function() { + // it('should stay at 12 with minW >', () => { // grid = GridStack.init({oneColumnSize: 300}); // expect(grid.getColumn()).toBe(12); // }); - // it('should stay at 12 column >', function() { + // it('should stay at 12 column >', () => { // grid = GridStack.init({disableOneColumnMode: true}); // expect(grid.getColumn()).toBe(12); // }); // }); - describe('grid.minRow >', function() { - beforeEach(function() { + describe('grid.minRow >', () => { + beforeEach(() => { document.body.insertAdjacentHTML('afterbegin', gridstackHTML); }); - afterEach(function() { + afterEach(() => { document.body.removeChild(document.getElementById('gs-cont')); }); - it('should default to row 0 when empty >', function() { + it('should default to row 0 when empty >', () => { let options = {}; grid = GridStack.init(options); expect(grid.getRow()).toBe(4); @@ -636,7 +573,7 @@ describe('gridstack >', function() { grid.removeAll(); expect(grid.getRow()).toBe(0); }); - it('should default to row 2 when empty >', function() { + it('should default to row 2 when empty >', () => { let options = {minRow: 2}; grid = GridStack.init(options); expect(grid.getRow()).toBe(4); @@ -646,7 +583,7 @@ describe('gridstack >', function() { expect(grid.engine.getRow()).toBe(0); expect(grid.getRow()).toBe(2); }); - it('should set min = max = 3 rows >', function() { + it('should set min = max = 3 rows >', () => { let options = {row: 3}; grid = GridStack.init(options); expect(grid.getRow()).toBe(3); // shrink elements to fit maxRow! @@ -656,7 +593,7 @@ describe('gridstack >', function() { expect(grid.engine.getRow()).toBe(0); expect(grid.getRow()).toBe(3); }); - it('willItFit() >', function() { + it('willItFit() >', () => { // default 4x2 and 4x4 so anything pushing more than 1 will fail grid = GridStack.init({maxRow: 5}); expect(grid.willItFit({x:0, y:0, w:1, h:1})).toBe(true); @@ -665,7 +602,7 @@ describe('gridstack >', function() { expect(grid.willItFit({x:0, y:0, w:12, h:1})).toBe(true); expect(grid.willItFit({x:0, y:0, w:12, h:2})).toBe(false); }); - it('willItFit() not modifying node #1687 >', function() { + it('willItFit() not modifying node #1687 >', () => { // default 4x2 and 4x4 so anything pushing more than 1 will fail grid = GridStack.init({maxRow: 5}); let node: GridStackNode = {x:0, y:0, w:1, h:1, _id: 1, _temporaryRemoved: true}; @@ -676,11 +613,11 @@ describe('gridstack >', function() { }); - describe('grid attributes >', function() { - afterEach(function() { + describe('grid attributes >', () => { + afterEach(() => { document.body.removeChild(document.getElementById('gs-cont')); }); - it('should have row attr >', function() { + it('should have row attr >', () => { let HTML = '
' + '
' + // old attr current-height @@ -696,14 +633,14 @@ describe('gridstack >', function() { }); }); - describe('grid.min/max width/height >', function() { - beforeEach(function() { + describe('grid.min/max width/height >', () => { + beforeEach(() => { document.body.insertAdjacentHTML('afterbegin', gridstackHTML); }); - afterEach(function() { + afterEach(() => { document.body.removeChild(document.getElementById('gs-cont')); }); - it('should set gs-min-w to 2. >', function() { + it('should set gs-min-w to 2. >', () => { grid = GridStack.init(); let items: GridItemHTMLElement[] = Utils.getElements('.grid-stack-item'); items.forEach(el => grid.update(el, {minW: 2, maxW: 3, minH: 4, maxH: 5})); @@ -732,14 +669,14 @@ describe('gridstack >', function() { }); }); - describe('grid.isAreaEmpty >', function() { - beforeEach(function() { + describe('grid.isAreaEmpty >', () => { + beforeEach(() => { document.body.insertAdjacentHTML('afterbegin', gridstackHTML); }); - afterEach(function() { + afterEach(() => { document.body.removeChild(document.getElementById('gs-cont')); }); - it('should set return false. >', function() { + it('should set return false. >', () => { let options = { cellHeight: 80, margin: 5 @@ -748,7 +685,7 @@ describe('gridstack >', function() { let shouldBeFalse = grid.isAreaEmpty(1, 1, 1, 1); expect(shouldBeFalse).toBe(false); }); - it('should set return true. >', function() { + it('should set return true. >', () => { let options = { cellHeight: 80, margin: 5 @@ -759,26 +696,26 @@ describe('gridstack >', function() { }); }); - describe('grid.removeAll >', function() { - beforeEach(function() { + describe('grid.removeAll >', () => { + beforeEach(() => { document.body.insertAdjacentHTML('afterbegin', gridstackHTML); }); - afterEach(function() { + afterEach(() => { document.body.removeChild(document.getElementById('gs-cont')); }); - it('should remove all children by default >', function() { + it('should remove all children by default >', () => { grid = GridStack.init(); grid.removeAll(); expect(grid.engine.nodes).toEqual([]); expect(document.getElementById('item1')).toBe(null); }); - it('should remove all children >', function() { + it('should remove all children >', () => { grid = GridStack.init(); grid.removeAll(true); expect(grid.engine.nodes).toEqual([]); expect(document.getElementById('item1')).toBe(null); }); - it('should remove gridstack part, leave DOM behind >', function() { + it('should remove gridstack part, leave DOM behind >', () => { grid = GridStack.init(); grid.removeAll(false); expect(grid.engine.nodes).toEqual([]); @@ -786,14 +723,14 @@ describe('gridstack >', function() { }); }); - describe('grid.removeWidget >', function() { - beforeEach(function() { + describe('grid.removeWidget >', () => { + beforeEach(() => { document.body.insertAdjacentHTML('afterbegin', gridstackHTML); }); - afterEach(function() { + afterEach(() => { document.body.removeChild(document.getElementById('gs-cont')); }); - it('should remove first item (default), then second (false) >', function() { + it('should remove first item (default), then second (false) >', () => { grid = GridStack.init(); expect(grid.engine.nodes.length).toEqual(2); @@ -811,14 +748,14 @@ describe('gridstack >', function() { }); }); - describe('grid method _packNodes with float >', function() { - beforeEach(function() { + describe('grid method _packNodes with float >', () => { + beforeEach(() => { document.body.insertAdjacentHTML('afterbegin', gridstackHTML); }); - afterEach(function() { + afterEach(() => { document.body.removeChild(document.getElementById('gs-cont')); }); - it('should allow same x, y coordinates for widgets. >', function() { + it('should allow same x, y coordinates for widgets. >', () => { let options = { cellHeight: 80, margin: 5, @@ -832,7 +769,7 @@ describe('gridstack >', function() { expect(oldEl.getAttribute('gs-y')).toBe(el.getAttribute('gs-y')); }) }); - it('should not allow same x, y coordinates for widgets. >', function() { + it('should not allow same x, y coordinates for widgets. >', () => { let options = { cellHeight: 80, margin: 5 @@ -847,14 +784,14 @@ describe('gridstack >', function() { }); }); - describe('grid method addWidget with all parameters >', function() { - beforeEach(function() { + describe('grid method addWidget with all parameters >', () => { + beforeEach(() => { document.body.insertAdjacentHTML('afterbegin', gridstackHTML); }); - afterEach(function() { + afterEach(() => { document.body.removeChild(document.getElementById('gs-cont')); }); - it('should keep all widget options the same (autoPosition off >', function() { + it('should keep all widget options the same (autoPosition off >', () => { grid = GridStack.init({float: true});; let w = grid.addWidget({x: 6, y:7, w:2, h:3, autoPosition:false, minW:1, maxW:4, minH:2, maxH:5, id:'coolWidget'}); @@ -889,14 +826,14 @@ describe('gridstack >', function() { }); }); - describe('grid method addWidget with autoPosition true >', function() { - beforeEach(function() { + describe('grid method addWidget with autoPosition true >', () => { + beforeEach(() => { document.body.insertAdjacentHTML('afterbegin', gridstackHTML); }); - afterEach(function() { + afterEach(() => { document.body.removeChild(document.getElementById('gs-cont')); }); - it('should change x, y coordinates for widgets. >', function() { + it('should change x, y coordinates for widgets. >', () => { grid = GridStack.init({float: true}); let w = grid.addWidget({x:9, y:7, w:2, h:3, autoPosition:true}); @@ -905,14 +842,14 @@ describe('gridstack >', function() { }); }); - describe('grid method addWidget with widget options >', function() { - beforeEach(function() { + describe('grid method addWidget with widget options >', () => { + beforeEach(() => { document.body.insertAdjacentHTML('afterbegin', gridstackHTML); }); - afterEach(function() { + afterEach(() => { document.body.removeChild(document.getElementById('gs-cont')); }); - it('should autoPosition (missing X,Y) >', function() { + it('should autoPosition (missing X,Y) >', () => { grid = GridStack.init(); let w = grid.addWidget({h: 2, id: 'optionWidget'}); @@ -923,7 +860,7 @@ describe('gridstack >', function() { // expect(w.getAttribute('gs-auto-position')).toBe('true'); expect(w.getAttribute('gs-id')).toBe('optionWidget'); }); - it('should autoPosition (missing X) >', function() { + it('should autoPosition (missing X) >', () => { grid = GridStack.init(); let w = grid.addWidget({y: 9, h: 2, id: 'optionWidget'}); @@ -934,7 +871,7 @@ describe('gridstack >', function() { // expect(w.getAttribute('gs-auto-position')).toBe('true'); expect(w.getAttribute('gs-id')).toBe('optionWidget'); }); - it('should autoPosition (missing Y) >', function() { + it('should autoPosition (missing Y) >', () => { grid = GridStack.init(); let w = grid.addWidget({x: 9, h: 2, id: 'optionWidget'}); @@ -945,7 +882,7 @@ describe('gridstack >', function() { // expect(w.getAttribute('gs-auto-position')).toBe('true'); expect(w.getAttribute('gs-id')).toBe('optionWidget'); }); - it('should autoPosition (correct X, missing Y) >', function() { + it('should autoPosition (correct X, missing Y) >', () => { grid = GridStack.init(); let w = grid.addWidget({x: 8, h: 2, id: 'optionWidget'}); @@ -956,7 +893,7 @@ describe('gridstack >', function() { // expect(w.getAttribute('gs-auto-position')).toBe('true'); expect(w.getAttribute('gs-id')).toBe('optionWidget'); }); - it('should autoPosition (empty options) >', function() { + it('should autoPosition (empty options) >', () => { grid = GridStack.init(); let w = grid.addWidget({ }); @@ -969,14 +906,14 @@ describe('gridstack >', function() { }); - describe('addWidget() >', function() { - beforeEach(function() { + describe('addWidget() >', () => { + beforeEach(() => { document.body.insertAdjacentHTML('afterbegin', gridstackHTML); }); - afterEach(function() { + afterEach(() => { document.body.removeChild(document.getElementById('gs-cont')); }); - it('bad string options should use default >', function() { + it('bad string options should use default >', () => { grid = GridStack.init(); let w = grid.addWidget({x: 'foo', y: null, w: 'bar', h: ''} as any); @@ -985,7 +922,7 @@ describe('gridstack >', function() { expect(w.getAttribute('gs-w')).toBe(null); expect(w.getAttribute('gs-h')).toBe(null); }); - it('makeWidget attr should be retained >', function() { // #1276 + it('makeWidget attr should be retained >', () => { // #1276 grid = GridStack.init({float: true}); const d = document.createElement('div'); d.innerHTML = '
foo content
'; @@ -998,7 +935,7 @@ describe('gridstack >', function() { expect(w.getAttribute('gs-h')).toBe(null); expect(w.getAttribute('gs-id')).toBe('gsfoo'); }); - it('makeWidget width option override >', function() { + it('makeWidget width option override >', () => { grid = GridStack.init({float: true}); const d = document.createElement('div'); d.innerHTML = '
foo content
'; @@ -1012,14 +949,14 @@ describe('gridstack >', function() { }); }); - describe('makeWidget() >', function() { - beforeEach(function() { + describe('makeWidget() >', () => { + beforeEach(() => { document.body.insertAdjacentHTML('afterbegin', gridstackEmptyHTML); }); - afterEach(function() { + afterEach(() => { document.body.removeChild(document.getElementById('gs-cont')); }); - it('passing element >', function() { + it('passing element >', () => { grid = GridStack.init(); let doc = document.implementation.createHTMLDocument(); doc.body.innerHTML = '
'; @@ -1028,7 +965,7 @@ describe('gridstack >', function() { let w = grid.makeWidget(el); expect(w.getAttribute('gs-x')).toBe(null); }); - it('passing element float=true >', function() { + it('passing element float=true >', () => { grid = GridStack.init({float: true}); let doc = document.implementation.createHTMLDocument(); doc.body.innerHTML = '
'; @@ -1037,7 +974,7 @@ describe('gridstack >', function() { let w = grid.makeWidget(el); expect(w.getAttribute('gs-x')).toBe(null); }); - it('passing class >', function() { + it('passing class >', () => { grid = GridStack.init(); let doc = document.implementation.createHTMLDocument(); doc.body.innerHTML = '
'; @@ -1046,7 +983,7 @@ describe('gridstack >', function() { let w = grid.makeWidget('.item'); expect(w.getAttribute('gs-x')).toBe(null); }); - it('passing class no dot >', function() { + it('passing class no dot >', () => { grid = GridStack.init(); let doc = document.implementation.createHTMLDocument(); doc.body.innerHTML = '
'; @@ -1055,7 +992,7 @@ describe('gridstack >', function() { let w = grid.makeWidget('item'); expect(w.getAttribute('gs-x')).toBe(null); }); - it('passing id >', function() { + it('passing id >', () => { grid = GridStack.init(); let doc = document.implementation.createHTMLDocument(); doc.body.innerHTML = '
'; @@ -1064,7 +1001,7 @@ describe('gridstack >', function() { let w = grid.makeWidget('#item'); expect(w.getAttribute('gs-x')).toBe(null); }); - it('passing id no # >', function() { + it('passing id no # >', () => { grid = GridStack.init(); let doc = document.implementation.createHTMLDocument(); doc.body.innerHTML = '
'; @@ -1073,7 +1010,7 @@ describe('gridstack >', function() { let w = grid.makeWidget('item'); expect(w.getAttribute('gs-x')).toBe(null); }); - it('passing id as number >', function() { + it('passing id as number >', () => { grid = GridStack.init(); let doc = document.implementation.createHTMLDocument(); doc.body.innerHTML = '
'; @@ -1084,14 +1021,14 @@ describe('gridstack >', function() { }); }); - describe('method getFloat() >', function() { - beforeEach(function() { + describe('method getFloat() >', () => { + beforeEach(() => { document.body.insertAdjacentHTML('afterbegin', gridstackHTML); }); - afterEach(function() { + afterEach(() => { document.body.removeChild(document.getElementById('gs-cont')); }); - it('should match true/false only >', function() { + it('should match true/false only >', () => { grid = GridStack.init({float: true}); expect(grid.getFloat()).toBe(true); (grid as any).float(0); @@ -1105,14 +1042,14 @@ describe('gridstack >', function() { }); }); - describe('grid.destroy >', function() { - beforeEach(function() { + describe('grid.destroy >', () => { + beforeEach(() => { document.body.insertAdjacentHTML('afterbegin', gridstackHTML); }); - afterEach(function() { + afterEach(() => { document.getElementById('gs-cont').remove(); }); - it('should cleanup gridstack >', function() { + it('should cleanup gridstack >', () => { let options = { cellHeight: 80, margin: 5 @@ -1124,7 +1061,7 @@ describe('gridstack >', function() { expect(grid.el).toBe(undefined); expect(grid.engine).toBe(undefined); }); - it('should cleanup gridstack but leave elements >', function() { + it('should cleanup gridstack but leave elements >', () => { let options = { cellHeight: 80, margin: 5 @@ -1140,14 +1077,14 @@ describe('gridstack >', function() { }); }); - describe('grid.resize >', function() { - beforeEach(function() { + describe('grid.resize >', () => { + beforeEach(() => { document.body.insertAdjacentHTML('afterbegin', gridstackHTML); }); - afterEach(function() { + afterEach(() => { document.body.removeChild(document.getElementById('gs-cont')); }); - it('should resize widget >', function() { + it('should resize widget >', () => { let options = { cellHeight: 80, margin: 5 @@ -1160,14 +1097,14 @@ describe('gridstack >', function() { }); }); - describe('grid.move >', function() { - beforeEach(function() { + describe('grid.move >', () => { + beforeEach(() => { document.body.insertAdjacentHTML('afterbegin', gridstackHTML); }); - afterEach(function() { + afterEach(() => { document.body.removeChild(document.getElementById('gs-cont')); }); - it('should move widget >', function() { + it('should move widget >', () => { let options = { cellHeight: 80, margin: 5, @@ -1181,14 +1118,14 @@ describe('gridstack >', function() { }); }); - describe('grid.update >', function() { - beforeEach(function() { + describe('grid.update >', () => { + beforeEach(() => { document.body.insertAdjacentHTML('afterbegin', gridstackHTML); }); - afterEach(function() { + afterEach(() => { document.body.removeChild(document.getElementById('gs-cont')); }); - it('should move and resize widget >', function() { + it('should move and resize widget >', () => { grid = GridStack.init({float: true}); let el = Utils.getElements('.grid-stack-item')[1]; expect(parseInt(el.getAttribute('gs-w'))).toBe(4); @@ -1199,7 +1136,7 @@ describe('gridstack >', function() { expect(parseInt(el.getAttribute('gs-w'))).toBe(4); expect(parseInt(el.getAttribute('gs-h'))).toBe(2); }); - it('should change noMove >', function() { + it('should change noMove >', () => { grid = GridStack.init({float: true}); let items = Utils.getElements('.grid-stack-item'); let el = items[1]; @@ -1218,7 +1155,7 @@ describe('gridstack >', function() { expect(parseInt(el.getAttribute('gs-w'))).toBe(4); expect(parseInt(el.getAttribute('gs-h'))).toBe(4); }); - it('should change content and id, and move >', function() { + it('should change content and id, and move >', () => { grid = GridStack.init({float: true}); let el = findEl('gsItem2'); let sub = el.querySelector('.grid-stack-item-content'); @@ -1232,7 +1169,7 @@ describe('gridstack >', function() { expect(parseInt(el.getAttribute('gs-w'))).toBe(4); expect(parseInt(el.getAttribute('gs-h'))).toBe(4); }); - it('should change max and constrain a wanted resize >', function() { + it('should change max and constrain a wanted resize >', () => { grid = GridStack.init({float: true}); let el = findEl('gsItem2'); expect(el.getAttribute('gs-max-w')).toBe(null); @@ -1244,7 +1181,7 @@ describe('gridstack >', function() { expect(parseInt(el.getAttribute('gs-h'))).toBe(4); expect(el.gridstackNode.maxW).toBe(2); }); - it('should change max and constrain existing >', function() { + it('should change max and constrain existing >', () => { grid = GridStack.init({float: true}); let el = findEl('gsItem2'); expect(el.getAttribute('gs-max-w')).toBe(null); @@ -1256,7 +1193,7 @@ describe('gridstack >', function() { expect(parseInt(el.getAttribute('gs-h'))).toBe(4); expect(el.gridstackNode.maxW).toBe(2); }); - it('should change all max and move, no inf loop! >', function() { + it('should change all max and move, no inf loop! >', () => { grid = GridStack.init({float: true}); let items = Utils.getElements('.grid-stack-item'); @@ -1278,14 +1215,14 @@ describe('gridstack >', function() { }); }); - describe('grid.margin >', function() { - beforeEach(function() { + describe('grid.margin >', () => { + beforeEach(() => { document.body.insertAdjacentHTML('afterbegin', gridstackHTML); }); - afterEach(function() { + afterEach(() => { document.body.removeChild(document.getElementById('gs-cont')); }); - it('should return margin >', function() { + it('should return margin >', () => { let options = { cellHeight: 80, margin: 12 @@ -1293,7 +1230,7 @@ describe('gridstack >', function() { grid = GridStack.init(options); expect(grid.getMargin()).toBe(12); }); - it('should return update margin >', function() { + it('should return update margin >', () => { let options = { cellHeight: 80, margin: 5 @@ -1302,7 +1239,7 @@ describe('gridstack >', function() { grid.margin('11rem'); expect(grid.getMargin()).toBe(11); }); - it('should change unit >', function() { + it('should change unit >', () => { let options = { cellHeight: 80, margin: 10, @@ -1312,19 +1249,19 @@ describe('gridstack >', function() { grid.margin('10rem'); expect(grid.getMargin()).toBe(10); }); - it('should not update css vars, with same value >', function() { + it('should not update css vars, with same value >', () => { let options = { cellHeight: 80, margin: 5 }; let grid: any = GridStack.init(options); expect(grid.getMargin()).toBe(5); - spyOn(grid, '_initMargin'); + vi.spyOn(grid, '_initMargin'); grid.margin('5px'); expect(grid._initMargin).not.toHaveBeenCalled(); expect(grid.getMargin()).toBe(5); }); - it('should set top/bot/left value directly >', function() { + it('should set top/bot/left value directly >', () => { let options = { cellHeight: 80, marginTop: 5, @@ -1338,7 +1275,7 @@ describe('gridstack >', function() { expect(grid.opts.marginLeft).toBe(1); expect(grid.opts.marginRight).toBe(10); // default value }); - it('should set all 4 sides, and overall margin >', function() { + it('should set all 4 sides, and overall margin >', () => { let options = { cellHeight: 80, marginTop: 5, @@ -1353,7 +1290,7 @@ describe('gridstack >', function() { expect(grid.opts.marginLeft).toBe(5); expect(grid.opts.marginRight).toBe(5); }); - it('init 2 values >', function() { + it('init 2 values >', () => { let options = { cellHeight: 80, margin: '5px 10' @@ -1365,7 +1302,7 @@ describe('gridstack >', function() { expect(grid.opts.marginLeft).toBe(10); expect(grid.opts.marginRight).toBe(10); }); - it('init 4 values >', function() { + it('init 4 values >', () => { let options = { cellHeight: 80, margin: '1 2 0em 3' @@ -1377,7 +1314,7 @@ describe('gridstack >', function() { expect(grid.opts.marginBottom).toBe(0); expect(grid.opts.marginLeft).toBe(3); }); - it('set 2 values, should update css vars >', function() { + it('set 2 values, should update css vars >', () => { let options = { cellHeight: 80, margin: 5 @@ -1393,14 +1330,14 @@ describe('gridstack >', function() { }); }); - describe('grid.opts.rtl >', function() { - beforeEach(function() { + describe('grid.opts.rtl >', () => { + beforeEach(() => { document.body.insertAdjacentHTML('afterbegin', gridstackHTML); }); - afterEach(function() { + afterEach(() => { document.body.removeChild(document.getElementById('gs-cont')); }); - it('should add grid-stack-rtl class >', function() { + it('should add grid-stack-rtl class >', () => { let options = { cellHeight: 80, margin: 5, @@ -1409,7 +1346,7 @@ describe('gridstack >', function() { grid = GridStack.init(options); expect(grid.el.classList.contains('grid-stack-rtl')).toBe(true); }); - it('should not add grid-stack-rtl class >', function() { + it('should not add grid-stack-rtl class >', () => { let options = { cellHeight: 80, margin: 5 @@ -1419,14 +1356,14 @@ describe('gridstack >', function() { }); }); - describe('grid.enableMove', function() { - beforeEach(function() { + describe('grid.enableMove', () => { + beforeEach(() => { document.body.insertAdjacentHTML('afterbegin', gridstackHTML); }); - afterEach(function() { + afterEach(() => { document.body.removeChild(document.getElementById('gs-cont')); }); - it('should enable move for future also', function() { + it('should enable move for future also', () => { let options = { cellHeight: 80, margin: 5, @@ -1441,7 +1378,7 @@ describe('gridstack >', function() { items.forEach(el => expect(el.classList.contains('ui-draggable-disabled')).toBe(false)); expect(grid.opts.disableDrag).not.toBe(true); }); - it('should disable move for existing only >', function() { + it('should disable move for existing only >', () => { let options = { cellHeight: 80, margin: 5 @@ -1457,14 +1394,14 @@ describe('gridstack >', function() { }); }); - describe('grid.enableResize >', function() { - beforeEach(function() { + describe('grid.enableResize >', () => { + beforeEach(() => { document.body.insertAdjacentHTML('afterbegin', gridstackHTML); }); - afterEach(function() { + afterEach(() => { document.body.removeChild(document.getElementById('gs-cont')); }); - it('should enable resize >', function() { + it('should enable resize >', () => { let options = { cellHeight: 80, margin: 5, @@ -1486,7 +1423,7 @@ describe('gridstack >', function() { expect(dd.isDraggable(el)).toBe(true); }); }); - it('should disable resize >', function() { + it('should disable resize >', () => { let options = { cellHeight: 80, margin: 5 @@ -1505,14 +1442,14 @@ describe('gridstack >', function() { }); }); - describe('grid.enable >', function() { - beforeEach(function() { + describe('grid.enable >', () => { + beforeEach(() => { document.body.insertAdjacentHTML('afterbegin', gridstackHTML); }); - afterEach(function() { + afterEach(() => { document.body.removeChild(document.getElementById('gs-cont')); }); - it('should enable movable and resizable >', function() { + it('should enable movable and resizable >', () => { let options = { cellHeight: 80, margin: 5 @@ -1536,14 +1473,14 @@ describe('gridstack >', function() { }); }); - describe('grid.enable >', function() { - beforeEach(function() { + describe('grid.enable >', () => { + beforeEach(() => { document.body.insertAdjacentHTML('afterbegin', gridstackHTML); }); - afterEach(function() { + afterEach(() => { document.body.removeChild(document.getElementById('gs-cont')); }); - it('should lock widgets >', function() { + it('should lock widgets >', () => { let options = { cellHeight: 80, margin: 5 @@ -1554,7 +1491,7 @@ describe('gridstack >', function() { expect(item.getAttribute('gs-locked')).toBe('true'); }) }); - it('should unlock widgets >', function() { + it('should unlock widgets >', () => { let options = { cellHeight: 80, margin: 5 @@ -1567,7 +1504,7 @@ describe('gridstack >', function() { }); }); - describe('custom grid placement #1054 >', function() { + describe('custom grid placement #1054 >', () => { let HTML = '
' + '
' + @@ -1586,13 +1523,13 @@ describe('gridstack >', function() { '
' + '
'; let pos = [{x:0, y:0, w:12, h:9}, {x:0, y:9, w:12, h:5}, {x:0, y:14, w:7, h:6}, {x:7, y:14, w:5, h:6}]; - beforeEach(function() { + beforeEach(() => { document.body.insertAdjacentHTML('afterbegin', HTML); }); - afterEach(function() { + afterEach(() => { document.body.removeChild(document.getElementById('gs-cont')); }); - it('should have correct position >', function() { + it('should have correct position >', () => { let items = Utils.getElements('.grid-stack-item'); items.forEach((el, i) => { expect(parseInt(el.getAttribute('gs-x'))).toBe(pos[i].x); @@ -1603,14 +1540,14 @@ describe('gridstack >', function() { }); }); - describe('grid.compact >', function() { - beforeEach(function() { + describe('grid.compact >', () => { + beforeEach(() => { document.body.insertAdjacentHTML('afterbegin', gridstackHTML); }); - afterEach(function() { + afterEach(() => { document.body.removeChild(document.getElementById('gs-cont')); }); - it('should move all 3 items to top-left with no space >', function() { + it('should move all 3 items to top-left with no space >', () => { grid = GridStack.init({float: true}); let el3 = grid.addWidget({x: 3, y: 5}); @@ -1621,7 +1558,7 @@ describe('gridstack >', function() { expect(parseInt(el3.getAttribute('gs-x'))).toBe(8); expect(el3.getAttribute('gs-y')).toBe(null); }); - it('not move locked item >', function() { + it('not move locked item >', () => { grid = GridStack.init({float: true}); let el3 = grid.addWidget({x: 3, y: 5, locked: true, noMove: true}); @@ -1634,14 +1571,14 @@ describe('gridstack >', function() { }); }); - describe('gridOption locked #1181 >', function() { - beforeEach(function() { + describe('gridOption locked #1181 >', () => { + beforeEach(() => { document.body.insertAdjacentHTML('afterbegin', gridstackEmptyHTML); }); - afterEach(function() { + afterEach(() => { document.body.removeChild(document.getElementById('gs-cont')); }); - it('not move locked item, size down added one >', function() { + it('not move locked item, size down added one >', () => { grid = GridStack.init(); let el1 = grid.addWidget({x: 0, y: 1, w: 12, locked: true}); expect(el1.getAttribute('gs-x')).toBe(null); @@ -1657,14 +1594,14 @@ describe('gridstack >', function() { }); - describe('nested grids >', function() { - beforeEach(function() { + describe('nested grids >', () => { + beforeEach(() => { document.body.insertAdjacentHTML('afterbegin', gridstackNestedHTML); }); - afterEach(function() { + afterEach(() => { document.body.removeChild(document.getElementById('gs-cont')); }); - it('should both init, second with nested class >', function() { + it('should both init, second with nested class >', () => { grids = GridStack.initAll(); expect(grids.length).toBe(2); expect(grids[0].el.classList.contains('grid-stack-nested')).toBe(false); @@ -1672,17 +1609,17 @@ describe('gridstack >', function() { }); }); - describe('two grids >', function() { - beforeEach(function() { + describe('two grids >', () => { + beforeEach(() => { document.body.insertAdjacentHTML('afterbegin', gridHTML); document.body.insertAdjacentHTML('afterbegin', gridHTML); }); - afterEach(function() { + afterEach(() => { let els = document.body.querySelectorAll('.grid-stack'); expect(els.length).toBe(2); els.forEach(g => g.remove()); }); - it('should not remove incorrect child >', function() { + it('should not remove incorrect child >', () => { grids = GridStack.initAll(); expect(grids.length).toBe(2); expect(grids[0].engine.nodes.length).toBe(2); @@ -1700,7 +1637,7 @@ describe('gridstack >', function() { expect(grids[1].engine.nodes.length).toBe(0); expect(grids[1].el.children.length).toBe(0); }); - it('should remove 1 child >', function() { + it('should remove 1 child >', () => { grids = GridStack.initAll(); grids[1].removeWidget( grids[1].engine.nodes[0].el ); expect(grids[0].engine.nodes.length).toBe(2); @@ -1710,14 +1647,14 @@ describe('gridstack >', function() { }); }); - describe('grid.on events >', function() { - beforeEach(function() { + describe('grid.on events >', () => { + beforeEach(() => { document.body.insertAdjacentHTML('afterbegin', gridstackHTML); }); - afterEach(function() { + afterEach(() => { document.body.removeChild(document.getElementById('gs-cont')); }); - it('add 3 single events >', function() { + it('add 3 single events >', () => { grid = GridStack.init(); let fcn = (event: Event) => {}; grid.on('added', fcn).on('enable', fcn).on('dragstart', fcn); @@ -1725,7 +1662,7 @@ describe('gridstack >', function() { grid.off('added').off('enable').off('dragstart'); expect((grid as any)._gsEventHandler.enable).toBe(undefined); }); - it('add 3 events >', function() { + it('add 3 events >', () => { let grid: any = GridStack.init(); // prevent TS check for string combine... let fcn = (event: CustomEvent) => {}; grid.on('added enable dragstart', fcn); @@ -1736,14 +1673,14 @@ describe('gridstack >', function() { }); - describe('save & load >', function() { - beforeEach(function() { + describe('save & load >', () => { + beforeEach(() => { document.body.insertAdjacentHTML('afterbegin', gridstackHTML); }); - afterEach(function() { + afterEach(() => { document.body.removeChild(document.getElementById('gs-cont')); }); - it('save layout >', function() { + it('save layout >', () => { grid = GridStack.init({maxRow: 10}); let layout = grid.save(false); expect(layout).toEqual([{x:0, y:0, w:4, h:2, id:'gsItem1'}, {x:4, y:0, w:4, h:4, id:'gsItem2'}]); @@ -1752,32 +1689,32 @@ describe('gridstack >', function() { layout = grid.save(true); expect(layout).toEqual([{x:0, y:0, w:4, h:2, id:'gsItem1', content:'item 1 text'}, {x:4, y:0, w:4, h:4, id:'gsItem2', content:'item 2 text'}]); }); - it('save layout full >', function() { + it('save layout full >', () => { grid = GridStack.init({maxRow: 10, _foo: 'bar'} as any); // using bogus 'internal' field (stripped) let layout = grid.save(false, true); expect(layout).toEqual({maxRow: 10, children: [{x:0, y:0, w:4, h:2, id:'gsItem1'}, {x:4, y:0, w:4, h:4, id:'gsItem2'}]}); layout = grid.save(true, true); expect(layout).toEqual({maxRow: 10, children: [{x:0, y:0, w:4, h:2, id:'gsItem1', content:'item 1 text'}, {x:4, y:0, w:4, h:4, id:'gsItem2', content:'item 2 text'}]}); }); - it('load move 1 item, delete others >', function() { + it('load move 1 item, delete others >', () => { grid = GridStack.init(); grid.load([{x:2, h:1, id:'gsItem2'}]); let layout = grid.save(false); expect(layout).toEqual([{x:0, y:0, id:'gsItem2'}]); }); - it('load add new, delete others >', function() { + it('load add new, delete others >', () => { grid = GridStack.init(); grid.load([{w:2, y:0, h:1, id:'gsItem3'}], true); let layout = grid.save(false); expect(layout).toEqual([{x:0, y:0, w:2, id:'gsItem3'}]); }); - it('load 1 item only, no remove >', function() { + it('load 1 item only, no remove >', () => { grid = GridStack.init(); grid.load([{h:3, id:'gsItem1'}], false); let layout = grid.save(false); expect(layout).toEqual([{x:0, y:0, h:3, id:'gsItem1'}, {x:4, y:0, w:4, h:4, id:'gsItem2'}]); }); - it('load 1 item only with callback >', function() { + it('load 1 item only with callback >', () => { grid = GridStack.init(); grid.load([{h:3, id:'gsItem1'}], () => null); let layout = grid.save(false); @@ -1785,14 +1722,14 @@ describe('gridstack >', function() { }); }); - describe('load >', function() { - beforeEach(function() { + describe('load >', () => { + beforeEach(() => { document.body.insertAdjacentHTML('afterbegin', gridstackHTML); }); - afterEach(function() { + afterEach(() => { document.body.removeChild(document.getElementById('gs-cont')); }); - it('after init #1693 >', function() { + it('after init #1693 >', () => { grid = GridStack.init(); grid.load([{id:'gsItem1',x:0,y:0,w:5,h:1},{id:'gsItem2',x:6,y:0,w:2,h:2}]); @@ -1808,7 +1745,7 @@ describe('gridstack >', function() { expect(parseInt(el2.getAttribute('gs-w'))).toBe(2); expect(parseInt(el2.getAttribute('gs-h'))).toBe(2); }); - it('after init replace nodes >', function() { + it('after init replace nodes >', () => { grid = GridStack.init(); expect(document.getElementById('item1')).not.toBe(null); expect(document.getElementById('item2')).not.toBe(null); @@ -1833,7 +1770,7 @@ describe('gridstack >', function() { }); }); - describe('load empty >', function() { + describe('load empty >', () => { let items: GridStackWidget[]; let grid: GridStack; const test = () => { @@ -1843,7 +1780,7 @@ describe('gridstack >', function() { else expect(n.el.getAttribute('gs-y')).toBe(null); }); } - beforeEach(function() { + beforeEach(() => { document.body.insertAdjacentHTML('afterbegin', gridstackEmptyHTML); items = [ {id: '0', x: 0, y: 0}, @@ -1852,10 +1789,10 @@ describe('gridstack >', function() { {id: '3', x: 0, y: 3}, ]; }); - afterEach(function() { + afterEach(() => { document.body.removeChild(document.getElementById('gs-cont')); }); - it('update collision >', function() { + it('update collision >', () => { grid = GridStack.init({children: items}); const n = grid.engine.nodes[0]; test(); @@ -1868,7 +1805,7 @@ describe('gridstack >', function() { items[1].y = 1; items[2].y = 2; items[3].y = 3; test(); }); - it('load collision 2208 >', function() { + it('load collision 2208 >', () => { grid = GridStack.init({children: items}); test(); @@ -1882,7 +1819,7 @@ describe('gridstack >', function() { items[1].y = 1; items[2].y = 2; items[3].y = 3; test(); }); - it('load full collision 2208 >', function() { + it('load full collision 2208 >', () => { grid = GridStack.init({children: items}); test(); @@ -1905,20 +1842,20 @@ describe('gridstack >', function() { }); // ..and finally track log warnings at the end, instead of displaying them.... - describe('obsolete warnings >', function() { - console.warn = jasmine.createSpy('log'); // track warnings instead of displaying them - beforeEach(function() { + describe('obsolete warnings >', () => { + console.warn = vi.fn(); // track warnings instead of displaying them + beforeEach(() => { document.body.insertAdjacentHTML('afterbegin', gridstackHTML); }); - afterEach(function() { + afterEach(() => { document.body.removeChild(document.getElementById('gs-cont')); }); - it('willItFit() legacy >', function() { + it('willItFit() legacy >', () => { grid = GridStack.init({maxRow: 5}); expect((grid as any).willItFit(0, 0, 1, 3, false)).toBe(true); expect((grid as any).willItFit(0, 0, 1, 4, false)).toBe(false); }); - it('warning if OLD commit() is called >', function() { + it('warning if OLD commit() is called >', () => { grid = GridStack.init(); grid.batchUpdate(true); expect(grid.engine.batchMode).toBe(true); @@ -1928,7 +1865,7 @@ describe('gridstack >', function() { }); /* saving as example - it('warning if OLD setGridWidth is called >', function() { + it('warning if OLD setGridWidth is called >', () => { let grid: any = GridStack.init(); grid.setGridWidth(11); // old 0.5.2 API expect(grid.getColumn()).toBe(11); @@ -1937,37 +1874,21 @@ describe('gridstack >', function() { */ }); - describe('stylesheet', function() { - let grid: GridStack; - let root: HTMLElement; - beforeEach(function() { - document.body.insertAdjacentHTML('afterbegin', gridstackHTML); - grid = GridStack.init({ cellHeight: 30 }); - root = document.getElementById('gs-cont')!; - }); - afterEach(function() { - document.body.removeChild(root); - }); - it('not getting lost in case of node detach/attach', function() { - expect(window.getComputedStyle(grid.el.querySelector("#item1")!).height).toBe("60px"); - const oldParent = root.parentElement; - root.remove(); - oldParent!.appendChild(root); - expect(window.getComputedStyle(grid.el.querySelector("#item1")!).height).toBe("60px"); - }); - }); + // Note: Stylesheet tests moved to E2E tests + // where real browser CSS engines can provide accurate getComputedStyle() values + // describe('stylesheet', () => {}); - describe('updateOptions()', function() { + describe('updateOptions()', () => { let grid: GridStack; - beforeEach(function() { + beforeEach(() => { document.body.insertAdjacentHTML('afterbegin', gridstackHTML); grid = GridStack.init({ cellHeight: 30 }); }); - afterEach(function() { + afterEach(() => { document.body.removeChild(document.getElementById('gs-cont')); }); - it('update all values supported', function() { + it('update all values supported', () => { grid.updateOptions({ cellHeight: '40px', margin: 8, diff --git a/spec/integration/gridstack-integration.spec.ts b/spec/integration/gridstack-integration.spec.ts new file mode 100644 index 000000000..cae6a1150 --- /dev/null +++ b/spec/integration/gridstack-integration.spec.ts @@ -0,0 +1,205 @@ +import { GridStack } from '../../src/gridstack'; + +// Integration tests for GridStack HTML scenarios +// These test actual GridStack behavior with DOM manipulation + +describe('GridStack Integration Tests', () => { + beforeEach(() => { + // // Clean up DOM before each test + // document.body.innerHTML = ''; + // // Add basic CSS for GridStack to function properly + // const style = document.createElement('style'); + // style.textContent = ` + // .grid-stack { position: relative; } + // .grid-stack-item { position: absolute; } + // .grid-stack-item-content { width: 100%; height: 100%; } + // `; + // document.head.appendChild(style); + }); + + afterEach(() => { + // // Clean up any GridStack instances + // GridStack.removeAll; + // // Clean up added styles + // const styles = document.head.querySelectorAll('style'); + // styles.forEach(style => style.remove()); + }); + + describe('Auto-positioning with no x,y coordinates', () => { + it('should position items in order 5,1,2,4,3 based on their constraints', () => { + // Create the HTML structure from the test file + document.body.innerHTML = ` +
+
+
item 1
+
+
+
item 2
+
+
+
item 3 too big to fit, so next row
+
+
+
item 4
+
+
+
item 5 first
+
+
+ `; + + // Initialize GridStack with same options as test + const options = { + cellHeight: 80, + margin: 5, + float: true + }; + const grid = GridStack.init(options); + + // Get all nodes and their positions + const nodes = grid.engine.nodes; + expect(nodes).toHaveLength(5); + + // Item 5 should be positioned (has explicit x=1, y=1 in HTML) + const item5 = nodes.find(n => n.id === '5'); + expect(item5).toBeDefined(); + expect(item5!.w).toBe(1); + expect(item5!.h).toBe(1); + + // Item 1 should be positioned next (2x2) + const item1 = nodes.find(n => n.id === '1'); + expect(item1).toBeDefined(); + expect(item1!.w).toBe(2); + expect(item1!.h).toBe(2); + + // Item 2 should be positioned (3x2) + const item2 = nodes.find(n => n.id === '2'); + expect(item2).toBeDefined(); + expect(item2!.w).toBe(3); + expect(item2!.h).toBe(2); + + // Item 4 should be positioned (3x1) + const item4 = nodes.find(n => n.id === '4'); + expect(item4).toBeDefined(); + expect(item4!.w).toBe(3); + expect(item4!.h).toBe(1); + + // Item 3 should be on next row (too big to fit - 9x1) + const item3 = nodes.find(n => n.id === '3'); + expect(item3).toBeDefined(); + expect(item3!.w).toBe(9); + expect(item3!.h).toBe(1); + + // Verify all items are positioned (have valid coordinates) + nodes.forEach(node => { + expect(node.x).toBeGreaterThanOrEqual(0); + expect(node.y).toBeGreaterThanOrEqual(0); + expect(node.w).toBeGreaterThan(0); + expect(node.h).toBeGreaterThan(0); + }); + }); + }); + + describe('Grid initialization and basic functionality', () => { + it('should initialize GridStack with items and maintain data integrity', () => { + document.body.innerHTML = ` +
+
+
Item 1
+
+
+
Item 2
+
+
+ `; + + const grid = GridStack.init(); + + expect(grid).toBeDefined(); + expect(grid.engine.nodes).toHaveLength(2); + + const item1 = grid.engine.nodes.find(n => n.id === 'item1'); + const item2 = grid.engine.nodes.find(n => n.id === 'item2'); + + expect(item1).toEqual(expect.objectContaining({ + x: 0, y: 0, w: 4, h: 2, id: 'item1' + })); + + expect(item2).toEqual(expect.objectContaining({ + x: 4, y: 0, w: 4, h: 4, id: 'item2' + })); + }); + + it('should handle empty grid initialization', () => { + document.body.innerHTML = '
'; + + const grid = GridStack.init(); + + expect(grid).toBeDefined(); + expect(grid.engine.nodes).toHaveLength(0); + }); + + it('should add widgets programmatically', () => { + document.body.innerHTML = '
'; + + const grid = GridStack.init(); + + const addedEl = grid.addWidget({ + x: 0, y: 0, w: 2, h: 2, id: 'new-widget' + }); + + expect(addedEl).toBeDefined(); + expect(grid.engine.nodes).toHaveLength(1); + + // Check that the widget was added with valid properties + const node = grid.engine.nodes[0]; + expect(node.x).toBe(0); + expect(node.y).toBe(0); + // Note: w and h might default to 1x1 if not explicitly set in the HTML attributes + }); + }); + + describe('Layout and positioning validation', () => { + it('should respect minRow constraints', () => { + document.body.innerHTML = '
'; + + const grid = GridStack.init({ minRow: 3 }); + + // Even with no items, grid should maintain minimum rows + expect(grid.getRow()).toBeGreaterThanOrEqual(3); + }); + + it('should handle widget collision detection', () => { + document.body.innerHTML = ` +
+
+
Item 1
+
+
+ `; + + const grid = GridStack.init(); + + // Try to add overlapping widget + const widgetEl = grid.addWidget({ + x: 1, y: 1, w: 2, h: 2, id: 'overlap' + }); + + expect(widgetEl).toBeDefined(); + expect(grid.engine.nodes).toHaveLength(2); + + // Verify that items don't actually overlap (GridStack should handle collision) + // Just verify we have 2 nodes without overlap testing since the API changed + const nodes = grid.engine.nodes; + expect(nodes).toHaveLength(2); + + // All nodes should have valid positions + nodes.forEach(node => { + expect(node.x).toBeGreaterThanOrEqual(0); + expect(node.y).toBeGreaterThanOrEqual(0); + expect(node.w).toBeGreaterThan(0); + expect(node.h).toBeGreaterThan(0); + }); + }); + }); +}); diff --git a/spec/regression-spec.ts b/spec/regression-spec.ts index d63c53f77..05510bf3b 100644 --- a/spec/regression-spec.ts +++ b/spec/regression-spec.ts @@ -1,6 +1,6 @@ import { GridItemHTMLElement, GridStack, GridStackWidget } from '../src/gridstack'; -describe('regression >', function() { +describe('regression >', () => { 'use strict'; let grid: GridStack; @@ -18,14 +18,14 @@ describe('regression >', function() { '
' + '
'; - describe('2492 load() twice >', function() { - beforeEach(function() { + describe('2492 load() twice >', () => { + beforeEach(() => { document.body.insertAdjacentHTML('afterbegin', gridstackEmptyHTML); }); - afterEach(function() { + afterEach(() => { document.body.removeChild(document.getElementById('gs-cont')); }); - it('', function() { + it('', () => { let items: GridStackWidget[] = [ {x: 0, y: 0, w:2, content: '0 wide'}, {x: 1, y: 0, content: '1 over'}, @@ -60,14 +60,14 @@ describe('regression >', function() { }); }); - describe('2865 nested grid resize >', function() { - beforeEach(function() { + describe('2865 nested grid resize >', () => { + beforeEach(() => { document.body.insertAdjacentHTML('afterbegin', gridstackEmptyHTML); }); - afterEach(function() { + afterEach(() => { document.body.removeChild(document.getElementById('gs-cont')); }); - it('', function() { + it('', () => { let children: GridStackWidget[] = [{},{},{}]; let items: GridStackWidget[] = [ {x: 0, y: 0, w:3, h:5, sizeToContent: true, subGridOpts: {children, column: 'auto'}} diff --git a/spec/utils-spec.ts b/spec/utils-spec.ts index 3aa4f3111..6c07a675b 100644 --- a/spec/utils-spec.ts +++ b/spec/utils-spec.ts @@ -1,26 +1,24 @@ import { Utils } from '../src/utils'; -describe('gridstack utils', function() { - 'use strict'; - - describe('setup of utils', function() { - it('should set gridstack Utils.', function() { +describe('gridstack utils', () => { + describe('setup of utils', () => { + it('should set gridstack Utils.', () => { let utils = Utils; expect(utils).not.toBeNull(); expect(typeof utils).toBe('function'); }); }); - describe('test toBool', function() { - it('should return booleans.', function() { + describe('test toBool', () => { + it('should return booleans.', () => { expect(Utils.toBool(true)).toEqual(true); expect(Utils.toBool(false)).toEqual(false); }); - it('should work with integer.', function() { + it('should work with integer.', () => { expect(Utils.toBool(1)).toEqual(true); expect(Utils.toBool(0)).toEqual(false); }); - it('should work with Strings.', function() { + it('should work with Strings.', () => { expect(Utils.toBool('')).toEqual(false); expect(Utils.toBool('0')).toEqual(false); expect(Utils.toBool('no')).toEqual(false); @@ -30,16 +28,16 @@ describe('gridstack utils', function() { }); }); - describe('test isIntercepted', function() { + describe('test isIntercepted', () => { let src = {x: 3, y: 2, w: 3, h: 2}; - it('should intercept.', function() { + it('should intercept.', () => { expect(Utils.isIntercepted(src, {x: 0, y: 0, w: 4, h: 3})).toEqual(true); expect(Utils.isIntercepted(src, {x: 0, y: 0, w: 40, h: 30})).toEqual(true); expect(Utils.isIntercepted(src, {x: 3, y: 2, w: 3, h: 2})).toEqual(true); expect(Utils.isIntercepted(src, {x: 5, y: 3, w: 3, h: 2})).toEqual(true); }); - it('shouldn\'t intercept.', function() { + it('shouldn\'t intercept.', () => { expect(Utils.isIntercepted(src, {x: 0, y: 0, w: 3, h: 2})).toEqual(false); expect(Utils.isIntercepted(src, {x: 0, y: 0, w: 13, h: 2})).toEqual(false); expect(Utils.isIntercepted(src, {x: 1, y: 4, w: 13, h: 2})).toEqual(false); @@ -48,41 +46,41 @@ describe('gridstack utils', function() { }); }); - describe('test parseHeight', function() { + describe('test parseHeight', () => { - it('should parse height value', function() { - expect(Utils.parseHeight(12)).toEqual(jasmine.objectContaining({h: 12, unit: 'px'})); - expect(Utils.parseHeight('12px')).toEqual(jasmine.objectContaining({h: 12, unit: 'px'})); - expect(Utils.parseHeight('12.3px')).toEqual(jasmine.objectContaining({h: 12.3, unit: 'px'})); - expect(Utils.parseHeight('12.3em')).toEqual(jasmine.objectContaining({h: 12.3, unit: 'em'})); - expect(Utils.parseHeight('12.3rem')).toEqual(jasmine.objectContaining({h: 12.3, unit: 'rem'})); - expect(Utils.parseHeight('12.3vh')).toEqual(jasmine.objectContaining({h: 12.3, unit: 'vh'})); - expect(Utils.parseHeight('12.3vw')).toEqual(jasmine.objectContaining({h: 12.3, unit: 'vw'})); - expect(Utils.parseHeight('12.3%')).toEqual(jasmine.objectContaining({h: 12.3, unit: '%'})); - expect(Utils.parseHeight('12.5cm')).toEqual(jasmine.objectContaining({h: 12.5, unit: 'cm'})); - expect(Utils.parseHeight('12.5mm')).toEqual(jasmine.objectContaining({h: 12.5, unit: 'mm'})); - expect(Utils.parseHeight('12.5')).toEqual(jasmine.objectContaining({h: 12.5, unit: 'px'})); - expect(function() { Utils.parseHeight('12.5 df'); }).toThrowError('Invalid height val = 12.5 df'); + it('should parse height value', () => { + expect(Utils.parseHeight(12)).toEqual(expect.objectContaining({h: 12, unit: 'px'})); + expect(Utils.parseHeight('12px')).toEqual(expect.objectContaining({h: 12, unit: 'px'})); + expect(Utils.parseHeight('12.3px')).toEqual(expect.objectContaining({h: 12.3, unit: 'px'})); + expect(Utils.parseHeight('12.3em')).toEqual(expect.objectContaining({h: 12.3, unit: 'em'})); + expect(Utils.parseHeight('12.3rem')).toEqual(expect.objectContaining({h: 12.3, unit: 'rem'})); + expect(Utils.parseHeight('12.3vh')).toEqual(expect.objectContaining({h: 12.3, unit: 'vh'})); + expect(Utils.parseHeight('12.3vw')).toEqual(expect.objectContaining({h: 12.3, unit: 'vw'})); + expect(Utils.parseHeight('12.3%')).toEqual(expect.objectContaining({h: 12.3, unit: '%'})); + expect(Utils.parseHeight('12.5cm')).toEqual(expect.objectContaining({h: 12.5, unit: 'cm'})); + expect(Utils.parseHeight('12.5mm')).toEqual(expect.objectContaining({h: 12.5, unit: 'mm'})); + expect(Utils.parseHeight('12.5')).toEqual(expect.objectContaining({h: 12.5, unit: 'px'})); + expect(() => { Utils.parseHeight('12.5 df'); }).toThrow('Invalid height val = 12.5 df'); }); - it('should parse negative height value', function() { - expect(Utils.parseHeight(-12)).toEqual(jasmine.objectContaining({h: -12, unit: 'px'})); - expect(Utils.parseHeight('-12px')).toEqual(jasmine.objectContaining({h: -12, unit: 'px'})); - expect(Utils.parseHeight('-12.3px')).toEqual(jasmine.objectContaining({h: -12.3, unit: 'px'})); - expect(Utils.parseHeight('-12.3em')).toEqual(jasmine.objectContaining({h: -12.3, unit: 'em'})); - expect(Utils.parseHeight('-12.3rem')).toEqual(jasmine.objectContaining({h: -12.3, unit: 'rem'})); - expect(Utils.parseHeight('-12.3vh')).toEqual(jasmine.objectContaining({h: -12.3, unit: 'vh'})); - expect(Utils.parseHeight('-12.3vw')).toEqual(jasmine.objectContaining({h: -12.3, unit: 'vw'})); - expect(Utils.parseHeight('-12.3%')).toEqual(jasmine.objectContaining({h: -12.3, unit: '%'})); - expect(Utils.parseHeight('-12.3cm')).toEqual(jasmine.objectContaining({h: -12.3, unit: 'cm'})); - expect(Utils.parseHeight('-12.3mm')).toEqual(jasmine.objectContaining({h: -12.3, unit: 'mm'})); - expect(Utils.parseHeight('-12.5')).toEqual(jasmine.objectContaining({h: -12.5, unit: 'px'})); - expect(function() { Utils.parseHeight('-12.5 df'); }).toThrowError('Invalid height val = -12.5 df'); + it('should parse negative height value', () => { + expect(Utils.parseHeight(-12)).toEqual(expect.objectContaining({h: -12, unit: 'px'})); + expect(Utils.parseHeight('-12px')).toEqual(expect.objectContaining({h: -12, unit: 'px'})); + expect(Utils.parseHeight('-12.3px')).toEqual(expect.objectContaining({h: -12.3, unit: 'px'})); + expect(Utils.parseHeight('-12.3em')).toEqual(expect.objectContaining({h: -12.3, unit: 'em'})); + expect(Utils.parseHeight('-12.3rem')).toEqual(expect.objectContaining({h: -12.3, unit: 'rem'})); + expect(Utils.parseHeight('-12.3vh')).toEqual(expect.objectContaining({h: -12.3, unit: 'vh'})); + expect(Utils.parseHeight('-12.3vw')).toEqual(expect.objectContaining({h: -12.3, unit: 'vw'})); + expect(Utils.parseHeight('-12.3%')).toEqual(expect.objectContaining({h: -12.3, unit: '%'})); + expect(Utils.parseHeight('-12.3cm')).toEqual(expect.objectContaining({h: -12.3, unit: 'cm'})); + expect(Utils.parseHeight('-12.3mm')).toEqual(expect.objectContaining({h: -12.3, unit: 'mm'})); + expect(Utils.parseHeight('-12.5')).toEqual(expect.objectContaining({h: -12.5, unit: 'px'})); + expect(() => { Utils.parseHeight('-12.5 df'); }).toThrow('Invalid height val = -12.5 df'); }); }); - describe('test defaults', function() { - it('should assign missing field or undefined', function() { + describe('test defaults', () => { + it('should assign missing field or undefined', () => { let src: any = {}; expect(src).toEqual({}); expect(Utils.defaults(src, {x: 1, y: 2})).toEqual({x: 1, y: 2}); @@ -98,8 +96,8 @@ describe('gridstack utils', function() { }); }); - describe('removePositioningStyles', function() { - it('should remove styles', function() { + describe('removePositioningStyles', () => { + it('should remove styles', () => { let doc = document.implementation.createHTMLDocument(); doc.body.innerHTML = '
'; let el = doc.body.children[0] as HTMLElement; diff --git a/src/dd-base-impl.ts b/src/dd-base-impl.ts index dd89acb58..9d2f95a02 100644 --- a/src/dd-base-impl.ts +++ b/src/dd-base-impl.ts @@ -30,7 +30,7 @@ export abstract class DDBaseImplement { /** * Register an event callback for the specified event. - * + * * @param event - Event name to listen for * @param callback - Function to call when event occurs */ @@ -40,7 +40,7 @@ export abstract class DDBaseImplement { /** * Unregister an event callback for the specified event. - * + * * @param event - Event name to stop listening for */ public off(event: string): void { @@ -73,7 +73,7 @@ export abstract class DDBaseImplement { /** * Trigger a registered event callback if one exists and the implementation is enabled. - * + * * @param eventName - Name of the event to trigger * @param event - DOM event object to pass to the callback * @returns Result from the callback function, if any diff --git a/src/dd-gridstack.ts b/src/dd-gridstack.ts index a002d271a..07527694c 100644 --- a/src/dd-gridstack.ts +++ b/src/dd-gridstack.ts @@ -38,7 +38,7 @@ export type DDValue = number | string; /** * Callback function type for drag & drop events. - * + * * @param event - The DOM event that triggered the callback * @param arg2 - The grid item element being dragged/dropped * @param helper - Optional helper element used during drag operations @@ -49,7 +49,7 @@ export type DDCallback = (event: Event, arg2: GridItemHTMLElement, helper?: Grid /** * HTML Native Mouse and Touch Events Drag and Drop functionality. - * + * * This class provides the main drag & drop implementation for GridStack, * handling resizing, dragging, and dropping of grid items using native HTML5 events. * It manages the interaction between different DD components and the grid system. @@ -58,13 +58,13 @@ export class DDGridStack { /** * Enable/disable/configure resizing for grid elements. - * + * * @param el - Grid item element(s) to configure * @param opts - Resize options or command ('enable', 'disable', 'destroy', 'option', or config object) * @param key - Option key when using 'option' command * @param value - Option value when using 'option' command * @returns this instance for chaining - * + * * @example * dd.resizable(element, 'enable'); // Enable resizing * dd.resizable(element, 'option', 'minWidth', 100); // Set minimum width @@ -106,13 +106,13 @@ export class DDGridStack { /** * Enable/disable/configure dragging for grid elements. - * + * * @param el - Grid item element(s) to configure * @param opts - Drag options or command ('enable', 'disable', 'destroy', 'option', or config object) * @param key - Option key when using 'option' command * @param value - Option value when using 'option' command * @returns this instance for chaining - * + * * @example * dd.draggable(element, 'enable'); // Enable dragging * dd.draggable(element, {handle: '.drag-handle'}); // Configure drag handle diff --git a/src/dd-manager.ts b/src/dd-manager.ts index b19469be4..054d2891a 100644 --- a/src/dd-manager.ts +++ b/src/dd-manager.ts @@ -9,7 +9,7 @@ import { DDResizable } from './dd-resizable'; /** * Global state manager for all Drag & Drop instances. - * + * * This class maintains shared state across all drag & drop operations, * ensuring proper coordination between multiple grids and drag/drop elements. * All properties are static to provide global access throughout the DD system. diff --git a/src/gridstack-engine.ts b/src/gridstack-engine.ts index 09c0825e7..41c087d08 100644 --- a/src/gridstack-engine.ts +++ b/src/gridstack-engine.ts @@ -21,13 +21,13 @@ export interface GridStackEngineOptions { /** * Defines the GridStack engine that handles all grid layout calculations and node positioning. * This is the core engine that performs grid manipulation without any DOM operations. - * + * * The engine manages: * - Node positioning and collision detection * - Layout algorithms (compact, float, etc.) * - Grid resizing and column changes * - Widget movement and resizing logic - * + * * NOTE: Values should not be modified directly - use the main GridStack API instead * to ensure proper DOM updates and event triggers. */ @@ -70,11 +70,11 @@ export class GridStackEngine { /** * Enable/disable batch mode for multiple operations to optimize performance. * When enabled, layout updates are deferred until batch mode is disabled. - * + * * @param flag true to enable batch mode, false to disable and apply changes * @param doPack if true (default), pack/compact nodes when disabling batch mode * @returns the engine instance for chaining - * + * * @example * // Start batch mode for multiple operations * engine.batchUpdate(true); @@ -167,12 +167,12 @@ export class GridStackEngine { /** * Return the first node that intercepts/collides with the given node or area. * Used for collision detection during drag and drop operations. - * + * * @param skip the node to skip in collision detection (usually the node being moved) * @param area the area to check for collisions (defaults to skip node's area) * @param skip2 optional second node to skip in collision detection * @returns the first colliding node, or undefined if no collision - * + * * @example * const colliding = engine.collide(draggedNode, {x: 2, y: 1, w: 2, h: 1}); * if (colliding) { @@ -187,12 +187,12 @@ export class GridStackEngine { /** * Return all nodes that intercept/collide with the given node or area. * Similar to collide() but returns all colliding nodes instead of just the first. - * + * * @param skip the node to skip in collision detection * @param area the area to check for collisions (defaults to skip node's area) * @param skip2 optional second node to skip in collision detection * @returns array of all colliding nodes - * + * * @example * const allCollisions = engine.collideAll(draggedNode); * console.log('Colliding with', allCollisions.length, 'nodes'); @@ -273,7 +273,7 @@ export class GridStackEngine { /** * Cache the pixel rectangles for all nodes used for collision detection during drag operations. * This optimization converts grid coordinates to pixel coordinates for faster collision detection. - * + * * @param w width of a single grid cell in pixels * @param h height of a single grid cell in pixels * @param top top margin/padding in pixels @@ -281,7 +281,7 @@ export class GridStackEngine { * @param bottom bottom margin/padding in pixels * @param left left margin/padding in pixels * @returns the engine instance for chaining - * + * * @internal This is typically called by GridStack during resize events */ public cacheRects(w: number, h: number, top: number, right: number, bottom: number, left: number): GridStackEngine @@ -300,11 +300,11 @@ export class GridStackEngine { /** * Attempt to swap the positions of two nodes if they meet swapping criteria. * Nodes can swap if they are the same size or in the same column/row, not locked, and touching. - * + * * @param a first node to swap * @param b second node to swap * @returns true if swap was successful, false if not possible, undefined if not applicable - * + * * @example * const swapped = engine.swap(nodeA, nodeB); * if (swapped) { @@ -351,13 +351,13 @@ export class GridStackEngine { /** * Check if the specified rectangular area is empty (no nodes occupy any part of it). - * + * * @param x the x coordinate (column) of the area to check * @param y the y coordinate (row) of the area to check * @param w the width in columns of the area to check * @param h the height in rows of the area to check * @returns true if the area is completely empty, false if any node overlaps - * + * * @example * if (engine.isAreaEmpty(2, 1, 3, 2)) { * console.log('Area is available for placement'); @@ -371,17 +371,17 @@ export class GridStackEngine { /** * Re-layout grid items to reclaim any empty space. * This optimizes the grid layout by moving items to fill gaps. - * + * * @param layout layout algorithm to use: * - 'compact' (default): find truly empty spaces, may reorder items * - 'list': keep the sort order exactly the same, move items up sequentially * @param doSort if true (default), sort nodes by position before compacting * @returns the engine instance for chaining - * + * * @example * // Compact to fill empty spaces * engine.compact(); - * + * * // Compact preserving item order * engine.compact('list'); */ @@ -411,9 +411,9 @@ export class GridStackEngine { * Enable/disable floating widgets (default: `false`). * When floating is enabled, widgets can move up to fill empty spaces. * See [example](http://gridstackjs.com/demo/float.html) - * + * * @param val true to enable floating, false to disable - * + * * @example * engine.float = true; // Enable floating * engine.float = false; // Disable floating (default) @@ -428,9 +428,9 @@ export class GridStackEngine { /** * Get the current floating mode setting. - * + * * @returns true if floating is enabled, false otherwise - * + * * @example * const isFloating = engine.float; * console.log('Floating enabled:', isFloating); @@ -440,10 +440,10 @@ export class GridStackEngine { /** * Sort the nodes array from first to last, or reverse. * This is called during collision/placement operations to enforce a specific order. - * + * * @param dir sort direction: 1 for ascending (first to last), -1 for descending (last to first) * @returns the engine instance for chaining - * + * * @example * engine.sortNodes(); // Sort ascending (default) * engine.sortNodes(-1); // Sort descending @@ -494,11 +494,11 @@ export class GridStackEngine { /** * Prepare and validate a node's coordinates and values for the current grid. * This ensures the node has valid position, size, and properties before being added to the grid. - * + * * @param node the node to prepare and validate * @param resizing if true, resize the node down if it's out of bounds; if false, move it to fit * @returns the prepared node with valid coordinates - * + * * @example * const node = { w: 3, h: 2, content: 'Hello' }; * const prepared = engine.prepareNode(node); @@ -547,11 +547,11 @@ export class GridStackEngine { /** * Part 2 of preparing a node to fit inside the grid - validates and fixes coordinates and dimensions. * This ensures the node fits within grid boundaries and respects min/max constraints. - * + * * @param node the node to validate and fix * @param resizing if true, resize the node to fit; if false, move the node to fit * @returns the engine instance for chaining - * + * * @example * // Fix a node that might be out of bounds * engine.nodeBoundFix(node, true); // Resize to fit @@ -577,7 +577,7 @@ export class GridStackEngine { copy.w = Math.min(this.defaultColumn, copy.w || 1); this.cacheOneLayout(copy, this.defaultColumn); } - + if (node.w > this.column) { node.w = this.column; } else if (node.w < 1) { @@ -622,14 +622,14 @@ export class GridStackEngine { /** * Returns a list of nodes that have been modified from their original values. * This is used to track which nodes need DOM updates. - * + * * @param verify if true, performs additional verification by comparing current vs original positions * @returns array of nodes that have been modified - * + * * @example * const changed = engine.getDirtyNodes(); * console.log('Modified nodes:', changed.length); - * + * * // Get verified dirty nodes * const verified = engine.getDirtyNodes(true); */ @@ -652,9 +652,9 @@ export class GridStackEngine { /** * Clean all dirty and last tried information from nodes. * This resets the dirty state tracking for all nodes. - * + * * @returns the engine instance for chaining - * + * * @internal */ public cleanNodes(): GridStackEngine { @@ -669,11 +669,11 @@ export class GridStackEngine { /** * Save the initial position/size of all nodes to track real dirty state. * This creates a snapshot of current positions that can be restored later. - * + * * Note: Should be called right after change events and before move/resize operations. - * + * * @returns the engine instance for chaining - * + * * @internal */ public saveInitial(): GridStackEngine { @@ -688,9 +688,9 @@ export class GridStackEngine { /** * Restore all nodes back to their initial values. * This is typically called when canceling an operation (e.g., Esc key during drag). - * + * * @returns the engine instance for chaining - * + * * @internal */ public restoreInitial(): GridStackEngine { @@ -706,13 +706,13 @@ export class GridStackEngine { /** * Find the first available empty spot for the given node dimensions. * Updates the node's x,y attributes with the found position. - * + * * @param node the node to find a position for (w,h must be set) * @param nodeList optional list of nodes to check against (defaults to engine nodes) * @param column optional column count (defaults to engine column count) * @param after optional node to start search after (maintains order) * @returns true if an empty position was found and node was updated - * + * * @example * const node = { w: 2, h: 1 }; * if (engine.findEmptyPosition(node)) { @@ -743,12 +743,12 @@ export class GridStackEngine { /** * Add the given node to the grid, handling collision detection and re-packing. * This is the main method for adding new widgets to the engine. - * + * * @param node the node to add to the grid * @param triggerAddEvent if true, adds node to addedNodes list for event triggering * @param after optional node to place this node after (for ordering) * @returns the added node (or existing node if duplicate) - * + * * @example * const node = { x: 0, y: 0, w: 2, h: 1, content: 'Hello' }; * const added = engine.addNode(node, true); @@ -778,12 +778,12 @@ export class GridStackEngine { /** * Remove the given node from the grid. - * + * * @param node the node to remove * @param removeDOM if true (default), marks node for DOM removal * @param triggerEvent if true, adds node to removedNodes list for event triggering * @returns the engine instance for chaining - * + * * @example * engine.removeNode(node, true, true); */ @@ -805,11 +805,11 @@ export class GridStackEngine { /** * Remove all nodes from the grid. - * + * * @param removeDOM if true (default), marks all nodes for DOM removal * @param triggerEvent if true (default), triggers removal events * @returns the engine instance for chaining - * + * * @example * engine.removeAll(); // Remove all nodes */ @@ -826,14 +826,14 @@ export class GridStackEngine { /** * Check if a node can be moved to a new position, considering layout constraints. * This is a safer version of moveNode() that validates the move first. - * + * * For complex cases (like maxRow constraints), it simulates the move in a clone first, * then applies the changes only if they meet all specifications. - * + * * @param node the node to move * @param o move options including target position * @returns true if the node was successfully moved - * + * * @example * const canMove = engine.moveNodeCheck(node, { x: 2, y: 1 }); * if (canMove) { diff --git a/src/gridstack.ts b/src/gridstack.ts index 9be9c9dab..fcbeaf3bc 100644 --- a/src/gridstack.ts +++ b/src/gridstack.ts @@ -468,10 +468,10 @@ export class GridStack { /** * Create the default grid item divs and content (possibly lazy loaded) by using GridStack.renderCB(). - * + * * @param n GridStackNode definition containing widget configuration * @returns the created HTML element with proper grid item structure - * + * * @example * const element = grid.createWidgetDivs({ w: 2, h: 1, content: 'Hello World' }); */ @@ -698,7 +698,7 @@ export class GridStack { * const savedLayout = grid.save(); // Save current layout * // ... later restore it * grid.load(savedLayout); - * + * * // Load with custom add/remove callback * grid.load(layout, (items, grid, add) => { * if (add) { @@ -713,10 +713,10 @@ export class GridStack { * items.forEach(item => grid.removeWidget(item.el)); * } * }); - * + * * // Load without adding/removing missing widgets * grid.load(layout, false); - * + * * @see {@link http://gridstackjs.com/demo/serialization.html} for complete example */ public load(items: GridStackWidget[], addRemove: boolean | AddRemoveFcn = GridStack.addRemoveCB || true): GridStack { @@ -843,14 +843,14 @@ export class GridStack { /** * Gets the current cell height in pixels. This takes into account the unit type and converts to pixels if necessary. - * + * * @param forcePixel if true, forces conversion to pixels even when cellHeight is specified in other units * @returns the cell height in pixels - * + * * @example * const height = grid.getCellHeight(); * console.log('Cell height:', height, 'px'); - * + * * // Force pixel conversion * const pixelHeight = grid.getCellHeight(true); */ @@ -937,13 +937,13 @@ export class GridStack { /** Gets current cell width. */ /** * Gets the current cell width in pixels. This is calculated based on the grid container width divided by the number of columns. - * + * * @returns the cell width in pixels - * + * * @example * const width = grid.cellWidth(); * console.log('Cell width:', width, 'px'); - * + * * // Use cell width to calculate widget dimensions * const widgetWidth = width * 3; // For a 3-column wide widget */ @@ -984,21 +984,21 @@ export class GridStack { /** * Re-layout grid items to reclaim any empty space. This is useful after removing widgets * or when you want to optimize the layout. - * + * * @param layout layout type. Options: - * - 'compact' (default): might re-order items to fill any empty space + * - 'compact' (default): might re-order items to fill any empty space * - 'list': keep the widget left->right order the same, even if that means leaving an empty slot if things don't fit * @param doSort re-sort items first based on x,y position. Set to false to do your own sorting ahead (default: true) * @returns the grid instance for chaining - * + * * @example * // Compact layout after removing widgets * grid.removeWidget('.widget-to-remove'); * grid.compact(); - * + * * // Use list layout (preserve order) * grid.compact('list'); - * + * * // Compact without sorting first * grid.compact('compact', false); */ @@ -1011,28 +1011,28 @@ export class GridStack { /** * Set the number of columns in the grid. Will update existing widgets to conform to new number of columns, * as well as cache the original layout so you can revert back to previous positions without loss. - * + * * Requires `gridstack-extra.css` or `gridstack-extra.min.css` for [2-11] columns, * else you will need to generate correct CSS. * See: https://github.com/gridstack/gridstack.js#change-grid-columns - * + * * @param column Integer > 0 (default 12) * @param layout specify the type of re-layout that will happen. Options: * - 'moveScale' (default): scale widget positions and sizes * - 'move': keep widget sizes, only move positions - * - 'scale': keep widget positions, only scale sizes + * - 'scale': keep widget positions, only scale sizes * - 'none': don't change widget positions or sizes * Note: items will never be outside of the current column boundaries. * Ignored for `column=1` as we always want to vertically stack. * @returns the grid instance for chaining - * + * * @example * // Change to 6 columns with default scaling * grid.column(6); - * + * * // Change to 4 columns, only move positions * grid.column(4, 'move'); - * + * * // Single column layout (vertical stack) * grid.column(1); */ @@ -1067,9 +1067,9 @@ export class GridStack { /** * Get the number of columns in the grid (default 12). - * + * * @returns the current number of columns in the grid - * + * * @example * const columnCount = grid.getColumn(); // returns 12 by default */ @@ -1078,9 +1078,9 @@ export class GridStack { /** * Returns an array of grid HTML elements (no placeholder) - used to iterate through our children in DOM order. * This method excludes placeholder elements and returns only actual grid items. - * + * * @returns array of GridItemHTMLElement instances representing all grid items - * + * * @example * const items = grid.getGridItems(); * items.forEach(item => { @@ -1095,9 +1095,9 @@ export class GridStack { /** * Returns true if change callbacks should be ignored due to column change, sizeToContent, loading, etc. * This is useful for callers who want to implement dirty flag functionality. - * + * * @returns true if change callbacks are currently being ignored - * + * * @example * if (!grid.isIgnoreChangeCB()) { * // Process the change event @@ -1136,10 +1136,10 @@ export class GridStack { /** * Enable/disable floating widgets (default: `false`). When enabled, widgets can float up to fill empty spaces. * See [example](http://gridstackjs.com/demo/float.html) - * + * * @param val true to enable floating, false to disable * @returns the grid instance for chaining - * + * * @example * grid.float(true); // Enable floating * grid.float(false); // Disable floating (default) @@ -1154,9 +1154,9 @@ export class GridStack { /** * Get the current float mode setting. - * + * * @returns true if floating is enabled, false otherwise - * + * * @example * const isFloating = grid.getFloat(); * console.log('Floating enabled:', isFloating); @@ -1197,9 +1197,9 @@ export class GridStack { /** * Returns the current number of rows, which will be at least `minRow` if set. * The row count is based on the highest positioned widget in the grid. - * + * * @returns the current number of rows in the grid - * + * * @example * const rowCount = grid.getRow(); * console.log('Grid has', rowCount, 'rows'); @@ -1210,13 +1210,13 @@ export class GridStack { /** * Checks if the specified rectangular area is empty (no widgets occupy any part of it). - * + * * @param x the x coordinate (column) of the area to check - * @param y the y coordinate (row) of the area to check + * @param y the y coordinate (row) of the area to check * @param w the width in columns of the area to check * @param h the height in rows of the area to check * @returns true if the area is completely empty, false if any widget overlaps - * + * * @example * // Check if a 2x2 area at position (1,1) is empty * if (grid.isAreaEmpty(1, 1, 2, 2)) { @@ -1231,22 +1231,22 @@ export class GridStack { * If you add elements to your grid by hand (or have some framework creating DOM), you have to tell gridstack afterwards to make them widgets. * If you want gridstack to add the elements for you, use `addWidget()` instead. * Makes the given element a widget and returns it. - * + * * @param els widget or single selector to convert. * @param options widget definition to use instead of reading attributes or using default sizing values * @returns the converted GridItemHTMLElement * * @example * const grid = GridStack.init(); - * + * * // Create HTML content manually, possibly looking like: * //
* grid.el.innerHTML = '
'; - * + * * // Convert existing elements to widgets * grid.makeWidget('#item-1'); // Uses gs-* attributes from DOM * grid.makeWidget('#item-2', {w: 2, h: 1, content: 'Hello World'}); - * + * * // Or pass DOM element directly * const element = document.getElementById('item-3'); * grid.makeWidget(element, {x: 0, y: 1, w: 4, h: 2}); @@ -1280,7 +1280,7 @@ export class GridStack { /** * Register event handler for grid events. You can call this on a single event name, or space separated list. - * + * * Supported events: * - `added`: Called when widgets are being added to a grid * - `change`: Occurs when widgets change their position/size due to constraints or direct changes @@ -1294,17 +1294,17 @@ export class GridStack { * - `resizestart`: Called before user starts resizing an item * - `resize`: Called while grid item is being resized (for each new row/column value) * - `resizestop`: Called after user is done resizing the item, with updated DOM attributes - * + * * @param name event name(s) to listen for (space separated for multiple) * @param callback function to call when event occurs * @returns the grid instance for chaining - * + * * @example * // Listen to multiple events at once * grid.on('added removed change', (event, items) => { * items.forEach(item => console.log('Item changed:', item)); * }); - * + * * // Listen to individual events * grid.on('added', (event, items) => { * items.forEach(item => console.log('Added item:', item)); @@ -1368,9 +1368,9 @@ export class GridStack { /** * Remove all event handlers from the grid. This is useful for cleanup when destroying a grid. - * + * * @returns the grid instance for chaining - * + * * @example * grid.offAll(); // Remove all event listeners */ @@ -1519,21 +1519,21 @@ export class GridStack { /** * Updates widget position/size and other info. This is used to change widget properties after creation. * Can update position, size, content, and other widget properties. - * + * * Note: If you need to call this on all nodes, use load() instead which will update what changed. * Setting the same x,y for multiple items will be indeterministic and likely unwanted. - * + * * @param els widget element(s) or selector to modify * @param opt new widget options (x,y,w,h, etc.). Only those set will be updated. * @returns the grid instance for chaining - * + * * @example * // Update widget size and position * grid.update('.my-widget', { x: 2, y: 1, w: 3, h: 2 }); - * + * * // Update widget content * grid.update(widget, { content: '

New content

' }); - * + * * // Update multiple properties * grid.update('#my-widget', { * w: 4, @@ -1631,17 +1631,17 @@ export class GridStack { /** * Updates widget height to match the content height to avoid vertical scrollbars or dead space. * This automatically adjusts the widget height based on its content size. - * - * Note: This assumes only 1 child under resizeToContentParent='.grid-stack-item-content' + * + * Note: This assumes only 1 child under resizeToContentParent='.grid-stack-item-content' * (sized to gridItem minus padding) that represents the entire content size. - * + * * @param el the grid item element to resize - * + * * @example * // Resize a widget to fit its content * const widget = document.querySelector('.grid-stack-item'); * grid.resizeToContent(widget); - * + * * // This is commonly used with dynamic content: * widget.querySelector('.content').innerHTML = 'New longer content...'; * grid.resizeToContent(widget); @@ -1709,15 +1709,15 @@ export class GridStack { /** * Rotate widgets by swapping their width and height. This is typically called when the user presses 'r' during dragging. * The rotation swaps the w/h dimensions and adjusts min/max constraints accordingly. - * + * * @param els widget element(s) or selector to rotate * @param relative optional pixel coordinate relative to upper/left corner to rotate around (keeps that cell under cursor) * @returns the grid instance for chaining - * + * * @example * // Rotate a specific widget * grid.rotate('.my-widget'); - * + * * // Rotate with relative positioning during drag * grid.rotate(widget, { left: 50, top: 30 }); */ @@ -1744,13 +1744,13 @@ export class GridStack { /** * Updates the margins which will set all 4 sides at once - see `GridStackOptions.margin` for format options. * Supports CSS string format of 1, 2, or 4 values or a single number. - * + * * @param value margin value - can be: * - Single number: `10` (applies to all sides) * - Two values: `'10px 20px'` (top/bottom, left/right) * - Four values: `'10px 20px 5px 15px'` (top, right, bottom, left) * @returns the grid instance for chaining - * + * * @example * grid.margin(10); // 10px all sides * grid.margin('10px 20px'); // 10px top/bottom, 20px left/right @@ -1774,9 +1774,9 @@ export class GridStack { /** * Returns the current margin value as a number (undefined if the 4 sides don't match). * This only returns a number if all sides have the same margin value. - * + * * @returns the margin value in pixels, or undefined if sides have different values - * + * * @example * const margin = grid.getMargin(); * if (margin !== undefined) { @@ -2179,9 +2179,9 @@ export class GridStack { /** * Get the global drag & drop implementation instance. * This provides access to the underlying drag & drop functionality. - * + * * @returns the DDGridStack instance used for drag & drop operations - * + * * @example * const dd = GridStack.getDD(); * // Access drag & drop functionality @@ -2213,20 +2213,20 @@ export class GridStack { } /** - * Enables/Disables dragging by the user for specific grid elements. + * Enables/Disables dragging by the user for specific grid elements. * For all items and future items, use enableMove() instead. No-op for static grids. - * - * Note: If you want to prevent an item from moving due to being pushed around by another + * + * Note: If you want to prevent an item from moving due to being pushed around by another * during collision, use the 'locked' property instead. - * + * * @param els widget element(s) or selector to modify * @param val if true widget will be draggable, assuming the parent grid isn't noMove or static * @returns the grid instance for chaining - * + * * @example * // Make specific widgets draggable * grid.movable('.my-widget', true); - * + * * // Disable dragging for specific widgets * grid.movable('#fixed-widget', false); */ @@ -2244,15 +2244,15 @@ export class GridStack { /** * Enables/Disables user resizing for specific grid elements. * For all items and future items, use enableResize() instead. No-op for static grids. - * + * * @param els widget element(s) or selector to modify * @param val if true widget will be resizable, assuming the parent grid isn't noResize or static * @returns the grid instance for chaining - * + * * @example * // Make specific widgets resizable * grid.resizable('.my-widget', true); - * + * * // Disable resizing for specific widgets * grid.resizable('#fixed-size-widget', false); */ @@ -2270,22 +2270,22 @@ export class GridStack { /** * Temporarily disables widgets moving/resizing. * If you want a more permanent way (which freezes up resources) use `setStatic(true)` instead. - * + * * Note: This is a no-op for static grids. - * + * * This is a shortcut for: * ```typescript * grid.enableMove(false); * grid.enableResize(false); * ``` - * + * * @param recurse if true (default), sub-grids also get updated * @returns the grid instance for chaining - * + * * @example * // Disable all interactions * grid.disable(); - * + * * // Disable only this grid, not sub-grids * grid.disable(false); */ @@ -2299,20 +2299,20 @@ export class GridStack { /** * Re-enables widgets moving/resizing - see disable(). * Note: This is a no-op for static grids. - * + * * This is a shortcut for: * ```typescript * grid.enableMove(true); * grid.enableResize(true); * ``` - * + * * @param recurse if true (default), sub-grids also get updated * @returns the grid instance for chaining - * + * * @example * // Re-enable all interactions * grid.enable(); - * + * * // Enable only this grid, not sub-grids * grid.enable(false); */ @@ -2327,18 +2327,18 @@ export class GridStack { /** * Enables/disables widget moving for all widgets. No-op for static grids. * Note: locally defined items (with noMove property) still override this setting. - * + * * @param doEnable if true widgets will be movable, if false moving is disabled * @param recurse if true (default), sub-grids also get updated * @returns the grid instance for chaining - * + * * @example * // Enable moving for all widgets * grid.enableMove(true); - * + * * // Disable moving for all widgets * grid.enableMove(false); - * + * * // Enable only this grid, not sub-grids * grid.enableMove(true, false); */ @@ -2355,18 +2355,18 @@ export class GridStack { /** * Enables/disables widget resizing for all widgets. No-op for static grids. * Note: locally defined items (with noResize property) still override this setting. - * + * * @param doEnable if true widgets will be resizable, if false resizing is disabled - * @param recurse if true (default), sub-grids also get updated + * @param recurse if true (default), sub-grids also get updated * @returns the grid instance for chaining - * + * * @example * // Enable resizing for all widgets * grid.enableResize(true); - * + * * // Disable resizing for all widgets * grid.enableResize(false); - * + * * // Enable only this grid, not sub-grids * grid.enableResize(true, false); */ diff --git a/src/types.ts b/src/types.ts index 5bdca492c..f2b67ce30 100644 --- a/src/types.ts +++ b/src/types.ts @@ -43,10 +43,10 @@ export const gridDefaults: GridStackOptions = { /** * Different layout options when changing the number of columns. - * + * * These options control how widgets are repositioned when the grid column count changes. * Note: The new list may be partially filled if there's a cached layout for that size. - * + * * Options: * - `'list'`: Treat items as a sorted list, keeping them sequentially without resizing (unless too big) * - `'compact'`: Similar to list, but uses compact() method to fill empty slots by reordering @@ -109,7 +109,7 @@ export type GridStackEventHandlerCallback = GridStackEventHandler | GridStackEle /** * Optional callback function called during load() operations. * Allows custom handling of widget addition/removal for framework integration. - * + * * @param parent - The parent HTML element * @param w - The widget definition * @param add - True if adding, false if removing @@ -121,7 +121,7 @@ export type AddRemoveFcn = (parent: HTMLElement, w: GridStackWidget, add: boolea /** * Optional callback function called during save() operations. * Allows adding custom data to the saved widget structure. - * + * * @param node - The internal grid node * @param w - The widget structure being saved (can be modified) */ @@ -130,7 +130,7 @@ export type SaveFcn = (node: GridStackNode, w: GridStackWidget) => void; /** * Optional callback function for custom widget content rendering. * Called during load()/addWidget() to create custom content beyond plain text. - * + * * @param el - The widget's content container element * @param w - The widget definition with content and other properties */ @@ -139,14 +139,14 @@ export type RenderFcn = (el: HTMLElement, w: GridStackWidget) => void; /** * Optional callback function for custom resize-to-content behavior. * Called when a widget needs to resize to fit its content. - * + * * @param el - The grid item element to resize */ export type ResizeToContentFcn = (el: GridItemHTMLElement) => void; /** * Configuration for responsive grid behavior. - * + * * Defines how the grid responds to different screen sizes by changing column counts. * NOTE: Make sure to include the appropriate CSS (gridstack-extra.css) to support responsive behavior. */ @@ -188,19 +188,19 @@ export interface GridStackOptions { * - `false`: will not accept any external widgets * - string: explicit class name to accept instead of default * - function: callback called before an item will be accepted when entering a grid - * + * * @example * // Accept all grid items * acceptWidgets: true - * + * * // Accept only items with specific class * acceptWidgets: 'my-draggable-item' - * + * * // Custom validation function * acceptWidgets: (el) => { * return el.getAttribute('data-accept') === 'true'; * } - * + * * @see {@link http://gridstack.github.io/gridstack.js/demo/two.html} for complete example */ acceptWidgets?: boolean | string | ((element: Element) => boolean); @@ -225,20 +225,20 @@ export interface GridStackOptions { * - 0: library will not generate styles for rows (define your own CSS) * - 'auto': height calculated for square cells (width / column) and updated live on window resize * - 'initial': similar to 'auto' but stays fixed size during window resizing - * + * * Note: % values don't work correctly - see demo/cell-height.html - * + * * @example * // Fixed 100px height * cellHeight: 100 - * + * * // CSS units * cellHeight: '5rem' * cellHeight: '100px' - * + * * // Auto-sizing for square cells * cellHeight: 'auto' - * + * * // No CSS generation (custom styles) * cellHeight: 0 */ diff --git a/src/utils.ts b/src/utils.ts index 010d5af44..97dd96a2f 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -20,7 +20,7 @@ export interface DragTransform { /** * @internal Checks for obsolete method names and provides deprecation warnings. * Creates a wrapper function that logs a deprecation warning when called. - * + * * @param self the object context to apply the function to * @param f the new function to call * @param oldName the deprecated method name @@ -42,7 +42,7 @@ export function obsolete(self, f, oldName: string, newName: string, rev: string) /** * @internal Checks for obsolete grid options and migrates them to new names. * Automatically copies old option values to new option names and shows deprecation warnings. - * + * * @param opts the options object to check and migrate * @param oldName the deprecated option name * @param newName the new option name to use instead @@ -59,7 +59,7 @@ export function obsoleteOpts(opts: GridStackOptions, oldName: string, newName: s /** * @internal Checks for obsolete grid options that have been completely removed. * Shows deprecation warnings for options that are no longer supported. - * + * * @param opts the options object to check * @param oldName the removed option name * @param rev the version when the option was removed @@ -74,7 +74,7 @@ export function obsoleteOptsDel(opts: GridStackOptions, oldName: string, rev: st /** * @internal Checks for obsolete HTML element attributes and migrates them. * Automatically copies old attribute values to new attribute names and shows deprecation warnings. - * + * * @param el the HTML element to check and migrate * @param oldName the deprecated attribute name * @param newName the new attribute name to use instead @@ -99,11 +99,11 @@ export class Utils { /** * Convert a potential selector into an actual list of HTML elements. * Supports CSS selectors, element references, and special ID handling. - * + * * @param els selector string, HTMLElement, or array of elements * @param root optional root element to search within (defaults to document, useful for shadow DOM) * @returns array of HTML elements matching the selector - * + * * @example * const elements = Utils.getElements('.grid-item'); * const byId = Utils.getElements('#myWidget'); @@ -134,11 +134,11 @@ export class Utils { /** * Convert a potential selector into a single HTML element. * Similar to getElements() but returns only the first match. - * + * * @param els selector string or HTMLElement * @param root optional root element to search within (defaults to document) * @returns the first HTML element matching the selector, or null if not found - * + * * @example * const element = Utils.getElement('#myWidget'); * const first = Utils.getElement('.grid-item'); @@ -170,10 +170,10 @@ export class Utils { /** * Check if a widget should be lazy loaded based on node or grid settings. - * + * * @param n the grid node to check * @returns true if the item should be lazy loaded - * + * * @example * if (Utils.lazyLoad(node)) { * // Set up intersection observer for lazy loading @@ -185,11 +185,11 @@ export class Utils { /** * Create a div element with the specified CSS classes. - * + * * @param classes array of CSS class names to add * @param parent optional parent element to append the div to * @returns the created div element - * + * * @example * const div = Utils.createDiv(['grid-item', 'draggable']); * const nested = Utils.createDiv(['content'], parentDiv); @@ -203,11 +203,11 @@ export class Utils { /** * Check if a widget should resize to fit its content. - * + * * @param n the grid node to check (can be undefined) * @param strict if true, only returns true for explicit sizeToContent:true (not numbers) * @returns true if the widget should resize to content - * + * * @example * if (Utils.shouldSizeToContent(node)) { * // Trigger content-based resizing @@ -221,11 +221,11 @@ export class Utils { /** * Check if two grid positions overlap/intersect. - * + * * @param a first position with x, y, w, h properties * @param b second position with x, y, w, h properties * @returns true if the positions overlap - * + * * @example * const overlaps = Utils.isIntercepted( * {x: 0, y: 0, w: 2, h: 1}, @@ -238,11 +238,11 @@ export class Utils { /** * Check if two grid positions are touching (edges or corners). - * + * * @param a first position * @param b second position * @returns true if the positions are touching - * + * * @example * const touching = Utils.isTouching( * {x: 0, y: 0, w: 2, h: 1}, @@ -255,11 +255,11 @@ export class Utils { /** * Calculate the overlapping area between two grid positions. - * + * * @param a first position * @param b second position * @returns the area of overlap (0 if no overlap) - * + * * @example * const overlap = Utils.areaIntercept( * {x: 0, y: 0, w: 3, h: 2}, @@ -278,10 +278,10 @@ export class Utils { /** * Calculate the total area of a grid position. - * + * * @param a position with width and height * @returns the total area (width * height) - * + * * @example * const area = Utils.area({x: 0, y: 0, w: 3, h: 2}); // returns 6 */ @@ -291,11 +291,11 @@ export class Utils { /** * Sort an array of grid nodes by position (y first, then x). - * + * * @param nodes array of nodes to sort * @param dir sort direction: 1 for ascending (top-left first), -1 for descending * @returns the sorted array (modifies original) - * + * * @example * const sorted = Utils.sort(nodes); // Sort top-left to bottom-right * const reverse = Utils.sort(nodes, -1); // Sort bottom-right to top-left @@ -311,11 +311,11 @@ export class Utils { /** * Find a grid node by its ID. - * + * * @param nodes array of nodes to search * @param id the ID to search for * @returns the node with matching ID, or undefined if not found - * + * * @example * const node = Utils.find(nodes, 'widget-1'); * if (node) console.log('Found node at:', node.x, node.y); @@ -327,10 +327,10 @@ export class Utils { /** * Convert various value types to boolean. * Handles strings like 'false', 'no', '0' as false. - * + * * @param v value to convert * @returns boolean representation - * + * * @example * Utils.toBool('true'); // true * Utils.toBool('false'); // false @@ -351,10 +351,10 @@ export class Utils { /** * Convert a string value to a number, handling null and empty strings. - * + * * @param value string or null value to convert * @returns number value, or undefined for null/empty strings - * + * * @example * Utils.toNumber('42'); // 42 * Utils.toNumber(''); // undefined @@ -367,10 +367,10 @@ export class Utils { /** * Parse a height value with units into numeric value and unit string. * Supports px, em, rem, vh, vw, %, cm, mm units. - * + * * @param val height value as number or string with units * @returns object with h (height) and unit properties - * + * * @example * Utils.parseHeight('100px'); // {h: 100, unit: 'px'} * Utils.parseHeight('2rem'); // {h: 2, unit: 'rem'} @@ -398,11 +398,11 @@ export class Utils { /** * Copy unset fields from source objects to target object (shallow merge with defaults). * Similar to Object.assign but only sets undefined/null fields. - * + * * @param target the object to copy defaults into * @param sources one or more source objects to copy defaults from * @returns the modified target object - * + * * @example * const config = { width: 100 }; * Utils.defaults(config, { width: 200, height: 50 }); @@ -429,11 +429,11 @@ export class Utils { /** * Compare two objects for equality (shallow comparison). * Checks if objects have the same fields and values at one level deep. - * + * * @param a first object to compare * @param b second object to compare * @returns true if objects have the same values - * + * * @example * Utils.same({x: 1, y: 2}, {x: 1, y: 2}); // true * Utils.same({x: 1}, {x: 1, y: 2}); // false @@ -452,12 +452,12 @@ export class Utils { /** * Copy position and size properties from one widget to another. * Copies x, y, w, h and optionally min/max constraints. - * + * * @param a target widget to copy to * @param b source widget to copy from * @param doMinMax if true, also copy min/max width/height constraints * @returns the target widget (a) - * + * * @example * Utils.copyPos(widget1, widget2); // Copy position/size * Utils.copyPos(widget1, widget2, true); // Also copy constraints diff --git a/tsconfig.json b/tsconfig.json index 4b5c75da6..d0548e9d1 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,16 +7,24 @@ "emitDecoratorMetadata": true, "experimentalDecorators": true, "inlineSources": true, - "lib": [ "es6", "es2015", "dom" ], + "lib": [ "es2017", "es2015", "dom" ], "module": "ES2020", "noImplicitAny": false, "outDir": "./dist", "sourceMap": true, "strict": false, - "target": "ES2020" + "target": "ES2020", + "types": ["vitest/globals", "@testing-library/jest-dom", "node"], + "skipLibCheck": true, + "allowSyntheticDefaultImports": true, + "esModuleInterop": true, + "moduleResolution": "node" }, "include": [ - "./src/**/*.ts" + "./src/**/*.ts", + "./spec/**/*.ts", + "./vitest.setup.ts", + "./vitest.config.ts" ], "typeroots": [ "./node_modules/@types" diff --git a/vitest.config.ts b/vitest.config.ts new file mode 100644 index 000000000..7a5ca49c1 --- /dev/null +++ b/vitest.config.ts @@ -0,0 +1,84 @@ +/// +import { defineConfig } from 'vitest/config' + +export default defineConfig({ + test: { + // Enable globals (describe, it, expect, etc.) without imports + globals: true, + + // Use jsdom for DOM simulation (required for testing DOM-related code) + environment: 'jsdom', + + // Setup files to run before tests + setupFiles: ['./vitest.setup.ts'], + + // Test file patterns + include: [ + 'spec/**/*-spec.{js,mjs,cjs,ts,mts,cts,jsx,tsx}', + 'spec/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}', + 'src/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}' + ], + + // Exclude patterns + exclude: [ + '**/node_modules/**', + '**/dist/**', + '**/angular/**', + '**/react/**', + '**/demo/**', + '**/spec/e2e/**' // Exclude old Protractor E2E tests + ], + + // Coverage configuration + coverage: { + provider: 'v8', // Use V8's built-in coverage (faster and more accurate) + reporter: ['text', 'json', 'html', 'lcov'], + exclude: [ + 'coverage/**', + 'dist/**', + 'node_modules/**', + 'demo/**', + 'angular/**', + 'react/**', + '**/*.d.ts', + '**/*.config.{js,ts}', + '**/karma.conf.js', + 'scripts/**', + 'spec/e2e/**' // Exclude e2e tests from coverage + ], + // Coverage thresholds (optional - set to your desired levels) + thresholds: { + global: { + branches: 80, + functions: 80, + lines: 80, + statements: 80 + } + }, + // Include source files for coverage even if not tested + all: true, + include: ['src/**/*.{js,ts}'] + }, + + // Test timeout (in milliseconds) + testTimeout: 10000, + + // Hook timeout (in milliseconds) + hookTimeout: 10000, + + // Reporter configuration + reporters: ['verbose', 'html'], + + // Output directory for test results + outputFile: { + html: './coverage/test-results.html' + } + }, + + // Resolve configuration for imports + resolve: { + alias: { + '@': '/src' + } + } +}) diff --git a/vitest.setup.ts b/vitest.setup.ts new file mode 100644 index 000000000..261e81372 --- /dev/null +++ b/vitest.setup.ts @@ -0,0 +1,103 @@ +import '@testing-library/jest-dom' + +// Global test setup +// This file runs before each test file + +// Mock DOM APIs that might not be available in jsdom +Object.defineProperty(window, 'matchMedia', { + writable: true, + value: vi.fn().mockImplementation(query => ({ + matches: false, + media: query, + onchange: null, + addListener: vi.fn(), // deprecated + removeListener: vi.fn(), // deprecated + addEventListener: vi.fn(), + removeEventListener: vi.fn(), + dispatchEvent: vi.fn(), + })), +}); + +// Mock ResizeObserver +(globalThis as any).ResizeObserver = vi.fn().mockImplementation(() => ({ + observe: vi.fn(), + unobserve: vi.fn(), + disconnect: vi.fn(), +})); + +// Mock IntersectionObserver +(globalThis as any).IntersectionObserver = vi.fn().mockImplementation(() => ({ + observe: vi.fn(), + unobserve: vi.fn(), + disconnect: vi.fn(), +})); + +// Mock requestAnimationFrame +(globalThis as any).requestAnimationFrame = vi.fn().mockImplementation((cb: Function) => { + return setTimeout(cb, 0); +}); + +(globalThis as any).cancelAnimationFrame = vi.fn().mockImplementation((id: number) => { + clearTimeout(id); +}); + +// Mock performance.now for timing-related tests +Object.defineProperty(window, 'performance', { + writable: true, + value: { + now: vi.fn(() => Date.now()) + } +}); + +// Mock CSS properties that might be used by gridstack +Object.defineProperty(window, 'getComputedStyle', { + value: () => ({ + getPropertyValue: () => '', + width: '100px', + height: '100px', + marginTop: '0px', + marginBottom: '0px', + marginLeft: '0px', + marginRight: '0px' + }) +}); + +// Mock scrollTo for tests that might trigger scrolling +window.scrollTo = vi.fn(); + +// Setup DOM environment +Object.defineProperty(window, 'location', { + value: { + href: 'http://localhost:3000', + origin: 'http://localhost:3000', + pathname: '/', + search: '', + hash: '' + }, + writable: true +}); + +// Global test utilities +(globalThis as any).createMockElement = (tagName: string = 'div', attributes: Record = {}) => { + const element = document.createElement(tagName); + Object.entries(attributes).forEach(([key, value]) => { + element.setAttribute(key, value); + }); + return element; +}; + +// Console error/warning suppression for expected errors in tests +const originalError = console.error; +const originalWarn = console.warn; + +beforeEach(() => { + // Reset console methods for each test + console.error = originalError; + console.warn = originalWarn; +}); + +// Helper to suppress expected console errors/warnings +(globalThis as any).suppressConsoleErrors = () => { + console.error = vi.fn(); + console.warn = vi.fn(); +}; diff --git a/yarn.lock b/yarn.lock index dbe13b42c..0c8f47a04 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,277 +2,222 @@ # yarn lockfile v1 -"@ampproject/remapping@^2.2.0": - version "2.2.1" - resolved "https://registry.yarnpkg.com/@ampproject/remapping/-/remapping-2.2.1.tgz#99e8e11851128b8702cd57c33684f1d0f260b630" - integrity sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg== - dependencies: - "@jridgewell/gen-mapping" "^0.3.0" - "@jridgewell/trace-mapping" "^0.3.9" - -"@babel/code-frame@^7.18.6", "@babel/code-frame@^7.21.4": - version "7.21.4" - resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.21.4.tgz#d0fa9e4413aca81f2b23b9442797bda1826edb39" - integrity sha512-LYvhNKfwWSPpocw8GI7gpK2nq3HSDuEPC/uSYaALSJu9xjsalaaYFOq0Pwt5KmVqwEbZlDu81aLXwBOmD/Fv9g== - dependencies: - "@babel/highlight" "^7.18.6" - -"@babel/code-frame@^7.22.13": - version "7.22.13" - resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.22.13.tgz#e3c1c099402598483b7a8c46a721d1038803755e" - integrity sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w== - dependencies: - "@babel/highlight" "^7.22.13" - chalk "^2.4.2" - -"@babel/compat-data@^7.21.4": - version "7.21.4" - resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.21.4.tgz#457ffe647c480dff59c2be092fc3acf71195c87f" - integrity sha512-/DYyDpeCfaVinT40FPGdkkb+lYSKvsVuMjDAG7jPOWWiM1ibOaB9CXJAlc4d1QpP/U2q2P9jbrSlClKSErd55g== - -"@babel/core@^7.7.5": - version "7.21.4" - resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.21.4.tgz#c6dc73242507b8e2a27fd13a9c1814f9fa34a659" - integrity sha512-qt/YV149Jman/6AfmlxJ04LMIu8bMoyl3RB91yTFrxQmgbrSvQMy7cI8Q62FHx1t8wJ8B5fu0UDoLwHAhUo1QA== - dependencies: - "@ampproject/remapping" "^2.2.0" - "@babel/code-frame" "^7.21.4" - "@babel/generator" "^7.21.4" - "@babel/helper-compilation-targets" "^7.21.4" - "@babel/helper-module-transforms" "^7.21.2" - "@babel/helpers" "^7.21.0" - "@babel/parser" "^7.21.4" - "@babel/template" "^7.20.7" - "@babel/traverse" "^7.21.4" - "@babel/types" "^7.21.4" - convert-source-map "^1.7.0" - debug "^4.1.0" - gensync "^1.0.0-beta.2" - json5 "^2.2.2" - semver "^6.3.0" - -"@babel/generator@^7.21.4": - version "7.21.4" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.21.4.tgz#64a94b7448989f421f919d5239ef553b37bb26bc" - integrity sha512-NieM3pVIYW2SwGzKoqfPrQsf4xGs9M9AIG3ThppsSRmO+m7eQhmI6amajKMUeIO37wFfsvnvcxQFx6x6iqxDnA== - dependencies: - "@babel/types" "^7.21.4" - "@jridgewell/gen-mapping" "^0.3.2" - "@jridgewell/trace-mapping" "^0.3.17" - jsesc "^2.5.1" - -"@babel/generator@^7.23.0": - version "7.23.0" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.23.0.tgz#df5c386e2218be505b34837acbcb874d7a983420" - integrity sha512-lN85QRR+5IbYrMWM6Y4pE/noaQtg4pNiqeNGX60eqOfo6gtEj6uw/JagelB8vVztSd7R6M5n1+PQkDbHbBRU4g== - dependencies: - "@babel/types" "^7.23.0" - "@jridgewell/gen-mapping" "^0.3.2" - "@jridgewell/trace-mapping" "^0.3.17" - jsesc "^2.5.1" - -"@babel/helper-compilation-targets@^7.21.4": - version "7.21.4" - resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.21.4.tgz#770cd1ce0889097ceacb99418ee6934ef0572656" - integrity sha512-Fa0tTuOXZ1iL8IeDFUWCzjZcn+sJGd9RZdH9esYVjEejGmzf+FFYQpMi/kZUk2kPy/q1H3/GPw7np8qar/stfg== - dependencies: - "@babel/compat-data" "^7.21.4" - "@babel/helper-validator-option" "^7.21.0" - browserslist "^4.21.3" - lru-cache "^5.1.1" - semver "^6.3.0" - -"@babel/helper-environment-visitor@^7.18.9": - version "7.18.9" - resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.18.9.tgz#0c0cee9b35d2ca190478756865bb3528422f51be" - integrity sha512-3r/aACDJ3fhQ/EVgFy0hpj8oHyHpQc+LPtJoY9SzTThAsStm4Ptegq92vqKoE3vD706ZVFWITnMnxucw+S9Ipg== - -"@babel/helper-environment-visitor@^7.22.20": - version "7.22.20" - resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz#96159db61d34a29dba454c959f5ae4a649ba9167" - integrity sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA== - -"@babel/helper-function-name@^7.23.0": - version "7.23.0" - resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz#1f9a3cdbd5b2698a670c30d2735f9af95ed52759" - integrity sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw== - dependencies: - "@babel/template" "^7.22.15" - "@babel/types" "^7.23.0" - -"@babel/helper-hoist-variables@^7.22.5": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz#c01a007dac05c085914e8fb652b339db50d823bb" - integrity sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw== - dependencies: - "@babel/types" "^7.22.5" - -"@babel/helper-module-imports@^7.18.6": - version "7.21.4" - resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.21.4.tgz#ac88b2f76093637489e718a90cec6cf8a9b029af" - integrity sha512-orajc5T2PsRYUN3ZryCEFeMDYwyw09c/pZeaQEZPH0MpKzSvn3e0uXsDBu3k03VI+9DBiRo+l22BfKTpKwa/Wg== - dependencies: - "@babel/types" "^7.21.4" - -"@babel/helper-module-transforms@^7.21.2": - version "7.21.2" - resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.21.2.tgz#160caafa4978ac8c00ac66636cb0fa37b024e2d2" - integrity sha512-79yj2AR4U/Oqq/WOV7Lx6hUjau1Zfo4cI+JLAVYeMV5XIlbOhmjEk5ulbTc9fMpmlojzZHkUUxAiK+UKn+hNQQ== - dependencies: - "@babel/helper-environment-visitor" "^7.18.9" - "@babel/helper-module-imports" "^7.18.6" - "@babel/helper-simple-access" "^7.20.2" - "@babel/helper-split-export-declaration" "^7.18.6" - "@babel/helper-validator-identifier" "^7.19.1" - "@babel/template" "^7.20.7" - "@babel/traverse" "^7.21.2" - "@babel/types" "^7.21.2" - -"@babel/helper-simple-access@^7.20.2": - version "7.20.2" - resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.20.2.tgz#0ab452687fe0c2cfb1e2b9e0015de07fc2d62dd9" - integrity sha512-+0woI/WPq59IrqDYbVGfshjT5Dmk/nnbdpcF8SnMhhXObpTq2KNBdLFRFrkVdbDOyUmHBCxzm5FHV1rACIkIbA== - dependencies: - "@babel/types" "^7.20.2" - -"@babel/helper-split-export-declaration@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.18.6.tgz#7367949bc75b20c6d5a5d4a97bba2824ae8ef075" - integrity sha512-bde1etTx6ZyTmobl9LLMMQsaizFVZrquTEHOqKeQESMKo4PlObf+8+JA25ZsIpZhT/WEd39+vOdLXAFG/nELpA== - dependencies: - "@babel/types" "^7.18.6" - -"@babel/helper-split-export-declaration@^7.22.6": - version "7.22.6" - resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz#322c61b7310c0997fe4c323955667f18fcefb91c" - integrity sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g== - dependencies: - "@babel/types" "^7.22.5" - -"@babel/helper-string-parser@^7.19.4": - version "7.19.4" - resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz#38d3acb654b4701a9b77fb0615a96f775c3a9e63" - integrity sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw== - -"@babel/helper-string-parser@^7.22.5": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz#533f36457a25814cf1df6488523ad547d784a99f" - integrity sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw== - -"@babel/helper-validator-identifier@^7.18.6", "@babel/helper-validator-identifier@^7.19.1": - version "7.19.1" - resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz#7eea834cf32901ffdc1a7ee555e2f9c27e249ca2" - integrity sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w== - -"@babel/helper-validator-identifier@^7.22.20": - version "7.22.20" - resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz#c4ae002c61d2879e724581d96665583dbc1dc0e0" - integrity sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A== - -"@babel/helper-validator-option@^7.21.0": - version "7.21.0" - resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.21.0.tgz#8224c7e13ace4bafdc4004da2cf064ef42673180" - integrity sha512-rmL/B8/f0mKS2baE9ZpyTcTavvEuWhTTW8amjzXNvYG4AwBsqTLikfXsEofsJEfKHf+HQVQbFOHy6o+4cnC/fQ== - -"@babel/helpers@^7.21.0": - version "7.21.0" - resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.21.0.tgz#9dd184fb5599862037917cdc9eecb84577dc4e7e" - integrity sha512-XXve0CBtOW0pd7MRzzmoyuSj0e3SEzj8pgyFxnTT1NJZL38BD1MK7yYrm8yefRPIDvNNe14xR4FdbHwpInD4rA== - dependencies: - "@babel/template" "^7.20.7" - "@babel/traverse" "^7.21.0" - "@babel/types" "^7.21.0" - -"@babel/highlight@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.18.6.tgz#81158601e93e2563795adcbfbdf5d64be3f2ecdf" - integrity sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g== - dependencies: - "@babel/helper-validator-identifier" "^7.18.6" - chalk "^2.0.0" - js-tokens "^4.0.0" +"@adobe/css-tools@^4.4.0": + version "4.4.4" + resolved "https://registry.npmjs.org/@adobe/css-tools/-/css-tools-4.4.4.tgz#2856c55443d3d461693f32d2b96fb6ea92e1ffa9" + integrity sha512-Elp+iwUx5rN5+Y8xLt5/GRoG20WGoDCQ/1Fb+1LiGtvwbDavuSk0jhD/eZdckHAuzcDzccnkv+rEjyWfRx18gg== + +"@ampproject/remapping@^2.3.0": + version "2.3.0" + resolved "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.3.0.tgz#ed441b6fa600072520ce18b43d2c8cc8caecc7f4" + integrity sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw== + dependencies: + "@jridgewell/gen-mapping" "^0.3.5" + "@jridgewell/trace-mapping" "^0.3.24" -"@babel/highlight@^7.22.13": - version "7.22.20" - resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.22.20.tgz#4ca92b71d80554b01427815e06f2df965b9c1f54" - integrity sha512-dkdMCN3py0+ksCgYmGG8jKeGA/8Tk+gJwSYYlFGxG5lmhfKNoAy004YpLxpS1W2J8m/EK2Ew+yOs9pVRwO89mg== +"@asamuzakjp/css-color@^3.2.0": + version "3.2.0" + resolved "https://registry.npmjs.org/@asamuzakjp/css-color/-/css-color-3.2.0.tgz#cc42f5b85c593f79f1fa4f25d2b9b321e61d1794" + integrity sha512-K1A6z8tS3XsmCMM86xoWdn7Fkdn9m6RSVtocUrJYIwZnFVkng/PvkEoWtOWmP+Scc6saYWHWZYbndEEXxl24jw== + dependencies: + "@csstools/css-calc" "^2.1.3" + "@csstools/css-color-parser" "^3.0.9" + "@csstools/css-parser-algorithms" "^3.0.4" + "@csstools/css-tokenizer" "^3.0.3" + lru-cache "^10.4.3" + +"@babel/code-frame@^7.10.4": + version "7.27.1" + resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.27.1.tgz#200f715e66d52a23b221a9435534a91cc13ad5be" + integrity sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg== dependencies: - "@babel/helper-validator-identifier" "^7.22.20" - chalk "^2.4.2" + "@babel/helper-validator-identifier" "^7.27.1" js-tokens "^4.0.0" + picocolors "^1.1.1" -"@babel/parser@^7.20.7", "@babel/parser@^7.21.4": - version "7.21.4" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.21.4.tgz#94003fdfc520bbe2875d4ae557b43ddb6d880f17" - integrity sha512-alVJj7k7zIxqBZ7BTRhz0IqJFxW1VJbm6N8JbcYhQ186df9ZBPbZBmWSqAMXwHGsCJdYks7z/voa3ibiS5bCIw== - -"@babel/parser@^7.22.15", "@babel/parser@^7.23.0": - version "7.23.0" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.23.0.tgz#da950e622420bf96ca0d0f2909cdddac3acd8719" - integrity sha512-vvPKKdMemU85V9WE/l5wZEmImpCtLqbnTvqDS2U1fJ96KrxoW7KrXhNsNCblQlg8Ck4b85yxdTyelsMUgFUXiw== - -"@babel/template@^7.20.7": - version "7.20.7" - resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.20.7.tgz#a15090c2839a83b02aa996c0b4994005841fd5a8" - integrity sha512-8SegXApWe6VoNw0r9JHpSteLKTpTiLZ4rMlGIm9JQ18KiCtyQiAMEazujAHrUS5flrcqYZa75ukev3P6QmUwUw== - dependencies: - "@babel/code-frame" "^7.18.6" - "@babel/parser" "^7.20.7" - "@babel/types" "^7.20.7" - -"@babel/template@^7.22.15": - version "7.22.15" - resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.22.15.tgz#09576efc3830f0430f4548ef971dde1350ef2f38" - integrity sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w== - dependencies: - "@babel/code-frame" "^7.22.13" - "@babel/parser" "^7.22.15" - "@babel/types" "^7.22.15" - -"@babel/traverse@^7.21.0", "@babel/traverse@^7.21.2", "@babel/traverse@^7.21.4": - version "7.23.2" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.23.2.tgz#329c7a06735e144a506bdb2cad0268b7f46f4ad8" - integrity sha512-azpe59SQ48qG6nu2CzcMLbxUudtN+dOM9kDbUqGq3HXUJRlo7i8fvPoxQUzYgLZ4cMVmuZgm8vvBpNeRhd6XSw== - dependencies: - "@babel/code-frame" "^7.22.13" - "@babel/generator" "^7.23.0" - "@babel/helper-environment-visitor" "^7.22.20" - "@babel/helper-function-name" "^7.23.0" - "@babel/helper-hoist-variables" "^7.22.5" - "@babel/helper-split-export-declaration" "^7.22.6" - "@babel/parser" "^7.23.0" - "@babel/types" "^7.23.0" - debug "^4.1.0" - globals "^11.1.0" - -"@babel/types@^7.18.6", "@babel/types@^7.20.2", "@babel/types@^7.20.7", "@babel/types@^7.21.0", "@babel/types@^7.21.2", "@babel/types@^7.21.4": - version "7.21.4" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.21.4.tgz#2d5d6bb7908699b3b416409ffd3b5daa25b030d4" - integrity sha512-rU2oY501qDxE8Pyo7i/Orqma4ziCOrby0/9mvbDUGEfvZjb279Nk9k19e2fiCxHbRRpY2ZyrgW1eq22mvmOIzA== - dependencies: - "@babel/helper-string-parser" "^7.19.4" - "@babel/helper-validator-identifier" "^7.19.1" - to-fast-properties "^2.0.0" - -"@babel/types@^7.22.15", "@babel/types@^7.22.5", "@babel/types@^7.23.0": - version "7.23.0" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.23.0.tgz#8c1f020c9df0e737e4e247c0619f58c68458aaeb" - integrity sha512-0oIyUfKoI3mSqMvsxBdclDwxXKXAUA8v/apZbc+iSyARYou1o8ZGDxbUYyLFoW2arqS2jDGqJuZvv1d/io1axg== - dependencies: - "@babel/helper-string-parser" "^7.22.5" - "@babel/helper-validator-identifier" "^7.22.20" - to-fast-properties "^2.0.0" - -"@colors/colors@1.5.0": - version "1.5.0" - resolved "https://registry.yarnpkg.com/@colors/colors/-/colors-1.5.0.tgz#bb504579c1cae923e6576a4f5da43d25f97bdbd9" - integrity sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ== +"@babel/helper-string-parser@^7.27.1": + version "7.27.1" + resolved "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz#54da796097ab19ce67ed9f88b47bb2ec49367687" + integrity sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA== + +"@babel/helper-validator-identifier@^7.27.1": + version "7.27.1" + resolved "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.27.1.tgz#a7054dcc145a967dd4dc8fee845a57c1316c9df8" + integrity sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow== + +"@babel/parser@^7.25.4": + version "7.28.0" + resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.28.0.tgz#979829fbab51a29e13901e5a80713dbcb840825e" + integrity sha512-jVZGvOxOuNSsuQuLRTh13nU0AogFlw32w/MT+LV6D3sP5WdbW61E77RnkbaO2dUvmPAYrBDJXGn5gGS6tH4j8g== + dependencies: + "@babel/types" "^7.28.0" + +"@babel/runtime@^7.12.5": + version "7.28.2" + resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.28.2.tgz#2ae5a9d51cc583bd1f5673b3bb70d6d819682473" + integrity sha512-KHp2IflsnGywDjBWDkR9iEqiWSpc8GIi0lgTT3mOElT0PP1tG26P4tmFI2YvAdzgq9RGyoHZQEIEdZy6Ec5xCA== + +"@babel/types@^7.25.4", "@babel/types@^7.28.0": + version "7.28.2" + resolved "https://registry.npmjs.org/@babel/types/-/types-7.28.2.tgz#da9db0856a9a88e0a13b019881d7513588cf712b" + integrity sha512-ruv7Ae4J5dUYULmeXw1gmb7rYRz57OWCPM57pHojnLq/3Z1CK2lNSLTCVjxVk1F/TZHwOZZrOWi0ur95BbLxNQ== + dependencies: + "@babel/helper-string-parser" "^7.27.1" + "@babel/helper-validator-identifier" "^7.27.1" + +"@bcoe/v8-coverage@^0.2.3": + version "0.2.3" + resolved "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" + integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== + +"@csstools/color-helpers@^5.0.2": + version "5.0.2" + resolved "https://registry.npmjs.org/@csstools/color-helpers/-/color-helpers-5.0.2.tgz#82592c9a7c2b83c293d9161894e2a6471feb97b8" + integrity sha512-JqWH1vsgdGcw2RR6VliXXdA0/59LttzlU8UlRT/iUUsEeWfYq8I+K0yhihEUTTHLRm1EXvpsCx3083EU15ecsA== + +"@csstools/css-calc@^2.1.3", "@csstools/css-calc@^2.1.4": + version "2.1.4" + resolved "https://registry.npmjs.org/@csstools/css-calc/-/css-calc-2.1.4.tgz#8473f63e2fcd6e459838dd412401d5948f224c65" + integrity sha512-3N8oaj+0juUw/1H3YwmDDJXCgTB1gKU6Hc/bB502u9zR0q2vd786XJH9QfrKIEgFlZmhZiq6epXl4rHqhzsIgQ== + +"@csstools/css-color-parser@^3.0.9": + version "3.0.10" + resolved "https://registry.npmjs.org/@csstools/css-color-parser/-/css-color-parser-3.0.10.tgz#79fc68864dd43c3b6782d2b3828bc0fa9d085c10" + integrity sha512-TiJ5Ajr6WRd1r8HSiwJvZBiJOqtH86aHpUjq5aEKWHiII2Qfjqd/HCWKPOW8EP4vcspXbHnXrwIDlu5savQipg== + dependencies: + "@csstools/color-helpers" "^5.0.2" + "@csstools/css-calc" "^2.1.4" + +"@csstools/css-parser-algorithms@^3.0.4": + version "3.0.5" + resolved "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-3.0.5.tgz#5755370a9a29abaec5515b43c8b3f2cf9c2e3076" + integrity sha512-DaDeUkXZKjdGhgYaHNJTV9pV7Y9B3b644jCLs9Upc3VeNGg6LWARAT6O+Q+/COo+2gg/bM5rhpMAtf70WqfBdQ== + +"@csstools/css-tokenizer@^3.0.3": + version "3.0.4" + resolved "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-3.0.4.tgz#333fedabc3fd1a8e5d0100013731cf19e6a8c5d3" + integrity sha512-Vd/9EVDiu6PPJt9yAh6roZP6El1xHrdvIVGjyBsHR0RYwNHgL7FJPyIIW4fANJNG6FtyZfvlRPpFI4ZM/lubvw== "@discoveryjs/json-ext@^0.5.0": version "0.5.7" resolved "https://registry.yarnpkg.com/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz#1d572bfbbe14b7704e0ba0f39b74815b84870d70" integrity sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw== +"@esbuild/aix-ppc64@0.21.5": + version "0.21.5" + resolved "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.21.5.tgz#c7184a326533fcdf1b8ee0733e21c713b975575f" + integrity sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ== + +"@esbuild/android-arm64@0.21.5": + version "0.21.5" + resolved "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.21.5.tgz#09d9b4357780da9ea3a7dfb833a1f1ff439b4052" + integrity sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A== + +"@esbuild/android-arm@0.21.5": + version "0.21.5" + resolved "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.21.5.tgz#9b04384fb771926dfa6d7ad04324ecb2ab9b2e28" + integrity sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg== + +"@esbuild/android-x64@0.21.5": + version "0.21.5" + resolved "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.21.5.tgz#29918ec2db754cedcb6c1b04de8cd6547af6461e" + integrity sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA== + +"@esbuild/darwin-arm64@0.21.5": + version "0.21.5" + resolved "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.21.5.tgz#e495b539660e51690f3928af50a76fb0a6ccff2a" + integrity sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ== + +"@esbuild/darwin-x64@0.21.5": + version "0.21.5" + resolved "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.21.5.tgz#c13838fa57372839abdddc91d71542ceea2e1e22" + integrity sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw== + +"@esbuild/freebsd-arm64@0.21.5": + version "0.21.5" + resolved "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.21.5.tgz#646b989aa20bf89fd071dd5dbfad69a3542e550e" + integrity sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g== + +"@esbuild/freebsd-x64@0.21.5": + version "0.21.5" + resolved "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.21.5.tgz#aa615cfc80af954d3458906e38ca22c18cf5c261" + integrity sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ== + +"@esbuild/linux-arm64@0.21.5": + version "0.21.5" + resolved "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.21.5.tgz#70ac6fa14f5cb7e1f7f887bcffb680ad09922b5b" + integrity sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q== + +"@esbuild/linux-arm@0.21.5": + version "0.21.5" + resolved "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.21.5.tgz#fc6fd11a8aca56c1f6f3894f2bea0479f8f626b9" + integrity sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA== + +"@esbuild/linux-ia32@0.21.5": + version "0.21.5" + resolved "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.21.5.tgz#3271f53b3f93e3d093d518d1649d6d68d346ede2" + integrity sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg== + +"@esbuild/linux-loong64@0.21.5": + version "0.21.5" + resolved "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.21.5.tgz#ed62e04238c57026aea831c5a130b73c0f9f26df" + integrity sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg== + +"@esbuild/linux-mips64el@0.21.5": + version "0.21.5" + resolved "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.21.5.tgz#e79b8eb48bf3b106fadec1ac8240fb97b4e64cbe" + integrity sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg== + +"@esbuild/linux-ppc64@0.21.5": + version "0.21.5" + resolved "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.21.5.tgz#5f2203860a143b9919d383ef7573521fb154c3e4" + integrity sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w== + +"@esbuild/linux-riscv64@0.21.5": + version "0.21.5" + resolved "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.21.5.tgz#07bcafd99322d5af62f618cb9e6a9b7f4bb825dc" + integrity sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA== + +"@esbuild/linux-s390x@0.21.5": + version "0.21.5" + resolved "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.21.5.tgz#b7ccf686751d6a3e44b8627ababc8be3ef62d8de" + integrity sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A== + +"@esbuild/linux-x64@0.21.5": + version "0.21.5" + resolved "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.21.5.tgz#6d8f0c768e070e64309af8004bb94e68ab2bb3b0" + integrity sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ== + +"@esbuild/netbsd-x64@0.21.5": + version "0.21.5" + resolved "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.21.5.tgz#bbe430f60d378ecb88decb219c602667387a6047" + integrity sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg== + +"@esbuild/openbsd-x64@0.21.5": + version "0.21.5" + resolved "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.21.5.tgz#99d1cf2937279560d2104821f5ccce220cb2af70" + integrity sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow== + +"@esbuild/sunos-x64@0.21.5": + version "0.21.5" + resolved "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.21.5.tgz#08741512c10d529566baba837b4fe052c8f3487b" + integrity sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg== + +"@esbuild/win32-arm64@0.21.5": + version "0.21.5" + resolved "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.21.5.tgz#675b7385398411240735016144ab2e99a60fc75d" + integrity sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A== + +"@esbuild/win32-ia32@0.21.5": + version "0.21.5" + resolved "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.21.5.tgz#1bfc3ce98aa6ca9a0969e4d2af72144c59c1193b" + integrity sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA== + +"@esbuild/win32-x64@0.21.5": + version "0.21.5" + resolved "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.21.5.tgz#acad351d582d157bb145535db2a6ff53dd514b5c" + integrity sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw== + "@eslint-community/eslint-utils@^4.2.0": version "4.4.0" resolved "https://registry.yarnpkg.com/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz#a23514e8fb9af1269d5f7788aa556798d61c6b59" @@ -335,20 +280,23 @@ resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz#b520529ec21d8e5945a1851dfd1c32e94e39ff45" integrity sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA== +"@isaacs/cliui@^8.0.2": + version "8.0.2" + resolved "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz#b37667b7bc181c168782259bab42474fbf52b550" + integrity sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA== + dependencies: + string-width "^5.1.2" + string-width-cjs "npm:string-width@^4.2.0" + strip-ansi "^7.0.1" + strip-ansi-cjs "npm:strip-ansi@^6.0.1" + wrap-ansi "^8.1.0" + wrap-ansi-cjs "npm:wrap-ansi@^7.0.0" + "@istanbuljs/schema@^0.1.2": version "0.1.3" resolved "https://registry.yarnpkg.com/@istanbuljs/schema/-/schema-0.1.3.tgz#e45e384e4b8ec16bce2fd903af78450f6bf7ec98" integrity sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA== -"@jridgewell/gen-mapping@^0.3.0", "@jridgewell/gen-mapping@^0.3.2": - version "0.3.3" - resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz#7e02e6eb5df901aaedb08514203b096614024098" - integrity sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ== - dependencies: - "@jridgewell/set-array" "^1.0.1" - "@jridgewell/sourcemap-codec" "^1.4.10" - "@jridgewell/trace-mapping" "^0.3.9" - "@jridgewell/gen-mapping@^0.3.5": version "0.3.5" resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz#dcce6aff74bdf6dad1a95802b69b04a2fcb1fb36" @@ -358,21 +306,11 @@ "@jridgewell/sourcemap-codec" "^1.4.10" "@jridgewell/trace-mapping" "^0.3.24" -"@jridgewell/resolve-uri@3.1.0": - version "3.1.0" - resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz#2203b118c157721addfe69d47b70465463066d78" - integrity sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w== - "@jridgewell/resolve-uri@^3.1.0": version "3.1.2" resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz#7a0ee601f60f99a20c7c7c5ff0c80388c1189bd6" integrity sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw== -"@jridgewell/set-array@^1.0.1": - version "1.1.2" - resolved "https://registry.yarnpkg.com/@jridgewell/set-array/-/set-array-1.1.2.tgz#7c6cf998d6d20b914c0a55a91ae928ff25965e72" - integrity sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw== - "@jridgewell/set-array@^1.2.1": version "1.2.1" resolved "https://registry.yarnpkg.com/@jridgewell/set-array/-/set-array-1.2.1.tgz#558fb6472ed16a4c850b889530e6b36438c49280" @@ -386,11 +324,6 @@ "@jridgewell/gen-mapping" "^0.3.5" "@jridgewell/trace-mapping" "^0.3.25" -"@jridgewell/sourcemap-codec@1.4.14": - version "1.4.14" - resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz#add4c98d341472a289190b424efbdb096991bb24" - integrity sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw== - "@jridgewell/sourcemap-codec@^1.4.10": version "1.4.15" resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz#d7c6e6755c78567a951e04ab52ef0fd26de59f32" @@ -401,13 +334,10 @@ resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz#3188bcb273a414b0d215fd22a58540b989b9409a" integrity sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ== -"@jridgewell/trace-mapping@^0.3.17", "@jridgewell/trace-mapping@^0.3.9": - version "0.3.18" - resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.18.tgz#25783b2086daf6ff1dcb53c9249ae480e4dd4cd6" - integrity sha512-w+niJYzMHdd7USdiH2U6869nqhD2nbfZXND5Yp93qIbEmnDNk7PD48o+YchRVpzMU7M6jVCbenTR7PA1FLQ9pA== - dependencies: - "@jridgewell/resolve-uri" "3.1.0" - "@jridgewell/sourcemap-codec" "1.4.14" +"@jridgewell/sourcemap-codec@^1.5.0": + version "1.5.5" + resolved "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz#6912b00d2c631c0d15ce1a7ab57cd657f2a8f8ba" + integrity sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og== "@jridgewell/trace-mapping@^0.3.20", "@jridgewell/trace-mapping@^0.3.24", "@jridgewell/trace-mapping@^0.3.25": version "0.3.25" @@ -417,6 +347,14 @@ "@jridgewell/resolve-uri" "^3.1.0" "@jridgewell/sourcemap-codec" "^1.4.14" +"@jridgewell/trace-mapping@^0.3.23": + version "0.3.30" + resolved "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.30.tgz#4a76c4daeee5df09f5d3940e087442fb36ce2b99" + integrity sha512-GQ7Nw5G2lTu/BtHTKfXhKHok2WGetd4XYcVKGx00SjAk8GMwgJM3zr6zORiPGuOE+/vkc90KtTosSSvaCjKb2Q== + dependencies: + "@jridgewell/resolve-uri" "^3.1.0" + "@jridgewell/sourcemap-codec" "^1.4.14" + "@nodelib/fs.scandir@2.1.5": version "2.1.5" resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5" @@ -438,6 +376,123 @@ "@nodelib/fs.scandir" "2.1.5" fastq "^1.6.0" +"@pkgjs/parseargs@^0.11.0": + version "0.11.0" + resolved "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33" + integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg== + +"@playwright/test@^1.48.2": + version "1.54.2" + resolved "https://registry.npmjs.org/@playwright/test/-/test-1.54.2.tgz#ff0d1e5d8e26f3258ae65364e2d4d10176926b07" + integrity sha512-A+znathYxPf+72riFd1r1ovOLqsIIB0jKIoPjyK2kqEIe30/6jF6BC7QNluHuwUmsD2tv1XZVugN8GqfTMOxsA== + dependencies: + playwright "1.54.2" + +"@polka/url@^1.0.0-next.24": + version "1.0.0-next.29" + resolved "https://registry.npmjs.org/@polka/url/-/url-1.0.0-next.29.tgz#5a40109a1ab5f84d6fd8fc928b19f367cbe7e7b1" + integrity sha512-wwQAWhWSuHaag8c4q/KN/vCoeOJYshAIvMQwD4GpSb3OiZklFfvAgmj0VCBBImRpuF/aFgIRzllXlVX93Jevww== + +"@rollup/rollup-android-arm-eabi@4.46.2": + version "4.46.2" + resolved "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.46.2.tgz#292e25953d4988d3bd1af0f5ebbd5ee4d65c90b4" + integrity sha512-Zj3Hl6sN34xJtMv7Anwb5Gu01yujyE/cLBDB2gnHTAHaWS1Z38L7kuSG+oAh0giZMqG060f/YBStXtMH6FvPMA== + +"@rollup/rollup-android-arm64@4.46.2": + version "4.46.2" + resolved "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.46.2.tgz#053b3def3451e6fc1a9078188f22799e868d7c59" + integrity sha512-nTeCWY83kN64oQ5MGz3CgtPx8NSOhC5lWtsjTs+8JAJNLcP3QbLCtDDgUKQc/Ro/frpMq4SHUaHN6AMltcEoLQ== + +"@rollup/rollup-darwin-arm64@4.46.2": + version "4.46.2" + resolved "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.46.2.tgz#98d90445282dec54fd05440305a5e8df79a91ece" + integrity sha512-HV7bW2Fb/F5KPdM/9bApunQh68YVDU8sO8BvcW9OngQVN3HHHkw99wFupuUJfGR9pYLLAjcAOA6iO+evsbBaPQ== + +"@rollup/rollup-darwin-x64@4.46.2": + version "4.46.2" + resolved "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.46.2.tgz#fe05f95a736423af5f9c3a59a70f41ece52a1f20" + integrity sha512-SSj8TlYV5nJixSsm/y3QXfhspSiLYP11zpfwp6G/YDXctf3Xkdnk4woJIF5VQe0of2OjzTt8EsxnJDCdHd2xMA== + +"@rollup/rollup-freebsd-arm64@4.46.2": + version "4.46.2" + resolved "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.46.2.tgz#41e1fbdc1f8c3dc9afb6bc1d6e3fb3104bd81eee" + integrity sha512-ZyrsG4TIT9xnOlLsSSi9w/X29tCbK1yegE49RYm3tu3wF1L/B6LVMqnEWyDB26d9Ecx9zrmXCiPmIabVuLmNSg== + +"@rollup/rollup-freebsd-x64@4.46.2": + version "4.46.2" + resolved "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.46.2.tgz#69131e69cb149d547abb65ef3b38fc746c940e24" + integrity sha512-pCgHFoOECwVCJ5GFq8+gR8SBKnMO+xe5UEqbemxBpCKYQddRQMgomv1104RnLSg7nNvgKy05sLsY51+OVRyiVw== + +"@rollup/rollup-linux-arm-gnueabihf@4.46.2": + version "4.46.2" + resolved "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.46.2.tgz#977ded91c7cf6fc0d9443bb9c0a064e45a805267" + integrity sha512-EtP8aquZ0xQg0ETFcxUbU71MZlHaw9MChwrQzatiE8U/bvi5uv/oChExXC4mWhjiqK7azGJBqU0tt5H123SzVA== + +"@rollup/rollup-linux-arm-musleabihf@4.46.2": + version "4.46.2" + resolved "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.46.2.tgz#dc034fc3c0f0eb5c75b6bc3eca3b0b97fd35f49a" + integrity sha512-qO7F7U3u1nfxYRPM8HqFtLd+raev2K137dsV08q/LRKRLEc7RsiDWihUnrINdsWQxPR9jqZ8DIIZ1zJJAm5PjQ== + +"@rollup/rollup-linux-arm64-gnu@4.46.2": + version "4.46.2" + resolved "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.46.2.tgz#5e92613768d3de3ffcabc965627dd0a59b3e7dfc" + integrity sha512-3dRaqLfcOXYsfvw5xMrxAk9Lb1f395gkoBYzSFcc/scgRFptRXL9DOaDpMiehf9CO8ZDRJW2z45b6fpU5nwjng== + +"@rollup/rollup-linux-arm64-musl@4.46.2": + version "4.46.2" + resolved "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.46.2.tgz#2a44f88e83d28b646591df6e50aa0a5a931833d8" + integrity sha512-fhHFTutA7SM+IrR6lIfiHskxmpmPTJUXpWIsBXpeEwNgZzZZSg/q4i6FU4J8qOGyJ0TR+wXBwx/L7Ho9z0+uDg== + +"@rollup/rollup-linux-loongarch64-gnu@4.46.2": + version "4.46.2" + resolved "https://registry.npmjs.org/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.46.2.tgz#bd5897e92db7fbf7dc456f61d90fff96c4651f2e" + integrity sha512-i7wfGFXu8x4+FRqPymzjD+Hyav8l95UIZ773j7J7zRYc3Xsxy2wIn4x+llpunexXe6laaO72iEjeeGyUFmjKeA== + +"@rollup/rollup-linux-ppc64-gnu@4.46.2": + version "4.46.2" + resolved "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.46.2.tgz#a7065025411c14ad9ec34cc1cd1414900ec2a303" + integrity sha512-B/l0dFcHVUnqcGZWKcWBSV2PF01YUt0Rvlurci5P+neqY/yMKchGU8ullZvIv5e8Y1C6wOn+U03mrDylP5q9Yw== + +"@rollup/rollup-linux-riscv64-gnu@4.46.2": + version "4.46.2" + resolved "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.46.2.tgz#17f9c0c675e13ef4567cfaa3730752417257ccc3" + integrity sha512-32k4ENb5ygtkMwPMucAb8MtV8olkPT03oiTxJbgkJa7lJ7dZMr0GCFJlyvy+K8iq7F/iuOr41ZdUHaOiqyR3iQ== + +"@rollup/rollup-linux-riscv64-musl@4.46.2": + version "4.46.2" + resolved "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.46.2.tgz#bc6ed3db2cedc1ba9c0a2183620fe2f792c3bf3f" + integrity sha512-t5B2loThlFEauloaQkZg9gxV05BYeITLvLkWOkRXogP4qHXLkWSbSHKM9S6H1schf/0YGP/qNKtiISlxvfmmZw== + +"@rollup/rollup-linux-s390x-gnu@4.46.2": + version "4.46.2" + resolved "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.46.2.tgz#440c4f6753274e2928e06d2a25613e5a1cf97b41" + integrity sha512-YKjekwTEKgbB7n17gmODSmJVUIvj8CX7q5442/CK80L8nqOUbMtf8b01QkG3jOqyr1rotrAnW6B/qiHwfcuWQA== + +"@rollup/rollup-linux-x64-gnu@4.46.2": + version "4.46.2" + resolved "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.46.2.tgz#1e936446f90b2574ea4a83b4842a762cc0a0aed3" + integrity sha512-Jj5a9RUoe5ra+MEyERkDKLwTXVu6s3aACP51nkfnK9wJTraCC8IMe3snOfALkrjTYd2G1ViE1hICj0fZ7ALBPA== + +"@rollup/rollup-linux-x64-musl@4.46.2": + version "4.46.2" + resolved "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.46.2.tgz#c6f304dfba1d5faf2be5d8b153ccbd8b5d6f1166" + integrity sha512-7kX69DIrBeD7yNp4A5b81izs8BqoZkCIaxQaOpumcJ1S/kmqNFjPhDu1LHeVXv0SexfHQv5cqHsxLOjETuqDuA== + +"@rollup/rollup-win32-arm64-msvc@4.46.2": + version "4.46.2" + resolved "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.46.2.tgz#b4ad4a79219892aac112ed1c9d1356cad0566ef5" + integrity sha512-wiJWMIpeaak/jsbaq2HMh/rzZxHVW1rU6coyeNNpMwk5isiPjSTx0a4YLSlYDwBH/WBvLz+EtsNqQScZTLJy3g== + +"@rollup/rollup-win32-ia32-msvc@4.46.2": + version "4.46.2" + resolved "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.46.2.tgz#b1b22eb2a9568048961e4a6f540438b4a762aa62" + integrity sha512-gBgaUDESVzMgWZhcyjfs9QFK16D8K6QZpwAaVNJxYDLHWayOta4ZMjGm/vsAEy3hvlS2GosVFlBlP9/Wb85DqQ== + +"@rollup/rollup-win32-x64-msvc@4.46.2": + version "4.46.2" + resolved "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.46.2.tgz#87079f137b5fdb75da11508419aa998cc8cc3d8b" + integrity sha512-CvUo2ixeIQGtF6WvuB87XWqPQkoFAFqW+HUo/WzHwuHDvIwZCtjdWXoYCcr06iKGydiqTclC4jU/TNObC/xKZg== + "@shikijs/engine-oniguruma@^3.9.2": version "3.9.2" resolved "https://registry.yarnpkg.com/@shikijs/engine-oniguruma/-/engine-oniguruma-3.9.2.tgz#f6e0e2d1b7211b98353de0753aaa6447ed57e5ab" @@ -473,10 +528,32 @@ resolved "https://registry.yarnpkg.com/@shikijs/vscode-textmate/-/vscode-textmate-10.0.2.tgz#a90ab31d0cc1dfb54c66a69e515bf624fa7b2224" integrity sha512-83yeghZ2xxin3Nj8z1NMd/NCuca+gsYXswywDy5bHvwlWL8tpTQmzGeUuHd9FC3E/SBEMvzJRwWEOz5gGes9Qg== -"@socket.io/component-emitter@~3.1.0": - version "3.1.0" - resolved "https://registry.yarnpkg.com/@socket.io/component-emitter/-/component-emitter-3.1.0.tgz#96116f2a912e0c02817345b3c10751069920d553" - integrity sha512-+9jVqKhRSpsc591z5vX+X5Yyw+he/HCB4iQ/RYxw35CEPaY1gnsNE43nf9n9AaYjAQrTiI/mOwKUKdUs9vf7Xg== +"@testing-library/dom@^10.4.0": + version "10.4.1" + resolved "https://registry.npmjs.org/@testing-library/dom/-/dom-10.4.1.tgz#d444f8a889e9a46e9a3b4f3b88e0fcb3efb6cf95" + integrity sha512-o4PXJQidqJl82ckFaXUeoAW+XysPLauYI43Abki5hABd853iMhitooc6znOnczgbTYmEP6U6/y1ZyKAIsvMKGg== + dependencies: + "@babel/code-frame" "^7.10.4" + "@babel/runtime" "^7.12.5" + "@types/aria-query" "^5.0.1" + aria-query "5.3.0" + dom-accessibility-api "^0.5.9" + lz-string "^1.5.0" + picocolors "1.1.1" + pretty-format "^27.0.2" + +"@testing-library/jest-dom@^6.4.8": + version "6.6.4" + resolved "https://registry.npmjs.org/@testing-library/jest-dom/-/jest-dom-6.6.4.tgz#577a1761768bda5458c42241add3b1570c34d39c" + integrity sha512-xDXgLjVunjHqczScfkCJ9iyjdNOVHvvCdqHSSxwM9L0l/wHkTRum67SDc020uAlCoqktJplgO2AAQeLP1wgqDQ== + dependencies: + "@adobe/css-tools" "^4.4.0" + aria-query "^5.0.0" + css.escape "^1.5.1" + dom-accessibility-api "^0.6.3" + lodash "^4.17.21" + picocolors "^1.1.1" + redent "^3.0.0" "@textlint/ast-node-types@^12.6.1": version "12.6.1" @@ -498,17 +575,15 @@ traverse "^0.6.7" unified "^9.2.2" -"@types/cookie@^0.4.1": - version "0.4.1" - resolved "https://registry.yarnpkg.com/@types/cookie/-/cookie-0.4.1.tgz#bfd02c1f2224567676c1545199f87c3a861d878d" - integrity sha512-XW/Aa8APYr6jSVVA1y/DEIZX0/GMKLEVekNG727R8cs56ahETkRAy/3DR7+fJyh7oUgGwNQaRfXCun0+KbWY7Q== +"@types/aria-query@^5.0.1": + version "5.0.4" + resolved "https://registry.npmjs.org/@types/aria-query/-/aria-query-5.0.4.tgz#1a31c3d378850d2778dabb6374d036dcba4ba708" + integrity sha512-rfT93uj5s0PRL7EzccGMs3brplhcrghnDoV26NqKhCAS1hVo+WdNsPvE/yb6ilfr5hi2MEk6d5EWJTKdxg8jVw== -"@types/cors@^2.8.12": - version "2.8.13" - resolved "https://registry.yarnpkg.com/@types/cors/-/cors-2.8.13.tgz#b8ade22ba455a1b8cb3b5d3f35910fd204f84f94" - integrity sha512-RG8AStHlUiV5ysZQKq97copd2UmVYw3/pRMLefISZ3S1hK104Cwm7iLQ3fTKx+lsUH2CE8FlLaYeEA2LSeqYUA== - dependencies: - "@types/node" "*" +"@types/estree@1.0.8", "@types/estree@^1.0.0": + version "1.0.8" + resolved "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz#958b91c991b1867ced318bedea0e215ee050726e" + integrity sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w== "@types/estree@^1.0.5": version "1.0.5" @@ -522,11 +597,6 @@ dependencies: "@types/unist" "*" -"@types/jasmine@^4.3.1": - version "4.3.1" - resolved "https://registry.yarnpkg.com/@types/jasmine/-/jasmine-4.3.1.tgz#2d8ab5601c2fe7d9673dcb157e03f128ab5c5fff" - integrity sha512-Vu8l+UGcshYmV1VWwULgnV/2RDbBaO6i2Ptx7nd//oJPIZGhoI1YLST4VKagD2Pq/Bc2/7zvtvhM7F3p4SN7kQ== - "@types/json-schema@^7.0.8", "@types/json-schema@^7.0.9": version "7.0.11" resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.11.tgz#d421b6c527a3037f7c84433fd2c4229e016863d3" @@ -539,7 +609,7 @@ dependencies: "@types/unist" "*" -"@types/node@*", "@types/node@>=10.0.0": +"@types/node@*": version "18.15.11" resolved "https://registry.yarnpkg.com/@types/node/-/node-18.15.11.tgz#b3b790f09cb1696cffcec605de025b088fa4225f" integrity sha512-E5Kwq2n4SbMzQOn6wnmBjuK9ouqlURrcZDVfbo9ftDDTFt3nk7ZKK4GMOzoYgnpQJKcxwQw+lGaBvvlMo0qN/Q== @@ -648,6 +718,96 @@ "@typescript-eslint/types" "5.58.0" eslint-visitor-keys "^3.3.0" +"@vitest/coverage-v8@^2.0.5": + version "2.1.9" + resolved "https://registry.npmjs.org/@vitest/coverage-v8/-/coverage-v8-2.1.9.tgz#060bebfe3705c1023bdc220e17fdea4bd9e2b24d" + integrity sha512-Z2cOr0ksM00MpEfyVE8KXIYPEcBFxdbLSs56L8PO0QQMxt/6bDj45uQfxoc96v05KW3clk7vvgP0qfDit9DmfQ== + dependencies: + "@ampproject/remapping" "^2.3.0" + "@bcoe/v8-coverage" "^0.2.3" + debug "^4.3.7" + istanbul-lib-coverage "^3.2.2" + istanbul-lib-report "^3.0.1" + istanbul-lib-source-maps "^5.0.6" + istanbul-reports "^3.1.7" + magic-string "^0.30.12" + magicast "^0.3.5" + std-env "^3.8.0" + test-exclude "^7.0.1" + tinyrainbow "^1.2.0" + +"@vitest/expect@2.1.9": + version "2.1.9" + resolved "https://registry.npmjs.org/@vitest/expect/-/expect-2.1.9.tgz#b566ea20d58ea6578d8dc37040d6c1a47ebe5ff8" + integrity sha512-UJCIkTBenHeKT1TTlKMJWy1laZewsRIzYighyYiJKZreqtdxSos/S1t+ktRMQWu2CKqaarrkeszJx1cgC5tGZw== + dependencies: + "@vitest/spy" "2.1.9" + "@vitest/utils" "2.1.9" + chai "^5.1.2" + tinyrainbow "^1.2.0" + +"@vitest/mocker@2.1.9": + version "2.1.9" + resolved "https://registry.npmjs.org/@vitest/mocker/-/mocker-2.1.9.tgz#36243b27351ca8f4d0bbc4ef91594ffd2dc25ef5" + integrity sha512-tVL6uJgoUdi6icpxmdrn5YNo3g3Dxv+IHJBr0GXHaEdTcw3F+cPKnsXFhli6nO+f/6SDKPHEK1UN+k+TQv0Ehg== + dependencies: + "@vitest/spy" "2.1.9" + estree-walker "^3.0.3" + magic-string "^0.30.12" + +"@vitest/pretty-format@2.1.9", "@vitest/pretty-format@^2.1.9": + version "2.1.9" + resolved "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-2.1.9.tgz#434ff2f7611689f9ce70cd7d567eceb883653fdf" + integrity sha512-KhRIdGV2U9HOUzxfiHmY8IFHTdqtOhIzCpd8WRdJiE7D/HUcZVD0EgQCVjm+Q9gkUXWgBvMmTtZgIG48wq7sOQ== + dependencies: + tinyrainbow "^1.2.0" + +"@vitest/runner@2.1.9": + version "2.1.9" + resolved "https://registry.npmjs.org/@vitest/runner/-/runner-2.1.9.tgz#cc18148d2d797fd1fd5908d1f1851d01459be2f6" + integrity sha512-ZXSSqTFIrzduD63btIfEyOmNcBmQvgOVsPNPe0jYtESiXkhd8u2erDLnMxmGrDCwHCCHE7hxwRDCT3pt0esT4g== + dependencies: + "@vitest/utils" "2.1.9" + pathe "^1.1.2" + +"@vitest/snapshot@2.1.9": + version "2.1.9" + resolved "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-2.1.9.tgz#24260b93f798afb102e2dcbd7e61c6dfa118df91" + integrity sha512-oBO82rEjsxLNJincVhLhaxxZdEtV0EFHMK5Kmx5sJ6H9L183dHECjiefOAdnqpIgT5eZwT04PoggUnW88vOBNQ== + dependencies: + "@vitest/pretty-format" "2.1.9" + magic-string "^0.30.12" + pathe "^1.1.2" + +"@vitest/spy@2.1.9": + version "2.1.9" + resolved "https://registry.npmjs.org/@vitest/spy/-/spy-2.1.9.tgz#cb28538c5039d09818b8bfa8edb4043c94727c60" + integrity sha512-E1B35FwzXXTs9FHNK6bDszs7mtydNi5MIfUWpceJ8Xbfb1gBMscAnwLbEu+B44ed6W3XjL9/ehLPHR1fkf1KLQ== + dependencies: + tinyspy "^3.0.2" + +"@vitest/ui@^2.0.5": + version "2.1.9" + resolved "https://registry.npmjs.org/@vitest/ui/-/ui-2.1.9.tgz#9e876cf3caf492dd6fddbd7f87b2d6bf7186a7a9" + integrity sha512-izzd2zmnk8Nl5ECYkW27328RbQ1nKvkm6Bb5DAaz1Gk59EbLkiCMa6OLT0NoaAYTjOFS6N+SMYW1nh4/9ljPiw== + dependencies: + "@vitest/utils" "2.1.9" + fflate "^0.8.2" + flatted "^3.3.1" + pathe "^1.1.2" + sirv "^3.0.0" + tinyglobby "^0.2.10" + tinyrainbow "^1.2.0" + +"@vitest/utils@2.1.9": + version "2.1.9" + resolved "https://registry.npmjs.org/@vitest/utils/-/utils-2.1.9.tgz#4f2486de8a54acf7ecbf2c5c24ad7994a680a6c1" + integrity sha512-v0psaMSkNJ3A2NMrUEHFRzJtDPFn+/VWZ5WxImB21T9fjucJRmS7xCS3ppEnARb9y11OAzaD+P2Ps+b+BGX5iQ== + dependencies: + "@vitest/pretty-format" "2.1.9" + loupe "^3.1.2" + tinyrainbow "^1.2.0" + "@webassemblyjs/ast@1.12.1", "@webassemblyjs/ast@^1.12.1": version "1.12.1" resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.12.1.tgz#bb16a0e8b1914f979f45864c23819cc3e3f0d4bb" @@ -817,12 +977,7 @@ acorn-jsx@^5.3.2: resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937" integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ== -acorn-walk@^8.0.2: - version "8.2.0" - resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.2.0.tgz#741210f2e2426454508853a2f44d0ab83b7f69c1" - integrity sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA== - -acorn@^8.1.0, acorn@^8.7.1, acorn@^8.8.0, acorn@^8.8.2: +acorn@^8.7.1, acorn@^8.8.0, acorn@^8.8.2: version "8.12.1" resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.12.1.tgz#71616bdccbe25e27a54439e0046e89ca76df2248" integrity sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg== @@ -839,6 +994,11 @@ agent-base@^4.3.0: dependencies: es6-promisify "^5.0.0" +agent-base@^7.1.0, agent-base@^7.1.2: + version "7.1.4" + resolved "https://registry.npmjs.org/agent-base/-/agent-base-7.1.4.tgz#e3cd76d4c548ee895d3c3fd8dc1f6c5b9032e7a8" + integrity sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ== + ajv-keywords@^3.5.2: version "3.5.2" resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-3.5.2.tgz#31f29da5ab6e00d1c2d329acf7b5929614d5014d" @@ -876,18 +1036,16 @@ ansi-regex@^5.0.1: resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304" integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== +ansi-regex@^6.0.1: + version "6.1.0" + resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz#95ec409c69619d6cb1b8b34f14b660ef28ebd654" + integrity sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA== + ansi-styles@^2.2.1: version "2.2.1" resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" integrity sha512-kmCevFghRiWM7HB5zTPULl4r9bVFSWjz62MhqizDGUrq2NWuNMQyuv4tHHoKJHs69M/MF64lEcHdYIocrdWQYA== -ansi-styles@^3.2.1: - version "3.2.1" - resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" - integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== - dependencies: - color-convert "^1.9.0" - ansi-styles@^4.0.0, ansi-styles@^4.1.0: version "4.3.0" resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937" @@ -895,6 +1053,16 @@ ansi-styles@^4.0.0, ansi-styles@^4.1.0: dependencies: color-convert "^2.0.1" +ansi-styles@^5.0.0: + version "5.2.0" + resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz#07449690ad45777d1924ac2abb2fc8895dba836b" + integrity sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA== + +ansi-styles@^6.1.0: + version "6.2.1" + resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz#0e62320cf99c21afff3b3012192546aacbfb05c5" + integrity sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug== + anymatch@~3.1.2: version "3.1.3" resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.3.tgz#790c58b19ba1720a84205b57c618d5ad8524973e" @@ -915,6 +1083,18 @@ argparse@^2.0.1: resolved "https://registry.yarnpkg.com/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38" integrity sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q== +aria-query@5.3.0: + version "5.3.0" + resolved "https://registry.npmjs.org/aria-query/-/aria-query-5.3.0.tgz#650c569e41ad90b51b3d7df5e5eed1c7549c103e" + integrity sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A== + dependencies: + dequal "^2.0.3" + +aria-query@^5.0.0: + version "5.3.2" + resolved "https://registry.npmjs.org/aria-query/-/aria-query-5.3.2.tgz#93f81a43480e33a338f19163a3d10a50c01dcd59" + integrity sha512-COROpnaoap1E2F000S62r6A60uHZnmlvomhfyT2DlTcrY1OrBKn2UhH7qn5wTC9zMvD0AY7csdPSNwKP+7WiQw== + array-each@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/array-each/-/array-each-1.0.1.tgz#a794af0c05ab1752846ee753a1f211a05ba0c44f" @@ -947,16 +1127,6 @@ arrify@^1.0.0: resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d" integrity sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA== -asn1.js@^5.2.0: - version "5.4.1" - resolved "https://registry.yarnpkg.com/asn1.js/-/asn1.js-5.4.1.tgz#11a980b84ebb91781ce35b0fdc2ee294e3783f07" - integrity sha512-+I//4cYPccV8LdmBLiX8CYvf9Sp3vQsrqu2QNXRcrbiWvcx/UdlFiqUJJzxRQxgsZmvhXhn4cSKeSmoFjVdupA== - dependencies: - bn.js "^4.0.0" - inherits "^2.0.1" - minimalistic-assert "^1.0.0" - safer-buffer "^2.1.0" - asn1@~0.2.3: version "0.2.6" resolved "https://registry.yarnpkg.com/asn1/-/asn1-0.2.6.tgz#0d3a7bb6e64e02a90c0303b31f292868ea09a08d" @@ -976,15 +1146,10 @@ assert@1.4.1: dependencies: util "0.10.3" -assert@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/assert/-/assert-2.0.0.tgz#95fc1c616d48713510680f2eaf2d10dd22e02d32" - integrity sha512-se5Cd+js9dXJnu6Ag2JFc00t+HmHOen+8Q+L7O9zI0PqQXr20uk2J0XQqMxZEeo5U50o8Nvmmx7dZrl+Ufr35A== - dependencies: - es6-object-assign "^1.1.0" - is-nan "^1.2.1" - object-is "^1.0.1" - util "^0.12.0" +assertion-error@^2.0.1: + version "2.0.1" + resolved "https://registry.npmjs.org/assertion-error/-/assertion-error-2.0.1.tgz#f641a196b335690b1070bf00b6e7593fec190bf7" + integrity sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA== async-limiter@~1.0.0: version "1.0.1" @@ -998,7 +1163,7 @@ async@^2.6.0: dependencies: lodash "^4.17.14" -async@^3.0.1, async@^3.2.0, async@~3.2.0: +async@^3.2.0, async@~3.2.0: version "3.2.4" resolved "https://registry.yarnpkg.com/async/-/async-3.2.4.tgz#2d22e00f8cddeb5fde5dd33522b56d1cf569a81c" integrity sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ== @@ -1008,18 +1173,6 @@ asynckit@^0.4.0: resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q== -available-typed-arrays@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz#92f95616501069d07d10edb2fc37d3e1c65123b7" - integrity sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw== - -available-typed-arrays@^1.0.7: - version "1.0.7" - resolved "https://registry.yarnpkg.com/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz#a5cc375d6a03c2efc87a553f3e0b1522def14846" - integrity sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ== - dependencies: - possible-typed-array-names "^1.0.0" - aws-sign2@~0.7.0: version "0.7.0" resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.7.0.tgz#b46e890934a9591f2d2f6f86d7e6a9f1b3fe76a8" @@ -1040,16 +1193,6 @@ balanced-match@^1.0.0: resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== -base64-js@^1.3.1: - version "1.5.1" - resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" - integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== - -base64id@2.0.0, base64id@~2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/base64id/-/base64id-2.0.0.tgz#2770ac6bc47d312af97a8bf9a634342e0cd25cb6" - integrity sha512-lGe34o6EHj9y3Kts9R4ZYs/Gr+6N7MCaMlIFA3F1R2O5/m7K06AxfSeO5530PEERE6/WyEg3lsuyw4GHlPZHog== - basic-auth@~2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/basic-auth/-/basic-auth-2.0.1.tgz#b998279bf47ce38344b4f3cf916d4679bbf51e3a" @@ -1081,34 +1224,6 @@ blocking-proxy@^1.0.0: dependencies: minimist "^1.2.0" -bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.11.9: - version "4.12.0" - resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88" - integrity sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA== - -bn.js@^5.0.0, bn.js@^5.2.1: - version "5.2.1" - resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-5.2.1.tgz#0bc527a6a0d18d0aa8d5b0538ce4a77dccfa7b70" - integrity sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ== - -body-parser@^1.19.0: - version "1.20.3" - resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.20.3.tgz#1953431221c6fb5cd63c4b36d53fab0928e548c6" - integrity sha512-7rAxByjUMqQ3/bHJy7D6OGXvx/MMc4IqBn/X0fcM1QUcAItpZrBEYhWGem+tzXH90c+G01ypMcYJBO9Y30203g== - dependencies: - bytes "3.1.2" - content-type "~1.0.5" - debug "2.6.9" - depd "2.0.0" - destroy "1.2.0" - http-errors "2.0.0" - iconv-lite "0.4.24" - on-finished "2.4.1" - qs "6.13.0" - raw-body "2.5.2" - type-is "~1.6.18" - unpipe "1.0.0" - body@^5.1.0: version "5.1.0" resolved "https://registry.yarnpkg.com/body/-/body-5.1.0.tgz#e4ba0ce410a46936323367609ecb4e6553125069" @@ -1134,87 +1249,14 @@ brace-expansion@^2.0.1: dependencies: balanced-match "^1.0.0" -braces@^3.0.2, braces@^3.0.3, braces@~3.0.2: +braces@^3.0.3, braces@~3.0.2: version "3.0.3" resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.3.tgz#490332f40919452272d55a8480adc0c441358789" integrity sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA== dependencies: fill-range "^7.1.1" -brorand@^1.0.1, brorand@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" - integrity sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w== - -browser-resolve@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/browser-resolve/-/browser-resolve-2.0.0.tgz#99b7304cb392f8d73dba741bb2d7da28c6d7842b" - integrity sha512-7sWsQlYL2rGLy2IWm8WL8DCTJvYLc/qlOnsakDac87SOoCd16WLsaAMdCiAqsTNHIe+SXfaqyxyo6THoWqs8WQ== - dependencies: - resolve "^1.17.0" - -browserify-aes@^1.0.0, browserify-aes@^1.0.4: - version "1.2.0" - resolved "https://registry.yarnpkg.com/browserify-aes/-/browserify-aes-1.2.0.tgz#326734642f403dabc3003209853bb70ad428ef48" - integrity sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA== - dependencies: - buffer-xor "^1.0.3" - cipher-base "^1.0.0" - create-hash "^1.1.0" - evp_bytestokey "^1.0.3" - inherits "^2.0.1" - safe-buffer "^5.0.1" - -browserify-cipher@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/browserify-cipher/-/browserify-cipher-1.0.1.tgz#8d6474c1b870bfdabcd3bcfcc1934a10e94f15f0" - integrity sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w== - dependencies: - browserify-aes "^1.0.4" - browserify-des "^1.0.0" - evp_bytestokey "^1.0.0" - -browserify-des@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/browserify-des/-/browserify-des-1.0.2.tgz#3af4f1f59839403572f1c66204375f7a7f703e9c" - integrity sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A== - dependencies: - cipher-base "^1.0.1" - des.js "^1.0.0" - inherits "^2.0.1" - safe-buffer "^5.1.2" - -browserify-rsa@^4.0.0, browserify-rsa@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/browserify-rsa/-/browserify-rsa-4.1.0.tgz#b2fd06b5b75ae297f7ce2dc651f918f5be158c8d" - integrity sha512-AdEER0Hkspgno2aR97SAf6vi0y0k8NuOpGnVH3O99rcA5Q6sh8QxcngtHuJ6uXwnfAXNM4Gn1Gb7/MV1+Ymbog== - dependencies: - bn.js "^5.0.0" - randombytes "^2.0.1" - -browserify-sign@^4.0.0: - version "4.2.2" - resolved "https://registry.yarnpkg.com/browserify-sign/-/browserify-sign-4.2.2.tgz#e78d4b69816d6e3dd1c747e64e9947f9ad79bc7e" - integrity sha512-1rudGyeYY42Dk6texmv7c4VcQ0EsvVbLwZkA+AQB7SxvXxmcD93jcHie8bzecJ+ChDlmAm2Qyu0+Ccg5uhZXCg== - dependencies: - bn.js "^5.2.1" - browserify-rsa "^4.1.0" - create-hash "^1.2.0" - create-hmac "^1.1.7" - elliptic "^6.5.4" - inherits "^2.0.4" - parse-asn1 "^5.1.6" - readable-stream "^3.6.2" - safe-buffer "^5.2.1" - -browserify-zlib@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/browserify-zlib/-/browserify-zlib-0.2.0.tgz#2869459d9aa3be245fe8fe2ca1f46e2e7f54d73f" - integrity sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA== - dependencies: - pako "~1.0.5" - -browserslist@^4.21.10, browserslist@^4.21.3: +browserslist@^4.21.10: version "4.23.3" resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.23.3.tgz#debb029d3c93ebc97ffbc8d9cbb03403e227c800" integrity sha512-btwCFJVjI4YWDNfau8RhZ+B1Q/VLoUITrm3RlP6y1tYGWIOa+InuYiRGXUBXo8nA1qKmHMyLB/iVQg5TT4eFoA== @@ -1236,35 +1278,17 @@ buffer-from@^1.0.0: resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== -buffer-xor@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/buffer-xor/-/buffer-xor-1.0.3.tgz#26e61ed1422fb70dd42e6e36729ed51d855fe8d9" - integrity sha512-571s0T7nZWK6vB67HI5dyUF7wXiNcfaPPPTl6zYCNApANjIvYJTg7hlud/+cJpdAhS7dVzqMLmfhfHR3rAcOjQ== - -buffer@^5.4.3: - version "5.7.1" - resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.7.1.tgz#ba62e7c13133053582197160851a8f648e99eed0" - integrity sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ== - dependencies: - base64-js "^1.3.1" - ieee754 "^1.1.13" - -builtin-status-codes@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz#85982878e21b98e1c66425e03d0174788f569ee8" - integrity sha512-HpGFw18DgFWlncDfjTa2rcQ4W88O1mC8e8yZ2AvQY5KDaktSTwo+KRf6nHK6FRI5FyRyb/5T6+TSxfP7QyGsmQ== - bytes@1: version "1.0.0" resolved "https://registry.yarnpkg.com/bytes/-/bytes-1.0.0.tgz#3569ede8ba34315fab99c3e92cb04c7220de1fa8" integrity sha512-/x68VkHLeTl3/Ll8IvxdwzhrT+IyKc52e/oyHhA2RwqPqswSnjVbSddfPRwAsJtbilMAPSRWwAlpxdYsSWOTKQ== -bytes@3.1.2: - version "3.1.2" - resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.2.tgz#8b0beeb98605adf1b128fa4386403c009e0221a5" - integrity sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg== +cac@^6.7.14: + version "6.7.14" + resolved "https://registry.npmjs.org/cac/-/cac-6.7.14.tgz#804e1e6f506ee363cb0e3ccbb09cad5dd9870959" + integrity sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ== -call-bind-apply-helpers@^1.0.0, call-bind-apply-helpers@^1.0.1, call-bind-apply-helpers@^1.0.2: +call-bind-apply-helpers@^1.0.1, call-bind-apply-helpers@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz#4b5428c222be985d79c3d82657479dbe0b59b2d6" integrity sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ== @@ -1272,7 +1296,7 @@ call-bind-apply-helpers@^1.0.0, call-bind-apply-helpers@^1.0.1, call-bind-apply- es-errors "^1.3.0" function-bind "^1.1.2" -call-bind@^1.0.0, call-bind@^1.0.2: +call-bind@^1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.2.tgz#b1d4e89e688119c3c9a903ad30abb2f6a919be3c" integrity sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA== @@ -1280,35 +1304,6 @@ call-bind@^1.0.0, call-bind@^1.0.2: function-bind "^1.1.1" get-intrinsic "^1.0.2" -call-bind@^1.0.7: - version "1.0.7" - resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.7.tgz#06016599c40c56498c18769d2730be242b6fa3b9" - integrity sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w== - dependencies: - es-define-property "^1.0.0" - es-errors "^1.3.0" - function-bind "^1.1.2" - get-intrinsic "^1.2.4" - set-function-length "^1.2.1" - -call-bind@^1.0.8: - version "1.0.8" - resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.8.tgz#0736a9660f537e3388826f440d5ec45f744eaa4c" - integrity sha512-oKlSFMcMwpUg2ednkhQ454wfWiU/ul3CkJe/PEHcTKuiX6RpbehUiFMXu13HalGZxfUwCQzZG747YXBn1im9ww== - dependencies: - call-bind-apply-helpers "^1.0.0" - es-define-property "^1.0.0" - get-intrinsic "^1.2.4" - set-function-length "^1.2.2" - -call-bound@^1.0.3, call-bound@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/call-bound/-/call-bound-1.0.4.tgz#238de935d2a2a692928c538c7ccfa91067fd062a" - integrity sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg== - dependencies: - call-bind-apply-helpers "^1.0.2" - get-intrinsic "^1.3.0" - callsites@^3.0.0: version "3.1.0" resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" @@ -1334,6 +1329,17 @@ ccount@^1.0.0: resolved "https://registry.yarnpkg.com/ccount/-/ccount-1.1.0.tgz#246687debb6014735131be8abab2d93898f8d043" integrity sha512-vlNK021QdI7PNeiUh/lKkC/mNHHfV0m/Ad5JoI0TYtlBnJAslM/JIkm/tGC88bkLIwO6OQ5uV6ztS6kVAtCDlg== +chai@^5.1.2: + version "5.2.1" + resolved "https://registry.npmjs.org/chai/-/chai-5.2.1.tgz#a9502462bdc79cf90b4a0953537a9908aa638b47" + integrity sha512-5nFxhUrX0PqtyogoYOA8IPswy5sZFTOsBFl/9bNsmDLgsxYTzSZQJDPppDnZPTQbzSEm0hqGjWPzRemQCYbD6A== + dependencies: + assertion-error "^2.0.1" + check-error "^2.1.1" + deep-eql "^5.0.1" + loupe "^3.1.0" + pathval "^2.0.0" + chalk@^1.1.1, chalk@^1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" @@ -1345,15 +1351,6 @@ chalk@^1.1.1, chalk@^1.1.3: strip-ansi "^3.0.0" supports-color "^2.0.0" -chalk@^2.0.0, chalk@^2.4.2: - version "2.4.2" - resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" - integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== - dependencies: - ansi-styles "^3.2.1" - escape-string-regexp "^1.0.5" - supports-color "^5.3.0" - chalk@^4.0.0, chalk@^4.1.0, chalk@^4.1.2, chalk@~4.1.0: version "4.1.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01" @@ -1377,7 +1374,12 @@ character-reference-invalid@^1.0.0: resolved "https://registry.yarnpkg.com/character-reference-invalid/-/character-reference-invalid-1.1.4.tgz#083329cda0eae272ab3dbbf37e9a382c13af1560" integrity sha512-mKKUkUbhPpQlCOfIuZkvSEgktjPFIsZKRRbC6KWVEMvlzblj3i3asQv5ODsrwt0N3pHAEvjP8KTQPHkp0+6jOg== -"chokidar@>=3.0.0 <4.0.0", chokidar@^3.5.1: +check-error@^2.1.1: + version "2.1.1" + resolved "https://registry.npmjs.org/check-error/-/check-error-2.1.1.tgz#87eb876ae71ee388fa0471fe423f494be1d96ccc" + integrity sha512-OAlb+T7V4Op9OwdkjmguYRqncdlx5JiofwOAUkmTF+jNdHwzTaTs4sRAGpzLF3oOz5xAyDGrPgeIDFQmDOTiJw== + +"chokidar@>=3.0.0 <4.0.0": version "3.5.3" resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.3.tgz#1cf37c8707b932bd1af1ae22c0432e2acd1903bd" integrity sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw== @@ -1397,14 +1399,6 @@ chrome-trace-event@^1.0.2: resolved "https://registry.yarnpkg.com/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz#1015eced4741e15d06664a957dbbf50d041e26ac" integrity sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg== -cipher-base@^1.0.0, cipher-base@^1.0.1, cipher-base@^1.0.3: - version "1.0.4" - resolved "https://registry.yarnpkg.com/cipher-base/-/cipher-base-1.0.4.tgz#8760e4ecc272f4c363532f926d874aae2c1397de" - integrity sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q== - dependencies: - inherits "^2.0.1" - safe-buffer "^5.0.1" - clean-css@^5.0.1: version "5.3.2" resolved "https://registry.yarnpkg.com/clean-css/-/clean-css-5.3.2.tgz#70ecc7d4d4114921f5d298349ff86a31a9975224" @@ -1430,15 +1424,6 @@ cliui@^6.0.0: strip-ansi "^6.0.0" wrap-ansi "^6.2.0" -cliui@^7.0.2: - version "7.0.4" - resolved "https://registry.yarnpkg.com/cliui/-/cliui-7.0.4.tgz#a0265ee655476fc807aea9df3df8df7783808b4f" - integrity sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ== - dependencies: - string-width "^4.2.0" - strip-ansi "^6.0.0" - wrap-ansi "^7.0.0" - clone-deep@^4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/clone-deep/-/clone-deep-4.0.1.tgz#c19fd9bdbbf85942b4fd979c84dcf7d5f07c2387" @@ -1448,23 +1433,11 @@ clone-deep@^4.0.1: kind-of "^6.0.2" shallow-clone "^3.0.0" -clone@^1.0.2: - version "1.0.4" - resolved "https://registry.yarnpkg.com/clone/-/clone-1.0.4.tgz#da309cc263df15994c688ca902179ca3c7cd7c7e" - integrity sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg== - code-point-at@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" integrity sha512-RpAVKQA5T63xEj6/giIbUEtZwJ4UFIc3ZtvEkiaUERylqe8xb5IvqcgOurZLahv93CLKfxcw5YI+DZcUBRyLXA== -color-convert@^1.9.0: - version "1.9.3" - resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" - integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg== - dependencies: - color-name "1.1.3" - color-convert@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3" @@ -1472,11 +1445,6 @@ color-convert@^2.0.1: dependencies: color-name "~1.1.4" -color-name@1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" - integrity sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw== - color-name@~1.1.4: version "1.1.4" resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" @@ -1492,17 +1460,7 @@ colors@~1.1.2: resolved "https://registry.yarnpkg.com/colors/-/colors-1.1.2.tgz#168a4701756b6a7f51a12ce0c97bfa28c084ed63" integrity sha512-ENwblkFQpqqia6b++zLD/KUWafYlVY/UNnAp7oz7LY7E924wmpye416wBOmvv/HMWzl8gL1kJlfvId/1Dg176w== -combine-source-map@^0.8.0: - version "0.8.0" - resolved "https://registry.yarnpkg.com/combine-source-map/-/combine-source-map-0.8.0.tgz#a58d0df042c186fcf822a8e8015f5450d2d79a8b" - integrity sha512-UlxQ9Vw0b/Bt/KYwCFqdEwsQ1eL8d1gibiFb7lxQJFdvTgc2hIZi6ugsg+kyhzhPV+QEpUiEIwInIAIrgoEkrg== - dependencies: - convert-source-map "~1.1.0" - inline-source-map "~0.6.0" - lodash.memoize "~3.0.3" - source-map "~0.5.3" - -combined-stream@^1.0.6, combined-stream@~1.0.6: +combined-stream@^1.0.6, combined-stream@^1.0.8, combined-stream@~1.0.6: version "1.0.8" resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f" integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg== @@ -1539,41 +1497,11 @@ connect@^3.7.0: parseurl "~1.3.3" utils-merge "1.0.1" -console-browserify@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/console-browserify/-/console-browserify-1.2.0.tgz#67063cef57ceb6cf4993a2ab3a55840ae8c49336" - integrity sha512-ZMkYO/LkF17QvCPqM0gxw8yUzigAOZOSWSHg91FH6orS7vcEj5dVZTidN2fQ14yBSdg97RqhSNwLUXInd52OTA== - -constants-browserify@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/constants-browserify/-/constants-browserify-1.0.0.tgz#c20b96d8c617748aaf1c16021760cd27fcb8cb75" - integrity sha512-xFxOwqIzR/e1k1gLiWEophSCMqXcwVHIH7akf7b/vxcUeGunlj3hvZaaqxwHsTgn+IndtkQJgSztIDWeumWJDQ== - -content-type@~1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.5.tgz#8b773162656d1d1086784c8f23a54ce6d73d7918" - integrity sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA== - continuable-cache@^0.3.1: version "0.3.1" resolved "https://registry.yarnpkg.com/continuable-cache/-/continuable-cache-0.3.1.tgz#bd727a7faed77e71ff3985ac93351a912733ad0f" integrity sha512-TF30kpKhTH8AGCG3dut0rdd/19B7Z+qCnrMoBLpyQu/2drZdNrrpcjPEoJeSVsQM+8KmWG5O56oPDjSSUsuTyA== -convert-source-map@^1.7.0: - version "1.9.0" - resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.9.0.tgz#7faae62353fb4213366d0ca98358d22e8368b05f" - integrity sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A== - -convert-source-map@~1.1.0: - version "1.1.3" - resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.1.3.tgz#4829c877e9fe49b3161f3bf3673888e204699860" - integrity sha512-Y8L5rp6jo+g9VEPgvqNfEopjTR4OTYct8lXlS8iVQdmnjDvbdbzYe9rjtFCB9egC86JoNCU61WRY+ScjkZpnIg== - -cookie@~0.4.1: - version "0.4.2" - resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.4.2.tgz#0e41f24de5ecf317947c82fc789e06a884824432" - integrity sha512-aSWTXFzaKWkvHO1Ny/s+ePFpvKsPnjc551iI41v3ny/ow6tBG5Vd+FuqGNhh1LxOmVzOlGUriIlOaokOvhaStA== - core-js@^3.30.1: version "3.30.1" resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.30.1.tgz#fc9c5adcc541d8e9fa3e381179433cbf795628ba" @@ -1589,14 +1517,6 @@ core-util-is@~1.0.0: resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.3.tgz#a6042d3634c2b27e9328f837b965fac83808db85" integrity sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ== -cors@~2.8.5: - version "2.8.5" - resolved "https://registry.yarnpkg.com/cors/-/cors-2.8.5.tgz#eac11da51592dd86b9f06f6e7ac293b3df875d29" - integrity sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g== - dependencies: - object-assign "^4" - vary "^1" - coveralls@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/coveralls/-/coveralls-3.1.1.tgz#f5d4431d8b5ae69c5079c8f8ca00d64ac77cf081" @@ -1608,47 +1528,6 @@ coveralls@^3.1.1: minimist "^1.2.5" request "^2.88.2" -create-ecdh@^4.0.0: - version "4.0.4" - resolved "https://registry.yarnpkg.com/create-ecdh/-/create-ecdh-4.0.4.tgz#d6e7f4bffa66736085a0762fd3a632684dabcc4e" - integrity sha512-mf+TCx8wWc9VpuxfP2ht0iSISLZnt0JgWlrOKZiNqyUZWnjIaCIVNQArMHnCZKfEYRg6IM7A+NeJoN8gf/Ws0A== - dependencies: - bn.js "^4.1.0" - elliptic "^6.5.3" - -create-hash@^1.1.0, create-hash@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/create-hash/-/create-hash-1.2.0.tgz#889078af11a63756bcfb59bd221996be3a9ef196" - integrity sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg== - dependencies: - cipher-base "^1.0.1" - inherits "^2.0.1" - md5.js "^1.3.4" - ripemd160 "^2.0.1" - sha.js "^2.4.0" - -create-hash@~1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/create-hash/-/create-hash-1.1.3.tgz#606042ac8b9262750f483caddab0f5819172d8fd" - integrity sha512-snRpch/kwQhcdlnZKYanNF1m0RDlrCdSKQaH87w1FCFPVPNCQ/Il9QJKAX2jVBZddRdaHBMC+zXa9Gw9tmkNUA== - dependencies: - cipher-base "^1.0.1" - inherits "^2.0.1" - ripemd160 "^2.0.0" - sha.js "^2.4.0" - -create-hmac@^1.1.0, create-hmac@^1.1.7: - version "1.1.7" - resolved "https://registry.yarnpkg.com/create-hmac/-/create-hmac-1.1.7.tgz#69170c78b3ab957147b2b8b04572e47ead2243ff" - integrity sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg== - dependencies: - cipher-base "^1.0.3" - create-hash "^1.1.0" - inherits "^2.0.1" - ripemd160 "^2.0.0" - safe-buffer "^5.0.1" - sha.js "^2.4.8" - cross-spawn@^6.0.0: version "6.0.5" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4" @@ -1669,27 +1548,27 @@ cross-spawn@^7.0.2, cross-spawn@^7.0.3: shebang-command "^2.0.0" which "^2.0.1" -crypto-browserify@^3.12.0: - version "3.12.0" - resolved "https://registry.yarnpkg.com/crypto-browserify/-/crypto-browserify-3.12.0.tgz#396cf9f3137f03e4b8e532c58f698254e00f80ec" - integrity sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg== - dependencies: - browserify-cipher "^1.0.0" - browserify-sign "^4.0.0" - create-ecdh "^4.0.0" - create-hash "^1.1.0" - create-hmac "^1.1.0" - diffie-hellman "^5.0.0" - inherits "^2.0.1" - pbkdf2 "^3.0.3" - public-encrypt "^4.0.0" - randombytes "^2.0.0" - randomfill "^1.0.3" +cross-spawn@^7.0.6: + version "7.0.6" + resolved "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz#8a58fe78f00dcd70c370451759dfbfaf03e8ee9f" + integrity sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA== + dependencies: + path-key "^3.1.0" + shebang-command "^2.0.0" + which "^2.0.1" -custom-event@~1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/custom-event/-/custom-event-1.0.1.tgz#5d02a46850adf1b4a317946a3928fccb5bfd0425" - integrity sha512-GAj5FOq0Hd+RsCGVJxZuKaIDXDf3h6GQoNEjFgbLLI/trgtavwUbSnZ5pVfg27DVCaWjIohryS0JFwIJyT2cMg== +css.escape@^1.5.1: + version "1.5.1" + resolved "https://registry.npmjs.org/css.escape/-/css.escape-1.5.1.tgz#42e27d4fa04ae32f931a4b4d4191fa9cddee97cb" + integrity sha512-YUifsXXuknHlUsmlgyY0PKzgPOr7/FjCePfHNt0jxm83wHZi44VDMQ7/fGNkjY3/jV1MC+1CmZbaHzugyeRtpg== + +cssstyle@^4.1.0: + version "4.6.0" + resolved "https://registry.npmjs.org/cssstyle/-/cssstyle-4.6.0.tgz#ea18007024e3167f4f105315f3ec2d982bf48ed9" + integrity sha512-2z+rWdzbbSZv6/rhtvzvqeZQHrBaqgogqt85sqFNbabZOuFbCVFb8kPeEtZjiKkbrm395irpNKiYeFeLiQnFPg== + dependencies: + "@asamuzakjp/css-color" "^3.2.0" + rrweb-cssom "^0.8.0" dashdash@^1.12.0: version "1.14.1" @@ -1698,10 +1577,13 @@ dashdash@^1.12.0: dependencies: assert-plus "^1.0.0" -date-format@^4.0.14: - version "4.0.14" - resolved "https://registry.yarnpkg.com/date-format/-/date-format-4.0.14.tgz#7a8e584434fb169a521c8b7aa481f355810d9400" - integrity sha512-39BOQLs9ZjKh0/patS9nrT8wc3ioX3/eA/zgbKNopnF2wCqJEoxywwwElATYvRsXdnOxA/OQeQoFZ3rFjVajhg== +data-urls@^5.0.0: + version "5.0.0" + resolved "https://registry.npmjs.org/data-urls/-/data-urls-5.0.0.tgz#2f76906bce1824429ffecb6920f45a0b30f00dde" + integrity sha512-ZYP5VBHshaDAiVZxjbRVcFJpc+4xGgT0bK3vzy1HLN8jTO975HEbuYzZJcHoQEY5K1a0z8YayJkyVETa08eNTg== + dependencies: + whatwg-mimetype "^4.0.0" + whatwg-url "^14.0.0" dateformat@~4.6.2: version "4.6.3" @@ -1715,6 +1597,13 @@ debug@2.6.9: dependencies: ms "2.0.0" +debug@4, debug@^4.3.7: + version "4.4.1" + resolved "https://registry.npmjs.org/debug/-/debug-4.4.1.tgz#e5a8bc6cbc4c6cd3e64308b0693a3d4fa550189b" + integrity sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ== + dependencies: + ms "^2.1.3" + debug@^3.1.0: version "3.2.7" resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.7.tgz#72580b7e9145fb39b6676f9c5e5fb100b934179a" @@ -1722,7 +1611,7 @@ debug@^3.1.0: dependencies: ms "^2.1.1" -debug@^4.0.0, debug@^4.1.0, debug@^4.1.1, debug@^4.3.2, debug@^4.3.4, debug@~4.3.1, debug@~4.3.2: +debug@^4.0.0, debug@^4.1.1, debug@^4.3.2, debug@^4.3.4: version "4.3.4" resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== @@ -1734,35 +1623,21 @@ decamelize@^1.2.0: resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" integrity sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA== +decimal.js@^10.4.3: + version "10.6.0" + resolved "https://registry.npmjs.org/decimal.js/-/decimal.js-10.6.0.tgz#e649a43e3ab953a72192ff5983865e509f37ed9a" + integrity sha512-YpgQiITW3JXGntzdUmyUR1V812Hn8T1YVXhCu+wO3OpS4eU9l4YdD3qjyiKdV6mvV29zapkMeD390UVEf2lkUg== + +deep-eql@^5.0.1: + version "5.0.2" + resolved "https://registry.npmjs.org/deep-eql/-/deep-eql-5.0.2.tgz#4b756d8d770a9257300825d52a2c2cff99c3a341" + integrity sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q== + deep-is@^0.1.3: version "0.1.4" resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.4.tgz#a6f2dce612fadd2ef1f519b73551f17e85199831" integrity sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ== -defaults@^1.0.3: - version "1.0.4" - resolved "https://registry.yarnpkg.com/defaults/-/defaults-1.0.4.tgz#b0b02062c1e2aa62ff5d9528f0f98baa90978d7a" - integrity sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A== - dependencies: - clone "^1.0.2" - -define-data-property@^1.1.4: - version "1.1.4" - resolved "https://registry.yarnpkg.com/define-data-property/-/define-data-property-1.1.4.tgz#894dc141bb7d3060ae4366f6a0107e68fbe48c5e" - integrity sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A== - dependencies: - es-define-property "^1.0.0" - es-errors "^1.3.0" - gopd "^1.0.1" - -define-properties@^1.1.3: - version "1.2.0" - resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.2.0.tgz#52988570670c9eacedd8064f4a990f2405849bd5" - integrity sha512-xvqAVKGfT1+UAvPwKTVw/njhdQ8ZhXK4lI0bCIuCMrp2up9nPnaDftrLtmpTazqd1o+UY4zgzU+avtMbDP+ldA== - dependencies: - has-property-descriptors "^1.0.0" - object-keys "^1.1.1" - del@^2.2.0: version "2.2.2" resolved "https://registry.yarnpkg.com/del/-/del-2.2.2.tgz#c12c981d067846c84bcaf862cff930d907ffd1a8" @@ -1791,13 +1666,10 @@ depd@~1.1.2: resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9" integrity sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ== -des.js@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/des.js/-/des.js-1.0.1.tgz#5382142e1bdc53f85d86d53e5f4aa7deb91e0843" - integrity sha512-Q0I4pfFrv2VPd34/vfLrFOoRmlYj3OV50i7fskps1jZWK1kApMWWT9G6RRUeYedLcBDIhnSDaUvJMb3AhUlaEA== - dependencies: - inherits "^2.0.1" - minimalistic-assert "^1.0.0" +dequal@^2.0.3: + version "2.0.3" + resolved "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz#2644214f1997d39ed0ee0ece72335490a7ac67be" + integrity sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA== destroy@1.2.0: version "1.2.0" @@ -1809,25 +1681,6 @@ detect-file@^1.0.0: resolved "https://registry.yarnpkg.com/detect-file/-/detect-file-1.0.0.tgz#f0d66d03672a825cb1b73bdb3fe62310c8e552b7" integrity sha512-DtCOLG98P007x7wiiOmfI0fi3eIKyWiLTGJ2MDnVi/E04lWGbf+JzrRHMm0rgIIZJGtHpKpbVgLWHrv8xXpc3Q== -di@^0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/di/-/di-0.0.1.tgz#806649326ceaa7caa3306d75d985ea2748ba913c" - integrity sha512-uJaamHkagcZtHPqCIHZxnFrXlunQXgBOsZSUOWwFw31QJCAbyTBoHMW75YOTur5ZNx8pIeAKgf6GWIgaqqiLhA== - -diff@^4.0.1: - version "4.0.2" - resolved "https://registry.yarnpkg.com/diff/-/diff-4.0.2.tgz#60f3aecb89d5fae520c11aa19efc2bb982aade7d" - integrity sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A== - -diffie-hellman@^5.0.0: - version "5.0.3" - resolved "https://registry.yarnpkg.com/diffie-hellman/-/diffie-hellman-5.0.3.tgz#40e8ee98f55a2149607146921c63e1ae5f3d2875" - integrity sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg== - dependencies: - bn.js "^4.1.0" - miller-rabin "^4.0.0" - randombytes "^2.0.0" - dir-glob@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-3.0.1.tgz#56dbf73d992a4a93ba1584f4534063fd2e41717f" @@ -1854,15 +1707,15 @@ doctrine@^3.0.0: dependencies: esutils "^2.0.2" -dom-serialize@^2.2.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/dom-serialize/-/dom-serialize-2.2.1.tgz#562ae8999f44be5ea3076f5419dcd59eb43ac95b" - integrity sha512-Yra4DbvoW7/Z6LBN560ZwXMjoNOSAN2wRsKFGc4iBeso+mpIA6qj1vfdf9HpMaKAqG6wXTy+1SYEzmNpKXOSsQ== - dependencies: - custom-event "~1.0.0" - ent "~2.2.0" - extend "^3.0.0" - void-elements "^2.0.0" +dom-accessibility-api@^0.5.9: + version "0.5.16" + resolved "https://registry.npmjs.org/dom-accessibility-api/-/dom-accessibility-api-0.5.16.tgz#5a7429e6066eb3664d911e33fb0e45de8eb08453" + integrity sha512-X7BJ2yElsnOJ30pZF4uIIDfBEVgF4XEBxL9Bxhy6dnrm5hkzqmsWHGTiHqRiITNhMyFLyAiWndIJP7Z1NTteDg== + +dom-accessibility-api@^0.6.3: + version "0.6.3" + resolved "https://registry.npmjs.org/dom-accessibility-api/-/dom-accessibility-api-0.6.3.tgz#993e925cc1d73f2c662e7d75dd5a5445259a8fd8" + integrity sha512-7ZgogeTnjuHbo+ct10G9Ffp0mif17idi0IyWNVA/wcwcm7NPOD/WEHVP3n7n3MhXqxoIYm8d6MuZohYWIZ4T3w== dom-serializer@^1.0.1: version "1.4.1" @@ -1873,11 +1726,6 @@ dom-serializer@^1.0.1: domhandler "^4.2.0" entities "^2.0.0" -domain-browser@^4.16.0: - version "4.22.0" - resolved "https://registry.yarnpkg.com/domain-browser/-/domain-browser-4.22.0.tgz#6ddd34220ec281f9a65d3386d267ddd35c491f9f" - integrity sha512-IGBwjF7tNk3cwypFNH/7bfzBcgSCbaMOD3GsaY1AU/JRrnHnYgEM0+9kQt52iZxjNsjBtJYtao146V+f8jFZNw== - domelementtype@^2.0.1, domelementtype@^2.2.0: version "2.3.0" resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-2.3.0.tgz#5c45e8e869952626331d7aab326d01daf65d589d" @@ -1923,6 +1771,11 @@ duplexify@^3.5.1: readable-stream "^2.0.0" stream-shift "^1.0.0" +eastasianwidth@^0.2.0: + version "0.2.0" + resolved "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz#696ce2ec0aa0e6ea93a397ffcf24aa7840c827cb" + integrity sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA== + ecc-jsbn@~0.1.1: version "0.1.2" resolved "https://registry.yarnpkg.com/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz#3a83a904e54353287874c564b7549386849a98c9" @@ -1941,24 +1794,16 @@ electron-to-chromium@^1.5.4: resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.13.tgz#1abf0410c5344b2b829b7247e031f02810d442e6" integrity sha512-lbBcvtIJ4J6sS4tb5TLp1b4LyfCdMkwStzXPyAgVgTRAsep4bvrAGaBOP7ZJtQMNJpSQ9SqG4brWOroNaQtm7Q== -elliptic@^6.5.3, elliptic@^6.5.4: - version "6.6.1" - resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.6.1.tgz#3b8ffb02670bf69e382c7f65bf524c97c5405c06" - integrity sha512-RaddvvMatK2LJHqFJ+YA4WysVN5Ita9E35botqIYspQ4TkRAlCicdzKOjlyv/1Za5RyTNn7di//eEV0uTAfe3g== - dependencies: - bn.js "^4.11.9" - brorand "^1.1.0" - hash.js "^1.0.0" - hmac-drbg "^1.0.1" - inherits "^2.0.4" - minimalistic-assert "^1.0.1" - minimalistic-crypto-utils "^1.0.1" - emoji-regex@^8.0.0: version "8.0.0" resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== +emoji-regex@^9.2.2: + version "9.2.2" + resolved "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz#840c8803b0d8047f4ff0cf963176b32d4ef3ed72" + integrity sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg== + emoji-regex@~10.1.0: version "10.1.0" resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-10.1.0.tgz#d50e383743c0f7a5945c47087295afc112e3cf66" @@ -1976,27 +1821,6 @@ end-of-stream@^1.0.0, end-of-stream@^1.1.0: dependencies: once "^1.4.0" -engine.io-parser@~5.2.1: - version "5.2.2" - resolved "https://registry.yarnpkg.com/engine.io-parser/-/engine.io-parser-5.2.2.tgz#37b48e2d23116919a3453738c5720455e64e1c49" - integrity sha512-RcyUFKA93/CXH20l4SoVvzZfrSDMOTUS3bWVpTt2FuFP+XYrL8i8oonHP7WInRyVHXh0n/ORtoeiE1os+8qkSw== - -engine.io@~6.5.2: - version "6.5.5" - resolved "https://registry.yarnpkg.com/engine.io/-/engine.io-6.5.5.tgz#430b80d8840caab91a50e9e23cb551455195fc93" - integrity sha512-C5Pn8Wk+1vKBoHghJODM63yk8MvrO9EWZUfkAt5HAqIgPE4/8FF0PEGHXtEd40l223+cE5ABWuPzm38PHFXfMA== - dependencies: - "@types/cookie" "^0.4.1" - "@types/cors" "^2.8.12" - "@types/node" ">=10.0.0" - accepts "~1.3.4" - base64id "2.0.0" - cookie "~0.4.1" - cors "~2.8.5" - debug "~4.3.1" - engine.io-parser "~5.2.1" - ws "~8.17.1" - enhanced-resolve@^5.0.0, enhanced-resolve@^5.17.1: version "5.17.1" resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.17.1.tgz#67bfbbcc2f81d511be77d686a90267ef7f898a15" @@ -2005,11 +1829,6 @@ enhanced-resolve@^5.0.0, enhanced-resolve@^5.17.1: graceful-fs "^4.2.4" tapable "^2.2.0" -ent@~2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/ent/-/ent-2.2.0.tgz#e964219325a21d05f44466a2f686ed6ce5f5dd1d" - integrity sha512-GHrMyVZQWvTIdDtpiEXdHZnFQKzeO09apj8Cbl4pKWy4i0Oprcq17usfDt5aO63swf0JOeMWjWQE/LzgSRuWpA== - entities@^2.0.0: version "2.2.0" resolved "https://registry.yarnpkg.com/entities/-/entities-2.2.0.tgz#098dc90ebb83d8dffa089d55256b351d34c4da55" @@ -2020,11 +1839,16 @@ entities@^3.0.1: resolved "https://registry.yarnpkg.com/entities/-/entities-3.0.1.tgz#2b887ca62585e96db3903482d336c1006c3001d4" integrity sha512-WiyBqoomrwMdFG1e0kqvASYfnlb0lp8M5o5Fw2OFq1hNZxxcNk8Ik0Xm7LxzBhuidnZB/UtBqVCgUz3kBOP51Q== -entities@^4.4.0: +entities@^4.4.0, entities@^4.5.0: version "4.5.0" - resolved "https://registry.yarnpkg.com/entities/-/entities-4.5.0.tgz#5d268ea5e7113ec74c4d033b79ea5a35a488fb48" + resolved "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz#5d268ea5e7113ec74c4d033b79ea5a35a488fb48" integrity sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw== +entities@^6.0.0: + version "6.0.1" + resolved "https://registry.npmjs.org/entities/-/entities-6.0.1.tgz#c28c34a43379ca7f61d074130b2f5f7020a30694" + integrity sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g== + envinfo@^7.7.3: version "7.8.1" resolved "https://registry.yarnpkg.com/envinfo/-/envinfo-7.8.1.tgz#06377e3e5f4d379fea7ac592d5ad8927e0c4d475" @@ -2037,13 +1861,6 @@ error@^7.0.0: dependencies: string-template "~0.2.1" -es-define-property@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/es-define-property/-/es-define-property-1.0.0.tgz#c7faefbdff8b2696cf5f46921edfb77cc4ba3845" - integrity sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ== - dependencies: - get-intrinsic "^1.2.4" - es-define-property@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/es-define-property/-/es-define-property-1.0.1.tgz#983eb2f9a6724e9303f61addf011c72e09e0b0fa" @@ -2059,6 +1876,11 @@ es-module-lexer@^1.2.1: resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-1.2.1.tgz#ba303831f63e6a394983fde2f97ad77b22324527" integrity sha512-9978wrXM50Y4rTMmW5kXIC09ZdXQZqkE4mxhwkd8VbzsGkXGPgV4zWuqQJgCEzYngdo2dYDa0l8xhX4fkSwJSg== +es-module-lexer@^1.5.4: + version "1.7.0" + resolved "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.7.0.tgz#9159601561880a85f2734560a9099b2c31e5372a" + integrity sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA== + es-object-atoms@^1.0.0, es-object-atoms@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/es-object-atoms/-/es-object-atoms-1.1.1.tgz#1c4f2c4837327597ce69d2ca190a7fdd172338c1" @@ -2066,10 +1888,15 @@ es-object-atoms@^1.0.0, es-object-atoms@^1.1.1: dependencies: es-errors "^1.3.0" -es6-object-assign@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/es6-object-assign/-/es6-object-assign-1.1.0.tgz#c2c3582656247c39ea107cb1e6652b6f9f24523c" - integrity sha512-MEl9uirslVwqQU369iHNWZXsI8yaZYGg/D65aOgZkeyFJwHYSxilf7rQzXKI7DdDuBPrBXbfk3sl9hJhmd5AUw== +es-set-tostringtag@^2.1.0: + version "2.1.0" + resolved "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz#f31dbbe0c183b00a6d26eb6325c810c0fd18bd4d" + integrity sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA== + dependencies: + es-errors "^1.3.0" + get-intrinsic "^1.2.6" + has-tostringtag "^1.0.2" + hasown "^2.0.2" es6-promise@^4.0.3: version "4.2.8" @@ -2083,10 +1910,34 @@ es6-promisify@^5.0.0: dependencies: es6-promise "^4.0.3" -escalade@^3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" - integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw== +esbuild@^0.21.3: + version "0.21.5" + resolved "https://registry.npmjs.org/esbuild/-/esbuild-0.21.5.tgz#9ca301b120922959b766360d8ac830da0d02997d" + integrity sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw== + optionalDependencies: + "@esbuild/aix-ppc64" "0.21.5" + "@esbuild/android-arm" "0.21.5" + "@esbuild/android-arm64" "0.21.5" + "@esbuild/android-x64" "0.21.5" + "@esbuild/darwin-arm64" "0.21.5" + "@esbuild/darwin-x64" "0.21.5" + "@esbuild/freebsd-arm64" "0.21.5" + "@esbuild/freebsd-x64" "0.21.5" + "@esbuild/linux-arm" "0.21.5" + "@esbuild/linux-arm64" "0.21.5" + "@esbuild/linux-ia32" "0.21.5" + "@esbuild/linux-loong64" "0.21.5" + "@esbuild/linux-mips64el" "0.21.5" + "@esbuild/linux-ppc64" "0.21.5" + "@esbuild/linux-riscv64" "0.21.5" + "@esbuild/linux-s390x" "0.21.5" + "@esbuild/linux-x64" "0.21.5" + "@esbuild/netbsd-x64" "0.21.5" + "@esbuild/openbsd-x64" "0.21.5" + "@esbuild/sunos-x64" "0.21.5" + "@esbuild/win32-arm64" "0.21.5" + "@esbuild/win32-ia32" "0.21.5" + "@esbuild/win32-x64" "0.21.5" escalade@^3.1.2: version "3.2.0" @@ -2213,6 +2064,13 @@ estraverse@^5.1.0, estraverse@^5.2.0: resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.3.0.tgz#2eea5290702f26ab8fe5370370ff86c965d21123" integrity sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA== +estree-walker@^3.0.3: + version "3.0.3" + resolved "https://registry.npmjs.org/estree-walker/-/estree-walker-3.0.3.tgz#67c3e549ec402a487b4fc193d1953a524752340d" + integrity sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g== + dependencies: + "@types/estree" "^1.0.0" + esutils@^2.0.2: version "2.0.3" resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" @@ -2228,11 +2086,6 @@ eventemitter2@~0.4.13: resolved "https://registry.yarnpkg.com/eventemitter2/-/eventemitter2-0.4.14.tgz#8f61b75cde012b2e9eb284d4545583b5643b61ab" integrity sha512-K7J4xq5xAD5jHsGM5ReWXRTFa3JRGofHiMcVgQ8PRwgWxzjHpMWCIzsmyf60+mh8KLsqYPcjUMa0AC4hd6lPyQ== -eventemitter3@^4.0.0: - version "4.0.7" - resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f" - integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw== - events@1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/events/-/events-1.1.1.tgz#9ebdb7635ad099c70dcc4c2a1f5004288e8bd924" @@ -2243,14 +2096,6 @@ events@^3.2.0: resolved "https://registry.yarnpkg.com/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400" integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q== -evp_bytestokey@^1.0.0, evp_bytestokey@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz#7fcbdb198dc71959432efe13842684e0525acb02" - integrity sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA== - dependencies: - md5.js "^1.3.4" - safe-buffer "^5.1.1" - execa@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/execa/-/execa-1.0.0.tgz#c6236a5bb4df6d6f15e88e7f017798216749ddd8" @@ -2276,6 +2121,11 @@ expand-tilde@^2.0.0, expand-tilde@^2.0.2: dependencies: homedir-polyfill "^1.0.1" +expect-type@^1.1.0: + version "1.2.2" + resolved "https://registry.npmjs.org/expect-type/-/expect-type-1.2.2.tgz#c030a329fb61184126c8447585bc75a7ec6fbff3" + integrity sha512-JhFGDVJ7tmDJItKhYgJCGLOWjuK9vPxiXoUFLwLDc99NlmklilbiQJwoctZtt13+xMw91MCk/REan6MWHqDjyA== + extend@^3.0.0, extend@^3.0.2, extend@~3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa" @@ -2343,6 +2193,16 @@ faye-websocket@~0.10.0: dependencies: websocket-driver ">=0.5.1" +fdir@^6.4.4: + version "6.4.6" + resolved "https://registry.npmjs.org/fdir/-/fdir-6.4.6.tgz#2b268c0232697063111bbf3f64810a2a741ba281" + integrity sha512-hiFoqpyZcfNm1yc4u8oWCf9A2c4D3QjCrks3zmoVKVxpQRzmPNar1hUJcBG2RQHvEVGDN+Jm81ZheVLAQMK6+w== + +fflate@^0.8.2: + version "0.8.2" + resolved "https://registry.npmjs.org/fflate/-/fflate-0.8.2.tgz#fc8631f5347812ad6028bbe4a2308b2792aa1dea" + integrity sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A== + figures@^3.2.0: version "3.2.0" resolved "https://registry.yarnpkg.com/figures/-/figures-3.2.0.tgz#625c18bd293c604dc4a8ddb2febf0c88341746af" @@ -2449,29 +2309,15 @@ flat-cache@^3.0.4: flatted "^3.1.0" rimraf "^3.0.2" -flatted@^3.1.0, flatted@^3.2.7: +flatted@^3.1.0: version "3.2.7" resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.7.tgz#609f39207cb614b89d0765b477cb2d437fbf9787" integrity sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ== -follow-redirects@^1.0.0: - version "1.15.6" - resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.6.tgz#7f815c0cda4249c74ff09e95ef97c23b5fd0399b" - integrity sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA== - -for-each@^0.3.3: - version "0.3.3" - resolved "https://registry.yarnpkg.com/for-each/-/for-each-0.3.3.tgz#69b447e88a0a5d32c3e7084f3f1710034b21376e" - integrity sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw== - dependencies: - is-callable "^1.1.3" - -for-each@^0.3.5: - version "0.3.5" - resolved "https://registry.yarnpkg.com/for-each/-/for-each-0.3.5.tgz#d650688027826920feeb0af747ee7b9421a41d47" - integrity sha512-dKx12eRCVIzqCxFGplyFKJMPvLEWgmNtUrpTiJIR5u97zEhRG8ySrtboPHZXx7daLxQVrl643cTzbab2tkQjxg== - dependencies: - is-callable "^1.2.7" +flatted@^3.3.1: + version "3.3.3" + resolved "https://registry.npmjs.org/flatted/-/flatted-3.3.3.tgz#67c8fad95454a7c7abebf74bb78ee74a44023358" + integrity sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg== for-in@^1.0.1: version "1.0.2" @@ -2485,11 +2331,30 @@ for-own@^1.0.0: dependencies: for-in "^1.0.1" +foreground-child@^3.1.0: + version "3.3.1" + resolved "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.1.tgz#32e8e9ed1b68a3497befb9ac2b6adf92a638576f" + integrity sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw== + dependencies: + cross-spawn "^7.0.6" + signal-exit "^4.0.1" + forever-agent@~0.6.1: version "0.6.1" resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" integrity sha512-j0KLYPhm6zeac4lz3oJ3o65qvgQCcPubiyotZrXqEaG4hNagNYO8qdlUrX5vwqv9ohqeT/Z3j6+yW067yWWdUw== +form-data@^4.0.0: + version "4.0.4" + resolved "https://registry.npmjs.org/form-data/-/form-data-4.0.4.tgz#784cdcce0669a9d68e94d11ac4eea98088edd2c4" + integrity sha512-KrGhL9Q4zjj0kiUt5OO4Mr/A/jlI2jDYs5eHBpYHPcBEVSiipAvn2Ko2HnPe20rmcuuvMHNdZFp+4IlGTMF0Ow== + dependencies: + asynckit "^0.4.0" + combined-stream "^1.0.8" + es-set-tostringtag "^2.1.0" + hasown "^2.0.2" + mime-types "^2.1.12" + form-data@~2.3.2: version "2.3.3" resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.3.3.tgz#dcce52c05f644f298c6a7ab936bd724ceffbf3a6" @@ -2509,25 +2374,21 @@ fresh@0.5.2: resolved "https://registry.yarnpkg.com/fresh/-/fresh-0.5.2.tgz#3d8cadd90d976569fa835ab1f8e4b23a105605a7" integrity sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q== -fs-extra@^8.1.0: - version "8.1.0" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-8.1.0.tgz#49d43c45a88cd9677668cb7be1b46efdb8d2e1c0" - integrity sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g== - dependencies: - graceful-fs "^4.2.0" - jsonfile "^4.0.0" - universalify "^0.1.0" - fs.realpath@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw== -fsevents@~2.3.2: +fsevents@2.3.2, fsevents@~2.3.2: version "2.3.2" - resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a" + resolved "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a" integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA== +fsevents@~2.3.3: + version "2.3.3" + resolved "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6" + integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw== + function-bind@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" @@ -2545,22 +2406,17 @@ gaze@^1.1.0: dependencies: globule "^1.0.0" -gensync@^1.0.0-beta.2: - version "1.0.0-beta.2" - resolved "https://registry.yarnpkg.com/gensync/-/gensync-1.0.0-beta.2.tgz#32a6ee76c3d7f52d46b2b1ae5d93fea8580a25e0" - integrity sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg== - get-caller-file@^1.0.1: version "1.0.3" resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-1.0.3.tgz#f978fa4c90d1dfe7ff2d6beda2a515e713bdcf4a" integrity sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w== -get-caller-file@^2.0.1, get-caller-file@^2.0.5: +get-caller-file@^2.0.1: version "2.0.5" resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== -get-intrinsic@^1.0.2, get-intrinsic@^1.1.1, get-intrinsic@^1.1.3: +get-intrinsic@^1.0.2: version "1.2.0" resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.2.0.tgz#7ad1dc0535f3a2904bba075772763e5051f6d05f" integrity sha512-L049y6nFOuom5wGyRc3/gdTLO94dySVKRACj1RmJZBQXlbTMhtNIgkWkUHq+jYmZvKf14EW1EoJnnjbmoHij0Q== @@ -2569,20 +2425,9 @@ get-intrinsic@^1.0.2, get-intrinsic@^1.1.1, get-intrinsic@^1.1.3: has "^1.0.3" has-symbols "^1.0.3" -get-intrinsic@^1.2.4: - version "1.2.4" - resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.2.4.tgz#e385f5a4b5227d449c3eabbad05494ef0abbeadd" - integrity sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ== - dependencies: - es-errors "^1.3.0" - function-bind "^1.1.2" - has-proto "^1.0.1" - has-symbols "^1.0.3" - hasown "^2.0.0" - -get-intrinsic@^1.3.0: +get-intrinsic@^1.2.6: version "1.3.0" - resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.3.0.tgz#743f0e3b6964a93a5491ed1bffaae054d7f98d01" + resolved "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz#743f0e3b6964a93a5491ed1bffaae054d7f98d01" integrity sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ== dependencies: call-bind-apply-helpers "^1.0.2" @@ -2642,7 +2487,19 @@ glob-to-regexp@^0.4.1: resolved "https://registry.yarnpkg.com/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz#c75297087c851b9a578bd217dd59a92f59fe546e" integrity sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw== -glob@^7.0.3, glob@^7.0.6, glob@^7.1.3, glob@^7.1.6, glob@^7.1.7: +glob@^10.4.1: + version "10.4.5" + resolved "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz#f4d9f0b90ffdbab09c9d77f5f29b4262517b0956" + integrity sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg== + dependencies: + foreground-child "^3.1.0" + jackspeak "^3.1.2" + minimatch "^9.0.4" + minipass "^7.1.2" + package-json-from-dist "^1.0.0" + path-scurry "^1.11.1" + +glob@^7.0.3, glob@^7.0.6, glob@^7.1.3: version "7.2.3" resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== @@ -2686,11 +2543,6 @@ global-prefix@^1.0.1: is-windows "^1.0.1" which "^1.2.14" -globals@^11.1.0: - version "11.12.0" - resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" - integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== - globals@^13.19.0: version "13.20.0" resolved "https://registry.yarnpkg.com/globals/-/globals-13.20.0.tgz#ea276a1e508ffd4f1612888f9d1bad1e2717bf82" @@ -2731,19 +2583,12 @@ globule@^1.0.0: lodash "^4.17.21" minimatch "~3.0.2" -gopd@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/gopd/-/gopd-1.0.1.tgz#29ff76de69dac7489b7c0918a5788e56477c332c" - integrity sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA== - dependencies: - get-intrinsic "^1.1.3" - gopd@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/gopd/-/gopd-1.2.0.tgz#89f56b8217bdbc8802bd299df6d7f1081d7e51a1" integrity sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg== -graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.11, graceful-fs@^4.2.4, graceful-fs@^4.2.6: +graceful-fs@^4.1.2, graceful-fs@^4.2.11, graceful-fs@^4.2.4: version "4.2.11" resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3" integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ== @@ -2908,6 +2753,15 @@ gzip-size@^5.1.1: duplexer "^0.1.1" pify "^4.0.1" +happy-dom@^15.7.4: + version "15.11.7" + resolved "https://registry.npmjs.org/happy-dom/-/happy-dom-15.11.7.tgz#db9854f11e5dd3fd4ab20cbbcfdf7bd9e17cd971" + integrity sha512-KyrFvnl+J9US63TEzwoiJOQzZBJY7KgBushJA8X61DMbNsH+2ONkDuLDnCnwUiPTF42tLoEmrPyoqbenVA5zrg== + dependencies: + entities "^4.5.0" + webidl-conversions "^7.0.0" + whatwg-mimetype "^3.0.0" + har-schema@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-2.0.0.tgz#a94c2224ebcac04782a0d9035521f24735b7ec92" @@ -2928,36 +2782,12 @@ has-ansi@^2.0.0: dependencies: ansi-regex "^2.0.0" -has-flag@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" - integrity sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw== - has-flag@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== -has-property-descriptors@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz#610708600606d36961ed04c196193b6a607fa861" - integrity sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ== - dependencies: - get-intrinsic "^1.1.1" - -has-property-descriptors@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz#963ed7d071dc7bf5f084c5bfbe0d1b6222586854" - integrity sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg== - dependencies: - es-define-property "^1.0.0" - -has-proto@^1.0.1: - version "1.0.3" - resolved "https://registry.yarnpkg.com/has-proto/-/has-proto-1.0.3.tgz#b31ddfe9b0e6e9914536a6ab286426d0214f77fd" - integrity sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q== - -has-symbols@^1.0.2, has-symbols@^1.0.3: +has-symbols@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.3.tgz#bb7b2c4349251dce87b125f7bdf874aa7c8b39f8" integrity sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A== @@ -2967,13 +2797,6 @@ has-symbols@^1.1.0: resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.1.0.tgz#fc9c6a783a084951d0b971fe1018de813707a338" integrity sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ== -has-tostringtag@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/has-tostringtag/-/has-tostringtag-1.0.0.tgz#7e133818a7d394734f941e73c3d3f9291e658b25" - integrity sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ== - dependencies: - has-symbols "^1.0.2" - has-tostringtag@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/has-tostringtag/-/has-tostringtag-1.0.2.tgz#2cdc42d40bef2e5b4eeab7c01a73c54ce7ab5abc" @@ -2988,46 +2811,13 @@ has@^1.0.3: dependencies: function-bind "^1.1.1" -hash-base@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/hash-base/-/hash-base-2.0.2.tgz#66ea1d856db4e8a5470cadf6fce23ae5244ef2e1" - integrity sha512-0TROgQ1/SxE6KmxWSvXHvRj90/Xo1JvZShofnYF+f6ZsGtR4eES7WfrQzPalmyagfKZCXpVnitiRebZulWsbiw== - dependencies: - inherits "^2.0.1" - -hash-base@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/hash-base/-/hash-base-3.1.0.tgz#55c381d9e06e1d2997a883b4a3fddfe7f0d3af33" - integrity sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA== - dependencies: - inherits "^2.0.4" - readable-stream "^3.6.0" - safe-buffer "^5.2.0" - -hash.js@^1.0.0, hash.js@^1.0.3: - version "1.1.7" - resolved "https://registry.yarnpkg.com/hash.js/-/hash.js-1.1.7.tgz#0babca538e8d4ee4a0f8988d68866537a003cf42" - integrity sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA== - dependencies: - inherits "^2.0.3" - minimalistic-assert "^1.0.1" - -hasown@^2.0.0, hasown@^2.0.2: +hasown@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.2.tgz#003eaf91be7adc372e84ec59dc37252cedb80003" integrity sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ== dependencies: function-bind "^1.1.2" -hmac-drbg@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1" - integrity sha512-Tti3gMqLdZfhOQY1Mzf/AanLiqh1WTiJgEj26ZuYQ9fbkLomzGchCws4FyrSd4VkpBfiNhaE1On+lOz894jvXg== - dependencies: - hash.js "^1.0.3" - minimalistic-assert "^1.0.0" - minimalistic-crypto-utils "^1.0.1" - homedir-polyfill@^1.0.1: version "1.0.3" resolved "https://registry.yarnpkg.com/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz#743298cef4e5af3e194161fbadcc2151d3a058e8" @@ -3040,6 +2830,13 @@ hooker@~0.2.3: resolved "https://registry.yarnpkg.com/hooker/-/hooker-0.2.3.tgz#b834f723cc4a242aa65963459df6d984c5d3d959" integrity sha512-t+UerCsQviSymAInD01Pw+Dn/usmz1sRO+3Zk1+lx8eg+WKpD2ulcwWqHHL0+aseRBr+3+vIhiG1K1JTwaIcTA== +html-encoding-sniffer@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-4.0.0.tgz#696df529a7cfd82446369dc5193e590a3735b448" + integrity sha512-Y22oTqIU4uuPgEemfz7NDJz6OeKf12Lsu+QC+s3BVpda64lTiMYCyGwg5ki4vFxkMwQdeZDl2adZoqUgdFuTgQ== + dependencies: + whatwg-encoding "^3.1.1" + html-escaper@^2.0.0: version "2.0.2" resolved "https://registry.yarnpkg.com/html-escaper/-/html-escaper-2.0.2.tgz#dfd60027da36a36dfcbe236262c00a5822681453" @@ -3081,14 +2878,13 @@ http-parser-js@>=0.5.1: resolved "https://registry.yarnpkg.com/http-parser-js/-/http-parser-js-0.5.8.tgz#af23090d9ac4e24573de6f6aecc9d84a48bf20e3" integrity sha512-SGeBX54F94Wgu5RH3X5jsDtf4eHyRogWX1XGT3b4HuW3tQPM4AaBzoUji/4AAJNXCEOWZ5O0DgZmJw1947gD5Q== -http-proxy@^1.18.1: - version "1.18.1" - resolved "https://registry.yarnpkg.com/http-proxy/-/http-proxy-1.18.1.tgz#401541f0534884bbf95260334e72f88ee3976549" - integrity sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ== +http-proxy-agent@^7.0.2: + version "7.0.2" + resolved "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz#9a8b1f246866c028509486585f62b8f2c18c270e" + integrity sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig== dependencies: - eventemitter3 "^4.0.0" - follow-redirects "^1.0.0" - requires-port "^1.0.0" + agent-base "^7.1.0" + debug "^4.3.4" http-signature@~1.2.0: version "1.2.0" @@ -3104,11 +2900,6 @@ https-browserify@0.0.1: resolved "https://registry.yarnpkg.com/https-browserify/-/https-browserify-0.0.1.tgz#3f91365cabe60b77ed0ebba24b454e3e09d95a82" integrity sha512-EjDQFbgJr1vDD/175UJeSX3ncQ3+RUnCL5NkthQGHvF4VNHlzTy8ifJfTqz47qiPRqaFH58+CbuG3x51WuB1XQ== -https-browserify@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/https-browserify/-/https-browserify-1.0.0.tgz#ec06c10e0a34c0f2faf199f7fd7fc78fffd03c73" - integrity sha512-J+FkSdyD+0mA0N+81tMotaRMfSL9SGi+xpD3T6YApKsc3bGSXJlfXri3VyFOeYkfLRQisDk1W+jIFFKBeUBbBg== - https-proxy-agent@^2.2.1: version "2.2.4" resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-2.2.4.tgz#4ee7a737abd92678a293d9b34a1af4d0d08c787b" @@ -3117,25 +2908,21 @@ https-proxy-agent@^2.2.1: agent-base "^4.3.0" debug "^3.1.0" -iconv-lite@0.4.24: - version "0.4.24" - resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" - integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA== +https-proxy-agent@^7.0.5: + version "7.0.6" + resolved "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz#da8dfeac7da130b05c2ba4b59c9b6cd66611a6b9" + integrity sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw== dependencies: - safer-buffer ">= 2.1.2 < 3" + agent-base "^7.1.2" + debug "4" -iconv-lite@~0.6.3: +iconv-lite@0.6.3, iconv-lite@~0.6.3: version "0.6.3" resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.6.3.tgz#a52f80bf38da1952eb5c681790719871a1a72501" integrity sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw== dependencies: safer-buffer ">= 2.1.2 < 3.0.0" -ieee754@^1.1.13: - version "1.2.1" - resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" - integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== - ignore@^5.2.0: version "5.2.4" resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.2.4.tgz#a291c0c6178ff1b960befe47fcdec301674a6324" @@ -3172,6 +2959,11 @@ imurmurhash@^0.1.4: resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" integrity sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA== +indent-string@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz#624f8f4497d619b2d9768531d58f4122854d7251" + integrity sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg== + inflight@^1.0.4: version "1.0.6" resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" @@ -3180,7 +2972,7 @@ inflight@^1.0.4: once "^1.3.0" wrappy "1" -inherits@2, inherits@2.0.4, inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.1, inherits@~2.0.3, inherits@~2.0.4: +inherits@2, inherits@2.0.4, inherits@^2.0.1, inherits@~2.0.1, inherits@~2.0.3: version "2.0.4" resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== @@ -3200,13 +2992,6 @@ ini@^1.3.4: resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.8.tgz#a29da425b48806f34767a4efce397269af28432c" integrity sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew== -inline-source-map@~0.6.0: - version "0.6.2" - resolved "https://registry.yarnpkg.com/inline-source-map/-/inline-source-map-0.6.2.tgz#f9393471c18a79d1724f863fa38b586370ade2a5" - integrity sha512-0mVWSSbNDvedDWIN4wxLsdPM4a7cIPcpyMxj3QZ406QRwQ6ePGB1YIHxVPjqpcUGbWQ5C+nHTwGNWAGvt7ggVA== - dependencies: - source-map "~0.5.3" - interpret@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/interpret/-/interpret-3.1.1.tgz#5be0ceed67ca79c6c4bc5cf0d7ee843dcea110c4" @@ -3243,14 +3028,6 @@ is-alphanumerical@^1.0.0: is-alphabetical "^1.0.0" is-decimal "^1.0.0" -is-arguments@^1.0.4: - version "1.1.1" - resolved "https://registry.yarnpkg.com/is-arguments/-/is-arguments-1.1.1.tgz#15b3f88fda01f2a97fec84ca761a560f123efa9b" - integrity sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA== - dependencies: - call-bind "^1.0.2" - has-tostringtag "^1.0.0" - is-binary-path@~2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09" @@ -3263,11 +3040,6 @@ is-buffer@^2.0.0: resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-2.0.5.tgz#ebc252e400d22ff8d77fa09888821a24a658c191" integrity sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ== -is-callable@^1.1.3, is-callable@^1.2.7: - version "1.2.7" - resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.7.tgz#3bc2a85ea742d9e36205dcacdd72ca1fdc51b055" - integrity sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA== - is-core-module@^2.12.0: version "2.12.0" resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.12.0.tgz#36ad62f6f73c8253fd6472517a12483cf03e7ec4" @@ -3302,13 +3074,6 @@ is-fullwidth-code-point@^3.0.0: resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== -is-generator-function@^1.0.7: - version "1.0.10" - resolved "https://registry.yarnpkg.com/is-generator-function/-/is-generator-function-1.0.10.tgz#f1558baf1ac17e0deea7c0415c438351ff2b3c72" - integrity sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A== - dependencies: - has-tostringtag "^1.0.0" - is-glob@^4.0.0, is-glob@^4.0.1, is-glob@^4.0.3, is-glob@~4.0.1: version "4.0.3" resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084" @@ -3321,14 +3086,6 @@ is-hexadecimal@^1.0.0: resolved "https://registry.yarnpkg.com/is-hexadecimal/-/is-hexadecimal-1.0.4.tgz#cc35c97588da4bd49a8eedd6bc4082d44dcb23a7" integrity sha512-gyPJuv83bHMpocVYoqof5VDiZveEoGoFL8m3BXNb2VW8Xs+rz9kqO8LOQ5DH6EsuvilT1ApazU0pyl+ytbPtlw== -is-nan@^1.2.1: - version "1.3.2" - resolved "https://registry.yarnpkg.com/is-nan/-/is-nan-1.3.2.tgz#043a54adea31748b55b6cd4e09aadafa69bd9e1d" - integrity sha512-E+zBKpQ2t6MEo1VsonYmluk9NxGrbzpeeLC2xIViuO2EjU2xsXsBPwTr3Ykv9l08UYEVEdWeRZNouaZqF6RN0w== - dependencies: - call-bind "^1.0.0" - define-properties "^1.1.3" - is-number-like@^1.0.3: version "1.0.8" resolved "https://registry.yarnpkg.com/is-number-like/-/is-number-like-1.0.8.tgz#2e129620b50891042e44e9bbbb30593e75cfbbe3" @@ -3377,6 +3134,11 @@ is-plain-object@^2.0.3, is-plain-object@^2.0.4: dependencies: isobject "^3.0.1" +is-potential-custom-element-name@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz#171ed6f19e3ac554394edf78caa05784a45bebb5" + integrity sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ== + is-relative@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/is-relative/-/is-relative-1.0.0.tgz#a1bb6935ce8c5dba1e8b9754b9b2dcc020e2260d" @@ -3389,24 +3151,6 @@ is-stream@^1.1.0: resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" integrity sha512-uQPm8kcs47jx38atAcWTVxyltQYoPT68y9aWYdV6yWXSyW8mzSat0TL6CiWdZeCdF3KrAvpVtnHbTv4RN+rqdQ== -is-typed-array@^1.1.10, is-typed-array@^1.1.3: - version "1.1.10" - resolved "https://registry.yarnpkg.com/is-typed-array/-/is-typed-array-1.1.10.tgz#36a5b5cb4189b575d1a3e4b08536bfb485801e3f" - integrity sha512-PJqgEHiWZvMpaFZ3uTc8kHPM4+4ADTlDniuQL7cU/UDA0Ql7F70yGfHph3cLNe+c9toaigv+DFzTJKhc2CtO6A== - dependencies: - available-typed-arrays "^1.0.5" - call-bind "^1.0.2" - for-each "^0.3.3" - gopd "^1.0.1" - has-tostringtag "^1.0.0" - -is-typed-array@^1.1.14: - version "1.1.15" - resolved "https://registry.yarnpkg.com/is-typed-array/-/is-typed-array-1.1.15.tgz#4bfb4a45b61cee83a5a46fba778e4e8d59c0ce0b" - integrity sha512-p3EcsicXjit7SaskXHs1hA91QxgTw46Fv6EFKKGS5DRFLD8yKnohjF3hxoju94b/OcMZoQukzpPpBE9uLVKzgQ== - dependencies: - which-typed-array "^1.1.16" - is-typedarray@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" @@ -3429,21 +3173,11 @@ is-wsl@^1.1.0: resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-1.1.0.tgz#1f16e4aa22b04d1336b66188a66af3c600c3a66d" integrity sha512-gfygJYZ2gLTDlmbWMI0CE2MwnFzSN/2SZfkMlItC4K/JBlsWVDB0bO6XhqcY13YXE7iMcAJnzTCJjPiTeJJ0Mw== -isarray@^2.0.5: - version "2.0.5" - resolved "https://registry.yarnpkg.com/isarray/-/isarray-2.0.5.tgz#8af1e4c1221244cc62459faf38940d4e644a5723" - integrity sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw== - isarray@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" integrity sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ== -isbinaryfile@^4.0.8: - version "4.0.10" - resolved "https://registry.yarnpkg.com/isbinaryfile/-/isbinaryfile-4.0.10.tgz#0c5b5e30c2557a2f06febd37b7322946aaee42b3" - integrity sha512-iHrqe5shvBUcFbmZq9zOQHBoeOhZJu6RQGrDpBgenUm/Am+F3JM2MgQj+rK3Z601fzrL5gLZWtAPH2OBaSVcyw== - isexe@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" @@ -3464,15 +3198,10 @@ istanbul-lib-coverage@^3.0.0: resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz#189e7909d0a39fa5a3dfad5b03f71947770191d3" integrity sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw== -istanbul-lib-instrument@^4.0.0: - version "4.0.3" - resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-4.0.3.tgz#873c6fff897450118222774696a3f28902d77c1d" - integrity sha512-BXgQl9kf4WTCPCCpmFGoJkz/+uhvm7h7PFKUYxh7qarQd3ER33vHG//qaE8eN25l07YqZPpHXU9I09l/RD5aGQ== - dependencies: - "@babel/core" "^7.7.5" - "@istanbuljs/schema" "^0.1.2" - istanbul-lib-coverage "^3.0.0" - semver "^6.3.0" +istanbul-lib-coverage@^3.2.2: + version "3.2.2" + resolved "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz#2d166c4b0644d43a39f04bf6c2edd1e585f31756" + integrity sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg== istanbul-lib-report@^3.0.0: version "3.0.0" @@ -3483,27 +3212,40 @@ istanbul-lib-report@^3.0.0: make-dir "^3.0.0" supports-color "^7.1.0" -istanbul-lib-source-maps@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz#895f3a709fcfba34c6de5a42939022f3e4358551" - integrity sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw== +istanbul-lib-report@^3.0.1: + version "3.0.1" + resolved "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz#908305bac9a5bd175ac6a74489eafd0fc2445a7d" + integrity sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw== dependencies: + istanbul-lib-coverage "^3.0.0" + make-dir "^4.0.0" + supports-color "^7.1.0" + +istanbul-lib-source-maps@^5.0.6: + version "5.0.6" + resolved "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-5.0.6.tgz#acaef948df7747c8eb5fbf1265cb980f6353a441" + integrity sha512-yg2d+Em4KizZC5niWhQaIomgf5WlL4vOOjZ5xGCmF8SnPE/mDWWXgvRExdcpCgh9lLRRa1/fSYp2ymmbJ1pI+A== + dependencies: + "@jridgewell/trace-mapping" "^0.3.23" debug "^4.1.1" istanbul-lib-coverage "^3.0.0" - source-map "^0.6.1" -istanbul-reports@^3.0.0: - version "3.1.5" - resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-3.1.5.tgz#cc9a6ab25cb25659810e4785ed9d9fb742578bae" - integrity sha512-nUsEMa9pBt/NOHqbcbeJEgqIlY/K7rVWUX6Lql2orY5e9roQOthbR3vtY4zzf2orPELg80fnxxk9zUyPlgwD1w== +istanbul-reports@^3.1.7: + version "3.1.7" + resolved "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.7.tgz#daed12b9e1dca518e15c056e1e537e741280fa0b" + integrity sha512-BewmUXImeuRk2YY0PVbxgKAysvhRPUQE0h5QRM++nVWyubKGV0l8qQ5op8+B2DOmwSe63Jivj0BjkPQVf8fP5g== dependencies: html-escaper "^2.0.0" istanbul-lib-report "^3.0.0" -jasmine-core@^4.1.0, jasmine-core@^4.6.0: - version "4.6.0" - resolved "https://registry.yarnpkg.com/jasmine-core/-/jasmine-core-4.6.0.tgz#6884fc3d5b66bf293e422751eed6d6da217c38f5" - integrity sha512-O236+gd0ZXS8YAjFx8xKaJ94/erqUliEkJTDedyE7iHvv4ZVqi+q+8acJxu05/WJDKm512EUNn809In37nWlAQ== +jackspeak@^3.1.2: + version "3.4.3" + resolved "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz#8833a9d89ab4acde6188942bd1c53b6390ed5a8a" + integrity sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw== + dependencies: + "@isaacs/cliui" "^8.0.2" + optionalDependencies: + "@pkgjs/parseargs" "^0.11.0" jasmine-core@~2.8.0: version "2.8.0" @@ -3563,10 +3305,32 @@ jsbn@~0.1.0: resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" integrity sha512-UVU9dibq2JcFWxQPA6KCqj5O42VOmAY3zQUfEKxU0KpTGXwNoCjkX1e13eHNvw/xPynt6pU0rZ1htjWTNTSXsg== -jsesc@^2.5.1: - version "2.5.2" - resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4" - integrity sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA== +jsdom@^25.0.0: + version "25.0.1" + resolved "https://registry.npmjs.org/jsdom/-/jsdom-25.0.1.tgz#536ec685c288fc8a5773a65f82d8b44badcc73ef" + integrity sha512-8i7LzZj7BF8uplX+ZyOlIz86V6TAsSs+np6m1kpW9u0JWi4z/1t+FzcK1aek+ybTnAC4KhBL4uXCNT0wcUIeCw== + dependencies: + cssstyle "^4.1.0" + data-urls "^5.0.0" + decimal.js "^10.4.3" + form-data "^4.0.0" + html-encoding-sniffer "^4.0.0" + http-proxy-agent "^7.0.2" + https-proxy-agent "^7.0.5" + is-potential-custom-element-name "^1.0.1" + nwsapi "^2.2.12" + parse5 "^7.1.2" + rrweb-cssom "^0.7.1" + saxes "^6.0.0" + symbol-tree "^3.2.4" + tough-cookie "^5.0.0" + w3c-xmlserializer "^5.0.0" + webidl-conversions "^7.0.0" + whatwg-encoding "^3.1.1" + whatwg-mimetype "^4.0.0" + whatwg-url "^14.0.0" + ws "^8.18.0" + xml-name-validator "^5.0.0" json-parse-even-better-errors@^2.3.1: version "2.3.1" @@ -3588,23 +3352,11 @@ json-stable-stringify-without-jsonify@^1.0.1: resolved "https://registry.yarnpkg.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651" integrity sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw== -json-stringify-safe@^5.0.1, json-stringify-safe@~5.0.1: +json-stringify-safe@~5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" integrity sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA== -json5@^2.2.2: - version "2.2.3" - resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283" - integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg== - -jsonfile@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-4.0.0.tgz#8771aae0799b64076b76640fca058f9c10e33ecb" - integrity sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg== - optionalDependencies: - graceful-fs "^4.1.6" - jsprim@^1.2.2: version "1.4.2" resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.4.2.tgz#712c65533a15c878ba59e9ed5f0e26d5b77c5feb" @@ -3625,106 +3377,6 @@ jszip@^3.1.3: readable-stream "~2.3.6" setimmediate "^1.0.5" -karma-chrome-launcher@^3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/karma-chrome-launcher/-/karma-chrome-launcher-3.1.1.tgz#baca9cc071b1562a1db241827257bfe5cab597ea" - integrity sha512-hsIglcq1vtboGPAN+DGCISCFOxW+ZVnIqhDQcCMqqCp+4dmJ0Qpq5QAjkbA0X2L9Mi6OBkHi2Srrbmm7pUKkzQ== - dependencies: - which "^1.2.1" - -karma-cli@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/karma-cli/-/karma-cli-2.0.0.tgz#481548d28661af4cc68f3d8e09708f17d2cba931" - integrity sha512-1Kb28UILg1ZsfqQmeELbPzuEb5C6GZJfVIk0qOr8LNYQuYWmAaqP16WpbpKEjhejDrDYyYOwwJXSZO6u7q5Pvw== - dependencies: - resolve "^1.3.3" - -karma-jasmine@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/karma-jasmine/-/karma-jasmine-5.1.0.tgz#3af4558a6502fa16856a0f346ec2193d4b884b2f" - integrity sha512-i/zQLFrfEpRyQoJF9fsCdTMOF5c2dK7C7OmsuKg2D0YSsuZSfQDiLuaiktbuio6F2wiCsZSnSnieIQ0ant/uzQ== - dependencies: - jasmine-core "^4.1.0" - -karma-typescript@5.5.4: - version "5.5.4" - resolved "https://registry.yarnpkg.com/karma-typescript/-/karma-typescript-5.5.4.tgz#969871512b8476dfc7a496f48da9ca9c73d710e5" - integrity sha512-D7nQ96xu/UekuqCmiPimnCuOFqp8+BxiND6MU6IJVN37E7DgXzr7SUeTzwuTHtKSYpgxKv4iOTUteYTxpeZL9A== - dependencies: - acorn "^8.1.0" - acorn-walk "^8.0.2" - assert "^2.0.0" - async "^3.0.1" - browser-resolve "^2.0.0" - browserify-zlib "^0.2.0" - buffer "^5.4.3" - combine-source-map "^0.8.0" - console-browserify "^1.2.0" - constants-browserify "^1.0.0" - convert-source-map "^1.7.0" - crypto-browserify "^3.12.0" - diff "^4.0.1" - domain-browser "^4.16.0" - events "^3.2.0" - glob "^7.1.6" - https-browserify "^1.0.0" - istanbul-lib-coverage "^3.0.0" - istanbul-lib-instrument "^4.0.0" - istanbul-lib-report "^3.0.0" - istanbul-lib-source-maps "^4.0.0" - istanbul-reports "^3.0.0" - json-stringify-safe "^5.0.1" - lodash "^4.17.19" - log4js "^6.3.0" - minimatch "^3.0.4" - os-browserify "^0.3.0" - pad "^3.2.0" - path-browserify "^1.0.0" - process "^0.11.10" - punycode "^2.1.1" - querystring-es3 "^0.2.1" - readable-stream "^3.1.1" - source-map "^0.7.3" - stream-browserify "^3.0.0" - stream-http "^3.1.0" - string_decoder "^1.3.0" - timers-browserify "^2.0.11" - tmp "^0.2.1" - tty-browserify "^0.0.1" - url "^0.11.0" - util "^0.12.1" - vm-browserify "^1.1.2" - -karma@^6.4.1: - version "6.4.1" - resolved "https://registry.yarnpkg.com/karma/-/karma-6.4.1.tgz#f2253716dd3a41aaa813fa9f54b6ee047e1127d9" - integrity sha512-Cj57NKOskK7wtFWSlMvZf459iX+kpYIPXmkNUzP2WAFcA7nhr/ALn5R7sw3w+1udFDcpMx/tuB8d5amgm3ijaA== - dependencies: - "@colors/colors" "1.5.0" - body-parser "^1.19.0" - braces "^3.0.2" - chokidar "^3.5.1" - connect "^3.7.0" - di "^0.0.1" - dom-serialize "^2.2.1" - glob "^7.1.7" - graceful-fs "^4.2.6" - http-proxy "^1.18.1" - isbinaryfile "^4.0.8" - lodash "^4.17.21" - log4js "^6.4.1" - mime "^2.5.2" - minimatch "^3.0.4" - mkdirp "^0.5.5" - qjobs "^1.2.0" - range-parser "^1.2.1" - rimraf "^3.0.2" - socket.io "^4.4.1" - source-map "^0.6.1" - tmp "^0.2.1" - ua-parser-js "^0.7.30" - yargs "^16.1.1" - kind-of@^6.0.2: version "6.0.3" resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.3.tgz#07c05034a6c349fa06e24fa35aa76db4580ce4dd" @@ -3815,17 +3467,12 @@ lodash.isfinite@^3.3.2: resolved "https://registry.yarnpkg.com/lodash.isfinite/-/lodash.isfinite-3.3.2.tgz#fb89b65a9a80281833f0b7478b3a5104f898ebb3" integrity sha512-7FGG40uhC8Mm633uKW1r58aElFlBlxCrg9JfSi3P6aYiWmfiWF0PgMd86ZUsxE5GwWPdHoS2+48bwTh2VPkIQA== -lodash.memoize@~3.0.3: - version "3.0.4" - resolved "https://registry.yarnpkg.com/lodash.memoize/-/lodash.memoize-3.0.4.tgz#2dcbd2c287cbc0a55cc42328bd0c736150d53e3f" - integrity sha512-eDn9kqrAmVUC1wmZvlQ6Uhde44n+tXpqPrN8olQJbttgh0oKclk+SF54P47VEGE9CEiMeRwAP8BaM7UHvBkz2A== - lodash.merge@^4.6.2: version "4.6.2" resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a" integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ== -lodash@^4.17.10, lodash@^4.17.14, lodash@^4.17.19, lodash@^4.17.21, lodash@~4.17.19, lodash@~4.17.21: +lodash@^4.17.10, lodash@^4.17.14, lodash@^4.17.21, lodash@~4.17.19, lodash@~4.17.21: version "4.17.21" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== @@ -3835,28 +3482,20 @@ log-driver@^1.2.7: resolved "https://registry.yarnpkg.com/log-driver/-/log-driver-1.2.7.tgz#63b95021f0702fedfa2c9bb0a24e7797d71871d8" integrity sha512-U7KCmLdqsGHBLeWqYlFA0V0Sl6P08EE1ZrmA9cxjUE0WVqT9qnyVDPz1kzpFEP0jdJuFnasWIfSd7fsaNXkpbg== -log4js@^6.3.0, log4js@^6.4.1: - version "6.9.1" - resolved "https://registry.yarnpkg.com/log4js/-/log4js-6.9.1.tgz#aba5a3ff4e7872ae34f8b4c533706753709e38b6" - integrity sha512-1somDdy9sChrr9/f4UlzhdaGfDR2c/SaD2a4T7qEkG4jTS57/B3qmnjLYePwQ8cqWnUHZI0iAKxMBpCZICiZ2g== - dependencies: - date-format "^4.0.14" - debug "^4.3.4" - flatted "^3.2.7" - rfdc "^1.3.0" - streamroller "^3.1.5" - longest-streak@^2.0.0: version "2.0.4" resolved "https://registry.yarnpkg.com/longest-streak/-/longest-streak-2.0.4.tgz#b8599957da5b5dab64dee3fe316fa774597d90e4" integrity sha512-vM6rUVCVUJJt33bnmHiZEvr7wPT78ztX7rojL+LW51bHtLh6HTjx84LA5W4+oa6aKEJA7jJu5LR6vQRBpA5DVg== -lru-cache@^5.1.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920" - integrity sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w== - dependencies: - yallist "^3.0.2" +loupe@^3.1.0, loupe@^3.1.2: + version "3.2.0" + resolved "https://registry.npmjs.org/loupe/-/loupe-3.2.0.tgz#174073ba8e0a1d0d5e43cc08626ed8a19403c344" + integrity sha512-2NCfZcT5VGVNX9mSZIxLRkEAegDGBpuQZBy13desuHeVORmBDyAET4TkJr4SjqQy3A8JDofMN6LpkK8Xcm/dlw== + +lru-cache@^10.2.0, lru-cache@^10.4.3: + version "10.4.3" + resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz#410fc8a17b70e598013df257c2446b7f3383f119" + integrity sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ== lru-cache@^6.0.0: version "6.0.0" @@ -3870,6 +3509,27 @@ lunr@^2.3.9: resolved "https://registry.yarnpkg.com/lunr/-/lunr-2.3.9.tgz#18b123142832337dd6e964df1a5a7707b25d35e1" integrity sha512-zTU3DaZaF3Rt9rhN3uBMGQD3dD2/vFQqnvZCDv4dl5iOzq2IZQqTxu90r4E5J+nP70J3ilqVCrbho2eWaeW8Ow== +lz-string@^1.5.0: + version "1.5.0" + resolved "https://registry.npmjs.org/lz-string/-/lz-string-1.5.0.tgz#c1ab50f77887b712621201ba9fd4e3a6ed099941" + integrity sha512-h5bgJWpxJNswbU7qCrV0tIKQCaS3blPDrqKWx+QxzuzL1zGUzij9XCWLrSLsJPu5t+eWA/ycetzYAO5IOMcWAQ== + +magic-string@^0.30.12: + version "0.30.17" + resolved "https://registry.npmjs.org/magic-string/-/magic-string-0.30.17.tgz#450a449673d2460e5bbcfba9a61916a1714c7453" + integrity sha512-sNPKHvyjVf7gyjwS4xGTaW/mCnF8wnjtifKBEhxfZ7E/S8tQ0rssrwGNn6q8JH/ohItJfSQp9mBtQYuTlH5QnA== + dependencies: + "@jridgewell/sourcemap-codec" "^1.5.0" + +magicast@^0.3.5: + version "0.3.5" + resolved "https://registry.npmjs.org/magicast/-/magicast-0.3.5.tgz#8301c3c7d66704a0771eb1bad74274f0ec036739" + integrity sha512-L0WhttDl+2BOsybvEOLK7fW3UA0OQ0IQ2d6Zl2x/a6vVRs3bAY0ECOSHHeL5jD+SbOpOCUEi0y1DgHEn9Qn1AQ== + dependencies: + "@babel/parser" "^7.25.4" + "@babel/types" "^7.25.4" + source-map-js "^1.2.0" + make-dir@^3.0.0: version "3.1.0" resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-3.1.0.tgz#415e967046b3a7f1d185277d84aa58203726a13f" @@ -3877,6 +3537,13 @@ make-dir@^3.0.0: dependencies: semver "^6.0.0" +make-dir@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/make-dir/-/make-dir-4.0.0.tgz#c3c2307a771277cd9638305f915c29ae741b614e" + integrity sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw== + dependencies: + semver "^7.5.3" + make-iterator@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/make-iterator/-/make-iterator-1.0.1.tgz#29b33f312aa8f547c4a5e490f56afcec99133ad6" @@ -3930,15 +3597,6 @@ maxmin@^3.0.0: gzip-size "^5.1.1" pretty-bytes "^5.3.0" -md5.js@^1.3.4: - version "1.3.5" - resolved "https://registry.yarnpkg.com/md5.js/-/md5.js-1.3.5.tgz#b5d07b8e3216e3e27cd728d72f70d1e6a342005f" - integrity sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg== - dependencies: - hash-base "^3.0.0" - inherits "^2.0.1" - safe-buffer "^5.1.2" - mdast-util-find-and-replace@^1.1.0: version "1.1.1" resolved "https://registry.yarnpkg.com/mdast-util-find-and-replace/-/mdast-util-find-and-replace-1.1.1.tgz#b7db1e873f96f66588c321f1363069abf607d1b5" @@ -4038,11 +3696,6 @@ mdurl@^2.0.0: resolved "https://registry.yarnpkg.com/mdurl/-/mdurl-2.0.0.tgz#80676ec0433025dd3e17ee983d0fe8de5a2237e0" integrity sha512-Lf+9+2r+Tdp5wXDXC4PcIBjTDtq4UKjCPMQhKIuzpJNW0b96kVqSwW0bT7FhRSfmAiFYgP+SCRvdrDozfh0U5w== -media-typer@0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748" - integrity sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ== - mem@^4.0.0: version "4.3.0" resolved "https://registry.yarnpkg.com/mem/-/mem-4.3.0.tgz#461af497bc4ae09608cdb2e60eefb69bff744178" @@ -4137,20 +3790,12 @@ micromatch@^4.0.0, micromatch@^4.0.2, micromatch@^4.0.4: braces "^3.0.3" picomatch "^2.3.1" -miller-rabin@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/miller-rabin/-/miller-rabin-4.0.1.tgz#f080351c865b0dc562a8462966daa53543c78a4d" - integrity sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA== - dependencies: - bn.js "^4.0.0" - brorand "^1.0.1" - mime-db@1.52.0: version "1.52.0" resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== -mime-types@^2.1.12, mime-types@^2.1.27, mime-types@~2.1.17, mime-types@~2.1.19, mime-types@~2.1.24, mime-types@~2.1.34: +mime-types@^2.1.12, mime-types@^2.1.27, mime-types@~2.1.17, mime-types@~2.1.19, mime-types@~2.1.34: version "2.1.35" resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a" integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw== @@ -4162,25 +3807,15 @@ mime@1.6.0: resolved "https://registry.yarnpkg.com/mime/-/mime-1.6.0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1" integrity sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg== -mime@^2.5.2: - version "2.6.0" - resolved "https://registry.yarnpkg.com/mime/-/mime-2.6.0.tgz#a2a682a95cd4d0cb1d6257e28f83da7e35800367" - integrity sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg== - mimic-fn@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== -minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7" - integrity sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A== - -minimalistic-crypto-utils@^1.0.1: +min-indent@^1.0.0: version "1.0.1" - resolved "https://registry.yarnpkg.com/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a" - integrity sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg== + resolved "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz#a63f681673b30571fbe8bc25686ae746eefa9869" + integrity sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg== minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2: version "3.1.2" @@ -4189,9 +3824,9 @@ minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2: dependencies: brace-expansion "^1.1.7" -minimatch@^9.0.5: +minimatch@^9.0.4, minimatch@^9.0.5: version "9.0.5" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.5.tgz#d74f9dd6b57d83d8e98cfb82133b03978bc929e5" + resolved "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz#d74f9dd6b57d83d8e98cfb82133b03978bc929e5" integrity sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow== dependencies: brace-expansion "^2.0.1" @@ -4208,12 +3843,10 @@ minimist@^1.2.0, minimist@^1.2.5, minimist@^1.2.6: resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c" integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA== -mkdirp@^0.5.5: - version "0.5.6" - resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.6.tgz#7def03d2432dcae4ba1d611445c48396062255f6" - integrity sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw== - dependencies: - minimist "^1.2.6" +"minipass@^5.0.0 || ^6.0.2 || ^7.0.0", minipass@^7.1.2: + version "7.1.2" + resolved "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz#93a9626ce5e5e66bd4db86849e7515e92340a707" + integrity sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw== morgan@^1.10.0: version "1.10.0" @@ -4226,6 +3859,11 @@ morgan@^1.10.0: on-finished "~2.3.0" on-headers "~1.0.2" +mrmime@^2.0.0: + version "2.0.1" + resolved "https://registry.npmjs.org/mrmime/-/mrmime-2.0.1.tgz#bc3e87f7987853a54c9850eeb1f1078cd44adddc" + integrity sha512-Y3wQdFg2Va6etvQ5I82yUhGdsKrcYox6p7FfL1LbK2J4V01F9TGlepTIhnK24t7koZibmg82KGglhA1XK5IsLQ== + ms@2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" @@ -4236,11 +3874,16 @@ ms@2.1.2: resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== -ms@2.1.3, ms@^2.1.1: +ms@2.1.3, ms@^2.1.1, ms@^2.1.3: version "2.1.3" - resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" + resolved "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== +nanoid@^3.3.11: + version "3.3.11" + resolved "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz#4f4f112cefbe303202f2199838128936266d185b" + integrity sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w== + natural-compare-lite@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/natural-compare-lite/-/natural-compare-lite-1.4.0.tgz#17b09581988979fddafe0201e931ba933c96cbb4" @@ -4317,39 +3960,26 @@ number-is-nan@^1.0.0: resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" integrity sha512-4jbtZXNAsfZbAHiiqjLPBiCl16dES1zI4Hpzzxw61Tk+loF+sBDBKx1ICKKKwIqQ7M0mFn1TmkN7euSncWgHiQ== +nwsapi@^2.2.12: + version "2.2.21" + resolved "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.21.tgz#8df7797079350adda208910d8c33fc4c2d7520c3" + integrity sha512-o6nIY3qwiSXl7/LuOU0Dmuctd34Yay0yeuZRLFmDPrrdHpXKFndPj3hM+YEPVHYC5fx2otBx4Ilc/gyYSAUaIA== + oauth-sign@~0.9.0: version "0.9.0" resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.9.0.tgz#47a7b016baa68b5fa0ecf3dee08a85c679ac6455" integrity sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ== -object-assign@^4, object-assign@^4.0.1, object-assign@^4.1.0: +object-assign@^4.0.1, object-assign@^4.1.0: version "4.1.1" resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg== -object-inspect@^1.13.1: - version "1.13.2" - resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.13.2.tgz#dea0088467fb991e67af4058147a24824a3043ff" - integrity sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g== - object-inspect@^1.9.0: version "1.12.3" resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.12.3.tgz#ba62dffd67ee256c8c086dfae69e016cd1f198b9" integrity sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g== -object-is@^1.0.1: - version "1.1.5" - resolved "https://registry.yarnpkg.com/object-is/-/object-is-1.1.5.tgz#b9deeaa5fc7f1846a0faecdceec138e5778f53ac" - integrity sha512-3cyDsyHgtmi7I7DfSSI2LDp6SK2lwvtbg0p0R1e0RvTqF5ceGx+K2dfSjm1bKDMVCFEDAQvy+o8c6a7VujOddw== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.3" - -object-keys@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e" - integrity sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA== - object.defaults@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/object.defaults/-/object.defaults-1.1.0.tgz#3a7f868334b407dea06da16d88d5cd29e435fecf" @@ -4420,11 +4050,6 @@ optionator@^0.9.1: type-check "^0.4.0" word-wrap "^1.2.3" -os-browserify@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/os-browserify/-/os-browserify-0.3.0.tgz#854373c7f5c2315914fc9bfc6bd8238fdda1ec27" - integrity sha512-gjcpUc3clBf9+210TRaDWbf+rZZZEshZ+DlXMRCeAjp0xhTrnQsKHypIy1J3d5hKdUzj69t708EHtU8P6bUn0A== - os-homedir@^1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3" @@ -4507,14 +4132,12 @@ p-try@^2.0.0: resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6" integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ== -pad@^3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/pad/-/pad-3.2.0.tgz#be7a1d1cb6757049b4ad5b70e71977158fea95d1" - integrity sha512-2u0TrjcGbOjBTJpyewEl4hBO3OeX5wWue7eIFPzQTg6wFSvoaHcBTTUY5m+n0hd04gmTCPuY0kCpVIVuw5etwg== - dependencies: - wcwidth "^1.0.1" +package-json-from-dist@^1.0.0: + version "1.0.1" + resolved "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz#4f1471a010827a86f94cfd9b0727e36d267de505" + integrity sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw== -pako@~1.0.2, pako@~1.0.5: +pako@~1.0.2: version "1.0.11" resolved "https://registry.yarnpkg.com/pako/-/pako-1.0.11.tgz#6c9599d340d54dfd3946380252a35705a6b992bf" integrity sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw== @@ -4526,17 +4149,6 @@ parent-module@^1.0.0: dependencies: callsites "^3.0.0" -parse-asn1@^5.0.0, parse-asn1@^5.1.6: - version "5.1.6" - resolved "https://registry.yarnpkg.com/parse-asn1/-/parse-asn1-5.1.6.tgz#385080a3ec13cb62a62d39409cb3e88844cdaed4" - integrity sha512-RnZRo1EPU6JBnra2vGHj0yhp6ebyjBZpmUCLHWiFhxlzvBCCpAuZ7elsBp1PVAbQN0/04VD/19rfzlBSwLstMw== - dependencies: - asn1.js "^5.2.0" - browserify-aes "^1.0.0" - evp_bytestokey "^1.0.0" - pbkdf2 "^3.0.3" - safe-buffer "^5.1.1" - parse-entities@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/parse-entities/-/parse-entities-2.0.0.tgz#53c6eb5b9314a1f4ec99fa0fdf7ce01ecda0cbe8" @@ -4563,16 +4175,18 @@ parse-passwd@^1.0.0: resolved "https://registry.yarnpkg.com/parse-passwd/-/parse-passwd-1.0.0.tgz#6d5b934a456993b23d37f40a382d6f1666a8e5c6" integrity sha512-1Y1A//QUXEZK7YKz+rD9WydcE1+EuPr6ZBgKecAB8tmoW6UFv0NREVJe1p+jRxtThkcbbKkfwIbWJe/IeE6m2Q== +parse5@^7.1.2: + version "7.3.0" + resolved "https://registry.npmjs.org/parse5/-/parse5-7.3.0.tgz#d7e224fa72399c7a175099f45fc2ad024b05ec05" + integrity sha512-IInvU7fabl34qmi9gY8XOVxhYyMyuH2xUNpb2q8/Y+7552KlejkRvqvD19nMoUW/uQGGbqNpA6Tufu5FL5BZgw== + dependencies: + entities "^6.0.0" + parseurl@~1.3.2, parseurl@~1.3.3: version "1.3.3" resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.3.tgz#9da19e7bee8d12dff0513ed5b76957793bc2e8d4" integrity sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ== -path-browserify@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/path-browserify/-/path-browserify-1.0.1.tgz#d98454a9c3753d5790860f16f68867b9e46be1fd" - integrity sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g== - path-exists@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515" @@ -4620,28 +4234,39 @@ path-root@^0.1.1: dependencies: path-root-regex "^0.1.0" +path-scurry@^1.11.1: + version "1.11.1" + resolved "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz#7960a668888594a0720b12a911d1a742ab9f11d2" + integrity sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA== + dependencies: + lru-cache "^10.2.0" + minipass "^5.0.0 || ^6.0.2 || ^7.0.0" + path-type@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== -pbkdf2@^3.0.3: - version "3.1.3" - resolved "https://registry.yarnpkg.com/pbkdf2/-/pbkdf2-3.1.3.tgz#8be674d591d65658113424592a95d1517318dd4b" - integrity sha512-wfRLBZ0feWRhCIkoMB6ete7czJcnNnqRpcoWQBLqatqXXmelSRqfdDK4F3u9T2s2cXas/hQJcryI/4lAL+XTlA== - dependencies: - create-hash "~1.1.3" - create-hmac "^1.1.7" - ripemd160 "=2.0.1" - safe-buffer "^5.2.1" - sha.js "^2.4.11" - to-buffer "^1.2.0" +pathe@^1.1.2: + version "1.1.2" + resolved "https://registry.npmjs.org/pathe/-/pathe-1.1.2.tgz#6c4cb47a945692e48a1ddd6e4094d170516437ec" + integrity sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ== + +pathval@^2.0.0: + version "2.0.1" + resolved "https://registry.npmjs.org/pathval/-/pathval-2.0.1.tgz#8855c5a2899af072d6ac05d11e46045ad0dc605d" + integrity sha512-//nshmD55c46FuFw26xV/xFAaB5HF9Xdap7HJBBnrKdAd6/GxDBaNA1870O79+9ueg61cZLSVc+OaFlfmObYVQ== performance-now@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b" integrity sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow== +picocolors@1.1.1, picocolors@^1.1.1: + version "1.1.1" + resolved "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz#3d321af3eab939b083c8f929a1d12cda81c26b6b" + integrity sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA== + picocolors@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.0.1.tgz#a8ad579b571952f0e5d25892de5445bcfe25aaa1" @@ -4652,6 +4277,11 @@ picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.3.1: resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== +picomatch@^4.0.2: + version "4.0.3" + resolved "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz#796c76136d1eead715db1e7bad785dedd695a042" + integrity sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q== + pify@^2.0.0: version "2.3.0" resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" @@ -4681,6 +4311,20 @@ pkg-dir@^4.2.0: dependencies: find-up "^4.0.0" +playwright-core@1.54.2: + version "1.54.2" + resolved "https://registry.npmjs.org/playwright-core/-/playwright-core-1.54.2.tgz#73cc5106f19ec6b9371908603d61a7f171ebd8f0" + integrity sha512-n5r4HFbMmWsB4twG7tJLDN9gmBUeSPcsBZiWSE4DnYz9mJMAFqr2ID7+eGC9kpEnxExJ1epttwR59LEWCk8mtA== + +playwright@1.54.2: + version "1.54.2" + resolved "https://registry.npmjs.org/playwright/-/playwright-1.54.2.tgz#e2435abb2db3a96a276f8acc3ada1a85b587dff3" + integrity sha512-Hu/BMoA1NAdRUuulyvQC0pEqZ4vQbGfn8f7wPXcnqQmM+zct9UliKxsIkLNmz/ku7LElUNqmaiv1TG/aL5ACsw== + dependencies: + playwright-core "1.54.2" + optionalDependencies: + fsevents "2.3.2" + portscanner@^2.2.0: version "2.2.0" resolved "https://registry.yarnpkg.com/portscanner/-/portscanner-2.2.0.tgz#6059189b3efa0965c9d96a56b958eb9508411cf1" @@ -4689,10 +4333,14 @@ portscanner@^2.2.0: async "^2.6.0" is-number-like "^1.0.3" -possible-typed-array-names@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/possible-typed-array-names/-/possible-typed-array-names-1.1.0.tgz#93e3582bc0e5426586d9d07b79ee40fc841de4ae" - integrity sha512-/+5VFTchJDoVj3bhoqi6UeymcD00DAwb1nJwamzPvHEszJ4FpF6SNNbUbOS8yI56qHzdV8eK0qEfOSiodkTdxg== +postcss@^8.4.43: + version "8.5.6" + resolved "https://registry.npmjs.org/postcss/-/postcss-8.5.6.tgz#2825006615a619b4f62a9e7426cc120b349a8f3c" + integrity sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg== + dependencies: + nanoid "^3.3.11" + picocolors "^1.1.1" + source-map-js "^1.2.1" prelude-ls@^1.2.1: version "1.2.1" @@ -4704,16 +4352,20 @@ pretty-bytes@^5.3.0: resolved "https://registry.yarnpkg.com/pretty-bytes/-/pretty-bytes-5.6.0.tgz#356256f643804773c82f64723fe78c92c62beaeb" integrity sha512-FFw039TmrBqFK8ma/7OL3sDz/VytdtJr044/QUJtH0wK9lb9jLq9tJyIxUwtQJHwar2BqtiA4iCWSwo9JLkzFg== +pretty-format@^27.0.2: + version "27.5.1" + resolved "https://registry.npmjs.org/pretty-format/-/pretty-format-27.5.1.tgz#2181879fdea51a7a5851fb39d920faa63f01d88e" + integrity sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ== + dependencies: + ansi-regex "^5.0.1" + ansi-styles "^5.0.0" + react-is "^17.0.1" + process-nextick-args@~2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2" integrity sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag== -process@^0.11.10: - version "0.11.10" - resolved "https://registry.yarnpkg.com/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182" - integrity sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A== - protractor@^5.0.0: version "5.4.4" resolved "https://registry.yarnpkg.com/protractor/-/protractor-5.4.4.tgz#b241466aaf83b76bc2c58df67deb9a5cdfc61529" @@ -4761,18 +4413,6 @@ psl@^1.1.28: resolved "https://registry.yarnpkg.com/psl/-/psl-1.9.0.tgz#d0df2a137f00794565fcaf3b2c00cd09f8d5a5a7" integrity sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag== -public-encrypt@^4.0.0: - version "4.0.3" - resolved "https://registry.yarnpkg.com/public-encrypt/-/public-encrypt-4.0.3.tgz#4fcc9d77a07e48ba7527e7cbe0de33d0701331e0" - integrity sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q== - dependencies: - bn.js "^4.1.0" - browserify-rsa "^4.0.0" - create-hash "^1.1.0" - parse-asn1 "^5.0.0" - randombytes "^2.0.1" - safe-buffer "^5.1.2" - pump@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.0.tgz#b4a2116815bde2f4e1ea602354e8c75565107a64" @@ -4796,6 +4436,11 @@ punycode@^2.1.0, punycode@^2.1.1: resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.3.0.tgz#f67fa67c94da8f4d0cfff981aee4118064199b8f" integrity sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA== +punycode@^2.3.1: + version "2.3.1" + resolved "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz#027422e2faec0b25e1549c3e1bd8309b9133b6e5" + integrity sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg== + q@1.4.1: version "1.4.1" resolved "https://registry.yarnpkg.com/q/-/q-1.4.1.tgz#55705bcd93c5f3673530c2c2cbc0c2b3addc286e" @@ -4806,18 +4451,6 @@ q@^1.4.1: resolved "https://registry.yarnpkg.com/q/-/q-1.5.1.tgz#7e32f75b41381291d04611f1bf14109ac00651d7" integrity sha512-kV/CThkXo6xyFEZUugw/+pIOywXcDbFYgSct5cT3gqlbkBE1SJdwy6UQoZvodiWF/ckQLZyDE/Bu1M6gVu5lVw== -qjobs@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/qjobs/-/qjobs-1.2.0.tgz#c45e9c61800bd087ef88d7e256423bdd49e5d071" - integrity sha512-8YOJEHtxpySA3fFDyCRxA+UUV+fA+rTWnuWvylOK/NCjhY+b4ocCtmu8TtsWb+mYeU+GCHf/S66KZF/AsteKHg== - -qs@6.13.0: - version "6.13.0" - resolved "https://registry.yarnpkg.com/qs/-/qs-6.13.0.tgz#6ca3bd58439f7e245655798997787b0d88a51906" - integrity sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg== - dependencies: - side-channel "^1.0.6" - qs@^6.4.0: version "6.11.1" resolved "https://registry.yarnpkg.com/qs/-/qs-6.11.1.tgz#6c29dff97f0c0060765911ba65cbc9764186109f" @@ -4830,11 +4463,6 @@ qs@~6.5.2: resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.3.tgz#3aeeffc91967ef6e35c0e488ef46fb296ab76aad" integrity sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA== -querystring-es3@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/querystring-es3/-/querystring-es3-0.2.1.tgz#9ec61f79049875707d69414596fd907a4d711e73" - integrity sha512-773xhDQnZBMFobEiztv8LIl70ch5MSF/jUQVlhwFyBILqq96anmoctVIYz+ZRp0qbCKATTn6ev02M3r7Ga5vqA== - querystring@0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/querystring/-/querystring-0.2.0.tgz#b209849203bb25df820da756e747005878521620" @@ -4845,36 +4473,18 @@ queue-microtask@^1.2.2: resolved "https://registry.yarnpkg.com/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243" integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A== -randombytes@^2.0.0, randombytes@^2.0.1, randombytes@^2.0.5, randombytes@^2.1.0: +randombytes@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a" integrity sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ== dependencies: safe-buffer "^5.1.0" -randomfill@^1.0.3: - version "1.0.4" - resolved "https://registry.yarnpkg.com/randomfill/-/randomfill-1.0.4.tgz#c92196fc86ab42be983f1bf31778224931d61458" - integrity sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw== - dependencies: - randombytes "^2.0.5" - safe-buffer "^5.1.0" - -range-parser@^1.2.1, range-parser@~1.2.1: +range-parser@~1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.1.tgz#3cf37023d199e1c24d1a55b84800c2f3e6468031" integrity sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg== -raw-body@2.5.2: - version "2.5.2" - resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.5.2.tgz#99febd83b90e08975087e8f1f9419a149366b68a" - integrity sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA== - dependencies: - bytes "3.1.2" - http-errors "2.0.0" - iconv-lite "0.4.24" - unpipe "1.0.0" - raw-body@~1.1.0: version "1.1.7" resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-1.1.7.tgz#1d027c2bfa116acc6623bca8f00016572a87d425" @@ -4883,6 +4493,11 @@ raw-body@~1.1.0: bytes "1" string_decoder "0.10" +react-is@^17.0.1: + version "17.0.2" + resolved "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz#e691d4a8e9c789365655539ab372762b0efb54f0" + integrity sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w== + readable-stream@^2.0.0, readable-stream@^2.0.2, readable-stream@^2.3.3, readable-stream@~2.3.6: version "2.3.8" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.8.tgz#91125e8042bba1b9887f49345f6277027ce8be9b" @@ -4896,15 +4511,6 @@ readable-stream@^2.0.0, readable-stream@^2.0.2, readable-stream@^2.3.3, readable string_decoder "~1.1.1" util-deprecate "~1.0.1" -readable-stream@^3.1.1, readable-stream@^3.5.0, readable-stream@^3.6.0, readable-stream@^3.6.2: - version "3.6.2" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.2.tgz#56a9b36ea965c00c5a93ef31eb111a0f11056967" - integrity sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA== - dependencies: - inherits "^2.0.3" - string_decoder "^1.1.1" - util-deprecate "^1.0.1" - readdirp@~3.6.0: version "3.6.0" resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.6.0.tgz#74a370bd857116e245b29cc97340cd431a02a6c7" @@ -4926,6 +4532,14 @@ rechoir@^0.8.0: dependencies: resolve "^1.20.0" +redent@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz#e557b7998316bb53c9f1f56fa626352c6963059f" + integrity sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg== + dependencies: + indent-string "^4.0.0" + strip-indent "^3.0.0" + remark-footnotes@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/remark-footnotes/-/remark-footnotes-3.0.0.tgz#5756b56f8464fa7ed80dbba0c966136305d8cb8d" @@ -5003,11 +4617,6 @@ require-main-filename@^2.0.0: resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-2.0.0.tgz#d0b329ecc7cc0f61649f62215be69af54aa8989b" integrity sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg== -requires-port@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff" - integrity sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ== - resolve-cwd@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/resolve-cwd/-/resolve-cwd-3.0.0.tgz#0f0075f1bb2544766cf73ba6a6e2adfebcb13f2d" @@ -5033,7 +4642,7 @@ resolve-from@^5.0.0: resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-5.0.0.tgz#c35225843df8f776df21c57557bc087e9dfdfc69" integrity sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw== -resolve@^1.17.0, resolve@^1.19.0, resolve@^1.20.0, resolve@^1.3.3, resolve@^1.9.0: +resolve@^1.19.0, resolve@^1.20.0, resolve@^1.9.0: version "1.22.3" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.3.tgz#4b4055349ffb962600972da1fdc33c46a4eb3283" integrity sha512-P8ur/gp/AmbEzjr729bZnLjXK5Z+4P0zhIJgBgzqRih7hL7BOukHGtSTA3ACMY467GRFz3duQsi0bDZdR7DKdw== @@ -5047,11 +4656,6 @@ reusify@^1.0.4: resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76" integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw== -rfdc@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/rfdc/-/rfdc-1.3.0.tgz#d0b7c441ab2720d05dc4cf26e01c89631d9da08b" - integrity sha512-V2hovdzFbOi77/WajaSMXk2OLm+xNIeQdMMuB7icj7bk6zi2F8GGAxigcnDFpJHbNyNcgyJDiP+8nOrY5cZGrA== - rimraf@^2.2.8, rimraf@^2.5.2, rimraf@^2.5.4: version "2.7.1" resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec" @@ -5059,28 +4663,51 @@ rimraf@^2.2.8, rimraf@^2.5.2, rimraf@^2.5.4: dependencies: glob "^7.1.3" -rimraf@^3.0.0, rimraf@^3.0.2: +rimraf@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== dependencies: glob "^7.1.3" -ripemd160@=2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/ripemd160/-/ripemd160-2.0.1.tgz#0f4584295c53a3628af7e6d79aca21ce57d1c6e7" - integrity sha512-J7f4wutN8mdbV08MJnXibYpCOPHR+yzy+iQ/AsjMv2j8cLavQ8VGagDFUwwTAdF8FmRKVeNpbTTEwNHCW1g94w== +rollup@^4.20.0: + version "4.46.2" + resolved "https://registry.npmjs.org/rollup/-/rollup-4.46.2.tgz#09b1a45d811e26d09bed63dc3ecfb6831c16ce32" + integrity sha512-WMmLFI+Boh6xbop+OAGo9cQ3OgX9MIg7xOQjn+pTCwOkk+FNDAeAemXkJ3HzDJrVXleLOFVa1ipuc1AmEx1Dwg== dependencies: - hash-base "^2.0.0" - inherits "^2.0.1" + "@types/estree" "1.0.8" + optionalDependencies: + "@rollup/rollup-android-arm-eabi" "4.46.2" + "@rollup/rollup-android-arm64" "4.46.2" + "@rollup/rollup-darwin-arm64" "4.46.2" + "@rollup/rollup-darwin-x64" "4.46.2" + "@rollup/rollup-freebsd-arm64" "4.46.2" + "@rollup/rollup-freebsd-x64" "4.46.2" + "@rollup/rollup-linux-arm-gnueabihf" "4.46.2" + "@rollup/rollup-linux-arm-musleabihf" "4.46.2" + "@rollup/rollup-linux-arm64-gnu" "4.46.2" + "@rollup/rollup-linux-arm64-musl" "4.46.2" + "@rollup/rollup-linux-loongarch64-gnu" "4.46.2" + "@rollup/rollup-linux-ppc64-gnu" "4.46.2" + "@rollup/rollup-linux-riscv64-gnu" "4.46.2" + "@rollup/rollup-linux-riscv64-musl" "4.46.2" + "@rollup/rollup-linux-s390x-gnu" "4.46.2" + "@rollup/rollup-linux-x64-gnu" "4.46.2" + "@rollup/rollup-linux-x64-musl" "4.46.2" + "@rollup/rollup-win32-arm64-msvc" "4.46.2" + "@rollup/rollup-win32-ia32-msvc" "4.46.2" + "@rollup/rollup-win32-x64-msvc" "4.46.2" + fsevents "~2.3.2" -ripemd160@^2.0.0, ripemd160@^2.0.1: - version "2.0.2" - resolved "https://registry.yarnpkg.com/ripemd160/-/ripemd160-2.0.2.tgz#a1c1a6f624751577ba5d07914cbc92850585890c" - integrity sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA== - dependencies: - hash-base "^3.0.0" - inherits "^2.0.1" +rrweb-cssom@^0.7.1: + version "0.7.1" + resolved "https://registry.npmjs.org/rrweb-cssom/-/rrweb-cssom-0.7.1.tgz#c73451a484b86dd7cfb1e0b2898df4b703183e4b" + integrity sha512-TrEMa7JGdVm0UThDJSx7ddw5nVm3UJS9o9CCIZ72B1vSyEZoziDqBYP3XIoi/12lKrJR8rE3jeFHMok2F/Mnsg== + +rrweb-cssom@^0.8.0: + version "0.8.0" + resolved "https://registry.npmjs.org/rrweb-cssom/-/rrweb-cssom-0.8.0.tgz#3021d1b4352fbf3b614aaeed0bc0d5739abe0bc2" + integrity sha512-guoltQEx+9aMf2gDZ0s62EcV8lsXR+0w8915TC3ITdn2YueuNjdAYh/levpU9nFaoChh9RUS5ZdQMrKfVEN9tw== run-parallel@^1.1.9: version "1.2.0" @@ -5094,7 +4721,7 @@ safe-buffer@5.1.2, safe-buffer@~5.1.0, safe-buffer@~5.1.1: resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== -safe-buffer@>=5.1.0, safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@^5.2.1, safe-buffer@~5.2.0: +safe-buffer@>=5.1.0, safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.2: version "5.2.1" resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== @@ -5104,7 +4731,7 @@ safe-json-parse@~1.0.1: resolved "https://registry.yarnpkg.com/safe-json-parse/-/safe-json-parse-1.0.1.tgz#3e76723e38dfdda13c9b1d29a1e07ffee4b30b57" integrity sha512-o0JmTu17WGUaUOHa1l0FPGXKBfijbxK6qoHzlkihsDXxzBHvJcA7zgviKR92Xs841rX9pK16unfphLq0/KqX7A== -"safer-buffer@>= 2.1.2 < 3", "safer-buffer@>= 2.1.2 < 3.0.0", safer-buffer@^2.0.2, safer-buffer@^2.1.0, safer-buffer@~2.1.0: +"safer-buffer@>= 2.1.2 < 3.0.0", safer-buffer@^2.0.2, safer-buffer@^2.1.0, safer-buffer@~2.1.0: version "2.1.2" resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== @@ -5130,6 +4757,13 @@ sax@>=0.6.0: resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9" integrity sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw== +saxes@^6.0.0: + version "6.0.0" + resolved "https://registry.npmjs.org/saxes/-/saxes-6.0.0.tgz#fe5b4a4768df4f14a201b1ba6a65c1f3d9988cc5" + integrity sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA== + dependencies: + xmlchars "^2.2.0" + schema-utils@^3.1.1, schema-utils@^3.2.0: version "3.3.0" resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-3.3.0.tgz#f50a88877c3c01652a15b622ae9e9795df7a60fe" @@ -5154,7 +4788,7 @@ semver@^5.3.0, semver@^5.5.0: resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.2.tgz#48d55db737c3287cd4835e17fa13feace1c41ef8" integrity sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g== -semver@^6.0.0, semver@^6.3.0: +semver@^6.0.0: version "6.3.1" resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4" integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA== @@ -5166,6 +4800,11 @@ semver@^7.3.4, semver@^7.3.7: dependencies: lru-cache "^6.0.0" +semver@^7.5.3: + version "7.7.2" + resolved "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz#67d99fdcd35cec21e6f8b87a7fd515a33f982b58" + integrity sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA== + send@0.18.0: version "0.18.0" resolved "https://registry.yarnpkg.com/send/-/send-0.18.0.tgz#670167cc654b05f5aa4a767f9113bb371bc706be" @@ -5220,18 +4859,6 @@ set-blocking@^2.0.0: resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" integrity sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw== -set-function-length@^1.2.1, set-function-length@^1.2.2: - version "1.2.2" - resolved "https://registry.yarnpkg.com/set-function-length/-/set-function-length-1.2.2.tgz#aac72314198eaed975cf77b2c3b6b880695e5449" - integrity sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg== - dependencies: - define-data-property "^1.1.4" - es-errors "^1.3.0" - function-bind "^1.1.2" - get-intrinsic "^1.2.4" - gopd "^1.0.1" - has-property-descriptors "^1.0.2" - setimmediate@^1.0.4, setimmediate@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/setimmediate/-/setimmediate-1.0.5.tgz#290cbb232e306942d7d7ea9b83732ab7856f8285" @@ -5247,14 +4874,6 @@ setprototypeof@1.2.0: resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.2.0.tgz#66c9a24a73f9fc28cbe66b09fed3d33dcaf1b424" integrity sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw== -sha.js@^2.4.0, sha.js@^2.4.11, sha.js@^2.4.8: - version "2.4.11" - resolved "https://registry.yarnpkg.com/sha.js/-/sha.js-2.4.11.tgz#37a5cf0b81ecbc6943de109ba2960d1b26584ae7" - integrity sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ== - dependencies: - inherits "^2.0.1" - safe-buffer "^5.0.1" - shallow-clone@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/shallow-clone/-/shallow-clone-3.0.1.tgz#8f2981ad92531f55035b01fb230769a40e02efa3" @@ -5295,59 +4914,45 @@ side-channel@^1.0.4: get-intrinsic "^1.0.2" object-inspect "^1.9.0" -side-channel@^1.0.6: - version "1.0.6" - resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.6.tgz#abd25fb7cd24baf45466406b1096b7831c9215f2" - integrity sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA== - dependencies: - call-bind "^1.0.7" - es-errors "^1.3.0" - get-intrinsic "^1.2.4" - object-inspect "^1.13.1" +siginfo@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/siginfo/-/siginfo-2.0.0.tgz#32e76c70b79724e3bb567cb9d543eb858ccfaf30" + integrity sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g== signal-exit@^3.0.0: version "3.0.7" resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9" integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== +signal-exit@^4.0.1: + version "4.1.0" + resolved "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz#952188c1cbd546070e2dd20d0f41c0ae0530cb04" + integrity sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw== + +sirv@^3.0.0: + version "3.0.1" + resolved "https://registry.npmjs.org/sirv/-/sirv-3.0.1.tgz#32a844794655b727f9e2867b777e0060fbe07bf3" + integrity sha512-FoqMu0NCGBLCcAkS1qA+XJIQTR6/JHfQXl+uGteNCQ76T91DMUjPa9xfmeqMY3z80nLSg9yQmNjK0Px6RWsH/A== + dependencies: + "@polka/url" "^1.0.0-next.24" + mrmime "^2.0.0" + totalist "^3.0.0" + slash@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634" integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q== -socket.io-adapter@~2.5.2: - version "2.5.2" - resolved "https://registry.yarnpkg.com/socket.io-adapter/-/socket.io-adapter-2.5.2.tgz#5de9477c9182fdc171cd8c8364b9a8894ec75d12" - integrity sha512-87C3LO/NOMc+eMcpcxUBebGjkpMDkNBS9tf7KJqcDsmL936EChtVva71Dw2q4tQcuVC+hAUy4an2NO/sYXmwRA== - dependencies: - ws "~8.11.0" - -socket.io-parser@~4.2.4: - version "4.2.4" - resolved "https://registry.yarnpkg.com/socket.io-parser/-/socket.io-parser-4.2.4.tgz#c806966cf7270601e47469ddeec30fbdfda44c83" - integrity sha512-/GbIKmo8ioc+NIWIhwdecY0ge+qVBSMdgxGygevmdHj24bsfgtCmcUUcQ5ZzcylGFHsN3k4HB4Cgkl96KVnuew== - dependencies: - "@socket.io/component-emitter" "~3.1.0" - debug "~4.3.1" - -socket.io@^4.4.1: - version "4.7.5" - resolved "https://registry.yarnpkg.com/socket.io/-/socket.io-4.7.5.tgz#56eb2d976aef9d1445f373a62d781a41c7add8f8" - integrity sha512-DmeAkF6cwM9jSfmp6Dr/5/mfMwb5Z5qRrSXLpo3Fq5SqyU8CMF15jIN4ZhfSwu35ksM1qmHZDQ/DK5XTccSTvA== - dependencies: - accepts "~1.3.4" - base64id "~2.0.0" - cors "~2.8.5" - debug "~4.3.2" - engine.io "~6.5.2" - socket.io-adapter "~2.5.2" - socket.io-parser "~4.2.4" - "source-map-js@>=0.6.2 <2.0.0": version "1.0.2" resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.0.2.tgz#adbc361d9c62df380125e7f161f71c826f1e490c" integrity sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw== +source-map-js@^1.2.0, source-map-js@^1.2.1: + version "1.2.1" + resolved "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz#1ce5650fddd87abc099eda37dcff024c2667ae46" + integrity sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA== + source-map-support@~0.4.0: version "0.4.18" resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.4.18.tgz#0286a6de8be42641338594e97ccea75f0a2c585f" @@ -5363,21 +4968,16 @@ source-map-support@~0.5.20: buffer-from "^1.0.0" source-map "^0.6.0" -source-map@^0.5.6, source-map@~0.5.3: +source-map@^0.5.6: version "0.5.7" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" integrity sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ== -source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.0: +source-map@^0.6.0, source-map@~0.6.0: version "0.6.1" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== -source-map@^0.7.3: - version "0.7.4" - resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.7.4.tgz#a9bbe705c9d8846f4e08ff6765acf0f1b0898656" - integrity sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA== - split@^1.0.0, split@~1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/split/-/split-1.0.1.tgz#605bd9be303aa59fb35f9229fbea0ddec9ea07d9" @@ -5410,6 +5010,11 @@ sshpk@^1.7.0: safer-buffer "^2.0.2" tweetnacl "~0.14.0" +stackback@0.0.2: + version "0.0.2" + resolved "https://registry.npmjs.org/stackback/-/stackback-0.0.2.tgz#1ac8a0d9483848d1695e418b6d031a3c3ce68e3b" + integrity sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw== + statuses@2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/statuses/-/statuses-2.0.1.tgz#55cb000ccf1d48728bd23c685a063998cf1a1b63" @@ -5420,6 +5025,11 @@ statuses@2.0.1: resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c" integrity sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA== +std-env@^3.8.0: + version "3.9.0" + resolved "https://registry.npmjs.org/std-env/-/std-env-3.9.0.tgz#1a6f7243b339dca4c9fd55e1c7504c77ef23e8f1" + integrity sha512-UGvjygr6F6tpH7o2qyqR6QYpwraIjKSdtzyBdyytFOHmPZY917kwdwLG0RbOjWOnKmnm3PeHjaoLLMie7kPLQw== + stream-browserify@2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/stream-browserify/-/stream-browserify-2.0.1.tgz#66266ee5f9bdb9940a4e4514cafb43bb71e5c9db" @@ -5428,43 +5038,25 @@ stream-browserify@2.0.1: inherits "~2.0.1" readable-stream "^2.0.2" -stream-browserify@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/stream-browserify/-/stream-browserify-3.0.0.tgz#22b0a2850cdf6503e73085da1fc7b7d0c2122f2f" - integrity sha512-H73RAHsVBapbim0tU2JwwOiXUj+fikfiaoYAKHF3VJfA0pe2BCzkhAHBlLG6REzE+2WNZcxOXjK7lkso+9euLA== - dependencies: - inherits "~2.0.4" - readable-stream "^3.5.0" - -stream-http@^3.1.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/stream-http/-/stream-http-3.2.0.tgz#1872dfcf24cb15752677e40e5c3f9cc1926028b5" - integrity sha512-Oq1bLqisTyK3TSCXpPbT4sdeYNdmyZJv1LxpEm2vu1ZhK89kSE5YXwZc3cWk0MagGaKriBh9mCFbVGtO+vY29A== - dependencies: - builtin-status-codes "^3.0.0" - inherits "^2.0.4" - readable-stream "^3.6.0" - xtend "^4.0.2" - stream-shift@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/stream-shift/-/stream-shift-1.0.1.tgz#d7088281559ab2778424279b0877da3c392d5a3d" integrity sha512-AiisoFqQ0vbGcZgQPY1cdP2I76glaVA/RauYR4G4thNFgkTqr90yXTo4LYX60Jl+sIlPNHHdGSwo01AvbKUSVQ== -streamroller@^3.1.5: - version "3.1.5" - resolved "https://registry.yarnpkg.com/streamroller/-/streamroller-3.1.5.tgz#1263182329a45def1ffaef58d31b15d13d2ee7ff" - integrity sha512-KFxaM7XT+irxvdqSP1LGLgNWbYN7ay5owZ3r/8t77p+EtSUAfUgtl7be3xtqtOmGUl9K9YPO2ca8133RlTjvKw== - dependencies: - date-format "^4.0.14" - debug "^4.3.4" - fs-extra "^8.1.0" - string-template@~0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/string-template/-/string-template-0.2.1.tgz#42932e598a352d01fc22ec3367d9d84eec6c9add" integrity sha512-Yptehjogou2xm4UJbxJ4CxgZx12HBfeystp0y3x7s4Dj32ltVVG1Gg8YhKjHZkHicuKpZX/ffilA8505VbUbpw== +"string-width-cjs@npm:string-width@^4.2.0": + version "4.2.3" + resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" + string-width@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3" @@ -5491,18 +5083,20 @@ string-width@^4.1.0, string-width@^4.2.0: is-fullwidth-code-point "^3.0.0" strip-ansi "^6.0.1" +string-width@^5.0.1, string-width@^5.1.2: + version "5.1.2" + resolved "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz#14f8daec6d81e7221d2a357e668cab73bdbca794" + integrity sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA== + dependencies: + eastasianwidth "^0.2.0" + emoji-regex "^9.2.2" + strip-ansi "^7.0.1" + string_decoder@0.10: version "0.10.31" resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94" integrity sha512-ev2QzSzWPYmy9GuqfIVildA4OdcGLeFZQrq5ys6RtiuF+RQQiZWr8TZNyAcuVXyQRYfEO+MsoB/1BuQVhOJuoQ== -string_decoder@^1.1.1, string_decoder@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e" - integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA== - dependencies: - safe-buffer "~5.2.0" - string_decoder@~1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.1.1.tgz#9cf1611ba62685d7030ae9e4ba34149c3af03fc8" @@ -5510,6 +5104,13 @@ string_decoder@~1.1.1: dependencies: safe-buffer "~5.1.0" +"strip-ansi-cjs@npm:strip-ansi@^6.0.1": + version "6.0.1" + resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + strip-ansi@^3.0.0, strip-ansi@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" @@ -5531,11 +5132,25 @@ strip-ansi@^6.0.0, strip-ansi@^6.0.1: dependencies: ansi-regex "^5.0.1" +strip-ansi@^7.0.1: + version "7.1.0" + resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz#d5b6568ca689d8561370b0707685d22434faff45" + integrity sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ== + dependencies: + ansi-regex "^6.0.1" + strip-eof@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/strip-eof/-/strip-eof-1.0.0.tgz#bb43ff5598a6eb05d89b59fcd129c983313606bf" integrity sha512-7FCwGGmx8mD5xQd3RPUvnSpUXHM3BWuzjtpD4TXsfcZ9EL4azvVVUscFYwD9nx8Kh+uCBC00XBtAykoMHwTh8Q== +strip-indent@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz#c32e1cee940b6b3432c771bc2c54bcce73cd3001" + integrity sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ== + dependencies: + min-indent "^1.0.0" + strip-json-comments@^3.1.0, strip-json-comments@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" @@ -5546,13 +5161,6 @@ supports-color@^2.0.0: resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" integrity sha512-KKNVtd6pCYgPIKU4cp2733HWYCpplQhddZLBUryaAHou723x+FRzQ5Df824Fj+IyyuiQTRoub4SnIFfIcrp70g== -supports-color@^5.3.0: - version "5.5.0" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" - integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== - dependencies: - has-flag "^3.0.0" - supports-color@^7.1.0: version "7.2.0" resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da" @@ -5572,6 +5180,11 @@ supports-preserve-symlinks-flag@^1.0.0: resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== +symbol-tree@^3.2.4: + version "3.2.4" + resolved "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz#430637d248ba77e078883951fb9aa0eed7c63fa2" + integrity sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw== + tapable@^2.1.1, tapable@^2.2.0: version "2.2.1" resolved "https://registry.yarnpkg.com/tapable/-/tapable-2.2.1.tgz#1967a73ef4060a82f12ab96af86d52fdb76eeca0" @@ -5598,6 +5211,15 @@ terser@^5.26.0: commander "^2.20.0" source-map-support "~0.5.20" +test-exclude@^7.0.1: + version "7.0.1" + resolved "https://registry.npmjs.org/test-exclude/-/test-exclude-7.0.1.tgz#20b3ba4906ac20994e275bbcafd68d510264c2a2" + integrity sha512-pFYqmTw68LXVjeWJMST4+borgQP2AyMNbg1BpZh9LbyhUeNkeaPF9gzfPGUAnSMV3qPYdWUwDIjjCLiSDOl7vg== + dependencies: + "@istanbuljs/schema" "^0.1.2" + glob "^10.4.1" + minimatch "^9.0.4" + text-table@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" @@ -5623,13 +5245,6 @@ timers-browserify@2.0.2: dependencies: setimmediate "^1.0.4" -timers-browserify@^2.0.11: - version "2.0.12" - resolved "https://registry.yarnpkg.com/timers-browserify/-/timers-browserify-2.0.12.tgz#44a45c11fbf407f34f97bccd1577c652361b00ee" - integrity sha512-9phl76Cqm6FhSX9Xe1ZUAMLtm1BLkKj2Qd5ApyWkXzsMRaA7dgr81kf4wJmQf/hAvg8EEyJxDo3du/0KlhPiKQ== - dependencies: - setimmediate "^1.0.4" - tiny-lr@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/tiny-lr/-/tiny-lr-1.1.1.tgz#9fa547412f238fedb068ee295af8b682c98b2aab" @@ -5642,6 +5257,51 @@ tiny-lr@^1.1.1: object-assign "^4.1.0" qs "^6.4.0" +tinybench@^2.9.0: + version "2.9.0" + resolved "https://registry.npmjs.org/tinybench/-/tinybench-2.9.0.tgz#103c9f8ba6d7237a47ab6dd1dcff77251863426b" + integrity sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg== + +tinyexec@^0.3.1: + version "0.3.2" + resolved "https://registry.npmjs.org/tinyexec/-/tinyexec-0.3.2.tgz#941794e657a85e496577995c6eef66f53f42b3d2" + integrity sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA== + +tinyglobby@^0.2.10: + version "0.2.14" + resolved "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.14.tgz#5280b0cf3f972b050e74ae88406c0a6a58f4079d" + integrity sha512-tX5e7OM1HnYr2+a2C/4V0htOcSQcoSTH9KgJnVvNm5zm/cyEWKJ7j7YutsH9CxMdtOkkLFy2AHrMci9IM8IPZQ== + dependencies: + fdir "^6.4.4" + picomatch "^4.0.2" + +tinypool@^1.0.1: + version "1.1.1" + resolved "https://registry.npmjs.org/tinypool/-/tinypool-1.1.1.tgz#059f2d042bd37567fbc017d3d426bdd2a2612591" + integrity sha512-Zba82s87IFq9A9XmjiX5uZA/ARWDrB03OHlq+Vw1fSdt0I+4/Kutwy8BP4Y/y/aORMo61FQ0vIb5j44vSo5Pkg== + +tinyrainbow@^1.2.0: + version "1.2.0" + resolved "https://registry.npmjs.org/tinyrainbow/-/tinyrainbow-1.2.0.tgz#5c57d2fc0fb3d1afd78465c33ca885d04f02abb5" + integrity sha512-weEDEq7Z5eTHPDh4xjX789+fHfF+P8boiFB+0vbWzpbnbsEr/GRaohi/uMKxg8RZMXnl1ItAi/IUHWMsjDV7kQ== + +tinyspy@^3.0.2: + version "3.0.2" + resolved "https://registry.npmjs.org/tinyspy/-/tinyspy-3.0.2.tgz#86dd3cf3d737b15adcf17d7887c84a75201df20a" + integrity sha512-n1cw8k1k0x4pgA2+9XrOkFydTerNcJ1zWCO5Nn9scWHTD+5tp8dghT2x1uduQePZTZgd3Tupf+x9BxJjeJi77Q== + +tldts-core@^6.1.86: + version "6.1.86" + resolved "https://registry.npmjs.org/tldts-core/-/tldts-core-6.1.86.tgz#a93e6ed9d505cb54c542ce43feb14c73913265d8" + integrity sha512-Je6p7pkk+KMzMv2XXKmAE3McmolOQFdxkKw0R8EYNr7sELW46JqnNeTX8ybPiQgvg1ymCoF8LXs5fzFaZvJPTA== + +tldts@^6.1.32: + version "6.1.86" + resolved "https://registry.npmjs.org/tldts/-/tldts-6.1.86.tgz#087e0555b31b9725ee48ca7e77edc56115cd82f7" + integrity sha512-WMi/OQ2axVTf/ykqCQgXiIct+mSQDFdH2fkwhPwgEwvJ1kSzZRiinb0zF2Xb8u4+OqPChmyI6MEu4EezNJz+FQ== + dependencies: + tldts-core "^6.1.86" + tmp@0.0.30: version "0.0.30" resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.30.tgz#72419d4a8be7d6ce75148fd8b324e593a711c2ed" @@ -5649,27 +5309,6 @@ tmp@0.0.30: dependencies: os-tmpdir "~1.0.1" -tmp@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.2.1.tgz#8457fc3037dcf4719c251367a1af6500ee1ccf14" - integrity sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ== - dependencies: - rimraf "^3.0.0" - -to-buffer@^1.2.0: - version "1.2.1" - resolved "https://registry.yarnpkg.com/to-buffer/-/to-buffer-1.2.1.tgz#2ce650cdb262e9112a18e65dc29dcb513c8155e0" - integrity sha512-tB82LpAIWjhLYbqjx3X4zEeHN6M8CiuOEy2JY8SEQVdYRe3CCHOFaqrBW1doLDrfpWhplcW7BL+bO3/6S3pcDQ== - dependencies: - isarray "^2.0.5" - safe-buffer "^5.2.1" - typed-array-buffer "^1.0.3" - -to-fast-properties@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e" - integrity sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog== - to-regex-range@^5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4" @@ -5682,6 +5321,18 @@ toidentifier@1.0.1: resolved "https://registry.yarnpkg.com/toidentifier/-/toidentifier-1.0.1.tgz#3be34321a88a820ed1bd80dfaa33e479fbb8dd35" integrity sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA== +totalist@^3.0.0: + version "3.0.1" + resolved "https://registry.npmjs.org/totalist/-/totalist-3.0.1.tgz#ba3a3d600c915b1a97872348f79c127475f6acf8" + integrity sha512-sf4i37nQ2LBx4m3wB74y+ubopq6W/dIzXg0FDGjsYnZHVa1Da8FH853wlL2gtUhg+xJXjfk3kUZS3BRoQeoQBQ== + +tough-cookie@^5.0.0: + version "5.1.2" + resolved "https://registry.npmjs.org/tough-cookie/-/tough-cookie-5.1.2.tgz#66d774b4a1d9e12dc75089725af3ac75ec31bed7" + integrity sha512-FVDYdxtnj0G6Qm/DhNPSb8Ju59ULcup3tuJxkFb5K8Bv2pUXILbf0xZWU8PX8Ov19OXljbUyveOFwRMwkXzO+A== + dependencies: + tldts "^6.1.32" + tough-cookie@~2.5.0: version "2.5.0" resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.5.0.tgz#cd9fb2a0aa1d5a12b473bd9fb96fa3dcff65ade2" @@ -5690,6 +5341,13 @@ tough-cookie@~2.5.0: psl "^1.1.28" punycode "^2.1.1" +tr46@^5.1.0: + version "5.1.1" + resolved "https://registry.npmjs.org/tr46/-/tr46-5.1.1.tgz#96ae867cddb8fdb64a49cc3059a8d428bcf238ca" + integrity sha512-hdF5ZgjTqgAntKkklYw0R03MG2x/bSzTtkxmIRw/sTNV8YXsCJ1tfLAX23lhxhHJlEf3CRCOCGGWw3vI3GaSPw== + dependencies: + punycode "^2.3.1" + traverse@^0.6.7: version "0.6.7" resolved "https://registry.yarnpkg.com/traverse/-/traverse-0.6.7.tgz#46961cd2d57dd8706c36664acde06a248f1173fe" @@ -5722,11 +5380,6 @@ tsutils@^3.21.0: dependencies: tslib "^1.8.1" -tty-browserify@^0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/tty-browserify/-/tty-browserify-0.0.1.tgz#3f05251ee17904dfd0677546670db9651682b811" - integrity sha512-C3TaO7K81YvjCgQH9Q1S3R3P3BtN3RIM8n+OvX4il1K1zgE8ZhI0op7kClgkxtutIE8hQrcrHBXvIheqKUUCxw== - tunnel-agent@^0.6.0: version "0.6.0" resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd" @@ -5751,23 +5404,6 @@ type-fest@^0.20.2: resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.20.2.tgz#1bf207f4b28f91583666cb5fbd327887301cd5f4" integrity sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ== -type-is@~1.6.18: - version "1.6.18" - resolved "https://registry.yarnpkg.com/type-is/-/type-is-1.6.18.tgz#4e552cd05df09467dcbc4ef739de89f2cf37c131" - integrity sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g== - dependencies: - media-typer "0.3.0" - mime-types "~2.1.24" - -typed-array-buffer@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/typed-array-buffer/-/typed-array-buffer-1.0.3.tgz#a72395450a4869ec033fd549371b47af3a2ee536" - integrity sha512-nAYYwfY3qnzX30IkA6AQZjVbtK6duGontcQm1WSG1MD94YLqK0515GNApXkoxKOWMusVssAHWLh9SeaoefYFGw== - dependencies: - call-bound "^1.0.3" - es-errors "^1.3.0" - is-typed-array "^1.1.14" - typedoc-plugin-markdown@^4.8.0: version "4.8.0" resolved "https://registry.yarnpkg.com/typedoc-plugin-markdown/-/typedoc-plugin-markdown-4.8.0.tgz#4ef70fb05d38674ed212d6ff99f7e857c49e266e" @@ -5789,11 +5425,6 @@ typescript@^5.0.4: resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.0.4.tgz#b217fd20119bd61a94d4011274e0ab369058da3b" integrity sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw== -ua-parser-js@^0.7.30: - version "0.7.35" - resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-0.7.35.tgz#8bda4827be4f0b1dda91699a29499575a1f1d307" - integrity sha512-veRf7dawaj9xaWEu9HoTVn5Pggtc/qj+kqTOFvNiN1l0YdxwC1kvel57UCjThjGa3BHBihE8/UJAHI+uQHmd/g== - uc.micro@^2.0.0, uc.micro@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/uc.micro/-/uc.micro-2.1.0.tgz#f8d3f7d0ec4c3dea35a7e3c8efa4cb8b45c9e7ee" @@ -5859,12 +5490,7 @@ unist-util-visit-parents@^3.0.0: "@types/unist" "^2.0.0" unist-util-is "^4.0.0" -universalify@^0.1.0: - version "0.1.2" - resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66" - integrity sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg== - -unpipe@1.0.0, unpipe@~1.0.0: +unpipe@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec" integrity sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ== @@ -5902,7 +5528,7 @@ url@^0.11.0: punycode "1.3.2" querystring "0.2.0" -util-deprecate@^1.0.1, util-deprecate@^1.0.2, util-deprecate@~1.0.1: +util-deprecate@^1.0.2, util-deprecate@~1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw== @@ -5914,17 +5540,6 @@ util@0.10.3: dependencies: inherits "2.0.1" -util@^0.12.0, util@^0.12.1: - version "0.12.5" - resolved "https://registry.yarnpkg.com/util/-/util-0.12.5.tgz#5f17a6059b73db61a875668781a1c2b136bd6fbc" - integrity sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA== - dependencies: - inherits "^2.0.3" - is-arguments "^1.0.4" - is-generator-function "^1.0.7" - is-typed-array "^1.1.3" - which-typed-array "^1.1.2" - utils-merge@1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713" @@ -5942,11 +5557,6 @@ v8flags@~3.2.0: dependencies: homedir-polyfill "^1.0.1" -vary@^1: - version "1.1.2" - resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" - integrity sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg== - verror@1.10.0: version "1.10.0" resolved "https://registry.yarnpkg.com/verror/-/verror-1.10.0.tgz#3a105ca17053af55d6e270c1f8288682e18da400" @@ -5974,15 +5584,60 @@ vfile@^4.0.0: unist-util-stringify-position "^2.0.0" vfile-message "^2.0.0" -vm-browserify@^1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/vm-browserify/-/vm-browserify-1.1.2.tgz#78641c488b8e6ca91a75f511e7a3b32a86e5dda0" - integrity sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ== - -void-elements@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/void-elements/-/void-elements-2.0.1.tgz#c066afb582bb1cb4128d60ea92392e94d5e9dbec" - integrity sha512-qZKX4RnBzH2ugr8Lxa7x+0V6XD9Sb/ouARtiasEQCHB1EVU4NXtmHsDDrx1dO4ne5fc3J6EW05BP1Dl0z0iung== +vite-node@2.1.9: + version "2.1.9" + resolved "https://registry.npmjs.org/vite-node/-/vite-node-2.1.9.tgz#549710f76a643f1c39ef34bdb5493a944e4f895f" + integrity sha512-AM9aQ/IPrW/6ENLQg3AGY4K1N2TGZdR5e4gu/MmmR2xR3Ll1+dib+nook92g4TV3PXVyeyxdWwtaCAiUL0hMxA== + dependencies: + cac "^6.7.14" + debug "^4.3.7" + es-module-lexer "^1.5.4" + pathe "^1.1.2" + vite "^5.0.0" + +vite@^5.0.0: + version "5.4.19" + resolved "https://registry.npmjs.org/vite/-/vite-5.4.19.tgz#20efd060410044b3ed555049418a5e7d1998f959" + integrity sha512-qO3aKv3HoQC8QKiNSTuUM1l9o/XX3+c+VTgLHbJWHZGeTPVAg2XwazI9UWzoxjIJCGCV2zU60uqMzjeLZuULqA== + dependencies: + esbuild "^0.21.3" + postcss "^8.4.43" + rollup "^4.20.0" + optionalDependencies: + fsevents "~2.3.3" + +vitest@^2.0.5: + version "2.1.9" + resolved "https://registry.npmjs.org/vitest/-/vitest-2.1.9.tgz#7d01ffd07a553a51c87170b5e80fea3da7fb41e7" + integrity sha512-MSmPM9REYqDGBI8439mA4mWhV5sKmDlBKWIYbA3lRb2PTHACE0mgKwA8yQ2xq9vxDTuk4iPrECBAEW2aoFXY0Q== + dependencies: + "@vitest/expect" "2.1.9" + "@vitest/mocker" "2.1.9" + "@vitest/pretty-format" "^2.1.9" + "@vitest/runner" "2.1.9" + "@vitest/snapshot" "2.1.9" + "@vitest/spy" "2.1.9" + "@vitest/utils" "2.1.9" + chai "^5.1.2" + debug "^4.3.7" + expect-type "^1.1.0" + magic-string "^0.30.12" + pathe "^1.1.2" + std-env "^3.8.0" + tinybench "^2.9.0" + tinyexec "^0.3.1" + tinypool "^1.0.1" + tinyrainbow "^1.2.0" + vite "^5.0.0" + vite-node "2.1.9" + why-is-node-running "^2.3.0" + +w3c-xmlserializer@^5.0.0: + version "5.0.0" + resolved "https://registry.npmjs.org/w3c-xmlserializer/-/w3c-xmlserializer-5.0.0.tgz#f925ba26855158594d907313cedd1476c5967f6c" + integrity sha512-o8qghlI8NZHU1lLPrpi2+Uq7abh4GGPpYANlalzWxyWteJOCsr/P+oPBA49TOLu5FTZO4d3F9MnWJfiMo4BkmA== + dependencies: + xml-name-validator "^5.0.0" watchpack@^2.4.1: version "2.4.2" @@ -5992,13 +5647,6 @@ watchpack@^2.4.1: glob-to-regexp "^0.4.1" graceful-fs "^4.1.2" -wcwidth@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/wcwidth/-/wcwidth-1.0.1.tgz#f0b0dcf915bc5ff1528afadb2c0e17b532da2fe8" - integrity sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg== - dependencies: - defaults "^1.0.3" - webdriver-js-extender@2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/webdriver-js-extender/-/webdriver-js-extender-2.1.0.tgz#57d7a93c00db4cc8d556e4d3db4b5db0a80c3bb7" @@ -6024,6 +5672,11 @@ webdriver-manager@^12.0.6, webdriver-manager@^12.1.7: semver "^5.3.0" xml2js "^0.4.17" +webidl-conversions@^7.0.0: + version "7.0.0" + resolved "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-7.0.0.tgz#256b4e1882be7debbf01d05f0aa2039778ea080a" + integrity sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g== + webpack-cli@^5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/webpack-cli/-/webpack-cli-5.0.1.tgz#95fc0495ac4065e9423a722dec9175560b6f2d9a" @@ -6111,37 +5764,37 @@ websocket-stream@^5.0.1: ws "^3.2.0" xtend "^4.0.0" +whatwg-encoding@^3.1.1: + version "3.1.1" + resolved "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-3.1.1.tgz#d0f4ef769905d426e1688f3e34381a99b60b76e5" + integrity sha512-6qN4hJdMwfYBtE3YBTTHhoeuUrDBPZmbQaxWAqSALV/MeEnR5z1xd8UKud2RAkFoPkmB+hli1TZSnyi84xz1vQ== + dependencies: + iconv-lite "0.6.3" + +whatwg-mimetype@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-3.0.0.tgz#5fa1a7623867ff1af6ca3dc72ad6b8a4208beba7" + integrity sha512-nt+N2dzIutVRxARx1nghPKGv1xHikU7HKdfafKkLNLindmPU/ch3U31NOCGGA/dmPcmb1VlofO0vnKAcsm0o/Q== + +whatwg-mimetype@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-4.0.0.tgz#bc1bf94a985dc50388d54a9258ac405c3ca2fc0a" + integrity sha512-QaKxh0eNIi2mE9p2vEdzfagOKHCcj1pJ56EEHGQOVxp8r9/iszLUUV7v89x9O1p/T+NlTM5W7jW6+cz4Fq1YVg== + +whatwg-url@^14.0.0: + version "14.2.0" + resolved "https://registry.npmjs.org/whatwg-url/-/whatwg-url-14.2.0.tgz#4ee02d5d725155dae004f6ae95c73e7ef5d95663" + integrity sha512-De72GdQZzNTUBBChsXueQUnPKDkg/5A5zp7pFDuQAj5UFoENpiACU0wlCvzpAGnTkj++ihpKwKyYewn/XNUbKw== + dependencies: + tr46 "^5.1.0" + webidl-conversions "^7.0.0" + which-module@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a" integrity sha512-B+enWhmw6cjfVC7kS8Pj9pCrKSc5txArRyaYGe088shv/FGWH+0Rjx/xPgtsWfsUtS27FkP697E4DDhgrgoc0Q== -which-typed-array@^1.1.16: - version "1.1.19" - resolved "https://registry.yarnpkg.com/which-typed-array/-/which-typed-array-1.1.19.tgz#df03842e870b6b88e117524a4b364b6fc689f956" - integrity sha512-rEvr90Bck4WZt9HHFC4DJMsjvu7x+r6bImz0/BrbWb7A2djJ8hnZMrWnHo9F8ssv0OMErasDhftrfROTyqSDrw== - dependencies: - available-typed-arrays "^1.0.7" - call-bind "^1.0.8" - call-bound "^1.0.4" - for-each "^0.3.5" - get-proto "^1.0.1" - gopd "^1.2.0" - has-tostringtag "^1.0.2" - -which-typed-array@^1.1.2: - version "1.1.9" - resolved "https://registry.yarnpkg.com/which-typed-array/-/which-typed-array-1.1.9.tgz#307cf898025848cf995e795e8423c7f337efbde6" - integrity sha512-w9c4xkx6mPidwp7180ckYWfMmvxpjlZuIudNtDf4N/tTAUB8VJbX25qZoAsrtGuYNnGw3pa0AXgbGKRB8/EceA== - dependencies: - available-typed-arrays "^1.0.5" - call-bind "^1.0.2" - for-each "^0.3.3" - gopd "^1.0.1" - has-tostringtag "^1.0.0" - is-typed-array "^1.1.10" - -which@^1.2.1, which@^1.2.14, which@^1.2.9: +which@^1.2.14, which@^1.2.9: version "1.3.1" resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ== @@ -6155,6 +5808,14 @@ which@^2.0.1, which@~2.0.2: dependencies: isexe "^2.0.0" +why-is-node-running@^2.3.0: + version "2.3.0" + resolved "https://registry.npmjs.org/why-is-node-running/-/why-is-node-running-2.3.0.tgz#a3f69a97107f494b3cdc3bdddd883a7d65cebf04" + integrity sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w== + dependencies: + siginfo "^2.0.0" + stackback "0.0.2" + wildcard@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/wildcard/-/wildcard-2.0.0.tgz#a77d20e5200c6faaac979e4b3aadc7b3dd7f8fec" @@ -6165,6 +5826,15 @@ word-wrap@^1.2.3: resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.4.tgz#cb4b50ec9aca570abd1f52f33cd45b6c61739a9f" integrity sha512-2V81OA4ugVo5pRo46hAoD2ivUJx8jXmWXfUkY4KFNw0hEptvN0QfH3K4nHiwzGeKl5rFKedV48QVoqYavy4YpA== +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": + version "7.0.0" + resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" + integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + wrap-ansi@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-2.1.0.tgz#d8fc3d284dd05794fe84973caecdd1cf824fdd85" @@ -6182,14 +5852,14 @@ wrap-ansi@^6.2.0: string-width "^4.1.0" strip-ansi "^6.0.0" -wrap-ansi@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" - integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== +wrap-ansi@^8.1.0: + version "8.1.0" + resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214" + integrity sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ== dependencies: - ansi-styles "^4.0.0" - string-width "^4.1.0" - strip-ansi "^6.0.0" + ansi-styles "^6.1.0" + string-width "^5.0.1" + strip-ansi "^7.0.1" wrappy@1: version "1.0.2" @@ -6205,15 +5875,15 @@ ws@^3.2.0: safe-buffer "~5.1.0" ultron "~1.1.0" -ws@~8.11.0: - version "8.11.0" - resolved "https://registry.yarnpkg.com/ws/-/ws-8.11.0.tgz#6a0d36b8edfd9f96d8b25683db2f8d7de6e8e143" - integrity sha512-HPG3wQd9sNQoT9xHyNCXoDUa+Xw/VevmY9FoHyQ+g+rrMn4j6FB4np7Z0OhdTgjx6MgQLK7jwSy1YecU1+4Asg== +ws@^8.18.0: + version "8.18.3" + resolved "https://registry.npmjs.org/ws/-/ws-8.18.3.tgz#b56b88abffde62791c639170400c93dcb0c95472" + integrity sha512-PEIGCY5tSlUt50cqyMXfCzX+oOPqN0vuGqWzbcJ2xvnkzkq46oOpz7dQaTDBdfICb4N14+GARUDw2XV2N4tvzg== -ws@~8.17.1: - version "8.17.1" - resolved "https://registry.yarnpkg.com/ws/-/ws-8.17.1.tgz#9293da530bb548febc95371d90f9c878727d919b" - integrity sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ== +xml-name-validator@^5.0.0: + version "5.0.0" + resolved "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-5.0.0.tgz#82be9b957f7afdacf961e5980f1bf227c0bf7673" + integrity sha512-EvGK8EJ3DhaHfbRlETOWAS5pO9MZITeauHKJyb8wyajUfQUenkIg2MvLDTZ4T/TgIcm3HU0TFBgWWboAZ30UHg== xml2js@^0.4.17: version "0.4.23" @@ -6228,7 +5898,12 @@ xmlbuilder@~11.0.0: resolved "https://registry.yarnpkg.com/xmlbuilder/-/xmlbuilder-11.0.1.tgz#be9bae1c8a046e76b31127726347d0ad7002beb3" integrity sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA== -xtend@^4.0.0, xtend@^4.0.2, xtend@~4.0.1: +xmlchars@^2.2.0: + version "2.2.0" + resolved "https://registry.npmjs.org/xmlchars/-/xmlchars-2.2.0.tgz#060fe1bcb7f9c76fe2a17db86a9bc3ab894210cb" + integrity sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw== + +xtend@^4.0.0, xtend@~4.0.1: version "4.0.2" resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54" integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ== @@ -6238,16 +5913,6 @@ xtend@^4.0.0, xtend@^4.0.2, xtend@~4.0.1: resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.3.tgz#b5f259c82cd6e336921efd7bfd8bf560de9eeedf" integrity sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ== -y18n@^5.0.5: - version "5.0.8" - resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55" - integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA== - -yallist@^3.0.2: - version "3.1.1" - resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd" - integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g== - yallist@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" @@ -6274,11 +5939,6 @@ yargs-parser@^18.1.2: camelcase "^5.0.0" decamelize "^1.2.0" -yargs-parser@^20.2.2: - version "20.2.9" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.9.tgz#2eb7dc3b0289718fc295f362753845c41a0c94ee" - integrity sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w== - yargs@^12.0.5: version "12.0.5" resolved "https://registry.yarnpkg.com/yargs/-/yargs-12.0.5.tgz#05f5997b609647b64f66b81e3b4b10a368e7ad13" @@ -6314,19 +5974,6 @@ yargs@^15.3.1: y18n "^4.0.0" yargs-parser "^18.1.2" -yargs@^16.1.1: - version "16.2.0" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-16.2.0.tgz#1c82bf0f6b6a66eafce7ef30e376f49a12477f66" - integrity sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw== - dependencies: - cliui "^7.0.2" - escalade "^3.1.1" - get-caller-file "^2.0.5" - require-directory "^2.1.1" - string-width "^4.2.0" - y18n "^5.0.5" - yargs-parser "^20.2.2" - yocto-queue@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b" From 5b89b38257c49db604d2d4f1f96455cafb95a1ba Mon Sep 17 00:00:00 2001 From: Alain Dumesny Date: Wed, 13 Aug 2025 13:58:13 -0700 Subject: [PATCH 077/235] fix Util:removeInternalForSave() to skip arrays * since we don't know how to hydrate arrays (unlike object spread operator '...') skip them) --- doc/API.md | 26 +++++++++++++------------- doc/CHANGES.md | 4 ++++ spec/utils-spec.ts | 28 +++++++++++++++++++++++++++- src/utils.ts | 2 ++ 4 files changed, 46 insertions(+), 14 deletions(-) diff --git a/doc/API.md b/doc/API.md index 1f477847f..1288b3f86 100644 --- a/doc/API.md +++ b/doc/API.md @@ -2845,7 +2845,7 @@ new Utils(): Utils; static addElStyles(el, styles): void; ``` -Defined in: [utils.ts:690](https://github.com/adumesny/gridstack.js/blob/master/src/utils.ts#L690) +Defined in: [utils.ts:692](https://github.com/adumesny/gridstack.js/blob/master/src/utils.ts#L692) ###### Parameters @@ -2864,7 +2864,7 @@ Defined in: [utils.ts:690](https://github.com/adumesny/gridstack.js/blob/master/ static appendTo(el, parent): void; ``` -Defined in: [utils.ts:672](https://github.com/adumesny/gridstack.js/blob/master/src/utils.ts#L672) +Defined in: [utils.ts:674](https://github.com/adumesny/gridstack.js/blob/master/src/utils.ts#L674) ###### Parameters @@ -2943,7 +2943,7 @@ const overlap = Utils.areaIntercept( static canBeRotated(n): boolean; ``` -Defined in: [utils.ts:793](https://github.com/adumesny/gridstack.js/blob/master/src/utils.ts#L793) +Defined in: [utils.ts:795](https://github.com/adumesny/gridstack.js/blob/master/src/utils.ts#L795) true if the item can be rotated (checking for prop, not space available) @@ -2963,7 +2963,7 @@ true if the item can be rotated (checking for prop, not space available) static clone(obj): T; ``` -Defined in: [utils.ts:635](https://github.com/adumesny/gridstack.js/blob/master/src/utils.ts#L635) +Defined in: [utils.ts:637](https://github.com/adumesny/gridstack.js/blob/master/src/utils.ts#L637) single level clone, returning a new object with same top fields. This will share sub objects and arrays @@ -2989,7 +2989,7 @@ single level clone, returning a new object with same top fields. This will share static cloneDeep(obj): T; ``` -Defined in: [utils.ts:651](https://github.com/adumesny/gridstack.js/blob/master/src/utils.ts#L651) +Defined in: [utils.ts:653](https://github.com/adumesny/gridstack.js/blob/master/src/utils.ts#L653) Recursive clone version that returns a full copy, checking for nested objects and arrays ONLY. Note: this will use as-is any key starting with double __ (and not copy inside) some lib have circular dependencies. @@ -3016,7 +3016,7 @@ Note: this will use as-is any key starting with double __ (and not copy inside) static cloneNode(el): HTMLElement; ``` -Defined in: [utils.ts:666](https://github.com/adumesny/gridstack.js/blob/master/src/utils.ts#L666) +Defined in: [utils.ts:668](https://github.com/adumesny/gridstack.js/blob/master/src/utils.ts#L668) deep clone the given HTML node, removing teh unique id field @@ -3226,7 +3226,7 @@ const fromShadow = Utils.getElements('.item', shadowRoot); static getValuesFromTransformedElement(parent): DragTransform; ``` -Defined in: [utils.ts:750](https://github.com/adumesny/gridstack.js/blob/master/src/utils.ts#L750) +Defined in: [utils.ts:752](https://github.com/adumesny/gridstack.js/blob/master/src/utils.ts#L752) defines an element that is used to get the offset and scale from grid transforms returns the scale and offsets from said element @@ -3247,7 +3247,7 @@ returns the scale and offsets from said element static initEvent(e, info): T; ``` -Defined in: [utils.ts:707](https://github.com/adumesny/gridstack.js/blob/master/src/utils.ts#L707) +Defined in: [utils.ts:709](https://github.com/adumesny/gridstack.js/blob/master/src/utils.ts#L709) ###### Type Parameters @@ -3420,7 +3420,7 @@ removes field from the first object if same as the second objects (like diffing) static removeInternalForSave(n, removeEl): void; ``` -Defined in: [utils.ts:509](https://github.com/adumesny/gridstack.js/blob/master/src/utils.ts#L509) +Defined in: [utils.ts:511](https://github.com/adumesny/gridstack.js/blob/master/src/utils.ts#L511) removes internal fields '_' and default values for saving @@ -3441,7 +3441,7 @@ removes internal fields '_' and default values for saving static removePositioningStyles(el): void; ``` -Defined in: [utils.ts:542](https://github.com/adumesny/gridstack.js/blob/master/src/utils.ts#L542) +Defined in: [utils.ts:544](https://github.com/adumesny/gridstack.js/blob/master/src/utils.ts#L544) ###### Parameters @@ -3565,7 +3565,7 @@ static simulateMouseEvent( target?): void; ``` -Defined in: [utils.ts:723](https://github.com/adumesny/gridstack.js/blob/master/src/utils.ts#L723) +Defined in: [utils.ts:725](https://github.com/adumesny/gridstack.js/blob/master/src/utils.ts#L725) copies the MouseEvent (or convert Touch) properties and sends it as another event to the given target @@ -3620,7 +3620,7 @@ static swap( b): void; ``` -Defined in: [utils.ts:774](https://github.com/adumesny/gridstack.js/blob/master/src/utils.ts#L774) +Defined in: [utils.ts:776](https://github.com/adumesny/gridstack.js/blob/master/src/utils.ts#L776) swap the given object 2 field values @@ -3642,7 +3642,7 @@ swap the given object 2 field values static throttle(func, delay): () => void; ``` -Defined in: [utils.ts:532](https://github.com/adumesny/gridstack.js/blob/master/src/utils.ts#L532) +Defined in: [utils.ts:534](https://github.com/adumesny/gridstack.js/blob/master/src/utils.ts#L534) delay calling the given function for given delay, preventing new calls from happening while waiting diff --git a/doc/CHANGES.md b/doc/CHANGES.md index dc2755aa6..8402fad96 100644 --- a/doc/CHANGES.md +++ b/doc/CHANGES.md @@ -5,6 +5,7 @@ Change log **Table of Contents** *generated with [DocToc](http://doctoc.herokuapp.com/)* +- [12.3.2-dev (TBD)](#1232-dev-tbd) - [12.3.2 (2025-08-12)](#1232-2025-08-12) - [12.3.1 (2025-08-11)](#1231-2025-08-11) - [12.3.0 (2025-08-10)](#1230-2025-08-10) @@ -133,6 +134,9 @@ Change log +## 12.3.2-dev (TBD) +* fix: [#3139](https://github.com/gridstack/gridstack.js/pull/3139) `Utils:removeInternalForSave()` to skip arrays + ## 12.3.2 (2025-08-12) * fix: [#3136](https://github.com/gridstack/gridstack.js/pull/3136) more tweaks to save(columnCount) option. diff --git a/spec/utils-spec.ts b/spec/utils-spec.ts index 6c07a675b..cf929a49b 100644 --- a/spec/utils-spec.ts +++ b/spec/utils-spec.ts @@ -225,5 +225,31 @@ describe('gridstack utils', () => { expect(f).toEqual({first: 1, _dontskip: {second: 2}}); expect(z).toEqual({first: 1, _dontskip: {second: 'two'}}); }); - }); + }); + describe('removeInternalAndSame', () => { + it('should remove internal and same', () => { + const a = {first: 1, second: 'text', _skip: {second: 2}, arr: [1, 'second', 3]}; + const b = {first: 1, second: 'text'}; + Utils.removeInternalAndSame(a, b); + expect(a).toEqual({arr: [1, 'second', 3]}); + }); + it('should not remove items in an array', () => { + const a = {arr: [1, 2, 3]}; + const b = {arr: [1, 3]}; + Utils.removeInternalAndSame(a, b); + expect(a).toEqual({arr: [1, 2, 3]}); + }); + it('should remove nested object, and make empty', () => { + const a = {obj1: {first: 1, nested: {second: 2}}, obj2: {first: 1, second: 2}}; + const b = {obj1: {first: 1, nested: {second: 2}}, obj2: {first: 1, second: 2}}; + Utils.removeInternalAndSame(a, b); + expect(a).toEqual({}); + }); + it('should remove nested object, and make empty - part 2', () => { + const a = {obj1: {first: 1, nested: {second: 2}}, obj2: {first: 1, second: 2}}; + const b = {obj1: {first: 1}, obj2: {first: 1, second: 2}}; + Utils.removeInternalAndSame(a, b); + expect(a).toEqual({obj1: {nested: {second: 2}}}); + }); + }); }); diff --git a/src/utils.ts b/src/utils.ts index 97dd96a2f..b8e9803e5 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -493,6 +493,8 @@ export class Utils { /** removes field from the first object if same as the second objects (like diffing) and internal '_' for saving */ static removeInternalAndSame(a: unknown, b: unknown):void { if (typeof a !== 'object' || typeof b !== 'object') return; + // skip arrays as we don't know how to hydrate them (unlike object spread operator) + if (Array.isArray(a) || Array.isArray(b)) return; for (let key in a) { const aVal = a[key]; const bVal = b[key]; From 21651da2c1c95f3979f43b0a4eb2a134a9325923 Mon Sep 17 00:00:00 2001 From: Alain Dumesny Date: Wed, 13 Aug 2025 18:59:17 -0700 Subject: [PATCH 078/235] v12.3.3 --- angular/doc/api/index.md | 2 +- angular/package.json | 2 +- angular/projects/lib/package.json | 2 +- angular/projects/lib/src/lib/base-widget.ts | 2 +- angular/projects/lib/src/lib/gridstack-item.component.ts | 2 +- angular/projects/lib/src/lib/gridstack.component.ts | 2 +- angular/projects/lib/src/lib/gridstack.module.ts | 2 +- angular/projects/lib/src/lib/types.ts | 2 +- angular/yarn.lock | 8 ++++---- doc/API.md | 2 +- doc/CHANGES.md | 4 ++-- package.json | 2 +- react/package.json | 2 +- react/yarn.lock | 8 ++++---- src/dd-base-impl.ts | 2 +- src/dd-draggable.ts | 2 +- src/dd-droppable.ts | 2 +- src/dd-element.ts | 2 +- src/dd-gridstack.ts | 2 +- src/dd-manager.ts | 2 +- src/dd-resizable-handle.ts | 2 +- src/dd-resizable.ts | 2 +- src/dd-touch.ts | 2 +- src/gridstack-engine.ts | 2 +- src/gridstack.scss | 2 +- src/gridstack.ts | 4 ++-- src/types.ts | 2 +- src/utils.ts | 2 +- 28 files changed, 36 insertions(+), 36 deletions(-) diff --git a/angular/doc/api/index.md b/angular/doc/api/index.md index 719abb3a1..ab8b329c4 100644 --- a/angular/doc/api/index.md +++ b/angular/doc/api/index.md @@ -1,4 +1,4 @@ -# GridStack Angular Library v12.3.2 +# GridStack Angular Library v12.3.3 ## Modules diff --git a/angular/package.json b/angular/package.json index 1e1e472b2..01287315a 100644 --- a/angular/package.json +++ b/angular/package.json @@ -21,7 +21,7 @@ "@angular/platform-browser": "^14", "@angular/platform-browser-dynamic": "^14", "@angular/router": "^14", - "gridstack": "^12.3.2", + "gridstack": "^12.3.3", "rxjs": "~7.5.0", "tslib": "^2.3.0", "zone.js": "~0.11.4" diff --git a/angular/projects/lib/package.json b/angular/projects/lib/package.json index f48550891..13688e7c8 100644 --- a/angular/projects/lib/package.json +++ b/angular/projects/lib/package.json @@ -1,6 +1,6 @@ { "name": "gridstack-angular", - "version": "12.3.2", + "version": "12.3.3", "peerDependencies": { "@angular/common": ">=14", "@angular/core": ">=14" diff --git a/angular/projects/lib/src/lib/base-widget.ts b/angular/projects/lib/src/lib/base-widget.ts index f2caf2a8d..f903ef373 100644 --- a/angular/projects/lib/src/lib/base-widget.ts +++ b/angular/projects/lib/src/lib/base-widget.ts @@ -1,5 +1,5 @@ /** - * gridstack-item.component.ts 12.3.2 + * gridstack-item.component.ts 12.3.3 * Copyright (c) 2022-2024 Alain Dumesny - see GridStack root license */ diff --git a/angular/projects/lib/src/lib/gridstack-item.component.ts b/angular/projects/lib/src/lib/gridstack-item.component.ts index b6f7cbab2..18653a917 100644 --- a/angular/projects/lib/src/lib/gridstack-item.component.ts +++ b/angular/projects/lib/src/lib/gridstack-item.component.ts @@ -1,5 +1,5 @@ /** - * gridstack-item.component.ts 12.3.2 + * gridstack-item.component.ts 12.3.3 * Copyright (c) 2022-2024 Alain Dumesny - see GridStack root license */ diff --git a/angular/projects/lib/src/lib/gridstack.component.ts b/angular/projects/lib/src/lib/gridstack.component.ts index 82bdeeb28..f129aab40 100644 --- a/angular/projects/lib/src/lib/gridstack.component.ts +++ b/angular/projects/lib/src/lib/gridstack.component.ts @@ -1,5 +1,5 @@ /** - * gridstack.component.ts 12.3.2 + * gridstack.component.ts 12.3.3 * Copyright (c) 2022-2024 Alain Dumesny - see GridStack root license */ diff --git a/angular/projects/lib/src/lib/gridstack.module.ts b/angular/projects/lib/src/lib/gridstack.module.ts index 3d3eb1051..1add6e9f2 100644 --- a/angular/projects/lib/src/lib/gridstack.module.ts +++ b/angular/projects/lib/src/lib/gridstack.module.ts @@ -1,5 +1,5 @@ /** - * gridstack.component.ts 12.3.2 + * gridstack.component.ts 12.3.3 * Copyright (c) 2022-2024 Alain Dumesny - see GridStack root license */ diff --git a/angular/projects/lib/src/lib/types.ts b/angular/projects/lib/src/lib/types.ts index 5c4901c43..a02d6b08c 100644 --- a/angular/projects/lib/src/lib/types.ts +++ b/angular/projects/lib/src/lib/types.ts @@ -1,5 +1,5 @@ /** - * gridstack-item.component.ts 12.3.2 + * gridstack-item.component.ts 12.3.3 * Copyright (c) 2025 Alain Dumesny - see GridStack root license */ diff --git a/angular/yarn.lock b/angular/yarn.lock index de2889954..72d162b27 100644 --- a/angular/yarn.lock +++ b/angular/yarn.lock @@ -3752,10 +3752,10 @@ graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.4, resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3" integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ== -gridstack@^12.3.2: - version "12.3.2" - resolved "https://registry.yarnpkg.com/gridstack/-/gridstack-12.3.2.tgz#c07ed3720d7e6d58234f9a7286d3b5e49cf2d49d" - integrity sha512-NWVpKO27vkivcP4pzVAyrrip4njrTEB2hNQGLxfgGM/kGBA/GnBWwqo3etnRtODMAxQj7iN3yX3ildmsciLC8Q== +gridstack@^12.3.3: + version "12.3.3" + resolved "https://registry.yarnpkg.com/gridstack/-/gridstack-12.3.3.tgz#0c4fc3cdf6e1c16e6095bc79ff7240a590d2c200" + integrity sha512-Bboi4gj7HXGnx1VFXQNde4Nwi5srdUSuCCnOSszKhFjBs8EtMEWhsKX02BjIKkErq/FjQUkNUbXUYeQaVMQ0jQ== handle-thing@^2.0.0: version "2.0.1" diff --git a/doc/API.md b/doc/API.md index 1288b3f86..737b25749 100644 --- a/doc/API.md +++ b/doc/API.md @@ -1,4 +1,4 @@ -# gridstack v12.3.2 +# gridstack v12.3.3 ## Classes diff --git a/doc/CHANGES.md b/doc/CHANGES.md index 8402fad96..e40bc1f0e 100644 --- a/doc/CHANGES.md +++ b/doc/CHANGES.md @@ -5,7 +5,7 @@ Change log **Table of Contents** *generated with [DocToc](http://doctoc.herokuapp.com/)* -- [12.3.2-dev (TBD)](#1232-dev-tbd) +- [12.3.3 (2025-08-13)](#1233-2025-08-13) - [12.3.2 (2025-08-12)](#1232-2025-08-12) - [12.3.1 (2025-08-11)](#1231-2025-08-11) - [12.3.0 (2025-08-10)](#1230-2025-08-10) @@ -134,7 +134,7 @@ Change log -## 12.3.2-dev (TBD) +## 12.3.3 (2025-08-13) * fix: [#3139](https://github.com/gridstack/gridstack.js/pull/3139) `Utils:removeInternalForSave()` to skip arrays ## 12.3.2 (2025-08-12) diff --git a/package.json b/package.json index bfe606c4b..37cffb954 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gridstack", - "version": "12.3.2", + "version": "12.3.3", "license": "MIT", "author": "Alain Dumesny (https://github.com/adumesny)", "contributors": [ diff --git a/react/package.json b/react/package.json index 570b48d8e..f76ad2dac 100644 --- a/react/package.json +++ b/react/package.json @@ -13,7 +13,7 @@ "test:ui": "vitest --ui" }, "dependencies": { - "gridstack": "^12.3.2", + "gridstack": "^12.3.3", "react": "^18.3.1", "react-dom": "^18.3.1", "react-fast-compare": "^3.2.2", diff --git a/react/yarn.lock b/react/yarn.lock index d45840e47..cf2d504ac 100644 --- a/react/yarn.lock +++ b/react/yarn.lock @@ -1335,10 +1335,10 @@ graphemer@^1.4.0: resolved "https://registry.yarnpkg.com/graphemer/-/graphemer-1.4.0.tgz#fb2f1d55e0e3a1849aeffc90c4fa0dd53a0e66c6" integrity sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag== -gridstack@^12.3.2: - version "12.3.2" - resolved "https://registry.yarnpkg.com/gridstack/-/gridstack-12.3.2.tgz#c07ed3720d7e6d58234f9a7286d3b5e49cf2d49d" - integrity sha512-NWVpKO27vkivcP4pzVAyrrip4njrTEB2hNQGLxfgGM/kGBA/GnBWwqo3etnRtODMAxQj7iN3yX3ildmsciLC8Q== +gridstack@^12.3.3: + version "12.3.3" + resolved "https://registry.yarnpkg.com/gridstack/-/gridstack-12.3.3.tgz#0c4fc3cdf6e1c16e6095bc79ff7240a590d2c200" + integrity sha512-Bboi4gj7HXGnx1VFXQNde4Nwi5srdUSuCCnOSszKhFjBs8EtMEWhsKX02BjIKkErq/FjQUkNUbXUYeQaVMQ0jQ== has-flag@^4.0.0: version "4.0.0" diff --git a/src/dd-base-impl.ts b/src/dd-base-impl.ts index 9d2f95a02..f85dcc28f 100644 --- a/src/dd-base-impl.ts +++ b/src/dd-base-impl.ts @@ -1,5 +1,5 @@ /** - * dd-base-impl.ts 12.3.2 + * dd-base-impl.ts 12.3.3 * Copyright (c) 2021-2025 Alain Dumesny - see GridStack root license */ diff --git a/src/dd-draggable.ts b/src/dd-draggable.ts index 30c2ec781..f1abe6303 100644 --- a/src/dd-draggable.ts +++ b/src/dd-draggable.ts @@ -1,5 +1,5 @@ /** - * dd-draggable.ts 12.3.2 + * dd-draggable.ts 12.3.3 * Copyright (c) 2021-2025 Alain Dumesny - see GridStack root license */ diff --git a/src/dd-droppable.ts b/src/dd-droppable.ts index 3506d3ca3..e2f80b2a9 100644 --- a/src/dd-droppable.ts +++ b/src/dd-droppable.ts @@ -1,5 +1,5 @@ /** - * dd-droppable.ts 12.3.2 + * dd-droppable.ts 12.3.3 * Copyright (c) 2021-2025 Alain Dumesny - see GridStack root license */ diff --git a/src/dd-element.ts b/src/dd-element.ts index 2842396a9..7e256b8b8 100644 --- a/src/dd-element.ts +++ b/src/dd-element.ts @@ -1,5 +1,5 @@ /** - * dd-elements.ts 12.3.2 + * dd-elements.ts 12.3.3 * Copyright (c) 2021-2025 Alain Dumesny - see GridStack root license */ diff --git a/src/dd-gridstack.ts b/src/dd-gridstack.ts index 07527694c..70ca8ed95 100644 --- a/src/dd-gridstack.ts +++ b/src/dd-gridstack.ts @@ -1,5 +1,5 @@ /** - * dd-gridstack.ts 12.3.2 + * dd-gridstack.ts 12.3.3 * Copyright (c) 2021-2025 Alain Dumesny - see GridStack root license */ diff --git a/src/dd-manager.ts b/src/dd-manager.ts index 054d2891a..d0e63d839 100644 --- a/src/dd-manager.ts +++ b/src/dd-manager.ts @@ -1,5 +1,5 @@ /** - * dd-manager.ts 12.3.2 + * dd-manager.ts 12.3.3 * Copyright (c) 2021-2025 Alain Dumesny - see GridStack root license */ diff --git a/src/dd-resizable-handle.ts b/src/dd-resizable-handle.ts index d74502a4c..d4137e4c4 100644 --- a/src/dd-resizable-handle.ts +++ b/src/dd-resizable-handle.ts @@ -1,5 +1,5 @@ /** - * dd-resizable-handle.ts 12.3.2 + * dd-resizable-handle.ts 12.3.3 * Copyright (c) 2021-2025 Alain Dumesny - see GridStack root license */ diff --git a/src/dd-resizable.ts b/src/dd-resizable.ts index 7a715dad3..2f1f3ca35 100644 --- a/src/dd-resizable.ts +++ b/src/dd-resizable.ts @@ -1,5 +1,5 @@ /** - * dd-resizable.ts 12.3.2 + * dd-resizable.ts 12.3.3 * Copyright (c) 2021-2025 Alain Dumesny - see GridStack root license */ diff --git a/src/dd-touch.ts b/src/dd-touch.ts index 7b5871836..be7f0180d 100644 --- a/src/dd-touch.ts +++ b/src/dd-touch.ts @@ -1,5 +1,5 @@ /** - * touch.ts 12.3.2 + * touch.ts 12.3.3 * Copyright (c) 2021-2025 Alain Dumesny - see GridStack root license */ diff --git a/src/gridstack-engine.ts b/src/gridstack-engine.ts index 41c087d08..45d73c298 100644 --- a/src/gridstack-engine.ts +++ b/src/gridstack-engine.ts @@ -1,5 +1,5 @@ /** - * gridstack-engine.ts 12.3.2 + * gridstack-engine.ts 12.3.3 * Copyright (c) 2021-2025 Alain Dumesny - see GridStack root license */ diff --git a/src/gridstack.scss b/src/gridstack.scss index e4484bcd1..da69257c9 100644 --- a/src/gridstack.scss +++ b/src/gridstack.scss @@ -1,5 +1,5 @@ /** - * gridstack SASS styles 12.3.2 + * gridstack SASS styles 12.3.3 * Copyright (c) 2021-2025 Alain Dumesny - see GridStack root license */ diff --git a/src/gridstack.ts b/src/gridstack.ts index fcbeaf3bc..8401f434d 100644 --- a/src/gridstack.ts +++ b/src/gridstack.ts @@ -1,5 +1,5 @@ /*! - * GridStack 12.3.2 + * GridStack 12.3.3 * https://gridstackjs.com/ * * Copyright (c) 2021-2025 Alain Dumesny @@ -2168,7 +2168,7 @@ export class GridStack { } /** @internal current version compiled in code */ - static GDRev = '12.3.2'; + static GDRev = '12.3.3'; /* =========================================================================================== * drag&drop methods that used to be stubbed out and implemented in dd-gridstack.ts diff --git a/src/types.ts b/src/types.ts index f2b67ce30..cd48102bb 100644 --- a/src/types.ts +++ b/src/types.ts @@ -1,5 +1,5 @@ /** - * types.ts 12.3.2 + * types.ts 12.3.3 * Copyright (c) 2021-2025 Alain Dumesny - see GridStack root license */ diff --git a/src/utils.ts b/src/utils.ts index b8e9803e5..024dbafd2 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -1,5 +1,5 @@ /** - * utils.ts 12.3.2 + * utils.ts 12.3.3 * Copyright (c) 2021-2025 Alain Dumesny - see GridStack root license */ From 7053ec67f677a43b5bfc6efd828ef35e5b7a3319 Mon Sep 17 00:00:00 2001 From: Alain Dumesny Date: Sun, 17 Aug 2025 19:18:32 -0700 Subject: [PATCH 079/235] doc fixes --- .github/workflows/deploy-docs.yml | 4 ++-- tsconfig.docs.json | 18 ++++++++++++++++++ typedoc.html.json | 1 + typedoc.json | 1 + 4 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 tsconfig.docs.json diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index a7063434f..d1332c7d1 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -39,10 +39,10 @@ jobs: run: | grunt webpack - tsc --stripInternal + tsc --project tsconfig.docs.json --stripInternal - name: Generate all documentation - run: yarn doc:all + run: yarn doc - name: Prepare deployment structure run: | diff --git a/tsconfig.docs.json b/tsconfig.docs.json new file mode 100644 index 000000000..04a20945b --- /dev/null +++ b/tsconfig.docs.json @@ -0,0 +1,18 @@ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "skipLibCheck": true, + "types": [] + }, + "include": [ + "./src/**/*.ts" + ], + "exclude": [ + "./src/**/*.spec.ts", + "./src/**/*.test.ts", + "./spec/**/*", + "./angular/**/*", + "./demo/**/*", + "./node_modules/**/*" + ] +} diff --git a/typedoc.html.json b/typedoc.html.json index 46651938d..cb6c98586 100644 --- a/typedoc.html.json +++ b/typedoc.html.json @@ -1,6 +1,7 @@ { "$schema": "https://typedoc.org/schema.json", "entryPoints": ["src/gridstack.ts"], + "tsconfig": "tsconfig.docs.json", "excludeExternals": false, "out": "doc/html", "exclude": [ diff --git a/typedoc.json b/typedoc.json index 9b949f035..16a413246 100644 --- a/typedoc.json +++ b/typedoc.json @@ -1,6 +1,7 @@ { "$schema": "https://typedoc.org/schema.json", "entryPoints": ["src/gridstack.ts"], + "tsconfig": "tsconfig.docs.json", "excludeExternals": false, "out": "doc", "plugin": ["typedoc-plugin-markdown"], From 304ffb1db8f156ca27d7db7bde12c20d7d2ae262 Mon Sep 17 00:00:00 2001 From: Alain Dumesny Date: Sun, 17 Aug 2025 19:28:22 -0700 Subject: [PATCH 080/235] fix sync-docs workflow to work on adumesny/gridstack.js fork - Changed repository check from gridstack/gridstack.js to adumesny/gridstack.js - Fixed doc path from docs/html to doc/html to match expected structure - This will enable automatic syncing of documentation from master to gh-pages --- .github/workflows/sync-docs.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/sync-docs.yml b/.github/workflows/sync-docs.yml index 31fe83318..99bef399c 100644 --- a/.github/workflows/sync-docs.yml +++ b/.github/workflows/sync-docs.yml @@ -12,7 +12,7 @@ on: jobs: sync-docs: runs-on: ubuntu-latest - if: github.repository == 'gridstack/gridstack.js' + if: github.repository == 'adumesny/gridstack.js' steps: - name: Checkout master branch @@ -53,19 +53,17 @@ jobs: run: | echo "Syncing main library documentation..." - # Remove existing docs directory if it exists - if [ -d "docs/html" ]; then - rm -rf docs/html + # Remove existing doc/html directory if it exists + if [ -d "doc/html" ]; then + rm -rf doc/html fi # Extract docs from master branch using git archive - mkdir -p docs + mkdir -p doc git archive master doc/html | tar -xf - - mv doc/html docs/html - rm -rf doc # Add changes - git add docs/html + git add doc/html - name: Sync Angular documentation if: steps.check-docs.outputs.angular_docs == 'true' From d3e2e061acec4ff7c629eb574054f86536a6322b Mon Sep 17 00:00:00 2001 From: Alain Dumesny Date: Sun, 17 Aug 2025 20:12:11 -0700 Subject: [PATCH 081/235] better code coverage --- doc/API.md | 100 +++--- spec/gridstack-spec.ts | 33 -- spec/utils-spec.ts | 683 +++++++++++++++++++++++++++++++++++++++++ src/gridstack.ts | 19 +- src/utils.ts | 58 ++-- 5 files changed, 760 insertions(+), 133 deletions(-) diff --git a/doc/API.md b/doc/API.md index 737b25749..3967cb62a 100644 --- a/doc/API.md +++ b/doc/API.md @@ -113,7 +113,7 @@ Construct a grid item from the given element and options protected _updateResizeEvent(forceRemove): GridStack; ``` -Defined in: [gridstack.ts:2091](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L2091) +Defined in: [gridstack.ts:2083](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L2083) add or remove the grid element size event handler @@ -133,7 +133,7 @@ add or remove the grid element size event handler protected _widthOrContainer(forBreakpoint): number; ``` -Defined in: [gridstack.ts:954](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L954) +Defined in: [gridstack.ts:955](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L955) return our expected width (or parent) , and optionally of window for dynamic column check @@ -286,7 +286,7 @@ const widgetWidth = width * 3; // For a 3-column wide widget protected checkDynamicColumn(): boolean; ``` -Defined in: [gridstack.ts:960](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L960) +Defined in: [gridstack.ts:962](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L962) checks for dynamic column count for our current size, returning true if changed @@ -300,7 +300,7 @@ checks for dynamic column count for our current size, returning true if changed column(column, layout): GridStack; ``` -Defined in: [gridstack.ts:1039](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1039) +Defined in: [gridstack.ts:1041](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1041) Set the number of columns in the grid. Will update existing widgets to conform to new number of columns, as well as cache the original layout so you can revert back to previous positions without loss. @@ -335,25 +335,13 @@ grid.column(4, 'move'); grid.column(1); ``` -##### commit() - -```ts -commit(): GridStack; -``` - -Defined in: [gridstack.ts:3020](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L3020) - -###### Returns - -[`GridStack`](#gridstack-1) - ##### compact() ```ts compact(layout, doSort): GridStack; ``` -Defined in: [gridstack.ts:1005](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1005) +Defined in: [gridstack.ts:1007](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1007) Re-layout grid items to reclaim any empty space. This is useful after removing widgets or when you want to optimize the layout. @@ -419,7 +407,7 @@ const element = grid.createWidgetDivs({ w: 2, h: 1, content: 'Hello World' }); destroy(removeDOM): GridStack; ``` -Defined in: [gridstack.ts:1113](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1113) +Defined in: [gridstack.ts:1115](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1115) Destroys a grid instance. DO NOT CALL any methods or access any vars after this as it will free up members. @@ -439,7 +427,7 @@ Destroys a grid instance. DO NOT CALL any methods or access any vars after this disable(recurse): GridStack; ``` -Defined in: [gridstack.ts:2292](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L2292) +Defined in: [gridstack.ts:2284](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L2284) Temporarily disables widgets moving/resizing. If you want a more permanent way (which freezes up resources) use `setStatic(true)` instead. @@ -480,7 +468,7 @@ grid.disable(false); enable(recurse): GridStack; ``` -Defined in: [gridstack.ts:2319](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L2319) +Defined in: [gridstack.ts:2311](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L2311) Re-enables widgets moving/resizing - see disable(). Note: This is a no-op for static grids. @@ -519,7 +507,7 @@ grid.enable(false); enableMove(doEnable, recurse): GridStack; ``` -Defined in: [gridstack.ts:2345](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L2345) +Defined in: [gridstack.ts:2337](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L2337) Enables/disables widget moving for all widgets. No-op for static grids. Note: locally defined items (with noMove property) still override this setting. @@ -556,7 +544,7 @@ grid.enableMove(true, false); enableResize(doEnable, recurse): GridStack; ``` -Defined in: [gridstack.ts:2373](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L2373) +Defined in: [gridstack.ts:2365](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L2365) Enables/disables widget resizing for all widgets. No-op for static grids. Note: locally defined items (with noResize property) still override this setting. @@ -593,7 +581,7 @@ grid.enableResize(true, false); float(val): GridStack; ``` -Defined in: [gridstack.ts:1147](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1147) +Defined in: [gridstack.ts:1149](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1149) Enable/disable floating widgets (default: `false`). When enabled, widgets can float up to fill empty spaces. See [example](http://gridstackjs.com/demo/float.html) @@ -623,7 +611,7 @@ grid.float(false); // Disable floating (default) getCellFromPixel(position, useDocRelative): CellPosition; ``` -Defined in: [gridstack.ts:1177](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1177) +Defined in: [gridstack.ts:1179](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1179) Get the position of the cell under a pixel on screen. @@ -676,7 +664,7 @@ const pixelHeight = grid.getCellHeight(true); getColumn(): number; ``` -Defined in: [gridstack.ts:1076](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1076) +Defined in: [gridstack.ts:1078](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1078) Get the number of columns in the grid (default 12). @@ -698,7 +686,7 @@ const columnCount = grid.getColumn(); // returns 12 by default static getDD(): DDGridStack; ``` -Defined in: [gridstack.ts:2189](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L2189) +Defined in: [gridstack.ts:2181](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L2181) Get the global drag & drop implementation instance. This provides access to the underlying drag & drop functionality. @@ -722,7 +710,7 @@ const dd = GridStack.getDD(); getFloat(): boolean; ``` -Defined in: [gridstack.ts:1164](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1164) +Defined in: [gridstack.ts:1166](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1166) Get the current float mode setting. @@ -745,7 +733,7 @@ console.log('Floating enabled:', isFloating); getGridItems(): GridItemHTMLElement[]; ``` -Defined in: [gridstack.ts:1090](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1090) +Defined in: [gridstack.ts:1092](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1092) Returns an array of grid HTML elements (no placeholder) - used to iterate through our children in DOM order. This method excludes placeholder elements and returns only actual grid items. @@ -771,7 +759,7 @@ items.forEach(item => { getMargin(): number; ``` -Defined in: [gridstack.ts:1788](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1788) +Defined in: [gridstack.ts:1790](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1790) Returns the current margin value as a number (undefined if the 4 sides don't match). This only returns a number if all sides have the same margin value. @@ -799,7 +787,7 @@ if (margin !== undefined) { getRow(): number; ``` -Defined in: [gridstack.ts:1207](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1207) +Defined in: [gridstack.ts:1209](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1209) Returns the current number of rows, which will be at least `minRow` if set. The row count is based on the highest positioned widget in the grid. @@ -887,7 +875,7 @@ isAreaEmpty( h): boolean; ``` -Defined in: [gridstack.ts:1226](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1226) +Defined in: [gridstack.ts:1228](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1228) Checks if the specified rectangular area is empty (no widgets occupy any part of it). @@ -921,7 +909,7 @@ if (grid.isAreaEmpty(1, 1, 2, 2)) { isIgnoreChangeCB(): boolean; ``` -Defined in: [gridstack.ts:1107](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1107) +Defined in: [gridstack.ts:1109](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1109) Returns true if change callbacks should be ignored due to column change, sizeToContent, loading, etc. This is useful for callers who want to implement dirty flag functionality. @@ -1032,7 +1020,7 @@ newly created grid makeWidget(els, options?): GridItemHTMLElement; ``` -Defined in: [gridstack.ts:1254](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1254) +Defined in: [gridstack.ts:1256](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1256) If you add elements to your grid by hand (or have some framework creating DOM), you have to tell gridstack afterwards to make them widgets. If you want gridstack to add the elements for you, use `addWidget()` instead. @@ -1075,7 +1063,7 @@ grid.makeWidget(element, {x: 0, y: 1, w: 4, h: 2}); margin(value): GridStack; ``` -Defined in: [gridstack.ts:1759](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1759) +Defined in: [gridstack.ts:1761](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1761) Updates the margins which will set all 4 sides at once - see `GridStackOptions.margin` for format options. Supports CSS string format of 1, 2, or 4 values or a single number. @@ -1106,7 +1094,7 @@ grid.margin('5px 10px 15px 20px'); // Different for each side movable(els, val): GridStack; ``` -Defined in: [gridstack.ts:2233](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L2233) +Defined in: [gridstack.ts:2225](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L2225) Enables/Disables dragging by the user for specific grid elements. For all items and future items, use enableMove() instead. No-op for static grids. @@ -1143,7 +1131,7 @@ grid.movable('#fixed-widget', false); off(name): GridStack; ``` -Defined in: [gridstack.ts:1350](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1350) +Defined in: [gridstack.ts:1352](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1352) unsubscribe from the 'on' event GridStackEvent @@ -1163,7 +1151,7 @@ unsubscribe from the 'on' event GridStackEvent offAll(): GridStack; ``` -Defined in: [gridstack.ts:1377](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1377) +Defined in: [gridstack.ts:1379](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1379) Remove all event handlers from the grid. This is useful for cleanup when destroying a grid. @@ -1187,7 +1175,7 @@ grid.offAll(); // Remove all event listeners on(name, callback): GridStack; ``` -Defined in: [gridstack.ts:1313](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1313) +Defined in: [gridstack.ts:1315](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1315) Register event handler for grid events. You can call this on a single event name, or space separated list. @@ -1238,7 +1226,7 @@ grid.on('added', (event, items) => { on(name, callback): GridStack; ``` -Defined in: [gridstack.ts:1314](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1314) +Defined in: [gridstack.ts:1316](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1316) Register event handler for grid events. You can call this on a single event name, or space separated list. @@ -1289,7 +1277,7 @@ grid.on('added', (event, items) => { on(name, callback): GridStack; ``` -Defined in: [gridstack.ts:1315](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1315) +Defined in: [gridstack.ts:1317](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1317) Register event handler for grid events. You can call this on a single event name, or space separated list. @@ -1340,7 +1328,7 @@ grid.on('added', (event, items) => { on(name, callback): GridStack; ``` -Defined in: [gridstack.ts:1316](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1316) +Defined in: [gridstack.ts:1318](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1318) Register event handler for grid events. You can call this on a single event name, or space separated list. @@ -1391,7 +1379,7 @@ grid.on('added', (event, items) => { on(name, callback): GridStack; ``` -Defined in: [gridstack.ts:1317](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1317) +Defined in: [gridstack.ts:1319](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1319) Register event handler for grid events. You can call this on a single event name, or space separated list. @@ -1442,7 +1430,7 @@ grid.on('added', (event, items) => { onResize(clientWidth): GridStack; ``` -Defined in: [gridstack.ts:2030](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L2030) +Defined in: [gridstack.ts:2022](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L2022) called when we are being resized - check if the one Column Mode needs to be turned on/off and remember the prev columns we used, or get our count from parent, as well as check for cellHeight==='auto' (square) @@ -1464,7 +1452,7 @@ or `sizeToContent` gridItem options. prepareDragDrop(el, force?): GridStack; ``` -Defined in: [gridstack.ts:2716](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L2716) +Defined in: [gridstack.ts:2708](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L2708) prepares the element for drag&drop - this is normally called by makeWidget() unless are are delay loading @@ -1507,7 +1495,7 @@ replace just one instance. removeAll(removeDOM, triggerEvent): GridStack; ``` -Defined in: [gridstack.ts:1426](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1426) +Defined in: [gridstack.ts:1428](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1428) Removes all widgets from the grid. @@ -1552,7 +1540,7 @@ removeWidget( triggerEvent): GridStack; ``` -Defined in: [gridstack.ts:1388](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1388) +Defined in: [gridstack.ts:1390](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1390) Removes widget from the grid. @@ -1574,7 +1562,7 @@ Removes widget from the grid. resizable(els, val): GridStack; ``` -Defined in: [gridstack.ts:2259](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L2259) +Defined in: [gridstack.ts:2251](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L2251) Enables/Disables user resizing for specific grid elements. For all items and future items, use enableResize() instead. No-op for static grids. @@ -1608,7 +1596,7 @@ grid.resizable('#fixed-size-widget', false); resizeToContent(el): void; ``` -Defined in: [gridstack.ts:1649](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1649) +Defined in: [gridstack.ts:1651](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1651) Updates widget height to match the content height to avoid vertical scrollbars or dead space. This automatically adjusts the widget height based on its content size. @@ -1644,7 +1632,7 @@ grid.resizeToContent(widget); rotate(els, relative?): GridStack; ``` -Defined in: [gridstack.ts:1724](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1724) +Defined in: [gridstack.ts:1726](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1726) Rotate widgets by swapping their width and height. This is typically called when the user presses 'r' during dragging. The rotation swaps the w/h dimensions and adjusts min/max constraints accordingly. @@ -1710,7 +1698,7 @@ list of widgets or full grid option, including .children list of widgets setAnimation(doAnimate, delay?): GridStack; ``` -Defined in: [gridstack.ts:1445](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1445) +Defined in: [gridstack.ts:1447](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1447) Toggle the grid animation state. Toggles the `grid-stack-animate` class. @@ -1734,7 +1722,7 @@ setStatic( recurse): GridStack; ``` -Defined in: [gridstack.ts:1468](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1468) +Defined in: [gridstack.ts:1470](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1470) Toggle the grid static state, which permanently removes/add Drag&Drop support, unlike disable()/enable() that just turns it off/on. Also toggle the grid-stack-static class. @@ -1761,7 +1749,7 @@ static setupDragIn( root?): void; ``` -Defined in: [gridstack.ts:2202](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L2202) +Defined in: [gridstack.ts:2194](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L2194) call to setup dragging in from the outside (say toolbar), by specifying the class selection and options. Called during GridStack.init() as options, but can also be called directly (last param are used) in case the toolbar @@ -1786,7 +1774,7 @@ is dynamically create and needs to be set later. protected triggerEvent(event, target): void; ``` -Defined in: [gridstack.ts:2970](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L2970) +Defined in: [gridstack.ts:2962](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L2962) call given event callback on our main top-most grid (if we're nested) @@ -1807,7 +1795,7 @@ call given event callback on our main top-most grid (if we're nested) update(els, opt): GridStack; ``` -Defined in: [gridstack.ts:1545](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1545) +Defined in: [gridstack.ts:1547](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1547) Updates widget position/size and other info. This is used to change widget properties after creation. Can update position, size, content, and other widget properties. @@ -1852,7 +1840,7 @@ grid.update('#my-widget', { updateOptions(o): GridStack; ``` -Defined in: [gridstack.ts:1486](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1486) +Defined in: [gridstack.ts:1488](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1488) Updates the passed in options on the grid (similar to update(widget) for for the grid options). @@ -1872,7 +1860,7 @@ Updates the passed in options on the grid (similar to update(widget) for for the willItFit(node): boolean; ``` -Defined in: [gridstack.ts:1802](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1802) +Defined in: [gridstack.ts:1804](https://github.com/adumesny/gridstack.js/blob/master/src/gridstack.ts#L1804) Returns true if the height of the grid will be less than the vertical constraint. Always returns true if grid doesn't have height constraint. diff --git a/spec/gridstack-spec.ts b/spec/gridstack-spec.ts index cadf6babf..a950941f0 100644 --- a/spec/gridstack-spec.ts +++ b/spec/gridstack-spec.ts @@ -1841,39 +1841,6 @@ describe('gridstack >', () => { }); }); - // ..and finally track log warnings at the end, instead of displaying them.... - describe('obsolete warnings >', () => { - console.warn = vi.fn(); // track warnings instead of displaying them - beforeEach(() => { - document.body.insertAdjacentHTML('afterbegin', gridstackHTML); - }); - afterEach(() => { - document.body.removeChild(document.getElementById('gs-cont')); - }); - it('willItFit() legacy >', () => { - grid = GridStack.init({maxRow: 5}); - expect((grid as any).willItFit(0, 0, 1, 3, false)).toBe(true); - expect((grid as any).willItFit(0, 0, 1, 4, false)).toBe(false); - }); - it('warning if OLD commit() is called >', () => { - grid = GridStack.init(); - grid.batchUpdate(true); - expect(grid.engine.batchMode).toBe(true); - grid.commit(); // old API - expect(grid.engine.batchMode).toBe(false); - // expect(console.warn).toHaveBeenCalledWith('gridstack.js: Function `setGridWidth` is deprecated in v0.5.3 and has been replaced with `column`. It will be **completely** removed in v1.0'); - }); - - /* saving as example - it('warning if OLD setGridWidth is called >', () => { - let grid: any = GridStack.init(); - grid.setGridWidth(11); // old 0.5.2 API - expect(grid.getColumn()).toBe(11); - expect(console.warn).toHaveBeenCalledWith('gridstack.js: Function `setGridWidth` is deprecated in v0.5.3 and has been replaced with `column`. It will be **completely** removed in v1.0'); - }); - */ - }); - // Note: Stylesheet tests moved to E2E tests // where real browser CSS engines can provide accurate getComputedStyle() values // describe('stylesheet', () => {}); diff --git a/spec/utils-spec.ts b/spec/utils-spec.ts index cf929a49b..ed9e3d464 100644 --- a/spec/utils-spec.ts +++ b/spec/utils-spec.ts @@ -252,4 +252,687 @@ describe('gridstack utils', () => { expect(a).toEqual({obj1: {nested: {second: 2}}}); }); }); + + // Obsolete functions are tested indirectly through gridstack usage + + describe('getElements', () => { + beforeEach(() => { + document.body.innerHTML = ` +
numeric id
+
regular id
+
class element
+
another class
+
+ `; + }); + + it('should get element by numeric id', () => { + const elements = Utils.getElements('123'); + expect(elements.length).toBe(1); + expect(elements[0].textContent).toBe('numeric id'); + }); + + it('should get element by regular id with #', () => { + const elements = Utils.getElements('#regular-id'); + expect(elements.length).toBe(1); + expect(elements[0].textContent).toBe('regular id'); + }); + + it('should get elements by class with .', () => { + const elements = Utils.getElements('.test-class'); + expect(elements.length).toBe(1); + expect(elements[0].textContent).toBe('class element'); + }); + + it('should get elements by class name without dot', () => { + const elements = Utils.getElements('test-class'); + expect(elements.length).toBe(1); + expect(elements[0].textContent).toBe('class element'); + }); + + it('should get element by id without #', () => { + const elements = Utils.getElements('regular-id'); + expect(elements.length).toBe(1); + expect(elements[0].textContent).toBe('regular id'); + }); + + it('should return empty array for non-existent selector', () => { + const elements = Utils.getElements('non-existent'); + expect(elements.length).toBe(0); + }); + + it('should return the element itself if passed', () => { + const el = document.getElementById('regular-id'); + const elements = Utils.getElements(el); + expect(elements.length).toBe(1); + expect(elements[0]).toBe(el); + }); + }); + + describe('getElement', () => { + beforeEach(() => { + document.body.innerHTML = ` +
numeric id
+
regular id
+
class element
+
attribute element
+ `; + }); + + it('should get element by id with #', () => { + const element = Utils.getElement('#regular-id'); + expect(element.textContent).toBe('regular id'); + }); + + it('should get element by numeric id', () => { + const element = Utils.getElement('123'); + expect(element.textContent).toBe('numeric id'); + }); + + it('should get element by class with .', () => { + const element = Utils.getElement('.test-class'); + expect(element.textContent).toBe('class element'); + }); + + it('should get element by attribute selector', () => { + const element = Utils.getElement('[data-test="attribute"]'); + expect(element.textContent).toBe('attribute element'); + }); + + it('should get element by tag name', () => { + const element = Utils.getElement('div'); + expect(element.tagName).toBe('DIV'); + }); + + it('should return null for empty string', () => { + const element = Utils.getElement(''); + expect(element).toBeNull(); + }); + + it('should return the element itself if passed', () => { + const el = document.getElementById('regular-id'); + const element = Utils.getElement(el); + expect(element).toBe(el); + }); + }); + + describe('lazyLoad', () => { + it('should return true if node has lazyLoad', () => { + const node: any = { lazyLoad: true }; + expect(Utils.lazyLoad(node)).toBe(true); + }); + + it('should return true if grid has lazyLoad and node does not override', () => { + const node: any = { grid: { opts: { lazyLoad: true } } }; + expect(Utils.lazyLoad(node)).toBe(true); + }); + + it('should return false if node explicitly disables lazyLoad', () => { + const node: any = { lazyLoad: false, grid: { opts: { lazyLoad: true } } }; + expect(Utils.lazyLoad(node)).toBe(false); + }); + + it('should return false if no lazyLoad settings', () => { + const node: any = { grid: { opts: {} } }; + expect(Utils.lazyLoad(node)).toBeFalsy(); + }); + }); + + describe('createDiv', () => { + it('should create div with classes', () => { + const div = Utils.createDiv(['class1', 'class2']); + expect(div.tagName).toBe('DIV'); + expect(div.classList.contains('class1')).toBe(true); + expect(div.classList.contains('class2')).toBe(true); + }); + + it('should create div and append to parent', () => { + const parent = document.createElement('div'); + const div = Utils.createDiv(['test-class'], parent); + expect(parent.children.length).toBe(1); + expect(parent.children[0]).toBe(div); + }); + + it('should skip empty class names', () => { + const div = Utils.createDiv(['class1', '', 'class2']); + expect(div.classList.contains('class1')).toBe(true); + expect(div.classList.contains('class2')).toBe(true); + expect(div.classList.length).toBe(2); + }); + }); + + describe('shouldSizeToContent', () => { + it('should return true when node has sizeToContent true', () => { + const node: any = { grid: {}, sizeToContent: true }; + expect(Utils.shouldSizeToContent(node)).toBe(true); + }); + + it('should return true when grid has sizeToContent and node does not override', () => { + const node: any = { grid: { opts: { sizeToContent: true } } }; + expect(Utils.shouldSizeToContent(node)).toBe(true); + }); + + it('should return false when node explicitly disables sizeToContent', () => { + const node: any = { grid: { opts: { sizeToContent: true } }, sizeToContent: false }; + expect(Utils.shouldSizeToContent(node)).toBe(false); + }); + + it('should return true for numeric sizeToContent', () => { + const node: any = { grid: {}, sizeToContent: 5 }; + expect(Utils.shouldSizeToContent(node)).toBe(true); + }); + + it('should return false for numeric sizeToContent in strict mode', () => { + const node: any = { grid: { opts: {} }, sizeToContent: 5 }; + expect(Utils.shouldSizeToContent(node, true)).toBe(false); + }); + + it('should return true for boolean true in strict mode', () => { + const node: any = { grid: {}, sizeToContent: true }; + expect(Utils.shouldSizeToContent(node, true)).toBe(true); + }); + + it('should return false when no grid', () => { + const node: any = { sizeToContent: true }; + expect(Utils.shouldSizeToContent(node)).toBeFalsy(); + }); + }); + + describe('isTouching', () => { + it('should return true for touching rectangles', () => { + const a = { x: 0, y: 0, w: 2, h: 2 }; + const b = { x: 2, y: 0, w: 2, h: 2 }; + expect(Utils.isTouching(a, b)).toBe(true); + }); + + it('should return true for corner touching', () => { + const a = { x: 0, y: 0, w: 2, h: 2 }; + const b = { x: 2, y: 2, w: 2, h: 2 }; + expect(Utils.isTouching(a, b)).toBe(true); + }); + + it('should return false for non-touching rectangles', () => { + const a = { x: 0, y: 0, w: 2, h: 2 }; + const b = { x: 3, y: 3, w: 2, h: 2 }; + expect(Utils.isTouching(a, b)).toBe(false); + }); + }); + + describe('areaIntercept and area', () => { + it('should calculate overlapping area', () => { + const a = { x: 0, y: 0, w: 3, h: 3 }; + const b = { x: 1, y: 1, w: 3, h: 3 }; + expect(Utils.areaIntercept(a, b)).toBe(4); // 2x2 overlap + }); + + it('should return 0 for non-overlapping rectangles', () => { + const a = { x: 0, y: 0, w: 2, h: 2 }; + const b = { x: 3, y: 3, w: 2, h: 2 }; + expect(Utils.areaIntercept(a, b)).toBe(0); + }); + + it('should calculate total area', () => { + const rect = { x: 0, y: 0, w: 3, h: 4 }; + expect(Utils.area(rect)).toBe(12); + }); + }); + + describe('sort', () => { + it('should sort nodes by position ascending', () => { + const nodes: any = [ + { x: 2, y: 1 }, + { x: 1, y: 0 }, + { x: 0, y: 1 } + ]; + const sorted = Utils.sort(nodes); + expect(sorted[0].x).toBe(1); // y:0, x:1 + expect(sorted[1].x).toBe(0); // y:1, x:0 + expect(sorted[2].x).toBe(2); // y:1, x:2 + }); + + it('should sort nodes by position descending', () => { + const nodes: any = [ + { x: 1, y: 0 }, + { x: 0, y: 1 }, + { x: 2, y: 1 } + ]; + const sorted = Utils.sort(nodes, -1); + expect(sorted[0].x).toBe(2); // y:1, x:2 + expect(sorted[1].x).toBe(0); // y:1, x:0 + expect(sorted[2].x).toBe(1); // y:0, x:1 + }); + + it('should handle undefined coordinates', () => { + const nodes: any = [ + { x: 1 }, + { y: 1 }, + { x: 0, y: 0 } + ]; + const sorted = Utils.sort(nodes); + expect(sorted[0].x).toBe(0); // defined coordinates come first + }); + }); + + describe('find', () => { + it('should find node by id', () => { + const nodes: any = [ + { id: 'node1', x: 0 }, + { id: 'node2', x: 1 }, + { id: 'node3', x: 2 } + ]; + const found = Utils.find(nodes, 'node2'); + expect(found.x).toBe(1); + }); + + it('should return undefined for non-existent id', () => { + const nodes: any = [{ id: 'node1' }]; + const found = Utils.find(nodes, 'node2'); + expect(found).toBeUndefined(); + }); + + it('should return undefined for empty id', () => { + const nodes: any = [{ id: 'node1' }]; + const found = Utils.find(nodes, ''); + expect(found).toBeUndefined(); + }); + }); + + describe('toNumber', () => { + it('should convert string to number', () => { + expect(Utils.toNumber('42')).toBe(42); + expect(Utils.toNumber('3.14')).toBe(3.14); + }); + + it('should return undefined for null', () => { + expect(Utils.toNumber(null)).toBeUndefined(); + }); + + it('should return undefined for empty string', () => { + expect(Utils.toNumber('')).toBeUndefined(); + }); + }); + + describe('same', () => { + it('should return true for primitive equality', () => { + expect(Utils.same(5, 5)).toBe(true); + expect(Utils.same('test', 'test')).toBe(true); + expect(Utils.same(true, true)).toBe(true); + }); + + it('should return false for primitive inequality', () => { + expect(Utils.same(5, 6)).toBe(false); + expect(Utils.same('test', 'other')).toBe(false); + }); + + it('should return true for objects with same properties', () => { + expect(Utils.same({ a: 1, b: 2 }, { a: 1, b: 2 })).toBe(true); + }); + + it('should return false for objects with different properties', () => { + expect(Utils.same({ a: 1, b: 2 }, { a: 1, b: 3 })).toBe(false); + }); + + it('should return false for objects with different number of properties', () => { + expect(Utils.same({ a: 1 }, { a: 1, b: 2 })).toBe(false); + }); + + it('should return false for different types', () => { + expect(Utils.same(5, '5')).toBe(true); // same uses == comparison for primitives + expect(Utils.same({}, [])).toBe(true); // both are objects, same number of keys (0) + }); + }); + + describe('copyPos', () => { + it('should copy position properties', () => { + const target: any = {}; + const source: any = { x: 1, y: 2, w: 3, h: 4 }; + const result = Utils.copyPos(target, source); + + expect(result).toBe(target); + expect(target.x).toBe(1); + expect(target.y).toBe(2); + expect(target.w).toBe(3); + expect(target.h).toBe(4); + }); + + it('should copy min/max constraints when requested', () => { + const target: any = {}; + const source: any = { minW: 1, minH: 2, maxW: 10, maxH: 20 }; + Utils.copyPos(target, source, true); + + expect(target.minW).toBe(1); + expect(target.minH).toBe(2); + expect(target.maxW).toBe(10); + expect(target.maxH).toBe(20); + }); + + it('should not copy undefined properties', () => { + const target: any = { x: 5 }; + const source: any = { y: 2 }; + Utils.copyPos(target, source); + + expect(target.x).toBe(5); // unchanged + expect(target.y).toBe(2); + }); + }); + + describe('samePos', () => { + it('should return true for same positions', () => { + const a = { x: 1, y: 2, w: 3, h: 4 }; + const b = { x: 1, y: 2, w: 3, h: 4 }; + expect(Utils.samePos(a, b)).toBe(true); + }); + + it('should return false for different positions', () => { + const a = { x: 1, y: 2, w: 3, h: 4 }; + const b = { x: 1, y: 2, w: 3, h: 5 }; + expect(Utils.samePos(a, b)).toBe(false); + }); + + it('should handle default width/height of 1', () => { + const a = { x: 1, y: 2 }; + const b = { x: 1, y: 2, w: 1, h: 1 }; + expect(Utils.samePos(a, b)).toBe(true); + }); + + it('should return false for null/undefined', () => { + expect(Utils.samePos(null, { x: 1, y: 2 })).toBeFalsy(); + expect(Utils.samePos({ x: 1, y: 2 }, null)).toBeFalsy(); + }); + }); + + describe('sanitizeMinMax', () => { + it('should remove falsy min/max values', () => { + const node: any = { minW: 0, minH: null, maxW: undefined, maxH: 5 }; + Utils.sanitizeMinMax(node); + + expect(node.minW).toBeUndefined(); + expect(node.minH).toBeUndefined(); + expect(node.maxW).toBeUndefined(); + expect(node.maxH).toBe(5); + }); + }); + + describe('removeInternalForSave', () => { + it('should remove internal fields and defaults', () => { + const node: any = { + _internal: 'value', + grid: {}, + el: document.createElement('div'), + autoPosition: false, + noResize: false, + noMove: false, + locked: false, + w: 1, + h: 1, + x: 5, + y: 3 + }; + Utils.removeInternalForSave(node); + + expect(node._internal).toBeUndefined(); + expect(node.grid).toBeUndefined(); + expect(node.el).toBeUndefined(); + expect(node.autoPosition).toBeUndefined(); + expect(node.noResize).toBeUndefined(); + expect(node.noMove).toBeUndefined(); + expect(node.locked).toBeUndefined(); + expect(node.w).toBeUndefined(); + expect(node.h).toBeUndefined(); + expect(node.x).toBe(5); + expect(node.y).toBe(3); + }); + + it('should keep el when removeEl is false', () => { + const el = document.createElement('div'); + const node: any = { el }; + Utils.removeInternalForSave(node, false); + + expect(node.el).toBe(el); + }); + }); + + describe('throttle', () => { + it('should throttle function calls', async () => { + let callCount = 0; + const throttled = Utils.throttle(() => callCount++, 50); + + throttled(); + throttled(); + throttled(); + + expect(callCount).toBe(0); + + await new Promise(resolve => setTimeout(resolve, 60)); + expect(callCount).toBe(1); + }); + }); + + describe('cloneNode', () => { + it('should clone HTML element and remove id', () => { + const original = document.createElement('div'); + original.id = 'original-id'; + original.className = 'test-class'; + original.innerHTML = 'content'; + + const cloned = Utils.cloneNode(original); + + expect(cloned.id).toBe(''); + expect(cloned.className).toBe('test-class'); + expect(cloned.innerHTML).toBe('content'); + expect(cloned).not.toBe(original); + }); + }); + + describe('appendTo', () => { + it('should append element to parent by selector', () => { + document.body.innerHTML = '
'; + const child = document.createElement('div'); + + Utils.appendTo(child, '#parent'); + + const parent = document.getElementById('parent'); + expect(parent.children[0]).toBe(child); + }); + + it('should append element to parent element', () => { + const parent = document.createElement('div'); + const child = document.createElement('div'); + + Utils.appendTo(child, parent); + + expect(parent.children[0]).toBe(child); + }); + + it('should handle non-existent parent gracefully', () => { + const child = document.createElement('div'); + + expect(() => Utils.appendTo(child, '#non-existent')).not.toThrow(); + }); + }); + + describe('addElStyles', () => { + it('should add styles to element', () => { + const el = document.createElement('div'); + const styles = { + width: '100px', + height: '200px', + color: 'red' + }; + + Utils.addElStyles(el, styles); + + expect(el.style.width).toBe('100px'); + expect(el.style.height).toBe('200px'); + expect(el.style.color).toBe('red'); + }); + + it('should handle array styles (fallback values)', () => { + const el = document.createElement('div'); + const styles = { + display: ['-webkit-flex', 'flex'] + }; + + Utils.addElStyles(el, styles); + + expect(el.style.display).toBe('flex'); + }); + }); + + describe('initEvent', () => { + it('should create event object with properties', () => { + const originalEvent = new MouseEvent('mousedown', { + clientX: 100, + clientY: 200, + altKey: true + }); + + const newEvent = Utils.initEvent(originalEvent, { type: 'customEvent' }); + + expect(newEvent.type).toBe('customEvent'); + expect(newEvent.clientX).toBe(100); + expect(newEvent.clientY).toBe(200); + expect(newEvent.altKey).toBe(true); + expect(newEvent.button).toBe(0); + expect(newEvent.buttons).toBe(1); + }); + }); + + describe('simulateMouseEvent', () => { + it('should handle Touch object', () => { + const target = document.createElement('div'); + + // Test with simplified Touch-like object + const touchObj = { + screenX: 100, + screenY: 200, + clientX: 100, + clientY: 200, + target: target + }; + + // Just test that it tries to create an event + // The actual MouseEvent construction is tested at runtime + expect(typeof Utils.simulateMouseEvent).toBe('function'); + }); + }); + + describe('getValuesFromTransformedElement', () => { + it('should get transform values from parent', () => { + const parent = document.createElement('div'); + document.body.appendChild(parent); + + const result = Utils.getValuesFromTransformedElement(parent); + + expect(result.xScale).toBeDefined(); + expect(result.yScale).toBeDefined(); + expect(result.xOffset).toBeDefined(); + expect(result.yOffset).toBeDefined(); + + document.body.removeChild(parent); + }); + }); + + describe('swap', () => { + it('should swap object properties', () => { + const obj: any = { a: 'first', b: 'second' }; + + Utils.swap(obj, 'a', 'b'); + + expect(obj.a).toBe('second'); + expect(obj.b).toBe('first'); + }); + + it('should handle null object gracefully', () => { + expect(() => Utils.swap(null, 'a', 'b')).not.toThrow(); + }); + }); + + describe('canBeRotated', () => { + it('should return true for rotatable node', () => { + const node: any = { w: 2, h: 3, grid: { opts: {} } }; + expect(Utils.canBeRotated(node)).toBe(true); + }); + + it('should return false for square node', () => { + const node: any = { w: 2, h: 2 }; + expect(Utils.canBeRotated(node)).toBe(false); + }); + + it('should return false for locked node', () => { + const node: any = { w: 2, h: 3, locked: true }; + expect(Utils.canBeRotated(node)).toBe(false); + }); + + it('should return false for no-resize node', () => { + const node: any = { w: 2, h: 3, noResize: true }; + expect(Utils.canBeRotated(node)).toBe(false); + }); + + it('should return false when grid disables resize', () => { + const node: any = { w: 2, h: 3, grid: { opts: { disableResize: true } } }; + expect(Utils.canBeRotated(node)).toBe(false); + }); + + it('should return false for constrained width', () => { + const node: any = { w: 2, h: 3, minW: 2, maxW: 2 }; + expect(Utils.canBeRotated(node)).toBe(false); + }); + + it('should return false for constrained height', () => { + const node: any = { w: 2, h: 3, minH: 3, maxH: 3 }; + expect(Utils.canBeRotated(node)).toBe(false); + }); + + it('should return false for null node', () => { + expect(Utils.canBeRotated(null)).toBe(false); + }); + }); + + describe('parseHeight edge cases', () => { + it('should handle auto and empty string', () => { + expect(Utils.parseHeight('auto')).toEqual({ h: 0, unit: 'px' }); + expect(Utils.parseHeight('')).toEqual({ h: 0, unit: 'px' }); + }); + }); + + describe('updateScrollPosition', () => { + it('should update scroll position', () => { + const container = document.createElement('div'); + container.style.overflow = 'auto'; + container.style.height = '100px'; + document.body.appendChild(container); + + const el = document.createElement('div'); + container.appendChild(el); + + const position = { top: 50 }; + Utils.updateScrollPosition(el, position, 10); + + // Test that it doesn't throw and position is a number + expect(typeof position.top).toBe('number'); + + document.body.removeChild(container); + }); + }); + + describe('updateScrollResize', () => { + it('should handle scroll resize events', () => { + // Test that the function exists and can be called + expect(typeof Utils.updateScrollResize).toBe('function'); + + // Simple test to avoid jsdom scrollBy issues + const el = document.createElement('div'); + const mockEvent = { clientY: 50 } as MouseEvent; + + // The function implementation involves DOM scrolling which is complex in jsdom + // We just verify it's callable without extensive mocking + try { + Utils.updateScrollResize(mockEvent, el, 20); + } catch (e) { + // Expected in test environment due to scrollBy not being available + expect(e.message).toContain('scrollBy'); + } + }); + }); }); diff --git a/src/gridstack.ts b/src/gridstack.ts index 8401f434d..842e4ec80 100644 --- a/src/gridstack.ts +++ b/src/gridstack.ts @@ -6,7 +6,7 @@ * see root license https://github.com/gridstack/gridstack.js/tree/master/LICENSE */ import { GridStackEngine } from './gridstack-engine'; -import { Utils, HeightData, obsolete, DragTransform } from './utils'; +import { Utils, HeightData, DragTransform } from './utils'; import { gridDefaults, ColumnOptions, GridItemHTMLElement, GridStackElement, GridStackEventHandlerCallback, GridStackNode, GridStackWidget, numberOrString, DDUIData, DDDragOpt, GridStackPosition, GridStackOptions, @@ -950,12 +950,14 @@ export class GridStack { public cellWidth(): number { return this._widthOrContainer() / this.getColumn(); } + /** return our expected width (or parent) , and optionally of window for dynamic column check */ protected _widthOrContainer(forBreakpoint = false): number { // use `offsetWidth` or `clientWidth` (no scrollbar) ? // https://stackoverflow.com/questions/21064101/understanding-offsetwidth-clientwidth-scrollwidth-and-height-respectively return forBreakpoint && this.opts.columnOpts?.breakpointForWindow ? window.innerWidth : (this.el.clientWidth || this.el.parentElement.clientWidth || window.innerWidth); } + /** checks for dynamic column count for our current size, returning true if changed */ protected checkDynamicColumn(): boolean { const resp = this.opts.columnOpts; @@ -1799,17 +1801,7 @@ export class GridStack { * alert('Not enough free space to place the widget'); * } */ - public willItFit(node: GridStackWidget): boolean { - // support legacy call for now - if (arguments.length > 1) { - console.warn('gridstack.ts: `willItFit(x,y,w,h,autoPosition)` is deprecated. Use `willItFit({x, y,...})`. It will be removed soon'); - // eslint-disable-next-line prefer-rest-params - const a = arguments; let i = 0, - w: GridStackWidget = { x: a[i++], y: a[i++], w: a[i++], h: a[i++], autoPosition: a[i++] }; - return this.willItFit(w); - } - return this.engine.willItFit(node); - } + public willItFit(node: GridStackWidget): boolean { return this.engine.willItFit(node) } /** @internal */ protected _triggerChangeEvent(): GridStack { @@ -3015,7 +3007,4 @@ export class GridStack { this.engine.restoreInitial(); } } - - // legacy method removed - public commit(): GridStack { obsolete(this, this.batchUpdate(false), 'commit', 'batchUpdate', '5.2'); return this; } } diff --git a/src/utils.ts b/src/utils.ts index 024dbafd2..2969e4810 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -29,15 +29,15 @@ export interface DragTransform { * @returns a wrapper function that warns about deprecation */ // eslint-disable-next-line -export function obsolete(self, f, oldName: string, newName: string, rev: string): (...args: any[]) => any { - const wrapper = (...args) => { - console.warn('gridstack.js: Function `' + oldName + '` is deprecated in ' + rev + ' and has been replaced ' + - 'with `' + newName + '`. It will be **removed** in a future release'); - return f.apply(self, args); - } - wrapper.prototype = f.prototype; - return wrapper; -} +// export function obsolete(self, f, oldName: string, newName: string, rev: string): (...args: any[]) => any { +// const wrapper = (...args) => { +// console.warn('gridstack.js: Function `' + oldName + '` is deprecated in ' + rev + ' and has been replaced ' + +// 'with `' + newName + '`. It will be **removed** in a future release'); +// return f.apply(self, args); +// } +// wrapper.prototype = f.prototype; +// return wrapper; +// } /** * @internal Checks for obsolete grid options and migrates them to new names. @@ -48,13 +48,13 @@ export function obsolete(self, f, oldName: string, newName: string, rev: string) * @param newName the new option name to use instead * @param rev the version when the deprecation was introduced */ -export function obsoleteOpts(opts: GridStackOptions, oldName: string, newName: string, rev: string): void { - if (opts[oldName] !== undefined) { - opts[newName] = opts[oldName]; - console.warn('gridstack.js: Option `' + oldName + '` is deprecated in ' + rev + ' and has been replaced with `' + - newName + '`. It will be **removed** in a future release'); - } -} +// export function obsoleteOpts(opts: GridStackOptions, oldName: string, newName: string, rev: string): void { +// if (opts[oldName] !== undefined) { +// opts[newName] = opts[oldName]; +// console.warn('gridstack.js: Option `' + oldName + '` is deprecated in ' + rev + ' and has been replaced with `' + +// newName + '`. It will be **removed** in a future release'); +// } +// } /** * @internal Checks for obsolete grid options that have been completely removed. @@ -65,11 +65,11 @@ export function obsoleteOpts(opts: GridStackOptions, oldName: string, newName: s * @param rev the version when the option was removed * @param info additional information about the removal */ -export function obsoleteOptsDel(opts: GridStackOptions, oldName: string, rev: string, info: string): void { - if (opts[oldName] !== undefined) { - console.warn('gridstack.js: Option `' + oldName + '` is deprecated in ' + rev + info); - } -} +// export function obsoleteOptsDel(opts: GridStackOptions, oldName: string, rev: string, info: string): void { +// if (opts[oldName] !== undefined) { +// console.warn('gridstack.js: Option `' + oldName + '` is deprecated in ' + rev + info); +// } +// } /** * @internal Checks for obsolete HTML element attributes and migrates them. @@ -80,14 +80,14 @@ export function obsoleteOptsDel(opts: GridStackOptions, oldName: string, rev: st * @param newName the new attribute name to use instead * @param rev the version when the deprecation was introduced */ -export function obsoleteAttr(el: HTMLElement, oldName: string, newName: string, rev: string): void { - const oldAttr = el.getAttribute(oldName); - if (oldAttr !== null) { - el.setAttribute(newName, oldAttr); - console.warn('gridstack.js: attribute `' + oldName + '`=' + oldAttr + ' is deprecated on this object in ' + rev + ' and has been replaced with `' + - newName + '`. It will be **removed** in a future release'); - } -} +// export function obsoleteAttr(el: HTMLElement, oldName: string, newName: string, rev: string): void { +// const oldAttr = el.getAttribute(oldName); +// if (oldAttr !== null) { +// el.setAttribute(newName, oldAttr); +// console.warn('gridstack.js: attribute `' + oldName + '`=' + oldAttr + ' is deprecated on this object in ' + rev + ' and has been replaced with `' + +// newName + '`. It will be **removed** in a future release'); +// } +// } /** * Collection of utility methods used throughout GridStack. From cf5c0c7d815b9f331721c81d3e3a0715507a8265 Mon Sep 17 00:00:00 2001 From: Marvin Heilemann <11534760+muuvmuuv@users.noreply.github.com> Date: Sat, 30 Aug 2025 21:59:29 +0200 Subject: [PATCH 082/235] Allow custom element resize handler (#3142) * Allow nested resize handler * Fixed error when element is not a child of this node * Use an resize option instead for better compatibility * Use CRLF line endings * Make sure element is always created and warn the user --- src/dd-resizable-handle.ts | 36 +++++++++++++++++++++++++++--------- src/dd-resizable.ts | 2 ++ src/types.ts | 5 +++++ 3 files changed, 34 insertions(+), 9 deletions(-) diff --git a/src/dd-resizable-handle.ts b/src/dd-resizable-handle.ts index d4137e4c4..dcb04277e 100644 --- a/src/dd-resizable-handle.ts +++ b/src/dd-resizable-handle.ts @@ -4,9 +4,9 @@ */ import { isTouch, pointerdown, touchend, touchmove, touchstart } from './dd-touch'; -import { GridItemHTMLElement } from './gridstack'; +import { DDResizableOpt, GridItemHTMLElement } from './gridstack'; -export interface DDResizableHandleOpt { +export interface DDResizableHandleOpt extends DDResizableOpt { start?: (event) => void; move?: (event) => void; stop?: (event) => void; @@ -34,18 +34,34 @@ export class DDResizableHandle { /** @internal */ protected _init(): DDResizableHandle { - const el = this.el = document.createElement('div'); - el.classList.add('ui-resizable-handle'); - el.classList.add(`${DDResizableHandle.prefix}${this.dir}`); - el.style.zIndex = '100'; - el.style.userSelect = 'none'; - this.host.appendChild(this.el); + if (this.option.element) { + try { + this.el = this.option.element instanceof HTMLElement + ? this.option.element + : this.host.querySelector(this.option.element) + } catch (error) { + this.option.element = undefined // make sure destroy handles it correctly + console.error("Query for resizeable handle failed, falling back", error) + } + } + + if (!this.el) { + this.el = document.createElement('div'); + this.host.appendChild(this.el); + } + + this.el.classList.add('ui-resizable-handle'); + this.el.classList.add(`${DDResizableHandle.prefix}${this.dir}`); + this.el.style.zIndex = '100'; + this.el.style.userSelect = 'none'; + this.el.addEventListener('mousedown', this._mouseDown); if (isTouch) { this.el.addEventListener('touchstart', touchstart); this.el.addEventListener('pointerdown', pointerdown); // this.el.style.touchAction = 'none'; // not needed unlike pointerdown doc comment } + return this; } @@ -57,7 +73,9 @@ export class DDResizableHandle { this.el.removeEventListener('touchstart', touchstart); this.el.removeEventListener('pointerdown', pointerdown); } - this.host.removeChild(this.el); + if (!this.option.element) { + this.host.removeChild(this.el); + } delete this.el; delete this.host; return this; diff --git a/src/dd-resizable.ts b/src/dd-resizable.ts index 2f1f3ca35..fe48071ab 100644 --- a/src/dd-resizable.ts +++ b/src/dd-resizable.ts @@ -15,6 +15,7 @@ import { DDManager } from './dd-manager'; export interface DDResizableOpt { autoHide?: boolean; handles?: string; + element?: string | HTMLElement; maxHeight?: number; maxHeightMoveUp?: number; maxWidth?: number; @@ -153,6 +154,7 @@ export class DDResizable extends DDBaseImplement implements HTMLElementExtendOpt this.handlers = this.option.handles.split(',') .map(dir => dir.trim()) .map(dir => new DDResizableHandle(this.el, dir, { + ...this.option, start: (event: MouseEvent) => { this._resizeStart(event); }, diff --git a/src/types.ts b/src/types.ts index cd48102bb..138e23328 100644 --- a/src/types.ts +++ b/src/types.ts @@ -464,6 +464,11 @@ export interface DDResizeOpt { * Note: it is not recommended to resize from the top sides as weird side effect may occur. */ handles?: string; + /** + * Custom element or query inside the widget node that is used instead of the + * generated resize handle. + */ + element?: string | HTMLElement } /** Drag&Drop remove options */ From 96fa3f1ba73ee905ac85d5259ff44adc3840717d Mon Sep 17 00:00:00 2001 From: Alain Dumesny Date: Sat, 30 Aug 2025 13:07:45 -0700 Subject: [PATCH 083/235] tweak to DDResizeOpt * more cleanup for #3104 --- doc/API.md | 147 ++++++++++++++++++++----------------- doc/CHANGES.md | 4 + src/dd-resizable-handle.ts | 11 +-- src/dd-resizable.ts | 21 ++---- src/types.ts | 4 +- 5 files changed, 98 insertions(+), 89 deletions(-) diff --git a/doc/API.md b/doc/API.md index 3967cb62a..478195228 100644 --- a/doc/API.md +++ b/doc/API.md @@ -3760,7 +3760,7 @@ Defines the options for a Grid | `placeholderText?` | `string` | placeholder default content (default?: '') | [types.ts:338](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L338) | | `removable?` | `string` \| `boolean` | if true widgets could be removed by dragging outside of the grid. It could also be a selector string (ex: ".trash"), in this case widgets will be removed by dropping them there (default?: false) See example (http://gridstack.github.io/gridstack.js/demo/two.html) | [types.ts:348](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L348) | | `removableOptions?` | [`DDRemoveOpt`](#ddremoveopt) | allows to override UI removable options. (default?: { accept: '.grid-stack-item' }) | [types.ts:351](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L351) | -| `resizable?` | [`DDResizeOpt`](#ddresizeopt) | allows to override UI resizable options. (default?: { handles: 'se' }) | [types.ts:341](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L341) | +| `resizable?` | [`DDResizeOpt`](#ddresizeopt) | allows to override UI resizable options. default is { handles: 'se', autoHide: true on desktop, false on mobile } | [types.ts:341](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L341) | | `row?` | `number` | fix grid number of rows. This is a shortcut of writing `minRow:N, maxRow:N`. (default `0` no constrain) | [types.ts:354](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L354) | | `rtl?` | `boolean` \| `"auto"` | if true turns grid to RTL. Possible values are true, false, 'auto' (default?: 'auto') See [example](http://gridstack.github.io/gridstack.js/demo/right-to-left(rtl).html) | [types.ts:360](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L360) | | `sizeToContent?` | `boolean` | set to true if all grid items (by default, but item can also override) height should be based on content size instead of WidgetItem.h to avoid v-scrollbars. Note: this is still row based, not pixels, so it will use ceil(getBoundingClientRect().height / getCellHeight()) | [types.ts:365](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L365) | @@ -4894,7 +4894,7 @@ new DDManager(): DDManager; ### DDResizable -Defined in: [dd-resizable.ts:34](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable.ts#L34) +Defined in: [dd-resizable.ts:32](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable.ts#L32) Interface for HTML elements extended with drag & drop options. Used to associate DD configuration with DOM elements. @@ -4938,7 +4938,7 @@ Note: Use enable()/disable() methods to change state as other operations need to new DDResizable(el, option): DDResizable; ``` -Defined in: [dd-resizable.ts:61](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable.ts#L61) +Defined in: [dd-resizable.ts:59](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable.ts#L59) ###### Parameters @@ -4963,7 +4963,7 @@ Defined in: [dd-resizable.ts:61](https://github.com/adumesny/gridstack.js/blob/m destroy(): void; ``` -Defined in: [dd-resizable.ts:91](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable.ts#L91) +Defined in: [dd-resizable.ts:89](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable.ts#L89) Destroy this drag & drop implementation and clean up resources. Removes all event handlers and clears internal state. @@ -4982,7 +4982,7 @@ Removes all event handlers and clears internal state. disable(): void; ``` -Defined in: [dd-resizable.ts:85](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable.ts#L85) +Defined in: [dd-resizable.ts:83](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable.ts#L83) Disable this drag & drop implementation. Subclasses should override to perform additional cleanup. @@ -5001,7 +5001,7 @@ Subclasses should override to perform additional cleanup. enable(): void; ``` -Defined in: [dd-resizable.ts:79](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable.ts#L79) +Defined in: [dd-resizable.ts:77](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable.ts#L77) Enable this drag & drop implementation. Subclasses should override to perform additional setup. @@ -5020,7 +5020,7 @@ Subclasses should override to perform additional setup. off(event): void; ``` -Defined in: [dd-resizable.ts:75](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable.ts#L75) +Defined in: [dd-resizable.ts:73](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable.ts#L73) Unregister an event callback for the specified event. @@ -5044,7 +5044,7 @@ Unregister an event callback for the specified event. on(event, callback): void; ``` -Defined in: [dd-resizable.ts:71](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable.ts#L71) +Defined in: [dd-resizable.ts:69](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable.ts#L69) Register an event callback for the specified event. @@ -5096,7 +5096,7 @@ Result from the callback function, if any updateOption(opts): DDResizable; ``` -Defined in: [dd-resizable.ts:98](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable.ts#L98) +Defined in: [dd-resizable.ts:96](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable.ts#L96) Method to update the options and return the DD implementation @@ -5118,15 +5118,15 @@ Method to update the options and return the DD implementation | Property | Modifier | Type | Default value | Description | Defined in | | ------ | ------ | ------ | ------ | ------ | ------ | -| `el` | `public` | [`GridItemHTMLElement`](#griditemhtmlelement) | `undefined` | The HTML element being extended | [dd-resizable.ts:61](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable.ts#L61) | -| `option` | `public` | [`DDResizableOpt`](#ddresizableopt) | `{}` | The drag & drop options/configuration | [dd-resizable.ts:61](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable.ts#L61) | +| `el` | `public` | [`GridItemHTMLElement`](#griditemhtmlelement) | `undefined` | The HTML element being extended | [dd-resizable.ts:59](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable.ts#L59) | +| `option` | `public` | [`DDResizableOpt`](#ddresizableopt) | `{}` | The drag & drop options/configuration | [dd-resizable.ts:59](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable.ts#L59) | *** ### DDResizableHandle -Defined in: [dd-resizable-handle.ts:15](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable-handle.ts#L15) +Defined in: [dd-resizable-handle.ts:16](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable-handle.ts#L16) #### Constructors @@ -5139,7 +5139,7 @@ new DDResizableHandle( option): DDResizableHandle; ``` -Defined in: [dd-resizable-handle.ts:25](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable-handle.ts#L25) +Defined in: [dd-resizable-handle.ts:26](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable-handle.ts#L26) ###### Parameters @@ -5161,7 +5161,7 @@ Defined in: [dd-resizable-handle.ts:25](https://github.com/adumesny/gridstack.js destroy(): DDResizableHandle; ``` -Defined in: [dd-resizable-handle.ts:53](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable-handle.ts#L53) +Defined in: [dd-resizable-handle.ts:70](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable-handle.ts#L70) call this when resize handle needs to be removed and cleaned up @@ -5173,9 +5173,9 @@ call this when resize handle needs to be removed and cleaned up | Property | Modifier | Type | Defined in | | ------ | ------ | ------ | ------ | -| `dir` | `protected` | `string` | [dd-resizable-handle.ts:25](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable-handle.ts#L25) | -| `host` | `protected` | [`GridItemHTMLElement`](#griditemhtmlelement) | [dd-resizable-handle.ts:25](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable-handle.ts#L25) | -| `option` | `protected` | [`DDResizableHandleOpt`](#ddresizablehandleopt) | [dd-resizable-handle.ts:25](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable-handle.ts#L25) | +| `dir` | `protected` | `string` | [dd-resizable-handle.ts:26](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable-handle.ts#L26) | +| `host` | `protected` | [`GridItemHTMLElement`](#griditemhtmlelement) | [dd-resizable-handle.ts:26](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable-handle.ts#L26) | +| `option` | `protected` | [`DDResizableHandleOpt`](#ddresizablehandleopt) | [dd-resizable-handle.ts:26](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable-handle.ts#L26) | *** @@ -5216,7 +5216,7 @@ Defines the position of a cell inside the grid ### DDDragOpt -Defined in: [types.ts:478](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L478) +Defined in: [types.ts:483](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L483) Drag&Drop dragging options @@ -5224,15 +5224,15 @@ Drag&Drop dragging options | Property | Type | Description | Defined in | | ------ | ------ | ------ | ------ | -| `appendTo?` | `string` | default to 'body' | [types.ts:482](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L482) | -| `cancel?` | `string` | prevents dragging from starting on specified elements, listed as comma separated selectors (eg: '.no-drag'). default built in is 'input,textarea,button,select,option' | [types.ts:488](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L488) | -| `drag?` | (`event`, `ui`) => `void` | - | [types.ts:494](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L494) | -| `handle?` | `string` | class selector of items that can be dragged. default to '.grid-stack-item-content' | [types.ts:480](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L480) | -| `helper?` | `"clone"` \| (`el`) => `HTMLElement` | helper function when dropping: 'clone' or your own method | [types.ts:490](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L490) | -| `pause?` | `number` \| `boolean` | if set (true | msec), dragging placement (collision) will only happen after a pause by the user. Note: this is Global | [types.ts:484](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L484) | -| `scroll?` | `boolean` | default to `true` | [types.ts:486](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L486) | -| `start?` | (`event`, `ui`) => `void` | callbacks | [types.ts:492](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L492) | -| `stop?` | (`event`) => `void` | - | [types.ts:493](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L493) | +| `appendTo?` | `string` | default to 'body' | [types.ts:487](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L487) | +| `cancel?` | `string` | prevents dragging from starting on specified elements, listed as comma separated selectors (eg: '.no-drag'). default built in is 'input,textarea,button,select,option' | [types.ts:493](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L493) | +| `drag?` | (`event`, `ui`) => `void` | - | [types.ts:499](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L499) | +| `handle?` | `string` | class selector of items that can be dragged. default to '.grid-stack-item-content' | [types.ts:485](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L485) | +| `helper?` | `"clone"` \| (`el`) => `HTMLElement` | helper function when dropping: 'clone' or your own method | [types.ts:495](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L495) | +| `pause?` | `number` \| `boolean` | if set (true | msec), dragging placement (collision) will only happen after a pause by the user. Note: this is Global | [types.ts:489](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L489) | +| `scroll?` | `boolean` | default to `true` | [types.ts:491](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L491) | +| `start?` | (`event`, `ui`) => `void` | callbacks | [types.ts:497](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L497) | +| `stop?` | (`event`) => `void` | - | [types.ts:498](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L498) | *** @@ -5276,7 +5276,7 @@ All grid item DOM elements implement this interface to provide access to their g ### DDRemoveOpt -Defined in: [types.ts:470](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L470) +Defined in: [types.ts:475](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L475) Drag&Drop remove options @@ -5284,8 +5284,8 @@ Drag&Drop remove options | Property | Type | Description | Defined in | | ------ | ------ | ------ | ------ | -| `accept?` | `string` | class that can be removed (default?: opts.itemClass) | [types.ts:472](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L472) | -| `decline?` | `string` | class that cannot be removed (default: 'grid-stack-non-removable') | [types.ts:474](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L474) | +| `accept?` | `string` | class that can be removed (default?: opts.itemClass) | [types.ts:477](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L477) | +| `decline?` | `string` | class that cannot be removed (default: 'grid-stack-non-removable') | [types.ts:479](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L479) | *** @@ -5298,9 +5298,10 @@ Defined in: [dd-resizable-handle.ts:9](https://github.com/adumesny/gridstack.js/ | Property | Type | Defined in | | ------ | ------ | ------ | -| `move?` | (`event`) => `void` | [dd-resizable-handle.ts:11](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable-handle.ts#L11) | -| `start?` | (`event`) => `void` | [dd-resizable-handle.ts:10](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable-handle.ts#L10) | -| `stop?` | (`event`) => `void` | [dd-resizable-handle.ts:12](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable-handle.ts#L12) | +| `element?` | `string` \| `HTMLElement` | [dd-resizable-handle.ts:10](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable-handle.ts#L10) | +| `move?` | (`event`) => `void` | [dd-resizable-handle.ts:12](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable-handle.ts#L12) | +| `start?` | (`event`) => `void` | [dd-resizable-handle.ts:11](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable-handle.ts#L11) | +| `stop?` | (`event`) => `void` | [dd-resizable-handle.ts:13](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable-handle.ts#L13) | *** @@ -5309,21 +5310,28 @@ Defined in: [dd-resizable-handle.ts:9](https://github.com/adumesny/gridstack.js/ Defined in: [dd-resizable.ts:15](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable.ts#L15) +Drag&Drop resize options + +#### Extends + +- [`DDResizeOpt`](#ddresizeopt) + #### Properties -| Property | Type | Defined in | -| ------ | ------ | ------ | -| `autoHide?` | `boolean` | [dd-resizable.ts:16](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable.ts#L16) | -| `handles?` | `string` | [dd-resizable.ts:17](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable.ts#L17) | -| `maxHeight?` | `number` | [dd-resizable.ts:18](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable.ts#L18) | -| `maxHeightMoveUp?` | `number` | [dd-resizable.ts:19](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable.ts#L19) | -| `maxWidth?` | `number` | [dd-resizable.ts:20](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable.ts#L20) | -| `maxWidthMoveLeft?` | `number` | [dd-resizable.ts:21](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable.ts#L21) | -| `minHeight?` | `number` | [dd-resizable.ts:22](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable.ts#L22) | -| `minWidth?` | `number` | [dd-resizable.ts:23](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable.ts#L23) | -| `resize?` | (`event`, `ui`) => `void` | [dd-resizable.ts:26](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable.ts#L26) | -| `start?` | (`event`, `ui`) => `void` | [dd-resizable.ts:24](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable.ts#L24) | -| `stop?` | (`event`) => `void` | [dd-resizable.ts:25](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable.ts#L25) | +| Property | Type | Description | Inherited from | Defined in | +| ------ | ------ | ------ | ------ | ------ | +| `autoHide?` | `boolean` | do resize handle hide by default until mouse over. default: true on desktop, false on mobile | [`DDResizeOpt`](#ddresizeopt).[`autoHide`](#autohide-1) | [types.ts:461](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L461) | +| `element?` | `string` \| `HTMLElement` | Custom element or query inside the widget node that is used instead of the generated resize handle. | [`DDResizeOpt`](#ddresizeopt).[`element`](#element-2) | [types.ts:471](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L471) | +| `handles?` | `string` | sides where you can resize from (ex: 'e, se, s, sw, w') - default 'se' (south-east) Note: it is not recommended to resize from the top sides as weird side effect may occur. | [`DDResizeOpt`](#ddresizeopt).[`handles`](#handles-1) | [types.ts:466](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L466) | +| `maxHeight?` | `number` | - | - | [dd-resizable.ts:16](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable.ts#L16) | +| `maxHeightMoveUp?` | `number` | - | - | [dd-resizable.ts:17](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable.ts#L17) | +| `maxWidth?` | `number` | - | - | [dd-resizable.ts:18](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable.ts#L18) | +| `maxWidthMoveLeft?` | `number` | - | - | [dd-resizable.ts:19](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable.ts#L19) | +| `minHeight?` | `number` | - | - | [dd-resizable.ts:20](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable.ts#L20) | +| `minWidth?` | `number` | - | - | [dd-resizable.ts:21](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable.ts#L21) | +| `resize?` | (`event`, `ui`) => `void` | - | - | [dd-resizable.ts:24](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable.ts#L24) | +| `start?` | (`event`, `ui`) => `void` | - | - | [dd-resizable.ts:22](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable.ts#L22) | +| `stop?` | (`event`) => `void` | - | - | [dd-resizable.ts:23](https://github.com/adumesny/gridstack.js/blob/master/src/dd-resizable.ts#L23) | *** @@ -5334,11 +5342,16 @@ Defined in: [types.ts:459](https://github.com/adumesny/gridstack.js/blob/master/ Drag&Drop resize options +#### Extended by + +- [`DDResizableOpt`](#ddresizableopt) + #### Properties | Property | Type | Description | Defined in | | ------ | ------ | ------ | ------ | -| `autoHide?` | `boolean` | do resize handle hide by default until mouse over ? - default: true on desktop, false on mobile | [types.ts:461](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L461) | +| `autoHide?` | `boolean` | do resize handle hide by default until mouse over. default: true on desktop, false on mobile | [types.ts:461](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L461) | +| `element?` | `string` \| `HTMLElement` | Custom element or query inside the widget node that is used instead of the generated resize handle. | [types.ts:471](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L471) | | `handles?` | `string` | sides where you can resize from (ex: 'e, se, s, sw, w') - default 'se' (south-east) Note: it is not recommended to resize from the top sides as weird side effect may occur. | [types.ts:466](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L466) | *** @@ -5346,7 +5359,7 @@ Drag&Drop resize options ### DDUIData -Defined in: [types.ts:507](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L507) +Defined in: [types.ts:512](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L512) data that is passed during drag and resizing callbacks @@ -5354,9 +5367,9 @@ data that is passed during drag and resizing callbacks | Property | Type | Defined in | | ------ | ------ | ------ | -| `draggable?` | `HTMLElement` | [types.ts:510](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L510) | -| `position?` | [`Position`](#position-1) | [types.ts:508](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L508) | -| `size?` | [`Size`](#size-1) | [types.ts:509](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L509) | +| `draggable?` | `HTMLElement` | [types.ts:515](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L515) | +| `position?` | [`Position`](#position-1) | [types.ts:513](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L513) | +| `size?` | [`Size`](#size-1) | [types.ts:514](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L514) | *** @@ -5474,7 +5487,7 @@ options used during GridStackEngine.moveNode() ### GridStackNode -Defined in: [types.ts:524](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L524) +Defined in: [types.ts:529](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L529) internal runtime descriptions describing the widgets in the grid @@ -5488,8 +5501,8 @@ internal runtime descriptions describing the widgets in the grid | ------ | ------ | ------ | ------ | ------ | | `autoPosition?` | `boolean` | if true then x, y parameters will be ignored and widget will be places on the first available position (default?: false) | [`GridStackWidget`](#gridstackwidget).[`autoPosition`](#autoposition-1) | [types.ts:428](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L428) | | `content?` | `string` | html to append inside as content | [`GridStackWidget`](#gridstackwidget).[`content`](#content-1) | [types.ts:446](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L446) | -| `el?` | [`GridItemHTMLElement`](#griditemhtmlelement) | pointer back to HTML element | - | [types.ts:526](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L526) | -| `grid?` | [`GridStack`](#gridstack-1) | pointer back to parent Grid instance | - | [types.ts:528](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L528) | +| `el?` | [`GridItemHTMLElement`](#griditemhtmlelement) | pointer back to HTML element | - | [types.ts:531](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L531) | +| `grid?` | [`GridStack`](#gridstack-1) | pointer back to parent Grid instance | - | [types.ts:533](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L533) | | `h?` | `number` | widget dimension height (default?: 1) | [`GridStackWidget`](#gridstackwidget).[`h`](#h-3) | [types.ts:420](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L420) | | `id?` | `string` | value for `gs-id` stored on the widget (default?: undefined) | [`GridStackWidget`](#gridstackwidget).[`id`](#id-1) | [types.ts:444](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L444) | | `lazyLoad?` | `boolean` | true when widgets are only created when they scroll into view (visible) | [`GridStackWidget`](#gridstackwidget).[`lazyLoad`](#lazyload-2) | [types.ts:448](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L448) | @@ -5502,9 +5515,9 @@ internal runtime descriptions describing the widgets in the grid | `noResize?` | `boolean` | prevent direct resizing by the user (default?: undefined = un-constrained) | [`GridStackWidget`](#gridstackwidget).[`noResize`](#noresize-1) | [types.ts:438](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L438) | | `resizeToContentParent?` | `string` | local override of GridStack.resizeToContentParent that specify the class to use for the parent (actual) vs child (wanted) height | [`GridStackWidget`](#gridstackwidget).[`resizeToContentParent`](#resizetocontentparent-2) | [types.ts:453](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L453) | | `sizeToContent?` | `number` \| `boolean` | local (vs grid) override - see GridStackOptions. Note: This also allow you to set a maximum h value (but user changeable during normal resizing) to prevent unlimited content from taking too much space (get scrollbar) | [`GridStackWidget`](#gridstackwidget).[`sizeToContent`](#sizetocontent-2) | [types.ts:451](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L451) | -| `subGrid?` | [`GridStack`](#gridstack-1) | actual sub-grid instance | - | [types.ts:530](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L530) | +| `subGrid?` | [`GridStack`](#gridstack-1) | actual sub-grid instance | - | [types.ts:535](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L535) | | `subGridOpts?` | [`GridStackOptions`](#gridstackoptions) | optional nested grid options and list of children, which then turns into actual instance at runtime to get options from | [`GridStackWidget`](#gridstackwidget).[`subGridOpts`](#subgridopts-2) | [types.ts:455](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L455) | -| `visibleObservable?` | `IntersectionObserver` | allow delay creation when visible | - | [types.ts:532](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L532) | +| `visibleObservable?` | `IntersectionObserver` | allow delay creation when visible | - | [types.ts:537](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L537) | | `w?` | `number` | widget dimension width (default?: 1) | [`GridStackWidget`](#gridstackwidget).[`w`](#w-4) | [types.ts:418](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L418) | | `x?` | `number` | widget position x (default?: 0) | [`GridStackWidget`](#gridstackwidget).[`x`](#x-4) | [types.ts:414](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L414) | | `y?` | `number` | widget position y (default?: 0) | [`GridStackWidget`](#gridstackwidget).[`y`](#y-4) | [types.ts:416](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L416) | @@ -5650,7 +5663,7 @@ Defines the coordinates of an object ### Position -Defined in: [types.ts:500](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L500) +Defined in: [types.ts:505](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L505) #### Extended by @@ -5660,15 +5673,15 @@ Defined in: [types.ts:500](https://github.com/adumesny/gridstack.js/blob/master/ | Property | Type | Defined in | | ------ | ------ | ------ | -| `left` | `number` | [types.ts:502](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L502) | -| `top` | `number` | [types.ts:501](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L501) | +| `left` | `number` | [types.ts:507](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L507) | +| `top` | `number` | [types.ts:506](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L506) | *** ### Rect -Defined in: [types.ts:504](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L504) +Defined in: [types.ts:509](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L509) #### Extends @@ -5678,10 +5691,10 @@ Defined in: [types.ts:504](https://github.com/adumesny/gridstack.js/blob/master/ | Property | Type | Inherited from | Defined in | | ------ | ------ | ------ | ------ | -| `height` | `number` | [`Size`](#size-1).[`height`](#height-1) | [types.ts:498](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L498) | -| `left` | `number` | [`Position`](#position-1).[`left`](#left-1) | [types.ts:502](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L502) | -| `top` | `number` | [`Position`](#position-1).[`top`](#top-1) | [types.ts:501](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L501) | -| `width` | `number` | [`Size`](#size-1).[`width`](#width-1) | [types.ts:497](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L497) | +| `height` | `number` | [`Size`](#size-1).[`height`](#height-1) | [types.ts:503](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L503) | +| `left` | `number` | [`Position`](#position-1).[`left`](#left-1) | [types.ts:507](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L507) | +| `top` | `number` | [`Position`](#position-1).[`top`](#top-1) | [types.ts:506](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L506) | +| `width` | `number` | [`Size`](#size-1).[`width`](#width-1) | [types.ts:502](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L502) | *** @@ -5710,7 +5723,7 @@ NOTE: Make sure to include the appropriate CSS (gridstack-extra.css) to support ### Size -Defined in: [types.ts:496](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L496) +Defined in: [types.ts:501](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L501) #### Extended by @@ -5720,8 +5733,8 @@ Defined in: [types.ts:496](https://github.com/adumesny/gridstack.js/blob/master/ | Property | Type | Defined in | | ------ | ------ | ------ | -| `height` | `number` | [types.ts:498](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L498) | -| `width` | `number` | [types.ts:497](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L497) | +| `height` | `number` | [types.ts:503](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L503) | +| `width` | `number` | [types.ts:502](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L502) | ## Variables diff --git a/doc/CHANGES.md b/doc/CHANGES.md index e40bc1f0e..40d66a52a 100644 --- a/doc/CHANGES.md +++ b/doc/CHANGES.md @@ -5,6 +5,7 @@ Change log **Table of Contents** *generated with [DocToc](http://doctoc.herokuapp.com/)* +- [12.3.3-dev (TBD)](#1233-dev-tbd) - [12.3.3 (2025-08-13)](#1233-2025-08-13) - [12.3.2 (2025-08-12)](#1232-2025-08-12) - [12.3.1 (2025-08-11)](#1231-2025-08-11) @@ -134,6 +135,9 @@ Change log +## 12.3.3-dev (TBD) +* feat: [#3104](https://github.com/gridstack/gridstack.js/issues/3104) Custom resize div element target - thank you [Marvin Heilemann](https://github.com/muuvmuuv) + ## 12.3.3 (2025-08-13) * fix: [#3139](https://github.com/gridstack/gridstack.js/pull/3139) `Utils:removeInternalForSave()` to skip arrays diff --git a/src/dd-resizable-handle.ts b/src/dd-resizable-handle.ts index dcb04277e..873606948 100644 --- a/src/dd-resizable-handle.ts +++ b/src/dd-resizable-handle.ts @@ -4,12 +4,13 @@ */ import { isTouch, pointerdown, touchend, touchmove, touchstart } from './dd-touch'; -import { DDResizableOpt, GridItemHTMLElement } from './gridstack'; +import { GridItemHTMLElement } from './gridstack'; -export interface DDResizableHandleOpt extends DDResizableOpt { - start?: (event) => void; - move?: (event) => void; - stop?: (event) => void; +export interface DDResizableHandleOpt { + element?: string | HTMLElement; + start?: (event: MouseEvent) => void; + move?: (event: MouseEvent) => void; + stop?: (event: MouseEvent) => void; } export class DDResizableHandle { diff --git a/src/dd-resizable.ts b/src/dd-resizable.ts index fe48071ab..9fdf5e0eb 100644 --- a/src/dd-resizable.ts +++ b/src/dd-resizable.ts @@ -6,16 +6,13 @@ import { DDResizableHandle } from './dd-resizable-handle'; import { DDBaseImplement, HTMLElementExtendOpt } from './dd-base-impl'; import { Utils } from './utils'; -import { DDUIData, GridItemHTMLElement, Rect, Size } from './types'; +import { DDResizeOpt, DDUIData, GridItemHTMLElement, Rect, Size } from './types'; import { DDManager } from './dd-manager'; // import { GridItemHTMLElement } from './types'; let count = 0; // TEST // TODO: merge with DDDragOpt -export interface DDResizableOpt { - autoHide?: boolean; - handles?: string; - element?: string | HTMLElement; +export interface DDResizableOpt extends DDResizeOpt { maxHeight?: number; maxHeightMoveUp?: number; maxWidth?: number; @@ -154,16 +151,10 @@ export class DDResizable extends DDBaseImplement implements HTMLElementExtendOpt this.handlers = this.option.handles.split(',') .map(dir => dir.trim()) .map(dir => new DDResizableHandle(this.el, dir, { - ...this.option, - start: (event: MouseEvent) => { - this._resizeStart(event); - }, - stop: (event: MouseEvent) => { - this._resizeStop(event); - }, - move: (event: MouseEvent) => { - this._resizing(event, dir); - } + element: this.option.element, + start: (event: MouseEvent) => this._resizeStart(event), + stop: (event: MouseEvent) => this._resizeStop(event), + move: (event: MouseEvent) => this._resizing(event, dir) })); return this; } diff --git a/src/types.ts b/src/types.ts index 138e23328..a89e56530 100644 --- a/src/types.ts +++ b/src/types.ts @@ -337,7 +337,7 @@ export interface GridStackOptions { /** placeholder default content (default?: '') */ placeholderText?: string; - /** allows to override UI resizable options. (default?: { handles: 'se' }) */ + /** allows to override UI resizable options. default is { handles: 'se', autoHide: true on desktop, false on mobile } */ resizable?: DDResizeOpt; /** @@ -457,7 +457,7 @@ export interface GridStackWidget extends GridStackPosition { /** Drag&Drop resize options */ export interface DDResizeOpt { - /** do resize handle hide by default until mouse over ? - default: true on desktop, false on mobile*/ + /** do resize handle hide by default until mouse over. default: true on desktop, false on mobile */ autoHide?: boolean; /** * sides where you can resize from (ex: 'e, se, s, sw, w') - default 'se' (south-east) From ff5fda46d13713813c996742781e1d8378f9438c Mon Sep 17 00:00:00 2001 From: Alain Dumesny Date: Sun, 7 Sep 2025 07:26:24 -0700 Subject: [PATCH 084/235] exclude .spec.ts from build --- package.json | 4 ++-- tsconfig.build.json | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 tsconfig.build.json diff --git a/package.json b/package.json index 37cffb954..dddf5dc3e 100644 --- a/package.json +++ b/package.json @@ -25,10 +25,10 @@ } ], "scripts": { - "build": "yarn --no-progress && yarn build:ng && grunt && webpack && tsc --stripInternal && yarn doc", + "build": "yarn --no-progress && yarn build:ng && grunt && webpack && tsc --project tsconfig.build.json --stripInternal && yarn doc", "build:ng": "cd angular && yarn --no-progress && yarn build lib", "w": "webpack", - "t": "rm -rf dist/* && grunt && tsc --stripInternal", + "t": "rm -rf dist/* && grunt && tsc --project tsconfig.build.json --stripInternal", "doc": "doctoc ./README.md && doctoc ./doc/CHANGES.md && node scripts/generate-docs.js", "doc:main": "node scripts/generate-docs.js --main-only", "doc:angular": "node scripts/generate-docs.js --angular-only", diff --git a/tsconfig.build.json b/tsconfig.build.json new file mode 100644 index 000000000..cd5fa72c5 --- /dev/null +++ b/tsconfig.build.json @@ -0,0 +1,19 @@ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "skipLibCheck": true + }, + "include": [ + "./src/**/*.ts" + ], + "exclude": [ + "./src/**/*.spec.ts", + "./src/**/*.test.ts", + "./spec/**/*", + "./vitest.setup.ts", + "./vitest.config.ts", + "./angular/**/*", + "./demo/**/*", + "./node_modules/**/*" + ] +} From f065e36c653c3242aea391dbde5e9d20aa476297 Mon Sep 17 00:00:00 2001 From: Alain Dumesny Date: Sun, 7 Sep 2025 07:42:18 -0700 Subject: [PATCH 085/235] yarn lint fixes --- angular/projects/lib/src/lib/base-widget.ts | 24 +++---- .../lib/src/lib/gridstack-item.component.ts | 8 +-- .../lib/src/lib/gridstack.component.ts | 64 ++++++++++--------- .../projects/lib/src/lib/gridstack.module.ts | 6 +- angular/projects/lib/src/lib/types.ts | 3 +- package.json | 2 +- src/gridstack.ts | 2 +- src/utils.ts | 2 +- tsconfig.build.json | 8 ++- 9 files changed, 63 insertions(+), 56 deletions(-) diff --git a/angular/projects/lib/src/lib/base-widget.ts b/angular/projects/lib/src/lib/base-widget.ts index f903ef373..78f3cb736 100644 --- a/angular/projects/lib/src/lib/base-widget.ts +++ b/angular/projects/lib/src/lib/base-widget.ts @@ -5,14 +5,14 @@ /** * Abstract base class that all custom widgets should extend. - * + * * This class provides the interface needed for GridstackItemComponent to: * - Serialize/deserialize widget data * - Save/restore widget state * - Integrate with Angular lifecycle - * + * * Extend this class when creating custom widgets for dynamic grids. - * + * * @example * ```typescript * @Component({ @@ -21,7 +21,7 @@ * }) * export class MyCustomWidget extends BaseWidget { * @Input() data: string = ''; - * + * * serialize() { * return { data: this.data }; * } @@ -46,12 +46,12 @@ export abstract class BaseWidget { /** * Override this method to return serializable data for this widget. - * + * * Return an object with properties that map to your component's @Input() fields. * The selector is handled automatically, so only include component-specific data. - * + * * @returns Object containing serializable component data - * + * * @example * ```typescript * serialize() { @@ -67,17 +67,17 @@ export abstract class BaseWidget { /** * Override this method to handle widget restoration from saved data. - * + * * Use this for complex initialization that goes beyond simple @Input() mapping. * The default implementation automatically assigns input data to component properties. - * + * * @param w The saved widget data including input properties - * + * * @example * ```typescript * deserialize(w: NgGridStackWidget) { * super.deserialize(w); // Call parent for basic setup - * + * * // Custom initialization logic * if (w.input?.complexData) { * this.processComplexData(w.input.complexData); @@ -92,4 +92,4 @@ export abstract class BaseWidget { if (w.input) Object.assign(this, w.input); } - } +} diff --git a/angular/projects/lib/src/lib/gridstack-item.component.ts b/angular/projects/lib/src/lib/gridstack-item.component.ts index 18653a917..1d2675565 100644 --- a/angular/projects/lib/src/lib/gridstack-item.component.ts +++ b/angular/projects/lib/src/lib/gridstack-item.component.ts @@ -18,15 +18,15 @@ export interface GridItemCompHTMLElement extends GridItemHTMLElement { /** * Angular component wrapper for individual GridStack items. - * + * * This component represents a single grid item and handles: * - Dynamic content creation and management * - Integration with parent GridStack component * - Component lifecycle and cleanup * - Widget options and configuration - * + * * Use in combination with GridstackComponent for the parent grid. - * + * * @example * ```html * @@ -76,7 +76,7 @@ export class GridstackItemComponent implements OnDestroy { /** * Grid item configuration options. * Defines position, size, and behavior of this grid item. - * + * * @example * ```typescript * itemOptions: GridStackNode = { diff --git a/angular/projects/lib/src/lib/gridstack.component.ts b/angular/projects/lib/src/lib/gridstack.component.ts index f129aab40..dd0eb90b5 100644 --- a/angular/projects/lib/src/lib/gridstack.component.ts +++ b/angular/projects/lib/src/lib/gridstack.component.ts @@ -4,8 +4,8 @@ */ import { - AfterContentInit, Component, ContentChildren, ElementRef, EventEmitter, Input, - OnDestroy, OnInit, Output, QueryList, Type, ViewChild, ViewContainerRef, reflectComponentType, ComponentRef + AfterContentInit, Component, ContentChildren, ElementRef, EventEmitter, Input, + OnDestroy, OnInit, Output, QueryList, Type, ViewChild, ViewContainerRef, reflectComponentType, ComponentRef } from '@angular/core'; import { NgIf } from '@angular/common'; import { Subscription } from 'rxjs'; @@ -45,19 +45,19 @@ export interface GridCompHTMLElement extends GridHTMLElement { * Mapping of selector strings to Angular component types. * Used for dynamic component creation based on widget selectors. */ -export type SelectorToType = {[key: string]: Type}; +export type SelectorToType = {[key: string]: Type}; /** * Angular component wrapper for GridStack. - * + * * This component provides Angular integration for GridStack grids, handling: * - Grid initialization and lifecycle * - Dynamic component creation and management * - Event binding and emission * - Integration with Angular change detection - * + * * Use in combination with GridstackItemComponent for individual grid items. - * + * * @example * ```html * @@ -99,7 +99,7 @@ export class GridstackComponent implements OnInit, AfterContentInit, OnDestroy { /** * Grid configuration options. * Can be set before grid initialization or updated after grid is created. - * + * * @example * ```typescript * gridOptions: GridStackOptions = { @@ -122,7 +122,7 @@ export class GridstackComponent implements OnInit, AfterContentInit, OnDestroy { /** * Controls whether empty content should be displayed. * Set to true to show ng-content with 'empty-content' selector when grid has no items. - * + * * @example * ```html * @@ -134,52 +134,52 @@ export class GridstackComponent implements OnInit, AfterContentInit, OnDestroy { /** * GridStack event emitters for Angular integration. - * + * * These provide Angular-style event handling for GridStack events. * Alternatively, use `this.grid.on('event1 event2', callback)` for multiple events. - * + * * Note: 'CB' suffix prevents conflicts with native DOM events. - * + * * @example * ```html * * * ``` */ - + /** Emitted when widgets are added to the grid */ @Output() public addedCB = new EventEmitter(); - + /** Emitted when grid layout changes */ @Output() public changeCB = new EventEmitter(); - + /** Emitted when grid is disabled */ @Output() public disableCB = new EventEmitter(); - + /** Emitted during widget drag operations */ @Output() public dragCB = new EventEmitter(); - + /** Emitted when widget drag starts */ @Output() public dragStartCB = new EventEmitter(); - + /** Emitted when widget drag stops */ @Output() public dragStopCB = new EventEmitter(); - + /** Emitted when widget is dropped */ @Output() public droppedCB = new EventEmitter(); - + /** Emitted when grid is enabled */ @Output() public enableCB = new EventEmitter(); - + /** Emitted when widgets are removed from the grid */ @Output() public removedCB = new EventEmitter(); - + /** Emitted during widget resize operations */ @Output() public resizeCB = new EventEmitter(); - + /** Emitted when widget resize starts */ @Output() public resizeStartCB = new EventEmitter(); - + /** Emitted when widget resize stops */ @Output() public resizeStopCB = new EventEmitter(); @@ -192,7 +192,7 @@ export class GridstackComponent implements OnInit, AfterContentInit, OnDestroy { /** * Get the underlying GridStack instance. * Use this to access GridStack API methods directly. - * + * * @example * ```typescript * this.gridComponent.grid.addWidget({x: 0, y: 0, w: 2, h: 1}); @@ -208,10 +208,10 @@ export class GridstackComponent implements OnInit, AfterContentInit, OnDestroy { /** * Mapping of component selectors to their types for dynamic creation. - * + * * This enables dynamic component instantiation from string selectors. * Angular doesn't provide public access to this mapping, so we maintain our own. - * + * * @example * ```typescript * GridstackComponent.addComponentToSelectorType([MyWidgetComponent]); @@ -220,9 +220,9 @@ export class GridstackComponent implements OnInit, AfterContentInit, OnDestroy { public static selectorToType: SelectorToType = {}; /** * Register a list of Angular components for dynamic creation. - * + * * @param typeList Array of component types to register - * + * * @example * ```typescript * GridstackComponent.addComponentToSelectorType([ @@ -231,16 +231,17 @@ export class GridstackComponent implements OnInit, AfterContentInit, OnDestroy { * ]); * ``` */ - public static addComponentToSelectorType(typeList: Array>) { + public static addComponentToSelectorType(typeList: Array>) { typeList.forEach(type => GridstackComponent.selectorToType[ GridstackComponent.getSelector(type) ] = type); } /** * Extract the selector string from an Angular component type. - * + * * @param type The component type to get selector from * @returns The component's selector string */ - public static getSelector(type: Type): string { + public static getSelector(type: Type): string { + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion return reflectComponentType(type)!.selector; } @@ -367,6 +368,7 @@ export function gsCreateNgComponents(host: GridCompHTMLElement | HTMLElement, n: const gridItemComp = (host.parentElement as GridItemCompHTMLElement)?._gridItemComp; if (!gridItemComp) return; // check if gridItem has a child component with 'container' exposed to create under.. + // eslint-disable-next-line @typescript-eslint/no-explicit-any const container = (gridItemComp.childWidget as any)?.container || gridItemComp.container; const gridRef = container?.createComponent(GridstackComponent); const grid = gridRef?.instance; diff --git a/angular/projects/lib/src/lib/gridstack.module.ts b/angular/projects/lib/src/lib/gridstack.module.ts index 1add6e9f2..77171043c 100644 --- a/angular/projects/lib/src/lib/gridstack.module.ts +++ b/angular/projects/lib/src/lib/gridstack.module.ts @@ -10,10 +10,10 @@ import { GridstackComponent } from "./gridstack.component"; /** * @deprecated Use GridstackComponent and GridstackItemComponent as standalone components instead. - * + * * This NgModule is provided for backward compatibility but is no longer the recommended approach. * Import components directly in your standalone components or use the new Angular module structure. - * + * * @example * ```typescript * // Preferred approach - standalone components @@ -23,7 +23,7 @@ import { GridstackComponent } from "./gridstack.component"; * template: '' * }) * export class AppComponent {} - * + * * // Legacy approach (deprecated) * @NgModule({ * imports: [GridstackModule] diff --git a/angular/projects/lib/src/lib/types.ts b/angular/projects/lib/src/lib/types.ts index a02d6b08c..cdbd8b7d8 100644 --- a/angular/projects/lib/src/lib/types.ts +++ b/angular/projects/lib/src/lib/types.ts @@ -41,7 +41,7 @@ export interface NgGridStackOptions extends GridStackOptions { /** * Type for component input data serialization. * Maps @Input() property names to their values for widget persistence. - * + * * @example * ```typescript * const inputs: NgCompInputs = { @@ -51,4 +51,5 @@ export interface NgGridStackOptions extends GridStackOptions { * }; * ``` */ +// eslint-disable-next-line @typescript-eslint/no-explicit-any export type NgCompInputs = {[key: string]: any}; diff --git a/package.json b/package.json index dddf5dc3e..8fa4a64a4 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "test:e2e": "playwright test", "test:e2e:ui": "playwright test --ui", "test:e2e:headed": "playwright test --headed", - "lint": "tsc --noEmit && eslint src/*.ts", + "lint": "tsc --project tsconfig.build.json --noEmit && eslint src/*.ts angular/projects/lib/src/**/*.ts", "reset": "rm -rf dist node_modules", "prepublishOnly": "yarn build" }, diff --git a/src/gridstack.ts b/src/gridstack.ts index 842e4ec80..30c8595d2 100644 --- a/src/gridstack.ts +++ b/src/gridstack.ts @@ -957,7 +957,7 @@ export class GridStack { // https://stackoverflow.com/questions/21064101/understanding-offsetwidth-clientwidth-scrollwidth-and-height-respectively return forBreakpoint && this.opts.columnOpts?.breakpointForWindow ? window.innerWidth : (this.el.clientWidth || this.el.parentElement.clientWidth || window.innerWidth); } - + /** checks for dynamic column count for our current size, returning true if changed */ protected checkDynamicColumn(): boolean { const resp = this.opts.columnOpts; diff --git a/src/utils.ts b/src/utils.ts index 2969e4810..d3bc41dad 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -3,7 +3,7 @@ * Copyright (c) 2021-2025 Alain Dumesny - see GridStack root license */ -import { GridStackElement, GridStackNode, GridStackOptions, numberOrString, GridStackPosition, GridStackWidget } from './types'; +import { GridStackElement, GridStackNode, numberOrString, GridStackPosition, GridStackWidget } from './types'; export interface HeightData { h: number; diff --git a/tsconfig.build.json b/tsconfig.build.json index cd5fa72c5..5607a3d35 100644 --- a/tsconfig.build.json +++ b/tsconfig.build.json @@ -4,7 +4,8 @@ "skipLibCheck": true }, "include": [ - "./src/**/*.ts" + "./src/**/*.ts", + "./angular/projects/lib/src/**/*.ts" ], "exclude": [ "./src/**/*.spec.ts", @@ -12,7 +13,10 @@ "./spec/**/*", "./vitest.setup.ts", "./vitest.config.ts", - "./angular/**/*", + "./angular/projects/lib/src/**/*.spec.ts", + "./angular/projects/lib/src/test.ts", + "./angular/projects/demo/**/*", + "./angular/node_modules/**/*", "./demo/**/*", "./node_modules/**/*" ] From 17a4fe3bb4c2456cbc709795a1ede53ff523236b Mon Sep 17 00:00:00 2001 From: Alain Dumesny Date: Sun, 7 Sep 2025 08:43:38 -0700 Subject: [PATCH 086/235] dd code coverage --- angular/doc/api/base-widget.md | 4 +- angular/doc/api/gridstack.component.md | 38 +- angular/doc/api/types.md | 2 +- spec/dd-base-impl-spec.ts | 99 +++++ spec/dd-droppable-spec.ts | 311 +++++++++++++++ spec/dd-manager-spec.ts | 63 +++ spec/dd-simple-integration-spec.ts | 248 ++++++++++++ spec/dd-touch-spec.ts | 515 +++++++++++++++++++++++++ webpack.config.js | 9 +- 9 files changed, 1265 insertions(+), 24 deletions(-) create mode 100644 spec/dd-base-impl-spec.ts create mode 100644 spec/dd-droppable-spec.ts create mode 100644 spec/dd-manager-spec.ts create mode 100644 spec/dd-simple-integration-spec.ts create mode 100644 spec/dd-touch-spec.ts diff --git a/angular/doc/api/base-widget.md b/angular/doc/api/base-widget.md index 8a81d03a5..e71850e59 100644 --- a/angular/doc/api/base-widget.md +++ b/angular/doc/api/base-widget.md @@ -80,8 +80,8 @@ The default implementation automatically assigns input data to component propert ```typescript deserialize(w: NgGridStackWidget) { - super.deserialize(w); // Call parent for basic setup - + super.deserialize(w); // Call parent for basic setup + // Custom initialization logic if (w.input?.complexData) { this.processComplexData(w.input.complexData); diff --git a/angular/doc/api/gridstack.component.md b/angular/doc/api/gridstack.component.md index c642e0257..28263105b 100644 --- a/angular/doc/api/gridstack.component.md +++ b/angular/doc/api/gridstack.component.md @@ -127,7 +127,7 @@ this.gridComponent.grid.addWidget({x: 0, y: 0, w: 2, h: 1}); new GridstackComponent(elementRef): GridstackComponent; ``` -Defined in: [angular/projects/lib/src/lib/gridstack.component.ts:252](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L252) +Defined in: [angular/projects/lib/src/lib/gridstack.component.ts:253](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L253) ###### Parameters @@ -155,7 +155,7 @@ Register a list of Angular components for dynamic creation. | Parameter | Type | Description | | ------ | ------ | ------ | -| `typeList` | `Type`\<`Object`\>[] | Array of component types to register | +| `typeList` | `Type`\<`object`\>[] | Array of component types to register | ###### Returns @@ -184,7 +184,7 @@ Extract the selector string from an Angular component type. | Parameter | Type | Description | | ------ | ------ | ------ | -| `type` | `Type`\<`Object`\> | The component type to get selector from | +| `type` | `Type`\<`object`\> | The component type to get selector from | ###### Returns @@ -198,7 +198,7 @@ The component's selector string ngOnInit(): void; ``` -Defined in: [angular/projects/lib/src/lib/gridstack.component.ts:266](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L266) +Defined in: [angular/projects/lib/src/lib/gridstack.component.ts:267](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L267) A callback method that is invoked immediately after the default change detector has checked the directive's @@ -222,7 +222,7 @@ OnInit.ngOnInit ngAfterContentInit(): void; ``` -Defined in: [angular/projects/lib/src/lib/gridstack.component.ts:276](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L276) +Defined in: [angular/projects/lib/src/lib/gridstack.component.ts:277](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L277) wait until after all DOM is ready to init gridstack children (after angular ngFor and sub-components run first) @@ -242,7 +242,7 @@ AfterContentInit.ngAfterContentInit ngOnDestroy(): void; ``` -Defined in: [angular/projects/lib/src/lib/gridstack.component.ts:284](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L284) +Defined in: [angular/projects/lib/src/lib/gridstack.component.ts:285](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L285) A callback method that performs custom clean-up, invoked immediately before a directive, pipe, or service instance is destroyed. @@ -263,7 +263,7 @@ OnDestroy.ngOnDestroy updateAll(): void; ``` -Defined in: [angular/projects/lib/src/lib/gridstack.component.ts:298](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L298) +Defined in: [angular/projects/lib/src/lib/gridstack.component.ts:299](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L299) called when the TEMPLATE (not recommended) list of items changes - get a list of nodes and update the layout accordingly (which will take care of adding/removing items changed by Angular) @@ -278,7 +278,7 @@ update the layout accordingly (which will take care of adding/removing items cha checkEmpty(): void; ``` -Defined in: [angular/projects/lib/src/lib/gridstack.component.ts:309](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L309) +Defined in: [angular/projects/lib/src/lib/gridstack.component.ts:310](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L310) check if the grid is empty, if so show alternative content @@ -292,7 +292,7 @@ check if the grid is empty, if so show alternative content protected hookEvents(grid?): void; ``` -Defined in: [angular/projects/lib/src/lib/gridstack.component.ts:315](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L315) +Defined in: [angular/projects/lib/src/lib/gridstack.component.ts:316](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L316) get all known events as easy to use Outputs for convenience @@ -312,7 +312,7 @@ get all known events as easy to use Outputs for convenience protected unhookEvents(grid?): void; ``` -Defined in: [angular/projects/lib/src/lib/gridstack.component.ts:342](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L342) +Defined in: [angular/projects/lib/src/lib/gridstack.component.ts:343](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L343) ###### Parameters @@ -345,11 +345,11 @@ Defined in: [angular/projects/lib/src/lib/gridstack.component.ts:342](https://gi | `resizeStopCB` | `public` | `EventEmitter`\<[`elementCB`](#elementcb)\> | `undefined` | Emitted when widget resize stops | [angular/projects/lib/src/lib/gridstack.component.ts:184](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L184) | | `ref` | `public` | \| `undefined` \| `ComponentRef`\<[`GridstackComponent`](#gridstackcomponent)\> | `undefined` | Component reference for dynamic component removal. Used internally when this component is created dynamically. | [angular/projects/lib/src/lib/gridstack.component.ts:207](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L207) | | `selectorToType` | `static` | [`SelectorToType`](#selectortotype) | `{}` | Mapping of component selectors to their types for dynamic creation. This enables dynamic component instantiation from string selectors. Angular doesn't provide public access to this mapping, so we maintain our own. **Example** `GridstackComponent.addComponentToSelectorType([MyWidgetComponent]);` | [angular/projects/lib/src/lib/gridstack.component.ts:220](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L220) | -| `_options?` | `protected` | `GridStackOptions` | `undefined` | - | [angular/projects/lib/src/lib/gridstack.component.ts:247](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L247) | -| `_grid?` | `protected` | `GridStack` | `undefined` | - | [angular/projects/lib/src/lib/gridstack.component.ts:248](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L248) | -| `_sub` | `protected` | `undefined` \| `Subscription` | `undefined` | - | [angular/projects/lib/src/lib/gridstack.component.ts:249](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L249) | -| `loaded?` | `protected` | `boolean` | `undefined` | - | [angular/projects/lib/src/lib/gridstack.component.ts:250](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L250) | -| `elementRef` | `readonly` | `ElementRef`\<[`GridCompHTMLElement`](#gridcomphtmlelement)\> | `undefined` | - | [angular/projects/lib/src/lib/gridstack.component.ts:252](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L252) | +| `_options?` | `protected` | `GridStackOptions` | `undefined` | - | [angular/projects/lib/src/lib/gridstack.component.ts:248](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L248) | +| `_grid?` | `protected` | `GridStack` | `undefined` | - | [angular/projects/lib/src/lib/gridstack.component.ts:249](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L249) | +| `_sub` | `protected` | `undefined` \| `Subscription` | `undefined` | - | [angular/projects/lib/src/lib/gridstack.component.ts:250](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L250) | +| `loaded?` | `protected` | `boolean` | `undefined` | - | [angular/projects/lib/src/lib/gridstack.component.ts:251](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L251) | +| `elementRef` | `readonly` | `ElementRef`\<[`GridCompHTMLElement`](#gridcomphtmlelement)\> | `undefined` | - | [angular/projects/lib/src/lib/gridstack.component.ts:253](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L253) | ## Interfaces @@ -3095,7 +3095,7 @@ function gsCreateNgComponents( isGrid): undefined | HTMLElement; ``` -Defined in: [angular/projects/lib/src/lib/gridstack.component.ts:353](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L353) +Defined in: [angular/projects/lib/src/lib/gridstack.component.ts:354](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L354) can be used when a new item needs to be created, which we do as a Angular component, or deleted (skip) @@ -3120,7 +3120,7 @@ can be used when a new item needs to be created, which we do as a Angular compon function gsSaveAdditionalNgInfo(n, w): void; ``` -Defined in: [angular/projects/lib/src/lib/gridstack.component.ts:437](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L437) +Defined in: [angular/projects/lib/src/lib/gridstack.component.ts:439](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L439) called for each item in the grid - check if additional information needs to be saved. Note: since this is options minus gridstack protected members using Utils.removeInternalForSave(), @@ -3146,7 +3146,7 @@ using BaseWidget.serialize() function gsUpdateNgComponents(n): void; ``` -Defined in: [angular/projects/lib/src/lib/gridstack.component.ts:456](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L456) +Defined in: [angular/projects/lib/src/lib/gridstack.component.ts:458](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L458) track when widgeta re updated (rather than created) to make sure we de-serialize them as well @@ -3296,5 +3296,5 @@ Used for dynamic component creation based on widget selectors. #### Index Signature ```ts -[key: string]: Type +[key: string]: Type ``` diff --git a/angular/doc/api/types.md b/angular/doc/api/types.md index 0615a08dd..65322fde1 100644 --- a/angular/doc/api/types.md +++ b/angular/doc/api/types.md @@ -68,7 +68,7 @@ Supports Angular-specific widget definitions and nested grids. type NgCompInputs = object; ``` -Defined in: [angular/projects/lib/src/lib/types.ts:54](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/types.ts#L54) +Defined in: [angular/projects/lib/src/lib/types.ts:55](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/types.ts#L55) Type for component input data serialization. Maps @Input() property names to their values for widget persistence. diff --git a/spec/dd-base-impl-spec.ts b/spec/dd-base-impl-spec.ts new file mode 100644 index 000000000..e56bacca7 --- /dev/null +++ b/spec/dd-base-impl-spec.ts @@ -0,0 +1,99 @@ +import { DDBaseImplement } from '../src/dd-base-impl'; + +describe('DDBaseImplement', () => { + let baseImpl: DDBaseImplement; + + beforeEach(() => { + baseImpl = new DDBaseImplement(); + }); + + describe('constructor', () => { + it('should create instance with undefined disabled state', () => { + expect(baseImpl.disabled).toBeUndefined(); + }); + }); + + describe('enable/disable', () => { + it('should enable when disabled', () => { + baseImpl.disable(); + expect(baseImpl.disabled).toBe(true); + + baseImpl.enable(); + + expect(baseImpl.disabled).toBe(false); + }); + + it('should disable when enabled', () => { + baseImpl.enable(); + expect(baseImpl.disabled).toBe(false); + + baseImpl.disable(); + + expect(baseImpl.disabled).toBe(true); + }); + + it('should return undefined (no chaining)', () => { + expect(baseImpl.enable()).toBeUndefined(); + expect(baseImpl.disable()).toBeUndefined(); + }); + }); + + describe('destroy', () => { + it('should clean up event register', () => { + baseImpl.enable(); + baseImpl.on('test', () => {}); + + baseImpl.destroy(); + + // Should not throw when trying to trigger events after destroy + expect(() => baseImpl.triggerEvent('test', new Event('test'))).not.toThrow(); + }); + }); + + describe('event handling', () => { + beforeEach(() => { + baseImpl.enable(); // Need to enable for events to trigger + }); + + it('should handle on/off events', () => { + const callback = vi.fn(); + + baseImpl.on('test', callback); + baseImpl.triggerEvent('test', new Event('test')); + + expect(callback).toHaveBeenCalled(); + }); + + it('should remove event listeners with off', () => { + const callback = vi.fn(); + + baseImpl.on('test', callback); + baseImpl.off('test'); + baseImpl.triggerEvent('test', new Event('test')); + + expect(callback).not.toHaveBeenCalled(); + }); + + it('should only keep last listener for same event', () => { + const callback1 = vi.fn(); + const callback2 = vi.fn(); + + baseImpl.on('test', callback1); + baseImpl.on('test', callback2); // This overwrites callback1 + baseImpl.triggerEvent('test', new Event('test')); + + expect(callback1).not.toHaveBeenCalled(); + expect(callback2).toHaveBeenCalled(); + }); + + it('should not trigger events when disabled', () => { + const callback = vi.fn(); + + baseImpl.on('test', callback); + baseImpl.disable(); + baseImpl.triggerEvent('test', new Event('test')); + + expect(callback).not.toHaveBeenCalled(); + }); + }); +}); diff --git a/spec/dd-droppable-spec.ts b/spec/dd-droppable-spec.ts new file mode 100644 index 000000000..59fd0ecbe --- /dev/null +++ b/spec/dd-droppable-spec.ts @@ -0,0 +1,311 @@ +import { DDDroppable } from '../src/dd-droppable'; +import { DDManager } from '../src/dd-manager'; + +describe('DDDroppable', () => { + let element: HTMLElement; + let droppable: DDDroppable; + + beforeEach(() => { + // Create a test element + element = document.createElement('div'); + element.id = 'test-droppable'; + element.style.width = '100px'; + element.style.height = '100px'; + document.body.appendChild(element); + }); + + afterEach(() => { + // Clean up + if (droppable) { + droppable.destroy(); + } + if (element.parentNode) { + element.parentNode.removeChild(element); + } + // Clear DDManager state + delete DDManager.dragElement; + delete DDManager.dropElement; + }); + + describe('constructor', () => { + it('should create a droppable instance with default options', () => { + droppable = new DDDroppable(element); + + expect(droppable).toBeDefined(); + expect(droppable.el).toBe(element); + expect(droppable.option).toEqual({}); + expect(element.classList.contains('ui-droppable')).toBe(true); + }); + + it('should create a droppable instance with custom options', () => { + const options = { + accept: '.draggable-item', + drop: vi.fn(), + over: vi.fn(), + out: vi.fn() + }; + + droppable = new DDDroppable(element, options); + + expect(droppable.option).toBe(options); + expect(droppable.accept).toBeDefined(); + }); + }); + + describe('enable/disable', () => { + beforeEach(() => { + droppable = new DDDroppable(element); + }); + + it('should enable droppable functionality', () => { + droppable.disable(); + expect(droppable.disabled).toBe(true); + expect(element.classList.contains('ui-droppable-disabled')).toBe(true); + + droppable.enable(); + expect(droppable.disabled).toBe(false); + expect(element.classList.contains('ui-droppable')).toBe(true); + expect(element.classList.contains('ui-droppable-disabled')).toBe(false); + }); + + it('should disable droppable functionality', () => { + expect(droppable.disabled).toBe(false); + + droppable.disable(); + expect(droppable.disabled).toBe(true); + expect(element.classList.contains('ui-droppable')).toBe(false); + expect(element.classList.contains('ui-droppable-disabled')).toBe(true); + }); + + it('should not enable if already enabled', () => { + const spy = vi.spyOn(element.classList, 'add'); + droppable.enable(); // Already enabled + expect(spy).not.toHaveBeenCalled(); + }); + + it('should not disable if already disabled', () => { + droppable.disable(); + const spy = vi.spyOn(element.classList, 'remove'); + droppable.disable(); // Already disabled + expect(spy).not.toHaveBeenCalled(); + }); + }); + + describe('destroy', () => { + it('should clean up droppable instance', () => { + droppable = new DDDroppable(element); + + droppable.destroy(); + + expect(element.classList.contains('ui-droppable')).toBe(false); + expect(element.classList.contains('ui-droppable-disabled')).toBe(false); + expect(droppable.disabled).toBe(true); + }); + }); + + describe('updateOption', () => { + beforeEach(() => { + droppable = new DDDroppable(element); + }); + + it('should update options', () => { + const newOptions = { + accept: '.new-class', + drop: vi.fn() + }; + + const result = droppable.updateOption(newOptions); + + expect(result).toBe(droppable); + expect(droppable.option.accept).toBe('.new-class'); + expect(droppable.option.drop).toBe(newOptions.drop); + }); + + it('should update accept function when accept is a string', () => { + droppable.updateOption({ accept: '.test-class' }); + + expect(droppable.accept).toBeDefined(); + + // Test the accept function + const testEl = document.createElement('div'); + testEl.classList.add('test-class'); + expect(droppable.accept(testEl)).toBe(true); + + const otherEl = document.createElement('div'); + expect(droppable.accept(otherEl)).toBe(false); + }); + + it('should update accept function when accept is a function', () => { + const acceptFn = vi.fn().mockReturnValue(true); + droppable.updateOption({ accept: acceptFn }); + + expect(droppable.accept).toBe(acceptFn); + }); + }); + + describe('mouse events', () => { + beforeEach(() => { + droppable = new DDDroppable(element, { + over: vi.fn(), + out: vi.fn(), + drop: vi.fn() + }); + + // Create a mock draggable element + const mockDraggable = { + el: document.createElement('div'), + ui: vi.fn().mockReturnValue({ + helper: document.createElement('div'), + position: { left: 0, top: 0 } + }) + }; + DDManager.dragElement = mockDraggable as any; + }); + + describe('_mouseEnter', () => { + it('should handle mouse enter when dragging', () => { + const event = new MouseEvent('mouseenter', { bubbles: true }); + const spy = vi.spyOn(event, 'preventDefault'); + + droppable._mouseEnter(event); + + expect(spy).toHaveBeenCalled(); + expect(DDManager.dropElement).toBe(droppable); + expect(element.classList.contains('ui-droppable-over')).toBe(true); + expect(droppable.option.over).toHaveBeenCalled(); + }); + + it('should not handle mouse enter when not dragging', () => { + delete DDManager.dragElement; + const event = new MouseEvent('mouseenter', { bubbles: true }); + + droppable._mouseEnter(event); + + expect(DDManager.dropElement).toBeUndefined(); + expect(element.classList.contains('ui-droppable-over')).toBe(false); + }); + + it('should not handle mouse enter when element cannot be dropped', () => { + droppable.updateOption({ accept: '.not-matching' }); + const event = new MouseEvent('mouseenter', { bubbles: true }); + + droppable._mouseEnter(event); + + expect(DDManager.dropElement).toBeUndefined(); + expect(element.classList.contains('ui-droppable-over')).toBe(false); + }); + }); + + describe('_mouseLeave', () => { + beforeEach(() => { + DDManager.dropElement = droppable; + element.classList.add('ui-droppable-over'); + }); + + it('should handle mouse leave when this is the current drop element', () => { + const event = new MouseEvent('mouseleave', { bubbles: true }); + const spy = vi.spyOn(event, 'preventDefault'); + + droppable._mouseLeave(event); + + expect(spy).toHaveBeenCalled(); + expect(DDManager.dropElement).toBeUndefined(); + expect(droppable.option.out).toHaveBeenCalled(); + }); + + it('should not handle mouse leave when not the current drop element', () => { + DDManager.dropElement = null as any; + const event = new MouseEvent('mouseleave', { bubbles: true }); + + droppable._mouseLeave(event); + + expect(droppable.option.out).not.toHaveBeenCalled(); + }); + + it('should not handle mouse leave when no drag element', () => { + delete DDManager.dragElement; + const event = new MouseEvent('mouseleave', { bubbles: true }); + + droppable._mouseLeave(event); + + expect(droppable.option.out).not.toHaveBeenCalled(); + }); + }); + + describe('drop', () => { + it('should handle drop event', () => { + const event = new MouseEvent('mouseup', { bubbles: true }); + const spy = vi.spyOn(event, 'preventDefault'); + + droppable.drop(event); + + expect(spy).toHaveBeenCalled(); + expect(droppable.option.drop).toHaveBeenCalled(); + }); + }); + }); + + describe('_canDrop', () => { + beforeEach(() => { + droppable = new DDDroppable(element); + }); + + it('should return true when no accept filter is set', () => { + const testEl = document.createElement('div'); + expect(droppable._canDrop(testEl)).toBe(true); + }); + + it('should return false when element is null', () => { + expect(droppable._canDrop(null as any)).toBeFalsy(); + }); + + it('should use accept function when set', () => { + const acceptFn = vi.fn().mockReturnValue(false); + droppable.accept = acceptFn; + + const testEl = document.createElement('div'); + const result = droppable._canDrop(testEl); + + expect(acceptFn).toHaveBeenCalledWith(testEl); + expect(result).toBe(false); + }); + }); + + describe('event handling', () => { + beforeEach(() => { + droppable = new DDDroppable(element); + }); + + it('should support on/off event methods', () => { + const callback = vi.fn(); + + droppable.on('drop', callback); + droppable.off('drop'); + + // These methods should exist and not throw + expect(typeof droppable.on).toBe('function'); + expect(typeof droppable.off).toBe('function'); + }); + }); + + describe('_ui helper', () => { + it('should create UI data object', () => { + droppable = new DDDroppable(element); + + const dragEl = document.createElement('div'); + const mockDraggable = { + el: dragEl, + ui: vi.fn().mockReturnValue({ + helper: dragEl, + position: { left: 0, top: 0 } + }) + }; + + const result = droppable._ui(mockDraggable as any); + + expect(result.draggable).toBe(dragEl); + expect(result.helper).toBe(dragEl); + expect(result.position).toEqual({ left: 0, top: 0 }); + }); + }); +}); diff --git a/spec/dd-manager-spec.ts b/spec/dd-manager-spec.ts new file mode 100644 index 000000000..32b58e476 --- /dev/null +++ b/spec/dd-manager-spec.ts @@ -0,0 +1,63 @@ +import { DDManager } from '../src/dd-manager'; + +describe('DDManager', () => { + afterEach(() => { + // Clean up DDManager state + delete DDManager.dragElement; + delete DDManager.dropElement; + delete DDManager.pauseDrag; + }); + + describe('static properties', () => { + it('should have dragElement property', () => { + expect(DDManager.dragElement).toBeUndefined(); + + const mockDragElement = {} as any; + DDManager.dragElement = mockDragElement; + + expect(DDManager.dragElement).toBe(mockDragElement); + }); + + it('should have dropElement property', () => { + expect(DDManager.dropElement).toBeUndefined(); + + const mockDropElement = {} as any; + DDManager.dropElement = mockDropElement; + + expect(DDManager.dropElement).toBe(mockDropElement); + }); + + it('should have pauseDrag property', () => { + expect(DDManager.pauseDrag).toBeUndefined(); + + DDManager.pauseDrag = true; + expect(DDManager.pauseDrag).toBe(true); + + DDManager.pauseDrag = 500; + expect(DDManager.pauseDrag).toBe(500); + }); + }); + + describe('state management', () => { + it('should allow setting and clearing drag element', () => { + const mockElement = { id: 'test' } as any; + + DDManager.dragElement = mockElement; + expect(DDManager.dragElement).toBe(mockElement); + + delete DDManager.dragElement; + expect(DDManager.dragElement).toBeUndefined(); + }); + + it('should allow setting and clearing drop element', () => { + const mockElement = { id: 'test' } as any; + + DDManager.dropElement = mockElement; + expect(DDManager.dropElement).toBe(mockElement); + + delete DDManager.dropElement; + expect(DDManager.dropElement).toBeUndefined(); + }); + }); +}); + diff --git a/spec/dd-simple-integration-spec.ts b/spec/dd-simple-integration-spec.ts new file mode 100644 index 000000000..7af0cfa31 --- /dev/null +++ b/spec/dd-simple-integration-spec.ts @@ -0,0 +1,248 @@ +import { DDDraggable } from '../src/dd-draggable'; +import { DDDroppable } from '../src/dd-droppable'; +import { DDResizable } from '../src/dd-resizable'; +import { DDElement } from '../src/dd-element'; +import { GridItemHTMLElement } from '../src/types'; + +describe('DD Integration Tests', () => { + let element: GridItemHTMLElement; + + beforeEach(() => { + element = document.createElement('div') as GridItemHTMLElement; + element.style.width = '100px'; + element.style.height = '100px'; + element.style.position = 'absolute'; + document.body.appendChild(element); + + // Mock gridstackNode + element.gridstackNode = { + id: 'test-node', + x: 0, + y: 0, + w: 1, + h: 1 + } as any; + }); + + afterEach(() => { + if (element.parentNode) { + element.parentNode.removeChild(element); + } + }); + + describe('DDElement', () => { + it('should create DDElement instance', () => { + const ddElement = DDElement.init(element); + + expect(ddElement).toBeDefined(); + expect(ddElement.el).toBe(element); + }); + + it('should return same instance on multiple init calls', () => { + const ddElement1 = DDElement.init(element); + const ddElement2 = DDElement.init(element); + + expect(ddElement1).toBe(ddElement2); + }); + + it('should setup draggable', () => { + const ddElement = DDElement.init(element); + + ddElement.setupDraggable({ handle: '.drag-handle' }); + + expect(ddElement.ddDraggable).toBeDefined(); + }); + + it('should setup droppable', () => { + const ddElement = DDElement.init(element); + + ddElement.setupDroppable({ accept: '.draggable' }); + + expect(ddElement.ddDroppable).toBeDefined(); + }); + + it('should setup resizable with default handles', () => { + const ddElement = DDElement.init(element); + + ddElement.setupResizable({ handles: 'se' }); + + expect(ddElement.ddResizable).toBeDefined(); + }); + + it('should clean up components', () => { + const ddElement = DDElement.init(element); + + ddElement.setupDraggable({}); + ddElement.setupDroppable({}); + ddElement.setupResizable({ handles: 'se' }); + + expect(ddElement.ddDraggable).toBeDefined(); + expect(ddElement.ddDroppable).toBeDefined(); + expect(ddElement.ddResizable).toBeDefined(); + + ddElement.cleanDraggable(); + ddElement.cleanDroppable(); + ddElement.cleanResizable(); + + expect(ddElement.ddDraggable).toBeUndefined(); + expect(ddElement.ddDroppable).toBeUndefined(); + expect(ddElement.ddResizable).toBeUndefined(); + }); + }); + + describe('DDDraggable basic functionality', () => { + it('should create draggable instance', () => { + const draggable = new DDDraggable(element); + + expect(draggable).toBeDefined(); + expect(draggable.el).toBe(element); + expect(draggable.disabled).toBe(false); + + draggable.destroy(); + }); + + it('should enable/disable draggable', () => { + const draggable = new DDDraggable(element); + + draggable.disable(); + expect(draggable.disabled).toBe(true); + + draggable.enable(); + expect(draggable.disabled).toBe(false); + + draggable.destroy(); + }); + + it('should update options', () => { + const draggable = new DDDraggable(element); + + const result = draggable.updateOption({ handle: '.new-handle' }); + + expect(result).toBe(draggable); + expect(draggable.option.handle).toBe('.new-handle'); + + draggable.destroy(); + }); + }); + + describe('DDDroppable basic functionality', () => { + it('should create droppable instance', () => { + const droppable = new DDDroppable(element); + + expect(droppable).toBeDefined(); + expect(droppable.el).toBe(element); + expect(droppable.disabled).toBe(false); + expect(element.classList.contains('ui-droppable')).toBe(true); + + droppable.destroy(); + }); + + it('should enable/disable droppable', () => { + const droppable = new DDDroppable(element); + + droppable.disable(); + expect(droppable.disabled).toBe(true); + expect(element.classList.contains('ui-droppable-disabled')).toBe(true); + + droppable.enable(); + expect(droppable.disabled).toBe(false); + expect(element.classList.contains('ui-droppable')).toBe(true); + + droppable.destroy(); + }); + + it('should update options', () => { + const droppable = new DDDroppable(element); + + const result = droppable.updateOption({ accept: '.new-class' }); + + expect(result).toBe(droppable); + expect(droppable.option.accept).toBe('.new-class'); + + droppable.destroy(); + }); + + it('should handle accept function', () => { + const droppable = new DDDroppable(element); + + droppable.updateOption({ accept: '.test-class' }); + + const testEl = document.createElement('div'); + testEl.classList.add('test-class'); + expect(droppable._canDrop(testEl)).toBe(true); + + const otherEl = document.createElement('div'); + expect(droppable._canDrop(otherEl)).toBe(false); + + droppable.destroy(); + }); + }); + + describe('DDResizable basic functionality', () => { + it('should create resizable instance with handles', () => { + const resizable = new DDResizable(element, { handles: 'se' }); + + expect(resizable).toBeDefined(); + expect(resizable.el).toBe(element); + expect(resizable.disabled).toBe(false); + // Note: ui-resizable class is added by enable() which is called in constructor + // but the class might not be added immediately in test environment + + resizable.destroy(); + }); + + it('should enable/disable resizable', () => { + const resizable = new DDResizable(element, { handles: 'se' }); + + resizable.disable(); + expect(resizable.disabled).toBe(true); + expect(element.classList.contains('ui-resizable-disabled')).toBe(true); + + resizable.enable(); + expect(resizable.disabled).toBe(false); + expect(element.classList.contains('ui-resizable-disabled')).toBe(false); + + resizable.destroy(); + }); + + it('should update options', () => { + const resizable = new DDResizable(element, { handles: 'se' }); + + const result = resizable.updateOption({ handles: 'n,s,e,w' }); + + expect(result).toBe(resizable); + expect(resizable.option.handles).toBe('n,s,e,w'); + + resizable.destroy(); + }); + + it('should create resize handles', () => { + const resizable = new DDResizable(element, { handles: 'se,nw' }); + + const seHandle = element.querySelector('.ui-resizable-se'); + const nwHandle = element.querySelector('.ui-resizable-nw'); + + expect(seHandle).toBeTruthy(); + expect(nwHandle).toBeTruthy(); + + resizable.destroy(); + }); + }); + + describe('Event handling', () => { + it('should support event listeners on DDElement', () => { + const ddElement = DDElement.init(element); + const callback = vi.fn(); + + ddElement.setupDraggable({}); + ddElement.on('dragstart', callback); + ddElement.off('dragstart'); + + // Should not throw + expect(typeof ddElement.on).toBe('function'); + expect(typeof ddElement.off).toBe('function'); + + ddElement.cleanDraggable(); + }); + }); +}); diff --git a/spec/dd-touch-spec.ts b/spec/dd-touch-spec.ts new file mode 100644 index 000000000..1e7cec99e --- /dev/null +++ b/spec/dd-touch-spec.ts @@ -0,0 +1,515 @@ +import { + isTouch, + touchstart, + touchmove, + touchend, + pointerdown, + pointerenter, + pointerleave +} from '../src/dd-touch'; +import { DDManager } from '../src/dd-manager'; +import { Utils } from '../src/utils'; + +// Mock Utils.simulateMouseEvent +vi.mock('../src/utils', () => ({ + Utils: { + simulateMouseEvent: vi.fn() + } +})); + +// Mock DDManager +vi.mock('../src/dd-manager', () => ({ + DDManager: { + dragElement: null + } +})); + +// Helper function to create mock TouchList +function createMockTouchList(touches: Touch[]): TouchList { + const touchList = { + length: touches.length, + item: (index: number) => touches[index] || null, + ...touches + }; + return touchList as TouchList; +} + +// Helper function to create mock TouchEvent +function createMockTouchEvent(type: string, touches: Touch[], options: Partial = {}): TouchEvent { + const touchList = createMockTouchList(touches); + const changedTouchList = options.changedTouches ? + createMockTouchList(options.changedTouches as Touch[]) : touchList; + + const mockEvent = { + touches: touchList, + changedTouches: changedTouchList, + targetTouches: touchList, + preventDefault: vi.fn(), + stopPropagation: vi.fn(), + cancelable: true, + type, + target: document.createElement('div'), + currentTarget: document.createElement('div'), + bubbles: true, + composed: false, + defaultPrevented: false, + eventPhase: Event.AT_TARGET, + isTrusted: true, + timeStamp: Date.now(), + altKey: false, + ctrlKey: false, + metaKey: false, + shiftKey: false, + detail: 0, + view: window, + which: 0, + ...options + }; + return mockEvent as TouchEvent; +} + +// Helper function to create mock PointerEvent +function createMockPointerEvent(type: string, pointerType: string, options: Partial = {}): PointerEvent { + const mockEvent = { + pointerId: 1, + pointerType, + target: document.createElement('div'), + preventDefault: vi.fn(), + stopPropagation: vi.fn(), + cancelable: true, + type, + currentTarget: document.createElement('div'), + bubbles: true, + composed: false, + defaultPrevented: false, + eventPhase: Event.AT_TARGET, + isTrusted: true, + timeStamp: Date.now(), + clientX: 100, + clientY: 200, + pageX: 100, + pageY: 200, + screenX: 100, + screenY: 200, + button: 0, + buttons: 1, + ctrlKey: false, + shiftKey: false, + altKey: false, + metaKey: false, + width: 1, + height: 1, + pressure: 0.5, + tangentialPressure: 0, + tiltX: 0, + tiltY: 0, + twist: 0, + isPrimary: true, + detail: 0, + view: window, + which: 0, + getCoalescedEvents: vi.fn(() => []), + getPredictedEvents: vi.fn(() => []), + movementX: 0, + movementY: 0, + offsetX: 0, + offsetY: 0, + relatedTarget: null, + ...options + }; + return mockEvent as PointerEvent; +} + +describe('dd-touch', () => { + let mockUtils: any; + let mockDDManager: any; + + beforeEach(() => { + mockUtils = vi.mocked(Utils); + mockDDManager = vi.mocked(DDManager); + + // Reset mocks + mockUtils.simulateMouseEvent.mockClear(); + mockDDManager.dragElement = null; + + // Mock window.clearTimeout and setTimeout + vi.spyOn(window, 'clearTimeout'); + vi.spyOn(window, 'setTimeout').mockImplementation((callback: Function, delay: number) => { + return setTimeout(callback, delay) as any; + }); + + // Reset DDTouch state by calling touchend to reset touchHandled flag + // This is a workaround since we can't access DDTouch directly + const resetTouch = { + pageX: 0, pageY: 0, clientX: 0, clientY: 0, screenX: 0, screenY: 0, + identifier: 0, target: document.createElement('div'), + radiusX: 0, radiusY: 0, rotationAngle: 0, force: 0 + } as Touch; + const resetEvent = createMockTouchEvent('touchend', [], { changedTouches: [resetTouch] }); + + // Call touchstart then touchend to reset state + const startEvent = createMockTouchEvent('touchstart', [resetTouch]); + touchstart(startEvent); + touchend(resetEvent); + + // Clear any calls made during reset + mockUtils.simulateMouseEvent.mockClear(); + }); + + afterEach(() => { + vi.restoreAllMocks(); + }); + + describe('isTouch detection', () => { + it('should be a boolean value', () => { + expect(typeof isTouch).toBe('boolean'); + }); + + it('should detect touch support in current environment', () => { + // Since we're in jsdom, isTouch should be false unless touch APIs are mocked + // This test validates that the detection logic runs without errors + expect(isTouch).toBeDefined(); + }); + }); + + describe('touchstart', () => { + let mockTouch: Touch; + + beforeEach(() => { + mockTouch = { + pageX: 100, + pageY: 200, + clientX: 100, + clientY: 200, + screenX: 100, + screenY: 200, + identifier: 1, + target: document.createElement('div'), + radiusX: 10, + radiusY: 10, + rotationAngle: 0, + force: 1 + } as Touch; + }); + + it('should simulate mousedown for single touch', () => { + const mockTouchEvent = createMockTouchEvent('touchstart', [mockTouch]); + + touchstart(mockTouchEvent); + + expect(mockUtils.simulateMouseEvent).toHaveBeenCalledWith(mockTouch, 'mousedown'); + }); + + it('should prevent default on cancelable events', () => { + const mockTouchEvent = createMockTouchEvent('touchstart', [mockTouch], { cancelable: true }); + + touchstart(mockTouchEvent); + + expect(mockTouchEvent.preventDefault).toHaveBeenCalled(); + }); + + it('should not prevent default on non-cancelable events', () => { + const mockTouchEvent = createMockTouchEvent('touchstart', [mockTouch], { cancelable: false }); + + touchstart(mockTouchEvent); + + expect(mockTouchEvent.preventDefault).not.toHaveBeenCalled(); + }); + + it('should ignore multi-touch events', () => { + const secondTouch = { ...mockTouch, identifier: 2 }; + const mockTouchEvent = createMockTouchEvent('touchstart', [mockTouch, secondTouch]); + + touchstart(mockTouchEvent); + + expect(mockUtils.simulateMouseEvent).not.toHaveBeenCalled(); + }); + }); + + describe('touchmove', () => { + let mockTouch: Touch; + + beforeEach(() => { + mockTouch = { + pageX: 150, + pageY: 250, + clientX: 150, + clientY: 250, + screenX: 150, + screenY: 250, + identifier: 1, + target: document.createElement('div'), + radiusX: 10, + radiusY: 10, + rotationAngle: 0, + force: 1 + } as Touch; + }); + + it('should simulate mousemove for single touch when touch is handled', () => { + // First call touchstart to set DDTouch.touchHandled = true + const startEvent = createMockTouchEvent('touchstart', [mockTouch]); + touchstart(startEvent); + + mockUtils.simulateMouseEvent.mockClear(); // Clear previous calls + + const mockTouchEvent = createMockTouchEvent('touchmove', [mockTouch]); + touchmove(mockTouchEvent); + + expect(mockUtils.simulateMouseEvent).toHaveBeenCalledWith(mockTouch, 'mousemove'); + }); + + it('should ignore touchmove when touch is not handled', () => { + // Don't call touchstart first, so DDTouch.touchHandled remains false + const mockTouchEvent = createMockTouchEvent('touchmove', [mockTouch]); + + touchmove(mockTouchEvent); + + expect(mockUtils.simulateMouseEvent).not.toHaveBeenCalled(); + }); + + it('should ignore multi-touch events', () => { + // First call touchstart to set DDTouch.touchHandled = true + const startEvent = createMockTouchEvent('touchstart', [mockTouch]); + touchstart(startEvent); + + mockUtils.simulateMouseEvent.mockClear(); // Clear previous calls + + const secondTouch = { ...mockTouch, identifier: 2 }; + const mockTouchEvent = createMockTouchEvent('touchmove', [mockTouch, secondTouch]); + + touchmove(mockTouchEvent); + + expect(mockUtils.simulateMouseEvent).not.toHaveBeenCalled(); + }); + }); + + describe('touchend', () => { + let mockTouch: Touch; + + beforeEach(() => { + mockTouch = { + pageX: 200, + pageY: 300, + clientX: 200, + clientY: 300, + screenX: 200, + screenY: 300, + identifier: 1, + target: document.createElement('div'), + radiusX: 10, + radiusY: 10, + rotationAngle: 0, + force: 1 + } as Touch; + }); + + it('should simulate mouseup when touch is handled', () => { + // First call touchstart to set DDTouch.touchHandled = true + const startEvent = createMockTouchEvent('touchstart', [mockTouch]); + touchstart(startEvent); + + mockUtils.simulateMouseEvent.mockClear(); // Clear previous calls + + const mockTouchEvent = createMockTouchEvent('touchend', [], { changedTouches: [mockTouch] }); + touchend(mockTouchEvent); + + expect(mockUtils.simulateMouseEvent).toHaveBeenCalledWith(mockTouch, 'mouseup'); + }); + + it('should simulate click when not dragging', () => { + // First call touchstart to set DDTouch.touchHandled = true + const startEvent = createMockTouchEvent('touchstart', [mockTouch]); + touchstart(startEvent); + + mockUtils.simulateMouseEvent.mockClear(); // Clear previous calls + mockDDManager.dragElement = null; // Not dragging + + const mockTouchEvent = createMockTouchEvent('touchend', [], { changedTouches: [mockTouch] }); + touchend(mockTouchEvent); + + expect(mockUtils.simulateMouseEvent).toHaveBeenCalledWith(mockTouch, 'mouseup'); + expect(mockUtils.simulateMouseEvent).toHaveBeenCalledWith(mockTouch, 'click'); + }); + + it('should not simulate click when dragging', () => { + // First call touchstart to set DDTouch.touchHandled = true + const startEvent = createMockTouchEvent('touchstart', [mockTouch]); + touchstart(startEvent); + + mockUtils.simulateMouseEvent.mockClear(); // Clear previous calls + mockDDManager.dragElement = {}; // Dragging + + const mockTouchEvent = createMockTouchEvent('touchend', [], { changedTouches: [mockTouch] }); + touchend(mockTouchEvent); + + expect(mockUtils.simulateMouseEvent).toHaveBeenCalledWith(mockTouch, 'mouseup'); + expect(mockUtils.simulateMouseEvent).not.toHaveBeenCalledWith(mockTouch, 'click'); + }); + + it('should ignore touchend when touch is not handled', () => { + // Don't call touchstart first, so DDTouch.touchHandled remains false + const mockTouchEvent = createMockTouchEvent('touchend', [], { changedTouches: [mockTouch] }); + touchend(mockTouchEvent); + + expect(mockUtils.simulateMouseEvent).not.toHaveBeenCalled(); + }); + + it('should clear pointerLeaveTimeout when it exists', () => { + // First set up a pointerleave timeout + mockDDManager.dragElement = {}; + const pointerEvent = createMockPointerEvent('pointerleave', 'touch'); + + let timeoutId: number; + vi.mocked(window.setTimeout).mockImplementation((callback: Function, delay: number) => { + timeoutId = 123; + return timeoutId as any; + }); + + pointerleave(pointerEvent); + + // Now call touchstart and touchend to trigger the timeout clearing + const startEvent = createMockTouchEvent('touchstart', [mockTouch]); + touchstart(startEvent); + + mockUtils.simulateMouseEvent.mockClear(); + + const mockTouchEvent = createMockTouchEvent('touchend', [], { changedTouches: [mockTouch] }); + touchend(mockTouchEvent); + + expect(window.clearTimeout).toHaveBeenCalledWith(123); + }); + }); + + describe('pointerdown', () => { + let mockElement: HTMLElement; + + beforeEach(() => { + mockElement = document.createElement('div'); + mockElement.releasePointerCapture = vi.fn(); + }); + + it('should release pointer capture for touch events', () => { + const mockPointerEvent = createMockPointerEvent('pointerdown', 'touch', { target: mockElement }); + + pointerdown(mockPointerEvent); + + expect(mockElement.releasePointerCapture).toHaveBeenCalledWith(1); + }); + + it('should release pointer capture for pen events', () => { + const mockPointerEvent = createMockPointerEvent('pointerdown', 'pen', { target: mockElement }); + + pointerdown(mockPointerEvent); + + expect(mockElement.releasePointerCapture).toHaveBeenCalledWith(1); + }); + + it('should not release pointer capture for mouse events', () => { + const mockPointerEvent = createMockPointerEvent('pointerdown', 'mouse', { target: mockElement }); + + pointerdown(mockPointerEvent); + + expect(mockElement.releasePointerCapture).not.toHaveBeenCalled(); + }); + }); + + describe('pointerenter', () => { + it('should ignore pointerenter when no drag element', () => { + mockDDManager.dragElement = null; + const mockPointerEvent = createMockPointerEvent('pointerenter', 'touch'); + + pointerenter(mockPointerEvent); + + expect(mockUtils.simulateMouseEvent).not.toHaveBeenCalled(); + }); + + it('should ignore pointerenter for mouse events', () => { + mockDDManager.dragElement = {}; + const mockPointerEvent = createMockPointerEvent('pointerenter', 'mouse'); + + pointerenter(mockPointerEvent); + + expect(mockUtils.simulateMouseEvent).not.toHaveBeenCalled(); + }); + + it('should simulate mouseenter for touch events when dragging', () => { + mockDDManager.dragElement = {}; + const mockPointerEvent = createMockPointerEvent('pointerenter', 'touch'); + + pointerenter(mockPointerEvent); + + expect(mockUtils.simulateMouseEvent).toHaveBeenCalledWith(mockPointerEvent, 'mouseenter'); + }); + + it('should simulate mouseenter for pen events when dragging', () => { + mockDDManager.dragElement = {}; + const mockPointerEvent = createMockPointerEvent('pointerenter', 'pen'); + + pointerenter(mockPointerEvent); + + expect(mockUtils.simulateMouseEvent).toHaveBeenCalledWith(mockPointerEvent, 'mouseenter'); + }); + + it('should prevent default on cancelable pointer events', () => { + mockDDManager.dragElement = {}; + const mockPointerEvent = createMockPointerEvent('pointerenter', 'touch', { cancelable: true }); + + pointerenter(mockPointerEvent); + + expect(mockPointerEvent.preventDefault).toHaveBeenCalled(); + }); + + it('should not prevent default on non-cancelable pointer events', () => { + mockDDManager.dragElement = {}; + const mockPointerEvent = createMockPointerEvent('pointerenter', 'touch', { cancelable: false }); + + pointerenter(mockPointerEvent); + + expect(mockPointerEvent.preventDefault).not.toHaveBeenCalled(); + }); + }); + + describe('pointerleave', () => { + it('should ignore pointerleave when no drag element', () => { + mockDDManager.dragElement = null; + const mockPointerEvent = createMockPointerEvent('pointerleave', 'touch'); + + pointerleave(mockPointerEvent); + + expect(window.setTimeout).not.toHaveBeenCalled(); + expect(mockUtils.simulateMouseEvent).not.toHaveBeenCalled(); + }); + + it('should ignore pointerleave for mouse events', () => { + mockDDManager.dragElement = {}; + const mockPointerEvent = createMockPointerEvent('pointerleave', 'mouse'); + + pointerleave(mockPointerEvent); + + expect(window.setTimeout).not.toHaveBeenCalled(); + expect(mockUtils.simulateMouseEvent).not.toHaveBeenCalled(); + }); + + it('should delay mouseleave simulation for touch events when dragging', () => { + mockDDManager.dragElement = {}; + const mockPointerEvent = createMockPointerEvent('pointerleave', 'touch'); + + // Mock setTimeout to capture the callback + let timeoutCallback: Function; + vi.mocked(window.setTimeout).mockImplementation((callback: Function, delay: number) => { + timeoutCallback = callback; + return 123 as any; + }); + + pointerleave(mockPointerEvent); + + expect(window.setTimeout).toHaveBeenCalledWith(expect.any(Function), 10); + + // Execute the timeout callback + timeoutCallback!(); + + expect(mockUtils.simulateMouseEvent).toHaveBeenCalledWith(mockPointerEvent, 'mouseleave'); + }); + }); +}); \ No newline at end of file diff --git a/webpack.config.js b/webpack.config.js index b6c859340..02623896f 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -11,8 +11,13 @@ module.exports = { rules: [ { test: /\.ts$/, - use: 'ts-loader', - exclude: ['/node_modules/'], + use: { + loader: 'ts-loader', + options: { + configFile: 'tsconfig.build.json' + } + }, + exclude: ['/node_modules/', '/spec/'], }, ], }, From 07b27324ef8105c574711dd448e937526787bf79 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 9 Sep 2025 21:29:08 +0000 Subject: [PATCH 087/235] Bump vite from 5.4.19 to 5.4.20 in /react Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.4.19 to 5.4.20. - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/v5.4.20/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v5.4.20/packages/vite) --- updated-dependencies: - dependency-name: vite dependency-version: 5.4.20 dependency-type: direct:development ... Signed-off-by: dependabot[bot] --- react/package.json | 2 +- react/yarn.lock | 143 +++------------------------------------------ 2 files changed, 8 insertions(+), 137 deletions(-) diff --git a/react/package.json b/react/package.json index f76ad2dac..9595ed6ca 100644 --- a/react/package.json +++ b/react/package.json @@ -32,6 +32,6 @@ "jsdom": "^26.1.0", "typescript": "^5.5.3", "typescript-eslint": "^8.0.1", - "vite": "^5.4.19" + "vite": "^5.4.20" } } diff --git a/react/yarn.lock b/react/yarn.lock index cf2d504ac..7d51743c9 100644 --- a/react/yarn.lock +++ b/react/yarn.lock @@ -380,41 +380,21 @@ resolved "https://registry.npmmirror.com/@polka/url/-/url-1.0.0-next.29.tgz#5a40109a1ab5f84d6fd8fc928b19f367cbe7e7b1" integrity sha512-wwQAWhWSuHaag8c4q/KN/vCoeOJYshAIvMQwD4GpSb3OiZklFfvAgmj0VCBBImRpuF/aFgIRzllXlVX93Jevww== -"@rollup/rollup-android-arm-eabi@4.22.5": - version "4.22.5" - resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.22.5.tgz#e0f5350845090ca09690fe4a472717f3b8aae225" - integrity sha512-SU5cvamg0Eyu/F+kLeMXS7GoahL+OoizlclVFX3l5Ql6yNlywJJ0OuqTzUx0v+aHhPHEB/56CT06GQrRrGNYww== - "@rollup/rollup-android-arm-eabi@4.46.1": version "4.46.1" resolved "https://registry.npmmirror.com/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.46.1.tgz#c659481d5b15054d4636b3dd0c2f50ab3083d839" integrity sha512-oENme6QxtLCqjChRUUo3S6X8hjCXnWmJWnedD7VbGML5GUtaOtAyx+fEEXnBXVf0CBZApMQU0Idwi0FmyxzQhw== -"@rollup/rollup-android-arm64@4.22.5": - version "4.22.5" - resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.22.5.tgz#08270faef6747e2716d3e978a8bbf479f75fb19a" - integrity sha512-S4pit5BP6E5R5C8S6tgU/drvgjtYW76FBuG6+ibG3tMvlD1h9LHVF9KmlmaUBQ8Obou7hEyS+0w+IR/VtxwNMQ== - "@rollup/rollup-android-arm64@4.46.1": version "4.46.1" resolved "https://registry.npmmirror.com/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.46.1.tgz#7e05c3c0bf6a79ee6b40ab5e778679742f06815d" integrity sha512-OikvNT3qYTl9+4qQ9Bpn6+XHM+ogtFadRLuT2EXiFQMiNkXFLQfNVppi5o28wvYdHL2s3fM0D/MZJ8UkNFZWsw== -"@rollup/rollup-darwin-arm64@4.22.5": - version "4.22.5" - resolved "https://registry.yarnpkg.com/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.22.5.tgz#691671133b350661328d42c8dbdedd56dfb97dfd" - integrity sha512-250ZGg4ipTL0TGvLlfACkIxS9+KLtIbn7BCZjsZj88zSg2Lvu3Xdw6dhAhfe/FjjXPVNCtcSp+WZjVsD3a/Zlw== - "@rollup/rollup-darwin-arm64@4.46.1": version "4.46.1" resolved "https://registry.npmmirror.com/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.46.1.tgz#b190fbd0274fbbd4d257ff0b3d68f0885c454e0d" integrity sha512-EFYNNGij2WllnzljQDQnlFTXzSJw87cpAs4TVBAWLdkvic5Uh5tISrIL6NRcxoh/b2EFBG/TK8hgRrGx94zD4A== -"@rollup/rollup-darwin-x64@4.22.5": - version "4.22.5" - resolved "https://registry.yarnpkg.com/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.22.5.tgz#b2ec52a1615f24b1cd40bc8906ae31af81e8a342" - integrity sha512-D8brJEFg5D+QxFcW6jYANu+Rr9SlKtTenmsX5hOSzNYVrK5oLAEMTUgKWYJP+wdKyCdeSwnapLsn+OVRFycuQg== - "@rollup/rollup-darwin-x64@4.46.1": version "4.46.1" resolved "https://registry.npmmirror.com/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.46.1.tgz#a4df7fa06ac318b66a6aa66d6f1e0a58fef58cd3" @@ -430,41 +410,21 @@ resolved "https://registry.npmmirror.com/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.46.1.tgz#db42c46c0263b2562e2ba5c2e00e318646f2b24c" integrity sha512-8vu9c02F16heTqpvo3yeiu7Vi1REDEC/yES/dIfq3tSXe6mLndiwvYr3AAvd1tMNUqE9yeGYa5w7PRbI5QUV+w== -"@rollup/rollup-linux-arm-gnueabihf@4.22.5": - version "4.22.5" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.22.5.tgz#217f01f304808920680bd269002df38e25d9205f" - integrity sha512-PNqXYmdNFyWNg0ma5LdY8wP+eQfdvyaBAojAXgO7/gs0Q/6TQJVXAXe8gwW9URjbS0YAammur0fynYGiWsKlXw== - "@rollup/rollup-linux-arm-gnueabihf@4.46.1": version "4.46.1" resolved "https://registry.npmmirror.com/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.46.1.tgz#88ca443ad42c70555978b000c6d1dd925fb3203b" integrity sha512-K4ncpWl7sQuyp6rWiGUvb6Q18ba8mzM0rjWJ5JgYKlIXAau1db7hZnR0ldJvqKWWJDxqzSLwGUhA4jp+KqgDtQ== -"@rollup/rollup-linux-arm-musleabihf@4.22.5": - version "4.22.5" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.22.5.tgz#93ac1c5a1e389f4482a2edaeec41fcffee54a930" - integrity sha512-kSSCZOKz3HqlrEuwKd9TYv7vxPYD77vHSUvM2y0YaTGnFc8AdI5TTQRrM1yIp3tXCKrSL9A7JLoILjtad5t8pQ== - "@rollup/rollup-linux-arm-musleabihf@4.46.1": version "4.46.1" resolved "https://registry.npmmirror.com/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.46.1.tgz#36106fe103d32c2a97583ebadcfb28dc63988bda" integrity sha512-YykPnXsjUjmXE6j6k2QBBGAn1YsJUix7pYaPLK3RVE0bQL2jfdbfykPxfF8AgBlqtYbfEnYHmLXNa6QETjdOjQ== -"@rollup/rollup-linux-arm64-gnu@4.22.5": - version "4.22.5" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.22.5.tgz#a7f146787d6041fecc4ecdf1aa72234661ca94a4" - integrity sha512-oTXQeJHRbOnwRnRffb6bmqmUugz0glXaPyspp4gbQOPVApdpRrY/j7KP3lr7M8kTfQTyrBUzFjj5EuHAhqH4/w== - "@rollup/rollup-linux-arm64-gnu@4.46.1": version "4.46.1" resolved "https://registry.npmmirror.com/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.46.1.tgz#00c28bc9210dcfbb5e7fa8e52fd827fb570afe26" integrity sha512-kKvqBGbZ8i9pCGW3a1FH3HNIVg49dXXTsChGFsHGXQaVJPLA4f/O+XmTxfklhccxdF5FefUn2hvkoGJH0ScWOA== -"@rollup/rollup-linux-arm64-musl@4.22.5": - version "4.22.5" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.22.5.tgz#6a37236189648e678bd564d6e8ca798f42cf42c5" - integrity sha512-qnOTIIs6tIGFKCHdhYitgC2XQ2X25InIbZFor5wh+mALH84qnFHvc+vmWUpyX97B0hNvwNUL4B+MB8vJvH65Fw== - "@rollup/rollup-linux-arm64-musl@4.46.1": version "4.46.1" resolved "https://registry.npmmirror.com/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.46.1.tgz#45a13486b5523235eb87b349e7ca5a0bb85a5b0e" @@ -475,21 +435,11 @@ resolved "https://registry.npmmirror.com/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.46.1.tgz#b8edd99f072cd652acbbddc1c539b1ac4254381d" integrity sha512-O8CwgSBo6ewPpktFfSDgB6SJN9XDcPSvuwxfejiddbIC/hn9Tg6Ai0f0eYDf3XvB/+PIWzOQL+7+TZoB8p9Yuw== -"@rollup/rollup-linux-powerpc64le-gnu@4.22.5": - version "4.22.5" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.22.5.tgz#5661420dc463bec31ecb2d17d113de858cfcfe2d" - integrity sha512-TMYu+DUdNlgBXING13rHSfUc3Ky5nLPbWs4bFnT+R6Vu3OvXkTkixvvBKk8uO4MT5Ab6lC3U7x8S8El2q5o56w== - "@rollup/rollup-linux-ppc64-gnu@4.46.1": version "4.46.1" resolved "https://registry.npmmirror.com/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.46.1.tgz#0ec72a4f8b7a86b13c0f6b7666ed1d3b6e8e67cc" integrity sha512-JnCfFVEKeq6G3h3z8e60kAp8Rd7QVnWCtPm7cxx+5OtP80g/3nmPtfdCXbVl063e3KsRnGSKDHUQMydmzc/wBA== -"@rollup/rollup-linux-riscv64-gnu@4.22.5": - version "4.22.5" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.22.5.tgz#cb00342b7432bdef723aa606281de2f522d6dcf7" - integrity sha512-PTQq1Kz22ZRvuhr3uURH+U/Q/a0pbxJoICGSprNLAoBEkyD3Sh9qP5I0Asn0y0wejXQBbsVMRZRxlbGFD9OK4A== - "@rollup/rollup-linux-riscv64-gnu@4.46.1": version "4.46.1" resolved "https://registry.npmmirror.com/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.46.1.tgz#99f06928528fb58addd12e50827e1a0269c1cca8" @@ -500,61 +450,31 @@ resolved "https://registry.npmmirror.com/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.46.1.tgz#3c14aba63b4170fe3d9d0b6ad98361366170590e" integrity sha512-CvvgNl2hrZrTR9jXK1ye0Go0HQRT6ohQdDfWR47/KFKiLd5oN5T14jRdUVGF4tnsN8y9oSfMOqH6RuHh+ck8+w== -"@rollup/rollup-linux-s390x-gnu@4.22.5": - version "4.22.5" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.22.5.tgz#0708889674dccecccd28e2befccf791e0767fcb7" - integrity sha512-bR5nCojtpuMss6TDEmf/jnBnzlo+6n1UhgwqUvRoe4VIotC7FG1IKkyJbwsT7JDsF2jxR+NTnuOwiGv0hLyDoQ== - "@rollup/rollup-linux-s390x-gnu@4.46.1": version "4.46.1" resolved "https://registry.npmmirror.com/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.46.1.tgz#34c647a823dcdca0f749a2bdcbde4fb131f37a4c" integrity sha512-x7ANt2VOg2565oGHJ6rIuuAon+A8sfe1IeUx25IKqi49OjSr/K3awoNqr9gCwGEJo9OuXlOn+H2p1VJKx1psxA== -"@rollup/rollup-linux-x64-gnu@4.22.5": - version "4.22.5" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.22.5.tgz#a135b040b21582e91cfed2267ccfc7d589e1dbc6" - integrity sha512-N0jPPhHjGShcB9/XXZQWuWBKZQnC1F36Ce3sDqWpujsGjDz/CQtOL9LgTrJ+rJC8MJeesMWrMWVLKKNR/tMOCA== - "@rollup/rollup-linux-x64-gnu@4.46.1": version "4.46.1" resolved "https://registry.npmmirror.com/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.46.1.tgz#3991010418c005e8791c415e7c2072b247157710" integrity sha512-9OADZYryz/7E8/qt0vnaHQgmia2Y0wrjSSn1V/uL+zw/i7NUhxbX4cHXdEQ7dnJgzYDS81d8+tf6nbIdRFZQoQ== -"@rollup/rollup-linux-x64-musl@4.22.5": - version "4.22.5" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.22.5.tgz#88395a81a3ab7ee3dc8dc31a73ff62ed3185f34d" - integrity sha512-uBa2e28ohzNNwjr6Uxm4XyaA1M/8aTgfF2T7UIlElLaeXkgpmIJ2EitVNQxjO9xLLLy60YqAgKn/AqSpCUkE9g== - "@rollup/rollup-linux-x64-musl@4.46.1": version "4.46.1" resolved "https://registry.npmmirror.com/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.46.1.tgz#f3943e5f284f40ffbcf4a14da9ee2e43d303b462" integrity sha512-NuvSCbXEKY+NGWHyivzbjSVJi68Xfq1VnIvGmsuXs6TCtveeoDRKutI5vf2ntmNnVq64Q4zInet0UDQ+yMB6tA== -"@rollup/rollup-win32-arm64-msvc@4.22.5": - version "4.22.5" - resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.22.5.tgz#12ee49233b1125f2c1da38392f63b1dbb0c31bba" - integrity sha512-RXT8S1HP8AFN/Kr3tg4fuYrNxZ/pZf1HemC5Tsddc6HzgGnJm0+Lh5rAHJkDuW3StI0ynNXukidROMXYl6ew8w== - "@rollup/rollup-win32-arm64-msvc@4.46.1": version "4.46.1" resolved "https://registry.npmmirror.com/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.46.1.tgz#45b5a1d3f0af63f85044913c371d7b0519c913ad" integrity sha512-mWz+6FSRb82xuUMMV1X3NGiaPFqbLN9aIueHleTZCc46cJvwTlvIh7reQLk4p97dv0nddyewBhwzryBHH7wtPw== -"@rollup/rollup-win32-ia32-msvc@4.22.5": - version "4.22.5" - resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.22.5.tgz#0f987b134c6b3123c22842b33ba0c2b6fb78cc3b" - integrity sha512-ElTYOh50InL8kzyUD6XsnPit7jYCKrphmddKAe1/Ytt74apOxDq5YEcbsiKs0fR3vff3jEneMM+3I7jbqaMyBg== - "@rollup/rollup-win32-ia32-msvc@4.46.1": version "4.46.1" resolved "https://registry.npmmirror.com/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.46.1.tgz#900ef7211d2929e9809f3a044c4e2fd3aa685a0c" integrity sha512-7Thzy9TMXDw9AU4f4vsLNBxh7/VOKuXi73VH3d/kHGr0tZ3x/ewgL9uC7ojUKmH1/zvmZe2tLapYcZllk3SO8Q== -"@rollup/rollup-win32-x64-msvc@4.22.5": - version "4.22.5" - resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.22.5.tgz#f2feb149235a5dc1deb5439758f8871255e5a161" - integrity sha512-+lvL/4mQxSV8MukpkKyyvfwhH266COcWlXE/1qxwN08ajovta3459zrjLghYMgDerlzNwLAcFpvU+WWE5y6nAQ== - "@rollup/rollup-win32-x64-msvc@4.46.1": version "4.46.1" resolved "https://registry.npmmirror.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.46.1.tgz#932d8696dfef673bee1a1e291a5531d25a6903be" @@ -653,11 +573,6 @@ resolved "https://registry.npmmirror.com/@types/deep-eql/-/deep-eql-4.0.2.tgz#334311971d3a07121e7eb91b684a605e7eea9cbd" integrity sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw== -"@types/estree@1.0.6": - version "1.0.6" - resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.6.tgz#628effeeae2064a1b4e79f78e81d87b7e5fc7b50" - integrity sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw== - "@types/estree@1.0.8", "@types/estree@^1.0.0": version "1.0.8" resolved "https://registry.npmmirror.com/@types/estree/-/estree-1.0.8.tgz#958b91c991b1867ced318bedea0e215ee050726e" @@ -1576,11 +1491,6 @@ nanoid@^3.3.11: resolved "https://registry.npmmirror.com/nanoid/-/nanoid-3.3.11.tgz#4f4f112cefbe303202f2199838128936266d185b" integrity sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w== -nanoid@^3.3.7: - version "3.3.8" - resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.8.tgz#b1be3030bee36aaff18bacb375e5cce521684baf" - integrity sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w== - natural-compare@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" @@ -1651,11 +1561,6 @@ pathval@^2.0.0: resolved "https://registry.npmmirror.com/pathval/-/pathval-2.0.1.tgz#8855c5a2899af072d6ac05d11e46045ad0dc605d" integrity sha512-//nshmD55c46FuFw26xV/xFAaB5HF9Xdap7HJBBnrKdAd6/GxDBaNA1870O79+9ueg61cZLSVc+OaFlfmObYVQ== -picocolors@^1.0.1: - version "1.1.0" - resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.1.0.tgz#5358b76a78cde483ba5cef6a9dc9671440b27d59" - integrity sha512-TQ92mBOW0l3LeMeyLV6mzy/kWr8lkd/hp3mTg7wYK7zJhuBStmGMBG0BdeDZS/dZx1IukaX6Bk11zcln25o1Aw== - picocolors@^1.1.1: version "1.1.1" resolved "https://registry.npmmirror.com/picocolors/-/picocolors-1.1.1.tgz#3d321af3eab939b083c8f929a1d12cda81c26b6b" @@ -1671,16 +1576,7 @@ picomatch@^4.0.2, picomatch@^4.0.3: resolved "https://registry.npmmirror.com/picomatch/-/picomatch-4.0.3.tgz#796c76136d1eead715db1e7bad785dedd695a042" integrity sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q== -postcss@^8.4.43: - version "8.4.45" - resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.45.tgz#538d13d89a16ef71edbf75d895284ae06b79e603" - integrity sha512-7KTLTdzdZZYscUc65XmjFiB73vBhBfbPztCYdUNvlaso9PrzjzcmjqBPR0lNGkcVlcO4BjiO5rK/qNz+XAen1Q== - dependencies: - nanoid "^3.3.7" - picocolors "^1.0.1" - source-map-js "^1.2.0" - -postcss@^8.5.6: +postcss@^8.4.43, postcss@^8.5.6: version "8.5.6" resolved "https://registry.npmmirror.com/postcss/-/postcss-8.5.6.tgz#2825006615a619b4f62a9e7426cc120b349a8f3c" integrity sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg== @@ -1734,32 +1630,7 @@ reusify@^1.0.4: resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76" integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw== -rollup@^4.20.0: - version "4.22.5" - resolved "https://registry.yarnpkg.com/rollup/-/rollup-4.22.5.tgz#d5108cc470249417e50492456253884d19f5d40f" - integrity sha512-WoinX7GeQOFMGznEcWA1WrTQCd/tpEbMkc3nuMs9BT0CPjMdSjPMTVClwWd4pgSQwJdP65SK9mTCNvItlr5o7w== - dependencies: - "@types/estree" "1.0.6" - optionalDependencies: - "@rollup/rollup-android-arm-eabi" "4.22.5" - "@rollup/rollup-android-arm64" "4.22.5" - "@rollup/rollup-darwin-arm64" "4.22.5" - "@rollup/rollup-darwin-x64" "4.22.5" - "@rollup/rollup-linux-arm-gnueabihf" "4.22.5" - "@rollup/rollup-linux-arm-musleabihf" "4.22.5" - "@rollup/rollup-linux-arm64-gnu" "4.22.5" - "@rollup/rollup-linux-arm64-musl" "4.22.5" - "@rollup/rollup-linux-powerpc64le-gnu" "4.22.5" - "@rollup/rollup-linux-riscv64-gnu" "4.22.5" - "@rollup/rollup-linux-s390x-gnu" "4.22.5" - "@rollup/rollup-linux-x64-gnu" "4.22.5" - "@rollup/rollup-linux-x64-musl" "4.22.5" - "@rollup/rollup-win32-arm64-msvc" "4.22.5" - "@rollup/rollup-win32-ia32-msvc" "4.22.5" - "@rollup/rollup-win32-x64-msvc" "4.22.5" - fsevents "~2.3.2" - -rollup@^4.40.0: +rollup@^4.20.0, rollup@^4.40.0: version "4.46.1" resolved "https://registry.npmmirror.com/rollup/-/rollup-4.46.1.tgz#287d07ef0ea17950b348b027c634a9544a1a375f" integrity sha512-33xGNBsDJAkzt0PvninskHlWnTIPgDtTwhg0U38CUoNP/7H6wI2Cz6dUeoNPbjdTdsYTGuiFFASuUOWovH0SyQ== @@ -1850,7 +1721,7 @@ sirv@^3.0.1: mrmime "^2.0.0" totalist "^3.0.0" -source-map-js@^1.2.0, source-map-js@^1.2.1: +source-map-js@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.2.1.tgz#1ce5650fddd87abc099eda37dcff024c2667ae46" integrity sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA== @@ -2030,10 +1901,10 @@ vite-node@3.2.4: optionalDependencies: fsevents "~2.3.3" -vite@^5.4.19: - version "5.4.19" - resolved "https://registry.yarnpkg.com/vite/-/vite-5.4.19.tgz#20efd060410044b3ed555049418a5e7d1998f959" - integrity sha512-qO3aKv3HoQC8QKiNSTuUM1l9o/XX3+c+VTgLHbJWHZGeTPVAg2XwazI9UWzoxjIJCGCV2zU60uqMzjeLZuULqA== +vite@^5.4.20: + version "5.4.20" + resolved "https://registry.yarnpkg.com/vite/-/vite-5.4.20.tgz#3267a5e03f21212f44edfd72758138e8fcecd76a" + integrity sha512-j3lYzGC3P+B5Yfy/pfKNgVEg4+UtcIJcVRt2cDjIOmhLourAqPqf8P7acgxeiSgUB7E3p2P8/3gNIgDLpwzs4g== dependencies: esbuild "^0.21.3" postcss "^8.4.43" From 42f039456a9ec0e4e54db1ab6d6e260ea5d250db Mon Sep 17 00:00:00 2001 From: YOUNGHO8762 Date: Tue, 16 Sep 2025 19:32:06 +0900 Subject: [PATCH 088/235] Fix bug where removeWidget does not function properly --- react/lib/grid-stack-provider.tsx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/react/lib/grid-stack-provider.tsx b/react/lib/grid-stack-provider.tsx index 1afe4348c..be167ff9f 100644 --- a/react/lib/grid-stack-provider.tsx +++ b/react/lib/grid-stack-provider.tsx @@ -1,4 +1,4 @@ -import type { GridStack, GridStackOptions, GridStackWidget } from "gridstack"; +import type { GridItemHTMLElement, GridStack, GridStackOptions, GridStackWidget } from "gridstack"; import { type PropsWithChildren, useCallback, useState } from "react"; import { GridStackContext } from "./grid-stack-context"; @@ -72,7 +72,12 @@ export function GridStackProvider({ const removeWidget = useCallback( (id: string) => { - gridStack?.removeWidget(id); + const element = document.body.querySelector(`[gs-id="${id}"]`); + + if (element) { + gridStack?.removeWidget(element as GridItemHTMLElement); + } + setRawWidgetMetaMap((prev) => { const newMap = new Map(prev); newMap.delete(id); From 6719fbf9f7c2bc5033eaad26884be6c8813946bb Mon Sep 17 00:00:00 2001 From: YOUNGHO8762 Date: Sat, 20 Sep 2025 21:18:59 +0900 Subject: [PATCH 089/235] Add removeAll function to react wrapper --- react/lib/grid-stack-context.ts | 1 + react/lib/grid-stack-provider.tsx | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/react/lib/grid-stack-context.ts b/react/lib/grid-stack-context.ts index 51e950700..e06a17420 100644 --- a/react/lib/grid-stack-context.ts +++ b/react/lib/grid-stack-context.ts @@ -13,6 +13,7 @@ export const GridStackContext = createContext<{ ) => Omit ) => void; saveOptions: () => GridStackOptions | GridStackWidget[] | undefined; + removeAll: () => void; _gridStack: { value: GridStack | null; diff --git a/react/lib/grid-stack-provider.tsx b/react/lib/grid-stack-provider.tsx index be167ff9f..0d35bd8ff 100644 --- a/react/lib/grid-stack-provider.tsx +++ b/react/lib/grid-stack-provider.tsx @@ -91,6 +91,11 @@ export function GridStackProvider({ return gridStack?.save(true, true, (_, widget) => widget); }, [gridStack]); + const removeAll = useCallback(() => { + gridStack?.removeAll(); + setRawWidgetMetaMap(new Map()); + }, [gridStack]); + return ( Date: Sun, 21 Sep 2025 17:59:44 -0700 Subject: [PATCH 090/235] tweak to #3159 React removeWidget() * might be able to use GridStack.removeWidget() which now uses gs-id as last resource.... --- react/lib/grid-stack-provider.tsx | 7 ++----- src/types.ts | 4 ++-- src/utils.ts | 11 ++++++++++- 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/react/lib/grid-stack-provider.tsx b/react/lib/grid-stack-provider.tsx index 0d35bd8ff..215dc538f 100644 --- a/react/lib/grid-stack-provider.tsx +++ b/react/lib/grid-stack-provider.tsx @@ -72,11 +72,8 @@ export function GridStackProvider({ const removeWidget = useCallback( (id: string) => { - const element = document.body.querySelector(`[gs-id="${id}"]`); - - if (element) { - gridStack?.removeWidget(element as GridItemHTMLElement); - } + const element = document.body.querySelector(`[gs-id="${id}"]`); + if (element) gridStack?.removeWidget(element); setRawWidgetMetaMap((prev) => { const newMap = new Map(prev); diff --git a/src/types.ts b/src/types.ts index a89e56530..f56364677 100644 --- a/src/types.ts +++ b/src/types.ts @@ -82,9 +82,9 @@ export interface GridItemHTMLElement extends HTMLElement { /** * Type representing various ways to specify grid elements. - * Can be a CSS selector string, HTMLElement, or GridItemHTMLElement. + * Can be a CSS selector string, GridItemHTMLElement (HTML element with GS variables when loaded). */ -export type GridStackElement = string | HTMLElement | GridItemHTMLElement; +export type GridStackElement = string | GridItemHTMLElement; /** * Event handler function types for the .on() method. diff --git a/src/utils.ts b/src/utils.ts index d3bc41dad..76ac90d2c 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -123,8 +123,17 @@ export class Utils { let list = root.querySelectorAll(els); if (!list.length && els[0] !== '.' && els[0] !== '#') { + // see if mean to be a class list = root.querySelectorAll('.' + els); - if (!list.length) { list = root.querySelectorAll('#' + els) } + + // else if mean to be an id + if (!list.length) list = root.querySelectorAll('#' + els); + + // else see if gs-id attribute + if (!list.length) { + const el = root.querySelector(`[gs-id="${els}"]`); + return el ? [el] : []; + } } return Array.from(list) as HTMLElement[]; } From 85aef6c70bec9b0ab5348f02ab3bc8c62f38bc94 Mon Sep 17 00:00:00 2001 From: YOUNGHO8762 Date: Mon, 22 Sep 2025 20:15:03 +0900 Subject: [PATCH 091/235] remove HTMLElement from GridStackElement type in API documentation --- doc/API.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/API.md b/doc/API.md index 478195228..ef21ce9c2 100644 --- a/doc/API.md +++ b/doc/API.md @@ -5988,7 +5988,7 @@ Drop event handler that receives previous and new node states ### GridStackElement ```ts -type GridStackElement = string | HTMLElement | GridItemHTMLElement; +type GridStackElement = string | GridItemHTMLElement; ``` Defined in: [types.ts:87](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L87) From efd80772b4158cbe1685dfc20f7d4a74b8c87d20 Mon Sep 17 00:00:00 2001 From: YOUNGHO8762 Date: Tue, 23 Sep 2025 20:39:02 +0900 Subject: [PATCH 092/235] =?UTF-8?q?react=20wrapper=20grid=20stack=20provid?= =?UTF-8?q?er=C2=A0API=20to=20accept=20widget=20objects=20directly?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- react/lib/grid-stack-context.ts | 12 +++++----- react/lib/grid-stack-provider.tsx | 37 ++++++++++--------------------- react/src/demo/demo.tsx | 26 ++++++++++++++-------- 3 files changed, 36 insertions(+), 39 deletions(-) diff --git a/react/lib/grid-stack-context.ts b/react/lib/grid-stack-context.ts index e06a17420..d2c313a1a 100644 --- a/react/lib/grid-stack-context.ts +++ b/react/lib/grid-stack-context.ts @@ -4,13 +4,15 @@ import { createContext, useContext } from "react"; export const GridStackContext = createContext<{ initialOptions: GridStackOptions; gridStack: GridStack | null; - addWidget: (fn: (id: string) => Omit) => void; + addWidget: (widget: GridStackWidget & { id: Required["id"] }) => void; removeWidget: (id: string) => void; addSubGrid: ( - fn: ( - id: string, - withWidget: (w: Omit) => GridStackWidget - ) => Omit + subGrid: GridStackWidget & { + id: Required["id"]; + subGridOpts: Required["subGridOpts"] & { + children: Array["id"] }> + } + } ) => void; saveOptions: () => GridStackOptions | GridStackWidget[] | undefined; removeAll: () => void; diff --git a/react/lib/grid-stack-provider.tsx b/react/lib/grid-stack-provider.tsx index 215dc538f..ff262b555 100644 --- a/react/lib/grid-stack-provider.tsx +++ b/react/lib/grid-stack-provider.tsx @@ -26,13 +26,11 @@ export function GridStackProvider({ }); const addWidget = useCallback( - (fn: (id: string) => Omit) => { - const newId = `widget-${Math.random().toString(36).substring(2, 15)}`; - const widget = fn(newId); - gridStack?.addWidget({ ...widget, id: newId }); + (widget: GridStackWidget & { id: Required["id"] }) => { + gridStack?.addWidget(widget); setRawWidgetMetaMap((prev) => { const newMap = new Map(prev); - newMap.set(newId, widget); + newMap.set(widget.id, widget); return newMap; }); }, @@ -40,29 +38,18 @@ export function GridStackProvider({ ); const addSubGrid = useCallback( - ( - fn: ( - id: string, - withWidget: (w: Omit) => GridStackWidget - ) => Omit - ) => { - const newId = `sub-grid-${Math.random().toString(36).substring(2, 15)}`; - const subWidgetIdMap = new Map(); - - const widget = fn(newId, (w) => { - const subWidgetId = `widget-${Math.random() - .toString(36) - .substring(2, 15)}`; - subWidgetIdMap.set(subWidgetId, w); - return { ...w, id: subWidgetId }; - }); - - gridStack?.addWidget({ ...widget, id: newId }); + (subGrid: GridStackWidget & { + id: Required["id"]; + subGridOpts: Required["subGridOpts"] & { + children: Array["id"] }> + } + }) => { + gridStack?.addWidget(subGrid); setRawWidgetMetaMap((prev) => { const newMap = new Map(prev); - subWidgetIdMap.forEach((meta, id) => { - newMap.set(id, meta); + subGrid.subGridOpts?.children?.forEach((meta: GridStackWidget & { id: Required["id"] }) => { + newMap.set(meta.id, meta); }); return newMap; }); diff --git a/react/src/demo/demo.tsx b/react/src/demo/demo.tsx index b0b4b6b53..d7ef7f861 100644 --- a/react/src/demo/demo.tsx +++ b/react/src/demo/demo.tsx @@ -141,7 +141,7 @@ export function GridStackDemo() { <> - + @@ -149,7 +149,7 @@ export function GridStackDemo() { - + @@ -175,7 +175,10 @@ function Toolbar() { > + ); +} +export function Board() { return ( -
- - -
+ + + ); } ``` -### Layout Saving +--- -Get the current layout: +## Multiple grids + +Render several `` instances (e.g. with `acceptWidgets: true`) to drag between grids—same pattern as Angular. + +--- + +## Nested subgrids + +Use `subGridOpts.children` on a widget; nested grids use the same `components` map from the parent ``. + +--- + +## Save and restore ```tsx -const { saveOptions } = useGridStackContext(); +const { grid, save } = useGridStack(); -const currentLayout = saveOptions(); +const json = JSON.stringify(save?.(true, false)); // widget list +// later: +grid?.load(JSON.parse(json)); ``` -## API Reference +Optional: **`useWidgetSerializer`** inside a widget component merges extra fields into `props` on save. + +--- + +## Migration from legacy `react/lib` -### GridStackProvider +| Legacy | New | +|--------|-----| +| `` + `` + `` | Single `` | +| `content: JSON.stringify({ name, props })` | `component` + `props` on the widget | +| `useGridStackContext()` | `useGridStack()` | -The main context provider, accepts the following properties: +The old files have been moved to [`react/lib/_old/`](lib/_old/) for reference and are excluded from the bundle. -- `initialOptions`: Initial configuration options for GridStack +--- -### GridStackRender +## Custom drag handles inside content -The core component for rendering the grid, accepts the following properties: +By default GridStack uses the item's outer `.grid-stack-item-content` div as the drag handle. +If you set a custom `draggable.handle` that lives **inside** your React component, call `grid.refreshDragHandles(el)` after the content renders so GridStack can re-scan and attach listeners to the new handle element. -- `componentMap`: A mapping from component names to actual React components +```tsx +import { useEffect, useRef } from "react"; +import { useGridStack } from "gridstack/dist/react"; + +function MyWidget() { + const { grid } = useGridStack(); + const handleRef = useRef(null); -### Hooks + useEffect(() => { + if (!handleRef.current) return; + const itemEl = handleRef.current.closest(".grid-stack-item") as HTMLElement | null; + if (itemEl) grid?.refreshDragHandles(itemEl); + }, [grid]); + + return ( +
+
+ ☰ drag here +
+

content

+
+ ); +} + +// Grid must be initialised with draggable.handle pointing at the same selector: +const options: GridStackOptions = { + draggable: { handle: ".my-drag-handle" }, + children: [{ id: "a", x: 0, y: 0, w: 3, h: 2, component: "MyWidget" }], +}; + +export function Board() { + return ; +} +``` + +`refreshDragHandles` is called automatically by `` after each portal render, so the above pattern is only needed when you manage the item element yourself (e.g. via `useGridStack().grid` directly). + +--- + +## Building `dist/react` + +Uses the TypeScript project [`projects/lib/tsconfig.build.json`](projects/lib/tsconfig.build.json) (ESM `.js` + `.d.ts`). + +From the repo root: + +```bash +yarn build:react +``` + +Or from `react/`: + +```bash +yarn build:lib +``` -- `useGridStackContext()`: Access GridStack context and operations - - `addWidget`: Add a new component - - `addSubGrid`: Add a new sub-grid - - `saveOptions`: Save current layout - - `initialOptions`: Initial configuration options +Output: `dist/react/` at the **repository root** (alongside `dist/angular/`), so published `gridstack` npm tarball includes it via the `files` field. diff --git a/react/lib/grid-stack-context.ts b/react/lib/_old/grid-stack-context.ts similarity index 100% rename from react/lib/grid-stack-context.ts rename to react/lib/_old/grid-stack-context.ts diff --git a/react/lib/grid-stack-provider.tsx b/react/lib/_old/grid-stack-provider.tsx similarity index 100% rename from react/lib/grid-stack-provider.tsx rename to react/lib/_old/grid-stack-provider.tsx diff --git a/react/lib/grid-stack-render-context.ts b/react/lib/_old/grid-stack-render-context.ts similarity index 100% rename from react/lib/grid-stack-render-context.ts rename to react/lib/_old/grid-stack-render-context.ts diff --git a/react/lib/grid-stack-render-provider.test.tsx b/react/lib/_old/grid-stack-render-provider.test.tsx similarity index 100% rename from react/lib/grid-stack-render-provider.test.tsx rename to react/lib/_old/grid-stack-render-provider.test.tsx diff --git a/react/lib/grid-stack-render-provider.tsx b/react/lib/_old/grid-stack-render-provider.tsx similarity index 100% rename from react/lib/grid-stack-render-provider.tsx rename to react/lib/_old/grid-stack-render-provider.tsx diff --git a/react/lib/grid-stack-render.tsx b/react/lib/_old/grid-stack-render.tsx similarity index 100% rename from react/lib/grid-stack-render.tsx rename to react/lib/_old/grid-stack-render.tsx diff --git a/react/lib/grid-stack-widget-context.ts b/react/lib/_old/grid-stack-widget-context.ts similarity index 100% rename from react/lib/grid-stack-widget-context.ts rename to react/lib/_old/grid-stack-widget-context.ts diff --git a/react/lib/index.ts b/react/lib/_old/index.ts similarity index 100% rename from react/lib/index.ts rename to react/lib/_old/index.ts diff --git a/react/package.json b/react/package.json index c0ddd210d..7821f515b 100644 --- a/react/package.json +++ b/react/package.json @@ -7,10 +7,11 @@ "dev": "vite", "start": "vite", "build": "tsc -b && vite build", + "build:lib": "cd projects/lib && ../../../node_modules/.bin/tsc -p tsconfig.build.json", "lint": "eslint .", "preview": "vite preview", - "test": "vitest", - "test:ui": "vitest --ui" + "test": "vitest --config vitest.config.ts", + "test:ui": "vitest --config vitest.config.ts --ui" }, "dependencies": { "gridstack": "^12.6.0", diff --git a/react/projects/lib/gridstack-react.test.tsx b/react/projects/lib/gridstack-react.test.tsx new file mode 100644 index 000000000..f22390038 --- /dev/null +++ b/react/projects/lib/gridstack-react.test.tsx @@ -0,0 +1,183 @@ +import { describe, it, expect, beforeEach, afterEach } from "vitest"; +import { createRoot, type Root } from "react-dom/client"; +import { act } from "react"; +import { useState } from "react"; +import type { GridHTMLElement } from "gridstack"; +import type { GridStackWidget } from "gridstack"; +import { GridStack } from "./src/gridstack"; +import { useWidgetSerializer } from "./src/hooks"; + +function flush(): Promise { + return new Promise((r) => { + setTimeout(r, 0); + }); +} + +function Num({ start }: { start: number }) { + const [n] = useState(start); + useWidgetSerializer({ serialize: () => ({ extra: n }) }); + return {n}; +} + +describe("GridStack React wrapper", () => { + let container: HTMLDivElement; + let root: Root; + + beforeEach(() => { + container = document.createElement("div"); + document.body.appendChild(container); + root = createRoot(container); + }); + + afterEach(() => { + act(() => { + root.unmount(); + }); + container.remove(); + }); + + it("renders component mode into .grid-stack-item-content via portal", async () => { + await act(async () => { + root.render( + ) => ( + {String(p.label ?? "")} + ), + }} + /> + ); + }); + await act(flush); + expect(document.querySelector("[data-testid=\"portal\"]")?.textContent).toBe( + "hello" + ); + }); + + it("save() merges useWidgetSerializer into widget props", async () => { + await act(async () => { + root.render( + ) => ( + + ), + }} + /> + ); + }); + await act(flush); + + const gridEl = container.querySelector(".grid-stack") as GridHTMLElement; + const g = gridEl?.gridstack; + expect(g).toBeTruthy(); + const saved = g!.save(true, false) as GridStackWidget[]; + const w = saved.find((n) => String(n.id) === "c1"); + expect(w?.props?.extra).toBe(7); + }); + + it("supports two sibling grids", async () => { + await act(async () => { + root.render( + <> + + + + ); + }); + await act(flush); + expect(container.querySelectorAll(".grid-stack").length).toBe(2); + }); + + it("keeps React host chrome outside the .grid-stack root (no overlap with items)", async () => { + await act(async () => { + root.render( + +
toolbar
+
+ ); + }); + await act(flush); + const chrome = container.querySelector("[data-testid=\"host-chrome\"]"); + const stack = container.querySelector(".grid-stack"); + expect(chrome).toBeTruthy(); + expect(stack).toBeTruthy(); + expect(stack?.contains(chrome)).toBe(false); + }); + + it("unmount destroys without throwing", async () => { + await act(async () => { + root.render( + ) => ( + {String(p.t ?? "")} + ), + }} + /> + ); + }); + await act(flush); + await act(async () => { + root.render(
); + }); + await act(flush); + expect(container.querySelector(".grid-stack")).toBeNull(); + }); +}); diff --git a/react/projects/lib/src/base-widget.tsx b/react/projects/lib/src/base-widget.tsx new file mode 100644 index 000000000..08177a72b --- /dev/null +++ b/react/projects/lib/src/base-widget.tsx @@ -0,0 +1,27 @@ +import { Component, type ReactNode } from "react"; +import type { GridStackWidget } from "./types"; + +/** + * Optional parity with Angular `BaseWidget` for class-based widget components. + * For functional components, prefer {@link useWidgetSerializer} instead. + */ +export abstract class BaseWidget< + P extends Record = Record, +> extends Component

{ + /** Populated by the grid when restoring from saved layout (subclasses may read in lifecycle). */ + widgetItem?: GridStackWidget; + + serialize(): Record | undefined { + return undefined; + } + + /** Optional override — restore widget-specific state from saved layout. */ + // eslint-disable-next-line @typescript-eslint/no-unused-vars -- signature parity with Angular `BaseWidget` + deserialize(_: GridStackWidget): void { + // optional override + } + + render(): ReactNode { + return null; + } +} diff --git a/react/projects/lib/src/gridstack-context.tsx b/react/projects/lib/src/gridstack-context.tsx new file mode 100644 index 000000000..335bdf8d1 --- /dev/null +++ b/react/projects/lib/src/gridstack-context.tsx @@ -0,0 +1,25 @@ +import { createContext, useContext } from "react"; +import type { GridStack } from "gridstack"; + +export interface GridStackContextValue { + grid: GridStack | null; + /** Bumped after GS-driven updates so descendants can re-sync */ + layoutVersion: number; + /** @internal — used by `useWidgetSerializer` via `` */ + registerWidgetSerializer: ( + id: string, + fn: () => Record | undefined + ) => () => void; +} + +export const GridStackContext = createContext( + null +); + +export function useGridStackContextValue(): GridStackContextValue { + const v = useContext(GridStackContext); + if (!v) { + throw new Error("useGridStack must be used within "); + } + return v; +} diff --git a/react/projects/lib/src/gridstack-item.tsx b/react/projects/lib/src/gridstack-item.tsx new file mode 100644 index 000000000..95a72838d --- /dev/null +++ b/react/projects/lib/src/gridstack-item.tsx @@ -0,0 +1,149 @@ +import { + useContext, + useLayoutEffect, + useMemo, + useEffect, + useRef, + useState, + type ReactElement, +} from "react"; +import { createPortal } from "react-dom"; +import type { GridStack, GridStackNode } from "gridstack"; +import { GridStackContext } from "./gridstack-context"; +import { GridStackWidgetContext } from "./gridstack-widget-context"; +import type { GridStackWidget } from "./types"; + +export interface GridStackItemProps { + id: string; + options?: Partial; + children?: React.ReactNode; +} + +function stableOptsKey(options: Partial | undefined): string { + if (!options || Object.keys(options).length === 0) return ""; + try { + return JSON.stringify(options); + } catch { + return String(options); + } +} + +/** Recursively find a node by id across the grid and all nested sub-grids. */ +function findNodeInGrid(g: GridStack, id: string): GridStackNode | undefined { + const hit = g.engine.nodes.find((n) => String(n.id) === id) as GridStackNode | undefined; + if (hit) return hit; + for (const n of g.engine.nodes) { + if (n.subGrid) { + const nested = findNodeInGrid(n.subGrid as GridStack, id); + if (nested) return nested; + } + } + return undefined; +} + +/** + * Portal anchor for one grid item. Owns React subtree; survives cross-grid DnD while this component stays mounted. + */ +export function GridStackItem({ + id, + options = {}, + children, +}: GridStackItemProps): ReactElement | null { + const ctx = useContext(GridStackContext); + const grid = ctx?.grid ?? null; + const layoutVersion = ctx?.layoutVersion ?? 0; + const registerWidgetSerializer = ctx?.registerWidgetSerializer; + const [container, setContainer] = useState(null); + + const optsKey = stableOptsKey(options); + + const widgetCtx = useMemo(() => { + if (!registerWidgetSerializer) { + return { id }; + } + return { + id, + registerSerializer: (fn: () => Record | undefined) => + registerWidgetSerializer(id, fn), + }; + }, [id, registerWidgetSerializer]); + + useLayoutEffect(() => { + if (!grid) return; + + const node = findNodeInGrid(grid, id); + if (!node?.el) { + // Item not yet in any grid — add it to the outer grid. + grid.addWidget({ ...options, id } as GridStackWidget); + } else if (node.grid === grid) { + // Top-level item already exists — just update position/opts. + grid.update(node.el, { ...options, id } as GridStackWidget); + } + // Subgrid items (node.grid !== grid) are owned by their sub-GridStack; no action needed. + }, [grid, id, optsKey]); // eslint-disable-line react-hooks/exhaustive-deps + + useLayoutEffect(() => { + if (!grid) return; + const syncContainer = () => { + const node = findNodeInGrid(grid, id); + const cont = + (node?.el?.querySelector( + ".grid-stack-item-content" + ) as HTMLElement | null) ?? null; + setContainer((prev) => (prev === cont ? prev : cont)); + }; + syncContainer(); + }, [grid, id, layoutVersion, optsKey]); + + // Tracks whether the component is "truly unmounting" vs. Strict Mode double-invoke. + const remountedRef = useRef(false); + + useEffect(() => { + if (!grid) return () => undefined; + // In React 18 Strict Mode, useEffect is double-invoked: setup → cleanup → setup. + // The cleanup fires even though the component immediately remounts, which would + // incorrectly call removeWidget on still-live items. + // Guard: reset the flag on each setup; the cleanup defers via microtask. + // If setup re-runs before the microtask fires (Strict Mode), the flag is false + // and the removal is skipped. On a real unmount no setup re-runs, so it proceeds. + remountedRef.current = false; + return () => { + remountedRef.current = true; + Promise.resolve().then(() => { + if (!remountedRef.current) return; // setup re-ran (Strict Mode) — cancel + if (!grid.engine) return; + const node = findNodeInGrid(grid, id); + if (!node?.el || !node.grid) return; + // Only remove if this item belongs to the outer grid; subgrid items are cleaned up by their own grid. + if (node.grid === grid) { + try { + grid.removeWidget(node.el, false); + } catch { + /* already removed */ + } + } + }); + }; + }, [grid, id]); + + // After the portal has been committed to the DOM, re-scan the item element for any + // custom drag-handle elements that live inside the (now-rendered) React content. + // This is a no-op for the default `.grid-stack-item-content` handle (always present), + // but is essential when users configure a `draggable.handle` selector inside the portal. + useEffect(() => { + if (!grid || !container) return; + const node = findNodeInGrid(grid, id); + if (!node?.el) return; + grid.refreshDragHandles(node.el); + }, [grid, id, container]); + + if (!grid || !container || children == null) { + return null; + } + + return ( + + {createPortal(children, container)} + + ); +} diff --git a/react/projects/lib/src/gridstack-widget-context.tsx b/react/projects/lib/src/gridstack-widget-context.tsx new file mode 100644 index 000000000..45e632be2 --- /dev/null +++ b/react/projects/lib/src/gridstack-widget-context.tsx @@ -0,0 +1,21 @@ +import { createContext, useContext } from "react"; + +export interface GridStackWidgetContextValue { + id: string; + registerSerializer?: ( + fn: () => Record | undefined + ) => () => void; +} + +export const GridStackWidgetContext = + createContext(null); + +export function useGridStackWidgetContext(): GridStackWidgetContextValue { + const v = useContext(GridStackWidgetContext); + if (!v) { + throw new Error( + "useGridStackItem / useWidgetSerializer must be used inside content" + ); + } + return v; +} diff --git a/react/projects/lib/src/gridstack.tsx b/react/projects/lib/src/gridstack.tsx new file mode 100644 index 000000000..9ea1ddc97 --- /dev/null +++ b/react/projects/lib/src/gridstack.tsx @@ -0,0 +1,322 @@ +import { + forwardRef, + useCallback, + useEffect, + useImperativeHandle, + useLayoutEffect, + useMemo, + useRef, + useState, +} from "react"; +import type { ComponentType, ReactNode } from "react"; +import { GridStack } from "gridstack"; +import type { + GridStackDroppedHandler, + GridStackElementHandler, + GridStackNodesHandler, +} from "gridstack"; +import { GridStackContext } from "./gridstack-context"; +import { GridStackItem } from "./gridstack-item"; +import { installGridStackReactCallbacks } from "./registry"; +import type { GridStackHostApi, GridStackOptions, GridStackWidget, GridHTMLElement, GridItemHTMLElement } from "./types"; + +/** Maps `component` JSON keys to React components (props are merged from saved `props`). */ +export type ComponentMap = Record>>; + +export interface GridStackProps { + options: GridStackOptions; + /** Map `component` field in widget JSON to React components (recommended / component mode) */ + components?: ComponentMap; + children?: ReactNode; + className?: string; + style?: React.CSSProperties; + onAdded?: (e: Event, nodes: Parameters[1]) => void; + onChange?: (e: Event, nodes: Parameters[1]) => void; + onRemoved?: (e: Event, nodes: Parameters[1]) => void; + onDrag?: GridStackElementHandler; + onDragStart?: GridStackElementHandler; + onDragStop?: GridStackElementHandler; + onDropped?: GridStackDroppedHandler; + onResize?: GridStackElementHandler; + onResizeStart?: GridStackElementHandler; + onResizeStop?: GridStackElementHandler; +} + +export interface GridStackHandle { + getGrid: () => GridStack | null; +} + +function optionsSignature(o: GridStackOptions): string { + try { + return JSON.stringify(o); + } catch { + return String(o); + } +} + +/** Recursively find a node by id across the grid and all nested sub-grids. */ +function findNodeInGrid(g: GridStack, id: string): GridStackWidget | undefined { + const hit = g.engine.nodes.find((n) => String(n.id) === id) as GridStackWidget | undefined; + if (hit) return hit; + for (const n of g.engine.nodes) { + if (n.subGrid) { + const nested = findNodeInGrid(n.subGrid as GridStack, id); + if (nested) return nested; + } + } + return undefined; +} + +export const GridStackComponent = forwardRef( + function GridStackComponent( + { + options, + components = {}, + children, + className, + style, + onAdded, + onChange, + onRemoved, + onDrag, + onDragStart, + onDragStop, + onDropped, + onResize, + onResizeStart, + onResizeStop, + }, + ref + ) { + const rootRef = useRef(null); + const gridRef = useRef(null); + const [syntheticIds, setSyntheticIds] = useState>(() => new Set()); + const [layoutVersion, setLayoutVersion] = useState(0); + /** Bumps only when a new `GridStack` instance is created (not on every layout change). */ + const [gridSession, setGridSession] = useState(0); + const serializersRef = useRef( + new Map Record | undefined>() + ); + + const bumpLayout = useCallback(() => { + setLayoutVersion((v) => v + 1); + }, []); + + const registerSyntheticItemId = useCallback((id: string) => { + setSyntheticIds((prev) => { + const n = new Set(prev); + n.add(id); + return n; + }); + }, []); + + const unregisterSyntheticItemId = useCallback((id: string) => { + setSyntheticIds((prev) => { + const n = new Set(prev); + n.delete(id); + return n; + }); + serializersRef.current.delete(id); + }, []); + + const registerWidgetSerializer = useCallback( + (id: string, fn: () => Record | undefined) => { + serializersRef.current.set(id, fn); + return () => { + serializersRef.current.delete(id); + }; + }, + [] + ); + + const mergeWidgetPropsForSave = useCallback((id: string, w: GridStackWidget) => { + const fn = serializersRef.current.get(id); + const extra = fn?.(); + if (extra) w.props = { ...(w.props ?? {}), ...extra }; + }, []); + + const hostApiRef = useRef(null); + if (!hostApiRef.current) { + hostApiRef.current = { + registerSyntheticItemId, + unregisterSyntheticItemId, + requestUpdate: bumpLayout, + registerWidgetSerializer, + mergeWidgetPropsForSave, + }; + } else { + const h = hostApiRef.current; + h.registerSyntheticItemId = registerSyntheticItemId; + h.unregisterSyntheticItemId = unregisterSyntheticItemId; + h.requestUpdate = bumpLayout; + h.registerWidgetSerializer = registerWidgetSerializer; + h.mergeWidgetPropsForSave = mergeWidgetPropsForSave; + } + + useLayoutEffect(() => { + installGridStackReactCallbacks(); + }, []); + + const optsSig = optionsSignature(options); + const prevOptsSig = useRef(null); + + useLayoutEffect(() => { + const el = rootRef.current as GridHTMLElement | null; + if (!el) return; + + const host = hostApiRef.current; + if (!host) return; + el._gridComp = host; + + if (!gridRef.current) { + // Remove orphaned .grid-stack-item children left by a previous destroy(false). + // In React 18 StrictMode the useLayoutEffect cleanup+setup cycle runs before + // useEffect cleanup, so orphans can accumulate. Clearing them before init + // prevents the auto-scan (opts.auto) from re-registering stale elements. + const itemClass = (options as Record).itemClass as string | undefined ?? 'grid-stack-item'; + Array.from(el.children).forEach(child => { + if (child.classList.contains(itemClass) && !(child as GridItemHTMLElement).gridstackNode) { + child.remove(); + } + }); + gridRef.current = GridStack.init(options, el); + prevOptsSig.current = optsSig; + setLayoutVersion((v) => v + 1); + setGridSession((s) => s + 1); + } else if (prevOptsSig.current !== optsSig) { + gridRef.current.updateOptions(options); + prevOptsSig.current = optsSig; + setLayoutVersion((v) => v + 1); + } + + return () => { + delete el._gridComp; + // Destroy the grid in the same phase (useLayoutEffect) so that StrictMode's + // cleanup+remount cycle fully tears down and rebuilds the grid before any + // useEffect cleanup can run. This prevents useEffect cleanup from destroying + // a grid that was just freshly created by the remount's useLayoutEffect setup. + gridRef.current?.destroy(false); + gridRef.current = null; + prevOptsSig.current = null; + }; + }, [options, optsSig]); // eslint-disable-line react-hooks/exhaustive-deps + + useEffect(() => { + const g = gridRef.current; + if (!g) return; + + const addedHandler: GridStackNodesHandler = (e, nodes) => { + bumpLayout(); + onAdded?.(e, nodes); + }; + g.on("added", addedHandler); + + const changeHandler: GridStackNodesHandler = (e, nodes) => { + bumpLayout(); + onChange?.(e, nodes); + }; + g.on("change", changeHandler); + + const removedHandler: GridStackNodesHandler = (e, nodes) => { + bumpLayout(); + onRemoved?.(e, nodes); + }; + g.on("removed", removedHandler); + if (onDrag) { + g.on("drag", onDrag); + } + if (onDragStart) { + g.on("dragstart", onDragStart); + } + if (onDragStop) { + g.on("dragstop", onDragStop); + } + if (onDropped) { + g.on("dropped", onDropped); + } + if (onResize) { + g.on("resize", onResize); + } + if (onResizeStart) { + g.on("resizestart", onResizeStart); + } + if (onResizeStop) { + g.on("resizestop", onResizeStop); + } + + return () => { + g.off("added"); + g.off("change"); + g.off("removed"); + if (onDrag) g.off("drag"); + if (onDragStart) g.off("dragstart"); + if (onDragStop) g.off("dragstop"); + if (onDropped) g.off("dropped"); + if (onResize) g.off("resize"); + if (onResizeStart) g.off("resizestart"); + if (onResizeStop) g.off("resizestop"); + }; + }, [ + gridSession, + bumpLayout, + onAdded, + onChange, + onRemoved, + onDrag, + onDragStart, + onDragStop, + onDropped, + onResize, + onResizeStart, + onResizeStop, + ]); + + useImperativeHandle(ref, () => ({ + getGrid: () => gridRef.current, + })); + + const ctxValue = useMemo( + () => ({ + grid: gridRef.current, + layoutVersion, + registerWidgetSerializer, + }), + [layoutVersion, registerWidgetSerializer] + ); + + const syntheticItems = useMemo(() => { + const g = gridRef.current; + if (!g || syntheticIds.size === 0) return null; + return Array.from(syntheticIds).map((synId) => { + const node = findNodeInGrid(g, synId); + if (!node?.component) return null; + const Comp = components[node.component]; + if (!Comp) return null; + const props = (node.props ?? {}) as Record; + return ( + + + + ); + }); + }, [syntheticIds, components, layoutVersion]); + + const rootClass = + className != null && className.includes("grid-stack") + ? className + : ["grid-stack", className].filter(Boolean).join(" "); + + return ( + + <> +

+ {syntheticItems} +
+ {children} + + + ); + } +); + +export { GridStackComponent as GridStack }; diff --git a/react/projects/lib/src/hooks.ts b/react/projects/lib/src/hooks.ts new file mode 100644 index 000000000..05a8ef877 --- /dev/null +++ b/react/projects/lib/src/hooks.ts @@ -0,0 +1,80 @@ +import { useContext, useEffect, useMemo, useRef } from "react"; +import type { GridStackNode } from "gridstack"; +import { GridStackContext } from "./gridstack-context"; +import { GridStackWidgetContext } from "./gridstack-widget-context"; +import type { GridStackWidget } from "./types"; + +export interface UseWidgetSerializerOptions> { + serialize?: () => T | undefined; + deserialize?: (data: T) => void; +} + +/** + * Optional hook for widget components that participate in `grid.save()` via `saveCB` / `props`. + */ +export function useWidgetSerializer>( + _opts: UseWidgetSerializerOptions +): void { + const ctx = useContext(GridStackWidgetContext); + const optsRef = useRef(_opts); + optsRef.current = _opts; + + useEffect(() => { + if (!ctx?.registerSerializer) return; + return ctx.registerSerializer(() => + optsRef.current.serialize?.() as Record | undefined + ); + }, [ctx]); +} + +export function useGridStack() { + const ctx = useContext(GridStackContext); + if (!ctx) { + throw new Error("useGridStack must be used within "); + } + const { grid, layoutVersion, registerWidgetSerializer } = ctx; + return useMemo( + () => ({ + grid, + layoutVersion, + registerWidgetSerializer, + addWidget: (w: GridStackWidget) => + grid?.addWidget( + w as Parameters["addWidget"]>[0] + ), + removeWidget: ( + el: Parameters["removeWidget"]>[0], + removeDOM?: boolean, + triggerEvent?: boolean + ) => grid?.removeWidget(el, removeDOM, triggerEvent), + removeAll: (removeDOM = true) => grid?.removeAll(removeDOM), + save: (saveContent = true, saveGridOpt = false) => + grid?.save(saveContent, saveGridOpt), + }), + [grid, layoutVersion, registerWidgetSerializer] + ); +} + +export type UseGridStackItemResult = { + id: string; + node: GridStackNode | undefined; +}; + +export function useGridStackItem(): UseGridStackItemResult { + const wctx = useContext(GridStackWidgetContext); + const ctx = useContext(GridStackContext); + if (!wctx?.id) { + throw new Error( + "useGridStackItem must be used inside content" + ); + } + if (!ctx) { + throw new Error("useGridStackItem must be used within "); + } + const { grid, layoutVersion } = ctx; + const node = useMemo( + () => grid?.engine.nodes.find((n) => String(n.id) === String(wctx.id)), + [grid, wctx.id, layoutVersion] + ); + return { id: wctx.id, node }; +} diff --git a/react/projects/lib/src/index.ts b/react/projects/lib/src/index.ts new file mode 100644 index 000000000..419d9407c --- /dev/null +++ b/react/projects/lib/src/index.ts @@ -0,0 +1,40 @@ +export { + GridStack, + GridStackComponent, + type GridStackProps, + type GridStackHandle, + type ComponentMap, +} from "./gridstack"; +export { GridStackItem, type GridStackItemProps } from "./gridstack-item"; +export type { + GridStackHostApi, + GridStackWidget, + GridStackWidgetProps, + GridStackNode, + GridStackOptions, + GridHTMLElement, + GridItemHTMLElement, +} from "./types"; +export { + installGridStackReactCallbacks, + gsCreateReactComponents, + gsSaveAdditionalReactInfo, + gsUpdateReactComponents, +} from "./registry"; +export { + useGridStack, + useGridStackItem, + useWidgetSerializer, + type UseWidgetSerializerOptions, +} from "./hooks"; +export { BaseWidget } from "./base-widget"; +export { + GridStackContext, + useGridStackContextValue, + type GridStackContextValue, +} from "./gridstack-context"; +export { + GridStackWidgetContext, + useGridStackWidgetContext, + type GridStackWidgetContextValue, +} from "./gridstack-widget-context"; diff --git a/react/projects/lib/src/registry.ts b/react/projects/lib/src/registry.ts new file mode 100644 index 000000000..be90fa0c9 --- /dev/null +++ b/react/projects/lib/src/registry.ts @@ -0,0 +1,109 @@ +/** + * Static GridStack callbacks for React — same pattern as Angular gsCreateNgComponents. + * Dispatches via DOM `_gridComp` / `_gridItemRef` back-refs (no closure over per-grid state). + */ +import { GridStack, Utils } from "gridstack"; +import type { GridStackNode, GridStackWidget as CoreGridStackWidget } from "gridstack"; +import type { + GridHTMLElement, + GridItemHTMLElement, + GridStackWidget, +} from "./types"; + +export function installGridStackReactCallbacks(): void { + if (!GridStack.addRemoveCB) { + GridStack.addRemoveCB = gsCreateReactComponents; + } + if (!GridStack.saveCB) { + GridStack.saveCB = gsSaveAdditionalReactInfo; + } + if (!GridStack.updateCB) { + GridStack.updateCB = gsUpdateReactComponents; + } +} + +/** @internal Walk up from `el` to find the nearest `_gridComp` back-ref. */ +function nearestGridComp(el: HTMLElement | null): GridHTMLElement["_gridComp"] | undefined { + let node: HTMLElement | null = el; + while (node) { + const comp = (node as GridHTMLElement)._gridComp; + if (comp) return comp; + node = node.parentElement; + } + return undefined; +} + +/** @internal */ +export function gsCreateReactComponents( + parent: HTMLElement, + w: CoreGridStackWidget, + add: boolean, + isGrid: boolean +): HTMLElement | undefined { + if (add) { + if (isGrid) { + const opt = w as GridStackWidget; + const classes = ["grid-stack"]; + if (opt.class) classes.push(...String(opt.class).split(" ").filter(Boolean)); + const el = Utils.createDiv(classes) as GridHTMLElement; + // Inherit the host's _gridComp so nested-grid children can register portals. + const inherited = nearestGridComp(parent); + if (inherited) el._gridComp = inherited; + // Must append to parent — mirrors what Utils.createDiv(classes, parent) does in the + // non-React code path (gridstack.ts addGrid) so the subgrid is in the DOM. + parent?.appendChild(el); + return el; + } + + const gridHost = (parent as GridHTMLElement)._gridComp; + if (!gridHost) return undefined; + + const opt = w as GridStackWidget; + const itemClasses = ["grid-stack-item"]; + if (opt.class) itemClasses.push(...String(opt.class).split(" ").filter(Boolean)); + const el = Utils.createDiv(itemClasses) as GridItemHTMLElement; + Utils.createDiv(["grid-stack-item-content"], el); + + const id = opt.id != null ? String(opt.id) : undefined; + if (id) { + el._gridItemRef = { id, gridComp: gridHost }; + if (opt.component) gridHost.registerSyntheticItemId(id); + } + if (opt.content != null && opt.content !== "") { + const content = el.querySelector(".grid-stack-item-content") as HTMLElement; + if (content) content.textContent = String(opt.content); + } + return el; + } + + const el = (w as GridStackWidget).el as GridItemHTMLElement | undefined; + if (el?._gridItemRef) { + const { id, gridComp } = el._gridItemRef; + gridComp.unregisterSyntheticItemId(id); + delete el._gridItemRef; + } + el?.remove(); + return undefined; +} + +export function gsSaveAdditionalReactInfo( + node: GridStackNode, + w: CoreGridStackWidget +): void { + const n = node as GridStackNode & { component?: string; props?: Record }; + const out = w as GridStackWidget; + if (n.component != null) out.component = n.component; + if (n.props != null) out.props = { ...n.props }; + // Strip runtime-only fields that must never appear in serialized output. + delete (out as Record).visibleObservable; + const el = node.el as GridItemHTMLElement | undefined; + const id = n.id != null ? String(n.id) : undefined; + if (id && el?._gridItemRef?.gridComp?.mergeWidgetPropsForSave) { + el._gridItemRef.gridComp.mergeWidgetPropsForSave(id, out); + } +} + +export function gsUpdateReactComponents(node: GridStackNode): void { + const el = node.el as GridItemHTMLElement | undefined; + el?._gridItemRef?.gridComp?.requestUpdate?.(); +} diff --git a/react/projects/lib/src/types.ts b/react/projects/lib/src/types.ts new file mode 100644 index 000000000..3ba7ff845 --- /dev/null +++ b/react/projects/lib/src/types.ts @@ -0,0 +1,56 @@ +/** + * React wrapper type extensions — same identifiers as core `gridstack`, extended when imported from `gridstack/dist/react`. + * Angular parity: `component`/`props` ⇄ `selector`/`input`. + */ +import type { + GridStackOptions as CoreGridStackOptions, + GridStackWidget as CoreGridStackWidget, + GridStackNode as CoreGridStackNode, + GridHTMLElement as CoreGridHTMLElement, + GridItemHTMLElement as CoreGridItemHTMLElement, +} from "gridstack"; + +/** Host API stamped on `grid-stack` element as `_gridComp` for `addRemoveCB` dispatch */ +export interface GridStackHostApi { + registerSyntheticItemId(id: string): void; + unregisterSyntheticItemId(id: string): void; + /** Notify React to re-read node props after GS `update()` / `updateCB` */ + requestUpdate(): void; + registerWidgetSerializer: ( + id: string, + fn: () => Record | undefined + ) => () => void; + /** Merge `useWidgetSerializer` results into `w.props` during `grid.save()` */ + mergeWidgetPropsForSave(id: string, w: GridStackWidget): void; +} + +export type GridStackWidgetProps = Record; + +export interface GridStackWidget extends Omit { + /** Key in the `components` map passed to `` */ + component?: string; + props?: GridStackWidgetProps; + /** Extra CSS classes on the widget root (mirrors Angular `class` on widget JSON). */ + class?: string; + /** Runtime DOM node when removing via `addRemoveCB` (not serialized). */ + el?: HTMLElement; + /** Nested grid options (recursive; uses React-extended widget children). */ + subGridOpts?: GridStackOptions; +} + +export interface GridStackNode extends CoreGridStackNode { + component?: string; +} + +export interface GridStackOptions extends Omit { + children?: GridStackWidget[]; + subGridOpts?: GridStackOptions; +} + +export interface GridHTMLElement extends CoreGridHTMLElement { + _gridComp?: GridStackHostApi; +} + +export interface GridItemHTMLElement extends CoreGridItemHTMLElement { + _gridItemRef?: { id: string; gridComp: GridStackHostApi }; +} diff --git a/react/projects/lib/tsconfig.build.json b/react/projects/lib/tsconfig.build.json new file mode 100644 index 000000000..c4a72396a --- /dev/null +++ b/react/projects/lib/tsconfig.build.json @@ -0,0 +1,18 @@ +{ + "compilerOptions": { + "target": "ES2020", + "lib": ["ES2020", "DOM"], + "module": "ESNext", + "moduleResolution": "bundler", + "jsx": "react-jsx", + "declaration": true, + "declarationMap": true, + "outDir": "../../../dist/react", + "rootDir": "src", + "strict": true, + "skipLibCheck": true, + "esModuleInterop": true, + "isolatedModules": true + }, + "include": ["src/**/*.ts", "src/**/*.tsx"] +} diff --git a/react/src/App.tsx b/react/src/App.tsx index 72c9508a5..242556ceb 100644 --- a/react/src/App.tsx +++ b/react/src/App.tsx @@ -4,8 +4,6 @@ function App() { return ( <>

Gridstack React Wrapper Demo

- -

(Uncontrolled)

); diff --git a/react/src/demo/demo.css b/react/src/demo/demo.css index f8acbd739..485230237 100644 --- a/react/src/demo/demo.css +++ b/react/src/demo/demo.css @@ -10,6 +10,31 @@ .grid-stack-item-removing { opacity: 0.5; } + +.demo-toolbar { + display: flex; + flex-wrap: wrap; + gap: 0.5rem; + margin-top: 0.5rem; +} + +.demo-debug { + margin-top: 0.5rem; +} + +.demo-debug h4 { + margin: 0 0 0.35rem; + font-size: 0.95rem; + font-weight: 600; +} + +.demo-pre { + background-color: #f3f4f6; + padding: .2rem; + overflow: auto; + font-size: 12px; +} + .trash { height: 100px; background: rgba(255, 0, 0, 0.1) center center url(data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjY0cHgiIGhlaWdodD0iNjRweCIgdmlld0JveD0iMCAwIDQzOC41MjkgNDM4LjUyOSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNDM4LjUyOSA0MzguNTI5OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnPgoJPGc+CgkJPHBhdGggZD0iTTQxNy42ODksNzUuNjU0Yy0xLjcxMS0xLjcwOS0zLjkwMS0yLjU2OC02LjU2My0yLjU2OGgtODguMjI0TDMwMi45MTcsMjUuNDFjLTIuODU0LTcuMDQ0LTcuOTk0LTEzLjA0LTE1LjQxMy0xNy45ODkgICAgQzI4MC4wNzgsMi40NzMsMjcyLjU1NiwwLDI2NC45NDUsMGgtOTEuMzYzYy03LjYxMSwwLTE1LjEzMSwyLjQ3My0yMi41NTQsNy40MjFjLTcuNDI0LDQuOTQ5LTEyLjU2MywxMC45NDQtMTUuNDE5LDE3Ljk4OSAgICBsLTE5Ljk4NSw0Ny42NzZoLTg4LjIyYy0yLjY2NywwLTQuODUzLDAuODU5LTYuNTY3LDIuNTY4Yy0xLjcwOSwxLjcxMy0yLjU2OCwzLjkwMy0yLjU2OCw2LjU2N3YxOC4yNzQgICAgYzAsMi42NjQsMC44NTUsNC44NTQsMi41NjgsNi41NjRjMS43MTQsMS43MTIsMy45MDQsMi41NjgsNi41NjcsMi41NjhoMjcuNDA2djI3MS44YzAsMTUuODAzLDQuNDczLDI5LjI2NiwxMy40MTgsNDAuMzk4ICAgIGM4Ljk0NywxMS4xMzksMTkuNzAxLDE2LjcwMywzMi4yNjQsMTYuNzAzaDIzNy41NDJjMTIuNTY2LDAsMjMuMzE5LTUuNzU2LDMyLjI2NS0xNy4yNjhjOC45NDUtMTEuNTIsMTMuNDE1LTI1LjE3NCwxMy40MTUtNDAuOTcxICAgIFYxMDkuNjI3aDI3LjQxMWMyLjY2MiwwLDQuODUzLTAuODU2LDYuNTYzLTIuNTY4YzEuNzA4LTEuNzA5LDIuNTctMy45LDIuNTctNi41NjRWODIuMjIxICAgIEM0MjAuMjYsNzkuNTU3LDQxOS4zOTcsNzcuMzY3LDQxNy42ODksNzUuNjU0eiBNMTY5LjMwMSwzOS42NzhjMS4zMzEtMS43MTIsMi45NS0yLjc2Miw0Ljg1My0zLjE0aDkwLjUwNCAgICBjMS45MDMsMC4zODEsMy41MjUsMS40Myw0Ljg1NCwzLjE0bDEzLjcwOSwzMy40MDRIMTU1LjMxMUwxNjkuMzAxLDM5LjY3OHogTTM0Ny4xNzMsMzgwLjI5MWMwLDQuMTg2LTAuNjY0LDguMDQyLTEuOTk5LDExLjU2MSAgICBjLTEuMzM0LDMuNTE4LTIuNzE3LDYuMDg4LTQuMTQxLDcuNzA2Yy0xLjQzMSwxLjYyMi0yLjQyMywyLjQyNy0yLjk5OCwyLjQyN0gxMDAuNDkzYy0wLjU3MSwwLTEuNTY1LTAuODA1LTIuOTk2LTIuNDI3ICAgIGMtMS40MjktMS42MTgtMi44MS00LjE4OC00LjE0My03LjcwNmMtMS4zMzEtMy41MTktMS45OTctNy4zNzktMS45OTctMTEuNTYxVjEwOS42MjdoMjU1LjgxNVYzODAuMjkxeiIgZmlsbD0iI2ZmOWNhZSIvPgoJCTxwYXRoIGQ9Ik0xMzcuMDQsMzQ3LjE3MmgxOC4yNzFjMi42NjcsMCw0Ljg1OC0wLjg1NSw2LjU2Ny0yLjU2N2MxLjcwOS0xLjcxOCwyLjU2OC0zLjkwMSwyLjU2OC02LjU3VjE3My41ODEgICAgYzAtMi42NjMtMC44NTktNC44NTMtMi41NjgtNi41NjdjLTEuNzE0LTEuNzA5LTMuODk5LTIuNTY1LTYuNTY3LTIuNTY1SDEzNy4wNGMtMi42NjcsMC00Ljg1NCwwLjg1NS02LjU2NywyLjU2NSAgICBjLTEuNzExLDEuNzE0LTIuNTY4LDMuOTA0LTIuNTY4LDYuNTY3djE2NC40NTRjMCwyLjY2OSwwLjg1NCw0Ljg1MywyLjU2OCw2LjU3QzEzMi4xODYsMzQ2LjMxNiwxMzQuMzczLDM0Ny4xNzIsMTM3LjA0LDM0Ny4xNzJ6IiBmaWxsPSIjZmY5Y2FlIi8+CgkJPHBhdGggZD0iTTIxMC4xMjksMzQ3LjE3MmgxOC4yNzFjMi42NjYsMCw0Ljg1Ni0wLjg1NSw2LjU2NC0yLjU2N2MxLjcxOC0xLjcxOCwyLjU2OS0zLjkwMSwyLjU2OS02LjU3VjE3My41ODEgICAgYzAtMi42NjMtMC44NTItNC44NTMtMi41NjktNi41NjdjLTEuNzA4LTEuNzA5LTMuODk4LTIuNTY1LTYuNTY0LTIuNTY1aC0xOC4yNzFjLTIuNjY0LDAtNC44NTQsMC44NTUtNi41NjcsMi41NjUgICAgYy0xLjcxNCwxLjcxNC0yLjU2OCwzLjkwNC0yLjU2OCw2LjU2N3YxNjQuNDU0YzAsMi42NjksMC44NTQsNC44NTMsMi41NjgsNi41N0MyMDUuMjc0LDM0Ni4zMTYsMjA3LjQ2NSwzNDcuMTcyLDIxMC4xMjksMzQ3LjE3MnogICAgIiBmaWxsPSIjZmY5Y2FlIi8+CgkJPHBhdGggZD0iTTI4My4yMiwzNDcuMTcyaDE4LjI2OGMyLjY2OSwwLDQuODU5LTAuODU1LDYuNTctMi41NjdjMS43MTEtMS43MTgsMi41NjItMy45MDEsMi41NjItNi41N1YxNzMuNTgxICAgIGMwLTIuNjYzLTAuODUyLTQuODUzLTIuNTYyLTYuNTY3Yy0xLjcxMS0xLjcwOS0zLjkwMS0yLjU2NS02LjU3LTIuNTY1SDI4My4yMmMtMi42NywwLTQuODUzLDAuODU1LTYuNTcxLDIuNTY1ICAgIGMtMS43MTEsMS43MTQtMi41NjYsMy45MDQtMi41NjYsNi41Njd2MTY0LjQ1NGMwLDIuNjY5LDAuODU1LDQuODUzLDIuNTY2LDYuNTdDMjc4LjM2NywzNDYuMzE2LDI4MC41NSwzNDcuMTcyLDI4My4yMiwzNDcuMTcyeiIgZmlsbD0iI2ZmOWNhZSIvPgoJPC9nPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+Cjwvc3ZnPgo=) no-repeat; diff --git a/react/src/demo/demo.tsx b/react/src/demo/demo.tsx index b1d81ec2f..ec15a073e 100644 --- a/react/src/demo/demo.tsx +++ b/react/src/demo/demo.tsx @@ -1,14 +1,11 @@ -import { ComponentProps, useEffect, useState } from "react"; -import { GridStackOptions, GridStackWidget } from "gridstack"; +import { useCallback, useEffect, useMemo, useState } from "react"; import { - ComponentDataType, - ComponentMap, - GridStackProvider, - GridStackRender, - GridStackRenderProvider, - useGridStackContext, -} from "../../lib"; -// import { GridStackRenderProvider } from "../../lib/grid-stack-render-provider-single"; + GridStack, + useGridStack, + useWidgetSerializer, + type GridStackOptions, + type GridStackWidget, +} from "gridstack/dist/react"; import "gridstack/dist/gridstack.css"; import "./demo.css"; @@ -21,185 +18,210 @@ const BREAKPOINTS = [ { c: 8, w: 1100 }, ]; -function Text({ content }: { content: string }) { +/** Recommended: declare widgets with `component` + `props` (not `content` JSON strings). */ +function Text(props: Record) { + const content = String(props.content ?? ""); return
{content}
; } -const COMPONENT_MAP: ComponentMap = { +/** Example: merge extra fields into `props` on `grid.save()` via `useWidgetSerializer`. */ +function Counter(props: Record) { + const label = String(props.label ?? ""); + const [count, setCount] = useState(0); + useWidgetSerializer({ + serialize: () => ({ count }), + }); + return ( +
+
{label}
+ +
+ ); +} + +const COMPONENTS = { Text, - // ... other components here + Counter, }; -// ! Content must be json string like this: -// { name: "Text", props: { content: "Item 1" } } -const gridOptions: GridStackOptions = { - acceptWidgets: true, - columnOpts: { - breakpointForWindow: true, - breakpoints: BREAKPOINTS, - layout: "moveScale", - columnMax: 12, - }, - margin: 8, - cellHeight: CELL_HEIGHT, - subGridOpts: { +function baseOptions(): GridStackOptions { + return { acceptWidgets: true, columnOpts: { + breakpointForWindow: true, breakpoints: BREAKPOINTS, layout: "moveScale", + columnMax: 12, }, margin: 8, - minRow: 2, cellHeight: CELL_HEIGHT, - }, - children: [ - { - id: "item1", - h: 2, - w: 2, - x: 0, - y: 0, - content: JSON.stringify({ - name: "Text", - props: { content: "Item 1" }, - } satisfies ComponentDataType>), // if need type check + subGridOpts: { + acceptWidgets: true, + columnOpts: { + breakpoints: BREAKPOINTS, + layout: "moveScale", + }, + margin: 8, + minRow: 2, + cellHeight: CELL_HEIGHT, }, - { - id: "item2", - h: 2, - w: 2, - x: 2, - y: 0, - content: JSON.stringify({ - name: "Text", + children: [ + { + id: "item1", + h: 2, + w: 2, + x: 0, + y: 0, + component: "Text", + props: { content: "Item 1" }, + }, + { + id: "item2", + h: 2, + w: 2, + x: 2, + y: 0, + component: "Text", props: { content: "Item 2" }, - }), - }, - { - id: "sub-grid-1", - h: 5, - sizeToContent: true, - subGridOpts: { - acceptWidgets: true, - cellHeight: CELL_HEIGHT, - alwaysShowResizeHandle: false, - column: "auto", - minRow: 2, - layout: "list", - margin: 8, - children: [ - { - id: "sub-grid-1-title", - locked: true, - noMove: true, - noResize: true, - w: 12, - x: 0, - y: 0, - content: JSON.stringify({ - name: "Text", - props: { content: "Sub Grid 1 Title" }, - }), - }, - { - id: "item3", - h: 2, - w: 2, - x: 0, - y: 1, - content: JSON.stringify({ - name: "Text", - props: { content: "Item 3" }, - }), - }, - { - id: "item4", - h: 2, - w: 2, - x: 2, - y: 0, - content: JSON.stringify({ - name: "Text", - props: { content: "Item 4" }, - }), - }, - ], }, - w: 12, - x: 0, - y: 2, - }, - ], - lazyLoad: true -}; + { + id: "item3", + h: 2, + w: 2, + x: 4, + y: 0, + component: "Text", + props: { content: "Item 3" }, + }, + { + id: "sub-grid-1", + h: 5, + sizeToContent: true, + subGridOpts: { + acceptWidgets: true, + cellHeight: CELL_HEIGHT, + column: "auto", + minRow: 2, + margin: 8, + children: [ + { + id: "sub-item1", + h: 2, + w: 4, + x: 0, + y: 0, + component: "Text", + props: { content: "Sub-item 1" }, + }, + { + id: "sub-item2", + h: 2, + w: 4, + x: 4, + y: 0, + component: "Text", + props: { content: "Sub-item 2" }, + }, + ], + }, + w: 12, + x: 0, + y: 2, + }, + ], + lazyLoad: true, + }; +} + +function GridPanel({ + title, + options, +}: { + title: string; + options: GridStackOptions; +}) { + const [savedJson, setSavedJson] = useState(null); + + return ( +
+

{title}

+ + + + +
+ ); +} export function GridStackDemo() { - // ! Uncontrolled - const [initialOptions] = useState(gridOptions); - const [initialOptions2] = useState({}); + const options = useMemo(() => baseOptions(), []); return ( <> - - - - - - - - - - - - - - - +

+ Layout uses JSON options.children plus a components map. The + nested subgrid has several child tiles. Use the toolbar for save / restore. +

+ ); } -function Toolbar() { - const { addWidget, addSubGrid } = useGridStackContext(); +function Toolbar({ + onSaveJson, + savedJson, +}: { + onSaveJson: (json: string) => void; + savedJson: string | null; +}) { + const { addWidget, save, grid } = useGridStack(); + + const handleSave = useCallback(() => { + const data = save?.(true, false); + if (data) onSaveJson(JSON.stringify(data, null, 2)); + }, [save, onSaveJson]); + + const handleRestore = useCallback(() => { + if (!savedJson || !grid) return; + try { + const parsed = JSON.parse(savedJson) as GridStackWidget[]; + grid.load(parsed); + } catch (e) { + console.error(e); + } + }, [grid, savedJson]); return ( -
+
+ + +
); } -function DebugInfo() { - const { initialOptions, saveOptions } = useGridStackContext(); - - const [realtimeOptions, setRealtimeOptions] = useState< - GridStackOptions | GridStackWidget[] | undefined - >(undefined); +function DebugPanel() { + const { save, layoutVersion } = useGridStack(); + const [snapshot, setSnapshot] = useState(""); useEffect(() => { - const timer = setInterval(() => { - if (saveOptions) { - const data = saveOptions(); - setRealtimeOptions(data); - } + const t = setInterval(() => { + const data = save?.(true, false); + if (data) setSnapshot(JSON.stringify(data, null, 2)); }, 2000); - - return () => clearInterval(timer); - }, [saveOptions]); + return () => clearInterval(t); + }, [save, layoutVersion]); return ( -
-

Debug Info

-
-
-

Initial Options

-
-            {JSON.stringify(initialOptions, null, 2)}
-          
-
-
-

Realtime Options (2s refresh)

-
-            {JSON.stringify(realtimeOptions, null, 2)}
-          
-
-
+
+

Live save() snapshot (~2s)

+
{snapshot || "…"}
); } diff --git a/react/tsconfig.app.json b/react/tsconfig.app.json index f0a235055..8c4edd0b9 100644 --- a/react/tsconfig.app.json +++ b/react/tsconfig.app.json @@ -5,6 +5,11 @@ "lib": ["ES2020", "DOM", "DOM.Iterable"], "module": "ESNext", "skipLibCheck": true, + "baseUrl": ".", + "paths": { + "gridstack": ["../src/gridstack.ts"], + "gridstack/dist/react": ["./projects/lib/src/index.ts"] + }, /* Bundler mode */ "moduleResolution": "bundler", @@ -20,5 +25,5 @@ "noUnusedParameters": true, "noFallthroughCasesInSwitch": true }, - "include": ["src"] + "include": ["src", "projects/lib/src"] } diff --git a/react/tsconfig.app.tsbuildinfo b/react/tsconfig.app.tsbuildinfo index 2d7328826..944841f08 100644 --- a/react/tsconfig.app.tsbuildinfo +++ b/react/tsconfig.app.tsbuildinfo @@ -1 +1 @@ -{"root":["./src/app.tsx","./src/main.tsx","./src/vite-env.d.ts","./src/demo/demo.tsx"],"version":"5.6.2"} \ No newline at end of file +{"root":["./src/app.tsx","./src/main.tsx","./src/vite-env.d.ts","./src/demo/demo.tsx","./projects/lib/src/base-widget.tsx","./projects/lib/src/gridstack-context.tsx","./projects/lib/src/gridstack-item.tsx","./projects/lib/src/gridstack-widget-context.tsx","./projects/lib/src/gridstack.tsx","./projects/lib/src/hooks.ts","./projects/lib/src/index.ts","./projects/lib/src/registry.ts","./projects/lib/src/types.ts"],"version":"5.6.2"} \ No newline at end of file diff --git a/react/vite.config.ts b/react/vite.config.ts index 61f32f2dc..30f6a80ca 100644 --- a/react/vite.config.ts +++ b/react/vite.config.ts @@ -1,11 +1,27 @@ import { defineConfig } from 'vite' import react from '@vitejs/plugin-react-swc' +import { fileURLToPath, URL } from 'node:url' // https://vitejs.dev/config/ export default defineConfig({ plugins: [react()], - test: { - environment: 'jsdom', - globals: true, + resolve: { + alias: [ + // React wrapper source + { + find: 'gridstack/dist/react', + replacement: fileURLToPath( + new URL('./projects/lib/src/index.ts', import.meta.url) + ), + }, + // Core gridstack: use local src so local patches (e.g. lazy-load drag fix) apply. + // Regex exact-match avoids clobbering gridstack/dist/gridstack.css etc. + { + find: /^gridstack$/, + replacement: fileURLToPath( + new URL('../src/gridstack.ts', import.meta.url) + ), + }, + ], }, }) diff --git a/react/vitest.config.ts b/react/vitest.config.ts new file mode 100644 index 000000000..acb8eace3 --- /dev/null +++ b/react/vitest.config.ts @@ -0,0 +1,20 @@ +import { defineConfig } from 'vitest/config' +import react from '@vitejs/plugin-react-swc' +import { fileURLToPath, URL } from 'node:url' + +export default defineConfig({ + plugins: [react()], + resolve: { + alias: { + 'gridstack/dist/react': fileURLToPath( + new URL('./projects/lib/src/index.ts', import.meta.url) + ), + }, + }, + test: { + environment: 'jsdom', + globals: true, + setupFiles: [fileURLToPath(new URL('./vitest.setup.ts', import.meta.url))], + include: ['projects/lib/**/*.test.{ts,tsx}', 'src/**/*.test.{ts,tsx}'], + }, +}) diff --git a/react/vitest.setup.ts b/react/vitest.setup.ts new file mode 100644 index 000000000..8addbcf12 --- /dev/null +++ b/react/vitest.setup.ts @@ -0,0 +1,3 @@ +/** Vitest + React 18 act() */ +// eslint-disable-next-line @typescript-eslint/no-explicit-any +(globalThis as any).IS_REACT_ACT_ENVIRONMENT = true; diff --git a/src/dd-draggable.ts b/src/dd-draggable.ts index d8bcd1ded..34e05453e 100644 --- a/src/dd-draggable.ts +++ b/src/dd-draggable.ts @@ -144,6 +144,27 @@ export class DDDraggable extends DDBaseImplement implements HTMLElementExtendOpt return this; } + /** + * Re-scans the item element for drag-handle elements after delayed content (React portal, + * Angular component, etc.) has been rendered into the item. Removes listeners from the + * previous handle set, re-queries, then re-attaches. + * Not needed for the default `.grid-stack-item-content` handle which is always present. + */ + public refreshHandles(): void { + const wasDisabled = this.disabled; + // Remove listeners from the current (possibly stale) handle elements. + if (!wasDisabled) this.disable(true); // forDestroy=true skips the CSS class toggle + // Re-query handles now that framework content is in the DOM. + const handleName = this.option?.handle?.substring(1); + const n = this.el.gridstackNode; + this.dragEls = !handleName || this.el.classList.contains(handleName) + ? [this.el] + : (n?.subGrid ? [this.el.querySelector(this.option.handle) as HTMLElement || this.el] : this.getAllHandles()); + if (this.dragEls.length === 0) this.dragEls = [this.el]; + // Restore previous enabled/disabled state with the new handle set. + if (!wasDisabled) this.enable(); + } + /** @internal call when mouse goes down before a dragstart happens */ protected _mouseDown(e: MouseEvent): boolean { // if real brower event (trusted:true vs false for our simulated ones) and we didn't correctly clear the last touch event, clear things up diff --git a/src/gridstack.ts b/src/gridstack.ts index 091dae295..718b4da34 100644 --- a/src/gridstack.ts +++ b/src/gridstack.ts @@ -1911,7 +1911,12 @@ export class GridStack { sizeToContent ? el.classList.add('size-to-content') : el.classList.remove('size-to-content'); if (sizeToContent) this.resizeToContentCheck(false, node); - if (!Utils.lazyLoad(node)) this.prepareDragDrop(node.el); + if (!Utils.lazyLoad(node) || !node.visibleObservable) { + // Items created via addRemoveCB (e.g. React/Angular wrappers) bypass createWidgetDivs, + // so they never get the lazy IntersectionObserver set there. Their content is managed + // externally, so initialize drag/drop immediately rather than deferring it. + this.prepareDragDrop(node.el); + } return this; } @@ -2705,6 +2710,27 @@ export class GridStack { return this; } + /** + * Re-scans one or more widget elements for drag handle elements after delayed content + * (React portal, Angular component, etc.) has been rendered inside the item. + * Only needed when you use a custom `draggable.handle` selector that lives *inside* the + * item's dynamically-created content. The default `.grid-stack-item-content` handle is + * created synchronously and never needs this call. + * + * @param els widget element(s) or selector + * + * @example + * // React: after portal renders (see GridStackItem useEffect) + * // Angular: after createComp() inside gsCreateNgComponents + * grid.refreshDragHandles(itemEl); + */ + public refreshDragHandles(els: GridStackElement): GridStack { + GridStack.getElements(els).forEach(el => { + (el as DDElementHost).ddElement?.ddDraggable?.refreshHandles(); + }); + return this; + } + /** * prepares the element for drag&drop - this is normally called by makeWidget() unless are are delay loading * @param el GridItemHTMLElement of the widget @@ -2740,7 +2766,6 @@ export class GridStack { this.triggerEvent(event, event.target as GridItemHTMLElement); cellWidth = this.cellWidth(); cellHeight = this.getCellHeight(true); // force pixels for calculations - this._onStartMoving(el, event, ui, node, cellWidth, cellHeight); } From cac41c563c034f3555341d7b22a31ef5219a6cae Mon Sep 17 00:00:00 2001 From: Alain Dumesny Date: Fri, 29 May 2026 11:16:33 -0700 Subject: [PATCH 168/235] chore(react): remove legacy demo files, update README to official wrapper - Delete demo/react.html, demo/react-hooks.html, and demo/react-hooks-controlled-multiple.html (raw CDN script-tag demos that pre-date the official wrapper). - README: React entry in the frameworks section now mirrors the Angular entry ("we ship out of the box a React wrapper") and links to react/ instead of the old demo pages. - README intro: mark React as included alongside Angular. Co-authored-by: Cursor --- README.md | 4 +- demo/react-hooks-controlled-multiple.html | 164 -------------------- demo/react-hooks.html | 174 ---------------------- demo/react.html | 104 ------------- 4 files changed, 2 insertions(+), 444 deletions(-) delete mode 100644 demo/react-hooks-controlled-multiple.html delete mode 100644 demo/react-hooks.html delete mode 100644 demo/react.html diff --git a/README.md b/README.md index c97d8f461..909f694e8 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![Coverage Status](https://coveralls.io/repos/github/gridstack/gridstack.js/badge.svg?branch=develop)](https://coveralls.io/github/gridstack/gridstack.js?branch=develop) [![downloads](https://img.shields.io/npm/dm/gridstack.svg)](https://www.npmjs.com/package/gridstack) -Mobile-friendly modern Typescript library for dashboard layout and creation. Making a drag-and-drop, multi-column responsive dashboard has never been easier. Has multiple bindings and works great with [Angular](https://angular.io/) (included), [React](https://reactjs.org/), [Vue](https://vuejs.org/), [Knockout.js](http://knockoutjs.com), [Ember](https://www.emberjs.com/) and others (see [frameworks](#specific-frameworks) section). +Mobile-friendly modern Typescript library for dashboard layout and creation. Making a drag-and-drop, multi-column responsive dashboard has never been easier. Has multiple bindings and works great with [Angular](https://angular.io/) (included), [React](https://reactjs.org/) (included), [Vue](https://vuejs.org/), [Knockout.js](http://knockoutjs.com), [Ember](https://www.emberjs.com/) and others (see [frameworks](#specific-frameworks) section). Inspired by no-longer maintained gridster, built with love. @@ -158,7 +158,7 @@ search for ['gridstack' under NPM](https://www.npmjs.com/search?q=gridstack&rank - **Ember**: [ember-gridstack](https://github.com/yahoo/ember-gridstack) - **knockout**: see [demo](https://gridstackjs.com/demo/knockout.html) using component, but check [custom bindings ticket](https://github.com/gridstack/gridstack.js/issues/465) which is likely better approach. - **Rails**: [gridstack-js-rails](https://github.com/randoum/gridstack-js-rails) -- **React**: work in progress to have wrapper code: see React Component. But also see [demo](https://gridstackjs.com/demo/react.html) with [src](https://github.com/gridstack/gridstack.js/tree/master/demo/react.html), or [react-gridstack-example](https://github.com/Inder2108/react-gridstack-example/tree/master/src/App.js), or read on what [hooks to use](https://github.com/gridstack/gridstack.js/issues/735#issuecomment-329888796) +- **React**: we ship out of the box a React wrapper - see React Component. - **Vue**: see [demo](https://gridstackjs.com/demo/vue3js.html) with [v3 src](https://github.com/gridstack/gridstack.js/tree/master/demo/vue3js.html) or [v2 src](https://github.com/gridstack/gridstack.js/tree/master/demo/vue2js.html) - **Aurelia**: [aurelia-gridstack](https://github.com/aurelia-ui-toolkits/aurelia-gridstack), see [demo](https://aurelia-ui-toolkits.github.io/aurelia-gridstack/) diff --git a/demo/react-hooks-controlled-multiple.html b/demo/react-hooks-controlled-multiple.html deleted file mode 100644 index 7118fe5bf..000000000 --- a/demo/react-hooks-controlled-multiple.html +++ /dev/null @@ -1,164 +0,0 @@ - - - - - - - Gridstack.js React integration example - - - - - - - - - - -
-

Controlled stack

-
-
- - - - \ No newline at end of file diff --git a/demo/react-hooks.html b/demo/react-hooks.html deleted file mode 100644 index edfa6c95c..000000000 --- a/demo/react-hooks.html +++ /dev/null @@ -1,174 +0,0 @@ - - - - - - - Gridstack.js React integration example - - - - - - - - - - -
-

Using GridStack.js with React hooks

-

- As with any virtual DOM based framework, you need to check if React has rendered the DOM (or any updates to it) - before you initialize GridStack or call its methods. This example shows how to make rendered - components widgets: -

-
    -
  1. Render items, each with a reference
  2. -
  3. Convert each rendered item to a widget using the reference and the - makeWidget() function
  4. -
-
-
-

Controlled stack

-
-
-
-

Uncontrolled stack

-
-
- - - - \ No newline at end of file diff --git a/demo/react.html b/demo/react.html deleted file mode 100644 index b1539c323..000000000 --- a/demo/react.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - Gridstack.js React integration example - - - - - - - - - - -
- - - - From 489014c11d734152621364f86485ebc080cc38f0 Mon Sep 17 00:00:00 2001 From: Alain Dumesny Date: Fri, 29 May 2026 12:35:26 -0700 Subject: [PATCH 169/235] feat(vue): add official Vue 3 wrapper (gridstack/dist/vue) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds a first-class Vue 3 wrapper under vue/ mirroring the React wrapper architecture while using idiomatic Vue patterns: Composition API composables (useGridStack, useGridStackItem, useWidgetSerializer), provide/inject context, and for zero-destroy widget reparenting across grids. - vue/projects/lib/src/ — library source (types, registry, GridStack, GridStackItem, composables, BaseWidget) - vue/src/demo/ — feature-parity demo with the React demo (Text/Counter widgets, toolbar, debug panel, nested subgrid) - vue/projects/lib/gridstack-vue.test.ts — jsdom test suite (5 tests, all passing) - Removes legacy demo/vue*.html scratch files now superseded by the official wrapper - Updates README.md and demo/index.html to reference the official Vue component Co-authored-by: Cursor --- README.md | 4 +- demo/index.html | 10 +- demo/vue2js.html | 89 - demo/vue3js.html | 93 - demo/vue3js_dynamic-modern-renderCB.html | 157 -- ...e3js_dynamic-render_grid-item-content.html | 161 -- demo/vue3js_dynamic-render_grid-item.html | 168 -- demo/vue3js_v-for.html | 163 -- package.json | 3 +- react/yarn.lock | 220 +- vue/DESIGN-DECISIONS.md | 95 + vue/README.md | 150 ++ vue/index.html | 13 + vue/package.json | 32 + vue/projects/lib/gridstack-vue.test.ts | 162 ++ vue/projects/lib/src/base-widget.ts | 35 + vue/projects/lib/src/composables.ts | 114 + vue/projects/lib/src/gridstack-context.ts | 31 + vue/projects/lib/src/gridstack-item.ts | 143 ++ vue/projects/lib/src/gridstack.ts | 277 +++ vue/projects/lib/src/index.ts | 43 + vue/projects/lib/src/registry.ts | 103 + vue/projects/lib/src/types.ts | 53 + vue/projects/lib/tsconfig.build.json | 17 + vue/src/App.vue | 8 + vue/src/demo/demo.css | 61 + vue/src/demo/demo.vue | 266 +++ vue/src/main.ts | 4 + vue/tsconfig.app.json | 32 + vue/tsconfig.app.tsbuildinfo | 1 + vue/tsconfig.json | 7 + vue/tsconfig.node.json | 22 + vue/tsconfig.node.tsbuildinfo | 1 + vue/vite.config.ts | 21 + vue/vitest.config.ts | 25 + vue/vitest.setup.ts | 1 + vue/yarn.lock | 2047 +++++++++++++++++ yarn.lock | 346 +-- 38 files changed, 4054 insertions(+), 1124 deletions(-) delete mode 100644 demo/vue2js.html delete mode 100644 demo/vue3js.html delete mode 100644 demo/vue3js_dynamic-modern-renderCB.html delete mode 100644 demo/vue3js_dynamic-render_grid-item-content.html delete mode 100644 demo/vue3js_dynamic-render_grid-item.html delete mode 100644 demo/vue3js_v-for.html create mode 100644 vue/DESIGN-DECISIONS.md create mode 100644 vue/README.md create mode 100644 vue/index.html create mode 100644 vue/package.json create mode 100644 vue/projects/lib/gridstack-vue.test.ts create mode 100644 vue/projects/lib/src/base-widget.ts create mode 100644 vue/projects/lib/src/composables.ts create mode 100644 vue/projects/lib/src/gridstack-context.ts create mode 100644 vue/projects/lib/src/gridstack-item.ts create mode 100644 vue/projects/lib/src/gridstack.ts create mode 100644 vue/projects/lib/src/index.ts create mode 100644 vue/projects/lib/src/registry.ts create mode 100644 vue/projects/lib/src/types.ts create mode 100644 vue/projects/lib/tsconfig.build.json create mode 100644 vue/src/App.vue create mode 100644 vue/src/demo/demo.css create mode 100644 vue/src/demo/demo.vue create mode 100644 vue/src/main.ts create mode 100644 vue/tsconfig.app.json create mode 100644 vue/tsconfig.app.tsbuildinfo create mode 100644 vue/tsconfig.json create mode 100644 vue/tsconfig.node.json create mode 100644 vue/tsconfig.node.tsbuildinfo create mode 100644 vue/vite.config.ts create mode 100644 vue/vitest.config.ts create mode 100644 vue/vitest.setup.ts create mode 100644 vue/yarn.lock diff --git a/README.md b/README.md index 909f694e8..01fbea3b8 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![Coverage Status](https://coveralls.io/repos/github/gridstack/gridstack.js/badge.svg?branch=develop)](https://coveralls.io/github/gridstack/gridstack.js?branch=develop) [![downloads](https://img.shields.io/npm/dm/gridstack.svg)](https://www.npmjs.com/package/gridstack) -Mobile-friendly modern Typescript library for dashboard layout and creation. Making a drag-and-drop, multi-column responsive dashboard has never been easier. Has multiple bindings and works great with [Angular](https://angular.io/) (included), [React](https://reactjs.org/) (included), [Vue](https://vuejs.org/), [Knockout.js](http://knockoutjs.com), [Ember](https://www.emberjs.com/) and others (see [frameworks](#specific-frameworks) section). +Mobile-friendly modern Typescript library for dashboard layout and creation. Making a drag-and-drop, multi-column responsive dashboard has never been easier. Has multiple bindings and works great with [Angular](https://angular.io/) (included), [React](https://reactjs.org/) (included), [Vue](https://vuejs.org/) (included), [Knockout.js](http://knockoutjs.com), [Ember](https://www.emberjs.com/) and others (see [frameworks](#specific-frameworks) section). Inspired by no-longer maintained gridster, built with love. @@ -159,7 +159,7 @@ search for ['gridstack' under NPM](https://www.npmjs.com/search?q=gridstack&rank - **knockout**: see [demo](https://gridstackjs.com/demo/knockout.html) using component, but check [custom bindings ticket](https://github.com/gridstack/gridstack.js/issues/465) which is likely better approach. - **Rails**: [gridstack-js-rails](https://github.com/randoum/gridstack-js-rails) - **React**: we ship out of the box a React wrapper - see React Component. -- **Vue**: see [demo](https://gridstackjs.com/demo/vue3js.html) with [v3 src](https://github.com/gridstack/gridstack.js/tree/master/demo/vue3js.html) or [v2 src](https://github.com/gridstack/gridstack.js/tree/master/demo/vue2js.html) +- **Vue**: we ship out of the box a Vue 3 wrapper - see Vue Component. - **Aurelia**: [aurelia-gridstack](https://github.com/aurelia-ui-toolkits/aurelia-gridstack), see [demo](https://aurelia-ui-toolkits.github.io/aurelia-gridstack/) ## Extend Library diff --git a/demo/index.html b/demo/index.html index ed3b6b780..b15984c05 100644 --- a/demo/index.html +++ b/demo/index.html @@ -35,12 +35,6 @@

Demos

  • Transform (scale+offset)
  • Two grids
  • Two grids Vertical
  • -
  • Vue2.js
  • -
  • Vue3.js
  • -
  • Vue3: Gridstack Controls Vue Rendering Grid Item Content
  • -
  • Vue3: Gridstack Controls Vue Rendering Grid Item
  • -
  • Vue3 with v-for
  • -
  • Vue3: Render GridStack item content using GridStack.renderCB
  • Web Component
  • Website demo 1
  • Website demo 2
  • @@ -49,7 +43,9 @@

    Angular wrapper

    We now ship an Angular Component to make it supper easy for that framework

    React wrapper

    -

    React original examples are shown above, but upcoming and better TS based /react folder (working to make that official and ship it) should be looked at instead.

    +

    React original examples are shown above. See the official React Component wrapper.

    +

    Vue wrapper

    +

    We now ship an official Vue 3 Component wrapper.

    Old v5.1.1 Jquery Demos

    Note: those are no longer supported, and use an old version of the lib to compare functionality.
      diff --git a/demo/vue2js.html b/demo/vue2js.html deleted file mode 100644 index de1e042c4..000000000 --- a/demo/vue2js.html +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - Vue2 Gridstack - - - - -
      -

      How to integrate GridStack.js with Vue.js

      -

      - As with any virtual DOM based framework, you need to check if Vue has - rendered the DOM (or any updates to it) before you - initialize GridStack or call its methods. As a basic example, check this - component's mounted hook. -

      -

      - If your app requires more complex render logic than the inline template - in `addWidget`, consider - makeWidget - to let Vue deal with DOM rendering. -

      - {{ info }} -
      -
      - - - diff --git a/demo/vue3js.html b/demo/vue3js.html deleted file mode 100644 index 4d85b51df..000000000 --- a/demo/vue3js.html +++ /dev/null @@ -1,93 +0,0 @@ - - - - - - Vue3 Gridstack - - - - -
      -

      How to integrate GridStack.js with Vue.js

      -

      - As with any virtual DOM based framework, you need to check if Vue has - rendered the DOM (or any updates to it) before you - initialize GridStack or call its methods. As a basic example, check this - component's mounted hook. -

      -

      - If your app requires more complex render logic than the inline template - in `addWidget`, consider - makeWidget - to let Vue deal with DOM rendering. -

      - {{ info }} -
      -
      - - - diff --git a/demo/vue3js_dynamic-modern-renderCB.html b/demo/vue3js_dynamic-modern-renderCB.html deleted file mode 100644 index 8fc0e628e..000000000 --- a/demo/vue3js_dynamic-modern-renderCB.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - - - - Vue3 Gridstack: Gridstack DOM with Vue Rendering - - - - - -
      - Back to All Demos -

      Vue3: Gridstack Controls Vue Rendering Grid Items

      -

      - Use Vue3 render functions with GridStack.renderCB
      - GridStack handles widget creation and Vue handles rendering the content using the modern (since V11) GridStack.renderCB. -

      -

      - Helpful Resources: -

      -

      - {{ info }} -
      -
      - - - - \ No newline at end of file diff --git a/demo/vue3js_dynamic-render_grid-item-content.html b/demo/vue3js_dynamic-render_grid-item-content.html deleted file mode 100644 index 0f112d4a8..000000000 --- a/demo/vue3js_dynamic-render_grid-item-content.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - - Vue3 Gridstack: Gridstack DOM with Vue Rendering - - - - -
      - Back to All Demos -

      Vue3: Gridstack Controls Vue Rendering Grid Item Content

      -

      - Use Vue3 render functions to dynamically render only the grid item content.
      - GridStack is handles when items are added/removed, rendering grid item element, and Vue handles rendering only the item content. -

      -

      - Helpful Resources: -

      -

      -

      - Notes: -

        -
      • This implementation currently does not support nested grid
      • -
      -

      - {{ info }} -
      -
      - - - diff --git a/demo/vue3js_dynamic-render_grid-item.html b/demo/vue3js_dynamic-render_grid-item.html deleted file mode 100644 index 2cb0697a1..000000000 --- a/demo/vue3js_dynamic-render_grid-item.html +++ /dev/null @@ -1,168 +0,0 @@ - - - - - - Vue3 Gridstack: Gridstack DOM with Vue Rendering - - - - -
      - Back to All Demos -

      Vue3: Gridstack Controls Vue Rendering Grid Item

      -

      - Use Vue3 render functions to dynamically render the entire Gridstack item (wrapper and contents)
      - GridStack is handles when items are added/removed, and Vue handles rendering of the entire item in GridStack.addRemoveCB. -

      -

      - Helpful Resources: -

      -

      -

      - Notes: -

        -
      • This implementation currently does not support nested grid
      • -
      -

      - {{ info }} -
      -
      - - - diff --git a/demo/vue3js_v-for.html b/demo/vue3js_v-for.html deleted file mode 100644 index 0db820a75..000000000 --- a/demo/vue3js_v-for.html +++ /dev/null @@ -1,163 +0,0 @@ - - - - - - - Vue3 v-for Gridstack - - - - - -
      -

      How to integrate GridStack.js with Vue.js

      -

      - As with any virtual DOM based framework, you need to check if Vue has - rendered the DOM (or any updates to it) before you - initialize GridStack or call its methods. As a basic example, check this - component's mounted hook. -

      -

      - If your app requires more complex render logic than the inline template - in `addWidget`, consider - makeWidget - to let Vue deal with DOM rendering. -

      - - -
      -
      - - -
      {{ info }}
      -
      -
      {{ gridInfo }}
      -
      - -
      -
      -
      - - {{w}} -
      -
      -
      - -
      - - - - diff --git a/package.json b/package.json index b1c870649..b3a9858af 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,8 @@ "test:e2e:headed": "playwright test --headed", "lint": "tsc --project tsconfig.build.json --noEmit && eslint src/*.ts angular/projects/lib/src/**/*.ts react/projects/lib/src/**/*.{ts,tsx}", "reset": "rm -rf dist node_modules", - "prepublishOnly": "yarn build" + "prepublishOnly": "yarn build", + "preinstall": "npx only-allow yarn" }, "keywords": [ "Typescript", diff --git a/react/yarn.lock b/react/yarn.lock index bebef0b14..488aab1c4 100644 --- a/react/yarn.lock +++ b/react/yarn.lock @@ -4,7 +4,7 @@ "@asamuzakjp/css-color@^3.2.0": version "3.2.0" - resolved "https://registry.npmmirror.com/@asamuzakjp/css-color/-/css-color-3.2.0.tgz#cc42f5b85c593f79f1fa4f25d2b9b321e61d1794" + resolved "https://registry.yarnpkg.com/@asamuzakjp/css-color/-/css-color-3.2.0.tgz#cc42f5b85c593f79f1fa4f25d2b9b321e61d1794" integrity sha512-K1A6z8tS3XsmCMM86xoWdn7Fkdn9m6RSVtocUrJYIwZnFVkng/PvkEoWtOWmP+Scc6saYWHWZYbndEEXxl24jw== dependencies: "@csstools/css-calc" "^2.1.3" @@ -15,17 +15,17 @@ "@csstools/color-helpers@^5.0.2": version "5.0.2" - resolved "https://registry.npmmirror.com/@csstools/color-helpers/-/color-helpers-5.0.2.tgz#82592c9a7c2b83c293d9161894e2a6471feb97b8" + resolved "https://registry.yarnpkg.com/@csstools/color-helpers/-/color-helpers-5.0.2.tgz#82592c9a7c2b83c293d9161894e2a6471feb97b8" integrity sha512-JqWH1vsgdGcw2RR6VliXXdA0/59LttzlU8UlRT/iUUsEeWfYq8I+K0yhihEUTTHLRm1EXvpsCx3083EU15ecsA== "@csstools/css-calc@^2.1.3", "@csstools/css-calc@^2.1.4": version "2.1.4" - resolved "https://registry.npmmirror.com/@csstools/css-calc/-/css-calc-2.1.4.tgz#8473f63e2fcd6e459838dd412401d5948f224c65" + resolved "https://registry.yarnpkg.com/@csstools/css-calc/-/css-calc-2.1.4.tgz#8473f63e2fcd6e459838dd412401d5948f224c65" integrity sha512-3N8oaj+0juUw/1H3YwmDDJXCgTB1gKU6Hc/bB502u9zR0q2vd786XJH9QfrKIEgFlZmhZiq6epXl4rHqhzsIgQ== "@csstools/css-color-parser@^3.0.9": version "3.0.10" - resolved "https://registry.npmmirror.com/@csstools/css-color-parser/-/css-color-parser-3.0.10.tgz#79fc68864dd43c3b6782d2b3828bc0fa9d085c10" + resolved "https://registry.yarnpkg.com/@csstools/css-color-parser/-/css-color-parser-3.0.10.tgz#79fc68864dd43c3b6782d2b3828bc0fa9d085c10" integrity sha512-TiJ5Ajr6WRd1r8HSiwJvZBiJOqtH86aHpUjq5aEKWHiII2Qfjqd/HCWKPOW8EP4vcspXbHnXrwIDlu5savQipg== dependencies: "@csstools/color-helpers" "^5.0.2" @@ -33,142 +33,142 @@ "@csstools/css-parser-algorithms@^3.0.4": version "3.0.5" - resolved "https://registry.npmmirror.com/@csstools/css-parser-algorithms/-/css-parser-algorithms-3.0.5.tgz#5755370a9a29abaec5515b43c8b3f2cf9c2e3076" + resolved "https://registry.yarnpkg.com/@csstools/css-parser-algorithms/-/css-parser-algorithms-3.0.5.tgz#5755370a9a29abaec5515b43c8b3f2cf9c2e3076" integrity sha512-DaDeUkXZKjdGhgYaHNJTV9pV7Y9B3b644jCLs9Upc3VeNGg6LWARAT6O+Q+/COo+2gg/bM5rhpMAtf70WqfBdQ== "@csstools/css-tokenizer@^3.0.3": version "3.0.4" - resolved "https://registry.npmmirror.com/@csstools/css-tokenizer/-/css-tokenizer-3.0.4.tgz#333fedabc3fd1a8e5d0100013731cf19e6a8c5d3" + resolved "https://registry.yarnpkg.com/@csstools/css-tokenizer/-/css-tokenizer-3.0.4.tgz#333fedabc3fd1a8e5d0100013731cf19e6a8c5d3" integrity sha512-Vd/9EVDiu6PPJt9yAh6roZP6El1xHrdvIVGjyBsHR0RYwNHgL7FJPyIIW4fANJNG6FtyZfvlRPpFI4ZM/lubvw== "@esbuild/aix-ppc64@0.25.8": version "0.25.8" - resolved "https://registry.npmmirror.com/@esbuild/aix-ppc64/-/aix-ppc64-0.25.8.tgz#a1414903bb38027382f85f03dda6065056757727" + resolved "https://registry.yarnpkg.com/@esbuild/aix-ppc64/-/aix-ppc64-0.25.8.tgz#a1414903bb38027382f85f03dda6065056757727" integrity sha512-urAvrUedIqEiFR3FYSLTWQgLu5tb+m0qZw0NBEasUeo6wuqatkMDaRT+1uABiGXEu5vqgPd7FGE1BhsAIy9QVA== "@esbuild/android-arm64@0.25.8": version "0.25.8" - resolved "https://registry.npmmirror.com/@esbuild/android-arm64/-/android-arm64-0.25.8.tgz#c859994089e9767224269884061f89dae6fb51c6" + resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.25.8.tgz#c859994089e9767224269884061f89dae6fb51c6" integrity sha512-OD3p7LYzWpLhZEyATcTSJ67qB5D+20vbtr6vHlHWSQYhKtzUYrETuWThmzFpZtFsBIxRvhO07+UgVA9m0i/O1w== "@esbuild/android-arm@0.25.8": version "0.25.8" - resolved "https://registry.npmmirror.com/@esbuild/android-arm/-/android-arm-0.25.8.tgz#96a8f2ca91c6cd29ea90b1af79d83761c8ba0059" + resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.25.8.tgz#96a8f2ca91c6cd29ea90b1af79d83761c8ba0059" integrity sha512-RONsAvGCz5oWyePVnLdZY/HHwA++nxYWIX1atInlaW6SEkwq6XkP3+cb825EUcRs5Vss/lGh/2YxAb5xqc07Uw== "@esbuild/android-x64@0.25.8": version "0.25.8" - resolved "https://registry.npmmirror.com/@esbuild/android-x64/-/android-x64-0.25.8.tgz#a3a626c4fec4a024a9fa8c7679c39996e92916f0" + resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.25.8.tgz#a3a626c4fec4a024a9fa8c7679c39996e92916f0" integrity sha512-yJAVPklM5+4+9dTeKwHOaA+LQkmrKFX96BM0A/2zQrbS6ENCmxc4OVoBs5dPkCCak2roAD+jKCdnmOqKszPkjA== "@esbuild/darwin-arm64@0.25.8": version "0.25.8" - resolved "https://registry.npmmirror.com/@esbuild/darwin-arm64/-/darwin-arm64-0.25.8.tgz#a5e1252ca2983d566af1c0ea39aded65736fc66d" + resolved "https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.25.8.tgz#a5e1252ca2983d566af1c0ea39aded65736fc66d" integrity sha512-Jw0mxgIaYX6R8ODrdkLLPwBqHTtYHJSmzzd+QeytSugzQ0Vg4c5rDky5VgkoowbZQahCbsv1rT1KW72MPIkevw== "@esbuild/darwin-x64@0.25.8": version "0.25.8" - resolved "https://registry.npmmirror.com/@esbuild/darwin-x64/-/darwin-x64-0.25.8.tgz#5271b0df2bb12ce8df886704bfdd1c7cc01385d2" + resolved "https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.25.8.tgz#5271b0df2bb12ce8df886704bfdd1c7cc01385d2" integrity sha512-Vh2gLxxHnuoQ+GjPNvDSDRpoBCUzY4Pu0kBqMBDlK4fuWbKgGtmDIeEC081xi26PPjn+1tct+Bh8FjyLlw1Zlg== "@esbuild/freebsd-arm64@0.25.8": version "0.25.8" - resolved "https://registry.npmmirror.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.8.tgz#d0a0e7fdf19733b8bb1566b81df1aa0bb7e46ada" + resolved "https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.8.tgz#d0a0e7fdf19733b8bb1566b81df1aa0bb7e46ada" integrity sha512-YPJ7hDQ9DnNe5vxOm6jaie9QsTwcKedPvizTVlqWG9GBSq+BuyWEDazlGaDTC5NGU4QJd666V0yqCBL2oWKPfA== "@esbuild/freebsd-x64@0.25.8": version "0.25.8" - resolved "https://registry.npmmirror.com/@esbuild/freebsd-x64/-/freebsd-x64-0.25.8.tgz#2de8b2e0899d08f1cb1ef3128e159616e7e85343" + resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.25.8.tgz#2de8b2e0899d08f1cb1ef3128e159616e7e85343" integrity sha512-MmaEXxQRdXNFsRN/KcIimLnSJrk2r5H8v+WVafRWz5xdSVmWLoITZQXcgehI2ZE6gioE6HirAEToM/RvFBeuhw== "@esbuild/linux-arm64@0.25.8": version "0.25.8" - resolved "https://registry.npmmirror.com/@esbuild/linux-arm64/-/linux-arm64-0.25.8.tgz#a4209efadc0c2975716458484a4e90c237c48ae9" + resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.25.8.tgz#a4209efadc0c2975716458484a4e90c237c48ae9" integrity sha512-WIgg00ARWv/uYLU7lsuDK00d/hHSfES5BzdWAdAig1ioV5kaFNrtK8EqGcUBJhYqotlUByUKz5Qo6u8tt7iD/w== "@esbuild/linux-arm@0.25.8": version "0.25.8" - resolved "https://registry.npmmirror.com/@esbuild/linux-arm/-/linux-arm-0.25.8.tgz#ccd9e291c24cd8d9142d819d463e2e7200d25b19" + resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.25.8.tgz#ccd9e291c24cd8d9142d819d463e2e7200d25b19" integrity sha512-FuzEP9BixzZohl1kLf76KEVOsxtIBFwCaLupVuk4eFVnOZfU+Wsn+x5Ryam7nILV2pkq2TqQM9EZPsOBuMC+kg== "@esbuild/linux-ia32@0.25.8": version "0.25.8" - resolved "https://registry.npmmirror.com/@esbuild/linux-ia32/-/linux-ia32-0.25.8.tgz#006ad1536d0c2b28fb3a1cf0b53bcb85aaf92c4d" + resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.25.8.tgz#006ad1536d0c2b28fb3a1cf0b53bcb85aaf92c4d" integrity sha512-A1D9YzRX1i+1AJZuFFUMP1E9fMaYY+GnSQil9Tlw05utlE86EKTUA7RjwHDkEitmLYiFsRd9HwKBPEftNdBfjg== "@esbuild/linux-loong64@0.25.8": version "0.25.8" - resolved "https://registry.npmmirror.com/@esbuild/linux-loong64/-/linux-loong64-0.25.8.tgz#127b3fbfb2c2e08b1397e985932f718f09a8f5c4" + resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.25.8.tgz#127b3fbfb2c2e08b1397e985932f718f09a8f5c4" integrity sha512-O7k1J/dwHkY1RMVvglFHl1HzutGEFFZ3kNiDMSOyUrB7WcoHGf96Sh+64nTRT26l3GMbCW01Ekh/ThKM5iI7hQ== "@esbuild/linux-mips64el@0.25.8": version "0.25.8" - resolved "https://registry.npmmirror.com/@esbuild/linux-mips64el/-/linux-mips64el-0.25.8.tgz#837d1449517791e3fa7d82675a2d06d9f56cb340" + resolved "https://registry.yarnpkg.com/@esbuild/linux-mips64el/-/linux-mips64el-0.25.8.tgz#837d1449517791e3fa7d82675a2d06d9f56cb340" integrity sha512-uv+dqfRazte3BzfMp8PAQXmdGHQt2oC/y2ovwpTteqrMx2lwaksiFZ/bdkXJC19ttTvNXBuWH53zy/aTj1FgGw== "@esbuild/linux-ppc64@0.25.8": version "0.25.8" - resolved "https://registry.npmmirror.com/@esbuild/linux-ppc64/-/linux-ppc64-0.25.8.tgz#aa2e3bd93ab8df084212f1895ca4b03c42d9e0fe" + resolved "https://registry.yarnpkg.com/@esbuild/linux-ppc64/-/linux-ppc64-0.25.8.tgz#aa2e3bd93ab8df084212f1895ca4b03c42d9e0fe" integrity sha512-GyG0KcMi1GBavP5JgAkkstMGyMholMDybAf8wF5A70CALlDM2p/f7YFE7H92eDeH/VBtFJA5MT4nRPDGg4JuzQ== "@esbuild/linux-riscv64@0.25.8": version "0.25.8" - resolved "https://registry.npmmirror.com/@esbuild/linux-riscv64/-/linux-riscv64-0.25.8.tgz#a340620e31093fef72767dd28ab04214b3442083" + resolved "https://registry.yarnpkg.com/@esbuild/linux-riscv64/-/linux-riscv64-0.25.8.tgz#a340620e31093fef72767dd28ab04214b3442083" integrity sha512-rAqDYFv3yzMrq7GIcen3XP7TUEG/4LK86LUPMIz6RT8A6pRIDn0sDcvjudVZBiiTcZCY9y2SgYX2lgK3AF+1eg== "@esbuild/linux-s390x@0.25.8": version "0.25.8" - resolved "https://registry.npmmirror.com/@esbuild/linux-s390x/-/linux-s390x-0.25.8.tgz#ddfed266c8c13f5efb3105a0cd47f6dcd0e79e71" + resolved "https://registry.yarnpkg.com/@esbuild/linux-s390x/-/linux-s390x-0.25.8.tgz#ddfed266c8c13f5efb3105a0cd47f6dcd0e79e71" integrity sha512-Xutvh6VjlbcHpsIIbwY8GVRbwoviWT19tFhgdA7DlenLGC/mbc3lBoVb7jxj9Z+eyGqvcnSyIltYUrkKzWqSvg== "@esbuild/linux-x64@0.25.8": version "0.25.8" - resolved "https://registry.npmmirror.com/@esbuild/linux-x64/-/linux-x64-0.25.8.tgz#9a4f78c75c051e8c060183ebb39a269ba936a2ac" + resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.25.8.tgz#9a4f78c75c051e8c060183ebb39a269ba936a2ac" integrity sha512-ASFQhgY4ElXh3nDcOMTkQero4b1lgubskNlhIfJrsH5OKZXDpUAKBlNS0Kx81jwOBp+HCeZqmoJuihTv57/jvQ== "@esbuild/netbsd-arm64@0.25.8": version "0.25.8" - resolved "https://registry.npmmirror.com/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.8.tgz#902c80e1d678047926387230bc037e63e00697d0" + resolved "https://registry.yarnpkg.com/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.8.tgz#902c80e1d678047926387230bc037e63e00697d0" integrity sha512-d1KfruIeohqAi6SA+gENMuObDbEjn22olAR7egqnkCD9DGBG0wsEARotkLgXDu6c4ncgWTZJtN5vcgxzWRMzcw== "@esbuild/netbsd-x64@0.25.8": version "0.25.8" - resolved "https://registry.npmmirror.com/@esbuild/netbsd-x64/-/netbsd-x64-0.25.8.tgz#2d9eb4692add2681ff05a14ce99de54fbed7079c" + resolved "https://registry.yarnpkg.com/@esbuild/netbsd-x64/-/netbsd-x64-0.25.8.tgz#2d9eb4692add2681ff05a14ce99de54fbed7079c" integrity sha512-nVDCkrvx2ua+XQNyfrujIG38+YGyuy2Ru9kKVNyh5jAys6n+l44tTtToqHjino2My8VAY6Lw9H7RI73XFi66Cg== "@esbuild/openbsd-arm64@0.25.8": version "0.25.8" - resolved "https://registry.npmmirror.com/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.8.tgz#89c3b998c6de739db38ab7fb71a8a76b3fa84a45" + resolved "https://registry.yarnpkg.com/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.8.tgz#89c3b998c6de739db38ab7fb71a8a76b3fa84a45" integrity sha512-j8HgrDuSJFAujkivSMSfPQSAa5Fxbvk4rgNAS5i3K+r8s1X0p1uOO2Hl2xNsGFppOeHOLAVgYwDVlmxhq5h+SQ== "@esbuild/openbsd-x64@0.25.8": version "0.25.8" - resolved "https://registry.npmmirror.com/@esbuild/openbsd-x64/-/openbsd-x64-0.25.8.tgz#2f01615cf472b0e48c077045cfd96b5c149365cc" + resolved "https://registry.yarnpkg.com/@esbuild/openbsd-x64/-/openbsd-x64-0.25.8.tgz#2f01615cf472b0e48c077045cfd96b5c149365cc" integrity sha512-1h8MUAwa0VhNCDp6Af0HToI2TJFAn1uqT9Al6DJVzdIBAd21m/G0Yfc77KDM3uF3T/YaOgQq3qTJHPbTOInaIQ== "@esbuild/openharmony-arm64@0.25.8": version "0.25.8" - resolved "https://registry.npmmirror.com/@esbuild/openharmony-arm64/-/openharmony-arm64-0.25.8.tgz#a201f720cd2c3ebf9a6033fcc3feb069a54b509a" + resolved "https://registry.yarnpkg.com/@esbuild/openharmony-arm64/-/openharmony-arm64-0.25.8.tgz#a201f720cd2c3ebf9a6033fcc3feb069a54b509a" integrity sha512-r2nVa5SIK9tSWd0kJd9HCffnDHKchTGikb//9c7HX+r+wHYCpQrSgxhlY6KWV1nFo1l4KFbsMlHk+L6fekLsUg== "@esbuild/sunos-x64@0.25.8": version "0.25.8" - resolved "https://registry.npmmirror.com/@esbuild/sunos-x64/-/sunos-x64-0.25.8.tgz#07046c977985a3334667f19e6ab3a01a80862afb" + resolved "https://registry.yarnpkg.com/@esbuild/sunos-x64/-/sunos-x64-0.25.8.tgz#07046c977985a3334667f19e6ab3a01a80862afb" integrity sha512-zUlaP2S12YhQ2UzUfcCuMDHQFJyKABkAjvO5YSndMiIkMimPmxA+BYSBikWgsRpvyxuRnow4nS5NPnf9fpv41w== "@esbuild/win32-arm64@0.25.8": version "0.25.8" - resolved "https://registry.npmmirror.com/@esbuild/win32-arm64/-/win32-arm64-0.25.8.tgz#4a5470caf0d16127c05d4833d4934213c69392d1" + resolved "https://registry.yarnpkg.com/@esbuild/win32-arm64/-/win32-arm64-0.25.8.tgz#4a5470caf0d16127c05d4833d4934213c69392d1" integrity sha512-YEGFFWESlPva8hGL+zvj2z/SaK+pH0SwOM0Nc/d+rVnW7GSTFlLBGzZkuSU9kFIGIo8q9X3ucpZhu8PDN5A2sQ== "@esbuild/win32-ia32@0.25.8": version "0.25.8" - resolved "https://registry.npmmirror.com/@esbuild/win32-ia32/-/win32-ia32-0.25.8.tgz#3de3e8470b7b328d99dbc3e9ec1eace207e5bbc4" + resolved "https://registry.yarnpkg.com/@esbuild/win32-ia32/-/win32-ia32-0.25.8.tgz#3de3e8470b7b328d99dbc3e9ec1eace207e5bbc4" integrity sha512-hiGgGC6KZ5LZz58OL/+qVVoZiuZlUYlYHNAmczOm7bs2oE1XriPFi5ZHHrS8ACpV5EjySrnoCKmcbQMN+ojnHg== "@esbuild/win32-x64@0.25.8": version "0.25.8" - resolved "https://registry.npmmirror.com/@esbuild/win32-x64/-/win32-x64-0.25.8.tgz#610d7ea539d2fcdbe39237b5cc175eb2c4451f9c" + resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.25.8.tgz#610d7ea539d2fcdbe39237b5cc175eb2c4451f9c" integrity sha512-cn3Yr7+OaaZq1c+2pe+8yxC8E144SReCQjN6/2ynubzYjvyqZjTXfQJpAcQpsdJq3My7XADANiYGHoFC69pLQw== "@eslint-community/eslint-utils@^4.2.0", "@eslint-community/eslint-utils@^4.4.0": @@ -236,7 +236,7 @@ "@jridgewell/sourcemap-codec@^1.5.0": version "1.5.4" - resolved "https://registry.npmmirror.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.4.tgz#7358043433b2e5da569aa02cbc4c121da3af27d7" + resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.4.tgz#7358043433b2e5da569aa02cbc4c121da3af27d7" integrity sha512-VT2+G1VQs/9oz078bLrYbecdZKs912zQlkelYpuf+SXF+QvZDYJlbx/LSx+meSAwdDFnF8FVXW92AVjjkVmgFw== "@nodelib/fs.scandir@2.1.5": @@ -262,7 +262,7 @@ "@polka/url@^1.0.0-next.24": version "1.0.0-next.29" - resolved "https://registry.npmmirror.com/@polka/url/-/url-1.0.0-next.29.tgz#5a40109a1ab5f84d6fd8fc928b19f367cbe7e7b1" + resolved "https://registry.yarnpkg.com/@polka/url/-/url-1.0.0-next.29.tgz#5a40109a1ab5f84d6fd8fc928b19f367cbe7e7b1" integrity sha512-wwQAWhWSuHaag8c4q/KN/vCoeOJYshAIvMQwD4GpSb3OiZklFfvAgmj0VCBBImRpuF/aFgIRzllXlVX93Jevww== "@rollup/rollup-android-arm-eabi@4.60.1": @@ -473,19 +473,19 @@ "@types/chai@^5.2.2": version "5.2.2" - resolved "https://registry.npmmirror.com/@types/chai/-/chai-5.2.2.tgz#6f14cea18180ffc4416bc0fd12be05fdd73bdd6b" + resolved "https://registry.yarnpkg.com/@types/chai/-/chai-5.2.2.tgz#6f14cea18180ffc4416bc0fd12be05fdd73bdd6b" integrity sha512-8kB30R7Hwqf40JPiKhVzodJs2Qc1ZJ5zuT3uzw5Hq/dhNCl3G3l83jfpdI1e20BP348+fV7VIL/+FxaXkqBmWg== dependencies: "@types/deep-eql" "*" "@types/deep-eql@*": version "4.0.2" - resolved "https://registry.npmmirror.com/@types/deep-eql/-/deep-eql-4.0.2.tgz#334311971d3a07121e7eb91b684a605e7eea9cbd" + resolved "https://registry.yarnpkg.com/@types/deep-eql/-/deep-eql-4.0.2.tgz#334311971d3a07121e7eb91b684a605e7eea9cbd" integrity sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw== "@types/estree@1.0.8", "@types/estree@^1.0.0": version "1.0.8" - resolved "https://registry.npmmirror.com/@types/estree/-/estree-1.0.8.tgz#958b91c991b1867ced318bedea0e215ee050726e" + resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.8.tgz#958b91c991b1867ced318bedea0e215ee050726e" integrity sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w== "@types/prop-types@*": @@ -598,7 +598,7 @@ "@vitest/expect@3.2.4": version "3.2.4" - resolved "https://registry.npmmirror.com/@vitest/expect/-/expect-3.2.4.tgz#8362124cd811a5ee11c5768207b9df53d34f2433" + resolved "https://registry.yarnpkg.com/@vitest/expect/-/expect-3.2.4.tgz#8362124cd811a5ee11c5768207b9df53d34f2433" integrity sha512-Io0yyORnB6sikFlt8QW5K7slY4OjqNX9jmJQ02QDda8lyM6B5oNgVWoSoKPac8/kgnCUzuHQKrSLtu/uOqqrig== dependencies: "@types/chai" "^5.2.2" @@ -609,7 +609,7 @@ "@vitest/mocker@3.2.4": version "3.2.4" - resolved "https://registry.npmmirror.com/@vitest/mocker/-/mocker-3.2.4.tgz#4471c4efbd62db0d4fa203e65cc6b058a85cabd3" + resolved "https://registry.yarnpkg.com/@vitest/mocker/-/mocker-3.2.4.tgz#4471c4efbd62db0d4fa203e65cc6b058a85cabd3" integrity sha512-46ryTE9RZO/rfDd7pEqFl7etuyzekzEhUbTW3BvmeO/BcCMEgq59BKhek3dXDWgAj4oMK6OZi+vRr1wPW6qjEQ== dependencies: "@vitest/spy" "3.2.4" @@ -618,14 +618,14 @@ "@vitest/pretty-format@3.2.4", "@vitest/pretty-format@^3.2.4": version "3.2.4" - resolved "https://registry.npmmirror.com/@vitest/pretty-format/-/pretty-format-3.2.4.tgz#3c102f79e82b204a26c7a5921bf47d534919d3b4" + resolved "https://registry.yarnpkg.com/@vitest/pretty-format/-/pretty-format-3.2.4.tgz#3c102f79e82b204a26c7a5921bf47d534919d3b4" integrity sha512-IVNZik8IVRJRTr9fxlitMKeJeXFFFN0JaB9PHPGQ8NKQbGpfjlTx9zO4RefN8gp7eqjNy8nyK3NZmBzOPeIxtA== dependencies: tinyrainbow "^2.0.0" "@vitest/runner@3.2.4": version "3.2.4" - resolved "https://registry.npmmirror.com/@vitest/runner/-/runner-3.2.4.tgz#5ce0274f24a971f6500f6fc166d53d8382430766" + resolved "https://registry.yarnpkg.com/@vitest/runner/-/runner-3.2.4.tgz#5ce0274f24a971f6500f6fc166d53d8382430766" integrity sha512-oukfKT9Mk41LreEW09vt45f8wx7DordoWUZMYdY/cyAk7w5TWkTRCNZYF7sX7n2wB7jyGAl74OxgwhPgKaqDMQ== dependencies: "@vitest/utils" "3.2.4" @@ -634,7 +634,7 @@ "@vitest/snapshot@3.2.4": version "3.2.4" - resolved "https://registry.npmmirror.com/@vitest/snapshot/-/snapshot-3.2.4.tgz#40a8bc0346ac0aee923c0eefc2dc005d90bc987c" + resolved "https://registry.yarnpkg.com/@vitest/snapshot/-/snapshot-3.2.4.tgz#40a8bc0346ac0aee923c0eefc2dc005d90bc987c" integrity sha512-dEYtS7qQP2CjU27QBC5oUOxLE/v5eLkGqPE0ZKEIDGMs4vKWe7IjgLOeauHsR0D5YuuycGRO5oSRXnwnmA78fQ== dependencies: "@vitest/pretty-format" "3.2.4" @@ -643,14 +643,14 @@ "@vitest/spy@3.2.4": version "3.2.4" - resolved "https://registry.npmmirror.com/@vitest/spy/-/spy-3.2.4.tgz#cc18f26f40f3f028da6620046881f4e4518c2599" + resolved "https://registry.yarnpkg.com/@vitest/spy/-/spy-3.2.4.tgz#cc18f26f40f3f028da6620046881f4e4518c2599" integrity sha512-vAfasCOe6AIK70iP5UD11Ac4siNUNJ9i/9PZ3NKx07sG6sUxeag1LWdNrMWeKKYBLlzuK+Gn65Yd5nyL6ds+nw== dependencies: tinyspy "^4.0.3" "@vitest/ui@^3.2.4": version "3.2.4" - resolved "https://registry.npmmirror.com/@vitest/ui/-/ui-3.2.4.tgz#df8080537c1dcfeae353b2d3cb3301d9acafe04a" + resolved "https://registry.yarnpkg.com/@vitest/ui/-/ui-3.2.4.tgz#df8080537c1dcfeae353b2d3cb3301d9acafe04a" integrity sha512-hGISOaP18plkzbWEcP/QvtRW1xDXF2+96HbEX6byqQhAUbiS5oH6/9JwW+QsQCIYON2bI6QZBF+2PvOmrRZ9wA== dependencies: "@vitest/utils" "3.2.4" @@ -663,7 +663,7 @@ "@vitest/utils@3.2.4": version "3.2.4" - resolved "https://registry.npmmirror.com/@vitest/utils/-/utils-3.2.4.tgz#c0813bc42d99527fb8c5b138c7a88516bca46fea" + resolved "https://registry.yarnpkg.com/@vitest/utils/-/utils-3.2.4.tgz#c0813bc42d99527fb8c5b138c7a88516bca46fea" integrity sha512-fB2V0JFrQSMsCo9HiSq3Ezpdv4iYaXRG1Sx8edX3MwxfyNn83mKiGzOcH+Fkxt4MHxr3y42fQi1oeAInqgX2QA== dependencies: "@vitest/pretty-format" "3.2.4" @@ -682,7 +682,7 @@ acorn@^8.12.0: agent-base@^7.1.0, agent-base@^7.1.2: version "7.1.4" - resolved "https://registry.npmmirror.com/agent-base/-/agent-base-7.1.4.tgz#e3cd76d4c548ee895d3c3fd8dc1f6c5b9032e7a8" + resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-7.1.4.tgz#e3cd76d4c548ee895d3c3fd8dc1f6c5b9032e7a8" integrity sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ== ajv@^6.12.4: @@ -714,7 +714,7 @@ argparse@^2.0.1: assertion-error@^2.0.1: version "2.0.1" - resolved "https://registry.npmmirror.com/assertion-error/-/assertion-error-2.0.1.tgz#f641a196b335690b1070bf00b6e7593fec190bf7" + resolved "https://registry.yarnpkg.com/assertion-error/-/assertion-error-2.0.1.tgz#f641a196b335690b1070bf00b6e7593fec190bf7" integrity sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA== balanced-match@^1.0.0: @@ -746,7 +746,7 @@ braces@^3.0.3: cac@^6.7.14: version "6.7.14" - resolved "https://registry.npmmirror.com/cac/-/cac-6.7.14.tgz#804e1e6f506ee363cb0e3ccbb09cad5dd9870959" + resolved "https://registry.yarnpkg.com/cac/-/cac-6.7.14.tgz#804e1e6f506ee363cb0e3ccbb09cad5dd9870959" integrity sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ== callsites@^3.0.0: @@ -756,7 +756,7 @@ callsites@^3.0.0: chai@^5.2.0: version "5.2.1" - resolved "https://registry.npmmirror.com/chai/-/chai-5.2.1.tgz#a9502462bdc79cf90b4a0953537a9908aa638b47" + resolved "https://registry.yarnpkg.com/chai/-/chai-5.2.1.tgz#a9502462bdc79cf90b4a0953537a9908aa638b47" integrity sha512-5nFxhUrX0PqtyogoYOA8IPswy5sZFTOsBFl/9bNsmDLgsxYTzSZQJDPppDnZPTQbzSEm0hqGjWPzRemQCYbD6A== dependencies: assertion-error "^2.0.1" @@ -775,7 +775,7 @@ chalk@^4.0.0: check-error@^2.1.1: version "2.1.1" - resolved "https://registry.npmmirror.com/check-error/-/check-error-2.1.1.tgz#87eb876ae71ee388fa0471fe423f494be1d96ccc" + resolved "https://registry.yarnpkg.com/check-error/-/check-error-2.1.1.tgz#87eb876ae71ee388fa0471fe423f494be1d96ccc" integrity sha512-OAlb+T7V4Op9OwdkjmguYRqncdlx5JiofwOAUkmTF+jNdHwzTaTs4sRAGpzLF3oOz5xAyDGrPgeIDFQmDOTiJw== color-convert@^2.0.1: @@ -806,7 +806,7 @@ cross-spawn@^7.0.2: cssstyle@^4.2.1: version "4.6.0" - resolved "https://registry.npmmirror.com/cssstyle/-/cssstyle-4.6.0.tgz#ea18007024e3167f4f105315f3ec2d982bf48ed9" + resolved "https://registry.yarnpkg.com/cssstyle/-/cssstyle-4.6.0.tgz#ea18007024e3167f4f105315f3ec2d982bf48ed9" integrity sha512-2z+rWdzbbSZv6/rhtvzvqeZQHrBaqgogqt85sqFNbabZOuFbCVFb8kPeEtZjiKkbrm395irpNKiYeFeLiQnFPg== dependencies: "@asamuzakjp/css-color" "^3.2.0" @@ -819,7 +819,7 @@ csstype@^3.0.2: data-urls@^5.0.0: version "5.0.0" - resolved "https://registry.npmmirror.com/data-urls/-/data-urls-5.0.0.tgz#2f76906bce1824429ffecb6920f45a0b30f00dde" + resolved "https://registry.yarnpkg.com/data-urls/-/data-urls-5.0.0.tgz#2f76906bce1824429ffecb6920f45a0b30f00dde" integrity sha512-ZYP5VBHshaDAiVZxjbRVcFJpc+4xGgT0bK3vzy1HLN8jTO975HEbuYzZJcHoQEY5K1a0z8YayJkyVETa08eNTg== dependencies: whatwg-mimetype "^4.0.0" @@ -827,7 +827,7 @@ data-urls@^5.0.0: debug@4, debug@^4.4.1: version "4.4.1" - resolved "https://registry.npmmirror.com/debug/-/debug-4.4.1.tgz#e5a8bc6cbc4c6cd3e64308b0693a3d4fa550189b" + resolved "https://registry.yarnpkg.com/debug/-/debug-4.4.1.tgz#e5a8bc6cbc4c6cd3e64308b0693a3d4fa550189b" integrity sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ== dependencies: ms "^2.1.3" @@ -841,12 +841,12 @@ debug@^4.3.1, debug@^4.3.2, debug@^4.3.4: decimal.js@^10.5.0: version "10.6.0" - resolved "https://registry.npmmirror.com/decimal.js/-/decimal.js-10.6.0.tgz#e649a43e3ab953a72192ff5983865e509f37ed9a" + resolved "https://registry.yarnpkg.com/decimal.js/-/decimal.js-10.6.0.tgz#e649a43e3ab953a72192ff5983865e509f37ed9a" integrity sha512-YpgQiITW3JXGntzdUmyUR1V812Hn8T1YVXhCu+wO3OpS4eU9l4YdD3qjyiKdV6mvV29zapkMeD390UVEf2lkUg== deep-eql@^5.0.1: version "5.0.2" - resolved "https://registry.npmmirror.com/deep-eql/-/deep-eql-5.0.2.tgz#4b756d8d770a9257300825d52a2c2cff99c3a341" + resolved "https://registry.yarnpkg.com/deep-eql/-/deep-eql-5.0.2.tgz#4b756d8d770a9257300825d52a2c2cff99c3a341" integrity sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q== deep-is@^0.1.3: @@ -856,17 +856,17 @@ deep-is@^0.1.3: entities@^6.0.0: version "6.0.1" - resolved "https://registry.npmmirror.com/entities/-/entities-6.0.1.tgz#c28c34a43379ca7f61d074130b2f5f7020a30694" + resolved "https://registry.yarnpkg.com/entities/-/entities-6.0.1.tgz#c28c34a43379ca7f61d074130b2f5f7020a30694" integrity sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g== es-module-lexer@^1.7.0: version "1.7.0" - resolved "https://registry.npmmirror.com/es-module-lexer/-/es-module-lexer-1.7.0.tgz#9159601561880a85f2734560a9099b2c31e5372a" + resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-1.7.0.tgz#9159601561880a85f2734560a9099b2c31e5372a" integrity sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA== esbuild@^0.25.0: version "0.25.8" - resolved "https://registry.npmmirror.com/esbuild/-/esbuild-0.25.8.tgz#482d42198b427c9c2f3a81b63d7663aecb1dda07" + resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.25.8.tgz#482d42198b427c9c2f3a81b63d7663aecb1dda07" integrity sha512-vVC0USHGtMi8+R4Kz8rt6JhEWLxsv9Rnu/lGYbPR8u47B+DCBksq9JarW0zOO7bs37hyOK1l2/oqtbciutL5+Q== optionalDependencies: "@esbuild/aix-ppc64" "0.25.8" @@ -999,7 +999,7 @@ estraverse@^5.1.0, estraverse@^5.2.0: estree-walker@^3.0.3: version "3.0.3" - resolved "https://registry.npmmirror.com/estree-walker/-/estree-walker-3.0.3.tgz#67c3e549ec402a487b4fc193d1953a524752340d" + resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-3.0.3.tgz#67c3e549ec402a487b4fc193d1953a524752340d" integrity sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g== dependencies: "@types/estree" "^1.0.0" @@ -1011,7 +1011,7 @@ esutils@^2.0.2: expect-type@^1.2.1: version "1.2.2" - resolved "https://registry.npmmirror.com/expect-type/-/expect-type-1.2.2.tgz#c030a329fb61184126c8447585bc75a7ec6fbff3" + resolved "https://registry.yarnpkg.com/expect-type/-/expect-type-1.2.2.tgz#c030a329fb61184126c8447585bc75a7ec6fbff3" integrity sha512-JhFGDVJ7tmDJItKhYgJCGLOWjuK9vPxiXoUFLwLDc99NlmklilbiQJwoctZtt13+xMw91MCk/REan6MWHqDjyA== fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3: @@ -1054,7 +1054,7 @@ fdir@^6.4.4, fdir@^6.4.6, fdir@^6.5.0: fflate@^0.8.2: version "0.8.2" - resolved "https://registry.npmmirror.com/fflate/-/fflate-0.8.2.tgz#fc8631f5347812ad6028bbe4a2308b2792aa1dea" + resolved "https://registry.yarnpkg.com/fflate/-/fflate-0.8.2.tgz#fc8631f5347812ad6028bbe4a2308b2792aa1dea" integrity sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A== file-entry-cache@^8.0.0: @@ -1138,14 +1138,14 @@ has-flag@^4.0.0: html-encoding-sniffer@^4.0.0: version "4.0.0" - resolved "https://registry.npmmirror.com/html-encoding-sniffer/-/html-encoding-sniffer-4.0.0.tgz#696df529a7cfd82446369dc5193e590a3735b448" + resolved "https://registry.yarnpkg.com/html-encoding-sniffer/-/html-encoding-sniffer-4.0.0.tgz#696df529a7cfd82446369dc5193e590a3735b448" integrity sha512-Y22oTqIU4uuPgEemfz7NDJz6OeKf12Lsu+QC+s3BVpda64lTiMYCyGwg5ki4vFxkMwQdeZDl2adZoqUgdFuTgQ== dependencies: whatwg-encoding "^3.1.1" http-proxy-agent@^7.0.2: version "7.0.2" - resolved "https://registry.npmmirror.com/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz#9a8b1f246866c028509486585f62b8f2c18c270e" + resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz#9a8b1f246866c028509486585f62b8f2c18c270e" integrity sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig== dependencies: agent-base "^7.1.0" @@ -1153,7 +1153,7 @@ http-proxy-agent@^7.0.2: https-proxy-agent@^7.0.6: version "7.0.6" - resolved "https://registry.npmmirror.com/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz#da8dfeac7da130b05c2ba4b59c9b6cd66611a6b9" + resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz#da8dfeac7da130b05c2ba4b59c9b6cd66611a6b9" integrity sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw== dependencies: agent-base "^7.1.2" @@ -1161,7 +1161,7 @@ https-proxy-agent@^7.0.6: iconv-lite@0.6.3: version "0.6.3" - resolved "https://registry.npmmirror.com/iconv-lite/-/iconv-lite-0.6.3.tgz#a52f80bf38da1952eb5c681790719871a1a72501" + resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.6.3.tgz#a52f80bf38da1952eb5c681790719871a1a72501" integrity sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw== dependencies: safer-buffer ">= 2.1.2 < 3.0.0" @@ -1208,7 +1208,7 @@ is-path-inside@^3.0.3: is-potential-custom-element-name@^1.0.1: version "1.0.1" - resolved "https://registry.npmmirror.com/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz#171ed6f19e3ac554394edf78caa05784a45bebb5" + resolved "https://registry.yarnpkg.com/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz#171ed6f19e3ac554394edf78caa05784a45bebb5" integrity sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ== isexe@^2.0.0: @@ -1223,7 +1223,7 @@ isexe@^2.0.0: js-tokens@^9.0.1: version "9.0.1" - resolved "https://registry.npmmirror.com/js-tokens/-/js-tokens-9.0.1.tgz#2ec43964658435296f6761b34e10671c2d9527f4" + resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-9.0.1.tgz#2ec43964658435296f6761b34e10671c2d9527f4" integrity sha512-mxa9E9ITFOt0ban3j6L5MpjwegGz6lBQmM1IJkWeBZGcMxto50+eWdjC/52xDbS2vy0k7vIMK0Fe2wfL9OQSpQ== js-yaml@^4.1.0: @@ -1235,7 +1235,7 @@ js-yaml@^4.1.0: jsdom@^26.1.0: version "26.1.0" - resolved "https://registry.npmmirror.com/jsdom/-/jsdom-26.1.0.tgz#ab5f1c1cafc04bd878725490974ea5e8bf0c72b3" + resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-26.1.0.tgz#ab5f1c1cafc04bd878725490974ea5e8bf0c72b3" integrity sha512-Cvc9WUhxSMEo4McES3P7oK3QaXldCfNWp7pl2NNeiIFlCoLr3kfq9kb1fxftiwk1FLV7CvpvDfonxtzUDeSOPg== dependencies: cssstyle "^4.2.1" @@ -1310,17 +1310,17 @@ loose-envify@^1.1.0: loupe@^3.1.0, loupe@^3.1.4: version "3.2.0" - resolved "https://registry.npmmirror.com/loupe/-/loupe-3.2.0.tgz#174073ba8e0a1d0d5e43cc08626ed8a19403c344" + resolved "https://registry.yarnpkg.com/loupe/-/loupe-3.2.0.tgz#174073ba8e0a1d0d5e43cc08626ed8a19403c344" integrity sha512-2NCfZcT5VGVNX9mSZIxLRkEAegDGBpuQZBy13desuHeVORmBDyAET4TkJr4SjqQy3A8JDofMN6LpkK8Xcm/dlw== lru-cache@^10.4.3: version "10.4.3" - resolved "https://registry.npmmirror.com/lru-cache/-/lru-cache-10.4.3.tgz#410fc8a17b70e598013df257c2446b7f3383f119" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.4.3.tgz#410fc8a17b70e598013df257c2446b7f3383f119" integrity sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ== magic-string@^0.30.17: version "0.30.17" - resolved "https://registry.npmmirror.com/magic-string/-/magic-string-0.30.17.tgz#450a449673d2460e5bbcfba9a61916a1714c7453" + resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.30.17.tgz#450a449673d2460e5bbcfba9a61916a1714c7453" integrity sha512-sNPKHvyjVf7gyjwS4xGTaW/mCnF8wnjtifKBEhxfZ7E/S8tQ0rssrwGNn6q8JH/ohItJfSQp9mBtQYuTlH5QnA== dependencies: "@jridgewell/sourcemap-codec" "^1.5.0" @@ -1354,7 +1354,7 @@ minimatch@^9.0.4: mrmime@^2.0.0: version "2.0.1" - resolved "https://registry.npmmirror.com/mrmime/-/mrmime-2.0.1.tgz#bc3e87f7987853a54c9850eeb1f1078cd44adddc" + resolved "https://registry.yarnpkg.com/mrmime/-/mrmime-2.0.1.tgz#bc3e87f7987853a54c9850eeb1f1078cd44adddc" integrity sha512-Y3wQdFg2Va6etvQ5I82yUhGdsKrcYox6p7FfL1LbK2J4V01F9TGlepTIhnK24t7koZibmg82KGglhA1XK5IsLQ== ms@^2.1.3: @@ -1364,7 +1364,7 @@ ms@^2.1.3: nanoid@^3.3.11: version "3.3.11" - resolved "https://registry.npmmirror.com/nanoid/-/nanoid-3.3.11.tgz#4f4f112cefbe303202f2199838128936266d185b" + resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.11.tgz#4f4f112cefbe303202f2199838128936266d185b" integrity sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w== natural-compare@^1.4.0: @@ -1374,7 +1374,7 @@ natural-compare@^1.4.0: nwsapi@^2.2.16: version "2.2.21" - resolved "https://registry.npmmirror.com/nwsapi/-/nwsapi-2.2.21.tgz#8df7797079350adda208910d8c33fc4c2d7520c3" + resolved "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.2.21.tgz#8df7797079350adda208910d8c33fc4c2d7520c3" integrity sha512-o6nIY3qwiSXl7/LuOU0Dmuctd34Yay0yeuZRLFmDPrrdHpXKFndPj3hM+YEPVHYC5fx2otBx4Ilc/gyYSAUaIA== optionator@^0.9.3: @@ -1412,7 +1412,7 @@ parent-module@^1.0.0: parse5@^7.2.1: version "7.3.0" - resolved "https://registry.npmmirror.com/parse5/-/parse5-7.3.0.tgz#d7e224fa72399c7a175099f45fc2ad024b05ec05" + resolved "https://registry.yarnpkg.com/parse5/-/parse5-7.3.0.tgz#d7e224fa72399c7a175099f45fc2ad024b05ec05" integrity sha512-IInvU7fabl34qmi9gY8XOVxhYyMyuH2xUNpb2q8/Y+7552KlejkRvqvD19nMoUW/uQGGbqNpA6Tufu5FL5BZgw== dependencies: entities "^6.0.0" @@ -1429,17 +1429,17 @@ path-key@^3.1.0: pathe@^2.0.3: version "2.0.3" - resolved "https://registry.npmmirror.com/pathe/-/pathe-2.0.3.tgz#3ecbec55421685b70a9da872b2cff3e1cbed1716" + resolved "https://registry.yarnpkg.com/pathe/-/pathe-2.0.3.tgz#3ecbec55421685b70a9da872b2cff3e1cbed1716" integrity sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w== pathval@^2.0.0: version "2.0.1" - resolved "https://registry.npmmirror.com/pathval/-/pathval-2.0.1.tgz#8855c5a2899af072d6ac05d11e46045ad0dc605d" + resolved "https://registry.yarnpkg.com/pathval/-/pathval-2.0.1.tgz#8855c5a2899af072d6ac05d11e46045ad0dc605d" integrity sha512-//nshmD55c46FuFw26xV/xFAaB5HF9Xdap7HJBBnrKdAd6/GxDBaNA1870O79+9ueg61cZLSVc+OaFlfmObYVQ== picocolors@^1.1.1: version "1.1.1" - resolved "https://registry.npmmirror.com/picocolors/-/picocolors-1.1.1.tgz#3d321af3eab939b083c8f929a1d12cda81c26b6b" + resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.1.1.tgz#3d321af3eab939b083c8f929a1d12cda81c26b6b" integrity sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA== picomatch@^2.3.1: @@ -1449,7 +1449,7 @@ picomatch@^2.3.1: picomatch@^4.0.2, picomatch@^4.0.3: version "4.0.3" - resolved "https://registry.npmmirror.com/picomatch/-/picomatch-4.0.3.tgz#796c76136d1eead715db1e7bad785dedd695a042" + resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-4.0.3.tgz#796c76136d1eead715db1e7bad785dedd695a042" integrity sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q== postcss@^8.5.3, postcss@^8.5.6: @@ -1542,7 +1542,7 @@ rollup@^4.34.9, rollup@^4.40.0: rrweb-cssom@^0.8.0: version "0.8.0" - resolved "https://registry.npmmirror.com/rrweb-cssom/-/rrweb-cssom-0.8.0.tgz#3021d1b4352fbf3b614aaeed0bc0d5739abe0bc2" + resolved "https://registry.yarnpkg.com/rrweb-cssom/-/rrweb-cssom-0.8.0.tgz#3021d1b4352fbf3b614aaeed0bc0d5739abe0bc2" integrity sha512-guoltQEx+9aMf2gDZ0s62EcV8lsXR+0w8915TC3ITdn2YueuNjdAYh/levpU9nFaoChh9RUS5ZdQMrKfVEN9tw== run-parallel@^1.1.9: @@ -1554,12 +1554,12 @@ run-parallel@^1.1.9: "safer-buffer@>= 2.1.2 < 3.0.0": version "2.1.2" - resolved "https://registry.npmmirror.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" + resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== saxes@^6.0.0: version "6.0.0" - resolved "https://registry.npmmirror.com/saxes/-/saxes-6.0.0.tgz#fe5b4a4768df4f14a201b1ba6a65c1f3d9988cc5" + resolved "https://registry.yarnpkg.com/saxes/-/saxes-6.0.0.tgz#fe5b4a4768df4f14a201b1ba6a65c1f3d9988cc5" integrity sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA== dependencies: xmlchars "^2.2.0" @@ -1590,12 +1590,12 @@ shebang-regex@^3.0.0: siginfo@^2.0.0: version "2.0.0" - resolved "https://registry.npmmirror.com/siginfo/-/siginfo-2.0.0.tgz#32e76c70b79724e3bb567cb9d543eb858ccfaf30" + resolved "https://registry.yarnpkg.com/siginfo/-/siginfo-2.0.0.tgz#32e76c70b79724e3bb567cb9d543eb858ccfaf30" integrity sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g== sirv@^3.0.1: version "3.0.1" - resolved "https://registry.npmmirror.com/sirv/-/sirv-3.0.1.tgz#32a844794655b727f9e2867b777e0060fbe07bf3" + resolved "https://registry.yarnpkg.com/sirv/-/sirv-3.0.1.tgz#32a844794655b727f9e2867b777e0060fbe07bf3" integrity sha512-FoqMu0NCGBLCcAkS1qA+XJIQTR6/JHfQXl+uGteNCQ76T91DMUjPa9xfmeqMY3z80nLSg9yQmNjK0Px6RWsH/A== dependencies: "@polka/url" "^1.0.0-next.24" @@ -1609,12 +1609,12 @@ source-map-js@^1.2.1: stackback@0.0.2: version "0.0.2" - resolved "https://registry.npmmirror.com/stackback/-/stackback-0.0.2.tgz#1ac8a0d9483848d1695e418b6d031a3c3ce68e3b" + resolved "https://registry.yarnpkg.com/stackback/-/stackback-0.0.2.tgz#1ac8a0d9483848d1695e418b6d031a3c3ce68e3b" integrity sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw== std-env@^3.9.0: version "3.9.0" - resolved "https://registry.npmmirror.com/std-env/-/std-env-3.9.0.tgz#1a6f7243b339dca4c9fd55e1c7504c77ef23e8f1" + resolved "https://registry.yarnpkg.com/std-env/-/std-env-3.9.0.tgz#1a6f7243b339dca4c9fd55e1c7504c77ef23e8f1" integrity sha512-UGvjygr6F6tpH7o2qyqR6QYpwraIjKSdtzyBdyytFOHmPZY917kwdwLG0RbOjWOnKmnm3PeHjaoLLMie7kPLQw== strip-ansi@^6.0.1: @@ -1631,7 +1631,7 @@ strip-json-comments@^3.1.1: strip-literal@^3.0.0: version "3.0.0" - resolved "https://registry.npmmirror.com/strip-literal/-/strip-literal-3.0.0.tgz#ce9c452a91a0af2876ed1ae4e583539a353df3fc" + resolved "https://registry.yarnpkg.com/strip-literal/-/strip-literal-3.0.0.tgz#ce9c452a91a0af2876ed1ae4e583539a353df3fc" integrity sha512-TcccoMhJOM3OebGhSBEmp3UZ2SfDMZUEBdRA/9ynfLi8yYajyWX3JiXArcJt4Umh4vISpspkQIY8ZZoCqjbviA== dependencies: js-tokens "^9.0.1" @@ -1645,7 +1645,7 @@ supports-color@^7.1.0: symbol-tree@^3.2.4: version "3.2.4" - resolved "https://registry.npmmirror.com/symbol-tree/-/symbol-tree-3.2.4.tgz#430637d248ba77e078883951fb9aa0eed7c63fa2" + resolved "https://registry.yarnpkg.com/symbol-tree/-/symbol-tree-3.2.4.tgz#430637d248ba77e078883951fb9aa0eed7c63fa2" integrity sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw== text-table@^0.2.0: @@ -1655,12 +1655,12 @@ text-table@^0.2.0: tinybench@^2.9.0: version "2.9.0" - resolved "https://registry.npmmirror.com/tinybench/-/tinybench-2.9.0.tgz#103c9f8ba6d7237a47ab6dd1dcff77251863426b" + resolved "https://registry.yarnpkg.com/tinybench/-/tinybench-2.9.0.tgz#103c9f8ba6d7237a47ab6dd1dcff77251863426b" integrity sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg== tinyexec@^0.3.2: version "0.3.2" - resolved "https://registry.npmmirror.com/tinyexec/-/tinyexec-0.3.2.tgz#941794e657a85e496577995c6eef66f53f42b3d2" + resolved "https://registry.yarnpkg.com/tinyexec/-/tinyexec-0.3.2.tgz#941794e657a85e496577995c6eef66f53f42b3d2" integrity sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA== tinyglobby@^0.2.13, tinyglobby@^0.2.14: @@ -1673,27 +1673,27 @@ tinyglobby@^0.2.13, tinyglobby@^0.2.14: tinypool@^1.1.1: version "1.1.1" - resolved "https://registry.npmmirror.com/tinypool/-/tinypool-1.1.1.tgz#059f2d042bd37567fbc017d3d426bdd2a2612591" + resolved "https://registry.yarnpkg.com/tinypool/-/tinypool-1.1.1.tgz#059f2d042bd37567fbc017d3d426bdd2a2612591" integrity sha512-Zba82s87IFq9A9XmjiX5uZA/ARWDrB03OHlq+Vw1fSdt0I+4/Kutwy8BP4Y/y/aORMo61FQ0vIb5j44vSo5Pkg== tinyrainbow@^2.0.0: version "2.0.0" - resolved "https://registry.npmmirror.com/tinyrainbow/-/tinyrainbow-2.0.0.tgz#9509b2162436315e80e3eee0fcce4474d2444294" + resolved "https://registry.yarnpkg.com/tinyrainbow/-/tinyrainbow-2.0.0.tgz#9509b2162436315e80e3eee0fcce4474d2444294" integrity sha512-op4nsTR47R6p0vMUUoYl/a+ljLFVtlfaXkLQmqfLR1qHma1h/ysYk4hEXZ880bf2CYgTskvTa/e196Vd5dDQXw== tinyspy@^4.0.3: version "4.0.3" - resolved "https://registry.npmmirror.com/tinyspy/-/tinyspy-4.0.3.tgz#d1d0f0602f4c15f1aae083a34d6d0df3363b1b52" + resolved "https://registry.yarnpkg.com/tinyspy/-/tinyspy-4.0.3.tgz#d1d0f0602f4c15f1aae083a34d6d0df3363b1b52" integrity sha512-t2T/WLB2WRgZ9EpE4jgPJ9w+i66UZfDc8wHh0xrwiRNN+UwH98GIJkTeZqX9rg0i0ptwzqW+uYeIF0T4F8LR7A== tldts-core@^6.1.86: version "6.1.86" - resolved "https://registry.npmmirror.com/tldts-core/-/tldts-core-6.1.86.tgz#a93e6ed9d505cb54c542ce43feb14c73913265d8" + resolved "https://registry.yarnpkg.com/tldts-core/-/tldts-core-6.1.86.tgz#a93e6ed9d505cb54c542ce43feb14c73913265d8" integrity sha512-Je6p7pkk+KMzMv2XXKmAE3McmolOQFdxkKw0R8EYNr7sELW46JqnNeTX8ybPiQgvg1ymCoF8LXs5fzFaZvJPTA== tldts@^6.1.32: version "6.1.86" - resolved "https://registry.npmmirror.com/tldts/-/tldts-6.1.86.tgz#087e0555b31b9725ee48ca7e77edc56115cd82f7" + resolved "https://registry.yarnpkg.com/tldts/-/tldts-6.1.86.tgz#087e0555b31b9725ee48ca7e77edc56115cd82f7" integrity sha512-WMi/OQ2axVTf/ykqCQgXiIct+mSQDFdH2fkwhPwgEwvJ1kSzZRiinb0zF2Xb8u4+OqPChmyI6MEu4EezNJz+FQ== dependencies: tldts-core "^6.1.86" @@ -1707,19 +1707,19 @@ to-regex-range@^5.0.1: totalist@^3.0.0: version "3.0.1" - resolved "https://registry.npmmirror.com/totalist/-/totalist-3.0.1.tgz#ba3a3d600c915b1a97872348f79c127475f6acf8" + resolved "https://registry.yarnpkg.com/totalist/-/totalist-3.0.1.tgz#ba3a3d600c915b1a97872348f79c127475f6acf8" integrity sha512-sf4i37nQ2LBx4m3wB74y+ubopq6W/dIzXg0FDGjsYnZHVa1Da8FH853wlL2gtUhg+xJXjfk3kUZS3BRoQeoQBQ== tough-cookie@^5.1.1: version "5.1.2" - resolved "https://registry.npmmirror.com/tough-cookie/-/tough-cookie-5.1.2.tgz#66d774b4a1d9e12dc75089725af3ac75ec31bed7" + resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-5.1.2.tgz#66d774b4a1d9e12dc75089725af3ac75ec31bed7" integrity sha512-FVDYdxtnj0G6Qm/DhNPSb8Ju59ULcup3tuJxkFb5K8Bv2pUXILbf0xZWU8PX8Ov19OXljbUyveOFwRMwkXzO+A== dependencies: tldts "^6.1.32" tr46@^5.1.0: version "5.1.1" - resolved "https://registry.npmmirror.com/tr46/-/tr46-5.1.1.tgz#96ae867cddb8fdb64a49cc3059a8d428bcf238ca" + resolved "https://registry.yarnpkg.com/tr46/-/tr46-5.1.1.tgz#96ae867cddb8fdb64a49cc3059a8d428bcf238ca" integrity sha512-hdF5ZgjTqgAntKkklYw0R03MG2x/bSzTtkxmIRw/sTNV8YXsCJ1tfLAX23lhxhHJlEf3CRCOCGGWw3vI3GaSPw== dependencies: punycode "^2.3.1" @@ -1759,7 +1759,7 @@ uri-js@^4.2.2: vite-node@3.2.4: version "3.2.4" - resolved "https://registry.npmmirror.com/vite-node/-/vite-node-3.2.4.tgz#f3676d94c4af1e76898c162c92728bca65f7bb07" + resolved "https://registry.yarnpkg.com/vite-node/-/vite-node-3.2.4.tgz#f3676d94c4af1e76898c162c92728bca65f7bb07" integrity sha512-EbKSKh+bh1E1IFxeO0pg1n4dvoOTt0UDiXMd/qn++r98+jPO1xtJilvXldeuQ8giIB5IkpjCgMleHMNEsGH6pg== dependencies: cac "^6.7.14" @@ -1770,7 +1770,7 @@ vite-node@3.2.4: "vite@^5.0.0 || ^6.0.0 || ^7.0.0-0": version "7.0.6" - resolved "https://registry.npmmirror.com/vite/-/vite-7.0.6.tgz#7866ccb176db4bbeec0adfb3f907f077881591d0" + resolved "https://registry.yarnpkg.com/vite/-/vite-7.0.6.tgz#7866ccb176db4bbeec0adfb3f907f077881591d0" integrity sha512-MHFiOENNBd+Bd9uvc8GEsIzdkn1JxMmEeYX35tI3fv0sJBUTfW5tQsoaOwuY4KhBI09A3dUJ/DXf2yxPVPUceg== dependencies: esbuild "^0.25.0" @@ -1798,7 +1798,7 @@ vite@^6.4.2: vitest@^3.2.4: version "3.2.4" - resolved "https://registry.npmmirror.com/vitest/-/vitest-3.2.4.tgz#0637b903ad79d1539a25bc34c0ed54b5c67702ea" + resolved "https://registry.yarnpkg.com/vitest/-/vitest-3.2.4.tgz#0637b903ad79d1539a25bc34c0ed54b5c67702ea" integrity sha512-LUCP5ev3GURDysTWiP47wRRUpLKMOfPh+yKTx3kVIEiu5KOMeqzpnYNsKyOoVrULivR8tLcks4+lga33Whn90A== dependencies: "@types/chai" "^5.2.2" @@ -1827,31 +1827,31 @@ vitest@^3.2.4: w3c-xmlserializer@^5.0.0: version "5.0.0" - resolved "https://registry.npmmirror.com/w3c-xmlserializer/-/w3c-xmlserializer-5.0.0.tgz#f925ba26855158594d907313cedd1476c5967f6c" + resolved "https://registry.yarnpkg.com/w3c-xmlserializer/-/w3c-xmlserializer-5.0.0.tgz#f925ba26855158594d907313cedd1476c5967f6c" integrity sha512-o8qghlI8NZHU1lLPrpi2+Uq7abh4GGPpYANlalzWxyWteJOCsr/P+oPBA49TOLu5FTZO4d3F9MnWJfiMo4BkmA== dependencies: xml-name-validator "^5.0.0" webidl-conversions@^7.0.0: version "7.0.0" - resolved "https://registry.npmmirror.com/webidl-conversions/-/webidl-conversions-7.0.0.tgz#256b4e1882be7debbf01d05f0aa2039778ea080a" + resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-7.0.0.tgz#256b4e1882be7debbf01d05f0aa2039778ea080a" integrity sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g== whatwg-encoding@^3.1.1: version "3.1.1" - resolved "https://registry.npmmirror.com/whatwg-encoding/-/whatwg-encoding-3.1.1.tgz#d0f4ef769905d426e1688f3e34381a99b60b76e5" + resolved "https://registry.yarnpkg.com/whatwg-encoding/-/whatwg-encoding-3.1.1.tgz#d0f4ef769905d426e1688f3e34381a99b60b76e5" integrity sha512-6qN4hJdMwfYBtE3YBTTHhoeuUrDBPZmbQaxWAqSALV/MeEnR5z1xd8UKud2RAkFoPkmB+hli1TZSnyi84xz1vQ== dependencies: iconv-lite "0.6.3" whatwg-mimetype@^4.0.0: version "4.0.0" - resolved "https://registry.npmmirror.com/whatwg-mimetype/-/whatwg-mimetype-4.0.0.tgz#bc1bf94a985dc50388d54a9258ac405c3ca2fc0a" + resolved "https://registry.yarnpkg.com/whatwg-mimetype/-/whatwg-mimetype-4.0.0.tgz#bc1bf94a985dc50388d54a9258ac405c3ca2fc0a" integrity sha512-QaKxh0eNIi2mE9p2vEdzfagOKHCcj1pJ56EEHGQOVxp8r9/iszLUUV7v89x9O1p/T+NlTM5W7jW6+cz4Fq1YVg== whatwg-url@^14.0.0, whatwg-url@^14.1.1: version "14.2.0" - resolved "https://registry.npmmirror.com/whatwg-url/-/whatwg-url-14.2.0.tgz#4ee02d5d725155dae004f6ae95c73e7ef5d95663" + resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-14.2.0.tgz#4ee02d5d725155dae004f6ae95c73e7ef5d95663" integrity sha512-De72GdQZzNTUBBChsXueQUnPKDkg/5A5zp7pFDuQAj5UFoENpiACU0wlCvzpAGnTkj++ihpKwKyYewn/XNUbKw== dependencies: tr46 "^5.1.0" @@ -1866,7 +1866,7 @@ which@^2.0.1: why-is-node-running@^2.3.0: version "2.3.0" - resolved "https://registry.npmmirror.com/why-is-node-running/-/why-is-node-running-2.3.0.tgz#a3f69a97107f494b3cdc3bdddd883a7d65cebf04" + resolved "https://registry.yarnpkg.com/why-is-node-running/-/why-is-node-running-2.3.0.tgz#a3f69a97107f494b3cdc3bdddd883a7d65cebf04" integrity sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w== dependencies: siginfo "^2.0.0" @@ -1879,17 +1879,17 @@ word-wrap@^1.2.5: ws@^8.18.0: version "8.18.3" - resolved "https://registry.npmmirror.com/ws/-/ws-8.18.3.tgz#b56b88abffde62791c639170400c93dcb0c95472" + resolved "https://registry.yarnpkg.com/ws/-/ws-8.18.3.tgz#b56b88abffde62791c639170400c93dcb0c95472" integrity sha512-PEIGCY5tSlUt50cqyMXfCzX+oOPqN0vuGqWzbcJ2xvnkzkq46oOpz7dQaTDBdfICb4N14+GARUDw2XV2N4tvzg== xml-name-validator@^5.0.0: version "5.0.0" - resolved "https://registry.npmmirror.com/xml-name-validator/-/xml-name-validator-5.0.0.tgz#82be9b957f7afdacf961e5980f1bf227c0bf7673" + resolved "https://registry.yarnpkg.com/xml-name-validator/-/xml-name-validator-5.0.0.tgz#82be9b957f7afdacf961e5980f1bf227c0bf7673" integrity sha512-EvGK8EJ3DhaHfbRlETOWAS5pO9MZITeauHKJyb8wyajUfQUenkIg2MvLDTZ4T/TgIcm3HU0TFBgWWboAZ30UHg== xmlchars@^2.2.0: version "2.2.0" - resolved "https://registry.npmmirror.com/xmlchars/-/xmlchars-2.2.0.tgz#060fe1bcb7f9c76fe2a17db86a9bc3ab894210cb" + resolved "https://registry.yarnpkg.com/xmlchars/-/xmlchars-2.2.0.tgz#060fe1bcb7f9c76fe2a17db86a9bc3ab894210cb" integrity sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw== yocto-queue@^0.1.0: diff --git a/vue/DESIGN-DECISIONS.md b/vue/DESIGN-DECISIONS.md new file mode 100644 index 000000000..4006d4f99 --- /dev/null +++ b/vue/DESIGN-DECISIONS.md @@ -0,0 +1,95 @@ +# Design Decisions — GridStack Vue Wrapper + +## Why `defineComponent` + `.ts` files instead of `.vue` SFCs? + +The library components (`GridStack`, `GridStackItem`) live in `.ts` files using `defineComponent` +with a render function. This mirrors the React wrapper pattern and keeps the library distributable +via `vue-tsc` without requiring a Vue SFC compiler in the library build pipeline. +User-facing widget components (e.g. in demos) are encouraged to use `.vue` SFCs. + +--- + +## Widget identity: `component` + `props` + +Widget JSON uses `component: "MyWidget"` and `props: { ... }` — the same API as the React wrapper. +This is intentional: a layout serialized from a React app can be loaded in a Vue app (and vice +versa) without changing the JSON schema. This differs from the Angular wrapper's `selector`/`input` +convention, which uses Angular DI metadata. + +--- + +## No `ref()` for the GridStack instance + +Vue 3 `ref()` wraps values in a `Proxy`. GridStack internally compares object references and walks +prototype chains in ways that break under proxy wrapping. This is a known issue documented in the +existing Vue demos (`vue3js.html`). The GridStack instance is stored as a plain `let` variable; +a separate `gridReady: Ref` flag is used to make the render function react to grid +initialization without proxying the GS object. + +--- + +## `Teleport` instead of React portals + +Vue's built-in `` component is used to render widget content into the +`.grid-stack-item-content` DOM node that GridStack creates. This is the idiomatic Vue equivalent +of `createPortal` in React. It means widget components are always in the Vue component tree (with +full `inject`/`provide` ancestry), and their DOM output appears inside the GS-managed element. + +Cross-grid drag-and-drop works without destroying widget subtrees because `` stays +mounted (teleporting to whichever `.grid-stack-item-content` element currently owns the widget). + +--- + +## `_gridComp` DOM back-reference + +The same pattern used by the React and Angular wrappers: a `GridStackHostApi` object is stamped +onto the `.grid-stack` root element as `el._gridComp`. This lets the static `GridStack.addRemoveCB` +/ `saveCB` / `updateCB` callbacks reach the correct per-grid Vue state without closures or a global +registry. The stamp happens **before** `GridStack.init()` so that callbacks fired during `init()` +(for `options.children`) already see the host API. + +--- + +## `provide`/`inject` for context + +Two injection keys are used: +- `GS_CONTEXT_KEY` — provides `{ grid, layoutVersion, registerWidgetSerializer }` to all descendants +- `GS_ITEM_CONTEXT_KEY` — provided by `` to its slot content: `{ id, registerSerializer }` + +`useGridStack()` and `useGridStackItem()` composables consume these keys, matching the ergonomics +of React's `useGridStack` / `useGridStackItem` hooks. + +--- + +## `useWidgetSerializer` + +Widget components that want to persist extra state into `grid.save()` call +`useWidgetSerializer({ serialize: () => ({ ... }) })` in their `setup()`. The serializer is +registered via `GS_ITEM_CONTEXT_KEY` → `GridStackItem`'s local serializer map → the parent +`GridStack`'s `registerWidgetSerializer` call in `gsSaveAdditionalVueInfo`. This mirrors the React +`useWidgetSerializer` hook exactly. + +--- + +## `onVnodeMounted` for the grid root element ref + +The `.grid-stack` div uses `onVnodeMounted` (a Vue internal vnode hook) instead of a template +`ref` callback to capture the DOM element reference. This avoids a TypeScript overload conflict +with Vue's `VNodeRef` union type while still firing synchronously before `onMounted`. + +--- + +## `syntheticIds` — GS-driven widget registration + +When GS adds a widget (e.g. from `options.children`, `grid.addWidget()`, or DnD between grids) +via `addRemoveCB`, `gsCreateVueComponents` registers the widget ID as a "synthetic ID". The +`` render function renders a `` teleport anchor for each synthetic ID, +which in turn teleports the appropriate `component` from the `components` prop into the +GS-created DOM element. + +--- + +## `BaseWidget` abstract class + +Provided for parity with the Angular wrapper and for Options API users. Composition API widget +components should use `useWidgetSerializer` instead. diff --git a/vue/README.md b/vue/README.md new file mode 100644 index 000000000..64d94019d --- /dev/null +++ b/vue/README.md @@ -0,0 +1,150 @@ +# gridstack-vue + +Official Vue 3 wrapper for [GridStack.js](https://gridstackjs.com/). + +Mirrors the `gridstack-react` wrapper API while feeling native to Vue: +Composition API, `provide`/`inject`, composables, and `` for zero-destroy widget reparenting. + +--- + +## Quick Start + +```ts +// main.ts +import { createApp } from 'vue' +import App from './App.vue' +createApp(App).mount('#app') +``` + +```vue + + + + +``` + +--- + +## API + +### `` + +| Prop | Type | Description | +|---|---|---| +| `options` | `GridStackOptions` | GridStack init options, including `children` for the initial layout | +| `components` | `ComponentMap` | Map `component` string keys → Vue components | + +**Emits:** `added`, `change`, `removed`, `drag`, `dragstart`, `dragstop`, `dropped`, `resize`, `resizestart`, `resizestop` + +**Exposed:** `getGrid()` → `GridStack | null` (for imperative access via template ref) + +**Default slot:** rendered _outside_ the `.grid-stack` div — use for toolbars, debug panels, etc. + +```vue + + + +``` + +--- + +### `useGridStack()` + +Composable for children of ``: + +```ts +const { grid, addWidget, removeWidget, removeAll, save, load, layoutVersion } = useGridStack() +``` + +--- + +### `useGridStackItem()` + +Composable for components rendered _inside_ a widget slot: + +```ts +const { id, node } = useGridStackItem() +// node is the live GridStackNode (position, size, etc.) +``` + +--- + +### `useWidgetSerializer()` + +Persist extra widget state into `grid.save()`: + +```ts +const count = ref(0) +useWidgetSerializer({ + serialize: () => ({ count: count.value }), + // deserialize: (data) => { count.value = data.count } // optional +}) +``` + +--- + +### Widget JSON schema + +Widgets are described by `GridStackWidget` objects (extends the core type): + +```ts +interface GridStackWidget { + id?: string + x?: number; y?: number; w?: number; h?: number + component?: string // key in the `components` map + props?: Record // passed as props to the component + subGridOpts?: GridStackOptions // for nested sub-grids + // ... all standard GridStack widget options +} +``` + +--- + +## Widget reparenting (cross-grid DnD) + +Widget components are mounted once and survive being dragged between grids. +`` uses Vue's `` to move slot content into whichever +`.grid-stack-item-content` element currently owns the widget — no destroy/remount. + +--- + +## Development + +```sh +cd vue +npm install +npm run dev # Vite dev server (demo app) +npm run build # production build of the demo +npm run build:lib # compile the library to dist/vue/ +npm run test # vitest +``` + +--- + +## How it compares to the Angular wrapper + +| | Angular | Vue | +|---|---|---| +| Component key | `selector` | `component` | +| Component data | `input` | `props` | +| Serialization | `BaseWidget.serialize()` | `useWidgetSerializer()` (or `BaseWidget`) | +| Context | `@Input()` / DI | `provide`/`inject` + composables | +| DOM injection | `ViewContainerRef` | `` | diff --git a/vue/index.html b/vue/index.html new file mode 100644 index 000000000..dde16aaf3 --- /dev/null +++ b/vue/index.html @@ -0,0 +1,13 @@ + + + + + + + Vite + Vue + TS + + +
      + + + diff --git a/vue/package.json b/vue/package.json new file mode 100644 index 000000000..f44b74ff8 --- /dev/null +++ b/vue/package.json @@ -0,0 +1,32 @@ +{ + "name": "vue", + "private": true, + "version": "0.0.0", + "type": "module", + "scripts": { + "dev": "vite", + "start": "vite", + "build": "vue-tsc -b && vite build", + "build:lib": "cd projects/lib && ../../../node_modules/.bin/vue-tsc -p tsconfig.build.json", + "lint": "eslint .", + "preview": "vite preview", + "test": "vitest --config vitest.config.ts", + "test:ui": "vitest --config vitest.config.ts --ui" + }, + "dependencies": { + "gridstack": "^12.6.0", + "vue": "^3.5.13" + }, + "devDependencies": { + "@vitejs/plugin-vue": "^5.2.3", + "@vitest/ui": "^3.2.4", + "@vue/test-utils": "^2.4.6", + "eslint": "^9.9.0", + "globals": "^15.9.0", + "jsdom": "^26.1.0", + "typescript": "^5.5.3", + "vite": "^6.4.2", + "vitest": "^3.2.4", + "vue-tsc": "^2.2.10" + } +} diff --git a/vue/projects/lib/gridstack-vue.test.ts b/vue/projects/lib/gridstack-vue.test.ts new file mode 100644 index 000000000..2df66e7ce --- /dev/null +++ b/vue/projects/lib/gridstack-vue.test.ts @@ -0,0 +1,162 @@ +import { describe, it, expect, afterEach } from 'vitest' +import { createApp, defineComponent, h, ref, type App } from 'vue' +import type { GridHTMLElement } from 'gridstack' +import type { GridStackWidget } from './src/types' +import { GridStack } from './src/gridstack' +import { useWidgetSerializer } from './src/composables' + +function flush(): Promise { + return new Promise((r) => setTimeout(r, 50)) +} + +/** Mount a Vue app into a fresh div and return { app, container }. */ +function mountApp(component: ReturnType | ReturnType) { + const container = document.createElement('div') + document.body.appendChild(container) + const app = createApp(typeof component === 'object' && 'setup' in component + ? component + : defineComponent({ render: () => component })) + app.mount(container) + return { app, container } +} + +describe('GridStack Vue wrapper', () => { + let app: App + let container: HTMLDivElement + + afterEach(() => { + app?.unmount() + container?.remove() + }) + + it('renders component mode into .grid-stack-item-content via teleport', async () => { + const T = defineComponent({ + props: { label: { type: String, default: '' } }, + setup(props) { + return () => h('span', { 'data-testid': 'portal' }, props.label) + }, + }) + + const Root = defineComponent({ + setup() { + const options = { + column: 12, cellHeight: 50, margin: 0, + children: [ + { id: 'a', x: 0, y: 0, w: 2, h: 2, component: 'T', props: { label: 'hello' } }, + ], + } + return () => + h(GridStack, { options, components: { T } }) + }, + }) + + ;({ app, container } = mountApp(Root)) + await flush() + + expect(document.querySelector('[data-testid="portal"]')?.textContent).toBe('hello') + }) + + it('save() merges useWidgetSerializer into widget props', async () => { + const Num = defineComponent({ + props: { start: { type: Number, default: 0 } }, + setup(props) { + const n = ref(props.start) + useWidgetSerializer({ serialize: () => ({ extra: n.value }) }) + return () => h('span', { 'data-testid': 'num' }, String(n.value)) + }, + }) + + const Root = defineComponent({ + setup() { + const options = { + column: 12, cellHeight: 50, margin: 0, + children: [ + { id: 'c1', x: 0, y: 0, w: 2, h: 2, component: 'Num', props: { start: 7 } }, + ], + } + return () => + h(GridStack, { options, components: { Num } }) + }, + }) + + ;({ app, container } = mountApp(Root)) + await flush() + + const gridEl = container.querySelector('.grid-stack') as GridHTMLElement + const g = gridEl?.gridstack + expect(g).toBeTruthy() + const saved = g!.save(true, false) as GridStackWidget[] + const w = saved.find((n) => String(n.id) === 'c1') + expect(w?.props?.extra).toBe(7) + }) + + it('supports two sibling grids', async () => { + const Root = defineComponent({ + setup() { + return () => + h('div', [ + h(GridStack, { options: { column: 12, cellHeight: 40, margin: 0, children: [] }, components: {} }), + h(GridStack, { options: { column: 6, cellHeight: 40, margin: 0, children: [] }, components: {} }), + ]) + }, + }) + + ;({ app, container } = mountApp(Root)) + await flush() + + expect(container.querySelectorAll('.grid-stack').length).toBe(2) + }) + + it('keeps slot content outside the .grid-stack root (no overlap with items)', async () => { + const Root = defineComponent({ + setup() { + return () => + h( + GridStack, + { options: { column: 12, cellHeight: 40, margin: 0, children: [] }, components: {} }, + { default: () => h('div', { 'data-testid': 'host-chrome' }, 'toolbar') }, + ) + }, + }) + + ;({ app, container } = mountApp(Root)) + await flush() + + const chrome = container.querySelector('[data-testid="host-chrome"]') + const stack = container.querySelector('.grid-stack') + expect(chrome).toBeTruthy() + expect(stack).toBeTruthy() + expect(stack?.contains(chrome)).toBe(false) + }) + + it('unmount destroys without throwing', async () => { + const T = defineComponent({ + props: { t: { type: String, default: '' } }, + setup(props) { return () => h('span', props.t) }, + }) + + const show = ref(true) + const Root = defineComponent({ + setup() { + return () => + show.value + ? h(GridStack, { + options: { + column: 12, cellHeight: 40, + children: [{ id: 'x', x: 0, y: 0, w: 1, h: 1, component: 'T', props: { t: 'x' } }], + }, + components: { T }, + }) + : h('div') + }, + }) + + ;({ app, container } = mountApp(Root)) + await flush() + + show.value = false + await flush() + + expect(container.querySelector('.grid-stack')).toBeNull() + }) +}) diff --git a/vue/projects/lib/src/base-widget.ts b/vue/projects/lib/src/base-widget.ts new file mode 100644 index 000000000..1f5236dc6 --- /dev/null +++ b/vue/projects/lib/src/base-widget.ts @@ -0,0 +1,35 @@ +import type { GridStackWidget } from './types' + +/** + * Optional abstract base for widget components that participate in `grid.save()` / `grid.load()`. + * + * For Composition API widgets, prefer `useWidgetSerializer()` instead. + * This class is provided for parity with the Angular wrapper and for Options API users. + * + * @example + * ```ts + * export default defineComponent({ + * extends: BaseWidget, + * setup(_, { expose }) { + * const count = ref(0) + * expose({ + * serialize: () => ({ count: count.value }), + * deserialize: (w) => { count.value = w.props?.count as number ?? 0 }, + * }) + * }, + * }) + * ``` + */ +export abstract class BaseWidget { + public widgetItem?: GridStackWidget + + public serialize(): Record | undefined { + return undefined + } + + public deserialize(w: GridStackWidget): void { + this.widgetItem = w + if (!w) return + if (w.props) Object.assign(this, w.props) + } +} diff --git a/vue/projects/lib/src/composables.ts b/vue/projects/lib/src/composables.ts new file mode 100644 index 000000000..4db5cbbca --- /dev/null +++ b/vue/projects/lib/src/composables.ts @@ -0,0 +1,114 @@ +import { computed, inject, onBeforeUnmount, onMounted } from 'vue' +import type { GridStackNode } from 'gridstack' +import { GS_CONTEXT_KEY, GS_ITEM_CONTEXT_KEY } from './gridstack-context' +import type { GridStackWidget } from './types' + +// --------------------------------------------------------------------------- +// useGridStack +// --------------------------------------------------------------------------- + +/** + * Access the parent ``'s grid instance and helpers. + * + * Must be called within a component that is a descendant of ``. + */ +export function useGridStack() { + const ctx = inject(GS_CONTEXT_KEY) + if (!ctx) throw new Error('useGridStack must be used within ') + + return { + /** Raw GridStack instance (not a Vue ref — never proxy it). */ + get grid() { return ctx.grid }, + /** Bumps whenever the layout changes — use as a reactive dependency. */ + get layoutVersion() { return ctx.layoutVersion.value }, + addWidget(w: GridStackWidget) { + return ctx.grid?.addWidget(w as Parameters['addWidget']>[0]) + }, + removeWidget( + el: Parameters['removeWidget']>[0], + removeDOM?: boolean, + triggerEvent?: boolean, + ) { + return ctx.grid?.removeWidget(el, removeDOM, triggerEvent) + }, + removeAll(removeDOM = true) { + return ctx.grid?.removeAll(removeDOM) + }, + save(saveContent = true, saveGridOpt = false) { + return ctx.grid?.save(saveContent, saveGridOpt) + }, + load(items: GridStackWidget[]) { + return ctx.grid?.load(items) + }, + } +} + +// --------------------------------------------------------------------------- +// useGridStackItem +// --------------------------------------------------------------------------- + +export interface UseGridStackItemResult { + id: string + node: GridStackNode | undefined +} + +/** + * Returns the widget `id` and the live `GridStackNode` for the widget that + * contains the calling component. Must be called inside `` slot content. + * + * Recomputes whenever `layoutVersion` changes. + */ +export function useGridStackItem(): UseGridStackItemResult { + const itemCtx = inject(GS_ITEM_CONTEXT_KEY) + if (!itemCtx) throw new Error('useGridStackItem must be used inside content') + + const gsCtx = inject(GS_CONTEXT_KEY) + if (!gsCtx) throw new Error('useGridStackItem must be used within ') + + const node = computed(() => { + // Access layoutVersion to make this reactive. + void gsCtx.layoutVersion.value + return gsCtx.grid?.engine.nodes.find((n) => String(n.id) === String(itemCtx.id)) + }) + + return { + id: itemCtx.id, + get node() { return node.value }, + } +} + +// --------------------------------------------------------------------------- +// useWidgetSerializer +// --------------------------------------------------------------------------- + +export interface UseWidgetSerializerOptions> { + serialize?: () => T | undefined + deserialize?: (data: T) => void +} + +/** + * Optional composable for widget components that need to participate in `grid.save()`. + * + * Call this inside the `setup()` of a widget component rendered inside ``. + * The `serialize` function is called during `grid.save()` and its return value is merged + * into the widget's `props` in the serialized JSON. + * + * @example + * ```ts + * const count = ref(0) + * useWidgetSerializer({ serialize: () => ({ count: count.value }) }) + * ``` + */ +export function useWidgetSerializer>( + opts: UseWidgetSerializerOptions, +): void { + const itemCtx = inject(GS_ITEM_CONTEXT_KEY) + + onMounted(() => { + if (!itemCtx?.registerSerializer) return + const cleanup = itemCtx.registerSerializer( + () => opts.serialize?.() as Record | undefined, + ) + onBeforeUnmount(cleanup) + }) +} diff --git a/vue/projects/lib/src/gridstack-context.ts b/vue/projects/lib/src/gridstack-context.ts new file mode 100644 index 000000000..ede58db86 --- /dev/null +++ b/vue/projects/lib/src/gridstack-context.ts @@ -0,0 +1,31 @@ +import type { InjectionKey, Ref } from 'vue' +import { inject } from 'vue' +import type { GridStack } from 'gridstack' + +export interface GsContext { + /** Raw GridStack instance — NOT a Vue ref (GS proxies break internals). */ + grid: GridStack | null + /** Bumped after GS-driven layout changes so descendants can re-sync. */ + layoutVersion: Ref + registerWidgetSerializer(id: string, fn: () => Record | undefined): () => void +} + +export interface GsItemContext { + id: string + registerSerializer?: (fn: () => Record | undefined) => () => void +} + +export const GS_CONTEXT_KEY: InjectionKey = Symbol('gs-context') +export const GS_ITEM_CONTEXT_KEY: InjectionKey = Symbol('gs-item-context') + +export function useGsContext(): GsContext { + const ctx = inject(GS_CONTEXT_KEY) + if (!ctx) throw new Error('useGridStack must be used within ') + return ctx +} + +export function useGsItemContext(): GsItemContext { + const ctx = inject(GS_ITEM_CONTEXT_KEY) + if (!ctx) throw new Error('useGridStackItem must be used inside content') + return ctx +} diff --git a/vue/projects/lib/src/gridstack-item.ts b/vue/projects/lib/src/gridstack-item.ts new file mode 100644 index 000000000..57cf88eda --- /dev/null +++ b/vue/projects/lib/src/gridstack-item.ts @@ -0,0 +1,143 @@ +import { + defineComponent, + h, + inject, + onBeforeUnmount, + onMounted, + provide, + ref, + Teleport, + watch, + type PropType, +} from 'vue' +import type { GridStack, GridStackNode } from 'gridstack' +import { GS_CONTEXT_KEY, GS_ITEM_CONTEXT_KEY } from './gridstack-context' +import type { GridStackWidget } from './types' + +/** Recursively find a node by id across the grid and all nested sub-grids. */ +function findNodeInGrid(g: GridStack, id: string): GridStackNode | undefined { + const hit = g.engine.nodes.find((n) => String(n.id) === id) + if (hit) return hit + for (const n of g.engine.nodes) { + if (n.subGrid) { + const nested = findNodeInGrid(n.subGrid as GridStack, id) + if (nested) return nested + } + } + return undefined +} + +/** + * Teleport anchor for one grid item. + * Owns Vue subtree; survives cross-grid DnD while this component stays mounted. + * + * The slot content is teleported into the GS-owned `.grid-stack-item-content` element, + * so widget components never need to know about GS DOM internals. + */ +export const GridStackItem = defineComponent({ + name: 'GridStackItem', + + props: { + id: { + type: String, + required: true, + }, + options: { + type: Object as PropType>, + default: () => ({}), + }, + }, + + setup(props, { slots }) { + const ctx = inject(GS_CONTEXT_KEY) + if (!ctx) throw new Error(' must be used inside ') + + /** The `.grid-stack-item-content` element to teleport into — null until GS creates it. */ + const containerEl = ref(null) + + /** True once we are fully mounted and have not yet started unmounting. */ + let alive = false + + function syncContainer() { + const g = ctx!.grid + if (!g) return + const node = findNodeInGrid(g, props.id) + const cont = (node?.el?.querySelector('.grid-stack-item-content') as HTMLElement | null) ?? null + containerEl.value = cont + } + + onMounted(() => { + alive = true + const g = ctx!.grid + if (!g) return + + const node = findNodeInGrid(g, props.id) + if (!node?.el) { + // Item not yet in any grid — add it. + g.addWidget({ ...props.options, id: props.id } as GridStackWidget) + } else if (node.grid === g) { + // Already in the outer grid — update position/opts. + g.update(node.el, { ...props.options, id: props.id } as GridStackWidget) + } + // Items owned by a nested sub-grid are left alone (sub-grid manages them). + + syncContainer() + + // After teleport content renders, refresh drag handles to pick up + // any custom handle selectors the slot content may have introduced. + void Promise.resolve().then(() => { + if (!alive) return + const n = findNodeInGrid(g, props.id) + if (n?.el) g.refreshDragHandles(n.el) + }) + }) + + // Re-sync the container whenever layoutVersion changes (GS rearranged the DOM). + watch(() => ctx!.layoutVersion.value, syncContainer) + + onBeforeUnmount(() => { + alive = false + const g = ctx!.grid + if (!g?.engine) return + const node = findNodeInGrid(g, props.id) + if (!node?.el || !node.grid) return + if (node.grid === g) { + try { + g.removeWidget(node.el, false) + } catch { + // already removed + } + } + }) + + // Expose id + serialize registration to child composables via item context. + const serializers = new Map Record | undefined>() + + function registerSerializer(fn: () => Record | undefined) { + serializers.set(props.id, fn) + return () => { serializers.delete(props.id) } + } + + // Merge serializer output into props during grid.save() — called by registry. + // We stamp this onto the context so the host GridStack can reach it. + const gridComp = ctx!.grid ? (ctx as unknown as { _hostApi?: unknown })._hostApi : null + void gridComp // accessed via _gridComp on the DOM; here we register with parent ctx. + + // Also register with parent grid's serializer registry. + ctx!.registerWidgetSerializer(props.id, () => { + const fn = serializers.get(props.id) + return fn?.() + }) + + provide(GS_ITEM_CONTEXT_KEY, { + id: props.id, + registerSerializer, + }) + + return () => { + const target = containerEl.value + if (!target || !slots.default) return null + return h(Teleport, { to: target }, slots.default()) + } + }, +}) diff --git a/vue/projects/lib/src/gridstack.ts b/vue/projects/lib/src/gridstack.ts new file mode 100644 index 000000000..b02d15f4f --- /dev/null +++ b/vue/projects/lib/src/gridstack.ts @@ -0,0 +1,277 @@ +import { + defineComponent, + h, + onBeforeUnmount, + onMounted, + provide, + ref, + watch, + type Component, + type PropType, +} from 'vue' +import { GridStack } from 'gridstack' +import type { + GridStackDroppedHandler, + GridStackElementHandler, + GridStackNodesHandler, +} from 'gridstack' +import { GS_CONTEXT_KEY } from './gridstack-context' +import { GridStackItem } from './gridstack-item' +import { installGridStackVueCallbacks } from './registry' +import type { + GridHTMLElement, + GridItemHTMLElement, + GridStackHostApi, + GridStackOptions, + GridStackWidget, +} from './types' + +/** Maps `component` JSON keys to Vue components (props merged from saved `props`). */ +export type ComponentMap = Record + +/** Recursively find a node by id across the grid and all nested sub-grids. */ +function findNodeInGrid(g: GridStack, id: string): GridStackWidget | undefined { + const hit = g.engine.nodes.find((n) => String(n.id) === id) as GridStackWidget | undefined + if (hit) return hit + for (const n of g.engine.nodes) { + if (n.subGrid) { + const nested = findNodeInGrid(n.subGrid as GridStack, id) + if (nested) return nested + } + } + return undefined +} + +/** + * `` — root component. + * + * - Pass `options` (with `children`) to seed the initial layout. + * - Pass `components` to map `component` strings in widget JSON to Vue components. + * - Listens to all GS events via emits; also exposes `getGrid()` for imperative access. + * - Slot content is rendered _outside_ the `.grid-stack` div (host chrome: toolbars etc.). + */ +export const GridStackComponent = defineComponent({ + name: 'GridStack', + + props: { + options: { + type: Object as PropType, + required: true, + }, + components: { + type: Object as PropType, + default: () => ({}), + }, + }, + + emits: [ + 'added', + 'change', + 'removed', + 'drag', + 'dragstart', + 'dragstop', + 'dropped', + 'resize', + 'resizestart', + 'resizestop', + ], + + setup(props, { slots, emit, expose }) { + installGridStackVueCallbacks() + + // Raw (non-reactive) reference to the GridStack instance. + // IMPORTANT: never wrap in Vue ref() — Vue proxies break GS internals. + let grid: GridStack | null = null + + /** + * Reactive flag that flips to true once the grid is initialized. + * Used so the render function reacts to grid availability without proxying the GS instance. + */ + const gridReady = ref(false) + + /** Bumped after GS-driven layout changes so descendant composables re-compute. */ + const layoutVersion = ref(0) + + /** IDs of widgets added by `addRemoveCB` that need a teleport anchor. */ + const syntheticIds = ref>(new Set()) + + const serializersRef = new Map Record | undefined>() + + function registerSyntheticItemId(id: string) { + const next = new Set(syntheticIds.value) + next.add(id) + syntheticIds.value = next + } + + function unregisterSyntheticItemId(id: string) { + const next = new Set(syntheticIds.value) + next.delete(id) + syntheticIds.value = next + serializersRef.delete(id) + } + + function requestUpdate() { + layoutVersion.value++ + } + + function registerWidgetSerializer(id: string, fn: () => Record | undefined) { + serializersRef.set(id, fn) + return () => { serializersRef.delete(id) } + } + + function mergeWidgetPropsForSave(id: string, w: GridStackWidget) { + const fn = serializersRef.get(id) + const extra = fn?.() + if (extra) w.props = { ...(w.props ?? {}), ...extra } + } + + const hostApi: GridStackHostApi = { + registerSyntheticItemId, + unregisterSyntheticItemId, + requestUpdate, + registerWidgetSerializer, + mergeWidgetPropsForSave, + } + + /** Reference to the `.grid-stack` root div — set via `onVnodeMounted`. */ + let rootEl: GridHTMLElement | null = null + + onMounted(() => { + if (!rootEl) return + + // Stamp _gridComp BEFORE calling init() so that addRemoveCB fires during + // init() can already reach the host API to register synthetic item IDs. + rootEl._gridComp = hostApi + + // Remove orphaned .grid-stack-item children left by prior hot-reload cycles + // before calling init() so GS doesn't auto-register stale elements. + const itemClass = + (props.options as Record).itemClass as string | undefined ?? + 'grid-stack-item' + Array.from(rootEl.children).forEach((child) => { + if ( + child.classList.contains(itemClass) && + !(child as GridItemHTMLElement).gridstackNode + ) { + child.remove() + } + }) + + grid = GridStack.init(props.options, rootEl) + gridReady.value = true + layoutVersion.value++ + + hookEvents() + }) + + onBeforeUnmount(() => { + unhookEvents() + if (rootEl) delete rootEl._gridComp + grid?.destroy(false) + grid = null + gridReady.value = false + }) + + // Watch for options changes and forward them to the live grid instance. + watch( + () => props.options, + (next) => { + grid?.updateOptions(next) + layoutVersion.value++ + }, + { deep: true }, + ) + + function hookEvents() { + if (!grid) return + + grid.on('added', ((e: Event, nodes: Parameters[1]) => { + layoutVersion.value++ + emit('added', e, nodes) + }) as GridStackNodesHandler) + + grid.on('change', ((e: Event, nodes: Parameters[1]) => { + layoutVersion.value++ + emit('change', e, nodes) + }) as GridStackNodesHandler) + + grid.on('removed', ((e: Event, nodes: Parameters[1]) => { + layoutVersion.value++ + emit('removed', e, nodes) + }) as GridStackNodesHandler) + + grid.on('drag', (e: Event, el: HTMLElement) => { + emit('drag', e, el) + }) + grid.on('dragstart', (e: Event, el: HTMLElement) => { + emit('dragstart', e, el) + }) + grid.on('dragstop', (e: Event, el: HTMLElement) => { + emit('dragstop', e, el) + }) + grid.on('dropped', ((e: Event, prev: GridStackWidget, curr: GridStackWidget) => { + emit('dropped', e, prev, curr) + }) as GridStackDroppedHandler) + grid.on('resize', ((e: Event, el: HTMLElement) => { + emit('resize', e, el) + }) as GridStackElementHandler) + grid.on('resizestart', ((e: Event, el: HTMLElement) => { + emit('resizestart', e, el) + }) as GridStackElementHandler) + grid.on('resizestop', ((e: Event, el: HTMLElement) => { + emit('resizestop', e, el) + }) as GridStackElementHandler) + } + + function unhookEvents() { + if (!grid) return + ;['added', 'change', 'removed', 'drag', 'dragstart', 'dragstop', + 'dropped', 'resize', 'resizestart', 'resizestop'].forEach((ev) => grid!.off(ev)) + } + + expose({ + getGrid: () => grid, + }) + + // Provide context so GridStackItem and composables can reach the grid. + provide(GS_CONTEXT_KEY, { + get grid() { return grid }, + layoutVersion, + registerWidgetSerializer, + }) + + return () => { + // Build teleport anchors for GS-driven (synthetic) widget additions. + const synItems: ReturnType[] = [] + if (gridReady.value && grid && syntheticIds.value.size > 0) { + for (const synId of syntheticIds.value) { + const node = findNodeInGrid(grid, synId) + if (!node?.component) continue + const Comp = props.components[node.component] + if (!Comp) continue + const wProps = (node.props ?? {}) as Record + synItems.push( + h(GridStackItem, { key: `__gs_syn__${synId}`, id: synId, options: node as Partial }, + { default: () => h(Comp, wProps) }, + ), + ) + } + } + + return h('div', { class: 'gs-wrapper' }, [ + // The `.grid-stack` div — onVnodeMounted captures the DOM reference. + h('div', { + class: 'grid-stack', + onVnodeMounted: (vnode) => { + rootEl = vnode.el as GridHTMLElement | null + }, + }, synItems), + // Slot content rendered outside the grid (toolbars, debug panels, etc.). + slots.default?.(), + ]) + } + }, +}) + +export { GridStackComponent as GridStack } diff --git a/vue/projects/lib/src/index.ts b/vue/projects/lib/src/index.ts new file mode 100644 index 000000000..a28513404 --- /dev/null +++ b/vue/projects/lib/src/index.ts @@ -0,0 +1,43 @@ +export { + GridStack, + GridStackComponent, + type ComponentMap, +} from './gridstack' + +export { GridStackItem } from './gridstack-item' + +export type { + GridStackHostApi, + GridStackWidget, + GridStackWidgetProps, + GridStackNode, + GridStackOptions, + GridHTMLElement, + GridItemHTMLElement, +} from './types' + +export { + installGridStackVueCallbacks, + gsCreateVueComponents, + gsSaveAdditionalVueInfo, + gsUpdateVueComponents, +} from './registry' + +export { + useGridStack, + useGridStackItem, + useWidgetSerializer, + type UseWidgetSerializerOptions, + type UseGridStackItemResult, +} from './composables' + +export { BaseWidget } from './base-widget' + +export { + GS_CONTEXT_KEY, + GS_ITEM_CONTEXT_KEY, + useGsContext, + useGsItemContext, + type GsContext, + type GsItemContext, +} from './gridstack-context' diff --git a/vue/projects/lib/src/registry.ts b/vue/projects/lib/src/registry.ts new file mode 100644 index 000000000..f0ceac21d --- /dev/null +++ b/vue/projects/lib/src/registry.ts @@ -0,0 +1,103 @@ +/** + * Static GridStack callbacks for Vue — same pattern as React gsCreateReactComponents. + * Dispatches via DOM `_gridComp` / `_gridItemRef` back-refs (no closure over per-grid state). + */ +import { GridStack, Utils } from 'gridstack' +import type { GridStackNode, GridStackWidget as CoreGridStackWidget } from 'gridstack' +import type { GridHTMLElement, GridItemHTMLElement, GridStackWidget } from './types' + +export function installGridStackVueCallbacks(): void { + if (!GridStack.addRemoveCB) { + GridStack.addRemoveCB = gsCreateVueComponents + } + if (!GridStack.saveCB) { + GridStack.saveCB = gsSaveAdditionalVueInfo + } + if (!GridStack.updateCB) { + GridStack.updateCB = gsUpdateVueComponents + } +} + +/** @internal Walk up from `el` to find the nearest `_gridComp` back-ref. */ +function nearestGridComp(el: HTMLElement | null): GridHTMLElement['_gridComp'] | undefined { + let node: HTMLElement | null = el + while (node) { + const comp = (node as GridHTMLElement)._gridComp + if (comp) return comp + node = node.parentElement + } + return undefined +} + +/** @internal */ +export function gsCreateVueComponents( + parent: HTMLElement, + w: CoreGridStackWidget, + add: boolean, + isGrid: boolean, +): HTMLElement | undefined { + if (add) { + if (isGrid) { + const opt = w as GridStackWidget + const classes = ['grid-stack'] + if (opt.class) classes.push(...String(opt.class).split(' ').filter(Boolean)) + const el = Utils.createDiv(classes) as GridHTMLElement + // Inherit the host's _gridComp so nested-grid children can register teleport anchors. + const inherited = nearestGridComp(parent) + if (inherited) el._gridComp = inherited + parent?.appendChild(el) + return el + } + + const gridHost = (parent as GridHTMLElement)._gridComp + if (!gridHost) return undefined + + const opt = w as GridStackWidget + const itemClasses = ['grid-stack-item'] + if (opt.class) itemClasses.push(...String(opt.class).split(' ').filter(Boolean)) + const el = Utils.createDiv(itemClasses) as GridItemHTMLElement + Utils.createDiv(['grid-stack-item-content'], el) + + const id = opt.id != null ? String(opt.id) : undefined + if (id) { + el._gridItemRef = { id, gridComp: gridHost } + if (opt.component) gridHost.registerSyntheticItemId(id) + } + if (opt.content != null && opt.content !== '') { + const content = el.querySelector('.grid-stack-item-content') as HTMLElement + if (content) content.textContent = String(opt.content) + } + return el + } + + const el = (w as GridStackWidget).el as GridItemHTMLElement | undefined + if (el?._gridItemRef) { + const { id, gridComp } = el._gridItemRef + gridComp.unregisterSyntheticItemId(id) + delete el._gridItemRef + } + el?.remove() + return undefined +} + +export function gsSaveAdditionalVueInfo( + node: GridStackNode, + w: CoreGridStackWidget, +): void { + const n = node as GridStackNode & { component?: string; props?: Record } + const out = w as GridStackWidget + if (n.component != null) out.component = n.component + if (n.props != null) out.props = { ...n.props } + // Strip runtime-only fields that must never appear in serialized output. + delete (out as Record).visibleObservable + const el = node.el as GridItemHTMLElement | undefined + const id = n.id != null ? String(n.id) : undefined + if (id && el?._gridItemRef?.gridComp?.mergeWidgetPropsForSave) { + el._gridItemRef.gridComp.mergeWidgetPropsForSave(id, out) + } +} + +export function gsUpdateVueComponents(node: GridStackNode): void { + const el = node.el as GridItemHTMLElement | undefined + el?._gridItemRef?.gridComp?.requestUpdate?.() +} diff --git a/vue/projects/lib/src/types.ts b/vue/projects/lib/src/types.ts new file mode 100644 index 000000000..3c74e6006 --- /dev/null +++ b/vue/projects/lib/src/types.ts @@ -0,0 +1,53 @@ +/** + * Vue wrapper type extensions — same identifiers as core `gridstack`, extended when imported from `gridstack/dist/vue`. + * React parity: `component`/`props` ⇄ Angular `selector`/`input`. + */ +import type { + GridStackOptions as CoreGridStackOptions, + GridStackWidget as CoreGridStackWidget, + GridStackNode as CoreGridStackNode, + GridHTMLElement as CoreGridHTMLElement, + GridItemHTMLElement as CoreGridItemHTMLElement, +} from 'gridstack' + +/** Host API stamped on `.grid-stack` element as `_gridComp` for `addRemoveCB` dispatch. */ +export interface GridStackHostApi { + registerSyntheticItemId(id: string): void + unregisterSyntheticItemId(id: string): void + /** Notify Vue to re-read node props after GS `update()` / `updateCB`. */ + requestUpdate(): void + registerWidgetSerializer(id: string, fn: () => Record | undefined): () => void + /** Merge `useWidgetSerializer` results into `w.props` during `grid.save()`. */ + mergeWidgetPropsForSave(id: string, w: GridStackWidget): void +} + +export type GridStackWidgetProps = Record + +export interface GridStackWidget extends Omit { + /** Key in the `components` map passed to `` */ + component?: string + props?: GridStackWidgetProps + /** Extra CSS classes on the widget root. */ + class?: string + /** Runtime DOM node when removing via `addRemoveCB` (not serialized). */ + el?: HTMLElement + /** Nested grid options (recursive; uses Vue-extended widget children). */ + subGridOpts?: GridStackOptions +} + +export interface GridStackNode extends CoreGridStackNode { + component?: string +} + +export interface GridStackOptions extends Omit { + children?: GridStackWidget[] + subGridOpts?: GridStackOptions +} + +export interface GridHTMLElement extends CoreGridHTMLElement { + _gridComp?: GridStackHostApi +} + +export interface GridItemHTMLElement extends CoreGridItemHTMLElement { + _gridItemRef?: { id: string; gridComp: GridStackHostApi } +} diff --git a/vue/projects/lib/tsconfig.build.json b/vue/projects/lib/tsconfig.build.json new file mode 100644 index 000000000..b427ac5d3 --- /dev/null +++ b/vue/projects/lib/tsconfig.build.json @@ -0,0 +1,17 @@ +{ + "compilerOptions": { + "target": "ES2020", + "lib": ["ES2020", "DOM"], + "module": "ESNext", + "moduleResolution": "bundler", + "declaration": true, + "declarationMap": true, + "outDir": "../../../dist/vue", + "rootDir": "src", + "strict": true, + "skipLibCheck": true, + "esModuleInterop": true, + "isolatedModules": true + }, + "include": ["src/**/*.ts"] +} diff --git a/vue/src/App.vue b/vue/src/App.vue new file mode 100644 index 000000000..79431a7a3 --- /dev/null +++ b/vue/src/App.vue @@ -0,0 +1,8 @@ + + + diff --git a/vue/src/demo/demo.css b/vue/src/demo/demo.css new file mode 100644 index 000000000..fc7c1ea1f --- /dev/null +++ b/vue/src/demo/demo.css @@ -0,0 +1,61 @@ +.grid-stack { + background: #FAFAD2; +} + +.grid-stack-item-content { + text-align: center; + background-color: #18bc9c; +} + +.grid-stack-item-removing { + opacity: 0.5; +} + +.demo-toolbar { + display: flex; + flex-wrap: wrap; + gap: 0.5rem; + margin-top: 0.5rem; +} + +.demo-debug { + margin-top: 0.5rem; +} + +.demo-debug h4 { + margin: 0 0 0.35rem; + font-size: 0.95rem; + font-weight: 600; +} + +.demo-pre { + background-color: #f3f4f6; + padding: .2rem; + overflow: auto; + font-size: 12px; +} + +.trash { + height: 100px; + background: rgba(255, 0, 0, 0.1) center center url(data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjY0cHgiIGhlaWdodD0iNjRweCIgdmlld0JveD0iMCAwIDQzOC41MjkgNDM4LjUyOSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNDM4LjUyOSA0MzguNTI5OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnPgoJPGc+CgkJPHBhdGggZD0iTTQxNy42ODksNzUuNjU0Yy0xLjcxMS0xLjcwOS0zLjkwMS0yLjU2OC02LjU2My0yLjU2OGgtODguMjI0TDMwMi45MTcsMjUuNDFjLTIuODU0LTcuMDQ0LTcuOTk0LTEzLjA0LTE1LjQxMy0xNy45ODkgICAgQzI4MC4wNzgsMi40NzMsMjcyLjU1NiwwLDI2NC45NDUsMGgtOTEuMzYzYy03LjYxMSwwLTE1LjEzMSwyLjQ3My0yMi41NTQsNy40MjFjLTcuNDI0LDQuOTQ5LTEyLjU2MywxMC45NDQtMTUuNDE5LDE3Ljk4OSAgICBsLTE5Ljk4NSw0Ny42NzZoLTg4LjIyYy0yLjY2NywwLTQuODUzLDAuODU5LTYuNTY3LDIuNTY4Yy0xLjcwOSwxLjcxMy0yLjU2OCwzLjkwMy0yLjU2OCw2LjU2N3YxOC4yNzQgICAgYzAsMi42NjQsMC44NTUsNC44NTQsMi41NjgsNi41NjRjMS43MTQsMS43MTIsMy45MDQsMi41NjgsNi41NjcsMi41NjhoMjcuNDA2djI3MS44YzAsMTUuODAzLDQuNDczLDI5LjI2NiwxMy40MTgsNDAuMzk4ICAgIGM4Ljk0NywxMS4xMzksMTkuNzAxLDE2LjcwMywzMi4yNjQsMTYuNzAzaDIzNy41NDJjMTIuNTY2LDAsMjMuMzE5LTUuNzU2LDMyLjI2NS0xNy4yNjhjOC45NDUtMTEuNTIsMTMuNDE1LTI1LjE3NCwxMy40MTUtNDAuOTcxICAgIFYxMDkuNjI3aDI3LjQxMWMyLjY2MiwwLDQuODUzLTAuODU2LDYuNTYzLTIuNTY4YzEuNzA4LTEuNzA5LDIuNTctMy45LDIuNTctNi41NjRWODIuMjIxICAgIEM0MjAuMjYsNzkuNTU3LDQxOS4zOTcsNzcuMzY3LDQxNy42ODksNzUuNjU0eiBNMTY5LjMwMSwzOS42NzhjMS4zMzEtMS43MTIsMi45NS0yLjc2Miw0Ljg1My0zLjE0aDkwLjUwNCAgICBjMS45MDMsMC4zODEsMy41MjUsMS40Myw0Ljg1NCwzLjE0bDEzLjcwOSwzMy40MDRIM155LjMxMUwxNjkuMzAxLDM5LjY3OHogTTM0Ny4xNzMsMzgwLjI5MWMwLDQuMTg2LTAuNjY0LDguMDQyLTEuOTk5LDExLjU2MSAgICBjLTEuMzM0LDMuNTE4LTIuNzE3LDYuMDg4LTQuMTQxLDcuNzA2Yy0xLjQzMSwxLjYyMi0yLjQyMywyLjQyNy0yLjk5OCwyLjQyN0gxMDAuNDkzYy0wLjU3MSwwLTEuNTY1LTAuODA1LTIuOTk2LTIuNDI3ICAgIGMtMS40MjktMS42MTgtMi44MS00LjE4OC00LjE0My03LjcwNmMtMS4zMzEtMy41MTktMS45OTctNy4zNzktMS45OTctMTEuNTYxVjEwOS42MjdoMjU1LjgxNVYzODAuMjkxeiIgZmlsbD0iI2ZmOWNhZSIvPgoJCTxwYXRoIGQ9Ik0xMzcuMDQsMzQ3LjE3MmgxOC4yNzFjMi42NjcsMCw0Ljg1OC0wLjg1NSw2LjU2Ny0yLjU2N2MxLjcwOS0xLjcxOCwyLjU2OC0zLjkwMSwyLjU2OC02LjU3VjE3My41ODEgICAgYzAtMi42NjMtMC44NTktNC44NTMtMi41NjgtNi41NjdjLTEuNzE0LTEuNzA5LTMuODk5LTIuNTY1LTYuNTY3LTIuNTY1SDEzNy4wNGMtMi42NjcsMC00Ljg1NCwwLjg1NS02LjU2NywyLjU2NSAgICBjLTEuNzExLDEuNzE0LTIuNTY4LDMuOTA0LTIuNTY4LDYuNTY3djE2NC40NTRjMCwyLjY2OSwwLjg1NCw0Ljg1MywyLjU2OCw2LjU3QzEzMi4xODYsMzQ2LjMxNiwxMzQuMzczLDM0Ny4xNzIsMTM3LjA0LDM0Ny4xNzJ6IiBmaWxsPSIjZmY5Y2FlIi8+CgkJPHBhdGggZD0iTTIxMC4xMjksMzQ3LjE3MmgxOC4yNzFjMi42NjYsMCw0Ljg1Ni0wLjg1NSw2LjU2NC0yLjU2N2MxLjcxOC0xLjcxOCwyLjU2OS0zLjkwMSwyLjU2OS02LjU3VjE3My41ODEgICAgYzAtMi42NjMtMC44NTItNC44NTMtMi41NjktNi41NjdjLTEuNzA4LTEuNzA5LTMuODk4LTIuNTY1LTYuNTY0LTIuNTY1aC0xOC4yNzFjLTIuNjY0LDAtNC44NTQsMC44NTUtNi41NjcsMi41NjUgICAgYy0xLjcxNCwxLjcxNC0yLjU2OCwzLjkwNC0yLjU2OCw2LjU2N3YxNjQuNDU0YzAsMi42NjksMC44NTQsNC44NTMsMi41NjgsNi41N0MyMDUuMjc0LDM0Ni4zMTYsMjA3LjQ2NSwzNDcuMTcyLDIxMC4xMjksMzQ3LjE3MnogICAgIiBmaWxsPSIjZmY5Y2FlIi8+CgkJPHBhdGggZD0iTTI4My4yMiwzNDcuMTcyaDE4LjI2OGMyLjY2OSwwLDQuODU5LTAuODU1LDYuNTctMi41NjdjMS43MTEtMS43MTgsMi41NjItMy45MDEsMi41NjItNi41N1YxNzMuNTgxICAgIGMwLTIuNjYzLTAuODUyLTQuODUzLTIuNTYyLTYuNTY3Yy0xLjcxMS0xLjcwOS0zLjkwMS0yLjU2NS02LjU3LTIuNTY1SDI4My4yMmMtMi42NywwLTQuODUzLDAuODU1LTYuNTcxLDIuNTY1ICAgIGMtMS43MTEsMS43MTQtMi41NjYsMy45MDQtMi41NjYsNi41Njd2MTY0LjQ1NGMwLDIuNjY5LDAuODU1LDQuODUzLDIuNTY2LDYuNTdDMjc4LjM2NywzNDYuMzE2LDI4MC41NSwzNDcuMTcyLDI4My4yMiwzNDcuMTcyeiIgZmlsbD0iI2ZmOWNhZSIvPgoJPC9nPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+Cjwvc3ZnPgo=) no-repeat; +} + +/* make nested grid have slightly darker bg take almost all space (need some to tell them apart) so items inside can have similar to external size+margin */ +.grid-stack > .grid-stack-item.grid-stack-sub-grid > .grid-stack-item-content { + background: rgba(0,0,0,0.1); + inset: 8px 8px; +} +.grid-stack.grid-stack-nested { + background: none; + /* take entire space */ + position: absolute; + inset: 0; +} + +.w-full { + width: 100%; +} + +.h-full { + height: 100%; +} diff --git a/vue/src/demo/demo.vue b/vue/src/demo/demo.vue new file mode 100644 index 000000000..c121ce3c2 --- /dev/null +++ b/vue/src/demo/demo.vue @@ -0,0 +1,266 @@ + + + diff --git a/vue/src/main.ts b/vue/src/main.ts new file mode 100644 index 000000000..01433bca2 --- /dev/null +++ b/vue/src/main.ts @@ -0,0 +1,4 @@ +import { createApp } from 'vue' +import App from './App.vue' + +createApp(App).mount('#app') diff --git a/vue/tsconfig.app.json b/vue/tsconfig.app.json new file mode 100644 index 000000000..1e2adf9f2 --- /dev/null +++ b/vue/tsconfig.app.json @@ -0,0 +1,32 @@ +{ + "compilerOptions": { + "target": "ES2020", + "useDefineForClassFields": true, + "lib": ["ES2020", "DOM", "DOM.Iterable"], + "module": "ESNext", + "skipLibCheck": true, + "baseUrl": ".", + "paths": { + "gridstack": ["../src/gridstack.ts"], + "gridstack/dist/vue": ["./projects/lib/src/index.ts"] + }, + + /* Bundler mode */ + "moduleResolution": "bundler", + "allowImportingTsExtensions": true, + "isolatedModules": true, + "moduleDetection": "force", + "noEmit": true, + + /* Vue */ + "jsx": "preserve", + "jsxImportSource": "vue", + + /* Linting */ + "strict": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "noFallthroughCasesInSwitch": true + }, + "include": ["src", "projects/lib/src", "projects/lib/gridstack-vue.test.ts"] +} diff --git a/vue/tsconfig.app.tsbuildinfo b/vue/tsconfig.app.tsbuildinfo new file mode 100644 index 000000000..2bc510a0f --- /dev/null +++ b/vue/tsconfig.app.tsbuildinfo @@ -0,0 +1 @@ +{"root":["./src/app.vue","./src/main.ts","./src/demo/demo.vue","./projects/lib/src/base-widget.ts","./projects/lib/src/composables.ts","./projects/lib/src/gridstack-context.ts","./projects/lib/src/gridstack-item.ts","./projects/lib/src/gridstack.ts","./projects/lib/src/index.ts","./projects/lib/src/registry.ts","./projects/lib/src/types.ts","./projects/lib/gridstack-vue.test.ts"],"errors":true,"version":"5.9.3"} \ No newline at end of file diff --git a/vue/tsconfig.json b/vue/tsconfig.json new file mode 100644 index 000000000..ba5ccc4a2 --- /dev/null +++ b/vue/tsconfig.json @@ -0,0 +1,7 @@ +{ + "files": [], + "references": [ + { "path": "./tsconfig.node.json" }, + { "path": "./tsconfig.app.json" } + ] +} diff --git a/vue/tsconfig.node.json b/vue/tsconfig.node.json new file mode 100644 index 000000000..124957867 --- /dev/null +++ b/vue/tsconfig.node.json @@ -0,0 +1,22 @@ +{ + "compilerOptions": { + "target": "ES2022", + "lib": ["ES2023"], + "module": "ESNext", + "skipLibCheck": true, + + /* Bundler mode */ + "moduleResolution": "bundler", + "allowImportingTsExtensions": true, + "isolatedModules": true, + "moduleDetection": "force", + "noEmit": true, + + /* Linting */ + "strict": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "noFallthroughCasesInSwitch": true + }, + "include": ["vite.config.ts", "vitest.config.ts", "vitest.setup.ts"] +} diff --git a/vue/tsconfig.node.tsbuildinfo b/vue/tsconfig.node.tsbuildinfo new file mode 100644 index 000000000..018d9e6cd --- /dev/null +++ b/vue/tsconfig.node.tsbuildinfo @@ -0,0 +1 @@ +{"root":["./vite.config.ts","./vitest.config.ts","./vitest.setup.ts"],"version":"5.9.3"} \ No newline at end of file diff --git a/vue/vite.config.ts b/vue/vite.config.ts new file mode 100644 index 000000000..3a3858c10 --- /dev/null +++ b/vue/vite.config.ts @@ -0,0 +1,21 @@ +import { defineConfig } from 'vite' +import vue from '@vitejs/plugin-vue' +import { fileURLToPath, URL } from 'node:url' + +export default defineConfig({ + plugins: [vue()], + resolve: { + alias: [ + // gridstack/dist/vue → local projects/lib/src/index.ts + { + find: 'gridstack/dist/vue', + replacement: fileURLToPath(new URL('./projects/lib/src/index.ts', import.meta.url)), + }, + // gridstack (exact) → local ../src/gridstack.ts (picks up local patches) + { + find: /^gridstack$/, + replacement: fileURLToPath(new URL('../src/gridstack.ts', import.meta.url)), + }, + ], + }, +}) diff --git a/vue/vitest.config.ts b/vue/vitest.config.ts new file mode 100644 index 000000000..e054dce69 --- /dev/null +++ b/vue/vitest.config.ts @@ -0,0 +1,25 @@ +import { defineConfig } from 'vitest/config' +import vue from '@vitejs/plugin-vue' +import { fileURLToPath, URL } from 'node:url' + +export default defineConfig({ + plugins: [vue()], + resolve: { + alias: [ + { + find: 'gridstack/dist/vue', + replacement: fileURLToPath(new URL('./projects/lib/src/index.ts', import.meta.url)), + }, + { + find: /^gridstack$/, + replacement: fileURLToPath(new URL('../src/gridstack.ts', import.meta.url)), + }, + ], + }, + test: { + environment: 'jsdom', + globals: true, + setupFiles: [fileURLToPath(new URL('./vitest.setup.ts', import.meta.url))], + include: ['projects/lib/**/*.test.{ts,vue}', 'src/**/*.test.{ts,vue}'], + }, +}) diff --git a/vue/vitest.setup.ts b/vue/vitest.setup.ts new file mode 100644 index 000000000..7234e5bb7 --- /dev/null +++ b/vue/vitest.setup.ts @@ -0,0 +1 @@ +// Vitest + Vue 3 setup — nothing special needed for Vue (no act() equivalent) diff --git a/vue/yarn.lock b/vue/yarn.lock new file mode 100644 index 000000000..4aa3a4967 --- /dev/null +++ b/vue/yarn.lock @@ -0,0 +1,2047 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + +"@asamuzakjp/css-color@^3.2.0": + version "3.2.0" + resolved "https://registry.yarnpkg.com/@asamuzakjp/css-color/-/css-color-3.2.0.tgz" + integrity sha512-K1A6z8tS3XsmCMM86xoWdn7Fkdn9m6RSVtocUrJYIwZnFVkng/PvkEoWtOWmP+Scc6saYWHWZYbndEEXxl24jw== + dependencies: + "@csstools/css-calc" "^2.1.3" + "@csstools/css-color-parser" "^3.0.9" + "@csstools/css-parser-algorithms" "^3.0.4" + "@csstools/css-tokenizer" "^3.0.3" + lru-cache "^10.4.3" + +"@babel/helper-string-parser@^7.29.7": + version "7.29.7" + resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.29.7.tgz" + integrity sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw== + +"@babel/helper-validator-identifier@^7.29.7": + version "7.29.7" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.29.7.tgz" + integrity sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg== + +"@babel/parser@^7.29.3": + version "7.29.7" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.29.7.tgz" + integrity sha512-hnORnjP/1P/zFEndoeX+n+t1RwWRJiJpM/jO7FW32Kn9r5+sJB2JWOdYo4L6k78j15eCwY3Gm/7364B1EMwtNg== + dependencies: + "@babel/types" "^7.29.7" + +"@babel/types@^7.29.7": + version "7.29.7" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.29.7.tgz" + integrity sha512-4zBIxpPzowiZpusoFkyGVwakdRJUyuH5PxQ/PrqghfdFWWasvnCdPfQXHrenDai+gyLARulZjZowCOj6fjT4pA== + dependencies: + "@babel/helper-string-parser" "^7.29.7" + "@babel/helper-validator-identifier" "^7.29.7" + +"@csstools/color-helpers@^5.1.0": + version "5.1.0" + resolved "https://registry.yarnpkg.com/@csstools/color-helpers/-/color-helpers-5.1.0.tgz" + integrity sha512-S11EXWJyy0Mz5SYvRmY8nJYTFFd1LCNV+7cXyAgQtOOuzb4EsgfqDufL+9esx72/eLhsRdGZwaldu/h+E4t4BA== + +"@csstools/css-calc@^2.1.3", "@csstools/css-calc@^2.1.4": + version "2.1.4" + resolved "https://registry.yarnpkg.com/@csstools/css-calc/-/css-calc-2.1.4.tgz" + integrity sha512-3N8oaj+0juUw/1H3YwmDDJXCgTB1gKU6Hc/bB502u9zR0q2vd786XJH9QfrKIEgFlZmhZiq6epXl4rHqhzsIgQ== + +"@csstools/css-color-parser@^3.0.9": + version "3.1.0" + resolved "https://registry.yarnpkg.com/@csstools/css-color-parser/-/css-color-parser-3.1.0.tgz" + integrity sha512-nbtKwh3a6xNVIp/VRuXV64yTKnb1IjTAEEh3irzS+HkKjAOYLTGNb9pmVNntZ8iVBHcWDA2Dof0QtPgFI1BaTA== + dependencies: + "@csstools/color-helpers" "^5.1.0" + "@csstools/css-calc" "^2.1.4" + +"@csstools/css-parser-algorithms@^3.0.4": + version "3.0.5" + resolved "https://registry.yarnpkg.com/@csstools/css-parser-algorithms/-/css-parser-algorithms-3.0.5.tgz" + integrity sha512-DaDeUkXZKjdGhgYaHNJTV9pV7Y9B3b644jCLs9Upc3VeNGg6LWARAT6O+Q+/COo+2gg/bM5rhpMAtf70WqfBdQ== + +"@csstools/css-tokenizer@^3.0.3": + version "3.0.4" + resolved "https://registry.yarnpkg.com/@csstools/css-tokenizer/-/css-tokenizer-3.0.4.tgz" + integrity sha512-Vd/9EVDiu6PPJt9yAh6roZP6El1xHrdvIVGjyBsHR0RYwNHgL7FJPyIIW4fANJNG6FtyZfvlRPpFI4ZM/lubvw== + +"@esbuild/aix-ppc64@0.25.12": + version "0.25.12" + resolved "https://registry.yarnpkg.com/@esbuild/aix-ppc64/-/aix-ppc64-0.25.12.tgz" + integrity sha512-Hhmwd6CInZ3dwpuGTF8fJG6yoWmsToE+vYgD4nytZVxcu1ulHpUQRAB1UJ8+N1Am3Mz4+xOByoQoSZf4D+CpkA== + +"@esbuild/android-arm@0.25.12": + version "0.25.12" + resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.25.12.tgz" + integrity sha512-VJ+sKvNA/GE7Ccacc9Cha7bpS8nyzVv0jdVgwNDaR4gDMC/2TTRc33Ip8qrNYUcpkOHUT5OZ0bUcNNVZQ9RLlg== + +"@esbuild/android-arm64@0.25.12": + version "0.25.12" + resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.25.12.tgz" + integrity sha512-6AAmLG7zwD1Z159jCKPvAxZd4y/VTO0VkprYy+3N2FtJ8+BQWFXU+OxARIwA46c5tdD9SsKGZ/1ocqBS/gAKHg== + +"@esbuild/android-x64@0.25.12": + version "0.25.12" + resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.25.12.tgz" + integrity sha512-5jbb+2hhDHx5phYR2By8GTWEzn6I9UqR11Kwf22iKbNpYrsmRB18aX/9ivc5cabcUiAT/wM+YIZ6SG9QO6a8kg== + +"@esbuild/darwin-arm64@0.25.12": + version "0.25.12" + resolved "https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.25.12.tgz" + integrity sha512-N3zl+lxHCifgIlcMUP5016ESkeQjLj/959RxxNYIthIg+CQHInujFuXeWbWMgnTo4cp5XVHqFPmpyu9J65C1Yg== + +"@esbuild/darwin-x64@0.25.12": + version "0.25.12" + resolved "https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.25.12.tgz" + integrity sha512-HQ9ka4Kx21qHXwtlTUVbKJOAnmG1ipXhdWTmNXiPzPfWKpXqASVcWdnf2bnL73wgjNrFXAa3yYvBSd9pzfEIpA== + +"@esbuild/freebsd-arm64@0.25.12": + version "0.25.12" + resolved "https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.12.tgz" + integrity sha512-gA0Bx759+7Jve03K1S0vkOu5Lg/85dou3EseOGUes8flVOGxbhDDh/iZaoek11Y8mtyKPGF3vP8XhnkDEAmzeg== + +"@esbuild/freebsd-x64@0.25.12": + version "0.25.12" + resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.25.12.tgz" + integrity sha512-TGbO26Yw2xsHzxtbVFGEXBFH0FRAP7gtcPE7P5yP7wGy7cXK2oO7RyOhL5NLiqTlBh47XhmIUXuGciXEqYFfBQ== + +"@esbuild/linux-arm@0.25.12": + version "0.25.12" + resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.25.12.tgz" + integrity sha512-lPDGyC1JPDou8kGcywY0YILzWlhhnRjdof3UlcoqYmS9El818LLfJJc3PXXgZHrHCAKs/Z2SeZtDJr5MrkxtOw== + +"@esbuild/linux-arm64@0.25.12": + version "0.25.12" + resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.25.12.tgz" + integrity sha512-8bwX7a8FghIgrupcxb4aUmYDLp8pX06rGh5HqDT7bB+8Rdells6mHvrFHHW2JAOPZUbnjUpKTLg6ECyzvas2AQ== + +"@esbuild/linux-ia32@0.25.12": + version "0.25.12" + resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.25.12.tgz" + integrity sha512-0y9KrdVnbMM2/vG8KfU0byhUN+EFCny9+8g202gYqSSVMonbsCfLjUO+rCci7pM0WBEtz+oK/PIwHkzxkyharA== + +"@esbuild/linux-loong64@0.25.12": + version "0.25.12" + resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.25.12.tgz" + integrity sha512-h///Lr5a9rib/v1GGqXVGzjL4TMvVTv+s1DPoxQdz7l/AYv6LDSxdIwzxkrPW438oUXiDtwM10o9PmwS/6Z0Ng== + +"@esbuild/linux-mips64el@0.25.12": + version "0.25.12" + resolved "https://registry.yarnpkg.com/@esbuild/linux-mips64el/-/linux-mips64el-0.25.12.tgz" + integrity sha512-iyRrM1Pzy9GFMDLsXn1iHUm18nhKnNMWscjmp4+hpafcZjrr2WbT//d20xaGljXDBYHqRcl8HnxbX6uaA/eGVw== + +"@esbuild/linux-ppc64@0.25.12": + version "0.25.12" + resolved "https://registry.yarnpkg.com/@esbuild/linux-ppc64/-/linux-ppc64-0.25.12.tgz" + integrity sha512-9meM/lRXxMi5PSUqEXRCtVjEZBGwB7P/D4yT8UG/mwIdze2aV4Vo6U5gD3+RsoHXKkHCfSxZKzmDssVlRj1QQA== + +"@esbuild/linux-riscv64@0.25.12": + version "0.25.12" + resolved "https://registry.yarnpkg.com/@esbuild/linux-riscv64/-/linux-riscv64-0.25.12.tgz" + integrity sha512-Zr7KR4hgKUpWAwb1f3o5ygT04MzqVrGEGXGLnj15YQDJErYu/BGg+wmFlIDOdJp0PmB0lLvxFIOXZgFRrdjR0w== + +"@esbuild/linux-s390x@0.25.12": + version "0.25.12" + resolved "https://registry.yarnpkg.com/@esbuild/linux-s390x/-/linux-s390x-0.25.12.tgz" + integrity sha512-MsKncOcgTNvdtiISc/jZs/Zf8d0cl/t3gYWX8J9ubBnVOwlk65UIEEvgBORTiljloIWnBzLs4qhzPkJcitIzIg== + +"@esbuild/linux-x64@0.25.12": + version "0.25.12" + resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.25.12.tgz" + integrity sha512-uqZMTLr/zR/ed4jIGnwSLkaHmPjOjJvnm6TVVitAa08SLS9Z0VM8wIRx7gWbJB5/J54YuIMInDquWyYvQLZkgw== + +"@esbuild/netbsd-arm64@0.25.12": + version "0.25.12" + resolved "https://registry.yarnpkg.com/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.12.tgz" + integrity sha512-xXwcTq4GhRM7J9A8Gv5boanHhRa/Q9KLVmcyXHCTaM4wKfIpWkdXiMog/KsnxzJ0A1+nD+zoecuzqPmCRyBGjg== + +"@esbuild/netbsd-x64@0.25.12": + version "0.25.12" + resolved "https://registry.yarnpkg.com/@esbuild/netbsd-x64/-/netbsd-x64-0.25.12.tgz" + integrity sha512-Ld5pTlzPy3YwGec4OuHh1aCVCRvOXdH8DgRjfDy/oumVovmuSzWfnSJg+VtakB9Cm0gxNO9BzWkj6mtO1FMXkQ== + +"@esbuild/openbsd-arm64@0.25.12": + version "0.25.12" + resolved "https://registry.yarnpkg.com/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.12.tgz" + integrity sha512-fF96T6KsBo/pkQI950FARU9apGNTSlZGsv1jZBAlcLL1MLjLNIWPBkj5NlSz8aAzYKg+eNqknrUJ24QBybeR5A== + +"@esbuild/openbsd-x64@0.25.12": + version "0.25.12" + resolved "https://registry.yarnpkg.com/@esbuild/openbsd-x64/-/openbsd-x64-0.25.12.tgz" + integrity sha512-MZyXUkZHjQxUvzK7rN8DJ3SRmrVrke8ZyRusHlP+kuwqTcfWLyqMOE3sScPPyeIXN/mDJIfGXvcMqCgYKekoQw== + +"@esbuild/openharmony-arm64@0.25.12": + version "0.25.12" + resolved "https://registry.yarnpkg.com/@esbuild/openharmony-arm64/-/openharmony-arm64-0.25.12.tgz" + integrity sha512-rm0YWsqUSRrjncSXGA7Zv78Nbnw4XL6/dzr20cyrQf7ZmRcsovpcRBdhD43Nuk3y7XIoW2OxMVvwuRvk9XdASg== + +"@esbuild/sunos-x64@0.25.12": + version "0.25.12" + resolved "https://registry.yarnpkg.com/@esbuild/sunos-x64/-/sunos-x64-0.25.12.tgz" + integrity sha512-3wGSCDyuTHQUzt0nV7bocDy72r2lI33QL3gkDNGkod22EsYl04sMf0qLb8luNKTOmgF/eDEDP5BFNwoBKH441w== + +"@esbuild/win32-arm64@0.25.12": + version "0.25.12" + resolved "https://registry.yarnpkg.com/@esbuild/win32-arm64/-/win32-arm64-0.25.12.tgz" + integrity sha512-rMmLrur64A7+DKlnSuwqUdRKyd3UE7oPJZmnljqEptesKM8wx9J8gx5u0+9Pq0fQQW8vqeKebwNXdfOyP+8Bsg== + +"@esbuild/win32-ia32@0.25.12": + version "0.25.12" + resolved "https://registry.yarnpkg.com/@esbuild/win32-ia32/-/win32-ia32-0.25.12.tgz" + integrity sha512-HkqnmmBoCbCwxUKKNPBixiWDGCpQGVsrQfJoVGYLPT41XWF8lHuE5N6WhVia2n4o5QK5M4tYr21827fNhi4byQ== + +"@esbuild/win32-x64@0.25.12": + version "0.25.12" + resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.25.12.tgz" + integrity sha512-alJC0uCZpTFrSL0CCDjcgleBXPnCrEAhTBILpeAp7M/OFgoqtAetfBzX0xM00MUsVVPpVjlPuMbREqnZCXaTnA== + +"@eslint-community/eslint-utils@^4.8.0": + version "4.9.1" + resolved "https://registry.yarnpkg.com/@eslint-community/eslint-utils/-/eslint-utils-4.9.1.tgz" + integrity sha512-phrYmNiYppR7znFEdqgfWHXR6NCkZEK7hwWDHZUjit/2/U0r6XvkDl0SYnoM51Hq7FhCGdLDT6zxCCOY1hexsQ== + dependencies: + eslint-visitor-keys "^3.4.3" + +"@eslint-community/eslint-utils/node_modules/eslint-visitor-keys@3.4.3": + version "3.4.3" + resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz" + integrity sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag== + +"@eslint-community/regexpp@^4.12.1": + version "4.12.2" + resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.12.2.tgz" + integrity sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew== + +"@eslint/config-array@^0.21.2": + version "0.21.2" + resolved "https://registry.yarnpkg.com/@eslint/config-array/-/config-array-0.21.2.tgz" + integrity sha512-nJl2KGTlrf9GjLimgIru+V/mzgSK0ABCDQRvxw5BjURL7WfH5uoWmizbH7QB6MmnMBd8cIC9uceWnezL1VZWWw== + dependencies: + "@eslint/object-schema" "^2.1.7" + debug "^4.3.1" + minimatch "^3.1.5" + +"@eslint/config-helpers@^0.4.2": + version "0.4.2" + resolved "https://registry.yarnpkg.com/@eslint/config-helpers/-/config-helpers-0.4.2.tgz" + integrity sha512-gBrxN88gOIf3R7ja5K9slwNayVcZgK6SOUORm2uBzTeIEfeVaIhOpCtTox3P6R7o2jLFwLFTLnC7kU/RGcYEgw== + dependencies: + "@eslint/core" "^0.17.0" + +"@eslint/core@^0.17.0": + version "0.17.0" + resolved "https://registry.yarnpkg.com/@eslint/core/-/core-0.17.0.tgz" + integrity sha512-yL/sLrpmtDaFEiUj1osRP4TI2MDz1AddJL+jZ7KSqvBuliN4xqYY54IfdN8qD8Toa6g1iloph1fxQNkjOxrrpQ== + dependencies: + "@types/json-schema" "^7.0.15" + +"@eslint/eslintrc@^3.3.5": + version "3.3.5" + resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-3.3.5.tgz" + integrity sha512-4IlJx0X0qftVsN5E+/vGujTRIFtwuLbNsVUe7TO6zYPDR1O6nFwvwhIKEKSrl6dZchmYBITazxKoUYOjdtjlRg== + dependencies: + ajv "^6.14.0" + debug "^4.3.2" + espree "^10.0.1" + globals "^14.0.0" + ignore "^5.2.0" + import-fresh "^3.2.1" + js-yaml "^4.1.1" + minimatch "^3.1.5" + strip-json-comments "^3.1.1" + +"@eslint/eslintrc/node_modules/globals@14.0.0": + version "14.0.0" + resolved "https://registry.yarnpkg.com/globals/-/globals-14.0.0.tgz" + integrity sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ== + +"@eslint/js@9.39.4": + version "9.39.4" + resolved "https://registry.yarnpkg.com/@eslint/js/-/js-9.39.4.tgz" + integrity sha512-nE7DEIchvtiFTwBw4Lfbu59PG+kCofhjsKaCWzxTpt4lfRjRMqG6uMBzKXuEcyXhOHoUp9riAm7/aWYGhXZ9cw== + +"@eslint/object-schema@^2.1.7": + version "2.1.7" + resolved "https://registry.yarnpkg.com/@eslint/object-schema/-/object-schema-2.1.7.tgz" + integrity sha512-VtAOaymWVfZcmZbp6E2mympDIHvyjXs/12LqWYjVw6qjrfF+VK+fyG33kChz3nnK+SU5/NeHOqrTEHS8sXO3OA== + +"@eslint/plugin-kit@^0.4.1": + version "0.4.1" + resolved "https://registry.yarnpkg.com/@eslint/plugin-kit/-/plugin-kit-0.4.1.tgz" + integrity sha512-43/qtrDUokr7LJqoF2c3+RInu/t4zfrpYdoSDfYyhg52rwLV6TnOvdG4fXm7IkSB3wErkcmJS9iEhjVtOSEjjA== + dependencies: + "@eslint/core" "^0.17.0" + levn "^0.4.1" + +"@humanfs/core@^0.19.2": + version "0.19.2" + resolved "https://registry.yarnpkg.com/@humanfs/core/-/core-0.19.2.tgz" + integrity sha512-UhXNm+CFMWcbChXywFwkmhqjs3PRCmcSa/hfBgLIb7oQ5HNb1wS0icWsGtSAUNgefHeI+eBrA8I1fxmbHsGdvA== + dependencies: + "@humanfs/types" "^0.15.0" + +"@humanfs/node@^0.16.6": + version "0.16.8" + resolved "https://registry.yarnpkg.com/@humanfs/node/-/node-0.16.8.tgz" + integrity sha512-gE1eQNZ3R++kTzFUpdGlpmy8kDZD/MLyHqDwqjkVQI0JMdI1D51sy1H958PNXYkM2rAac7e5/CnIKZrHtPh3BQ== + dependencies: + "@humanfs/core" "^0.19.2" + "@humanfs/types" "^0.15.0" + "@humanwhocodes/retry" "^0.4.0" + +"@humanfs/types@^0.15.0": + version "0.15.0" + resolved "https://registry.yarnpkg.com/@humanfs/types/-/types-0.15.0.tgz" + integrity sha512-ZZ1w0aoQkwuUuC7Yf+7sdeaNfqQiiLcSRbfI08oAxqLtpXQr9AIVX7Ay7HLDuiLYAaFPu8oBYNq/QIi9URHJ3Q== + +"@humanwhocodes/module-importer@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz" + integrity sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA== + +"@humanwhocodes/retry@^0.4.0", "@humanwhocodes/retry@^0.4.2": + version "0.4.3" + resolved "https://registry.yarnpkg.com/@humanwhocodes/retry/-/retry-0.4.3.tgz" + integrity sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ== + +"@isaacs/cliui@^8.0.2": + version "8.0.2" + resolved "https://registry.yarnpkg.com/@isaacs/cliui/-/cliui-8.0.2.tgz" + integrity sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA== + dependencies: + string-width "^5.1.2" + string-width-cjs "npm:string-width@^4.2.0" + strip-ansi "^7.0.1" + strip-ansi-cjs "npm:strip-ansi@^6.0.1" + wrap-ansi "^8.1.0" + wrap-ansi-cjs "npm:wrap-ansi@^7.0.0" + +"@jridgewell/sourcemap-codec@^1.5.5": + version "1.5.5" + resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz" + integrity sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og== + +"@one-ini/wasm@0.1.1": + version "0.1.1" + resolved "https://registry.yarnpkg.com/@one-ini/wasm/-/wasm-0.1.1.tgz" + integrity sha512-XuySG1E38YScSJoMlqovLru4KTUNSjgVTIjyh7qMX6aNN5HY5Ct5LhRJdxO79JtTzKfzV/bnWpz+zquYrISsvw== + +"@pkgjs/parseargs@^0.11.0": + version "0.11.0" + resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz" + integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg== + +"@polka/url@^1.0.0-next.24": + version "1.0.0-next.29" + resolved "https://registry.yarnpkg.com/@polka/url/-/url-1.0.0-next.29.tgz" + integrity sha512-wwQAWhWSuHaag8c4q/KN/vCoeOJYshAIvMQwD4GpSb3OiZklFfvAgmj0VCBBImRpuF/aFgIRzllXlVX93Jevww== + +"@rollup/rollup-android-arm-eabi@4.60.4": + version "4.60.4" + resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.60.4.tgz" + integrity sha512-F5QXMSiFebS9hKZj02XhWLLnRpJ3B3AROP0tWbFBSj+6kCbg5m9j5JoHKd4mmSVy5mS/IMQloYgYxCuJC0fxEQ== + +"@rollup/rollup-android-arm64@4.60.4": + version "4.60.4" + resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.60.4.tgz" + integrity sha512-GxxTKApUpzRhof7poWvCJHRF51C67u1R7D6DiluBE8wKU1u5GWE8t+v81JvJYtbawoBFX1hLv5Ei4eVjkWokaw== + +"@rollup/rollup-darwin-arm64@4.60.4": + version "4.60.4" + resolved "https://registry.yarnpkg.com/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.60.4.tgz" + integrity sha512-tua0TaJxMOB1R0V0RS1jFZ/RpURFDJIOR2A6jWwQeawuFyS4gBW+rntLRaQd0EQ4bd6Vp44Z2rXW+YYDBsj6IA== + +"@rollup/rollup-darwin-x64@4.60.4": + version "4.60.4" + resolved "https://registry.yarnpkg.com/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.60.4.tgz" + integrity sha512-CSKq7MsP+5PFIcydhAiR1K0UhEI1A2jWXVKHPCBZ151yOutENwvnPocgVHkivu2kviURtCEB6zUQw0vs8RrhMg== + +"@rollup/rollup-freebsd-arm64@4.60.4": + version "4.60.4" + resolved "https://registry.yarnpkg.com/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.60.4.tgz" + integrity sha512-+O8OkVdyvXMtJEciu2wS/pzm1IxntEEQx3z5TAVy4l32G0etZn+RsA48ARRrFm6Ri8fvqPQfgrvNxSjKAbnd3g== + +"@rollup/rollup-freebsd-x64@4.60.4": + version "4.60.4" + resolved "https://registry.yarnpkg.com/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.60.4.tgz" + integrity sha512-Iw3oMskH3AfNuhU0MSN7vNbdi4me/NiYo2azqPz/Le16zHSa+3RRmliCMWWQmh4lcndccU40xcJuTYJZxNo/lw== + +"@rollup/rollup-linux-arm-gnueabihf@4.60.4": + version "4.60.4" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.60.4.tgz" + integrity sha512-EIPRXTVQpHyF8WOo219AD2yEltPehLTcTMz2fn6JsatLYSzQf00hj3rulF+yauOlF9/FtM2WpkT/hJh/KJFGhA== + +"@rollup/rollup-linux-arm-musleabihf@4.60.4": + version "4.60.4" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.60.4.tgz" + integrity sha512-J3Yh9PzzF1Ovah2At+lHiGQdsYgArxBbXv/zHfSyaiFQEqvNv7DcW98pCrmdjCZBrqBiKrKKe2V+aaSGWuBe/w== + +"@rollup/rollup-linux-arm64-gnu@4.60.4": + version "4.60.4" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.60.4.tgz" + integrity sha512-BFDEZMYfUvLn37ONE1yMBojPxnMlTFsdyNoqncT0qFq1mAfllL+ATMMJd8TeuVMiX84s1KbcxcZbXInmcO2mRg== + +"@rollup/rollup-linux-arm64-musl@4.60.4": + version "4.60.4" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.60.4.tgz" + integrity sha512-pc9EYOSlOgdQ2uPl1o9PF6/kLSgaUosia7gOuS8mB69IxJvlclko1MECXysjs5ryez1/5zjYqx3+xYU0TU6R1A== + +"@rollup/rollup-linux-loong64-gnu@4.60.4": + version "4.60.4" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.60.4.tgz" + integrity sha512-NxnomyxYerDh5n4iLrNa+sH+Z+U4BMEE46V2PgQ/hoB909i8gV1M5wPojWg9fk1jWpO3IQnOs20K4wyZuFLEFQ== + +"@rollup/rollup-linux-loong64-musl@4.60.4": + version "4.60.4" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-loong64-musl/-/rollup-linux-loong64-musl-4.60.4.tgz" + integrity sha512-nbJnQ8a3z1mtmrwImCYhc6BGpThAyYVRQxw9uKSKG4wR6aAYno9sVjJ0zaZcW9BPJX1GbrDPf+SvdWjgTuDmnw== + +"@rollup/rollup-linux-ppc64-gnu@4.60.4": + version "4.60.4" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.60.4.tgz" + integrity sha512-2EU6acNrQLd8tYvo/LXW535wupT3m6fo7HKo6lr7ktQoItxTyOL1ZCR/GfGCuXl2vR+zmfI6eRXkSemafv+iVg== + +"@rollup/rollup-linux-ppc64-musl@4.60.4": + version "4.60.4" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-ppc64-musl/-/rollup-linux-ppc64-musl-4.60.4.tgz" + integrity sha512-WeBtoMuaMxiiIrO2IYP3xs6GMWkJP2C0EoT8beTLkUPmzV1i/UcOSVw1d5r9KBODtHKilG5yFxsGRnBbK3wJ4A== + +"@rollup/rollup-linux-riscv64-gnu@4.60.4": + version "4.60.4" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.60.4.tgz" + integrity sha512-FJHFfqpKUI3A10WrWKiFbBZ7yVbGT4q4B5o1qKFFojqpaYoh9LrQgqWCmmcxQzVSXYtyB5bzkXrYzlHTs21MYA== + +"@rollup/rollup-linux-riscv64-musl@4.60.4": + version "4.60.4" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.60.4.tgz" + integrity sha512-mcEl6CUT5IAUmQf1m9FYSmVqCJlpQ8r8eyftFUHG8i9OhY7BkBXSUdnLH5DOf0wCOjcP9v/QO93zpmF1SptCCw== + +"@rollup/rollup-linux-s390x-gnu@4.60.4": + version "4.60.4" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.60.4.tgz" + integrity sha512-ynt3JxVd2w2buzoKDWIyiV1pJW93xlQic1THVLXilz429oijRpSHivZAgp65KBu+cMcgf1eVVjdnTLvPxgCuoQ== + +"@rollup/rollup-linux-x64-gnu@4.60.4": + version "4.60.4" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.60.4.tgz" + integrity sha512-Boiz5+MsaROEWDf+GGEwF8VMHGhlUoQMtIPjOgA5fv4osupqTVnJteQNKJwUcnUog2G55jYXH7KZFFiJe0TEzQ== + +"@rollup/rollup-linux-x64-musl@4.60.4": + version "4.60.4" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.60.4.tgz" + integrity sha512-+qfSY27qIrFfI/Hom04KYFw3GKZSGU4lXus51wsb5EuySfFlWRwjkKWoE9emgRw/ukoT4Udsj4W/+xxG8VbPKg== + +"@rollup/rollup-openbsd-x64@4.60.4": + version "4.60.4" + resolved "https://registry.yarnpkg.com/@rollup/rollup-openbsd-x64/-/rollup-openbsd-x64-4.60.4.tgz" + integrity sha512-VpTfOPHgVXEBeeR8hZ2O0F3aSso+JDWqTWmTmzcQKted54IAdUVbxE+j/MVxUsKa8L20HJhv3vUezVPoquqWjA== + +"@rollup/rollup-openharmony-arm64@4.60.4": + version "4.60.4" + resolved "https://registry.yarnpkg.com/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.60.4.tgz" + integrity sha512-IPOsh5aRYuLv/nkU51X10Bf75Bsf6+gZdx1X+QP5QM6lIJFHHqbHLG0uJn/hWthzo13UAc2umiUorqZy3axoZg== + +"@rollup/rollup-win32-arm64-msvc@4.60.4": + version "4.60.4" + resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.60.4.tgz" + integrity sha512-4QzE9E81OohJ/HKzHhsqU+zcYYojVOXlFMs1DdyMT6qXl/niOH7AVElmmEdUNHHS/oRkc++d5k6Vy85zFs0DEw== + +"@rollup/rollup-win32-ia32-msvc@4.60.4": + version "4.60.4" + resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.60.4.tgz" + integrity sha512-zTPgT1YuHHcd+Tmx7h8aml0FWFVelV5N54oHow9SLj+GfoDy/huQ+UV396N/C7KpMDMiPspRktzM1/0r1usYEA== + +"@rollup/rollup-win32-x64-gnu@4.60.4": + version "4.60.4" + resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.60.4.tgz" + integrity sha512-DRS4G7mi9lJxqEDezIkKCaUIKCrLUUDCUaCsTPCi/rtqaC6D/jjwslMQyiDU50Ka0JKpeXeRBFBAXwArY52vBw== + +"@rollup/rollup-win32-x64-msvc@4.60.4": + version "4.60.4" + resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.60.4.tgz" + integrity sha512-QVTUovf40zgTqlFVrKA1uXMVvU2QWEFWfAH8Wdc48IxLvrJMQVMBRjuQyUpzZCDkakImib9eVazbWlC6ksWtJw== + +"@types/chai@^5.2.2": + version "5.2.3" + resolved "https://registry.yarnpkg.com/@types/chai/-/chai-5.2.3.tgz" + integrity sha512-Mw558oeA9fFbv65/y4mHtXDs9bPnFMZAL/jxdPFUpOHHIXX91mcgEHbS5Lahr+pwZFR8A7GQleRWeI6cGFC2UA== + dependencies: + "@types/deep-eql" "*" + assertion-error "^2.0.1" + +"@types/deep-eql@*": + version "4.0.2" + resolved "https://registry.yarnpkg.com/@types/deep-eql/-/deep-eql-4.0.2.tgz" + integrity sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw== + +"@types/estree@1.0.8", "@types/estree@^1.0.0", "@types/estree@^1.0.6": + version "1.0.9" + resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.9.tgz" + integrity sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg== + +"@types/json-schema@^7.0.15": + version "7.0.15" + resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.15.tgz" + integrity sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA== + +"@vitejs/plugin-vue@^5.2.3": + version "5.2.4" + resolved "https://registry.yarnpkg.com/@vitejs/plugin-vue/-/plugin-vue-5.2.4.tgz" + integrity sha512-7Yx/SXSOcQq5HiiV3orevHUFn+pmMB4cgbEkDYgnkUWb0WfeQ/wa2yFv6D5ICiCQOVpjA7vYDXrC7AGO8yjDHA== + +"@vitest/expect@3.2.4": + version "3.2.4" + resolved "https://registry.yarnpkg.com/@vitest/expect/-/expect-3.2.4.tgz" + integrity sha512-Io0yyORnB6sikFlt8QW5K7slY4OjqNX9jmJQ02QDda8lyM6B5oNgVWoSoKPac8/kgnCUzuHQKrSLtu/uOqqrig== + dependencies: + "@types/chai" "^5.2.2" + "@vitest/spy" "3.2.4" + "@vitest/utils" "3.2.4" + chai "^5.2.0" + tinyrainbow "^2.0.0" + +"@vitest/mocker@3.2.4": + version "3.2.4" + resolved "https://registry.yarnpkg.com/@vitest/mocker/-/mocker-3.2.4.tgz" + integrity sha512-46ryTE9RZO/rfDd7pEqFl7etuyzekzEhUbTW3BvmeO/BcCMEgq59BKhek3dXDWgAj4oMK6OZi+vRr1wPW6qjEQ== + dependencies: + "@vitest/spy" "3.2.4" + estree-walker "^3.0.3" + magic-string "^0.30.17" + +"@vitest/mocker/node_modules/estree-walker@3.0.3": + version "3.0.3" + resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-3.0.3.tgz" + integrity sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g== + dependencies: + "@types/estree" "^1.0.0" + +"@vitest/pretty-format@3.2.4", "@vitest/pretty-format@^3.2.4": + version "3.2.4" + resolved "https://registry.yarnpkg.com/@vitest/pretty-format/-/pretty-format-3.2.4.tgz" + integrity sha512-IVNZik8IVRJRTr9fxlitMKeJeXFFFN0JaB9PHPGQ8NKQbGpfjlTx9zO4RefN8gp7eqjNy8nyK3NZmBzOPeIxtA== + dependencies: + tinyrainbow "^2.0.0" + +"@vitest/runner@3.2.4": + version "3.2.4" + resolved "https://registry.yarnpkg.com/@vitest/runner/-/runner-3.2.4.tgz" + integrity sha512-oukfKT9Mk41LreEW09vt45f8wx7DordoWUZMYdY/cyAk7w5TWkTRCNZYF7sX7n2wB7jyGAl74OxgwhPgKaqDMQ== + dependencies: + "@vitest/utils" "3.2.4" + pathe "^2.0.3" + strip-literal "^3.0.0" + +"@vitest/snapshot@3.2.4": + version "3.2.4" + resolved "https://registry.yarnpkg.com/@vitest/snapshot/-/snapshot-3.2.4.tgz" + integrity sha512-dEYtS7qQP2CjU27QBC5oUOxLE/v5eLkGqPE0ZKEIDGMs4vKWe7IjgLOeauHsR0D5YuuycGRO5oSRXnwnmA78fQ== + dependencies: + "@vitest/pretty-format" "3.2.4" + magic-string "^0.30.17" + pathe "^2.0.3" + +"@vitest/spy@3.2.4": + version "3.2.4" + resolved "https://registry.yarnpkg.com/@vitest/spy/-/spy-3.2.4.tgz" + integrity sha512-vAfasCOe6AIK70iP5UD11Ac4siNUNJ9i/9PZ3NKx07sG6sUxeag1LWdNrMWeKKYBLlzuK+Gn65Yd5nyL6ds+nw== + dependencies: + tinyspy "^4.0.3" + +"@vitest/ui@^3.2.4": + version "3.2.4" + resolved "https://registry.yarnpkg.com/@vitest/ui/-/ui-3.2.4.tgz" + integrity sha512-hGISOaP18plkzbWEcP/QvtRW1xDXF2+96HbEX6byqQhAUbiS5oH6/9JwW+QsQCIYON2bI6QZBF+2PvOmrRZ9wA== + dependencies: + "@vitest/utils" "3.2.4" + fflate "^0.8.2" + flatted "^3.3.3" + pathe "^2.0.3" + sirv "^3.0.1" + tinyglobby "^0.2.14" + tinyrainbow "^2.0.0" + +"@vitest/utils@3.2.4": + version "3.2.4" + resolved "https://registry.yarnpkg.com/@vitest/utils/-/utils-3.2.4.tgz" + integrity sha512-fB2V0JFrQSMsCo9HiSq3Ezpdv4iYaXRG1Sx8edX3MwxfyNn83mKiGzOcH+Fkxt4MHxr3y42fQi1oeAInqgX2QA== + dependencies: + "@vitest/pretty-format" "3.2.4" + loupe "^3.1.4" + tinyrainbow "^2.0.0" + +"@volar/language-core@2.4.15": + version "2.4.15" + resolved "https://registry.yarnpkg.com/@volar/language-core/-/language-core-2.4.15.tgz" + integrity sha512-3VHw+QZU0ZG9IuQmzT68IyN4hZNd9GchGPhbD9+pa8CVv7rnoOZwo7T8weIbrRmihqy3ATpdfXFnqRrfPVK6CA== + dependencies: + "@volar/source-map" "2.4.15" + +"@volar/source-map@2.4.15": + version "2.4.15" + resolved "https://registry.yarnpkg.com/@volar/source-map/-/source-map-2.4.15.tgz" + integrity sha512-CPbMWlUN6hVZJYGcU/GSoHu4EnCHiLaXI9n8c9la6RaI9W5JHX+NqG+GSQcB0JdC2FIBLdZJwGsfKyBB71VlTg== + +"@volar/typescript@2.4.15": + version "2.4.15" + resolved "https://registry.yarnpkg.com/@volar/typescript/-/typescript-2.4.15.tgz" + integrity sha512-2aZ8i0cqPGjXb4BhkMsPYDkkuc2ZQ6yOpqwAuNwUoncELqoy5fRgOQtLR9gB0g902iS0NAkvpIzs27geVyVdPg== + dependencies: + "@volar/language-core" "2.4.15" + path-browserify "^1.0.1" + vscode-uri "^3.0.8" + +"@vue/compiler-core@3.5.34": + version "3.5.34" + resolved "https://registry.yarnpkg.com/@vue/compiler-core/-/compiler-core-3.5.34.tgz" + integrity sha512-s9cLyK5mLcvZ4Agva5QgRsQyLKvts9WbU9DB6NqiZkkGEdwmcEiylj5Jbwkp680drF/NNCV8OlAJSe+yMLxaJw== + dependencies: + "@babel/parser" "^7.29.3" + "@vue/shared" "3.5.34" + entities "^7.0.1" + estree-walker "^2.0.2" + source-map-js "^1.2.1" + +"@vue/compiler-dom@3.5.34", "@vue/compiler-dom@^3.5.0": + version "3.5.34" + resolved "https://registry.yarnpkg.com/@vue/compiler-dom/-/compiler-dom-3.5.34.tgz" + integrity sha512-EbF/T++k0e2MMZlJsBhzK8Sgwt0HcIPOhzn1CTB/lv6sQcyk+OWf8YeiLxZp3ro7MbbLcAfAJ6sEvjFWuNgUCw== + dependencies: + "@vue/compiler-core" "3.5.34" + "@vue/shared" "3.5.34" + +"@vue/compiler-sfc@3.5.34": + version "3.5.34" + resolved "https://registry.yarnpkg.com/@vue/compiler-sfc/-/compiler-sfc-3.5.34.tgz" + integrity sha512-D/ihr6uZeIt6r+pVZf46RWT1fAsLFMbUP7k8G1VkiiWexriED9GrX3echHd4Abbt17zjlfiFJ8z7a3BxZOPNjg== + dependencies: + "@babel/parser" "^7.29.3" + "@vue/compiler-core" "3.5.34" + "@vue/compiler-dom" "3.5.34" + "@vue/compiler-ssr" "3.5.34" + "@vue/shared" "3.5.34" + estree-walker "^2.0.2" + magic-string "^0.30.21" + postcss "^8.5.14" + source-map-js "^1.2.1" + +"@vue/compiler-ssr@3.5.34": + version "3.5.34" + resolved "https://registry.yarnpkg.com/@vue/compiler-ssr/-/compiler-ssr-3.5.34.tgz" + integrity sha512-cDtTHKibkThKGHH1SP+WdccquNRYQDFH6rRjQCqT9G2ltFAfoR5pUftpab/z+aM5mW9HLLVQW7hfKKQe/1GBeQ== + dependencies: + "@vue/compiler-dom" "3.5.34" + "@vue/shared" "3.5.34" + +"@vue/compiler-vue2@^2.7.16": + version "2.7.16" + resolved "https://registry.yarnpkg.com/@vue/compiler-vue2/-/compiler-vue2-2.7.16.tgz" + integrity sha512-qYC3Psj9S/mfu9uVi5WvNZIzq+xnXMhOwbTFKKDD7b1lhpnn71jXSFdTQ+WsIEk0ONCd7VV2IMm7ONl6tbQ86A== + dependencies: + de-indent "^1.0.2" + he "^1.2.0" + +"@vue/language-core@2.2.12": + version "2.2.12" + resolved "https://registry.yarnpkg.com/@vue/language-core/-/language-core-2.2.12.tgz" + integrity sha512-IsGljWbKGU1MZpBPN+BvPAdr55YPkj2nB/TBNGNC32Vy2qLG25DYu/NBN2vNtZqdRbTRjaoYrahLrToim2NanA== + dependencies: + "@volar/language-core" "2.4.15" + "@vue/compiler-dom" "^3.5.0" + "@vue/compiler-vue2" "^2.7.16" + "@vue/shared" "^3.5.0" + alien-signals "^1.0.3" + minimatch "^9.0.3" + muggle-string "^0.4.1" + path-browserify "^1.0.1" + +"@vue/language-core/node_modules/brace-expansion@2.1.1": + version "2.1.1" + resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-2.1.1.tgz" + integrity sha512-WR1cURNjuvBLMZBMbqM0UoE+WAfdUcEV1ccD8PVBVOI+Z3ND4+SZbN8RsfT2bMuG1qwz5RFvPukSZm5fF2D5eA== + dependencies: + balanced-match "^1.0.0" + +"@vue/language-core/node_modules/minimatch@9.0.9": + version "9.0.9" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.9.tgz" + integrity sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg== + dependencies: + brace-expansion "^2.0.2" + +"@vue/reactivity@3.5.34": + version "3.5.34" + resolved "https://registry.yarnpkg.com/@vue/reactivity/-/reactivity-3.5.34.tgz" + integrity sha512-y9XDjCEuBp+98k+UL5dbYkh57AHU4o6cxZedOPXw3bmrZZYLQsVHguGurq7hVrPCSrQtrnz1f9dssyFr+dMXfQ== + dependencies: + "@vue/shared" "3.5.34" + +"@vue/runtime-core@3.5.34": + version "3.5.34" + resolved "https://registry.yarnpkg.com/@vue/runtime-core/-/runtime-core-3.5.34.tgz" + integrity sha512-mKeBYvu8tcMSLhypAHBmriUFfWXKTCF/23Z4jiCoYK3UtWepkliViNLuR90V9XOyD62mUxs9p1jsrpK3CCGIzw== + dependencies: + "@vue/reactivity" "3.5.34" + "@vue/shared" "3.5.34" + +"@vue/runtime-dom@3.5.34": + version "3.5.34" + resolved "https://registry.yarnpkg.com/@vue/runtime-dom/-/runtime-dom-3.5.34.tgz" + integrity sha512-e8kZzERmCwUnBRVsgSQlAfrfU2rGoy0FFKPBXSlfEjc/O3KfA7QP0t1/2ZylrbchjmIKB4dPTd07A6WPr0eOrg== + dependencies: + "@vue/reactivity" "3.5.34" + "@vue/runtime-core" "3.5.34" + "@vue/shared" "3.5.34" + csstype "^3.2.3" + +"@vue/server-renderer@3.5.34": + version "3.5.34" + resolved "https://registry.yarnpkg.com/@vue/server-renderer/-/server-renderer-3.5.34.tgz" + integrity sha512-nHxmJoTrKsmrkbILRhkC9gY1G3moZbJTqCzDd7DOOzG5KH9oeJ0Unqrff5f9v0pW//jES05ZkJcNtfE8JjOIew== + dependencies: + "@vue/compiler-ssr" "3.5.34" + "@vue/shared" "3.5.34" + +"@vue/shared@3.5.34", "@vue/shared@^3.5.0": + version "3.5.34" + resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.5.34.tgz" + integrity sha512-24uqU4OIiX29ryC3MeWid/Xf2fa2EFRUVLb77nRhk+UrTVrh/XiGtFAFmJBAtBRbjwNdsPRP+jj/OL27Eg1NDA== + +"@vue/test-utils@^2.4.6": + version "2.4.10" + resolved "https://registry.yarnpkg.com/@vue/test-utils/-/test-utils-2.4.10.tgz" + integrity sha512-SmoZ5EA1kYiAFs9NkYdiFFQF+cSnUwnvlYEbY+DogWQZUiqOm/Y29eSbc5T6yi75SgSF9863SBeXniIEoPajCA== + dependencies: + js-beautify "^1.14.9" + vue-component-type-helpers "^3.0.0" + +"abbrev@^2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-2.0.0.tgz" + integrity sha512-6/mh1E2u2YgEsCHdY0Yx5oW+61gZU+1vXaoiHHrpKeuRNNgFvS+/jrwHiQhB5apAf5oB7UB7E19ol2R2LKH8hQ== + +"acorn@^8.15.0": + version "8.16.0" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.16.0.tgz" + integrity sha512-UVJyE9MttOsBQIDKw1skb9nAwQuR5wuGD3+82K6JgJlm/Y+KI92oNsMNGZCYdDsVtRHSak0pcV5Dno5+4jh9sw== + +"acorn-jsx@^5.3.2": + version "5.3.2" + resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz" + integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ== + +"agent-base@^7.1.0", "agent-base@^7.1.2": + version "7.1.4" + resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-7.1.4.tgz" + integrity sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ== + +"ajv@^6.14.0": + version "6.15.0" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.15.0.tgz" + integrity sha512-fgFx7Hfoq60ytK2c7DhnF8jIvzYgOMxfugjLOSMHjLIPgenqa7S7oaagATUq99mV6IYvN2tRmC0wnTYX6iPbMw== + dependencies: + fast-deep-equal "^3.1.1" + fast-json-stable-stringify "^2.0.0" + json-schema-traverse "^0.4.1" + uri-js "^4.2.2" + +"alien-signals@^1.0.3": + version "1.0.13" + resolved "https://registry.yarnpkg.com/alien-signals/-/alien-signals-1.0.13.tgz" + integrity sha512-OGj9yyTnJEttvzhTUWuscOvtqxq5vrhF7vL9oS0xJ2mK0ItPYP1/y+vCFebfxoEyAz0++1AIwJ5CMr+Fk3nDmg== + +"ansi-regex@^5.0.1", "ansi-regex@^6.2.2": + version "6.2.2" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-6.2.2.tgz" + integrity sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg== + +"ansi-styles@^4.0.0", "ansi-styles@^4.1.0", "ansi-styles@^6.1.0": + version "4.3.0" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.3.0.tgz" + integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== + dependencies: + color-convert "^2.0.1" + +"argparse@^2.0.1": + version "2.0.1" + resolved "https://registry.yarnpkg.com/argparse/-/argparse-2.0.1.tgz" + integrity sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q== + +"assertion-error@^2.0.1": + version "2.0.1" + resolved "https://registry.yarnpkg.com/assertion-error/-/assertion-error-2.0.1.tgz" + integrity sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA== + +"balanced-match@^1.0.0": + version "1.0.2" + resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz" + integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== + +"brace-expansion@^1.1.7", "brace-expansion@^2.0.2": + version "1.1.15" + resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.15.tgz" + integrity sha512-EwOCDEex4quD37XhqM3omwtMoJjr//isUZz1JopUNWms+4Z2ViyM/k1YIRePpoVNnQhENnxtFjLaxNHrT7xIUg== + dependencies: + balanced-match "^1.0.0" + concat-map "0.0.1" + +"cac@^6.7.14": + version "6.7.14" + resolved "https://registry.yarnpkg.com/cac/-/cac-6.7.14.tgz" + integrity sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ== + +"callsites@^3.0.0": + version "3.1.0" + resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz" + integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== + +"chai@^5.2.0": + version "5.3.3" + resolved "https://registry.yarnpkg.com/chai/-/chai-5.3.3.tgz" + integrity sha512-4zNhdJD/iOjSH0A05ea+Ke6MU5mmpQcbQsSOkgdaUMJ9zTlDTD/GYlwohmIE2u0gaxHYiVHEn1Fw9mZ/ktJWgw== + dependencies: + assertion-error "^2.0.1" + check-error "^2.1.1" + deep-eql "^5.0.1" + loupe "^3.1.0" + pathval "^2.0.0" + +"chalk@^4.0.0": + version "4.1.2" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz" + integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== + dependencies: + ansi-styles "^4.1.0" + supports-color "^7.1.0" + +"check-error@^2.1.1": + version "2.1.3" + resolved "https://registry.yarnpkg.com/check-error/-/check-error-2.1.3.tgz" + integrity sha512-PAJdDJusoxnwm1VwW07VWwUN1sl7smmC3OKggvndJFadxxDRyFJBX/ggnu/KE4kQAB7a3Dp8f/YXC1FlUprWmA== + +"color-convert@^2.0.1": + version "2.0.1" + resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz" + integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ== + dependencies: + color-name "~1.1.4" + +"color-name@~1.1.4": + version "1.1.4" + resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz" + integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== + +"commander@^10.0.0": + version "10.0.1" + resolved "https://registry.yarnpkg.com/commander/-/commander-10.0.1.tgz" + integrity sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug== + +"concat-map@0.0.1": + version "0.0.1" + resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz" + integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg== + +"config-chain@^1.1.13": + version "1.1.13" + resolved "https://registry.yarnpkg.com/config-chain/-/config-chain-1.1.13.tgz" + integrity sha512-qj+f8APARXHrM0hraqXYb2/bOVSV4PvJQlNZ/DVj0QrmNM2q2euizkeuVckQ57J+W0mRH6Hvi+k50M4Jul2VRQ== + dependencies: + ini "^1.3.4" + proto-list "~1.2.1" + +"cross-spawn@^7.0.6": + version "7.0.6" + resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.6.tgz" + integrity sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA== + dependencies: + path-key "^3.1.0" + shebang-command "^2.0.0" + which "^2.0.1" + +"cssstyle@^4.2.1": + version "4.6.0" + resolved "https://registry.yarnpkg.com/cssstyle/-/cssstyle-4.6.0.tgz" + integrity sha512-2z+rWdzbbSZv6/rhtvzvqeZQHrBaqgogqt85sqFNbabZOuFbCVFb8kPeEtZjiKkbrm395irpNKiYeFeLiQnFPg== + dependencies: + "@asamuzakjp/css-color" "^3.2.0" + rrweb-cssom "^0.8.0" + +"csstype@^3.2.3": + version "3.2.3" + resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.2.3.tgz" + integrity sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ== + +"data-urls@^5.0.0": + version "5.0.0" + resolved "https://registry.yarnpkg.com/data-urls/-/data-urls-5.0.0.tgz" + integrity sha512-ZYP5VBHshaDAiVZxjbRVcFJpc+4xGgT0bK3vzy1HLN8jTO975HEbuYzZJcHoQEY5K1a0z8YayJkyVETa08eNTg== + dependencies: + whatwg-mimetype "^4.0.0" + whatwg-url "^14.0.0" + +"de-indent@^1.0.2": + version "1.0.2" + resolved "https://registry.yarnpkg.com/de-indent/-/de-indent-1.0.2.tgz" + integrity sha512-e/1zu3xH5MQryN2zdVaF0OrdNLUbvWxzMbi+iNA6Bky7l1RoP8a2fIbRocyHclXt/arDrrR6lL3TqFD9pMQTsg== + +"debug@4", "debug@^4.3.1", "debug@^4.3.2", "debug@^4.3.4", "debug@^4.4.1": + version "4.4.3" + resolved "https://registry.yarnpkg.com/debug/-/debug-4.4.3.tgz" + integrity sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA== + dependencies: + ms "^2.1.3" + +"decimal.js@^10.5.0": + version "10.6.0" + resolved "https://registry.yarnpkg.com/decimal.js/-/decimal.js-10.6.0.tgz" + integrity sha512-YpgQiITW3JXGntzdUmyUR1V812Hn8T1YVXhCu+wO3OpS4eU9l4YdD3qjyiKdV6mvV29zapkMeD390UVEf2lkUg== + +"deep-eql@^5.0.1": + version "5.0.2" + resolved "https://registry.yarnpkg.com/deep-eql/-/deep-eql-5.0.2.tgz" + integrity sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q== + +"deep-is@^0.1.3": + version "0.1.4" + resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.4.tgz" + integrity sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ== + +"eastasianwidth@^0.2.0": + version "0.2.0" + resolved "https://registry.yarnpkg.com/eastasianwidth/-/eastasianwidth-0.2.0.tgz" + integrity sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA== + +"editorconfig@^1.0.4": + version "1.0.7" + resolved "https://registry.yarnpkg.com/editorconfig/-/editorconfig-1.0.7.tgz" + integrity sha512-e0GOtq/aTQhVdNyDU9e02+wz9oDDM+SIOQxWME2QRjzRX5yyLAuHDE+0aE8vHb9XRC8XD37eO2u57+F09JqFhw== + dependencies: + "@one-ini/wasm" "0.1.1" + commander "^10.0.0" + minimatch "^9.0.1" + semver "^7.5.3" + +"editorconfig/node_modules/brace-expansion@2.1.1": + version "2.1.1" + resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-2.1.1.tgz" + integrity sha512-WR1cURNjuvBLMZBMbqM0UoE+WAfdUcEV1ccD8PVBVOI+Z3ND4+SZbN8RsfT2bMuG1qwz5RFvPukSZm5fF2D5eA== + dependencies: + balanced-match "^1.0.0" + +"editorconfig/node_modules/minimatch@9.0.9": + version "9.0.9" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.9.tgz" + integrity sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg== + dependencies: + brace-expansion "^2.0.2" + +"emoji-regex@^8.0.0", "emoji-regex@^9.2.2": + version "9.2.2" + resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-9.2.2.tgz" + integrity sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg== + +"entities@^6.0.0", "entities@^7.0.1": + version "7.0.1" + resolved "https://registry.yarnpkg.com/entities/-/entities-7.0.1.tgz" + integrity sha512-TWrgLOFUQTH994YUyl1yT4uyavY5nNB5muff+RtWaqNVCAK408b5ZnnbNAUEWLTCpum9w6arT70i1XdQ4UeOPA== + +"es-module-lexer@^1.7.0": + version "1.7.0" + resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-1.7.0.tgz" + integrity sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA== + +"esbuild@^0.25.0": + version "0.25.12" + resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.25.12.tgz" + integrity sha512-bbPBYYrtZbkt6Os6FiTLCTFxvq4tt3JKall1vRwshA3fdVztsLAatFaZobhkBC8/BrPetoa0oksYoKXoG4ryJg== + dependencies: + "@esbuild/aix-ppc64" "0.25.12" + "@esbuild/android-arm" "0.25.12" + "@esbuild/android-arm64" "0.25.12" + "@esbuild/android-x64" "0.25.12" + "@esbuild/darwin-arm64" "0.25.12" + "@esbuild/darwin-x64" "0.25.12" + "@esbuild/freebsd-arm64" "0.25.12" + "@esbuild/freebsd-x64" "0.25.12" + "@esbuild/linux-arm" "0.25.12" + "@esbuild/linux-arm64" "0.25.12" + "@esbuild/linux-ia32" "0.25.12" + "@esbuild/linux-loong64" "0.25.12" + "@esbuild/linux-mips64el" "0.25.12" + "@esbuild/linux-ppc64" "0.25.12" + "@esbuild/linux-riscv64" "0.25.12" + "@esbuild/linux-s390x" "0.25.12" + "@esbuild/linux-x64" "0.25.12" + "@esbuild/netbsd-arm64" "0.25.12" + "@esbuild/netbsd-x64" "0.25.12" + "@esbuild/openbsd-arm64" "0.25.12" + "@esbuild/openbsd-x64" "0.25.12" + "@esbuild/openharmony-arm64" "0.25.12" + "@esbuild/sunos-x64" "0.25.12" + "@esbuild/win32-arm64" "0.25.12" + "@esbuild/win32-ia32" "0.25.12" + "@esbuild/win32-x64" "0.25.12" + +"escape-string-regexp@^4.0.0": + version "4.0.0" + resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz" + integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== + +"eslint@^9.9.0": + version "9.39.4" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-9.39.4.tgz" + integrity sha512-XoMjdBOwe/esVgEvLmNsD3IRHkm7fbKIUGvrleloJXUZgDHig2IPWNniv+GwjyJXzuNqVjlr5+4yVUZjycJwfQ== + dependencies: + "@eslint-community/eslint-utils" "^4.8.0" + "@eslint-community/regexpp" "^4.12.1" + "@eslint/config-array" "^0.21.2" + "@eslint/config-helpers" "^0.4.2" + "@eslint/core" "^0.17.0" + "@eslint/eslintrc" "^3.3.5" + "@eslint/js" "9.39.4" + "@eslint/plugin-kit" "^0.4.1" + "@humanfs/node" "^0.16.6" + "@humanwhocodes/module-importer" "^1.0.1" + "@humanwhocodes/retry" "^0.4.2" + "@types/estree" "^1.0.6" + ajv "^6.14.0" + chalk "^4.0.0" + cross-spawn "^7.0.6" + debug "^4.3.2" + escape-string-regexp "^4.0.0" + eslint-scope "^8.4.0" + eslint-visitor-keys "^4.2.1" + espree "^10.4.0" + esquery "^1.5.0" + esutils "^2.0.2" + fast-deep-equal "^3.1.3" + file-entry-cache "^8.0.0" + find-up "^5.0.0" + glob-parent "^6.0.2" + ignore "^5.2.0" + imurmurhash "^0.1.4" + is-glob "^4.0.0" + json-stable-stringify-without-jsonify "^1.0.1" + lodash.merge "^4.6.2" + minimatch "^3.1.5" + natural-compare "^1.4.0" + optionator "^0.9.3" + +"eslint-scope@^8.4.0": + version "8.4.0" + resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-8.4.0.tgz" + integrity sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg== + dependencies: + esrecurse "^4.3.0" + estraverse "^5.2.0" + +"eslint-visitor-keys@^3.4.3", "eslint-visitor-keys@^4.2.1": + version "4.2.1" + resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-4.2.1.tgz" + integrity sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ== + +"espree@^10.0.1", "espree@^10.4.0": + version "10.4.0" + resolved "https://registry.yarnpkg.com/espree/-/espree-10.4.0.tgz" + integrity sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ== + dependencies: + acorn "^8.15.0" + acorn-jsx "^5.3.2" + eslint-visitor-keys "^4.2.1" + +"esquery@^1.5.0": + version "1.7.0" + resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.7.0.tgz" + integrity sha512-Ap6G0WQwcU/LHsvLwON1fAQX9Zp0A2Y6Y/cJBl9r/JbW90Zyg4/zbG6zzKa2OTALELarYHmKu0GhpM5EO+7T0g== + dependencies: + estraverse "^5.1.0" + +"esrecurse@^4.3.0": + version "4.3.0" + resolved "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.3.0.tgz" + integrity sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag== + dependencies: + estraverse "^5.2.0" + +"estraverse@^5.1.0", "estraverse@^5.2.0": + version "5.3.0" + resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.3.0.tgz" + integrity sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA== + +"estree-walker@^2.0.2", "estree-walker@^3.0.3": + version "2.0.2" + resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-2.0.2.tgz" + integrity sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w== + +"esutils@^2.0.2": + version "2.0.3" + resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz" + integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== + +"expect-type@^1.2.1": + version "1.3.0" + resolved "https://registry.yarnpkg.com/expect-type/-/expect-type-1.3.0.tgz" + integrity sha512-knvyeauYhqjOYvQ66MznSMs83wmHrCycNEN6Ao+2AeYEfxUIkuiVxdEa1qlGEPK+We3n0THiDciYSsCcgW/DoA== + +"fast-deep-equal@^3.1.1", "fast-deep-equal@^3.1.3": + version "3.1.3" + resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz" + integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== + +"fast-json-stable-stringify@^2.0.0": + version "2.1.0" + resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz" + integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== + +"fast-levenshtein@^2.0.6": + version "2.0.6" + resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz" + integrity sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw== + +"fdir@^6.4.4", "fdir@^6.5.0": + version "6.5.0" + resolved "https://registry.yarnpkg.com/fdir/-/fdir-6.5.0.tgz" + integrity sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg== + +"fflate@^0.8.2": + version "0.8.3" + resolved "https://registry.yarnpkg.com/fflate/-/fflate-0.8.3.tgz" + integrity sha512-tbZNuJrLwGUp3zshBtdy4W+ORxZuIh8a5ilyIEQDC5rY1f3U20JMry0Ll3WBzU58EZKsEuJFXhb5gwv8CsPvgA== + +"file-entry-cache@^8.0.0": + version "8.0.0" + resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-8.0.0.tgz" + integrity sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ== + dependencies: + flat-cache "^4.0.0" + +"find-up@^5.0.0": + version "5.0.0" + resolved "https://registry.yarnpkg.com/find-up/-/find-up-5.0.0.tgz" + integrity sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng== + dependencies: + locate-path "^6.0.0" + path-exists "^4.0.0" + +"flat-cache@^4.0.0": + version "4.0.1" + resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-4.0.1.tgz" + integrity sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw== + dependencies: + flatted "^3.2.9" + keyv "^4.5.4" + +"flatted@^3.2.9", "flatted@^3.3.3": + version "3.4.2" + resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.4.2.tgz" + integrity sha512-PjDse7RzhcPkIJwy5t7KPWQSZ9cAbzQXcafsetQoD7sOJRQlGikNbx7yZp2OotDnJyrDcbyRq3Ttb18iYOqkxA== + +"foreground-child@^3.1.0": + version "3.3.1" + resolved "https://registry.yarnpkg.com/foreground-child/-/foreground-child-3.3.1.tgz" + integrity sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw== + dependencies: + cross-spawn "^7.0.6" + signal-exit "^4.0.1" + +"fsevents@~2.3.2", "fsevents@~2.3.3": + version "2.3.3" + resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.3.tgz" + integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw== + +"glob@^10.4.2": + version "10.5.0" + resolved "https://registry.yarnpkg.com/glob/-/glob-10.5.0.tgz" + integrity sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg== + dependencies: + foreground-child "^3.1.0" + jackspeak "^3.1.2" + minimatch "^9.0.4" + minipass "^7.1.2" + package-json-from-dist "^1.0.0" + path-scurry "^1.11.1" + +"glob-parent@^6.0.2": + version "6.0.2" + resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-6.0.2.tgz" + integrity sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A== + dependencies: + is-glob "^4.0.3" + +"glob/node_modules/brace-expansion@2.1.1": + version "2.1.1" + resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-2.1.1.tgz" + integrity sha512-WR1cURNjuvBLMZBMbqM0UoE+WAfdUcEV1ccD8PVBVOI+Z3ND4+SZbN8RsfT2bMuG1qwz5RFvPukSZm5fF2D5eA== + dependencies: + balanced-match "^1.0.0" + +"glob/node_modules/minimatch@9.0.9": + version "9.0.9" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.9.tgz" + integrity sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg== + dependencies: + brace-expansion "^2.0.2" + +"globals@^14.0.0", "globals@^15.9.0": + version "15.15.0" + resolved "https://registry.yarnpkg.com/globals/-/globals-15.15.0.tgz" + integrity sha512-7ACyT3wmyp3I61S4fG682L0VA2RGD9otkqGJIwNUMF1SWUombIIk+af1unuDYgMm082aHYwD+mzJvv9Iu8dsgg== + +"gridstack@^12.6.0": + version "12.6.0" + resolved "https://registry.yarnpkg.com/gridstack/-/gridstack-12.6.0.tgz" + integrity sha512-dUrqsormSybFn/2P4Dz8AgprftKD5e/IiV7UmC0XLQU+G+/WtkAeFiCSNLoAGhPDXoJ/O61Xtj3gljY/Ds83yQ== + +"has-flag@^4.0.0": + version "4.0.0" + resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz" + integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== + +"he@^1.2.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz" + integrity sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw== + +"html-encoding-sniffer@^4.0.0": + version "4.0.0" + resolved "https://registry.yarnpkg.com/html-encoding-sniffer/-/html-encoding-sniffer-4.0.0.tgz" + integrity sha512-Y22oTqIU4uuPgEemfz7NDJz6OeKf12Lsu+QC+s3BVpda64lTiMYCyGwg5ki4vFxkMwQdeZDl2adZoqUgdFuTgQ== + dependencies: + whatwg-encoding "^3.1.1" + +"http-proxy-agent@^7.0.2": + version "7.0.2" + resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz" + integrity sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig== + dependencies: + agent-base "^7.1.0" + debug "^4.3.4" + +"https-proxy-agent@^7.0.6": + version "7.0.6" + resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz" + integrity sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw== + dependencies: + agent-base "^7.1.2" + debug "4" + +"iconv-lite@0.6.3": + version "0.6.3" + resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.6.3.tgz" + integrity sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw== + dependencies: + safer-buffer ">= 2.1.2 < 3.0.0" + +"ignore@^5.2.0": + version "5.3.2" + resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.3.2.tgz" + integrity sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g== + +"import-fresh@^3.2.1": + version "3.3.1" + resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.3.1.tgz" + integrity sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ== + dependencies: + parent-module "^1.0.0" + resolve-from "^4.0.0" + +"imurmurhash@^0.1.4": + version "0.1.4" + resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz" + integrity sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA== + +"ini@^1.3.4": + version "1.3.8" + resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.8.tgz" + integrity sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew== + +"is-extglob@^2.1.1": + version "2.1.1" + resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz" + integrity sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ== + +"is-fullwidth-code-point@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz" + integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== + +"is-glob@^4.0.0", "is-glob@^4.0.3": + version "4.0.3" + resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz" + integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg== + dependencies: + is-extglob "^2.1.1" + +"is-potential-custom-element-name@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz" + integrity sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ== + +"isexe@^2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz" + integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw== + +"jackspeak@^3.1.2": + version "3.4.3" + resolved "https://registry.yarnpkg.com/jackspeak/-/jackspeak-3.4.3.tgz" + integrity sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw== + dependencies: + "@isaacs/cliui" "^8.0.2" + "@pkgjs/parseargs" "^0.11.0" + +"js-beautify@^1.14.9": + version "1.15.4" + resolved "https://registry.yarnpkg.com/js-beautify/-/js-beautify-1.15.4.tgz" + integrity sha512-9/KXeZUKKJwqCXUdBxFJ3vPh467OCckSBmYDwSK/EtV090K+iMJ7zx2S3HLVDIWFQdqMIsZWbnaGiba18aWhaA== + dependencies: + config-chain "^1.1.13" + editorconfig "^1.0.4" + glob "^10.4.2" + js-cookie "^3.0.5" + nopt "^7.2.1" + +"js-cookie@^3.0.5": + version "3.0.7" + resolved "https://registry.yarnpkg.com/js-cookie/-/js-cookie-3.0.7.tgz" + integrity sha512-z/wZZgDrkNV1eA0ULjM/F9/50Ya8fbzgKneSpoPsXSGd0KnpdtHfOZWK+GcwLk+EZbS4F9RBhU+K2RgzuDaItw== + +"js-tokens@^9.0.1": + version "9.0.1" + resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-9.0.1.tgz" + integrity sha512-mxa9E9ITFOt0ban3j6L5MpjwegGz6lBQmM1IJkWeBZGcMxto50+eWdjC/52xDbS2vy0k7vIMK0Fe2wfL9OQSpQ== + +"js-yaml@^4.1.1": + version "4.1.1" + resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.1.tgz" + integrity sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA== + dependencies: + argparse "^2.0.1" + +"jsdom@^26.1.0": + version "26.1.0" + resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-26.1.0.tgz" + integrity sha512-Cvc9WUhxSMEo4McES3P7oK3QaXldCfNWp7pl2NNeiIFlCoLr3kfq9kb1fxftiwk1FLV7CvpvDfonxtzUDeSOPg== + dependencies: + cssstyle "^4.2.1" + data-urls "^5.0.0" + decimal.js "^10.5.0" + html-encoding-sniffer "^4.0.0" + http-proxy-agent "^7.0.2" + https-proxy-agent "^7.0.6" + is-potential-custom-element-name "^1.0.1" + nwsapi "^2.2.16" + parse5 "^7.2.1" + rrweb-cssom "^0.8.0" + saxes "^6.0.0" + symbol-tree "^3.2.4" + tough-cookie "^5.1.1" + w3c-xmlserializer "^5.0.0" + webidl-conversions "^7.0.0" + whatwg-encoding "^3.1.1" + whatwg-mimetype "^4.0.0" + whatwg-url "^14.1.1" + ws "^8.18.0" + xml-name-validator "^5.0.0" + +"json-buffer@3.0.1": + version "3.0.1" + resolved "https://registry.yarnpkg.com/json-buffer/-/json-buffer-3.0.1.tgz" + integrity sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ== + +"json-schema-traverse@^0.4.1": + version "0.4.1" + resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz" + integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg== + +"json-stable-stringify-without-jsonify@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz" + integrity sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw== + +"keyv@^4.5.4": + version "4.5.4" + resolved "https://registry.yarnpkg.com/keyv/-/keyv-4.5.4.tgz" + integrity sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw== + dependencies: + json-buffer "3.0.1" + +"levn@^0.4.1": + version "0.4.1" + resolved "https://registry.yarnpkg.com/levn/-/levn-0.4.1.tgz" + integrity sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ== + dependencies: + prelude-ls "^1.2.1" + type-check "~0.4.0" + +"locate-path@^6.0.0": + version "6.0.0" + resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-6.0.0.tgz" + integrity sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw== + dependencies: + p-locate "^5.0.0" + +"lodash.merge@^4.6.2": + version "4.6.2" + resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz" + integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ== + +"loupe@^3.1.0", "loupe@^3.1.4": + version "3.2.1" + resolved "https://registry.yarnpkg.com/loupe/-/loupe-3.2.1.tgz" + integrity sha512-CdzqowRJCeLU72bHvWqwRBBlLcMEtIvGrlvef74kMnV2AolS9Y8xUv1I0U/MNAWMhBlKIoyuEgoJ0t/bbwHbLQ== + +"lru-cache@^10.2.0", "lru-cache@^10.4.3": + version "10.4.3" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.4.3.tgz" + integrity sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ== + +"magic-string@^0.30.17", "magic-string@^0.30.21": + version "0.30.21" + resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.30.21.tgz" + integrity sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ== + dependencies: + "@jridgewell/sourcemap-codec" "^1.5.5" + +"minimatch@^3.1.5", "minimatch@^9.0.1", "minimatch@^9.0.3", "minimatch@^9.0.4": + version "3.1.5" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.5.tgz" + integrity sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w== + dependencies: + brace-expansion "^1.1.7" + +"minipass@^5.0.0 || ^6.0.2 || ^7.0.0", "minipass@^7.1.2": + version "7.1.3" + resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.1.3.tgz" + integrity sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A== + +"mrmime@^2.0.0": + version "2.0.1" + resolved "https://registry.yarnpkg.com/mrmime/-/mrmime-2.0.1.tgz" + integrity sha512-Y3wQdFg2Va6etvQ5I82yUhGdsKrcYox6p7FfL1LbK2J4V01F9TGlepTIhnK24t7koZibmg82KGglhA1XK5IsLQ== + +"ms@^2.1.3": + version "2.1.3" + resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz" + integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== + +"muggle-string@^0.4.1": + version "0.4.1" + resolved "https://registry.yarnpkg.com/muggle-string/-/muggle-string-0.4.1.tgz" + integrity sha512-VNTrAak/KhO2i8dqqnqnAHOa3cYBwXEZe9h+D5h/1ZqFSTEFHdM65lR7RoIqq3tBBYavsOXV84NoHXZ0AkPyqQ== + +"nanoid@^3.3.12": + version "3.3.12" + resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.12.tgz" + integrity sha512-ZB9RH/39qpq5Vu6Y+NmUaFhQR6pp+M2Xt76XBnEwDaGcVAqhlvxrl3B2bKS5D3NH3QR76v3aSrKaF/Kiy7lEtQ== + +"natural-compare@^1.4.0": + version "1.4.0" + resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz" + integrity sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw== + +"nopt@^7.2.1": + version "7.2.1" + resolved "https://registry.yarnpkg.com/nopt/-/nopt-7.2.1.tgz" + integrity sha512-taM24ViiimT/XntxbPyJQzCG+p4EKOpgD3mxFwW38mGjVUrfERQOeY4EDHjdnptttfHuHQXFx+lTP08Q+mLa/w== + dependencies: + abbrev "^2.0.0" + +"nwsapi@^2.2.16": + version "2.2.23" + resolved "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.2.23.tgz" + integrity sha512-7wfH4sLbt4M0gCDzGE6vzQBo0bfTKjU7Sfpqy/7gs1qBfYz2vEJH6vXcBKpO3+6Yu1telwd0t9HpyOoLEQQbIQ== + +"optionator@^0.9.3": + version "0.9.4" + resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.9.4.tgz" + integrity sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g== + dependencies: + deep-is "^0.1.3" + fast-levenshtein "^2.0.6" + levn "^0.4.1" + prelude-ls "^1.2.1" + type-check "^0.4.0" + word-wrap "^1.2.5" + +"p-limit@^3.0.2": + version "3.1.0" + resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-3.1.0.tgz" + integrity sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ== + dependencies: + yocto-queue "^0.1.0" + +"p-locate@^5.0.0": + version "5.0.0" + resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-5.0.0.tgz" + integrity sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw== + dependencies: + p-limit "^3.0.2" + +"package-json-from-dist@^1.0.0": + version "1.0.1" + resolved "https://registry.yarnpkg.com/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz" + integrity sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw== + +"parent-module@^1.0.0": + version "1.0.1" + resolved "https://registry.yarnpkg.com/parent-module/-/parent-module-1.0.1.tgz" + integrity sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g== + dependencies: + callsites "^3.0.0" + +"parse5@^7.2.1": + version "7.3.0" + resolved "https://registry.yarnpkg.com/parse5/-/parse5-7.3.0.tgz" + integrity sha512-IInvU7fabl34qmi9gY8XOVxhYyMyuH2xUNpb2q8/Y+7552KlejkRvqvD19nMoUW/uQGGbqNpA6Tufu5FL5BZgw== + dependencies: + entities "^6.0.0" + +"parse5/node_modules/entities@6.0.1": + version "6.0.1" + resolved "https://registry.yarnpkg.com/entities/-/entities-6.0.1.tgz" + integrity sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g== + +"path-browserify@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/path-browserify/-/path-browserify-1.0.1.tgz" + integrity sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g== + +"path-exists@^4.0.0": + version "4.0.0" + resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz" + integrity sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w== + +"path-key@^3.1.0": + version "3.1.1" + resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz" + integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== + +"path-scurry@^1.11.1": + version "1.11.1" + resolved "https://registry.yarnpkg.com/path-scurry/-/path-scurry-1.11.1.tgz" + integrity sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA== + dependencies: + lru-cache "^10.2.0" + minipass "^5.0.0 || ^6.0.2 || ^7.0.0" + +"pathe@^2.0.3": + version "2.0.3" + resolved "https://registry.yarnpkg.com/pathe/-/pathe-2.0.3.tgz" + integrity sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w== + +"pathval@^2.0.0": + version "2.0.1" + resolved "https://registry.yarnpkg.com/pathval/-/pathval-2.0.1.tgz" + integrity sha512-//nshmD55c46FuFw26xV/xFAaB5HF9Xdap7HJBBnrKdAd6/GxDBaNA1870O79+9ueg61cZLSVc+OaFlfmObYVQ== + +"picocolors@^1.1.1": + version "1.1.1" + resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.1.1.tgz" + integrity sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA== + +"picomatch@^4.0.2", "picomatch@^4.0.4": + version "4.0.4" + resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-4.0.4.tgz" + integrity sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A== + +"postcss@^8.5.14", "postcss@^8.5.3": + version "8.5.15" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.5.15.tgz" + integrity sha512-FfR8sjd4em2T6fb3I2MwAJU7HWVMr9zba+enmQeeWFfCbm+UOC/0X4DS8XtpUTMwWMGbjKYP7xjfNekzyGmB3A== + dependencies: + nanoid "^3.3.12" + picocolors "^1.1.1" + source-map-js "^1.2.1" + +"prelude-ls@^1.2.1": + version "1.2.1" + resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz" + integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g== + +"proto-list@~1.2.1": + version "1.2.4" + resolved "https://registry.yarnpkg.com/proto-list/-/proto-list-1.2.4.tgz" + integrity sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA== + +"punycode@^2.1.0", "punycode@^2.3.1": + version "2.3.1" + resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.3.1.tgz" + integrity sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg== + +"resolve-from@^4.0.0": + version "4.0.0" + resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-4.0.0.tgz" + integrity sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g== + +"rollup@^4.34.9": + version "4.60.4" + resolved "https://registry.yarnpkg.com/rollup/-/rollup-4.60.4.tgz" + integrity sha512-WHeFSbZYsPu3+bLoNRUuAO+wavNlocOPf3wSHTP7hcFKVnJeWsYlCDbr3mTS14FCizf9ccIxXA8sGL8zKeQN3g== + dependencies: + "@rollup/rollup-android-arm-eabi" "4.60.4" + "@rollup/rollup-android-arm64" "4.60.4" + "@rollup/rollup-darwin-arm64" "4.60.4" + "@rollup/rollup-darwin-x64" "4.60.4" + "@rollup/rollup-freebsd-arm64" "4.60.4" + "@rollup/rollup-freebsd-x64" "4.60.4" + "@rollup/rollup-linux-arm-gnueabihf" "4.60.4" + "@rollup/rollup-linux-arm-musleabihf" "4.60.4" + "@rollup/rollup-linux-arm64-gnu" "4.60.4" + "@rollup/rollup-linux-arm64-musl" "4.60.4" + "@rollup/rollup-linux-loong64-gnu" "4.60.4" + "@rollup/rollup-linux-loong64-musl" "4.60.4" + "@rollup/rollup-linux-ppc64-gnu" "4.60.4" + "@rollup/rollup-linux-ppc64-musl" "4.60.4" + "@rollup/rollup-linux-riscv64-gnu" "4.60.4" + "@rollup/rollup-linux-riscv64-musl" "4.60.4" + "@rollup/rollup-linux-s390x-gnu" "4.60.4" + "@rollup/rollup-linux-x64-gnu" "4.60.4" + "@rollup/rollup-linux-x64-musl" "4.60.4" + "@rollup/rollup-openbsd-x64" "4.60.4" + "@rollup/rollup-openharmony-arm64" "4.60.4" + "@rollup/rollup-win32-arm64-msvc" "4.60.4" + "@rollup/rollup-win32-ia32-msvc" "4.60.4" + "@rollup/rollup-win32-x64-gnu" "4.60.4" + "@rollup/rollup-win32-x64-msvc" "4.60.4" + "@types/estree" "1.0.8" + fsevents "~2.3.2" + +"rollup/node_modules/@types/estree@1.0.8": + version "1.0.8" + resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.8.tgz" + integrity sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w== + +"rrweb-cssom@^0.8.0": + version "0.8.0" + resolved "https://registry.yarnpkg.com/rrweb-cssom/-/rrweb-cssom-0.8.0.tgz" + integrity sha512-guoltQEx+9aMf2gDZ0s62EcV8lsXR+0w8915TC3ITdn2YueuNjdAYh/levpU9nFaoChh9RUS5ZdQMrKfVEN9tw== + +"safer-buffer@>= 2.1.2 < 3.0.0": + version "2.1.2" + resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz" + integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== + +"saxes@^6.0.0": + version "6.0.0" + resolved "https://registry.yarnpkg.com/saxes/-/saxes-6.0.0.tgz" + integrity sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA== + dependencies: + xmlchars "^2.2.0" + +"semver@^7.5.3": + version "7.8.1" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.8.1.tgz" + integrity sha512-rkVq3IXh+4FDGch+KwzX3aV9W3kO54GyEgpvBzSyctDA6Xtd7RJQV1xmXbeQp5v7+VzLOfVqiutSE6GICgPFvg== + +"shebang-command@^2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz" + integrity sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA== + dependencies: + shebang-regex "^3.0.0" + +"shebang-regex@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz" + integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== + +"siginfo@^2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/siginfo/-/siginfo-2.0.0.tgz" + integrity sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g== + +"signal-exit@^4.0.1": + version "4.1.0" + resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-4.1.0.tgz" + integrity sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw== + +"sirv@^3.0.1": + version "3.0.2" + resolved "https://registry.yarnpkg.com/sirv/-/sirv-3.0.2.tgz" + integrity sha512-2wcC/oGxHis/BoHkkPwldgiPSYcpZK3JU28WoMVv55yHJgcZ8rlXvuG9iZggz+sU1d4bRgIGASwyWqjxu3FM0g== + dependencies: + "@polka/url" "^1.0.0-next.24" + mrmime "^2.0.0" + totalist "^3.0.0" + +"source-map-js@^1.2.1": + version "1.2.1" + resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.2.1.tgz" + integrity sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA== + +"stackback@0.0.2": + version "0.0.2" + resolved "https://registry.yarnpkg.com/stackback/-/stackback-0.0.2.tgz" + integrity sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw== + +"std-env@^3.9.0": + version "3.10.0" + resolved "https://registry.yarnpkg.com/std-env/-/std-env-3.10.0.tgz" + integrity sha512-5GS12FdOZNliM5mAOxFRg7Ir0pWz8MdpYm6AY6VPkGpbA7ZzmbzNcBJQ0GPvvyWgcY7QAhCgf9Uy89I03faLkg== + +"string-width@^4.1.0", "string-width@^5.0.1", "string-width@^5.1.2": + version "5.1.2" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-5.1.2.tgz" + integrity sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA== + dependencies: + eastasianwidth "^0.2.0" + emoji-regex "^9.2.2" + strip-ansi "^7.0.1" + +"string-width-cjs@npm:string-width@^4.2.0": + version "4.2.3" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" + +"string-width-cjs/node_modules/ansi-regex@5.0.1": + version "5.0.1" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz" + integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== + +"string-width-cjs/node_modules/emoji-regex@8.0.0": + version "8.0.0" + resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz" + integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== + +"string-width-cjs/node_modules/strip-ansi@6.0.1": + version "6.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + +"strip-ansi@^6.0.0", "strip-ansi@^6.0.1", "strip-ansi@^7.0.1": + version "7.2.0" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.2.0.tgz" + integrity sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w== + dependencies: + ansi-regex "^6.2.2" + +"strip-ansi-cjs@npm:strip-ansi@^6.0.1": + version "6.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + +"strip-ansi-cjs/node_modules/ansi-regex@5.0.1": + version "5.0.1" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz" + integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== + +"strip-json-comments@^3.1.1": + version "3.1.1" + resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz" + integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== + +"strip-literal@^3.0.0": + version "3.1.0" + resolved "https://registry.yarnpkg.com/strip-literal/-/strip-literal-3.1.0.tgz" + integrity sha512-8r3mkIM/2+PpjHoOtiAW8Rg3jJLHaV7xPwG+YRGrv6FP0wwk/toTpATxWYOW0BKdWwl82VT2tFYi5DlROa0Mxg== + dependencies: + js-tokens "^9.0.1" + +"supports-color@^7.1.0": + version "7.2.0" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz" + integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw== + dependencies: + has-flag "^4.0.0" + +"symbol-tree@^3.2.4": + version "3.2.4" + resolved "https://registry.yarnpkg.com/symbol-tree/-/symbol-tree-3.2.4.tgz" + integrity sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw== + +"tinybench@^2.9.0": + version "2.9.0" + resolved "https://registry.yarnpkg.com/tinybench/-/tinybench-2.9.0.tgz" + integrity sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg== + +"tinyexec@^0.3.2": + version "0.3.2" + resolved "https://registry.yarnpkg.com/tinyexec/-/tinyexec-0.3.2.tgz" + integrity sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA== + +"tinyglobby@^0.2.13", "tinyglobby@^0.2.14": + version "0.2.16" + resolved "https://registry.yarnpkg.com/tinyglobby/-/tinyglobby-0.2.16.tgz" + integrity sha512-pn99VhoACYR8nFHhxqix+uvsbXineAasWm5ojXoN8xEwK5Kd3/TrhNn1wByuD52UxWRLy8pu+kRMniEi6Eq9Zg== + dependencies: + fdir "^6.5.0" + picomatch "^4.0.4" + +"tinypool@^1.1.1": + version "1.1.1" + resolved "https://registry.yarnpkg.com/tinypool/-/tinypool-1.1.1.tgz" + integrity sha512-Zba82s87IFq9A9XmjiX5uZA/ARWDrB03OHlq+Vw1fSdt0I+4/Kutwy8BP4Y/y/aORMo61FQ0vIb5j44vSo5Pkg== + +"tinyrainbow@^2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/tinyrainbow/-/tinyrainbow-2.0.0.tgz" + integrity sha512-op4nsTR47R6p0vMUUoYl/a+ljLFVtlfaXkLQmqfLR1qHma1h/ysYk4hEXZ880bf2CYgTskvTa/e196Vd5dDQXw== + +"tinyspy@^4.0.3": + version "4.0.4" + resolved "https://registry.yarnpkg.com/tinyspy/-/tinyspy-4.0.4.tgz" + integrity sha512-azl+t0z7pw/z958Gy9svOTuzqIk6xq+NSheJzn5MMWtWTFywIacg2wUlzKFGtt3cthx0r2SxMK0yzJOR0IES7Q== + +"tldts@^6.1.32": + version "6.1.86" + resolved "https://registry.yarnpkg.com/tldts/-/tldts-6.1.86.tgz" + integrity sha512-WMi/OQ2axVTf/ykqCQgXiIct+mSQDFdH2fkwhPwgEwvJ1kSzZRiinb0zF2Xb8u4+OqPChmyI6MEu4EezNJz+FQ== + dependencies: + tldts-core "^6.1.86" + +"tldts-core@^6.1.86": + version "6.1.86" + resolved "https://registry.yarnpkg.com/tldts-core/-/tldts-core-6.1.86.tgz" + integrity sha512-Je6p7pkk+KMzMv2XXKmAE3McmolOQFdxkKw0R8EYNr7sELW46JqnNeTX8ybPiQgvg1ymCoF8LXs5fzFaZvJPTA== + +"totalist@^3.0.0": + version "3.0.1" + resolved "https://registry.yarnpkg.com/totalist/-/totalist-3.0.1.tgz" + integrity sha512-sf4i37nQ2LBx4m3wB74y+ubopq6W/dIzXg0FDGjsYnZHVa1Da8FH853wlL2gtUhg+xJXjfk3kUZS3BRoQeoQBQ== + +"tough-cookie@^5.1.1": + version "5.1.2" + resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-5.1.2.tgz" + integrity sha512-FVDYdxtnj0G6Qm/DhNPSb8Ju59ULcup3tuJxkFb5K8Bv2pUXILbf0xZWU8PX8Ov19OXljbUyveOFwRMwkXzO+A== + dependencies: + tldts "^6.1.32" + +"tr46@^5.1.0": + version "5.1.1" + resolved "https://registry.yarnpkg.com/tr46/-/tr46-5.1.1.tgz" + integrity sha512-hdF5ZgjTqgAntKkklYw0R03MG2x/bSzTtkxmIRw/sTNV8YXsCJ1tfLAX23lhxhHJlEf3CRCOCGGWw3vI3GaSPw== + dependencies: + punycode "^2.3.1" + +"type-check@^0.4.0", "type-check@~0.4.0": + version "0.4.0" + resolved "https://registry.yarnpkg.com/type-check/-/type-check-0.4.0.tgz" + integrity sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew== + dependencies: + prelude-ls "^1.2.1" + +"typescript@^5.5.3": + version "5.9.3" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.9.3.tgz" + integrity sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw== + +"uri-js@^4.2.2": + version "4.4.1" + resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.4.1.tgz" + integrity sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg== + dependencies: + punycode "^2.1.0" + +"vite@^5.0.0 || ^6.0.0 || ^7.0.0-0", "vite@^6.4.2": + version "6.4.2" + resolved "https://registry.yarnpkg.com/vite/-/vite-6.4.2.tgz" + integrity sha512-2N/55r4JDJ4gdrCvGgINMy+HH3iRpNIz8K6SFwVsA+JbQScLiC+clmAxBgwiSPgcG9U15QmvqCGWzMbqda5zGQ== + dependencies: + esbuild "^0.25.0" + fdir "^6.4.4" + fsevents "~2.3.3" + picomatch "^4.0.2" + postcss "^8.5.3" + rollup "^4.34.9" + tinyglobby "^0.2.13" + +"vite-node@3.2.4": + version "3.2.4" + resolved "https://registry.yarnpkg.com/vite-node/-/vite-node-3.2.4.tgz" + integrity sha512-EbKSKh+bh1E1IFxeO0pg1n4dvoOTt0UDiXMd/qn++r98+jPO1xtJilvXldeuQ8giIB5IkpjCgMleHMNEsGH6pg== + dependencies: + cac "^6.7.14" + debug "^4.4.1" + es-module-lexer "^1.7.0" + pathe "^2.0.3" + vite "^5.0.0 || ^6.0.0 || ^7.0.0-0" + +"vitest@^3.2.4": + version "3.2.4" + resolved "https://registry.yarnpkg.com/vitest/-/vitest-3.2.4.tgz" + integrity sha512-LUCP5ev3GURDysTWiP47wRRUpLKMOfPh+yKTx3kVIEiu5KOMeqzpnYNsKyOoVrULivR8tLcks4+lga33Whn90A== + dependencies: + "@types/chai" "^5.2.2" + "@vitest/expect" "3.2.4" + "@vitest/mocker" "3.2.4" + "@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" + debug "^4.4.1" + expect-type "^1.2.1" + magic-string "^0.30.17" + pathe "^2.0.3" + picomatch "^4.0.2" + std-env "^3.9.0" + tinybench "^2.9.0" + tinyexec "^0.3.2" + tinyglobby "^0.2.14" + tinypool "^1.1.1" + tinyrainbow "^2.0.0" + vite "^5.0.0 || ^6.0.0 || ^7.0.0-0" + vite-node "3.2.4" + why-is-node-running "^2.3.0" + +"vscode-uri@^3.0.8": + version "3.1.0" + resolved "https://registry.yarnpkg.com/vscode-uri/-/vscode-uri-3.1.0.tgz" + integrity sha512-/BpdSx+yCQGnCvecbyXdxHDkuk55/G3xwnC0GqY4gmQ3j+A+g8kzzgB4Nk/SINjqn6+waqw3EgbVF2QKExkRxQ== + +"vue@^3.5.13": + version "3.5.34" + resolved "https://registry.yarnpkg.com/vue/-/vue-3.5.34.tgz" + integrity sha512-WdLBG9gm02OgJIG9axd5Hpx0TFLdzVgfG2evFFu8Rur5O/IoGc5cMjnjh3tPL6GnRGsYvUhBSKVPYVcxRKpMCA== + dependencies: + "@vue/compiler-dom" "3.5.34" + "@vue/compiler-sfc" "3.5.34" + "@vue/runtime-dom" "3.5.34" + "@vue/server-renderer" "3.5.34" + "@vue/shared" "3.5.34" + +"vue-component-type-helpers@^3.0.0": + version "3.3.2" + resolved "https://registry.yarnpkg.com/vue-component-type-helpers/-/vue-component-type-helpers-3.3.2.tgz" + integrity sha512-l4Z2Y34m7nFMlx8vrslJaVtXxUpzgDMSESC7TakG/c5kwjYT/do+E0NcT2/vWDzaoIhsShg/2OKwX7Q4nbzC0g== + +"vue-tsc@^2.2.10": + version "2.2.12" + resolved "https://registry.yarnpkg.com/vue-tsc/-/vue-tsc-2.2.12.tgz" + integrity sha512-P7OP77b2h/Pmk+lZdJ0YWs+5tJ6J2+uOQPo7tlBnY44QqQSPYvS0qVT4wqDJgwrZaLe47etJLLQRFia71GYITw== + dependencies: + "@volar/typescript" "2.4.15" + "@vue/language-core" "2.2.12" + +"w3c-xmlserializer@^5.0.0": + version "5.0.0" + resolved "https://registry.yarnpkg.com/w3c-xmlserializer/-/w3c-xmlserializer-5.0.0.tgz" + integrity sha512-o8qghlI8NZHU1lLPrpi2+Uq7abh4GGPpYANlalzWxyWteJOCsr/P+oPBA49TOLu5FTZO4d3F9MnWJfiMo4BkmA== + dependencies: + xml-name-validator "^5.0.0" + +"webidl-conversions@^7.0.0": + version "7.0.0" + resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-7.0.0.tgz" + integrity sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g== + +"whatwg-encoding@^3.1.1": + version "3.1.1" + resolved "https://registry.yarnpkg.com/whatwg-encoding/-/whatwg-encoding-3.1.1.tgz" + integrity sha512-6qN4hJdMwfYBtE3YBTTHhoeuUrDBPZmbQaxWAqSALV/MeEnR5z1xd8UKud2RAkFoPkmB+hli1TZSnyi84xz1vQ== + dependencies: + iconv-lite "0.6.3" + +"whatwg-mimetype@^4.0.0": + version "4.0.0" + resolved "https://registry.yarnpkg.com/whatwg-mimetype/-/whatwg-mimetype-4.0.0.tgz" + integrity sha512-QaKxh0eNIi2mE9p2vEdzfagOKHCcj1pJ56EEHGQOVxp8r9/iszLUUV7v89x9O1p/T+NlTM5W7jW6+cz4Fq1YVg== + +"whatwg-url@^14.0.0", "whatwg-url@^14.1.1": + version "14.2.0" + resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-14.2.0.tgz" + integrity sha512-De72GdQZzNTUBBChsXueQUnPKDkg/5A5zp7pFDuQAj5UFoENpiACU0wlCvzpAGnTkj++ihpKwKyYewn/XNUbKw== + dependencies: + tr46 "^5.1.0" + webidl-conversions "^7.0.0" + +"which@^2.0.1": + version "2.0.2" + resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz" + integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA== + dependencies: + isexe "^2.0.0" + +"why-is-node-running@^2.3.0": + version "2.3.0" + resolved "https://registry.yarnpkg.com/why-is-node-running/-/why-is-node-running-2.3.0.tgz" + integrity sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w== + dependencies: + siginfo "^2.0.0" + stackback "0.0.2" + +"word-wrap@^1.2.5": + version "1.2.5" + resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.5.tgz" + integrity sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA== + +"wrap-ansi@^8.1.0": + version "8.1.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz" + integrity sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ== + dependencies: + ansi-styles "^6.1.0" + string-width "^5.0.1" + strip-ansi "^7.0.1" + +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": + version "7.0.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz" + integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + +"wrap-ansi-cjs/node_modules/ansi-regex@5.0.1": + version "5.0.1" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz" + integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== + +"wrap-ansi-cjs/node_modules/emoji-regex@8.0.0": + version "8.0.0" + resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz" + integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== + +"wrap-ansi-cjs/node_modules/string-width@4.2.3": + version "4.2.3" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" + +"wrap-ansi-cjs/node_modules/strip-ansi@6.0.1": + version "6.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + +"wrap-ansi/node_modules/ansi-styles@6.2.3": + version "6.2.3" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-6.2.3.tgz" + integrity sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg== + +"ws@^8.18.0": + version "8.21.0" + resolved "https://registry.yarnpkg.com/ws/-/ws-8.21.0.tgz" + integrity sha512-Vsp28b7DRcimFQvrqu2Wek3z1iYxDCWqHYB8Qsnk/S4RfaCQzPGPyBNuVjJV3cd6UiKtUtp6sNM77gWvzcCH+g== + +"xml-name-validator@^5.0.0": + version "5.0.0" + resolved "https://registry.yarnpkg.com/xml-name-validator/-/xml-name-validator-5.0.0.tgz" + integrity sha512-EvGK8EJ3DhaHfbRlETOWAS5pO9MZITeauHKJyb8wyajUfQUenkIg2MvLDTZ4T/TgIcm3HU0TFBgWWboAZ30UHg== + +"xmlchars@^2.2.0": + version "2.2.0" + resolved "https://registry.yarnpkg.com/xmlchars/-/xmlchars-2.2.0.tgz" + integrity sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw== + +"yocto-queue@^0.1.0": + version "0.1.0" + resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz" + integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q== + diff --git a/yarn.lock b/yarn.lock index ef4cf681d..63852f660 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4,12 +4,12 @@ "@adobe/css-tools@^4.4.0": version "4.4.4" - resolved "https://registry.npmjs.org/@adobe/css-tools/-/css-tools-4.4.4.tgz#2856c55443d3d461693f32d2b96fb6ea92e1ffa9" + resolved "https://registry.yarnpkg.com/@adobe/css-tools/-/css-tools-4.4.4.tgz#2856c55443d3d461693f32d2b96fb6ea92e1ffa9" integrity sha512-Elp+iwUx5rN5+Y8xLt5/GRoG20WGoDCQ/1Fb+1LiGtvwbDavuSk0jhD/eZdckHAuzcDzccnkv+rEjyWfRx18gg== "@ampproject/remapping@^2.3.0": version "2.3.0" - resolved "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.3.0.tgz#ed441b6fa600072520ce18b43d2c8cc8caecc7f4" + resolved "https://registry.yarnpkg.com/@ampproject/remapping/-/remapping-2.3.0.tgz#ed441b6fa600072520ce18b43d2c8cc8caecc7f4" integrity sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw== dependencies: "@jridgewell/gen-mapping" "^0.3.5" @@ -17,7 +17,7 @@ "@asamuzakjp/css-color@^3.2.0": version "3.2.0" - resolved "https://registry.npmjs.org/@asamuzakjp/css-color/-/css-color-3.2.0.tgz#cc42f5b85c593f79f1fa4f25d2b9b321e61d1794" + resolved "https://registry.yarnpkg.com/@asamuzakjp/css-color/-/css-color-3.2.0.tgz#cc42f5b85c593f79f1fa4f25d2b9b321e61d1794" integrity sha512-K1A6z8tS3XsmCMM86xoWdn7Fkdn9m6RSVtocUrJYIwZnFVkng/PvkEoWtOWmP+Scc6saYWHWZYbndEEXxl24jw== dependencies: "@csstools/css-calc" "^2.1.3" @@ -28,7 +28,7 @@ "@babel/code-frame@^7.10.4": version "7.27.1" - resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.27.1.tgz#200f715e66d52a23b221a9435534a91cc13ad5be" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.27.1.tgz#200f715e66d52a23b221a9435534a91cc13ad5be" integrity sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg== dependencies: "@babel/helper-validator-identifier" "^7.27.1" @@ -37,29 +37,29 @@ "@babel/helper-string-parser@^7.27.1": version "7.27.1" - resolved "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz#54da796097ab19ce67ed9f88b47bb2ec49367687" + resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz#54da796097ab19ce67ed9f88b47bb2ec49367687" integrity sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA== "@babel/helper-validator-identifier@^7.27.1": version "7.27.1" - resolved "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.27.1.tgz#a7054dcc145a967dd4dc8fee845a57c1316c9df8" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.27.1.tgz#a7054dcc145a967dd4dc8fee845a57c1316c9df8" integrity sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow== "@babel/parser@^7.25.4": version "7.28.0" - resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.28.0.tgz#979829fbab51a29e13901e5a80713dbcb840825e" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.28.0.tgz#979829fbab51a29e13901e5a80713dbcb840825e" integrity sha512-jVZGvOxOuNSsuQuLRTh13nU0AogFlw32w/MT+LV6D3sP5WdbW61E77RnkbaO2dUvmPAYrBDJXGn5gGS6tH4j8g== dependencies: "@babel/types" "^7.28.0" "@babel/runtime@^7.12.5": version "7.28.2" - resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.28.2.tgz#2ae5a9d51cc583bd1f5673b3bb70d6d819682473" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.28.2.tgz#2ae5a9d51cc583bd1f5673b3bb70d6d819682473" integrity sha512-KHp2IflsnGywDjBWDkR9iEqiWSpc8GIi0lgTT3mOElT0PP1tG26P4tmFI2YvAdzgq9RGyoHZQEIEdZy6Ec5xCA== "@babel/types@^7.25.4", "@babel/types@^7.28.0": version "7.28.2" - resolved "https://registry.npmjs.org/@babel/types/-/types-7.28.2.tgz#da9db0856a9a88e0a13b019881d7513588cf712b" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.28.2.tgz#da9db0856a9a88e0a13b019881d7513588cf712b" integrity sha512-ruv7Ae4J5dUYULmeXw1gmb7rYRz57OWCPM57pHojnLq/3Z1CK2lNSLTCVjxVk1F/TZHwOZZrOWi0ur95BbLxNQ== dependencies: "@babel/helper-string-parser" "^7.27.1" @@ -67,22 +67,22 @@ "@bcoe/v8-coverage@^0.2.3": version "0.2.3" - resolved "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" + resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== "@csstools/color-helpers@^5.0.2": version "5.0.2" - resolved "https://registry.npmjs.org/@csstools/color-helpers/-/color-helpers-5.0.2.tgz#82592c9a7c2b83c293d9161894e2a6471feb97b8" + resolved "https://registry.yarnpkg.com/@csstools/color-helpers/-/color-helpers-5.0.2.tgz#82592c9a7c2b83c293d9161894e2a6471feb97b8" integrity sha512-JqWH1vsgdGcw2RR6VliXXdA0/59LttzlU8UlRT/iUUsEeWfYq8I+K0yhihEUTTHLRm1EXvpsCx3083EU15ecsA== "@csstools/css-calc@^2.1.3", "@csstools/css-calc@^2.1.4": version "2.1.4" - resolved "https://registry.npmjs.org/@csstools/css-calc/-/css-calc-2.1.4.tgz#8473f63e2fcd6e459838dd412401d5948f224c65" + resolved "https://registry.yarnpkg.com/@csstools/css-calc/-/css-calc-2.1.4.tgz#8473f63e2fcd6e459838dd412401d5948f224c65" integrity sha512-3N8oaj+0juUw/1H3YwmDDJXCgTB1gKU6Hc/bB502u9zR0q2vd786XJH9QfrKIEgFlZmhZiq6epXl4rHqhzsIgQ== "@csstools/css-color-parser@^3.0.9": version "3.0.10" - resolved "https://registry.npmjs.org/@csstools/css-color-parser/-/css-color-parser-3.0.10.tgz#79fc68864dd43c3b6782d2b3828bc0fa9d085c10" + resolved "https://registry.yarnpkg.com/@csstools/css-color-parser/-/css-color-parser-3.0.10.tgz#79fc68864dd43c3b6782d2b3828bc0fa9d085c10" integrity sha512-TiJ5Ajr6WRd1r8HSiwJvZBiJOqtH86aHpUjq5aEKWHiII2Qfjqd/HCWKPOW8EP4vcspXbHnXrwIDlu5savQipg== dependencies: "@csstools/color-helpers" "^5.0.2" @@ -90,12 +90,12 @@ "@csstools/css-parser-algorithms@^3.0.4": version "3.0.5" - resolved "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-3.0.5.tgz#5755370a9a29abaec5515b43c8b3f2cf9c2e3076" + resolved "https://registry.yarnpkg.com/@csstools/css-parser-algorithms/-/css-parser-algorithms-3.0.5.tgz#5755370a9a29abaec5515b43c8b3f2cf9c2e3076" integrity sha512-DaDeUkXZKjdGhgYaHNJTV9pV7Y9B3b644jCLs9Upc3VeNGg6LWARAT6O+Q+/COo+2gg/bM5rhpMAtf70WqfBdQ== "@csstools/css-tokenizer@^3.0.3": version "3.0.4" - resolved "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-3.0.4.tgz#333fedabc3fd1a8e5d0100013731cf19e6a8c5d3" + resolved "https://registry.yarnpkg.com/@csstools/css-tokenizer/-/css-tokenizer-3.0.4.tgz#333fedabc3fd1a8e5d0100013731cf19e6a8c5d3" integrity sha512-Vd/9EVDiu6PPJt9yAh6roZP6El1xHrdvIVGjyBsHR0RYwNHgL7FJPyIIW4fANJNG6FtyZfvlRPpFI4ZM/lubvw== "@discoveryjs/json-ext@^0.5.0": @@ -105,117 +105,117 @@ "@esbuild/aix-ppc64@0.21.5": version "0.21.5" - resolved "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.21.5.tgz#c7184a326533fcdf1b8ee0733e21c713b975575f" + resolved "https://registry.yarnpkg.com/@esbuild/aix-ppc64/-/aix-ppc64-0.21.5.tgz#c7184a326533fcdf1b8ee0733e21c713b975575f" integrity sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ== "@esbuild/android-arm64@0.21.5": version "0.21.5" - resolved "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.21.5.tgz#09d9b4357780da9ea3a7dfb833a1f1ff439b4052" + resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.21.5.tgz#09d9b4357780da9ea3a7dfb833a1f1ff439b4052" integrity sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A== "@esbuild/android-arm@0.21.5": version "0.21.5" - resolved "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.21.5.tgz#9b04384fb771926dfa6d7ad04324ecb2ab9b2e28" + resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.21.5.tgz#9b04384fb771926dfa6d7ad04324ecb2ab9b2e28" integrity sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg== "@esbuild/android-x64@0.21.5": version "0.21.5" - resolved "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.21.5.tgz#29918ec2db754cedcb6c1b04de8cd6547af6461e" + resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.21.5.tgz#29918ec2db754cedcb6c1b04de8cd6547af6461e" integrity sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA== "@esbuild/darwin-arm64@0.21.5": version "0.21.5" - resolved "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.21.5.tgz#e495b539660e51690f3928af50a76fb0a6ccff2a" + resolved "https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.21.5.tgz#e495b539660e51690f3928af50a76fb0a6ccff2a" integrity sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ== "@esbuild/darwin-x64@0.21.5": version "0.21.5" - resolved "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.21.5.tgz#c13838fa57372839abdddc91d71542ceea2e1e22" + resolved "https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.21.5.tgz#c13838fa57372839abdddc91d71542ceea2e1e22" integrity sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw== "@esbuild/freebsd-arm64@0.21.5": version "0.21.5" - resolved "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.21.5.tgz#646b989aa20bf89fd071dd5dbfad69a3542e550e" + resolved "https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.21.5.tgz#646b989aa20bf89fd071dd5dbfad69a3542e550e" integrity sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g== "@esbuild/freebsd-x64@0.21.5": version "0.21.5" - resolved "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.21.5.tgz#aa615cfc80af954d3458906e38ca22c18cf5c261" + resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.21.5.tgz#aa615cfc80af954d3458906e38ca22c18cf5c261" integrity sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ== "@esbuild/linux-arm64@0.21.5": version "0.21.5" - resolved "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.21.5.tgz#70ac6fa14f5cb7e1f7f887bcffb680ad09922b5b" + resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.21.5.tgz#70ac6fa14f5cb7e1f7f887bcffb680ad09922b5b" integrity sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q== "@esbuild/linux-arm@0.21.5": version "0.21.5" - resolved "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.21.5.tgz#fc6fd11a8aca56c1f6f3894f2bea0479f8f626b9" + resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.21.5.tgz#fc6fd11a8aca56c1f6f3894f2bea0479f8f626b9" integrity sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA== "@esbuild/linux-ia32@0.21.5": version "0.21.5" - resolved "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.21.5.tgz#3271f53b3f93e3d093d518d1649d6d68d346ede2" + resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.21.5.tgz#3271f53b3f93e3d093d518d1649d6d68d346ede2" integrity sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg== "@esbuild/linux-loong64@0.21.5": version "0.21.5" - resolved "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.21.5.tgz#ed62e04238c57026aea831c5a130b73c0f9f26df" + resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.21.5.tgz#ed62e04238c57026aea831c5a130b73c0f9f26df" integrity sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg== "@esbuild/linux-mips64el@0.21.5": version "0.21.5" - resolved "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.21.5.tgz#e79b8eb48bf3b106fadec1ac8240fb97b4e64cbe" + resolved "https://registry.yarnpkg.com/@esbuild/linux-mips64el/-/linux-mips64el-0.21.5.tgz#e79b8eb48bf3b106fadec1ac8240fb97b4e64cbe" integrity sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg== "@esbuild/linux-ppc64@0.21.5": version "0.21.5" - resolved "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.21.5.tgz#5f2203860a143b9919d383ef7573521fb154c3e4" + resolved "https://registry.yarnpkg.com/@esbuild/linux-ppc64/-/linux-ppc64-0.21.5.tgz#5f2203860a143b9919d383ef7573521fb154c3e4" integrity sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w== "@esbuild/linux-riscv64@0.21.5": version "0.21.5" - resolved "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.21.5.tgz#07bcafd99322d5af62f618cb9e6a9b7f4bb825dc" + resolved "https://registry.yarnpkg.com/@esbuild/linux-riscv64/-/linux-riscv64-0.21.5.tgz#07bcafd99322d5af62f618cb9e6a9b7f4bb825dc" integrity sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA== "@esbuild/linux-s390x@0.21.5": version "0.21.5" - resolved "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.21.5.tgz#b7ccf686751d6a3e44b8627ababc8be3ef62d8de" + resolved "https://registry.yarnpkg.com/@esbuild/linux-s390x/-/linux-s390x-0.21.5.tgz#b7ccf686751d6a3e44b8627ababc8be3ef62d8de" integrity sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A== "@esbuild/linux-x64@0.21.5": version "0.21.5" - resolved "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.21.5.tgz#6d8f0c768e070e64309af8004bb94e68ab2bb3b0" + resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.21.5.tgz#6d8f0c768e070e64309af8004bb94e68ab2bb3b0" integrity sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ== "@esbuild/netbsd-x64@0.21.5": version "0.21.5" - resolved "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.21.5.tgz#bbe430f60d378ecb88decb219c602667387a6047" + resolved "https://registry.yarnpkg.com/@esbuild/netbsd-x64/-/netbsd-x64-0.21.5.tgz#bbe430f60d378ecb88decb219c602667387a6047" integrity sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg== "@esbuild/openbsd-x64@0.21.5": version "0.21.5" - resolved "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.21.5.tgz#99d1cf2937279560d2104821f5ccce220cb2af70" + resolved "https://registry.yarnpkg.com/@esbuild/openbsd-x64/-/openbsd-x64-0.21.5.tgz#99d1cf2937279560d2104821f5ccce220cb2af70" integrity sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow== "@esbuild/sunos-x64@0.21.5": version "0.21.5" - resolved "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.21.5.tgz#08741512c10d529566baba837b4fe052c8f3487b" + resolved "https://registry.yarnpkg.com/@esbuild/sunos-x64/-/sunos-x64-0.21.5.tgz#08741512c10d529566baba837b4fe052c8f3487b" integrity sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg== "@esbuild/win32-arm64@0.21.5": version "0.21.5" - resolved "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.21.5.tgz#675b7385398411240735016144ab2e99a60fc75d" + resolved "https://registry.yarnpkg.com/@esbuild/win32-arm64/-/win32-arm64-0.21.5.tgz#675b7385398411240735016144ab2e99a60fc75d" integrity sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A== "@esbuild/win32-ia32@0.21.5": version "0.21.5" - resolved "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.21.5.tgz#1bfc3ce98aa6ca9a0969e4d2af72144c59c1193b" + resolved "https://registry.yarnpkg.com/@esbuild/win32-ia32/-/win32-ia32-0.21.5.tgz#1bfc3ce98aa6ca9a0969e4d2af72144c59c1193b" integrity sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA== "@esbuild/win32-x64@0.21.5": version "0.21.5" - resolved "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.21.5.tgz#acad351d582d157bb145535db2a6ff53dd514b5c" + resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.21.5.tgz#acad351d582d157bb145535db2a6ff53dd514b5c" integrity sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw== "@eslint-community/eslint-utils@^4.2.0": @@ -282,7 +282,7 @@ "@isaacs/cliui@^8.0.2": version "8.0.2" - resolved "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz#b37667b7bc181c168782259bab42474fbf52b550" + resolved "https://registry.yarnpkg.com/@isaacs/cliui/-/cliui-8.0.2.tgz#b37667b7bc181c168782259bab42474fbf52b550" integrity sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA== dependencies: string-width "^5.1.2" @@ -336,12 +336,12 @@ "@jridgewell/sourcemap-codec@^1.5.0": version "1.5.5" - resolved "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz#6912b00d2c631c0d15ce1a7ab57cd657f2a8f8ba" + resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz#6912b00d2c631c0d15ce1a7ab57cd657f2a8f8ba" integrity sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og== "@jridgewell/trace-mapping@^0.3.23": version "0.3.30" - resolved "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.30.tgz#4a76c4daeee5df09f5d3940e087442fb36ce2b99" + resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.30.tgz#4a76c4daeee5df09f5d3940e087442fb36ce2b99" integrity sha512-GQ7Nw5G2lTu/BtHTKfXhKHok2WGetd4XYcVKGx00SjAk8GMwgJM3zr6zORiPGuOE+/vkc90KtTosSSvaCjKb2Q== dependencies: "@jridgewell/resolve-uri" "^3.1.0" @@ -378,19 +378,19 @@ "@pkgjs/parseargs@^0.11.0": version "0.11.0" - resolved "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33" + resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33" integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg== "@playwright/test@^1.48.2": version "1.54.2" - resolved "https://registry.npmjs.org/@playwright/test/-/test-1.54.2.tgz#ff0d1e5d8e26f3258ae65364e2d4d10176926b07" + resolved "https://registry.yarnpkg.com/@playwright/test/-/test-1.54.2.tgz#ff0d1e5d8e26f3258ae65364e2d4d10176926b07" integrity sha512-A+znathYxPf+72riFd1r1ovOLqsIIB0jKIoPjyK2kqEIe30/6jF6BC7QNluHuwUmsD2tv1XZVugN8GqfTMOxsA== dependencies: playwright "1.54.2" "@polka/url@^1.0.0-next.24": version "1.0.0-next.29" - resolved "https://registry.npmjs.org/@polka/url/-/url-1.0.0-next.29.tgz#5a40109a1ab5f84d6fd8fc928b19f367cbe7e7b1" + resolved "https://registry.yarnpkg.com/@polka/url/-/url-1.0.0-next.29.tgz#5a40109a1ab5f84d6fd8fc928b19f367cbe7e7b1" integrity sha512-wwQAWhWSuHaag8c4q/KN/vCoeOJYshAIvMQwD4GpSb3OiZklFfvAgmj0VCBBImRpuF/aFgIRzllXlVX93Jevww== "@rollup/rollup-android-arm-eabi@4.59.0": @@ -555,7 +555,7 @@ "@testing-library/dom@^10.4.0": version "10.4.1" - resolved "https://registry.npmjs.org/@testing-library/dom/-/dom-10.4.1.tgz#d444f8a889e9a46e9a3b4f3b88e0fcb3efb6cf95" + resolved "https://registry.yarnpkg.com/@testing-library/dom/-/dom-10.4.1.tgz#d444f8a889e9a46e9a3b4f3b88e0fcb3efb6cf95" integrity sha512-o4PXJQidqJl82ckFaXUeoAW+XysPLauYI43Abki5hABd853iMhitooc6znOnczgbTYmEP6U6/y1ZyKAIsvMKGg== dependencies: "@babel/code-frame" "^7.10.4" @@ -569,7 +569,7 @@ "@testing-library/jest-dom@^6.4.8": version "6.6.4" - resolved "https://registry.npmjs.org/@testing-library/jest-dom/-/jest-dom-6.6.4.tgz#577a1761768bda5458c42241add3b1570c34d39c" + resolved "https://registry.yarnpkg.com/@testing-library/jest-dom/-/jest-dom-6.6.4.tgz#577a1761768bda5458c42241add3b1570c34d39c" integrity sha512-xDXgLjVunjHqczScfkCJ9iyjdNOVHvvCdqHSSxwM9L0l/wHkTRum67SDc020uAlCoqktJplgO2AAQeLP1wgqDQ== dependencies: "@adobe/css-tools" "^4.4.0" @@ -602,7 +602,7 @@ "@types/aria-query@^5.0.1": version "5.0.4" - resolved "https://registry.npmjs.org/@types/aria-query/-/aria-query-5.0.4.tgz#1a31c3d378850d2778dabb6374d036dcba4ba708" + resolved "https://registry.yarnpkg.com/@types/aria-query/-/aria-query-5.0.4.tgz#1a31c3d378850d2778dabb6374d036dcba4ba708" integrity sha512-rfT93uj5s0PRL7EzccGMs3brplhcrghnDoV26NqKhCAS1hVo+WdNsPvE/yb6ilfr5hi2MEk6d5EWJTKdxg8jVw== "@types/eslint-scope@^3.7.7": @@ -623,7 +623,7 @@ "@types/estree@*", "@types/estree@1.0.8", "@types/estree@^1.0.0", "@types/estree@^1.0.8": version "1.0.8" - resolved "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz#958b91c991b1867ced318bedea0e215ee050726e" + resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.8.tgz#958b91c991b1867ced318bedea0e215ee050726e" integrity sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w== "@types/hast@^3.0.4": @@ -770,7 +770,7 @@ "@vitest/coverage-v8@^2.0.5": version "2.1.9" - resolved "https://registry.npmjs.org/@vitest/coverage-v8/-/coverage-v8-2.1.9.tgz#060bebfe3705c1023bdc220e17fdea4bd9e2b24d" + resolved "https://registry.yarnpkg.com/@vitest/coverage-v8/-/coverage-v8-2.1.9.tgz#060bebfe3705c1023bdc220e17fdea4bd9e2b24d" integrity sha512-Z2cOr0ksM00MpEfyVE8KXIYPEcBFxdbLSs56L8PO0QQMxt/6bDj45uQfxoc96v05KW3clk7vvgP0qfDit9DmfQ== dependencies: "@ampproject/remapping" "^2.3.0" @@ -788,7 +788,7 @@ "@vitest/expect@2.1.9": version "2.1.9" - resolved "https://registry.npmjs.org/@vitest/expect/-/expect-2.1.9.tgz#b566ea20d58ea6578d8dc37040d6c1a47ebe5ff8" + resolved "https://registry.yarnpkg.com/@vitest/expect/-/expect-2.1.9.tgz#b566ea20d58ea6578d8dc37040d6c1a47ebe5ff8" integrity sha512-UJCIkTBenHeKT1TTlKMJWy1laZewsRIzYighyYiJKZreqtdxSos/S1t+ktRMQWu2CKqaarrkeszJx1cgC5tGZw== dependencies: "@vitest/spy" "2.1.9" @@ -798,7 +798,7 @@ "@vitest/mocker@2.1.9": version "2.1.9" - resolved "https://registry.npmjs.org/@vitest/mocker/-/mocker-2.1.9.tgz#36243b27351ca8f4d0bbc4ef91594ffd2dc25ef5" + resolved "https://registry.yarnpkg.com/@vitest/mocker/-/mocker-2.1.9.tgz#36243b27351ca8f4d0bbc4ef91594ffd2dc25ef5" integrity sha512-tVL6uJgoUdi6icpxmdrn5YNo3g3Dxv+IHJBr0GXHaEdTcw3F+cPKnsXFhli6nO+f/6SDKPHEK1UN+k+TQv0Ehg== dependencies: "@vitest/spy" "2.1.9" @@ -807,14 +807,14 @@ "@vitest/pretty-format@2.1.9", "@vitest/pretty-format@^2.1.9": version "2.1.9" - resolved "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-2.1.9.tgz#434ff2f7611689f9ce70cd7d567eceb883653fdf" + resolved "https://registry.yarnpkg.com/@vitest/pretty-format/-/pretty-format-2.1.9.tgz#434ff2f7611689f9ce70cd7d567eceb883653fdf" integrity sha512-KhRIdGV2U9HOUzxfiHmY8IFHTdqtOhIzCpd8WRdJiE7D/HUcZVD0EgQCVjm+Q9gkUXWgBvMmTtZgIG48wq7sOQ== dependencies: tinyrainbow "^1.2.0" "@vitest/runner@2.1.9": version "2.1.9" - resolved "https://registry.npmjs.org/@vitest/runner/-/runner-2.1.9.tgz#cc18148d2d797fd1fd5908d1f1851d01459be2f6" + resolved "https://registry.yarnpkg.com/@vitest/runner/-/runner-2.1.9.tgz#cc18148d2d797fd1fd5908d1f1851d01459be2f6" integrity sha512-ZXSSqTFIrzduD63btIfEyOmNcBmQvgOVsPNPe0jYtESiXkhd8u2erDLnMxmGrDCwHCCHE7hxwRDCT3pt0esT4g== dependencies: "@vitest/utils" "2.1.9" @@ -822,7 +822,7 @@ "@vitest/snapshot@2.1.9": version "2.1.9" - resolved "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-2.1.9.tgz#24260b93f798afb102e2dcbd7e61c6dfa118df91" + resolved "https://registry.yarnpkg.com/@vitest/snapshot/-/snapshot-2.1.9.tgz#24260b93f798afb102e2dcbd7e61c6dfa118df91" integrity sha512-oBO82rEjsxLNJincVhLhaxxZdEtV0EFHMK5Kmx5sJ6H9L183dHECjiefOAdnqpIgT5eZwT04PoggUnW88vOBNQ== dependencies: "@vitest/pretty-format" "2.1.9" @@ -831,14 +831,14 @@ "@vitest/spy@2.1.9": version "2.1.9" - resolved "https://registry.npmjs.org/@vitest/spy/-/spy-2.1.9.tgz#cb28538c5039d09818b8bfa8edb4043c94727c60" + resolved "https://registry.yarnpkg.com/@vitest/spy/-/spy-2.1.9.tgz#cb28538c5039d09818b8bfa8edb4043c94727c60" integrity sha512-E1B35FwzXXTs9FHNK6bDszs7mtydNi5MIfUWpceJ8Xbfb1gBMscAnwLbEu+B44ed6W3XjL9/ehLPHR1fkf1KLQ== dependencies: tinyspy "^3.0.2" "@vitest/ui@^2.0.5": version "2.1.9" - resolved "https://registry.npmjs.org/@vitest/ui/-/ui-2.1.9.tgz#9e876cf3caf492dd6fddbd7f87b2d6bf7186a7a9" + resolved "https://registry.yarnpkg.com/@vitest/ui/-/ui-2.1.9.tgz#9e876cf3caf492dd6fddbd7f87b2d6bf7186a7a9" integrity sha512-izzd2zmnk8Nl5ECYkW27328RbQ1nKvkm6Bb5DAaz1Gk59EbLkiCMa6OLT0NoaAYTjOFS6N+SMYW1nh4/9ljPiw== dependencies: "@vitest/utils" "2.1.9" @@ -851,7 +851,7 @@ "@vitest/utils@2.1.9": version "2.1.9" - resolved "https://registry.npmjs.org/@vitest/utils/-/utils-2.1.9.tgz#4f2486de8a54acf7ecbf2c5c24ad7994a680a6c1" + resolved "https://registry.yarnpkg.com/@vitest/utils/-/utils-2.1.9.tgz#4f2486de8a54acf7ecbf2c5c24ad7994a680a6c1" integrity sha512-v0psaMSkNJ3A2NMrUEHFRzJtDPFn+/VWZ5WxImB21T9fjucJRmS7xCS3ppEnARb9y11OAzaD+P2Ps+b+BGX5iQ== dependencies: "@vitest/pretty-format" "2.1.9" @@ -1046,7 +1046,7 @@ agent-base@^4.3.0: agent-base@^7.1.0, agent-base@^7.1.2: version "7.1.4" - resolved "https://registry.npmjs.org/agent-base/-/agent-base-7.1.4.tgz#e3cd76d4c548ee895d3c3fd8dc1f6c5b9032e7a8" + resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-7.1.4.tgz#e3cd76d4c548ee895d3c3fd8dc1f6c5b9032e7a8" integrity sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ== ajv-formats@^2.1.1: @@ -1107,7 +1107,7 @@ ansi-regex@^5.0.1: ansi-regex@^6.0.1: version "6.1.0" - resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz#95ec409c69619d6cb1b8b34f14b660ef28ebd654" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-6.1.0.tgz#95ec409c69619d6cb1b8b34f14b660ef28ebd654" integrity sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA== ansi-styles@^2.2.1: @@ -1124,12 +1124,12 @@ ansi-styles@^4.0.0, ansi-styles@^4.1.0: ansi-styles@^5.0.0: version "5.2.0" - resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz#07449690ad45777d1924ac2abb2fc8895dba836b" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-5.2.0.tgz#07449690ad45777d1924ac2abb2fc8895dba836b" integrity sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA== ansi-styles@^6.1.0: version "6.2.1" - resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz#0e62320cf99c21afff3b3012192546aacbfb05c5" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-6.2.1.tgz#0e62320cf99c21afff3b3012192546aacbfb05c5" integrity sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug== anymatch@~3.1.2: @@ -1154,14 +1154,14 @@ argparse@^2.0.1: aria-query@5.3.0: version "5.3.0" - resolved "https://registry.npmjs.org/aria-query/-/aria-query-5.3.0.tgz#650c569e41ad90b51b3d7df5e5eed1c7549c103e" + resolved "https://registry.yarnpkg.com/aria-query/-/aria-query-5.3.0.tgz#650c569e41ad90b51b3d7df5e5eed1c7549c103e" integrity sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A== dependencies: dequal "^2.0.3" aria-query@^5.0.0: version "5.3.2" - resolved "https://registry.npmjs.org/aria-query/-/aria-query-5.3.2.tgz#93f81a43480e33a338f19163a3d10a50c01dcd59" + resolved "https://registry.yarnpkg.com/aria-query/-/aria-query-5.3.2.tgz#93f81a43480e33a338f19163a3d10a50c01dcd59" integrity sha512-COROpnaoap1E2F000S62r6A60uHZnmlvomhfyT2DlTcrY1OrBKn2UhH7qn5wTC9zMvD0AY7csdPSNwKP+7WiQw== array-each@^1.0.1: @@ -1217,7 +1217,7 @@ assert@1.4.1: assertion-error@^2.0.1: version "2.0.1" - resolved "https://registry.npmjs.org/assertion-error/-/assertion-error-2.0.1.tgz#f641a196b335690b1070bf00b6e7593fec190bf7" + resolved "https://registry.yarnpkg.com/assertion-error/-/assertion-error-2.0.1.tgz#f641a196b335690b1070bf00b6e7593fec190bf7" integrity sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA== async-limiter@~1.0.0: @@ -1360,7 +1360,7 @@ bytes@1: cac@^6.7.14: version "6.7.14" - resolved "https://registry.npmjs.org/cac/-/cac-6.7.14.tgz#804e1e6f506ee363cb0e3ccbb09cad5dd9870959" + resolved "https://registry.yarnpkg.com/cac/-/cac-6.7.14.tgz#804e1e6f506ee363cb0e3ccbb09cad5dd9870959" integrity sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ== call-bind-apply-helpers@^1.0.1, call-bind-apply-helpers@^1.0.2: @@ -1406,7 +1406,7 @@ ccount@^1.0.0: chai@^5.1.2: version "5.2.1" - resolved "https://registry.npmjs.org/chai/-/chai-5.2.1.tgz#a9502462bdc79cf90b4a0953537a9908aa638b47" + resolved "https://registry.yarnpkg.com/chai/-/chai-5.2.1.tgz#a9502462bdc79cf90b4a0953537a9908aa638b47" integrity sha512-5nFxhUrX0PqtyogoYOA8IPswy5sZFTOsBFl/9bNsmDLgsxYTzSZQJDPppDnZPTQbzSEm0hqGjWPzRemQCYbD6A== dependencies: assertion-error "^2.0.1" @@ -1451,7 +1451,7 @@ character-reference-invalid@^1.0.0: check-error@^2.1.1: version "2.1.1" - resolved "https://registry.npmjs.org/check-error/-/check-error-2.1.1.tgz#87eb876ae71ee388fa0471fe423f494be1d96ccc" + resolved "https://registry.yarnpkg.com/check-error/-/check-error-2.1.1.tgz#87eb876ae71ee388fa0471fe423f494be1d96ccc" integrity sha512-OAlb+T7V4Op9OwdkjmguYRqncdlx5JiofwOAUkmTF+jNdHwzTaTs4sRAGpzLF3oOz5xAyDGrPgeIDFQmDOTiJw== "chokidar@>=3.0.0 <4.0.0": @@ -1625,7 +1625,7 @@ cross-spawn@^7.0.2, cross-spawn@^7.0.3: cross-spawn@^7.0.6: version "7.0.6" - resolved "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz#8a58fe78f00dcd70c370451759dfbfaf03e8ee9f" + resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.6.tgz#8a58fe78f00dcd70c370451759dfbfaf03e8ee9f" integrity sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA== dependencies: path-key "^3.1.0" @@ -1634,12 +1634,12 @@ cross-spawn@^7.0.6: css.escape@^1.5.1: version "1.5.1" - resolved "https://registry.npmjs.org/css.escape/-/css.escape-1.5.1.tgz#42e27d4fa04ae32f931a4b4d4191fa9cddee97cb" + resolved "https://registry.yarnpkg.com/css.escape/-/css.escape-1.5.1.tgz#42e27d4fa04ae32f931a4b4d4191fa9cddee97cb" integrity sha512-YUifsXXuknHlUsmlgyY0PKzgPOr7/FjCePfHNt0jxm83wHZi44VDMQ7/fGNkjY3/jV1MC+1CmZbaHzugyeRtpg== cssstyle@^4.1.0: version "4.6.0" - resolved "https://registry.npmjs.org/cssstyle/-/cssstyle-4.6.0.tgz#ea18007024e3167f4f105315f3ec2d982bf48ed9" + resolved "https://registry.yarnpkg.com/cssstyle/-/cssstyle-4.6.0.tgz#ea18007024e3167f4f105315f3ec2d982bf48ed9" integrity sha512-2z+rWdzbbSZv6/rhtvzvqeZQHrBaqgogqt85sqFNbabZOuFbCVFb8kPeEtZjiKkbrm395irpNKiYeFeLiQnFPg== dependencies: "@asamuzakjp/css-color" "^3.2.0" @@ -1654,7 +1654,7 @@ dashdash@^1.12.0: data-urls@^5.0.0: version "5.0.0" - resolved "https://registry.npmjs.org/data-urls/-/data-urls-5.0.0.tgz#2f76906bce1824429ffecb6920f45a0b30f00dde" + resolved "https://registry.yarnpkg.com/data-urls/-/data-urls-5.0.0.tgz#2f76906bce1824429ffecb6920f45a0b30f00dde" integrity sha512-ZYP5VBHshaDAiVZxjbRVcFJpc+4xGgT0bK3vzy1HLN8jTO975HEbuYzZJcHoQEY5K1a0z8YayJkyVETa08eNTg== dependencies: whatwg-mimetype "^4.0.0" @@ -1674,7 +1674,7 @@ debug@2.6.9: debug@4, debug@^4.3.7: version "4.4.1" - resolved "https://registry.npmjs.org/debug/-/debug-4.4.1.tgz#e5a8bc6cbc4c6cd3e64308b0693a3d4fa550189b" + resolved "https://registry.yarnpkg.com/debug/-/debug-4.4.1.tgz#e5a8bc6cbc4c6cd3e64308b0693a3d4fa550189b" integrity sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ== dependencies: ms "^2.1.3" @@ -1700,12 +1700,12 @@ decamelize@^1.2.0: decimal.js@^10.4.3: version "10.6.0" - resolved "https://registry.npmjs.org/decimal.js/-/decimal.js-10.6.0.tgz#e649a43e3ab953a72192ff5983865e509f37ed9a" + resolved "https://registry.yarnpkg.com/decimal.js/-/decimal.js-10.6.0.tgz#e649a43e3ab953a72192ff5983865e509f37ed9a" integrity sha512-YpgQiITW3JXGntzdUmyUR1V812Hn8T1YVXhCu+wO3OpS4eU9l4YdD3qjyiKdV6mvV29zapkMeD390UVEf2lkUg== deep-eql@^5.0.1: version "5.0.2" - resolved "https://registry.npmjs.org/deep-eql/-/deep-eql-5.0.2.tgz#4b756d8d770a9257300825d52a2c2cff99c3a341" + resolved "https://registry.yarnpkg.com/deep-eql/-/deep-eql-5.0.2.tgz#4b756d8d770a9257300825d52a2c2cff99c3a341" integrity sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q== deep-is@^0.1.3: @@ -1743,7 +1743,7 @@ depd@~1.1.2: dequal@^2.0.3: version "2.0.3" - resolved "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz#2644214f1997d39ed0ee0ece72335490a7ac67be" + resolved "https://registry.yarnpkg.com/dequal/-/dequal-2.0.3.tgz#2644214f1997d39ed0ee0ece72335490a7ac67be" integrity sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA== destroy@1.2.0: @@ -1784,12 +1784,12 @@ doctrine@^3.0.0: dom-accessibility-api@^0.5.9: version "0.5.16" - resolved "https://registry.npmjs.org/dom-accessibility-api/-/dom-accessibility-api-0.5.16.tgz#5a7429e6066eb3664d911e33fb0e45de8eb08453" + resolved "https://registry.yarnpkg.com/dom-accessibility-api/-/dom-accessibility-api-0.5.16.tgz#5a7429e6066eb3664d911e33fb0e45de8eb08453" integrity sha512-X7BJ2yElsnOJ30pZF4uIIDfBEVgF4XEBxL9Bxhy6dnrm5hkzqmsWHGTiHqRiITNhMyFLyAiWndIJP7Z1NTteDg== dom-accessibility-api@^0.6.3: version "0.6.3" - resolved "https://registry.npmjs.org/dom-accessibility-api/-/dom-accessibility-api-0.6.3.tgz#993e925cc1d73f2c662e7d75dd5a5445259a8fd8" + resolved "https://registry.yarnpkg.com/dom-accessibility-api/-/dom-accessibility-api-0.6.3.tgz#993e925cc1d73f2c662e7d75dd5a5445259a8fd8" integrity sha512-7ZgogeTnjuHbo+ct10G9Ffp0mif17idi0IyWNVA/wcwcm7NPOD/WEHVP3n7n3MhXqxoIYm8d6MuZohYWIZ4T3w== dom-serializer@^1.0.1: @@ -1848,7 +1848,7 @@ duplexify@^3.5.1: eastasianwidth@^0.2.0: version "0.2.0" - resolved "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz#696ce2ec0aa0e6ea93a397ffcf24aa7840c827cb" + resolved "https://registry.yarnpkg.com/eastasianwidth/-/eastasianwidth-0.2.0.tgz#696ce2ec0aa0e6ea93a397ffcf24aa7840c827cb" integrity sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA== ecc-jsbn@~0.1.1: @@ -1876,7 +1876,7 @@ emoji-regex@^8.0.0: emoji-regex@^9.2.2: version "9.2.2" - resolved "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz#840c8803b0d8047f4ff0cf963176b32d4ef3ed72" + resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-9.2.2.tgz#840c8803b0d8047f4ff0cf963176b32d4ef3ed72" integrity sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg== emoji-regex@~10.1.0: @@ -1916,12 +1916,12 @@ entities@^3.0.1: entities@^4.4.0: version "4.5.0" - resolved "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz#5d268ea5e7113ec74c4d033b79ea5a35a488fb48" + resolved "https://registry.yarnpkg.com/entities/-/entities-4.5.0.tgz#5d268ea5e7113ec74c4d033b79ea5a35a488fb48" integrity sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw== entities@^6.0.0: version "6.0.1" - resolved "https://registry.npmjs.org/entities/-/entities-6.0.1.tgz#c28c34a43379ca7f61d074130b2f5f7020a30694" + resolved "https://registry.yarnpkg.com/entities/-/entities-6.0.1.tgz#c28c34a43379ca7f61d074130b2f5f7020a30694" integrity sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g== entities@^7.0.1: @@ -1953,7 +1953,7 @@ es-errors@^1.3.0: es-module-lexer@^1.5.4: version "1.7.0" - resolved "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.7.0.tgz#9159601561880a85f2734560a9099b2c31e5372a" + resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-1.7.0.tgz#9159601561880a85f2734560a9099b2c31e5372a" integrity sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA== es-module-lexer@^2.0.0: @@ -1970,7 +1970,7 @@ es-object-atoms@^1.0.0, es-object-atoms@^1.1.1: es-set-tostringtag@^2.1.0: version "2.1.0" - resolved "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz#f31dbbe0c183b00a6d26eb6325c810c0fd18bd4d" + resolved "https://registry.yarnpkg.com/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz#f31dbbe0c183b00a6d26eb6325c810c0fd18bd4d" integrity sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA== dependencies: es-errors "^1.3.0" @@ -1992,7 +1992,7 @@ es6-promisify@^5.0.0: esbuild@^0.21.3: version "0.21.5" - resolved "https://registry.npmjs.org/esbuild/-/esbuild-0.21.5.tgz#9ca301b120922959b766360d8ac830da0d02997d" + resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.21.5.tgz#9ca301b120922959b766360d8ac830da0d02997d" integrity sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw== optionalDependencies: "@esbuild/aix-ppc64" "0.21.5" @@ -2146,7 +2146,7 @@ estraverse@^5.1.0, estraverse@^5.2.0: estree-walker@^3.0.3: version "3.0.3" - resolved "https://registry.npmjs.org/estree-walker/-/estree-walker-3.0.3.tgz#67c3e549ec402a487b4fc193d1953a524752340d" + resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-3.0.3.tgz#67c3e549ec402a487b4fc193d1953a524752340d" integrity sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g== dependencies: "@types/estree" "^1.0.0" @@ -2203,7 +2203,7 @@ expand-tilde@^2.0.0, expand-tilde@^2.0.2: expect-type@^1.1.0: version "1.2.2" - resolved "https://registry.npmjs.org/expect-type/-/expect-type-1.2.2.tgz#c030a329fb61184126c8447585bc75a7ec6fbff3" + resolved "https://registry.yarnpkg.com/expect-type/-/expect-type-1.2.2.tgz#c030a329fb61184126c8447585bc75a7ec6fbff3" integrity sha512-JhFGDVJ7tmDJItKhYgJCGLOWjuK9vPxiXoUFLwLDc99NlmklilbiQJwoctZtt13+xMw91MCk/REan6MWHqDjyA== extend@^3.0.0, extend@^3.0.2, extend@~3.0.2: @@ -2280,12 +2280,12 @@ faye-websocket@~0.10.0: fdir@^6.4.4: version "6.4.6" - resolved "https://registry.npmjs.org/fdir/-/fdir-6.4.6.tgz#2b268c0232697063111bbf3f64810a2a741ba281" + resolved "https://registry.yarnpkg.com/fdir/-/fdir-6.4.6.tgz#2b268c0232697063111bbf3f64810a2a741ba281" integrity sha512-hiFoqpyZcfNm1yc4u8oWCf9A2c4D3QjCrks3zmoVKVxpQRzmPNar1hUJcBG2RQHvEVGDN+Jm81ZheVLAQMK6+w== fflate@^0.8.2: version "0.8.2" - resolved "https://registry.npmjs.org/fflate/-/fflate-0.8.2.tgz#fc8631f5347812ad6028bbe4a2308b2792aa1dea" + resolved "https://registry.yarnpkg.com/fflate/-/fflate-0.8.2.tgz#fc8631f5347812ad6028bbe4a2308b2792aa1dea" integrity sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A== figures@^3.2.0: @@ -2413,7 +2413,7 @@ for-own@^1.0.0: foreground-child@^3.1.0: version "3.3.1" - resolved "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.1.tgz#32e8e9ed1b68a3497befb9ac2b6adf92a638576f" + resolved "https://registry.yarnpkg.com/foreground-child/-/foreground-child-3.3.1.tgz#32e8e9ed1b68a3497befb9ac2b6adf92a638576f" integrity sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw== dependencies: cross-spawn "^7.0.6" @@ -2426,7 +2426,7 @@ forever-agent@~0.6.1: form-data@^4.0.0: version "4.0.4" - resolved "https://registry.npmjs.org/form-data/-/form-data-4.0.4.tgz#784cdcce0669a9d68e94d11ac4eea98088edd2c4" + resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.4.tgz#784cdcce0669a9d68e94d11ac4eea98088edd2c4" integrity sha512-KrGhL9Q4zjj0kiUt5OO4Mr/A/jlI2jDYs5eHBpYHPcBEVSiipAvn2Ko2HnPe20rmcuuvMHNdZFp+4IlGTMF0Ow== dependencies: asynckit "^0.4.0" @@ -2461,12 +2461,12 @@ fs.realpath@^1.0.0: fsevents@2.3.2, fsevents@~2.3.2: version "2.3.2" - resolved "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a" + resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a" integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA== fsevents@~2.3.3: version "2.3.3" - resolved "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6" + resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6" integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw== function-bind@^1.1.1: @@ -2507,7 +2507,7 @@ get-intrinsic@^1.0.2: get-intrinsic@^1.2.6: version "1.3.0" - resolved "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz#743f0e3b6964a93a5491ed1bffaae054d7f98d01" + resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.3.0.tgz#743f0e3b6964a93a5491ed1bffaae054d7f98d01" integrity sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ== dependencies: call-bind-apply-helpers "^1.0.2" @@ -2569,7 +2569,7 @@ glob-to-regexp@^0.4.1: glob@^10.4.1: version "10.4.5" - resolved "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz#f4d9f0b90ffdbab09c9d77f5f29b4262517b0956" + resolved "https://registry.yarnpkg.com/glob/-/glob-10.4.5.tgz#f4d9f0b90ffdbab09c9d77f5f29b4262517b0956" integrity sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg== dependencies: foreground-child "^3.1.0" @@ -2915,7 +2915,7 @@ hooker@~0.2.3: html-encoding-sniffer@^4.0.0: version "4.0.0" - resolved "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-4.0.0.tgz#696df529a7cfd82446369dc5193e590a3735b448" + resolved "https://registry.yarnpkg.com/html-encoding-sniffer/-/html-encoding-sniffer-4.0.0.tgz#696df529a7cfd82446369dc5193e590a3735b448" integrity sha512-Y22oTqIU4uuPgEemfz7NDJz6OeKf12Lsu+QC+s3BVpda64lTiMYCyGwg5ki4vFxkMwQdeZDl2adZoqUgdFuTgQ== dependencies: whatwg-encoding "^3.1.1" @@ -2963,7 +2963,7 @@ http-parser-js@>=0.5.1: http-proxy-agent@^7.0.2: version "7.0.2" - resolved "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz#9a8b1f246866c028509486585f62b8f2c18c270e" + resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz#9a8b1f246866c028509486585f62b8f2c18c270e" integrity sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig== dependencies: agent-base "^7.1.0" @@ -2993,7 +2993,7 @@ https-proxy-agent@^2.2.1: https-proxy-agent@^7.0.5: version "7.0.6" - resolved "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz#da8dfeac7da130b05c2ba4b59c9b6cd66611a6b9" + resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz#da8dfeac7da130b05c2ba4b59c9b6cd66611a6b9" integrity sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw== dependencies: agent-base "^7.1.2" @@ -3044,7 +3044,7 @@ imurmurhash@^0.1.4: indent-string@^4.0.0: version "4.0.0" - resolved "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz#624f8f4497d619b2d9768531d58f4122854d7251" + resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-4.0.0.tgz#624f8f4497d619b2d9768531d58f4122854d7251" integrity sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg== inflight@^1.0.4: @@ -3219,7 +3219,7 @@ is-plain-object@^2.0.3, is-plain-object@^2.0.4: is-potential-custom-element-name@^1.0.1: version "1.0.1" - resolved "https://registry.npmjs.org/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz#171ed6f19e3ac554394edf78caa05784a45bebb5" + resolved "https://registry.yarnpkg.com/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz#171ed6f19e3ac554394edf78caa05784a45bebb5" integrity sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ== is-relative@^1.0.0: @@ -3283,7 +3283,7 @@ istanbul-lib-coverage@^3.0.0: istanbul-lib-coverage@^3.2.2: version "3.2.2" - resolved "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz#2d166c4b0644d43a39f04bf6c2edd1e585f31756" + resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz#2d166c4b0644d43a39f04bf6c2edd1e585f31756" integrity sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg== istanbul-lib-report@^3.0.0: @@ -3297,7 +3297,7 @@ istanbul-lib-report@^3.0.0: istanbul-lib-report@^3.0.1: version "3.0.1" - resolved "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz#908305bac9a5bd175ac6a74489eafd0fc2445a7d" + resolved "https://registry.yarnpkg.com/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz#908305bac9a5bd175ac6a74489eafd0fc2445a7d" integrity sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw== dependencies: istanbul-lib-coverage "^3.0.0" @@ -3306,7 +3306,7 @@ istanbul-lib-report@^3.0.1: istanbul-lib-source-maps@^5.0.6: version "5.0.6" - resolved "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-5.0.6.tgz#acaef948df7747c8eb5fbf1265cb980f6353a441" + resolved "https://registry.yarnpkg.com/istanbul-lib-source-maps/-/istanbul-lib-source-maps-5.0.6.tgz#acaef948df7747c8eb5fbf1265cb980f6353a441" integrity sha512-yg2d+Em4KizZC5niWhQaIomgf5WlL4vOOjZ5xGCmF8SnPE/mDWWXgvRExdcpCgh9lLRRa1/fSYp2ymmbJ1pI+A== dependencies: "@jridgewell/trace-mapping" "^0.3.23" @@ -3315,7 +3315,7 @@ istanbul-lib-source-maps@^5.0.6: istanbul-reports@^3.1.7: version "3.1.7" - resolved "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.7.tgz#daed12b9e1dca518e15c056e1e537e741280fa0b" + resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-3.1.7.tgz#daed12b9e1dca518e15c056e1e537e741280fa0b" integrity sha512-BewmUXImeuRk2YY0PVbxgKAysvhRPUQE0h5QRM++nVWyubKGV0l8qQ5op8+B2DOmwSe63Jivj0BjkPQVf8fP5g== dependencies: html-escaper "^2.0.0" @@ -3323,7 +3323,7 @@ istanbul-reports@^3.1.7: jackspeak@^3.1.2: version "3.4.3" - resolved "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz#8833a9d89ab4acde6188942bd1c53b6390ed5a8a" + resolved "https://registry.yarnpkg.com/jackspeak/-/jackspeak-3.4.3.tgz#8833a9d89ab4acde6188942bd1c53b6390ed5a8a" integrity sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw== dependencies: "@isaacs/cliui" "^8.0.2" @@ -3390,7 +3390,7 @@ jsbn@~0.1.0: jsdom@^25.0.0: version "25.0.1" - resolved "https://registry.npmjs.org/jsdom/-/jsdom-25.0.1.tgz#536ec685c288fc8a5773a65f82d8b44badcc73ef" + resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-25.0.1.tgz#536ec685c288fc8a5773a65f82d8b44badcc73ef" integrity sha512-8i7LzZj7BF8uplX+ZyOlIz86V6TAsSs+np6m1kpW9u0JWi4z/1t+FzcK1aek+ybTnAC4KhBL4uXCNT0wcUIeCw== dependencies: cssstyle "^4.1.0" @@ -3577,12 +3577,12 @@ longest-streak@^2.0.0: loupe@^3.1.0, loupe@^3.1.2: version "3.2.0" - resolved "https://registry.npmjs.org/loupe/-/loupe-3.2.0.tgz#174073ba8e0a1d0d5e43cc08626ed8a19403c344" + resolved "https://registry.yarnpkg.com/loupe/-/loupe-3.2.0.tgz#174073ba8e0a1d0d5e43cc08626ed8a19403c344" integrity sha512-2NCfZcT5VGVNX9mSZIxLRkEAegDGBpuQZBy13desuHeVORmBDyAET4TkJr4SjqQy3A8JDofMN6LpkK8Xcm/dlw== lru-cache@^10.2.0, lru-cache@^10.4.3: version "10.4.3" - resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz#410fc8a17b70e598013df257c2446b7f3383f119" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.4.3.tgz#410fc8a17b70e598013df257c2446b7f3383f119" integrity sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ== lru-cache@^6.0.0: @@ -3599,19 +3599,19 @@ lunr@^2.3.9: lz-string@^1.5.0: version "1.5.0" - resolved "https://registry.npmjs.org/lz-string/-/lz-string-1.5.0.tgz#c1ab50f77887b712621201ba9fd4e3a6ed099941" + resolved "https://registry.yarnpkg.com/lz-string/-/lz-string-1.5.0.tgz#c1ab50f77887b712621201ba9fd4e3a6ed099941" integrity sha512-h5bgJWpxJNswbU7qCrV0tIKQCaS3blPDrqKWx+QxzuzL1zGUzij9XCWLrSLsJPu5t+eWA/ycetzYAO5IOMcWAQ== magic-string@^0.30.12: version "0.30.17" - resolved "https://registry.npmjs.org/magic-string/-/magic-string-0.30.17.tgz#450a449673d2460e5bbcfba9a61916a1714c7453" + resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.30.17.tgz#450a449673d2460e5bbcfba9a61916a1714c7453" integrity sha512-sNPKHvyjVf7gyjwS4xGTaW/mCnF8wnjtifKBEhxfZ7E/S8tQ0rssrwGNn6q8JH/ohItJfSQp9mBtQYuTlH5QnA== dependencies: "@jridgewell/sourcemap-codec" "^1.5.0" magicast@^0.3.5: version "0.3.5" - resolved "https://registry.npmjs.org/magicast/-/magicast-0.3.5.tgz#8301c3c7d66704a0771eb1bad74274f0ec036739" + resolved "https://registry.yarnpkg.com/magicast/-/magicast-0.3.5.tgz#8301c3c7d66704a0771eb1bad74274f0ec036739" integrity sha512-L0WhttDl+2BOsybvEOLK7fW3UA0OQ0IQ2d6Zl2x/a6vVRs3bAY0ECOSHHeL5jD+SbOpOCUEi0y1DgHEn9Qn1AQ== dependencies: "@babel/parser" "^7.25.4" @@ -3627,7 +3627,7 @@ make-dir@^3.0.0: make-dir@^4.0.0: version "4.0.0" - resolved "https://registry.npmjs.org/make-dir/-/make-dir-4.0.0.tgz#c3c2307a771277cd9638305f915c29ae741b614e" + resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-4.0.0.tgz#c3c2307a771277cd9638305f915c29ae741b614e" integrity sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw== dependencies: semver "^7.5.3" @@ -3902,7 +3902,7 @@ mimic-fn@^2.0.0: min-indent@^1.0.0: version "1.0.1" - resolved "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz#a63f681673b30571fbe8bc25686ae746eefa9869" + resolved "https://registry.yarnpkg.com/min-indent/-/min-indent-1.0.1.tgz#a63f681673b30571fbe8bc25686ae746eefa9869" integrity sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg== minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2: @@ -3914,7 +3914,7 @@ minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2: minimatch@^9.0.4, minimatch@^9.0.5: version "9.0.5" - resolved "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz#d74f9dd6b57d83d8e98cfb82133b03978bc929e5" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.5.tgz#d74f9dd6b57d83d8e98cfb82133b03978bc929e5" integrity sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow== dependencies: brace-expansion "^2.0.1" @@ -3933,7 +3933,7 @@ minimist@^1.2.0, minimist@^1.2.5, minimist@^1.2.6: "minipass@^5.0.0 || ^6.0.2 || ^7.0.0", minipass@^7.1.2: version "7.1.2" - resolved "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz#93a9626ce5e5e66bd4db86849e7515e92340a707" + resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.1.2.tgz#93a9626ce5e5e66bd4db86849e7515e92340a707" integrity sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw== morgan@^1.10.0: @@ -3949,7 +3949,7 @@ morgan@^1.10.0: mrmime@^2.0.0: version "2.0.1" - resolved "https://registry.npmjs.org/mrmime/-/mrmime-2.0.1.tgz#bc3e87f7987853a54c9850eeb1f1078cd44adddc" + resolved "https://registry.yarnpkg.com/mrmime/-/mrmime-2.0.1.tgz#bc3e87f7987853a54c9850eeb1f1078cd44adddc" integrity sha512-Y3wQdFg2Va6etvQ5I82yUhGdsKrcYox6p7FfL1LbK2J4V01F9TGlepTIhnK24t7koZibmg82KGglhA1XK5IsLQ== ms@2.0.0: @@ -3964,12 +3964,12 @@ ms@2.1.2: ms@2.1.3, ms@^2.1.1, ms@^2.1.3: version "2.1.3" - resolved "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" + resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== nanoid@^3.3.11: version "3.3.11" - resolved "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz#4f4f112cefbe303202f2199838128936266d185b" + resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.11.tgz#4f4f112cefbe303202f2199838128936266d185b" integrity sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w== natural-compare-lite@^1.4.0: @@ -4050,7 +4050,7 @@ number-is-nan@^1.0.0: nwsapi@^2.2.12: version "2.2.21" - resolved "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.21.tgz#8df7797079350adda208910d8c33fc4c2d7520c3" + resolved "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.2.21.tgz#8df7797079350adda208910d8c33fc4c2d7520c3" integrity sha512-o6nIY3qwiSXl7/LuOU0Dmuctd34Yay0yeuZRLFmDPrrdHpXKFndPj3hM+YEPVHYC5fx2otBx4Ilc/gyYSAUaIA== oauth-sign@~0.9.0: @@ -4222,7 +4222,7 @@ p-try@^2.0.0: package-json-from-dist@^1.0.0: version "1.0.1" - resolved "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz#4f1471a010827a86f94cfd9b0727e36d267de505" + resolved "https://registry.yarnpkg.com/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz#4f1471a010827a86f94cfd9b0727e36d267de505" integrity sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw== pako@~1.0.2: @@ -4265,7 +4265,7 @@ parse-passwd@^1.0.0: parse5@^7.1.2: version "7.3.0" - resolved "https://registry.npmjs.org/parse5/-/parse5-7.3.0.tgz#d7e224fa72399c7a175099f45fc2ad024b05ec05" + resolved "https://registry.yarnpkg.com/parse5/-/parse5-7.3.0.tgz#d7e224fa72399c7a175099f45fc2ad024b05ec05" integrity sha512-IInvU7fabl34qmi9gY8XOVxhYyMyuH2xUNpb2q8/Y+7552KlejkRvqvD19nMoUW/uQGGbqNpA6Tufu5FL5BZgw== dependencies: entities "^6.0.0" @@ -4324,7 +4324,7 @@ path-root@^0.1.1: path-scurry@^1.11.1: version "1.11.1" - resolved "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz#7960a668888594a0720b12a911d1a742ab9f11d2" + resolved "https://registry.yarnpkg.com/path-scurry/-/path-scurry-1.11.1.tgz#7960a668888594a0720b12a911d1a742ab9f11d2" integrity sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA== dependencies: lru-cache "^10.2.0" @@ -4337,12 +4337,12 @@ path-type@^4.0.0: pathe@^1.1.2: version "1.1.2" - resolved "https://registry.npmjs.org/pathe/-/pathe-1.1.2.tgz#6c4cb47a945692e48a1ddd6e4094d170516437ec" + resolved "https://registry.yarnpkg.com/pathe/-/pathe-1.1.2.tgz#6c4cb47a945692e48a1ddd6e4094d170516437ec" integrity sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ== pathval@^2.0.0: version "2.0.1" - resolved "https://registry.npmjs.org/pathval/-/pathval-2.0.1.tgz#8855c5a2899af072d6ac05d11e46045ad0dc605d" + resolved "https://registry.yarnpkg.com/pathval/-/pathval-2.0.1.tgz#8855c5a2899af072d6ac05d11e46045ad0dc605d" integrity sha512-//nshmD55c46FuFw26xV/xFAaB5HF9Xdap7HJBBnrKdAd6/GxDBaNA1870O79+9ueg61cZLSVc+OaFlfmObYVQ== performance-now@^2.1.0: @@ -4352,7 +4352,7 @@ performance-now@^2.1.0: picocolors@1.1.1, picocolors@^1.1.1: version "1.1.1" - resolved "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz#3d321af3eab939b083c8f929a1d12cda81c26b6b" + resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.1.1.tgz#3d321af3eab939b083c8f929a1d12cda81c26b6b" integrity sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA== picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.3.1: @@ -4362,7 +4362,7 @@ picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.3.1: picomatch@^4.0.2: version "4.0.3" - resolved "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz#796c76136d1eead715db1e7bad785dedd695a042" + resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-4.0.3.tgz#796c76136d1eead715db1e7bad785dedd695a042" integrity sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q== pify@^2.0.0: @@ -4396,12 +4396,12 @@ pkg-dir@^4.2.0: playwright-core@1.54.2: version "1.54.2" - resolved "https://registry.npmjs.org/playwright-core/-/playwright-core-1.54.2.tgz#73cc5106f19ec6b9371908603d61a7f171ebd8f0" + resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.54.2.tgz#73cc5106f19ec6b9371908603d61a7f171ebd8f0" integrity sha512-n5r4HFbMmWsB4twG7tJLDN9gmBUeSPcsBZiWSE4DnYz9mJMAFqr2ID7+eGC9kpEnxExJ1epttwR59LEWCk8mtA== playwright@1.54.2: version "1.54.2" - resolved "https://registry.npmjs.org/playwright/-/playwright-1.54.2.tgz#e2435abb2db3a96a276f8acc3ada1a85b587dff3" + resolved "https://registry.yarnpkg.com/playwright/-/playwright-1.54.2.tgz#e2435abb2db3a96a276f8acc3ada1a85b587dff3" integrity sha512-Hu/BMoA1NAdRUuulyvQC0pEqZ4vQbGfn8f7wPXcnqQmM+zct9UliKxsIkLNmz/ku7LElUNqmaiv1TG/aL5ACsw== dependencies: playwright-core "1.54.2" @@ -4418,7 +4418,7 @@ portscanner@^2.2.0: postcss@^8.4.43: version "8.5.6" - resolved "https://registry.npmjs.org/postcss/-/postcss-8.5.6.tgz#2825006615a619b4f62a9e7426cc120b349a8f3c" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.5.6.tgz#2825006615a619b4f62a9e7426cc120b349a8f3c" integrity sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg== dependencies: nanoid "^3.3.11" @@ -4437,7 +4437,7 @@ pretty-bytes@^5.3.0: pretty-format@^27.0.2: version "27.5.1" - resolved "https://registry.npmjs.org/pretty-format/-/pretty-format-27.5.1.tgz#2181879fdea51a7a5851fb39d920faa63f01d88e" + resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-27.5.1.tgz#2181879fdea51a7a5851fb39d920faa63f01d88e" integrity sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ== dependencies: ansi-regex "^5.0.1" @@ -4521,7 +4521,7 @@ punycode@^2.1.0, punycode@^2.1.1: punycode@^2.3.1: version "2.3.1" - resolved "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz#027422e2faec0b25e1549c3e1bd8309b9133b6e5" + resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.3.1.tgz#027422e2faec0b25e1549c3e1bd8309b9133b6e5" integrity sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg== q@1.4.1: @@ -4578,7 +4578,7 @@ raw-body@~1.1.0: react-is@^17.0.1: version "17.0.2" - resolved "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz#e691d4a8e9c789365655539ab372762b0efb54f0" + resolved "https://registry.yarnpkg.com/react-is/-/react-is-17.0.2.tgz#e691d4a8e9c789365655539ab372762b0efb54f0" integrity sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w== readable-stream@^2.0.0, readable-stream@^2.0.2, readable-stream@^2.3.3, readable-stream@~2.3.6: @@ -4617,7 +4617,7 @@ rechoir@^0.8.0: redent@^3.0.0: version "3.0.0" - resolved "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz#e557b7998316bb53c9f1f56fa626352c6963059f" + resolved "https://registry.yarnpkg.com/redent/-/redent-3.0.0.tgz#e557b7998316bb53c9f1f56fa626352c6963059f" integrity sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg== dependencies: indent-string "^4.0.0" @@ -4794,12 +4794,12 @@ rollup@^4.20.0: rrweb-cssom@^0.7.1: version "0.7.1" - resolved "https://registry.npmjs.org/rrweb-cssom/-/rrweb-cssom-0.7.1.tgz#c73451a484b86dd7cfb1e0b2898df4b703183e4b" + resolved "https://registry.yarnpkg.com/rrweb-cssom/-/rrweb-cssom-0.7.1.tgz#c73451a484b86dd7cfb1e0b2898df4b703183e4b" integrity sha512-TrEMa7JGdVm0UThDJSx7ddw5nVm3UJS9o9CCIZ72B1vSyEZoziDqBYP3XIoi/12lKrJR8rE3jeFHMok2F/Mnsg== rrweb-cssom@^0.8.0: version "0.8.0" - resolved "https://registry.npmjs.org/rrweb-cssom/-/rrweb-cssom-0.8.0.tgz#3021d1b4352fbf3b614aaeed0bc0d5739abe0bc2" + resolved "https://registry.yarnpkg.com/rrweb-cssom/-/rrweb-cssom-0.8.0.tgz#3021d1b4352fbf3b614aaeed0bc0d5739abe0bc2" integrity sha512-guoltQEx+9aMf2gDZ0s62EcV8lsXR+0w8915TC3ITdn2YueuNjdAYh/levpU9nFaoChh9RUS5ZdQMrKfVEN9tw== run-parallel@^1.1.9: @@ -4852,7 +4852,7 @@ sax@>=0.6.0: saxes@^6.0.0: version "6.0.0" - resolved "https://registry.npmjs.org/saxes/-/saxes-6.0.0.tgz#fe5b4a4768df4f14a201b1ba6a65c1f3d9988cc5" + resolved "https://registry.yarnpkg.com/saxes/-/saxes-6.0.0.tgz#fe5b4a4768df4f14a201b1ba6a65c1f3d9988cc5" integrity sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA== dependencies: xmlchars "^2.2.0" @@ -4896,7 +4896,7 @@ semver@^7.3.4, semver@^7.3.7: semver@^7.5.3: version "7.7.2" - resolved "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz#67d99fdcd35cec21e6f8b87a7fd515a33f982b58" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.7.2.tgz#67d99fdcd35cec21e6f8b87a7fd515a33f982b58" integrity sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA== send@0.18.0: @@ -5010,7 +5010,7 @@ side-channel@^1.0.4: siginfo@^2.0.0: version "2.0.0" - resolved "https://registry.npmjs.org/siginfo/-/siginfo-2.0.0.tgz#32e76c70b79724e3bb567cb9d543eb858ccfaf30" + resolved "https://registry.yarnpkg.com/siginfo/-/siginfo-2.0.0.tgz#32e76c70b79724e3bb567cb9d543eb858ccfaf30" integrity sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g== signal-exit@^3.0.0: @@ -5020,12 +5020,12 @@ signal-exit@^3.0.0: signal-exit@^4.0.1: version "4.1.0" - resolved "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz#952188c1cbd546070e2dd20d0f41c0ae0530cb04" + resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-4.1.0.tgz#952188c1cbd546070e2dd20d0f41c0ae0530cb04" integrity sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw== sirv@^3.0.0: version "3.0.1" - resolved "https://registry.npmjs.org/sirv/-/sirv-3.0.1.tgz#32a844794655b727f9e2867b777e0060fbe07bf3" + resolved "https://registry.yarnpkg.com/sirv/-/sirv-3.0.1.tgz#32a844794655b727f9e2867b777e0060fbe07bf3" integrity sha512-FoqMu0NCGBLCcAkS1qA+XJIQTR6/JHfQXl+uGteNCQ76T91DMUjPa9xfmeqMY3z80nLSg9yQmNjK0Px6RWsH/A== dependencies: "@polka/url" "^1.0.0-next.24" @@ -5044,7 +5044,7 @@ slash@^3.0.0: source-map-js@^1.2.0, source-map-js@^1.2.1: version "1.2.1" - resolved "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz#1ce5650fddd87abc099eda37dcff024c2667ae46" + resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.2.1.tgz#1ce5650fddd87abc099eda37dcff024c2667ae46" integrity sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA== source-map-support@~0.4.0: @@ -5106,7 +5106,7 @@ sshpk@^1.7.0: stackback@0.0.2: version "0.0.2" - resolved "https://registry.npmjs.org/stackback/-/stackback-0.0.2.tgz#1ac8a0d9483848d1695e418b6d031a3c3ce68e3b" + resolved "https://registry.yarnpkg.com/stackback/-/stackback-0.0.2.tgz#1ac8a0d9483848d1695e418b6d031a3c3ce68e3b" integrity sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw== statuses@2.0.1: @@ -5121,7 +5121,7 @@ statuses@2.0.1: std-env@^3.8.0: version "3.9.0" - resolved "https://registry.npmjs.org/std-env/-/std-env-3.9.0.tgz#1a6f7243b339dca4c9fd55e1c7504c77ef23e8f1" + resolved "https://registry.yarnpkg.com/std-env/-/std-env-3.9.0.tgz#1a6f7243b339dca4c9fd55e1c7504c77ef23e8f1" integrity sha512-UGvjygr6F6tpH7o2qyqR6QYpwraIjKSdtzyBdyytFOHmPZY917kwdwLG0RbOjWOnKmnm3PeHjaoLLMie7kPLQw== stream-browserify@2.0.1: @@ -5144,7 +5144,7 @@ string-template@~0.2.1: "string-width-cjs@npm:string-width@^4.2.0": version "4.2.3" - resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== dependencies: emoji-regex "^8.0.0" @@ -5179,7 +5179,7 @@ string-width@^4.1.0, string-width@^4.2.0: string-width@^5.0.1, string-width@^5.1.2: version "5.1.2" - resolved "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz#14f8daec6d81e7221d2a357e668cab73bdbca794" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-5.1.2.tgz#14f8daec6d81e7221d2a357e668cab73bdbca794" integrity sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA== dependencies: eastasianwidth "^0.2.0" @@ -5200,7 +5200,7 @@ string_decoder@~1.1.1: "strip-ansi-cjs@npm:strip-ansi@^6.0.1": version "6.0.1" - resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== dependencies: ansi-regex "^5.0.1" @@ -5228,7 +5228,7 @@ strip-ansi@^6.0.0, strip-ansi@^6.0.1: strip-ansi@^7.0.1: version "7.1.0" - resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz#d5b6568ca689d8561370b0707685d22434faff45" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.1.0.tgz#d5b6568ca689d8561370b0707685d22434faff45" integrity sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ== dependencies: ansi-regex "^6.0.1" @@ -5240,7 +5240,7 @@ strip-eof@^1.0.0: strip-indent@^3.0.0: version "3.0.0" - resolved "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz#c32e1cee940b6b3432c771bc2c54bcce73cd3001" + resolved "https://registry.yarnpkg.com/strip-indent/-/strip-indent-3.0.0.tgz#c32e1cee940b6b3432c771bc2c54bcce73cd3001" integrity sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ== dependencies: min-indent "^1.0.0" @@ -5276,7 +5276,7 @@ supports-preserve-symlinks-flag@^1.0.0: symbol-tree@^3.2.4: version "3.2.4" - resolved "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz#430637d248ba77e078883951fb9aa0eed7c63fa2" + resolved "https://registry.yarnpkg.com/symbol-tree/-/symbol-tree-3.2.4.tgz#430637d248ba77e078883951fb9aa0eed7c63fa2" integrity sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw== tapable@^2.3.0: @@ -5307,7 +5307,7 @@ terser@^5.31.1: test-exclude@^7.0.1: version "7.0.1" - resolved "https://registry.npmjs.org/test-exclude/-/test-exclude-7.0.1.tgz#20b3ba4906ac20994e275bbcafd68d510264c2a2" + resolved "https://registry.yarnpkg.com/test-exclude/-/test-exclude-7.0.1.tgz#20b3ba4906ac20994e275bbcafd68d510264c2a2" integrity sha512-pFYqmTw68LXVjeWJMST4+borgQP2AyMNbg1BpZh9LbyhUeNkeaPF9gzfPGUAnSMV3qPYdWUwDIjjCLiSDOl7vg== dependencies: "@istanbuljs/schema" "^0.1.2" @@ -5353,17 +5353,17 @@ tiny-lr@^1.1.1: tinybench@^2.9.0: version "2.9.0" - resolved "https://registry.npmjs.org/tinybench/-/tinybench-2.9.0.tgz#103c9f8ba6d7237a47ab6dd1dcff77251863426b" + resolved "https://registry.yarnpkg.com/tinybench/-/tinybench-2.9.0.tgz#103c9f8ba6d7237a47ab6dd1dcff77251863426b" integrity sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg== tinyexec@^0.3.1: version "0.3.2" - resolved "https://registry.npmjs.org/tinyexec/-/tinyexec-0.3.2.tgz#941794e657a85e496577995c6eef66f53f42b3d2" + resolved "https://registry.yarnpkg.com/tinyexec/-/tinyexec-0.3.2.tgz#941794e657a85e496577995c6eef66f53f42b3d2" integrity sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA== tinyglobby@^0.2.10: version "0.2.14" - resolved "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.14.tgz#5280b0cf3f972b050e74ae88406c0a6a58f4079d" + resolved "https://registry.yarnpkg.com/tinyglobby/-/tinyglobby-0.2.14.tgz#5280b0cf3f972b050e74ae88406c0a6a58f4079d" integrity sha512-tX5e7OM1HnYr2+a2C/4V0htOcSQcoSTH9KgJnVvNm5zm/cyEWKJ7j7YutsH9CxMdtOkkLFy2AHrMci9IM8IPZQ== dependencies: fdir "^6.4.4" @@ -5371,27 +5371,27 @@ tinyglobby@^0.2.10: tinypool@^1.0.1: version "1.1.1" - resolved "https://registry.npmjs.org/tinypool/-/tinypool-1.1.1.tgz#059f2d042bd37567fbc017d3d426bdd2a2612591" + resolved "https://registry.yarnpkg.com/tinypool/-/tinypool-1.1.1.tgz#059f2d042bd37567fbc017d3d426bdd2a2612591" integrity sha512-Zba82s87IFq9A9XmjiX5uZA/ARWDrB03OHlq+Vw1fSdt0I+4/Kutwy8BP4Y/y/aORMo61FQ0vIb5j44vSo5Pkg== tinyrainbow@^1.2.0: version "1.2.0" - resolved "https://registry.npmjs.org/tinyrainbow/-/tinyrainbow-1.2.0.tgz#5c57d2fc0fb3d1afd78465c33ca885d04f02abb5" + resolved "https://registry.yarnpkg.com/tinyrainbow/-/tinyrainbow-1.2.0.tgz#5c57d2fc0fb3d1afd78465c33ca885d04f02abb5" integrity sha512-weEDEq7Z5eTHPDh4xjX789+fHfF+P8boiFB+0vbWzpbnbsEr/GRaohi/uMKxg8RZMXnl1ItAi/IUHWMsjDV7kQ== tinyspy@^3.0.2: version "3.0.2" - resolved "https://registry.npmjs.org/tinyspy/-/tinyspy-3.0.2.tgz#86dd3cf3d737b15adcf17d7887c84a75201df20a" + resolved "https://registry.yarnpkg.com/tinyspy/-/tinyspy-3.0.2.tgz#86dd3cf3d737b15adcf17d7887c84a75201df20a" integrity sha512-n1cw8k1k0x4pgA2+9XrOkFydTerNcJ1zWCO5Nn9scWHTD+5tp8dghT2x1uduQePZTZgd3Tupf+x9BxJjeJi77Q== tldts-core@^6.1.86: version "6.1.86" - resolved "https://registry.npmjs.org/tldts-core/-/tldts-core-6.1.86.tgz#a93e6ed9d505cb54c542ce43feb14c73913265d8" + resolved "https://registry.yarnpkg.com/tldts-core/-/tldts-core-6.1.86.tgz#a93e6ed9d505cb54c542ce43feb14c73913265d8" integrity sha512-Je6p7pkk+KMzMv2XXKmAE3McmolOQFdxkKw0R8EYNr7sELW46JqnNeTX8ybPiQgvg1ymCoF8LXs5fzFaZvJPTA== tldts@^6.1.32: version "6.1.86" - resolved "https://registry.npmjs.org/tldts/-/tldts-6.1.86.tgz#087e0555b31b9725ee48ca7e77edc56115cd82f7" + resolved "https://registry.yarnpkg.com/tldts/-/tldts-6.1.86.tgz#087e0555b31b9725ee48ca7e77edc56115cd82f7" integrity sha512-WMi/OQ2axVTf/ykqCQgXiIct+mSQDFdH2fkwhPwgEwvJ1kSzZRiinb0zF2Xb8u4+OqPChmyI6MEu4EezNJz+FQ== dependencies: tldts-core "^6.1.86" @@ -5417,12 +5417,12 @@ toidentifier@1.0.1: totalist@^3.0.0: version "3.0.1" - resolved "https://registry.npmjs.org/totalist/-/totalist-3.0.1.tgz#ba3a3d600c915b1a97872348f79c127475f6acf8" + resolved "https://registry.yarnpkg.com/totalist/-/totalist-3.0.1.tgz#ba3a3d600c915b1a97872348f79c127475f6acf8" integrity sha512-sf4i37nQ2LBx4m3wB74y+ubopq6W/dIzXg0FDGjsYnZHVa1Da8FH853wlL2gtUhg+xJXjfk3kUZS3BRoQeoQBQ== tough-cookie@^5.0.0: version "5.1.2" - resolved "https://registry.npmjs.org/tough-cookie/-/tough-cookie-5.1.2.tgz#66d774b4a1d9e12dc75089725af3ac75ec31bed7" + resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-5.1.2.tgz#66d774b4a1d9e12dc75089725af3ac75ec31bed7" integrity sha512-FVDYdxtnj0G6Qm/DhNPSb8Ju59ULcup3tuJxkFb5K8Bv2pUXILbf0xZWU8PX8Ov19OXljbUyveOFwRMwkXzO+A== dependencies: tldts "^6.1.32" @@ -5437,7 +5437,7 @@ tough-cookie@~2.5.0: tr46@^5.1.0: version "5.1.1" - resolved "https://registry.npmjs.org/tr46/-/tr46-5.1.1.tgz#96ae867cddb8fdb64a49cc3059a8d428bcf238ca" + resolved "https://registry.yarnpkg.com/tr46/-/tr46-5.1.1.tgz#96ae867cddb8fdb64a49cc3059a8d428bcf238ca" integrity sha512-hdF5ZgjTqgAntKkklYw0R03MG2x/bSzTtkxmIRw/sTNV8YXsCJ1tfLAX23lhxhHJlEf3CRCOCGGWw3vI3GaSPw== dependencies: punycode "^2.3.1" @@ -5685,7 +5685,7 @@ vfile@^4.0.0: vite-node@2.1.9: version "2.1.9" - resolved "https://registry.npmjs.org/vite-node/-/vite-node-2.1.9.tgz#549710f76a643f1c39ef34bdb5493a944e4f895f" + resolved "https://registry.yarnpkg.com/vite-node/-/vite-node-2.1.9.tgz#549710f76a643f1c39ef34bdb5493a944e4f895f" integrity sha512-AM9aQ/IPrW/6ENLQg3AGY4K1N2TGZdR5e4gu/MmmR2xR3Ll1+dib+nook92g4TV3PXVyeyxdWwtaCAiUL0hMxA== dependencies: cac "^6.7.14" @@ -5707,7 +5707,7 @@ vite@^5.0.0: vitest@^2.0.5: version "2.1.9" - resolved "https://registry.npmjs.org/vitest/-/vitest-2.1.9.tgz#7d01ffd07a553a51c87170b5e80fea3da7fb41e7" + resolved "https://registry.yarnpkg.com/vitest/-/vitest-2.1.9.tgz#7d01ffd07a553a51c87170b5e80fea3da7fb41e7" integrity sha512-MSmPM9REYqDGBI8439mA4mWhV5sKmDlBKWIYbA3lRb2PTHACE0mgKwA8yQ2xq9vxDTuk4iPrECBAEW2aoFXY0Q== dependencies: "@vitest/expect" "2.1.9" @@ -5733,7 +5733,7 @@ vitest@^2.0.5: w3c-xmlserializer@^5.0.0: version "5.0.0" - resolved "https://registry.npmjs.org/w3c-xmlserializer/-/w3c-xmlserializer-5.0.0.tgz#f925ba26855158594d907313cedd1476c5967f6c" + resolved "https://registry.yarnpkg.com/w3c-xmlserializer/-/w3c-xmlserializer-5.0.0.tgz#f925ba26855158594d907313cedd1476c5967f6c" integrity sha512-o8qghlI8NZHU1lLPrpi2+Uq7abh4GGPpYANlalzWxyWteJOCsr/P+oPBA49TOLu5FTZO4d3F9MnWJfiMo4BkmA== dependencies: xml-name-validator "^5.0.0" @@ -5773,7 +5773,7 @@ webdriver-manager@^12.0.6, webdriver-manager@^12.1.7: webidl-conversions@^7.0.0: version "7.0.0" - resolved "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-7.0.0.tgz#256b4e1882be7debbf01d05f0aa2039778ea080a" + resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-7.0.0.tgz#256b4e1882be7debbf01d05f0aa2039778ea080a" integrity sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g== webpack-cli@^5.0.1: @@ -5867,24 +5867,24 @@ websocket-stream@^5.0.1: whatwg-encoding@^3.1.1: version "3.1.1" - resolved "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-3.1.1.tgz#d0f4ef769905d426e1688f3e34381a99b60b76e5" + resolved "https://registry.yarnpkg.com/whatwg-encoding/-/whatwg-encoding-3.1.1.tgz#d0f4ef769905d426e1688f3e34381a99b60b76e5" integrity sha512-6qN4hJdMwfYBtE3YBTTHhoeuUrDBPZmbQaxWAqSALV/MeEnR5z1xd8UKud2RAkFoPkmB+hli1TZSnyi84xz1vQ== dependencies: iconv-lite "0.6.3" whatwg-mimetype@^3.0.0: version "3.0.0" - resolved "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-3.0.0.tgz#5fa1a7623867ff1af6ca3dc72ad6b8a4208beba7" + resolved "https://registry.yarnpkg.com/whatwg-mimetype/-/whatwg-mimetype-3.0.0.tgz#5fa1a7623867ff1af6ca3dc72ad6b8a4208beba7" integrity sha512-nt+N2dzIutVRxARx1nghPKGv1xHikU7HKdfafKkLNLindmPU/ch3U31NOCGGA/dmPcmb1VlofO0vnKAcsm0o/Q== whatwg-mimetype@^4.0.0: version "4.0.0" - resolved "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-4.0.0.tgz#bc1bf94a985dc50388d54a9258ac405c3ca2fc0a" + resolved "https://registry.yarnpkg.com/whatwg-mimetype/-/whatwg-mimetype-4.0.0.tgz#bc1bf94a985dc50388d54a9258ac405c3ca2fc0a" integrity sha512-QaKxh0eNIi2mE9p2vEdzfagOKHCcj1pJ56EEHGQOVxp8r9/iszLUUV7v89x9O1p/T+NlTM5W7jW6+cz4Fq1YVg== whatwg-url@^14.0.0: version "14.2.0" - resolved "https://registry.npmjs.org/whatwg-url/-/whatwg-url-14.2.0.tgz#4ee02d5d725155dae004f6ae95c73e7ef5d95663" + resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-14.2.0.tgz#4ee02d5d725155dae004f6ae95c73e7ef5d95663" integrity sha512-De72GdQZzNTUBBChsXueQUnPKDkg/5A5zp7pFDuQAj5UFoENpiACU0wlCvzpAGnTkj++ihpKwKyYewn/XNUbKw== dependencies: tr46 "^5.1.0" @@ -5911,7 +5911,7 @@ which@^2.0.1, which@~2.0.2: why-is-node-running@^2.3.0: version "2.3.0" - resolved "https://registry.npmjs.org/why-is-node-running/-/why-is-node-running-2.3.0.tgz#a3f69a97107f494b3cdc3bdddd883a7d65cebf04" + resolved "https://registry.yarnpkg.com/why-is-node-running/-/why-is-node-running-2.3.0.tgz#a3f69a97107f494b3cdc3bdddd883a7d65cebf04" integrity sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w== dependencies: siginfo "^2.0.0" @@ -5929,7 +5929,7 @@ word-wrap@^1.2.3: "wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": version "7.0.0" - resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== dependencies: ansi-styles "^4.0.0" @@ -5955,7 +5955,7 @@ wrap-ansi@^6.2.0: wrap-ansi@^8.1.0: version "8.1.0" - resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214" integrity sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ== dependencies: ansi-styles "^6.1.0" @@ -5983,7 +5983,7 @@ ws@^8.18.0, ws@^8.18.3: xml-name-validator@^5.0.0: version "5.0.0" - resolved "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-5.0.0.tgz#82be9b957f7afdacf961e5980f1bf227c0bf7673" + resolved "https://registry.yarnpkg.com/xml-name-validator/-/xml-name-validator-5.0.0.tgz#82be9b957f7afdacf961e5980f1bf227c0bf7673" integrity sha512-EvGK8EJ3DhaHfbRlETOWAS5pO9MZITeauHKJyb8wyajUfQUenkIg2MvLDTZ4T/TgIcm3HU0TFBgWWboAZ30UHg== xml2js@^0.4.17: @@ -6001,7 +6001,7 @@ xmlbuilder@~11.0.0: xmlchars@^2.2.0: version "2.2.0" - resolved "https://registry.npmjs.org/xmlchars/-/xmlchars-2.2.0.tgz#060fe1bcb7f9c76fe2a17db86a9bc3ab894210cb" + resolved "https://registry.yarnpkg.com/xmlchars/-/xmlchars-2.2.0.tgz#060fe1bcb7f9c76fe2a17db86a9bc3ab894210cb" integrity sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw== xtend@^4.0.0, xtend@~4.0.1: From 778e27a4fccc0cb5d68b0dc07ca8827558f00e8e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 1 Jun 2026 17:53:45 +0000 Subject: [PATCH 170/235] Bump vitest from 2.1.9 to 4.1.0 Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 2.1.9 to 4.1.0. - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md) - [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.0/packages/vitest) --- updated-dependencies: - dependency-name: vitest dependency-version: 4.1.0 dependency-type: direct:development ... Signed-off-by: dependabot[bot] --- package.json | 2 +- yarn.lock | 848 ++++++++++++++++++++++++--------------------------- 2 files changed, 395 insertions(+), 455 deletions(-) diff --git a/package.json b/package.json index b3a9858af..49d747809 100644 --- a/package.json +++ b/package.json @@ -104,7 +104,7 @@ "typedoc": "^0.28.9", "typedoc-plugin-markdown": "^4.8.0", "typescript": "^5.0.4", - "vitest": "^2.0.5", + "vitest": "^4.1.0", "webpack": "^5.79.0", "webpack-cli": "^5.0.1" }, diff --git a/yarn.lock b/yarn.lock index 6ab27305c..ed0588469 100644 --- a/yarn.lock +++ b/yarn.lock @@ -103,120 +103,27 @@ resolved "https://registry.yarnpkg.com/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz#1d572bfbbe14b7704e0ba0f39b74815b84870d70" integrity sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw== -"@esbuild/aix-ppc64@0.21.5": - version "0.21.5" - resolved "https://registry.yarnpkg.com/@esbuild/aix-ppc64/-/aix-ppc64-0.21.5.tgz#c7184a326533fcdf1b8ee0733e21c713b975575f" - integrity sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ== - -"@esbuild/android-arm64@0.21.5": - version "0.21.5" - resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.21.5.tgz#09d9b4357780da9ea3a7dfb833a1f1ff439b4052" - integrity sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A== - -"@esbuild/android-arm@0.21.5": - version "0.21.5" - resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.21.5.tgz#9b04384fb771926dfa6d7ad04324ecb2ab9b2e28" - integrity sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg== - -"@esbuild/android-x64@0.21.5": - version "0.21.5" - resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.21.5.tgz#29918ec2db754cedcb6c1b04de8cd6547af6461e" - integrity sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA== - -"@esbuild/darwin-arm64@0.21.5": - version "0.21.5" - resolved "https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.21.5.tgz#e495b539660e51690f3928af50a76fb0a6ccff2a" - integrity sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ== - -"@esbuild/darwin-x64@0.21.5": - version "0.21.5" - resolved "https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.21.5.tgz#c13838fa57372839abdddc91d71542ceea2e1e22" - integrity sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw== - -"@esbuild/freebsd-arm64@0.21.5": - version "0.21.5" - resolved "https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.21.5.tgz#646b989aa20bf89fd071dd5dbfad69a3542e550e" - integrity sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g== - -"@esbuild/freebsd-x64@0.21.5": - version "0.21.5" - resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.21.5.tgz#aa615cfc80af954d3458906e38ca22c18cf5c261" - integrity sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ== - -"@esbuild/linux-arm64@0.21.5": - version "0.21.5" - resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.21.5.tgz#70ac6fa14f5cb7e1f7f887bcffb680ad09922b5b" - integrity sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q== - -"@esbuild/linux-arm@0.21.5": - version "0.21.5" - resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.21.5.tgz#fc6fd11a8aca56c1f6f3894f2bea0479f8f626b9" - integrity sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA== - -"@esbuild/linux-ia32@0.21.5": - version "0.21.5" - resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.21.5.tgz#3271f53b3f93e3d093d518d1649d6d68d346ede2" - integrity sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg== - -"@esbuild/linux-loong64@0.21.5": - version "0.21.5" - resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.21.5.tgz#ed62e04238c57026aea831c5a130b73c0f9f26df" - integrity sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg== - -"@esbuild/linux-mips64el@0.21.5": - version "0.21.5" - resolved "https://registry.yarnpkg.com/@esbuild/linux-mips64el/-/linux-mips64el-0.21.5.tgz#e79b8eb48bf3b106fadec1ac8240fb97b4e64cbe" - integrity sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg== - -"@esbuild/linux-ppc64@0.21.5": - version "0.21.5" - resolved "https://registry.yarnpkg.com/@esbuild/linux-ppc64/-/linux-ppc64-0.21.5.tgz#5f2203860a143b9919d383ef7573521fb154c3e4" - integrity sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w== - -"@esbuild/linux-riscv64@0.21.5": - version "0.21.5" - resolved "https://registry.yarnpkg.com/@esbuild/linux-riscv64/-/linux-riscv64-0.21.5.tgz#07bcafd99322d5af62f618cb9e6a9b7f4bb825dc" - integrity sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA== - -"@esbuild/linux-s390x@0.21.5": - version "0.21.5" - resolved "https://registry.yarnpkg.com/@esbuild/linux-s390x/-/linux-s390x-0.21.5.tgz#b7ccf686751d6a3e44b8627ababc8be3ef62d8de" - integrity sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A== - -"@esbuild/linux-x64@0.21.5": - version "0.21.5" - resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.21.5.tgz#6d8f0c768e070e64309af8004bb94e68ab2bb3b0" - integrity sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ== - -"@esbuild/netbsd-x64@0.21.5": - version "0.21.5" - resolved "https://registry.yarnpkg.com/@esbuild/netbsd-x64/-/netbsd-x64-0.21.5.tgz#bbe430f60d378ecb88decb219c602667387a6047" - integrity sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg== - -"@esbuild/openbsd-x64@0.21.5": - version "0.21.5" - resolved "https://registry.yarnpkg.com/@esbuild/openbsd-x64/-/openbsd-x64-0.21.5.tgz#99d1cf2937279560d2104821f5ccce220cb2af70" - integrity sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow== - -"@esbuild/sunos-x64@0.21.5": - version "0.21.5" - resolved "https://registry.yarnpkg.com/@esbuild/sunos-x64/-/sunos-x64-0.21.5.tgz#08741512c10d529566baba837b4fe052c8f3487b" - integrity sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg== - -"@esbuild/win32-arm64@0.21.5": - version "0.21.5" - resolved "https://registry.yarnpkg.com/@esbuild/win32-arm64/-/win32-arm64-0.21.5.tgz#675b7385398411240735016144ab2e99a60fc75d" - integrity sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A== - -"@esbuild/win32-ia32@0.21.5": - version "0.21.5" - resolved "https://registry.yarnpkg.com/@esbuild/win32-ia32/-/win32-ia32-0.21.5.tgz#1bfc3ce98aa6ca9a0969e4d2af72144c59c1193b" - integrity sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA== - -"@esbuild/win32-x64@0.21.5": - version "0.21.5" - resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.21.5.tgz#acad351d582d157bb145535db2a6ff53dd514b5c" - integrity sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw== +"@emnapi/core@1.10.0": + version "1.10.0" + resolved "https://registry.yarnpkg.com/@emnapi/core/-/core-1.10.0.tgz#380ccc8f2412ea22d1d972df7f8ee23a3b9c7467" + integrity sha512-yq6OkJ4p82CAfPl0u9mQebQHKPJkY7WrIuk205cTYnYe+k2Z8YBh11FrbRG/H6ihirqcacOgl2BIO8oyMQLeXw== + dependencies: + "@emnapi/wasi-threads" "1.2.1" + tslib "^2.4.0" + +"@emnapi/runtime@1.10.0": + version "1.10.0" + resolved "https://registry.yarnpkg.com/@emnapi/runtime/-/runtime-1.10.0.tgz#4b260c0d3534204e98c6110b8db1a987d26ec87c" + integrity sha512-ewvYlk86xUoGI0zQRNq/mC+16R1QeDlKQy21Ki3oSYXNgLb45GV1P6A0M+/s6nyCuNDqe5VpaY84BzXGwVbwFA== + dependencies: + tslib "^2.4.0" + +"@emnapi/wasi-threads@1.2.1": + version "1.2.1" + resolved "https://registry.yarnpkg.com/@emnapi/wasi-threads/-/wasi-threads-1.2.1.tgz#28fed21a1ba1ce797c44a070abc94d42f3ae8548" + integrity sha512-uTII7OYF+/Mes/MrcIOYp5yOtSMLBWSIoLPpcgwipoiKbli6k322tcoFsxoIIxPDqW01SQGAgko4EzZi2BNv2w== + dependencies: + tslib "^2.4.0" "@eslint-community/eslint-utils@^4.2.0": version "4.4.0" @@ -334,7 +241,7 @@ resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz#3188bcb273a414b0d215fd22a58540b989b9409a" integrity sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ== -"@jridgewell/sourcemap-codec@^1.5.0": +"@jridgewell/sourcemap-codec@^1.5.5": version "1.5.5" resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz#6912b00d2c631c0d15ce1a7ab57cd657f2a8f8ba" integrity sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og== @@ -355,6 +262,13 @@ "@jridgewell/resolve-uri" "^3.1.0" "@jridgewell/sourcemap-codec" "^1.4.14" +"@napi-rs/wasm-runtime@^1.1.4": + version "1.1.4" + resolved "https://registry.yarnpkg.com/@napi-rs/wasm-runtime/-/wasm-runtime-1.1.4.tgz#a46bbfedc29751b7170c5d23bc1d8ee8c7e3c1e1" + integrity sha512-3NQNNgA1YSlJb/kMH1ildASP9HW7/7kYnRI2szWJaofaS1hWmbGI4H+d3+22aGzXXN9IJ+n+GiFVcGipJP18ow== + dependencies: + "@tybys/wasm-util" "^0.10.1" + "@nodelib/fs.scandir@2.1.5": version "2.1.5" resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5" @@ -376,6 +290,11 @@ "@nodelib/fs.scandir" "2.1.5" fastq "^1.6.0" +"@oxc-project/types@=0.133.0": + version "0.133.0" + resolved "https://registry.yarnpkg.com/@oxc-project/types/-/types-0.133.0.tgz#2e282ef9e1d26e06b68ccd14b73f310a3b2cf7f8" + integrity sha512-KzkdCd6Uxqnf6l3HOw1xfatAlUURA0g14cvBYFyJ5SaNOQbOUvBr9PKArcPcrNIeRsBdgcUzOGrhKveVpvOIGA== + "@pkgjs/parseargs@^0.11.0": version "0.11.0" resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33" @@ -393,130 +312,89 @@ resolved "https://registry.yarnpkg.com/@polka/url/-/url-1.0.0-next.29.tgz#5a40109a1ab5f84d6fd8fc928b19f367cbe7e7b1" integrity sha512-wwQAWhWSuHaag8c4q/KN/vCoeOJYshAIvMQwD4GpSb3OiZklFfvAgmj0VCBBImRpuF/aFgIRzllXlVX93Jevww== -"@rollup/rollup-android-arm-eabi@4.59.0": - version "4.59.0" - resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.59.0.tgz#a6742c74c7d9d6d604ef8a48f99326b4ecda3d82" - integrity sha512-upnNBkA6ZH2VKGcBj9Fyl9IGNPULcjXRlg0LLeaioQWueH30p6IXtJEbKAgvyv+mJaMxSm1l6xwDXYjpEMiLMg== - -"@rollup/rollup-android-arm64@4.59.0": - version "4.59.0" - resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.59.0.tgz#97247be098de4df0c11971089fd2edf80a5da8cf" - integrity sha512-hZ+Zxj3SySm4A/DylsDKZAeVg0mvi++0PYVceVyX7hemkw7OreKdCvW2oQ3T1FMZvCaQXqOTHb8qmBShoqk69Q== - -"@rollup/rollup-darwin-arm64@4.59.0": - version "4.59.0" - resolved "https://registry.yarnpkg.com/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.59.0.tgz#674852cf14cf11b8056e0b1a2f4e872b523576cf" - integrity sha512-W2Psnbh1J8ZJw0xKAd8zdNgF9HRLkdWwwdWqubSVk0pUuQkoHnv7rx4GiF9rT4t5DIZGAsConRE3AxCdJ4m8rg== - -"@rollup/rollup-darwin-x64@4.59.0": - version "4.59.0" - resolved "https://registry.yarnpkg.com/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.59.0.tgz#36dfd7ed0aaf4d9d89d9ef983af72632455b0246" - integrity sha512-ZW2KkwlS4lwTv7ZVsYDiARfFCnSGhzYPdiOU4IM2fDbL+QGlyAbjgSFuqNRbSthybLbIJ915UtZBtmuLrQAT/w== - -"@rollup/rollup-freebsd-arm64@4.59.0": - version "4.59.0" - resolved "https://registry.yarnpkg.com/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.59.0.tgz#2f87c2074b4220260fdb52a9996246edfc633c22" - integrity sha512-EsKaJ5ytAu9jI3lonzn3BgG8iRBjV4LxZexygcQbpiU0wU0ATxhNVEpXKfUa0pS05gTcSDMKpn3Sx+QB9RlTTA== - -"@rollup/rollup-freebsd-x64@4.59.0": - version "4.59.0" - resolved "https://registry.yarnpkg.com/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.59.0.tgz#9b5a26522a38a95dc06616d1939d4d9a76937803" - integrity sha512-d3DuZi2KzTMjImrxoHIAODUZYoUUMsuUiY4SRRcJy6NJoZ6iIqWnJu9IScV9jXysyGMVuW+KNzZvBLOcpdl3Vg== - -"@rollup/rollup-linux-arm-gnueabihf@4.59.0": - version "4.59.0" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.59.0.tgz#86aa4859385a8734235b5e40a48e52d770758c3a" - integrity sha512-t4ONHboXi/3E0rT6OZl1pKbl2Vgxf9vJfWgmUoCEVQVxhW6Cw/c8I6hbbu7DAvgp82RKiH7TpLwxnJeKv2pbsw== - -"@rollup/rollup-linux-arm-musleabihf@4.59.0": - version "4.59.0" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.59.0.tgz#cbe70e56e6ece8dac83eb773b624fc9e5a460976" - integrity sha512-CikFT7aYPA2ufMD086cVORBYGHffBo4K8MQ4uPS/ZnY54GKj36i196u8U+aDVT2LX4eSMbyHtyOh7D7Zvk2VvA== - -"@rollup/rollup-linux-arm64-gnu@4.59.0": - version "4.59.0" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.59.0.tgz#d14992a2e653bc3263d284bc6579b7a2890e1c45" - integrity sha512-jYgUGk5aLd1nUb1CtQ8E+t5JhLc9x5WdBKew9ZgAXg7DBk0ZHErLHdXM24rfX+bKrFe+Xp5YuJo54I5HFjGDAA== - -"@rollup/rollup-linux-arm64-musl@4.59.0": - version "4.59.0" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.59.0.tgz#2fdd1ddc434ea90aeaa0851d2044789b4d07f6da" - integrity sha512-peZRVEdnFWZ5Bh2KeumKG9ty7aCXzzEsHShOZEFiCQlDEepP1dpUl/SrUNXNg13UmZl+gzVDPsiCwnV1uI0RUA== - -"@rollup/rollup-linux-loong64-gnu@4.59.0": - version "4.59.0" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.59.0.tgz#8a181e6f89f969f21666a743cd411416c80099e7" - integrity sha512-gbUSW/97f7+r4gHy3Jlup8zDG190AuodsWnNiXErp9mT90iCy9NKKU0Xwx5k8VlRAIV2uU9CsMnEFg/xXaOfXg== - -"@rollup/rollup-linux-loong64-musl@4.59.0": - version "4.59.0" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-loong64-musl/-/rollup-linux-loong64-musl-4.59.0.tgz#904125af2babc395f8061daa27b5af1f4e3f2f78" - integrity sha512-yTRONe79E+o0FWFijasoTjtzG9EBedFXJMl888NBEDCDV9I2wGbFFfJQQe63OijbFCUZqxpHz1GzpbtSFikJ4Q== - -"@rollup/rollup-linux-ppc64-gnu@4.59.0": - version "4.59.0" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.59.0.tgz#a57970ac6864c9a3447411a658224bdcf948be22" - integrity sha512-sw1o3tfyk12k3OEpRddF68a1unZ5VCN7zoTNtSn2KndUE+ea3m3ROOKRCZxEpmT9nsGnogpFP9x6mnLTCaoLkA== - -"@rollup/rollup-linux-ppc64-musl@4.59.0": - version "4.59.0" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-ppc64-musl/-/rollup-linux-ppc64-musl-4.59.0.tgz#bb84de5b26870567a4267666e08891e80bb56a63" - integrity sha512-+2kLtQ4xT3AiIxkzFVFXfsmlZiG5FXYW7ZyIIvGA7Bdeuh9Z0aN4hVyXS/G1E9bTP/vqszNIN/pUKCk/BTHsKA== - -"@rollup/rollup-linux-riscv64-gnu@4.59.0": - version "4.59.0" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.59.0.tgz#72d00d2c7fb375ce3564e759db33f17a35bffab9" - integrity sha512-NDYMpsXYJJaj+I7UdwIuHHNxXZ/b/N2hR15NyH3m2qAtb/hHPA4g4SuuvrdxetTdndfj9b1WOmy73kcPRoERUg== - -"@rollup/rollup-linux-riscv64-musl@4.59.0": - version "4.59.0" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.59.0.tgz#4c166ef58e718f9245bd31873384ba15a5c1a883" - integrity sha512-nLckB8WOqHIf1bhymk+oHxvM9D3tyPndZH8i8+35p/1YiVoVswPid2yLzgX7ZJP0KQvnkhM4H6QZ5m0LzbyIAg== - -"@rollup/rollup-linux-s390x-gnu@4.59.0": - version "4.59.0" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.59.0.tgz#bb5025cde9a61db478c2ca7215808ad3bce73a09" - integrity sha512-oF87Ie3uAIvORFBpwnCvUzdeYUqi2wY6jRFWJAy1qus/udHFYIkplYRW+wo+GRUP4sKzYdmE1Y3+rY5Gc4ZO+w== - -"@rollup/rollup-linux-x64-gnu@4.59.0": - version "4.59.0" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.59.0.tgz#9b66b1f9cd95c6624c788f021c756269ffed1552" - integrity sha512-3AHmtQq/ppNuUspKAlvA8HtLybkDflkMuLK4DPo77DfthRb71V84/c4MlWJXixZz4uruIH4uaa07IqoAkG64fg== - -"@rollup/rollup-linux-x64-musl@4.59.0": - version "4.59.0" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.59.0.tgz#b007ca255dc7166017d57d7d2451963f0bd23fd9" - integrity sha512-2UdiwS/9cTAx7qIUZB/fWtToJwvt0Vbo0zmnYt7ED35KPg13Q0ym1g442THLC7VyI6JfYTP4PiSOWyoMdV2/xg== - -"@rollup/rollup-openbsd-x64@4.59.0": - version "4.59.0" - resolved "https://registry.yarnpkg.com/@rollup/rollup-openbsd-x64/-/rollup-openbsd-x64-4.59.0.tgz#e8b357b2d1aa2c8d76a98f5f0d889eabe93f4ef9" - integrity sha512-M3bLRAVk6GOwFlPTIxVBSYKUaqfLrn8l0psKinkCFxl4lQvOSz8ZrKDz2gxcBwHFpci0B6rttydI4IpS4IS/jQ== - -"@rollup/rollup-openharmony-arm64@4.59.0": - version "4.59.0" - resolved "https://registry.yarnpkg.com/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.59.0.tgz#96c2e3f4aacd3d921981329831ff8dde492204dc" - integrity sha512-tt9KBJqaqp5i5HUZzoafHZX8b5Q2Fe7UjYERADll83O4fGqJ49O1FsL6LpdzVFQcpwvnyd0i+K/VSwu/o/nWlA== - -"@rollup/rollup-win32-arm64-msvc@4.59.0": - version "4.59.0" - resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.59.0.tgz#2d865149d706d938df8b4b8f117e69a77646d581" - integrity sha512-V5B6mG7OrGTwnxaNUzZTDTjDS7F75PO1ae6MJYdiMu60sq0CqN5CVeVsbhPxalupvTX8gXVSU9gq+Rx1/hvu6A== - -"@rollup/rollup-win32-ia32-msvc@4.59.0": - version "4.59.0" - resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.59.0.tgz#abe1593be0fa92325e9971c8da429c5e05b92c36" - integrity sha512-UKFMHPuM9R0iBegwzKF4y0C4J9u8C6MEJgFuXTBerMk7EJ92GFVFYBfOZaSGLu6COf7FxpQNqhNS4c4icUPqxA== - -"@rollup/rollup-win32-x64-gnu@4.59.0": - version "4.59.0" - resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.59.0.tgz#c4af3e9518c9a5cd4b1c163dc81d0ad4d82e7eab" - integrity sha512-laBkYlSS1n2L8fSo1thDNGrCTQMmxjYY5G0WFWjFFYZkKPjsMBsgJfGf4TLxXrF6RyhI60L8TMOjBMvXiTcxeA== - -"@rollup/rollup-win32-x64-msvc@4.59.0": - version "4.59.0" - resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.59.0.tgz#4584a8a87b29188a4c1fe987a9fcf701e256d86c" - integrity sha512-2HRCml6OztYXyJXAvdDXPKcawukWY2GpR5/nxKp4iBgiO3wcoEGkAaqctIbZcNB6KlUQBIqt8VYkNSj2397EfA== +"@rolldown/binding-android-arm64@1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@rolldown/binding-android-arm64/-/binding-android-arm64-1.0.3.tgz#54ce8f8382213f4a314a0c2f7ba83f81ffeae592" + integrity sha512-454rs7jHngixp/NMxd5srYD57OnzSlZ/eFTETjORQHLwJG1lRtmNOJcBerZlfu4GjKqeq8aCCIQrMdHyhI51Hw== + +"@rolldown/binding-darwin-arm64@1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.0.3.tgz#388fca1566c14c00c4b446fc3928630e7f0d95fc" + integrity sha512-PcAhP+ynjURNyy8SKGl5DQP94aGuB/7JrXJb/t7P+hanXvQVMWzUvRRhBAcg/lNRadBhoUPqSoP4xw5tR/KBEA== + +"@rolldown/binding-darwin-x64@1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.0.3.tgz#53f57de1f599ecf1db13823cfc88c18fb80954ad" + integrity sha512-9YpfeUvSE2RS7wysJ81uOZkXJz7f7Q55H2Gvp3VEw/EsahqDtrphrZ0EwDLK5vvKOzaCrBsjF8JmnMLcUt78Gg== + +"@rolldown/binding-freebsd-x64@1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.0.3.tgz#6f3fdda1b7aeaac9d268a526804b4fb96e4e35f1" + integrity sha512-yB1IlAsSNHncV6SCTL27/MVGR5htvQsoGxIv5KMGXALp+Ll1wYsn+x98M9MW7qa+NdSbvrrY7ANI4wLJ0n1e6g== + +"@rolldown/binding-linux-arm-gnueabihf@1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.0.3.tgz#d87a454bf585cc9676849377e91d6e375297326f" + integrity sha512-Yi30IVAAfLUCy2MseFjbB1jAMDl1VMCAas5StnYp8da9+CKvMd2H2cbEjWcw5NPaPqzvYkVIaF1nNUG+b7u/sw== + +"@rolldown/binding-linux-arm64-gnu@1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.0.3.tgz#419fd6bf612cf348f10528cbcd94ebab9607d8d1" + integrity sha512-jsO7R8To+AdlYgUmN5sHSCZbfhtMBkO0WUx8iORQnPcMMdgr7qM2DQmMwgabs3GhNztdmoKkMKQFHD6DTMCIQw== + +"@rolldown/binding-linux-arm64-musl@1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.0.3.tgz#fcc6918696bb76844877e1e4930a18fd0d374069" + integrity sha512-VWkUHwWriDciit80wleYwKILoR/KMvxh/IdwS/paX+ZgpuRpCrKLUdadJbc0NpBEiyhpYawsJ73j9aCvOH+f7Q== + +"@rolldown/binding-linux-ppc64-gnu@1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.0.3.tgz#32aecb7c8dae5d4f2a8cde57a058ec86991542f8" + integrity sha512-5f1laC0SlIR0yDbFCd8acUhvJIag6N3zC5P7oUPN6wX0aOma+uKJ0wBDH5aq7I1PVI2ttTlhJwzwRIBnLiSGEg== + +"@rolldown/binding-linux-s390x-gnu@1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.0.3.tgz#bed9346ea81e6bb8b93cf11f5d88b77db890b763" + integrity sha512-Iq4ko0r4XsgbrF/LunNgHtAGLRRVE2kXonAXQ/MV0mC6jQpMOhW1SvtZja2EhC/kd05++bP78dsqBeIQyYJ6Yg== + +"@rolldown/binding-linux-x64-gnu@1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.0.3.tgz#64c2d26f75dffd9b5a1f97557a00ae77250c8cb7" + integrity sha512-B8m6tD5+/N5FeNQFbKlLA/2yVq9ycQP1SeedyEYYKWBNR3ZQbkvIUcNnDNM03lO1l5F2roiiFJGgvoLLyZXtSg== + +"@rolldown/binding-linux-x64-musl@1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.0.3.tgz#5a45132e8a47659eeaaf3b540c2954a97c860ff3" + integrity sha512-pSdpdUJHkuCxun9LE7jvgUB9qsRgaiyNNCX7m/AvHTcq67AiT/Yhoxvw5zPfhrM8k/BfP8ce/hMOpthKDpEUow== + +"@rolldown/binding-openharmony-arm64@1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.0.3.tgz#290513068c55e849dc8457a32afee1d7b0acb309" + integrity sha512-OXXS3RKJgX2uLwM+gYyuH5omcH8fL1LJs96pZGgtetVCahON57+d4SJHzTgZiOjxgGkSnpXpOsWuPDGAKAigEg== + +"@rolldown/binding-wasm32-wasi@1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@rolldown/binding-wasm32-wasi/-/binding-wasm32-wasi-1.0.3.tgz#3d9972dbf1a953d3c7afaa4a0f20ef2b2e39f31b" + integrity sha512-JTtb8BWFynicNSoPrehsCzBtOKjZ6jhMiPFEmOiuXg1Fl8dn2KHQob+GuPSGR0dryQa1PQJbzjF3dqO/whhjLg== + dependencies: + "@emnapi/core" "1.10.0" + "@emnapi/runtime" "1.10.0" + "@napi-rs/wasm-runtime" "^1.1.4" + +"@rolldown/binding-win32-arm64-msvc@1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.0.3.tgz#a004ab607a16d6f03bcb555728ff888af75773ad" + integrity sha512-gEdFFEN70A/jxb2svrWsN3aDL7OUtmvlOy+6fa2jxG8K0wQ1ZbdeLGnidov6Yu5/733dI5ySfzFlQ/cb0bSz1g== + +"@rolldown/binding-win32-x64-msvc@1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.0.3.tgz#e2a25b34691a1cc8a1209d7de709063026dd0cdb" + integrity sha512-eXB7CHuaQdqmJcc3koCNtNPmT/bj2gc999kUFgBxG8Ac0NdgXc4rkCHhqrgrhN3zddvvvrgzj1e90SuSfmyIXA== + +"@rolldown/pluginutils@^1.0.0": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@rolldown/pluginutils/-/pluginutils-1.0.1.tgz#e3fcee093fbb5ce765e1ad088ff4de2889f6f9be" + integrity sha512-2j9bGt5Jh8hj+vPtgzPtl72j0yRxHAyumoo6TNfAjsLB04UtpSvPbPcDcBMxz7n+9CYB0c1GxQFxYRg2jimqGw== "@shikijs/engine-oniguruma@^3.9.2": version "3.9.2" @@ -553,6 +431,11 @@ resolved "https://registry.yarnpkg.com/@shikijs/vscode-textmate/-/vscode-textmate-10.0.2.tgz#a90ab31d0cc1dfb54c66a69e515bf624fa7b2224" integrity sha512-83yeghZ2xxin3Nj8z1NMd/NCuca+gsYXswywDy5bHvwlWL8tpTQmzGeUuHd9FC3E/SBEMvzJRwWEOz5gGes9Qg== +"@standard-schema/spec@^1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@standard-schema/spec/-/spec-1.1.0.tgz#a79b55dbaf8604812f52d140b2c9ab41bc150bb8" + integrity sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w== + "@testing-library/dom@^10.4.0": version "10.4.1" resolved "https://registry.yarnpkg.com/@testing-library/dom/-/dom-10.4.1.tgz#d444f8a889e9a46e9a3b4f3b88e0fcb3efb6cf95" @@ -600,11 +483,31 @@ traverse "^0.6.7" unified "^9.2.2" +"@tybys/wasm-util@^0.10.1": + version "0.10.2" + resolved "https://registry.yarnpkg.com/@tybys/wasm-util/-/wasm-util-0.10.2.tgz#12b3a1b33db1f9cad4ddff1f604ab7dd00bf464e" + integrity sha512-RoBvJ2X0wuKlWFIjrwffGw1IqZHKQqzIchKaadZZfnNpsAYp2mM0h36JtPCjNDAHGgYez/15uMBpfGwchhiMgg== + dependencies: + tslib "^2.4.0" + "@types/aria-query@^5.0.1": version "5.0.4" resolved "https://registry.yarnpkg.com/@types/aria-query/-/aria-query-5.0.4.tgz#1a31c3d378850d2778dabb6374d036dcba4ba708" integrity sha512-rfT93uj5s0PRL7EzccGMs3brplhcrghnDoV26NqKhCAS1hVo+WdNsPvE/yb6ilfr5hi2MEk6d5EWJTKdxg8jVw== +"@types/chai@^5.2.2": + version "5.2.3" + resolved "https://registry.yarnpkg.com/@types/chai/-/chai-5.2.3.tgz#8e9cd9e1c3581fa6b341a5aed5588eb285be0b4a" + integrity sha512-Mw558oeA9fFbv65/y4mHtXDs9bPnFMZAL/jxdPFUpOHHIXX91mcgEHbS5Lahr+pwZFR8A7GQleRWeI6cGFC2UA== + dependencies: + "@types/deep-eql" "*" + assertion-error "^2.0.1" + +"@types/deep-eql@*": + version "4.0.2" + resolved "https://registry.yarnpkg.com/@types/deep-eql/-/deep-eql-4.0.2.tgz#334311971d3a07121e7eb91b684a605e7eea9cbd" + integrity sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw== + "@types/eslint-scope@^3.7.7": version "3.7.7" resolved "https://registry.yarnpkg.com/@types/eslint-scope/-/eslint-scope-3.7.7.tgz#3108bd5f18b0cdb277c867b3dd449c9ed7079ac5" @@ -621,7 +524,7 @@ "@types/estree" "*" "@types/json-schema" "*" -"@types/estree@*", "@types/estree@1.0.8", "@types/estree@^1.0.0", "@types/estree@^1.0.8": +"@types/estree@*", "@types/estree@^1.0.0", "@types/estree@^1.0.8": version "1.0.8" resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.8.tgz#958b91c991b1867ced318bedea0e215ee050726e" integrity sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w== @@ -786,55 +689,63 @@ test-exclude "^7.0.1" tinyrainbow "^1.2.0" -"@vitest/expect@2.1.9": - version "2.1.9" - resolved "https://registry.yarnpkg.com/@vitest/expect/-/expect-2.1.9.tgz#b566ea20d58ea6578d8dc37040d6c1a47ebe5ff8" - integrity sha512-UJCIkTBenHeKT1TTlKMJWy1laZewsRIzYighyYiJKZreqtdxSos/S1t+ktRMQWu2CKqaarrkeszJx1cgC5tGZw== +"@vitest/expect@4.1.0": + version "4.1.0" + resolved "https://registry.yarnpkg.com/@vitest/expect/-/expect-4.1.0.tgz#2f6c7d19cfbe778bfb42d73f77663ec22163fcbb" + integrity sha512-EIxG7k4wlWweuCLG9Y5InKFwpMEOyrMb6ZJ1ihYu02LVj/bzUwn2VMU+13PinsjRW75XnITeFrQBMH5+dLvCDA== dependencies: - "@vitest/spy" "2.1.9" - "@vitest/utils" "2.1.9" - chai "^5.1.2" - tinyrainbow "^1.2.0" + "@standard-schema/spec" "^1.1.0" + "@types/chai" "^5.2.2" + "@vitest/spy" "4.1.0" + "@vitest/utils" "4.1.0" + chai "^6.2.2" + tinyrainbow "^3.0.3" -"@vitest/mocker@2.1.9": - version "2.1.9" - resolved "https://registry.yarnpkg.com/@vitest/mocker/-/mocker-2.1.9.tgz#36243b27351ca8f4d0bbc4ef91594ffd2dc25ef5" - integrity sha512-tVL6uJgoUdi6icpxmdrn5YNo3g3Dxv+IHJBr0GXHaEdTcw3F+cPKnsXFhli6nO+f/6SDKPHEK1UN+k+TQv0Ehg== +"@vitest/mocker@4.1.0": + version "4.1.0" + resolved "https://registry.yarnpkg.com/@vitest/mocker/-/mocker-4.1.0.tgz#2aabf6079ad472f89a212d322f7d5da7ad628a0e" + integrity sha512-evxREh+Hork43+Y4IOhTo+h5lGmVRyjqI739Rz4RlUPqwrkFFDF6EMvOOYjTx4E8Tl6gyCLRL8Mu7Ry12a13Tw== dependencies: - "@vitest/spy" "2.1.9" + "@vitest/spy" "4.1.0" estree-walker "^3.0.3" - magic-string "^0.30.12" + magic-string "^0.30.21" -"@vitest/pretty-format@2.1.9", "@vitest/pretty-format@^2.1.9": +"@vitest/pretty-format@2.1.9": version "2.1.9" resolved "https://registry.yarnpkg.com/@vitest/pretty-format/-/pretty-format-2.1.9.tgz#434ff2f7611689f9ce70cd7d567eceb883653fdf" integrity sha512-KhRIdGV2U9HOUzxfiHmY8IFHTdqtOhIzCpd8WRdJiE7D/HUcZVD0EgQCVjm+Q9gkUXWgBvMmTtZgIG48wq7sOQ== dependencies: tinyrainbow "^1.2.0" -"@vitest/runner@2.1.9": - version "2.1.9" - resolved "https://registry.yarnpkg.com/@vitest/runner/-/runner-2.1.9.tgz#cc18148d2d797fd1fd5908d1f1851d01459be2f6" - integrity sha512-ZXSSqTFIrzduD63btIfEyOmNcBmQvgOVsPNPe0jYtESiXkhd8u2erDLnMxmGrDCwHCCHE7hxwRDCT3pt0esT4g== +"@vitest/pretty-format@4.1.0": + version "4.1.0" + resolved "https://registry.yarnpkg.com/@vitest/pretty-format/-/pretty-format-4.1.0.tgz#b6ccf2868130a647d24af3696d58c09a95eb83c1" + integrity sha512-3RZLZlh88Ib0J7NQTRATfc/3ZPOnSUn2uDBUoGNn5T36+bALixmzphN26OUD3LRXWkJu4H0s5vvUeqBiw+kS0A== dependencies: - "@vitest/utils" "2.1.9" - pathe "^1.1.2" + tinyrainbow "^3.0.3" -"@vitest/snapshot@2.1.9": - version "2.1.9" - resolved "https://registry.yarnpkg.com/@vitest/snapshot/-/snapshot-2.1.9.tgz#24260b93f798afb102e2dcbd7e61c6dfa118df91" - integrity sha512-oBO82rEjsxLNJincVhLhaxxZdEtV0EFHMK5Kmx5sJ6H9L183dHECjiefOAdnqpIgT5eZwT04PoggUnW88vOBNQ== +"@vitest/runner@4.1.0": + version "4.1.0" + resolved "https://registry.yarnpkg.com/@vitest/runner/-/runner-4.1.0.tgz#4e12c0f086eb3a4ae3fae84d9d68b22d02942cbf" + integrity sha512-Duvx2OzQ7d6OjchL+trw+aSrb9idh7pnNfxrklo14p3zmNL4qPCDeIJAK+eBKYjkIwG96Bc6vYuxhqDXQOWpoQ== dependencies: - "@vitest/pretty-format" "2.1.9" - magic-string "^0.30.12" - pathe "^1.1.2" + "@vitest/utils" "4.1.0" + pathe "^2.0.3" -"@vitest/spy@2.1.9": - version "2.1.9" - resolved "https://registry.yarnpkg.com/@vitest/spy/-/spy-2.1.9.tgz#cb28538c5039d09818b8bfa8edb4043c94727c60" - integrity sha512-E1B35FwzXXTs9FHNK6bDszs7mtydNi5MIfUWpceJ8Xbfb1gBMscAnwLbEu+B44ed6W3XjL9/ehLPHR1fkf1KLQ== +"@vitest/snapshot@4.1.0": + version "4.1.0" + resolved "https://registry.yarnpkg.com/@vitest/snapshot/-/snapshot-4.1.0.tgz#67372979da692ccf5dfa4a3bb603f683c0640202" + integrity sha512-0Vy9euT1kgsnj1CHttwi9i9o+4rRLEaPRSOJ5gyv579GJkNpgJK+B4HSv/rAWixx2wdAFci1X4CEPjiu2bXIMg== dependencies: - tinyspy "^3.0.2" + "@vitest/pretty-format" "4.1.0" + "@vitest/utils" "4.1.0" + magic-string "^0.30.21" + pathe "^2.0.3" + +"@vitest/spy@4.1.0": + version "4.1.0" + resolved "https://registry.yarnpkg.com/@vitest/spy/-/spy-4.1.0.tgz#b9143a63cca83de34ac1777c733f8561b73fa9ba" + integrity sha512-pz77k+PgNpyMDv2FV6qmk5ZVau6c3R8HC8v342T2xlFxQKTrSeYw9waIJG8KgV9fFwAtTu4ceRzMivPTH6wSxw== "@vitest/ui@^2.0.5": version "2.1.9" @@ -858,6 +769,15 @@ loupe "^3.1.2" tinyrainbow "^1.2.0" +"@vitest/utils@4.1.0": + version "4.1.0" + resolved "https://registry.yarnpkg.com/@vitest/utils/-/utils-4.1.0.tgz#2baf26a2a28c4aabe336315dc59722df2372c38d" + integrity sha512-XfPXT6a8TZY3dcGY8EdwsBulFCIw+BeeX0RZn2x/BtiY/75YGh8FeWGG8QISN/WhaqSrE2OrlDgtF8q5uhOTmw== + dependencies: + "@vitest/pretty-format" "4.1.0" + convert-source-map "^2.0.0" + tinyrainbow "^3.0.3" + "@webassemblyjs/ast@1.14.1", "@webassemblyjs/ast@^1.14.1": version "1.14.1" resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.14.1.tgz#a9f6a07f2b03c95c8d38c4536a1fdfb521ff55b6" @@ -1358,11 +1278,6 @@ bytes@1: resolved "https://registry.yarnpkg.com/bytes/-/bytes-1.0.0.tgz#3569ede8ba34315fab99c3e92cb04c7220de1fa8" integrity sha512-/x68VkHLeTl3/Ll8IvxdwzhrT+IyKc52e/oyHhA2RwqPqswSnjVbSddfPRwAsJtbilMAPSRWwAlpxdYsSWOTKQ== -cac@^6.7.14: - version "6.7.14" - resolved "https://registry.yarnpkg.com/cac/-/cac-6.7.14.tgz#804e1e6f506ee363cb0e3ccbb09cad5dd9870959" - integrity sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ== - call-bind-apply-helpers@^1.0.1, call-bind-apply-helpers@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz#4b5428c222be985d79c3d82657479dbe0b59b2d6" @@ -1404,16 +1319,10 @@ ccount@^1.0.0: resolved "https://registry.yarnpkg.com/ccount/-/ccount-1.1.0.tgz#246687debb6014735131be8abab2d93898f8d043" integrity sha512-vlNK021QdI7PNeiUh/lKkC/mNHHfV0m/Ad5JoI0TYtlBnJAslM/JIkm/tGC88bkLIwO6OQ5uV6ztS6kVAtCDlg== -chai@^5.1.2: - version "5.2.1" - resolved "https://registry.yarnpkg.com/chai/-/chai-5.2.1.tgz#a9502462bdc79cf90b4a0953537a9908aa638b47" - integrity sha512-5nFxhUrX0PqtyogoYOA8IPswy5sZFTOsBFl/9bNsmDLgsxYTzSZQJDPppDnZPTQbzSEm0hqGjWPzRemQCYbD6A== - dependencies: - assertion-error "^2.0.1" - check-error "^2.1.1" - deep-eql "^5.0.1" - loupe "^3.1.0" - pathval "^2.0.0" +chai@^6.2.2: + version "6.2.2" + resolved "https://registry.yarnpkg.com/chai/-/chai-6.2.2.tgz#ae41b52c9aca87734505362717f3255facda360e" + integrity sha512-NUPRluOfOiTKBKvWPtSD4PhFvWCqOi0BGStNWs57X9js7XGTprSmFoz5F0tWhR4WPjNeR9jXqdC7/UpSJTnlRg== chalk@^1.1.1, chalk@^1.1.3: version "1.1.3" @@ -1449,11 +1358,6 @@ character-reference-invalid@^1.0.0: resolved "https://registry.yarnpkg.com/character-reference-invalid/-/character-reference-invalid-1.1.4.tgz#083329cda0eae272ab3dbbf37e9a382c13af1560" integrity sha512-mKKUkUbhPpQlCOfIuZkvSEgktjPFIsZKRRbC6KWVEMvlzblj3i3asQv5ODsrwt0N3pHAEvjP8KTQPHkp0+6jOg== -check-error@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/check-error/-/check-error-2.1.1.tgz#87eb876ae71ee388fa0471fe423f494be1d96ccc" - integrity sha512-OAlb+T7V4Op9OwdkjmguYRqncdlx5JiofwOAUkmTF+jNdHwzTaTs4sRAGpzLF3oOz5xAyDGrPgeIDFQmDOTiJw== - "chokidar@>=3.0.0 <4.0.0": version "3.5.3" resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.3.tgz#1cf37c8707b932bd1af1ae22c0432e2acd1903bd" @@ -1577,6 +1481,11 @@ continuable-cache@^0.3.1: resolved "https://registry.yarnpkg.com/continuable-cache/-/continuable-cache-0.3.1.tgz#bd727a7faed77e71ff3985ac93351a912733ad0f" integrity sha512-TF30kpKhTH8AGCG3dut0rdd/19B7Z+qCnrMoBLpyQu/2drZdNrrpcjPEoJeSVsQM+8KmWG5O56oPDjSSUsuTyA== +convert-source-map@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-2.0.0.tgz#4b560f649fc4e918dd0ab75cf4961e8bc882d82a" + integrity sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg== + core-js@^3.30.1: version "3.30.1" resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.30.1.tgz#fc9c5adcc541d8e9fa3e381179433cbf795628ba" @@ -1703,11 +1612,6 @@ decimal.js@^10.4.3: resolved "https://registry.yarnpkg.com/decimal.js/-/decimal.js-10.6.0.tgz#e649a43e3ab953a72192ff5983865e509f37ed9a" integrity sha512-YpgQiITW3JXGntzdUmyUR1V812Hn8T1YVXhCu+wO3OpS4eU9l4YdD3qjyiKdV6mvV29zapkMeD390UVEf2lkUg== -deep-eql@^5.0.1: - version "5.0.2" - resolved "https://registry.yarnpkg.com/deep-eql/-/deep-eql-5.0.2.tgz#4b756d8d770a9257300825d52a2c2cff99c3a341" - integrity sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q== - deep-is@^0.1.3: version "0.1.4" resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.4.tgz#a6f2dce612fadd2ef1f519b73551f17e85199831" @@ -1756,6 +1660,11 @@ detect-file@^1.0.0: resolved "https://registry.yarnpkg.com/detect-file/-/detect-file-1.0.0.tgz#f0d66d03672a825cb1b73bdb3fe62310c8e552b7" integrity sha512-DtCOLG98P007x7wiiOmfI0fi3eIKyWiLTGJ2MDnVi/E04lWGbf+JzrRHMm0rgIIZJGtHpKpbVgLWHrv8xXpc3Q== +detect-libc@^2.0.3: + version "2.1.2" + resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-2.1.2.tgz#689c5dcdc1900ef5583a4cb9f6d7b473742074ad" + integrity sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ== + dir-glob@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-3.0.1.tgz#56dbf73d992a4a93ba1584f4534063fd2e41717f" @@ -1951,11 +1860,6 @@ es-errors@^1.3.0: resolved "https://registry.yarnpkg.com/es-errors/-/es-errors-1.3.0.tgz#05f75a25dab98e4fb1dcd5e1472c0546d5057c8f" integrity sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw== -es-module-lexer@^1.5.4: - version "1.7.0" - resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-1.7.0.tgz#9159601561880a85f2734560a9099b2c31e5372a" - integrity sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA== - es-module-lexer@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-2.0.0.tgz#f657cd7a9448dcdda9c070a3cb75e5dc1e85f5b1" @@ -1990,35 +1894,6 @@ es6-promisify@^5.0.0: dependencies: es6-promise "^4.0.3" -esbuild@^0.21.3: - version "0.21.5" - resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.21.5.tgz#9ca301b120922959b766360d8ac830da0d02997d" - integrity sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw== - optionalDependencies: - "@esbuild/aix-ppc64" "0.21.5" - "@esbuild/android-arm" "0.21.5" - "@esbuild/android-arm64" "0.21.5" - "@esbuild/android-x64" "0.21.5" - "@esbuild/darwin-arm64" "0.21.5" - "@esbuild/darwin-x64" "0.21.5" - "@esbuild/freebsd-arm64" "0.21.5" - "@esbuild/freebsd-x64" "0.21.5" - "@esbuild/linux-arm" "0.21.5" - "@esbuild/linux-arm64" "0.21.5" - "@esbuild/linux-ia32" "0.21.5" - "@esbuild/linux-loong64" "0.21.5" - "@esbuild/linux-mips64el" "0.21.5" - "@esbuild/linux-ppc64" "0.21.5" - "@esbuild/linux-riscv64" "0.21.5" - "@esbuild/linux-s390x" "0.21.5" - "@esbuild/linux-x64" "0.21.5" - "@esbuild/netbsd-x64" "0.21.5" - "@esbuild/openbsd-x64" "0.21.5" - "@esbuild/sunos-x64" "0.21.5" - "@esbuild/win32-arm64" "0.21.5" - "@esbuild/win32-ia32" "0.21.5" - "@esbuild/win32-x64" "0.21.5" - escalade@^3.2.0: version "3.2.0" resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.2.0.tgz#011a3f69856ba189dffa7dc8fcce99d2a87903e5" @@ -2201,10 +2076,10 @@ expand-tilde@^2.0.0, expand-tilde@^2.0.2: dependencies: homedir-polyfill "^1.0.1" -expect-type@^1.1.0: - version "1.2.2" - resolved "https://registry.yarnpkg.com/expect-type/-/expect-type-1.2.2.tgz#c030a329fb61184126c8447585bc75a7ec6fbff3" - integrity sha512-JhFGDVJ7tmDJItKhYgJCGLOWjuK9vPxiXoUFLwLDc99NlmklilbiQJwoctZtt13+xMw91MCk/REan6MWHqDjyA== +expect-type@^1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/expect-type/-/expect-type-1.3.0.tgz#0d58ed361877a31bbc4dd6cf71bbfef7faf6bd68" + integrity sha512-knvyeauYhqjOYvQ66MznSMs83wmHrCycNEN6Ao+2AeYEfxUIkuiVxdEa1qlGEPK+We3n0THiDciYSsCcgW/DoA== extend@^3.0.0, extend@^3.0.2, extend@~3.0.2: version "3.0.2" @@ -2278,10 +2153,10 @@ faye-websocket@~0.10.0: dependencies: websocket-driver ">=0.5.1" -fdir@^6.4.4: - version "6.4.6" - resolved "https://registry.yarnpkg.com/fdir/-/fdir-6.4.6.tgz#2b268c0232697063111bbf3f64810a2a741ba281" - integrity sha512-hiFoqpyZcfNm1yc4u8oWCf9A2c4D3QjCrks3zmoVKVxpQRzmPNar1hUJcBG2RQHvEVGDN+Jm81ZheVLAQMK6+w== +fdir@^6.5.0: + version "6.5.0" + resolved "https://registry.yarnpkg.com/fdir/-/fdir-6.5.0.tgz#ed2ab967a331ade62f18d077dae192684d50d350" + integrity sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg== fflate@^0.8.2: version "0.8.2" @@ -3511,6 +3386,80 @@ liftup@~3.0.1: rechoir "^0.7.0" resolve "^1.19.0" +lightningcss-android-arm64@1.32.0: + version "1.32.0" + resolved "https://registry.yarnpkg.com/lightningcss-android-arm64/-/lightningcss-android-arm64-1.32.0.tgz#f033885116dfefd9c6f54787523e3514b61e1968" + integrity sha512-YK7/ClTt4kAK0vo6w3X+Pnm0D2cf2vPHbhOXdoNti1Ga0al1P4TBZhwjATvjNwLEBCnKvjJc2jQgHXH0NEwlAg== + +lightningcss-darwin-arm64@1.32.0: + version "1.32.0" + resolved "https://registry.yarnpkg.com/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.32.0.tgz#50b71871b01c8199584b649e292547faea7af9b5" + integrity sha512-RzeG9Ju5bag2Bv1/lwlVJvBE3q6TtXskdZLLCyfg5pt+HLz9BqlICO7LZM7VHNTTn/5PRhHFBSjk5lc4cmscPQ== + +lightningcss-darwin-x64@1.32.0: + version "1.32.0" + resolved "https://registry.yarnpkg.com/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.32.0.tgz#35f3e97332d130b9ca181e11b568ded6aebc6d5e" + integrity sha512-U+QsBp2m/s2wqpUYT/6wnlagdZbtZdndSmut/NJqlCcMLTWp5muCrID+K5UJ6jqD2BFshejCYXniPDbNh73V8w== + +lightningcss-freebsd-x64@1.32.0: + version "1.32.0" + resolved "https://registry.yarnpkg.com/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.32.0.tgz#9777a76472b64ed6ff94342ad64c7bafd794a575" + integrity sha512-JCTigedEksZk3tHTTthnMdVfGf61Fky8Ji2E4YjUTEQX14xiy/lTzXnu1vwiZe3bYe0q+SpsSH/CTeDXK6WHig== + +lightningcss-linux-arm-gnueabihf@1.32.0: + version "1.32.0" + resolved "https://registry.yarnpkg.com/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.32.0.tgz#13ae652e1ab73b9135d7b7da172f666c410ad53d" + integrity sha512-x6rnnpRa2GL0zQOkt6rts3YDPzduLpWvwAF6EMhXFVZXD4tPrBkEFqzGowzCsIWsPjqSK+tyNEODUBXeeVHSkw== + +lightningcss-linux-arm64-gnu@1.32.0: + version "1.32.0" + resolved "https://registry.yarnpkg.com/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.32.0.tgz#417858795a94592f680123a1b1f9da8a0e1ef335" + integrity sha512-0nnMyoyOLRJXfbMOilaSRcLH3Jw5z9HDNGfT/gwCPgaDjnx0i8w7vBzFLFR1f6CMLKF8gVbebmkUN3fa/kQJpQ== + +lightningcss-linux-arm64-musl@1.32.0: + version "1.32.0" + resolved "https://registry.yarnpkg.com/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.32.0.tgz#6be36692e810b718040802fd809623cffe732133" + integrity sha512-UpQkoenr4UJEzgVIYpI80lDFvRmPVg6oqboNHfoH4CQIfNA+HOrZ7Mo7KZP02dC6LjghPQJeBsvXhJod/wnIBg== + +lightningcss-linux-x64-gnu@1.32.0: + version "1.32.0" + resolved "https://registry.yarnpkg.com/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.32.0.tgz#0b7803af4eb21cfd38dd39fe2abbb53c7dd091f6" + integrity sha512-V7Qr52IhZmdKPVr+Vtw8o+WLsQJYCTd8loIfpDaMRWGUZfBOYEJeyJIkqGIDMZPwPx24pUMfwSxxI8phr/MbOA== + +lightningcss-linux-x64-musl@1.32.0: + version "1.32.0" + resolved "https://registry.yarnpkg.com/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.32.0.tgz#88dc8ba865ddddb1ac5ef04b0f161804418c163b" + integrity sha512-bYcLp+Vb0awsiXg/80uCRezCYHNg1/l3mt0gzHnWV9XP1W5sKa5/TCdGWaR/zBM2PeF/HbsQv/j2URNOiVuxWg== + +lightningcss-win32-arm64-msvc@1.32.0: + version "1.32.0" + resolved "https://registry.yarnpkg.com/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.32.0.tgz#4f30ba3fa5e925f5b79f945e8cc0d176c3b1ab38" + integrity sha512-8SbC8BR40pS6baCM8sbtYDSwEVQd4JlFTOlaD3gWGHfThTcABnNDBda6eTZeqbofalIJhFx0qKzgHJmcPTnGdw== + +lightningcss-win32-x64-msvc@1.32.0: + version "1.32.0" + resolved "https://registry.yarnpkg.com/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.32.0.tgz#141aa5605645064928902bb4af045fa7d9f4220a" + integrity sha512-Amq9B/SoZYdDi1kFrojnoqPLxYhQ4Wo5XiL8EVJrVsB8ARoC1PWW6VGtT0WKCemjy8aC+louJnjS7U18x3b06Q== + +lightningcss@^1.32.0: + version "1.32.0" + resolved "https://registry.yarnpkg.com/lightningcss/-/lightningcss-1.32.0.tgz#b85aae96486dcb1bf49a7c8571221273f4f1e4a9" + integrity sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ== + dependencies: + detect-libc "^2.0.3" + optionalDependencies: + lightningcss-android-arm64 "1.32.0" + lightningcss-darwin-arm64 "1.32.0" + lightningcss-darwin-x64 "1.32.0" + lightningcss-freebsd-x64 "1.32.0" + lightningcss-linux-arm-gnueabihf "1.32.0" + lightningcss-linux-arm64-gnu "1.32.0" + lightningcss-linux-arm64-musl "1.32.0" + lightningcss-linux-x64-gnu "1.32.0" + lightningcss-linux-x64-musl "1.32.0" + lightningcss-win32-arm64-msvc "1.32.0" + lightningcss-win32-x64-msvc "1.32.0" + linkify-it@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/linkify-it/-/linkify-it-5.0.0.tgz#9ef238bfa6dc70bd8e7f9572b52d369af569b421" @@ -3575,7 +3524,7 @@ longest-streak@^2.0.0: resolved "https://registry.yarnpkg.com/longest-streak/-/longest-streak-2.0.4.tgz#b8599957da5b5dab64dee3fe316fa774597d90e4" integrity sha512-vM6rUVCVUJJt33bnmHiZEvr7wPT78ztX7rojL+LW51bHtLh6HTjx84LA5W4+oa6aKEJA7jJu5LR6vQRBpA5DVg== -loupe@^3.1.0, loupe@^3.1.2: +loupe@^3.1.2: version "3.2.0" resolved "https://registry.yarnpkg.com/loupe/-/loupe-3.2.0.tgz#174073ba8e0a1d0d5e43cc08626ed8a19403c344" integrity sha512-2NCfZcT5VGVNX9mSZIxLRkEAegDGBpuQZBy13desuHeVORmBDyAET4TkJr4SjqQy3A8JDofMN6LpkK8Xcm/dlw== @@ -3602,12 +3551,12 @@ lz-string@^1.5.0: resolved "https://registry.yarnpkg.com/lz-string/-/lz-string-1.5.0.tgz#c1ab50f77887b712621201ba9fd4e3a6ed099941" integrity sha512-h5bgJWpxJNswbU7qCrV0tIKQCaS3blPDrqKWx+QxzuzL1zGUzij9XCWLrSLsJPu5t+eWA/ycetzYAO5IOMcWAQ== -magic-string@^0.30.12: - version "0.30.17" - resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.30.17.tgz#450a449673d2460e5bbcfba9a61916a1714c7453" - integrity sha512-sNPKHvyjVf7gyjwS4xGTaW/mCnF8wnjtifKBEhxfZ7E/S8tQ0rssrwGNn6q8JH/ohItJfSQp9mBtQYuTlH5QnA== +magic-string@^0.30.12, magic-string@^0.30.21: + version "0.30.21" + resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.30.21.tgz#56763ec09a0fa8091df27879fd94d19078c00d91" + integrity sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ== dependencies: - "@jridgewell/sourcemap-codec" "^1.5.0" + "@jridgewell/sourcemap-codec" "^1.5.5" magicast@^0.3.5: version "0.3.5" @@ -3967,10 +3916,10 @@ ms@2.1.3, ms@^2.1.1, ms@^2.1.3: resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== -nanoid@^3.3.11: - version "3.3.11" - resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.11.tgz#4f4f112cefbe303202f2199838128936266d185b" - integrity sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w== +nanoid@^3.3.12: + version "3.3.12" + resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.12.tgz#ab3d912e217a6d0a514f00a72a16543a28982c05" + integrity sha512-ZB9RH/39qpq5Vu6Y+NmUaFhQR6pp+M2Xt76XBnEwDaGcVAqhlvxrl3B2bKS5D3NH3QR76v3aSrKaF/Kiy7lEtQ== natural-compare-lite@^1.4.0: version "1.4.0" @@ -4093,6 +4042,11 @@ object.pick@^1.2.0: dependencies: isobject "^3.0.1" +obug@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/obug/-/obug-2.1.1.tgz#2cba74ff241beb77d63055ddf4cd1e9f90b538be" + integrity sha512-uTqF9MuPraAQ+IsnPf366RG4cP9RtUi7MLO1N3KEc+wb0a6yKpeL0lmk2IB1jY5KHPAlTc6T/JRdC/YqxHNwkQ== + on-finished@2.4.1: version "2.4.1" resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.4.1.tgz#58c8c44116e54845ad57f14ab10b03533184ac3f" @@ -4340,10 +4294,10 @@ pathe@^1.1.2: resolved "https://registry.yarnpkg.com/pathe/-/pathe-1.1.2.tgz#6c4cb47a945692e48a1ddd6e4094d170516437ec" integrity sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ== -pathval@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/pathval/-/pathval-2.0.1.tgz#8855c5a2899af072d6ac05d11e46045ad0dc605d" - integrity sha512-//nshmD55c46FuFw26xV/xFAaB5HF9Xdap7HJBBnrKdAd6/GxDBaNA1870O79+9ueg61cZLSVc+OaFlfmObYVQ== +pathe@^2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/pathe/-/pathe-2.0.3.tgz#3ecbec55421685b70a9da872b2cff3e1cbed1716" + integrity sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w== performance-now@^2.1.0: version "2.1.0" @@ -4360,10 +4314,10 @@ picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.3.1: resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== -picomatch@^4.0.2: - version "4.0.3" - resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-4.0.3.tgz#796c76136d1eead715db1e7bad785dedd695a042" - integrity sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q== +picomatch@^4.0.3, picomatch@^4.0.4: + version "4.0.4" + resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-4.0.4.tgz#fd6f5e00a143086e074dffe4c924b8fb293b0589" + integrity sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A== pify@^2.0.0: version "2.3.0" @@ -4416,12 +4370,12 @@ portscanner@^2.2.0: async "^2.6.0" is-number-like "^1.0.3" -postcss@^8.4.43: - version "8.5.6" - resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.5.6.tgz#2825006615a619b4f62a9e7426cc120b349a8f3c" - integrity sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg== +postcss@^8.5.15: + version "8.5.15" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.5.15.tgz#d1eaf677a324e9ec02196da2d3fecf4a0b9a735c" + integrity sha512-FfR8sjd4em2T6fb3I2MwAJU7HWVMr9zba+enmQeeWFfCbm+UOC/0X4DS8XtpUTMwWMGbjKYP7xjfNekzyGmB3A== dependencies: - nanoid "^3.3.11" + nanoid "^3.3.12" picocolors "^1.1.1" source-map-js "^1.2.1" @@ -4758,39 +4712,29 @@ rimraf@^3.0.2: dependencies: glob "^7.1.3" -rollup@^4.20.0: - version "4.59.0" - resolved "https://registry.yarnpkg.com/rollup/-/rollup-4.59.0.tgz#cf74edac17c1486f562d728a4d923a694abdf06f" - integrity sha512-2oMpl67a3zCH9H79LeMcbDhXW/UmWG/y2zuqnF2jQq5uq9TbM9TVyXvA4+t+ne2IIkBdrLpAaRQAvo7YI/Yyeg== +rolldown@1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/rolldown/-/rolldown-1.0.3.tgz#db88a3008fb0e28230a00423727ce75ba32121ac" + integrity sha512-i00lAJ2ks1BYr7rjNjKC7BcqAS7nVfiT3QX1SI5aY+AFHblCmaUf9OE9dbdzDvW6dJxbi2ZCZiy9v3CcwOiX3g== dependencies: - "@types/estree" "1.0.8" + "@oxc-project/types" "=0.133.0" + "@rolldown/pluginutils" "^1.0.0" optionalDependencies: - "@rollup/rollup-android-arm-eabi" "4.59.0" - "@rollup/rollup-android-arm64" "4.59.0" - "@rollup/rollup-darwin-arm64" "4.59.0" - "@rollup/rollup-darwin-x64" "4.59.0" - "@rollup/rollup-freebsd-arm64" "4.59.0" - "@rollup/rollup-freebsd-x64" "4.59.0" - "@rollup/rollup-linux-arm-gnueabihf" "4.59.0" - "@rollup/rollup-linux-arm-musleabihf" "4.59.0" - "@rollup/rollup-linux-arm64-gnu" "4.59.0" - "@rollup/rollup-linux-arm64-musl" "4.59.0" - "@rollup/rollup-linux-loong64-gnu" "4.59.0" - "@rollup/rollup-linux-loong64-musl" "4.59.0" - "@rollup/rollup-linux-ppc64-gnu" "4.59.0" - "@rollup/rollup-linux-ppc64-musl" "4.59.0" - "@rollup/rollup-linux-riscv64-gnu" "4.59.0" - "@rollup/rollup-linux-riscv64-musl" "4.59.0" - "@rollup/rollup-linux-s390x-gnu" "4.59.0" - "@rollup/rollup-linux-x64-gnu" "4.59.0" - "@rollup/rollup-linux-x64-musl" "4.59.0" - "@rollup/rollup-openbsd-x64" "4.59.0" - "@rollup/rollup-openharmony-arm64" "4.59.0" - "@rollup/rollup-win32-arm64-msvc" "4.59.0" - "@rollup/rollup-win32-ia32-msvc" "4.59.0" - "@rollup/rollup-win32-x64-gnu" "4.59.0" - "@rollup/rollup-win32-x64-msvc" "4.59.0" - fsevents "~2.3.2" + "@rolldown/binding-android-arm64" "1.0.3" + "@rolldown/binding-darwin-arm64" "1.0.3" + "@rolldown/binding-darwin-x64" "1.0.3" + "@rolldown/binding-freebsd-x64" "1.0.3" + "@rolldown/binding-linux-arm-gnueabihf" "1.0.3" + "@rolldown/binding-linux-arm64-gnu" "1.0.3" + "@rolldown/binding-linux-arm64-musl" "1.0.3" + "@rolldown/binding-linux-ppc64-gnu" "1.0.3" + "@rolldown/binding-linux-s390x-gnu" "1.0.3" + "@rolldown/binding-linux-x64-gnu" "1.0.3" + "@rolldown/binding-linux-x64-musl" "1.0.3" + "@rolldown/binding-openharmony-arm64" "1.0.3" + "@rolldown/binding-wasm32-wasi" "1.0.3" + "@rolldown/binding-win32-arm64-msvc" "1.0.3" + "@rolldown/binding-win32-x64-msvc" "1.0.3" rrweb-cssom@^0.7.1: version "0.7.1" @@ -5124,6 +5068,11 @@ std-env@^3.8.0: resolved "https://registry.yarnpkg.com/std-env/-/std-env-3.9.0.tgz#1a6f7243b339dca4c9fd55e1c7504c77ef23e8f1" integrity sha512-UGvjygr6F6tpH7o2qyqR6QYpwraIjKSdtzyBdyytFOHmPZY917kwdwLG0RbOjWOnKmnm3PeHjaoLLMie7kPLQw== +std-env@^4.0.0-rc.1: + version "4.1.0" + resolved "https://registry.yarnpkg.com/std-env/-/std-env-4.1.0.tgz#45899abc590d86d682e87f0acd1033a75084cd3f" + integrity sha512-Rq7ybcX2RuC55r9oaPVEW7/xu3tj8u4GeBYHBWCychFtzMIr86A7e3PPEBPT37sHStKX3+TiX/Fr/ACmJLVlLQ== + stream-browserify@2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/stream-browserify/-/stream-browserify-2.0.1.tgz#66266ee5f9bdb9940a4e4514cafb43bb71e5c9db" @@ -5356,33 +5305,28 @@ tinybench@^2.9.0: resolved "https://registry.yarnpkg.com/tinybench/-/tinybench-2.9.0.tgz#103c9f8ba6d7237a47ab6dd1dcff77251863426b" integrity sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg== -tinyexec@^0.3.1: - version "0.3.2" - resolved "https://registry.yarnpkg.com/tinyexec/-/tinyexec-0.3.2.tgz#941794e657a85e496577995c6eef66f53f42b3d2" - integrity sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA== +tinyexec@^1.0.2: + version "1.2.4" + resolved "https://registry.yarnpkg.com/tinyexec/-/tinyexec-1.2.4.tgz#ae45bb2edebda94c70f4ea897e0f1243e470db71" + integrity sha512-SHf/r48b7vOrjve9PxJo3MN5v5yuyjHvdUcrQffT3WXMUfnGmHDVbC4k3sHJaJTgZCwpUplIaAo5ANtMyp3YHg== -tinyglobby@^0.2.10: - version "0.2.14" - resolved "https://registry.yarnpkg.com/tinyglobby/-/tinyglobby-0.2.14.tgz#5280b0cf3f972b050e74ae88406c0a6a58f4079d" - integrity sha512-tX5e7OM1HnYr2+a2C/4V0htOcSQcoSTH9KgJnVvNm5zm/cyEWKJ7j7YutsH9CxMdtOkkLFy2AHrMci9IM8IPZQ== +tinyglobby@^0.2.10, tinyglobby@^0.2.15, tinyglobby@^0.2.17: + version "0.2.17" + resolved "https://registry.yarnpkg.com/tinyglobby/-/tinyglobby-0.2.17.tgz#562a9a6c9eb2b3b123d39719f9af5bb44fcd7631" + integrity sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g== dependencies: - fdir "^6.4.4" - picomatch "^4.0.2" - -tinypool@^1.0.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/tinypool/-/tinypool-1.1.1.tgz#059f2d042bd37567fbc017d3d426bdd2a2612591" - integrity sha512-Zba82s87IFq9A9XmjiX5uZA/ARWDrB03OHlq+Vw1fSdt0I+4/Kutwy8BP4Y/y/aORMo61FQ0vIb5j44vSo5Pkg== + fdir "^6.5.0" + picomatch "^4.0.4" tinyrainbow@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/tinyrainbow/-/tinyrainbow-1.2.0.tgz#5c57d2fc0fb3d1afd78465c33ca885d04f02abb5" integrity sha512-weEDEq7Z5eTHPDh4xjX789+fHfF+P8boiFB+0vbWzpbnbsEr/GRaohi/uMKxg8RZMXnl1ItAi/IUHWMsjDV7kQ== -tinyspy@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/tinyspy/-/tinyspy-3.0.2.tgz#86dd3cf3d737b15adcf17d7887c84a75201df20a" - integrity sha512-n1cw8k1k0x4pgA2+9XrOkFydTerNcJ1zWCO5Nn9scWHTD+5tp8dghT2x1uduQePZTZgd3Tupf+x9BxJjeJi77Q== +tinyrainbow@^3.0.3: + version "3.1.0" + resolved "https://registry.yarnpkg.com/tinyrainbow/-/tinyrainbow-3.1.0.tgz#1d8a623893f95cf0a2ddb9e5d11150e191409421" + integrity sha512-Bf+ILmBgretUrdJxzXM0SgXLZ3XfiaUuOj/IKQHuTXip+05Xn+uyEYdVg0kYDipTBcLrCVyUzAPz7QmArb0mmw== tldts-core@^6.1.86: version "6.1.86" @@ -5467,6 +5411,11 @@ tslib@^1.8.1: resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== +tslib@^2.4.0: + version "2.8.1" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.8.1.tgz#612efe4ed235d567e8aba5f2a5fab70280ade83f" + integrity sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w== + tsutils@^3.21.0: version "3.21.0" resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.21.0.tgz#b48717d394cea6c1e096983eed58e9d61715b623" @@ -5683,52 +5632,43 @@ vfile@^4.0.0: unist-util-stringify-position "^2.0.0" vfile-message "^2.0.0" -vite-node@2.1.9: - version "2.1.9" - resolved "https://registry.yarnpkg.com/vite-node/-/vite-node-2.1.9.tgz#549710f76a643f1c39ef34bdb5493a944e4f895f" - integrity sha512-AM9aQ/IPrW/6ENLQg3AGY4K1N2TGZdR5e4gu/MmmR2xR3Ll1+dib+nook92g4TV3PXVyeyxdWwtaCAiUL0hMxA== - dependencies: - cac "^6.7.14" - debug "^4.3.7" - es-module-lexer "^1.5.4" - pathe "^1.1.2" - vite "^5.0.0" - -vite@^5.0.0: - version "5.4.21" - resolved "https://registry.yarnpkg.com/vite/-/vite-5.4.21.tgz#84a4f7c5d860b071676d39ba513c0d598fdc7027" - integrity sha512-o5a9xKjbtuhY6Bi5S3+HvbRERmouabWbyUcpXXUA1u+GNUKoROi9byOJ8M0nHbHYHkYICiMlqxkg1KkYmm25Sw== +"vite@^6.0.0 || ^7.0.0 || ^8.0.0-0": + version "8.0.16" + resolved "https://registry.yarnpkg.com/vite/-/vite-8.0.16.tgz#ae073866c06563d6634a90169a496e11bd84f1a6" + integrity sha512-h9bXPmJichP5fLmVQo3PyaGSDE2n3aPuomeAlVRm0JLmt4rY6zmPKd59HYI4LNW8oTK7tlTsuC7l/m7awx9Jcw== dependencies: - esbuild "^0.21.3" - postcss "^8.4.43" - rollup "^4.20.0" + lightningcss "^1.32.0" + picomatch "^4.0.4" + postcss "^8.5.15" + rolldown "1.0.3" + tinyglobby "^0.2.17" optionalDependencies: fsevents "~2.3.3" -vitest@^2.0.5: - version "2.1.9" - resolved "https://registry.yarnpkg.com/vitest/-/vitest-2.1.9.tgz#7d01ffd07a553a51c87170b5e80fea3da7fb41e7" - integrity sha512-MSmPM9REYqDGBI8439mA4mWhV5sKmDlBKWIYbA3lRb2PTHACE0mgKwA8yQ2xq9vxDTuk4iPrECBAEW2aoFXY0Q== - dependencies: - "@vitest/expect" "2.1.9" - "@vitest/mocker" "2.1.9" - "@vitest/pretty-format" "^2.1.9" - "@vitest/runner" "2.1.9" - "@vitest/snapshot" "2.1.9" - "@vitest/spy" "2.1.9" - "@vitest/utils" "2.1.9" - chai "^5.1.2" - debug "^4.3.7" - expect-type "^1.1.0" - magic-string "^0.30.12" - pathe "^1.1.2" - std-env "^3.8.0" +vitest@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/vitest/-/vitest-4.1.0.tgz#b598abbe83f0c9e93d18cf3c5f23c75a525f8e82" + integrity sha512-YbDrMF9jM2Lqc++2530UourxZHmkKLxrs4+mYhEwqWS97WJ7wOYEkcr+QfRgJ3PW9wz3odRijLZjHEaRLTNbqw== + dependencies: + "@vitest/expect" "4.1.0" + "@vitest/mocker" "4.1.0" + "@vitest/pretty-format" "4.1.0" + "@vitest/runner" "4.1.0" + "@vitest/snapshot" "4.1.0" + "@vitest/spy" "4.1.0" + "@vitest/utils" "4.1.0" + es-module-lexer "^2.0.0" + expect-type "^1.3.0" + magic-string "^0.30.21" + obug "^2.1.1" + pathe "^2.0.3" + picomatch "^4.0.3" + std-env "^4.0.0-rc.1" tinybench "^2.9.0" - tinyexec "^0.3.1" - tinypool "^1.0.1" - tinyrainbow "^1.2.0" - vite "^5.0.0" - vite-node "2.1.9" + tinyexec "^1.0.2" + tinyglobby "^0.2.15" + tinyrainbow "^3.0.3" + vite "^6.0.0 || ^7.0.0 || ^8.0.0-0" why-is-node-running "^2.3.0" w3c-xmlserializer@^5.0.0: From 6598c67c0488a17ae44db0c68603a1922516cbad Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 1 Jun 2026 19:24:11 +0000 Subject: [PATCH 171/235] Bump vitest from 3.2.4 to 4.1.0 in /vue Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 3.2.4 to 4.1.0. - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md) - [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.0/packages/vitest) --- updated-dependencies: - dependency-name: vitest dependency-version: 4.1.0 dependency-type: direct:development ... Signed-off-by: dependabot[bot] --- vue/package.json | 2 +- vue/yarn.lock | 1118 ++++++++++++++++++++++++++-------------------- 2 files changed, 644 insertions(+), 476 deletions(-) diff --git a/vue/package.json b/vue/package.json index f44b74ff8..c321628f2 100644 --- a/vue/package.json +++ b/vue/package.json @@ -26,7 +26,7 @@ "jsdom": "^26.1.0", "typescript": "^5.5.3", "vite": "^6.4.2", - "vitest": "^3.2.4", + "vitest": "^4.1.0", "vue-tsc": "^2.2.10" } } diff --git a/vue/yarn.lock b/vue/yarn.lock index 4aa3a4967..7211d30d0 100644 --- a/vue/yarn.lock +++ b/vue/yarn.lock @@ -66,21 +66,43 @@ resolved "https://registry.yarnpkg.com/@csstools/css-tokenizer/-/css-tokenizer-3.0.4.tgz" integrity sha512-Vd/9EVDiu6PPJt9yAh6roZP6El1xHrdvIVGjyBsHR0RYwNHgL7FJPyIIW4fANJNG6FtyZfvlRPpFI4ZM/lubvw== +"@emnapi/core@1.10.0": + version "1.10.0" + resolved "https://registry.yarnpkg.com/@emnapi/core/-/core-1.10.0.tgz#380ccc8f2412ea22d1d972df7f8ee23a3b9c7467" + integrity sha512-yq6OkJ4p82CAfPl0u9mQebQHKPJkY7WrIuk205cTYnYe+k2Z8YBh11FrbRG/H6ihirqcacOgl2BIO8oyMQLeXw== + dependencies: + "@emnapi/wasi-threads" "1.2.1" + tslib "^2.4.0" + +"@emnapi/runtime@1.10.0": + version "1.10.0" + resolved "https://registry.yarnpkg.com/@emnapi/runtime/-/runtime-1.10.0.tgz#4b260c0d3534204e98c6110b8db1a987d26ec87c" + integrity sha512-ewvYlk86xUoGI0zQRNq/mC+16R1QeDlKQy21Ki3oSYXNgLb45GV1P6A0M+/s6nyCuNDqe5VpaY84BzXGwVbwFA== + dependencies: + tslib "^2.4.0" + +"@emnapi/wasi-threads@1.2.1": + version "1.2.1" + resolved "https://registry.yarnpkg.com/@emnapi/wasi-threads/-/wasi-threads-1.2.1.tgz#28fed21a1ba1ce797c44a070abc94d42f3ae8548" + integrity sha512-uTII7OYF+/Mes/MrcIOYp5yOtSMLBWSIoLPpcgwipoiKbli6k322tcoFsxoIIxPDqW01SQGAgko4EzZi2BNv2w== + dependencies: + tslib "^2.4.0" + "@esbuild/aix-ppc64@0.25.12": version "0.25.12" resolved "https://registry.yarnpkg.com/@esbuild/aix-ppc64/-/aix-ppc64-0.25.12.tgz" integrity sha512-Hhmwd6CInZ3dwpuGTF8fJG6yoWmsToE+vYgD4nytZVxcu1ulHpUQRAB1UJ8+N1Am3Mz4+xOByoQoSZf4D+CpkA== -"@esbuild/android-arm@0.25.12": - version "0.25.12" - resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.25.12.tgz" - integrity sha512-VJ+sKvNA/GE7Ccacc9Cha7bpS8nyzVv0jdVgwNDaR4gDMC/2TTRc33Ip8qrNYUcpkOHUT5OZ0bUcNNVZQ9RLlg== - "@esbuild/android-arm64@0.25.12": version "0.25.12" resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.25.12.tgz" integrity sha512-6AAmLG7zwD1Z159jCKPvAxZd4y/VTO0VkprYy+3N2FtJ8+BQWFXU+OxARIwA46c5tdD9SsKGZ/1ocqBS/gAKHg== +"@esbuild/android-arm@0.25.12": + version "0.25.12" + resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.25.12.tgz" + integrity sha512-VJ+sKvNA/GE7Ccacc9Cha7bpS8nyzVv0jdVgwNDaR4gDMC/2TTRc33Ip8qrNYUcpkOHUT5OZ0bUcNNVZQ9RLlg== + "@esbuild/android-x64@0.25.12": version "0.25.12" resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.25.12.tgz" @@ -106,16 +128,16 @@ resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.25.12.tgz" integrity sha512-TGbO26Yw2xsHzxtbVFGEXBFH0FRAP7gtcPE7P5yP7wGy7cXK2oO7RyOhL5NLiqTlBh47XhmIUXuGciXEqYFfBQ== -"@esbuild/linux-arm@0.25.12": - version "0.25.12" - resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.25.12.tgz" - integrity sha512-lPDGyC1JPDou8kGcywY0YILzWlhhnRjdof3UlcoqYmS9El818LLfJJc3PXXgZHrHCAKs/Z2SeZtDJr5MrkxtOw== - "@esbuild/linux-arm64@0.25.12": version "0.25.12" resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.25.12.tgz" integrity sha512-8bwX7a8FghIgrupcxb4aUmYDLp8pX06rGh5HqDT7bB+8Rdells6mHvrFHHW2JAOPZUbnjUpKTLg6ECyzvas2AQ== +"@esbuild/linux-arm@0.25.12": + version "0.25.12" + resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.25.12.tgz" + integrity sha512-lPDGyC1JPDou8kGcywY0YILzWlhhnRjdof3UlcoqYmS9El818LLfJJc3PXXgZHrHCAKs/Z2SeZtDJr5MrkxtOw== + "@esbuild/linux-ia32@0.25.12": version "0.25.12" resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.25.12.tgz" @@ -203,11 +225,6 @@ dependencies: eslint-visitor-keys "^3.4.3" -"@eslint-community/eslint-utils/node_modules/eslint-visitor-keys@3.4.3": - version "3.4.3" - resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz" - integrity sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag== - "@eslint-community/regexpp@^4.12.1": version "4.12.2" resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.12.2.tgz" @@ -251,11 +268,6 @@ minimatch "^3.1.5" strip-json-comments "^3.1.1" -"@eslint/eslintrc/node_modules/globals@14.0.0": - version "14.0.0" - resolved "https://registry.yarnpkg.com/globals/-/globals-14.0.0.tgz" - integrity sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ== - "@eslint/js@9.39.4": version "9.39.4" resolved "https://registry.yarnpkg.com/@eslint/js/-/js-9.39.4.tgz" @@ -322,11 +334,23 @@ resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz" integrity sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og== +"@napi-rs/wasm-runtime@^1.1.4": + version "1.1.4" + resolved "https://registry.yarnpkg.com/@napi-rs/wasm-runtime/-/wasm-runtime-1.1.4.tgz#a46bbfedc29751b7170c5d23bc1d8ee8c7e3c1e1" + integrity sha512-3NQNNgA1YSlJb/kMH1ildASP9HW7/7kYnRI2szWJaofaS1hWmbGI4H+d3+22aGzXXN9IJ+n+GiFVcGipJP18ow== + dependencies: + "@tybys/wasm-util" "^0.10.1" + "@one-ini/wasm@0.1.1": version "0.1.1" resolved "https://registry.yarnpkg.com/@one-ini/wasm/-/wasm-0.1.1.tgz" integrity sha512-XuySG1E38YScSJoMlqovLru4KTUNSjgVTIjyh7qMX6aNN5HY5Ct5LhRJdxO79JtTzKfzV/bnWpz+zquYrISsvw== +"@oxc-project/types@=0.133.0": + version "0.133.0" + resolved "https://registry.yarnpkg.com/@oxc-project/types/-/types-0.133.0.tgz#2e282ef9e1d26e06b68ccd14b73f310a3b2cf7f8" + integrity sha512-KzkdCd6Uxqnf6l3HOw1xfatAlUURA0g14cvBYFyJ5SaNOQbOUvBr9PKArcPcrNIeRsBdgcUzOGrhKveVpvOIGA== + "@pkgjs/parseargs@^0.11.0": version "0.11.0" resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz" @@ -337,6 +361,90 @@ resolved "https://registry.yarnpkg.com/@polka/url/-/url-1.0.0-next.29.tgz" integrity sha512-wwQAWhWSuHaag8c4q/KN/vCoeOJYshAIvMQwD4GpSb3OiZklFfvAgmj0VCBBImRpuF/aFgIRzllXlVX93Jevww== +"@rolldown/binding-android-arm64@1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@rolldown/binding-android-arm64/-/binding-android-arm64-1.0.3.tgz#54ce8f8382213f4a314a0c2f7ba83f81ffeae592" + integrity sha512-454rs7jHngixp/NMxd5srYD57OnzSlZ/eFTETjORQHLwJG1lRtmNOJcBerZlfu4GjKqeq8aCCIQrMdHyhI51Hw== + +"@rolldown/binding-darwin-arm64@1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.0.3.tgz#388fca1566c14c00c4b446fc3928630e7f0d95fc" + integrity sha512-PcAhP+ynjURNyy8SKGl5DQP94aGuB/7JrXJb/t7P+hanXvQVMWzUvRRhBAcg/lNRadBhoUPqSoP4xw5tR/KBEA== + +"@rolldown/binding-darwin-x64@1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.0.3.tgz#53f57de1f599ecf1db13823cfc88c18fb80954ad" + integrity sha512-9YpfeUvSE2RS7wysJ81uOZkXJz7f7Q55H2Gvp3VEw/EsahqDtrphrZ0EwDLK5vvKOzaCrBsjF8JmnMLcUt78Gg== + +"@rolldown/binding-freebsd-x64@1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.0.3.tgz#6f3fdda1b7aeaac9d268a526804b4fb96e4e35f1" + integrity sha512-yB1IlAsSNHncV6SCTL27/MVGR5htvQsoGxIv5KMGXALp+Ll1wYsn+x98M9MW7qa+NdSbvrrY7ANI4wLJ0n1e6g== + +"@rolldown/binding-linux-arm-gnueabihf@1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.0.3.tgz#d87a454bf585cc9676849377e91d6e375297326f" + integrity sha512-Yi30IVAAfLUCy2MseFjbB1jAMDl1VMCAas5StnYp8da9+CKvMd2H2cbEjWcw5NPaPqzvYkVIaF1nNUG+b7u/sw== + +"@rolldown/binding-linux-arm64-gnu@1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.0.3.tgz#419fd6bf612cf348f10528cbcd94ebab9607d8d1" + integrity sha512-jsO7R8To+AdlYgUmN5sHSCZbfhtMBkO0WUx8iORQnPcMMdgr7qM2DQmMwgabs3GhNztdmoKkMKQFHD6DTMCIQw== + +"@rolldown/binding-linux-arm64-musl@1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.0.3.tgz#fcc6918696bb76844877e1e4930a18fd0d374069" + integrity sha512-VWkUHwWriDciit80wleYwKILoR/KMvxh/IdwS/paX+ZgpuRpCrKLUdadJbc0NpBEiyhpYawsJ73j9aCvOH+f7Q== + +"@rolldown/binding-linux-ppc64-gnu@1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.0.3.tgz#32aecb7c8dae5d4f2a8cde57a058ec86991542f8" + integrity sha512-5f1laC0SlIR0yDbFCd8acUhvJIag6N3zC5P7oUPN6wX0aOma+uKJ0wBDH5aq7I1PVI2ttTlhJwzwRIBnLiSGEg== + +"@rolldown/binding-linux-s390x-gnu@1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.0.3.tgz#bed9346ea81e6bb8b93cf11f5d88b77db890b763" + integrity sha512-Iq4ko0r4XsgbrF/LunNgHtAGLRRVE2kXonAXQ/MV0mC6jQpMOhW1SvtZja2EhC/kd05++bP78dsqBeIQyYJ6Yg== + +"@rolldown/binding-linux-x64-gnu@1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.0.3.tgz#64c2d26f75dffd9b5a1f97557a00ae77250c8cb7" + integrity sha512-B8m6tD5+/N5FeNQFbKlLA/2yVq9ycQP1SeedyEYYKWBNR3ZQbkvIUcNnDNM03lO1l5F2roiiFJGgvoLLyZXtSg== + +"@rolldown/binding-linux-x64-musl@1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.0.3.tgz#5a45132e8a47659eeaaf3b540c2954a97c860ff3" + integrity sha512-pSdpdUJHkuCxun9LE7jvgUB9qsRgaiyNNCX7m/AvHTcq67AiT/Yhoxvw5zPfhrM8k/BfP8ce/hMOpthKDpEUow== + +"@rolldown/binding-openharmony-arm64@1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.0.3.tgz#290513068c55e849dc8457a32afee1d7b0acb309" + integrity sha512-OXXS3RKJgX2uLwM+gYyuH5omcH8fL1LJs96pZGgtetVCahON57+d4SJHzTgZiOjxgGkSnpXpOsWuPDGAKAigEg== + +"@rolldown/binding-wasm32-wasi@1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@rolldown/binding-wasm32-wasi/-/binding-wasm32-wasi-1.0.3.tgz#3d9972dbf1a953d3c7afaa4a0f20ef2b2e39f31b" + integrity sha512-JTtb8BWFynicNSoPrehsCzBtOKjZ6jhMiPFEmOiuXg1Fl8dn2KHQob+GuPSGR0dryQa1PQJbzjF3dqO/whhjLg== + dependencies: + "@emnapi/core" "1.10.0" + "@emnapi/runtime" "1.10.0" + "@napi-rs/wasm-runtime" "^1.1.4" + +"@rolldown/binding-win32-arm64-msvc@1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.0.3.tgz#a004ab607a16d6f03bcb555728ff888af75773ad" + integrity sha512-gEdFFEN70A/jxb2svrWsN3aDL7OUtmvlOy+6fa2jxG8K0wQ1ZbdeLGnidov6Yu5/733dI5ySfzFlQ/cb0bSz1g== + +"@rolldown/binding-win32-x64-msvc@1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.0.3.tgz#e2a25b34691a1cc8a1209d7de709063026dd0cdb" + integrity sha512-eXB7CHuaQdqmJcc3koCNtNPmT/bj2gc999kUFgBxG8Ac0NdgXc4rkCHhqrgrhN3zddvvvrgzj1e90SuSfmyIXA== + +"@rolldown/pluginutils@^1.0.0": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@rolldown/pluginutils/-/pluginutils-1.0.1.tgz#e3fcee093fbb5ce765e1ad088ff4de2889f6f9be" + integrity sha512-2j9bGt5Jh8hj+vPtgzPtl72j0yRxHAyumoo6TNfAjsLB04UtpSvPbPcDcBMxz7n+9CYB0c1GxQFxYRg2jimqGw== + "@rollup/rollup-android-arm-eabi@4.60.4": version "4.60.4" resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.60.4.tgz" @@ -462,6 +570,18 @@ resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.60.4.tgz" integrity sha512-QVTUovf40zgTqlFVrKA1uXMVvU2QWEFWfAH8Wdc48IxLvrJMQVMBRjuQyUpzZCDkakImib9eVazbWlC6ksWtJw== +"@standard-schema/spec@^1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@standard-schema/spec/-/spec-1.1.0.tgz#a79b55dbaf8604812f52d140b2c9ab41bc150bb8" + integrity sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w== + +"@tybys/wasm-util@^0.10.1": + version "0.10.2" + resolved "https://registry.yarnpkg.com/@tybys/wasm-util/-/wasm-util-0.10.2.tgz#12b3a1b33db1f9cad4ddff1f604ab7dd00bf464e" + integrity sha512-RoBvJ2X0wuKlWFIjrwffGw1IqZHKQqzIchKaadZZfnNpsAYp2mM0h36JtPCjNDAHGgYez/15uMBpfGwchhiMgg== + dependencies: + tslib "^2.4.0" + "@types/chai@^5.2.2": version "5.2.3" resolved "https://registry.yarnpkg.com/@types/chai/-/chai-5.2.3.tgz" @@ -475,7 +595,12 @@ resolved "https://registry.yarnpkg.com/@types/deep-eql/-/deep-eql-4.0.2.tgz" integrity sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw== -"@types/estree@1.0.8", "@types/estree@^1.0.0", "@types/estree@^1.0.6": +"@types/estree@1.0.8": + version "1.0.8" + resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.8.tgz#958b91c991b1867ced318bedea0e215ee050726e" + integrity sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w== + +"@types/estree@^1.0.0", "@types/estree@^1.0.6": version "1.0.9" resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.9.tgz" integrity sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg== @@ -490,64 +615,63 @@ resolved "https://registry.yarnpkg.com/@vitejs/plugin-vue/-/plugin-vue-5.2.4.tgz" integrity sha512-7Yx/SXSOcQq5HiiV3orevHUFn+pmMB4cgbEkDYgnkUWb0WfeQ/wa2yFv6D5ICiCQOVpjA7vYDXrC7AGO8yjDHA== -"@vitest/expect@3.2.4": - version "3.2.4" - resolved "https://registry.yarnpkg.com/@vitest/expect/-/expect-3.2.4.tgz" - integrity sha512-Io0yyORnB6sikFlt8QW5K7slY4OjqNX9jmJQ02QDda8lyM6B5oNgVWoSoKPac8/kgnCUzuHQKrSLtu/uOqqrig== +"@vitest/expect@4.1.0": + version "4.1.0" + resolved "https://registry.yarnpkg.com/@vitest/expect/-/expect-4.1.0.tgz#2f6c7d19cfbe778bfb42d73f77663ec22163fcbb" + integrity sha512-EIxG7k4wlWweuCLG9Y5InKFwpMEOyrMb6ZJ1ihYu02LVj/bzUwn2VMU+13PinsjRW75XnITeFrQBMH5+dLvCDA== dependencies: + "@standard-schema/spec" "^1.1.0" "@types/chai" "^5.2.2" - "@vitest/spy" "3.2.4" - "@vitest/utils" "3.2.4" - chai "^5.2.0" - tinyrainbow "^2.0.0" + "@vitest/spy" "4.1.0" + "@vitest/utils" "4.1.0" + chai "^6.2.2" + tinyrainbow "^3.0.3" -"@vitest/mocker@3.2.4": - version "3.2.4" - resolved "https://registry.yarnpkg.com/@vitest/mocker/-/mocker-3.2.4.tgz" - integrity sha512-46ryTE9RZO/rfDd7pEqFl7etuyzekzEhUbTW3BvmeO/BcCMEgq59BKhek3dXDWgAj4oMK6OZi+vRr1wPW6qjEQ== +"@vitest/mocker@4.1.0": + version "4.1.0" + resolved "https://registry.yarnpkg.com/@vitest/mocker/-/mocker-4.1.0.tgz#2aabf6079ad472f89a212d322f7d5da7ad628a0e" + integrity sha512-evxREh+Hork43+Y4IOhTo+h5lGmVRyjqI739Rz4RlUPqwrkFFDF6EMvOOYjTx4E8Tl6gyCLRL8Mu7Ry12a13Tw== dependencies: - "@vitest/spy" "3.2.4" + "@vitest/spy" "4.1.0" estree-walker "^3.0.3" - magic-string "^0.30.17" - -"@vitest/mocker/node_modules/estree-walker@3.0.3": - version "3.0.3" - resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-3.0.3.tgz" - integrity sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g== - dependencies: - "@types/estree" "^1.0.0" + magic-string "^0.30.21" -"@vitest/pretty-format@3.2.4", "@vitest/pretty-format@^3.2.4": +"@vitest/pretty-format@3.2.4": version "3.2.4" resolved "https://registry.yarnpkg.com/@vitest/pretty-format/-/pretty-format-3.2.4.tgz" integrity sha512-IVNZik8IVRJRTr9fxlitMKeJeXFFFN0JaB9PHPGQ8NKQbGpfjlTx9zO4RefN8gp7eqjNy8nyK3NZmBzOPeIxtA== dependencies: tinyrainbow "^2.0.0" -"@vitest/runner@3.2.4": - version "3.2.4" - resolved "https://registry.yarnpkg.com/@vitest/runner/-/runner-3.2.4.tgz" - integrity sha512-oukfKT9Mk41LreEW09vt45f8wx7DordoWUZMYdY/cyAk7w5TWkTRCNZYF7sX7n2wB7jyGAl74OxgwhPgKaqDMQ== +"@vitest/pretty-format@4.1.0": + version "4.1.0" + resolved "https://registry.yarnpkg.com/@vitest/pretty-format/-/pretty-format-4.1.0.tgz#b6ccf2868130a647d24af3696d58c09a95eb83c1" + integrity sha512-3RZLZlh88Ib0J7NQTRATfc/3ZPOnSUn2uDBUoGNn5T36+bALixmzphN26OUD3LRXWkJu4H0s5vvUeqBiw+kS0A== dependencies: - "@vitest/utils" "3.2.4" - pathe "^2.0.3" - strip-literal "^3.0.0" + tinyrainbow "^3.0.3" -"@vitest/snapshot@3.2.4": - version "3.2.4" - resolved "https://registry.yarnpkg.com/@vitest/snapshot/-/snapshot-3.2.4.tgz" - integrity sha512-dEYtS7qQP2CjU27QBC5oUOxLE/v5eLkGqPE0ZKEIDGMs4vKWe7IjgLOeauHsR0D5YuuycGRO5oSRXnwnmA78fQ== +"@vitest/runner@4.1.0": + version "4.1.0" + resolved "https://registry.yarnpkg.com/@vitest/runner/-/runner-4.1.0.tgz#4e12c0f086eb3a4ae3fae84d9d68b22d02942cbf" + integrity sha512-Duvx2OzQ7d6OjchL+trw+aSrb9idh7pnNfxrklo14p3zmNL4qPCDeIJAK+eBKYjkIwG96Bc6vYuxhqDXQOWpoQ== dependencies: - "@vitest/pretty-format" "3.2.4" - magic-string "^0.30.17" + "@vitest/utils" "4.1.0" pathe "^2.0.3" -"@vitest/spy@3.2.4": - version "3.2.4" - resolved "https://registry.yarnpkg.com/@vitest/spy/-/spy-3.2.4.tgz" - integrity sha512-vAfasCOe6AIK70iP5UD11Ac4siNUNJ9i/9PZ3NKx07sG6sUxeag1LWdNrMWeKKYBLlzuK+Gn65Yd5nyL6ds+nw== +"@vitest/snapshot@4.1.0": + version "4.1.0" + resolved "https://registry.yarnpkg.com/@vitest/snapshot/-/snapshot-4.1.0.tgz#67372979da692ccf5dfa4a3bb603f683c0640202" + integrity sha512-0Vy9euT1kgsnj1CHttwi9i9o+4rRLEaPRSOJ5gyv579GJkNpgJK+B4HSv/rAWixx2wdAFci1X4CEPjiu2bXIMg== dependencies: - tinyspy "^4.0.3" + "@vitest/pretty-format" "4.1.0" + "@vitest/utils" "4.1.0" + magic-string "^0.30.21" + pathe "^2.0.3" + +"@vitest/spy@4.1.0": + version "4.1.0" + resolved "https://registry.yarnpkg.com/@vitest/spy/-/spy-4.1.0.tgz#b9143a63cca83de34ac1777c733f8561b73fa9ba" + integrity sha512-pz77k+PgNpyMDv2FV6qmk5ZVau6c3R8HC8v342T2xlFxQKTrSeYw9waIJG8KgV9fFwAtTu4ceRzMivPTH6wSxw== "@vitest/ui@^3.2.4": version "3.2.4" @@ -571,6 +695,15 @@ loupe "^3.1.4" tinyrainbow "^2.0.0" +"@vitest/utils@4.1.0": + version "4.1.0" + resolved "https://registry.yarnpkg.com/@vitest/utils/-/utils-4.1.0.tgz#2baf26a2a28c4aabe336315dc59722df2372c38d" + integrity sha512-XfPXT6a8TZY3dcGY8EdwsBulFCIw+BeeX0RZn2x/BtiY/75YGh8FeWGG8QISN/WhaqSrE2OrlDgtF8q5uhOTmw== + dependencies: + "@vitest/pretty-format" "4.1.0" + convert-source-map "^2.0.0" + tinyrainbow "^3.0.3" + "@volar/language-core@2.4.15": version "2.4.15" resolved "https://registry.yarnpkg.com/@volar/language-core/-/language-core-2.4.15.tgz" @@ -656,20 +789,6 @@ muggle-string "^0.4.1" path-browserify "^1.0.1" -"@vue/language-core/node_modules/brace-expansion@2.1.1": - version "2.1.1" - resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-2.1.1.tgz" - integrity sha512-WR1cURNjuvBLMZBMbqM0UoE+WAfdUcEV1ccD8PVBVOI+Z3ND4+SZbN8RsfT2bMuG1qwz5RFvPukSZm5fF2D5eA== - dependencies: - balanced-match "^1.0.0" - -"@vue/language-core/node_modules/minimatch@9.0.9": - version "9.0.9" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.9.tgz" - integrity sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg== - dependencies: - brace-expansion "^2.0.2" - "@vue/reactivity@3.5.34": version "3.5.34" resolved "https://registry.yarnpkg.com/@vue/reactivity/-/reactivity-3.5.34.tgz" @@ -716,27 +835,27 @@ js-beautify "^1.14.9" vue-component-type-helpers "^3.0.0" -"abbrev@^2.0.0": +abbrev@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-2.0.0.tgz" integrity sha512-6/mh1E2u2YgEsCHdY0Yx5oW+61gZU+1vXaoiHHrpKeuRNNgFvS+/jrwHiQhB5apAf5oB7UB7E19ol2R2LKH8hQ== -"acorn@^8.15.0": - version "8.16.0" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.16.0.tgz" - integrity sha512-UVJyE9MttOsBQIDKw1skb9nAwQuR5wuGD3+82K6JgJlm/Y+KI92oNsMNGZCYdDsVtRHSak0pcV5Dno5+4jh9sw== - -"acorn-jsx@^5.3.2": +acorn-jsx@^5.3.2: version "5.3.2" resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz" integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ== -"agent-base@^7.1.0", "agent-base@^7.1.2": +acorn@^8.15.0: + version "8.16.0" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.16.0.tgz" + integrity sha512-UVJyE9MttOsBQIDKw1skb9nAwQuR5wuGD3+82K6JgJlm/Y+KI92oNsMNGZCYdDsVtRHSak0pcV5Dno5+4jh9sw== + +agent-base@^7.1.0, agent-base@^7.1.2: version "7.1.4" resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-7.1.4.tgz" integrity sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ== -"ajv@^6.14.0": +ajv@^6.14.0: version "6.15.0" resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.15.0.tgz" integrity sha512-fgFx7Hfoq60ytK2c7DhnF8jIvzYgOMxfugjLOSMHjLIPgenqa7S7oaagATUq99mV6IYvN2tRmC0wnTYX6iPbMw== @@ -746,39 +865,49 @@ json-schema-traverse "^0.4.1" uri-js "^4.2.2" -"alien-signals@^1.0.3": +alien-signals@^1.0.3: version "1.0.13" resolved "https://registry.yarnpkg.com/alien-signals/-/alien-signals-1.0.13.tgz" integrity sha512-OGj9yyTnJEttvzhTUWuscOvtqxq5vrhF7vL9oS0xJ2mK0ItPYP1/y+vCFebfxoEyAz0++1AIwJ5CMr+Fk3nDmg== -"ansi-regex@^5.0.1", "ansi-regex@^6.2.2": +ansi-regex@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304" + integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== + +ansi-regex@^6.2.2: version "6.2.2" resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-6.2.2.tgz" integrity sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg== -"ansi-styles@^4.0.0", "ansi-styles@^4.1.0", "ansi-styles@^6.1.0": +ansi-styles@^4.0.0, ansi-styles@^4.1.0: version "4.3.0" resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.3.0.tgz" integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== dependencies: color-convert "^2.0.1" -"argparse@^2.0.1": +ansi-styles@^6.1.0: + version "6.2.3" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-6.2.3.tgz#c044d5dcc521a076413472597a1acb1f103c4041" + integrity sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg== + +argparse@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/argparse/-/argparse-2.0.1.tgz" integrity sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q== -"assertion-error@^2.0.1": +assertion-error@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/assertion-error/-/assertion-error-2.0.1.tgz" integrity sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA== -"balanced-match@^1.0.0": +balanced-match@^1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz" integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== -"brace-expansion@^1.1.7", "brace-expansion@^2.0.2": +brace-expansion@^1.1.7: version "1.1.15" resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.15.tgz" integrity sha512-EwOCDEex4quD37XhqM3omwtMoJjr//isUZz1JopUNWms+4Z2ViyM/k1YIRePpoVNnQhENnxtFjLaxNHrT7xIUg== @@ -786,28 +915,24 @@ balanced-match "^1.0.0" concat-map "0.0.1" -"cac@^6.7.14": - version "6.7.14" - resolved "https://registry.yarnpkg.com/cac/-/cac-6.7.14.tgz" - integrity sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ== +brace-expansion@^2.0.2: + version "2.1.1" + resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-2.1.1.tgz#c68b1c4111c76aae3a6fba55d496cee10c39dad8" + integrity sha512-WR1cURNjuvBLMZBMbqM0UoE+WAfdUcEV1ccD8PVBVOI+Z3ND4+SZbN8RsfT2bMuG1qwz5RFvPukSZm5fF2D5eA== + dependencies: + balanced-match "^1.0.0" -"callsites@^3.0.0": +callsites@^3.0.0: version "3.1.0" resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz" integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== -"chai@^5.2.0": - version "5.3.3" - resolved "https://registry.yarnpkg.com/chai/-/chai-5.3.3.tgz" - integrity sha512-4zNhdJD/iOjSH0A05ea+Ke6MU5mmpQcbQsSOkgdaUMJ9zTlDTD/GYlwohmIE2u0gaxHYiVHEn1Fw9mZ/ktJWgw== - dependencies: - assertion-error "^2.0.1" - check-error "^2.1.1" - deep-eql "^5.0.1" - loupe "^3.1.0" - pathval "^2.0.0" +chai@^6.2.2: + version "6.2.2" + resolved "https://registry.yarnpkg.com/chai/-/chai-6.2.2.tgz#ae41b52c9aca87734505362717f3255facda360e" + integrity sha512-NUPRluOfOiTKBKvWPtSD4PhFvWCqOi0BGStNWs57X9js7XGTprSmFoz5F0tWhR4WPjNeR9jXqdC7/UpSJTnlRg== -"chalk@^4.0.0": +chalk@^4.0.0: version "4.1.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz" integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== @@ -815,34 +940,29 @@ ansi-styles "^4.1.0" supports-color "^7.1.0" -"check-error@^2.1.1": - version "2.1.3" - resolved "https://registry.yarnpkg.com/check-error/-/check-error-2.1.3.tgz" - integrity sha512-PAJdDJusoxnwm1VwW07VWwUN1sl7smmC3OKggvndJFadxxDRyFJBX/ggnu/KE4kQAB7a3Dp8f/YXC1FlUprWmA== - -"color-convert@^2.0.1": +color-convert@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz" integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ== dependencies: color-name "~1.1.4" -"color-name@~1.1.4": +color-name@~1.1.4: version "1.1.4" resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz" integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== -"commander@^10.0.0": +commander@^10.0.0: version "10.0.1" resolved "https://registry.yarnpkg.com/commander/-/commander-10.0.1.tgz" integrity sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug== -"concat-map@0.0.1": +concat-map@0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz" integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg== -"config-chain@^1.1.13": +config-chain@^1.1.13: version "1.1.13" resolved "https://registry.yarnpkg.com/config-chain/-/config-chain-1.1.13.tgz" integrity sha512-qj+f8APARXHrM0hraqXYb2/bOVSV4PvJQlNZ/DVj0QrmNM2q2euizkeuVckQ57J+W0mRH6Hvi+k50M4Jul2VRQ== @@ -850,7 +970,12 @@ ini "^1.3.4" proto-list "~1.2.1" -"cross-spawn@^7.0.6": +convert-source-map@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-2.0.0.tgz#4b560f649fc4e918dd0ab75cf4961e8bc882d82a" + integrity sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg== + +cross-spawn@^7.0.6: version "7.0.6" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.6.tgz" integrity sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA== @@ -859,7 +984,7 @@ shebang-command "^2.0.0" which "^2.0.1" -"cssstyle@^4.2.1": +cssstyle@^4.2.1: version "4.6.0" resolved "https://registry.yarnpkg.com/cssstyle/-/cssstyle-4.6.0.tgz" integrity sha512-2z+rWdzbbSZv6/rhtvzvqeZQHrBaqgogqt85sqFNbabZOuFbCVFb8kPeEtZjiKkbrm395irpNKiYeFeLiQnFPg== @@ -867,12 +992,12 @@ "@asamuzakjp/css-color" "^3.2.0" rrweb-cssom "^0.8.0" -"csstype@^3.2.3": +csstype@^3.2.3: version "3.2.3" resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.2.3.tgz" integrity sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ== -"data-urls@^5.0.0": +data-urls@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/data-urls/-/data-urls-5.0.0.tgz" integrity sha512-ZYP5VBHshaDAiVZxjbRVcFJpc+4xGgT0bK3vzy1HLN8jTO975HEbuYzZJcHoQEY5K1a0z8YayJkyVETa08eNTg== @@ -880,39 +1005,39 @@ whatwg-mimetype "^4.0.0" whatwg-url "^14.0.0" -"de-indent@^1.0.2": +de-indent@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/de-indent/-/de-indent-1.0.2.tgz" integrity sha512-e/1zu3xH5MQryN2zdVaF0OrdNLUbvWxzMbi+iNA6Bky7l1RoP8a2fIbRocyHclXt/arDrrR6lL3TqFD9pMQTsg== -"debug@4", "debug@^4.3.1", "debug@^4.3.2", "debug@^4.3.4", "debug@^4.4.1": +debug@4, debug@^4.3.1, debug@^4.3.2, debug@^4.3.4: version "4.4.3" resolved "https://registry.yarnpkg.com/debug/-/debug-4.4.3.tgz" integrity sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA== dependencies: ms "^2.1.3" -"decimal.js@^10.5.0": +decimal.js@^10.5.0: version "10.6.0" resolved "https://registry.yarnpkg.com/decimal.js/-/decimal.js-10.6.0.tgz" integrity sha512-YpgQiITW3JXGntzdUmyUR1V812Hn8T1YVXhCu+wO3OpS4eU9l4YdD3qjyiKdV6mvV29zapkMeD390UVEf2lkUg== -"deep-eql@^5.0.1": - version "5.0.2" - resolved "https://registry.yarnpkg.com/deep-eql/-/deep-eql-5.0.2.tgz" - integrity sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q== - -"deep-is@^0.1.3": +deep-is@^0.1.3: version "0.1.4" resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.4.tgz" integrity sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ== -"eastasianwidth@^0.2.0": +detect-libc@^2.0.3: + version "2.1.2" + resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-2.1.2.tgz#689c5dcdc1900ef5583a4cb9f6d7b473742074ad" + integrity sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ== + +eastasianwidth@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/eastasianwidth/-/eastasianwidth-0.2.0.tgz" integrity sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA== -"editorconfig@^1.0.4": +editorconfig@^1.0.4: version "1.0.7" resolved "https://registry.yarnpkg.com/editorconfig/-/editorconfig-1.0.7.tgz" integrity sha512-e0GOtq/aTQhVdNyDU9e02+wz9oDDM+SIOQxWME2QRjzRX5yyLAuHDE+0aE8vHb9XRC8XD37eO2u57+F09JqFhw== @@ -922,36 +1047,32 @@ minimatch "^9.0.1" semver "^7.5.3" -"editorconfig/node_modules/brace-expansion@2.1.1": - version "2.1.1" - resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-2.1.1.tgz" - integrity sha512-WR1cURNjuvBLMZBMbqM0UoE+WAfdUcEV1ccD8PVBVOI+Z3ND4+SZbN8RsfT2bMuG1qwz5RFvPukSZm5fF2D5eA== - dependencies: - balanced-match "^1.0.0" - -"editorconfig/node_modules/minimatch@9.0.9": - version "9.0.9" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.9.tgz" - integrity sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg== - dependencies: - brace-expansion "^2.0.2" +emoji-regex@^8.0.0: + version "8.0.0" + resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" + integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== -"emoji-regex@^8.0.0", "emoji-regex@^9.2.2": +emoji-regex@^9.2.2: version "9.2.2" resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-9.2.2.tgz" integrity sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg== -"entities@^6.0.0", "entities@^7.0.1": +entities@^6.0.0: + version "6.0.1" + resolved "https://registry.yarnpkg.com/entities/-/entities-6.0.1.tgz#c28c34a43379ca7f61d074130b2f5f7020a30694" + integrity sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g== + +entities@^7.0.1: version "7.0.1" resolved "https://registry.yarnpkg.com/entities/-/entities-7.0.1.tgz" integrity sha512-TWrgLOFUQTH994YUyl1yT4uyavY5nNB5muff+RtWaqNVCAK408b5ZnnbNAUEWLTCpum9w6arT70i1XdQ4UeOPA== -"es-module-lexer@^1.7.0": - version "1.7.0" - resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-1.7.0.tgz" - integrity sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA== +es-module-lexer@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-2.1.0.tgz#1dfcbb5ea3bbfb63f28e1fc3676c3676d1c9624c" + integrity sha512-n27zTYMjYu1aj4MjCWzSP7G9r75utsaoc8m61weK+W8JMBGGQybd43GstCXZ3WNmSFtGT9wi59qQTW6mhTR5LQ== -"esbuild@^0.25.0": +esbuild@^0.25.0: version "0.25.12" resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.25.12.tgz" integrity sha512-bbPBYYrtZbkt6Os6FiTLCTFxvq4tt3JKall1vRwshA3fdVztsLAatFaZobhkBC8/BrPetoa0oksYoKXoG4ryJg== @@ -983,12 +1104,30 @@ "@esbuild/win32-ia32" "0.25.12" "@esbuild/win32-x64" "0.25.12" -"escape-string-regexp@^4.0.0": +escape-string-regexp@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz" integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== -"eslint@^9.9.0": +eslint-scope@^8.4.0: + version "8.4.0" + resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-8.4.0.tgz" + integrity sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg== + dependencies: + esrecurse "^4.3.0" + estraverse "^5.2.0" + +eslint-visitor-keys@^3.4.3: + version "3.4.3" + resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz#0cd72fe8550e3c2eae156a96a4dddcd1c8ac5800" + integrity sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag== + +eslint-visitor-keys@^4.2.1: + version "4.2.1" + resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-4.2.1.tgz" + integrity sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ== + +eslint@^9.9.0: version "9.39.4" resolved "https://registry.yarnpkg.com/eslint/-/eslint-9.39.4.tgz" integrity sha512-XoMjdBOwe/esVgEvLmNsD3IRHkm7fbKIUGvrleloJXUZgDHig2IPWNniv+GwjyJXzuNqVjlr5+4yVUZjycJwfQ== @@ -1028,20 +1167,7 @@ natural-compare "^1.4.0" optionator "^0.9.3" -"eslint-scope@^8.4.0": - version "8.4.0" - resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-8.4.0.tgz" - integrity sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg== - dependencies: - esrecurse "^4.3.0" - estraverse "^5.2.0" - -"eslint-visitor-keys@^3.4.3", "eslint-visitor-keys@^4.2.1": - version "4.2.1" - resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-4.2.1.tgz" - integrity sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ== - -"espree@^10.0.1", "espree@^10.4.0": +espree@^10.0.1, espree@^10.4.0: version "10.4.0" resolved "https://registry.yarnpkg.com/espree/-/espree-10.4.0.tgz" integrity sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ== @@ -1050,73 +1176,80 @@ acorn-jsx "^5.3.2" eslint-visitor-keys "^4.2.1" -"esquery@^1.5.0": +esquery@^1.5.0: version "1.7.0" resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.7.0.tgz" integrity sha512-Ap6G0WQwcU/LHsvLwON1fAQX9Zp0A2Y6Y/cJBl9r/JbW90Zyg4/zbG6zzKa2OTALELarYHmKu0GhpM5EO+7T0g== dependencies: estraverse "^5.1.0" -"esrecurse@^4.3.0": +esrecurse@^4.3.0: version "4.3.0" resolved "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.3.0.tgz" integrity sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag== dependencies: estraverse "^5.2.0" -"estraverse@^5.1.0", "estraverse@^5.2.0": +estraverse@^5.1.0, estraverse@^5.2.0: version "5.3.0" resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.3.0.tgz" integrity sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA== -"estree-walker@^2.0.2", "estree-walker@^3.0.3": +estree-walker@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-2.0.2.tgz" integrity sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w== -"esutils@^2.0.2": +estree-walker@^3.0.3: + version "3.0.3" + resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-3.0.3.tgz#67c3e549ec402a487b4fc193d1953a524752340d" + integrity sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g== + dependencies: + "@types/estree" "^1.0.0" + +esutils@^2.0.2: version "2.0.3" resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz" integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== -"expect-type@^1.2.1": +expect-type@^1.3.0: version "1.3.0" - resolved "https://registry.yarnpkg.com/expect-type/-/expect-type-1.3.0.tgz" + resolved "https://registry.yarnpkg.com/expect-type/-/expect-type-1.3.0.tgz#0d58ed361877a31bbc4dd6cf71bbfef7faf6bd68" integrity sha512-knvyeauYhqjOYvQ66MznSMs83wmHrCycNEN6Ao+2AeYEfxUIkuiVxdEa1qlGEPK+We3n0THiDciYSsCcgW/DoA== -"fast-deep-equal@^3.1.1", "fast-deep-equal@^3.1.3": +fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3: version "3.1.3" resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz" integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== -"fast-json-stable-stringify@^2.0.0": +fast-json-stable-stringify@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz" integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== -"fast-levenshtein@^2.0.6": +fast-levenshtein@^2.0.6: version "2.0.6" resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz" integrity sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw== -"fdir@^6.4.4", "fdir@^6.5.0": +fdir@^6.4.4, fdir@^6.5.0: version "6.5.0" resolved "https://registry.yarnpkg.com/fdir/-/fdir-6.5.0.tgz" integrity sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg== -"fflate@^0.8.2": +fflate@^0.8.2: version "0.8.3" resolved "https://registry.yarnpkg.com/fflate/-/fflate-0.8.3.tgz" integrity sha512-tbZNuJrLwGUp3zshBtdy4W+ORxZuIh8a5ilyIEQDC5rY1f3U20JMry0Ll3WBzU58EZKsEuJFXhb5gwv8CsPvgA== -"file-entry-cache@^8.0.0": +file-entry-cache@^8.0.0: version "8.0.0" resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-8.0.0.tgz" integrity sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ== dependencies: flat-cache "^4.0.0" -"find-up@^5.0.0": +find-up@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/find-up/-/find-up-5.0.0.tgz" integrity sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng== @@ -1124,7 +1257,7 @@ locate-path "^6.0.0" path-exists "^4.0.0" -"flat-cache@^4.0.0": +flat-cache@^4.0.0: version "4.0.1" resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-4.0.1.tgz" integrity sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw== @@ -1132,12 +1265,12 @@ flatted "^3.2.9" keyv "^4.5.4" -"flatted@^3.2.9", "flatted@^3.3.3": +flatted@^3.2.9, flatted@^3.3.3: version "3.4.2" resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.4.2.tgz" integrity sha512-PjDse7RzhcPkIJwy5t7KPWQSZ9cAbzQXcafsetQoD7sOJRQlGikNbx7yZp2OotDnJyrDcbyRq3Ttb18iYOqkxA== -"foreground-child@^3.1.0": +foreground-child@^3.1.0: version "3.3.1" resolved "https://registry.yarnpkg.com/foreground-child/-/foreground-child-3.3.1.tgz" integrity sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw== @@ -1145,12 +1278,19 @@ cross-spawn "^7.0.6" signal-exit "^4.0.1" -"fsevents@~2.3.2", "fsevents@~2.3.3": +fsevents@~2.3.2, fsevents@~2.3.3: version "2.3.3" resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.3.tgz" integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw== -"glob@^10.4.2": +glob-parent@^6.0.2: + version "6.0.2" + resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-6.0.2.tgz" + integrity sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A== + dependencies: + is-glob "^4.0.3" + +glob@^10.4.2: version "10.5.0" resolved "https://registry.yarnpkg.com/glob/-/glob-10.5.0.tgz" integrity sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg== @@ -1162,55 +1302,39 @@ package-json-from-dist "^1.0.0" path-scurry "^1.11.1" -"glob-parent@^6.0.2": - version "6.0.2" - resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-6.0.2.tgz" - integrity sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A== - dependencies: - is-glob "^4.0.3" - -"glob/node_modules/brace-expansion@2.1.1": - version "2.1.1" - resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-2.1.1.tgz" - integrity sha512-WR1cURNjuvBLMZBMbqM0UoE+WAfdUcEV1ccD8PVBVOI+Z3ND4+SZbN8RsfT2bMuG1qwz5RFvPukSZm5fF2D5eA== - dependencies: - balanced-match "^1.0.0" - -"glob/node_modules/minimatch@9.0.9": - version "9.0.9" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.9.tgz" - integrity sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg== - dependencies: - brace-expansion "^2.0.2" +globals@^14.0.0: + version "14.0.0" + resolved "https://registry.yarnpkg.com/globals/-/globals-14.0.0.tgz#898d7413c29babcf6bafe56fcadded858ada724e" + integrity sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ== -"globals@^14.0.0", "globals@^15.9.0": +globals@^15.9.0: version "15.15.0" resolved "https://registry.yarnpkg.com/globals/-/globals-15.15.0.tgz" integrity sha512-7ACyT3wmyp3I61S4fG682L0VA2RGD9otkqGJIwNUMF1SWUombIIk+af1unuDYgMm082aHYwD+mzJvv9Iu8dsgg== -"gridstack@^12.6.0": +gridstack@^12.6.0: version "12.6.0" resolved "https://registry.yarnpkg.com/gridstack/-/gridstack-12.6.0.tgz" integrity sha512-dUrqsormSybFn/2P4Dz8AgprftKD5e/IiV7UmC0XLQU+G+/WtkAeFiCSNLoAGhPDXoJ/O61Xtj3gljY/Ds83yQ== -"has-flag@^4.0.0": +has-flag@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz" integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== -"he@^1.2.0": +he@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz" integrity sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw== -"html-encoding-sniffer@^4.0.0": +html-encoding-sniffer@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/html-encoding-sniffer/-/html-encoding-sniffer-4.0.0.tgz" integrity sha512-Y22oTqIU4uuPgEemfz7NDJz6OeKf12Lsu+QC+s3BVpda64lTiMYCyGwg5ki4vFxkMwQdeZDl2adZoqUgdFuTgQ== dependencies: whatwg-encoding "^3.1.1" -"http-proxy-agent@^7.0.2": +http-proxy-agent@^7.0.2: version "7.0.2" resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz" integrity sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig== @@ -1218,7 +1342,7 @@ agent-base "^7.1.0" debug "^4.3.4" -"https-proxy-agent@^7.0.6": +https-proxy-agent@^7.0.6: version "7.0.6" resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz" integrity sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw== @@ -1226,19 +1350,19 @@ agent-base "^7.1.2" debug "4" -"iconv-lite@0.6.3": +iconv-lite@0.6.3: version "0.6.3" resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.6.3.tgz" integrity sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw== dependencies: safer-buffer ">= 2.1.2 < 3.0.0" -"ignore@^5.2.0": +ignore@^5.2.0: version "5.3.2" resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.3.2.tgz" integrity sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g== -"import-fresh@^3.2.1": +import-fresh@^3.2.1: version "3.3.1" resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.3.1.tgz" integrity sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ== @@ -1246,44 +1370,44 @@ parent-module "^1.0.0" resolve-from "^4.0.0" -"imurmurhash@^0.1.4": +imurmurhash@^0.1.4: version "0.1.4" resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz" integrity sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA== -"ini@^1.3.4": +ini@^1.3.4: version "1.3.8" resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.8.tgz" integrity sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew== -"is-extglob@^2.1.1": +is-extglob@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz" integrity sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ== -"is-fullwidth-code-point@^3.0.0": +is-fullwidth-code-point@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz" integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== -"is-glob@^4.0.0", "is-glob@^4.0.3": +is-glob@^4.0.0, is-glob@^4.0.3: version "4.0.3" resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz" integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg== dependencies: is-extglob "^2.1.1" -"is-potential-custom-element-name@^1.0.1": +is-potential-custom-element-name@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz" integrity sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ== -"isexe@^2.0.0": +isexe@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz" integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw== -"jackspeak@^3.1.2": +jackspeak@^3.1.2: version "3.4.3" resolved "https://registry.yarnpkg.com/jackspeak/-/jackspeak-3.4.3.tgz" integrity sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw== @@ -1291,7 +1415,7 @@ "@isaacs/cliui" "^8.0.2" "@pkgjs/parseargs" "^0.11.0" -"js-beautify@^1.14.9": +js-beautify@^1.14.9: version "1.15.4" resolved "https://registry.yarnpkg.com/js-beautify/-/js-beautify-1.15.4.tgz" integrity sha512-9/KXeZUKKJwqCXUdBxFJ3vPh467OCckSBmYDwSK/EtV090K+iMJ7zx2S3HLVDIWFQdqMIsZWbnaGiba18aWhaA== @@ -1302,24 +1426,19 @@ js-cookie "^3.0.5" nopt "^7.2.1" -"js-cookie@^3.0.5": +js-cookie@^3.0.5: version "3.0.7" resolved "https://registry.yarnpkg.com/js-cookie/-/js-cookie-3.0.7.tgz" integrity sha512-z/wZZgDrkNV1eA0ULjM/F9/50Ya8fbzgKneSpoPsXSGd0KnpdtHfOZWK+GcwLk+EZbS4F9RBhU+K2RgzuDaItw== -"js-tokens@^9.0.1": - version "9.0.1" - resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-9.0.1.tgz" - integrity sha512-mxa9E9ITFOt0ban3j6L5MpjwegGz6lBQmM1IJkWeBZGcMxto50+eWdjC/52xDbS2vy0k7vIMK0Fe2wfL9OQSpQ== - -"js-yaml@^4.1.1": +js-yaml@^4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.1.tgz" integrity sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA== dependencies: argparse "^2.0.1" -"jsdom@^26.1.0": +jsdom@^26.1.0: version "26.1.0" resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-26.1.0.tgz" integrity sha512-Cvc9WUhxSMEo4McES3P7oK3QaXldCfNWp7pl2NNeiIFlCoLr3kfq9kb1fxftiwk1FLV7CvpvDfonxtzUDeSOPg== @@ -1345,29 +1464,29 @@ ws "^8.18.0" xml-name-validator "^5.0.0" -"json-buffer@3.0.1": +json-buffer@3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/json-buffer/-/json-buffer-3.0.1.tgz" integrity sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ== -"json-schema-traverse@^0.4.1": +json-schema-traverse@^0.4.1: version "0.4.1" resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz" integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg== -"json-stable-stringify-without-jsonify@^1.0.1": +json-stable-stringify-without-jsonify@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz" integrity sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw== -"keyv@^4.5.4": +keyv@^4.5.4: version "4.5.4" resolved "https://registry.yarnpkg.com/keyv/-/keyv-4.5.4.tgz" integrity sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw== dependencies: json-buffer "3.0.1" -"levn@^0.4.1": +levn@^0.4.1: version "0.4.1" resolved "https://registry.yarnpkg.com/levn/-/levn-0.4.1.tgz" integrity sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ== @@ -1375,85 +1494,171 @@ prelude-ls "^1.2.1" type-check "~0.4.0" -"locate-path@^6.0.0": +lightningcss-android-arm64@1.32.0: + version "1.32.0" + resolved "https://registry.yarnpkg.com/lightningcss-android-arm64/-/lightningcss-android-arm64-1.32.0.tgz#f033885116dfefd9c6f54787523e3514b61e1968" + integrity sha512-YK7/ClTt4kAK0vo6w3X+Pnm0D2cf2vPHbhOXdoNti1Ga0al1P4TBZhwjATvjNwLEBCnKvjJc2jQgHXH0NEwlAg== + +lightningcss-darwin-arm64@1.32.0: + version "1.32.0" + resolved "https://registry.yarnpkg.com/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.32.0.tgz#50b71871b01c8199584b649e292547faea7af9b5" + integrity sha512-RzeG9Ju5bag2Bv1/lwlVJvBE3q6TtXskdZLLCyfg5pt+HLz9BqlICO7LZM7VHNTTn/5PRhHFBSjk5lc4cmscPQ== + +lightningcss-darwin-x64@1.32.0: + version "1.32.0" + resolved "https://registry.yarnpkg.com/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.32.0.tgz#35f3e97332d130b9ca181e11b568ded6aebc6d5e" + integrity sha512-U+QsBp2m/s2wqpUYT/6wnlagdZbtZdndSmut/NJqlCcMLTWp5muCrID+K5UJ6jqD2BFshejCYXniPDbNh73V8w== + +lightningcss-freebsd-x64@1.32.0: + version "1.32.0" + resolved "https://registry.yarnpkg.com/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.32.0.tgz#9777a76472b64ed6ff94342ad64c7bafd794a575" + integrity sha512-JCTigedEksZk3tHTTthnMdVfGf61Fky8Ji2E4YjUTEQX14xiy/lTzXnu1vwiZe3bYe0q+SpsSH/CTeDXK6WHig== + +lightningcss-linux-arm-gnueabihf@1.32.0: + version "1.32.0" + resolved "https://registry.yarnpkg.com/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.32.0.tgz#13ae652e1ab73b9135d7b7da172f666c410ad53d" + integrity sha512-x6rnnpRa2GL0zQOkt6rts3YDPzduLpWvwAF6EMhXFVZXD4tPrBkEFqzGowzCsIWsPjqSK+tyNEODUBXeeVHSkw== + +lightningcss-linux-arm64-gnu@1.32.0: + version "1.32.0" + resolved "https://registry.yarnpkg.com/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.32.0.tgz#417858795a94592f680123a1b1f9da8a0e1ef335" + integrity sha512-0nnMyoyOLRJXfbMOilaSRcLH3Jw5z9HDNGfT/gwCPgaDjnx0i8w7vBzFLFR1f6CMLKF8gVbebmkUN3fa/kQJpQ== + +lightningcss-linux-arm64-musl@1.32.0: + version "1.32.0" + resolved "https://registry.yarnpkg.com/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.32.0.tgz#6be36692e810b718040802fd809623cffe732133" + integrity sha512-UpQkoenr4UJEzgVIYpI80lDFvRmPVg6oqboNHfoH4CQIfNA+HOrZ7Mo7KZP02dC6LjghPQJeBsvXhJod/wnIBg== + +lightningcss-linux-x64-gnu@1.32.0: + version "1.32.0" + resolved "https://registry.yarnpkg.com/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.32.0.tgz#0b7803af4eb21cfd38dd39fe2abbb53c7dd091f6" + integrity sha512-V7Qr52IhZmdKPVr+Vtw8o+WLsQJYCTd8loIfpDaMRWGUZfBOYEJeyJIkqGIDMZPwPx24pUMfwSxxI8phr/MbOA== + +lightningcss-linux-x64-musl@1.32.0: + version "1.32.0" + resolved "https://registry.yarnpkg.com/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.32.0.tgz#88dc8ba865ddddb1ac5ef04b0f161804418c163b" + integrity sha512-bYcLp+Vb0awsiXg/80uCRezCYHNg1/l3mt0gzHnWV9XP1W5sKa5/TCdGWaR/zBM2PeF/HbsQv/j2URNOiVuxWg== + +lightningcss-win32-arm64-msvc@1.32.0: + version "1.32.0" + resolved "https://registry.yarnpkg.com/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.32.0.tgz#4f30ba3fa5e925f5b79f945e8cc0d176c3b1ab38" + integrity sha512-8SbC8BR40pS6baCM8sbtYDSwEVQd4JlFTOlaD3gWGHfThTcABnNDBda6eTZeqbofalIJhFx0qKzgHJmcPTnGdw== + +lightningcss-win32-x64-msvc@1.32.0: + version "1.32.0" + resolved "https://registry.yarnpkg.com/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.32.0.tgz#141aa5605645064928902bb4af045fa7d9f4220a" + integrity sha512-Amq9B/SoZYdDi1kFrojnoqPLxYhQ4Wo5XiL8EVJrVsB8ARoC1PWW6VGtT0WKCemjy8aC+louJnjS7U18x3b06Q== + +lightningcss@^1.32.0: + version "1.32.0" + resolved "https://registry.yarnpkg.com/lightningcss/-/lightningcss-1.32.0.tgz#b85aae96486dcb1bf49a7c8571221273f4f1e4a9" + integrity sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ== + dependencies: + detect-libc "^2.0.3" + optionalDependencies: + lightningcss-android-arm64 "1.32.0" + lightningcss-darwin-arm64 "1.32.0" + lightningcss-darwin-x64 "1.32.0" + lightningcss-freebsd-x64 "1.32.0" + lightningcss-linux-arm-gnueabihf "1.32.0" + lightningcss-linux-arm64-gnu "1.32.0" + lightningcss-linux-arm64-musl "1.32.0" + lightningcss-linux-x64-gnu "1.32.0" + lightningcss-linux-x64-musl "1.32.0" + lightningcss-win32-arm64-msvc "1.32.0" + lightningcss-win32-x64-msvc "1.32.0" + +locate-path@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-6.0.0.tgz" integrity sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw== dependencies: p-locate "^5.0.0" -"lodash.merge@^4.6.2": +lodash.merge@^4.6.2: version "4.6.2" resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz" integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ== -"loupe@^3.1.0", "loupe@^3.1.4": +loupe@^3.1.4: version "3.2.1" resolved "https://registry.yarnpkg.com/loupe/-/loupe-3.2.1.tgz" integrity sha512-CdzqowRJCeLU72bHvWqwRBBlLcMEtIvGrlvef74kMnV2AolS9Y8xUv1I0U/MNAWMhBlKIoyuEgoJ0t/bbwHbLQ== -"lru-cache@^10.2.0", "lru-cache@^10.4.3": +lru-cache@^10.2.0, lru-cache@^10.4.3: version "10.4.3" resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.4.3.tgz" integrity sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ== -"magic-string@^0.30.17", "magic-string@^0.30.21": +magic-string@^0.30.21: version "0.30.21" resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.30.21.tgz" integrity sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ== dependencies: "@jridgewell/sourcemap-codec" "^1.5.5" -"minimatch@^3.1.5", "minimatch@^9.0.1", "minimatch@^9.0.3", "minimatch@^9.0.4": +minimatch@^3.1.5: version "3.1.5" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.5.tgz" integrity sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w== dependencies: brace-expansion "^1.1.7" -"minipass@^5.0.0 || ^6.0.2 || ^7.0.0", "minipass@^7.1.2": +minimatch@^9.0.1, minimatch@^9.0.3, minimatch@^9.0.4: + version "9.0.9" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.9.tgz#9b0cb9fcb78087f6fd7eababe2511c4d3d60574e" + integrity sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg== + dependencies: + brace-expansion "^2.0.2" + +"minipass@^5.0.0 || ^6.0.2 || ^7.0.0", minipass@^7.1.2: version "7.1.3" resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.1.3.tgz" integrity sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A== -"mrmime@^2.0.0": +mrmime@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/mrmime/-/mrmime-2.0.1.tgz" integrity sha512-Y3wQdFg2Va6etvQ5I82yUhGdsKrcYox6p7FfL1LbK2J4V01F9TGlepTIhnK24t7koZibmg82KGglhA1XK5IsLQ== -"ms@^2.1.3": +ms@^2.1.3: version "2.1.3" resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz" integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== -"muggle-string@^0.4.1": +muggle-string@^0.4.1: version "0.4.1" resolved "https://registry.yarnpkg.com/muggle-string/-/muggle-string-0.4.1.tgz" integrity sha512-VNTrAak/KhO2i8dqqnqnAHOa3cYBwXEZe9h+D5h/1ZqFSTEFHdM65lR7RoIqq3tBBYavsOXV84NoHXZ0AkPyqQ== -"nanoid@^3.3.12": +nanoid@^3.3.12: version "3.3.12" resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.12.tgz" integrity sha512-ZB9RH/39qpq5Vu6Y+NmUaFhQR6pp+M2Xt76XBnEwDaGcVAqhlvxrl3B2bKS5D3NH3QR76v3aSrKaF/Kiy7lEtQ== -"natural-compare@^1.4.0": +natural-compare@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz" integrity sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw== -"nopt@^7.2.1": +nopt@^7.2.1: version "7.2.1" resolved "https://registry.yarnpkg.com/nopt/-/nopt-7.2.1.tgz" integrity sha512-taM24ViiimT/XntxbPyJQzCG+p4EKOpgD3mxFwW38mGjVUrfERQOeY4EDHjdnptttfHuHQXFx+lTP08Q+mLa/w== dependencies: abbrev "^2.0.0" -"nwsapi@^2.2.16": +nwsapi@^2.2.16: version "2.2.23" resolved "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.2.23.tgz" integrity sha512-7wfH4sLbt4M0gCDzGE6vzQBo0bfTKjU7Sfpqy/7gs1qBfYz2vEJH6vXcBKpO3+6Yu1telwd0t9HpyOoLEQQbIQ== -"optionator@^0.9.3": +obug@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/obug/-/obug-2.1.1.tgz#2cba74ff241beb77d63055ddf4cd1e9f90b538be" + integrity sha512-uTqF9MuPraAQ+IsnPf366RG4cP9RtUi7MLO1N3KEc+wb0a6yKpeL0lmk2IB1jY5KHPAlTc6T/JRdC/YqxHNwkQ== + +optionator@^0.9.3: version "0.9.4" resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.9.4.tgz" integrity sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g== @@ -1465,60 +1670,55 @@ type-check "^0.4.0" word-wrap "^1.2.5" -"p-limit@^3.0.2": +p-limit@^3.0.2: version "3.1.0" resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-3.1.0.tgz" integrity sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ== dependencies: yocto-queue "^0.1.0" -"p-locate@^5.0.0": +p-locate@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-5.0.0.tgz" integrity sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw== dependencies: p-limit "^3.0.2" -"package-json-from-dist@^1.0.0": +package-json-from-dist@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz" integrity sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw== -"parent-module@^1.0.0": +parent-module@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/parent-module/-/parent-module-1.0.1.tgz" integrity sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g== dependencies: callsites "^3.0.0" -"parse5@^7.2.1": +parse5@^7.2.1: version "7.3.0" resolved "https://registry.yarnpkg.com/parse5/-/parse5-7.3.0.tgz" integrity sha512-IInvU7fabl34qmi9gY8XOVxhYyMyuH2xUNpb2q8/Y+7552KlejkRvqvD19nMoUW/uQGGbqNpA6Tufu5FL5BZgw== dependencies: entities "^6.0.0" -"parse5/node_modules/entities@6.0.1": - version "6.0.1" - resolved "https://registry.yarnpkg.com/entities/-/entities-6.0.1.tgz" - integrity sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g== - -"path-browserify@^1.0.1": +path-browserify@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/path-browserify/-/path-browserify-1.0.1.tgz" integrity sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g== -"path-exists@^4.0.0": +path-exists@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz" integrity sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w== -"path-key@^3.1.0": +path-key@^3.1.0: version "3.1.1" resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz" integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== -"path-scurry@^1.11.1": +path-scurry@^1.11.1: version "1.11.1" resolved "https://registry.yarnpkg.com/path-scurry/-/path-scurry-1.11.1.tgz" integrity sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA== @@ -1526,27 +1726,22 @@ lru-cache "^10.2.0" minipass "^5.0.0 || ^6.0.2 || ^7.0.0" -"pathe@^2.0.3": +pathe@^2.0.3: version "2.0.3" resolved "https://registry.yarnpkg.com/pathe/-/pathe-2.0.3.tgz" integrity sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w== -"pathval@^2.0.0": - version "2.0.1" - resolved "https://registry.yarnpkg.com/pathval/-/pathval-2.0.1.tgz" - integrity sha512-//nshmD55c46FuFw26xV/xFAaB5HF9Xdap7HJBBnrKdAd6/GxDBaNA1870O79+9ueg61cZLSVc+OaFlfmObYVQ== - -"picocolors@^1.1.1": +picocolors@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.1.1.tgz" integrity sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA== -"picomatch@^4.0.2", "picomatch@^4.0.4": +picomatch@^4.0.2, picomatch@^4.0.3, picomatch@^4.0.4: version "4.0.4" resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-4.0.4.tgz" integrity sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A== -"postcss@^8.5.14", "postcss@^8.5.3": +postcss@^8.5.14, postcss@^8.5.15, postcss@^8.5.3: version "8.5.15" resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.5.15.tgz" integrity sha512-FfR8sjd4em2T6fb3I2MwAJU7HWVMr9zba+enmQeeWFfCbm+UOC/0X4DS8XtpUTMwWMGbjKYP7xjfNekzyGmB3A== @@ -1555,27 +1750,51 @@ picocolors "^1.1.1" source-map-js "^1.2.1" -"prelude-ls@^1.2.1": +prelude-ls@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz" integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g== -"proto-list@~1.2.1": +proto-list@~1.2.1: version "1.2.4" resolved "https://registry.yarnpkg.com/proto-list/-/proto-list-1.2.4.tgz" integrity sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA== -"punycode@^2.1.0", "punycode@^2.3.1": +punycode@^2.1.0, punycode@^2.3.1: version "2.3.1" resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.3.1.tgz" integrity sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg== -"resolve-from@^4.0.0": +resolve-from@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-4.0.0.tgz" integrity sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g== -"rollup@^4.34.9": +rolldown@1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/rolldown/-/rolldown-1.0.3.tgz#db88a3008fb0e28230a00423727ce75ba32121ac" + integrity sha512-i00lAJ2ks1BYr7rjNjKC7BcqAS7nVfiT3QX1SI5aY+AFHblCmaUf9OE9dbdzDvW6dJxbi2ZCZiy9v3CcwOiX3g== + dependencies: + "@oxc-project/types" "=0.133.0" + "@rolldown/pluginutils" "^1.0.0" + optionalDependencies: + "@rolldown/binding-android-arm64" "1.0.3" + "@rolldown/binding-darwin-arm64" "1.0.3" + "@rolldown/binding-darwin-x64" "1.0.3" + "@rolldown/binding-freebsd-x64" "1.0.3" + "@rolldown/binding-linux-arm-gnueabihf" "1.0.3" + "@rolldown/binding-linux-arm64-gnu" "1.0.3" + "@rolldown/binding-linux-arm64-musl" "1.0.3" + "@rolldown/binding-linux-ppc64-gnu" "1.0.3" + "@rolldown/binding-linux-s390x-gnu" "1.0.3" + "@rolldown/binding-linux-x64-gnu" "1.0.3" + "@rolldown/binding-linux-x64-musl" "1.0.3" + "@rolldown/binding-openharmony-arm64" "1.0.3" + "@rolldown/binding-wasm32-wasi" "1.0.3" + "@rolldown/binding-win32-arm64-msvc" "1.0.3" + "@rolldown/binding-win32-x64-msvc" "1.0.3" + +rollup@^4.34.9: version "4.60.4" resolved "https://registry.yarnpkg.com/rollup/-/rollup-4.60.4.tgz" integrity sha512-WHeFSbZYsPu3+bLoNRUuAO+wavNlocOPf3wSHTP7hcFKVnJeWsYlCDbr3mTS14FCizf9ccIxXA8sGL8zKeQN3g== @@ -1608,12 +1827,7 @@ "@types/estree" "1.0.8" fsevents "~2.3.2" -"rollup/node_modules/@types/estree@1.0.8": - version "1.0.8" - resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.8.tgz" - integrity sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w== - -"rrweb-cssom@^0.8.0": +rrweb-cssom@^0.8.0: version "0.8.0" resolved "https://registry.yarnpkg.com/rrweb-cssom/-/rrweb-cssom-0.8.0.tgz" integrity sha512-guoltQEx+9aMf2gDZ0s62EcV8lsXR+0w8915TC3ITdn2YueuNjdAYh/levpU9nFaoChh9RUS5ZdQMrKfVEN9tw== @@ -1623,41 +1837,41 @@ resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz" integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== -"saxes@^6.0.0": +saxes@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/saxes/-/saxes-6.0.0.tgz" integrity sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA== dependencies: xmlchars "^2.2.0" -"semver@^7.5.3": +semver@^7.5.3: version "7.8.1" resolved "https://registry.yarnpkg.com/semver/-/semver-7.8.1.tgz" integrity sha512-rkVq3IXh+4FDGch+KwzX3aV9W3kO54GyEgpvBzSyctDA6Xtd7RJQV1xmXbeQp5v7+VzLOfVqiutSE6GICgPFvg== -"shebang-command@^2.0.0": +shebang-command@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz" integrity sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA== dependencies: shebang-regex "^3.0.0" -"shebang-regex@^3.0.0": +shebang-regex@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz" integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== -"siginfo@^2.0.0": +siginfo@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/siginfo/-/siginfo-2.0.0.tgz" integrity sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g== -"signal-exit@^4.0.1": +signal-exit@^4.0.1: version "4.1.0" resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-4.1.0.tgz" integrity sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw== -"sirv@^3.0.1": +sirv@^3.0.1: version "3.0.2" resolved "https://registry.yarnpkg.com/sirv/-/sirv-3.0.2.tgz" integrity sha512-2wcC/oGxHis/BoHkkPwldgiPSYcpZK3JU28WoMVv55yHJgcZ8rlXvuG9iZggz+sU1d4bRgIGASwyWqjxu3FM0g== @@ -1666,29 +1880,20 @@ mrmime "^2.0.0" totalist "^3.0.0" -"source-map-js@^1.2.1": +source-map-js@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.2.1.tgz" integrity sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA== -"stackback@0.0.2": +stackback@0.0.2: version "0.0.2" resolved "https://registry.yarnpkg.com/stackback/-/stackback-0.0.2.tgz" integrity sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw== -"std-env@^3.9.0": - version "3.10.0" - resolved "https://registry.yarnpkg.com/std-env/-/std-env-3.10.0.tgz" - integrity sha512-5GS12FdOZNliM5mAOxFRg7Ir0pWz8MdpYm6AY6VPkGpbA7ZzmbzNcBJQ0GPvvyWgcY7QAhCgf9Uy89I03faLkg== - -"string-width@^4.1.0", "string-width@^5.0.1", "string-width@^5.1.2": - version "5.1.2" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-5.1.2.tgz" - integrity sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA== - dependencies: - eastasianwidth "^0.2.0" - emoji-regex "^9.2.2" - strip-ansi "^7.0.1" +std-env@^4.0.0-rc.1: + version "4.1.0" + resolved "https://registry.yarnpkg.com/std-env/-/std-env-4.1.0.tgz#45899abc590d86d682e87f0acd1033a75084cd3f" + integrity sha512-Rq7ybcX2RuC55r9oaPVEW7/xu3tj8u4GeBYHBWCychFtzMIr86A7e3PPEBPT37sHStKX3+TiX/Fr/ACmJLVlLQ== "string-width-cjs@npm:string-width@^4.2.0": version "4.2.3" @@ -1699,150 +1904,159 @@ is-fullwidth-code-point "^3.0.0" strip-ansi "^6.0.1" -"string-width-cjs/node_modules/ansi-regex@5.0.1": - version "5.0.1" - resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz" - integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== +string-width@^4.1.0: + version "4.2.3" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" -"string-width-cjs/node_modules/emoji-regex@8.0.0": - version "8.0.0" - resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz" - integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== +string-width@^5.0.1, string-width@^5.1.2: + version "5.1.2" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-5.1.2.tgz" + integrity sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA== + dependencies: + eastasianwidth "^0.2.0" + emoji-regex "^9.2.2" + strip-ansi "^7.0.1" -"string-width-cjs/node_modules/strip-ansi@6.0.1": +"strip-ansi-cjs@npm:strip-ansi@^6.0.1": version "6.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== dependencies: ansi-regex "^5.0.1" -"strip-ansi@^6.0.0", "strip-ansi@^6.0.1", "strip-ansi@^7.0.1": - version "7.2.0" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.2.0.tgz" - integrity sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w== - dependencies: - ansi-regex "^6.2.2" - -"strip-ansi-cjs@npm:strip-ansi@^6.0.1": +strip-ansi@^6.0.0, strip-ansi@^6.0.1: version "6.0.1" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== dependencies: ansi-regex "^5.0.1" -"strip-ansi-cjs/node_modules/ansi-regex@5.0.1": - version "5.0.1" - resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz" - integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== +strip-ansi@^7.0.1: + version "7.2.0" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.2.0.tgz" + integrity sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w== + dependencies: + ansi-regex "^6.2.2" -"strip-json-comments@^3.1.1": +strip-json-comments@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz" integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== -"strip-literal@^3.0.0": - version "3.1.0" - resolved "https://registry.yarnpkg.com/strip-literal/-/strip-literal-3.1.0.tgz" - integrity sha512-8r3mkIM/2+PpjHoOtiAW8Rg3jJLHaV7xPwG+YRGrv6FP0wwk/toTpATxWYOW0BKdWwl82VT2tFYi5DlROa0Mxg== - dependencies: - js-tokens "^9.0.1" - -"supports-color@^7.1.0": +supports-color@^7.1.0: version "7.2.0" resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz" integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw== dependencies: has-flag "^4.0.0" -"symbol-tree@^3.2.4": +symbol-tree@^3.2.4: version "3.2.4" resolved "https://registry.yarnpkg.com/symbol-tree/-/symbol-tree-3.2.4.tgz" integrity sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw== -"tinybench@^2.9.0": +tinybench@^2.9.0: version "2.9.0" resolved "https://registry.yarnpkg.com/tinybench/-/tinybench-2.9.0.tgz" integrity sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg== -"tinyexec@^0.3.2": - version "0.3.2" - resolved "https://registry.yarnpkg.com/tinyexec/-/tinyexec-0.3.2.tgz" - integrity sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA== +tinyexec@^1.0.2: + version "1.2.4" + resolved "https://registry.yarnpkg.com/tinyexec/-/tinyexec-1.2.4.tgz#ae45bb2edebda94c70f4ea897e0f1243e470db71" + integrity sha512-SHf/r48b7vOrjve9PxJo3MN5v5yuyjHvdUcrQffT3WXMUfnGmHDVbC4k3sHJaJTgZCwpUplIaAo5ANtMyp3YHg== -"tinyglobby@^0.2.13", "tinyglobby@^0.2.14": - version "0.2.16" - resolved "https://registry.yarnpkg.com/tinyglobby/-/tinyglobby-0.2.16.tgz" - integrity sha512-pn99VhoACYR8nFHhxqix+uvsbXineAasWm5ojXoN8xEwK5Kd3/TrhNn1wByuD52UxWRLy8pu+kRMniEi6Eq9Zg== +tinyglobby@^0.2.13, tinyglobby@^0.2.14, tinyglobby@^0.2.15, tinyglobby@^0.2.17: + version "0.2.17" + resolved "https://registry.yarnpkg.com/tinyglobby/-/tinyglobby-0.2.17.tgz#562a9a6c9eb2b3b123d39719f9af5bb44fcd7631" + integrity sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g== dependencies: fdir "^6.5.0" picomatch "^4.0.4" -"tinypool@^1.1.1": - version "1.1.1" - resolved "https://registry.yarnpkg.com/tinypool/-/tinypool-1.1.1.tgz" - integrity sha512-Zba82s87IFq9A9XmjiX5uZA/ARWDrB03OHlq+Vw1fSdt0I+4/Kutwy8BP4Y/y/aORMo61FQ0vIb5j44vSo5Pkg== - -"tinyrainbow@^2.0.0": +tinyrainbow@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/tinyrainbow/-/tinyrainbow-2.0.0.tgz" integrity sha512-op4nsTR47R6p0vMUUoYl/a+ljLFVtlfaXkLQmqfLR1qHma1h/ysYk4hEXZ880bf2CYgTskvTa/e196Vd5dDQXw== -"tinyspy@^4.0.3": - version "4.0.4" - resolved "https://registry.yarnpkg.com/tinyspy/-/tinyspy-4.0.4.tgz" - integrity sha512-azl+t0z7pw/z958Gy9svOTuzqIk6xq+NSheJzn5MMWtWTFywIacg2wUlzKFGtt3cthx0r2SxMK0yzJOR0IES7Q== +tinyrainbow@^3.0.3: + version "3.1.0" + resolved "https://registry.yarnpkg.com/tinyrainbow/-/tinyrainbow-3.1.0.tgz#1d8a623893f95cf0a2ddb9e5d11150e191409421" + integrity sha512-Bf+ILmBgretUrdJxzXM0SgXLZ3XfiaUuOj/IKQHuTXip+05Xn+uyEYdVg0kYDipTBcLrCVyUzAPz7QmArb0mmw== -"tldts@^6.1.32": +tldts-core@^6.1.86: + version "6.1.86" + resolved "https://registry.yarnpkg.com/tldts-core/-/tldts-core-6.1.86.tgz" + integrity sha512-Je6p7pkk+KMzMv2XXKmAE3McmolOQFdxkKw0R8EYNr7sELW46JqnNeTX8ybPiQgvg1ymCoF8LXs5fzFaZvJPTA== + +tldts@^6.1.32: version "6.1.86" resolved "https://registry.yarnpkg.com/tldts/-/tldts-6.1.86.tgz" integrity sha512-WMi/OQ2axVTf/ykqCQgXiIct+mSQDFdH2fkwhPwgEwvJ1kSzZRiinb0zF2Xb8u4+OqPChmyI6MEu4EezNJz+FQ== dependencies: tldts-core "^6.1.86" -"tldts-core@^6.1.86": - version "6.1.86" - resolved "https://registry.yarnpkg.com/tldts-core/-/tldts-core-6.1.86.tgz" - integrity sha512-Je6p7pkk+KMzMv2XXKmAE3McmolOQFdxkKw0R8EYNr7sELW46JqnNeTX8ybPiQgvg1ymCoF8LXs5fzFaZvJPTA== - -"totalist@^3.0.0": +totalist@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/totalist/-/totalist-3.0.1.tgz" integrity sha512-sf4i37nQ2LBx4m3wB74y+ubopq6W/dIzXg0FDGjsYnZHVa1Da8FH853wlL2gtUhg+xJXjfk3kUZS3BRoQeoQBQ== -"tough-cookie@^5.1.1": +tough-cookie@^5.1.1: version "5.1.2" resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-5.1.2.tgz" integrity sha512-FVDYdxtnj0G6Qm/DhNPSb8Ju59ULcup3tuJxkFb5K8Bv2pUXILbf0xZWU8PX8Ov19OXljbUyveOFwRMwkXzO+A== dependencies: tldts "^6.1.32" -"tr46@^5.1.0": +tr46@^5.1.0: version "5.1.1" resolved "https://registry.yarnpkg.com/tr46/-/tr46-5.1.1.tgz" integrity sha512-hdF5ZgjTqgAntKkklYw0R03MG2x/bSzTtkxmIRw/sTNV8YXsCJ1tfLAX23lhxhHJlEf3CRCOCGGWw3vI3GaSPw== dependencies: punycode "^2.3.1" -"type-check@^0.4.0", "type-check@~0.4.0": +tslib@^2.4.0: + version "2.8.1" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.8.1.tgz#612efe4ed235d567e8aba5f2a5fab70280ade83f" + integrity sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w== + +type-check@^0.4.0, type-check@~0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/type-check/-/type-check-0.4.0.tgz" integrity sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew== dependencies: prelude-ls "^1.2.1" -"typescript@^5.5.3": +typescript@^5.5.3: version "5.9.3" resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.9.3.tgz" integrity sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw== -"uri-js@^4.2.2": +uri-js@^4.2.2: version "4.4.1" resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.4.1.tgz" integrity sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg== dependencies: punycode "^2.1.0" -"vite@^5.0.0 || ^6.0.0 || ^7.0.0-0", "vite@^6.4.2": +"vite@^6.0.0 || ^7.0.0 || ^8.0.0-0": + version "8.0.16" + resolved "https://registry.yarnpkg.com/vite/-/vite-8.0.16.tgz#ae073866c06563d6634a90169a496e11bd84f1a6" + integrity sha512-h9bXPmJichP5fLmVQo3PyaGSDE2n3aPuomeAlVRm0JLmt4rY6zmPKd59HYI4LNW8oTK7tlTsuC7l/m7awx9Jcw== + dependencies: + lightningcss "^1.32.0" + picomatch "^4.0.4" + postcss "^8.5.15" + rolldown "1.0.3" + tinyglobby "^0.2.17" + optionalDependencies: + fsevents "~2.3.3" + +vite@^6.4.2: version "6.4.2" resolved "https://registry.yarnpkg.com/vite/-/vite-6.4.2.tgz" integrity sha512-2N/55r4JDJ4gdrCvGgINMy+HH3iRpNIz8K6SFwVsA+JbQScLiC+clmAxBgwiSPgcG9U15QmvqCGWzMbqda5zGQ== @@ -1855,68 +2069,43 @@ rollup "^4.34.9" tinyglobby "^0.2.13" -"vite-node@3.2.4": - version "3.2.4" - resolved "https://registry.yarnpkg.com/vite-node/-/vite-node-3.2.4.tgz" - integrity sha512-EbKSKh+bh1E1IFxeO0pg1n4dvoOTt0UDiXMd/qn++r98+jPO1xtJilvXldeuQ8giIB5IkpjCgMleHMNEsGH6pg== - dependencies: - cac "^6.7.14" - debug "^4.4.1" - es-module-lexer "^1.7.0" - pathe "^2.0.3" - vite "^5.0.0 || ^6.0.0 || ^7.0.0-0" - -"vitest@^3.2.4": - version "3.2.4" - resolved "https://registry.yarnpkg.com/vitest/-/vitest-3.2.4.tgz" - integrity sha512-LUCP5ev3GURDysTWiP47wRRUpLKMOfPh+yKTx3kVIEiu5KOMeqzpnYNsKyOoVrULivR8tLcks4+lga33Whn90A== - dependencies: - "@types/chai" "^5.2.2" - "@vitest/expect" "3.2.4" - "@vitest/mocker" "3.2.4" - "@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" - debug "^4.4.1" - expect-type "^1.2.1" - magic-string "^0.30.17" +vitest@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/vitest/-/vitest-4.1.0.tgz#b598abbe83f0c9e93d18cf3c5f23c75a525f8e82" + integrity sha512-YbDrMF9jM2Lqc++2530UourxZHmkKLxrs4+mYhEwqWS97WJ7wOYEkcr+QfRgJ3PW9wz3odRijLZjHEaRLTNbqw== + dependencies: + "@vitest/expect" "4.1.0" + "@vitest/mocker" "4.1.0" + "@vitest/pretty-format" "4.1.0" + "@vitest/runner" "4.1.0" + "@vitest/snapshot" "4.1.0" + "@vitest/spy" "4.1.0" + "@vitest/utils" "4.1.0" + es-module-lexer "^2.0.0" + expect-type "^1.3.0" + magic-string "^0.30.21" + obug "^2.1.1" pathe "^2.0.3" - picomatch "^4.0.2" - std-env "^3.9.0" + picomatch "^4.0.3" + std-env "^4.0.0-rc.1" tinybench "^2.9.0" - tinyexec "^0.3.2" - tinyglobby "^0.2.14" - tinypool "^1.1.1" - tinyrainbow "^2.0.0" - vite "^5.0.0 || ^6.0.0 || ^7.0.0-0" - vite-node "3.2.4" + tinyexec "^1.0.2" + tinyglobby "^0.2.15" + tinyrainbow "^3.0.3" + vite "^6.0.0 || ^7.0.0 || ^8.0.0-0" why-is-node-running "^2.3.0" -"vscode-uri@^3.0.8": +vscode-uri@^3.0.8: version "3.1.0" resolved "https://registry.yarnpkg.com/vscode-uri/-/vscode-uri-3.1.0.tgz" integrity sha512-/BpdSx+yCQGnCvecbyXdxHDkuk55/G3xwnC0GqY4gmQ3j+A+g8kzzgB4Nk/SINjqn6+waqw3EgbVF2QKExkRxQ== -"vue@^3.5.13": - version "3.5.34" - resolved "https://registry.yarnpkg.com/vue/-/vue-3.5.34.tgz" - integrity sha512-WdLBG9gm02OgJIG9axd5Hpx0TFLdzVgfG2evFFu8Rur5O/IoGc5cMjnjh3tPL6GnRGsYvUhBSKVPYVcxRKpMCA== - dependencies: - "@vue/compiler-dom" "3.5.34" - "@vue/compiler-sfc" "3.5.34" - "@vue/runtime-dom" "3.5.34" - "@vue/server-renderer" "3.5.34" - "@vue/shared" "3.5.34" - -"vue-component-type-helpers@^3.0.0": +vue-component-type-helpers@^3.0.0: version "3.3.2" resolved "https://registry.yarnpkg.com/vue-component-type-helpers/-/vue-component-type-helpers-3.3.2.tgz" integrity sha512-l4Z2Y34m7nFMlx8vrslJaVtXxUpzgDMSESC7TakG/c5kwjYT/do+E0NcT2/vWDzaoIhsShg/2OKwX7Q4nbzC0g== -"vue-tsc@^2.2.10": +vue-tsc@^2.2.10: version "2.2.12" resolved "https://registry.yarnpkg.com/vue-tsc/-/vue-tsc-2.2.12.tgz" integrity sha512-P7OP77b2h/Pmk+lZdJ0YWs+5tJ6J2+uOQPo7tlBnY44QqQSPYvS0qVT4wqDJgwrZaLe47etJLLQRFia71GYITw== @@ -1924,31 +2113,42 @@ "@volar/typescript" "2.4.15" "@vue/language-core" "2.2.12" -"w3c-xmlserializer@^5.0.0": +vue@^3.5.13: + version "3.5.34" + resolved "https://registry.yarnpkg.com/vue/-/vue-3.5.34.tgz" + integrity sha512-WdLBG9gm02OgJIG9axd5Hpx0TFLdzVgfG2evFFu8Rur5O/IoGc5cMjnjh3tPL6GnRGsYvUhBSKVPYVcxRKpMCA== + dependencies: + "@vue/compiler-dom" "3.5.34" + "@vue/compiler-sfc" "3.5.34" + "@vue/runtime-dom" "3.5.34" + "@vue/server-renderer" "3.5.34" + "@vue/shared" "3.5.34" + +w3c-xmlserializer@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/w3c-xmlserializer/-/w3c-xmlserializer-5.0.0.tgz" integrity sha512-o8qghlI8NZHU1lLPrpi2+Uq7abh4GGPpYANlalzWxyWteJOCsr/P+oPBA49TOLu5FTZO4d3F9MnWJfiMo4BkmA== dependencies: xml-name-validator "^5.0.0" -"webidl-conversions@^7.0.0": +webidl-conversions@^7.0.0: version "7.0.0" resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-7.0.0.tgz" integrity sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g== -"whatwg-encoding@^3.1.1": +whatwg-encoding@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/whatwg-encoding/-/whatwg-encoding-3.1.1.tgz" integrity sha512-6qN4hJdMwfYBtE3YBTTHhoeuUrDBPZmbQaxWAqSALV/MeEnR5z1xd8UKud2RAkFoPkmB+hli1TZSnyi84xz1vQ== dependencies: iconv-lite "0.6.3" -"whatwg-mimetype@^4.0.0": +whatwg-mimetype@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/whatwg-mimetype/-/whatwg-mimetype-4.0.0.tgz" integrity sha512-QaKxh0eNIi2mE9p2vEdzfagOKHCcj1pJ56EEHGQOVxp8r9/iszLUUV7v89x9O1p/T+NlTM5W7jW6+cz4Fq1YVg== -"whatwg-url@^14.0.0", "whatwg-url@^14.1.1": +whatwg-url@^14.0.0, whatwg-url@^14.1.1: version "14.2.0" resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-14.2.0.tgz" integrity sha512-De72GdQZzNTUBBChsXueQUnPKDkg/5A5zp7pFDuQAj5UFoENpiACU0wlCvzpAGnTkj++ihpKwKyYewn/XNUbKw== @@ -1956,14 +2156,14 @@ tr46 "^5.1.0" webidl-conversions "^7.0.0" -"which@^2.0.1": +which@^2.0.1: version "2.0.2" resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz" integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA== dependencies: isexe "^2.0.0" -"why-is-node-running@^2.3.0": +why-is-node-running@^2.3.0: version "2.3.0" resolved "https://registry.yarnpkg.com/why-is-node-running/-/why-is-node-running-2.3.0.tgz" integrity sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w== @@ -1971,20 +2171,11 @@ siginfo "^2.0.0" stackback "0.0.2" -"word-wrap@^1.2.5": +word-wrap@^1.2.5: version "1.2.5" resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.5.tgz" integrity sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA== -"wrap-ansi@^8.1.0": - version "8.1.0" - resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz" - integrity sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ== - dependencies: - ansi-styles "^6.1.0" - string-width "^5.0.1" - strip-ansi "^7.0.1" - "wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": version "7.0.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz" @@ -1994,54 +2185,31 @@ string-width "^4.1.0" strip-ansi "^6.0.0" -"wrap-ansi-cjs/node_modules/ansi-regex@5.0.1": - version "5.0.1" - resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz" - integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== - -"wrap-ansi-cjs/node_modules/emoji-regex@8.0.0": - version "8.0.0" - resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz" - integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== - -"wrap-ansi-cjs/node_modules/string-width@4.2.3": - version "4.2.3" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz" - integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== - dependencies: - emoji-regex "^8.0.0" - is-fullwidth-code-point "^3.0.0" - strip-ansi "^6.0.1" - -"wrap-ansi-cjs/node_modules/strip-ansi@6.0.1": - version "6.0.1" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz" - integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== +wrap-ansi@^8.1.0: + version "8.1.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz" + integrity sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ== dependencies: - ansi-regex "^5.0.1" - -"wrap-ansi/node_modules/ansi-styles@6.2.3": - version "6.2.3" - resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-6.2.3.tgz" - integrity sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg== + ansi-styles "^6.1.0" + string-width "^5.0.1" + strip-ansi "^7.0.1" -"ws@^8.18.0": +ws@^8.18.0: version "8.21.0" resolved "https://registry.yarnpkg.com/ws/-/ws-8.21.0.tgz" integrity sha512-Vsp28b7DRcimFQvrqu2Wek3z1iYxDCWqHYB8Qsnk/S4RfaCQzPGPyBNuVjJV3cd6UiKtUtp6sNM77gWvzcCH+g== -"xml-name-validator@^5.0.0": +xml-name-validator@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/xml-name-validator/-/xml-name-validator-5.0.0.tgz" integrity sha512-EvGK8EJ3DhaHfbRlETOWAS5pO9MZITeauHKJyb8wyajUfQUenkIg2MvLDTZ4T/TgIcm3HU0TFBgWWboAZ30UHg== -"xmlchars@^2.2.0": +xmlchars@^2.2.0: version "2.2.0" resolved "https://registry.yarnpkg.com/xmlchars/-/xmlchars-2.2.0.tgz" integrity sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw== -"yocto-queue@^0.1.0": +yocto-queue@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz" integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q== - From cdeaee300aa3a669e51e9bf64351a952b2069d27 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 1 Jun 2026 22:45:12 +0000 Subject: [PATCH 172/235] Bump vitest from 3.2.4 to 4.1.0 in /react Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 3.2.4 to 4.1.0. - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md) - [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.0/packages/vitest) --- updated-dependencies: - dependency-name: vitest dependency-version: 4.1.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- react/package.json | 2 +- react/yarn.lock | 562 +++++++++++++++++++++++++++++++-------------- 2 files changed, 389 insertions(+), 175 deletions(-) diff --git a/react/package.json b/react/package.json index 7821f515b..409fc434b 100644 --- a/react/package.json +++ b/react/package.json @@ -18,7 +18,7 @@ "react": "^18.3.1", "react-dom": "^18.3.1", "react-fast-compare": "^3.2.2", - "vitest": "^3.2.4" + "vitest": "^4.1.0" }, "devDependencies": { "@eslint/js": "^9.9.0", diff --git a/react/yarn.lock b/react/yarn.lock index 28fae5477..15ea861b9 100644 --- a/react/yarn.lock +++ b/react/yarn.lock @@ -41,6 +41,28 @@ resolved "https://registry.yarnpkg.com/@csstools/css-tokenizer/-/css-tokenizer-3.0.4.tgz#333fedabc3fd1a8e5d0100013731cf19e6a8c5d3" integrity sha512-Vd/9EVDiu6PPJt9yAh6roZP6El1xHrdvIVGjyBsHR0RYwNHgL7FJPyIIW4fANJNG6FtyZfvlRPpFI4ZM/lubvw== +"@emnapi/core@1.10.0": + version "1.10.0" + resolved "https://registry.yarnpkg.com/@emnapi/core/-/core-1.10.0.tgz#380ccc8f2412ea22d1d972df7f8ee23a3b9c7467" + integrity sha512-yq6OkJ4p82CAfPl0u9mQebQHKPJkY7WrIuk205cTYnYe+k2Z8YBh11FrbRG/H6ihirqcacOgl2BIO8oyMQLeXw== + dependencies: + "@emnapi/wasi-threads" "1.2.1" + tslib "^2.4.0" + +"@emnapi/runtime@1.10.0": + version "1.10.0" + resolved "https://registry.yarnpkg.com/@emnapi/runtime/-/runtime-1.10.0.tgz#4b260c0d3534204e98c6110b8db1a987d26ec87c" + integrity sha512-ewvYlk86xUoGI0zQRNq/mC+16R1QeDlKQy21Ki3oSYXNgLb45GV1P6A0M+/s6nyCuNDqe5VpaY84BzXGwVbwFA== + dependencies: + tslib "^2.4.0" + +"@emnapi/wasi-threads@1.2.1": + version "1.2.1" + resolved "https://registry.yarnpkg.com/@emnapi/wasi-threads/-/wasi-threads-1.2.1.tgz#28fed21a1ba1ce797c44a070abc94d42f3ae8548" + integrity sha512-uTII7OYF+/Mes/MrcIOYp5yOtSMLBWSIoLPpcgwipoiKbli6k322tcoFsxoIIxPDqW01SQGAgko4EzZi2BNv2w== + dependencies: + tslib "^2.4.0" + "@esbuild/aix-ppc64@0.25.8": version "0.25.8" resolved "https://registry.yarnpkg.com/@esbuild/aix-ppc64/-/aix-ppc64-0.25.8.tgz#a1414903bb38027382f85f03dda6065056757727" @@ -234,10 +256,17 @@ resolved "https://registry.yarnpkg.com/@humanwhocodes/retry/-/retry-0.3.0.tgz#6d86b8cb322660f03d3f0aa94b99bdd8e172d570" integrity sha512-d2CGZR2o7fS6sWB7DG/3a95bGKQyHMACZ5aW8qGkkqQpUoZV6C0X7Pc7l4ZNMZkfNBf4VWNe9E1jRsf0G146Ew== -"@jridgewell/sourcemap-codec@^1.5.0": - version "1.5.4" - resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.4.tgz#7358043433b2e5da569aa02cbc4c121da3af27d7" - integrity sha512-VT2+G1VQs/9oz078bLrYbecdZKs912zQlkelYpuf+SXF+QvZDYJlbx/LSx+meSAwdDFnF8FVXW92AVjjkVmgFw== +"@jridgewell/sourcemap-codec@^1.5.5": + version "1.5.5" + resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz#6912b00d2c631c0d15ce1a7ab57cd657f2a8f8ba" + integrity sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og== + +"@napi-rs/wasm-runtime@^1.1.4": + version "1.1.4" + resolved "https://registry.yarnpkg.com/@napi-rs/wasm-runtime/-/wasm-runtime-1.1.4.tgz#a46bbfedc29751b7170c5d23bc1d8ee8c7e3c1e1" + integrity sha512-3NQNNgA1YSlJb/kMH1ildASP9HW7/7kYnRI2szWJaofaS1hWmbGI4H+d3+22aGzXXN9IJ+n+GiFVcGipJP18ow== + dependencies: + "@tybys/wasm-util" "^0.10.1" "@nodelib/fs.scandir@2.1.5": version "2.1.5" @@ -260,11 +289,100 @@ "@nodelib/fs.scandir" "2.1.5" fastq "^1.6.0" +"@oxc-project/types@=0.133.0": + version "0.133.0" + resolved "https://registry.yarnpkg.com/@oxc-project/types/-/types-0.133.0.tgz#2e282ef9e1d26e06b68ccd14b73f310a3b2cf7f8" + integrity sha512-KzkdCd6Uxqnf6l3HOw1xfatAlUURA0g14cvBYFyJ5SaNOQbOUvBr9PKArcPcrNIeRsBdgcUzOGrhKveVpvOIGA== + "@polka/url@^1.0.0-next.24": version "1.0.0-next.29" resolved "https://registry.yarnpkg.com/@polka/url/-/url-1.0.0-next.29.tgz#5a40109a1ab5f84d6fd8fc928b19f367cbe7e7b1" integrity sha512-wwQAWhWSuHaag8c4q/KN/vCoeOJYshAIvMQwD4GpSb3OiZklFfvAgmj0VCBBImRpuF/aFgIRzllXlVX93Jevww== +"@rolldown/binding-android-arm64@1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@rolldown/binding-android-arm64/-/binding-android-arm64-1.0.3.tgz#54ce8f8382213f4a314a0c2f7ba83f81ffeae592" + integrity sha512-454rs7jHngixp/NMxd5srYD57OnzSlZ/eFTETjORQHLwJG1lRtmNOJcBerZlfu4GjKqeq8aCCIQrMdHyhI51Hw== + +"@rolldown/binding-darwin-arm64@1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.0.3.tgz#388fca1566c14c00c4b446fc3928630e7f0d95fc" + integrity sha512-PcAhP+ynjURNyy8SKGl5DQP94aGuB/7JrXJb/t7P+hanXvQVMWzUvRRhBAcg/lNRadBhoUPqSoP4xw5tR/KBEA== + +"@rolldown/binding-darwin-x64@1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.0.3.tgz#53f57de1f599ecf1db13823cfc88c18fb80954ad" + integrity sha512-9YpfeUvSE2RS7wysJ81uOZkXJz7f7Q55H2Gvp3VEw/EsahqDtrphrZ0EwDLK5vvKOzaCrBsjF8JmnMLcUt78Gg== + +"@rolldown/binding-freebsd-x64@1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.0.3.tgz#6f3fdda1b7aeaac9d268a526804b4fb96e4e35f1" + integrity sha512-yB1IlAsSNHncV6SCTL27/MVGR5htvQsoGxIv5KMGXALp+Ll1wYsn+x98M9MW7qa+NdSbvrrY7ANI4wLJ0n1e6g== + +"@rolldown/binding-linux-arm-gnueabihf@1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.0.3.tgz#d87a454bf585cc9676849377e91d6e375297326f" + integrity sha512-Yi30IVAAfLUCy2MseFjbB1jAMDl1VMCAas5StnYp8da9+CKvMd2H2cbEjWcw5NPaPqzvYkVIaF1nNUG+b7u/sw== + +"@rolldown/binding-linux-arm64-gnu@1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.0.3.tgz#419fd6bf612cf348f10528cbcd94ebab9607d8d1" + integrity sha512-jsO7R8To+AdlYgUmN5sHSCZbfhtMBkO0WUx8iORQnPcMMdgr7qM2DQmMwgabs3GhNztdmoKkMKQFHD6DTMCIQw== + +"@rolldown/binding-linux-arm64-musl@1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.0.3.tgz#fcc6918696bb76844877e1e4930a18fd0d374069" + integrity sha512-VWkUHwWriDciit80wleYwKILoR/KMvxh/IdwS/paX+ZgpuRpCrKLUdadJbc0NpBEiyhpYawsJ73j9aCvOH+f7Q== + +"@rolldown/binding-linux-ppc64-gnu@1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.0.3.tgz#32aecb7c8dae5d4f2a8cde57a058ec86991542f8" + integrity sha512-5f1laC0SlIR0yDbFCd8acUhvJIag6N3zC5P7oUPN6wX0aOma+uKJ0wBDH5aq7I1PVI2ttTlhJwzwRIBnLiSGEg== + +"@rolldown/binding-linux-s390x-gnu@1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.0.3.tgz#bed9346ea81e6bb8b93cf11f5d88b77db890b763" + integrity sha512-Iq4ko0r4XsgbrF/LunNgHtAGLRRVE2kXonAXQ/MV0mC6jQpMOhW1SvtZja2EhC/kd05++bP78dsqBeIQyYJ6Yg== + +"@rolldown/binding-linux-x64-gnu@1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.0.3.tgz#64c2d26f75dffd9b5a1f97557a00ae77250c8cb7" + integrity sha512-B8m6tD5+/N5FeNQFbKlLA/2yVq9ycQP1SeedyEYYKWBNR3ZQbkvIUcNnDNM03lO1l5F2roiiFJGgvoLLyZXtSg== + +"@rolldown/binding-linux-x64-musl@1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.0.3.tgz#5a45132e8a47659eeaaf3b540c2954a97c860ff3" + integrity sha512-pSdpdUJHkuCxun9LE7jvgUB9qsRgaiyNNCX7m/AvHTcq67AiT/Yhoxvw5zPfhrM8k/BfP8ce/hMOpthKDpEUow== + +"@rolldown/binding-openharmony-arm64@1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.0.3.tgz#290513068c55e849dc8457a32afee1d7b0acb309" + integrity sha512-OXXS3RKJgX2uLwM+gYyuH5omcH8fL1LJs96pZGgtetVCahON57+d4SJHzTgZiOjxgGkSnpXpOsWuPDGAKAigEg== + +"@rolldown/binding-wasm32-wasi@1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@rolldown/binding-wasm32-wasi/-/binding-wasm32-wasi-1.0.3.tgz#3d9972dbf1a953d3c7afaa4a0f20ef2b2e39f31b" + integrity sha512-JTtb8BWFynicNSoPrehsCzBtOKjZ6jhMiPFEmOiuXg1Fl8dn2KHQob+GuPSGR0dryQa1PQJbzjF3dqO/whhjLg== + dependencies: + "@emnapi/core" "1.10.0" + "@emnapi/runtime" "1.10.0" + "@napi-rs/wasm-runtime" "^1.1.4" + +"@rolldown/binding-win32-arm64-msvc@1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.0.3.tgz#a004ab607a16d6f03bcb555728ff888af75773ad" + integrity sha512-gEdFFEN70A/jxb2svrWsN3aDL7OUtmvlOy+6fa2jxG8K0wQ1ZbdeLGnidov6Yu5/733dI5ySfzFlQ/cb0bSz1g== + +"@rolldown/binding-win32-x64-msvc@1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.0.3.tgz#e2a25b34691a1cc8a1209d7de709063026dd0cdb" + integrity sha512-eXB7CHuaQdqmJcc3koCNtNPmT/bj2gc999kUFgBxG8Ac0NdgXc4rkCHhqrgrhN3zddvvvrgzj1e90SuSfmyIXA== + +"@rolldown/pluginutils@^1.0.0": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@rolldown/pluginutils/-/pluginutils-1.0.1.tgz#e3fcee093fbb5ce765e1ad088ff4de2889f6f9be" + integrity sha512-2j9bGt5Jh8hj+vPtgzPtl72j0yRxHAyumoo6TNfAjsLB04UtpSvPbPcDcBMxz7n+9CYB0c1GxQFxYRg2jimqGw== + "@rollup/rollup-android-arm-eabi@4.60.1": version "4.60.1" resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.60.1.tgz#043f145716234529052ef9e1ce1d847ffbe9e674" @@ -390,6 +508,11 @@ resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.60.1.tgz#23b860113e9f87eea015d1fa3a4240a52b42fcd4" integrity sha512-lWMnixq/QzxyhTV6NjQJ4SFo1J6PvOX8vUx5Wb4bBPsEb+8xZ89Bz6kOXpfXj9ak9AHTQVQzlgzBEc1SyM27xQ== +"@standard-schema/spec@^1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@standard-schema/spec/-/spec-1.1.0.tgz#a79b55dbaf8604812f52d140b2c9ab41bc150bb8" + integrity sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w== + "@swc/core-darwin-arm64@1.7.26": version "1.7.26" resolved "https://registry.yarnpkg.com/@swc/core-darwin-arm64/-/core-darwin-arm64-1.7.26.tgz#5f4096c00e71771ca1b18c824f0c92a052c70760" @@ -471,6 +594,13 @@ dependencies: "@swc/counter" "^0.1.3" +"@tybys/wasm-util@^0.10.1": + version "0.10.2" + resolved "https://registry.yarnpkg.com/@tybys/wasm-util/-/wasm-util-0.10.2.tgz#12b3a1b33db1f9cad4ddff1f604ab7dd00bf464e" + integrity sha512-RoBvJ2X0wuKlWFIjrwffGw1IqZHKQqzIchKaadZZfnNpsAYp2mM0h36JtPCjNDAHGgYez/15uMBpfGwchhiMgg== + dependencies: + tslib "^2.4.0" + "@types/chai@^5.2.2": version "5.2.2" resolved "https://registry.yarnpkg.com/@types/chai/-/chai-5.2.2.tgz#6f14cea18180ffc4416bc0fd12be05fdd73bdd6b" @@ -596,57 +726,63 @@ dependencies: "@swc/core" "^1.5.7" -"@vitest/expect@3.2.4": - version "3.2.4" - resolved "https://registry.yarnpkg.com/@vitest/expect/-/expect-3.2.4.tgz#8362124cd811a5ee11c5768207b9df53d34f2433" - integrity sha512-Io0yyORnB6sikFlt8QW5K7slY4OjqNX9jmJQ02QDda8lyM6B5oNgVWoSoKPac8/kgnCUzuHQKrSLtu/uOqqrig== +"@vitest/expect@4.1.0": + version "4.1.0" + resolved "https://registry.yarnpkg.com/@vitest/expect/-/expect-4.1.0.tgz#2f6c7d19cfbe778bfb42d73f77663ec22163fcbb" + integrity sha512-EIxG7k4wlWweuCLG9Y5InKFwpMEOyrMb6ZJ1ihYu02LVj/bzUwn2VMU+13PinsjRW75XnITeFrQBMH5+dLvCDA== dependencies: + "@standard-schema/spec" "^1.1.0" "@types/chai" "^5.2.2" - "@vitest/spy" "3.2.4" - "@vitest/utils" "3.2.4" - chai "^5.2.0" - tinyrainbow "^2.0.0" + "@vitest/spy" "4.1.0" + "@vitest/utils" "4.1.0" + chai "^6.2.2" + tinyrainbow "^3.0.3" -"@vitest/mocker@3.2.4": - version "3.2.4" - resolved "https://registry.yarnpkg.com/@vitest/mocker/-/mocker-3.2.4.tgz#4471c4efbd62db0d4fa203e65cc6b058a85cabd3" - integrity sha512-46ryTE9RZO/rfDd7pEqFl7etuyzekzEhUbTW3BvmeO/BcCMEgq59BKhek3dXDWgAj4oMK6OZi+vRr1wPW6qjEQ== +"@vitest/mocker@4.1.0": + version "4.1.0" + resolved "https://registry.yarnpkg.com/@vitest/mocker/-/mocker-4.1.0.tgz#2aabf6079ad472f89a212d322f7d5da7ad628a0e" + integrity sha512-evxREh+Hork43+Y4IOhTo+h5lGmVRyjqI739Rz4RlUPqwrkFFDF6EMvOOYjTx4E8Tl6gyCLRL8Mu7Ry12a13Tw== dependencies: - "@vitest/spy" "3.2.4" + "@vitest/spy" "4.1.0" estree-walker "^3.0.3" - magic-string "^0.30.17" + magic-string "^0.30.21" -"@vitest/pretty-format@3.2.4", "@vitest/pretty-format@^3.2.4": +"@vitest/pretty-format@3.2.4": version "3.2.4" resolved "https://registry.yarnpkg.com/@vitest/pretty-format/-/pretty-format-3.2.4.tgz#3c102f79e82b204a26c7a5921bf47d534919d3b4" integrity sha512-IVNZik8IVRJRTr9fxlitMKeJeXFFFN0JaB9PHPGQ8NKQbGpfjlTx9zO4RefN8gp7eqjNy8nyK3NZmBzOPeIxtA== dependencies: tinyrainbow "^2.0.0" -"@vitest/runner@3.2.4": - version "3.2.4" - resolved "https://registry.yarnpkg.com/@vitest/runner/-/runner-3.2.4.tgz#5ce0274f24a971f6500f6fc166d53d8382430766" - integrity sha512-oukfKT9Mk41LreEW09vt45f8wx7DordoWUZMYdY/cyAk7w5TWkTRCNZYF7sX7n2wB7jyGAl74OxgwhPgKaqDMQ== +"@vitest/pretty-format@4.1.0": + version "4.1.0" + resolved "https://registry.yarnpkg.com/@vitest/pretty-format/-/pretty-format-4.1.0.tgz#b6ccf2868130a647d24af3696d58c09a95eb83c1" + integrity sha512-3RZLZlh88Ib0J7NQTRATfc/3ZPOnSUn2uDBUoGNn5T36+bALixmzphN26OUD3LRXWkJu4H0s5vvUeqBiw+kS0A== dependencies: - "@vitest/utils" "3.2.4" - pathe "^2.0.3" - strip-literal "^3.0.0" + tinyrainbow "^3.0.3" -"@vitest/snapshot@3.2.4": - version "3.2.4" - resolved "https://registry.yarnpkg.com/@vitest/snapshot/-/snapshot-3.2.4.tgz#40a8bc0346ac0aee923c0eefc2dc005d90bc987c" - integrity sha512-dEYtS7qQP2CjU27QBC5oUOxLE/v5eLkGqPE0ZKEIDGMs4vKWe7IjgLOeauHsR0D5YuuycGRO5oSRXnwnmA78fQ== +"@vitest/runner@4.1.0": + version "4.1.0" + resolved "https://registry.yarnpkg.com/@vitest/runner/-/runner-4.1.0.tgz#4e12c0f086eb3a4ae3fae84d9d68b22d02942cbf" + integrity sha512-Duvx2OzQ7d6OjchL+trw+aSrb9idh7pnNfxrklo14p3zmNL4qPCDeIJAK+eBKYjkIwG96Bc6vYuxhqDXQOWpoQ== dependencies: - "@vitest/pretty-format" "3.2.4" - magic-string "^0.30.17" + "@vitest/utils" "4.1.0" pathe "^2.0.3" -"@vitest/spy@3.2.4": - version "3.2.4" - resolved "https://registry.yarnpkg.com/@vitest/spy/-/spy-3.2.4.tgz#cc18f26f40f3f028da6620046881f4e4518c2599" - integrity sha512-vAfasCOe6AIK70iP5UD11Ac4siNUNJ9i/9PZ3NKx07sG6sUxeag1LWdNrMWeKKYBLlzuK+Gn65Yd5nyL6ds+nw== +"@vitest/snapshot@4.1.0": + version "4.1.0" + resolved "https://registry.yarnpkg.com/@vitest/snapshot/-/snapshot-4.1.0.tgz#67372979da692ccf5dfa4a3bb603f683c0640202" + integrity sha512-0Vy9euT1kgsnj1CHttwi9i9o+4rRLEaPRSOJ5gyv579GJkNpgJK+B4HSv/rAWixx2wdAFci1X4CEPjiu2bXIMg== dependencies: - tinyspy "^4.0.3" + "@vitest/pretty-format" "4.1.0" + "@vitest/utils" "4.1.0" + magic-string "^0.30.21" + pathe "^2.0.3" + +"@vitest/spy@4.1.0": + version "4.1.0" + resolved "https://registry.yarnpkg.com/@vitest/spy/-/spy-4.1.0.tgz#b9143a63cca83de34ac1777c733f8561b73fa9ba" + integrity sha512-pz77k+PgNpyMDv2FV6qmk5ZVau6c3R8HC8v342T2xlFxQKTrSeYw9waIJG8KgV9fFwAtTu4ceRzMivPTH6wSxw== "@vitest/ui@^3.2.4": version "3.2.4" @@ -670,6 +806,15 @@ loupe "^3.1.4" tinyrainbow "^2.0.0" +"@vitest/utils@4.1.0": + version "4.1.0" + resolved "https://registry.yarnpkg.com/@vitest/utils/-/utils-4.1.0.tgz#2baf26a2a28c4aabe336315dc59722df2372c38d" + integrity sha512-XfPXT6a8TZY3dcGY8EdwsBulFCIw+BeeX0RZn2x/BtiY/75YGh8FeWGG8QISN/WhaqSrE2OrlDgtF8q5uhOTmw== + dependencies: + "@vitest/pretty-format" "4.1.0" + convert-source-map "^2.0.0" + tinyrainbow "^3.0.3" + acorn-jsx@^5.3.2: version "5.3.2" resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937" @@ -712,11 +857,6 @@ argparse@^2.0.1: resolved "https://registry.yarnpkg.com/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38" integrity sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q== -assertion-error@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/assertion-error/-/assertion-error-2.0.1.tgz#f641a196b335690b1070bf00b6e7593fec190bf7" - integrity sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA== - balanced-match@^1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" @@ -744,26 +884,15 @@ braces@^3.0.3: dependencies: fill-range "^7.1.1" -cac@^6.7.14: - version "6.7.14" - resolved "https://registry.yarnpkg.com/cac/-/cac-6.7.14.tgz#804e1e6f506ee363cb0e3ccbb09cad5dd9870959" - integrity sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ== - callsites@^3.0.0: version "3.1.0" resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== -chai@^5.2.0: - version "5.2.1" - resolved "https://registry.yarnpkg.com/chai/-/chai-5.2.1.tgz#a9502462bdc79cf90b4a0953537a9908aa638b47" - integrity sha512-5nFxhUrX0PqtyogoYOA8IPswy5sZFTOsBFl/9bNsmDLgsxYTzSZQJDPppDnZPTQbzSEm0hqGjWPzRemQCYbD6A== - dependencies: - assertion-error "^2.0.1" - check-error "^2.1.1" - deep-eql "^5.0.1" - loupe "^3.1.0" - pathval "^2.0.0" +chai@^6.2.2: + version "6.2.2" + resolved "https://registry.yarnpkg.com/chai/-/chai-6.2.2.tgz#ae41b52c9aca87734505362717f3255facda360e" + integrity sha512-NUPRluOfOiTKBKvWPtSD4PhFvWCqOi0BGStNWs57X9js7XGTprSmFoz5F0tWhR4WPjNeR9jXqdC7/UpSJTnlRg== chalk@^4.0.0: version "4.1.2" @@ -773,11 +902,6 @@ chalk@^4.0.0: ansi-styles "^4.1.0" supports-color "^7.1.0" -check-error@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/check-error/-/check-error-2.1.1.tgz#87eb876ae71ee388fa0471fe423f494be1d96ccc" - integrity sha512-OAlb+T7V4Op9OwdkjmguYRqncdlx5JiofwOAUkmTF+jNdHwzTaTs4sRAGpzLF3oOz5xAyDGrPgeIDFQmDOTiJw== - color-convert@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3" @@ -795,6 +919,11 @@ concat-map@0.0.1: resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg== +convert-source-map@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-2.0.0.tgz#4b560f649fc4e918dd0ab75cf4961e8bc882d82a" + integrity sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg== + cross-spawn@^7.0.2: version "7.0.5" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.5.tgz#910aac880ff5243da96b728bc6521a5f6c2f2f82" @@ -825,7 +954,7 @@ data-urls@^5.0.0: whatwg-mimetype "^4.0.0" whatwg-url "^14.0.0" -debug@4, debug@^4.4.1: +debug@4: version "4.4.1" resolved "https://registry.yarnpkg.com/debug/-/debug-4.4.1.tgz#e5a8bc6cbc4c6cd3e64308b0693a3d4fa550189b" integrity sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ== @@ -844,25 +973,25 @@ decimal.js@^10.5.0: resolved "https://registry.yarnpkg.com/decimal.js/-/decimal.js-10.6.0.tgz#e649a43e3ab953a72192ff5983865e509f37ed9a" integrity sha512-YpgQiITW3JXGntzdUmyUR1V812Hn8T1YVXhCu+wO3OpS4eU9l4YdD3qjyiKdV6mvV29zapkMeD390UVEf2lkUg== -deep-eql@^5.0.1: - version "5.0.2" - resolved "https://registry.yarnpkg.com/deep-eql/-/deep-eql-5.0.2.tgz#4b756d8d770a9257300825d52a2c2cff99c3a341" - integrity sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q== - deep-is@^0.1.3: version "0.1.4" resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.4.tgz#a6f2dce612fadd2ef1f519b73551f17e85199831" integrity sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ== +detect-libc@^2.0.3: + version "2.1.2" + resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-2.1.2.tgz#689c5dcdc1900ef5583a4cb9f6d7b473742074ad" + integrity sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ== + entities@^6.0.0: version "6.0.1" resolved "https://registry.yarnpkg.com/entities/-/entities-6.0.1.tgz#c28c34a43379ca7f61d074130b2f5f7020a30694" integrity sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g== -es-module-lexer@^1.7.0: - version "1.7.0" - resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-1.7.0.tgz#9159601561880a85f2734560a9099b2c31e5372a" - integrity sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA== +es-module-lexer@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-2.1.0.tgz#1dfcbb5ea3bbfb63f28e1fc3676c3676d1c9624c" + integrity sha512-n27zTYMjYu1aj4MjCWzSP7G9r75utsaoc8m61weK+W8JMBGGQybd43GstCXZ3WNmSFtGT9wi59qQTW6mhTR5LQ== esbuild@^0.25.0: version "0.25.8" @@ -1009,10 +1138,10 @@ esutils@^2.0.2: resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== -expect-type@^1.2.1: - version "1.2.2" - resolved "https://registry.yarnpkg.com/expect-type/-/expect-type-1.2.2.tgz#c030a329fb61184126c8447585bc75a7ec6fbff3" - integrity sha512-JhFGDVJ7tmDJItKhYgJCGLOWjuK9vPxiXoUFLwLDc99NlmklilbiQJwoctZtt13+xMw91MCk/REan6MWHqDjyA== +expect-type@^1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/expect-type/-/expect-type-1.3.0.tgz#0d58ed361877a31bbc4dd6cf71bbfef7faf6bd68" + integrity sha512-knvyeauYhqjOYvQ66MznSMs83wmHrCycNEN6Ao+2AeYEfxUIkuiVxdEa1qlGEPK+We3n0THiDciYSsCcgW/DoA== fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3: version "3.1.3" @@ -1047,7 +1176,7 @@ fastq@^1.6.0: dependencies: reusify "^1.0.4" -fdir@^6.4.4, fdir@^6.4.6, fdir@^6.5.0: +fdir@^6.4.4, fdir@^6.5.0: version "6.5.0" resolved "https://registry.yarnpkg.com/fdir/-/fdir-6.5.0.tgz#ed2ab967a331ade62f18d077dae192684d50d350" integrity sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg== @@ -1221,11 +1350,6 @@ isexe@^2.0.0: resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== -js-tokens@^9.0.1: - version "9.0.1" - resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-9.0.1.tgz#2ec43964658435296f6761b34e10671c2d9527f4" - integrity sha512-mxa9E9ITFOt0ban3j6L5MpjwegGz6lBQmM1IJkWeBZGcMxto50+eWdjC/52xDbS2vy0k7vIMK0Fe2wfL9OQSpQ== - js-yaml@^4.1.0: version "4.1.1" resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.1.tgz#854c292467705b699476e1a2decc0c8a3458806b" @@ -1289,6 +1413,80 @@ levn@^0.4.1: prelude-ls "^1.2.1" type-check "~0.4.0" +lightningcss-android-arm64@1.32.0: + version "1.32.0" + resolved "https://registry.yarnpkg.com/lightningcss-android-arm64/-/lightningcss-android-arm64-1.32.0.tgz#f033885116dfefd9c6f54787523e3514b61e1968" + integrity sha512-YK7/ClTt4kAK0vo6w3X+Pnm0D2cf2vPHbhOXdoNti1Ga0al1P4TBZhwjATvjNwLEBCnKvjJc2jQgHXH0NEwlAg== + +lightningcss-darwin-arm64@1.32.0: + version "1.32.0" + resolved "https://registry.yarnpkg.com/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.32.0.tgz#50b71871b01c8199584b649e292547faea7af9b5" + integrity sha512-RzeG9Ju5bag2Bv1/lwlVJvBE3q6TtXskdZLLCyfg5pt+HLz9BqlICO7LZM7VHNTTn/5PRhHFBSjk5lc4cmscPQ== + +lightningcss-darwin-x64@1.32.0: + version "1.32.0" + resolved "https://registry.yarnpkg.com/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.32.0.tgz#35f3e97332d130b9ca181e11b568ded6aebc6d5e" + integrity sha512-U+QsBp2m/s2wqpUYT/6wnlagdZbtZdndSmut/NJqlCcMLTWp5muCrID+K5UJ6jqD2BFshejCYXniPDbNh73V8w== + +lightningcss-freebsd-x64@1.32.0: + version "1.32.0" + resolved "https://registry.yarnpkg.com/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.32.0.tgz#9777a76472b64ed6ff94342ad64c7bafd794a575" + integrity sha512-JCTigedEksZk3tHTTthnMdVfGf61Fky8Ji2E4YjUTEQX14xiy/lTzXnu1vwiZe3bYe0q+SpsSH/CTeDXK6WHig== + +lightningcss-linux-arm-gnueabihf@1.32.0: + version "1.32.0" + resolved "https://registry.yarnpkg.com/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.32.0.tgz#13ae652e1ab73b9135d7b7da172f666c410ad53d" + integrity sha512-x6rnnpRa2GL0zQOkt6rts3YDPzduLpWvwAF6EMhXFVZXD4tPrBkEFqzGowzCsIWsPjqSK+tyNEODUBXeeVHSkw== + +lightningcss-linux-arm64-gnu@1.32.0: + version "1.32.0" + resolved "https://registry.yarnpkg.com/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.32.0.tgz#417858795a94592f680123a1b1f9da8a0e1ef335" + integrity sha512-0nnMyoyOLRJXfbMOilaSRcLH3Jw5z9HDNGfT/gwCPgaDjnx0i8w7vBzFLFR1f6CMLKF8gVbebmkUN3fa/kQJpQ== + +lightningcss-linux-arm64-musl@1.32.0: + version "1.32.0" + resolved "https://registry.yarnpkg.com/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.32.0.tgz#6be36692e810b718040802fd809623cffe732133" + integrity sha512-UpQkoenr4UJEzgVIYpI80lDFvRmPVg6oqboNHfoH4CQIfNA+HOrZ7Mo7KZP02dC6LjghPQJeBsvXhJod/wnIBg== + +lightningcss-linux-x64-gnu@1.32.0: + version "1.32.0" + resolved "https://registry.yarnpkg.com/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.32.0.tgz#0b7803af4eb21cfd38dd39fe2abbb53c7dd091f6" + integrity sha512-V7Qr52IhZmdKPVr+Vtw8o+WLsQJYCTd8loIfpDaMRWGUZfBOYEJeyJIkqGIDMZPwPx24pUMfwSxxI8phr/MbOA== + +lightningcss-linux-x64-musl@1.32.0: + version "1.32.0" + resolved "https://registry.yarnpkg.com/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.32.0.tgz#88dc8ba865ddddb1ac5ef04b0f161804418c163b" + integrity sha512-bYcLp+Vb0awsiXg/80uCRezCYHNg1/l3mt0gzHnWV9XP1W5sKa5/TCdGWaR/zBM2PeF/HbsQv/j2URNOiVuxWg== + +lightningcss-win32-arm64-msvc@1.32.0: + version "1.32.0" + resolved "https://registry.yarnpkg.com/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.32.0.tgz#4f30ba3fa5e925f5b79f945e8cc0d176c3b1ab38" + integrity sha512-8SbC8BR40pS6baCM8sbtYDSwEVQd4JlFTOlaD3gWGHfThTcABnNDBda6eTZeqbofalIJhFx0qKzgHJmcPTnGdw== + +lightningcss-win32-x64-msvc@1.32.0: + version "1.32.0" + resolved "https://registry.yarnpkg.com/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.32.0.tgz#141aa5605645064928902bb4af045fa7d9f4220a" + integrity sha512-Amq9B/SoZYdDi1kFrojnoqPLxYhQ4Wo5XiL8EVJrVsB8ARoC1PWW6VGtT0WKCemjy8aC+louJnjS7U18x3b06Q== + +lightningcss@^1.32.0: + version "1.32.0" + resolved "https://registry.yarnpkg.com/lightningcss/-/lightningcss-1.32.0.tgz#b85aae96486dcb1bf49a7c8571221273f4f1e4a9" + integrity sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ== + dependencies: + detect-libc "^2.0.3" + optionalDependencies: + lightningcss-android-arm64 "1.32.0" + lightningcss-darwin-arm64 "1.32.0" + lightningcss-darwin-x64 "1.32.0" + lightningcss-freebsd-x64 "1.32.0" + lightningcss-linux-arm-gnueabihf "1.32.0" + lightningcss-linux-arm64-gnu "1.32.0" + lightningcss-linux-arm64-musl "1.32.0" + lightningcss-linux-x64-gnu "1.32.0" + lightningcss-linux-x64-musl "1.32.0" + lightningcss-win32-arm64-msvc "1.32.0" + lightningcss-win32-x64-msvc "1.32.0" + locate-path@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-6.0.0.tgz#55321eb309febbc59c4801d931a72452a681d286" @@ -1308,7 +1506,7 @@ loose-envify@^1.1.0: dependencies: js-tokens "^3.0.0 || ^4.0.0" -loupe@^3.1.0, loupe@^3.1.4: +loupe@^3.1.4: version "3.2.0" resolved "https://registry.yarnpkg.com/loupe/-/loupe-3.2.0.tgz#174073ba8e0a1d0d5e43cc08626ed8a19403c344" integrity sha512-2NCfZcT5VGVNX9mSZIxLRkEAegDGBpuQZBy13desuHeVORmBDyAET4TkJr4SjqQy3A8JDofMN6LpkK8Xcm/dlw== @@ -1318,12 +1516,12 @@ lru-cache@^10.4.3: resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.4.3.tgz#410fc8a17b70e598013df257c2446b7f3383f119" integrity sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ== -magic-string@^0.30.17: - version "0.30.17" - resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.30.17.tgz#450a449673d2460e5bbcfba9a61916a1714c7453" - integrity sha512-sNPKHvyjVf7gyjwS4xGTaW/mCnF8wnjtifKBEhxfZ7E/S8tQ0rssrwGNn6q8JH/ohItJfSQp9mBtQYuTlH5QnA== +magic-string@^0.30.21: + version "0.30.21" + resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.30.21.tgz#56763ec09a0fa8091df27879fd94d19078c00d91" + integrity sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ== dependencies: - "@jridgewell/sourcemap-codec" "^1.5.0" + "@jridgewell/sourcemap-codec" "^1.5.5" merge2@^1.3.0: version "1.4.1" @@ -1367,6 +1565,11 @@ nanoid@^3.3.11: resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.11.tgz#4f4f112cefbe303202f2199838128936266d185b" integrity sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w== +nanoid@^3.3.12: + version "3.3.12" + resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.12.tgz#ab3d912e217a6d0a514f00a72a16543a28982c05" + integrity sha512-ZB9RH/39qpq5Vu6Y+NmUaFhQR6pp+M2Xt76XBnEwDaGcVAqhlvxrl3B2bKS5D3NH3QR76v3aSrKaF/Kiy7lEtQ== + natural-compare@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" @@ -1377,6 +1580,11 @@ nwsapi@^2.2.16: resolved "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.2.21.tgz#8df7797079350adda208910d8c33fc4c2d7520c3" integrity sha512-o6nIY3qwiSXl7/LuOU0Dmuctd34Yay0yeuZRLFmDPrrdHpXKFndPj3hM+YEPVHYC5fx2otBx4Ilc/gyYSAUaIA== +obug@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/obug/-/obug-2.1.1.tgz#2cba74ff241beb77d63055ddf4cd1e9f90b538be" + integrity sha512-uTqF9MuPraAQ+IsnPf366RG4cP9RtUi7MLO1N3KEc+wb0a6yKpeL0lmk2IB1jY5KHPAlTc6T/JRdC/YqxHNwkQ== + optionator@^0.9.3: version "0.9.4" resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.9.4.tgz#7ea1c1a5d91d764fb282139c88fe11e182a3a734" @@ -1432,11 +1640,6 @@ pathe@^2.0.3: resolved "https://registry.yarnpkg.com/pathe/-/pathe-2.0.3.tgz#3ecbec55421685b70a9da872b2cff3e1cbed1716" integrity sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w== -pathval@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/pathval/-/pathval-2.0.1.tgz#8855c5a2899af072d6ac05d11e46045ad0dc605d" - integrity sha512-//nshmD55c46FuFw26xV/xFAaB5HF9Xdap7HJBBnrKdAd6/GxDBaNA1870O79+9ueg61cZLSVc+OaFlfmObYVQ== - picocolors@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.1.1.tgz#3d321af3eab939b083c8f929a1d12cda81c26b6b" @@ -1447,12 +1650,21 @@ picomatch@^2.3.1: resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== -picomatch@^4.0.2, picomatch@^4.0.3: - version "4.0.3" - resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-4.0.3.tgz#796c76136d1eead715db1e7bad785dedd695a042" - integrity sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q== +picomatch@^4.0.2, picomatch@^4.0.3, picomatch@^4.0.4: + version "4.0.4" + resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-4.0.4.tgz#fd6f5e00a143086e074dffe4c924b8fb293b0589" + integrity sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A== -postcss@^8.5.3, postcss@^8.5.6: +postcss@^8.5.15: + version "8.5.15" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.5.15.tgz#d1eaf677a324e9ec02196da2d3fecf4a0b9a735c" + integrity sha512-FfR8sjd4em2T6fb3I2MwAJU7HWVMr9zba+enmQeeWFfCbm+UOC/0X4DS8XtpUTMwWMGbjKYP7xjfNekzyGmB3A== + dependencies: + nanoid "^3.3.12" + picocolors "^1.1.1" + source-map-js "^1.2.1" + +postcss@^8.5.3: version "8.5.13" resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.5.13.tgz#6cfaf647f2e7ef69850208eccd849e0d3f65d420" integrity sha512-qif0+jGGZoLWdHey3UFHHWP0H7Gbmsk8T5VEqyYFbWqPr1XqvLGBbk/sl8V5exGmcYJklJOhOQq1pV9IcsiFag== @@ -1506,7 +1718,31 @@ reusify@^1.0.4: resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76" integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw== -rollup@^4.34.9, rollup@^4.40.0: +rolldown@1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/rolldown/-/rolldown-1.0.3.tgz#db88a3008fb0e28230a00423727ce75ba32121ac" + integrity sha512-i00lAJ2ks1BYr7rjNjKC7BcqAS7nVfiT3QX1SI5aY+AFHblCmaUf9OE9dbdzDvW6dJxbi2ZCZiy9v3CcwOiX3g== + dependencies: + "@oxc-project/types" "=0.133.0" + "@rolldown/pluginutils" "^1.0.0" + optionalDependencies: + "@rolldown/binding-android-arm64" "1.0.3" + "@rolldown/binding-darwin-arm64" "1.0.3" + "@rolldown/binding-darwin-x64" "1.0.3" + "@rolldown/binding-freebsd-x64" "1.0.3" + "@rolldown/binding-linux-arm-gnueabihf" "1.0.3" + "@rolldown/binding-linux-arm64-gnu" "1.0.3" + "@rolldown/binding-linux-arm64-musl" "1.0.3" + "@rolldown/binding-linux-ppc64-gnu" "1.0.3" + "@rolldown/binding-linux-s390x-gnu" "1.0.3" + "@rolldown/binding-linux-x64-gnu" "1.0.3" + "@rolldown/binding-linux-x64-musl" "1.0.3" + "@rolldown/binding-openharmony-arm64" "1.0.3" + "@rolldown/binding-wasm32-wasi" "1.0.3" + "@rolldown/binding-win32-arm64-msvc" "1.0.3" + "@rolldown/binding-win32-x64-msvc" "1.0.3" + +rollup@^4.34.9: version "4.60.1" resolved "https://registry.yarnpkg.com/rollup/-/rollup-4.60.1.tgz#b4aa2bcb3a5e1437b5fad40d43fe42d4bde7a42d" integrity sha512-VmtB2rFU/GroZ4oL8+ZqXgSA38O6GR8KSIvWmEFv63pQ0G6KaBH9s07PO8XTXP4vI+3UJUEypOfjkGfmSBBR0w== @@ -1612,10 +1848,10 @@ stackback@0.0.2: resolved "https://registry.yarnpkg.com/stackback/-/stackback-0.0.2.tgz#1ac8a0d9483848d1695e418b6d031a3c3ce68e3b" integrity sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw== -std-env@^3.9.0: - version "3.9.0" - resolved "https://registry.yarnpkg.com/std-env/-/std-env-3.9.0.tgz#1a6f7243b339dca4c9fd55e1c7504c77ef23e8f1" - integrity sha512-UGvjygr6F6tpH7o2qyqR6QYpwraIjKSdtzyBdyytFOHmPZY917kwdwLG0RbOjWOnKmnm3PeHjaoLLMie7kPLQw== +std-env@^4.0.0-rc.1: + version "4.1.0" + resolved "https://registry.yarnpkg.com/std-env/-/std-env-4.1.0.tgz#45899abc590d86d682e87f0acd1033a75084cd3f" + integrity sha512-Rq7ybcX2RuC55r9oaPVEW7/xu3tj8u4GeBYHBWCychFtzMIr86A7e3PPEBPT37sHStKX3+TiX/Fr/ACmJLVlLQ== strip-ansi@^6.0.1: version "6.0.1" @@ -1629,13 +1865,6 @@ strip-json-comments@^3.1.1: resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== -strip-literal@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/strip-literal/-/strip-literal-3.0.0.tgz#ce9c452a91a0af2876ed1ae4e583539a353df3fc" - integrity sha512-TcccoMhJOM3OebGhSBEmp3UZ2SfDMZUEBdRA/9ynfLi8yYajyWX3JiXArcJt4Umh4vISpspkQIY8ZZoCqjbviA== - dependencies: - js-tokens "^9.0.1" - supports-color@^7.1.0: version "7.2.0" resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da" @@ -1658,33 +1887,28 @@ tinybench@^2.9.0: resolved "https://registry.yarnpkg.com/tinybench/-/tinybench-2.9.0.tgz#103c9f8ba6d7237a47ab6dd1dcff77251863426b" integrity sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg== -tinyexec@^0.3.2: - version "0.3.2" - resolved "https://registry.yarnpkg.com/tinyexec/-/tinyexec-0.3.2.tgz#941794e657a85e496577995c6eef66f53f42b3d2" - integrity sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA== +tinyexec@^1.0.2: + version "1.2.4" + resolved "https://registry.yarnpkg.com/tinyexec/-/tinyexec-1.2.4.tgz#ae45bb2edebda94c70f4ea897e0f1243e470db71" + integrity sha512-SHf/r48b7vOrjve9PxJo3MN5v5yuyjHvdUcrQffT3WXMUfnGmHDVbC4k3sHJaJTgZCwpUplIaAo5ANtMyp3YHg== -tinyglobby@^0.2.13, tinyglobby@^0.2.14: - version "0.2.15" - resolved "https://registry.yarnpkg.com/tinyglobby/-/tinyglobby-0.2.15.tgz#e228dd1e638cea993d2fdb4fcd2d4602a79951c2" - integrity sha512-j2Zq4NyQYG5XMST4cbs02Ak8iJUdxRM0XI5QyxXuZOzKOINmWurp3smXu3y5wDcJrptwpSjgXHzIQxR0omXljQ== +tinyglobby@^0.2.13, tinyglobby@^0.2.14, tinyglobby@^0.2.15, tinyglobby@^0.2.17: + version "0.2.17" + resolved "https://registry.yarnpkg.com/tinyglobby/-/tinyglobby-0.2.17.tgz#562a9a6c9eb2b3b123d39719f9af5bb44fcd7631" + integrity sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g== dependencies: fdir "^6.5.0" - picomatch "^4.0.3" - -tinypool@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/tinypool/-/tinypool-1.1.1.tgz#059f2d042bd37567fbc017d3d426bdd2a2612591" - integrity sha512-Zba82s87IFq9A9XmjiX5uZA/ARWDrB03OHlq+Vw1fSdt0I+4/Kutwy8BP4Y/y/aORMo61FQ0vIb5j44vSo5Pkg== + picomatch "^4.0.4" tinyrainbow@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/tinyrainbow/-/tinyrainbow-2.0.0.tgz#9509b2162436315e80e3eee0fcce4474d2444294" integrity sha512-op4nsTR47R6p0vMUUoYl/a+ljLFVtlfaXkLQmqfLR1qHma1h/ysYk4hEXZ880bf2CYgTskvTa/e196Vd5dDQXw== -tinyspy@^4.0.3: - version "4.0.3" - resolved "https://registry.yarnpkg.com/tinyspy/-/tinyspy-4.0.3.tgz#d1d0f0602f4c15f1aae083a34d6d0df3363b1b52" - integrity sha512-t2T/WLB2WRgZ9EpE4jgPJ9w+i66UZfDc8wHh0xrwiRNN+UwH98GIJkTeZqX9rg0i0ptwzqW+uYeIF0T4F8LR7A== +tinyrainbow@^3.0.3: + version "3.1.0" + resolved "https://registry.yarnpkg.com/tinyrainbow/-/tinyrainbow-3.1.0.tgz#1d8a623893f95cf0a2ddb9e5d11150e191409421" + integrity sha512-Bf+ILmBgretUrdJxzXM0SgXLZ3XfiaUuOj/IKQHuTXip+05Xn+uyEYdVg0kYDipTBcLrCVyUzAPz7QmArb0mmw== tldts-core@^6.1.86: version "6.1.86" @@ -1729,6 +1953,11 @@ ts-api-utils@^1.3.0: resolved "https://registry.yarnpkg.com/ts-api-utils/-/ts-api-utils-1.3.0.tgz#4b490e27129f1e8e686b45cc4ab63714dc60eea1" integrity sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ== +tslib@^2.4.0: + version "2.8.1" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.8.1.tgz#612efe4ed235d567e8aba5f2a5fab70280ade83f" + integrity sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w== + type-check@^0.4.0, type-check@~0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/type-check/-/type-check-0.4.0.tgz#07b8203bfa7056c0657050e3ccd2c37730bab8f1" @@ -1757,28 +1986,16 @@ uri-js@^4.2.2: dependencies: punycode "^2.1.0" -vite-node@3.2.4: - version "3.2.4" - resolved "https://registry.yarnpkg.com/vite-node/-/vite-node-3.2.4.tgz#f3676d94c4af1e76898c162c92728bca65f7bb07" - integrity sha512-EbKSKh+bh1E1IFxeO0pg1n4dvoOTt0UDiXMd/qn++r98+jPO1xtJilvXldeuQ8giIB5IkpjCgMleHMNEsGH6pg== +"vite@^6.0.0 || ^7.0.0 || ^8.0.0-0": + version "8.0.16" + resolved "https://registry.yarnpkg.com/vite/-/vite-8.0.16.tgz#ae073866c06563d6634a90169a496e11bd84f1a6" + integrity sha512-h9bXPmJichP5fLmVQo3PyaGSDE2n3aPuomeAlVRm0JLmt4rY6zmPKd59HYI4LNW8oTK7tlTsuC7l/m7awx9Jcw== dependencies: - cac "^6.7.14" - debug "^4.4.1" - es-module-lexer "^1.7.0" - pathe "^2.0.3" - vite "^5.0.0 || ^6.0.0 || ^7.0.0-0" - -"vite@^5.0.0 || ^6.0.0 || ^7.0.0-0": - version "7.0.6" - resolved "https://registry.yarnpkg.com/vite/-/vite-7.0.6.tgz#7866ccb176db4bbeec0adfb3f907f077881591d0" - integrity sha512-MHFiOENNBd+Bd9uvc8GEsIzdkn1JxMmEeYX35tI3fv0sJBUTfW5tQsoaOwuY4KhBI09A3dUJ/DXf2yxPVPUceg== - dependencies: - esbuild "^0.25.0" - fdir "^6.4.6" - picomatch "^4.0.3" - postcss "^8.5.6" - rollup "^4.40.0" - tinyglobby "^0.2.14" + lightningcss "^1.32.0" + picomatch "^4.0.4" + postcss "^8.5.15" + rolldown "1.0.3" + tinyglobby "^0.2.17" optionalDependencies: fsevents "~2.3.3" @@ -1796,33 +2013,30 @@ vite@^6.4.2: optionalDependencies: fsevents "~2.3.3" -vitest@^3.2.4: - version "3.2.4" - resolved "https://registry.yarnpkg.com/vitest/-/vitest-3.2.4.tgz#0637b903ad79d1539a25bc34c0ed54b5c67702ea" - integrity sha512-LUCP5ev3GURDysTWiP47wRRUpLKMOfPh+yKTx3kVIEiu5KOMeqzpnYNsKyOoVrULivR8tLcks4+lga33Whn90A== - dependencies: - "@types/chai" "^5.2.2" - "@vitest/expect" "3.2.4" - "@vitest/mocker" "3.2.4" - "@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" - debug "^4.4.1" - expect-type "^1.2.1" - magic-string "^0.30.17" +vitest@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/vitest/-/vitest-4.1.0.tgz#b598abbe83f0c9e93d18cf3c5f23c75a525f8e82" + integrity sha512-YbDrMF9jM2Lqc++2530UourxZHmkKLxrs4+mYhEwqWS97WJ7wOYEkcr+QfRgJ3PW9wz3odRijLZjHEaRLTNbqw== + dependencies: + "@vitest/expect" "4.1.0" + "@vitest/mocker" "4.1.0" + "@vitest/pretty-format" "4.1.0" + "@vitest/runner" "4.1.0" + "@vitest/snapshot" "4.1.0" + "@vitest/spy" "4.1.0" + "@vitest/utils" "4.1.0" + es-module-lexer "^2.0.0" + expect-type "^1.3.0" + magic-string "^0.30.21" + obug "^2.1.1" pathe "^2.0.3" - picomatch "^4.0.2" - std-env "^3.9.0" + picomatch "^4.0.3" + std-env "^4.0.0-rc.1" tinybench "^2.9.0" - tinyexec "^0.3.2" - tinyglobby "^0.2.14" - tinypool "^1.1.1" - tinyrainbow "^2.0.0" - vite "^5.0.0 || ^6.0.0 || ^7.0.0-0" - vite-node "3.2.4" + tinyexec "^1.0.2" + tinyglobby "^0.2.15" + tinyrainbow "^3.0.3" + vite "^6.0.0 || ^7.0.0 || ^8.0.0-0" why-is-node-running "^2.3.0" w3c-xmlserializer@^5.0.0: From 5f582d3dd1ed0d3d238fe679aec4fcd7dac92a69 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 16 Jun 2026 23:34:38 +0000 Subject: [PATCH 173/235] Bump markdown-it from 14.1.0 to 14.2.0 Bumps [markdown-it](https://github.com/markdown-it/markdown-it) from 14.1.0 to 14.2.0. - [Changelog](https://github.com/markdown-it/markdown-it/blob/master/CHANGELOG.md) - [Commits](https://github.com/markdown-it/markdown-it/compare/14.1.0...14.2.0) --- updated-dependencies: - dependency-name: markdown-it dependency-version: 14.2.0 dependency-type: indirect ... Signed-off-by: dependabot[bot] --- yarn.lock | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/yarn.lock b/yarn.lock index ed0588469..8d931f519 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3460,10 +3460,10 @@ lightningcss@^1.32.0: lightningcss-win32-arm64-msvc "1.32.0" lightningcss-win32-x64-msvc "1.32.0" -linkify-it@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/linkify-it/-/linkify-it-5.0.0.tgz#9ef238bfa6dc70bd8e7f9572b52d369af569b421" - integrity sha512-5aHCbzQRADcdP+ATqnDuhhJ/MRIqDkZX5pyjFHRRysS8vZ5AbqGEoFIb6pYHPZ+L/OC2Lc+xT8uHVVR5CAK/wQ== +linkify-it@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/linkify-it/-/linkify-it-5.0.1.tgz#10c4cecbb5c6828eabf81d3c801adc4a542dfb55" + integrity sha512-wVoTjP4Q6R0NW5hiZkVJaFZPWgtXfoGF+6LucL3/FtiNjmcHhYjEr5f1Kqjirc1nBW07J/ZuRFumqr2oqccEWg== dependencies: uc.micro "^2.0.0" @@ -3601,13 +3601,13 @@ map-cache@^0.2.0: integrity sha512-8y/eV9QQZCiyn1SprXSrCmqJN0yNRATe+PO8ztwqrvrbdRLA3eYJF0yaR0YayLWkMbsQSKWS9N2gPcGEc4UsZg== markdown-it@^14.1.0: - version "14.1.0" - resolved "https://registry.yarnpkg.com/markdown-it/-/markdown-it-14.1.0.tgz#3c3c5992883c633db4714ccb4d7b5935d98b7d45" - integrity sha512-a54IwgWPaeBCAAsv13YgmALOF1elABB08FxO9i+r4VFk5Vl4pKokRPeX8u5TCgSsPi6ec1otfLjdOpVcgbpshg== + version "14.2.0" + resolved "https://registry.yarnpkg.com/markdown-it/-/markdown-it-14.2.0.tgz#06d48d9035e77d5b1c85adb315482fc8240289ef" + integrity sha512-1TGiQiJVRQ3NPmZH6sx5Cfnmg6GQm9jvC1ch4TK511NjSJvjzKLzn5pPfZRNZkRPZP0HqCioSndqH8v2nRaWVQ== dependencies: argparse "^2.0.1" entities "^4.4.0" - linkify-it "^5.0.0" + linkify-it "^5.0.1" mdurl "^2.0.0" punycode.js "^2.3.1" uc.micro "^2.1.0" From ed631e2e8047a4f5d1399dfe6c5250c92fd33ac0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 16 Jun 2026 23:43:11 +0000 Subject: [PATCH 174/235] Bump vite from 6.4.2 to 6.4.3 in /vue Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.4.2 to 6.4.3. - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/v6.4.3/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v6.4.3/packages/vite) --- updated-dependencies: - dependency-name: vite dependency-version: 6.4.3 dependency-type: direct:development ... Signed-off-by: dependabot[bot] --- vue/package.json | 2 +- vue/yarn.lock | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/vue/package.json b/vue/package.json index c321628f2..26606e703 100644 --- a/vue/package.json +++ b/vue/package.json @@ -25,7 +25,7 @@ "globals": "^15.9.0", "jsdom": "^26.1.0", "typescript": "^5.5.3", - "vite": "^6.4.2", + "vite": "^6.4.3", "vitest": "^4.1.0", "vue-tsc": "^2.2.10" } diff --git a/vue/yarn.lock b/vue/yarn.lock index 7211d30d0..8f13ee1c4 100644 --- a/vue/yarn.lock +++ b/vue/yarn.lock @@ -2056,18 +2056,19 @@ uri-js@^4.2.2: optionalDependencies: fsevents "~2.3.3" -vite@^6.4.2: - version "6.4.2" - resolved "https://registry.yarnpkg.com/vite/-/vite-6.4.2.tgz" - integrity sha512-2N/55r4JDJ4gdrCvGgINMy+HH3iRpNIz8K6SFwVsA+JbQScLiC+clmAxBgwiSPgcG9U15QmvqCGWzMbqda5zGQ== +vite@^6.4.3: + version "6.4.3" + resolved "https://registry.yarnpkg.com/vite/-/vite-6.4.3.tgz#85a164db7ce706f2a776812efa2b340f1721858e" + integrity sha512-NTKlcQjlAK7MlQoyb6LgaqHc8sso/pVyUJYWMws3jg21uTJw/LddqIFPcPqP6PzpgbIcZyKI85sFE4HBrQDA8A== dependencies: esbuild "^0.25.0" fdir "^6.4.4" - fsevents "~2.3.3" picomatch "^4.0.2" postcss "^8.5.3" rollup "^4.34.9" tinyglobby "^0.2.13" + optionalDependencies: + fsevents "~2.3.3" vitest@^4.1.0: version "4.1.0" From 2d871097825a012b41f7a1634371afdd4286a006 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 16 Jun 2026 23:57:59 +0000 Subject: [PATCH 175/235] Bump vite from 6.4.2 to 6.4.3 in /react Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.4.2 to 6.4.3. - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/v6.4.3/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v6.4.3/packages/vite) --- updated-dependencies: - dependency-name: vite dependency-version: 6.4.3 dependency-type: direct:development ... Signed-off-by: dependabot[bot] --- react/package.json | 2 +- react/yarn.lock | 24 +++++------------------- 2 files changed, 6 insertions(+), 20 deletions(-) diff --git a/react/package.json b/react/package.json index 409fc434b..1d0c49e62 100644 --- a/react/package.json +++ b/react/package.json @@ -33,6 +33,6 @@ "jsdom": "^26.1.0", "typescript": "^5.5.3", "typescript-eslint": "^8.0.1", - "vite": "^6.4.2" + "vite": "^6.4.3" } } diff --git a/react/yarn.lock b/react/yarn.lock index 15ea861b9..1eddf93b2 100644 --- a/react/yarn.lock +++ b/react/yarn.lock @@ -1560,11 +1560,6 @@ ms@^2.1.3: resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== -nanoid@^3.3.11: - version "3.3.11" - resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.11.tgz#4f4f112cefbe303202f2199838128936266d185b" - integrity sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w== - nanoid@^3.3.12: version "3.3.12" resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.12.tgz#ab3d912e217a6d0a514f00a72a16543a28982c05" @@ -1655,7 +1650,7 @@ picomatch@^4.0.2, picomatch@^4.0.3, picomatch@^4.0.4: resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-4.0.4.tgz#fd6f5e00a143086e074dffe4c924b8fb293b0589" integrity sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A== -postcss@^8.5.15: +postcss@^8.5.15, postcss@^8.5.3: version "8.5.15" resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.5.15.tgz#d1eaf677a324e9ec02196da2d3fecf4a0b9a735c" integrity sha512-FfR8sjd4em2T6fb3I2MwAJU7HWVMr9zba+enmQeeWFfCbm+UOC/0X4DS8XtpUTMwWMGbjKYP7xjfNekzyGmB3A== @@ -1664,15 +1659,6 @@ postcss@^8.5.15: picocolors "^1.1.1" source-map-js "^1.2.1" -postcss@^8.5.3: - version "8.5.13" - resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.5.13.tgz#6cfaf647f2e7ef69850208eccd849e0d3f65d420" - integrity sha512-qif0+jGGZoLWdHey3UFHHWP0H7Gbmsk8T5VEqyYFbWqPr1XqvLGBbk/sl8V5exGmcYJklJOhOQq1pV9IcsiFag== - dependencies: - nanoid "^3.3.11" - picocolors "^1.1.1" - source-map-js "^1.2.1" - prelude-ls@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396" @@ -1999,10 +1985,10 @@ uri-js@^4.2.2: optionalDependencies: fsevents "~2.3.3" -vite@^6.4.2: - version "6.4.2" - resolved "https://registry.yarnpkg.com/vite/-/vite-6.4.2.tgz#a4e548ca3a90ca9f3724582cab35e1ba15efc6f2" - integrity sha512-2N/55r4JDJ4gdrCvGgINMy+HH3iRpNIz8K6SFwVsA+JbQScLiC+clmAxBgwiSPgcG9U15QmvqCGWzMbqda5zGQ== +vite@^6.4.3: + version "6.4.3" + resolved "https://registry.yarnpkg.com/vite/-/vite-6.4.3.tgz#85a164db7ce706f2a776812efa2b340f1721858e" + integrity sha512-NTKlcQjlAK7MlQoyb6LgaqHc8sso/pVyUJYWMws3jg21uTJw/LddqIFPcPqP6PzpgbIcZyKI85sFE4HBrQDA8A== dependencies: esbuild "^0.25.0" fdir "^6.4.4" From 3c262259a45b25ee923f0820c1f62f908bb24835 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 17 Jun 2026 00:06:27 +0000 Subject: [PATCH 176/235] Bump js-yaml from 4.1.1 to 4.2.0 in /react Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 4.1.1 to 4.2.0. - [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md) - [Commits](https://github.com/nodeca/js-yaml/commits) --- updated-dependencies: - dependency-name: js-yaml dependency-version: 4.2.0 dependency-type: indirect ... Signed-off-by: dependabot[bot] --- react/yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/react/yarn.lock b/react/yarn.lock index 15ea861b9..1b23d3e2a 100644 --- a/react/yarn.lock +++ b/react/yarn.lock @@ -1351,9 +1351,9 @@ isexe@^2.0.0: integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== js-yaml@^4.1.0: - version "4.1.1" - resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.1.tgz#854c292467705b699476e1a2decc0c8a3458806b" - integrity sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA== + version "4.2.0" + resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.2.0.tgz#2bd9e85682dd91bd469afb809d816043b3d49524" + integrity sha512-ePWsvanv0DWuDRsW8dnt+R4jQ31SCRCQ7hhNcPXZPsoBZiemuZNYGf7adZdqX2D86j6rvKp3RpCxVTSb8WQlOw== dependencies: argparse "^2.0.1" From 97db8b89825da9308f9b0fbb787445fa5eead425 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 17 Jun 2026 00:12:20 +0000 Subject: [PATCH 177/235] Bump js-yaml from 4.1.1 to 4.2.0 in /vue Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 4.1.1 to 4.2.0. - [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md) - [Commits](https://github.com/nodeca/js-yaml/commits) --- updated-dependencies: - dependency-name: js-yaml dependency-version: 4.2.0 dependency-type: indirect ... Signed-off-by: dependabot[bot] --- vue/yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vue/yarn.lock b/vue/yarn.lock index 7211d30d0..574ebcf18 100644 --- a/vue/yarn.lock +++ b/vue/yarn.lock @@ -1432,9 +1432,9 @@ js-cookie@^3.0.5: integrity sha512-z/wZZgDrkNV1eA0ULjM/F9/50Ya8fbzgKneSpoPsXSGd0KnpdtHfOZWK+GcwLk+EZbS4F9RBhU+K2RgzuDaItw== js-yaml@^4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.1.tgz" - integrity sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA== + version "4.2.0" + resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.2.0.tgz#2bd9e85682dd91bd469afb809d816043b3d49524" + integrity sha512-ePWsvanv0DWuDRsW8dnt+R4jQ31SCRCQ7hhNcPXZPsoBZiemuZNYGf7adZdqX2D86j6rvKp3RpCxVTSb8WQlOw== dependencies: argparse "^2.0.1" From f3ed053ce2d386a9f0268f40eacf5a8fc5d1fdc6 Mon Sep 17 00:00:00 2001 From: Alain Dumesny Date: Thu, 18 Jun 2026 08:57:21 -0700 Subject: [PATCH 178/235] =?UTF-8?q?react:=20improve=20wrapper=20=E2=80=94?= =?UTF-8?q?=20fix=20cross-grid=20DnD,=20perf,=20parity=20with=20Angular?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug fixes: - Cross-grid DnD no longer destroys/recreates component content: unregister is deferred one microtask so a same-tick re-register (GS fires remove then add synchronously) cancels it; portal just re-points to new container - useGridStackItem now uses Utils.findInGrid so items in sub-grids are found - Grid was destroyed/recreated on every render when options object was inline; split into separate init (runs once) and updateOptions effects - layoutVersion no longer bumped on `change` (position/resize); only added/removed are structural changes that affect portal containers - useWidgetSerializer deserialize now actually called: gsUpdateReactComponents invokes registered deserialize fn with updated w.props before requestUpdate New features (Angular parity): - onEnable / onDisable event props - emptyContent prop renders ReactNode above grid when empty (like Angular [empty-content]) - lazyLoad support: IntersectionObserver defers registerSyntheticItemId until item scrolls into view; uses existing Utils.lazyLoad() for option resolution Internals: - hostApiRef created once, delegates through callbacksRef updated each render (no more render-phase mutation of ref properties) Core (src/utils.ts): - Utils.findInGrid(g: GridStack, id, recursive?) for cross-subgrid node lookup; import type GridStack avoids runtime circular dep --- .gitignore | 1 + angular/doc/api/gridstack-item.component.md | 1 + angular/doc/api/gridstack.component.md | 1 + angular/doc/api/types.md | 103 +++++++- angular/tsconfig.json | 3 + doc/API.md | 120 +++++---- package.json | 2 +- react/package.json | 1 - react/projects/lib/src/gridstack-context.tsx | 13 +- react/projects/lib/src/gridstack-item.tsx | 65 ++--- .../lib/src/gridstack-widget-context.tsx | 3 +- react/projects/lib/src/gridstack.tsx | 232 ++++++++++-------- react/projects/lib/src/hooks.ts | 17 +- react/projects/lib/src/registry.ts | 35 ++- react/projects/lib/src/types.ts | 11 +- react/projects/lib/tsconfig.build.json | 5 +- react/yarn.lock | 4 - src/utils.ts | 25 ++ vue/package.json | 1 - vue/projects/lib/tsconfig.build.json | 5 +- vue/yarn.lock | 4 - 21 files changed, 416 insertions(+), 236 deletions(-) diff --git a/.gitignore b/.gitignore index 78c0e82d3..9b0e61fc7 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ node_modules .idea/ .DS_Store doc/html/ +.claude \ No newline at end of file diff --git a/angular/doc/api/gridstack-item.component.md b/angular/doc/api/gridstack-item.component.md index 58c6d3ece..1477004db 100644 --- a/angular/doc/api/gridstack-item.component.md +++ b/angular/doc/api/gridstack-item.component.md @@ -2671,6 +2671,7 @@ GridItemHTMLElement.replaceChildren | Property | Modifier | Type | Description | Inherited from | Defined in | | ------ | ------ | ------ | ------ | ------ | ------ | +| `gridstackNode?` | `public` | `GridStackNode` | Pointer to the associated grid node instance containing position, size, and other widget data | `GridItemHTMLElement.gridstackNode` | dist/types.d.ts:45 | | `_gridItemComp?` | `public` | [`GridstackItemComponent`](#gridstackitemcomponent) | Back-reference to the Angular GridStackItem component | - | [angular/projects/lib/src/lib/gridstack-item.component.ts:16](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack-item.component.ts#L16) | | `ariaAtomic` | `public` | `null` \| `string` | - | `GridItemHTMLElement.ariaAtomic` | node\_modules/typescript/lib/lib.dom.d.ts:2020 | | `ariaAutoComplete` | `public` | `null` \| `string` | - | `GridItemHTMLElement.ariaAutoComplete` | node\_modules/typescript/lib/lib.dom.d.ts:2021 | diff --git a/angular/doc/api/gridstack.component.md b/angular/doc/api/gridstack.component.md index 0a0815f29..35b7733c6 100644 --- a/angular/doc/api/gridstack.component.md +++ b/angular/doc/api/gridstack.component.md @@ -2860,6 +2860,7 @@ GridHTMLElement.replaceChildren | Property | Modifier | Type | Description | Inherited from | Defined in | | ------ | ------ | ------ | ------ | ------ | ------ | +| `gridstack?` | `public` | `GridStack` | - | `GridHTMLElement.gridstack` | dist/gridstack.d.ts:24 | | `_gridComp?` | `public` | [`GridstackComponent`](#gridstackcomponent) | Back-reference to the Angular GridStack component | - | [angular/projects/lib/src/lib/gridstack.component.ts:41](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L41) | | `ariaAtomic` | `public` | `null` \| `string` | - | `GridHTMLElement.ariaAtomic` | node\_modules/typescript/lib/lib.dom.d.ts:2020 | | `ariaAutoComplete` | `public` | `null` \| `string` | - | `GridHTMLElement.ariaAutoComplete` | node\_modules/typescript/lib/lib.dom.d.ts:2021 | diff --git a/angular/doc/api/types.md b/angular/doc/api/types.md index 65322fde1..b3ce893ba 100644 --- a/angular/doc/api/types.md +++ b/angular/doc/api/types.md @@ -15,11 +15,28 @@ Adds Angular-specific properties for dynamic component creation. #### Properties -| Property | Type | Description | Overrides | Defined in | -| ------ | ------ | ------ | ------ | ------ | -| `selector?` | `string` | Angular component selector for dynamic creation (e.g., 'my-widget') | - | [angular/projects/lib/src/lib/types.ts:14](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/types.ts#L14) | -| `input?` | [`NgCompInputs`](#ngcompinputs) | Serialized data for component @Input() properties | - | [angular/projects/lib/src/lib/types.ts:16](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/types.ts#L16) | -| `subGridOpts?` | [`NgGridStackOptions`](#nggridstackoptions) | Configuration for nested sub-grids | `GridStackWidget.subGridOpts` | [angular/projects/lib/src/lib/types.ts:18](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/types.ts#L18) | +| Property | Type | Description | Overrides | Inherited from | Defined in | +| ------ | ------ | ------ | ------ | ------ | ------ | +| `x?` | `number` | widget position x (default?: 0) | - | `GridStackWidget.x` | dist/types.d.ts:321 | +| `y?` | `number` | widget position y (default?: 0) | - | `GridStackWidget.y` | dist/types.d.ts:323 | +| `w?` | `number` | widget dimension width (default?: 1) | - | `GridStackWidget.w` | dist/types.d.ts:325 | +| `h?` | `number` | widget dimension height (default?: 1) | - | `GridStackWidget.h` | dist/types.d.ts:327 | +| `autoPosition?` | `boolean` | if true then x, y parameters will be ignored and widget will be places on the first available position (default?: false) | - | `GridStackWidget.autoPosition` | dist/types.d.ts:334 | +| `minW?` | `number` | minimum width allowed during resize/creation (default?: undefined = un-constrained) | - | `GridStackWidget.minW` | dist/types.d.ts:336 | +| `maxW?` | `number` | maximum width allowed during resize/creation (default?: undefined = un-constrained) | - | `GridStackWidget.maxW` | dist/types.d.ts:338 | +| `minH?` | `number` | minimum height allowed during resize/creation (default?: undefined = un-constrained) | - | `GridStackWidget.minH` | dist/types.d.ts:340 | +| `maxH?` | `number` | maximum height allowed during resize/creation (default?: undefined = un-constrained) | - | `GridStackWidget.maxH` | dist/types.d.ts:342 | +| `noResize?` | `boolean` | prevent direct resizing by the user (default?: undefined = un-constrained) | - | `GridStackWidget.noResize` | dist/types.d.ts:344 | +| `noMove?` | `boolean` | prevents direct moving by the user (default?: undefined = un-constrained) | - | `GridStackWidget.noMove` | dist/types.d.ts:346 | +| `locked?` | `boolean` | prevents being pushed by other widgets or api (default?: undefined = un-constrained), which is different from `noMove` (user action only) | - | `GridStackWidget.locked` | dist/types.d.ts:348 | +| `id?` | `string` | value for `gs-id` stored on the widget (default?: undefined) | - | `GridStackWidget.id` | dist/types.d.ts:350 | +| `content?` | `string` | html to append inside as content | - | `GridStackWidget.content` | dist/types.d.ts:352 | +| `lazyLoad?` | `boolean` | true when widgets are only created when they scroll into view (visible) | - | `GridStackWidget.lazyLoad` | dist/types.d.ts:354 | +| `sizeToContent?` | `number` \| `boolean` | local (vs grid) override - see GridStackOptions. Note: This also allow you to set a maximum h value (but user changeable during normal resizing) to prevent unlimited content from taking too much space (get scrollbar) | - | `GridStackWidget.sizeToContent` | dist/types.d.ts:357 | +| `resizeToContentParent?` | `string` | local override of GridStack.resizeToContentParent that specify the class to use for the parent (actual) vs child (wanted) height | - | `GridStackWidget.resizeToContentParent` | dist/types.d.ts:359 | +| `selector?` | `string` | Angular component selector for dynamic creation (e.g., 'my-widget') | - | - | [angular/projects/lib/src/lib/types.ts:14](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/types.ts#L14) | +| `input?` | [`NgCompInputs`](#ngcompinputs) | Serialized data for component @Input() properties | - | - | [angular/projects/lib/src/lib/types.ts:16](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/types.ts#L16) | +| `subGridOpts?` | [`NgGridStackOptions`](#nggridstackoptions) | Configuration for nested sub-grids | `GridStackWidget.subGridOpts` | - | [angular/projects/lib/src/lib/types.ts:18](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/types.ts#L18) | *** @@ -36,9 +53,31 @@ Adds component selector for dynamic content creation. #### Properties -| Property | Type | Description | Defined in | -| ------ | ------ | ------ | ------ | -| `selector?` | `string` | Angular component selector for this node's content | [angular/projects/lib/src/lib/types.ts:27](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/types.ts#L27) | +| Property | Type | Description | Inherited from | Defined in | +| ------ | ------ | ------ | ------ | ------ | +| `x?` | `number` | widget position x (default?: 0) | `GridStackNode.x` | dist/types.d.ts:321 | +| `y?` | `number` | widget position y (default?: 0) | `GridStackNode.y` | dist/types.d.ts:323 | +| `w?` | `number` | widget dimension width (default?: 1) | `GridStackNode.w` | dist/types.d.ts:325 | +| `h?` | `number` | widget dimension height (default?: 1) | `GridStackNode.h` | dist/types.d.ts:327 | +| `autoPosition?` | `boolean` | if true then x, y parameters will be ignored and widget will be places on the first available position (default?: false) | `GridStackNode.autoPosition` | dist/types.d.ts:334 | +| `minW?` | `number` | minimum width allowed during resize/creation (default?: undefined = un-constrained) | `GridStackNode.minW` | dist/types.d.ts:336 | +| `maxW?` | `number` | maximum width allowed during resize/creation (default?: undefined = un-constrained) | `GridStackNode.maxW` | dist/types.d.ts:338 | +| `minH?` | `number` | minimum height allowed during resize/creation (default?: undefined = un-constrained) | `GridStackNode.minH` | dist/types.d.ts:340 | +| `maxH?` | `number` | maximum height allowed during resize/creation (default?: undefined = un-constrained) | `GridStackNode.maxH` | dist/types.d.ts:342 | +| `noResize?` | `boolean` | prevent direct resizing by the user (default?: undefined = un-constrained) | `GridStackNode.noResize` | dist/types.d.ts:344 | +| `noMove?` | `boolean` | prevents direct moving by the user (default?: undefined = un-constrained) | `GridStackNode.noMove` | dist/types.d.ts:346 | +| `locked?` | `boolean` | prevents being pushed by other widgets or api (default?: undefined = un-constrained), which is different from `noMove` (user action only) | `GridStackNode.locked` | dist/types.d.ts:348 | +| `id?` | `string` | value for `gs-id` stored on the widget (default?: undefined) | `GridStackNode.id` | dist/types.d.ts:350 | +| `content?` | `string` | html to append inside as content | `GridStackNode.content` | dist/types.d.ts:352 | +| `lazyLoad?` | `boolean` | true when widgets are only created when they scroll into view (visible) | `GridStackNode.lazyLoad` | dist/types.d.ts:354 | +| `sizeToContent?` | `number` \| `boolean` | local (vs grid) override - see GridStackOptions. Note: This also allow you to set a maximum h value (but user changeable during normal resizing) to prevent unlimited content from taking too much space (get scrollbar) | `GridStackNode.sizeToContent` | dist/types.d.ts:357 | +| `resizeToContentParent?` | `string` | local override of GridStack.resizeToContentParent that specify the class to use for the parent (actual) vs child (wanted) height | `GridStackNode.resizeToContentParent` | dist/types.d.ts:359 | +| `subGridOpts?` | `GridStackOptions` | optional nested grid options and list of children, which then turns into actual instance at runtime to get options from | `GridStackNode.subGridOpts` | dist/types.d.ts:361 | +| `el?` | `GridItemHTMLElement` | pointer back to HTML element | `GridStackNode.el` | dist/types.d.ts:431 | +| `grid?` | `GridStack` | pointer back to parent Grid instance | `GridStackNode.grid` | dist/types.d.ts:433 | +| `subGrid?` | `GridStack` | actual sub-grid instance | `GridStackNode.subGrid` | dist/types.d.ts:435 | +| `visibleObservable?` | `IntersectionObserver` | allow delay creation when visible | `GridStackNode.visibleObservable` | dist/types.d.ts:437 | +| `selector?` | `string` | Angular component selector for this node's content | - | [angular/projects/lib/src/lib/types.ts:27](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/types.ts#L27) | *** @@ -55,10 +94,50 @@ Supports Angular-specific widget definitions and nested grids. #### Properties -| Property | Type | Description | Overrides | Defined in | -| ------ | ------ | ------ | ------ | ------ | -| `children?` | [`NgGridStackWidget`](#nggridstackwidget)[] | Array of Angular widget definitions for initial grid setup | `GridStackOptions.children` | [angular/projects/lib/src/lib/types.ts:36](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/types.ts#L36) | -| `subGridOpts?` | [`NgGridStackOptions`](#nggridstackoptions) | Configuration for nested sub-grids (Angular-aware) | `GridStackOptions.subGridOpts` | [angular/projects/lib/src/lib/types.ts:38](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/types.ts#L38) | +| Property | Type | Description | Overrides | Inherited from | Defined in | +| ------ | ------ | ------ | ------ | ------ | ------ | +| `acceptWidgets?` | `string` \| `boolean` \| (`element`) => `boolean` | Accept widgets dragged from other grids or from outside (default: `false`). Can be: - `true`: will accept HTML elements having 'grid-stack-item' as class attribute - `false`: will not accept any external widgets - string: explicit class name to accept instead of default - function: callback called before an item will be accepted when entering a grid **Example** `// Accept all grid items acceptWidgets: true // Accept only items with specific class acceptWidgets: 'my-draggable-item' // Custom validation function acceptWidgets: (el) => { return el.getAttribute('data-accept') === 'true'; }` **See** [http://gridstack.github.io/gridstack.js/demo/two.html](http://gridstack.github.io/gridstack.js/demo/two.html) for complete example | - | `GridStackOptions.acceptWidgets` | dist/types.d.ts:155 | +| `alwaysShowResizeHandle?` | `boolean` \| `"mobile"` | possible values (default: `mobile`) - does not apply to non-resizable widgets `false` the resizing handles are only shown while hovering over a widget `true` the resizing handles are always shown 'mobile' if running on a mobile device, default to `true` (since there is no hovering per say), else `false`. See [example](http://gridstack.github.io/gridstack.js/demo/mobile.html) | - | `GridStackOptions.alwaysShowResizeHandle` | dist/types.d.ts:161 | +| `animate?` | `boolean` | turns animation on (default?: true) | - | `GridStackOptions.animate` | dist/types.d.ts:163 | +| `auto?` | `boolean` | if false gridstack will not initialize existing items (default?: true) | - | `GridStackOptions.auto` | dist/types.d.ts:165 | +| `cellHeight?` | `numberOrString` | One cell height (default: 'auto'). Can be: - an integer (px): fixed pixel height - a string (ex: '100px', '10em', '10rem'): CSS length value - 0: library will not generate styles for rows (define your own CSS) - 'auto': height calculated for square cells (width / column) and updated live on window resize - 'initial': similar to 'auto' but stays fixed size during window resizing Note: % values don't work correctly - see demo/cell-height.html **Example** `// Fixed 100px height cellHeight: 100 // CSS units cellHeight: '5rem' cellHeight: '100px' // Auto-sizing for square cells cellHeight: 'auto' // No CSS generation (custom styles) cellHeight: 0` | - | `GridStackOptions.cellHeight` | dist/types.d.ts:190 | +| `cellHeightThrottle?` | `number` | throttle time delay (in ms) used when cellHeight='auto' to improve performance vs usability (default?: 100). A value of 0 will make it instant at a cost of re-creating the CSS file at ever window resize event! | - | `GridStackOptions.cellHeightThrottle` | dist/types.d.ts:194 | +| `cellHeightUnit?` | `string` | (internal) unit for cellHeight (default? 'px') which is set when a string cellHeight with a unit is passed (ex: '10rem') | - | `GridStackOptions.cellHeightUnit` | dist/types.d.ts:196 | +| `column?` | `number` \| `"auto"` | number of columns (default?: 12). Note: IF you change this, CSS also have to change. See https://github.com/gridstack/gridstack.js#change-grid-columns. Note: for nested grids, it is recommended to use 'auto' which will always match the container grid-item current width (in column) to keep inside and outside items always the same. flag is NOT supported for regular non-nested grids. | - | `GridStackOptions.column` | dist/types.d.ts:203 | +| `columnOpts?` | `Responsive` | responsive column layout for width:column behavior | - | `GridStackOptions.columnOpts` | dist/types.d.ts:205 | +| `class?` | `string` | additional class on top of '.grid-stack' (which is required for our CSS) to differentiate this instance. Note: only used by addGrid(), else your element should have the needed class | - | `GridStackOptions.class` | dist/types.d.ts:208 | +| `disableDrag?` | `boolean` | disallows dragging of widgets (default?: false) | - | `GridStackOptions.disableDrag` | dist/types.d.ts:210 | +| `disableResize?` | `boolean` | disallows resizing of widgets (default?: false). | - | `GridStackOptions.disableResize` | dist/types.d.ts:212 | +| `draggable?` | `DDDragOpt` | allows to override UI draggable options. (default?: { handle?: '.grid-stack-item-content', appendTo?: 'body' }) | - | `GridStackOptions.draggable` | dist/types.d.ts:214 | +| `engineClass?` | *typeof* `GridStackEngine` | the type of engine to create (so you can subclass) default to GridStackEngine | - | `GridStackOptions.engineClass` | dist/types.d.ts:217 | +| `float?` | `boolean` | enable floating widgets (default?: false) See example (http://gridstack.github.io/gridstack.js/demo/float.html) | - | `GridStackOptions.float` | dist/types.d.ts:219 | +| `handle?` | `string` | draggable handle selector (default?: '.grid-stack-item-content') | - | `GridStackOptions.handle` | dist/types.d.ts:221 | +| `handleClass?` | `string` | draggable handle class (e.g. 'grid-stack-item-content'). If set 'handle' is ignored (default?: null) | - | `GridStackOptions.handleClass` | dist/types.d.ts:223 | +| `itemClass?` | `string` | additional widget class (default?: 'grid-stack-item') | - | `GridStackOptions.itemClass` | dist/types.d.ts:225 | +| `layout?` | `ColumnOptions` | re-layout mode when we're a subgrid and we are being resized. default to 'list' | - | `GridStackOptions.layout` | dist/types.d.ts:227 | +| `lazyLoad?` | `boolean` | true when widgets are only created when they scroll into view (visible) | - | `GridStackOptions.lazyLoad` | dist/types.d.ts:229 | +| `margin?` | `numberOrString` | gap between grid item and content (default?: 10). This will set all 4 sides and support the CSS formats below an integer (px) a string with possible units (ex: '2em', '20px', '2rem') string with space separated values (ex: '5px 10px 0 20px' for all 4 sides, or '5em 10em' for top/bottom and left/right pairs like CSS). Note: all sides must have same units (last one wins, default px) | - | `GridStackOptions.margin` | dist/types.d.ts:237 | +| `marginTop?` | `numberOrString` | OLD way to optionally set each side - use margin: '5px 10px 0 20px' instead. Used internally to store each side. | - | `GridStackOptions.marginTop` | dist/types.d.ts:239 | +| `marginRight?` | `numberOrString` | - | - | `GridStackOptions.marginRight` | dist/types.d.ts:240 | +| `marginBottom?` | `numberOrString` | - | - | `GridStackOptions.marginBottom` | dist/types.d.ts:241 | +| `marginLeft?` | `numberOrString` | - | - | `GridStackOptions.marginLeft` | dist/types.d.ts:242 | +| `marginUnit?` | `string` | (internal) unit for margin (default? 'px') set when `margin` is set as string with unit (ex: 2rem') | - | `GridStackOptions.marginUnit` | dist/types.d.ts:244 | +| `maxRow?` | `number` | maximum rows amount. Default? is 0 which means no maximum rows | - | `GridStackOptions.maxRow` | dist/types.d.ts:246 | +| `minRow?` | `number` | minimum rows amount which is handy to prevent grid from collapsing when empty. Default is `0`. When no set the `min-height` CSS attribute on the grid div (in pixels) can be used, which will round to the closest row. | - | `GridStackOptions.minRow` | dist/types.d.ts:250 | +| `nonce?` | `string` | If you are using a nonce-based Content Security Policy, pass your nonce here and GridStack will add it to the ` + + +
      +

      Grid Lines demo

      +

      Toggle grid lines on/off and adjust color and thickness using the controls below. + No JS changes to GridStack itself are needed — the trick relies on the CSS custom + properties --gs-column-width and --gs-cell-height that + GridStack already sets on the element.

      + +
      +
      + + +
      +
      + + + + 20% +
      +
      + + + 1px +
      +
      + + + 12 +
      +
      + +
      +
      + + + + diff --git a/demo/index.html b/demo/index.html index b15984c05..ecdb66d1a 100644 --- a/demo/index.html +++ b/demo/index.html @@ -15,6 +15,7 @@

      Demos

    • CSS & attributes
    • Float grid
    • +
    • Grid Lines
    • Knockout.js
    • Lazy Load
    • Mobile touch
    • diff --git a/doc/CHANGES.md b/doc/CHANGES.md index 29b267334..09183d6c6 100644 --- a/doc/CHANGES.md +++ b/doc/CHANGES.md @@ -145,6 +145,8 @@ Change log * fix: [#3154](https://github.com/gridstack/gridstack.js/issues/3154) Esc key doesn't restore subgrid * fix: [#3231](https://github.com/gridstack/gridstack.js/issues/3231) drag broken in Firefox 147.0.4+ and Chrome 144+ due to `navigator.maxTouchPoints > 0` now returning true on desktop (macOS trackpad) * fix: [#3291](https://github.com/gridstack/gridstack.js/pull/3291) flicker nested grid demo when dragging between sub-grids +* fix: [#3085](https://github.com/gridstack/gridstack.js/issues/3085) Changing rows after init relays out if smaller +* feat: [#662](https://github.com/gridstack/gridstack.js/issues/662) added grid-lines.html demo (just CSS) ## 12.6.0 (2026-04-08) * feat: [#3250](https://github.com/gridstack/gridstack.js/pull/3250) full RTL support - thank you [Daniel Cohen Gindi](https://github.com/danielgindi) From 297ab4dbcc462a1a58ca8961adf8dffb8e1cc900 Mon Sep 17 00:00:00 2001 From: Alain Dumesny Date: Sat, 20 Jun 2026 20:09:35 -0700 Subject: [PATCH 186/235] OnChange trigger fix when scrollbar show up MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix #2823 * skip saveInitial() when a drag/resize is already in progress (i.e., any node has _updating=true). Scrollbar appears (grid grows taller) → clientWidth decreases → ResizeObserver fires onResize() --- README.md | 2 +- angular/README_build.md | 2 +- doc/CHANGES.md | 3 ++- src/gridstack-engine.ts | 4 +++- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 01fbea3b8..1491c5359 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![Coverage Status](https://coveralls.io/repos/github/gridstack/gridstack.js/badge.svg?branch=develop)](https://coveralls.io/github/gridstack/gridstack.js?branch=develop) [![downloads](https://img.shields.io/npm/dm/gridstack.svg)](https://www.npmjs.com/package/gridstack) -Mobile-friendly modern Typescript library for dashboard layout and creation. Making a drag-and-drop, multi-column responsive dashboard has never been easier. Has multiple bindings and works great with [Angular](https://angular.io/) (included), [React](https://reactjs.org/) (included), [Vue](https://vuejs.org/) (included), [Knockout.js](http://knockoutjs.com), [Ember](https://www.emberjs.com/) and others (see [frameworks](#specific-frameworks) section). +Mobile-friendly modern Typescript library for dashboard layout and creation. Making a drag-and-drop, multi-column responsive dashboard has never been easier. Has multiple bindings and works great with [Angular](https://angular.dev/) (included), [React](https://reactjs.org/) (included), [Vue](https://vuejs.org/) (included), [Knockout.js](http://knockoutjs.com), [Ember](https://www.emberjs.com/) and others (see [frameworks](#specific-frameworks) section). Inspired by no-longer maintained gridster, built with love. diff --git a/angular/README_build.md b/angular/README_build.md index 66bbd2bc8..472b84d5e 100644 --- a/angular/README_build.md +++ b/angular/README_build.md @@ -24,4 +24,4 @@ Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To u ## Further help -To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page. +To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.dev/cli) page. diff --git a/doc/CHANGES.md b/doc/CHANGES.md index 09183d6c6..dc966a786 100644 --- a/doc/CHANGES.md +++ b/doc/CHANGES.md @@ -142,11 +142,12 @@ Change log ## 12.6.0-dev (TBD) * NEW: react wrapper: re-did to follow the Angular pattern (drag&Drop between grid doesn't destroy content), events, lazyLoad support, memory leak, empty content, etc... * NEW: vue wrapper: brand new wrapper follow same pattern as well +* feat: [#662](https://github.com/gridstack/gridstack.js/issues/662) added grid-lines.html demo (just CSS) * fix: [#3154](https://github.com/gridstack/gridstack.js/issues/3154) Esc key doesn't restore subgrid * fix: [#3231](https://github.com/gridstack/gridstack.js/issues/3231) drag broken in Firefox 147.0.4+ and Chrome 144+ due to `navigator.maxTouchPoints > 0` now returning true on desktop (macOS trackpad) * fix: [#3291](https://github.com/gridstack/gridstack.js/pull/3291) flicker nested grid demo when dragging between sub-grids * fix: [#3085](https://github.com/gridstack/gridstack.js/issues/3085) Changing rows after init relays out if smaller -* feat: [#662](https://github.com/gridstack/gridstack.js/issues/662) added grid-lines.html demo (just CSS) +* fix: [#2823](https://github.com/gridstack/gridstack.js/issues/2823) Scrollbar appears prevents onChange being called ## 12.6.0 (2026-04-08) * feat: [#3250](https://github.com/gridstack/gridstack.js/pull/3250) full RTL support - thank you [Daniel Cohen Gindi](https://github.com/danielgindi) diff --git a/src/gridstack-engine.ts b/src/gridstack-engine.ts index 47f98081c..aa5c71c51 100644 --- a/src/gridstack-engine.ts +++ b/src/gridstack-engine.ts @@ -89,7 +89,9 @@ export class GridStackEngine { this._prevFloat = this._float; this._float = true; // let things go anywhere for now... will restore and possibly reposition later this.cleanNodes(); - this.saveInitial(); // since begin update (which is called multiple times) won't do this + // skip saveInitial() if a drag/resize is in progress - it would overwrite _orig with mid-drag + // positions and corrupt change detection, causing onChange not to fire (see #2823) + if (!this.nodes.some(n => n._updating)) this.saveInitial(); } else { this._float = this._prevFloat; delete this._prevFloat; From ed2969dd3a6d6edd3cccd3f8165a8c7bd7ceddc7 Mon Sep 17 00:00:00 2001 From: Alain Dumesny Date: Mon, 22 Jun 2026 11:15:11 -0700 Subject: [PATCH 187/235] dynamically created nested grid disappeared when dragging out * fix #2948 that is the correct fix, not the one recommended in teh bug --- doc/CHANGES.md | 3 ++- src/gridstack.ts | 17 ++++++++++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/doc/CHANGES.md b/doc/CHANGES.md index dc966a786..56a062b8b 100644 --- a/doc/CHANGES.md +++ b/doc/CHANGES.md @@ -140,7 +140,7 @@ Change log ## 12.6.0-dev (TBD) -* NEW: react wrapper: re-did to follow the Angular pattern (drag&Drop between grid doesn't destroy content), events, lazyLoad support, memory leak, empty content, etc... +* NEW: react wrapper: re-did to follow the Angular pattern (drag&Drop between grid doesn't destroy content), events, lazyLoad support, fix memory leak, empty content, etc... * NEW: vue wrapper: brand new wrapper follow same pattern as well * feat: [#662](https://github.com/gridstack/gridstack.js/issues/662) added grid-lines.html demo (just CSS) * fix: [#3154](https://github.com/gridstack/gridstack.js/issues/3154) Esc key doesn't restore subgrid @@ -148,6 +148,7 @@ Change log * fix: [#3291](https://github.com/gridstack/gridstack.js/pull/3291) flicker nested grid demo when dragging between sub-grids * fix: [#3085](https://github.com/gridstack/gridstack.js/issues/3085) Changing rows after init relays out if smaller * fix: [#2823](https://github.com/gridstack/gridstack.js/issues/2823) Scrollbar appears prevents onChange being called +* fix: [#2948](https://github.com/gridstack/gridstack.js/issues/2948) dynamically created nested grid disappeared when dragging out ## 12.6.0 (2026-04-08) * feat: [#3250](https://github.com/gridstack/gridstack.js/pull/3250) full RTL support - thank you [Daniel Cohen Gindi](https://github.com/danielgindi) diff --git a/src/gridstack.ts b/src/gridstack.ts index 6e19c0165..021ceb3d4 100644 --- a/src/gridstack.ts +++ b/src/gridstack.ts @@ -606,6 +606,11 @@ export class GridStack { // migrate any children over and offsetting by our location n.x += this.parentGridNode.x; n.y += this.parentGridNode.y; + // n.el is still inside the (now-detached) subgrid DOM and has el.gridstackNode set, + // so makeWidget would bail out without these steps. + this._removeDD(n.el); // destroy subgrid D&D and clear n._initDD so pGrid re-registers it + n.el.remove(); // detach from subgrid DOM so makeWidget can append to pGrid + delete n.el.gridstackNode; // clear stale ref so makeWidget won't return early pGrid.makeWidget(n.el, n); }); pGrid.batchUpdate(false); @@ -614,7 +619,17 @@ export class GridStack { // create an artificial event for the original grid now that this one is gone (got a leave, but won't get enter) if (nodeThatRemoved) { - window.setTimeout(() => Utils.simulateMouseEvent(nodeThatRemoved._event, 'mouseenter', pGrid.el), 0); + // _leave() already restored el.gridstackNode to the original pGrid node (via _gridstackNodeOrig), but that + // original node has grid===pGrid and no _temporaryRemoved, so pGrid's dropover would silently skip it. + // Mark it so the simulated mouseenter is actually processed and the item gets a placeholder in pGrid. + const origNode = nodeThatRemoved.el?.gridstackNode as GridStackNode; + if (origNode && origNode !== nodeThatRemoved) origNode._temporaryRemoved = true; + // nodeThatRemoved._event was cleared by cleanupNode() when the item entered the subgrid, so use the + // always-current lastDrag from the active DDDraggable instead. + window.setTimeout(() => { + const dragEvent = DDManager.dragElement?.lastDrag || nodeThatRemoved._event; + if (dragEvent) Utils.simulateMouseEvent(dragEvent, 'mouseenter', pGrid.el); + }, 0); } } From e69eb930b6b9f7288076f2d4957016a8165e217d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 22 Jun 2026 18:35:24 +0000 Subject: [PATCH 188/235] Bump http-proxy-middleware from 2.0.9 to 2.0.10 in /angular Bumps [http-proxy-middleware](https://github.com/chimurai/http-proxy-middleware) from 2.0.9 to 2.0.10. - [Release notes](https://github.com/chimurai/http-proxy-middleware/releases) - [Changelog](https://github.com/chimurai/http-proxy-middleware/blob/v2.0.10/CHANGELOG.md) - [Commits](https://github.com/chimurai/http-proxy-middleware/compare/v2.0.9...v2.0.10) --- updated-dependencies: - dependency-name: http-proxy-middleware dependency-version: 2.0.10 dependency-type: indirect ... Signed-off-by: dependabot[bot] --- angular/yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/angular/yarn.lock b/angular/yarn.lock index ff286b0fd..c52762888 100644 --- a/angular/yarn.lock +++ b/angular/yarn.lock @@ -4015,9 +4015,9 @@ http-proxy-agent@^5.0.0: debug "4" http-proxy-middleware@^2.0.3: - version "2.0.9" - resolved "https://registry.yarnpkg.com/http-proxy-middleware/-/http-proxy-middleware-2.0.9.tgz#e9e63d68afaa4eee3d147f39149ab84c0c2815ef" - integrity sha512-c1IyJYLYppU574+YI7R4QyX2ystMtVXZwIdzazUIPIJsHuWNd+mho2j+bKoHftndicGj9yh+xjd+l0yj7VeT1Q== + version "2.0.10" + resolved "https://registry.yarnpkg.com/http-proxy-middleware/-/http-proxy-middleware-2.0.10.tgz#b2df7b705203d7a8c269ac8450cf96b00c532f94" + integrity sha512-RKzRWNPxUZqbuk3BC5mGVJbBnWgr+diEnjJexIOytFbBzDy88Fbh/YvBr3DsNrl1jYAfjWfpATEv0NO35FDuPQ== dependencies: "@types/http-proxy" "^1.17.8" http-proxy "^1.18.1" From 7afb1d62f798f97fcd5bc46c5ca32320e04f1da5 Mon Sep 17 00:00:00 2001 From: Alain Dumesny Date: Mon, 22 Jun 2026 12:03:41 -0700 Subject: [PATCH 189/235] dragging item from outside doesn't allow swap (weird change is layout especially when you move out as it doesn't restore) --- angular/doc/api/gridstack.component.md | 2 +- angular/doc/api/types.md | 158 ++++++++++++------------ doc/API.md | 164 ++++++++++++------------- doc/CHANGES.md | 2 + src/gridstack-engine.ts | 7 +- 5 files changed, 168 insertions(+), 165 deletions(-) diff --git a/angular/doc/api/gridstack.component.md b/angular/doc/api/gridstack.component.md index 35b7733c6..c1e08b08e 100644 --- a/angular/doc/api/gridstack.component.md +++ b/angular/doc/api/gridstack.component.md @@ -2860,7 +2860,7 @@ GridHTMLElement.replaceChildren | Property | Modifier | Type | Description | Inherited from | Defined in | | ------ | ------ | ------ | ------ | ------ | ------ | -| `gridstack?` | `public` | `GridStack` | - | `GridHTMLElement.gridstack` | dist/gridstack.d.ts:24 | +| `gridstack?` | `public` | `GridStack` | - | `GridHTMLElement.gridstack` | dist/gridstack.d.ts:25 | | `_gridComp?` | `public` | [`GridstackComponent`](#gridstackcomponent) | Back-reference to the Angular GridStack component | - | [angular/projects/lib/src/lib/gridstack.component.ts:41](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L41) | | `ariaAtomic` | `public` | `null` \| `string` | - | `GridHTMLElement.ariaAtomic` | node\_modules/typescript/lib/lib.dom.d.ts:2020 | | `ariaAutoComplete` | `public` | `null` \| `string` | - | `GridHTMLElement.ariaAutoComplete` | node\_modules/typescript/lib/lib.dom.d.ts:2021 | diff --git a/angular/doc/api/types.md b/angular/doc/api/types.md index b3ce893ba..e0b1d64ca 100644 --- a/angular/doc/api/types.md +++ b/angular/doc/api/types.md @@ -17,23 +17,23 @@ Adds Angular-specific properties for dynamic component creation. | Property | Type | Description | Overrides | Inherited from | Defined in | | ------ | ------ | ------ | ------ | ------ | ------ | -| `x?` | `number` | widget position x (default?: 0) | - | `GridStackWidget.x` | dist/types.d.ts:321 | -| `y?` | `number` | widget position y (default?: 0) | - | `GridStackWidget.y` | dist/types.d.ts:323 | -| `w?` | `number` | widget dimension width (default?: 1) | - | `GridStackWidget.w` | dist/types.d.ts:325 | -| `h?` | `number` | widget dimension height (default?: 1) | - | `GridStackWidget.h` | dist/types.d.ts:327 | -| `autoPosition?` | `boolean` | if true then x, y parameters will be ignored and widget will be places on the first available position (default?: false) | - | `GridStackWidget.autoPosition` | dist/types.d.ts:334 | -| `minW?` | `number` | minimum width allowed during resize/creation (default?: undefined = un-constrained) | - | `GridStackWidget.minW` | dist/types.d.ts:336 | -| `maxW?` | `number` | maximum width allowed during resize/creation (default?: undefined = un-constrained) | - | `GridStackWidget.maxW` | dist/types.d.ts:338 | -| `minH?` | `number` | minimum height allowed during resize/creation (default?: undefined = un-constrained) | - | `GridStackWidget.minH` | dist/types.d.ts:340 | -| `maxH?` | `number` | maximum height allowed during resize/creation (default?: undefined = un-constrained) | - | `GridStackWidget.maxH` | dist/types.d.ts:342 | -| `noResize?` | `boolean` | prevent direct resizing by the user (default?: undefined = un-constrained) | - | `GridStackWidget.noResize` | dist/types.d.ts:344 | -| `noMove?` | `boolean` | prevents direct moving by the user (default?: undefined = un-constrained) | - | `GridStackWidget.noMove` | dist/types.d.ts:346 | -| `locked?` | `boolean` | prevents being pushed by other widgets or api (default?: undefined = un-constrained), which is different from `noMove` (user action only) | - | `GridStackWidget.locked` | dist/types.d.ts:348 | -| `id?` | `string` | value for `gs-id` stored on the widget (default?: undefined) | - | `GridStackWidget.id` | dist/types.d.ts:350 | -| `content?` | `string` | html to append inside as content | - | `GridStackWidget.content` | dist/types.d.ts:352 | -| `lazyLoad?` | `boolean` | true when widgets are only created when they scroll into view (visible) | - | `GridStackWidget.lazyLoad` | dist/types.d.ts:354 | -| `sizeToContent?` | `number` \| `boolean` | local (vs grid) override - see GridStackOptions. Note: This also allow you to set a maximum h value (but user changeable during normal resizing) to prevent unlimited content from taking too much space (get scrollbar) | - | `GridStackWidget.sizeToContent` | dist/types.d.ts:357 | -| `resizeToContentParent?` | `string` | local override of GridStack.resizeToContentParent that specify the class to use for the parent (actual) vs child (wanted) height | - | `GridStackWidget.resizeToContentParent` | dist/types.d.ts:359 | +| `x?` | `number` | widget position x (default?: 0) | - | `GridStackWidget.x` | dist/types.d.ts:323 | +| `y?` | `number` | widget position y (default?: 0) | - | `GridStackWidget.y` | dist/types.d.ts:325 | +| `w?` | `number` | widget dimension width (default?: 1) | - | `GridStackWidget.w` | dist/types.d.ts:327 | +| `h?` | `number` | widget dimension height (default?: 1) | - | `GridStackWidget.h` | dist/types.d.ts:329 | +| `autoPosition?` | `boolean` | if true then x, y parameters will be ignored and widget will be places on the first available position (default?: false) | - | `GridStackWidget.autoPosition` | dist/types.d.ts:336 | +| `minW?` | `number` | minimum width allowed during resize/creation (default?: undefined = un-constrained) | - | `GridStackWidget.minW` | dist/types.d.ts:338 | +| `maxW?` | `number` | maximum width allowed during resize/creation (default?: undefined = un-constrained) | - | `GridStackWidget.maxW` | dist/types.d.ts:340 | +| `minH?` | `number` | minimum height allowed during resize/creation (default?: undefined = un-constrained) | - | `GridStackWidget.minH` | dist/types.d.ts:342 | +| `maxH?` | `number` | maximum height allowed during resize/creation (default?: undefined = un-constrained) | - | `GridStackWidget.maxH` | dist/types.d.ts:344 | +| `noResize?` | `boolean` | prevent direct resizing by the user (default?: undefined = un-constrained) | - | `GridStackWidget.noResize` | dist/types.d.ts:346 | +| `noMove?` | `boolean` | prevents direct moving by the user (default?: undefined = un-constrained) | - | `GridStackWidget.noMove` | dist/types.d.ts:348 | +| `locked?` | `boolean` | prevents being pushed by other widgets or api (default?: undefined = un-constrained), which is different from `noMove` (user action only) | - | `GridStackWidget.locked` | dist/types.d.ts:350 | +| `id?` | `string` | value for `gs-id` stored on the widget (default?: undefined) | - | `GridStackWidget.id` | dist/types.d.ts:352 | +| `content?` | `string` | html to append inside as content | - | `GridStackWidget.content` | dist/types.d.ts:354 | +| `lazyLoad?` | `boolean` | true when widgets are only created when they scroll into view (visible) | - | `GridStackWidget.lazyLoad` | dist/types.d.ts:356 | +| `sizeToContent?` | `number` \| `boolean` | local (vs grid) override - see GridStackOptions. Note: This also allow you to set a maximum h value (but user changeable during normal resizing) to prevent unlimited content from taking too much space (get scrollbar) | - | `GridStackWidget.sizeToContent` | dist/types.d.ts:359 | +| `resizeToContentParent?` | `string` | local override of GridStack.resizeToContentParent that specify the class to use for the parent (actual) vs child (wanted) height | - | `GridStackWidget.resizeToContentParent` | dist/types.d.ts:361 | | `selector?` | `string` | Angular component selector for dynamic creation (e.g., 'my-widget') | - | - | [angular/projects/lib/src/lib/types.ts:14](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/types.ts#L14) | | `input?` | [`NgCompInputs`](#ngcompinputs) | Serialized data for component @Input() properties | - | - | [angular/projects/lib/src/lib/types.ts:16](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/types.ts#L16) | | `subGridOpts?` | [`NgGridStackOptions`](#nggridstackoptions) | Configuration for nested sub-grids | `GridStackWidget.subGridOpts` | - | [angular/projects/lib/src/lib/types.ts:18](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/types.ts#L18) | @@ -55,28 +55,28 @@ Adds component selector for dynamic content creation. | Property | Type | Description | Inherited from | Defined in | | ------ | ------ | ------ | ------ | ------ | -| `x?` | `number` | widget position x (default?: 0) | `GridStackNode.x` | dist/types.d.ts:321 | -| `y?` | `number` | widget position y (default?: 0) | `GridStackNode.y` | dist/types.d.ts:323 | -| `w?` | `number` | widget dimension width (default?: 1) | `GridStackNode.w` | dist/types.d.ts:325 | -| `h?` | `number` | widget dimension height (default?: 1) | `GridStackNode.h` | dist/types.d.ts:327 | -| `autoPosition?` | `boolean` | if true then x, y parameters will be ignored and widget will be places on the first available position (default?: false) | `GridStackNode.autoPosition` | dist/types.d.ts:334 | -| `minW?` | `number` | minimum width allowed during resize/creation (default?: undefined = un-constrained) | `GridStackNode.minW` | dist/types.d.ts:336 | -| `maxW?` | `number` | maximum width allowed during resize/creation (default?: undefined = un-constrained) | `GridStackNode.maxW` | dist/types.d.ts:338 | -| `minH?` | `number` | minimum height allowed during resize/creation (default?: undefined = un-constrained) | `GridStackNode.minH` | dist/types.d.ts:340 | -| `maxH?` | `number` | maximum height allowed during resize/creation (default?: undefined = un-constrained) | `GridStackNode.maxH` | dist/types.d.ts:342 | -| `noResize?` | `boolean` | prevent direct resizing by the user (default?: undefined = un-constrained) | `GridStackNode.noResize` | dist/types.d.ts:344 | -| `noMove?` | `boolean` | prevents direct moving by the user (default?: undefined = un-constrained) | `GridStackNode.noMove` | dist/types.d.ts:346 | -| `locked?` | `boolean` | prevents being pushed by other widgets or api (default?: undefined = un-constrained), which is different from `noMove` (user action only) | `GridStackNode.locked` | dist/types.d.ts:348 | -| `id?` | `string` | value for `gs-id` stored on the widget (default?: undefined) | `GridStackNode.id` | dist/types.d.ts:350 | -| `content?` | `string` | html to append inside as content | `GridStackNode.content` | dist/types.d.ts:352 | -| `lazyLoad?` | `boolean` | true when widgets are only created when they scroll into view (visible) | `GridStackNode.lazyLoad` | dist/types.d.ts:354 | -| `sizeToContent?` | `number` \| `boolean` | local (vs grid) override - see GridStackOptions. Note: This also allow you to set a maximum h value (but user changeable during normal resizing) to prevent unlimited content from taking too much space (get scrollbar) | `GridStackNode.sizeToContent` | dist/types.d.ts:357 | -| `resizeToContentParent?` | `string` | local override of GridStack.resizeToContentParent that specify the class to use for the parent (actual) vs child (wanted) height | `GridStackNode.resizeToContentParent` | dist/types.d.ts:359 | -| `subGridOpts?` | `GridStackOptions` | optional nested grid options and list of children, which then turns into actual instance at runtime to get options from | `GridStackNode.subGridOpts` | dist/types.d.ts:361 | -| `el?` | `GridItemHTMLElement` | pointer back to HTML element | `GridStackNode.el` | dist/types.d.ts:431 | -| `grid?` | `GridStack` | pointer back to parent Grid instance | `GridStackNode.grid` | dist/types.d.ts:433 | -| `subGrid?` | `GridStack` | actual sub-grid instance | `GridStackNode.subGrid` | dist/types.d.ts:435 | -| `visibleObservable?` | `IntersectionObserver` | allow delay creation when visible | `GridStackNode.visibleObservable` | dist/types.d.ts:437 | +| `x?` | `number` | widget position x (default?: 0) | `GridStackNode.x` | dist/types.d.ts:323 | +| `y?` | `number` | widget position y (default?: 0) | `GridStackNode.y` | dist/types.d.ts:325 | +| `w?` | `number` | widget dimension width (default?: 1) | `GridStackNode.w` | dist/types.d.ts:327 | +| `h?` | `number` | widget dimension height (default?: 1) | `GridStackNode.h` | dist/types.d.ts:329 | +| `autoPosition?` | `boolean` | if true then x, y parameters will be ignored and widget will be places on the first available position (default?: false) | `GridStackNode.autoPosition` | dist/types.d.ts:336 | +| `minW?` | `number` | minimum width allowed during resize/creation (default?: undefined = un-constrained) | `GridStackNode.minW` | dist/types.d.ts:338 | +| `maxW?` | `number` | maximum width allowed during resize/creation (default?: undefined = un-constrained) | `GridStackNode.maxW` | dist/types.d.ts:340 | +| `minH?` | `number` | minimum height allowed during resize/creation (default?: undefined = un-constrained) | `GridStackNode.minH` | dist/types.d.ts:342 | +| `maxH?` | `number` | maximum height allowed during resize/creation (default?: undefined = un-constrained) | `GridStackNode.maxH` | dist/types.d.ts:344 | +| `noResize?` | `boolean` | prevent direct resizing by the user (default?: undefined = un-constrained) | `GridStackNode.noResize` | dist/types.d.ts:346 | +| `noMove?` | `boolean` | prevents direct moving by the user (default?: undefined = un-constrained) | `GridStackNode.noMove` | dist/types.d.ts:348 | +| `locked?` | `boolean` | prevents being pushed by other widgets or api (default?: undefined = un-constrained), which is different from `noMove` (user action only) | `GridStackNode.locked` | dist/types.d.ts:350 | +| `id?` | `string` | value for `gs-id` stored on the widget (default?: undefined) | `GridStackNode.id` | dist/types.d.ts:352 | +| `content?` | `string` | html to append inside as content | `GridStackNode.content` | dist/types.d.ts:354 | +| `lazyLoad?` | `boolean` | true when widgets are only created when they scroll into view (visible) | `GridStackNode.lazyLoad` | dist/types.d.ts:356 | +| `sizeToContent?` | `number` \| `boolean` | local (vs grid) override - see GridStackOptions. Note: This also allow you to set a maximum h value (but user changeable during normal resizing) to prevent unlimited content from taking too much space (get scrollbar) | `GridStackNode.sizeToContent` | dist/types.d.ts:359 | +| `resizeToContentParent?` | `string` | local override of GridStack.resizeToContentParent that specify the class to use for the parent (actual) vs child (wanted) height | `GridStackNode.resizeToContentParent` | dist/types.d.ts:361 | +| `subGridOpts?` | `GridStackOptions` | optional nested grid options and list of children, which then turns into actual instance at runtime to get options from | `GridStackNode.subGridOpts` | dist/types.d.ts:363 | +| `el?` | `GridItemHTMLElement` | pointer back to HTML element | `GridStackNode.el` | dist/types.d.ts:433 | +| `grid?` | `GridStack` | pointer back to parent Grid instance | `GridStackNode.grid` | dist/types.d.ts:435 | +| `subGrid?` | `GridStack` | actual sub-grid instance | `GridStackNode.subGrid` | dist/types.d.ts:437 | +| `visibleObservable?` | `IntersectionObserver` | allow delay creation when visible | `GridStackNode.visibleObservable` | dist/types.d.ts:439 | | `selector?` | `string` | Angular component selector for this node's content | - | [angular/projects/lib/src/lib/types.ts:27](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/types.ts#L27) | *** @@ -96,46 +96,46 @@ Supports Angular-specific widget definitions and nested grids. | Property | Type | Description | Overrides | Inherited from | Defined in | | ------ | ------ | ------ | ------ | ------ | ------ | -| `acceptWidgets?` | `string` \| `boolean` \| (`element`) => `boolean` | Accept widgets dragged from other grids or from outside (default: `false`). Can be: - `true`: will accept HTML elements having 'grid-stack-item' as class attribute - `false`: will not accept any external widgets - string: explicit class name to accept instead of default - function: callback called before an item will be accepted when entering a grid **Example** `// Accept all grid items acceptWidgets: true // Accept only items with specific class acceptWidgets: 'my-draggable-item' // Custom validation function acceptWidgets: (el) => { return el.getAttribute('data-accept') === 'true'; }` **See** [http://gridstack.github.io/gridstack.js/demo/two.html](http://gridstack.github.io/gridstack.js/demo/two.html) for complete example | - | `GridStackOptions.acceptWidgets` | dist/types.d.ts:155 | -| `alwaysShowResizeHandle?` | `boolean` \| `"mobile"` | possible values (default: `mobile`) - does not apply to non-resizable widgets `false` the resizing handles are only shown while hovering over a widget `true` the resizing handles are always shown 'mobile' if running on a mobile device, default to `true` (since there is no hovering per say), else `false`. See [example](http://gridstack.github.io/gridstack.js/demo/mobile.html) | - | `GridStackOptions.alwaysShowResizeHandle` | dist/types.d.ts:161 | -| `animate?` | `boolean` | turns animation on (default?: true) | - | `GridStackOptions.animate` | dist/types.d.ts:163 | -| `auto?` | `boolean` | if false gridstack will not initialize existing items (default?: true) | - | `GridStackOptions.auto` | dist/types.d.ts:165 | -| `cellHeight?` | `numberOrString` | One cell height (default: 'auto'). Can be: - an integer (px): fixed pixel height - a string (ex: '100px', '10em', '10rem'): CSS length value - 0: library will not generate styles for rows (define your own CSS) - 'auto': height calculated for square cells (width / column) and updated live on window resize - 'initial': similar to 'auto' but stays fixed size during window resizing Note: % values don't work correctly - see demo/cell-height.html **Example** `// Fixed 100px height cellHeight: 100 // CSS units cellHeight: '5rem' cellHeight: '100px' // Auto-sizing for square cells cellHeight: 'auto' // No CSS generation (custom styles) cellHeight: 0` | - | `GridStackOptions.cellHeight` | dist/types.d.ts:190 | -| `cellHeightThrottle?` | `number` | throttle time delay (in ms) used when cellHeight='auto' to improve performance vs usability (default?: 100). A value of 0 will make it instant at a cost of re-creating the CSS file at ever window resize event! | - | `GridStackOptions.cellHeightThrottle` | dist/types.d.ts:194 | -| `cellHeightUnit?` | `string` | (internal) unit for cellHeight (default? 'px') which is set when a string cellHeight with a unit is passed (ex: '10rem') | - | `GridStackOptions.cellHeightUnit` | dist/types.d.ts:196 | -| `column?` | `number` \| `"auto"` | number of columns (default?: 12). Note: IF you change this, CSS also have to change. See https://github.com/gridstack/gridstack.js#change-grid-columns. Note: for nested grids, it is recommended to use 'auto' which will always match the container grid-item current width (in column) to keep inside and outside items always the same. flag is NOT supported for regular non-nested grids. | - | `GridStackOptions.column` | dist/types.d.ts:203 | -| `columnOpts?` | `Responsive` | responsive column layout for width:column behavior | - | `GridStackOptions.columnOpts` | dist/types.d.ts:205 | -| `class?` | `string` | additional class on top of '.grid-stack' (which is required for our CSS) to differentiate this instance. Note: only used by addGrid(), else your element should have the needed class | - | `GridStackOptions.class` | dist/types.d.ts:208 | -| `disableDrag?` | `boolean` | disallows dragging of widgets (default?: false) | - | `GridStackOptions.disableDrag` | dist/types.d.ts:210 | -| `disableResize?` | `boolean` | disallows resizing of widgets (default?: false). | - | `GridStackOptions.disableResize` | dist/types.d.ts:212 | -| `draggable?` | `DDDragOpt` | allows to override UI draggable options. (default?: { handle?: '.grid-stack-item-content', appendTo?: 'body' }) | - | `GridStackOptions.draggable` | dist/types.d.ts:214 | -| `engineClass?` | *typeof* `GridStackEngine` | the type of engine to create (so you can subclass) default to GridStackEngine | - | `GridStackOptions.engineClass` | dist/types.d.ts:217 | -| `float?` | `boolean` | enable floating widgets (default?: false) See example (http://gridstack.github.io/gridstack.js/demo/float.html) | - | `GridStackOptions.float` | dist/types.d.ts:219 | -| `handle?` | `string` | draggable handle selector (default?: '.grid-stack-item-content') | - | `GridStackOptions.handle` | dist/types.d.ts:221 | -| `handleClass?` | `string` | draggable handle class (e.g. 'grid-stack-item-content'). If set 'handle' is ignored (default?: null) | - | `GridStackOptions.handleClass` | dist/types.d.ts:223 | -| `itemClass?` | `string` | additional widget class (default?: 'grid-stack-item') | - | `GridStackOptions.itemClass` | dist/types.d.ts:225 | -| `layout?` | `ColumnOptions` | re-layout mode when we're a subgrid and we are being resized. default to 'list' | - | `GridStackOptions.layout` | dist/types.d.ts:227 | -| `lazyLoad?` | `boolean` | true when widgets are only created when they scroll into view (visible) | - | `GridStackOptions.lazyLoad` | dist/types.d.ts:229 | -| `margin?` | `numberOrString` | gap between grid item and content (default?: 10). This will set all 4 sides and support the CSS formats below an integer (px) a string with possible units (ex: '2em', '20px', '2rem') string with space separated values (ex: '5px 10px 0 20px' for all 4 sides, or '5em 10em' for top/bottom and left/right pairs like CSS). Note: all sides must have same units (last one wins, default px) | - | `GridStackOptions.margin` | dist/types.d.ts:237 | -| `marginTop?` | `numberOrString` | OLD way to optionally set each side - use margin: '5px 10px 0 20px' instead. Used internally to store each side. | - | `GridStackOptions.marginTop` | dist/types.d.ts:239 | -| `marginRight?` | `numberOrString` | - | - | `GridStackOptions.marginRight` | dist/types.d.ts:240 | -| `marginBottom?` | `numberOrString` | - | - | `GridStackOptions.marginBottom` | dist/types.d.ts:241 | -| `marginLeft?` | `numberOrString` | - | - | `GridStackOptions.marginLeft` | dist/types.d.ts:242 | -| `marginUnit?` | `string` | (internal) unit for margin (default? 'px') set when `margin` is set as string with unit (ex: 2rem') | - | `GridStackOptions.marginUnit` | dist/types.d.ts:244 | -| `maxRow?` | `number` | maximum rows amount. Default? is 0 which means no maximum rows | - | `GridStackOptions.maxRow` | dist/types.d.ts:246 | -| `minRow?` | `number` | minimum rows amount which is handy to prevent grid from collapsing when empty. Default is `0`. When no set the `min-height` CSS attribute on the grid div (in pixels) can be used, which will round to the closest row. | - | `GridStackOptions.minRow` | dist/types.d.ts:250 | -| `nonce?` | `string` | If you are using a nonce-based Content Security Policy, pass your nonce here and GridStack will add it to the `