Add custom widgets
1
1.12/widgets/basic-ui/config.json
Normal file
|
@ -0,0 +1 @@
|
|||
{}
|
1
1.12/widgets/basic-ui/dist/runtime/widget.js
vendored
Normal file
1
1.12/widgets/basic-ui/dist/setting/setting.js
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
System.register(["jimu-core","jimu-ui/advanced/setting-components"],(function(e,t){var r={},n={};return{setters:[function(e){r.React=e.React},function(e){n.MapWidgetSelector=e.MapWidgetSelector}],execute:function(){e((()=>{var e={891:e=>{"use strict";e.exports=r},756:e=>{"use strict";e.exports=n}},t={};function o(r){var n=t[r];if(void 0!==n)return n.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,o),i.exports}o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.p="";var i={};return o.p=window.jimuConfig.baseUrl,(()=>{"use strict";o.r(i),o.d(i,{__set_webpack_public_path__:()=>n,default:()=>r});var e=o(891),t=o(756);function r(r){return e.React.createElement("div",{className:"widget-setting-controller-widget"},e.React.createElement("p",null,"Please select a map:"),e.React.createElement(t.MapWidgetSelector,{useMapWidgetIds:r.useMapWidgetIds,onSelect:e=>{r.onSettingChange({id:r.id,useMapWidgetIds:e})}}))}function n(e){o.p=e}})(),i})())}}}));
|
28
1.12/widgets/basic-ui/icon.svg
Normal file
|
@ -0,0 +1,28 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
||||
<svg version="1.1" id="_x32_" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
viewBox="0 0 512 512" xml:space="preserve">
|
||||
<style type="text/css">
|
||||
.st0{fill:#fff;}
|
||||
</style>
|
||||
<g>
|
||||
<path class="st0" d="M432.844,180.536H304.11V152.01h-32.552V60.964c10.086-5.536,16.994-16.117,16.994-28.422
|
||||
C288.552,14.57,273.963,0,255.99,0c-17.981,0-32.542,14.57-32.542,32.543c0,12.305,6.907,22.903,16.975,28.422v91.046H207.9v28.525
|
||||
H79.165c-26.958,0.01-48.818,21.832-48.827,48.809v233.819c0.01,26.978,21.859,48.827,48.827,48.837h353.679
|
||||
c26.958-0.01,48.809-21.859,48.818-48.837V229.344C481.653,202.367,459.792,180.545,432.844,180.536z M453.026,463.163
|
||||
c-0.019,11.159-9.052,20.182-20.182,20.2H79.165c-11.14-0.018-20.172-9.042-20.19-20.2V229.344
|
||||
c0.019-11.13,9.042-20.153,20.19-20.172h353.679c11.14,0.019,20.163,9.033,20.182,20.172V463.163z"/>
|
||||
<path class="st0" d="M168.589,239.17c-32.188,0-58.289,26.082-58.289,58.27c0,32.179,26.1,58.279,58.289,58.279
|
||||
c32.169,0,58.261-26.1,58.261-58.279C226.85,265.252,200.758,239.17,168.589,239.17z M168.589,316.774
|
||||
c-10.682,0-19.343-8.661-19.343-19.334c0-10.664,8.66-19.324,19.343-19.324c10.664,0,19.306,8.66,19.306,19.324
|
||||
C187.895,308.113,179.254,316.774,168.589,316.774z"/>
|
||||
<path class="st0" d="M401.7,297.44c0-32.188-26.092-58.27-58.28-58.27c-32.179,0-58.279,26.082-58.279,58.27
|
||||
c0,32.179,26.1,58.279,58.279,58.279C375.608,355.72,401.7,329.619,401.7,297.44z M380.912,300.377c0,3.84-3.123,6.973-6.973,6.973
|
||||
h-18.438v18.438c0,3.859-3.133,6.982-6.973,6.982h-7.384c-3.858,0-6.972-3.123-6.972-6.982V307.35h-18.43
|
||||
c-3.85,0-6.973-3.133-6.973-6.973v-7.374c0-3.84,3.123-6.972,6.973-6.972h18.43v-18.439c0-3.84,3.114-6.972,6.972-6.972h7.384
|
||||
c3.84,0,6.973,3.132,6.973,6.972v18.439h18.438c3.85,0,6.973,3.132,6.973,6.972V300.377z"/>
|
||||
<rect x="358.68" y="408.668" class="st0" width="43.03" height="43.03"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 2.1 KiB |
20
1.12/widgets/basic-ui/manifest.json
Normal file
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"name": "basic-ui",
|
||||
"label": "Basic UI",
|
||||
"type": "widget",
|
||||
"version": "1.0.0",
|
||||
"exbVersion": "1.12.0",
|
||||
"dependency": "jimu-arcgis",
|
||||
"author": "Thomas Fuhrmann",
|
||||
"description": "A widget that controls basic functionality of the interface.",
|
||||
"copyright": "GeoSphere Austria",
|
||||
"license": "http://www.apache.org/licenses/LICENSE-2.0",
|
||||
"properties": {},
|
||||
"translatedLocales": [
|
||||
"en"
|
||||
],
|
||||
"defaultSize": {
|
||||
"width": 100,
|
||||
"height": 100
|
||||
}
|
||||
}
|
1
1.12/widgets/print-widget/config.json
Normal file
|
@ -0,0 +1 @@
|
|||
{}
|
9
1.12/widgets/print-widget/dist/runtime/assets/icon.svg
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
<!-- Generated by IcoMoon.io -->
|
||||
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
|
||||
<title>cluster</title>
|
||||
<path d="M10 4h-4c-1.1 0-2 0.9-2 2v4c0 1.1 0.9 2 2 2h4c1.1 0 2-0.9 2-2v-4c0-1.1-0.9-2-2-2z"></path>
|
||||
<path d="M22 12h4c1.1 0 2-0.9 2-2v-4c0-1.1-0.9-2-2-2h-4c-1.1 0-2 0.9-2 2v4c0 1.1 0.9 2 2 2zM22 6h4v4h-4v-4z"></path>
|
||||
<path d="M10 20h-4c-1.1 0-2 0.9-2 2v4c0 1.1 0.9 2 2 2h4c1.1 0 2-0.9 2-2v-4c0-1.1-0.9-2-2-2zM10 26h-4v-4h4v4z"></path>
|
||||
<path d="M26 20h-4c-1.1 0-2 0.9-2 2v4c0 1.1 0.9 2 2 2h4c1.1 0 2-0.9 2-2v-4c0-1.1-0.9-2-2-2z"></path>
|
||||
<path d="M28 16h-2c-2.671 0-5.182-1.040-7.071-2.929s-2.929-4.4-2.929-7.071v-2c0-2.2-1.8-4-4-4h-8c-2.2 0-4 1.8-4 4v8c0 2.2 1.8 4 4 4h2c2.671 0 5.182 1.040 7.071 2.929s2.929 4.4 2.929 7.071v2c0 2.2 1.8 4 4 4h8c2.2 0 4-1.8 4-4v-8c0-2.2-1.8-4-4-4zM30 28c0 0.53-0.209 1.031-0.589 1.411s-0.881 0.589-1.411 0.589h-8c-0.53 0-1.031-0.209-1.411-0.589s-0.589-0.881-0.589-1.411v-2c0-6.627-5.373-12-12-12h-2c-0.53 0-1.031-0.209-1.411-0.589s-0.589-0.881-0.589-1.411v-8c0-0.53 0.209-1.031 0.589-1.411s0.881-0.589 1.411-0.589h8c0.53 0 1.031 0.209 1.411 0.589s0.589 0.881 0.589 1.411v2c0 6.627 5.373 12 12 12h2c0.53 0 1.031 0.209 1.411 0.589s0.589 0.881 0.589 1.411v8z"></path>
|
||||
</svg>
|
After Width: | Height: | Size: 1.2 KiB |
17
1.12/widgets/print-widget/dist/runtime/translations/default.ts
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
export default {
|
||||
_widgetLabel: 'Print',
|
||||
heading: 'PDF drucken',
|
||||
titleLabel: 'Titel',
|
||||
scaleLabel: 'Maßstab',
|
||||
formatLabel: 'Format',
|
||||
'A4 Hochformat': 'A4 Hochformat',
|
||||
'A4 Hochformat mit Legende': 'A4 Hochformat mit Legende',
|
||||
'A4 Querformat': 'A4 Querformat',
|
||||
'A4 Querformat mit Legende': 'A4 Querformat mit Legende',
|
||||
'A3 Hochformat': 'A3 Hochformat',
|
||||
'A3 Hochformat mit Legende': 'A3 Hochformat mit Legende',
|
||||
'A3 Querformat': 'A3 Querformat',
|
||||
'A3 Querformat mit Legende': 'A3 Querformat mit Legende',
|
||||
buttonPrint: 'Drucken',
|
||||
buttonCancel: 'Abbrechen',
|
||||
};
|
1
1.12/widgets/print-widget/dist/runtime/translations/en.js
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
System.register([],(function(e){return{execute:function(){e({_widgetLabel:"Print",heading:"Print PDF",titleLabel:"Title",scaleLabel:"Scale",formatLabel:"Format","A4 Hochformat":"A4 portrait","A4 Hochformat mit Legende":"A4 portrait with legend","A4 Querformat":"A4 landscape","A4 Querformat mit Legende":"A4 landscape with legend","A3 Hochformat":"A3 portrait","A3 Hochformat mit Legende":"A3 portrait with legend","A3 Querformat":"A3 landscape","A3 Querformat mit Legende":"A3 landscape with legend",buttonPrint:"Print",buttonCancel:"Cancel"})}}}));
|
1
1.12/widgets/print-widget/dist/runtime/widget.js
vendored
Normal file
1
1.12/widgets/print-widget/dist/setting/setting.js
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
System.register(["jimu-core","jimu-ui/advanced/setting-components"],(function(e,t){var r={},n={};return{setters:[function(e){r.React=e.React},function(e){n.MapWidgetSelector=e.MapWidgetSelector}],execute:function(){e((()=>{var e={891:e=>{"use strict";e.exports=r},756:e=>{"use strict";e.exports=n}},t={};function i(r){var n=t[r];if(void 0!==n)return n.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,i),o.exports}i.d=(e,t)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.p="";var o={};return i.p=window.jimuConfig.baseUrl,(()=>{"use strict";i.r(o),i.d(o,{__set_webpack_public_path__:()=>n,default:()=>r});var e=i(891),t=i(756);function r(r){return e.React.createElement("div",{className:"widget-setting-print"},e.React.createElement("p",null,"Please select a map widget:"),e.React.createElement(t.MapWidgetSelector,{useMapWidgetIds:r.useMapWidgetIds,onSelect:e=>{r.onSettingChange({id:r.id,useMapWidgetIds:e})}}))}function n(e){i.p=e}})(),o})())}}}));
|
1
1.12/widgets/print-widget/dist/setting/translations/default.ts
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
export default {};
|
1
1.12/widgets/print-widget/dist/setting/translations/en.js
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
System.register([],(function(e){return{execute:function(){e({})}}}));
|
6
1.12/widgets/print-widget/icon.svg
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
||||
<svg fill="#000000" width="800px" height="800px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg">
|
||||
<title>print</title>
|
||||
<path d="M30 14.25h-3.25v-8.25c0-0 0-0.001 0-0.001 0-0.206-0.084-0.393-0.219-0.529v0l-4-4c-0.136-0.136-0.324-0.22-0.531-0.22-0 0-0 0-0 0h-17c-0.414 0-0.75 0.336-0.75 0.75v0 12.25h-2.25c-0.414 0-0.75 0.336-0.75 0.75v0 9c0 0.414 0.336 0.75 0.75 0.75s0.75-0.336 0.75-0.75v0-8.25h26.5v8.25c0 0.414 0.336 0.75 0.75 0.75s0.75-0.336 0.75-0.75v0-9c-0-0.414-0.336-0.75-0.75-0.75v0zM5.75 2.75h15.939l3.561 3.561v7.939h-19.5zM26 21.25h-20c-0.414 0-0.75 0.336-0.75 0.75v0 8c0 0.414 0.336 0.75 0.75 0.75h20c0.414-0 0.75-0.336 0.75-0.75v0-8c-0-0.414-0.336-0.75-0.75-0.75v0zM25.25 29.25h-18.5v-6.5h18.5zM26.279 19.199c0.178-0.099 0.322-0.242 0.417-0.415l0.003-0.005c0.027-0.067 0.043-0.145 0.043-0.227 0-0.018-0.001-0.037-0.002-0.054l0 0.002c-0.004-0.21-0.087-0.399-0.221-0.54l0 0c-0.142-0.122-0.327-0.196-0.53-0.196s-0.389 0.074-0.531 0.196l0.001-0.001c-0.122 0.145-0.197 0.334-0.199 0.54v0c-0.001 0.011-0.001 0.024-0.001 0.037 0 0.189 0.077 0.359 0.2 0.483v0c0.132 0.136 0.317 0.221 0.521 0.221 0.007 0 0.014-0 0.021-0l-0.001 0c0.016 0.001 0.034 0.002 0.052 0.002 0.082 0 0.16-0.016 0.231-0.045l-0.004 0.001z"></path>
|
||||
</svg>
|
After Width: | Height: | Size: 1.3 KiB |
21
1.12/widgets/print-widget/manifest.json
Normal file
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"name": "print-widget",
|
||||
"label": "Print",
|
||||
"type": "widget",
|
||||
"version": "1.0.0",
|
||||
"exbVersion": "1.12.0",
|
||||
"dependency": "jimu-arcgis",
|
||||
"author": "Thomas Fuhrmann",
|
||||
"description": "A widget that adds print functionality to a map.",
|
||||
"copyright": "GeoSphere Austria",
|
||||
"license": "http://www.apache.org/licenses/LICENSE-2.0",
|
||||
"properties": {},
|
||||
"translatedLocales": [
|
||||
"de",
|
||||
"en"
|
||||
],
|
||||
"defaultSize": {
|
||||
"width": 300,
|
||||
"height": 500
|
||||
}
|
||||
}
|
1
1.12/widgets/search-widget/config.json
Normal file
|
@ -0,0 +1 @@
|
|||
{}
|
9
1.12/widgets/search-widget/dist/runtime/assets/icon.svg
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
<!-- Generated by IcoMoon.io -->
|
||||
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
|
||||
<title>cluster</title>
|
||||
<path d="M10 4h-4c-1.1 0-2 0.9-2 2v4c0 1.1 0.9 2 2 2h4c1.1 0 2-0.9 2-2v-4c0-1.1-0.9-2-2-2z"></path>
|
||||
<path d="M22 12h4c1.1 0 2-0.9 2-2v-4c0-1.1-0.9-2-2-2h-4c-1.1 0-2 0.9-2 2v4c0 1.1 0.9 2 2 2zM22 6h4v4h-4v-4z"></path>
|
||||
<path d="M10 20h-4c-1.1 0-2 0.9-2 2v4c0 1.1 0.9 2 2 2h4c1.1 0 2-0.9 2-2v-4c0-1.1-0.9-2-2-2zM10 26h-4v-4h4v4z"></path>
|
||||
<path d="M26 20h-4c-1.1 0-2 0.9-2 2v4c0 1.1 0.9 2 2 2h4c1.1 0 2-0.9 2-2v-4c0-1.1-0.9-2-2-2z"></path>
|
||||
<path d="M28 16h-2c-2.671 0-5.182-1.040-7.071-2.929s-2.929-4.4-2.929-7.071v-2c0-2.2-1.8-4-4-4h-8c-2.2 0-4 1.8-4 4v8c0 2.2 1.8 4 4 4h2c2.671 0 5.182 1.040 7.071 2.929s2.929 4.4 2.929 7.071v2c0 2.2 1.8 4 4 4h8c2.2 0 4-1.8 4-4v-8c0-2.2-1.8-4-4-4zM30 28c0 0.53-0.209 1.031-0.589 1.411s-0.881 0.589-1.411 0.589h-8c-0.53 0-1.031-0.209-1.411-0.589s-0.589-0.881-0.589-1.411v-2c0-6.627-5.373-12-12-12h-2c-0.53 0-1.031-0.209-1.411-0.589s-0.589-0.881-0.589-1.411v-8c0-0.53 0.209-1.031 0.589-1.411s0.881-0.589 1.411-0.589h8c0.53 0 1.031 0.209 1.411 0.589s0.589 0.881 0.589 1.411v2c0 6.627 5.373 12 12 12h2c0.53 0 1.031 0.209 1.411 0.589s0.589 0.881 0.589 1.411v8z"></path>
|
||||
</svg>
|
After Width: | Height: | Size: 1.2 KiB |
5
1.12/widgets/search-widget/dist/runtime/translations/default.ts
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
export default {
|
||||
_widgetLabel: 'Suchen',
|
||||
sketchLabel: 'Suchen',
|
||||
placeholderText: 'Orts- oder Adresssuche',
|
||||
};
|
1
1.12/widgets/search-widget/dist/runtime/translations/en.js
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
System.register([],(function(e){return{execute:function(){e({_widgetLabel:"Search",sketchLabel:"Search",placeholderText:"Search for place or address"})}}}));
|
1
1.12/widgets/search-widget/dist/runtime/widget.js
vendored
Normal file
1
1.12/widgets/search-widget/dist/setting/setting.js
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
System.register(["jimu-core","jimu-ui/advanced/setting-components"],(function(e,t){var r={},n={};return{setters:[function(e){r.React=e.React},function(e){n.MapWidgetSelector=e.MapWidgetSelector}],execute:function(){e((()=>{var e={891:e=>{"use strict";e.exports=r},756:e=>{"use strict";e.exports=n}},t={};function o(r){var n=t[r];if(void 0!==n)return n.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,o),i.exports}o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.p="";var i={};return o.p=window.jimuConfig.baseUrl,(()=>{"use strict";o.r(i),o.d(i,{__set_webpack_public_path__:()=>n,default:()=>r});var e=o(891),t=o(756);function r(r){return e.React.createElement("div",{className:"widget-setting-print"},e.React.createElement("p",null,"Please select a map:"),e.React.createElement(t.MapWidgetSelector,{useMapWidgetIds:r.useMapWidgetIds,onSelect:e=>{r.onSettingChange({id:r.id,useMapWidgetIds:e})}}))}function n(e){o.p=e}})(),i})())}}}));
|
3
1.12/widgets/search-widget/dist/setting/translations/default.ts
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
export default {
|
||||
selectMapWidget: "Select map:",
|
||||
};
|
6
1.12/widgets/search-widget/icon.svg
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
||||
<svg fill="#000000" width="800px" height="800px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg">
|
||||
<title>print</title>
|
||||
<path d="M30 14.25h-3.25v-8.25c0-0 0-0.001 0-0.001 0-0.206-0.084-0.393-0.219-0.529v0l-4-4c-0.136-0.136-0.324-0.22-0.531-0.22-0 0-0 0-0 0h-17c-0.414 0-0.75 0.336-0.75 0.75v0 12.25h-2.25c-0.414 0-0.75 0.336-0.75 0.75v0 9c0 0.414 0.336 0.75 0.75 0.75s0.75-0.336 0.75-0.75v0-8.25h26.5v8.25c0 0.414 0.336 0.75 0.75 0.75s0.75-0.336 0.75-0.75v0-9c-0-0.414-0.336-0.75-0.75-0.75v0zM5.75 2.75h15.939l3.561 3.561v7.939h-19.5zM26 21.25h-20c-0.414 0-0.75 0.336-0.75 0.75v0 8c0 0.414 0.336 0.75 0.75 0.75h20c0.414-0 0.75-0.336 0.75-0.75v0-8c-0-0.414-0.336-0.75-0.75-0.75v0zM25.25 29.25h-18.5v-6.5h18.5zM26.279 19.199c0.178-0.099 0.322-0.242 0.417-0.415l0.003-0.005c0.027-0.067 0.043-0.145 0.043-0.227 0-0.018-0.001-0.037-0.002-0.054l0 0.002c-0.004-0.21-0.087-0.399-0.221-0.54l0 0c-0.142-0.122-0.327-0.196-0.53-0.196s-0.389 0.074-0.531 0.196l0.001-0.001c-0.122 0.145-0.197 0.334-0.199 0.54v0c-0.001 0.011-0.001 0.024-0.001 0.037 0 0.189 0.077 0.359 0.2 0.483v0c0.132 0.136 0.317 0.221 0.521 0.221 0.007 0 0.014-0 0.021-0l-0.001 0c0.016 0.001 0.034 0.002 0.052 0.002 0.082 0 0.16-0.016 0.231-0.045l-0.004 0.001z"></path>
|
||||
</svg>
|
After Width: | Height: | Size: 1.3 KiB |
21
1.12/widgets/search-widget/manifest.json
Normal file
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"name": "search-widget",
|
||||
"label": "Search",
|
||||
"type": "widget",
|
||||
"version": "1.0.0",
|
||||
"exbVersion": "1.12.0",
|
||||
"dependency": "jimu-arcgis",
|
||||
"author": "Thomas Fuhrmann",
|
||||
"description": "A widget that adds custom search functionality to a map.",
|
||||
"copyright": "GeoSphere Austria",
|
||||
"license": "http://www.apache.org/licenses/LICENSE-2.0",
|
||||
"properties": {},
|
||||
"translatedLocales": [
|
||||
"de-at",
|
||||
"en"
|
||||
],
|
||||
"defaultSize": {
|
||||
"width": 50,
|
||||
"height": 50
|
||||
}
|
||||
}
|
1
1.12/widgets/sketch-widget/config.json
Normal file
|
@ -0,0 +1 @@
|
|||
{}
|
9
1.12/widgets/sketch-widget/dist/runtime/assets/icon.svg
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
<!-- Generated by IcoMoon.io -->
|
||||
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
|
||||
<title>cluster</title>
|
||||
<path d="M10 4h-4c-1.1 0-2 0.9-2 2v4c0 1.1 0.9 2 2 2h4c1.1 0 2-0.9 2-2v-4c0-1.1-0.9-2-2-2z"></path>
|
||||
<path d="M22 12h4c1.1 0 2-0.9 2-2v-4c0-1.1-0.9-2-2-2h-4c-1.1 0-2 0.9-2 2v4c0 1.1 0.9 2 2 2zM22 6h4v4h-4v-4z"></path>
|
||||
<path d="M10 20h-4c-1.1 0-2 0.9-2 2v4c0 1.1 0.9 2 2 2h4c1.1 0 2-0.9 2-2v-4c0-1.1-0.9-2-2-2zM10 26h-4v-4h4v4z"></path>
|
||||
<path d="M26 20h-4c-1.1 0-2 0.9-2 2v4c0 1.1 0.9 2 2 2h4c1.1 0 2-0.9 2-2v-4c0-1.1-0.9-2-2-2z"></path>
|
||||
<path d="M28 16h-2c-2.671 0-5.182-1.040-7.071-2.929s-2.929-4.4-2.929-7.071v-2c0-2.2-1.8-4-4-4h-8c-2.2 0-4 1.8-4 4v8c0 2.2 1.8 4 4 4h2c2.671 0 5.182 1.040 7.071 2.929s2.929 4.4 2.929 7.071v2c0 2.2 1.8 4 4 4h8c2.2 0 4-1.8 4-4v-8c0-2.2-1.8-4-4-4zM30 28c0 0.53-0.209 1.031-0.589 1.411s-0.881 0.589-1.411 0.589h-8c-0.53 0-1.031-0.209-1.411-0.589s-0.589-0.881-0.589-1.411v-2c0-6.627-5.373-12-12-12h-2c-0.53 0-1.031-0.209-1.411-0.589s-0.589-0.881-0.589-1.411v-8c0-0.53 0.209-1.031 0.589-1.411s0.881-0.589 1.411-0.589h8c0.53 0 1.031 0.209 1.411 0.589s0.589 0.881 0.589 1.411v2c0 6.627 5.373 12 12 12h2c0.53 0 1.031 0.209 1.411 0.589s0.589 0.881 0.589 1.411v8z"></path>
|
||||
</svg>
|
After Width: | Height: | Size: 1.2 KiB |
6
1.12/widgets/sketch-widget/dist/runtime/translations/default.ts
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
export default {
|
||||
_widgetLabel: 'Zeichnen',
|
||||
sketchLabel: 'Zeichnen',
|
||||
sketchLayerName: 'Zeichnungen',
|
||||
placeholderText: 'Geben Sie hier Ihren Text ein',
|
||||
};
|
1
1.12/widgets/sketch-widget/dist/runtime/translations/en.js
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
System.register([],(function(e){return{execute:function(){e({_widgetLabel:"Sketch",sketchLabel:"Sketch",sketchLayerName:"Sketches",placeholderText:"Please enter your text here"})}}}));
|
1
1.12/widgets/sketch-widget/dist/runtime/widget.js
vendored
Normal file
1
1.12/widgets/sketch-widget/dist/setting/setting.js
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
System.register(["jimu-core","jimu-ui/advanced/setting-components"],(function(e,t){var r={},n={};return{setters:[function(e){r.React=e.React},function(e){n.MapWidgetSelector=e.MapWidgetSelector}],execute:function(){e((()=>{var e={891:e=>{"use strict";e.exports=r},756:e=>{"use strict";e.exports=n}},t={};function o(r){var n=t[r];if(void 0!==n)return n.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,o),i.exports}o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.p="";var i={};return o.p=window.jimuConfig.baseUrl,(()=>{"use strict";o.r(i),o.d(i,{__set_webpack_public_path__:()=>n,default:()=>r});var e=o(891),t=o(756);function r(r){return e.React.createElement("div",{className:"widget-setting-print"},e.React.createElement("p",null,"Please select a map:"),e.React.createElement(t.MapWidgetSelector,{useMapWidgetIds:r.useMapWidgetIds,onSelect:e=>{r.onSettingChange({id:r.id,useMapWidgetIds:e})}}))}function n(e){o.p=e}})(),i})())}}}));
|
3
1.12/widgets/sketch-widget/dist/setting/translations/default.ts
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
export default {
|
||||
selectMapWidget: "Select map:",
|
||||
};
|
6
1.12/widgets/sketch-widget/icon.svg
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
||||
<svg fill="#000000" width="800px" height="800px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg">
|
||||
<title>print</title>
|
||||
<path d="M30 14.25h-3.25v-8.25c0-0 0-0.001 0-0.001 0-0.206-0.084-0.393-0.219-0.529v0l-4-4c-0.136-0.136-0.324-0.22-0.531-0.22-0 0-0 0-0 0h-17c-0.414 0-0.75 0.336-0.75 0.75v0 12.25h-2.25c-0.414 0-0.75 0.336-0.75 0.75v0 9c0 0.414 0.336 0.75 0.75 0.75s0.75-0.336 0.75-0.75v0-8.25h26.5v8.25c0 0.414 0.336 0.75 0.75 0.75s0.75-0.336 0.75-0.75v0-9c-0-0.414-0.336-0.75-0.75-0.75v0zM5.75 2.75h15.939l3.561 3.561v7.939h-19.5zM26 21.25h-20c-0.414 0-0.75 0.336-0.75 0.75v0 8c0 0.414 0.336 0.75 0.75 0.75h20c0.414-0 0.75-0.336 0.75-0.75v0-8c-0-0.414-0.336-0.75-0.75-0.75v0zM25.25 29.25h-18.5v-6.5h18.5zM26.279 19.199c0.178-0.099 0.322-0.242 0.417-0.415l0.003-0.005c0.027-0.067 0.043-0.145 0.043-0.227 0-0.018-0.001-0.037-0.002-0.054l0 0.002c-0.004-0.21-0.087-0.399-0.221-0.54l0 0c-0.142-0.122-0.327-0.196-0.53-0.196s-0.389 0.074-0.531 0.196l0.001-0.001c-0.122 0.145-0.197 0.334-0.199 0.54v0c-0.001 0.011-0.001 0.024-0.001 0.037 0 0.189 0.077 0.359 0.2 0.483v0c0.132 0.136 0.317 0.221 0.521 0.221 0.007 0 0.014-0 0.021-0l-0.001 0c0.016 0.001 0.034 0.002 0.052 0.002 0.082 0 0.16-0.016 0.231-0.045l-0.004 0.001z"></path>
|
||||
</svg>
|
After Width: | Height: | Size: 1.3 KiB |
21
1.12/widgets/sketch-widget/manifest.json
Normal file
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"name": "sketch-widget",
|
||||
"label": "Sketch",
|
||||
"type": "widget",
|
||||
"version": "1.0.0",
|
||||
"exbVersion": "1.12.0",
|
||||
"dependency": "jimu-arcgis",
|
||||
"author": "Thomas Fuhrmann",
|
||||
"description": "A widget that adds sketching functionality to a map.",
|
||||
"copyright": "GeoSphere Austria",
|
||||
"license": "http://www.apache.org/licenses/LICENSE-2.0",
|
||||
"properties": {},
|
||||
"translatedLocales": [
|
||||
"de-at",
|
||||
"en"
|
||||
],
|
||||
"defaultSize": {
|
||||
"width": 68,
|
||||
"height": 50
|
||||
}
|
||||
}
|