@itwin/map-layers 3.0.0-extension.0 → 3.1.0-dev.5
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 +82 -1
- package/README.md +1 -1
- package/lib/cjs/MapLayerPreferences.d.ts +89 -0
- package/lib/cjs/MapLayerPreferences.d.ts.map +1 -0
- package/lib/cjs/MapLayerPreferences.js +312 -0
- package/lib/cjs/MapLayerPreferences.js.map +1 -0
- package/lib/cjs/mapLayers.d.ts +18 -13
- package/lib/cjs/mapLayers.d.ts.map +1 -1
- package/lib/cjs/mapLayers.js +25 -17
- package/lib/cjs/mapLayers.js.map +1 -1
- package/lib/cjs/public/locales/en/mapLayers.json +5 -2
- package/lib/cjs/ui/MapLayersUiItemsProvider.js +1 -1
- package/lib/cjs/ui/MapLayersUiItemsProvider.js.map +1 -1
- package/lib/cjs/ui/widget/AttachLayerPopupButton.d.ts.map +1 -1
- package/lib/cjs/ui/widget/AttachLayerPopupButton.js +5 -3
- package/lib/cjs/ui/widget/AttachLayerPopupButton.js.map +1 -1
- package/lib/cjs/ui/widget/BasemapPanel.d.ts.map +1 -1
- package/lib/cjs/ui/widget/BasemapPanel.js +5 -4
- package/lib/cjs/ui/widget/BasemapPanel.js.map +1 -1
- package/lib/cjs/ui/widget/MapLayerManager.d.ts +2 -2
- package/lib/cjs/ui/widget/MapLayerManager.d.ts.map +1 -1
- package/lib/cjs/ui/widget/MapLayerManager.js +24 -10
- package/lib/cjs/ui/widget/MapLayerManager.js.map +1 -1
- package/lib/cjs/ui/widget/MapLayerManager.scss +0 -7
- package/lib/cjs/ui/widget/MapManagerSettings.d.ts.map +1 -1
- package/lib/cjs/ui/widget/MapManagerSettings.js +51 -22
- package/lib/cjs/ui/widget/MapManagerSettings.js.map +1 -1
- package/lib/cjs/ui/widget/MapManagerSettings.scss +1 -1
- package/lib/cjs/ui/widget/MapUrlDialog.d.ts.map +1 -1
- package/lib/cjs/ui/widget/MapUrlDialog.js +231 -161
- package/lib/cjs/ui/widget/MapUrlDialog.js.map +1 -1
- package/lib/cjs/ui/widget/SubLayersTree.d.ts.map +1 -1
- package/lib/cjs/ui/widget/SubLayersTree.js +1 -1
- package/lib/cjs/ui/widget/SubLayersTree.js.map +1 -1
- package/lib/cjs/ui/widget/TransparencyPopupButton.js +2 -2
- package/lib/cjs/ui/widget/TransparencyPopupButton.js.map +1 -1
- package/lib/esm/MapLayerPreferences.d.ts +89 -0
- package/lib/esm/MapLayerPreferences.d.ts.map +1 -0
- package/lib/esm/MapLayerPreferences.js +308 -0
- package/lib/esm/MapLayerPreferences.js.map +1 -0
- package/lib/esm/mapLayers.d.ts +18 -13
- package/lib/esm/mapLayers.d.ts.map +1 -1
- package/lib/esm/mapLayers.js +26 -18
- package/lib/esm/mapLayers.js.map +1 -1
- package/lib/esm/public/locales/en/mapLayers.json +5 -2
- package/lib/esm/ui/MapLayersUiItemsProvider.js +1 -1
- package/lib/esm/ui/MapLayersUiItemsProvider.js.map +1 -1
- package/lib/esm/ui/widget/AttachLayerPopupButton.d.ts.map +1 -1
- package/lib/esm/ui/widget/AttachLayerPopupButton.js +6 -4
- package/lib/esm/ui/widget/AttachLayerPopupButton.js.map +1 -1
- package/lib/esm/ui/widget/BasemapPanel.d.ts.map +1 -1
- package/lib/esm/ui/widget/BasemapPanel.js +6 -5
- package/lib/esm/ui/widget/BasemapPanel.js.map +1 -1
- package/lib/esm/ui/widget/MapLayerManager.d.ts +2 -2
- package/lib/esm/ui/widget/MapLayerManager.d.ts.map +1 -1
- package/lib/esm/ui/widget/MapLayerManager.js +21 -7
- package/lib/esm/ui/widget/MapLayerManager.js.map +1 -1
- package/lib/esm/ui/widget/MapLayerManager.scss +0 -7
- package/lib/esm/ui/widget/MapManagerSettings.d.ts.map +1 -1
- package/lib/esm/ui/widget/MapManagerSettings.js +53 -24
- package/lib/esm/ui/widget/MapManagerSettings.js.map +1 -1
- package/lib/esm/ui/widget/MapManagerSettings.scss +1 -1
- package/lib/esm/ui/widget/MapUrlDialog.d.ts.map +1 -1
- package/lib/esm/ui/widget/MapUrlDialog.js +233 -163
- package/lib/esm/ui/widget/MapUrlDialog.js.map +1 -1
- package/lib/esm/ui/widget/SubLayersTree.d.ts.map +1 -1
- package/lib/esm/ui/widget/SubLayersTree.js +1 -1
- package/lib/esm/ui/widget/SubLayersTree.js.map +1 -1
- package/lib/esm/ui/widget/TransparencyPopupButton.js +2 -2
- package/lib/esm/ui/widget/TransparencyPopupButton.js.map +1 -1
- package/lib/public/locales/en/mapLayers.json +5 -2
- package/package.json +34 -39
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itwin/map-layers",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1.0-dev.5",
|
|
4
4
|
"description": "Extension that adds a Map Layers Widget",
|
|
5
5
|
"main": "lib/cjs/map-layers.js",
|
|
6
6
|
"module": "lib/esm/map-layers.js",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"license": "MIT",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "https://github.com/
|
|
11
|
+
"url": "https://github.com/iTwin/itwinjs-core/tree/master/core/map-layers"
|
|
12
12
|
},
|
|
13
13
|
"keywords": [
|
|
14
14
|
"iModel",
|
|
@@ -21,34 +21,30 @@
|
|
|
21
21
|
"url": "http://www.bentley.com"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@itwin/
|
|
25
|
-
"@itwin/
|
|
26
|
-
"@itwin/
|
|
27
|
-
"@itwin/
|
|
28
|
-
"@itwin/
|
|
29
|
-
"@itwin/core-
|
|
30
|
-
"@itwin/core-
|
|
31
|
-
"@
|
|
32
|
-
"@itwin/
|
|
33
|
-
"@
|
|
34
|
-
"@itwin/
|
|
35
|
-
"@itwin/
|
|
36
|
-
"@itwin/
|
|
37
|
-
"@itwin/
|
|
38
|
-
"@itwin/
|
|
39
|
-
"@itwin/
|
|
40
|
-
"@itwin/itwinui-css": "^0.27.0",
|
|
41
|
-
"@itwin/itwinui-react": "^1.16.2",
|
|
24
|
+
"@itwin/appui-abstract": "3.1.0-dev.5",
|
|
25
|
+
"@itwin/appui-layout-react": "3.1.0-dev.5",
|
|
26
|
+
"@itwin/appui-react": "3.1.0-dev.5",
|
|
27
|
+
"@itwin/build-tools": "3.1.0-dev.5",
|
|
28
|
+
"@itwin/components-react": "3.1.0-dev.5",
|
|
29
|
+
"@itwin/core-bentley": "3.1.0-dev.5",
|
|
30
|
+
"@itwin/core-common": "3.1.0-dev.5",
|
|
31
|
+
"@itwin/core-frontend": "3.1.0-dev.5",
|
|
32
|
+
"@itwin/core-geometry": "3.1.0-dev.5",
|
|
33
|
+
"@itwin/core-quantity": "3.1.0-dev.5",
|
|
34
|
+
"@itwin/core-react": "3.1.0-dev.5",
|
|
35
|
+
"@itwin/eslint-plugin": "3.1.0-dev.5",
|
|
36
|
+
"@itwin/imodel-components-react": "3.1.0-dev.5",
|
|
37
|
+
"@itwin/itwinui-css": "^0.37.0",
|
|
38
|
+
"@itwin/itwinui-react": "~1.28.0",
|
|
39
|
+
"@itwin/presentation-common": "3.1.0-dev.5",
|
|
42
40
|
"@testing-library/react": "^12.0.0",
|
|
43
|
-
"@testing-library/react-hooks": "^
|
|
41
|
+
"@testing-library/react-hooks": "^7.0.2",
|
|
44
42
|
"@types/chai": "^4.1.4",
|
|
45
43
|
"@types/enzyme": "3.9.3",
|
|
46
44
|
"@types/mocha": "^8.2.2",
|
|
47
45
|
"@types/node": "14.14.31",
|
|
48
|
-
"@types/react": "^17.0.
|
|
46
|
+
"@types/react": "^17.0.37",
|
|
49
47
|
"@types/react-beautiful-dnd": "^12.1.2",
|
|
50
|
-
"@types/testing-library__react-hooks": "^3.1.0",
|
|
51
|
-
"@types/react-select": "3.0.26",
|
|
52
48
|
"@types/sinon": "^9.0.0",
|
|
53
49
|
"@types/sinon-chai": "^3.2.0",
|
|
54
50
|
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.3",
|
|
@@ -56,7 +52,7 @@
|
|
|
56
52
|
"chai-as-promised": "^7",
|
|
57
53
|
"chai-jest-snapshot": "^2.0.0",
|
|
58
54
|
"chai-spies": "1.0.0",
|
|
59
|
-
"
|
|
55
|
+
"cpx2": "^3.0.0",
|
|
60
56
|
"enzyme": "^3.4.0",
|
|
61
57
|
"enzyme-to-json": "^3.3.4",
|
|
62
58
|
"eslint": "^7.11.0",
|
|
@@ -74,22 +70,20 @@
|
|
|
74
70
|
"dependencies": {
|
|
75
71
|
"classnames": "^2.3.1",
|
|
76
72
|
"react-beautiful-dnd": "^13.0.0",
|
|
77
|
-
"react-select": "3.1.0",
|
|
78
73
|
"react-resize-detector": "^6.7.6"
|
|
79
74
|
},
|
|
80
75
|
"peerDependencies": {
|
|
81
|
-
"@itwin/core-bentley": "3.
|
|
82
|
-
"@itwin/core-geometry": "3.
|
|
83
|
-
"@itwin/core-common": "3.
|
|
84
|
-
"@itwin/core-frontend": "3.
|
|
85
|
-
"@itwin/core-quantity": "3.
|
|
86
|
-
"@
|
|
87
|
-
"@itwin/
|
|
88
|
-
"@itwin/
|
|
89
|
-
"@itwin/
|
|
90
|
-
"@itwin/
|
|
91
|
-
"@itwin/
|
|
92
|
-
"@itwin/appui-layout-react": "3.0.0-extension.0",
|
|
76
|
+
"@itwin/core-bentley": "3.1.0-dev.5",
|
|
77
|
+
"@itwin/core-geometry": "3.1.0-dev.5",
|
|
78
|
+
"@itwin/core-common": "3.1.0-dev.5",
|
|
79
|
+
"@itwin/core-frontend": "3.1.0-dev.5",
|
|
80
|
+
"@itwin/core-quantity": "3.1.0-dev.5",
|
|
81
|
+
"@itwin/appui-abstract": "3.1.0-dev.5",
|
|
82
|
+
"@itwin/components-react": "3.1.0-dev.5",
|
|
83
|
+
"@itwin/core-react": "3.1.0-dev.5",
|
|
84
|
+
"@itwin/appui-react": "3.1.0-dev.5",
|
|
85
|
+
"@itwin/imodel-components-react": "3.1.0-dev.5",
|
|
86
|
+
"@itwin/appui-layout-react": "3.1.0-dev.5",
|
|
93
87
|
"react": "^17.0.0",
|
|
94
88
|
"react-dom": "^17.0.0"
|
|
95
89
|
},
|
|
@@ -140,5 +134,6 @@
|
|
|
140
134
|
"lint": "eslint -f visualstudio \"./src/**/*.{ts,tsx}\" 1>&2",
|
|
141
135
|
"pseudolocalize": "betools pseudolocalize --englishDir=./src/public/locales/en --out=./src/public/locales/en-PSEUDO",
|
|
142
136
|
"test": "mocha \"./lib/cjs/test/**/*.test.js\""
|
|
143
|
-
}
|
|
137
|
+
},
|
|
138
|
+
"readme": "# MapLayers Extension/Package\r\n\r\nCopyright © Bentley Systems, Incorporated. All rights reserved. See LICENSE.md for license terms and full copyright notice.\r\n\r\nAn iTwin.js Extension that adds a widget for attaching and updating map attachments in a view:\r\n\r\nThis extension serves as an example of a extension that can be added to iTwin.js host applications.\r\nSee <http://itwinjs.org> for comprehensive documentation on the iTwin.js API and the various constructs used in this sample.\r\n\r\nThis package can also be installed into an application and the method MapLayersUI.initialized() called during the host IModelApps initialize processing.\r\n\r\n## Development Setup\r\n\r\n1. Select and prepare an iTwin.js host application. You can use the [ui-test-app] to host the extension, for example.\r\n2. The dependencies are installed as part of \"rush install\" in the iTwin.js repository.\r\n3. Build the extension as part of the \"rush build\" in the iTwin.js repository, or separately build using the npm build command.\r\n\r\n ```sh\r\n npm run build\r\n ```\r\n\r\n4. Start the host application - go to its directory and run:\r\n\r\n ```sh\r\n npm run start:servers\r\n ```\r\n\r\n5. Open a web browser (e.g., Chrome), and browse to http://localhost:3000.\r\n\r\n## Contributing\r\n\r\n[Contributing to iTwin.js](https://github.com/iTwin/itwinjs-core/blob/master/CONTRIBUTING.md)\r\n"
|
|
144
139
|
}
|