@itwin/hypermodeling-frontend 3.0.0-dev.72
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/CHANGELOG.md +714 -0
- package/LICENSE.md +9 -0
- package/README.md +40 -0
- package/lib/HyperModeling.d.ts +110 -0
- package/lib/HyperModeling.d.ts.map +1 -0
- package/lib/HyperModeling.js +225 -0
- package/lib/HyperModeling.js.map +1 -0
- package/lib/HyperModelingConfig.d.ts +55 -0
- package/lib/HyperModelingConfig.d.ts.map +1 -0
- package/lib/HyperModelingConfig.js +10 -0
- package/lib/HyperModelingConfig.js.map +1 -0
- package/lib/HyperModelingDecorator.d.ts +111 -0
- package/lib/HyperModelingDecorator.d.ts.map +1 -0
- package/lib/HyperModelingDecorator.js +338 -0
- package/lib/HyperModelingDecorator.js.map +1 -0
- package/lib/PopupToolbar.d.ts +25 -0
- package/lib/PopupToolbar.d.ts.map +1 -0
- package/lib/PopupToolbar.js +57 -0
- package/lib/PopupToolbar.js.map +1 -0
- package/lib/SectionDrawingLocationState.d.ts +91 -0
- package/lib/SectionDrawingLocationState.d.ts.map +1 -0
- package/lib/SectionDrawingLocationState.js +158 -0
- package/lib/SectionDrawingLocationState.js.map +1 -0
- package/lib/SectionGraphicsProvider.d.ts +14 -0
- package/lib/SectionGraphicsProvider.d.ts.map +1 -0
- package/lib/SectionGraphicsProvider.js +271 -0
- package/lib/SectionGraphicsProvider.js.map +1 -0
- package/lib/SectionMarkerHandler.d.ts +53 -0
- package/lib/SectionMarkerHandler.d.ts.map +1 -0
- package/lib/SectionMarkerHandler.js +113 -0
- package/lib/SectionMarkerHandler.js.map +1 -0
- package/lib/SectionMarkers.d.ts +83 -0
- package/lib/SectionMarkers.d.ts.map +1 -0
- package/lib/SectionMarkers.js +174 -0
- package/lib/SectionMarkers.js.map +1 -0
- package/lib/Tools.d.ts +7 -0
- package/lib/Tools.d.ts.map +1 -0
- package/lib/Tools.js +171 -0
- package/lib/Tools.js.map +1 -0
- package/lib/hypermodeling-frontend.d.ts +14 -0
- package/lib/hypermodeling-frontend.d.ts.map +1 -0
- package/lib/hypermodeling-frontend.js +30 -0
- package/lib/hypermodeling-frontend.js.map +1 -0
- package/lib/public/detail-marker.svg +1 -0
- package/lib/public/elevation-marker.svg +1 -0
- package/lib/public/locales/en/HyperModeling.json +32 -0
- package/lib/public/locales/en-PSEUDO/HyperModeling.json +32 -0
- package/lib/public/plan-marker.svg +1 -0
- package/lib/public/section-marker.svg +1 -0
- package/package.json +78 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export * from "./HyperModeling";
|
|
2
|
+
export * from "./HyperModelingConfig";
|
|
3
|
+
export * from "./HyperModelingDecorator";
|
|
4
|
+
export * from "./SectionMarkerHandler";
|
|
5
|
+
export * from "./SectionDrawingLocationState";
|
|
6
|
+
export * from "./SectionGraphicsProvider";
|
|
7
|
+
export * from "./SectionMarkers";
|
|
8
|
+
/** @docs-package-description
|
|
9
|
+
* The hypermodeling package enables visualization of section drawings in a spatial context.
|
|
10
|
+
*/
|
|
11
|
+
/** @docs-group-description HyperModeling
|
|
12
|
+
* APIs for controlling visualization of section drawings in a spatial context.
|
|
13
|
+
*/
|
|
14
|
+
//# sourceMappingURL=hypermodeling-frontend.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hypermodeling-frontend.d.ts","sourceRoot":"","sources":["../src/hypermodeling-frontend.ts"],"names":[],"mappings":"AAIA,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kBAAkB,CAAC;AAEjC;;GAEG;AAEH;;GAEG"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
/*---------------------------------------------------------------------------------------------
|
|
14
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
15
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
16
|
+
*--------------------------------------------------------------------------------------------*/
|
|
17
|
+
__exportStar(require("./HyperModeling"), exports);
|
|
18
|
+
__exportStar(require("./HyperModelingConfig"), exports);
|
|
19
|
+
__exportStar(require("./HyperModelingDecorator"), exports);
|
|
20
|
+
__exportStar(require("./SectionMarkerHandler"), exports);
|
|
21
|
+
__exportStar(require("./SectionDrawingLocationState"), exports);
|
|
22
|
+
__exportStar(require("./SectionGraphicsProvider"), exports);
|
|
23
|
+
__exportStar(require("./SectionMarkers"), exports);
|
|
24
|
+
/** @docs-package-description
|
|
25
|
+
* The hypermodeling package enables visualization of section drawings in a spatial context.
|
|
26
|
+
*/
|
|
27
|
+
/** @docs-group-description HyperModeling
|
|
28
|
+
* APIs for controlling visualization of section drawings in a spatial context.
|
|
29
|
+
*/
|
|
30
|
+
//# sourceMappingURL=hypermodeling-frontend.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hypermodeling-frontend.js","sourceRoot":"","sources":["../src/hypermodeling-frontend.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;+FAG+F;AAC/F,kDAAgC;AAChC,wDAAsC;AACtC,2DAAyC;AACzC,yDAAuC;AACvC,gEAA8C;AAC9C,4DAA0C;AAC1C,mDAAiC;AAEjC;;GAEG;AAEH;;GAEG","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\nexport * from \"./HyperModeling\";\r\nexport * from \"./HyperModelingConfig\";\r\nexport * from \"./HyperModelingDecorator\";\r\nexport * from \"./SectionMarkerHandler\";\r\nexport * from \"./SectionDrawingLocationState\";\r\nexport * from \"./SectionGraphicsProvider\";\r\nexport * from \"./SectionMarkers\";\r\n\r\n/** @docs-package-description\r\n * The hypermodeling package enables visualization of section drawings in a spatial context.\r\n */\r\n\r\n/** @docs-group-description HyperModeling\r\n * APIs for controlling visualization of section drawings in a spatial context.\r\n */\r\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg id="Calque_1" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><defs><style>.cls-1{fill:#677481;}.cls-2{fill:#fff;}</style></defs><title>Detail - Unselected</title><circle class="cls-1" cx="14" cy="14" r="13"/><path class="cls-2" d="M14,2A12,12,0,1,1,2,14,12.01359,12.01359,0,0,1,14,2m0-2A14,14,0,1,0,28,14,14,14,0,0,0,14,0Z"/><path class="cls-2" d="M17.05,15.7a6.06179,6.06179,0,0,0,1.1-3.5,6.051,6.051,0,1,0-12.1-.1,6.10435,6.10435,0,0,0,9.6,5l4.9,4.9,1.4-1.4-4.9-4.9m-5,.5a4.1,4.1,0,1,1,4.1-4.1,4.05523,4.05523,0,0,1-4.1,4.1"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg id="Calque_1" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><defs><style>.cls-1{fill:#677481;}.cls-2{fill:#fff;}</style></defs><title>Elevation - Unselected</title><circle class="cls-1" cx="14" cy="14" r="13"/><path class="cls-2" d="M14,2A12,12,0,1,1,2,14,12.01359,12.01359,0,0,1,14,2m0-2A14,14,0,1,0,28,14,14,14,0,0,0,14,0Z"/><polygon class="cls-2" points="24.911 15.714 19.9 14.673 22 13 14 14 17 18 19.069 15.658 24.08 16.698 24.911 15.714"/><path class="cls-2" d="M17,12.44V8.43L11.5,6.07,6,8.43V18.64L11.5,21l4.54-1.93424-.61-.81006L12,19.65V11l4-1.72v3.28ZM11.5,10,7.57,8.43,11.5,6.86l3.93,1.57Z"/></svg>
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tools": {
|
|
3
|
+
"HyperModeling": {
|
|
4
|
+
"keyin": "hypermodeling",
|
|
5
|
+
"Graphics": {
|
|
6
|
+
"Config": {
|
|
7
|
+
"keyin": "hypermodeling graphics config"
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
"Marker": {
|
|
11
|
+
"Config": {
|
|
12
|
+
"keyin": "hypermodeling marker config"
|
|
13
|
+
},
|
|
14
|
+
"Default": {
|
|
15
|
+
"Config": {
|
|
16
|
+
"keyin": "hypermodeling marker default config"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"Message": {
|
|
23
|
+
"SectionCallout": "Section Callout",
|
|
24
|
+
"DetailCallout": "Detail Callout",
|
|
25
|
+
"ElevationCallout": "Elevation Callout",
|
|
26
|
+
"PlanCallout": "Plan Callout",
|
|
27
|
+
"ApplySection": "Apply Section",
|
|
28
|
+
"OpenSection": "Open Section View",
|
|
29
|
+
"OpenSheet": "Open Sheet View",
|
|
30
|
+
"ApplyView": "Apply Spatial View"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tools": {
|
|
3
|
+
"HyperModeling": {
|
|
4
|
+
"keyin": "hýpérmôdëlìñg",
|
|
5
|
+
"Graphics": {
|
|
6
|
+
"Config": {
|
|
7
|
+
"keyin": "hýpérmôdëlìñg gràphï¢s çöñfìg"
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
"Marker": {
|
|
11
|
+
"Config": {
|
|
12
|
+
"keyin": "hýpérmôdëlìñg màrkër ¢õñfïg"
|
|
13
|
+
},
|
|
14
|
+
"Default": {
|
|
15
|
+
"Config": {
|
|
16
|
+
"keyin": "hýpérmôdëlìñg màrkër dèfãµlt çòñfîg"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"Message": {
|
|
23
|
+
"SectionCallout": "$é¢tïöñ Çállôüt",
|
|
24
|
+
"DetailCallout": "Ðétâïl Çållòút",
|
|
25
|
+
"ElevationCallout": "Èlévâtïöñ Çállôüt",
|
|
26
|
+
"PlanCallout": "Plàñ Çãllöµt",
|
|
27
|
+
"ApplySection": "Àpplÿ $ë¢tíòñ",
|
|
28
|
+
"OpenSection": "Òpéñ §èçtîóñ Víêw",
|
|
29
|
+
"OpenSheet": "Òpéñ §hèét Vîëw",
|
|
30
|
+
"ApplyView": "Àpplÿ $pãtìål Vîëw"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg id="Calque_1" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><defs><style>.cls-1{fill:#677481;}.cls-2{fill:#fff;}</style></defs><title>Plan - Unselected</title><circle class="cls-1" cx="14" cy="14" r="13"/><path class="cls-2" d="M14,2A12,12,0,1,1,2,14,12.01359,12.01359,0,0,1,14,2m0-2A14,14,0,1,0,28,14,14,14,0,0,0,14,0Z"/><polygon class="cls-2" points="13 4 13 14 8 13 14 20 20 13 15 14 15 4 13 4"/><rect class="cls-2" x="7" y="21" width="14" height="1"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg id="Calque_1" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><defs><style>.cls-1{fill:#677481;}.cls-2{fill:#fff;}</style></defs><title>Section - Unselected</title><circle class="cls-1" cx="14" cy="14" r="13"/><path class="cls-2" d="M14,2A12,12,0,1,1,2,14,12.01359,12.01359,0,0,1,14,2m0-2A14,14,0,1,0,28,14,14,14,0,0,0,14,0Z"/><path class="cls-2" d="M11.497,6.04338c-.23879.02434-.47635.06005-.70143.106,2.34624.13988,4.50058,3.35511,4.9236,7.50507s-1.03824,7.73374-3.308,8.34416c.22973-.00042.46961-.01337.7084-.03772A8,8,0,1,0,11.497,6.04338Z"/><path class="cls-2" d="M14.05614,13.824c-.32544-3.19259-1.95132-5.417-3.27006-5.48662-.06733.00686-.13563.0041-.20295.011a1.60162,1.60162,0,0,0-.472.13558c-1.11181.53112-2.14332,2.803-1.82474,5.92822s1.78726,5.14224,3.01322,5.44479a1.54569,1.54569,0,0,0,.45978.03088A1.7335,1.7335,0,0,0,11.969,19.847C13.238,19.52332,14.38158,17.01656,14.05614,13.824Z"/></svg>
|
package/package.json
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@itwin/hypermodeling-frontend",
|
|
3
|
+
"version": "3.0.0-dev.72",
|
|
4
|
+
"description": "iModel.js hypermodeling package",
|
|
5
|
+
"main": "lib/hypermodeling-frontend.js",
|
|
6
|
+
"typings": "lib/hypermodeling-frontend",
|
|
7
|
+
"imodeljsSharedLibrary": true,
|
|
8
|
+
"license": "MIT",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "https://github.com/imodeljs/imodeljs/tree/master/core/hypermodeling-frontend"
|
|
12
|
+
},
|
|
13
|
+
"keywords": [
|
|
14
|
+
"Bentley",
|
|
15
|
+
"iModel",
|
|
16
|
+
"BIM",
|
|
17
|
+
"HyperModeling"
|
|
18
|
+
],
|
|
19
|
+
"author": {
|
|
20
|
+
"name": "Bentley Systems, Inc.",
|
|
21
|
+
"url": "http://www.bentley.com"
|
|
22
|
+
},
|
|
23
|
+
"peerDependencies": {
|
|
24
|
+
"@itwin/core-bentley": "^3.0.0-dev.72",
|
|
25
|
+
"@itwin/core-geometry": "^3.0.0-dev.72",
|
|
26
|
+
"@itwin/core-common": "^3.0.0-dev.72",
|
|
27
|
+
"@itwin/core-frontend": "^3.0.0-dev.72",
|
|
28
|
+
"@itwin/core-i18n": "^3.0.0-dev.72",
|
|
29
|
+
"@itwin/appui-abstract": "^3.0.0-dev.72"
|
|
30
|
+
},
|
|
31
|
+
"devDependencies": {
|
|
32
|
+
"@itwin/core-bentley": "3.0.0-dev.72",
|
|
33
|
+
"@itwin/build-tools": "3.0.0-dev.72",
|
|
34
|
+
"@itwin/certa": "3.0.0-dev.72",
|
|
35
|
+
"@itwin/eslint-plugin": "3.0.0-dev.72",
|
|
36
|
+
"@itwin/core-geometry": "3.0.0-dev.72",
|
|
37
|
+
"@itwin/core-common": "3.0.0-dev.72",
|
|
38
|
+
"@itwin/core-frontend": "3.0.0-dev.72",
|
|
39
|
+
"@itwin/core-i18n": "3.0.0-dev.72",
|
|
40
|
+
"@itwin/appui-abstract": "3.0.0-dev.72",
|
|
41
|
+
"@types/chai": "^4.1.4",
|
|
42
|
+
"@types/mocha": "^8.2.2",
|
|
43
|
+
"@types/node": "14.14.31",
|
|
44
|
+
"chai": "^4.1.2",
|
|
45
|
+
"cpx": "^1.5.0",
|
|
46
|
+
"eslint": "^7.11.0",
|
|
47
|
+
"glob": "^7.1.2",
|
|
48
|
+
"mocha": "^8.3.2",
|
|
49
|
+
"nyc": "^15.1.0",
|
|
50
|
+
"rimraf": "^3.0.2",
|
|
51
|
+
"source-map-loader": "^1.0.0",
|
|
52
|
+
"typescript": "~4.4.0",
|
|
53
|
+
"webpack": "4.42.0"
|
|
54
|
+
},
|
|
55
|
+
"nyc": {
|
|
56
|
+
"extends": "./node_modules/@itwin/build-tools/.nycrc"
|
|
57
|
+
},
|
|
58
|
+
"eslintConfig": {
|
|
59
|
+
"plugins": [
|
|
60
|
+
"@itwin"
|
|
61
|
+
],
|
|
62
|
+
"extends": "plugin:@itwin/itwinjs-recommended"
|
|
63
|
+
},
|
|
64
|
+
"scripts": {
|
|
65
|
+
"compile": "npm run build",
|
|
66
|
+
"build": "npm run copy:assets && npm run pseudolocalize && tsc 1>&2",
|
|
67
|
+
"clean": "rimraf lib .rush/temp/package-deps*.json",
|
|
68
|
+
"copy:assets": "cpx \"./src/public/**/*\" ./lib/public",
|
|
69
|
+
"cover": "npm test -- --cover",
|
|
70
|
+
"docs": "betools docs --includes=../../generated-docs/extract --json=../../generated-docs/core/hypermodeling-frontend/file.json --tsIndexFile=./hypermodeling-frontend.ts --onlyJson",
|
|
71
|
+
"extract-api": "betools extract-api --entry=hypermodeling-frontend",
|
|
72
|
+
"lint": "eslint -f visualstudio \"./src/**/*.ts\" 1>&2",
|
|
73
|
+
"pseudolocalize": "betools pseudolocalize --englishDir ./src/public/locales/en --out ./lib/public/locales/en-PSEUDO",
|
|
74
|
+
"test": "npm run webpackTests && certa -r chrome",
|
|
75
|
+
"test:debug": "certa -r chrome --debug",
|
|
76
|
+
"webpackTests": "webpack --config ./src/test/utils/webpack.config.js 1>&2"
|
|
77
|
+
}
|
|
78
|
+
}
|