@likec4/core 1.46.3 → 1.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/builder/index.d.mts +9 -7
- package/dist/builder/index.mjs +75 -31
- package/dist/compute-view/index.d.mts +45 -11
- package/dist/compute-view/index.mjs +149 -12
- package/dist/compute-view/relationships-view/index.d.mts +7 -7
- package/dist/index.d.mts +8 -8
- package/dist/index.mjs +4 -4
- package/dist/model/connection/deployment/index.d.mts +9 -9
- package/dist/model/connection/deployment/index.mjs +1 -1
- package/dist/model/connection/index.d.mts +10 -10
- package/dist/model/connection/index.mjs +1 -1
- package/dist/model/connection/model/index.d.mts +9 -9
- package/dist/model/index.d.mts +11 -11
- package/dist/model/index.mjs +2 -2
- package/dist/shared/{core.BYdtmqY5.mjs → core.BNN-3vPH.mjs} +1 -1
- package/dist/shared/{core.CRhT4Iio.mjs → core.BP_QHEXs.mjs} +1 -1
- package/dist/shared/{core.CBLX4mT8.mjs → core.Bdy3hhTc.mjs} +108 -137
- package/dist/shared/{core.DK3pdsTf.d.mts → core.BfCKSW-g.d.mts} +11 -8
- package/dist/shared/{core.or6-EHsb.d.mts → core.CAgYpDtM.d.mts} +2 -2
- package/dist/shared/{core.DEK-BO3_.mjs → core.CHf8VEa3.mjs} +1 -1
- package/dist/shared/{core.CDdf8izT.d.mts → core.C_3y3eqV.d.mts} +1 -1
- package/dist/shared/{core.BkSYCfRg.d.mts → core.D00YbOhQ.d.mts} +1 -1
- package/dist/shared/{core.9U0HL3oG.d.mts → core.DC5IAaDT.d.mts} +3 -3
- package/dist/shared/{core.I8sCl3WM.d.mts → core.DE9qzhn8.d.mts} +3 -3
- package/dist/shared/{core.BspBF3SJ.mjs → core.DGcIbsj4.mjs} +3 -1
- package/dist/shared/{core.DezoCAzf.d.mts → core.DKhRkHRN.d.mts} +3 -3
- package/dist/shared/{core.DVfPJPJj.mjs → core.DU5SRqNF.mjs} +13 -4
- package/dist/shared/{core.xgoPk2RG.mjs → core.Dh119QSP.mjs} +18 -12
- package/dist/shared/{core.DSalPD6v.mjs → core.DjcWextK.mjs} +26 -7
- package/dist/shared/{core.DE-g9oFF.d.mts → core.Dojz4bvg.d.mts} +6 -6
- package/dist/shared/{core.BqtAzeAh.d.mts → core.OtRNdMxy.d.mts} +1 -1
- package/dist/shared/{core.xeuDd__E.mjs → core.btEq3i3f.mjs} +1 -1
- package/dist/shared/{core.5gPDaaG5.d.mts → core.osFs8tU7.d.mts} +8 -8
- package/dist/shared/{core.e5GJ61_a.d.mts → core.tpvDGvdC.d.mts} +3 -3
- package/dist/styles/index.d.mts +6 -6
- package/dist/styles/index.mjs +1 -1
- package/dist/types/_aux.d.mts +2 -2
- package/dist/types/expression-model.d.mts +3 -3
- package/dist/types/expression.d.mts +3 -3
- package/dist/types/fqnRef.d.mts +2 -2
- package/dist/types/index.d.mts +9 -9
- package/dist/types/index.mjs +2 -2
- package/dist/types/scalar.d.mts +1 -1
- package/dist/utils/index.d.mts +2 -2
- package/dist/utils/index.mjs +3 -3
- package/package.json +5 -4
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { C as Connection } from '../../shared/core.
|
|
2
|
-
export { D as DeploymentConnectionModel, f as deployment } from '../../shared/core.
|
|
3
|
-
export { C as ConnectionModel, f as model } from '../../shared/core.
|
|
1
|
+
import { C as Connection } from '../../shared/core.DKhRkHRN.mjs';
|
|
2
|
+
export { D as DeploymentConnectionModel, f as deployment } from '../../shared/core.tpvDGvdC.mjs';
|
|
3
|
+
export { C as ConnectionModel, f as model } from '../../shared/core.DE9qzhn8.mjs';
|
|
4
4
|
import { I as IterableContainer, R as ReorderedArray } from '../../shared/core.DB0Ue5Wx.mjs';
|
|
5
|
-
import '../../shared/core.
|
|
5
|
+
import '../../shared/core.BfCKSW-g.mjs';
|
|
6
6
|
import 'type-fest';
|
|
7
|
-
import '../../shared/core.
|
|
8
|
-
import '../../shared/core.
|
|
9
|
-
import '../../shared/core.
|
|
10
|
-
import '../../shared/core.
|
|
7
|
+
import '../../shared/core.CAgYpDtM.mjs';
|
|
8
|
+
import '../../shared/core.DC5IAaDT.mjs';
|
|
9
|
+
import '../../shared/core.D00YbOhQ.mjs';
|
|
10
|
+
import '../../shared/core.C_3y3eqV.mjs';
|
|
11
11
|
import '../../types/fqnRef.mjs';
|
|
12
|
-
import '../../shared/core.
|
|
12
|
+
import '../../shared/core.Dojz4bvg.mjs';
|
|
13
13
|
import '../../types/expression-model.mjs';
|
|
14
14
|
import '../../shared/core.BPGOjone.mjs';
|
|
15
15
|
import '../../shared/core.CywrQs86.mjs';
|
|
16
|
-
import '../../shared/core.
|
|
16
|
+
import '../../shared/core.osFs8tU7.mjs';
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* Check if connection is nested inside another connection
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { C as Connection } from '../../shared/core.BFd1lU9R.mjs';
|
|
2
|
-
export { D as DeploymentConnectionModel, d as deployment } from '../../shared/core.
|
|
2
|
+
export { D as DeploymentConnectionModel, d as deployment } from '../../shared/core.BP_QHEXs.mjs';
|
|
3
3
|
export { C as ConnectionModel, d as differenceConnections, f as findAscendingConnections, a as findDeepestNestedConnection, b as findDescendantConnections, h as hasSameSource, c as hasSameSourceTarget, e as hasSameTarget, i as isAnyInOut, g as isIncoming, j as isNestedConnection, k as isOutgoing, m as mergeConnections, n as model, s as sortConnectionsByBoundaryHierarchy, l as sortDeepestFirst } from '../../shared/core.78IWAHAE.mjs';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export { C as Connection } from '../../../shared/core.
|
|
2
|
-
export { C as ConnectionModel, a as findConnection, b as findConnectionsBetween, c as findConnectionsWithin } from '../../../shared/core.
|
|
3
|
-
import '../../../shared/core.
|
|
1
|
+
export { C as Connection } from '../../../shared/core.DKhRkHRN.mjs';
|
|
2
|
+
export { C as ConnectionModel, a as findConnection, b as findConnectionsBetween, c as findConnectionsWithin } from '../../../shared/core.DE9qzhn8.mjs';
|
|
3
|
+
import '../../../shared/core.BfCKSW-g.mjs';
|
|
4
4
|
import 'type-fest';
|
|
5
|
-
import '../../../shared/core.
|
|
6
|
-
import '../../../shared/core.
|
|
7
|
-
import '../../../shared/core.
|
|
5
|
+
import '../../../shared/core.CAgYpDtM.mjs';
|
|
6
|
+
import '../../../shared/core.DC5IAaDT.mjs';
|
|
7
|
+
import '../../../shared/core.D00YbOhQ.mjs';
|
|
8
8
|
import '../../../shared/core.DB0Ue5Wx.mjs';
|
|
9
|
-
import '../../../shared/core.
|
|
9
|
+
import '../../../shared/core.C_3y3eqV.mjs';
|
|
10
10
|
import '../../../types/fqnRef.mjs';
|
|
11
|
-
import '../../../shared/core.
|
|
11
|
+
import '../../../shared/core.Dojz4bvg.mjs';
|
|
12
12
|
import '../../../types/expression-model.mjs';
|
|
13
13
|
import '../../../shared/core.BPGOjone.mjs';
|
|
14
14
|
import '../../../shared/core.CywrQs86.mjs';
|
|
15
|
-
import '../../../shared/core.
|
|
15
|
+
import '../../../shared/core.osFs8tU7.mjs';
|
package/dist/model/index.d.mts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { D as DeploymentNodeModel, a as DeployedInstanceModel, b as DeploymentRelationModel, A as AnyRelationshipModel, N as NestedElementOfDeployedInstanceModel, E as ElementModel, R as RelationshipModel, L as LikeC4ViewModel, c as NodeModel, d as EdgeModel, e as DeploymentElementModel } from '../shared/core.
|
|
2
|
-
export { g as AnyLikeC4Model, l as DeploymentOrFqn, i as DeploymentRelationEndpoint, m as EdgeOrId, n as ElementOrFqn, I as IncomingFilter, j as LikeC4DeploymentModel, f as LikeC4Model, k as LikeC4ViewsFolder, o as NodeOrId, O as OutgoingFilter, h as RelationshipsAccum, W as WithMetadata, p as WithTags } from '../shared/core.
|
|
3
|
-
import { A as Any } from '../shared/core.
|
|
4
|
-
export { C as Connection } from '../shared/core.
|
|
5
|
-
export { C as ConnectionModel, f as modelConnection } from '../shared/core.
|
|
6
|
-
export { D as DeploymentConnectionModel, f as deploymentConnection } from '../shared/core.
|
|
1
|
+
import { D as DeploymentNodeModel, a as DeployedInstanceModel, b as DeploymentRelationModel, A as AnyRelationshipModel, N as NestedElementOfDeployedInstanceModel, E as ElementModel, R as RelationshipModel, L as LikeC4ViewModel, c as NodeModel, d as EdgeModel, e as DeploymentElementModel } from '../shared/core.BfCKSW-g.mjs';
|
|
2
|
+
export { g as AnyLikeC4Model, l as DeploymentOrFqn, i as DeploymentRelationEndpoint, m as EdgeOrId, n as ElementOrFqn, I as IncomingFilter, j as LikeC4DeploymentModel, f as LikeC4Model, k as LikeC4ViewsFolder, o as NodeOrId, O as OutgoingFilter, h as RelationshipsAccum, W as WithMetadata, p as WithTags } from '../shared/core.BfCKSW-g.mjs';
|
|
3
|
+
import { A as Any } from '../shared/core.D00YbOhQ.mjs';
|
|
4
|
+
export { C as Connection } from '../shared/core.DKhRkHRN.mjs';
|
|
5
|
+
export { C as ConnectionModel, f as modelConnection } from '../shared/core.DE9qzhn8.mjs';
|
|
6
|
+
export { D as DeploymentConnectionModel, f as deploymentConnection } from '../shared/core.tpvDGvdC.mjs';
|
|
7
7
|
export { differenceConnections, findAscendingConnections, findDeepestNestedConnection, findDescendantConnections, hasSameSource, hasSameSourceTarget, hasSameTarget, isAnyInOut, isIncoming, isNestedConnection, isOutgoing, mergeConnections, sortConnectionsByBoundaryHierarchy, sortDeepestFirst } from './connection/index.mjs';
|
|
8
8
|
import 'type-fest';
|
|
9
|
-
import '../shared/core.
|
|
10
|
-
import '../shared/core.
|
|
9
|
+
import '../shared/core.CAgYpDtM.mjs';
|
|
10
|
+
import '../shared/core.DC5IAaDT.mjs';
|
|
11
11
|
import '../shared/core.DB0Ue5Wx.mjs';
|
|
12
12
|
import '../types/fqnRef.mjs';
|
|
13
|
-
import '../shared/core.
|
|
14
|
-
import '../shared/core.
|
|
13
|
+
import '../shared/core.C_3y3eqV.mjs';
|
|
14
|
+
import '../shared/core.Dojz4bvg.mjs';
|
|
15
15
|
import '../types/expression-model.mjs';
|
|
16
16
|
import '../shared/core.BPGOjone.mjs';
|
|
17
17
|
import '../shared/core.CywrQs86.mjs';
|
|
18
|
-
import '../shared/core.
|
|
18
|
+
import '../shared/core.osFs8tU7.mjs';
|
|
19
19
|
|
|
20
20
|
type AnyModel<A extends Any> = DeploymentNodeModel<A> | DeployedInstanceModel<A> | DeploymentRelationModel<A> | AnyRelationshipModel<A> | NestedElementOfDeployedInstanceModel<A> | ElementModel<A> | RelationshipModel<A> | LikeC4ViewModel<A> | NodeModel<A> | EdgeModel<A>;
|
|
21
21
|
declare function isDeploymentNodeModel<M extends Any>(model: AnyModel<M>): model is DeploymentNodeModel<M>;
|
package/dist/model/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { g as EdgeModel, E as ElementModel, f as LikeC4DeploymentModel, L as LikeC4Model, h as LikeC4ViewModel, j as LikeC4ViewsFolder, N as NodeModel, R as RelationshipModel, V as VIEW_FOLDERS_SEPARATOR, k as extractViewTitleFromPath, l as getViewFolderPath, c as isDeployedInstanceModel, e as isDeploymentElementModel, d as isDeploymentNodeModel, m as isDeploymentRelationModel, r as isEdgeModel, i as isElementModel, p as isLikeC4ViewModel, o as isModelRelation, b as isNestedElementOfDeployedInstanceModel, q as isNodeModel, o as isRelationModel, o as isRelationshipModel, n as normalizeViewPath } from '../shared/core.
|
|
2
|
-
export { b as DeployedInstanceModel, D as DeploymentConnectionModel, a as DeploymentNodeModel, c as DeploymentRelationModel, R as RelationshipsAccum, d as deploymentConnection } from '../shared/core.
|
|
1
|
+
export { g as EdgeModel, E as ElementModel, f as LikeC4DeploymentModel, L as LikeC4Model, h as LikeC4ViewModel, j as LikeC4ViewsFolder, N as NodeModel, R as RelationshipModel, V as VIEW_FOLDERS_SEPARATOR, k as extractViewTitleFromPath, l as getViewFolderPath, c as isDeployedInstanceModel, e as isDeploymentElementModel, d as isDeploymentNodeModel, m as isDeploymentRelationModel, r as isEdgeModel, i as isElementModel, p as isLikeC4ViewModel, o as isModelRelation, b as isNestedElementOfDeployedInstanceModel, q as isNodeModel, o as isRelationModel, o as isRelationshipModel, n as normalizeViewPath } from '../shared/core.DU5SRqNF.mjs';
|
|
2
|
+
export { b as DeployedInstanceModel, D as DeploymentConnectionModel, a as DeploymentNodeModel, c as DeploymentRelationModel, R as RelationshipsAccum, d as deploymentConnection } from '../shared/core.BP_QHEXs.mjs';
|
|
3
3
|
export { C as Connection } from '../shared/core.BFd1lU9R.mjs';
|
|
4
4
|
export { C as ConnectionModel, d as differenceConnections, f as findAscendingConnections, a as findDeepestNestedConnection, b as findDescendantConnections, h as hasSameSource, c as hasSameSourceTarget, e as hasSameTarget, i as isAnyInOut, g as isIncoming, j as isNestedConnection, k as isOutgoing, m as mergeConnections, n as modelConnection, s as sortConnectionsByBoundaryHierarchy, l as sortDeepestFirst } from '../shared/core.78IWAHAE.mjs';
|
|
@@ -6,7 +6,7 @@ import { n as n$1 } from './core.BhNcrwzK.mjs';
|
|
|
6
6
|
import { m as hierarchyLevel, g as commonAncestor, n as nameFromFqn, d as isSameHierarchy } from './core.CdNCAwq7.mjs';
|
|
7
7
|
import { a as nonNullable, i as invariant } from './core.D4npX2q8.mjs';
|
|
8
8
|
import { m as memoizeProp } from './core.CLSZtnFh.mjs';
|
|
9
|
-
import { e as exact, R as RichText } from './core.
|
|
9
|
+
import { e as exact, R as RichText } from './core.CHf8VEa3.mjs';
|
|
10
10
|
import { preferSummary, preferDescription } from '../types/_aux.mjs';
|
|
11
11
|
import { i as ihead } from './core.uFk_o9X6.mjs';
|
|
12
12
|
import { s as stringHash } from './core.oSV6SRfk.mjs';
|
|
@@ -23641,12 +23641,11 @@ function remarkParse(options) {
|
|
|
23641
23641
|
}
|
|
23642
23642
|
|
|
23643
23643
|
/**
|
|
23644
|
-
* @
|
|
23645
|
-
* @
|
|
23646
|
-
* @
|
|
23644
|
+
* @import {Element} from 'hast'
|
|
23645
|
+
* @import {Blockquote} from 'mdast'
|
|
23646
|
+
* @import {State} from '../state.js'
|
|
23647
23647
|
*/
|
|
23648
23648
|
|
|
23649
|
-
|
|
23650
23649
|
/**
|
|
23651
23650
|
* Turn an mdast `blockquote` node into hast.
|
|
23652
23651
|
*
|
|
@@ -23670,13 +23669,11 @@ function blockquote(state, node) {
|
|
|
23670
23669
|
}
|
|
23671
23670
|
|
|
23672
23671
|
/**
|
|
23673
|
-
* @
|
|
23674
|
-
* @
|
|
23675
|
-
* @
|
|
23676
|
-
* @typedef {import('../state.js').State} State
|
|
23672
|
+
* @import {Element, Text} from 'hast'
|
|
23673
|
+
* @import {Break} from 'mdast'
|
|
23674
|
+
* @import {State} from '../state.js'
|
|
23677
23675
|
*/
|
|
23678
23676
|
|
|
23679
|
-
|
|
23680
23677
|
/**
|
|
23681
23678
|
* Turn an mdast `break` node into hast.
|
|
23682
23679
|
*
|
|
@@ -23695,13 +23692,11 @@ function hardBreak(state, node) {
|
|
|
23695
23692
|
}
|
|
23696
23693
|
|
|
23697
23694
|
/**
|
|
23698
|
-
* @
|
|
23699
|
-
* @
|
|
23700
|
-
* @
|
|
23701
|
-
* @typedef {import('../state.js').State} State
|
|
23695
|
+
* @import {Element, Properties} from 'hast'
|
|
23696
|
+
* @import {Code} from 'mdast'
|
|
23697
|
+
* @import {State} from '../state.js'
|
|
23702
23698
|
*/
|
|
23703
23699
|
|
|
23704
|
-
|
|
23705
23700
|
/**
|
|
23706
23701
|
* Turn an mdast `code` node into hast.
|
|
23707
23702
|
*
|
|
@@ -23716,9 +23711,12 @@ function code(state, node) {
|
|
|
23716
23711
|
const value = node.value ? node.value + '\n' : '';
|
|
23717
23712
|
/** @type {Properties} */
|
|
23718
23713
|
const properties = {};
|
|
23714
|
+
// Someone can write `js python	ruby`.
|
|
23715
|
+
const language = node.lang ? node.lang.split(/\s+/) : [];
|
|
23719
23716
|
|
|
23720
|
-
|
|
23721
|
-
|
|
23717
|
+
// GH/CM still drop the non-first languages.
|
|
23718
|
+
if (language.length > 0) {
|
|
23719
|
+
properties.className = ['language-' + language[0]];
|
|
23722
23720
|
}
|
|
23723
23721
|
|
|
23724
23722
|
// Create `<code>`.
|
|
@@ -23744,12 +23742,11 @@ function code(state, node) {
|
|
|
23744
23742
|
}
|
|
23745
23743
|
|
|
23746
23744
|
/**
|
|
23747
|
-
* @
|
|
23748
|
-
* @
|
|
23749
|
-
* @
|
|
23745
|
+
* @import {Element} from 'hast'
|
|
23746
|
+
* @import {Delete} from 'mdast'
|
|
23747
|
+
* @import {State} from '../state.js'
|
|
23750
23748
|
*/
|
|
23751
23749
|
|
|
23752
|
-
|
|
23753
23750
|
/**
|
|
23754
23751
|
* Turn an mdast `delete` node into hast.
|
|
23755
23752
|
*
|
|
@@ -23773,12 +23770,11 @@ function strikethrough(state, node) {
|
|
|
23773
23770
|
}
|
|
23774
23771
|
|
|
23775
23772
|
/**
|
|
23776
|
-
* @
|
|
23777
|
-
* @
|
|
23778
|
-
* @
|
|
23773
|
+
* @import {Element} from 'hast'
|
|
23774
|
+
* @import {Emphasis} from 'mdast'
|
|
23775
|
+
* @import {State} from '../state.js'
|
|
23779
23776
|
*/
|
|
23780
23777
|
|
|
23781
|
-
|
|
23782
23778
|
/**
|
|
23783
23779
|
* Turn an mdast `emphasis` node into hast.
|
|
23784
23780
|
*
|
|
@@ -23802,9 +23798,9 @@ function emphasis(state, node) {
|
|
|
23802
23798
|
}
|
|
23803
23799
|
|
|
23804
23800
|
/**
|
|
23805
|
-
* @
|
|
23806
|
-
* @
|
|
23807
|
-
* @
|
|
23801
|
+
* @import {Element} from 'hast'
|
|
23802
|
+
* @import {FootnoteReference} from 'mdast'
|
|
23803
|
+
* @import {State} from '../state.js'
|
|
23808
23804
|
*/
|
|
23809
23805
|
|
|
23810
23806
|
|
|
@@ -23872,12 +23868,11 @@ function footnoteReference(state, node) {
|
|
|
23872
23868
|
}
|
|
23873
23869
|
|
|
23874
23870
|
/**
|
|
23875
|
-
* @
|
|
23876
|
-
* @
|
|
23877
|
-
* @
|
|
23871
|
+
* @import {Element} from 'hast'
|
|
23872
|
+
* @import {Heading} from 'mdast'
|
|
23873
|
+
* @import {State} from '../state.js'
|
|
23878
23874
|
*/
|
|
23879
23875
|
|
|
23880
|
-
|
|
23881
23876
|
/**
|
|
23882
23877
|
* Turn an mdast `heading` node into hast.
|
|
23883
23878
|
*
|
|
@@ -23901,13 +23896,12 @@ function heading(state, node) {
|
|
|
23901
23896
|
}
|
|
23902
23897
|
|
|
23903
23898
|
/**
|
|
23904
|
-
* @
|
|
23905
|
-
* @
|
|
23906
|
-
* @
|
|
23907
|
-
* @
|
|
23899
|
+
* @import {Element} from 'hast'
|
|
23900
|
+
* @import {Html} from 'mdast'
|
|
23901
|
+
* @import {State} from '../state.js'
|
|
23902
|
+
* @import {Raw} from '../../index.js'
|
|
23908
23903
|
*/
|
|
23909
23904
|
|
|
23910
|
-
|
|
23911
23905
|
/**
|
|
23912
23906
|
* Turn an mdast `html` node into hast (`raw` node in dangerous mode, otherwise
|
|
23913
23907
|
* nothing).
|
|
@@ -23931,15 +23925,11 @@ function html(state, node) {
|
|
|
23931
23925
|
}
|
|
23932
23926
|
|
|
23933
23927
|
/**
|
|
23934
|
-
* @
|
|
23935
|
-
*
|
|
23936
|
-
* @
|
|
23937
|
-
* @typedef {import('mdast').Reference} Reference
|
|
23938
|
-
*
|
|
23939
|
-
* @typedef {import('./state.js').State} State
|
|
23928
|
+
* @import {ElementContent} from 'hast'
|
|
23929
|
+
* @import {Reference, Nodes} from 'mdast'
|
|
23930
|
+
* @import {State} from './state.js'
|
|
23940
23931
|
*/
|
|
23941
23932
|
|
|
23942
|
-
|
|
23943
23933
|
/**
|
|
23944
23934
|
* Return the content of a reference without definition as plain text.
|
|
23945
23935
|
*
|
|
@@ -23985,11 +23975,9 @@ function revert(state, node) {
|
|
|
23985
23975
|
}
|
|
23986
23976
|
|
|
23987
23977
|
/**
|
|
23988
|
-
* @
|
|
23989
|
-
* @
|
|
23990
|
-
* @
|
|
23991
|
-
* @typedef {import('mdast').ImageReference} ImageReference
|
|
23992
|
-
* @typedef {import('../state.js').State} State
|
|
23978
|
+
* @import {ElementContent, Element, Properties} from 'hast'
|
|
23979
|
+
* @import {ImageReference} from 'mdast'
|
|
23980
|
+
* @import {State} from '../state.js'
|
|
23993
23981
|
*/
|
|
23994
23982
|
|
|
23995
23983
|
|
|
@@ -24025,10 +24013,9 @@ function imageReference(state, node) {
|
|
|
24025
24013
|
}
|
|
24026
24014
|
|
|
24027
24015
|
/**
|
|
24028
|
-
* @
|
|
24029
|
-
* @
|
|
24030
|
-
* @
|
|
24031
|
-
* @typedef {import('../state.js').State} State
|
|
24016
|
+
* @import {Element, Properties} from 'hast'
|
|
24017
|
+
* @import {Image} from 'mdast'
|
|
24018
|
+
* @import {State} from '../state.js'
|
|
24032
24019
|
*/
|
|
24033
24020
|
|
|
24034
24021
|
|
|
@@ -24061,13 +24048,11 @@ function image(state, node) {
|
|
|
24061
24048
|
}
|
|
24062
24049
|
|
|
24063
24050
|
/**
|
|
24064
|
-
* @
|
|
24065
|
-
* @
|
|
24066
|
-
* @
|
|
24067
|
-
* @typedef {import('../state.js').State} State
|
|
24051
|
+
* @import {Element, Text} from 'hast'
|
|
24052
|
+
* @import {InlineCode} from 'mdast'
|
|
24053
|
+
* @import {State} from '../state.js'
|
|
24068
24054
|
*/
|
|
24069
24055
|
|
|
24070
|
-
|
|
24071
24056
|
/**
|
|
24072
24057
|
* Turn an mdast `inlineCode` node into hast.
|
|
24073
24058
|
*
|
|
@@ -24095,11 +24080,9 @@ function inlineCode(state, node) {
|
|
|
24095
24080
|
}
|
|
24096
24081
|
|
|
24097
24082
|
/**
|
|
24098
|
-
* @
|
|
24099
|
-
* @
|
|
24100
|
-
* @
|
|
24101
|
-
* @typedef {import('mdast').LinkReference} LinkReference
|
|
24102
|
-
* @typedef {import('../state.js').State} State
|
|
24083
|
+
* @import {ElementContent, Element, Properties} from 'hast'
|
|
24084
|
+
* @import {LinkReference} from 'mdast'
|
|
24085
|
+
* @import {State} from '../state.js'
|
|
24103
24086
|
*/
|
|
24104
24087
|
|
|
24105
24088
|
|
|
@@ -24140,10 +24123,9 @@ function linkReference(state, node) {
|
|
|
24140
24123
|
}
|
|
24141
24124
|
|
|
24142
24125
|
/**
|
|
24143
|
-
* @
|
|
24144
|
-
* @
|
|
24145
|
-
* @
|
|
24146
|
-
* @typedef {import('../state.js').State} State
|
|
24126
|
+
* @import {Element, Properties} from 'hast'
|
|
24127
|
+
* @import {Link} from 'mdast'
|
|
24128
|
+
* @import {State} from '../state.js'
|
|
24147
24129
|
*/
|
|
24148
24130
|
|
|
24149
24131
|
|
|
@@ -24177,15 +24159,11 @@ function link(state, node) {
|
|
|
24177
24159
|
}
|
|
24178
24160
|
|
|
24179
24161
|
/**
|
|
24180
|
-
* @
|
|
24181
|
-
* @
|
|
24182
|
-
* @
|
|
24183
|
-
* @typedef {import('mdast').ListItem} ListItem
|
|
24184
|
-
* @typedef {import('mdast').Parents} Parents
|
|
24185
|
-
* @typedef {import('../state.js').State} State
|
|
24162
|
+
* @import {ElementContent, Element, Properties} from 'hast'
|
|
24163
|
+
* @import {ListItem, Parents} from 'mdast'
|
|
24164
|
+
* @import {State} from '../state.js'
|
|
24186
24165
|
*/
|
|
24187
24166
|
|
|
24188
|
-
|
|
24189
24167
|
/**
|
|
24190
24168
|
* Turn an mdast `listItem` node into hast.
|
|
24191
24169
|
*
|
|
@@ -24301,13 +24279,11 @@ function listItemLoose(node) {
|
|
|
24301
24279
|
}
|
|
24302
24280
|
|
|
24303
24281
|
/**
|
|
24304
|
-
* @
|
|
24305
|
-
* @
|
|
24306
|
-
* @
|
|
24307
|
-
* @typedef {import('../state.js').State} State
|
|
24282
|
+
* @import {Element, Properties} from 'hast'
|
|
24283
|
+
* @import {List} from 'mdast'
|
|
24284
|
+
* @import {State} from '../state.js'
|
|
24308
24285
|
*/
|
|
24309
24286
|
|
|
24310
|
-
|
|
24311
24287
|
/**
|
|
24312
24288
|
* Turn an mdast `list` node into hast.
|
|
24313
24289
|
*
|
|
@@ -24356,12 +24332,11 @@ function list(state, node) {
|
|
|
24356
24332
|
}
|
|
24357
24333
|
|
|
24358
24334
|
/**
|
|
24359
|
-
* @
|
|
24360
|
-
* @
|
|
24361
|
-
* @
|
|
24335
|
+
* @import {Element} from 'hast'
|
|
24336
|
+
* @import {Paragraph} from 'mdast'
|
|
24337
|
+
* @import {State} from '../state.js'
|
|
24362
24338
|
*/
|
|
24363
24339
|
|
|
24364
|
-
|
|
24365
24340
|
/**
|
|
24366
24341
|
* Turn an mdast `paragraph` node into hast.
|
|
24367
24342
|
*
|
|
@@ -24385,13 +24360,11 @@ function paragraph(state, node) {
|
|
|
24385
24360
|
}
|
|
24386
24361
|
|
|
24387
24362
|
/**
|
|
24388
|
-
* @
|
|
24389
|
-
* @
|
|
24390
|
-
* @
|
|
24391
|
-
* @typedef {import('../state.js').State} State
|
|
24363
|
+
* @import {Parents as HastParents, Root as HastRoot} from 'hast'
|
|
24364
|
+
* @import {Root as MdastRoot} from 'mdast'
|
|
24365
|
+
* @import {State} from '../state.js'
|
|
24392
24366
|
*/
|
|
24393
24367
|
|
|
24394
|
-
|
|
24395
24368
|
/**
|
|
24396
24369
|
* Turn an mdast `root` node into hast.
|
|
24397
24370
|
*
|
|
@@ -24410,12 +24383,11 @@ function root(state, node) {
|
|
|
24410
24383
|
}
|
|
24411
24384
|
|
|
24412
24385
|
/**
|
|
24413
|
-
* @
|
|
24414
|
-
* @
|
|
24415
|
-
* @
|
|
24386
|
+
* @import {Element} from 'hast'
|
|
24387
|
+
* @import {Strong} from 'mdast'
|
|
24388
|
+
* @import {State} from '../state.js'
|
|
24416
24389
|
*/
|
|
24417
24390
|
|
|
24418
|
-
|
|
24419
24391
|
/**
|
|
24420
24392
|
* Turn an mdast `strong` node into hast.
|
|
24421
24393
|
*
|
|
@@ -24439,9 +24411,9 @@ function strong(state, node) {
|
|
|
24439
24411
|
}
|
|
24440
24412
|
|
|
24441
24413
|
/**
|
|
24442
|
-
* @
|
|
24443
|
-
* @
|
|
24444
|
-
* @
|
|
24414
|
+
* @import {Table} from 'mdast'
|
|
24415
|
+
* @import {Element} from 'hast'
|
|
24416
|
+
* @import {State} from '../state.js'
|
|
24445
24417
|
*/
|
|
24446
24418
|
|
|
24447
24419
|
|
|
@@ -24500,15 +24472,11 @@ function table(state, node) {
|
|
|
24500
24472
|
}
|
|
24501
24473
|
|
|
24502
24474
|
/**
|
|
24503
|
-
* @
|
|
24504
|
-
* @
|
|
24505
|
-
* @
|
|
24506
|
-
* @typedef {import('mdast').Parents} Parents
|
|
24507
|
-
* @typedef {import('mdast').TableRow} TableRow
|
|
24508
|
-
* @typedef {import('../state.js').State} State
|
|
24475
|
+
* @import {Element, ElementContent, Properties} from 'hast'
|
|
24476
|
+
* @import {Parents, TableRow} from 'mdast'
|
|
24477
|
+
* @import {State} from '../state.js'
|
|
24509
24478
|
*/
|
|
24510
24479
|
|
|
24511
|
-
|
|
24512
24480
|
/**
|
|
24513
24481
|
* Turn an mdast `tableRow` node into hast.
|
|
24514
24482
|
*
|
|
@@ -24568,12 +24536,11 @@ function tableRow(state, node, parent) {
|
|
|
24568
24536
|
}
|
|
24569
24537
|
|
|
24570
24538
|
/**
|
|
24571
|
-
* @
|
|
24572
|
-
* @
|
|
24573
|
-
* @
|
|
24539
|
+
* @import {Element} from 'hast'
|
|
24540
|
+
* @import {TableCell} from 'mdast'
|
|
24541
|
+
* @import {State} from '../state.js'
|
|
24574
24542
|
*/
|
|
24575
24543
|
|
|
24576
|
-
|
|
24577
24544
|
/**
|
|
24578
24545
|
* Turn an mdast `tableCell` node into hast.
|
|
24579
24546
|
*
|
|
@@ -24669,10 +24636,9 @@ function trimLine(value, start, end) {
|
|
|
24669
24636
|
}
|
|
24670
24637
|
|
|
24671
24638
|
/**
|
|
24672
|
-
* @
|
|
24673
|
-
* @
|
|
24674
|
-
* @
|
|
24675
|
-
* @typedef {import('../state.js').State} State
|
|
24639
|
+
* @import {Element as HastElement, Text as HastText} from 'hast'
|
|
24640
|
+
* @import {Text as MdastText} from 'mdast'
|
|
24641
|
+
* @import {State} from '../state.js'
|
|
24676
24642
|
*/
|
|
24677
24643
|
|
|
24678
24644
|
|
|
@@ -24694,12 +24660,11 @@ function text(state, node) {
|
|
|
24694
24660
|
}
|
|
24695
24661
|
|
|
24696
24662
|
/**
|
|
24697
|
-
* @
|
|
24698
|
-
* @
|
|
24699
|
-
* @
|
|
24663
|
+
* @import {Element} from 'hast'
|
|
24664
|
+
* @import {ThematicBreak} from 'mdast'
|
|
24665
|
+
* @import {State} from '../state.js'
|
|
24700
24666
|
*/
|
|
24701
24667
|
|
|
24702
|
-
|
|
24703
24668
|
/**
|
|
24704
24669
|
* Turn an mdast `thematicBreak` node into hast.
|
|
24705
24670
|
*
|
|
@@ -24722,10 +24687,15 @@ function thematicBreak(state, node) {
|
|
|
24722
24687
|
return state.applyData(node, result)
|
|
24723
24688
|
}
|
|
24724
24689
|
|
|
24690
|
+
/**
|
|
24691
|
+
* @import {Handlers} from '../state.js'
|
|
24692
|
+
*/
|
|
24693
|
+
|
|
24694
|
+
|
|
24725
24695
|
/**
|
|
24726
24696
|
* Default handlers for nodes.
|
|
24727
24697
|
*
|
|
24728
|
-
* @satisfies {
|
|
24698
|
+
* @satisfies {Handlers}
|
|
24729
24699
|
*/
|
|
24730
24700
|
const handlers = {
|
|
24731
24701
|
blockquote,
|
|
@@ -24764,10 +24734,8 @@ function ignore() {
|
|
|
24764
24734
|
}
|
|
24765
24735
|
|
|
24766
24736
|
/**
|
|
24767
|
-
* @
|
|
24768
|
-
* @
|
|
24769
|
-
*
|
|
24770
|
-
* @typedef {import('./state.js').State} State
|
|
24737
|
+
* @import {ElementContent, Element} from 'hast'
|
|
24738
|
+
* @import {State} from './state.js'
|
|
24771
24739
|
*/
|
|
24772
24740
|
|
|
24773
24741
|
|
|
@@ -24956,22 +24924,25 @@ function footer(state) {
|
|
|
24956
24924
|
}
|
|
24957
24925
|
|
|
24958
24926
|
/**
|
|
24959
|
-
* @
|
|
24960
|
-
*
|
|
24961
|
-
*
|
|
24962
|
-
*
|
|
24963
|
-
*
|
|
24964
|
-
*
|
|
24965
|
-
*
|
|
24966
|
-
*
|
|
24967
|
-
* @
|
|
24968
|
-
*
|
|
24969
|
-
*
|
|
24970
|
-
*
|
|
24971
|
-
*
|
|
24972
|
-
*
|
|
24973
|
-
* @
|
|
24974
|
-
* @
|
|
24927
|
+
* @import {
|
|
24928
|
+
* ElementContent as HastElementContent,
|
|
24929
|
+
* Element as HastElement,
|
|
24930
|
+
* Nodes as HastNodes,
|
|
24931
|
+
* Properties as HastProperties,
|
|
24932
|
+
* RootContent as HastRootContent,
|
|
24933
|
+
* Text as HastText
|
|
24934
|
+
* } from 'hast'
|
|
24935
|
+
* @import {
|
|
24936
|
+
* Definition as MdastDefinition,
|
|
24937
|
+
* FootnoteDefinition as MdastFootnoteDefinition,
|
|
24938
|
+
* Nodes as MdastNodes,
|
|
24939
|
+
* Parents as MdastParents
|
|
24940
|
+
* } from 'mdast'
|
|
24941
|
+
* @import {VFile} from 'vfile'
|
|
24942
|
+
* @import {
|
|
24943
|
+
* FootnoteBackContentTemplate,
|
|
24944
|
+
* FootnoteBackLabelTemplate
|
|
24945
|
+
* } from './footer.js'
|
|
24975
24946
|
*/
|
|
24976
24947
|
|
|
24977
24948
|
|
|
@@ -25271,9 +25242,9 @@ function trimMarkdownSpaceStart(value) {
|
|
|
25271
25242
|
}
|
|
25272
25243
|
|
|
25273
25244
|
/**
|
|
25274
|
-
* @
|
|
25275
|
-
* @
|
|
25276
|
-
* @
|
|
25245
|
+
* @import {Nodes as HastNodes} from 'hast'
|
|
25246
|
+
* @import {Nodes as MdastNodes} from 'mdast'
|
|
25247
|
+
* @import {Options} from './state.js'
|
|
25277
25248
|
*/
|
|
25278
25249
|
|
|
25279
25250
|
|