@vertexvis/viewer-react 0.15.2-canary.1 → 0.15.2-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.
@@ -232,6 +232,7 @@ var VertexViewerDefaultToolbar = /*@__PURE__*/ createReactComponent('vertex-view
232
232
  var VertexViewerDomElement = /*@__PURE__*/ createReactComponent('vertex-viewer-dom-element');
233
233
  var VertexViewerDomGroup = /*@__PURE__*/ createReactComponent('vertex-viewer-dom-group');
234
234
  var VertexViewerDomRenderer = /*@__PURE__*/ createReactComponent('vertex-viewer-dom-renderer');
235
+ var VertexViewerDragSelect = /*@__PURE__*/ createReactComponent('vertex-viewer-drag-select');
235
236
  var VertexViewerIcon = /*@__PURE__*/ createReactComponent('vertex-viewer-icon');
236
237
  var VertexViewerLayer = /*@__PURE__*/ createReactComponent('vertex-viewer-layer');
237
238
  var VertexViewerMarkup = /*@__PURE__*/ createReactComponent('vertex-viewer-markup');
@@ -269,6 +270,7 @@ exports.VertexViewerDefaultToolbar = VertexViewerDefaultToolbar;
269
270
  exports.VertexViewerDomElement = VertexViewerDomElement;
270
271
  exports.VertexViewerDomGroup = VertexViewerDomGroup;
271
272
  exports.VertexViewerDomRenderer = VertexViewerDomRenderer;
273
+ exports.VertexViewerDragSelect = VertexViewerDragSelect;
272
274
  exports.VertexViewerIcon = VertexViewerIcon;
273
275
  exports.VertexViewerLayer = VertexViewerLayer;
274
276
  exports.VertexViewerMarkup = VertexViewerMarkup;
@@ -1 +1 @@
1
- {"version":3,"file":"bundle.cjs.js","sources":["../src/generated/react-component-lib/utils/case.ts","../src/generated/react-component-lib/utils/attachProps.ts","../src/generated/react-component-lib/utils/index.tsx","../src/generated/react-component-lib/createComponent.tsx","../src/generated/components.ts"],"sourcesContent":["export const dashToPascalCase = (str: string) =>\n str\n .toLowerCase()\n .split('-')\n .map((segment) => segment.charAt(0).toUpperCase() + segment.slice(1))\n .join('');\nexport const camelToDashCase = (str: string) =>\n str.replace(/([A-Z])/g, (m: string) => `-${m[0].toLowerCase()}`);\n","import { camelToDashCase } from './case';\n\nexport const attachProps = (node: HTMLElement, newProps: any, oldProps: any = {}) => {\n // some test frameworks don't render DOM elements, so we test here to make sure we are dealing with DOM first\n if (node instanceof Element) {\n // add any classes in className to the class list\n const className = getClassName(node.classList, newProps, oldProps);\n if (className !== '') {\n node.className = className;\n }\n\n Object.keys(newProps).forEach((name) => {\n if (\n name === 'children' ||\n name === 'style' ||\n name === 'ref' ||\n name === 'class' ||\n name === 'className' ||\n name === 'forwardedRef'\n ) {\n return;\n }\n if (name.indexOf('on') === 0 && name[2] === name[2].toUpperCase()) {\n const eventName = name.substring(2);\n const eventNameLc = eventName[0].toLowerCase() + eventName.substring(1);\n\n if (!isCoveredByReact(eventNameLc)) {\n syncEvent(node, eventNameLc, newProps[name]);\n }\n } else {\n (node as any)[name] = newProps[name];\n const propType = typeof newProps[name];\n if (propType === 'string') {\n node.setAttribute(camelToDashCase(name), newProps[name]);\n }\n }\n });\n }\n};\n\nexport const getClassName = (classList: DOMTokenList, newProps: any, oldProps: any) => {\n const newClassProp: string = newProps.className || newProps.class;\n const oldClassProp: string = oldProps.className || oldProps.class;\n // map the classes to Maps for performance\n const currentClasses = arrayToMap(classList);\n const incomingPropClasses = arrayToMap(newClassProp ? newClassProp.split(' ') : []);\n const oldPropClasses = arrayToMap(oldClassProp ? oldClassProp.split(' ') : []);\n const finalClassNames: string[] = [];\n // loop through each of the current classes on the component\n // to see if it should be a part of the classNames added\n currentClasses.forEach((currentClass) => {\n if (incomingPropClasses.has(currentClass)) {\n // add it as its already included in classnames coming in from newProps\n finalClassNames.push(currentClass);\n incomingPropClasses.delete(currentClass);\n } else if (!oldPropClasses.has(currentClass)) {\n // add it as it has NOT been removed by user\n finalClassNames.push(currentClass);\n }\n });\n incomingPropClasses.forEach((s) => finalClassNames.push(s));\n return finalClassNames.join(' ');\n};\n\n/**\n * Checks if an event is supported in the current execution environment.\n * @license Modernizr 3.0.0pre (Custom Build) | MIT\n */\nexport const isCoveredByReact = (eventNameSuffix: string) => {\n if (typeof document === 'undefined') {\n return true;\n } else {\n const eventName = 'on' + eventNameSuffix;\n let isSupported = eventName in document;\n\n if (!isSupported) {\n const element = document.createElement('div');\n element.setAttribute(eventName, 'return;');\n isSupported = typeof (element as any)[eventName] === 'function';\n }\n\n return isSupported;\n }\n};\n\nexport const syncEvent = (\n node: Element & { __events?: { [key: string]: ((e: Event) => any) | undefined } },\n eventName: string,\n newEventHandler?: (e: Event) => any\n) => {\n const eventStore = node.__events || (node.__events = {});\n const oldEventHandler = eventStore[eventName];\n\n // Remove old listener so they don't double up.\n if (oldEventHandler) {\n node.removeEventListener(eventName, oldEventHandler);\n }\n\n // Bind new listener.\n node.addEventListener(\n eventName,\n (eventStore[eventName] = function handler(e: Event) {\n if (newEventHandler) {\n newEventHandler.call(this, e);\n }\n })\n );\n};\n\nconst arrayToMap = (arr: string[] | DOMTokenList) => {\n const map = new Map<string, string>();\n (arr as string[]).forEach((s: string) => map.set(s, s));\n return map;\n};\n","import React from 'react';\n\nimport type { StyleReactProps } from '../interfaces';\n\nexport type StencilReactExternalProps<PropType, ElementType> = PropType &\n Omit<React.HTMLAttributes<ElementType>, 'style'> &\n StyleReactProps;\n\n// This will be replaced with React.ForwardedRef when react-output-target is upgraded to React v17\nexport type StencilReactForwardedRef<T> = ((instance: T | null) => void) | React.MutableRefObject<T | null> | null;\n\nexport const setRef = (ref: StencilReactForwardedRef<any> | React.Ref<any> | undefined, value: any) => {\n if (typeof ref === 'function') {\n ref(value)\n } else if (ref != null) {\n // Cast as a MutableRef so we can assign current\n (ref as React.MutableRefObject<any>).current = value\n }\n};\n\nexport const mergeRefs = (\n ...refs: (StencilReactForwardedRef<any> | React.Ref<any> | undefined)[]\n): React.RefCallback<any> => {\n return (value: any) => {\n refs.forEach(ref => {\n setRef(ref, value)\n })\n }\n};\n\nexport const createForwardRef = <PropType, ElementType>(\n ReactComponent: any,\n displayName: string,\n) => {\n const forwardRef = (\n props: StencilReactExternalProps<PropType, ElementType>,\n ref: StencilReactForwardedRef<ElementType>,\n ) => {\n return <ReactComponent {...props} forwardedRef={ref} />;\n };\n forwardRef.displayName = displayName;\n\n return React.forwardRef(forwardRef);\n};\n\nexport const defineCustomElement = (tagName: string, customElement: any) => {\n if (\n customElement !== undefined &&\n typeof customElements !== 'undefined' &&\n !customElements.get(tagName)\n ) {\n customElements.define(tagName, customElement);\n }\n}\n\nexport * from './attachProps';\nexport * from './case';\n","import React, { createElement } from 'react';\n\nimport {\n attachProps,\n camelToDashCase,\n createForwardRef,\n dashToPascalCase,\n isCoveredByReact,\n mergeRefs,\n} from './utils';\n\nexport interface HTMLStencilElement extends HTMLElement {\n componentOnReady(): Promise<this>;\n}\n\ninterface StencilReactInternalProps<ElementType> extends React.HTMLAttributes<ElementType> {\n forwardedRef: React.RefObject<ElementType>;\n ref?: React.Ref<any>;\n}\n\nexport const createReactComponent = <\n PropType,\n ElementType extends HTMLStencilElement,\n ContextStateType = {},\n ExpandedPropsTypes = {}\n>(\n tagName: string,\n ReactComponentContext?: React.Context<ContextStateType>,\n manipulatePropsFunction?: (\n originalProps: StencilReactInternalProps<ElementType>,\n propsToPass: any,\n ) => ExpandedPropsTypes,\n defineCustomElement?: () => void,\n) => {\n if (defineCustomElement !== undefined) {\n defineCustomElement();\n }\n\n const displayName = dashToPascalCase(tagName);\n const ReactComponent = class extends React.Component<StencilReactInternalProps<ElementType>> {\n componentEl!: ElementType;\n\n setComponentElRef = (element: ElementType) => {\n this.componentEl = element;\n };\n\n constructor(props: StencilReactInternalProps<ElementType>) {\n super(props);\n }\n\n componentDidMount() {\n this.componentDidUpdate(this.props);\n }\n\n componentDidUpdate(prevProps: StencilReactInternalProps<ElementType>) {\n attachProps(this.componentEl, this.props, prevProps);\n }\n\n render() {\n const { children, forwardedRef, style, className, ref, ...cProps } = this.props;\n\n let propsToPass = Object.keys(cProps).reduce((acc: any, name) => {\n const value = (cProps as any)[name];\n\n if (name.indexOf('on') === 0 && name[2] === name[2].toUpperCase()) {\n const eventName = name.substring(2).toLowerCase();\n if (typeof document !== 'undefined' && isCoveredByReact(eventName)) {\n acc[name] = value;\n }\n } else {\n // we should only render strings, booleans, and numbers as attrs in html.\n // objects, functions, arrays etc get synced via properties on mount.\n const type = typeof value;\n\n if (type === 'string' || type === 'boolean' || type === 'number') {\n acc[camelToDashCase(name)] = value;\n }\n }\n return acc;\n }, {});\n\n if (manipulatePropsFunction) {\n propsToPass = manipulatePropsFunction(this.props, propsToPass);\n }\n\n const newProps: Omit<StencilReactInternalProps<ElementType>, 'forwardedRef'> = {\n ...propsToPass,\n ref: mergeRefs(forwardedRef, this.setComponentElRef),\n style,\n };\n\n /**\n * We use createElement here instead of\n * React.createElement to work around a\n * bug in Vite (https://github.com/vitejs/vite/issues/6104).\n * React.createElement causes all elements to be rendered\n * as <tagname> instead of the actual Web Component.\n */\n return createElement(tagName, newProps, children);\n }\n\n static get displayName() {\n return displayName;\n }\n };\n\n // If context was passed to createReactComponent then conditionally add it to the Component Class\n if (ReactComponentContext) {\n ReactComponent.contextType = ReactComponentContext;\n }\n\n return createForwardRef<PropType, ElementType>(ReactComponent, displayName);\n};\n","/* eslint-disable */\n/* tslint:disable */\n/* auto-generated react proxies */\nimport { createReactComponent } from './react-component-lib';\n\nimport type { JSX } from '@vertexvis/viewer';\n\n\n\nexport const VertexSceneTree = /*@__PURE__*/createReactComponent<JSX.VertexSceneTree, HTMLVertexSceneTreeElement>('vertex-scene-tree');\nexport const VertexSceneTreeSearch = /*@__PURE__*/createReactComponent<JSX.VertexSceneTreeSearch, HTMLVertexSceneTreeSearchElement>('vertex-scene-tree-search');\nexport const VertexSceneTreeTableCell = /*@__PURE__*/createReactComponent<JSX.VertexSceneTreeTableCell, HTMLVertexSceneTreeTableCellElement>('vertex-scene-tree-table-cell');\nexport const VertexSceneTreeTableColumn = /*@__PURE__*/createReactComponent<JSX.VertexSceneTreeTableColumn, HTMLVertexSceneTreeTableColumnElement>('vertex-scene-tree-table-column');\nexport const VertexSceneTreeTableHeader = /*@__PURE__*/createReactComponent<JSX.VertexSceneTreeTableHeader, HTMLVertexSceneTreeTableHeaderElement>('vertex-scene-tree-table-header');\nexport const VertexSceneTreeTableLayout = /*@__PURE__*/createReactComponent<JSX.VertexSceneTreeTableLayout, HTMLVertexSceneTreeTableLayoutElement>('vertex-scene-tree-table-layout');\nexport const VertexSceneTreeTableResizeDivider = /*@__PURE__*/createReactComponent<JSX.VertexSceneTreeTableResizeDivider, HTMLVertexSceneTreeTableResizeDividerElement>('vertex-scene-tree-table-resize-divider');\nexport const VertexSceneTreeToolbar = /*@__PURE__*/createReactComponent<JSX.VertexSceneTreeToolbar, HTMLVertexSceneTreeToolbarElement>('vertex-scene-tree-toolbar');\nexport const VertexSceneTreeToolbarGroup = /*@__PURE__*/createReactComponent<JSX.VertexSceneTreeToolbarGroup, HTMLVertexSceneTreeToolbarGroupElement>('vertex-scene-tree-toolbar-group');\nexport const VertexViewer = /*@__PURE__*/createReactComponent<JSX.VertexViewer, HTMLVertexViewerElement>('vertex-viewer');\nexport const VertexViewerButton = /*@__PURE__*/createReactComponent<JSX.VertexViewerButton, HTMLVertexViewerButtonElement>('vertex-viewer-button');\nexport const VertexViewerDefaultToolbar = /*@__PURE__*/createReactComponent<JSX.VertexViewerDefaultToolbar, HTMLVertexViewerDefaultToolbarElement>('vertex-viewer-default-toolbar');\nexport const VertexViewerDomElement = /*@__PURE__*/createReactComponent<JSX.VertexViewerDomElement, HTMLVertexViewerDomElementElement>('vertex-viewer-dom-element');\nexport const VertexViewerDomGroup = /*@__PURE__*/createReactComponent<JSX.VertexViewerDomGroup, HTMLVertexViewerDomGroupElement>('vertex-viewer-dom-group');\nexport const VertexViewerDomRenderer = /*@__PURE__*/createReactComponent<JSX.VertexViewerDomRenderer, HTMLVertexViewerDomRendererElement>('vertex-viewer-dom-renderer');\nexport const VertexViewerIcon = /*@__PURE__*/createReactComponent<JSX.VertexViewerIcon, HTMLVertexViewerIconElement>('vertex-viewer-icon');\nexport const VertexViewerLayer = /*@__PURE__*/createReactComponent<JSX.VertexViewerLayer, HTMLVertexViewerLayerElement>('vertex-viewer-layer');\nexport const VertexViewerMarkup = /*@__PURE__*/createReactComponent<JSX.VertexViewerMarkup, HTMLVertexViewerMarkupElement>('vertex-viewer-markup');\nexport const VertexViewerMarkupArrow = /*@__PURE__*/createReactComponent<JSX.VertexViewerMarkupArrow, HTMLVertexViewerMarkupArrowElement>('vertex-viewer-markup-arrow');\nexport const VertexViewerMarkupCircle = /*@__PURE__*/createReactComponent<JSX.VertexViewerMarkupCircle, HTMLVertexViewerMarkupCircleElement>('vertex-viewer-markup-circle');\nexport const VertexViewerMarkupFreeform = /*@__PURE__*/createReactComponent<JSX.VertexViewerMarkupFreeform, HTMLVertexViewerMarkupFreeformElement>('vertex-viewer-markup-freeform');\nexport const VertexViewerMarkupTool = /*@__PURE__*/createReactComponent<JSX.VertexViewerMarkupTool, HTMLVertexViewerMarkupToolElement>('vertex-viewer-markup-tool');\nexport const VertexViewerMeasurementDetails = /*@__PURE__*/createReactComponent<JSX.VertexViewerMeasurementDetails, HTMLVertexViewerMeasurementDetailsElement>('vertex-viewer-measurement-details');\nexport const VertexViewerMeasurementDistance = /*@__PURE__*/createReactComponent<JSX.VertexViewerMeasurementDistance, HTMLVertexViewerMeasurementDistanceElement>('vertex-viewer-measurement-distance');\nexport const VertexViewerMeasurementLine = /*@__PURE__*/createReactComponent<JSX.VertexViewerMeasurementLine, HTMLVertexViewerMeasurementLineElement>('vertex-viewer-measurement-line');\nexport const VertexViewerMeasurementOverlays = /*@__PURE__*/createReactComponent<JSX.VertexViewerMeasurementOverlays, HTMLVertexViewerMeasurementOverlaysElement>('vertex-viewer-measurement-overlays');\nexport const VertexViewerMeasurementPrecise = /*@__PURE__*/createReactComponent<JSX.VertexViewerMeasurementPrecise, HTMLVertexViewerMeasurementPreciseElement>('vertex-viewer-measurement-precise');\nexport const VertexViewerPinGroup = /*@__PURE__*/createReactComponent<JSX.VertexViewerPinGroup, HTMLVertexViewerPinGroupElement>('vertex-viewer-pin-group');\nexport const VertexViewerPinLabel = /*@__PURE__*/createReactComponent<JSX.VertexViewerPinLabel, HTMLVertexViewerPinLabelElement>('vertex-viewer-pin-label');\nexport const VertexViewerPinLabelLine = /*@__PURE__*/createReactComponent<JSX.VertexViewerPinLabelLine, HTMLVertexViewerPinLabelLineElement>('vertex-viewer-pin-label-line');\nexport const VertexViewerPinTool = /*@__PURE__*/createReactComponent<JSX.VertexViewerPinTool, HTMLVertexViewerPinToolElement>('vertex-viewer-pin-tool');\nexport const VertexViewerSpinner = /*@__PURE__*/createReactComponent<JSX.VertexViewerSpinner, HTMLVertexViewerSpinnerElement>('vertex-viewer-spinner');\nexport const VertexViewerToolbar = /*@__PURE__*/createReactComponent<JSX.VertexViewerToolbar, HTMLVertexViewerToolbarElement>('vertex-viewer-toolbar');\nexport const VertexViewerToolbarGroup = /*@__PURE__*/createReactComponent<JSX.VertexViewerToolbarGroup, HTMLVertexViewerToolbarGroupElement>('vertex-viewer-toolbar-group');\nexport const VertexViewerTransformWidget = /*@__PURE__*/createReactComponent<JSX.VertexViewerTransformWidget, HTMLVertexViewerTransformWidgetElement>('vertex-viewer-transform-widget');\nexport const VertexViewerViewCube = /*@__PURE__*/createReactComponent<JSX.VertexViewerViewCube, HTMLVertexViewerViewCubeElement>('vertex-viewer-view-cube');\n"],"names":["React","__extends","createElement"],"mappings":";;;;;;;;;;;;AAAO,IAAM,gBAAgB,GAAG,UAAC,GAAW;IAC1C,OAAA,GAAG;SACA,WAAW,EAAE;SACb,KAAK,CAAC,GAAG,CAAC;SACV,GAAG,CAAC,UAAC,OAAO,IAAK,OAAA,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,GAAA,CAAC;SACpE,IAAI,CAAC,EAAE,CAAC;AAJX,CAIW,CAAC;AACP,IAAM,eA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B,iBAAgB,oBAAoB,CAAoE,6BAA6B,EAAE;IAC/J,2BAA2B,iBAAgB,oBAAoB,CAA0E,gCAAgC,EAAE;IAC3K,oBAAoB,iBAAgB,oBAAoB,CAA4D,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"bundle.cjs.js","sources":["../src/generated/react-component-lib/utils/case.ts","../src/generated/react-component-lib/utils/attachProps.ts","../src/generated/react-component-lib/utils/index.tsx","../src/generated/react-component-lib/createComponent.tsx","../src/generated/components.ts"],"sourcesContent":["export const dashToPascalCase = (str: string) =>\n str\n .toLowerCase()\n .split('-')\n .map((segment) => segment.charAt(0).toUpperCase() + segment.slice(1))\n .join('');\nexport const camelToDashCase = (str: string) =>\n str.replace(/([A-Z])/g, (m: string) => `-${m[0].toLowerCase()}`);\n","import { camelToDashCase } from './case';\n\nexport const attachProps = (node: HTMLElement, newProps: any, oldProps: any = {}) => {\n // some test frameworks don't render DOM elements, so we test here to make sure we are dealing with DOM first\n if (node instanceof Element) {\n // add any classes in className to the class list\n const className = getClassName(node.classList, newProps, oldProps);\n if (className !== '') {\n node.className = className;\n }\n\n Object.keys(newProps).forEach((name) => {\n if (\n name === 'children' ||\n name === 'style' ||\n name === 'ref' ||\n name === 'class' ||\n name === 'className' ||\n name === 'forwardedRef'\n ) {\n return;\n }\n if (name.indexOf('on') === 0 && name[2] === name[2].toUpperCase()) {\n const eventName = name.substring(2);\n const eventNameLc = eventName[0].toLowerCase() + eventName.substring(1);\n\n if (!isCoveredByReact(eventNameLc)) {\n syncEvent(node, eventNameLc, newProps[name]);\n }\n } else {\n (node as any)[name] = newProps[name];\n const propType = typeof newProps[name];\n if (propType === 'string') {\n node.setAttribute(camelToDashCase(name), newProps[name]);\n }\n }\n });\n }\n};\n\nexport const getClassName = (classList: DOMTokenList, newProps: any, oldProps: any) => {\n const newClassProp: string = newProps.className || newProps.class;\n const oldClassProp: string = oldProps.className || oldProps.class;\n // map the classes to Maps for performance\n const currentClasses = arrayToMap(classList);\n const incomingPropClasses = arrayToMap(newClassProp ? newClassProp.split(' ') : []);\n const oldPropClasses = arrayToMap(oldClassProp ? oldClassProp.split(' ') : []);\n const finalClassNames: string[] = [];\n // loop through each of the current classes on the component\n // to see if it should be a part of the classNames added\n currentClasses.forEach((currentClass) => {\n if (incomingPropClasses.has(currentClass)) {\n // add it as its already included in classnames coming in from newProps\n finalClassNames.push(currentClass);\n incomingPropClasses.delete(currentClass);\n } else if (!oldPropClasses.has(currentClass)) {\n // add it as it has NOT been removed by user\n finalClassNames.push(currentClass);\n }\n });\n incomingPropClasses.forEach((s) => finalClassNames.push(s));\n return finalClassNames.join(' ');\n};\n\n/**\n * Checks if an event is supported in the current execution environment.\n * @license Modernizr 3.0.0pre (Custom Build) | MIT\n */\nexport const isCoveredByReact = (eventNameSuffix: string) => {\n if (typeof document === 'undefined') {\n return true;\n } else {\n const eventName = 'on' + eventNameSuffix;\n let isSupported = eventName in document;\n\n if (!isSupported) {\n const element = document.createElement('div');\n element.setAttribute(eventName, 'return;');\n isSupported = typeof (element as any)[eventName] === 'function';\n }\n\n return isSupported;\n }\n};\n\nexport const syncEvent = (\n node: Element & { __events?: { [key: string]: ((e: Event) => any) | undefined } },\n eventName: string,\n newEventHandler?: (e: Event) => any\n) => {\n const eventStore = node.__events || (node.__events = {});\n const oldEventHandler = eventStore[eventName];\n\n // Remove old listener so they don't double up.\n if (oldEventHandler) {\n node.removeEventListener(eventName, oldEventHandler);\n }\n\n // Bind new listener.\n node.addEventListener(\n eventName,\n (eventStore[eventName] = function handler(e: Event) {\n if (newEventHandler) {\n newEventHandler.call(this, e);\n }\n })\n );\n};\n\nconst arrayToMap = (arr: string[] | DOMTokenList) => {\n const map = new Map<string, string>();\n (arr as string[]).forEach((s: string) => map.set(s, s));\n return map;\n};\n","import React from 'react';\n\nimport type { StyleReactProps } from '../interfaces';\n\nexport type StencilReactExternalProps<PropType, ElementType> = PropType &\n Omit<React.HTMLAttributes<ElementType>, 'style'> &\n StyleReactProps;\n\n// This will be replaced with React.ForwardedRef when react-output-target is upgraded to React v17\nexport type StencilReactForwardedRef<T> = ((instance: T | null) => void) | React.MutableRefObject<T | null> | null;\n\nexport const setRef = (ref: StencilReactForwardedRef<any> | React.Ref<any> | undefined, value: any) => {\n if (typeof ref === 'function') {\n ref(value)\n } else if (ref != null) {\n // Cast as a MutableRef so we can assign current\n (ref as React.MutableRefObject<any>).current = value\n }\n};\n\nexport const mergeRefs = (\n ...refs: (StencilReactForwardedRef<any> | React.Ref<any> | undefined)[]\n): React.RefCallback<any> => {\n return (value: any) => {\n refs.forEach(ref => {\n setRef(ref, value)\n })\n }\n};\n\nexport const createForwardRef = <PropType, ElementType>(\n ReactComponent: any,\n displayName: string,\n) => {\n const forwardRef = (\n props: StencilReactExternalProps<PropType, ElementType>,\n ref: StencilReactForwardedRef<ElementType>,\n ) => {\n return <ReactComponent {...props} forwardedRef={ref} />;\n };\n forwardRef.displayName = displayName;\n\n return React.forwardRef(forwardRef);\n};\n\nexport const defineCustomElement = (tagName: string, customElement: any) => {\n if (\n customElement !== undefined &&\n typeof customElements !== 'undefined' &&\n !customElements.get(tagName)\n ) {\n customElements.define(tagName, customElement);\n }\n}\n\nexport * from './attachProps';\nexport * from './case';\n","import React, { createElement } from 'react';\n\nimport {\n attachProps,\n camelToDashCase,\n createForwardRef,\n dashToPascalCase,\n isCoveredByReact,\n mergeRefs,\n} from './utils';\n\nexport interface HTMLStencilElement extends HTMLElement {\n componentOnReady(): Promise<this>;\n}\n\ninterface StencilReactInternalProps<ElementType> extends React.HTMLAttributes<ElementType> {\n forwardedRef: React.RefObject<ElementType>;\n ref?: React.Ref<any>;\n}\n\nexport const createReactComponent = <\n PropType,\n ElementType extends HTMLStencilElement,\n ContextStateType = {},\n ExpandedPropsTypes = {}\n>(\n tagName: string,\n ReactComponentContext?: React.Context<ContextStateType>,\n manipulatePropsFunction?: (\n originalProps: StencilReactInternalProps<ElementType>,\n propsToPass: any,\n ) => ExpandedPropsTypes,\n defineCustomElement?: () => void,\n) => {\n if (defineCustomElement !== undefined) {\n defineCustomElement();\n }\n\n const displayName = dashToPascalCase(tagName);\n const ReactComponent = class extends React.Component<StencilReactInternalProps<ElementType>> {\n componentEl!: ElementType;\n\n setComponentElRef = (element: ElementType) => {\n this.componentEl = element;\n };\n\n constructor(props: StencilReactInternalProps<ElementType>) {\n super(props);\n }\n\n componentDidMount() {\n this.componentDidUpdate(this.props);\n }\n\n componentDidUpdate(prevProps: StencilReactInternalProps<ElementType>) {\n attachProps(this.componentEl, this.props, prevProps);\n }\n\n render() {\n const { children, forwardedRef, style, className, ref, ...cProps } = this.props;\n\n let propsToPass = Object.keys(cProps).reduce((acc: any, name) => {\n const value = (cProps as any)[name];\n\n if (name.indexOf('on') === 0 && name[2] === name[2].toUpperCase()) {\n const eventName = name.substring(2).toLowerCase();\n if (typeof document !== 'undefined' && isCoveredByReact(eventName)) {\n acc[name] = value;\n }\n } else {\n // we should only render strings, booleans, and numbers as attrs in html.\n // objects, functions, arrays etc get synced via properties on mount.\n const type = typeof value;\n\n if (type === 'string' || type === 'boolean' || type === 'number') {\n acc[camelToDashCase(name)] = value;\n }\n }\n return acc;\n }, {});\n\n if (manipulatePropsFunction) {\n propsToPass = manipulatePropsFunction(this.props, propsToPass);\n }\n\n const newProps: Omit<StencilReactInternalProps<ElementType>, 'forwardedRef'> = {\n ...propsToPass,\n ref: mergeRefs(forwardedRef, this.setComponentElRef),\n style,\n };\n\n /**\n * We use createElement here instead of\n * React.createElement to work around a\n * bug in Vite (https://github.com/vitejs/vite/issues/6104).\n * React.createElement causes all elements to be rendered\n * as <tagname> instead of the actual Web Component.\n */\n return createElement(tagName, newProps, children);\n }\n\n static get displayName() {\n return displayName;\n }\n };\n\n // If context was passed to createReactComponent then conditionally add it to the Component Class\n if (ReactComponentContext) {\n ReactComponent.contextType = ReactComponentContext;\n }\n\n return createForwardRef<PropType, ElementType>(ReactComponent, displayName);\n};\n","/* eslint-disable */\n/* tslint:disable */\n/* auto-generated react proxies */\nimport { createReactComponent } from './react-component-lib';\n\nimport type { JSX } from '@vertexvis/viewer';\n\n\n\nexport const VertexSceneTree = /*@__PURE__*/createReactComponent<JSX.VertexSceneTree, HTMLVertexSceneTreeElement>('vertex-scene-tree');\nexport const VertexSceneTreeSearch = /*@__PURE__*/createReactComponent<JSX.VertexSceneTreeSearch, HTMLVertexSceneTreeSearchElement>('vertex-scene-tree-search');\nexport const VertexSceneTreeTableCell = /*@__PURE__*/createReactComponent<JSX.VertexSceneTreeTableCell, HTMLVertexSceneTreeTableCellElement>('vertex-scene-tree-table-cell');\nexport const VertexSceneTreeTableColumn = /*@__PURE__*/createReactComponent<JSX.VertexSceneTreeTableColumn, HTMLVertexSceneTreeTableColumnElement>('vertex-scene-tree-table-column');\nexport const VertexSceneTreeTableHeader = /*@__PURE__*/createReactComponent<JSX.VertexSceneTreeTableHeader, HTMLVertexSceneTreeTableHeaderElement>('vertex-scene-tree-table-header');\nexport const VertexSceneTreeTableLayout = /*@__PURE__*/createReactComponent<JSX.VertexSceneTreeTableLayout, HTMLVertexSceneTreeTableLayoutElement>('vertex-scene-tree-table-layout');\nexport const VertexSceneTreeTableResizeDivider = /*@__PURE__*/createReactComponent<JSX.VertexSceneTreeTableResizeDivider, HTMLVertexSceneTreeTableResizeDividerElement>('vertex-scene-tree-table-resize-divider');\nexport const VertexSceneTreeToolbar = /*@__PURE__*/createReactComponent<JSX.VertexSceneTreeToolbar, HTMLVertexSceneTreeToolbarElement>('vertex-scene-tree-toolbar');\nexport const VertexSceneTreeToolbarGroup = /*@__PURE__*/createReactComponent<JSX.VertexSceneTreeToolbarGroup, HTMLVertexSceneTreeToolbarGroupElement>('vertex-scene-tree-toolbar-group');\nexport const VertexViewer = /*@__PURE__*/createReactComponent<JSX.VertexViewer, HTMLVertexViewerElement>('vertex-viewer');\nexport const VertexViewerButton = /*@__PURE__*/createReactComponent<JSX.VertexViewerButton, HTMLVertexViewerButtonElement>('vertex-viewer-button');\nexport const VertexViewerDefaultToolbar = /*@__PURE__*/createReactComponent<JSX.VertexViewerDefaultToolbar, HTMLVertexViewerDefaultToolbarElement>('vertex-viewer-default-toolbar');\nexport const VertexViewerDomElement = /*@__PURE__*/createReactComponent<JSX.VertexViewerDomElement, HTMLVertexViewerDomElementElement>('vertex-viewer-dom-element');\nexport const VertexViewerDomGroup = /*@__PURE__*/createReactComponent<JSX.VertexViewerDomGroup, HTMLVertexViewerDomGroupElement>('vertex-viewer-dom-group');\nexport const VertexViewerDomRenderer = /*@__PURE__*/createReactComponent<JSX.VertexViewerDomRenderer, HTMLVertexViewerDomRendererElement>('vertex-viewer-dom-renderer');\nexport const VertexViewerDragSelect = /*@__PURE__*/createReactComponent<JSX.VertexViewerDragSelect, HTMLVertexViewerDragSelectElement>('vertex-viewer-drag-select');\nexport const VertexViewerIcon = /*@__PURE__*/createReactComponent<JSX.VertexViewerIcon, HTMLVertexViewerIconElement>('vertex-viewer-icon');\nexport const VertexViewerLayer = /*@__PURE__*/createReactComponent<JSX.VertexViewerLayer, HTMLVertexViewerLayerElement>('vertex-viewer-layer');\nexport const VertexViewerMarkup = /*@__PURE__*/createReactComponent<JSX.VertexViewerMarkup, HTMLVertexViewerMarkupElement>('vertex-viewer-markup');\nexport const VertexViewerMarkupArrow = /*@__PURE__*/createReactComponent<JSX.VertexViewerMarkupArrow, HTMLVertexViewerMarkupArrowElement>('vertex-viewer-markup-arrow');\nexport const VertexViewerMarkupCircle = /*@__PURE__*/createReactComponent<JSX.VertexViewerMarkupCircle, HTMLVertexViewerMarkupCircleElement>('vertex-viewer-markup-circle');\nexport const VertexViewerMarkupFreeform = /*@__PURE__*/createReactComponent<JSX.VertexViewerMarkupFreeform, HTMLVertexViewerMarkupFreeformElement>('vertex-viewer-markup-freeform');\nexport const VertexViewerMarkupTool = /*@__PURE__*/createReactComponent<JSX.VertexViewerMarkupTool, HTMLVertexViewerMarkupToolElement>('vertex-viewer-markup-tool');\nexport const VertexViewerMeasurementDetails = /*@__PURE__*/createReactComponent<JSX.VertexViewerMeasurementDetails, HTMLVertexViewerMeasurementDetailsElement>('vertex-viewer-measurement-details');\nexport const VertexViewerMeasurementDistance = /*@__PURE__*/createReactComponent<JSX.VertexViewerMeasurementDistance, HTMLVertexViewerMeasurementDistanceElement>('vertex-viewer-measurement-distance');\nexport const VertexViewerMeasurementLine = /*@__PURE__*/createReactComponent<JSX.VertexViewerMeasurementLine, HTMLVertexViewerMeasurementLineElement>('vertex-viewer-measurement-line');\nexport const VertexViewerMeasurementOverlays = /*@__PURE__*/createReactComponent<JSX.VertexViewerMeasurementOverlays, HTMLVertexViewerMeasurementOverlaysElement>('vertex-viewer-measurement-overlays');\nexport const VertexViewerMeasurementPrecise = /*@__PURE__*/createReactComponent<JSX.VertexViewerMeasurementPrecise, HTMLVertexViewerMeasurementPreciseElement>('vertex-viewer-measurement-precise');\nexport const VertexViewerPinGroup = /*@__PURE__*/createReactComponent<JSX.VertexViewerPinGroup, HTMLVertexViewerPinGroupElement>('vertex-viewer-pin-group');\nexport const VertexViewerPinLabel = /*@__PURE__*/createReactComponent<JSX.VertexViewerPinLabel, HTMLVertexViewerPinLabelElement>('vertex-viewer-pin-label');\nexport const VertexViewerPinLabelLine = /*@__PURE__*/createReactComponent<JSX.VertexViewerPinLabelLine, HTMLVertexViewerPinLabelLineElement>('vertex-viewer-pin-label-line');\nexport const VertexViewerPinTool = /*@__PURE__*/createReactComponent<JSX.VertexViewerPinTool, HTMLVertexViewerPinToolElement>('vertex-viewer-pin-tool');\nexport const VertexViewerSpinner = /*@__PURE__*/createReactComponent<JSX.VertexViewerSpinner, HTMLVertexViewerSpinnerElement>('vertex-viewer-spinner');\nexport const VertexViewerToolbar = /*@__PURE__*/createReactComponent<JSX.VertexViewerToolbar, HTMLVertexViewerToolbarElement>('vertex-viewer-toolbar');\nexport const VertexViewerToolbarGroup = /*@__PURE__*/createReactComponent<JSX.VertexViewerToolbarGroup, HTMLVertexViewerToolbarGroupElement>('vertex-viewer-toolbar-group');\nexport const VertexViewerTransformWidget = /*@__PURE__*/createReactComponent<JSX.VertexViewerTransformWidget, HTMLVertexViewerTransformWidgetElement>('vertex-viewer-transform-widget');\nexport const VertexViewerViewCube = /*@__PURE__*/createReactComponent<JSX.VertexViewerViewCube, HTMLVertexViewerViewCubeElement>('vertex-viewer-view-cube');\n"],"names":["React","__extends","createElement"],"mappings":";;;;;;;;;;;;AAAO,IAAM,gBAAgB,GAAG,UAAC,GAAW;IAC1C,OAAA,GAAG;SACA,WAAW,EAAE;SACb,KAAK,CAAC,GAAG,CAAC;SACV,GAAG,CAAC,UAAC,OAAO,IAAK,OAAA,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,GAAA,CAAC;SACpE,IAAI,CAAC,EAAE,CAAC;AAJX,CAIW,CAAC;AACP,IAAM,eAAe,GAAG,UAAC,GAAW;IACzC,OAAA,GAAG,CAAC,OAAO,CAAC,UAAU,EAAE,UAAC,CAAS,IAAK,OAAA,WAAI,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,CAAE,GAAA,CAAC;AAAhE,CAAgE;;ACL3D,IAAM,WAAW,GAAG,UAAC,IAAiB,EAAE,QAAa,EAAE,QAAkB;IAAlB,yBAAA,EAAA,aAAkB;;IAE9E,IAAI,IAAI,YAAY,OAAO,EAAE;;QAE3B,IAAM,SAAS,GAAG,YAAY,CAAC,IAAI,CAAC,SAAS,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC;QACnE,IAAI,SAAS,KAAK,EAAE,EAAE;YACpB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;SAC5B;QAED,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,UAAC,IAAI;YACjC,IACE,IAAI,KAAK,UAAU;gBACnB,IAAI,KAAK,OAAO;gBAChB,IAAI,KAAK,KAAK;gBACd,IAAI,K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oBAAoB,CAAgE,2BAA2B,EAAE;IACvJ,8BAA8B,iBAAgB,oBAAoB,CAAgF,mCAAmC,EAAE;IACvL,+BAA+B,iBAAgB,oBAAoB,CAAkF,oCAAoC,EAAE;IAC3L,2BAA2B,iBAAgB,oBAAoB,CAA0E,gCAAgC,EAAE;IAC3K,+BAA+B,iBAAgB,oBAAoB,CAAkF,oCAAoC,EAAE;IAC3L,8BAA8B,iBAAgB,oBAAoB,CAAgF,mCAAmC,EAAE;IACvL,oBAAoB,iBAAgB,oBAAoB,CAA4D,yBAAyB,EAAE;IAC/I,oBAAoB,iBAAgB,oBAAoB,CAA4D,yBAAyB,EAAE;IAC/I,wBAAwB,iBAAgB,oBAAoB,CAAoE,8BAA8B,EAAE;IAChK,mBAAmB,iBAAgB,oBAAoB,CAA0D,wBAAwB,EAAE;IAC3I,mBAAmB,iBAAgB,oBAAoB,CAA0D,uBAAuB,EAAE;IAC1I,mBAAmB,iBAAgB,oBAAoB,CAA0D,uBAAuB,EAAE;IAC1I,wBAAwB,iBAAgB,oBAAoB,CAAoE,6BAA6B,EAAE;IAC/J,2BAA2B,iBAAgB,oBAAoB,CAA0E,gCAAgC,EAAE;IAC3K,oBAAoB,iBAAgB,oBAAoB,CAA4D,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -224,6 +224,7 @@ var VertexViewerDefaultToolbar = /*@__PURE__*/ createReactComponent('vertex-view
224
224
  var VertexViewerDomElement = /*@__PURE__*/ createReactComponent('vertex-viewer-dom-element');
225
225
  var VertexViewerDomGroup = /*@__PURE__*/ createReactComponent('vertex-viewer-dom-group');
226
226
  var VertexViewerDomRenderer = /*@__PURE__*/ createReactComponent('vertex-viewer-dom-renderer');
227
+ var VertexViewerDragSelect = /*@__PURE__*/ createReactComponent('vertex-viewer-drag-select');
227
228
  var VertexViewerIcon = /*@__PURE__*/ createReactComponent('vertex-viewer-icon');
228
229
  var VertexViewerLayer = /*@__PURE__*/ createReactComponent('vertex-viewer-layer');
229
230
  var VertexViewerMarkup = /*@__PURE__*/ createReactComponent('vertex-viewer-markup');
@@ -246,5 +247,5 @@ var VertexViewerToolbarGroup = /*@__PURE__*/ createReactComponent('vertex-viewer
246
247
  var VertexViewerTransformWidget = /*@__PURE__*/ createReactComponent('vertex-viewer-transform-widget');
247
248
  var VertexViewerViewCube = /*@__PURE__*/ createReactComponent('vertex-viewer-view-cube');
248
249
 
249
- export { VertexSceneTree, VertexSceneTreeSearch, VertexSceneTreeTableCell, VertexSceneTreeTableColumn, VertexSceneTreeTableHeader, VertexSceneTreeTableLayout, VertexSceneTreeTableResizeDivider, VertexSceneTreeToolbar, VertexSceneTreeToolbarGroup, VertexViewer, VertexViewerButton, VertexViewerDefaultToolbar, VertexViewerDomElement, VertexViewerDomGroup, VertexViewerDomRenderer, VertexViewerIcon, VertexViewerLayer, VertexViewerMarkup, VertexViewerMarkupArrow, VertexViewerMarkupCircle, VertexViewerMarkupFreeform, VertexViewerMarkupTool, VertexViewerMeasurementDetails, VertexViewerMeasurementDistance, VertexViewerMeasurementLine, VertexViewerMeasurementOverlays, VertexViewerMeasurementPrecise, VertexViewerPinGroup, VertexViewerPinLabel, VertexViewerPinLabelLine, VertexViewerPinTool, VertexViewerSpinner, VertexViewerToolbar, VertexViewerToolbarGroup, VertexViewerTransformWidget, VertexViewerViewCube };
250
+ export { VertexSceneTree, VertexSceneTreeSearch, VertexSceneTreeTableCell, VertexSceneTreeTableColumn, VertexSceneTreeTableHeader, VertexSceneTreeTableLayout, VertexSceneTreeTableResizeDivider, VertexSceneTreeToolbar, VertexSceneTreeToolbarGroup, VertexViewer, VertexViewerButton, VertexViewerDefaultToolbar, VertexViewerDomElement, VertexViewerDomGroup, VertexViewerDomRenderer, VertexViewerDragSelect, VertexViewerIcon, VertexViewerLayer, VertexViewerMarkup, VertexViewerMarkupArrow, VertexViewerMarkupCircle, VertexViewerMarkupFreeform, VertexViewerMarkupTool, VertexViewerMeasurementDetails, VertexViewerMeasurementDistance, VertexViewerMeasurementLine, VertexViewerMeasurementOverlays, VertexViewerMeasurementPrecise, VertexViewerPinGroup, VertexViewerPinLabel, VertexViewerPinLabelLine, VertexViewerPinTool, VertexViewerSpinner, VertexViewerToolbar, VertexViewerToolbarGroup, VertexViewerTransformWidget, VertexViewerViewCube };
250
251
  //# sourceMappingURL=bundle.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"bundle.esm.js","sources":["../src/generated/react-component-lib/utils/case.ts","../src/generated/react-component-lib/utils/attachProps.ts","../src/generated/react-component-lib/utils/index.tsx","../src/generated/react-component-lib/createComponent.tsx","../src/generated/components.ts"],"sourcesContent":["export const dashToPascalCase = (str: string) =>\n str\n .toLowerCase()\n .split('-')\n .map((segment) => segment.charAt(0).toUpperCase() + segment.slice(1))\n .join('');\nexport const camelToDashCase = (str: string) =>\n str.replace(/([A-Z])/g, (m: string) => `-${m[0].toLowerCase()}`);\n","import { camelToDashCase } from './case';\n\nexport const attachProps = (node: HTMLElement, newProps: any, oldProps: any = {}) => {\n // some test frameworks don't render DOM elements, so we test here to make sure we are dealing with DOM first\n if (node instanceof Element) {\n // add any classes in className to the class list\n const className = getClassName(node.classList, newProps, oldProps);\n if (className !== '') {\n node.className = className;\n }\n\n Object.keys(newProps).forEach((name) => {\n if (\n name === 'children' ||\n name === 'style' ||\n name === 'ref' ||\n name === 'class' ||\n name === 'className' ||\n name === 'forwardedRef'\n ) {\n return;\n }\n if (name.indexOf('on') === 0 && name[2] === name[2].toUpperCase()) {\n const eventName = name.substring(2);\n const eventNameLc = eventName[0].toLowerCase() + eventName.substring(1);\n\n if (!isCoveredByReact(eventNameLc)) {\n syncEvent(node, eventNameLc, newProps[name]);\n }\n } else {\n (node as any)[name] = newProps[name];\n const propType = typeof newProps[name];\n if (propType === 'string') {\n node.setAttribute(camelToDashCase(name), newProps[name]);\n }\n }\n });\n }\n};\n\nexport const getClassName = (classList: DOMTokenList, newProps: any, oldProps: any) => {\n const newClassProp: string = newProps.className || newProps.class;\n const oldClassProp: string = oldProps.className || oldProps.class;\n // map the classes to Maps for performance\n const currentClasses = arrayToMap(classList);\n const incomingPropClasses = arrayToMap(newClassProp ? newClassProp.split(' ') : []);\n const oldPropClasses = arrayToMap(oldClassProp ? oldClassProp.split(' ') : []);\n const finalClassNames: string[] = [];\n // loop through each of the current classes on the component\n // to see if it should be a part of the classNames added\n currentClasses.forEach((currentClass) => {\n if (incomingPropClasses.has(currentClass)) {\n // add it as its already included in classnames coming in from newProps\n finalClassNames.push(currentClass);\n incomingPropClasses.delete(currentClass);\n } else if (!oldPropClasses.has(currentClass)) {\n // add it as it has NOT been removed by user\n finalClassNames.push(currentClass);\n }\n });\n incomingPropClasses.forEach((s) => finalClassNames.push(s));\n return finalClassNames.join(' ');\n};\n\n/**\n * Checks if an event is supported in the current execution environment.\n * @license Modernizr 3.0.0pre (Custom Build) | MIT\n */\nexport const isCoveredByReact = (eventNameSuffix: string) => {\n if (typeof document === 'undefined') {\n return true;\n } else {\n const eventName = 'on' + eventNameSuffix;\n let isSupported = eventName in document;\n\n if (!isSupported) {\n const element = document.createElement('div');\n element.setAttribute(eventName, 'return;');\n isSupported = typeof (element as any)[eventName] === 'function';\n }\n\n return isSupported;\n }\n};\n\nexport const syncEvent = (\n node: Element & { __events?: { [key: string]: ((e: Event) => any) | undefined } },\n eventName: string,\n newEventHandler?: (e: Event) => any\n) => {\n const eventStore = node.__events || (node.__events = {});\n const oldEventHandler = eventStore[eventName];\n\n // Remove old listener so they don't double up.\n if (oldEventHandler) {\n node.removeEventListener(eventName, oldEventHandler);\n }\n\n // Bind new listener.\n node.addEventListener(\n eventName,\n (eventStore[eventName] = function handler(e: Event) {\n if (newEventHandler) {\n newEventHandler.call(this, e);\n }\n })\n );\n};\n\nconst arrayToMap = (arr: string[] | DOMTokenList) => {\n const map = new Map<string, string>();\n (arr as string[]).forEach((s: string) => map.set(s, s));\n return map;\n};\n","import React from 'react';\n\nimport type { StyleReactProps } from '../interfaces';\n\nexport type StencilReactExternalProps<PropType, ElementType> = PropType &\n Omit<React.HTMLAttributes<ElementType>, 'style'> &\n StyleReactProps;\n\n// This will be replaced with React.ForwardedRef when react-output-target is upgraded to React v17\nexport type StencilReactForwardedRef<T> = ((instance: T | null) => void) | React.MutableRefObject<T | null> | null;\n\nexport const setRef = (ref: StencilReactForwardedRef<any> | React.Ref<any> | undefined, value: any) => {\n if (typeof ref === 'function') {\n ref(value)\n } else if (ref != null) {\n // Cast as a MutableRef so we can assign current\n (ref as React.MutableRefObject<any>).current = value\n }\n};\n\nexport const mergeRefs = (\n ...refs: (StencilReactForwardedRef<any> | React.Ref<any> | undefined)[]\n): React.RefCallback<any> => {\n return (value: any) => {\n refs.forEach(ref => {\n setRef(ref, value)\n })\n }\n};\n\nexport const createForwardRef = <PropType, ElementType>(\n ReactComponent: any,\n displayName: string,\n) => {\n const forwardRef = (\n props: StencilReactExternalProps<PropType, ElementType>,\n ref: StencilReactForwardedRef<ElementType>,\n ) => {\n return <ReactComponent {...props} forwardedRef={ref} />;\n };\n forwardRef.displayName = displayName;\n\n return React.forwardRef(forwardRef);\n};\n\nexport const defineCustomElement = (tagName: string, customElement: any) => {\n if (\n customElement !== undefined &&\n typeof customElements !== 'undefined' &&\n !customElements.get(tagName)\n ) {\n customElements.define(tagName, customElement);\n }\n}\n\nexport * from './attachProps';\nexport * from './case';\n","import React, { createElement } from 'react';\n\nimport {\n attachProps,\n camelToDashCase,\n createForwardRef,\n dashToPascalCase,\n isCoveredByReact,\n mergeRefs,\n} from './utils';\n\nexport interface HTMLStencilElement extends HTMLElement {\n componentOnReady(): Promise<this>;\n}\n\ninterface StencilReactInternalProps<ElementType> extends React.HTMLAttributes<ElementType> {\n forwardedRef: React.RefObject<ElementType>;\n ref?: React.Ref<any>;\n}\n\nexport const createReactComponent = <\n PropType,\n ElementType extends HTMLStencilElement,\n ContextStateType = {},\n ExpandedPropsTypes = {}\n>(\n tagName: string,\n ReactComponentContext?: React.Context<ContextStateType>,\n manipulatePropsFunction?: (\n originalProps: StencilReactInternalProps<ElementType>,\n propsToPass: any,\n ) => ExpandedPropsTypes,\n defineCustomElement?: () => void,\n) => {\n if (defineCustomElement !== undefined) {\n defineCustomElement();\n }\n\n const displayName = dashToPascalCase(tagName);\n const ReactComponent = class extends React.Component<StencilReactInternalProps<ElementType>> {\n componentEl!: ElementType;\n\n setComponentElRef = (element: ElementType) => {\n this.componentEl = element;\n };\n\n constructor(props: StencilReactInternalProps<ElementType>) {\n super(props);\n }\n\n componentDidMount() {\n this.componentDidUpdate(this.props);\n }\n\n componentDidUpdate(prevProps: StencilReactInternalProps<ElementType>) {\n attachProps(this.componentEl, this.props, prevProps);\n }\n\n render() {\n const { children, forwardedRef, style, className, ref, ...cProps } = this.props;\n\n let propsToPass = Object.keys(cProps).reduce((acc: any, name) => {\n const value = (cProps as any)[name];\n\n if (name.indexOf('on') === 0 && name[2] === name[2].toUpperCase()) {\n const eventName = name.substring(2).toLowerCase();\n if (typeof document !== 'undefined' && isCoveredByReact(eventName)) {\n acc[name] = value;\n }\n } else {\n // we should only render strings, booleans, and numbers as attrs in html.\n // objects, functions, arrays etc get synced via properties on mount.\n const type = typeof value;\n\n if (type === 'string' || type === 'boolean' || type === 'number') {\n acc[camelToDashCase(name)] = value;\n }\n }\n return acc;\n }, {});\n\n if (manipulatePropsFunction) {\n propsToPass = manipulatePropsFunction(this.props, propsToPass);\n }\n\n const newProps: Omit<StencilReactInternalProps<ElementType>, 'forwardedRef'> = {\n ...propsToPass,\n ref: mergeRefs(forwardedRef, this.setComponentElRef),\n style,\n };\n\n /**\n * We use createElement here instead of\n * React.createElement to work around a\n * bug in Vite (https://github.com/vitejs/vite/issues/6104).\n * React.createElement causes all elements to be rendered\n * as <tagname> instead of the actual Web Component.\n */\n return createElement(tagName, newProps, children);\n }\n\n static get displayName() {\n return displayName;\n }\n };\n\n // If context was passed to createReactComponent then conditionally add it to the Component Class\n if (ReactComponentContext) {\n ReactComponent.contextType = ReactComponentContext;\n }\n\n return createForwardRef<PropType, ElementType>(ReactComponent, displayName);\n};\n","/* eslint-disable */\n/* tslint:disable */\n/* auto-generated react proxies */\nimport { createReactComponent } from './react-component-lib';\n\nimport type { JSX } from '@vertexvis/viewer';\n\n\n\nexport const VertexSceneTree = /*@__PURE__*/createReactComponent<JSX.VertexSceneTree, HTMLVertexSceneTreeElement>('vertex-scene-tree');\nexport const VertexSceneTreeSearch = /*@__PURE__*/createReactComponent<JSX.VertexSceneTreeSearch, HTMLVertexSceneTreeSearchElement>('vertex-scene-tree-search');\nexport const VertexSceneTreeTableCell = /*@__PURE__*/createReactComponent<JSX.VertexSceneTreeTableCell, HTMLVertexSceneTreeTableCellElement>('vertex-scene-tree-table-cell');\nexport const VertexSceneTreeTableColumn = /*@__PURE__*/createReactComponent<JSX.VertexSceneTreeTableColumn, HTMLVertexSceneTreeTableColumnElement>('vertex-scene-tree-table-column');\nexport const VertexSceneTreeTableHeader = /*@__PURE__*/createReactComponent<JSX.VertexSceneTreeTableHeader, HTMLVertexSceneTreeTableHeaderElement>('vertex-scene-tree-table-header');\nexport const VertexSceneTreeTableLayout = /*@__PURE__*/createReactComponent<JSX.VertexSceneTreeTableLayout, HTMLVertexSceneTreeTableLayoutElement>('vertex-scene-tree-table-layout');\nexport const VertexSceneTreeTableResizeDivider = /*@__PURE__*/createReactComponent<JSX.VertexSceneTreeTableResizeDivider, HTMLVertexSceneTreeTableResizeDividerElement>('vertex-scene-tree-table-resize-divider');\nexport const VertexSceneTreeToolbar = /*@__PURE__*/createReactComponent<JSX.VertexSceneTreeToolbar, HTMLVertexSceneTreeToolbarElement>('vertex-scene-tree-toolbar');\nexport const VertexSceneTreeToolbarGroup = /*@__PURE__*/createReactComponent<JSX.VertexSceneTreeToolbarGroup, HTMLVertexSceneTreeToolbarGroupElement>('vertex-scene-tree-toolbar-group');\nexport const VertexViewer = /*@__PURE__*/createReactComponent<JSX.VertexViewer, HTMLVertexViewerElement>('vertex-viewer');\nexport const VertexViewerButton = /*@__PURE__*/createReactComponent<JSX.VertexViewerButton, HTMLVertexViewerButtonElement>('vertex-viewer-button');\nexport const VertexViewerDefaultToolbar = /*@__PURE__*/createReactComponent<JSX.VertexViewerDefaultToolbar, HTMLVertexViewerDefaultToolbarElement>('vertex-viewer-default-toolbar');\nexport const VertexViewerDomElement = /*@__PURE__*/createReactComponent<JSX.VertexViewerDomElement, HTMLVertexViewerDomElementElement>('vertex-viewer-dom-element');\nexport const VertexViewerDomGroup = /*@__PURE__*/createReactComponent<JSX.VertexViewerDomGroup, HTMLVertexViewerDomGroupElement>('vertex-viewer-dom-group');\nexport const VertexViewerDomRenderer = /*@__PURE__*/createReactComponent<JSX.VertexViewerDomRenderer, HTMLVertexViewerDomRendererElement>('vertex-viewer-dom-renderer');\nexport const VertexViewerIcon = /*@__PURE__*/createReactComponent<JSX.VertexViewerIcon, HTMLVertexViewerIconElement>('vertex-viewer-icon');\nexport const VertexViewerLayer = /*@__PURE__*/createReactComponent<JSX.VertexViewerLayer, HTMLVertexViewerLayerElement>('vertex-viewer-layer');\nexport const VertexViewerMarkup = /*@__PURE__*/createReactComponent<JSX.VertexViewerMarkup, HTMLVertexViewerMarkupElement>('vertex-viewer-markup');\nexport const VertexViewerMarkupArrow = /*@__PURE__*/createReactComponent<JSX.VertexViewerMarkupArrow, HTMLVertexViewerMarkupArrowElement>('vertex-viewer-markup-arrow');\nexport const VertexViewerMarkupCircle = /*@__PURE__*/createReactComponent<JSX.VertexViewerMarkupCircle, HTMLVertexViewerMarkupCircleElement>('vertex-viewer-markup-circle');\nexport const VertexViewerMarkupFreeform = /*@__PURE__*/createReactComponent<JSX.VertexViewerMarkupFreeform, HTMLVertexViewerMarkupFreeformElement>('vertex-viewer-markup-freeform');\nexport const VertexViewerMarkupTool = /*@__PURE__*/createReactComponent<JSX.VertexViewerMarkupTool, HTMLVertexViewerMarkupToolElement>('vertex-viewer-markup-tool');\nexport const VertexViewerMeasurementDetails = /*@__PURE__*/createReactComponent<JSX.VertexViewerMeasurementDetails, HTMLVertexViewerMeasurementDetailsElement>('vertex-viewer-measurement-details');\nexport const VertexViewerMeasurementDistance = /*@__PURE__*/createReactComponent<JSX.VertexViewerMeasurementDistance, HTMLVertexViewerMeasurementDistanceElement>('vertex-viewer-measurement-distance');\nexport const VertexViewerMeasurementLine = /*@__PURE__*/createReactComponent<JSX.VertexViewerMeasurementLine, HTMLVertexViewerMeasurementLineElement>('vertex-viewer-measurement-line');\nexport const VertexViewerMeasurementOverlays = /*@__PURE__*/createReactComponent<JSX.VertexViewerMeasurementOverlays, HTMLVertexViewerMeasurementOverlaysElement>('vertex-viewer-measurement-overlays');\nexport const VertexViewerMeasurementPrecise = /*@__PURE__*/createReactComponent<JSX.VertexViewerMeasurementPrecise, HTMLVertexViewerMeasurementPreciseElement>('vertex-viewer-measurement-precise');\nexport const VertexViewerPinGroup = /*@__PURE__*/createReactComponent<JSX.VertexViewerPinGroup, HTMLVertexViewerPinGroupElement>('vertex-viewer-pin-group');\nexport const VertexViewerPinLabel = /*@__PURE__*/createReactComponent<JSX.VertexViewerPinLabel, HTMLVertexViewerPinLabelElement>('vertex-viewer-pin-label');\nexport const VertexViewerPinLabelLine = /*@__PURE__*/createReactComponent<JSX.VertexViewerPinLabelLine, HTMLVertexViewerPinLabelLineElement>('vertex-viewer-pin-label-line');\nexport const VertexViewerPinTool = /*@__PURE__*/createReactComponent<JSX.VertexViewerPinTool, HTMLVertexViewerPinToolElement>('vertex-viewer-pin-tool');\nexport const VertexViewerSpinner = /*@__PURE__*/createReactComponent<JSX.VertexViewerSpinner, HTMLVertexViewerSpinnerElement>('vertex-viewer-spinner');\nexport const VertexViewerToolbar = /*@__PURE__*/createReactComponent<JSX.VertexViewerToolbar, HTMLVertexViewerToolbarElement>('vertex-viewer-toolbar');\nexport const VertexViewerToolbarGroup = /*@__PURE__*/createReactComponent<JSX.VertexViewerToolbarGroup, HTMLVertexViewerToolbarGroupElement>('vertex-viewer-toolbar-group');\nexport const VertexViewerTransformWidget = /*@__PURE__*/createReactComponent<JSX.VertexViewerTransformWidget, HTMLVertexViewerTransformWidgetElement>('vertex-viewer-transform-widget');\nexport const VertexViewerViewCube = /*@__PURE__*/createReactComponent<JSX.VertexViewerViewCube, HTMLVertexViewerViewCubeElement>('vertex-viewer-view-cube');\n"],"names":[],"mappings":";;;;AAAO,IAAM,gBAAgB,GAAG,UAAC,GAAW;IAC1C,OAAA,GAAG;SACA,WAAW,EAAE;SACb,KAAK,CAAC,GAAG,CAAC;SACV,GAAG,CAAC,UAAC,OAAO,IAAK,OAAA,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,GAAA,CAAC;SACpE,IAAI,CAAC,EAAE,CAAC;AAJX,CAIW,CAAC;AACP,IAAM,eAAe,GAAG,UAAC,GAAW;IACzC,OAAA,GAAG,CAAC,OAAO,CAAC,UAAU,EAAE,UAAC,CAAS,IAAK,OAAA,WAAI,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,CAAE,GAAA,CAAC;AAAhE,CAAgE;;ACL3D,IAAM,WAAW,GAAG,UAAC,IAAiB,EAAE,QAAa,EAAE,QAAkB;IAAlB,yBAAA,EAAA,aAAkB;;IAE9E,IAAI,IAAI,YAAY,OAAO,EAAE;;QAE3B,IAAM,SAAS,GAAG,YAAY,CAAC,IAAI,CAAC,SAAS,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC;QACnE,IAAI,SAAS,KAAK,EAAE,EAAE;YACpB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;SAC5B;QAED,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,UAAC,IAAI;YACjC,IACE,IAAI,KAAK,UAAU;gBACnB,IAAI,KAAK,OAAO;gBAChB,IAAI,KAAK,KAAK;gBACd,IAAI,KAAK,OAAO;gBAChB,IAAI,KAAK,WAAW;gBACpB,IAAI,KAAK,cAAc,EACvB;gBAC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IAC3L,2BAA2B,iBAAgB,oBAAoB,CAA0E,gCAAgC,EAAE;IAC3K,+BAA+B,iBAAgB,oBAAoB,CAAkF,oCAAoC,EAAE;IAC3L,8BAA8B,iBAAgB,oBAAoB,CAAgF,mCAAmC,EAAE;IACvL,oBAAoB,iBAAgB,oBAAoB,CAA4D,yBAAyB,EAAE;IAC/I,oBAAoB,iBAAgB,oBAAoB,CAA4D,yBAAyB,EAAE;IAC/I,wBAAwB,iBAAgB,oBAAoB,CAAoE,8BAA8B,EAAE;IAChK,mBAAmB,iBAAgB,oBAAoB,CAA0D,wBAAwB,EAAE;IAC3I,mBAAmB,iBAAgB,oBAAoB,CAA0D,uBAAuB,EAAE;IAC1I,mBAAmB,iBAAgB,oBAAoB,CAA0D,uBAAuB,EAAE;IAC1I,wBAAwB,iBAAgB,oBAAoB,CAAoE,6BAA6B,EAAE;IAC/J,2BAA2B,iBAAgB,oBAAoB,CAA0E,gCAAgC,EAAE;IAC3K,oBAAoB,iBAAgB,oBAAoB,CAA4D,yBAAyB;;;;"}
1
+ {"version":3,"file":"bundle.esm.js","sources":["../src/generated/react-component-lib/utils/case.ts","../src/generated/react-component-lib/utils/attachProps.ts","../src/generated/react-component-lib/utils/index.tsx","../src/generated/react-component-lib/createComponent.tsx","../src/generated/components.ts"],"sourcesContent":["export const dashToPascalCase = (str: string) =>\n str\n .toLowerCase()\n .split('-')\n .map((segment) => segment.charAt(0).toUpperCase() + segment.slice(1))\n .join('');\nexport const camelToDashCase = (str: string) =>\n str.replace(/([A-Z])/g, (m: string) => `-${m[0].toLowerCase()}`);\n","import { camelToDashCase } from './case';\n\nexport const attachProps = (node: HTMLElement, newProps: any, oldProps: any = {}) => {\n // some test frameworks don't render DOM elements, so we test here to make sure we are dealing with DOM first\n if (node instanceof Element) {\n // add any classes in className to the class list\n const className = getClassName(node.classList, newProps, oldProps);\n if (className !== '') {\n node.className = className;\n }\n\n Object.keys(newProps).forEach((name) => {\n if (\n name === 'children' ||\n name === 'style' ||\n name === 'ref' ||\n name === 'class' ||\n name === 'className' ||\n name === 'forwardedRef'\n ) {\n return;\n }\n if (name.indexOf('on') === 0 && name[2] === name[2].toUpperCase()) {\n const eventName = name.substring(2);\n const eventNameLc = eventName[0].toLowerCase() + eventName.substring(1);\n\n if (!isCoveredByReact(eventNameLc)) {\n syncEvent(node, eventNameLc, newProps[name]);\n }\n } else {\n (node as any)[name] = newProps[name];\n const propType = typeof newProps[name];\n if (propType === 'string') {\n node.setAttribute(camelToDashCase(name), newProps[name]);\n }\n }\n });\n }\n};\n\nexport const getClassName = (classList: DOMTokenList, newProps: any, oldProps: any) => {\n const newClassProp: string = newProps.className || newProps.class;\n const oldClassProp: string = oldProps.className || oldProps.class;\n // map the classes to Maps for performance\n const currentClasses = arrayToMap(classList);\n const incomingPropClasses = arrayToMap(newClassProp ? newClassProp.split(' ') : []);\n const oldPropClasses = arrayToMap(oldClassProp ? oldClassProp.split(' ') : []);\n const finalClassNames: string[] = [];\n // loop through each of the current classes on the component\n // to see if it should be a part of the classNames added\n currentClasses.forEach((currentClass) => {\n if (incomingPropClasses.has(currentClass)) {\n // add it as its already included in classnames coming in from newProps\n finalClassNames.push(currentClass);\n incomingPropClasses.delete(currentClass);\n } else if (!oldPropClasses.has(currentClass)) {\n // add it as it has NOT been removed by user\n finalClassNames.push(currentClass);\n }\n });\n incomingPropClasses.forEach((s) => finalClassNames.push(s));\n return finalClassNames.join(' ');\n};\n\n/**\n * Checks if an event is supported in the current execution environment.\n * @license Modernizr 3.0.0pre (Custom Build) | MIT\n */\nexport const isCoveredByReact = (eventNameSuffix: string) => {\n if (typeof document === 'undefined') {\n return true;\n } else {\n const eventName = 'on' + eventNameSuffix;\n let isSupported = eventName in document;\n\n if (!isSupported) {\n const element = document.createElement('div');\n element.setAttribute(eventName, 'return;');\n isSupported = typeof (element as any)[eventName] === 'function';\n }\n\n return isSupported;\n }\n};\n\nexport const syncEvent = (\n node: Element & { __events?: { [key: string]: ((e: Event) => any) | undefined } },\n eventName: string,\n newEventHandler?: (e: Event) => any\n) => {\n const eventStore = node.__events || (node.__events = {});\n const oldEventHandler = eventStore[eventName];\n\n // Remove old listener so they don't double up.\n if (oldEventHandler) {\n node.removeEventListener(eventName, oldEventHandler);\n }\n\n // Bind new listener.\n node.addEventListener(\n eventName,\n (eventStore[eventName] = function handler(e: Event) {\n if (newEventHandler) {\n newEventHandler.call(this, e);\n }\n })\n );\n};\n\nconst arrayToMap = (arr: string[] | DOMTokenList) => {\n const map = new Map<string, string>();\n (arr as string[]).forEach((s: string) => map.set(s, s));\n return map;\n};\n","import React from 'react';\n\nimport type { StyleReactProps } from '../interfaces';\n\nexport type StencilReactExternalProps<PropType, ElementType> = PropType &\n Omit<React.HTMLAttributes<ElementType>, 'style'> &\n StyleReactProps;\n\n// This will be replaced with React.ForwardedRef when react-output-target is upgraded to React v17\nexport type StencilReactForwardedRef<T> = ((instance: T | null) => void) | React.MutableRefObject<T | null> | null;\n\nexport const setRef = (ref: StencilReactForwardedRef<any> | React.Ref<any> | undefined, value: any) => {\n if (typeof ref === 'function') {\n ref(value)\n } else if (ref != null) {\n // Cast as a MutableRef so we can assign current\n (ref as React.MutableRefObject<any>).current = value\n }\n};\n\nexport const mergeRefs = (\n ...refs: (StencilReactForwardedRef<any> | React.Ref<any> | undefined)[]\n): React.RefCallback<any> => {\n return (value: any) => {\n refs.forEach(ref => {\n setRef(ref, value)\n })\n }\n};\n\nexport const createForwardRef = <PropType, ElementType>(\n ReactComponent: any,\n displayName: string,\n) => {\n const forwardRef = (\n props: StencilReactExternalProps<PropType, ElementType>,\n ref: StencilReactForwardedRef<ElementType>,\n ) => {\n return <ReactComponent {...props} forwardedRef={ref} />;\n };\n forwardRef.displayName = displayName;\n\n return React.forwardRef(forwardRef);\n};\n\nexport const defineCustomElement = (tagName: string, customElement: any) => {\n if (\n customElement !== undefined &&\n typeof customElements !== 'undefined' &&\n !customElements.get(tagName)\n ) {\n customElements.define(tagName, customElement);\n }\n}\n\nexport * from './attachProps';\nexport * from './case';\n","import React, { createElement } from 'react';\n\nimport {\n attachProps,\n camelToDashCase,\n createForwardRef,\n dashToPascalCase,\n isCoveredByReact,\n mergeRefs,\n} from './utils';\n\nexport interface HTMLStencilElement extends HTMLElement {\n componentOnReady(): Promise<this>;\n}\n\ninterface StencilReactInternalProps<ElementType> extends React.HTMLAttributes<ElementType> {\n forwardedRef: React.RefObject<ElementType>;\n ref?: React.Ref<any>;\n}\n\nexport const createReactComponent = <\n PropType,\n ElementType extends HTMLStencilElement,\n ContextStateType = {},\n ExpandedPropsTypes = {}\n>(\n tagName: string,\n ReactComponentContext?: React.Context<ContextStateType>,\n manipulatePropsFunction?: (\n originalProps: StencilReactInternalProps<ElementType>,\n propsToPass: any,\n ) => ExpandedPropsTypes,\n defineCustomElement?: () => void,\n) => {\n if (defineCustomElement !== undefined) {\n defineCustomElement();\n }\n\n const displayName = dashToPascalCase(tagName);\n const ReactComponent = class extends React.Component<StencilReactInternalProps<ElementType>> {\n componentEl!: ElementType;\n\n setComponentElRef = (element: ElementType) => {\n this.componentEl = element;\n };\n\n constructor(props: StencilReactInternalProps<ElementType>) {\n super(props);\n }\n\n componentDidMount() {\n this.componentDidUpdate(this.props);\n }\n\n componentDidUpdate(prevProps: StencilReactInternalProps<ElementType>) {\n attachProps(this.componentEl, this.props, prevProps);\n }\n\n render() {\n const { children, forwardedRef, style, className, ref, ...cProps } = this.props;\n\n let propsToPass = Object.keys(cProps).reduce((acc: any, name) => {\n const value = (cProps as any)[name];\n\n if (name.indexOf('on') === 0 && name[2] === name[2].toUpperCase()) {\n const eventName = name.substring(2).toLowerCase();\n if (typeof document !== 'undefined' && isCoveredByReact(eventName)) {\n acc[name] = value;\n }\n } else {\n // we should only render strings, booleans, and numbers as attrs in html.\n // objects, functions, arrays etc get synced via properties on mount.\n const type = typeof value;\n\n if (type === 'string' || type === 'boolean' || type === 'number') {\n acc[camelToDashCase(name)] = value;\n }\n }\n return acc;\n }, {});\n\n if (manipulatePropsFunction) {\n propsToPass = manipulatePropsFunction(this.props, propsToPass);\n }\n\n const newProps: Omit<StencilReactInternalProps<ElementType>, 'forwardedRef'> = {\n ...propsToPass,\n ref: mergeRefs(forwardedRef, this.setComponentElRef),\n style,\n };\n\n /**\n * We use createElement here instead of\n * React.createElement to work around a\n * bug in Vite (https://github.com/vitejs/vite/issues/6104).\n * React.createElement causes all elements to be rendered\n * as <tagname> instead of the actual Web Component.\n */\n return createElement(tagName, newProps, children);\n }\n\n static get displayName() {\n return displayName;\n }\n };\n\n // If context was passed to createReactComponent then conditionally add it to the Component Class\n if (ReactComponentContext) {\n ReactComponent.contextType = ReactComponentContext;\n }\n\n return createForwardRef<PropType, ElementType>(ReactComponent, displayName);\n};\n","/* eslint-disable */\n/* tslint:disable */\n/* auto-generated react proxies */\nimport { createReactComponent } from './react-component-lib';\n\nimport type { JSX } from '@vertexvis/viewer';\n\n\n\nexport const VertexSceneTree = /*@__PURE__*/createReactComponent<JSX.VertexSceneTree, HTMLVertexSceneTreeElement>('vertex-scene-tree');\nexport const VertexSceneTreeSearch = /*@__PURE__*/createReactComponent<JSX.VertexSceneTreeSearch, HTMLVertexSceneTreeSearchElement>('vertex-scene-tree-search');\nexport const VertexSceneTreeTableCell = /*@__PURE__*/createReactComponent<JSX.VertexSceneTreeTableCell, HTMLVertexSceneTreeTableCellElement>('vertex-scene-tree-table-cell');\nexport const VertexSceneTreeTableColumn = /*@__PURE__*/createReactComponent<JSX.VertexSceneTreeTableColumn, HTMLVertexSceneTreeTableColumnElement>('vertex-scene-tree-table-column');\nexport const VertexSceneTreeTableHeader = /*@__PURE__*/createReactComponent<JSX.VertexSceneTreeTableHeader, HTMLVertexSceneTreeTableHeaderElement>('vertex-scene-tree-table-header');\nexport const VertexSceneTreeTableLayout = /*@__PURE__*/createReactComponent<JSX.VertexSceneTreeTableLayout, HTMLVertexSceneTreeTableLayoutElement>('vertex-scene-tree-table-layout');\nexport const VertexSceneTreeTableResizeDivider = /*@__PURE__*/createReactComponent<JSX.VertexSceneTreeTableResizeDivider, HTMLVertexSceneTreeTableResizeDividerElement>('vertex-scene-tree-table-resize-divider');\nexport const VertexSceneTreeToolbar = /*@__PURE__*/createReactComponent<JSX.VertexSceneTreeToolbar, HTMLVertexSceneTreeToolbarElement>('vertex-scene-tree-toolbar');\nexport const VertexSceneTreeToolbarGroup = /*@__PURE__*/createReactComponent<JSX.VertexSceneTreeToolbarGroup, HTMLVertexSceneTreeToolbarGroupElement>('vertex-scene-tree-toolbar-group');\nexport const VertexViewer = /*@__PURE__*/createReactComponent<JSX.VertexViewer, HTMLVertexViewerElement>('vertex-viewer');\nexport const VertexViewerButton = /*@__PURE__*/createReactComponent<JSX.VertexViewerButton, HTMLVertexViewerButtonElement>('vertex-viewer-button');\nexport const VertexViewerDefaultToolbar = /*@__PURE__*/createReactComponent<JSX.VertexViewerDefaultToolbar, HTMLVertexViewerDefaultToolbarElement>('vertex-viewer-default-toolbar');\nexport const VertexViewerDomElement = /*@__PURE__*/createReactComponent<JSX.VertexViewerDomElement, HTMLVertexViewerDomElementElement>('vertex-viewer-dom-element');\nexport const VertexViewerDomGroup = /*@__PURE__*/createReactComponent<JSX.VertexViewerDomGroup, HTMLVertexViewerDomGroupElement>('vertex-viewer-dom-group');\nexport const VertexViewerDomRenderer = /*@__PURE__*/createReactComponent<JSX.VertexViewerDomRenderer, HTMLVertexViewerDomRendererElement>('vertex-viewer-dom-renderer');\nexport const VertexViewerDragSelect = /*@__PURE__*/createReactComponent<JSX.VertexViewerDragSelect, HTMLVertexViewerDragSelectElement>('vertex-viewer-drag-select');\nexport const VertexViewerIcon = /*@__PURE__*/createReactComponent<JSX.VertexViewerIcon, HTMLVertexViewerIconElement>('vertex-viewer-icon');\nexport const VertexViewerLayer = /*@__PURE__*/createReactComponent<JSX.VertexViewerLayer, HTMLVertexViewerLayerElement>('vertex-viewer-layer');\nexport const VertexViewerMarkup = /*@__PURE__*/createReactComponent<JSX.VertexViewerMarkup, HTMLVertexViewerMarkupElement>('vertex-viewer-markup');\nexport const VertexViewerMarkupArrow = /*@__PURE__*/createReactComponent<JSX.VertexViewerMarkupArrow, HTMLVertexViewerMarkupArrowElement>('vertex-viewer-markup-arrow');\nexport const VertexViewerMarkupCircle = /*@__PURE__*/createReactComponent<JSX.VertexViewerMarkupCircle, HTMLVertexViewerMarkupCircleElement>('vertex-viewer-markup-circle');\nexport const VertexViewerMarkupFreeform = /*@__PURE__*/createReactComponent<JSX.VertexViewerMarkupFreeform, HTMLVertexViewerMarkupFreeformElement>('vertex-viewer-markup-freeform');\nexport const VertexViewerMarkupTool = /*@__PURE__*/createReactComponent<JSX.VertexViewerMarkupTool, HTMLVertexViewerMarkupToolElement>('vertex-viewer-markup-tool');\nexport const VertexViewerMeasurementDetails = /*@__PURE__*/createReactComponent<JSX.VertexViewerMeasurementDetails, HTMLVertexViewerMeasurementDetailsElement>('vertex-viewer-measurement-details');\nexport const VertexViewerMeasurementDistance = /*@__PURE__*/createReactComponent<JSX.VertexViewerMeasurementDistance, HTMLVertexViewerMeasurementDistanceElement>('vertex-viewer-measurement-distance');\nexport const VertexViewerMeasurementLine = /*@__PURE__*/createReactComponent<JSX.VertexViewerMeasurementLine, HTMLVertexViewerMeasurementLineElement>('vertex-viewer-measurement-line');\nexport const VertexViewerMeasurementOverlays = /*@__PURE__*/createReactComponent<JSX.VertexViewerMeasurementOverlays, HTMLVertexViewerMeasurementOverlaysElement>('vertex-viewer-measurement-overlays');\nexport const VertexViewerMeasurementPrecise = /*@__PURE__*/createReactComponent<JSX.VertexViewerMeasurementPrecise, HTMLVertexViewerMeasurementPreciseElement>('vertex-viewer-measurement-precise');\nexport const VertexViewerPinGroup = /*@__PURE__*/createReactComponent<JSX.VertexViewerPinGroup, HTMLVertexViewerPinGroupElement>('vertex-viewer-pin-group');\nexport const VertexViewerPinLabel = /*@__PURE__*/createReactComponent<JSX.VertexViewerPinLabel, HTMLVertexViewerPinLabelElement>('vertex-viewer-pin-label');\nexport const VertexViewerPinLabelLine = /*@__PURE__*/createReactComponent<JSX.VertexViewerPinLabelLine, HTMLVertexViewerPinLabelLineElement>('vertex-viewer-pin-label-line');\nexport const VertexViewerPinTool = /*@__PURE__*/createReactComponent<JSX.VertexViewerPinTool, HTMLVertexViewerPinToolElement>('vertex-viewer-pin-tool');\nexport const VertexViewerSpinner = /*@__PURE__*/createReactComponent<JSX.VertexViewerSpinner, HTMLVertexViewerSpinnerElement>('vertex-viewer-spinner');\nexport const VertexViewerToolbar = /*@__PURE__*/createReactComponent<JSX.VertexViewerToolbar, HTMLVertexViewerToolbarElement>('vertex-viewer-toolbar');\nexport const VertexViewerToolbarGroup = /*@__PURE__*/createReactComponent<JSX.VertexViewerToolbarGroup, HTMLVertexViewerToolbarGroupElement>('vertex-viewer-toolbar-group');\nexport const VertexViewerTransformWidget = /*@__PURE__*/createReactComponent<JSX.VertexViewerTransformWidget, HTMLVertexViewerTransformWidgetElement>('vertex-viewer-transform-widget');\nexport const VertexViewerViewCube = /*@__PURE__*/createReactComponent<JSX.VertexViewerViewCube, HTMLVertexViewerViewCubeElement>('vertex-viewer-view-cube');\n"],"names":[],"mappings":";;;;AAAO,IAAM,gBAAgB,GAAG,UAAC,GAAW;IAC1C,OAAA,GAAG;SACA,WAAW,EAAE;SACb,KAAK,CAAC,GAAG,CAAC;SACV,GAAG,CAAC,UAAC,OAAO,IAAK,OAAA,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,GAAA,CAAC;SACpE,IAAI,CAAC,EAAE,CAAC;AAJX,CAIW,CAAC;AACP,IAAM,eAAe,GAAG,UAAC,GAAW;IACzC,OAAA,GAAG,CAAC,OAAO,CAAC,UAAU,EAAE,UAAC,CAAS,IAAK,OAAA,WAAI,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,CAAE,GAAA,CAAC;AAAhE,CAAgE;;ACL3D,IAAM,WAAW,GAAG,UAAC,IAAiB,EAA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ertexViewerDefaultToolbar: import("react").ForwardRefExoti
15
15
  export declare const VertexViewerDomElement: import("react").ForwardRefExoticComponent<JSX.VertexViewerDomElement & Omit<import("react").HTMLAttributes<HTMLVertexViewerDomElementElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVertexViewerDomElementElement>>;
16
16
  export declare const VertexViewerDomGroup: import("react").ForwardRefExoticComponent<JSX.VertexViewerDomGroup & Omit<import("react").HTMLAttributes<HTMLVertexViewerDomGroupElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVertexViewerDomGroupElement>>;
17
17
  export declare const VertexViewerDomRenderer: import("react").ForwardRefExoticComponent<JSX.VertexViewerDomRenderer & Omit<import("react").HTMLAttributes<HTMLVertexViewerDomRendererElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVertexViewerDomRendererElement>>;
18
+ export declare const VertexViewerDragSelect: import("react").ForwardRefExoticComponent<JSX.VertexViewerDragSelect & Omit<import("react").HTMLAttributes<HTMLVertexViewerDragSelectElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVertexViewerDragSelectElement>>;
18
19
  export declare const VertexViewerIcon: import("react").ForwardRefExoticComponent<JSX.VertexViewerIcon & Omit<import("react").HTMLAttributes<HTMLVertexViewerIconElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVertexViewerIconElement>>;
19
20
  export declare const VertexViewerLayer: import("react").ForwardRefExoticComponent<JSX.VertexViewerLayer & Omit<import("react").HTMLAttributes<HTMLVertexViewerLayerElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVertexViewerLayerElement>>;
20
21
  export declare const VertexViewerMarkup: import("react").ForwardRefExoticComponent<JSX.VertexViewerMarkup & Omit<import("react").HTMLAttributes<HTMLVertexViewerMarkupElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVertexViewerMarkupElement>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vertexvis/viewer-react",
3
- "version": "0.15.2-canary.1",
3
+ "version": "0.15.2-testing.0",
4
4
  "description": "React bindings for the Vertex Viewer SDK.",
5
5
  "license": "MIT",
6
6
  "author": "Vertex Developers <support@vertexvis.com> (https://developer.vertexvis.com)",
@@ -33,7 +33,7 @@
33
33
  "test:coverage": "echo 'No unit tests defined'"
34
34
  },
35
35
  "dependencies": {
36
- "@vertexvis/viewer": "0.15.2-canary.1"
36
+ "@vertexvis/viewer": "0.15.2-testing.0"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@types/react": "^17.0.22",
@@ -49,5 +49,5 @@
49
49
  "react-dom": ">=16.0.0 <18.0.0",
50
50
  "tslib": ">=2.1.0"
51
51
  },
52
- "gitHead": "480ab362f16438109bd273559a3b791da9e5b1db"
52
+ "gitHead": "afe0526fcabf9f39f18d7350259ce120f2837d55"
53
53
  }