@vertexvis/viewer-react 0.24.5-canary.4 → 1.0.0-testing.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/bundle.cjs.js +456 -245
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +457 -246
- package/dist/bundle.esm.js.map +1 -1
- package/dist/generated/components.d.ts +207 -44
- package/dist/index.d.ts +1 -1
- package/package.json +12 -11
- package/dist/generated/react-component-lib/createComponent.d.ts +0 -10
- package/dist/generated/react-component-lib/createOverlayComponent.d.ts +0 -21
- package/dist/generated/react-component-lib/index.d.ts +0 -2
- package/dist/generated/react-component-lib/interfaces.d.ts +0 -29
- package/dist/generated/react-component-lib/utils/attachProps.d.ts +0 -16
- package/dist/generated/react-component-lib/utils/case.d.ts +0 -2
- package/dist/generated/react-component-lib/utils/dev.d.ts +0 -2
- package/dist/generated/react-component-lib/utils/index.d.ts +0 -10
package/dist/bundle.cjs.js
CHANGED
|
@@ -1,261 +1,472 @@
|
|
|
1
|
+
'use client';
|
|
1
2
|
'use strict';
|
|
2
3
|
|
|
3
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
5
|
|
|
5
6
|
var React = require('react');
|
|
6
|
-
require('
|
|
7
|
+
var vertexSceneTreeNotificationBanner_js = require('@vertexvis/viewer/dist/components/vertex-scene-tree-notification-banner.js');
|
|
8
|
+
var vertexSceneTreeSearch_js = require('@vertexvis/viewer/dist/components/vertex-scene-tree-search.js');
|
|
9
|
+
var vertexSceneTreeTableCell_js = require('@vertexvis/viewer/dist/components/vertex-scene-tree-table-cell.js');
|
|
10
|
+
var vertexSceneTreeTableColumn_js = require('@vertexvis/viewer/dist/components/vertex-scene-tree-table-column.js');
|
|
11
|
+
var vertexSceneTreeTableHeader_js = require('@vertexvis/viewer/dist/components/vertex-scene-tree-table-header.js');
|
|
12
|
+
var vertexSceneTreeTableLayout_js = require('@vertexvis/viewer/dist/components/vertex-scene-tree-table-layout.js');
|
|
13
|
+
var vertexSceneTreeTableResizeDivider_js = require('@vertexvis/viewer/dist/components/vertex-scene-tree-table-resize-divider.js');
|
|
14
|
+
var vertexSceneTreeToolbarGroup_js = require('@vertexvis/viewer/dist/components/vertex-scene-tree-toolbar-group.js');
|
|
15
|
+
var vertexSceneTreeToolbar_js = require('@vertexvis/viewer/dist/components/vertex-scene-tree-toolbar.js');
|
|
16
|
+
var vertexSceneTree_js = require('@vertexvis/viewer/dist/components/vertex-scene-tree.js');
|
|
17
|
+
var vertexViewerAnnotationCallout_js = require('@vertexvis/viewer/dist/components/vertex-viewer-annotation-callout.js');
|
|
18
|
+
var vertexViewerBoxQueryTool_js = require('@vertexvis/viewer/dist/components/vertex-viewer-box-query-tool.js');
|
|
19
|
+
var vertexViewerButton_js = require('@vertexvis/viewer/dist/components/vertex-viewer-button.js');
|
|
20
|
+
var vertexViewerDefaultToolbar_js = require('@vertexvis/viewer/dist/components/vertex-viewer-default-toolbar.js');
|
|
21
|
+
var vertexViewerDomElement_js = require('@vertexvis/viewer/dist/components/vertex-viewer-dom-element.js');
|
|
22
|
+
var vertexViewerDomGroup_js = require('@vertexvis/viewer/dist/components/vertex-viewer-dom-group.js');
|
|
23
|
+
var vertexViewerDomRenderer_js = require('@vertexvis/viewer/dist/components/vertex-viewer-dom-renderer.js');
|
|
24
|
+
var vertexViewerHitResultIndicator_js = require('@vertexvis/viewer/dist/components/vertex-viewer-hit-result-indicator.js');
|
|
25
|
+
var vertexViewerIcon_js = require('@vertexvis/viewer/dist/components/vertex-viewer-icon.js');
|
|
26
|
+
var vertexViewerLayer_js = require('@vertexvis/viewer/dist/components/vertex-viewer-layer.js');
|
|
27
|
+
var vertexViewerMarkupArrow_js = require('@vertexvis/viewer/dist/components/vertex-viewer-markup-arrow.js');
|
|
28
|
+
var vertexViewerMarkupCircle_js = require('@vertexvis/viewer/dist/components/vertex-viewer-markup-circle.js');
|
|
29
|
+
var vertexViewerMarkupFreeform_js = require('@vertexvis/viewer/dist/components/vertex-viewer-markup-freeform.js');
|
|
30
|
+
var vertexViewerMarkupTool_js = require('@vertexvis/viewer/dist/components/vertex-viewer-markup-tool.js');
|
|
31
|
+
var vertexViewerMarkup_js = require('@vertexvis/viewer/dist/components/vertex-viewer-markup.js');
|
|
32
|
+
var vertexViewerMeasurementDetails_js = require('@vertexvis/viewer/dist/components/vertex-viewer-measurement-details.js');
|
|
33
|
+
var vertexViewerMeasurementDistance_js = require('@vertexvis/viewer/dist/components/vertex-viewer-measurement-distance.js');
|
|
34
|
+
var vertexViewerMeasurementLine_js = require('@vertexvis/viewer/dist/components/vertex-viewer-measurement-line.js');
|
|
35
|
+
var vertexViewerMeasurementOverlays_js = require('@vertexvis/viewer/dist/components/vertex-viewer-measurement-overlays.js');
|
|
36
|
+
var vertexViewerMeasurementPrecise_js = require('@vertexvis/viewer/dist/components/vertex-viewer-measurement-precise.js');
|
|
37
|
+
var vertexViewerPinGroup_js = require('@vertexvis/viewer/dist/components/vertex-viewer-pin-group.js');
|
|
38
|
+
var vertexViewerPinLabelLine_js = require('@vertexvis/viewer/dist/components/vertex-viewer-pin-label-line.js');
|
|
39
|
+
var vertexViewerPinLabel_js = require('@vertexvis/viewer/dist/components/vertex-viewer-pin-label.js');
|
|
40
|
+
var vertexViewerPinTool_js = require('@vertexvis/viewer/dist/components/vertex-viewer-pin-tool.js');
|
|
41
|
+
var vertexViewerSpinner_js = require('@vertexvis/viewer/dist/components/vertex-viewer-spinner.js');
|
|
42
|
+
var vertexViewerTeleportTool_js = require('@vertexvis/viewer/dist/components/vertex-viewer-teleport-tool.js');
|
|
43
|
+
var vertexViewerToolbarGroup_js = require('@vertexvis/viewer/dist/components/vertex-viewer-toolbar-group.js');
|
|
44
|
+
var vertexViewerToolbar_js = require('@vertexvis/viewer/dist/components/vertex-viewer-toolbar.js');
|
|
45
|
+
var vertexViewerTransformWidget_js = require('@vertexvis/viewer/dist/components/vertex-viewer-transform-widget.js');
|
|
46
|
+
var vertexViewerViewCube_js = require('@vertexvis/viewer/dist/components/vertex-viewer-view-cube.js');
|
|
47
|
+
var vertexViewerWalkModeTool_js = require('@vertexvis/viewer/dist/components/vertex-viewer-walk-mode-tool.js');
|
|
48
|
+
var vertexViewer_js = require('@vertexvis/viewer/dist/components/vertex-viewer.js');
|
|
7
49
|
|
|
8
50
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
9
51
|
|
|
10
52
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
11
53
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
const
|
|
54
|
+
/**
|
|
55
|
+
* @license
|
|
56
|
+
* Copyright 2018 Google LLC
|
|
57
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
58
|
+
*/
|
|
59
|
+
const e=new Set(["children","localName","ref","style","className"]),n=new WeakMap,t=(e,t,o,l,a)=>{const s=a?.[t];void 0===s?(e[t]=o,null==o&&t in HTMLElement.prototype&&e.removeAttribute(t)):o!==l&&((e,t,o)=>{let l=n.get(e);void 0===l&&n.set(e,l=new Map);let a=l.get(t);void 0!==o?void 0===a?(l.set(t,a={handleEvent:o}),e.addEventListener(t,a)):a.handleEvent=o:void 0!==a&&(l.delete(t),e.removeEventListener(t,a));})(e,s,o);},o=({react:n,tagName:o,elementClass:l,events:a,displayName:s})=>{const c=new Set(Object.keys(a??{})),r=n.forwardRef(((s,r)=>{const i=n.useRef(new Map),d=n.useRef(null),f={},u={};for(const[n,t]of Object.entries(s))e.has(n)?f["className"===n?"class":n]=t:c.has(n)||n in l.prototype?u[n]=t:f[n]=t;return n.useLayoutEffect((()=>{if(null===d.current)return;const e=new Map;for(const n in u)t(d.current,n,s[n],i.current.get(n),a),i.current.delete(n),e.set(n,s[n]);for(const[e,n]of i.current)t(d.current,e,void 0,n,a);i.current=e;})),n.useLayoutEffect((()=>{d.current?.removeAttribute("defer-hydration");}),[]),f.suppressHydrationWarning=!0,n.createElement(o,{...f,ref:n.useCallback((e=>{d.current=e,"function"==typeof r?r(e):null!==r&&(r.current=e);}),[r])})}));return r.displayName=s??l.name,r};
|
|
18
60
|
|
|
19
|
-
const
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
if (name === 'children' ||
|
|
29
|
-
name === 'style' ||
|
|
30
|
-
name === 'ref' ||
|
|
31
|
-
name === 'class' ||
|
|
32
|
-
name === 'className' ||
|
|
33
|
-
name === 'forwardedRef') {
|
|
34
|
-
return;
|
|
35
|
-
}
|
|
36
|
-
if (name.indexOf('on') === 0 && name[2] === name[2].toUpperCase()) {
|
|
37
|
-
const eventName = name.substring(2);
|
|
38
|
-
const eventNameLc = eventName[0].toLowerCase() + eventName.substring(1);
|
|
39
|
-
if (!isCoveredByReact(eventNameLc)) {
|
|
40
|
-
syncEvent(node, eventNameLc, newProps[name]);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
else {
|
|
44
|
-
node[name] = newProps[name];
|
|
45
|
-
const propType = typeof newProps[name];
|
|
46
|
-
if (propType === 'string') {
|
|
47
|
-
node.setAttribute(camelToDashCase(name), newProps[name]);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
|
-
const getClassName = (classList, newProps, oldProps) => {
|
|
54
|
-
const newClassProp = newProps.className || newProps.class;
|
|
55
|
-
const oldClassProp = oldProps.className || oldProps.class;
|
|
56
|
-
// map the classes to Maps for performance
|
|
57
|
-
const currentClasses = arrayToMap(classList);
|
|
58
|
-
const incomingPropClasses = arrayToMap(newClassProp ? newClassProp.split(' ') : []);
|
|
59
|
-
const oldPropClasses = arrayToMap(oldClassProp ? oldClassProp.split(' ') : []);
|
|
60
|
-
const finalClassNames = [];
|
|
61
|
-
// loop through each of the current classes on the component
|
|
62
|
-
// to see if it should be a part of the classNames added
|
|
63
|
-
currentClasses.forEach((currentClass) => {
|
|
64
|
-
if (incomingPropClasses.has(currentClass)) {
|
|
65
|
-
// add it as its already included in classnames coming in from newProps
|
|
66
|
-
finalClassNames.push(currentClass);
|
|
67
|
-
incomingPropClasses.delete(currentClass);
|
|
68
|
-
}
|
|
69
|
-
else if (!oldPropClasses.has(currentClass)) {
|
|
70
|
-
// add it as it has NOT been removed by user
|
|
71
|
-
finalClassNames.push(currentClass);
|
|
72
|
-
}
|
|
73
|
-
});
|
|
74
|
-
incomingPropClasses.forEach((s) => finalClassNames.push(s));
|
|
75
|
-
return finalClassNames.join(' ');
|
|
76
|
-
};
|
|
77
|
-
/**
|
|
78
|
-
* Transforms a React event name to a browser event name.
|
|
79
|
-
*/
|
|
80
|
-
const transformReactEventName = (eventNameSuffix) => {
|
|
81
|
-
switch (eventNameSuffix) {
|
|
82
|
-
case 'doubleclick':
|
|
83
|
-
return 'dblclick';
|
|
84
|
-
}
|
|
85
|
-
return eventNameSuffix;
|
|
86
|
-
};
|
|
87
|
-
/**
|
|
88
|
-
* Checks if an event is supported in the current execution environment.
|
|
89
|
-
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
|
90
|
-
*/
|
|
91
|
-
const isCoveredByReact = (eventNameSuffix) => {
|
|
92
|
-
if (typeof document === 'undefined') {
|
|
93
|
-
return true;
|
|
94
|
-
}
|
|
95
|
-
else {
|
|
96
|
-
const eventName = 'on' + transformReactEventName(eventNameSuffix);
|
|
97
|
-
let isSupported = eventName in document;
|
|
98
|
-
if (!isSupported) {
|
|
99
|
-
const element = document.createElement('div');
|
|
100
|
-
element.setAttribute(eventName, 'return;');
|
|
101
|
-
isSupported = typeof element[eventName] === 'function';
|
|
102
|
-
}
|
|
103
|
-
return isSupported;
|
|
104
|
-
}
|
|
105
|
-
};
|
|
106
|
-
const syncEvent = (node, eventName, newEventHandler) => {
|
|
107
|
-
const eventStore = node.__events || (node.__events = {});
|
|
108
|
-
const oldEventHandler = eventStore[eventName];
|
|
109
|
-
// Remove old listener so they don't double up.
|
|
110
|
-
if (oldEventHandler) {
|
|
111
|
-
node.removeEventListener(eventName, oldEventHandler);
|
|
112
|
-
}
|
|
113
|
-
// Bind new listener.
|
|
114
|
-
node.addEventListener(eventName, (eventStore[eventName] = function handler(e) {
|
|
115
|
-
if (newEventHandler) {
|
|
116
|
-
newEventHandler.call(this, e);
|
|
117
|
-
}
|
|
118
|
-
}));
|
|
119
|
-
};
|
|
120
|
-
const arrayToMap = (arr) => {
|
|
121
|
-
const map = new Map();
|
|
122
|
-
arr.forEach((s) => map.set(s, s));
|
|
123
|
-
return map;
|
|
61
|
+
const r = ({
|
|
62
|
+
defineCustomElement: e,
|
|
63
|
+
tagName: o$1,
|
|
64
|
+
transformTag: n,
|
|
65
|
+
...t
|
|
66
|
+
}) => {
|
|
67
|
+
typeof e < "u" && e();
|
|
68
|
+
const a = n ? n(o$1) : o$1;
|
|
69
|
+
return o({ ...t, tagName: a });
|
|
124
70
|
};
|
|
125
71
|
|
|
126
|
-
const
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
const
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
const
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
const
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
const
|
|
258
|
-
|
|
72
|
+
const VertexSceneTree = /*@__PURE__*/ r({
|
|
73
|
+
tagName: 'vertex-scene-tree',
|
|
74
|
+
elementClass: vertexSceneTree_js.VertexSceneTree,
|
|
75
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
76
|
+
react: React__default["default"],
|
|
77
|
+
events: {
|
|
78
|
+
onConnectionError: 'connectionError',
|
|
79
|
+
onFirstRowRendered: 'firstRowRendered'
|
|
80
|
+
},
|
|
81
|
+
defineCustomElement: vertexSceneTree_js.defineCustomElement
|
|
82
|
+
});
|
|
83
|
+
const VertexSceneTreeNotificationBanner = /*@__PURE__*/ r({
|
|
84
|
+
tagName: 'vertex-scene-tree-notification-banner',
|
|
85
|
+
elementClass: vertexSceneTreeNotificationBanner_js.VertexSceneTreeNotificationBanner,
|
|
86
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
87
|
+
react: React__default["default"],
|
|
88
|
+
events: { onAction: 'action' },
|
|
89
|
+
defineCustomElement: vertexSceneTreeNotificationBanner_js.defineCustomElement
|
|
90
|
+
});
|
|
91
|
+
const VertexSceneTreeSearch = /*@__PURE__*/ r({
|
|
92
|
+
tagName: 'vertex-scene-tree-search',
|
|
93
|
+
elementClass: vertexSceneTreeSearch_js.VertexSceneTreeSearch,
|
|
94
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
95
|
+
react: React__default["default"],
|
|
96
|
+
events: {
|
|
97
|
+
onSearch: 'search',
|
|
98
|
+
onSearchCompleted: 'searchCompleted'
|
|
99
|
+
},
|
|
100
|
+
defineCustomElement: vertexSceneTreeSearch_js.defineCustomElement
|
|
101
|
+
});
|
|
102
|
+
const VertexSceneTreeTableCell = /*@__PURE__*/ r({
|
|
103
|
+
tagName: 'vertex-scene-tree-table-cell',
|
|
104
|
+
elementClass: vertexSceneTreeTableCell_js.VertexSceneTreeTableCell,
|
|
105
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
106
|
+
react: React__default["default"],
|
|
107
|
+
events: {
|
|
108
|
+
onExpandToggled: 'expandToggled',
|
|
109
|
+
onVisibilityToggled: 'visibilityToggled',
|
|
110
|
+
onSelectionToggled: 'selectionToggled',
|
|
111
|
+
onIsolatePressed: 'isolatePressed',
|
|
112
|
+
onCellLoaded: 'cellLoaded'
|
|
113
|
+
},
|
|
114
|
+
defineCustomElement: vertexSceneTreeTableCell_js.defineCustomElement
|
|
115
|
+
});
|
|
116
|
+
const VertexSceneTreeTableColumn = /*@__PURE__*/ r({
|
|
117
|
+
tagName: 'vertex-scene-tree-table-column',
|
|
118
|
+
elementClass: vertexSceneTreeTableColumn_js.VertexSceneTreeTableColumn,
|
|
119
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
120
|
+
react: React__default["default"],
|
|
121
|
+
events: {},
|
|
122
|
+
defineCustomElement: vertexSceneTreeTableColumn_js.defineCustomElement
|
|
123
|
+
});
|
|
124
|
+
const VertexSceneTreeTableHeader = /*@__PURE__*/ r({
|
|
125
|
+
tagName: 'vertex-scene-tree-table-header',
|
|
126
|
+
elementClass: vertexSceneTreeTableHeader_js.VertexSceneTreeTableHeader,
|
|
127
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
128
|
+
react: React__default["default"],
|
|
129
|
+
events: {},
|
|
130
|
+
defineCustomElement: vertexSceneTreeTableHeader_js.defineCustomElement
|
|
131
|
+
});
|
|
132
|
+
const VertexSceneTreeTableLayout = /*@__PURE__*/ r({
|
|
133
|
+
tagName: 'vertex-scene-tree-table-layout',
|
|
134
|
+
elementClass: vertexSceneTreeTableLayout_js.VertexSceneTreeTableLayout,
|
|
135
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
136
|
+
react: React__default["default"],
|
|
137
|
+
events: { onColumnsResized: 'columnsResized' },
|
|
138
|
+
defineCustomElement: vertexSceneTreeTableLayout_js.defineCustomElement
|
|
139
|
+
});
|
|
140
|
+
const VertexSceneTreeTableResizeDivider = /*@__PURE__*/ r({
|
|
141
|
+
tagName: 'vertex-scene-tree-table-resize-divider',
|
|
142
|
+
elementClass: vertexSceneTreeTableResizeDivider_js.VertexSceneTreeTableResizeDivider,
|
|
143
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
144
|
+
react: React__default["default"],
|
|
145
|
+
events: {},
|
|
146
|
+
defineCustomElement: vertexSceneTreeTableResizeDivider_js.defineCustomElement
|
|
147
|
+
});
|
|
148
|
+
const VertexSceneTreeToolbar = /*@__PURE__*/ r({
|
|
149
|
+
tagName: 'vertex-scene-tree-toolbar',
|
|
150
|
+
elementClass: vertexSceneTreeToolbar_js.VertexSceneTreeToolbar,
|
|
151
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
152
|
+
react: React__default["default"],
|
|
153
|
+
events: {},
|
|
154
|
+
defineCustomElement: vertexSceneTreeToolbar_js.defineCustomElement
|
|
155
|
+
});
|
|
156
|
+
const VertexSceneTreeToolbarGroup = /*@__PURE__*/ r({
|
|
157
|
+
tagName: 'vertex-scene-tree-toolbar-group',
|
|
158
|
+
elementClass: vertexSceneTreeToolbarGroup_js.VertexSceneTreeToolbarGroup,
|
|
159
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
160
|
+
react: React__default["default"],
|
|
161
|
+
events: {},
|
|
162
|
+
defineCustomElement: vertexSceneTreeToolbarGroup_js.defineCustomElement
|
|
163
|
+
});
|
|
164
|
+
const VertexViewer = /*@__PURE__*/ r({
|
|
165
|
+
tagName: 'vertex-viewer',
|
|
166
|
+
elementClass: vertexViewer_js.VertexViewer,
|
|
167
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
168
|
+
react: React__default["default"],
|
|
169
|
+
events: {
|
|
170
|
+
onTap: 'tap',
|
|
171
|
+
onDoubletap: 'doubletap',
|
|
172
|
+
onLongpress: 'longpress',
|
|
173
|
+
onFrameReceived: 'frameReceived',
|
|
174
|
+
onFrameDrawn: 'frameDrawn',
|
|
175
|
+
onTokenExpired: 'tokenExpired',
|
|
176
|
+
onConnectionChange: 'connectionChange',
|
|
177
|
+
onSceneReady: 'sceneReady',
|
|
178
|
+
onSceneChanged: 'sceneChanged',
|
|
179
|
+
onInteractionStarted: 'interactionStarted',
|
|
180
|
+
onInteractionFinished: 'interactionFinished',
|
|
181
|
+
onCameraTypeChanged: 'cameraTypeChanged',
|
|
182
|
+
onAnnotationStateChanged: 'annotationStateChanged',
|
|
183
|
+
onDimensionschange: 'dimensionschange'
|
|
184
|
+
},
|
|
185
|
+
defineCustomElement: vertexViewer_js.defineCustomElement
|
|
186
|
+
});
|
|
187
|
+
const VertexViewerAnnotationCallout = /*@__PURE__*/ r({
|
|
188
|
+
tagName: 'vertex-viewer-annotation-callout',
|
|
189
|
+
elementClass: vertexViewerAnnotationCallout_js.VertexViewerAnnotationCallout,
|
|
190
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
191
|
+
react: React__default["default"],
|
|
192
|
+
events: {},
|
|
193
|
+
defineCustomElement: vertexViewerAnnotationCallout_js.defineCustomElement
|
|
194
|
+
});
|
|
195
|
+
const VertexViewerBoxQueryTool = /*@__PURE__*/ r({
|
|
196
|
+
tagName: 'vertex-viewer-box-query-tool',
|
|
197
|
+
elementClass: vertexViewerBoxQueryTool_js.VertexViewerBoxQueryTool,
|
|
198
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
199
|
+
react: React__default["default"],
|
|
200
|
+
events: { onControllerChanged: 'controllerChanged' },
|
|
201
|
+
defineCustomElement: vertexViewerBoxQueryTool_js.defineCustomElement
|
|
202
|
+
});
|
|
203
|
+
const VertexViewerButton = /*@__PURE__*/ r({
|
|
204
|
+
tagName: 'vertex-viewer-button',
|
|
205
|
+
elementClass: vertexViewerButton_js.VertexViewerButton,
|
|
206
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
207
|
+
react: React__default["default"],
|
|
208
|
+
events: {},
|
|
209
|
+
defineCustomElement: vertexViewerButton_js.defineCustomElement
|
|
210
|
+
});
|
|
211
|
+
const VertexViewerDefaultToolbar = /*@__PURE__*/ r({
|
|
212
|
+
tagName: 'vertex-viewer-default-toolbar',
|
|
213
|
+
elementClass: vertexViewerDefaultToolbar_js.VertexViewerDefaultToolbar,
|
|
214
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
215
|
+
react: React__default["default"],
|
|
216
|
+
events: {},
|
|
217
|
+
defineCustomElement: vertexViewerDefaultToolbar_js.defineCustomElement
|
|
218
|
+
});
|
|
219
|
+
const VertexViewerDomElement = /*@__PURE__*/ r({
|
|
220
|
+
tagName: 'vertex-viewer-dom-element',
|
|
221
|
+
elementClass: vertexViewerDomElement_js.VertexViewerDomElement,
|
|
222
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
223
|
+
react: React__default["default"],
|
|
224
|
+
events: {
|
|
225
|
+
onOcclusionStateChanged: 'occlusionStateChanged',
|
|
226
|
+
onDetachedStateChanged: 'detachedStateChanged',
|
|
227
|
+
onPropertyChange: 'propertyChange'
|
|
228
|
+
},
|
|
229
|
+
defineCustomElement: vertexViewerDomElement_js.defineCustomElement
|
|
230
|
+
});
|
|
231
|
+
const VertexViewerDomGroup = /*@__PURE__*/ r({
|
|
232
|
+
tagName: 'vertex-viewer-dom-group',
|
|
233
|
+
elementClass: vertexViewerDomGroup_js.VertexViewerDomGroup,
|
|
234
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
235
|
+
react: React__default["default"],
|
|
236
|
+
events: { onPropertyChange: 'propertyChange' },
|
|
237
|
+
defineCustomElement: vertexViewerDomGroup_js.defineCustomElement
|
|
238
|
+
});
|
|
239
|
+
const VertexViewerDomRenderer = /*@__PURE__*/ r({
|
|
240
|
+
tagName: 'vertex-viewer-dom-renderer',
|
|
241
|
+
elementClass: vertexViewerDomRenderer_js.VertexViewerDomRenderer,
|
|
242
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
243
|
+
react: React__default["default"],
|
|
244
|
+
events: {},
|
|
245
|
+
defineCustomElement: vertexViewerDomRenderer_js.defineCustomElement
|
|
246
|
+
});
|
|
247
|
+
const VertexViewerHitResultIndicator = /*@__PURE__*/ r({
|
|
248
|
+
tagName: 'vertex-viewer-hit-result-indicator',
|
|
249
|
+
elementClass: vertexViewerHitResultIndicator_js.VertexViewerHitResultIndicator,
|
|
250
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
251
|
+
react: React__default["default"],
|
|
252
|
+
events: {},
|
|
253
|
+
defineCustomElement: vertexViewerHitResultIndicator_js.defineCustomElement
|
|
254
|
+
});
|
|
255
|
+
const VertexViewerIcon = /*@__PURE__*/ r({
|
|
256
|
+
tagName: 'vertex-viewer-icon',
|
|
257
|
+
elementClass: vertexViewerIcon_js.VertexViewerIcon,
|
|
258
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
259
|
+
react: React__default["default"],
|
|
260
|
+
events: {},
|
|
261
|
+
defineCustomElement: vertexViewerIcon_js.defineCustomElement
|
|
262
|
+
});
|
|
263
|
+
const VertexViewerLayer = /*@__PURE__*/ r({
|
|
264
|
+
tagName: 'vertex-viewer-layer',
|
|
265
|
+
elementClass: vertexViewerLayer_js.VertexViewerLayer,
|
|
266
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
267
|
+
react: React__default["default"],
|
|
268
|
+
events: {},
|
|
269
|
+
defineCustomElement: vertexViewerLayer_js.defineCustomElement
|
|
270
|
+
});
|
|
271
|
+
const VertexViewerMarkup = /*@__PURE__*/ r({
|
|
272
|
+
tagName: 'vertex-viewer-markup',
|
|
273
|
+
elementClass: vertexViewerMarkup_js.VertexViewerMarkup,
|
|
274
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
275
|
+
react: React__default["default"],
|
|
276
|
+
events: {
|
|
277
|
+
onMarkupAdded: 'markupAdded',
|
|
278
|
+
onMarkupChanged: 'markupChanged',
|
|
279
|
+
onMarkupRemoved: 'markupRemoved',
|
|
280
|
+
onMarkupSelectionChanged: 'markupSelectionChanged'
|
|
281
|
+
},
|
|
282
|
+
defineCustomElement: vertexViewerMarkup_js.defineCustomElement
|
|
283
|
+
});
|
|
284
|
+
const VertexViewerMarkupArrow = /*@__PURE__*/ r({
|
|
285
|
+
tagName: 'vertex-viewer-markup-arrow',
|
|
286
|
+
elementClass: vertexViewerMarkupArrow_js.VertexViewerMarkupArrow,
|
|
287
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
288
|
+
react: React__default["default"],
|
|
289
|
+
events: {
|
|
290
|
+
onInteractionBegin: 'interactionBegin',
|
|
291
|
+
onInteractionEnd: 'interactionEnd',
|
|
292
|
+
onViewRendered: 'viewRendered'
|
|
293
|
+
},
|
|
294
|
+
defineCustomElement: vertexViewerMarkupArrow_js.defineCustomElement
|
|
295
|
+
});
|
|
296
|
+
const VertexViewerMarkupCircle = /*@__PURE__*/ r({
|
|
297
|
+
tagName: 'vertex-viewer-markup-circle',
|
|
298
|
+
elementClass: vertexViewerMarkupCircle_js.VertexViewerMarkupCircle,
|
|
299
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
300
|
+
react: React__default["default"],
|
|
301
|
+
events: {
|
|
302
|
+
onInteractionBegin: 'interactionBegin',
|
|
303
|
+
onInteractionEnd: 'interactionEnd',
|
|
304
|
+
onViewRendered: 'viewRendered'
|
|
305
|
+
},
|
|
306
|
+
defineCustomElement: vertexViewerMarkupCircle_js.defineCustomElement
|
|
307
|
+
});
|
|
308
|
+
const VertexViewerMarkupFreeform = /*@__PURE__*/ r({
|
|
309
|
+
tagName: 'vertex-viewer-markup-freeform',
|
|
310
|
+
elementClass: vertexViewerMarkupFreeform_js.VertexViewerMarkupFreeform,
|
|
311
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
312
|
+
react: React__default["default"],
|
|
313
|
+
events: {
|
|
314
|
+
onInteractionBegin: 'interactionBegin',
|
|
315
|
+
onInteractionEnd: 'interactionEnd',
|
|
316
|
+
onViewRendered: 'viewRendered'
|
|
317
|
+
},
|
|
318
|
+
defineCustomElement: vertexViewerMarkupFreeform_js.defineCustomElement
|
|
319
|
+
});
|
|
320
|
+
const VertexViewerMarkupTool = /*@__PURE__*/ r({
|
|
321
|
+
tagName: 'vertex-viewer-markup-tool',
|
|
322
|
+
elementClass: vertexViewerMarkupTool_js.VertexViewerMarkupTool,
|
|
323
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
324
|
+
react: React__default["default"],
|
|
325
|
+
events: {
|
|
326
|
+
onMarkupBegin: 'markupBegin',
|
|
327
|
+
onMarkupEnd: 'markupEnd'
|
|
328
|
+
},
|
|
329
|
+
defineCustomElement: vertexViewerMarkupTool_js.defineCustomElement
|
|
330
|
+
});
|
|
331
|
+
const VertexViewerMeasurementDetails = /*@__PURE__*/ r({
|
|
332
|
+
tagName: 'vertex-viewer-measurement-details',
|
|
333
|
+
elementClass: vertexViewerMeasurementDetails_js.VertexViewerMeasurementDetails,
|
|
334
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
335
|
+
react: React__default["default"],
|
|
336
|
+
events: {},
|
|
337
|
+
defineCustomElement: vertexViewerMeasurementDetails_js.defineCustomElement
|
|
338
|
+
});
|
|
339
|
+
const VertexViewerMeasurementDistance = /*@__PURE__*/ r({
|
|
340
|
+
tagName: 'vertex-viewer-measurement-distance',
|
|
341
|
+
elementClass: vertexViewerMeasurementDistance_js.VertexViewerMeasurementDistance,
|
|
342
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
343
|
+
react: React__default["default"],
|
|
344
|
+
events: {
|
|
345
|
+
onEditBegin: 'editBegin',
|
|
346
|
+
onEditEnd: 'editEnd'
|
|
347
|
+
},
|
|
348
|
+
defineCustomElement: vertexViewerMeasurementDistance_js.defineCustomElement
|
|
349
|
+
});
|
|
350
|
+
const VertexViewerMeasurementLine = /*@__PURE__*/ r({
|
|
351
|
+
tagName: 'vertex-viewer-measurement-line',
|
|
352
|
+
elementClass: vertexViewerMeasurementLine_js.VertexViewerMeasurementLine,
|
|
353
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
354
|
+
react: React__default["default"],
|
|
355
|
+
events: {},
|
|
356
|
+
defineCustomElement: vertexViewerMeasurementLine_js.defineCustomElement
|
|
357
|
+
});
|
|
358
|
+
const VertexViewerMeasurementOverlays = /*@__PURE__*/ r({
|
|
359
|
+
tagName: 'vertex-viewer-measurement-overlays',
|
|
360
|
+
elementClass: vertexViewerMeasurementOverlays_js.VertexViewerMeasurementOverlays,
|
|
361
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
362
|
+
react: React__default["default"],
|
|
363
|
+
events: {},
|
|
364
|
+
defineCustomElement: vertexViewerMeasurementOverlays_js.defineCustomElement
|
|
365
|
+
});
|
|
366
|
+
const VertexViewerMeasurementPrecise = /*@__PURE__*/ r({
|
|
367
|
+
tagName: 'vertex-viewer-measurement-precise',
|
|
368
|
+
elementClass: vertexViewerMeasurementPrecise_js.VertexViewerMeasurementPrecise,
|
|
369
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
370
|
+
react: React__default["default"],
|
|
371
|
+
events: {},
|
|
372
|
+
defineCustomElement: vertexViewerMeasurementPrecise_js.defineCustomElement
|
|
373
|
+
});
|
|
374
|
+
const VertexViewerPinGroup = /*@__PURE__*/ r({
|
|
375
|
+
tagName: 'vertex-viewer-pin-group',
|
|
376
|
+
elementClass: vertexViewerPinGroup_js.VertexViewerPinGroup,
|
|
377
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
378
|
+
react: React__default["default"],
|
|
379
|
+
events: {},
|
|
380
|
+
defineCustomElement: vertexViewerPinGroup_js.defineCustomElement
|
|
381
|
+
});
|
|
382
|
+
const VertexViewerPinLabel = /*@__PURE__*/ r({
|
|
383
|
+
tagName: 'vertex-viewer-pin-label',
|
|
384
|
+
elementClass: vertexViewerPinLabel_js.VertexViewerPinLabel,
|
|
385
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
386
|
+
react: React__default["default"],
|
|
387
|
+
events: {
|
|
388
|
+
onLabelFocused: 'labelFocused',
|
|
389
|
+
onLabelBlurred: 'labelBlurred'
|
|
390
|
+
},
|
|
391
|
+
defineCustomElement: vertexViewerPinLabel_js.defineCustomElement
|
|
392
|
+
});
|
|
393
|
+
const VertexViewerPinLabelLine = /*@__PURE__*/ r({
|
|
394
|
+
tagName: 'vertex-viewer-pin-label-line',
|
|
395
|
+
elementClass: vertexViewerPinLabelLine_js.VertexViewerPinLabelLine,
|
|
396
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
397
|
+
react: React__default["default"],
|
|
398
|
+
events: {},
|
|
399
|
+
defineCustomElement: vertexViewerPinLabelLine_js.defineCustomElement
|
|
400
|
+
});
|
|
401
|
+
const VertexViewerPinTool = /*@__PURE__*/ r({
|
|
402
|
+
tagName: 'vertex-viewer-pin-tool',
|
|
403
|
+
elementClass: vertexViewerPinTool_js.VertexViewerPinTool,
|
|
404
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
405
|
+
react: React__default["default"],
|
|
406
|
+
events: {},
|
|
407
|
+
defineCustomElement: vertexViewerPinTool_js.defineCustomElement
|
|
408
|
+
});
|
|
409
|
+
const VertexViewerSpinner = /*@__PURE__*/ r({
|
|
410
|
+
tagName: 'vertex-viewer-spinner',
|
|
411
|
+
elementClass: vertexViewerSpinner_js.VertexViewerSpinner,
|
|
412
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
413
|
+
react: React__default["default"],
|
|
414
|
+
events: {},
|
|
415
|
+
defineCustomElement: vertexViewerSpinner_js.defineCustomElement
|
|
416
|
+
});
|
|
417
|
+
const VertexViewerTeleportTool = /*@__PURE__*/ r({
|
|
418
|
+
tagName: 'vertex-viewer-teleport-tool',
|
|
419
|
+
elementClass: vertexViewerTeleportTool_js.VertexViewerTeleportTool,
|
|
420
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
421
|
+
react: React__default["default"],
|
|
422
|
+
events: { onControllerChanged: 'controllerChanged' },
|
|
423
|
+
defineCustomElement: vertexViewerTeleportTool_js.defineCustomElement
|
|
424
|
+
});
|
|
425
|
+
const VertexViewerToolbar = /*@__PURE__*/ r({
|
|
426
|
+
tagName: 'vertex-viewer-toolbar',
|
|
427
|
+
elementClass: vertexViewerToolbar_js.VertexViewerToolbar,
|
|
428
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
429
|
+
react: React__default["default"],
|
|
430
|
+
events: {},
|
|
431
|
+
defineCustomElement: vertexViewerToolbar_js.defineCustomElement
|
|
432
|
+
});
|
|
433
|
+
const VertexViewerToolbarGroup = /*@__PURE__*/ r({
|
|
434
|
+
tagName: 'vertex-viewer-toolbar-group',
|
|
435
|
+
elementClass: vertexViewerToolbarGroup_js.VertexViewerToolbarGroup,
|
|
436
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
437
|
+
react: React__default["default"],
|
|
438
|
+
events: {},
|
|
439
|
+
defineCustomElement: vertexViewerToolbarGroup_js.defineCustomElement
|
|
440
|
+
});
|
|
441
|
+
const VertexViewerTransformWidget = /*@__PURE__*/ r({
|
|
442
|
+
tagName: 'vertex-viewer-transform-widget',
|
|
443
|
+
elementClass: vertexViewerTransformWidget_js.VertexViewerTransformWidget,
|
|
444
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
445
|
+
react: React__default["default"],
|
|
446
|
+
events: {
|
|
447
|
+
onPositionChanged: 'positionChanged',
|
|
448
|
+
onRotationChanged: 'rotationChanged',
|
|
449
|
+
onInteractionEnded: 'interactionEnded',
|
|
450
|
+
onInteractionStarted: 'interactionStarted'
|
|
451
|
+
},
|
|
452
|
+
defineCustomElement: vertexViewerTransformWidget_js.defineCustomElement
|
|
453
|
+
});
|
|
454
|
+
const VertexViewerViewCube = /*@__PURE__*/ r({
|
|
455
|
+
tagName: 'vertex-viewer-view-cube',
|
|
456
|
+
elementClass: vertexViewerViewCube_js.VertexViewerViewCube,
|
|
457
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
458
|
+
react: React__default["default"],
|
|
459
|
+
events: {},
|
|
460
|
+
defineCustomElement: vertexViewerViewCube_js.defineCustomElement
|
|
461
|
+
});
|
|
462
|
+
const VertexViewerWalkModeTool = /*@__PURE__*/ r({
|
|
463
|
+
tagName: 'vertex-viewer-walk-mode-tool',
|
|
464
|
+
elementClass: vertexViewerWalkModeTool_js.VertexViewerWalkModeTool,
|
|
465
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
466
|
+
react: React__default["default"],
|
|
467
|
+
events: { onControllerChanged: 'controllerChanged' },
|
|
468
|
+
defineCustomElement: vertexViewerWalkModeTool_js.defineCustomElement
|
|
469
|
+
});
|
|
259
470
|
|
|
260
471
|
exports.VertexSceneTree = VertexSceneTree;
|
|
261
472
|
exports.VertexSceneTreeNotificationBanner = VertexSceneTreeNotificationBanner;
|