@code0-tech/pictor 0.0.0-mvp.40 → 0.0.0-mvp.42

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.
Files changed (56) hide show
  1. package/dist/assets/components/data-table/DataTable.style.css +1 -0
  2. package/dist/assets/components/menu/Menu.style.css +1 -1
  3. package/dist/components/d-flow/DFlow.service.js +80 -100
  4. package/dist/components/d-flow-data-type/DFlowDataType.service.js +6 -7
  5. package/dist/components/d-flow-data-type/rules/DFlowDataTypeContainsKeyRule.d.ts +1 -1
  6. package/dist/components/d-flow-data-type/rules/DFlowDataTypeContainsKeyRule.js +15 -15
  7. package/dist/components/d-flow-data-type/rules/DFlowDataTypeContainsTypeRule.d.ts +1 -1
  8. package/dist/components/d-flow-data-type/rules/DFlowDataTypeContainsTypeRule.js +17 -17
  9. package/dist/components/d-flow-data-type/rules/DFlowDataTypeParentRule.d.ts +1 -1
  10. package/dist/components/d-flow-data-type/rules/DFlowDataTypeParentRule.js +1 -1
  11. package/dist/components/d-flow-data-type/rules/DFlowDataTypeReturnTypeRule.d.ts +2 -1
  12. package/dist/components/d-flow-data-type/rules/DFlowDataTypeReturnTypeRule.js +87 -85
  13. package/dist/components/d-flow-data-type/rules/DFlowDataTypeRule.d.ts +2 -1
  14. package/dist/components/d-flow-function/DFlowFunction.input.hook.d.ts +2 -1
  15. package/dist/components/d-flow-function/DFlowFunction.input.hook.js +5 -5
  16. package/dist/components/d-flow-function/DFlowFunction.return.hook.d.ts +2 -1
  17. package/dist/components/d-flow-function/DFlowFunction.return.hook.js +5 -5
  18. package/dist/components/d-flow-input/DFlowInputDataTypeEditDialog.js +1 -1
  19. package/dist/components/d-flow-input/DFlowInputReferenceBadge.js +17 -17
  20. package/dist/components/d-flow-node/DFlowNode.return.hook.d.ts +5 -0
  21. package/dist/components/d-flow-node/DFlowNode.return.hook.js +27 -0
  22. package/dist/components/d-flow-suggestion/DFlowReferenceSuggestions.hook.js +90 -91
  23. package/dist/components/d-flow-validation/DDataTypeValidation.hook.js +1 -1
  24. package/dist/components/d-flow-validation/DNodeValidation.hook.js +33 -33
  25. package/dist/components/d-flow-validation/DValueValidation.hook.d.ts +2 -1
  26. package/dist/components/d-flow-validation/DValueValidation.hook.js +5 -5
  27. package/dist/components/d-project/DNamespaceProject.service.d.ts +2 -1
  28. package/dist/components/data-table/DataTable.d.ts +23 -0
  29. package/dist/components/data-table/DataTable.js +41 -0
  30. package/dist/components/data-table/DataTableColumn.d.ts +6 -0
  31. package/dist/components/data-table/DataTableColumn.js +22 -0
  32. package/dist/components/data-table/DataTableFilterInput.d.ts +18 -0
  33. package/dist/components/data-table/DataTableFilterInput.js +210 -0
  34. package/dist/components/data-table/DataTableFilterSuggestionMenu.d.ts +7 -0
  35. package/dist/components/data-table/DataTableFilterSuggestionMenu.js +53 -0
  36. package/dist/components/data-table/index.d.ts +4 -0
  37. package/dist/components/data-table/index.js +11 -0
  38. package/dist/components/editor/Editor.d.ts +9 -3
  39. package/dist/components/editor/Editor.js +249 -174
  40. package/dist/components/menu/Menu.d.ts +5 -1
  41. package/dist/components/menu/Menu.js +73 -57
  42. package/dist/index.d.ts +1 -0
  43. package/dist/index.js +182 -171
  44. package/dist/node_modules/@lezer/highlight/dist/index.js +132 -169
  45. package/dist/utils/generics.d.ts +2 -1
  46. package/dist/utils/generics.js +84 -80
  47. package/package.json +32 -21
  48. package/dist/node_modules/@codemirror/language/dist/index.js +0 -429
  49. package/dist/node_modules/@codemirror/lint/dist/index.js +0 -515
  50. package/dist/node_modules/@codemirror/state/dist/index.js +0 -2614
  51. package/dist/node_modules/@codemirror/view/dist/index.js +0 -6227
  52. package/dist/node_modules/@lezer/common/dist/index.js +0 -1357
  53. package/dist/node_modules/@marijn/find-cluster-break/src/index.js +0 -69
  54. package/dist/node_modules/crelt/index.js +0 -27
  55. package/dist/node_modules/style-mod/src/style-mod.js +0 -109
  56. package/dist/node_modules/w3c-keyname/index.js +0 -88
@@ -1,11 +1,11 @@
1
- import { NodeProp as q } from "../../common/dist/index.js";
2
- let B = 0;
3
- class d {
1
+ import { NodeProp as q } from "@lezer/common";
2
+ let A = 0;
3
+ class l {
4
4
  /**
5
5
  @internal
6
6
  */
7
- constructor(t, a, n, i) {
8
- this.name = t, this.set = a, this.base = n, this.modified = i, this.id = B++;
7
+ constructor(t, a, i, n) {
8
+ this.name = t, this.set = a, this.base = i, this.modified = n, this.id = A++;
9
9
  }
10
10
  toString() {
11
11
  let { name: t } = this;
@@ -14,14 +14,14 @@ class d {
14
14
  return t;
15
15
  }
16
16
  static define(t, a) {
17
- let n = typeof t == "string" ? t : "?";
18
- if (t instanceof d && (a = t), a?.base)
17
+ let i = typeof t == "string" ? t : "?";
18
+ if (t instanceof l && (a = t), a?.base)
19
19
  throw new Error("Can not derive from a modified tag");
20
- let i = new d(n, [], null, []);
21
- if (i.set.push(i), a)
22
- for (let s of a.set)
23
- i.set.push(s);
24
- return i;
20
+ let n = new l(i, [], null, []);
21
+ if (n.set.push(n), a)
22
+ for (let r of a.set)
23
+ n.set.push(r);
24
+ return n;
25
25
  }
26
26
  /**
27
27
  Define a tag _modifier_, which is a function that, given a tag,
@@ -36,93 +36,57 @@ class d {
36
36
  `m1(m3(t1)`, and so on.
37
37
  */
38
38
  static defineModifier(t) {
39
- let a = new M(t);
40
- return (n) => n.modified.indexOf(a) > -1 ? n : M.get(n.base || n, n.modified.concat(a).sort((i, s) => i.id - s.id));
39
+ let a = new b(t);
40
+ return (i) => i.modified.indexOf(a) > -1 ? i : b.get(i.base || i, i.modified.concat(a).sort((n, r) => n.id - r.id));
41
41
  }
42
42
  }
43
- let D = 0;
44
- class M {
43
+ let I = 0;
44
+ class b {
45
45
  constructor(t) {
46
- this.name = t, this.instances = [], this.id = D++;
46
+ this.name = t, this.instances = [], this.id = I++;
47
47
  }
48
48
  static get(t, a) {
49
49
  if (!a.length)
50
50
  return t;
51
- let n = a[0].instances.find((l) => l.base == t && T(a, l.modified));
52
- if (n)
53
- return n;
54
- let i = [], s = new d(t.name, i, t, a);
55
- for (let l of a)
56
- l.instances.push(s);
57
- let c = $(a);
58
- for (let l of t.set)
59
- if (!l.modified.length)
60
- for (let h of c)
61
- i.push(M.get(l, h));
62
- return s;
51
+ let i = a[0].instances.find((g) => g.base == t && j(a, g.modified));
52
+ if (i)
53
+ return i;
54
+ let n = [], r = new l(t.name, n, t, a);
55
+ for (let g of a)
56
+ g.instances.push(r);
57
+ let f = B(a);
58
+ for (let g of t.set)
59
+ if (!g.modified.length)
60
+ for (let w of f)
61
+ n.push(b.get(g, w));
62
+ return r;
63
63
  }
64
64
  }
65
- function T(r, t) {
66
- return r.length == t.length && r.every((a, n) => a == t[n]);
65
+ function j(s, t) {
66
+ return s.length == t.length && s.every((a, i) => a == t[i]);
67
67
  }
68
- function $(r) {
68
+ function B(s) {
69
69
  let t = [[]];
70
- for (let a = 0; a < r.length; a++)
71
- for (let n = 0, i = t.length; n < i; n++)
72
- t.push(t[n].concat(r[a]));
73
- return t.sort((a, n) => n.length - a.length);
74
- }
75
- function V(r) {
76
- let t = /* @__PURE__ */ Object.create(null);
77
- for (let a in r) {
78
- let n = r[a];
79
- Array.isArray(n) || (n = [n]);
80
- for (let i of a.split(" "))
81
- if (i) {
82
- let s = [], c = 2, l = i;
83
- for (let N = 0; ; ) {
84
- if (l == "..." && N > 0 && N + 3 == i.length) {
85
- c = 1;
86
- break;
87
- }
88
- let b = /^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(l);
89
- if (!b)
90
- throw new RangeError("Invalid path: " + i);
91
- if (s.push(b[0] == "*" ? "" : b[0][0] == '"' ? JSON.parse(b[0]) : b[0]), N += b[0].length, N == i.length)
92
- break;
93
- let A = i[N++];
94
- if (N == i.length && A == "!") {
95
- c = 0;
96
- break;
97
- }
98
- if (A != "/")
99
- throw new RangeError("Invalid path: " + i);
100
- l = i.slice(N);
101
- }
102
- let h = s.length - 1, k = s[h];
103
- if (!k)
104
- throw new RangeError("Invalid path: " + i);
105
- let j = new C(n, c, h > 0 ? s.slice(0, h) : null);
106
- t[k] = j.sort(t[k]);
107
- }
108
- }
109
- return R.add(t);
70
+ for (let a = 0; a < s.length; a++)
71
+ for (let i = 0, n = t.length; i < n; i++)
72
+ t.push(t[i].concat(s[a]));
73
+ return t.sort((a, i) => i.length - a.length);
110
74
  }
111
- const R = new q({
112
- combine(r, t) {
113
- let a, n, i;
114
- for (; r || t; ) {
115
- if (!r || t && r.depth >= t.depth ? (i = t, t = t.next) : (i = r, r = r.next), a && a.mode == i.mode && !i.context && !a.context)
75
+ const D = new q({
76
+ combine(s, t) {
77
+ let a, i, n;
78
+ for (; s || t; ) {
79
+ if (!s || t && s.depth >= t.depth ? (n = t, t = t.next) : (n = s, s = s.next), a && a.mode == n.mode && !n.context && !a.context)
116
80
  continue;
117
- let s = new C(i.tags, i.mode, i.context);
118
- a ? a.next = s : n = s, a = s;
81
+ let r = new O(n.tags, n.mode, n.context);
82
+ a ? a.next = r : i = r, a = r;
119
83
  }
120
- return n;
84
+ return i;
121
85
  }
122
86
  });
123
- class C {
124
- constructor(t, a, n, i) {
125
- this.tags = t, this.mode = a, this.context = n, this.next = i;
87
+ class O {
88
+ constructor(t, a, i, n) {
89
+ this.tags = t, this.mode = a, this.context = i, this.next = n;
126
90
  }
127
91
  get opaque() {
128
92
  return this.mode == 0;
@@ -137,55 +101,55 @@ class C {
137
101
  return this.context ? this.context.length : 0;
138
102
  }
139
103
  }
140
- C.empty = new C([], 2, null);
141
- function H(r, t) {
104
+ O.empty = new O([], 2, null);
105
+ function $(s, t) {
142
106
  let a = /* @__PURE__ */ Object.create(null);
143
- for (let s of r)
144
- if (!Array.isArray(s.tag))
145
- a[s.tag.id] = s.class;
107
+ for (let r of s)
108
+ if (!Array.isArray(r.tag))
109
+ a[r.tag.id] = r.class;
146
110
  else
147
- for (let c of s.tag)
148
- a[c.id] = s.class;
149
- let { scope: n, all: i = null } = {};
111
+ for (let f of r.tag)
112
+ a[f.id] = r.class;
113
+ let { scope: i, all: n = null } = {};
150
114
  return {
151
- style: (s) => {
152
- let c = i;
153
- for (let l of s)
154
- for (let h of l.set) {
155
- let k = a[h.id];
156
- if (k) {
157
- c = c ? c + " " + k : k;
115
+ style: (r) => {
116
+ let f = n;
117
+ for (let g of r)
118
+ for (let w of g.set) {
119
+ let v = a[w.id];
120
+ if (v) {
121
+ f = f ? f + " " + v : v;
158
122
  break;
159
123
  }
160
124
  }
161
- return c;
125
+ return f;
162
126
  },
163
- scope: n
127
+ scope: i
164
128
  };
165
129
  }
166
- function z(r) {
167
- let t = r.type.prop(R);
168
- for (; t && t.context && !r.matchContext(t.context); )
130
+ function H(s) {
131
+ let t = s.type.prop(D);
132
+ for (; t && t.context && !s.matchContext(t.context); )
169
133
  t = t.next;
170
134
  return t || null;
171
135
  }
172
- const e = d.define, x = e(), p = e(), E = e(p), K = e(p), u = e(), v = e(u), I = e(u), m = e(), y = e(m), f = e(), g = e(), S = e(), w = e(S), O = e(), o = {
136
+ const e = l.define, N = e(), p = e(), S = e(p), K = e(p), u = e(), y = e(u), M = e(u), m = e(), h = e(m), c = e(), d = e(), C = e(), k = e(C), x = e(), o = {
173
137
  /**
174
138
  A comment.
175
139
  */
176
- comment: x,
140
+ comment: N,
177
141
  /**
178
142
  A line [comment](#highlight.tags.comment).
179
143
  */
180
- lineComment: e(x),
144
+ lineComment: e(N),
181
145
  /**
182
146
  A block [comment](#highlight.tags.comment).
183
147
  */
184
- blockComment: e(x),
148
+ blockComment: e(N),
185
149
  /**
186
150
  A documentation [comment](#highlight.tags.comment).
187
151
  */
188
- docComment: e(x),
152
+ docComment: e(N),
189
153
  /**
190
154
  Any kind of identifier.
191
155
  */
@@ -197,11 +161,11 @@ const e = d.define, x = e(), p = e(), E = e(p), K = e(p), u = e(), v = e(u), I =
197
161
  /**
198
162
  A type [name](#highlight.tags.name).
199
163
  */
200
- typeName: E,
164
+ typeName: S,
201
165
  /**
202
166
  A tag name (subtag of [`typeName`](#highlight.tags.typeName)).
203
167
  */
204
- tagName: e(E),
168
+ tagName: e(S),
205
169
  /**
206
170
  A property or field [name](#highlight.tags.name).
207
171
  */
@@ -233,31 +197,31 @@ const e = d.define, x = e(), p = e(), E = e(p), K = e(p), u = e(), v = e(u), I =
233
197
  /**
234
198
  A string [literal](#highlight.tags.literal).
235
199
  */
236
- string: v,
200
+ string: y,
237
201
  /**
238
202
  A documentation [string](#highlight.tags.string).
239
203
  */
240
- docString: e(v),
204
+ docString: e(y),
241
205
  /**
242
206
  A character literal (subtag of [string](#highlight.tags.string)).
243
207
  */
244
- character: e(v),
208
+ character: e(y),
245
209
  /**
246
210
  An attribute value (subtag of [string](#highlight.tags.string)).
247
211
  */
248
- attributeValue: e(v),
212
+ attributeValue: e(y),
249
213
  /**
250
214
  A number [literal](#highlight.tags.literal).
251
215
  */
252
- number: I,
216
+ number: M,
253
217
  /**
254
218
  An integer [number](#highlight.tags.number) literal.
255
219
  */
256
- integer: e(I),
220
+ integer: e(M),
257
221
  /**
258
222
  A floating-point [number](#highlight.tags.number) literal.
259
223
  */
260
- float: e(I),
224
+ float: e(M),
261
225
  /**
262
226
  A boolean [literal](#highlight.tags.literal).
263
227
  */
@@ -282,118 +246,118 @@ const e = d.define, x = e(), p = e(), E = e(p), K = e(p), u = e(), v = e(u), I =
282
246
  /**
283
247
  A language keyword.
284
248
  */
285
- keyword: f,
249
+ keyword: c,
286
250
  /**
287
251
  The [keyword](#highlight.tags.keyword) for the self or this
288
252
  object.
289
253
  */
290
- self: e(f),
254
+ self: e(c),
291
255
  /**
292
256
  The [keyword](#highlight.tags.keyword) for null.
293
257
  */
294
- null: e(f),
258
+ null: e(c),
295
259
  /**
296
260
  A [keyword](#highlight.tags.keyword) denoting some atomic value.
297
261
  */
298
- atom: e(f),
262
+ atom: e(c),
299
263
  /**
300
264
  A [keyword](#highlight.tags.keyword) that represents a unit.
301
265
  */
302
- unit: e(f),
266
+ unit: e(c),
303
267
  /**
304
268
  A modifier [keyword](#highlight.tags.keyword).
305
269
  */
306
- modifier: e(f),
270
+ modifier: e(c),
307
271
  /**
308
272
  A [keyword](#highlight.tags.keyword) that acts as an operator.
309
273
  */
310
- operatorKeyword: e(f),
274
+ operatorKeyword: e(c),
311
275
  /**
312
276
  A control-flow related [keyword](#highlight.tags.keyword).
313
277
  */
314
- controlKeyword: e(f),
278
+ controlKeyword: e(c),
315
279
  /**
316
280
  A [keyword](#highlight.tags.keyword) that defines something.
317
281
  */
318
- definitionKeyword: e(f),
282
+ definitionKeyword: e(c),
319
283
  /**
320
284
  A [keyword](#highlight.tags.keyword) related to defining or
321
285
  interfacing with modules.
322
286
  */
323
- moduleKeyword: e(f),
287
+ moduleKeyword: e(c),
324
288
  /**
325
289
  An operator.
326
290
  */
327
- operator: g,
291
+ operator: d,
328
292
  /**
329
293
  An [operator](#highlight.tags.operator) that dereferences something.
330
294
  */
331
- derefOperator: e(g),
295
+ derefOperator: e(d),
332
296
  /**
333
297
  Arithmetic-related [operator](#highlight.tags.operator).
334
298
  */
335
- arithmeticOperator: e(g),
299
+ arithmeticOperator: e(d),
336
300
  /**
337
301
  Logical [operator](#highlight.tags.operator).
338
302
  */
339
- logicOperator: e(g),
303
+ logicOperator: e(d),
340
304
  /**
341
305
  Bit [operator](#highlight.tags.operator).
342
306
  */
343
- bitwiseOperator: e(g),
307
+ bitwiseOperator: e(d),
344
308
  /**
345
309
  Comparison [operator](#highlight.tags.operator).
346
310
  */
347
- compareOperator: e(g),
311
+ compareOperator: e(d),
348
312
  /**
349
313
  [Operator](#highlight.tags.operator) that updates its operand.
350
314
  */
351
- updateOperator: e(g),
315
+ updateOperator: e(d),
352
316
  /**
353
317
  [Operator](#highlight.tags.operator) that defines something.
354
318
  */
355
- definitionOperator: e(g),
319
+ definitionOperator: e(d),
356
320
  /**
357
321
  Type-related [operator](#highlight.tags.operator).
358
322
  */
359
- typeOperator: e(g),
323
+ typeOperator: e(d),
360
324
  /**
361
325
  Control-flow [operator](#highlight.tags.operator).
362
326
  */
363
- controlOperator: e(g),
327
+ controlOperator: e(d),
364
328
  /**
365
329
  Program or markup punctuation.
366
330
  */
367
- punctuation: S,
331
+ punctuation: C,
368
332
  /**
369
333
  [Punctuation](#highlight.tags.punctuation) that separates
370
334
  things.
371
335
  */
372
- separator: e(S),
336
+ separator: e(C),
373
337
  /**
374
338
  Bracket-style [punctuation](#highlight.tags.punctuation).
375
339
  */
376
- bracket: w,
340
+ bracket: k,
377
341
  /**
378
342
  Angle [brackets](#highlight.tags.bracket) (usually `<` and `>`
379
343
  tokens).
380
344
  */
381
- angleBracket: e(w),
345
+ angleBracket: e(k),
382
346
  /**
383
347
  Square [brackets](#highlight.tags.bracket) (usually `[` and `]`
384
348
  tokens).
385
349
  */
386
- squareBracket: e(w),
350
+ squareBracket: e(k),
387
351
  /**
388
352
  Parentheses (usually `(` and `)` tokens). Subtag of
389
353
  [bracket](#highlight.tags.bracket).
390
354
  */
391
- paren: e(w),
355
+ paren: e(k),
392
356
  /**
393
357
  Braces (usually `{` and `}` tokens). Subtag of
394
358
  [bracket](#highlight.tags.bracket).
395
359
  */
396
- brace: e(w),
360
+ brace: e(k),
397
361
  /**
398
362
  Content, for example plain text in XML or markup documents.
399
363
  */
@@ -401,31 +365,31 @@ const e = d.define, x = e(), p = e(), E = e(p), K = e(p), u = e(), v = e(u), I =
401
365
  /**
402
366
  [Content](#highlight.tags.content) that represents a heading.
403
367
  */
404
- heading: y,
368
+ heading: h,
405
369
  /**
406
370
  A level 1 [heading](#highlight.tags.heading).
407
371
  */
408
- heading1: e(y),
372
+ heading1: e(h),
409
373
  /**
410
374
  A level 2 [heading](#highlight.tags.heading).
411
375
  */
412
- heading2: e(y),
376
+ heading2: e(h),
413
377
  /**
414
378
  A level 3 [heading](#highlight.tags.heading).
415
379
  */
416
- heading3: e(y),
380
+ heading3: e(h),
417
381
  /**
418
382
  A level 4 [heading](#highlight.tags.heading).
419
383
  */
420
- heading4: e(y),
384
+ heading4: e(h),
421
385
  /**
422
386
  A level 5 [heading](#highlight.tags.heading).
423
387
  */
424
- heading5: e(y),
388
+ heading5: e(h),
425
389
  /**
426
390
  A level 6 [heading](#highlight.tags.heading).
427
391
  */
428
- heading6: e(y),
392
+ heading6: e(h),
429
393
  /**
430
394
  A prose [content](#highlight.tags.content) separator (such as a horizontal rule).
431
395
  */
@@ -479,52 +443,52 @@ const e = d.define, x = e(), p = e(), E = e(p), K = e(p), u = e(), v = e(u), I =
479
443
  /**
480
444
  Metadata or meta-instruction.
481
445
  */
482
- meta: O,
446
+ meta: x,
483
447
  /**
484
448
  [Metadata](#highlight.tags.meta) that applies to the entire
485
449
  document.
486
450
  */
487
- documentMeta: e(O),
451
+ documentMeta: e(x),
488
452
  /**
489
453
  [Metadata](#highlight.tags.meta) that annotates or adds
490
454
  attributes to a given syntactic element.
491
455
  */
492
- annotation: e(O),
456
+ annotation: e(x),
493
457
  /**
494
458
  Processing instruction or preprocessor directive. Subtag of
495
459
  [meta](#highlight.tags.meta).
496
460
  */
497
- processingInstruction: e(O),
461
+ processingInstruction: e(x),
498
462
  /**
499
463
  [Modifier](#highlight.Tag^defineModifier) that indicates that a
500
464
  given element is being defined. Expected to be used with the
501
465
  various [name](#highlight.tags.name) tags.
502
466
  */
503
- definition: d.defineModifier("definition"),
467
+ definition: l.defineModifier("definition"),
504
468
  /**
505
469
  [Modifier](#highlight.Tag^defineModifier) that indicates that
506
470
  something is constant. Mostly expected to be used with
507
471
  [variable names](#highlight.tags.variableName).
508
472
  */
509
- constant: d.defineModifier("constant"),
473
+ constant: l.defineModifier("constant"),
510
474
  /**
511
475
  [Modifier](#highlight.Tag^defineModifier) used to indicate that
512
476
  a [variable](#highlight.tags.variableName) or [property
513
477
  name](#highlight.tags.propertyName) is being called or defined
514
478
  as a function.
515
479
  */
516
- function: d.defineModifier("function"),
480
+ function: l.defineModifier("function"),
517
481
  /**
518
482
  [Modifier](#highlight.Tag^defineModifier) that can be applied to
519
483
  [names](#highlight.tags.name) to indicate that they belong to
520
484
  the language's standard environment.
521
485
  */
522
- standard: d.defineModifier("standard"),
486
+ standard: l.defineModifier("standard"),
523
487
  /**
524
488
  [Modifier](#highlight.Tag^defineModifier) that indicates a given
525
489
  [names](#highlight.tags.name) is local to some scope.
526
490
  */
527
- local: d.defineModifier("local"),
491
+ local: l.defineModifier("local"),
528
492
  /**
529
493
  A generic variant [modifier](#highlight.Tag^defineModifier) that
530
494
  can be used to tag language-specific alternative variants of
@@ -533,13 +497,13 @@ const e = d.define, x = e(), p = e(), E = e(p), K = e(p), u = e(), v = e(u), I =
533
497
  [variable name](#highlight.tags.variableName) tags, since those
534
498
  come up a lot.
535
499
  */
536
- special: d.defineModifier("special")
500
+ special: l.defineModifier("special")
537
501
  };
538
- for (let r in o) {
539
- let t = o[r];
540
- t instanceof d && (t.name = r);
502
+ for (let s in o) {
503
+ let t = o[s];
504
+ t instanceof l && (t.name = s);
541
505
  }
542
- H([
506
+ $([
543
507
  { tag: o.link, class: "tok-link" },
544
508
  { tag: o.heading, class: "tok-heading" },
545
509
  { tag: o.emphasis, class: "tok-emphasis" },
@@ -572,9 +536,8 @@ H([
572
536
  { tag: o.punctuation, class: "tok-punctuation" }
573
537
  ]);
574
538
  export {
575
- d as Tag,
576
- z as getStyleTags,
577
- V as styleTags,
578
- H as tagHighlighter,
539
+ l as Tag,
540
+ H as getStyleTags,
541
+ $ as tagHighlighter,
579
542
  o as tags
580
543
  };
@@ -1,6 +1,7 @@
1
1
  import { FunctionDefinitionView } from '../components/d-flow-function/DFlowFunction.view';
2
2
  import { DFlowDataTypeReactiveService } from '../components/d-flow-data-type/DFlowDataType.service';
3
3
  import { DataType, DataTypeIdentifier, DataTypeRule, DataTypeRulesConfig, Flow, GenericMapper, NodeParameterValue } from '@code0-tech/sagittarius-graphql-types';
4
+ import { DFlowFunctionReactiveService } from '../components/d-flow-function';
4
5
  type GenericMappingResult = Record<string, DataTypeIdentifier>;
5
6
  type GenericReplacement = DataTypeIdentifier | GenericMapper;
6
7
  export type GenericMap = Map<string, GenericReplacement>;
@@ -11,7 +12,7 @@ export declare const resolveGenericKeyMappings: (parameterType: DataTypeIdentifi
11
12
  export declare const replaceGenericKeysInType: (type: DataTypeIdentifier, genericMap: GenericMap) => DataTypeIdentifier;
12
13
  export declare const resolveAllGenericKeysInDataTypeObject: (genericObj: DataType, concreteObj: DataType, genericKeys: string[]) => Record<string, GenericReplacement | undefined>;
13
14
  export declare const replaceGenericKeysInDataTypeObject: (dataType: DataType, genericMap: GenericMap) => DataType;
14
- export declare const resolveGenericKeys: (func: FunctionDefinitionView, values: NodeParameterValue[], dataTypeService: DFlowDataTypeReactiveService, flow?: Flow) => GenericMap;
15
+ export declare const resolveGenericKeys: (func: FunctionDefinitionView, values: NodeParameterValue[], dataTypeService: DFlowDataTypeReactiveService, functionService: DFlowFunctionReactiveService, flow?: Flow) => GenericMap;
15
16
  export declare function isMatchingDataTypeObject(source: DataType, target: DataType): boolean;
16
17
  export declare function isMatchingType(source: DataTypeIdentifier, target: DataTypeIdentifier): boolean;
17
18
  export declare const resolveType: (type: DataTypeIdentifier, service: DFlowDataTypeReactiveService) => DataTypeIdentifier;