@vertexvis/viewer-vue 0.18.1-canary.2
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/LICENSE +21 -0
- package/dist/bundle.cjs.js +3185 -0
- package/dist/bundle.cjs.js.map +1 -0
- package/dist/bundle.esm.js +3143 -0
- package/dist/bundle.esm.js.map +1 -0
- package/dist/generated/components.d.ts +39 -0
- package/dist/generated/vue-component-lib/utils.d.ts +18 -0
- package/dist/index.d.ts +2 -0
- package/dist/lib/plugin.d.ts +2 -0
- package/package.json +48 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { JSX } from '@vertexvis/viewer';
|
|
2
|
+
export declare const VertexSceneTree: (props: JSX.VertexSceneTree & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
3
|
+
export declare const VertexSceneTreeSearch: (props: JSX.VertexSceneTreeSearch & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
4
|
+
export declare const VertexSceneTreeTableCell: (props: JSX.VertexSceneTreeTableCell & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
5
|
+
export declare const VertexSceneTreeTableColumn: (props: JSX.VertexSceneTreeTableColumn & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
6
|
+
export declare const VertexSceneTreeTableHeader: (props: JSX.VertexSceneTreeTableHeader & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
7
|
+
export declare const VertexSceneTreeTableLayout: (props: JSX.VertexSceneTreeTableLayout & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
8
|
+
export declare const VertexSceneTreeTableResizeDivider: (props: JSX.VertexSceneTreeTableResizeDivider & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
9
|
+
export declare const VertexSceneTreeToolbar: (props: JSX.VertexSceneTreeToolbar & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
10
|
+
export declare const VertexSceneTreeToolbarGroup: (props: JSX.VertexSceneTreeToolbarGroup & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
11
|
+
export declare const VertexViewer: (props: JSX.VertexViewer & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
12
|
+
export declare const VertexViewerBoxQueryTool: (props: JSX.VertexViewerBoxQueryTool & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
13
|
+
export declare const VertexViewerButton: (props: JSX.VertexViewerButton & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
14
|
+
export declare const VertexViewerDefaultToolbar: (props: JSX.VertexViewerDefaultToolbar & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
15
|
+
export declare const VertexViewerDomElement: (props: JSX.VertexViewerDomElement & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
16
|
+
export declare const VertexViewerDomGroup: (props: JSX.VertexViewerDomGroup & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
17
|
+
export declare const VertexViewerDomRenderer: (props: JSX.VertexViewerDomRenderer & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
18
|
+
export declare const VertexViewerHitResultIndicator: (props: JSX.VertexViewerHitResultIndicator & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
19
|
+
export declare const VertexViewerIcon: (props: JSX.VertexViewerIcon & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
20
|
+
export declare const VertexViewerLayer: (props: JSX.VertexViewerLayer & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
21
|
+
export declare const VertexViewerMarkup: (props: JSX.VertexViewerMarkup & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
22
|
+
export declare const VertexViewerMarkupArrow: (props: JSX.VertexViewerMarkupArrow & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
23
|
+
export declare const VertexViewerMarkupCircle: (props: JSX.VertexViewerMarkupCircle & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
24
|
+
export declare const VertexViewerMarkupFreeform: (props: JSX.VertexViewerMarkupFreeform & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
25
|
+
export declare const VertexViewerMarkupTool: (props: JSX.VertexViewerMarkupTool & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
26
|
+
export declare const VertexViewerMeasurementDetails: (props: JSX.VertexViewerMeasurementDetails & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
27
|
+
export declare const VertexViewerMeasurementDistance: (props: JSX.VertexViewerMeasurementDistance & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
28
|
+
export declare const VertexViewerMeasurementLine: (props: JSX.VertexViewerMeasurementLine & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
29
|
+
export declare const VertexViewerMeasurementOverlays: (props: JSX.VertexViewerMeasurementOverlays & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
30
|
+
export declare const VertexViewerMeasurementPrecise: (props: JSX.VertexViewerMeasurementPrecise & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
31
|
+
export declare const VertexViewerPinGroup: (props: JSX.VertexViewerPinGroup & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
32
|
+
export declare const VertexViewerPinLabel: (props: JSX.VertexViewerPinLabel & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
33
|
+
export declare const VertexViewerPinLabelLine: (props: JSX.VertexViewerPinLabelLine & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
34
|
+
export declare const VertexViewerPinTool: (props: JSX.VertexViewerPinTool & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
35
|
+
export declare const VertexViewerSpinner: (props: JSX.VertexViewerSpinner & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
36
|
+
export declare const VertexViewerToolbar: (props: JSX.VertexViewerToolbar & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
37
|
+
export declare const VertexViewerToolbarGroup: (props: JSX.VertexViewerToolbarGroup & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
38
|
+
export declare const VertexViewerTransformWidget: (props: JSX.VertexViewerTransformWidget & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
39
|
+
export declare const VertexViewerViewCube: (props: JSX.VertexViewerViewCube & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface InputProps<T> {
|
|
2
|
+
modelValue?: T;
|
|
3
|
+
}
|
|
4
|
+
/**
|
|
5
|
+
* Create a callback to define a Vue component wrapper around a Web Component.
|
|
6
|
+
*
|
|
7
|
+
* @prop name - The component tag name (i.e. `ion-button`)
|
|
8
|
+
* @prop componentProps - An array of properties on the
|
|
9
|
+
* component. These usually match up with the @Prop definitions
|
|
10
|
+
* in each component's TSX file.
|
|
11
|
+
* @prop customElement - An option custom element instance to pass
|
|
12
|
+
* to customElements.define. Only set if `includeImportCustomElements: true` in your config.
|
|
13
|
+
* @prop modelProp - The prop that v-model binds to (i.e. value)
|
|
14
|
+
* @prop modelUpdateEvent - The event that is fired from your Web Component when the value changes (i.e. ionChange)
|
|
15
|
+
* @prop externalModelUpdateEvent - The external event to fire from your Vue component when modelUpdateEvent fires. This is used for ensuring that v-model references have been
|
|
16
|
+
* correctly updated when a user's event callback fires.
|
|
17
|
+
*/
|
|
18
|
+
export declare const defineContainer: <Props, VModelType = string | number | boolean>(name: string, defineCustomElement: any, componentProps?: string[], modelProp?: string | undefined, modelUpdateEvent?: string | undefined, externalModelUpdateEvent?: string | undefined) => (props: Props & InputProps<VModelType> & {}) => any;
|
package/dist/index.d.ts
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@vertexvis/viewer-vue",
|
|
3
|
+
"version": "0.18.1-canary.2",
|
|
4
|
+
"description": "Vue bindings for the Vertex Viewer SDK.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": "Vertex Developers <support@vertexvis.com> (https://developer.vertexvis.com)",
|
|
7
|
+
"homepage": "https://github.com/Vertexvis/vertex-web-sdk#readme",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/Vertexvis/vertex-web-sdk.git"
|
|
11
|
+
},
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/Vertexvis/vertex-web-sdk/issues"
|
|
14
|
+
},
|
|
15
|
+
"main": "./dist/bundle.cjs.js",
|
|
16
|
+
"module": "./dist/bundle.esm.js",
|
|
17
|
+
"typings": "./dist/index.d.ts",
|
|
18
|
+
"files": [
|
|
19
|
+
"dist/*"
|
|
20
|
+
],
|
|
21
|
+
"publishConfig": {
|
|
22
|
+
"registry": "https://registry.npmjs.org",
|
|
23
|
+
"access": "public"
|
|
24
|
+
},
|
|
25
|
+
"scripts": {
|
|
26
|
+
"clean": "rm -fr ./dist && mkdir ./dist",
|
|
27
|
+
"prebuild": "yarn clean",
|
|
28
|
+
"build": "rollup --config rollup.config.js",
|
|
29
|
+
"format": "yarn lint --fix",
|
|
30
|
+
"lint": "eslint --ext .ts,.tsx,.js,.jsx --ignore-path ../../.gitignore .",
|
|
31
|
+
"test": "echo 'No unit tests defined'",
|
|
32
|
+
"test:ci": "yarn test:coverage",
|
|
33
|
+
"test:coverage": "echo 'No unit tests defined'"
|
|
34
|
+
},
|
|
35
|
+
"dependencies": {
|
|
36
|
+
"@vertexvis/viewer": "0.18.1-canary.2"
|
|
37
|
+
},
|
|
38
|
+
"devDependencies": {
|
|
39
|
+
"@vertexvis/eslint-config-vertexvis-typescript": "^0.5.0",
|
|
40
|
+
"eslint": "^8.17.0",
|
|
41
|
+
"tslib": "^2.1.0",
|
|
42
|
+
"vue": "^3.3.4"
|
|
43
|
+
},
|
|
44
|
+
"peerDependencies": {
|
|
45
|
+
"tslib": ">=2.1.0"
|
|
46
|
+
},
|
|
47
|
+
"gitHead": "bcfee61f63d0270e6f1bafd52f6740816a400ddc"
|
|
48
|
+
}
|