diff --git a/docs/config/setup/modules/config.md b/docs/config/setup/modules/config.md index d41da484cc..2a12cb2f04 100644 --- a/docs/config/setup/modules/config.md +++ b/docs/config/setup/modules/config.md @@ -14,7 +14,7 @@ #### Defined in -[config.ts:9](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/config.ts#L9) +[config.ts:10](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/config.ts#L10) ## Functions @@ -36,7 +36,7 @@ Pushes in a directive to the configuration #### Defined in -[config.ts:189](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/config.ts#L189) +[config.ts:190](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/config.ts#L190) --- @@ -60,7 +60,38 @@ The currentConfig #### Defined in -[config.ts:132](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/config.ts#L132) +[config.ts:133](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/config.ts#L133) + +--- + +### getConfigValue + +▸ **getConfigValue**<`Path`>(`config`, `path`): `Get`<`RequiredObjectDeep`<`MermaidConfig`>, `Path`> + +Get a value from the provided config, or the default config if it doesn't exist + +#### Type parameters + +| Name | Type | +| :----- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Path` | extends `"darkMode"` \| `"pie"` \| `"wrap"` \| `"arrowMarkerAbsolute"` \| `"fontSize"` \| `"htmlLabels"` \| `"theme"` \| `"themeVariables"` \| `"themeCSS"` \| `"maxTextSize"` \| `"maxEdges"` \| `"fontFamily"` \| `"altFontFamily"` \| `"logLevel"` \| `"securityLevel"` \| `"startOnLoad"` \| `"secure"` \| `"deterministicIds"` \| `"deterministicIDSeed"` \| `"flowchart"` \| `"sequence"` \| `"gantt"` \| `"journey"` \| `"timeline"` \| `"class"` \| `"state"` \| `"er"` \| `"quadrantChart"` \| `"xyChart"` \| `"requirement"` \| `"mindmap"` \| `"gitGraph"` \| `"c4"` \| `"sankey"` \| `"dompurifyConfig"` \| `"pie.textPosition"` \| `"pie.useWidth"` \| `"pie.useMaxWidth"` \| \`secure.${number}\` \| `"flowchart.titleTopMargin"` \| `"flowchart.diagramPadding"` \| `"flowchart.arrowMarkerAbsolute"` \| `"flowchart.padding"` \| `"flowchart.defaultRenderer"` \| `"flowchart.nodeSpacing"` \| `"flowchart.rankSpacing"` \| `"flowchart.htmlLabels"` \| `"flowchart.subGraphTitleMargin"` \| `"flowchart.curve"` \| `"flowchart.wrappingWidth"` \| `"flowchart.useWidth"` \| `"flowchart.useMaxWidth"` \| `"flowchart.subGraphTitleMargin.top"` \| `"flowchart.subGraphTitleMargin.bottom"` \| `"sequence.diagramMarginX"` \| `"sequence.diagramMarginY"` \| `"sequence.width"` \| `"sequence.height"` \| `"sequence.boxMargin"` \| `"sequence.messageFontSize"` \| `"sequence.messageFontFamily"` \| `"sequence.messageFontWeight"` \| `"sequence.wrap"` \| `"sequence.wrapPadding"` \| `"sequence.messageFont"` \| `"sequence.arrowMarkerAbsolute"` \| `"sequence.noteMargin"` \| `"sequence.boxTextMargin"` \| `"sequence.messageMargin"` \| `"sequence.messageAlign"` \| `"sequence.bottomMarginAdj"` \| `"sequence.rightAngles"` \| `"sequence.activationWidth"` \| `"sequence.hideUnusedParticipants"` \| `"sequence.actorMargin"` \| `"sequence.mirrorActors"` \| `"sequence.forceMenus"` \| `"sequence.showSequenceNumbers"` \| `"sequence.actorFontSize"` \| `"sequence.actorFontFamily"` \| `"sequence.actorFontWeight"` \| `"sequence.noteFontSize"` \| `"sequence.noteFontFamily"` \| `"sequence.noteFontWeight"` \| `"sequence.noteAlign"` \| `"sequence.labelBoxWidth"` \| `"sequence.labelBoxHeight"` \| `"sequence.noteFont"` \| `"sequence.actorFont"` \| `"sequence.useWidth"` \| `"sequence.useMaxWidth"` \| `"gantt.titleTopMargin"` \| `"gantt.fontSize"` \| `"gantt.barHeight"` \| `"gantt.barGap"` \| `"gantt.topPadding"` \| `"gantt.rightPadding"` \| `"gantt.leftPadding"` \| `"gantt.gridLineStartPadding"` \| `"gantt.sectionFontSize"` \| `"gantt.numberSectionStyles"` \| `"gantt.axisFormat"` \| `"gantt.tickInterval"` \| `"gantt.topAxis"` \| `"gantt.displayMode"` \| `"gantt.weekday"` \| `"gantt.useWidth"` \| `"gantt.useMaxWidth"` \| `"journey.diagramMarginX"` \| `"journey.diagramMarginY"` \| `"journey.width"` \| `"journey.height"` \| `"journey.boxMargin"` \| `"journey.noteMargin"` \| `"journey.leftMargin"` \| `"journey.boxTextMargin"` \| `"journey.messageMargin"` \| `"journey.messageAlign"` \| `"journey.bottomMarginAdj"` \| `"journey.rightAngles"` \| `"journey.taskFontSize"` \| `"journey.taskFontFamily"` \| `"journey.taskMargin"` \| `"journey.activationWidth"` \| `"journey.textPlacement"` \| `"journey.actorColours"` \| `"journey.sectionFills"` \| `"journey.sectionColours"` \| `"journey.useWidth"` \| `"journey.useMaxWidth"` \| \`journey.actorColours.${number}\` \| \`journey.sectionFills.${number}\` \| \`journey.sectionColours.${number}\` \| `"timeline.diagramMarginX"` \| `"timeline.diagramMarginY"` \| `"timeline.width"` \| `"timeline.height"` \| `"timeline.boxMargin"` \| `"timeline.padding"` \| `"timeline.noteMargin"` \| `"timeline.leftMargin"` \| `"timeline.boxTextMargin"` \| `"timeline.messageMargin"` \| `"timeline.messageAlign"` \| `"timeline.bottomMarginAdj"` \| `"timeline.rightAngles"` \| `"timeline.taskFontSize"` \| `"timeline.taskFontFamily"` \| `"timeline.taskMargin"` \| `"timeline.activationWidth"` \| `"timeline.textPlacement"` \| `"timeline.actorColours"` \| `"timeline.sectionFills"` \| `"timeline.sectionColours"` \| `"timeline.disableMulticolor"` \| `"timeline.useWidth"` \| `"timeline.useMaxWidth"` \| \`timeline.actorColours.${number}\` \| \`timeline.sectionFills.${number}\` \| \`timeline.sectionColours.${number}\` \| `"class.titleTopMargin"` \| `"class.diagramPadding"` \| `"class.arrowMarkerAbsolute"` \| `"class.padding"` \| `"class.dividerMargin"` \| `"class.textHeight"` \| `"class.defaultRenderer"` \| `"class.nodeSpacing"` \| `"class.rankSpacing"` \| `"class.htmlLabels"` \| `"class.useWidth"` \| `"class.useMaxWidth"` \| `"state.titleTopMargin"` \| `"state.arrowMarkerAbsolute"` \| `"state.fontSize"` \| `"state.padding"` \| `"state.dividerMargin"` \| `"state.sizeUnit"` \| `"state.textHeight"` \| `"state.titleShift"` \| `"state.noteMargin"` \| `"state.forkWidth"` \| `"state.forkHeight"` \| `"state.miniPadding"` \| `"state.fontSizeFactor"` \| `"state.labelHeight"` \| `"state.edgeLengthFactor"` \| `"state.compositTitleSize"` \| `"state.radius"` \| `"state.defaultRenderer"` \| `"state.useWidth"` \| `"state.useMaxWidth"` \| `"er.fill"` \| `"er.titleTopMargin"` \| `"er.diagramPadding"` \| `"er.fontSize"` \| `"er.layoutDirection"` \| `"er.minEntityWidth"` \| `"er.minEntityHeight"` \| `"er.entityPadding"` \| `"er.stroke"` \| `"er.useWidth"` \| `"er.useMaxWidth"` \| `"quadrantChart.chartWidth"` \| `"quadrantChart.chartHeight"` \| `"quadrantChart.titleFontSize"` \| `"quadrantChart.titlePadding"` \| `"quadrantChart.quadrantPadding"` \| `"quadrantChart.xAxisLabelPadding"` \| `"quadrantChart.yAxisLabelPadding"` \| `"quadrantChart.xAxisLabelFontSize"` \| `"quadrantChart.yAxisLabelFontSize"` \| `"quadrantChart.quadrantLabelFontSize"` \| `"quadrantChart.quadrantTextTopPadding"` \| `"quadrantChart.pointTextPadding"` \| `"quadrantChart.pointLabelFontSize"` \| `"quadrantChart.pointRadius"` \| `"quadrantChart.xAxisPosition"` \| `"quadrantChart.yAxisPosition"` \| `"quadrantChart.quadrantInternalBorderStrokeWidth"` \| `"quadrantChart.quadrantExternalBorderStrokeWidth"` \| `"quadrantChart.useWidth"` \| `"quadrantChart.useMaxWidth"` \| `"xyChart.width"` \| `"xyChart.height"` \| `"xyChart.titleFontSize"` \| `"xyChart.titlePadding"` \| `"xyChart.showTitle"` \| `"xyChart.xAxis"` \| `"xyChart.yAxis"` \| `"xyChart.chartOrientation"` \| `"xyChart.plotReservedSpacePercent"` \| `"xyChart.useWidth"` \| `"xyChart.useMaxWidth"` \| `"xyChart.xAxis.titleFontSize"` \| `"xyChart.xAxis.titlePadding"` \| `"xyChart.xAxis.showTitle"` \| `"xyChart.xAxis.showLabel"` \| `"xyChart.xAxis.labelFontSize"` \| `"xyChart.xAxis.labelPadding"` \| `"xyChart.xAxis.showTick"` \| `"xyChart.xAxis.tickLength"` \| `"xyChart.xAxis.tickWidth"` \| `"xyChart.xAxis.showAxisLine"` \| `"xyChart.xAxis.axisLineWidth"` \| `"xyChart.yAxis.titleFontSize"` \| `"xyChart.yAxis.titlePadding"` \| `"xyChart.yAxis.showTitle"` \| `"xyChart.yAxis.showLabel"` \| `"xyChart.yAxis.labelFontSize"` \| `"xyChart.yAxis.labelPadding"` \| `"xyChart.yAxis.showTick"` \| `"xyChart.yAxis.tickLength"` \| `"xyChart.yAxis.tickWidth"` \| `"xyChart.yAxis.showAxisLine"` \| `"xyChart.yAxis.axisLineWidth"` \| `"requirement.rect_fill"` \| `"requirement.text_color"` \| `"requirement.rect_border_size"` \| `"requirement.rect_border_color"` \| `"requirement.rect_min_width"` \| `"requirement.rect_min_height"` \| `"requirement.fontSize"` \| `"requirement.rect_padding"` \| `"requirement.line_height"` \| `"requirement.useWidth"` \| `"requirement.useMaxWidth"` \| `"mindmap.padding"` \| `"mindmap.maxNodeWidth"` \| `"mindmap.useWidth"` \| `"mindmap.useMaxWidth"` \| `"gitGraph.titleTopMargin"` \| `"gitGraph.diagramPadding"` \| `"gitGraph.nodeLabel"` \| `"gitGraph.mainBranchName"` \| `"gitGraph.mainBranchOrder"` \| `"gitGraph.showCommitLabel"` \| `"gitGraph.showBranches"` \| `"gitGraph.rotateCommitLabel"` \| `"gitGraph.parallelCommits"` \| `"gitGraph.arrowMarkerAbsolute"` \| `"gitGraph.useWidth"` \| `"gitGraph.useMaxWidth"` \| `"gitGraph.nodeLabel.width"` \| `"gitGraph.nodeLabel.height"` \| `"gitGraph.nodeLabel.x"` \| `"gitGraph.nodeLabel.y"` \| `"c4.diagramMarginX"` \| `"c4.diagramMarginY"` \| `"c4.c4ShapeMargin"` \| `"c4.c4ShapePadding"` \| `"c4.width"` \| `"c4.height"` \| `"c4.boxMargin"` \| `"c4.c4ShapeInRow"` \| `"c4.nextLinePaddingX"` \| `"c4.c4BoundaryInRow"` \| `"c4.personFontSize"` \| `"c4.personFontFamily"` \| `"c4.personFontWeight"` \| `"c4.external_personFontSize"` \| `"c4.external_personFontFamily"` \| `"c4.external_personFontWeight"` \| `"c4.systemFontSize"` \| `"c4.systemFontFamily"` \| `"c4.systemFontWeight"` \| `"c4.external_systemFontSize"` \| `"c4.external_systemFontFamily"` \| `"c4.external_systemFontWeight"` \| `"c4.system_dbFontSize"` \| `"c4.system_dbFontFamily"` \| `"c4.system_dbFontWeight"` \| `"c4.external_system_dbFontSize"` \| `"c4.external_system_dbFontFamily"` \| `"c4.external_system_dbFontWeight"` \| `"c4.system_queueFontSize"` \| `"c4.system_queueFontFamily"` \| `"c4.system_queueFontWeight"` \| `"c4.external_system_queueFontSize"` \| `"c4.external_system_queueFontFamily"` \| `"c4.external_system_queueFontWeight"` \| `"c4.boundaryFontSize"` \| `"c4.boundaryFontFamily"` \| `"c4.boundaryFontWeight"` \| `"c4.messageFontSize"` \| `"c4.messageFontFamily"` \| `"c4.messageFontWeight"` \| `"c4.containerFontSize"` \| `"c4.containerFontFamily"` \| `"c4.containerFontWeight"` \| `"c4.external_containerFontSize"` \| `"c4.external_containerFontFamily"` \| `"c4.external_containerFontWeight"` \| `"c4.container_dbFontSize"` \| `"c4.container_dbFontFamily"` \| `"c4.container_dbFontWeight"` \| `"c4.external_container_dbFontSize"` \| `"c4.external_container_dbFontFamily"` \| `"c4.external_container_dbFontWeight"` \| `"c4.container_queueFontSize"` \| `"c4.container_queueFontFamily"` \| `"c4.container_queueFontWeight"` \| `"c4.external_container_queueFontSize"` \| `"c4.external_container_queueFontFamily"` \| `"c4.external_container_queueFontWeight"` \| `"c4.componentFontSize"` \| `"c4.componentFontFamily"` \| `"c4.componentFontWeight"` \| `"c4.external_componentFontSize"` \| `"c4.external_componentFontFamily"` \| `"c4.external_componentFontWeight"` \| `"c4.component_dbFontSize"` \| `"c4.component_dbFontFamily"` \| `"c4.component_dbFontWeight"` \| `"c4.external_component_dbFontSize"` \| `"c4.external_component_dbFontFamily"` \| `"c4.external_component_dbFontWeight"` \| `"c4.component_queueFontSize"` \| `"c4.component_queueFontFamily"` \| `"c4.component_queueFontWeight"` \| `"c4.external_component_queueFontSize"` \| `"c4.external_component_queueFontFamily"` \| `"c4.external_component_queueFontWeight"` \| `"c4.wrap"` \| `"c4.wrapPadding"` \| `"c4.person_bg_color"` \| `"c4.person_border_color"` \| `"c4.external_person_bg_color"` \| `"c4.external_person_border_color"` \| `"c4.system_bg_color"` \| `"c4.system_border_color"` \| `"c4.system_db_bg_color"` \| `"c4.system_db_border_color"` \| `"c4.system_queue_bg_color"` \| `"c4.system_queue_border_color"` \| `"c4.external_system_bg_color"` \| `"c4.external_system_border_color"` \| `"c4.external_system_db_bg_color"` \| `"c4.external_system_db_border_color"` \| `"c4.external_system_queue_bg_color"` \| `"c4.external_system_queue_border_color"` \| `"c4.container_bg_color"` \| `"c4.container_border_color"` \| `"c4.container_db_bg_color"` \| `"c4.container_db_border_color"` \| `"c4.container_queue_bg_color"` \| `"c4.container_queue_border_color"` \| `"c4.external_container_bg_color"` \| `"c4.external_container_border_color"` \| `"c4.external_container_db_bg_color"` \| `"c4.external_container_db_border_color"` \| `"c4.external_container_queue_bg_color"` \| `"c4.external_container_queue_border_color"` \| `"c4.component_bg_color"` \| `"c4.component_border_color"` \| `"c4.component_db_bg_color"` \| `"c4.component_db_border_color"` \| `"c4.component_queue_bg_color"` \| `"c4.component_queue_border_color"` \| `"c4.external_component_bg_color"` \| `"c4.external_component_border_color"` \| `"c4.external_component_db_bg_color"` \| `"c4.external_component_db_border_color"` \| `"c4.external_component_queue_bg_color"` \| `"c4.external_component_queue_border_color"` \| `"c4.personFont"` \| `"c4.external_personFont"` \| `"c4.systemFont"` \| `"c4.external_systemFont"` \| `"c4.system_dbFont"` \| `"c4.external_system_dbFont"` \| `"c4.system_queueFont"` \| `"c4.external_system_queueFont"` \| `"c4.containerFont"` \| `"c4.external_containerFont"` \| `"c4.container_dbFont"` \| `"c4.external_container_dbFont"` \| `"c4.container_queueFont"` \| `"c4.external_container_queueFont"` \| `"c4.componentFont"` \| `"c4.external_componentFont"` \| `"c4.component_dbFont"` \| `"c4.external_component_dbFont"` \| `"c4.component_queueFont"` \| `"c4.external_component_queueFont"` \| `"c4.boundaryFont"` \| `"c4.messageFont"` \| `"c4.useWidth"` \| `"c4.useMaxWidth"` \| `"sankey.width"` \| `"sankey.height"` \| `"sankey.linkColor"` \| `"sankey.nodeAlignment"` \| `"sankey.useWidth"` \| `"sankey.useMaxWidth"` \| `"sankey.showValues"` \| `"sankey.prefix"` \| `"sankey.suffix"` \| `"dompurifyConfig.ADD_ATTR"` \| `"dompurifyConfig.ADD_DATA_URI_TAGS"` \| `"dompurifyConfig.ADD_TAGS"` \| `"dompurifyConfig.ADD_URI_SAFE_ATTR"` \| `"dompurifyConfig.ALLOW_ARIA_ATTR"` \| `"dompurifyConfig.ALLOW_DATA_ATTR"` \| `"dompurifyConfig.ALLOW_UNKNOWN_PROTOCOLS"` \| `"dompurifyConfig.ALLOW_SELF_CLOSE_IN_ATTR"` \| `"dompurifyConfig.ALLOWED_ATTR"` \| `"dompurifyConfig.ALLOWED_TAGS"` \| `"dompurifyConfig.ALLOWED_NAMESPACES"` \| `"dompurifyConfig.ALLOWED_URI_REGEXP"` \| `"dompurifyConfig.FORBID_ATTR"` \| `"dompurifyConfig.FORBID_CONTENTS"` \| `"dompurifyConfig.FORBID_TAGS"` \| `"dompurifyConfig.FORCE_BODY"` \| `"dompurifyConfig.IN_PLACE"` \| `"dompurifyConfig.KEEP_CONTENT"` \| `"dompurifyConfig.NAMESPACE"` \| `"dompurifyConfig.PARSER_MEDIA_TYPE"` \| `"dompurifyConfig.RETURN_DOM_FRAGMENT"` \| `"dompurifyConfig.RETURN_DOM_IMPORT"` \| `"dompurifyConfig.RETURN_DOM"` \| `"dompurifyConfig.RETURN_TRUSTED_TYPE"` \| `"dompurifyConfig.SAFE_FOR_TEMPLATES"` \| `"dompurifyConfig.SANITIZE_DOM"` \| `"dompurifyConfig.SANITIZE_NAMED_PROPS"` \| `"dompurifyConfig.USE_PROFILES"` \| `"dompurifyConfig.WHOLE_DOCUMENT"` \| `"dompurifyConfig.CUSTOM_ELEMENT_HANDLING"` \| \`dompurifyConfig.ADD\_ATTR.${number}\` \| \`dompurifyConfig.ADD_DATA_URI_TAGS.${number}\` \| \`dompurifyConfig.ADD\_TAGS.${number}\` \| \`dompurifyConfig.ADD_URI_SAFE_ATTR.${number}\` \| \`dompurifyConfig.ALLOWED\_ATTR.${number}\` \| \`dompurifyConfig.ALLOWED_TAGS.${number}\` \| \`dompurifyConfig.ALLOWED\_NAMESPACES.${number}\` \| \`dompurifyConfig.FORBID_ATTR.${number}\` \| \`dompurifyConfig.FORBID\_CONTENTS.${number}\` \| \`dompurifyConfig.FORBID_TAGS.${number}\` \| `"dompurifyConfig.USE_PROFILES.mathMl"` \| `"dompurifyConfig.USE_PROFILES.svg"` \| `"dompurifyConfig.USE_PROFILES.svgFilters"` \| `"dompurifyConfig.USE_PROFILES.html"` \| `"dompurifyConfig.CUSTOM_ELEMENT_HANDLING.tagNameCheck"` \| `"dompurifyConfig.CUSTOM_ELEMENT_HANDLING.attributeNameCheck"` \| `"dompurifyConfig.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements"` | + +#### Parameters + +| Name | Type | Description | +| :------- | :-------------- | :----------------------- | +| `config` | `MermaidConfig` | Mermaid Config | +| `path` | `Path` | Path of the value to get | + +#### Returns + +`Get`<`RequiredObjectDeep`<`MermaidConfig`>, `Path`> + +Value from provided config if it exists, otherwise from default config + +#### Defined in + +[config.ts:257](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/config.ts#L257) --- @@ -84,7 +115,7 @@ The siteConfig #### Defined in -[config.ts:97](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/config.ts#L97) +[config.ts:98](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/config.ts#L98) --- @@ -118,7 +149,7 @@ The siteConfig #### Defined in -[config.ts:219](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/config.ts#L219) +[config.ts:220](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/config.ts#L220) --- @@ -147,7 +178,7 @@ options in-place #### Defined in -[config.ts:147](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/config.ts#L147) +[config.ts:148](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/config.ts#L148) --- @@ -167,7 +198,7 @@ options in-place #### Defined in -[config.ts:76](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/config.ts#L76) +[config.ts:77](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/config.ts#L77) --- @@ -199,7 +230,7 @@ The currentConfig merged with the sanitized conf #### Defined in -[config.ts:114](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/config.ts#L114) +[config.ts:115](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/config.ts#L115) --- @@ -232,7 +263,7 @@ The new siteConfig #### Defined in -[config.ts:62](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/config.ts#L62) +[config.ts:63](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/config.ts#L63) --- @@ -253,7 +284,7 @@ The new siteConfig #### Defined in -[config.ts:16](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/config.ts#L16) +[config.ts:17](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/config.ts#L17) --- @@ -273,4 +304,4 @@ The new siteConfig #### Defined in -[config.ts:80](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/config.ts#L80) +[config.ts:81](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/config.ts#L81) diff --git a/packages/mermaid/package.json b/packages/mermaid/package.json index 471a11fd32..35e3983779 100644 --- a/packages/mermaid/package.json +++ b/packages/mermaid/package.json @@ -115,7 +115,7 @@ "remark-gfm": "^3.0.1", "rimraf": "^5.0.0", "start-server-and-test": "^2.0.0", - "type-fest": "^4.1.0", + "type-fest": "^4.10.1", "typedoc": "^0.25.0", "typedoc-plugin-markdown": "^3.15.2", "typescript": "^5.0.4", diff --git a/packages/mermaid/src/config.ts b/packages/mermaid/src/config.ts index 8d4968d39f..3ec81896f2 100644 --- a/packages/mermaid/src/config.ts +++ b/packages/mermaid/src/config.ts @@ -4,7 +4,8 @@ import theme from './themes/index.js'; import config from './defaultConfig.js'; import type { MermaidConfig } from './config.type.js'; import { sanitizeDirective } from './utils/sanitizeDirective.js'; -import type { RequiredDeep } from 'type-fest'; +import lodashGet from 'lodash-es/get.js'; +import type { RequiredDeep, Get, Paths } from 'type-fest'; export const defaultConfig: RequiredDeep = Object.freeze(config); @@ -246,3 +247,20 @@ const checkConfig = (config: MermaidConfig) => { issueWarning('LAZY_LOAD_DEPRECATED'); } }; + +/** + * Get a value from the provided config, or the default config if it doesn't exist + * @param config - Mermaid Config + * @param path - Path of the value to get + * @returns Value from provided config if it exists, otherwise from default config + */ +export const getConfigValue = >>( + config: MermaidConfig, + path: Path +): Get, Path> => { + let value = lodashGet(config, path) as Get, Path>; + if (!value) { + value = lodashGet(defaultConfig, path) as Get, Path>; + } + return value; +}; diff --git a/packages/mermaid/src/diagrams/mindmap/mindmapDb.ts b/packages/mermaid/src/diagrams/mindmap/mindmapDb.ts index 1cead9cfdd..c9a69add7f 100644 --- a/packages/mermaid/src/diagrams/mindmap/mindmapDb.ts +++ b/packages/mermaid/src/diagrams/mindmap/mindmapDb.ts @@ -3,7 +3,7 @@ import type { D3Element } from '../../mermaidAPI.js'; import { sanitizeText } from '../../diagrams/common/common.js'; import { log } from '../../logger.js'; import type { MindmapNode } from './mindmapTypes.js'; -import { defaultConfig } from '../../config.js'; +import { getConfigValue } from '../../config.js'; let nodes: MindmapNode[] = []; let cnt = 0; @@ -32,7 +32,7 @@ const getMindmap = () => { const addNode = (level: number, id: string, descr: string, type: number) => { log.info('addNode', level, id, descr, type); const conf = getConfig(); - let padding: number = conf.mindmap?.padding ?? defaultConfig.mindmap.padding; + let padding: number = getConfigValue(conf, 'mindmap.padding'); switch (type) { case nodeType.ROUNDED_RECT: case nodeType.RECT: @@ -47,7 +47,7 @@ const addNode = (level: number, id: string, descr: string, type: number) => { descr: sanitizeText(descr, conf), type, children: [], - width: conf.mindmap?.maxNodeWidth ?? defaultConfig.mindmap.maxNodeWidth, + width: getConfigValue(conf, 'mindmap.maxNodeWidth'), padding, } satisfies MindmapNode; diff --git a/packages/mermaid/src/diagrams/mindmap/mindmapRenderer.ts b/packages/mermaid/src/diagrams/mindmap/mindmapRenderer.ts index af748e164b..53c9154360 100644 --- a/packages/mermaid/src/diagrams/mindmap/mindmapRenderer.ts +++ b/packages/mermaid/src/diagrams/mindmap/mindmapRenderer.ts @@ -3,7 +3,6 @@ import cytoscape from 'cytoscape'; import coseBilkent from 'cytoscape-cose-bilkent'; import { select } from 'd3'; import type { MermaidConfig } from '../../config.type.js'; -import { getConfig } from '../../diagram-api/diagramAPI.js'; import type { DrawDefinition } from '../../diagram-api/types.js'; import { log } from '../../logger.js'; import type { D3Element } from '../../mermaidAPI.js'; @@ -11,7 +10,7 @@ import { selectSvgElement } from '../../rendering-util/selectSvgElement.js'; import { setupGraphViewbox } from '../../setupGraphViewbox.js'; import type { FilledMindMapNode, MindmapDB, MindmapNode } from './mindmapTypes.js'; import { drawNode, positionNode } from './svgDraw.js'; -import { defaultConfig } from '../../config.js'; +import { getConfig, getConfigValue } from '../../config.js'; // Inject the layout algorithm into cytoscape cytoscape.use(coseBilkent); @@ -191,8 +190,8 @@ export const draw: DrawDefinition = async (text, id, _version, diagObj) => { setupGraphViewbox( undefined, svg, - conf.mindmap?.padding ?? defaultConfig.mindmap.padding, - conf.mindmap?.useMaxWidth ?? defaultConfig.mindmap.useMaxWidth + getConfigValue(conf, 'mindmap.padding'), + getConfigValue(conf, 'mindmap.useMaxWidth') ); }; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1312ff7c52..c2b64289f8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -357,8 +357,8 @@ importers: specifier: ^2.0.0 version: 2.0.0 type-fest: - specifier: ^4.1.0 - version: 4.1.0 + specifier: ^4.10.1 + version: 4.10.1 typedoc: specifier: ^0.25.0 version: 0.25.0(typescript@5.0.4) @@ -468,6 +468,61 @@ importers: specifier: ^7.0.0 version: 7.0.0 + packages/mermaid/src/vitepress: + dependencies: + '@vueuse/core': + specifier: ^10.1.0 + version: 10.7.2(vue@3.4.15) + jiti: + specifier: ^1.18.2 + version: 1.21.0 + mermaid: + specifier: workspace:^ + version: link:../.. + vue: + specifier: ^3.3 + version: 3.4.15(typescript@5.1.6) + devDependencies: + '@iconify-json/carbon': + specifier: ^1.1.16 + version: 1.1.16 + '@unocss/reset': + specifier: ^0.58.0 + version: 0.58.0 + '@vite-pwa/vitepress': + specifier: ^0.3.0 + version: 0.3.0(vite-plugin-pwa@0.17.0) + '@vitejs/plugin-vue': + specifier: ^4.2.1 + version: 4.2.3(vite@4.5.0)(vue@3.4.15) + fast-glob: + specifier: ^3.2.12 + version: 3.3.2 + https-localhost: + specifier: ^4.7.1 + version: 4.7.1 + pathe: + specifier: ^1.1.0 + version: 1.1.1 + unocss: + specifier: ^0.58.0 + version: 0.58.0(postcss@8.4.33)(rollup@2.79.1)(vite@4.5.0) + unplugin-vue-components: + specifier: ^0.26.0 + version: 0.26.0(rollup@2.79.1)(vue@3.4.15) + vite: + specifier: ^4.4.12 + version: 4.5.0(@types/node@18.17.5) + vite-plugin-pwa: + specifier: ^0.17.0 + version: 0.17.0(vite@4.5.0)(workbox-build@7.0.0)(workbox-window@7.0.0) + vitepress: + specifier: 1.0.0-rc.40 + version: 1.0.0-rc.40(@algolia/client-search@4.19.1)(@types/node@18.17.5)(postcss@8.4.33)(search-insights@2.7.0)(typescript@5.1.6) + workbox-window: + specifier: ^7.0.0 + version: 7.0.0 + tests/webpack: dependencies: '@mermaid-js/mermaid-example-diagram': @@ -1092,7 +1147,7 @@ packages: '@babel/helper-compilation-targets': 7.22.15 '@babel/helper-module-transforms': 7.23.3(@babel/core@7.23.5) '@babel/helpers': 7.23.5 - '@babel/parser': 7.23.5 + '@babel/parser': 7.23.6 '@babel/template': 7.22.15 '@babel/traverse': 7.23.5 '@babel/types': 7.23.5 @@ -1438,7 +1493,6 @@ packages: hasBin: true dependencies: '@babel/types': 7.23.5 - dev: true /@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.22.5(@babel/core@7.23.5): resolution: {integrity: sha512-NP1M5Rf+u2Gw9qfSO4ihjcTGW5zXTi36ITLd4/EoAcEhIZ0yjMqmftDNl3QC19CX7olhrjpyU454g/2W7X0jvQ==} @@ -1471,15 +1525,6 @@ packages: '@babel/core': 7.23.5 dev: true - /@babel/plugin-syntax-async-generators@7.8.4(@babel/core@7.22.10): - resolution: {integrity: sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.22.10 - '@babel/helper-plugin-utils': 7.22.5 - dev: true - /@babel/plugin-syntax-async-generators@7.8.4(@babel/core@7.23.5): resolution: {integrity: sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==} peerDependencies: @@ -1489,21 +1534,12 @@ packages: '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-syntax-bigint@7.8.3(@babel/core@7.22.10): + /@babel/plugin-syntax-bigint@7.8.3(@babel/core@7.23.5): resolution: {integrity: sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.22.10 - '@babel/helper-plugin-utils': 7.22.5 - dev: true - - /@babel/plugin-syntax-class-properties@7.12.13(@babel/core@7.22.10): - resolution: {integrity: sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.22.10 + '@babel/core': 7.23.5 '@babel/helper-plugin-utils': 7.22.5 dev: true @@ -1564,15 +1600,6 @@ packages: '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-syntax-import-meta@7.10.4(@babel/core@7.22.10): - resolution: {integrity: sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.22.10 - '@babel/helper-plugin-utils': 7.22.5 - dev: true - /@babel/plugin-syntax-import-meta@7.10.4(@babel/core@7.23.5): resolution: {integrity: sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==} peerDependencies: @@ -1582,15 +1609,6 @@ packages: '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-syntax-json-strings@7.8.3(@babel/core@7.22.10): - resolution: {integrity: sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.22.10 - '@babel/helper-plugin-utils': 7.22.5 - dev: true - /@babel/plugin-syntax-json-strings@7.8.3(@babel/core@7.23.5): resolution: {integrity: sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==} peerDependencies: @@ -1600,16 +1618,6 @@ packages: '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-syntax-jsx@7.22.5(@babel/core@7.22.10): - resolution: {integrity: sha512-gvyP4hZrgrs/wWMaocvxZ44Hw0b3W8Pe+cMxc8V1ULQ07oh8VNbIRaoD1LRZVTvD+0nieDKjfgKg89sD7rrKrg==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.22.10 - '@babel/helper-plugin-utils': 7.22.5 - dev: true - /@babel/plugin-syntax-jsx@7.23.3(@babel/core@7.23.5): resolution: {integrity: sha512-EB2MELswq55OHUoRZLGg/zC7QWUKfNLpE57m/S2yr1uEneIgsTgrSzXP3NXEsMkVn76OlaVVnzN+ugObuYGwhg==} engines: {node: '>=6.9.0'} @@ -1620,15 +1628,6 @@ packages: '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-syntax-logical-assignment-operators@7.10.4(@babel/core@7.22.10): - resolution: {integrity: sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.22.10 - '@babel/helper-plugin-utils': 7.22.5 - dev: true - /@babel/plugin-syntax-logical-assignment-operators@7.10.4(@babel/core@7.23.5): resolution: {integrity: sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==} peerDependencies: @@ -1638,15 +1637,6 @@ packages: '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-syntax-nullish-coalescing-operator@7.8.3(@babel/core@7.22.10): - resolution: {integrity: sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.22.10 - '@babel/helper-plugin-utils': 7.22.5 - dev: true - /@babel/plugin-syntax-nullish-coalescing-operator@7.8.3(@babel/core@7.23.5): resolution: {integrity: sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==} peerDependencies: @@ -1656,15 +1646,6 @@ packages: '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-syntax-numeric-separator@7.10.4(@babel/core@7.22.10): - resolution: {integrity: sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.22.10 - '@babel/helper-plugin-utils': 7.22.5 - dev: true - /@babel/plugin-syntax-numeric-separator@7.10.4(@babel/core@7.23.5): resolution: {integrity: sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==} peerDependencies: @@ -1674,15 +1655,6 @@ packages: '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-syntax-object-rest-spread@7.8.3(@babel/core@7.22.10): - resolution: {integrity: sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.22.10 - '@babel/helper-plugin-utils': 7.22.5 - dev: true - /@babel/plugin-syntax-object-rest-spread@7.8.3(@babel/core@7.23.5): resolution: {integrity: sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==} peerDependencies: @@ -1692,15 +1664,6 @@ packages: '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-syntax-optional-catch-binding@7.8.3(@babel/core@7.22.10): - resolution: {integrity: sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.22.10 - '@babel/helper-plugin-utils': 7.22.5 - dev: true - /@babel/plugin-syntax-optional-catch-binding@7.8.3(@babel/core@7.23.5): resolution: {integrity: sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==} peerDependencies: @@ -1710,15 +1673,6 @@ packages: '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-syntax-optional-chaining@7.8.3(@babel/core@7.22.10): - resolution: {integrity: sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.22.10 - '@babel/helper-plugin-utils': 7.22.5 - dev: true - /@babel/plugin-syntax-optional-chaining@7.8.3(@babel/core@7.23.5): resolution: {integrity: sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==} peerDependencies: @@ -1738,16 +1692,6 @@ packages: '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-syntax-top-level-await@7.14.5(@babel/core@7.22.10): - resolution: {integrity: sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.22.10 - '@babel/helper-plugin-utils': 7.22.5 - dev: true - /@babel/plugin-syntax-top-level-await@7.14.5(@babel/core@7.23.5): resolution: {integrity: sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==} engines: {node: '>=6.9.0'} @@ -1758,13 +1702,13 @@ packages: '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-syntax-typescript@7.22.5(@babel/core@7.22.10): + /@babel/plugin-syntax-typescript@7.22.5(@babel/core@7.23.5): resolution: {integrity: sha512-1mS2o03i7t1c6VzH6fdQ3OA8tcEIxwG18zIPRp+UY1Ihv6W+XZzBCVxExF9upussPXJ0xE9XRHwMoNs1ep/nRQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.22.10 + '@babel/core': 7.23.5 '@babel/helper-plugin-utils': 7.22.5 dev: true @@ -2466,7 +2410,7 @@ packages: engines: {node: '>=6.9.0'} dependencies: '@babel/code-frame': 7.23.5 - '@babel/parser': 7.23.5 + '@babel/parser': 7.23.6 '@babel/types': 7.23.5 dev: true @@ -2475,7 +2419,7 @@ packages: engines: {node: '>=6.9.0'} dependencies: '@babel/code-frame': 7.22.13 - '@babel/parser': 7.23.5 + '@babel/parser': 7.23.6 '@babel/types': 7.23.5 dev: true @@ -2489,7 +2433,7 @@ packages: '@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.5 + '@babel/parser': 7.23.6 '@babel/types': 7.23.5 debug: 4.3.4(supports-color@8.1.1) globals: 11.12.0 @@ -2507,7 +2451,7 @@ packages: '@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.5 + '@babel/parser': 7.23.6 '@babel/types': 7.23.5 debug: 4.3.4(supports-color@8.1.1) globals: 11.12.0 @@ -4162,7 +4106,7 @@ packages: resolution: {integrity: sha512-ZqCqEISr58Ce3U+buNFJYUktLJZOggfyvR+bZMaiV1e8B1SIvJbwZMrYz3gx/KAPn9EXmOmN+uB08yLCjWkQQg==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@babel/core': 7.22.10 + '@babel/core': 7.23.5 '@jest/types': 29.6.1 '@jridgewell/trace-mapping': 0.3.19 babel-plugin-istanbul: 6.1.1 @@ -4569,7 +4513,7 @@ packages: /@types/babel__core@7.20.1: resolution: {integrity: sha512-aACu/U/omhdk15O4Nfb+fHgH/z3QsfQzpnvRZhYhThms83ZnAOZz7zZAWO7mn2yyNQaA4xTO8GLK3uqFU4bYYw==} dependencies: - '@babel/parser': 7.23.5 + '@babel/parser': 7.23.6 '@babel/types': 7.23.5 '@types/babel__generator': 7.6.4 '@types/babel__template': 7.4.1 @@ -4585,7 +4529,7 @@ packages: /@types/babel__template@7.4.1: resolution: {integrity: sha512-azBFKemX6kMg5Io+/rdGT0dkGreboUVR0Cdm3fz9QJWpaQGJRQXl7C+6hOTCZcMll7KFyEQpgbYI2lHdsS4U7g==} dependencies: - '@babel/parser': 7.23.5 + '@babel/parser': 7.23.6 '@babel/types': 7.23.5 dev: true @@ -5167,7 +5111,6 @@ packages: /@types/web-bluetooth@0.0.20: resolution: {integrity: sha512-g9gZnnXVq7gM7v3tJCWV/qw7w+KeOlSHAhgF9RytFyifW6AF61hdT2ucrYhPq9hLs5JIryeupHV3qGk95dH9ow==} - dev: true /@types/ws@8.5.5: resolution: {integrity: sha512-lwhs8hktwxSjf9UaZ9tG5M03PGogvFaH8gUgLNbN9HKIg0dvv6q+gkSuJ8HN4/VbyxkuLzCjlN7GquQ0gUJfIg==} @@ -5760,6 +5703,17 @@ packages: vue: 3.3.4 dev: true + /@vitejs/plugin-vue@4.2.3(vite@4.5.0)(vue@3.4.15): + resolution: {integrity: sha512-R6JDUfiZbJA9cMiguQ7jxALsgiprjBeHL5ikpXfJCH62pPHtI+JdJ5xWj6Ev73yXSlYl86+blXn1kZHQ7uElxw==} + engines: {node: ^14.18.0 || >=16.0.0} + peerDependencies: + vite: ^4.0.0 + vue: ^3.2.25 + dependencies: + vite: 4.5.0(@types/node@18.17.5) + vue: 3.4.15(typescript@5.1.6) + dev: true + /@vitejs/plugin-vue@5.0.3(vite@5.0.11)(vue@3.4.15): resolution: {integrity: sha512-b8S5dVS40rgHdDrw+DQi/xOM9ed+kSRZzfm1T74bMmBDCd8XO87NKlFYInzCtwvtWwXZvo1QxE2OSspTATWrbA==} engines: {node: ^18.0.0 || >=20.0.0} @@ -5771,6 +5725,17 @@ packages: vue: 3.4.15(typescript@5.1.6) dev: true + /@vitejs/plugin-vue@5.0.3(vite@5.0.12)(vue@3.4.15): + resolution: {integrity: sha512-b8S5dVS40rgHdDrw+DQi/xOM9ed+kSRZzfm1T74bMmBDCd8XO87NKlFYInzCtwvtWwXZvo1QxE2OSspTATWrbA==} + engines: {node: ^18.0.0 || >=20.0.0} + peerDependencies: + vite: ^5.0.0 + vue: ^3.2.25 + dependencies: + vite: 5.0.12(@types/node@18.17.5) + vue: 3.4.15(typescript@5.1.6) + dev: true + /@vitest/coverage-v8@0.34.0(vitest@0.34.0): resolution: {integrity: sha512-rUFY9xX6nnrFvVfTDjlEaOFzfHqolUoA+Unz356T38W100QA+NiaekCFq/3XB/LXBISaFreCsVjAbPV3hjV7Jg==} peerDependencies: @@ -5872,7 +5837,6 @@ packages: entities: 4.5.0 estree-walker: 2.0.2 source-map-js: 1.0.2 - dev: true /@vue/compiler-dom@3.3.4: resolution: {integrity: sha512-wyM+OjOVpuUukIq6p5+nwHYtj9cFroz9cwkfmP9O1nzH68BenTTv0u7/ndggT8cIQlnBeOo6sUT/gvHcIkLA5w==} @@ -5885,7 +5849,6 @@ packages: dependencies: '@vue/compiler-core': 3.4.15 '@vue/shared': 3.4.15 - dev: true /@vue/compiler-sfc@3.3.4: resolution: {integrity: sha512-6y/d8uw+5TkCuzBkgLS0v3lSM3hJDntFEiUORM11pQ/hKvkhSKZrXW6i69UyXlJQisJxuUEJKAWEqWbWsLeNKQ==} @@ -5913,7 +5876,6 @@ packages: magic-string: 0.30.5 postcss: 8.4.33 source-map-js: 1.0.2 - dev: true /@vue/compiler-ssr@3.3.4: resolution: {integrity: sha512-m0v6oKpup2nMSehwA6Uuu+j+wEwcy7QmwMkVNVfrV9P2qE5KshC6RwOCq8fjGS/Eak/uNb8AaWekfiXxbBB6gQ==} @@ -5926,7 +5888,6 @@ packages: dependencies: '@vue/compiler-dom': 3.4.15 '@vue/shared': 3.4.15 - dev: true /@vue/devtools-api@6.5.0: resolution: {integrity: sha512-o9KfBeaBmCKl10usN4crU53fYtC1r7jJwdGKjPT24t348rHxgfpZ0xL3Xm/gLUYnc0oTp8LAmrxOeLyu6tbk2Q==} @@ -5953,7 +5914,6 @@ packages: resolution: {integrity: sha512-55yJh2bsff20K5O84MxSvXKPHHt17I2EomHznvFiJCAZpJTNW8IuLj1xZWMLELRhBK3kkFV/1ErZGHJfah7i7w==} dependencies: '@vue/shared': 3.4.15 - dev: true /@vue/runtime-core@3.3.4: resolution: {integrity: sha512-R+bqxMN6pWO7zGI4OMlmvePOdP2c93GsHFM/siJI7O2nxFRzj55pLwkpCedEY+bTMgp5miZ8CxfIZo3S+gFqvA==} @@ -5966,7 +5926,6 @@ packages: dependencies: '@vue/reactivity': 3.4.15 '@vue/shared': 3.4.15 - dev: true /@vue/runtime-dom@3.3.4: resolution: {integrity: sha512-Aj5bTJ3u5sFsUckRghsNjVTtxZQ1OyMWCr5dZRAPijF/0Vy4xEoRCwLyHXcj4D0UFbJ4lbx3gPTgg06K/GnPnQ==} @@ -5981,7 +5940,6 @@ packages: '@vue/runtime-core': 3.4.15 '@vue/shared': 3.4.15 csstype: 3.1.3 - dev: true /@vue/server-renderer@3.3.4(vue@3.3.4): resolution: {integrity: sha512-Q6jDDzR23ViIb67v+vM1Dqntu+HUexQcsWKhhQa4ARVzxOY2HbC7QRW/ggkDBd5BU+uM1sV6XOAP0b216o34JQ==} @@ -6000,14 +5958,12 @@ packages: '@vue/compiler-ssr': 3.4.15 '@vue/shared': 3.4.15 vue: 3.4.15(typescript@5.0.4) - dev: true /@vue/shared@3.3.4: resolution: {integrity: sha512-7OjdcV8vQ74eiz1TZLzZP4JwqM5fA94K6yntPS5Z25r9HDuGNzaGdgvwKYq6S+MxwF0TFRwe50fIR/MYnakdkQ==} /@vue/shared@3.4.15: resolution: {integrity: sha512-KzfPTxVaWfB+eGcGdbSf4CWdaXcGDqckoeXUh7SB3fZdEtzPCK2Vq9B/lRRL3yutax/LWITz+SwvgyOxz5V75g==} - dev: true /@vueuse/core@10.1.0(vue@3.3.4): resolution: {integrity: sha512-3Znoa5m5RO+z4/C9w6DRaKTR3wCVJvD5rav8HTDGsr+7rOZRHtcgFJ8NcCs0ZvIpmev2kExTa311ns5j2RbzDQ==} @@ -6043,7 +5999,6 @@ packages: transitivePeerDependencies: - '@vue/composition-api' - vue - dev: true /@vueuse/integrations@10.7.2(focus-trap@7.5.4)(vue@3.4.15): resolution: {integrity: sha512-+u3RLPFedjASs5EKPc69Ge49WNgqeMfSxFn+qrQTzblPXZg6+EFzhjarS5edj2qAf6xQ93f95TUxRwKStXj/sQ==} @@ -6105,7 +6060,6 @@ packages: /@vueuse/metadata@10.7.2: resolution: {integrity: sha512-kCWPb4J2KGrwLtn1eJwaJD742u1k5h6v/St5wFe8Quih90+k2a0JP8BS4Zp34XUuJqS2AxFYMb1wjUL8HfhWsQ==} - dev: true /@vueuse/shared@10.1.0(vue@3.3.4): resolution: {integrity: sha512-2X52ogu12i9DkKOQ01yeb/BKg9UO87RNnpm5sXkQvyORlbq8ONS5l39MYkjkeVWWjdT0teJru7a2S41dmHmqjQ==} @@ -6132,7 +6086,6 @@ packages: transitivePeerDependencies: - '@vue/composition-api' - vue - dev: true /@wdio/config@7.31.1(typescript@5.1.6): resolution: {integrity: sha512-WAfswbCatwiaDVqy6kfF/5T8/WS/US/SRhBGUFrfBuGMIe+RRoHgy7jURFWSvUIE7CNHj8yvs46fLUcxhXjzcQ==} @@ -6788,17 +6741,17 @@ packages: - debug dev: true - /babel-jest@29.6.2(@babel/core@7.22.10): + /babel-jest@29.6.2(@babel/core@7.23.5): resolution: {integrity: sha512-BYCzImLos6J3BH/+HvUCHG1dTf2MzmAB4jaVxHV+29RZLjR29XuYTmsf2sdDwkrb+FczkGo3kOhE7ga6sI0P4A==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} peerDependencies: '@babel/core': ^7.8.0 dependencies: - '@babel/core': 7.22.10 + '@babel/core': 7.23.5 '@jest/transform': 29.6.2 '@types/babel__core': 7.20.1 babel-plugin-istanbul: 6.1.1 - babel-preset-jest: 29.5.0(@babel/core@7.22.10) + babel-preset-jest: 29.5.0(@babel/core@7.23.5) chalk: 4.1.2 graceful-fs: 4.2.11 slash: 3.0.0 @@ -6878,35 +6831,35 @@ packages: - supports-color dev: true - /babel-preset-current-node-syntax@1.0.1(@babel/core@7.22.10): + /babel-preset-current-node-syntax@1.0.1(@babel/core@7.23.5): resolution: {integrity: sha512-M7LQ0bxarkxQoN+vz5aJPsLBn77n8QgTFmo8WK0/44auK2xlCXrYcUxHFxgU7qW5Yzw/CjmLRK2uJzaCd7LvqQ==} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.22.10 - '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.22.10) - '@babel/plugin-syntax-bigint': 7.8.3(@babel/core@7.22.10) - '@babel/plugin-syntax-class-properties': 7.12.13(@babel/core@7.22.10) - '@babel/plugin-syntax-import-meta': 7.10.4(@babel/core@7.22.10) - '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.22.10) - '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.22.10) - '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.22.10) - '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.22.10) - '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.22.10) - '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.22.10) - '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.22.10) - '@babel/plugin-syntax-top-level-await': 7.14.5(@babel/core@7.22.10) - dev: true - - /babel-preset-jest@29.5.0(@babel/core@7.22.10): + '@babel/core': 7.23.5 + '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.23.5) + '@babel/plugin-syntax-bigint': 7.8.3(@babel/core@7.23.5) + '@babel/plugin-syntax-class-properties': 7.12.13(@babel/core@7.23.5) + '@babel/plugin-syntax-import-meta': 7.10.4(@babel/core@7.23.5) + '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.23.5) + '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.23.5) + '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.23.5) + '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.23.5) + '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.23.5) + '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.23.5) + '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.23.5) + '@babel/plugin-syntax-top-level-await': 7.14.5(@babel/core@7.23.5) + dev: true + + /babel-preset-jest@29.5.0(@babel/core@7.23.5): resolution: {integrity: sha512-JOMloxOqdiBSxMAzjRaH023/vvcaSaec49zvg+2LmNsktC7ei39LTJGw02J+9uUtTZUq6xbLyJ4dxe9sSmIuAg==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.22.10 + '@babel/core': 7.23.5 babel-plugin-jest-hoist: 29.5.0 - babel-preset-current-node-syntax: 1.0.1(@babel/core@7.22.10) + babel-preset-current-node-syntax: 1.0.1(@babel/core@7.23.5) dev: true /bail@2.0.2: @@ -8042,7 +7995,6 @@ packages: /csstype@3.1.3: resolution: {integrity: sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==} - dev: true /cuint@0.2.2: resolution: {integrity: sha512-d4ZVpCW31eWwCMe1YT3ur7mUDnTXbgwyzaL320DrcRT45rfjYxkt5QWLrmOJ+/UEAI2+fQgKe/fCjR8l4TpRgw==} @@ -8944,7 +8896,6 @@ packages: /entities@4.5.0: resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==} engines: {node: '>=0.12'} - dev: true /envinfo@7.10.0: resolution: {integrity: sha512-ZtUjZO6l5mwTHvc1L9+1q5p/R3wTopcfqMW8r5t8SJSKqeVI/LtajORwRFEKpEFuekjD0VBjwu1HMxL4UalIRw==} @@ -11322,11 +11273,11 @@ packages: ts-node: optional: true dependencies: - '@babel/core': 7.22.10 + '@babel/core': 7.23.5 '@jest/test-sequencer': 29.6.2 '@jest/types': 29.6.1 '@types/node': 18.17.5 - babel-jest: 29.6.2(@babel/core@7.22.10) + babel-jest: 29.6.2(@babel/core@7.23.5) chalk: 4.1.2 ci-info: 3.8.0 deepmerge: 4.3.1 @@ -11580,15 +11531,15 @@ packages: resolution: {integrity: sha512-1OdjqvqmRdGNvWXr/YZHuyhh5DeaLp1p/F8Tht/MrMw4Kr1Uu/j4lRG+iKl1DAqUJDWxtQBMk41Lnf/JETYBRA==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@babel/core': 7.22.10 + '@babel/core': 7.23.5 '@babel/generator': 7.23.0 - '@babel/plugin-syntax-jsx': 7.22.5(@babel/core@7.22.10) - '@babel/plugin-syntax-typescript': 7.22.5(@babel/core@7.22.10) + '@babel/plugin-syntax-jsx': 7.23.3(@babel/core@7.23.5) + '@babel/plugin-syntax-typescript': 7.22.5(@babel/core@7.23.5) '@babel/types': 7.23.5 '@jest/expect-utils': 29.6.2 '@jest/transform': 29.6.2 '@jest/types': 29.6.1 - babel-preset-current-node-syntax: 1.0.1(@babel/core@7.22.10) + babel-preset-current-node-syntax: 1.0.1(@babel/core@7.23.5) chalk: 4.1.2 expect: 29.6.2 graceful-fs: 4.2.11 @@ -12993,7 +12944,6 @@ packages: resolution: {integrity: sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} hasBin: true - dev: true /natural-compare-lite@1.4.0: resolution: {integrity: sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==} @@ -13809,7 +13759,6 @@ packages: nanoid: 3.3.7 picocolors: 1.0.0 source-map-js: 1.0.2 - dev: true /preact@10.16.0: resolution: {integrity: sha512-XTSj3dJ4roKIC93pald6rWuB2qQJO9gO2iLLyTe87MrjQN+HklueLsmskbywEWqCHlclgz3/M4YLL2iBr9UmMA==} @@ -14707,16 +14656,32 @@ packages: vscode-textmate: 8.0.0 dev: true + /shikiji-core@0.10.2: + resolution: {integrity: sha512-9Of8HMlF96usXJHmCL3Gd0Fcf0EcyJUF9m8EoAKKd98mHXi0La2AZl1h6PegSFGtiYcBDK/fLuKbDa1l16r1fA==} + dev: true + /shikiji-core@0.9.19: resolution: {integrity: sha512-AFJu/vcNT21t0e6YrfadZ+9q86gvPum6iywRyt1OtIPjPFe25RQnYJyxHQPMLKCCWA992TPxmEmbNcOZCAJclw==} dev: true + /shikiji-transformers@0.10.2: + resolution: {integrity: sha512-7IVTwl1af205ywYEq5bOAYOTOFW4V1dVX1EablP0nWKErqZeD1o93VMytxmtJomqS+YwbB8doY8SE3MFMn0aPQ==} + dependencies: + shikiji: 0.10.2 + dev: true + /shikiji-transformers@0.9.19: resolution: {integrity: sha512-lGLI7Z8frQrIBbhZ74/eiJtxMoCQRbpaHEB+gcfvdIy+ZFaAtXncJGnc52932/UET+Y4GyKtwwC/vjWUCp+c/Q==} dependencies: shikiji: 0.9.19 dev: true + /shikiji@0.10.2: + resolution: {integrity: sha512-wtZg3T0vtYV2PnqusWQs3mDaJBdCPWxFDrBM/SE5LfrX92gjUvfEMlc+vJnoKY6Z/S44OWaCRzNIsdBRWcTAiw==} + dependencies: + shikiji-core: 0.10.2 + dev: true + /shikiji@0.9.19: resolution: {integrity: sha512-Kw2NHWktdcdypCj1GkKpXH4o6Vxz8B8TykPlPuLHOGSV8VkhoCLcFOH4k19K4LXAQYRQmxg+0X/eM+m2sLhAkg==} dependencies: @@ -15681,8 +15646,8 @@ packages: engines: {node: '>=10'} dev: true - /type-fest@4.1.0: - resolution: {integrity: sha512-VJGJVepayd8OWavP+rgXt4i3bfLk+tSomTV7r4mca2XD/oTCWnkJlNkpXavkxdmtU2aKdAmFGeHvoQutOVHCZg==} + /type-fest@4.10.1: + resolution: {integrity: sha512-7ZnJYTp6uc04uYRISWtiX3DSKB/fxNQT0B5o1OUeCqiQiwF+JC9+rJiZIDrPrNCLLuTqyQmh4VdQqh/ZOkv9MQ==} engines: {node: '>=16'} dev: true @@ -15782,7 +15747,6 @@ packages: resolution: {integrity: sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw==} engines: {node: '>=12.20'} hasBin: true - dev: true /typescript@5.1.6: resolution: {integrity: sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==} @@ -15997,6 +15961,35 @@ packages: - supports-color dev: true + /unplugin-vue-components@0.26.0(rollup@2.79.1)(vue@3.4.15): + resolution: {integrity: sha512-s7IdPDlnOvPamjunVxw8kNgKNK8A5KM1YpK5j/p97jEKTjlPNrA0nZBiSfAKKlK1gWZuyWXlKL5dk3EDw874LQ==} + engines: {node: '>=14'} + peerDependencies: + '@babel/parser': ^7.15.8 + '@nuxt/kit': ^3.2.2 + vue: 2 || 3 + peerDependenciesMeta: + '@babel/parser': + optional: true + '@nuxt/kit': + optional: true + dependencies: + '@antfu/utils': 0.7.6 + '@rollup/pluginutils': 5.1.0(rollup@2.79.1) + chokidar: 3.5.3 + debug: 4.3.4(supports-color@8.1.1) + fast-glob: 3.3.2 + local-pkg: 0.4.3 + magic-string: 0.30.5 + minimatch: 9.0.3 + resolve: 1.22.4 + unplugin: 1.4.0 + vue: 3.4.15(typescript@5.1.6) + transitivePeerDependencies: + - rollup + - supports-color + dev: true + /unplugin@1.4.0: resolution: {integrity: sha512-5x4eIEL6WgbzqGtF9UV8VEC/ehKptPXDS6L2b0mv4FRMkJxRtjaJfOWDd6a8+kYbqsjklix7yWP0N3SUepjXcg==} dependencies: @@ -16279,6 +16272,42 @@ packages: fsevents: 2.3.3 dev: true + /vite@5.0.12(@types/node@18.17.5): + resolution: {integrity: sha512-4hsnEkG3q0N4Tzf1+t6NdN9dg/L3BM+q8SWgbSPnJvrgH2kgdyzfVJwbR1ic69/4uMJJ/3dqDZZE5/WwqW8U1w==} + engines: {node: ^18.0.0 || >=20.0.0} + hasBin: true + peerDependencies: + '@types/node': ^18.0.0 || >=20.0.0 + less: '*' + lightningcss: ^1.21.0 + sass: '*' + stylus: '*' + sugarss: '*' + terser: ^5.4.0 + peerDependenciesMeta: + '@types/node': + optional: true + less: + optional: true + lightningcss: + optional: true + sass: + optional: true + stylus: + optional: true + sugarss: + optional: true + terser: + optional: true + dependencies: + '@types/node': 18.17.5 + esbuild: 0.19.6 + postcss: 8.4.33 + rollup: 4.5.0 + optionalDependencies: + fsevents: 2.3.3 + dev: true + /vitepress-plugin-search@1.0.4-alpha.20(flexsearch@0.7.31)(vitepress@1.0.0-alpha.72)(vue@3.4.15): resolution: {integrity: sha512-zG+ev9pw1Mg7htABlFCNXb8XwnKN+qfTKw+vU0Ers6RIrABx+45EAAFBoaL1mEpl1FRFn1o/dQ7F4b8GP6HdGQ==} engines: {node: ^14.13.1 || ^16.7.0 || >=18} @@ -16383,6 +16412,62 @@ packages: - universal-cookie dev: true + /vitepress@1.0.0-rc.40(@algolia/client-search@4.19.1)(@types/node@18.17.5)(postcss@8.4.33)(search-insights@2.7.0)(typescript@5.1.6): + resolution: {integrity: sha512-1x9PCrcsJwqhpccyTR93uD6jpiPDeRC98CBCAQLLBb44a3VSXYBPzhCahi+2kwAYylu49p0XhseMPVM4IVcWcw==} + hasBin: true + peerDependencies: + markdown-it-mathjax3: ^4.3.2 + postcss: ^8.4.33 + peerDependenciesMeta: + markdown-it-mathjax3: + optional: true + postcss: + optional: true + dependencies: + '@docsearch/css': 3.5.2 + '@docsearch/js': 3.5.2(@algolia/client-search@4.19.1)(search-insights@2.7.0) + '@types/markdown-it': 13.0.7 + '@vitejs/plugin-vue': 5.0.3(vite@5.0.12)(vue@3.4.15) + '@vue/devtools-api': 6.5.1 + '@vueuse/core': 10.7.2(vue@3.4.15) + '@vueuse/integrations': 10.7.2(focus-trap@7.5.4)(vue@3.4.15) + focus-trap: 7.5.4 + mark.js: 8.11.1 + minisearch: 6.3.0 + postcss: 8.4.33 + shikiji: 0.10.2 + shikiji-core: 0.10.2 + shikiji-transformers: 0.10.2 + vite: 5.0.12(@types/node@18.17.5) + vue: 3.4.15(typescript@5.1.6) + transitivePeerDependencies: + - '@algolia/client-search' + - '@types/node' + - '@types/react' + - '@vue/composition-api' + - async-validator + - axios + - change-case + - drauu + - fuse.js + - idb-keyval + - jwt-decode + - less + - lightningcss + - nprogress + - qrcode + - react + - react-dom + - sass + - search-insights + - sortablejs + - stylus + - sugarss + - terser + - typescript + - universal-cookie + dev: true + /vitest@0.34.0(@vitest/ui@0.34.0)(jsdom@22.0.0): resolution: {integrity: sha512-8Pnc1fVt1P6uBncdUZ++hgiJGgxIRKuz4bmS/PQziaEcUj0D1g9cGiR1MbLrcsvFTC6fgrqDhYoTAdBG356WMA==} engines: {node: '>=v14.18.0'} @@ -16526,7 +16611,6 @@ packages: optional: true dependencies: vue: 3.4.15(typescript@5.1.6) - dev: true /vue@3.3.4: resolution: {integrity: sha512-VTyEYn3yvIeY1Py0WaYGZsXnz3y5UnGi62GjVEqvEGPl6nxbOrCXbVOTQWBEJUqAyTUk2uJ5JLVnYJ6ZzGbrSw==} @@ -16551,7 +16635,6 @@ packages: '@vue/server-renderer': 3.4.15(vue@3.4.15) '@vue/shared': 3.4.15 typescript: 5.0.4 - dev: true /vue@3.4.15(typescript@5.1.6): resolution: {integrity: sha512-jC0GH4KkWLWJOEQjOpkqU1bQsBwf4R1rsFtw5GQJbjHVKWDzO6P0nWWBTmjp1xSemAioDFj1jdaK1qa3DnMQoQ==} @@ -16567,7 +16650,6 @@ packages: '@vue/server-renderer': 3.4.15(vue@3.4.15) '@vue/shared': 3.4.15 typescript: 5.1.6 - dev: true /vuex@4.1.0(vue@3.3.4): resolution: {integrity: sha512-hmV6UerDrPcgbSy9ORAtNXDr9M4wlNP4pEFKye4ujJF8oqgFFuxDCdOLS3eNoRTtq5O3hoBDh9Doj1bQMYHRbQ==}