@genome-spy/core 0.68.0 → 0.69.1

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 (163) hide show
  1. package/dist/bundle/index.es.js +12119 -10681
  2. package/dist/bundle/index.js +119 -119
  3. package/dist/schema.json +6224 -6319
  4. package/dist/src/data/dataFlow.d.ts.map +1 -1
  5. package/dist/src/data/dataFlow.js +10 -0
  6. package/dist/src/data/flowNode.d.ts +25 -10
  7. package/dist/src/data/flowNode.d.ts.map +1 -1
  8. package/dist/src/data/flowNode.js +66 -13
  9. package/dist/src/data/flowTestUtils.d.ts +2 -2
  10. package/dist/src/data/flowTestUtils.d.ts.map +1 -1
  11. package/dist/src/data/flowTestUtils.js +5 -4
  12. package/dist/src/data/sources/dataSource.js +2 -2
  13. package/dist/src/data/sources/lazy/bigBedSource.d.ts.map +1 -1
  14. package/dist/src/data/sources/lazy/bigBedSource.js +11 -10
  15. package/dist/src/data/sources/lazy/bigWigSource.d.ts.map +1 -1
  16. package/dist/src/data/sources/lazy/bigWigSource.js +11 -10
  17. package/dist/src/data/sources/lazy/singleAxisWindowedSource.js +1 -1
  18. package/dist/src/data/sources/lazy/tabixSource.d.ts +0 -1
  19. package/dist/src/data/sources/lazy/tabixSource.d.ts.map +1 -1
  20. package/dist/src/data/sources/lazy/tabixSource.js +41 -11
  21. package/dist/src/data/sources/sequenceSource.d.ts.map +1 -1
  22. package/dist/src/data/sources/sequenceSource.js +5 -3
  23. package/dist/src/data/sources/urlSource.d.ts.map +1 -1
  24. package/dist/src/data/sources/urlSource.js +7 -3
  25. package/dist/src/data/transforms/filter.d.ts +4 -4
  26. package/dist/src/data/transforms/filter.d.ts.map +1 -1
  27. package/dist/src/data/transforms/filter.js +13 -7
  28. package/dist/src/data/transforms/filterScoredLabels.d.ts.map +1 -1
  29. package/dist/src/data/transforms/filterScoredLabels.js +11 -6
  30. package/dist/src/data/transforms/filterScoredLabels.test.d.ts +2 -0
  31. package/dist/src/data/transforms/filterScoredLabels.test.d.ts.map +1 -0
  32. package/dist/src/data/transforms/formula.d.ts +4 -4
  33. package/dist/src/data/transforms/formula.d.ts.map +1 -1
  34. package/dist/src/data/transforms/formula.js +12 -6
  35. package/dist/src/data/transforms/measureText.d.ts +2 -2
  36. package/dist/src/data/transforms/measureText.d.ts.map +1 -1
  37. package/dist/src/data/transforms/measureText.js +16 -12
  38. package/dist/src/data/transforms/transform.d.ts +2 -2
  39. package/dist/src/data/transforms/transform.d.ts.map +1 -1
  40. package/dist/src/data/transforms/transform.js +3 -3
  41. package/dist/src/encoder/accessor.d.ts +8 -4
  42. package/dist/src/encoder/accessor.d.ts.map +1 -1
  43. package/dist/src/encoder/accessor.js +10 -10
  44. package/dist/src/encoder/encoder.js +5 -5
  45. package/dist/src/genome/genome.d.ts +8 -0
  46. package/dist/src/genome/genome.d.ts.map +1 -1
  47. package/dist/src/genome/genome.js +16 -1
  48. package/dist/src/genomeSpy/inputBindingManager.js +1 -1
  49. package/dist/src/genomeSpy/interactionController.d.ts.map +1 -1
  50. package/dist/src/genomeSpy/interactionController.js +7 -1
  51. package/dist/src/genomeSpy.js +1 -1
  52. package/dist/src/gl/glslScaleGenerator.js +1 -1
  53. package/dist/src/marks/mark.d.ts.map +1 -1
  54. package/dist/src/marks/mark.js +22 -30
  55. package/dist/src/marks/point.d.ts.map +1 -1
  56. package/dist/src/marks/point.js +4 -6
  57. package/dist/src/paramRuntime/expressionCompiler.d.ts +7 -0
  58. package/dist/src/paramRuntime/expressionCompiler.d.ts.map +1 -0
  59. package/dist/src/paramRuntime/expressionCompiler.js +10 -0
  60. package/dist/src/paramRuntime/expressionRef.d.ts +20 -0
  61. package/dist/src/paramRuntime/expressionRef.d.ts.map +1 -0
  62. package/dist/src/paramRuntime/expressionRef.js +95 -0
  63. package/dist/src/paramRuntime/expressionRef.test.d.ts +2 -0
  64. package/dist/src/paramRuntime/expressionRef.test.d.ts.map +1 -0
  65. package/dist/src/paramRuntime/graphRuntime.d.ts +176 -0
  66. package/dist/src/paramRuntime/graphRuntime.d.ts.map +1 -0
  67. package/dist/src/paramRuntime/graphRuntime.js +628 -0
  68. package/dist/src/paramRuntime/graphRuntime.test.d.ts +2 -0
  69. package/dist/src/paramRuntime/graphRuntime.test.d.ts.map +1 -0
  70. package/dist/src/paramRuntime/index.d.ts +9 -0
  71. package/dist/src/paramRuntime/index.d.ts.map +1 -0
  72. package/dist/src/paramRuntime/index.js +8 -0
  73. package/dist/src/paramRuntime/lifecycleRegistry.d.ts +27 -0
  74. package/dist/src/paramRuntime/lifecycleRegistry.d.ts.map +1 -0
  75. package/dist/src/paramRuntime/lifecycleRegistry.js +54 -0
  76. package/dist/src/paramRuntime/paramRuntime.d.ts +165 -0
  77. package/dist/src/paramRuntime/paramRuntime.d.ts.map +1 -0
  78. package/dist/src/paramRuntime/paramRuntime.js +222 -0
  79. package/dist/src/paramRuntime/paramRuntime.test.d.ts +2 -0
  80. package/dist/src/paramRuntime/paramRuntime.test.d.ts.map +1 -0
  81. package/dist/src/paramRuntime/paramStore.d.ts +68 -0
  82. package/dist/src/paramRuntime/paramStore.d.ts.map +1 -0
  83. package/dist/src/paramRuntime/paramStore.js +148 -0
  84. package/dist/src/paramRuntime/paramStore.test.d.ts +2 -0
  85. package/dist/src/paramRuntime/paramStore.test.d.ts.map +1 -0
  86. package/dist/src/paramRuntime/paramUtils.d.ts +86 -0
  87. package/dist/src/paramRuntime/paramUtils.d.ts.map +1 -0
  88. package/dist/src/paramRuntime/paramUtils.js +272 -0
  89. package/dist/src/paramRuntime/selectionStore.d.ts +6 -0
  90. package/dist/src/paramRuntime/selectionStore.d.ts.map +1 -0
  91. package/dist/src/paramRuntime/selectionStore.js +13 -0
  92. package/dist/src/paramRuntime/types.d.ts +16 -0
  93. package/dist/src/paramRuntime/types.d.ts.map +1 -0
  94. package/dist/src/paramRuntime/types.js +25 -0
  95. package/dist/src/paramRuntime/viewParamRuntime.d.ts +164 -0
  96. package/dist/src/paramRuntime/viewParamRuntime.d.ts.map +1 -0
  97. package/dist/src/paramRuntime/viewParamRuntime.js +443 -0
  98. package/dist/src/scales/scaleInstanceManager.d.ts +6 -3
  99. package/dist/src/scales/scaleInstanceManager.d.ts.map +1 -1
  100. package/dist/src/scales/scaleInstanceManager.js +17 -11
  101. package/dist/src/scales/scaleResolution.d.ts +1 -0
  102. package/dist/src/scales/scaleResolution.d.ts.map +1 -1
  103. package/dist/src/scales/scaleResolution.js +7 -1
  104. package/dist/src/selection/selection.js +1 -1
  105. package/dist/src/spec/coreSchemaRoot.d.ts +53 -0
  106. package/dist/src/spec/root.d.ts +1 -1
  107. package/dist/src/spec/view.d.ts +114 -33
  108. package/dist/src/tooltip/dataTooltipHandler.d.ts +1 -1
  109. package/dist/src/tooltip/dataTooltipHandler.js +23 -32
  110. package/dist/src/tooltip/dataTooltipHandler.test.d.ts +2 -0
  111. package/dist/src/tooltip/dataTooltipHandler.test.d.ts.map +1 -0
  112. package/dist/src/tooltip/flattenDatumRows.d.ts +13 -0
  113. package/dist/src/tooltip/flattenDatumRows.d.ts.map +1 -0
  114. package/dist/src/tooltip/flattenDatumRows.js +47 -0
  115. package/dist/src/tooltip/flattenDatumRows.test.d.ts +2 -0
  116. package/dist/src/tooltip/flattenDatumRows.test.d.ts.map +1 -0
  117. package/dist/src/tooltip/refseqGeneTooltipHandler.d.ts +1 -1
  118. package/dist/src/tooltip/refseqGeneTooltipHandler.js +7 -1
  119. package/dist/src/tooltip/tooltipContext.d.ts +13 -0
  120. package/dist/src/tooltip/tooltipContext.d.ts.map +1 -0
  121. package/dist/src/tooltip/tooltipContext.js +543 -0
  122. package/dist/src/tooltip/tooltipContext.test.d.ts +2 -0
  123. package/dist/src/tooltip/tooltipContext.test.d.ts.map +1 -0
  124. package/dist/src/tooltip/tooltipHandler.d.ts +40 -1
  125. package/dist/src/tooltip/tooltipHandler.d.ts.map +1 -1
  126. package/dist/src/tooltip/tooltipHandler.ts +62 -1
  127. package/dist/src/types/encoder.d.ts +1 -1
  128. package/dist/src/utils/inputBinding.d.ts +10 -2
  129. package/dist/src/utils/inputBinding.d.ts.map +1 -1
  130. package/dist/src/utils/inputBinding.js +12 -3
  131. package/dist/src/view/flowBuilder.d.ts.map +1 -1
  132. package/dist/src/view/flowBuilder.js +12 -3
  133. package/dist/src/view/gridView/gridChild.d.ts.map +1 -1
  134. package/dist/src/view/gridView/gridChild.js +8 -3
  135. package/dist/src/view/gridView/selectionRect.d.ts +6 -10
  136. package/dist/src/view/gridView/selectionRect.d.ts.map +1 -1
  137. package/dist/src/view/gridView/selectionRect.js +3 -20
  138. package/dist/src/view/layerView.d.ts.map +1 -1
  139. package/dist/src/view/layerView.js +4 -2
  140. package/dist/src/view/multiscale.d.ts +35 -0
  141. package/dist/src/view/multiscale.d.ts.map +1 -0
  142. package/dist/src/view/multiscale.js +233 -0
  143. package/dist/src/view/multiscale.test.d.ts +2 -0
  144. package/dist/src/view/multiscale.test.d.ts.map +1 -0
  145. package/dist/src/view/unitView.d.ts.map +1 -1
  146. package/dist/src/view/unitView.js +10 -4
  147. package/dist/src/view/view.d.ts +5 -4
  148. package/dist/src/view/view.d.ts.map +1 -1
  149. package/dist/src/view/view.js +223 -28
  150. package/dist/src/view/viewFactory.d.ts +0 -12
  151. package/dist/src/view/viewFactory.d.ts.map +1 -1
  152. package/dist/src/view/viewFactory.js +35 -24
  153. package/dist/src/view/viewParamRuntime.test.d.ts +2 -0
  154. package/dist/src/view/viewParamRuntime.test.d.ts.map +1 -0
  155. package/dist/src/view/viewSelectors.d.ts.map +1 -1
  156. package/dist/src/view/viewSelectors.js +8 -5
  157. package/package.json +3 -3
  158. package/dist/src/spec/sampleView.d.ts +0 -197
  159. package/dist/src/view/paramMediator.d.ts +0 -168
  160. package/dist/src/view/paramMediator.d.ts.map +0 -1
  161. package/dist/src/view/paramMediator.js +0 -545
  162. package/dist/src/view/paramMediator.test.d.ts +0 -2
  163. package/dist/src/view/paramMediator.test.d.ts.map +0 -1
@@ -1,197 +0,0 @@
1
- import { Data } from "./data.js";
2
- import { Align, FontStyle, FontWeight } from "./font.js";
3
- import { Scale } from "./scale.js";
4
- import { LayerSpec, UnitSpec, ViewSpecBase, ViewBackground } from "./view.js";
5
-
6
- // TODO: Figure out how this could be moved to the app package and excluded
7
- // from the core package.
8
-
9
- /**
10
- * A view specification for a SampleView.
11
- * This is only functional in the GenomeSpy app.
12
- */
13
- export interface SampleSpec extends ViewSpecBase {
14
- /**
15
- * Sample metadata definition.
16
- * If the object is empty, the sample identifiers will be inferred from the data.
17
- */
18
- samples: SampleDef;
19
-
20
- /**
21
- * An object defining the view background and outline. The background is
22
- * repeated for each group.
23
- */
24
- view?: ViewBackground;
25
- /**
26
- * The view specification to be repeated for each sample.
27
- */
28
- spec: LayerSpec | UnitSpec;
29
-
30
- stickySummaries?: boolean;
31
- }
32
-
33
- export type SampleAttributeType = "nominal" | "ordinal" | "quantitative";
34
-
35
- export interface SampleAttributeDef {
36
- /**
37
- * The attribute type. One of `"nominal"`, `"ordinal"`, or `"quantitative"`.
38
- */
39
- type?: SampleAttributeType;
40
-
41
- /**
42
- * Scale definition for the (default) color channel
43
- */
44
- scale?: Scale;
45
-
46
- /**
47
- * An optional scale definition for mapping the attribute to
48
- * the width of a metadata rectangle.
49
- */
50
- barScale?: Scale;
51
-
52
- /**
53
- * Width of the column in pixels.
54
- */
55
- width?: number;
56
-
57
- /**
58
- * Whether the attribute is visible by default.
59
- */
60
- visible?: boolean;
61
-
62
- /**
63
- * The title of the attribute. Defaults to attribute name.
64
- */
65
- title?: string;
66
- }
67
-
68
- export interface SampleDef {
69
- /**
70
- * Optional metadata about the samples.
71
- */
72
- data?: Data;
73
-
74
- /**
75
- * If attributes form a hierarchy, specify the separator character to
76
- * split the attribute names into paths.
77
- */
78
- attributeGroupSeparator?: string;
79
-
80
- /**
81
- * Explicitly specify the sample attributes.
82
- */
83
- attributes?: Record<string, SampleAttributeDef>;
84
-
85
- /**
86
- * Text in the label title
87
- *
88
- * **Default:** `"Sample name"`
89
- */
90
- labelTitleText?: string;
91
-
92
- /**
93
- * How much space in pixels to reserve for the labels.
94
- *
95
- * **Default:** `140`
96
- */
97
- labelLength?: number;
98
-
99
- /**
100
- * The font typeface. GenomeSpy uses [SDF](https://github.com/Chlumsky/msdfgen)
101
- * versions of [Google Fonts](https://fonts.google.com/). Check their
102
- * availability at the [A-Frame
103
- * Fonts](https://github.com/etiennepinchon/aframe-fonts/tree/master/fonts)
104
- * repository. System fonts are **not** supported.
105
- *
106
- * **Default value:** `"Lato"`
107
- */
108
- labelFont?: string;
109
-
110
- /**
111
- * The font style. Valid values: `"normal"` and `"italic"`.
112
- *
113
- * **Default value:** `"normal"`
114
- */
115
- labelFontStyle?: FontStyle;
116
-
117
- /**
118
- * The font weight. The following strings and numbers are valid values:
119
- * `"thin"` (`100`), `"light"` (`300`), `"regular"` (`400`),
120
- * `"normal"` (`400`), `"medium"` (`500`), `"bold"` (`700`),
121
- * `"black"` (`900`)
122
- *
123
- * **Default value:** `"regular"`
124
- */
125
- labelFontWeight?: FontWeight;
126
-
127
- /**
128
- * The font size in pixels.
129
- *
130
- * **Default value:** `11`
131
- */
132
- labelFontSize?: number;
133
-
134
- /**
135
- * The horizontal alignment of the text. One of `"left"`, `"center"`, or `"right"`.
136
- *
137
- * **Default value:** `"left"`
138
- */
139
- labelAlign?: Align;
140
-
141
- /**
142
- * Default size (width) of the metadata attribute columns.
143
- * Can be configured per attribute using the `attributes` property.
144
- *
145
- * **Default value:** `10`
146
- */
147
- attributeSize?: number;
148
-
149
- /**
150
- * The font typeface. GenomeSpy uses [SDF](https://github.com/Chlumsky/msdfgen)
151
- * versions of [Google Fonts](https://fonts.google.com/). Check their
152
- * availability at the [A-Frame
153
- * Fonts](https://github.com/etiennepinchon/aframe-fonts/tree/master/fonts)
154
- * repository. System fonts are **not** supported.
155
- *
156
- * **Default value:** `"Lato"`
157
- */
158
- attributeLabelFont?: string;
159
-
160
- /**
161
- * The font style. Valid values: `"normal"` and `"italic"`.
162
- *
163
- * **Default value:** `"normal"`
164
- */
165
- attributeLabelFontStyle?: FontStyle;
166
-
167
- /**
168
- * The font weight. The following strings and numbers are valid values:
169
- * `"thin"` (`100`), `"light"` (`300`), `"regular"` (`400`),
170
- * `"normal"` (`400`), `"medium"` (`500`), `"bold"` (`700`),
171
- * `"black"` (`900`)
172
- *
173
- * **Default value:** `"regular"`
174
- */
175
- attributeLabelFontWeight?: FontWeight;
176
-
177
- /**
178
- * The font size in pixels.
179
- *
180
- * **Default value:** `11`
181
- */
182
- attributeLabelFontSize?: number;
183
-
184
- /**
185
- * Angle to be added to the default label angle (-90).
186
- *
187
- * **Default value:** `0`
188
- */
189
- attributeLabelAngle?: number;
190
-
191
- /**
192
- * Spacing between attribute columns in pixels.
193
- *
194
- * **Default value:** `1`
195
- */
196
- attributeSpacing?: number;
197
- }
@@ -1,168 +0,0 @@
1
- /**
2
- * @param {any} x
3
- * @returns {x is import("../spec/parameter.js").ExprRef}
4
- */
5
- export function isExprRef(x: any): x is import("../spec/parameter.js").ExprRef;
6
- /**
7
- * Removes ExprRef from the type and checks that the value is not an ExprRef.
8
- * This is designed to be used with `activateExprRefProps`.
9
- *
10
- * @param {T | import("../spec/parameter.js").ExprRef} x
11
- * @template T
12
- * @returns {T}
13
- */
14
- export function withoutExprRef<T>(x: T | import("../spec/parameter.js").ExprRef): T;
15
- /**
16
- * @param {Parameter} param
17
- * @returns {param is import("../spec/parameter.js").VariableParameter}
18
- */
19
- export function isVariableParameter(param: import("../spec/parameter.js").Parameter): param is import("../spec/parameter.js").VariableParameter;
20
- /**
21
- * @param {Parameter} param
22
- * @returns {param is import("../spec/parameter.js").SelectionParameter}
23
- */
24
- export function isSelectionParameter(param: import("../spec/parameter.js").Parameter): param is import("../spec/parameter.js").SelectionParameter;
25
- /**
26
- * Computes the default value for a parameter specification.
27
- *
28
- * @param {Parameter} param
29
- * @param {ParamMediator} [paramMediator]
30
- * @param {ExprRefFunction} [exprFn]
31
- * @returns {any}
32
- */
33
- export function getDefaultParamValue(param: import("../spec/parameter.js").Parameter, paramMediator?: ParamMediator, exprFn?: ExprRefFunction): any;
34
- /**
35
- * Takes a record of properties that may have ExprRefs as values. Converts the
36
- * ExprRefs to getters and setups a listener that is called when any of the
37
- * expressions (upstream parameters) change.
38
- *
39
- * @param {ParamMediator} paramMediator
40
- * @param {T} props The properties object
41
- * @param {(props: (keyof T)[]) => void} [listener] Listener to be called when any of the expressions change
42
- * @returns T
43
- * @template {Record<string, any | import("../spec/parameter.js").ExprRef>} T
44
- */
45
- export function activateExprRefProps<T extends Record<string, any | import("../spec/parameter.js").ExprRef>>(paramMediator: ParamMediator, props: T, listener?: (props: (keyof T)[]) => void): T;
46
- /**
47
- * Validates a parameter name. If the name is invalid, throws an error.
48
- * Otherwise, returns the name.
49
- *
50
- * @param {string} name
51
- * @returns {string} the name
52
- */
53
- export function validateParameterName(name: string): string;
54
- /**
55
- * Creates a function that always returns the same value.
56
- * Provides functionality for creating a constant expression reference.
57
- * They just do nothing.
58
- *
59
- * @param {any} value
60
- * @returns {ExprRefFunction}
61
- */
62
- export function makeConstantExprRef(value: any): ExprRefFunction;
63
- /**
64
- * A class that manages parameters and expressions.
65
- * Supports nesting and scoped parameters.
66
- *
67
- * TODO: The proposed JavaScript signals may provide a better way to implement this.
68
- * https://github.com/proposal-signals/proposal-signals
69
- *
70
- * @typedef {import("../utils/expression.js").ExpressionFunction & { addListener: (listener: () => void) => void, removeListener: (listener: () => void) => void, invalidate: () => void, identifier: () => string}} ExprRefFunction
71
- */
72
- export default class ParamMediator {
73
- /**
74
- * @param {() => ParamMediator} [parentFinder]
75
- * An optional function that returns the parent mediator.
76
- * N.B. The function must always return the same mediator for the same parent,
77
- * i.e., the changing the structure of the hierarchy is NOT supported.
78
- */
79
- constructor(parentFinder?: () => ParamMediator);
80
- /**
81
- * @type {Map<string, Set<() => void>>}
82
- * @protected
83
- */
84
- protected paramListeners: Map<string, Set<() => void>>;
85
- /**
86
- * @param {Parameter} param
87
- * @returns {ParameterSetter}
88
- */
89
- registerParam(param: import("../spec/parameter.js").Parameter): (value: any) => void;
90
- /**
91
- *
92
- * @param {string} paramName
93
- * @param {T} initialValue
94
- * @param {boolean} [passive] If true, the setter will not notify listeners when the value changes.
95
- * @returns {(value: T) => void}
96
- * @template T
97
- */
98
- allocateSetter<T>(paramName: string, initialValue: T, passive?: boolean): (value: T) => void;
99
- /**
100
- * Gets an existing setter for a parameter. Throws if the setter is not found.
101
- * @param {string} paramName
102
- */
103
- getSetter(paramName: string): (value: any) => void;
104
- /**
105
- * Get the value of a parameter from this mediator.
106
- * @param {string} paramName
107
- */
108
- getValue(paramName: string): any;
109
- /**
110
- * Subscribe to changes of a parameter's value. The listener is called only
111
- * when the stored value changes. For expression parameters, the listener is
112
- * called when upstream changes re-evaluate to a different value.
113
- *
114
- * @param {string} paramName
115
- * @param {() => void} listener
116
- * @returns {() => void}
117
- */
118
- subscribe(paramName: string, listener: () => void): () => void;
119
- /**
120
- * Get the value of a parameter from this mediator or the ancestors.
121
- * @param {string} paramName
122
- */
123
- findValue(paramName: string): any;
124
- /**
125
- * Returns configs for all parameters that have been registered using `registerParam`.
126
- */
127
- get paramConfigs(): ReadonlyMap<string, import("../spec/parameter.js").Parameter>;
128
- /**
129
- *
130
- * @param {string} paramName
131
- * @returns {ParamMediator}
132
- */
133
- findMediatorForParam(paramName: string): ParamMediator;
134
- /**
135
- * Parse expr and return a function that returns the value of the parameter.
136
- *
137
- * @param {string} expr
138
- */
139
- createExpression(expr: string): ExprRefFunction;
140
- /**
141
- * A convenience method for evaluating an expression.
142
- *
143
- * @param {string} expr
144
- */
145
- evaluateAndGet(expr: string): any;
146
- /**
147
- * Returns true if this ParamMediator has any parameters that are point selections.
148
- * Point selections necessitate the use of uniqueIds in the data.
149
- *
150
- * @returns {boolean}
151
- */
152
- hasPointSelections(): boolean;
153
- #private;
154
- }
155
- /**
156
- * A class that manages parameters and expressions.
157
- * Supports nesting and scoped parameters.
158
- *
159
- * TODO: The proposed JavaScript signals may provide a better way to implement this.
160
- * https://github.com/proposal-signals/proposal-signals
161
- */
162
- export type ExprRefFunction = import("../utils/expression.js").ExpressionFunction & {
163
- addListener: (listener: () => void) => void;
164
- removeListener: (listener: () => void) => void;
165
- invalidate: () => void;
166
- identifier: () => string;
167
- };
168
- //# sourceMappingURL=paramMediator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"paramMediator.d.ts","sourceRoot":"","sources":["../../../src/view/paramMediator.js"],"names":[],"mappings":"AAiXA;;;GAGG;AACH,6BAHW,GAAG,GACD,CAAC,IAAI,OAAO,sBAAsB,EAAE,OAAO,CAIvD;AAED;;;;;;;GAOG;AACH,+BAHa,CAAC,KADH,CAAC,GAAG,OAAO,sBAAsB,EAAE,OAAO,GAExC,CAAC,CAWb;AAED;;;GAGG;AACH,sFAFa,KAAK,IAAI,OAAO,sBAAsB,EAAE,iBAAiB,CAIrE;AAED;;;GAGG;AACH,uFAFa,KAAK,IAAI,OAAO,sBAAsB,EAAE,kBAAkB,CAItE;AAED;;;;;;;GAOG;AACH,sGAJW,aAAa,WACb,eAAe,GACb,GAAG,CAwCf;AAED;;;;;;;;;;GAUG;AACH,qCAF4E,CAAC,SAA/D,MAAM,CAAC,MAAM,EAAE,GAAG,GAAG,OAAO,sBAAsB,EAAE,OAAO,CAAE,iBAJhE,aAAa,SACb,CAAC,aACD,CAAC,KAAK,EAAE,CAAC,MAAM,CAAC,CAAC,EAAE,KAAK,IAAI,GAuCjB,CAAC,CACtB;AAED;;;;;;GAMG;AACH,4CAHW,MAAM,GACJ,MAAM,CAUlB;AAED;;;;;;;GAOG;AACH,2CAHW,GAAG,GACD,eAAe,CAY3B;AArhBD;;;;;;;;GAQG;AACH;IA2BI;;;;;OAKG;IACH,2BALW,MAAM,aAAa,EAU7B;IA7BD;;;OAGG;IACH,0BAHU,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,MAAM,IAAI,CAAC,CAAC,CAGvB;IA2Bf;;;OAGG;IACH,wEAzCqB,GAAG,KAAK,IAAI,CAkGhC;IAED;;;;;;;OAOG;IACH,eAFa,CAAC,aAJH,MAAM,gBACN,CAAC,YACD,OAAO,GACL,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAgC9B;IAED;;;OAGG;IACH,qBAFW,MAAM,WAjIc,GAAG,KAAK,IAAI,CAyI1C;IAED;;;OAGG;IACH,oBAFW,MAAM,OAIhB;IAED;;;;;;;;OAQG;IACH,qBAJW,MAAM,YACN,MAAM,IAAI,GACR,MAAM,IAAI,CAmBtB;IAED;;;OAGG;IACH,qBAFW,MAAM,OAKhB;IAED;;OAEG;IACH,oBACsB,WAAW,CAAC,MAAM,2CAAY,CAGnD;IAED;;;;OAIG;IACH,gCAHW,MAAM,GACJ,aAAa,CAQzB;IAID;;;;OAIG;IACH,uBAFW,MAAM,mBAuFhB;IAED;;;;OAIG;IACH,qBAFW,MAAM,OAKhB;IAED;;;;;OAKG;IACH,sBAFa,OAAO,CAiBnB;;CACJ;;;;;;;;8BA7VY,OAAO,wBAAwB,EAAE,kBAAkB,GAAG;IAAE,WAAW,EAAE,CAAC,QAAQ,EAAE,MAAM,IAAI,KAAK,IAAI,CAAC;IAAC,cAAc,EAAE,CAAC,QAAQ,EAAE,MAAM,IAAI,KAAK,IAAI,CAAC;IAAC,UAAU,EAAE,MAAM,IAAI,CAAC;IAAC,UAAU,EAAE,MAAM,MAAM,CAAA;CAAC"}