@likec4/core 1.46.4 → 1.48.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/LICENSE +1 -1
- package/dist/_chunks/Builder.view-element.mjs +3284 -0
- package/dist/_chunks/LikeC4Model.d.mts +1287 -0
- package/dist/_chunks/LikeC4Styles.mjs +691 -0
- package/dist/_chunks/RichText.d.mts +84 -0
- package/dist/_chunks/RichText.mjs +148 -0
- package/dist/_chunks/_aux.d.mts +289 -0
- package/dist/_chunks/_aux.mjs +18 -0
- package/dist/_chunks/_types.d.mts +781 -0
- package/dist/_chunks/_types2.d.mts +38 -0
- package/dist/_chunks/assignTagColors.mjs +24 -0
- package/dist/_chunks/calcDriftsFromSnapshot.mjs +379 -0
- package/dist/_chunks/connection.mjs +0 -0
- package/dist/_chunks/const.d.mts +43 -0
- package/dist/_chunks/const.mjs +33 -0
- package/dist/_chunks/expression-model.d.mts +192 -0
- package/dist/_chunks/expression-model.mjs +103 -0
- package/dist/_chunks/expression.d.mts +347 -0
- package/dist/_chunks/expression.mjs +107 -0
- package/dist/_chunks/find.d.mts +82 -0
- package/dist/_chunks/find.mjs +646 -0
- package/dist/_chunks/find2.d.mts +78 -0
- package/dist/_chunks/find2.mjs +287 -0
- package/dist/_chunks/fqnRef.d.mts +58 -0
- package/dist/_chunks/fqnRef.mjs +41 -0
- package/dist/_chunks/geometry.mjs +335 -0
- package/dist/_chunks/index.d.mts +169 -0
- package/dist/_chunks/index2.d.mts +937 -0
- package/dist/_chunks/index3.d.mts +146 -0
- package/dist/_chunks/index4.d.mts +62 -0
- package/dist/_chunks/index5.d.mts +42 -0
- package/dist/_chunks/index6.d.mts +43 -0
- package/dist/{shared/core.OtRNdMxy.d.mts → _chunks/index7.d.mts} +113 -197
- package/dist/_chunks/index8.d.mts +144 -0
- package/dist/_chunks/invariant.mjs +18 -0
- package/dist/_chunks/iterable.mjs +146 -0
- package/dist/_chunks/libs/@mantine/colors-generator.mjs +3416 -0
- package/dist/_chunks/libs/@ungap/structured-clone.mjs +213 -0
- package/dist/_chunks/libs/bail.mjs +14 -0
- package/dist/_chunks/libs/ccount.mjs +25 -0
- package/dist/_chunks/libs/character-entities-html4.mjs +263 -0
- package/dist/_chunks/libs/character-entities-legacy.mjs +117 -0
- package/dist/_chunks/libs/character-entities.mjs +2136 -0
- package/dist/_chunks/libs/comma-separated-tokens.mjs +18 -0
- package/dist/_chunks/libs/decode-named-character-reference.mjs +21 -0
- package/dist/_chunks/libs/defu.mjs +42 -0
- package/dist/_chunks/libs/devlop.mjs +5 -0
- package/dist/_chunks/libs/escape-string-regexp.mjs +8 -0
- package/dist/_chunks/libs/extend.mjs +77 -0
- package/dist/_chunks/libs/graphology-dag.mjs +703 -0
- package/dist/_chunks/libs/graphology-types.d.mts +601 -0
- package/dist/_chunks/libs/graphology.d.mts +6 -0
- package/dist/_chunks/libs/graphology.mjs +4565 -0
- package/dist/_chunks/libs/hast-util-sanitize.mjs +863 -0
- package/dist/_chunks/libs/hast-util-to-html.mjs +2696 -0
- package/dist/_chunks/libs/is-plain-obj.mjs +9 -0
- package/dist/_chunks/libs/longest-streak.mjs +30 -0
- package/dist/_chunks/libs/markdown-table.mjs +290 -0
- package/dist/_chunks/libs/mdast-util-find-and-replace.mjs +653 -0
- package/dist/_chunks/libs/mdast-util-from-markdown.mjs +8522 -0
- package/dist/_chunks/libs/mdast-util-gfm.mjs +2393 -0
- package/dist/_chunks/libs/mdast-util-to-hast.mjs +1803 -0
- package/dist/_chunks/libs/micromark-extension-gfm.mjs +2243 -0
- package/dist/_chunks/libs/mnemonist.d.mts +254 -0
- package/dist/_chunks/libs/mnemonist.mjs +1978 -0
- package/dist/_chunks/libs/natural-compare-lite.mjs +42 -0
- package/dist/_chunks/libs/rehype-sanitize.mjs +29 -0
- package/dist/_chunks/libs/rehype-stringify.mjs +34 -0
- package/dist/_chunks/libs/remark-gfm.mjs +36 -0
- package/dist/_chunks/libs/remark-github-blockquote-alert.mjs +100 -0
- package/dist/_chunks/libs/remark-parse.mjs +39 -0
- package/dist/_chunks/libs/remark-rehype.mjs +171 -0
- package/dist/_chunks/libs/remeda.mjs +702 -0
- package/dist/_chunks/libs/trough.mjs +158 -0
- package/dist/_chunks/libs/unified.mjs +2212 -0
- package/dist/_chunks/mnemonist.d.mts +1 -0
- package/dist/_chunks/mnemonist.mjs +0 -0
- package/dist/_chunks/model.mjs +1898 -0
- package/dist/_chunks/model2.mjs +0 -0
- package/dist/_chunks/relationships-view.mjs +132 -0
- package/dist/_chunks/rolldown-runtime.mjs +42 -0
- package/dist/{shared/core.C_3y3eqV.d.mts → _chunks/scalar.d.mts} +13 -43
- package/dist/_chunks/scalar.mjs +84 -0
- package/dist/_chunks/utils.mjs +483 -0
- package/dist/builder/index.d.mts +11 -773
- package/dist/builder/index.mjs +631 -978
- package/dist/compute-view/index.d.mts +90 -27
- package/dist/compute-view/index.mjs +253 -83
- package/dist/compute-view/relationships-view/index.d.mts +16 -51
- package/dist/compute-view/relationships-view/index.mjs +6 -184
- package/dist/geometry/index.d.mts +2 -109
- package/dist/geometry/index.mjs +2 -327
- package/dist/index.d.mts +18 -20
- package/dist/index.mjs +27 -18
- package/dist/model/connection/deployment/index.d.mts +12 -15
- package/dist/model/connection/deployment/index.mjs +9 -2
- package/dist/model/connection/index.d.mts +14 -75
- package/dist/model/connection/index.mjs +10 -3
- package/dist/model/connection/model/index.d.mts +12 -15
- package/dist/model/connection/model/index.mjs +8 -2
- package/dist/model/index.d.mts +15 -57
- package/dist/model/index.mjs +11 -4
- package/dist/styles/index.d.mts +9 -117
- package/dist/styles/index.mjs +26 -59
- package/dist/types/RichText.d.mts +3 -0
- package/dist/types/RichText.mjs +7 -0
- package/dist/types/_aux.d.mts +3 -4
- package/dist/types/_aux.mjs +2 -7
- package/dist/types/expression-model.d.mts +6 -190
- package/dist/types/expression-model.mjs +6 -108
- package/dist/types/expression.d.mts +5 -6
- package/dist/types/expression.mjs +6 -112
- package/dist/types/fqnRef.d.mts +4 -60
- package/dist/types/fqnRef.mjs +6 -44
- package/dist/types/index.d.mts +9 -47
- package/dist/types/index.mjs +14 -16
- package/dist/types/scalar.d.mts +2 -2
- package/dist/types/scalar.mjs +7 -4
- package/dist/utils/graphology/index.d.mts +2 -1864
- package/dist/utils/graphology/index.mjs +3 -1
- package/dist/utils/index.d.mts +11 -124
- package/dist/utils/index.mjs +16 -43
- package/dist/utils/iterable/index.d.mts +9 -132
- package/dist/utils/iterable/index.mjs +2 -61
- package/dist/utils/mnemonist.d.mts +2 -0
- package/dist/utils/mnemonist.mjs +12 -0
- package/package.json +18 -22
- package/compute-view/relationships/package.json +0 -4
- package/dist/shared/core.3ZhnKAlZ.mjs +0 -106
- package/dist/shared/core.78IWAHAE.mjs +0 -332
- package/dist/shared/core.B85MJLTf.mjs +0 -5
- package/dist/shared/core.BFd1lU9R.mjs +0 -29
- package/dist/shared/core.BKlholso.mjs +0 -3
- package/dist/shared/core.BPGOjone.d.mts +0 -46
- package/dist/shared/core.BYdtmqY5.mjs +0 -1255
- package/dist/shared/core.BZCgljZd.d.mts +0 -83
- package/dist/shared/core.BbE4y-yl.mjs +0 -177
- package/dist/shared/core.BhNcrwzK.mjs +0 -7
- package/dist/shared/core.BkVA6gjl.mjs +0 -5
- package/dist/shared/core.BoYfZOBm.mjs +0 -3
- package/dist/shared/core.BsSXS-_R.mjs +0 -7
- package/dist/shared/core.BspBF3SJ.mjs +0 -3944
- package/dist/shared/core.BvPm_-u3.d.mts +0 -334
- package/dist/shared/core.C-Jdx7xo.d.mts +0 -1263
- package/dist/shared/core.C3JowhaZ.mjs +0 -32
- package/dist/shared/core.C4x8aaWa.mjs +0 -27
- package/dist/shared/core.CBLX4mT8.mjs +0 -28411
- package/dist/shared/core.CLSZtnFh.mjs +0 -69
- package/dist/shared/core.CRhT4Iio.mjs +0 -785
- package/dist/shared/core.CbT8JVYL.mjs +0 -5
- package/dist/shared/core.CdNCAwq7.mjs +0 -176
- package/dist/shared/core.ClTP6-TN.d.mts +0 -87
- package/dist/shared/core.CmGY9blO.mjs +0 -6717
- package/dist/shared/core.CmPXpJ8l.mjs +0 -21
- package/dist/shared/core.Coi_LOUZ.mjs +0 -7
- package/dist/shared/core.CqAJJpK_.mjs +0 -3
- package/dist/shared/core.Ctj2S3bD.d.mts +0 -466
- package/dist/shared/core.CywrQs86.d.mts +0 -31
- package/dist/shared/core.D00YbOhQ.d.mts +0 -300
- package/dist/shared/core.D0WZutNd.mjs +0 -94
- package/dist/shared/core.D4npX2q8.mjs +0 -18
- package/dist/shared/core.DB0Ue5Wx.d.mts +0 -70
- package/dist/shared/core.DEK-BO3_.mjs +0 -1206
- package/dist/shared/core.DH7TXqXf.mjs +0 -136
- package/dist/shared/core.DRJma0Ol.mjs +0 -22
- package/dist/shared/core.DSalPD6v.mjs +0 -1352
- package/dist/shared/core.DVfPJPJj.mjs +0 -2200
- package/dist/shared/core.DXhDWKFZ.d.mts +0 -3
- package/dist/shared/core.DbfO90vF.mjs +0 -434
- package/dist/shared/core.DcS-0zys.mjs +0 -10
- package/dist/shared/core.DeDCYTDR.d.mts +0 -98
- package/dist/shared/core.DpKY_3NF.d.mts +0 -504
- package/dist/shared/core.Dt0v3djy.d.mts +0 -41
- package/dist/shared/core.FZ305VYd.mjs +0 -21
- package/dist/shared/core.RfnaEmgA.mjs +0 -7
- package/dist/shared/core.oSV6SRfk.mjs +0 -13
- package/dist/shared/core.om36dXXW.mjs +0 -41
- package/dist/shared/core.q10OP9oJ.mjs +0 -5
- package/dist/shared/core.uFk_o9X6.mjs +0 -13
- package/dist/shared/core.xeuDd__E.mjs +0 -300
- package/dist/shared/core.xgoPk2RG.mjs +0 -4989
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { C as Connection, c as customInspectSymbol } from './core.Dt0v3djy.mjs';
|
|
2
|
-
import { E as ElementModel, R as RelationshipModel } from './core.C-Jdx7xo.mjs';
|
|
3
|
-
import { A as Any, U as Unknown, z as EdgeId } from './core.D00YbOhQ.mjs';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Connection refers to any relationships between two elements,
|
|
7
|
-
* both direct and implicit ones (between their nested elements).
|
|
8
|
-
*
|
|
9
|
-
* Merges relationships together to an single edge on the diagram.
|
|
10
|
-
*/
|
|
11
|
-
declare class ConnectionModel<A extends Any = Unknown> implements Connection<ElementModel<A>, EdgeId> {
|
|
12
|
-
readonly source: ElementModel<A>;
|
|
13
|
-
readonly target: ElementModel<A>;
|
|
14
|
-
readonly relations: ReadonlySet<RelationshipModel<A>>;
|
|
15
|
-
readonly id: EdgeId;
|
|
16
|
-
constructor(source: ElementModel<A>, target: ElementModel<A>, relations?: ReadonlySet<RelationshipModel<A>>);
|
|
17
|
-
private _boundary;
|
|
18
|
-
/**
|
|
19
|
-
* Common ancestor of the source and target elements.
|
|
20
|
-
* Represents the boundary of the connection.
|
|
21
|
-
*/
|
|
22
|
-
get boundary(): ElementModel<A> | null;
|
|
23
|
-
/**
|
|
24
|
-
* Human readable expression of the connection
|
|
25
|
-
* Mostly used for testing and debugging
|
|
26
|
-
*/
|
|
27
|
-
get expression(): string;
|
|
28
|
-
/**
|
|
29
|
-
* Returns true if only includes relations between the source and target elements.
|
|
30
|
-
*/
|
|
31
|
-
get isDirect(): boolean;
|
|
32
|
-
/**
|
|
33
|
-
* Returns true if includes relations between nested elements of the source and target elements.
|
|
34
|
-
*/
|
|
35
|
-
get isImplicit(): boolean;
|
|
36
|
-
get directRelations(): ReadonlySet<RelationshipModel<A>>;
|
|
37
|
-
nonEmpty(): boolean;
|
|
38
|
-
mergeWith(other: ConnectionModel<A>): ConnectionModel<A>;
|
|
39
|
-
difference(other: ConnectionModel<A>): ConnectionModel<A>;
|
|
40
|
-
intersect(other: ConnectionModel<A>): ConnectionModel<A>;
|
|
41
|
-
equals(other: Connection): boolean;
|
|
42
|
-
/**
|
|
43
|
-
* Returns a new instance with the updated relations.
|
|
44
|
-
*
|
|
45
|
-
* @param relations - A readonly set of `RelationshipModel` instances representing the new relations.
|
|
46
|
-
* @returns A new `ConnectionModel` instance with the updated relations.
|
|
47
|
-
*/
|
|
48
|
-
update(relations: ReadonlySet<RelationshipModel<A>>): ConnectionModel<A>;
|
|
49
|
-
[customInspectSymbol](_depth: any, _inspectOptions: any, _inspect: any): string;
|
|
50
|
-
toString(): string;
|
|
51
|
-
/**
|
|
52
|
-
* Creates a new connection with reversed direction (target becomes source and vice versa)
|
|
53
|
-
* @param search - When true, attempts to find an existing connection between the reversed nodes
|
|
54
|
-
*/
|
|
55
|
-
reversed(search?: boolean): ConnectionModel<A>;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* Resolve connection from source to target
|
|
60
|
-
*
|
|
61
|
-
* @param direction - if 'both', also returns connection from target to source
|
|
62
|
-
* @default `directed`
|
|
63
|
-
*/
|
|
64
|
-
declare function findConnection<A extends Any>(source: ElementModel<A>, target: ElementModel<A>, direction?: 'directed' | 'both'): [ConnectionModel<A>, ConnectionModel<A>] | [ConnectionModel<A>] | [];
|
|
65
|
-
/**
|
|
66
|
-
* Resolve all connections between element and others
|
|
67
|
-
* @param direction - if 'directed', only look for outgoing connections from the element to others
|
|
68
|
-
* @default `both`
|
|
69
|
-
*/
|
|
70
|
-
declare function findConnectionsBetween<M extends Any>(element: ElementModel<M>, others: Iterable<ElementModel<M>>, direction?: 'directed' | 'both'): readonly ConnectionModel<M>[];
|
|
71
|
-
/**
|
|
72
|
-
* Resolve all connections within a given set of elements
|
|
73
|
-
*/
|
|
74
|
-
declare function findConnectionsWithin<M extends Any>(elements: Iterable<ElementModel<M>>): readonly ConnectionModel<M>[];
|
|
75
|
-
|
|
76
|
-
declare const find_findConnection: typeof findConnection;
|
|
77
|
-
declare const find_findConnectionsBetween: typeof findConnectionsBetween;
|
|
78
|
-
declare const find_findConnectionsWithin: typeof findConnectionsWithin;
|
|
79
|
-
declare namespace find {
|
|
80
|
-
export { find_findConnection as findConnection, find_findConnectionsBetween as findConnectionsBetween, find_findConnectionsWithin as findConnectionsWithin };
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
export { ConnectionModel as C, findConnection as a, findConnectionsBetween as b, findConnectionsWithin as c, find as f };
|
|
@@ -1,177 +0,0 @@
|
|
|
1
|
-
import { g as getDefaultExportFromCjs } from './core.B85MJLTf.mjs';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Mnemonist DefaultMap
|
|
5
|
-
* =====================
|
|
6
|
-
*
|
|
7
|
-
* JavaScript implementation of a default map that will return a constructed
|
|
8
|
-
* value any time one tries to access an inexisting key. It's quite similar
|
|
9
|
-
* to python's defaultdict.
|
|
10
|
-
*/
|
|
11
|
-
|
|
12
|
-
var defaultMap;
|
|
13
|
-
var hasRequiredDefaultMap;
|
|
14
|
-
|
|
15
|
-
function requireDefaultMap () {
|
|
16
|
-
if (hasRequiredDefaultMap) return defaultMap;
|
|
17
|
-
hasRequiredDefaultMap = 1;
|
|
18
|
-
/**
|
|
19
|
-
* DefaultMap.
|
|
20
|
-
*
|
|
21
|
-
* @constructor
|
|
22
|
-
*/
|
|
23
|
-
function DefaultMap(factory) {
|
|
24
|
-
if (typeof factory !== 'function')
|
|
25
|
-
throw new Error('mnemonist/DefaultMap.constructor: expecting a function.');
|
|
26
|
-
|
|
27
|
-
this.items = new Map();
|
|
28
|
-
this.factory = factory;
|
|
29
|
-
this.size = 0;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* Method used to clear the structure.
|
|
34
|
-
*
|
|
35
|
-
* @return {undefined}
|
|
36
|
-
*/
|
|
37
|
-
DefaultMap.prototype.clear = function() {
|
|
38
|
-
|
|
39
|
-
// Properties
|
|
40
|
-
this.items.clear();
|
|
41
|
-
this.size = 0;
|
|
42
|
-
};
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* Method used to get the value set for given key. If the key does not exist,
|
|
46
|
-
* the value will be created using the provided factory.
|
|
47
|
-
*
|
|
48
|
-
* @param {any} key - Target key.
|
|
49
|
-
* @return {any}
|
|
50
|
-
*/
|
|
51
|
-
DefaultMap.prototype.get = function(key) {
|
|
52
|
-
var value = this.items.get(key);
|
|
53
|
-
|
|
54
|
-
if (typeof value === 'undefined') {
|
|
55
|
-
value = this.factory(key, this.size);
|
|
56
|
-
this.items.set(key, value);
|
|
57
|
-
this.size++;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
return value;
|
|
61
|
-
};
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* Method used to get the value set for given key. If the key does not exist,
|
|
65
|
-
* a value won't be created.
|
|
66
|
-
*
|
|
67
|
-
* @param {any} key - Target key.
|
|
68
|
-
* @return {any}
|
|
69
|
-
*/
|
|
70
|
-
DefaultMap.prototype.peek = function(key) {
|
|
71
|
-
return this.items.get(key);
|
|
72
|
-
};
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* Method used to set a value for given key.
|
|
76
|
-
*
|
|
77
|
-
* @param {any} key - Target key.
|
|
78
|
-
* @param {any} value - Value.
|
|
79
|
-
* @return {DefaultMap}
|
|
80
|
-
*/
|
|
81
|
-
DefaultMap.prototype.set = function(key, value) {
|
|
82
|
-
this.items.set(key, value);
|
|
83
|
-
this.size = this.items.size;
|
|
84
|
-
|
|
85
|
-
return this;
|
|
86
|
-
};
|
|
87
|
-
|
|
88
|
-
/**
|
|
89
|
-
* Method used to test the existence of a key in the map.
|
|
90
|
-
*
|
|
91
|
-
* @param {any} key - Target key.
|
|
92
|
-
* @return {boolean}
|
|
93
|
-
*/
|
|
94
|
-
DefaultMap.prototype.has = function(key) {
|
|
95
|
-
return this.items.has(key);
|
|
96
|
-
};
|
|
97
|
-
|
|
98
|
-
/**
|
|
99
|
-
* Method used to delete target key.
|
|
100
|
-
*
|
|
101
|
-
* @param {any} key - Target key.
|
|
102
|
-
* @return {boolean}
|
|
103
|
-
*/
|
|
104
|
-
DefaultMap.prototype.delete = function(key) {
|
|
105
|
-
var deleted = this.items.delete(key);
|
|
106
|
-
|
|
107
|
-
this.size = this.items.size;
|
|
108
|
-
|
|
109
|
-
return deleted;
|
|
110
|
-
};
|
|
111
|
-
|
|
112
|
-
/**
|
|
113
|
-
* Method used to iterate over each of the key/value pairs.
|
|
114
|
-
*
|
|
115
|
-
* @param {function} callback - Function to call for each item.
|
|
116
|
-
* @param {object} scope - Optional scope.
|
|
117
|
-
* @return {undefined}
|
|
118
|
-
*/
|
|
119
|
-
DefaultMap.prototype.forEach = function(callback, scope) {
|
|
120
|
-
scope = arguments.length > 1 ? scope : this;
|
|
121
|
-
|
|
122
|
-
this.items.forEach(callback, scope);
|
|
123
|
-
};
|
|
124
|
-
|
|
125
|
-
/**
|
|
126
|
-
* Iterators.
|
|
127
|
-
*/
|
|
128
|
-
DefaultMap.prototype.entries = function() {
|
|
129
|
-
return this.items.entries();
|
|
130
|
-
};
|
|
131
|
-
|
|
132
|
-
DefaultMap.prototype.keys = function() {
|
|
133
|
-
return this.items.keys();
|
|
134
|
-
};
|
|
135
|
-
|
|
136
|
-
DefaultMap.prototype.values = function() {
|
|
137
|
-
return this.items.values();
|
|
138
|
-
};
|
|
139
|
-
|
|
140
|
-
/**
|
|
141
|
-
* Attaching the #.entries method to Symbol.iterator if possible.
|
|
142
|
-
*/
|
|
143
|
-
if (typeof Symbol !== 'undefined')
|
|
144
|
-
DefaultMap.prototype[Symbol.iterator] = DefaultMap.prototype.entries;
|
|
145
|
-
|
|
146
|
-
/**
|
|
147
|
-
* Convenience known methods.
|
|
148
|
-
*/
|
|
149
|
-
DefaultMap.prototype.inspect = function() {
|
|
150
|
-
return this.items;
|
|
151
|
-
};
|
|
152
|
-
|
|
153
|
-
if (typeof Symbol !== 'undefined')
|
|
154
|
-
DefaultMap.prototype[Symbol.for('nodejs.util.inspect.custom')] = DefaultMap.prototype.inspect;
|
|
155
|
-
|
|
156
|
-
/**
|
|
157
|
-
* Typical factories.
|
|
158
|
-
*/
|
|
159
|
-
DefaultMap.autoIncrement = function() {
|
|
160
|
-
var i = 0;
|
|
161
|
-
|
|
162
|
-
return function() {
|
|
163
|
-
return i++;
|
|
164
|
-
};
|
|
165
|
-
};
|
|
166
|
-
|
|
167
|
-
/**
|
|
168
|
-
* Exporting.
|
|
169
|
-
*/
|
|
170
|
-
defaultMap = DefaultMap;
|
|
171
|
-
return defaultMap;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
var defaultMapExports = /*@__PURE__*/ requireDefaultMap();
|
|
175
|
-
const DefaultMap = /*@__PURE__*/getDefaultExportFromCjs(defaultMapExports);
|
|
176
|
-
|
|
177
|
-
export { DefaultMap as D };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { t as t$1, a as t$2 } from './core.3ZhnKAlZ.mjs';
|
|
2
|
-
|
|
3
|
-
function t(t,n){let r=n.length-t.length;if(r===1){let[r,...i]=n;return t$1(r,{lazy:t,lazyArgs:i})}if(r===0){let r={lazy:t,lazyArgs:n};return Object.assign(t=>t$1(t,r),r)}throw Error(`Wrong number of arguments`)}
|
|
4
|
-
|
|
5
|
-
function n(...e){return t(r,e)}function r(){let t=new Set;return n=>t.has(n)?t$2:(t.add(n),{done:false,hasNext:true,next:n})}
|
|
6
|
-
|
|
7
|
-
export { n };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
function e(e,t,n){let r=n=>e(n,...t);return n===void 0?r:Object.assign(r,{lazy:n,lazyArgs:t})}
|
|
2
|
-
|
|
3
|
-
function t$1(t,n,r){let i=t.length-n.length;if(i===0)return t(...n);if(i===1)return e(t,n,r);throw Error(`Wrong number of arguments`)}
|
|
4
|
-
|
|
5
|
-
function t(...t){return t$1(n,t)}const n=(e,t)=>e.length>=t;
|
|
6
|
-
|
|
7
|
-
export { t as a, t$1 as t };
|