Add custom widgets
This commit is contained in:
parent
3b9a2964d9
commit
1f4aeb2a1d
34 changed files with 7790 additions and 0 deletions
1
1.12/widgets/basic-ui/config.json
Normal file
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/runtime/widget.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
1.12/widgets/basic-ui/dist/setting/setting.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
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
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
|
||||
}
|
||||
}
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue