@kitware/vtk.js 25.8.4 → 25.8.6
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/Interaction/Manipulators/MouseRangeManipulator.js +6 -6
- package/Rendering/Core/Follower.js +1 -1
- package/Rendering/Core/Prop3D.js +6 -1
- package/Rendering/OpenGL/ShaderProgram.js +13 -20
- package/Widgets/Representations/WidgetRepresentation.js +23 -7
- package/Widgets/SVG/SVGLandmarkRepresentation.js +13 -1
- package/_vendor/available-typed-arrays/index.js_commonjs-proxy.js +1 -0
- package/_vendor/call-bind/callBound.js_commonjs-proxy.js +1 -0
- package/_vendor/call-bind/index.js_commonjs-module.js +3 -0
- package/_vendor/call-bind/index.js_commonjs-proxy.js +1 -0
- package/_vendor/deep-equal/node_modules/isarray/index.js_commonjs-proxy.js +1 -0
- package/_vendor/define-properties/index.js_commonjs-proxy.js +1 -0
- package/_vendor/es-abstract/helpers/getOwnPropertyDescriptor.js_commonjs-proxy.js +1 -0
- package/_vendor/es-get-iterator/index.js_commonjs-module.js +3 -0
- package/_vendor/es-get-iterator/index.js_commonjs-proxy.js +1 -0
- package/_vendor/es-get-iterator/node_modules/isarray/index.js_commonjs-proxy.js +1 -0
- package/_vendor/foreach/index.js_commonjs-proxy.js +1 -0
- package/_vendor/function-bind/implementation.js_commonjs-proxy.js +1 -0
- package/_vendor/function-bind/index.js_commonjs-proxy.js +1 -0
- package/_vendor/get-intrinsic/index.js_commonjs-proxy.js +1 -0
- package/_vendor/has/src/index.js_commonjs-proxy.js +1 -0
- package/_vendor/has-bigints/index.js_commonjs-proxy.js +1 -0
- package/_vendor/has-symbols/index.js_commonjs-proxy.js +1 -0
- package/_vendor/has-symbols/shams.js_commonjs-proxy.js +1 -0
- package/_vendor/has-tostringtag/shams.js_commonjs-proxy.js +1 -0
- package/_vendor/is-arguments/index.js_commonjs-proxy.js +1 -0
- package/_vendor/is-bigint/index.js_commonjs-module.js +3 -0
- package/_vendor/is-bigint/index.js_commonjs-proxy.js +1 -0
- package/_vendor/is-boolean-object/index.js_commonjs-proxy.js +1 -0
- package/_vendor/is-date-object/index.js_commonjs-proxy.js +1 -0
- package/_vendor/is-map/index.js_commonjs-proxy.js +1 -0
- package/_vendor/is-number-object/index.js_commonjs-proxy.js +1 -0
- package/_vendor/is-regex/index.js_commonjs-proxy.js +1 -0
- package/_vendor/is-set/index.js_commonjs-proxy.js +1 -0
- package/_vendor/is-string/index.js_commonjs-proxy.js +1 -0
- package/_vendor/is-symbol/index.js_commonjs-module.js +3 -0
- package/_vendor/is-symbol/index.js_commonjs-proxy.js +1 -0
- package/_vendor/is-typed-array/index.js_commonjs-proxy.js +1 -0
- package/_vendor/is-weakmap/index.js_commonjs-proxy.js +1 -0
- package/_vendor/is-weakset/index.js_commonjs-proxy.js +1 -0
- package/_vendor/object-inspect/index.js_commonjs-proxy.js +1 -0
- package/_vendor/object-is/implementation.js_commonjs-proxy.js +1 -0
- package/_vendor/object-is/index.js_commonjs-proxy.js +1 -0
- package/_vendor/object-is/polyfill.js_commonjs-proxy.js +1 -0
- package/_vendor/object-is/shim.js_commonjs-proxy.js +1 -0
- package/_vendor/object-keys/implementation.js_commonjs-proxy.js +1 -0
- package/_vendor/object-keys/index.js_commonjs-proxy.js +1 -0
- package/_vendor/object-keys/isArguments.js_commonjs-proxy.js +1 -0
- package/_vendor/object.assign/implementation.js_commonjs-proxy.js +1 -0
- package/_vendor/object.assign/index.js_commonjs-proxy.js +1 -0
- package/_vendor/object.assign/polyfill.js_commonjs-proxy.js +1 -0
- package/_vendor/object.assign/shim.js_commonjs-proxy.js +2 -0
- package/_vendor/regexp.prototype.flags/implementation.js_commonjs-proxy.js +1 -0
- package/_vendor/regexp.prototype.flags/index.js_commonjs-proxy.js +1 -0
- package/_vendor/regexp.prototype.flags/polyfill.js_commonjs-proxy.js +1 -0
- package/_vendor/regexp.prototype.flags/shim.js_commonjs-proxy.js +1 -0
- package/_vendor/side-channel/index.js_commonjs-proxy.js +1 -0
- package/_vendor/which-boxed-primitive/index.js_commonjs-proxy.js +5 -0
- package/_vendor/which-collection/index.js_commonjs-proxy.js +4 -0
- package/_vendor/which-typed-array/index.js_commonjs-proxy.js +1 -0
- package/_virtual/_node-resolve_empty.js_commonjs-proxy.js +6 -0
- package/_virtual/commonjsHelpers.js +18 -0
- package/_virtual/node-resolve_empty.js +8 -0
- package/_virtual/polyfill-node.global.js +5 -0
- package/_virtual/polyfill-node.process.js +225 -0
- package/macros.d.ts +5 -3
- package/macros.js +28 -3
- package/package.json +1 -1
- package/vendor/available-typed-arrays/index.js +29 -0
- package/vendor/call-bind/callBound.js +19 -0
- package/vendor/call-bind/index.js +52 -0
- package/vendor/deep-equal/index.js +379 -0
- package/vendor/deep-equal/node_modules/isarray/index.js +7 -0
- package/vendor/define-properties/index.js +60 -0
- package/vendor/es-abstract/helpers/getOwnPropertyDescriptor.js +17 -0
- package/vendor/es-get-iterator/index.js +217 -0
- package/vendor/es-get-iterator/node_modules/isarray/index.js +7 -0
- package/vendor/foreach/index.js +22 -0
- package/vendor/function-bind/implementation.js +52 -0
- package/vendor/function-bind/index.js +7 -0
- package/vendor/get-intrinsic/index.js +334 -0
- package/vendor/has/src/index.js +7 -0
- package/vendor/has-bigints/index.js +12 -0
- package/vendor/has-symbols/index.js +15 -0
- package/vendor/has-symbols/shams.js +42 -0
- package/vendor/has-tostringtag/shams.js +9 -0
- package/vendor/is-arguments/index.js +36 -0
- package/vendor/is-bigint/index.js +39 -0
- package/vendor/is-boolean-object/index.js +29 -0
- package/vendor/is-date-object/index.js +22 -0
- package/vendor/is-map/index.js +42 -0
- package/vendor/is-number-object/index.js +26 -0
- package/vendor/is-regex/index.js +61 -0
- package/vendor/is-set/index.js +42 -0
- package/vendor/is-string/index.js +26 -0
- package/vendor/is-symbol/index.js +36 -0
- package/vendor/is-typed-array/index.js +67 -0
- package/vendor/is-weakmap/index.js +42 -0
- package/vendor/is-weakset/index.js +42 -0
- package/vendor/object-inspect/index.js +515 -0
- package/vendor/object-is/implementation.js +18 -0
- package/vendor/object-is/index.js +25 -0
- package/vendor/object-is/polyfill.js +9 -0
- package/vendor/object-is/shim.js +17 -0
- package/vendor/object-keys/implementation.js +124 -0
- package/vendor/object-keys/index.js +35 -0
- package/vendor/object-keys/isArguments.js +17 -0
- package/vendor/object.assign/implementation.js +46 -0
- package/vendor/object.assign/index.js +29 -0
- package/vendor/object.assign/polyfill.js +57 -0
- package/vendor/object.assign/shim.js +17 -0
- package/vendor/regexp.prototype.flags/implementation.js +30 -0
- package/vendor/regexp.prototype.flags/index.js +25 -0
- package/vendor/regexp.prototype.flags/polyfill.js +23 -0
- package/vendor/regexp.prototype.flags/shim.js +29 -0
- package/vendor/side-channel/index.js +128 -0
- package/vendor/which-boxed-primitive/index.js +38 -0
- package/vendor/which-collection/index.js +29 -0
- package/vendor/which-typed-array/index.js +63 -0
|
@@ -115,18 +115,18 @@ function vtkMouseRangeManipulator(publicAPI, model) {
|
|
|
115
115
|
|
|
116
116
|
|
|
117
117
|
publicAPI.removeHorizontalListener = function () {
|
|
118
|
-
if (model.
|
|
119
|
-
incrementalDelta.delete(model.
|
|
120
|
-
delete model.
|
|
118
|
+
if (model.horizontalListener) {
|
|
119
|
+
incrementalDelta.delete(model.horizontalListener);
|
|
120
|
+
delete model.horizontalListener;
|
|
121
121
|
publicAPI.modified();
|
|
122
122
|
}
|
|
123
123
|
}; //-------------------------------------------------------------------------
|
|
124
124
|
|
|
125
125
|
|
|
126
126
|
publicAPI.removeVerticalListener = function () {
|
|
127
|
-
if (model.
|
|
128
|
-
incrementalDelta.delete(model.
|
|
129
|
-
delete model.
|
|
127
|
+
if (model.verticalListener) {
|
|
128
|
+
incrementalDelta.delete(model.verticalListener);
|
|
129
|
+
delete model.verticalListener;
|
|
130
130
|
publicAPI.modified();
|
|
131
131
|
}
|
|
132
132
|
}; //-------------------------------------------------------------------------
|
|
@@ -76,7 +76,7 @@ function vtkFollower(publicAPI, model) {
|
|
|
76
76
|
model.followerMatrix[8] = vpn[0];
|
|
77
77
|
model.followerMatrix[9] = vpn[1];
|
|
78
78
|
model.followerMatrix[10] = vpn[2];
|
|
79
|
-
mat4.multiply(model.matrix, model.
|
|
79
|
+
mat4.multiply(model.matrix, model.matrix, model.followerMatrix);
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
mat4.translate(model.matrix, model.matrix, [-model.origin[0], -model.origin[1], -model.origin[2]]);
|
package/Rendering/Core/Prop3D.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { mat4, quat } from 'gl-matrix';
|
|
2
2
|
import macro from '../../macros.js';
|
|
3
3
|
import vtkBoundingBox from '../../Common/DataModel/BoundingBox.js';
|
|
4
|
-
import { B as degreesFromRadians, r as radiansFromDegrees } from '../../Common/Core/Math/index.js';
|
|
4
|
+
import { B as degreesFromRadians, r as radiansFromDegrees, a as areMatricesEqual } from '../../Common/Core/Math/index.js';
|
|
5
5
|
import vtkProp from './Prop.js';
|
|
6
6
|
|
|
7
7
|
// vtkProp3D methods
|
|
@@ -83,8 +83,13 @@ function vtkProp3D(publicAPI, model) {
|
|
|
83
83
|
};
|
|
84
84
|
|
|
85
85
|
publicAPI.setUserMatrix = function (matrix) {
|
|
86
|
+
if (areMatricesEqual(model.userMatrix, matrix)) {
|
|
87
|
+
return false;
|
|
88
|
+
}
|
|
89
|
+
|
|
86
90
|
mat4.copy(model.userMatrix, matrix);
|
|
87
91
|
publicAPI.modified();
|
|
92
|
+
return true;
|
|
88
93
|
};
|
|
89
94
|
|
|
90
95
|
publicAPI.getMatrix = function () {
|
|
@@ -5,32 +5,25 @@ var vtkErrorMacro = macro.vtkErrorMacro; // perform in place string substitution
|
|
|
5
5
|
// this is useful for building up shader strings which typically involve
|
|
6
6
|
// lots of string substitutions. Return true if a substitution was done.
|
|
7
7
|
|
|
8
|
-
function substitute(source, search, replace) {
|
|
9
|
-
|
|
10
|
-
var replaceStr =
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
var
|
|
18
|
-
|
|
19
|
-
if (all) {
|
|
20
|
-
gflag = 'g';
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
var regex = new RegExp(search, gflag);
|
|
24
|
-
var resultstr = source.replace(regex, replaceStr);
|
|
8
|
+
function substitute(source, search, replace, all) {
|
|
9
|
+
// We only accept strings or array of strings, typeof is faster than Array.isArray
|
|
10
|
+
var replaceStr = typeof replace === 'string' ? replace : replace.join('\n'); // We don't need to instantiate a RegExp if we don't want a global substitution.
|
|
11
|
+
// In all other cases, we need to take the provided string or RegExp and
|
|
12
|
+
// instantiate a new one to add the `g` flag.
|
|
13
|
+
// Argument defaults are transpiled to slow `arguments`-based operations
|
|
14
|
+
// better assume undefined as flag to know if the value is set or not
|
|
15
|
+
|
|
16
|
+
var replaceSearch = all === false ? search : new RegExp(search, 'g');
|
|
17
|
+
var resultstr = source.replace(replaceSearch, replaceStr);
|
|
25
18
|
return {
|
|
26
|
-
|
|
19
|
+
// If the result is different than the input, we did perform a replacement
|
|
20
|
+
replace: resultstr !== replaceStr,
|
|
27
21
|
result: resultstr
|
|
28
22
|
};
|
|
29
23
|
} // ----------------------------------------------------------------------------
|
|
30
24
|
// vtkShaderProgram methods
|
|
31
25
|
// ----------------------------------------------------------------------------
|
|
32
26
|
|
|
33
|
-
|
|
34
27
|
function vtkShaderProgram(publicAPI, model) {
|
|
35
28
|
// Set our className
|
|
36
29
|
model.classHierarchy.push('vtkShaderProgram');
|
|
@@ -666,4 +659,4 @@ var vtkShaderProgram$1 = {
|
|
|
666
659
|
substitute: substitute
|
|
667
660
|
};
|
|
668
661
|
|
|
669
|
-
export { vtkShaderProgram$1 as default };
|
|
662
|
+
export { vtkShaderProgram$1 as default, substitute };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
|
|
2
|
+
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
2
3
|
import macro from '../../macros.js';
|
|
3
4
|
import vtkProp from '../../Rendering/Core/Prop.js';
|
|
4
5
|
import { s as subtract, d as dot } from '../../Common/Core/Math/index.js';
|
|
@@ -6,6 +7,9 @@ import { Behavior } from './WidgetRepresentation/Constants.js';
|
|
|
6
7
|
import { RenderingTypes } from '../Core/WidgetManager/Constants.js';
|
|
7
8
|
import { CATEGORIES } from '../../Rendering/Core/Mapper/CoincidentTopologyHelper.js';
|
|
8
9
|
|
|
10
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
11
|
+
|
|
12
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
9
13
|
var vtkErrorMacro = macro.vtkErrorMacro,
|
|
10
14
|
vtkWarningMacro = macro.vtkWarningMacro; // ----------------------------------------------------------------------------
|
|
11
15
|
|
|
@@ -80,7 +84,10 @@ function connectPipeline(pipeline) {
|
|
|
80
84
|
|
|
81
85
|
function vtkWidgetRepresentation(publicAPI, model) {
|
|
82
86
|
// Set our className
|
|
83
|
-
model.classHierarchy.push('vtkWidgetRepresentation');
|
|
87
|
+
model.classHierarchy.push('vtkWidgetRepresentation');
|
|
88
|
+
|
|
89
|
+
var superclass = _objectSpread({}, publicAPI); // Internal cache
|
|
90
|
+
|
|
84
91
|
|
|
85
92
|
var cache = {
|
|
86
93
|
mtimes: {},
|
|
@@ -210,10 +217,13 @@ function vtkWidgetRepresentation(publicAPI, model) {
|
|
|
210
217
|
};
|
|
211
218
|
|
|
212
219
|
publicAPI.setCoincidentTopologyParameters = function (parameters) {
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
220
|
+
var modified = superclass.setCoincidentTopologyParameters(parameters);
|
|
221
|
+
|
|
222
|
+
if (modified) {
|
|
223
|
+
publicAPI.getActors().forEach(function (actor) {
|
|
224
|
+
applyCoincidentTopologyParametersToMapper(actor.getMapper(), model.coincidentTopologyParameters);
|
|
225
|
+
});
|
|
226
|
+
}
|
|
217
227
|
};
|
|
218
228
|
|
|
219
229
|
publicAPI.getPixelWorldHeightAtCoord = function (worldCoord) {
|
|
@@ -279,8 +289,14 @@ function extend(publicAPI, model) {
|
|
|
279
289
|
|
|
280
290
|
vtkProp.extend(publicAPI, model, initialValues);
|
|
281
291
|
macro.algo(publicAPI, model, 1, 1);
|
|
282
|
-
macro.get(publicAPI, model, ['labels'
|
|
283
|
-
macro.set(publicAPI, model, [
|
|
292
|
+
macro.get(publicAPI, model, ['labels']);
|
|
293
|
+
macro.set(publicAPI, model, [{
|
|
294
|
+
type: 'object',
|
|
295
|
+
name: 'displayScaleParams'
|
|
296
|
+
}, {
|
|
297
|
+
type: 'object',
|
|
298
|
+
name: 'coincidentTopologyParameters'
|
|
299
|
+
}]);
|
|
284
300
|
macro.setGet(publicAPI, model, ['scaleInPixels']); // Object specific methods
|
|
285
301
|
|
|
286
302
|
vtkWidgetRepresentation(publicAPI, model);
|
|
@@ -152,7 +152,19 @@ function defaultValues(initialValues) {
|
|
|
152
152
|
function extend(publicAPI, model) {
|
|
153
153
|
var initialValues = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
154
154
|
vtkSVGRepresentation.extend(publicAPI, model, defaultValues(initialValues));
|
|
155
|
-
macro.setGet(publicAPI, model, [
|
|
155
|
+
macro.setGet(publicAPI, model, [{
|
|
156
|
+
type: 'object',
|
|
157
|
+
name: 'circleProps'
|
|
158
|
+
}, {
|
|
159
|
+
type: 'object',
|
|
160
|
+
name: 'fontProperties'
|
|
161
|
+
}, {
|
|
162
|
+
type: 'object',
|
|
163
|
+
name: 'strokeFontProperties'
|
|
164
|
+
}, {
|
|
165
|
+
type: 'object',
|
|
166
|
+
name: 'textProps'
|
|
167
|
+
}]); // Object specific methods
|
|
156
168
|
|
|
157
169
|
vtkSVGLandmarkRepresentation(publicAPI, model);
|
|
158
170
|
} // ----------------------------------------------------------------------------
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '../../vendor/call-bind/callBound.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '../../vendor/call-bind/index.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '../../vendor/define-properties/index.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '../../vendor/es-get-iterator/index.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '../../vendor/get-intrinsic/index.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '../../../vendor/has/src/index.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '../../vendor/has-bigints/index.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '../../vendor/is-arguments/index.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '../../vendor/is-bigint/index.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '../../vendor/is-boolean-object/index.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '../../vendor/is-map/index.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '../../vendor/is-number-object/index.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '../../vendor/is-regex/index.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '../../vendor/is-set/index.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '../../vendor/is-string/index.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '../../vendor/is-symbol/index.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '../../vendor/is-typed-array/index.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '../../vendor/is-weakmap/index.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '../../vendor/is-weakset/index.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '../../vendor/object-is/index.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '../../vendor/define-properties/index.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '../../vendor/object-keys/implementation.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '../../vendor/object-keys/index.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '../../vendor/object.assign/implementation.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '../../vendor/object.assign/index.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '../../vendor/object.assign/implementation.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '../../vendor/regexp.prototype.flags/index.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '../../vendor/define-properties/index.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '../../vendor/define-properties/index.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '../../vendor/side-channel/index.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '../../vendor/which-typed-array/index.js';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
2
|
+
|
|
3
|
+
function getAugmentedNamespace(n) {
|
|
4
|
+
if (n.__esModule) return n;
|
|
5
|
+
var a = Object.defineProperty({}, '__esModule', {value: true});
|
|
6
|
+
Object.keys(n).forEach(function (k) {
|
|
7
|
+
var d = Object.getOwnPropertyDescriptor(n, k);
|
|
8
|
+
Object.defineProperty(a, k, d.get ? d : {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () {
|
|
11
|
+
return n[k];
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
});
|
|
15
|
+
return a;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export { commonjsGlobal as c, getAugmentedNamespace as g };
|